mirror of
https://github.com/doocs/md.git
synced 2025-01-23 04:14:42 +08:00
1175 lines
5.0 MiB
1175 lines
5.0 MiB
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-4EVJKHTY-C6Bw3sfJ.js","assets/graph-BuFRcqTY.js","assets/_baseUniq-DVs2RzRF.js","assets/layout-Cirp0rPG.js","assets/_basePickBy-BJ_DZ0Es.js","assets/clone-_ngrsQfR.js","assets/c4Diagram-6F5ED5ID-Bo8iRMZe.js","assets/chunk-ASOPGD6M-Dubj539Y.js","assets/flowDiagram-7ASYPVHJ-iwvhrFse.js","assets/chunk-5HRBRIJM-CKlbRkQi.js","assets/channel-JOVZ5wVt.js","assets/erDiagram-6RL3IURR-C-ZZX0xo.js","assets/gitGraphDiagram-NRZ2UAAF-DoN_69LB.js","assets/chunk-TMUBEWPD-BHxPJQUK.js","assets/chunk-KFBOBJHC-DXw0G1mw.js","assets/gitGraph-YCYPL57B-1sLL1ux4.js","assets/ganttDiagram-NTVNEXSI-DJI8qIMl.js","assets/linear-CsljdUoi.js","assets/init-Gi6I4Gst.js","assets/infoDiagram-A4XQUW5V-D_AvH6ZW.js","assets/pieDiagram-YF2LJOPJ-B-SXgTIS.js","assets/arc-CIO1-nRV.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-OS5C2QUG-DA21hi8e.js","assets/xychartDiagram-6QU3TZC5-N0UdcSSx.js","assets/requirementDiagram-MIRIMTAZ-DEi8zSiB.js","assets/sequenceDiagram-G6AWOVSC-DJm_ZwpE.js","assets/classDiagram-LNE6IOMH-sNzAbPK1.js","assets/chunk-T2TOU4HS-zHMu2-ah.js","assets/classDiagram-v2-MQ7JQ4JX-sNzAbPK1.js","assets/stateDiagram-MAYHULR4-Bgaw7aZf.js","assets/chunk-7U56Z5CX-BA78zX84.js","assets/stateDiagram-v2-4JROLMXI-BzVHmmXJ.js","assets/journeyDiagram-G5WM74LC-D9_bNiOv.js","assets/timeline-definition-U7ZMHBDA-TumqxOAg.js","assets/mindmap-definition-GWI6TPTV-BD_tpQYE.js","assets/cytoscape.esm-Go3wJOck.js","assets/sankeyDiagram-Y46BX6SQ-DlaLijwH.js","assets/diagram-QW4FP2JN-u3nKv2hX.js","assets/blockDiagram-ZHA2E4KO-Ba4tsS4T.js","assets/architectureDiagram-UYN6MBPD-DFHgvLTz.js"])))=>i.map(i=>d[i]);
|
||
var LN=Object.defineProperty;var Ix=Ra=>{throw TypeError(Ra)};var BN=(Ra,qa,nd)=>qa in Ra?LN(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:nd}):Ra[qa]=nd;var p_=(Ra,qa,nd)=>BN(Ra,typeof qa!="symbol"?qa+"":qa,nd),FN=(Ra,qa,nd)=>qa.has(Ra)||Ix("Cannot "+nd);var Ox=(Ra,qa,nd)=>qa.has(Ra)?Ix("Cannot add the same private member more than once"):qa instanceof WeakSet?qa.add(Ra):qa.set(Ra,nd);var ZT=(Ra,qa,nd)=>(FN(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 cd of ud.addedNodes)cd.tagName==="LINK"&&cd.rel==="modulepreload"&&od(cd)}).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=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$2=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 cd in Ra){const dd=Ra.hasOwnProperty(cd),pd=qa.hasOwnProperty(cd);if(dd&&!pd||!dd&&pd||!looseEqual(Ra[cd],qa[cd]))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(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 cd=targetMap.get(Ra);if(!cd){globalVersion++;return}const dd=pd=>{pd&&pd.trigger()};if(startBatch(),qa==="clear")cd.forEach(dd);else{const pd=isArray$2(Ra),fd=pd&&isIntegerKey(nd);if(pd&&nd==="length"){const md=Number(od);cd.forEach((vd,Ad)=>{(Ad==="length"||Ad===ARRAY_ITERATE_KEY||!isSymbol(Ad)&&Ad>=md)&&dd(vd)})}else switch((nd!==void 0||cd.has(void 0))&&dd(cd.get(nd)),fd&&dd(cd.get(ARRAY_ITERATE_KEY)),qa){case"add":pd?fd&&dd(cd.get("length")):(dd(cd.get(ITERATE_KEY)),isMap(Ra)&&dd(cd.get(MAP_KEY_ITERATE_KEY)));break;case"delete":pd||(dd(cd.get(ITERATE_KEY)),isMap(Ra)&&dd(cd.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(Ra)&&dd(cd.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 cd=shallowReadArray(Ra),dd=cd!==Ra&&!isShallow(Ra),pd=cd[qa];if(pd!==arrayProto$1[qa]){const vd=pd.apply(Ra,ud);return dd?toReactive(vd):vd}let fd=nd;cd!==Ra&&(dd?fd=function(vd,Ad){return nd.call(this,toReactive(vd),Ad,Ra)}:nd.length>2&&(fd=function(vd,Ad){return nd.call(this,vd,Ad,Ra)}));const md=pd.call(cd,fd,od);return dd&&ld?ld(md):md}function reduce$2(Ra,qa,nd,od){const ld=shallowReadArray(Ra);let ud=nd;return ld!==Ra&&(isShallow(Ra)?nd.length>3&&(ud=function(cd,dd,pd){return nd.call(this,cd,dd,pd,Ra)}):ud=function(cd,dd,pd){return nd.call(this,cd,toReactive(dd),pd,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 cd=isArray$2(qa);if(!ld){let pd;if(cd&&(pd=arrayInstrumentations[nd]))return pd;if(nd==="hasOwnProperty")return hasOwnProperty$e}const dd=Reflect.get(qa,nd,isRef(qa)?qa:od);return(isSymbol(nd)?builtInSymbols.has(nd):isNonTrackableKeys(nd))||(ld||track(qa,"get",nd),ud)?dd:isRef(dd)?cd&&isIntegerKey(nd)?dd:dd.value:isObject$5(dd)?ld?readonly(dd):reactive(dd):dd}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(qa=!1){super(!1,qa)}set(qa,nd,od,ld){let ud=qa[nd];if(!this._isShallow){const pd=isReadonly(ud);if(!isShallow(od)&&!isReadonly(od)&&(ud=toRaw(ud),od=toRaw(od)),!isArray$2(qa)&&isRef(ud)&&!isRef(od))return pd?!1:(ud.value=od,!0)}const cd=isArray$2(qa)&&isIntegerKey(nd)?Number(nd)<qa.length:hasOwn$3(qa,nd),dd=Reflect.set(qa,nd,od,isRef(qa)?qa:ld);return qa===toRaw(ld)&&(cd?hasChanged(od,ud)&&trigger(qa,"set",nd,od):trigger(qa,"add",nd,od)),dd}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),cd=isMap(ud),dd=Ra==="entries"||Ra===Symbol.iterator&&cd,pd=Ra==="keys"&&cd,fd=ld[Ra](...od),md=nd?toShallow:qa?toReadonly:toReactive;return!qa&&track(ud,"iterate",pd?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:vd,done:Ad}=fd.next();return Ad?{value:vd,done:Ad}:{value:dd?[md(vd[0]),md(vd[1])]:md(vd),done:Ad}},[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,cd=toRaw(ud),dd=toRaw(ld);Ra||(hasChanged(ld,dd)&&track(cd,"get",ld),track(cd,"get",dd));const{has:pd}=getProto$2(cd),fd=qa?toShallow:Ra?toReadonly:toReactive;if(pd.call(cd,ld))return fd(ud.get(ld));if(pd.call(cd,dd))return fd(ud.get(dd));ud!==cd&&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,cd=toRaw(ud),dd=toRaw(ld);return Ra||(hasChanged(ld,dd)&&track(cd,"has",ld),track(cd,"has",dd)),ld===dd?ud.has(ld):ud.has(ld)||ud.has(dd)},forEach(ld,ud){const cd=this,dd=cd.__v_raw,pd=toRaw(dd),fd=qa?toShallow:Ra?toReadonly:toReactive;return!Ra&&track(pd,"iterate",ITERATE_KEY),dd.forEach((md,vd)=>ld.call(ud,fd(md),fd(vd),cd))}};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 cd=toRaw(this),{has:dd,get:pd}=getProto$2(cd);let fd=dd.call(cd,ld);fd||(ld=toRaw(ld),fd=dd.call(cd,ld));const md=pd.call(cd,ld);return cd.set(ld,ud),fd?hasChanged(ud,md)&&trigger(cd,"set",ld,ud):trigger(cd,"add",ld,ud),this},delete(ld){const ud=toRaw(this),{has:cd,get:dd}=getProto$2(ud);let pd=cd.call(ud,ld);pd||(ld=toRaw(ld),pd=cd.call(ud,ld)),dd&&dd.call(ud,ld);const fd=ud.delete(ld);return pd&&trigger(ud,"delete",ld,void 0),fd},clear(){const ld=toRaw(this),ud=ld.size!==0,cd=ld.clear();return ud&&trigger(ld,"clear",void 0,void 0),cd}}),["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 cd=getTargetType(Ra);if(cd===0)return Ra;const dd=new Proxy(Ra,cd===2?od:nd);return ld.set(Ra,dd),dd}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:cd,augmentJob:dd,call:pd}=nd,fd=Hd=>ld?Hd:isShallow(Hd)||ld===!1||ld===0?traverse(Hd,1):traverse(Hd);let md,vd,Ad,Nd,Id=!1,kd=!1;if(isRef(Ra)?(vd=()=>Ra.value,Id=isShallow(Ra)):isReactive(Ra)?(vd=()=>fd(Ra),Id=!0):isArray$2(Ra)?(kd=!0,Id=Ra.some(Hd=>isReactive(Hd)||isShallow(Hd)),vd=()=>Ra.map(Hd=>{if(isRef(Hd))return Hd.value;if(isReactive(Hd))return fd(Hd);if(isFunction$3(Hd))return pd?pd(Hd,2):Hd()})):isFunction$3(Ra)?qa?vd=pd?()=>pd(Ra,2):Ra:vd=()=>{if(Ad){pauseTracking();try{Ad()}finally{resetTracking()}}const Hd=activeWatcher;activeWatcher=md;try{return pd?pd(Ra,3,[Nd]):Ra(Nd)}finally{activeWatcher=Hd}}:vd=NOOP,qa&&ld){const Hd=vd,Gd=ld===!0?1/0:ld;vd=()=>traverse(Hd(),Gd)}const jd=getCurrentScope(),Fd=()=>{md.stop(),jd&&jd.active&&remove$2(jd.effects,md)};if(ud&&qa){const Hd=qa;qa=(...Gd)=>{Hd(...Gd),Fd()}}let Md=kd?new Array(Ra.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Ld=Hd=>{if(!(!(md.flags&1)||!md.dirty&&!Hd))if(qa){const Gd=md.run();if(ld||Id||(kd?Gd.some((Vd,Kd)=>hasChanged(Vd,Md[Kd])):hasChanged(Gd,Md))){Ad&&Ad();const Vd=activeWatcher;activeWatcher=md;try{const Kd=[Gd,Md===INITIAL_WATCHER_VALUE?void 0:kd&&Md[0]===INITIAL_WATCHER_VALUE?[]:Md,Nd];pd?pd(qa,3,Kd):qa(...Kd),Md=Gd}finally{activeWatcher=Vd}}}else md.run()};return dd&&dd(Ld),md=new ReactiveEffect(vd),md.scheduler=cd?()=>cd(Ld,!1):Ld,Nd=Hd=>onWatcherCleanup(Hd,!1,md),Ad=md.onStop=()=>{const Hd=cleanupMap.get(md);if(Hd){if(pd)pd(Hd,4);else for(const Gd of Hd)Gd();cleanupMap.delete(md)}},qa?od?Ld(!0):Md=md.run():cd?cd(Ld.bind(null,!0),!0):md.run(),Fd.pause=md.pause.bind(md),Fd.resume=md.resume.bind(md),Fd.stop=Fd,Fd}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(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 cd,dd;return(dd=(cd=ud.toString)==null?void 0:cd.call(ud))!=null?dd: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:cd}=qa&&qa.appContext.config||EMPTY_OBJ;if(qa){let dd=qa.parent;const pd=qa.proxy,fd=`https://vuejs.org/error-reference/#runtime-${nd}`;for(;dd;){const md=dd.ec;if(md){for(let vd=0;vd<md.length;vd++)if(md[vd](Ra,pd,fd)===!1)return}dd=dd.parent}if(ud){pauseTracking(),callWithErrorHandling(ud,null,10,[Ra,pd,fd]),resetTracking();return}}logError(Ra,nd,ld,od,cd)}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 cd;try{cd=Ra(...ld)}finally{setCurrentRenderingInstance(ud),od._d&&setBlockTracking(1)}return cd};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,cd,dd,pd=EMPTY_OBJ]=qa[ld];ud&&(isFunction$3(ud)&&(ud={mounted:ud,updated:ud}),ud.deep&&traverse(cd),od.push({dir:ud,instance:nd,value:cd,oldValue:void 0,arg:dd,modifiers:pd}))}return Ra}function invokeDirectiveHook(Ra,qa,nd,od){const ld=Ra.dirs,ud=qa&&qa.dirs;for(let cd=0;cd<ld.length;cd++){const dd=ld[cd];ud&&(dd.oldValue=ud[cd].value);let pd=dd.dir[od];pd&&(pauseTracking(),callWithAsyncErrorHandling(pd,nd,8,[Ra.el,dd,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,cd,dd,pd,fd){const{mc:md,pc:vd,pbc:Ad,o:{insert:Nd,querySelector:Id,createText:kd,createComment:jd}}=fd,Fd=isTeleportDisabled(qa.props);let{shapeFlag:Md,children:Ld,dynamicChildren:Hd}=qa;if(Ra==null){const Gd=qa.el=kd(""),Vd=qa.anchor=kd("");Nd(Gd,nd,od),Nd(Vd,nd,od);const Kd=(Wd,Zd)=>{Md&16&&(ld&&ld.isCE&&(ld.ce._teleportTarget=Wd),md(Ld,Wd,Zd,ld,ud,cd,dd,pd))},mf=()=>{const Wd=qa.target=resolveTarget(qa.props,Id),Zd=prepareAnchor(Wd,qa,kd,Nd);Wd&&(cd!=="svg"&&isTargetSVG(Wd)?cd="svg":cd!=="mathml"&&isTargetMathML(Wd)&&(cd="mathml"),Fd||(Kd(Wd,Zd),updateCssVars(qa,!1)))};Fd&&(Kd(nd,Vd),updateCssVars(qa,!0)),isTeleportDeferred(qa.props)?queuePostRenderEffect(()=>{mf(),qa.el.__isMounted=!0},ud):mf()}else{if(isTeleportDeferred(qa.props)&&!Ra.el.__isMounted){queuePostRenderEffect(()=>{TeleportImpl.process(Ra,qa,nd,od,ld,ud,cd,dd,pd,fd),delete Ra.el.__isMounted},ud);return}qa.el=Ra.el,qa.targetStart=Ra.targetStart;const Gd=qa.anchor=Ra.anchor,Vd=qa.target=Ra.target,Kd=qa.targetAnchor=Ra.targetAnchor,mf=isTeleportDisabled(Ra.props),Wd=mf?nd:Vd,Zd=mf?Gd:Kd;if(cd==="svg"||isTargetSVG(Vd)?cd="svg":(cd==="mathml"||isTargetMathML(Vd))&&(cd="mathml"),Hd?(Ad(Ra.dynamicChildren,Hd,Wd,ld,ud,cd,dd),traverseStaticChildren(Ra,qa,!0)):pd||vd(Ra,qa,Wd,Zd,ld,ud,cd,dd,!1),Fd)mf?qa.props&&Ra.props&&qa.props.to!==Ra.props.to&&(qa.props.to=Ra.props.to):moveTeleport(qa,nd,Gd,fd,1);else if((qa.props&&qa.props.to)!==(Ra.props&&Ra.props.to)){const Xd=qa.target=resolveTarget(qa.props,Id);Xd&&moveTeleport(qa,Xd,null,fd,0)}else mf&&moveTeleport(qa,Vd,Kd,fd,1);updateCssVars(qa,Fd)}},remove(Ra,qa,nd,{um:od,o:{remove:ld}},ud){const{shapeFlag:cd,children:dd,anchor:pd,targetStart:fd,targetAnchor:md,target:vd,props:Ad}=Ra;if(vd&&(ld(fd),ld(md)),ud&&ld(pd),cd&16){const Nd=ud||!isTeleportDisabled(Ad);for(let Id=0;Id<dd.length;Id++){const kd=dd[Id];od(kd,qa,nd,Nd,!!kd.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:cd,anchor:dd,shapeFlag:pd,children:fd,props:md}=Ra,vd=ud===2;if(vd&&od(cd,qa,nd),(!vd||isTeleportDisabled(md))&&pd&16)for(let Ad=0;Ad<fd.length;Ad++)ld(fd[Ad],qa,nd,2);vd&&od(dd,qa,nd)}function hydrateTeleport(Ra,qa,nd,od,ld,ud,{o:{nextSibling:cd,parentNode:dd,querySelector:pd,insert:fd,createText:md}},vd){const Ad=qa.target=resolveTarget(qa.props,pd);if(Ad){const Nd=isTeleportDisabled(qa.props),Id=Ad._lpa||Ad.firstChild;if(qa.shapeFlag&16)if(Nd)qa.anchor=vd(cd(Ra),qa,dd(Ra),nd,od,ld,ud),qa.targetStart=Id,qa.targetAnchor=Id&&cd(Id);else{qa.anchor=cd(Ra);let kd=Id;for(;kd;){if(kd&&kd.nodeType===8){if(kd.data==="teleport start anchor")qa.targetStart=kd;else if(kd.data==="teleport anchor"){qa.targetAnchor=kd,Ad._lpa=qa.targetAnchor&&cd(qa.targetAnchor);break}}kd=cd(kd)}qa.targetAnchor||prepareAnchor(Ad,qa,md,fd),vd(Id&&cd(Id),qa,Ad,nd,od,ld,ud)}updateCssVars(qa,Nd)}return qa.anchor&&cd(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),cd=toRaw(Ra),{mode:dd}=cd;if(od.isLeaving)return emptyPlaceholder(ud);const pd=getInnerChild$1(ud);if(!pd)return emptyPlaceholder(ud);let fd=resolveTransitionHooks(pd,cd,od,nd,vd=>fd=vd);pd.type!==Comment$2&&setTransitionHooks(pd,fd);let md=nd.subTree&&getInnerChild$1(nd.subTree);if(md&&md.type!==Comment$2&&!isSameVNodeType(pd,md)&&recursiveGetSubtree(nd).type!==Comment$2){let vd=resolveTransitionHooks(md,cd,od,nd);if(setTransitionHooks(md,vd),dd==="out-in"&&pd.type!==Comment$2)return od.isLeaving=!0,vd.afterLeave=()=>{od.isLeaving=!1,nd.job.flags&8||nd.update(),delete vd.afterLeave,md=void 0},emptyPlaceholder(ud);dd==="in-out"&&pd.type!==Comment$2?vd.delayLeave=(Ad,Nd,Id)=>{const kd=getLeavingNodesForType(od,md);kd[String(md.key)]=md,Ad[leaveCbKey]=()=>{Nd(),Ad[leaveCbKey]=void 0,delete fd.delayedLeave,md=void 0},fd.delayedLeave=()=>{Id(),delete fd.delayedLeave,md=void 0}}:md=void 0}else md&&(md=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:cd,persisted:dd=!1,onBeforeEnter:pd,onEnter:fd,onAfterEnter:md,onEnterCancelled:vd,onBeforeLeave:Ad,onLeave:Nd,onAfterLeave:Id,onLeaveCancelled:kd,onBeforeAppear:jd,onAppear:Fd,onAfterAppear:Md,onAppearCancelled:Ld}=qa,Hd=String(Ra.key),Gd=getLeavingNodesForType(nd,Ra),Vd=(Wd,Zd)=>{Wd&&callWithAsyncErrorHandling(Wd,od,9,Zd)},Kd=(Wd,Zd)=>{const Xd=Zd[1];Vd(Wd,Zd),isArray$2(Wd)?Wd.every(bf=>bf.length<=1)&&Xd():Wd.length<=1&&Xd()},mf={mode:cd,persisted:dd,beforeEnter(Wd){let Zd=pd;if(!nd.isMounted)if(ud)Zd=jd||pd;else return;Wd[leaveCbKey]&&Wd[leaveCbKey](!0);const Xd=Gd[Hd];Xd&&isSameVNodeType(Ra,Xd)&&Xd.el[leaveCbKey]&&Xd.el[leaveCbKey](),Vd(Zd,[Wd])},enter(Wd){let Zd=fd,Xd=md,bf=vd;if(!nd.isMounted)if(ud)Zd=Fd||fd,Xd=Md||md,bf=Ld||vd;else return;let yf=!1;const Ef=Wd[enterCbKey]=gf=>{yf||(yf=!0,gf?Vd(bf,[Wd]):Vd(Xd,[Wd]),mf.delayedLeave&&mf.delayedLeave(),Wd[enterCbKey]=void 0)};Zd?Kd(Zd,[Wd,Ef]):Ef()},leave(Wd,Zd){const Xd=String(Ra.key);if(Wd[enterCbKey]&&Wd[enterCbKey](!0),nd.isUnmounting)return Zd();Vd(Ad,[Wd]);let bf=!1;const yf=Wd[leaveCbKey]=Ef=>{bf||(bf=!0,Zd(),Ef?Vd(kd,[Wd]):Vd(Id,[Wd]),Wd[leaveCbKey]=void 0,Gd[Xd]===Ra&&delete Gd[Xd])};Gd[Xd]=Ra,Nd?Kd(Nd,[Wd,yf]):yf()},clone(Wd){const Zd=resolveTransitionHooks(Wd,qa,nd,od,ld);return ld&&ld(Zd),Zd}};return mf}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 cd=Ra[ud];const dd=nd==null?cd.key:String(nd)+String(cd.key!=null?cd.key:ud);cd.type===Fragment?(cd.patchFlag&128&&ld++,od=od.concat(getTransitionRawChildren(cd.children,qa,dd))):(qa||cd.type!==Comment$2)&&od.push(dd!=null?cloneVNode(cd,{key:dd}):cd)}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((Id,kd)=>setRef(Id,qa&&(isArray$2(qa)?qa[kd]: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,cd=ld?null:ud,{i:dd,r:pd}=Ra,fd=qa&&qa.r,md=dd.refs===EMPTY_OBJ?dd.refs={}:dd.refs,vd=dd.setupState,Ad=toRaw(vd),Nd=vd===EMPTY_OBJ?()=>!1:Id=>hasOwn$3(Ad,Id);if(fd!=null&&fd!==pd&&(isString$2(fd)?(md[fd]=null,Nd(fd)&&(vd[fd]=null)):isRef(fd)&&(fd.value=null)),isFunction$3(pd))callWithErrorHandling(pd,dd,12,[cd,md]);else{const Id=isString$2(pd),kd=isRef(pd);if(Id||kd){const jd=()=>{if(Ra.f){const Fd=Id?Nd(pd)?vd[pd]:md[pd]:pd.value;ld?isArray$2(Fd)&&remove$2(Fd,ud):isArray$2(Fd)?Fd.includes(ud)||Fd.push(ud):Id?(md[pd]=[ud],Nd(pd)&&(vd[pd]=md[pd])):(pd.value=[ud],Ra.k&&(md[Ra.k]=pd.value))}else Id?(md[pd]=cd,Nd(pd)&&(vd[pd]=cd)):kd&&(pd.value=cd,Ra.k&&(md[Ra.k]=cd))};cd?(jd.id=-1,queuePostRenderEffect(jd,nd)):jd()}}}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=(...cd)=>{pauseTracking();const dd=setCurrentInstance(nd),pd=callWithAsyncErrorHandling(qa,nd,Ra,cd);return dd(),resetTracking(),pd});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 dd=getComponentName(ud,!1);if(dd&&(dd===qa||dd===camelize(qa)||dd===capitalize(camelize(qa))))return ud}const cd=resolve$1(ld[Ra]||ud[Ra],qa)||resolve$1(ld.appContext[Ra],qa);return!cd&&od?ud:cd}}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,cd=isArray$2(Ra);if(cd||isString$2(Ra)){const dd=cd&&isReactive(Ra);let pd=!1;dd&&(pd=!isShallow(Ra),Ra=shallowReadArray(Ra)),ld=new Array(Ra.length);for(let fd=0,md=Ra.length;fd<md;fd++)ld[fd]=qa(pd?toReactive(Ra[fd]):Ra[fd],fd,void 0,ud)}else if(typeof Ra=="number"){ld=new Array(Ra);for(let dd=0;dd<Ra;dd++)ld[dd]=qa(dd+1,dd,void 0,ud)}else if(isObject$5(Ra))if(Ra[Symbol.iterator])ld=Array.from(Ra,(dd,pd)=>qa(dd,pd,void 0,ud));else{const dd=Object.keys(Ra);ld=new Array(dd.length);for(let pd=0,fd=dd.length;pd<fd;pd++){const md=dd[pd];ld[pd]=qa(Ra[md],md,pd,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 cd=ud&&ensureValidVNode(ud(nd)),dd=nd.key||cd&&cd.key,pd=createBlock(Fragment,{key:(dd&&!isSymbol(dd)?dd:`_${qa}`)+(!cd&&od?"_fb":"")},cd||(od?od():[]),cd&&Ra._===1?64:-2);return!ld&&pd.scopeId&&(pd.slotScopeIds=[pd.scopeId+"-s"]),ud&&ud._c&&(ud._d=!0),pd}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:cd,type:dd,appContext:pd}=Ra;let fd;if(qa[0]!=="$"){const Nd=cd[qa];if(Nd!==void 0)switch(Nd){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 cd[qa]=1,od[qa];if(ld!==EMPTY_OBJ&&hasOwn$3(ld,qa))return cd[qa]=2,ld[qa];if((fd=Ra.propsOptions[0])&&hasOwn$3(fd,qa))return cd[qa]=3,ud[qa];if(nd!==EMPTY_OBJ&&hasOwn$3(nd,qa))return cd[qa]=4,nd[qa];shouldCacheAccess&&(cd[qa]=0)}}const md=publicPropertiesMap[qa];let vd,Ad;if(md)return qa==="$attrs"&&track(Ra.attrs,"get",""),md(Ra);if((vd=dd.__cssModules)&&(vd=vd[qa]))return vd;if(nd!==EMPTY_OBJ&&hasOwn$3(nd,qa))return cd[qa]=4,nd[qa];if(Ad=pd.config.globalProperties,hasOwn$3(Ad,qa))return Ad[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}},cd){let dd;return!!nd[cd]||Ra!==EMPTY_OBJ&&hasOwn$3(Ra,cd)||hasSetupBinding(qa,cd)||(dd=ud[0])&&hasOwn$3(dd,cd)||hasOwn$3(od,cd)||hasOwn$3(publicPropertiesMap,cd)||hasOwn$3(ld.config.globalProperties,cd)},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:cd,watch:dd,provide:pd,inject:fd,created:md,beforeMount:vd,mounted:Ad,beforeUpdate:Nd,updated:Id,activated:kd,deactivated:jd,beforeDestroy:Fd,beforeUnmount:Md,destroyed:Ld,unmounted:Hd,render:Gd,renderTracked:Vd,renderTriggered:Kd,errorCaptured:mf,serverPrefetch:Wd,expose:Zd,inheritAttrs:Xd,components:bf,directives:yf,filters:Ef}=qa;if(fd&&resolveInjections(fd,od,null),cd)for(const Af in cd){const Lf=cd[Af];isFunction$3(Lf)&&(od[Af]=Lf.bind(nd))}if(ld){const Af=ld.call(nd,nd);isObject$5(Af)&&(Ra.data=reactive(Af))}if(shouldCacheAccess=!0,ud)for(const Af in ud){const Lf=ud[Af],Xf=isFunction$3(Lf)?Lf.bind(nd,nd):isFunction$3(Lf.get)?Lf.get.bind(nd,nd):NOOP,Jf=!isFunction$3(Lf)&&isFunction$3(Lf.set)?Lf.set.bind(nd):NOOP,Zf=computed({get:Xf,set:Jf});Object.defineProperty(od,Af,{enumerable:!0,configurable:!0,get:()=>Zf.value,set:Bf=>Zf.value=Bf})}if(dd)for(const Af in dd)createWatcher(dd[Af],od,nd,Af);if(pd){const Af=isFunction$3(pd)?pd.call(nd):pd;Reflect.ownKeys(Af).forEach(Lf=>{provide(Lf,Af[Lf])})}md&&callHook$1(md,Ra,"c");function xf(Af,Lf){isArray$2(Lf)?Lf.forEach(Xf=>Af(Xf.bind(nd))):Lf&&Af(Lf.bind(nd))}if(xf(onBeforeMount,vd),xf(onMounted,Ad),xf(onBeforeUpdate,Nd),xf(onUpdated,Id),xf(onActivated,kd),xf(onDeactivated,jd),xf(onErrorCaptured,mf),xf(onRenderTracked,Vd),xf(onRenderTriggered,Kd),xf(onBeforeUnmount,Md),xf(onUnmounted,Hd),xf(onServerPrefetch,Wd),isArray$2(Zd))if(Zd.length){const Af=Ra.exposed||(Ra.exposed={});Zd.forEach(Lf=>{Object.defineProperty(Af,Lf,{get:()=>nd[Lf],set:Xf=>nd[Lf]=Xf})})}else Ra.exposed||(Ra.exposed={});Gd&&Ra.render===NOOP&&(Ra.render=Gd),Xd!=null&&(Ra.inheritAttrs=Xd),bf&&(Ra.components=bf),yf&&(Ra.directives=yf),Wd&&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:cd=>ud.value=cd}):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:cd}}=Ra.appContext,dd=ud.get(qa);let pd;return dd?pd=dd:!ld.length&&!nd&&!od?pd=qa:(pd={},ld.length&&ld.forEach(fd=>mergeOptions(pd,fd,cd,!0)),mergeOptions(pd,qa,cd)),isObject$5(qa)&&ud.set(qa,pd),pd}function mergeOptions(Ra,qa,nd,od=!1){const{mixins:ld,extends:ud}=qa;ud&&mergeOptions(Ra,ud,nd,!0),ld&&ld.forEach(cd=>mergeOptions(Ra,cd,nd,!0));for(const cd in qa)if(!(od&&cd==="expose")){const dd=internalOptionMergeStrats[cd]||nd&&nd[cd];Ra[cd]=dd?dd(Ra[cd],qa[cd]):qa[cd]}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(),cd=new WeakSet,dd=[];let pd=!1;const fd=ud.app={_uid:uid$1++,_component:od,_props:ld,_container:null,_context:ud,_instance:null,version:version$2,get config(){return ud.config},set config(md){},use(md,...vd){return cd.has(md)||(md&&isFunction$3(md.install)?(cd.add(md),md.install(fd,...vd)):isFunction$3(md)&&(cd.add(md),md(fd,...vd))),fd},mixin(md){return ud.mixins.includes(md)||ud.mixins.push(md),fd},component(md,vd){return vd?(ud.components[md]=vd,fd):ud.components[md]},directive(md,vd){return vd?(ud.directives[md]=vd,fd):ud.directives[md]},mount(md,vd,Ad){if(!pd){const Nd=fd._ceVNode||createVNode(od,ld);return Nd.appContext=ud,Ad===!0?Ad="svg":Ad===!1&&(Ad=void 0),vd&&qa?qa(Nd,md):Ra(Nd,md,Ad),pd=!0,fd._container=md,md.__vue_app__=fd,getComponentPublicInstance(Nd.component)}},onUnmount(md){dd.push(md)},unmount(){pd&&(callWithAsyncErrorHandling(dd,fd._instance,16),Ra(null,fd._container),delete fd._container.__vue_app__)},provide(md,vd){return ud.provides[md]=vd,fd},runWithContext(md){const vd=currentApp;currentApp=fd;try{return md()}finally{currentApp=vd}}};return fd}}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 cd in Ra.propsOptions[0])cd in ld||(ld[cd]=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:cd}}=Ra,dd=toRaw(ld),[pd]=Ra.propsOptions;let fd=!1;if((od||cd>0)&&!(cd&16)){if(cd&8){const md=Ra.vnode.dynamicProps;for(let vd=0;vd<md.length;vd++){let Ad=md[vd];if(isEmitListener(Ra.emitsOptions,Ad))continue;const Nd=qa[Ad];if(pd)if(hasOwn$3(ud,Ad))Nd!==ud[Ad]&&(ud[Ad]=Nd,fd=!0);else{const Id=camelize(Ad);ld[Id]=resolvePropValue(pd,dd,Id,Nd,Ra,!1)}else Nd!==ud[Ad]&&(ud[Ad]=Nd,fd=!0)}}}else{setFullProps(Ra,qa,ld,ud)&&(fd=!0);let md;for(const vd in dd)(!qa||!hasOwn$3(qa,vd)&&((md=hyphenate(vd))===vd||!hasOwn$3(qa,md)))&&(pd?nd&&(nd[vd]!==void 0||nd[md]!==void 0)&&(ld[vd]=resolvePropValue(pd,dd,vd,void 0,Ra,!0)):delete ld[vd]);if(ud!==dd)for(const vd in ud)(!qa||!hasOwn$3(qa,vd))&&(delete ud[vd],fd=!0)}fd&&trigger(Ra.attrs,"set","")}function setFullProps(Ra,qa,nd,od){const[ld,ud]=Ra.propsOptions;let cd=!1,dd;if(qa)for(let pd in qa){if(isReservedProp(pd))continue;const fd=qa[pd];let md;ld&&hasOwn$3(ld,md=camelize(pd))?!ud||!ud.includes(md)?nd[md]=fd:(dd||(dd={}))[md]=fd:isEmitListener(Ra.emitsOptions,pd)||(!(pd in od)||fd!==od[pd])&&(od[pd]=fd,cd=!0)}if(ud){const pd=toRaw(nd),fd=dd||EMPTY_OBJ;for(let md=0;md<ud.length;md++){const vd=ud[md];nd[vd]=resolvePropValue(ld,pd,vd,fd[vd],Ra,!hasOwn$3(fd,vd))}}return cd}function resolvePropValue(Ra,qa,nd,od,ld,ud){const cd=Ra[nd];if(cd!=null){const dd=hasOwn$3(cd,"default");if(dd&&od===void 0){const pd=cd.default;if(cd.type!==Function&&!cd.skipFactory&&isFunction$3(pd)){const{propsDefaults:fd}=ld;if(nd in fd)od=fd[nd];else{const md=setCurrentInstance(ld);od=fd[nd]=pd.call(null,qa),md()}}else od=pd;ld.ce&&ld.ce._setProp(nd,od)}cd[0]&&(ud&&!dd?od=!1:cd[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,cd={},dd=[];let pd=!1;if(!isFunction$3(Ra)){const md=vd=>{pd=!0;const[Ad,Nd]=normalizePropsOptions(vd,qa,!0);extend$3(cd,Ad),Nd&&dd.push(...Nd)};!nd&&qa.mixins.length&&qa.mixins.forEach(md),Ra.extends&&md(Ra.extends),Ra.mixins&&Ra.mixins.forEach(md)}if(!ud&&!pd)return isObject$5(Ra)&&od.set(Ra,EMPTY_ARR),EMPTY_ARR;if(isArray$2(ud))for(let md=0;md<ud.length;md++){const vd=camelize(ud[md]);validatePropName(vd)&&(cd[vd]=EMPTY_OBJ)}else if(ud)for(const md in ud){const vd=camelize(md);if(validatePropName(vd)){const Ad=ud[md],Nd=cd[vd]=isArray$2(Ad)||isFunction$3(Ad)?{type:Ad}:extend$3({},Ad),Id=Nd.type;let kd=!1,jd=!0;if(isArray$2(Id))for(let Fd=0;Fd<Id.length;++Fd){const Md=Id[Fd],Ld=isFunction$3(Md)&&Md.name;if(Ld==="Boolean"){kd=!0;break}else Ld==="String"&&(jd=!1)}else kd=isFunction$3(Id)&&Id.name==="Boolean";Nd[0]=kd,Nd[1]=jd,(kd||hasOwn$3(Nd,"default"))&&dd.push(vd)}}const fd=[cd,dd];return isObject$5(Ra)&&od.set(Ra,fd),fd}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 cd=normalizeSlotValue(ud);qa[ld]=()=>cd}}},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,cd=EMPTY_OBJ;if(od.shapeFlag&32){const dd=qa._;dd?nd&&dd===1?ud=!1:assignSlots(ld,qa,nd):(ud=!qa.$stable,normalizeObjectSlots(qa,ld)),cd=qa}else qa&&(normalizeVNodeSlots(Ra,qa),cd={default:1});if(ud)for(const dd in ld)!isInternalKey(dd)&&cd[dd]==null&&delete ld[dd]},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:cd,createText:dd,createComment:pd,setText:fd,setElementText:md,parentNode:vd,nextSibling:Ad,setScopeId:Nd=NOOP,insertStaticContent:Id}=Ra,kd=(Pf,uh,xh,Qf=null,wf=null,$f=null,Wf=void 0,Th=null,vh=!!uh.dynamicChildren)=>{if(Pf===uh)return;Pf&&!isSameVNodeType(Pf,uh)&&(Qf=Tf(Pf),Bf(Pf,wf,$f,!0),Pf=null),uh.patchFlag===-2&&(vh=!1,uh.dynamicChildren=null);const{type:ph,ref:Vh,shapeFlag:wh}=uh;switch(ph){case Text$2:jd(Pf,uh,xh,Qf);break;case Comment$2:Fd(Pf,uh,xh,Qf);break;case Static:Pf==null&&Md(uh,xh,Qf,Wf);break;case Fragment:bf(Pf,uh,xh,Qf,wf,$f,Wf,Th,vh);break;default:wh&1?Gd(Pf,uh,xh,Qf,wf,$f,Wf,Th,vh):wh&6?yf(Pf,uh,xh,Qf,wf,$f,Wf,Th,vh):(wh&64||wh&128)&&ph.process(Pf,uh,xh,Qf,wf,$f,Wf,Th,vh,eh)}Vh!=null&&wf&&setRef(Vh,Pf&&Pf.ref,$f,uh||Pf,!uh)},jd=(Pf,uh,xh,Qf)=>{if(Pf==null)od(uh.el=dd(uh.children),xh,Qf);else{const wf=uh.el=Pf.el;uh.children!==Pf.children&&fd(wf,uh.children)}},Fd=(Pf,uh,xh,Qf)=>{Pf==null?od(uh.el=pd(uh.children||""),xh,Qf):uh.el=Pf.el},Md=(Pf,uh,xh,Qf)=>{[Pf.el,Pf.anchor]=Id(Pf.children,uh,xh,Qf,Pf.el,Pf.anchor)},Ld=({el:Pf,anchor:uh},xh,Qf)=>{let wf;for(;Pf&&Pf!==uh;)wf=Ad(Pf),od(Pf,xh,Qf),Pf=wf;od(uh,xh,Qf)},Hd=({el:Pf,anchor:uh})=>{let xh;for(;Pf&&Pf!==uh;)xh=Ad(Pf),ld(Pf),Pf=xh;ld(uh)},Gd=(Pf,uh,xh,Qf,wf,$f,Wf,Th,vh)=>{uh.type==="svg"?Wf="svg":uh.type==="math"&&(Wf="mathml"),Pf==null?Vd(uh,xh,Qf,wf,$f,Wf,Th,vh):Wd(Pf,uh,wf,$f,Wf,Th,vh)},Vd=(Pf,uh,xh,Qf,wf,$f,Wf,Th)=>{let vh,ph;const{props:Vh,shapeFlag:wh,transition:fm,dirs:Nm}=Pf;if(vh=Pf.el=cd(Pf.type,$f,Vh&&Vh.is,Vh),wh&8?md(vh,Pf.children):wh&16&&mf(Pf.children,vh,null,Qf,wf,resolveChildrenNamespace(Pf,$f),Wf,Th),Nm&&invokeDirectiveHook(Pf,null,Qf,"created"),Kd(vh,Pf,Pf.scopeId,Wf,Qf),Vh){for(const Sm in Vh)Sm!=="value"&&!isReservedProp(Sm)&&ud(vh,Sm,null,Vh[Sm],$f,Qf);"value"in Vh&&ud(vh,"value",null,Vh.value,$f),(ph=Vh.onVnodeBeforeMount)&&invokeVNodeHook(ph,Qf,Pf)}Nm&&invokeDirectiveHook(Pf,null,Qf,"beforeMount");const cm=needTransition(wf,fm);cm&&fm.beforeEnter(vh),od(vh,uh,xh),((ph=Vh&&Vh.onVnodeMounted)||cm||Nm)&&queuePostRenderEffect(()=>{ph&&invokeVNodeHook(ph,Qf,Pf),cm&&fm.enter(vh),Nm&&invokeDirectiveHook(Pf,null,Qf,"mounted")},wf)},Kd=(Pf,uh,xh,Qf,wf)=>{if(xh&&Nd(Pf,xh),Qf)for(let $f=0;$f<Qf.length;$f++)Nd(Pf,Qf[$f]);if(wf){let $f=wf.subTree;if(uh===$f||isSuspense($f.type)&&($f.ssContent===uh||$f.ssFallback===uh)){const Wf=wf.vnode;Kd(Pf,Wf,Wf.scopeId,Wf.slotScopeIds,wf.parent)}}},mf=(Pf,uh,xh,Qf,wf,$f,Wf,Th,vh=0)=>{for(let ph=vh;ph<Pf.length;ph++){const Vh=Pf[ph]=Th?cloneIfMounted(Pf[ph]):normalizeVNode(Pf[ph]);kd(null,Vh,uh,xh,Qf,wf,$f,Wf,Th)}},Wd=(Pf,uh,xh,Qf,wf,$f,Wf)=>{const Th=uh.el=Pf.el;let{patchFlag:vh,dynamicChildren:ph,dirs:Vh}=uh;vh|=Pf.patchFlag&16;const wh=Pf.props||EMPTY_OBJ,fm=uh.props||EMPTY_OBJ;let Nm;if(xh&&toggleRecurse(xh,!1),(Nm=fm.onVnodeBeforeUpdate)&&invokeVNodeHook(Nm,xh,uh,Pf),Vh&&invokeDirectiveHook(uh,Pf,xh,"beforeUpdate"),xh&&toggleRecurse(xh,!0),(wh.innerHTML&&fm.innerHTML==null||wh.textContent&&fm.textContent==null)&&md(Th,""),ph?Zd(Pf.dynamicChildren,ph,Th,xh,Qf,resolveChildrenNamespace(uh,wf),$f):Wf||Lf(Pf,uh,Th,null,xh,Qf,resolveChildrenNamespace(uh,wf),$f,!1),vh>0){if(vh&16)Xd(Th,wh,fm,xh,wf);else if(vh&2&&wh.class!==fm.class&&ud(Th,"class",null,fm.class,wf),vh&4&&ud(Th,"style",wh.style,fm.style,wf),vh&8){const cm=uh.dynamicProps;for(let Sm=0;Sm<cm.length;Sm++){const $m=cm[Sm],fh=wh[$m],Rf=fm[$m];(Rf!==fh||$m==="value")&&ud(Th,$m,fh,Rf,wf,xh)}}vh&1&&Pf.children!==uh.children&&md(Th,uh.children)}else!Wf&&ph==null&&Xd(Th,wh,fm,xh,wf);((Nm=fm.onVnodeUpdated)||Vh)&&queuePostRenderEffect(()=>{Nm&&invokeVNodeHook(Nm,xh,uh,Pf),Vh&&invokeDirectiveHook(uh,Pf,xh,"updated")},Qf)},Zd=(Pf,uh,xh,Qf,wf,$f,Wf)=>{for(let Th=0;Th<uh.length;Th++){const vh=Pf[Th],ph=uh[Th],Vh=vh.el&&(vh.type===Fragment||!isSameVNodeType(vh,ph)||vh.shapeFlag&70)?vd(vh.el):xh;kd(vh,ph,Vh,null,Qf,wf,$f,Wf,!0)}},Xd=(Pf,uh,xh,Qf,wf)=>{if(uh!==xh){if(uh!==EMPTY_OBJ)for(const $f in uh)!isReservedProp($f)&&!($f in xh)&&ud(Pf,$f,uh[$f],null,wf,Qf);for(const $f in xh){if(isReservedProp($f))continue;const Wf=xh[$f],Th=uh[$f];Wf!==Th&&$f!=="value"&&ud(Pf,$f,Th,Wf,wf,Qf)}"value"in xh&&ud(Pf,"value",uh.value,xh.value,wf)}},bf=(Pf,uh,xh,Qf,wf,$f,Wf,Th,vh)=>{const ph=uh.el=Pf?Pf.el:dd(""),Vh=uh.anchor=Pf?Pf.anchor:dd("");let{patchFlag:wh,dynamicChildren:fm,slotScopeIds:Nm}=uh;Nm&&(Th=Th?Th.concat(Nm):Nm),Pf==null?(od(ph,xh,Qf),od(Vh,xh,Qf),mf(uh.children||[],xh,Vh,wf,$f,Wf,Th,vh)):wh>0&&wh&64&&fm&&Pf.dynamicChildren?(Zd(Pf.dynamicChildren,fm,xh,wf,$f,Wf,Th),(uh.key!=null||wf&&uh===wf.subTree)&&traverseStaticChildren(Pf,uh,!0)):Lf(Pf,uh,xh,Vh,wf,$f,Wf,Th,vh)},yf=(Pf,uh,xh,Qf,wf,$f,Wf,Th,vh)=>{uh.slotScopeIds=Th,Pf==null?uh.shapeFlag&512?wf.ctx.activate(uh,xh,Qf,Wf,vh):Ef(uh,xh,Qf,wf,$f,Wf,vh):gf(Pf,uh,vh)},Ef=(Pf,uh,xh,Qf,wf,$f,Wf)=>{const Th=Pf.component=createComponentInstance(Pf,Qf,wf);if(isKeepAlive(Pf)&&(Th.ctx.renderer=eh),setupComponent(Th,!1,Wf),Th.asyncDep){if(wf&&wf.registerDep(Th,xf,Wf),!Pf.el){const vh=Th.subTree=createVNode(Comment$2);Fd(null,vh,uh,xh)}}else xf(Th,Pf,uh,xh,wf,$f,Wf)},gf=(Pf,uh,xh)=>{const Qf=uh.component=Pf.component;if(shouldUpdateComponent(Pf,uh,xh))if(Qf.asyncDep&&!Qf.asyncResolved){Af(Qf,uh,xh);return}else Qf.next=uh,Qf.update();else uh.el=Pf.el,Qf.vnode=uh},xf=(Pf,uh,xh,Qf,wf,$f,Wf)=>{const Th=()=>{if(Pf.isMounted){let{next:wh,bu:fm,u:Nm,parent:cm,vnode:Sm}=Pf;{const dh=locateNonHydratedAsyncRoot(Pf);if(dh){wh&&(wh.el=Sm.el,Af(Pf,wh,Wf)),dh.asyncDep.then(()=>{Pf.isUnmounted||Th()});return}}let $m=wh,fh;toggleRecurse(Pf,!1),wh?(wh.el=Sm.el,Af(Pf,wh,Wf)):wh=Sm,fm&&invokeArrayFns(fm),(fh=wh.props&&wh.props.onVnodeBeforeUpdate)&&invokeVNodeHook(fh,cm,wh,Sm),toggleRecurse(Pf,!0);const Rf=renderComponentRoot(Pf),If=Pf.subTree;Pf.subTree=Rf,kd(If,Rf,vd(If.el),Tf(If),Pf,wf,$f),wh.el=Rf.el,$m===null&&updateHOCHostEl(Pf,Rf.el),Nm&&queuePostRenderEffect(Nm,wf),(fh=wh.props&&wh.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(fh,cm,wh,Sm),wf)}else{let wh;const{el:fm,props:Nm}=uh,{bm:cm,m:Sm,parent:$m,root:fh,type:Rf}=Pf,If=isAsyncWrapper(uh);if(toggleRecurse(Pf,!1),cm&&invokeArrayFns(cm),!If&&(wh=Nm&&Nm.onVnodeBeforeMount)&&invokeVNodeHook(wh,$m,uh),toggleRecurse(Pf,!0),fm&&ih){const dh=()=>{Pf.subTree=renderComponentRoot(Pf),ih(fm,Pf.subTree,Pf,wf,null)};If&&Rf.__asyncHydrate?Rf.__asyncHydrate(fm,Pf,dh):dh()}else{fh.ce&&fh.ce._injectChildStyle(Rf);const dh=Pf.subTree=renderComponentRoot(Pf);kd(null,dh,xh,Qf,Pf,wf,$f),uh.el=dh.el}if(Sm&&queuePostRenderEffect(Sm,wf),!If&&(wh=Nm&&Nm.onVnodeMounted)){const dh=uh;queuePostRenderEffect(()=>invokeVNodeHook(wh,$m,dh),wf)}(uh.shapeFlag&256||$m&&isAsyncWrapper($m.vnode)&&$m.vnode.shapeFlag&256)&&Pf.a&&queuePostRenderEffect(Pf.a,wf),Pf.isMounted=!0,uh=xh=Qf=null}};Pf.scope.on();const vh=Pf.effect=new ReactiveEffect(Th);Pf.scope.off();const ph=Pf.update=vh.run.bind(vh),Vh=Pf.job=vh.runIfDirty.bind(vh);Vh.i=Pf,Vh.id=Pf.uid,vh.scheduler=()=>queueJob(Vh),toggleRecurse(Pf,!0),ph()},Af=(Pf,uh,xh)=>{uh.component=Pf;const Qf=Pf.vnode.props;Pf.vnode=uh,Pf.next=null,updateProps(Pf,uh.props,Qf,xh),updateSlots(Pf,uh.children,xh),pauseTracking(),flushPreFlushCbs(Pf),resetTracking()},Lf=(Pf,uh,xh,Qf,wf,$f,Wf,Th,vh=!1)=>{const ph=Pf&&Pf.children,Vh=Pf?Pf.shapeFlag:0,wh=uh.children,{patchFlag:fm,shapeFlag:Nm}=uh;if(fm>0){if(fm&128){Jf(ph,wh,xh,Qf,wf,$f,Wf,Th,vh);return}else if(fm&256){Xf(ph,wh,xh,Qf,wf,$f,Wf,Th,vh);return}}Nm&8?(Vh&16&&zf(ph,wf,$f),wh!==ph&&md(xh,wh)):Vh&16?Nm&16?Jf(ph,wh,xh,Qf,wf,$f,Wf,Th,vh):zf(ph,wf,$f,!0):(Vh&8&&md(xh,""),Nm&16&&mf(wh,xh,Qf,wf,$f,Wf,Th,vh))},Xf=(Pf,uh,xh,Qf,wf,$f,Wf,Th,vh)=>{Pf=Pf||EMPTY_ARR,uh=uh||EMPTY_ARR;const ph=Pf.length,Vh=uh.length,wh=Math.min(ph,Vh);let fm;for(fm=0;fm<wh;fm++){const Nm=uh[fm]=vh?cloneIfMounted(uh[fm]):normalizeVNode(uh[fm]);kd(Pf[fm],Nm,xh,null,wf,$f,Wf,Th,vh)}ph>Vh?zf(Pf,wf,$f,!0,!1,wh):mf(uh,xh,Qf,wf,$f,Wf,Th,vh,wh)},Jf=(Pf,uh,xh,Qf,wf,$f,Wf,Th,vh)=>{let ph=0;const Vh=uh.length;let wh=Pf.length-1,fm=Vh-1;for(;ph<=wh&&ph<=fm;){const Nm=Pf[ph],cm=uh[ph]=vh?cloneIfMounted(uh[ph]):normalizeVNode(uh[ph]);if(isSameVNodeType(Nm,cm))kd(Nm,cm,xh,null,wf,$f,Wf,Th,vh);else break;ph++}for(;ph<=wh&&ph<=fm;){const Nm=Pf[wh],cm=uh[fm]=vh?cloneIfMounted(uh[fm]):normalizeVNode(uh[fm]);if(isSameVNodeType(Nm,cm))kd(Nm,cm,xh,null,wf,$f,Wf,Th,vh);else break;wh--,fm--}if(ph>wh){if(ph<=fm){const Nm=fm+1,cm=Nm<Vh?uh[Nm].el:Qf;for(;ph<=fm;)kd(null,uh[ph]=vh?cloneIfMounted(uh[ph]):normalizeVNode(uh[ph]),xh,cm,wf,$f,Wf,Th,vh),ph++}}else if(ph>fm)for(;ph<=wh;)Bf(Pf[ph],wf,$f,!0),ph++;else{const Nm=ph,cm=ph,Sm=new Map;for(ph=cm;ph<=fm;ph++){const Zh=uh[ph]=vh?cloneIfMounted(uh[ph]):normalizeVNode(uh[ph]);Zh.key!=null&&Sm.set(Zh.key,ph)}let $m,fh=0;const Rf=fm-cm+1;let If=!1,dh=0;const yh=new Array(Rf);for(ph=0;ph<Rf;ph++)yh[ph]=0;for(ph=Nm;ph<=wh;ph++){const Zh=Pf[ph];if(fh>=Rf){Bf(Zh,wf,$f,!0);continue}let _m;if(Zh.key!=null)_m=Sm.get(Zh.key);else for($m=cm;$m<=fm;$m++)if(yh[$m-cm]===0&&isSameVNodeType(Zh,uh[$m])){_m=$m;break}_m===void 0?Bf(Zh,wf,$f,!0):(yh[_m-cm]=ph+1,_m>=dh?dh=_m:If=!0,kd(Zh,uh[_m],xh,null,wf,$f,Wf,Th,vh),fh++)}const Uh=If?getSequence(yh):EMPTY_ARR;for($m=Uh.length-1,ph=Rf-1;ph>=0;ph--){const Zh=cm+ph,_m=uh[Zh],Um=Zh+1<Vh?uh[Zh+1].el:Qf;yh[ph]===0?kd(null,_m,xh,Um,wf,$f,Wf,Th,vh):If&&($m<0||ph!==Uh[$m]?Zf(_m,xh,Um,2):$m--)}}},Zf=(Pf,uh,xh,Qf,wf=null)=>{const{el:$f,type:Wf,transition:Th,children:vh,shapeFlag:ph}=Pf;if(ph&6){Zf(Pf.component.subTree,uh,xh,Qf);return}if(ph&128){Pf.suspense.move(uh,xh,Qf);return}if(ph&64){Wf.move(Pf,uh,xh,eh);return}if(Wf===Fragment){od($f,uh,xh);for(let wh=0;wh<vh.length;wh++)Zf(vh[wh],uh,xh,Qf);od(Pf.anchor,uh,xh);return}if(Wf===Static){Ld(Pf,uh,xh);return}if(Qf!==2&&ph&1&&Th)if(Qf===0)Th.beforeEnter($f),od($f,uh,xh),queuePostRenderEffect(()=>Th.enter($f),wf);else{const{leave:wh,delayLeave:fm,afterLeave:Nm}=Th,cm=()=>od($f,uh,xh),Sm=()=>{wh($f,()=>{cm(),Nm&&Nm()})};fm?fm($f,cm,Sm):Sm()}else od($f,uh,xh)},Bf=(Pf,uh,xh,Qf=!1,wf=!1)=>{const{type:$f,props:Wf,ref:Th,children:vh,dynamicChildren:ph,shapeFlag:Vh,patchFlag:wh,dirs:fm,cacheIndex:Nm}=Pf;if(wh===-2&&(wf=!1),Th!=null&&setRef(Th,null,xh,Pf,!0),Nm!=null&&(uh.renderCache[Nm]=void 0),Vh&256){uh.ctx.deactivate(Pf);return}const cm=Vh&1&&fm,Sm=!isAsyncWrapper(Pf);let $m;if(Sm&&($m=Wf&&Wf.onVnodeBeforeUnmount)&&invokeVNodeHook($m,uh,Pf),Vh&6)Gf(Pf.component,xh,Qf);else{if(Vh&128){Pf.suspense.unmount(xh,Qf);return}cm&&invokeDirectiveHook(Pf,null,uh,"beforeUnmount"),Vh&64?Pf.type.remove(Pf,uh,xh,eh,Qf):ph&&!ph.hasOnce&&($f!==Fragment||wh>0&&wh&64)?zf(ph,uh,xh,!1,!0):($f===Fragment&&wh&384||!wf&&Vh&16)&&zf(vh,uh,xh),Qf&&Df(Pf)}(Sm&&($m=Wf&&Wf.onVnodeUnmounted)||cm)&&queuePostRenderEffect(()=>{$m&&invokeVNodeHook($m,uh,Pf),cm&&invokeDirectiveHook(Pf,null,uh,"unmounted")},xh)},Df=Pf=>{const{type:uh,el:xh,anchor:Qf,transition:wf}=Pf;if(uh===Fragment){Uf(xh,Qf);return}if(uh===Static){Hd(Pf);return}const $f=()=>{ld(xh),wf&&!wf.persisted&&wf.afterLeave&&wf.afterLeave()};if(Pf.shapeFlag&1&&wf&&!wf.persisted){const{leave:Wf,delayLeave:Th}=wf,vh=()=>Wf(xh,$f);Th?Th(Pf.el,$f,vh):vh()}else $f()},Uf=(Pf,uh)=>{let xh;for(;Pf!==uh;)xh=Ad(Pf),ld(Pf),Pf=xh;ld(uh)},Gf=(Pf,uh,xh)=>{const{bum:Qf,scope:wf,job:$f,subTree:Wf,um:Th,m:vh,a:ph}=Pf;invalidateMount(vh),invalidateMount(ph),Qf&&invokeArrayFns(Qf),wf.stop(),$f&&($f.flags|=8,Bf(Wf,Pf,uh,xh)),Th&&queuePostRenderEffect(Th,uh),queuePostRenderEffect(()=>{Pf.isUnmounted=!0},uh),uh&&uh.pendingBranch&&!uh.isUnmounted&&Pf.asyncDep&&!Pf.asyncResolved&&Pf.suspenseId===uh.pendingId&&(uh.deps--,uh.deps===0&&uh.resolve())},zf=(Pf,uh,xh,Qf=!1,wf=!1,$f=0)=>{for(let Wf=$f;Wf<Pf.length;Wf++)Bf(Pf[Wf],uh,xh,Qf,wf)},Tf=Pf=>{if(Pf.shapeFlag&6)return Tf(Pf.component.subTree);if(Pf.shapeFlag&128)return Pf.suspense.next();const uh=Ad(Pf.anchor||Pf.el),xh=uh&&uh[TeleportEndKey];return xh?Ad(xh):uh};let vf=!1;const qf=(Pf,uh,xh)=>{Pf==null?uh._vnode&&Bf(uh._vnode,null,null,!0):kd(uh._vnode||null,Pf,uh,null,null,null,xh),uh._vnode=Pf,vf||(vf=!0,flushPreFlushCbs(),flushPostFlushCbs(),vf=!1)},eh={p:kd,um:Bf,m:Zf,r:Df,mt:Ef,mc:mf,pc:Lf,pbc:Zd,n:Tf,o:Ra};let ch,ih;return{render:qf,hydrate:ch,createApp:createAppAPI(qf,ch)}}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 cd=od[ud];let dd=ld[ud];dd.shapeFlag&1&&!dd.dynamicChildren&&((dd.patchFlag<=0||dd.patchFlag===32)&&(dd=ld[ud]=cloneIfMounted(ld[ud]),dd.el=cd.el),!nd&&dd.patchFlag!==-2&&traverseStaticChildren(cd,dd)),dd.type===Text$2&&(dd.el=cd.el)}}function getSequence(Ra){const qa=Ra.slice(),nd=[0];let od,ld,ud,cd,dd;const pd=Ra.length;for(od=0;od<pd;od++){const fd=Ra[od];if(fd!==0){if(ld=nd[nd.length-1],Ra[ld]<fd){qa[od]=ld,nd.push(od);continue}for(ud=0,cd=nd.length-1;ud<cd;)dd=ud+cd>>1,Ra[nd[dd]]<fd?ud=dd+1:cd=dd;fd<Ra[nd[ud]]&&(ud>0&&(qa[od]=nd[ud-1]),nd[ud]=od)}}for(ud=nd.length,cd=nd[ud-1];ud-- >0;)nd[ud]=cd,cd=qa[cd];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:cd}=nd,dd=extend$3({},nd),pd=qa&&od||!qa&&ud!=="post";let fd;if(isInSSRComponentSetup){if(ud==="sync"){const Nd=useSSRContext();fd=Nd.__watcherHandles||(Nd.__watcherHandles=[])}else if(!pd){const Nd=()=>{};return Nd.stop=NOOP,Nd.resume=NOOP,Nd.pause=NOOP,Nd}}const md=currentInstance;dd.call=(Nd,Id,kd)=>callWithAsyncErrorHandling(Nd,md,Id,kd);let vd=!1;ud==="post"?dd.scheduler=Nd=>{queuePostRenderEffect(Nd,md&&md.suspense)}:ud!=="sync"&&(vd=!0,dd.scheduler=(Nd,Id)=>{Id?Nd():queueJob(Nd)}),dd.augmentJob=Nd=>{qa&&(Nd.flags|=4),vd&&(Nd.flags|=2,md&&(Nd.id=md.uid,Nd.i=md))};const Ad=watch$1(Ra,qa,dd);return isInSSRComponentSetup&&(fd?fd.push(Ad):pd&&Ad()),Ad}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 cd=setCurrentInstance(this),dd=doWatch(ld,ud.bind(od),nd);return cd(),dd}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:"),cd=ud&&getModelModifiers(od,qa.slice(7));cd&&(cd.trim&&(ld=nd.map(md=>isString$2(md)?md.trim():md)),cd.number&&(ld=nd.map(looseToNumber)));let dd,pd=od[dd=toHandlerKey(qa)]||od[dd=toHandlerKey(camelize(qa))];!pd&&ud&&(pd=od[dd=toHandlerKey(hyphenate(qa))]),pd&&callWithAsyncErrorHandling(pd,Ra,6,ld);const fd=od[dd+"Once"];if(fd){if(!Ra.emitted)Ra.emitted={};else if(Ra.emitted[dd])return;Ra.emitted[dd]=!0,callWithAsyncErrorHandling(fd,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 cd={},dd=!1;if(!isFunction$3(Ra)){const pd=fd=>{const md=normalizeEmitsOptions(fd,qa,!0);md&&(dd=!0,extend$3(cd,md))};!nd&&qa.mixins.length&&qa.mixins.forEach(pd),Ra.extends&&pd(Ra.extends),Ra.mixins&&Ra.mixins.forEach(pd)}return!ud&&!dd?(isObject$5(Ra)&&od.set(Ra,null),null):(isArray$2(ud)?ud.forEach(pd=>cd[pd]=null):extend$3(cd,ud),isObject$5(Ra)&&od.set(Ra,cd),cd)}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:cd,attrs:dd,emit:pd,render:fd,renderCache:md,props:vd,data:Ad,setupState:Nd,ctx:Id,inheritAttrs:kd}=Ra,jd=setCurrentRenderingInstance(Ra);let Fd,Md;try{if(nd.shapeFlag&4){const Hd=ld||od,Gd=Hd;Fd=normalizeVNode(fd.call(Gd,Hd,md,vd,Nd,Ad,Id)),Md=dd}else{const Hd=qa;Fd=normalizeVNode(Hd.length>1?Hd(vd,{attrs:dd,slots:cd,emit:pd}):Hd(vd,null)),Md=qa.props?dd:getFunctionalFallthrough(dd)}}catch(Hd){blockStack.length=0,handleError$1(Hd,Ra,1),Fd=createVNode(Comment$2)}let Ld=Fd;if(Md&&kd!==!1){const Hd=Object.keys(Md),{shapeFlag:Gd}=Ld;Hd.length&&Gd&7&&(ud&&Hd.some(isModelListener)&&(Md=filterModelListeners(Md,ud)),Ld=cloneVNode(Ld,Md,!1,!0))}return nd.dirs&&(Ld=cloneVNode(Ld,null,!1,!0),Ld.dirs=Ld.dirs?Ld.dirs.concat(nd.dirs):nd.dirs),nd.transition&&setTransitionHooks(Ld,nd.transition),Fd=Ld,setCurrentRenderingInstance(jd),Fd}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:cd,children:dd,patchFlag:pd}=qa,fd=ud.emitsOptions;if(qa.dirs||qa.transition)return!0;if(nd&&pd>=0){if(pd&1024)return!0;if(pd&16)return od?hasPropsChanged(od,cd,fd):!!cd;if(pd&8){const md=qa.dynamicProps;for(let vd=0;vd<md.length;vd++){const Ad=md[vd];if(cd[Ad]!==od[Ad]&&!isEmitListener(fd,Ad))return!0}}}else return(ld||dd)&&(!dd||!dd.$stable)?!0:od===cd?!1:od?cd?hasPropsChanged(od,cd,fd):!0:!!cd;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,cd=!1,dd=!1){const pd={__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 dd?(normalizeChildren(pd,nd),ud&128&&Ra.normalize(pd)):nd&&(pd.shapeFlag|=isString$2(nd)?8:16),isBlockTreeEnabled>0&&!cd&¤tBlock&&(pd.patchFlag>0||ud&6)&&pd.patchFlag!==32&¤tBlock.push(pd),pd}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 dd=cloneVNode(Ra,qa,!0);return nd&&normalizeChildren(dd,nd),isBlockTreeEnabled>0&&!ud&¤tBlock&&(dd.shapeFlag&6?currentBlock[currentBlock.indexOf(Ra)]=dd:currentBlock.push(dd)),dd.patchFlag=-2,dd}if(isClassComponent(Ra)&&(Ra=Ra.__vccOpts),qa){qa=guardReactiveProps(qa);let{class:dd,style:pd}=qa;dd&&!isString$2(dd)&&(qa.class=normalizeClass(dd)),isObject$5(pd)&&(isProxy(pd)&&!isArray$2(pd)&&(pd=extend$3({},pd)),qa.style=normalizeStyle(pd))}const cd=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,cd,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:cd,children:dd,transition:pd}=Ra,fd=qa?mergeProps(ld||{},qa):ld,md={__v_isVNode:!0,__v_skip:!0,type:Ra.type,props:fd,key:fd&&normalizeKey(fd),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:dd,target:Ra.target,targetStart:Ra.targetStart,targetAnchor:Ra.targetAnchor,staticCount:Ra.staticCount,shapeFlag:Ra.shapeFlag,patchFlag:qa&&Ra.type!==Fragment?cd===-1?16:cd|16:cd,dynamicProps:Ra.dynamicProps,dynamicChildren:Ra.dynamicChildren,appContext:Ra.appContext,dirs:Ra.dirs,transition:pd,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 pd&&od&&setTransitionHooks(md,pd.clone(md)),md}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],cd=od[ld];cd&&ud!==cd&&!(isArray$2(ud)&&ud.includes(cd))&&(qa[ld]=ud?[].concat(ud,cd):cd)}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(cd=>cd(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 cd=ud?setupStatefulComponent(Ra,qa):void 0;return qa&&setInSSRSetupState(!1),cd}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),cd=callWithErrorHandling(od,Ra,0,[Ra.props,ld]),dd=isPromise(cd);if(resetTracking(),ud(),(dd||Ra.sp)&&!isAsyncWrapper(Ra)&&markAsyncBoundary(Ra),dd){if(cd.then(unsetCurrentInstance,unsetCurrentInstance),qa)return cd.then(pd=>{handleSetupResult(Ra,pd,qa)}).catch(pd=>{handleError$1(pd,Ra,0)});Ra.asyncDep=cd}else handleSetupResult(Ra,cd,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:cd}=Ra.appContext.config,{delimiters:dd,compilerOptions:pd}=od,fd=extend$3(extend$3({isCustomElement:ud,delimiters:dd},cd),pd);od.render=compile$2(ld,fd)}}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 cd in ud)if(ud[cd]===qa)return cd};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$1(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$2="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 cd=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 dd=templateContainer.content;if(od==="svg"||od==="mathml"){const pd=dd.firstChild;for(;pd.firstChild;)dd.appendChild(pd.firstChild);dd.removeChild(pd)}qa.insertBefore(dd,nd)}return[cd?cd.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$1(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 bf in Ra)bf in DOMTransitionPropsValidators||(qa[bf]=Ra[bf]);if(Ra.css===!1)return qa;const{name:nd="v",type:od,duration:ld,enterFromClass:ud=`${nd}-enter-from`,enterActiveClass:cd=`${nd}-enter-active`,enterToClass:dd=`${nd}-enter-to`,appearFromClass:pd=ud,appearActiveClass:fd=cd,appearToClass:md=dd,leaveFromClass:vd=`${nd}-leave-from`,leaveActiveClass:Ad=`${nd}-leave-active`,leaveToClass:Nd=`${nd}-leave-to`}=Ra,Id=normalizeDuration(ld),kd=Id&&Id[0],jd=Id&&Id[1],{onBeforeEnter:Fd,onEnter:Md,onEnterCancelled:Ld,onLeave:Hd,onLeaveCancelled:Gd,onBeforeAppear:Vd=Fd,onAppear:Kd=Md,onAppearCancelled:mf=Ld}=qa,Wd=(bf,yf,Ef,gf)=>{bf._enterCancelled=gf,removeTransitionClass(bf,yf?md:dd),removeTransitionClass(bf,yf?fd:cd),Ef&&Ef()},Zd=(bf,yf)=>{bf._isLeaving=!1,removeTransitionClass(bf,vd),removeTransitionClass(bf,Nd),removeTransitionClass(bf,Ad),yf&&yf()},Xd=bf=>(yf,Ef)=>{const gf=bf?Kd:Md,xf=()=>Wd(yf,bf,Ef);callHook(gf,[yf,xf]),nextFrame(()=>{removeTransitionClass(yf,bf?pd:ud),addTransitionClass(yf,bf?md:dd),hasExplicitCallback(gf)||whenTransitionEnds(yf,od,kd,xf)})};return extend$3(qa,{onBeforeEnter(bf){callHook(Fd,[bf]),addTransitionClass(bf,ud),addTransitionClass(bf,cd)},onBeforeAppear(bf){callHook(Vd,[bf]),addTransitionClass(bf,pd),addTransitionClass(bf,fd)},onEnter:Xd(!1),onAppear:Xd(!0),onLeave(bf,yf){bf._isLeaving=!0;const Ef=()=>Zd(bf,yf);addTransitionClass(bf,vd),bf._enterCancelled?(addTransitionClass(bf,Ad),forceReflow()):(forceReflow(),addTransitionClass(bf,Ad)),nextFrame(()=>{bf._isLeaving&&(removeTransitionClass(bf,vd),addTransitionClass(bf,Nd),hasExplicitCallback(Hd)||whenTransitionEnds(bf,od,jd,Ef))}),callHook(Hd,[bf,Ef])},onEnterCancelled(bf){Wd(bf,!1,void 0,!0),callHook(Ld,[bf])},onAppearCancelled(bf){Wd(bf,!0,void 0,!0),callHook(mf,[bf])},onLeaveCancelled(bf){Zd(bf),callHook(Gd,[bf])}})}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$2(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:cd,timeout:dd,propCount:pd}=getTransitionInfo(Ra,qa);if(!cd)return od();const fd=cd+"end";let md=0;const vd=()=>{Ra.removeEventListener(fd,Ad),ud()},Ad=Nd=>{Nd.target===Ra&&++md>=pd&&vd()};setTimeout(()=>{md<pd&&vd()},dd+1),Ra.addEventListener(fd,Ad)}function getTransitionInfo(Ra,qa){const nd=window.getComputedStyle(Ra),od=Id=>(nd[Id]||"").split(", "),ld=od(`${TRANSITION}Delay`),ud=od(`${TRANSITION}Duration`),cd=getTimeout(ld,ud),dd=od(`${ANIMATION}Delay`),pd=od(`${ANIMATION}Duration`),fd=getTimeout(dd,pd);let md=null,vd=0,Ad=0;qa===TRANSITION?cd>0&&(md=TRANSITION,vd=cd,Ad=ud.length):qa===ANIMATION?fd>0&&(md=ANIMATION,vd=fd,Ad=pd.length):(vd=Math.max(cd,fd),md=vd>0?cd>fd?TRANSITION:ANIMATION:null,Ad=md?md===TRANSITION?ud.length:pd.length:0);const Nd=md===TRANSITION&&/\b(transform|all)(,|$)/.test(od(`${TRANSITION}Property`).toString());return{type:md,timeout:vd,propCount:Ad,hasTransform:Nd}}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 cd of qa.split(";")){const dd=cd.slice(0,cd.indexOf(":")).trim();nd[dd]==null&&setStyle(od,dd,"")}else for(const cd in qa)nd[cd]==null&&setStyle(od,cd,"");for(const cd in nd)cd==="display"&&(ud=!0),setStyle(od,cd,nd[cd])}else if(ld){if(qa!==nd){const cd=od[CSS_VAR_TEXT];cd&&(nd+=";"+cd),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 dd=ud==="OPTION"?Ra.getAttribute("value")||"":Ra.value,pd=nd==null?Ra.type==="checkbox"?"on":"":String(nd);(dd!==pd||!("_value"in Ra))&&(Ra.value=pd),nd==null&&Ra.removeAttribute(qa),Ra._value=nd;return}let cd=!1;if(nd===""||nd==null){const dd=typeof Ra[qa];dd==="boolean"?nd=includeBooleanAttr(nd):nd==null&&dd==="string"?(nd="",cd=!0):dd==="number"&&(nd=0,cd=!0)}try{Ra[qa]=nd}catch{}cd&&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]={}),cd=ud[qa];if(od&&cd)cd.value=od;else{const[dd,pd]=parseName(qa);if(od){const fd=ud[qa]=createInvoker(od,ld);addEventListener(Ra,dd,fd,pd)}else cd&&(removeEventListener(Ra,dd,cd,pd),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$1=Promise.resolve(),getNow=()=>cachedNow||(p$1.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 cd=ld==="svg";qa==="class"?patchClass(Ra,od,cd):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,cd))?(patchDOMProp(Ra,qa,od),!Ra.tagName.includes("-")&&(qa==="value"||qa==="checked"||qa==="selected")&&patchAttr(Ra,qa,od,cd,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,cd))};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",cd=>{if(cd.target.composing)return;let dd=Ra.value;nd&&(dd=dd.trim()),ud&&(dd=looseToNumber(dd)),Ra[assignKey](dd)}),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}},cd){if(Ra[assignKey]=getModelAssigner(cd),Ra.composing)return;const dd=(ud||Ra.type==="number")&&!/^0\d/.test(Ra.value)?looseToNumber(Ra.value):Ra.value,pd=qa??"";dd!==pd&&(document.activeElement===Ra&&Ra.type!=="range"&&(od&&qa===nd||ld&&Ra.value.trim()===pd)||(Ra.value=pd))}},vModelSelect={deep:!0,created(Ra,{value:qa,modifiers:{number:nd}},od){const ld=isSet(qa);addEventListener(Ra,"change",()=>{const ud=Array.prototype.filter.call(Ra.options,cd=>cd.selected).map(cd=>nd?looseToNumber(getValue$1(cd)):getValue$1(cd));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(qa))){for(let ld=0,ud=Ra.options.length;ld<ud;ld++){const cd=Ra.options[ld],dd=getValue$1(cd);if(nd)if(od){const pd=typeof dd;pd==="string"||pd==="number"?cd.selected=qa.some(fd=>String(fd)===String(dd)):cd.selected=looseIndexOf(qa,dd)>-1}else cd.selected=qa.has(dd);else if(looseEqual(getValue$1(cd),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 cd=0;cd<qa.length;cd++){const dd=modifierGuards[qa[cd]];if(dd&&dd(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(cd=>cd===ud||keyNames[cd]===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 cd=nd(ld,!1,resolveRootNamespace(ld));return ld instanceof Element&&(ld.removeAttribute("v-cloak"),ld.setAttribute("data-v-app","")),cd},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(cd=>nd.push(cd)),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:cd}=qa,dd=nd.state.value[Ra];let pd;function fd(){dd||(nd.state.value[Ra]=ld?ld():{});const md=toRefs(nd.state.value[Ra]);return assign(md,ud,Object.keys(cd||{}).reduce((vd,Ad)=>(vd[Ad]=markRaw(computed(()=>{setActivePinia(nd);const Nd=nd._s.get(Ra);return cd[Ad].call(Nd,Nd)})),vd),{}))}return pd=createSetupStore(Ra,fd,qa,nd,od,!0),pd}function createSetupStore(Ra,qa,nd={},od,ld,ud){let cd;const dd=assign({actions:{}},nd),pd={deep:!0};let fd,md,vd=[],Ad=[],Nd;const Id=od.state.value[Ra];!ud&&!Id&&(od.state.value[Ra]={}),ref$1({});let kd;function jd(mf){let Wd;fd=md=!1,typeof mf=="function"?(mf(od.state.value[Ra]),Wd={type:MutationType.patchFunction,storeId:Ra,events:Nd}):(mergeReactiveObjects(od.state.value[Ra],mf),Wd={type:MutationType.patchObject,payload:mf,storeId:Ra,events:Nd});const Zd=kd=Symbol();nextTick$1().then(()=>{kd===Zd&&(fd=!0)}),md=!0,triggerSubscriptions(vd,Wd,od.state.value[Ra])}const Fd=ud?function(){const{state:Wd}=nd,Zd=Wd?Wd():{};this.$patch(Xd=>{assign(Xd,Zd)})}:noop$6;function Md(){cd.stop(),vd=[],Ad=[],od._s.delete(Ra)}const Ld=(mf,Wd="")=>{if(ACTION_MARKER in mf)return mf[ACTION_NAME]=Wd,mf;const Zd=function(){setActivePinia(od);const Xd=Array.from(arguments),bf=[],yf=[];function Ef(Af){bf.push(Af)}function gf(Af){yf.push(Af)}triggerSubscriptions(Ad,{args:Xd,name:Zd[ACTION_NAME],store:Gd,after:Ef,onError:gf});let xf;try{xf=mf.apply(this&&this.$id===Ra?this:Gd,Xd)}catch(Af){throw triggerSubscriptions(yf,Af),Af}return xf instanceof Promise?xf.then(Af=>(triggerSubscriptions(bf,Af),Af)).catch(Af=>(triggerSubscriptions(yf,Af),Promise.reject(Af))):(triggerSubscriptions(bf,xf),xf)};return Zd[ACTION_MARKER]=!0,Zd[ACTION_NAME]=Wd,Zd},Hd={_p:od,$id:Ra,$onAction:addSubscription.bind(null,Ad),$patch:jd,$reset:Fd,$subscribe(mf,Wd={}){const Zd=addSubscription(vd,mf,Wd.detached,()=>Xd()),Xd=cd.run(()=>watch(()=>od.state.value[Ra],bf=>{(Wd.flush==="sync"?md:fd)&&mf({storeId:Ra,type:MutationType.direct,events:Nd},bf)},assign({},pd,Wd)));return Zd},$dispose:Md},Gd=reactive(Hd);od._s.set(Ra,Gd);const Kd=(od._a&&od._a.runWithContext||fallbackRunWithContext)(()=>od._e.run(()=>(cd=effectScope()).run(()=>qa({action:Ld}))));for(const mf in Kd){const Wd=Kd[mf];if(isRef(Wd)&&!isComputed(Wd)||isReactive(Wd))ud||(Id&&shouldHydrate(Wd)&&(isRef(Wd)?Wd.value=Id[mf]:mergeReactiveObjects(Wd,Id[mf])),od.state.value[Ra][mf]=Wd);else if(typeof Wd=="function"){const Zd=Ld(Wd,mf);Kd[mf]=Zd,dd.actions[mf]=Wd}}return assign(Gd,Kd),assign(toRaw(Gd),Kd),Object.defineProperty(Gd,"$state",{get:()=>od.state.value[Ra],set:mf=>{jd(Wd=>{assign(Wd,mf)})}}),od._p.forEach(mf=>{assign(Gd,cd.run(()=>mf({store:Gd,app:od._a,pinia:od,options:dd})))}),Id&&ud&&nd.hydrate&&nd.hydrate(Gd.$state,Id),fd=!0,md=!0,Gd}/*! #__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 cd(dd,pd){const fd=hasInjectionContext();return dd=dd||(fd?inject(piniaSymbol,null):null),dd&&setActivePinia(dd),dd=activePinia,dd._s.has(od)||(ud?createSetupStore(od,qa,ld,dd):createOptionsStore(od,ld,dd)),dd._s.get(od)}return cd.$id=od,cd}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 cd=ld==="x"?od===(nd?"end":"start")?"right":"left":od==="start"?"bottom":"top";return qa.reference[ud]>qa.floating[ud]&&(cd=getOppositePlacement(cd)),[cd,getOppositePlacement(cd)]}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"],cd=["bottom","top"];switch(Ra){case"top":case"bottom":return nd?qa?ld:od:qa?od:ld;case"left":case"right":return qa?ud:cd;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(cd=>cd+"-"+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),cd=getAlignmentAxis(qa),dd=getAxisLength(cd),pd=getSide(qa),fd=ud==="y",md=od.x+od.width/2-ld.width/2,vd=od.y+od.height/2-ld.height/2,Ad=od[dd]/2-ld[dd]/2;let Nd;switch(pd){case"top":Nd={x:md,y:od.y-ld.height};break;case"bottom":Nd={x:md,y:od.y+od.height};break;case"right":Nd={x:od.x+od.width,y:vd};break;case"left":Nd={x:od.x-ld.width,y:vd};break;default:Nd={x:od.x,y:od.y}}switch(getAlignment(qa)){case"start":Nd[cd]-=Ad*(nd&&fd?-1:1);break;case"end":Nd[cd]+=Ad*(nd&&fd?-1:1);break}return Nd}const computePosition$1=async(Ra,qa,nd)=>{const{placement:od="bottom",strategy:ld="absolute",middleware:ud=[],platform:cd}=nd,dd=ud.filter(Boolean),pd=await(cd.isRTL==null?void 0:cd.isRTL(qa));let fd=await cd.getElementRects({reference:Ra,floating:qa,strategy:ld}),{x:md,y:vd}=computeCoordsFromPlacement(fd,od,pd),Ad=od,Nd={},Id=0;for(let kd=0;kd<dd.length;kd++){const{name:jd,fn:Fd}=dd[kd],{x:Md,y:Ld,data:Hd,reset:Gd}=await Fd({x:md,y:vd,initialPlacement:od,placement:Ad,strategy:ld,middlewareData:Nd,rects:fd,platform:cd,elements:{reference:Ra,floating:qa}});md=Md??md,vd=Ld??vd,Nd={...Nd,[jd]:{...Nd[jd],...Hd}},Gd&&Id<=50&&(Id++,typeof Gd=="object"&&(Gd.placement&&(Ad=Gd.placement),Gd.rects&&(fd=Gd.rects===!0?await cd.getElementRects({reference:Ra,floating:qa,strategy:ld}):Gd.rects),{x:md,y:vd}=computeCoordsFromPlacement(fd,Ad,pd)),kd=-1)}return{x:md,y:vd,placement:Ad,strategy:ld,middlewareData:Nd}};async function detectOverflow(Ra,qa){var nd;qa===void 0&&(qa={});const{x:od,y:ld,platform:ud,rects:cd,elements:dd,strategy:pd}=Ra,{boundary:fd="clippingAncestors",rootBoundary:md="viewport",elementContext:vd="floating",altBoundary:Ad=!1,padding:Nd=0}=evaluate$1(qa,Ra),Id=getPaddingObject(Nd),jd=dd[Ad?vd==="floating"?"reference":"floating":vd],Fd=rectToClientRect(await ud.getClippingRect({element:(nd=await(ud.isElement==null?void 0:ud.isElement(jd)))==null||nd?jd:jd.contextElement||await(ud.getDocumentElement==null?void 0:ud.getDocumentElement(dd.floating)),boundary:fd,rootBoundary:md,strategy:pd})),Md=vd==="floating"?{x:od,y:ld,width:cd.floating.width,height:cd.floating.height}:cd.reference,Ld=await(ud.getOffsetParent==null?void 0:ud.getOffsetParent(dd.floating)),Hd=await(ud.isElement==null?void 0:ud.isElement(Ld))?await(ud.getScale==null?void 0:ud.getScale(Ld))||{x:1,y:1}:{x:1,y:1},Gd=rectToClientRect(ud.convertOffsetParentRelativeRectToViewportRelativeRect?await ud.convertOffsetParentRelativeRectToViewportRelativeRect({elements:dd,rect:Md,offsetParent:Ld,strategy:pd}):Md);return{top:(Fd.top-Gd.top+Id.top)/Hd.y,bottom:(Gd.bottom-Fd.bottom+Id.bottom)/Hd.y,left:(Fd.left-Gd.left+Id.left)/Hd.x,right:(Gd.right-Fd.right+Id.right)/Hd.x}}const arrow$2=Ra=>({name:"arrow",options:Ra,async fn(qa){const{x:nd,y:od,placement:ld,rects:ud,platform:cd,elements:dd,middlewareData:pd}=qa,{element:fd,padding:md=0}=evaluate$1(Ra,qa)||{};if(fd==null)return{};const vd=getPaddingObject(md),Ad={x:nd,y:od},Nd=getAlignmentAxis(ld),Id=getAxisLength(Nd),kd=await cd.getDimensions(fd),jd=Nd==="y",Fd=jd?"top":"left",Md=jd?"bottom":"right",Ld=jd?"clientHeight":"clientWidth",Hd=ud.reference[Id]+ud.reference[Nd]-Ad[Nd]-ud.floating[Id],Gd=Ad[Nd]-ud.reference[Nd],Vd=await(cd.getOffsetParent==null?void 0:cd.getOffsetParent(fd));let Kd=Vd?Vd[Ld]:0;(!Kd||!await(cd.isElement==null?void 0:cd.isElement(Vd)))&&(Kd=dd.floating[Ld]||ud.floating[Id]);const mf=Hd/2-Gd/2,Wd=Kd/2-kd[Id]/2-1,Zd=min$1(vd[Fd],Wd),Xd=min$1(vd[Md],Wd),bf=Zd,yf=Kd-kd[Id]-Xd,Ef=Kd/2-kd[Id]/2+mf,gf=clamp(bf,Ef,yf),xf=!pd.arrow&&getAlignment(ld)!=null&&Ef!==gf&&ud.reference[Id]/2-(Ef<bf?Zd:Xd)-kd[Id]/2<0,Af=xf?Ef<bf?Ef-bf:Ef-yf:0;return{[Nd]:Ad[Nd]+Af,data:{[Nd]:gf,centerOffset:Ef-gf-Af,...xf&&{alignmentOffset:Af}},reset:xf}}}),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:cd,initialPlacement:dd,platform:pd,elements:fd}=qa,{mainAxis:md=!0,crossAxis:vd=!0,fallbackPlacements:Ad,fallbackStrategy:Nd="bestFit",fallbackAxisSideDirection:Id="none",flipAlignment:kd=!0,...jd}=evaluate$1(Ra,qa);if((nd=ud.arrow)!=null&&nd.alignmentOffset)return{};const Fd=getSide(ld),Md=getSideAxis(dd),Ld=getSide(dd)===dd,Hd=await(pd.isRTL==null?void 0:pd.isRTL(fd.floating)),Gd=Ad||(Ld||!kd?[getOppositePlacement(dd)]:getExpandedPlacements(dd)),Vd=Id!=="none";!Ad&&Vd&&Gd.push(...getOppositeAxisPlacements(dd,kd,Id,Hd));const Kd=[dd,...Gd],mf=await detectOverflow(qa,jd),Wd=[];let Zd=((od=ud.flip)==null?void 0:od.overflows)||[];if(md&&Wd.push(mf[Fd]),vd){const Ef=getAlignmentSides(ld,cd,Hd);Wd.push(mf[Ef[0]],mf[Ef[1]])}if(Zd=[...Zd,{placement:ld,overflows:Wd}],!Wd.every(Ef=>Ef<=0)){var Xd,bf;const Ef=(((Xd=ud.flip)==null?void 0:Xd.index)||0)+1,gf=Kd[Ef];if(gf)return{data:{index:Ef,overflows:Zd},reset:{placement:gf}};let xf=(bf=Zd.filter(Af=>Af.overflows[0]<=0).sort((Af,Lf)=>Af.overflows[1]-Lf.overflows[1])[0])==null?void 0:bf.placement;if(!xf)switch(Nd){case"bestFit":{var yf;const Af=(yf=Zd.filter(Lf=>{if(Vd){const Xf=getSideAxis(Lf.placement);return Xf===Md||Xf==="y"}return!0}).map(Lf=>[Lf.placement,Lf.overflows.filter(Xf=>Xf>0).reduce((Xf,Jf)=>Xf+Jf,0)]).sort((Lf,Xf)=>Lf[1]-Xf[1])[0])==null?void 0:yf[0];Af&&(xf=Af);break}case"initialPlacement":xf=dd;break}if(ld!==xf)return{reset:{placement:xf}}}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"}),cd=getSideOffsets(ud,nd.reference);return{data:{referenceHiddenOffsets:cd,referenceHidden:isAnySideFullyClipped(cd)}}}case"escaped":{const ud=await detectOverflow(qa,{...ld,altBoundary:!0}),cd=getSideOffsets(ud,nd.floating);return{data:{escapedOffsets:cd,escaped:isAnySideFullyClipped(cd)}}}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)),cd=getSide(nd),dd=getAlignment(nd),pd=getSideAxis(nd)==="y",fd=["left","top"].includes(cd)?-1:1,md=ud&&pd?-1:1,vd=evaluate$1(qa,Ra);let{mainAxis:Ad,crossAxis:Nd,alignmentAxis:Id}=typeof vd=="number"?{mainAxis:vd,crossAxis:0,alignmentAxis:null}:{mainAxis:vd.mainAxis||0,crossAxis:vd.crossAxis||0,alignmentAxis:vd.alignmentAxis};return dd&&typeof Id=="number"&&(Nd=dd==="end"?Id*-1:Id),pd?{x:Nd*md,y:Ad*fd}:{x:Ad*fd,y:Nd*md}}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:cd,middlewareData:dd}=qa,pd=await convertValueToCoords(qa,Ra);return cd===((nd=dd.offset)==null?void 0:nd.placement)&&(od=dd.arrow)!=null&&od.alignmentOffset?{}:{x:ld+pd.x,y:ud+pd.y,data:{...pd,placement:cd}}}}},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:cd=!1,limiter:dd={fn:jd=>{let{x:Fd,y:Md}=jd;return{x:Fd,y:Md}}},...pd}=evaluate$1(Ra,qa),fd={x:nd,y:od},md=await detectOverflow(qa,pd),vd=getSideAxis(getSide(ld)),Ad=getOppositeAxis(vd);let Nd=fd[Ad],Id=fd[vd];if(ud){const jd=Ad==="y"?"top":"left",Fd=Ad==="y"?"bottom":"right",Md=Nd+md[jd],Ld=Nd-md[Fd];Nd=clamp(Md,Nd,Ld)}if(cd){const jd=vd==="y"?"top":"left",Fd=vd==="y"?"bottom":"right",Md=Id+md[jd],Ld=Id-md[Fd];Id=clamp(Md,Id,Ld)}const kd=dd.fn({...qa,[Ad]:Nd,[vd]:Id});return{...kd,data:{x:kd.x-nd,y:kd.y-od,enabled:{[Ad]:ud,[vd]:cd}}}}}},limitShift$1=function(Ra){return Ra===void 0&&(Ra={}),{options:Ra,fn(qa){const{x:nd,y:od,placement:ld,rects:ud,middlewareData:cd}=qa,{offset:dd=0,mainAxis:pd=!0,crossAxis:fd=!0}=evaluate$1(Ra,qa),md={x:nd,y:od},vd=getSideAxis(ld),Ad=getOppositeAxis(vd);let Nd=md[Ad],Id=md[vd];const kd=evaluate$1(dd,qa),jd=typeof kd=="number"?{mainAxis:kd,crossAxis:0}:{mainAxis:0,crossAxis:0,...kd};if(pd){const Ld=Ad==="y"?"height":"width",Hd=ud.reference[Ad]-ud.floating[Ld]+jd.mainAxis,Gd=ud.reference[Ad]+ud.reference[Ld]-jd.mainAxis;Nd<Hd?Nd=Hd:Nd>Gd&&(Nd=Gd)}if(fd){var Fd,Md;const Ld=Ad==="y"?"width":"height",Hd=["top","left"].includes(getSide(ld)),Gd=ud.reference[vd]-ud.floating[Ld]+(Hd&&((Fd=cd.offset)==null?void 0:Fd[vd])||0)+(Hd?0:jd.crossAxis),Vd=ud.reference[vd]+ud.reference[Ld]+(Hd?0:((Md=cd.offset)==null?void 0:Md[vd])||0)-(Hd?jd.crossAxis:0);Id<Gd?Id=Gd:Id>Vd&&(Id=Vd)}return{[Ad]:Nd,[vd]:Id}}}},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:cd,elements:dd}=qa,{apply:pd=()=>{},...fd}=evaluate$1(Ra,qa),md=await detectOverflow(qa,fd),vd=getSide(ld),Ad=getAlignment(ld),Nd=getSideAxis(ld)==="y",{width:Id,height:kd}=ud.floating;let jd,Fd;vd==="top"||vd==="bottom"?(jd=vd,Fd=Ad===(await(cd.isRTL==null?void 0:cd.isRTL(dd.floating))?"start":"end")?"left":"right"):(Fd=vd,jd=Ad==="end"?"top":"bottom");const Md=kd-md.top-md.bottom,Ld=Id-md.left-md.right,Hd=min$1(kd-md[jd],Md),Gd=min$1(Id-md[Fd],Ld),Vd=!qa.middlewareData.shift;let Kd=Hd,mf=Gd;if((nd=qa.middlewareData.shift)!=null&&nd.enabled.x&&(mf=Ld),(od=qa.middlewareData.shift)!=null&&od.enabled.y&&(Kd=Md),Vd&&!Ad){const Zd=max$2(md.left,0),Xd=max$2(md.right,0),bf=max$2(md.top,0),yf=max$2(md.bottom,0);Nd?mf=Id-2*(Zd!==0||Xd!==0?Zd+Xd:max$2(md.left,md.right)):Kd=kd-2*(bf!==0||yf!==0?bf+yf:max$2(md.top,md.bottom))}await pd({...qa,availableWidth:mf,availableHeight:Kd});const Wd=await cd.getDimensions(dd.floating);return Id!==Wd.width||kd!==Wd.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$1(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$1(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$1(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),cd=getWindow(ld);if(ud){const dd=getFrameElement(cd);return qa.concat(cd,cd.visualViewport||[],isOverflowElement(ld)?ld:[],dd&&nd?getOverflowAncestors(dd):[])}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,cd=ld?Ra.offsetHeight:od,dd=round(nd)!==ud||round(od)!==cd;return dd&&(nd=ud,od=cd),{width:nd,height:od,$:dd}}function unwrapElement$1(Ra){return isElement$1(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 cd=(ud?round(nd.width):nd.width)/od,dd=(ud?round(nd.height):nd.height)/ld;return(!cd||!Number.isFinite(cd))&&(cd=1),(!dd||!Number.isFinite(dd))&&(dd=1),{x:cd,y:dd}}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 cd=createCoords(1);qa&&(od?isElement$1(od)&&(cd=getScale(od)):cd=getScale(Ra));const dd=shouldAddVisualOffsets(ud,nd,od)?getVisualOffsets(ud):createCoords(0);let pd=(ld.left+dd.x)/cd.x,fd=(ld.top+dd.y)/cd.y,md=ld.width/cd.x,vd=ld.height/cd.y;if(ud){const Ad=getWindow(ud),Nd=od&&isElement$1(od)?getWindow(od):od;let Id=Ad,kd=getFrameElement(Id);for(;kd&&od&&Nd!==Id;){const jd=getScale(kd),Fd=kd.getBoundingClientRect(),Md=getComputedStyle$1(kd),Ld=Fd.left+(kd.clientLeft+parseFloat(Md.paddingLeft))*jd.x,Hd=Fd.top+(kd.clientTop+parseFloat(Md.paddingTop))*jd.y;pd*=jd.x,fd*=jd.y,md*=jd.x,vd*=jd.y,pd+=Ld,fd+=Hd,Id=getWindow(kd),kd=getFrameElement(Id)}}return rectToClientRect({width:md,height:vd,x:pd,y:fd})}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",cd=getDocumentElement(od),dd=qa?isTopLayer(qa.floating):!1;if(od===cd||dd&&ud)return nd;let pd={scrollLeft:0,scrollTop:0},fd=createCoords(1);const md=createCoords(0),vd=isHTMLElement(od);if((vd||!vd&&!ud)&&((getNodeName(od)!=="body"||isOverflowElement(cd))&&(pd=getNodeScroll(od)),isHTMLElement(od))){const Nd=getBoundingClientRect(od);fd=getScale(od),md.x=Nd.x+od.clientLeft,md.y=Nd.y+od.clientTop}const Ad=cd&&!vd&&!ud?getHTMLOffset(cd,pd,!0):createCoords(0);return{width:nd.width*fd.x,height:nd.height*fd.y,x:nd.x*fd.x-pd.scrollLeft*fd.x+md.x+Ad.x,y:nd.y*fd.y-pd.scrollTop*fd.y+md.y+Ad.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 cd=-nd.scrollLeft+getWindowScrollBarX(Ra);const dd=-nd.scrollTop;return getComputedStyle$1(od).direction==="rtl"&&(cd+=max$2(qa.clientWidth,od.clientWidth)-ld),{width:ld,height:ud,x:cd,y:dd}}function getViewportRect(Ra,qa){const nd=getWindow(Ra),od=getDocumentElement(Ra),ld=nd.visualViewport;let ud=od.clientWidth,cd=od.clientHeight,dd=0,pd=0;if(ld){ud=ld.width,cd=ld.height;const fd=isWebKit();(!fd||fd&&qa==="fixed")&&(dd=ld.offsetLeft,pd=ld.offsetTop)}return{width:ud,height:cd,x:dd,y:pd}}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),cd=Ra.clientWidth*ud.x,dd=Ra.clientHeight*ud.y,pd=ld*ud.x,fd=od*ud.y;return{width:cd,height:dd,x:pd,y:fd}}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$1(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$1(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(dd=>isElement$1(dd)&&getNodeName(dd)!=="body"),ld=null;const ud=getComputedStyle$1(Ra).position==="fixed";let cd=ud?getParentNode(Ra):Ra;for(;isElement$1(cd)&&!isLastTraversableNode(cd);){const dd=getComputedStyle$1(cd),pd=isContainingBlock(cd);!pd&&dd.position==="fixed"&&(ld=null),(ud?!pd&&!ld:!pd&&dd.position==="static"&&!!ld&&["absolute","fixed"].includes(ld.position)||isOverflowElement(cd)&&!pd&&hasFixedPositionAncestor(Ra,cd))?od=od.filter(md=>md!==cd):ld=dd,cd=getParentNode(cd)}return qa.set(Ra,od),od}function getClippingRect(Ra){let{element:qa,boundary:nd,rootBoundary:od,strategy:ld}=Ra;const cd=[...nd==="clippingAncestors"?isTopLayer(qa)?[]:getClippingElementAncestors(qa,this._c):[].concat(nd),od],dd=cd[0],pd=cd.reduce((fd,md)=>{const vd=getClientRectFromClippingAncestor(qa,md,ld);return fd.top=max$2(vd.top,fd.top),fd.right=min$1(vd.right,fd.right),fd.bottom=min$1(vd.bottom,fd.bottom),fd.left=max$2(vd.left,fd.left),fd},getClientRectFromClippingAncestor(qa,dd,ld));return{width:pd.right-pd.left,height:pd.bottom-pd.top,x:pd.left,y:pd.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",cd=getBoundingClientRect(Ra,!0,ud,qa);let dd={scrollLeft:0,scrollTop:0};const pd=createCoords(0);if(od||!od&&!ud)if((getNodeName(qa)!=="body"||isOverflowElement(ld))&&(dd=getNodeScroll(qa)),od){const Ad=getBoundingClientRect(qa,!0,ud,qa);pd.x=Ad.x+qa.clientLeft,pd.y=Ad.y+qa.clientTop}else ld&&(pd.x=getWindowScrollBarX(ld));const fd=ld&&!od&&!ud?getHTMLOffset(ld,dd):createCoords(0),md=cd.left+dd.scrollLeft-pd.x-fd.x,vd=cd.top+dd.scrollTop-pd.y-fd.y;return{x:md,y:vd,width:cd.width,height:cd.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$1(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$1,isRTL};function observeMove(Ra,qa){let nd=null,od;const ld=getDocumentElement(Ra);function ud(){var dd;clearTimeout(od),(dd=nd)==null||dd.disconnect(),nd=null}function cd(dd,pd){dd===void 0&&(dd=!1),pd===void 0&&(pd=1),ud();const{left:fd,top:md,width:vd,height:Ad}=Ra.getBoundingClientRect();if(dd||qa(),!vd||!Ad)return;const Nd=floor(md),Id=floor(ld.clientWidth-(fd+vd)),kd=floor(ld.clientHeight-(md+Ad)),jd=floor(fd),Md={rootMargin:-Nd+"px "+-Id+"px "+-kd+"px "+-jd+"px",threshold:max$2(0,min$1(1,pd))||1};let Ld=!0;function Hd(Gd){const Vd=Gd[0].intersectionRatio;if(Vd!==pd){if(!Ld)return cd();Vd?cd(!1,Vd):od=setTimeout(()=>{cd(!1,1e-7)},1e3)}Ld=!1}try{nd=new IntersectionObserver(Hd,{...Md,root:ld.ownerDocument})}catch{nd=new IntersectionObserver(Hd,Md)}nd.observe(Ra)}return cd(!0),ud}function autoUpdate(Ra,qa,nd,od){od===void 0&&(od={});const{ancestorScroll:ld=!0,ancestorResize:ud=!0,elementResize:cd=typeof ResizeObserver=="function",layoutShift:dd=typeof IntersectionObserver=="function",animationFrame:pd=!1}=od,fd=unwrapElement$1(Ra),md=ld||ud?[...fd?getOverflowAncestors(fd):[],...getOverflowAncestors(qa)]:[];md.forEach(Fd=>{ld&&Fd.addEventListener("scroll",nd,{passive:!0}),ud&&Fd.addEventListener("resize",nd)});const vd=fd&&dd?observeMove(fd,nd):null;let Ad=-1,Nd=null;cd&&(Nd=new ResizeObserver(Fd=>{let[Md]=Fd;Md&&Md.target===fd&&Nd&&(Nd.unobserve(qa),cancelAnimationFrame(Ad),Ad=requestAnimationFrame(()=>{var Ld;(Ld=Nd)==null||Ld.observe(qa)})),nd()}),fd&&!pd&&Nd.observe(fd),Nd.observe(qa));let Id,kd=pd?getBoundingClientRect(Ra):null;pd&&jd();function jd(){const Fd=getBoundingClientRect(Ra);kd&&(Fd.x!==kd.x||Fd.y!==kd.y||Fd.width!==kd.width||Fd.height!==kd.height)&&nd(),kd=Fd,Id=requestAnimationFrame(jd)}return nd(),()=>{var Fd;md.forEach(Md=>{ld&&Md.removeEventListener("scroll",nd),ud&&Md.removeEventListener("resize",nd)}),vd==null||vd(),(Fd=Nd)==null||Fd.disconnect(),Nd=null,pd&&cancelAnimationFrame(Id)}}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 Kd;return(Kd=toValue$2(nd.open))!=null?Kd:!0}),ud=computed(()=>toValue$2(nd.middleware)),cd=computed(()=>{var Kd;return(Kd=toValue$2(nd.placement))!=null?Kd:"bottom"}),dd=computed(()=>{var Kd;return(Kd=toValue$2(nd.strategy))!=null?Kd:"absolute"}),pd=computed(()=>{var Kd;return(Kd=toValue$2(nd.transform))!=null?Kd:!0}),fd=computed(()=>unwrapElement(Ra.value)),md=computed(()=>unwrapElement(qa.value)),vd=ref$1(0),Ad=ref$1(0),Nd=ref$1(dd.value),Id=ref$1(cd.value),kd=shallowRef({}),jd=ref$1(!1),Fd=computed(()=>{const Kd={position:Nd.value,left:"0",top:"0"};if(!md.value)return Kd;const mf=roundByDPR(md.value,vd.value),Wd=roundByDPR(md.value,Ad.value);return pd.value?{...Kd,transform:"translate("+mf+"px, "+Wd+"px)",...getDPR(md.value)>=1.5&&{willChange:"transform"}}:{position:Nd.value,left:mf+"px",top:Wd+"px"}});let Md;function Ld(){if(fd.value==null||md.value==null)return;const Kd=ld.value;computePosition(fd.value,md.value,{middleware:ud.value,placement:cd.value,strategy:dd.value}).then(mf=>{vd.value=mf.x,Ad.value=mf.y,Nd.value=mf.strategy,Id.value=mf.placement,kd.value=mf.middlewareData,jd.value=Kd!==!1})}function Hd(){typeof Md=="function"&&(Md(),Md=void 0)}function Gd(){if(Hd(),od===void 0){Ld();return}if(fd.value!=null&&md.value!=null){Md=od(fd.value,md.value,Ld);return}}function Vd(){ld.value||(jd.value=!1)}return watch([ud,cd,dd,ld],Ld,{flush:"sync"}),watch([fd,md],Gd,{flush:"sync"}),watch(ld,Vd,{flush:"sync"}),getCurrentScope()&&onScopeDispose(Hd),{x:shallowReadonly(vd),y:shallowReadonly(Ad),strategy:shallowReadonly(Nd),placement:shallowReadonly(Id),middlewareData:shallowReadonly(kd),isPositioned:shallowReadonly(jd),floatingStyles:Fd,update:Ld}}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:cd}=this.resolvedOptions();if(!ld)return nd;let dd=(od=$488c6ddbf4ef74c2$var$UNITS[ld])===null||od===void 0?void 0:od[ud];nd+=dd[cd]||dd.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:cd,unitDisplay:dd="short"}=qa;if(!cd)throw new Error('unit option must be provided with style: "unit"');if(!(!((od=$488c6ddbf4ef74c2$var$UNITS[cd])===null||od===void 0)&&od[dd]))throw new Error(`Unsupported unit ${cd} with unitDisplay = ${dd}`);qa={...qa,style:"decimal"}}let ld=Ra+(qa?Object.entries(qa).sort((cd,dd)=>cd[0]<dd[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),cd=ld.replace(ud,"").replace(/\u200e|\u061C/,"");return[...cd].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),ld.replace(ud,"!!!").replace(cd,"+").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 cd=nd.indexOf("-");nd=nd.replace("-","");let dd=nd.indexOf(".");dd===-1&&(dd=nd.length),nd=nd.replace(".",""),dd-2===0?nd=`0.${nd}`:dd-2===-1?nd=`0.0${nd}`:dd-2===-2?nd="0.00":nd=`${nd.slice(0,dd-2)}.${nd.slice(dd-2)}`,cd>-1&&(nd=`-${nd}`)}let od=nd?+nd:NaN;if(isNaN(od))return NaN;if(this.options.style==="percent"){var ld,ud;let cd={...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,cd).parse(new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(this.locale,cd).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,cd,dd;let pd=new Intl.NumberFormat(Ra,{...nd,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),fd=pd.formatToParts(-10000.111),md=pd.formatToParts(10000.111),vd=$6c7bd7858deea686$var$pluralNumbers.map(Zd=>pd.formatToParts(Zd));var Ad;let Nd=(Ad=(ld=fd.find(Zd=>Zd.type==="minusSign"))===null||ld===void 0?void 0:ld.value)!==null&&Ad!==void 0?Ad:"-",Id=(ud=md.find(Zd=>Zd.type==="plusSign"))===null||ud===void 0?void 0:ud.value;!Id&&((od==null?void 0:od.signDisplay)==="exceptZero"||(od==null?void 0:od.signDisplay)==="always")&&(Id="+");let jd=(cd=new Intl.NumberFormat(Ra,{...nd,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(Zd=>Zd.type==="decimal"))===null||cd===void 0?void 0:cd.value,Fd=(dd=fd.find(Zd=>Zd.type==="group"))===null||dd===void 0?void 0:dd.value,Md=fd.filter(Zd=>!$6c7bd7858deea686$var$nonLiteralParts.has(Zd.type)).map(Zd=>$6c7bd7858deea686$var$escapeRegex(Zd.value)),Ld=vd.flatMap(Zd=>Zd.filter(Xd=>!$6c7bd7858deea686$var$nonLiteralParts.has(Xd.type)).map(Xd=>$6c7bd7858deea686$var$escapeRegex(Xd.value))),Hd=[...new Set([...Md,...Ld])].sort((Zd,Xd)=>Xd.length-Zd.length),Gd=Hd.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${Hd.join("|")}|[\\p{White_Space}]`,"gu"),Vd=[...new Intl.NumberFormat(nd.locale,{useGrouping:!1}).format(9876543210)].reverse(),Kd=new Map(Vd.map((Zd,Xd)=>[Zd,Xd])),mf=new RegExp(`[${Vd.join("")}]`,"g");return{minusSign:Nd,plusSign:Id,decimal:jd,group:Fd,literals:Gd,numeral:mf,index:Zd=>String(Kd.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$6(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 cd=10**ud;nd=Math.round(nd*cd)/cd}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$4=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$4(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 cd=()=>setTimeout(()=>{ld=Ke$4(Ra),od()},Ke$4(qa));return ht$4(()=>{clearTimeout(ud)}),{get(){return nd(),ld},set(dd){ld=dd,od(),clearTimeout(ud),ud=cd()}}})}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:cd,resume:dd,isActive:pd}=ii$4(od);return{stop:ui$4(Ra,qa,{...ld,eventFilter:ud}),pause:cd,resume:dd,isActive:pd}}function di$4(Ra,qa,...[nd]){const{flush:od="sync",deep:ld=!1,immediate:ud=!0,direction:cd="both",transform:dd={}}=nd||{},pd=[],fd="ltr"in dd&&dd.ltr||(vd=>vd),md="rtl"in dd&&dd.rtl||(vd=>vd);return(cd==="both"||cd==="ltr")&&pd.push(Ko$2(Ra,vd=>{pd.forEach(Ad=>Ad.pause()),qa.value=fd(vd),pd.forEach(Ad=>Ad.resume())},{flush:od,deep:ld,immediate:ud})),(cd==="both"||cd==="rtl")&&pd.push(Ko$2(qa,vd=>{pd.forEach(Ad=>Ad.pause()),Ra.value=md(vd),pd.forEach(Ad=>Ad.resume())},{flush:od,deep:ld,immediate:ud})),()=>{pd.forEach(vd=>vd.stop())}}function ci$4(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=[],cd=()=>{ud.forEach(md=>md()),ud.length=0},dd=(md,vd,Ad,Nd)=>(md.addEventListener(vd,Ad,Nd),()=>md.removeEventListener(vd,Ad,Nd)),pd=watch(()=>[$e$4(qa),Ke$4(ld)],([md,vd])=>{if(cd(),!md)return;const Ad=li$4(vd)?{...vd}:vd;ud.push(...nd.flatMap(Nd=>od.map(Id=>dd(md,Nd,Id,Ad))))},{immediate:!0,flush:"post"}),fd=()=>{pd(),cd()};return ht$4(fd),fd}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:cd=!1,dedupe:dd=!1}=od,pd=mi$2(qa);return Le$6(ld,ud,fd=>{fd.repeat&&Ke$4(dd)||pd(fd)&&nd(fd)},cd)}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,cd;const{clone:dd=!1,passive:pd=!1,eventName:fd,deep:md=!1,defaultValue:vd,shouldEmit:Ad}=od,Nd=getCurrentInstance(),Id=nd||(Nd==null?void 0:Nd.emit)||((ld=Nd==null?void 0:Nd.$emit)==null?void 0:ld.bind(Nd))||((cd=(ud=Nd==null?void 0:Nd.proxy)==null?void 0:ud.$emit)==null?void 0:cd.bind(Nd==null?void 0:Nd.proxy));let kd=fd;qa||(qa="modelValue"),kd=kd||`update:${qa.toString()}`;const jd=Ld=>dd?typeof dd=="function"?dd(Ld):yi$3(Ld):Ld,Fd=()=>ai$4(Ra[qa])?jd(Ra[qa]):vd,Md=Ld=>{Ad?Ad(Ld)&&Id(kd,Ld):Id(kd,Ld)};if(pd){const Ld=Fd(),Hd=ref$1(Ld);let Gd=!1;return watch(()=>Ra[qa],Vd=>{Gd||(Gd=!0,Hd.value=jd(Vd),nextTick$1(()=>Gd=!1))}),watch(Hd,Vd=>{!Gd&&(Vd!==Ra[qa]||md)&&Md(Vd)},{deep:md}),Hd}else return computed({get(){return Fd()},set(Ld){Md(Ld)}})}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:cd=[],loop:dd=!0,dir:pd="ltr",preventScroll:fd=!0,focus:md=!1}=od,[vd,Ad,Nd,Id,kd,jd]=[Ra.key==="ArrowRight",Ra.key==="ArrowLeft",Ra.key==="ArrowUp",Ra.key==="ArrowDown",Ra.key==="Home",Ra.key==="End"],Fd=Nd||Id,Md=vd||Ad;if(!kd&&!jd&&(!Fd&&!Md||ld==="vertical"&&Md||ld==="horizontal"&&Fd))return null;const Ld=nd?Array.from(nd.querySelectorAll(ud)):cd;if(!Ld.length)return null;fd&&Ra.preventDefault();let Hd=null;return Md||Fd?Hd=Rl$3(Ld,qa,{goForward:Fd?Id:pd==="ltr"?vd:Ad,loop:dd}):kd?Hd=Ld.at(0)||null:jd&&(Hd=Ld.at(-1)||null),md&&(Hd==null||Hd.focus()),Hd}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 cd=(ud+Ra.length)%Ra.length,dd=Ra[cd];return dd?dd.hasAttribute("disabled")&&dd.getAttribute("disabled")!=="false"?Rl$3(Ra,dd,nd,od):dd: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 cd=Ra[ud];cd!=null&&(Array.isArray(cd)&&Array.isArray(ld[ud])?ld[ud]=[...cd,...ld[ud]]:gn$4(cd)&&gn$4(ld[ud])?ld[ud]=Pn$4(cd,ld[ud],(nd?`${nd}.`:"")+ud.toString()):ld[ud]=cd)}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$6("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 cd of Ra.value.values())if(cd)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,(cd,dd)=>{var pd;if(!qe$3)return;if(!cd){dd&&ud();return}qa.value===void 0&&(qa.value=document.body.style.overflow);const fd=window.innerWidth-document.documentElement.clientWidth,md={padding:fd,margin:0},vd=(pd=od.scrollBody)!=null&&pd.value?typeof od.scrollBody.value=="object"?_i$2({padding:od.scrollBody.value.padding===!0?fd:od.scrollBody.value.padding,margin:od.scrollBody.value.margin===!0?fd:od.scrollBody.value.margin},md):md:{padding:0,margin:0};fd>0&&(document.body.style.paddingRight=typeof vd.padding=="number"?`${vd.padding}px`:String(vd.padding),document.body.style.marginRight=typeof vd.margin=="number"?`${vd.margin}px`:String(vd.margin),document.body.style.setProperty("--scrollbar-width",`${fd}px`),document.body.style.overflow="hidden"),zo$1&&(ld=Le$6(document,"touchmove",Ad=>Di$3(Ad),{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$4(()=>{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 cd=$e$4(od);return cd?ld.value=Array.from(cd.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$8(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$3=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$3++,Ra(()=>{bn$3===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(nd=>nd.remove()),bn$3--})})}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 cd=(qa==null?void 0:qa.type.props[ud]).default;return cd!==void 0&&(ld[ud]=cd),ld},{}),od=toRef$1(Ra);return computed(()=>{const ld={},ud=(qa==null?void 0:qa.vnode.props)??{};return Object.keys(ud).forEach(cd=>{ld[camelize(cd)]=ud[cd]}),Object.keys({...nd,...ld}).reduce((cd,dd)=>(od.value[dd]!==void 0&&(cd[dd]=od.value[dd]),cd),{})})}function xe$5(Ra,qa){const nd=It$4(Ra),od=qa?Ae$6(qa):{};return computed(()=>({...nd.value,...od}))}function R$6(){const Ra=getCurrentInstance(),qa=ref$1(),nd=computed(()=>{var cd,dd;return["#text","#comment"].includes((cd=qa.value)==null?void 0:cd.$el.nodeName)?(dd=qa.value)==null?void 0:dd.$el.nextElementSibling:$e$4(qa)}),od=Object.assign({},Ra.exposed),ld={};for(const cd in Ra.props)Object.defineProperty(ld,cd,{enumerable:!0,configurable:!0,get:()=>Ra.props[cd]});if(Object.keys(od).length>0)for(const cd in od)Object.defineProperty(ld,cd,{enumerable:!0,configurable:!0,get:()=>od[cd]});Object.defineProperty(ld,"$el",{enumerable:!0,configurable:!0,get:()=>Ra.vnode.el}),Ra.exposed=ld;function ud(cd){qa.value=cd,!(cd instanceof Element||!cd)&&(Object.defineProperty(ld,"$el",{enumerable:!0,configurable:!0,get:()=>cd.$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 cd(dd,pd){const fd=dd.currentTarget,md={x:dd.clientX,y:dd.clientY},vd=Bi$2(md,fd.getBoundingClientRect()),Ad=Ii$1(md,vd),Nd=Ti$2(pd.getBoundingClientRect()),Id=Ai$2([...Ad,...Nd]);od.value=Id,nd.value=!0}return watchEffect(dd=>{if(Ra.value&&qa.value){const pd=md=>cd(md,qa.value),fd=md=>cd(md,Ra.value);Ra.value.addEventListener("pointerleave",pd),qa.value.addEventListener("pointerleave",fd),dd(()=>{var md,vd;(md=Ra.value)==null||md.removeEventListener("pointerleave",pd),(vd=qa.value)==null||vd.removeEventListener("pointerleave",fd)})}}),watchEffect(dd=>{var pd;if(od.value){const fd=md=>{var vd,Ad;if(!od.value)return;const Nd=md.target,Id={x:md.clientX,y:md.clientY},kd=((vd=Ra.value)==null?void 0:vd.contains(Nd))||((Ad=qa.value)==null?void 0:Ad.contains(Nd)),jd=!Ri$1(Id,od.value),Fd=Nd.hasAttribute("data-grace-area-trigger");kd?ud():(jd||Fd)&&(ud(),ld.trigger())};(pd=Ra.value)==null||pd.ownerDocument.addEventListener("pointermove",fd),dd(()=>{var md;return(md=Ra.value)==null?void 0:md.ownerDocument.removeEventListener("pointermove",fd)})}}),{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,cd=qa.length-1;ud<qa.length;cd=ud++){const dd=qa[ud].x,pd=qa[ud].y,fd=qa[cd].x,md=qa[cd].y;pd>od!=md>od&&nd<(fd-dd)*(od-pd)/(md-pd)+dd&&(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],cd=qa[qa.length-2];if((ud.x-cd.x)*(ld.y-cd.y)>=(ud.y-cd.y)*(ld.x-cd.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],cd=nd[nd.length-2];if((ud.x-cd.x)*(ld.y-cd.y)>=(ud.y-cd.y)*(ld.x-cd.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],cd=[],dd=new Set,pd=new Set(ld),fd=function(vd){!vd||dd.has(vd)||(dd.add(vd),fd(vd.parentNode))};ld.forEach(fd);var md=function(vd){!vd||pd.has(vd)||Array.prototype.forEach.call(vd.children,function(Ad){if(dd.has(Ad))md(Ad);else try{var Nd=Ad.getAttribute(od),Id=Nd!==null&&Nd!=="false",kd=(Nt$5.get(Ad)||0)+1,jd=(ud.get(Ad)||0)+1;Nt$5.set(Ad,kd),ud.set(Ad,jd),cd.push(Ad),kd===1&&Id&&Pa$2.set(Ad,!0),jd===1&&Ad.setAttribute(nd,"true"),Id||Ad.setAttribute(od,"true")}catch(Fd){console.error("aria-hidden: cannot operate on ",Ad,Fd)}})};return md(qa),dd.clear(),Cn$3++,function(){cd.forEach(function(vd){var Ad=Nt$5.get(vd)-1,Nd=ud.get(vd)-1;Nt$5.set(vd,Ad),ud.set(vd,Nd),Ad||(Pa$2.has(vd)||vd.removeAttribute(od),Pa$2.delete(vd)),Nd||vd.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(cd=>{if(!Array.isArray(cd)||!cd.length)return;const dd=cd[0];let pd,fd;if("borderBoxSize"in dd){const md=dd.borderBoxSize,vd=Array.isArray(md)?md[0]:md;pd=vd.inlineSize,fd=vd.blockSize}else pd=ld.offsetWidth,fd=ld.offsetHeight;qa.value={width:pd,height:fd}});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 cd=(Ra==null?void 0:Ra.value)??od,dd=document.activeElement,pd=((ud=(ld=cd.find(Ad=>Ad===dd))==null?void 0:ld.textContent)==null?void 0:ud.trim())??"",fd=cd.map(Ad=>{var Nd;return((Nd=Ad.textContent)==null?void 0:Nd.trim())??""}),md=Yn$3(fd,qa.value,pd),vd=cd.find(Ad=>{var Nd;return((Nd=Ad.textContent)==null?void 0:Nd.trim())===md});return vd&&vd.focus(),vd},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(dd=>dd===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(dd=>dd!==nd));const cd=ud.find(dd=>dd.toLowerCase().startsWith(od.toLowerCase()));return cd!==nd?cd: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()),cd=ud.findIndex(md=>md.type!==Comment$2);if(cd===-1)return ud;const dd=ud[cd];(od=dd.props)==null||delete od.ref;const pd=dd.props?mergeProps(qa,dd.props):qa;qa.class&&(ld=dd.props)!=null&&ld.class&&delete dd.props.class;const fd=cloneVNode(dd,pd);for(const md in pd)md.startsWith("on")&&(fd.props||(fd.props={}),fd.props[md]=pd[md]);return ud.length===1?fd:(ud[cd]=fd,ud)}}}),O$3=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$1(od,qa):od!=="template"?()=>h$1(Ra.as,qa,{default:nd.default}):()=>h$1(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:cd}=Vl$3(ld,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),dd=Ad=>{var Nd;if(qe$3){const Id=new CustomEvent(Ad,{bubbles:!1,cancelable:!1});(Nd=qa.value)==null||Nd.dispatchEvent(Id)}};watch(Ra,async(Ad,Nd)=>{var Id;const kd=Nd!==Ad;if(await nextTick$1(),kd){const jd=od.value,Fd=$a$2(qa.value);Ad?(cd("MOUNT"),dd("enter"),Fd==="none"&&dd("after-enter")):Fd==="none"||((Id=nd.value)==null?void 0:Id.display)==="none"?(cd("UNMOUNT"),dd("leave"),dd("after-leave")):Nd&&jd!==Fd?(cd("ANIMATION_OUT"),dd("leave")):(cd("UNMOUNT"),dd("after-leave"))}},{immediate:!0});const pd=Ad=>{const Nd=$a$2(qa.value),Id=Nd.includes(Ad.animationName),kd=ud.value==="mounted"?"enter":"leave";Ad.target===qa.value&&Id&&(dd(`after-${kd}`),cd("ANIMATION_END")),Ad.target===qa.value&&Nd==="none"&&cd("ANIMATION_END")},fd=Ad=>{Ad.target===qa.value&&(od.value=$a$2(qa.value))},md=watch(qa,(Ad,Nd)=>{Ad?(nd.value=getComputedStyle(Ad),Ad.addEventListener("animationstart",fd),Ad.addEventListener("animationcancel",pd),Ad.addEventListener("animationend",pd)):(cd("ANIMATION_END"),Nd==null||Nd.removeEventListener("animationstart",fd),Nd==null||Nd.removeEventListener("animationcancel",pd),Nd==null||Nd.removeEventListener("animationend",pd))},{immediate:!0}),vd=watch(ud,()=>{const Ad=$a$2(qa.value);od.value=ud.value==="mounted"?Ad:"none"});return onUnmounted(()=>{md(),vd()}),{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),cd=ref$1(),{isPresent:dd}=Wi$2(ld,cd);nd({present:dd});let pd=qa.default({present:dd});pd=Ua$3(pd||[]);const fd=getCurrentInstance();if(pd&&(pd==null?void 0:pd.length)>1){const md=(od=fd==null?void 0:fd.parent)!=null&&od.type.name?`<${fd.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${md}\` 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(vd=>` - ${vd}`).join(`
|
||
`)].join(`
|
||
`))}return()=>ud.value||ld.value||dd.value?h$1(qa.default({present:dd})[0],{ref:md=>{const vd=$e$4(md);return typeof(vd==null?void 0:vd.hasAttribute)>"u"||(vd!=null&&vd.hasAttribute("data-radix-popper-content-wrapper")?cd.value=vd.firstElementChild:cd.value=vd),vd}}):null}}),[et$5,Xi$1]=Q$6("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:cd}=toRefs(nd);return Xi$1({open:od,modal:cd,openModal:()=>{od.value=!0},onOpenChange:dd=>{od.value=dd},onOpenToggle:()=>{od.value=!od.value},contentId:"",titleId:"",descriptionId:"",triggerElement:ld,contentElement:ud}),(dd,pd)=>renderSlot(dd.$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$6();return nd.contentId||(nd.contentId=he$4(void 0,"radix-vue-dialog-content")),onMounted(()=>{nd.triggerElement.value=ld.value}),(ud,cd)=>(openBlock(),createBlock(unref(O$3),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(cd=>{if(!qe$3)return;const dd=async fd=>{const md=fd.target;if(qa!=null&&qa.value){if(zl$3(qa.value,md)){ld.value=!1;return}if(fd.target&&!ld.value){let vd=function(){Ht$4(Qi$1,Ra,Ad)};const Ad={originalEvent:fd};fd.pointerType==="touch"?(od.removeEventListener("click",ud.value),ud.value=vd,od.addEventListener("click",ud.value,{once:!0})):vd()}else od.removeEventListener("click",ud.value);ld.value=!1}},pd=window.setTimeout(()=>{od.addEventListener("pointerdown",dd)},0);cd(()=>{window.clearTimeout(pd),od.removeEventListener("pointerdown",dd),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 cd=async dd=>{qa!=null&&qa.value&&(await nextTick$1(),!(!qa.value||zl$3(qa.value,dd.target))&&dd.target&&!ld.value&&Ht$4(eu$2,Ra,{originalEvent:dd}))};od.addEventListener("focusin",cd),ud(()=>od.removeEventListener("focusin",cd))}),{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$6(),cd=computed(()=>{var Id;return((Id=ud.value)==null?void 0:Id.ownerDocument)??globalThis.document}),dd=computed(()=>je$7.layersRoot),pd=computed(()=>ud.value?Array.from(dd.value).indexOf(ud.value):-1),fd=computed(()=>je$7.layersWithOutsidePointerEventsDisabled.size>0),md=computed(()=>{const Id=Array.from(dd.value),[kd]=[...je$7.layersWithOutsidePointerEventsDisabled].slice(-1),jd=Id.indexOf(kd);return pd.value>=jd}),vd=Kl$3(async Id=>{const kd=[...je$7.branches].some(jd=>jd==null?void 0:jd.contains(Id.target));!md.value||kd||(od("pointerDownOutside",Id),od("interactOutside",Id),await nextTick$1(),Id.defaultPrevented||od("dismiss"))},ud),Ad=Hl$3(Id=>{[...je$7.branches].some(kd=>kd==null?void 0:kd.contains(Id.target))||(od("focusOutside",Id),od("interactOutside",Id),Id.defaultPrevented||od("dismiss"))},ud);jn$3("Escape",Id=>{pd.value===dd.value.size-1&&(od("escapeKeyDown",Id),Id.defaultPrevented||od("dismiss"))});let Nd;return watchEffect(Id=>{ud.value&&(nd.disableOutsidePointerEvents&&(je$7.layersWithOutsidePointerEventsDisabled.size===0&&(Nd=cd.value.body.style.pointerEvents,cd.value.body.style.pointerEvents="none"),je$7.layersWithOutsidePointerEventsDisabled.add(ud.value)),dd.value.add(ud.value),Id(()=>{nd.disableOutsidePointerEvents&&je$7.layersWithOutsidePointerEventsDisabled.size===1&&(cd.value.body.style.pointerEvents=Nd)}))}),watchEffect(Id=>{Id(()=>{ud.value&&(dd.value.delete(ud.value),je$7.layersWithOutsidePointerEventsDisabled.delete(ud.value))})}),(Id,kd)=>(openBlock(),createBlock(unref(O$3),{ref:unref(ld),"as-child":Id.asChild,as:Id.as,"data-dismissable-layer":"",style:normalizeStyle({pointerEvents:fd.value?md.value?"auto":"none":void 0}),onFocusCapture:unref(Ad).onFocusCapture,onBlurCapture:unref(Ad).onBlurCapture,onPointerdownCapture:unref(vd).onPointerDownCapture},{default:withCtx(()=>[renderSlot(Id.$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$3(od,{select:qa}),document.activeElement!==nd)return!0}function au$3(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$3(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$6(),cd=ref$1(null),dd=su$3(),pd=reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});watchEffect(md=>{if(!qe$3)return;const vd=ud.value;if(!nd.trapped)return;function Ad(jd){if(pd.paused||!vd)return;const Fd=jd.target;vd.contains(Fd)?cd.value=Fd:ct$3(cd.value,{select:!0})}function Nd(jd){if(pd.paused||!vd)return;const Fd=jd.relatedTarget;Fd!==null&&(vd.contains(Fd)||ct$3(cd.value,{select:!0}))}function Id(jd){vd.contains(cd.value)||ct$3(vd)}document.addEventListener("focusin",Ad),document.addEventListener("focusout",Nd);const kd=new MutationObserver(Id);vd&&kd.observe(vd,{childList:!0,subtree:!0}),md(()=>{document.removeEventListener("focusin",Ad),document.removeEventListener("focusout",Nd),kd.disconnect()})}),watchEffect(async md=>{const vd=ud.value;if(await nextTick$1(),!vd)return;dd.add(pd);const Ad=document.activeElement;if(!vd.contains(Ad)){const Nd=new CustomEvent(wn$3,Wo$2);vd.addEventListener(wn$3,Id=>od("mountAutoFocus",Id)),vd.dispatchEvent(Nd),Nd.defaultPrevented||(Oa$3(ru$3(Jn$4(vd)),{select:!0}),document.activeElement===Ad&&ct$3(vd))}md(()=>{vd.removeEventListener(wn$3,kd=>od("mountAutoFocus",kd));const Nd=new CustomEvent(_n$3,Wo$2),Id=kd=>{od("unmountAutoFocus",kd)};vd.addEventListener(_n$3,Id),vd.dispatchEvent(Nd),setTimeout(()=>{Nd.defaultPrevented||ct$3(Ad??document.body,{select:!0}),vd.removeEventListener(_n$3,Id),dd.remove(pd)},0)})});function fd(md){if(!nd.loop&&!nd.trapped||pd.paused)return;const vd=md.key==="Tab"&&!md.altKey&&!md.ctrlKey&&!md.metaKey,Ad=document.activeElement;if(vd&&Ad){const Nd=md.currentTarget,[Id,kd]=au$3(Nd);Id&&kd?!md.shiftKey&&Ad===kd?(md.preventDefault(),nd.loop&&ct$3(Id,{select:!0})):md.shiftKey&&Ad===Id&&(md.preventDefault(),nd.loop&&ct$3(kd,{select:!0})):Ad===Nd&&md.preventDefault()}}return(md,vd)=>(openBlock(),createBlock(unref(O$3),{ref_key:"currentRef",ref:ld,tabindex:"-1","as-child":md.asChild,as:md.as,onKeydown:fd},{default:withCtx(()=>[renderSlot(md.$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$3={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,cd=qa.length-1;ud<qa.length;cd=ud++){const dd=qa[ud].x,pd=qa[ud].y,fd=qa[cd].x,md=qa[cd].y;pd>od!=md>od&&nd<(fd-dd)*(od-pd)/(md-pd)+dd&&(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:cd}=R$6();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=cd,document.activeElement!==document.body&&(ld.triggerElement.value=document.activeElement)}),(dd,pd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",loop:"",trapped:nd.trapFocus,onMountAutoFocus:pd[5]||(pd[5]=fd=>od("openAutoFocus",fd)),onUnmountAutoFocus:pd[6]||(pd[6]=fd=>od("closeAutoFocus",fd))},{default:withCtx(()=>[createVNode(unref(yt$3),mergeProps({id:unref(ld).contentId,ref:unref(ud),as:dd.as,"as-child":dd.asChild,"disable-outside-pointer-events":dd.disableOutsidePointerEvents,role:"dialog","aria-describedby":unref(ld).descriptionId,"aria-labelledby":unref(ld).titleId,"data-state":unref(Qn$4)(unref(ld).open.value)},dd.$attrs,{onDismiss:pd[0]||(pd[0]=fd=>unref(ld).onOpenChange(!1)),onEscapeKeyDown:pd[1]||(pd[1]=fd=>od("escapeKeyDown",fd)),onFocusOutside:pd[2]||(pd[2]=fd=>od("focusOutside",fd)),onInteractOutside:pd[3]||(pd[3]=fd=>od("interactOutside",fd)),onPointerDownOutside:pd[4]||(pd[4]=fd=>od("pointerDownOutside",fd))}),{default:withCtx(()=>[renderSlot(dd.$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:cd,currentElement:dd}=R$6();return ya$1(dd),(pd,fd)=>(openBlock(),createBlock(jl$3,mergeProps({...nd,...unref(ud)},{ref:unref(cd),"trap-focus":unref(ld).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:fd[0]||(fd[0]=md=>{var vd;md.defaultPrevented||(md.preventDefault(),(vd=unref(ld).triggerElement.value)==null||vd.focus())}),onPointerDownOutside:fd[1]||(fd[1]=md=>{const vd=md.detail.originalEvent,Ad=vd.button===0&&vd.ctrlKey===!0;(vd.button===2||Ad)&&md.preventDefault()}),onFocusOutside:fd[2]||(fd[2]=md=>{md.preventDefault()})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["trap-focus"]))}}),bu$2=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$6();const ld=et$5(),ud=ref$1(!1),cd=ref$1(!1);return(dd,pd)=>(openBlock(),createBlock(jl$3,mergeProps({...nd,...unref(od)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:pd[0]||(pd[0]=fd=>{var md;fd.defaultPrevented||(ud.value||(md=unref(ld).triggerElement.value)==null||md.focus(),fd.preventDefault()),ud.value=!1,cd.value=!1}),onInteractOutside:pd[1]||(pd[1]=fd=>{var md;fd.defaultPrevented||(ud.value=!0,fd.detail.originalEvent.type==="pointerdown"&&(cd.value=!0));const vd=fd.target;(md=unref(ld).triggerElement.value)!=null&&md.contains(vd)&&fd.preventDefault(),fd.detail.originalEvent.type==="focusin"&&cd.value&&fd.preventDefault()})}),{default:withCtx(()=>[renderSlot(dd.$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:cd}=R$6();return(dd,pd)=>(openBlock(),createBlock(unref(Pe$7),{present:dd.forceMount||unref(ld).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(gu$2,mergeProps({key:0,ref:unref(cd)},{...nd,...unref(ud),...dd.$attrs}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16)):(openBlock(),createBlock(bu$2,mergeProps({key:1,ref:unref(cd)},{...nd,...unref(ud),...dd.$attrs}),{default:withCtx(()=>[renderSlot(dd.$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$6(),(nd,od)=>(openBlock(),createBlock(unref(O$3),{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$6();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$6();const nd=et$5();return(od,ld)=>(openBlock(),createBlock(unref(O$3),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$6(),(od,ld)=>(openBlock(),createBlock(unref(O$3),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$6();const nd=et$5();return(od,ld)=>(openBlock(),createBlock(unref(O$3),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$6(),(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$6("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$6();const ld=ref$1();return Pu$2({onCancelElementChange:ud=>{ld.value=ud}}),(ud,cd)=>(openBlock(),createBlock(unref(Cu$3),mergeProps({...nd,...unref(od)},{role:"alertdialog",onPointerDownOutside:cd[0]||(cd[0]=withModifiers(()=>{},["prevent"])),onInteractOutside:cd[1]||(cd[1]=withModifiers(()=>{},["prevent"])),onOpenAutoFocus:cd[2]||(cd[2]=()=>{nextTick$1(()=>{var dd;(dd=ld.value)==null||dd.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$6(),(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$6();return onMounted(()=>{nd.onCancelElementChange(ld.value)}),(ud,cd)=>(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$6(),(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$6(),(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$6(),(nd,od)=>(openBlock(),createBlock(unref(Ul$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[Xl$3,Ju$3]=Q$6("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$6(),ld=Xl$3();return watchEffect(()=>{ld.onAnchorChange(qa.element??od.value)}),(ud,cd)=>(openBlock(),createBlock(unref(O$3),{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:cd,middlewareData:dd}=qa,pd=((nd=dd.arrow)==null?void 0:nd.centerOffset)!==0,fd=pd?0:Ra.arrowWidth,md=pd?0:Ra.arrowHeight,[vd,Ad]=Bn$3(ud),Nd={start:"0%",center:"50%",end:"100%"}[Ad],Id=(((od=dd.arrow)==null?void 0:od.x)??0)+fd/2,kd=(((ld=dd.arrow)==null?void 0:ld.y)??0)+md/2;let jd="",Fd="";return vd==="bottom"?(jd=pd?Nd:`${Id}px`,Fd=`${-md}px`):vd==="top"?(jd=pd?Nd:`${Id}px`,Fd=`${cd.floating.height+md}px`):vd==="right"?(jd=`${-md}px`,Fd=pd?Nd:`${kd}px`):vd==="left"&&(jd=`${cd.floating.width+md}px`,Fd=pd?Nd:`${kd}px`),{data:{x:jd,y:Fd}}}}}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]=Q$6("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:cd}=R$6(),dd=ref$1(),pd=ref$1(),{width:fd,height:md}=Ml$3(pd),vd=computed(()=>nd.side+(nd.align!=="center"?`-${nd.align}`:"")),Ad=computed(()=>typeof nd.collisionPadding=="number"?nd.collisionPadding:{top:0,right:0,bottom:0,left:0,...nd.collisionPadding}),Nd=computed(()=>Array.isArray(nd.collisionBoundary)?nd.collisionBoundary:[nd.collisionBoundary]),Id=computed(()=>({padding:Ad.value,boundary:Nd.value.filter(Qu$3),altBoundary:Nd.value.length>0})),kd=Jr$4(()=>[offset({mainAxis:nd.sideOffset+md.value,alignmentAxis:nd.alignOffset}),nd.prioritizePosition&&nd.avoidCollisions&&flip({...Id.value}),nd.avoidCollisions&&shift({mainAxis:!0,crossAxis:!!nd.prioritizePosition,limiter:nd.sticky==="partial"?limitShift():void 0,...Id.value}),!nd.prioritizePosition&&nd.avoidCollisions&&flip({...Id.value}),size({...Id.value,apply:({elements:Zd,rects:Xd,availableWidth:bf,availableHeight:yf})=>{const{width:Ef,height:gf}=Xd.reference,xf=Zd.floating.style;xf.setProperty("--radix-popper-available-width",`${bf}px`),xf.setProperty("--radix-popper-available-height",`${yf}px`),xf.setProperty("--radix-popper-anchor-width",`${Ef}px`),xf.setProperty("--radix-popper-anchor-height",`${gf}px`)}}),pd.value&&arrow({element:pd.value,padding:nd.arrowPadding}),ed({arrowWidth:fd.value,arrowHeight:md.value}),nd.hideWhenDetached&&hide({strategy:"referenceHidden",...Id.value})]),{floatingStyles:jd,placement:Fd,isPositioned:Md,middlewareData:Ld}=useFloating(ld.anchor,dd,{strategy:"fixed",placement:vd,whileElementsMounted:(...Zd)=>autoUpdate(...Zd,{animationFrame:nd.updatePositionStrategy==="always"}),middleware:kd}),Hd=computed(()=>Bn$3(Fd.value)[0]),Gd=computed(()=>Bn$3(Fd.value)[1]);watchPostEffect(()=>{Md.value&&od("placed")});const Vd=computed(()=>{var Zd;return((Zd=Ld.value.arrow)==null?void 0:Zd.centerOffset)!==0}),Kd=ref$1("");watchEffect(()=>{cd.value&&(Kd.value=window.getComputedStyle(cd.value).zIndex)});const mf=computed(()=>{var Zd;return((Zd=Ld.value.arrow)==null?void 0:Zd.x)??0}),Wd=computed(()=>{var Zd;return((Zd=Ld.value.arrow)==null?void 0:Zd.y)??0});return ad({placedSide:Hd,onArrowChange:Zd=>pd.value=Zd,arrowX:mf,arrowY:Wd,shouldHideArrow:Vd}),(Zd,Xd)=>{var bf,yf,Ef;return openBlock(),createElementBlock("div",{ref_key:"floatingRef",ref:dd,"data-radix-popper-content-wrapper":"",style:normalizeStyle({...unref(jd),transform:unref(Md)?unref(jd).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Kd.value,"--radix-popper-transform-origin":[(bf=unref(Ld).transformOrigin)==null?void 0:bf.x,(yf=unref(Ld).transformOrigin)==null?void 0:yf.y].join(" "),...((Ef=unref(Ld).hide)==null?void 0:Ef.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[createVNode(unref(O$3),mergeProps({ref:unref(ud)},Zd.$attrs,{"as-child":nd.asChild,as:Zd.as,"data-side":Hd.value,"data-align":Gd.value,style:{animation:unref(Md)?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$6(),(qa,nd)=>(openBlock(),createBlock(unref(O$3),{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$1,rd]=Q$6("CollectionProvider");function ba$2(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())),cd=computed(()=>od.itemMap.value.size);return{getItems:ld,reactiveItems:ud,itemMapSize:cd}}const Ca$1=defineComponent({name:"CollectionSlot",setup(Ra,{slots:qa}){const nd=ao$1(),{primitiveElement:od,currentElement:ld}=Ie$5();return watch(ld,()=>{nd.collectionRef.value=ld.value}),()=>h$1(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$1(),{primitiveElement:ld,currentElement:ud}=Ie$5();return watchEffect(cd=>{if(ud.value){const dd=markRaw(ud.value);od.itemMap.value.set(dd,{ref:ud.value,value:Ra.value}),cd(()=>od.itemMap.value.delete(dd))}}),()=>h$1(Xn$4,{...nd,[od.attrName]:"",ref:ld},qa)}});function Qt$4(Ra){const qa=Ra??ao$1();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$6(["MenuRoot","MenuSub"],"MenuContext"),[wa$1,gd]=Q$6("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),cd=be$8(ud),dd=ne$6(nd,"open",od),pd=ref$1(),fd=yd();return Ql$3({open:dd,onOpenChange:md=>{dd.value=md},content:pd,onContentChange:md=>{pd.value=md}}),gd({onClose:()=>{dd.value=!1},isUsingKeyboardRef:fd,dir:cd,modal:ld}),(md,vd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3}))}}),bd="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$6("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:cd,dir:dd}=toRefs(od),pd=be$8(dd),fd=ne$6(od,"currentTabStopId",ld,{defaultValue:od.defaultCurrentTabStopId,passive:od.currentTabStopId===void 0}),md=ref$1(!1),vd=ref$1(!1),Ad=ref$1(0),{getItems:Nd}=ba$2();function Id(jd){const Fd=!vd.value;if(jd.currentTarget&&jd.target===jd.currentTarget&&Fd&&!md.value){const Md=new CustomEvent(bd,Cd);if(jd.currentTarget.dispatchEvent(Md),ld("entryFocus",Md),!Md.defaultPrevented){const Ld=Nd().map(Kd=>Kd.ref).filter(Kd=>Kd.dataset.disabled!==""),Hd=Ld.find(Kd=>Kd.getAttribute("data-active")==="true"),Gd=Ld.find(Kd=>Kd.id===fd.value),Vd=[Hd,Gd,...Ld].filter(Boolean);ts$1(Vd,od.preventScrollOnEntryFocus)}}vd.value=!1}function kd(){setTimeout(()=>{vd.value=!1},1)}return qa({getItems:Nd}),Sd({loop:ud,dir:pd,orientation:cd,currentTabStopId:fd,onItemFocus:jd=>{fd.value=jd},onItemShiftTab:()=>{md.value=!0},onFocusableItemAdd:()=>{Ad.value++},onFocusableItemRemove:()=>{Ad.value--}}),(jd,Fd)=>(openBlock(),createBlock(unref(Ca$1),null,{default:withCtx(()=>[createVNode(unref(O$3),{tabindex:md.value||Ad.value===0?-1:0,"data-orientation":unref(cd),as:jd.as,"as-child":jd.asChild,dir:unref(pd),style:{outline:"none"},onMousedown:Fd[0]||(Fd[0]=Md=>vd.value=!0),onMouseup:kd,onFocus:Id,onBlur:Fd[1]||(Fd[1]=Md=>md.value=!1)},{default:withCtx(()=>[renderSlot(jd.$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:cd,currentElement:dd}=Ie$5(),pd=computed(()=>{var md;return(md=dd.value)==null?void 0:md.getRootNode()});onMounted(()=>{qa.focusable&&nd.onFocusableItemAdd()}),onUnmounted(()=>{qa.focusable&&nd.onFocusableItemRemove()});function fd(md){if(md.key==="Tab"&&md.shiftKey){nd.onItemShiftTab();return}if(md.target!==md.currentTarget)return;const vd=es$2(md,nd.orientation.value,nd.dir.value);if(vd!==void 0){if(md.metaKey||md.ctrlKey||md.altKey||!qa.allowShiftKey&&md.shiftKey)return;md.preventDefault();let Ad=[...ud().map(Nd=>Nd.ref).filter(Nd=>Nd.dataset.disabled!=="")];if(vd==="last")Ad.reverse();else if(vd==="prev"||vd==="next"){vd==="prev"&&Ad.reverse();const Nd=Ad.indexOf(md.currentTarget);Ad=nd.loop.value?_d(Ad,Nd+1):Ad.slice(Nd+1)}nextTick$1(()=>ts$1(Ad,!1,pd.value))}}return(md,vd)=>(openBlock(),createBlock(unref(Jt$5),null,{default:withCtx(()=>[createVNode(unref(O$3),{ref_key:"primitiveElement",ref:cd,tabindex:ld.value?0:-1,"data-orientation":unref(nd).orientation.value,"data-active":md.active,"data-disabled":md.focusable?void 0:"",as:md.as,"as-child":md.asChild,onMousedown:vd[0]||(vd[0]=Ad=>{md.focusable?unref(nd).onItemFocus(od.value):Ad.preventDefault()}),onFocus:vd[1]||(vd[1]=Ad=>unref(nd).onItemFocus(od.value)),onKeydown:fd},{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[lo$3,Ed]=Q$6("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:cd,disableOutsidePointerEvents:dd,loop:pd}=toRefs(nd);Gn$4(),ha$1(dd.value);const fd=ref$1(""),md=ref$1(0),vd=ref$1(0),Ad=ref$1(null),Nd=ref$1("right"),Id=ref$1(0),kd=ref$1(null),{createCollection:jd}=Me$7(),{forwardRef:Fd,currentElement:Md}=R$6(),Ld=jd(Md);watch(Md,Zd=>{ld.onContentChange(Zd)});const{handleTypeaheadSearch:Hd}=ga$2(Ld);onUnmounted(()=>{window.clearTimeout(md.value)});function Gd(Zd){var Xd,bf;return Nd.value===((Xd=Ad.value)==null?void 0:Xd.side)&&vu$3(Zd,(bf=Ad.value)==null?void 0:bf.area)}async function Vd(Zd){var Xd;od("openAutoFocus",Zd),!Zd.defaultPrevented&&(Zd.preventDefault(),(Xd=Md.value)==null||Xd.focus({preventScroll:!0}))}function Kd(Zd){if(Zd.defaultPrevented)return;const Xd=Zd.target.closest("[data-radix-menu-content]")===Zd.currentTarget,bf=Zd.ctrlKey||Zd.altKey||Zd.metaKey,yf=Zd.key.length===1,Ef=Bt$5(Zd,document.activeElement,Md.value,{loop:pd.value,arrowKeyOptions:"vertical",dir:ud==null?void 0:ud.dir.value,focus:!0,attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"});if(Ef)return Ef==null?void 0:Ef.focus();if(Zd.code==="Space"||(Xd&&(Zd.key==="Tab"&&Zd.preventDefault(),!bf&&yf&&Hd(Zd.key)),Zd.target!==Md.value)||!du$3.includes(Zd.key))return;Zd.preventDefault();const gf=Ld.value;Wl$3.includes(Zd.key)&&gf.reverse(),$n$4(gf)}function mf(Zd){var Xd,bf;(bf=(Xd=Zd==null?void 0:Zd.currentTarget)==null?void 0:Xd.contains)!=null&&bf.call(Xd,Zd.target)||(window.clearTimeout(md.value),fd.value="")}function Wd(Zd){var Xd;if(!ua$2(Zd))return;const bf=Zd.target,yf=Id.value!==Zd.clientX;if((Xd=Zd==null?void 0:Zd.currentTarget)!=null&&Xd.contains(bf)&&yf){const Ef=Zd.clientX>Id.value?"right":"left";Nd.value=Ef,Id.value=Zd.clientX}}return Ed({onItemEnter:Zd=>!!Gd(Zd),onItemLeave:Zd=>{var Xd;Gd(Zd)||((Xd=Md.value)==null||Xd.focus(),kd.value=null)},onTriggerLeave:Zd=>!!Gd(Zd),searchRef:fd,pointerGraceTimerRef:vd,onPointerGraceIntentChange:Zd=>{Ad.value=Zd}}),(Zd,Xd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",trapped:unref(cd),onMountAutoFocus:Vd,onUnmountAutoFocus:Xd[7]||(Xd[7]=bf=>od("closeAutoFocus",bf))},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":unref(dd),onEscapeKeyDown:Xd[2]||(Xd[2]=bf=>od("escapeKeyDown",bf)),onPointerDownOutside:Xd[3]||(Xd[3]=bf=>od("pointerDownOutside",bf)),onFocusOutside:Xd[4]||(Xd[4]=bf=>od("focusOutside",bf)),onInteractOutside:Xd[5]||(Xd[5]=bf=>od("interactOutside",bf)),onDismiss:Xd[6]||(Xd[6]=bf=>od("dismiss"))},{default:withCtx(()=>[createVNode(unref(Ot$4),{"current-tab-stop-id":kd.value,"onUpdate:currentTabStopId":Xd[0]||(Xd[0]=bf=>kd.value=bf),"as-child":"",orientation:"vertical",dir:unref(ud).dir.value,loop:unref(pd),onEntryFocus:Xd[1]||(Xd[1]=bf=>{od("entryFocus",bf),unref(ud).isUsingKeyboardRef.value||bf.preventDefault()})},{default:withCtx(()=>[createVNode(unref(Dt$4),{ref:unref(Fd),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:Kd,onBlur:mf,onPointermove:Wd},{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$1=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$6(),ld=ref$1(!1);async function ud(dd){if(!dd.defaultPrevented&&ua$2(dd)){if(qa.disabled)nd.onItemLeave(dd);else if(!nd.onItemEnter(dd)){const pd=dd.currentTarget;pd==null||pd.focus({preventScroll:!0})}}}async function cd(dd){await nextTick$1(),!dd.defaultPrevented&&ua$2(dd)&&nd.onItemLeave(dd)}return(dd,pd)=>(openBlock(),createBlock(unref(Jt$5),null,{default:withCtx(()=>[createVNode(unref(O$3),mergeProps({ref:unref(od),role:"menuitem",tabindex:"-1"},dd.$attrs,{as:dd.as,"as-child":dd.asChild,"data-radix-vue-collection-item":"","aria-disabled":dd.disabled||void 0,"data-disabled":dd.disabled?"":void 0,"data-highlighted":ld.value?"":void 0,onPointermove:ud,onPointerleave:cd,onFocus:pd[0]||(pd[0]=async fd=>{await nextTick$1(),!(fd.defaultPrevented||dd.disabled)&&(ld.value=!0)}),onBlur:pd[1]||(pd[1]=async fd=>{await nextTick$1(),!fd.defaultPrevented&&(ld.value=!1)})}),{default:withCtx(()=>[renderSlot(dd.$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$6(),cd=wa$1(),dd=lo$3(),pd=ref$1(!1);async function fd(){const md=ud.value;if(!nd.disabled&&md){const vd=new CustomEvent(iu$2,{bubbles:!0,cancelable:!0});od("select",vd),await nextTick$1(),vd.defaultPrevented?pd.value=!1:cd.onClose()}}return(md,vd)=>(openBlock(),createBlock(as$1,mergeProps(nd,{ref:unref(ld),onClick:fd,onPointerdown:vd[0]||(vd[0]=()=>{pd.value=!0}),onPointerup:vd[1]||(vd[1]=async Ad=>{var Nd;await nextTick$1(),!Ad.defaultPrevented&&(pd.value||(Nd=Ad.currentTarget)==null||Nd.click())}),onKeydown:vd[2]||(vd[2]=async Ad=>{const Nd=unref(dd).searchRef.value!=="";md.disabled||Nd&&Ad.key===" "||unref(Dn$3).includes(Ad.key)&&(Ad.currentTarget.click(),Ad.preventDefault())})}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16))}}),[Pd,ns$2]=Q$6(["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$3),{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,cd)=>(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:cd[0]||(cd[0]=async dd=>{od("select",dd),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:cd,currentElement:dd}=R$6();return ya$1(dd),(pd,fd)=>(openBlock(),createBlock(so$2,mergeProps(unref(ld),{ref:unref(cd),"trap-focus":unref(ud).open.value,"disable-outside-pointer-events":unref(ud).open.value,"disable-outside-scroll":!0,onDismiss:fd[0]||(fd[0]=md=>unref(ud).onOpenChange(!1)),onFocusOutside:fd[1]||(fd[1]=withModifiers(md=>od("focusOutside",md),["prevent"]))}),{default:withCtx(()=>[renderSlot(pd.$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]=cd=>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,cd)=>(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$3),mergeProps(qa,{role:"separator","aria-orientation":"horizontal"}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[os$2,Td]=Q$6("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(),cd=ref$1();return watchEffect(dd=>{(ld==null?void 0:ld.open.value)===!1&&(od.value=!1),dd(()=>od.value=!1)}),Ql$3({open:od,onOpenChange:dd=>{od.value=dd},content:cd,onContentChange:dd=>{cd.value=dd}}),Td({triggerId:"",contentId:"",trigger:ud,onTriggerChange:dd=>{ud.value=dd}}),(dd,pd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(dd.$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:cd,currentElement:dd}=R$6();return ud.contentId||(ud.contentId=he$4(void 0,"radix-vue-menu-sub-content")),(pd,fd)=>(openBlock(),createBlock(unref(Pe$7),{present:pd.forceMount||unref(od).open.value},{default:withCtx(()=>[createVNode(so$2,mergeProps(unref(nd),{id:unref(ud).contentId,ref:unref(cd),"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:fd[0]||(fd[0]=withModifiers(md=>{var vd;unref(ld).isUsingKeyboardRef.value&&((vd=unref(dd))==null||vd.focus())},["prevent"])),onCloseAutoFocus:fd[1]||(fd[1]=withModifiers(()=>{},["prevent"])),onFocusOutside:fd[2]||(fd[2]=md=>{md.defaultPrevented||md.target!==unref(ud).trigger.value&&unref(od).onOpenChange(!1)}),onEscapeKeyDown:fd[3]||(fd[3]=md=>{unref(ld).onClose(),md.preventDefault()}),onKeydown:fd[4]||(fd[4]=md=>{var vd,Ad;const Nd=(vd=md.currentTarget)==null?void 0:vd.contains(md.target),Id=unref(pu$3)[unref(ld).dir.value].includes(md.key);Nd&&Id&&(unref(od).onOpenChange(!1),(Ad=unref(ud).trigger.value)==null||Ad.focus(),md.preventDefault())})}),{default:withCtx(()=>[renderSlot(pd.$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(),cd=ref$1(null);ld.triggerId||(ld.triggerId=he$4(void 0,"radix-vue-menu-sub-trigger"));function dd(){cd.value&&window.clearTimeout(cd.value),cd.value=null}onUnmounted(()=>{dd()});function pd(vd){!ua$2(vd)||ud.onItemEnter(vd)||!qa.disabled&&!nd.open.value&&!cd.value&&(ud.onPointerGraceIntentChange(null),cd.value=window.setTimeout(()=>{nd.onOpenChange(!0),dd()},100))}async function fd(vd){var Ad,Nd;if(!ua$2(vd))return;dd();const Id=(Ad=nd.content.value)==null?void 0:Ad.getBoundingClientRect();if(Id!=null&&Id.width){const kd=(Nd=nd.content.value)==null?void 0:Nd.dataset.side,jd=kd==="right",Fd=jd?-5:5,Md=Id[jd?"left":"right"],Ld=Id[jd?"right":"left"];ud.onPointerGraceIntentChange({area:[{x:vd.clientX+Fd,y:vd.clientY},{x:Md,y:Id.top},{x:Ld,y:Id.top},{x:Ld,y:Id.bottom},{x:Md,y:Id.bottom}],side:kd}),window.clearTimeout(ud.pointerGraceTimerRef.value),ud.pointerGraceTimerRef.value=window.setTimeout(()=>ud.onPointerGraceIntentChange(null),300)}else{if(ud.onTriggerLeave(vd))return;ud.onPointerGraceIntentChange(null)}}async function md(vd){var Ad;const Nd=ud.searchRef.value!=="";qa.disabled||Nd&&vd.key===" "||cu$3[od.dir.value].includes(vd.key)&&(nd.onOpenChange(!0),await nextTick$1(),(Ad=nd.content.value)==null||Ad.focus(),vd.preventDefault())}return(vd,Ad)=>(openBlock(),createBlock(Za$1,{"as-child":""},{default:withCtx(()=>[createVNode(as$1,mergeProps(qa,{id:unref(ld).triggerId,ref:Nd=>{var Id;(Id=unref(ld))==null||Id.onTriggerChange(Nd==null?void 0:Nd.$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:Ad[0]||(Ad[0]=async Nd=>{qa.disabled||Nd.defaultPrevented||(Nd.currentTarget.focus(),unref(nd).open.value||unref(nd).onOpenChange(!0))}),onPointermove:pd,onPointerleave:fd,onKeydown:md}),{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},16,["id","aria-expanded","aria-controls","data-state"])]),_:3}))}}),[ls$2,Rd]=Q$6("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$6();const cd=be$8(ld),dd=ref$1(!1);return Rd({open:dd,onOpenChange:pd=>{dd.value=pd},dir:cd,modal:ud}),watch(dd,pd=>{od("update:open",pd)}),(pd,fd)=>(openBlock(),createBlock(unref(oo$4),{open:dd.value,"onUpdate:open":fd[0]||(fd[0]=md=>dd.value=md),dir:unref(cd),modal:unref(ud)},{default:withCtx(()=>[renderSlot(pd.$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$6(),ld=ls$2(),ud=ref$1({x:0,y:0}),cd=computed(()=>({getBoundingClientRect:()=>({width:0,height:0,left:ud.value.x,right:ud.value.x,top:ud.value.y,bottom:ud.value.y,...ud.value})})),dd=ref$1(0);function pd(){window.clearTimeout(dd.value)}function fd(Nd){ud.value={x:Nd.clientX,y:Nd.clientY},ld.onOpenChange(!0)}async function md(Nd){nd.value||(await nextTick$1(),Nd.defaultPrevented||(pd(),fd(Nd),Nd.preventDefault()))}async function vd(Nd){nd.value||(await nextTick$1(),Go$2(Nd)&&!Nd.defaultPrevented&&(pd(),dd.value=window.setTimeout(()=>fd(Nd),700)))}async function Ad(Nd){nd.value||(await nextTick$1(),Go$2(Nd)&&!Nd.defaultPrevented&&pd())}return(Nd,Id)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(Za$1),{as:"template",element:cd.value},null,8,["element"]),createVNode(unref(O$3),mergeProps({ref:unref(od),as:Nd.as,"as-child":Nd.asChild,"data-state":unref(ld).open.value?"open":"closed","data-disabled":unref(nd)?"":void 0,style:{WebkitTouchCallout:"none"}},Nd.$attrs,{onContextmenu:md,onPointerdown:vd,onPointermove:Ad,onPointercancel:Ad,onPointerup:Ad}),{default:withCtx(()=>[renderSlot(Nd.$slots,"default")]),_:3},16,["as","as-child","data-state","data-disabled"])],64))}}),am=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$6();const od=ls$2(),ld=ref$1(!1);return(ud,cd)=>(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:cd[0]||(cd[0]=dd=>{!dd.defaultPrevented&&ld.value&&dd.preventDefault(),ld.value=!1}),onInteractOutside:cd[1]||(cd[1]=dd=>{!dd.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$6(),(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$6(),(nd,od)=>(openBlock(),createBlock(unref(mo$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[is$4,oc$2]=Q$6("DropdownMenuRoot"),ah=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$6();const ld=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),ud=ref$1(),{modal:cd,dir:dd}=toRefs(nd),pd=be$8(dd);return oc$2({open:ld,onOpenChange:fd=>{ld.value=fd},onOpenToggle:()=>{ld.value=!ld.value},triggerId:"",triggerElement:ud,contentId:"",modal:cd,dir:pd}),(fd,md)=>(openBlock(),createBlock(unref(oo$4),{open:unref(ld),"onUpdate:open":md[0]||(md[0]=vd=>isRef(ld)?ld.value=vd:null),dir:unref(pd),modal:unref(cd)},{default:withCtx(()=>[renderSlot(fd.$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$6();return onMounted(()=>{nd.triggerElement=ld}),nd.triggerId||(nd.triggerId=he$4(void 0,"radix-vue-dropdown-menu-trigger")),(ud,cd)=>(openBlock(),createBlock(unref(Za$1),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{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:cd[0]||(cd[0]=async dd=>{var pd;!ud.disabled&&dd.button===0&&dd.ctrlKey===!1&&((pd=unref(nd))==null||pd.onOpenToggle(),await nextTick$1(),unref(nd).open.value&&dd.preventDefault())}),onKeydown:cd[1]||(cd[1]=withKeys(dd=>{ud.disabled||(["Enter"," "].includes(dd.key)&&unref(nd).onOpenToggle(),dd.key==="ArrowDown"&&unref(nd).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(dd.key)&&dd.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$6();const od=is$4(),ld=ref$1(!1);function ud(cd){cd.defaultPrevented||(ld.value||setTimeout(()=>{var dd;(dd=od.triggerElement.value)==null||dd.focus()},0),ld.value=!1,cd.preventDefault())}return od.contentId||(od.contentId=he$4(void 0,"radix-vue-dropdown-menu-content")),(cd,dd)=>{var pd;return openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{id:unref(od).contentId,"aria-labelledby":(pd=unref(od))==null?void 0:pd.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:dd[0]||(dd[0]=fd=>{var md;if(fd.defaultPrevented)return;const vd=fd.detail.originalEvent,Ad=vd.button===0&&vd.ctrlKey===!0,Nd=vd.button===2||Ad;(!unref(od).modal.value||Nd)&&(ld.value=!0),(md=unref(od).triggerElement.value)!=null&&md.contains(fd.target)&&fd.preventDefault()})}),{default:withCtx(()=>[renderSlot(cd.$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$6(),(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$6("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$6();const cd=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),dd=ref$1(0),pd=ref$1(0),fd=ref$1(!1),md=ref$1(!1),vd=ref$1(!1),Ad=ref$1();function Nd(){clearTimeout(pd.value),dd.value=window.setTimeout(()=>cd.value=!0,ld.value)}function Id(){clearTimeout(dd.value),!fd.value&&!md.value&&(pd.value=window.setTimeout(()=>cd.value=!1,ud.value))}function kd(){cd.value=!1}return rc$3({open:cd,onOpenChange(jd){cd.value=jd},onOpen:Nd,onClose:Id,onDismiss:kd,hasSelectionRef:fd,isPointerDownOnContentRef:md,isPointerInTransitRef:vd,triggerElement:Ad}),(jd,Fd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(jd.$slots,"default",{open:unref(cd)})]),_: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$6(),od=wo$2();od.triggerElement=nd;function ld(){setTimeout(()=>{!od.isPointerInTransitRef.value&&!od.open.value&&od.onClose()},0)}return(ud,cd)=>(openBlock(),createBlock(unref(Rt$5),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{ref:unref(qa),"as-child":ud.asChild,as:ud.as,"data-state":unref(od).open.value?"open":"closed","data-grace-area-trigger":"",onPointerenter:cd[0]||(cd[0]=dd=>unref(Tn$3)(unref(od).onOpen)(dd)),onPointerleave:cd[1]||(cd[1]=dd=>unref(Tn$3)(ld)(dd)),onFocus:cd[2]||(cd[2]=dd=>unref(od).onOpen()),onBlur:cd[3]||(cd[3]=dd=>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:cd}=R$6(),dd=wo$2(),{isPointerInTransit:pd,onPointerExit:fd}=Ol$3(dd.triggerElement,cd);di$4(dd.isPointerInTransitRef,pd,{direction:"rtl"}),fd(()=>{dd.onClose()});const md=ref$1(!1);let vd;watchEffect(Nd=>{if(md.value){const Id=document.body;vd=Id.style.userSelect||Id.style.webkitUserSelect,Id.style.userSelect="none",Id.style.webkitUserSelect="none",Nd(()=>{Id.style.userSelect=vd,Id.style.webkitUserSelect=vd})}});function Ad(){md.value=!1,dd.isPointerDownOnContentRef.value=!1,nextTick$1(()=>{var Nd;((Nd=document.getSelection())==null?void 0:Nd.toString())!==""&&(dd.hasSelectionRef.value=!0)})}return onMounted(()=>{cd.value&&(document.addEventListener("pointerup",Ad),ic$2(cd.value).forEach(Nd=>Nd.setAttribute("tabindex","-1")))}),onUnmounted(()=>{document.removeEventListener("pointerup",Ad),dd.hasSelectionRef.value=!1,dd.isPointerDownOnContentRef.value=!1}),(Nd,Id)=>(openBlock(),createBlock(unref(yt$3),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:Id[1]||(Id[1]=kd=>od("escapeKeyDown",kd)),onPointerDownOutside:Id[2]||(Id[2]=kd=>od("pointerDownOutside",kd)),onFocusOutside:Id[3]||(Id[3]=withModifiers(kd=>od("focusOutside",kd),["prevent"])),onDismiss:unref(dd).onDismiss},{default:withCtx(()=>[createVNode(unref(Dt$4),mergeProps({...unref(ld),...Nd.$attrs},{ref:unref(ud),"data-state":unref(dd).open.value?"open":"closed",style:{userSelect:md.value?"text":void 0,WebkitUserSelect:md.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:Id[0]||(Id[0]=kd=>{kd.currentTarget.contains(kd.target)&&(md.value=!0),unref(dd).hasSelectionRef.value=!1,unref(dd).isPointerDownOnContentRef.value=!0})}),{default:withCtx(()=>[renderSlot(Nd.$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$6(),ld=wo$2();return(ud,cd)=>(openBlock(),createBlock(unref(Pe$7),{present:ud.forceMount||unref(ld).open.value},{default:withCtx(()=>[createVNode(uc$3,mergeProps(unref(nd),{ref:unref(od),onPointerenter:cd[0]||(cd[0]=dd=>unref(Tn$3)(unref(ld).onOpen)(dd))}),{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$6(),(nd,od)=>(openBlock(),createBlock(unref(O$3),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$6("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$6(),{createCollection:cd}=Me$7("menubar");cd(ud);const dd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue??"",passive:nd.modelValue===void 0}),pd=ref$1(null),{dir:fd,loop:md}=toRefs(nd),vd=be$8(fd);return Ic$2({modelValue:dd,dir:vd,loop:md,onMenuOpen:Ad=>{dd.value=Ad,pd.value=Ad},onMenuClose:()=>{dd.value=""},onMenuToggle:Ad=>{dd.value=dd.value?"":Ad,pd.value=Ad}}),(Ad,Nd)=>(openBlock(),createBlock(unref(Ot$4),{"current-tab-stop-id":pd.value,"onUpdate:currentTabStopId":Nd[0]||(Nd[0]=Id=>pd.value=Id),orientation:"horizontal",loop:unref(md),dir:unref(vd),"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{ref:unref(ld),role:"menubar"},{default:withCtx(()=>[renderSlot(Ad.$slots,"default",{modelValue:unref(dd)})]),_:3},512)]),_:3},8,["current-tab-stop-id","loop","dir"]))}}),[_o$2,Tc$1]=Q$6("MenubarMenu"),Lh=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=he$4(Ra.value),nd=tn$4();R$6();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}),(cd,dd)=>(openBlock(),createBlock(unref(oo$4),{open:ud.value,modal:!1,dir:unref(nd).dir.value,"onUpdate:open":dd[0]||(dd[0]=pd=>{pd||unref(nd).onMenuClose()})},{default:withCtx(()=>[renderSlot(cd.$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$6(),ud=ref$1(!1),cd=computed(()=>qa.modelValue.value===nd.value);return onMounted(()=>{nd.triggerElement=ld}),(dd,pd)=>(openBlock(),createBlock(unref(kt$4),{"as-child":"",focusable:!dd.disabled,"tab-stop-id":unref(nd).value},{default:withCtx(()=>[createVNode(unref(Za$1),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{id:unref(nd).triggerId,ref:unref(od),as:dd.as,type:dd.as==="button"?"button":void 0,role:"menuitem","aria-haspopup":"menu","aria-expanded":cd.value,"aria-controls":cd.value?unref(nd).contentId:void 0,"data-highlighted":ud.value?"":void 0,"data-state":cd.value?"open":"closed","data-disabled":dd.disabled?"":void 0,disabled:dd.disabled,"data-value":unref(nd).value,"data-radix-vue-collection-item":"",onPointerdown:pd[0]||(pd[0]=fd=>{!dd.disabled&&fd.button===0&&fd.ctrlKey===!1&&(unref(qa).onMenuOpen(unref(nd).value),cd.value||fd.preventDefault())}),onPointerenter:pd[1]||(pd[1]=()=>{var fd;unref(qa).modelValue.value&&!cd.value&&(unref(qa).onMenuOpen(unref(nd).value),(fd=unref(ld))==null||fd.focus())}),onKeydown:pd[2]||(pd[2]=withKeys(fd=>{dd.disabled||(["Enter"," "].includes(fd.key)&&unref(qa).onMenuToggle(unref(nd).value),fd.key==="ArrowDown"&&unref(qa).onMenuOpen(unref(nd).value),["Enter"," ","ArrowDown"].includes(fd.key)&&(unref(nd).wasKeyboardTriggerOpenRef.value=!0,fd.preventDefault()))},["enter","space","arrow-down"])),onFocus:pd[3]||(pd[3]=fd=>ud.value=!0),onBlur:pd[4]||(pd[4]=fd=>ud.value=!1)},{default:withCtx(()=>[renderSlot(dd.$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$6();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"),cd=ud(),dd=ref$1(!1);function pd(fd){const md=fd.target.hasAttribute("data-radix-menubar-subtrigger"),vd=(od.dir.value==="rtl"?"ArrowRight":"ArrowLeft")===fd.key;if(!vd&&md)return;let Ad=cd.value.map(kd=>kd.dataset.value);vd&&Ad.reverse();const Nd=Ad.indexOf(ld.value);Ad=od.loop.value?qn$3(Ad,Nd+1):Ad.slice(Nd+1);const[Id]=Ad;Id&&od.onMenuOpen(Id)}return(fd,md)=>(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:md[0]||(md[0]=vd=>{var Ad;!unref(od).modelValue.value&&!dd.value&&((Ad=unref(ld).triggerElement.value)==null||Ad.focus()),dd.value=!1,vd.preventDefault()}),onFocusOutside:md[1]||(md[1]=vd=>{const Ad=vd.target;unref(cd).some(Nd=>Nd.contains(Ad))&&vd.preventDefault()}),onInteractOutside:md[2]||(md[2]=vd=>{dd.value=!0}),onEntryFocus:md[3]||(md[3]=vd=>{unref(ld).wasKeyboardTriggerOpenRef.value||vd.preventDefault()}),onKeydown:withKeys(pd,["arrow-right","arrow-left"])}),{default:withCtx(()=>[renderSlot(fd.$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$6(),(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$6(),(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$6(),(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$6(),(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$6();const ld=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen??!1,passive:nd.open===void 0});return(ud,cd)=>(openBlock(),createBlock(unref(ho$2),{open:unref(ld),"onUpdate:open":cd[0]||(cd[0]=dd=>isRef(ld)?ld.value=dd: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$6();const{injectCollection:od}=Me$7("menubar"),ld=tn$4(),ud=_o$2(),cd=od();function dd(pd){if(pd.target.hasAttribute("data-radix-menubar-subtrigger"))return;let fd=cd.value.map(Ad=>Ad.dataset.value);const md=fd.indexOf(ud.value);fd=ld.loop.value?qn$3(fd,md+1):fd.slice(md+1);const[vd]=fd;vd&&ld.onMenuOpen(vd)}return(pd,fd)=>(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(dd,["arrow-right"])}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16))}}),ty=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$6(),(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=Ad=>{ld(),!qa.value&&(od.trigger(),nd.value=window.setTimeout(()=>{ud(60)},Ad))},cd=()=>{ud(400)},dd=()=>{ld()},pd=ref$1(!1),fd=computed(()=>$e$4(Ra.target)),md=Ad=>{Ad.button!==0||pd.value||(Ad.preventDefault(),pd.value=!0,cd())},vd=()=>{pd.value=!1,dd()};return qe$3&&(Le$6(fd||window,"pointerdown",md),Le$6(window,"pointerup",vd),Le$6(window,"pointercancel",vd)),{isPressed:pd,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("."),cd=ld[1]&&ld[1].length||0,dd=ud[1]&&ud[1].length||0,pd=10**Math.max(cd,dd);qa=Math.round(qa*pd),nd=Math.round(nd*pd),od=Ra==="+"?qa+nd:qa-nd,od/=pd}return od}const Fc$2=["value","name","disabled","required"],[Eo$2,Nc$2]=Q$6("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:cd,step:dd,locale:pd,formatOptions:fd,id:md}=toRefs(nd),vd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),{primitiveElement:Ad,currentElement:Nd}=Ie$5(),Id=Je$4(Nd),kd=ref$1(),jd=computed(()=>yf(vd.value)===ud.value||(ud.value&&!isNaN(vd.value)?Xo$2("-",vd.value,dd.value)<ud.value:!1)),Fd=computed(()=>yf(vd.value)===cd.value||(cd.value&&!isNaN(vd.value)?Xo$2("+",vd.value,dd.value)>cd.value:!1));function Md(gf,xf=1){var Af;const Lf=Kd.parse(((Af=kd.value)==null?void 0:Af.value)??"");nd.disabled||(isNaN(Lf)?vd.value=ud.value??0:gf==="increase"?vd.value=yf(Lf+(dd.value??1)*xf):vd.value=yf(Lf-(dd.value??1)*xf))}function Ld(gf=1){Md("increase",gf)}function Hd(gf=1){Md("decrease",gf)}function Gd(gf){gf==="min"&&ud.value!==void 0?vd.value=yf(ud.value):gf==="max"&&cd.value!==void 0&&(vd.value=yf(cd.value))}const Vd=Yo$2(pd,fd),Kd=Vc$2(pd,fd),mf=computed(()=>Vd.resolvedOptions().maximumFractionDigits>0?"decimal":"numeric"),Wd=Yo$2(pd,fd),Zd=computed(()=>isNaN(vd.value)?"":Wd.format(vd.value));function Xd(gf){return Kd.isValidPartialNumber(gf,ud.value,cd.value)}function bf(gf){kd.value&&(kd.value.value=gf)}function yf(gf){let xf;return dd.value===void 0||isNaN(dd.value)?xf=Wt$4(gf,ud.value,cd.value):xf=Nr$4(gf,ud.value,cd.value,dd.value),xf=Kd.parse(Vd.format(xf)),xf}function Ef(gf){const xf=Kd.parse(gf);return vd.value=yf(xf),gf.length?bf(Zd.value):bf(gf)}return Nc$2({modelValue:vd,handleDecrease:Hd,handleIncrease:Ld,handleMinMaxValue:Gd,inputMode:mf,inputEl:kd,onInputElement:gf=>kd.value=gf,textValue:Zd,validate:Xd,applyInputValue:Ef,disabled:ld,max:cd,min:ud,isDecreaseDisabled:jd,isIncreaseDisabled:Fd,id:md}),(gf,xf)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$3),mergeProps(gf.$attrs,{ref_key:"primitiveElement",ref:Ad,role:"group",as:gf.as,"as-child":gf.asChild,"data-disabled":unref(ld)?"":void 0}),{default:withCtx(()=>[renderSlot(gf.$slots,"default",{modelValue:unref(vd),textValue:Zd.value})]),_:3},16,["as","as-child","data-disabled"]),unref(Id)?(openBlock(),createElementBlock("input",{key:0,type:"text",tabindex:"-1","aria-hidden":"true",value:unref(vd),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(cd){cd.target===document.activeElement&&(Math.abs(cd.deltaY)<=Math.abs(cd.deltaX)||(cd.preventDefault(),cd.deltaY>0?ld.handleIncrease():cd.deltaY<0&&ld.handleDecrease()))}return onMounted(()=>{ld.onInputElement(od.value)}),(cd,dd)=>(openBlock(),createBlock(unref(O$3),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:[dd[0]||(dd[0]=withKeys(withModifiers(pd=>unref(ld).handleIncrease(),["prevent"]),["up"])),dd[1]||(dd[1]=withKeys(withModifiers(pd=>unref(ld).handleDecrease(),["prevent"]),["down"])),dd[2]||(dd[2]=withKeys(withModifiers(pd=>unref(ld).handleIncrease(10),["prevent"]),["page-up"])),dd[3]||(dd[3]=withKeys(withModifiers(pd=>unref(ld).handleDecrease(10),["prevent"]),["page-down"])),dd[4]||(dd[4]=withKeys(withModifiers(pd=>unref(ld).handleMinMaxValue("min"),["prevent"]),["home"])),dd[5]||(dd[5]=withKeys(withModifiers(pd=>unref(ld).handleMinMaxValue("max"),["prevent"]),["end"])),dd[7]||(dd[7]=withKeys(pd=>{var fd;return unref(ld).applyInputValue((fd=pd.target)==null?void 0:fd.value)},["enter"]))],onWheel:ud,onBeforeinput:dd[6]||(dd[6]=pd=>{const fd=pd.target;let md=fd.value.slice(0,fd.selectionStart??void 0)+(pd.data??"")+fd.value.slice(fd.selectionEnd??void 0);unref(ld).validate(md)||pd.preventDefault()}),onBlur:dd[8]||(dd[8]=pd=>{var fd;return unref(ld).applyInputValue((fd=pd.target)==null?void 0:fd.value)})}),{default:withCtx(()=>[renderSlot(cd.$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 pd;return((pd=nd.disabled)==null?void 0:pd.value)||qa.disabled||nd.isIncreaseDisabled.value}),{primitiveElement:ld,currentElement:ud}=Ie$5(),{isPressed:cd,onTrigger:dd}=ms$3({target:ud,disabled:od});return dd(()=>{nd.handleIncrease()}),(pd,fd)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{ref_key:"primitiveElement",ref:ld,tabindex:"-1","aria-label":"Increase",type:pd.as==="button"?"button":void 0,style:{userSelect:unref(cd)?"none":void 0},disabled:od.value?"":void 0,"data-disabled":od.value?"":void 0,"data-pressed":unref(cd)?"true":void 0,onContextmenu:fd[0]||(fd[0]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(pd.$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 pd;return((pd=nd.disabled)==null?void 0:pd.value)||qa.disabled||nd.isDecreaseDisabled.value}),{primitiveElement:ld,currentElement:ud}=Ie$5(),{isPressed:cd,onTrigger:dd}=ms$3({target:ud,disabled:od});return dd(()=>{nd.handleDecrease()}),(pd,fd)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{ref_key:"primitiveElement",ref:ld,tabindex:"-1","aria-label":"Decrease",type:pd.as==="button"?"button":void 0,style:{userSelect:unref(cd)?"none":void 0},disabled:od.value?"":void 0,"data-disabled":od.value?"":void 0,"data-pressed":unref(cd)?"true":void 0,onContextmenu:fd[0]||(fd[0]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["type","style","disabled","data-disabled","data-pressed"]))}}),[Vt$4,Uc$2]=Q$6("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}),cd=ref$1(),dd=ref$1(!1);return Uc$2({contentId:"",modal:ld,open:ud,onOpenChange:pd=>{ud.value=pd},onOpenToggle:()=>{ud.value=!ud.value},triggerElement:cd,hasCustomAnchor:dd}),(pd,fd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(pd.$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$6();return onMounted(()=>{nd.triggerElement.value=ld.value}),(ud,cd)=>(openBlock(),createBlock(resolveDynamicComponent(unref(nd).hasCustomAnchor.value?unref(O$3):unref(Rt$5)),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{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$2=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$6(),cd=Vt$4();return Gn$4(),(dd,pd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",loop:"",trapped:dd.trapFocus,onMountAutoFocus:pd[5]||(pd[5]=fd=>od("openAutoFocus",fd)),onUnmountAutoFocus:pd[6]||(pd[6]=fd=>od("closeAutoFocus",fd))},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":dd.disableOutsidePointerEvents,onPointerDownOutside:pd[0]||(pd[0]=fd=>od("pointerDownOutside",fd)),onInteractOutside:pd[1]||(pd[1]=fd=>od("interactOutside",fd)),onEscapeKeyDown:pd[2]||(pd[2]=fd=>od("escapeKeyDown",fd)),onFocusOutside:pd[3]||(pd[3]=fd=>od("focusOutside",fd)),onDismiss:pd[4]||(pd[4]=fd=>unref(cd).onOpenChange(!1))},{default:withCtx(()=>[createVNode(unref(Dt$4),mergeProps(unref(ld),{id:unref(cd).contentId,ref:unref(ud),"data-state":unref(cd).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(dd.$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 cd=xe$5(nd,od),{forwardRef:dd,currentElement:pd}=R$6();return ya$1(pd),(fd,md)=>(openBlock(),createBlock(bs$2,mergeProps(unref(cd),{ref:unref(dd),"trap-focus":unref(ld).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:md[0]||(md[0]=withModifiers(vd=>{var Ad;od("closeAutoFocus",vd),ud.value||(Ad=unref(ld).triggerElement.value)==null||Ad.focus()},["prevent"])),onPointerDownOutside:md[1]||(md[1]=vd=>{od("pointerDownOutside",vd);const Ad=vd.detail.originalEvent,Nd=Ad.button===0&&Ad.ctrlKey===!0,Id=Ad.button===2||Nd;ud.value=Id}),onFocusOutside:md[2]||(md[2]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(fd.$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),cd=ref$1(!1),dd=xe$5(nd,od);return(pd,fd)=>(openBlock(),createBlock(bs$2,mergeProps(unref(dd),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:fd[0]||(fd[0]=md=>{var vd;od("closeAutoFocus",md),md.defaultPrevented||(ud.value||(vd=unref(ld).triggerElement.value)==null||vd.focus(),md.preventDefault()),ud.value=!1,cd.value=!1}),onInteractOutside:fd[1]||(fd[1]=async md=>{var vd;od("interactOutside",md),md.defaultPrevented||(ud.value=!0,md.detail.originalEvent.type==="pointerdown"&&(cd.value=!0));const Ad=md.target;(vd=unref(ld).triggerElement.value)!=null&&vd.contains(Ad)&&md.preventDefault(),md.detail.originalEvent.type==="focusin"&&cd.value&&md.preventDefault()})}),{default:withCtx(()=>[renderSlot(pd.$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:cd}=R$6();return ld.contentId||(ld.contentId=he$4(void 0,"radix-vue-popover-content")),(dd,pd)=>(openBlock(),createBlock(unref(Pe$7),{present:dd.forceMount||unref(ld).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(Gc$2,mergeProps({key:0},unref(ud),{ref:unref(cd)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16)):(openBlock(),createBlock(qc$1,mergeProps({key:1},unref(ud),{ref:unref(cd)}),{default:withCtx(()=>[renderSlot(dd.$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]=cd=>isRef(nd)?nd.value=cd:null),"default-value":unref(nd)}),[renderSlot(ld.$slots,"default")],16,Tp$1),[[vModelSelect,unref(nd)]])]),_:3}))}}),Ap$1={key:0,value:""},[bt$5,$s$2]=Q$6("SelectRoot"),[Op$1,kp$1]=Q$6("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}),cd=ref$1(),dd=ref$1(),pd=ref$1({x:0,y:0}),fd=ref$1(!1),{required:md,disabled:vd,dir:Ad}=toRefs(nd),Nd=be$8(Ad);$s$2({triggerElement:cd,onTriggerChange:Fd=>{cd.value=Fd},valueElement:dd,onValueElementChange:Fd=>{dd.value=Fd},valueElementHasChildren:fd,onValueElementHasChildrenChange:Fd=>{fd.value=Fd},contentId:"",modelValue:ld,onValueChange:Fd=>{ld.value=Fd},open:ud,required:md,onOpenChange:Fd=>{ud.value=Fd},dir:Nd,triggerPointerDownPosRef:pd,disabled:vd});const Id=Je$4(cd),kd=ref$1(new Set),jd=computed(()=>Array.from(kd.value).map(Fd=>{var Md;return(Md=Fd.props)==null?void 0:Md.value}).join(";"));return kp$1({onNativeOptionAdd:Fd=>{kd.value.add(Fd)},onNativeOptionRemove:Fd=>{kd.value.delete(Fd)}}),(Fd,Md)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(Fd.$slots,"default",{modelValue:unref(ld),open:unref(ud)}),unref(Id)?(openBlock(),createBlock(Rp$1,mergeProps({key:jd.value},Fd.$attrs,{"aria-hidden":"true",tabindex:"-1",required:unref(md),name:Fd.name,autocomplete:Fd.autocomplete,disabled:unref(vd),value:unref(ld),onChange:Md[0]||(Md[0]=Ld=>ld.value=Ld.target.value)}),{default:withCtx(()=>[unref(ld)===void 0?(openBlock(),createElementBlock("option",Ap$1)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(Array.from(kd.value),Ld=>(openBlock(),createBlock(resolveDynamicComponent(Ld),mergeProps({ref_for:!0},Ld.props,{key:Ld.key??""}),null,16))),128))]),_:1},16,["required","name","autocomplete","disabled","value"])):createCommentVNode("",!0)]),_:3}))}}),Mp$1=[" ","Enter","ArrowUp","ArrowDown"],Vp$1=[" ","Enter"],at$6=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$5(),od=computed(()=>{var Nd;return((Nd=nd.disabled)==null?void 0:Nd.value)||qa.disabled}),{forwardRef:ld,currentElement:ud}=R$6();nd.contentId||(nd.contentId=he$4(void 0,"radix-vue-select-content")),onMounted(()=>{nd.triggerElement=ud});const{injectCollection:cd}=Me$7(),dd=cd(),{search:pd,handleTypeaheadSearch:fd,resetTypeahead:md}=ga$2(dd);function vd(){od.value||(nd.onOpenChange(!0),md())}function Ad(Nd){vd(),nd.triggerPointerDownPosRef.value={x:Math.round(Nd.pageX),y:Math.round(Nd.pageY)}}return(Nd,Id)=>(openBlock(),createBlock(unref(Rt$5),{"as-child":""},{default:withCtx(()=>{var kd,jd,Fd,Md;return[createVNode(unref(O$3),{ref:unref(ld),role:"combobox",type:Nd.as==="button"?"button":void 0,"aria-controls":unref(nd).contentId,"aria-expanded":unref(nd).open.value||!1,"aria-required":(kd=unref(nd).required)==null?void 0:kd.value,"aria-autocomplete":"none",disabled:od.value,dir:(jd=unref(nd))==null?void 0:jd.dir.value,"data-state":(Fd=unref(nd))!=null&&Fd.open.value?"open":"closed","data-disabled":od.value?"":void 0,"data-placeholder":unref(Bs$3)((Md=unref(nd).modelValue)==null?void 0:Md.value)?"":void 0,"as-child":Nd.asChild,as:Nd.as,onClick:Id[0]||(Id[0]=Ld=>{var Hd;(Hd=Ld==null?void 0:Ld.currentTarget)==null||Hd.focus()}),onPointerdown:Id[1]||(Id[1]=Ld=>{if(Ld.pointerType==="touch")return Ld.preventDefault();const Hd=Ld.target;Hd.hasPointerCapture(Ld.pointerId)&&Hd.releasePointerCapture(Ld.pointerId),Ld.button===0&&Ld.ctrlKey===!1&&(Ad(Ld),Ld.preventDefault())}),onPointerup:Id[2]||(Id[2]=withModifiers(Ld=>{Ld.pointerType==="touch"&&Ad(Ld)},["prevent"])),onKeydown:Id[3]||(Id[3]=Ld=>{const Hd=unref(pd)!=="";!(Ld.ctrlKey||Ld.altKey||Ld.metaKey)&&Ld.key.length===1&&Hd&&Ld.key===" "||(unref(fd)(Ld.key),unref(Mp$1).includes(Ld.key)&&(vd(),Ld.preventDefault()))})},{default:withCtx(()=>[renderSlot(Nd.$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$6("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$5(),cd=Ct$5(),dd=ld(),pd=ref$1(!1),fd=ref$1(!0),md=ref$1(),{forwardRef:vd,currentElement:Ad}=R$6(),{viewport:Nd,selectedItem:Id,selectedItemText:kd,focusSelectedItem:jd}=cd;function Fd(){if(ud.triggerElement.value&&ud.valueElement.value&&md.value&&Ad.value&&Nd!=null&&Nd.value&&Id!=null&&Id.value&&kd!=null&&kd.value){const Hd=ud.triggerElement.value.getBoundingClientRect(),Gd=Ad.value.getBoundingClientRect(),Vd=ud.valueElement.value.getBoundingClientRect(),Kd=kd.value.getBoundingClientRect();if(ud.dir.value!=="rtl"){const Tf=Kd.left-Gd.left,vf=Vd.left-Tf,qf=Hd.left-vf,eh=Hd.width+qf,ch=Math.max(eh,Gd.width),ih=window.innerWidth-at$6,Pf=Wt$4(vf,at$6,ih-ch);md.value.style.minWidth=`${eh}px`,md.value.style.left=`${Pf}px`}else{const Tf=Gd.right-Kd.right,vf=window.innerWidth-Vd.right-Tf,qf=window.innerWidth-Hd.right-vf,eh=Hd.width+qf,ch=Math.max(eh,Gd.width),ih=window.innerWidth-at$6,Pf=Wt$4(vf,at$6,ih-ch);md.value.style.minWidth=`${eh}px`,md.value.style.right=`${Pf}px`}const mf=dd.value,Wd=window.innerHeight-at$6*2,Zd=Nd.value.scrollHeight,Xd=window.getComputedStyle(Ad.value),bf=Number.parseInt(Xd.borderTopWidth,10),yf=Number.parseInt(Xd.paddingTop,10),Ef=Number.parseInt(Xd.borderBottomWidth,10),gf=Number.parseInt(Xd.paddingBottom,10),xf=bf+yf+Zd+gf+Ef,Af=Math.min(Id.value.offsetHeight*5,xf),Lf=window.getComputedStyle(Nd.value),Xf=Number.parseInt(Lf.paddingTop,10),Jf=Number.parseInt(Lf.paddingBottom,10),Zf=Hd.top+Hd.height/2-at$6,Bf=Wd-Zf,Df=Id.value.offsetHeight/2,Uf=Id.value.offsetTop+Df,Gf=bf+yf+Uf,zf=xf-Gf;if(Gf<=Zf){const Tf=Id.value===mf[mf.length-1];md.value.style.bottom="0px";const vf=Ad.value.clientHeight-Nd.value.offsetTop-Nd.value.offsetHeight,qf=Math.max(Bf,Df+(Tf?Jf:0)+vf+Ef),eh=Gf+qf;md.value.style.height=`${eh}px`}else{const Tf=Id.value===mf[0];md.value.style.top="0px";const vf=Math.max(Zf,bf+Nd.value.offsetTop+(Tf?Xf:0)+Df)+zf;md.value.style.height=`${vf}px`,Nd.value.scrollTop=Gf-Zf+Nd.value.offsetTop}md.value.style.margin=`${at$6}px 0`,md.value.style.minHeight=`${Af}px`,md.value.style.maxHeight=`${Wd}px`,od("placed"),requestAnimationFrame(()=>pd.value=!0)}}const Md=ref$1("");onMounted(async()=>{await nextTick$1(),Fd(),Ad.value&&(Md.value=window.getComputedStyle(Ad.value).zIndex)});function Ld(Hd){Hd&&fd.value===!0&&(Fd(),jd==null||jd(),fd.value=!1)}return Fp$1({contentWrapper:md,shouldExpandOnScrollRef:pd,onScrollButtonChange:Ld}),(Hd,Gd)=>(openBlock(),createElementBlock("div",{ref_key:"contentWrapperElement",ref:md,style:normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:Md.value})},[createVNode(unref(O$3),mergeProps({ref:unref(vd),style:{boxSizing:"border-box",maxHeight:"100%"}},{...Hd.$attrs,...nd}),{default:withCtx(()=>[renderSlot(Hd.$slots,"default")]),_:3},16)],4))}}),Lp$1=defineComponent({__name:"SelectPopperPosition",props:{side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:at$6},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$6("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$5();Gn$4(),ha$1(nd.bodyLock);const{createCollection:ud}=Me$7(),cd=ref$1();ya$1(cd);const dd=ud(cd),{search:pd,handleTypeaheadSearch:fd}=ga$2(dd),md=ref$1(),vd=ref$1(),Ad=ref$1(),Nd=ref$1(!1),Id=ref$1(!1);function kd(){vd.value&&cd.value&&$n$4([vd.value,cd.value])}watch(Nd,()=>{kd()});const{onOpenChange:jd,triggerPointerDownPosRef:Fd}=ld;watchEffect(Gd=>{if(!cd.value)return;let Vd={x:0,y:0};const Kd=Wd=>{var Zd,Xd;Vd={x:Math.abs(Math.round(Wd.pageX)-(((Zd=Fd.value)==null?void 0:Zd.x)??0)),y:Math.abs(Math.round(Wd.pageY)-(((Xd=Fd.value)==null?void 0:Xd.y)??0))}},mf=Wd=>{var Zd;Wd.pointerType!=="touch"&&(Vd.x<=10&&Vd.y<=10?Wd.preventDefault():(Zd=cd.value)!=null&&Zd.contains(Wd.target)||jd(!1),document.removeEventListener("pointermove",Kd),Fd.value=null)};Fd.value!==null&&(document.addEventListener("pointermove",Kd),document.addEventListener("pointerup",mf,{capture:!0,once:!0})),Gd(()=>{document.removeEventListener("pointermove",Kd),document.removeEventListener("pointerup",mf,{capture:!0})})});function Md(Gd){const Vd=Gd.ctrlKey||Gd.altKey||Gd.metaKey;if(Gd.key==="Tab"&&Gd.preventDefault(),!Vd&&Gd.key.length===1&&fd(Gd.key),["ArrowUp","ArrowDown","Home","End"].includes(Gd.key)){let Kd=dd.value;if(["ArrowUp","End"].includes(Gd.key)&&(Kd=Kd.slice().reverse()),["ArrowUp","ArrowDown"].includes(Gd.key)){const mf=Gd.target,Wd=Kd.indexOf(mf);Kd=Kd.slice(Wd+1)}setTimeout(()=>$n$4(Kd)),Gd.preventDefault()}}const Ld=computed(()=>nd.position==="popper"?nd:{}),Hd=It$4(Ld.value);return zp$1({content:cd,viewport:md,onViewportChange:Gd=>{md.value=Gd},itemRefCallback:(Gd,Vd,Kd)=>{var mf,Wd;const Zd=!Id.value&&!Kd;(((mf=ld.modelValue)==null?void 0:mf.value)!==void 0&&((Wd=ld.modelValue)==null?void 0:Wd.value)===Vd||Zd)&&(vd.value=Gd,Zd&&(Id.value=!0))},selectedItem:vd,selectedItemText:Ad,onItemLeave:()=>{var Gd;(Gd=cd.value)==null||Gd.focus()},itemTextRefCallback:(Gd,Vd,Kd)=>{var mf,Wd;const Zd=!Id.value&&!Kd;(((mf=ld.modelValue)==null?void 0:mf.value)!==void 0&&((Wd=ld.modelValue)==null?void 0:Wd.value)===Vd||Zd)&&(Ad.value=Gd)},focusSelectedItem:kd,position:nd.position,isPositioned:Nd,searchRef:pd}),(Gd,Vd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",onMountAutoFocus:Vd[6]||(Vd[6]=withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:Vd[7]||(Vd[7]=Kd=>{var mf;od("closeAutoFocus",Kd),!Kd.defaultPrevented&&((mf=unref(ld).triggerElement.value)==null||mf.focus({preventScroll:!0}),Kd.preventDefault())})},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:Vd[2]||(Vd[2]=withModifiers(()=>{},["prevent"])),onDismiss:Vd[3]||(Vd[3]=Kd=>unref(ld).onOpenChange(!1)),onEscapeKeyDown:Vd[4]||(Vd[4]=Kd=>od("escapeKeyDown",Kd)),onPointerDownOutside:Vd[5]||(Vd[5]=Kd=>od("pointerDownOutside",Kd))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Gd.position==="popper"?Lp$1:Np$1),mergeProps({...Gd.$attrs,...unref(Hd)},{id:unref(ld).contentId,ref:Kd=>{cd.value=unref($e$4)(Kd)},role:"listbox","data-state":unref(ld).open.value?"open":"closed",dir:unref(ld).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:Vd[0]||(Vd[0]=withModifiers(()=>{},["prevent"])),onPlaced:Vd[1]||(Vd[1]=Kd=>Nd.value=!0),onKeydown:Md}),{default:withCtx(()=>[renderSlot(Gd.$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$5(),ud=ref$1();onMounted(()=>{ud.value=new DocumentFragment});const cd=ref$1(),dd=computed(()=>nd.forceMount||ld.open.value);return(pd,fd)=>{var md;return dd.value?(openBlock(),createBlock(unref(Pe$7),{key:0,ref_key:"presenceRef",ref:cd,present:!0},{default:withCtx(()=>[createVNode(Kp$1,normalizeProps(guardReactiveProps({...unref(od),...pd.$attrs})),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16)]),_:3},512)):!((md=cd.value)!=null&&md.present)&&ud.value?(openBlock(),createElementBlock("div",Wp$1,[(openBlock(),createBlock(Teleport,{to:ud.value},[createVNode(Hp$1,{context:unref(ld)},{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):createCommentVNode("",!0)}}}),[Is$3,jp$1]=Q$6("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$5(),ld=Ct$5(Ft$5),{forwardRef:ud,currentElement:cd}=R$6(),dd=computed(()=>{var kd;return((kd=od.modelValue)==null?void 0:kd.value)===qa.value}),pd=ref$1(!1),fd=ref$1(qa.textValue??""),md=he$4(void 0,"radix-vue-select-item-text");async function vd(kd){await nextTick$1(),!(kd!=null&&kd.defaultPrevented)&&(nd.value||(od.onValueChange(qa.value),od.onOpenChange(!1)))}async function Ad(kd){var jd;await nextTick$1(),!kd.defaultPrevented&&(nd.value?(jd=ld.onItemLeave)==null||jd.call(ld):kd.currentTarget.focus({preventScroll:!0}))}async function Nd(kd){var jd;await nextTick$1(),!kd.defaultPrevented&&kd.currentTarget===document.activeElement&&((jd=ld.onItemLeave)==null||jd.call(ld))}async function Id(kd){var jd;await nextTick$1(),!(kd.defaultPrevented||((jd=ld.searchRef)==null?void 0:jd.value)!==""&&kd.key===" ")&&(Vp$1.includes(kd.key)&&vd(),kd.key===" "&&kd.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(()=>{cd.value&&ld.itemRefCallback(cd.value,qa.value,qa.disabled)}),jp$1({value:qa.value,disabled:nd,textId:md,isSelected:dd,onItemTextChange:kd=>{fd.value=((fd.value||(kd==null?void 0:kd.textContent))??"").trim()}}),(kd,jd)=>(openBlock(),createBlock(unref(O$3),{ref:unref(ud),role:"option","data-radix-vue-collection-item":"","aria-labelledby":unref(md),"data-highlighted":pd.value?"":void 0,"aria-selected":dd.value,"data-state":dd.value?"checked":"unchecked","aria-disabled":unref(nd)||void 0,"data-disabled":unref(nd)?"":void 0,tabindex:unref(nd)?void 0:-1,as:kd.as,"as-child":kd.asChild,onFocus:jd[0]||(jd[0]=Fd=>pd.value=!0),onBlur:jd[1]||(jd[1]=Fd=>pd.value=!1),onPointerup:vd,onPointerdown:jd[2]||(jd[2]=Fd=>{Fd.currentTarget.focus({preventScroll:!0})}),onTouchend:jd[3]||(jd[3]=withModifiers(()=>{},["prevent","stop"])),onPointermove:Ad,onPointerleave:Nd,onKeydown:Id},{default:withCtx(()=>[renderSlot(kd.$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$3),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$5(),od=Ct$5(Ft$5),ld=Op$1(),ud=Is$3(),{forwardRef:cd,currentElement:dd}=R$6(),pd=computed(()=>{var fd;return h$1("option",{key:ud.value,value:ud.value,disabled:ud.disabled.value,textContent:(fd=dd.value)==null?void 0:fd.textContent})});return onMounted(()=>{dd.value&&(ud.onItemTextChange(dd.value),od.itemTextRefCallback(dd.value,ud.value,ud.disabled.value),ld.onNativeOptionAdd(pd.value))}),onBeforeUnmount(()=>{ld.onNativeOptionRemove(pd.value)}),(fd,md)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$3),mergeProps({id:unref(ud).textId,ref:unref(cd)},{...qa,...fd.$attrs}),{default:withCtx(()=>[renderSlot(fd.$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(fd.$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:cd,currentElement:dd}=R$6();onMounted(()=>{ld==null||ld.onViewportChange(dd.value)});const pd=ref$1(0);function fd(md){const vd=md.currentTarget,{shouldExpandOnScrollRef:Ad,contentWrapper:Nd}=ud??{};if(Ad!=null&&Ad.value&&Nd!=null&&Nd.value){const Id=Math.abs(pd.value-vd.scrollTop);if(Id>0){const kd=window.innerHeight-at$6*2,jd=Number.parseFloat(Nd.value.style.minHeight),Fd=Number.parseFloat(Nd.value.style.height),Md=Math.max(jd,Fd);if(Md<kd){const Ld=Md+Id,Hd=Math.min(kd,Ld),Gd=Ld-Hd;Nd.value.style.height=`${Hd}px`,Nd.value.style.bottom==="0px"&&(vd.scrollTop=Gd>0?Gd:0,Nd.value.style.justifyContent="flex-end")}}}pd.value=vd.scrollTop}return(md,vd)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$3),mergeProps({ref:unref(cd),"data-radix-select-viewport":"",role:"presentation"},{...md.$attrs,...qa},{style:{position:"relative",flex:1,overflow:"auto"},onScroll:fd}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16),createVNode(unref(O$3),{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),cd=ref$1(null);function dd(){cd.value!==null&&(window.clearInterval(cd.value),cd.value=null)}watchEffect(()=>{const md=ld.value.find(vd=>vd===document.activeElement);md==null||md.scrollIntoView({block:"nearest"})});function pd(){cd.value===null&&(cd.value=window.setInterval(()=>{nd("autoScroll")},50))}function fd(){var md;(md=ud.onItemLeave)==null||md.call(ud),cd.value===null&&(cd.value=window.setInterval(()=>{nd("autoScroll")},50))}return onBeforeUnmount(()=>dd()),(md,vd)=>{var Ad;return openBlock(),createBlock(unref(O$3),mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(Ad=md.$parent)==null?void 0:Ad.$props,{onPointerdown:pd,onPointermove:fd,onPointerleave:vd[0]||(vd[0]=()=>{dd()})}),{default:withCtx(()=>[renderSlot(md.$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$6(),ud=ref$1(!1);return watchEffect(cd=>{var dd,pd;if((dd=qa.viewport)!=null&&dd.value&&(pd=qa.isPositioned)!=null&&pd.value){let fd=function(){ud.value=md.scrollTop>0};const md=qa.viewport.value;fd(),md.addEventListener("scroll",fd),cd(()=>md.removeEventListener("scroll",fd))}}),watch(ld,()=>{ld.value&&(nd==null||nd.onScrollButtonChange(ld.value))}),(cd,dd)=>ud.value?(openBlock(),createBlock(Ts$3,{key:0,ref:unref(od),onAutoScroll:dd[0]||(dd[0]=()=>{const{viewport:pd,selectedItem:fd}=unref(qa);pd!=null&&pd.value&&fd!=null&&fd.value&&(pd.value.scrollTop=pd.value.scrollTop-fd.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(cd.$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$6(),ud=ref$1(!1);return watchEffect(cd=>{var dd,pd;if((dd=qa.viewport)!=null&&dd.value&&(pd=qa.isPositioned)!=null&&pd.value){let fd=function(){const vd=md.scrollHeight-md.clientHeight;ud.value=Math.ceil(md.scrollTop)<vd};const md=qa.viewport.value;fd(),md.addEventListener("scroll",fd),cd(()=>md.removeEventListener("scroll",fd))}}),watch(ld,()=>{ld.value&&(nd==null||nd.onScrollButtonChange(ld.value))}),(cd,dd)=>ud.value?(openBlock(),createBlock(Ts$3,{key:0,ref:unref(od),onAutoScroll:dd[0]||(dd[0]=()=>{const{viewport:pd,selectedItem:fd}=unref(qa);pd!=null&&pd.value&&fd!=null&&fd.value&&(pd.value.scrollTop=pd.value.scrollTop+fd.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(cd.$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$6(),od=bt$5(),ld=useSlots();return onBeforeMount(()=>{var ud;const cd=!!Ua$3((ud=ld==null?void 0:ld.default)==null?void 0:ud.call(ld)).length;od.onValueElementHasChildrenChange(cd)}),onMounted(()=>{od.valueElement=nd}),(ud,cd)=>(openBlock(),createBlock(unref(O$3),{ref:unref(qa),as:ud.as,"as-child":ud.asChild,style:{pointerEvents:"none"}},{default:withCtx(()=>{var dd;return[unref(Bs$3)((dd=unref(od).modelValue)==null?void 0:dd.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$3),{"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$6("SwitchRoot"),cg=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 cd(){ld.value||(ud.value=!ud.value)}const{forwardRef:dd,currentElement:pd}=R$6(),fd=Je$4(pd),md=computed(()=>{var vd;return nd.id&&pd.value?(vd=document.querySelector(`[for="${nd.id}"]`))==null?void 0:vd.innerText:void 0});return Vf({checked:ud,toggleCheck:cd,disabled:ld}),(vd,Ad)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$3),mergeProps(vd.$attrs,{id:vd.id,ref:unref(dd),role:"switch",type:vd.as==="button"?"button":void 0,value:vd.value,"aria-label":vd.$attrs["aria-label"]||md.value,"aria-checked":unref(ud),"aria-required":vd.required,"data-state":unref(ud)?"checked":"unchecked","data-disabled":unref(ld)?"":void 0,"as-child":vd.asChild,as:vd.as,disabled:unref(ld),onClick:cd,onKeydown:withKeys(withModifiers(cd,["prevent"]),["enter"])}),{default:withCtx(()=>[renderSlot(vd.$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(fd)?(openBlock(),createElementBlock("input",{key:0,type:"checkbox",name:vd.name,tabindex:"-1","aria-hidden":"true",disabled:unref(ld),required:vd.required,value:vd.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$6(),(nd,od)=>{var ld;return openBlock(),createBlock(unref(O$3),{"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$6("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),cd=be$8(ud);R$6();const dd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),pd=ref$1();return Ff({modelValue:dd,changeModelValue:fd=>{dd.value=fd},orientation:ld,dir:cd,activationMode:nd.activationMode,baseId:he$4(void 0,"radix-vue-tabs"),tabsList:pd}),(fd,md)=>(openBlock(),createBlock(unref(O$3),{dir:unref(cd),"data-orientation":unref(ld),"as-child":fd.asChild,as:fd.as},{default:withCtx(()=>[renderSlot(fd.$slots,"default",{modelValue:unref(dd)})]),_: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$6(),ud=pn$4();return ud.tabsList=ld,(cd,dd)=>(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$3),{ref:unref(od),role:"tablist","as-child":cd.asChild,as:cd.as,"aria-orientation":unref(ud).orientation.value},{default:withCtx(()=>[renderSlot(cd.$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$6(),od=pn$4(),ld=computed(()=>or$3(od.baseId,qa.value)),ud=computed(()=>lr$2(od.baseId,qa.value)),cd=computed(()=>qa.value===od.modelValue.value),dd=ref$1(cd.value);return onMounted(()=>{requestAnimationFrame(()=>{dd.value=!1})}),(pd,fd)=>(openBlock(),createBlock(unref(Pe$7),{present:cd.value,"force-mount":""},{default:withCtx(({present:md})=>[createVNode(unref(O$3),{id:ud.value,ref:unref(nd),"as-child":pd.asChild,as:pd.as,role:"tabpanel","data-state":cd.value?"active":"inactive","data-orientation":unref(od).orientation.value,"aria-labelledby":ld.value,hidden:!md.value,tabindex:"0",style:normalizeStyle({animationDuration:dd.value?"0s":void 0})},{default:withCtx(()=>[pd.forceMount||cd.value?renderSlot(pd.$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$6(),od=pn$4(),ld=computed(()=>or$3(od.baseId,qa.value)),ud=computed(()=>lr$2(od.baseId,qa.value)),cd=computed(()=>qa.value===od.modelValue.value);return(dd,pd)=>(openBlock(),createBlock(unref(kt$4),{"as-child":"",focusable:!dd.disabled,active:cd.value},{default:withCtx(()=>[createVNode(unref(O$3),{id:ld.value,ref:unref(nd),role:"tab",type:dd.as==="button"?"button":void 0,as:dd.as,"as-child":dd.asChild,"aria-selected":cd.value?"true":"false","aria-controls":ud.value,"data-state":cd.value?"active":"inactive",disabled:dd.disabled,"data-disabled":dd.disabled?"":void 0,"data-orientation":unref(od).orientation.value,onMousedown:pd[0]||(pd[0]=withModifiers(fd=>{!dd.disabled&&fd.ctrlKey===!1?unref(od).changeModelValue(dd.value):fd.preventDefault()},["left"])),onKeydown:pd[1]||(pd[1]=withKeys(fd=>unref(od).changeModelValue(dd.value),["enter","space"])),onFocus:pd[2]||(pd[2]=()=>{const fd=unref(od).activationMode!=="manual";!cd.value&&!dd.disabled&&fd&&unref(od).changeModelValue(dd.value)})},{default:withCtx(()=>[renderSlot(dd.$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,cd)=>(openBlock(),createBlock(unref(Sv),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}});function r$1(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$1(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$1(Ra))&&(od&&(od+=" "),od+=qa);return od}const CLASS_PART_SEPARATOR="-",createClassGroupUtils=Ra=>{const qa=createClassMap(Ra),{conflictingClassGroups:nd,conflictingClassGroupModifiers:od}=Ra;return{getClassGroupId:cd=>{const dd=cd.split(CLASS_PART_SEPARATOR);return dd[0]===""&&dd.length!==1&&dd.shift(),getGroupRecursive(dd,qa)||getGroupIdForArbitraryProperty(cd)},getConflictingClassGroupIds:(cd,dd)=>{const pd=nd[cd]||[];return dd&&od[cd]?[...pd,...od[cd]]:pd}}},getGroupRecursive=(Ra,qa)=>{var cd;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(cd=qa.validators.find(({validator:dd})=>dd(ud)))==null?void 0:cd.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,cd])=>{processClassesRecursively(cd,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,cd])=>{processClassesRecursively(cd,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(([cd,dd])=>[qa+cd,dd])):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,cd)=>{nd.set(ud,cd),qa++,qa>Ra&&(qa=0,od=nd,nd=new Map)};return{get(ud){let cd=nd.get(ud);if(cd!==void 0)return cd;if((cd=od.get(ud))!==void 0)return ld(ud,cd),cd},set(ud,cd){nd.has(ud)?nd.set(ud,cd):ld(ud,cd)}}},IMPORTANT_MODIFIER="!",createParseClassName=Ra=>{const{separator:qa,experimentalParseClassName:nd}=Ra,od=qa.length===1,ld=qa[0],ud=qa.length,cd=dd=>{const pd=[];let fd=0,md=0,vd;for(let jd=0;jd<dd.length;jd++){let Fd=dd[jd];if(fd===0){if(Fd===ld&&(od||dd.slice(jd,jd+ud)===qa)){pd.push(dd.slice(md,jd)),md=jd+ud;continue}if(Fd==="/"){vd=jd;continue}}Fd==="["?fd++:Fd==="]"&&fd--}const Ad=pd.length===0?dd:dd.substring(md),Nd=Ad.startsWith(IMPORTANT_MODIFIER),Id=Nd?Ad.substring(1):Ad,kd=vd&&vd>md?vd-md:void 0;return{modifiers:pd,hasImportantModifier:Nd,baseClassName:Id,maybePostfixModifierPosition:kd}};return nd?dd=>nd({className:dd,parseClassName:cd}):cd},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=[],cd=Ra.trim().split(SPLIT_CLASSES_REGEX);let dd="";for(let pd=cd.length-1;pd>=0;pd-=1){const fd=cd[pd],{modifiers:md,hasImportantModifier:vd,baseClassName:Ad,maybePostfixModifierPosition:Nd}=nd(fd);let Id=!!Nd,kd=od(Id?Ad.substring(0,Nd):Ad);if(!kd){if(!Id){dd=fd+(dd.length>0?" "+dd:dd);continue}if(kd=od(Ad),!kd){dd=fd+(dd.length>0?" "+dd:dd);continue}Id=!1}const jd=sortModifiers(md).join(":"),Fd=vd?jd+IMPORTANT_MODIFIER:jd,Md=Fd+kd;if(ud.includes(Md))continue;ud.push(Md);const Ld=ld(kd,Id);for(let Hd=0;Hd<Ld.length;++Hd){const Gd=Ld[Hd];ud.push(Fd+Gd)}dd=fd+(dd.length>0?" "+dd:dd)}return dd};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=cd;function cd(pd){const fd=qa.reduce((md,vd)=>vd(md),Ra());return nd=createConfigUtils(fd),od=nd.cache.get,ld=nd.cache.set,ud=dd,dd(pd)}function dd(pd){const fd=od(pd);if(fd)return fd;const md=mergeClassList(pd,nd);return ld(pd,md),md}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"),cd=fromTheme("borderSpacing"),dd=fromTheme("borderWidth"),pd=fromTheme("contrast"),fd=fromTheme("grayscale"),md=fromTheme("hueRotate"),vd=fromTheme("invert"),Ad=fromTheme("gap"),Nd=fromTheme("gradientColorStops"),Id=fromTheme("gradientColorStopPositions"),kd=fromTheme("inset"),jd=fromTheme("margin"),Fd=fromTheme("opacity"),Md=fromTheme("padding"),Ld=fromTheme("saturate"),Hd=fromTheme("scale"),Gd=fromTheme("sepia"),Vd=fromTheme("skew"),Kd=fromTheme("space"),mf=fromTheme("translate"),Wd=()=>["auto","contain","none"],Zd=()=>["auto","hidden","clip","visible","scroll"],Xd=()=>["auto",isArbitraryValue,qa],bf=()=>[isArbitraryValue,qa],yf=()=>["",isLength$1,isArbitraryLength],Ef=()=>["auto",isNumber$3,isArbitraryValue],gf=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],xf=()=>["solid","dashed","dotted","double","none"],Af=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Lf=()=>["start","end","center","between","around","evenly","stretch"],Xf=()=>["","0",isArbitraryValue],Jf=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Zf=()=>[isNumber$3,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength$1,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:Zf(),borderColor:[Ra],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:bf(),borderWidth:yf(),contrast:Zf(),grayscale:Xf(),hueRotate:Zf(),invert:Xf(),gap:bf(),gradientColorStops:[Ra],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:Xd(),margin:Xd(),opacity:Zf(),padding:bf(),saturate:Zf(),scale:Zf(),sepia:Xf(),skew:Zf(),space:bf(),translate:bf()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":Jf()}],"break-before":[{"break-before":Jf()}],"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:[...gf(),isArbitraryValue]}],overflow:[{overflow:Zd()}],"overflow-x":[{"overflow-x":Zd()}],"overflow-y":[{"overflow-y":Zd()}],overscroll:[{overscroll:Wd()}],"overscroll-x":[{"overscroll-x":Wd()}],"overscroll-y":[{"overscroll-y":Wd()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[kd]}],"inset-x":[{"inset-x":[kd]}],"inset-y":[{"inset-y":[kd]}],start:[{start:[kd]}],end:[{end:[kd]}],top:[{top:[kd]}],right:[{right:[kd]}],bottom:[{bottom:[kd]}],left:[{left:[kd]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger$1,isArbitraryValue]}],basis:[{basis:Xd()}],"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:Xf()}],shrink:[{shrink:Xf()}],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":Ef()}],"col-end":[{"col-end":Ef()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger$1,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":Ef()}],"row-end":[{"row-end":Ef()}],"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:[Ad]}],"gap-x":[{"gap-x":[Ad]}],"gap-y":[{"gap-y":[Ad]}],"justify-content":[{justify:["normal",...Lf()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Lf(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Lf(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[Md]}],px:[{px:[Md]}],py:[{py:[Md]}],ps:[{ps:[Md]}],pe:[{pe:[Md]}],pt:[{pt:[Md]}],pr:[{pr:[Md]}],pb:[{pb:[Md]}],pl:[{pl:[Md]}],m:[{m:[jd]}],mx:[{mx:[jd]}],my:[{my:[jd]}],ms:[{ms:[jd]}],me:[{me:[jd]}],mt:[{mt:[jd]}],mr:[{mr:[jd]}],mb:[{mb:[jd]}],ml:[{ml:[jd]}],"space-x":[{"space-x":[Kd]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Kd]}],"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":[Fd]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[Ra]}],"text-opacity":[{"text-opacity":[Fd]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xf(),"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:bf()}],"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":[Fd]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...gf(),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:[Id]}],"gradient-via-pos":[{via:[Id]}],"gradient-to-pos":[{to:[Id]}],"gradient-from":[{from:[Nd]}],"gradient-via":[{via:[Nd]}],"gradient-to":[{to:[Nd]}],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:[dd]}],"border-w-x":[{"border-x":[dd]}],"border-w-y":[{"border-y":[dd]}],"border-w-s":[{"border-s":[dd]}],"border-w-e":[{"border-e":[dd]}],"border-w-t":[{"border-t":[dd]}],"border-w-r":[{"border-r":[dd]}],"border-w-b":[{"border-b":[dd]}],"border-w-l":[{"border-l":[dd]}],"border-opacity":[{"border-opacity":[Fd]}],"border-style":[{border:[...xf(),"hidden"]}],"divide-x":[{"divide-x":[dd]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[dd]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[Fd]}],"divide-style":[{divide:xf()}],"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:["",...xf()]}],"outline-offset":[{"outline-offset":[isLength$1,isArbitraryValue]}],"outline-w":[{outline:[isLength$1,isArbitraryLength]}],"outline-color":[{outline:[Ra]}],"ring-w":[{ring:yf()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[Ra]}],"ring-opacity":[{"ring-opacity":[Fd]}],"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:[Fd]}],"mix-blend":[{"mix-blend":[...Af(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Af()}],filter:[{filter:["","none"]}],blur:[{blur:[nd]}],brightness:[{brightness:[od]}],contrast:[{contrast:[pd]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[fd]}],"hue-rotate":[{"hue-rotate":[md]}],invert:[{invert:[vd]}],saturate:[{saturate:[Ld]}],sepia:[{sepia:[Gd]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[nd]}],"backdrop-brightness":[{"backdrop-brightness":[od]}],"backdrop-contrast":[{"backdrop-contrast":[pd]}],"backdrop-grayscale":[{"backdrop-grayscale":[fd]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[md]}],"backdrop-invert":[{"backdrop-invert":[vd]}],"backdrop-opacity":[{"backdrop-opacity":[Fd]}],"backdrop-saturate":[{"backdrop-saturate":[Ld]}],"backdrop-sepia":[{"backdrop-sepia":[Gd]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[cd]}],"border-spacing-x":[{"border-spacing-x":[cd]}],"border-spacing-y":[{"border-spacing-y":[cd]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:Zf()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:Zf()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Hd]}],"scale-x":[{"scale-x":[Hd]}],"scale-y":[{"scale-y":[Hd]}],rotate:[{rotate:[isInteger$1,isArbitraryValue]}],"translate-x":[{"translate-x":[mf]}],"translate-y":[{"translate-y":[mf]}],"skew-x":[{"skew-x":[Vd]}],"skew-y":[{"skew-y":[Vd]}],"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":bf()}],"scroll-mx":[{"scroll-mx":bf()}],"scroll-my":[{"scroll-my":bf()}],"scroll-ms":[{"scroll-ms":bf()}],"scroll-me":[{"scroll-me":bf()}],"scroll-mt":[{"scroll-mt":bf()}],"scroll-mr":[{"scroll-mr":bf()}],"scroll-mb":[{"scroll-mb":bf()}],"scroll-ml":[{"scroll-ml":bf()}],"scroll-p":[{"scroll-p":bf()}],"scroll-px":[{"scroll-px":bf()}],"scroll-py":[{"scroll-py":bf()}],"scroll-ps":[{"scroll-ps":bf()}],"scroll-pe":[{"scroll-pe":bf()}],"scroll-pt":[{"scroll-pt":bf()}],"scroll-pr":[{"scroll-pr":bf()}],"scroll-pb":[{"scroll-pb":bf()}],"scroll-pl":[{"scroll-pl":bf()}],"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$4(...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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(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$4)("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(cd.$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$4)("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=clsx,cva=(Ra,qa)=>nd=>{var od;if((qa==null?void 0:qa.variants)==null)return cx(Ra,nd==null?void 0:nd.class,nd==null?void 0:nd.className);const{variants:ld,defaultVariants:ud}=qa,cd=Object.keys(ld).map(fd=>{const md=nd==null?void 0:nd[fd],vd=ud==null?void 0:ud[fd];if(md===null)return null;const Ad=falsyToString(md)||falsyToString(vd);return ld[fd][Ad]}),dd=nd&&Object.entries(nd).reduce((fd,md)=>{let[vd,Ad]=md;return Ad===void 0||(fd[vd]=Ad),fd},{}),pd=qa==null||(od=qa.compoundVariants)===null||od===void 0?void 0:od.reduce((fd,md)=>{let{class:vd,className:Ad,...Nd}=md;return Object.entries(Nd).every(Id=>{let[kd,jd]=Id;return Array.isArray(jd)?jd.includes({...ud,...dd}[kd]):{...ud,...dd}[kd]===jd})?[...fd,vd,Ad]:fd},[]);return cx(Ra,cd,pd,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$3),{as:nd.as,"as-child":nd.asChild,class:normalizeClass(unref(cn$4)(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$4)(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$4)(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$4)("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$4)("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$4)("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,cd)=>(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:cd,...dd},{slots:pd})=>h$1("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")}`],...dd},[...ld.map(fd=>h$1(...fd)),...pd.default?[pd.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$1(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$6=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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(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$4)("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(cd.$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$6),{class:"h-4 w-4"}),dd[0]||(dd[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$4)("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:cd,resume:dd,isActive:pd}=pausableFilter(od);return{stop:watchWithFilter(Ra,qa,{...ld,eventFilter:ud}),pause:cd,resume:dd,isActive:pd}}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 cd(dd){if(arguments.length)return ud.value=dd,ud.value;{const pd=toValue(nd);return ud.value=ud.value===pd?toValue(od):pd,ud.value}}return ld?cd:[ud,cd]}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=[],cd=()=>{ud.forEach(md=>md()),ud.length=0},dd=(md,vd,Ad,Nd)=>(md.addEventListener(vd,Ad,Nd),()=>md.removeEventListener(vd,Ad,Nd)),pd=watch(()=>[unrefElement(qa),toValue(ld)],([md,vd])=>{if(cd(),!md)return;const Ad=isObject$4(vd)?{...vd}:vd;ud.push(...nd.flatMap(Nd=>od.map(Id=>dd(md,Nd,Id,Ad))))},{immediate:!0,flush:"post"}),fd=()=>{pd(),cd()};return tryOnScopeDispose(fd),fd}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),cd=fd=>{ud.value=fd.matches},dd=()=>{ld&&("removeEventListener"in ld?ld.removeEventListener("change",cd):ld.removeListener(cd))},pd=watchEffect(()=>{od.value&&(dd(),ld=nd.matchMedia(toValue(Ra)),"addEventListener"in ld?ld.addEventListener("change",cd):ld.addListener(cd),ud.value=ld.matches)});return tryOnScopeDispose(()=>{pd(),dd(),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:cd=!0,listenToStorageChanges:dd=!0,writeDefaults:pd=!0,mergeDefaults:fd=!1,shallow:md,window:vd=defaultWindow,eventFilter:Ad,onError:Nd=Zd=>{console.error(Zd)},initOnMounted:Id}=od,kd=(md?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){Nd(Zd)}if(!nd)return kd;const jd=toValue(qa),Fd=guessSerializerType(jd),Md=(ld=od.serializer)!=null?ld:StorageSerializers[Fd],{pause:Ld,resume:Hd}=watchPausable(kd,()=>Vd(kd.value),{flush:ud,deep:cd,eventFilter:Ad});vd&&dd&&tryOnMounted(()=>{nd instanceof Storage?useEventListener(vd,"storage",mf):useEventListener(vd,customStorageEventName,Wd),Id&&mf()}),Id||mf();function Gd(Zd,Xd){if(vd){const bf={key:Ra,oldValue:Zd,newValue:Xd,storageArea:nd};vd.dispatchEvent(nd instanceof Storage?new StorageEvent("storage",bf):new CustomEvent(customStorageEventName,{detail:bf}))}}function Vd(Zd){try{const Xd=nd.getItem(Ra);if(Zd==null)Gd(Xd,null),nd.removeItem(Ra);else{const bf=Md.write(Zd);Xd!==bf&&(nd.setItem(Ra,bf),Gd(Xd,bf))}}catch(Xd){Nd(Xd)}}function Kd(Zd){const Xd=Zd?Zd.newValue:nd.getItem(Ra);if(Xd==null)return pd&&jd!=null&&nd.setItem(Ra,Md.write(jd)),jd;if(!Zd&&fd){const bf=Md.read(Xd);return typeof fd=="function"?fd(bf,jd):Fd==="object"&&!Array.isArray(bf)?{...jd,...bf}:bf}else return typeof Xd!="string"?Xd:Md.read(Xd)}function mf(Zd){if(!(Zd&&Zd.storageArea!==nd)){if(Zd&&Zd.key==null){kd.value=jd;return}if(!(Zd&&Zd.key!==Ra)){Ld();try{(Zd==null?void 0:Zd.newValue)!==Md.write(kd.value)&&(kd.value=Kd(Zd))}catch(Xd){Nd(Xd)}finally{Zd?nextTick$1(Hd):Hd()}}}}function Wd(Zd){mf(Zd.detail)}return kd}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:cd="vueuse-color-scheme",listenToStorageChanges:dd=!0,storageRef:pd,emitAuto:fd,disableTransition:md=!0}=Ra,vd={auto:"",light:"light",dark:"dark",...Ra.modes||{}},Ad=usePreferredDark({window:ld}),Nd=computed(()=>Ad.value?"dark":"light"),Id=pd||(cd==null?toRef(od):useStorage(cd,od,ud,{window:ld,listenToStorageChanges:dd})),kd=computed(()=>Id.value==="auto"?Nd.value:Id.value),jd=getSSRHandler("updateHTMLAttrs",(Hd,Gd,Vd)=>{const Kd=typeof Hd=="string"?ld==null?void 0:ld.document.querySelector(Hd):unrefElement(Hd);if(!Kd)return;const mf=new Set,Wd=new Set;let Zd=null;if(Gd==="class"){const bf=Vd.split(/\s/g);Object.values(vd).flatMap(yf=>(yf||"").split(/\s/g)).filter(Boolean).forEach(yf=>{bf.includes(yf)?mf.add(yf):Wd.add(yf)})}else Zd={key:Gd,value:Vd};if(mf.size===0&&Wd.size===0&&Zd===null)return;let Xd;md&&(Xd=ld.document.createElement("style"),Xd.appendChild(document.createTextNode(CSS_DISABLE_TRANS)),ld.document.head.appendChild(Xd));for(const bf of mf)Kd.classList.add(bf);for(const bf of Wd)Kd.classList.remove(bf);Zd&&Kd.setAttribute(Zd.key,Zd.value),md&&(ld.getComputedStyle(Xd).opacity,document.head.removeChild(Xd))});function Fd(Hd){var Gd;jd(qa,nd,(Gd=vd[Hd])!=null?Gd:Hd)}function Md(Hd){Ra.onChanged?Ra.onChanged(Hd,Fd):Fd(Hd)}watch(kd,Md,{flush:"post",immediate:!0}),tryOnMounted(()=>Md(kd.value));const Ld=computed({get(){return fd?Id.value:kd.value},set(Hd){Id.value=Hd}});return Object.assign(Ld,{store:Id,system:Nd,state:kd})}function useDark(Ra={}){const{valueDark:qa="dark",valueLight:nd=""}=Ra,od=useColorMode({...Ra,onChanged:(cd,dd)=>{var pd;Ra.onChanged?(pd=Ra.onChanged)==null||pd.call(Ra,cd==="dark",dd,cd):dd(cd)},modes:{dark:qa,light:nd}}),ld=computed(()=>od.system.value);return computed({get(){return od.value==="dark"},set(cd){const dd=cd?"dark":"light";ld.value===dd?od.value="auto":od.value=dd}})}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:cd}=createEventHook();let dd;qa&&(dd=qa.createElement("input"),dd.type="file",dd.onchange=md=>{const vd=md.target;nd.value=vd.files,ld(nd.value)},dd.oncancel=()=>{cd()});const pd=()=>{nd.value=null,dd&&dd.value&&(dd.value="",ld(null))},fd=md=>{if(!dd)return;const vd={...DEFAULT_OPTIONS,...Ra,...md};dd.multiple=vd.multiple,dd.accept=vd.accept,dd.webkitdirectory=vd.directory,hasOwn$2(vd,"capture")&&(dd.capture=vd.capture),vd.reset&&pd(),dd.click()};return{files:readonly(nd),open:fd,reset:pd,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,cd;const{clone:dd=!1,passive:pd=!1,eventName:fd,deep:md=!1,defaultValue:vd,shouldEmit:Ad}=od,Nd=getCurrentInstance(),Id=nd||(Nd==null?void 0:Nd.emit)||((ld=Nd==null?void 0:Nd.$emit)==null?void 0:ld.bind(Nd))||((cd=(ud=Nd==null?void 0:Nd.proxy)==null?void 0:ud.$emit)==null?void 0:cd.bind(Nd==null?void 0:Nd.proxy));let kd=fd;kd=kd||`update:${qa.toString()}`;const jd=Ld=>dd?typeof dd=="function"?dd(Ld):cloneFnJSON(Ld):Ld,Fd=()=>isDef(Ra[qa])?jd(Ra[qa]):vd,Md=Ld=>{Ad?Ad(Ld)&&Id(kd,Ld):Id(kd,Ld)};if(pd){const Ld=Fd(),Hd=ref$1(Ld);let Gd=!1;return watch(()=>Ra[qa],Vd=>{Gd||(Gd=!0,Hd.value=jd(Vd),nextTick$1(()=>Gd=!1))}),watch(Hd,Vd=>{!Gd&&(Vd!==Ra[qa]||md)&&Md(Vd)},{deep:md}),Hd}else return computed({get(){return Fd()},set(Ld){Md(Ld)}})}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,cd)=>withDirectives((openBlock(),createElementBlock("input",{"onUpdate:modelValue":cd[0]||(cd[0]=dd=>isRef(ld)?ld.value=dd:null),class:normalizeClass(unref(cn$4)("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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(cy$1),mergeProps(unref(ud),{class:unref(cn$4)("grid gap-1.5",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$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$4)("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$4)("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$4)("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$4)("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$4)("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$4)("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$4)("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$2=0,len=code.length;i$2<len;++i$2)lookup[i$2]=code[i$2],revLookup[code.charCodeAt(i$2)]=i$2;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)),cd=0,dd=ld>0?od-4:od,pd;for(pd=0;pd<dd;pd+=4)qa=revLookup[Ra.charCodeAt(pd)]<<18|revLookup[Ra.charCodeAt(pd+1)]<<12|revLookup[Ra.charCodeAt(pd+2)]<<6|revLookup[Ra.charCodeAt(pd+3)],ud[cd++]=qa>>16&255,ud[cd++]=qa>>8&255,ud[cd++]=qa&255;return ld===2&&(qa=revLookup[Ra.charCodeAt(pd)]<<2|revLookup[Ra.charCodeAt(pd+1)]>>4,ud[cd++]=qa&255),ld===1&&(qa=revLookup[Ra.charCodeAt(pd)]<<10|revLookup[Ra.charCodeAt(pd+1)]<<4|revLookup[Ra.charCodeAt(pd+2)]>>2,ud[cd++]=qa>>8&255,ud[cd++]=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,cd=0,dd=nd-od;cd<dd;cd+=ud)ld.push(encodeChunk(Ra,cd,cd+ud>dd?dd:cd+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,cd,dd=ld*8-od-1,pd=(1<<dd)-1,fd=pd>>1,md=-7,vd=nd?ld-1:0,Ad=nd?-1:1,Nd=Ra[qa+vd];for(vd+=Ad,ud=Nd&(1<<-md)-1,Nd>>=-md,md+=dd;md>0;ud=ud*256+Ra[qa+vd],vd+=Ad,md-=8);for(cd=ud&(1<<-md)-1,ud>>=-md,md+=od;md>0;cd=cd*256+Ra[qa+vd],vd+=Ad,md-=8);if(ud===0)ud=1-fd;else{if(ud===pd)return cd?NaN:(Nd?-1:1)*(1/0);cd=cd+Math.pow(2,od),ud=ud-fd}return(Nd?-1:1)*cd*Math.pow(2,ud-od)};ieee754$1.write=function(Ra,qa,nd,od,ld,ud){var cd,dd,pd,fd=ud*8-ld-1,md=(1<<fd)-1,vd=md>>1,Ad=ld===23?Math.pow(2,-24)-Math.pow(2,-77):0,Nd=od?0:ud-1,Id=od?1:-1,kd=qa<0||qa===0&&1/qa<0?1:0;for(qa=Math.abs(qa),isNaN(qa)||qa===1/0?(dd=isNaN(qa)?1:0,cd=md):(cd=Math.floor(Math.log(qa)/Math.LN2),qa*(pd=Math.pow(2,-cd))<1&&(cd--,pd*=2),cd+vd>=1?qa+=Ad/pd:qa+=Ad*Math.pow(2,1-vd),qa*pd>=2&&(cd++,pd/=2),cd+vd>=md?(dd=0,cd=md):cd+vd>=1?(dd=(qa*pd-1)*Math.pow(2,ld),cd=cd+vd):(dd=qa*Math.pow(2,vd-1)*Math.pow(2,ld),cd=0));ld>=8;Ra[nd+Nd]=dd&255,Nd+=Id,dd/=256,ld-=8);for(cd=cd<<ld|dd,fd+=ld;fd>0;Ra[nd+Nd]=cd&255,Nd+=Id,cd/=256,fd-=8);Ra[nd+Nd-Id]|=kd*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=md,Ra.SlowBuffer=Gd,Ra.INSPECT_MAX_BYTES=50;const ld=2147483647;Ra.kMaxLength=ld;const{Uint8Array:ud,ArrayBuffer:cd,SharedArrayBuffer:dd}=globalThis;md.TYPED_ARRAY_SUPPORT=pd(),!md.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 pd(){try{const fh=new ud(1),Rf={foo:function(){return 42}};return Object.setPrototypeOf(Rf,ud.prototype),Object.setPrototypeOf(fh,Rf),fh.foo()===42}catch{return!1}}Object.defineProperty(md.prototype,"parent",{enumerable:!0,get:function(){if(md.isBuffer(this))return this.buffer}}),Object.defineProperty(md.prototype,"offset",{enumerable:!0,get:function(){if(md.isBuffer(this))return this.byteOffset}});function fd(fh){if(fh>ld)throw new RangeError('The value "'+fh+'" is invalid for option "size"');const Rf=new ud(fh);return Object.setPrototypeOf(Rf,md.prototype),Rf}function md(fh,Rf,If){if(typeof fh=="number"){if(typeof Rf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Id(fh)}return vd(fh,Rf,If)}md.poolSize=8192;function vd(fh,Rf,If){if(typeof fh=="string")return kd(fh,Rf);if(cd.isView(fh))return Fd(fh);if(fh==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof fh);if(fm(fh,cd)||fh&&fm(fh.buffer,cd)||typeof dd<"u"&&(fm(fh,dd)||fh&&fm(fh.buffer,dd)))return Md(fh,Rf,If);if(typeof fh=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const dh=fh.valueOf&&fh.valueOf();if(dh!=null&&dh!==fh)return md.from(dh,Rf,If);const yh=Ld(fh);if(yh)return yh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof fh[Symbol.toPrimitive]=="function")return md.from(fh[Symbol.toPrimitive]("string"),Rf,If);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof fh)}md.from=function(fh,Rf,If){return vd(fh,Rf,If)},Object.setPrototypeOf(md.prototype,ud.prototype),Object.setPrototypeOf(md,ud);function Ad(fh){if(typeof fh!="number")throw new TypeError('"size" argument must be of type number');if(fh<0)throw new RangeError('The value "'+fh+'" is invalid for option "size"')}function Nd(fh,Rf,If){return Ad(fh),fh<=0?fd(fh):Rf!==void 0?typeof If=="string"?fd(fh).fill(Rf,If):fd(fh).fill(Rf):fd(fh)}md.alloc=function(fh,Rf,If){return Nd(fh,Rf,If)};function Id(fh){return Ad(fh),fd(fh<0?0:Hd(fh)|0)}md.allocUnsafe=function(fh){return Id(fh)},md.allocUnsafeSlow=function(fh){return Id(fh)};function kd(fh,Rf){if((typeof Rf!="string"||Rf==="")&&(Rf="utf8"),!md.isEncoding(Rf))throw new TypeError("Unknown encoding: "+Rf);const If=Vd(fh,Rf)|0;let dh=fd(If);const yh=dh.write(fh,Rf);return yh!==If&&(dh=dh.slice(0,yh)),dh}function jd(fh){const Rf=fh.length<0?0:Hd(fh.length)|0,If=fd(Rf);for(let dh=0;dh<Rf;dh+=1)If[dh]=fh[dh]&255;return If}function Fd(fh){if(fm(fh,ud)){const Rf=new ud(fh);return Md(Rf.buffer,Rf.byteOffset,Rf.byteLength)}return jd(fh)}function Md(fh,Rf,If){if(Rf<0||fh.byteLength<Rf)throw new RangeError('"offset" is outside of buffer bounds');if(fh.byteLength<Rf+(If||0))throw new RangeError('"length" is outside of buffer bounds');let dh;return Rf===void 0&&If===void 0?dh=new ud(fh):If===void 0?dh=new ud(fh,Rf):dh=new ud(fh,Rf,If),Object.setPrototypeOf(dh,md.prototype),dh}function Ld(fh){if(md.isBuffer(fh)){const Rf=Hd(fh.length)|0,If=fd(Rf);return If.length===0||fh.copy(If,0,0,Rf),If}if(fh.length!==void 0)return typeof fh.length!="number"||Nm(fh.length)?fd(0):jd(fh);if(fh.type==="Buffer"&&Array.isArray(fh.data))return jd(fh.data)}function Hd(fh){if(fh>=ld)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ld.toString(16)+" bytes");return fh|0}function Gd(fh){return+fh!=fh&&(fh=0),md.alloc(+fh)}md.isBuffer=function(Rf){return Rf!=null&&Rf._isBuffer===!0&&Rf!==md.prototype},md.compare=function(Rf,If){if(fm(Rf,ud)&&(Rf=md.from(Rf,Rf.offset,Rf.byteLength)),fm(If,ud)&&(If=md.from(If,If.offset,If.byteLength)),!md.isBuffer(Rf)||!md.isBuffer(If))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Rf===If)return 0;let dh=Rf.length,yh=If.length;for(let Uh=0,Zh=Math.min(dh,yh);Uh<Zh;++Uh)if(Rf[Uh]!==If[Uh]){dh=Rf[Uh],yh=If[Uh];break}return dh<yh?-1:yh<dh?1:0},md.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}},md.concat=function(Rf,If){if(!Array.isArray(Rf))throw new TypeError('"list" argument must be an Array of Buffers');if(Rf.length===0)return md.alloc(0);let dh;if(If===void 0)for(If=0,dh=0;dh<Rf.length;++dh)If+=Rf[dh].length;const yh=md.allocUnsafe(If);let Uh=0;for(dh=0;dh<Rf.length;++dh){let Zh=Rf[dh];if(fm(Zh,ud))Uh+Zh.length>yh.length?(md.isBuffer(Zh)||(Zh=md.from(Zh)),Zh.copy(yh,Uh)):ud.prototype.set.call(yh,Zh,Uh);else if(md.isBuffer(Zh))Zh.copy(yh,Uh);else throw new TypeError('"list" argument must be an Array of Buffers');Uh+=Zh.length}return yh};function Vd(fh,Rf){if(md.isBuffer(fh))return fh.length;if(cd.isView(fh)||fm(fh,cd))return fh.byteLength;if(typeof fh!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof fh);const If=fh.length,dh=arguments.length>2&&arguments[2]===!0;if(!dh&&If===0)return 0;let yh=!1;for(;;)switch(Rf){case"ascii":case"latin1":case"binary":return If;case"utf8":case"utf-8":return Th(fh).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return If*2;case"hex":return If>>>1;case"base64":return Vh(fh).length;default:if(yh)return dh?-1:Th(fh).length;Rf=(""+Rf).toLowerCase(),yh=!0}}md.byteLength=Vd;function Kd(fh,Rf,If){let dh=!1;if((Rf===void 0||Rf<0)&&(Rf=0),Rf>this.length||((If===void 0||If>this.length)&&(If=this.length),If<=0)||(If>>>=0,Rf>>>=0,If<=Rf))return"";for(fh||(fh="utf8");;)switch(fh){case"hex":return Bf(this,Rf,If);case"utf8":case"utf-8":return Af(this,Rf,If);case"ascii":return Jf(this,Rf,If);case"latin1":case"binary":return Zf(this,Rf,If);case"base64":return xf(this,Rf,If);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Df(this,Rf,If);default:if(dh)throw new TypeError("Unknown encoding: "+fh);fh=(fh+"").toLowerCase(),dh=!0}}md.prototype._isBuffer=!0;function mf(fh,Rf,If){const dh=fh[Rf];fh[Rf]=fh[If],fh[If]=dh}md.prototype.swap16=function(){const Rf=this.length;if(Rf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let If=0;If<Rf;If+=2)mf(this,If,If+1);return this},md.prototype.swap32=function(){const Rf=this.length;if(Rf%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let If=0;If<Rf;If+=4)mf(this,If,If+3),mf(this,If+1,If+2);return this},md.prototype.swap64=function(){const Rf=this.length;if(Rf%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let If=0;If<Rf;If+=8)mf(this,If,If+7),mf(this,If+1,If+6),mf(this,If+2,If+5),mf(this,If+3,If+4);return this},md.prototype.toString=function(){const Rf=this.length;return Rf===0?"":arguments.length===0?Af(this,0,Rf):Kd.apply(this,arguments)},md.prototype.toLocaleString=md.prototype.toString,md.prototype.equals=function(Rf){if(!md.isBuffer(Rf))throw new TypeError("Argument must be a Buffer");return this===Rf?!0:md.compare(this,Rf)===0},md.prototype.inspect=function(){let Rf="";const If=Ra.INSPECT_MAX_BYTES;return Rf=this.toString("hex",0,If).replace(/(.{2})/g,"$1 ").trim(),this.length>If&&(Rf+=" ... "),"<Buffer "+Rf+">"},od&&(md.prototype[od]=md.prototype.inspect),md.prototype.compare=function(Rf,If,dh,yh,Uh){if(fm(Rf,ud)&&(Rf=md.from(Rf,Rf.offset,Rf.byteLength)),!md.isBuffer(Rf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Rf);if(If===void 0&&(If=0),dh===void 0&&(dh=Rf?Rf.length:0),yh===void 0&&(yh=0),Uh===void 0&&(Uh=this.length),If<0||dh>Rf.length||yh<0||Uh>this.length)throw new RangeError("out of range index");if(yh>=Uh&&If>=dh)return 0;if(yh>=Uh)return-1;if(If>=dh)return 1;if(If>>>=0,dh>>>=0,yh>>>=0,Uh>>>=0,this===Rf)return 0;let Zh=Uh-yh,_m=dh-If;const Um=Math.min(Zh,_m),Om=this.slice(yh,Uh),r_=Rf.slice(If,dh);for(let Xm=0;Xm<Um;++Xm)if(Om[Xm]!==r_[Xm]){Zh=Om[Xm],_m=r_[Xm];break}return Zh<_m?-1:_m<Zh?1:0};function Wd(fh,Rf,If,dh,yh){if(fh.length===0)return-1;if(typeof If=="string"?(dh=If,If=0):If>2147483647?If=2147483647:If<-2147483648&&(If=-2147483648),If=+If,Nm(If)&&(If=yh?0:fh.length-1),If<0&&(If=fh.length+If),If>=fh.length){if(yh)return-1;If=fh.length-1}else if(If<0)if(yh)If=0;else return-1;if(typeof Rf=="string"&&(Rf=md.from(Rf,dh)),md.isBuffer(Rf))return Rf.length===0?-1:Zd(fh,Rf,If,dh,yh);if(typeof Rf=="number")return Rf=Rf&255,typeof ud.prototype.indexOf=="function"?yh?ud.prototype.indexOf.call(fh,Rf,If):ud.prototype.lastIndexOf.call(fh,Rf,If):Zd(fh,[Rf],If,dh,yh);throw new TypeError("val must be string, number or Buffer")}function Zd(fh,Rf,If,dh,yh){let Uh=1,Zh=fh.length,_m=Rf.length;if(dh!==void 0&&(dh=String(dh).toLowerCase(),dh==="ucs2"||dh==="ucs-2"||dh==="utf16le"||dh==="utf-16le")){if(fh.length<2||Rf.length<2)return-1;Uh=2,Zh/=2,_m/=2,If/=2}function Um(r_,Xm){return Uh===1?r_[Xm]:r_.readUInt16BE(Xm*Uh)}let Om;if(yh){let r_=-1;for(Om=If;Om<Zh;Om++)if(Um(fh,Om)===Um(Rf,r_===-1?0:Om-r_)){if(r_===-1&&(r_=Om),Om-r_+1===_m)return r_*Uh}else r_!==-1&&(Om-=Om-r_),r_=-1}else for(If+_m>Zh&&(If=Zh-_m),Om=If;Om>=0;Om--){let r_=!0;for(let Xm=0;Xm<_m;Xm++)if(Um(fh,Om+Xm)!==Um(Rf,Xm)){r_=!1;break}if(r_)return Om}return-1}md.prototype.includes=function(Rf,If,dh){return this.indexOf(Rf,If,dh)!==-1},md.prototype.indexOf=function(Rf,If,dh){return Wd(this,Rf,If,dh,!0)},md.prototype.lastIndexOf=function(Rf,If,dh){return Wd(this,Rf,If,dh,!1)};function Xd(fh,Rf,If,dh){If=Number(If)||0;const yh=fh.length-If;dh?(dh=Number(dh),dh>yh&&(dh=yh)):dh=yh;const Uh=Rf.length;dh>Uh/2&&(dh=Uh/2);let Zh;for(Zh=0;Zh<dh;++Zh){const _m=parseInt(Rf.substr(Zh*2,2),16);if(Nm(_m))return Zh;fh[If+Zh]=_m}return Zh}function bf(fh,Rf,If,dh){return wh(Th(Rf,fh.length-If),fh,If,dh)}function yf(fh,Rf,If,dh){return wh(vh(Rf),fh,If,dh)}function Ef(fh,Rf,If,dh){return wh(Vh(Rf),fh,If,dh)}function gf(fh,Rf,If,dh){return wh(ph(Rf,fh.length-If),fh,If,dh)}md.prototype.write=function(Rf,If,dh,yh){if(If===void 0)yh="utf8",dh=this.length,If=0;else if(dh===void 0&&typeof If=="string")yh=If,dh=this.length,If=0;else if(isFinite(If))If=If>>>0,isFinite(dh)?(dh=dh>>>0,yh===void 0&&(yh="utf8")):(yh=dh,dh=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Uh=this.length-If;if((dh===void 0||dh>Uh)&&(dh=Uh),Rf.length>0&&(dh<0||If<0)||If>this.length)throw new RangeError("Attempt to write outside buffer bounds");yh||(yh="utf8");let Zh=!1;for(;;)switch(yh){case"hex":return Xd(this,Rf,If,dh);case"utf8":case"utf-8":return bf(this,Rf,If,dh);case"ascii":case"latin1":case"binary":return yf(this,Rf,If,dh);case"base64":return Ef(this,Rf,If,dh);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gf(this,Rf,If,dh);default:if(Zh)throw new TypeError("Unknown encoding: "+yh);yh=(""+yh).toLowerCase(),Zh=!0}},md.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xf(fh,Rf,If){return Rf===0&&If===fh.length?qa.fromByteArray(fh):qa.fromByteArray(fh.slice(Rf,If))}function Af(fh,Rf,If){If=Math.min(fh.length,If);const dh=[];let yh=Rf;for(;yh<If;){const Uh=fh[yh];let Zh=null,_m=Uh>239?4:Uh>223?3:Uh>191?2:1;if(yh+_m<=If){let Um,Om,r_,Xm;switch(_m){case 1:Uh<128&&(Zh=Uh);break;case 2:Um=fh[yh+1],(Um&192)===128&&(Xm=(Uh&31)<<6|Um&63,Xm>127&&(Zh=Xm));break;case 3:Um=fh[yh+1],Om=fh[yh+2],(Um&192)===128&&(Om&192)===128&&(Xm=(Uh&15)<<12|(Um&63)<<6|Om&63,Xm>2047&&(Xm<55296||Xm>57343)&&(Zh=Xm));break;case 4:Um=fh[yh+1],Om=fh[yh+2],r_=fh[yh+3],(Um&192)===128&&(Om&192)===128&&(r_&192)===128&&(Xm=(Uh&15)<<18|(Um&63)<<12|(Om&63)<<6|r_&63,Xm>65535&&Xm<1114112&&(Zh=Xm))}}Zh===null?(Zh=65533,_m=1):Zh>65535&&(Zh-=65536,dh.push(Zh>>>10&1023|55296),Zh=56320|Zh&1023),dh.push(Zh),yh+=_m}return Xf(dh)}const Lf=4096;function Xf(fh){const Rf=fh.length;if(Rf<=Lf)return String.fromCharCode.apply(String,fh);let If="",dh=0;for(;dh<Rf;)If+=String.fromCharCode.apply(String,fh.slice(dh,dh+=Lf));return If}function Jf(fh,Rf,If){let dh="";If=Math.min(fh.length,If);for(let yh=Rf;yh<If;++yh)dh+=String.fromCharCode(fh[yh]&127);return dh}function Zf(fh,Rf,If){let dh="";If=Math.min(fh.length,If);for(let yh=Rf;yh<If;++yh)dh+=String.fromCharCode(fh[yh]);return dh}function Bf(fh,Rf,If){const dh=fh.length;(!Rf||Rf<0)&&(Rf=0),(!If||If<0||If>dh)&&(If=dh);let yh="";for(let Uh=Rf;Uh<If;++Uh)yh+=cm[fh[Uh]];return yh}function Df(fh,Rf,If){const dh=fh.slice(Rf,If);let yh="";for(let Uh=0;Uh<dh.length-1;Uh+=2)yh+=String.fromCharCode(dh[Uh]+dh[Uh+1]*256);return yh}md.prototype.slice=function(Rf,If){const dh=this.length;Rf=~~Rf,If=If===void 0?dh:~~If,Rf<0?(Rf+=dh,Rf<0&&(Rf=0)):Rf>dh&&(Rf=dh),If<0?(If+=dh,If<0&&(If=0)):If>dh&&(If=dh),If<Rf&&(If=Rf);const yh=this.subarray(Rf,If);return Object.setPrototypeOf(yh,md.prototype),yh};function Uf(fh,Rf,If){if(fh%1!==0||fh<0)throw new RangeError("offset is not uint");if(fh+Rf>If)throw new RangeError("Trying to access beyond buffer length")}md.prototype.readUintLE=md.prototype.readUIntLE=function(Rf,If,dh){Rf=Rf>>>0,If=If>>>0,dh||Uf(Rf,If,this.length);let yh=this[Rf],Uh=1,Zh=0;for(;++Zh<If&&(Uh*=256);)yh+=this[Rf+Zh]*Uh;return yh},md.prototype.readUintBE=md.prototype.readUIntBE=function(Rf,If,dh){Rf=Rf>>>0,If=If>>>0,dh||Uf(Rf,If,this.length);let yh=this[Rf+--If],Uh=1;for(;If>0&&(Uh*=256);)yh+=this[Rf+--If]*Uh;return yh},md.prototype.readUint8=md.prototype.readUInt8=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,1,this.length),this[Rf]},md.prototype.readUint16LE=md.prototype.readUInt16LE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,2,this.length),this[Rf]|this[Rf+1]<<8},md.prototype.readUint16BE=md.prototype.readUInt16BE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,2,this.length),this[Rf]<<8|this[Rf+1]},md.prototype.readUint32LE=md.prototype.readUInt32LE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,4,this.length),(this[Rf]|this[Rf+1]<<8|this[Rf+2]<<16)+this[Rf+3]*16777216},md.prototype.readUint32BE=md.prototype.readUInt32BE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,4,this.length),this[Rf]*16777216+(this[Rf+1]<<16|this[Rf+2]<<8|this[Rf+3])},md.prototype.readBigUInt64LE=Sm(function(Rf){Rf=Rf>>>0,Qf(Rf,"offset");const If=this[Rf],dh=this[Rf+7];(If===void 0||dh===void 0)&&wf(Rf,this.length-8);const yh=If+this[++Rf]*2**8+this[++Rf]*2**16+this[++Rf]*2**24,Uh=this[++Rf]+this[++Rf]*2**8+this[++Rf]*2**16+dh*2**24;return BigInt(yh)+(BigInt(Uh)<<BigInt(32))}),md.prototype.readBigUInt64BE=Sm(function(Rf){Rf=Rf>>>0,Qf(Rf,"offset");const If=this[Rf],dh=this[Rf+7];(If===void 0||dh===void 0)&&wf(Rf,this.length-8);const yh=If*2**24+this[++Rf]*2**16+this[++Rf]*2**8+this[++Rf],Uh=this[++Rf]*2**24+this[++Rf]*2**16+this[++Rf]*2**8+dh;return(BigInt(yh)<<BigInt(32))+BigInt(Uh)}),md.prototype.readIntLE=function(Rf,If,dh){Rf=Rf>>>0,If=If>>>0,dh||Uf(Rf,If,this.length);let yh=this[Rf],Uh=1,Zh=0;for(;++Zh<If&&(Uh*=256);)yh+=this[Rf+Zh]*Uh;return Uh*=128,yh>=Uh&&(yh-=Math.pow(2,8*If)),yh},md.prototype.readIntBE=function(Rf,If,dh){Rf=Rf>>>0,If=If>>>0,dh||Uf(Rf,If,this.length);let yh=If,Uh=1,Zh=this[Rf+--yh];for(;yh>0&&(Uh*=256);)Zh+=this[Rf+--yh]*Uh;return Uh*=128,Zh>=Uh&&(Zh-=Math.pow(2,8*If)),Zh},md.prototype.readInt8=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,1,this.length),this[Rf]&128?(255-this[Rf]+1)*-1:this[Rf]},md.prototype.readInt16LE=function(Rf,If){Rf=Rf>>>0,If||Uf(Rf,2,this.length);const dh=this[Rf]|this[Rf+1]<<8;return dh&32768?dh|4294901760:dh},md.prototype.readInt16BE=function(Rf,If){Rf=Rf>>>0,If||Uf(Rf,2,this.length);const dh=this[Rf+1]|this[Rf]<<8;return dh&32768?dh|4294901760:dh},md.prototype.readInt32LE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,4,this.length),this[Rf]|this[Rf+1]<<8|this[Rf+2]<<16|this[Rf+3]<<24},md.prototype.readInt32BE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,4,this.length),this[Rf]<<24|this[Rf+1]<<16|this[Rf+2]<<8|this[Rf+3]},md.prototype.readBigInt64LE=Sm(function(Rf){Rf=Rf>>>0,Qf(Rf,"offset");const If=this[Rf],dh=this[Rf+7];(If===void 0||dh===void 0)&&wf(Rf,this.length-8);const yh=this[Rf+4]+this[Rf+5]*2**8+this[Rf+6]*2**16+(dh<<24);return(BigInt(yh)<<BigInt(32))+BigInt(If+this[++Rf]*2**8+this[++Rf]*2**16+this[++Rf]*2**24)}),md.prototype.readBigInt64BE=Sm(function(Rf){Rf=Rf>>>0,Qf(Rf,"offset");const If=this[Rf],dh=this[Rf+7];(If===void 0||dh===void 0)&&wf(Rf,this.length-8);const yh=(If<<24)+this[++Rf]*2**16+this[++Rf]*2**8+this[++Rf];return(BigInt(yh)<<BigInt(32))+BigInt(this[++Rf]*2**24+this[++Rf]*2**16+this[++Rf]*2**8+dh)}),md.prototype.readFloatLE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,4,this.length),nd.read(this,Rf,!0,23,4)},md.prototype.readFloatBE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,4,this.length),nd.read(this,Rf,!1,23,4)},md.prototype.readDoubleLE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,8,this.length),nd.read(this,Rf,!0,52,8)},md.prototype.readDoubleBE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,8,this.length),nd.read(this,Rf,!1,52,8)};function Gf(fh,Rf,If,dh,yh,Uh){if(!md.isBuffer(fh))throw new TypeError('"buffer" argument must be a Buffer instance');if(Rf>yh||Rf<Uh)throw new RangeError('"value" argument is out of bounds');if(If+dh>fh.length)throw new RangeError("Index out of range")}md.prototype.writeUintLE=md.prototype.writeUIntLE=function(Rf,If,dh,yh){if(Rf=+Rf,If=If>>>0,dh=dh>>>0,!yh){const _m=Math.pow(2,8*dh)-1;Gf(this,Rf,If,dh,_m,0)}let Uh=1,Zh=0;for(this[If]=Rf&255;++Zh<dh&&(Uh*=256);)this[If+Zh]=Rf/Uh&255;return If+dh},md.prototype.writeUintBE=md.prototype.writeUIntBE=function(Rf,If,dh,yh){if(Rf=+Rf,If=If>>>0,dh=dh>>>0,!yh){const _m=Math.pow(2,8*dh)-1;Gf(this,Rf,If,dh,_m,0)}let Uh=dh-1,Zh=1;for(this[If+Uh]=Rf&255;--Uh>=0&&(Zh*=256);)this[If+Uh]=Rf/Zh&255;return If+dh},md.prototype.writeUint8=md.prototype.writeUInt8=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,1,255,0),this[If]=Rf&255,If+1},md.prototype.writeUint16LE=md.prototype.writeUInt16LE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,2,65535,0),this[If]=Rf&255,this[If+1]=Rf>>>8,If+2},md.prototype.writeUint16BE=md.prototype.writeUInt16BE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,2,65535,0),this[If]=Rf>>>8,this[If+1]=Rf&255,If+2},md.prototype.writeUint32LE=md.prototype.writeUInt32LE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,4,4294967295,0),this[If+3]=Rf>>>24,this[If+2]=Rf>>>16,this[If+1]=Rf>>>8,this[If]=Rf&255,If+4},md.prototype.writeUint32BE=md.prototype.writeUInt32BE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,4,4294967295,0),this[If]=Rf>>>24,this[If+1]=Rf>>>16,this[If+2]=Rf>>>8,this[If+3]=Rf&255,If+4};function zf(fh,Rf,If,dh,yh){xh(Rf,dh,yh,fh,If,7);let Uh=Number(Rf&BigInt(4294967295));fh[If++]=Uh,Uh=Uh>>8,fh[If++]=Uh,Uh=Uh>>8,fh[If++]=Uh,Uh=Uh>>8,fh[If++]=Uh;let Zh=Number(Rf>>BigInt(32)&BigInt(4294967295));return fh[If++]=Zh,Zh=Zh>>8,fh[If++]=Zh,Zh=Zh>>8,fh[If++]=Zh,Zh=Zh>>8,fh[If++]=Zh,If}function Tf(fh,Rf,If,dh,yh){xh(Rf,dh,yh,fh,If,7);let Uh=Number(Rf&BigInt(4294967295));fh[If+7]=Uh,Uh=Uh>>8,fh[If+6]=Uh,Uh=Uh>>8,fh[If+5]=Uh,Uh=Uh>>8,fh[If+4]=Uh;let Zh=Number(Rf>>BigInt(32)&BigInt(4294967295));return fh[If+3]=Zh,Zh=Zh>>8,fh[If+2]=Zh,Zh=Zh>>8,fh[If+1]=Zh,Zh=Zh>>8,fh[If]=Zh,If+8}md.prototype.writeBigUInt64LE=Sm(function(Rf,If=0){return zf(this,Rf,If,BigInt(0),BigInt("0xffffffffffffffff"))}),md.prototype.writeBigUInt64BE=Sm(function(Rf,If=0){return Tf(this,Rf,If,BigInt(0),BigInt("0xffffffffffffffff"))}),md.prototype.writeIntLE=function(Rf,If,dh,yh){if(Rf=+Rf,If=If>>>0,!yh){const Um=Math.pow(2,8*dh-1);Gf(this,Rf,If,dh,Um-1,-Um)}let Uh=0,Zh=1,_m=0;for(this[If]=Rf&255;++Uh<dh&&(Zh*=256);)Rf<0&&_m===0&&this[If+Uh-1]!==0&&(_m=1),this[If+Uh]=(Rf/Zh>>0)-_m&255;return If+dh},md.prototype.writeIntBE=function(Rf,If,dh,yh){if(Rf=+Rf,If=If>>>0,!yh){const Um=Math.pow(2,8*dh-1);Gf(this,Rf,If,dh,Um-1,-Um)}let Uh=dh-1,Zh=1,_m=0;for(this[If+Uh]=Rf&255;--Uh>=0&&(Zh*=256);)Rf<0&&_m===0&&this[If+Uh+1]!==0&&(_m=1),this[If+Uh]=(Rf/Zh>>0)-_m&255;return If+dh},md.prototype.writeInt8=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,1,127,-128),Rf<0&&(Rf=255+Rf+1),this[If]=Rf&255,If+1},md.prototype.writeInt16LE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,2,32767,-32768),this[If]=Rf&255,this[If+1]=Rf>>>8,If+2},md.prototype.writeInt16BE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,2,32767,-32768),this[If]=Rf>>>8,this[If+1]=Rf&255,If+2},md.prototype.writeInt32LE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,4,2147483647,-2147483648),this[If]=Rf&255,this[If+1]=Rf>>>8,this[If+2]=Rf>>>16,this[If+3]=Rf>>>24,If+4},md.prototype.writeInt32BE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,4,2147483647,-2147483648),Rf<0&&(Rf=4294967295+Rf+1),this[If]=Rf>>>24,this[If+1]=Rf>>>16,this[If+2]=Rf>>>8,this[If+3]=Rf&255,If+4},md.prototype.writeBigInt64LE=Sm(function(Rf,If=0){return zf(this,Rf,If,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),md.prototype.writeBigInt64BE=Sm(function(Rf,If=0){return Tf(this,Rf,If,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function vf(fh,Rf,If,dh,yh,Uh){if(If+dh>fh.length)throw new RangeError("Index out of range");if(If<0)throw new RangeError("Index out of range")}function qf(fh,Rf,If,dh,yh){return Rf=+Rf,If=If>>>0,yh||vf(fh,Rf,If,4),nd.write(fh,Rf,If,dh,23,4),If+4}md.prototype.writeFloatLE=function(Rf,If,dh){return qf(this,Rf,If,!0,dh)},md.prototype.writeFloatBE=function(Rf,If,dh){return qf(this,Rf,If,!1,dh)};function eh(fh,Rf,If,dh,yh){return Rf=+Rf,If=If>>>0,yh||vf(fh,Rf,If,8),nd.write(fh,Rf,If,dh,52,8),If+8}md.prototype.writeDoubleLE=function(Rf,If,dh){return eh(this,Rf,If,!0,dh)},md.prototype.writeDoubleBE=function(Rf,If,dh){return eh(this,Rf,If,!1,dh)},md.prototype.copy=function(Rf,If,dh,yh){if(!md.isBuffer(Rf))throw new TypeError("argument should be a Buffer");if(dh||(dh=0),!yh&&yh!==0&&(yh=this.length),If>=Rf.length&&(If=Rf.length),If||(If=0),yh>0&&yh<dh&&(yh=dh),yh===dh||Rf.length===0||this.length===0)return 0;if(If<0)throw new RangeError("targetStart out of bounds");if(dh<0||dh>=this.length)throw new RangeError("Index out of range");if(yh<0)throw new RangeError("sourceEnd out of bounds");yh>this.length&&(yh=this.length),Rf.length-If<yh-dh&&(yh=Rf.length-If+dh);const Uh=yh-dh;return this===Rf&&typeof ud.prototype.copyWithin=="function"?this.copyWithin(If,dh,yh):ud.prototype.set.call(Rf,this.subarray(dh,yh),If),Uh},md.prototype.fill=function(Rf,If,dh,yh){if(typeof Rf=="string"){if(typeof If=="string"?(yh=If,If=0,dh=this.length):typeof dh=="string"&&(yh=dh,dh=this.length),yh!==void 0&&typeof yh!="string")throw new TypeError("encoding must be a string");if(typeof yh=="string"&&!md.isEncoding(yh))throw new TypeError("Unknown encoding: "+yh);if(Rf.length===1){const Zh=Rf.charCodeAt(0);(yh==="utf8"&&Zh<128||yh==="latin1")&&(Rf=Zh)}}else typeof Rf=="number"?Rf=Rf&255:typeof Rf=="boolean"&&(Rf=Number(Rf));if(If<0||this.length<If||this.length<dh)throw new RangeError("Out of range index");if(dh<=If)return this;If=If>>>0,dh=dh===void 0?this.length:dh>>>0,Rf||(Rf=0);let Uh;if(typeof Rf=="number")for(Uh=If;Uh<dh;++Uh)this[Uh]=Rf;else{const Zh=md.isBuffer(Rf)?Rf:md.from(Rf,yh),_m=Zh.length;if(_m===0)throw new TypeError('The value "'+Rf+'" is invalid for argument "value"');for(Uh=0;Uh<dh-If;++Uh)this[Uh+If]=Zh[Uh%_m]}return this};const ch={};function ih(fh,Rf,If){ch[fh]=class extends If{constructor(){super(),Object.defineProperty(this,"message",{value:Rf.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${fh}]`,this.stack,delete this.name}get code(){return fh}set code(yh){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:yh,writable:!0})}toString(){return`${this.name} [${fh}]: ${this.message}`}}}ih("ERR_BUFFER_OUT_OF_BOUNDS",function(fh){return fh?`${fh} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ih("ERR_INVALID_ARG_TYPE",function(fh,Rf){return`The "${fh}" argument must be of type number. Received type ${typeof Rf}`},TypeError),ih("ERR_OUT_OF_RANGE",function(fh,Rf,If){let dh=`The value of "${fh}" is out of range.`,yh=If;return Number.isInteger(If)&&Math.abs(If)>2**32?yh=Pf(String(If)):typeof If=="bigint"&&(yh=String(If),(If>BigInt(2)**BigInt(32)||If<-(BigInt(2)**BigInt(32)))&&(yh=Pf(yh)),yh+="n"),dh+=` It must be ${Rf}. Received ${yh}`,dh},RangeError);function Pf(fh){let Rf="",If=fh.length;const dh=fh[0]==="-"?1:0;for(;If>=dh+4;If-=3)Rf=`_${fh.slice(If-3,If)}${Rf}`;return`${fh.slice(0,If)}${Rf}`}function uh(fh,Rf,If){Qf(Rf,"offset"),(fh[Rf]===void 0||fh[Rf+If]===void 0)&&wf(Rf,fh.length-(If+1))}function xh(fh,Rf,If,dh,yh,Uh){if(fh>If||fh<Rf){const Zh=typeof Rf=="bigint"?"n":"";let _m;throw Rf===0||Rf===BigInt(0)?_m=`>= 0${Zh} and < 2${Zh} ** ${(Uh+1)*8}${Zh}`:_m=`>= -(2${Zh} ** ${(Uh+1)*8-1}${Zh}) and < 2 ** ${(Uh+1)*8-1}${Zh}`,new ch.ERR_OUT_OF_RANGE("value",_m,fh)}uh(dh,yh,Uh)}function Qf(fh,Rf){if(typeof fh!="number")throw new ch.ERR_INVALID_ARG_TYPE(Rf,"number",fh)}function wf(fh,Rf,If){throw Math.floor(fh)!==fh?(Qf(fh,If),new ch.ERR_OUT_OF_RANGE("offset","an integer",fh)):Rf<0?new ch.ERR_BUFFER_OUT_OF_BOUNDS:new ch.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${Rf}`,fh)}const $f=/[^+/0-9A-Za-z-_]/g;function Wf(fh){if(fh=fh.split("=")[0],fh=fh.trim().replace($f,""),fh.length<2)return"";for(;fh.length%4!==0;)fh=fh+"=";return fh}function Th(fh,Rf){Rf=Rf||1/0;let If;const dh=fh.length;let yh=null;const Uh=[];for(let Zh=0;Zh<dh;++Zh){if(If=fh.charCodeAt(Zh),If>55295&&If<57344){if(!yh){if(If>56319){(Rf-=3)>-1&&Uh.push(239,191,189);continue}else if(Zh+1===dh){(Rf-=3)>-1&&Uh.push(239,191,189);continue}yh=If;continue}if(If<56320){(Rf-=3)>-1&&Uh.push(239,191,189),yh=If;continue}If=(yh-55296<<10|If-56320)+65536}else yh&&(Rf-=3)>-1&&Uh.push(239,191,189);if(yh=null,If<128){if((Rf-=1)<0)break;Uh.push(If)}else if(If<2048){if((Rf-=2)<0)break;Uh.push(If>>6|192,If&63|128)}else if(If<65536){if((Rf-=3)<0)break;Uh.push(If>>12|224,If>>6&63|128,If&63|128)}else if(If<1114112){if((Rf-=4)<0)break;Uh.push(If>>18|240,If>>12&63|128,If>>6&63|128,If&63|128)}else throw new Error("Invalid code point")}return Uh}function vh(fh){const Rf=[];for(let If=0;If<fh.length;++If)Rf.push(fh.charCodeAt(If)&255);return Rf}function ph(fh,Rf){let If,dh,yh;const Uh=[];for(let Zh=0;Zh<fh.length&&!((Rf-=2)<0);++Zh)If=fh.charCodeAt(Zh),dh=If>>8,yh=If%256,Uh.push(yh),Uh.push(dh);return Uh}function Vh(fh){return qa.toByteArray(Wf(fh))}function wh(fh,Rf,If,dh){let yh;for(yh=0;yh<dh&&!(yh+If>=Rf.length||yh>=fh.length);++yh)Rf[yh+If]=fh[yh];return yh}function fm(fh,Rf){return fh instanceof Rf||fh!=null&&fh.constructor!=null&&fh.constructor.name!=null&&fh.constructor.name===Rf.name}function Nm(fh){return fh!==fh}const cm=function(){const fh="0123456789abcdef",Rf=new Array(256);for(let If=0;If<16;++If){const dh=If*16;for(let yh=0;yh<16;++yh)Rf[dh+yh]=fh[If]+fh[yh]}return Rf}();function Sm(fh){return typeof BigInt>"u"?$m:fh}function $m(){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],cd=Object.getOwnPropertyDescriptor(Ra,ud);(cd==null||cd.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],cd=Ra[ld];Array.isArray(ud)?Array.isArray(cd)?Ra[ld]=merge$4(cd,ud):Ra[ld]=merge$4([],ud):isPlainObject$2(ud)?isPlainObject$2(cd)?Ra[ld]=merge$4(cd,ud):Ra[ld]=merge$4({},ud):(cd===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$1(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$1(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 cd=qa.charCodeAt(nd);if(this.treeIndex=determineBranch(od,ld,this.treeIndex+Math.max(1,ud),cd),this.treeIndex<0)return this.result===0||this.decodeMode===DecodingMode.Attribute&&(ud===0||isEntityInAttributeInvalidEnd(cd))?0:this.emitNotTerminatedNamedEntity();if(ld=od[this.treeIndex],ud=(ld&BinTrieFlags.VALUE_LENGTH)>>14,ud!==0){if(cd===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 cd=0,dd=0;for(;(dd=ld.indexOf("&",dd))>=0;){qa+=ld.slice(cd,dd),nd.startEntity(ud);const fd=nd.write(ld,dd+1);if(fd<0){cd=dd+nd.end();break}cd=dd+fd,dd=fd===0?cd+1:cd}const pd=qa+ld.slice(cd);return qa="",pd}}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 pd=od-ud;return pd<0||pd>=ld?-1:Ra[nd+pd]-1}let cd=nd,dd=cd+ld-1;for(;cd<=dd;){const pd=cd+dd>>>1,fd=Ra[pd];if(fd<od)cd=pd+1;else if(fd>od)dd=pd-1;else return Ra[pd+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),cd=xmlCodeMap.get(ud);cd!==void 0?(qa+=Ra.substring(nd,ld)+cd,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,cd="";for(;ld=Ra.exec(od);)ud!==ld.index&&(cd+=od.substring(ud,ld.index)),cd+=qa.get(ld[0].charCodeAt(0)),ud=ld.index+1;return cd+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,cd;const dd=(ud=Ra[ld])!==null&&ud!==void 0?ud:"";return qa.xmlMode==="foreign"&&(ld=(cd=attributeNames.get(ld))!==null&&cd!==void 0?cd:ld),!qa.emptyAttrs&&!qa.xmlMode&&dd===""?ld:`${ld}="${od(dd)}"`}).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$1(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],cd=[0];for(;;){if(cd[0]>=ud[0].length){if(cd.length===1)return ld;ud.shift(),cd.shift();continue}const dd=ud[0][cd[0]++];if(Ra(dd)&&(ld.push(dd),--od<=0))return ld;nd&&hasChildren(dd)&&dd.children.length>0&&(cd.unshift(0),ud.unshift(dd.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 cd=0;for(;cd<ud&&nd[cd]===od[cd];)cd++;if(cd===0)return DocumentPosition$1.DISCONNECTED;const dd=nd[cd-1],pd=dd.children,fd=nd[cd],md=od[cd];return pd.indexOf(fd)>pd.indexOf(md)?dd===qa?DocumentPosition$1.FOLLOWING|DocumentPosition$1.CONTAINED_BY:DocumentPosition$1.FOLLOWING:dd===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(cd=>{var dd;const{children:pd}=cd,fd={media:getMediaElements(pd)};addConditionally(fd,"id","id",pd),addConditionally(fd,"title","title",pd);const md=(dd=getOneElement("link",pd))===null||dd===void 0?void 0:dd.attribs.href;md&&(fd.link=md);const vd=fetch$1("summary",pd)||fetch$1("content",pd);vd&&(fd.description=vd);const Ad=fetch$1("updated",pd);return Ad&&(fd.pubDate=new Date(Ad)),fd})};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(cd=>{const{children:dd}=cd,pd={media:getMediaElements(dd)};addConditionally(pd,"id","guid",dd),addConditionally(pd,"title","title",dd),addConditionally(pd,"link","link",dd),addConditionally(pd,"description","description",dd);const fd=fetch$1("pubDate",dd)||fetch$1("dc:date",dd);return fd&&(pd.pubDate=new Date(fd)),pd})};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$1,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(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(this[0],Ra,this.options.xmlMode)}function getProp(Ra,qa,nd){return qa in Ra?Ra[qa]:!nd&&rboolean.test(qa)?getAttr(Ra,qa,!1)!==void 0:getAttr(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 cd=0;cd<ud.length;cd++)ld[cd]=ud[cd];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(ld,"class",!1);if(ud){let cd=` ${ud} `;for(const dd of qa){const pd=`${dd} `;cd.includes(` ${pd}`)||(cd+=pd)}setAttr(ld,"class",cd.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 cd=!1;for(let dd=0;dd<nd;dd++){const pd=ud.indexOf(qa[dd]);pd>=0&&(ud.splice(pd,1),cd=!0,dd--)}cd&&(ld.attribs.class=ud.join(" "))}})}function toggleClass(Ra,qa){if(typeof Ra=="function")return domEach(this,(cd,dd)=>{isTag(cd)&&toggleClass.call([cd],Ra.call(cd,dd,cd.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 cd=0;cd<ud;cd++){const dd=this[cd];if(!isTag(dd))continue;const pd=splitNames(dd.attribs.class);for(let fd=0;fd<od;fd++){const md=pd.indexOf(nd[fd]);ld>=0&&md<0?pd.push(nd[fd]):ld<=0&&md>=0&&pd.splice(md,1)}dd.attribs.class=pd.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;(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||(SelectorType={}));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.Adjacent:case SelectorType.Child:case SelectorType.Descendant:case SelectorType.Parent:case SelectorType.Sibling:case SelectorType.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(Ad){const Nd=qa.slice(nd+Ad).match(reName);if(!Nd)throw new Error(`Expected name, found ${qa.slice(nd)}`);const[Id]=Nd;return nd+=Ad+Id.length,unescapeCSS(Id)}function ud(Ad){for(nd+=Ad;nd<qa.length&&isWhitespace$3(qa.charCodeAt(nd));)nd++}function cd(){nd+=1;const Ad=nd;let Nd=1;for(;Nd>0&&nd<qa.length;nd++)qa.charCodeAt(nd)===40&&!dd(nd)?Nd++:qa.charCodeAt(nd)===41&&!dd(nd)&&Nd--;if(Nd)throw new Error("Parenthesis not matched");return unescapeCSS(qa.slice(Ad,nd-1))}function dd(Ad){let Nd=0;for(;qa.charCodeAt(--Ad)===92;)Nd++;return(Nd&1)===1}function pd(){if(od.length>0&&isTraversal$1(od[od.length-1]))throw new Error("Did not expect successive traversals.")}function fd(Ad){if(od.length>0&&od[od.length-1].type===SelectorType.Descendant){od[od.length-1].type=Ad;return}pd(),od.push({type:Ad})}function md(Ad,Nd){od.push({type:SelectorType.Attribute,name:Ad,action:Nd,value:ld(1),namespace:null,ignoreCase:"quirks"})}function vd(){if(od.length&&od[od.length-1].type===SelectorType.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 Ad=qa.charCodeAt(nd);switch(Ad){case 32:case 9:case 10:case 12:case 13:{(od.length===0||od[0].type!==SelectorType.Descendant)&&(pd(),od.push({type:SelectorType.Descendant})),ud(1);break}case 62:{fd(SelectorType.Child),ud(1);break}case 60:{fd(SelectorType.Parent),ud(1);break}case 126:{fd(SelectorType.Sibling),ud(1);break}case 43:{fd(SelectorType.Adjacent),ud(1);break}case 46:{md("class",AttributeAction.Element);break}case 35:{md("id",AttributeAction.Equals);break}case 91:{ud(1);let Nd,Id=null;qa.charCodeAt(nd)===124?Nd=ld(1):qa.startsWith("*|",nd)?(Id="*",Nd=ld(2)):(Nd=ld(0),qa.charCodeAt(nd)===124&&qa.charCodeAt(nd+1)!==61&&(Id=Nd,Nd=ld(1))),ud(0);let kd=AttributeAction.Exists;const jd=actionTypes.get(qa.charCodeAt(nd));if(jd){if(kd=jd,qa.charCodeAt(nd+1)!==61)throw new Error("Expected `=`");ud(2)}else qa.charCodeAt(nd)===61&&(kd=AttributeAction.Equals,ud(1));let Fd="",Md=null;if(kd!=="exists"){if(isQuote(qa.charCodeAt(nd))){const Gd=qa.charCodeAt(nd);let Vd=nd+1;for(;Vd<qa.length&&(qa.charCodeAt(Vd)!==Gd||dd(Vd));)Vd+=1;if(qa.charCodeAt(Vd)!==Gd)throw new Error("Attribute value didn't end");Fd=unescapeCSS(qa.slice(nd+1,Vd)),nd=Vd+1}else{const Gd=nd;for(;nd<qa.length&&(!isWhitespace$3(qa.charCodeAt(nd))&&qa.charCodeAt(nd)!==93||dd(nd));)nd+=1;Fd=unescapeCSS(qa.slice(Gd,nd))}ud(0);const Hd=qa.charCodeAt(nd)|32;Hd===115?(Md=!1,ud(1)):Hd===105&&(Md=!0,ud(1))}if(qa.charCodeAt(nd)!==93)throw new Error("Attribute selector didn't terminate");nd+=1;const Ld={type:SelectorType.Attribute,name:Nd,action:kd,value:Fd,namespace:Id,ignoreCase:Md};od.push(Ld);break}case 58:{if(qa.charCodeAt(nd+1)===58){od.push({type:SelectorType.PseudoElement,name:ld(2).toLowerCase(),data:qa.charCodeAt(nd)===40?cd():null});continue}const Nd=ld(1).toLowerCase();let Id=null;if(qa.charCodeAt(nd)===40)if(unpackPseudos.has(Nd)){if(isQuote(qa.charCodeAt(nd+1)))throw new Error(`Pseudo-selector ${Nd} cannot be quoted`);if(Id=[],nd=parseSelector(Id,qa,nd+1),qa.charCodeAt(nd)!==41)throw new Error(`Missing closing parenthesis in :${Nd} (${qa})`);nd+=1}else{if(Id=cd(),stripQuotesFromPseudos.has(Nd)){const kd=Id.charCodeAt(0);kd===Id.charCodeAt(Id.length-1)&&isQuote(kd)&&(Id=Id.slice(1,-1))}Id=unescapeCSS(Id)}od.push({type:SelectorType.Pseudo,name:Nd,data:Id});break}case 44:{vd(),od=[],ud(1);break}default:{if(qa.startsWith("/*",nd)){const kd=qa.indexOf("*/",nd+2);if(kd<0)throw new Error("Comment was not terminated");nd=kd+2,od.length===0&&ud(0);break}let Nd=null,Id;if(Ad===42)nd+=1,Id="*";else if(Ad===124){if(Id="",qa.charCodeAt(nd+1)===124){fd(SelectorType.ColumnCombinator),ud(2);break}}else if(reName.test(qa.slice(nd)))Id=ld(0);else break e;qa.charCodeAt(nd)===124&&qa.charCodeAt(nd+1)!==124&&(Nd=Id,qa.charCodeAt(nd+1)===42?(Id="*",nd+=2):Id=ld(1)),od.push(Id==="*"?{type:SelectorType.Universal,namespace:Nd}:{type:SelectorType.Tag,name:Id,namespace:Nd})}}}return vd(),nd}var boolbase={trueFunc:function(){return!0},falseFunc:function(){return!1}};const boolbase$1=getDefaultExportFromCjs(boolbase),procedure=new Map([[SelectorType.Universal,50],[SelectorType.Tag,30],[SelectorType.Attribute,1],[SelectorType.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.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.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(),cd=>{const dd=od.getAttributeValue(cd,ld);return dd!=null&&dd.length===ud.length&&dd.toLowerCase()===ud&&Ra(cd)}):cd=>od.getAttributeValue(cd,ld)===ud&&Ra(cd)},hyphen(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;const cd=ud.length;return shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),function(pd){const fd=od.getAttributeValue(pd,ld);return fd!=null&&(fd.length===cd||fd.charAt(cd)==="-")&&fd.substr(0,cd).toLowerCase()===ud&&Ra(pd)}):function(pd){const fd=od.getAttributeValue(pd,ld);return fd!=null&&(fd.length===cd||fd.charAt(cd)==="-")&&fd.substr(0,cd)===ud&&Ra(pd)}},element(Ra,qa,nd){const{adapter:od}=nd,{name:ld,value:ud}=qa;if(/\s/.test(ud))return boolbase$1.falseFunc;const cd=new RegExp(`(?:^|\\s)${escapeRegex(ud)}(?:$|\\s)`,shouldIgnoreCase(qa,nd)?"i":"");return function(pd){const fd=od.getAttributeValue(pd,ld);return fd!=null&&fd.length>=ud.length&&cd.test(fd)&&Ra(pd)}},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 cd=ud.length;return cd===0?boolbase$1.falseFunc:shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),dd=>{const pd=od.getAttributeValue(dd,ld);return pd!=null&&pd.length>=cd&&pd.substr(0,cd).toLowerCase()===ud&&Ra(dd)}):dd=>{var pd;return!!(!((pd=od.getAttributeValue(dd,ld))===null||pd===void 0)&&pd.startsWith(ud))&&Ra(dd)}},end(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;const cd=-ud.length;return cd===0?boolbase$1.falseFunc:shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),dd=>{var pd;return((pd=od.getAttributeValue(dd,ld))===null||pd===void 0?void 0:pd.substr(cd).toLowerCase())===ud&&Ra(dd)}):dd=>{var pd;return!!(!((pd=od.getAttributeValue(dd,ld))===null||pd===void 0)&&pd.endsWith(ud))&&Ra(dd)}},any(Ra,qa,nd){const{adapter:od}=nd,{name:ld,value:ud}=qa;if(ud==="")return boolbase$1.falseFunc;if(shouldIgnoreCase(qa,nd)){const cd=new RegExp(escapeRegex(ud),"i");return function(pd){const fd=od.getAttributeValue(pd,ld);return fd!=null&&fd.length>=ud.length&&cd.test(fd)&&Ra(pd)}}return cd=>{var dd;return!!(!((dd=od.getAttributeValue(cd,ld))===null||dd===void 0)&&dd.includes(ud))&&Ra(cd)}},not(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;return ud===""?cd=>!!od.getAttributeValue(cd,ld)&&Ra(cd):shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),cd=>{const dd=od.getAttributeValue(cd,ld);return(dd==null||dd.length!==ud.length||dd.toLowerCase()!==ud)&&Ra(cd)}):cd=>od.getAttributeValue(cd,ld)!==ud&&Ra(cd)}},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=cd();if(qa<Ra.length&&Ra.charAt(qa)==="n"&&(qa++,nd=od*(ld??1),dd(),qa<Ra.length?(od=ud(),dd(),ld=cd()):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 cd(){const pd=qa;let fd=0;for(;qa<Ra.length&&Ra.charCodeAt(qa)>=ZERO&&Ra.charCodeAt(qa)<=NINE;)fd=fd*10+(Ra.charCodeAt(qa)-ZERO),qa++;return qa===pd?null:fd}function dd(){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(cd){const dd=nd.getSiblings(cd);let pd=0;for(let fd=0;fd<dd.length&&!od(cd,dd[fd]);fd++)nd.isTag(dd[fd])&&pd++;return ld(pd)&&Ra(cd)}},"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(cd){const dd=nd.getSiblings(cd);let pd=0;for(let fd=dd.length-1;fd>=0&&!od(cd,dd[fd]);fd--)nd.isTag(dd[fd])&&pd++;return ld(pd)&&Ra(cd)}},"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(cd){const dd=nd.getSiblings(cd);let pd=0;for(let fd=0;fd<dd.length;fd++){const md=dd[fd];if(od(cd,md))break;nd.isTag(md)&&nd.getName(md)===nd.getName(cd)&&pd++}return ld(pd)&&Ra(cd)}},"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(cd){const dd=nd.getSiblings(cd);let pd=0;for(let fd=dd.length-1;fd>=0;fd--){const md=dd[fd];if(od(cd,md))break;nd.isTag(md)&&nd.getName(md)===nd.getName(cd)&&pd++}return ld(pd)&&Ra(cd)}},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(dd){return ud(dd)&&nd(dd)}}}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 cd=od[ud];if(nd(Ra,cd))return!0;if(qa.isTag(cd)&&qa.getName(cd)===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 cd=od[ud];if(nd(Ra,cd))return!0;if(qa.isTag(cd)&&qa.getName(cd)===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:cd=>ud(cd)&&Ra(cd)},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:cd=>!ud(cd)&&Ra(cd)},has(Ra,qa,nd,od,ld){const{adapter:ud}=nd,cd=copyOptions(nd);cd.relativeSelector=!0;const dd=qa.some(md=>md.some(isTraversal))?[PLACEHOLDER_ELEMENT]:void 0,pd=ld(qa,cd,dd);if(pd===boolbase$1.falseFunc)return boolbase$1.falseFunc;const fd=ensureIsTag(pd,ud);if(dd&&pd!==boolbase$1.trueFunc){const{shouldTestNextSiblings:md=!1}=pd;return vd=>{if(!Ra(vd))return!1;dd[0]=vd;const Ad=ud.getChildren(vd),Nd=md?[...Ad,...getNextSiblings(vd,ud)]:Ad;return ud.existsOne(fd,Nd)}}return md=>Ra(md)&&ud.existsOne(fd,ud.getChildren(md))}};function compilePseudoSelector(Ra,qa,nd,od,ld){var ud;const{name:cd,data:dd}=qa;if(Array.isArray(dd)){if(!(cd in subselects))throw new Error(`Unknown pseudo-class :${cd}(${dd})`);return subselects[cd](Ra,dd,nd,od,ld)}const pd=(ud=nd.pseudos)===null||ud===void 0?void 0:ud[cd],fd=typeof pd=="string"?pd:aliases[cd];if(typeof fd=="string"){if(dd!=null)throw new Error(`Pseudo ${cd} doesn't have any arguments`);const md=parse$7(fd);return subselects.is(Ra,md,nd,od,ld)}if(typeof pd=="function")return verifyPseudoArgs(pd,cd,dd,1),md=>pd(md,dd)&&Ra(md);if(cd in filters)return filters[cd](Ra,dd,nd,od);if(cd in pseudos){const md=pseudos[cd];return verifyPseudoArgs(md,cd,dd,2),vd=>md(vd,nd,dd)&&Ra(vd)}throw new Error(`Unknown pseudo-class :${cd}`)}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:cd}=nd;switch(qa.type){case SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case SelectorType.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.Pseudo:return compilePseudoSelector(Ra,qa,nd,od,ld);case SelectorType.Tag:{if(qa.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:dd}=qa;return(!nd.xmlMode||nd.lowerCaseTags)&&(dd=dd.toLowerCase()),function(fd){return ud.getName(fd)===dd&&Ra(fd)}}case SelectorType.Descendant:{if(nd.cacheResults===!1||typeof WeakSet>"u")return function(fd){let md=fd;for(;md=getElementParent(md,ud);)if(Ra(md))return!0;return!1};const dd=new WeakSet;return function(fd){let md=fd;for(;md=getElementParent(md,ud);)if(!dd.has(md)){if(ud.isTag(md)&&Ra(md))return!0;dd.add(md)}return!1}}case"_flexibleDescendant":return function(pd){let fd=pd;do if(Ra(fd))return!0;while(fd=getElementParent(fd,ud));return!1};case SelectorType.Parent:return function(pd){return ud.getChildren(pd).some(fd=>ud.isTag(fd)&&Ra(fd))};case SelectorType.Child:return function(pd){const fd=ud.getParent(pd);return fd!=null&&ud.isTag(fd)&&Ra(fd)};case SelectorType.Sibling:return function(pd){const fd=ud.getSiblings(pd);for(let md=0;md<fd.length;md++){const vd=fd[md];if(cd(pd,vd))break;if(ud.isTag(vd)&&Ra(vd))return!0}return!1};case SelectorType.Adjacent:return ud.prevElementSibling?function(pd){const fd=ud.prevElementSibling(pd);return fd!=null&&Ra(fd)}:function(pd){const fd=ud.getSiblings(pd);let md;for(let vd=0;vd<fd.length;vd++){const Ad=fd[vd];if(cd(pd,Ad))break;ud.isTag(Ad)&&(md=Ad)}return!!md&&Ra(md)};case SelectorType.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.Pseudo&&(Ra.name==="scope"||Array.isArray(Ra.data)&&Ra.data.some(qa=>qa.some(includesScopePseudo)))}const DESCENDANT_TOKEN={type:SelectorType.Descendant},FLEXIBLE_DESCENDANT_TOKEN={type:"_flexibleDescendant"},SCOPE_TOKEN={type:SelectorType.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.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(pd=>pd.length>0&&isTraversal(pd[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let cd=!1;const dd=Ra.map(pd=>{if(pd.length>=2){const[fd,md]=pd;fd.type!==SelectorType.Pseudo||fd.name!=="scope"||(ld&&md.type===SelectorType.Descendant?pd[1]=FLEXIBLE_DESCENDANT_TOKEN:(md.type===SelectorType.Adjacent||md.type===SelectorType.Sibling)&&(cd=!0))}return compileRules(pd,qa,ud)}).reduce(reduceRules,boolbase$1.falseFunc);return dd.shouldTestNextSiblings=cd,dd}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$3={adapter:DomUtils,equals:defaultEquals};function convertOptionFormats(Ra){var qa,nd,od,ld;const ud=Ra??defaultOptions$3;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.Universal,namespace:null},SCOPE_PSEUDO={type:SelectorType.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,cd)=>cd%2===0);case"odd":return qa.filter((ud,cd)=>cd%2===1);case"not":{const ud=new Set(filterParsed(nd,qa,od));return qa.filter(cd=>!ud.has(cd))}}}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 cd=filterElements(qa,od,nd);if(ld.length===0)return cd;cd.length&&(ud=new Set(cd))}for(let cd=0;cd<ld.length&&(ud==null?void 0:ud.size)!==qa.length;cd++){const dd=ld[cd];if((ud?qa.filter(md=>isTag(md)&&!ud.has(md)):qa).length===0)break;const fd=filterBySelector(dd,qa,nd);if(fd.length)if(ud)fd.forEach(md=>ud.add(md));else{if(cd===ld.length-1)return fd;ud=new Set(fd)}}return typeof ud<"u"?ud.size===qa.length?qa:qa.filter(cd=>ud.has(cd)):[]}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)),cd=ud.map(dd=>findFilterElements(qa,dd,nd,!0,od));return ld.length&&cd.push(findElements(qa,ld,nd,od)),cd.length===0?[]:cd.length===1?cd[0]:uniqueSort(cd.reduce((dd,pd)=>[...dd,...pd]))}function findFilterElements(Ra,qa,nd,od,ld){const ud=qa.findIndex(isFilter),cd=qa.slice(0,ud),dd=qa[ud],pd=qa.length-1===ud?ld:1/0,fd=getLimit(dd.name,dd.data,pd);if(fd===0)return[];const vd=(cd.length===0&&!Array.isArray(Ra)?getChildren(Ra).filter(isTag):cd.length===0?(Array.isArray(Ra)?Ra:[Ra]).filter(isTag):od||cd.some(isTraversal$1)?findElements(Ra,[cd],nd,fd):filterElements(Ra,[cd],nd)).slice(0,fd);let Ad=filterByPosition(dd.name,vd,dd.data,nd);if(Ad.length===0||qa.length===ud+1)return Ad;const Nd=qa.slice(ud+1),Id=Nd.some(isTraversal$1);if(Id){if(isTraversal$1(Nd[0])){const{type:kd}=Nd[0];(kd===SelectorType.Sibling||kd===SelectorType.Adjacent)&&(Ad=prepareContext(Ad,DomUtils,!0)),Nd.unshift(UNIVERSAL_SELECTOR)}nd={...nd,relativeSelector:!1,rootFunc:kd=>Ad.includes(kd)}}else nd.rootFunc&&nd.rootFunc!==boolbase.trueFunc&&(nd={...nd,rootFunc:boolbase.trueFunc});return Nd.some(isFilter)?findFilterElements(Ad,Nd,nd,!1,ld):Id?findElements(Ad,[Nd],nd,ld):filterElements(Ad,[Nd],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((cd,dd)=>dd(cd),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 cd=[];return domEach(ud,dd=>{for(let pd;(pd=ld(dd))&&!(nd!=null&&nd(pd,cd.length));dd=pd)cd.push(pd)}),cd})(Ra,...qa);return function(ld,ud){nd=typeof ld=="string"?dd=>is$2(dd,ld,this.options):ld?getFilterFn(ld):null;const cd=od.call(this,ud);return nd=null,cd}}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$3(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(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$3,next:next$1,nextAll,nextUntil,not,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 cd=nd;if(!Array.isArray(cd)&&isDocument(cd))return cd;const dd=new Document([]);return update(cd,dd),dd}}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,cd=this._makeDomArray(ud,ld<nd);Ra(cd,od.children,od)})}}function uniqueSplice(Ra,qa,nd,od,ld){var ud,cd;const dd=[qa,nd,...od],pd=qa===0?null:Ra[qa-1],fd=qa+nd>=Ra.length?null:Ra[qa+nd];for(let md=0;md<od.length;++md){const vd=od[md],Ad=vd.parent;if(Ad){const Id=Ad.children.indexOf(vd);Id>-1&&(Ad.children.splice(Id,1),ld===Ad&&qa>Id&&dd[0]--)}vd.parent=ld,vd.prev&&(vd.prev.next=(ud=vd.next)!==null&&ud!==void 0?ud:null),vd.next&&(vd.next.prev=(cd=vd.prev)!==null&&cd!==void 0?cd:null),vd.prev=md===0?pd:od[md-1],vd.next=md===od.length-1?fd:od[md+1]}return pd&&(pd.next=od[0]),fd&&(fd.prev=od[od.length-1]),Ra.splice(...dd)}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],cd=typeof qa=="function"?qa.call(ud,ld,ud):typeof qa=="string"&&!isHtml(qa)?od.find(qa).clone():qa,[dd]=this._makeDomArray(cd,ld<nd);if(!dd||!hasChildren(dd))continue;let pd=dd,fd=0;for(;fd<pd.children.length;){const md=pd.children[fd];isTag(md)?(pd=md,fd=0):fd++}Ra(ud,pd,[dd])}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 cd=typeof Ra[0]=="function"?Ra[0].call(nd,od,this._render(nd.children)):Ra,dd=this._makeDomArray(cd,od<qa);uniqueSplice(ld,ud+1,0,dd,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,cd=ud.indexOf(nd);cd<0||(uniqueSplice(ud,cd+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 cd=typeof Ra[0]=="function"?Ra[0].call(nd,od,this._render(nd.children)):Ra,dd=this._makeDomArray(cd,od<qa);uniqueSplice(ld,ud,0,dd,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 cd=ud.children,dd=cd.indexOf(od);dd<0||(uniqueSplice(cd,dd,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,cd=this._makeDomArray(ud);update(cd,null);const dd=ld.indexOf(qa);uniqueSplice(ld,dd,1,cd,od),cd.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 cd=ld[ud];setCss(Ra,cd,qa[cd],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(cd=>({name:ld,value:cd.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:cd}=getExtractDescr(ld?od[0]:od),dd=typeof cd=="function"?cd:typeof cd=="string"?pd=>this._make(pd).prop(cd):pd=>this._make(pd).extract(cd);if(ld)qa[nd]=this._findBySelector(ud,Number.POSITIVE_INFINITY).map((pd,fd)=>dd(fd,nd,qa)).get();else{const pd=this._findBySelector(ud,1);qa[nd]=pd.length>0?dd(pd[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 cd=flattenOptions(ld),dd=Ra(od,cd,ud,null);class pd extends Cheerio{_make(vd,Ad){const Nd=fd(vd,Ad);return Nd.prevObject=this,Nd}_parse(vd,Ad,Nd,Id){return Ra(vd,Ad,Nd,Id)}_render(vd){return qa(vd,this.options)}}function fd(md,vd,Ad=dd,Nd){if(md&&isCheerio(md))return md;const Id=flattenOptions(Nd,cd),kd=typeof Ad=="string"?[Ra(Ad,Id,!1,null)]:"length"in Ad?Ad:[Ad],jd=isCheerio(kd)?kd:new pd(kd,null,Id);if(jd._root=jd,!md)return new pd(void 0,jd,Id);const Fd=typeof md=="string"&&isHtml(md)?Ra(md,Id,!1,null).children:isNode$1(md)?[md]:Array.isArray(md)?md:void 0,Md=new pd(Fd,jd,Id);if(Fd)return Md;if(typeof md!="string")throw new TypeError("Unexpected type of selector");let Ld=md;const Hd=vd?typeof vd=="string"?isHtml(vd)?new pd([Ra(vd,Id,!1,null)],jd,Id):(Ld=`${vd} ${Ld}`,jd):isCheerio(vd)?vd:new pd(Array.isArray(vd)?vd:[vd],jd,Id):jd;return Hd?Hd.find(Ld):Md}return Object.assign(fd,staticMethods,{load:nd,_root:dd,_options:cd,fn:pd.prototype,prototype:pd.prototype}),fd}}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,cd=ld+nd,dd=ud+nd;return{code:qa,startLine:od,endLine:od,startCol:cd,endCol:cd,startOffset:dd,endOffset:dd}}_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),cd=this.treeAdapter.getNamespaceURI(qa);for(let dd=0;dd<this.entries.length;dd++){const pd=this.entries[dd];if(pd.type===EntryType.Marker)break;const{element:fd}=pd;if(this.treeAdapter.getTagName(fd)===ud&&this.treeAdapter.getNamespaceURI(fd)===cd){const md=this.treeAdapter.getAttrList(fd);md.length===ld&&od.push({idx:dd,attrs:md})}}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(cd=>[cd.name,cd.value]));let ud=0;for(let cd=0;cd<od.length;cd++){const dd=od[cd];dd.attrs.every(pd=>ld.get(pd.name)===pd.value)&&(ud+=1,ud>=NOAH_ARK_CAPACITY&&this.entries.splice(dd.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$1=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,cd={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(cd)}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,cd;this.openElements.stackTop===0&&this.fragmentContext?(ud=this.fragmentContext,cd=this.fragmentContextID):{current:ud,currentTagId:cd}=this.openElements,this._setContextModes(ud,cd)}}_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 cd=this.treeAdapter.getChildNodes(this.document).find(dd=>this.treeAdapter.isDocumentTypeNode(dd));cd&&this.treeAdapter.setNodeSourceCodeLocation(cd,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,cd=ld[ud-1];if(this.treeAdapter.getNodeSourceCodeLocation(cd)){const{endLine:pd,endCol:fd,endOffset:md}=qa.location;this.treeAdapter.updateNodeSourceCodeLocation(cd,{endLine:pd,endCol:fd,endOffset:md})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(cd,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,cd=ld;cd!==nd;ud++,cd=ld){ld=Ra.openElements.getCommonAncestor(cd);const dd=Ra.activeFormattingElements.getElementEntry(cd),pd=dd&&ud>=AA_INNER_LOOP_ITER;!dd||pd?(pd&&Ra.activeFormattingElements.removeEntry(dd),Ra.openElements.remove(cd)):(cd=aaRecreateElementFromEntry(Ra,dd),od===qa&&(Ra.activeFormattingElements.bookmark=dd),Ra.treeAdapter.detachNode(od),Ra.treeAdapter.appendChild(cd,od),od=cd)}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),cd=Ra.openElements.getCommonAncestor(od.element);Ra.treeAdapter.detachNode(ud),cd&&aaInsertLastNodeInCommonAncestor(Ra,cd,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],cd=Ra.treeAdapter.getNodeSourceCodeLocation(ud);cd&&!cd.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],cd=Ra.openElements.tagIDs[ld];if(od===cd&&(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,cd))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$1.parse(Ra,qa)}function parseFragment(Ra,qa,nd){typeof Ra=="string"&&(nd=qa,qa=Ra,Ra=null);const od=Parser$1.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$1,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 dd=0;dd<nd.length;dd++){const pd=nd[dd].name;od[pd]=nd[dd].value,ld[pd]=nd[dd].namespace,ud[pd]=nd[dd].prefix}const cd=new Element$1(Ra,od,[]);return cd.namespace=qa,cd["x-attribsNamespace"]=ld,cd["x-attribsPrefix"]=ud,cd},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(cd=>isDirective(cd)&&cd.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|\//;class Parser{constructor(qa,nd={}){var od,ld,ud,cd,dd,pd;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((cd=nd.Tokenizer)!==null&&cd!==void 0?cd:Tokenizer)(this.options,this),this.foreignContext=[!this.htmlMode],(pd=(dd=this.cbs).onparserinit)===null||pd===void 0||pd.call(dd,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 cd=this.htmlMode&&openImpliesClose.get(qa);if(cd)for(;this.stack.length>0&&cd.has(this.stack[0]);){const dd=this.stack.shift();(od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,dd,!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,cd,dd,pd,fd,md;this.endIndex=nd;let vd=this.getSlice(qa,nd);if(this.lowerCaseTagNames&&(vd=vd.toLowerCase()),this.htmlMode&&(foreignContextElements.has(vd)||htmlIntegrationElements.has(vd))&&this.foreignContext.shift(),this.isVoidElement(vd))this.htmlMode&&vd==="br"&&((cd=(ud=this.cbs).onopentagname)===null||cd===void 0||cd.call(ud,"br"),(pd=(dd=this.cbs).onopentag)===null||pd===void 0||pd.call(dd,"br",{},!0),(md=(fd=this.cbs).onclosetag)===null||md===void 0||md.call(fd,"br",!1));else{const Ad=this.stack.indexOf(vd);if(Ad!==-1)for(let Nd=0;Nd<=Ad;Nd++){const Id=this.stack.shift();(ld=(od=this.cbs).onclosetag)===null||ld===void 0||ld.call(od,Id,Nd!==Ad)}else this.htmlMode&&vd==="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,cd,dd;this.endIndex=nd,(ud=(ld=this.cbs).oncomment)===null||ud===void 0||ud.call(ld,this.getSlice(qa,nd-od)),(dd=(cd=this.cbs).oncommentend)===null||dd===void 0||dd.call(cd),this.startIndex=nd+1}oncdata(qa,nd,od){var ld,ud,cd,dd,pd,fd,md,vd,Ad,Nd;this.endIndex=nd;const Id=this.getSlice(qa,nd-od);!this.htmlMode||this.options.recognizeCDATA?((ud=(ld=this.cbs).oncdatastart)===null||ud===void 0||ud.call(ld),(dd=(cd=this.cbs).ontext)===null||dd===void 0||dd.call(cd,Id),(fd=(pd=this.cbs).oncdataend)===null||fd===void 0||fd.call(pd)):((vd=(md=this.cbs).oncomment)===null||vd===void 0||vd.call(md,`[CDATA[${Id}]]`),(Nd=(Ad=this.cbs).oncommentend)===null||Nd===void 0||Nd.call(Ad)),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(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$1=Object.freeze(Object.defineProperty({__proto__:null,contains,load:load$2,merge:merge$3},Symbol.toStringTag,{value:"Module"})),require$$0$2=getAugmentedNamespace(browser$1);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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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 cd=[].slice.call(arguments,1);cd.unshift("["+ud+"]"),nd.stderr.write(cd.join(" ")+`
|
||
`)}})(debug);var debugExports=debug.exports;(function(Ra,qa){debugExports("lex"),Ra.exports=nd;function nd(od){var ld="",ud,cd=0,dd=-1,pd=0,fd=1,md="before-selector",vd=[md],Ad={},Nd=[],Id=["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 kd(){return mf(),od[dd]}function jd(Af){return Af?vd[vd.length-1-Af]:md}function Fd(Af){var Lf=dd+1;return Af===od.slice(Lf,Lf+Af.length)}function Md(Af){var Lf=od.slice(dd).indexOf(Af);return Lf>0?Lf:!1}function Ld(Af){return Af===Hd(1)}function Hd(Af){return od[dd+(Af||1)]}function Gd(){var Af=vd.pop();return md=vd[vd.length-1],Af}function Vd(Af){return md=Af,vd.push(md),vd.length}function Kd(Af){var Lf=md;return vd[vd.length-1]=md=Af,Lf}function mf(Af){if((Af||1)==1)od[dd]==`
|
||
`?(fd++,cd=1):cd++,dd++;else{var Lf=od.slice(dd,dd+Af).split(`
|
||
`);Lf.length>1&&(fd+=Lf.length-1,cd=1),cd+=Lf[Lf.length-1].length,dd=dd+Af}}function Wd(){Ad.end={line:fd,col:cd},Nd.push(Ad),ld="",Ad={}}function Zd(Af){Ad={type:Af,start:{line:fd,col:cd}}}for(;ud=kd();)switch(ud){case" ":switch(jd()){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(jd()){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===`
|
||
`&&(Ad.value=ld.trim(),Wd(),Gd());break}break;case":":switch(jd()){case"name":Ad.name=ld.trim(),ld="",Kd("before-value");break;case"before-selector":ld+=ud,Zd("selector"),Vd("selector");break;case"before-value":Kd("value"),ld+=ud;break;default:ld+=ud;break}break;case";":switch(jd()){case"name":case"before-value":case"value":ld.trim().length>0&&(Ad.value=ld.trim(),Wd()),Kd("before-name");break;case"value-paren":ld+=ud;break;case"at-value":Ad.value=ld.trim(),Wd(),Gd();break;case"before-name":break;default:ld+=ud;break}break;case"{":switch(jd()){case"selector":if(Hd(-1)==="\\"){ld+=ud;break}Ad.text=ld.trim(),Wd(),Kd("before-name"),pd=pd+1;break;case"at-group":switch(Ad.name=ld.trim(),Ad.type){case"font-face":case"viewport":case"page":Vd("before-name");break;default:Vd("before-selector")}Wd(),pd=pd+1;break;case"name":case"at-rule":Ad.name=ld.trim(),Wd(),Vd("before-name"),pd=pd+1;break;case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":Kd("value"),ld+=ud;break}break;case"}":switch(jd()){case"before-name":case"name":case"before-value":case"value":ld&&(Ad.value=ld.trim()),Ad.name&&Ad.value&&Wd(),Zd("end"),Wd(),Gd(),jd()==="at-group"&&(Zd("at-group-end"),Wd(),Gd()),pd>0&&(pd=pd-1);break;case"at-group":case"before-selector":case"selector":if(Hd(-1)==="\\"){ld+=ud;break}pd>0&&jd(1)==="at-group"&&(Zd("at-group-end"),Wd()),pd>1&&Gd(),pd>0&&(pd=pd-1);break;case"double-string":case"single-string":case"comment":ld+=ud;break}break;case'"':case"'":switch(jd()){case"double-string":ud==='"'&&Hd(-1)!=="\\"&&Gd();break;case"single-string":ud==="'"&&Hd(-1)!=="\\"&&Gd();break;case"before-at-value":Kd("at-value"),Vd(ud==='"'?"double-string":"single-string");break;case"before-value":Kd("value"),Vd(ud==='"'?"double-string":"single-string");break;case"comment":break;default:Hd(-1)!=="\\"&&Vd(ud==='"'?"double-string":"single-string")}ld+=ud;break;case"/":switch(jd()){case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":case"selector":case"name":case"value":if(Ld("*")){var Xd=Md("*/");Xd&&mf(Xd+1)}else jd()=="before-value"&&Kd("value"),ld+=ud;break;default:Ld("*")?(Zd("comment"),Vd("comment"),mf()):ld+=ud;break}break;case"*":switch(jd()){case"comment":Ld("/")?(Ad.text=ld,mf(),Wd(),Gd()):ld+=ud;break;case"before-selector":ld+=ud,Zd("selector"),Vd("selector");break;case"before-value":Kd("value"),ld+=ud;break;default:ld+=ud}break;case"@":switch(jd()){case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":Kd("value"),ld+=ud;break;default:for(var bf=!1,yf,Ef,gf=0,xf=Id.length;!bf&&gf<xf;++gf)Ef=Id[gf],yf=Ef.name||Ef,Fd(yf)&&(bf=!0,Zd(yf),Vd(Ef.state||"at-group"),mf(yf.length),Ef.prefix&&(Ad.prefix=Ef.prefix),Ef.type&&(Ad.type=Ef.type));bf||(ld+=ud);break}break;case"(":switch(jd()){case"value":Vd("value-paren");break;case"before-value":Kd("value");break}ld+=ud;break;case")":switch(jd()){case"value-paren":Gd();break;case"before-value":Kd("value");break}ld+=ud;break;default:switch(jd()){case"before-selector":Zd("selector"),Vd("selector");break;case"before-name":Zd("property"),Kd("name");break;case"before-value":Kd("value");break;case"before-at-value":Kd("at-value");break}ld+=ud;break}return Nd}})(lexer);var lexerExports=lexer.exports,parser$2={exports:{}};(function(Ra,qa){debugExports("parse");var nd=lexerExports;Ra.exports=dd;var od,ld,ud,cd;function dd(Gd,Vd){Vd||(Vd={}),od=!!Vd.comments,ud=!!Vd.position,ld=0,cd=Array.isArray(Gd)?Gd.slice():nd(Gd);for(var Kd,mf=[],Wd;Wd=fd();)Kd=Fd(Wd),Kd&&mf.push(Kd);return{type:"stylesheet",stylesheet:{rules:mf}}}function pd(Gd,Vd){Vd||(Vd={});for(var Kd,mf=["type","name","value"],Wd={},Zd=0;Zd<mf.length;++Zd)Kd=mf[Zd],Gd[Kd]&&(Wd[Kd]=Vd[Kd]||Gd[Kd]);for(mf=Object.keys(Vd),Zd=0;Zd<mf.length;++Zd)Kd=mf[Zd],Wd[Kd]||(Wd[Kd]=Vd[Kd]);return ud&&(Wd.position={start:Gd.start,end:Gd.end}),Wd}function fd(){var Gd=cd.shift();return Gd}function md(Gd){ld=ld+1;var Vd={};switch(Gd.type){case"font-face":case"viewport":Vd.declarations=Ld();break;case"page":Vd.prefix=Gd.prefix,Vd.declarations=Ld();break;default:Vd.prefix=Gd.prefix,Vd.rules=Hd()}return pd(Gd,Vd)}function vd(Gd){return pd(Gd)}function Ad(Gd){return pd(Gd)}function Nd(Gd){return pd(Gd,{text:Gd.text})}function Id(Gd){return pd(Gd)}function kd(Gd){return pd(Gd)}function jd(Gd){function Vd(Kd){return Kd.trim()}return pd(Gd,{type:"rule",selectors:Gd.text.split(",").map(Vd),declarations:Ld()})}function Fd(Gd){switch(Gd.type){case"property":return kd(Gd);case"selector":return jd(Gd);case"at-group-end":ld=ld-1;return;case"media":case"keyframes":return md(Gd);case"comment":if(od)return Nd(Gd);break;case"charset":return Ad(Gd);case"import":return vd(Gd);case"namespace":return Id(Gd);case"font-face":case"supports":case"viewport":case"document":case"page":return md(Gd)}}function Md(Gd){for(var Vd,Kd=[],mf;(mf=fd())&&Gd&&Gd(mf);)Vd=Fd(mf),Vd&&Kd.push(Vd);return mf&&mf.type!=="end"&&cd.unshift(mf),Kd}function Ld(){return Md(function(Gd){return Gd.type==="property"||Gd.type==="comment"})}function Hd(){return Md(function(){return ld})}})(parser$2);var parserExports=parser$2.exports,stringify$2={exports:{}};(function(Ra,qa){debugExports("stringify");var nd,od,ld,ud,cd,dd;Ra.exports=pd;function pd(Hd,Gd){Gd||(Gd={}),ld=Gd.indentation||"",od=!!Gd.compress,nd=!!Gd.comments,ud=1,od?cd=dd="":(cd=`
|
||
`,dd=" ");var Vd=Id(Hd.stylesheet.rules,Md).join(`
|
||
`).trim();return Vd}function fd(Hd){if(Hd){ud+=Hd;return}return od?"":Array(ud).join(ld||"")}function md(Hd){return"@"+Hd.type+" "+Hd.value+";"+cd}function vd(Hd){var Gd="",Vd=Hd.prefix||"";Hd.name&&(Gd=" "+Hd.name);var Kd=Hd.type!=="page";return"@"+Vd+Hd.type+Gd+dd+kd(Hd,Kd)+cd}function Ad(Hd){return nd?"/*"+(Hd.text||"")+"*/"+cd:""}function Nd(Hd){var Gd;return Hd.selectors?Gd=Hd.selectors.join(","+cd):(Gd="@"+Hd.type,Gd+=Hd.name?" "+Hd.name:""),fd()+Gd+dd+kd(Hd)+cd}function Id(Hd,Gd){return Hd.reduce(function(Vd,Kd){var mf=Kd.type==="comment"?Ad(Kd):Gd(Kd);return mf&&Vd.push(mf),Vd},[])}function kd(Hd,Gd){var Vd=Hd.declarations,Kd=Fd;return Hd.rules&&(Vd=Hd.rules,Kd=Nd),Vd=jd(Vd,Kd),Vd&&(Vd=cd+Vd+(Gd?"":cd)),"{"+Vd+fd()+"}"}function jd(Hd,Gd){if(!Hd)return"";fd(1);var Vd=Id(Hd,Gd);return fd(-1),Vd.length?Vd.join(cd):""}function Fd(Hd){if(Hd.type==="property")return Ld(Hd)}function Md(Hd){switch(Hd.type){case"rule":return Nd(Hd);case"media":case"keyframes":return vd(Hd);case"comment":return Ad(Hd);case"import":case"charset":case"namespace":return md(Hd);case"font-face":case"supports":case"viewport":case"document":case"page":return vd(Hd)}}function Ld(Hd){var Gd=Hd.name?Hd.name+":"+dd:"";return fd()+Gd+Hd.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,cd,dd,pd,fd,md,vd,Ad,Nd,Id,kd){var jd,Fd;if((qa||!this.length)&&(jd=this[this.length++]=new Expression,qa))return"";if(jd||(jd=this[this.length-1]),(nd||od||!jd.length)&&(Fd=jd[jd.length++]=new Part(nd)),Fd||(Fd=jd[jd.length-1]),ld)Fd.tag=unescape$2(ld);else if(ud)Fd.id=unescape$2(ud);else if(cd){var Md=unescape$2(cd),Ld=Fd.classes||(Fd.classes={});if(!Ld[Md]){Ld[Md]=escape$5(cd);var Hd=Fd.classList||(Fd.classList=[]);Hd.push(Md),Hd.sort()}}else Ad?(kd=kd||Id,(Fd.pseudos||(Fd.pseudos=[])).push({type:vd.length==1?"class":"element",name:unescape$2(Ad),escapedName:escape$5(Ad),value:kd?unescape$2(kd):null,escapedValue:kd?escape$5(kd):null})):dd&&(md=md?escape$5(md):null,(Fd.attributes||(Fd.attributes=[])).push({operator:pd,name:unescape$2(dd),escapedName:escape$5(dd),value:md?unescape$2(md):null,escapedValue:md?escape$5(md):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$1={},parse$2=function(Ra){return Ra==null?null:(Ra=(""+Ra).replace(/^\s+|\s+$/g,""),cache$1[Ra]||(cache$1[Ra]=new Expressions(Ra)))},parser$1=parse$2;(function(Ra,qa){var nd=parser$1;Ra.exports=od;function od(ud,cd){this.text=ud,this.spec=void 0,this.styleAttribute=cd||!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=cd(this.text,this.parsed())),this.spec;function cd(dd,pd){for(var fd=pd||ld(dd),md=[ud?1:0,0,0,0],vd=[],Ad=0;Ad<fd.length;Ad++){var Nd=fd[Ad],Id=Nd.pseudos;if(Nd.id&&md[1]++,Nd.attributes&&(md[2]+=Nd.attributes.length),Nd.classList&&(md[2]+=Nd.classList.length),Nd.tag&&Nd.tag!=="*"&&md[3]++,Id){md[3]+=Id.length;for(var kd=0;kd<Id.length;kd++)Id[kd].name==="not"&&(vd.push(Id[kd].value),md[3]--)}}for(var jd=vd.length;jd--;)for(var Fd=cd(vd[jd]),Md=4;Md--;)md[Md]+=Fd[Md];return md}};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,cd,dd,pd){this.prop=ld,this.value=ud,this.selector=cd,this.priority=dd||0,this.additionalPriority=pd||[]}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 cd=[];return cd.push.apply(cd,ld.selector.specificity()),cd.push.apply(cd,ld.additionalPriority),cd[0]+=ld.priority,nd.compareFunc(ud,cd)},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 cd=0,dd=[],pd="",fd=0,md=ud.length;fd<md;fd++){var vd=ud.charAt(fd);cd?((vd==="]"||vd===")")&&cd--,pd+=vd):vd===","?(dd.push(pd),pd=""):((vd==="["||vd==="(")&&cd++,(pd.length||vd!==","&&vd!==`
|
||
`&&vd!==" ")&&(pd+=vd))}return pd.length&&dd.push(pd),dd},Ra.parseCSS=function(ld){for(var ud=qa.parse(ld,{position:!0,comments:!0}),cd=typeof ud.stylesheet<"u"&&ud.stylesheet.rules?ud.stylesheet.rules:[],dd=[],pd=0,fd=cd.length;pd<fd;pd++)if(cd[pd].type=="rule")for(var md=cd[pd],vd=md.selectors,Ad=0,Nd=vd.length;Ad<Nd;Ad++)dd.push([vd[Ad],md.declarations]);return dd},Ra.getPreservedText=function(ld,ud,cd){for(var dd=qa.parse(ld,{position:!0,comments:!0}),pd=typeof dd.stylesheet<"u"&&dd.stylesheet.rules?dd.stylesheet.rules:[],fd=[],md=pd.length-1;md>=0;md--)(ud.fontFaces&&pd[md].type==="font-face"||ud.mediaQueries&&pd[md].type==="media"||ud.keyFrames&&pd[md].type==="keyframes"||ud.pseudos&&pd[md].selectors&&this.matchesPseudo(pd[md].selectors[0],cd))&&fd.unshift(qa.stringify({stylesheet:{rules:[pd[md]]}},{comments:!1,indentation:" "})),pd[md].position.start;return fd.length===0?!1:`
|
||
`+fd.join(`
|
||
`)+`
|
||
`},Ra.normalizeLineEndings=function(ld){return ld.replace(/\r\n/g,`
|
||
`).replace(/\n/g,`\r
|
||
`)},Ra.matchesPseudo=function(ld,ud){return ud.find(function(cd){return ld.indexOf(cd)>-1})},Ra.compareFunc=function(ld,ud){for(var cd=Math.min(ld.length,ud.length),dd=0;dd<cd;dd++)if(ld[dd]!==ud[dd])return ld[dd]>ud[dd]?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,cd){const{xmlMode:dd,...pd}=ud;return ud=Object.assign({xml:{decodeEntities:!1,xmlMode:dd}},pd),ld=cd(ld),qa.load(ld,ud)},od=function(){var ld=[],ud=function(dd){var pd=Ra.exports.codeBlocks;return Object.keys(pd).forEach(function(fd){var md=new RegExp(pd[fd].start+"([\\S\\s]*?)"+pd[fd].end,"g");dd=dd.replace(md,function(vd,Ad){return ld.push(vd),"JUICE_CODE_BLOCK_"+(ld.length-1)+"_"})}),dd},cd=function(dd){for(var pd=0;pd<ld.length;pd++){var fd=new RegExp("JUICE_CODE_BLOCK_"+pd+'_(="")?',"gi");dd=dd.replace(fd,function(){return ld[pd]})}return dd};return{encodeEntities:ud,decodeEntities:cd}};Ra.exports=function(ld,ud,cd,dd){var pd=od(),fd=nd(ld,ud,pd.encodeEntities),md=[fd];md.push.apply(md,dd);var vd=cd.apply(void 0,md)||fd;return ud&&ud.xmlMode?pd.decodeEntities(vd.xml()):pd.decodeEntities(vd.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 dd=`${od.length}`;if(ld[1].toLowerCase()=="var"){const fd=findVariableValue(Ra,ld[2]);if(fd){qa=qa.replace(ld[0],fd);continue}if(ld[3]){qa=qa.replace(ld[0],ld[3]);continue}}let pd=`${ud}${dd.padStart(5,"-")}`;qa=qa.replace(ld[0],pd),od.push({placeholder:pd,replace:ld[0]})}for(var cd=od.length-1;cd>=0;cd--){const dd=od[cd];qa=qa.replace(dd.placeholder,dd.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=fd,qa.inlineDocument=nd;function nd(Ad,Nd,Id){Id=Id||{};var kd=utils$3.parseCSS(Nd),jd=[],Fd="style",Md={};if(Id.styleAttributeName&&(Fd=Id.styleAttributeName),kd.forEach(Gd),jd.forEach(Vd),Id.inlinePseudoElements&&jd.forEach(Kd),Id.applyWidthAttributes&&jd.forEach(function(Xd){mf(Xd,"width")}),Id.applyHeightAttributes&&jd.forEach(function(Xd){mf(Xd,"height")}),Id.applyAttributesTableElements&&jd.forEach(Zd),Id.insertPreservedExtraCss&&Id.extraCss){var Ld=utils$3.getPreservedText(Id.extraCss,{mediaQueries:Id.preserveMediaQueries,fontFaces:Id.preserveFontFaces,keyFrames:Id.preserveKeyFrames});if(Ld){var Hd=null;Id.insertPreservedExtraCss!==!0?Hd=Ad(Id.insertPreservedExtraCss):(Hd=Ad("head"),Hd.length||(Hd=Ad("body")),Hd.length||(Hd=Ad.root())),Hd.first().append("<style>"+Ld+"</style>")}}function Gd(Xd){var bf=Xd[0],yf=Xd[1],Ef=new utils$3.Selector(bf),gf=Ef.parsed();if(gf){for(var xf=cd(gf),Af=0;Af<gf.length;++Af){var Lf=gf[Af];if(Lf.pseudos)for(var Xf=0;Xf<Lf.pseudos.length;++Xf){var Jf=Lf.pseudos[Xf];if(qa.ignoredPseudos.indexOf(Jf.name)>=0)return}}if(xf){var Zf=gf[gf.length-1],Bf=Zf.pseudos;Zf.pseudos=pd(Zf.pseudos),bf=gf.toString(),Zf.pseudos=Bf}var Df;try{Df=Ad(bf)}catch{return}Df.each(function(){var Uf=this;if(Uf.name&&qa.nonVisualElements.indexOf(Uf.name.toUpperCase())>=0)return;if(Uf.counterProps||(Uf.counterProps=Uf.parent&&Uf.parent.counterProps?Object.create(Uf.parent.counterProps):{}),xf){var Gf="pseudo"+xf,zf=Uf[Gf];zf||(zf=Uf[Gf]=Ad("<span />").get(0),zf.pseudoElementType=xf,zf.pseudoElementParent=Uf,zf.counterProps=Uf.counterProps,Uf[Gf]=zf),Uf=zf}if(!Uf.styleProps){if(Uf.styleProps={},Ad(Uf).attr(Fd)){var Tf="* { "+Ad(Uf).attr(Fd)+" } ";eh(utils$3.parseCSS(Tf)[0][1],new utils$3.Selector("<style>",!0))}jd.push(Uf)}function vf(ch,ih){for(var Pf=ih.split(/\s+/),uh=0;uh<Pf.length;uh++){var xh=Pf[uh],Qf=parseInt(Pf[uh+1],10);isNaN(Qf)?ch.counterProps[xh]=Md[xh]=0:ch.counterProps[xh]=Md[Pf[uh++]]=Qf}}function qf(ch,ih){for(var Pf=ih.split(/\s+/),uh=0;uh<Pf.length;uh++){var xh=Pf[uh];if(ch.counterProps[xh]!==void 0){var Qf=parseInt(Pf[uh+1],10);isNaN(Qf)?ch.counterProps[xh]=Md[xh]+=1:ch.counterProps[xh]=Md[Pf[uh++]]+=Qf}}}function eh(ch,ih){for(var Pf=0,uh=ch.length;Pf<uh;Pf++)if(ch[Pf].type=="property"){var xh=ch[Pf].name,Qf=ch[Pf].value;xh==="counter-reset"&&vf(Uf,Qf),xh==="counter-increment"&&qf(Uf,Qf);var wf=Qf.match(/!important$/)!==null;wf&&!Id.preserveImportant&&(Qf=od(Qf));var $f=[ch[Pf].position.start.line,ch[Pf].position.start.col],Wf=new utils$3.Property(xh,Qf,ih,wf?2:0,$f),Th=Uf.styleProps[xh];qa.excludedProperties.indexOf(xh)<0&&(Th&&Th.compare(Wf)===Wf||!Th)&&(Th&&Th.selector!==ih?delete Uf.styleProps[xh]:Th&&(Wf.nextProp=Th),Uf.styleProps[xh]=Wf)}}eh(yf,Ef)})}}function Vd(Xd){Object.keys(Xd.styleProps).length;var bf=[];Object.keys(Xd.styleProps).forEach(function(Ef){for(var gf=Xd.styleProps[Ef];typeof gf<"u";)bf.push(gf),gf=gf.nextProp}),bf.sort(function(Ef,gf){return Ef.compareFunc(gf)});var yf=bf.filter(function(Ef){return Id.resolveCSSVariables&&Ef.prop.indexOf("--")===0?!1:Ef.prop!=="content"}).map(function(Ef){return Id.resolveCSSVariables&&(Ef.value=variables.replaceVariables(Xd,Ef.value)),Ef.prop+": "+Ef.value.replace(/["]/g,"'")+";"}).join(" ");yf&&Ad(Xd).attr(Fd,yf)}function Kd(Xd){if(Xd.pseudoElementType&&Xd.styleProps.content){var bf=ud(Xd);bf.img?(Xd.name="img",Ad(Xd).attr("src",bf.img)):Ad(Xd).text(bf);var yf=Xd.pseudoElementParent;Xd.pseudoElementType==="before"?Ad(yf).prepend(Xd):Ad(yf).append(Xd)}}function mf(Xd,bf){if(Xd.name){var yf=Xd.name.toUpperCase();if(qa[bf+"Elements"].indexOf(yf)>-1){for(var Ef in Xd.styleProps)if(Xd.styleProps[Ef].prop===bf){var gf=Xd.styleProps[Ef].value;if(Id.preserveImportant&&(gf=od(gf)),gf.match(/(px|auto)/)){var xf=gf.replace("px","");Ad(Xd).attr(bf,xf);return}if(qa.tableElements.indexOf(yf)>-1&&gf.match(/\%/)){Ad(Xd).attr(bf,gf);return}}}}}function Wd(Xd){return Xd.indexOf("url(")!==0?Xd:Xd.replace(/^url\((["'])?([^"']+)\1\)$/,"$2")}function Zd(Xd){if(Xd.name){var bf=Xd.name.toUpperCase(),yf=Object.keys(qa.styleToAttribute);if(qa.tableElements.indexOf(bf)>-1){for(var Ef in Xd.styleProps)if(yf.indexOf(Xd.styleProps[Ef].prop)>-1){var gf=qa.styleToAttribute[Xd.styleProps[Ef].prop],xf=Xd.styleProps[Ef].value;if(Id.preserveImportant&&(xf=od(xf)),gf==="background"&&(xf=Wd(xf)),/(linear|radial)-gradient\(/i.test(xf))continue;Ad(Xd).attr(gf,xf)}}}}}function od(Ad){return Ad.replace(/\s*!important$/,"")}function ld(Ad,Nd){switch(Nd){case"lower-roman":return numbers.romanize(Ad).toLowerCase();case"upper-roman":return numbers.romanize(Ad);case"lower-latin":case"lower-alpha":return numbers.alphanumeric(Ad).toLowerCase();case"upper-latin":case"upper-alpha":return numbers.alphanumeric(Ad);default:return Ad.toString()}}function ud(Ad){var Nd=Ad.styleProps.content.value;if(Nd==="none"||Nd==="normal")return"";var Id=Nd.match(/^\s*url\s*\(\s*(.*?)\s*\)\s*$/i);if(Id){var kd=Id[1].replace(/^['"]|['"]$/g,"");return{img:kd}}for(var jd=[],Fd=Nd.split(/['"]/),Md=0;Md<Fd.length;Md++)if(Fd[Md]!==""){var Ld=Fd[Md].match(/var\s*\(\s*(.*?)\s*(,\s*(.*?)\s*)?\s*\)/i);if(Ld){var Hd=variables.findVariableValue(Ad,Ld[1])||Ld[2];jd.push(Hd.replace(/^['"]|['"]$/g,""));continue}var Gd=Fd[Md].match(/counter\s*\(\s*(.*?)\s*(,\s*(.*?)\s*)?\s*\)/i);if(Gd&&Gd[1]in Ad.counterProps){var Vd=Ad.counterProps[Gd[1]];jd.push(ld(Vd,Gd[3]));continue}var Kd=Fd[Md].match(/attr\s*\(\s*(.*?)\s*\)/i);if(Kd){var mf=Kd[1];jd.push(Ad.pseudoElementParent?Ad.pseudoElementParent.attribs[mf]:Ad.attribs[mf]);continue}jd.push(Fd[Md])}return Nd=jd.join(""),Nd=Nd.replace(/\\/g,""),Nd}function cd(Ad){if(Ad.length!==0){var Nd=Ad[Ad.length-1].pseudos;if(Nd){for(var Id=0;Id<Nd.length;Id++)if(dd(Nd[Id]))return Nd[Id].name}}}function dd(Ad){return Ad.name==="before"||Ad.name==="after"}function pd(Ad){return Ad.filter(function(Nd){return!dd(Nd)})}function fd(Ad,Nd){Nd=utils$3.getDefaultOptions(Nd);var Id=vd(Ad,Nd);return Id+=`
|
||
`+Nd.extraCss,nd(Ad,Id,Nd),Ad}function md(Ad,Nd){var Id=[],kd=Ad("style"),jd,Fd,Md;return kd.each(function(){if(Md=this,jd=Md.childNodes,jd.length!==1){Nd.removeStyleTags&&Ad(Md).remove();return}if(Fd=jd[0].data,Nd.applyStyleTags&&Ad(Md).attr("data-embed")===void 0&&Id.push(Fd),Nd.removeStyleTags&&Ad(Md).attr("data-embed")===void 0){var Ld=Md.childNodes[0].nodeValue,Hd=utils$3.getPreservedText(Ld,{mediaQueries:Nd.preserveMediaQueries,fontFaces:Nd.preserveFontFaces,keyFrames:Nd.preserveKeyFrames,pseudos:Nd.preservePseudos},qa.ignoredPseudos);Hd?Md.childNodes[0].nodeValue=Hd:Ad(Md).remove()}Ad(Md).removeAttr("data-embed")}),Id}function vd(Ad,Nd){var Id=md(Ad,Nd),kd=Id.join(`
|
||
`);return kd}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(zd,Bd){if(zd==null)return{};var Yd={},_f=Object.keys(zd),Nf,th;for(th=0;th<_f.length;th++)Nf=_f[th],!(Bd.indexOf(Nf)>=0)&&(Yd[Nf]=zd[Nf]);return Yd}var nd=class{constructor(zd,Bd,Yd){this.line=void 0,this.column=void 0,this.index=void 0,this.line=zd,this.column=Bd,this.index=Yd}},od=class{constructor(zd,Bd){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=zd,this.end=Bd}};function ld(zd,Bd){let{line:Yd,column:_f,index:Nf}=zd;return new nd(Yd,_f+Bd,Nf+Bd)}var ud="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",cd={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}},dd={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"},pd=zd=>zd.type==="UpdateExpression"?dd.UpdateExpression[`${zd.prefix}`]:dd[zd.type],fd={AccessorIsGenerator:({kind:zd})=>`A ${zd}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:zd})=>`Missing initializer in ${zd} 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:zd})=>`\`${zd}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:zd})=>`'import.${zd}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:zd,exportName:Bd})=>`A string literal cannot be used as an exported binding without \`from\`.
|
||
- Did you mean \`export { '${zd}' as '${Bd}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:zd})=>`'${zd==="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:zd})=>`Unsyntactic ${zd==="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:zd})=>`A string literal cannot be used as an imported binding.
|
||
- Did you mean \`import { "${zd}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:zd})=>`\`import()\` requires exactly ${zd===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:zd})=>`Expected number in radix ${zd}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:zd})=>`Escape sequence in keyword ${zd}.`,InvalidIdentifier:({identifierName:zd})=>`Invalid identifier ${zd}.`,InvalidLhs:({ancestor:zd})=>`Invalid left-hand side in ${pd(zd)}.`,InvalidLhsBinding:({ancestor:zd})=>`Binding invalid left-hand side in ${pd(zd)}.`,InvalidLhsOptionalChaining:({ancestor:zd})=>`Invalid optional chaining in the left-hand side of ${pd(zd)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:zd})=>`Unexpected character '${zd}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:zd})=>`Private name #${zd} 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:zd})=>`Label '${zd}' 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:zd})=>`This experimental syntax requires enabling the parser plugin: ${zd.map(Bd=>JSON.stringify(Bd)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:zd})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${zd.map(Bd=>JSON.stringify(Bd)).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:zd})=>`Duplicate key "${zd}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:zd})=>`An export name cannot include a lone surrogate, found '\\u${zd.toString(16)}'.`,ModuleExportUndefined:({localName:zd})=>`Export '${zd}' 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:zd})=>`Private names are only allowed in property accesses (\`obj.#${zd}\`) or in \`in\` expressions (\`#${zd} in obj\`).`,PrivateNameRedeclaration:({identifierName:zd})=>`Duplicate private name #${zd}.`,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:zd})=>`Unexpected keyword '${zd}'.`,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:zd})=>`Unexpected reserved word '${zd}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:zd,unexpected:Bd})=>`Unexpected token${Bd?` '${Bd}'.`:""}${zd?`, expected "${zd}"`:""}`,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:zd,onlyValidPropertyName:Bd})=>`The only valid meta property for ${zd} is ${zd}.${Bd}.`,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:zd})=>`Identifier '${zd}' 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."},md={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:zd})=>`Assigning to '${zd}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:zd})=>`Binding '${zd}' 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."},vd=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),Ad={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:zd})=>`Invalid topic token ${zd}. In order to use ${zd} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${zd}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:zd})=>`Hack-style pipe body cannot be an unparenthesized ${pd({type:zd})}; 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.'},Nd=["toMessage"],Id=["message"];function kd(zd,Bd,Yd){Object.defineProperty(zd,Bd,{enumerable:!1,configurable:!0,value:Yd})}function jd(zd){let{toMessage:Bd}=zd,Yd=qa(zd,Nd);return function _f(Nf,th){let bh=new SyntaxError;return Object.assign(bh,Yd,{loc:Nf,pos:Nf.index}),"missingPlugin"in th&&Object.assign(bh,{missingPlugin:th.missingPlugin}),kd(bh,"clone",function(kh={}){var sm;let{line:Xh,column:Fm,index:Zm}=(sm=kh.loc)!=null?sm:Nf;return _f(new nd(Xh,Fm,Zm),Object.assign({},th,kh.details))}),kd(bh,"details",th),Object.defineProperty(bh,"message",{configurable:!0,get(){let kh=`${Bd(th)} (${Nf.line}:${Nf.column})`;return this.message=kh,kh},set(kh){Object.defineProperty(this,"message",{value:kh,writable:!0})}}),bh}}function Fd(zd,Bd){if(Array.isArray(zd))return _f=>Fd(_f,zd[0]);let Yd={};for(let _f of Object.keys(zd)){let Nf=zd[_f],th=typeof Nf=="string"?{message:()=>Nf}:typeof Nf=="function"?{message:Nf}:Nf,{message:bh}=th,kh=qa(th,Id),sm=typeof bh=="string"?()=>bh:bh;Yd[_f]=jd(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:_f,toMessage:sm},Bd?{syntaxPlugin:Bd}:{},kh))}return Yd}var Md=Object.assign({},Fd(cd),Fd(fd),Fd(md),Fd`pipelineOperator`(Ad)),{defineProperty:Ld}=Object,Hd=(zd,Bd)=>{zd&&Ld(zd,Bd,{enumerable:!1,value:zd[Bd]})};function Gd(zd){return Hd(zd.loc.start,"index"),Hd(zd.loc.end,"index"),zd}var Vd=zd=>class extends zd{parse(){let Bd=Gd(super.parse());return this.options.tokens&&(Bd.tokens=Bd.tokens.map(Gd)),Bd}parseRegExpLiteral({pattern:Bd,flags:Yd}){let _f=null;try{_f=new RegExp(Bd,Yd)}catch{}let Nf=this.estreeParseLiteral(_f);return Nf.regex={pattern:Bd,flags:Yd},Nf}parseBigIntLiteral(Bd){let Yd;try{Yd=BigInt(Bd)}catch{Yd=null}let _f=this.estreeParseLiteral(Yd);return _f.bigint=String(_f.value||Bd),_f}parseDecimalLiteral(Bd){let Yd=this.estreeParseLiteral(null);return Yd.decimal=String(Yd.value||Bd),Yd}estreeParseLiteral(Bd){return this.parseLiteral(Bd,"Literal")}parseStringLiteral(Bd){return this.estreeParseLiteral(Bd)}parseNumericLiteral(Bd){return this.estreeParseLiteral(Bd)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(Bd){return this.estreeParseLiteral(Bd)}directiveToStmt(Bd){let Yd=Bd.value;delete Bd.value,Yd.type="Literal",Yd.raw=Yd.extra.raw,Yd.value=Yd.extra.expressionValue;let _f=Bd;return _f.type="ExpressionStatement",_f.expression=Yd,_f.directive=Yd.extra.rawValue,delete Yd.extra,_f}initFunction(Bd,Yd){super.initFunction(Bd,Yd),Bd.expression=!1}checkDeclaration(Bd){Bd!=null&&this.isObjectProperty(Bd)?this.checkDeclaration(Bd.value):super.checkDeclaration(Bd)}getObjectOrClassMethodParams(Bd){return Bd.value.params}isValidDirective(Bd){var Yd;return Bd.type==="ExpressionStatement"&&Bd.expression.type==="Literal"&&typeof Bd.expression.value=="string"&&!((Yd=Bd.expression.extra)!=null&&Yd.parenthesized)}parseBlockBody(Bd,Yd,_f,Nf,th){super.parseBlockBody(Bd,Yd,_f,Nf,th);let bh=Bd.directives.map(kh=>this.directiveToStmt(kh));Bd.body=bh.concat(Bd.body),delete Bd.directives}pushClassMethod(Bd,Yd,_f,Nf,th,bh){this.parseMethod(Yd,_f,Nf,th,bh,"ClassMethod",!0),Yd.typeParameters&&(Yd.value.typeParameters=Yd.typeParameters,delete Yd.typeParameters),Bd.body.push(Yd)}parsePrivateName(){let Bd=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(Bd):Bd}convertPrivateNameToPrivateIdentifier(Bd){let Yd=super.getPrivateNameSV(Bd);return Bd=Bd,delete Bd.id,Bd.name=Yd,Bd.type="PrivateIdentifier",Bd}isPrivateName(Bd){return this.getPluginOption("estree","classFeatures")?Bd.type==="PrivateIdentifier":super.isPrivateName(Bd)}getPrivateNameSV(Bd){return this.getPluginOption("estree","classFeatures")?Bd.name:super.getPrivateNameSV(Bd)}parseLiteral(Bd,Yd){let _f=super.parseLiteral(Bd,Yd);return _f.raw=_f.extra.raw,delete _f.extra,_f}parseFunctionBody(Bd,Yd,_f=!1){super.parseFunctionBody(Bd,Yd,_f),Bd.expression=Bd.body.type!=="BlockStatement"}parseMethod(Bd,Yd,_f,Nf,th,bh,kh=!1){let sm=this.startNode();return sm.kind=Bd.kind,sm=super.parseMethod(sm,Yd,_f,Nf,th,bh,kh),sm.type="FunctionExpression",delete sm.kind,Bd.value=sm,bh==="ClassPrivateMethod"&&(Bd.computed=!1),this.finishNode(Bd,"MethodDefinition")}nameIsConstructor(Bd){return Bd.type==="Literal"?Bd.value==="constructor":super.nameIsConstructor(Bd)}parseClassProperty(...Bd){let Yd=super.parseClassProperty(...Bd);return this.getPluginOption("estree","classFeatures")&&(Yd.type="PropertyDefinition"),Yd}parseClassPrivateProperty(...Bd){let Yd=super.parseClassPrivateProperty(...Bd);return this.getPluginOption("estree","classFeatures")&&(Yd.type="PropertyDefinition",Yd.computed=!1),Yd}parseObjectMethod(Bd,Yd,_f,Nf,th){let bh=super.parseObjectMethod(Bd,Yd,_f,Nf,th);return bh&&(bh.type="Property",bh.kind==="method"&&(bh.kind="init"),bh.shorthand=!1),bh}parseObjectProperty(Bd,Yd,_f,Nf){let th=super.parseObjectProperty(Bd,Yd,_f,Nf);return th&&(th.kind="init",th.type="Property"),th}isValidLVal(Bd,Yd,_f){return Bd==="Property"?"value":super.isValidLVal(Bd,Yd,_f)}isAssignable(Bd,Yd){return Bd!=null&&this.isObjectProperty(Bd)?this.isAssignable(Bd.value,Yd):super.isAssignable(Bd,Yd)}toAssignable(Bd,Yd=!1){if(Bd!=null&&this.isObjectProperty(Bd)){let{key:_f,value:Nf}=Bd;this.isPrivateName(_f)&&this.classScope.usePrivateName(this.getPrivateNameSV(_f),_f.loc.start),this.toAssignable(Nf,Yd)}else super.toAssignable(Bd,Yd)}toAssignableObjectExpressionProp(Bd,Yd,_f){Bd.type==="Property"&&(Bd.kind==="get"||Bd.kind==="set")?this.raise(Md.PatternHasAccessor,Bd.key):Bd.type==="Property"&&Bd.method?this.raise(Md.PatternHasMethod,Bd.key):super.toAssignableObjectExpressionProp(Bd,Yd,_f)}finishCallExpression(Bd,Yd){let _f=super.finishCallExpression(Bd,Yd);if(_f.callee.type==="Import"){if(_f.type="ImportExpression",_f.source=_f.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var Nf,th;_f.options=(Nf=_f.arguments[1])!=null?Nf:null,_f.attributes=(th=_f.arguments[1])!=null?th:null}delete _f.arguments,delete _f.callee}return _f}toReferencedArguments(Bd){Bd.type!=="ImportExpression"&&super.toReferencedArguments(Bd)}parseExport(Bd,Yd){let _f=this.state.lastTokStartLoc,Nf=super.parseExport(Bd,Yd);switch(Nf.type){case"ExportAllDeclaration":Nf.exported=null;break;case"ExportNamedDeclaration":Nf.specifiers.length===1&&Nf.specifiers[0].type==="ExportNamespaceSpecifier"&&(Nf.type="ExportAllDeclaration",Nf.exported=Nf.specifiers[0].exported,delete Nf.specifiers);case"ExportDefaultDeclaration":{var th;let{declaration:bh}=Nf;(bh==null?void 0:bh.type)==="ClassDeclaration"&&((th=bh.decorators)==null?void 0:th.length)>0&&bh.start===Nf.start&&this.resetStartLocation(Nf,_f)}break}return Nf}parseSubscript(Bd,Yd,_f,Nf){let th=super.parseSubscript(Bd,Yd,_f,Nf);if(Nf.optionalChainMember){if((th.type==="OptionalMemberExpression"||th.type==="OptionalCallExpression")&&(th.type=th.type.substring(8)),Nf.stop){let bh=this.startNodeAtNode(th);return bh.expression=th,this.finishNode(bh,"ChainExpression")}}else(th.type==="MemberExpression"||th.type==="CallExpression")&&(th.optional=!1);return th}isOptionalMemberExpression(Bd){return Bd.type==="ChainExpression"?Bd.expression.type==="MemberExpression":super.isOptionalMemberExpression(Bd)}hasPropertyAsPrivateName(Bd){return Bd.type==="ChainExpression"&&(Bd=Bd.expression),super.hasPropertyAsPrivateName(Bd)}isObjectProperty(Bd){return Bd.type==="Property"&&Bd.kind==="init"&&!Bd.method}isObjectMethod(Bd){return Bd.type==="Property"&&(Bd.method||Bd.kind==="get"||Bd.kind==="set")}finishNodeAt(Bd,Yd,_f){return Gd(super.finishNodeAt(Bd,Yd,_f))}resetStartLocation(Bd,Yd){super.resetStartLocation(Bd,Yd),Gd(Bd)}resetEndLocation(Bd,Yd=this.state.lastTokEndLoc){super.resetEndLocation(Bd,Yd),Gd(Bd)}},Kd=class{constructor(zd,Bd){this.token=void 0,this.preserveSpace=void 0,this.token=zd,this.preserveSpace=!!Bd}},mf={brace:new Kd("{"),j_oTag:new Kd("<tag"),j_cTag:new Kd("</tag"),j_expr:new Kd("<tag>...</tag>",!0)};mf.template=new Kd("`",!0);var Wd=!0,Zd=!0,Xd=!0,bf=!0,yf=!0,Ef=!0,gf=class{constructor(zd,Bd={}){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=zd,this.keyword=Bd.keyword,this.beforeExpr=!!Bd.beforeExpr,this.startsExpr=!!Bd.startsExpr,this.rightAssociative=!!Bd.rightAssociative,this.isLoop=!!Bd.isLoop,this.isAssign=!!Bd.isAssign,this.prefix=!!Bd.prefix,this.postfix=!!Bd.postfix,this.binop=Bd.binop!=null?Bd.binop:null,this.updateContext=null}},xf=new Map;function Af(zd,Bd={}){Bd.keyword=zd;let Yd=zf(zd,Bd);return xf.set(zd,Yd),Yd}function Lf(zd,Bd){return zf(zd,{beforeExpr:Wd,binop:Bd})}var Xf=-1,Jf=[],Zf=[],Bf=[],Df=[],Uf=[],Gf=[];function zf(zd,Bd={}){var Yd,_f,Nf,th;return++Xf,Zf.push(zd),Bf.push((Yd=Bd.binop)!=null?Yd:-1),Df.push((_f=Bd.beforeExpr)!=null?_f:!1),Uf.push((Nf=Bd.startsExpr)!=null?Nf:!1),Gf.push((th=Bd.prefix)!=null?th:!1),Jf.push(new gf(zd,Bd)),Xf}function Tf(zd,Bd={}){var Yd,_f,Nf,th;return++Xf,xf.set(zd,Xf),Zf.push(zd),Bf.push((Yd=Bd.binop)!=null?Yd:-1),Df.push((_f=Bd.beforeExpr)!=null?_f:!1),Uf.push((Nf=Bd.startsExpr)!=null?Nf:!1),Gf.push((th=Bd.prefix)!=null?th:!1),Jf.push(new gf("name",Bd)),Xf}var vf={bracketL:zf("[",{beforeExpr:Wd,startsExpr:Zd}),bracketHashL:zf("#[",{beforeExpr:Wd,startsExpr:Zd}),bracketBarL:zf("[|",{beforeExpr:Wd,startsExpr:Zd}),bracketR:zf("]"),bracketBarR:zf("|]"),braceL:zf("{",{beforeExpr:Wd,startsExpr:Zd}),braceBarL:zf("{|",{beforeExpr:Wd,startsExpr:Zd}),braceHashL:zf("#{",{beforeExpr:Wd,startsExpr:Zd}),braceR:zf("}"),braceBarR:zf("|}"),parenL:zf("(",{beforeExpr:Wd,startsExpr:Zd}),parenR:zf(")"),comma:zf(",",{beforeExpr:Wd}),semi:zf(";",{beforeExpr:Wd}),colon:zf(":",{beforeExpr:Wd}),doubleColon:zf("::",{beforeExpr:Wd}),dot:zf("."),question:zf("?",{beforeExpr:Wd}),questionDot:zf("?."),arrow:zf("=>",{beforeExpr:Wd}),template:zf("template"),ellipsis:zf("...",{beforeExpr:Wd}),backQuote:zf("`",{startsExpr:Zd}),dollarBraceL:zf("${",{beforeExpr:Wd,startsExpr:Zd}),templateTail:zf("...`",{startsExpr:Zd}),templateNonTail:zf("...${",{beforeExpr:Wd,startsExpr:Zd}),at:zf("@"),hash:zf("#",{startsExpr:Zd}),interpreterDirective:zf("#!..."),eq:zf("=",{beforeExpr:Wd,isAssign:bf}),assign:zf("_=",{beforeExpr:Wd,isAssign:bf}),slashAssign:zf("_=",{beforeExpr:Wd,isAssign:bf}),xorAssign:zf("_=",{beforeExpr:Wd,isAssign:bf}),moduloAssign:zf("_=",{beforeExpr:Wd,isAssign:bf}),incDec:zf("++/--",{prefix:yf,postfix:Ef,startsExpr:Zd}),bang:zf("!",{beforeExpr:Wd,prefix:yf,startsExpr:Zd}),tilde:zf("~",{beforeExpr:Wd,prefix:yf,startsExpr:Zd}),doubleCaret:zf("^^",{startsExpr:Zd}),doubleAt:zf("@@",{startsExpr:Zd}),pipeline:Lf("|>",0),nullishCoalescing:Lf("??",1),logicalOR:Lf("||",1),logicalAND:Lf("&&",2),bitwiseOR:Lf("|",3),bitwiseXOR:Lf("^",4),bitwiseAND:Lf("&",5),equality:Lf("==/!=/===/!==",6),lt:Lf("</>/<=/>=",7),gt:Lf("</>/<=/>=",7),relational:Lf("</>/<=/>=",7),bitShift:Lf("<</>>/>>>",8),bitShiftL:Lf("<</>>/>>>",8),bitShiftR:Lf("<</>>/>>>",8),plusMin:zf("+/-",{beforeExpr:Wd,binop:9,prefix:yf,startsExpr:Zd}),modulo:zf("%",{binop:10,startsExpr:Zd}),star:zf("*",{binop:10}),slash:Lf("/",10),exponent:zf("**",{beforeExpr:Wd,binop:11,rightAssociative:!0}),_in:Af("in",{beforeExpr:Wd,binop:7}),_instanceof:Af("instanceof",{beforeExpr:Wd,binop:7}),_break:Af("break"),_case:Af("case",{beforeExpr:Wd}),_catch:Af("catch"),_continue:Af("continue"),_debugger:Af("debugger"),_default:Af("default",{beforeExpr:Wd}),_else:Af("else",{beforeExpr:Wd}),_finally:Af("finally"),_function:Af("function",{startsExpr:Zd}),_if:Af("if"),_return:Af("return",{beforeExpr:Wd}),_switch:Af("switch"),_throw:Af("throw",{beforeExpr:Wd,prefix:yf,startsExpr:Zd}),_try:Af("try"),_var:Af("var"),_const:Af("const"),_with:Af("with"),_new:Af("new",{beforeExpr:Wd,startsExpr:Zd}),_this:Af("this",{startsExpr:Zd}),_super:Af("super",{startsExpr:Zd}),_class:Af("class",{startsExpr:Zd}),_extends:Af("extends",{beforeExpr:Wd}),_export:Af("export"),_import:Af("import",{startsExpr:Zd}),_null:Af("null",{startsExpr:Zd}),_true:Af("true",{startsExpr:Zd}),_false:Af("false",{startsExpr:Zd}),_typeof:Af("typeof",{beforeExpr:Wd,prefix:yf,startsExpr:Zd}),_void:Af("void",{beforeExpr:Wd,prefix:yf,startsExpr:Zd}),_delete:Af("delete",{beforeExpr:Wd,prefix:yf,startsExpr:Zd}),_do:Af("do",{isLoop:Xd,beforeExpr:Wd}),_for:Af("for",{isLoop:Xd}),_while:Af("while",{isLoop:Xd}),_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 qf(zd){return zd>=93&&zd<=132}function eh(zd){return zd<=92}function ch(zd){return zd>=58&&zd<=132}function ih(zd){return zd>=58&&zd<=136}function Pf(zd){return Df[zd]}function uh(zd){return Uf[zd]}function xh(zd){return zd>=29&&zd<=33}function Qf(zd){return zd>=129&&zd<=131}function wf(zd){return zd>=90&&zd<=92}function $f(zd){return zd>=58&&zd<=92}function Wf(zd){return zd>=39&&zd<=59}function Th(zd){return zd===34}function vh(zd){return Gf[zd]}function ph(zd){return zd>=121&&zd<=123}function Vh(zd){return zd>=124&&zd<=130}function wh(zd){return Zf[zd]}function fm(zd){return Bf[zd]}function Nm(zd){return zd===57}function cm(zd){return zd>=24&&zd<=25}function Sm(zd){return Jf[zd]}Jf[8].updateContext=zd=>{zd.pop()},Jf[5].updateContext=Jf[7].updateContext=Jf[23].updateContext=zd=>{zd.push(mf.brace)},Jf[22].updateContext=zd=>{zd[zd.length-1]===mf.template?zd.pop():zd.push(mf.template)},Jf[142].updateContext=zd=>{zd.push(mf.j_expr,mf.j_oTag)};var $m="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",fh="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Rf=new RegExp("["+$m+"]"),If=new RegExp("["+$m+fh+"]");$m=fh=null;var dh=[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],yh=[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 Uh(zd,Bd){let Yd=65536;for(let _f=0,Nf=Bd.length;_f<Nf;_f+=2){if(Yd+=Bd[_f],Yd>zd)return!1;if(Yd+=Bd[_f+1],Yd>=zd)return!0}return!1}function Zh(zd){return zd<65?zd===36:zd<=90?!0:zd<97?zd===95:zd<=122?!0:zd<=65535?zd>=170&&Rf.test(String.fromCharCode(zd)):Uh(zd,dh)}function _m(zd){return zd<48?zd===36:zd<58?!0:zd<65?!1:zd<=90?!0:zd<97?zd===95:zd<=122?!0:zd<=65535?zd>=170&&If.test(String.fromCharCode(zd)):Uh(zd,dh)||Uh(zd,yh)}var Um={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"]},Om=new Set(Um.keyword),r_=new Set(Um.strict),Xm=new Set(Um.strictBind);function s_(zd,Bd){return Bd&&zd==="await"||zd==="enum"}function b_(zd,Bd){return s_(zd,Bd)||r_.has(zd)}function H_(zd){return Xm.has(zd)}function x_(zd,Bd){return b_(zd,Bd)||H_(zd)}function M_(zd){return Om.has(zd)}function h_(zd,Bd,Yd){return zd===64&&Bd===64&&Zh(Yd)}var tg=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 L_(zd){return tg.has(zd)}var dg=class{constructor(zd){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=zd}},yg=class{constructor(zd,Bd){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=zd,this.inModule=Bd}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 zd=this.currentThisScopeFlags();return(zd&64)>0&&(zd&2)===0}get inStaticBlock(){for(let zd=this.scopeStack.length-1;;zd--){let{flags:Bd}=this.scopeStack[zd];if(Bd&128)return!0;if(Bd&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(zd){return new dg(zd)}enter(zd){this.scopeStack.push(this.createScope(zd))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(zd){return!!(zd.flags&130||!this.parser.inModule&&zd.flags&1)}declareName(zd,Bd,Yd){let _f=this.currentScope();if(Bd&8||Bd&16){this.checkRedeclarationInScope(_f,zd,Bd,Yd);let Nf=_f.names.get(zd)||0;Bd&16?Nf=Nf|4:(_f.firstLexicalName||(_f.firstLexicalName=zd),Nf=Nf|2),_f.names.set(zd,Nf),Bd&8&&this.maybeExportDefined(_f,zd)}else if(Bd&4)for(let Nf=this.scopeStack.length-1;Nf>=0&&(_f=this.scopeStack[Nf],this.checkRedeclarationInScope(_f,zd,Bd,Yd),_f.names.set(zd,(_f.names.get(zd)||0)|1),this.maybeExportDefined(_f,zd),!(_f.flags&387));--Nf);this.parser.inModule&&_f.flags&1&&this.undefinedExports.delete(zd)}maybeExportDefined(zd,Bd){this.parser.inModule&&zd.flags&1&&this.undefinedExports.delete(Bd)}checkRedeclarationInScope(zd,Bd,Yd,_f){this.isRedeclaredInScope(zd,Bd,Yd)&&this.parser.raise(Md.VarRedeclaration,_f,{identifierName:Bd})}isRedeclaredInScope(zd,Bd,Yd){if(!(Yd&1))return!1;if(Yd&8)return zd.names.has(Bd);let _f=zd.names.get(Bd);return Yd&16?(_f&2)>0||!this.treatFunctionsAsVarInScope(zd)&&(_f&1)>0:(_f&2)>0&&!(zd.flags&8&&zd.firstLexicalName===Bd)||!this.treatFunctionsAsVarInScope(zd)&&(_f&4)>0}checkLocalExport(zd){let{name:Bd}=zd;this.scopeStack[0].names.has(Bd)||this.undefinedExports.set(Bd,zd.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let zd=this.scopeStack.length-1;;zd--){let{flags:Bd}=this.scopeStack[zd];if(Bd&387)return Bd}}currentThisScopeFlags(){for(let zd=this.scopeStack.length-1;;zd--){let{flags:Bd}=this.scopeStack[zd];if(Bd&451&&!(Bd&4))return Bd}}},q_=class extends dg{constructor(...zd){super(...zd),this.declareFunctions=new Set}},Y_=class extends yg{createScope(zd){return new q_(zd)}declareName(zd,Bd,Yd){let _f=this.currentScope();if(Bd&2048){this.checkRedeclarationInScope(_f,zd,Bd,Yd),this.maybeExportDefined(_f,zd),_f.declareFunctions.add(zd);return}super.declareName(zd,Bd,Yd)}isRedeclaredInScope(zd,Bd,Yd){if(super.isRedeclaredInScope(zd,Bd,Yd))return!0;if(Yd&2048&&!zd.declareFunctions.has(Bd)){let _f=zd.names.get(Bd);return(_f&4)>0||(_f&2)>0}return!1}checkLocalExport(zd){this.scopeStack[0].declareFunctions.has(zd.name)||super.checkLocalExport(zd)}},Qm=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(zd){if(typeof zd=="string")return this.plugins.has(zd);{let[Bd,Yd]=zd;if(!this.hasPlugin(Bd))return!1;let _f=this.plugins.get(Bd);for(let Nf of Object.keys(Yd))if((_f==null?void 0:_f[Nf])!==Yd[Nf])return!1;return!0}}getPluginOption(zd,Bd){var Yd;return(Yd=this.plugins.get(zd))==null?void 0:Yd[Bd]}};function Zg(zd,Bd){zd.trailingComments===void 0?zd.trailingComments=Bd:zd.trailingComments.unshift(...Bd)}function db(zd,Bd){zd.leadingComments===void 0?zd.leadingComments=Bd:zd.leadingComments.unshift(...Bd)}function $g(zd,Bd){zd.innerComments===void 0?zd.innerComments=Bd:zd.innerComments.unshift(...Bd)}function Of(zd,Bd,Yd){let _f=null,Nf=Bd.length;for(;_f===null&&Nf>0;)_f=Bd[--Nf];_f===null||_f.start>Yd.start?$g(zd,Yd.comments):Zg(_f,Yd.comments)}var Ch=class extends Qm{addComment(zd){this.filename&&(zd.loc.filename=this.filename);let{commentsLen:Bd}=this.state;this.comments.length!==Bd&&(this.comments.length=Bd),this.comments.push(zd),this.state.commentsLen++}processComment(zd){let{commentStack:Bd}=this.state,Yd=Bd.length;if(Yd===0)return;let _f=Yd-1,Nf=Bd[_f];Nf.start===zd.end&&(Nf.leadingNode=zd,_f--);let{start:th}=zd;for(;_f>=0;_f--){let bh=Bd[_f],kh=bh.end;if(kh>th)bh.containingNode=zd,this.finalizeComment(bh),Bd.splice(_f,1);else{kh===th&&(bh.trailingNode=zd);break}}}finalizeComment(zd){let{comments:Bd}=zd;if(zd.leadingNode!==null||zd.trailingNode!==null)zd.leadingNode!==null&&Zg(zd.leadingNode,Bd),zd.trailingNode!==null&&db(zd.trailingNode,Bd);else{let{containingNode:Yd,start:_f}=zd;if(this.input.charCodeAt(_f-1)===44)switch(Yd.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Of(Yd,Yd.properties,zd);break;case"CallExpression":case"OptionalCallExpression":Of(Yd,Yd.arguments,zd);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Of(Yd,Yd.params,zd);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Of(Yd,Yd.elements,zd);break;case"ExportNamedDeclaration":case"ImportDeclaration":Of(Yd,Yd.specifiers,zd);break;default:$g(Yd,Bd)}else $g(Yd,Bd)}}finalizeRemainingComments(){let{commentStack:zd}=this.state;for(let Bd=zd.length-1;Bd>=0;Bd--)this.finalizeComment(zd[Bd]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(zd){let{commentStack:Bd}=this.state,{length:Yd}=Bd;if(Yd===0)return;let _f=Bd[Yd-1];_f.leadingNode===zd&&(_f.leadingNode=null)}resetPreviousIdentifierLeadingComments(zd){let{commentStack:Bd}=this.state,{length:Yd}=Bd;Yd!==0&&(Bd[Yd-1].trailingNode===zd?Bd[Yd-1].trailingNode=null:Yd>=2&&Bd[Yd-2].trailingNode===zd&&(Bd[Yd-2].trailingNode=null))}takeSurroundingComments(zd,Bd,Yd){let{commentStack:_f}=this.state,Nf=_f.length;if(Nf===0)return;let th=Nf-1;for(;th>=0;th--){let bh=_f[th],kh=bh.end;if(bh.start===Yd)bh.leadingNode=zd;else if(kh===Bd)bh.trailingNode=zd;else if(kh<Bd)break}}},_h=/\r\n?|[\n\u2028\u2029]/,Sh=new RegExp(_h.source,"g");function Wh(zd){switch(zd){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var Fh=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,om=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g,im=new RegExp("(?=("+om.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Rh(zd){switch(zd){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 Im=class Rx{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=[mf.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(Bd){Bd?this.flags|=1:this.flags&=-2}init({strictMode:Bd,sourceType:Yd,startLine:_f,startColumn:Nf}){this.strict=Bd===!1?!1:Bd===!0?!0:Yd==="module",this.curLine=_f,this.lineStart=-Nf,this.startLoc=this.endLoc=new nd(_f,Nf,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(Bd){Bd?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(Bd){Bd?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(Bd){Bd?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(Bd){Bd?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(Bd){Bd?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(Bd){Bd?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(Bd){Bd?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(Bd){Bd?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(Bd){Bd?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(Bd){Bd?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(Bd){Bd?this.flags|=2048:this.flags&=-2049}curPosition(){return new nd(this.curLine,this.pos-this.lineStart,this.pos)}clone(){let Bd=new Rx;return Bd.flags=this.flags,Bd.curLine=this.curLine,Bd.lineStart=this.lineStart,Bd.startLoc=this.startLoc,Bd.endLoc=this.endLoc,Bd.errors=this.errors.slice(),Bd.potentialArrowAt=this.potentialArrowAt,Bd.noArrowAt=this.noArrowAt.slice(),Bd.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),Bd.topicContext=this.topicContext,Bd.labels=this.labels.slice(),Bd.commentsLen=this.commentsLen,Bd.commentStack=this.commentStack.slice(),Bd.pos=this.pos,Bd.type=this.type,Bd.value=this.value,Bd.start=this.start,Bd.end=this.end,Bd.lastTokEndLoc=this.lastTokEndLoc,Bd.lastTokStartLoc=this.lastTokStartLoc,Bd.context=this.context.slice(),Bd.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,Bd.strictErrors=this.strictErrors,Bd.tokensLength=this.tokensLength,Bd}},Pm=function(zd){return zd>=48&&zd<=57},i_={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Hm={bin:zd=>zd===48||zd===49,oct:zd=>zd>=48&&zd<=55,dec:zd=>zd>=48&&zd<=57,hex:zd=>zd>=48&&zd<=57||zd>=65&&zd<=70||zd>=97&&zd<=102};function o_(zd,Bd,Yd,_f,Nf,th){let bh=Yd,kh=_f,sm=Nf,Xh="",Fm=null,Zm=Yd,{length:l_}=Bd;for(;;){if(Yd>=l_){th.unterminated(bh,kh,sm),Xh+=Bd.slice(Zm,Yd);break}let d_=Bd.charCodeAt(Yd);if(j_(zd,d_,Bd,Yd)){Xh+=Bd.slice(Zm,Yd);break}if(d_===92){Xh+=Bd.slice(Zm,Yd);let w_=B_(Bd,Yd,_f,Nf,zd==="template",th);w_.ch===null&&!Fm?Fm={pos:Yd,lineStart:_f,curLine:Nf}:Xh+=w_.ch,{pos:Yd,lineStart:_f,curLine:Nf}=w_,Zm=Yd}else d_===8232||d_===8233?(++Yd,++Nf,_f=Yd):d_===10||d_===13?zd==="template"?(Xh+=Bd.slice(Zm,Yd)+`
|
||
`,++Yd,d_===13&&Bd.charCodeAt(Yd)===10&&++Yd,++Nf,Zm=_f=Yd):th.unterminated(bh,kh,sm):++Yd}return{pos:Yd,str:Xh,firstInvalidLoc:Fm,lineStart:_f,curLine:Nf,containsInvalid:!!Fm}}function j_(zd,Bd,Yd,_f){return zd==="template"?Bd===96||Bd===36&&Yd.charCodeAt(_f+1)===123:Bd===(zd==="double"?34:39)}function B_(zd,Bd,Yd,_f,Nf,th){let bh=!Nf;Bd++;let kh=Xh=>({pos:Bd,ch:Xh,lineStart:Yd,curLine:_f}),sm=zd.charCodeAt(Bd++);switch(sm){case 110:return kh(`
|
||
`);case 114:return kh("\r");case 120:{let Xh;return{code:Xh,pos:Bd}=C_(zd,Bd,Yd,_f,2,!1,bh,th),kh(Xh===null?null:String.fromCharCode(Xh))}case 117:{let Xh;return{code:Xh,pos:Bd}=ig(zd,Bd,Yd,_f,bh,th),kh(Xh===null?null:String.fromCodePoint(Xh))}case 116:return kh(" ");case 98:return kh("\b");case 118:return kh("\v");case 102:return kh("\f");case 13:zd.charCodeAt(Bd)===10&&++Bd;case 10:Yd=Bd,++_f;case 8232:case 8233:return kh("");case 56:case 57:if(Nf)return kh(null);th.strictNumericEscape(Bd-1,Yd,_f);default:if(sm>=48&&sm<=55){let Xh=Bd-1,Fm=/^[0-7]+/.exec(zd.slice(Xh,Bd+2))[0],Zm=parseInt(Fm,8);Zm>255&&(Fm=Fm.slice(0,-1),Zm=parseInt(Fm,8)),Bd+=Fm.length-1;let l_=zd.charCodeAt(Bd);if(Fm!=="0"||l_===56||l_===57){if(Nf)return kh(null);th.strictNumericEscape(Xh,Yd,_f)}return kh(String.fromCharCode(Zm))}return kh(String.fromCharCode(sm))}}function C_(zd,Bd,Yd,_f,Nf,th,bh,kh){let sm=Bd,Xh;return{n:Xh,pos:Bd}=Km(zd,Bd,Yd,_f,16,Nf,th,!1,kh,!bh),Xh===null&&(bh?kh.invalidEscapeSequence(sm,Yd,_f):Bd=sm-1),{code:Xh,pos:Bd}}function Km(zd,Bd,Yd,_f,Nf,th,bh,kh,sm,Xh){let Fm=Bd,Zm=Nf===16?i_.hex:i_.decBinOct,l_=Nf===16?Hm.hex:Nf===10?Hm.dec:Nf===8?Hm.oct:Hm.bin,d_=!1,w_=0;for(let Eg=0,U_=th??1/0;Eg<U_;++Eg){let K_=zd.charCodeAt(Bd),Hg;if(K_===95&&kh!=="bail"){let Q0=zd.charCodeAt(Bd-1),tv=zd.charCodeAt(Bd+1);if(kh){if(Number.isNaN(tv)||!l_(tv)||Zm.has(Q0)||Zm.has(tv)){if(Xh)return{n:null,pos:Bd};sm.unexpectedNumericSeparator(Bd,Yd,_f)}}else{if(Xh)return{n:null,pos:Bd};sm.numericSeparatorInEscapeSequence(Bd,Yd,_f)}++Bd;continue}if(K_>=97?Hg=K_-97+10:K_>=65?Hg=K_-65+10:Pm(K_)?Hg=K_-48:Hg=1/0,Hg>=Nf){if(Hg<=9&&Xh)return{n:null,pos:Bd};if(Hg<=9&&sm.invalidDigit(Bd,Yd,_f,Nf))Hg=0;else if(bh)Hg=0,d_=!0;else break}++Bd,w_=w_*Nf+Hg}return Bd===Fm||th!=null&&Bd-Fm!==th||d_?{n:null,pos:Bd}:{n:w_,pos:Bd}}function ig(zd,Bd,Yd,_f,Nf,th){let bh=zd.charCodeAt(Bd),kh;if(bh===123){if(++Bd,{code:kh,pos:Bd}=C_(zd,Bd,Yd,_f,zd.indexOf("}",Bd)-Bd,!0,Nf,th),++Bd,kh!==null&&kh>1114111)if(Nf)th.invalidCodePoint(Bd,Yd,_f);else return{code:null,pos:Bd}}else({code:kh,pos:Bd}=C_(zd,Bd,Yd,_f,4,!1,Nf,th));return{code:kh,pos:Bd}}function N_(zd,Bd,Yd){return new nd(Yd,zd-Bd,zd)}var y_=new Set([103,109,115,105,121,117,100,118]),hh=class{constructor(zd){this.type=zd.type,this.value=zd.value,this.start=zd.start,this.end=zd.end,this.loc=new od(zd.startLoc,zd.endLoc)}},Bh=class extends Ch{constructor(zd,Bd){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(Yd,_f,Nf,th)=>this.options.errorRecovery?(this.raise(Md.InvalidDigit,N_(Yd,_f,Nf),{radix:th}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(Md.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(Md.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(Md.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(Md.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(Yd,_f,Nf)=>{this.recordStrictModeErrors(Md.StrictNumericEscape,N_(Yd,_f,Nf))},unterminated:(Yd,_f,Nf)=>{throw this.raise(Md.UnterminatedString,N_(Yd-1,_f,Nf))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(Md.StrictNumericEscape),unterminated:(Yd,_f,Nf)=>{throw this.raise(Md.UnterminatedTemplate,N_(Yd,_f,Nf))}}),this.state=new Im,this.state.init(zd),this.input=Bd,this.length=Bd.length,this.comments=[],this.isLookahead=!1}pushToken(zd){this.tokens.length=this.state.tokensLength,this.tokens.push(zd),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new hh(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(zd){return this.match(zd)?(this.next(),!0):!1}match(zd){return this.state.type===zd}createLookaheadState(zd){return{pos:zd.pos,value:null,type:zd.type,start:zd.start,end:zd.end,context:[this.curContext()],inType:zd.inType,startLoc:zd.startLoc,lastTokEndLoc:zd.lastTokEndLoc,curLine:zd.curLine,lineStart:zd.lineStart,curPosition:zd.curPosition}}lookahead(){let zd=this.state;this.state=this.createLookaheadState(zd),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let Bd=this.state;return this.state=zd,Bd}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(zd){return Fh.lastIndex=zd,Fh.test(this.input)?Fh.lastIndex:zd}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(zd){return om.lastIndex=zd,om.test(this.input)?om.lastIndex:zd}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(zd){let Bd=this.input.charCodeAt(zd);if((Bd&64512)===55296&&++zd<this.input.length){let Yd=this.input.charCodeAt(zd);(Yd&64512)===56320&&(Bd=65536+((Bd&1023)<<10)+(Yd&1023))}return Bd}setStrict(zd){this.state.strict=zd,zd&&(this.state.strictErrors.forEach(([Bd,Yd])=>this.raise(Bd,Yd)),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(zd){let Bd;this.isLookahead||(Bd=this.state.curPosition());let Yd=this.state.pos,_f=this.input.indexOf(zd,Yd+2);if(_f===-1)throw this.raise(Md.UnterminatedComment,this.state.curPosition());for(this.state.pos=_f+zd.length,Sh.lastIndex=Yd+2;Sh.test(this.input)&&Sh.lastIndex<=_f;)++this.state.curLine,this.state.lineStart=Sh.lastIndex;if(this.isLookahead)return;let Nf={type:"CommentBlock",value:this.input.slice(Yd+2,_f),start:Yd,end:_f+zd.length,loc:new od(Bd,this.state.curPosition())};return this.options.tokens&&this.pushToken(Nf),Nf}skipLineComment(zd){let Bd=this.state.pos,Yd;this.isLookahead||(Yd=this.state.curPosition());let _f=this.input.charCodeAt(this.state.pos+=zd);if(this.state.pos<this.length)for(;!Wh(_f)&&++this.state.pos<this.length;)_f=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let Nf=this.state.pos,th={type:"CommentLine",value:this.input.slice(Bd+zd,Nf),start:Bd,end:Nf,loc:new od(Yd,this.state.curPosition())};return this.options.tokens&&this.pushToken(th),th}skipSpace(){let zd=this.state.pos,Bd=[];e:for(;this.state.pos<this.length;){let Yd=this.input.charCodeAt(this.state.pos);switch(Yd){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 _f=this.skipBlockComment("*/");_f!==void 0&&(this.addComment(_f),this.options.attachComment&&Bd.push(_f));break}case 47:{let _f=this.skipLineComment(2);_f!==void 0&&(this.addComment(_f),this.options.attachComment&&Bd.push(_f));break}default:break e}break;default:if(Rh(Yd))++this.state.pos;else if(Yd===45&&!this.inModule&&this.options.annexB){let _f=this.state.pos;if(this.input.charCodeAt(_f+1)===45&&this.input.charCodeAt(_f+2)===62&&(zd===0||this.state.lineStart>zd)){let Nf=this.skipLineComment(3);Nf!==void 0&&(this.addComment(Nf),this.options.attachComment&&Bd.push(Nf))}else break e}else if(Yd===60&&!this.inModule&&this.options.annexB){let _f=this.state.pos;if(this.input.charCodeAt(_f+1)===33&&this.input.charCodeAt(_f+2)===45&&this.input.charCodeAt(_f+3)===45){let Nf=this.skipLineComment(4);Nf!==void 0&&(this.addComment(Nf),this.options.attachComment&&Bd.push(Nf))}else break e}else break e}}if(Bd.length>0){let Yd=this.state.pos,_f={start:zd,end:Yd,comments:Bd,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(_f)}}finishToken(zd,Bd){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let Yd=this.state.type;this.state.type=zd,this.state.value=Bd,this.isLookahead||this.updateContext(Yd)}replaceToken(zd){this.state.type=zd,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let zd=this.state.pos+1,Bd=this.codePointAtPos(zd);if(Bd>=48&&Bd<=57)throw this.raise(Md.UnexpectedDigitAfterHash,this.state.curPosition());if(Bd===123||Bd===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(Bd===123?Md.RecordExpressionHashIncorrectStartSyntaxType:Md.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,Bd===123?this.finishToken(7):this.finishToken(1)}else Zh(Bd)?(++this.state.pos,this.finishToken(138,this.readWord1(Bd))):Bd===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let zd=this.input.charCodeAt(this.state.pos+1);if(zd>=48&&zd<=57){this.readNumber(!0);return}zd===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 zd=this.input.charCodeAt(this.state.pos+1);if(zd!==33)return!1;let Bd=this.state.pos;for(this.state.pos+=1;!Wh(zd)&&++this.state.pos<this.length;)zd=this.input.charCodeAt(this.state.pos);let Yd=this.input.slice(Bd+2,this.state.pos);return this.finishToken(28,Yd),!0}readToken_mult_modulo(zd){let Bd=zd===42?55:54,Yd=1,_f=this.input.charCodeAt(this.state.pos+1);zd===42&&_f===42&&(Yd++,_f=this.input.charCodeAt(this.state.pos+2),Bd=57),_f===61&&!this.state.inType&&(Yd++,Bd=zd===37?33:30),this.finishOp(Bd,Yd)}readToken_pipe_amp(zd){let Bd=this.input.charCodeAt(this.state.pos+1);if(Bd===zd){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(zd===124?41:42,2);return}if(zd===124){if(Bd===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&Bd===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Md.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&Bd===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Md.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(Bd===61){this.finishOp(30,2);return}this.finishOp(zd===124?43:45,1)}readToken_caret(){let zd=this.input.charCodeAt(this.state.pos+1);zd===61&&!this.state.inType?this.finishOp(32,2):zd===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(zd){let Bd=this.input.charCodeAt(this.state.pos+1);if(Bd===zd){this.finishOp(34,2);return}Bd===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:zd}=this.state,Bd=this.input.charCodeAt(zd+1);if(Bd===60){if(this.input.charCodeAt(zd+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(Bd===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:zd}=this.state,Bd=this.input.charCodeAt(zd+1);if(Bd===62){let Yd=this.input.charCodeAt(zd+2)===62?3:2;if(this.input.charCodeAt(zd+Yd)===61){this.finishOp(30,Yd+1);return}this.finishOp(52,Yd);return}if(Bd===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(zd){let Bd=this.input.charCodeAt(this.state.pos+1);if(Bd===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(zd===61&&Bd===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(zd===61?29:35,1)}readToken_question(){let zd=this.input.charCodeAt(this.state.pos+1),Bd=this.input.charCodeAt(this.state.pos+2);zd===63?Bd===61?this.finishOp(30,3):this.finishOp(40,2):zd===46&&!(Bd>=48&&Bd<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(zd){switch(zd){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(Md.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(Md.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 Bd=this.input.charCodeAt(this.state.pos+1);if(Bd===120||Bd===88){this.readRadixNumber(16);return}if(Bd===111||Bd===79){this.readRadixNumber(8);return}if(Bd===98||Bd===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(zd);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(zd);return;case 124:case 38:this.readToken_pipe_amp(zd);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(zd);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(zd);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(Zh(zd)){this.readWord(zd);return}}throw this.raise(Md.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(zd)})}finishOp(zd,Bd){let Yd=this.input.slice(this.state.pos,this.state.pos+Bd);this.state.pos+=Bd,this.finishToken(zd,Yd)}readRegexp(){let zd=this.state.startLoc,Bd=this.state.start+1,Yd,_f,{pos:Nf}=this.state;for(;;++Nf){if(Nf>=this.length)throw this.raise(Md.UnterminatedRegExp,ld(zd,1));let sm=this.input.charCodeAt(Nf);if(Wh(sm))throw this.raise(Md.UnterminatedRegExp,ld(zd,1));if(Yd)Yd=!1;else{if(sm===91)_f=!0;else if(sm===93&&_f)_f=!1;else if(sm===47&&!_f)break;Yd=sm===92}}let th=this.input.slice(Bd,Nf);++Nf;let bh="",kh=()=>ld(zd,Nf+2-Bd);for(;Nf<this.length;){let sm=this.codePointAtPos(Nf),Xh=String.fromCharCode(sm);if(y_.has(sm))sm===118?bh.includes("u")&&this.raise(Md.IncompatibleRegExpUVFlags,kh()):sm===117&&bh.includes("v")&&this.raise(Md.IncompatibleRegExpUVFlags,kh()),bh.includes(Xh)&&this.raise(Md.DuplicateRegExpFlags,kh());else if(_m(sm)||sm===92)this.raise(Md.MalformedRegExpFlags,kh());else break;++Nf,bh+=Xh}this.state.pos=Nf,this.finishToken(137,{pattern:th,flags:bh})}readInt(zd,Bd,Yd=!1,_f=!0){let{n:Nf,pos:th}=Km(this.input,this.state.pos,this.state.lineStart,this.state.curLine,zd,Bd,Yd,_f,this.errorHandlers_readInt,!1);return this.state.pos=th,Nf}readRadixNumber(zd){let Bd=this.state.curPosition(),Yd=!1;this.state.pos+=2;let _f=this.readInt(zd);_f==null&&this.raise(Md.InvalidDigit,ld(Bd,2),{radix:zd});let Nf=this.input.charCodeAt(this.state.pos);if(Nf===110)++this.state.pos,Yd=!0;else if(Nf===109)throw this.raise(Md.InvalidDecimal,Bd);if(Zh(this.codePointAtPos(this.state.pos)))throw this.raise(Md.NumberIdentifier,this.state.curPosition());if(Yd){let th=this.input.slice(Bd.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,th);return}this.finishToken(134,_f)}readNumber(zd){let Bd=this.state.pos,Yd=this.state.curPosition(),_f=!1,Nf=!1,th=!1,bh=!1,kh=!1;!zd&&this.readInt(10)===null&&this.raise(Md.InvalidNumber,this.state.curPosition());let sm=this.state.pos-Bd>=2&&this.input.charCodeAt(Bd)===48;if(sm){let l_=this.input.slice(Bd,this.state.pos);if(this.recordStrictModeErrors(Md.StrictOctalLiteral,Yd),!this.state.strict){let d_=l_.indexOf("_");d_>0&&this.raise(Md.ZeroDigitNumericSeparator,ld(Yd,d_))}kh=sm&&!/[89]/.test(l_)}let Xh=this.input.charCodeAt(this.state.pos);if(Xh===46&&!kh&&(++this.state.pos,this.readInt(10),_f=!0,Xh=this.input.charCodeAt(this.state.pos)),(Xh===69||Xh===101)&&!kh&&(Xh=this.input.charCodeAt(++this.state.pos),(Xh===43||Xh===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(Md.InvalidOrMissingExponent,Yd),_f=!0,bh=!0,Xh=this.input.charCodeAt(this.state.pos)),Xh===110&&((_f||sm)&&this.raise(Md.InvalidBigIntLiteral,Yd),++this.state.pos,Nf=!0),Xh===109&&(this.expectPlugin("decimal",this.state.curPosition()),(bh||sm)&&this.raise(Md.InvalidDecimal,Yd),++this.state.pos,th=!0),Zh(this.codePointAtPos(this.state.pos)))throw this.raise(Md.NumberIdentifier,this.state.curPosition());let Fm=this.input.slice(Bd,this.state.pos).replace(/[_mn]/g,"");if(Nf){this.finishToken(135,Fm);return}if(th){this.finishToken(136,Fm);return}let Zm=kh?parseInt(Fm,8):parseFloat(Fm);this.finishToken(134,Zm)}readCodePoint(zd){let{code:Bd,pos:Yd}=ig(this.input,this.state.pos,this.state.lineStart,this.state.curLine,zd,this.errorHandlers_readCodePoint);return this.state.pos=Yd,Bd}readString(zd){let{str:Bd,pos:Yd,curLine:_f,lineStart:Nf}=o_(zd===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=Yd+1,this.state.lineStart=Nf,this.state.curLine=_f,this.finishToken(133,Bd)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let zd=this.input[this.state.pos],{str:Bd,firstInvalidLoc:Yd,pos:_f,curLine:Nf,lineStart:th}=o_("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=_f+1,this.state.lineStart=th,this.state.curLine=Nf,Yd&&(this.state.firstInvalidTemplateEscapePos=new nd(Yd.curLine,Yd.pos-Yd.lineStart,Yd.pos)),this.input.codePointAt(_f)===96?this.finishToken(24,Yd?null:zd+Bd+"`"):(this.state.pos++,this.finishToken(25,Yd?null:zd+Bd+"${"))}recordStrictModeErrors(zd,Bd){let Yd=Bd.index;this.state.strict&&!this.state.strictErrors.has(Yd)?this.raise(zd,Bd):this.state.strictErrors.set(Yd,[zd,Bd])}readWord1(zd){this.state.containsEsc=!1;let Bd="",Yd=this.state.pos,_f=this.state.pos;for(zd!==void 0&&(this.state.pos+=zd<=65535?1:2);this.state.pos<this.length;){let Nf=this.codePointAtPos(this.state.pos);if(_m(Nf))this.state.pos+=Nf<=65535?1:2;else if(Nf===92){this.state.containsEsc=!0,Bd+=this.input.slice(_f,this.state.pos);let th=this.state.curPosition(),bh=this.state.pos===Yd?Zh:_m;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(Md.MissingUnicodeEscape,this.state.curPosition()),_f=this.state.pos-1;continue}++this.state.pos;let kh=this.readCodePoint(!0);kh!==null&&(bh(kh)||this.raise(Md.EscapedCharNotAnIdentifier,th),Bd+=String.fromCodePoint(kh)),_f=this.state.pos}else break}return Bd+this.input.slice(_f,this.state.pos)}readWord(zd){let Bd=this.readWord1(zd),Yd=xf.get(Bd);Yd!==void 0?this.finishToken(Yd,wh(Yd)):this.finishToken(132,Bd)}checkKeywordEscapes(){let{type:zd}=this.state;$f(zd)&&this.state.containsEsc&&this.raise(Md.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:wh(zd)})}raise(zd,Bd,Yd={}){let _f=Bd instanceof nd?Bd:Bd.loc.start,Nf=zd(_f,Yd);if(!this.options.errorRecovery)throw Nf;return this.isLookahead||this.state.errors.push(Nf),Nf}raiseOverwrite(zd,Bd,Yd={}){let _f=Bd instanceof nd?Bd:Bd.loc.start,Nf=_f.index,th=this.state.errors;for(let bh=th.length-1;bh>=0;bh--){let kh=th[bh];if(kh.loc.index===Nf)return th[bh]=zd(_f,Yd);if(kh.loc.index<Nf)break}return this.raise(zd,Bd,Yd)}updateContext(zd){}unexpected(zd,Bd){throw this.raise(Md.UnexpectedToken,zd??this.state.startLoc,{expected:Bd?wh(Bd):null})}expectPlugin(zd,Bd){if(this.hasPlugin(zd))return!0;throw this.raise(Md.MissingPlugin,Bd??this.state.startLoc,{missingPlugin:[zd]})}expectOnePlugin(zd){if(!zd.some(Bd=>this.hasPlugin(Bd)))throw this.raise(Md.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:zd})}errorBuilder(zd){return(Bd,Yd,_f)=>{this.raise(zd,N_(Bd,Yd,_f))}}},Mm=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},zm=class{constructor(zd){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=zd}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Mm)}exit(){let zd=this.stack.pop(),Bd=this.current();for(let[Yd,_f]of Array.from(zd.undefinedPrivateNames))Bd?Bd.undefinedPrivateNames.has(Yd)||Bd.undefinedPrivateNames.set(Yd,_f):this.parser.raise(Md.InvalidPrivateFieldResolution,_f,{identifierName:Yd})}declarePrivateName(zd,Bd,Yd){let{privateNames:_f,loneAccessors:Nf,undefinedPrivateNames:th}=this.current(),bh=_f.has(zd);if(Bd&3){let kh=bh&&Nf.get(zd);if(kh){let sm=kh&4,Xh=Bd&4,Fm=kh&3,Zm=Bd&3;bh=Fm===Zm||sm!==Xh,bh||Nf.delete(zd)}else bh||Nf.set(zd,Bd)}bh&&this.parser.raise(Md.PrivateNameRedeclaration,Yd,{identifierName:zd}),_f.add(zd),th.delete(zd)}usePrivateName(zd,Bd){let Yd;for(Yd of this.stack)if(Yd.privateNames.has(zd))return;Yd?Yd.undefinedPrivateNames.set(zd,Bd):this.parser.raise(Md.InvalidPrivateFieldResolution,Bd,{identifierName:zd})}},Tm=class{constructor(zd=0){this.type=zd}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},e_=class extends Tm{constructor(zd){super(zd),this.declarationErrors=new Map}recordDeclarationError(zd,Bd){let Yd=Bd.index;this.declarationErrors.set(Yd,[zd,Bd])}clearDeclarationError(zd){this.declarationErrors.delete(zd)}iterateErrors(zd){this.declarationErrors.forEach(zd)}},O_=class{constructor(zd){this.parser=void 0,this.stack=[new Tm],this.parser=zd}enter(zd){this.stack.push(zd)}exit(){this.stack.pop()}recordParameterInitializerError(zd,Bd){let Yd=Bd.loc.start,{stack:_f}=this,Nf=_f.length-1,th=_f[Nf];for(;!th.isCertainlyParameterDeclaration();){if(th.canBeArrowParameterDeclaration())th.recordDeclarationError(zd,Yd);else return;th=_f[--Nf]}this.parser.raise(zd,Yd)}recordArrowParameterBindingError(zd,Bd){let{stack:Yd}=this,_f=Yd[Yd.length-1],Nf=Bd.loc.start;if(_f.isCertainlyParameterDeclaration())this.parser.raise(zd,Nf);else if(_f.canBeArrowParameterDeclaration())_f.recordDeclarationError(zd,Nf);else return}recordAsyncArrowParametersError(zd){let{stack:Bd}=this,Yd=Bd.length-1,_f=Bd[Yd];for(;_f.canBeArrowParameterDeclaration();)_f.type===2&&_f.recordDeclarationError(Md.AwaitBindingIdentifier,zd),_f=Bd[--Yd]}validateAsPattern(){let{stack:zd}=this,Bd=zd[zd.length-1];Bd.canBeArrowParameterDeclaration()&&Bd.iterateErrors(([Yd,_f])=>{this.parser.raise(Yd,_f);let Nf=zd.length-2,th=zd[Nf];for(;th.canBeArrowParameterDeclaration();)th.clearDeclarationError(_f.index),th=zd[--Nf]})}};function og(){return new Tm(3)}function Cg(){return new e_(1)}function rb(){return new e_(2)}function Eb(){return new Tm}var E_=class{constructor(){this.stacks=[]}enter(zd){this.stacks.push(zd)}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 nb(zd,Bd){return(zd?2:0)|(Bd?1:0)}var lg=class extends Bh{addExtra(zd,Bd,Yd,_f=!0){if(!zd)return;let Nf=zd.extra=zd.extra||{};_f?Nf[Bd]=Yd:Object.defineProperty(Nf,Bd,{enumerable:_f,value:Yd})}isContextual(zd){return this.state.type===zd&&!this.state.containsEsc}isUnparsedContextual(zd,Bd){let Yd=zd+Bd.length;if(this.input.slice(zd,Yd)===Bd){let _f=this.input.charCodeAt(Yd);return!(_m(_f)||(_f&64512)===55296)}return!1}isLookaheadContextual(zd){let Bd=this.nextTokenStart();return this.isUnparsedContextual(Bd,zd)}eatContextual(zd){return this.isContextual(zd)?(this.next(),!0):!1}expectContextual(zd,Bd){if(!this.eatContextual(zd)){if(Bd!=null)throw this.raise(Bd,this.state.startLoc);this.unexpected(null,zd)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return _h.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return im.lastIndex=this.state.end,im.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(zd=!0){(zd?this.isLineTerminator():this.eat(13))||this.raise(Md.MissingSemicolon,this.state.lastTokEndLoc)}expect(zd,Bd){this.eat(zd)||this.unexpected(Bd,zd)}tryParse(zd,Bd=this.state.clone()){let Yd={node:null};try{let _f=zd((Nf=null)=>{throw Yd.node=Nf,Yd});if(this.state.errors.length>Bd.errors.length){let Nf=this.state;return this.state=Bd,this.state.tokensLength=Nf.tokensLength,{node:_f,error:Nf.errors[Bd.errors.length],thrown:!1,aborted:!1,failState:Nf}}return{node:_f,error:null,thrown:!1,aborted:!1,failState:null}}catch(_f){let Nf=this.state;if(this.state=Bd,_f instanceof SyntaxError)return{node:null,error:_f,thrown:!0,aborted:!1,failState:Nf};if(_f===Yd)return{node:Yd.node,error:null,thrown:!1,aborted:!0,failState:Nf};throw _f}}checkExpressionErrors(zd,Bd){if(!zd)return!1;let{shorthandAssignLoc:Yd,doubleProtoLoc:_f,privateKeyLoc:Nf,optionalParametersLoc:th}=zd,bh=!!Yd||!!_f||!!th||!!Nf;if(!Bd)return bh;Yd!=null&&this.raise(Md.InvalidCoverInitializedName,Yd),_f!=null&&this.raise(Md.DuplicateProto,_f),Nf!=null&&this.raise(Md.UnexpectedPrivateField,Nf),th!=null&&this.unexpected(th)}isLiteralPropertyName(){return ih(this.state.type)}isPrivateName(zd){return zd.type==="PrivateName"}getPrivateNameSV(zd){return zd.id.name}hasPropertyAsPrivateName(zd){return(zd.type==="MemberExpression"||zd.type==="OptionalMemberExpression")&&this.isPrivateName(zd.property)}isObjectProperty(zd){return zd.type==="ObjectProperty"}isObjectMethod(zd){return zd.type==="ObjectMethod"}initializeScopes(zd=this.options.sourceType==="module"){let Bd=this.state.labels;this.state.labels=[];let Yd=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let _f=this.inModule;this.inModule=zd;let Nf=this.scope,th=this.getScopeHandler();this.scope=new th(this,zd);let bh=this.prodParam;this.prodParam=new E_;let kh=this.classScope;this.classScope=new zm(this);let sm=this.expressionScope;return this.expressionScope=new O_(this),()=>{this.state.labels=Bd,this.exportedIdentifiers=Yd,this.inModule=_f,this.scope=Nf,this.prodParam=bh,this.classScope=kh,this.expressionScope=sm}}enterInitialScopes(){let zd=0;this.inModule&&(zd|=2),this.scope.enter(1),this.prodParam.enter(zd)}checkDestructuringPrivate(zd){let{privateKeyLoc:Bd}=zd;Bd!==null&&this.expectPlugin("destructuringPrivate",Bd)}},jg=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},wg=class{constructor(zd,Bd,Yd){this.type="",this.start=Bd,this.end=0,this.loc=new od(Yd),zd!=null&&zd.options.ranges&&(this.range=[Bd,0]),zd!=null&&zd.filename&&(this.loc.filename=zd.filename)}},Tb=wg.prototype;Tb.__clone=function(){let zd=new wg(void 0,this.start,this.loc.start),Bd=Object.keys(this);for(let Yd=0,_f=Bd.length;Yd<_f;Yd++){let Nf=Bd[Yd];Nf!=="leadingComments"&&Nf!=="trailingComments"&&Nf!=="innerComments"&&(zd[Nf]=this[Nf])}return zd};function Jb(zd){return Ug(zd)}function Ug(zd){let{type:Bd,start:Yd,end:_f,loc:Nf,range:th,extra:bh,name:kh}=zd,sm=Object.create(Tb);return sm.type=Bd,sm.start=Yd,sm.end=_f,sm.loc=Nf,sm.range=th,sm.extra=bh,sm.name=kh,Bd==="Placeholder"&&(sm.expectedNode=zd.expectedNode),sm}function Sb(zd){let{type:Bd,start:Yd,end:_f,loc:Nf,range:th,extra:bh}=zd;if(Bd==="Placeholder")return Jb(zd);let kh=Object.create(Tb);return kh.type=Bd,kh.start=Yd,kh.end=_f,kh.loc=Nf,kh.range=th,zd.raw!==void 0?kh.raw=zd.raw:kh.extra=bh,kh.value=zd.value,kh}var V0=class extends lg{startNode(){let zd=this.state.startLoc;return new wg(this,zd.index,zd)}startNodeAt(zd){return new wg(this,zd.index,zd)}startNodeAtNode(zd){return this.startNodeAt(zd.loc.start)}finishNode(zd,Bd){return this.finishNodeAt(zd,Bd,this.state.lastTokEndLoc)}finishNodeAt(zd,Bd,Yd){return zd.type=Bd,zd.end=Yd.index,zd.loc.end=Yd,this.options.ranges&&(zd.range[1]=Yd.index),this.options.attachComment&&this.processComment(zd),zd}resetStartLocation(zd,Bd){zd.start=Bd.index,zd.loc.start=Bd,this.options.ranges&&(zd.range[0]=Bd.index)}resetEndLocation(zd,Bd=this.state.lastTokEndLoc){zd.end=Bd.index,zd.loc.end=Bd,this.options.ranges&&(zd.range[1]=Bd.index)}resetStartLocationFromNode(zd,Bd){this.resetStartLocation(zd,Bd.loc.start)}},x0=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),__=Fd`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:zd})=>`Cannot overwrite reserved type ${zd}.`,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:zd,enumName:Bd})=>`Boolean enum members need to be initialized. Use either \`${zd} = true,\` or \`${zd} = false,\` in enum \`${Bd}\`.`,EnumDuplicateMemberName:({memberName:zd,enumName:Bd})=>`Enum member names need to be unique, but the name \`${zd}\` has already been used before in enum \`${Bd}\`.`,EnumInconsistentMemberValues:({enumName:zd})=>`Enum \`${zd}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:zd,enumName:Bd})=>`Enum type \`${zd}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${Bd}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:zd})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${zd}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:zd,memberName:Bd,explicitType:Yd})=>`Enum \`${zd}\` has type \`${Yd}\`, so the initializer of \`${Bd}\` needs to be a ${Yd} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:zd,memberName:Bd})=>`Symbol enum members cannot be initialized. Use \`${Bd},\` in enum \`${zd}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:zd,memberName:Bd})=>`The enum member initializer for \`${Bd}\` needs to be a literal (either a boolean, number, or string) in enum \`${zd}\`.`,EnumInvalidMemberName:({enumName:zd,memberName:Bd,suggestion:Yd})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${Bd}\`, consider using \`${Yd}\`, in enum \`${zd}\`.`,EnumNumberMemberNotInitialized:({enumName:zd,memberName:Bd})=>`Number enum members need to be initialized, e.g. \`${Bd} = 1\` in enum \`${zd}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:zd})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${zd}\`.`,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:zd})=>`Unexpected reserved type ${zd}.`,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:zd,suggestion:Bd})=>`\`declare export ${zd}\` is not supported. Use \`${Bd}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function C0(zd){return zd.type==="DeclareExportAllDeclaration"||zd.type==="DeclareExportDeclaration"&&(!zd.declaration||zd.declaration.type!=="TypeAlias"&&zd.declaration.type!=="InterfaceDeclaration")}function d0(zd){return zd.importKind==="type"||zd.importKind==="typeof"}var z0={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Hy(zd,Bd){let Yd=[],_f=[];for(let Nf=0;Nf<zd.length;Nf++)(Bd(zd[Nf],Nf,zd)?Yd:_f).push(zd[Nf]);return[Yd,_f]}var Wy=/\*?\s*@((?:no)?flow)\b/,p0=zd=>class extends zd{constructor(...Bd){super(...Bd),this.flowPragma=void 0}getScopeHandler(){return Y_}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(Bd,Yd){Bd!==133&&Bd!==13&&Bd!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(Bd,Yd)}addComment(Bd){if(this.flowPragma===void 0){let Yd=Wy.exec(Bd.value);if(Yd)if(Yd[1]==="flow")this.flowPragma="flow";else if(Yd[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(Bd)}flowParseTypeInitialiser(Bd){let Yd=this.state.inType;this.state.inType=!0,this.expect(Bd||14);let _f=this.flowParseType();return this.state.inType=Yd,_f}flowParsePredicate(){let Bd=this.startNode(),Yd=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>Yd.index+1&&this.raise(__.UnexpectedSpaceBetweenModuloChecks,Yd),this.eat(10)?(Bd.value=super.parseExpression(),this.expect(11),this.finishNode(Bd,"DeclaredPredicate")):this.finishNode(Bd,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let Bd=this.state.inType;this.state.inType=!0,this.expect(14);let Yd=null,_f=null;return this.match(54)?(this.state.inType=Bd,_f=this.flowParsePredicate()):(Yd=this.flowParseType(),this.state.inType=Bd,this.match(54)&&(_f=this.flowParsePredicate())),[Yd,_f]}flowParseDeclareClass(Bd){return this.next(),this.flowParseInterfaceish(Bd,!0),this.finishNode(Bd,"DeclareClass")}flowParseDeclareFunction(Bd){this.next();let Yd=Bd.id=this.parseIdentifier(),_f=this.startNode(),Nf=this.startNode();this.match(47)?_f.typeParameters=this.flowParseTypeParameterDeclaration():_f.typeParameters=null,this.expect(10);let th=this.flowParseFunctionTypeParams();return _f.params=th.params,_f.rest=th.rest,_f.this=th._this,this.expect(11),[_f.returnType,Bd.predicate]=this.flowParseTypeAndPredicateInitialiser(),Nf.typeAnnotation=this.finishNode(_f,"FunctionTypeAnnotation"),Yd.typeAnnotation=this.finishNode(Nf,"TypeAnnotation"),this.resetEndLocation(Yd),this.semicolon(),this.scope.declareName(Bd.id.name,2048,Bd.id.loc.start),this.finishNode(Bd,"DeclareFunction")}flowParseDeclare(Bd,Yd){if(this.match(80))return this.flowParseDeclareClass(Bd);if(this.match(68))return this.flowParseDeclareFunction(Bd);if(this.match(74))return this.flowParseDeclareVariable(Bd);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(Bd):(Yd&&this.raise(__.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(Bd));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(Bd);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(Bd);if(this.isContextual(129))return this.flowParseDeclareInterface(Bd);if(this.match(82))return this.flowParseDeclareExportDeclaration(Bd,Yd);this.unexpected()}flowParseDeclareVariable(Bd){return this.next(),Bd.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(Bd.id.name,5,Bd.id.loc.start),this.semicolon(),this.finishNode(Bd,"DeclareVariable")}flowParseDeclareModule(Bd){this.scope.enter(0),this.match(133)?Bd.id=super.parseExprAtom():Bd.id=this.parseIdentifier();let Yd=Bd.body=this.startNode(),_f=Yd.body=[];for(this.expect(5);!this.match(8);){let bh=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(__.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(bh)):(this.expectContextual(125,__.UnsupportedStatementInDeclareModule),bh=this.flowParseDeclare(bh,!0)),_f.push(bh)}this.scope.exit(),this.expect(8),this.finishNode(Yd,"BlockStatement");let Nf=null,th=!1;return _f.forEach(bh=>{C0(bh)?(Nf==="CommonJS"&&this.raise(__.AmbiguousDeclareModuleKind,bh),Nf="ES"):bh.type==="DeclareModuleExports"&&(th&&this.raise(__.DuplicateDeclareModuleExports,bh),Nf==="ES"&&this.raise(__.AmbiguousDeclareModuleKind,bh),Nf="CommonJS",th=!0)}),Bd.kind=Nf||"CommonJS",this.finishNode(Bd,"DeclareModule")}flowParseDeclareExportDeclaration(Bd,Yd){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?Bd.declaration=this.flowParseDeclare(this.startNode()):(Bd.declaration=this.flowParseType(),this.semicolon()),Bd.default=!0,this.finishNode(Bd,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!Yd){let _f=this.state.value;throw this.raise(__.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:_f,suggestion:z0[_f]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return Bd.declaration=this.flowParseDeclare(this.startNode()),Bd.default=!1,this.finishNode(Bd,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return Bd=this.parseExport(Bd,null),Bd.type==="ExportNamedDeclaration"&&(Bd.type="ExportDeclaration",Bd.default=!1,delete Bd.exportKind),Bd.type="Declare"+Bd.type,Bd;this.unexpected()}flowParseDeclareModuleExports(Bd){return this.next(),this.expectContextual(111),Bd.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(Bd,"DeclareModuleExports")}flowParseDeclareTypeAlias(Bd){this.next();let Yd=this.flowParseTypeAlias(Bd);return Yd.type="DeclareTypeAlias",Yd}flowParseDeclareOpaqueType(Bd){this.next();let Yd=this.flowParseOpaqueType(Bd,!0);return Yd.type="DeclareOpaqueType",Yd}flowParseDeclareInterface(Bd){return this.next(),this.flowParseInterfaceish(Bd,!1),this.finishNode(Bd,"DeclareInterface")}flowParseInterfaceish(Bd,Yd){if(Bd.id=this.flowParseRestrictedIdentifier(!Yd,!0),this.scope.declareName(Bd.id.name,Yd?17:8201,Bd.id.loc.start),this.match(47)?Bd.typeParameters=this.flowParseTypeParameterDeclaration():Bd.typeParameters=null,Bd.extends=[],this.eat(81))do Bd.extends.push(this.flowParseInterfaceExtends());while(!Yd&&this.eat(12));if(Yd){if(Bd.implements=[],Bd.mixins=[],this.eatContextual(117))do Bd.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do Bd.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}Bd.body=this.flowParseObjectType({allowStatic:Yd,allowExact:!1,allowSpread:!1,allowProto:Yd,allowInexact:!1})}flowParseInterfaceExtends(){let Bd=this.startNode();return Bd.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?Bd.typeParameters=this.flowParseTypeParameterInstantiation():Bd.typeParameters=null,this.finishNode(Bd,"InterfaceExtends")}flowParseInterface(Bd){return this.flowParseInterfaceish(Bd,!1),this.finishNode(Bd,"InterfaceDeclaration")}checkNotUnderscore(Bd){Bd==="_"&&this.raise(__.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(Bd,Yd,_f){x0.has(Bd)&&this.raise(_f?__.AssignReservedType:__.UnexpectedReservedType,Yd,{reservedType:Bd})}flowParseRestrictedIdentifier(Bd,Yd){return this.checkReservedType(this.state.value,this.state.startLoc,Yd),this.parseIdentifier(Bd)}flowParseTypeAlias(Bd){return Bd.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(Bd.id.name,8201,Bd.id.loc.start),this.match(47)?Bd.typeParameters=this.flowParseTypeParameterDeclaration():Bd.typeParameters=null,Bd.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(Bd,"TypeAlias")}flowParseOpaqueType(Bd,Yd){return this.expectContextual(130),Bd.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(Bd.id.name,8201,Bd.id.loc.start),this.match(47)?Bd.typeParameters=this.flowParseTypeParameterDeclaration():Bd.typeParameters=null,Bd.supertype=null,this.match(14)&&(Bd.supertype=this.flowParseTypeInitialiser(14)),Bd.impltype=null,Yd||(Bd.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(Bd,"OpaqueType")}flowParseTypeParameter(Bd=!1){let Yd=this.state.startLoc,_f=this.startNode(),Nf=this.flowParseVariance(),th=this.flowParseTypeAnnotatableIdentifier();return _f.name=th.name,_f.variance=Nf,_f.bound=th.typeAnnotation,this.match(29)?(this.eat(29),_f.default=this.flowParseType()):Bd&&this.raise(__.MissingTypeParamDefault,Yd),this.finishNode(_f,"TypeParameter")}flowParseTypeParameterDeclaration(){let Bd=this.state.inType,Yd=this.startNode();Yd.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let _f=!1;do{let Nf=this.flowParseTypeParameter(_f);Yd.params.push(Nf),Nf.default&&(_f=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=Bd,this.finishNode(Yd,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let Bd=this.startNode(),Yd=this.state.inType;Bd.params=[],this.state.inType=!0,this.expect(47);let _f=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)Bd.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=_f,this.expect(48),this.state.inType=Yd,this.finishNode(Bd,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let Bd=this.startNode(),Yd=this.state.inType;for(Bd.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)Bd.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=Yd,this.finishNode(Bd,"TypeParameterInstantiation")}flowParseInterfaceType(){let Bd=this.startNode();if(this.expectContextual(129),Bd.extends=[],this.eat(81))do Bd.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return Bd.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(Bd,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(Bd,Yd,_f){return Bd.static=Yd,this.lookahead().type===14?(Bd.id=this.flowParseObjectPropertyKey(),Bd.key=this.flowParseTypeInitialiser()):(Bd.id=null,Bd.key=this.flowParseType()),this.expect(3),Bd.value=this.flowParseTypeInitialiser(),Bd.variance=_f,this.finishNode(Bd,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(Bd,Yd){return Bd.static=Yd,Bd.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(Bd.method=!0,Bd.optional=!1,Bd.value=this.flowParseObjectTypeMethodish(this.startNodeAt(Bd.loc.start))):(Bd.method=!1,this.eat(17)&&(Bd.optional=!0),Bd.value=this.flowParseTypeInitialiser()),this.finishNode(Bd,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(Bd){for(Bd.params=[],Bd.rest=null,Bd.typeParameters=null,Bd.this=null,this.match(47)&&(Bd.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(Bd.this=this.flowParseFunctionTypeParam(!0),Bd.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)Bd.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(Bd.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),Bd.returnType=this.flowParseTypeInitialiser(),this.finishNode(Bd,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(Bd,Yd){let _f=this.startNode();return Bd.static=Yd,Bd.value=this.flowParseObjectTypeMethodish(_f),this.finishNode(Bd,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:Bd,allowExact:Yd,allowSpread:_f,allowProto:Nf,allowInexact:th}){let bh=this.state.inType;this.state.inType=!0;let kh=this.startNode();kh.callProperties=[],kh.properties=[],kh.indexers=[],kh.internalSlots=[];let sm,Xh,Fm=!1;for(Yd&&this.match(6)?(this.expect(6),sm=9,Xh=!0):(this.expect(5),sm=8,Xh=!1),kh.exact=Xh;!this.match(sm);){let l_=!1,d_=null,w_=null,Eg=this.startNode();if(Nf&&this.isContextual(118)){let K_=this.lookahead();K_.type!==14&&K_.type!==17&&(this.next(),d_=this.state.startLoc,Bd=!1)}if(Bd&&this.isContextual(106)){let K_=this.lookahead();K_.type!==14&&K_.type!==17&&(this.next(),l_=!0)}let U_=this.flowParseVariance();if(this.eat(0))d_!=null&&this.unexpected(d_),this.eat(0)?(U_&&this.unexpected(U_.loc.start),kh.internalSlots.push(this.flowParseObjectTypeInternalSlot(Eg,l_))):kh.indexers.push(this.flowParseObjectTypeIndexer(Eg,l_,U_));else if(this.match(10)||this.match(47))d_!=null&&this.unexpected(d_),U_&&this.unexpected(U_.loc.start),kh.callProperties.push(this.flowParseObjectTypeCallProperty(Eg,l_));else{let K_="init";if(this.isContextual(99)||this.isContextual(104)){let Q0=this.lookahead();ih(Q0.type)&&(K_=this.state.value,this.next())}let Hg=this.flowParseObjectTypeProperty(Eg,l_,d_,U_,K_,_f,th??!Xh);Hg===null?(Fm=!0,w_=this.state.lastTokStartLoc):kh.properties.push(Hg)}this.flowObjectTypeSemicolon(),w_&&!this.match(8)&&!this.match(9)&&this.raise(__.UnexpectedExplicitInexactInObject,w_)}this.expect(sm),_f&&(kh.inexact=Fm);let Zm=this.finishNode(kh,"ObjectTypeAnnotation");return this.state.inType=bh,Zm}flowParseObjectTypeProperty(Bd,Yd,_f,Nf,th,bh,kh){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(bh?kh||this.raise(__.InexactInsideExact,this.state.lastTokStartLoc):this.raise(__.InexactInsideNonObject,this.state.lastTokStartLoc),Nf&&this.raise(__.InexactVariance,Nf),null):(bh||this.raise(__.UnexpectedSpreadType,this.state.lastTokStartLoc),_f!=null&&this.unexpected(_f),Nf&&this.raise(__.SpreadVariance,Nf),Bd.argument=this.flowParseType(),this.finishNode(Bd,"ObjectTypeSpreadProperty"));{Bd.key=this.flowParseObjectPropertyKey(),Bd.static=Yd,Bd.proto=_f!=null,Bd.kind=th;let sm=!1;return this.match(47)||this.match(10)?(Bd.method=!0,_f!=null&&this.unexpected(_f),Nf&&this.unexpected(Nf.loc.start),Bd.value=this.flowParseObjectTypeMethodish(this.startNodeAt(Bd.loc.start)),(th==="get"||th==="set")&&this.flowCheckGetterSetterParams(Bd),!bh&&Bd.key.name==="constructor"&&Bd.value.this&&this.raise(__.ThisParamBannedInConstructor,Bd.value.this)):(th!=="init"&&this.unexpected(),Bd.method=!1,this.eat(17)&&(sm=!0),Bd.value=this.flowParseTypeInitialiser(),Bd.variance=Nf),Bd.optional=sm,this.finishNode(Bd,"ObjectTypeProperty")}}flowCheckGetterSetterParams(Bd){let Yd=Bd.kind==="get"?0:1,_f=Bd.value.params.length+(Bd.value.rest?1:0);Bd.value.this&&this.raise(Bd.kind==="get"?__.GetterMayNotHaveThisParam:__.SetterMayNotHaveThisParam,Bd.value.this),_f!==Yd&&this.raise(Bd.kind==="get"?Md.BadGetterArity:Md.BadSetterArity,Bd),Bd.kind==="set"&&Bd.value.rest&&this.raise(Md.BadSetterRestParameter,Bd)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(Bd,Yd){Bd!=null||(Bd=this.state.startLoc);let _f=Yd||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let Nf=this.startNodeAt(Bd);Nf.qualification=_f,Nf.id=this.flowParseRestrictedIdentifier(!0),_f=this.finishNode(Nf,"QualifiedTypeIdentifier")}return _f}flowParseGenericType(Bd,Yd){let _f=this.startNodeAt(Bd);return _f.typeParameters=null,_f.id=this.flowParseQualifiedTypeIdentifier(Bd,Yd),this.match(47)&&(_f.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(_f,"GenericTypeAnnotation")}flowParseTypeofType(){let Bd=this.startNode();return this.expect(87),Bd.argument=this.flowParsePrimaryType(),this.finishNode(Bd,"TypeofTypeAnnotation")}flowParseTupleType(){let Bd=this.startNode();for(Bd.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(Bd.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(Bd,"TupleTypeAnnotation")}flowParseFunctionTypeParam(Bd){let Yd=null,_f=!1,Nf=null,th=this.startNode(),bh=this.lookahead(),kh=this.state.type===78;return bh.type===14||bh.type===17?(kh&&!Bd&&this.raise(__.ThisParamMustBeFirst,th),Yd=this.parseIdentifier(kh),this.eat(17)&&(_f=!0,kh&&this.raise(__.ThisParamMayNotBeOptional,th)),Nf=this.flowParseTypeInitialiser()):Nf=this.flowParseType(),th.name=Yd,th.optional=_f,th.typeAnnotation=Nf,this.finishNode(th,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(Bd){let Yd=this.startNodeAt(Bd.loc.start);return Yd.name=null,Yd.optional=!1,Yd.typeAnnotation=Bd,this.finishNode(Yd,"FunctionTypeParam")}flowParseFunctionTypeParams(Bd=[]){let Yd=null,_f=null;for(this.match(78)&&(_f=this.flowParseFunctionTypeParam(!0),_f.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)Bd.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(Yd=this.flowParseFunctionTypeParam(!1)),{params:Bd,rest:Yd,_this:_f}}flowIdentToTypeAnnotation(Bd,Yd,_f){switch(_f.name){case"any":return this.finishNode(Yd,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(Yd,"BooleanTypeAnnotation");case"mixed":return this.finishNode(Yd,"MixedTypeAnnotation");case"empty":return this.finishNode(Yd,"EmptyTypeAnnotation");case"number":return this.finishNode(Yd,"NumberTypeAnnotation");case"string":return this.finishNode(Yd,"StringTypeAnnotation");case"symbol":return this.finishNode(Yd,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(_f.name),this.flowParseGenericType(Bd,_f)}}flowParsePrimaryType(){let Bd=this.state.startLoc,Yd=this.startNode(),_f,Nf,th=!1,bh=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,Nf=this.flowParseTupleType(),this.state.noAnonFunctionType=bh,Nf;case 47:{let kh=this.startNode();return kh.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),_f=this.flowParseFunctionTypeParams(),kh.params=_f.params,kh.rest=_f.rest,kh.this=_f._this,this.expect(11),this.expect(19),kh.returnType=this.flowParseType(),this.finishNode(kh,"FunctionTypeAnnotation")}case 10:{let kh=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(qf(this.state.type)||this.match(78)){let sm=this.lookahead().type;th=sm!==17&&sm!==14}else th=!0;if(th){if(this.state.noAnonFunctionType=!1,Nf=this.flowParseType(),this.state.noAnonFunctionType=bh,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),Nf;this.eat(12)}return Nf?_f=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(Nf)]):_f=this.flowParseFunctionTypeParams(),kh.params=_f.params,kh.rest=_f.rest,kh.this=_f._this,this.expect(11),this.expect(19),kh.returnType=this.flowParseType(),kh.typeParameters=null,this.finishNode(kh,"FunctionTypeAnnotation")}case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return Yd.value=this.match(85),this.next(),this.finishNode(Yd,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",Yd);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",Yd);throw this.raise(__.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(Yd,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(Yd,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(Yd,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(Yd,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if($f(this.state.type)){let kh=wh(this.state.type);return this.next(),super.createIdentifier(Yd,kh)}else if(qf(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(Bd,Yd,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let Bd=this.state.startLoc,Yd=this.flowParsePrimaryType(),_f=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let Nf=this.startNodeAt(Bd),th=this.eat(18);_f=_f||th,this.expect(0),!th&&this.match(3)?(Nf.elementType=Yd,this.next(),Yd=this.finishNode(Nf,"ArrayTypeAnnotation")):(Nf.objectType=Yd,Nf.indexType=this.flowParseType(),this.expect(3),_f?(Nf.optional=th,Yd=this.finishNode(Nf,"OptionalIndexedAccessType")):Yd=this.finishNode(Nf,"IndexedAccessType"))}return Yd}flowParsePrefixType(){let Bd=this.startNode();return this.eat(17)?(Bd.typeAnnotation=this.flowParsePrefixType(),this.finishNode(Bd,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let Bd=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let Yd=this.startNodeAt(Bd.loc.start);return Yd.params=[this.reinterpretTypeAsFunctionTypeParam(Bd)],Yd.rest=null,Yd.this=null,Yd.returnType=this.flowParseType(),Yd.typeParameters=null,this.finishNode(Yd,"FunctionTypeAnnotation")}return Bd}flowParseIntersectionType(){let Bd=this.startNode();this.eat(45);let Yd=this.flowParseAnonFunctionWithoutParens();for(Bd.types=[Yd];this.eat(45);)Bd.types.push(this.flowParseAnonFunctionWithoutParens());return Bd.types.length===1?Yd:this.finishNode(Bd,"IntersectionTypeAnnotation")}flowParseUnionType(){let Bd=this.startNode();this.eat(43);let Yd=this.flowParseIntersectionType();for(Bd.types=[Yd];this.eat(43);)Bd.types.push(this.flowParseIntersectionType());return Bd.types.length===1?Yd:this.finishNode(Bd,"UnionTypeAnnotation")}flowParseType(){let Bd=this.state.inType;this.state.inType=!0;let Yd=this.flowParseUnionType();return this.state.inType=Bd,Yd}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let Bd=this.state.startLoc,Yd=this.parseIdentifier();return this.flowParseGenericType(Bd,Yd)}else return this.flowParseType()}flowParseTypeAnnotation(){let Bd=this.startNode();return Bd.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(Bd,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(Bd){let Yd=Bd?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(Yd.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(Yd)),Yd}typeCastToParameter(Bd){return Bd.expression.typeAnnotation=Bd.typeAnnotation,this.resetEndLocation(Bd.expression,Bd.typeAnnotation.loc.end),Bd.expression}flowParseVariance(){let Bd=null;return this.match(53)?(Bd=this.startNode(),this.state.value==="+"?Bd.kind="plus":Bd.kind="minus",this.next(),this.finishNode(Bd,"Variance")):Bd}parseFunctionBody(Bd,Yd,_f=!1){if(Yd){this.forwardNoArrowParamsConversionAt(Bd,()=>super.parseFunctionBody(Bd,!0,_f));return}super.parseFunctionBody(Bd,!1,_f)}parseFunctionBodyAndFinish(Bd,Yd,_f=!1){if(this.match(14)){let Nf=this.startNode();[Nf.typeAnnotation,Bd.predicate]=this.flowParseTypeAndPredicateInitialiser(),Bd.returnType=Nf.typeAnnotation?this.finishNode(Nf,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(Bd,Yd,_f)}parseStatementLike(Bd){if(this.state.strict&&this.isContextual(129)){let _f=this.lookahead();if(ch(_f.type)){let Nf=this.startNode();return this.next(),this.flowParseInterface(Nf)}}else if(this.shouldParseEnums()&&this.isContextual(126)){let _f=this.startNode();return this.next(),this.flowParseEnumDeclaration(_f)}let Yd=super.parseStatementLike(Bd);return this.flowPragma===void 0&&!this.isValidDirective(Yd)&&(this.flowPragma=null),Yd}parseExpressionStatement(Bd,Yd,_f){if(Yd.type==="Identifier"){if(Yd.name==="declare"){if(this.match(80)||qf(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(Bd)}else if(qf(this.state.type)){if(Yd.name==="interface")return this.flowParseInterface(Bd);if(Yd.name==="type")return this.flowParseTypeAlias(Bd);if(Yd.name==="opaque")return this.flowParseOpaqueType(Bd,!1)}}return super.parseExpressionStatement(Bd,Yd,_f)}shouldParseExportDeclaration(){let{type:Bd}=this.state;return Qf(Bd)||this.shouldParseEnums()&&Bd===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:Bd}=this.state;return Qf(Bd)||this.shouldParseEnums()&&Bd===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){let Bd=this.startNode();return this.next(),this.flowParseEnumDeclaration(Bd)}return super.parseExportDefaultExpression()}parseConditional(Bd,Yd,_f){if(!this.match(17))return Bd;if(this.state.maybeInArrowParameters){let Zm=this.lookaheadCharCode();if(Zm===44||Zm===61||Zm===58||Zm===41)return this.setOptionalParametersError(_f),Bd}this.expect(17);let Nf=this.state.clone(),th=this.state.noArrowAt,bh=this.startNodeAt(Yd),{consequent:kh,failed:sm}=this.tryParseConditionalConsequent(),[Xh,Fm]=this.getArrowLikeExpressions(kh);if(sm||Fm.length>0){let Zm=[...th];if(Fm.length>0){this.state=Nf,this.state.noArrowAt=Zm;for(let l_=0;l_<Fm.length;l_++)Zm.push(Fm[l_].start);({consequent:kh,failed:sm}=this.tryParseConditionalConsequent()),[Xh,Fm]=this.getArrowLikeExpressions(kh)}sm&&Xh.length>1&&this.raise(__.AmbiguousConditionalArrow,Nf.startLoc),sm&&Xh.length===1&&(this.state=Nf,Zm.push(Xh[0].start),this.state.noArrowAt=Zm,{consequent:kh,failed:sm}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(kh,!0),this.state.noArrowAt=th,this.expect(14),bh.test=Bd,bh.consequent=kh,bh.alternate=this.forwardNoArrowParamsConversionAt(bh,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(bh,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let Bd=this.parseMaybeAssignAllowIn(),Yd=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:Bd,failed:Yd}}getArrowLikeExpressions(Bd,Yd){let _f=[Bd],Nf=[];for(;_f.length!==0;){let th=_f.pop();th.type==="ArrowFunctionExpression"&&th.body.type!=="BlockStatement"?(th.typeParameters||!th.returnType?this.finishArrowValidation(th):Nf.push(th),_f.push(th.body)):th.type==="ConditionalExpression"&&(_f.push(th.consequent),_f.push(th.alternate))}return Yd?(Nf.forEach(th=>this.finishArrowValidation(th)),[Nf,[]]):Hy(Nf,th=>th.params.every(bh=>this.isAssignable(bh,!0)))}finishArrowValidation(Bd){var Yd;this.toAssignableList(Bd.params,(Yd=Bd.extra)==null?void 0:Yd.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(Bd,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(Bd,Yd){let _f;return this.state.noArrowParamsConversionAt.includes(Bd.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),_f=Yd(),this.state.noArrowParamsConversionAt.pop()):_f=Yd(),_f}parseParenItem(Bd,Yd){let _f=super.parseParenItem(Bd,Yd);if(this.eat(17)&&(_f.optional=!0,this.resetEndLocation(Bd)),this.match(14)){let Nf=this.startNodeAt(Yd);return Nf.expression=_f,Nf.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(Nf,"TypeCastExpression")}return _f}assertModuleNodeAllowed(Bd){Bd.type==="ImportDeclaration"&&(Bd.importKind==="type"||Bd.importKind==="typeof")||Bd.type==="ExportNamedDeclaration"&&Bd.exportKind==="type"||Bd.type==="ExportAllDeclaration"&&Bd.exportKind==="type"||super.assertModuleNodeAllowed(Bd)}parseExportDeclaration(Bd){if(this.isContextual(130)){Bd.exportKind="type";let Yd=this.startNode();return this.next(),this.match(5)?(Bd.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(Bd),null):this.flowParseTypeAlias(Yd)}else if(this.isContextual(131)){Bd.exportKind="type";let Yd=this.startNode();return this.next(),this.flowParseOpaqueType(Yd,!1)}else if(this.isContextual(129)){Bd.exportKind="type";let Yd=this.startNode();return this.next(),this.flowParseInterface(Yd)}else if(this.shouldParseEnums()&&this.isContextual(126)){Bd.exportKind="value";let Yd=this.startNode();return this.next(),this.flowParseEnumDeclaration(Yd)}else return super.parseExportDeclaration(Bd)}eatExportStar(Bd){return super.eatExportStar(Bd)?!0:this.isContextual(130)&&this.lookahead().type===55?(Bd.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(Bd){let{startLoc:Yd}=this.state,_f=super.maybeParseExportNamespaceSpecifier(Bd);return _f&&Bd.exportKind==="type"&&this.unexpected(Yd),_f}parseClassId(Bd,Yd,_f){super.parseClassId(Bd,Yd,_f),this.match(47)&&(Bd.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(Bd,Yd,_f){let{startLoc:Nf}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(Bd,Yd))return;Yd.declare=!0}super.parseClassMember(Bd,Yd,_f),Yd.declare&&(Yd.type!=="ClassProperty"&&Yd.type!=="ClassPrivateProperty"&&Yd.type!=="PropertyDefinition"?this.raise(__.DeclareClassElement,Nf):Yd.value&&this.raise(__.DeclareClassFieldInitializer,Yd.value))}isIterator(Bd){return Bd==="iterator"||Bd==="asyncIterator"}readIterator(){let Bd=super.readWord1(),Yd="@@"+Bd;(!this.isIterator(Bd)||!this.state.inType)&&this.raise(Md.InvalidIdentifier,this.state.curPosition(),{identifierName:Yd}),this.finishToken(132,Yd)}getTokenFromCode(Bd){let Yd=this.input.charCodeAt(this.state.pos+1);Bd===123&&Yd===124?this.finishOp(6,2):this.state.inType&&(Bd===62||Bd===60)?this.finishOp(Bd===62?48:47,1):this.state.inType&&Bd===63?Yd===46?this.finishOp(18,2):this.finishOp(17,1):h_(Bd,Yd,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(Bd)}isAssignable(Bd,Yd){return Bd.type==="TypeCastExpression"?this.isAssignable(Bd.expression,Yd):super.isAssignable(Bd,Yd)}toAssignable(Bd,Yd=!1){!Yd&&Bd.type==="AssignmentExpression"&&Bd.left.type==="TypeCastExpression"&&(Bd.left=this.typeCastToParameter(Bd.left)),super.toAssignable(Bd,Yd)}toAssignableList(Bd,Yd,_f){for(let Nf=0;Nf<Bd.length;Nf++){let th=Bd[Nf];(th==null?void 0:th.type)==="TypeCastExpression"&&(Bd[Nf]=this.typeCastToParameter(th))}super.toAssignableList(Bd,Yd,_f)}toReferencedList(Bd,Yd){for(let Nf=0;Nf<Bd.length;Nf++){var _f;let th=Bd[Nf];th&&th.type==="TypeCastExpression"&&!((_f=th.extra)!=null&&_f.parenthesized)&&(Bd.length>1||!Yd)&&this.raise(__.TypeCastInPattern,th.typeAnnotation)}return Bd}parseArrayLike(Bd,Yd,_f,Nf){let th=super.parseArrayLike(Bd,Yd,_f,Nf);return Yd&&!this.state.maybeInArrowParameters&&this.toReferencedList(th.elements),th}isValidLVal(Bd,Yd,_f){return Bd==="TypeCastExpression"||super.isValidLVal(Bd,Yd,_f)}parseClassProperty(Bd){return this.match(14)&&(Bd.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(Bd)}parseClassPrivateProperty(Bd){return this.match(14)&&(Bd.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(Bd)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(Bd){return!this.match(14)&&super.isNonstaticConstructor(Bd)}pushClassMethod(Bd,Yd,_f,Nf,th,bh){if(Yd.variance&&this.unexpected(Yd.variance.loc.start),delete Yd.variance,this.match(47)&&(Yd.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(Bd,Yd,_f,Nf,th,bh),Yd.params&&th){let kh=Yd.params;kh.length>0&&this.isThisParam(kh[0])&&this.raise(__.ThisParamBannedInConstructor,Yd)}else if(Yd.type==="MethodDefinition"&&th&&Yd.value.params){let kh=Yd.value.params;kh.length>0&&this.isThisParam(kh[0])&&this.raise(__.ThisParamBannedInConstructor,Yd)}}pushClassPrivateMethod(Bd,Yd,_f,Nf){Yd.variance&&this.unexpected(Yd.variance.loc.start),delete Yd.variance,this.match(47)&&(Yd.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(Bd,Yd,_f,Nf)}parseClassSuper(Bd){if(super.parseClassSuper(Bd),Bd.superClass&&this.match(47)&&(Bd.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();let Yd=Bd.implements=[];do{let _f=this.startNode();_f.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?_f.typeParameters=this.flowParseTypeParameterInstantiation():_f.typeParameters=null,Yd.push(this.finishNode(_f,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(Bd){super.checkGetterSetterParams(Bd);let Yd=this.getObjectOrClassMethodParams(Bd);if(Yd.length>0){let _f=Yd[0];this.isThisParam(_f)&&Bd.kind==="get"?this.raise(__.GetterMayNotHaveThisParam,_f):this.isThisParam(_f)&&this.raise(__.SetterMayNotHaveThisParam,_f)}}parsePropertyNamePrefixOperator(Bd){Bd.variance=this.flowParseVariance()}parseObjPropValue(Bd,Yd,_f,Nf,th,bh,kh){Bd.variance&&this.unexpected(Bd.variance.loc.start),delete Bd.variance;let sm;this.match(47)&&!bh&&(sm=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let Xh=super.parseObjPropValue(Bd,Yd,_f,Nf,th,bh,kh);return sm&&((Xh.value||Xh).typeParameters=sm),Xh}parseAssignableListItemTypes(Bd){return this.eat(17)&&(Bd.type!=="Identifier"&&this.raise(__.PatternIsOptional,Bd),this.isThisParam(Bd)&&this.raise(__.ThisParamMayNotBeOptional,Bd),Bd.optional=!0),this.match(14)?Bd.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(Bd)&&this.raise(__.ThisParamAnnotationRequired,Bd),this.match(29)&&this.isThisParam(Bd)&&this.raise(__.ThisParamNoDefault,Bd),this.resetEndLocation(Bd),Bd}parseMaybeDefault(Bd,Yd){let _f=super.parseMaybeDefault(Bd,Yd);return _f.type==="AssignmentPattern"&&_f.typeAnnotation&&_f.right.start<_f.typeAnnotation.start&&this.raise(__.TypeBeforeInitializer,_f.typeAnnotation),_f}checkImportReflection(Bd){super.checkImportReflection(Bd),Bd.module&&Bd.importKind!=="value"&&this.raise(__.ImportReflectionHasImportType,Bd.specifiers[0].loc.start)}parseImportSpecifierLocal(Bd,Yd,_f){Yd.local=d0(Bd)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),Bd.specifiers.push(this.finishImportSpecifier(Yd,_f))}isPotentialImportPhase(Bd){if(super.isPotentialImportPhase(Bd))return!0;if(this.isContextual(130)){if(!Bd)return!0;let Yd=this.lookaheadCharCode();return Yd===123||Yd===42}return!Bd&&this.isContextual(87)}applyImportPhase(Bd,Yd,_f,Nf){if(super.applyImportPhase(Bd,Yd,_f,Nf),Yd){if(!_f&&this.match(65))return;Bd.exportKind=_f==="type"?_f:"value"}else _f==="type"&&this.match(55)&&this.unexpected(),Bd.importKind=_f==="type"||_f==="typeof"?_f:"value"}parseImportSpecifier(Bd,Yd,_f,Nf,th){let bh=Bd.imported,kh=null;bh.type==="Identifier"&&(bh.name==="type"?kh="type":bh.name==="typeof"&&(kh="typeof"));let sm=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let Fm=this.parseIdentifier(!0);kh!==null&&!ch(this.state.type)?(Bd.imported=Fm,Bd.importKind=kh,Bd.local=Ug(Fm)):(Bd.imported=bh,Bd.importKind=null,Bd.local=this.parseIdentifier())}else{if(kh!==null&&ch(this.state.type))Bd.imported=this.parseIdentifier(!0),Bd.importKind=kh;else{if(Yd)throw this.raise(Md.ImportBindingIsString,Bd,{importName:bh.value});Bd.imported=bh,Bd.importKind=null}this.eatContextual(93)?Bd.local=this.parseIdentifier():(sm=!0,Bd.local=Ug(Bd.imported))}let Xh=d0(Bd);return _f&&Xh&&this.raise(__.ImportTypeShorthandOnlyInPureImport,Bd),(_f||Xh)&&this.checkReservedType(Bd.local.name,Bd.local.loc.start,!0),sm&&!_f&&!Xh&&this.checkReservedWord(Bd.local.name,Bd.loc.start,!0,!0),this.finishImportSpecifier(Bd,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(Bd,Yd){let _f=Bd.kind;_f!=="get"&&_f!=="set"&&this.match(47)&&(Bd.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(Bd,Yd)}parseVarId(Bd,Yd){super.parseVarId(Bd,Yd),this.match(14)&&(Bd.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(Bd.id))}parseAsyncArrowFromCallExpression(Bd,Yd){if(this.match(14)){let _f=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,Bd.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=_f}return super.parseAsyncArrowFromCallExpression(Bd,Yd)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(Bd,Yd){var _f;let Nf=null,th;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(Nf=this.state.clone(),th=this.tryParse(()=>super.parseMaybeAssign(Bd,Yd),Nf),!th.error)return th.node;let{context:sm}=this.state,Xh=sm[sm.length-1];(Xh===mf.j_oTag||Xh===mf.j_expr)&&sm.pop()}if((_f=th)!=null&&_f.error||this.match(47)){var bh,kh;Nf=Nf||this.state.clone();let sm,Xh=this.tryParse(Zm=>{var l_;sm=this.flowParseTypeParameterDeclaration();let d_=this.forwardNoArrowParamsConversionAt(sm,()=>{let Eg=super.parseMaybeAssign(Bd,Yd);return this.resetStartLocationFromNode(Eg,sm),Eg});(l_=d_.extra)!=null&&l_.parenthesized&&Zm();let w_=this.maybeUnwrapTypeCastExpression(d_);return w_.type!=="ArrowFunctionExpression"&&Zm(),w_.typeParameters=sm,this.resetStartLocationFromNode(w_,sm),d_},Nf),Fm=null;if(Xh.node&&this.maybeUnwrapTypeCastExpression(Xh.node).type==="ArrowFunctionExpression"){if(!Xh.error&&!Xh.aborted)return Xh.node.async&&this.raise(__.UnexpectedTypeParameterBeforeAsyncArrowFunction,sm),Xh.node;Fm=Xh.node}if((bh=th)!=null&&bh.node)return this.state=th.failState,th.node;if(Fm)return this.state=Xh.failState,Fm;throw(kh=th)!=null&&kh.thrown?th.error:Xh.thrown?Xh.error:this.raise(__.UnexpectedTokenAfterTypeParameter,sm)}return super.parseMaybeAssign(Bd,Yd)}parseArrow(Bd){if(this.match(14)){let Yd=this.tryParse(()=>{let _f=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let Nf=this.startNode();return[Nf.typeAnnotation,Bd.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=_f,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),Nf});if(Yd.thrown)return null;Yd.error&&(this.state=Yd.failState),Bd.returnType=Yd.node.typeAnnotation?this.finishNode(Yd.node,"TypeAnnotation"):null}return super.parseArrow(Bd)}shouldParseArrow(Bd){return this.match(14)||super.shouldParseArrow(Bd)}setArrowFunctionParameters(Bd,Yd){this.state.noArrowParamsConversionAt.includes(Bd.start)?Bd.params=Yd:super.setArrowFunctionParameters(Bd,Yd)}checkParams(Bd,Yd,_f,Nf=!0){if(!(_f&&this.state.noArrowParamsConversionAt.includes(Bd.start))){for(let th=0;th<Bd.params.length;th++)this.isThisParam(Bd.params[th])&&th>0&&this.raise(__.ThisParamMustBeFirst,Bd.params[th]);super.checkParams(Bd,Yd,_f,Nf)}}parseParenAndDistinguishExpression(Bd){return super.parseParenAndDistinguishExpression(Bd&&!this.state.noArrowAt.includes(this.state.start))}parseSubscripts(Bd,Yd,_f){if(Bd.type==="Identifier"&&Bd.name==="async"&&this.state.noArrowAt.includes(Yd.index)){this.next();let Nf=this.startNodeAt(Yd);Nf.callee=Bd,Nf.arguments=super.parseCallExpressionArguments(11,!1),Bd=this.finishNode(Nf,"CallExpression")}else if(Bd.type==="Identifier"&&Bd.name==="async"&&this.match(47)){let Nf=this.state.clone(),th=this.tryParse(kh=>this.parseAsyncArrowWithTypeParameters(Yd)||kh(),Nf);if(!th.error&&!th.aborted)return th.node;let bh=this.tryParse(()=>super.parseSubscripts(Bd,Yd,_f),Nf);if(bh.node&&!bh.error)return bh.node;if(th.node)return this.state=th.failState,th.node;if(bh.node)return this.state=bh.failState,bh.node;throw th.error||bh.error}return super.parseSubscripts(Bd,Yd,_f)}parseSubscript(Bd,Yd,_f,Nf){if(this.match(18)&&this.isLookaheadToken_lt()){if(Nf.optionalChainMember=!0,_f)return Nf.stop=!0,Bd;this.next();let th=this.startNodeAt(Yd);return th.callee=Bd,th.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),th.arguments=this.parseCallExpressionArguments(11,!1),th.optional=!0,this.finishCallExpression(th,!0)}else if(!_f&&this.shouldParseTypes()&&this.match(47)){let th=this.startNodeAt(Yd);th.callee=Bd;let bh=this.tryParse(()=>(th.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),th.arguments=super.parseCallExpressionArguments(11,!1),Nf.optionalChainMember&&(th.optional=!1),this.finishCallExpression(th,Nf.optionalChainMember)));if(bh.node)return bh.error&&(this.state=bh.failState),bh.node}return super.parseSubscript(Bd,Yd,_f,Nf)}parseNewCallee(Bd){super.parseNewCallee(Bd);let Yd=null;this.shouldParseTypes()&&this.match(47)&&(Yd=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),Bd.typeArguments=Yd}parseAsyncArrowWithTypeParameters(Bd){let Yd=this.startNodeAt(Bd);if(this.parseFunctionParams(Yd,!1),!!this.parseArrow(Yd))return super.parseArrowExpression(Yd,void 0,!0)}readToken_mult_modulo(Bd){let Yd=this.input.charCodeAt(this.state.pos+1);if(Bd===42&&Yd===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(Bd)}readToken_pipe_amp(Bd){let Yd=this.input.charCodeAt(this.state.pos+1);if(Bd===124&&Yd===125){this.finishOp(9,2);return}super.readToken_pipe_amp(Bd)}parseTopLevel(Bd,Yd){let _f=super.parseTopLevel(Bd,Yd);return this.state.hasFlowComment&&this.raise(__.UnterminatedFlowComment,this.state.curPosition()),_f}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(__.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let Bd=this.skipFlowComment();Bd&&(this.state.pos+=Bd,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:Bd}=this.state,Yd=2;for(;[32,9].includes(this.input.charCodeAt(Bd+Yd));)Yd++;let _f=this.input.charCodeAt(Yd+Bd),Nf=this.input.charCodeAt(Yd+Bd+1);return _f===58&&Nf===58?Yd+2:this.input.slice(Yd+Bd,Yd+Bd+12)==="flow-include"?Yd+12:_f===58&&Nf!==58?Yd:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(Md.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(Bd,{enumName:Yd,memberName:_f}){this.raise(__.EnumBooleanMemberNotInitialized,Bd,{memberName:_f,enumName:Yd})}flowEnumErrorInvalidMemberInitializer(Bd,Yd){return this.raise(Yd.explicitType?Yd.explicitType==="symbol"?__.EnumInvalidMemberInitializerSymbolType:__.EnumInvalidMemberInitializerPrimaryType:__.EnumInvalidMemberInitializerUnknownType,Bd,Yd)}flowEnumErrorNumberMemberNotInitialized(Bd,Yd){this.raise(__.EnumNumberMemberNotInitialized,Bd,Yd)}flowEnumErrorStringMemberInconsistentlyInitialized(Bd,Yd){this.raise(__.EnumStringMemberInconsistentlyInitialized,Bd,Yd)}flowEnumMemberInit(){let Bd=this.state.startLoc,Yd=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{let _f=this.parseNumericLiteral(this.state.value);return Yd()?{type:"number",loc:_f.loc.start,value:_f}:{type:"invalid",loc:Bd}}case 133:{let _f=this.parseStringLiteral(this.state.value);return Yd()?{type:"string",loc:_f.loc.start,value:_f}:{type:"invalid",loc:Bd}}case 85:case 86:{let _f=this.parseBooleanLiteral(this.match(85));return Yd()?{type:"boolean",loc:_f.loc.start,value:_f}:{type:"invalid",loc:Bd}}default:return{type:"invalid",loc:Bd}}}flowEnumMemberRaw(){let Bd=this.state.startLoc,Yd=this.parseIdentifier(!0),_f=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:Bd};return{id:Yd,init:_f}}flowEnumCheckExplicitTypeMismatch(Bd,Yd,_f){let{explicitType:Nf}=Yd;Nf!==null&&Nf!==_f&&this.flowEnumErrorInvalidMemberInitializer(Bd,Yd)}flowEnumMembers({enumName:Bd,explicitType:Yd}){let _f=new Set,Nf={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},th=!1;for(;!this.match(8);){if(this.eat(21)){th=!0;break}let bh=this.startNode(),{id:kh,init:sm}=this.flowEnumMemberRaw(),Xh=kh.name;if(Xh==="")continue;/^[a-z]/.test(Xh)&&this.raise(__.EnumInvalidMemberName,kh,{memberName:Xh,suggestion:Xh[0].toUpperCase()+Xh.slice(1),enumName:Bd}),_f.has(Xh)&&this.raise(__.EnumDuplicateMemberName,kh,{memberName:Xh,enumName:Bd}),_f.add(Xh);let Fm={enumName:Bd,explicitType:Yd,memberName:Xh};switch(bh.id=kh,sm.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(sm.loc,Fm,"boolean"),bh.init=sm.value,Nf.booleanMembers.push(this.finishNode(bh,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(sm.loc,Fm,"number"),bh.init=sm.value,Nf.numberMembers.push(this.finishNode(bh,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(sm.loc,Fm,"string"),bh.init=sm.value,Nf.stringMembers.push(this.finishNode(bh,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(sm.loc,Fm);case"none":switch(Yd){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(sm.loc,Fm);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(sm.loc,Fm);break;default:Nf.defaultedMembers.push(this.finishNode(bh,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:Nf,hasUnknownMembers:th}}flowEnumStringMembers(Bd,Yd,{enumName:_f}){if(Bd.length===0)return Yd;if(Yd.length===0)return Bd;if(Yd.length>Bd.length){for(let Nf of Bd)this.flowEnumErrorStringMemberInconsistentlyInitialized(Nf,{enumName:_f});return Yd}else{for(let Nf of Yd)this.flowEnumErrorStringMemberInconsistentlyInitialized(Nf,{enumName:_f});return Bd}}flowEnumParseExplicitType({enumName:Bd}){if(!this.eatContextual(102))return null;if(!qf(this.state.type))throw this.raise(__.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:Bd});let{value:Yd}=this.state;return this.next(),Yd!=="boolean"&&Yd!=="number"&&Yd!=="string"&&Yd!=="symbol"&&this.raise(__.EnumInvalidExplicitType,this.state.startLoc,{enumName:Bd,invalidEnumType:Yd}),Yd}flowEnumBody(Bd,Yd){let _f=Yd.name,Nf=Yd.loc.start,th=this.flowEnumParseExplicitType({enumName:_f});this.expect(5);let{members:bh,hasUnknownMembers:kh}=this.flowEnumMembers({enumName:_f,explicitType:th});switch(Bd.hasUnknownMembers=kh,th){case"boolean":return Bd.explicitType=!0,Bd.members=bh.booleanMembers,this.expect(8),this.finishNode(Bd,"EnumBooleanBody");case"number":return Bd.explicitType=!0,Bd.members=bh.numberMembers,this.expect(8),this.finishNode(Bd,"EnumNumberBody");case"string":return Bd.explicitType=!0,Bd.members=this.flowEnumStringMembers(bh.stringMembers,bh.defaultedMembers,{enumName:_f}),this.expect(8),this.finishNode(Bd,"EnumStringBody");case"symbol":return Bd.members=bh.defaultedMembers,this.expect(8),this.finishNode(Bd,"EnumSymbolBody");default:{let sm=()=>(Bd.members=[],this.expect(8),this.finishNode(Bd,"EnumStringBody"));Bd.explicitType=!1;let Xh=bh.booleanMembers.length,Fm=bh.numberMembers.length,Zm=bh.stringMembers.length,l_=bh.defaultedMembers.length;if(!Xh&&!Fm&&!Zm&&!l_)return sm();if(!Xh&&!Fm)return Bd.members=this.flowEnumStringMembers(bh.stringMembers,bh.defaultedMembers,{enumName:_f}),this.expect(8),this.finishNode(Bd,"EnumStringBody");if(!Fm&&!Zm&&Xh>=l_){for(let d_ of bh.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(d_.loc.start,{enumName:_f,memberName:d_.id.name});return Bd.members=bh.booleanMembers,this.expect(8),this.finishNode(Bd,"EnumBooleanBody")}else if(!Xh&&!Zm&&Fm>=l_){for(let d_ of bh.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(d_.loc.start,{enumName:_f,memberName:d_.id.name});return Bd.members=bh.numberMembers,this.expect(8),this.finishNode(Bd,"EnumNumberBody")}else return this.raise(__.EnumInconsistentMemberValues,Nf,{enumName:_f}),sm()}}}flowParseEnumDeclaration(Bd){let Yd=this.parseIdentifier();return Bd.id=Yd,Bd.body=this.flowEnumBody(this.startNode(),Yd),this.finishNode(Bd,"EnumDeclaration")}isLookaheadToken_lt(){let Bd=this.nextTokenStart();if(this.input.charCodeAt(Bd)===60){let Yd=this.input.charCodeAt(Bd+1);return Yd!==60&&Yd!==61}return!1}maybeUnwrapTypeCastExpression(Bd){return Bd.type==="TypeCastExpression"?Bd.expression:Bd}},Ig=Fd`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:zd})=>`Expected corresponding JSX closing tag for <${zd}>.`,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:zd,HTMLEntity:Bd})=>`Unexpected token \`${zd}\`. Did you mean \`${Bd}\` or \`{'${zd}'}\`?`,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 pb(zd){return zd?zd.type==="JSXOpeningFragment"||zd.type==="JSXClosingFragment":!1}function $b(zd){if(zd.type==="JSXIdentifier")return zd.name;if(zd.type==="JSXNamespacedName")return zd.namespace.name+":"+zd.name.name;if(zd.type==="JSXMemberExpression")return $b(zd.object)+"."+$b(zd.property);throw new Error("Node had unexpected type: "+zd.type)}var f0=zd=>class extends zd{jsxReadToken(){let Bd="",Yd=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Ig.UnterminatedJsxContent,this.state.startLoc);let _f=this.input.charCodeAt(this.state.pos);switch(_f){case 60:case 123:if(this.state.pos===this.state.start){_f===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(_f);return}Bd+=this.input.slice(Yd,this.state.pos),this.finishToken(141,Bd);return;case 38:Bd+=this.input.slice(Yd,this.state.pos),Bd+=this.jsxReadEntity(),Yd=this.state.pos;break;case 62:case 125:default:Wh(_f)?(Bd+=this.input.slice(Yd,this.state.pos),Bd+=this.jsxReadNewLine(!0),Yd=this.state.pos):++this.state.pos}}}jsxReadNewLine(Bd){let Yd=this.input.charCodeAt(this.state.pos),_f;return++this.state.pos,Yd===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,_f=Bd?`
|
||
`:`\r
|
||
`):_f=String.fromCharCode(Yd),++this.state.curLine,this.state.lineStart=this.state.pos,_f}jsxReadString(Bd){let Yd="",_f=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Md.UnterminatedString,this.state.startLoc);let Nf=this.input.charCodeAt(this.state.pos);if(Nf===Bd)break;Nf===38?(Yd+=this.input.slice(_f,this.state.pos),Yd+=this.jsxReadEntity(),_f=this.state.pos):Wh(Nf)?(Yd+=this.input.slice(_f,this.state.pos),Yd+=this.jsxReadNewLine(!1),_f=this.state.pos):++this.state.pos}Yd+=this.input.slice(_f,this.state.pos++),this.finishToken(133,Yd)}jsxReadEntity(){let Bd=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let Yd=10;this.codePointAtPos(this.state.pos)===120&&(Yd=16,++this.state.pos);let _f=this.readInt(Yd,void 0,!1,"bail");if(_f!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(_f)}else{let Yd=0,_f=!1;for(;Yd++<10&&this.state.pos<this.length&&!(_f=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(_f){this.input.slice(Bd,this.state.pos);let Nf;++this.state.pos}}return this.state.pos=Bd,"&"}jsxReadWord(){let Bd,Yd=this.state.pos;do Bd=this.input.charCodeAt(++this.state.pos);while(_m(Bd)||Bd===45);this.finishToken(140,this.input.slice(Yd,this.state.pos))}jsxParseIdentifier(){let Bd=this.startNode();return this.match(140)?Bd.name=this.state.value:$f(this.state.type)?Bd.name=wh(this.state.type):this.unexpected(),this.next(),this.finishNode(Bd,"JSXIdentifier")}jsxParseNamespacedName(){let Bd=this.state.startLoc,Yd=this.jsxParseIdentifier();if(!this.eat(14))return Yd;let _f=this.startNodeAt(Bd);return _f.namespace=Yd,_f.name=this.jsxParseIdentifier(),this.finishNode(_f,"JSXNamespacedName")}jsxParseElementName(){let Bd=this.state.startLoc,Yd=this.jsxParseNamespacedName();if(Yd.type==="JSXNamespacedName")return Yd;for(;this.eat(16);){let _f=this.startNodeAt(Bd);_f.object=Yd,_f.property=this.jsxParseIdentifier(),Yd=this.finishNode(_f,"JSXMemberExpression")}return Yd}jsxParseAttributeValue(){let Bd;switch(this.state.type){case 5:return Bd=this.startNode(),this.setContext(mf.brace),this.next(),Bd=this.jsxParseExpressionContainer(Bd,mf.j_oTag),Bd.expression.type==="JSXEmptyExpression"&&this.raise(Ig.AttributeIsEmpty,Bd),Bd;case 142:case 133:return this.parseExprAtom();default:throw this.raise(Ig.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let Bd=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(Bd,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(Bd){return this.next(),Bd.expression=this.parseExpression(),this.setContext(mf.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(Bd,"JSXSpreadChild")}jsxParseExpressionContainer(Bd,Yd){if(this.match(8))Bd.expression=this.jsxParseEmptyExpression();else{let _f=this.parseExpression();Bd.expression=_f}return this.setContext(Yd),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(Bd,"JSXExpressionContainer")}jsxParseAttribute(){let Bd=this.startNode();return this.match(5)?(this.setContext(mf.brace),this.next(),this.expect(21),Bd.argument=this.parseMaybeAssignAllowIn(),this.setContext(mf.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(Bd,"JSXSpreadAttribute")):(Bd.name=this.jsxParseNamespacedName(),Bd.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(Bd,"JSXAttribute"))}jsxParseOpeningElementAt(Bd){let Yd=this.startNodeAt(Bd);return this.eat(143)?this.finishNode(Yd,"JSXOpeningFragment"):(Yd.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(Yd))}jsxParseOpeningElementAfterName(Bd){let Yd=[];for(;!this.match(56)&&!this.match(143);)Yd.push(this.jsxParseAttribute());return Bd.attributes=Yd,Bd.selfClosing=this.eat(56),this.expect(143),this.finishNode(Bd,"JSXOpeningElement")}jsxParseClosingElementAt(Bd){let Yd=this.startNodeAt(Bd);return this.eat(143)?this.finishNode(Yd,"JSXClosingFragment"):(Yd.name=this.jsxParseElementName(),this.expect(143),this.finishNode(Yd,"JSXClosingElement"))}jsxParseElementAt(Bd){let Yd=this.startNodeAt(Bd),_f=[],Nf=this.jsxParseOpeningElementAt(Bd),th=null;if(!Nf.selfClosing){e:for(;;)switch(this.state.type){case 142:if(Bd=this.state.startLoc,this.next(),this.eat(56)){th=this.jsxParseClosingElementAt(Bd);break e}_f.push(this.jsxParseElementAt(Bd));break;case 141:_f.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let bh=this.startNode();this.setContext(mf.brace),this.next(),this.match(21)?_f.push(this.jsxParseSpreadChild(bh)):_f.push(this.jsxParseExpressionContainer(bh,mf.j_expr));break}default:this.unexpected()}pb(Nf)&&!pb(th)&&th!==null?this.raise(Ig.MissingClosingTagFragment,th):!pb(Nf)&&pb(th)?this.raise(Ig.MissingClosingTagElement,th,{openingTagName:$b(Nf.name)}):!pb(Nf)&&!pb(th)&&$b(th.name)!==$b(Nf.name)&&this.raise(Ig.MissingClosingTagElement,th,{openingTagName:$b(Nf.name)})}if(pb(Nf)?(Yd.openingFragment=Nf,Yd.closingFragment=th):(Yd.openingElement=Nf,Yd.closingElement=th),Yd.children=_f,this.match(47))throw this.raise(Ig.UnwrappedAdjacentJSXElements,this.state.startLoc);return pb(Nf)?this.finishNode(Yd,"JSXFragment"):this.finishNode(Yd,"JSXElement")}jsxParseElement(){let Bd=this.state.startLoc;return this.next(),this.jsxParseElementAt(Bd)}setContext(Bd){let{context:Yd}=this.state;Yd[Yd.length-1]=Bd}parseExprAtom(Bd){return this.match(142)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(Bd)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(Bd){let Yd=this.curContext();if(Yd===mf.j_expr){this.jsxReadToken();return}if(Yd===mf.j_oTag||Yd===mf.j_cTag){if(Zh(Bd)){this.jsxReadWord();return}if(Bd===62){++this.state.pos,this.finishToken(143);return}if((Bd===34||Bd===39)&&Yd===mf.j_oTag){this.jsxReadString(Bd);return}}if(Bd===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(142);return}super.getTokenFromCode(Bd)}updateContext(Bd){let{context:Yd,type:_f}=this.state;if(_f===56&&Bd===142)Yd.splice(-2,2,mf.j_cTag),this.state.canStartJSXElement=!1;else if(_f===142)Yd.push(mf.j_oTag);else if(_f===143){let Nf=Yd[Yd.length-1];Nf===mf.j_oTag&&Bd===56||Nf===mf.j_cTag?(Yd.pop(),this.state.canStartJSXElement=Yd[Yd.length-1]===mf.j_expr):(this.setContext(mf.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Pf(_f)}},A0=class extends dg{constructor(...zd){super(...zd),this.tsNames=new Map}},bE=class extends yg{constructor(...zd){super(...zd),this.importsStack=[]}createScope(zd){return this.importsStack.push(new Set),new A0(zd)}enter(zd){zd===256&&this.importsStack.push(new Set),super.enter(zd)}exit(){let zd=super.exit();return zd===256&&this.importsStack.pop(),zd}hasImport(zd,Bd){let Yd=this.importsStack.length;if(this.importsStack[Yd-1].has(zd))return!0;if(!Bd&&Yd>1){for(let _f=0;_f<Yd-1;_f++)if(this.importsStack[_f].has(zd))return!0}return!1}declareName(zd,Bd,Yd){if(Bd&4096){this.hasImport(zd,!0)&&this.parser.raise(Md.VarRedeclaration,Yd,{identifierName:zd}),this.importsStack[this.importsStack.length-1].add(zd);return}let _f=this.currentScope(),Nf=_f.tsNames.get(zd)||0;if(Bd&1024){this.maybeExportDefined(_f,zd),_f.tsNames.set(zd,Nf|16);return}super.declareName(zd,Bd,Yd),Bd&2&&(Bd&1||(this.checkRedeclarationInScope(_f,zd,Bd,Yd),this.maybeExportDefined(_f,zd)),Nf=Nf|1),Bd&256&&(Nf=Nf|2),Bd&512&&(Nf=Nf|4),Bd&128&&(Nf=Nf|8),Nf&&_f.tsNames.set(zd,Nf)}isRedeclaredInScope(zd,Bd,Yd){let _f=zd.tsNames.get(Bd);if((_f&2)>0){if(Yd&256){let Nf=!!(Yd&512),th=(_f&4)>0;return Nf!==th}return!0}return Yd&128&&(_f&8)>0?zd.names.get(Bd)&2?!!(Yd&1):!1:Yd&2&&(_f&1)>0?!0:super.isRedeclaredInScope(zd,Bd,Yd)}checkLocalExport(zd){let{name:Bd}=zd;if(this.hasImport(Bd))return;let Yd=this.scopeStack.length;for(let _f=Yd-1;_f>=0;_f--){let Nf=this.scopeStack[_f].tsNames.get(Bd);if((Nf&1)>0||(Nf&16)>0)return}super.checkLocalExport(zd)}},Lv=(zd,Bd)=>hasOwnProperty.call(zd,Bd)&&zd[Bd],yE=zd=>zd.type==="ParenthesizedExpression"?yE(zd.expression):zd,hT=class extends V0{toAssignable(zd,Bd=!1){var Yd,_f;let Nf;switch((zd.type==="ParenthesizedExpression"||(Yd=zd.extra)!=null&&Yd.parenthesized)&&(Nf=yE(zd),Bd?Nf.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(Md.InvalidParenthesizedAssignment,zd):Nf.type!=="MemberExpression"&&!this.isOptionalMemberExpression(Nf)&&this.raise(Md.InvalidParenthesizedAssignment,zd):this.raise(Md.InvalidParenthesizedAssignment,zd)),zd.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":zd.type="ObjectPattern";for(let bh=0,kh=zd.properties.length,sm=kh-1;bh<kh;bh++){var th;let Xh=zd.properties[bh],Fm=bh===sm;this.toAssignableObjectExpressionProp(Xh,Fm,Bd),Fm&&Xh.type==="RestElement"&&(th=zd.extra)!=null&&th.trailingCommaLoc&&this.raise(Md.RestTrailingComma,zd.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:bh,value:kh}=zd;this.isPrivateName(bh)&&this.classScope.usePrivateName(this.getPrivateNameSV(bh),bh.loc.start),this.toAssignable(kh,Bd);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":zd.type="ArrayPattern",this.toAssignableList(zd.elements,(_f=zd.extra)==null?void 0:_f.trailingCommaLoc,Bd);break;case"AssignmentExpression":zd.operator!=="="&&this.raise(Md.MissingEqInAssignment,zd.left.loc.end),zd.type="AssignmentPattern",delete zd.operator,this.toAssignable(zd.left,Bd);break;case"ParenthesizedExpression":this.toAssignable(Nf,Bd);break}}toAssignableObjectExpressionProp(zd,Bd,Yd){if(zd.type==="ObjectMethod")this.raise(zd.kind==="get"||zd.kind==="set"?Md.PatternHasAccessor:Md.PatternHasMethod,zd.key);else if(zd.type==="SpreadElement"){zd.type="RestElement";let _f=zd.argument;this.checkToRestConversion(_f,!1),this.toAssignable(_f,Yd),Bd||this.raise(Md.RestTrailingComma,zd)}else this.toAssignable(zd,Yd)}toAssignableList(zd,Bd,Yd){let _f=zd.length-1;for(let Nf=0;Nf<=_f;Nf++){let th=zd[Nf];if(th){if(th.type==="SpreadElement"){th.type="RestElement";let bh=th.argument;this.checkToRestConversion(bh,!0),this.toAssignable(bh,Yd)}else this.toAssignable(th,Yd);th.type==="RestElement"&&(Nf<_f?this.raise(Md.RestTrailingComma,th):Bd&&this.raise(Md.RestTrailingComma,Bd))}}}isAssignable(zd,Bd){switch(zd.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let Yd=zd.properties.length-1;return zd.properties.every((_f,Nf)=>_f.type!=="ObjectMethod"&&(Nf===Yd||_f.type!=="SpreadElement")&&this.isAssignable(_f))}case"ObjectProperty":return this.isAssignable(zd.value);case"SpreadElement":return this.isAssignable(zd.argument);case"ArrayExpression":return zd.elements.every(Yd=>Yd===null||this.isAssignable(Yd));case"AssignmentExpression":return zd.operator==="=";case"ParenthesizedExpression":return this.isAssignable(zd.expression);case"MemberExpression":case"OptionalMemberExpression":return!Bd;default:return!1}}toReferencedList(zd,Bd){return zd}toReferencedListDeep(zd,Bd){this.toReferencedList(zd,Bd);for(let Yd of zd)(Yd==null?void 0:Yd.type)==="ArrayExpression"&&this.toReferencedListDeep(Yd.elements)}parseSpread(zd){let Bd=this.startNode();return this.next(),Bd.argument=this.parseMaybeAssignAllowIn(zd,void 0),this.finishNode(Bd,"SpreadElement")}parseRestBinding(){let zd=this.startNode();return this.next(),zd.argument=this.parseBindingAtom(),this.finishNode(zd,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let zd=this.startNode();return this.next(),zd.elements=this.parseBindingList(3,93,1),this.finishNode(zd,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(zd,Bd,Yd){let _f=Yd&1,Nf=[],th=!0;for(;!this.eat(zd);)if(th?th=!1:this.expect(12),_f&&this.match(12))Nf.push(null);else{if(this.eat(zd))break;if(this.match(21)){if(Nf.push(this.parseAssignableListItemTypes(this.parseRestBinding(),Yd)),!this.checkCommaAfterRest(Bd)){this.expect(zd);break}}else{let bh=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(Md.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)bh.push(this.parseDecorator());Nf.push(this.parseAssignableListItem(Yd,bh))}}return Nf}parseBindingRestProperty(zd){return this.next(),zd.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(zd,"RestElement")}parseBindingProperty(){let{type:zd,startLoc:Bd}=this.state;if(zd===21)return this.parseBindingRestProperty(this.startNode());let Yd=this.startNode();return zd===138?(this.expectPlugin("destructuringPrivate",Bd),this.classScope.usePrivateName(this.state.value,Bd),Yd.key=this.parsePrivateName()):this.parsePropertyName(Yd),Yd.method=!1,this.parseObjPropValue(Yd,Bd,!1,!1,!0,!1)}parseAssignableListItem(zd,Bd){let Yd=this.parseMaybeDefault();this.parseAssignableListItemTypes(Yd,zd);let _f=this.parseMaybeDefault(Yd.loc.start,Yd);return Bd.length&&(Yd.decorators=Bd),_f}parseAssignableListItemTypes(zd,Bd){return zd}parseMaybeDefault(zd,Bd){var Yd;if(zd!=null||(zd=this.state.startLoc),Bd=(Yd=Bd)!=null?Yd:this.parseBindingAtom(),!this.eat(29))return Bd;let _f=this.startNodeAt(zd);return _f.left=Bd,_f.right=this.parseMaybeAssignAllowIn(),this.finishNode(_f,"AssignmentPattern")}isValidLVal(zd,Bd,Yd){return Lv({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},zd)}isOptionalMemberExpression(zd){return zd.type==="OptionalMemberExpression"}checkLVal(zd,{in:Bd,binding:Yd=64,checkClashes:_f=!1,strictModeChanged:Nf=!1,hasParenthesizedAncestor:th=!1}){var bh;let kh=zd.type;if(this.isObjectMethod(zd))return;let sm=this.isOptionalMemberExpression(zd);if(sm||kh==="MemberExpression"){sm&&(this.expectPlugin("optionalChainingAssign",zd.loc.start),Bd.type!=="AssignmentExpression"&&this.raise(Md.InvalidLhsOptionalChaining,zd,{ancestor:Bd})),Yd!==64&&this.raise(Md.InvalidPropertyBindingPattern,zd);return}if(kh==="Identifier"){this.checkIdentifier(zd,Yd,Nf);let{name:d_}=zd;_f&&(_f.has(d_)?this.raise(Md.ParamDupe,zd):_f.add(d_));return}let Xh=this.isValidLVal(kh,!(th||(bh=zd.extra)!=null&&bh.parenthesized)&&Bd.type==="AssignmentExpression",Yd);if(Xh===!0)return;if(Xh===!1){let d_=Yd===64?Md.InvalidLhs:Md.InvalidLhsBinding;this.raise(d_,zd,{ancestor:Bd});return}let[Fm,Zm]=Array.isArray(Xh)?Xh:[Xh,kh==="ParenthesizedExpression"],l_=kh==="ArrayPattern"||kh==="ObjectPattern"?{type:kh}:Bd;for(let d_ of[].concat(zd[Fm]))d_&&this.checkLVal(d_,{in:l_,binding:Yd,checkClashes:_f,strictModeChanged:Nf,hasParenthesizedAncestor:Zm})}checkIdentifier(zd,Bd,Yd=!1){this.state.strict&&(Yd?x_(zd.name,this.inModule):H_(zd.name))&&(Bd===64?this.raise(Md.StrictEvalArguments,zd,{referenceName:zd.name}):this.raise(Md.StrictEvalArgumentsBinding,zd,{bindingName:zd.name})),Bd&8192&&zd.name==="let"&&this.raise(Md.LetInLexicalBinding,zd),Bd&64||this.declareNameFromIdentifier(zd,Bd)}declareNameFromIdentifier(zd,Bd){this.scope.declareName(zd.name,Bd,zd.loc.start)}checkToRestConversion(zd,Bd){switch(zd.type){case"ParenthesizedExpression":this.checkToRestConversion(zd.expression,Bd);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(Bd)break;default:this.raise(Md.InvalidRestAssignmentPattern,zd)}}checkCommaAfterRest(zd){return this.match(12)?(this.raise(this.lookaheadCharCode()===zd?Md.RestTrailingComma:Md.ElementAfterRest,this.state.startLoc),!0):!1}},Fv=(zd,Bd)=>hasOwnProperty.call(zd,Bd)&&zd[Bd];function vE(zd){if(zd==null)throw new Error(`Unexpected ${zd} value.`);return zd}function TE(zd){if(!zd)throw new Error("Assert fail")}var Jm=Fd`typescript`({AbstractMethodHasImplementation:({methodName:zd})=>`Method '${zd}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:zd})=>`Property '${zd}' 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:zd})=>`'declare' is not allowed in ${zd}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:zd})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:zd})=>`Duplicate modifier: '${zd}'.`,EmptyHeritageClauseType:({token:zd})=>`'${zd}' 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:zd})=>`'${zd[0]}' modifier cannot be used with '${zd[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:zd})=>`Index signatures cannot have an accessibility modifier ('${zd}').`,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:zd})=>`'${zd}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:zd})=>`'${zd}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:zd})=>`'${zd}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:zd})=>`'${zd[0]}' modifier must precede '${zd[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:zd})=>`Private elements cannot have an accessibility modifier ('${zd}').`,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:zd})=>`Single type parameter ${zd} should have a trailing comma. Example usage: <${zd},>.`,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:zd})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${zd}.`});function rg(zd){switch(zd){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 W0(zd){return zd==="private"||zd==="public"||zd==="protected"}function Qy(zd){return zd==="in"||zd==="out"}var jv=zd=>class extends zd{constructor(...Bd){super(...Bd),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Jm.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Jm.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Jm.InvalidModifierOnTypeParameter})}getScopeHandler(){return bE}tsIsIdentifier(){return qf(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(Bd,Yd){if(!qf(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let _f=this.state.value;if(Bd.includes(_f)){if(Yd&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return _f}}tsParseModifiers({allowedModifiers:Bd,disallowedModifiers:Yd,stopOnStartOfClassStaticBlock:_f,errorTemplate:Nf=Jm.InvalidModifierOnTypeMember},th){let bh=(sm,Xh,Fm,Zm)=>{Xh===Fm&&th[Zm]&&this.raise(Jm.InvalidModifiersOrder,sm,{orderedModifiers:[Fm,Zm]})},kh=(sm,Xh,Fm,Zm)=>{(th[Fm]&&Xh===Zm||th[Zm]&&Xh===Fm)&&this.raise(Jm.IncompatibleModifiers,sm,{modifiers:[Fm,Zm]})};for(;;){let{startLoc:sm}=this.state,Xh=this.tsParseModifier(Bd.concat(Yd??[]),_f);if(!Xh)break;W0(Xh)?th.accessibility?this.raise(Jm.DuplicateAccessibilityModifier,sm,{modifier:Xh}):(bh(sm,Xh,Xh,"override"),bh(sm,Xh,Xh,"static"),bh(sm,Xh,Xh,"readonly"),th.accessibility=Xh):Qy(Xh)?(th[Xh]&&this.raise(Jm.DuplicateModifier,sm,{modifier:Xh}),th[Xh]=!0,bh(sm,Xh,"in","out")):(hasOwnProperty.call(th,Xh)?this.raise(Jm.DuplicateModifier,sm,{modifier:Xh}):(bh(sm,Xh,"static","readonly"),bh(sm,Xh,"static","override"),bh(sm,Xh,"override","readonly"),bh(sm,Xh,"abstract","override"),kh(sm,Xh,"declare","override"),kh(sm,Xh,"static","abstract")),th[Xh]=!0),Yd!=null&&Yd.includes(Xh)&&this.raise(Nf,sm,{modifier:Xh})}}tsIsListTerminator(Bd){switch(Bd){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(Bd,Yd){let _f=[];for(;!this.tsIsListTerminator(Bd);)_f.push(Yd());return _f}tsParseDelimitedList(Bd,Yd,_f){return vE(this.tsParseDelimitedListWorker(Bd,Yd,!0,_f))}tsParseDelimitedListWorker(Bd,Yd,_f,Nf){let th=[],bh=-1;for(;!this.tsIsListTerminator(Bd);){bh=-1;let kh=Yd();if(kh==null)return;if(th.push(kh),this.eat(12)){bh=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(Bd))break;_f&&this.expect(12);return}return Nf&&(Nf.value=bh),th}tsParseBracketedList(Bd,Yd,_f,Nf,th){Nf||(_f?this.expect(0):this.expect(47));let bh=this.tsParseDelimitedList(Bd,Yd,th);return _f?this.expect(3):this.expect(48),bh}tsParseImportType(){let Bd=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(Jm.UnsupportedImportTypeArgument,this.state.startLoc),Bd.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(Bd.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(Bd.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(Bd.qualifier=this.tsParseEntityName()),this.match(47)&&(Bd.typeParameters=this.tsParseTypeArguments()),this.finishNode(Bd,"TSImportType")}tsParseEntityName(Bd=!0){let Yd=this.parseIdentifier(Bd);for(;this.eat(16);){let _f=this.startNodeAtNode(Yd);_f.left=Yd,_f.right=this.parseIdentifier(Bd),Yd=this.finishNode(_f,"TSQualifiedName")}return Yd}tsParseTypeReference(){let Bd=this.startNode();return Bd.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(Bd.typeParameters=this.tsParseTypeArguments()),this.finishNode(Bd,"TSTypeReference")}tsParseThisTypePredicate(Bd){this.next();let Yd=this.startNodeAtNode(Bd);return Yd.parameterName=Bd,Yd.typeAnnotation=this.tsParseTypeAnnotation(!1),Yd.asserts=!1,this.finishNode(Yd,"TSTypePredicate")}tsParseThisTypeNode(){let Bd=this.startNode();return this.next(),this.finishNode(Bd,"TSThisType")}tsParseTypeQuery(){let Bd=this.startNode();return this.expect(87),this.match(83)?Bd.exprName=this.tsParseImportType():Bd.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(Bd.typeParameters=this.tsParseTypeArguments()),this.finishNode(Bd,"TSTypeQuery")}tsParseTypeParameter(Bd){let Yd=this.startNode();return Bd(Yd),Yd.name=this.tsParseTypeParameterName(),Yd.constraint=this.tsEatThenParseType(81),Yd.default=this.tsEatThenParseType(29),this.finishNode(Yd,"TSTypeParameter")}tsTryParseTypeParameters(Bd){if(this.match(47))return this.tsParseTypeParameters(Bd)}tsParseTypeParameters(Bd){let Yd=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();let _f={value:-1};return Yd.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,Bd),!1,!0,_f),Yd.params.length===0&&this.raise(Jm.EmptyTypeParameters,Yd),_f.value!==-1&&this.addExtra(Yd,"trailingComma",_f.value),this.finishNode(Yd,"TSTypeParameterDeclaration")}tsFillSignature(Bd,Yd){let _f=Bd===19,Nf="parameters",th="typeAnnotation";Yd.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),Yd[Nf]=this.tsParseBindingListForSignature(),_f?Yd[th]=this.tsParseTypeOrTypePredicateAnnotation(Bd):this.match(Bd)&&(Yd[th]=this.tsParseTypeOrTypePredicateAnnotation(Bd))}tsParseBindingListForSignature(){let Bd=super.parseBindingList(11,41,2);for(let Yd of Bd){let{type:_f}=Yd;(_f==="AssignmentPattern"||_f==="TSParameterProperty")&&this.raise(Jm.UnsupportedSignatureParameterKind,Yd,{type:_f})}return Bd}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(Bd,Yd){return this.tsFillSignature(14,Yd),this.tsParseTypeMemberSemicolon(),this.finishNode(Yd,Bd)}tsIsUnambiguouslyIndexSignature(){return this.next(),qf(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(Bd){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let Yd=this.parseIdentifier();Yd.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(Yd),this.expect(3),Bd.parameters=[Yd];let _f=this.tsTryParseTypeAnnotation();return _f&&(Bd.typeAnnotation=_f),this.tsParseTypeMemberSemicolon(),this.finishNode(Bd,"TSIndexSignature")}tsParsePropertyOrMethodSignature(Bd,Yd){this.eat(17)&&(Bd.optional=!0);let _f=Bd;if(this.match(10)||this.match(47)){Yd&&this.raise(Jm.ReadonlyForMethodSignature,Bd);let Nf=_f;Nf.kind&&this.match(47)&&this.raise(Jm.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,Nf),this.tsParseTypeMemberSemicolon();let th="parameters",bh="typeAnnotation";if(Nf.kind==="get")Nf[th].length>0&&(this.raise(Md.BadGetterArity,this.state.curPosition()),this.isThisParam(Nf[th][0])&&this.raise(Jm.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(Nf.kind==="set"){if(Nf[th].length!==1)this.raise(Md.BadSetterArity,this.state.curPosition());else{let kh=Nf[th][0];this.isThisParam(kh)&&this.raise(Jm.AccesorCannotDeclareThisParameter,this.state.curPosition()),kh.type==="Identifier"&&kh.optional&&this.raise(Jm.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),kh.type==="RestElement"&&this.raise(Jm.SetAccesorCannotHaveRestParameter,this.state.curPosition())}Nf[bh]&&this.raise(Jm.SetAccesorCannotHaveReturnType,Nf[bh])}else Nf.kind="method";return this.finishNode(Nf,"TSMethodSignature")}else{let Nf=_f;Yd&&(Nf.readonly=!0);let th=this.tsTryParseTypeAnnotation();return th&&(Nf.typeAnnotation=th),this.tsParseTypeMemberSemicolon(),this.finishNode(Nf,"TSPropertySignature")}}tsParseTypeMember(){let Bd=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",Bd);if(this.match(77)){let _f=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",Bd):(Bd.key=this.createIdentifier(_f,"new"),this.tsParsePropertyOrMethodSignature(Bd,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},Bd),this.tsTryParseIndexSignature(Bd)||(super.parsePropertyName(Bd),!Bd.computed&&Bd.key.type==="Identifier"&&(Bd.key.name==="get"||Bd.key.name==="set")&&this.tsTokenCanFollowModifier()&&(Bd.kind=Bd.key.name,super.parsePropertyName(Bd)),this.tsParsePropertyOrMethodSignature(Bd,!!Bd.readonly))}tsParseTypeLiteral(){let Bd=this.startNode();return Bd.members=this.tsParseObjectTypeMembers(),this.finishNode(Bd,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let Bd=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),Bd}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 Bd=this.startNode();return Bd.name=this.tsParseTypeParameterName(),Bd.constraint=this.tsExpectThenParseType(58),this.finishNode(Bd,"TSTypeParameter")}tsParseMappedType(){let Bd=this.startNode();return this.expect(5),this.match(53)?(Bd.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(Bd.readonly=!0),this.expect(0),Bd.typeParameter=this.tsParseMappedTypeParameter(),Bd.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(Bd.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(Bd.optional=!0),Bd.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(Bd,"TSMappedType")}tsParseTupleType(){let Bd=this.startNode();Bd.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let Yd=!1;return Bd.elementTypes.forEach(_f=>{let{type:Nf}=_f;Yd&&Nf!=="TSRestType"&&Nf!=="TSOptionalType"&&!(Nf==="TSNamedTupleMember"&&_f.optional)&&this.raise(Jm.OptionalTypeBeforeRequired,_f),Yd||(Yd=Nf==="TSNamedTupleMember"&&_f.optional||Nf==="TSOptionalType")}),this.finishNode(Bd,"TSTupleType")}tsParseTupleElementType(){let{startLoc:Bd}=this.state,Yd=this.eat(21),_f,Nf,th,bh,kh=ch(this.state.type)?this.lookaheadCharCode():null;if(kh===58)_f=!0,th=!1,Nf=this.parseIdentifier(!0),this.expect(14),bh=this.tsParseType();else if(kh===63){th=!0;let sm=this.state.startLoc,Xh=this.state.value,Fm=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(_f=!0,Nf=this.createIdentifier(this.startNodeAt(sm),Xh),this.expect(17),this.expect(14),bh=this.tsParseType()):(_f=!1,bh=Fm,this.expect(17))}else bh=this.tsParseType(),th=this.eat(17),_f=this.eat(14);if(_f){let sm;Nf?(sm=this.startNodeAtNode(Nf),sm.optional=th,sm.label=Nf,sm.elementType=bh,this.eat(17)&&(sm.optional=!0,this.raise(Jm.TupleOptionalAfterType,this.state.lastTokStartLoc))):(sm=this.startNodeAtNode(bh),sm.optional=th,this.raise(Jm.InvalidTupleMemberLabel,bh),sm.label=bh,sm.elementType=this.tsParseType()),bh=this.finishNode(sm,"TSNamedTupleMember")}else if(th){let sm=this.startNodeAtNode(bh);sm.typeAnnotation=bh,bh=this.finishNode(sm,"TSOptionalType")}if(Yd){let sm=this.startNodeAt(Bd);sm.typeAnnotation=bh,bh=this.finishNode(sm,"TSRestType")}return bh}tsParseParenthesizedType(){let Bd=this.startNode();return this.expect(10),Bd.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(Bd,"TSParenthesizedType")}tsParseFunctionOrConstructorType(Bd,Yd){let _f=this.startNode();return Bd==="TSConstructorType"&&(_f.abstract=!!Yd,Yd&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,_f)),this.finishNode(_f,Bd)}tsParseLiteralTypeNode(){let Bd=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:Bd.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(Bd,"TSLiteralType")}tsParseTemplateLiteralType(){let Bd=this.startNode();return Bd.literal=super.parseTemplate(!1),this.finishNode(Bd,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let Bd=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(Bd):Bd}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 Bd=this.startNode(),Yd=this.lookahead();return Yd.type!==134&&Yd.type!==135&&this.unexpected(),Bd.literal=this.parseMaybeUnary(),this.finishNode(Bd,"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:Bd}=this.state;if(qf(Bd)||Bd===88||Bd===84){let Yd=Bd===88?"TSVoidKeyword":Bd===84?"TSNullKeyword":rg(this.state.value);if(Yd!==void 0&&this.lookaheadCharCode()!==46){let _f=this.startNode();return this.next(),this.finishNode(_f,Yd)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let Bd=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let Yd=this.startNodeAtNode(Bd);Yd.elementType=Bd,this.expect(3),Bd=this.finishNode(Yd,"TSArrayType")}else{let Yd=this.startNodeAtNode(Bd);Yd.objectType=Bd,Yd.indexType=this.tsParseType(),this.expect(3),Bd=this.finishNode(Yd,"TSIndexedAccessType")}return Bd}tsParseTypeOperator(){let Bd=this.startNode(),Yd=this.state.value;return this.next(),Bd.operator=Yd,Bd.typeAnnotation=this.tsParseTypeOperatorOrHigher(),Yd==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(Bd),this.finishNode(Bd,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(Bd){switch(Bd.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Jm.UnexpectedReadonly,Bd)}}tsParseInferType(){let Bd=this.startNode();this.expectContextual(115);let Yd=this.startNode();return Yd.name=this.tsParseTypeParameterName(),Yd.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),Bd.typeParameter=this.finishNode(Yd,"TSTypeParameter"),this.finishNode(Bd,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let Bd=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return Bd}}tsParseTypeOperatorOrHigher(){return ph(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(Bd,Yd,_f){let Nf=this.startNode(),th=this.eat(_f),bh=[];do bh.push(Yd());while(this.eat(_f));return bh.length===1&&!th?bh[0]:(Nf.types=bh,this.finishNode(Nf,Bd))}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(qf(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:Bd}=this.state,Yd=Bd.length;try{return this.parseObjectLike(8,!0),Bd.length===Yd}catch{return!1}}if(this.match(0)){this.next();let{errors:Bd}=this.state,Yd=Bd.length;try{return super.parseBindingList(3,93,1),Bd.length===Yd}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(Bd){return this.tsInType(()=>{let Yd=this.startNode();this.expect(Bd);let _f=this.startNode(),Nf=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(Nf&&this.match(78)){let kh=this.tsParseThisTypeOrThisTypePredicate();return kh.type==="TSThisType"?(_f.parameterName=kh,_f.asserts=!0,_f.typeAnnotation=null,kh=this.finishNode(_f,"TSTypePredicate")):(this.resetStartLocationFromNode(kh,_f),kh.asserts=!0),Yd.typeAnnotation=kh,this.finishNode(Yd,"TSTypeAnnotation")}let th=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!th)return Nf?(_f.parameterName=this.parseIdentifier(),_f.asserts=Nf,_f.typeAnnotation=null,Yd.typeAnnotation=this.finishNode(_f,"TSTypePredicate"),this.finishNode(Yd,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,Yd);let bh=this.tsParseTypeAnnotation(!1);return _f.parameterName=th,_f.typeAnnotation=bh,_f.asserts=Nf,Yd.typeAnnotation=this.finishNode(_f,"TSTypePredicate"),this.finishNode(Yd,"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 Bd=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),Bd}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let Bd=this.state.containsEsc;return this.next(),!qf(this.state.type)&&!this.match(78)?!1:(Bd&&this.raise(Md.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(Bd=!0,Yd=this.startNode()){return this.tsInType(()=>{Bd&&this.expect(14),Yd.typeAnnotation=this.tsParseType()}),this.finishNode(Yd,"TSTypeAnnotation")}tsParseType(){TE(this.state.inType);let Bd=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return Bd;let Yd=this.startNodeAtNode(Bd);return Yd.checkType=Bd,Yd.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),Yd.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),Yd.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(Yd,"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(Jm.ReservedTypeAssertion,this.state.startLoc);let Bd=this.startNode();return Bd.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),Bd.expression=this.parseMaybeUnary(),this.finishNode(Bd,"TSTypeAssertion")}tsParseHeritageClause(Bd){let Yd=this.state.startLoc,_f=this.tsParseDelimitedList("HeritageClauseElement",()=>{let Nf=this.startNode();return Nf.expression=this.tsParseEntityName(),this.match(47)&&(Nf.typeParameters=this.tsParseTypeArguments()),this.finishNode(Nf,"TSExpressionWithTypeArguments")});return _f.length||this.raise(Jm.EmptyHeritageClauseType,Yd,{token:Bd}),_f}tsParseInterfaceDeclaration(Bd,Yd={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),Yd.declare&&(Bd.declare=!0),qf(this.state.type)?(Bd.id=this.parseIdentifier(),this.checkIdentifier(Bd.id,130)):(Bd.id=null,this.raise(Jm.MissingInterfaceName,this.state.startLoc)),Bd.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(Bd.extends=this.tsParseHeritageClause("extends"));let _f=this.startNode();return _f.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),Bd.body=this.finishNode(_f,"TSInterfaceBody"),this.finishNode(Bd,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(Bd){return Bd.id=this.parseIdentifier(),this.checkIdentifier(Bd.id,2),Bd.typeAnnotation=this.tsInType(()=>{if(Bd.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let Yd=this.startNode();return this.next(),this.finishNode(Yd,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(Bd,"TSTypeAliasDeclaration")}tsInNoContext(Bd){let Yd=this.state.context;this.state.context=[Yd[0]];try{return Bd()}finally{this.state.context=Yd}}tsInType(Bd){let Yd=this.state.inType;this.state.inType=!0;try{return Bd()}finally{this.state.inType=Yd}}tsInDisallowConditionalTypesContext(Bd){let Yd=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return Bd()}finally{this.state.inDisallowConditionalTypesContext=Yd}}tsInAllowConditionalTypesContext(Bd){let Yd=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return Bd()}finally{this.state.inDisallowConditionalTypesContext=Yd}}tsEatThenParseType(Bd){if(this.match(Bd))return this.tsNextThenParseType()}tsExpectThenParseType(Bd){return this.tsInType(()=>(this.expect(Bd),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let Bd=this.startNode();return Bd.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(Bd.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(Bd,"TSEnumMember")}tsParseEnumDeclaration(Bd,Yd={}){return Yd.const&&(Bd.const=!0),Yd.declare&&(Bd.declare=!0),this.expectContextual(126),Bd.id=this.parseIdentifier(),this.checkIdentifier(Bd.id,Bd.const?8971:8459),this.expect(5),Bd.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(Bd,"TSEnumDeclaration")}tsParseModuleBlock(){let Bd=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(Bd.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(Bd,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(Bd,Yd=!1){if(Bd.id=this.parseIdentifier(),Yd||this.checkIdentifier(Bd.id,1024),this.eat(16)){let _f=this.startNode();this.tsParseModuleOrNamespaceDeclaration(_f,!0),Bd.body=_f}else this.scope.enter(256),this.prodParam.enter(0),Bd.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(Bd,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(Bd){return this.isContextual(112)?(Bd.global=!0,Bd.id=this.parseIdentifier()):this.match(133)?Bd.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),Bd.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(Bd,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(Bd,Yd,_f){Bd.isExport=_f||!1,Bd.id=Yd||this.parseIdentifier(),this.checkIdentifier(Bd.id,4096),this.expect(29);let Nf=this.tsParseModuleReference();return Bd.importKind==="type"&&Nf.type!=="TSExternalModuleReference"&&this.raise(Jm.ImportAliasHasImportType,Nf),Bd.moduleReference=Nf,this.semicolon(),this.finishNode(Bd,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let Bd=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),Bd.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(Bd,"TSExternalModuleReference")}tsLookAhead(Bd){let Yd=this.state.clone(),_f=Bd();return this.state=Yd,_f}tsTryParseAndCatch(Bd){let Yd=this.tryParse(_f=>Bd()||_f());if(!(Yd.aborted||!Yd.node))return Yd.error&&(this.state=Yd.failState),Yd.node}tsTryParse(Bd){let Yd=this.state.clone(),_f=Bd();if(_f!==void 0&&_f!==!1)return _f;this.state=Yd}tsTryParseDeclare(Bd){if(this.isLineTerminator())return;let Yd=this.state.type,_f;return this.isContextual(100)&&(Yd=74,_f="let"),this.tsInAmbientContext(()=>{switch(Yd){case 68:return Bd.declare=!0,super.parseFunctionStatement(Bd,!1,!1);case 80:return Bd.declare=!0,this.parseClass(Bd,!0,!1);case 126:return this.tsParseEnumDeclaration(Bd,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(Bd);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(Bd.declare=!0,this.parseVarStatement(Bd,_f||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(Bd,{const:!0,declare:!0}));case 129:{let Nf=this.tsParseInterfaceDeclaration(Bd,{declare:!0});if(Nf)return Nf}default:if(qf(Yd))return this.tsParseDeclaration(Bd,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(Bd,Yd,_f){switch(Yd.name){case"declare":{let Nf=this.tsTryParseDeclare(Bd);return Nf&&(Nf.declare=!0),Nf}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let Nf=Bd;return Nf.global=!0,Nf.id=Yd,Nf.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(Nf,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(Bd,Yd.name,!1,_f)}}tsParseDeclaration(Bd,Yd,_f,Nf){switch(Yd){case"abstract":if(this.tsCheckLineTerminator(_f)&&(this.match(80)||qf(this.state.type)))return this.tsParseAbstractDeclaration(Bd,Nf);break;case"module":if(this.tsCheckLineTerminator(_f)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(Bd);if(qf(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(Bd)}break;case"namespace":if(this.tsCheckLineTerminator(_f)&&qf(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(Bd);break;case"type":if(this.tsCheckLineTerminator(_f)&&qf(this.state.type))return this.tsParseTypeAliasDeclaration(Bd);break}}tsCheckLineTerminator(Bd){return Bd?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(Bd){if(!this.match(47))return;let Yd=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let _f=this.tsTryParseAndCatch(()=>{let Nf=this.startNodeAt(Bd);return Nf.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(Nf),Nf.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),Nf});if(this.state.maybeInArrowParameters=Yd,!!_f)return super.parseArrowExpression(_f,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let Bd=this.startNode();return Bd.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),Bd.params.length===0?this.raise(Jm.EmptyTypeArguments,Bd):!this.state.inType&&this.curContext()===mf.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(Bd,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return Vh(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(Bd,Yd){let _f=this.state.startLoc,Nf={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},Nf);let th=Nf.accessibility,bh=Nf.override,kh=Nf.readonly;!(Bd&4)&&(th||kh||bh)&&this.raise(Jm.UnexpectedParameterModifier,_f);let sm=this.parseMaybeDefault();this.parseAssignableListItemTypes(sm,Bd);let Xh=this.parseMaybeDefault(sm.loc.start,sm);if(th||kh||bh){let Fm=this.startNodeAt(_f);return Yd.length&&(Fm.decorators=Yd),th&&(Fm.accessibility=th),kh&&(Fm.readonly=kh),bh&&(Fm.override=bh),Xh.type!=="Identifier"&&Xh.type!=="AssignmentPattern"&&this.raise(Jm.UnsupportedParameterPropertyKind,Fm),Fm.parameter=Xh,this.finishNode(Fm,"TSParameterProperty")}return Yd.length&&(sm.decorators=Yd),Xh}isSimpleParameter(Bd){return Bd.type==="TSParameterProperty"&&super.isSimpleParameter(Bd.parameter)||super.isSimpleParameter(Bd)}tsDisallowOptionalPattern(Bd){for(let Yd of Bd.params)Yd.type!=="Identifier"&&Yd.optional&&!this.state.isAmbientContext&&this.raise(Jm.PatternIsOptional,Yd)}setArrowFunctionParameters(Bd,Yd,_f){super.setArrowFunctionParameters(Bd,Yd,_f),this.tsDisallowOptionalPattern(Bd)}parseFunctionBodyAndFinish(Bd,Yd,_f=!1){this.match(14)&&(Bd.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let Nf=Yd==="FunctionDeclaration"?"TSDeclareFunction":Yd==="ClassMethod"||Yd==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return Nf&&!this.match(5)&&this.isLineTerminator()?this.finishNode(Bd,Nf):Nf==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Jm.DeclareFunctionHasImplementation,Bd),Bd.declare)?super.parseFunctionBodyAndFinish(Bd,Nf,_f):(this.tsDisallowOptionalPattern(Bd),super.parseFunctionBodyAndFinish(Bd,Yd,_f))}registerFunctionStatementId(Bd){!Bd.body&&Bd.id?this.checkIdentifier(Bd.id,1024):super.registerFunctionStatementId(Bd)}tsCheckForInvalidTypeCasts(Bd){Bd.forEach(Yd=>{(Yd==null?void 0:Yd.type)==="TSTypeCastExpression"&&this.raise(Jm.UnexpectedTypeAnnotation,Yd.typeAnnotation)})}toReferencedList(Bd,Yd){return this.tsCheckForInvalidTypeCasts(Bd),Bd}parseArrayLike(Bd,Yd,_f,Nf){let th=super.parseArrayLike(Bd,Yd,_f,Nf);return th.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(th.elements),th}parseSubscript(Bd,Yd,_f,Nf){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let bh=this.startNodeAt(Yd);return bh.expression=Bd,this.finishNode(bh,"TSNonNullExpression")}let th=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(_f)return Nf.stop=!0,Bd;Nf.optionalChainMember=th=!0,this.next()}if(this.match(47)||this.match(51)){let bh,kh=this.tsTryParseAndCatch(()=>{if(!_f&&this.atPossibleAsyncArrow(Bd)){let Zm=this.tsTryParseGenericAsyncArrowFunction(Yd);if(Zm)return Zm}let sm=this.tsParseTypeArgumentsInExpression();if(!sm)return;if(th&&!this.match(10)){bh=this.state.curPosition();return}if(cm(this.state.type)){let Zm=super.parseTaggedTemplateExpression(Bd,Yd,Nf);return Zm.typeParameters=sm,Zm}if(!_f&&this.eat(10)){let Zm=this.startNodeAt(Yd);return Zm.callee=Bd,Zm.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(Zm.arguments),Zm.typeParameters=sm,Nf.optionalChainMember&&(Zm.optional=th),this.finishCallExpression(Zm,Nf.optionalChainMember)}let Xh=this.state.type;if(Xh===48||Xh===52||Xh!==10&&uh(Xh)&&!this.hasPrecedingLineBreak())return;let Fm=this.startNodeAt(Yd);return Fm.expression=Bd,Fm.typeParameters=sm,this.finishNode(Fm,"TSInstantiationExpression")});if(bh&&this.unexpected(bh,10),kh)return kh.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Jm.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),kh}return super.parseSubscript(Bd,Yd,_f,Nf)}parseNewCallee(Bd){var Yd;super.parseNewCallee(Bd);let{callee:_f}=Bd;_f.type==="TSInstantiationExpression"&&!((Yd=_f.extra)!=null&&Yd.parenthesized)&&(Bd.typeParameters=_f.typeParameters,Bd.callee=_f.expression)}parseExprOp(Bd,Yd,_f){let Nf;if(fm(58)>_f&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(Nf=this.isContextual(120)))){let th=this.startNodeAt(Yd);return th.expression=Bd,th.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(Nf&&this.raise(Md.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(th,Nf?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(th,Yd,_f)}return super.parseExprOp(Bd,Yd,_f)}checkReservedWord(Bd,Yd,_f,Nf){this.state.isAmbientContext||super.checkReservedWord(Bd,Yd,_f,Nf)}checkImportReflection(Bd){super.checkImportReflection(Bd),Bd.module&&Bd.importKind!=="value"&&this.raise(Jm.ImportReflectionHasImportType,Bd.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(Bd){if(super.isPotentialImportPhase(Bd))return!0;if(this.isContextual(130)){let Yd=this.lookaheadCharCode();return Bd?Yd===123||Yd===42:Yd!==61}return!Bd&&this.isContextual(87)}applyImportPhase(Bd,Yd,_f,Nf){super.applyImportPhase(Bd,Yd,_f,Nf),Yd?Bd.exportKind=_f==="type"?"type":"value":Bd.importKind=_f==="type"||_f==="typeof"?_f:"value"}parseImport(Bd){if(this.match(133))return Bd.importKind="value",super.parseImport(Bd);let Yd;if(qf(this.state.type)&&this.lookaheadCharCode()===61)return Bd.importKind="value",this.tsParseImportEqualsDeclaration(Bd);if(this.isContextual(130)){let _f=this.parseMaybeImportPhase(Bd,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(Bd,_f);Yd=super.parseImportSpecifiersAndAfter(Bd,_f)}else Yd=super.parseImport(Bd);return Yd.importKind==="type"&&Yd.specifiers.length>1&&Yd.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Jm.TypeImportCannotSpecifyDefaultAndNamed,Yd),Yd}parseExport(Bd,Yd){if(this.match(83)){this.next();let _f=Bd,Nf=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?Nf=this.parseMaybeImportPhase(_f,!1):_f.importKind="value",this.tsParseImportEqualsDeclaration(_f,Nf,!0)}else if(this.eat(29)){let _f=Bd;return _f.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(_f,"TSExportAssignment")}else if(this.eatContextual(93)){let _f=Bd;return this.expectContextual(128),_f.id=this.parseIdentifier(),this.semicolon(),this.finishNode(_f,"TSNamespaceExportDeclaration")}else return super.parseExport(Bd,Yd)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let Bd=this.startNode();return this.next(),Bd.abstract=!0,this.parseClass(Bd,!0,!0)}if(this.match(129)){let Bd=this.tsParseInterfaceDeclaration(this.startNode());if(Bd)return Bd}return super.parseExportDefaultExpression()}parseVarStatement(Bd,Yd,_f=!1){let{isAmbientContext:Nf}=this.state,th=super.parseVarStatement(Bd,Yd,_f||Nf);if(!Nf)return th;for(let{id:bh,init:kh}of th.declarations)kh&&(Yd!=="const"||bh.typeAnnotation?this.raise(Jm.InitializerNotAllowedInAmbientContext,kh):xE(kh,this.hasPlugin("estree"))||this.raise(Jm.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,kh));return th}parseStatementContent(Bd,Yd){if(this.match(75)&&this.isLookaheadContextual("enum")){let _f=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(_f,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let _f=this.tsParseInterfaceDeclaration(this.startNode());if(_f)return _f}return super.parseStatementContent(Bd,Yd)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(Bd,Yd){return Yd.some(_f=>W0(_f)?Bd.accessibility===_f:!!Bd[_f])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(Bd,Yd,_f){let Nf=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:Nf,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Jm.InvalidModifierOnTypeParameterPositions},Yd);let th=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(Yd,Nf)&&this.raise(Jm.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(Bd,Yd)):this.parseClassMemberWithIsStatic(Bd,Yd,_f,!!Yd.static)};Yd.declare?this.tsInAmbientContext(th):th()}parseClassMemberWithIsStatic(Bd,Yd,_f,Nf){let th=this.tsTryParseIndexSignature(Yd);if(th){Bd.body.push(th),Yd.abstract&&this.raise(Jm.IndexSignatureHasAbstract,Yd),Yd.accessibility&&this.raise(Jm.IndexSignatureHasAccessibility,Yd,{modifier:Yd.accessibility}),Yd.declare&&this.raise(Jm.IndexSignatureHasDeclare,Yd),Yd.override&&this.raise(Jm.IndexSignatureHasOverride,Yd);return}!this.state.inAbstractClass&&Yd.abstract&&this.raise(Jm.NonAbstractClassHasAbstractMethod,Yd),Yd.override&&(_f.hadSuperClass||this.raise(Jm.OverrideNotInSubClass,Yd)),super.parseClassMemberWithIsStatic(Bd,Yd,_f,Nf)}parsePostMemberNameModifiers(Bd){this.eat(17)&&(Bd.optional=!0),Bd.readonly&&this.match(10)&&this.raise(Jm.ClassMethodHasReadonly,Bd),Bd.declare&&this.match(10)&&this.raise(Jm.ClassMethodHasDeclare,Bd)}parseExpressionStatement(Bd,Yd,_f){return(Yd.type==="Identifier"?this.tsParseExpressionStatement(Bd,Yd,_f):void 0)||super.parseExpressionStatement(Bd,Yd,_f)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(Bd,Yd,_f){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(Bd,Yd,_f);let Nf=this.tryParse(()=>super.parseConditional(Bd,Yd));return Nf.node?(Nf.error&&(this.state=Nf.failState),Nf.node):(Nf.error&&super.setOptionalParametersError(_f,Nf.error),Bd)}parseParenItem(Bd,Yd){let _f=super.parseParenItem(Bd,Yd);if(this.eat(17)&&(_f.optional=!0,this.resetEndLocation(Bd)),this.match(14)){let Nf=this.startNodeAt(Yd);return Nf.expression=Bd,Nf.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(Nf,"TSTypeCastExpression")}return Bd}parseExportDeclaration(Bd){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(Bd));let Yd=this.state.startLoc,_f=this.eatContextual(125);if(_f&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Jm.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let Nf=qf(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(Bd);return Nf?((Nf.type==="TSInterfaceDeclaration"||Nf.type==="TSTypeAliasDeclaration"||_f)&&(Bd.exportKind="type"),_f&&(this.resetStartLocation(Nf,Yd),Nf.declare=!0),Nf):null}parseClassId(Bd,Yd,_f,Nf){if((!Yd||_f)&&this.isContextual(113))return;super.parseClassId(Bd,Yd,_f,Bd.declare?1024:8331);let th=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);th&&(Bd.typeParameters=th)}parseClassPropertyAnnotation(Bd){Bd.optional||(this.eat(35)?Bd.definite=!0:this.eat(17)&&(Bd.optional=!0));let Yd=this.tsTryParseTypeAnnotation();Yd&&(Bd.typeAnnotation=Yd)}parseClassProperty(Bd){if(this.parseClassPropertyAnnotation(Bd),this.state.isAmbientContext&&!(Bd.readonly&&!Bd.typeAnnotation)&&this.match(29)&&this.raise(Jm.DeclareClassFieldHasInitializer,this.state.startLoc),Bd.abstract&&this.match(29)){let{key:Yd}=Bd;this.raise(Jm.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:Yd.type==="Identifier"&&!Bd.computed?Yd.name:`[${this.input.slice(Yd.start,Yd.end)}]`})}return super.parseClassProperty(Bd)}parseClassPrivateProperty(Bd){return Bd.abstract&&this.raise(Jm.PrivateElementHasAbstract,Bd),Bd.accessibility&&this.raise(Jm.PrivateElementHasAccessibility,Bd,{modifier:Bd.accessibility}),this.parseClassPropertyAnnotation(Bd),super.parseClassPrivateProperty(Bd)}parseClassAccessorProperty(Bd){return this.parseClassPropertyAnnotation(Bd),Bd.optional&&this.raise(Jm.AccessorCannotBeOptional,Bd),super.parseClassAccessorProperty(Bd)}pushClassMethod(Bd,Yd,_f,Nf,th,bh){let kh=this.tsTryParseTypeParameters(this.tsParseConstModifier);kh&&th&&this.raise(Jm.ConstructorHasTypeParameters,kh);let{declare:sm=!1,kind:Xh}=Yd;sm&&(Xh==="get"||Xh==="set")&&this.raise(Jm.DeclareAccessor,Yd,{kind:Xh}),kh&&(Yd.typeParameters=kh),super.pushClassMethod(Bd,Yd,_f,Nf,th,bh)}pushClassPrivateMethod(Bd,Yd,_f,Nf){let th=this.tsTryParseTypeParameters(this.tsParseConstModifier);th&&(Yd.typeParameters=th),super.pushClassPrivateMethod(Bd,Yd,_f,Nf)}declareClassPrivateMethodInScope(Bd,Yd){Bd.type!=="TSDeclareMethod"&&(Bd.type==="MethodDefinition"&&!hasOwnProperty.call(Bd.value,"body")||super.declareClassPrivateMethodInScope(Bd,Yd))}parseClassSuper(Bd){super.parseClassSuper(Bd),Bd.superClass&&(this.match(47)||this.match(51))&&(Bd.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(Bd.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(Bd,Yd,_f,Nf,th,bh,kh){let sm=this.tsTryParseTypeParameters(this.tsParseConstModifier);return sm&&(Bd.typeParameters=sm),super.parseObjPropValue(Bd,Yd,_f,Nf,th,bh,kh)}parseFunctionParams(Bd,Yd){let _f=this.tsTryParseTypeParameters(this.tsParseConstModifier);_f&&(Bd.typeParameters=_f),super.parseFunctionParams(Bd,Yd)}parseVarId(Bd,Yd){super.parseVarId(Bd,Yd),Bd.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(Bd.definite=!0);let _f=this.tsTryParseTypeAnnotation();_f&&(Bd.id.typeAnnotation=_f,this.resetEndLocation(Bd.id))}parseAsyncArrowFromCallExpression(Bd,Yd){return this.match(14)&&(Bd.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(Bd,Yd)}parseMaybeAssign(Bd,Yd){var _f,Nf,th,bh,kh;let sm,Xh,Fm;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(sm=this.state.clone(),Xh=this.tryParse(()=>super.parseMaybeAssign(Bd,Yd),sm),!Xh.error)return Xh.node;let{context:d_}=this.state,w_=d_[d_.length-1];(w_===mf.j_oTag||w_===mf.j_expr)&&d_.pop()}if(!((_f=Xh)!=null&&_f.error)&&!this.match(47))return super.parseMaybeAssign(Bd,Yd);(!sm||sm===this.state)&&(sm=this.state.clone());let Zm,l_=this.tryParse(d_=>{var w_,Eg;Zm=this.tsParseTypeParameters(this.tsParseConstModifier);let U_=super.parseMaybeAssign(Bd,Yd);return(U_.type!=="ArrowFunctionExpression"||(w_=U_.extra)!=null&&w_.parenthesized)&&d_(),((Eg=Zm)==null?void 0:Eg.params.length)!==0&&this.resetStartLocationFromNode(U_,Zm),U_.typeParameters=Zm,U_},sm);if(!l_.error&&!l_.aborted)return Zm&&this.reportReservedArrowTypeParam(Zm),l_.node;if(!Xh&&(TE(!this.hasPlugin("jsx")),Fm=this.tryParse(()=>super.parseMaybeAssign(Bd,Yd),sm),!Fm.error))return Fm.node;if((Nf=Xh)!=null&&Nf.node)return this.state=Xh.failState,Xh.node;if(l_.node)return this.state=l_.failState,Zm&&this.reportReservedArrowTypeParam(Zm),l_.node;if((th=Fm)!=null&&th.node)return this.state=Fm.failState,Fm.node;throw((bh=Xh)==null?void 0:bh.error)||l_.error||((kh=Fm)==null?void 0:kh.error)}reportReservedArrowTypeParam(Bd){var Yd;Bd.params.length===1&&!Bd.params[0].constraint&&!((Yd=Bd.extra)!=null&&Yd.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Jm.ReservedArrowTypeParam,Bd)}parseMaybeUnary(Bd,Yd){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(Bd,Yd)}parseArrow(Bd){if(this.match(14)){let Yd=this.tryParse(_f=>{let Nf=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&_f(),Nf});if(Yd.aborted)return;Yd.thrown||(Yd.error&&(this.state=Yd.failState),Bd.returnType=Yd.node)}return super.parseArrow(Bd)}parseAssignableListItemTypes(Bd,Yd){if(!(Yd&2))return Bd;this.eat(17)&&(Bd.optional=!0);let _f=this.tsTryParseTypeAnnotation();return _f&&(Bd.typeAnnotation=_f),this.resetEndLocation(Bd),Bd}isAssignable(Bd,Yd){switch(Bd.type){case"TSTypeCastExpression":return this.isAssignable(Bd.expression,Yd);case"TSParameterProperty":return!0;default:return super.isAssignable(Bd,Yd)}}toAssignable(Bd,Yd=!1){switch(Bd.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(Bd,Yd);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":Yd?this.expressionScope.recordArrowParameterBindingError(Jm.UnexpectedTypeCastInParameter,Bd):this.raise(Jm.UnexpectedTypeCastInParameter,Bd),this.toAssignable(Bd.expression,Yd);break;case"AssignmentExpression":!Yd&&Bd.left.type==="TSTypeCastExpression"&&(Bd.left=this.typeCastToParameter(Bd.left));default:super.toAssignable(Bd,Yd)}}toAssignableParenthesizedExpression(Bd,Yd){switch(Bd.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(Bd.expression,Yd);break;default:super.toAssignable(Bd,Yd)}}checkToRestConversion(Bd,Yd){switch(Bd.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(Bd.expression,!1);break;default:super.checkToRestConversion(Bd,Yd)}}isValidLVal(Bd,Yd,_f){return Fv({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSInstantiationExpression:"expression",TSAsExpression:(_f!==64||!Yd)&&["expression",!0],TSSatisfiesExpression:(_f!==64||!Yd)&&["expression",!0],TSTypeAssertion:(_f!==64||!Yd)&&["expression",!0]},Bd)||super.isValidLVal(Bd,Yd,_f)}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(Bd){if(this.match(47)||this.match(51)){let Yd=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let _f=super.parseMaybeDecoratorArguments(Bd);return _f.typeParameters=Yd,_f}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(Bd)}checkCommaAfterRest(Bd){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===Bd?(this.next(),!1):super.checkCommaAfterRest(Bd)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(Bd,Yd){let _f=super.parseMaybeDefault(Bd,Yd);return _f.type==="AssignmentPattern"&&_f.typeAnnotation&&_f.right.start<_f.typeAnnotation.start&&this.raise(Jm.TypeAnnotationAfterAssign,_f.typeAnnotation),_f}getTokenFromCode(Bd){if(this.state.inType){if(Bd===62){this.finishOp(48,1);return}if(Bd===60){this.finishOp(47,1);return}}super.getTokenFromCode(Bd)}reScan_lt_gt(){let{type:Bd}=this.state;Bd===47?(this.state.pos-=1,this.readToken_lt()):Bd===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:Bd}=this.state;return Bd===51?(this.state.pos-=2,this.finishOp(47,1),47):Bd}toAssignableList(Bd,Yd,_f){for(let Nf=0;Nf<Bd.length;Nf++){let th=Bd[Nf];(th==null?void 0:th.type)==="TSTypeCastExpression"&&(Bd[Nf]=this.typeCastToParameter(th))}super.toAssignableList(Bd,Yd,_f)}typeCastToParameter(Bd){return Bd.expression.typeAnnotation=Bd.typeAnnotation,this.resetEndLocation(Bd.expression,Bd.typeAnnotation.loc.end),Bd.expression}shouldParseArrow(Bd){return this.match(14)?Bd.every(Yd=>this.isAssignable(Yd,!0)):super.shouldParseArrow(Bd)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(Bd){if(this.match(47)||this.match(51)){let Yd=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());Yd&&(Bd.typeParameters=Yd)}return super.jsxParseOpeningElementAfterName(Bd)}getGetterSetterExpectedParamCount(Bd){let Yd=super.getGetterSetterExpectedParamCount(Bd),_f=this.getObjectOrClassMethodParams(Bd)[0];return _f&&this.isThisParam(_f)?Yd+1:Yd}parseCatchClauseParam(){let Bd=super.parseCatchClauseParam(),Yd=this.tsTryParseTypeAnnotation();return Yd&&(Bd.typeAnnotation=Yd,this.resetEndLocation(Bd)),Bd}tsInAmbientContext(Bd){let{isAmbientContext:Yd,strict:_f}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return Bd()}finally{this.state.isAmbientContext=Yd,this.state.strict=_f}}parseClass(Bd,Yd,_f){let Nf=this.state.inAbstractClass;this.state.inAbstractClass=!!Bd.abstract;try{return super.parseClass(Bd,Yd,_f)}finally{this.state.inAbstractClass=Nf}}tsParseAbstractDeclaration(Bd,Yd){if(this.match(80))return Bd.abstract=!0,this.maybeTakeDecorators(Yd,this.parseClass(Bd,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return Bd.abstract=!0,this.raise(Jm.NonClassMethodPropertyHasAbstractModifer,Bd),this.tsParseInterfaceDeclaration(Bd)}else this.unexpected(null,80)}parseMethod(Bd,Yd,_f,Nf,th,bh,kh){let sm=super.parseMethod(Bd,Yd,_f,Nf,th,bh,kh);if(sm.abstract&&(this.hasPlugin("estree")?sm.value.body:sm.body)){let{key:Xh}=sm;this.raise(Jm.AbstractMethodHasImplementation,sm,{methodName:Xh.type==="Identifier"&&!sm.computed?Xh.name:`[${this.input.slice(Xh.start,Xh.end)}]`})}return sm}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(Bd,Yd,_f,Nf){return!Yd&&Nf?(this.parseTypeOnlyImportExportSpecifier(Bd,!1,_f),this.finishNode(Bd,"ExportSpecifier")):(Bd.exportKind="value",super.parseExportSpecifier(Bd,Yd,_f,Nf))}parseImportSpecifier(Bd,Yd,_f,Nf,th){return!Yd&&Nf?(this.parseTypeOnlyImportExportSpecifier(Bd,!0,_f),this.finishNode(Bd,"ImportSpecifier")):(Bd.importKind="value",super.parseImportSpecifier(Bd,Yd,_f,Nf,_f?4098:4096))}parseTypeOnlyImportExportSpecifier(Bd,Yd,_f){let Nf=Yd?"imported":"local",th=Yd?"local":"exported",bh=Bd[Nf],kh,sm=!1,Xh=!0,Fm=bh.loc.start;if(this.isContextual(93)){let l_=this.parseIdentifier();if(this.isContextual(93)){let d_=this.parseIdentifier();ch(this.state.type)?(sm=!0,bh=l_,kh=Yd?this.parseIdentifier():this.parseModuleExportName(),Xh=!1):(kh=d_,Xh=!1)}else ch(this.state.type)?(Xh=!1,kh=Yd?this.parseIdentifier():this.parseModuleExportName()):(sm=!0,bh=l_)}else ch(this.state.type)&&(sm=!0,Yd?(bh=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(bh.name,bh.loc.start,!0,!0)):bh=this.parseModuleExportName());sm&&_f&&this.raise(Yd?Jm.TypeModifierIsUsedInTypeImports:Jm.TypeModifierIsUsedInTypeExports,Fm),Bd[Nf]=bh,Bd[th]=kh;let Zm=Yd?"importKind":"exportKind";Bd[Zm]=sm?"type":"value",Xh&&this.eatContextual(93)&&(Bd[th]=Yd?this.parseIdentifier():this.parseModuleExportName()),Bd[th]||(Bd[th]=Ug(Bd[Nf])),Yd&&this.checkIdentifier(Bd[th],sm?4098:4096)}};function SE(zd){if(zd.type!=="MemberExpression")return!1;let{computed:Bd,property:Yd}=zd;return Bd&&Yd.type!=="StringLiteral"&&(Yd.type!=="TemplateLiteral"||Yd.expressions.length>0)?!1:Uv(zd.object)}function xE(zd,Bd){var Yd;let{type:_f}=zd;if((Yd=zd.extra)!=null&&Yd.parenthesized)return!1;if(Bd){if(_f==="Literal"){let{value:Nf}=zd;if(typeof Nf=="string"||typeof Nf=="boolean")return!0}}else if(_f==="StringLiteral"||_f==="BooleanLiteral")return!0;return!!(Y0(zd,Bd)||CE(zd,Bd)||_f==="TemplateLiteral"&&zd.expressions.length===0||SE(zd))}function Y0(zd,Bd){return Bd?zd.type==="Literal"&&(typeof zd.value=="number"||"bigint"in zd):zd.type==="NumericLiteral"||zd.type==="BigIntLiteral"}function CE(zd,Bd){if(zd.type==="UnaryExpression"){let{operator:Yd,argument:_f}=zd;if(Yd==="-"&&Y0(_f,Bd))return!0}return!1}function Uv(zd){return zd.type==="Identifier"?!0:zd.type!=="MemberExpression"||zd.computed?!1:Uv(zd.object)}var Z_=Fd`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),Hv=zd=>class extends zd{parsePlaceholder(Bd){if(this.match(144)){let Yd=this.startNode();return this.next(),this.assertNoSpace(),Yd.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(Yd,Bd)}}finishPlaceholder(Bd,Yd){let _f=Bd;return(!_f.expectedNode||!_f.type)&&(_f=this.finishNode(_f,"Placeholder")),_f.expectedNode=Yd,_f}getTokenFromCode(Bd){Bd===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(Bd)}parseExprAtom(Bd){return this.parsePlaceholder("Expression")||super.parseExprAtom(Bd)}parseIdentifier(Bd){return this.parsePlaceholder("Identifier")||super.parseIdentifier(Bd)}checkReservedWord(Bd,Yd,_f,Nf){Bd!==void 0&&super.checkReservedWord(Bd,Yd,_f,Nf)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(Bd,Yd,_f){return Bd==="Placeholder"||super.isValidLVal(Bd,Yd,_f)}toAssignable(Bd,Yd){Bd&&Bd.type==="Placeholder"&&Bd.expectedNode==="Expression"?Bd.expectedNode="Pattern":super.toAssignable(Bd,Yd)}chStartsBindingIdentifier(Bd,Yd){return!!(super.chStartsBindingIdentifier(Bd,Yd)||this.lookahead().type===144)}verifyBreakContinue(Bd,Yd){Bd.label&&Bd.label.type==="Placeholder"||super.verifyBreakContinue(Bd,Yd)}parseExpressionStatement(Bd,Yd){var _f;if(Yd.type!=="Placeholder"||(_f=Yd.extra)!=null&&_f.parenthesized)return super.parseExpressionStatement(Bd,Yd);if(this.match(14)){let th=Bd;return th.label=this.finishPlaceholder(Yd,"Identifier"),this.next(),th.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(th,"LabeledStatement")}this.semicolon();let Nf=Bd;return Nf.name=Yd.name,this.finishPlaceholder(Nf,"Statement")}parseBlock(Bd,Yd,_f){return this.parsePlaceholder("BlockStatement")||super.parseBlock(Bd,Yd,_f)}parseFunctionId(Bd){return this.parsePlaceholder("Identifier")||super.parseFunctionId(Bd)}parseClass(Bd,Yd,_f){let Nf=Yd?"ClassDeclaration":"ClassExpression";this.next();let th=this.state.strict,bh=this.parsePlaceholder("Identifier");if(bh)if(this.match(81)||this.match(144)||this.match(5))Bd.id=bh;else{if(_f||!Yd)return Bd.id=null,Bd.body=this.finishPlaceholder(bh,"ClassBody"),this.finishNode(Bd,Nf);throw this.raise(Z_.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(Bd,Yd,_f);return super.parseClassSuper(Bd),Bd.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!Bd.superClass,th),this.finishNode(Bd,Nf)}parseExport(Bd,Yd){let _f=this.parsePlaceholder("Identifier");if(!_f)return super.parseExport(Bd,Yd);let Nf=Bd;if(!this.isContextual(98)&&!this.match(12))return Nf.specifiers=[],Nf.source=null,Nf.declaration=this.finishPlaceholder(_f,"Declaration"),this.finishNode(Nf,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let th=this.startNode();return th.exported=_f,Nf.specifiers=[this.finishNode(th,"ExportDefaultSpecifier")],super.parseExport(Nf,Yd)}isExportDefaultSpecifier(){if(this.match(65)){let Bd=this.nextTokenStart();if(this.isUnparsedContextual(Bd,"from")&&this.input.startsWith(wh(144),this.nextTokenStartSince(Bd+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(Bd,Yd){var _f;return(_f=Bd.specifiers)!=null&&_f.length?!0:super.maybeParseExportDefaultSpecifier(Bd,Yd)}checkExport(Bd){let{specifiers:Yd}=Bd;Yd!=null&&Yd.length&&(Bd.specifiers=Yd.filter(_f=>_f.exported.type==="Placeholder")),super.checkExport(Bd),Bd.specifiers=Yd}parseImport(Bd){let Yd=this.parsePlaceholder("Identifier");if(!Yd)return super.parseImport(Bd);if(Bd.specifiers=[],!this.isContextual(98)&&!this.match(12))return Bd.source=this.finishPlaceholder(Yd,"StringLiteral"),this.semicolon(),this.finishNode(Bd,"ImportDeclaration");let _f=this.startNodeAtNode(Yd);return _f.local=Yd,Bd.specifiers.push(this.finishNode(_f,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(Bd)||this.parseNamedImportSpecifiers(Bd)),this.expectContextual(98),Bd.source=this.parseImportSource(),this.semicolon(),this.finishNode(Bd,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Z_.UnexpectedSpace,this.state.lastTokEndLoc)}},h0=zd=>class extends zd{parseV8Intrinsic(){if(this.match(54)){let Bd=this.state.startLoc,Yd=this.startNode();if(this.next(),qf(this.state.type)){let _f=this.parseIdentifierName(),Nf=this.createIdentifier(Yd,_f);if(Nf.type="V8IntrinsicIdentifier",this.match(10))return Nf}this.unexpected(Bd)}}parseExprAtom(Bd){return this.parseV8Intrinsic()||super.parseExprAtom(Bd)}};function _g(zd,Bd){let[Yd,_f]=typeof Bd=="string"?[Bd,{}]:Bd,Nf=Object.keys(_f),th=Nf.length===0;return zd.some(bh=>{if(typeof bh=="string")return th&&bh===Yd;{let[kh,sm]=bh;if(kh!==Yd)return!1;for(let Xh of Nf)if(sm[Xh]!==_f[Xh])return!1;return!0}})}function xb(zd,Bd,Yd){let _f=zd.find(Nf=>Array.isArray(Nf)?Nf[0]===Bd:Nf===Bd);return _f&&Array.isArray(_f)&&_f.length>1?_f[1][Yd]:null}var Ag=["minimal","fsharp","hack","smart"],K0=["^^","@@","^","%","#"];function Cb(zd){if(_g(zd,"decorators")){if(_g(zd,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let Bd=xb(zd,"decorators","decoratorsBeforeExport");if(Bd!=null&&typeof Bd!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let Yd=xb(zd,"decorators","allowCallParenthesized");if(Yd!=null&&typeof Yd!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(_g(zd,"flow")&&_g(zd,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(_g(zd,"placeholders")&&_g(zd,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(_g(zd,"pipelineOperator")){let Bd=xb(zd,"pipelineOperator","proposal");if(!Ag.includes(Bd)){let Nf=Ag.map(th=>`"${th}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${Nf}.`)}let Yd=["recordAndTuple",{syntaxType:"hash"}],_f=_g(zd,Yd);if(Bd==="hack"){if(_g(zd,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(_g(zd,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let Nf=xb(zd,"pipelineOperator","topicToken");if(!K0.includes(Nf)){let th=K0.map(bh=>`"${bh}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${th}.`)}if(Nf==="#"&&_f)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(Yd)}\`.`)}else if(Bd==="smart"&&_f)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(Yd)}\`.`)}if(_g(zd,"moduleAttributes")){if(_g(zd,"importAssertions")||_g(zd,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(xb(zd,"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(_g(zd,"importAssertions")&&_g(zd,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(_g(zd,"recordAndTuple")){let Bd=xb(zd,"recordAndTuple","syntaxType");if(Bd!=null){let Yd=["hash","bar"];if(!Yd.includes(Bd))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Yd.map(_f=>`'${_f}'`).join(", "))}}if(_g(zd,"asyncDoExpressions")&&!_g(zd,"doExpressions")){let Bd=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw Bd.missingPlugins="doExpressions",Bd}if(_g(zd,"optionalChainingAssign")&&xb(zd,"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 D0={estree:Vd,jsx:f0,flow:p0,typescript:jv,v8intrinsic:h0,placeholders:Hv},Jy=Object.keys(D0),Pb={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 AE(zd){if(zd==null)return Object.assign({},Pb);if(zd.annexB!=null&&zd.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let Bd={};for(let _f of Object.keys(Pb)){var Yd;Bd[_f]=(Yd=zd[_f])!=null?Yd:Pb[_f]}return Bd}var lb=class extends hT{checkProto(zd,Bd,Yd,_f){if(zd.type==="SpreadElement"||this.isObjectMethod(zd)||zd.computed||zd.shorthand)return;let Nf=zd.key;if((Nf.type==="Identifier"?Nf.name:Nf.value)==="__proto__"){if(Bd){this.raise(Md.RecordNoProto,Nf);return}Yd.used&&(_f?_f.doubleProtoLoc===null&&(_f.doubleProtoLoc=Nf.loc.start):this.raise(Md.DuplicateProto,Nf)),Yd.used=!0}}shouldExitDescending(zd,Bd){return zd.type==="ArrowFunctionExpression"&&zd.start===Bd}getExpression(){this.enterInitialScopes(),this.nextToken();let zd=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),zd.comments=this.comments,zd.errors=this.state.errors,this.options.tokens&&(zd.tokens=this.tokens),zd}parseExpression(zd,Bd){return zd?this.disallowInAnd(()=>this.parseExpressionBase(Bd)):this.allowInAnd(()=>this.parseExpressionBase(Bd))}parseExpressionBase(zd){let Bd=this.state.startLoc,Yd=this.parseMaybeAssign(zd);if(this.match(12)){let _f=this.startNodeAt(Bd);for(_f.expressions=[Yd];this.eat(12);)_f.expressions.push(this.parseMaybeAssign(zd));return this.toReferencedList(_f.expressions),this.finishNode(_f,"SequenceExpression")}return Yd}parseMaybeAssignDisallowIn(zd,Bd){return this.disallowInAnd(()=>this.parseMaybeAssign(zd,Bd))}parseMaybeAssignAllowIn(zd,Bd){return this.allowInAnd(()=>this.parseMaybeAssign(zd,Bd))}setOptionalParametersError(zd,Bd){var Yd;zd.optionalParametersLoc=(Yd=Bd==null?void 0:Bd.loc)!=null?Yd:this.state.startLoc}parseMaybeAssign(zd,Bd){let Yd=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let bh=this.parseYield();return Bd&&(bh=Bd.call(this,bh,Yd)),bh}let _f;zd?_f=!1:(zd=new jg,_f=!0);let{type:Nf}=this.state;(Nf===10||qf(Nf))&&(this.state.potentialArrowAt=this.state.start);let th=this.parseMaybeConditional(zd);if(Bd&&(th=Bd.call(this,th,Yd)),xh(this.state.type)){let bh=this.startNodeAt(Yd),kh=this.state.value;if(bh.operator=kh,this.match(29)){this.toAssignable(th,!0),bh.left=th;let sm=Yd.index;zd.doubleProtoLoc!=null&&zd.doubleProtoLoc.index>=sm&&(zd.doubleProtoLoc=null),zd.shorthandAssignLoc!=null&&zd.shorthandAssignLoc.index>=sm&&(zd.shorthandAssignLoc=null),zd.privateKeyLoc!=null&&zd.privateKeyLoc.index>=sm&&(this.checkDestructuringPrivate(zd),zd.privateKeyLoc=null)}else bh.left=th;return this.next(),bh.right=this.parseMaybeAssign(),this.checkLVal(th,{in:this.finishNode(bh,"AssignmentExpression")}),bh}else _f&&this.checkExpressionErrors(zd,!0);return th}parseMaybeConditional(zd){let Bd=this.state.startLoc,Yd=this.state.potentialArrowAt,_f=this.parseExprOps(zd);return this.shouldExitDescending(_f,Yd)?_f:this.parseConditional(_f,Bd,zd)}parseConditional(zd,Bd,Yd){if(this.eat(17)){let _f=this.startNodeAt(Bd);return _f.test=zd,_f.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),_f.alternate=this.parseMaybeAssign(),this.finishNode(_f,"ConditionalExpression")}return zd}parseMaybeUnaryOrPrivate(zd){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(zd)}parseExprOps(zd){let Bd=this.state.startLoc,Yd=this.state.potentialArrowAt,_f=this.parseMaybeUnaryOrPrivate(zd);return this.shouldExitDescending(_f,Yd)?_f:this.parseExprOp(_f,Bd,-1)}parseExprOp(zd,Bd,Yd){if(this.isPrivateName(zd)){let Nf=this.getPrivateNameSV(zd);(Yd>=fm(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(Md.PrivateInExpectedIn,zd,{identifierName:Nf}),this.classScope.usePrivateName(Nf,zd.loc.start)}let _f=this.state.type;if(Wf(_f)&&(this.prodParam.hasIn||!this.match(58))){let Nf=fm(_f);if(Nf>Yd){if(_f===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return zd;this.checkPipelineAtInfixOperator(zd,Bd)}let th=this.startNodeAt(Bd);th.left=zd,th.operator=this.state.value;let bh=_f===41||_f===42,kh=_f===40;if(kh&&(Nf=fm(42)),this.next(),_f===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(Md.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);th.right=this.parseExprOpRightExpr(_f,Nf);let sm=this.finishNode(th,bh||kh?"LogicalExpression":"BinaryExpression"),Xh=this.state.type;if(kh&&(Xh===41||Xh===42)||bh&&Xh===40)throw this.raise(Md.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(sm,Bd,Yd)}}return zd}parseExprOpRightExpr(zd,Bd){let Yd=this.state.startLoc;switch(zd){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(Md.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(zd,Bd),Yd)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(Bd))}default:return this.parseExprOpBaseRightExpr(zd,Bd)}}parseExprOpBaseRightExpr(zd,Bd){let Yd=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),Yd,Nm(zd)?Bd-1:Bd)}parseHackPipeBody(){var zd;let{startLoc:Bd}=this.state,Yd=this.parseMaybeAssign();return vd.has(Yd.type)&&!((zd=Yd.extra)!=null&&zd.parenthesized)&&this.raise(Md.PipeUnparenthesizedBody,Bd,{type:Yd.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(Md.PipeTopicUnused,Bd),Yd}checkExponentialAfterUnary(zd){this.match(57)&&this.raise(Md.UnexpectedTokenUnaryExponentiation,zd.argument)}parseMaybeUnary(zd,Bd){let Yd=this.state.startLoc,_f=this.isContextual(96);if(_f&&this.isAwaitAllowed()){this.next();let kh=this.parseAwait(Yd);return Bd||this.checkExponentialAfterUnary(kh),kh}let Nf=this.match(34),th=this.startNode();if(vh(this.state.type)){th.operator=this.state.value,th.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let kh=this.match(89);if(this.next(),th.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(zd,!0),this.state.strict&&kh){let sm=th.argument;sm.type==="Identifier"?this.raise(Md.StrictDelete,th):this.hasPropertyAsPrivateName(sm)&&this.raise(Md.DeletePrivateField,th)}if(!Nf)return Bd||this.checkExponentialAfterUnary(th),this.finishNode(th,"UnaryExpression")}let bh=this.parseUpdate(th,Nf,zd);if(_f){let{type:kh}=this.state;if((this.hasPlugin("v8intrinsic")?uh(kh):uh(kh)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(Md.AwaitNotInAsyncContext,Yd),this.parseAwait(Yd)}return bh}parseUpdate(zd,Bd,Yd){if(Bd){let th=zd;return this.checkLVal(th.argument,{in:this.finishNode(th,"UpdateExpression")}),zd}let _f=this.state.startLoc,Nf=this.parseExprSubscripts(Yd);if(this.checkExpressionErrors(Yd,!1))return Nf;for(;Th(this.state.type)&&!this.canInsertSemicolon();){let th=this.startNodeAt(_f);th.operator=this.state.value,th.prefix=!1,th.argument=Nf,this.next(),this.checkLVal(Nf,{in:Nf=this.finishNode(th,"UpdateExpression")})}return Nf}parseExprSubscripts(zd){let Bd=this.state.startLoc,Yd=this.state.potentialArrowAt,_f=this.parseExprAtom(zd);return this.shouldExitDescending(_f,Yd)?_f:this.parseSubscripts(_f,Bd)}parseSubscripts(zd,Bd,Yd){let _f={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(zd),stop:!1};do zd=this.parseSubscript(zd,Bd,Yd,_f),_f.maybeAsyncArrow=!1;while(!_f.stop);return zd}parseSubscript(zd,Bd,Yd,_f){let{type:Nf}=this.state;if(!Yd&&Nf===15)return this.parseBind(zd,Bd,Yd,_f);if(cm(Nf))return this.parseTaggedTemplateExpression(zd,Bd,_f);let th=!1;if(Nf===18){if(Yd&&(this.raise(Md.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return _f.stop=!0,zd;_f.optionalChainMember=th=!0,this.next()}if(!Yd&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(zd,Bd,_f,th);{let bh=this.eat(0);return bh||th||this.eat(16)?this.parseMember(zd,Bd,_f,bh,th):(_f.stop=!0,zd)}}parseMember(zd,Bd,Yd,_f,Nf){let th=this.startNodeAt(Bd);return th.object=zd,th.computed=_f,_f?(th.property=this.parseExpression(),this.expect(3)):this.match(138)?(zd.type==="Super"&&this.raise(Md.SuperPrivateField,Bd),this.classScope.usePrivateName(this.state.value,this.state.startLoc),th.property=this.parsePrivateName()):th.property=this.parseIdentifier(!0),Yd.optionalChainMember?(th.optional=Nf,this.finishNode(th,"OptionalMemberExpression")):this.finishNode(th,"MemberExpression")}parseBind(zd,Bd,Yd,_f){let Nf=this.startNodeAt(Bd);return Nf.object=zd,this.next(),Nf.callee=this.parseNoCallExpr(),_f.stop=!0,this.parseSubscripts(this.finishNode(Nf,"BindExpression"),Bd,Yd)}parseCoverCallAndAsyncArrowHead(zd,Bd,Yd,_f){let Nf=this.state.maybeInArrowParameters,th=null;this.state.maybeInArrowParameters=!0,this.next();let bh=this.startNodeAt(Bd);bh.callee=zd;let{maybeAsyncArrow:kh,optionalChainMember:sm}=Yd;kh&&(this.expressionScope.enter(rb()),th=new jg),sm&&(bh.optional=_f),_f?bh.arguments=this.parseCallExpressionArguments(11):bh.arguments=this.parseCallExpressionArguments(11,zd.type==="Import",zd.type!=="Super",bh,th);let Xh=this.finishCallExpression(bh,sm);return kh&&this.shouldParseAsyncArrow()&&!_f?(Yd.stop=!0,this.checkDestructuringPrivate(th),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),Xh=this.parseAsyncArrowFromCallExpression(this.startNodeAt(Bd),Xh)):(kh&&(this.checkExpressionErrors(th,!0),this.expressionScope.exit()),this.toReferencedArguments(Xh)),this.state.maybeInArrowParameters=Nf,Xh}toReferencedArguments(zd,Bd){this.toReferencedListDeep(zd.arguments,Bd)}parseTaggedTemplateExpression(zd,Bd,Yd){let _f=this.startNodeAt(Bd);return _f.tag=zd,_f.quasi=this.parseTemplate(!0),Yd.optionalChainMember&&this.raise(Md.OptionalChainingNoTemplate,Bd),this.finishNode(_f,"TaggedTemplateExpression")}atPossibleAsyncArrow(zd){return zd.type==="Identifier"&&zd.name==="async"&&this.state.lastTokEndLoc.index===zd.end&&!this.canInsertSemicolon()&&zd.end-zd.start===5&&zd.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(zd,Bd){if(zd.callee.type==="Import")if(zd.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),zd.arguments.length===0||zd.arguments.length>2)this.raise(Md.ImportCallArity,zd,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let Yd of zd.arguments)Yd.type==="SpreadElement"&&this.raise(Md.ImportCallSpreadArgument,Yd);return this.finishNode(zd,Bd?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(zd,Bd,Yd,_f,Nf){let th=[],bh=!0,kh=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(zd);){if(bh)bh=!1;else if(this.expect(12),this.match(zd)){Bd&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(Md.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),_f&&this.addTrailingCommaExtraToNode(_f),this.next();break}th.push(this.parseExprListItem(!1,Nf,Yd))}return this.state.inFSharpPipelineDirectBody=kh,th}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(zd,Bd){var Yd;return this.resetPreviousNodeTrailingComments(Bd),this.expect(19),this.parseArrowExpression(zd,Bd.arguments,!0,(Yd=Bd.extra)==null?void 0:Yd.trailingCommaLoc),Bd.innerComments&&$g(zd,Bd.innerComments),Bd.callee.trailingComments&&$g(zd,Bd.callee.trailingComments),zd}parseNoCallExpr(){let zd=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),zd,!0)}parseExprAtom(zd){let Bd,Yd=null,{type:_f}=this.state;switch(_f){case 79:return this.parseSuper();case 83:return Bd=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(Bd):this.match(10)?this.options.createImportExpressions?this.parseImportCall(Bd):this.finishNode(Bd,"Import"):(this.raise(Md.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(Bd,"Import"));case 78:return Bd=this.startNode(),this.next(),this.finishNode(Bd,"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 Nf=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(Nf)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,zd);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,zd);case 68:return this.parseFunctionOrFunctionSent();case 26:Yd=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(Yd,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{Bd=this.startNode(),this.next(),Bd.object=null;let Nf=Bd.callee=this.parseNoCallExpr();if(Nf.type==="MemberExpression")return this.finishNode(Bd,"BindExpression");throw this.raise(Md.UnsupportedBind,Nf)}case 138:return this.raise(Md.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 Nf=this.getPluginOption("pipelineOperator","proposal");if(Nf)return this.parseTopicReference(Nf);this.unexpected();break}case 47:{let Nf=this.input.codePointAt(this.nextTokenStart());Zh(Nf)||Nf===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(qf(_f)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let Nf=this.state.potentialArrowAt===this.state.start,th=this.state.containsEsc,bh=this.parseIdentifier();if(!th&&bh.name==="async"&&!this.canInsertSemicolon()){let{type:kh}=this.state;if(kh===68)return this.resetPreviousNodeTrailingComments(bh),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(bh));if(qf(kh))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(bh)):bh;if(kh===90)return this.resetPreviousNodeTrailingComments(bh),this.parseDo(this.startNodeAtNode(bh),!0)}return Nf&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(bh),[bh],!1)):bh}else this.unexpected()}}parseTopicReferenceThenEqualsSign(zd,Bd){let Yd=this.getPluginOption("pipelineOperator","proposal");if(Yd)return this.state.type=zd,this.state.value=Bd,this.state.pos--,this.state.end--,this.state.endLoc=ld(this.state.endLoc,-1),this.parseTopicReference(Yd);this.unexpected()}parseTopicReference(zd){let Bd=this.startNode(),Yd=this.state.startLoc,_f=this.state.type;return this.next(),this.finishTopicReference(Bd,Yd,zd,_f)}finishTopicReference(zd,Bd,Yd,_f){if(this.testTopicReferenceConfiguration(Yd,Bd,_f)){let Nf=Yd==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(Yd==="smart"?Md.PrimaryTopicNotAllowed:Md.PipeTopicUnbound,Bd),this.registerTopicReference(),this.finishNode(zd,Nf)}else throw this.raise(Md.PipeTopicUnconfiguredToken,Bd,{token:wh(_f)})}testTopicReferenceConfiguration(zd,Bd,Yd){switch(zd){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:wh(Yd)}]);case"smart":return Yd===27;default:throw this.raise(Md.PipeTopicRequiresHackPipes,Bd)}}parseAsyncArrowUnaryFunction(zd){this.prodParam.enter(nb(!0,this.prodParam.hasYield));let Bd=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(Md.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(zd,Bd,!0)}parseDo(zd,Bd){this.expectPlugin("doExpressions"),Bd&&this.expectPlugin("asyncDoExpressions"),zd.async=Bd,this.next();let Yd=this.state.labels;return this.state.labels=[],Bd?(this.prodParam.enter(2),zd.body=this.parseBlock(),this.prodParam.exit()):zd.body=this.parseBlock(),this.state.labels=Yd,this.finishNode(zd,"DoExpression")}parseSuper(){let zd=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(Md.SuperNotAllowed,zd):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(Md.UnexpectedSuper,zd),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(Md.UnsupportedSuper,zd),this.finishNode(zd,"Super")}parsePrivateName(){let zd=this.startNode(),Bd=this.startNodeAt(ld(this.state.startLoc,1)),Yd=this.state.value;return this.next(),zd.id=this.createIdentifier(Bd,Yd),this.finishNode(zd,"PrivateName")}parseFunctionOrFunctionSent(){let zd=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let Bd=this.createIdentifier(this.startNodeAtNode(zd),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(zd,Bd,"sent")}return this.parseFunction(zd)}parseMetaProperty(zd,Bd,Yd){zd.meta=Bd;let _f=this.state.containsEsc;return zd.property=this.parseIdentifier(!0),(zd.property.name!==Yd||_f)&&this.raise(Md.UnsupportedMetaProperty,zd.property,{target:Bd.name,onlyValidPropertyName:Yd}),this.finishNode(zd,"MetaProperty")}parseImportMetaProperty(zd){let Bd=this.createIdentifier(this.startNodeAtNode(zd),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(Md.ImportMetaOutsideModule,Bd),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let Yd=this.isContextual(105);if(Yd||this.unexpected(),this.expectPlugin(Yd?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(Md.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),zd.phase=Yd?"source":"defer",this.parseImportCall(zd)}return this.parseMetaProperty(zd,Bd,"meta")}parseLiteralAtNode(zd,Bd,Yd){return this.addExtra(Yd,"rawValue",zd),this.addExtra(Yd,"raw",this.input.slice(Yd.start,this.state.end)),Yd.value=zd,this.next(),this.finishNode(Yd,Bd)}parseLiteral(zd,Bd){let Yd=this.startNode();return this.parseLiteralAtNode(zd,Bd,Yd)}parseStringLiteral(zd){return this.parseLiteral(zd,"StringLiteral")}parseNumericLiteral(zd){return this.parseLiteral(zd,"NumericLiteral")}parseBigIntLiteral(zd){return this.parseLiteral(zd,"BigIntLiteral")}parseDecimalLiteral(zd){return this.parseLiteral(zd,"DecimalLiteral")}parseRegExpLiteral(zd){let Bd=this.startNode();return this.addExtra(Bd,"raw",this.input.slice(Bd.start,this.state.end)),Bd.pattern=zd.pattern,Bd.flags=zd.flags,this.next(),this.finishNode(Bd,"RegExpLiteral")}parseBooleanLiteral(zd){let Bd=this.startNode();return Bd.value=zd,this.next(),this.finishNode(Bd,"BooleanLiteral")}parseNullLiteral(){let zd=this.startNode();return this.next(),this.finishNode(zd,"NullLiteral")}parseParenAndDistinguishExpression(zd){let Bd=this.state.startLoc,Yd;this.next(),this.expressionScope.enter(Cg());let _f=this.state.maybeInArrowParameters,Nf=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let th=this.state.startLoc,bh=[],kh=new jg,sm=!0,Xh,Fm;for(;!this.match(11);){if(sm)sm=!1;else if(this.expect(12,kh.optionalParametersLoc===null?null:kh.optionalParametersLoc),this.match(11)){Fm=this.state.startLoc;break}if(this.match(21)){let d_=this.state.startLoc;if(Xh=this.state.startLoc,bh.push(this.parseParenItem(this.parseRestBinding(),d_)),!this.checkCommaAfterRest(41))break}else bh.push(this.parseMaybeAssignAllowIn(kh,this.parseParenItem))}let Zm=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=_f,this.state.inFSharpPipelineDirectBody=Nf;let l_=this.startNodeAt(Bd);return zd&&this.shouldParseArrow(bh)&&(l_=this.parseArrow(l_))?(this.checkDestructuringPrivate(kh),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(l_,bh,!1),l_):(this.expressionScope.exit(),bh.length||this.unexpected(this.state.lastTokStartLoc),Fm&&this.unexpected(Fm),Xh&&this.unexpected(Xh),this.checkExpressionErrors(kh,!0),this.toReferencedListDeep(bh,!0),bh.length>1?(Yd=this.startNodeAt(th),Yd.expressions=bh,this.finishNode(Yd,"SequenceExpression"),this.resetEndLocation(Yd,Zm)):Yd=bh[0],this.wrapParenthesis(Bd,Yd))}wrapParenthesis(zd,Bd){if(!this.options.createParenthesizedExpressions)return this.addExtra(Bd,"parenthesized",!0),this.addExtra(Bd,"parenStart",zd.index),this.takeSurroundingComments(Bd,zd.index,this.state.lastTokEndLoc.index),Bd;let Yd=this.startNodeAt(zd);return Yd.expression=Bd,this.finishNode(Yd,"ParenthesizedExpression")}shouldParseArrow(zd){return!this.canInsertSemicolon()}parseArrow(zd){if(this.eat(19))return zd}parseParenItem(zd,Bd){return zd}parseNewOrNewTarget(){let zd=this.startNode();if(this.next(),this.match(16)){let Bd=this.createIdentifier(this.startNodeAtNode(zd),"new");this.next();let Yd=this.parseMetaProperty(zd,Bd,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(Md.UnexpectedNewTarget,Yd),Yd}return this.parseNew(zd)}parseNew(zd){if(this.parseNewCallee(zd),this.eat(10)){let Bd=this.parseExprList(11);this.toReferencedList(Bd),zd.arguments=Bd}else zd.arguments=[];return this.finishNode(zd,"NewExpression")}parseNewCallee(zd){let Bd=this.match(83),Yd=this.parseNoCallExpr();zd.callee=Yd,Bd&&(Yd.type==="Import"||Yd.type==="ImportExpression")&&this.raise(Md.ImportCallNotNewExpression,Yd)}parseTemplateElement(zd){let{start:Bd,startLoc:Yd,end:_f,value:Nf}=this.state,th=Bd+1,bh=this.startNodeAt(ld(Yd,1));Nf===null&&(zd||this.raise(Md.InvalidEscapeSequenceTemplate,ld(this.state.firstInvalidTemplateEscapePos,1)));let kh=this.match(24),sm=kh?-1:-2,Xh=_f+sm;bh.value={raw:this.input.slice(th,Xh).replace(/\r\n?/g,`
|
||
`),cooked:Nf===null?null:Nf.slice(1,sm)},bh.tail=kh,this.next();let Fm=this.finishNode(bh,"TemplateElement");return this.resetEndLocation(Fm,ld(this.state.lastTokEndLoc,sm)),Fm}parseTemplate(zd){let Bd=this.startNode(),Yd=this.parseTemplateElement(zd),_f=[Yd],Nf=[];for(;!Yd.tail;)Nf.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),_f.push(Yd=this.parseTemplateElement(zd));return Bd.expressions=Nf,Bd.quasis=_f,this.finishNode(Bd,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(zd,Bd,Yd,_f){Yd&&this.expectPlugin("recordAndTuple");let Nf=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let th=Object.create(null),bh=!0,kh=this.startNode();for(kh.properties=[],this.next();!this.match(zd);){if(bh)bh=!1;else if(this.expect(12),this.match(zd)){this.addTrailingCommaExtraToNode(kh);break}let Xh;Bd?Xh=this.parseBindingProperty():(Xh=this.parsePropertyDefinition(_f),this.checkProto(Xh,Yd,th,_f)),Yd&&!this.isObjectProperty(Xh)&&Xh.type!=="SpreadElement"&&this.raise(Md.InvalidRecordProperty,Xh),Xh.shorthand&&this.addExtra(Xh,"shorthand",!0),kh.properties.push(Xh)}this.next(),this.state.inFSharpPipelineDirectBody=Nf;let sm="ObjectExpression";return Bd?sm="ObjectPattern":Yd&&(sm="RecordExpression"),this.finishNode(kh,sm)}addTrailingCommaExtraToNode(zd){this.addExtra(zd,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(zd,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(zd){return!zd.computed&&zd.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(zd){let Bd=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(Md.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)Bd.push(this.parseDecorator());let Yd=this.startNode(),_f=!1,Nf=!1,th;if(this.match(21))return Bd.length&&this.unexpected(),this.parseSpread();Bd.length&&(Yd.decorators=Bd,Bd=[]),Yd.method=!1,zd&&(th=this.state.startLoc);let bh=this.eat(55);this.parsePropertyNamePrefixOperator(Yd);let kh=this.state.containsEsc;if(this.parsePropertyName(Yd,zd),!bh&&!kh&&this.maybeAsyncOrAccessorProp(Yd)){let{key:sm}=Yd,Xh=sm.name;Xh==="async"&&!this.hasPrecedingLineBreak()&&(_f=!0,this.resetPreviousNodeTrailingComments(sm),bh=this.eat(55),this.parsePropertyName(Yd)),(Xh==="get"||Xh==="set")&&(Nf=!0,this.resetPreviousNodeTrailingComments(sm),Yd.kind=Xh,this.match(55)&&(bh=!0,this.raise(Md.AccessorIsGenerator,this.state.curPosition(),{kind:Xh}),this.next()),this.parsePropertyName(Yd))}return this.parseObjPropValue(Yd,th,bh,_f,!1,Nf,zd)}getGetterSetterExpectedParamCount(zd){return zd.kind==="get"?0:1}getObjectOrClassMethodParams(zd){return zd.params}checkGetterSetterParams(zd){var Bd;let Yd=this.getGetterSetterExpectedParamCount(zd),_f=this.getObjectOrClassMethodParams(zd);_f.length!==Yd&&this.raise(zd.kind==="get"?Md.BadGetterArity:Md.BadSetterArity,zd),zd.kind==="set"&&((Bd=_f[_f.length-1])==null?void 0:Bd.type)==="RestElement"&&this.raise(Md.BadSetterRestParameter,zd)}parseObjectMethod(zd,Bd,Yd,_f,Nf){if(Nf){let th=this.parseMethod(zd,Bd,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(th),th}if(Yd||Bd||this.match(10))return _f&&this.unexpected(),zd.kind="method",zd.method=!0,this.parseMethod(zd,Bd,Yd,!1,!1,"ObjectMethod")}parseObjectProperty(zd,Bd,Yd,_f){if(zd.shorthand=!1,this.eat(14))return zd.value=Yd?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(_f),this.finishNode(zd,"ObjectProperty");if(!zd.computed&&zd.key.type==="Identifier"){if(this.checkReservedWord(zd.key.name,zd.key.loc.start,!0,!1),Yd)zd.value=this.parseMaybeDefault(Bd,Ug(zd.key));else if(this.match(29)){let Nf=this.state.startLoc;_f!=null?_f.shorthandAssignLoc===null&&(_f.shorthandAssignLoc=Nf):this.raise(Md.InvalidCoverInitializedName,Nf),zd.value=this.parseMaybeDefault(Bd,Ug(zd.key))}else zd.value=Ug(zd.key);return zd.shorthand=!0,this.finishNode(zd,"ObjectProperty")}}parseObjPropValue(zd,Bd,Yd,_f,Nf,th,bh){let kh=this.parseObjectMethod(zd,Yd,_f,Nf,th)||this.parseObjectProperty(zd,Bd,Nf,bh);return kh||this.unexpected(),kh}parsePropertyName(zd,Bd){if(this.eat(0))zd.computed=!0,zd.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:Yd,value:_f}=this.state,Nf;if(ch(Yd))Nf=this.parseIdentifier(!0);else switch(Yd){case 134:Nf=this.parseNumericLiteral(_f);break;case 133:Nf=this.parseStringLiteral(_f);break;case 135:Nf=this.parseBigIntLiteral(_f);break;case 136:Nf=this.parseDecimalLiteral(_f);break;case 138:{let th=this.state.startLoc;Bd!=null?Bd.privateKeyLoc===null&&(Bd.privateKeyLoc=th):this.raise(Md.UnexpectedPrivateField,th),Nf=this.parsePrivateName();break}default:this.unexpected()}zd.key=Nf,Yd!==138&&(zd.computed=!1)}}initFunction(zd,Bd){zd.id=null,zd.generator=!1,zd.async=Bd}parseMethod(zd,Bd,Yd,_f,Nf,th,bh=!1){this.initFunction(zd,Yd),zd.generator=Bd,this.scope.enter(18|(bh?64:0)|(Nf?32:0)),this.prodParam.enter(nb(Yd,zd.generator)),this.parseFunctionParams(zd,_f);let kh=this.parseFunctionBodyAndFinish(zd,th,!0);return this.prodParam.exit(),this.scope.exit(),kh}parseArrayLike(zd,Bd,Yd,_f){Yd&&this.expectPlugin("recordAndTuple");let Nf=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let th=this.startNode();return this.next(),th.elements=this.parseExprList(zd,!Yd,_f,th),this.state.inFSharpPipelineDirectBody=Nf,this.finishNode(th,Yd?"TupleExpression":"ArrayExpression")}parseArrowExpression(zd,Bd,Yd,_f){this.scope.enter(6);let Nf=nb(Yd,!1);!this.match(5)&&this.prodParam.hasIn&&(Nf|=8),this.prodParam.enter(Nf),this.initFunction(zd,Yd);let th=this.state.maybeInArrowParameters;return Bd&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(zd,Bd,_f)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(zd,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=th,this.finishNode(zd,"ArrowFunctionExpression")}setArrowFunctionParameters(zd,Bd,Yd){this.toAssignableList(Bd,Yd,!1),zd.params=Bd}parseFunctionBodyAndFinish(zd,Bd,Yd=!1){return this.parseFunctionBody(zd,!1,Yd),this.finishNode(zd,Bd)}parseFunctionBody(zd,Bd,Yd=!1){let _f=Bd&&!this.match(5);if(this.expressionScope.enter(Eb()),_f)zd.body=this.parseMaybeAssign(),this.checkParams(zd,!1,Bd,!1);else{let Nf=this.state.strict,th=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),zd.body=this.parseBlock(!0,!1,bh=>{let kh=!this.isSimpleParamList(zd.params);bh&&kh&&this.raise(Md.IllegalLanguageModeDirective,(zd.kind==="method"||zd.kind==="constructor")&&zd.key?zd.key.loc.end:zd);let sm=!Nf&&this.state.strict;this.checkParams(zd,!this.state.strict&&!Bd&&!Yd&&!kh,Bd,sm),this.state.strict&&zd.id&&this.checkIdentifier(zd.id,65,sm)}),this.prodParam.exit(),this.state.labels=th}this.expressionScope.exit()}isSimpleParameter(zd){return zd.type==="Identifier"}isSimpleParamList(zd){for(let Bd=0,Yd=zd.length;Bd<Yd;Bd++)if(!this.isSimpleParameter(zd[Bd]))return!1;return!0}checkParams(zd,Bd,Yd,_f=!0){let Nf=!Bd&&new Set,th={type:"FormalParameters"};for(let bh of zd.params)this.checkLVal(bh,{in:th,binding:5,checkClashes:Nf,strictModeChanged:_f})}parseExprList(zd,Bd,Yd,_f){let Nf=[],th=!0;for(;!this.eat(zd);){if(th)th=!1;else if(this.expect(12),this.match(zd)){_f&&this.addTrailingCommaExtraToNode(_f),this.next();break}Nf.push(this.parseExprListItem(Bd,Yd))}return Nf}parseExprListItem(zd,Bd,Yd){let _f;if(this.match(12))zd||this.raise(Md.UnexpectedToken,this.state.curPosition(),{unexpected:","}),_f=null;else if(this.match(21)){let Nf=this.state.startLoc;_f=this.parseParenItem(this.parseSpread(Bd),Nf)}else if(this.match(17)){this.expectPlugin("partialApplication"),Yd||this.raise(Md.UnexpectedArgumentPlaceholder,this.state.startLoc);let Nf=this.startNode();this.next(),_f=this.finishNode(Nf,"ArgumentPlaceholder")}else _f=this.parseMaybeAssignAllowIn(Bd,this.parseParenItem);return _f}parseIdentifier(zd){let Bd=this.startNode(),Yd=this.parseIdentifierName(zd);return this.createIdentifier(Bd,Yd)}createIdentifier(zd,Bd){return zd.name=Bd,zd.loc.identifierName=Bd,this.finishNode(zd,"Identifier")}parseIdentifierName(zd){let Bd,{startLoc:Yd,type:_f}=this.state;ch(_f)?Bd=this.state.value:this.unexpected();let Nf=eh(_f);return zd?Nf&&this.replaceToken(132):this.checkReservedWord(Bd,Yd,Nf,!1),this.next(),Bd}checkReservedWord(zd,Bd,Yd,_f){if(!(zd.length>10||!L_(zd))){if(Yd&&M_(zd)){this.raise(Md.UnexpectedKeyword,Bd,{keyword:zd});return}if((this.state.strict?_f?x_:b_:s_)(zd,this.inModule)){this.raise(Md.UnexpectedReservedWord,Bd,{reservedWord:zd});return}else if(zd==="yield"){if(this.prodParam.hasYield){this.raise(Md.YieldBindingIdentifier,Bd);return}}else if(zd==="await"){if(this.prodParam.hasAwait){this.raise(Md.AwaitBindingIdentifier,Bd);return}if(this.scope.inStaticBlock){this.raise(Md.AwaitBindingIdentifierInStaticBlock,Bd);return}this.expressionScope.recordAsyncArrowParametersError(Bd)}else if(zd==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(Md.ArgumentsInClass,Bd);return}}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(zd){let Bd=this.startNodeAt(zd);return this.expressionScope.recordParameterInitializerError(Md.AwaitExpressionFormalParameter,Bd),this.eat(55)&&this.raise(Md.ObsoleteAwaitStar,Bd),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(Bd.argument=this.parseMaybeUnary(null,!0)),this.finishNode(Bd,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:zd}=this.state;return zd===53||zd===10||zd===0||cm(zd)||zd===102&&!this.state.containsEsc||zd===137||zd===56||this.hasPlugin("v8intrinsic")&&zd===54}parseYield(){let zd=this.startNode();this.expressionScope.recordParameterInitializerError(Md.YieldInParameter,zd),this.next();let Bd=!1,Yd=null;if(!this.hasPrecedingLineBreak())switch(Bd=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!Bd)break;default:Yd=this.parseMaybeAssign()}return zd.delegate=Bd,zd.argument=Yd,this.finishNode(zd,"YieldExpression")}parseImportCall(zd){return this.next(),zd.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(zd.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(zd.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(zd,"ImportExpression")}checkPipelineAtInfixOperator(zd,Bd){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&zd.type==="SequenceExpression"&&this.raise(Md.PipelineHeadSequenceExpression,Bd)}parseSmartPipelineBodyInStyle(zd,Bd){if(this.isSimpleReference(zd)){let Yd=this.startNodeAt(Bd);return Yd.callee=zd,this.finishNode(Yd,"PipelineBareFunction")}else{let Yd=this.startNodeAt(Bd);return this.checkSmartPipeTopicBodyEarlyErrors(Bd),Yd.expression=zd,this.finishNode(Yd,"PipelineTopicExpression")}}isSimpleReference(zd){switch(zd.type){case"MemberExpression":return!zd.computed&&this.isSimpleReference(zd.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(zd){if(this.match(19))throw this.raise(Md.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(Md.PipelineTopicUnused,zd)}withTopicBindingContext(zd){let Bd=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return zd()}finally{this.state.topicContext=Bd}}withSmartMixTopicForbiddingContext(zd){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let Bd=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return zd()}finally{this.state.topicContext=Bd}}else return zd()}withSoloAwaitPermittingContext(zd){let Bd=this.state.soloAwait;this.state.soloAwait=!0;try{return zd()}finally{this.state.soloAwait=Bd}}allowInAnd(zd){let Bd=this.prodParam.currentFlags();if(8&~Bd){this.prodParam.enter(Bd|8);try{return zd()}finally{this.prodParam.exit()}}return zd()}disallowInAnd(zd){let Bd=this.prodParam.currentFlags();if(8&Bd){this.prodParam.enter(Bd&-9);try{return zd()}finally{this.prodParam.exit()}}return zd()}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(zd){let Bd=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let Yd=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let _f=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),Bd,zd);return this.state.inFSharpPipelineDirectBody=Yd,_f}parseModuleExpression(){this.expectPlugin("moduleBlocks");let zd=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let Bd=this.startNodeAt(this.state.endLoc);this.next();let Yd=this.initializeScopes(!0);this.enterInitialScopes();try{zd.body=this.parseProgram(Bd,8,"module")}finally{Yd()}return this.finishNode(zd,"ModuleExpression")}parsePropertyNamePrefixOperator(zd){}},Gv={kind:1},fb={kind:2},DE=/[\uD800-\uDFFF]/u,X0=/in(?:stanceof)?/y;function Zb(zd,Bd){for(let Yd=0;Yd<zd.length;Yd++){let _f=zd[Yd],{type:Nf}=_f;if(typeof Nf=="number"){{if(Nf===138){let{loc:th,start:bh,value:kh,end:sm}=_f,Xh=bh+1,Fm=ld(th.start,1);zd.splice(Yd,1,new hh({type:Sm(27),value:"#",start:bh,end:Xh,startLoc:th.start,endLoc:Fm}),new hh({type:Sm(132),value:kh,start:Xh,end:sm,startLoc:Fm,endLoc:th.end})),Yd++;continue}if(cm(Nf)){let{loc:th,start:bh,value:kh,end:sm}=_f,Xh=bh+1,Fm=ld(th.start,1),Zm;Bd.charCodeAt(bh)===96?Zm=new hh({type:Sm(22),value:"`",start:bh,end:Xh,startLoc:th.start,endLoc:Fm}):Zm=new hh({type:Sm(8),value:"}",start:bh,end:Xh,startLoc:th.start,endLoc:Fm});let l_,d_,w_,Eg;Nf===24?(d_=sm-1,w_=ld(th.end,-1),l_=kh===null?null:kh.slice(1,-1),Eg=new hh({type:Sm(22),value:"`",start:d_,end:sm,startLoc:w_,endLoc:th.end})):(d_=sm-2,w_=ld(th.end,-2),l_=kh===null?null:kh.slice(1,-2),Eg=new hh({type:Sm(23),value:"${",start:d_,end:sm,startLoc:w_,endLoc:th.end})),zd.splice(Yd,1,Zm,new hh({type:Sm(20),value:l_,start:Xh,end:d_,startLoc:Fm,endLoc:w_}),Eg),Yd+=2;continue}}_f.type=Sm(Nf)}}return zd}var Zy=class extends lb{parseTopLevel(zd,Bd){return zd.program=this.parseProgram(Bd),zd.comments=this.comments,this.options.tokens&&(zd.tokens=Zb(this.tokens,this.input)),this.finishNode(zd,"File")}parseProgram(zd,Bd=139,Yd=this.options.sourceType){if(zd.sourceType=Yd,zd.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(zd,!0,!0,Bd),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[Nf,th]of Array.from(this.scope.undefinedExports))this.raise(Md.ModuleExportUndefined,th,{localName:Nf});let _f;return Bd===139?_f=this.finishNode(zd,"Program"):_f=this.finishNodeAt(zd,"Program",ld(this.state.startLoc,-1)),_f}stmtToDirective(zd){let Bd=zd;Bd.type="Directive",Bd.value=Bd.expression,delete Bd.expression;let Yd=Bd.value,_f=Yd.value,Nf=this.input.slice(Yd.start,Yd.end),th=Yd.value=Nf.slice(1,-1);return this.addExtra(Yd,"raw",Nf),this.addExtra(Yd,"rawValue",th),this.addExtra(Yd,"expressionValue",_f),Yd.type="DirectiveLiteral",Bd}parseInterpreterDirective(){if(!this.match(28))return null;let zd=this.startNode();return zd.value=this.state.value,this.next(),this.finishNode(zd,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(zd,Bd){if(Zh(zd)){if(X0.lastIndex=Bd,X0.test(this.input)){let Yd=this.codePointAtPos(X0.lastIndex);if(!_m(Yd)&&Yd!==92)return!1}return!0}else return zd===92}chStartsBindingPattern(zd){return zd===91||zd===123}hasFollowingBindingAtom(){let zd=this.nextTokenStart(),Bd=this.codePointAtPos(zd);return this.chStartsBindingPattern(Bd)||this.chStartsBindingIdentifier(Bd,zd)}hasInLineFollowingBindingIdentifierOrBrace(){let zd=this.nextTokenInLineStart(),Bd=this.codePointAtPos(zd);return Bd===123||this.chStartsBindingIdentifier(Bd,zd)}startsUsingForOf(){let{type:zd,containsEsc:Bd}=this.lookahead();if(zd===102&&!Bd)return!1;if(qf(zd)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let zd=this.nextTokenInLineStart();if(this.isUnparsedContextual(zd,"using")){zd=this.nextTokenInLineStartSince(zd+5);let Bd=this.codePointAtPos(zd);if(this.chStartsBindingIdentifier(Bd,zd))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(zd=!1){let Bd=0;return this.options.annexB&&!this.state.strict&&(Bd|=4,zd&&(Bd|=8)),this.parseStatementLike(Bd)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(zd){let Bd=null;return this.match(26)&&(Bd=this.parseDecorators(!0)),this.parseStatementContent(zd,Bd)}parseStatementContent(zd,Bd){let Yd=this.state.type,_f=this.startNode(),Nf=!!(zd&2),th=!!(zd&4),bh=zd&1;switch(Yd){case 60:return this.parseBreakContinueStatement(_f,!0);case 63:return this.parseBreakContinueStatement(_f,!1);case 64:return this.parseDebuggerStatement(_f);case 90:return this.parseDoWhileStatement(_f);case 91:return this.parseForStatement(_f);case 68:if(this.lookaheadCharCode()===46)break;return th||this.raise(this.state.strict?Md.StrictFunction:this.options.annexB?Md.SloppyFunctionAnnexB:Md.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(_f,!1,!Nf&&th);case 80:return Nf||this.unexpected(),this.parseClass(this.maybeTakeDecorators(Bd,_f),!0);case 69:return this.parseIfStatement(_f);case 70:return this.parseReturnStatement(_f);case 71:return this.parseSwitchStatement(_f);case 72:return this.parseThrowStatement(_f);case 73:return this.parseTryStatement(_f);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?Nf||this.raise(Md.UnexpectedLexicalDeclaration,_f):this.raise(Md.AwaitUsingNotInAsyncContext,_f),this.next(),this.parseVarStatement(_f,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(Md.UnexpectedUsingDeclaration,this.state.startLoc):Nf||this.raise(Md.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(_f,"using");case 100:{if(this.state.containsEsc)break;let Xh=this.nextTokenStart(),Fm=this.codePointAtPos(Xh);if(Fm!==91&&(!Nf&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(Fm,Xh)&&Fm!==123))break}case 75:Nf||this.raise(Md.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let Xh=this.state.value;return this.parseVarStatement(_f,Xh)}case 92:return this.parseWhileStatement(_f);case 76:return this.parseWithStatement(_f);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(_f);case 83:{let Xh=this.lookaheadCharCode();if(Xh===40||Xh===46)break}case 82:{!this.options.allowImportExportEverywhere&&!bh&&this.raise(Md.UnexpectedImportExport,this.state.startLoc),this.next();let Xh;return Yd===83?(Xh=this.parseImport(_f),Xh.type==="ImportDeclaration"&&(!Xh.importKind||Xh.importKind==="value")&&(this.sawUnambiguousESM=!0)):(Xh=this.parseExport(_f,Bd),(Xh.type==="ExportNamedDeclaration"&&(!Xh.exportKind||Xh.exportKind==="value")||Xh.type==="ExportAllDeclaration"&&(!Xh.exportKind||Xh.exportKind==="value")||Xh.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(Xh),Xh}default:if(this.isAsyncFunction())return Nf||this.raise(Md.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(_f,!0,!Nf&&th)}let kh=this.state.value,sm=this.parseExpression();return qf(Yd)&&sm.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(_f,kh,sm,zd):this.parseExpressionStatement(_f,sm,Bd)}assertModuleNodeAllowed(zd){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(Md.ImportOutsideModule,zd)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(zd,Bd,Yd){return zd&&(Bd.decorators&&Bd.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(Md.DecoratorsBeforeAfterExport,Bd.decorators[0]),Bd.decorators.unshift(...zd)):Bd.decorators=zd,this.resetStartLocationFromNode(Bd,zd[0]),Yd&&this.resetStartLocationFromNode(Yd,Bd)),Bd}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(zd){let Bd=[];do Bd.push(this.parseDecorator());while(this.match(26));if(this.match(82))zd||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(Md.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(Md.UnexpectedLeadingDecorator,this.state.startLoc);return Bd}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let zd=this.startNode();if(this.next(),this.hasPlugin("decorators")){let Bd=this.state.startLoc,Yd;if(this.match(10)){let _f=this.state.startLoc;this.next(),Yd=this.parseExpression(),this.expect(11),Yd=this.wrapParenthesis(_f,Yd);let Nf=this.state.startLoc;zd.expression=this.parseMaybeDecoratorArguments(Yd),this.getPluginOption("decorators","allowCallParenthesized")===!1&&zd.expression!==Yd&&this.raise(Md.DecoratorArgumentsOutsideParentheses,Nf)}else{for(Yd=this.parseIdentifier(!1);this.eat(16);){let _f=this.startNodeAt(Bd);_f.object=Yd,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),_f.property=this.parsePrivateName()):_f.property=this.parseIdentifier(!0),_f.computed=!1,Yd=this.finishNode(_f,"MemberExpression")}zd.expression=this.parseMaybeDecoratorArguments(Yd)}}else zd.expression=this.parseExprSubscripts();return this.finishNode(zd,"Decorator")}parseMaybeDecoratorArguments(zd){if(this.eat(10)){let Bd=this.startNodeAtNode(zd);return Bd.callee=zd,Bd.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(Bd.arguments),this.finishNode(Bd,"CallExpression")}return zd}parseBreakContinueStatement(zd,Bd){return this.next(),this.isLineTerminator()?zd.label=null:(zd.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(zd,Bd),this.finishNode(zd,Bd?"BreakStatement":"ContinueStatement")}verifyBreakContinue(zd,Bd){let Yd;for(Yd=0;Yd<this.state.labels.length;++Yd){let _f=this.state.labels[Yd];if((zd.label==null||_f.name===zd.label.name)&&(_f.kind!=null&&(Bd||_f.kind===1)||zd.label&&Bd))break}if(Yd===this.state.labels.length){let _f=Bd?"BreakStatement":"ContinueStatement";this.raise(Md.IllegalBreakContinue,zd,{type:_f})}}parseDebuggerStatement(zd){return this.next(),this.semicolon(),this.finishNode(zd,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let zd=this.parseExpression();return this.expect(11),zd}parseDoWhileStatement(zd){return this.next(),this.state.labels.push(Gv),zd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),zd.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(zd,"DoWhileStatement")}parseForStatement(zd){this.next(),this.state.labels.push(Gv);let Bd=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(Bd=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return Bd!==null&&this.unexpected(Bd),this.parseFor(zd,null);let Yd=this.isContextual(100);{let kh=this.isContextual(96)&&this.startsAwaitUsing(),sm=kh||this.isContextual(107)&&this.startsUsingForOf(),Xh=Yd&&this.hasFollowingBindingAtom()||sm;if(this.match(74)||this.match(75)||Xh){let Fm=this.startNode(),Zm;kh?(Zm="await using",this.isAwaitAllowed()||this.raise(Md.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):Zm=this.state.value,this.next(),this.parseVar(Fm,!0,Zm);let l_=this.finishNode(Fm,"VariableDeclaration"),d_=this.match(58);return d_&&sm&&this.raise(Md.ForInUsing,l_),(d_||this.isContextual(102))&&l_.declarations.length===1?this.parseForIn(zd,l_,Bd):(Bd!==null&&this.unexpected(Bd),this.parseFor(zd,l_))}}let _f=this.isContextual(95),Nf=new jg,th=this.parseExpression(!0,Nf),bh=this.isContextual(102);if(bh&&(Yd&&this.raise(Md.ForOfLet,th),Bd===null&&_f&&th.type==="Identifier"&&this.raise(Md.ForOfAsync,th)),bh||this.match(58)){this.checkDestructuringPrivate(Nf),this.toAssignable(th,!0);let kh=bh?"ForOfStatement":"ForInStatement";return this.checkLVal(th,{in:{type:kh}}),this.parseForIn(zd,th,Bd)}else this.checkExpressionErrors(Nf,!0);return Bd!==null&&this.unexpected(Bd),this.parseFor(zd,th)}parseFunctionStatement(zd,Bd,Yd){return this.next(),this.parseFunction(zd,1|(Yd?2:0)|(Bd?8:0))}parseIfStatement(zd){return this.next(),zd.test=this.parseHeaderExpression(),zd.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),zd.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(zd,"IfStatement")}parseReturnStatement(zd){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(Md.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?zd.argument=null:(zd.argument=this.parseExpression(),this.semicolon()),this.finishNode(zd,"ReturnStatement")}parseSwitchStatement(zd){this.next(),zd.discriminant=this.parseHeaderExpression();let Bd=zd.cases=[];this.expect(5),this.state.labels.push(fb),this.scope.enter(0);let Yd;for(let _f;!this.match(8);)if(this.match(61)||this.match(65)){let Nf=this.match(61);Yd&&this.finishNode(Yd,"SwitchCase"),Bd.push(Yd=this.startNode()),Yd.consequent=[],this.next(),Nf?Yd.test=this.parseExpression():(_f&&this.raise(Md.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),_f=!0,Yd.test=null),this.expect(14)}else Yd?Yd.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),Yd&&this.finishNode(Yd,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(zd,"SwitchStatement")}parseThrowStatement(zd){return this.next(),this.hasPrecedingLineBreak()&&this.raise(Md.NewlineAfterThrow,this.state.lastTokEndLoc),zd.argument=this.parseExpression(),this.semicolon(),this.finishNode(zd,"ThrowStatement")}parseCatchClauseParam(){let zd=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&zd.type==="Identifier"?8:0),this.checkLVal(zd,{in:{type:"CatchClause"},binding:9}),zd}parseTryStatement(zd){if(this.next(),zd.block=this.parseBlock(),zd.handler=null,this.match(62)){let Bd=this.startNode();this.next(),this.match(10)?(this.expect(10),Bd.param=this.parseCatchClauseParam(),this.expect(11)):(Bd.param=null,this.scope.enter(0)),Bd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),zd.handler=this.finishNode(Bd,"CatchClause")}return zd.finalizer=this.eat(67)?this.parseBlock():null,!zd.handler&&!zd.finalizer&&this.raise(Md.NoCatchOrFinally,zd),this.finishNode(zd,"TryStatement")}parseVarStatement(zd,Bd,Yd=!1){return this.next(),this.parseVar(zd,!1,Bd,Yd),this.semicolon(),this.finishNode(zd,"VariableDeclaration")}parseWhileStatement(zd){return this.next(),zd.test=this.parseHeaderExpression(),this.state.labels.push(Gv),zd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(zd,"WhileStatement")}parseWithStatement(zd){return this.state.strict&&this.raise(Md.StrictWith,this.state.startLoc),this.next(),zd.object=this.parseHeaderExpression(),zd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(zd,"WithStatement")}parseEmptyStatement(zd){return this.next(),this.finishNode(zd,"EmptyStatement")}parseLabeledStatement(zd,Bd,Yd,_f){for(let th of this.state.labels)th.name===Bd&&this.raise(Md.LabelRedeclaration,Yd,{labelName:Bd});let Nf=wf(this.state.type)?1:this.match(71)?2:null;for(let th=this.state.labels.length-1;th>=0;th--){let bh=this.state.labels[th];if(bh.statementStart===zd.start)bh.statementStart=this.state.start,bh.kind=Nf;else break}return this.state.labels.push({name:Bd,kind:Nf,statementStart:this.state.start}),zd.body=_f&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),zd.label=Yd,this.finishNode(zd,"LabeledStatement")}parseExpressionStatement(zd,Bd,Yd){return zd.expression=Bd,this.semicolon(),this.finishNode(zd,"ExpressionStatement")}parseBlock(zd=!1,Bd=!0,Yd){let _f=this.startNode();return zd&&this.state.strictErrors.clear(),this.expect(5),Bd&&this.scope.enter(0),this.parseBlockBody(_f,zd,!1,8,Yd),Bd&&this.scope.exit(),this.finishNode(_f,"BlockStatement")}isValidDirective(zd){return zd.type==="ExpressionStatement"&&zd.expression.type==="StringLiteral"&&!zd.expression.extra.parenthesized}parseBlockBody(zd,Bd,Yd,_f,Nf){let th=zd.body=[],bh=zd.directives=[];this.parseBlockOrModuleBlockBody(th,Bd?bh:void 0,Yd,_f,Nf)}parseBlockOrModuleBlockBody(zd,Bd,Yd,_f,Nf){let th=this.state.strict,bh=!1,kh=!1;for(;!this.match(_f);){let sm=Yd?this.parseModuleItem():this.parseStatementListItem();if(Bd&&!kh){if(this.isValidDirective(sm)){let Xh=this.stmtToDirective(sm);Bd.push(Xh),!bh&&Xh.value.value==="use strict"&&(bh=!0,this.setStrict(!0));continue}kh=!0,this.state.strictErrors.clear()}zd.push(sm)}Nf==null||Nf.call(this,bh),th||this.setStrict(!1),this.next()}parseFor(zd,Bd){return zd.init=Bd,this.semicolon(!1),zd.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),zd.update=this.match(11)?null:this.parseExpression(),this.expect(11),zd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(zd,"ForStatement")}parseForIn(zd,Bd,Yd){let _f=this.match(58);return this.next(),_f?Yd!==null&&this.unexpected(Yd):zd.await=Yd!==null,Bd.type==="VariableDeclaration"&&Bd.declarations[0].init!=null&&(!_f||!this.options.annexB||this.state.strict||Bd.kind!=="var"||Bd.declarations[0].id.type!=="Identifier")&&this.raise(Md.ForInOfLoopInitializer,Bd,{type:_f?"ForInStatement":"ForOfStatement"}),Bd.type==="AssignmentPattern"&&this.raise(Md.InvalidLhs,Bd,{ancestor:{type:"ForStatement"}}),zd.left=Bd,zd.right=_f?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),zd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(zd,_f?"ForInStatement":"ForOfStatement")}parseVar(zd,Bd,Yd,_f=!1){let Nf=zd.declarations=[];for(zd.kind=Yd;;){let th=this.startNode();if(this.parseVarId(th,Yd),th.init=this.eat(29)?Bd?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,th.init===null&&!_f&&(th.id.type!=="Identifier"&&!(Bd&&(this.match(58)||this.isContextual(102)))?this.raise(Md.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(Yd==="const"||Yd==="using"||Yd==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(Md.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:Yd})),Nf.push(this.finishNode(th,"VariableDeclarator")),!this.eat(12))break}return zd}parseVarId(zd,Bd){let Yd=this.parseBindingAtom();(Bd==="using"||Bd==="await using")&&(Yd.type==="ArrayPattern"||Yd.type==="ObjectPattern")&&this.raise(Md.UsingDeclarationHasBindingPattern,Yd.loc.start),this.checkLVal(Yd,{in:{type:"VariableDeclarator"},binding:Bd==="var"?5:8201}),zd.id=Yd}parseAsyncFunctionExpression(zd){return this.parseFunction(zd,8)}parseFunction(zd,Bd=0){let Yd=Bd&2,_f=!!(Bd&1),Nf=_f&&!(Bd&4),th=!!(Bd&8);this.initFunction(zd,th),this.match(55)&&(Yd&&this.raise(Md.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),zd.generator=!0),_f&&(zd.id=this.parseFunctionId(Nf));let bh=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(nb(th,zd.generator)),_f||(zd.id=this.parseFunctionId()),this.parseFunctionParams(zd,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(zd,_f?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),_f&&!Yd&&this.registerFunctionStatementId(zd),this.state.maybeInArrowParameters=bh,zd}parseFunctionId(zd){return zd||qf(this.state.type)?this.parseIdentifier():null}parseFunctionParams(zd,Bd){this.expect(10),this.expressionScope.enter(og()),zd.params=this.parseBindingList(11,41,2|(Bd?4:0)),this.expressionScope.exit()}registerFunctionStatementId(zd){zd.id&&this.scope.declareName(zd.id.name,!this.options.annexB||this.state.strict||zd.generator||zd.async?this.scope.treatFunctionsAsVar?5:8201:17,zd.id.loc.start)}parseClass(zd,Bd,Yd){this.next();let _f=this.state.strict;return this.state.strict=!0,this.parseClassId(zd,Bd,Yd),this.parseClassSuper(zd),zd.body=this.parseClassBody(!!zd.superClass,_f),this.finishNode(zd,Bd?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(zd){return zd.type==="Identifier"&&zd.name==="constructor"||zd.type==="StringLiteral"&&zd.value==="constructor"}isNonstaticConstructor(zd){return!zd.computed&&!zd.static&&this.nameIsConstructor(zd.key)}parseClassBody(zd,Bd){this.classScope.enter();let Yd={hadConstructor:!1,hadSuperClass:zd},_f=[],Nf=this.startNode();if(Nf.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(_f.length>0)throw this.raise(Md.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){_f.push(this.parseDecorator());continue}let th=this.startNode();_f.length&&(th.decorators=_f,this.resetStartLocationFromNode(th,_f[0]),_f=[]),this.parseClassMember(Nf,th,Yd),th.kind==="constructor"&&th.decorators&&th.decorators.length>0&&this.raise(Md.DecoratorConstructor,th)}}),this.state.strict=Bd,this.next(),_f.length)throw this.raise(Md.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(Nf,"ClassBody")}parseClassMemberFromModifier(zd,Bd){let Yd=this.parseIdentifier(!0);if(this.isClassMethod()){let _f=Bd;return _f.kind="method",_f.computed=!1,_f.key=Yd,_f.static=!1,this.pushClassMethod(zd,_f,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let _f=Bd;return _f.computed=!1,_f.key=Yd,_f.static=!1,zd.body.push(this.parseClassProperty(_f)),!0}return this.resetPreviousNodeTrailingComments(Yd),!1}parseClassMember(zd,Bd,Yd){let _f=this.isContextual(106);if(_f){if(this.parseClassMemberFromModifier(zd,Bd))return;if(this.eat(5)){this.parseClassStaticBlock(zd,Bd);return}}this.parseClassMemberWithIsStatic(zd,Bd,Yd,_f)}parseClassMemberWithIsStatic(zd,Bd,Yd,_f){let Nf=Bd,th=Bd,bh=Bd,kh=Bd,sm=Bd,Xh=Nf,Fm=Nf;if(Bd.static=_f,this.parsePropertyNamePrefixOperator(Bd),this.eat(55)){Xh.kind="method";let U_=this.match(138);if(this.parseClassElementName(Xh),U_){this.pushClassPrivateMethod(zd,th,!0,!1);return}this.isNonstaticConstructor(Nf)&&this.raise(Md.ConstructorIsGenerator,Nf.key),this.pushClassMethod(zd,Nf,!0,!1,!1,!1);return}let Zm=!this.state.containsEsc&&qf(this.state.type),l_=this.parseClassElementName(Bd),d_=Zm?l_.name:null,w_=this.isPrivateName(l_),Eg=this.state.startLoc;if(this.parsePostMemberNameModifiers(Fm),this.isClassMethod()){if(Xh.kind="method",w_){this.pushClassPrivateMethod(zd,th,!1,!1);return}let U_=this.isNonstaticConstructor(Nf),K_=!1;U_&&(Nf.kind="constructor",Yd.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(Md.DuplicateConstructor,l_),U_&&this.hasPlugin("typescript")&&Bd.override&&this.raise(Md.OverrideOnConstructor,l_),Yd.hadConstructor=!0,K_=Yd.hadSuperClass),this.pushClassMethod(zd,Nf,!1,!1,U_,K_)}else if(this.isClassProperty())w_?this.pushClassPrivateProperty(zd,kh):this.pushClassProperty(zd,bh);else if(d_==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(l_);let U_=this.eat(55);Fm.optional&&this.unexpected(Eg),Xh.kind="method";let K_=this.match(138);this.parseClassElementName(Xh),this.parsePostMemberNameModifiers(Fm),K_?this.pushClassPrivateMethod(zd,th,U_,!0):(this.isNonstaticConstructor(Nf)&&this.raise(Md.ConstructorIsAsync,Nf.key),this.pushClassMethod(zd,Nf,U_,!0,!1,!1))}else if((d_==="get"||d_==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(l_),Xh.kind=d_;let U_=this.match(138);this.parseClassElementName(Nf),U_?this.pushClassPrivateMethod(zd,th,!1,!1):(this.isNonstaticConstructor(Nf)&&this.raise(Md.ConstructorIsAccessor,Nf.key),this.pushClassMethod(zd,Nf,!1,!1,!1,!1)),this.checkGetterSetterParams(Nf)}else if(d_==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(l_);let U_=this.match(138);this.parseClassElementName(bh),this.pushClassAccessorProperty(zd,sm,U_)}else this.isLineTerminator()?w_?this.pushClassPrivateProperty(zd,kh):this.pushClassProperty(zd,bh):this.unexpected()}parseClassElementName(zd){let{type:Bd,value:Yd}=this.state;if((Bd===132||Bd===133)&&zd.static&&Yd==="prototype"&&this.raise(Md.StaticPrototype,this.state.startLoc),Bd===138){Yd==="constructor"&&this.raise(Md.ConstructorClassPrivateField,this.state.startLoc);let _f=this.parsePrivateName();return zd.key=_f,_f}return this.parsePropertyName(zd),zd.key}parseClassStaticBlock(zd,Bd){var Yd;this.scope.enter(208);let _f=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let Nf=Bd.body=[];this.parseBlockOrModuleBlockBody(Nf,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=_f,zd.body.push(this.finishNode(Bd,"StaticBlock")),(Yd=Bd.decorators)!=null&&Yd.length&&this.raise(Md.DecoratorStaticBlock,Bd)}pushClassProperty(zd,Bd){!Bd.computed&&this.nameIsConstructor(Bd.key)&&this.raise(Md.ConstructorClassField,Bd.key),zd.body.push(this.parseClassProperty(Bd))}pushClassPrivateProperty(zd,Bd){let Yd=this.parseClassPrivateProperty(Bd);zd.body.push(Yd),this.classScope.declarePrivateName(this.getPrivateNameSV(Yd.key),0,Yd.key.loc.start)}pushClassAccessorProperty(zd,Bd,Yd){!Yd&&!Bd.computed&&this.nameIsConstructor(Bd.key)&&this.raise(Md.ConstructorClassField,Bd.key);let _f=this.parseClassAccessorProperty(Bd);zd.body.push(_f),Yd&&this.classScope.declarePrivateName(this.getPrivateNameSV(_f.key),0,_f.key.loc.start)}pushClassMethod(zd,Bd,Yd,_f,Nf,th){zd.body.push(this.parseMethod(Bd,Yd,_f,Nf,th,"ClassMethod",!0))}pushClassPrivateMethod(zd,Bd,Yd,_f){let Nf=this.parseMethod(Bd,Yd,_f,!1,!1,"ClassPrivateMethod",!0);zd.body.push(Nf);let th=Nf.kind==="get"?Nf.static?6:2:Nf.kind==="set"?Nf.static?5:1:0;this.declareClassPrivateMethodInScope(Nf,th)}declareClassPrivateMethodInScope(zd,Bd){this.classScope.declarePrivateName(this.getPrivateNameSV(zd.key),Bd,zd.key.loc.start)}parsePostMemberNameModifiers(zd){}parseClassPrivateProperty(zd){return this.parseInitializer(zd),this.semicolon(),this.finishNode(zd,"ClassPrivateProperty")}parseClassProperty(zd){return this.parseInitializer(zd),this.semicolon(),this.finishNode(zd,"ClassProperty")}parseClassAccessorProperty(zd){return this.parseInitializer(zd),this.semicolon(),this.finishNode(zd,"ClassAccessorProperty")}parseInitializer(zd){this.scope.enter(80),this.expressionScope.enter(Eb()),this.prodParam.enter(0),zd.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(zd,Bd,Yd,_f=8331){if(qf(this.state.type))zd.id=this.parseIdentifier(),Bd&&this.declareNameFromIdentifier(zd.id,_f);else if(Yd||!Bd)zd.id=null;else throw this.raise(Md.MissingClassName,this.state.startLoc)}parseClassSuper(zd){zd.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(zd,Bd){let Yd=this.parseMaybeImportPhase(zd,!0),_f=this.maybeParseExportDefaultSpecifier(zd,Yd),Nf=!_f||this.eat(12),th=Nf&&this.eatExportStar(zd),bh=th&&this.maybeParseExportNamespaceSpecifier(zd),kh=Nf&&(!bh||this.eat(12)),sm=_f||th;if(th&&!bh){if(_f&&this.unexpected(),Bd)throw this.raise(Md.UnsupportedDecoratorExport,zd);return this.parseExportFrom(zd,!0),this.finishNode(zd,"ExportAllDeclaration")}let Xh=this.maybeParseExportNamedSpecifiers(zd);_f&&Nf&&!th&&!Xh&&this.unexpected(null,5),bh&&kh&&this.unexpected(null,98);let Fm;if(sm||Xh){if(Fm=!1,Bd)throw this.raise(Md.UnsupportedDecoratorExport,zd);this.parseExportFrom(zd,sm)}else Fm=this.maybeParseExportDeclaration(zd);if(sm||Xh||Fm){var Zm;let l_=zd;if(this.checkExport(l_,!0,!1,!!l_.source),((Zm=l_.declaration)==null?void 0:Zm.type)==="ClassDeclaration")this.maybeTakeDecorators(Bd,l_.declaration,l_);else if(Bd)throw this.raise(Md.UnsupportedDecoratorExport,zd);return this.finishNode(l_,"ExportNamedDeclaration")}if(this.eat(65)){let l_=zd,d_=this.parseExportDefaultExpression();if(l_.declaration=d_,d_.type==="ClassDeclaration")this.maybeTakeDecorators(Bd,d_,l_);else if(Bd)throw this.raise(Md.UnsupportedDecoratorExport,zd);return this.checkExport(l_,!0,!0),this.finishNode(l_,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(zd){return this.eat(55)}maybeParseExportDefaultSpecifier(zd,Bd){if(Bd||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",Bd==null?void 0:Bd.loc.start);let Yd=Bd||this.parseIdentifier(!0),_f=this.startNodeAtNode(Yd);return _f.exported=Yd,zd.specifiers=[this.finishNode(_f,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(zd){if(this.isContextual(93)){var Bd;(Bd=zd).specifiers!=null||(Bd.specifiers=[]);let Yd=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),Yd.exported=this.parseModuleExportName(),zd.specifiers.push(this.finishNode(Yd,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(zd){if(this.match(5)){let Bd=zd;Bd.specifiers||(Bd.specifiers=[]);let Yd=Bd.exportKind==="type";return Bd.specifiers.push(...this.parseExportSpecifiers(Yd)),Bd.source=null,Bd.declaration=null,this.hasPlugin("importAssertions")&&(Bd.assertions=[]),!0}return!1}maybeParseExportDeclaration(zd){return this.shouldParseExportDeclaration()?(zd.specifiers=[],zd.source=null,this.hasPlugin("importAssertions")&&(zd.assertions=[]),zd.declaration=this.parseExportDeclaration(zd),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let zd=this.nextTokenInLineStart();return this.isUnparsedContextual(zd,"function")}parseExportDefaultExpression(){let zd=this.startNode();if(this.match(68))return this.next(),this.parseFunction(zd,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(zd,13);if(this.match(80))return this.parseClass(zd,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(Md.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(Md.UnsupportedDefaultExport,this.state.startLoc);let Bd=this.parseMaybeAssignAllowIn();return this.semicolon(),Bd}parseExportDeclaration(zd){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:zd}=this.state;if(qf(zd)){if(zd===95&&!this.state.containsEsc||zd===100)return!1;if((zd===130||zd===129)&&!this.state.containsEsc){let{type:_f}=this.lookahead();if(qf(_f)&&_f!==98||_f===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let Bd=this.nextTokenStart(),Yd=this.isUnparsedContextual(Bd,"from");if(this.input.charCodeAt(Bd)===44||qf(this.state.type)&&Yd)return!0;if(this.match(65)&&Yd){let _f=this.input.charCodeAt(this.nextTokenStartSince(Bd+4));return _f===34||_f===39}return!1}parseExportFrom(zd,Bd){this.eatContextual(98)?(zd.source=this.parseImportSource(),this.checkExport(zd),this.maybeParseImportAttributes(zd),this.checkJSONModuleImport(zd)):Bd&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:zd}=this.state;return zd===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(Md.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(Md.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(Md.UsingDeclarationExport,this.state.startLoc),!0):zd===74||zd===75||zd===68||zd===80||this.isLet()||this.isAsyncFunction()}checkExport(zd,Bd,Yd,_f){if(Bd){var Nf;if(Yd){if(this.checkDuplicateExports(zd,"default"),this.hasPlugin("exportDefaultFrom")){var th;let bh=zd.declaration;bh.type==="Identifier"&&bh.name==="from"&&bh.end-bh.start===4&&!((th=bh.extra)!=null&&th.parenthesized)&&this.raise(Md.ExportDefaultFromAsIdentifier,bh)}}else if((Nf=zd.specifiers)!=null&&Nf.length)for(let bh of zd.specifiers){let{exported:kh}=bh,sm=kh.type==="Identifier"?kh.name:kh.value;if(this.checkDuplicateExports(bh,sm),!_f&&bh.local){let{local:Xh}=bh;Xh.type!=="Identifier"?this.raise(Md.ExportBindingIsString,bh,{localName:Xh.value,exportName:sm}):(this.checkReservedWord(Xh.name,Xh.loc.start,!0,!1),this.scope.checkLocalExport(Xh))}}else if(zd.declaration){let bh=zd.declaration;if(bh.type==="FunctionDeclaration"||bh.type==="ClassDeclaration"){let{id:kh}=bh;if(!kh)throw new Error("Assertion failure");this.checkDuplicateExports(zd,kh.name)}else if(bh.type==="VariableDeclaration")for(let kh of bh.declarations)this.checkDeclaration(kh.id)}}}checkDeclaration(zd){if(zd.type==="Identifier")this.checkDuplicateExports(zd,zd.name);else if(zd.type==="ObjectPattern")for(let Bd of zd.properties)this.checkDeclaration(Bd);else if(zd.type==="ArrayPattern")for(let Bd of zd.elements)Bd&&this.checkDeclaration(Bd);else zd.type==="ObjectProperty"?this.checkDeclaration(zd.value):zd.type==="RestElement"?this.checkDeclaration(zd.argument):zd.type==="AssignmentPattern"&&this.checkDeclaration(zd.left)}checkDuplicateExports(zd,Bd){this.exportedIdentifiers.has(Bd)&&(Bd==="default"?this.raise(Md.DuplicateDefaultExport,zd):this.raise(Md.DuplicateExport,zd,{exportName:Bd})),this.exportedIdentifiers.add(Bd)}parseExportSpecifiers(zd){let Bd=[],Yd=!0;for(this.expect(5);!this.eat(8);){if(Yd)Yd=!1;else if(this.expect(12),this.eat(8))break;let _f=this.isContextual(130),Nf=this.match(133),th=this.startNode();th.local=this.parseModuleExportName(),Bd.push(this.parseExportSpecifier(th,Nf,zd,_f))}return Bd}parseExportSpecifier(zd,Bd,Yd,_f){return this.eatContextual(93)?zd.exported=this.parseModuleExportName():Bd?zd.exported=Sb(zd.local):zd.exported||(zd.exported=Ug(zd.local)),this.finishNode(zd,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){let zd=this.parseStringLiteral(this.state.value),Bd=DE.exec(zd.value);return Bd&&this.raise(Md.ModuleExportNameHasLoneSurrogate,zd,{surrogateCharCode:Bd[0].charCodeAt(0)}),zd}return this.parseIdentifier(!0)}isJSONModuleImport(zd){return zd.assertions!=null?zd.assertions.some(({key:Bd,value:Yd})=>Yd.value==="json"&&(Bd.type==="Identifier"?Bd.name==="type":Bd.value==="type")):!1}checkImportReflection(zd){let{specifiers:Bd}=zd,Yd=Bd.length===1?Bd[0].type:null;if(zd.phase==="source")Yd!=="ImportDefaultSpecifier"&&this.raise(Md.SourcePhaseImportRequiresDefault,Bd[0].loc.start);else if(zd.phase==="defer")Yd!=="ImportNamespaceSpecifier"&&this.raise(Md.DeferImportRequiresNamespace,Bd[0].loc.start);else if(zd.module){var _f;Yd!=="ImportDefaultSpecifier"&&this.raise(Md.ImportReflectionNotBinding,Bd[0].loc.start),((_f=zd.assertions)==null?void 0:_f.length)>0&&this.raise(Md.ImportReflectionHasAssertion,Bd[0].loc.start)}}checkJSONModuleImport(zd){if(this.isJSONModuleImport(zd)&&zd.type!=="ExportAllDeclaration"){let{specifiers:Bd}=zd;if(Bd!=null){let Yd=Bd.find(_f=>{let Nf;if(_f.type==="ExportSpecifier"?Nf=_f.local:_f.type==="ImportSpecifier"&&(Nf=_f.imported),Nf!==void 0)return Nf.type==="Identifier"?Nf.name!=="default":Nf.value!=="default"});Yd!==void 0&&this.raise(Md.ImportJSONBindingNotDefault,Yd.loc.start)}}}isPotentialImportPhase(zd){return zd?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(zd,Bd,Yd,_f){Bd||(Yd==="module"?(this.expectPlugin("importReflection",_f),zd.module=!0):this.hasPlugin("importReflection")&&(zd.module=!1),Yd==="source"?(this.expectPlugin("sourcePhaseImports",_f),zd.phase="source"):Yd==="defer"?(this.expectPlugin("deferredImportEvaluation",_f),zd.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(zd.phase=null))}parseMaybeImportPhase(zd,Bd){if(!this.isPotentialImportPhase(Bd))return this.applyImportPhase(zd,Bd,null),null;let Yd=this.parseIdentifier(!0),{type:_f}=this.state;return(ch(_f)?_f!==98||this.lookaheadCharCode()===102:_f!==12)?(this.resetPreviousIdentifierLeadingComments(Yd),this.applyImportPhase(zd,Bd,Yd.name,Yd.loc.start),null):(this.applyImportPhase(zd,Bd,null),Yd)}isPrecedingIdImportPhase(zd){let{type:Bd}=this.state;return qf(Bd)?Bd!==98||this.lookaheadCharCode()===102:Bd!==12}parseImport(zd){return this.match(133)?this.parseImportSourceAndAttributes(zd):this.parseImportSpecifiersAndAfter(zd,this.parseMaybeImportPhase(zd,!1))}parseImportSpecifiersAndAfter(zd,Bd){zd.specifiers=[];let Yd=!this.maybeParseDefaultImportSpecifier(zd,Bd)||this.eat(12),_f=Yd&&this.maybeParseStarImportSpecifier(zd);return Yd&&!_f&&this.parseNamedImportSpecifiers(zd),this.expectContextual(98),this.parseImportSourceAndAttributes(zd)}parseImportSourceAndAttributes(zd){return zd.specifiers!=null||(zd.specifiers=[]),zd.source=this.parseImportSource(),this.maybeParseImportAttributes(zd),this.checkImportReflection(zd),this.checkJSONModuleImport(zd),this.semicolon(),this.finishNode(zd,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(zd,Bd,Yd){Bd.local=this.parseIdentifier(),zd.specifiers.push(this.finishImportSpecifier(Bd,Yd))}finishImportSpecifier(zd,Bd,Yd=8201){return this.checkLVal(zd.local,{in:{type:Bd},binding:Yd}),this.finishNode(zd,Bd)}parseImportAttributes(){this.expect(5);let zd=[],Bd=new Set;do{if(this.match(8))break;let Yd=this.startNode(),_f=this.state.value;if(Bd.has(_f)&&this.raise(Md.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:_f}),Bd.add(_f),this.match(133)?Yd.key=this.parseStringLiteral(_f):Yd.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(Md.ModuleAttributeInvalidValue,this.state.startLoc);Yd.value=this.parseStringLiteral(this.state.value),zd.push(this.finishNode(Yd,"ImportAttribute"))}while(this.eat(12));return this.expect(8),zd}parseModuleAttributes(){let zd=[],Bd=new Set;do{let Yd=this.startNode();if(Yd.key=this.parseIdentifier(!0),Yd.key.name!=="type"&&this.raise(Md.ModuleAttributeDifferentFromType,Yd.key),Bd.has(Yd.key.name)&&this.raise(Md.ModuleAttributesWithDuplicateKeys,Yd.key,{key:Yd.key.name}),Bd.add(Yd.key.name),this.expect(14),!this.match(133))throw this.raise(Md.ModuleAttributeInvalidValue,this.state.startLoc);Yd.value=this.parseStringLiteral(this.state.value),zd.push(this.finishNode(Yd,"ImportAttribute"))}while(this.eat(12));return zd}maybeParseImportAttributes(zd){let Bd,Yd=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?Bd=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),Bd=this.parseImportAttributes()),Yd=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(Md.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(zd,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),Bd=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))Bd=[];else if(this.hasPlugin("moduleAttributes"))Bd=[];else return;!Yd&&this.hasPlugin("importAssertions")?zd.assertions=Bd:zd.attributes=Bd}maybeParseDefaultImportSpecifier(zd,Bd){if(Bd){let Yd=this.startNodeAtNode(Bd);return Yd.local=Bd,zd.specifiers.push(this.finishImportSpecifier(Yd,"ImportDefaultSpecifier")),!0}else if(ch(this.state.type))return this.parseImportSpecifierLocal(zd,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(zd){if(this.match(55)){let Bd=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(zd,Bd,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(zd){let Bd=!0;for(this.expect(5);!this.eat(8);){if(Bd)Bd=!1;else{if(this.eat(14))throw this.raise(Md.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let Yd=this.startNode(),_f=this.match(133),Nf=this.isContextual(130);Yd.imported=this.parseModuleExportName();let th=this.parseImportSpecifier(Yd,_f,zd.importKind==="type"||zd.importKind==="typeof",Nf,void 0);zd.specifiers.push(th)}}parseImportSpecifier(zd,Bd,Yd,_f,Nf){if(this.eatContextual(93))zd.local=this.parseIdentifier();else{let{imported:th}=zd;if(Bd)throw this.raise(Md.ImportBindingIsString,zd,{importName:th.value});this.checkReservedWord(th.name,zd.loc.start,!0,!0),zd.local||(zd.local=Ug(th))}return this.finishImportSpecifier(zd,"ImportSpecifier",Nf)}isThisParam(zd){return zd.type==="Identifier"&&zd.name==="this"}},ev=class extends Zy{constructor(zd,Bd){zd=AE(zd),super(zd,Bd),this.options=zd,this.initializeScopes(),this.plugins=ug(this.options.plugins),this.filename=zd.sourceFilename}getScopeHandler(){return yg}parse(){this.enterInitialScopes();let zd=this.startNode(),Bd=this.startNode();return this.nextToken(),zd.errors=null,this.parseTopLevel(zd,Bd),zd.errors=this.state.errors,zd.comments.length=this.state.commentsLen,zd}};function ug(zd){let Bd=new Map;for(let Yd of zd){let[_f,Nf]=Array.isArray(Yd)?Yd:[Yd,{}];Bd.has(_f)||Bd.set(_f,Nf||{})}return Bd}function Lb(zd,Bd){var Yd;if(((Yd=Bd)==null?void 0:Yd.sourceType)==="unambiguous"){Bd=Object.assign({},Bd);try{Bd.sourceType="module";let _f=Ab(Bd,zd),Nf=_f.parse();if(_f.sawUnambiguousESM)return Nf;if(_f.ambiguousScriptDifferentAst)try{return Bd.sourceType="script",Ab(Bd,zd).parse()}catch{}else Nf.program.sourceType="script";return Nf}catch(_f){try{return Bd.sourceType="script",Ab(Bd,zd).parse()}catch{}throw _f}}else return Ab(Bd,zd).parse()}function qv(zd,Bd){let Yd=Ab(Bd,zd);return Yd.options.strictMode&&(Yd.state.strict=!0),Yd.getExpression()}function NE(zd){let Bd={};for(let Yd of Object.keys(zd))Bd[Yd]=Sm(zd[Yd]);return Bd}var N0=NE(vf);function Ab(zd,Bd){let Yd=ev;return zd!=null&&zd.plugins&&(Cb(zd.plugins),Yd=mT(zd.plugins)),new Yd(zd,Bd)}var wE={};function mT(zd){let Bd=Jy.filter(Nf=>_g(zd,Nf)),Yd=Bd.join("/"),_f=wE[Yd];if(!_f){_f=ev;for(let Nf of Bd)_f=D0[Nf](_f);wE[Yd]=_f}return _f}Ra.parse=Lb,Ra.parseExpression=qv,Ra.tokTypes=N0}),kt$3={};Ws$1(kt$3,{parsers:()=>Qr$3});var _e$5=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,cd=nd;for(;cd>=0&&cd<ud;){let dd=qa.charAt(cd);if(Ra instanceof RegExp){if(!Ra.test(dd))return cd}else if(!Ra.includes(dd))return cd;ld?cd--:cd++}return cd===-1||cd===ud?cd:!1}}var ls$1=Me$6(" "),cs$3=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$3(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$4(Ra){return Array.isArray(Ra)&&Ra.length>0}var Pe$6=br$4;function D$3(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$3(ud),ld):ld}function B$4(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$7(Ra){if(Te$5!==null&&typeof Te$5.property){let qa=Te$5;return Te$5=be$7.prototype=null,qa}return Te$5=be$7.prototype=Ra??Object.create(null),new be$7}var Er$2=10;for(let Ra=0;Ra<=Er$2;Ra++)be$7();function Ct$4(Ra){return be$7(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 cd;(cd=ud.leadingComments)!=null&&cd.some(xs$2)&&ld.add(D$3(ud))}),Ra=Fe$4(Ra,ud=>{if(ud.type==="ParenthesizedExpression"){let{expression:cd}=ud;if(cd.type==="TypeCastExpression")return cd.range=[...ud.range],cd;let dd=D$3(ud);if(!ld.has(dd))return cd.extra={...cd.extra,parenthesized:!0},cd}})}if(Ra=Fe$4(Ra,ld=>{var ud;switch(ld.type){case"LogicalExpression":if(bs$1(ld))return It$3(ld);break;case"VariableDeclaration":{let cd=St$4(!1,ld.declarations,-1);cd!=null&&cd.init&&od[B$4(cd)]!==";"&&(ld.range=[D$3(ld),B$4(cd)]);break}case"TSParenthesizedType":return ld.typeAnnotation;case"TSTypeParameter":if(typeof ld.name=="string"){let cd=D$3(ld);ld.name={type:"Identifier",name:ld.name,range:[cd,cd+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:cd}=ld,dd=od.slice(D$3(cd),B$4(cd));(dd.startsWith('"')||dd.startsWith("'"))&&(ld.exported={...ld.exported,type:"Literal",value:ld.exported.name,raw:dd})}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 cd=Ra.comments[ud];B$4(cd)===D$3(ld)&&ge$7(cd)&&ge$7(ld)&&wt$3(cd)&&wt$3(ld)&&(Ra.comments.splice(ud+1,1),cd.value+="*//*"+ld.value,cd.range=[D$3(cd),B$4(ld)]),ld=cd}}return Ra.type==="Program"&&(Ra.range=[0,od.length]),Ra}function bs$1(Ra){return Ra.type==="LogicalExpression"&&Ra.right.type==="LogicalExpression"&&Ra.operator===Ra.right.operator}function It$3(Ra){return bs$1(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$3(Ra.left),B$4(Ra.right.left)]}),right:Ra.right.right,range:[D$3(Ra),B$4(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 cd=` (${nd}:${od})`;return qa.endsWith(cd)&&(qa=qa.slice(0,-cd.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 cd=ie$5(!1,ud[2],Br$4,"");if(typeof od[ud[1]]=="string"||Array.isArray(od[ud[1]])){let dd=od[ud[1]];od[ud[1]]=[..._r$3,...Array.isArray(dd)?dd:[dd],cd]}else od[ud[1]]=cd}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$3,locEnd:B$4,...Ra}}var G$6=$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:cd}=Ra;return delete Ra.tokens,delete Ra.comments,{tokens:ud,comments:cd,type:nd,node:Ra,range:[0,ld.length],rootMarker:od}}var Ue$4=qr$3,re$6=Ra=>G$6(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$6=(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(pd=>({...pd,sourceType:"script"})));let ud=/%[A-Z]/u.test(nd);nd.includes("|>")?ld=(ud?[...vs$1,ks$1]:vs$1).flatMap(pd=>ld.map(fd=>V$6([pd],fd))):ud&&(ld=ld.map(pd=>V$6([ks$1],pd)));let cd=Ra?_e$5.parseExpression:_e$5.parse,dd;try{dd=ms$2(ld.map(pd=>()=>Wr$3(cd,nd,pd)))}catch({errors:[pd]}){throw Re$7(pd)}return Ra&&(dd=Ue$4(dd,{text:nd,rootMarker:od.rootMarker})),As$2(dd,{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$6(["jsx"])],Ls$3=re$6({optionsCombinations:Fs$1}),Ds$2=re$6({optionsCombinations:[V$6(["jsx","typescript"]),V$6(["typescript"])]}),Ms=re$6({isExpression:!0,optionsCombinations:[V$6(["jsx"])]}),Os$3=re$6({isExpression:!0,optionsCombinations:[V$6(["typescript"])]}),Bs$2=re$6({optionsCombinations:[V$6(["jsx",["flow",{all:!0,enums:!0}],"flowComments"])]}),Gr$3=re$6({optionsCombinations:Fs$1.map(Ra=>V$6(["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$2(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$5(od.comments[0],"Comment");return ae$4(od),Ue$4(od,{type:"JsonRoot",text:nd})}}function H$5(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$4(Ra){switch(Ra.type){case"ArrayExpression":for(let qa of Ra.elements)qa!==null&&ae$4(qa);return;case"ObjectExpression":for(let qa of Ra.properties)ae$4(qa);return;case"ObjectProperty":if(Ra.computed)throw H$5(Ra.key,"Computed key");if(Ra.shorthand)throw H$5(Ra.key,"Shorthand property");Ra.key.type!=="Identifier"&&ae$4(Ra.key),ae$4(Ra.value);return;case"UnaryExpression":{let{operator:qa,argument:nd}=Ra;if(qa!=="+"&&qa!=="-")throw H$5(Ra,`Operator '${Ra.operator}'`);if(nd.type==="NumericLiteral"||nd.type==="Identifier"&&(nd.name==="Infinity"||nd.name==="NaN"))return;throw H$5(nd,`Operator '${qa}' before '${nd.type}'`)}case"Identifier":if(Ra.name!=="Infinity"&&Ra.name!=="NaN"&&Ra.name!=="undefined")throw H$5(Ra,`Identifier '${Ra.name}'`);return;case"TemplateLiteral":if(Pe$6(Ra.expressions))throw H$5(Ra.expressions[0],"'TemplateLiteral' with expression");for(let qa of Ra.quasis)ae$4(qa);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw H$5(Ra,`'${Ra.type}'`)}}var Nt$4=_s$2(),Yr$3={json:G$6({parse:Nt$4,hasPragma(){return!0}}),json5:G$6(Nt$4),jsonc:G$6(Nt$4),"json-stringify":G$6({parse:_s$2({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$1={};Ar$1(_s$1,{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$5=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$2=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 cd=Ra[ud];if(Array.isArray(cd))for(let dd of cd)ld(dd)&&(yield dd);else ld(cd)&&(yield cd)}}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,cd=nd;for(;cd>=0&&cd<ud;){let dd=qa.charAt(cd);if(Ra instanceof RegExp){if(!Ra.test(dd))return cd}else if(!Ra.includes(dd))return cd;ld?cd--:cd++}return cd===-1||cd===ud?cd:!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$1=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 cd of Ra)cd===nd?ld++:cd===od&&ud++;return ld>ud?od:nd}var xr$2=to$1;function ro$1(Ra,qa,nd){let od=qa==='"'?"'":'"',ld=N$5(!1,Ra,/\\(.)|(["'])/gsu,(ud,cd,dd)=>cd===od?cd:dd===qa?"\\"+dd:dd||(nd&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(cd)?cd:"\\"+cd));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$5(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$5(ud),ld):ld}function k$1(Ra){var qa;return((qa=Ra.range)==null?void 0:qa[1])??Ra.end}function ht$3(Ra,qa){let nd=R$5(Ra);return Number.isInteger(nd)&&nd===R$5(qa)}function so$1(Ra,qa){let nd=k$1(Ra);return Number.isInteger(nd)&&nd===k$1(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=hr$3(tu$2),gr$1=ao;function oo$3(Ra){let qa=new Set(Ra);return nd=>qa.has(nd==null?void 0:nd.type)}var v$1=oo$3,po$1=v$1(["Block","CommentBlock","MultiLine"]),re$5=po$1,co$2=v$1(["AnyTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","BooleanTypeAnnotation","BigIntTypeAnnotation","SymbolTypeAnnotation","StringTypeAnnotation","NeverTypeAnnotation","UndefinedTypeAnnotation","UnknownTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation"]),Sr$2=co$2;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$5(Ra)||q$5(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$1(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),iu$1=v$1(["ExportDefaultDeclaration","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","DeclareExportAllDeclaration"]),U$5=v$1(["ArrayExpression","TupleExpression"]),se$5=v$1(["ObjectExpression","RecordExpression"]);function au$2(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$5(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$1(["Literal","BooleanLiteral","BigIntLiteral","DecimalLiteral","DirectiveLiteral","NullLiteral","NumericLiteral","RegExpLiteral","StringLiteral"]),Do$2=v$1(["Identifier","ThisExpression","Super","PrivateName","PrivateIdentifier","Import"]),we$5=v$1(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),_t$3=v$1(["FunctionExpression","ArrowFunctionExpression"]);function fo$1(Ra){return Ra.type==="FunctionExpression"||Ra.type==="ArrowFunctionExpression"&&Ra.body.type==="BlockStatement"}function Ln$2(Ra){return L$5(Ra)&&Ra.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(Ra.callee.name)}var X$5=v$1(["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$1(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Ft$4(Ra){return q$5(Ra)||Ra.type==="BindExpression"&&!!Ra.object}var Eo$1=v$1(["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$5(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$5(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$5=pu$2(v$1(["CallExpression","OptionalCallExpression"])),q$5=pu$2(v$1(["MemberExpression","OptionalMemberExpression"]));function Mn$2(Ra,qa=5){return cu$2(Ra,qa)<=qa}function cu$2(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$2(ld,qa-nd)),nd>qa)return nd}return nd}var To=.25;function rr$2(Ra,qa){let{printWidth:nd}=qa;if(d$1(Ra))return!1;let od=nd*To;if(Ra.type==="ThisExpression"||Ra.type==="Identifier"&&Ra.name.length<=od||jn$2(Ra)&&!d$1(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$5(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$5(qa)?Bt$4(qa):d$1(qa,g$3.Leading,nd=>te$5(Ra,k$1(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$5(Ra),{backwards:!0})}function wr$2(Ra){if(!d$1(Ra))return!1;let qa=O$2(!1,ct$2(Ra,g$3.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$5(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$5(qa)&&L$5(nd)&&nd.arguments.length>0&&qa.arguments.length>nd.arguments.length}var xo$3=new Set(["!","-","+","~"]);function be$6(Ra,qa=2){if(qa<=0)return!1;if(Ra.type==="ChainExpression"||Ra.type==="TSNonNullExpression")return be$6(Ra.expression,qa);let nd=od=>be$6(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$5(Ra))return Ra.elements.every(od=>od===null||nd(od));if(lt$3(Ra)){if(Ra.type==="ImportExpression"||be$6(Ra.callee,qa)){let od=oe$5(Ra);return od.length<=qa&&od.every(nd)}return!1}return q$5(Ra)?be$6(Ra.object,qa)&&be$6(Ra.property,qa):Ra.type==="UnaryExpression"&&xo$3.has(Ra.operator)||Ra.type==="UpdateExpression"?be$6(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$3(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$3={"*":!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$3[Ra]||Ra==="%"&&br$3[qa]||qa!==Ra&&br$3[qa]&&br$3[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$5(Ra);return((qa=O$2(!1,nd,-1))==null?void 0:qa.type)==="RestElement"}var wn$2=new WeakMap;function K$5(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$1(Ra,g$3.PrettierIgnore)}var g$3={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$3.Leading&&!nd.leading||Ra&g$3.Trailing&&!nd.trailing||Ra&g$3.Dangling&&(nd.leading||nd.trailing)||Ra&g$3.Block&&!re$5(nd)||Ra&g$3.Line&&!vt$4(nd)||Ra&g$3.First&&od!==0||Ra&g$3.Last&&od!==ld.length-1||Ra&g$3.PrettierIgnore&&!sr$2(nd)||qa&&!qa(nd))};function d$1(Ra,qa,nd){if(!w$1(Ra==null?void 0:Ra.comments))return!1;let od=Eu$2(qa,nd);return od?Ra.comments.some(od):!0}function ct$2(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$1(Ra));function lt$3(Ra){return L$5(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$1(["TSAsExpression","TSSatisfiesExpression","AsExpression","AsConstExpression","SatisfiesExpression"]),Ne$4=v$1(["UnionTypeAnnotation","TSUnionType"]),_r$2=v$1(["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:cd}=Ra;Q$5(cd)||Ce$4(cd)?qa.key=String(cd.value):cd.type==="Identifier"&&(qa.key=cd.name)}if(Ra.type==="JSXElement"&&Ra.openingElement.name.name==="style"&&Ra.openingElement.attributes.some(cd=>cd.type==="JSXAttribute"&&cd.name.name==="jsx"))for(let{type:cd,expression:dd}of qa.children)cd==="JSXExpressionContainer"&&dd.type==="TemplateLiteral"&&Jt$4(dd);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$5(!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 cd=Ra.expression.arguments[0].properties;for(let[dd,pd]of qa.expression.arguments[0].properties.entries())switch(cd[dd].key.name){case"styles":U$5(pd.value)&&Jt$4(pd.value.elements[0]);break;case"template":pd.value.type==="TemplateLiteral"&&Jt$4(pd.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(cd=>re$5(cd)&&["GraphQL","HTML"].some(dd=>cd.value===` ${dd} `))||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$4="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$4;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$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(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$1(nd));p_(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 cd=ut$3(ud);if(!cd)throw new Ct$3(ud);if((qa==null?void 0:qa(ud))!==!1)switch(cd){case _e$4:case Pe$5:{let dd=cd===_e$4?ud:ud.parts;for(let pd=dd.length,fd=pd-1;fd>=0;--fd)ld.push(dd[fd]);break}case xe$4:ld.push(ud.flatContents,ud.breakContents);break;case le$5:if(od&&ud.expandedStates)for(let dd=ud.expandedStates.length,pd=dd-1;pd>=0;--pd)ld.push(ud.expandedStates[pd]);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$1(Ra){return{type:Xe$3,contents:Ra}}function he$3(Ra,qa){return{type:Ye$4,contents:qa,n:Ra}}function l$1(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$1(Ra[0],{...qa,expandedStates:Ra})}function qt$4(Ra){return{type:Pe$5,parts:Ra}}function b$2(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$4={type:me$4},E$4={type:me$4,soft:!0},F$2=[Gn$3,Ee$6],Rr$1=[ko$1,Ee$6],Un$3={type:nt$3};function P$5(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$1(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 cd=ld(ud);return nd.set(ud,cd),cd}function ld(ud){switch(ut$3(ud)){case _e$4: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:cd,contents:dd}=ud;return cd?(cd=cd.map(od),dd=cd[0]):dd=od(dd),qa({...ud,contents:dd,expandedStates:cd})}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(cd){if(ld)return!1;let dd=qa(cd);dd!==void 0&&(ld=!0,od=dd)}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$2(!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$4:{let qa=[];for(let nd of Ra){if(!nd)continue;let[od,...ld]=Array.isArray(nd)?nd:[nd];typeof od=="string"&&typeof O$2(!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$5(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$1=_o$1;function Pu$1(Ra,qa){let nd=Ra.node;if(vt$4(nd))return qa.originalText.slice(R$5(nd),k$1(nd)).trimEnd();if(re$5(nd))return bu$1(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$5(F$2,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$6(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$4(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,Vn$3,pp].some(qa=>qa(Ra))}function bt$4(Ra,qa){let nd=(Ra.body||Ra.properties).find(({type:od})=>od!=="EmptyStatement");nd?ce$6(nd,qa):Le$5(Ra,qa)}function Xn$3(Ra,qa){Ra.type==="BlockStatement"?bt$4(Ra,qa):ce$6(Ra,qa)}function No$1({comment:Ra,followingNode:qa}){return qa&&ku$1(Ra)?(ce$6(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$1(Ra))===")")return z$4(qa,Ra),!0;if(qa===nd.consequent&&od===nd.alternate){if(qa.type==="BlockStatement")z$4(qa,Ra);else{let ud=vt$4(Ra)||Ra.loc.start.line===Ra.loc.end.line,cd=Ra.loc.start.line===qa.loc.start.line;ud&&cd?z$4(qa,Ra):Le$5(nd,Ra)}return!0}return od.type==="BlockStatement"?(bt$4(od,Ra),!0):od.type==="IfStatement"?(Xn$3(od.consequent,Ra),!0):nd.consequent===od?(ce$6(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$1(Ra))===")"?(z$4(qa,Ra),!0):od.type==="BlockStatement"?(bt$4(od,Ra),!0):nd.body===od?(ce$6(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$4(qa,Ra),!0):od.type==="BlockStatement"?(bt$4(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$5(qa)&&(nd==null?void 0:nd.type)==="Identifier"?(ce$6(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 cd=qa&&!de$4(ld,k$1(qa),R$5(Ra));return(!qa||!cd)&&((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$5(Ra),k$1(Ra)))?(Le$5(nd,Ra),!0):(ce$6(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$4(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$1(nd.decorators)&&(od==null?void 0:od.type)!=="Decorator")return z$4(O$2(!1,nd.decorators,-1),Ra),!0;if(nd.body&&od===nd.body)return bt$4(nd.body,Ra),!0;if(od){if(nd.superClass&&od===nd.superClass&&qa&&(qa===nd.id||qa===nd.typeParameters))return z$4(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$4(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$1(Ra))==="("&&(nd.type==="Property"||nd.type==="TSDeclareMethod"||nd.type==="TSAbstractMethodDefinition")&&qa.type==="Identifier"&&nd.key===qa&&ge$6(od,k$1(qa))!==":"||(qa==null?void 0:qa.type)==="Decorator"&&$o$1.has(nd==null?void 0:nd.type)?(z$4(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$1(Ra))!=="("?!1:qa&&Ko$1.has(nd==null?void 0:nd.type)?(z$4(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$1(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$1(Ra))!==")"?!1:qa&&(Ru$2(qa)&&K$5(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$5(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$1(Ra))===")"?(z$4(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$1(Ra))===")"?(z$4(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$1(Ra))===R$5(od)?(bt$4(od,Ra),!0):!1}function ju$2({comment:Ra,enclosingNode:qa}){return(qa==null?void 0:qa.type)==="LabeledStatement"?(ce$6(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$4(qa,Ra),!0):!1}function tp({comment:Ra,precedingNode:qa,enclosingNode:nd}){return L$5(nd)&&qa&&nd.callee===qa&&nd.arguments.length>0?(ce$6(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$4(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$6(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$6(nd,Ra),!0):(qa==null?void 0:qa.type)==="Program"&&qa.body.length===0&&!w$1(qa.directives)?(od?Le$5(qa,Ra):ce$6(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$6(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$6(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$1(Ra))?(z$4(qa,Ra),!0):!1}function up({comment:Ra,enclosingNode:qa}){return(qa==null?void 0:qa.type)==="AssignmentPattern"?(ce$6(qa,Ra),!0):!1}var ip=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ap$1=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$1.has(nd.type)||re$5(Ra))?(ce$6(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$1(Ra))===";"?(z$4(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({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$6(od.name,Ra),!0):(qa==null?void 0:qa.type)==="TSTypeParameter"&&qa.constraint?(z$4(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$4(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$4(O$2(!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$4(nd,Ra):Le$5(qa,Ra),!0}var Ru$2=v$1(["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$5(Ra.value).length===0&&!Ra.value.returnType&&!w$1(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$5(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$5(!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$5=Symbol("MODE_FLAT"),ar$2=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,cd=0,dd=0;for(let Id of od)switch(Id.type){case"indent":md(),nd.useTabs?pd(1):fd(nd.tabWidth);break;case"stringAlign":md(),ld+=Id.n,ud+=Id.n.length;break;case"numberAlign":cd+=1,dd+=Id.n;break;default:throw new Error(`Unexpected type '${Id.type}'`)}return Ad(),{...Ra,value:ld,length:ud,queue:od};function pd(Id){ld+=" ".repeat(Id),ud+=nd.tabWidth*Id}function fd(Id){ld+=" ".repeat(Id),ud+=Id}function md(){nd.useTabs?vd():Ad()}function vd(){cd>0&&pd(cd),Nd()}function Ad(){dd>0&&fd(dd),Nd()}function Nd(){cd=0,dd=0}}function Zn$3(Ra){let qa=0,nd=0,od=Ra.length;e:for(;od--;){let ld=Ra[od];if(ld===ar$2){nd++;continue}for(let ud=ld.length-1;ud>=0;ud--){let cd=ld[ud];if(cd===" "||cd===" ")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$2);return qa}function Jr$2(Ra,qa,nd,od,ld,ud){if(nd===Number.POSITIVE_INFINITY)return!0;let cd=qa.length,dd=[Ra],pd=[];for(;nd>=0;){if(dd.length===0){if(cd===0)return!0;dd.push(qa[--cd]);continue}let{mode:fd,doc:md}=dd.pop(),vd=ut$3(md);switch(vd){case rt$3:pd.push(md),nd-=et$4(md);break;case _e$4:case Pe$5:{let Ad=vd===_e$4?md:md.parts;for(let Nd=Ad.length-1;Nd>=0;Nd--)dd.push({mode:fd,doc:Ad[Nd]});break}case Xe$3:case Ye$4:case He$4:case je$5:dd.push({mode:fd,doc:md.contents});break;case st$3:nd+=Zn$3(pd);break;case le$5:{if(ud&&md.break)return!1;let Ad=md.break?Se$6:fd,Nd=md.expandedStates&&Ad===Se$6?O$2(!1,md.expandedStates,-1):md.contents;dd.push({mode:Ad,doc:Nd});break}case xe$4:{let Ad=(md.groupId?ld[md.groupId]||at$5:fd)===Se$6?md.breakContents:md.flatContents;Ad&&dd.push({mode:fd,doc:Ad});break}case me$4:if(fd===Se$6||md.hard)return!0;md.soft||(pd.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,cd=[{ind:qu$2(),mode:Se$6,doc:Ra}],dd=[],pd=!1,fd=[],md=0;for(Su$1(Ra);cd.length>0;){let{ind:Ad,mode:Nd,doc:Id}=cd.pop();switch(ut$3(Id)){case rt$3:{let kd=ld!==`
|
||
`?N$5(!1,Id,`
|
||
`,ld):Id;dd.push(kd),cd.length>0&&(ud+=et$4(kd));break}case _e$4:for(let kd=Id.length-1;kd>=0;kd--)cd.push({ind:Ad,mode:Nd,doc:Id[kd]});break;case nt$3:if(md>=2)throw new Error("There are too many 'cursor' in doc.");dd.push(ar$2),md++;break;case Xe$3:cd.push({ind:Cp(Ad,qa),mode:Nd,doc:Id.contents});break;case Ye$4:cd.push({ind:Ap(Ad,Id.n,qa),mode:Nd,doc:Id.contents});break;case st$3:ud-=Zn$3(dd);break;case le$5:switch(Nd){case at$5:if(!pd){cd.push({ind:Ad,mode:Id.break?Se$6:at$5,doc:Id.contents});break}case Se$6:{pd=!1;let kd={ind:Ad,mode:at$5,doc:Id.contents},jd=od-ud,Fd=fd.length>0;if(!Id.break&&Jr$2(kd,cd,jd,Fd,nd))cd.push(kd);else if(Id.expandedStates){let Md=O$2(!1,Id.expandedStates,-1);if(Id.break){cd.push({ind:Ad,mode:Se$6,doc:Md});break}else for(let Ld=1;Ld<Id.expandedStates.length+1;Ld++)if(Ld>=Id.expandedStates.length){cd.push({ind:Ad,mode:Se$6,doc:Md});break}else{let Hd=Id.expandedStates[Ld],Gd={ind:Ad,mode:at$5,doc:Hd};if(Jr$2(Gd,cd,jd,Fd,nd)){cd.push(Gd);break}}}else cd.push({ind:Ad,mode:Se$6,doc:Id.contents});break}}Id.id&&(nd[Id.id]=O$2(!1,cd,-1).mode);break;case Pe$5:{let kd=od-ud,{parts:jd}=Id;if(jd.length===0)break;let[Fd,Md]=jd,Ld={ind:Ad,mode:at$5,doc:Fd},Hd={ind:Ad,mode:Se$6,doc:Fd},Gd=Jr$2(Ld,[],kd,fd.length>0,nd,!0);if(jd.length===1){Gd?cd.push(Ld):cd.push(Hd);break}let Vd={ind:Ad,mode:at$5,doc:Md},Kd={ind:Ad,mode:Se$6,doc:Md};if(jd.length===2){Gd?cd.push(Vd,Ld):cd.push(Kd,Hd);break}jd.splice(0,2);let mf={ind:Ad,mode:Nd,doc:qt$4(jd)},Wd=jd[0];Jr$2({ind:Ad,mode:at$5,doc:[Fd,Md,Wd]},[],kd,fd.length>0,nd,!0)?cd.push(mf,Vd,Ld):Gd?cd.push(mf,Kd,Ld):cd.push(mf,Kd,Hd);break}case xe$4:case He$4:{let kd=Id.groupId?nd[Id.groupId]:Nd;if(kd===Se$6){let jd=Id.type===xe$4?Id.breakContents:Id.negate?Id.contents:f$1(Id.contents);jd&&cd.push({ind:Ad,mode:Nd,doc:jd})}if(kd===at$5){let jd=Id.type===xe$4?Id.flatContents:Id.negate?f$1(Id.contents):Id.contents;jd&&cd.push({ind:Ad,mode:Nd,doc:jd})}break}case Ve$4:fd.push({ind:Ad,mode:Nd,doc:Id.contents});break;case $e$3:fd.length>0&&cd.push({ind:Ad,mode:Nd,doc:Gn$3});break;case me$4:switch(Nd){case at$5:if(Id.hard)pd=!0;else{Id.soft||(dd.push(" "),ud+=1);break}case Se$6:if(fd.length>0){cd.push({ind:Ad,mode:Nd,doc:Id},...fd.reverse()),fd.length=0;break}Id.literal?Ad.root?(dd.push(ld,Ad.root.value),ud=Ad.root.length):(dd.push(ld),ud=0):(ud-=Zn$3(dd),dd.push(ld+Ad.value),ud=Ad.length);break}break;case je$5:cd.push({ind:Ad,mode:Nd,doc:Id.contents});break;case ve$6:break;default:throw new Ct$3(Id)}cd.length===0&&fd.length>0&&(cd.push(...fd.reverse()),fd.length=0)}let vd=dd.indexOf(ar$2);if(vd!==-1){let Ad=dd.indexOf(ar$2,vd+1),Nd=dd.slice(0,vd).join(""),Id=dd.slice(vd+1,Ad).join(""),kd=dd.slice(Ad+1).join("");return{formatted:Nd+Id+kd,cursorNodeStart:Nd.length,cursorNodeText:Id}}return{formatted:dd.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 pd=xp(Ra,nd,qa);if(pd)return pd}let ld="expressions";od.type==="TSTemplateLiteralType"&&(ld="types");let ud=[],cd=Ra.map(qa,ld);ud.push(ke$5,"`");let dd=0;return Ra.each(({index:pd,node:fd})=>{if(ud.push(qa()),fd.tail)return;let{tabWidth:md}=nd,vd=fd.value.raw,Ad=vd.includes(`
|
||
`)?Gu$2(vd,md):dd;dd=Ad;let Nd=cd[pd],Id=od[ld][pd],kd=de$4(nd.originalText,k$1(fd),R$5(od.quasis[pd+1]));if(!kd){let Fd=es$1(Nd,{...nd,printWidth:Number.POSITIVE_INFINITY}).formatted;Fd.includes(`
|
||
`)?kd=!0:Nd=Fd}kd&&(d$1(Id)||Id.type==="Identifier"||q$5(Id)||Id.type==="ConditionalExpression"||Id.type==="SequenceExpression"||Te$4(Id)||De$4(Id))&&(Nd=[f$1([E$4,Nd]),E$4]);let jd=Ad===0&&vd.endsWith(`
|
||
`)?he$3(Number.NEGATIVE_INFINITY,Nd):xu$1(Nd,Ad,md);ud.push(l$1(["${",jd,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 cd=[],dd=ud.map(Ad=>"${"+es$1(Ad,{...qa,printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"}).formatted+"}"),pd=[{hasLineBreak:!1,cells:[]}];for(let Ad=1;Ad<od.quasis.length;Ad++){let Nd=O$2(!1,pd,-1),Id=dd[Ad-1];Nd.cells.push(Id),Id.includes(`
|
||
`)&&(Nd.hasLineBreak=!0),od.quasis[Ad].value.raw.includes(`
|
||
`)&&pd.push({hasLineBreak:!1,cells:[]})}let fd=Math.max(ld.length,...pd.map(Ad=>Ad.cells.length)),md=Array.from({length:fd}).fill(0),vd=[{cells:ld},...pd.filter(Ad=>Ad.cells.length>0)];for(let{cells:Ad}of vd.filter(Nd=>!Nd.hasLineBreak))for(let[Nd,Id]of Ad.entries())md[Nd]=Math.max(md[Nd],et$4(Id));return cd.push(ke$5,"`",f$1([F$2,P$5(F$2,vd.map(Ad=>P$5(" | ",Ad.cells.map((Nd,Id)=>Ad.hasLineBreak?Nd:Nd+" ".repeat(md[Id]-et$4(Nd))))))]),F$2,"`"),cd}}function hp(Ra,qa){let{node:nd}=Ra,od=qa();return d$1(nd)&&(od=l$1([f$1([E$4,od]),E$4])),["${",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$5(!1,nd,/(\\*)`/gu,"$1$1\\`"):ts(nd):nd)}function ts(Ra){return N$5(!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$5(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$1(Ra,g$3.Block|g$3.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(md=>md.value.raw),ud=0,cd=ld.reduce((md,vd,Ad)=>Ad===0?vd:md+"@prettier-placeholder-"+ud+++"-id"+vd,""),dd=await Ra(cd,{parser:"scss"}),pd=Gt$3(nd,qa),fd=bp(dd,pd);if(!fd)throw new Error("Couldn't insert all the expressions");return["`",f$1([F$2,fd]),E$4,"`"]}function bp(Ra,qa){if(!w$1(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,cd)=>cd%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),cd=[];for(let dd=0;dd<ld;dd++){let pd=od.quasis[dd],fd=dd===0,md=dd===ld-1,vd=pd.value.cooked,Ad=vd.split(`
|
||
`),Nd=Ad.length,Id=ud[dd],kd=Nd>2&&Ad[0].trim()===""&&Ad[1].trim()==="",jd=Nd>2&&Ad[Nd-1].trim()===""&&Ad[Nd-2].trim()==="",Fd=Ad.every(Ld=>/^\s*(?:#[^\n\r]*)?$/u.test(Ld));if(!md&&/#[^\n\r]*$/u.test(Ad[Nd-1]))return null;let Md=null;Fd?Md=Op(Ad):Md=await Ra(vd,{parser:"graphql"}),Md?(Md=Wr$2(Md,!1),!fd&&kd&&cd.push(""),cd.push(Md),!md&&jd&&cd.push("")):!fd&&!md&&kd&&cd.push(""),Id&&cd.push(Id)}return["`",f$1([F$2,P$5(F$2,cd)]),F$2,"`"]}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$2,ud]):qa.push(ud),nd=!0);return qa.length===0?null:P$5(F$2,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,cd=ss$1;ss$1=ss$1+1>>>0;let dd=Fd=>`PRETTIER_HTML_PLACEHOLDER_${Fd}_${cd}_IN_JS`,pd=ud.quasis.map((Fd,Md,Ld)=>Md===Ld.length-1?Fd.value.cooked:Fd.value.cooked+dd(Md)).join(""),fd=Gt$3(od,nd),md=new RegExp(dd(String.raw`(\d+)`),"gu"),vd=0,Ad=await qa(pd,{parser:Ra,__onHtmlRoot(Fd){vd=Fd.children.length}}),Nd=mt$3(Ad,Fd=>{if(typeof Fd!="string")return Fd;let Md=[],Ld=Fd.split(md);for(let Hd=0;Hd<Ld.length;Hd++){let Gd=Ld[Hd];if(Hd%2===0){Gd&&(Gd=ts(Gd),ld.__embeddedInHtml&&(Gd=N$5(!1,Gd,/<\/(?=script\b)/giu,String.raw`<\/`)),Md.push(Gd));continue}let Vd=Number(Gd);Md.push(fd[Vd])}return Md}),Id=/^\s/u.test(pd)?" ":"",kd=/\s$/u.test(pd)?" ":"",jd=ld.htmlWhitespaceSensitivity==="ignore"?F$2:Id&&kd?x$4:null;return jd?l$1(["`",f$1([jd,l$1(Nd)]),jd,"`"]):it$3({hug:!1},l$1(["`",Id,vd>1?f$1(l$1(Nd)):l$1(Nd),kd,"`"]))}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$5(!1,od.quasis[0].value.raw,/((?:\\\\)*)\\`/gu,(pd,fd)=>"\\".repeat(fd.length/2)+"`"),ud=Wp(ld),cd=ud!=="";cd&&(ld=N$5(!1,ld,new RegExp(`^${ud}`,"gmu"),""));let dd=Wr$2(await Ra(ld,{parser:"markdown",__inJsTemplate:!0}),!0);return["`",cd?f$1([E$4,dd]):[Rr$1,du$2(dd)],E$4,"`"]}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$3(Ra){let qa=`
|
||
`;Ra=N$5(!1,Ra.replace(Hp,"").replace(Yp,""),Kp,"$1");let nd="";for(;nd!==Ra;)nd=Ra,Ra=N$5(!1,Ra,$p,`${qa}$1 $2${qa}`);Ra=Ra.replace(Zu$3,"").trimEnd();let od=Object.create(null),ld=N$5(!1,Ra,ei$3,"").replace(Zu$3,"").trimEnd(),ud;for(;ud=ei$3.exec(Ra);){let cd=N$5(!1,ud[2],Vp,"");if(typeof od[ud[1]]=="string"||Array.isArray(od[ud[1]])){let dd=od[ud[1]];od[ud[1]]=[...ni$3,...Array.isArray(dd)?dd:[dd],cd]}else od[ud[1]]=cd}return{comments:ld,pragmas:od}}function ai$3({comments:Ra="",pragmas:qa={}}){let nd=`
|
||
`,od="/**",ld=" *",ud=" */",cd=Object.keys(qa),dd=cd.flatMap(fd=>ti$3(fd,qa[fd])).map(fd=>`${ld} ${fd}${nd}`).join("");if(!Ra){if(cd.length===0)return"";if(cd.length===1&&!Array.isArray(qa[cd[0]])){let fd=qa[cd[0]];return`${od} ${ti$3(cd[0],fd)[0]}${ud}`}}let pd=Ra.split(nd).map(fd=>`${ld} ${fd}`).join(nd)+nd;return od+nd+(Ra?pd:"")+(Ra&&cd.length>0?ld+nd:"")+dd+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$3(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),cd=ai$3({pragmas:{format:"",...od},comments:ld.trimStart()});return(qa?`${qa}
|
||
`:"")+cd+(ud.startsWith(`
|
||
`)?`
|
||
`:`
|
||
|
||
`)+ud}function Zp(Ra,qa){let{originalText:nd,[Symbol.for("comments")]:od,locStart:ld,locEnd:ud,[Symbol.for("printedComments")]:cd}=qa,{node:dd}=Ra,pd=ld(dd),fd=ud(dd);for(let md of od)ld(md)>=pd&&ud(md)<=fd&&cd.add(md);return nd.slice(pd,fd)}var ci$3=Zp;function us$1(Ra,qa){var nd,od,ld,ud,cd,dd,pd,fd,md;if(Ra.isRoot)return!1;let{node:vd,key:Ad,parent:Nd}=Ra;if(qa.__isInHtmlInterpolation&&!qa.bracketSpacing&&nc$2(vd)&&or$2(Ra))return!0;if(ec$1(vd))return!1;if(vd.type==="Identifier"){if((nd=vd.extra)!=null&&nd.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(vd.name)||Ad==="left"&&(vd.name==="async"&&!Nd.await||vd.name==="let")&&Nd.type==="ForOfStatement")return!0;if(vd.name==="let"){let Id=(od=Ra.findAncestor(kd=>kd.type==="ForOfStatement"))==null?void 0:od.left;if(Id&&ie$4(Id,kd=>kd===vd))return!0}if(Ad==="object"&&vd.name==="let"&&Nd.type==="MemberExpression"&&Nd.computed&&!Nd.optional){let Id=Ra.findAncestor(jd=>jd.type==="ExpressionStatement"||jd.type==="ForStatement"||jd.type==="ForInStatement"),kd=Id?Id.type==="ExpressionStatement"?Id.expression:Id.type==="ForStatement"?Id.init:Id.left:void 0;if(kd&&ie$4(kd,jd=>jd===vd))return!0}if(Ad==="expression")switch(vd.name){case"await":case"interface":case"module":case"using":case"yield":case"let":case"component":case"hook":case"type":{let Id=Ra.findAncestor(kd=>!Te$4(kd));if(Id!==Nd&&Id.type==="ExpressionStatement")return!0}}return!1}if(vd.type==="ObjectExpression"||vd.type==="FunctionExpression"||vd.type==="ClassExpression"||vd.type==="DoExpression"){let Id=(ld=Ra.findAncestor(kd=>kd.type==="ExpressionStatement"))==null?void 0:ld.expression;if(Id&&ie$4(Id,kd=>kd===vd))return!0}if(vd.type==="ObjectExpression"){let Id=(ud=Ra.findAncestor(kd=>kd.type==="ArrowFunctionExpression"))==null?void 0:ud.body;if(Id&&Id.type!=="SequenceExpression"&&Id.type!=="AssignmentExpression"&&ie$4(Id,kd=>kd===vd))return!0}switch(Nd.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(Ad==="superClass"&&(vd.type==="ArrowFunctionExpression"||vd.type==="AssignmentExpression"||vd.type==="AwaitExpression"||vd.type==="BinaryExpression"||vd.type==="ConditionalExpression"||vd.type==="LogicalExpression"||vd.type==="NewExpression"||vd.type==="ObjectExpression"||vd.type==="SequenceExpression"||vd.type==="TaggedTemplateExpression"||vd.type==="UnaryExpression"||vd.type==="UpdateExpression"||vd.type==="YieldExpression"||vd.type==="TSNonNullExpression"||vd.type==="ClassExpression"&&w$1(vd.decorators)))return!0;break;case"ExportDefaultDeclaration":return li$3(Ra,qa)||vd.type==="SequenceExpression";case"Decorator":if(Ad==="expression"&&!uc$2(vd))return!0;break;case"TypeAnnotation":if(Ra.match(void 0,void 0,(Id,kd)=>kd==="returnType"&&Id.type==="ArrowFunctionExpression")&&rc$2(vd))return!0;break;case"BinaryExpression":if(Ad==="left"&&(Nd.operator==="in"||Nd.operator==="instanceof")&&vd.type==="UnaryExpression")return!0;break;case"VariableDeclarator":if(Ad==="init"&&Ra.match(void 0,void 0,(Id,kd)=>kd==="declarations"&&Id.type==="VariableDeclaration",(Id,kd)=>kd==="left"&&Id.type==="ForInStatement"))return!0;break}switch(vd.type){case"UpdateExpression":if(Nd.type==="UnaryExpression")return vd.prefix&&(vd.operator==="++"&&Nd.operator==="+"||vd.operator==="--"&&Nd.operator==="-");case"UnaryExpression":switch(Nd.type){case"UnaryExpression":return vd.operator===Nd.operator&&(vd.operator==="+"||vd.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return Ad==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Ad==="callee";case"BinaryExpression":return Ad==="left"&&Nd.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(Nd.type==="UpdateExpression"||vd.operator==="in"&&tc$1(Ra))return!0;if(vd.operator==="|>"&&(cd=vd.extra)!=null&&cd.parenthesized){let Id=Ra.grandparent;if(Id.type==="BinaryExpression"&&Id.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"LogicalExpression":switch(Nd.type){case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return!Te$4(vd);case"ConditionalExpression":return Te$4(vd)||au$2(vd);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return Ad==="callee";case"ClassExpression":case"ClassDeclaration":return Ad==="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 Ad==="object";case"AssignmentExpression":case"AssignmentPattern":return Ad==="left"&&(vd.type==="TSTypeAssertion"||Te$4(vd));case"LogicalExpression":if(vd.type==="LogicalExpression")return Nd.operator!==vd.operator;case"BinaryExpression":{let{operator:Id,type:kd}=vd;if(!Id&&kd!=="TSTypeAssertion")return!0;let jd=er$2(Id),Fd=Nd.operator,Md=er$2(Fd);return Md>jd||Ad==="right"&&Md===jd||Md===jd&&!nr$2(Fd,Id)?!0:Md<jd&&Id==="%"?Fd==="+"||Fd==="-":!!yu$1(Fd)}default:return!1}case"SequenceExpression":switch(Nd.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return Ad!=="expression";case"ArrowFunctionExpression":return Ad!=="body";default:return!0}case"YieldExpression":if(Nd.type==="AwaitExpression"||Nd.type==="TSTypeAssertion")return!0;case"AwaitExpression":switch(Nd.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 Ad==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Ad==="callee";case"ConditionalExpression":return Ad==="test";case"BinaryExpression":return!(!vd.argument&&Nd.operator==="|>");default:return!1}case"TSFunctionType":if(Ra.match(Id=>Id.type==="TSFunctionType",(Id,kd)=>kd==="typeAnnotation"&&Id.type==="TSTypeAnnotation",(Id,kd)=>kd==="returnType"&&Id.type==="ArrowFunctionExpression"))return!0;case"TSConditionalType":case"TSConstructorType":if(Ad==="extendsType"&&Nd.type==="TSConditionalType"){if(vd.type==="TSConditionalType")return!0;let{typeAnnotation:Id}=vd.returnType||vd.typeAnnotation;if(Id.type==="TSTypePredicate"&&Id.typeAnnotation&&(Id=Id.typeAnnotation.typeAnnotation),Id.type==="TSInferType"&&Id.typeParameter.constraint)return!0}if(Ad==="checkType"&&Nd.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((Nd.type==="TSUnionType"||Nd.type==="TSIntersectionType")&&Nd.types.length>1&&(!vd.types||vd.types.length>1))return!0;case"TSInferType":if(vd.type==="TSInferType"){if(Nd.type==="TSRestType")return!1;if(Ad==="types"&&(Nd.type==="TSUnionType"||Nd.type==="TSIntersectionType")&&vd.typeParameter.type==="TSTypeParameter"&&vd.typeParameter.constraint)return!0}case"TSTypeOperator":return Nd.type==="TSArrayType"||Nd.type==="TSOptionalType"||Nd.type==="TSRestType"||Ad==="objectType"&&Nd.type==="TSIndexedAccessType"||Nd.type==="TSTypeOperator"||Nd.type==="TSTypeAnnotation"&&Ra.grandparent.type.startsWith("TSJSDoc");case"TSTypeQuery":return Ad==="objectType"&&Nd.type==="TSIndexedAccessType"||Ad==="elementType"&&Nd.type==="TSArrayType";case"TypeOperator":return Nd.type==="ArrayTypeAnnotation"||Nd.type==="NullableTypeAnnotation"||Ad==="objectType"&&(Nd.type==="IndexedAccessType"||Nd.type==="OptionalIndexedAccessType")||Nd.type==="TypeOperator";case"TypeofTypeAnnotation":return Ad==="objectType"&&(Nd.type==="IndexedAccessType"||Nd.type==="OptionalIndexedAccessType")||Ad==="elementType"&&Nd.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return Nd.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return Nd.type==="TypeOperator"||Nd.type==="ArrayTypeAnnotation"||Nd.type==="NullableTypeAnnotation"||Nd.type==="IntersectionTypeAnnotation"||Nd.type==="UnionTypeAnnotation"||Ad==="objectType"&&(Nd.type==="IndexedAccessType"||Nd.type==="OptionalIndexedAccessType");case"InferTypeAnnotation":case"NullableTypeAnnotation":return Nd.type==="ArrayTypeAnnotation"||Ad==="objectType"&&(Nd.type==="IndexedAccessType"||Nd.type==="OptionalIndexedAccessType");case"ComponentTypeAnnotation":case"FunctionTypeAnnotation":{if(vd.type==="ComponentTypeAnnotation"&&(vd.rendersType===null||vd.rendersType===void 0))return!1;if(Ra.match(void 0,(kd,jd)=>jd==="typeAnnotation"&&kd.type==="TypeAnnotation",(kd,jd)=>jd==="returnType"&&kd.type==="ArrowFunctionExpression")||Ra.match(void 0,(kd,jd)=>jd==="typeAnnotation"&&kd.type==="TypePredicate",(kd,jd)=>jd==="typeAnnotation"&&kd.type==="TypeAnnotation",(kd,jd)=>jd==="returnType"&&kd.type==="ArrowFunctionExpression"))return!0;let Id=Nd.type==="NullableTypeAnnotation"?Ra.grandparent:Nd;return Id.type==="UnionTypeAnnotation"||Id.type==="IntersectionTypeAnnotation"||Id.type==="ArrayTypeAnnotation"||Ad==="objectType"&&(Id.type==="IndexedAccessType"||Id.type==="OptionalIndexedAccessType")||Ad==="checkType"&&Nd.type==="ConditionalTypeAnnotation"||Ad==="extendsType"&&Nd.type==="ConditionalTypeAnnotation"&&((dd=vd.returnType)==null?void 0:dd.type)==="InferTypeAnnotation"&&((pd=vd.returnType)==null?void 0:pd.typeParameter.bound)||Id.type==="NullableTypeAnnotation"||Nd.type==="FunctionTypeParam"&&Nd.name===null&&K$5(vd).some(kd=>{var jd;return((jd=kd.typeAnnotation)==null?void 0:jd.type)==="NullableTypeAnnotation"})}case"ConditionalTypeAnnotation":if(Ad==="extendsType"&&Nd.type==="ConditionalTypeAnnotation"&&vd.type==="ConditionalTypeAnnotation"||Ad==="checkType"&&Nd.type==="ConditionalTypeAnnotation")return!0;case"OptionalIndexedAccessType":return Ad==="objectType"&&Nd.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof vd.value=="string"&&Nd.type==="ExpressionStatement"&&!Nd.directive){let Id=Ra.grandparent;return Id.type==="Program"||Id.type==="BlockStatement"}return Ad==="object"&&Nd.type==="MemberExpression"&&typeof vd.value=="number";case"AssignmentExpression":{let Id=Ra.grandparent;return Ad==="body"&&Nd.type==="ArrowFunctionExpression"?!0:Ad==="key"&&(Nd.type==="ClassProperty"||Nd.type==="PropertyDefinition")&&Nd.computed||(Ad==="init"||Ad==="update")&&Nd.type==="ForStatement"?!1:Nd.type==="ExpressionStatement"?vd.left.type==="ObjectPattern":!(Ad==="key"&&Nd.type==="TSPropertySignature"||Nd.type==="AssignmentExpression"||Nd.type==="SequenceExpression"&&Id.type==="ForStatement"&&(Id.init===Nd||Id.update===Nd)||Ad==="value"&&Nd.type==="Property"&&Id.type==="ObjectPattern"&&Id.properties.includes(Nd)||Nd.type==="NGChainedExpression")}case"ConditionalExpression":switch(Nd.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 Ad==="callee";case"ConditionalExpression":return qa.experimentalTernaries?!1:Ad==="test";case"MemberExpression":case"OptionalMemberExpression":return Ad==="object";default:return!1}case"FunctionExpression":switch(Nd.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Ad==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(Nd.type){case"BinaryExpression":return Nd.operator!=="|>"||((fd=vd.extra)==null?void 0:fd.parenthesized);case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Ad==="callee";case"MemberExpression":case"OptionalMemberExpression":return Ad==="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 Ad==="test";default:return!1}case"ClassExpression":switch(Nd.type){case"NewExpression":return Ad==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":case"CallExpression":case"MemberExpression":if(sc$1(Ra))return!0;case"TaggedTemplateExpression":case"TSNonNullExpression":if(Ad==="callee"&&(Nd.type==="BindExpression"||Nd.type==="NewExpression")){let Id=vd;for(;Id;)switch(Id.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":Id=Id.object;break;case"TaggedTemplateExpression":Id=Id.tag;break;case"TSNonNullExpression":Id=Id.expression;break;default:return!1}}return!1;case"BindExpression":return Ad==="callee"&&(Nd.type==="BindExpression"||Nd.type==="NewExpression")||Ad==="object"&&q$5(Nd);case"NGPipeExpression":return!(Nd.type==="NGRoot"||Nd.type==="NGMicrosyntaxExpression"||Nd.type==="ObjectProperty"&&!((md=vd.extra)!=null&&md.parenthesized)||U$5(Nd)||Ad==="arguments"&&L$5(Nd)||Ad==="right"&&Nd.type==="NGPipeExpression"||Ad==="property"&&Nd.type==="MemberExpression"||Nd.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return Ad==="callee"||Ad==="left"&&Nd.type==="BinaryExpression"&&Nd.operator==="<"||!U$5(Nd)&&Nd.type!=="ArrowFunctionExpression"&&Nd.type!=="AssignmentExpression"&&Nd.type!=="AssignmentPattern"&&Nd.type!=="BinaryExpression"&&Nd.type!=="NewExpression"&&Nd.type!=="ConditionalExpression"&&Nd.type!=="ExpressionStatement"&&Nd.type!=="JsExpressionRoot"&&Nd.type!=="JSXAttribute"&&Nd.type!=="JSXElement"&&Nd.type!=="JSXExpressionContainer"&&Nd.type!=="JSXFragment"&&Nd.type!=="LogicalExpression"&&!L$5(Nd)&&!Ae$5(Nd)&&Nd.type!=="ReturnStatement"&&Nd.type!=="ThrowStatement"&&Nd.type!=="TypeCastExpression"&&Nd.type!=="VariableDeclarator"&&Nd.type!=="YieldExpression";case"TSInstantiationExpression":return Ad==="object"&&q$5(Nd)}return!1}var ec$1=v$1(["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,cd)=>cd==="expression"&&ud.type==="ChainExpression")&&(Ra.match(void 0,void 0,(ud,cd)=>cd==="callee"&&(ud.type==="CallExpression"&&!ud.optional||ud.type==="NewExpression")||cd==="object"&&ud.type==="MemberExpression"&&!ud.optional)||Ra.match(void 0,void 0,(ud,cd)=>cd==="expression"&&ud.type==="TSNonNullExpression",(ud,cd)=>cd==="object"&&ud.type==="MemberExpression"))||Ra.match(()=>qa.type==="CallExpression"||qa.type==="MemberExpression",(ud,cd)=>cd==="expression"&&ud.type==="TSNonNullExpression",(ud,cd)=>cd==="expression"&&ud.type==="ChainExpression",(ud,cd)=>cd==="object"&&ud.type==="MemberExpression"))}function is(Ra){return Ra.type==="Identifier"?!0:q$5(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$5(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$1=()=>!0;function as(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(Ra,qa)],{printer:ud,originalText:cd,locStart:dd,locEnd:pd}=qa;if((nd=ud.isBlockComment)!=null&&nd.call(ud,od)){let md=te$5(cd,pd(od))?te$5(cd,dd(od),{backwards:!0})?F$2:x$4:" ";ld.push(md)}else ld.push(F$2);let fd=Ue$3(cd,Ge$3(cd,pd(od)));return fd!==!1&&te$5(cd,fd)&&ld.push(F$2),ld}function pc(Ra,qa,nd){var od;let ld=Ra.node,ud=as(Ra,qa),{printer:cd,originalText:dd,locStart:pd}=qa,fd=(od=cd.isBlockComment)==null?void 0:od.call(cd,ld);if(nd!=null&&nd.hasLineSuffix&&!(nd!=null&&nd.isBlock)||te$5(dd,pd(ld),{backwards:!0})){let md=mi$1(dd,pd(ld));return{doc:Wn$2([F$2,md?F$2:"",ud]),isBlock:fd,hasLineSuffix:!0}}return!fd||nd!=null&&nd.hasLineSuffix?{doc:[Wn$2([" ",ud]),Ee$6],isBlock:fd,hasLineSuffix:!0}:{doc:[" ",ud],isBlock:fd,hasLineSuffix:!1}}function M$5(Ra,qa,nd={}){let{node:od}=Ra;if(!w$1(od==null?void 0:od.comments))return"";let{indent:ld=!1,marker:ud,filter:cd=ac$1}=nd,dd=[];if(Ra.each(({node:fd})=>{fd.leading||fd.trailing||fd.marker!==ud||!cd(fd)||dd.push(as(Ra,qa))},"comments"),dd.length===0)return"";let pd=P$5(F$2,dd);return ld?f$1([F$2,pd]):pd}function os$1(Ra,qa){let nd=Ra.node;if(!nd)return{};let od=qa[Symbol.for("printedComments")];if((nd.comments||[]).filter(dd=>!od.has(dd)).length===0)return{leading:"",trailing:""};let ld=[],ud=[],cd;return Ra.each(()=>{let dd=Ra.node;if(od!=null&&od.has(dd))return;let{leading:pd,trailing:fd}=dd;pd?ld.push(oc$1(Ra,qa)):fd&&(cd=pc(Ra,qa,cd),ud.push(cd.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])}.`);p_(this,"name","UnexpectedNodeError");this.node=qa}},Me$5=ps;function cs$2(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$2(!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$2([...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$4||Ra===F$2||Ra===E$4;function cc(Ra,qa,nd){var od,ld,ud;let{node:cd}=Ra;if(cd.type==="JSXElement"&&gc$1(cd))return[nd("openingElement"),nd("closingElement")];let dd=cd.type==="JSXElement"?nd("openingElement"):nd("openingFragment"),pd=cd.type==="JSXElement"?nd("closingElement"):nd("closingFragment");if(cd.children.length===1&&cd.children[0].type==="JSXExpressionContainer"&&(cd.children[0].expression.type==="TemplateLiteral"||cd.children[0].expression.type==="TaggedTemplateExpression"))return[dd,...Ra.map(nd,"children"),pd];cd.children=cd.children.map(Vd=>Sc(Vd)?{type:"JSXText",value:" ",raw:" "}:Vd);let fd=cd.children.some(X$5),md=cd.children.filter(Vd=>Vd.type==="JSXExpressionContainer").length>1,vd=cd.type==="JSXElement"&&cd.openingElement.attributes.length>1,Ad=ne$5(dd)||fd||vd||md,Nd=Ra.parent.rootMarker==="mdx",Id=qa.singleQuote?"{' '}":'{" "}',kd=Nd?" ":b$2([Id,E$4]," "),jd=((ld=(od=cd.openingElement)==null?void 0:od.name)==null?void 0:ld.name)==="fbt",Fd=lc$1(Ra,qa,nd,kd,jd),Md=cd.children.some(Vd=>pr$2(Vd));for(let Vd=Fd.length-2;Vd>=0;Vd--){let Kd=Fd[Vd]===""&&Fd[Vd+1]==="",mf=Fd[Vd]===F$2&&Fd[Vd+1]===""&&Fd[Vd+2]===F$2,Wd=(Fd[Vd]===E$4||Fd[Vd]===F$2)&&Fd[Vd+1]===""&&Fd[Vd+2]===kd,Zd=Fd[Vd]===kd&&Fd[Vd+1]===""&&(Fd[Vd+2]===E$4||Fd[Vd+2]===F$2),Xd=Fd[Vd]===kd&&Fd[Vd+1]===""&&Fd[Vd+2]===kd,bf=Fd[Vd]===E$4&&Fd[Vd+1]===""&&Fd[Vd+2]===F$2||Fd[Vd]===F$2&&Fd[Vd+1]===""&&Fd[Vd+2]===E$4;mf&&Md||Kd||Wd||Xd||bf?Fd.splice(Vd,2):Zd&&Fd.splice(Vd+1,2)}for(;Fd.length>0&&ms$1(O$2(!1,Fd,-1));)Fd.pop();for(;Fd.length>1&&ms$1(Fd[0])&&ms$1(Fd[1]);)Fd.shift(),Fd.shift();let Ld=[];for(let[Vd,Kd]of Fd.entries()){if(Kd===kd){if(Vd===1&&Fd[Vd-1]===""){if(Fd.length===2){Ld.push(Id);continue}Ld.push([Id,F$2]);continue}else if(Vd===Fd.length-1){Ld.push(Id);continue}else if(Fd[Vd-1]===""&&Fd[Vd-2]===F$2){Ld.push(Id);continue}}Ld.push(Kd),ne$5(Kd)&&(Ad=!0)}let Hd=Md?qt$4(Ld):l$1(Ld,{shouldBreak:!0});if(((ud=qa.cursorNode)==null?void 0:ud.type)==="JSXText"&&cd.children.includes(qa.cursorNode)&&(Hd=[Un$3,Hd,Un$3]),Nd)return Hd;let Gd=l$1([dd,f$1([F$2,Hd]),F$2,pd]);return Ad?Gd:ze$5([l$1([dd,...Fd,pd]),Gd])}function lc$1(Ra,qa,nd,od,ld){let ud=[];return Ra.each(({node:cd,next:dd})=>{if(cd.type==="JSXText"){let pd=fe$6(cd);if(pr$2(cd)){let fd=Nr$2.split(pd,!0);fd[0]===""&&(ud.push(""),fd.shift(),/\n/u.test(fd[0])?ud.push(fi$3(ld,fd[1],cd,dd)):ud.push(od),fd.shift());let md;if(O$2(!1,fd,-1)===""&&(fd.pop(),md=fd.pop()),fd.length===0)return;for(let[vd,Ad]of fd.entries())vd%2===1?ud.push(x$4):ud.push(Ad);md!==void 0?/\n/u.test(md)?ud.push(fi$3(ld,O$2(!1,ud,-1),cd,dd)):ud.push(od):ud.push(Di$2(ld,O$2(!1,ud,-1),cd,dd))}else/\n/u.test(pd)?pd.match(/\n/gu).length>1&&ud.push("",F$2):ud.push("",od)}else{let pd=nd();if(ud.push(pd),dd&&pr$2(dd)){let fd=Nr$2.trim(fe$6(dd)),[md]=Nr$2.split(fd);ud.push(Di$2(ld,md,cd,dd))}else ud.push(F$2)}},"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$4:F$2:E$4}function fi$3(Ra,qa,nd,od){return Ra?F$2:qa.length===1?nd.type==="JSXElement"&&!nd.closingElement||(od==null?void 0:od.type)==="JSXElement"&&!od.closingElement?F$2:E$4:F$2}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,cd=>cd.type==="ArrowFunctionExpression",L$5,cd=>cd.type==="JSXExpressionContainer"),ud=Be$6(Ra,nd);return l$1([ud?"":b$2("("),f$1([E$4,qa]),E$4,ud?"":b$2(")")],{shouldBreak:ld})}function Dc(Ra,qa,nd){let{node:od}=Ra,ld=[];if(ld.push(nd("name")),od.value){let ud;if(Q$5(od.value)){let cd=fe$6(od.value),dd=N$5(!1,N$5(!1,cd.slice(1,-1),"'","'"),""",'"'),pd=xr$2(dd,qa.jsxSingleQuote);dd=pd==='"'?N$5(!1,dd,'"',"""):N$5(!1,dd,"'","'"),ud=Ra.call(()=>ye$5(Ra,Ie$4(pd+dd+pd),qa),"value")}else ud=nd("value");ld.push("=",ud)}return ld}function fc(Ra,qa,nd){let{node:od}=Ra,ld=(ud,cd)=>ud.type==="JSXEmptyExpression"||!d$1(ud)&&(U$5(ud)||se$5(ud)||ud.type==="ArrowFunctionExpression"||ud.type==="AwaitExpression"&&(ld(ud.argument,ud)||ud.argument.type==="JSXElement")||L$5(ud)||ud.type==="ChainExpression"&&L$5(ud.expression)||ud.type==="FunctionExpression"||ud.type==="TemplateLiteral"||ud.type==="TaggedTemplateExpression"||ud.type==="DoExpression"||X$5(cd)&&(ud.type==="ConditionalExpression"||De$4(ud)));return ld(od.expression,Ra.parent)?l$1(["{",nd("expression"),ke$5,"}"]):l$1(["{",f$1([E$4,nd("expression")]),E$4,ke$5,"}"])}function Ec$1(Ra,qa,nd){var od,ld;let{node:ud}=Ra,cd=d$1(ud.name)||d$1(ud.typeParameters)||d$1(ud.typeArguments);if(ud.selfClosing&&ud.attributes.length===0&&!cd)return["<",nd("name"),ud.typeArguments?nd("typeArguments"):nd("typeParameters")," />"];if(((od=ud.attributes)==null?void 0:od.length)===1&&Q$5(ud.attributes[0].value)&&!ud.attributes[0].value.value.includes(`
|
||
`)&&!cd&&!d$1(ud.attributes[0]))return l$1(["<",nd("name"),ud.typeArguments?nd("typeArguments"):nd("typeParameters")," ",...Ra.map(nd,"attributes"),ud.selfClosing?" />":">"]);let dd=(ld=ud.attributes)==null?void 0:ld.some(fd=>Q$5(fd.value)&&fd.value.value.includes(`
|
||
`)),pd=qa.singleAttributePerLine&&ud.attributes.length>1?F$2:x$4;return l$1(["<",nd("name"),ud.typeArguments?nd("typeArguments"):nd("typeParameters"),f$1(Ra.map(()=>[pd,nd()],"attributes")),...Fc$1(ud,qa,cd)],{shouldBreak:dd})}function Fc$1(Ra,qa,nd){return Ra.selfClosing?[x$4,"/>"]:Cc(Ra,qa,nd)?[">"]:[E$4,">"]}function Cc(Ra,qa,nd){let od=Ra.attributes.length>0&&d$1(O$2(!1,Ra.attributes,-1),g$3.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$1(od.name,g$3.Leading|g$3.Line)?ld.push(f$1([F$2,ud]),F$2):d$1(od.name,g$3.Leading|g$3.Block)?ld.push(" ",ud):ld.push(ud),ld.push(">"),ld}function Tc(Ra,qa){let{node:nd}=Ra,od=d$1(nd),ld=d$1(nd,g$3.Line),ud=nd.type==="JSXOpeningFragment";return[ud?"<":"</",f$1([ld?F$2:od&&!ud?" ":"",M$5(Ra,qa)]),ld?F$2:"",">"]}function dc$1(Ra,qa,nd){let od=ye$5(Ra,cc(Ra,qa,nd),qa);return yc$1(Ra,od,qa)}function xc$1(Ra,qa){let{node:nd}=Ra,od=d$1(nd,g$3.Line);return[M$5(Ra,qa,{indent:od}),od?F$2:""]}function hc(Ra,qa,nd){let{node:od}=Ra;return["{",Ra.call(({node:ld})=>{let ud=["...",nd()];return!d$1(ld)||!zn$3(Ra)?ud:[f$1([E$4,ye$5(Ra,ud,qa)]),E$4]},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$5(":",[nd("namespace"),nd("name")]);case"JSXMemberExpression":return P$5(".",[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$5(Ra.expression)&&Ra.expression.value===" "&&!d$1(Ra.expression)}function Fi$1(Ra){let{node:qa,parent:nd}=Ra;if(!X$5(qa)||!X$5(nd))return!1;let{index:od,siblings:ld}=Ra,ud;for(let cd=od;cd>0;cd--){let dd=ld[cd-1];if(!(dd.type==="JSXText"&&!pr$2(dd))){ud=dd;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=0;function Yr$2(Ra,qa,nd){var od;let{node:ld,parent:ud,grandparent:cd,key:dd}=Ra,pd=dd!=="body"&&(ud.type==="IfStatement"||ud.type==="WhileStatement"||ud.type==="SwitchStatement"||ud.type==="DoWhileStatement"),fd=ld.operator==="|>"&&((od=Ra.root.extra)==null?void 0:od.__isUsingHackPipeline),md=ys$1(Ra,nd,qa,!1,pd);if(pd)return md;if(fd)return l$1(md);if(L$5(ud)&&ud.callee===ld||ud.type==="UnaryExpression"||q$5(ud)&&!ud.computed)return l$1([f$1([E$4,...md]),E$4]);let vd=ud.type==="ReturnStatement"||ud.type==="ThrowStatement"||ud.type==="JSXExpressionContainer"&&cd.type==="JSXAttribute"||ld.operator!=="|"&&ud.type==="JsExpressionRoot"||ld.type!=="NGPipeExpression"&&(ud.type==="NGRoot"&&qa.parser==="__ng_binding"||ud.type==="NGMicrosyntaxExpression"&&cd.type==="NGMicrosyntax"&&cd.body.length===1)||ld===ud.body&&ud.type==="ArrowFunctionExpression"||ld!==ud.body&&ud.type==="ForStatement"||ud.type==="ConditionalExpression"&&cd.type!=="ReturnStatement"&&cd.type!=="ThrowStatement"&&!L$5(cd)||ud.type==="TemplateLiteral",Ad=ud.type==="AssignmentExpression"||ud.type==="VariableDeclarator"||ud.type==="ClassProperty"||ud.type==="PropertyDefinition"||ud.type==="TSAbstractPropertyDefinition"||ud.type==="ClassPrivateProperty"||Ae$5(ud),Nd=De$4(ld.left)&&nr$2(ld.operator,ld.left.operator);if(vd||Ut$4(ld)&&!Nd||!Ut$4(ld)&&Ad)return l$1(md);if(md.length===0)return"";let Id=X$5(ld.right),kd=md.findIndex(Gd=>typeof Gd!="string"&&!Array.isArray(Gd)&&Gd.type===le$5),jd=md.slice(0,kd===-1?1:kd+1),Fd=md.slice(jd.length,Id?-1:void 0),Md=Symbol("logicalChain-"+ ++bc),Ld=l$1([...jd,f$1(Fd)],{id:Md});if(!Id)return Ld;let Hd=O$2(!1,md,-1);return l$1([Ld,At$3(Hd,{groupId:Md})])}function ys$1(Ra,qa,nd,od,ld){var ud;let{node:cd}=Ra;if(!De$4(cd))return[l$1(qa())];let dd=[];nr$2(cd.operator,cd.left.operator)?dd=Ra.call(jd=>ys$1(jd,qa,nd,!0,ld),"left"):dd.push(l$1(qa("left")));let pd=Ut$4(cd),fd=(cd.operator==="|>"||cd.type==="NGPipeExpression"||Pc(Ra,nd))&&!Oe$5(nd.originalText,cd.right),md=cd.type==="NGPipeExpression"?"|":cd.operator,vd=cd.type==="NGPipeExpression"&&cd.arguments.length>0?l$1(f$1([E$4,": ",P$5([x$4,": "],Ra.map(()=>he$3(2,l$1(qa())),"arguments"))])):"",Ad;if(pd)Ad=[md," ",qa("right"),vd];else{let jd=md==="|>"&&((ud=Ra.root.extra)!=null&&ud.__isUsingHackPipeline)?Ra.call(Fd=>ys$1(Fd,qa,nd,!0,ld),"right"):qa("right");Ad=[fd?x$4:"",md,fd?" ":x$4,jd,vd]}let{parent:Nd}=Ra,Id=d$1(cd.left,g$3.Trailing|g$3.Line),kd=Id||!(ld&&cd.type==="LogicalExpression")&&Nd.type!==cd.type&&cd.left.type!==cd.type&&cd.right.type!==cd.type;if(dd.push(fd?"":" ",kd?l$1(Ad,{shouldBreak:Id}):Ad),od&&d$1(cd)){let jd=Wt$3(ye$5(Ra,dd,nd));return jd.type===Pe$5?jd.parts:Array.isArray(jd)?jd:[jd]}return dd}function Ut$4(Ra){return Ra.type!=="LogicalExpression"?!1:!!(se$5(Ra.right)&&Ra.right.properties.length>0||U$5(Ra.right)&&Ra.right.elements.length>0||X$5(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$1(od.node)?" //"+ct$2(od.node)[0].value.trimEnd():""];case"NGPipeExpression":return Yr$2(Ra,qa,nd);case"NGChainedExpression":return l$1(P$5([";",x$4],Ra.map(()=>Ic$1(Ra)?nd():["(",nd(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGMicrosyntax":return Ra.map(()=>[Ra.isFirst?"":Ai$1(Ra)?" ":[";",x$4],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,cd=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"),cd?" ":": ",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$1(["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$1([P$5(x$4,Ra.map(nd,"decorators")),hi$2(od,qa)?F$2:x$4])}function di$3(Ra,qa,nd){return gi$1(Ra.node)?[P$5(F$2,Ra.map(nd,"declaration","decorators")),F$2]:""}function xi$1(Ra,qa,nd){let{node:od,parent:ld}=Ra,{decorators:ud}=od;if(!w$1(ud)||gi$1(ld)||Xr$2(Ra))return"";let cd=od.type==="ClassExpression"||od.type==="ClassDeclaration"||hi$2(od,qa);return[Ra.key==="declaration"&&iu$1(ld)?F$2:cd?Ee$6:"",P$5(x$4,Ra.map(nd,"decorators")),x$4]}function hi$2(Ra,qa){return Ra.decorators.some(nd=>te$5(qa.originalText,k$1(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$1(nd)&&ht$3(Ra,nd[0])}var Dt$3=class extends Error{constructor(){super(...arguments);p_(this,"name","ArgExpansionBailout")}};function Lc(Ra,qa,nd){let{node:od}=Ra,ld=oe$5(od);if(ld.length===0)return["(",M$5(Ra,qa),")"];let ud=ld.length-1;if(_c(ld)){let Ad=["("];return Rt$4(Ra,(Nd,Id)=>{Ad.push(nd()),Id!==ud&&Ad.push(", ")}),Ad.push(")"),Ad}let cd=!1,dd=[];Rt$4(Ra,({node:Ad},Nd)=>{let Id=nd();Nd===ud||(pe$3(Ad,qa)?(cd=!0,Id=[Id,",",F$2,F$2]):Id=[Id,",",x$4]),dd.push(Id)});let pd=od.type==="ImportExpression"||od.callee.type==="Import",fd=!qa.parser.startsWith("__ng_")&&!pd&&ae$3(qa,"all")?",":"";function md(){return l$1(["(",f$1([x$4,...dd]),fd,x$4,")"],{shouldBreak:!0})}if(cd||Ra.parent.type!=="Decorator"&&lu$2(ld))return md();if(Oc(ld)){let Ad=dd.slice(1);if(Ad.some(ne$5))return md();let Nd;try{Nd=nd(Rn$2(od,0),{expandFirstArg:!0})}catch(Id){if(Id instanceof Dt$3)return md();throw Id}return ne$5(Nd)?[Ee$6,ze$5([["(",l$1(Nd,{shouldBreak:!0}),", ",...Ad,")"],md()])]:ze$5([["(",Nd,", ",...Ad,")"],["(",l$1(Nd,{shouldBreak:!0}),", ",...Ad,")"],md()])}if(wc(ld,dd,qa)){let Ad=dd.slice(0,-1);if(Ad.some(ne$5))return md();let Nd;try{Nd=nd(Rn$2(od,-1),{expandLastArg:!0})}catch(Id){if(Id instanceof Dt$3)return md();throw Id}return ne$5(Nd)?[Ee$6,ze$5([["(",...Ad,l$1(Nd,{shouldBreak:!0}),")"],md()])]:ze$5([["(",...Ad,Nd,")"],["(",...Ad,l$1(Nd,{shouldBreak:!0}),")"],md()])}let vd=["(",f$1([E$4,...dd]),b$2(fd),E$4,")"];return Or$2(Ra)?vd:l$1(vd,{shouldBreak:dd.some(ne$5)||cd})}function cr$2(Ra,qa=!1){return se$5(Ra)&&(Ra.properties.length>0||d$1(Ra))||U$5(Ra)&&(Ra.elements.length>0||d$1(Ra))||Ra.type==="TSTypeAssertion"&&cr$2(Ra.expression)||Te$4(Ra)&&cr$2(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$2(Ra.body,!0)||se$5(Ra.body)||U$5(Ra.body)||!qa&&(L$5(Ra.body)||Ra.body.type==="ConditionalExpression")||X$5(Ra.body))||Ra.type==="DoExpression"||Ra.type==="ModuleExpression"}function wc(Ra,qa,nd){var od,ld;let ud=O$2(!1,Ra,-1);if(Ra.length===1){let dd=O$2(!1,qa,-1);if((od=dd.label)!=null&&od.embed&&((ld=dd.label)==null?void 0:ld.hug)!==!1)return!0}let cd=O$2(!1,Ra,-2);return!d$1(ud,g$3.Leading)&&!d$1(ud,g$3.Trailing)&&cr$2(ud)&&(!cd||cd.type!==ud.type)&&(Ra.length!==2||cd.type!=="ArrowFunctionExpression"||!U$5(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$1(qa)&&(qa.type==="FunctionExpression"||qa.type==="ArrowFunctionExpression"&&qa.body.type==="BlockStatement")&&nd.type!=="FunctionExpression"&&nd.type!=="ArrowFunctionExpression"&&nd.type!=="ConditionalExpression"&&Bi$1(nd)&&!cr$2(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$6(Ra.expression,1)}return lt$3(Ra)&&oe$5(Ra).length>1?!1:De$4(Ra)?be$6(Ra.left,1)&&be$6(Ra.right,1):vn$2(Ra)||be$6(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$5(nd).length===0&&nd.body.type==="BlockStatement"&&od.type==="ArrayExpression"&&!Ra.some(ld=>d$1(ld))}function jc$1(Ra){return Ra.type==="BlockStatement"&&(Ra.body.some(qa=>qa.type!=="EmptyStatement")||d$1(Ra,g$3.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$5(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$5(Ra)&&oe$5(Ra).length>0);function bi$1(Ra,qa,nd){var od;let ld=nd("object"),ud=Es(Ra,qa,nd),{node:cd}=Ra,dd=Ra.findAncestor(md=>!(q$5(md)||md.type==="TSNonNullExpression")),pd=Ra.findAncestor(md=>!(md.type==="ChainExpression"||md.type==="TSNonNullExpression")),fd=dd&&(dd.type==="NewExpression"||dd.type==="BindExpression"||dd.type==="AssignmentExpression"&&dd.left.type!=="Identifier")||cd.computed||cd.object.type==="Identifier"&&cd.property.type==="Identifier"&&!q$5(pd)||(pd.type==="AssignmentExpression"||pd.type==="VariableDeclarator")&&(Mc$1(cd.object)||((od=ld.label)==null?void 0:od.memberChain));return it$3(ld.label,[ld,fd?ud:l$1(f$1([E$4,ud]))])}function Es(Ra,qa,nd){let od=nd("property"),{node:ld}=Ra,ud=V$5(Ra);return ld.computed?!ld.property||Ce$4(ld.property)?[ud,"[",od,"]"]:l$1([ud,"[",f$1([E$4,od]),E$4,"]"]):[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 cd(Ef){let{originalText:gf}=qa,xf=yt$2(gf,k$1(Ef));return gf.charAt(xf)===")"?xf!==!1&&Ot$3(gf,xf+1):pe$3(Ef,qa)}function dd(Ef){let{node:gf}=Ef;if(gf.type==="ChainExpression")return Ef.call(()=>dd(Ef),"expression");if(L$5(gf)&&(Ft$4(gf.callee)||L$5(gf.callee))){let xf=cd(gf);ud.unshift({node:gf,hasTrailingEmptyLine:xf,printed:[ye$5(Ef,[V$5(Ef),Qe$3(Ef,qa,nd),lr$1(Ef,qa,nd)],qa),xf?F$2:""]}),Ef.call(Af=>dd(Af),"callee")}else Ft$4(gf)?(ud.unshift({node:gf,needsParens:Be$6(Ef,qa),printed:ye$5(Ef,q$5(gf)?Es(Ef,qa,nd):Hr$3(Ef,qa,nd),qa)}),Ef.call(xf=>dd(xf),"object")):gf.type==="TSNonNullExpression"?(ud.unshift({node:gf,printed:ye$5(Ef,"!",qa)}),Ef.call(xf=>dd(xf),"expression")):ud.unshift({node:gf,printed:nd()})}let{node:pd}=Ra;ud.unshift({node:pd,printed:[V$5(Ra),Qe$3(Ra,qa,nd),lr$1(Ra,qa,nd)]}),pd.callee&&Ra.call(Ef=>dd(Ef),"callee");let fd=[],md=[ud[0]],vd=1;for(;vd<ud.length&&(ud[vd].node.type==="TSNonNullExpression"||L$5(ud[vd].node)||q$5(ud[vd].node)&&ud[vd].node.computed&&Ce$4(ud[vd].node.property));++vd)md.push(ud[vd]);if(!L$5(ud[0].node))for(;vd+1<ud.length&&Ft$4(ud[vd].node)&&Ft$4(ud[vd+1].node);++vd)md.push(ud[vd]);fd.push(md),md=[];let Ad=!1;for(;vd<ud.length;++vd){if(Ad&&Ft$4(ud[vd].node)){if(ud[vd].node.computed&&Ce$4(ud[vd].node.property)){md.push(ud[vd]);continue}fd.push(md),md=[],Ad=!1}(L$5(ud[vd].node)||ud[vd].node.type==="ImportExpression")&&(Ad=!0),md.push(ud[vd]),d$1(ud[vd].node,g$3.Trailing)&&(fd.push(md),md=[],Ad=!1)}md.length>0&&fd.push(md);function Nd(Ef){return/^[A-Z]|^[$_]+$/u.test(Ef)}function Id(Ef){return Ef.length<=qa.tabWidth}function kd(Ef){var gf;let xf=(gf=Ef[1][0])==null?void 0:gf.node.computed;if(Ef[0].length===1){let Lf=Ef[0][0].node;return Lf.type==="ThisExpression"||Lf.type==="Identifier"&&(Nd(Lf.name)||ld&&Id(Lf.name)||xf)}let Af=O$2(!1,Ef[0],-1).node;return q$5(Af)&&Af.property.type==="Identifier"&&(Nd(Af.property.name)||xf)}let jd=fd.length>=2&&!d$1(fd[1][0].node)&&kd(fd);function Fd(Ef){let gf=Ef.map(xf=>xf.printed);return Ef.length>0&&O$2(!1,Ef,-1).needsParens?["(",...gf,")"]:gf}function Md(Ef){return Ef.length===0?"":f$1([F$2,P$5(F$2,Ef.map(Fd))])}let Ld=fd.map(Fd),Hd=Ld,Gd=jd?3:2,Vd=fd.flat(),Kd=Vd.slice(1,-1).some(Ef=>d$1(Ef.node,g$3.Leading))||Vd.slice(0,-1).some(Ef=>d$1(Ef.node,g$3.Trailing))||fd[Gd]&&d$1(fd[Gd][0].node,g$3.Leading);if(fd.length<=Gd&&!Kd&&!fd.some(Ef=>O$2(!1,Ef,-1).hasTrailingEmptyLine))return Or$2(Ra)?Hd:l$1(Hd);let mf=O$2(!1,fd[jd?1:0],-1).node,Wd=!L$5(mf)&&cd(mf),Zd=[Fd(fd[0]),jd?fd.slice(1,2).map(Fd):"",Wd?F$2:"",Md(fd.slice(jd?2:1))],Xd=ud.map(({node:Ef})=>Ef).filter(L$5);function bf(){let Ef=O$2(!1,O$2(!1,fd,-1),-1).node,gf=O$2(!1,Ld,-1);return L$5(Ef)&&ne$5(gf)&&Xd.slice(0,-1).some(xf=>xf.arguments.some(_t$3))}let yf;return Kd||Xd.length>2&&Xd.some(Ef=>!Ef.arguments.every(gf=>be$6(gf)))||Ld.slice(0,-1).some(ne$5)||bf()?yf=l$1(Zd):yf=[ne$5(Hd)||Wd?Ee$6:"",ze$5([Hd,Zd])],it$3({memberChain:!0},yf)}var ki$1=Pi$1;function Vr$2(Ra,qa,nd){var od;let{node:ld}=Ra,ud=ld.type==="NewExpression",cd=ld.type==="ImportExpression",dd=V$5(Ra),pd=oe$5(ld),fd=pd.length===1&&Lr$2(pd[0],qa.originalText);if(fd||Rc$1(Ra)||St$3(ld,Ra.parent)){let vd=[];if(Rt$4(Ra,()=>{vd.push(nd())}),!(fd&&(od=vd[0].label)!=null&&od.embed))return[ud?"new ":"",Ii(Ra,nd),dd,Qe$3(Ra,qa,nd),"(",P$5(", ",vd),")"]}if(!cd&&!ud&&Ft$4(ld.callee)&&!Ra.call(vd=>Be$6(vd,qa),"callee",...ld.callee.type==="ChainExpression"?["expression"]:[]))return ki$1(Ra,qa,nd);let md=[ud?"new ":"",Ii(Ra,nd),dd,Qe$3(Ra,qa,nd),lr$1(Ra,qa,nd)];return cd||L$5(ld.callee)?l$1(md):md}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$5(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$5(nd[0])&&nd[1].type==="ArrayExpression":!1}function Tt$3(Ra,qa,nd,od,ld,ud){let cd=Jc$1(Ra,qa,nd,od,ud),dd=ud?nd(ud,{assignmentLayout:cd}):"";switch(cd){case"break-after-operator":return l$1([l$1(od),ld,l$1(f$1([x$4,dd]))]);case"never-break-after-operator":return l$1([l$1(od),ld," ",dd]);case"fluid":{let pd=Symbol("assignment");return l$1([l$1(od),ld,l$1(f$1(x$4),{id:pd}),ke$5,At$3(dd,{groupId:pd})])}case"break-lhs":return l$1([od,ld," ",l$1(dd)]);case"chain":return[l$1(od),ld,x$4,dd];case"chain-tail":return[l$1(od),ld,f$1([x$4,dd])];case"chain-tail-arrow-chain":return[l$1(od),ld,dd];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,cd=ud[ld];if(!cd)return"only-left";let dd=!$r$2(cd);if(Ra.match($r$2,_i$1,md=>!dd||md.type!=="ExpressionStatement"&&md.type!=="VariableDeclaration"))return dd?cd.type==="ArrowFunctionExpression"&&cd.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!dd&&$r$2(cd.right)||Oe$5(qa.originalText,cd))return"break-after-operator";if(ud.type==="ImportAttribute"||cd.type==="CallExpression"&&cd.callee.name==="require"||qa.parser==="json5"||qa.parser==="jsonc"||qa.parser==="json")return"never-break-after-operator";let pd=Bu$1(od);if(Wc$1(ud)||Xc$1(ud)||Fs(ud)&&pd)return"break-lhs";let fd=Hc$1(ud,od,qa);return Ra.call(()=>qc(Ra,qa,nd,fd),ld)?"break-after-operator":Gc$1(ud)?"break-lhs":!pd&&(fd||cd.type==="TemplateLiteral"||cd.type==="TaggedTemplateExpression"||cd.type==="BooleanLiteral"||Ce$4(cd)||cd.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:fd}=ld;return De$4(fd)&&!Ut$4(fd)}let{consequent:dd,alternate:pd}=ld;return dd.type==="ConditionalExpression"||pd.type==="ConditionalExpression"}case"ClassExpression":return w$1(ld.decorators)}if(od)return!1;let ud=ld,cd=[];for(;;)if(ud.type==="UnaryExpression"||ud.type==="AwaitExpression"||ud.type==="YieldExpression"&&ud.argument!==null)ud=ud.argument,cd.push("argument");else if(ud.type==="TSNonNullExpression")ud=ud.expression,cd.push("expression");else break;return!!(Q$5(ud)||Ra.call(()=>ji(Ra,qa,nd),...cd))}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$1(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$1(["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$1(nd)&&nd.length>1&&nd.some(od=>w$1(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$1(["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,cd=()=>ji(Ra,qa,nd,!0);if(ud.type==="ChainExpression"||ud.type==="TSNonNullExpression")return Ra.call(cd,"expression");if(L$5(ud)){if((ld=Vr$2(Ra,qa,nd).label)!=null&&ld.memberChain)return!1;let dd=oe$5(ud);return!(dd.length===0||dd.length===1&&rr$2(dd[0],qa))||Vc$1(ud,nd)?!1:Ra.call(cd,"callee")}return q$5(ud)?Ra.call(cd,"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$1(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,cd=K$5(ud),dd=ld?Qe$3(Ra,nd,qa):"";if(cd.length===0)return[dd,"(",M$5(Ra,nd,{filter:Nd=>ge$6(nd.originalText,k$1(Nd))===")"}),")"];let{parent:pd}=Ra,fd=St$3(pd),md=Cs(ud),vd=[];if(fu$1(Ra,(Nd,Id)=>{let kd=Id===cd.length-1;kd&&ud.rest&&vd.push("..."),vd.push(qa()),!kd&&(vd.push(","),fd||md?vd.push(" "):pe$3(cd[Id],nd)?vd.push(F$2,F$2):vd.push(x$4))}),od&&!Qc$1(Ra)){if(ne$5(dd)||ne$5(vd))throw new Dt$3;return l$1([ur$2(dd),"(",ur$2(vd),")"])}let Ad=cd.every(Nd=>!w$1(Nd.decorators));return md&&Ad?[dd,"(",...vd,")"]:fd?[dd,"(",...vd,")"]:(Ir$2(pd)||ou$2(pd)||pd.type==="TypeAlias"||pd.type==="UnionTypeAnnotation"||pd.type==="IntersectionTypeAnnotation"||pd.type==="FunctionTypeAnnotation"&&pd.returnType===ud)&&cd.length===1&&cd[0].name===null&&ud.this!==cd[0]&&cd[0].typeAnnotation&&ud.typeParameters===null&&Mt$4(cd[0].typeAnnotation)&&!ud.rest?nd.arrowParens==="always"||ud.type==="HookTypeAnnotation"?["(",...vd,")"]:vd:[dd,"(",f$1([E$4,...vd]),b$2(!Du$2(ud)&&ae$3(nd,"all")?",":""),E$4,")"]}function Cs(Ra){if(!Ra)return!1;let qa=K$5(Ra);if(qa.length!==1)return!1;let[nd]=qa;return!d$1(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$5(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$5(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$5(Ra);return qa.length>1&&qa.some(nd=>nd.type==="TSParameterProperty")}var Zc$1=v$1(["VoidTypeAnnotation","TSVoidKeyword","NullLiteralTypeAnnotation","TSNullKeyword"]),el$2=v$1(["ObjectTypeAnnotation","TSTypeLiteral","GenericTypeAnnotation","TSTypeReference"]);function tl$2(Ra){let{types:qa}=Ra;if(qa.some(od=>d$1(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 cd=ld.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[Tt$3(Ra,qa,nd,ud," =",cd),od]}function zr$2(Ra,qa,nd){let od=!1;return l$1(Ra.map(({isFirst:ld,previous:ud,node:cd,index:dd})=>{let pd=nd();if(ld)return pd;let fd=we$5(cd),md=we$5(ud);return md&&fd?[" & ",od?f$1(pd):pd]:!md&&!fd?f$1([" &",x$4,pd]):(dd>1&&(od=!0),[" & ",dd>1?f$1(pd):pd])},"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)),cd=As$1(od),dd=Ra.map(md=>{let vd=nd();return cd||(vd=he$3(2,vd)),ye$5(md,vd,qa)},"types");if(cd)return P$5(" | ",dd);let pd=ud&&!Oe$5(qa.originalText,od),fd=[b$2([pd?x$4:"","| "]),P$5([x$4,"| "],dd)];return Be$6(Ra,qa)?l$1([f$1(fd),E$4]):(ld.type==="TupleTypeAnnotation"||ld.type==="TSTupleType")&&ld[ld.type==="TupleTypeAnnotation"&&ld.types?"types":"elementTypes"].length>1?l$1([f$1([b$2(["(",E$4]),fd]),E$4,b$2(")")]):l$1(ud?f$1(fd):fd)}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),cd=[];return od.type==="FunctionTypeAnnotation"?cd.push(rl$2(Ra)?" => ":": ",nd("returnType")):cd.push(Y$4(Ra,nd,od.returnType?"returnType":"typeAnnotation")),ot$3(od,cd)&&(ud=l$1(ud)),ld.push(ud,cd),l$1(ld)}function en$3(Ra,qa,nd){return[nd("objectType"),V$5(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$4(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$4(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$1(od,g$3.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$3({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$4(Ra,qa)]:""]}function V$5(Ra){let{node:qa}=Ra;return!qa.optional||qa.type==="Identifier"&&qa===Ra.parent.key?"":L$5(qa)||q$5(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$1([x$4,qa])}function cn$3(Ra,qa){return["...",qa("argument"),Y$4(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$1(ld,g$3.Dangling)?l$1([nd,ud,M$5(Ra,qa,{indent:!0}),E$4,od]):[nd,ud,od]}function Yt$2(Ra,qa,nd){let{node:od}=Ra,ld=[],ud=od.type==="TupleExpression"?"#[":"[",cd="]",dd=od.type==="TupleTypeAnnotation"&&od.types?"types":od.type==="TSTupleType"||od.type==="TupleTypeAnnotation"?"elementTypes":"elements",pd=od[dd];if(pd.length===0)ld.push(il$2(Ra,qa,ud,cd));else{let fd=O$2(!1,pd,-1),md=(fd==null?void 0:fd.type)!=="RestElement"&&!od.inexact,vd=fd===null,Ad=Symbol("array"),Nd=!qa.__inJestEach&&pd.length>1&&pd.every((jd,Fd,Md)=>{let Ld=jd==null?void 0:jd.type;if(!U$5(jd)&&!se$5(jd))return!1;let Hd=Md[Fd+1];if(Hd&&Ld!==Hd.type)return!1;let Gd=U$5(jd)?"elements":"properties";return jd[Gd]&&jd[Gd].length>1}),Id=fs$1(od,qa),kd=md?vd?",":ae$3(qa)?Id?b$2(",","",{groupId:Ad}):b$2(","):"":"";ld.push(l$1([ud,f$1([E$4,Id?ol$2(Ra,qa,nd,kd):[al$2(Ra,qa,dd,od.inexact,nd),kd],M$5(Ra,qa)]),E$4,cd],{shouldBreak:Nd,id:Ad}))}return ld.push(V$5(Ra),Y$4(Ra,nd)),ld}function fs$1(Ra,qa){return U$5(Ra)&&Ra.elements.length>1&&Ra.elements.every(nd=>nd&&(Ce$4(nd)||jn$2(nd)&&!d$1(nd.argument))&&!d$1(nd,g$3.Trailing|g$3.Line,od=>!te$5(qa.originalText,R$5(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$1(Ra)))}function al$2(Ra,qa,nd,od,ld){let ud=[];return Ra.each(({node:cd,isLast:dd})=>{ud.push(cd?l$1(ld()):""),(!dd||od)&&ud.push([",",x$4,cd&&Ji$2(Ra,qa)?E$4:""])},nd),od&&ud.push("..."),ud}function ol$2(Ra,qa,nd,od){let ld=[];return Ra.each(({isLast:ud,next:cd})=>{ld.push([nd(),ud?od:","]),ud||ld.push(Ji$2(Ra,qa)?[F$2,F$2]:d$1(cd,g$3.Leading|g$3.Line)?F$2:x$4)},"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$2=Ra=>pl$2.test(Ra),Wi$1=cl$2;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$5(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 cd=Ra.siblings.some(dd=>!dd.computed&&Q$5(dd.key)&&!Gi(dd,qa));mn$3.set(ld,cd)}if(ml$2(Ra,qa)){let cd=tt$4(JSON.stringify(ud.type==="Identifier"?ud.name:ud.value.toString()),qa);return Ra.call(dd=>ye$5(dd,cd,qa),"key")}return Gi(od,qa)&&(qa.quoteProps==="as-needed"||qa.quoteProps==="consistent"&&!mn$3.get(ld))?Ra.call(cd=>ye$5(cd,/^\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:md}=Ra;L$5(md)&&(oe$5(md).length>1||K$5(ld).every(vd=>vd.type==="Identifier"&&!vd.typeAnnotation))&&(ud=!0)}let cd=[$$3(Ra),ld.async?"async ":"",`function${ld.generator?"*":""} `,ld.id?qa("id"):""],dd=Je$3(Ra,qa,nd,ud),pd=Ht$3(Ra,qa),fd=ot$3(ld,pd);return cd.push(Qe$3(Ra,nd,qa),l$1([fd?l$1(dd):dd,pd]),ld.body?" ":"",qa("body")),nd.semi&&(ld.declare||!ld.body)&&cd.push(";"),cd}function mr$1(Ra,qa,nd){let{node:od}=Ra,{kind:ld}=od,ud=od.value||od,cd=[];return!ld||ld==="init"||ld==="method"||ld==="constructor"?ud.async&&cd.push("async "):(ln$3.ok(ld==="get"||ld==="set"),cd.push(ld," ")),ud.generator&&cd.push("*"),cd.push(Et$3(Ra,qa,nd),od.optional||od.key.optional?"?":"",od===ud?fn$3(Ra,qa,nd):nd("value")),cd}function fn$3(Ra,qa,nd){let{node:od}=Ra,ld=Je$3(Ra,nd,qa),ud=Ht$3(Ra,nd),cd=vi$1(od),dd=ot$3(od,ud),pd=[Qe$3(Ra,qa,nd),l$1([cd?l$1(ld,{shouldBreak:!0}):dd?l$1(ld):ld,ud])];return od.body?pd.push(" ",nd("body")):pd.push(qa.semi?";":""),pd}function Dl$2(Ra){let qa=K$5(Ra);return qa.length===1&&!Ra.typeParameters&&!d$1(Ra,g$3.Dangling)&&qa[0].type==="Identifier"&&!qa[0].typeAnnotation&&!d$1(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$4(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 pd=nd("argument");fl$2(qa,od.argument)?pd=["(",f$1([F$2,pd]),F$2,")"]:(De$4(od.argument)||od.argument.type==="SequenceExpression"||qa.experimentalTernaries&&od.argument.type==="ConditionalExpression"&&(od.argument.consequent.type==="ConditionalExpression"||od.argument.alternate.type==="ConditionalExpression"))&&(pd=l$1([b$2("("),f$1([E$4,pd]),E$4,b$2(")")])),ud.push(" ",pd)}let cd=d$1(od,g$3.Dangling),dd=ld&&cd&&d$1(od,g$3.Last|g$3.Line);return dd&&ud.push(ld),cd&&ud.push(" ",M$5(Ra,qa)),dd||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$1(qa,g$3.Leading,nd=>de$4(Ra.originalText,R$5(nd),k$1(nd)))&&!X$5(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,cd=[],dd=!1,pd=!od.expandLastArg&&Ra.node.body.type==="ArrowFunctionExpression",fd;(function jd(){let{node:Fd}=Ra,Md=El$2(Ra,qa,nd,od);if(ld.length===0)ld.push(Md);else{let{leading:Ld,trailing:Hd}=os$1(Ra,qa);ld.push([Ld,Md]),cd.unshift(Hd)}pd&&(dd||(dd=Fd.returnType&&K$5(Fd).length>0||Fd.typeParameters||K$5(Fd).some(Ld=>Ld.type!=="Identifier"))),!pd||Fd.body.type!=="ArrowFunctionExpression"?(ud=nd("body",od),fd=Fd.body):Ra.call(jd,"body")})();let md=!Oe$5(qa.originalText,fd)&&(Vi(fd)||Fl$2(fd,ud,qa)||!dd&&Hi(fd)),vd=Ra.key==="callee"&<$3(Ra.parent),Ad=Symbol("arrow-chain"),Nd=Cl$2(Ra,od,{signatureDocs:ld,shouldBreak:dd}),Id,kd=!1;return pd&&(vd||od.assignmentLayout)&&(kd=!0,Id=od.assignmentLayout==="chain-tail-arrow-chain"||vd&&!md),ud=Al$2(Ra,qa,od,{bodyDoc:ud,bodyComments:cd,functionBody:fd,shouldPutBodyOnSameLine:md}),l$1([l$1(kd?f$1([E$4,Nd]):Nd,{shouldBreak:Id,id:Ad})," =>",pd?At$3(ud,{groupId:Ad}):l$1(ud),pd&&vd?b$2(E$4,"",{groupId:Ad}):""])}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 dd=od.expandLastArg||od.expandFirstArg,pd=Ht$3(Ra,nd);if(dd){if(ne$5(pd))throw new Dt$3;pd=l$1(ur$2(pd))}ud.push(l$1([Je$3(Ra,nd,qa,dd,!0),pd]))}let cd=M$5(Ra,qa,{filter(dd){let pd=yt$2(qa.originalText,k$1(dd));return pd!==!1&&qa.originalText.slice(pd,pd+2)==="=>"}});return cd&&ud.push(" ",cd),ud}function Fl$2(Ra,qa,nd){var od,ld;return U$5(Ra)||se$5(Ra)||Ra.type==="ArrowFunctionExpression"||Ra.type==="DoExpression"||Ra.type==="BlockStatement"||X$5(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$1([nd[0]," =>",f$1([x$4,P$5([" =>",x$4],nd.slice(1))])],{shouldBreak:od}):ud==="callee"&<$3(ld)||qa.assignmentLayout?l$1(P$5([" =>",x$4],nd),{shouldBreak:od}):l$1(f$1(P$5([" =>",x$4],nd)),{shouldBreak:od})}function Al$2(Ra,qa,nd,{bodyDoc:od,bodyComments:ld,functionBody:ud,shouldPutBodyOnSameLine:cd}){let{node:dd,parent:pd}=Ra,fd=nd.expandLastArg&&ae$3(qa,"all")?b$2(","):"",md=(nd.expandLastArg||pd.type==="JSXExpressionContainer")&&!d$1(dd)?E$4:"";return cd&&Hi(ud)?[" ",l$1([b$2("","("),f$1([E$4,od]),b$2("",")"),fd,md]),ld]:(Vi(ud)&&(od=l$1(["(",f$1([E$4,od]),E$4,")"])),cd?[" ",od,ld]:[f$1([x$4,od,ld]),fd,md])}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=[],cd=Ki$1(!1,ld[od],dd=>dd.type!=="EmptyStatement");return Ra.each(({node:dd})=>{dd.type!=="EmptyStatement"&&(ud.push(nd()),dd!==cd&&(ud.push(F$2),pe$3(dd,qa)&&ud.push(F$2)))},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$2]:"";let cd=[];if(ld.type==="StaticBlock"&&cd.push("static "),cd.push("{"),od)cd.push(f$1([F$2,od]),F$2);else{let dd=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"&&!dd.finalizer||ud.type==="TSModuleDeclaration"||ld.type==="StaticBlock"||cd.push(F$2)}return cd.push("}"),cd}function dl$2(Ra,qa,nd){let{node:od}=Ra,ld=w$1(od.directives),ud=od.body.some(pd=>pd.type!=="EmptyStatement"),cd=d$1(od,g$3.Dangling);if(!ld&&!ud&&!cd)return"";let dd=[];return ld&&(dd.push(yr$1(Ra,qa,nd,"directives")),(ud||cd)&&(dd.push(F$2),pe$3(O$2(!1,od.directives,-1),qa)&&dd.push(F$2))),ud&&dd.push(yr$1(Ra,qa,nd,"body")),cd&&dd.push(M$5(Ra,qa)),dd}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$1([od.variance?nd("variance"):"","[",f$1([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$5(od),R$5(od.typeParameter));return l$1(["{",f$1([qa.bracketSpacing?x$4:E$4,l$1([nd("typeParameter"),od.optional?xs$1(od.optional,"?"):"",od.typeAnnotation?": ":"",nd("typeAnnotation")]),qa.semi?b$2(";"):""]),M$5(Ra,qa),qa.bracketSpacing?x$4:E$4,"}"],{shouldBreak:ld})}var Dr$1=Cn$2("typeParameters");function gl$2(Ra,qa,nd){let{node:od}=Ra;return K$5(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),cd=Ra.match(pd=>!(pd[od].length===1&&we$5(pd[od][0])),void 0,(pd,fd)=>fd==="typeAnnotation",pd=>pd.type==="Identifier",Fs);if(ld[od].length===0||!cd&&(ud||ld[od].length===1&&(ld[od][0].type==="NullableTypeAnnotation"||As$1(ld[od][0]))))return["<",P$5(", ",Ra.map(nd,od)),Sl$2(Ra,qa),">"];let dd=ld.type==="TSTypeParameterInstantiation"?"":gl$2(Ra,qa,od)?",":ae$3(qa)?b$2(","):"";return l$1(["<",f$1([E$4,P$5([",",x$4],Ra.map(nd,od))]),dd,E$4,">"],{id:Dr$1(ld)})}function Sl$2(Ra,qa){let{node:nd}=Ra;if(!d$1(nd,g$3.Dangling))return"";let od=!d$1(nd,g$3.Line),ld=M$5(Ra,qa,{indent:!od});return od?ld:[ld,F$2]}function An$2(Ra,qa,nd){let{node:od,parent:ld}=Ra,ud=[od.type==="TSTypeParameter"&&od.const?"const ":""],cd=od.type==="TSTypeParameter"?nd("name"):od.name;if(ld.type==="TSMappedType")return ld.readonly&&ud.push(xs$1(ld.readonly,"readonly")," "),ud.push("[",cd),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(cd),od.bound&&(od.usesExtendsBound&&ud.push(" extends "),ud.push(Y$4(Ra,nd,"bound"))),od.constraint){let dd=Symbol("constraint");ud.push(" extends",l$1(f$1(x$4),{id:dd}),ke$5,At$3(nd("constraint"),{groupId:dd}))}return od.default&&ud.push(" = ",nd("default")),l$1(ud)}var Zi$1=v$1(["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$1(od.id,g$3.Trailing)||d$1(od.typeParameters,g$3.Trailing)||d$1(od.superClass)||w$1(od.extends)||w$1(od.mixins)||w$1(od.implements),cd=[],dd=[];if(od.id&&cd.push(" ",nd("id")),cd.push(nd("typeParameters")),od.superClass){let pd=[bl$2(Ra,qa,nd),nd(od.superTypeArguments?"superTypeArguments":"superTypeParameters")],fd=Ra.call(md=>["extends ",ye$5(md,pd,qa)],"superClass");ud?dd.push(x$4,l$1(fd)):dd.push(" ",fd)}else dd.push(hs(Ra,qa,nd,"extends"));if(dd.push(hs(Ra,qa,nd,"mixins"),hs(Ra,qa,nd,"implements")),ud){let pd;ta$1(od)?pd=[...cd,f$1(dd)]:pd=f$1([...cd,dd]),ld.push(l$1(pd,{id:ea(od)}))}else ld.push(...cd,...dd);return ld.push(" ",nd("body")),ld}var ea=Cn$2("heritageGroup");function gs$2(Ra){return b$2(F$2,"",{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$1(Ra.typeParameters,g$3.Trailing|g$3.Line)&&!Bl$2(Ra)}function hs(Ra,qa,nd,od){let{node:ld}=Ra;if(!w$1(ld[od]))return"";let ud=M$5(Ra,qa,{marker:od});return[ta$1(ld)?b$2(" ",x$4,{groupId:Dr$1(ld.typeParameters)}):x$4,ud,ud&&F$2,od,l$1(f$1([x$4,P$5([",",x$4],Ra.map(nd,od))]))]}function bl$2(Ra,qa,nd){let od=nd("superClass"),{parent:ld}=Ra;return ld.type==="AssignmentExpression"?l$1(b$2(["(",f$1([E$4,od]),E$4,")"],od)):od}function dn$4(Ra,qa,nd){let{node:od}=Ra,ld=[];return w$1(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$1(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$5(Ra),pn$3(Ra),Y$4(Ra,nd));let cd=od.type==="TSAbstractPropertyDefinition"||od.type==="TSAbstractAccessorProperty";return[Tt$3(Ra,qa,nd,ld," =",cd?void 0:"value"),ud]}function ra$2(Ra,qa,nd){let{node:od}=Ra,ld=[];return Ra.each(({node:ud,next:cd,isLast:dd})=>{ld.push(nd()),!qa.semi&&Zi$1(ud)&&Pl$2(ud,cd)&&ld.push(";"),dd||(ld.push(F$2),pe$3(ud,qa)&&ld.push(F$2))},"body"),d$1(od,g$3.Dangling)&&ld.push(M$5(Ra,qa)),[w$1(od.body)?gs$2(Ra.parent):"","{",ld.length>0?[f$1([F$2,ld]),F$2]:"","}"]}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(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$5(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$5(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({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(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$5([",",x$4],od);return qa.__isVueForBindingLeft?["(",f$1([E$4,l$1(ld)]),E$4,")"]:ld}if(qa.__isEmbeddedTypescriptGenericParameters){let od=Ra.map(nd,"program","body",0,"typeParameters","params");return P$5([",",x$4],od)}}function pa$1(Ra,qa){let{node:nd}=Ra;switch(nd.type){case"RegExpLiteral":return aa$2(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$2(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$2({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$5(ld);if(ud>nd)break;let cd=k$1(ld);if(cd<qa)continue;let dd=cd-ud;od=od.slice(0,ud-qa)+" ".repeat(dd)+od.slice(cd-qa)}return od}var fr$1=Il$2;function ca$1(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:cd}=od;return d$1(od,g$3.Dangling)&&(ld.push(" ",M$5(Ra,qa)),wr$2(od)&&ld.push(F$2)),ud?ld.push(" ",nd("declaration")):(ld.push(Ol$2(od)),od.type==="ExportAllDeclaration"||od.type==="DeclareExportAllDeclaration"?(ld.push(" *"),cd&&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$1(["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$1(od.specifiers)){let ud=[],cd=[];Ra.each(()=>{let dd=Ra.node.type;if(dd==="ExportNamespaceSpecifier"||dd==="ExportDefaultSpecifier"||dd==="ImportNamespaceSpecifier"||dd==="ImportDefaultSpecifier")ud.push(nd());else if(dd==="ExportSpecifier"||dd==="ImportSpecifier")cd.push(nd());else throw new Me$5(od,"specifier")},"specifiers"),ld.push(P$5(", ",ud)),cd.length>0&&(ud.length>0&&ld.push(", "),cd.length>1||ud.length>0||od.specifiers.some(dd=>d$1(dd))?ld.push(l$1(["{",f$1([qa.bracketSpacing?x$4:E$4,P$5([",",x$4],cd)]),b$2(ae$3(qa)?",":""),qa.bracketSpacing?x$4:E$4,"}"])):ld.push(["{",qa.bracketSpacing?" ":"",...cd,qa.bracketSpacing?" ":"","}"]))}else ld.push("{}");return ld}function Da(Ra,qa){return Ra.type!=="ImportDeclaration"||w$1(Ra.specifiers)||Ra.importKind==="type"?!0:fr$1(qa,R$5(Ra),R$5(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$1(Ra.source),(od=Ra.attributes)!=null&&od[0]?R$5(Ra.attributes[0]):k$1(Ra)).trimStart();return ld.startsWith("assert")?"assert":ld.startsWith("with")||w$1(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$1(od.attributes)&&(qa.bracketSpacing&&ud.push(" "),ud.push(P$5(", ",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"),cd=ud?"imported":"local",dd=ud?"local":"exported",pd=od[cd],fd=od[dd],md="",vd="";return ld==="ExportNamespaceSpecifier"||ld==="ImportNamespaceSpecifier"?md="*":pd&&(md=nd(cd)),fd&&!jl$2(od)&&(vd=nd(dd)),[Ps(ld==="ImportSpecifier"?od.importKind:od.exportKind,!1),md,md&&vd?" as ":"",vd]}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$5(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,cd=ud.type==="ObjectTypeAnnotation",dd=ud.type==="TSEnumDeclaration"||ud.type==="EnumBooleanBody"||ud.type==="EnumNumberBody"||ud.type==="EnumBigIntBody"||ud.type==="EnumStringBody"||ud.type==="EnumSymbolBody",pd=[ud.type==="TSTypeLiteral"||dd?"members":ud.type==="TSInterfaceBody"?"body":"properties"];cd&&pd.push("indexers","callProperties","internalSlots");let fd=pd.flatMap(Vd=>Ra.map(({node:Kd})=>({node:Kd,printed:nd(),loc:R$5(Kd)}),Vd));pd.length>1&&fd.sort((Vd,Kd)=>Vd.loc-Kd.loc);let{parent:md,key:vd}=Ra,Ad=cd&&vd==="body"&&(md.type==="InterfaceDeclaration"||md.type==="DeclareInterface"||md.type==="DeclareClass"),Nd=ud.type==="TSInterfaceBody"||dd||Ad||ud.type==="ObjectPattern"&&md.type!=="FunctionDeclaration"&&md.type!=="FunctionExpression"&&md.type!=="ArrowFunctionExpression"&&md.type!=="ObjectMethod"&&md.type!=="ClassMethod"&&md.type!=="ClassPrivateMethod"&&md.type!=="AssignmentPattern"&&md.type!=="CatchClause"&&ud.properties.some(Vd=>Vd.value&&(Vd.value.type==="ObjectPattern"||Vd.value.type==="ArrayPattern"))||ud.type!=="ObjectPattern"&&fd.length>0&&de$4(qa.originalText,R$5(ud),fd[0].loc),Id=Ad?";":ud.type==="TSInterfaceBody"||ud.type==="TSTypeLiteral"?b$2(ld,";"):",",kd=ud.type==="RecordExpression"?"#{":ud.exact?"{|":"{",jd=ud.exact?"|}":"}",Fd=[],Md=fd.map(Vd=>{let Kd=[...Fd,l$1(Vd.printed)];return Fd=[Id,x$4],(Vd.node.type==="TSPropertySignature"||Vd.node.type==="TSMethodSignature"||Vd.node.type==="TSConstructSignatureDeclaration"||Vd.node.type==="TSCallSignatureDeclaration")&&d$1(Vd.node,g$3.PrettierIgnore)&&Fd.shift(),pe$3(Vd.node,qa)&&Fd.push(F$2),Kd});if(ud.inexact||ud.hasUnknownMembers){let Vd;if(d$1(ud,g$3.Dangling)){let Kd=d$1(ud,g$3.Line);Vd=[M$5(Ra,qa),Kd||te$5(qa.originalText,k$1(O$2(!1,ct$2(ud),-1)))?F$2:x$4,"..."]}else Vd=["..."];Md.push([...Fd,...Vd])}let Ld=(od=O$2(!1,fd,-1))==null?void 0:od.node,Hd=!(ud.inexact||ud.hasUnknownMembers||Ld&&(Ld.type==="RestElement"||(Ld.type==="TSPropertySignature"||Ld.type==="TSCallSignatureDeclaration"||Ld.type==="TSMethodSignature"||Ld.type==="TSConstructSignatureDeclaration")&&d$1(Ld,g$3.PrettierIgnore))),Gd;if(Md.length===0){if(!d$1(ud,g$3.Dangling))return[kd,jd,Y$4(Ra,nd)];Gd=l$1([kd,M$5(Ra,qa,{indent:!0}),E$4,jd,V$5(Ra),Y$4(Ra,nd)])}else Gd=[Ad&&w$1(ud.properties)?gs$2(md):"",kd,f$1([qa.bracketSpacing?x$4:E$4,...Md]),b$2(Hd&&(Id!==","||ae$3(qa))?Id:""),qa.bracketSpacing?x$4:E$4,jd,V$5(Ra),Y$4(Ra,nd)];return Ra.match(Vd=>Vd.type==="ObjectPattern"&&!w$1(Vd.decorators),Is$1)||we$5(ud)&&(Ra.match(void 0,(Vd,Kd)=>Kd==="typeAnnotation",(Vd,Kd)=>Kd==="typeAnnotation",Is$1)||Ra.match(void 0,(Vd,Kd)=>Vd.type==="FunctionTypeParam"&&Kd==="typeAnnotation",Is$1))||!Nd&&Ra.match(Vd=>Vd.type==="ObjectPattern",Vd=>Vd.type==="AssignmentExpression"||Vd.type==="VariableDeclarator")?Gd:l$1(Gd,{shouldBreak:Nd})}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$5(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:cd}=Ra,dd=ld?nd("test"):[nd("checkType")," ","extends"," ",nd("extendsType")];return cd.type===od.type&&cd[ud]===od?he$3(2,dd):dd}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$5(ud)&&ud.callee===od||q$5(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",cd=ld?"alternate":"falseType",dd=ld?["test"]:["checkType","extendsType"],pd=od[ud],fd=od[cd],md=[],vd=!1,{parent:Ad}=Ra,Nd=Ad.type===od.type&&dd.some(Wd=>Ad[Wd]===od),Id=Ad.type===od.type&&!Nd,kd,jd,Fd=0;do jd=kd||od,kd=Ra.getParentNode(Fd),Fd++;while(kd&&kd.type===od.type&&dd.every(Wd=>kd[Wd]!==jd));let Md=kd||Ad,Ld=jd;if(ld&&(X$5(od[dd[0]])||X$5(pd)||X$5(fd)||vl$2(Ld))){vd=!0,Id=!0;let Wd=Xd=>[b$2("("),f$1([E$4,Xd]),E$4,b$2(")")],Zd=Xd=>Xd.type==="NullLiteral"||Xd.type==="Literal"&&Xd.value===null||Xd.type==="Identifier"&&Xd.name==="undefined";md.push(" ? ",Zd(pd)?nd(ud):Wd(nd(ud))," : ",fd.type===od.type||Zd(fd)?nd(cd):Wd(nd(cd)))}else{let Wd=Xd=>qa.useTabs?f$1(nd(Xd)):he$3(2,nd(Xd)),Zd=[x$4,"? ",pd.type===od.type?b$2("","("):"",Wd(ud),pd.type===od.type?b$2("",")"):"",x$4,": ",Wd(cd)];md.push(Ad.type!==od.type||Ad[cd]===od||Nd?Zd:qa.useTabs?Mr$2(f$1(Zd)):he$3(Math.max(0,qa.tabWidth-2),Zd))}let Hd=[ud,cd,...dd].some(Wd=>d$1(od[Wd],Zd=>re$5(Zd)&&de$4(qa.originalText,R$5(Zd),k$1(Zd)))),Gd=Wd=>Ad===Md?l$1(Wd,{shouldBreak:Hd}):Hd?[Wd,Ee$6]:Wd,Vd=!vd&&(q$5(Ad)||Ad.type==="NGPipeExpression"&&Ad.left===od)&&!Ad.computed,Kd=Jl$2(Ra),mf=Gd([Ml$2(Ra,qa,nd),Id?md:f$1(md),ld&&Vd&&!Kd?E$4:""]);return Nd||Kd?l$1([f$1([E$4,mf]),E$4]):mf}function ql$2(Ra,qa){return(q$5(qa)||qa.type==="NGPipeExpression"&&qa.left===Ra)&&!qa.computed}function Wl$2(Ra,qa,nd,od){return[...Ra.map(ld=>ct$2(ld)),ct$2(qa),ct$2(nd)].flat().some(ld=>re$5(ld)&&de$4(od.originalText,R$5(ld),k$1(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$5(ud)&&ud.callee===od||q$5(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$2("("),f$1([E$4,Ra]),E$4,b$2(")")];function Vt$3(Ra,qa,nd,od){if(!qa.experimentalTernaries)return Fa(Ra,qa,nd);let{node:ld}=Ra,ud=ld.type==="ConditionalExpression",cd=ld.type==="TSConditionalType"||ld.type==="ConditionalTypeAnnotation",dd=ud?"consequent":"trueType",pd=ud?"alternate":"falseType",fd=ud?["test"]:["checkType","extendsType"],md=ld[dd],vd=ld[pd],Ad=fd.map(ih=>ld[ih]),{parent:Nd}=Ra,Id=Nd.type===ld.type,kd=Id&&fd.some(ih=>Nd[ih]===ld),jd=Id&&Nd[pd]===ld,Fd=md.type===ld.type,Md=vd.type===ld.type,Ld=Md||jd,Hd=qa.tabWidth>2||qa.useTabs,Gd,Vd,Kd=0;do Vd=Gd||ld,Gd=Ra.getParentNode(Kd),Kd++;while(Gd&&Gd.type===ld.type&&fd.every(ih=>Gd[ih]!==Vd));let mf=Gd||Nd,Wd=od&&od.assignmentLayout&&od.assignmentLayout!=="break-after-operator"&&(Nd.type==="AssignmentExpression"||Nd.type==="VariableDeclarator"||Nd.type==="ClassProperty"||Nd.type==="PropertyDefinition"||Nd.type==="ClassPrivateProperty"||Nd.type==="ObjectProperty"||Nd.type==="Property"),Zd=(Nd.type==="ReturnStatement"||Nd.type==="ThrowStatement")&&!(Fd||Md),Xd=ud&&mf.type==="JSXExpressionContainer"&&Ra.grandparent.type!=="JSXAttribute",bf=Ul$2(Ra),yf=ql$2(ld,Nd),Ef=cd&&Be$6(Ra,qa),gf=Hd?qa.useTabs?" ":" ".repeat(qa.tabWidth-1):"",xf=Wl$2(Ad,md,vd,qa)||Fd||Md,Af=!Ld&&!Id&&!cd&&(Xd?md.type==="NullLiteral"||md.type==="Literal"&&md.value===null:rr$2(md,qa)&&Mn$2(ld.test,3)),Lf=Ld||jd||cd&&!Id||Id&&ud&&Mn$2(ld.test,1)||Af,Xf=[];!Fd&&d$1(md,g$3.Dangling)&&Ra.call(ih=>{Xf.push(M$5(ih,qa),F$2)},"consequent");let Jf=[];d$1(ld.test,g$3.Dangling)&&Ra.call(ih=>{Jf.push(M$5(ih,qa))},"test"),!Md&&d$1(vd,g$3.Dangling)&&Ra.call(ih=>{Jf.push(M$5(ih,qa))},"alternate"),d$1(ld,g$3.Dangling)&&Jf.push(M$5(Ra,qa));let Zf=Symbol("test"),Bf=Symbol("consequent"),Df=Symbol("test-and-consequent"),Uf=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$1(Ls$2(nd("extendsType")))],Gf=l$1([Uf," ?"],{id:Zf}),zf=nd(dd),Tf=f$1([Fd||Xd&&(X$5(md)||Id||Ld)?F$2:x$4,Xf,zf]),vf=Lf?l$1([Gf,Ld?Tf:b$2(Tf,l$1(Tf,{id:Bf}),{groupId:Zf})],{id:Df}):[Gf,Tf],qf=nd(pd),eh=Af?b$2(qf,Mr$2(Ls$2(qf)),{groupId:Df}):qf,ch=[vf,Jf.length>0?[f$1([F$2,Jf]),F$2]:Md?F$2:Af?b$2(x$4," ",{groupId:Df}):x$4,":",Md?" ":Hd?Lf?b$2(gf,b$2(Ld||Af?" ":gf," "),{groupId:Df}):b$2(gf," "):" ",Md?eh:l$1([f$1(eh),Xd&&!Af?E$4:""]),yf&&!bf?E$4:"",xf?Ee$6:""];return Wd&&!xf?l$1(f$1([E$4,l$1(ch)])):Wd||Zd?l$1(f$1(ch)):bf||cd&&kd?l$1([f$1([E$4,ch]),Ef?E$4:""]):Nd===mf?l$1(ch):ch}function Ca(Ra,qa,nd,od){let{node:ld}=Ra;if(kr$2(ld))return pa$1(Ra,qa);let ud=qa.semi?";":"",cd=[];switch(ld.type){case"JsExpressionRoot":return nd("node");case"JsonRoot":return[nd("node"),F$2];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$1(ld.expression)&&(se$5(ld.expression)||U$5(ld.expression))?["(",nd("expression"),")"]:l$1(["(",f$1([E$4,nd("expression")]),E$4,")"]);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$1(Ra,qa,nd);case"MetaProperty":return[nd("meta"),".",nd("property")];case"BindExpression":return ld.object&&cd.push(nd("object")),cd.push(l$1(f$1([E$4,Hr$3(Ra,qa,nd)]))),cd;case"Identifier":return[ld.name,V$5(Ra),pn$3(Ra),Y$4(Ra,nd)];case"V8IntrinsicIdentifier":return["%",ld.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadPropertyPattern":case"RestElement":return cn$3(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 cd.push("yield"),ld.delegate&&cd.push("*"),ld.argument&&cd.push(" ",nd("argument")),cd;case"AwaitExpression":if(cd.push("await"),ld.argument){cd.push(" ",nd("argument"));let{parent:dd}=Ra;if(L$5(dd)&&dd.callee===ld||q$5(dd)&&dd.object===ld){cd=[f$1([E$4,...cd]),E$4];let pd=Ra.findAncestor(fd=>fd.type==="AwaitExpression"||fd.type==="BlockStatement");if((pd==null?void 0:pd.type)!=="AwaitExpression"||!ie$4(pd.argument,fd=>fd===ld))return l$1(cd)}}return cd;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return gn$3(Ra,qa,nd);case"ImportDeclaration":return ca$1(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:dd}=Ra;if(dd.type==="ExpressionStatement"||dd.type==="ForStatement"){let pd=[];return Ra.each(({isFirst:fd})=>{fd?pd.push(nd()):pd.push(",",f$1([x$4,nd()]))},"expressions"),l$1(pd)}return l$1(P$5([",",x$4],Ra.map(nd,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[nd("value"),ud];case"UnaryExpression":return cd.push(ld.operator),/[a-z]$/u.test(ld.operator)&&cd.push(" "),d$1(ld.argument)?cd.push(l$1(["(",f$1([E$4,nd("argument")]),E$4,")"])):cd.push(nd("argument")),cd;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 dd=Ra.map(nd,"declarations"),pd=Ra.parent,fd=pd.type==="ForStatement"||pd.type==="ForInStatement"||pd.type==="ForOfStatement",md=ld.declarations.some(Ad=>Ad.init),vd;return dd.length===1&&!d$1(ld.declarations[0])?vd=dd[0]:dd.length>0&&(vd=f$1(dd[0])),cd=[$$3(Ra),ld.kind,vd?[" ",vd]:"",f$1(dd.slice(1).map(Ad=>[",",md&&!fd?F$2:x$4,Ad]))],fd&&pd.body!==ld||cd.push(ud),l$1(cd)}case"WithStatement":return l$1(["with (",nd("object"),")",ft$3(ld.body,nd("body"))]);case"IfStatement":{let dd=ft$3(ld.consequent,nd("consequent")),pd=l$1(["if (",l$1([f$1([E$4,nd("test")]),E$4]),")",dd]);if(cd.push(pd),ld.alternate){let fd=d$1(ld.consequent,g$3.Trailing|g$3.Line)||wr$2(ld),md=ld.consequent.type==="BlockStatement"&&!fd;cd.push(md?" ":F$2),d$1(ld,g$3.Dangling)&&cd.push(M$5(Ra,qa),fd?F$2:" "),cd.push("else",l$1(ft$3(ld.alternate,nd("alternate"),ld.alternate.type==="IfStatement")))}return cd}case"ForStatement":{let dd=ft$3(ld.body,nd("body")),pd=M$5(Ra,qa),fd=pd?[pd,E$4]:"";return!ld.init&&!ld.test&&!ld.update?[fd,l$1(["for (;;)",dd])]:[fd,l$1(["for (",l$1([f$1([E$4,nd("init"),";",x$4,nd("test"),";",x$4,nd("update")]),E$4]),")",dd])]}case"WhileStatement":return l$1(["while (",l$1([f$1([E$4,nd("test")]),E$4]),")",ft$3(ld.body,nd("body"))]);case"ForInStatement":return l$1(["for (",nd("left")," in ",nd("right"),")",ft$3(ld.body,nd("body"))]);case"ForOfStatement":return l$1(["for",ld.await?" await":""," (",nd("left")," of ",nd("right"),")",ft$3(ld.body,nd("body"))]);case"DoWhileStatement":{let dd=ft$3(ld.body,nd("body"));return cd=[l$1(["do",dd])],ld.body.type==="BlockStatement"?cd.push(" "):cd.push(F$2),cd.push("while (",l$1([f$1([E$4,nd("test")]),E$4]),")",ud),cd}case"DoExpression":return[ld.async?"async ":"","do ",nd("body")];case"BreakStatement":case"ContinueStatement":return cd.push(ld.type==="BreakStatement"?"break":"continue"),ld.label&&cd.push(" ",nd("label")),cd.push(ud),cd;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 dd=d$1(ld.param,fd=>!re$5(fd)||fd.leading&&te$5(qa.originalText,k$1(fd))||fd.trailing&&te$5(qa.originalText,R$5(fd),{backwards:!0})),pd=nd("param");return["catch ",dd?["(",f$1([E$4,pd]),E$4,") "]:["(",pd,") "],nd("body")]}return["catch ",nd("body")];case"SwitchStatement":return[l$1(["switch (",f$1([E$4,nd("discriminant")]),E$4,")"])," {",ld.cases.length>0?f$1([F$2,P$5(F$2,Ra.map(({node:dd,isLast:pd})=>[nd(),!pd&&pe$3(dd,qa)?F$2:""],"cases"))]):"",F$2,"}"];case"SwitchCase":{ld.test?cd.push("case ",nd("test"),":"):cd.push("default:"),d$1(ld,g$3.Dangling)&&cd.push(" ",M$5(Ra,qa));let dd=ld.consequent.filter(pd=>pd.type!=="EmptyStatement");if(dd.length>0){let pd=yr$1(Ra,qa,nd,"consequent");cd.push(dd.length===1&&dd[0].type==="BlockStatement"?[" ",pd]:f$1([F$2,pd]))}return cd}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,cd=[nd("expression")];switch(ld.type){case"AsConstExpression":cd.push(" as const");break;case"AsExpression":case"TSAsExpression":cd.push(" as ",nd("typeAnnotation"));break;case"SatisfiesExpression":case"TSSatisfiesExpression":cd.push(" satisfies ",nd("typeAnnotation"));break}return ud==="callee"&&L$5(od)||ud==="object"&&q$5(od)?l$1([f$1([E$4,...cd]),E$4]):cd}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$1([ud," ",nd("rendersType")])):ld.push(l$1([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$5(Ra,nd,{filter:cd=>ge$6(nd.originalText,k$1(cd))===")"}),")"];let ud=[];return Yl$2(Ra,(cd,dd)=>{let pd=dd===ld.length-1;pd&&od.rest&&ud.push("..."),ud.push(qa()),!pd&&(ud.push(","),pe$3(ld[dd],nd)?ud.push(F$2,F$2):ud.push(x$4))}),["(",f$1([E$4,...ud]),b$2(ae$3(nd,"all")&&!Xl$2(od,ld)?",":""),E$4,")"]}function Xl$2(Ra,qa){var nd;return Ra.rest||((nd=O$2(!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$2(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),cd=Ht$3(Ra,nd),dd=ot$3(od,cd);return ld.push(l$1([dd?l$1(ud):ud,cd]),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$1(Ra,qa,nd){let{node:od}=Ra,ld=[];ld.push(ga$1(Ra)?"":"hook ");let ud=Je$3(Ra,nd,qa,!1,!0),cd=[];return cd.push(ga$1(Ra)?": ":" => ",nd("returnType")),ot$3(od,cd)&&(ud=l$1(ud)),ld.push(ud,cd),l$1(ld)}function Pn$3(Ra,qa,nd){let{node:od}=Ra,ld=[$$3(Ra),"interface"],ud=[],cd=[];od.type!=="InterfaceTypeAnnotation"&&ud.push(" ",nd("id"),nd("typeParameters"));let dd=od.typeParameters&&!d$1(od.typeParameters,g$3.Trailing|g$3.Line);return w$1(od.extends)&&cd.push(dd?b$2(" ",x$4,{groupId:Dr$1(od.typeParameters)}):x$4,"extends ",(od.extends.length===1?mu$2:f$1)(P$5([",",x$4],Ra.map(nd,"extends")))),d$1(od.id,g$3.Trailing)||w$1(od.extends)?dd?ld.push(l$1([...ud,f$1(cd)])):ld.push(l$1(f$1([...ud,...cd]))):ld.push(...ud,...cd),ld.push(" ",nd("body")),l$1(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$1(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$4(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$3(Ra,nd);case"ExistsTypeAnnotation":return"*";case"ArrayTypeAnnotation":return un$3(nd);case"DeclareEnum":case"EnumDeclaration":return bn$2(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$5(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$5(Ra),gt$3(od)?"":": ",nd("value")]}case"ObjectTypeAnnotation":return dt$3(Ra,qa,nd);case"ObjectTypeInternalSlot":return[od.static?"static ":"","[[",nd("id"),"]]",V$5(Ra),od.method?"":": ",nd("value")];case"ObjectTypeSpreadProperty":return cn$3(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$4(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?";":"",cd=[];switch(ld.type){case"TSThisType":return"this";case"TSTypeAssertion":{let dd=!(U$5(ld.expression)||se$5(ld.expression)),pd=l$1(["<",f$1([E$4,nd("typeAnnotation")]),E$4,">"]),fd=[b$2("("),f$1([E$4,nd("expression")]),E$4,b$2(")")];return dd?ze$5([[pd,nd("expression")],[pd,l$1(fd,{shouldBreak:!0})],[pd,nd("expression")]]):l$1([pd,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$5(Ra),Y$4(Ra,nd)];case"TSParameterProperty":return[Xt$3(ld),ld.static?"static ":"",ld.override?"override ":"",ld.readonly?"readonly ":"",nd("parameter")];case"TSTypeQuery":return an$3(Ra,nd);case"TSIndexSignature":{let dd=ld.parameters.length>1?b$2(ae$3(qa)?",":""):"",pd=l$1([f$1([E$4,P$5([", ",E$4],Ra.map(nd,"parameters"))]),dd,E$4]),fd=Ra.parent.type==="ClassBody"&&Ra.key==="body";return[fd&&ld.static?"static ":"",ld.readonly?"readonly ":"","[",ld.parameters?pd:"","]",Y$4(Ra,nd),fd?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 dd=ld.kind&&ld.kind!=="method"?`${ld.kind} `:"";cd.push(Xt$3(ld),dd,ld.computed?"[":"",nd("key"),ld.computed?"]":"",V$5(Ra));let pd=Je$3(Ra,nd,qa,!1,!0),fd=ld.returnType?"returnType":"typeAnnotation",md=ld[fd],vd=md?Y$4(Ra,nd,fd):"",Ad=ot$3(ld,vd);return cd.push(Ad?l$1(pd):pd),md&&cd.push(l$1(vd)),l$1(cd)}case"TSNamespaceExportDeclaration":return["export as namespace ",nd("id"),qa.semi?";":""];case"TSEnumDeclaration":return bn$2(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:dd}=Ra,pd=dd.type==="TSModuleDeclaration",fd=((od=ld.body)==null?void 0:od.type)==="TSModuleDeclaration";if(pd)cd.push(".");else if(cd.push($$3(Ra)),!(ld.kind==="global"||ld.global)){let md=ld.kind??(Q$5(ld.id)||fr$1(qa,R$5(ld),R$5(ld.id)).trim().endsWith("module")?"module":"namespace");cd.push(md," ")}return cd.push(nd("id")),fd?cd.push(nd("body")):ld.body?cd.push(" ",l$1(nd("body"))):cd.push(ud),cd}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$3(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$1(["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:cd}=Ra;if(Vl$2(cd))return ud;let dd=w$1(cd.decorators),pd=xi$1(Ra,qa,nd),fd=cd.type==="ClassExpression";if(dd&&!fd)return ir$3(ud,Ad=>l$1([pd,Ad]));let md=Be$6(Ra,qa),vd=na$1(Ra,qa);return!pd&&!md&&!vd?ud:ir$3(ud,Ad=>[vd?";":"",md?"(":"",md&&fd&&dd?[f$1([x$4,pd,Ad]),x$4]:[pd,Ad],md?")":""])}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$2];case"ArrayExpression":{if(od.elements.length===0)return"[]";let ld=Ra.map(()=>Ra.node===null?"null":nd(),"elements");return["[",f$1([F$2,P$5([",",F$2],ld)]),F$2,"]"]}case"ObjectExpression":return od.properties.length===0?"{}":["{",f$1([F$2,P$5([",",F$2],Ra.map(nd,"properties"))]),F$2,"}"];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$1;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$2=(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$2((Ra,qa)=>{qa.exports=nd;function nd(od){return String(od).replace(/\s+/g," ")}}),Pi=C$2((Ra,qa)=>{qa.exports=Id;var nd=9,od=10,ld=32,ud=33,cd=58,dd=91,pd=92,fd=93,md=94,vd=96,Ad=4,Nd=1024;function Id(Gd){var Vd=this.Parser,Kd=this.Compiler;kd(Vd)&&Fd(Vd,Gd),jd(Kd)&&Md(Kd)}function kd(Gd){return!!(Gd&&Gd.prototype&&Gd.prototype.blockTokenizers)}function jd(Gd){return!!(Gd&&Gd.prototype&&Gd.prototype.visitors)}function Fd(Gd,Vd){for(var Kd=Vd||{},mf=Gd.prototype,Wd=mf.blockTokenizers,Zd=mf.inlineTokenizers,Xd=mf.blockMethods,bf=mf.inlineMethods,yf=Wd.definition,Ef=Zd.reference,gf=[],xf=-1,Af=Xd.length,Lf;++xf<Af;)Lf=Xd[xf],!(Lf==="newline"||Lf==="indentedCode"||Lf==="paragraph"||Lf==="footnoteDefinition")&&gf.push([Lf]);gf.push(["footnoteDefinition"]),Kd.inlineNotes&&(Ld(bf,"reference","inlineNote"),Zd.inlineNote=Zf),Ld(Xd,"definition","footnoteDefinition"),Ld(bf,"reference","footnoteCall"),Wd.definition=Df,Wd.footnoteDefinition=Xf,Zd.footnoteCall=Jf,Zd.reference=Bf,mf.interruptFootnoteDefinition=gf,Bf.locator=Ef.locator,Jf.locator=Uf,Zf.locator=Gf;function Xf(zf,Tf,vf){for(var qf=this,eh=qf.interruptFootnoteDefinition,ch=qf.offset,ih=Tf.length+1,Pf=0,uh=[],xh,Qf,wf,$f,Wf,Th,vh,ph,Vh,wh,fm,Nm,cm;Pf<ih&&($f=Tf.charCodeAt(Pf),!($f!==nd&&$f!==ld));)Pf++;if(Tf.charCodeAt(Pf++)===dd&&Tf.charCodeAt(Pf++)===md){for(Qf=Pf;Pf<ih;){if($f=Tf.charCodeAt(Pf),$f!==$f||$f===od||$f===nd||$f===ld)return;if($f===fd){wf=Pf,Pf++;break}Pf++}if(!(wf===void 0||Qf===wf||Tf.charCodeAt(Pf++)!==cd)){if(vf)return!0;for(xh=Tf.slice(Qf,wf),Wf=zf.now(),Vh=0,wh=0,fm=Pf,Nm=[];Pf<ih;){if($f=Tf.charCodeAt(Pf),$f!==$f||$f===od)cm={start:Vh,contentStart:fm||Pf,contentEnd:Pf,end:Pf},Nm.push(cm),$f===od&&(Vh=Pf+1,wh=0,fm=void 0,cm.end=Vh);else if(wh!==void 0)if($f===ld||$f===nd)wh+=$f===ld?1:Ad-wh%Ad,wh>Ad&&(wh=void 0,fm=Pf);else{if(wh<Ad&&cm&&(cm.contentStart===cm.contentEnd||Hd(eh,Wd,qf,[zf,Tf.slice(Pf,Nd),!0])))break;wh=void 0,fm=Pf}Pf++}for(Pf=-1,ih=Nm.length;ih>0&&(cm=Nm[ih-1],cm.contentStart===cm.contentEnd);)ih--;for(Th=zf(Tf.slice(0,cm.contentEnd));++Pf<ih;)cm=Nm[Pf],ch[Wf.line+Pf]=(ch[Wf.line+Pf]||0)+(cm.contentStart-cm.start),uh.push(Tf.slice(cm.contentStart,cm.end));return vh=qf.enterBlock(),ph=qf.tokenizeBlock(uh.join(""),Wf),vh(),Th({type:"footnoteDefinition",identifier:xh.toLowerCase(),label:xh,children:ph})}}}function Jf(zf,Tf,vf){var qf=Tf.length+1,eh=0,ch,ih,Pf,uh;if(Tf.charCodeAt(eh++)===dd&&Tf.charCodeAt(eh++)===md){for(ih=eh;eh<qf;){if(uh=Tf.charCodeAt(eh),uh!==uh||uh===od||uh===nd||uh===ld)return;if(uh===fd){Pf=eh,eh++;break}eh++}if(!(Pf===void 0||ih===Pf))return vf?!0:(ch=Tf.slice(ih,Pf),zf(Tf.slice(0,eh))({type:"footnoteReference",identifier:ch.toLowerCase(),label:ch}))}}function Zf(zf,Tf,vf){var qf=this,eh=Tf.length+1,ch=0,ih=0,Pf,uh,xh,Qf,wf,$f,Wf;if(Tf.charCodeAt(ch++)===md&&Tf.charCodeAt(ch++)===dd){for(xh=ch;ch<eh;){if(uh=Tf.charCodeAt(ch),uh!==uh)return;if($f===void 0)if(uh===pd)ch+=2;else if(uh===dd)ih++,ch++;else if(uh===fd)if(ih===0){Qf=ch,ch++;break}else ih--,ch++;else if(uh===vd){for(wf=ch,$f=1;Tf.charCodeAt(wf+$f)===vd;)$f++;ch+=$f}else ch++;else if(uh===vd){for(wf=ch,Wf=1;Tf.charCodeAt(wf+Wf)===vd;)Wf++;ch+=Wf,$f===Wf&&($f=void 0),Wf=void 0}else ch++}if(Qf!==void 0)return vf?!0:(Pf=zf.now(),Pf.column+=2,Pf.offset+=2,zf(Tf.slice(0,ch))({type:"footnote",children:qf.tokenizeInline(Tf.slice(xh,Qf),Pf)}))}}function Bf(zf,Tf,vf){var qf=0;if(Tf.charCodeAt(qf)===ud&&qf++,Tf.charCodeAt(qf)===dd&&Tf.charCodeAt(qf+1)!==md)return Ef.call(this,zf,Tf,vf)}function Df(zf,Tf,vf){for(var qf=0,eh=Tf.charCodeAt(qf);eh===ld||eh===nd;)eh=Tf.charCodeAt(++qf);if(eh===dd&&Tf.charCodeAt(qf+1)!==md)return yf.call(this,zf,Tf,vf)}function Uf(zf,Tf){return zf.indexOf("[",Tf)}function Gf(zf,Tf){return zf.indexOf("^[",Tf)}}function Md(Gd){var Vd=Gd.prototype.visitors,Kd=" ";Vd.footnote=mf,Vd.footnoteReference=Wd,Vd.footnoteDefinition=Zd;function mf(Xd){return"^["+this.all(Xd).join("")+"]"}function Wd(Xd){return"[^"+(Xd.label||Xd.identifier)+"]"}function Zd(Xd){for(var bf=this.all(Xd).join(`
|
||
|
||
`).split(`
|
||
`),yf=0,Ef=bf.length,gf;++yf<Ef;)gf=bf[yf],gf!==""&&(bf[yf]=Kd+gf);return"[^"+(Xd.label||Xd.identifier)+"]: "+bf.join(`
|
||
`)}}function Ld(Gd,Vd,Kd){Gd.splice(Gd.indexOf(Vd),0,Kd)}function Hd(Gd,Vd,Kd,mf){for(var Wd=Gd.length,Zd=-1;++Zd<Wd;)if(Vd[Gd[Zd][0]].apply(Kd,mf))return!0;return!1}}),Bt$3=C$2(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$2((Ra,qa)=>{var nd=Bt$3();qa.exports=vd;var od=9,ld=32,ud=36,cd=48,dd=57,pd=92,fd=["math","math-inline"],md="math-display";function vd(Id){let kd=this.Parser,jd=this.Compiler;nd.isRemarkParser(kd)&&Ad(kd,Id),nd.isRemarkCompiler(jd)&&Nd(jd)}function Ad(Id,kd){let jd=Id.prototype,Fd=jd.inlineMethods;Ld.locator=Md,jd.inlineTokenizers.math=Ld,Fd.splice(Fd.indexOf("text"),0,"math");function Md(Hd,Gd){return Hd.indexOf("$",Gd)}function Ld(Hd,Gd,Vd){let Kd=Gd.length,mf=!1,Wd=!1,Zd=0,Xd,bf,yf,Ef,gf,xf,Af;if(Gd.charCodeAt(Zd)===pd&&(Wd=!0,Zd++),Gd.charCodeAt(Zd)===ud){if(Zd++,Wd)return Vd?!0:Hd(Gd.slice(0,Zd))({type:"text",value:"$"});if(Gd.charCodeAt(Zd)===ud&&(mf=!0,Zd++),yf=Gd.charCodeAt(Zd),!(yf===ld||yf===od)){for(Ef=Zd;Zd<Kd;){if(bf=yf,yf=Gd.charCodeAt(Zd+1),bf===ud){if(Xd=Gd.charCodeAt(Zd-1),Xd!==ld&&Xd!==od&&(yf!==yf||yf<cd||yf>dd)&&(!mf||yf===ud)){gf=Zd-1,Zd++,mf&&Zd++,xf=Zd;break}}else bf===pd&&(Zd++,yf=Gd.charCodeAt(Zd+1));Zd++}if(xf!==void 0)return Vd?!0:(Af=Gd.slice(Ef,gf+1),Hd(Gd.slice(0,xf))({type:"inlineMath",value:Af,data:{hName:"span",hProperties:{className:fd.concat(mf&&kd.inlineMathDouble?[md]:[])},hChildren:[{type:"text",value:Af}]}}))}}}}function Nd(Id){let kd=Id.prototype;kd.visitors.inlineMath=jd;function jd(Fd){let Md="$";return(Fd.data&&Fd.data.hProperties&&Fd.data.hProperties.className||[]).includes(md)&&(Md="$$"),Md+Fd.value+Md}}}),$i=C$2((Ra,qa)=>{var nd=Bt$3();qa.exports=md;var od=10,ld=32,ud=36,cd=`
|
||
`,dd="$",pd=2,fd=["math","math-display"];function md(){let Nd=this.Parser,Id=this.Compiler;nd.isRemarkParser(Nd)&&vd(Nd),nd.isRemarkCompiler(Id)&&Ad(Id)}function vd(Nd){let Id=Nd.prototype,kd=Id.blockMethods,jd=Id.interruptParagraph,Fd=Id.interruptList,Md=Id.interruptBlockquote;Id.blockTokenizers.math=Ld,kd.splice(kd.indexOf("fencedCode")+1,0,"math"),jd.splice(jd.indexOf("fencedCode")+1,0,["math"]),Fd.splice(Fd.indexOf("fencedCode")+1,0,["math"]),Md.splice(Md.indexOf("fencedCode")+1,0,["math"]);function Ld(Hd,Gd,Vd){var Kd=Gd.length,mf=0;let Wd,Zd,Xd,bf,yf,Ef,gf,xf,Af,Lf,Xf;for(;mf<Kd&&Gd.charCodeAt(mf)===ld;)mf++;for(yf=mf;mf<Kd&&Gd.charCodeAt(mf)===ud;)mf++;if(Ef=mf-yf,!(Ef<pd)){for(;mf<Kd&&Gd.charCodeAt(mf)===ld;)mf++;for(gf=mf;mf<Kd;){if(Wd=Gd.charCodeAt(mf),Wd===ud)return;if(Wd===od)break;mf++}if(Gd.charCodeAt(mf)===od){if(Vd)return!0;for(Zd=[],gf!==mf&&Zd.push(Gd.slice(gf,mf)),mf++,Xd=Gd.indexOf(cd,mf+1),Xd=Xd===-1?Kd:Xd;mf<Kd;){for(xf=!1,Lf=mf,Xf=Xd,bf=Xd,Af=0;bf>Lf&&Gd.charCodeAt(bf-1)===ld;)bf--;for(;bf>Lf&&Gd.charCodeAt(bf-1)===ud;)Af++,bf--;for(Ef<=Af&&Gd.indexOf(dd,Lf)===bf&&(xf=!0,Xf=bf);Lf<=Xf&&Lf-mf<yf&&Gd.charCodeAt(Lf)===ld;)Lf++;if(xf)for(;Xf>Lf&&Gd.charCodeAt(Xf-1)===ld;)Xf--;if((!xf||Lf!==Xf)&&Zd.push(Gd.slice(Lf,Xf)),xf)break;mf=Xd+1,Xd=Gd.indexOf(cd,mf+1),Xd=Xd===-1?Kd:Xd}return Zd=Zd.join(`
|
||
`),Hd(Gd.slice(0,Xd))({type:"math",value:Zd,data:{hName:"div",hProperties:{className:fd.concat()},hChildren:[{type:"text",value:Zd}]}})}}}}function Ad(Nd){let Id=Nd.prototype;Id.visitors.math=kd;function kd(jd){return`$$
|
||
`+jd.value+`
|
||
$$`}}}),Wi=C$2((Ra,qa)=>{var nd=Mi(),od=$i();qa.exports=ld;function ld(ud){var cd=ud||{};od.call(this,cd),nd.call(this,cd)}}),Ie$3=C$2((Ra,qa)=>{qa.exports=od;var nd=Object.prototype.hasOwnProperty;function od(){for(var ld={},ud=0;ud<arguments.length;ud++){var cd=arguments[ud];for(var dd in cd)nd.call(cd,dd)&&(ld[dd]=cd[dd])}return ld}}),Ji$1=C$2((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$2((Ra,qa)=>{var nd=Ie$3(),od=Ji$1();qa.exports=ld;function ld(ud){var cd,dd,pd;od(md,ud),od(fd,md),cd=md.prototype;for(dd in cd)pd=cd[dd],pd&&typeof pd=="object"&&(cd[dd]="concat"in pd?pd.concat():nd(pd));return md;function fd(vd){return ud.apply(this,vd)}function md(){return this instanceof md?ud.apply(this,arguments):new fd(arguments)}}}),ru$1=C$2((Ra,qa)=>{qa.exports=nd;function nd(od,ld,ud){return cd;function cd(){var dd=ud||this,pd=dd[od];return dd[od]=!ld,fd;function fd(){dd[od]=pd}}}}),nu$2=C$2((Ra,qa)=>{qa.exports=nd;function nd(od){for(var ld=String(od),ud=[],cd=/\r?\n|\r/g;cd.exec(ld);)ud.push(cd.lastIndex);return ud.push(ld.length+1),{toPoint:dd,toPosition:dd,toOffset:pd};function dd(fd){var md=-1;if(fd>-1&&fd<ud[ud.length-1]){for(;++md<ud.length;)if(ud[md]>fd)return{line:md+1,column:fd-(ud[md-1]||0)+1,offset:fd}}return{}}function pd(fd){var md=fd&&fd.line,vd=fd&&fd.column,Ad;return!isNaN(md)&&!isNaN(vd)&&md-1 in ud&&(Ad=(ud[md-2]||0)+vd-1||0),Ad>-1&&Ad<ud[ud.length-1]?Ad:-1}}}),uu$2=C$2((Ra,qa)=>{qa.exports=od;var nd="\\";function od(ld,ud){return cd;function cd(dd){for(var pd=0,fd=dd.indexOf(nd),md=ld[ud],vd=[],Ad;fd!==-1;)vd.push(dd.slice(pd,fd)),pd=fd+1,Ad=dd.charAt(pd),(!Ad||md.indexOf(Ad)===-1)&&vd.push(nd),fd=dd.indexOf(nd,pd+1);return vd.push(dd.slice(pd)),vd.join("")}}}),au$1=C$2((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$2((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$2((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$2((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$2((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$2((Ra,qa)=>{var nd=Ve$3(),od=Ne$3();qa.exports=ld;function ld(ud){return nd(ud)||od(ud)}}),du$1=C$2((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$2((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$2((Ra,qa)=>{var nd=au$1(),od=ou$1(),ld=Ne$3(),ud=lu$1(),cd=pu$1(),dd=Fu$1();qa.exports=Zf;var pd={}.hasOwnProperty,fd=String.fromCharCode,md=Function.prototype,vd={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},Ad=9,Nd=10,Id=12,kd=32,jd=38,Fd=59,Md=60,Ld=61,Hd=35,Gd=88,Vd=120,Kd=65533,mf="named",Wd="hexadecimal",Zd="decimal",Xd={};Xd[Wd]=16,Xd[Zd]=10;var bf={};bf[mf]=cd,bf[Zd]=ld,bf[Wd]=ud;var yf=1,Ef=2,gf=3,xf=4,Af=5,Lf=6,Xf=7,Jf={};Jf[yf]="Named character references must be terminated by a semicolon",Jf[Ef]="Numeric character references must be terminated by a semicolon",Jf[gf]="Named character references cannot be empty",Jf[xf]="Numeric character references cannot be empty",Jf[Af]="Named character references must be known",Jf[Lf]="Numeric character references cannot be disallowed",Jf[Xf]="Numeric character references cannot be outside the permissible Unicode range";function Zf(Gf,zf){var Tf={},vf,qf;zf||(zf={});for(qf in vd)vf=zf[qf],Tf[qf]=vf??vd[qf];return(Tf.position.indent||Tf.position.start)&&(Tf.indent=Tf.position.indent||[],Tf.position=Tf.position.start),Bf(Gf,Tf)}function Bf(Gf,zf){var Tf=zf.additional,vf=zf.nonTerminated,qf=zf.text,eh=zf.reference,ch=zf.warning,ih=zf.textContext,Pf=zf.referenceContext,uh=zf.warningContext,xh=zf.position,Qf=zf.indent||[],wf=Gf.length,$f=0,Wf=-1,Th=xh.column||1,vh=xh.line||1,ph="",Vh=[],wh,fm,Nm,cm,Sm,$m,fh,Rf,If,dh,yh,Uh,Zh,_m,Um,Om,r_,Xm,s_;for(typeof Tf=="string"&&(Tf=Tf.charCodeAt(0)),Om=b_(),Rf=ch?H_:md,$f--,wf++;++$f<wf;)if(Sm===Nd&&(Th=Qf[Wf]||1),Sm=Gf.charCodeAt($f),Sm===jd){if(fh=Gf.charCodeAt($f+1),fh===Ad||fh===Nd||fh===Id||fh===kd||fh===jd||fh===Md||fh!==fh||Tf&&fh===Tf){ph+=fd(Sm),Th++;continue}for(Zh=$f+1,Uh=Zh,s_=Zh,fh===Hd?(s_=++Uh,fh=Gf.charCodeAt(s_),fh===Gd||fh===Vd?(_m=Wd,s_=++Uh):_m=Zd):_m=mf,wh="",yh="",cm="",Um=bf[_m],s_--;++s_<wf&&(fh=Gf.charCodeAt(s_),!!Um(fh));)cm+=fd(fh),_m===mf&&pd.call(nd,cm)&&(wh=cm,yh=nd[cm]);Nm=Gf.charCodeAt(s_)===Fd,Nm&&(s_++,fm=_m===mf?dd(cm):!1,fm&&(wh=cm,yh=fm)),Xm=1+s_-Zh,!Nm&&!vf||(cm?_m===mf?(Nm&&!yh?Rf(Af,1):(wh!==cm&&(s_=Uh+wh.length,Xm=1+s_-Uh,Nm=!1),Nm||(If=wh?yf:gf,zf.attribute?(fh=Gf.charCodeAt(s_),fh===Ld?(Rf(If,Xm),yh=null):cd(fh)?yh=null:Rf(If,Xm)):Rf(If,Xm))),$m=yh):(Nm||Rf(Ef,Xm),$m=parseInt(cm,Xd[_m]),Df($m)?(Rf(Xf,Xm),$m=fd(Kd)):$m in od?(Rf(Lf,Xm),$m=od[$m]):(dh="",Uf($m)&&Rf(Lf,Xm),$m>65535&&($m-=65536,dh+=fd($m>>>10|55296),$m=56320|$m&1023),$m=dh+fd($m))):_m!==mf&&Rf(xf,Xm)),$m?(x_(),Om=b_(),$f=s_-1,Th+=s_-Zh+1,Vh.push($m),r_=b_(),r_.offset++,eh&&eh.call(Pf,$m,{start:Om,end:r_},Gf.slice(Zh-1,s_)),Om=r_):(cm=Gf.slice(Zh-1,s_),ph+=cm,Th+=cm.length,$f=s_-1)}else Sm===10&&(vh++,Wf++,Th=0),Sm===Sm?(ph+=fd(Sm),Th++):x_();return Vh.join("");function b_(){return{line:vh,column:Th,offset:$f+(xh.offset||0)}}function H_(M_,h_){var tg=b_();tg.column+=h_,tg.offset+=h_,ch.call(uh,Jf[M_],tg,M_)}function x_(){ph&&(Vh.push(ph),qf&&qf.call(ih,ph,{start:Om,end:b_()}),ph="")}}function Df(Gf){return Gf>=55296&&Gf<=57343||Gf>1114111}function Uf(Gf){return Gf>=1&&Gf<=8||Gf===11||Gf>=13&&Gf<=31||Gf>=127&&Gf<=159||Gf>=64976&&Gf<=65007||(Gf&65535)===65535||(Gf&65535)===65534}}),Ou$1=C$2((Ra,qa)=>{var nd=Ie$3(),od=pr$1();qa.exports=ld;function ld(ud){return dd.raw=pd,dd;function cd(md){for(var vd=ud.offset,Ad=md.line,Nd=[];++Ad&&Ad in vd;)Nd.push((vd[Ad]||0)+1);return{start:md,indent:Nd}}function dd(md,vd,Ad){od(md,{position:cd(vd),warning:fd,text:Ad,reference:Ad,textContext:ud,referenceContext:ud})}function pd(md,vd,Ad){return od(md,nd(Ad,{position:cd(vd),warning:fd}))}function fd(md,vd,Ad){Ad!==3&&ud.file.message(md,vd)}}}),Iu$1=C$2((Ra,qa)=>{qa.exports=nd;function nd(cd){return dd;function dd(pd,fd){var md=this,vd=md.offset,Ad=[],Nd=md[cd+"Methods"],Id=md[cd+"Tokenizers"],kd=fd.line,jd=fd.column,Fd,Md,Ld,Hd,Gd,Vd;if(!pd)return Ad;for(Ef.now=Wd,Ef.file=md.file,Kd("");pd;){for(Fd=-1,Md=Nd.length,Gd=!1;++Fd<Md&&(Hd=Nd[Fd],Ld=Id[Hd],!(Ld&&(!Ld.onlyAtStart||md.atStart)&&(!Ld.notInList||!md.inList)&&(!Ld.notInBlock||!md.inBlock)&&(!Ld.notInLink||!md.inLink)&&(Vd=pd.length,Ld.apply(md,[Ef,pd]),Gd=Vd!==pd.length,Gd))););Gd||md.file.fail(new Error("Infinite loop"),Ef.now())}return md.eof=Wd(),Ad;function Kd(gf){for(var xf=-1,Af=gf.indexOf(`
|
||
`);Af!==-1;)kd++,xf=Af,Af=gf.indexOf(`
|
||
`,Af+1);xf===-1?jd+=gf.length:jd=gf.length-xf,kd in vd&&(xf!==-1?jd+=vd[kd]:jd<=vd[kd]&&(jd=vd[kd]+1))}function mf(){var gf=[],xf=kd+1;return function(){for(var Af=kd+1;xf<Af;)gf.push((vd[xf]||0)+1),xf++;return gf}}function Wd(){var gf={line:kd,column:jd};return gf.offset=md.toOffset(gf),gf}function Zd(gf){this.start=gf,this.end=Wd()}function Xd(gf){pd.slice(0,gf.length)!==gf&&md.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),Wd())}function bf(){var gf=Wd();return xf;function xf(Af,Lf){var Xf=Af.position,Jf=Xf?Xf.start:gf,Zf=[],Bf=Xf&&Xf.end.line,Df=gf.line;if(Af.position=new Zd(Jf),Xf&&Lf&&Xf.indent){if(Zf=Xf.indent,Bf<Df){for(;++Bf<Df;)Zf.push((vd[Bf]||0)+1);Zf.push(gf.column)}Lf=Zf.concat(Lf)}return Af.position.indent=Lf||[],Af}}function yf(gf,xf){var Af=xf?xf.children:Ad,Lf=Af[Af.length-1],Xf;return Lf&&gf.type===Lf.type&&(gf.type==="text"||gf.type==="blockquote")&&od(Lf)&&od(gf)&&(Xf=gf.type==="text"?ld:ud,gf=Xf.call(md,Lf,gf)),gf!==Lf&&Af.push(gf),md.atStart&&Ad.length!==0&&md.exitStart(),gf}function Ef(gf){var xf=mf(),Af=bf(),Lf=Wd();return Xd(gf),Xf.reset=Jf,Jf.test=Zf,Xf.test=Zf,pd=pd.slice(gf.length),Kd(gf),xf=xf(),Xf;function Xf(Bf,Df){return Af(yf(Af(Bf),Df),xf)}function Jf(){var Bf=Xf.apply(null,arguments);return kd=Lf.line,jd=Lf.column,pd=gf+pd,Bf}function Zf(){var Bf=Af({});return kd=Lf.line,jd=Lf.column,pd=gf+pd,Bf.position}}}}function od(cd){var dd,pd;return cd.type!=="text"||!cd.position?!0:(dd=cd.position.start,pd=cd.position.end,dd.line!==pd.line||pd.column-dd.column===cd.value.length)}function ld(cd,dd){return cd.value+=dd.value,cd}function ud(cd,dd){return this.options.commonmark||this.options.gfm?dd:(cd.children=cd.children.concat(dd.children),cd)}}),Uu$2=C$2((Ra,qa)=>{qa.exports=ud;var nd=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],od=nd.concat(["~","|"]),ld=od.concat([`
|
||
`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);ud.default=nd,ud.gfm=od,ud.commonmark=ld;function ud(cd){var dd=cd||{};return dd.commonmark?ld:dd.gfm?od:nd}}),Mu$1=C$2((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$2((Ra,qa)=>{qa.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:Mu$1()}}),Vu$2=C$2((Ra,qa)=>{var nd=Ie$3(),od=Uu$2(),ld=Rt$3();qa.exports=ud;function ud(cd){var dd=this,pd=dd.options,fd,md;if(cd==null)cd={};else if(typeof cd=="object")cd=nd(cd);else throw new Error("Invalid value `"+cd+"` for setting `options`");for(fd in ld){if(md=cd[fd],md==null&&(md=pd[fd]),fd!=="blocks"&&typeof md!="boolean"||fd==="blocks"&&typeof md!="object")throw new Error("Invalid value `"+md+"` for setting `options."+fd+"`");cd[fd]=md}return dd.options=cd,dd.escape=od(cd),dd}}),Hu$2=C$2((Ra,qa)=>{qa.exports=nd;function nd(dd){if(dd==null)return cd;if(typeof dd=="string")return ud(dd);if(typeof dd=="object")return"length"in dd?ld(dd):od(dd);if(typeof dd=="function")return dd;throw new Error("Expected function, string, or object as test")}function od(dd){return pd;function pd(fd){var md;for(md in dd)if(fd[md]!==dd[md])return!1;return!0}}function ld(dd){for(var pd=[],fd=-1;++fd<dd.length;)pd[fd]=nd(dd[fd]);return md;function md(){for(var vd=-1;++vd<pd.length;)if(pd[vd].apply(this,arguments))return!0;return!1}}function ud(dd){return pd;function pd(fd){return!!(fd&&fd.type===dd)}}function cd(){return!0}}),Ku$2=C$2((Ra,qa)=>{qa.exports=nd;function nd(od){return od}}),Zu$2=C$2((Ra,qa)=>{qa.exports=dd;var nd=Hu$2(),od=Ku$2(),ld=!0,ud="skip",cd=!1;dd.CONTINUE=ld,dd.SKIP=ud,dd.EXIT=cd;function dd(fd,md,vd,Ad){var Nd,Id;typeof md=="function"&&typeof vd!="function"&&(Ad=vd,vd=md,md=null),Id=nd(md),Nd=Ad?-1:1,kd(fd,null,[])();function kd(jd,Fd,Md){var Ld=typeof jd=="object"&&jd!==null?jd:{},Hd;return typeof Ld.type=="string"&&(Hd=typeof Ld.tagName=="string"?Ld.tagName:typeof Ld.name=="string"?Ld.name:void 0,Gd.displayName="node ("+od(Ld.type+(Hd?"<"+Hd+">":""))+")"),Gd;function Gd(){var Vd=Md.concat(jd),Kd=[],mf,Wd;if((!md||Id(jd,Fd,Md[Md.length-1]||null))&&(Kd=pd(vd(jd,Md)),Kd[0]===cd))return Kd;if(jd.children&&Kd[0]!==ud)for(Wd=(Ad?jd.children.length:-1)+Nd;Wd>-1&&Wd<jd.children.length;){if(mf=kd(jd.children[Wd],Wd,Vd)(),mf[0]===cd)return mf;Wd=typeof mf[1]=="number"?mf[1]:Wd+Nd}return Kd}}}function pd(fd){return fd!==null&&typeof fd=="object"&&"length"in fd?fd:typeof fd=="number"?[ld,fd]:[fd]}}),ra$1=C$2((Ra,qa)=>{qa.exports=cd;var nd=Zu$2(),od=nd.CONTINUE,ld=nd.SKIP,ud=nd.EXIT;cd.CONTINUE=od,cd.SKIP=ld,cd.EXIT=ud;function cd(dd,pd,fd,md){typeof pd=="function"&&typeof fd!="function"&&(md=fd,fd=pd,pd=null),nd(dd,pd,vd,md);function vd(Ad,Nd){var Id=Nd[Nd.length-1],kd=Id?Id.children.indexOf(Ad):null;return fd(Ad,kd,Id)}}}),na=C$2((Ra,qa)=>{var nd=ra$1();qa.exports=od;function od(cd,dd){return nd(cd,dd?ld:ud),cd}function ld(cd){delete cd.position}function ud(cd){cd.position=void 0}}),aa$1=C$2((Ra,qa)=>{var nd=Ie$3(),od=na();qa.exports=cd;var ld=`
|
||
`,ud=/\r\n|\r/g;function cd(){var dd=this,pd=String(dd.file),fd={line:1,column:1,offset:0},md=nd(fd),vd;return pd=pd.replace(ud,ld),pd.charCodeAt(0)===65279&&(pd=pd.slice(1),md.column++,md.offset++),vd={type:"root",children:dd.tokenizeBlock(pd,md),position:{start:fd,end:dd.eof||nd(fd)}},dd.options.position||od(vd,!0),vd}}),sa=C$2((Ra,qa)=>{var nd=/^[ \t]*(\n|$)/;qa.exports=od;function od(ld,ud,cd){for(var dd,pd="",fd=0,md=ud.length;fd<md&&(dd=nd.exec(ud.slice(fd)),dd!=null);)fd+=dd[0].length,pd+=dd[0];if(pd!==""){if(cd)return!0;ld(pd)}}}),Hr$2=C$2((Ra,qa)=>{var nd="",od;qa.exports=ld;function ld(ud,cd){if(typeof ud!="string")throw new TypeError("expected a string");if(cd===1)return ud;if(cd===2)return ud+ud;var dd=ud.length*cd;if(od!==ud||typeof od>"u")od=ud,nd="";else if(nd.length>=dd)return nd.substr(0,dd);for(;dd>nd.length&&cd>1;)cd&1&&(nd+=ud),cd>>=1,ud+=ud;return nd+=ud,nd=nd.substr(0,dd),nd}}),Mt$3=C$2((Ra,qa)=>{qa.exports=nd;function nd(od){return String(od).replace(/\n+$/,"")}}),pa=C$2((Ra,qa)=>{var nd=Hr$2(),od=Mt$3();qa.exports=fd;var ld=`
|
||
`,ud=" ",cd=" ",dd=4,pd=nd(cd,dd);function fd(md,vd,Ad){for(var Nd=-1,Id=vd.length,kd="",jd="",Fd="",Md="",Ld,Hd,Gd;++Nd<Id;)if(Ld=vd.charAt(Nd),Gd)if(Gd=!1,kd+=Fd,jd+=Md,Fd="",Md="",Ld===ld)Fd=Ld,Md=Ld;else for(kd+=Ld,jd+=Ld;++Nd<Id;){if(Ld=vd.charAt(Nd),!Ld||Ld===ld){Md=Ld,Fd=Ld;break}kd+=Ld,jd+=Ld}else if(Ld===cd&&vd.charAt(Nd+1)===Ld&&vd.charAt(Nd+2)===Ld&&vd.charAt(Nd+3)===Ld)Fd+=pd,Nd+=3,Gd=!0;else if(Ld===ud)Fd+=Ld,Gd=!0;else{for(Hd="";Ld===ud||Ld===cd;)Hd+=Ld,Ld=vd.charAt(++Nd);if(Ld!==ld)break;Fd+=Hd+Ld,Md+=Ld}if(jd)return Ad?!0:md(kd)({type:"code",lang:null,meta:null,value:od(jd)})}}),ma=C$2((Ra,qa)=>{qa.exports=fd;var nd=`
|
||
`,od=" ",ld=" ",ud="~",cd="`",dd=3,pd=4;function fd(md,vd,Ad){var Nd=this,Id=Nd.options.gfm,kd=vd.length+1,jd=0,Fd="",Md,Ld,Hd,Gd,Vd,Kd,mf,Wd,Zd,Xd,bf,yf,Ef;if(Id){for(;jd<kd&&(Hd=vd.charAt(jd),!(Hd!==ld&&Hd!==od));)Fd+=Hd,jd++;if(yf=jd,Hd=vd.charAt(jd),!(Hd!==ud&&Hd!==cd)){for(jd++,Ld=Hd,Md=1,Fd+=Hd;jd<kd&&(Hd=vd.charAt(jd),Hd===Ld);)Fd+=Hd,Md++,jd++;if(!(Md<dd)){for(;jd<kd&&(Hd=vd.charAt(jd),!(Hd!==ld&&Hd!==od));)Fd+=Hd,jd++;for(Gd="",mf="";jd<kd&&(Hd=vd.charAt(jd),!(Hd===nd||Ld===cd&&Hd===Ld));)Hd===ld||Hd===od?mf+=Hd:(Gd+=mf+Hd,mf=""),jd++;if(Hd=vd.charAt(jd),!(Hd&&Hd!==nd)){if(Ad)return!0;Ef=md.now(),Ef.column+=Fd.length,Ef.offset+=Fd.length,Fd+=Gd,Gd=Nd.decode.raw(Nd.unescape(Gd),Ef),mf&&(Fd+=mf),mf="",Xd="",bf="",Wd="",Zd="";for(var gf=!0;jd<kd;){if(Hd=vd.charAt(jd),Wd+=Xd,Zd+=bf,Xd="",bf="",Hd!==nd){Wd+=Hd,bf+=Hd,jd++;continue}for(gf?(Fd+=Hd,gf=!1):(Xd+=Hd,bf+=Hd),mf="",jd++;jd<kd&&(Hd=vd.charAt(jd),Hd===ld);)mf+=Hd,jd++;if(Xd+=mf,bf+=mf.slice(yf),!(mf.length>=pd)){for(mf="";jd<kd&&(Hd=vd.charAt(jd),Hd===Ld);)mf+=Hd,jd++;if(Xd+=mf,bf+=mf,!(mf.length<Md)){for(mf="";jd<kd&&(Hd=vd.charAt(jd),!(Hd!==ld&&Hd!==od));)Xd+=Hd,bf+=Hd,jd++;if(!Hd||Hd===nd)break}}}for(Fd+=Wd+Xd,jd=-1,kd=Gd.length;++jd<kd;)if(Hd=Gd.charAt(jd),Hd===ld||Hd===od)Vd||(Vd=Gd.slice(0,jd));else if(Vd){Kd=Gd.slice(jd);break}return md(Fd)({type:"code",lang:Vd||Gd||null,meta:Kd||null,value:Zd})}}}}}}),Re$5=C$2((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$2((Ra,qa)=>{qa.exports=nd;function nd(od,ld,ud,cd){for(var dd=od.length,pd=-1,fd,md;++pd<dd;)if(fd=od[pd],md=fd[1]||{},!(md.pedantic!==void 0&&md.pedantic!==ud.options.pedantic)&&!(md.commonmark!==void 0&&md.commonmark!==ud.options.commonmark)&&ld[fd[0]].apply(ud,cd))return!0;return!1}}),ba=C$2((Ra,qa)=>{var nd=Re$5(),od=Kr$2();qa.exports=pd;var ld=`
|
||
`,ud=" ",cd=" ",dd=">";function pd(fd,md,vd){for(var Ad=this,Nd=Ad.offset,Id=Ad.blockTokenizers,kd=Ad.interruptBlockquote,jd=fd.now(),Fd=jd.line,Md=md.length,Ld=[],Hd=[],Gd=[],Vd,Kd=0,mf,Wd,Zd,Xd,bf,yf,Ef,gf;Kd<Md&&(mf=md.charAt(Kd),!(mf!==cd&&mf!==ud));)Kd++;if(md.charAt(Kd)===dd){if(vd)return!0;for(Kd=0;Kd<Md;){for(Zd=md.indexOf(ld,Kd),yf=Kd,Ef=!1,Zd===-1&&(Zd=Md);Kd<Md&&(mf=md.charAt(Kd),!(mf!==cd&&mf!==ud));)Kd++;if(md.charAt(Kd)===dd?(Kd++,Ef=!0,md.charAt(Kd)===cd&&Kd++):Kd=yf,Xd=md.slice(Kd,Zd),!Ef&&!nd(Xd)){Kd=yf;break}if(!Ef&&(Wd=md.slice(Kd),od(kd,Id,Ad,[fd,Wd,!0])))break;bf=yf===Kd?Xd:md.slice(yf,Zd),Gd.push(Kd-yf),Ld.push(bf),Hd.push(Xd),Kd=Zd+1}for(Kd=-1,Md=Gd.length,Vd=fd(Ld.join(ld));++Kd<Md;)Nd[Fd]=(Nd[Fd]||0)+Gd[Kd],Fd++;return gf=Ad.enterBlock(),Hd=Ad.tokenizeBlock(Hd.join(ld),jd),gf(),Vd({type:"blockquote",children:Hd})}}}),xa$1=C$2((Ra,qa)=>{qa.exports=dd;var nd=`
|
||
`,od=" ",ld=" ",ud="#",cd=6;function dd(pd,fd,md){for(var vd=this,Ad=vd.options.pedantic,Nd=fd.length+1,Id=-1,kd=pd.now(),jd="",Fd="",Md,Ld,Hd;++Id<Nd;){if(Md=fd.charAt(Id),Md!==ld&&Md!==od){Id--;break}jd+=Md}for(Hd=0;++Id<=Nd;){if(Md=fd.charAt(Id),Md!==ud){Id--;break}jd+=Md,Hd++}if(!(Hd>cd)&&!(!Hd||!Ad&&fd.charAt(Id+1)===ud)){for(Nd=fd.length+1,Ld="";++Id<Nd;){if(Md=fd.charAt(Id),Md!==ld&&Md!==od){Id--;break}Ld+=Md}if(!(!Ad&&Ld.length===0&&Md&&Md!==nd)){if(md)return!0;for(jd+=Ld,Ld="",Fd="";++Id<Nd&&(Md=fd.charAt(Id),!(!Md||Md===nd));){if(Md!==ld&&Md!==od&&Md!==ud){Fd+=Ld+Md,Ld="";continue}for(;Md===ld||Md===od;)Ld+=Md,Md=fd.charAt(++Id);if(!Ad&&Fd&&!Ld&&Md===ud){Fd+=Md;continue}for(;Md===ud;)Ld+=Md,Md=fd.charAt(++Id);for(;Md===ld||Md===od;)Ld+=Md,Md=fd.charAt(++Id);Id--}return kd.column+=jd.length,kd.offset+=jd.length,jd+=Fd+Ld,pd(jd)({type:"heading",depth:Hd,children:vd.tokenizeInline(Fd,kd)})}}}}),Ba=C$2((Ra,qa)=>{qa.exports=fd;var nd=" ",od=`
|
||
`,ld=" ",ud="*",cd="-",dd="_",pd=3;function fd(md,vd,Ad){for(var Nd=-1,Id=vd.length+1,kd="",jd,Fd,Md,Ld;++Nd<Id&&(jd=vd.charAt(Nd),!(jd!==nd&&jd!==ld));)kd+=jd;if(!(jd!==ud&&jd!==cd&&jd!==dd))for(Fd=jd,kd+=jd,Md=1,Ld="";++Nd<Id;)if(jd=vd.charAt(Nd),jd===Fd)Md++,kd+=Ld+Fd,Ld="";else if(jd===ld)Ld+=jd;else return Md>=pd&&(!jd||jd===od)?(kd+=Ld,Ad?!0:md(kd)({type:"thematicBreak"})):void 0}}),$t$3=C$2((Ra,qa)=>{qa.exports=cd;var nd=" ",od=" ",ld=1,ud=4;function cd(dd){for(var pd=0,fd=0,md=dd.charAt(pd),vd={},Ad,Nd=0;md===nd||md===od;){for(Ad=md===nd?ud:ld,fd+=Ad,Ad>1&&(fd=Math.floor(fd/Ad)*Ad);Nd<fd;)vd[++Nd]=pd;md=dd.charAt(++pd)}return{indent:fd,stops:vd}}}),Oa$1=C$2((Ra,qa)=>{var nd=Re$5(),od=Hr$2(),ld=$t$3();qa.exports=pd;var ud=`
|
||
`,cd=" ",dd="!";function pd(fd,md){var vd=fd.split(ud),Ad=vd.length+1,Nd=1/0,Id=[],kd,jd,Fd;for(vd.unshift(od(cd,md)+dd);Ad--;)if(jd=ld(vd[Ad]),Id[Ad]=jd.stops,nd(vd[Ad]).length!==0)if(jd.indent)jd.indent>0&&jd.indent<Nd&&(Nd=jd.indent);else{Nd=1/0;break}if(Nd!==1/0)for(Ad=vd.length;Ad--;){for(Fd=Id[Ad],kd=Nd;kd&&!(kd in Fd);)kd--;vd[Ad]=vd[Ad].slice(Fd[kd]+1)}return vd.shift(),vd.join(ud)}}),Ua$1=C$2((Ra,qa)=>{var nd=Re$5(),od=Hr$2(),ld=Ne$3(),ud=$t$3(),cd=Oa$1(),dd=Kr$2();qa.exports=mf;var pd="*",fd="_",md="+",vd="-",Ad=".",Nd=" ",Id=`
|
||
`,kd=" ",jd=")",Fd="x",Md=4,Ld=/\n\n(?!\s*$)/,Hd=/^\[([ X\tx])][ \t]/,Gd=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,Vd=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,Kd=/^( {1,4}|\t)?/gm;function mf(bf,yf,Ef){for(var gf=this,xf=gf.options.commonmark,Af=gf.options.pedantic,Lf=gf.blockTokenizers,Xf=gf.interruptList,Jf=0,Zf=yf.length,Bf=null,Df,Uf,Gf,zf,Tf,vf,qf,eh,ch,ih,Pf,uh,xh,Qf,wf,$f,Wf,Th,vh,ph=!1,Vh,wh,fm,Nm;Jf<Zf&&(zf=yf.charAt(Jf),!(zf!==kd&&zf!==Nd));)Jf++;if(zf=yf.charAt(Jf),zf===pd||zf===md||zf===vd)Tf=zf,Gf=!1;else{for(Gf=!0,Uf="";Jf<Zf&&(zf=yf.charAt(Jf),!!ld(zf));)Uf+=zf,Jf++;if(zf=yf.charAt(Jf),!Uf||!(zf===Ad||xf&&zf===jd)||Ef&&Uf!=="1")return;Bf=parseInt(Uf,10),Tf=zf}if(zf=yf.charAt(++Jf),!(zf!==Nd&&zf!==kd&&(Af||zf!==Id&&zf!==""))){if(Ef)return!0;for(Jf=0,Qf=[],wf=[],$f=[];Jf<Zf;){for(vf=yf.indexOf(Id,Jf),qf=Jf,eh=!1,Nm=!1,vf===-1&&(vf=Zf),Df=0;Jf<Zf;){if(zf=yf.charAt(Jf),zf===kd)Df+=Md-Df%Md;else if(zf===Nd)Df++;else break;Jf++}if(Wf&&Df>=Wf.indent&&(Nm=!0),zf=yf.charAt(Jf),ch=null,!Nm){if(zf===pd||zf===md||zf===vd)ch=zf,Jf++,Df++;else{for(Uf="";Jf<Zf&&(zf=yf.charAt(Jf),!!ld(zf));)Uf+=zf,Jf++;zf=yf.charAt(Jf),Jf++,Uf&&(zf===Ad||xf&&zf===jd)&&(ch=zf,Df+=Uf.length+1)}if(ch)if(zf=yf.charAt(Jf),zf===kd)Df+=Md-Df%Md,Jf++;else if(zf===Nd){for(fm=Jf+Md;Jf<fm&&yf.charAt(Jf)===Nd;)Jf++,Df++;Jf===fm&&yf.charAt(Jf)===Nd&&(Jf-=Md-1,Df-=Md-1)}else zf!==Id&&zf!==""&&(ch=null)}if(ch){if(!Af&&Tf!==ch)break;eh=!0}else!xf&&!Nm&&yf.charAt(qf)===Nd?Nm=!0:xf&&Wf&&(Nm=Df>=Wf.indent||Df>Md),eh=!1,Jf=qf;if(Pf=yf.slice(qf,vf),ih=qf===Jf?Pf:yf.slice(Jf,vf),(ch===pd||ch===fd||ch===vd)&&Lf.thematicBreak.call(gf,bf,Pf,!0))break;if(uh=xh,xh=!eh&&!nd(ih).length,Nm&&Wf)Wf.value=Wf.value.concat($f,Pf),wf=wf.concat($f,Pf),$f=[];else if(eh)$f.length!==0&&(ph=!0,Wf.value.push(""),Wf.trail=$f.concat()),Wf={value:[Pf],indent:Df,trail:[]},Qf.push(Wf),wf=wf.concat($f,Pf),$f=[];else if(xh){if(uh&&!xf)break;$f.push(Pf)}else{if(uh||dd(Xf,Lf,gf,[bf,Pf,!0]))break;Wf.value=Wf.value.concat($f,Pf),wf=wf.concat($f,Pf),$f=[]}Jf=vf+1}for(Vh=bf(wf.join(Id)).reset({type:"list",ordered:Gf,start:Bf,spread:ph,children:[]}),Th=gf.enterList(),vh=gf.enterBlock(),Jf=-1,Zf=Qf.length;++Jf<Zf;)Wf=Qf[Jf].value.join(Id),wh=bf.now(),bf(Wf)(Wd(gf,Wf,wh),Vh),Wf=Qf[Jf].trail.join(Id),Jf!==Zf-1&&(Wf+=Id),bf(Wf);return Th(),vh(),Vh}}function Wd(bf,yf,Ef){var gf=bf.offset,xf=bf.options.pedantic?Zd:Xd,Af=null,Lf,Xf;return yf=xf.apply(null,arguments),bf.options.gfm&&(Lf=yf.match(Hd),Lf&&(Xf=Lf[0].length,Af=Lf[1].toLowerCase()===Fd,gf[Ef.line]+=Xf,yf=yf.slice(Xf))),{type:"listItem",spread:Ld.test(yf),checked:Af,children:bf.tokenizeBlock(yf,Ef)}}function Zd(bf,yf,Ef){var gf=bf.offset,xf=Ef.line;return yf=yf.replace(Vd,Af),xf=Ef.line,yf.replace(Kd,Af);function Af(Lf){return gf[xf]=(gf[xf]||0)+Lf.length,xf++,""}}function Xd(bf,yf,Ef){var gf=bf.offset,xf=Ef.line,Af,Lf,Xf,Jf,Zf,Bf,Df;for(yf=yf.replace(Gd,Uf),Jf=yf.split(Id),Zf=cd(yf,ud(Af).indent).split(Id),Zf[0]=Xf,gf[xf]=(gf[xf]||0)+Lf.length,xf++,Bf=0,Df=Jf.length;++Bf<Df;)gf[xf]=(gf[xf]||0)+Jf[Bf].length-Zf[Bf].length,xf++;return Zf.join(Id);function Uf(Gf,zf,Tf,vf,qf){return Lf=zf+Tf+vf,Xf=qf,Number(Tf)<10&&Lf.length%2===1&&(Tf=Nd+Tf),Af=zf+od(Nd,Tf.length)+vf,Af+Xf}}}),Ga=C$2((Ra,qa)=>{qa.exports=md;var nd=`
|
||
`,od=" ",ld=" ",ud="=",cd="-",dd=3,pd=1,fd=2;function md(vd,Ad,Nd){for(var Id=this,kd=vd.now(),jd=Ad.length,Fd=-1,Md="",Ld,Hd,Gd,Vd,Kd;++Fd<jd;){if(Gd=Ad.charAt(Fd),Gd!==ld||Fd>=dd){Fd--;break}Md+=Gd}for(Ld="",Hd="";++Fd<jd;){if(Gd=Ad.charAt(Fd),Gd===nd){Fd--;break}Gd===ld||Gd===od?Hd+=Gd:(Ld+=Hd+Gd,Hd="")}if(kd.column+=Md.length,kd.offset+=Md.length,Md+=Ld+Hd,Gd=Ad.charAt(++Fd),Vd=Ad.charAt(++Fd),!(Gd!==nd||Vd!==ud&&Vd!==cd)){for(Md+=Gd,Hd=Vd,Kd=Vd===ud?pd:fd;++Fd<jd;){if(Gd=Ad.charAt(Fd),Gd!==Vd){if(Gd!==nd)return;Fd--;break}Hd+=Gd}return Nd?!0:vd(Md+Hd)({type:"heading",depth:Kd,children:Id.tokenizeInline(Ld,kd)})}}}),Xt$2=C$2(Ra=>{var qa="[a-zA-Z_:][a-zA-Z0-9:._-]*",nd="[^\"'=<>`\\u0000-\\u0020]+",od="'[^']*'",ld='"[^"]*"',ud="(?:"+nd+"|"+od+"|"+ld+")",cd="(?:\\s+"+qa+"(?:\\s*=\\s*"+ud+")?)",dd="<[A-Za-z][A-Za-z0-9\\-]*"+cd+"*\\s*\\/?>",pd="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",fd="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",md="<[?].*?[?]>",vd="<![A-Za-z]+\\s+[^>]*>",Ad="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";Ra.openCloseTag=new RegExp("^(?:"+dd+"|"+pd+")"),Ra.tag=new RegExp("^(?:"+dd+"|"+pd+"|"+fd+"|"+md+"|"+vd+"|"+Ad+")")}),Ka=C$2((Ra,qa)=>{var nd=Xt$2().openCloseTag;qa.exports=Ld;var od=" ",ld=" ",ud=`
|
||
`,cd="<",dd=/^<(script|pre|style)(?=(\s|>|$))/i,pd=/<\/(script|pre|style)>/i,fd=/^<!--/,md=/-->/,vd=/^<\?/,Ad=/\?>/,Nd=/^<![A-Za-z]/,Id=/>/,kd=/^<!\[CDATA\[/,jd=/]]>/,Fd=/^$/,Md=new RegExp(nd.source+"\\s*$");function Ld(Hd,Gd,Vd){for(var Kd=this,mf=Kd.options.blocks.join("|"),Wd=new RegExp("^</?("+mf+")(?=(\\s|/?>|$))","i"),Zd=Gd.length,Xd=0,bf,yf,Ef,gf,xf,Af,Lf,Xf=[[dd,pd,!0],[fd,md,!0],[vd,Ad,!0],[Nd,Id,!0],[kd,jd,!0],[Wd,Fd,!0],[Md,Fd,!1]];Xd<Zd&&(gf=Gd.charAt(Xd),!(gf!==od&&gf!==ld));)Xd++;if(Gd.charAt(Xd)===cd){for(bf=Gd.indexOf(ud,Xd+1),bf=bf===-1?Zd:bf,yf=Gd.slice(Xd,bf),Ef=-1,xf=Xf.length;++Ef<xf;)if(Xf[Ef][0].test(yf)){Af=Xf[Ef];break}if(Af){if(Vd)return Af[2];if(Xd=bf,!Af[1].test(yf))for(;Xd<Zd;){if(bf=Gd.indexOf(ud,Xd+1),bf=bf===-1?Zd:bf,yf=Gd.slice(Xd+1,bf),Af[1].test(yf)){yf&&(Xd=bf);break}Xd=bf}return Lf=Gd.slice(0,Xd),Hd(Lf)({type:"html",value:Lf})}}}}),ue$4=C$2((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$2((Ra,qa)=>{var nd=xr$1();qa.exports=od;function od(ld){return nd(ld).toLowerCase()}}),io$1=C$2((Ra,qa)=>{var nd=ue$4(),od=Qt$2();qa.exports=Fd;var ld='"',ud="'",cd="\\",dd=`
|
||
`,pd=" ",fd=" ",md="[",vd="]",Ad="(",Nd=")",Id=":",kd="<",jd=">";function Fd(Hd,Gd,Vd){for(var Kd=this,mf=Kd.options.commonmark,Wd=0,Zd=Gd.length,Xd="",bf,yf,Ef,gf,xf,Af,Lf,Xf;Wd<Zd&&(gf=Gd.charAt(Wd),!(gf!==fd&&gf!==pd));)Xd+=gf,Wd++;if(gf=Gd.charAt(Wd),gf===md){for(Wd++,Xd+=gf,Ef="";Wd<Zd&&(gf=Gd.charAt(Wd),gf!==vd);)gf===cd&&(Ef+=gf,Wd++,gf=Gd.charAt(Wd)),Ef+=gf,Wd++;if(!(!Ef||Gd.charAt(Wd)!==vd||Gd.charAt(Wd+1)!==Id)){for(Af=Ef,Xd+=Ef+vd+Id,Wd=Xd.length,Ef="";Wd<Zd&&(gf=Gd.charAt(Wd),!(gf!==pd&&gf!==fd&&gf!==dd));)Xd+=gf,Wd++;if(gf=Gd.charAt(Wd),Ef="",bf=Xd,gf===kd){for(Wd++;Wd<Zd&&(gf=Gd.charAt(Wd),!!Md(gf));)Ef+=gf,Wd++;if(gf=Gd.charAt(Wd),gf===Md.delimiter)Xd+=kd+Ef+gf,Wd++;else{if(mf)return;Wd-=Ef.length+1,Ef=""}}if(!Ef){for(;Wd<Zd&&(gf=Gd.charAt(Wd),!!Ld(gf));)Ef+=gf,Wd++;Xd+=Ef}if(Ef){for(Lf=Ef,Ef="";Wd<Zd&&(gf=Gd.charAt(Wd),!(gf!==pd&&gf!==fd&&gf!==dd));)Ef+=gf,Wd++;if(gf=Gd.charAt(Wd),xf=null,gf===ld?xf=ld:gf===ud?xf=ud:gf===Ad&&(xf=Nd),!xf)Ef="",Wd=Xd.length;else if(Ef){for(Xd+=Ef+gf,Wd=Xd.length,Ef="";Wd<Zd&&(gf=Gd.charAt(Wd),gf!==xf);){if(gf===dd){if(Wd++,gf=Gd.charAt(Wd),gf===dd||gf===xf)return;Ef+=dd}Ef+=gf,Wd++}if(gf=Gd.charAt(Wd),gf!==xf)return;yf=Xd,Xd+=Ef+gf,Wd++,Xf=Ef,Ef=""}else return;for(;Wd<Zd&&(gf=Gd.charAt(Wd),!(gf!==pd&&gf!==fd));)Xd+=gf,Wd++;if(gf=Gd.charAt(Wd),!gf||gf===dd)return Vd?!0:(bf=Hd(bf).test().end,Lf=Kd.decode.raw(Kd.unescape(Lf),bf,{nonTerminated:!1}),Xf&&(yf=Hd(yf).test().end,Xf=Kd.decode.raw(Kd.unescape(Xf),yf)),Hd(Xd)({type:"definition",identifier:od(Af),label:Af,title:Xf||null,url:Lf}))}}}}function Md(Hd){return Hd!==jd&&Hd!==md&&Hd!==vd}Md.delimiter=jd;function Ld(Hd){return Hd!==md&&Hd!==vd&&!nd(Hd)}}),oo$2=C$2((Ra,qa)=>{var nd=ue$4();qa.exports=kd;var od=" ",ld=`
|
||
`,ud=" ",cd="-",dd=":",pd="\\",fd="|",md=1,vd=2,Ad="left",Nd="center",Id="right";function kd(jd,Fd,Md){var Ld=this,Hd,Gd,Vd,Kd,mf,Wd,Zd,Xd,bf,yf,Ef,gf,xf,Af,Lf,Xf,Jf,Zf,Bf,Df,Uf,Gf;if(Ld.options.gfm){for(Hd=0,Xf=0,Wd=Fd.length+1,Zd=[];Hd<Wd;){if(Df=Fd.indexOf(ld,Hd),Uf=Fd.indexOf(fd,Hd+1),Df===-1&&(Df=Fd.length),Uf===-1||Uf>Df){if(Xf<vd)return;break}Zd.push(Fd.slice(Hd,Df)),Xf++,Hd=Df+1}for(Kd=Zd.join(ld),Gd=Zd.splice(1,1)[0]||[],Hd=0,Wd=Gd.length,Xf--,Vd=!1,Ef=[];Hd<Wd;){if(bf=Gd.charAt(Hd),bf===fd){if(yf=null,Vd===!1){if(Gf===!1)return}else Ef.push(Vd),Vd=!1;Gf=!1}else if(bf===cd)yf=!0,Vd=Vd||null;else if(bf===dd)Vd===Ad?Vd=Nd:yf&&Vd===null?Vd=Id:Vd=Ad;else if(!nd(bf))return;Hd++}if(Vd!==!1&&Ef.push(Vd),!(Ef.length<md)){if(Md)return!0;for(Lf=-1,Zf=[],Bf=jd(Kd).reset({type:"table",align:Ef,children:Zf});++Lf<Xf;){for(Jf=Zd[Lf],mf={type:"tableRow",children:[]},Lf&&jd(ld),jd(Jf).reset(mf,Bf),Wd=Jf.length+1,Hd=0,Xd="",gf="",xf=!0;Hd<Wd;){if(bf=Jf.charAt(Hd),bf===od||bf===ud){gf?Xd+=bf:jd(bf),Hd++;continue}bf===""||bf===fd?xf?jd(bf):((gf||bf)&&!xf&&(Kd=gf,Xd.length>1&&(bf?(Kd+=Xd.slice(0,-1),Xd=Xd.charAt(Xd.length-1)):(Kd+=Xd,Xd="")),Af=jd.now(),jd(Kd)({type:"tableCell",children:Ld.tokenizeInline(gf,Af)},mf)),jd(Xd+bf),Xd="",gf=""):(Xd&&(gf+=Xd,Xd=""),gf+=bf,bf===pd&&Hd!==Wd-2&&(gf+=Jf.charAt(Hd+1),Hd++)),xf=!1,Hd++}Lf||jd(ld+Gd)}return Bf}}}}),lo$1=C$2((Ra,qa)=>{var nd=Re$5(),od=Mt$3(),ld=Kr$2();qa.exports=fd;var ud=" ",cd=`
|
||
`,dd=" ",pd=4;function fd(md,vd,Ad){for(var Nd=this,Id=Nd.options,kd=Id.commonmark,jd=Nd.blockTokenizers,Fd=Nd.interruptParagraph,Md=vd.indexOf(cd),Ld=vd.length,Hd,Gd,Vd,Kd,mf;Md<Ld;){if(Md===-1){Md=Ld;break}if(vd.charAt(Md+1)===cd)break;if(kd){for(Kd=0,Hd=Md+1;Hd<Ld;){if(Vd=vd.charAt(Hd),Vd===ud){Kd=pd;break}else if(Vd===dd)Kd++;else break;Hd++}if(Kd>=pd&&Vd!==cd){Md=vd.indexOf(cd,Md+1);continue}}if(Gd=vd.slice(Md+1),ld(Fd,jd,Nd,[md,Gd,!0]))break;if(Hd=Md,Md=vd.indexOf(cd,Md+1),Md!==-1&&nd(vd.slice(Hd,Md))===""){Md=Hd;break}}return Gd=vd.slice(0,Md),Ad?!0:(mf=md.now(),Gd=od(Gd),md(Gd)({type:"paragraph",children:Nd.tokenizeInline(Gd,mf)}))}}),Do$1=C$2((Ra,qa)=>{qa.exports=nd;function nd(od,ld){return od.indexOf("\\",ld)}}),Fo$1=C$2((Ra,qa)=>{var nd=Do$1();qa.exports=ud,ud.locator=nd;var od=`
|
||
`,ld="\\";function ud(cd,dd,pd){var fd=this,md,vd;if(dd.charAt(0)===ld&&(md=dd.charAt(1),fd.escape.indexOf(md)!==-1))return pd?!0:(md===od?vd={type:"break"}:vd={type:"text",value:md},cd(ld+md)(vd))}}),tn$2=C$2((Ra,qa)=>{qa.exports=nd;function nd(od,ld){return od.indexOf("<",ld)}}),yo$1=C$2((Ra,qa)=>{var nd=ue$4(),od=pr$1(),ld=tn$2();qa.exports=vd,vd.locator=ld,vd.notInLink=!0;var ud="<",cd=">",dd="@",pd="/",fd="mailto:",md=fd.length;function vd(Ad,Nd,Id){var kd=this,jd="",Fd=Nd.length,Md=0,Ld="",Hd=!1,Gd="",Vd,Kd,mf,Wd,Zd;if(Nd.charAt(0)===ud){for(Md++,jd=ud;Md<Fd&&(Vd=Nd.charAt(Md),!(nd(Vd)||Vd===cd||Vd===dd||Vd===":"&&Nd.charAt(Md+1)===pd));)Ld+=Vd,Md++;if(Ld){if(Gd+=Ld,Ld="",Vd=Nd.charAt(Md),Gd+=Vd,Md++,Vd===dd)Hd=!0;else{if(Vd!==":"||Nd.charAt(Md+1)!==pd)return;Gd+=pd,Md++}for(;Md<Fd&&(Vd=Nd.charAt(Md),!(nd(Vd)||Vd===cd));)Ld+=Vd,Md++;if(Vd=Nd.charAt(Md),!(!Ld||Vd!==cd))return Id?!0:(Gd+=Ld,mf=Gd,jd+=Gd+Vd,Kd=Ad.now(),Kd.column++,Kd.offset++,Hd&&(Gd.slice(0,md).toLowerCase()===fd?(mf=mf.slice(md),Kd.column+=md,Kd.offset+=md):Gd=fd+Gd),Wd=kd.inlineTokenizers,kd.inlineTokenizers={text:Wd.text},Zd=kd.enterLink(),mf=kd.tokenizeInline(mf,Kd),kd.inlineTokenizers=Wd,Zd(),Ad(jd)({type:"link",title:null,url:od(Gd,{nonTerminated:!1}),children:mf}))}}}}),xo$2=C$2((Ra,qa)=>{qa.exports=nd;function nd(od,ld){var ud=String(od),cd=0,dd;if(typeof ld!="string")throw new Error("Expected character");for(dd=ud.indexOf(ld);dd!==-1;)cd++,dd=ud.indexOf(ld,dd+ld.length);return cd}}),Bo$1=C$2((Ra,qa)=>{qa.exports=od;var nd=["www.","http://","https://"];function od(ld,ud){var cd=-1,dd,pd,fd;if(!this.options.gfm)return cd;for(pd=nd.length,dd=-1;++dd<pd;)fd=ld.indexOf(nd[dd],ud),fd!==-1&&(cd===-1||fd<cd)&&(cd=fd);return cd}}),Oo=C$2((Ra,qa)=>{var nd=xo$2(),od=pr$1(),ld=Ne$3(),ud=Ve$3(),cd=ue$4(),dd=Bo$1();qa.exports=Kd,Kd.locator=dd,Kd.notInLink=!0;var pd=33,fd=38,md=41,vd=42,Ad=44,Nd=45,Id=46,kd=58,jd=59,Fd=63,Md=60,Ld=95,Hd=126,Gd="(",Vd=")";function Kd(mf,Wd,Zd){var Xd=this,bf=Xd.options.gfm,yf=Xd.inlineTokenizers,Ef=Wd.length,gf=-1,xf=!1,Af,Lf,Xf,Jf,Zf,Bf,Df,Uf,Gf,zf,Tf,vf,qf,eh;if(bf){if(Wd.slice(0,4)==="www.")xf=!0,Jf=4;else if(Wd.slice(0,7).toLowerCase()==="http://")Jf=7;else if(Wd.slice(0,8).toLowerCase()==="https://")Jf=8;else return;for(gf=Jf-1,Xf=Jf,Af=[];Jf<Ef;){if(Df=Wd.charCodeAt(Jf),Df===Id){if(gf===Jf-1)break;Af.push(Jf),gf=Jf,Jf++;continue}if(ld(Df)||ud(Df)||Df===Nd||Df===Ld){Jf++;continue}break}if(Df===Id&&(Af.pop(),Jf--),Af[0]!==void 0&&(Lf=Af.length<2?Xf:Af[Af.length-2]+1,Wd.slice(Lf,Jf).indexOf("_")===-1)){if(Zd)return!0;for(Uf=Jf,Zf=Jf;Jf<Ef&&(Df=Wd.charCodeAt(Jf),!(cd(Df)||Df===Md));)Jf++,Df===pd||Df===vd||Df===Ad||Df===Id||Df===kd||Df===Fd||Df===Ld||Df===Hd||(Uf=Jf);if(Jf=Uf,Wd.charCodeAt(Jf-1)===md)for(Bf=Wd.slice(Zf,Jf),Gf=nd(Bf,Gd),zf=nd(Bf,Vd);zf>Gf;)Jf=Zf+Bf.lastIndexOf(Vd),Bf=Wd.slice(Zf,Jf),zf--;if(Wd.charCodeAt(Jf-1)===jd&&(Jf--,ud(Wd.charCodeAt(Jf-1)))){for(Uf=Jf-2;ud(Wd.charCodeAt(Uf));)Uf--;Wd.charCodeAt(Uf)===fd&&(Jf=Uf)}return Tf=Wd.slice(0,Jf),qf=od(Tf,{nonTerminated:!1}),xf&&(qf="http://"+qf),eh=Xd.enterLink(),Xd.inlineTokenizers={text:yf.text},vf=Xd.tokenizeInline(Tf,mf.now()),Xd.inlineTokenizers=yf,eh(),mf(Tf)({type:"link",title:null,url:qf,children:vf})}}}}),No=C$2((Ra,qa)=>{var nd=Ne$3(),od=Ve$3(),ld=43,ud=45,cd=46,dd=95;qa.exports=pd;function pd(md,vd){var Ad=this,Nd,Id;if(!this.options.gfm||(Nd=md.indexOf("@",vd),Nd===-1))return-1;if(Id=Nd,Id===vd||!fd(md.charCodeAt(Id-1)))return pd.call(Ad,md,Nd+1);for(;Id>vd&&fd(md.charCodeAt(Id-1));)Id--;return Id}function fd(md){return nd(md)||od(md)||md===ld||md===ud||md===cd||md===dd}}),Mo$2=C$2((Ra,qa)=>{var nd=pr$1(),od=Ne$3(),ld=Ve$3(),ud=No();qa.exports=vd,vd.locator=ud,vd.notInLink=!0;var cd=43,dd=45,pd=46,fd=64,md=95;function vd(Ad,Nd,Id){var kd=this,jd=kd.options.gfm,Fd=kd.inlineTokenizers,Md=0,Ld=Nd.length,Hd=-1,Gd,Vd,Kd,mf;if(jd){for(Gd=Nd.charCodeAt(Md);od(Gd)||ld(Gd)||Gd===cd||Gd===dd||Gd===pd||Gd===md;)Gd=Nd.charCodeAt(++Md);if(Md!==0&&Gd===fd){for(Md++;Md<Ld;){if(Gd=Nd.charCodeAt(Md),od(Gd)||ld(Gd)||Gd===dd||Gd===pd||Gd===md){Md++,Hd===-1&&Gd===pd&&(Hd=Md);continue}break}if(!(Hd===-1||Hd===Md||Gd===dd||Gd===md))return Gd===pd&&Md--,Vd=Nd.slice(0,Md),Id?!0:(mf=kd.enterLink(),kd.inlineTokenizers={text:Fd.text},Kd=kd.tokenizeInline(Vd,Ad.now()),kd.inlineTokenizers=Fd,mf(),Ad(Vd)({type:"link",title:null,url:"mailto:"+nd(Vd,{nonTerminated:!1}),children:Kd}))}}}}),Vo$1=C$2((Ra,qa)=>{var nd=Ve$3(),od=tn$2(),ld=Xt$2().tag;qa.exports=vd,vd.locator=od;var ud="<",cd="?",dd="!",pd="/",fd=/^<a /i,md=/^<\/a>/i;function vd(Ad,Nd,Id){var kd=this,jd=Nd.length,Fd,Md;if(!(Nd.charAt(0)!==ud||jd<3)&&(Fd=Nd.charAt(1),!(!nd(Fd)&&Fd!==cd&&Fd!==dd&&Fd!==pd)&&(Md=Nd.match(ld),!!Md)))return Id?!0:(Md=Md[0],!kd.inLink&&fd.test(Md)?kd.inLink=!0:kd.inLink&&md.test(Md)&&(kd.inLink=!1),Ad(Md)({type:"html",value:Md}))}}),dn$3=C$2((Ra,qa)=>{qa.exports=nd;function nd(od,ld){var ud=od.indexOf("[",ld),cd=od.indexOf("![",ld);return cd===-1||ud<cd?ud:cd}}),Qo$1=C$2((Ra,qa)=>{var nd=ue$4(),od=dn$3();qa.exports=jd,jd.locator=od;var ld=`
|
||
`,ud="!",cd='"',dd="'",pd="(",fd=")",md="<",vd=">",Ad="[",Nd="\\",Id="]",kd="`";function jd(Fd,Md,Ld){var Hd=this,Gd="",Vd=0,Kd=Md.charAt(0),mf=Hd.options.pedantic,Wd=Hd.options.commonmark,Zd=Hd.options.gfm,Xd,bf,yf,Ef,gf,xf,Af,Lf,Xf,Jf,Zf,Bf,Df,Uf,Gf,zf,Tf,vf;if(Kd===ud&&(Lf=!0,Gd=Kd,Kd=Md.charAt(++Vd)),Kd===Ad&&!(!Lf&&Hd.inLink)){for(Gd+=Kd,Uf="",Vd++,Zf=Md.length,zf=Fd.now(),Df=0,zf.column+=Vd,zf.offset+=Vd;Vd<Zf;){if(Kd=Md.charAt(Vd),xf=Kd,Kd===kd){for(bf=1;Md.charAt(Vd+1)===kd;)xf+=Kd,Vd++,bf++;yf?bf>=yf&&(yf=0):yf=bf}else if(Kd===Nd)Vd++,xf+=Md.charAt(Vd);else if((!yf||Zd)&&Kd===Ad)Df++;else if((!yf||Zd)&&Kd===Id)if(Df)Df--;else{if(Md.charAt(Vd+1)!==pd)return;xf+=pd,Xd=!0,Vd++;break}Uf+=xf,xf="",Vd++}if(Xd){for(Xf=Uf,Gd+=Uf+xf,Vd++;Vd<Zf&&(Kd=Md.charAt(Vd),!!nd(Kd));)Gd+=Kd,Vd++;if(Kd=Md.charAt(Vd),Uf="",Ef=Gd,Kd===md){for(Vd++,Ef+=md;Vd<Zf&&(Kd=Md.charAt(Vd),Kd!==vd);){if(Wd&&Kd===ld)return;Uf+=Kd,Vd++}if(Md.charAt(Vd)!==vd)return;Gd+=md+Uf+vd,Gf=Uf,Vd++}else{for(Kd=null,xf="";Vd<Zf&&(Kd=Md.charAt(Vd),!(xf&&(Kd===cd||Kd===dd||Wd&&Kd===pd)));){if(nd(Kd)){if(!mf)break;xf+=Kd}else{if(Kd===pd)Df++;else if(Kd===fd){if(Df===0)break;Df--}Uf+=xf,xf="",Kd===Nd&&(Uf+=Nd,Kd=Md.charAt(++Vd)),Uf+=Kd}Vd++}Gd+=Uf,Gf=Uf,Vd=Gd.length}for(Uf="";Vd<Zf&&(Kd=Md.charAt(Vd),!!nd(Kd));)Uf+=Kd,Vd++;if(Kd=Md.charAt(Vd),Gd+=Uf,Uf&&(Kd===cd||Kd===dd||Wd&&Kd===pd))if(Vd++,Gd+=Kd,Uf="",Jf=Kd===pd?fd:Kd,gf=Gd,Wd){for(;Vd<Zf&&(Kd=Md.charAt(Vd),Kd!==Jf);)Kd===Nd&&(Uf+=Nd,Kd=Md.charAt(++Vd)),Vd++,Uf+=Kd;if(Kd=Md.charAt(Vd),Kd!==Jf)return;for(Bf=Uf,Gd+=Uf+Kd,Vd++;Vd<Zf&&(Kd=Md.charAt(Vd),!!nd(Kd));)Gd+=Kd,Vd++}else for(xf="";Vd<Zf;){if(Kd=Md.charAt(Vd),Kd===Jf)Af&&(Uf+=Jf+xf,xf=""),Af=!0;else if(!Af)Uf+=Kd;else if(Kd===fd){Gd+=Uf+Jf+xf,Bf=Uf;break}else nd(Kd)?xf+=Kd:(Uf+=Jf+xf+Kd,xf="",Af=!1);Vd++}if(Md.charAt(Vd)===fd)return Ld?!0:(Gd+=fd,Gf=Hd.decode.raw(Hd.unescape(Gf),Fd(Ef).test().end,{nonTerminated:!1}),Bf&&(gf=Fd(gf).test().end,Bf=Hd.decode.raw(Hd.unescape(Bf),gf)),vf={type:Lf?"image":"link",title:Bf||null,url:Gf},Lf?vf.alt=Hd.decode.raw(Hd.unescape(Xf),zf)||null:(Tf=Hd.enterLink(),vf.children=Hd.tokenizeInline(Xf,zf),Tf()),Fd(Gd)(vf))}}}}),rs=C$2((Ra,qa)=>{var nd=ue$4(),od=dn$3(),ld=Qt$2();qa.exports=Id,Id.locator=od;var ud="link",cd="image",dd="shortcut",pd="collapsed",fd="full",md="!",vd="[",Ad="\\",Nd="]";function Id(kd,jd,Fd){var Md=this,Ld=Md.options.commonmark,Hd=jd.charAt(0),Gd=0,Vd=jd.length,Kd="",mf="",Wd=ud,Zd=dd,Xd,bf,yf,Ef,gf,xf,Af,Lf;if(Hd===md&&(Wd=cd,mf=Hd,Hd=jd.charAt(++Gd)),Hd===vd){for(Gd++,mf+=Hd,xf="",Lf=0;Gd<Vd;){if(Hd=jd.charAt(Gd),Hd===vd)Af=!0,Lf++;else if(Hd===Nd){if(!Lf)break;Lf--}Hd===Ad&&(xf+=Ad,Hd=jd.charAt(++Gd)),xf+=Hd,Gd++}if(Kd=xf,Xd=xf,Hd=jd.charAt(Gd),Hd===Nd){if(Gd++,Kd+=Hd,xf="",!Ld)for(;Gd<Vd&&(Hd=jd.charAt(Gd),!!nd(Hd));)xf+=Hd,Gd++;if(Hd=jd.charAt(Gd),Hd===vd){for(bf="",xf+=Hd,Gd++;Gd<Vd&&(Hd=jd.charAt(Gd),!(Hd===vd||Hd===Nd));)Hd===Ad&&(bf+=Ad,Hd=jd.charAt(++Gd)),bf+=Hd,Gd++;Hd=jd.charAt(Gd),Hd===Nd?(Zd=bf?fd:pd,xf+=bf+Hd,Gd++):bf="",Kd+=xf,xf=""}else{if(!Xd)return;bf=Xd}if(!(Zd!==fd&&Af))return Kd=mf+Kd,Wd===ud&&Md.inLink?null:Fd?!0:(yf=kd.now(),yf.column+=mf.length,yf.offset+=mf.length,bf=Zd===fd?bf:Xd,Ef={type:Wd+"Reference",identifier:ld(bf),label:bf,referenceType:Zd},Wd===ud?(gf=Md.enterLink(),Ef.children=Md.tokenizeInline(Xd,yf),gf()):Ef.alt=Md.decode.raw(Md.unescape(Xd),yf)||null,kd(Kd)(Ef))}}}}),ns=C$2((Ra,qa)=>{qa.exports=nd;function nd(od,ld){var ud=od.indexOf("**",ld),cd=od.indexOf("__",ld);return cd===-1?ud:ud===-1||cd<ud?cd:ud}}),os=C$2((Ra,qa)=>{var nd=Re$5(),od=ue$4(),ld=ns();qa.exports=pd,pd.locator=ld;var ud="\\",cd="*",dd="_";function pd(fd,md,vd){var Ad=this,Nd=0,Id=md.charAt(Nd),kd,jd,Fd,Md,Ld,Hd,Gd;if(!(Id!==cd&&Id!==dd||md.charAt(++Nd)!==Id)&&(jd=Ad.options.pedantic,Fd=Id,Ld=Fd+Fd,Hd=md.length,Nd++,Md="",Id="",!(jd&&od(md.charAt(Nd)))))for(;Nd<Hd;){if(Gd=Id,Id=md.charAt(Nd),Id===Fd&&md.charAt(Nd+1)===Fd&&(!jd||!od(Gd))&&(Id=md.charAt(Nd+2),Id!==Fd))return nd(Md)?vd?!0:(kd=fd.now(),kd.column+=2,kd.offset+=2,fd(Ld+Md+Ld)({type:"strong",children:Ad.tokenizeInline(Md,kd)})):void 0;!jd&&Id===ud&&(Md+=Id,Id=md.charAt(++Nd)),Md+=Id,Nd++}}}),cs$1=C$2((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$2((Ra,qa)=>{qa.exports=nd;function nd(od,ld){var ud=od.indexOf("*",ld),cd=od.indexOf("_",ld);return cd===-1?ud:ud===-1||cd<ud?cd:ud}}),ms=C$2((Ra,qa)=>{var nd=Re$5(),od=cs$1(),ld=ue$4(),ud=fs();qa.exports=fd,fd.locator=ud;var cd="*",dd="_",pd="\\";function fd(md,vd,Ad){var Nd=this,Id=0,kd=vd.charAt(Id),jd,Fd,Md,Ld,Hd,Gd,Vd;if(!(kd!==cd&&kd!==dd)&&(Fd=Nd.options.pedantic,Hd=kd,Md=kd,Gd=vd.length,Id++,Ld="",kd="",!(Fd&&ld(vd.charAt(Id)))))for(;Id<Gd;){if(Vd=kd,kd=vd.charAt(Id),kd===Md&&(!Fd||!ld(Vd))){if(kd=vd.charAt(++Id),kd!==Md){if(!nd(Ld)||Vd===Md)return;if(!Fd&&Md===dd&&od(kd)){Ld+=Md;continue}return Ad?!0:(jd=md.now(),jd.column++,jd.offset++,md(Hd+Ld+Md)({type:"emphasis",children:Nd.tokenizeInline(Ld,jd)}))}Ld+=Md}!Fd&&kd===pd&&(Ld+=kd,kd=vd.charAt(++Id)),Ld+=kd,Id++}}}),gs$1=C$2((Ra,qa)=>{qa.exports=nd;function nd(od,ld){return od.indexOf("~~",ld)}}),ys=C$2((Ra,qa)=>{var nd=ue$4(),od=gs$1();qa.exports=cd,cd.locator=od;var ld="~",ud="~~";function cd(dd,pd,fd){var md=this,vd="",Ad="",Nd="",Id="",kd,jd,Fd;if(!(!md.options.gfm||pd.charAt(0)!==ld||pd.charAt(1)!==ld||nd(pd.charAt(2))))for(kd=1,jd=pd.length,Fd=dd.now(),Fd.column+=2,Fd.offset+=2;++kd<jd;){if(vd=pd.charAt(kd),vd===ld&&Ad===ld&&(!Nd||!nd(Nd)))return fd?!0:dd(ud+Id+ud)({type:"delete",children:md.tokenizeInline(Id,Fd)});Id+=Ad,Nd=Ad,Ad=vd}}}),xs=C$2((Ra,qa)=>{qa.exports=nd;function nd(od,ld){return od.indexOf("`",ld)}}),Bs=C$2((Ra,qa)=>{var nd=xs();qa.exports=cd,cd.locator=nd;var od=10,ld=32,ud=96;function cd(dd,pd,fd){for(var md=pd.length,vd=0,Ad,Nd,Id,kd,jd,Fd;vd<md&&pd.charCodeAt(vd)===ud;)vd++;if(!(vd===0||vd===md)){for(Ad=vd,jd=pd.charCodeAt(vd);vd<md;){if(kd=jd,jd=pd.charCodeAt(vd+1),kd===ud){if(Nd===void 0&&(Nd=vd),Id=vd+1,jd!==ud&&Id-Nd===Ad){Fd=!0;break}}else Nd!==void 0&&(Nd=void 0,Id=void 0);vd++}if(Fd){if(fd)return!0;if(vd=Ad,md=Nd,kd=pd.charCodeAt(vd),jd=pd.charCodeAt(md-1),Fd=!1,md-vd>2&&(kd===ld||kd===od)&&(jd===ld||jd===od)){for(vd++,md--;vd<md;){if(kd=pd.charCodeAt(vd),kd!==ld&&kd!==od){Fd=!0;break}vd++}Fd===!0&&(Ad++,Nd--)}return dd(pd.slice(0,Id))({type:"inlineCode",value:pd.slice(Ad,Nd)})}}}}),Ts=C$2((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$2((Ra,qa)=>{var nd=Ts();qa.exports=cd,cd.locator=nd;var od=" ",ld=`
|
||
`,ud=2;function cd(dd,pd,fd){for(var md=pd.length,vd=-1,Ad="",Nd;++vd<md;){if(Nd=pd.charAt(vd),Nd===ld)return vd<ud?void 0:fd?!0:(Ad+=Nd,dd(Ad)({type:"break"}));if(Nd!==od)return;Ad+=Nd}}}),Ls$1=C$2((Ra,qa)=>{qa.exports=nd;function nd(od,ld,ud){var cd=this,dd,pd,fd,md,vd,Ad,Nd,Id,kd,jd;if(ud)return!0;for(dd=cd.inlineMethods,md=dd.length,pd=cd.inlineTokenizers,fd=-1,kd=ld.length;++fd<md;)Id=dd[fd],!(Id==="text"||!pd[Id])&&(Nd=pd[Id].locator,Nd||od.file.fail("Missing locator: `"+Id+"`"),Ad=Nd.call(cd,ld,1),Ad!==-1&&Ad<kd&&(kd=Ad));vd=ld.slice(0,kd),jd=od.now(),cd.decode(vd,jd,Fd);function Fd(Md,Ld,Hd){od(Hd||Md)({type:"text",value:Md})}}}),Us=C$2((Ra,qa)=>{var nd=Ie$3(),od=ru$1(),ld=nu$2(),ud=uu$2(),cd=Ou$1(),dd=Iu$1();qa.exports=pd;function pd(vd,Ad){this.file=Ad,this.offset={},this.options=nd(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=ld(Ad).toOffset,this.unescape=ud(this,"escape"),this.decode=cd(this)}var fd=pd.prototype;fd.setOptions=Vu$2(),fd.parse=aa$1(),fd.options=Rt$3(),fd.exitStart=od("atStart",!0),fd.enterList=od("inList",!1),fd.enterLink=od("inLink",!1),fd.enterBlock=od("inBlock",!1),fd.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],fd.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],fd.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}]],fd.blockTokenizers={blankLine:sa(),indentedCode:pa(),fencedCode:ma(),blockquote:ba(),atxHeading:xa$1(),thematicBreak:Ba(),list:Ua$1(),setextHeading:Ga(),html:Ka(),definition:io$1(),table:oo$2(),paragraph:lo$1()},fd.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()},fd.blockMethods=md(fd.blockTokenizers),fd.inlineMethods=md(fd.inlineTokenizers),fd.tokenizeBlock=dd("block"),fd.tokenizeInline=dd("inline"),fd.tokenizeFactory=dd;function md(vd){var Ad=[],Nd;for(Nd in vd)Ad.push(Nd);return Ad}}),Gs=C$2((Ra,qa)=>{var nd=Zi(),od=Ie$3(),ld=Us();qa.exports=ud,ud.Parser=ld;function ud(cd){var dd=this.data("settings"),pd=nd(ld);pd.prototype.options=od(pd.prototype.options,dd,cd),this.Parser=pd}}),js$1=C$2((Ra,qa)=>{qa.exports=nd;function nd(od){if(od)throw od}}),yn$3=C$2((Ra,qa)=>{qa.exports=function(nd){return nd!=null&&nd.constructor!=null&&typeof nd.constructor.isBuffer=="function"&&nd.constructor.isBuffer(nd)}}),rc$1=C$2((Ra,qa)=>{var nd=Object.prototype.hasOwnProperty,od=Object.prototype.toString,ld=Object.defineProperty,ud=Object.getOwnPropertyDescriptor,cd=function(md){return typeof Array.isArray=="function"?Array.isArray(md):od.call(md)==="[object Array]"},dd=function(md){if(!md||od.call(md)!=="[object Object]")return!1;var vd=nd.call(md,"constructor"),Ad=md.constructor&&md.constructor.prototype&&nd.call(md.constructor.prototype,"isPrototypeOf");if(md.constructor&&!vd&&!Ad)return!1;var Nd;for(Nd in md);return typeof Nd>"u"||nd.call(md,Nd)},pd=function(md,vd){ld&&vd.name==="__proto__"?ld(md,vd.name,{enumerable:!0,configurable:!0,value:vd.newValue,writable:!0}):md[vd.name]=vd.newValue},fd=function(md,vd){if(vd==="__proto__")if(nd.call(md,vd)){if(ud)return ud(md,vd).value}else return;return md[vd]};qa.exports=function md(){var vd,Ad,Nd,Id,kd,jd,Fd=arguments[0],Md=1,Ld=arguments.length,Hd=!1;for(typeof Fd=="boolean"&&(Hd=Fd,Fd=arguments[1]||{},Md=2),(Fd==null||typeof Fd!="object"&&typeof Fd!="function")&&(Fd={});Md<Ld;++Md)if(vd=arguments[Md],vd!=null)for(Ad in vd)Nd=fd(Fd,Ad),Id=fd(vd,Ad),Fd!==Id&&(Hd&&Id&&(dd(Id)||(kd=cd(Id)))?(kd?(kd=!1,jd=Nd&&cd(Nd)?Nd:[]):jd=Nd&&dd(Nd)?Nd:{},pd(Fd,{name:Ad,newValue:md(Hd,jd,Id)})):typeof Id<"u"&&pd(Fd,{name:Ad,newValue:Id}));return Fd}}),nc$1=C$2((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$2((Ra,qa)=>{var nd=[].slice;qa.exports=od;function od(ld,ud){var cd;return dd;function dd(){var md=nd.call(arguments,0),vd=ld.length>md.length,Ad;vd&&md.push(pd);try{Ad=ld.apply(null,md)}catch(Nd){if(vd&&cd)throw Nd;return pd(Nd)}vd||(Ad&&typeof Ad.then=="function"?Ad.then(fd,pd):Ad instanceof Error?pd(Ad):fd(Ad))}function pd(){cd||(cd=!0,ud.apply(null,arguments))}function fd(md){pd(null,md)}}}),lc=C$2((Ra,qa)=>{var nd=uc$1();qa.exports=ld,ld.wrap=nd;var od=[].slice;function ld(){var ud=[],cd={};return cd.run=dd,cd.use=pd,cd;function dd(){var fd=-1,md=od.call(arguments,0,-1),vd=arguments[arguments.length-1];if(typeof vd!="function")throw new Error("Expected function as last argument, not "+vd);Ad.apply(null,[null].concat(md));function Ad(Nd){var Id=ud[++fd],kd=od.call(arguments,0),jd=kd.slice(1),Fd=md.length,Md=-1;if(Nd){vd(Nd);return}for(;++Md<Fd;)(jd[Md]===null||jd[Md]===void 0)&&(jd[Md]=md[Md]);md=jd,Id?nd(Id,Ad).apply(null,md):vd.apply(null,[null].concat(md))}}function pd(fd){if(typeof fd!="function")throw new Error("Expected `fn` to be a function, not "+fd);return ud.push(fd),cd}}}),dc=C$2((Ra,qa)=>{var nd={}.hasOwnProperty;qa.exports=od;function od(dd){return!dd||typeof dd!="object"?"":nd.call(dd,"position")||nd.call(dd,"type")?ud(dd.position):nd.call(dd,"start")||nd.call(dd,"end")?ud(dd):nd.call(dd,"line")||nd.call(dd,"column")?ld(dd):""}function ld(dd){return(!dd||typeof dd!="object")&&(dd={}),cd(dd.line)+":"+cd(dd.column)}function ud(dd){return(!dd||typeof dd!="object")&&(dd={}),ld(dd.start)+"-"+ld(dd.end)}function cd(dd){return dd&&typeof dd=="number"?dd:1}}),Fc=C$2((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(dd,pd,fd){var md,vd,Ad;typeof pd=="string"&&(fd=pd,pd=null),md=cd(fd),vd=nd(pd)||"1:1",Ad={start:{line:null,column:null},end:{line:null,column:null}},pd&&pd.position&&(pd=pd.position),pd&&(pd.start?(Ad=pd,pd=pd.start):Ad.start=pd),dd.stack&&(this.stack=dd.stack,dd=dd.message),this.message=dd,this.name=vd,this.reason=dd,this.line=pd?pd.line:null,this.column=pd?pd.column:null,this.location=Ad,this.source=md[0],this.ruleId=md[1]}function cd(dd){var pd=[null,null],fd;return typeof dd=="string"&&(fd=dd.indexOf(":"),fd===-1?pd[1]=dd:(pd[0]=dd.slice(0,fd),pd[1]=dd.slice(fd+1))),pd}}),gc=C$2(Ra=>{Ra.basename=qa,Ra.dirname=nd,Ra.extname=od,Ra.join=ld,Ra.sep="/";function qa(pd,fd){var md=0,vd=-1,Ad,Nd,Id,kd;if(fd!==void 0&&typeof fd!="string")throw new TypeError('"ext" argument must be a string');if(dd(pd),Ad=pd.length,fd===void 0||!fd.length||fd.length>pd.length){for(;Ad--;)if(pd.charCodeAt(Ad)===47){if(Id){md=Ad+1;break}}else vd<0&&(Id=!0,vd=Ad+1);return vd<0?"":pd.slice(md,vd)}if(fd===pd)return"";for(Nd=-1,kd=fd.length-1;Ad--;)if(pd.charCodeAt(Ad)===47){if(Id){md=Ad+1;break}}else Nd<0&&(Id=!0,Nd=Ad+1),kd>-1&&(pd.charCodeAt(Ad)===fd.charCodeAt(kd--)?kd<0&&(vd=Ad):(kd=-1,vd=Nd));return md===vd?vd=Nd:vd<0&&(vd=pd.length),pd.slice(md,vd)}function nd(pd){var fd,md,vd;if(dd(pd),!pd.length)return".";for(fd=-1,vd=pd.length;--vd;)if(pd.charCodeAt(vd)===47){if(md){fd=vd;break}}else md||(md=!0);return fd<0?pd.charCodeAt(0)===47?"/":".":fd===1&&pd.charCodeAt(0)===47?"//":pd.slice(0,fd)}function od(pd){var fd=-1,md=0,vd=-1,Ad=0,Nd,Id,kd;for(dd(pd),kd=pd.length;kd--;){if(Id=pd.charCodeAt(kd),Id===47){if(Nd){md=kd+1;break}continue}vd<0&&(Nd=!0,vd=kd+1),Id===46?fd<0?fd=kd:Ad!==1&&(Ad=1):fd>-1&&(Ad=-1)}return fd<0||vd<0||Ad===0||Ad===1&&fd===vd-1&&fd===md+1?"":pd.slice(fd,vd)}function ld(){for(var pd=-1,fd;++pd<arguments.length;)dd(arguments[pd]),arguments[pd]&&(fd=fd===void 0?arguments[pd]:fd+"/"+arguments[pd]);return fd===void 0?".":ud(fd)}function ud(pd){var fd,md;return dd(pd),fd=pd.charCodeAt(0)===47,md=cd(pd,!fd),!md.length&&!fd&&(md="."),md.length&&pd.charCodeAt(pd.length-1)===47&&(md+="/"),fd?"/"+md:md}function cd(pd,fd){for(var md="",vd=0,Ad=-1,Nd=0,Id=-1,kd,jd;++Id<=pd.length;){if(Id<pd.length)kd=pd.charCodeAt(Id);else{if(kd===47)break;kd=47}if(kd===47){if(!(Ad===Id-1||Nd===1))if(Ad!==Id-1&&Nd===2){if(md.length<2||vd!==2||md.charCodeAt(md.length-1)!==46||md.charCodeAt(md.length-2)!==46){if(md.length>2){if(jd=md.lastIndexOf("/"),jd!==md.length-1){jd<0?(md="",vd=0):(md=md.slice(0,jd),vd=md.length-1-md.lastIndexOf("/")),Ad=Id,Nd=0;continue}}else if(md.length){md="",vd=0,Ad=Id,Nd=0;continue}}fd&&(md=md.length?md+"/..":"..",vd=2)}else md.length?md+="/"+pd.slice(Ad+1,Id):md=pd.slice(Ad+1,Id),vd=Id-Ad-1;Ad=Id,Nd=0}else kd===46&&Nd>-1?Nd++:Nd=-1}return md}function dd(pd){if(typeof pd!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(pd))}}),Ec=C$2(Ra=>{Ra.cwd=qa;function qa(){return"/"}}),yc=C$2((Ra,qa)=>{var nd=gc(),od=Ec(),ld=yn$3();qa.exports=dd;var ud={}.hasOwnProperty,cd=["history","path","basename","stem","extname","dirname"];dd.prototype.toString=Md,Object.defineProperty(dd.prototype,"path",{get:pd,set:fd}),Object.defineProperty(dd.prototype,"dirname",{get:md,set:vd}),Object.defineProperty(dd.prototype,"basename",{get:Ad,set:Nd}),Object.defineProperty(dd.prototype,"extname",{get:Id,set:kd}),Object.defineProperty(dd.prototype,"stem",{get:jd,set:Fd});function dd(Vd){var Kd,mf;if(!Vd)Vd={};else if(typeof Vd=="string"||ld(Vd))Vd={contents:Vd};else if("message"in Vd&&"messages"in Vd)return Vd;if(!(this instanceof dd))return new dd(Vd);for(this.data={},this.messages=[],this.history=[],this.cwd=od.cwd(),mf=-1;++mf<cd.length;)Kd=cd[mf],ud.call(Vd,Kd)&&(this[Kd]=Vd[Kd]);for(Kd in Vd)cd.indexOf(Kd)<0&&(this[Kd]=Vd[Kd])}function pd(){return this.history[this.history.length-1]}function fd(Vd){Hd(Vd,"path"),this.path!==Vd&&this.history.push(Vd)}function md(){return typeof this.path=="string"?nd.dirname(this.path):void 0}function vd(Vd){Gd(this.path,"dirname"),this.path=nd.join(Vd||"",this.basename)}function Ad(){return typeof this.path=="string"?nd.basename(this.path):void 0}function Nd(Vd){Hd(Vd,"basename"),Ld(Vd,"basename"),this.path=nd.join(this.dirname||"",Vd)}function Id(){return typeof this.path=="string"?nd.extname(this.path):void 0}function kd(Vd){if(Ld(Vd,"extname"),Gd(this.path,"extname"),Vd){if(Vd.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(Vd.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=nd.join(this.dirname,this.stem+(Vd||""))}function jd(){return typeof this.path=="string"?nd.basename(this.path,this.extname):void 0}function Fd(Vd){Hd(Vd,"stem"),Ld(Vd,"stem"),this.path=nd.join(this.dirname||"",Vd+(this.extname||""))}function Md(Vd){return(this.contents||"").toString(Vd)}function Ld(Vd,Kd){if(Vd&&Vd.indexOf(nd.sep)>-1)throw new Error("`"+Kd+"` cannot be a path: did not expect `"+nd.sep+"`")}function Hd(Vd,Kd){if(!Vd)throw new Error("`"+Kd+"` cannot be empty")}function Gd(Vd,Kd){if(!Vd)throw new Error("Setting `"+Kd+"` requires `path` to be set too")}}),xc=C$2((Ra,qa)=>{var nd=Fc(),od=yc();qa.exports=od,od.prototype.message=ld,od.prototype.info=cd,od.prototype.fail=ud;function ld(dd,pd,fd){var md=new nd(dd,pd,fd);return this.path&&(md.name=this.path+":"+md.name,md.file=this.path),md.fatal=!1,this.messages.push(md),md}function ud(){var dd=this.message.apply(this,arguments);throw dd.fatal=!0,dd}function cd(){var dd=this.message.apply(this,arguments);return dd.fatal=null,dd}}),kc=C$2((Ra,qa)=>{qa.exports=xc()}),Ic=C$2((Ra,qa)=>{var nd=js$1(),od=yn$3(),ld=rc$1(),ud=nc$1(),cd=lc(),dd=kc();qa.exports=Id().freeze();var pd=[].slice,fd={}.hasOwnProperty,md=cd().use(vd).use(Ad).use(Nd);function vd(Vd,Kd){Kd.tree=Vd.parse(Kd.file)}function Ad(Vd,Kd,mf){Vd.run(Kd.tree,Kd.file,Wd);function Wd(Zd,Xd,bf){Zd?mf(Zd):(Kd.tree=Xd,Kd.file=bf,mf())}}function Nd(Vd,Kd){var mf=Vd.stringify(Kd.tree,Kd.file);mf==null||(typeof mf=="string"||od(mf)?("value"in Kd.file&&(Kd.file.value=mf),Kd.file.contents=mf):Kd.file.result=mf)}function Id(){var Vd=[],Kd=cd(),mf={},Wd=-1,Zd;return Xd.data=yf,Xd.freeze=bf,Xd.attachers=Vd,Xd.use=Ef,Xd.parse=xf,Xd.stringify=Xf,Xd.run=Af,Xd.runSync=Lf,Xd.process=Jf,Xd.processSync=Zf,Xd;function Xd(){for(var Bf=Id(),Df=-1;++Df<Vd.length;)Bf.use.apply(null,Vd[Df]);return Bf.data(ld(!0,{},mf)),Bf}function bf(){var Bf,Df;if(Zd)return Xd;for(;++Wd<Vd.length;)Bf=Vd[Wd],Bf[1]!==!1&&(Bf[1]===!0&&(Bf[1]=void 0),Df=Bf[0].apply(Xd,Bf.slice(1)),typeof Df=="function"&&Kd.use(Df));return Zd=!0,Wd=1/0,Xd}function yf(Bf,Df){return typeof Bf=="string"?arguments.length===2?(Ld("data",Zd),mf[Bf]=Df,Xd):fd.call(mf,Bf)&&mf[Bf]||null:Bf?(Ld("data",Zd),mf=Bf,Xd):mf}function Ef(Bf){var Df;if(Ld("use",Zd),Bf!=null)if(typeof Bf=="function")Tf.apply(null,arguments);else if(typeof Bf=="object")"length"in Bf?zf(Bf):Uf(Bf);else throw new Error("Expected usable value, not `"+Bf+"`");return Df&&(mf.settings=ld(mf.settings||{},Df)),Xd;function Uf(vf){zf(vf.plugins),vf.settings&&(Df=ld(Df||{},vf.settings))}function Gf(vf){if(typeof vf=="function")Tf(vf);else if(typeof vf=="object")"length"in vf?Tf.apply(null,vf):Uf(vf);else throw new Error("Expected usable value, not `"+vf+"`")}function zf(vf){var qf=-1;if(vf!=null)if(typeof vf=="object"&&"length"in vf)for(;++qf<vf.length;)Gf(vf[qf]);else throw new Error("Expected a list of plugins, not `"+vf+"`")}function Tf(vf,qf){var eh=gf(vf);eh?(ud(eh[1])&&ud(qf)&&(qf=ld(!0,eh[1],qf)),eh[1]=qf):Vd.push(pd.call(arguments))}}function gf(Bf){for(var Df=-1;++Df<Vd.length;)if(Vd[Df][0]===Bf)return Vd[Df]}function xf(Bf){var Df=dd(Bf),Uf;return bf(),Uf=Xd.Parser,Fd("parse",Uf),kd(Uf,"parse")?new Uf(String(Df),Df).parse():Uf(String(Df),Df)}function Af(Bf,Df,Uf){if(Hd(Bf),bf(),!Uf&&typeof Df=="function"&&(Uf=Df,Df=null),!Uf)return new Promise(Gf);Gf(null,Uf);function Gf(zf,Tf){Kd.run(Bf,dd(Df),vf);function vf(qf,eh,ch){eh=eh||Bf,qf?Tf(qf):zf?zf(eh):Uf(null,eh,ch)}}}function Lf(Bf,Df){var Uf,Gf;return Af(Bf,Df,zf),Gd("runSync","run",Gf),Uf;function zf(Tf,vf){Gf=!0,Uf=vf,nd(Tf)}}function Xf(Bf,Df){var Uf=dd(Df),Gf;return bf(),Gf=Xd.Compiler,Md("stringify",Gf),Hd(Bf),kd(Gf,"compile")?new Gf(Bf,Uf).compile():Gf(Bf,Uf)}function Jf(Bf,Df){if(bf(),Fd("process",Xd.Parser),Md("process",Xd.Compiler),!Df)return new Promise(Uf);Uf(null,Df);function Uf(Gf,zf){var Tf=dd(Bf);md.run(Xd,{file:Tf},vf);function vf(qf){qf?zf(qf):Gf?Gf(Tf):Df(null,Tf)}}}function Zf(Bf){var Df,Uf;return bf(),Fd("processSync",Xd.Parser),Md("processSync",Xd.Compiler),Df=dd(Bf),Jf(Df,Gf),Gd("processSync","process",Uf),Df;function Gf(zf){Uf=!0,nd(zf)}}}function kd(Vd,Kd){return typeof Vd=="function"&&Vd.prototype&&(jd(Vd.prototype)||Kd in Vd.prototype)}function jd(Vd){var Kd;for(Kd in Vd)return!0;return!1}function Fd(Vd,Kd){if(typeof Kd!="function")throw new Error("Cannot `"+Vd+"` without `Parser`")}function Md(Vd,Kd){if(typeof Kd!="function")throw new Error("Cannot `"+Vd+"` without `Compiler`")}function Ld(Vd,Kd){if(Kd)throw new Error("Cannot invoke `"+Vd+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function Hd(Vd){if(!Vd||typeof Vd.type!="string")throw new Error("Expected node, got `"+Vd+"`")}function Gd(Vd,Kd,mf){if(!mf)throw new Error("`"+Vd+"` finished async. Use `"+Kd+"` instead")}}),Pn$2={};Ln$1(Pn$2,{languages:()=>_i,options:()=>Si,parsers:()=>On$2,printers:()=>qm});var al$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$4=al$1,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$4=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$4="array",ge$5="cursor",ee$4="indent",re$4="align",oe$4="trim",K$4="group",J$5="fill",X$4="if-break",se$4="indent-if-break",ce$5="line-suffix",le$4="line-suffix-boundary",W$5="line",fe$5="label",te$4="break-parent",wr$1=new Set([ge$5,ee$4,re$4,oe$4,K$4,J$5,X$4,se$4,ce$5,le$4,W$5,fe$5,te$4]);function cl$1(Ra){if(typeof Ra=="string")return $$2;if(Array.isArray(Ra))return H$4;if(!Ra)return;let{type:qa}=Ra;if(wr$1.has(qa))return qa}var Y$3=cl$1,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$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=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));p_(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 cd=Y$3(ud);if(!cd)throw new qe$2(ud);if((qa==null?void 0:qa(ud))!==!1)switch(cd){case H$4:case J$5:{let dd=cd===H$4?ud:ud.parts;for(let pd=dd.length,fd=pd-1;fd>=0;--fd)ld.push(dd[fd]);break}case X$4:ld.push(ud.flatContents,ud.breakContents);break;case K$4:if(od&&ud.expandedStates)for(let dd=ud.expandedStates.length,pd=dd-1;pd>=0;--pd)ld.push(ud.expandedStates[pd]);else ld.push(ud.contents);break;case re$4:case ee$4:case se$4:case fe$5:case ce$5:ld.push(ud.contents);break;case $$2:case ge$5:case oe$4:case le$4:case W$5: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$4,id:qa.id,contents:Ra,break:!!qa.shouldBreak,expandedStates:qa.expandedStates}}function _e$3(Ra){return ve$5({type:"root"},Ra)}function Ee$5(Ra){return{type:J$5,parts:Ra}}function zn$2(Ra,qa="",nd={}){return{type:X$4,breakContents:Ra,flatContents:qa,groupId:nd.groupId}}var er$1={type:te$4},rr$1={type:W$5,hard:!0},pl$1={type:W$5,hard:!0,literal:!0},Br$2={type:W$5},qr$1={type:W$5,soft:!0},L$4=[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 cd=ld(ud);return nd.set(ud,cd),cd}function ld(ud){switch(Y$3(ud)){case H$4:return qa(ud.map(od));case J$5:return qa({...ud,parts:ud.parts.map(od)});case X$4:return qa({...ud,breakContents:od(ud.breakContents),flatContents:od(ud.flatContents)});case K$4:{let{expandedStates:cd,contents:dd}=ud;return cd?(cd=cd.map(od),dd=cd[0]):dd=od(dd),qa({...ud,contents:dd,expandedStates:cd})}case re$4:case ee$4:case se$4:case fe$5:case ce$5:return qa({...ud,contents:od(ud.contents)});case $$2:case ge$5:case oe$4:case le$4:case W$5:case te$4:return qa(ud);default:throw new qe$2(ud)}}}function Mn$1(Ra){if(Ra.length>0){let qa=M$4(!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$4){if(nd.push(ud),qa.has(ud))return!1;qa.add(ud)}}function ld(ud){ud.type===K$4&&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 cd=ud.length/qa.length;od.set(cd,!0),cd>ld&&(ld=cd)}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 cd of Ra)cd===nd?ld++:cd===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])}.`);p_(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 cd=ld+1+nr$1,dd=Ra.charAt(cd+1);if(!/\s?/u.test(dd))return;let pd=Ra.slice(0,cd);return{type:"front-matter",language:ud,explicitLanguage:od,value:Ra.slice(nd+1,ld),startDelimiter:qa,endDelimiter:pd.slice(-nr$1),raw:pd}}function El$1(Ra){let qa=vl$1(Ra);if(!qa)return{content:Ra};let{raw:nd}=qa;return{frontMatter:qa,content:N$4(!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$4(!1,Ra.value,`
|
||
`," ")),Ra.type==="wikiLink"&&(qa.value=N$4(!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$4(!1,Ra.url,od,encodeURIComponent(od));if((Ra.type==="definition"||Ra.type==="link"||Ra.type==="image")&&Ra.title&&(qa.title=N$4(!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$1(Ra,qa){if(Ra.language==="yaml"){let nd=Ra.value.trim(),od=nd?await qa(nd,{parser:"yaml"}):"";return _e$3([Ra.startDelimiter,Ra.explicitLanguage,L$4,od,od?L$4:"",Ra.endDelimiter])}}var ri$2=bl$1,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$5="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 cd=ud.split(new RegExp(`(${ei$2.source})`,"u"));for(let[dd,pd]of cd.entries())if(!((dd===0||dd===cd.length-1)&&pd==="")){if(dd%2===0){pd!==""&&od({type:"word",value:pd,kind:Le$4,hasLeadingPunctuation:Se$5.test(pd[0]),hasTrailingPunctuation:Se$5.test(M$4(!1,pd,-1))});continue}od(Se$5.test(pd)?{type:"word",value:pd,kind:ur$1,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:pd,kind:kl$1.test(pd)?be$5:De$3,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return qa;function od(ld){let ud=M$4(!1,qa,-1);(ud==null?void 0:ud.type)==="word"&&!cd(Le$4,ur$1)&&![ud.value,ld.value].some(dd=>/\u3000/u.test(dd))&&qa.push({type:"whitespace",value:""}),qa.push(ld);function cd(dd,pd){return ud.kind===dd&&ld.kind===pd||ud.kind===pd&&ld.kind===dd}}}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$2(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 cd={...qa(od,ld,ud)};return cd.children&&(cd.children=cd.children.map((dd,pd)=>nd(dd,pd,[cd,...ud]))),cd}(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?"~":"`",cd=ud.repeat(Math.max(3,_r$1(nd.value,ud)+1)),dd={parser:od};nd.lang==="ts"||nd.lang==="typescript"?dd.filepath="dummy.ts":nd.lang==="tsx"&&(dd.filepath="dummy.tsx");let pd=await ld(Lr$1(nd,qa.originalText),dd);return _e$3([cd,nd.lang,nd.meta?" "+nd.meta:"",L$4,Ce$3(pd),L$4,cd])}}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$1=null;function or$1(Ra){if(ar$1!==null&&typeof ar$1.property){let qa=ar$1;return ar$1=or$1.prototype=null,qa}return ar$1=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$2=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$2(oi$2),si$2=Sl$1;function ci$2(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$5=Symbol("MODE_BREAK"),ne$4=Symbol("MODE_FLAT"),cr$1=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,cd=0,dd=0;for(let Id of od)switch(Id.type){case"indent":md(),nd.useTabs?pd(1):fd(nd.tabWidth);break;case"stringAlign":md(),ld+=Id.n,ud+=Id.n.length;break;case"numberAlign":cd+=1,dd+=Id.n;break;default:throw new Error(`Unexpected type '${Id.type}'`)}return Ad(),{...Ra,value:ld,length:ud,queue:od};function pd(Id){ld+=" ".repeat(Id),ud+=nd.tabWidth*Id}function fd(Id){ld+=" ".repeat(Id),ud+=Id}function md(){nd.useTabs?vd():Ad()}function vd(){cd>0&&pd(cd),Nd()}function Ad(){dd>0&&fd(dd),Nd()}function Nd(){cd=0,dd=0}}function vt$3(Ra){let qa=0,nd=0,od=Ra.length;e:for(;od--;){let ld=Ra[od];if(ld===cr$1){nd++;continue}for(let ud=ld.length-1;ud>=0;ud--){let cd=ld[ud];if(cd===" "||cd===" ")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$1);return qa}function Ir$1(Ra,qa,nd,od,ld,ud){if(nd===Number.POSITIVE_INFINITY)return!0;let cd=qa.length,dd=[Ra],pd=[];for(;nd>=0;){if(dd.length===0){if(cd===0)return!0;dd.push(qa[--cd]);continue}let{mode:fd,doc:md}=dd.pop(),vd=Y$3(md);switch(vd){case $$2:pd.push(md),nd-=sr$1(md);break;case H$4:case J$5:{let Ad=vd===H$4?md:md.parts;for(let Nd=Ad.length-1;Nd>=0;Nd--)dd.push({mode:fd,doc:Ad[Nd]});break}case ee$4:case re$4:case se$4:case fe$5:dd.push({mode:fd,doc:md.contents});break;case oe$4:nd+=vt$3(pd);break;case K$4:{if(ud&&md.break)return!1;let Ad=md.break?G$5:fd,Nd=md.expandedStates&&Ad===G$5?M$4(!1,md.expandedStates,-1):md.contents;dd.push({mode:Ad,doc:Nd});break}case X$4:{let Ad=(md.groupId?ld[md.groupId]||ne$4:fd)===G$5?md.breakContents:md.flatContents;Ad&&dd.push({mode:fd,doc:Ad});break}case W$5:if(fd===G$5||md.hard)return!0;md.soft||(pd.push(" "),nd--);break;case ce$5: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$2(qa.endOfLine),ud=0,cd=[{ind:di$2(),mode:G$5,doc:Ra}],dd=[],pd=!1,fd=[],md=0;for(Yn$1(Ra);cd.length>0;){let{ind:Ad,mode:Nd,doc:Id}=cd.pop();switch(Y$3(Id)){case $$2:{let kd=ld!==`
|
||
`?N$4(!1,Id,`
|
||
`,ld):Id;dd.push(kd),cd.length>0&&(ud+=sr$1(kd));break}case H$4:for(let kd=Id.length-1;kd>=0;kd--)cd.push({ind:Ad,mode:Nd,doc:Id[kd]});break;case ge$5:if(md>=2)throw new Error("There are too many 'cursor' in doc.");dd.push(cr$1),md++;break;case ee$4:cd.push({ind:Ll$1(Ad,qa),mode:Nd,doc:Id.contents});break;case re$4:cd.push({ind:Il$1(Ad,Id.n,qa),mode:Nd,doc:Id.contents});break;case oe$4:ud-=vt$3(dd);break;case K$4:switch(Nd){case ne$4:if(!pd){cd.push({ind:Ad,mode:Id.break?G$5:ne$4,doc:Id.contents});break}case G$5:{pd=!1;let kd={ind:Ad,mode:ne$4,doc:Id.contents},jd=od-ud,Fd=fd.length>0;if(!Id.break&&Ir$1(kd,cd,jd,Fd,nd))cd.push(kd);else if(Id.expandedStates){let Md=M$4(!1,Id.expandedStates,-1);if(Id.break){cd.push({ind:Ad,mode:G$5,doc:Md});break}else for(let Ld=1;Ld<Id.expandedStates.length+1;Ld++)if(Ld>=Id.expandedStates.length){cd.push({ind:Ad,mode:G$5,doc:Md});break}else{let Hd=Id.expandedStates[Ld],Gd={ind:Ad,mode:ne$4,doc:Hd};if(Ir$1(Gd,cd,jd,Fd,nd)){cd.push(Gd);break}}}else cd.push({ind:Ad,mode:G$5,doc:Id.contents});break}}Id.id&&(nd[Id.id]=M$4(!1,cd,-1).mode);break;case J$5:{let kd=od-ud,{parts:jd}=Id;if(jd.length===0)break;let[Fd,Md]=jd,Ld={ind:Ad,mode:ne$4,doc:Fd},Hd={ind:Ad,mode:G$5,doc:Fd},Gd=Ir$1(Ld,[],kd,fd.length>0,nd,!0);if(jd.length===1){Gd?cd.push(Ld):cd.push(Hd);break}let Vd={ind:Ad,mode:ne$4,doc:Md},Kd={ind:Ad,mode:G$5,doc:Md};if(jd.length===2){Gd?cd.push(Vd,Ld):cd.push(Kd,Hd);break}jd.splice(0,2);let mf={ind:Ad,mode:Nd,doc:Ee$5(jd)},Wd=jd[0];Ir$1({ind:Ad,mode:ne$4,doc:[Fd,Md,Wd]},[],kd,fd.length>0,nd,!0)?cd.push(mf,Vd,Ld):Gd?cd.push(mf,Kd,Ld):cd.push(mf,Kd,Hd);break}case X$4:case se$4:{let kd=Id.groupId?nd[Id.groupId]:Nd;if(kd===G$5){let jd=Id.type===X$4?Id.breakContents:Id.negate?Id.contents:Ze$3(Id.contents);jd&&cd.push({ind:Ad,mode:Nd,doc:jd})}if(kd===ne$4){let jd=Id.type===X$4?Id.flatContents:Id.negate?Ze$3(Id.contents):Id.contents;jd&&cd.push({ind:Ad,mode:Nd,doc:jd})}break}case ce$5:fd.push({ind:Ad,mode:Nd,doc:Id.contents});break;case le$4:fd.length>0&&cd.push({ind:Ad,mode:Nd,doc:rr$1});break;case W$5:switch(Nd){case ne$4:if(Id.hard)pd=!0;else{Id.soft||(dd.push(" "),ud+=1);break}case G$5:if(fd.length>0){cd.push({ind:Ad,mode:Nd,doc:Id},...fd.reverse()),fd.length=0;break}Id.literal?Ad.root?(dd.push(ld,Ad.root.value),ud=Ad.root.length):(dd.push(ld),ud=0):(ud-=vt$3(dd),dd.push(ld+Ad.value),ud=Ad.length);break}break;case fe$5:cd.push({ind:Ad,mode:Nd,doc:Id.contents});break;case te$4:break;default:throw new qe$2(Id)}cd.length===0&&fd.length>0&&(cd.push(...fd.reverse()),fd.length=0)}let vd=dd.indexOf(cr$1);if(vd!==-1){let Ad=dd.indexOf(cr$1,vd+1),Nd=dd.slice(0,vd).join(""),Id=dd.slice(vd+1,Ad).join(""),kd=dd.slice(Ad+1).join("");return{formatted:Nd+Id+kd,cursorNodeStart:Nd.length,cursorNodeText:Id}}return{formatted:dd.join("")}}function mi(Ra,qa,nd){let{node:od}=Ra,ld=[],ud=Ra.map(()=>Ra.map(({index:vd})=>{let Ad=hi$1(nd(),qa).formatted,Nd=sr$1(Ad);return ld[vd]=Math.max(ld[vd]??3,Nd),{text:Ad,width:Nd}},"children"),"children"),cd=pd(!1);if(qa.proseWrap!=="never")return[er$1,cd];let dd=pd(!0);return[er$1,ze$4(zn$2(dd,cd))];function pd(vd){return Tr$1(rr$1,[md(ud[0],vd),fd(vd),...ud.slice(1).map(Ad=>md(Ad,vd))].map(Ad=>`| ${Ad.join(" | ")} |`))}function fd(vd){return ld.map((Ad,Nd)=>{let Id=od.align[Nd],kd=Id==="center"||Id==="left"?":":"-",jd=Id==="center"||Id==="right"?":":"-",Fd=vd?"-":"-".repeat(Ad-2);return`${kd}${Fd}${jd}`})}function md(vd,Ad){return vd.map(({text:Nd,width:Id},kd)=>{if(Ad)return Nd;let jd=ld[kd]-Id,Fd=od.align[kd],Md=0;Fd==="right"?Md=jd:Fd==="center"&&(Md=Math.floor(jd/2));let Ld=jd-Md;return`${" ".repeat(Md)}${Nd}${" ".repeat(Ld)}`})}}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$3(ld);if(ud===H$4){nd(ld);continue}let cd=ld,dd=[];ud===J$5&&([cd,...dd]=ld.parts),qa.push([qa.pop(),cd],...dd)}}(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,cd)=>{let dd=M$4(!1,ud,-1);return dd&&qa(dd,cd)?ud.splice(-1,1,nd(dd,cd)):ud.push(cd),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 cd=0;cd<ld.length;cd++){let dd=ld[cd];if(dd.hasIndentedCodeblock)break;dd.type==="list"&&(dd.hasIndentedCodeblock=!0)}}return nd})}function jl$1(Ra,qa){return ye$4(Ra,(ld,ud,cd)=>{if(ld.type==="list"&&ld.children.length>0){for(let dd=0;dd<cd.length;dd++){let pd=cd[dd];if(pd.type==="list"&&!pd.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,cd]=ld.children;if(Me$4(ud,qa).leadingSpaces.length>1)return!0;let dd=nd(ud);if(dd===-1)return!1;if(ld.children.length===1)return dd%qa.tabWidth===0;let pd=nd(cd);return dd!==pd?!1:dd%qa.tabWidth===0?!0:Me$4(cd,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$3(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,cd=nd[od+1].kind;(ud===De$3&&cd===Le$4||ud===Le$4&&cd===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(ld)&&bi(ud)||ld===be$5&&ud===De$3||ud===be$5&&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$4(!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$5}function bi(Ra){return Ra===Le$4||Ra===be$5}function Xl$1(Ra,qa,nd,od,ld){if(nd!=="always"||Ra.hasAncestor(dd=>$l$1.has(dd.type)))return!1;if(od)return qa!=="";if(qa===" ")return!0;let{previous:ud,next:cd}=Ra;return!(qa===""&&((ud==null?void 0:ud.kind)===be$5&&Ci(cd==null?void 0:cd.kind)||(cd==null?void 0:cd.kind)===be$5&&Ci(ud==null?void 0:ud.kind))||!ld&&(cd&&Wl$1.has(cd.value[0])||ud&&Hl$1.has(M$4(!1,ud.value,-1))))}function Et$2(Ra,qa,nd,od){if(nd==="preserve"&&qa===`
|
||
`)return L$4;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(Ra)){let cd=[""],dd=Pr$1(qa.originalText.slice(ud.position.start.offset,ud.position.end.offset));for(let pd of dd){if(pd.type==="word"){cd.push([cd.pop(),pd.value]);continue}let fd=Et$2(Ra,pd.value,qa.proseWrap,!0);if(Y$3(fd)===$$2){cd.push([cd.pop(),fd]);continue}cd.push(fd)}return Ee$5(cd)}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$4];case"paragraph":return Fi(Ra,qa,nd);case"sentence":return vi(Ra,nd);case"word":{let cd=N$4(!1,N$4(!1,ud.value,"*",String.raw`\*`),new RegExp([`(^|${Se$5.source})(_+)`,`(_+)(${Se$5.source}|$)`].join("|"),"gu"),(fd,md,vd,Ad,Nd)=>N$4(!1,vd?`${md}${vd}`:`${Ad}${Nd}`,"_",String.raw`\_`)),dd=(fd,md,vd)=>fd.type==="sentence"&&vd===0,pd=(fd,md,vd)=>mt$2(fd.children[vd-1]);return cd!==ud.value&&(Ra.match(void 0,dd,pd)||Ra.match(void 0,dd,(fd,md,vd)=>fd.type==="emphasis"&&vd===0,pd))&&(cd=cd.replace(/^(\\?[*_])+/u,fd=>N$4(!1,fd,"\\",""))),cd}case"whitespace":{let{next:cd}=Ra,dd=cd&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/u.test(cd.value)?"never":qa.proseWrap;return Et$2(Ra,ud.value,dd)}case"emphasis":{let cd;if(mt$2(ud.children[0]))cd=qa.originalText[ud.position.start.offset];else{let{previous:dd,next:pd}=Ra;cd=(dd==null?void 0:dd.type)==="sentence"&&((od=M$4(!1,dd.children,-1))==null?void 0:od.type)==="word"&&!M$4(!1,dd.children,-1).hasTrailingPunctuation||(pd==null?void 0:pd.type)==="sentence"&&((ld=pd.children[0])==null?void 0:ld.type)==="word"&&!pd.children[0].hasLeadingPunctuation||Ra.hasAncestor(fd=>fd.type==="emphasis")?"*":"_"}return[cd,V$4(Ra,qa,nd),cd]}case"strong":return["**",V$4(Ra,qa,nd),"**"];case"delete":return["~~",V$4(Ra,qa,nd),"~~"];case"inlineCode":{let cd=qa.proseWrap==="preserve"?ud.value:N$4(!1,ud.value,`
|
||
`," "),dd=Gn$2(cd,"`"),pd="`".repeat(dd||1),fd=cd.startsWith("`")||cd.endsWith("`")||/^[\n ]/u.test(cd)&&/[\n ]$/u.test(cd)&&/[^\n ]/u.test(cd)?" ":"";return[pd,fd,cd,fd,pd]}case"wikiLink":{let cd="";return qa.proseWrap==="preserve"?cd=ud.value:cd=N$4(!1,ud.value,/[\t\n]+/gu," "),["[[",cd,"]]"]}case"link":switch(qa.originalText[ud.position.start.offset]){case"<":{let cd="mailto:";return["<",ud.url.startsWith(cd)&&qa.originalText.slice(ud.position.start.offset+1,ud.position.start.offset+1+cd.length)!==cd?ud.url.slice(cd.length):ud.url,">"]}case"[":return["[",V$4(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$4(Ra,qa,nd))];case"heading":return["#".repeat(ud.depth)+" ",V$4(Ra,qa,nd)];case"code":{if(ud.isIndented){let pd=" ".repeat(4);return ve$5(pd,[pd,Ce$3(ud.value,L$4)])}let cd=qa.__inJsTemplate?"~":"`",dd=cd.repeat(Math.max(3,_r$1(ud.value,cd)+1));return[dd,ud.lang||"",ud.meta?" "+ud.meta:"",L$4,Ce$3(Lr$1(ud,qa.originalText),L$4),L$4,dd]}case"html":{let{parent:cd,isLast:dd}=Ra,pd=cd.type==="root"&&dd?ud.value.trimEnd():ud.value,fd=/^<!--.*-->$/su.test(pd);return Ce$3(pd,fd?L$4:_e$3(tr$1))}case"list":{let cd=Ai(ud,Ra.parent),dd=ii$2(ud,qa);return V$4(Ra,qa,nd,{processor(pd){let fd=vd(),md=pd.node;if(md.children.length===2&&md.children[1].type==="html"&&md.children[0].position.start.column!==md.children[1].position.start.column)return[fd,yi$1(pd,qa,nd,fd)];return[fd,ve$5(" ".repeat(fd.length),yi$1(pd,qa,nd,fd))];function vd(){let Ad=ud.ordered?(pd.isFirst?ud.start:dd?1:ud.start+pd.index)+(cd%2===0?". ":") "):cd%2===0?"- ":"* ";return ud.isAligned||ud.hasIndentedCodeblock?ef(Ad,qa):Ad}}})}case"thematicBreak":{let{ancestors:cd}=Ra,dd=cd.findIndex(pd=>pd.type==="list");return dd===-1?"---":Ai(cd[dd],cd[dd+1])%2===0?"***":"---"}case"linkReference":return["[",V$4(Ra,qa,nd),"]",ud.referenceType==="full"?bt$3(ud):ud.referenceType==="collapsed"?"[]":""];case"imageReference":switch(ud.referenceType){case"full":return["![",ud.alt||"","]",bt$3(ud)];default:return["![",ud.alt,"]",ud.referenceType==="collapsed"?"[]":""]}case"definition":{let cd=qa.proseWrap==="always"?Br$2:" ";return ze$4([bt$3(ud),":",Ze$3([cd,Ct$2(ud.url),ud.title===null?"":[cd,Nr$1(ud.title,qa,!1)]])])}case"footnote":return["[^",V$4(Ra,qa,nd),"]"];case"footnoteReference":return Bi(ud);case"footnoteDefinition":{let cd=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),": ",cd?V$4(Ra,qa,nd):ze$4([ve$5(" ".repeat(4),V$4(Ra,qa,nd,{processor:({isFirst:dd})=>dd?ze$4([qr$1,nd()]):nd()}))])]}case"table":return mi(Ra,qa,nd);case"tableCell":return V$4(Ra,qa,nd);case"break":return/\s/u.test(qa.originalText[ud.position.start.offset])?[" ",_e$3(tr$1)]:["\\",L$4];case"liquidNode":return Ce$3(ud.value,L$4);case"import":case"export":case"jsx":return ud.value;case"esComment":return["{/* ",ud.value," */}"];case"math":return["$$",L$4,ud.value?[Ce$3(ud.value,L$4),L$4]:"","$$"];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$4(Ra,qa,nd,{processor({node:cd,isFirst:dd}){if(dd&&cd.type!=="list")return ve$5(" ".repeat(ud.length),nd());let pd=" ".repeat(sf(qa.tabWidth-od.length,0,3));return[pd,ve$5(pd,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[cd,dd]of ud.entries())switch(yt$1(dd)){case"start":ld===null&&(ld={index:cd,offset:dd.position.end.offset});break;case"end":ld!==null&&(od.push({start:ld,end:{index:cd,offset:dd.position.start.offset}}),ld=null);break}return V$4(Ra,qa,nd,{processor({index:cd}){if(od.length>0){let dd=od[0];if(cd===dd.start.index)return[xi(ud[dd.start.index]),qa.originalText.slice(dd.start.offset,dd.end.offset),xi(ud[dd.end.index])];if(dd.start.index<cd&&cd<dd.end.index)return!1;if(cd===dd.end.index)return od.shift(),!1}return nd()}})}function V$4(Ra,qa,nd,od={}){let{processor:ld=nd}=od,ud=[];return Ra.each(()=>{let cd=ld(Ra);cd!==!1&&(ud.length>0&&nf(Ra)&&(ud.push(L$4),(uf(Ra,qa)||ki(Ra))&&ud.push(L$4),ki(Ra)&&ud.push(L$4)),ud.push(cd))},"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),cd=yt$1(qa)==="next",dd=Ra.type==="html"&&qa.type==="html"&&qa.position.end.line+1===Ra.position.start.line,pd=Ra.type==="html"&&nd.type==="listItem"&&qa.type==="paragraph"&&qa.position.end.line+1===Ra.position.start.line;return!(ld||ud||cd||dd||pd)}function ki({node:Ra,previous:qa}){let nd=qa.type==="list",od=Ra.type==="code"&&Ra.isIndented;return nd&&od}function af(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$4(!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$4(!1,Ra,/\\(?=["')])/gu,""),Ra.includes('"')&&Ra.includes("'")&&!Ra.includes(")"))return`(${Ra})`;let od=jn$1(Ra,qa.singleQuote);return Ra=N$4(!1,Ra,"\\","\\\\"),Ra=N$4(!1,Ra,od,`\\${od}`),`${od}${Ra}${od}`}function sf(Ra,qa,nd){return Ra<qa?qa:Ra>nd?nd:Ra}function cf(Ra){return Ra.index>0&&yt$1(Ra.previous)==="next"}function bt$3(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,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={proseWrap:At$2.proseWrap,singleQuote:At$2.singleQuote},Si=ff,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$1=`
|
||
|
||
`,Uc=Ra=>vm.test(Ra),Sn$2=Ra=>Em.test(Ra),zc=(Ra,qa)=>{let nd=qa.indexOf(bm$1),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,cd){let dd=qa.exec(cd);if(dd){let pd=dd.groups.linkContents.trim();return ud(dd[0])({type:Ra,value:pd})}}ld.locator=function(ud,cd){return ud.indexOf("[",cd)}},$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=Object.create,Ur$1=Object.defineProperty,ul=Object.getOwnPropertyDescriptor,ll=Object.getOwnPropertyNames,cl=Object.getPrototypeOf,fl=Object.prototype.hasOwnProperty,y$3=(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(cl(Ra)):{},pl(Ur$1(nd,"default",{value:Ra,enumerable:!0}),Ra)),Ut$3=y$3((Ra,qa)=>{qa.exports.isClean=Symbol("isClean"),qa.exports.my=Symbol("my")}),yi=y$3((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$3(()=>{}),Ft$2=y$3((Ra,qa)=>{var nd=yi(),od=ss(),ld=class kx extends Error{constructor(cd,dd,pd,fd,md,vd){super(cd),this.name="CssSyntaxError",this.reason=cd,md&&(this.file=md),fd&&(this.source=fd),vd&&(this.plugin=vd),typeof dd<"u"&&typeof pd<"u"&&(typeof dd=="number"?(this.line=dd,this.column=pd):(this.line=dd.line,this.column=dd.column,this.endLine=pd.line,this.endColumn=pd.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,kx)}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(cd){if(!this.source)return"";let dd=this.source;cd==null&&(cd=nd.isColorSupported),od&&cd&&(dd=od(dd));let pd=dd.split(/\r?\n/),fd=Math.max(this.line-3,0),md=Math.min(this.line+2,pd.length),vd=String(md).length,Ad,Nd;if(cd){let{bold:Id,gray:kd,red:jd}=nd.createColors(!0);Ad=Fd=>Id(jd(Fd)),Nd=Fd=>kd(Fd)}else Ad=Nd=Id=>Id;return pd.slice(fd,md).map((Id,kd)=>{let jd=fd+1+kd,Fd=" "+(" "+jd).slice(-vd)+" | ";if(jd===this.line){let Md=Nd(Fd.replace(/\d/g," "))+Id.slice(0,this.column-1).replace(/[^\t]/g," ");return Ad(">")+Nd(Fd)+Id+`
|
||
`+Md+Ad("^")}return" "+Nd(Fd)+Id}).join(`
|
||
`)}toString(){let cd=this.showSourceCode();return cd&&(cd=`
|
||
|
||
`+cd+`
|
||
`),this.name+": "+this.message+cd}};qa.exports=ld,ld.default=ld}),$t$2=y$3((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,cd){let dd="@"+ud.name,pd=ud.params?this.rawValue(ud,"params"):"";if(typeof ud.raws.afterName<"u"?dd+=ud.raws.afterName:pd&&(dd+=" "),ud.nodes)this.block(ud,dd+pd);else{let fd=(ud.raws.between||"")+(cd?";":"");this.builder(dd+pd+fd,ud)}}beforeAfter(ud,cd){let dd;ud.type==="decl"?dd=this.raw(ud,null,"beforeDecl"):ud.type==="comment"?dd=this.raw(ud,null,"beforeComment"):cd==="before"?dd=this.raw(ud,null,"beforeRule"):dd=this.raw(ud,null,"beforeClose");let pd=ud.parent,fd=0;for(;pd&&pd.type!=="root";)fd+=1,pd=pd.parent;if(dd.includes(`
|
||
`)){let md=this.raw(ud,null,"indent");if(md.length)for(let vd=0;vd<fd;vd++)dd+=md}return dd}block(ud,cd){let dd=this.raw(ud,"between","beforeOpen");this.builder(cd+dd+"{",ud,"start");let pd;ud.nodes&&ud.nodes.length?(this.body(ud),pd=this.raw(ud,"after")):pd=this.raw(ud,"after","emptyBody"),pd&&this.builder(pd),this.builder("}",ud,"end")}body(ud){let cd=ud.nodes.length-1;for(;cd>0&&ud.nodes[cd].type==="comment";)cd-=1;let dd=this.raw(ud,"semicolon");for(let pd=0;pd<ud.nodes.length;pd++){let fd=ud.nodes[pd],md=this.raw(fd,"before");md&&this.builder(md),this.stringify(fd,cd!==pd||dd)}}comment(ud){let cd=this.raw(ud,"left","commentLeft"),dd=this.raw(ud,"right","commentRight");this.builder("/*"+cd+ud.text+dd+"*/",ud)}decl(ud,cd){let dd=this.raw(ud,"between","colon"),pd=ud.prop+dd+this.rawValue(ud,"value");ud.important&&(pd+=ud.raws.important||" !important"),cd&&(pd+=";"),this.builder(pd,ud)}document(ud){this.body(ud)}raw(ud,cd,dd){let pd;if(dd||(dd=cd),cd&&(pd=ud.raws[cd],typeof pd<"u"))return pd;let fd=ud.parent;if(dd==="before"&&(!fd||fd.type==="root"&&fd.first===ud||fd&&fd.type==="document"))return"";if(!fd)return nd[dd];let md=ud.root();if(md.rawCache||(md.rawCache={}),typeof md.rawCache[dd]<"u")return md.rawCache[dd];if(dd==="before"||dd==="after")return this.beforeAfter(ud,dd);{let vd="raw"+od(dd);this[vd]?pd=this[vd](md,ud):md.walk(Ad=>{if(pd=Ad.raws[cd],typeof pd<"u")return!1})}return typeof pd>"u"&&(pd=nd[dd]),md.rawCache[dd]=pd,pd}rawBeforeClose(ud){let cd;return ud.walk(dd=>{if(dd.nodes&&dd.nodes.length>0&&typeof dd.raws.after<"u")return cd=dd.raws.after,cd.includes(`
|
||
`)&&(cd=cd.replace(/[^\n]+$/,"")),!1}),cd&&(cd=cd.replace(/\S/g,"")),cd}rawBeforeComment(ud,cd){let dd;return ud.walkComments(pd=>{if(typeof pd.raws.before<"u")return dd=pd.raws.before,dd.includes(`
|
||
`)&&(dd=dd.replace(/[^\n]+$/,"")),!1}),typeof dd>"u"?dd=this.raw(cd,null,"beforeDecl"):dd&&(dd=dd.replace(/\S/g,"")),dd}rawBeforeDecl(ud,cd){let dd;return ud.walkDecls(pd=>{if(typeof pd.raws.before<"u")return dd=pd.raws.before,dd.includes(`
|
||
`)&&(dd=dd.replace(/[^\n]+$/,"")),!1}),typeof dd>"u"?dd=this.raw(cd,null,"beforeRule"):dd&&(dd=dd.replace(/\S/g,"")),dd}rawBeforeOpen(ud){let cd;return ud.walk(dd=>{if(dd.type!=="decl"&&(cd=dd.raws.between,typeof cd<"u"))return!1}),cd}rawBeforeRule(ud){let cd;return ud.walk(dd=>{if(dd.nodes&&(dd.parent!==ud||ud.first!==dd)&&typeof dd.raws.before<"u")return cd=dd.raws.before,cd.includes(`
|
||
`)&&(cd=cd.replace(/[^\n]+$/,"")),!1}),cd&&(cd=cd.replace(/\S/g,"")),cd}rawColon(ud){let cd;return ud.walkDecls(dd=>{if(typeof dd.raws.between<"u")return cd=dd.raws.between.replace(/[^\s:]/g,""),!1}),cd}rawEmptyBody(ud){let cd;return ud.walk(dd=>{if(dd.nodes&&dd.nodes.length===0&&(cd=dd.raws.after,typeof cd<"u"))return!1}),cd}rawIndent(ud){if(ud.raws.indent)return ud.raws.indent;let cd;return ud.walk(dd=>{let pd=dd.parent;if(pd&&pd!==ud&&pd.parent&&pd.parent===ud&&typeof dd.raws.before<"u"){let fd=dd.raws.before.split(`
|
||
`);return cd=fd[fd.length-1],cd=cd.replace(/\S/g,""),!1}}),cd}rawSemicolon(ud){let cd;return ud.walk(dd=>{if(dd.nodes&&dd.nodes.length&&dd.last.type==="decl"&&(cd=dd.raws.semicolon,typeof cd<"u"))return!1}),cd}rawValue(ud,cd){let dd=ud[cd],pd=ud.raws[cd];return pd&&pd.value===dd?pd.raw:dd}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,cd){if(!this[ud.type])throw new Error("Unknown AST node type "+ud.type+". Maybe you need to change PostCSS stringifier.");this[ud.type](ud,cd)}};qa.exports=ld,ld.default=ld}),it$2=y$3((Ra,qa)=>{var nd=$t$2();function od(ld,ud){new nd(ud).stringify(ld)}qa.exports=od,od.default=od}),at$4=y$3((Ra,qa)=>{var{isClean:nd,my:od}=Ut$3(),ld=Ft$2(),ud=$t$2(),cd=it$2();function dd(fd,md){let vd=new fd.constructor;for(let Ad in fd){if(!Object.prototype.hasOwnProperty.call(fd,Ad)||Ad==="proxyCache")continue;let Nd=fd[Ad],Id=typeof Nd;Ad==="parent"&&Id==="object"?md&&(vd[Ad]=md):Ad==="source"?vd[Ad]=Nd:Array.isArray(Nd)?vd[Ad]=Nd.map(kd=>dd(kd,vd)):(Id==="object"&&Nd!==null&&(Nd=dd(Nd)),vd[Ad]=Nd)}return vd}var pd=class{constructor(fd={}){this.raws={},this[nd]=!1,this[od]=!0;for(let md in fd)if(md==="nodes"){this.nodes=[];for(let vd of fd[md])typeof vd.clone=="function"?this.append(vd.clone()):this.append(vd)}else this[md]=fd[md]}addToError(fd){if(fd.postcssNode=this,fd.stack&&this.source&&/\n\s{4}at /.test(fd.stack)){let md=this.source;fd.stack=fd.stack.replace(/\n\s{4}at /,`$&${md.input.from}:${md.start.line}:${md.start.column}$&`)}return fd}after(fd){return this.parent.insertAfter(this,fd),this}assign(fd={}){for(let md in fd)this[md]=fd[md];return this}before(fd){return this.parent.insertBefore(this,fd),this}cleanRaws(fd){delete this.raws.before,delete this.raws.after,fd||delete this.raws.between}clone(fd={}){let md=dd(this);for(let vd in fd)md[vd]=fd[vd];return md}cloneAfter(fd={}){let md=this.clone(fd);return this.parent.insertAfter(this,md),md}cloneBefore(fd={}){let md=this.clone(fd);return this.parent.insertBefore(this,md),md}error(fd,md={}){if(this.source){let{end:vd,start:Ad}=this.rangeBy(md);return this.source.input.error(fd,{column:Ad.column,line:Ad.line},{column:vd.column,line:vd.line},md)}return new ld(fd)}getProxyProcessor(){return{get(fd,md){return md==="proxyOf"?fd:md==="root"?()=>fd.root().toProxy():fd[md]},set(fd,md,vd){return fd[md]===vd||(fd[md]=vd,(md==="prop"||md==="value"||md==="name"||md==="params"||md==="important"||md==="text")&&fd.markDirty()),!0}}}markDirty(){if(this[nd]){this[nd]=!1;let fd=this;for(;fd=fd.parent;)fd[nd]=!1}}next(){if(!this.parent)return;let fd=this.parent.index(this);return this.parent.nodes[fd+1]}positionBy(fd,md){let vd=this.source.start;if(fd.index)vd=this.positionInside(fd.index,md);else if(fd.word){md=this.toString();let Ad=md.indexOf(fd.word);Ad!==-1&&(vd=this.positionInside(Ad,md))}return vd}positionInside(fd,md){let vd=md||this.toString(),Ad=this.source.start.column,Nd=this.source.start.line;for(let Id=0;Id<fd;Id++)vd[Id]===`
|
||
`?(Ad=1,Nd+=1):Ad+=1;return{column:Ad,line:Nd}}prev(){if(!this.parent)return;let fd=this.parent.index(this);return this.parent.nodes[fd-1]}rangeBy(fd){let md={column:this.source.start.column,line:this.source.start.line},vd=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:md.column+1,line:md.line};if(fd.word){let Ad=this.toString(),Nd=Ad.indexOf(fd.word);Nd!==-1&&(md=this.positionInside(Nd,Ad),vd=this.positionInside(Nd+fd.word.length,Ad))}else fd.start?md={column:fd.start.column,line:fd.start.line}:fd.index&&(md=this.positionInside(fd.index)),fd.end?vd={column:fd.end.column,line:fd.end.line}:typeof fd.endIndex=="number"?vd=this.positionInside(fd.endIndex):fd.index&&(vd=this.positionInside(fd.index+1));return(vd.line<md.line||vd.line===md.line&&vd.column<=md.column)&&(vd={column:md.column+1,line:md.line}),{end:vd,start:md}}raw(fd,md){return new ud().raw(this,fd,md)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...fd){if(this.parent){let md=this,vd=!1;for(let Ad of fd)Ad===this?vd=!0:vd?(this.parent.insertAfter(md,Ad),md=Ad):this.parent.insertBefore(md,Ad);vd||this.remove()}return this}root(){let fd=this;for(;fd.parent&&fd.parent.type!=="document";)fd=fd.parent;return fd}toJSON(fd,md){let vd={},Ad=md==null;md=md||new Map;let Nd=0;for(let Id in this){if(!Object.prototype.hasOwnProperty.call(this,Id)||Id==="parent"||Id==="proxyCache")continue;let kd=this[Id];if(Array.isArray(kd))vd[Id]=kd.map(jd=>typeof jd=="object"&&jd.toJSON?jd.toJSON(null,md):jd);else if(typeof kd=="object"&&kd.toJSON)vd[Id]=kd.toJSON(null,md);else if(Id==="source"){let jd=md.get(kd.input);jd==null&&(jd=Nd,md.set(kd.input,Nd),Nd++),vd[Id]={end:kd.end,inputId:jd,start:kd.start}}else vd[Id]=kd}return Ad&&(vd.inputs=[...md.keys()].map(Id=>Id.toJSON())),vd}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(fd=cd){fd.stringify&&(fd=fd.stringify);let md="";return fd(this,vd=>{md+=vd}),md}warn(fd,md,vd){let Ad={node:this};for(let Nd in vd)Ad[Nd]=vd[Nd];return fd.warn(md,Ad)}get proxyOf(){return this}};qa.exports=pd,pd.default=pd}),lt$2=y$3((Ra,qa)=>{var nd=at$4(),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$3((Ra,qa)=>{var nd=at$4(),od=class extends nd{constructor(ld){super(ld),this.type="comment"}};qa.exports=od,od.default=od}),re$3=y$3((Ra,qa)=>{var{isClean:nd,my:od}=Ut$3(),ld=lt$2(),ud=Oe$3(),cd=at$4(),dd,pd,fd,md;function vd(Id){return Id.map(kd=>(kd.nodes&&(kd.nodes=vd(kd.nodes)),delete kd.source,kd))}function Ad(Id){if(Id[nd]=!1,Id.proxyOf.nodes)for(let kd of Id.proxyOf.nodes)Ad(kd)}var Nd=class Mx extends cd{append(...kd){for(let jd of kd){let Fd=this.normalize(jd,this.last);for(let Md of Fd)this.proxyOf.nodes.push(Md)}return this.markDirty(),this}cleanRaws(kd){if(super.cleanRaws(kd),this.nodes)for(let jd of this.nodes)jd.cleanRaws(kd)}each(kd){if(!this.proxyOf.nodes)return;let jd=this.getIterator(),Fd,Md;for(;this.indexes[jd]<this.proxyOf.nodes.length&&(Fd=this.indexes[jd],Md=kd(this.proxyOf.nodes[Fd],Fd),Md!==!1);)this.indexes[jd]+=1;return delete this.indexes[jd],Md}every(kd){return this.nodes.every(kd)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let kd=this.lastEach;return this.indexes[kd]=0,kd}getProxyProcessor(){return{get(kd,jd){return jd==="proxyOf"?kd:kd[jd]?jd==="each"||typeof jd=="string"&&jd.startsWith("walk")?(...Fd)=>kd[jd](...Fd.map(Md=>typeof Md=="function"?(Ld,Hd)=>Md(Ld.toProxy(),Hd):Md)):jd==="every"||jd==="some"?Fd=>kd[jd]((Md,...Ld)=>Fd(Md.toProxy(),...Ld)):jd==="root"?()=>kd.root().toProxy():jd==="nodes"?kd.nodes.map(Fd=>Fd.toProxy()):jd==="first"||jd==="last"?kd[jd].toProxy():kd[jd]:kd[jd]},set(kd,jd,Fd){return kd[jd]===Fd||(kd[jd]=Fd,(jd==="name"||jd==="params"||jd==="selector")&&kd.markDirty()),!0}}}index(kd){return typeof kd=="number"?kd:(kd.proxyOf&&(kd=kd.proxyOf),this.proxyOf.nodes.indexOf(kd))}insertAfter(kd,jd){let Fd=this.index(kd),Md=this.normalize(jd,this.proxyOf.nodes[Fd]).reverse();Fd=this.index(kd);for(let Hd of Md)this.proxyOf.nodes.splice(Fd+1,0,Hd);let Ld;for(let Hd in this.indexes)Ld=this.indexes[Hd],Fd<Ld&&(this.indexes[Hd]=Ld+Md.length);return this.markDirty(),this}insertBefore(kd,jd){let Fd=this.index(kd),Md=Fd===0?"prepend":!1,Ld=this.normalize(jd,this.proxyOf.nodes[Fd],Md).reverse();Fd=this.index(kd);for(let Gd of Ld)this.proxyOf.nodes.splice(Fd,0,Gd);let Hd;for(let Gd in this.indexes)Hd=this.indexes[Gd],Fd<=Hd&&(this.indexes[Gd]=Hd+Ld.length);return this.markDirty(),this}normalize(kd,jd){if(typeof kd=="string")kd=vd(dd(kd).nodes);else if(typeof kd>"u")kd=[];else if(Array.isArray(kd)){kd=kd.slice(0);for(let Fd of kd)Fd.parent&&Fd.parent.removeChild(Fd,"ignore")}else if(kd.type==="root"&&this.type!=="document"){kd=kd.nodes.slice(0);for(let Fd of kd)Fd.parent&&Fd.parent.removeChild(Fd,"ignore")}else if(kd.type)kd=[kd];else if(kd.prop){if(typeof kd.value>"u")throw new Error("Value field is missed in node creation");typeof kd.value!="string"&&(kd.value=String(kd.value)),kd=[new ld(kd)]}else if(kd.selector)kd=[new pd(kd)];else if(kd.name)kd=[new fd(kd)];else if(kd.text)kd=[new ud(kd)];else throw new Error("Unknown node type in node creation");return kd.map(Fd=>(Fd[od]||Mx.rebuild(Fd),Fd=Fd.proxyOf,Fd.parent&&Fd.parent.removeChild(Fd),Fd[nd]&&Ad(Fd),typeof Fd.raws.before>"u"&&jd&&typeof jd.raws.before<"u"&&(Fd.raws.before=jd.raws.before.replace(/\S/g,"")),Fd.parent=this.proxyOf,Fd))}prepend(...kd){kd=kd.reverse();for(let jd of kd){let Fd=this.normalize(jd,this.first,"prepend").reverse();for(let Md of Fd)this.proxyOf.nodes.unshift(Md);for(let Md in this.indexes)this.indexes[Md]=this.indexes[Md]+Fd.length}return this.markDirty(),this}push(kd){return kd.parent=this,this.proxyOf.nodes.push(kd),this}removeAll(){for(let kd of this.proxyOf.nodes)kd.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(kd){kd=this.index(kd),this.proxyOf.nodes[kd].parent=void 0,this.proxyOf.nodes.splice(kd,1);let jd;for(let Fd in this.indexes)jd=this.indexes[Fd],jd>=kd&&(this.indexes[Fd]=jd-1);return this.markDirty(),this}replaceValues(kd,jd,Fd){return Fd||(Fd=jd,jd={}),this.walkDecls(Md=>{jd.props&&!jd.props.includes(Md.prop)||jd.fast&&!Md.value.includes(jd.fast)||(Md.value=Md.value.replace(kd,Fd))}),this.markDirty(),this}some(kd){return this.nodes.some(kd)}walk(kd){return this.each((jd,Fd)=>{let Md;try{Md=kd(jd,Fd)}catch(Ld){throw jd.addToError(Ld)}return Md!==!1&&jd.walk&&(Md=jd.walk(kd)),Md})}walkAtRules(kd,jd){return jd?kd instanceof RegExp?this.walk((Fd,Md)=>{if(Fd.type==="atrule"&&kd.test(Fd.name))return jd(Fd,Md)}):this.walk((Fd,Md)=>{if(Fd.type==="atrule"&&Fd.name===kd)return jd(Fd,Md)}):(jd=kd,this.walk((Fd,Md)=>{if(Fd.type==="atrule")return jd(Fd,Md)}))}walkComments(kd){return this.walk((jd,Fd)=>{if(jd.type==="comment")return kd(jd,Fd)})}walkDecls(kd,jd){return jd?kd instanceof RegExp?this.walk((Fd,Md)=>{if(Fd.type==="decl"&&kd.test(Fd.prop))return jd(Fd,Md)}):this.walk((Fd,Md)=>{if(Fd.type==="decl"&&Fd.prop===kd)return jd(Fd,Md)}):(jd=kd,this.walk((Fd,Md)=>{if(Fd.type==="decl")return jd(Fd,Md)}))}walkRules(kd,jd){return jd?kd instanceof RegExp?this.walk((Fd,Md)=>{if(Fd.type==="rule"&&kd.test(Fd.selector))return jd(Fd,Md)}):this.walk((Fd,Md)=>{if(Fd.type==="rule"&&Fd.selector===kd)return jd(Fd,Md)}):(jd=kd,this.walk((Fd,Md)=>{if(Fd.type==="rule")return jd(Fd,Md)}))}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]}};Nd.registerParse=Id=>{dd=Id},Nd.registerRule=Id=>{pd=Id},Nd.registerAtRule=Id=>{fd=Id},Nd.registerRoot=Id=>{md=Id},qa.exports=Nd,Nd.default=Nd,Nd.rebuild=Id=>{Id.type==="atrule"?Object.setPrototypeOf(Id,fd.prototype):Id.type==="rule"?Object.setPrototypeOf(Id,pd.prototype):Id.type==="decl"?Object.setPrototypeOf(Id,ld.prototype):Id.type==="comment"?Object.setPrototypeOf(Id,ud.prototype):Id.type==="root"&&Object.setPrototypeOf(Id,md.prototype),Id[od]=!0,Id.nodes&&Id.nodes.forEach(kd=>{Nd.rebuild(kd)})}}),Vt$2=y$3((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(cd,dd={}){let pd=cd.css.valueOf(),fd=dd.ignoreErrors,md,vd,Ad,Nd,Id,kd,jd,Fd,Md,Ld,Hd=pd.length,Gd=0,Vd=[],Kd=[];function mf(){return Gd}function Wd(yf){throw cd.error("Unclosed "+yf,Gd)}function Zd(){return Kd.length===0&&Gd>=Hd}function Xd(yf){if(Kd.length)return Kd.pop();if(Gd>=Hd)return;let Ef=yf?yf.ignoreUnclosed:!1;switch(md=pd.charCodeAt(Gd),md){case 10:case 32:case 9:case 13:case 12:{vd=Gd;do vd+=1,md=pd.charCodeAt(vd);while(md===32||md===10||md===9||md===13||md===12);Ld=["space",pd.slice(Gd,vd)],Gd=vd-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let gf=String.fromCharCode(md);Ld=[gf,gf,Gd];break}case 40:{if(Fd=Vd.length?Vd.pop()[1]:"",Md=pd.charCodeAt(Gd+1),Fd==="url"&&Md!==39&&Md!==34&&Md!==32&&Md!==10&&Md!==9&&Md!==12&&Md!==13){vd=Gd;do{if(kd=!1,vd=pd.indexOf(")",vd+1),vd===-1)if(fd||Ef){vd=Gd;break}else Wd("bracket");for(jd=vd;pd.charCodeAt(jd-1)===92;)jd-=1,kd=!kd}while(kd);Ld=["brackets",pd.slice(Gd,vd+1),Gd,vd],Gd=vd}else vd=pd.indexOf(")",Gd+1),Nd=pd.slice(Gd,vd+1),vd===-1||ld.test(Nd)?Ld=["(","(",Gd]:(Ld=["brackets",Nd,Gd,vd],Gd=vd);break}case 39:case 34:{Ad=md===39?"'":'"',vd=Gd;do{if(kd=!1,vd=pd.indexOf(Ad,vd+1),vd===-1)if(fd||Ef){vd=Gd+1;break}else Wd("string");for(jd=vd;pd.charCodeAt(jd-1)===92;)jd-=1,kd=!kd}while(kd);Ld=["string",pd.slice(Gd,vd+1),Gd,vd],Gd=vd;break}case 64:{nd.lastIndex=Gd+1,nd.test(pd),nd.lastIndex===0?vd=pd.length-1:vd=nd.lastIndex-2,Ld=["at-word",pd.slice(Gd,vd+1),Gd,vd],Gd=vd;break}case 92:{for(vd=Gd,Id=!0;pd.charCodeAt(vd+1)===92;)vd+=1,Id=!Id;if(md=pd.charCodeAt(vd+1),Id&&md!==47&&md!==32&&md!==10&&md!==9&&md!==13&&md!==12&&(vd+=1,ud.test(pd.charAt(vd)))){for(;ud.test(pd.charAt(vd+1));)vd+=1;pd.charCodeAt(vd+1)===32&&(vd+=1)}Ld=["word",pd.slice(Gd,vd+1),Gd,vd],Gd=vd;break}default:{md===47&&pd.charCodeAt(Gd+1)===42?(vd=pd.indexOf("*/",Gd+2)+1,vd===0&&(fd||Ef?vd=pd.length:Wd("comment")),Ld=["comment",pd.slice(Gd,vd+1),Gd,vd],Gd=vd):(od.lastIndex=Gd+1,od.test(pd),od.lastIndex===0?vd=pd.length-1:vd=od.lastIndex-2,Ld=["word",pd.slice(Gd,vd+1),Gd,vd],Vd.push(Ld),Gd=vd);break}}return Gd++,Ld}function bf(yf){Kd.push(yf)}return{back:bf,endOfFile:Zd,nextToken:Xd,position:mf}}}),Gt$2=y$3((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$3((Ra,qa)=>{var nd=re$3(),od,ld,ud=class extends nd{constructor(cd){super(cd),this.type="root",this.nodes||(this.nodes=[])}normalize(cd,dd,pd){let fd=super.normalize(cd);if(dd){if(pd==="prepend")this.nodes.length>1?dd.raws.before=this.nodes[1].raws.before:delete dd.raws.before;else if(this.first!==dd)for(let md of fd)md.raws.before=dd.raws.before}return fd}removeChild(cd,dd){let pd=this.index(cd);return!dd&&pd===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[pd].raws.before),super.removeChild(cd)}toResult(cd={}){return new od(new ld,this,cd).stringify()}};ud.registerLazyResult=cd=>{od=cd},ud.registerProcessor=cd=>{ld=cd},qa.exports=ud,ud.default=ud,nd.registerRoot(ud)}),us=y$3((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 cd=[],dd="",pd=!1,fd=0,md=!1,vd="",Ad=!1;for(let Nd of od)Ad?Ad=!1:Nd==="\\"?Ad=!0:md?Nd===vd&&(md=!1):Nd==='"'||Nd==="'"?(md=!0,vd=Nd):Nd==="("?fd+=1:Nd===")"?fd>0&&(fd-=1):fd===0&&ld.includes(Nd)&&(pd=!0),pd?(dd!==""&&cd.push(dd.trim()),dd="",pd=!1):dd+=Nd;return(ud||dd!=="")&&cd.push(dd.trim()),cd}};qa.exports=nd,nd.default=nd}),jt$1=y$3((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 cd=this.selector?this.selector.match(/,\s*/):null,dd=cd?cd[0]:","+this.raw("between","beforeOpen");this.selector=ud.join(dd)}};qa.exports=ld,ld.default=ld,nd.registerRule(ld)}),Ht$2=y$3((Ra,qa)=>{var nd=lt$2(),od=Vt$2(),ld=Oe$3(),ud=Gt$2(),cd=Ae$4(),dd=jt$1(),pd={empty:!0,space:!0};function fd(vd){for(let Ad=vd.length-1;Ad>=0;Ad--){let Nd=vd[Ad],Id=Nd[3]||Nd[2];if(Id)return Id}}var md=class{constructor(vd){this.input=vd,this.root=new cd,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:vd,start:{column:1,line:1,offset:0}}}atrule(vd){let Ad=new ud;Ad.name=vd[1].slice(1),Ad.name===""&&this.unnamedAtrule(Ad,vd),this.init(Ad,vd[2]);let Nd,Id,kd,jd=!1,Fd=!1,Md=[],Ld=[];for(;!this.tokenizer.endOfFile();){if(vd=this.tokenizer.nextToken(),Nd=vd[0],Nd==="("||Nd==="["?Ld.push(Nd==="("?")":"]"):Nd==="{"&&Ld.length>0?Ld.push("}"):Nd===Ld[Ld.length-1]&&Ld.pop(),Ld.length===0)if(Nd===";"){Ad.source.end=this.getPosition(vd[2]),Ad.source.end.offset++,this.semicolon=!0;break}else if(Nd==="{"){Fd=!0;break}else if(Nd==="}"){if(Md.length>0){for(kd=Md.length-1,Id=Md[kd];Id&&Id[0]==="space";)Id=Md[--kd];Id&&(Ad.source.end=this.getPosition(Id[3]||Id[2]),Ad.source.end.offset++)}this.end(vd);break}else Md.push(vd);else Md.push(vd);if(this.tokenizer.endOfFile()){jd=!0;break}}Ad.raws.between=this.spacesAndCommentsFromEnd(Md),Md.length?(Ad.raws.afterName=this.spacesAndCommentsFromStart(Md),this.raw(Ad,"params",Md),jd&&(vd=Md[Md.length-1],Ad.source.end=this.getPosition(vd[3]||vd[2]),Ad.source.end.offset++,this.spaces=Ad.raws.between,Ad.raws.between="")):(Ad.raws.afterName="",Ad.params=""),Fd&&(Ad.nodes=[],this.current=Ad)}checkMissedSemicolon(vd){let Ad=this.colon(vd);if(Ad===!1)return;let Nd=0,Id;for(let kd=Ad-1;kd>=0&&(Id=vd[kd],!(Id[0]!=="space"&&(Nd+=1,Nd===2)));kd--);throw this.input.error("Missed semicolon",Id[0]==="word"?Id[3]+1:Id[2])}colon(vd){let Ad=0,Nd,Id,kd;for(let[jd,Fd]of vd.entries()){if(Nd=Fd,Id=Nd[0],Id==="("&&(Ad+=1),Id===")"&&(Ad-=1),Ad===0&&Id===":")if(!kd)this.doubleColon(Nd);else{if(kd[0]==="word"&&kd[1]==="progid")continue;return jd}kd=Nd}return!1}comment(vd){let Ad=new ld;this.init(Ad,vd[2]),Ad.source.end=this.getPosition(vd[3]||vd[2]),Ad.source.end.offset++;let Nd=vd[1].slice(2,-2);if(/^\s*$/.test(Nd))Ad.text="",Ad.raws.left=Nd,Ad.raws.right="";else{let Id=Nd.match(/^(\s*)([^]*\S)(\s*)$/);Ad.text=Id[2],Ad.raws.left=Id[1],Ad.raws.right=Id[3]}}createTokenizer(){this.tokenizer=od(this.input)}decl(vd,Ad){let Nd=new nd;this.init(Nd,vd[0][2]);let Id=vd[vd.length-1];for(Id[0]===";"&&(this.semicolon=!0,vd.pop()),Nd.source.end=this.getPosition(Id[3]||Id[2]||fd(vd)),Nd.source.end.offset++;vd[0][0]!=="word";)vd.length===1&&this.unknownWord(vd),Nd.raws.before+=vd.shift()[1];for(Nd.source.start=this.getPosition(vd[0][2]),Nd.prop="";vd.length;){let Md=vd[0][0];if(Md===":"||Md==="space"||Md==="comment")break;Nd.prop+=vd.shift()[1]}Nd.raws.between="";let kd;for(;vd.length;)if(kd=vd.shift(),kd[0]===":"){Nd.raws.between+=kd[1];break}else kd[0]==="word"&&/\w/.test(kd[1])&&this.unknownWord([kd]),Nd.raws.between+=kd[1];(Nd.prop[0]==="_"||Nd.prop[0]==="*")&&(Nd.raws.before+=Nd.prop[0],Nd.prop=Nd.prop.slice(1));let jd=[],Fd;for(;vd.length&&(Fd=vd[0][0],!(Fd!=="space"&&Fd!=="comment"));)jd.push(vd.shift());this.precheckMissedSemicolon(vd);for(let Md=vd.length-1;Md>=0;Md--){if(kd=vd[Md],kd[1].toLowerCase()==="!important"){Nd.important=!0;let Ld=this.stringFrom(vd,Md);Ld=this.spacesFromEnd(vd)+Ld,Ld!==" !important"&&(Nd.raws.important=Ld);break}else if(kd[1].toLowerCase()==="important"){let Ld=vd.slice(0),Hd="";for(let Gd=Md;Gd>0;Gd--){let Vd=Ld[Gd][0];if(Hd.trim().indexOf("!")===0&&Vd!=="space")break;Hd=Ld.pop()[1]+Hd}Hd.trim().indexOf("!")===0&&(Nd.important=!0,Nd.raws.important=Hd,vd=Ld)}if(kd[0]!=="space"&&kd[0]!=="comment")break}vd.some(Md=>Md[0]!=="space"&&Md[0]!=="comment")&&(Nd.raws.between+=jd.map(Md=>Md[1]).join(""),jd=[]),this.raw(Nd,"value",jd.concat(vd),Ad),Nd.value.includes(":")&&!Ad&&this.checkMissedSemicolon(vd)}doubleColon(vd){throw this.input.error("Double colon",{offset:vd[2]},{offset:vd[2]+vd[1].length})}emptyRule(vd){let Ad=new dd;this.init(Ad,vd[2]),Ad.selector="",Ad.raws.between="",this.current=Ad}end(vd){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(vd[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(vd)}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(vd){if(this.spaces+=vd[1],this.current.nodes){let Ad=this.current.nodes[this.current.nodes.length-1];Ad&&Ad.type==="rule"&&!Ad.raws.ownSemicolon&&(Ad.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(vd){let Ad=this.input.fromOffset(vd);return{column:Ad.col,line:Ad.line,offset:vd}}init(vd,Ad){this.current.push(vd),vd.source={input:this.input,start:this.getPosition(Ad)},vd.raws.before=this.spaces,this.spaces="",vd.type!=="comment"&&(this.semicolon=!1)}other(vd){let Ad=!1,Nd=null,Id=!1,kd=null,jd=[],Fd=vd[1].startsWith("--"),Md=[],Ld=vd;for(;Ld;){if(Nd=Ld[0],Md.push(Ld),Nd==="("||Nd==="[")kd||(kd=Ld),jd.push(Nd==="("?")":"]");else if(Fd&&Id&&Nd==="{")kd||(kd=Ld),jd.push("}");else if(jd.length===0)if(Nd===";")if(Id){this.decl(Md,Fd);return}else break;else if(Nd==="{"){this.rule(Md);return}else if(Nd==="}"){this.tokenizer.back(Md.pop()),Ad=!0;break}else Nd===":"&&(Id=!0);else Nd===jd[jd.length-1]&&(jd.pop(),jd.length===0&&(kd=null));Ld=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(Ad=!0),jd.length>0&&this.unclosedBracket(kd),Ad&&Id){if(!Fd)for(;Md.length&&(Ld=Md[Md.length-1][0],!(Ld!=="space"&&Ld!=="comment"));)this.tokenizer.back(Md.pop());this.decl(Md,Fd)}else this.unknownWord(Md)}parse(){let vd;for(;!this.tokenizer.endOfFile();)switch(vd=this.tokenizer.nextToken(),vd[0]){case"space":this.spaces+=vd[1];break;case";":this.freeSemicolon(vd);break;case"}":this.end(vd);break;case"comment":this.comment(vd);break;case"at-word":this.atrule(vd);break;case"{":this.emptyRule(vd);break;default:this.other(vd);break}this.endFile()}precheckMissedSemicolon(){}raw(vd,Ad,Nd,Id){let kd,jd,Fd=Nd.length,Md="",Ld=!0,Hd,Gd;for(let Vd=0;Vd<Fd;Vd+=1)kd=Nd[Vd],jd=kd[0],jd==="space"&&Vd===Fd-1&&!Id?Ld=!1:jd==="comment"?(Gd=Nd[Vd-1]?Nd[Vd-1][0]:"empty",Hd=Nd[Vd+1]?Nd[Vd+1][0]:"empty",!pd[Gd]&&!pd[Hd]?Md.slice(-1)===","?Ld=!1:Md+=kd[1]:Ld=!1):Md+=kd[1];if(!Ld){let Vd=Nd.reduce((Kd,mf)=>Kd+mf[1],"");vd.raws[Ad]={raw:Vd,value:Md}}vd[Ad]=Md}rule(vd){vd.pop();let Ad=new dd;this.init(Ad,vd[0][2]),Ad.raws.between=this.spacesAndCommentsFromEnd(vd),this.raw(Ad,"selector",vd),this.current=Ad}spacesAndCommentsFromEnd(vd){let Ad,Nd="";for(;vd.length&&(Ad=vd[vd.length-1][0],!(Ad!=="space"&&Ad!=="comment"));)Nd=vd.pop()[1]+Nd;return Nd}spacesAndCommentsFromStart(vd){let Ad,Nd="";for(;vd.length&&(Ad=vd[0][0],!(Ad!=="space"&&Ad!=="comment"));)Nd+=vd.shift()[1];return Nd}spacesFromEnd(vd){let Ad,Nd="";for(;vd.length&&(Ad=vd[vd.length-1][0],Ad==="space");)Nd=vd.pop()[1]+Nd;return Nd}stringFrom(vd,Ad){let Nd="";for(let Id=Ad;Id<vd.length;Id++)Nd+=vd[Id][1];return vd.splice(Ad,vd.length-Ad),Nd}unclosedBlock(){let vd=this.current.source.start;throw this.input.error("Unclosed block",vd.line,vd.column)}unclosedBracket(vd){throw this.input.error("Unclosed bracket",{offset:vd[2]},{offset:vd[2]+1})}unexpectedClose(vd){throw this.input.error("Unexpected }",{offset:vd[2]},{offset:vd[2]+1})}unknownWord(vd){throw this.input.error("Unknown word",{offset:vd[0][2]},{offset:vd[0][2]+vd[0][1].length})}unnamedAtrule(vd,Ad){throw this.input.error("At-rule without name",{offset:Ad[2]},{offset:Ad[2]+Ad[1].length})}};qa.exports=md}),Ki=y$3(()=>{}),Ji=y$3((Ra,qa)=>{var nd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",od=(ud,cd=21)=>(dd=cd)=>{let pd="",fd=dd;for(;fd--;)pd+=ud[Math.random()*ud.length|0];return pd},ld=(ud=21)=>{let cd="",dd=ud;for(;dd--;)cd+=nd[Math.random()*64|0];return cd};qa.exports={nanoid:ld,customAlphabet:od}}),cs=y$3((Ra,qa)=>{qa.exports=class{}}),Re$4=y$3((Ra,qa)=>{var{SourceMapConsumer:nd,SourceMapGenerator:od}=Ki(),{fileURLToPath:ld,pathToFileURL:ud}={},{isAbsolute:cd,resolve:dd}={},{nanoid:pd}=Ji(),fd=ss(),md=Ft$2(),vd=cs(),Ad=Symbol("fromOffsetCache"),Nd=!!(nd&&od),Id=!!(dd&&cd),kd=class{constructor(jd,Fd={}){if(jd===null||typeof jd>"u"||typeof jd=="object"&&!jd.toString)throw new Error(`PostCSS received ${jd} instead of CSS string`);if(this.css=jd.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,Fd.from&&(!Id||/^\w+:\/\//.test(Fd.from)||cd(Fd.from)?this.file=Fd.from:this.file=dd(Fd.from)),Id&&Nd){let Md=new vd(this.css,Fd);if(Md.text){this.map=Md;let Ld=Md.consumer().file;!this.file&&Ld&&(this.file=this.mapResolve(Ld))}}this.file||(this.id="<input css "+pd(6)+">"),this.map&&(this.map.file=this.from)}error(jd,Fd,Md,Ld={}){let Hd,Gd,Vd;if(Fd&&typeof Fd=="object"){let mf=Fd,Wd=Md;if(typeof mf.offset=="number"){let Zd=this.fromOffset(mf.offset);Fd=Zd.line,Md=Zd.col}else Fd=mf.line,Md=mf.column;if(typeof Wd.offset=="number"){let Zd=this.fromOffset(Wd.offset);Gd=Zd.line,Vd=Zd.col}else Gd=Wd.line,Vd=Wd.column}else if(!Md){let mf=this.fromOffset(Fd);Fd=mf.line,Md=mf.col}let Kd=this.origin(Fd,Md,Gd,Vd);return Kd?Hd=new md(jd,Kd.endLine===void 0?Kd.line:{column:Kd.column,line:Kd.line},Kd.endLine===void 0?Kd.column:{column:Kd.endColumn,line:Kd.endLine},Kd.source,Kd.file,Ld.plugin):Hd=new md(jd,Gd===void 0?Fd:{column:Md,line:Fd},Gd===void 0?Md:{column:Vd,line:Gd},this.css,this.file,Ld.plugin),Hd.input={column:Md,endColumn:Vd,endLine:Gd,line:Fd,source:this.css},this.file&&(ud&&(Hd.input.url=ud(this.file).toString()),Hd.input.file=this.file),Hd}fromOffset(jd){let Fd,Md;if(this[Ad])Md=this[Ad];else{let Hd=this.css.split(`
|
||
`);Md=new Array(Hd.length);let Gd=0;for(let Vd=0,Kd=Hd.length;Vd<Kd;Vd++)Md[Vd]=Gd,Gd+=Hd[Vd].length+1;this[Ad]=Md}Fd=Md[Md.length-1];let Ld=0;if(jd>=Fd)Ld=Md.length-1;else{let Hd=Md.length-2,Gd;for(;Ld<Hd;)if(Gd=Ld+(Hd-Ld>>1),jd<Md[Gd])Hd=Gd-1;else if(jd>=Md[Gd+1])Ld=Gd+1;else{Ld=Gd;break}}return{col:jd-Md[Ld]+1,line:Ld+1}}mapResolve(jd){return/^\w+:\/\//.test(jd)?jd:dd(this.map.consumer().sourceRoot||this.map.root||".",jd)}origin(jd,Fd,Md,Ld){if(!this.map)return!1;let Hd=this.map.consumer(),Gd=Hd.originalPositionFor({column:Fd,line:jd});if(!Gd.source)return!1;let Vd;typeof Md=="number"&&(Vd=Hd.originalPositionFor({column:Ld,line:Md}));let Kd;cd(Gd.source)?Kd=ud(Gd.source):Kd=new URL(Gd.source,this.map.consumer().sourceRoot||ud(this.map.mapFile));let mf={column:Gd.column,endColumn:Vd&&Vd.column,endLine:Vd&&Vd.line,line:Gd.line,url:Kd.toString()};if(Kd.protocol==="file:")if(ld)mf.file=ld(Kd);else throw new Error("file: protocol is not available in this PostCSS build");let Wd=Hd.sourceContentFor(Gd.source);return Wd&&(mf.source=Wd),mf}toJSON(){let jd={};for(let Fd of["hasBOM","css","file","id"])this[Fd]!=null&&(jd[Fd]=this[Fd]);return this.map&&(jd.map={...this.map},jd.map.consumerCache&&(jd.map.consumerCache=void 0)),jd}get from(){return this.file||this.id}};qa.exports=kd,kd.default=kd,fd&&fd.registerInput&&fd.registerInput(kd)}),pt$2=y$3((Ra,qa)=>{var nd=re$3(),od=Ht$2(),ld=Re$4();function ud(cd,dd){let pd=new ld(cd,dd),fd=new od(pd);try{fd.parse()}catch(md){throw md}return fd.root}qa.exports=ud,ud.default=ud,nd.registerParse(ud)}),no$1=y$3((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,cd=[],dd,pd;for(;ld;){if(/\r?\n/.test(ld[1])){if(/['"].*\r?\n/.test(ld[1])){cd.push(ld[1].substring(0,ld[1].indexOf(`
|
||
`))),pd=ld[1].substring(ld[1].indexOf(`
|
||
`));let md=this.input.css.valueOf().substring(this.tokenizer.position());pd+=md,dd=ld[3]+md.length-pd.length}else this.tokenizer.back(ld);break}cd.push(ld[1]),dd=ld[2],ld=this.tokenizer.nextToken({ignoreUnclosed:!0})}let fd=["comment",cd.join(""),ud[2],dd];return this.inlineComment(fd),pd&&(this.input=new od(pd),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$3((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(fd=>fd[1]),[cd]=od,dd=od.pop(),pd=["word",ud.join(""),cd[2],dd[2]];return this.tokenizer.back(nd),this.tokenizer.back(pd),!0}}}),uo$1=y$3((Ra,qa)=>{var nd=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,od=/\.[0-9]/,ld=ud=>{let[,cd]=ud,[dd]=cd;return(dd==="."||dd==="#")&&nd.test(cd)===!1&&od.test(cd)===!1};qa.exports={isMixinToken:ld}}),co$1=y$3((Ra,qa)=>{var nd=Vt$2(),od=/^url\((.+)\)/;qa.exports=ld=>{let{name:ud,params:cd=""}=ld;if(ud==="import"&&cd.length){ld.import=!0;let dd=nd({css:cd});for(ld.filename=cd.replace(od,"$1");!dd.endOfFile();){let[pd,fd]=dd.nextToken();if(pd==="word"&&fd==="url")return;if(pd==="brackets"){ld.options=fd,ld.filename=cd.replace(fd,"").trim();break}}}}}),mo$1=y$3((Ra,qa)=>{var nd=/:$/,od=/^:(\s+)?/;qa.exports=ld=>{let{name:ud,params:cd=""}=ld;if(ld.name.slice(-1)===":"){if(nd.test(ud)){let[dd]=ud.match(nd);ld.name=ud.replace(dd,""),ld.raws.afterName=dd+(ld.raws.afterName||""),ld.variable=!0,ld.value=ld.params}if(od.test(cd)){let[dd]=cd.match(od);ld.value=cd.replace(dd,""),ld.raws.afterName=(ld.raws.afterName||"")+dd,ld.variable=!0}}}}),go$1=y$3((Ra,qa)=>{var nd=Oe$3(),od=Ht$2(),{isInlineComment:ld}=no$1(),{interpolation:ud}=oo$1(),{isMixinToken:cd}=uo$1(),dd=co$1(),pd=mo$1(),fd=/(!\s*important)$/i;qa.exports=class extends od{constructor(...md){super(...md),this.lastNode=null}atrule(md){ud.bind(this)(md)||(super.atrule(md),dd(this.lastNode),pd(this.lastNode))}decl(...md){super.decl(...md),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(md){md[0][1]=` ${md[0][1]}`;let vd=md.findIndex(kd=>kd[0]==="("),Ad=md.reverse().find(kd=>kd[0]===")"),Nd=md.reverse().indexOf(Ad),Id=md.splice(vd,Nd).map(kd=>kd[1]).join("");for(let kd of md.reverse())this.tokenizer.back(kd);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=Id}init(md,vd,Ad){super.init(md,vd,Ad),this.lastNode=md}inlineComment(md){let vd=new nd,Ad=md[1].slice(2);if(this.init(vd,md[2]),vd.source.end=this.getPosition(md[3]||md[2]),vd.inline=!0,vd.raws.begin="//",/^\s*$/.test(Ad))vd.text="",vd.raws.left=Ad,vd.raws.right="";else{let Nd=Ad.match(/^(\s*)([^]*[^\s])(\s*)$/);[,vd.raws.left,vd.text,vd.raws.right]=Nd}}mixin(md){let[vd]=md,Ad=vd[1].slice(0,1),Nd=md.findIndex(Md=>Md[0]==="brackets"),Id=md.findIndex(Md=>Md[0]==="("),kd="";if((Nd<0||Nd>3)&&Id>0){let Md=md.reduce((Xd,bf,yf)=>bf[0]===")"?yf:Xd),Ld=md.slice(Id,Md+Id).map(Xd=>Xd[1]).join(""),[Hd]=md.slice(Id),Gd=[Hd[2],Hd[3]],[Vd]=md.slice(Md,Md+1),Kd=[Vd[2],Vd[3]],mf=["brackets",Ld].concat(Gd,Kd),Wd=md.slice(0,Id),Zd=md.slice(Md+1);md=Wd,md.push(mf),md=md.concat(Zd)}let jd=[];for(let Md of md)if((Md[1]==="!"||jd.length)&&jd.push(Md),Md[1]==="important")break;if(jd.length){let[Md]=jd,Ld=md.indexOf(Md),Hd=jd[jd.length-1],Gd=[Md[2],Md[3]],Vd=[Hd[4],Hd[5]],Kd=["word",jd.map(mf=>mf[1]).join("")].concat(Gd,Vd);md.splice(Ld,jd.length,Kd)}let Fd=md.findIndex(Md=>fd.test(Md[1]));Fd>0&&([,kd]=md[Fd],md.splice(Fd,1));for(let Md of md.reverse())this.tokenizer.back(Md);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=Ad,kd&&(this.lastNode.important=!0,this.lastNode.raws.important=kd)}other(md){ld.bind(this)(md)||super.other(md)}rule(md){let vd=md[md.length-1],Ad=md[md.length-2];if(Ad[0]==="at-word"&&vd[0]==="{"&&(this.tokenizer.back(vd),ud.bind(this)(Ad))){let Nd=this.tokenizer.nextToken();md=md.slice(0,md.length-2).concat([Nd]);for(let Id of md.reverse())this.tokenizer.back(Id);return}super.rule(md),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(md){let[vd]=md;if(md[0][1]==="each"&&md[1][0]==="("){this.each(md);return}if(cd(vd)){this.mixin(md);return}super.unknownWord(md)}}}),xo$1=y$3((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}`,cd=od.params?this.rawValue(od,"params"):"",dd=od.raws.important||"";if(od.variable&&(cd=od.value),typeof od.raws.afterName<"u"?ud+=od.raws.afterName:cd&&(ud+=" "),od.nodes)this.block(od,ud+cd+dd);else{let pd=(od.raws.between||"")+dd+(ld?";":"");this.builder(ud+cd+pd,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=y$3((Ra,qa)=>{var nd=Re$4(),od=go$1(),ld=xo$1();qa.exports={parse(ud,cd){let dd=new nd(ud,cd),pd=new od(dd);return pd.parse(),pd.root.walk(fd=>{let md=dd.css.lastIndexOf(fd.source.input.css);if(md===0)return;if(md+fd.source.input.css.length!==dd.css.length)throw new Error("Invalid state detected in postcss-less");let vd=md+fd.source.start.offset,Ad=dd.fromOffset(md+fd.source.start.offset);if(fd.source.start={offset:vd,line:Ad.line,column:Ad.col},fd.source.end){let Nd=md+fd.source.end.offset,Id=dd.fromOffset(md+fd.source.end.offset);fd.source.end={offset:Nd,line:Id.line,column:Id.col}}}),pd.root},stringify(ud,cd){new ld(cd).stringify(ud)},nodeToString(ud){let cd="";return qa.exports.stringify(ud,dd=>{cd+=dd}),cd}}}),ws=y$3((Ra,qa)=>{qa.exports=class{generate(){}}}),Jt$3=y$3((Ra,qa)=>{var nd=re$3(),od,ld,ud=class extends nd{constructor(cd){super({type:"document",...cd}),this.nodes||(this.nodes=[])}toResult(cd={}){return new od(new ld,this,cd).stringify()}};ud.registerLazyResult=cd=>{od=cd},ud.registerProcessor=cd=>{ld=cd},qa.exports=ud,ud.default=ud}),gs=y$3((Ra,qa)=>{var nd={};qa.exports=function(od){nd[od]||(nd[od]=!0,typeof console<"u"&&console.warn&&console.warn(od))}}),vs=y$3((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$3((Ra,qa)=>{var nd=vs(),od=class{constructor(ld,ud,cd){this.processor=ld,this.messages=[],this.root=ud,this.opts=cd,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 cd=new nd(ld,ud);return this.messages.push(cd),cd}warnings(){return this.messages.filter(ld=>ld.type==="warning")}get content(){return this.css}};qa.exports=od,od.default=od}),_s=y$3((Ra,qa)=>{var{isClean:nd,my:od}=Ut$3(),ld=ws(),ud=it$2(),cd=re$3(),dd=Jt$3();gs();var pd=Xt$1(),fd=pt$2(),md=Ae$4(),vd={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Ad={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},Nd={Once:!0,postcssPlugin:!0,prepare:!0},Id=0;function kd(Gd){return typeof Gd=="object"&&typeof Gd.then=="function"}function jd(Gd){let Vd=!1,Kd=vd[Gd.type];return Gd.type==="decl"?Vd=Gd.prop.toLowerCase():Gd.type==="atrule"&&(Vd=Gd.name.toLowerCase()),Vd&&Gd.append?[Kd,Kd+"-"+Vd,Id,Kd+"Exit",Kd+"Exit-"+Vd]:Vd?[Kd,Kd+"-"+Vd,Kd+"Exit",Kd+"Exit-"+Vd]:Gd.append?[Kd,Id,Kd+"Exit"]:[Kd,Kd+"Exit"]}function Fd(Gd){let Vd;return Gd.type==="document"?Vd=["Document",Id,"DocumentExit"]:Gd.type==="root"?Vd=["Root",Id,"RootExit"]:Vd=jd(Gd),{eventIndex:0,events:Vd,iterator:0,node:Gd,visitorIndex:0,visitors:[]}}function Md(Gd){return Gd[nd]=!1,Gd.nodes&&Gd.nodes.forEach(Vd=>Md(Vd)),Gd}var Ld={},Hd=class $x{constructor(Vd,Kd,mf){this.stringified=!1,this.processed=!1;let Wd;if(typeof Kd=="object"&&Kd!==null&&(Kd.type==="root"||Kd.type==="document"))Wd=Md(Kd);else if(Kd instanceof $x||Kd instanceof pd)Wd=Md(Kd.root),Kd.map&&(typeof mf.map>"u"&&(mf.map={}),mf.map.inline||(mf.map.inline=!1),mf.map.prev=Kd.map);else{let Zd=fd;mf.syntax&&(Zd=mf.syntax.parse),mf.parser&&(Zd=mf.parser),Zd.parse&&(Zd=Zd.parse);try{Wd=Zd(Kd,mf)}catch(Xd){this.processed=!0,this.error=Xd}Wd&&!Wd[od]&&cd.rebuild(Wd)}this.result=new pd(Vd,Wd,mf),this.helpers={...Ld,postcss:Ld,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(Vd){return this.async().catch(Vd)}finally(Vd){return this.async().then(Vd,Vd)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(Vd,Kd){let mf=this.result.lastPlugin;try{Kd&&Kd.addToError(Vd),this.error=Vd,Vd.name==="CssSyntaxError"&&!Vd.plugin?(Vd.plugin=mf.postcssPlugin,Vd.setMessage()):mf.postcssVersion}catch(Wd){console&&console.error&&console.error(Wd)}return Vd}prepareVisitors(){this.listeners={};let Vd=(Kd,mf,Wd)=>{this.listeners[mf]||(this.listeners[mf]=[]),this.listeners[mf].push([Kd,Wd])};for(let Kd of this.plugins)if(typeof Kd=="object")for(let mf in Kd){if(!Ad[mf]&&/^[A-Z]/.test(mf))throw new Error(`Unknown event ${mf} in ${Kd.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Nd[mf])if(typeof Kd[mf]=="object")for(let Wd in Kd[mf])Wd==="*"?Vd(Kd,mf,Kd[mf][Wd]):Vd(Kd,mf+"-"+Wd.toLowerCase(),Kd[mf][Wd]);else typeof Kd[mf]=="function"&&Vd(Kd,mf,Kd[mf])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let Vd=0;Vd<this.plugins.length;Vd++){let Kd=this.plugins[Vd],mf=this.runOnRoot(Kd);if(kd(mf))try{await mf}catch(Wd){throw this.handleError(Wd)}}if(this.prepareVisitors(),this.hasListener){let Vd=this.result.root;for(;!Vd[nd];){Vd[nd]=!0;let Kd=[Fd(Vd)];for(;Kd.length>0;){let mf=this.visitTick(Kd);if(kd(mf))try{await mf}catch(Wd){let Zd=Kd[Kd.length-1].node;throw this.handleError(Wd,Zd)}}}if(this.listeners.OnceExit)for(let[Kd,mf]of this.listeners.OnceExit){this.result.lastPlugin=Kd;try{if(Vd.type==="document"){let Wd=Vd.nodes.map(Zd=>mf(Zd,this.helpers));await Promise.all(Wd)}else await mf(Vd,this.helpers)}catch(Wd){throw this.handleError(Wd)}}}return this.processed=!0,this.stringify()}runOnRoot(Vd){this.result.lastPlugin=Vd;try{if(typeof Vd=="object"&&Vd.Once){if(this.result.root.type==="document"){let Kd=this.result.root.nodes.map(mf=>Vd.Once(mf,this.helpers));return kd(Kd[0])?Promise.all(Kd):Kd}return Vd.Once(this.result.root,this.helpers)}else if(typeof Vd=="function")return Vd(this.result.root,this.result)}catch(Kd){throw this.handleError(Kd)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let Vd=this.result.opts,Kd=ud;Vd.syntax&&(Kd=Vd.syntax.stringify),Vd.stringifier&&(Kd=Vd.stringifier),Kd.stringify&&(Kd=Kd.stringify);let mf=new ld(Kd,this.result.root,this.result.opts).generate();return this.result.css=mf[0],this.result.map=mf[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 Vd of this.plugins){let Kd=this.runOnRoot(Vd);if(kd(Kd))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let Vd=this.result.root;for(;!Vd[nd];)Vd[nd]=!0,this.walkSync(Vd);if(this.listeners.OnceExit)if(Vd.type==="document")for(let Kd of Vd.nodes)this.visitSync(this.listeners.OnceExit,Kd);else this.visitSync(this.listeners.OnceExit,Vd)}return this.result}then(Vd,Kd){return this.async().then(Vd,Kd)}toString(){return this.css}visitSync(Vd,Kd){for(let[mf,Wd]of Vd){this.result.lastPlugin=mf;let Zd;try{Zd=Wd(Kd,this.helpers)}catch(Xd){throw this.handleError(Xd,Kd.proxyOf)}if(Kd.type!=="root"&&Kd.type!=="document"&&!Kd.parent)return!0;if(kd(Zd))throw this.getAsyncError()}}visitTick(Vd){let Kd=Vd[Vd.length-1],{node:mf,visitors:Wd}=Kd;if(mf.type!=="root"&&mf.type!=="document"&&!mf.parent){Vd.pop();return}if(Wd.length>0&&Kd.visitorIndex<Wd.length){let[Xd,bf]=Wd[Kd.visitorIndex];Kd.visitorIndex+=1,Kd.visitorIndex===Wd.length&&(Kd.visitors=[],Kd.visitorIndex=0),this.result.lastPlugin=Xd;try{return bf(mf.toProxy(),this.helpers)}catch(yf){throw this.handleError(yf,mf)}}if(Kd.iterator!==0){let Xd=Kd.iterator,bf;for(;bf=mf.nodes[mf.indexes[Xd]];)if(mf.indexes[Xd]+=1,!bf[nd]){bf[nd]=!0,Vd.push(Fd(bf));return}Kd.iterator=0,delete mf.indexes[Xd]}let Zd=Kd.events;for(;Kd.eventIndex<Zd.length;){let Xd=Zd[Kd.eventIndex];if(Kd.eventIndex+=1,Xd===Id){mf.nodes&&mf.nodes.length&&(mf[nd]=!0,Kd.iterator=mf.getIterator());return}else if(this.listeners[Xd]){Kd.visitors=this.listeners[Xd];return}}Vd.pop()}walkSync(Vd){Vd[nd]=!0;let Kd=jd(Vd);for(let mf of Kd)if(mf===Id)Vd.nodes&&Vd.each(Wd=>{Wd[nd]||this.walkSync(Wd)});else{let Wd=this.listeners[mf];if(Wd&&this.visitSync(Wd,Vd.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"}};Hd.registerPostcss=Gd=>{Ld=Gd},qa.exports=Hd,Hd.default=Hd,md.registerLazyResult(Hd),dd.registerLazyResult(Hd)}),Lo$1=y$3((Ra,qa)=>{var nd=ws(),od=it$2();gs();var ld=pt$2(),ud=Xt$1(),cd=class{constructor(dd,pd,fd){pd=pd.toString(),this.stringified=!1,this._processor=dd,this._css=pd,this._opts=fd,this._map=void 0;let md,vd=od;this.result=new ud(this._processor,md,this._opts),this.result.css=pd;let Ad=this;Object.defineProperty(this.result,"root",{get(){return Ad.root}});let Nd=new nd(vd,md,this._opts,pd);if(Nd.isMap()){let[Id,kd]=Nd.generate();Id&&(this.result.css=Id),kd&&(this.result.map=kd)}else Nd.clearAnnotation(),this.result.css=Nd.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(dd){return this.async().catch(dd)}finally(dd){return this.async().then(dd,dd)}sync(){if(this.error)throw this.error;return this.result}then(dd,pd){return this.async().then(dd,pd)}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 dd,pd=ld;try{dd=pd(this._css,this._opts)}catch(fd){this.error=fd}if(this.error)throw this.error;return this._root=dd,dd}get[Symbol.toStringTag](){return"NoWorkResult"}};qa.exports=cd,cd.default=cd}),Mo$1=y$3((Ra,qa)=>{var nd=Lo$1(),od=_s(),ld=Jt$3(),ud=Ae$4(),cd=class{constructor(dd=[]){this.version="8.4.39",this.plugins=this.normalize(dd)}normalize(dd){let pd=[];for(let fd of dd)if(fd.postcss===!0?fd=fd():fd.postcss&&(fd=fd.postcss),typeof fd=="object"&&Array.isArray(fd.plugins))pd=pd.concat(fd.plugins);else if(typeof fd=="object"&&fd.postcssPlugin)pd.push(fd);else if(typeof fd=="function")pd.push(fd);else if(!(typeof fd=="object"&&(fd.parse||fd.stringify)))throw new Error(fd+" is not a PostCSS plugin");return pd}process(dd,pd={}){return!this.plugins.length&&!pd.parser&&!pd.stringifier&&!pd.syntax?new nd(this,dd,pd):new od(this,dd,pd)}use(dd){return this.plugins=this.plugins.concat(this.normalize([dd])),this}};qa.exports=cd,cd.default=cd,ud.registerProcessor(cd),ld.registerProcessor(cd)}),Uo$1=y$3((Ra,qa)=>{var nd=lt$2(),od=cs(),ld=Oe$3(),ud=Gt$2(),cd=Re$4(),dd=Ae$4(),pd=jt$1();function fd(md,vd){if(Array.isArray(md))return md.map(Id=>fd(Id));let{inputs:Ad,...Nd}=md;if(Ad){vd=[];for(let Id of Ad){let kd={...Id,__proto__:cd.prototype};kd.map&&(kd.map={...kd.map,__proto__:od.prototype}),vd.push(kd)}}if(Nd.nodes&&(Nd.nodes=md.nodes.map(Id=>fd(Id,vd))),Nd.source){let{inputId:Id,...kd}=Nd.source;Nd.source=kd,Id!=null&&(Nd.source.input=vd[Id])}if(Nd.type==="root")return new dd(Nd);if(Nd.type==="decl")return new nd(Nd);if(Nd.type==="rule")return new pd(Nd);if(Nd.type==="comment")return new ld(Nd);if(Nd.type==="atrule")return new ud(Nd);throw new Error("Unknown node type: "+md.type)}qa.exports=fd,fd.default=fd}),Zt$2=y$3((Ra,qa)=>{var nd=Ft$2(),od=lt$2(),ld=_s(),ud=re$3(),cd=Mo$1(),dd=it$2(),pd=Uo$1(),fd=Jt$3(),md=vs(),vd=Oe$3(),Ad=Gt$2(),Nd=Xt$1(),Id=Re$4(),kd=pt$2(),jd=us(),Fd=jt$1(),Md=Ae$4(),Ld=at$4();function Hd(...Gd){return Gd.length===1&&Array.isArray(Gd[0])&&(Gd=Gd[0]),new cd(Gd)}Hd.plugin=function(Gd,Vd){let Kd=!1;function mf(...Zd){console&&console.warn&&!Kd&&(Kd=!0,console.warn(Gd+`: postcss.plugin was deprecated. Migration guide:
|
||
https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let Xd=Vd(...Zd);return Xd.postcssPlugin=Gd,Xd.postcssVersion=new cd().version,Xd}let Wd;return Object.defineProperty(mf,"postcss",{get(){return Wd||(Wd=mf()),Wd}}),mf.process=function(Zd,Xd,bf){return Hd([mf(bf)]).process(Zd,Xd)},mf},Hd.stringify=dd,Hd.parse=kd,Hd.fromJSON=pd,Hd.list=jd,Hd.comment=Gd=>new vd(Gd),Hd.atRule=Gd=>new Ad(Gd),Hd.decl=Gd=>new od(Gd),Hd.rule=Gd=>new Fd(Gd),Hd.root=Gd=>new Md(Gd),Hd.document=Gd=>new fd(Gd),Hd.CssSyntaxError=nd,Hd.Declaration=od,Hd.Container=ud,Hd.Processor=cd,Hd.Document=fd,Hd.Comment=vd,Hd.Warning=md,Hd.AtRule=Ad,Hd.Result=Nd,Hd.Input=Id,Hd.Rule=Fd,Hd.Root=Md,Hd.Node=Ld,ld.registerPostcss(Hd),qa.exports=Hd,Hd.default=Hd}),Ho$1=y$3((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$3((Ra,qa)=>{var nd=/[\t\n\f\r "#'()/;[\\\]{}]/g,od=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,ld=/.[\r\n"'(/\\]/,ud=/[\da-f]/i,cd=/[\n\f\r]/g;qa.exports=function(dd,pd={}){let fd=dd.css.valueOf(),md=pd.ignoreErrors,vd,Ad,Nd,Id,kd,jd,Fd,Md,Ld,Hd=fd.length,Gd=0,Vd=[],Kd=[],mf;function Wd(){return Gd}function Zd(gf){throw dd.error("Unclosed "+gf,Gd)}function Xd(){return Kd.length===0&&Gd>=Hd}function bf(){let gf=1,xf=!1,Af=!1;for(;gf>0;)Ad+=1,fd.length<=Ad&&Zd("interpolation"),vd=fd.charCodeAt(Ad),Md=fd.charCodeAt(Ad+1),xf?!Af&&vd===xf?(xf=!1,Af=!1):vd===92?Af=!Af:Af&&(Af=!1):vd===39||vd===34?xf=vd:vd===125?gf-=1:vd===35&&Md===123&&(gf+=1)}function yf(gf){if(Kd.length)return Kd.pop();if(Gd>=Hd)return;let xf=gf?gf.ignoreUnclosed:!1;switch(vd=fd.charCodeAt(Gd),vd){case 10:case 32:case 9:case 13:case 12:{Ad=Gd;do Ad+=1,vd=fd.charCodeAt(Ad);while(vd===32||vd===10||vd===9||vd===13||vd===12);Ld=["space",fd.slice(Gd,Ad)],Gd=Ad-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let Af=String.fromCharCode(vd);Ld=[Af,Af,Gd];break}case 44:{Ld=["word",",",Gd,Gd+1];break}case 40:{if(Fd=Vd.length?Vd.pop()[1]:"",Md=fd.charCodeAt(Gd+1),Fd==="url"&&Md!==39&&Md!==34){for(mf=1,jd=!1,Ad=Gd+1;Ad<=fd.length-1;){if(Md=fd.charCodeAt(Ad),Md===92)jd=!jd;else if(Md===40)mf+=1;else if(Md===41&&(mf-=1,mf===0))break;Ad+=1}Id=fd.slice(Gd,Ad+1),Ld=["brackets",Id,Gd,Ad],Gd=Ad}else Ad=fd.indexOf(")",Gd+1),Id=fd.slice(Gd,Ad+1),Ad===-1||ld.test(Id)?Ld=["(","(",Gd]:(Ld=["brackets",Id,Gd,Ad],Gd=Ad);break}case 39:case 34:{for(Nd=vd,Ad=Gd,jd=!1;Ad<Hd&&(Ad++,Ad===Hd&&Zd("string"),vd=fd.charCodeAt(Ad),Md=fd.charCodeAt(Ad+1),!(!jd&&vd===Nd));)vd===92?jd=!jd:jd?jd=!1:vd===35&&Md===123&&bf();Ld=["string",fd.slice(Gd,Ad+1),Gd,Ad],Gd=Ad;break}case 64:{nd.lastIndex=Gd+1,nd.test(fd),nd.lastIndex===0?Ad=fd.length-1:Ad=nd.lastIndex-2,Ld=["at-word",fd.slice(Gd,Ad+1),Gd,Ad],Gd=Ad;break}case 92:{for(Ad=Gd,kd=!0;fd.charCodeAt(Ad+1)===92;)Ad+=1,kd=!kd;if(vd=fd.charCodeAt(Ad+1),kd&&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)}Ld=["word",fd.slice(Gd,Ad+1),Gd,Ad],Gd=Ad;break}default:Md=fd.charCodeAt(Gd+1),vd===35&&Md===123?(Ad=Gd,bf(),Id=fd.slice(Gd,Ad+1),Ld=["word",Id,Gd,Ad],Gd=Ad):vd===47&&Md===42?(Ad=fd.indexOf("*/",Gd+2)+1,Ad===0&&(md||xf?Ad=fd.length:Zd("comment")),Ld=["comment",fd.slice(Gd,Ad+1),Gd,Ad],Gd=Ad):vd===47&&Md===47?(cd.lastIndex=Gd+1,cd.test(fd),cd.lastIndex===0?Ad=fd.length-1:Ad=cd.lastIndex-2,Id=fd.slice(Gd,Ad+1),Ld=["comment",Id,Gd,Ad,"inline"],Gd=Ad):(od.lastIndex=Gd+1,od.test(fd),od.lastIndex===0?Ad=fd.length-1:Ad=od.lastIndex-2,Ld=["word",fd.slice(Gd,Ad+1),Gd,Ad],Vd.push(Ld),Gd=Ad);break}return Gd++,Ld}function Ef(gf){Kd.push(gf)}return{back:Ef,endOfFile:Xd,nextToken:yf,position:Wd}}}),Zo$1=y$3((Ra,qa)=>{var{Comment:nd}=Zt$2(),od=Ht$2(),ld=Ho$1(),ud=Jo$1(),cd=class extends od{atrule(dd){let pd=dd[1],fd=dd;for(;!this.tokenizer.endOfFile();){let md=this.tokenizer.nextToken();if(md[0]==="word"&&md[2]===fd[3]+1)pd+=md[1],fd=md;else{this.tokenizer.back(md);break}}super.atrule(["at-word",pd,dd[2],fd[3]])}comment(dd){if(dd[4]==="inline"){let pd=new nd;this.init(pd,dd[2]),pd.raws.inline=!0;let fd=this.input.fromOffset(dd[3]);pd.source.end={column:fd.col,line:fd.line,offset:dd[3]+1};let md=dd[1].slice(2);if(/^\s*$/.test(md))pd.text="",pd.raws.left=md,pd.raws.right="";else{let vd=md.match(/^(\s*)([^]*\S)(\s*)$/),Ad=vd[2].replace(/(\*\/|\/\*)/g,"*//*");pd.text=Ad,pd.raws.left=vd[1],pd.raws.right=vd[3],pd.raws.text=vd[2]}}else super.comment(dd)}createTokenizer(){this.tokenizer=ud(this.input)}raw(dd,pd,fd,md){if(super.raw(dd,pd,fd,md),dd.raws[pd]){let vd=dd.raws[pd].raw;dd.raws[pd].raw=fd.reduce((Ad,Nd)=>{if(Nd[0]==="comment"&&Nd[4]==="inline"){let Id=Nd[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return Ad+"/*"+Id+"*/"}else return Ad+Nd[1]},""),vd!==dd.raws[pd].raw&&(dd.raws[pd].scss=vd)}}rule(dd){let pd=!1,fd=0,md="";for(let vd of dd)if(pd)vd[0]!=="comment"&&vd[0]!=="{"&&(md+=vd[1]);else{if(vd[0]==="space"&&vd[1].includes(`
|
||
`))break;vd[0]==="("?fd+=1:vd[0]===")"?fd-=1:fd===0&&vd[0]===":"&&(pd=!0)}if(!pd||md.trim()===""||/^[#:A-Za-z-]/.test(md))super.rule(dd);else{dd.pop();let vd=new ld;this.init(vd,dd[0][2]);let Ad;for(let Id=dd.length-1;Id>=0;Id--)if(dd[Id][0]!=="space"){Ad=dd[Id];break}if(Ad[3]){let Id=this.input.fromOffset(Ad[3]);vd.source.end={column:Id.col,line:Id.line,offset:Ad[3]+1}}else{let Id=this.input.fromOffset(Ad[2]);vd.source.end={column:Id.col,line:Id.line,offset:Ad[2]+1}}for(;dd[0][0]!=="word";)vd.raws.before+=dd.shift()[1];if(dd[0][2]){let Id=this.input.fromOffset(dd[0][2]);vd.source.start={column:Id.col,line:Id.line,offset:dd[0][2]}}for(vd.prop="";dd.length;){let Id=dd[0][0];if(Id===":"||Id==="space"||Id==="comment")break;vd.prop+=dd.shift()[1]}vd.raws.between="";let Nd;for(;dd.length;)if(Nd=dd.shift(),Nd[0]===":"){vd.raws.between+=Nd[1];break}else vd.raws.between+=Nd[1];(vd.prop[0]==="_"||vd.prop[0]==="*")&&(vd.raws.before+=vd.prop[0],vd.prop=vd.prop.slice(1)),vd.raws.between+=this.spacesAndCommentsFromStart(dd),this.precheckMissedSemicolon(dd);for(let Id=dd.length-1;Id>0;Id--){if(Nd=dd[Id],Nd[1]==="!important"){vd.important=!0;let kd=this.stringFrom(dd,Id);kd=this.spacesFromEnd(dd)+kd,kd!==" !important"&&(vd.raws.important=kd);break}else if(Nd[1]==="important"){let kd=dd.slice(0),jd="";for(let Fd=Id;Fd>0;Fd--){let Md=kd[Fd][0];if(jd.trim().indexOf("!")===0&&Md!=="space")break;jd=kd.pop()[1]+jd}jd.trim().indexOf("!")===0&&(vd.important=!0,vd.raws.important=jd,dd=kd)}if(Nd[0]!=="space"&&Nd[0]!=="comment")break}this.raw(vd,"value",dd),vd.value.includes(":")&&this.checkMissedSemicolon(dd),this.current=vd}}};qa.exports=cd}),ta=y$3((Ra,qa)=>{var{Input:nd}=Zt$2(),od=Zo$1();qa.exports=function(ld,ud){let cd=new nd(ld,ud),dd=new od(cd);return dd.parse(),dd.root}}),Os=y$3(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$3(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 cd=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(dd){dd.parent=cd})}ld.prototype=Object.create(nd.default.prototype),ld.constructor=nd.default,ld.prototype.walk=function(ud,cd){for(var dd=typeof ud=="string"||ud instanceof RegExp,pd=dd?cd:ud,fd=typeof ud=="string"?new RegExp(ud):ud,md=0;md<this.nodes.length;md++){var vd=this.nodes[md],Ad=dd?fd.test(vd.type):!0;if(Ad&&pd&&pd(vd,md,this.nodes)===!1||vd.nodes&&vd.walk(ud,cd)===!1)return!1}return!0},ld.prototype.each=function(){for(var ud=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],cd=0;cd<this.nodes.length;cd++){var dd=this.nodes[cd];if(ud(dd,cd,this.nodes)===!1)return!1}return!0},Ra.default=ld}),aa=y$3(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.parseMediaFeature=cd,Ra.parseMediaQuery=dd,Ra.parseMediaList=pd;var qa=Os(),nd=ud(qa),od=As(),ld=ud(od);function ud(fd){return fd&&fd.__esModule?fd:{default:fd}}function cd(fd){var md=arguments.length<=1||arguments[1]===void 0?0:arguments[1],vd=[{mode:"normal",character:null}],Ad=[],Nd=0,Id="",kd=null,jd=null,Fd=md,Md=fd;fd[0]==="("&&fd[fd.length-1]===")"&&(Md=fd.substring(1,fd.length-1),Fd++);for(var Ld=0;Ld<Md.length;Ld++){var Hd=Md[Ld];if((Hd==="'"||Hd==='"')&&(vd[Nd].isCalculationEnabled===!0?(vd.push({mode:"string",isCalculationEnabled:!1,character:Hd}),Nd++):vd[Nd].mode==="string"&&vd[Nd].character===Hd&&Md[Ld-1]!=="\\"&&(vd.pop(),Nd--)),Hd==="{"?(vd.push({mode:"interpolation",isCalculationEnabled:!0}),Nd++):Hd==="}"&&(vd.pop(),Nd--),vd[Nd].mode==="normal"&&Hd===":"){var Gd=Md.substring(Ld+1);jd={type:"value",before:/^(\s*)/.exec(Gd)[1],after:/(\s*)$/.exec(Gd)[1],value:Gd.trim()},jd.sourceIndex=jd.before.length+Ld+1+Fd,kd={type:"colon",sourceIndex:Ld+Fd,after:jd.before,value:":"};break}Id+=Hd}return Id={type:"media-feature",before:/^(\s*)/.exec(Id)[1],after:/(\s*)$/.exec(Id)[1],value:Id.trim()},Id.sourceIndex=Id.before.length+Fd,Ad.push(Id),kd!==null&&(kd.before=Id.after,Ad.push(kd)),jd!==null&&Ad.push(jd),Ad}function dd(fd){var md=arguments.length<=1||arguments[1]===void 0?0:arguments[1],vd=[],Ad=0,Nd=!1,Id=void 0;function kd(){return{before:"",after:"",value:""}}Id=kd();for(var jd=0;jd<fd.length;jd++){var Fd=fd[jd];Nd?(Id.value+=Fd,(Fd==="{"||Fd==="(")&&Ad++,(Fd===")"||Fd==="}")&&Ad--):Fd.search(/\s/)!==-1?Id.before+=Fd:(Fd==="("&&(Id.type="media-feature-expression",Ad++),Id.value=Fd,Id.sourceIndex=md+jd,Nd=!0),Nd&&Ad===0&&(Fd===")"||jd===fd.length-1||fd[jd+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(Id.value)!==-1&&(Id.type="keyword"),Id.type==="media-feature-expression"&&(Id.nodes=cd(Id.value,Id.sourceIndex)),vd.push(Array.isArray(Id.nodes)?new ld.default(Id):new nd.default(Id)),Id=kd(),Nd=!1)}for(var Md=0;Md<vd.length;Md++)if(Id=vd[Md],Md>0&&(vd[Md-1].after=Id.before),Id.type===void 0){if(Md>0){if(vd[Md-1].type==="media-feature-expression"){Id.type="keyword";continue}if(vd[Md-1].value==="not"||vd[Md-1].value==="only"){Id.type="media-type";continue}if(vd[Md-1].value==="and"){Id.type="media-feature-expression";continue}vd[Md-1].type==="media-type"&&(vd[Md+1]?Id.type=vd[Md+1].type==="media-feature-expression"?"keyword":"media-feature-expression":Id.type="media-feature-expression")}if(Md===0){if(!vd[Md+1]){Id.type="media-type";continue}if(vd[Md+1]&&(vd[Md+1].type==="media-feature-expression"||vd[Md+1].type==="keyword")){Id.type="media-type";continue}if(vd[Md+2]){if(vd[Md+2].type==="media-feature-expression"){Id.type="media-type",vd[Md+1].type="keyword";continue}if(vd[Md+2].type==="keyword"){Id.type="keyword",vd[Md+1].type="media-type";continue}}if(vd[Md+3]&&vd[Md+3].type==="media-feature-expression"){Id.type="keyword",vd[Md+1].type="media-type",vd[Md+2].type="keyword";continue}}}return vd}function pd(fd){var md=[],vd=0,Ad=0,Nd=/^(\s*)url\s*\(/.exec(fd);if(Nd!==null){for(var Id=Nd[0].length,kd=1;kd>0;){var jd=fd[Id];jd==="("&&kd++,jd===")"&&kd--,Id++}md.unshift(new nd.default({type:"url",value:fd.substring(0,Id).trim(),sourceIndex:Nd[1].length,before:Nd[1],after:/^(\s*)/.exec(fd.substring(Id))[1]})),vd=Id}for(var Fd=vd;Fd<fd.length;Fd++){var Md=fd[Fd];if(Md==="("&&Ad++,Md===")"&&Ad--,Ad===0&&Md===","){var Ld=fd.substring(vd,Fd),Hd=/^(\s*)/.exec(Ld)[1];md.push(new ld.default({type:"media-query",value:Ld.trim(),sourceIndex:vd+Hd.length,nodes:dd(Ld,vd),before:Hd,after:/(\s*)$/.exec(Ld)[1]})),vd=Fd+1}}var Gd=fd.substring(vd),Vd=/^(\s*)/.exec(Gd)[1];return md.push(new ld.default({type:"media-query",value:Gd.trim(),sourceIndex:vd+Vd.length,nodes:dd(Gd,vd),before:Vd,after:/(\s*)$/.exec(Gd)[1]})),md}}),ua=y$3(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.default=ud;var qa=As(),nd=ld(qa),od=aa();function ld(cd){return cd&&cd.__esModule?cd:{default:cd}}function ud(cd){return new nd.default({nodes:(0,od.parseMediaList)(cd),type:"media-query-list",value:cd.trim()})}}),qs=y$3((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,cd){return ud.reduce(function(dd,pd){return Array.isArray(pd)&&cd<od?dd.concat(ld(pd,cd+1)):dd.concat(pd)},[])}}}),Ls=y$3((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$3((Ra,qa)=>{function nd(ud,cd){for(var dd=1,pd=ud.length,fd=ud[0],md=ud[0],vd=1;vd<pd;++vd)if(md=fd,fd=ud[vd],cd(fd,md)){if(vd===dd){dd++;continue}ud[dd++]=fd}return ud.length=dd,ud}function od(ud){for(var cd=1,dd=ud.length,pd=ud[0],fd=ud[0],md=1;md<dd;++md,fd=pd)if(fd=pd,pd=ud[md],pd!==fd){if(md===cd){cd++;continue}ud[cd++]=pd}return ud.length=cd,ud}function ld(ud,cd,dd){return ud.length===0?ud:cd?(dd||ud.sort(cd),nd(ud,cd)):(dd||ud.sort(),od(ud))}qa.exports=ld}),de$3=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(cd){return typeof cd}:function(cd){return cd&&typeof Symbol=="function"&&cd.constructor===Symbol&&cd!==Symbol.prototype?"symbol":typeof cd};function od(cd,dd){if(!(cd instanceof dd))throw new TypeError("Cannot call a class as a function")}var ld=function cd(dd,pd){if((typeof dd>"u"?"undefined":nd(dd))!=="object")return dd;var fd=new dd.constructor;for(var md in dd)if(dd.hasOwnProperty(md)){var vd=dd[md],Ad=typeof vd>"u"?"undefined":nd(vd);md==="parent"&&Ad==="object"?pd&&(fd[md]=pd):vd instanceof Array?fd[md]=vd.map(function(Nd){return cd(Nd,fd)}):fd[md]=cd(vd,fd)}return fd},ud=function(){function cd(){var dd=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};od(this,cd);for(var pd in dd)this[pd]=dd[pd];var fd=dd.spaces;fd=fd===void 0?{}:fd;var md=fd.before,vd=md===void 0?"":md,Ad=fd.after,Nd=Ad===void 0?"":Ad;this.spaces={before:vd,after:Nd}}return cd.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},cd.prototype.replaceWith=function(){if(this.parent){for(var dd in arguments)this.parent.insertBefore(this,arguments[dd]);this.remove()}return this},cd.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},cd.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},cd.prototype.clone=function(){var dd=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pd=ld(this);for(var fd in dd)pd[fd]=dd[fd];return pd},cd.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},cd}();Ra.default=ud,qa.exports=Ra.default}),D$2=y$3(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$3((Ra,qa)=>{Ra.__esModule=!0;var nd=function(){function Nd(Id,kd){for(var jd=0;jd<kd.length;jd++){var Fd=kd[jd];Fd.enumerable=Fd.enumerable||!1,Fd.configurable=!0,"value"in Fd&&(Fd.writable=!0),Object.defineProperty(Id,Fd.key,Fd)}}return function(Id,kd,jd){return kd&&Nd(Id.prototype,kd),jd&&Nd(Id,jd),Id}}(),od=de$3(),ld=pd(od),ud=D$2(),cd=dd(ud);function dd(Nd){if(Nd&&Nd.__esModule)return Nd;var Id={};if(Nd!=null)for(var kd in Nd)Object.prototype.hasOwnProperty.call(Nd,kd)&&(Id[kd]=Nd[kd]);return Id.default=Nd,Id}function pd(Nd){return Nd&&Nd.__esModule?Nd:{default:Nd}}function fd(Nd,Id){if(!(Nd instanceof Id))throw new TypeError("Cannot call a class as a function")}function md(Nd,Id){if(!Nd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Id&&(typeof Id=="object"||typeof Id=="function")?Id:Nd}function vd(Nd,Id){if(typeof Id!="function"&&Id!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Id);Nd.prototype=Object.create(Id&&Id.prototype,{constructor:{value:Nd,enumerable:!1,writable:!0,configurable:!0}}),Id&&(Object.setPrototypeOf?Object.setPrototypeOf(Nd,Id):Nd.__proto__=Id)}var Ad=function(Nd){vd(Id,Nd);function Id(kd){fd(this,Id);var jd=md(this,Nd.call(this,kd));return jd.nodes||(jd.nodes=[]),jd}return Id.prototype.append=function(kd){return kd.parent=this,this.nodes.push(kd),this},Id.prototype.prepend=function(kd){return kd.parent=this,this.nodes.unshift(kd),this},Id.prototype.at=function(kd){return this.nodes[kd]},Id.prototype.index=function(kd){return typeof kd=="number"?kd:this.nodes.indexOf(kd)},Id.prototype.removeChild=function(kd){kd=this.index(kd),this.at(kd).parent=void 0,this.nodes.splice(kd,1);var jd=void 0;for(var Fd in this.indexes)jd=this.indexes[Fd],jd>=kd&&(this.indexes[Fd]=jd-1);return this},Id.prototype.removeAll=function(){for(var Fd=this.nodes,kd=Array.isArray(Fd),jd=0,Fd=kd?Fd:Fd[Symbol.iterator]();;){var Md;if(kd){if(jd>=Fd.length)break;Md=Fd[jd++]}else{if(jd=Fd.next(),jd.done)break;Md=jd.value}var Ld=Md;Ld.parent=void 0}return this.nodes=[],this},Id.prototype.empty=function(){return this.removeAll()},Id.prototype.insertAfter=function(kd,jd){var Fd=this.index(kd);this.nodes.splice(Fd+1,0,jd);var Md=void 0;for(var Ld in this.indexes)Md=this.indexes[Ld],Fd<=Md&&(this.indexes[Ld]=Md+this.nodes.length);return this},Id.prototype.insertBefore=function(kd,jd){var Fd=this.index(kd);this.nodes.splice(Fd,0,jd);var Md=void 0;for(var Ld in this.indexes)Md=this.indexes[Ld],Fd<=Md&&(this.indexes[Ld]=Md+this.nodes.length);return this},Id.prototype.each=function(kd){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var jd=this.lastEach;if(this.indexes[jd]=0,!!this.length){for(var Fd=void 0,Md=void 0;this.indexes[jd]<this.length&&(Fd=this.indexes[jd],Md=kd(this.at(Fd),Fd),Md!==!1);)this.indexes[jd]+=1;if(delete this.indexes[jd],Md===!1)return!1}},Id.prototype.walk=function(kd){return this.each(function(jd,Fd){var Md=kd(jd,Fd);if(Md!==!1&&jd.length&&(Md=jd.walk(kd)),Md===!1)return!1})},Id.prototype.walkAttributes=function(kd){var jd=this;return this.walk(function(Fd){if(Fd.type===cd.ATTRIBUTE)return kd.call(jd,Fd)})},Id.prototype.walkClasses=function(kd){var jd=this;return this.walk(function(Fd){if(Fd.type===cd.CLASS)return kd.call(jd,Fd)})},Id.prototype.walkCombinators=function(kd){var jd=this;return this.walk(function(Fd){if(Fd.type===cd.COMBINATOR)return kd.call(jd,Fd)})},Id.prototype.walkComments=function(kd){var jd=this;return this.walk(function(Fd){if(Fd.type===cd.COMMENT)return kd.call(jd,Fd)})},Id.prototype.walkIds=function(kd){var jd=this;return this.walk(function(Fd){if(Fd.type===cd.ID)return kd.call(jd,Fd)})},Id.prototype.walkNesting=function(kd){var jd=this;return this.walk(function(Fd){if(Fd.type===cd.NESTING)return kd.call(jd,Fd)})},Id.prototype.walkPseudos=function(kd){var jd=this;return this.walk(function(Fd){if(Fd.type===cd.PSEUDO)return kd.call(jd,Fd)})},Id.prototype.walkTags=function(kd){var jd=this;return this.walk(function(Fd){if(Fd.type===cd.TAG)return kd.call(jd,Fd)})},Id.prototype.walkUniversals=function(kd){var jd=this;return this.walk(function(Fd){if(Fd.type===cd.UNIVERSAL)return kd.call(jd,Fd)})},Id.prototype.split=function(kd){var jd=this,Fd=[];return this.reduce(function(Md,Ld,Hd){var Gd=kd.call(jd,Ld);return Fd.push(Ld),Gd?(Md.push(Fd),Fd=[]):Hd===jd.length-1&&Md.push(Fd),Md},[])},Id.prototype.map=function(kd){return this.nodes.map(kd)},Id.prototype.reduce=function(kd,jd){return this.nodes.reduce(kd,jd)},Id.prototype.every=function(kd){return this.nodes.every(kd)},Id.prototype.some=function(kd){return this.nodes.some(kd)},Id.prototype.filter=function(kd){return this.nodes.filter(kd)},Id.prototype.sort=function(kd){return this.nodes.sort(kd)},Id.prototype.toString=function(){return this.map(String).join("")},nd(Id,[{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}}]),Id}(ld.default);Ra.default=Ad,qa.exports=Ra.default}),ga=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=ir$1(),od=ud(nd),ld=D$2();function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(Ad){cd(this,vd);var Nd=dd(this,md.call(this,Ad));return Nd.type=ld.ROOT,Nd}return vd.prototype.toString=function(){var Ad=this.reduce(function(Nd,Id){var kd=String(Id);return kd?Nd+kd+",":""},"").slice(0,-1);return this.trailingComma?Ad+",":Ad},vd}(od.default);Ra.default=fd,qa.exports=Ra.default}),xa=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=ir$1(),od=ud(nd),ld=D$2();function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(Ad){cd(this,vd);var Nd=dd(this,md.call(this,Ad));return Nd.type=ld.SELECTOR,Nd}return vd}(od.default);Ra.default=fd,qa.exports=Ra.default}),qe$1=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=function(){function md(vd,Ad){for(var Nd=0;Nd<Ad.length;Nd++){var Id=Ad[Nd];Id.enumerable=Id.enumerable||!1,Id.configurable=!0,"value"in Id&&(Id.writable=!0),Object.defineProperty(vd,Id.key,Id)}}return function(vd,Ad,Nd){return Ad&&md(vd.prototype,Ad),Nd&&md(vd,Nd),vd}}(),od=de$3(),ld=ud(od);function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(){return cd(this,vd),dd(this,md.apply(this,arguments))}return vd.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},nd(vd,[{key:"ns",get:function(){var Ad=this.namespace;return Ad?(typeof Ad=="string"?Ad:"")+"|":""}}]),vd}(ld.default);Ra.default=fd,qa.exports=Ra.default}),ka=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$2();function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(Ad){cd(this,vd);var Nd=dd(this,md.call(this,Ad));return Nd.type=ld.CLASS,Nd}return vd.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},vd}(od.default);Ra.default=fd,qa.exports=Ra.default}),Sa=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=de$3(),od=ud(nd),ld=D$2();function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(Ad){cd(this,vd);var Nd=dd(this,md.call(this,Ad));return Nd.type=ld.COMMENT,Nd}return vd}(od.default);Ra.default=fd,qa.exports=Ra.default}),Oa=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$2();function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(Ad){cd(this,vd);var Nd=dd(this,md.call(this,Ad));return Nd.type=ld.ID,Nd}return vd.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},vd}(od.default);Ra.default=fd,qa.exports=Ra.default}),Aa=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$2();function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(Ad){cd(this,vd);var Nd=dd(this,md.call(this,Ad));return Nd.type=ld.TAG,Nd}return vd}(od.default);Ra.default=fd,qa.exports=Ra.default}),Pa=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=de$3(),od=ud(nd),ld=D$2();function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(Ad){cd(this,vd);var Nd=dd(this,md.call(this,Ad));return Nd.type=ld.STRING,Nd}return vd}(od.default);Ra.default=fd,qa.exports=Ra.default}),Ia=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=ir$1(),od=ud(nd),ld=D$2();function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(Ad){cd(this,vd);var Nd=dd(this,md.call(this,Ad));return Nd.type=ld.PSEUDO,Nd}return vd.prototype.toString=function(){var Ad=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),Ad,this.spaces.after].join("")},vd}(od.default);Ra.default=fd,qa.exports=Ra.default}),La=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$2();function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(Ad){cd(this,vd);var Nd=dd(this,md.call(this,Ad));return Nd.type=ld.ATTRIBUTE,Nd.raws={},Nd}return vd.prototype.toString=function(){var Ad=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&Ad.push(this.operator),this.value&&Ad.push(this.value),this.raws.insensitive?Ad.push(this.raws.insensitive):this.insensitive&&Ad.push(" i"),Ad.push("]"),Ad.concat(this.spaces.after).join("")},vd}(od.default);Ra.default=fd,qa.exports=Ra.default}),Ma=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$2();function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(Ad){cd(this,vd);var Nd=dd(this,md.call(this,Ad));return Nd.type=ld.UNIVERSAL,Nd.value="*",Nd}return vd}(od.default);Ra.default=fd,qa.exports=Ra.default}),Ua=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=de$3(),od=ud(nd),ld=D$2();function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(Ad){cd(this,vd);var Nd=dd(this,md.call(this,Ad));return Nd.type=ld.COMBINATOR,Nd}return vd}(od.default);Ra.default=fd,qa.exports=Ra.default}),$a=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=de$3(),od=ud(nd),ld=D$2();function ud(md){return md&&md.__esModule?md:{default:md}}function cd(md,vd){if(!(md instanceof vd))throw new TypeError("Cannot call a class as a function")}function dd(md,vd){if(!md)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return vd&&(typeof vd=="object"||typeof vd=="function")?vd:md}function pd(md,vd){if(typeof vd!="function"&&vd!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof vd);md.prototype=Object.create(vd&&vd.prototype,{constructor:{value:md,enumerable:!1,writable:!0,configurable:!0}}),vd&&(Object.setPrototypeOf?Object.setPrototypeOf(md,vd):md.__proto__=vd)}var fd=function(md){pd(vd,md);function vd(Ad){cd(this,vd);var Nd=dd(this,md.call(this,Ad));return Nd.type=ld.NESTING,Nd.value="&",Nd}return vd}(od.default);Ra.default=fd,qa.exports=Ra.default}),Ya=y$3((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$3((Ra,qa)=>{Ra.__esModule=!0,Ra.default=Xd;var nd=39,od=34,ld=92,ud=47,cd=10,dd=32,pd=12,fd=9,md=13,vd=43,Ad=62,Nd=126,Id=124,kd=44,jd=40,Fd=41,Md=91,Ld=93,Hd=59,Gd=42,Vd=58,Kd=38,mf=64,Wd=/[ \n\t\r\{\(\)'"\\;/]/g,Zd=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function Xd(bf){for(var yf=[],Ef=bf.css.valueOf(),gf=void 0,xf=void 0,Af=void 0,Lf=void 0,Xf=void 0,Jf=void 0,Zf=void 0,Bf=void 0,Df=void 0,Uf=void 0,Gf=void 0,zf=Ef.length,Tf=-1,vf=1,qf=0,eh=function(ch,ih){if(bf.safe)Ef+=ih,xf=Ef.length-1;else throw bf.error("Unclosed "+ch,vf,qf-Tf,qf)};qf<zf;){switch(gf=Ef.charCodeAt(qf),gf===cd&&(Tf=qf,vf+=1),gf){case cd:case dd:case fd:case md:case pd:xf=qf;do xf+=1,gf=Ef.charCodeAt(xf),gf===cd&&(Tf=xf,vf+=1);while(gf===dd||gf===cd||gf===fd||gf===md||gf===pd);yf.push(["space",Ef.slice(qf,xf),vf,qf-Tf,qf]),qf=xf-1;break;case vd:case Ad:case Nd:case Id:xf=qf;do xf+=1,gf=Ef.charCodeAt(xf);while(gf===vd||gf===Ad||gf===Nd||gf===Id);yf.push(["combinator",Ef.slice(qf,xf),vf,qf-Tf,qf]),qf=xf-1;break;case Gd:yf.push(["*","*",vf,qf-Tf,qf]);break;case Kd:yf.push(["&","&",vf,qf-Tf,qf]);break;case kd:yf.push([",",",",vf,qf-Tf,qf]);break;case Md:yf.push(["[","[",vf,qf-Tf,qf]);break;case Ld:yf.push(["]","]",vf,qf-Tf,qf]);break;case Vd:yf.push([":",":",vf,qf-Tf,qf]);break;case Hd:yf.push([";",";",vf,qf-Tf,qf]);break;case jd:yf.push(["(","(",vf,qf-Tf,qf]);break;case Fd:yf.push([")",")",vf,qf-Tf,qf]);break;case nd:case od:Af=gf===nd?"'":'"',xf=qf;do for(Uf=!1,xf=Ef.indexOf(Af,xf+1),xf===-1&&eh("quote",Af),Gf=xf;Ef.charCodeAt(Gf-1)===ld;)Gf-=1,Uf=!Uf;while(Uf);yf.push(["string",Ef.slice(qf,xf+1),vf,qf-Tf,vf,xf-Tf,qf]),qf=xf;break;case mf:Wd.lastIndex=qf+1,Wd.test(Ef),Wd.lastIndex===0?xf=Ef.length-1:xf=Wd.lastIndex-2,yf.push(["at-word",Ef.slice(qf,xf+1),vf,qf-Tf,vf,xf-Tf,qf]),qf=xf;break;case ld:for(xf=qf,Zf=!0;Ef.charCodeAt(xf+1)===ld;)xf+=1,Zf=!Zf;gf=Ef.charCodeAt(xf+1),Zf&&gf!==ud&&gf!==dd&&gf!==cd&&gf!==fd&&gf!==md&&gf!==pd&&(xf+=1),yf.push(["word",Ef.slice(qf,xf+1),vf,qf-Tf,vf,xf-Tf,qf]),qf=xf;break;default:gf===ud&&Ef.charCodeAt(qf+1)===Gd?(xf=Ef.indexOf("*/",qf+2)+1,xf===0&&eh("comment","*/"),Jf=Ef.slice(qf,xf+1),Lf=Jf.split(`
|
||
`),Xf=Lf.length-1,Xf>0?(Bf=vf+Xf,Df=xf-Lf[Xf].length):(Bf=vf,Df=Tf),yf.push(["comment",Jf,vf,qf-Tf,Bf,xf-Df,qf]),Tf=Df,vf=Bf,qf=xf):(Zd.lastIndex=qf+1,Zd.test(Ef),Zd.lastIndex===0?xf=Ef.length-1:xf=Zd.lastIndex-2,yf.push(["word",Ef.slice(qf,xf+1),vf,qf-Tf,vf,xf-Tf,qf]),qf=xf);break}qf++}return yf}qa.exports=Ra.default}),tu$1=y$3((Ra,qa)=>{Ra.__esModule=!0;var nd=function(){function Tf(vf,qf){for(var eh=0;eh<qf.length;eh++){var ch=qf[eh];ch.enumerable=ch.enumerable||!1,ch.configurable=!0,"value"in ch&&(ch.writable=!0),Object.defineProperty(vf,ch.key,ch)}}return function(vf,qf,eh){return qf&&Tf(vf.prototype,qf),eh&&Tf(vf,eh),vf}}(),od=qs(),ld=Uf(od),ud=Ls(),cd=Uf(ud),dd=Ds(),pd=Uf(dd),fd=ga(),md=Uf(fd),vd=xa(),Ad=Uf(vd),Nd=ka(),Id=Uf(Nd),kd=Sa(),jd=Uf(kd),Fd=Oa(),Md=Uf(Fd),Ld=Aa(),Hd=Uf(Ld),Gd=Pa(),Vd=Uf(Gd),Kd=Ia(),mf=Uf(Kd),Wd=La(),Zd=Uf(Wd),Xd=Ma(),bf=Uf(Xd),yf=Ua(),Ef=Uf(yf),gf=$a(),xf=Uf(gf),Af=Ya(),Lf=Uf(Af),Xf=Xa(),Jf=Uf(Xf),Zf=D$2(),Bf=Df(Zf);function Df(Tf){if(Tf&&Tf.__esModule)return Tf;var vf={};if(Tf!=null)for(var qf in Tf)Object.prototype.hasOwnProperty.call(Tf,qf)&&(vf[qf]=Tf[qf]);return vf.default=Tf,vf}function Uf(Tf){return Tf&&Tf.__esModule?Tf:{default:Tf}}function Gf(Tf,vf){if(!(Tf instanceof vf))throw new TypeError("Cannot call a class as a function")}var zf=function(){function Tf(vf){Gf(this,Tf),this.input=vf,this.lossy=vf.options.lossless===!1,this.position=0,this.root=new md.default;var qf=new Ad.default;return this.root.append(qf),this.current=qf,this.lossy?this.tokens=(0,Jf.default)({safe:vf.safe,css:vf.css.trim()}):this.tokens=(0,Jf.default)(vf),this.loop()}return Tf.prototype.attribute=function(){var vf="",qf=void 0,eh=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)vf+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~vf.indexOf("]")&&this.error("Expected a closing square bracket.");var ch=vf.split(/((?:[*~^$|]?=))([^]*)/),ih=ch[0].split(/(\|)/g),Pf={operator:ch[1],value:ch[2],source:{start:{line:eh[2],column:eh[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:eh[4]};if(ih.length>1?(ih[0]===""&&(ih[0]=!0),Pf.attribute=this.parseValue(ih[2]),Pf.namespace=this.parseNamespace(ih[0])):Pf.attribute=this.parseValue(ch[0]),qf=new Zd.default(Pf),ch[2]){var uh=ch[2].split(/(\s+i\s*?)$/),xh=uh[0].trim();qf.value=this.lossy?xh:uh[0],uh[1]&&(qf.insensitive=!0,this.lossy||(qf.raws.insensitive=uh[1])),qf.quoted=xh[0]==="'"||xh[0]==='"',qf.raws.unquoted=qf.quoted?xh.slice(1,-1):xh}this.newNode(qf),this.position++},Tf.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var vf=new Ef.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"?(vf.spaces.before=this.parseSpace(this.currToken[1]),vf.source.start.line=this.nextToken[2],vf.source.start.column=this.nextToken[3],vf.source.end.column=this.nextToken[3],vf.source.end.line=this.nextToken[2],vf.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?vf.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?vf.value=this.currToken[1]:this.currToken[0]==="space"&&(vf.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(vf)},Tf.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var vf=new Ad.default;this.current.parent.append(vf),this.current=vf,this.position++},Tf.prototype.comment=function(){var vf=new jd.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(vf),this.position++},Tf.prototype.error=function(vf){throw new this.input.error(vf)},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 vf=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(vf);if(this.nextToken[0]==="*")return this.position++,this.universal(vf)},Tf.prototype.nesting=function(){this.newNode(new xf.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 vf=this.current.last;if(vf&&vf.type===Bf.PSEUDO){var qf=new Ad.default,eh=this.current;vf.append(qf),this.current=qf;var ch=1;for(this.position++;this.position<this.tokens.length&&ch;)this.currToken[0]==="("&&ch++,this.currToken[0]===")"&&ch--,ch?this.parse():(qf.parent.source.end.line=this.currToken[2],qf.parent.source.end.column=this.currToken[3],this.position++);ch&&this.error("Expected closing parenthesis."),this.current=eh}else{var ih=1;for(this.position++,vf.value+="(";this.position<this.tokens.length&&ih;)this.currToken[0]==="("&&ih++,this.currToken[0]===")"&&ih--,vf.value+=this.parseParenthesisToken(this.currToken),this.position++;ih&&this.error("Expected closing parenthesis.")}},Tf.prototype.pseudo=function(){for(var vf=this,qf="",eh=this.currToken;this.currToken&&this.currToken[0]===":";)qf+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var ch=void 0;this.splitWord(!1,function(ih,Pf){qf+=ih,ch=new mf.default({value:qf,source:{start:{line:eh[2],column:eh[3]},end:{line:vf.currToken[4],column:vf.currToken[5]}},sourceIndex:eh[4]}),vf.newNode(ch),Pf>1&&vf.nextToken&&vf.nextToken[0]==="("&&vf.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},Tf.prototype.space=function(){var vf=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(vf[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(vf[1]),this.position++):this.combinator()},Tf.prototype.string=function(){var vf=this.currToken;this.newNode(new Vd.default({value:this.currToken[1],source:{start:{line:vf[2],column:vf[3]},end:{line:vf[4],column:vf[5]}},sourceIndex:vf[6]})),this.position++},Tf.prototype.universal=function(vf){var qf=this.nextToken;if(qf&&qf[1]==="|")return this.position++,this.namespace();this.newNode(new bf.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]}),vf),this.position++},Tf.prototype.splitWord=function(vf,qf){for(var eh=this,ch=this.nextToken,ih=this.currToken[1];ch&&ch[0]==="word";){this.position++;var Pf=this.currToken[1];if(ih+=Pf,Pf.lastIndexOf("\\")===Pf.length-1){var uh=this.nextToken;uh&&uh[0]==="space"&&(ih+=this.parseSpace(uh[1]," "),this.position++)}ch=this.nextToken}var xh=(0,cd.default)(ih,"."),Qf=(0,cd.default)(ih,"#"),wf=(0,cd.default)(ih,"#{");wf.length&&(Qf=Qf.filter(function(Wf){return!~wf.indexOf(Wf)}));var $f=(0,Lf.default)((0,pd.default)((0,ld.default)([[0],xh,Qf])));$f.forEach(function(Wf,Th){var vh=$f[Th+1]||ih.length,ph=ih.slice(Wf,vh);if(Th===0&&qf)return qf.call(eh,ph,$f.length);var Vh=void 0;~xh.indexOf(Wf)?Vh=new Id.default({value:ph.slice(1),source:{start:{line:eh.currToken[2],column:eh.currToken[3]+Wf},end:{line:eh.currToken[4],column:eh.currToken[3]+(vh-1)}},sourceIndex:eh.currToken[6]+$f[Th]}):~Qf.indexOf(Wf)?Vh=new Md.default({value:ph.slice(1),source:{start:{line:eh.currToken[2],column:eh.currToken[3]+Wf},end:{line:eh.currToken[4],column:eh.currToken[3]+(vh-1)}},sourceIndex:eh.currToken[6]+$f[Th]}):Vh=new Hd.default({value:ph,source:{start:{line:eh.currToken[2],column:eh.currToken[3]+Wf},end:{line:eh.currToken[4],column:eh.currToken[3]+(vh-1)}},sourceIndex:eh.currToken[6]+$f[Th]}),eh.newNode(Vh,vf)}),this.position++},Tf.prototype.word=function(vf){var qf=this.nextToken;return qf&&qf[1]==="|"?(this.position++,this.namespace()):this.splitWord(vf)},Tf.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},Tf.prototype.parse=function(vf){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":vf&&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(vf){if(this.lossy&&typeof vf=="string"){var qf=vf.trim();return qf.length?qf:!0}return vf},Tf.prototype.parseSpace=function(vf,qf){return this.lossy?qf||"":vf},Tf.prototype.parseValue=function(vf){return this.lossy&&vf&&typeof vf=="string"?vf.trim():vf},Tf.prototype.parseParenthesisToken=function(vf){return this.lossy?vf[0]==="space"?this.parseSpace(vf[1]," "):this.parseValue(vf[1]):vf[1]},Tf.prototype.newNode=function(vf,qf){return qf&&(vf.namespace=this.parseNamespace(qf)),this.spaces&&(vf.spaces.before=this.spaces,this.spaces=""),this.current.append(vf)},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$3((Ra,qa)=>{Ra.__esModule=!0;var nd=function(){function pd(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,Ad.key,Ad)}}return function(fd,md,vd){return md&&pd(fd.prototype,md),vd&&pd(fd,vd),fd}}(),od=tu$1(),ld=ud(od);function ud(pd){return pd&&pd.__esModule?pd:{default:pd}}function cd(pd,fd){if(!(pd instanceof fd))throw new TypeError("Cannot call a class as a function")}var dd=function(){function pd(fd){return cd(this,pd),this.func=fd||function(){},this}return pd.prototype.process=function(fd){var md=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vd=new ld.default({css:fd,error:function(Ad){throw new Error(Ad)},options:md});return this.res=vd,this.func(vd),this},nd(pd,[{key:"result",get:function(){return String(this.res)}}]),pd}();Ra.default=dd,qa.exports=Ra.default}),z$3=y$3((Ra,qa)=>{var nd=function(od,ld){let ud=new od.constructor;for(let cd in od){if(!od.hasOwnProperty(cd))continue;let dd=od[cd],pd=typeof dd;cd==="parent"&&pd==="object"?ld&&(ud[cd]=ld):cd==="source"?ud[cd]=dd:dd instanceof Array?ud[cd]=dd.map(fd=>nd(fd,ud)):cd!=="before"&&cd!=="after"&&cd!=="between"&&cd!=="semicolon"&&(pd==="object"&&dd!==null&&(dd=nd(dd)),ud[cd]=dd)}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(cd=>typeof cd=="object"&&cd.toJSON?cd.toJSON():cd):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,cd=this.source.start.line;for(let dd=0;dd<od;dd++)ld[dd]===`
|
||
`?(ud=1,cd+=1):ud+=1;return{line:cd,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$4=y$3((Ra,qa)=>{var nd=z$3(),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,cd,dd;if(this.indexes[ud]=0,!!this.nodes){for(;this.indexes[ud]<this.nodes.length&&(cd=this.indexes[ud],dd=ld(this.nodes[cd],cd),dd!==!1);)this.indexes[ud]+=1;return delete this.indexes[ud],dd}}walk(ld){return this.each((ud,cd)=>{let dd=ld(ud,cd);return dd!==!1&&ud.walk&&(dd=ud.walk(ld)),dd})}walkType(ld,ud){if(!ld||!ud)throw new Error("Parameters {type} and {callback} are required.");let cd=typeof ld=="function";return this.walk((dd,pd)=>{if(cd&&dd instanceof ld||!cd&&dd.type===ld)return ud.call(this,dd,pd)})}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 cd=this.index(ld),dd;this.nodes.splice(cd+1,0,ud);for(let pd in this.indexes)dd=this.indexes[pd],cd<=dd&&(this.indexes[pd]=dd+this.nodes.length);return this}insertBefore(ld,ud){let cd=this.index(ld),dd;this.nodes.splice(cd,0,ud);for(let pd in this.indexes)dd=this.indexes[pd],cd<=dd&&(this.indexes[pd]=dd+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 cd in this.indexes)ud=this.indexes[cd],ud>=ld&&(this.indexes[cd]=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(cd){return this.walkType(ld,cd)})},qa.exports=od}),uu$1=y$3((Ra,qa)=>{var nd=U$4();qa.exports=class extends nd{constructor(od){super(od),this.type="root"}}}),cu$1=y$3((Ra,qa)=>{var nd=U$4();qa.exports=class extends nd{constructor(od){super(od),this.type="value",this.unbalanced=0}}}),hu$1=y$3((Ra,qa)=>{var nd=U$4(),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$3((Ra,qa)=>{var nd=U$4(),od=z$3(),ld=class extends od{constructor(ud){super(ud),this.type="colon"}};nd.registerWalker(ld),qa.exports=ld}),wu$1=y$3((Ra,qa)=>{var nd=U$4(),od=z$3(),ld=class extends od{constructor(ud){super(ud),this.type="comma"}};nd.registerWalker(ld),qa.exports=ld}),vu$1=y$3((Ra,qa)=>{var nd=U$4(),od=z$3(),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$3((Ra,qa)=>{var nd=U$4(),od=class extends nd{constructor(ld){super(ld),this.type="func",this.unbalanced=-1}};nd.registerWalker(od),qa.exports=od}),Eu$1=y$3((Ra,qa)=>{var nd=U$4(),od=z$3(),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$3((Ra,qa)=>{var nd=U$4(),od=z$3(),ld=class extends od{constructor(ud){super(ud),this.type="operator"}};nd.registerWalker(ld),qa.exports=ld}),Cu$1=y$3((Ra,qa)=>{var nd=U$4(),od=z$3(),ld=class extends od{constructor(ud){super(ud),this.type="paren",this.parenType=""}};nd.registerWalker(ld),qa.exports=ld}),Nu$1=y$3((Ra,qa)=>{var nd=U$4(),od=z$3(),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$3((Ra,qa)=>{var nd=U$4(),od=z$3(),ld=class extends od{constructor(ud){super(ud),this.type="word"}};nd.registerWalker(ld),qa.exports=ld}),qu$1=y$3((Ra,qa)=>{var nd=U$4(),od=z$3(),ld=class extends od{constructor(ud){super(ud),this.type="unicode-range"}};nd.registerWalker(ld),qa.exports=ld}),Du$1=y$3((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$3((Ra,qa)=>{var nd=/[ \n\t\r\{\(\)'"\\;,/]/g,od=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,ld=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,ud=/^[a-z0-9]/i,cd=/^[a-f0-9?\-]/i,dd=Du$1();qa.exports=function(pd,fd){fd=fd||{};let md=[],vd=pd.valueOf(),Ad=vd.length,Nd=-1,Id=1,kd=0,jd=0,Fd=null,Md,Ld,Hd,Gd,Vd,Kd,mf,Wd,Zd,Xd,bf;function yf(Ef){let gf=`Unclosed ${Ef} at line: ${Id}, column: ${kd-Nd}, token: ${kd}`;throw new dd(gf)}for(;kd<Ad;){switch(Md=vd.charCodeAt(kd),Md===10&&(Nd=kd,Id+=1),Md){case 10:case 32:case 9:case 13:case 12:Ld=kd;do Ld+=1,Md=vd.charCodeAt(Ld),Md===10&&(Nd=Ld,Id+=1);while(Md===32||Md===10||Md===9||Md===13||Md===12);md.push(["space",vd.slice(kd,Ld),Id,kd-Nd,Id,Ld-Nd,kd]),kd=Ld-1;break;case 58:Ld=kd+1,md.push(["colon",vd.slice(kd,Ld),Id,kd-Nd,Id,Ld-Nd,kd]),kd=Ld-1;break;case 44:Ld=kd+1,md.push(["comma",vd.slice(kd,Ld),Id,kd-Nd,Id,Ld-Nd,kd]),kd=Ld-1;break;case 123:md.push(["{","{",Id,kd-Nd,Id,Ld-Nd,kd]);break;case 125:md.push(["}","}",Id,kd-Nd,Id,Ld-Nd,kd]);break;case 40:jd++,Fd=!Fd&&jd===1&&md.length>0&&md[md.length-1][0]==="word"&&md[md.length-1][1]==="url",md.push(["(","(",Id,kd-Nd,Id,Ld-Nd,kd]);break;case 41:jd--,Fd=Fd&&jd>0,md.push([")",")",Id,kd-Nd,Id,Ld-Nd,kd]);break;case 39:case 34:Hd=Md===39?"'":'"',Ld=kd;do for(Zd=!1,Ld=vd.indexOf(Hd,Ld+1),Ld===-1&&yf("quote"),Xd=Ld;vd.charCodeAt(Xd-1)===92;)Xd-=1,Zd=!Zd;while(Zd);md.push(["string",vd.slice(kd,Ld+1),Id,kd-Nd,Id,Ld-Nd,kd]),kd=Ld;break;case 64:nd.lastIndex=kd+1,nd.test(vd),nd.lastIndex===0?Ld=vd.length-1:Ld=nd.lastIndex-2,md.push(["atword",vd.slice(kd,Ld+1),Id,kd-Nd,Id,Ld-Nd,kd]),kd=Ld;break;case 92:Ld=kd,Md=vd.charCodeAt(Ld+1),md.push(["word",vd.slice(kd,Ld+1),Id,kd-Nd,Id,Ld-Nd,kd]),kd=Ld;break;case 43:case 45:case 42:if(Ld=kd+1,bf=vd.slice(kd+1,Ld+1),vd.slice(kd-1,kd),Md===45&&bf.charCodeAt(0)===45){Ld++,md.push(["word",vd.slice(kd,Ld),Id,kd-Nd,Id,Ld-Nd,kd]),kd=Ld-1;break}md.push(["operator",vd.slice(kd,Ld),Id,kd-Nd,Id,Ld-Nd,kd]),kd=Ld-1;break;default:if(Md===47&&(vd.charCodeAt(kd+1)===42||fd.loose&&!Fd&&vd.charCodeAt(kd+1)===47)){if(vd.charCodeAt(kd+1)===42)Ld=vd.indexOf("*/",kd+2)+1,Ld===0&&yf("comment");else{let Ef=vd.indexOf(`
|
||
`,kd+2);Ld=Ef!==-1?Ef-1:Ad}Kd=vd.slice(kd,Ld+1),Gd=Kd.split(`
|
||
`),Vd=Gd.length-1,Vd>0?(mf=Id+Vd,Wd=Ld-Gd[Vd].length):(mf=Id,Wd=Nd),md.push(["comment",Kd,Id,kd-Nd,mf,Ld-Wd,kd]),Nd=Wd,Id=mf,kd=Ld}else if(Md===35&&!ud.test(vd.slice(kd+1,kd+2)))Ld=kd+1,md.push(["#",vd.slice(kd,Ld),Id,kd-Nd,Id,Ld-Nd,kd]),kd=Ld-1;else if((Md===117||Md===85)&&vd.charCodeAt(kd+1)===43){Ld=kd+2;do Ld+=1,Md=vd.charCodeAt(Ld);while(Ld<Ad&&cd.test(vd.slice(Ld,Ld+1)));md.push(["unicoderange",vd.slice(kd,Ld),Id,kd-Nd,Id,Ld-Nd,kd]),kd=Ld-1}else if(Md===47)Ld=kd+1,md.push(["operator",vd.slice(kd,Ld),Id,kd-Nd,Id,Ld-Nd,kd]),kd=Ld-1;else{let Ef=od;if(Md>=48&&Md<=57&&(Ef=ld),Ef.lastIndex=kd+1,Ef.test(vd),Ef.lastIndex===0?Ld=vd.length-1:Ld=Ef.lastIndex-2,Ef===ld||Md===46){let gf=vd.charCodeAt(Ld),xf=vd.charCodeAt(Ld+1),Af=vd.charCodeAt(Ld+2);(gf===101||gf===69)&&(xf===45||xf===43)&&Af>=48&&Af<=57&&(ld.lastIndex=Ld+2,ld.test(vd),ld.lastIndex===0?Ld=vd.length-1:Ld=ld.lastIndex-2)}md.push(["word",vd.slice(kd,Ld+1),Id,kd-Nd,Id,Ld-Nd,kd]),kd=Ld}break}kd++}return md}}),$u$1=y$3((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$3((Ra,qa)=>{var nd=uu$1(),od=cu$1(),ld=hu$1(),ud=mu$1(),cd=wu$1(),dd=vu$1(),pd=_u$1(),fd=Eu$1(),md=Tu$1(),vd=Cu$1(),Ad=Nu$1(),Nd=Ru$1(),Id=qu$1(),kd=Uu$1(),jd=qs(),Fd=Ls(),Md=Ds(),Ld=$u$1();function Hd(Gd){return Gd.sort((Vd,Kd)=>Vd-Kd)}qa.exports=class{constructor(Gd,Vd){let Kd={loose:!1};this.cache=[],this.input=Gd,this.options=Object.assign({},Kd,Vd),this.position=0,this.unbalanced=0,this.root=new nd;let mf=new od;this.root.append(mf),this.current=mf,this.tokens=kd(Gd,this.options)}parse(){return this.loop()}colon(){let Gd=this.currToken;this.newNode(new ud({value:Gd[1],source:{start:{line:Gd[2],column:Gd[3]},end:{line:Gd[4],column:Gd[5]}},sourceIndex:Gd[6]})),this.position++}comma(){let Gd=this.currToken;this.newNode(new cd({value:Gd[1],source:{start:{line:Gd[2],column:Gd[3]},end:{line:Gd[4],column:Gd[5]}},sourceIndex:Gd[6]})),this.position++}comment(){let Gd=!1,Vd=this.currToken[1].replace(/\/\*|\*\//g,""),Kd;this.options.loose&&Vd.startsWith("//")&&(Vd=Vd.substring(2),Gd=!0),Kd=new dd({value:Vd,inline:Gd,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(Kd),this.position++}error(Gd,Vd){throw new Ld(Gd+` at line: ${Vd[2]}, column ${Vd[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 Gd=this.currToken[1],Vd;if(Gd==="+"||Gd==="-"){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 Vd=new md({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(Vd)}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 Gd=1,Vd=this.position+1,Kd=this.currToken,mf;for(;Vd<this.tokens.length&&Gd;){let Wd=this.tokens[Vd];Wd[0]==="("&&Gd++,Wd[0]===")"&&Gd--,Vd++}if(Gd&&this.error("Expected closing parenthesis",Kd),mf=this.current.last,mf&&mf.type==="func"&&mf.unbalanced<0&&(mf.unbalanced=0,this.current=mf),this.current.unbalanced++,this.newNode(new vd({value:Kd[1],source:{start:{line:Kd[2],column:Kd[3]},end:{line:Kd[4],column:Kd[5]}},sourceIndex:Kd[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 Wd=this.nextToken,Zd=this.currToken[1],Xd={line:this.currToken[2],column:this.currToken[3]};for(;Wd&&Wd[0]!==")"&&this.current.unbalanced;)this.position++,Zd+=this.currToken[1],Wd=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new Nd({value:Zd,source:{start:Xd,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let Gd=this.currToken;this.newNode(new vd({value:Gd[1],source:{start:{line:Gd[2],column:Gd[3]},end:{line:Gd[4],column:Gd[5]}},sourceIndex:Gd[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",Gd),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let Gd=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=Gd[1],this.position++):(this.spaces=Gd[1],this.position++)}unicodeRange(){let Gd=this.currToken;this.newNode(new Id({value:Gd[1],source:{start:{line:Gd[2],column:Gd[3]},end:{line:Gd[4],column:Gd[5]}},sourceIndex:Gd[6]})),this.position++}splitWord(){let Gd=this.nextToken,Vd=this.currToken[1],Kd=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,mf=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,Wd,Zd;if(!mf.test(Vd))for(;Gd&&Gd[0]==="word";){this.position++;let Xd=this.currToken[1];Vd+=Xd,Gd=this.nextToken}Wd=Fd(Vd,"@"),Zd=Hd(Md(jd([[0],Wd]))),Zd.forEach((Xd,bf)=>{let yf=Zd[bf+1]||Vd.length,Ef=Vd.slice(Xd,yf),gf;if(~Wd.indexOf(Xd))gf=new ld({value:Ef.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+Xd},end:{line:this.currToken[4],column:this.currToken[3]+(yf-1)}},sourceIndex:this.currToken[6]+Zd[bf]});else if(Kd.test(this.currToken[1])){let xf=Ef.replace(Kd,"");gf=new fd({value:Ef.replace(xf,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+Xd},end:{line:this.currToken[4],column:this.currToken[3]+(yf-1)}},sourceIndex:this.currToken[6]+Zd[bf],unit:xf})}else gf=new(Gd&&Gd[0]==="("?pd:Nd)({value:Ef,source:{start:{line:this.currToken[2],column:this.currToken[3]+Xd},end:{line:this.currToken[4],column:this.currToken[3]+(yf-1)}},sourceIndex:this.currToken[6]+Zd[bf]}),gf.type==="word"?(gf.isHex=/^#(.+)/.test(Ef),gf.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(Ef)):this.cache.push(this.current);this.newNode(gf)}),this.position++}string(){let Gd=this.currToken,Vd=this.currToken[1],Kd=/^(\"|\')/,mf=Kd.test(Vd),Wd="",Zd;mf&&(Wd=Vd.match(Kd)[0],Vd=Vd.slice(1,Vd.length-1)),Zd=new Ad({value:Vd,source:{start:{line:Gd[2],column:Gd[3]},end:{line:Gd[4],column:Gd[5]}},sourceIndex:Gd[6],quoted:mf}),Zd.raws.quote=Wd,this.newNode(Zd),this.position++}word(){return this.splitWord()}newNode(Gd){return this.spaces&&(Gd.raws.before+=this.spaces,this.spaces=""),this.current.append(Gd)}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$3="line",ze$3="label",be$4="break-parent",bt$2=new Set([Ue$1,we$4,ge$4,Fe$3,ve$4,xe$3,oe$3,$e$2,We$2,Ye$3,K$3,ze$3,be$4]);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$2.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$2].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));p_(this,"name","InvalidDocError");this.doc=nd}},$r$1=Fr$1,Zs=()=>{},_t$2=Zs;function q$4(Ra){return{type:we$4,contents:Ra}}function en$2(Ra,qa){return{type:ge$4,contents:qa,n:Ra}}function L$3(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$4},wl={type:K$3,hard:!0},A$1={type:K$3},M$3={type:K$3,soft:!0},E$3=[wl,je$4];function V$3(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$4=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 cd=ld(ud);return nd.set(ud,cd),cd}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:cd,contents:dd}=ud;return cd?(cd=cd.map(od),dd=cd[0]):dd=od(dd),qa({...ud,contents:dd,expandedStates:cd})}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$3:case be$4:return qa(ud);default:throw new $r$1(ud)}}}function xl(Ra){return Ra.type===K$3&&!Ra.hard?Ra.soft?"":" ":Ra.type===oe$3?Ra.flatContents:Ra}function rn$2(Ra){return vl(Ra,xl)}function bl(Ra){return Array.isArray(Ra)&&Ra.length>0}var ee$3=bl,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 cd of Ra)cd===nd?ld++:cd===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,cd,dd)=>cd===od?cd:dd===qa?"\\"+dd:dd||(nd&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(cd)?cd:"\\"+cd));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])}.`);p_(this,"name","UnexpectedNodeError");this.node=nd}},an$2=Wr$1;function Sl(Ra){return(Ra==null?void 0:Ra.type)==="front-matter"}var _e$2=Sl,Tl=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function un$2(Ra,qa,nd){if(_e$2(Ra)&&Ra.language==="yaml"&&delete qa.value,Ra.type==="css-comment"&&nd.type==="css-root"&&nd.nodes.length>0&&((nd.nodes[0]===Ra||_e$2(nd.nodes[0])&&nd.nodes[1]===Ra)&&(delete qa.text,/^\*\s*@(?:format|prettier)\s*$/u.test(Ra.text))||nd.type==="css-root"&&G$4(!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 cd=Number(ld);return Number.isNaN(cd)?od:cd+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$3,od,od?E$3:"",Ra.endDelimiter])}}var cn$2=Cl;function fn$2(Ra){let{node:qa}=Ra;if(qa.type==="front-matter")return async nd=>{let od=await cn$2(qa,nd);return od?[od,E$3]: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,cd=nd;for(;cd>=0&&cd<ud;){let dd=qa.charAt(cd);if(Ra instanceof RegExp){if(!Ra.test(dd))return cd}else if(!Ra.includes(dd))return cd;ld?cd--:cd++}return cd===-1||cd===ud?cd:!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$4(!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 cd=0;cd<Ra.length;cd++){let dd=Ra[cd];switch(qa){case"initial":if(dd==="'"){qa="single-quotes";continue}if(dd==='"'){qa="double-quotes";continue}if((dd==="u"||dd==="U")&&Ra.slice(cd,cd+4).toLowerCase()==="url("){qa="url",cd+=3;continue}if(dd==="*"&&Ra[cd-1]==="/"){qa="comment-block";continue}if(dd==="/"&&Ra[cd-1]==="/"){qa="comment-inline",od=cd-1;continue}continue;case"single-quotes":if(dd==="'"&&Ra[cd-1]!=="\\"&&(qa=nd,nd="initial"),dd===`
|
||
`||dd==="\r")return Ra;continue;case"double-quotes":if(dd==='"'&&Ra[cd-1]!=="\\"&&(qa=nd,nd="initial"),dd===`
|
||
`||dd==="\r")return Ra;continue;case"url":if(dd===")"&&(qa="initial"),dd===`
|
||
`||dd==="\r")return Ra;if(dd==="'"){qa="single-quotes",nd="url";continue}if(dd==='"'){qa="double-quotes",nd="url";continue}continue;case"comment-block":dd==="/"&&Ra[cd-1]==="*"&&(qa="initial");continue;case"comment-inline":(dd==='"'||dd==="'"||dd==="*")&&(ld=!0),(dd===`
|
||
`||dd==="\r")&&(ld&&ud.push([od,cd]),qa="initial",ld=!1);continue}}for(let[cd,dd]of ud)Ra=Ra.slice(0,cd)+_$4(!1,Ra.slice(cd,dd),/["'*]/gu," ")+Ra.slice(dd);return Ra}function N$3(Ra){var qa;return(qa=Ra.source)==null?void 0:qa.startOffset}function P$4(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$1=/(?:^|\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$1,"").replace(xn$1,"").trimEnd(),ud;for(;ud=bn$1.exec(Ra);){let cd=_$4(!1,ud[2],Ml,"");if(typeof od[ud[1]]=="string"||Array.isArray(od[ud[1]])){let dd=od[ud[1]];od[ud[1]]=[...En$1,...Array.isArray(dd)?dd:[dd],cd]}else od[ud[1]]=cd}return{comments:ld,pragmas:od}}function Cn$1({comments:Ra="",pragmas:qa={}}){let nd=`
|
||
`,od="/**",ld=" *",ud=" */",cd=Object.keys(qa),dd=cd.flatMap(fd=>_n$1(fd,qa[fd])).map(fd=>`${ld} ${fd}${nd}`).join("");if(!Ra){if(cd.length===0)return"";if(cd.length===1&&!Array.isArray(qa[cd[0]])){let fd=qa[cd[0]];return`${od} ${_n$1(cd[0],fd)[0]}${ud}`}}let pd=Ra.split(nd).map(fd=>`${ld} ${fd}`).join(nd)+nd;return od+nd+(Ra?pd:"")+(Ra&&cd.length>0?ld+nd:"")+dd+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),cd=Cn$1({pragmas:{format:"",...od},comments:ld.trimStart()});return(qa?`${qa}
|
||
`:"")+cd+(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 cd=ld+1+Qe$2,dd=Ra.charAt(cd+1);if(!/\s?/u.test(dd))return;let pd=Ra.slice(0,cd);return{type:"front-matter",language:ud,explicitLanguage:od,value:Ra.slice(nd+1,ld),startDelimiter:qa,endDelimiter:pd.slice(-Qe$2),raw:pd}}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$4(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$4(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$4(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(cd=>cd.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,cd=Ra.grandparent,dd=Ln(Ra),pd=dd&&ud.type==="value-value"&&(dd==="grid"||dd.startsWith("grid-template")),fd=Ra.findAncestor(Fd=>Fd.type==="css-atrule"),md=fd&&Ze$2(fd,qa),vd=ld.groups.some(Fd=>Qr$1(Fd)),Ad=Ra.map(nd,"groups"),Nd=[],Id=ke$4(Ra,"url"),kd=!1,jd=!1;for(let Fd=0;Fd<ld.groups.length;++Fd){Nd.push(Ad[Fd]);let Md=ld.groups[Fd-1],Ld=ld.groups[Fd],Hd=ld.groups[Fd+1],Gd=ld.groups[Fd+2];if(Id){(Hd&&Q$4(Hd)||Q$4(Ld))&&Nd.push(" ");continue}if(Ee$4(Ra,"forward")&&Ld.type==="value-word"&&Ld.value&&Md!==void 0&&Md.type==="value-word"&&Md.value==="as"&&Hd.type==="value-operator"&&Hd.value==="*"||!Hd||Ld.type==="value-word"&&Ld.value.endsWith("-")&&tt$3(Hd))continue;if(Ld.type==="value-string"&&Ld.quoted){let Xd=Ld.value.lastIndexOf("#{"),bf=Ld.value.lastIndexOf("}");Xd!==-1&&bf!==-1?kd=Xd>bf:Xd!==-1?kd=!0:bf!==-1&&(kd=!1)}if(kd||Lt$1(Ld)||Lt$1(Hd)||Ld.type==="value-atword"&&(Ld.value===""||Ld.value.endsWith("["))||Hd.type==="value-word"&&Hd.value.startsWith("]")||Ld.value==="~"||Ld.type!=="value-string"&&Ld.value&&Ld.value.includes("\\")&&Hd&&Hd.type!=="value-comment"||Md!=null&&Md.value&&Md.value.indexOf("\\")===Md.value.length-1&&Ld.type==="value-operator"&&Ld.value==="/"||Ld.value==="\\"||Kn$1(Ld,Hd)||It$2(Ld)||Jr$1(Ld)||qt$3(Hd)||Jr$1(Hd)&&ce$4(Hd)||qt$3(Ld)&&ce$4(Hd)||Ld.value==="--"&&It$2(Hd))continue;let Vd=Nt$2(Ld),Kd=Nt$2(Hd);if((Vd&&It$2(Hd)||Kd&&qt$3(Ld))&&ce$4(Hd)||!Md&&Xe$2(Ld)||ke$4(Ra,"calc")&&(Q$4(Ld)||Q$4(Hd)||le$3(Ld)||le$3(Hd))&&ce$4(Hd))continue;let mf=(Q$4(Ld)||le$3(Ld))&&Fd===0&&(Hd.type==="value-number"||Hd.isHex)&&cd&&ei$1(cd)&&!ce$4(Hd),Wd=(Gd==null?void 0:Gd.type)==="value-func"||Gd&&et$3(Gd)||Ld.type==="value-func"||et$3(Ld),Zd=Hd.type==="value-func"||et$3(Hd)||(Md==null?void 0:Md.type)==="value-func"||Md&&et$3(Md);if(qa.parser==="scss"&&Vd&&Ld.value==="-"&&Hd.type==="value-func"&&P$4(Ld)!==N$3(Hd)){Nd.push(" ");continue}if(!(!(At$1(Hd)||At$1(Ld))&&!ke$4(Ra,"calc")&&!mf&&(Xe$2(Hd)&&!Wd||Xe$2(Ld)&&!Zd||Q$4(Hd)&&!Wd||Q$4(Ld)&&!Zd||le$3(Hd)||le$3(Ld))&&(ce$4(Hd)||Vd&&(!Md||Md&&Nt$2(Md))))&&!((qa.parser==="scss"||qa.parser==="less")&&Vd&&Ld.value==="-"&&rt$2(Hd)&&P$4(Ld)===N$3(Hd.open)&&Hd.open.value==="(")){if(Qr$1(Ld)){if(ud.type==="value-paren_group"){Nd.push(ue$3(E$3));continue}Nd.push(E$3);continue}if(md&&(Gn$1(Hd)||jn(Hd)||zn$1(Hd)||Vn$1(Ld)||Yn(Ld))){Nd.push(" ");continue}if(fd&&fd.name.toLowerCase()==="namespace"){Nd.push(" ");continue}if(pd){Ld.source&&Hd.source&&Ld.source.start.line!==Hd.source.start.line?(Nd.push(E$3),jd=!0):Nd.push(" ");continue}if(Kd){Nd.push(" ");continue}if((Hd==null?void 0:Hd.value)!=="..."&&!(tt$3(Ld)&&tt$3(Hd)&&P$4(Ld)===N$3(Hd))){if(tt$3(Ld)&&rt$2(Hd)&&P$4(Ld)===N$3(Hd.open)){Nd.push(M$3);continue}if(Ld.value==="with"&&rt$2(Hd)){Nd.push(" ");continue}(od=Ld.value)!=null&&od.endsWith("#")&&Hd.value==="{"&&rt$2(Hd.group)||Nd.push(A$1)}}}return vd&&Nd.push(je$4),jd&&Nd.unshift(E$3),md?L$3(q$4(Nd)):Un$1(Ra)?L$3(Ge$2(Nd)):L$3(q$4(Ge$2(Nd)))}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$1=/(["'])(?:(?!\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$1.source+`|(${Ql.source})?(${Hl.source})(${Kl.source})?`,"giu");function W$4(Ra,qa){return _$4(!1,Ra,ii$1,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$1(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$3(Ra),N$3(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$1(qa)&&Ra.callParent(()=>Kr$1(Ra,qa))?kt$1(","):""}function ci$1(Ra,qa,nd){let{node:od,parent:ld}=Ra,ud=Ra.map(({node:Nd})=>typeof Nd=="string"?Nd: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$3(",",ud),od.close?nd("close"):""];if(!od.open){let Nd=es(Ra),Id=V$3([",",Nd?E$3:A$1],ud);return q$4(Nd?[E$3,Id]:L$3(Ge$2(Id)))}let cd=Ra.map(({node:Nd,isLast:Id,index:kd})=>{var jd;let Fd=ud[kd];if(Rt$2(Nd)&&Nd.type==="value-comma_group"&&Nd.groups&&Nd.groups[0].type!=="value-paren_group"&&((jd=Nd.groups[2])==null?void 0:jd.type)==="value-paren_group"){let{parts:Ld}=Fd.contents.contents;Ld[1]=L$3(Ld[1]),Fd=L$3(ue$3(Fd))}let Md=[Fd,Id?nc(Ra,qa):","];if(!Id&&Nd.type==="value-comma_group"&&ee$3(Nd.groups)){let Ld=G$4(!1,Nd.groups,-1);!Ld.source&&Ld.close&&(Ld=Ld.close),Ld.source&&Bt$2(qa.originalText,P$4(Ld))&&Md.push(E$3)}return Md},"groups"),dd=Xn$1(od,ld),pd=ti$1(od,ld),fd=Kr$1(Ra,qa),md=pd||fd&&!dd,vd=pd||dd,Ad=L$3([od.open?nd("open"):"",q$4([M$3,V$3(A$1,cd)]),M$3,od.close?nd("close"):""],{shouldBreak:md});return vd?ue$3(Ad):Ad}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$3(ld),P$4(ld))):od.push(nd()),Ra.isLast)return;let{next:cd}=Ra;cd.type==="css-comment"&&!Mt$2(qa.originalText,N$3(cd),{backwards:!0})&&!_e$2(ld)||cd.type==="css-atrule"&&cd.name==="else"&&ld.type!=="css-comment"?od.push(" "):(od.push(qa.__isHTMLStyleAttribute?A$1:E$3),Bt$2(qa.originalText,P$4(ld))&&!_e$2(ld)&&od.push(E$3))},"nodes"),od}var Te$3=ic;function oc(Ra,qa,nd){var od,ld,ud,cd,dd,pd;let{node:fd}=Ra;switch(fd.type){case"front-matter":return[fd.raw,E$3];case"css-root":{let md=Te$3(Ra,qa,nd),vd=fd.raws.after.trim();return vd.startsWith(";")&&(vd=vd.slice(1).trim()),[fd.frontMatter?[nd("frontMatter"),E$3]:"",md,vd?` ${vd}`:"",fd.nodes.length>0?E$3:""]}case"css-comment":{let md=fd.inline||fd.raws.inline,vd=qa.originalText.slice(N$3(fd),P$4(fd));return md?vd.trimEnd():vd}case"css-rule":return[nd("selector"),fd.important?" !important":"",fd.nodes?[((od=fd.selector)==null?void 0:od.type)==="selector-unknown"&&Se$4(fd.selector.value)?A$1:fd.selector?" ":"","{",fd.nodes.length>0?q$4([E$3,Te$3(Ra,qa,nd)]):"",E$3,"}",Wn(fd)?";":""]:";"];case"css-decl":{let md=Ra.parent,{between:vd}=fd.raws,Ad=vd.trim(),Nd=Ad===":",Id=typeof fd.value=="string"&&/^ *$/u.test(fd.value),kd=typeof fd.value=="string"?fd.value:nd("value");return kd=Qn$1(fd)?rn$2(kd):kd,!Nd&&Se$4(Ad)&&!((ud=(ld=fd.value)==null?void 0:ld.group)!=null&&ud.group&&Ra.call(()=>es(Ra),"value","group","group"))&&(kd=q$4([E$3,ue$3(kd)])),[_$4(!1,fd.raws.before,/[\s;]/gu,""),md.type==="css-atrule"&&md.variable||Bn$1(Ra)?fd.prop:te$3(fd.prop),Ad.startsWith("//")?" ":"",Ad,fd.extend||Id?"":" ",qa.parser==="less"&&fd.extend&&fd.selector?["extend(",nd("selector"),")"]:"",kd,fd.raws.important?fd.raws.important.replace(/\s*!\s*important/iu," !important"):fd.important?" !important":"",fd.raws.scssDefault?fd.raws.scssDefault.replace(/\s*!default/iu," !default"):fd.scssDefault?" !default":"",fd.raws.scssGlobal?fd.raws.scssGlobal.replace(/\s*!global/iu," !global"):fd.scssGlobal?" !global":"",fd.nodes?[" {",q$4([M$3,Te$3(Ra,qa,nd)]),M$3,"}"]:Hn(fd)&&!md.raws.semicolon&&qa.originalText[P$4(fd)-1]!==";"?"":qa.__isHTMLStyleAttribute&&Ra.isLast?kt$1(";"):";"]}case"css-atrule":{let md=Ra.parent,vd=Pt$1(fd)&&!md.raws.semicolon&&qa.originalText[P$4(fd)-1]!==";";if(qa.parser==="less"){if(fd.mixin)return[nd("selector"),fd.important?" !important":"",vd?"":";"];if(fd.function)return[fd.name,typeof fd.params=="string"?fd.params:nd("params"),vd?"":";"];if(fd.variable)return["@",fd.name,": ",fd.value?nd("value"):"",fd.raws.between.trim()?fd.raws.between.trim()+" ":"",fd.nodes?["{",q$4([fd.nodes.length>0?M$3:"",Te$3(Ra,qa,nd)]),M$3,"}"]:"",vd?"":";"]}let Ad=fd.name==="import"&&((cd=fd.params)==null?void 0:cd.type)==="value-unknown"&&fd.params.value.endsWith(";");return["@",Hr$1(fd)||fd.name.endsWith(":")||Pt$1(fd)?fd.name:te$3(fd.name),fd.params?[Hr$1(fd)?"":Pt$1(fd)?fd.raws.afterName===""?"":fd.name.endsWith(":")?" ":/^\s*\n\s*\n/u.test(fd.raws.afterName)?[E$3,E$3]:/^\s*\n/u.test(fd.raws.afterName)?E$3:" ":" ",typeof fd.params=="string"?fd.params:nd("params")]:"",fd.selector?q$4([" ",nd("selector")]):"",fd.value?L$3([" ",nd("value"),Ze$2(fd,qa)?Jn$1(fd)?" ":A$1:""]):fd.name==="else"?" ":"",fd.nodes?[Ze$2(fd,qa)?"":fd.selector&&!fd.selector.nodes&&typeof fd.selector.value=="string"&&Se$4(fd.selector.value)||!fd.selector&&typeof fd.params=="string"&&Se$4(fd.params)?A$1:" ","{",q$4([fd.nodes.length>0?M$3:"",Te$3(Ra,qa,nd)]),M$3,"}"]:vd||Ad?"":";"]}case"media-query-list":{let md=[];return Ra.each(({node:vd})=>{vd.type==="media-query"&&vd.value===""||md.push(nd())},"nodes"),L$3(q$4(V$3(A$1,md)))}case"media-query":return[V$3(" ",Ra.map(nd,"nodes")),Ra.isLast?"":","];case"media-type":return fe$4(W$4(fd.value,qa));case"media-feature-expression":return fd.nodes?["(",...Ra.map(nd,"nodes"),")"]:fd.value;case"media-feature":return te$3(W$4(_$4(!1,fd.value,/ +/gu," "),qa));case"media-colon":return[fd.value," "];case"media-value":return fe$4(W$4(fd.value,qa));case"media-keyword":return W$4(fd.value,qa);case"media-url":return W$4(_$4(!1,_$4(!1,fd.value,/^url\(\s+/giu,"url("),/\s+\)$/gu,")"),qa);case"media-unknown":return fd.value;case"selector-root":return L$3([Ee$4(Ra,"custom-selector")?[Ra.findAncestor(md=>md.type==="css-atrule").customSelector,A$1]:"",V$3([",",Ee$4(Ra,["extend","custom-selector","nest"])?A$1:E$3],Ra.map(nd,"nodes"))]);case"selector-selector":return L$3(q$4(Ra.map(nd,"nodes")));case"selector-comment":return fd.value;case"selector-string":return W$4(fd.value,qa);case"selector-tag":return[fd.namespace?[fd.namespace===!0?"":fd.namespace.trim(),"|"]:"",((dd=Ra.previous)==null?void 0:dd.type)==="selector-nesting"?fd.value:fe$4(Mn(Ra,fd.value)?fd.value.toLowerCase():fd.value)];case"selector-id":return["#",fd.value];case"selector-class":return[".",fe$4(W$4(fd.value,qa))];case"selector-attribute":return["[",fd.namespace?[fd.namespace===!0?"":fd.namespace.trim(),"|"]:"",fd.attribute.trim(),fd.operator??"",fd.value?oi$1(W$4(fd.value.trim(),qa),qa):"",fd.insensitive?" i":"","]"];case"selector-combinator":{if(fd.value==="+"||fd.value===">"||fd.value==="~"||fd.value===">>>"){let Ad=Ra.parent;return[Ad.type==="selector-selector"&&Ad.nodes[0]===fd?"":A$1,fd.value,Ra.isLast?"":" "]}let md=fd.value.trim().startsWith("(")?A$1:"",vd=fe$4(W$4(fd.value.trim(),qa))||A$1;return[md,vd]}case"selector-universal":return[fd.namespace?[fd.namespace===!0?"":fd.namespace.trim(),"|"]:"",fd.value];case"selector-pseudo":return[te$3(fd.value),ee$3(fd.nodes)?L$3(["(",q$4([M$3,V$3([",",A$1],Ra.map(nd,"nodes"))]),M$3,")"]):""];case"selector-nesting":return fd.value;case"selector-unknown":{let md=Ra.findAncestor(Nd=>Nd.type==="css-rule");if(md!=null&&md.isSCSSNesterProperty)return fe$4(W$4(te$3(fd.value),qa));let vd=Ra.parent;if((pd=vd.raws)!=null&&pd.selector){let Nd=N$3(vd),Id=Nd+vd.raws.selector.length;return qa.originalText.slice(Nd,Id).trim()}let Ad=Ra.grandparent;if(vd.type==="value-paren_group"&&(Ad==null?void 0:Ad.type)==="value-func"&&Ad.value==="selector"){let Nd=P$4(vd.open)+1,Id=N$3(vd.close),kd=qa.originalText.slice(Nd,Id).trim();return Se$4(kd)?[je$4,kd]:kd}return fd.value}case"value-value":case"value-root":return nd("group");case"value-comment":return qa.originalText.slice(N$3(fd),P$4(fd));case"value-comma_group":return ri$1(Ra,qa,nd);case"value-paren_group":return ci$1(Ra,qa,nd);case"value-func":return[fd.value,Ee$4(Ra,"supports")&&Zn$1(fd)?" ":"",nd("group")];case"value-paren":return fd.value;case"value-number":return[Zr$1(fd.value),ni$1(fd.unit)];case"value-operator":return fd.value;case"value-word":return fd.isColor&&fd.isHex||Dn$1(fd.value)?fd.value.toLowerCase():fd.value;case"value-colon":{let{previous:md}=Ra;return[fd.value,typeof(md==null?void 0:md.value)=="string"&&md.value.endsWith("\\")||ke$4(Ra,"url")?"":A$1]}case"value-string":return St$2(fd.raws.quote+fd.value+fd.raws.quote,qa);case"value-atword":return["@",fd.value];case"value-unicode-range":return fd.value;case"value-unknown":return fd.value;case"value-comma":default:throw new an$2(fd,"PostCSS")}}var ac={print:oc,embed:pn$2,insertPragma:qn$1,massageAstNode:ln$2,getVisitorKeys:mn$2},fi$1=ac,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,less:()=>_y,scss:()=>ky});var el=ye$3(pt$2()),tl=ye$3(bo()),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$4(Ra,qa,nd){if(Ra&&typeof Ra=="object"){delete Ra.parent;for(let od in Ra)J$4(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(Ra){let qa;try{qa=op(Ra)}catch{return{type:"selector-unknown",value:Ra}}return J$4(Is(qa),"media-")}var ca=ap,nu$1=ye$3(su$1());function bm(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$4(qa,"selector-")}var Z$4=bm,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],cd=ld,dd={groups:[],type:"comma_group"},pd=[dd];for(let fd=0;fd<od.length;++fd){let md=od[fd];if(qa.parser==="scss"&&md.type==="number"&&md.unit===".."&&md.value.endsWith(".")&&(md.value=md.value.slice(0,-1),md.unit="..."),md.type==="func"&&md.value==="selector"&&(md.group.groups=[Z$4(Mr$1(Ra).text.slice(md.group.open.sourceIndex+1,md.group.close.sourceIndex))]),md.type==="func"&&md.value==="url"){let vd=((nd=md.group)==null?void 0:nd.groups)??[],Ad=[];for(let Nd=0;Nd<vd.length;Nd++){let Id=vd[Nd];Id.type==="comma_group"?Ad=[...Ad,...Id.groups]:Ad.push(Id)}(ju$1(Ad)||!Hu$1(Ad)&&!Ku$1(Ad[0],qa))&&(md.group.groups=[Gu$1(md)])}if(md.type==="paren"&&md.value==="(")ld={open:md,close:null,groups:[],type:"paren_group"},ud.push(ld),dd={groups:[],type:"comma_group"},pd.push(dd);else if(md.type==="paren"&&md.value===")"){if(dd.groups.length>0&&ld.groups.push(dd),ld.close=md,pd.length===1)throw new Error("Unbalanced parenthesis");pd.pop(),dd=G$4(!1,pd,-1),dd.groups.push(ld),ud.pop(),ld=G$4(!1,ud,-1)}else md.type==="comma"?(ld.groups.push(dd),dd={groups:[],type:"comma_group"},pd[pd.length-1]=dd):dd.groups.push(md)}return dd.groups.length>0&&ld.groups.push(dd),cd}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$4(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 dd in Ra)sl(Ra[dd],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 dd;if(Ra.value.trimEnd().endsWith("}")){let pd=qa.originalText.slice(0,Ra.source.start.offset),fd="a".repeat(Ra.prop.length)+qa.originalText.slice(Ra.source.start.offset+Ra.prop.length,Ra.source.end.offset),md=_$4(!1,pd,/[^\n]/gu," ")+fd,vd;qa.parser==="scss"?vd=ol:qa.parser==="less"?vd=il:vd=nl;let Ad;try{Ad=vd(md,{...qa})}catch{}((nd=Ad==null?void 0:Ad.nodes)==null?void 0:nd.length)===1&&Ad.nodes[0].type==="css-rule"&&(dd=Ad.nodes[0].nodes)}return dd?Ra.value={type:"css-rule",nodes:dd}: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 cd="";if(typeof Ra.params=="string"&&(cd=Ra.raws.params?Ra.raws.params.scss??Ra.raws.params.raw:Ra.params,Ra.raws.afterName&&Ra.raws.afterName.trim().length>0&&(cd=Ra.raws.afterName+cd),Ra.raws.between&&Ra.raws.between.trim().length>0&&(cd=cd+Ra.raws.between),cd=cd.trim(),Ra.raws.params=cd),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$4(ld),Ra);if(ud.length>0){let dd=ud.match(vy);dd&&(ud=ud.slice(0,dd.index),Ra.scssDefault=!0,dd[0].trim()!=="!default"&&(Ra.raws.scssDefault=dd[0]));let pd=ud.match(xy);if(pd&&(ud=ud.slice(0,pd.index),Ra.scssGlobal=!0,pd[0].trim()!=="!global"&&(Ra.raws.scssGlobal=pd[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$4(ud.slice(7,-1)))),Ra.type==="css-atrule"){if(qa.parser==="less"){if(Ra.mixin){let dd=Ra.raws.identifier+Ra.name+Ra.raws.afterName+Ra.raws.params;return Ra.selector=Z$4(dd),delete Ra.params,Ra}if(Ra.function)return Ra}if(qa.parser==="css"&&Ra.name==="custom-selector"){let dd=Ra.params.match(/:--\S+\s+/u)[0].trim();return Ra.customSelector=dd,Ra.selector=Z$4(Ra.params.slice(dd.length).trim()),delete Ra.params,Ra}if(qa.parser==="less"){if(Ra.name.includes(":")&&!Ra.params){Ra.variable=!0;let dd=Ra.name.split(":");Ra.name=dd[0],Ra.value=ie$3(dd.slice(1).join(":"),qa)}if(!["page","nest","keyframes"].includes(Ra.name)&&((od=Ra.params)==null?void 0:od[0])===":"){Ra.variable=!0;let dd=Ra.params.slice(1);dd&&(Ra.value=ie$3(dd,qa)),Ra.raws.afterName+=":"}if(Ra.variable)return delete Ra.params,Ra.value||delete Ra.value,Ra}}if(Ra.type==="css-atrule"&&cd.length>0){let{name:dd}=Ra,pd=Ra.name.toLowerCase();return dd==="warn"||dd==="error"?(Ra.params={type:"media-unknown",value:cd},Ra):dd==="extend"||dd==="nest"?(Ra.selector=Z$4(cd),delete Ra.params,Ra):dd==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/su.test(cd)?Ra.params=ie$3(cd,qa):(Ra.selector=Z$4(cd),delete Ra.params),Ra):Xu$1(pd)?(Ra.import=!0,delete Ra.filename,Ra.params=ie$3(cd,qa),Ra):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(dd)?(cd=cd.replace(/(\$\S+?)(\s+)?\.{3}/u,"$1...$2"),cd=cd.replace(/^(?!if)(\S+)(\s+)\(/u,"$1($2"),Ra.value=ie$3(cd,qa),delete Ra.params,Ra):["media","custom-media"].includes(pd)?cd.includes("#{")?{type:"media-unknown",value:cd}:(Ra.params=ca(cd),Ra):(Ra.params=cd,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(cd){let{name:dd,reason:pd,line:fd,column:md}=cd;throw typeof fd!="number"?cd:ra(`${dd}: ${pd}`,{loc:{start:{line:fd,column:md}},cause:cd})}return nd.originalText=qa,ud=sl(J$4(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$3,locEnd:P$4},by={...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=(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(He$2(nd,"default",{value:Ra,enumerable:!0}),Ra)),vu=Ra=>ar(He$2({},"__esModule",{value:!0}),Ra),bu=(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(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=Nd,Ra.default=Id;var qa=(kn(),vu(Tn)),nd=ld(Pn(),!0);function od(kd){if(typeof WeakMap!="function")return null;var jd=new WeakMap,Fd=new WeakMap;return(od=function(Md){return Md?Fd:jd})(kd)}function ld(kd,jd){if(kd===null||typeof kd!="object"&&typeof kd!="function")return{default:kd};var Fd=od(jd);if(Fd&&Fd.has(kd))return Fd.get(kd);var Md={__proto__:null},Ld=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Hd in kd)if(Hd!=="default"&&{}.hasOwnProperty.call(kd,Hd)){var Gd=Ld?Object.getOwnPropertyDescriptor(kd,Hd):null;Gd&&(Gd.get||Gd.set)?Object.defineProperty(Md,Hd,Gd):Md[Hd]=kd[Hd]}return Md.default=kd,Fd&&Fd.set(kd,Md),Md}var ud=nd.default,cd=(kd,jd)=>Fd=>kd(jd(Fd)),dd;function pd(kd){return kd?(dd!=null||(dd=(0,nd.createColors)(!0)),dd):ud}var fd=!1;function md(kd){return{gutter:kd.gray,marker:cd(kd.red,kd.bold),message:cd(kd.red,kd.bold)}}var vd=/\r\n|[\n\r\u2028\u2029]/;function Ad(kd,jd,Fd){let Md=Object.assign({column:0,line:-1},kd.start),Ld=Object.assign({},Md,kd.end),{linesAbove:Hd=2,linesBelow:Gd=3}=Fd||{},Vd=Md.line,Kd=Md.column,mf=Ld.line,Wd=Ld.column,Zd=Math.max(Vd-(Hd+1),0),Xd=Math.min(jd.length,mf+Gd);Vd===-1&&(Zd=0),mf===-1&&(Xd=jd.length);let bf=mf-Vd,yf={};if(bf)for(let Ef=0;Ef<=bf;Ef++){let gf=Ef+Vd;if(!Kd)yf[gf]=!0;else if(Ef===0){let xf=jd[gf-1].length;yf[gf]=[Kd,xf-Kd+1]}else if(Ef===bf)yf[gf]=[0,Wd];else{let xf=jd[gf-Ef].length;yf[gf]=[0,xf]}}else Kd===Wd?Kd?yf[Vd]=[Kd,0]:yf[Vd]=!0:yf[Vd]=[Kd,Wd-Kd];return{start:Zd,end:Xd,markerLines:yf}}function Nd(kd,jd,Fd={}){let Md=(Fd.highlightCode||Fd.forceColor)&&(0,qa.shouldHighlight)(Fd),Ld=pd(Fd.forceColor),Hd=md(Ld),Gd=(yf,Ef)=>Md?yf(Ef):Ef,Vd=kd.split(vd),{start:Kd,end:mf,markerLines:Wd}=Ad(jd,Vd,Fd),Zd=jd.start&&typeof jd.start.column=="number",Xd=String(mf).length,bf=(Md?(0,qa.default)(kd,Fd):kd).split(vd,mf).slice(Kd,mf).map((yf,Ef)=>{let gf=Kd+1+Ef,xf=` ${` ${gf}`.slice(-Xd)} |`,Af=Wd[gf],Lf=!Wd[gf+1];if(Af){let Xf="";if(Array.isArray(Af)){let Jf=yf.slice(0,Math.max(Af[0]-1,0)).replace(/[^\t]/g," "),Zf=Af[1]||1;Xf=[`
|
||
`,Gd(Hd.gutter,xf.replace(/\d/g," "))," ",Jf,Gd(Hd.marker,"^").repeat(Zf)].join(""),Lf&&Fd.message&&(Xf+=" "+Gd(Hd.message,Fd.message))}return[Gd(Hd.marker,">"),Gd(Hd.gutter,xf),yf.length>0?` ${yf}`:"",Xf].join("")}else return` ${Gd(Hd.gutter,xf)}${yf.length>0?` ${yf}`:""}`}).join(`
|
||
`);return Fd.message&&!Zd&&(bf=`${" ".repeat(Xd+1)}${Fd.message}
|
||
${bf}`),Md?Ld.reset(bf):bf}function Id(kd,jd,Fd,Md={}){if(!fd){fd=!0;let Ld="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let Hd=new Error(Ld);Hd.name="DeprecationWarning",console.warn(new Error(Ld))}}return Fd=Math.max(Fd,0),Nd(kd,{start:{column:Fd,line:jd}},Md)}}),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$3(){}Z$3.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 cd(Ld){return ld?(setTimeout(function(){ld(void 0,Ld)},0),!0):Ld}Ra=this.castInput(Ra),qa=this.castInput(qa),Ra=this.removeEmpty(this.tokenize(Ra)),qa=this.removeEmpty(this.tokenize(qa));var dd=qa.length,pd=Ra.length,fd=1,md=dd+pd;od.maxEditLength&&(md=Math.min(md,od.maxEditLength));var vd=(nd=od.timeout)!==null&&nd!==void 0?nd:1/0,Ad=Date.now()+vd,Nd=[{oldPos:-1,lastComponent:void 0}],Id=this.extractCommon(Nd[0],qa,Ra,0);if(Nd[0].oldPos+1>=pd&&Id+1>=dd)return cd([{value:this.join(qa),count:qa.length}]);var kd=-1/0,jd=1/0;function Fd(){for(var Ld=Math.max(kd,-fd);Ld<=Math.min(jd,fd);Ld+=2){var Hd=void 0,Gd=Nd[Ld-1],Vd=Nd[Ld+1];Gd&&(Nd[Ld-1]=void 0);var Kd=!1;if(Vd){var mf=Vd.oldPos-Ld;Kd=Vd&&0<=mf&&mf<dd}var Wd=Gd&&Gd.oldPos+1<pd;if(!Kd&&!Wd){Nd[Ld]=void 0;continue}if(!Wd||Kd&&Gd.oldPos+1<Vd.oldPos?Hd=ud.addToPath(Vd,!0,void 0,0):Hd=ud.addToPath(Gd,void 0,!0,1),Id=ud.extractCommon(Hd,qa,Ra,Ld),Hd.oldPos+1>=pd&&Id+1>=dd)return cd(Su(ud,Hd.lastComponent,qa,Ra,ud.useLongestToken));Nd[Ld]=Hd,Hd.oldPos+1>=pd&&(jd=Math.min(jd,Ld-1)),Id+1>=dd&&(kd=Math.max(kd,Ld+1))}fd++}if(ld)(function Ld(){setTimeout(function(){if(fd>md||Date.now()>Ad)return ld();Fd()||Ld()},0)})();else for(;fd<=md&&Date.now()<=Ad;){var Md=Fd();if(Md)return Md}},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,cd=Ra.oldPos,dd=cd-od,pd=0;dd+1<ld&&cd+1<ud&&this.equals(qa[dd+1],nd[cd+1]);)dd++,cd++,pd++;return pd&&(Ra.lastComponent={count:pd,previousComponent:Ra.lastComponent}),Ra.oldPos=cd,dd},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=[],cd;qa;)ud.push(qa),cd=qa.previousComponent,delete qa.previousComponent,qa=cd;ud.reverse();for(var dd=0,pd=ud.length,fd=0,md=0;dd<pd;dd++){var vd=ud[dd];if(vd.removed){if(vd.value=Ra.join(od.slice(md,md+vd.count)),md+=vd.count,dd&&ud[dd-1].added){var Ad=ud[dd-1];ud[dd-1]=ud[dd],ud[dd]=Ad}}else{if(!vd.added&&ld){var Nd=nd.slice(fd,fd+vd.count);Nd=Nd.map(function(kd,jd){var Fd=od[md+jd];return Fd.length>kd.length?Fd:kd}),vd.value=Ra.join(Nd)}else vd.value=Ra.join(nd.slice(fd,fd+vd.count));fd+=vd.count,vd.added||(md+=vd.count)}}var Id=ud[pd-1];return pd>1&&typeof Id.value=="string"&&(Id.added||Id.removed)&&Ra.equals("",Id.value)&&(ud[pd-2].value+=Id.value,ud.pop()),ud}var lr=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,cr=/\S/,fr=new Z$3;fr.equals=function(Ra,qa){return this.options.ignoreCase&&(Ra=Ra.toLowerCase(),qa=qa.toLowerCase()),Ra===qa||this.options.ignoreWhitespace&&!cr.test(Ra)&&!cr.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$3;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$3;Nu.tokenize=function(Ra){return Ra.split(/(\S.+?[.!?])(?=\s+|$)/)};var Tu=new Z$3;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$3;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,cd){return typeof cd>"u"?nd:cd}:od;return typeof Ra=="string"?Ra:JSON.stringify(Bt$1(Ra,null,null,ld),ld," ")};Ae$3.equals=function(Ra,qa){return Z$3.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 cd;if(ku.call(Ra)==="[object Array]"){for(qa.push(Ra),cd=new Array(Ra.length),nd.push(cd),ud=0;ud<Ra.length;ud+=1)cd[ud]=Bt$1(Ra[ud],qa,nd,od,ld);return qa.pop(),nd.pop(),cd}if(Ra&&Ra.toJSON&&(Ra=Ra.toJSON()),$e$1(Ra)==="object"&&Ra!==null){qa.push(Ra),cd={},nd.push(cd);var dd=[],pd;for(pd in Ra)Ra.hasOwnProperty(pd)&&dd.push(pd);for(dd.sort(),ud=0;ud<dd.length;ud+=1)pd=dd[ud],cd[pd]=Bt$1(Ra[pd],qa,nd,od,pd);qa.pop(),nd.pop()}else cd=Ra;return cd}var Ve$1=new Z$3;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$3="string",W$3="array",z$2="cursor",L$2="indent",P$3="align",I$3="trim",x$3="group",S$1="fill",_$3="if-break",R$4="indent-if-break",Y$2="line-suffix",j$2="line-suffix-boundary",B$3="line",N$2="label",b$1="break-parent",Ue=new Set([z$2,L$2,P$3,I$3,x$3,S$1,_$3,R$4,Y$2,j$2,B$3,N$2,b$1]);function Lu(Ra){if(typeof Ra=="string")return U$3;if(Array.isArray(Ra))return W$3;if(!Ra)return;let{type:qa}=Ra;if(Ue.has(qa))return qa}var G$3=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$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=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));p_(this,"name","InvalidDocError");this.doc=nd}},Q$3=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 cd=G$3(ud);if(!cd)throw new Q$3(ud);if((qa==null?void 0:qa(ud))!==!1)switch(cd){case W$3:case S$1:{let dd=cd===W$3?ud:ud.parts;for(let pd=dd.length,fd=pd-1;fd>=0;--fd)ld.push(dd[fd]);break}case _$3:ld.push(ud.flatContents,ud.breakContents);break;case x$3:if(od&&ud.expandedStates)for(let dd=ud.expandedStates.length,pd=dd-1;pd>=0;--pd)ld.push(ud.expandedStates[pd]);else ld.push(ud.contents);break;case P$3:case L$2:case R$4:case N$2:case Y$2:ld.push(ud.contents);break;case U$3:case z$2:case I$3:case j$2:case B$3:case b$1:break;default:throw new Q$3(ud)}}}var we$3=Ru,hr$2=()=>{},ze$2=hr$2;function De$2(Ra){return{type:L$2,contents:Ra}}function ae$2(Ra,qa){return{type:P$3,contents:qa,n:Ra}}function _t$1(Ra,qa={}){return ze$2(qa.expandedStates),{type:x$3,id:qa.id,contents:Ra,break:!!qa.shouldBreak,expandedStates:qa.expandedStates}}function Cr(Ra){return ae$2(Number.NEGATIVE_INFINITY,Ra)}function gr(Ra){return ae$2({type:"root"},Ra)}function yr(Ra){return ae$2(-1,Ra)}function Ar(Ra,qa){return _t$1(Ra[0],{...qa,expandedStates:Ra})}function Ge$1(Ra){return{type:S$1,parts:Ra}}function Br(Ra,qa="",nd={}){return{type:_$3,breakContents:Ra,flatContents:qa,groupId:nd.groupId}}function wr(Ra,qa){return{type:R$4,contents:Ra,groupId:qa.groupId,negate:qa.negate}}function xe$2(Ra){return{type:Y$2,contents:Ra}}var xr={type:j$2},de$2={type:b$1},_r={type:I$3},_e$1={type:B$3,hard:!0},vt$2={type:B$3,hard:!0,literal:!0},Ke$2={type:B$3},vr={type:B$3,soft:!0},q$3=[_e$1,de$2],qe=[vt$2,de$2],ve$3={type:z$2};function be$3(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$2(qa%nd,od),od=ae$2(Number.NEGATIVE_INFINITY,od)}return od}function br$2(Ra,qa){return Ra?{type:N$2,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$3?{...Ra,contents:ee$2(Ra.contents),expandedStates:(qa=Ra.expandedStates)==null?void 0:qa.map(ee$2)}:Ra.type===S$1?{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,cd,dd){var pd,fd;if(typeof ud=="string")return JSON.stringify(ud);if(Array.isArray(ud)){let md=ud.map(od).filter(Boolean);return md.length===1?md[0]:`[${md.join(", ")}]`}if(ud.type===B$3){let md=((pd=dd==null?void 0:dd[cd+1])==null?void 0:pd.type)===b$1;return ud.literal?md?"literalline":"literallineWithoutBreakParent":ud.hard?md?"hardline":"hardlineWithoutBreakParent":ud.soft?"softline":"line"}if(ud.type===b$1)return((fd=dd==null?void 0:dd[cd-1])==null?void 0:fd.type)===B$3&&dd[cd-1].hard?void 0:"breakParent";if(ud.type===I$3)return"trim";if(ud.type===L$2)return"indent("+od(ud.contents)+")";if(ud.type===P$3)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$4){let md=[];ud.negate&&md.push("negate: true"),ud.groupId&&md.push(`groupId: ${ld(ud.groupId)}`);let vd=md.length>0?`, { ${md.join(", ")} }`:"";return`indentIfBreak(${od(ud.contents)}${vd})`}if(ud.type===x$3){let md=[];ud.break&&ud.break!=="propagated"&&md.push("shouldBreak: true"),ud.id&&md.push(`id: ${ld(ud.id)}`);let vd=md.length>0?`, { ${md.join(", ")} }`:"";return ud.expandedStates?`conditionalGroup([${ud.expandedStates.map(Ad=>od(Ad)).join(",")}]${vd})`:`group(${od(ud.contents)}${vd})`}if(ud.type===S$1)return`fill([${ud.parts.map(md=>od(md)).join(", ")}])`;if(ud.type===Y$2)return"lineSuffix("+od(ud.contents)+")";if(ud.type===j$2)return"lineSuffixBoundary";if(ud.type===N$2)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 cd=ud.description||"symbol";for(let dd=0;;dd++){let pd=cd+(dd>0?` #${dd}`:"");if(!nd.has(pd))return nd.add(pd),qa[ud]=`Symbol.for(${JSON.stringify(pd)})`}}}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$2=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 cd=ld(ud);return nd.set(ud,cd),cd}function ld(ud){switch(G$3(ud)){case W$3:return qa(ud.map(od));case S$1:return qa({...ud,parts:ud.parts.map(od)});case _$3:return qa({...ud,breakContents:od(ud.breakContents),flatContents:od(ud.flatContents)});case x$3:{let{expandedStates:cd,contents:dd}=ud;return cd?(cd=cd.map(od),dd=cd[0]):dd=od(dd),qa({...ud,contents:dd,expandedStates:cd})}case P$3:case L$2:case R$4:case N$2:case Y$2:return qa({...ud,contents:od(ud.contents)});case U$3:case z$2:case I$3:case j$2:case B$3:case b$1:return qa(ud);default:throw new Q$3(ud)}}}function Xe$1(Ra,qa,nd){let od=nd,ld=!1;function ud(cd){if(ld)return!1;let dd=qa(cd);dd!==void 0&&(ld=!0,od=dd)}return we$3(Ra,ud),od}function Wu(Ra){if(Ra.type===x$3&&Ra.break||Ra.type===B$3&&Ra.hard||Ra.type===b$1)return!0}function Ir(Ra){return Xe$1(Ra,Wu,!1)}function Lr(Ra){if(Ra.length>0){let qa=y$2(!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$1&&Lr(nd),ud.type===x$3){if(nd.push(ud),qa.has(ud))return!1;qa.add(ud)}}function ld(ud){ud.type===x$3&&nd.pop().break&&Lr(nd)}we$3(Ra,od,ld,!0)}function Mu(Ra){return Ra.type===B$3&&!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$2(!1,Ra,-2).type===B$3&&y$2(!1,Ra,-1).type===b$1;)Ra.length-=2;if(Ra.length>0){let qa=Se$3(y$2(!1,Ra,-1));Ra[Ra.length-1]=qa}return Ra}function Se$3(Ra){switch(G$3(Ra)){case L$2:case R$4:case x$3:case Y$2:case N$2:{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$1:return{...Ra,parts:Pr(Ra.parts)};case W$3:return Pr(Ra);case U$3:return Ra.replace(/[\n\r]*$/u,"");case P$3:case z$2:case I$3:case j$2:case B$3:case b$1:break;default:throw new Q$3(Ra)}return Ra}function Ze$1(Ra){return Se$3(Vu(Ra))}function $u(Ra){switch(G$3(Ra)){case S$1:if(Ra.parts.every(qa=>qa===""))return"";break;case x$3:if(!Ra.contents&&!Ra.id&&!Ra.break&&!Ra.expandedStates)return"";if(Ra.contents.type===x$3&&Ra.contents.id===Ra.id&&Ra.contents.break===Ra.break&&Ra.contents.expandedStates===Ra.expandedStates)return Ra.contents;break;case P$3:case L$2:case R$4:case Y$2:if(!Ra.contents)return"";break;case _$3:if(!Ra.flatContents&&!Ra.breakContents)return"";break;case W$3:{let qa=[];for(let nd of Ra){if(!nd)continue;let[od,...ld]=Array.isArray(nd)?nd:[nd];typeof od=="string"&&typeof y$2(!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$3:case z$2:case I$3:case j$2:case B$3:case N$2:case b$1:break;default:throw new Q$3(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$3(qa,nd.split(`
|
||
`)):nd)}function Uu(Ra){if(Ra.type===B$3)return!0}function Hr(Ra){return Xe$1(Ra,Uu,!1)}function Qe$1(Ra,qa){return Ra.type===N$2?{...Ra,contents:qa(Ra.contents)}:qa(Ra)}var H$3=Symbol("MODE_BREAK"),J$3=Symbol("MODE_FLAT"),Te$2=Symbol("cursor");function Wr(){return{value:"",length:0,queue:[]}}function zu(Ra,qa){return bt$1(Ra,{type:"indent"},qa)}function Gu(Ra,qa,nd){return qa===Number.NEGATIVE_INFINITY?Ra.root||Wr():qa<0?bt$1(Ra,{type:"dedent"},nd):qa?qa.type==="root"?{...Ra,root:Ra}:bt$1(Ra,{type:typeof qa=="string"?"stringAlign":"numberAlign",n:qa},nd):Ra}function bt$1(Ra,qa,nd){let od=qa.type==="dedent"?Ra.queue.slice(0,-1):[...Ra.queue,qa],ld="",ud=0,cd=0,dd=0;for(let Id of od)switch(Id.type){case"indent":md(),nd.useTabs?pd(1):fd(nd.tabWidth);break;case"stringAlign":md(),ld+=Id.n,ud+=Id.n.length;break;case"numberAlign":cd+=1,dd+=Id.n;break;default:throw new Error(`Unexpected type '${Id.type}'`)}return Ad(),{...Ra,value:ld,length:ud,queue:od};function pd(Id){ld+=" ".repeat(Id),ud+=nd.tabWidth*Id}function fd(Id){ld+=" ".repeat(Id),ud+=Id}function md(){nd.useTabs?vd():Ad()}function vd(){cd>0&&pd(cd),Nd()}function Ad(){dd>0&&fd(dd),Nd()}function Nd(){cd=0,dd=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 cd=ld[ud];if(cd===" "||cd===" ")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 cd=qa.length,dd=[Ra],pd=[];for(;nd>=0;){if(dd.length===0){if(cd===0)return!0;dd.push(qa[--cd]);continue}let{mode:fd,doc:md}=dd.pop(),vd=G$3(md);switch(vd){case U$3:pd.push(md),nd-=Oe$2(md);break;case W$3:case S$1:{let Ad=vd===W$3?md:md.parts;for(let Nd=Ad.length-1;Nd>=0;Nd--)dd.push({mode:fd,doc:Ad[Nd]});break}case L$2:case P$3:case R$4:case N$2:dd.push({mode:fd,doc:md.contents});break;case I$3:nd+=Ot$1(pd);break;case x$3:{if(ud&&md.break)return!1;let Ad=md.break?H$3:fd,Nd=md.expandedStates&&Ad===H$3?y$2(!1,md.expandedStates,-1):md.contents;dd.push({mode:Ad,doc:Nd});break}case _$3:{let Ad=(md.groupId?ld[md.groupId]||J$3:fd)===H$3?md.breakContents:md.flatContents;Ad&&dd.push({mode:fd,doc:Ad});break}case B$3:if(fd===H$3||md.hard)return!0;md.soft||(pd.push(" "),nd--);break;case Y$2:od=!0;break;case j$2:if(od)return!1;break}}return!1}function Fe$2(Ra,qa){let nd={},od=qa.printWidth,ld=Be$3(qa.endOfLine),ud=0,cd=[{ind:Wr(),mode:H$3,doc:Ra}],dd=[],pd=!1,fd=[],md=0;for(Rr(Ra);cd.length>0;){let{ind:Ad,mode:Nd,doc:Id}=cd.pop();switch(G$3(Id)){case U$3:{let kd=ld!==`
|
||
`?ne$3(!1,Id,`
|
||
`,ld):Id;dd.push(kd),cd.length>0&&(ud+=Oe$2(kd));break}case W$3:for(let kd=Id.length-1;kd>=0;kd--)cd.push({ind:Ad,mode:Nd,doc:Id[kd]});break;case z$2:if(md>=2)throw new Error("There are too many 'cursor' in doc.");dd.push(Te$2),md++;break;case L$2:cd.push({ind:zu(Ad,qa),mode:Nd,doc:Id.contents});break;case P$3:cd.push({ind:Gu(Ad,Id.n,qa),mode:Nd,doc:Id.contents});break;case I$3:ud-=Ot$1(dd);break;case x$3:switch(Nd){case J$3:if(!pd){cd.push({ind:Ad,mode:Id.break?H$3:J$3,doc:Id.contents});break}case H$3:{pd=!1;let kd={ind:Ad,mode:J$3,doc:Id.contents},jd=od-ud,Fd=fd.length>0;if(!Id.break&&et$2(kd,cd,jd,Fd,nd))cd.push(kd);else if(Id.expandedStates){let Md=y$2(!1,Id.expandedStates,-1);if(Id.break){cd.push({ind:Ad,mode:H$3,doc:Md});break}else for(let Ld=1;Ld<Id.expandedStates.length+1;Ld++)if(Ld>=Id.expandedStates.length){cd.push({ind:Ad,mode:H$3,doc:Md});break}else{let Hd=Id.expandedStates[Ld],Gd={ind:Ad,mode:J$3,doc:Hd};if(et$2(Gd,cd,jd,Fd,nd)){cd.push(Gd);break}}}else cd.push({ind:Ad,mode:H$3,doc:Id.contents});break}}Id.id&&(nd[Id.id]=y$2(!1,cd,-1).mode);break;case S$1:{let kd=od-ud,{parts:jd}=Id;if(jd.length===0)break;let[Fd,Md]=jd,Ld={ind:Ad,mode:J$3,doc:Fd},Hd={ind:Ad,mode:H$3,doc:Fd},Gd=et$2(Ld,[],kd,fd.length>0,nd,!0);if(jd.length===1){Gd?cd.push(Ld):cd.push(Hd);break}let Vd={ind:Ad,mode:J$3,doc:Md},Kd={ind:Ad,mode:H$3,doc:Md};if(jd.length===2){Gd?cd.push(Vd,Ld):cd.push(Kd,Hd);break}jd.splice(0,2);let mf={ind:Ad,mode:Nd,doc:Ge$1(jd)},Wd=jd[0];et$2({ind:Ad,mode:J$3,doc:[Fd,Md,Wd]},[],kd,fd.length>0,nd,!0)?cd.push(mf,Vd,Ld):Gd?cd.push(mf,Kd,Ld):cd.push(mf,Kd,Hd);break}case _$3:case R$4:{let kd=Id.groupId?nd[Id.groupId]:Nd;if(kd===H$3){let jd=Id.type===_$3?Id.breakContents:Id.negate?Id.contents:De$2(Id.contents);jd&&cd.push({ind:Ad,mode:Nd,doc:jd})}if(kd===J$3){let jd=Id.type===_$3?Id.flatContents:Id.negate?De$2(Id.contents):Id.contents;jd&&cd.push({ind:Ad,mode:Nd,doc:jd})}break}case Y$2:fd.push({ind:Ad,mode:Nd,doc:Id.contents});break;case j$2:fd.length>0&&cd.push({ind:Ad,mode:Nd,doc:_e$1});break;case B$3:switch(Nd){case J$3:if(Id.hard)pd=!0;else{Id.soft||(dd.push(" "),ud+=1);break}case H$3:if(fd.length>0){cd.push({ind:Ad,mode:Nd,doc:Id},...fd.reverse()),fd.length=0;break}Id.literal?Ad.root?(dd.push(ld,Ad.root.value),ud=Ad.root.length):(dd.push(ld),ud=0):(ud-=Ot$1(dd),dd.push(ld+Ad.value),ud=Ad.length);break}break;case N$2:cd.push({ind:Ad,mode:Nd,doc:Id.contents});break;case b$1:break;default:throw new Q$3(Id)}cd.length===0&&fd.length>0&&(cd.push(...fd.reverse()),fd.length=0)}let vd=dd.indexOf(Te$2);if(vd!==-1){let Ad=dd.indexOf(Te$2,vd+1),Nd=dd.slice(0,vd).join(""),Id=dd.slice(vd+1,Ad).join(""),kd=dd.slice(Ad+1).join("");return{formatted:Nd+Id+kd,cursorNodeStart:Nd.length,cursorNodeText:Id}}return{formatted:dd.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$2(!1,qa,nd===null?-2:-4)??null}get index(){return this.siblings===null?null:y$2(!1,this.stack,-2)}get node(){return y$2(!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$2(!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$2(!1,qa,-2):null}getValue(){return y$2(!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$2(!1,od,-1);for(let cd of nd)ud=ud[cd],od.push(cd,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$2(!1,od,-1);for(let cd of nd)ud=ud[cd],od.push(cd,ud);try{for(let cd=0;cd<ud.length;++cd)od.push(cd,ud[cd]),qa(this,cd,ud),od.length-=2}finally{od.length=ld}}map(qa,...nd){let od=[];return this.each((ld,ud,cd)=>{od[ud]=qa(ld,ud,cd)},...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 cd=null;if(typeof od=="number"&&(cd=od,od=this.stack[nd--],ld=this.stack[nd--]),ud&&!ud(ld,od,cd))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 cd=Ra[ud];if(Array.isArray(cd))for(let dd of cd)ld(dd)&&(yield dd);else ld(cd)&&(yield cd)}}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,cd=nd;for(;cd>=0&&cd<ud;){let dd=qa.charAt(cd);if(Ra instanceof RegExp){if(!Ra.test(dd))return cd}else if(!Ra.includes(dd))return cd;ld?cd--:cd++}return cd===-1||cd===ud?cd:!1}}var zr=Ee$3(/\s/u),T$2=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$2=Ju;function Xu(Ra,qa,nd={}){let od=T$2(Ra,nd.backwards?qa-1:qa,nd),ld=M$2(Ra,od,nd);return od!==ld}var V$2=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$3=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:cd}=qa;if(!od)return[];let dd=((nd==null?void 0:nd(Ra,qa))??[...Tt$1(Ra,{getVisitorKeys:X$3(ld)})]).flatMap(pd=>od(pd)?[pd]:ut$2(pd,qa));return dd.sort((pd,fd)=>ud(pd)-ud(fd)||cd(pd)-cd(fd)),Pt.set(Ra,dd),dd}function qr(Ra,qa,nd,od){let{locStart:ld,locEnd:ud}=nd,cd=ld(qa),dd=ud(qa),pd=ut$2(Ra,nd),fd,md,vd=0,Ad=pd.length;for(;vd<Ad;){let Nd=vd+Ad>>1,Id=pd[Nd],kd=ld(Id),jd=ud(Id);if(kd<=cd&&dd<=jd)return qr(Id,qa,nd,Id);if(jd<=cd){fd=Id,vd=Nd+1;continue}if(dd<=kd){md=Id,Ad=Nd;continue}throw new Error("Comment location overlaps with node location")}if((od==null?void 0:od.type)==="TemplateLiteral"){let{quasis:Nd}=od,Id=Rt$1(Nd,qa,nd);fd&&Rt$1(Nd,fd,nd)!==Id&&(fd=null),md&&Rt$1(Nd,md,nd)!==Id&&(md=null)}return{enclosingNode:od,precedingNode:fd,followingNode:md}}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:cd=!1}={},handleComments:dd={}},originalText:pd}=qa,{ownLine:fd=It$1,endOfLine:md=It$1,remaining:vd=It$1}=dd,Ad=nd.map((Nd,Id)=>({...qr(Ra,Nd,qa),comment:Nd,text:pd,options:qa,ast:Ra,isLastComment:nd.length-1===Id}));for(let[Nd,Id]of Ad.entries()){let{comment:kd,precedingNode:jd,enclosingNode:Fd,followingNode:Md,text:Ld,options:Hd,ast:Gd,isLastComment:Vd}=Id;if(Hd.parser==="json"||Hd.parser==="json5"||Hd.parser==="jsonc"||Hd.parser==="__js_expression"||Hd.parser==="__ts_expression"||Hd.parser==="__vue_expression"||Hd.parser==="__vue_ts_expression"){if(ld(kd)-ld(Gd)<=0){ue$2(Gd,kd);continue}if(ud(kd)-ud(Gd)>=0){oe$2(Gd,kd);continue}}let Kd;if(cd?Kd=[Id]:(kd.enclosingNode=Fd,kd.precedingNode=jd,kd.followingNode=Md,Kd=[kd,Ld,Hd,Gd,Vd]),ro(Ld,Hd,Ad,Nd))kd.placement="ownLine",fd(...Kd)||(Md?ue$2(Md,kd):jd?oe$2(jd,kd):re$2(Fd||Gd,kd));else if(no(Ld,Hd,Ad,Nd))kd.placement="endOfLine",md(...Kd)||(jd?oe$2(jd,kd):Md?ue$2(Md,kd):re$2(Fd||Gd,kd));else if(kd.placement="remaining",!vd(...Kd))if(jd&&Md){let mf=od.length;mf>0&&od[mf-1].followingNode!==Md&&Kr(od,Hd),od.push(Id)}else jd?oe$2(jd,kd):Md?ue$2(Md,kd):re$2(Fd||Gd,kd)}if(Kr(od,qa),!cd)for(let Nd of nd)delete Nd.precedingNode,delete Nd.enclosingNode,delete Nd.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:cd,locEnd:dd}=qa,pd=cd(ld);if(ud)for(let fd=od-1;fd>=0;fd--){let{comment:md,precedingNode:vd}=nd[fd];if(vd!==ud||!Xr(Ra.slice(dd(md),pd)))break;pd=cd(md)}return V$2(Ra,pd,{backwards:!0})}function no(Ra,qa,nd,od){let{comment:ld,followingNode:ud}=nd[od],{locStart:cd,locEnd:dd}=qa,pd=dd(ld);if(ud)for(let fd=od+1;fd<nd.length;fd++){let{comment:md,followingNode:vd}=nd[fd];if(vd!==ud||!Xr(Ra.slice(pd,cd(md))))break;pd=dd(md)}return V$2(Ra,pd)}function Kr(Ra,qa){var nd,od;let ld=Ra.length;if(ld===0)return;let{precedingNode:ud,followingNode:cd}=Ra[0],dd=qa.locStart(cd),pd;for(pd=ld;pd>0;--pd){let{comment:fd,precedingNode:md,followingNode:vd}=Ra[pd-1];ke$3.strictEqual(md,ud),ke$3.strictEqual(vd,cd);let Ad=qa.originalText.slice(qa.locEnd(fd),dd);if(((od=(nd=qa.printer).isGap)==null?void 0:od.call(nd,Ad,qa))??/^[\s(]*$/u.test(Ad))dd=qa.locStart(fd);else break}for(let[fd,{comment:md}]of Ra.entries())fd<pd?oe$2(ud,md):ue$2(cd,md);for(let fd of[ud,cd])fd.comments&&fd.comments.length>1&&fd.comments.sort((md,vd)=>qa.locStart(md)-qa.locStart(vd));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$2(Ra,nd,{backwards:!0}),nd=M$2(Ra,nd,{backwards:!0}),nd=T$2(Ra,nd,{backwards:!0});let od=M$2(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:cd,locStart:dd,locEnd:pd}=qa;if((nd=ud.isBlockComment)!=null&&nd.call(ud,od)){let md=V$2(cd,pd(od))?V$2(cd,dd(od),{backwards:!0})?q$3:Ke$2:" ";ld.push(md)}else ld.push(q$3);let fd=M$2(cd,T$2(cd,pd(od)));return fd!==!1&&V$2(cd,fd)&&ld.push(q$3),ld}function io(Ra,qa,nd){var od;let ld=Ra.node,ud=Zr(Ra,qa),{printer:cd,originalText:dd,locStart:pd}=qa,fd=(od=cd.isBlockComment)==null?void 0:od.call(cd,ld);if(nd!=null&&nd.hasLineSuffix&&!(nd!=null&&nd.isBlock)||V$2(dd,pd(ld),{backwards:!0})){let md=Le$3(dd,pd(ld));return{doc:xe$2([q$3,md?q$3:"",ud]),isBlock:fd,hasLineSuffix:!0}}return!fd||nd!=null&&nd.hasLineSuffix?{doc:[xe$2([" ",ud]),de$2],isBlock:fd,hasLineSuffix:!0}:{doc:[" ",ud],isBlock:fd,hasLineSuffix:!1}}function so(Ra,qa){let nd=Ra.node;if(!nd)return{};let od=qa[Symbol.for("printedComments")];if((nd.comments||[]).filter(dd=>!od.has(dd)).length===0)return{leading:"",trailing:""};let ld=[],ud=[],cd;return Ra.each(()=>{let dd=Ra.node;if(od!=null&&od.has(dd))return;let{leading:pd,trailing:fd}=dd;pd?ld.push(oo(Ra,qa)):fd&&(cd=io(Ra,qa,cd),ud.push(cd.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);p_(this,"name","ConfigError")}},Ie$2=class extends Error{constructor(){super(...arguments);p_(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 cd;return((cd=ud.defaultOptions)==null?void 0:cd[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 cd=nd.find(pd=>pd.parsers&&Object.prototype.hasOwnProperty.call(pd.parsers,ud)),dd=ld.name;cd!=null&&cd.name&&(dd+=` (plugin: ${cd.name})`),yield{value:ud,description:dd}}}}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$2(!1,ld.default,-1).value),qa.push(ld)}return qa}var co=Ra=>String(Ra).split(/[/\\]/u).pop();function nn$1(Ra,qa){if(!qa)return;let nd=co(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$1=(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$1=(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(cd=>fn$1(cd,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(cd=>cd.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 cd,dd,pd,fd,md=0,vd=0;for(;md<od;)dn$1[md]=Ra.charCodeAt(ud+md),jt[md]=++md;for(;vd<ld;)for(cd=qa.charCodeAt(ud+vd),pd=vd++,dd=vd,md=0;md<od;md++)fd=cd===dn$1[md]?pd:pd+1,pd=jt[md],dd=jt[md]=pd>dd?fd>dd?dd+1:fd:fd>pd?pd+1:fd;return dd}var at$3=(Ra,qa,{descriptor:nd,logger:od,schemas:ld})=>{let ud=[`Ignored unknown option ${Wt$2.default.yellow(nd.pair({key:Ra,value:qa}))}.`],cd=Object.keys(ld).sort().find(dd=>Ht$1(Ra,dd)<3);cd&&ud.push(`Did you mean ${Wt$2.default.blue(nd.key(cd))}?`),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$1.prototype[ld].length));return od}var O$1=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$1{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$1{expected(){return"anything"}validate(){return!0}},ct$1=class extends O$1{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:cd})=>({value:[cd]})))}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 cd=nd.normalizeRedirectResult(this._valueSchema.redirect(ud,nd),ud);"remain"in cd&&od.push(cd.remain),ld.push(...cd.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$1{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$1{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$1{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$1{expected(){return"a string"}validate(qa){return typeof qa=="string"}},wn=ie$2,xn=at$3,_n=cn$1,vn=an$1,Et=class{constructor(Ra,qa){let{logger:nd=console,loggerPrintWidth:od=80,descriptor:ld=wn,unknown:ud=xn,invalid:cd=_n,deprecated:dd=vn,missing:pd=()=>!1,required:fd=()=>!1,preprocess:md=Ad=>Ad,postprocess:vd=()=>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(cd),this._deprecatedHandler=dd,this._identifyMissing=(Ad,Nd)=>!(Ad in Nd)||pd(Ad,Nd),this._identifyRequired=fd,this._preprocess=md,this._postprocess=vd,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 cd=Mt$1(ud.default(this._utils));"value"in cd&&nd.push({[ld]:cd.value})}}od();for(let ld of Object.keys(this._utils.schemas)){if(!(ld in qa))continue;let ud=this._utils.schemas[ld],cd=qa[ld],dd=ud.postprocess(cd,this._utils);dd!==he$2&&(this._applyValidation(dd,ld,ud),qa[ld]=dd)}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 cd=this._utils.schemas[ud],dd=cd.preprocess(Ra[ud],this._utils);this._applyValidation(dd,ud,cd);let pd=({from:vd,to:Ad})=>{nd.push(typeof Ad=="string"?{[Ad]:vd}:{[Ad.key]:Ad.value})},fd=({value:vd,redirectTo:Ad})=>{let Nd=Ut$2(cd.deprecated(vd,this._utils),dd,!0);if(Nd!==!1)if(Nd===!0)this._hasDeprecationWarned(ud)||this._utils.logger.warn(this._deprecatedHandler(ud,Ad,this._utils));else for(let{value:Id}of Nd){let kd={key:ud,value:Id};if(!this._hasDeprecationWarned(kd)){let jd=typeof Ad=="string"?{key:Ad,value:Id}:Ad;this._utils.logger.warn(this._deprecatedHandler(kd,jd,this._utils))}}};pt$1(cd.forward(dd,this._utils),dd).forEach(pd);let md=zt$1(cd.redirect(dd,this._utils),dd);if(md.redirect.forEach(pd),"remain"in md){let vd=md.remain;qa[ud]=ud in qa?cd.overlap(qa[ud],vd,this._utils):vd,fd({value:vd})}for(let{from:vd,to:Ad}of md.redirect)fd({value:vd,redirectTo:Ad})}for(let ud of ld){let cd=Ra[ud];this._applyUnknownHandler(ud,cd,qa,(dd,pd)=>{nd.push({[dd]:pd})})}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 cd=ld[ud];ud in this._utils.schemas?od(ud,cd):nd[ud]=cd}}_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,(cd,dd)=>{let pd=this._utils.schemas[cd];this._applyValidation(dd,cd,pd),Ra[cd]=dd})}}}}},Gt$1;function go(Ra,qa,{logger:nd=!1,isCLI:od=!1,passThrough:ld=!1,FlagSchema:ud,descriptor:cd}={}){if(od){if(!ud)throw new Error("'FlagSchema' option is required.");if(!cd)throw new Error("'descriptor' option is required.")}else cd=ie$2;let dd=ld?Array.isArray(ld)?(Ad,Nd)=>ld.includes(Ad)?{[Ad]:Nd}:void 0:(Ad,Nd)=>({[Ad]:Nd}):(Ad,Nd,Id)=>{let{_:kd,...jd}=Id.schemas;return at$3(Ad,Nd,{...Id,schemas:jd})},pd=yo(qa,{isCLI:od,FlagSchema:ud}),fd=new Et(pd,{logger:nd,unknown:dd,descriptor:cd}),md=nd!==!1;md&&Gt$1&&(fd._hasDeprecationWarned=Gt$1);let vd=fd.normalize(Ra);return md&&(Gt$1=fd._hasDeprecationWarned),vd}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},cd,dd={};switch(Ra.type){case"int":cd=mt$1,qa&&(ud.preprocess=Number);break;case"string":cd=Re$3;break;case"choice":cd=dt$1,ud.choices=Ra.choices.map(pd=>pd!=null&&pd.redirect?{...pd,redirect:{to:{key:Ra.name,value:pd.redirect}}}:pd);break;case"boolean":cd=ft$1;break;case"flag":cd=od,ud.flags=nd.flatMap(pd=>[pd.alias,pd.description&&pd.name,pd.oppositeDescription&&`no-${pd.name}`].filter(Boolean));break;case"path":cd=Re$3;break;default:throw new Error(`Unexpected type ${Ra.type}`)}if(Ra.exception?ud.validate=(pd,fd,md)=>Ra.exception(pd)||fd.validate(pd,md):ud.validate=(pd,fd,md)=>pd===void 0||fd.validate(pd,md),Ra.redirect&&(dd.redirect=pd=>pd?{to:typeof Ra.redirect=="string"?Ra.redirect:{key:Ra.redirect.option,value:Ra.redirect.value}}:void 0),Ra.deprecated&&(dd.deprecated=!0),qa&&!Ra.array){let pd=ud.preprocess||(fd=>fd);ud.preprocess=(fd,md,vd)=>md.preprocess(pd(Array.isArray(fd)?y$2(!1,fd,-1):fd),vd)}return Ra.array?ct$1.create({...qa?{preprocess:pd=>Array.isArray(pd)?pd:[pd]}:{},...dd,valueSchema:cd.create(ud)}):cd.create({...ud,...dd})}var bn=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(Ad=>Ad.default!==void 0).map(Ad=>[Ad.name,Ad.default]))},cd=qt$2(od.plugins,od.parser),dd=await Jt$2(cd,od.parser);od.astFormat=dd.astFormat,od.locEnd=dd.locEnd,od.locStart=dd.locStart;let pd=(nd=cd.printers)!=null&&nd[dd.astFormat]?cd:On(od.plugins,dd.astFormat),fd=await Sn(pd,dd.astFormat);od.printer=fd;let md=pd.defaultOptions?Object.fromEntries(Object.entries(pd.defaultOptions).filter(([,Ad])=>Ad!==void 0)):{},vd={...ud,...md};for(let[Ad,Nd]of Object.entries(vd))(od[Ad]===null||od[Ad]===void 0)&&(od[Ad]=Nd);return od.parser==="json"&&(od.trailingComma="none"),bn(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$3=ko;async function Un(Ra,qa,nd,od,ld){let{embeddedLanguageFormatting:ud,printer:{embed:cd,hasPrettierIgnore:dd=()=>!1,getVisitorKeys:pd}}=nd;if(!cd||ud!=="auto")return;if(cd.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 fd=X$3(cd.getVisitorKeys??pd),md=[];Nd();let vd=Ra.stack;for(let{print:Id,node:kd,pathStack:jd}of md)try{Ra.stack=jd;let Fd=await Id(Ad,qa,Ra,nd);Fd&&ld.set(kd,Fd)}catch(Fd){if(globalThis.PRETTIER_DEBUG)throw Fd}Ra.stack=vd;function Ad(Id,kd){return Po(Id,kd,nd,od)}function Nd(){let{node:Id}=Ra;if(Id===null||typeof Id!="object"||dd(Ra))return;for(let jd of fd(Id))Array.isArray(Id[jd])?Ra.each(Nd,jd):Ra.call(Nd,jd);let kd=cd(Ra,nd);if(kd){if(typeof kd=="function"){md.push({print:kd,node:Id,pathStack:[...Ra.stack]});return}ld.set(Id,kd)}}}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$3(Ra,ld),cd=await od(ud,ld);return Ze$1(cd)}function Io(Ra,qa){let{originalText:nd,[Symbol.for("comments")]:od,locStart:ld,locEnd:ud,[Symbol.for("printedComments")]:cd}=qa,{node:dd}=Ra,pd=ld(dd),fd=ud(dd);for(let md of od)ld(md)>=pd&&ud(md)<=fd&&cd.add(md);return nd.slice(pd,fd)}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,cd,qa,Ye$2,ld);let ud=await Gn(od,qa,cd,void 0,ld);return en$1(qa),ud;function cd(pd,fd){return pd===void 0||pd===od?dd(fd):Array.isArray(pd)?od.call(()=>dd(fd),...pd):od.call(()=>dd(fd),pd)}function dd(pd){let fd=od.node;if(fd==null)return"";let md=fd&&typeof fd=="object"&&pd===void 0;if(md&&nd.has(fd))return nd.get(fd);let vd=Gn(od,qa,cd,pd,ld);return md&&nd.set(fd,vd),vd}}function Gn(Ra,qa,nd,od,ld){var ud;let{node:cd}=Ra,{printer:dd}=qa,pd;return(ud=dd.hasPrettierIgnore)!=null&&ud.call(dd,Ra)?pd=zn(Ra,qa):ld.has(cd)?pd=ld.get(cd):pd=dd.print(Ra,qa,nd,od),cd===qa.cursorNode&&(pd=Qe$1(pd,fd=>[ve$3,fd,ve$3])),dd.printComment&&(!dd.willPrintOwnComments||!dd.willPrintOwnComments(Ra,qa))&&(pd=Qr(Ra,pd,qa)),pd}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$3(qa.printer.getVisitorKeys),cd=pd=>od(pd)<=nd&&ld(pd)>=nd,dd=Ra;for(let pd of Ur(Ra,{getVisitorKeys:ud,filter:cd}))dd=pd;return dd}var Kn=Ro;function Yo(Ra,qa){let{printer:{massageAstNode:nd,getVisitorKeys:od}}=qa;if(!nd)return Ra;let ld=X$3(od),ud=nd.ignoredProperties??new Set;return cd(Ra);function cd(dd,pd){if(!(dd!==null&&typeof dd=="object"))return dd;if(Array.isArray(dd))return dd.map(Ad=>cd(Ad,pd)).filter(Boolean);let fd={},md=new Set(ld(dd));for(let Ad in dd)!Object.prototype.hasOwnProperty.call(dd,Ad)||ud.has(Ad)||(md.has(Ad)?fd[Ad]=cd(dd[Ad],dd):fd[Ad]=dd[Ad]);let vd=nd(dd,fd,pd);if(vd!==null)return vd??fd}}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 cd=nd(Ra.node);for(let pd of Xn(qa.parentNodes))if(nd(pd)>=cd)ud=pd;else break;let dd=od(qa.node);for(let pd of Xn(Ra.parentNodes)){if(od(pd)<=dd)ld=pd;else break;if(ld===ud)break}return{startNode:ld,endNode:ud}}function er(Ra,qa,nd,od,ld=[],ud){let{locStart:cd,locEnd:dd}=nd,pd=cd(Ra),fd=dd(Ra);if(!(qa>fd||qa<pd||ud==="rangeEnd"&&qa===pd||ud==="rangeStart"&&qa===fd)){for(let md of ut$2(Ra,nd)){let vd=er(md,qa,nd,od,[Ra,...ld],ud);if(vd)return vd}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:cd}=qa;ke$3.ok(ld>od);let dd=Ra.slice(od,ld).search(/\S/u),pd=dd===-1;if(!pd)for(od+=dd;ld>od&&!/\S/u.test(Ra[ld-1]);--ld);let fd=er(nd,od,qa,(Nd,Id)=>Zn(qa,Nd,Id),[],"rangeStart"),md=pd?fd:er(nd,ld,qa,Nd=>Zn(qa,Nd),[],"rangeEnd");if(!fd||!md)return{rangeStart:0,rangeEnd:0};let vd,Ad;if(Ho(qa)){let Nd=Wo(fd,md);vd=Nd,Ad=Nd}else({startNode:vd,endNode:Ad}=Mo(fd,md,qa));return{rangeStart:Math.min(ud(vd),ud(Ad)),rangeEnd:Math.max(cd(vd),cd(Ad))}}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$3(Ra,qa);qa.cursorOffset>=0&&(qa.cursorNode=Kn(od,qa));let ud=await Ye$2(od,qa);nd>0&&(ud=Je$1([q$3,ud],nd,qa.tabWidth));let cd=Fe$2(ud,qa);if(nd>0){let pd=cd.formatted.trim();cd.cursorNodeStart!==void 0&&(cd.cursorNodeStart-=cd.formatted.indexOf(pd)),cd.formatted=pd+Be$3(qa.endOfLine)}let dd=qa[Symbol.for("comments")];if(qa.cursorOffset>=0){let pd,fd,md,vd,Ad;if(qa.cursorNode&&cd.cursorNodeText?(pd=qa.locStart(qa.cursorNode),fd=ld.slice(pd,qa.locEnd(qa.cursorNode)),md=qa.cursorOffset-pd,vd=cd.cursorNodeStart,Ad=cd.cursorNodeText):(pd=0,fd=ld,md=qa.cursorOffset,vd=0,Ad=cd.formatted),fd===Ad)return{formatted:cd.formatted,cursorOffset:vd+md,comments:dd};let Nd=fd.split("");Nd.splice(md,0,tu);let Id=Ad.split(""),kd=dr(Nd,Id),jd=vd;for(let Fd of kd)if(Fd.removed){if(Fd.value.includes(tu))break}else jd+=Fd.count;return{formatted:cd.formatted,cursorOffset:jd,comments:dd}}return{formatted:cd.formatted,cursorOffset:-1,comments:dd}}async function Uo(Ra,qa){let{ast:nd,text:od}=await ce$3(Ra,qa),{rangeStart:ld,rangeEnd:ud}=eu(od,qa,nd),cd=od.slice(ld,ud),dd=Math.min(ld,od.lastIndexOf(`
|
||
`,ld)+1),pd=od.slice(dd,ld).match(/^\s*/u)[0],fd=me$3(pd,qa.tabWidth),md=await ou(cd,{...qa,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:qa.cursorOffset>ld&&qa.cursorOffset<=ud?qa.cursorOffset-ld:-1,endOfLine:"lf"},fd),vd=md.formatted.trimEnd(),{cursorOffset:Ad}=qa;Ad>ud?Ad+=vd.length-cd.length:md.cursorOffset>=0&&(Ad=md.cursorOffset+ld);let Nd=od.slice(0,ld)+vd+od.slice(ud);if(qa.endOfLine!=="lf"){let Id=Be$3(qa.endOfLine);Ad>=0&&Id===`\r
|
||
`&&(Ad+=wt$1(Nd.slice(0,Ad),`
|
||
`)),Nd=ne$3(!1,Nd,`
|
||
`,Id)}return{formatted:Nd,cursorOffset:Ad,comments:md.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),cd=Ra.charAt(0)===uu;if(cd&&(Ra=Ra.slice(1),nd--,od--,ld--),ud==="auto"&&(ud=Fr(Ra)),Ra.includes("\r")){let dd=pd=>wt$1(Ra.slice(0,Math.max(pd,0)),`\r
|
||
`);nd-=dd(nd),od-=dd(od),ld-=dd(ld),Ra=mr(Ra)}return{hasBOM:cd,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$3(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(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$3(Ra,qa);return Ye$2(nd,qa)}async function cu(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$3,line:Ke$2,softline:vr,hardline:q$3,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$2,addAlignmentToDoc:Je$1,markAsRoot:gr,dedentToRoot:Cr,dedent:yr,hardlineWithoutBreakParent:_e$1,literallineWithoutBreakParent:vt$2,label:br$2,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$2,hasNewlineInRange:()=>mu,hasSpaces:()=>Eu,isNextLineEmpty:()=>ci,isNextLineEmptyAfterIndex:()=>gt$1,isPreviousLineEmpty:()=>Di,makeString:()=>hu,skip:()=>Ee$3,skipEverythingButNewLine:()=>nt$2,skipInlineComment:()=>Ce$2,skipNewline:()=>M$2,skipSpaces:()=>T$2,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$2(Ra,od),od=Ce$2(Ra,od),od=ge$3(Ra,od),od=M$2(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$2(Ra,od);return od=ge$3(Ra,od),od=M$2(Ra,od),od!==!1&&V$2(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$2(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,cd,dd)=>cd===od?cd:dd===qa?"\\"+dd:dd||(nd&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(cd)?cd:"\\"+cd));return qa+ld+qa}var hu=oi;function ii(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(...arguments)}function ai(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(...arguments)}function li(Ra,qa,nd){return gt$1(Ra,nd(qa))}function ci(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),formatDoc:fe$3(Du),printToDoc:fe$3(lu),printDocToString:fe$3(cu)};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 cd=nd.block[`h${ud}`]["font-size"];nd.block[`h${ud}`]["font-size"]=`${od*Number.parseFloat(cd)}px`}return ld&&(nd.base["--md-primary-color"]=ld),nd}function customCssWithTemplate(Ra,qa,nd){const od=customizeTheme(nd,{color:qa}),ld=(dd,pd,fd)=>{fd.forEach(md=>{pd[md]&&(dd[md]=Object.assign(dd[md]||{},pd[md]))})},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"],cd=["strong","codespan","link","wx_link","listitem"];return ld(od.block,Ra,ud),ld(od.inline,Ra,cd),od}function css2json(Ra){Ra=Ra.replace(/\/\*[\s\S]*?\*\//g,"");const qa={},nd=od=>od.reduce((ld,ud)=>{const[cd,dd]=ud.split(":").map(pd=>pd.trim());return cd&&(ld[cd]=dd),ld},{});for(;Ra.includes("{")&&Ra.includes("}");){const od=Ra.indexOf("{"),ld=Ra.indexOf("}"),ud=Ra.substring(od+1,ld).split(";").map(pd=>pd.trim()).filter(Boolean),cd=Ra.substring(0,od).split(",").map(pd=>pd.trim()),dd=nd(ud);cd.forEach(pd=>{qa[pd]={...qa[pd]||{},...dd}}),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(cd){function dd(vd,Ad=["width","height","inlineSize","webkitLogicalWidth","webkitLogicalHeight"]){const Nd=getComputedStyle(vd,null);return Object.entries(Nd).filter(([Id])=>{const kd=Id.replace(/[A-Z]/g,jd=>`-${jd.toLowerCase()}`);return Nd.getPropertyValue(kd)&&!Ad.includes(Id)}).map(([Id,kd])=>`${Id.replace(/[A-Z]/g,Fd=>`-${Fd.toLowerCase()}`)}:${kd};`).join("")}switch(!0){case pd(cd):case fd(cd):case md(cd):cd.setAttribute("style",dd(cd))}cd.children.length&&Array.from(cd.children).forEach(vd=>ud(vd));function pd(vd){return vd.tagName==="PRE"&&Array.from(vd.classList).includes("code__pre")}function fd(vd){return vd==null?!1:vd.tagName==="CODE"}function md(vd){return vd.tagName==="SPAN"&&(fd(vd.parentElement)||fd(vd.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 cd=0;cd<nd;++cd){const dd=ld>1?ld-1:ld;ud.push(ld===1?"---":Ra[`k_${dd}_${cd}`]||" ")}od+=ud.join(" | "),od+=` |
|
||
`}return od}function toBase64$1(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),cd="";for(;ud.length>0;){const dd=BACKREF_RE.exec(ud);if(!dd){cd+=ud;break}cd+=ud.substring(0,dd.index),ud=ud.substring(dd.index+dd[0].length),dd[0][0]==="\\"&&dd[1]?cd+="\\"+String(Number(dd[1])+ld):(cd+=dd[0],dd[0]==="("&&nd++)}return cd}).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,cd){qa&&(cd=cd.map(dd=>dd.toLowerCase())),cd.forEach(function(dd){const pd=dd.split("|");od[pd[0]]=[ud,scoreForKeyword(pd[0],pd[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={},cd={};for(let dd=1;dd<=qa.length;dd++)cd[dd+od]=ld[dd],ud[dd+od]=!0,od+=countMatchGroups(qa[dd-1]);Ra[nd]=cd,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(cd,dd){return new RegExp(source(cd),"m"+(Ra.case_insensitive?"i":"")+(Ra.unicodeRegex?"u":"")+(dd?"g":""))}class nd{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(dd,pd){pd.position=this.position++,this.matchIndexes[this.matchAt]=pd,this.regexes.push([pd,dd]),this.matchAt+=countMatchGroups(dd)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const dd=this.regexes.map(pd=>pd[1]);this.matcherRe=qa(_rewriteBackreferences(dd,{joinWith:"|"}),!0),this.lastIndex=0}exec(dd){this.matcherRe.lastIndex=this.lastIndex;const pd=this.matcherRe.exec(dd);if(!pd)return null;const fd=pd.findIndex((vd,Ad)=>Ad>0&&vd!==void 0),md=this.matchIndexes[fd];return pd.splice(0,fd),Object.assign(pd,md)}}class od{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(dd){if(this.multiRegexes[dd])return this.multiRegexes[dd];const pd=new nd;return this.rules.slice(dd).forEach(([fd,md])=>pd.addRule(fd,md)),pd.compile(),this.multiRegexes[dd]=pd,pd}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(dd,pd){this.rules.push([dd,pd]),pd.type==="begin"&&this.count++}exec(dd){const pd=this.getMatcher(this.regexIndex);pd.lastIndex=this.lastIndex;let fd=pd.exec(dd);if(this.resumingScanAtSamePosition()&&!(fd&&fd.index===this.lastIndex)){const md=this.getMatcher(0);md.lastIndex=this.lastIndex+1,fd=md.exec(dd)}return fd&&(this.regexIndex+=fd.position+1,this.regexIndex===this.count&&this.considerAll()),fd}}function ld(cd){const dd=new od;return cd.contains.forEach(pd=>dd.addRule(pd.begin,{rule:pd,type:"begin"})),cd.terminatorEnd&&dd.addRule(cd.terminatorEnd,{type:"end"}),cd.illegal&&dd.addRule(cd.illegal,{type:"illegal"}),dd}function ud(cd,dd){const pd=cd;if(cd.isCompiled)return pd;[scopeClassName,compileMatch,MultiClass,beforeMatchExt].forEach(md=>md(cd,dd)),Ra.compilerExtensions.forEach(md=>md(cd,dd)),cd.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach(md=>md(cd,dd)),cd.isCompiled=!0;let fd=null;return typeof cd.keywords=="object"&&cd.keywords.$pattern&&(cd.keywords=Object.assign({},cd.keywords),fd=cd.keywords.$pattern,delete cd.keywords.$pattern),fd=fd||/\w+/,cd.keywords&&(cd.keywords=compileKeywords(cd.keywords,Ra.case_insensitive)),pd.keywordPatternRe=qa(fd,!0),dd&&(cd.begin||(cd.begin=/\B|\b/),pd.beginRe=qa(pd.begin),!cd.end&&!cd.endsWithParent&&(cd.end=/\B|\b/),cd.end&&(pd.endRe=qa(pd.end)),pd.terminatorEnd=source(pd.end)||"",cd.endsWithParent&&dd.terminatorEnd&&(pd.terminatorEnd+=(cd.end?"|":"")+dd.terminatorEnd)),cd.illegal&&(pd.illegalRe=qa(cd.illegal)),cd.contains||(cd.contains=[]),cd.contains=[].concat(...cd.contains.map(function(md){return expandOrCloneMode(md==="self"?cd:md)})),cd.contains.forEach(function(md){ud(md,pd)}),cd.starts&&ud(cd.starts,dd),pd.matcher=ld(pd),pd}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$1="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?",cd={disableAutodetect:!0,name:"Plain text",contains:[]};let dd={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:TokenTreeEmitter};function pd(Af){return dd.noHighlightRe.test(Af)}function fd(Af){let Lf=Af.className+" ";Lf+=Af.parentNode?Af.parentNode.className:"";const Xf=dd.languageDetectRe.exec(Lf);if(Xf){const Jf=Wd(Xf[1]);return Jf||(warn(ud.replace("{}",Xf[1])),warn("Falling back to no-highlight mode for this block.",Af)),Jf?Xf[1]:"no-highlight"}return Lf.split(/\s+/).find(Jf=>pd(Jf)||Wd(Jf))}function md(Af,Lf,Xf){let Jf="",Zf="";typeof Lf=="object"?(Jf=Af,Xf=Lf.ignoreIllegals,Zf=Lf.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`),Zf=Af,Jf=Lf),Xf===void 0&&(Xf=!0);const Bf={code:Jf,language:Zf};gf("before:highlight",Bf);const Df=Bf.result?Bf.result:vd(Bf.language,Bf.code,Xf);return Df.code=Bf.code,gf("after:highlight",Df),Df}function vd(Af,Lf,Xf,Jf){const Zf=Object.create(null);function Bf(cm,Sm){return cm.keywords[Sm]}function Df(){if(!Wf.keywords){vh.addText(ph);return}let cm=0;Wf.keywordPatternRe.lastIndex=0;let Sm=Wf.keywordPatternRe.exec(ph),$m="";for(;Sm;){$m+=ph.substring(cm,Sm.index);const fh=Qf.case_insensitive?Sm[0].toLowerCase():Sm[0],Rf=Bf(Wf,fh);if(Rf){const[If,dh]=Rf;if(vh.addText($m),$m="",Zf[fh]=(Zf[fh]||0)+1,Zf[fh]<=MAX_KEYWORD_HITS&&(Vh+=dh),If.startsWith("_"))$m+=Sm[0];else{const yh=Qf.classNameAliases[If]||If;zf(Sm[0],yh)}}else $m+=Sm[0];cm=Wf.keywordPatternRe.lastIndex,Sm=Wf.keywordPatternRe.exec(ph)}$m+=ph.substring(cm),vh.addText($m)}function Uf(){if(ph==="")return;let cm=null;if(typeof Wf.subLanguage=="string"){if(!qa[Wf.subLanguage]){vh.addText(ph);return}cm=vd(Wf.subLanguage,ph,!0,Th[Wf.subLanguage]),Th[Wf.subLanguage]=cm._top}else cm=Nd(ph,Wf.subLanguage.length?Wf.subLanguage:null);Wf.relevance>0&&(Vh+=cm.relevance),vh.__addSublanguage(cm._emitter,cm.language)}function Gf(){Wf.subLanguage!=null?Uf():Df(),ph=""}function zf(cm,Sm){cm!==""&&(vh.startScope(Sm),vh.addText(cm),vh.endScope())}function Tf(cm,Sm){let $m=1;const fh=Sm.length-1;for(;$m<=fh;){if(!cm._emit[$m]){$m++;continue}const Rf=Qf.classNameAliases[cm[$m]]||cm[$m],If=Sm[$m];Rf?zf(If,Rf):(ph=If,Df(),ph=""),$m++}}function vf(cm,Sm){return cm.scope&&typeof cm.scope=="string"&&vh.openNode(Qf.classNameAliases[cm.scope]||cm.scope),cm.beginScope&&(cm.beginScope._wrap?(zf(ph,Qf.classNameAliases[cm.beginScope._wrap]||cm.beginScope._wrap),ph=""):cm.beginScope._multi&&(Tf(cm.beginScope,Sm),ph="")),Wf=Object.create(cm,{parent:{value:Wf}}),Wf}function qf(cm,Sm,$m){let fh=startsWith$1(cm.endRe,$m);if(fh){if(cm["on:end"]){const Rf=new Response$1(cm);cm["on:end"](Sm,Rf),Rf.isMatchIgnored&&(fh=!1)}if(fh){for(;cm.endsParent&&cm.parent;)cm=cm.parent;return cm}}if(cm.endsWithParent)return qf(cm.parent,Sm,$m)}function eh(cm){return Wf.matcher.regexIndex===0?(ph+=cm[0],1):(Nm=!0,0)}function ch(cm){const Sm=cm[0],$m=cm.rule,fh=new Response$1($m),Rf=[$m.__beforeBegin,$m["on:begin"]];for(const If of Rf)if(If&&(If(cm,fh),fh.isMatchIgnored))return eh(Sm);return $m.skip?ph+=Sm:($m.excludeBegin&&(ph+=Sm),Gf(),!$m.returnBegin&&!$m.excludeBegin&&(ph=Sm)),vf($m,cm),$m.returnBegin?0:Sm.length}function ih(cm){const Sm=cm[0],$m=Lf.substring(cm.index),fh=qf(Wf,cm,$m);if(!fh)return NO_MATCH;const Rf=Wf;Wf.endScope&&Wf.endScope._wrap?(Gf(),zf(Sm,Wf.endScope._wrap)):Wf.endScope&&Wf.endScope._multi?(Gf(),Tf(Wf.endScope,cm)):Rf.skip?ph+=Sm:(Rf.returnEnd||Rf.excludeEnd||(ph+=Sm),Gf(),Rf.excludeEnd&&(ph=Sm));do Wf.scope&&vh.closeNode(),!Wf.skip&&!Wf.subLanguage&&(Vh+=Wf.relevance),Wf=Wf.parent;while(Wf!==fh.parent);return fh.starts&&vf(fh.starts,cm),Rf.returnEnd?0:Sm.length}function Pf(){const cm=[];for(let Sm=Wf;Sm!==Qf;Sm=Sm.parent)Sm.scope&&cm.unshift(Sm.scope);cm.forEach(Sm=>vh.openNode(Sm))}let uh={};function xh(cm,Sm){const $m=Sm&&Sm[0];if(ph+=cm,$m==null)return Gf(),0;if(uh.type==="begin"&&Sm.type==="end"&&uh.index===Sm.index&&$m===""){if(ph+=Lf.slice(Sm.index,Sm.index+1),!ld){const fh=new Error(`0 width match regex (${Af})`);throw fh.languageName=Af,fh.badRule=uh.rule,fh}return 1}if(uh=Sm,Sm.type==="begin")return ch(Sm);if(Sm.type==="illegal"&&!Xf){const fh=new Error('Illegal lexeme "'+$m+'" for mode "'+(Wf.scope||"<unnamed>")+'"');throw fh.mode=Wf,fh}else if(Sm.type==="end"){const fh=ih(Sm);if(fh!==NO_MATCH)return fh}if(Sm.type==="illegal"&&$m==="")return 1;if(fm>1e5&&fm>Sm.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ph+=$m,$m.length}const Qf=Wd(Af);if(!Qf)throw error(ud.replace("{}",Af)),new Error('Unknown language: "'+Af+'"');const wf=compileLanguage(Qf);let $f="",Wf=Jf||wf;const Th={},vh=new dd.__emitter(dd);Pf();let ph="",Vh=0,wh=0,fm=0,Nm=!1;try{if(Qf.__emitTokens)Qf.__emitTokens(Lf,vh);else{for(Wf.matcher.considerAll();;){fm++,Nm?Nm=!1:Wf.matcher.considerAll(),Wf.matcher.lastIndex=wh;const cm=Wf.matcher.exec(Lf);if(!cm)break;const Sm=Lf.substring(wh,cm.index),$m=xh(Sm,cm);wh=cm.index+$m}xh(Lf.substring(wh))}return vh.finalize(),$f=vh.toHTML(),{language:Af,value:$f,relevance:Vh,illegal:!1,_emitter:vh,_top:Wf}}catch(cm){if(cm.message&&cm.message.includes("Illegal"))return{language:Af,value:escape$4(Lf),illegal:!0,relevance:0,_illegalBy:{message:cm.message,index:wh,context:Lf.slice(wh-100,wh+100),mode:cm.mode,resultSoFar:$f},_emitter:vh};if(ld)return{language:Af,value:escape$4(Lf),illegal:!1,relevance:0,errorRaised:cm,_emitter:vh,_top:Wf};throw cm}}function Ad(Af){const Lf={value:escape$4(Af),illegal:!1,relevance:0,_top:cd,_emitter:new dd.__emitter(dd)};return Lf._emitter.addText(Af),Lf}function Nd(Af,Lf){Lf=Lf||dd.languages||Object.keys(qa);const Xf=Ad(Af),Jf=Lf.filter(Wd).filter(Xd).map(Gf=>vd(Gf,Af,!1));Jf.unshift(Xf);const Zf=Jf.sort((Gf,zf)=>{if(Gf.relevance!==zf.relevance)return zf.relevance-Gf.relevance;if(Gf.language&&zf.language){if(Wd(Gf.language).supersetOf===zf.language)return 1;if(Wd(zf.language).supersetOf===Gf.language)return-1}return 0}),[Bf,Df]=Zf,Uf=Bf;return Uf.secondBest=Df,Uf}function Id(Af,Lf,Xf){const Jf=Lf&&nd[Lf]||Xf;Af.classList.add("hljs"),Af.classList.add(`language-${Jf}`)}function kd(Af){let Lf=null;const Xf=fd(Af);if(pd(Xf))return;if(gf("before:highlightElement",{el:Af,language:Xf}),Af.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",Af);return}if(Af.children.length>0&&(dd.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(Af)),dd.throwUnescapedHTML))throw new HTMLInjectionError("One of your code blocks includes unescaped HTML.",Af.innerHTML);Lf=Af;const Jf=Lf.textContent,Zf=Xf?md(Jf,{language:Xf,ignoreIllegals:!0}):Nd(Jf);Af.innerHTML=Zf.value,Af.dataset.highlighted="yes",Id(Af,Xf,Zf.language),Af.result={language:Zf.language,re:Zf.relevance,relevance:Zf.relevance},Zf.secondBest&&(Af.secondBest={language:Zf.secondBest.language,relevance:Zf.secondBest.relevance}),gf("after:highlightElement",{el:Af,result:Zf,text:Jf})}function jd(Af){dd=inherit$2(dd,Af)}const Fd=()=>{Hd(),deprecated("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Md(){Hd(),deprecated("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Ld=!1;function Hd(){if(document.readyState==="loading"){Ld=!0;return}document.querySelectorAll(dd.cssSelector).forEach(kd)}function Gd(){Ld&&Hd()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Gd,!1);function Vd(Af,Lf){let Xf=null;try{Xf=Lf(Ra)}catch(Jf){if(error("Language definition for '{}' could not be registered.".replace("{}",Af)),ld)error(Jf);else throw Jf;Xf=cd}Xf.name||(Xf.name=Af),qa[Af]=Xf,Xf.rawDefinition=Lf.bind(null,Ra),Xf.aliases&&Zd(Xf.aliases,{languageName:Af})}function Kd(Af){delete qa[Af];for(const Lf of Object.keys(nd))nd[Lf]===Af&&delete nd[Lf]}function mf(){return Object.keys(qa)}function Wd(Af){return Af=(Af||"").toLowerCase(),qa[Af]||qa[nd[Af]]}function Zd(Af,{languageName:Lf}){typeof Af=="string"&&(Af=[Af]),Af.forEach(Xf=>{nd[Xf.toLowerCase()]=Lf})}function Xd(Af){const Lf=Wd(Af);return Lf&&!Lf.disableAutodetect}function bf(Af){Af["before:highlightBlock"]&&!Af["before:highlightElement"]&&(Af["before:highlightElement"]=Lf=>{Af["before:highlightBlock"](Object.assign({block:Lf.el},Lf))}),Af["after:highlightBlock"]&&!Af["after:highlightElement"]&&(Af["after:highlightElement"]=Lf=>{Af["after:highlightBlock"](Object.assign({block:Lf.el},Lf))})}function yf(Af){bf(Af),od.push(Af)}function Ef(Af){const Lf=od.indexOf(Af);Lf!==-1&&od.splice(Lf,1)}function gf(Af,Lf){const Xf=Af;od.forEach(function(Jf){Jf[Xf]&&Jf[Xf](Lf)})}function xf(Af){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),kd(Af)}Object.assign(Ra,{highlight:md,highlightAuto:Nd,highlightAll:Hd,highlightElement:kd,highlightBlock:xf,configure:jd,initHighlighting:Fd,initHighlightingOnLoad:Md,registerLanguage:Vd,unregisterLanguage:Kd,listLanguages:mf,getLanguage:Wd,registerAliases:Zd,autoDetection:Xd,inherit:inherit$2,addPlugin:yf,removePlugin:Ef}),Ra.debugMode=function(){ld=!1},Ra.safeMode=function(){ld=!0},Ra.versionString=version$1,Ra.regex={concat:concat$2,lookahead,either,optional,anyNumberOfTimes};for(const Af in MODES)typeof MODES[Af]=="object"&&deepFreeze(MODES[Af]);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="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",pd="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",Nd="разделительстраниц разделительстрок символтабуляции "+"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 файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",Jf="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 типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",Df="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 деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",Uf="null истина ложь неопределено",Gf=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}"}]},vf={match:/[;()+\-:=,]/,className:"punctuation",relevance:0},qf=qa.inherit(qa.C_LINE_COMMENT_MODE),eh={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:nd,keyword:ud+pd},contains:[qf]},ch={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},ih={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:Uf},contains:[Gf,zf,Tf]},qf]},qa.inherit(qa.TITLE_MODE,{begin:nd})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:nd,keyword:ud,built_in:Nd,class:Jf,type:Df,literal:Uf},contains:[eh,ih,qf,ch,Gf,zf,Tf,vf]}}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(/;/,/$/),cd={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},dd={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},pd={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},fd={scope:"symbol",match:/%[si](?=".*")/},md={scope:"attribute",match:nd.concat(od,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:ld,contains:[{scope:"operator",match:/=\/?/},md,ud,cd,dd,pd,fd,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_$]*)/,cd={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,cd]},{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+",dd="\\b("+(nd+"#"+ud+"(\\."+ud+")?#("+od+")?")+"|"+ld+")",pd="[A-Za-z](_?[A-Za-z0-9.])*",fd=`[]\\{\\}%#'"`,md=qa.COMMENT("--","$"),vd={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:fd,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:pd,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:[md,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:dd,relevance:0},{className:"symbol",begin:"'"+pd},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:fd},{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:[md,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:fd},vd,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:fd}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:fd},vd]}}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(/--/,/$/),cd=qa.COMMENT(/\(\*/,/\*\)/,{contains:["self",ud]}),dd=[ud,cd,qa.HASH_COMMENT_MODE],pd=[/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/],fd=[/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(...fd),/\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(...pd),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[qa.UNDERSCORE_TITLE_MODE,ld]},...dd],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"],cd={className:"symbol",begin:"\\$"+nd.either(...ud)},dd={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:qa.C_NUMBER_RE}],relevance:0},pd={className:"subst",begin:"\\$\\{",end:"\\}",keywords:ld,contains:[]},fd={className:"string",begin:"`",end:"`",contains:[qa.BACKSLASH_ESCAPE,pd]};pd.contains=[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,fd,dd,qa.REGEXP_MODE];const md=pd.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,fd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,cd,dd,{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:md}]}]}],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:md}],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\\)",cd="[a-zA-Z_]\\w*::",pd="(?!struct)("+ud+"|"+od.optional(cd)+"[a-zA-Z_]\\w*"+od.optional("<[^<>]+>")+")",fd={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},vd={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})"/})]},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},nd.inherit(vd,{className:"string"}),{className:"string",begin:/<.*?>/},ld,nd.C_BLOCK_COMMENT_MODE]},Id={className:"title",begin:od.optional(cd)+nd.IDENT_RE,relevance:0},kd=od.optional(cd)+nd.IDENT_RE+"\\s*\\(",jd=["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"],Fd=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],Md=["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"],Vd={type:Fd,keyword:jd,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:Md},Kd={className:"function.dispatch",relevance:0,keywords:{_hint:Ld},begin:od.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,nd.IDENT_RE,od.lookahead(/(<[^<>]+>|)\s*\(/))},mf=[Kd,Nd,fd,ld,nd.C_BLOCK_COMMENT_MODE,Ad,vd],Wd={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:Vd,contains:mf.concat([{begin:/\(/,end:/\)/,keywords:Vd,contains:mf.concat(["self"]),relevance:0}]),relevance:0},Zd={className:"function",begin:"("+pd+"[\\*&\\s]+)+"+kd,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:Vd,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ud,keywords:Vd,relevance:0},{begin:kd,returnBegin:!0,contains:[Id],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[vd,Ad]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:Vd,relevance:0,contains:[ld,nd.C_BLOCK_COMMENT_MODE,vd,Ad,fd,{begin:/\(/,end:/\)/,keywords:Vd,relevance:0,contains:["self",ld,nd.C_BLOCK_COMMENT_MODE,vd,Ad,fd]}]},fd,ld,nd.C_BLOCK_COMMENT_MODE,Nd]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:Vd,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Wd,Zd,Kd,mf,[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:Vd,contains:["self",fd]},{begin:nd.IDENT_RE+"::",keywords:Vd},{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]+;/},cd={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},dd=qa.inherit(cd,{begin:/\(/,end:/\)/}),pd=qa.inherit(qa.APOS_STRING_MODE,{className:"string"}),fd=qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"}),md={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:[cd,fd,pd,dd,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[cd,dd,fd,pd]}]}]},qa.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},ud,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[fd]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[md],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[md],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:md}]},{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]+)\*/}],cd=[{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}],dd={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},pd={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},pd,dd,...ld,...ud,...cd,{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",cd={variants:[qa.COMMENT(";","$",{relevance:0}),qa.COMMENT("#cs","#ce"),qa.COMMENT("#comments-start","#comments-end")]},dd={begin:"\\$[A-z0-9_]+"},pd={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},fd={variants:[qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE]},md={className:"meta",begin:"#",end:"$",keywords:{keyword:od},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[pd,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},pd,cd]},vd={className:"symbol",begin:"@[A-z0-9_]+"},Ad={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[qa.inherit(qa.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[dd,pd,fd]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:nd,built_in:ud,literal:ld},contains:[cd,dd,pd,fd,md,vd,Ad]}}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,cd={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"]},dd={variants:[{match:[/(class|interface)\s+/,nd,/\s+(extends|implements)\s+/,nd]},{match:[/class\s+/,nd]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:cd};return{name:"X++",aliases:["x++"],keywords:cd,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:"$"},dd]}}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]},cd=qa.inherit(qa.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),dd={begin:/<<-?\s*(?=\w+)/,starts:{contains:[qa.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},pd={className:"string",begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,od,ud]};ud.contains.push(pd);const fd={match:/\\"/},md={className:"string",begin:/'/,end:/'/},vd={match:/\\'/},Ad={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},qa.NUMBER_MODE,od]},Nd=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],Id=qa.SHEBANG({binary:`(${Nd.join("|")})`,relevance:10}),kd={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[qa.inherit(qa.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},jd=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],Fd=["true","false"],Md={match:/(\/[a-z._-]+)+/},Ld=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],Hd=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],Gd=["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"],Vd=["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:jd,literal:Fd,built_in:[...Ld,...Hd,"set","shopt",...Gd,...Vd]},contains:[Id,qa.SHEBANG(),kd,Ad,cd,dd,Md,pd,fd,md,vd,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*::",dd="("+ld+"|"+nd.optional(ud)+"[a-zA-Z_]\\w*"+nd.optional("<[^<>]+>")+")",pd={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},md={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})"/})]},vd={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},Ad={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(md,{className:"string"}),{className:"string",begin:/<.*?>/},od,qa.C_BLOCK_COMMENT_MODE]},Nd={className:"title",begin:nd.optional(ud)+qa.IDENT_RE,relevance:0},Id=nd.optional(ud)+qa.IDENT_RE+"\\s*\\(",Fd={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"},Md=[Ad,pd,od,qa.C_BLOCK_COMMENT_MODE,vd,md],Ld={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:Fd,contains:Md.concat([{begin:/\(/,end:/\)/,keywords:Fd,contains:Md.concat(["self"]),relevance:0}]),relevance:0},Hd={begin:"("+dd+"[\\*&\\s]+)+"+Id,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:Fd,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ld,keywords:Fd,relevance:0},{begin:Id,returnBegin:!0,contains:[qa.inherit(Nd,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:Fd,relevance:0,contains:[od,qa.C_BLOCK_COMMENT_MODE,md,vd,pd,{begin:/\(/,end:/\)/,keywords:Fd,relevance:0,contains:["self",od,qa.C_BLOCK_COMMENT_MODE,md,vd,pd]}]},pd,od,qa.C_BLOCK_COMMENT_MODE,Ad]};return{name:"C",aliases:["h"],keywords:Fd,disableAutodetect:!0,illegal:"</",contains:[].concat(Ld,Hd,Md,[Ad,{begin:qa.IDENT_RE+"::",keywords:Fd},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},qa.TITLE_MODE]}]),exports:{preprocessor:Ad,strings:md,keywords:Fd}}}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})],cd={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},dd={className:"string",begin:/(#\d+)+/},pd={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},fd={className:"string",begin:'"',end:'"'},md={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:od,contains:[cd,dd,qa.NUMBER_MODE]},...ud]},vd=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],Ad={match:[/OBJECT/,/\s+/,nd.either(...vd),/\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},cd,dd,pd,fd,qa.NUMBER_MODE,Ad,md]}}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},cd=[{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=cd,{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(cd)}}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"},cd={begin:od,relevance:0},dd={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?/}]},pd={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}]},fd={scope:"regex",begin:/#"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE]},md=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),vd={scope:"punctuation",match:/,/,relevance:0},Ad=qa.COMMENT(";","$",{relevance:0}),Nd={className:"literal",begin:/\b(true|false|nil)\b/},Id={begin:"\\[|(#::?"+od+")?\\{",end:"[\\]\\}]",relevance:0},kd={className:"symbol",begin:"[:]{1,2}"+od},jd={begin:"\\(",end:"\\)"},Fd={endsWithParent:!0,relevance:0},Md={keywords:ud,className:"name",begin:od,relevance:0,starts:Fd},Ld=[vd,jd,pd,fd,md,Ad,kd,Id,dd,Nd,cd],Hd={beginKeywords:ld,keywords:{$pattern:od,keyword:ld},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:od,relevance:0,excludeEnd:!0,endsParent:!0}].concat(Ld)};return jd.contains=[Hd,Md,Fd],Fd.contains=Ld,Id.contains=Ld,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[vd,jd,pd,fd,md,Ad,kd,Id,dd,Nd]}}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 cd(dd){const pd=["npm","print"],fd=["yes","no","on","off"],md=["then","unless","until","loop","by","when","and","or","is","isnt","not"],vd=["var","const","let","function","static"],Ad=Gd=>Vd=>!Gd.includes(Vd),Nd={keyword:Ra.concat(md).filter(Ad(vd)),literal:qa.concat(fd),built_in:ud.concat(pd)},Id="[A-Za-z$_][0-9A-Za-z$_]*",kd={className:"subst",begin:/#\{/,end:/\}/,keywords:Nd},jd=[dd.BINARY_NUMBER_MODE,dd.inherit(dd.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[dd.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[dd.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[dd.BACKSLASH_ESCAPE,kd]},{begin:/"/,end:/"/,contains:[dd.BACKSLASH_ESCAPE,kd]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[kd,dd.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+Id},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];kd.contains=jd;const Fd=dd.inherit(dd.TITLE_MODE,{begin:Id}),Md="(\\(.*\\)\\s*)?\\B[-=]>",Ld={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:Nd,contains:["self"].concat(jd)}]},Hd={variants:[{match:[/class\s+/,Id,/\s+extends\s+/,Id]},{match:[/class\s+/,Id]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:Nd};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:Nd,illegal:/\/\*/,contains:[...jd,dd.COMMENT("###","###"),dd.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+Id+"\\s*=\\s*"+Md,end:"[-=]>",returnBegin:!0,contains:[Fd,Ld]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:Md,end:"[-=]>",returnBegin:!0,contains:[Ld]}]},Hd,{begin:Id+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return coffeescript_1=cd,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*::",dd="(?!struct)("+ld+"|"+nd.optional(ud)+"[a-zA-Z_]\\w*"+nd.optional("<[^<>]+>")+")",pd={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},md={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})"/})]},vd={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},Ad={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(md,{className:"string"}),{className:"string",begin:/<.*?>/},od,qa.C_BLOCK_COMMENT_MODE]},Nd={className:"title",begin:nd.optional(ud)+qa.IDENT_RE,relevance:0},Id=nd.optional(ud)+qa.IDENT_RE+"\\s*\\(",kd=["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"],Fd=["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"],Md=["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"],Gd={type:jd,keyword:kd,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:Fd},Vd={className:"function.dispatch",relevance:0,keywords:{_hint:Md},begin:nd.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,qa.IDENT_RE,nd.lookahead(/(<[^<>]+>|)\s*\(/))},Kd=[Vd,Ad,pd,od,qa.C_BLOCK_COMMENT_MODE,vd,md],mf={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:Gd,contains:Kd.concat([{begin:/\(/,end:/\)/,keywords:Gd,contains:Kd.concat(["self"]),relevance:0}]),relevance:0},Wd={className:"function",begin:"("+dd+"[\\*&\\s]+)+"+Id,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:Gd,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ld,keywords:Gd,relevance:0},{begin:Id,returnBegin:!0,contains:[Nd],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[md,vd]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:Gd,relevance:0,contains:[od,qa.C_BLOCK_COMMENT_MODE,md,vd,pd,{begin:/\(/,end:/\)/,keywords:Gd,relevance:0,contains:["self",od,qa.C_BLOCK_COMMENT_MODE,md,vd,pd]}]},pd,od,qa.C_BLOCK_COMMENT_MODE,Ad]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:Gd,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(mf,Wd,Vd,Kd,[Ad,{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:Gd,contains:["self",pd]},{begin:qa.IDENT_RE+"::",keywords:Gd},{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*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",cd="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",dd={$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"},pd={className:"subst",begin:/#\{/,end:/\}/,keywords:dd},fd={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},md={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:dd};function vd(Md,Ld){const Hd=[{begin:Md,end:Ld}];return Hd[0].contains=Hd,Hd}const Ad={className:"string",contains:[qa.BACKSLASH_ESCAPE,pd],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:vd("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:vd("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:vd(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:vd("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},Nd={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:vd("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:vd("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:vd(/\{/,/\}/)},{begin:"%q<",end:">",contains:vd("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},Id={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,pd],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},kd={className:"regexp",contains:[qa.BACKSLASH_ESCAPE,pd],variants:[{begin:"%r\\(",end:"\\)",contains:vd("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:vd("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:vd(/\{/,/\}/)},{begin:"%r<",end:">",contains:vd("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},jd={className:"meta",begin:"@\\[",end:"\\]",contains:[qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"})]},Fd=[md,Ad,Nd,kd,Id,jd,fd,qa.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[qa.HASH_COMMENT_MODE,qa.inherit(qa.TITLE_MODE,{begin:cd}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[qa.HASH_COMMENT_MODE,qa.inherit(qa.TITLE_MODE,{begin:cd})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[qa.HASH_COMMENT_MODE,qa.inherit(qa.TITLE_MODE,{begin:cd})],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:[Ad,{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 pd.contains=Fd,md.contains=Fd.slice(1),{name:"Crystal",aliases:["cr"],keywords:dd,contains:Fd}}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"],cd=["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"],dd={keyword:ud.concat(cd),built_in:nd,literal:ld},pd=qa.inherit(qa.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),fd={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},md={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},vd={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},Ad=qa.inherit(vd,{illegal:/\n/}),Nd={className:"subst",begin:/\{/,end:/\}/,keywords:dd},Id=qa.inherit(Nd,{illegal:/\n/}),kd={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},qa.BACKSLASH_ESCAPE,Id]},jd={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},Nd]},Fd=qa.inherit(jd,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},Id]});Nd.contains=[jd,kd,vd,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,fd,qa.C_BLOCK_COMMENT_MODE],Id.contains=[Fd,kd,Ad,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,fd,qa.inherit(qa.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const Md={variants:[md,jd,kd,vd,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]},Ld={begin:"<",end:">",contains:[{beginKeywords:"in out"},pd]},Hd=qa.IDENT_RE+"(<"+qa.IDENT_RE+"(\\s*,\\s*"+qa.IDENT_RE+")*>)?(\\[\\])?",Gd={begin:"@"+qa.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:dd,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"}},Md,fd,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},pd,Ld,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[pd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[pd,Ld,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:"("+Hd+"\\s+)+"+qa.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:dd,contains:[{beginKeywords:od.join(" "),relevance:0},{begin:qa.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[qa.TITLE_MODE,Ld],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:dd,relevance:0,contains:[Md,fd,qa.C_BLOCK_COMMENT_MODE]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},Gd]}}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=fd=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:fd.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:[fd.APOS_STRING_MODE,fd.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:fd.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(),cd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),dd=["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 pd(fd){const md=fd.regex,vd=Ra(fd),Ad={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},Nd="and or not only",Id=/@-?\w[\w]*(-\w+)*/,kd="[a-zA-Z-][a-zA-Z0-9_-]*",jd=[fd.APOS_STRING_MODE,fd.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[vd.BLOCK_COMMENT,Ad,vd.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+kd,relevance:0},vd.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+ud.join("|")+")"},{begin:":(:)?("+cd.join("|")+")"}]},vd.CSS_VARIABLE,{className:"attribute",begin:"\\b("+dd.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[vd.BLOCK_COMMENT,vd.HEXCOLOR,vd.IMPORTANT,vd.CSS_NUMBER_MODE,...jd,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...jd,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},vd.FUNCTION_DISPATCH]},{begin:md.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:Id},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:Nd,attribute:ld.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...jd,vd.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+od.join("|")+")\\b"}]}}return css_1=pd,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_]+",cd="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",dd="0[xX]"+cd,pd="([eE][+-]?"+ld+")",fd="("+ld+"(\\.\\d*|"+pd+")|\\d+\\."+ld+"|\\."+od+pd+"?)",md="(0[xX]("+cd+"\\."+cd+"|\\.?"+cd+")[pP][+-]?"+ld+")",vd="("+od+"|"+ud+"|"+dd+")",Ad="("+md+"|"+fd+")",Nd=`\\\\(['"\\?\\\\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,};`,Id={className:"number",begin:"\\b"+vd+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},kd={className:"number",begin:"\\b("+Ad+"([fF]|L|i|[fF]i|Li)?|"+vd+"(i|[fF]i|Li))",relevance:0},jd={className:"string",begin:"'("+Nd+"|.)",end:"'",illegal:"."},Md={className:"string",begin:'"',contains:[{begin:Nd,relevance:0}],end:'"[cwd]?'},Ld={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},Hd={className:"string",begin:"`",end:"`[cwd]?"},Gd={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},Vd={className:"string",begin:'q"\\{',end:'\\}"'},Kd={className:"meta",begin:"^#!",end:"$",relevance:5},mf={className:"meta",begin:"#(line)",end:"$",relevance:5},Wd={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,Gd,Md,Ld,Hd,Vd,kd,Id,jd,Kd,mf,Wd]}}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}]},cd={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},dd={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},pd=/[A-Za-z][A-Za-z0-9+.-]*/,fd={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:nd.concat(/\[.+?\]\(/,pd,/:\/\/.*?\)/),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}]},md={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},vd={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},Ad=qa.inherit(md,{contains:[]}),Nd=qa.inherit(vd,{contains:[]});md.contains.push(Nd),vd.contains.push(Ad);let Id=[od,fd];return[md,vd,Ad,Nd].forEach(Md=>{Md.contains=Md.contains.concat(Id)}),Id=Id.concat(md,vd),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:Id},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:Id}]}]},od,cd,md,vd,{className:"quote",begin:"^>\\s+",contains:Id,end:"$"},ud,ld,fd,dd,{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"],cd=ud.map(fd=>`${fd}?`);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(cd).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:/''/}]},cd={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}]},dd={className:"string",variants:[{match:/#\d[\d_]*/},{match:/#\$[\dA-Fa-f][\dA-Fa-f_]*/},{match:/#&[0-7][0-7_]*/},{match:/#%[01][01_]*/}]},pd={begin:qa.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[qa.TITLE_MODE]},fd={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,dd,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,dd,cd,pd,fd,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/},cd={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},dd={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},pd={className:"params",relevance:0,begin:"<",end:">",contains:[od,ud]},fd={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},md={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},vd={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},Ad={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},Nd={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[md,ud,cd,dd,fd,Ad,vd,pd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,od,nd,ld,Nd,{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*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",dd={$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"]},pd={className:"subst",begin:/#\{/,end:/\}/,keywords:dd},fd={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},vd={match:/\\[\s\S]/,scope:"char.escape",relevance:0},Ad=`[/|([{<"']`,Nd=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],Id=Vd=>({scope:"char.escape",begin:nd.concat(/\\/,Vd),relevance:0}),kd={className:"string",begin:"~[a-z](?="+Ad+")",contains:Nd.map(Vd=>qa.inherit(Vd,{contains:[Id(Vd.end),vd,pd]}))},jd={className:"string",begin:"~[A-Z](?="+Ad+")",contains:Nd.map(Vd=>qa.inherit(Vd,{contains:[Id(Vd.end)]}))},Fd={className:"regex",variants:[{begin:"~r(?="+Ad+")",contains:Nd.map(Vd=>qa.inherit(Vd,{end:nd.concat(Vd.end,/[uismxfU]{0,7}/),contains:[Id(Vd.end),vd,pd]}))},{begin:"~R(?="+Ad+")",contains:Nd.map(Vd=>qa.inherit(Vd,{end:nd.concat(Vd.end,/[uismxfU]{0,7}/),contains:[Id(Vd.end)]}))}]},Md={className:"string",contains:[qa.BACKSLASH_ESCAPE,pd],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:/"/}]},Ld={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[qa.inherit(qa.TITLE_MODE,{begin:od,endsParent:!0})]},Hd=qa.inherit(Ld,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),Gd=[Md,Fd,jd,kd,qa.HASH_COMMENT_MODE,Hd,Ld,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[Md,{begin:ld}],relevance:0},{className:"symbol",begin:od+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},fd,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return pd.contains=Gd,{name:"Elixir",aliases:["ex","exs"],keywords:dd,contains:Gd}}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},cd={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]},cd,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+)*/),dd={"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"]},pd={className:"doctag",begin:"@[A-Za-z]+"},fd={begin:"#<",end:">"},md=[qa.COMMENT("#","$",{contains:[pd]}),qa.COMMENT("^=begin","^=end",{contains:[pd],relevance:10}),qa.COMMENT("^__END__",qa.MATCH_NOTHING_RE)],vd={className:"subst",begin:/#\{/,end:/\}/,keywords:dd},Ad={className:"string",contains:[qa.BACKSLASH_ESCAPE,vd],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,vd]})]}]},Nd="[1-9](_?[0-9])*|0",Id="[0-9](_?[0-9])*",kd={className:"number",relevance:0,variants:[{begin:`\\b(${Nd})(\\.(${Id}))?([eE][+-]?(${Id})|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"}]},jd={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:dd}]},Kd=[Ad,{variants:[{match:[/class\s+/,ud,/\s+<\s+/,ud]},{match:[/\b(class|module)\s+/,ud]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:dd},{match:[/(include|extend)\s+/,ud],scope:{2:"title.class"},keywords:dd},{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:[jd]},{begin:qa.IDENT_RE+"::"},{className:"symbol",begin:qa.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[Ad,{begin:od}],relevance:0},kd,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:dd},{begin:"("+qa.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[qa.BACKSLASH_ESCAPE,vd],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(fd,md),relevance:0}].concat(fd,md);vd.contains=Kd,jd.contains=Kd;const Xd=[{begin:/^\s*=>/,starts:{end:"$",contains:Kd}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:dd,contains:Kd}}];return md.unshift(fd),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:dd,illegal:/\/\*/,contains:[qa.SHEBANG({binary:"ruby"})].concat(Xd).concat(md).concat(Kd)}}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("%","$"),cd={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},dd={begin:"fun\\s+"+nd+"/\\d+"},pd={begin:od+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:od,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},fd={begin:/\{/,end:/\}/,relevance:0},md={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},vd={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},Ad={begin:"#"+qa.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+qa.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},Nd={scope:"string",match:/\$(\\([^0-9]|[0-9]{1,3}|)|.)/},Id={beginKeywords:"fun receive if try case",end:"end",keywords:ld};Id.contains=[ud,dd,qa.inherit(qa.APOS_STRING_MODE,{className:""}),Id,pd,qa.QUOTE_STRING_MODE,cd,fd,md,vd,Ad,Nd];const kd=[ud,dd,Id,pd,qa.QUOTE_STRING_MODE,cd,fd,md,vd,Ad,Nd];pd.contains[1].contains=kd,fd.contains=kd,Ad.contains[1].contains=kd;const jd=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],Fd={className:"params",begin:"\\(",end:"\\)",contains:kd};return{name:"Erlang",aliases:["erl"],keywords:ld,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+nd+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[Fd,qa.inherit(qa.TITLE_MODE,{begin:nd})],starts:{end:";|\\.",keywords:ld,contains:kd}},ud,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+qa.IDENT_RE,keyword:jd.map(Md=>`${Md}|1.5`).join(" ")},contains:[Fd]},cd,qa.QUOTE_STRING_MODE,Ad,md,vd,fd,Nd,{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]+)?/,cd=/([de][+-]?\d+)?/,dd={className:"number",variants:[{begin:nd.concat(/\b\d+/,/\.(\d*)/,cd,ud)},{begin:nd.concat(/\b\d+/,cd,ud)},{begin:nd.concat(/\.\d+/,cd,ud)}],relevance:0},pd={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[qa.UNDERSCORE_TITLE_MODE,od]},fd={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:[fd,pd,{begin:/^C\s*=(?!=)/,relevance:0},ld,dd]}}return fortran_1=Ra,fortran_1}var fsharp_1,hasRequiredFsharp;function requireFsharp(){if(hasRequiredFsharp)return fsharp_1;hasRequiredFsharp=1;function Ra(dd){return new RegExp(dd.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function qa(dd){return dd?typeof dd=="string"?dd:dd.source:null}function nd(dd){return od("(?=",dd,")")}function od(...dd){return dd.map(fd=>qa(fd)).join("")}function ld(dd){const pd=dd[dd.length-1];return typeof pd=="object"&&pd.constructor===Object?(dd.splice(dd.length-1,1),pd):{}}function ud(...dd){return"("+(ld(dd).capture?"":"?:")+dd.map(md=>qa(md)).join("|")+")"}function cd(dd){const pd=["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"],fd={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},md=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],vd=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],Ad=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],Nd=["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"],kd={keyword:pd,literal:vd,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":Ad},Fd={variants:[dd.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),dd.C_LINE_COMMENT_MODE]},Md=/[a-zA-Z_](\w|')*/,Ld={scope:"variable",begin:/``/,end:/``/},Hd=/\B('|\^)/,Gd={scope:"symbol",variants:[{match:od(Hd,/``.*?``/)},{match:od(Hd,dd.UNDERSCORE_IDENT_RE)}],relevance:0},Vd=function({includeEqual:Gf}){let zf;Gf?zf="!%&*+-/<=>@^|~?":zf="!%&*+-/<>@^|~?";const Tf=Array.from(zf),vf=od("[",...Tf.map(Ra),"]"),qf=ud(vf,/\./),eh=od(qf,nd(qf)),ch=ud(od(eh,qf,"*"),od(vf,"+"));return{scope:"operator",match:ud(ch,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},Kd=Vd({includeEqual:!0}),mf=Vd({includeEqual:!1}),Wd=function(Gf,zf){return{begin:od(Gf,nd(od(/\s*/,ud(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:zf,end:nd(ud(/\n/,/=/)),relevance:0,keywords:dd.inherit(kd,{type:Nd}),contains:[Fd,Gd,dd.inherit(Ld,{scope:null}),mf]}},Zd=Wd(/:/,"operator"),Xd=Wd(/\bof\b/,"keyword"),bf={begin:[/(^|\s+)/,/type/,/\s+/,Md],beginScope:{2:"keyword",4:"title.class"},end:nd(/\(|=|$/),keywords:kd,contains:[Fd,dd.inherit(Ld,{scope:null}),Gd,{scope:"operator",match:/<|>/},Zd]},yf={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},Ef={begin:[/^\s*/,od(/#/,ud(...md)),/\b/],beginScope:{2:"meta"},end:nd(/\s|$/)},gf={variants:[dd.BINARY_NUMBER_MODE,dd.C_NUMBER_MODE]},xf={scope:"string",begin:/"/,end:/"/,contains:[dd.BACKSLASH_ESCAPE]},Af={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},dd.BACKSLASH_ESCAPE]},Lf={scope:"string",begin:/"""/,end:/"""/,relevance:2},Xf={scope:"subst",begin:/\{/,end:/\}/,keywords:kd},Jf={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},dd.BACKSLASH_ESCAPE,Xf]},Zf={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},dd.BACKSLASH_ESCAPE,Xf]},Bf={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},Xf],relevance:2},Df={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 Xf.contains=[Zf,Jf,Af,xf,Df,fd,Fd,Ld,Zd,yf,Ef,gf,Gd,Kd],{name:"F#",aliases:["fs","f#"],keywords:kd,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[fd,{variants:[Bf,Zf,Jf,Lf,Af,xf,Df]},Fd,Ld,bf,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[Ld,Lf,Af,xf,Df,gf]},Xd,Zd,yf,Ef,gf,Gd,Kd]}}return fsharp_1=cd,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:/\$/}]},cd={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]},dd={begin:"/",end:"/",keywords:od,contains:[cd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,qa.C_NUMBER_MODE]},pd=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,fd={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[cd,dd,{className:"comment",begin:nd.concat(pd,nd.anyNumberOfTimes(nd.concat(/[ ]+/,pd))),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,dd,fd]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[fd]},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}]},cd=[{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]}],dd={className:"title",begin:qa.UNDERSCORE_IDENT_RE,relevance:0},pd=function(Nd,Id,kd){const jd=qa.inherit({className:"function",beginKeywords:Nd,end:Id,excludeEnd:!0,contains:[].concat(cd)},{});return jd.contains.push(dd),jd.contains.push(qa.C_NUMBER_MODE),jd.contains.push(qa.C_BLOCK_COMMENT_MODE),jd.contains.push(od),jd},fd={className:"built_in",begin:"\\b("+nd.built_in.split(" ").join("|")+")\\b"},md={className:"string",begin:'"',end:'"',contains:[qa.BACKSLASH_ESCAPE],relevance:0},vd={begin:qa.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:nd,relevance:0,contains:[{beginKeywords:nd.keyword},fd,{className:"built_in",begin:qa.UNDERSCORE_IDENT_RE,relevance:0}]},Ad={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:nd.built_in,literal:nd.literal},contains:[qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE,od,fd,vd,md,"self"]};return vd.contains.push(Ad),{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,md,ld,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},pd("proc keyword",";"),pd("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[qa.C_BLOCK_COMMENT_MODE,od,Ad]},{variants:[{begin:qa.UNDERSCORE_IDENT_RE+"\\."+qa.UNDERSCORE_IDENT_RE},{begin:qa.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},vd,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]+)"},cd=qa.inherit(qa.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+qa.C_NUMBER_RE}),dd=[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.COMMENT(/\(/,/\)/),cd,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:[cd],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(dd)}}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 cd={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:cd,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:cd,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]+"}]})]),cd={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[nd.BACKSLASH_ESCAPE]},dd=Ra([nd.BINARY_NUMBER_MODE,nd.C_NUMBER_MODE]),pd=Ra([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},nd.APOS_STRING_MODE,nd.QUOTE_STRING_MODE],{className:"string"}),fd={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,pd,cd,dd,fd,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:ld+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[ud,pd,cd,dd,"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=/""|"[^"]+"/,cd=/''|'[^']+'/,dd=/\[\]|\[[^\]]+\]/,pd=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,fd=/(\.|\/)/,md=nd.either(ud,cd,dd,pd),vd=nd.concat(nd.optional(/\.|\.\/|\//),md,nd.anyNumberOfTimes(nd.concat(fd,md))),Ad=nd.concat("(",dd,"|",pd,")(?==)"),Nd={begin:vd},Id=qa.inherit(Nd,{keywords:ld}),kd={begin:/\(/,end:/\)/},jd={className:"attr",begin:Ad,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[qa.NUMBER_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,Id,kd]}}},Fd={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},Md={contains:[qa.NUMBER_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,Fd,jd,Id,kd],returnEnd:!0},Ld=qa.inherit(Nd,{className:"name",keywords:od,starts:qa.inherit(Md,{end:/\)/})});kd.contains=[Ld];const Hd=qa.inherit(Nd,{keywords:od,className:"name",starts:qa.inherit(Md,{end:/\}\}/})}),Gd=qa.inherit(Nd,{keywords:od,className:"name"}),Vd=qa.inherit(Nd,{className:"name",keywords:od,starts:qa.inherit(Md,{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:[Hd],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[Gd]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[Hd]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[Gd]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[Vd]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[Vd]}]}}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]_*)+",fd="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",md={variants:[qa.COMMENT("--+","$"),qa.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},vd={className:"meta",begin:/\{-#/,end:/#-\}/},Ad={className:"meta",begin:"^#",end:"$"},Nd={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},Id={begin:"\\(",end:"\\)",illegal:'"',contains:[vd,Ad,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},qa.inherit(qa.TITLE_MODE,{begin:"[_a-z][\\w']*"}),md]},kd={begin:/\{/,end:/\}/,contains:Id.contains},jd={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:[Id,md],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[Id,md],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[Nd,Id,md]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[vd,Nd,Id,kd,md]},{beginKeywords:"default",end:"$",contains:[Nd,Id,md]},{beginKeywords:"infix infixl infixr",end:"$",contains:[qa.C_NUMBER_MODE,md]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[Nd,qa.QUOTE_STRING_MODE,md]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},vd,Ad,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},qa.QUOTE_STRING_MODE,jd,Nd,qa.inherit(qa.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${fd}--+|--+(?!-)${fd}`},md,{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}}]}},cd=[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:cd}},{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:cd}},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+)?",cd={begin:od,relevance:0},dd={className:"number",begin:ud,relevance:0},pd=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),fd=qa.COMMENT(";","$",{relevance:0}),md={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},vd={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},Ad={className:"comment",begin:"\\^"+od},Nd=qa.COMMENT("\\^\\{","\\}"),Id={className:"symbol",begin:"[:]{1,2}"+od},kd={begin:"\\(",end:"\\)"},jd={endsWithParent:!0,relevance:0},Fd={className:"name",relevance:0,keywords:ld,begin:od,starts:jd},Md=[kd,pd,Ad,Nd,fd,Id,vd,dd,md,cd];return kd.contains=[qa.COMMENT("comment",""),Fd,jd],jd.contains=Md,vd.contains=Md,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[qa.SHEBANG(),kd,pd,Ad,Nd,fd,Id,vd,dd,md]}}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:/\$\{(.*?)\}/}]},cd={className:"literal",begin:/\bon|off|true|false|yes|no\b/},dd={className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},pd={begin:/\[/,end:/\]/,contains:[ld,cd,ud,dd,od,"self"],relevance:0},fd=/[A-Za-z0-9_-]+/,md=/"(\\"|[^"])*"/,vd=/'[^']*'/,Ad=nd.either(fd,md,vd),Nd=nd.concat(Ad,"(\\s*\\.\\s*",Ad,")*",nd.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[ld,{className:"section",begin:/\[+/,end:/\]+/},{begin:Nd,className:"attr",starts:{end:/$/,contains:[ld,pd,cd,ud,dd,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+)?/,cd={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}),cd]}}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 пока ",Gf="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 ",wg="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 ",Tb="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Дат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",Jb="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 ВызовСпособ ИмяОтчета РеквЗнач ",Ug="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 ",Sb=Gf+wg,V0=Jb,x0="null true false nil ",__={className:"number",begin:qa.NUMBER_RE,relevance:0},C0={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},d0={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},z0={className:"comment",begin:"//",end:"$",relevance:0,contains:[qa.PHRASAL_WORDS_MODE,d0]},Hy={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[qa.PHRASAL_WORDS_MODE,d0]},Wy={variants:[z0,Hy]},p0={$pattern:nd,keyword:ld,built_in:Sb,class:V0,literal:x0},Ig={begin:"\\.\\s*"+qa.UNDERSCORE_IDENT_RE,keywords:p0,relevance:0},pb={className:"type",begin:":[ \\t]*("+Ug.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},$b={className:"variable",keywords:p0,begin:nd,relevance:0,contains:[pb,Ig]},f0=od+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:p0,illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:f0,end:"\\)$",returnBegin:!0,keywords:p0,illegal:"[\\[\\]\\|\\$\\?%,~#@]",contains:[{className:"title",keywords:{$pattern:nd,built_in:Tb},begin:f0,end:"\\(",returnBegin:!0,excludeEnd:!0},Ig,$b,C0,__,Wy]},pb,Ig,$b,C0,__,Wy]}}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(cd,dd,pd){return pd===-1?"":cd.replace(dd,fd=>ld(cd,dd,pd-1))}function ud(cd){const dd=cd.regex,pd="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",fd=pd+ld("(?:<"+pd+"~~~(?:\\s*,\\s*"+pd+"~~~)*>)?",/~~~/g,2),Id={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"]},kd={className:"meta",begin:"@"+pd,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},jd={className:"params",begin:/\(/,end:/\)/,keywords:Id,relevance:0,contains:[cd.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:Id,illegal:/<\/|#/,contains:[cd.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},cd.C_LINE_COMMENT_MODE,cd.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[cd.BACKSLASH_ESCAPE]},cd.APOS_STRING_MODE,cd.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,pd],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[dd.concat(/(?!else)/,pd),/\s+/,pd,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,pd],className:{1:"keyword",3:"title.class"},contains:[jd,cd.C_LINE_COMMENT_MODE,cd.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+fd+"\\s+)",cd.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:Id,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:Id,relevance:0,contains:[kd,cd.APOS_STRING_MODE,cd.QUOTE_STRING_MODE,od,cd.C_BLOCK_COMMENT_MODE]},cd.C_LINE_COMMENT_MODE,cd.C_BLOCK_COMMENT_MODE]},od,kd]}}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"],cd=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],dd=[].concat(ud,od,ld);function pd(fd){const md=fd.regex,vd=(Tf,{after:vf})=>{const qf="</"+Tf[0].slice(1);return Tf.input.indexOf(qf,vf)!==-1},Ad=Ra,Nd={begin:"<>",end:"</>"},Id=/<[A-Za-z0-9\\._:-]+\s*\/>/,kd={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Tf,vf)=>{const qf=Tf[0].length+Tf.index,eh=Tf.input[qf];if(eh==="<"||eh===","){vf.ignoreMatch();return}eh===">"&&(vd(Tf,{after:qf})||vf.ignoreMatch());let ch;const ih=Tf.input.substring(qf);if(ch=ih.match(/^\s*=/)){vf.ignoreMatch();return}if((ch=ih.match(/^\s+extends\s+/))&&ch.index===0){vf.ignoreMatch();return}}},jd={$pattern:Ra,keyword:qa,literal:nd,built_in:dd,"variable.language":cd},Fd="[0-9](_?[0-9])*",Md=`\\.(${Fd})`,Ld="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",Hd={className:"number",variants:[{begin:`(\\b(${Ld})((${Md})|\\.)?|(${Md}))[eE][+-]?(${Fd})\\b`},{begin:`\\b(${Ld})\\b((${Md})\\b|\\.)?|(${Md})\\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},Gd={className:"subst",begin:"\\$\\{",end:"\\}",keywords:jd,contains:[]},Vd={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[fd.BACKSLASH_ESCAPE,Gd],subLanguage:"xml"}},Kd={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[fd.BACKSLASH_ESCAPE,Gd],subLanguage:"css"}},mf={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[fd.BACKSLASH_ESCAPE,Gd],subLanguage:"graphql"}},Wd={className:"string",begin:"`",end:"`",contains:[fd.BACKSLASH_ESCAPE,Gd]},Xd={className:"comment",variants:[fd.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:Ad+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),fd.C_BLOCK_COMMENT_MODE,fd.C_LINE_COMMENT_MODE]},bf=[fd.APOS_STRING_MODE,fd.QUOTE_STRING_MODE,Vd,Kd,mf,Wd,{match:/\$\d+/},Hd];Gd.contains=bf.concat({begin:/\{/,end:/\}/,keywords:jd,contains:["self"].concat(bf)});const yf=[].concat(Xd,Gd.contains),Ef=yf.concat([{begin:/(\s*)\(/,end:/\)/,keywords:jd,contains:["self"].concat(yf)}]),gf={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:jd,contains:Ef},xf={variants:[{match:[/class/,/\s+/,Ad,/\s+/,/extends/,/\s+/,md.concat(Ad,"(",md.concat(/\./,Ad),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,Ad],scope:{1:"keyword",3:"title.class"}}]},Af={relevance:0,match:md.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]}},Lf={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Xf={variants:[{match:[/function/,/\s+/,Ad,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[gf],illegal:/%/},Jf={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Zf(Tf){return md.concat("(?!",Tf.join("|"),")")}const Bf={match:md.concat(/\b/,Zf([...ud,"super","import"].map(Tf=>`${Tf}\\s*\\(`)),Ad,md.lookahead(/\s*\(/)),className:"title.function",relevance:0},Df={begin:md.concat(/\./,md.lookahead(md.concat(Ad,/(?![0-9A-Za-z$_(])/))),end:Ad,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Uf={match:[/get|set/,/\s+/,Ad,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},gf]},Gf="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+fd.UNDERSCORE_IDENT_RE+")\\s*=>",zf={match:[/const|var|let/,/\s+/,Ad,/\s*/,/=\s*/,/(async\s*)?/,md.lookahead(Gf)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[gf]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:jd,exports:{PARAMS_CONTAINS:Ef,CLASS_REFERENCE:Af},illegal:/#(?![$_A-z])/,contains:[fd.SHEBANG({label:"shebang",binary:"node",relevance:5}),Lf,fd.APOS_STRING_MODE,fd.QUOTE_STRING_MODE,Vd,Kd,mf,Wd,Xd,{match:/\$\d+/},Hd,Af,{className:"attr",begin:Ad+md.lookahead(":"),relevance:0},zf,{begin:"("+fd.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[Xd,fd.REGEXP_MODE,{className:"function",begin:Gf,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:fd.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:jd,contains:Ef}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:Nd.begin,end:Nd.end},{match:Id},{begin:kd.begin,"on:begin":kd.isTrulyOpeningTag,end:kd.end}],subLanguage:"xml",contains:[{begin:kd.begin,end:kd.end,skip:!0,contains:["self"]}]}]},Xf,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+fd.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[gf,fd.inherit(fd.TITLE_MODE,{begin:Ad,className:"title.function"})]},{match:/\.\.\./,relevance:0},Df,{match:"\\$"+Ad,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[gf]},Bf,Jf,xf,Uf,{match:/\$[(.]/}]}}return javascript_1=pd,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\-.\/=]+/},cd={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,cd,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]*",cd={$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"]},dd={keywords:cd,illegal:/<\//},pd={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},fd={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},md={className:"subst",begin:/\$\(/,end:/\)/,keywords:cd},vd={className:"variable",begin:"\\$"+nd},Ad={className:"string",contains:[qa.BACKSLASH_ESCAPE,md,vd],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},Nd={className:"string",contains:[qa.BACKSLASH_ESCAPE,md,vd],begin:"`",end:"`"},Id={className:"meta",begin:"@"+nd},kd={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return dd.name="Julia",dd.contains=[pd,fd,Ad,Nd,Id,kd,qa.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],md.contains=dd.contains,dd}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 cd={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"},dd={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},pd={className:"symbol",begin:ud.UNDERSCORE_IDENT_RE+"@"},fd={className:"subst",begin:/\$\{/,end:/\}/,contains:[ud.C_NUMBER_MODE]},md={className:"variable",begin:"\\$"+ud.UNDERSCORE_IDENT_RE},vd={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[md,fd]},{begin:"'",end:"'",illegal:/\n/,contains:[ud.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[ud.BACKSLASH_ESCAPE,md,fd]}]};fd.contains.push(vd);const Ad={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+ud.UNDERSCORE_IDENT_RE+")?"},Nd={className:"meta",begin:"@"+ud.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[ud.inherit(vd,{className:"string"}),"self"]}]},Id=od,kd=ud.COMMENT("/\\*","\\*/",{contains:[ud.C_BLOCK_COMMENT_MODE]}),jd={variants:[{className:"type",begin:ud.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},Fd=jd;return Fd.variants[1].contains=[jd],jd.variants[1].contains=[Fd],{name:"Kotlin",aliases:["kt","kts"],keywords:cd,contains:[ud.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),ud.C_LINE_COMMENT_MODE,kd,dd,pd,Ad,Nd,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:cd,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:cd,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[jd,ud.C_LINE_COMMENT_MODE,kd],relevance:0},ud.C_LINE_COMMENT_MODE,kd,Ad,Nd,vd,ud.C_NUMBER_MODE]},kd]},{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},Ad,Nd]},vd,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
||
`},Id]}}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"},cd=qa.COMMENT("<!--","-->",{relevance:0}),dd={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[cd]}},pd={className:"meta",begin:"\\[/noprocess|"+od},fd={className:"symbol",begin:"'"+nd+"'"},md=[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:[fd]},{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:[cd]}},dd,pd,{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:[cd]}},dd,pd].concat(md)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(md)}}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(Xd=>Xd+"(?![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(Xd=>Xd+"(?![a-zA-Z:_])").join("|")),ud=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],cd=[{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]/}],dd={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:od},{endsParent:!0,begin:ld},{endsParent:!0,variants:cd},{endsParent:!0,relevance:0,variants:ud}]},pd={className:"params",relevance:0,begin:/#+\d?/},fd={variants:cd},md={className:"built_in",relevance:0,begin:/[$&^_]/},vd={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},Ad=qa.COMMENT("%","$",{relevance:0}),Nd=[dd,pd,fd,md,vd,Ad],Id={begin:/\{/,end:/\}/,relevance:0,contains:["self",...Nd]},kd=qa.inherit(Id,{relevance:0,endsParent:!0,contains:[Id,...Nd]}),jd={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[Id,...Nd]},Fd={begin:/\s+/,relevance:0},Md=[kd],Ld=[jd],Hd=function(Xd,bf){return{contains:[Fd],starts:{relevance:0,contains:Xd,starts:bf}}},Gd=function(Xd,bf){return{begin:"\\\\"+Xd+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+Xd},relevance:0,contains:[Fd],starts:bf}},Vd=function(Xd,bf){return qa.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+Xd+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},Hd(Md,bf))},Kd=(Xd="string")=>qa.END_SAME_AS_BEGIN({className:Xd,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),mf=function(Xd){return{className:"string",end:"(?=\\\\end\\{"+Xd+"\\})"}},Wd=(Xd="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:Xd,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),Zd=[...["verb","lstinline"].map(Xd=>Gd(Xd,{contains:[Kd()]})),Gd("mint",Hd(Md,{contains:[Kd()]})),Gd("mintinline",Hd(Md,{contains:[Wd(),Kd()]})),Gd("url",{contains:[Wd("link"),Wd("link")]}),Gd("hyperref",{contains:[Wd("link")]}),Gd("href",Hd(Ld,{contains:[Wd("link")]})),...[].concat(...["","\\*"].map(Xd=>[Vd("verbatim"+Xd,mf("verbatim"+Xd)),Vd("filecontents"+Xd,Hd(Md,mf("filecontents"+Xd))),...["","B","L"].map(bf=>Vd(bf+"Verbatim"+Xd,Hd(Ld,mf(bf+"Verbatim"+Xd))))])),Vd("minted",Hd(Ld,Hd(Md,mf("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...Zd,...Nd]}}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=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(),cd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),dd=["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(),pd=ud.concat(cd).sort().reverse();function fd(md){const vd=Ra(md),Ad=pd,Nd="and or not only",Id="[\\w-]+",kd="("+Id+"|@\\{"+Id+"\\})",jd=[],Fd=[],Md=function(yf){return{className:"string",begin:"~?"+yf+".*?"+yf}},Ld=function(yf,Ef,gf){return{className:yf,begin:Ef,relevance:gf}},Hd={$pattern:/[a-z-]+/,keyword:Nd,attribute:ld.join(" ")},Gd={begin:"\\(",end:"\\)",contains:Fd,keywords:Hd,relevance:0};Fd.push(md.C_LINE_COMMENT_MODE,md.C_BLOCK_COMMENT_MODE,Md("'"),Md('"'),vd.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},vd.HEXCOLOR,Gd,Ld("variable","@@?"+Id,10),Ld("variable","@\\{"+Id+"\\}"),Ld("built_in","~?`[^`]*?`"),{className:"attribute",begin:Id+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},vd.IMPORTANT,{beginKeywords:"and not"},vd.FUNCTION_DISPATCH);const Vd=Fd.concat({begin:/\{/,end:/\}/,contains:jd}),Kd={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(Fd)},mf={begin:kd+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},vd.CSS_VARIABLE,{className:"attribute",begin:"\\b("+dd.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:Fd}}]},Wd={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:Hd,returnEnd:!0,contains:Fd,relevance:0}},Zd={className:"variable",variants:[{begin:"@"+Id+"\\s*:",relevance:15},{begin:"@"+Id}],starts:{end:"[;}]",returnEnd:!0,contains:Vd}},Xd={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:kd,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[md.C_LINE_COMMENT_MODE,md.C_BLOCK_COMMENT_MODE,Kd,Ld("keyword","all\\b"),Ld("variable","@\\{"+Id+"\\}"),{begin:"\\b("+od.join("|")+")\\b",className:"selector-tag"},vd.CSS_NUMBER_MODE,Ld("selector-tag",kd,0),Ld("selector-id","#"+kd),Ld("selector-class","\\."+kd,0),Ld("selector-tag","&",0),vd.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+ud.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+cd.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:Vd},{begin:"!important"},vd.FUNCTION_DISPATCH]},bf={begin:Id+`:(:)?(${Ad.join("|")})`,returnBegin:!0,contains:[Xd]};return jd.push(md.C_LINE_COMMENT_MODE,md.C_BLOCK_COMMENT_MODE,Wd,Zd,bf,mf,Xd,Kd,vd.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:jd}}return less_1=fd,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"},cd={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:"\\)"}]},dd=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),pd=qa.COMMENT(";","$",{relevance:0}),fd={begin:"\\*",end:"\\*"},md={className:"symbol",begin:"[:&]"+nd},vd={begin:nd,relevance:0},Ad={begin:od},Id={contains:[cd,dd,fd,md,{begin:"\\(",end:"\\)",contains:["self",ud,dd,cd,vd]},vd],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+od}]},kd={variants:[{begin:"'"+nd},{begin:"#'"+nd+"(::"+nd+")*"}]},jd={begin:"\\(\\s*",end:"\\)"},Fd={endsWithParent:!0,relevance:0};return jd.contains=[{className:"name",variants:[{begin:nd,relevance:0},{begin:od}]},Fd],Fd.contains=[Id,kd,jd,ud,cd,dd,pd,fd,md,Ad,vd],{name:"Lisp",illegal:/\S/,contains:[cd,qa.SHEBANG(),ud,dd,pd,Id,kd,jd,vd]}}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 cd(dd){const pd=["npm","print"],fd=["yes","no","on","off","it","that","void"],md=["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"],vd={keyword:Ra.concat(md),literal:qa.concat(fd),built_in:ud.concat(pd)},Ad="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",Nd=dd.inherit(dd.TITLE_MODE,{begin:Ad}),Id={className:"subst",begin:/#\{/,end:/\}/,keywords:vd},kd={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:vd},jd=[dd.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:[dd.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[dd.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[dd.BACKSLASH_ESCAPE,Id,kd]},{begin:/"/,end:/"/,contains:[dd.BACKSLASH_ESCAPE,Id,kd]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[Id,dd.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+Ad},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];Id.contains=jd;const Fd={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:vd,contains:["self"].concat(jd)}]},Md={begin:"(#=>|=>|\\|>>|-?->|!->)"},Ld={variants:[{match:[/class\s+/,Ad,/\s+extends\s+/,Ad]},{match:[/class\s+/,Ad]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:vd};return{name:"LiveScript",aliases:["ls"],keywords:vd,illegal:/\/\*/,contains:jd.concat([dd.COMMENT("\\/\\*","\\*\\/"),dd.HASH_COMMENT_MODE,Md,{className:"function",contains:[Nd,Fd],returnBegin:!0,variants:[{begin:"("+Ad+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+Ad+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+Ad+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},Ld,{begin:Ad+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return livescript_1=cd,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:/=/},cd={className:"punctuation",relevance:0,begin:/,/},dd={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},pd={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},fd={className:"variable",variants:[{begin:nd.concat(/%/,od)},{begin:/%\d+/},{begin:/#\d+/}]},md={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/}]},md,cd,ud,fd,pd,dd]}}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"}]},cd={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"}]},cd,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*(?=[:+?]?=)"},cd={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},dd={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,cd,dd]}}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+)/,cd=/(\d*\.\d+|\d+\.\d*|\d+)/,dd=od.either(od.concat(ld,ud),cd),pd=/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,fd=/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/,md=od.either(pd,fd),vd=/\*\^[+-]?\d+/,Nd={className:"number",relevance:0,begin:od.concat(dd,od.optional(md),od.optional(vd))},Id=/[a-zA-Z$][a-zA-Z0-9$]*/,kd=new Set(Ra),jd={variants:[{className:"builtin-symbol",begin:Id,"on:begin":(Kd,mf)=>{kd.has(Kd[0])||mf.ignoreMatch()}},{className:"symbol",relevance:0,begin:Id}]},Fd={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},Md={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},Ld={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},Hd={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},Gd={className:"brace",relevance:0,begin:/[[\](){}]/},Vd={className:"message-name",relevance:0,begin:od.concat("::",Id)};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"]}),Ld,Hd,Vd,jd,Fd,nd.QUOTE_STRING_MODE,Nd,Md,Gd]}}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}),cd=qa.inherit(qa.QUOTE_STRING_MODE,{relevance:0}),dd={className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0};return cd.contains=cd.contains.slice(),cd.contains.push(dd),{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,cd,{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(" ")},cd={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:ud},dd={begin:/->\{/,end:/\}/},pd={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},fd={scope:"variable",variants:[{begin:/\$\d/},{begin:nd.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[pd]},md={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},vd=[qa.BACKSLASH_ESCAPE,cd,fd],Ad=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],Nd=(jd,Fd,Md="\\1")=>{const Ld=Md==="\\1"?Md:nd.concat(Md,Fd);return nd.concat(nd.concat("(?:",jd,")"),Fd,/(?:\\.|[^\\\/])*?/,Ld,/(?:\\.|[^\\\/])*?/,Md,ld)},Id=(jd,Fd,Md)=>nd.concat(nd.concat("(?:",jd,")"),Fd,/(?:\\.|[^\\\/])*?/,Md,ld),kd=[fd,qa.HASH_COMMENT_MODE,qa.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),dd,{className:"string",contains:vd,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}]},md,{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:Nd("s|tr|y",nd.either(...Ad,{capture:!0}))},{begin:Nd("s|tr|y","\\(","\\)")},{begin:Nd("s|tr|y","\\[","\\]")},{begin:Nd("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:Id("(?:m|qr)?",/\//,/\//)},{begin:Id("m|qr",nd.either(...Ad,{capture:!0}),/\1/)},{begin:Id("m|qr",/\(/,/\)/)},{begin:Id("m|qr",/\[/,/\]/)},{begin:Id("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[qa.TITLE_MODE,pd]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[qa.TITLE_MODE,pd,md]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return cd.contains=kd,dd.contains=kd,{name:"Perl",aliases:["pl","pm"],keywords:ud,contains:kd}}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 cd=qa.inherit(qa.TITLE_MODE,{begin:od}),dd="(\\(.*\\)\\s*)?\\B[-=]>",pd={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*"+dd,end:"[-=]>",returnBegin:!0,contains:[cd,pd]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:dd,end:"[-=]>",returnBegin:!0,contains:[pd]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[cd]},cd]},{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}]},cd={className:"string",contains:[ld,od],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},dd=[qa.NUMBER_MODE,qa.HASH_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,cd,ud];return od.contains=dd,{name:"Nix",aliases:["nixos"],keywords:nd,contains:dd}}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"],cd={className:"variable.constant",begin:nd.concat(/\$/,nd.either(...od))},dd={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},pd={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},fd={className:"variable",begin:/\$+\([\w^.:!-]+\)/},md={className:"params",begin:nd.either(...ld)},vd={className:"keyword",begin:nd.concat(/!/,nd.either(...ud))},Ad={className:"char.escape",begin:/\$(\\[nrt]|\$)/},Nd={className:"title.function",begin:/\w+::\w+/},Id={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[Ad,cd,dd,pd,fd]},kd=["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"],jd=["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"],Fd={match:[/Function/,/\s+/,nd.concat(/(\.)?/,qa.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},Ld={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:kd,literal:jd},contains:[qa.HASH_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.COMMENT(";","$",{relevance:0}),Ld,Fd,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},Id,vd,dd,pd,fd,md,Nd,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_]*/,pd={"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"]},fd={$pattern:od,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:pd,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:"("+fd.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:fd,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}),cd={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},dd={className:"params",begin:"\\(",end:"\\)",contains:["self",ld,ud,nd,od]},pd={begin:"[*!#%]",relevance:0},fd={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[dd,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,cd,ud,nd,pd,fd]}}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:"''"}]},cd={className:"string",begin:"(#\\d+)+"},dd={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,cd]},od,ld]},pd={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,cd,qa.NUMBER_MODE,dd,pd]}}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*>>",cd="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 ",dd="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",pd="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 ",fd="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 ",md=fd.trim().split(" ").map(function(jd){return jd.split("|")[0]}).join("|"),vd="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",Ad="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 ",Nd="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 ",kd="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(jd){return jd.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:cd+pd+dd,built_in:vd+Ad+Nd},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("+kd+")\\s*\\("},{begin:"\\.("+md+")\\b"},{begin:"\\b("+md+")\\s+PATH\\b",keywords:{keyword:"PATH",type:fd.replace("PATH ","")}},{className:"type",begin:"\\b("+md+")\\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),cd={scope:"variable",match:"\\$+"+ld},dd={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},pd={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},fd=qa.inherit(qa.APOS_STRING_MODE,{illegal:null}),md=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null,contains:qa.QUOTE_STRING_MODE.contains.concat(pd)}),vd={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:qa.QUOTE_STRING_MODE.contains.concat(pd),"on:begin":(Ef,gf)=>{gf.data._beginMatch=Ef[1]||Ef[2]},"on:end":(Ef,gf)=>{gf.data._beginMatch!==Ef[1]&&gf.ignoreMatch()}},Ad=qa.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),Nd=`[
|
||
]`,Id={scope:"string",variants:[md,fd,vd,Ad]},kd={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},jd=["false","null","true"],Fd=["__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"],Md=["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"],Hd={keyword:Fd,literal:(Ef=>{const gf=[];return Ef.forEach(xf=>{gf.push(xf),xf.toLowerCase()===xf?gf.push(xf.toUpperCase()):gf.push(xf.toLowerCase())}),gf})(jd),built_in:Md},Gd=Ef=>Ef.map(gf=>gf.replace(/\|\d+$/,"")),Vd={variants:[{match:[/new/,nd.concat(Nd,"+"),nd.concat("(?!",Gd(Md).join("\\b|"),"\\b)"),ud],scope:{1:"keyword",4:"title.class"}}]},Kd=nd.concat(ld,"\\b(?!\\()"),mf={variants:[{match:[nd.concat(/::/,nd.lookahead(/(?!class\b)/)),Kd],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[ud,nd.concat(/::/,nd.lookahead(/(?!class\b)/)),Kd],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"}}]},Wd={scope:"attr",match:nd.concat(ld,nd.lookahead(":"),nd.lookahead(/(?!::)/))},Zd={relevance:0,begin:/\(/,end:/\)/,keywords:Hd,contains:[Wd,cd,mf,qa.C_BLOCK_COMMENT_MODE,Id,kd,Vd]},Xd={relevance:0,match:[/\b/,nd.concat("(?!fn\\b|function\\b|",Gd(Fd).join("\\b|"),"|",Gd(Md).join("\\b|"),"\\b)"),ld,nd.concat(Nd,"*"),nd.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[Zd]};Zd.contains.push(Xd);const bf=[Wd,mf,qa.C_BLOCK_COMMENT_MODE,Id,kd,Vd],yf={begin:nd.concat(/#\[\s*/,ud),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:jd,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:jd,keyword:["new","array"]},contains:["self",...bf]},...bf,{scope:"meta",match:ud}]};return{case_insensitive:!1,keywords:Hd,contains:[yf,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}]}},dd,{scope:"variable.language",match:/\$this\b/},cd,Xd,mf,{match:[/const/,/\s/,ld],scope:{1:"keyword",3:"variable.constant"}},Vd,{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:Hd,contains:["self",cd,mf,qa.C_BLOCK_COMMENT_MODE,Id,kd]}]},{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]},Id,kd]}}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},cd={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},dd={begin:qa.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:nd,contains:[cd,od,ld,ud,dd,{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"},cd=/\w[\w\d]*((-)[\w\d]+)*/,dd={begin:"`[\\s\\S]",relevance:0},pd={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},fd={className:"literal",begin:/\$(null|true|false)\b/},md={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[dd,pd,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},vd={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},Ad={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},Nd=qa.inherit(qa.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[Ad]}),Id={className:"built_in",variants:[{begin:"(".concat(od,")+(-)[\\w\\d]+")}]},kd={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[qa.TITLE_MODE]},jd={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:cd,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[pd]}]},Fd={begin:/using\s/,end:/$/,returnBegin:!0,contains:[md,vd,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},Md={variants:[{className:"operator",begin:"(".concat(ld,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},Ld={className:"selector-tag",begin:/@\B/,relevance:0},Hd={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})]},Gd=[Hd,Nd,dd,qa.NUMBER_MODE,md,vd,Id,pd,fd,Ld],Vd={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",Gd,{begin:"("+nd.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return Hd.contains.unshift(Vd),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:ud,contains:Gd.concat(kd,jd,Fd,Md,Vd)}}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"}]},cd={match:[/new\s+/,ld],className:{1:"keyword",2:"class.title"}},dd={relevance:0,match:[/\./,ld],className:{2:"property"}},pd={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"}},fd=["boolean","byte","char","color","double","float","int","long","short"],md=["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,...md],type:fd},contains:[pd,cd,ud,dd,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:/\]/},cd={className:"comment",begin:/%/,end:/$/,contains:[qa.PHRASAL_WORDS_MODE]},dd={className:"string",begin:/`/,end:/`/,contains:[qa.BACKSLASH_ESCAPE]},pd={className:"string",begin:/0'(\\'|.)/},fd={className:"string",begin:/0'\\s/},vd=[nd,od,ld,{begin:/:-/},ud,cd,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,dd,pd,fd,qa.C_NUMBER_MODE];return ld.contains=vd,ud.contains=vd,{name:"Prolog",contains:vd.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,cd="("+ld+"|"+ud+")",dd="([^\\\\:= \\t\\f\\n]|\\\\.)+",pd={end:cd,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:dd+ld},{begin:dd+ud}],contains:[{className:"attr",begin:dd,endsParent:!0}],starts:pd},{className:"attr",begin:dd+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}),cd={className:"variable",begin:"\\$"+ld},dd={className:"string",contains:[qa.BACKSLASH_ESCAPE,cd],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[od,cd,dd,{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:[dd,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},cd]}],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"],pd={$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"]},fd={className:"meta",begin:/^(>>>|\.\.\.) /},md={className:"subst",begin:/\{/,end:/\}/,keywords:pd,illegal:/#/},vd={begin:/\{\{/,relevance:0},Ad={className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[qa.BACKSLASH_ESCAPE,fd],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[qa.BACKSLASH_ESCAPE,fd],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[qa.BACKSLASH_ESCAPE,fd,vd,md]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[qa.BACKSLASH_ESCAPE,fd,vd,md]},{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,vd,md]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,vd,md]},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]},Nd="[0-9](_?[0-9])*",Id=`(\\b(${Nd}))?\\.(${Nd})|\\b(${Nd})\\.`,kd=`\\b|${ld.join("|")}`,jd={className:"number",relevance:0,variants:[{begin:`(\\b(${Nd})|(${Id}))[eE][+-]?(${Nd})[jJ]?(?=${kd})`},{begin:`(${Id})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${kd})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${kd})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${kd})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${kd})`},{begin:`\\b(${Nd})[jJ](?=${kd})`}]},Fd={className:"comment",begin:nd.lookahead(/# type:/),end:/$/,keywords:pd,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},Md={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:pd,contains:["self",fd,jd,Ad,qa.HASH_COMMENT_MODE]}]};return md.contains=[Ad,jd,fd],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:pd,illegal:/(<\/|\?)|=>/,contains:[fd,jd,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},Ad,Fd,qa.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,od],scope:{1:"keyword",3:"title.function"},contains:[Md]},{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:[jd,Md,Ad]}]}}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}},cd={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},dd={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:ld,returnEnd:!1}},pd={begin:ld+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:ld,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},fd={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},cd,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},dd,pd,fd],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=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,cd=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:[cd,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:cd},{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",cd="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",dd={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},pd={className:"string",begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,dd,{className:"variable",begin:/\$\(/,end:/\)/,contains:[qa.BACKSLASH_ESCAPE]}]},fd={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("^#","$"),pd,fd,dd,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[pd,fd,dd,{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)(("+cd.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),cd={className:"title.function.invoke",relevance:0,begin:nd.concat(/\b/,/(?!let|for|while|if|else|match\b)/,ud,nd.lookahead(/\s*\(/))},dd="([ui](8|16|32|64|128|size)|f(32|64))?",pd=["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"],fd=["true","false","Some","None","Ok","Err"],md=["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!"],vd=["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:vd,keyword:pd,literal:fd,built_in:md},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_]+)"+dd},{begin:"\\b0o([0-7_]+)"+dd},{begin:"\\b0x([A-Fa-f0-9_]+)"+dd},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+dd}],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:md,type:vd}},{className:"punctuation",begin:"->"},cd]}}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}]},cd={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},dd={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},pd={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:[cd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[cd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},dd]},fd={className:"function",beginKeywords:"def",end:nd.lookahead(/[:={\[(\n;]/),contains:[dd]},md={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},vd={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},Ad=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],Nd={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,cd,fd,pd,qa.C_NUMBER_MODE,md,vd,...Ad,Nd,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?"},cd={className:"literal",begin:"(#t|#f|#\\\\"+nd+"|#\\\\.)"},dd={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]+)?"}]},pd=qa.QUOTE_STRING_MODE,fd=[qa.COMMENT(";","$",{relevance:0}),qa.COMMENT("#\\|","\\|#")],md={begin:nd,relevance:0},vd={className:"symbol",begin:"'"+nd},Ad={endsWithParent:!0,relevance:0},Nd={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",cd,pd,dd,md,vd]}]},Id={className:"name",relevance:0,begin:nd,keywords:ud},jd={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[Id,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[md]}]},Id,Ad]};return Ad.contains=[cd,dd,pd,md,vd,Nd,jd].concat(fd),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[qa.SHEBANG(),dd,pd,vd,Nd,jd].concat(fd)}}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=fd=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:fd.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:[fd.APOS_STRING_MODE,fd.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:fd.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(),cd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),dd=["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 pd(fd){const md=Ra(fd),vd=cd,Ad=ud,Nd="@[a-z-]+",Id="and or not only",jd={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[fd.C_LINE_COMMENT_MODE,fd.C_BLOCK_COMMENT_MODE,md.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},md.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+od.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+Ad.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+vd.join("|")+")"},jd,{begin:/\(/,end:/\)/,contains:[md.CSS_NUMBER_MODE]},md.CSS_VARIABLE,{className:"attribute",begin:"\\b("+dd.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:[md.BLOCK_COMMENT,jd,md.HEXCOLOR,md.CSS_NUMBER_MODE,fd.QUOTE_STRING_MODE,fd.APOS_STRING_MODE,md.IMPORTANT,md.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:Nd,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:Id,attribute:ld.join(" ")},contains:[{begin:Nd,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},jd,fd.QUOTE_STRING_MODE,fd.APOS_STRING_MODE,md.HEXCOLOR,md.CSS_NUMBER_MODE]},md.FUNCTION_DISPATCH]}}return scss_1=pd,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"],cd=["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"],dd=["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"],pd={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:dd,literal:cd},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.NUMBER_MODE,nd,od,ld,pd],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:/""/}]},cd=["true","false","unknown"],dd=["double precision","large object","with timezone","without timezone"],pd=["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"],fd=["add","asc","collation","desc","final","first","last","view"],md=["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"],vd=["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"],Ad=["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"],Nd=["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"],Id=vd,kd=[...md,...fd].filter(Hd=>!vd.includes(Hd)),jd={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},Fd={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},Md={begin:nd.concat(/\b/,nd.either(...Id),/\s*\(/),relevance:0,keywords:{built_in:Id}};function Ld(Hd,{exceptions:Gd,when:Vd}={}){const Kd=Vd;return Gd=Gd||[],Hd.map(mf=>mf.match(/\|\d+$/)||Gd.includes(mf)?mf:Kd(mf)?`${mf}|0`:mf)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:Ld(kd,{when:Hd=>Hd.length<3}),literal:cd,type:pd,built_in:Ad},contains:[{begin:nd.either(...Nd),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:kd.concat(Nd),literal:cd,type:pd}},{className:"type",begin:nd.either(...dd)},Md,jd,ld,ud,qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE,od,Fd]}}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"],cd=["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"],dd=["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"],pd=qa.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),fd={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},qa.C_LINE_COMMENT_MODE]},md=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:qa.IDENT_RE,title:od,type:ud,keyword:ld,built_in:cd},contains:[qa.C_LINE_COMMENT_MODE,fd,qa.HASH_COMMENT_MODE,pd,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:nd.concat(/[<,]\s*/,nd.either(...md),/\s*=/),keywords:md},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,nd.either(...dd),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:dd,begin:nd.concat(/\w*/,nd.either(...dd),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,nd.concat(nd.either(...dd),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+nd.either(...dd)+")\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=fd=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:fd.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:[fd.APOS_STRING_MODE,fd.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:fd.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(),cd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),dd=["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 pd(fd){const md=Ra(fd),vd="and or not only",Ad={className:"variable",begin:"\\$"+fd.IDENT_RE},Nd=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],Id="(?=[.\\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:[fd.QUOTE_STRING_MODE,fd.APOS_STRING_MODE,fd.C_LINE_COMMENT_MODE,fd.C_BLOCK_COMMENT_MODE,md.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+Id,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+Id,className:"selector-id"},{begin:"\\b("+od.join("|")+")"+Id,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+ud.join("|")+")"+Id},{className:"selector-pseudo",begin:"&?:(:)?("+cd.join("|")+")"+Id},md.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:vd,attribute:ld.join(" ")},contains:[md.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+Nd.join("|")+"))\\b"},Ad,md.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:[md.HEXCOLOR,Ad,fd.APOS_STRING_MODE,md.CSS_NUMBER_MODE,fd.QUOTE_STRING_MODE]}]},md.CSS_VARIABLE,{className:"attribute",begin:"\\b("+dd.join("|")+")\\b",starts:{end:/;|$/,contains:[md.HEXCOLOR,Ad,fd.APOS_STRING_MODE,fd.QUOTE_STRING_MODE,md.CSS_NUMBER_MODE,fd.C_BLOCK_COMMENT_MODE,md.IMPORTANT,md.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},md.FUNCTION_DISPATCH]}}return stylus_1=pd,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(mf){return mf?typeof mf=="string"?mf:mf.source:null}function qa(mf){return nd("(?=",mf,")")}function nd(...mf){return mf.map(Zd=>Ra(Zd)).join("")}function od(mf){const Wd=mf[mf.length-1];return typeof Wd=="object"&&Wd.constructor===Object?(mf.splice(mf.length-1,1),Wd):{}}function ld(...mf){return"("+(od(mf).capture?"":"?:")+mf.map(Xd=>Ra(Xd)).join("|")+")"}const ud=mf=>nd(/\b/,mf,/\w$/.test(mf)?/\b/:/\B/),cd=["Protocol","Type"].map(ud),dd=["init","self"].map(ud),pd=["Any","Self"],fd=["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"],md=["false","nil","true"],vd=["assignment","associativity","higherThan","left","lowerThan","none","right"],Ad=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Nd=["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"],Id=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]/),kd=ld(Id,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),jd=nd(Id,kd,"*"),Fd=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]/),Md=ld(Fd,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Ld=nd(Fd,Md,"*"),Hd=nd(/[A-Z]/,Md,"*"),Gd=["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\(/,Ld,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],Vd=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function Kd(mf){const Wd={match:/\s+/,relevance:0},Zd=mf.COMMENT("/\\*","\\*/",{contains:["self"]}),Xd=[mf.C_LINE_COMMENT_MODE,Zd],bf={match:[/\./,ld(...cd,...dd)],className:{2:"keyword"}},yf={match:nd(/\./,ld(...fd)),relevance:0},Ef=fd.filter(Um=>typeof Um=="string").concat(["_|0"]),gf=fd.filter(Um=>typeof Um!="string").concat(pd).map(ud),xf={variants:[{className:"keyword",match:ld(...gf,...dd)}]},Af={$pattern:ld(/\b\w+/,/#\w+/),keyword:Ef.concat(Ad),literal:md},Lf=[bf,yf,xf],Xf={match:nd(/\./,ld(...Nd)),relevance:0},Jf={className:"built_in",match:nd(/\b/,ld(...Nd),/(?=\()/)},Zf=[Xf,Jf],Bf={match:/->/,relevance:0},Df={className:"operator",relevance:0,variants:[{match:jd},{match:`\\.(\\.|${kd})+`}]},Uf=[Bf,Df],Gf="([0-9]_*)+",zf="([0-9a-fA-F]_*)+",Tf={className:"number",relevance:0,variants:[{match:`\\b(${Gf})(\\.(${Gf}))?([eE][+-]?(${Gf}))?\\b`},{match:`\\b0x(${zf})(\\.(${zf}))?([pP][+-]?(${Gf}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},vf=(Um="")=>({className:"subst",variants:[{match:nd(/\\/,Um,/[0\\tnr"']/)},{match:nd(/\\/,Um,/u\{[0-9a-fA-F]{1,8}\}/)}]}),qf=(Um="")=>({className:"subst",match:nd(/\\/,Um,/[\t ]*(?:[\r\n]|\r\n)/)}),eh=(Um="")=>({className:"subst",label:"interpol",begin:nd(/\\/,Um,/\(/),end:/\)/}),ch=(Um="")=>({begin:nd(Um,/"""/),end:nd(/"""/,Um),contains:[vf(Um),qf(Um),eh(Um)]}),ih=(Um="")=>({begin:nd(Um,/"/),end:nd(/"/,Um),contains:[vf(Um),eh(Um)]}),Pf={className:"string",variants:[ch(),ch("#"),ch("##"),ch("###"),ih(),ih("#"),ih("##"),ih("###")]},uh=[mf.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[mf.BACKSLASH_ESCAPE]}],xh={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:uh},Qf=Um=>{const Om=nd(Um,/\//),r_=nd(/\//,Um);return{begin:Om,end:r_,contains:[...uh,{scope:"comment",begin:`#(?!.*${r_})`,end:/$/}]}},wf={scope:"regexp",variants:[Qf("###"),Qf("##"),Qf("#"),xh]},$f={match:nd(/`/,Ld,/`/)},Wf={className:"variable",match:/\$\d+/},Th={className:"variable",match:`\\$${Md}+`},vh=[$f,Wf,Th],ph={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Vd,contains:[...Uf,Tf,Pf]}]}},Vh={scope:"keyword",match:nd(/@/,ld(...Gd),qa(ld(/\(/,/\s+/)))},wh={scope:"meta",match:nd(/@/,Ld)},fm=[ph,Vh,wh],Nm={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)/,Md,"+")},{className:"type",match:Hd,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:nd(/\s+&\s+/,qa(Hd)),relevance:0}]},cm={begin:/</,end:/>/,keywords:Af,contains:[...Xd,...Lf,...fm,Bf,Nm]};Nm.contains.push(cm);const Sm={match:nd(Ld,/\s*:/),keywords:"_|0",relevance:0},$m={begin:/\(/,end:/\)/,relevance:0,keywords:Af,contains:["self",Sm,...Xd,wf,...Lf,...Zf,...Uf,Tf,Pf,...vh,...fm,Nm]},fh={begin:/</,end:/>/,keywords:"repeat each",contains:[...Xd,Nm]},Rf={begin:ld(qa(nd(Ld,/\s*:/)),qa(nd(Ld,/\s+/,Ld,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Ld}]},If={begin:/\(/,end:/\)/,keywords:Af,contains:[Rf,...Xd,...Lf,...Uf,Tf,Pf,...fm,Nm,$m],endsParent:!0,illegal:/["']/},dh={match:[/(func|macro)/,/\s+/,ld($f.match,Ld,jd)],className:{1:"keyword",3:"title.function"},contains:[fh,If,Wd],illegal:[/\[/,/%/]},yh={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[fh,If,Wd],illegal:/\[|%/},Uh={match:[/operator/,/\s+/,jd],className:{1:"keyword",3:"title"}},Zh={begin:[/precedencegroup/,/\s+/,Hd],className:{1:"keyword",3:"title"},contains:[Nm],keywords:[...vd,...md],end:/}/},_m={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,Ld,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:Af,contains:[fh,...Lf,{begin:/:/,end:/\{/,keywords:Af,contains:[{scope:"title.class.inherited",match:Hd},...Lf],relevance:0}]};for(const Um of Pf.variants){const Om=Um.contains.find(Xm=>Xm.label==="interpol");Om.keywords=Af;const r_=[...Lf,...Zf,...Uf,Tf,Pf,...vh];Om.contains=[...r_,{begin:/\(/,end:/\)/,contains:["self",...r_]}]}return{name:"Swift",keywords:Af,contains:[...Xd,dh,yh,_m,Uh,Zh,{beginKeywords:"import",end:/$/,contains:[...Xd],relevance:0},wf,...Lf,...Zf,...Uf,Tf,Pf,...vh,...fm,Nm,$m]}}return swift_1=Kd,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:/\}/}]},cd={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[qa.BACKSLASH_ESCAPE,ud]},dd=qa.inherit(cd,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),Ad={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"},Nd={end:",",endsWithParent:!0,excludeEnd:!0,keywords:nd,relevance:0},Id={begin:/\{/,end:/\}/,contains:[Nd],illegal:"\\n",relevance:0},kd={begin:"\\[",end:"\\]",contains:[Nd],illegal:"\\n",relevance:0},jd=[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}},Ad,{className:"number",begin:qa.C_NUMBER_RE+"\\b",relevance:0},Id,kd,cd],Fd=[...jd];return Fd.pop(),Fd.push(dd),Nd.contains=Fd,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:jd}}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(kd=>`end${kd}`));const cd={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},dd={scope:"number",match:/\d+/},pd={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[cd,dd]},fd={beginKeywords:od.join(" "),keywords:{name:od},relevance:0,contains:[pd]},md={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:ld}]},vd=(kd,{relevance:jd})=>({beginScope:{1:"template-tag",3:"name"},relevance:jd||2,endScope:"template-tag",begin:[/\{%/,/\s*/,nd.either(...kd)],end:/%\}/,keywords:"in",contains:[md,fd,cd,dd]}),Ad=/[a-z_]+/,Nd=vd(ud,{relevance:2}),Id=vd([Ad],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[qa.COMMENT(/\{#/,/#\}/),Nd,Id,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",md,fd,cd,dd]}]}}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"],cd=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],dd=[].concat(ud,od,ld);function pd(md){const vd=md.regex,Ad=(vf,{after:qf})=>{const eh="</"+vf[0].slice(1);return vf.input.indexOf(eh,qf)!==-1},Nd=Ra,Id={begin:"<>",end:"</>"},kd=/<[A-Za-z0-9\\._:-]+\s*\/>/,jd={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(vf,qf)=>{const eh=vf[0].length+vf.index,ch=vf.input[eh];if(ch==="<"||ch===","){qf.ignoreMatch();return}ch===">"&&(Ad(vf,{after:eh})||qf.ignoreMatch());let ih;const Pf=vf.input.substring(eh);if(ih=Pf.match(/^\s*=/)){qf.ignoreMatch();return}if((ih=Pf.match(/^\s+extends\s+/))&&ih.index===0){qf.ignoreMatch();return}}},Fd={$pattern:Ra,keyword:qa,literal:nd,built_in:dd,"variable.language":cd},Md="[0-9](_?[0-9])*",Ld=`\\.(${Md})`,Hd="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",Gd={className:"number",variants:[{begin:`(\\b(${Hd})((${Ld})|\\.)?|(${Ld}))[eE][+-]?(${Md})\\b`},{begin:`\\b(${Hd})\\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},Vd={className:"subst",begin:"\\$\\{",end:"\\}",keywords:Fd,contains:[]},Kd={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[md.BACKSLASH_ESCAPE,Vd],subLanguage:"xml"}},mf={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[md.BACKSLASH_ESCAPE,Vd],subLanguage:"css"}},Wd={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[md.BACKSLASH_ESCAPE,Vd],subLanguage:"graphql"}},Zd={className:"string",begin:"`",end:"`",contains:[md.BACKSLASH_ESCAPE,Vd]},bf={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]},yf=[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE,Kd,mf,Wd,Zd,{match:/\$\d+/},Gd];Vd.contains=yf.concat({begin:/\{/,end:/\}/,keywords:Fd,contains:["self"].concat(yf)});const Ef=[].concat(bf,Vd.contains),gf=Ef.concat([{begin:/(\s*)\(/,end:/\)/,keywords:Fd,contains:["self"].concat(Ef)}]),xf={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Fd,contains:gf},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"}}]},Lf={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]}},Xf={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:[xf],illegal:/%/},Zf={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Bf(vf){return vd.concat("(?!",vf.join("|"),")")}const Df={match:vd.concat(/\b/,Bf([...ud,"super","import"].map(vf=>`${vf}\\s*\\(`)),Nd,vd.lookahead(/\s*\(/)),className:"title.function",relevance:0},Uf={begin:vd.concat(/\./,vd.lookahead(vd.concat(Nd,/(?![0-9A-Za-z$_(])/))),end:Nd,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Gf={match:[/get|set/,/\s+/,Nd,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},xf]},zf="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+md.UNDERSCORE_IDENT_RE+")\\s*=>",Tf={match:[/const|var|let/,/\s+/,Nd,/\s*/,/=\s*/,/(async\s*)?/,vd.lookahead(zf)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[xf]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:Fd,exports:{PARAMS_CONTAINS:gf,CLASS_REFERENCE:Lf},illegal:/#(?![$_A-z])/,contains:[md.SHEBANG({label:"shebang",binary:"node",relevance:5}),Xf,md.APOS_STRING_MODE,md.QUOTE_STRING_MODE,Kd,mf,Wd,Zd,bf,{match:/\$\d+/},Gd,Lf,{className:"attr",begin:Nd+vd.lookahead(":"),relevance:0},Tf,{begin:"("+md.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[bf,md.REGEXP_MODE,{className:"function",begin:zf,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:Fd,contains:gf}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:Id.begin,end:Id.end},{match:kd},{begin:jd.begin,"on:begin":jd.isTrulyOpeningTag,end:jd.end}],subLanguage:"xml",contains:[{begin:jd.begin,end:jd.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:[xf,md.inherit(md.TITLE_MODE,{begin:Nd,className:"title.function"})]},{match:/\.\.\./,relevance:0},Uf,{match:"\\$"+Nd,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[xf]},Df,Zf,Af,Gf,{match:/\$[(.]/}]}}function fd(md){const vd=pd(md),Ad=Ra,Nd=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],Id={begin:[/namespace/,/\s+/,md.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},kd={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:Nd},contains:[vd.exports.CLASS_REFERENCE]},jd={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},Fd=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],Md={$pattern:Ra,keyword:qa.concat(Fd),literal:nd,built_in:dd.concat(Nd),"variable.language":cd},Ld={className:"meta",begin:"@"+Ad},Hd=(Kd,mf,Wd)=>{const Zd=Kd.contains.findIndex(Xd=>Xd.label===mf);if(Zd===-1)throw new Error("can not find mode to replace");Kd.contains.splice(Zd,1,Wd)};Object.assign(vd.keywords,Md),vd.exports.PARAMS_CONTAINS.push(Ld);const Gd=vd.contains.find(Kd=>Kd.className==="attr");vd.exports.PARAMS_CONTAINS.push([vd.exports.CLASS_REFERENCE,Gd]),vd.contains=vd.contains.concat([Ld,Id,kd]),Hd(vd,"shebang",md.SHEBANG()),Hd(vd,"use_strict",jd);const Vd=vd.contains.find(Kd=>Kd.label==="func.def");return Vd.relevance=0,Object.assign(vd,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),vd}return typescript_1=fd,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}/,cd=/\d{4}-\d{1,2}-\d{1,2}/,dd=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,pd=/\d{1,2}(:\d{1,2}){1,2}/,fd={className:"literal",variants:[{begin:nd.concat(/# */,nd.either(cd,ud),/ *#/)},{begin:nd.concat(/# */,pd,/ *#/)},{begin:nd.concat(/# */,dd,/ *#/)},{begin:nd.concat(/# */,nd.either(cd,ud),/ +/,nd.either(dd,pd),/ *#/)}]},md={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])|[%&])?/}]},vd={className:"label",begin:/^\w+:/},Ad=qa.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),Nd=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,fd,md,vd,Ad,Nd,{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:[Nd]}]}}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+",dd="\\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:dd,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"}},cd={className:"variable",begin:/\$[\w_]+/},dd={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},pd={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/},fd={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},md={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"}},cd,dd,ud,qa.QUOTE_STRING_MODE,fd,md,pd]}}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"],cd=["this","super"],dd=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],pd=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],fd={relevance:0,match:nd.concat(/\b(?!(if|while|for|else|super)\b)/,od,/(?=\s*[({])/),className:"title.function"},md={match:nd.concat(nd.either(nd.concat(/\b(?!(if|while|for|else|super)\b)/,od),nd.either(...pd)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:od}]}]}},vd={variants:[{match:[/class\s+/,od,/\s+is\s+/,od]},{match:[/class\s+/,od]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:ld},Ad={relevance:0,match:nd.either(...pd),className:"operator"},Nd={className:"string",begin:/"""/,end:/"""/},Id={className:"property",begin:nd.concat(/\./,nd.lookahead(od)),end:od,excludeBegin:!0,relevance:0},kd={relevance:0,match:nd.concat(/\b_/,od),scope:"variable"},jd={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:dd}},Fd=qa.C_NUMBER_MODE,Md={match:[od,/\s*/,/=/,/\s*/,/\(/,od,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},Ld=qa.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),Hd={scope:"subst",begin:/%\(/,end:/\)/,contains:[Fd,jd,fd,kd,Ad]},Gd={scope:"string",begin:/"/,end:/"/,contains:[Hd,{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}/}]}]};Hd.contains.push(Gd);const Vd=[...ld,...cd,...ud],Kd={relevance:0,match:nd.concat("\\b(?!",Vd.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:ld,"variable.language":cd,literal:ud},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:ud},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},Fd,Gd,Nd,Ld,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,jd,vd,Md,md,fd,Ad,kd,Id,Kd]}}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"],cd={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:nd,literal:["true","false","nil"],built_in:od.concat(ld)},dd={className:"string",begin:'"',end:'"',illegal:"\\n"},pd={className:"string",begin:"'",end:"'",illegal:"\\n"},fd={className:"string",begin:"<<",end:">>"},md={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},vd={beginKeywords:"import",end:"$",keywords:cd,contains:[dd]},Ad={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[qa.inherit(qa.TITLE_MODE,{starts:{endsWithParent:!0,keywords:cd}})]};return{name:"XL",aliases:["tao"],keywords:cd,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,dd,pd,fd,Ad,vd,md,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 cd=typeof ud=="string"?ud:ud.source;return cd=cd.replace(other.caret,"$1"),nd=nd.replace(ld,cd),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$1=/^( {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$1,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$1).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,(cd,dd,pd)=>{let fd=!1,md=dd;for(;--md>=0&&pd[md]==="\\";)fd=!fd;return fd?"|":" |"}),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,cd=qa.title||null,dd=Ra[1].replace(ld.other.outputLinkReplace,"$1");if(Ra[0].charAt(0)!=="!"){od.state.inLink=!0;const pd={type:"link",raw:nd,href:ud,title:cd,text:dd,tokens:od.inlineTokens(dd)};return od.state.inLink=!1,pd}return{type:"image",raw:nd,href:ud,title:cd,text:dd}}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 cd=ud.match(nd.other.beginningSpace);if(cd===null)return ud;const[dd]=cd;return dd.length>=ld.length?ud.slice(ld.length):ud}).join(`
|
||
`)}let _Tokenizer$1=class{constructor(qa){p_(this,"options");p_(this,"rules");p_(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 cd=[];for(;od.length>0;){let dd=!1;const pd=[];let fd;for(fd=0;fd<od.length;fd++)if(this.rules.other.blockquoteStart.test(od[fd]))pd.push(od[fd]),dd=!0;else if(!dd)pd.push(od[fd]);else break;od=od.slice(fd);const md=pd.join(`
|
||
`),vd=md.replace(this.rules.other.blockquoteSetextReplace,`
|
||
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");ld=ld?`${ld}
|
||
${md}`:md,ud=ud?`${ud}
|
||
${vd}`:vd;const Ad=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(vd,cd,!0),this.lexer.state.top=Ad,od.length===0)break;const Nd=cd.at(-1);if((Nd==null?void 0:Nd.type)==="code")break;if((Nd==null?void 0:Nd.type)==="blockquote"){const Id=Nd,kd=Id.raw+`
|
||
`+od.join(`
|
||
`),jd=this.blockquote(kd);cd[cd.length-1]=jd,ld=ld.substring(0,ld.length-Id.raw.length)+jd.raw,ud=ud.substring(0,ud.length-Id.text.length)+jd.text;break}else if((Nd==null?void 0:Nd.type)==="list"){const Id=Nd,kd=Id.raw+`
|
||
`+od.join(`
|
||
`),jd=this.list(kd);cd[cd.length-1]=jd,ld=ld.substring(0,ld.length-Nd.raw.length)+jd.raw,ud=ud.substring(0,ud.length-Id.raw.length)+jd.raw,od=kd.substring(cd.at(-1).raw.length).split(`
|
||
`);continue}}return{type:"blockquote",raw:ld,tokens:cd,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 cd=this.rules.other.listItemRegex(od);let dd=!1;for(;qa;){let fd=!1,md="",vd="";if(!(nd=cd.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(this.rules.other.listReplaceTabs,Md=>" ".repeat(3*Md.length)),Nd=qa.split(`
|
||
`,1)[0],Id=!Ad.trim(),kd=0;if(this.options.pedantic?(kd=2,vd=Ad.trimStart()):Id?kd=nd[1].length+1:(kd=nd[2].search(this.rules.other.nonSpaceChar),kd=kd>4?1:kd,vd=Ad.slice(kd),kd+=nd[1].length),Id&&this.rules.other.blankLine.test(Nd)&&(md+=Nd+`
|
||
`,qa=qa.substring(Nd.length+1),fd=!0),!fd){const Md=this.rules.other.nextBulletRegex(kd),Ld=this.rules.other.hrRegex(kd),Hd=this.rules.other.fencesBeginRegex(kd),Gd=this.rules.other.headingBeginRegex(kd),Vd=this.rules.other.htmlBeginRegex(kd);for(;qa;){const Kd=qa.split(`
|
||
`,1)[0];let mf;if(Nd=Kd,this.options.pedantic?(Nd=Nd.replace(this.rules.other.listReplaceNesting," "),mf=Nd):mf=Nd.replace(this.rules.other.tabCharGlobal," "),Hd.test(Nd)||Gd.test(Nd)||Vd.test(Nd)||Md.test(Nd)||Ld.test(Nd))break;if(mf.search(this.rules.other.nonSpaceChar)>=kd||!Nd.trim())vd+=`
|
||
`+mf.slice(kd);else{if(Id||Ad.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||Hd.test(Ad)||Gd.test(Ad)||Ld.test(Ad))break;vd+=`
|
||
`+Nd}!Id&&!Nd.trim()&&(Id=!0),md+=Kd+`
|
||
`,qa=qa.substring(Kd.length+1),Ad=mf.slice(kd)}}ud.loose||(dd?ud.loose=!0:this.rules.other.doubleBlankLine.test(md)&&(dd=!0));let jd=null,Fd;this.options.gfm&&(jd=this.rules.other.listIsTask.exec(vd),jd&&(Fd=jd[0]!=="[ ] ",vd=vd.replace(this.rules.other.listReplaceTask,""))),ud.items.push({type:"list_item",raw:md,task:!!jd,checked:Fd,loose:!1,text:vd,tokens:[]}),ud.raw+=md}const pd=ud.items.at(-1);pd&&(pd.raw=pd.raw.trimEnd(),pd.text=pd.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=>this.rules.other.anyLine.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(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 dd;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=(dd=nd[3])!=null&&dd.trim()?nd[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
||
`):[],cd={type:"table",raw:nd[0],header:[],align:[],rows:[]};if(od.length===ld.length){for(const pd of ld)this.rules.other.tableAlignRight.test(pd)?cd.align.push("right"):this.rules.other.tableAlignCenter.test(pd)?cd.align.push("center"):this.rules.other.tableAlignLeft.test(pd)?cd.align.push("left"):cd.align.push(null);for(let pd=0;pd<od.length;pd++)cd.header.push({text:od[pd],tokens:this.lexer.inline(od[pd]),header:!0,align:cd.align[pd]});for(const pd of ud)cd.rows.push(splitCells$1(pd,cd.header.length).map((fd,md)=>({text:fd,tokens:this.lexer.inline(fd),header:!1,align:cd.align[md]})));return cd}}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 cd=rtrim$1(od.slice(0,-1),"\\");if((od.length-cd.length)%2===0)return}else{const cd=findClosingBracket$1(nd[2],"()");if(cd>-1){const pd=(nd[0].indexOf("!")===0?5:4)+nd[1].length+cd;nd[2]=nd[2].substring(0,cd),nd[0]=nd[0].substring(0,pd).trim(),nd[3]=""}}let ld=nd[2],ud="";if(this.options.pedantic){const cd=this.rules.other.pedanticHrefTitle.exec(ld);cd&&(ld=cd[1],ud=cd[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 cd=od[0].charAt(0);return{type:"text",raw:cd,text:cd}}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 cd=[...ld[0]].length-1;let dd,pd,fd=cd,md=0;const vd=ld[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(vd.lastIndex=0,nd=nd.slice(-1*qa.length+cd);(ld=vd.exec(nd))!=null;){if(dd=ld[1]||ld[2]||ld[3]||ld[4]||ld[5]||ld[6],!dd)continue;if(pd=[...dd].length,ld[3]||ld[4]){fd+=pd;continue}else if((ld[5]||ld[6])&&cd%3&&!((cd+pd)%3)){md+=pd;continue}if(fd-=pd,fd>0)continue;pd=Math.min(pd,pd+fd+md);const Ad=[...ld[0]][0].length,Nd=qa.slice(0,cd+ld.index+Ad+pd);if(Math.min(cd,pd)%2){const kd=Nd.slice(1,-1);return{type:"em",raw:Nd,text:kd,tokens:this.lexer.inlineTokens(kd)}}const Id=Nd.slice(2,-2);return{type:"strong",raw:Nd,text:Id,tokens:this.lexer.inlineTokens(Id)}}}}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 cd;do cd=nd[0],nd[0]=((od=this.rules.inline._backpedal.exec(nd[0]))==null?void 0:od[0])??"";while(cd!==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 K1{constructor(qa){p_(this,"tokens");p_(this,"options");p_(this,"state");p_(this,"tokenizer");p_(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 K1(nd).lex(qa)}static lexInline(qa,nd){return new K1(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,cd;for(this.options.pedantic&&(qa=qa.replace(other.tabCharGlobal," ").replace(other.spaceLine,""));qa;){let dd;if((ud=(ld=this.options.extensions)==null?void 0:ld.block)!=null&&ud.some(fd=>(dd=fd.call({lexer:this},qa,nd))?(qa=qa.substring(dd.raw.length),nd.push(dd),!0):!1))continue;if(dd=this.tokenizer.space(qa)){qa=qa.substring(dd.raw.length);const fd=nd.at(-1);dd.raw.length===1&&fd!==void 0?fd.raw+=`
|
||
`:nd.push(dd);continue}if(dd=this.tokenizer.code(qa)){qa=qa.substring(dd.raw.length);const fd=nd.at(-1);(fd==null?void 0:fd.type)==="paragraph"||(fd==null?void 0:fd.type)==="text"?(fd.raw+=`
|
||
`+dd.raw,fd.text+=`
|
||
`+dd.text,this.inlineQueue.at(-1).src=fd.text):nd.push(dd);continue}if(dd=this.tokenizer.fences(qa)){qa=qa.substring(dd.raw.length),nd.push(dd);continue}if(dd=this.tokenizer.heading(qa)){qa=qa.substring(dd.raw.length),nd.push(dd);continue}if(dd=this.tokenizer.hr(qa)){qa=qa.substring(dd.raw.length),nd.push(dd);continue}if(dd=this.tokenizer.blockquote(qa)){qa=qa.substring(dd.raw.length),nd.push(dd);continue}if(dd=this.tokenizer.list(qa)){qa=qa.substring(dd.raw.length),nd.push(dd);continue}if(dd=this.tokenizer.html(qa)){qa=qa.substring(dd.raw.length),nd.push(dd);continue}if(dd=this.tokenizer.def(qa)){qa=qa.substring(dd.raw.length);const fd=nd.at(-1);(fd==null?void 0:fd.type)==="paragraph"||(fd==null?void 0:fd.type)==="text"?(fd.raw+=`
|
||
`+dd.raw,fd.text+=`
|
||
`+dd.raw,this.inlineQueue.at(-1).src=fd.text):this.tokens.links[dd.tag]||(this.tokens.links[dd.tag]={href:dd.href,title:dd.title});continue}if(dd=this.tokenizer.table(qa)){qa=qa.substring(dd.raw.length),nd.push(dd);continue}if(dd=this.tokenizer.lheading(qa)){qa=qa.substring(dd.raw.length),nd.push(dd);continue}let pd=qa;if((cd=this.options.extensions)!=null&&cd.startBlock){let fd=1/0;const md=qa.slice(1);let vd;this.options.extensions.startBlock.forEach(Ad=>{vd=Ad.call({lexer:this},md),typeof vd=="number"&&vd>=0&&(fd=Math.min(fd,vd))}),fd<1/0&&fd>=0&&(pd=qa.substring(0,fd+1))}if(this.state.top&&(dd=this.tokenizer.paragraph(pd))){const fd=nd.at(-1);od&&(fd==null?void 0:fd.type)==="paragraph"?(fd.raw+=`
|
||
`+dd.raw,fd.text+=`
|
||
`+dd.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=fd.text):nd.push(dd),od=pd.length!==qa.length,qa=qa.substring(dd.raw.length);continue}if(dd=this.tokenizer.text(qa)){qa=qa.substring(dd.raw.length);const fd=nd.at(-1);(fd==null?void 0:fd.type)==="text"?(fd.raw+=`
|
||
`+dd.raw,fd.text+=`
|
||
`+dd.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=fd.text):nd.push(dd);continue}if(qa){const fd="Infinite loop on byte: "+qa.charCodeAt(0);if(this.options.silent){console.error(fd);break}else throw new Error(fd)}}return this.state.top=!0,nd}inline(qa,nd=[]){return this.inlineQueue.push({src:qa,tokens:nd}),nd}inlineTokens(qa,nd=[]){var dd,pd,fd;let od=qa,ld=null;if(this.tokens.links){const md=Object.keys(this.tokens.links);if(md.length>0)for(;(ld=this.tokenizer.rules.inline.reflinkSearch.exec(od))!=null;)md.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,cd="";for(;qa;){ud||(cd=""),ud=!1;let md;if((pd=(dd=this.options.extensions)==null?void 0:dd.inline)!=null&&pd.some(Ad=>(md=Ad.call({lexer:this},qa,nd))?(qa=qa.substring(md.raw.length),nd.push(md),!0):!1))continue;if(md=this.tokenizer.escape(qa)){qa=qa.substring(md.raw.length),nd.push(md);continue}if(md=this.tokenizer.tag(qa)){qa=qa.substring(md.raw.length),nd.push(md);continue}if(md=this.tokenizer.link(qa)){qa=qa.substring(md.raw.length),nd.push(md);continue}if(md=this.tokenizer.reflink(qa,this.tokens.links)){qa=qa.substring(md.raw.length);const Ad=nd.at(-1);md.type==="text"&&(Ad==null?void 0:Ad.type)==="text"?(Ad.raw+=md.raw,Ad.text+=md.text):nd.push(md);continue}if(md=this.tokenizer.emStrong(qa,od,cd)){qa=qa.substring(md.raw.length),nd.push(md);continue}if(md=this.tokenizer.codespan(qa)){qa=qa.substring(md.raw.length),nd.push(md);continue}if(md=this.tokenizer.br(qa)){qa=qa.substring(md.raw.length),nd.push(md);continue}if(md=this.tokenizer.del(qa)){qa=qa.substring(md.raw.length),nd.push(md);continue}if(md=this.tokenizer.autolink(qa)){qa=qa.substring(md.raw.length),nd.push(md);continue}if(!this.state.inLink&&(md=this.tokenizer.url(qa))){qa=qa.substring(md.raw.length),nd.push(md);continue}let vd=qa;if((fd=this.options.extensions)!=null&&fd.startInline){let Ad=1/0;const Nd=qa.slice(1);let Id;this.options.extensions.startInline.forEach(kd=>{Id=kd.call({lexer:this},Nd),typeof Id=="number"&&Id>=0&&(Ad=Math.min(Ad,Id))}),Ad<1/0&&Ad>=0&&(vd=qa.substring(0,Ad+1))}if(md=this.tokenizer.inlineText(vd)){qa=qa.substring(md.raw.length),md.raw.slice(-1)!=="_"&&(cd=md.raw.slice(-1)),ud=!0;const Ad=nd.at(-1);(Ad==null?void 0:Ad.type)==="text"?(Ad.raw+=md.raw,Ad.text+=md.text):nd.push(md);continue}if(qa){const Ad="Infinite loop on byte: "+qa.charCodeAt(0);if(this.options.silent){console.error(Ad);break}else throw new Error(Ad)}}return nd}},_Renderer$1=class{constructor(qa){p_(this,"options");p_(this,"parser");this.options=qa||_defaults$1}space(qa){return""}code({text:qa,lang:nd,escaped:od}){var cd;const ld=(cd=(nd||"").match(other.notSpaceStart))==null?void 0:cd[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 dd=0;dd<qa.items.length;dd++){const pd=qa.items[dd];ld+=this.listitem(pd)}const ud=nd?"ol":"ul",cd=nd&&od!==1?' start="'+od+'"':"";return"<"+ud+cd+`>
|
||
`+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 cd=qa.rows[ud];od="";for(let dd=0;dd<cd.length;dd++)od+=this.tablecell(cd[dd]);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 cd='<a href="'+qa+'"';return nd&&(cd+=' title="'+escape$3(nd)+'"'),cd+=">"+ld+"</a>",cd}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 X1{constructor(qa){p_(this,"options");p_(this,"renderer");p_(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 X1(nd).parse(qa)}static parseInline(qa,nd){return new X1(nd).parseInline(qa)}parse(qa,nd=!0){var ld,ud;let od="";for(let cd=0;cd<qa.length;cd++){const dd=qa[cd];if((ud=(ld=this.options.extensions)==null?void 0:ld.renderers)!=null&&ud[dd.type]){const fd=dd,md=this.options.extensions.renderers[fd.type].call({parser:this},fd);if(md!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(fd.type)){od+=md||"";continue}}const pd=dd;switch(pd.type){case"space":{od+=this.renderer.space(pd);continue}case"hr":{od+=this.renderer.hr(pd);continue}case"heading":{od+=this.renderer.heading(pd);continue}case"code":{od+=this.renderer.code(pd);continue}case"table":{od+=this.renderer.table(pd);continue}case"blockquote":{od+=this.renderer.blockquote(pd);continue}case"list":{od+=this.renderer.list(pd);continue}case"html":{od+=this.renderer.html(pd);continue}case"paragraph":{od+=this.renderer.paragraph(pd);continue}case"text":{let fd=pd,md=this.renderer.text(fd);for(;cd+1<qa.length&&qa[cd+1].type==="text";)fd=qa[++cd],md+=`
|
||
`+this.renderer.text(fd);nd?od+=this.renderer.paragraph({type:"paragraph",raw:md,text:md,tokens:[{type:"text",raw:md,text:md,escaped:!0}]}):od+=md;continue}default:{const fd='Token with "'+pd.type+'" type was not found.';if(this.options.silent)return console.error(fd),"";throw new Error(fd)}}}return od}parseInline(qa,nd=this.renderer){var ld,ud;let od="";for(let cd=0;cd<qa.length;cd++){const dd=qa[cd];if((ud=(ld=this.options.extensions)==null?void 0:ld.renderers)!=null&&ud[dd.type]){const fd=this.options.extensions.renderers[dd.type].call({parser:this},dd);if(fd!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(dd.type)){od+=fd||"";continue}}const pd=dd;switch(pd.type){case"escape":{od+=nd.text(pd);break}case"html":{od+=nd.html(pd);break}case"link":{od+=nd.link(pd);break}case"image":{od+=nd.image(pd);break}case"strong":{od+=nd.strong(pd);break}case"em":{od+=nd.em(pd);break}case"codespan":{od+=nd.codespan(pd);break}case"br":{od+=nd.br(pd);break}case"del":{od+=nd.del(pd);break}case"text":{od+=nd.text(pd);break}default:{const fd='Token with "'+pd.type+'" type was not found.';if(this.options.silent)return console.error(fd),"";throw new Error(fd)}}}return od}};var Y1;let _Hooks$1=(Y1=class{constructor(qa){p_(this,"options");p_(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}},p_(Y1,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"])),Y1),Marked$1=class{constructor(...qa){p_(this,"defaults",_getDefaults$1());p_(this,"options",this.setOptions);p_(this,"parse",this.parseMarkdown(!0));p_(this,"parseInline",this.parseMarkdown(!1));p_(this,"Parser",_Parser$1);p_(this,"Renderer",_Renderer$1);p_(this,"TextRenderer",_TextRenderer$1);p_(this,"Lexer",_Lexer$1);p_(this,"Tokenizer",_Tokenizer$1);p_(this,"Hooks",_Hooks$1);this.use(...qa)}walkTokens(qa,nd){var ld,ud;let od=[];for(const cd of qa)switch(od=od.concat(nd.call(this,cd)),cd.type){case"table":{const dd=cd;for(const pd of dd.header)od=od.concat(this.walkTokens(pd.tokens,nd));for(const pd of dd.rows)for(const fd of pd)od=od.concat(this.walkTokens(fd.tokens,nd));break}case"list":{const dd=cd;od=od.concat(this.walkTokens(dd.items,nd));break}default:{const dd=cd;(ud=(ld=this.defaults.extensions)==null?void 0:ld.childTokens)!=null&&ud[dd.type]?this.defaults.extensions.childTokens[dd.type].forEach(pd=>{const fd=dd[pd].flat(1/0);od=od.concat(this.walkTokens(fd,nd))}):dd.tokens&&(od=od.concat(this.walkTokens(dd.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 cd=nd.renderers[ud.name];cd?nd.renderers[ud.name]=function(...dd){let pd=ud.renderer.apply(this,dd);return pd===!1&&(pd=cd.apply(this,dd)),pd}: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 cd=nd[ud.level];cd?cd.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 cd in od.renderer){if(!(cd in ud))throw new Error(`renderer '${cd}' does not exist`);if(["options","parser"].includes(cd))continue;const dd=cd,pd=od.renderer[dd],fd=ud[dd];ud[dd]=(...md)=>{let vd=pd.apply(ud,md);return vd===!1&&(vd=fd.apply(ud,md)),vd||""}}ld.renderer=ud}if(od.tokenizer){const ud=this.defaults.tokenizer||new _Tokenizer$1(this.defaults);for(const cd in od.tokenizer){if(!(cd in ud))throw new Error(`tokenizer '${cd}' does not exist`);if(["options","rules","lexer"].includes(cd))continue;const dd=cd,pd=od.tokenizer[dd],fd=ud[dd];ud[dd]=(...md)=>{let vd=pd.apply(ud,md);return vd===!1&&(vd=fd.apply(ud,md)),vd}}ld.tokenizer=ud}if(od.hooks){const ud=this.defaults.hooks||new _Hooks$1;for(const cd in od.hooks){if(!(cd in ud))throw new Error(`hook '${cd}' does not exist`);if(["options","block"].includes(cd))continue;const dd=cd,pd=od.hooks[dd],fd=ud[dd];_Hooks$1.passThroughHooks.has(cd)?ud[dd]=md=>{if(this.defaults.async)return Promise.resolve(pd.call(ud,md)).then(Ad=>fd.call(ud,Ad));const vd=pd.call(ud,md);return fd.call(ud,vd)}:ud[dd]=(...md)=>{let vd=pd.apply(ud,md);return vd===!1&&(vd=fd.apply(ud,md)),vd}}ld.hooks=ud}if(od.walkTokens){const ud=this.defaults.walkTokens,cd=od.walkTokens;ld.walkTokens=function(dd){let pd=[];return pd.push(cd.call(this,dd)),ud&&(pd=pd.concat(ud.call(this,dd))),pd}}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},cd={...this.defaults,...ud},dd=this.onError(!!cd.silent,!!cd.async);if(this.defaults.async===!0&&ud.async===!1)return dd(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 dd(new Error("marked(): input parameter is undefined or null"));if(typeof od!="string")return dd(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(od)+", string expected"));cd.hooks&&(cd.hooks.options=cd,cd.hooks.block=qa);const pd=cd.hooks?cd.hooks.provideLexer():qa?_Lexer$1.lex:_Lexer$1.lexInline,fd=cd.hooks?cd.hooks.provideParser():qa?_Parser$1.parse:_Parser$1.parseInline;if(cd.async)return Promise.resolve(cd.hooks?cd.hooks.preprocess(od):od).then(md=>pd(md,cd)).then(md=>cd.hooks?cd.hooks.processAllTokens(md):md).then(md=>cd.walkTokens?Promise.all(this.walkTokens(md,cd.walkTokens)).then(()=>md):md).then(md=>fd(md,cd)).then(md=>cd.hooks?cd.hooks.postprocess(md):md).catch(dd);try{cd.hooks&&(od=cd.hooks.preprocess(od));let md=pd(od,cd);cd.hooks&&(md=cd.hooks.processAllTokens(md)),cd.walkTokens&&this.walkTokens(md,cd.walkTokens);let vd=fd(md,cd);return cd.hooks&&(vd=cd.hooks.postprocess(vd)),vd}catch(md){return dd(md)}}}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 cd=document.querySelector("meta[property=csp-nonce]"),dd=(cd==null?void 0:cd.nonce)||(cd==null?void 0:cd.getAttribute("nonce"));ld=Promise.allSettled(nd.map(pd=>{if(pd=assetsURL(pd),pd in seen)return;seen[pd]=!0;const fd=pd.endsWith(".css"),md=fd?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${pd}"]${md}`))return;const vd=document.createElement("link");if(vd.rel=fd?"stylesheet":scriptRel,fd||(vd.as="script"),vd.crossOrigin="",vd.href=pd,dd&&vd.setAttribute("nonce",dd),document.head.appendChild(vd),fd)return new Promise((Ad,Nd)=>{vd.addEventListener("load",Ad),vd.addEventListener("error",()=>Nd(new Error(`Unable to preload CSS for ${pd}`)))})}))}function ud(cd){const dd=new Event("vite:preloadError",{cancelable:!0});if(dd.payload=cd,window.dispatchEvent(dd),!dd.defaultPrevented)throw cd}return ld.then(cd=>{for(const dd of cd||[])dd.status==="rejected"&&ud(dd.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",cd="second",dd="minute",pd="hour",fd="day",md="week",vd="month",Ad="quarter",Nd="year",Id="date",kd="Invalid Date",jd=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Fd=/\[([^\]]+)]|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,Md={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(Ef){var gf=["th","st","nd","rd"],xf=Ef%100;return"["+Ef+(gf[(xf-20)%10]||gf[xf]||gf[0])+"]"}},Ld=function(Ef,gf,xf){var Af=String(Ef);return!Af||Af.length>=gf?Ef:""+Array(gf+1-Af.length).join(xf)+Ef},Hd={s:Ld,z:function(Ef){var gf=-Ef.utcOffset(),xf=Math.abs(gf),Af=Math.floor(xf/60),Lf=xf%60;return(gf<=0?"+":"-")+Ld(Af,2,"0")+":"+Ld(Lf,2,"0")},m:function Ef(gf,xf){if(gf.date()<xf.date())return-Ef(xf,gf);var Af=12*(xf.year()-gf.year())+(xf.month()-gf.month()),Lf=gf.clone().add(Af,vd),Xf=xf-Lf<0,Jf=gf.clone().add(Af+(Xf?-1:1),vd);return+(-(Af+(xf-Lf)/(Xf?Lf-Jf:Jf-Lf))||0)},a:function(Ef){return Ef<0?Math.ceil(Ef)||0:Math.floor(Ef)},p:function(Ef){return{M:vd,y:Nd,w:md,d:fd,D:Id,h:pd,m:dd,s:cd,ms:ud,Q:Ad}[Ef]||String(Ef||"").toLowerCase().replace(/s$/,"")},u:function(Ef){return Ef===void 0}},Gd="en",Vd={};Vd[Gd]=Md;var Kd="$isDayjsObject",mf=function(Ef){return Ef instanceof bf||!(!Ef||!Ef[Kd])},Wd=function Ef(gf,xf,Af){var Lf;if(!gf)return Gd;if(typeof gf=="string"){var Xf=gf.toLowerCase();Vd[Xf]&&(Lf=Xf),xf&&(Vd[Xf]=xf,Lf=Xf);var Jf=gf.split("-");if(!Lf&&Jf.length>1)return Ef(Jf[0])}else{var Zf=gf.name;Vd[Zf]=gf,Lf=Zf}return!Af&&Lf&&(Gd=Lf),Lf||!Af&&Gd},Zd=function(Ef,gf){if(mf(Ef))return Ef.clone();var xf=typeof gf=="object"?gf:{};return xf.date=Ef,xf.args=arguments,new bf(xf)},Xd=Hd;Xd.l=Wd,Xd.i=mf,Xd.w=function(Ef,gf){return Zd(Ef,{locale:gf.$L,utc:gf.$u,x:gf.$x,$offset:gf.$offset})};var bf=function(){function Ef(xf){this.$L=Wd(xf.locale,null,!0),this.parse(xf),this.$x=this.$x||xf.x||{},this[Kd]=!0}var gf=Ef.prototype;return gf.parse=function(xf){this.$d=function(Af){var Lf=Af.date,Xf=Af.utc;if(Lf===null)return new Date(NaN);if(Xd.u(Lf))return new Date;if(Lf instanceof Date)return new Date(Lf);if(typeof Lf=="string"&&!/Z$/i.test(Lf)){var Jf=Lf.match(jd);if(Jf){var Zf=Jf[2]-1||0,Bf=(Jf[7]||"0").substring(0,3);return Xf?new Date(Date.UTC(Jf[1],Zf,Jf[3]||1,Jf[4]||0,Jf[5]||0,Jf[6]||0,Bf)):new Date(Jf[1],Zf,Jf[3]||1,Jf[4]||0,Jf[5]||0,Jf[6]||0,Bf)}}return new Date(Lf)}(xf),this.init()},gf.init=function(){var xf=this.$d;this.$y=xf.getFullYear(),this.$M=xf.getMonth(),this.$D=xf.getDate(),this.$W=xf.getDay(),this.$H=xf.getHours(),this.$m=xf.getMinutes(),this.$s=xf.getSeconds(),this.$ms=xf.getMilliseconds()},gf.$utils=function(){return Xd},gf.isValid=function(){return this.$d.toString()!==kd},gf.isSame=function(xf,Af){var Lf=Zd(xf);return this.startOf(Af)<=Lf&&Lf<=this.endOf(Af)},gf.isAfter=function(xf,Af){return Zd(xf)<this.startOf(Af)},gf.isBefore=function(xf,Af){return this.endOf(Af)<Zd(xf)},gf.$g=function(xf,Af,Lf){return Xd.u(xf)?this[Af]:this.set(Lf,xf)},gf.unix=function(){return Math.floor(this.valueOf()/1e3)},gf.valueOf=function(){return this.$d.getTime()},gf.startOf=function(xf,Af){var Lf=this,Xf=!!Xd.u(Af)||Af,Jf=Xd.p(xf),Zf=function(qf,eh){var ch=Xd.w(Lf.$u?Date.UTC(Lf.$y,eh,qf):new Date(Lf.$y,eh,qf),Lf);return Xf?ch:ch.endOf(fd)},Bf=function(qf,eh){return Xd.w(Lf.toDate()[qf].apply(Lf.toDate("s"),(Xf?[0,0,0,0]:[23,59,59,999]).slice(eh)),Lf)},Df=this.$W,Uf=this.$M,Gf=this.$D,zf="set"+(this.$u?"UTC":"");switch(Jf){case Nd:return Xf?Zf(1,0):Zf(31,11);case vd:return Xf?Zf(1,Uf):Zf(0,Uf+1);case md:var Tf=this.$locale().weekStart||0,vf=(Df<Tf?Df+7:Df)-Tf;return Zf(Xf?Gf-vf:Gf+(6-vf),Uf);case fd:case Id:return Bf(zf+"Hours",0);case pd:return Bf(zf+"Minutes",1);case dd:return Bf(zf+"Seconds",2);case cd:return Bf(zf+"Milliseconds",3);default:return this.clone()}},gf.endOf=function(xf){return this.startOf(xf,!1)},gf.$set=function(xf,Af){var Lf,Xf=Xd.p(xf),Jf="set"+(this.$u?"UTC":""),Zf=(Lf={},Lf[fd]=Jf+"Date",Lf[Id]=Jf+"Date",Lf[vd]=Jf+"Month",Lf[Nd]=Jf+"FullYear",Lf[pd]=Jf+"Hours",Lf[dd]=Jf+"Minutes",Lf[cd]=Jf+"Seconds",Lf[ud]=Jf+"Milliseconds",Lf)[Xf],Bf=Xf===fd?this.$D+(Af-this.$W):Af;if(Xf===vd||Xf===Nd){var Df=this.clone().set(Id,1);Df.$d[Zf](Bf),Df.init(),this.$d=Df.set(Id,Math.min(this.$D,Df.daysInMonth())).$d}else Zf&&this.$d[Zf](Bf);return this.init(),this},gf.set=function(xf,Af){return this.clone().$set(xf,Af)},gf.get=function(xf){return this[Xd.p(xf)]()},gf.add=function(xf,Af){var Lf,Xf=this;xf=Number(xf);var Jf=Xd.p(Af),Zf=function(Uf){var Gf=Zd(Xf);return Xd.w(Gf.date(Gf.date()+Math.round(Uf*xf)),Xf)};if(Jf===vd)return this.set(vd,this.$M+xf);if(Jf===Nd)return this.set(Nd,this.$y+xf);if(Jf===fd)return Zf(1);if(Jf===md)return Zf(7);var Bf=(Lf={},Lf[dd]=od,Lf[pd]=ld,Lf[cd]=nd,Lf)[Jf]||1,Df=this.$d.getTime()+xf*Bf;return Xd.w(Df,this)},gf.subtract=function(xf,Af){return this.add(-1*xf,Af)},gf.format=function(xf){var Af=this,Lf=this.$locale();if(!this.isValid())return Lf.invalidDate||kd;var Xf=xf||"YYYY-MM-DDTHH:mm:ssZ",Jf=Xd.z(this),Zf=this.$H,Bf=this.$m,Df=this.$M,Uf=Lf.weekdays,Gf=Lf.months,zf=Lf.meridiem,Tf=function(eh,ch,ih,Pf){return eh&&(eh[ch]||eh(Af,Xf))||ih[ch].slice(0,Pf)},vf=function(eh){return Xd.s(Zf%12||12,eh,"0")},qf=zf||function(eh,ch,ih){var Pf=eh<12?"AM":"PM";return ih?Pf.toLowerCase():Pf};return Xf.replace(Fd,function(eh,ch){return ch||function(ih){switch(ih){case"YY":return String(Af.$y).slice(-2);case"YYYY":return Xd.s(Af.$y,4,"0");case"M":return Df+1;case"MM":return Xd.s(Df+1,2,"0");case"MMM":return Tf(Lf.monthsShort,Df,Gf,3);case"MMMM":return Tf(Gf,Df);case"D":return Af.$D;case"DD":return Xd.s(Af.$D,2,"0");case"d":return String(Af.$W);case"dd":return Tf(Lf.weekdaysMin,Af.$W,Uf,2);case"ddd":return Tf(Lf.weekdaysShort,Af.$W,Uf,3);case"dddd":return Uf[Af.$W];case"H":return String(Zf);case"HH":return Xd.s(Zf,2,"0");case"h":return vf(1);case"hh":return vf(2);case"a":return qf(Zf,Bf,!0);case"A":return qf(Zf,Bf,!1);case"m":return String(Bf);case"mm":return Xd.s(Bf,2,"0");case"s":return String(Af.$s);case"ss":return Xd.s(Af.$s,2,"0");case"SSS":return Xd.s(Af.$ms,3,"0");case"Z":return Jf}return null}(eh)||Jf.replace(":","")})},gf.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},gf.diff=function(xf,Af,Lf){var Xf,Jf=this,Zf=Xd.p(Af),Bf=Zd(xf),Df=(Bf.utcOffset()-this.utcOffset())*od,Uf=this-Bf,Gf=function(){return Xd.m(Jf,Bf)};switch(Zf){case Nd:Xf=Gf()/12;break;case vd:Xf=Gf();break;case Ad:Xf=Gf()/3;break;case md:Xf=(Uf-Df)/6048e5;break;case fd:Xf=(Uf-Df)/864e5;break;case pd:Xf=Uf/ld;break;case dd:Xf=Uf/od;break;case cd:Xf=Uf/nd;break;default:Xf=Uf}return Lf?Xf:Xd.a(Xf)},gf.daysInMonth=function(){return this.endOf(vd).$D},gf.$locale=function(){return Vd[this.$L]},gf.locale=function(xf,Af){if(!xf)return this.$L;var Lf=this.clone(),Xf=Wd(xf,Af,!0);return Xf&&(Lf.$L=Xf),Lf},gf.clone=function(){return Xd.w(this.$d,this)},gf.toDate=function(){return new Date(this.valueOf())},gf.toJSON=function(){return this.isValid()?this.toISOString():null},gf.toISOString=function(){return this.$d.toISOString()},gf.toString=function(){return this.$d.toUTCString()},Ef}(),yf=bf.prototype;return Zd.prototype=yf,[["$ms",ud],["$s",cd],["$m",dd],["$H",pd],["$W",fd],["$M",vd],["$y",Nd],["$D",Id]].forEach(function(Ef){yf[Ef[1]]=function(gf){return this.$g(gf,Ef[0],Ef[1])}}),Zd.extend=function(Ef,gf){return Ef.$i||(Ef(gf,bf,Zd),Ef.$i=!0),Zd},Zd.locale=Wd,Zd.isDayjs=mf,Zd.unix=function(Ef){return Zd(1e3*Ef)},Zd.en=Vd[Gd],Zd.Ls=Vd,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),cd=(ld+ud)/2;if(od==="l")return cd*100;if(ld===ud)return 0;const dd=ld-ud,pd=cd>.5?dd/(2-ld-ud):dd/(ld+ud);if(od==="s")return pd*100;switch(ld){case Ra:return((qa-nd)/dd+(qa<nd?6:0))*60;case qa:return((nd-Ra)/dd+2)*60;case nd:return((Ra-qa)/dd+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={channel:Channel,lang:Lang,unit:Unit},DEC2HEX={};for(let Ra=0;Ra<=255;Ra++)DEC2HEX[Ra]=Utils.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.channel.rgb2hsl(qa,"h")),od===void 0&&(qa.s=Utils.channel.rgb2hsl(qa,"s")),ld===void 0&&(qa.l=Utils.channel.rgb2hsl(qa,"l"))}_ensureRGB(){const qa=this.data,{r:nd,g:od,b:ld}=qa;nd===void 0&&(qa.r=Utils.channel.hsl2rgb(qa,"r")),od===void 0&&(qa.g=Utils.channel.hsl2rgb(qa,"g")),ld===void 0&&(qa.b=Utils.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.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.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.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.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.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.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,cd=ld>4,dd=cd?1:17,pd=cd?8:4,fd=ud?0:-1,md=cd?255:15;return channels.set({r:(od>>pd*(fd+3)&md)*dd,g:(od>>pd*(fd+2)&md)*dd,b:(od>>pd*(fd+1)&md)*dd,a:ud?(od&md)*dd/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.channel.clamp.h(parseFloat(nd)*.9);case"rad":return Utils.channel.clamp.h(parseFloat(nd)*180/Math.PI);case"turn":return Utils.channel.clamp.h(parseFloat(nd)*360)}}return Utils.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,cd,dd]=nd;return channels.set({h:HSL._hue2deg(od),s:Utils.channel.clamp.s(parseFloat(ld)),l:Utils.channel.clamp.l(parseFloat(ud)),a:cd?Utils.channel.clamp.a(dd?parseFloat(cd)/100:parseFloat(cd)):1},Ra)},stringify:Ra=>{const{h:qa,s:nd,l:od,a:ld}=Ra;return ld<1?`hsla(${Utils.lang.round(qa)}, ${Utils.lang.round(nd)}%, ${Utils.lang.round(od)}%, ${ld})`:`hsl(${Utils.lang.round(qa)}, ${Utils.lang.round(nd)}%, ${Utils.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,cd,dd,pd,fd,md]=nd;return channels.set({r:Utils.channel.clamp.r(ld?parseFloat(od)*2.55:parseFloat(od)),g:Utils.channel.clamp.g(cd?parseFloat(ud)*2.55:parseFloat(ud)),b:Utils.channel.clamp.b(pd?parseFloat(dd)*2.55:parseFloat(dd)),a:fd?Utils.channel.clamp.a(md?parseFloat(fd)/100:parseFloat(fd)):1},Ra)},stringify:Ra=>{const{r:qa,g:nd,b:od,a:ld}=Ra;return ld<1?`rgba(${Utils.lang.round(qa)}, ${Utils.lang.round(nd)}, ${Utils.lang.round(od)}, ${Utils.lang.round(ld)})`:`rgb(${Utils.lang.round(qa)}, ${Utils.lang.round(nd)}, ${Utils.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.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.channel.clamp.r(Ra),g:Utils.channel.clamp.g(qa),b:Utils.channel.clamp.b(nd),a:Utils.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.channel.toLinear(qa)+.7152*Utils.channel.toLinear(nd)+.0722*Utils.channel.toLinear(od);return Utils.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.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:cd}=Color$1.parse(Ra),{r:dd,g:pd,b:fd,a:md}=Color$1.parse(qa),vd=nd/100,Ad=vd*2-1,Nd=cd-md,kd=((Ad*Nd===-1?Ad:(Ad+Nd)/(1+Ad*Nd))+1)/2,jd=1-kd,Fd=od*kd+dd*jd,Md=ld*kd+pd*jd,Ld=ud*kd+fd*jd,Hd=cd*vd+md*(1-vd);return rgba$1(Fd,Md,Ld,Hd)},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(cd){return cd},createScriptURL(cd){return cd}})}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=im=>createDOMPurify(im);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:cd,Node:dd,Element:pd,NodeFilter:fd,NamedNodeMap:md=Ra.NamedNodeMap||Ra.MozNamedAttrMap,HTMLFormElement:vd,DOMParser:Ad,trustedTypes:Nd}=Ra,Id=pd.prototype,kd=lookupGetter(Id,"cloneNode"),jd=lookupGetter(Id,"remove"),Fd=lookupGetter(Id,"nextSibling"),Md=lookupGetter(Id,"childNodes"),Ld=lookupGetter(Id,"parentNode");if(typeof cd=="function"){const im=nd.createElement("template");im.content&&im.content.ownerDocument&&(nd=im.content.ownerDocument)}let Hd,Gd="";const{implementation:Vd,createNodeIterator:Kd,createDocumentFragment:mf,getElementsByTagName:Wd}=nd,{importNode:Zd}=od;let Xd={};qa.isSupported=typeof entries=="function"&&typeof Ld=="function"&&Vd&&Vd.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:bf,ERB_EXPR:yf,TMPLIT_EXPR:Ef,DATA_ATTR:gf,ARIA_ATTR:xf,IS_SCRIPT_OR_DATA:Af,ATTR_WHITESPACE:Lf,CUSTOM_ELEMENT:Xf}=EXPRESSIONS;let{IS_ALLOWED_URI:Jf}=EXPRESSIONS,Zf=null;const Bf=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text$1]);let Df=null;const Uf=addToSet({},[...html$2,...svg,...mathMl,...xml$3]);let Gf=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,vf=!0,qf=!0,eh=!1,ch=!0,ih=!1,Pf=!0,uh=!1,xh=!1,Qf=!1,wf=!1,$f=!1,Wf=!1,Th=!0,vh=!1;const ph="user-content-";let Vh=!0,wh=!1,fm={},Nm=null;const cm=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 Sm=null;const $m=addToSet({},["audio","video","img","source","image","track"]);let fh=null;const Rf=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),If="http://www.w3.org/1998/Math/MathML",dh="http://www.w3.org/2000/svg",yh="http://www.w3.org/1999/xhtml";let Uh=yh,Zh=!1,_m=null;const Um=addToSet({},[If,dh,yh],stringToString);let Om=addToSet({},["mi","mo","mn","ms","mtext"]),r_=addToSet({},["annotation-xml"]);const Xm=addToSet({},["title","style","font","a","script"]);let s_=null;const b_=["application/xhtml+xml","text/html"],H_="text/html";let x_=null,M_=null;const h_=nd.createElement("form"),tg=function(Rh){return Rh instanceof RegExp||Rh instanceof Function},L_=function(){let Rh=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(M_&&M_===Rh)){if((!Rh||typeof Rh!="object")&&(Rh={}),Rh=clone(Rh),s_=b_.indexOf(Rh.PARSER_MEDIA_TYPE)===-1?H_:Rh.PARSER_MEDIA_TYPE,x_=s_==="application/xhtml+xml"?stringToString:stringToLowerCase,Zf=objectHasOwnProperty(Rh,"ALLOWED_TAGS")?addToSet({},Rh.ALLOWED_TAGS,x_):Bf,Df=objectHasOwnProperty(Rh,"ALLOWED_ATTR")?addToSet({},Rh.ALLOWED_ATTR,x_):Uf,_m=objectHasOwnProperty(Rh,"ALLOWED_NAMESPACES")?addToSet({},Rh.ALLOWED_NAMESPACES,stringToString):Um,fh=objectHasOwnProperty(Rh,"ADD_URI_SAFE_ATTR")?addToSet(clone(Rf),Rh.ADD_URI_SAFE_ATTR,x_):Rf,Sm=objectHasOwnProperty(Rh,"ADD_DATA_URI_TAGS")?addToSet(clone($m),Rh.ADD_DATA_URI_TAGS,x_):$m,Nm=objectHasOwnProperty(Rh,"FORBID_CONTENTS")?addToSet({},Rh.FORBID_CONTENTS,x_):cm,zf=objectHasOwnProperty(Rh,"FORBID_TAGS")?addToSet({},Rh.FORBID_TAGS,x_):{},Tf=objectHasOwnProperty(Rh,"FORBID_ATTR")?addToSet({},Rh.FORBID_ATTR,x_):{},fm=objectHasOwnProperty(Rh,"USE_PROFILES")?Rh.USE_PROFILES:!1,vf=Rh.ALLOW_ARIA_ATTR!==!1,qf=Rh.ALLOW_DATA_ATTR!==!1,eh=Rh.ALLOW_UNKNOWN_PROTOCOLS||!1,ch=Rh.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ih=Rh.SAFE_FOR_TEMPLATES||!1,Pf=Rh.SAFE_FOR_XML!==!1,uh=Rh.WHOLE_DOCUMENT||!1,wf=Rh.RETURN_DOM||!1,$f=Rh.RETURN_DOM_FRAGMENT||!1,Wf=Rh.RETURN_TRUSTED_TYPE||!1,Qf=Rh.FORCE_BODY||!1,Th=Rh.SANITIZE_DOM!==!1,vh=Rh.SANITIZE_NAMED_PROPS||!1,Vh=Rh.KEEP_CONTENT!==!1,wh=Rh.IN_PLACE||!1,Jf=Rh.ALLOWED_URI_REGEXP||IS_ALLOWED_URI,Uh=Rh.NAMESPACE||yh,Om=Rh.MATHML_TEXT_INTEGRATION_POINTS||Om,r_=Rh.HTML_INTEGRATION_POINTS||r_,Gf=Rh.CUSTOM_ELEMENT_HANDLING||{},Rh.CUSTOM_ELEMENT_HANDLING&&tg(Rh.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Gf.tagNameCheck=Rh.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Rh.CUSTOM_ELEMENT_HANDLING&&tg(Rh.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Gf.attributeNameCheck=Rh.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Rh.CUSTOM_ELEMENT_HANDLING&&typeof Rh.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Gf.allowCustomizedBuiltInElements=Rh.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ih&&(qf=!1),$f&&(wf=!0),fm&&(Zf=addToSet({},text$1),Df=[],fm.html===!0&&(addToSet(Zf,html$1),addToSet(Df,html$2)),fm.svg===!0&&(addToSet(Zf,svg$1),addToSet(Df,svg),addToSet(Df,xml$3)),fm.svgFilters===!0&&(addToSet(Zf,svgFilters),addToSet(Df,svg),addToSet(Df,xml$3)),fm.mathMl===!0&&(addToSet(Zf,mathMl$1),addToSet(Df,mathMl),addToSet(Df,xml$3))),Rh.ADD_TAGS&&(Zf===Bf&&(Zf=clone(Zf)),addToSet(Zf,Rh.ADD_TAGS,x_)),Rh.ADD_ATTR&&(Df===Uf&&(Df=clone(Df)),addToSet(Df,Rh.ADD_ATTR,x_)),Rh.ADD_URI_SAFE_ATTR&&addToSet(fh,Rh.ADD_URI_SAFE_ATTR,x_),Rh.FORBID_CONTENTS&&(Nm===cm&&(Nm=clone(Nm)),addToSet(Nm,Rh.FORBID_CONTENTS,x_)),Vh&&(Zf["#text"]=!0),uh&&addToSet(Zf,["html","head","body"]),Zf.table&&(addToSet(Zf,["tbody"]),delete zf.tbody),Rh.TRUSTED_TYPES_POLICY){if(typeof Rh.TRUSTED_TYPES_POLICY.createHTML!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Rh.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Hd=Rh.TRUSTED_TYPES_POLICY,Gd=Hd.createHTML("")}else Hd===void 0&&(Hd=_createTrustedTypesPolicy(Nd,ld)),Hd!==null&&typeof Gd=="string"&&(Gd=Hd.createHTML(""));freeze&&freeze(Rh),M_=Rh}},dg=addToSet({},[...svg$1,...svgFilters,...svgDisallowed]),yg=addToSet({},[...mathMl$1,...mathMlDisallowed]),q_=function(Rh){let Im=Ld(Rh);(!Im||!Im.tagName)&&(Im={namespaceURI:Uh,tagName:"template"});const Pm=stringToLowerCase(Rh.tagName),i_=stringToLowerCase(Im.tagName);return _m[Rh.namespaceURI]?Rh.namespaceURI===dh?Im.namespaceURI===yh?Pm==="svg":Im.namespaceURI===If?Pm==="svg"&&(i_==="annotation-xml"||Om[i_]):!!dg[Pm]:Rh.namespaceURI===If?Im.namespaceURI===yh?Pm==="math":Im.namespaceURI===dh?Pm==="math"&&r_[i_]:!!yg[Pm]:Rh.namespaceURI===yh?Im.namespaceURI===dh&&!r_[i_]||Im.namespaceURI===If&&!Om[i_]?!1:!yg[Pm]&&(Xm[Pm]||!dg[Pm]):!!(s_==="application/xhtml+xml"&&_m[Rh.namespaceURI]):!1},Y_=function(Rh){arrayPush(qa.removed,{element:Rh});try{Ld(Rh).removeChild(Rh)}catch{jd(Rh)}},Qm=function(Rh,Im){try{arrayPush(qa.removed,{attribute:Im.getAttributeNode(Rh),from:Im})}catch{arrayPush(qa.removed,{attribute:null,from:Im})}if(Im.removeAttribute(Rh),Rh==="is"&&!Df[Rh])if(wf||$f)try{Y_(Im)}catch{}else try{Im.setAttribute(Rh,"")}catch{}},Zg=function(Rh){let Im=null,Pm=null;if(Qf)Rh="<remove></remove>"+Rh;else{const o_=stringMatch(Rh,/^[\r\n\t ]+/);Pm=o_&&o_[0]}s_==="application/xhtml+xml"&&Uh===yh&&(Rh='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Rh+"</body></html>");const i_=Hd?Hd.createHTML(Rh):Rh;if(Uh===yh)try{Im=new Ad().parseFromString(i_,s_)}catch{}if(!Im||!Im.documentElement){Im=Vd.createDocument(Uh,"template",null);try{Im.documentElement.innerHTML=Zh?Gd:i_}catch{}}const Hm=Im.body||Im.documentElement;return Rh&&Pm&&Hm.insertBefore(nd.createTextNode(Pm),Hm.childNodes[0]||null),Uh===yh?Wd.call(Im,uh?"html":"body")[0]:uh?Im.documentElement:Hm},db=function(Rh){return Kd.call(Rh.ownerDocument||Rh,Rh,fd.SHOW_ELEMENT|fd.SHOW_COMMENT|fd.SHOW_TEXT|fd.SHOW_PROCESSING_INSTRUCTION|fd.SHOW_CDATA_SECTION,null)},$g=function(Rh){return Rh instanceof vd&&(typeof Rh.nodeName!="string"||typeof Rh.textContent!="string"||typeof Rh.removeChild!="function"||!(Rh.attributes instanceof md)||typeof Rh.removeAttribute!="function"||typeof Rh.setAttribute!="function"||typeof Rh.namespaceURI!="string"||typeof Rh.insertBefore!="function"||typeof Rh.hasChildNodes!="function")},Of=function(Rh){return typeof dd=="function"&&Rh instanceof dd};function Ch(im,Rh,Im){Xd[im]&&arrayForEach(Xd[im],Pm=>{Pm.call(qa,Rh,Im,M_)})}const _h=function(Rh){let Im=null;if(Ch("beforeSanitizeElements",Rh,null),$g(Rh))return Y_(Rh),!0;const Pm=x_(Rh.nodeName);if(Ch("uponSanitizeElement",Rh,{tagName:Pm,allowedTags:Zf}),Rh.hasChildNodes()&&!Of(Rh.firstElementChild)&®ExpTest(/<[/\w]/g,Rh.innerHTML)&®ExpTest(/<[/\w]/g,Rh.textContent)||Rh.nodeType===NODE_TYPE.progressingInstruction||Pf&&Rh.nodeType===NODE_TYPE.comment&®ExpTest(/<[/\w]/g,Rh.data))return Y_(Rh),!0;if(!Zf[Pm]||zf[Pm]){if(!zf[Pm]&&Wh(Pm)&&(Gf.tagNameCheck instanceof RegExp&®ExpTest(Gf.tagNameCheck,Pm)||Gf.tagNameCheck instanceof Function&&Gf.tagNameCheck(Pm)))return!1;if(Vh&&!Nm[Pm]){const i_=Ld(Rh)||Rh.parentNode,Hm=Md(Rh)||Rh.childNodes;if(Hm&&i_){const o_=Hm.length;for(let j_=o_-1;j_>=0;--j_){const B_=kd(Hm[j_],!0);B_.__removalCount=(Rh.__removalCount||0)+1,i_.insertBefore(B_,Fd(Rh))}}}return Y_(Rh),!0}return Rh instanceof pd&&!q_(Rh)||(Pm==="noscript"||Pm==="noembed"||Pm==="noframes")&®ExpTest(/<\/no(script|embed|frames)/i,Rh.innerHTML)?(Y_(Rh),!0):(ih&&Rh.nodeType===NODE_TYPE.text&&(Im=Rh.textContent,arrayForEach([bf,yf,Ef],i_=>{Im=stringReplace(Im,i_," ")}),Rh.textContent!==Im&&(arrayPush(qa.removed,{element:Rh.cloneNode()}),Rh.textContent=Im)),Ch("afterSanitizeElements",Rh,null),!1)},Sh=function(Rh,Im,Pm){if(Th&&(Im==="id"||Im==="name")&&(Pm in nd||Pm in h_))return!1;if(!(qf&&!Tf[Im]&®ExpTest(gf,Im))){if(!(vf&®ExpTest(xf,Im))){if(!Df[Im]||Tf[Im]){if(!(Wh(Rh)&&(Gf.tagNameCheck instanceof RegExp&®ExpTest(Gf.tagNameCheck,Rh)||Gf.tagNameCheck instanceof Function&&Gf.tagNameCheck(Rh))&&(Gf.attributeNameCheck instanceof RegExp&®ExpTest(Gf.attributeNameCheck,Im)||Gf.attributeNameCheck instanceof Function&&Gf.attributeNameCheck(Im))||Im==="is"&&Gf.allowCustomizedBuiltInElements&&(Gf.tagNameCheck instanceof RegExp&®ExpTest(Gf.tagNameCheck,Pm)||Gf.tagNameCheck instanceof Function&&Gf.tagNameCheck(Pm))))return!1}else if(!fh[Im]){if(!regExpTest(Jf,stringReplace(Pm,Lf,""))){if(!((Im==="src"||Im==="xlink:href"||Im==="href")&&Rh!=="script"&&stringIndexOf(Pm,"data:")===0&&Sm[Rh])){if(!(eh&&!regExpTest(Af,stringReplace(Pm,Lf,"")))){if(Pm)return!1}}}}}}return!0},Wh=function(Rh){return Rh!=="annotation-xml"&&stringMatch(Rh,Xf)},Fh=function(Rh){Ch("beforeSanitizeAttributes",Rh,null);const{attributes:Im}=Rh;if(!Im)return;const Pm={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Df,forceKeepAttr:void 0};let i_=Im.length;for(;i_--;){const Hm=Im[i_],{name:o_,namespaceURI:j_,value:B_}=Hm,C_=x_(o_);let Km=o_==="value"?B_:stringTrim(B_);if(Pm.attrName=C_,Pm.attrValue=Km,Pm.keepAttr=!0,Pm.forceKeepAttr=void 0,Ch("uponSanitizeAttribute",Rh,Pm),Km=Pm.attrValue,vh&&(C_==="id"||C_==="name")&&(Qm(o_,Rh),Km=ph+Km),Pf&®ExpTest(/((--!?|])>)|<\/(style|title)/i,Km)){Qm(o_,Rh);continue}if(Pm.forceKeepAttr||(Qm(o_,Rh),!Pm.keepAttr))continue;if(!ch&®ExpTest(/\/>/i,Km)){Qm(o_,Rh);continue}ih&&arrayForEach([bf,yf,Ef],N_=>{Km=stringReplace(Km,N_," ")});const ig=x_(Rh.nodeName);if(Sh(ig,C_,Km)){if(Hd&&typeof Nd=="object"&&typeof Nd.getAttributeType=="function"&&!j_)switch(Nd.getAttributeType(ig,C_)){case"TrustedHTML":{Km=Hd.createHTML(Km);break}case"TrustedScriptURL":{Km=Hd.createScriptURL(Km);break}}try{j_?Rh.setAttributeNS(j_,o_,Km):Rh.setAttribute(o_,Km),$g(Rh)?Y_(Rh):arrayPop(qa.removed)}catch{}}}Ch("afterSanitizeAttributes",Rh,null)},om=function im(Rh){let Im=null;const Pm=db(Rh);for(Ch("beforeSanitizeShadowDOM",Rh,null);Im=Pm.nextNode();)Ch("uponSanitizeShadowNode",Im,null),!_h(Im)&&(Im.content instanceof ud&&im(Im.content),Fh(Im));Ch("afterSanitizeShadowDOM",Rh,null)};return qa.sanitize=function(im){let Rh=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Im=null,Pm=null,i_=null,Hm=null;if(Zh=!im,Zh&&(im="<!-->"),typeof im!="string"&&!Of(im))if(typeof im.toString=="function"){if(im=im.toString(),typeof im!="string")throw typeErrorCreate("dirty is not a string, aborting")}else throw typeErrorCreate("toString is not a function");if(!qa.isSupported)return im;if(xh||L_(Rh),qa.removed=[],typeof im=="string"&&(wh=!1),wh){if(im.nodeName){const B_=x_(im.nodeName);if(!Zf[B_]||zf[B_])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(im instanceof dd)Im=Zg("<!---->"),Pm=Im.ownerDocument.importNode(im,!0),Pm.nodeType===NODE_TYPE.element&&Pm.nodeName==="BODY"||Pm.nodeName==="HTML"?Im=Pm:Im.appendChild(Pm);else{if(!wf&&!ih&&!uh&&im.indexOf("<")===-1)return Hd&&Wf?Hd.createHTML(im):im;if(Im=Zg(im),!Im)return wf?null:Wf?Gd:""}Im&&Qf&&Y_(Im.firstChild);const o_=db(wh?im:Im);for(;i_=o_.nextNode();)_h(i_)||(i_.content instanceof ud&&om(i_.content),Fh(i_));if(wh)return im;if(wf){if($f)for(Hm=mf.call(Im.ownerDocument);Im.firstChild;)Hm.appendChild(Im.firstChild);else Hm=Im;return(Df.shadowroot||Df.shadowrootmode)&&(Hm=Zd.call(od,Hm,!0)),Hm}let j_=uh?Im.outerHTML:Im.innerHTML;return uh&&Zf["!doctype"]&&Im.ownerDocument&&Im.ownerDocument.doctype&&Im.ownerDocument.doctype.name&®ExpTest(DOCTYPE_NAME,Im.ownerDocument.doctype.name)&&(j_="<!DOCTYPE "+Im.ownerDocument.doctype.name+`>
|
||
`+j_),ih&&arrayForEach([bf,yf,Ef],B_=>{j_=stringReplace(j_,B_," ")}),Hd&&Wf?Hd.createHTML(j_):j_},qa.setConfig=function(){let im=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};L_(im),xh=!0},qa.clearConfig=function(){M_=null,xh=!1},qa.isValidAttribute=function(im,Rh,Im){M_||L_({});const Pm=x_(im),i_=x_(Rh);return Sh(Pm,i_,Im)},qa.addHook=function(im,Rh){typeof Rh=="function"&&(Xd[im]=Xd[im]||[],arrayPush(Xd[im],Rh))},qa.removeHook=function(im){if(Xd[im])return arrayPop(Xd[im])},qa.removeHooks=function(im){Xd[im]&&(Xd[im]=[])},qa.removeAllHooks=function(){Xd={}},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,sT,UnknownDiagramError=(sT=class extends Error{constructor(qa){super(qa),this.name="UnknownDiagramError"}},__name(sT,"UnknownDiagramError"),sT),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"),oT,Theme=(oT=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,cd,dd,pd,fd,md,vd,Ad;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 Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScale"+Nd]=darken(this["cScale"+Nd],75);else for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScale"+Nd]=darken(this["cScale"+Nd],25);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.labelTextColor;for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleLabel"+Nd]=this["cScaleLabel"+Nd]||this.scaleLabelColor;const qa=this.darkMode?-4:-1;for(let Nd=0;Nd<5;Nd++)this["surface"+Nd]=this["surface"+Nd]||adjust(this.mainBkg,{h:180,s:-15,l:qa*(5+Nd*3)}),this["surfacePeer"+Nd]=this["surfacePeer"+Nd]||adjust(this.mainBkg,{h:180,s:-15,l:qa*(8+Nd*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:((cd=this.xyChart)==null?void 0:cd.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)||"#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(oT,"Theme"),oT),getThemeVariables=__name(Ra=>{const qa=new Theme;return qa.calculate(Ra),qa},"getThemeVariables"),lT,Theme2=(lT=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,cd,dd,pd,fd,md,vd;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 Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["cScaleInv"+Ad]=this["cScaleInv"+Ad]||invert(this["cScale"+Ad]);for(let Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["cScalePeer"+Ad]=this["cScalePeer"+Ad]||lighten(this["cScale"+Ad],10);for(let Ad=0;Ad<5;Ad++)this["surface"+Ad]=this["surface"+Ad]||adjust(this.mainBkg,{h:30,s:-30,l:-(-10+Ad*4)}),this["surfacePeer"+Ad]=this["surfacePeer"+Ad]||adjust(this.mainBkg,{h:30,s:-30,l:-(-7+Ad*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["cScaleLabel"+Ad]=this["cScaleLabel"+Ad]||this.scaleLabelColor;for(let Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["pie"+Ad]=this["cScale"+Ad];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:((cd=this.xyChart)==null?void 0:cd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((dd=this.xyChart)==null?void 0:dd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((pd=this.xyChart)==null?void 0:pd.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((fd=this.xyChart)==null?void 0:fd.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((md=this.xyChart)==null?void 0:md.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((vd=this.xyChart)==null?void 0:vd.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(lT,"Theme"),lT),getThemeVariables2=__name(Ra=>{const qa=new Theme2;return qa.calculate(Ra),qa},"getThemeVariables"),uT,Theme3=(uT=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,cd,dd,pd,fd,md,vd;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 Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["cScale"+Ad]=darken(this["cScale"+Ad],10),this["cScalePeer"+Ad]=this["cScalePeer"+Ad]||darken(this["cScale"+Ad],25);for(let Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["cScaleInv"+Ad]=this["cScaleInv"+Ad]||adjust(this["cScale"+Ad],{h:180});for(let Ad=0;Ad<5;Ad++)this["surface"+Ad]=this["surface"+Ad]||adjust(this.mainBkg,{h:30,l:-(5+Ad*5)}),this["surfacePeer"+Ad]=this["surfacePeer"+Ad]||adjust(this.mainBkg,{h:30,l:-(7+Ad*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 Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["cScaleLabel"+Ad]=this["cScaleLabel"+Ad]||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:((cd=this.xyChart)==null?void 0:cd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((dd=this.xyChart)==null?void 0:dd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((pd=this.xyChart)==null?void 0:pd.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((fd=this.xyChart)==null?void 0:fd.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((md=this.xyChart)==null?void 0:md.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((vd=this.xyChart)==null?void 0:vd.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(uT,"Theme"),uT),getThemeVariables3=__name(Ra=>{const qa=new Theme3;return qa.calculate(Ra),qa},"getThemeVariables"),cT,Theme4=(cT=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,cd,dd,pd,fd,md,vd;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 Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["cScale"+Ad]=darken(this["cScale"+Ad],10),this["cScalePeer"+Ad]=this["cScalePeer"+Ad]||darken(this["cScale"+Ad],25);for(let Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["cScaleInv"+Ad]=this["cScaleInv"+Ad]||adjust(this["cScale"+Ad],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["cScaleLabel"+Ad]=this["cScaleLabel"+Ad]||this.scaleLabelColor;for(let Ad=0;Ad<5;Ad++)this["surface"+Ad]=this["surface"+Ad]||adjust(this.mainBkg,{h:30,s:-30,l:-(5+Ad*5)}),this["surfacePeer"+Ad]=this["surfacePeer"+Ad]||adjust(this.mainBkg,{h:30,s:-30,l:-(8+Ad*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:((cd=this.xyChart)==null?void 0:cd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((dd=this.xyChart)==null?void 0:dd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((pd=this.xyChart)==null?void 0:pd.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((fd=this.xyChart)==null?void 0:fd.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((md=this.xyChart)==null?void 0:md.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((vd=this.xyChart)==null?void 0:vd.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(cT,"Theme"),cT),getThemeVariables4=__name(Ra=>{const qa=new Theme4;return qa.calculate(Ra),qa},"getThemeVariables"),dT,Theme5=(dT=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,cd,dd,pd,fd,md,vd;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 Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["cScaleInv"+Ad]=this["cScaleInv"+Ad]||invert(this["cScale"+Ad]);for(let Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this.darkMode?this["cScalePeer"+Ad]=this["cScalePeer"+Ad]||lighten(this["cScale"+Ad],10):this["cScalePeer"+Ad]=this["cScalePeer"+Ad]||darken(this["cScale"+Ad],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["cScaleLabel"+Ad]=this["cScaleLabel"+Ad]||this.scaleLabelColor;for(let Ad=0;Ad<5;Ad++)this["surface"+Ad]=this["surface"+Ad]||adjust(this.mainBkg,{l:-(5+Ad*5)}),this["surfacePeer"+Ad]=this["surfacePeer"+Ad]||adjust(this.mainBkg,{l:-(8+Ad*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 Ad=0;Ad<this.THEME_COLOR_LIMIT;Ad++)this["pie"+Ad]=this["cScale"+Ad];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:((cd=this.xyChart)==null?void 0:cd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((dd=this.xyChart)==null?void 0:dd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((pd=this.xyChart)==null?void 0:pd.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((fd=this.xyChart)==null?void 0:fd.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((md=this.xyChart)==null?void 0:md.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((vd=this.xyChart)==null?void 0:vd.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(dT,"Theme"),dT),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],cd=qa[od+1];shouldCombineSets(ud,cd)&&(ld=ud+","+cd,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,cd=ld.height;log$1.info(`SVG bounds: ${ud}x${cd}`,ld);let dd=0,pd=0;log$1.info(`Graph bounds: ${dd}x${pd}`,Ra),dd=ud+nd*2,pd=cd+nd*2,log$1.info(`Calculated bounds: ${dd}x${pd}`),configureSvgSize(qa,pd,dd,od);const fd=`${ld.x-nd} ${ld.y-nd} ${ld.width+2*nd} ${ld.height+2*nd}`;qa.attr("viewBox",fd)},"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"),pT,DiagramNotFoundError=(pT=class extends Error{constructor(qa){super(`Diagram ${qa} not found.`)}},__name(pT,"DiagramNotFoundError"),pT);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="",cd="",dd=Math.floor(ld/2)-1;return od-qa>dd&&(ud=" ... ",qa=od-dd+ud.length),nd-od>dd&&(cd=" ...",nd=od+dd-cd.length),{str:ud+Ra.slice(qa,nd).replace(/\t/g,"→")+cd,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,cd=-1;ud=nd.exec(Ra.buffer);)ld.push(ud.index),od.push(ud.index+ud[0].length),Ra.position<=ud.index&&cd<0&&(cd=od.length-2);cd<0&&(cd=od.length-1);var dd="",pd,fd,md=Math.min(Ra.line+qa.linesAfter,ld.length).toString().length,vd=qa.maxLength-(qa.indent+md+3);for(pd=1;pd<=qa.linesBefore&&!(cd-pd<0);pd++)fd=getLine(Ra.buffer,od[cd-pd],ld[cd-pd],Ra.position-(od[cd]-od[cd-pd]),vd),dd=common.repeat(" ",qa.indent)+padStart((Ra.line-pd+1).toString(),md)+" | "+fd.str+`
|
||
`+dd;for(fd=getLine(Ra.buffer,od[cd],ld[cd],Ra.position,vd),dd+=common.repeat(" ",qa.indent)+padStart((Ra.line+1).toString(),md)+" | "+fd.str+`
|
||
`,dd+=common.repeat("-",qa.indent+md+3+fd.pos)+`^
|
||
`,pd=1;pd<=qa.linesAfter&&!(cd+pd>=ld.length);pd++)fd=getLine(Ra.buffer,od[cd+pd],ld[cd+pd],Ra.position-(od[cd]-od[cd+pd]),vd),dd+=common.repeat(" ",qa.indent)+padStart((Ra.line+pd+1).toString(),md)+" | "+fd.str+`
|
||
`;return dd.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,cd){ud.tag===od.tag&&ud.kind===od.kind&&ud.multi===od.multi&&(ld=cd)}),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$2=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$2]});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,cd,dd,pd=0,fd=null,md,vd,Ad;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],cd=+qa[5],dd=+qa[6],qa[7]){for(pd=qa[7].slice(0,3);pd.length<3;)pd+="0";pd=+pd}return qa[9]&&(md=+qa[10],vd=+(qa[11]||0),fd=(md*60+vd)*6e4,qa[9]==="-"&&(fd=-fd)),Ad=new Date(Date.UTC(nd,od,ld,ud,cd,dd,pd)),fd&&Ad.setTime(Ad.getTime()-fd),Ad}__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,cd=0,dd=[];for(qa=0;qa<ld;qa++)qa%4===0&&qa&&(dd.push(cd>>16&255),dd.push(cd>>8&255),dd.push(cd&255)),cd=cd<<6|ud.indexOf(od.charAt(qa));return nd=ld%4*6,nd===0?(dd.push(cd>>16&255),dd.push(cd>>8&255),dd.push(cd&255)):nd===18?(dd.push(cd>>10&255),dd.push(cd>>2&255)):nd===12&&dd.push(cd>>4&255),new Uint8Array(dd)}__name(constructYamlBinary,"constructYamlBinary");function representYamlBinary(Ra){var qa="",nd=0,od,ld,ud=Ra.length,cd=BASE64_MAP;for(od=0;od<ud;od++)od%3===0&&od&&(qa+=cd[nd>>18&63],qa+=cd[nd>>12&63],qa+=cd[nd>>6&63],qa+=cd[nd&63]),nd=(nd<<8)+Ra[od];return ld=ud%3,ld===0?(qa+=cd[nd>>18&63],qa+=cd[nd>>12&63],qa+=cd[nd>>6&63],qa+=cd[nd&63]):ld===2?(qa+=cd[nd>>10&63],qa+=cd[nd>>4&63],qa+=cd[nd<<2&63],qa+=cd[64]):ld===1&&(qa+=cd[nd>>2&63],qa+=cd[nd<<4&63],qa+=cd[64],qa+=cd[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,cd,dd=Ra;for(nd=0,od=dd.length;nd<od;nd+=1){if(ld=dd[nd],cd=!1,_toString$2.call(ld)!=="[object Object]")return!1;for(ud in ld)if(_hasOwnProperty$3.call(ld,ud))if(!cd)cd=!0;else return!1;if(!cd)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,cd=Ra;for(ud=new Array(cd.length),qa=0,nd=cd.length;qa<nd;qa+=1){if(od=cd[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,cd=Ra;for(ud=new Array(cd.length),qa=0,nd=cd.length;qa<nd;qa+=1)od=cd[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$1=0;i$1<256;i$1++)simpleEscapeCheck[i$1]=simpleEscapeSequence(i$1)?1:0,simpleEscapeMap[i$1]=simpleEscapeSequence(i$1);var i$1;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,cd;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),cd=parseInt(ld[2],10),ud!==1&&throwError(qa,"unacceptable YAML version of the document"),qa.version=od[0],qa.checkLineBreaks=cd<2,cd!==1&&cd!==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,cd,dd;if(qa<nd){if(dd=Ra.input.slice(qa,nd),od)for(ld=0,ud=dd.length;ld<ud;ld+=1)cd=dd.charCodeAt(ld),cd===9||32<=cd&&cd<=1114111||throwError(Ra,"expected valid JSON character");else PATTERN_NON_PRINTABLE.test(dd)&&throwError(Ra,"the stream contains non-printable characters");Ra.result+=dd}}__name(captureSegment,"captureSegment");function mergeMappings(Ra,qa,nd,od){var ld,ud,cd,dd;for(common.isObject(nd)||throwError(Ra,"cannot merge mappings; the provided source object is unacceptable"),ld=Object.keys(nd),cd=0,dd=ld.length;cd<dd;cd+=1)ud=ld[cd],_hasOwnProperty$1.call(qa,ud)||(qa[ud]=nd[ud],od[ud]=!0)}__name(mergeMappings,"mergeMappings");function storeMappingPair(Ra,qa,nd,od,ld,ud,cd,dd,pd){var fd,md;if(Array.isArray(ld))for(ld=Array.prototype.slice.call(ld),fd=0,md=ld.length;fd<md;fd+=1)Array.isArray(ld[fd])&&throwError(Ra,"nested arrays are not supported inside keys"),typeof ld=="object"&&_class(ld[fd])==="[object Object]"&&(ld[fd]="[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(fd=0,md=ud.length;fd<md;fd+=1)mergeMappings(Ra,qa,ud[fd],nd);else mergeMappings(Ra,qa,ud,nd);else!Ra.json&&!_hasOwnProperty$1.call(nd,ld)&&_hasOwnProperty$1.call(qa,ld)&&(Ra.line=cd||Ra.line,Ra.lineStart=dd||Ra.lineStart,Ra.position=pd||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,cd,dd,pd,fd,md,vd=Ra.kind,Ad=Ra.result,Nd;if(Nd=Ra.input.charCodeAt(Ra.position),is_WS_OR_EOL(Nd)||is_FLOW_INDICATOR(Nd)||Nd===35||Nd===38||Nd===42||Nd===33||Nd===124||Nd===62||Nd===39||Nd===34||Nd===37||Nd===64||Nd===96||(Nd===63||Nd===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=cd=Ra.position,dd=!1;Nd!==0;){if(Nd===58){if(ld=Ra.input.charCodeAt(Ra.position+1),is_WS_OR_EOL(ld)||nd&&is_FLOW_INDICATOR(ld))break}else if(Nd===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(Nd))break;if(is_EOL(Nd))if(pd=Ra.line,fd=Ra.lineStart,md=Ra.lineIndent,skipSeparationSpace(Ra,!1,-1),Ra.lineIndent>=qa){dd=!0,Nd=Ra.input.charCodeAt(Ra.position);continue}else{Ra.position=cd,Ra.line=pd,Ra.lineStart=fd,Ra.lineIndent=md;break}}dd&&(captureSegment(Ra,ud,cd,!1),writeFoldedLines(Ra,Ra.line-pd),ud=cd=Ra.position,dd=!1),is_WHITE_SPACE(Nd)||(cd=Ra.position+1),Nd=Ra.input.charCodeAt(++Ra.position)}return captureSegment(Ra,ud,cd,!1),Ra.result?!0:(Ra.kind=vd,Ra.result=Ad,!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,cd,dd;if(dd=Ra.input.charCodeAt(Ra.position),dd!==34)return!1;for(Ra.kind="scalar",Ra.result="",Ra.position++,nd=od=Ra.position;(dd=Ra.input.charCodeAt(Ra.position))!==0;){if(dd===34)return captureSegment(Ra,nd,Ra.position,!0),Ra.position++,!0;if(dd===92){if(captureSegment(Ra,nd,Ra.position,!0),dd=Ra.input.charCodeAt(++Ra.position),is_EOL(dd))skipSeparationSpace(Ra,!1,qa);else if(dd<256&&simpleEscapeCheck[dd])Ra.result+=simpleEscapeMap[dd],Ra.position++;else if((cd=escapedHexLen(dd))>0){for(ld=cd,ud=0;ld>0;ld--)dd=Ra.input.charCodeAt(++Ra.position),(cd=fromHexCode(dd))>=0?ud=(ud<<4)+cd:throwError(Ra,"expected hexadecimal character");Ra.result+=charFromCodepoint(ud),Ra.position++}else throwError(Ra,"unknown escape sequence");nd=od=Ra.position}else is_EOL(dd)?(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,cd=Ra.tag,dd,pd=Ra.anchor,fd,md,vd,Ad,Nd,Id=Object.create(null),kd,jd,Fd,Md;if(Md=Ra.input.charCodeAt(Ra.position),Md===91)md=93,Nd=!1,dd=[];else if(Md===123)md=125,Nd=!0,dd={};else return!1;for(Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=dd),Md=Ra.input.charCodeAt(++Ra.position);Md!==0;){if(skipSeparationSpace(Ra,!0,qa),Md=Ra.input.charCodeAt(Ra.position),Md===md)return Ra.position++,Ra.tag=cd,Ra.anchor=pd,Ra.kind=Nd?"mapping":"sequence",Ra.result=dd,!0;nd?Md===44&&throwError(Ra,"expected the node content, but found ','"):throwError(Ra,"missed comma between flow collection entries"),jd=kd=Fd=null,vd=Ad=!1,Md===63&&(fd=Ra.input.charCodeAt(Ra.position+1),is_WS_OR_EOL(fd)&&(vd=Ad=!0,Ra.position++,skipSeparationSpace(Ra,!0,qa))),od=Ra.line,ld=Ra.lineStart,ud=Ra.position,composeNode(Ra,qa,CONTEXT_FLOW_IN,!1,!0),jd=Ra.tag,kd=Ra.result,skipSeparationSpace(Ra,!0,qa),Md=Ra.input.charCodeAt(Ra.position),(Ad||Ra.line===od)&&Md===58&&(vd=!0,Md=Ra.input.charCodeAt(++Ra.position),skipSeparationSpace(Ra,!0,qa),composeNode(Ra,qa,CONTEXT_FLOW_IN,!1,!0),Fd=Ra.result),Nd?storeMappingPair(Ra,dd,Id,jd,kd,Fd,od,ld,ud):vd?dd.push(storeMappingPair(Ra,null,Id,jd,kd,Fd,od,ld,ud)):dd.push(kd),skipSeparationSpace(Ra,!0,qa),Md=Ra.input.charCodeAt(Ra.position),Md===44?(nd=!0,Md=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,cd=!1,dd=qa,pd=0,fd=!1,md,vd;if(vd=Ra.input.charCodeAt(Ra.position),vd===124)od=!1;else if(vd===62)od=!0;else return!1;for(Ra.kind="scalar",Ra.result="";vd!==0;)if(vd=Ra.input.charCodeAt(++Ra.position),vd===43||vd===45)CHOMPING_CLIP===ld?ld=vd===43?CHOMPING_KEEP:CHOMPING_STRIP:throwError(Ra,"repeat of a chomping mode identifier");else if((md=fromDecimalCode(vd))>=0)md===0?throwError(Ra,"bad explicit indentation width of a block scalar; it cannot be less than one"):cd?throwError(Ra,"repeat of an indentation width identifier"):(dd=qa+md-1,cd=!0);else break;if(is_WHITE_SPACE(vd)){do vd=Ra.input.charCodeAt(++Ra.position);while(is_WHITE_SPACE(vd));if(vd===35)do vd=Ra.input.charCodeAt(++Ra.position);while(!is_EOL(vd)&&vd!==0)}for(;vd!==0;){for(readLineBreak(Ra),Ra.lineIndent=0,vd=Ra.input.charCodeAt(Ra.position);(!cd||Ra.lineIndent<dd)&&vd===32;)Ra.lineIndent++,vd=Ra.input.charCodeAt(++Ra.position);if(!cd&&Ra.lineIndent>dd&&(dd=Ra.lineIndent),is_EOL(vd)){pd++;continue}if(Ra.lineIndent<dd){ld===CHOMPING_KEEP?Ra.result+=common.repeat(`
|
||
`,ud?1+pd:pd):ld===CHOMPING_CLIP&&ud&&(Ra.result+=`
|
||
`);break}for(od?is_WHITE_SPACE(vd)?(fd=!0,Ra.result+=common.repeat(`
|
||
`,ud?1+pd:pd)):fd?(fd=!1,Ra.result+=common.repeat(`
|
||
`,pd+1)):pd===0?ud&&(Ra.result+=" "):Ra.result+=common.repeat(`
|
||
`,pd):Ra.result+=common.repeat(`
|
||
`,ud?1+pd:pd),ud=!0,cd=!0,pd=0,nd=Ra.position;!is_EOL(vd)&&vd!==0;)vd=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=[],cd,dd=!1,pd;if(Ra.firstTabInLine!==-1)return!1;for(Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=ud),pd=Ra.input.charCodeAt(Ra.position);pd!==0&&(Ra.firstTabInLine!==-1&&(Ra.position=Ra.firstTabInLine,throwError(Ra,"tab characters must not be used in indentation")),!(pd!==45||(cd=Ra.input.charCodeAt(Ra.position+1),!is_WS_OR_EOL(cd))));){if(dd=!0,Ra.position++,skipSeparationSpace(Ra,!0,-1)&&Ra.lineIndent<=qa){ud.push(null),pd=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),pd=Ra.input.charCodeAt(Ra.position),(Ra.line===nd||Ra.lineIndent>qa)&&pd!==0)throwError(Ra,"bad indentation of a sequence entry");else if(Ra.lineIndent<qa)break}return dd?(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,cd,dd,pd,fd=Ra.tag,md=Ra.anchor,vd={},Ad=Object.create(null),Nd=null,Id=null,kd=null,jd=!1,Fd=!1,Md;if(Ra.firstTabInLine!==-1)return!1;for(Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=vd),Md=Ra.input.charCodeAt(Ra.position);Md!==0;){if(!jd&&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,(Md===63||Md===58)&&is_WS_OR_EOL(od))Md===63?(jd&&(storeMappingPair(Ra,vd,Ad,Nd,Id,null,cd,dd,pd),Nd=Id=kd=null),Fd=!0,jd=!0,ld=!0):jd?(jd=!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,Md=od;else{if(cd=Ra.line,dd=Ra.lineStart,pd=Ra.position,!composeNode(Ra,nd,CONTEXT_FLOW_OUT,!1,!0))break;if(Ra.line===ud){for(Md=Ra.input.charCodeAt(Ra.position);is_WHITE_SPACE(Md);)Md=Ra.input.charCodeAt(++Ra.position);if(Md===58)Md=Ra.input.charCodeAt(++Ra.position),is_WS_OR_EOL(Md)||throwError(Ra,"a whitespace character is expected after the key-value separator within a block mapping"),jd&&(storeMappingPair(Ra,vd,Ad,Nd,Id,null,cd,dd,pd),Nd=Id=kd=null),Fd=!0,jd=!1,ld=!1,Nd=Ra.tag,Id=Ra.result;else if(Fd)throwError(Ra,"can not read an implicit mapping pair; a colon is missed");else return Ra.tag=fd,Ra.anchor=md,!0}else if(Fd)throwError(Ra,"can not read a block mapping entry; a multiline key may not be an implicit key");else return Ra.tag=fd,Ra.anchor=md,!0}if((Ra.line===ud||Ra.lineIndent>qa)&&(jd&&(cd=Ra.line,dd=Ra.lineStart,pd=Ra.position),composeNode(Ra,qa,CONTEXT_BLOCK_OUT,!0,ld)&&(jd?Id=Ra.result:kd=Ra.result),jd||(storeMappingPair(Ra,vd,Ad,Nd,Id,kd,cd,dd,pd),Nd=Id=kd=null),skipSeparationSpace(Ra,!0,-1),Md=Ra.input.charCodeAt(Ra.position)),(Ra.line===ud||Ra.lineIndent>qa)&&Md!==0)throwError(Ra,"bad indentation of a mapping entry");else if(Ra.lineIndent<qa)break}return jd&&storeMappingPair(Ra,vd,Ad,Nd,Id,null,cd,dd,pd),Fd&&(Ra.tag=fd,Ra.anchor=md,Ra.kind="mapping",Ra.result=vd),Fd}__name(readBlockMapping,"readBlockMapping");function readTagProperty(Ra){var qa,nd=!1,od=!1,ld,ud,cd;if(cd=Ra.input.charCodeAt(Ra.position),cd!==33)return!1;if(Ra.tag!==null&&throwError(Ra,"duplication of a tag property"),cd=Ra.input.charCodeAt(++Ra.position),cd===60?(nd=!0,cd=Ra.input.charCodeAt(++Ra.position)):cd===33?(od=!0,ld="!!",cd=Ra.input.charCodeAt(++Ra.position)):ld="!",qa=Ra.position,nd){do cd=Ra.input.charCodeAt(++Ra.position);while(cd!==0&&cd!==62);Ra.position<Ra.length?(ud=Ra.input.slice(qa,Ra.position),cd=Ra.input.charCodeAt(++Ra.position)):throwError(Ra,"unexpected end of the stream within a verbatim tag")}else{for(;cd!==0&&!is_WS_OR_EOL(cd);)cd===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)),cd=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,cd,dd,pd=1,fd=!1,md=!1,vd,Ad,Nd,Id,kd,jd;if(Ra.listener!==null&&Ra.listener("open",Ra),Ra.tag=null,Ra.anchor=null,Ra.kind=null,Ra.result=null,ud=cd=dd=CONTEXT_BLOCK_OUT===nd||CONTEXT_BLOCK_IN===nd,od&&skipSeparationSpace(Ra,!0,-1)&&(fd=!0,Ra.lineIndent>qa?pd=1:Ra.lineIndent===qa?pd=0:Ra.lineIndent<qa&&(pd=-1)),pd===1)for(;readTagProperty(Ra)||readAnchorProperty(Ra);)skipSeparationSpace(Ra,!0,-1)?(fd=!0,dd=ud,Ra.lineIndent>qa?pd=1:Ra.lineIndent===qa?pd=0:Ra.lineIndent<qa&&(pd=-1)):dd=!1;if(dd&&(dd=fd||ld),(pd===1||CONTEXT_BLOCK_OUT===nd)&&(CONTEXT_FLOW_IN===nd||CONTEXT_FLOW_OUT===nd?kd=qa:kd=qa+1,jd=Ra.position-Ra.lineStart,pd===1?dd&&(readBlockSequence(Ra,jd)||readBlockMapping(Ra,jd,kd))||readFlowCollection(Ra,kd)?md=!0:(cd&&readBlockScalar(Ra,kd)||readSingleQuotedScalar(Ra,kd)||readDoubleQuotedScalar(Ra,kd)?md=!0:readAlias(Ra)?(md=!0,(Ra.tag!==null||Ra.anchor!==null)&&throwError(Ra,"alias node should not have any properties")):readPlainScalar(Ra,kd,CONTEXT_FLOW_IN===nd)&&(md=!0,Ra.tag===null&&(Ra.tag="?")),Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ra.result)):pd===0&&(md=dd&&readBlockSequence(Ra,jd))),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+'"'),vd=0,Ad=Ra.implicitTypes.length;vd<Ad;vd+=1)if(Id=Ra.implicitTypes[vd],Id.resolve(Ra.result)){Ra.result=Id.construct(Ra.result),Ra.tag=Id.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))Id=Ra.typeMap[Ra.kind||"fallback"][Ra.tag];else for(Id=null,Nd=Ra.typeMap.multi[Ra.kind||"fallback"],vd=0,Ad=Nd.length;vd<Ad;vd+=1)if(Ra.tag.slice(0,Nd[vd].tag.length)===Nd[vd].tag){Id=Nd[vd];break}Id||throwError(Ra,"unknown tag !<"+Ra.tag+">"),Ra.result!==null&&Id.kind!==Ra.kind&&throwError(Ra,"unacceptable node kind for !<"+Ra.tag+'> tag; it should be "'+Id.kind+'", not "'+Ra.kind+'"'),Id.resolve(Ra.result,Ra.tag)?(Ra.result=Id.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||md}__name(composeNode,"composeNode");function readDocument(Ra){var qa=Ra.position,nd,od,ld,ud=!1,cd;for(Ra.version=null,Ra.checkLineBreaks=Ra.legacy,Ra.tagMap=Object.create(null),Ra.anchorMap=Object.create(null);(cd=Ra.input.charCodeAt(Ra.position))!==0&&(skipSeparationSpace(Ra,!0,-1),cd=Ra.input.charCodeAt(Ra.position),!(Ra.lineIndent>0||cd!==37));){for(ud=!0,cd=Ra.input.charCodeAt(++Ra.position),nd=Ra.position;cd!==0&&!is_WS_OR_EOL(cd);)cd=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");cd!==0;){for(;is_WHITE_SPACE(cd);)cd=Ra.input.charCodeAt(++Ra.position);if(cd===35){do cd=Ra.input.charCodeAt(++Ra.position);while(cd!==0&&!is_EOL(cd));break}if(is_EOL(cd))break;for(nd=Ra.position;cd!==0&&!is_WS_OR_EOL(cd);)cd=Ra.input.charCodeAt(++Ra.position);ld.push(Ra.input.slice(nd,Ra.position))}cd!==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,cd,dd,pd;if(qa===null)return{};for(nd={},od=Object.keys(qa),ld=0,ud=od.length;ld<ud;ld+=1)cd=od[ld],dd=String(qa[cd]),cd.slice(0,2)==="!!"&&(cd="tag:yaml.org,2002:"+cd.slice(2)),pd=Ra.compiledTypeMap.fallback[cd],pd&&_hasOwnProperty.call(pd.styleAliases,dd)&&(dd=pd.styleAliases[dd]),nd[cd]=dd;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="",cd,dd=Ra.length;od<dd;)ld=Ra.indexOf(`
|
||
`,od),ld===-1?(cd=Ra.slice(od),od=dd):(cd=Ra.slice(od,ld+1),od=ld+1),cd.length&&cd!==`
|
||
`&&(ud+=nd),ud+=cd;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,cd,dd){var pd,fd=0,md=null,vd=!1,Ad=!1,Nd=od!==-1,Id=-1,kd=isPlainSafeFirst(codePointAt(Ra,0))&&isPlainSafeLast(codePointAt(Ra,Ra.length-1));if(qa||cd)for(pd=0;pd<Ra.length;fd>=65536?pd+=2:pd++){if(fd=codePointAt(Ra,pd),!isPrintable(fd))return STYLE_DOUBLE;kd=kd&&isPlainSafe(fd,md,dd),md=fd}else{for(pd=0;pd<Ra.length;fd>=65536?pd+=2:pd++){if(fd=codePointAt(Ra,pd),fd===CHAR_LINE_FEED)vd=!0,Nd&&(Ad=Ad||pd-Id-1>od&&Ra[Id+1]!==" ",Id=pd);else if(!isPrintable(fd))return STYLE_DOUBLE;kd=kd&&isPlainSafe(fd,md,dd),md=fd}Ad=Ad||Nd&&pd-Id-1>od&&Ra[Id+1]!==" "}return!vd&&!Ad?kd&&!cd&&!ld(Ra)?STYLE_PLAIN:ud===QUOTING_TYPE_DOUBLE?STYLE_DOUBLE:STYLE_SINGLE:nd>9&&needIndentIndicator(Ra)?STYLE_DOUBLE:cd?ud===QUOTING_TYPE_DOUBLE?STYLE_DOUBLE:STYLE_SINGLE:Ad?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),cd=Ra.lineWidth===-1?-1:Math.max(Math.min(Ra.lineWidth,40),Ra.lineWidth-ud),dd=od||Ra.flowLevel>-1&&nd>=Ra.flowLevel;function pd(fd){return testImplicitResolving(Ra,fd)}switch(__name(pd,"testAmbiguity"),chooseScalarStyle(qa,dd,Ra.indent,cd,pd,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,cd),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 fd=Ra.indexOf(`
|
||
`);return fd=fd!==-1?fd:Ra.length,nd.lastIndex=fd,foldLine(Ra.slice(0,fd),qa)}(),ld=Ra[0]===`
|
||
`||Ra[0]===" ",ud,cd;cd=nd.exec(Ra);){var dd=cd[1],pd=cd[2];ud=pd[0]===" ",od+=dd+(!ld&&!ud&&pd!==""?`
|
||
`:"")+foldLine(pd,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,cd=0,dd=0,pd="";od=nd.exec(Ra);)dd=od.index,dd-ld>qa&&(ud=cd>ld?cd:dd,pd+=`
|
||
`+Ra.slice(ld,ud),ld=ud+1),cd=dd;return pd+=`
|
||
`,Ra.length-ld>qa&&cd>ld?pd+=Ra.slice(ld,cd)+`
|
||
`+Ra.slice(cd+1):pd+=Ra.slice(ld),pd.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,cd,dd;for(ud=0,cd=nd.length;ud<cd;ud+=1)dd=nd[ud],Ra.replacer&&(dd=Ra.replacer.call(nd,String(ud),dd)),(writeNode(Ra,qa,dd,!1,!1)||typeof dd>"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,cd,dd,pd;for(cd=0,dd=nd.length;cd<dd;cd+=1)pd=nd[cd],Ra.replacer&&(pd=Ra.replacer.call(nd,String(cd),pd)),(writeNode(Ra,qa+1,pd,!0,!0,!1,!0)||typeof pd>"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),cd,dd,pd,fd,md;for(cd=0,dd=ud.length;cd<dd;cd+=1)md="",od!==""&&(md+=", "),Ra.condenseFlow&&(md+='"'),pd=ud[cd],fd=nd[pd],Ra.replacer&&(fd=Ra.replacer.call(nd,pd,fd)),writeNode(Ra,qa,pd,!1,!1)&&(Ra.dump.length>1024&&(md+="? "),md+=Ra.dump+(Ra.condenseFlow?'"':"")+":"+(Ra.condenseFlow?"":" "),writeNode(Ra,qa,fd,!1,!1)&&(md+=Ra.dump,od+=md));Ra.tag=ld,Ra.dump="{"+od+"}"}__name(writeFlowMapping,"writeFlowMapping");function writeBlockMapping(Ra,qa,nd,od){var ld="",ud=Ra.tag,cd=Object.keys(nd),dd,pd,fd,md,vd,Ad;if(Ra.sortKeys===!0)cd.sort();else if(typeof Ra.sortKeys=="function")cd.sort(Ra.sortKeys);else if(Ra.sortKeys)throw new exception("sortKeys must be a boolean or a function");for(dd=0,pd=cd.length;dd<pd;dd+=1)Ad="",(!od||ld!=="")&&(Ad+=generateNextLine(Ra,qa)),fd=cd[dd],md=nd[fd],Ra.replacer&&(md=Ra.replacer.call(nd,fd,md)),writeNode(Ra,qa+1,fd,!0,!0,!0)&&(vd=Ra.tag!==null&&Ra.tag!=="?"||Ra.dump&&Ra.dump.length>1024,vd&&(Ra.dump&&CHAR_LINE_FEED===Ra.dump.charCodeAt(0)?Ad+="?":Ad+="? "),Ad+=Ra.dump,vd&&(Ad+=generateNextLine(Ra,qa)),writeNode(Ra,qa+1,md,!0,vd)&&(Ra.dump&&CHAR_LINE_FEED===Ra.dump.charCodeAt(0)?Ad+=":":Ad+=": ",Ad+=Ra.dump,ld+=Ad));Ra.tag=ud,Ra.dump=ld||"{}"}__name(writeBlockMapping,"writeBlockMapping");function detectType(Ra,qa,nd){var od,ld,ud,cd,dd,pd;for(ld=nd?Ra.explicitTypes:Ra.implicitTypes,ud=0,cd=ld.length;ud<cd;ud+=1)if(dd=ld[ud],(dd.instanceOf||dd.predicate)&&(!dd.instanceOf||typeof qa=="object"&&qa instanceof dd.instanceOf)&&(!dd.predicate||dd.predicate(qa))){if(nd?dd.multi&&dd.representName?Ra.tag=dd.representName(qa):Ra.tag=dd.tag:Ra.tag="?",dd.represent){if(pd=Ra.styleMap[dd.tag]||dd.defaultStyle,_toString.call(dd.represent)==="[object Function]")od=dd.represent(qa,pd);else if(_hasOwnProperty.call(dd.represent,pd))od=dd.represent[pd](qa,pd);else throw new exception("!<"+dd.tag+'> tag resolver accepts not "'+pd+'" style');Ra.dump=od}return!0}return!1}__name(detectType,"detectType");function writeNode(Ra,qa,nd,od,ld,ud,cd){Ra.tag=null,Ra.dump=nd,detectType(Ra,nd,!1)||detectType(Ra,nd,!0);var dd=_toString.call(Ra.dump),pd=od,fd;od&&(od=Ra.flowLevel<0||Ra.flowLevel>qa);var md=dd==="[object Object]"||dd==="[object Array]",vd,Ad;if(md&&(vd=Ra.duplicates.indexOf(nd),Ad=vd!==-1),(Ra.tag!==null&&Ra.tag!=="?"||Ad||Ra.indent!==2&&qa>0)&&(ld=!1),Ad&&Ra.usedDuplicates[vd])Ra.dump="*ref_"+vd;else{if(md&&Ad&&!Ra.usedDuplicates[vd]&&(Ra.usedDuplicates[vd]=!0),dd==="[object Object]")od&&Object.keys(Ra.dump).length!==0?(writeBlockMapping(Ra,qa,Ra.dump,ld),Ad&&(Ra.dump="&ref_"+vd+Ra.dump)):(writeFlowMapping(Ra,qa,Ra.dump),Ad&&(Ra.dump="&ref_"+vd+" "+Ra.dump));else if(dd==="[object Array]")od&&Ra.dump.length!==0?(Ra.noArrayIndent&&!cd&&qa>0?writeBlockSequence(Ra,qa-1,Ra.dump,ld):writeBlockSequence(Ra,qa,Ra.dump,ld),Ad&&(Ra.dump="&ref_"+vd+Ra.dump)):(writeFlowSequence(Ra,qa,Ra.dump),Ad&&(Ra.dump="&ref_"+vd+" "+Ra.dump));else if(dd==="[object String]")Ra.tag!=="?"&&writeScalar(Ra,Ra.dump,qa,ud,pd);else{if(dd==="[object Undefined]")return!1;if(Ra.skipInvalid)return!1;throw new exception("unacceptable kind of an object to dump "+dd)}Ra.tag!==null&&Ra.tag!=="?"&&(fd=encodeURI(Ra.tag[0]==="!"?Ra.tag.slice(1):Ra.tag).replace(/!/g,"%21"),Ra.tag[0]==="!"?fd="!"+fd:fd.slice(0,18)==="tag:yaml.org,2002:"?fd="!!"+fd.slice(18):fd="!<"+fd+">",Ra.dump=fd+" "+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 dd=ld.pop(),pd=ld.pop(),fd={provider:ld.length>0?ld[0]:od,prefix:pd,name:dd};return validateIconName(fd)?fd:null}const ud=ld[0],cd=ud.split("-");if(cd.length>1){const dd={provider:od,prefix:cd.shift(),name:cd.join("-")};return validateIconName(dd)?dd:null}if(nd&&od===""){const dd={provider:od,prefix:"",name:ud};return validateIconName(dd,nd)?dd: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(cd){if(nd[cd])return ld[cd]=[];if(!(cd in ld)){ld[cd]=null;const dd=od[cd]&&od[cd].parent,pd=dd&&ud(dd);pd&&(ld[cd]=[dd].concat(pd))}return ld[cd]}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 cd(dd){ud=mergeIconData(od[dd]||ld[dd],ud)}return cd(qa),nd.forEach(cd),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(),cd=unitsTest.test(ud);for(;;){if(cd){const dd=parseFloat(ud);isNaN(dd)?ld.push(ud):ld.push(Math.ceil(dd*qa*nd)/nd)}else ld.push(ud);if(ud=od.shift(),ud===void 0)return ld.join("");cd=!cd}}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 cd=Ra.indexOf(">",ud);if(cd===-1)break;nd+=Ra.slice(ld+1,ud).trim(),Ra=Ra.slice(0,od).trim()+Ra.slice(cd+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(kd=>{const jd=[],Fd=kd.hFlip,Md=kd.vFlip;let Ld=kd.rotate;Fd?Md?Ld+=2:(jd.push("translate("+(ld.width+ld.left).toString()+" "+(0-ld.top).toString()+")"),jd.push("scale(-1 1)"),ld.top=ld.left=0):Md&&(jd.push("translate("+(0-ld.left).toString()+" "+(ld.height+ld.top).toString()+")"),jd.push("scale(1 -1)"),ld.top=ld.left=0);let Hd;switch(Ld<0&&(Ld-=Math.floor(Ld/4)*4),Ld=Ld%4,Ld){case 1:Hd=ld.height/2+ld.top,jd.unshift("rotate(90 "+Hd.toString()+" "+Hd.toString()+")");break;case 2:jd.unshift("rotate(180 "+(ld.width/2+ld.left).toString()+" "+(ld.height/2+ld.top).toString()+")");break;case 3:Hd=ld.width/2+ld.left,jd.unshift("rotate(-90 "+Hd.toString()+" "+Hd.toString()+")");break}Ld%2===1&&(ld.left!==ld.top&&(Hd=ld.left,ld.left=ld.top,ld.top=Hd),ld.width!==ld.height&&(Hd=ld.width,ld.width=ld.height,ld.height=Hd)),jd.length&&(ud=wrapSVGContent(ud,'<g transform="'+jd.join(" ")+'">',"</g>"))});const cd=od.width,dd=od.height,pd=ld.width,fd=ld.height;let md,vd;cd===null?(vd=dd===null?"1em":dd==="auto"?fd:dd,md=calculateSize(vd,pd/fd)):(md=cd==="auto"?pd:cd,vd=dd===null?calculateSize(md,fd/pd):dd==="auto"?fd:dd);const Ad={},Nd=(kd,jd)=>{isUnsetKeyword(jd)||(Ad[kd]=jd.toString())};Nd("width",md),Nd("height",vd);const Id=[ld.left,ld.top,pd,fd];return Ad.viewBox=Id.join(" "),{attributes:Ad,viewBox:Id,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 cd=typeof qa=="function"?qa(ud):qa+(counter++).toString(),dd=ud.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");Ra=Ra.replace(new RegExp('([#;"])('+dd+')([")]|\\.[a-z])',"g"),"$1"+cd+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 cd=loaderStore.get(od);if(!cd)throw new Error(`Icon set not found: ${nd.prefix}`);try{ld={...await cd(),prefix:od},iconsStore.set(od,ld)}catch(dd){throw log$1.error(dd),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 cd=ud[0].toLowerCase().trim();if(constants_1.invalidProtocolRegex.test(cd))return constants_1.BLANK_URL;var dd=ld.replace(/\\/g,"/");if(cd==="mailto:"||cd.includes("://"))return dd;if(cd==="http:"||cd==="https:"){if(!isValidUrl(dd))return constants_1.BLANK_URL;var pd=new URL(dd);return pd.protocol=pd.protocol.toLowerCase(),pd.hostname=pd.hostname.toLowerCase(),pd.toString()}return dd}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,cd=od.length;if(arguments.length<2){for(;++ud<cd;)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<cd;)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],cd=ud.length,dd=od[ld]=new Array(cd),pd,fd,md=0;md<cd;++md)(pd=ud[md])&&(fd=Ra.call(pd,pd.__data__,md,ud))&&("__data__"in pd&&(fd.__data__=pd.__data__),dd[md]=fd);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 cd=qa[ud],dd=cd.length,pd,fd=0;fd<dd;++fd)(pd=cd[fd])&&(od.push(Ra.call(pd,pd.__data__,fd,cd)),ld.push(pd));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],cd=ud.length,dd=od[ld]=[],pd,fd=0;fd<cd;++fd)(pd=ud[fd])&&Ra.call(pd,pd.__data__,fd,ud)&&dd.push(pd);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 cd=0,dd,pd=qa.length,fd=ud.length;cd<fd;++cd)(dd=qa[cd])?(dd.__data__=ud[cd],od[cd]=dd):nd[cd]=new EnterNode(Ra,ud[cd]);for(;cd<pd;++cd)(dd=qa[cd])&&(ld[cd]=dd)}function bindKey(Ra,qa,nd,od,ld,ud,cd){var dd,pd,fd=new Map,md=qa.length,vd=ud.length,Ad=new Array(md),Nd;for(dd=0;dd<md;++dd)(pd=qa[dd])&&(Ad[dd]=Nd=cd.call(pd,pd.__data__,dd,qa)+"",fd.has(Nd)?ld[dd]=pd:fd.set(Nd,pd));for(dd=0;dd<vd;++dd)Nd=cd.call(Ra,ud[dd],dd,ud)+"",(pd=fd.get(Nd))?(od[dd]=pd,pd.__data__=ud[dd],fd.delete(Nd)):nd[dd]=new EnterNode(Ra,ud[dd]);for(dd=0;dd<md;++dd)(pd=qa[dd])&&fd.get(Ad[dd])===pd&&(ld[dd]=pd)}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,cd=new Array(ud),dd=new Array(ud),pd=new Array(ud),fd=0;fd<ud;++fd){var md=od[fd],vd=ld[fd],Ad=vd.length,Nd=arraylike(Ra.call(md,md&&md.__data__,fd,od)),Id=Nd.length,kd=dd[fd]=new Array(Id),jd=cd[fd]=new Array(Id),Fd=pd[fd]=new Array(Ad);nd(md,vd,kd,jd,Fd,Nd,qa);for(var Md=0,Ld=0,Hd,Gd;Md<Id;++Md)if(Hd=kd[Md]){for(Md>=Ld&&(Ld=Md+1);!(Gd=jd[Ld])&&++Ld<Id;);Hd._next=Gd||null}}return cd=new Selection$1(cd,od),cd._enter=dd,cd._exit=pd,cd}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,cd=Math.min(ld,ud),dd=new Array(ld),pd=0;pd<cd;++pd)for(var fd=nd[pd],md=od[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<ld;++pd)dd[pd]=nd[pd];return new Selection$1(dd,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],cd;--ld>=0;)(cd=od[ld])&&(ud&&cd.compareDocumentPosition(ud)^4&&ud.parentNode.insertBefore(cd,ud),ud=cd);return this}function selection_sort(Ra){Ra||(Ra=ascending);function qa(vd,Ad){return vd&&Ad?Ra(vd.__data__,Ad.__data__):!vd-!Ad}for(var nd=this._groups,od=nd.length,ld=new Array(od),ud=0;ud<od;++ud){for(var cd=nd[ud],dd=cd.length,pd=ld[ud]=new Array(dd),fd,md=0;md<dd;++md)(fd=cd[md])&&(pd[md]=fd);pd.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 cd=od[ld];if(cd)return cd}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,cd=ld.length,dd;ud<cd;++ud)(dd=ld[ud])&&Ra.call(dd,dd.__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 cd=0,dd=od.length;cd<dd;++cd)if((ld=od[cd]).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,cd;if(arguments.length<2){var dd=this.node().__on;if(dd){for(var pd=0,fd=dd.length,md;pd<fd;++pd)for(ld=0,md=dd[pd];ld<ud;++ld)if((cd=od[ld]).type===md.type&&cd.name===md.name)return md.value}return}for(dd=qa?onAdd:onRemove,ld=0;ld<ud;++ld)this.each(dd(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,cd;ld<ud;++ld)(cd=od[ld])&&(yield cd)}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),cd=NaN,dd=ud-ld,pd=(ud+ld)/2;return dd?(qa===ud?cd=(nd-od)/dd+(nd<od)*6:nd===ud?cd=(od-qa)/dd+2:cd=(qa-nd)/dd+4,dd/=pd<.5?ud+ld:2-ud-ld,cd*=60):dd=pd>0&&pd<1?0:cd,new Hsl(cd,dd,pd,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 cd=nd((ld=rgb(ld)).r,(ud=rgb(ud)).r),dd=nd(ld.g,ud.g),pd=nd(ld.b,ud.b),fd=nogamma(ld.opacity,ud.opacity);return function(md){return ld.r=cd(md),ld.g=dd(md),ld.b=pd(md),ld.opacity=fd(md),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,cd=-1,dd=[],pd=[];for(Ra=Ra+"",qa=qa+"";(od=reA.exec(Ra))&&(ld=reB.exec(qa));)(ud=ld.index)>nd&&(ud=qa.slice(nd,ud),dd[cd]?dd[cd]+=ud:dd[++cd]=ud),(od=od[0])===(ld=ld[0])?dd[cd]?dd[cd]+=ld:dd[++cd]=ld:(dd[++cd]=null,pd.push({i:cd,x:interpolateNumber(od,ld)})),nd=reB.lastIndex;return nd<qa.length&&(ud=qa.slice(nd),dd[cd]?dd[cd]+=ud:dd[++cd]=ud),dd.length<2?pd[0]?one(pd[0].x):zero(qa):(qa=pd.length,function(fd){for(var md=0,vd;md<qa;++md)dd[(vd=pd[md]).i]=vd.x(fd);return dd.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 cd,dd,pd;return(cd=Math.sqrt(Ra*Ra+qa*qa))&&(Ra/=cd,qa/=cd),(pd=Ra*nd+qa*od)&&(nd-=Ra*pd,od-=qa*pd),(dd=Math.sqrt(nd*nd+od*od))&&(nd/=dd,od/=dd,pd/=dd),Ra*od<qa*nd&&(Ra=-Ra,qa=-qa,pd=-pd,cd=-cd),{translateX:ld,translateY:ud,rotate:Math.atan2(qa,Ra)*degrees,skewX:Math.atan(pd)*degrees,scaleX:cd,scaleY:dd}}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(fd){return fd.length?fd.pop()+" ":""}function ud(fd,md,vd,Ad,Nd,Id){if(fd!==vd||md!==Ad){var kd=Nd.push("translate(",null,qa,null,nd);Id.push({i:kd-4,x:interpolateNumber(fd,vd)},{i:kd-2,x:interpolateNumber(md,Ad)})}else(vd||Ad)&&Nd.push("translate("+vd+qa+Ad+nd)}function cd(fd,md,vd,Ad){fd!==md?(fd-md>180?md+=360:md-fd>180&&(fd+=360),Ad.push({i:vd.push(ld(vd)+"rotate(",null,od)-2,x:interpolateNumber(fd,md)})):md&&vd.push(ld(vd)+"rotate("+md+od)}function dd(fd,md,vd,Ad){fd!==md?Ad.push({i:vd.push(ld(vd)+"skewX(",null,od)-2,x:interpolateNumber(fd,md)}):md&&vd.push(ld(vd)+"skewX("+md+od)}function pd(fd,md,vd,Ad,Nd,Id){if(fd!==vd||md!==Ad){var kd=Nd.push(ld(Nd)+"scale(",null,",",null,")");Id.push({i:kd-4,x:interpolateNumber(fd,vd)},{i:kd-2,x:interpolateNumber(md,Ad)})}else(vd!==1||Ad!==1)&&Nd.push(ld(Nd)+"scale("+vd+","+Ad+")")}return function(fd,md){var vd=[],Ad=[];return fd=Ra(fd),md=Ra(md),ud(fd.translateX,fd.translateY,md.translateX,md.translateY,vd,Ad),cd(fd.rotate,md.rotate,vd,Ad),dd(fd.skewX,md.skewX,vd,Ad),pd(fd.scaleX,fd.scaleY,md.scaleX,md.scaleY,vd,Ad),fd=md=null,function(Nd){for(var Id=-1,kd=Ad.length,jd;++Id<kd;)vd[(jd=Ad[Id]).i]=jd.x(Nd);return vd.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 cd=Ra.__transition;if(!cd)Ra.__transition={};else if(nd in cd)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(fd){nd.state=SCHEDULED,nd.timer.restart(cd,nd.delay,nd.time),nd.delay<=fd&&cd(fd-nd.delay)}function cd(fd){var md,vd,Ad,Nd;if(nd.state!==SCHEDULED)return pd();for(md in od)if(Nd=od[md],Nd.name===nd.name){if(Nd.state===STARTED)return timeout$1(cd);Nd.state===RUNNING?(Nd.state=ENDED,Nd.timer.stop(),Nd.on.call("interrupt",Ra,Ra.__data__,Nd.index,Nd.group),delete od[md]):+md<qa&&(Nd.state=ENDED,Nd.timer.stop(),Nd.on.call("cancel",Ra,Ra.__data__,Nd.index,Nd.group),delete od[md])}if(timeout$1(function(){nd.state===STARTED&&(nd.state=RUNNING,nd.timer.restart(dd,nd.delay,nd.time),dd(fd))}),nd.state=STARTING,nd.on.call("start",Ra,Ra.__data__,nd.index,nd.group),nd.state===STARTING){for(nd.state=STARTED,ld=new Array(Ad=nd.tween.length),md=0,vd=-1;md<Ad;++md)(Nd=nd.tween[md].value.call(Ra,Ra.__data__,nd.index,nd.group))&&(ld[++vd]=Nd);ld.length=vd+1}}function dd(fd){for(var md=fd<nd.duration?nd.ease.call(null,fd/nd.duration):(nd.timer.restart(pd),nd.state=ENDING,1),vd=-1,Ad=ld.length;++vd<Ad;)ld[vd].call(Ra,md);nd.state===ENDING&&(nd.on.call("end",Ra,Ra.__data__,nd.index,nd.group),pd())}function pd(){nd.state=ENDED,nd.timer.stop(),delete od[qa];for(var fd in od)return;delete Ra.__transition}}function interrupt(Ra,qa){var nd=Ra.__transition,od,ld,ud=!0,cd;if(nd){qa=qa==null?null:qa+"";for(cd in nd){if((od=nd[cd]).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[cd]}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 cd=0,dd=od.length;cd<dd;++cd)if(od[cd].name===qa){od=od.slice(),od.splice(cd,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),cd=ud.tween;if(cd!==od){ld=(od=cd).slice();for(var dd={name:qa,value:nd},pd=0,fd=ld.length;pd<fd;++pd)if(ld[pd].name===qa){ld[pd]=dd;break}pd===fd&&ld.push(dd)}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,cd;ld<ud;++ld)if((cd=od[ld]).name===Ra)return cd.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 cd=this.getAttribute(Ra);return cd===ld?null:cd===od?ud:ud=qa(od=cd,nd)}}function attrConstantNS(Ra,qa,nd){var od,ld=nd+"",ud;return function(){var cd=this.getAttributeNS(Ra.space,Ra.local);return cd===ld?null:cd===od?ud:ud=qa(od=cd,nd)}}function attrFunction(Ra,qa,nd){var od,ld,ud;return function(){var cd,dd=nd(this),pd;return dd==null?void this.removeAttribute(Ra):(cd=this.getAttribute(Ra),pd=dd+"",cd===pd?null:cd===od&&pd===ld?ud:(ld=pd,ud=qa(od=cd,dd)))}}function attrFunctionNS(Ra,qa,nd){var od,ld,ud;return function(){var cd,dd=nd(this),pd;return dd==null?void this.removeAttributeNS(Ra.space,Ra.local):(cd=this.getAttributeNS(Ra.space,Ra.local),pd=dd+"",cd===pd?null:cd===od&&pd===ld?ud:(ld=pd,ud=qa(od=cd,dd)))}}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],cd=ud.length,dd=od[ld]=[],pd,fd=0;fd<cd;++fd)(pd=ud[fd])&&Ra.call(pd,pd.__data__,fd,ud)&&dd.push(pd);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),cd=new Array(od),dd=0;dd<ud;++dd)for(var pd=qa[dd],fd=nd[dd],md=pd.length,vd=cd[dd]=new Array(md),Ad,Nd=0;Nd<md;++Nd)(Ad=pd[Nd]||fd[Nd])&&(vd[Nd]=Ad);for(;dd<od;++dd)cd[dd]=qa[dd];return new Transition(cd,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 cd=ud(this,Ra),dd=cd.on;dd!==od&&(ld=(od=dd).copy()).on(qa,nd),cd.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),cd=0;cd<ld;++cd)for(var dd=od[cd],pd=dd.length,fd=ud[cd]=new Array(pd),md,vd,Ad=0;Ad<pd;++Ad)(md=dd[Ad])&&(vd=Ra.call(md,md.__data__,Ad,dd))&&("__data__"in md&&(vd.__data__=md.__data__),fd[Ad]=vd,schedule(fd[Ad],qa,nd,Ad,fd,get(md,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=[],cd=[],dd=0;dd<ld;++dd)for(var pd=od[dd],fd=pd.length,md,vd=0;vd<fd;++vd)if(md=pd[vd]){for(var Ad=Ra.call(md,md.__data__,vd,pd),Nd,Id=get(md,nd),kd=0,jd=Ad.length;kd<jd;++kd)(Nd=Ad[kd])&&schedule(Nd,qa,nd,kd,Ad,Id);ud.push(Ad),cd.push(md)}return new Transition(ud,cd,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),cd=(this.style.removeProperty(Ra),styleValue(this,Ra));return ud===cd?null:ud===nd&&cd===od?ld:ld=qa(nd=ud,od=cd)}}function styleRemove(Ra){return function(){this.style.removeProperty(Ra)}}function styleConstant(Ra,qa,nd){var od,ld=nd+"",ud;return function(){var cd=styleValue(this,Ra);return cd===ld?null:cd===od?ud:ud=qa(od=cd,nd)}}function styleFunction(Ra,qa,nd){var od,ld,ud;return function(){var cd=styleValue(this,Ra),dd=nd(this),pd=dd+"";return dd==null&&(pd=dd=(this.style.removeProperty(Ra),styleValue(this,Ra))),cd===pd?null:cd===od&&pd===ld?ud:(ld=pd,ud=qa(od=cd,dd))}}function styleMaybeRemove(Ra,qa){var nd,od,ld,ud="style."+qa,cd="end."+ud,dd;return function(){var pd=set(this,Ra),fd=pd.on,md=pd.value[ud]==null?dd||(dd=styleRemove(qa)):void 0;(fd!==nd||ld!==md)&&(od=(nd=fd).copy()).on(cd,ld=md),pd.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 cd=qa.apply(this,arguments);return cd!==ld&&(od=(ld=cd)&&styleInterpolate(Ra,cd,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 cd=od[ud],dd=cd.length,pd,fd=0;fd<dd;++fd)if(pd=cd[fd]){var md=get(pd,qa);schedule(pd,Ra,nd,fd,cd,{time:md.time+md.delay+md.duration,delay:0,duration:md.duration,ease:md.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,cd){var dd={value:cd},pd={value:function(){--ld===0&&ud()}};nd.each(function(){var fd=set(this,od),md=fd.on;md!==Ra&&(qa=(Ra=md).copy(),qa._.cancel.push(dd),qa._.interrupt.push(dd),qa._.end.push(pd)),fd.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 cd=od[ud],dd=cd.length,pd,fd=0;fd<dd;++fd)(pd=cd[fd])&&schedule(pd,Ra,qa,fd,cd,nd||inherit(pd,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,cd){this._append`C${+qa},${+nd},${+od},${+ld},${this._x1=+ud},${this._y1=+cd}`}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 cd=this._x1,dd=this._y1,pd=od-qa,fd=ld-nd,md=cd-qa,vd=dd-nd,Ad=md*md+vd*vd;if(this._x1===null)this._append`M${this._x1=qa},${this._y1=nd}`;else if(Ad>epsilon$1)if(!(Math.abs(vd*pd-fd*md)>epsilon$1)||!ud)this._append`L${this._x1=qa},${this._y1=nd}`;else{let Nd=od-cd,Id=ld-dd,kd=pd*pd+fd*fd,jd=Nd*Nd+Id*Id,Fd=Math.sqrt(kd),Md=Math.sqrt(Ad),Ld=ud*Math.tan((pi$1-Math.acos((kd+Ad-jd)/(2*Fd*Md)))/2),Hd=Ld/Md,Gd=Ld/Fd;Math.abs(Hd-1)>epsilon$1&&this._append`L${qa+Hd*md},${nd+Hd*vd}`,this._append`A${ud},${ud},0,0,${+(vd*Nd>md*Id)},${this._x1=qa+Gd*pd},${this._y1=nd+Gd*fd}`}}arc(qa,nd,od,ld,ud,cd){if(qa=+qa,nd=+nd,od=+od,cd=!!cd,od<0)throw new Error(`negative radius: ${od}`);let dd=od*Math.cos(ld),pd=od*Math.sin(ld),fd=qa+dd,md=nd+pd,vd=1^cd,Ad=cd?ld-ud:ud-ld;this._x1===null?this._append`M${fd},${md}`:(Math.abs(this._x1-fd)>epsilon$1||Math.abs(this._y1-md)>epsilon$1)&&this._append`L${fd},${md}`,od&&(Ad<0&&(Ad=Ad%tau$1+tau$1),Ad>tauEpsilon?this._append`A${od},${od},0,1,${vd},${qa-dd},${nd-pd}A${od},${od},0,1,${vd},${this._x1=fd},${this._y1=md}`:Ad>epsilon$1&&this._append`A${od},${od},0,${+(Ad>=pi$1)},${vd},${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$2(Ra){return Ra[0]}function y$1(Ra){return Ra[1]}function line$1(Ra,qa){var nd=constant$3(!0),od=null,ld=curveLinear,ud=null,cd=withPath(dd);Ra=typeof Ra=="function"?Ra:Ra===void 0?x$2:constant$3(Ra),qa=typeof qa=="function"?qa:qa===void 0?y$1:constant$3(qa);function dd(pd){var fd,md=(pd=array(pd)).length,vd,Ad=!1,Nd;for(od==null&&(ud=ld(Nd=cd())),fd=0;fd<=md;++fd)!(fd<md&&nd(vd=pd[fd],fd,pd))===Ad&&((Ad=!Ad)?ud.lineStart():ud.lineEnd()),Ad&&ud.point(+Ra(vd,fd,pd),+qa(vd,fd,pd));if(Nd)return ud=null,Nd+""||null}return dd.x=function(pd){return arguments.length?(Ra=typeof pd=="function"?pd:constant$3(+pd),dd):Ra},dd.y=function(pd){return arguments.length?(qa=typeof pd=="function"?pd:constant$3(+pd),dd):qa},dd.defined=function(pd){return arguments.length?(nd=typeof pd=="function"?pd:constant$3(!!pd),dd):nd},dd.curve=function(pd){return arguments.length?(ld=pd,od!=null&&(ud=ld(od)),dd):ld},dd.context=function(pd){return arguments.length?(pd==null?od=ud=null:ud=ld(od=pd),dd):od},dd}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,cd=qa[nd]-ld,dd=-1,pd;++dd<=nd;)pd=dd/nd,this._basis.point(this._beta*Ra[dd]+(1-this._beta)*(od+pd*ud),this._beta*qa[dd]+(1-this._beta)*(ld+pd*cd));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,cd=Ra._y2;if(Ra._l01_a>epsilon){var dd=2*Ra._l01_2a+3*Ra._l01_a*Ra._l12_a+Ra._l12_2a,pd=3*Ra._l01_a*(Ra._l01_a+Ra._l12_a);od=(od*dd-Ra._x0*Ra._l12_2a+Ra._x2*Ra._l01_2a)/pd,ld=(ld*dd-Ra._y0*Ra._l12_2a+Ra._y2*Ra._l01_2a)/pd}if(Ra._l23_a>epsilon){var fd=2*Ra._l23_2a+3*Ra._l23_a*Ra._l12_a+Ra._l12_2a,md=3*Ra._l23_a*(Ra._l23_a+Ra._l12_a);ud=(ud*fd+Ra._x1*Ra._l23_2a-qa*Ra._l12_2a)/md,cd=(cd*fd+Ra._y1*Ra._l23_2a-nd*Ra._l12_2a)/md}Ra._context.bezierCurveTo(od,ld,ud,cd,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),cd=(nd-Ra._y1)/(ld||od<0&&-0),dd=(ud*ld+cd*od)/(od+ld);return(sign(ud)+sign(cd))*Math.min(Math.abs(ud),Math.abs(cd),.5*Math.abs(dd))||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,cd=Ra._y1,dd=(ud-od)/3;Ra._context.bezierCurveTo(od+dd,ld+dd*qa,ud-dd,cd-dd*nd,ud,cd)}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,cd=1;cd<nd;++ud,++cd)this._context.bezierCurveTo(od[0][ud],ld[0][ud],od[1][ud],ld[1][ud],Ra[cd],qa[cd]);(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),cd=new Array(nd);for(ld[0]=0,ud[0]=2,cd[0]=Ra[0]+2*Ra[1],qa=1;qa<nd-1;++qa)ld[qa]=1,ud[qa]=4,cd[qa]=4*Ra[qa]+2*Ra[qa+1];for(ld[nd-1]=2,ud[nd-1]=7,cd[nd-1]=8*Ra[nd-1]+Ra[nd],qa=1;qa<nd;++qa)od=ld[qa]/ud[qa-1],ud[qa]-=od,cd[qa]-=od*cd[qa-1];for(ld[nd-1]=cd[nd-1]/ud[nd-1],qa=nd-2;qa>=0;--qa)ld[qa]=(cd[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$1(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 cd=Ra.apply(this,od);return nd.cache=ud.set(ld,cd)||ud,cd};return nd.cache=new(memoize$1.Cache||MapCache),nd}memoize$1.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),cd=od(qa),dd=cd.length;dd--;){var pd=cd[++ld];if(nd(ud[pd],pd,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,cd=qa.length;++ud<cd;){var dd=qa[ud],pd=void 0;pd===void 0&&(pd=Ra[dd]),ld?baseAssignValue(nd,dd,pd):assignValue(nd,dd,pd)}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),cd=nd||od||ld||ud,dd=cd?baseTimes(Ra.length,String):[],pd=dd.length;for(var fd in Ra)(qa||hasOwnProperty$6.call(Ra,fd))&&!(cd&&(fd=="length"||ld&&(fd=="offset"||fd=="parent")||ud&&(fd=="buffer"||fd=="byteLength"||fd=="byteOffset")||isIndex(fd,pd)))&&dd.push(fd);return dd}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,cd){var dd=safeGet(Ra,nd),pd=safeGet(qa,nd),fd=cd.get(pd);if(fd){assignMergeValue(Ra,nd,fd);return}var md=ud?ud(dd,pd,nd+"",Ra,qa,cd):void 0,vd=md===void 0;if(vd){var Ad=isArray$1(pd),Nd=!Ad&&isBuffer$1(pd),Id=!Ad&&!Nd&&isTypedArray$2(pd);md=pd,Ad||Nd||Id?isArray$1(dd)?md=dd:isArrayLikeObject(dd)?md=copyArray(dd):Nd?(vd=!1,md=cloneBuffer(pd,!0)):Id?(vd=!1,md=cloneTypedArray(pd,!0)):md=[]:isPlainObject$1(pd)||isArguments$1(pd)?(md=dd,isArguments$1(dd)?md=toPlainObject(dd):(!isObject$2(dd)||isFunction$2(dd))&&(md=initCloneObject(pd))):vd=!1}vd&&(cd.set(pd,md),ld(md,pd,od,ud,cd),cd.delete(pd)),assignMergeValue(Ra,nd,md)}function baseMerge(Ra,qa,nd,od,ld){Ra!==qa&&baseFor(qa,function(ud,cd){if(ld||(ld=new Stack),isObject$2(ud))baseMergeDeep(Ra,qa,cd,nd,baseMerge,od,ld);else{var dd=od?od(safeGet(Ra,cd),ud,cd+"",Ra,qa,ld):void 0;dd===void 0&&(dd=ud),assignMergeValue(Ra,cd,dd)}},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),cd=Array(ud);++ld<ud;)cd[ld]=od[qa+ld];ld=-1;for(var dd=Array(qa+1);++ld<qa;)dd[ld]=od[ld];return dd[qa]=nd(cd),apply$1(Ra,this,dd)}}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,cd=ld>2?nd[2]:void 0;for(ud=Ra.length>3&&typeof ud=="function"?(ld--,ud):void 0,cd&&isIterateeCall(nd[0],nd[1],cd)&&(ud=ld<3?void 0:ud,ld=1),qa=Object(qa);++od<ld;){var dd=nd[od];dd&&Ra(qa,dd,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 cd=nd.map(dd=>dd.args);sanitizeDirective(cd),od=assignWithDepth_default(od,[...cd])}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 cd=[];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 dd=ud[1]?ud[1]:ud[2],pd=ud[3]?ud[3].trim():ud[4]?JSON.parse(ud[4].trim()):null;cd.push({type:dd,args:pd})}return cd.length===0?{type:Ra,args:null}:cd.length===1?cd[0]:cd}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 cd=0;cd<od;cd++)if(ud=ud[nd[cd]],!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 cd=od/ud;if(cd<=0)return nd;if(cd>=1)return{x:ld.x,y:ld.y};if(cd>0&&cd<1)return{x:roundNumber((1-cd)*nd.x+cd*ld.x,5),y:roundNumber((1-cd)*nd.y+cd*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,cd=Math.atan2(qa[0].y-ld.y,qa[0].x-ld.x),dd={x:0,y:0};return dd.x=Math.sin(cd)*ud+(qa[0].x+ld.x)/2,dd.y=-Math.cos(cd)*ud+(qa[0].y+ld.y)/2,dd},"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),cd=10+Ra*.5,dd=Math.atan2(od[0].y-ud.y,od[0].x-ud.x),pd={x:0,y:0};return qa==="start_left"?(pd.x=Math.sin(dd+Math.PI)*cd+(od[0].x+ud.x)/2,pd.y=-Math.cos(dd+Math.PI)*cd+(od[0].y+ud.y)/2):qa==="end_right"?(pd.x=Math.sin(dd-Math.PI)*cd+(od[0].x+ud.x)/2-5,pd.y=-Math.cos(dd-Math.PI)*cd+(od[0].y+ud.y)/2-5):qa==="end_left"?(pd.x=Math.sin(dd)*cd+(od[0].x+ud.x)/2-5,pd.y=-Math.cos(dd)*cd+(od[0].y+ud.y)/2-5):(pd.x=Math.sin(dd)*cd+(od[0].x+ud.x)/2,pd.y=-Math.cos(dd)*cd+(od[0].y+ud.y)/2),pd}__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$1((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((cd,dd)=>{const pd=calculateTextWidth(`${cd} `,nd),fd=calculateTextWidth(ud,nd);if(pd>qa){const{hyphenatedStrings:Ad,remainingWord:Nd}=breakString(cd,qa,"-",nd);ld.push(ud,...Ad),ud=Nd}else fd+pd>=qa?(ld.push(ud),ud=cd):ud=[ud,cd].filter(Boolean).join(" ");dd+1===od.length&&ld.push(ud)}),ld.filter(cd=>cd!=="").join(nd.joinWith)},(Ra,qa,nd)=>`${Ra}${qa}${nd.fontSize}${nd.fontWeight}${nd.fontFamily}${nd.joinWith}`),breakString=memoize$1((Ra,qa,nd="-",od)=>{od=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},od);const ld=[...Ra],ud=[];let cd="";return ld.forEach((dd,pd)=>{const fd=`${cd}${dd}`;if(calculateTextWidth(fd,od)>=qa){const vd=pd+1,Ad=ld.length===vd,Nd=`${fd}${nd}`;ud.push(Ad?fd:Nd),cd=""}else cd=fd}),{hyphenatedStrings:ud,remainingWord:cd}},(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$1((Ra,qa)=>{const{fontSize:nd=12,fontFamily:od="Arial",fontWeight:ld=400}=qa;if(!Ra)return{width:0,height:0};const[,ud]=parseFontSize(nd),cd=["sans-serif",od],dd=Ra.split(common_default.lineBreakRegex),pd=[],fd=select("body");if(!fd.remove)return{width:0,height:0,lineHeight:0};const md=fd.append("svg");for(const Ad of cd){let Nd=0;const Id={width:0,height:0,lineHeight:0};for(const kd of dd){const jd=getTextObj();jd.text=kd||ZERO_WIDTH_SPACE;const Fd=drawSimpleText(md,jd).style("font-size",ud).style("font-weight",ld).style("font-family",Ad),Md=(Fd._groups||Fd)[0][0].getBBox();if(Md.width===0&&Md.height===0)throw new Error("svg element not in render tree");Id.width=Math.round(Math.max(Id.width,Md.width)),Nd=Math.round(Md.height),Id.height+=Nd,Id.lineHeight=Math.round(Math.max(Id.lineHeight,Nd))}pd.push(Id)}md.remove();const vd=isNaN(pd[1].height)||isNaN(pd[1].width)||isNaN(pd[1].lineHeight)||pd[0].height>pd[1].height&&pd[0].width>pd[1].width&&pd[0].lineHeight>pd[1].lineHeight?0:1;return pd[vd]},(Ra,qa)=>`${Ra}${qa.fontSize}${qa.fontWeight}${qa.fontFamily}`),fT,InitIDGenerator=(fT=class{constructor(qa=!1,nd){this.count=0,this.count=nd?nd.length:0,this.next=qa?()=>this.count++:()=>Date.now()}},__name(fT,"InitIDGenerator"),fT),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 cd=typeof ud=="string"?ud:ud.source;return cd=cd.replace(caret$1,"$1"),nd=nd.replace(ld,cd),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,cd,dd)=>{let pd=!1,fd=cd;for(;--fd>=0&&dd[fd]==="\\";)pd=!pd;return pd?"|":" |"}),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,cd=Ra[1].replace(/\\([\[\]])/g,"$1");if(Ra[0].charAt(0)!=="!"){od.state.inLink=!0;const dd={type:"link",raw:nd,href:ld,title:ud,text:cd,tokens:od.inlineTokens(cd)};return od.state.inLink=!1,dd}return{type:"image",raw:nd,href:ld,title:ud,text:escape$1(cd)}}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[cd]=ud;return cd.length>=od.length?ld.slice(od.length):ld}).join(`
|
||
`)}class _Tokenizer{constructor(qa){p_(this,"options");p_(this,"rules");p_(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 cd=[];for(;od.length>0;){let dd=!1;const pd=[];let fd;for(fd=0;fd<od.length;fd++)if(/^ {0,3}>/.test(od[fd]))pd.push(od[fd]),dd=!0;else if(!dd)pd.push(od[fd]);else break;od=od.slice(fd);const md=pd.join(`
|
||
`),vd=md.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
|
||
$1`).replace(/^ {0,3}>[ \t]?/gm,"");ld=ld?`${ld}
|
||
${md}`:md,ud=ud?`${ud}
|
||
${vd}`:vd;const Ad=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(vd,cd,!0),this.lexer.state.top=Ad,od.length===0)break;const Nd=cd[cd.length-1];if((Nd==null?void 0:Nd.type)==="code")break;if((Nd==null?void 0:Nd.type)==="blockquote"){const Id=Nd,kd=Id.raw+`
|
||
`+od.join(`
|
||
`),jd=this.blockquote(kd);cd[cd.length-1]=jd,ld=ld.substring(0,ld.length-Id.raw.length)+jd.raw,ud=ud.substring(0,ud.length-Id.text.length)+jd.text;break}else if((Nd==null?void 0:Nd.type)==="list"){const Id=Nd,kd=Id.raw+`
|
||
`+od.join(`
|
||
`),jd=this.list(kd);cd[cd.length-1]=jd,ld=ld.substring(0,ld.length-Nd.raw.length)+jd.raw,ud=ud.substring(0,ud.length-Id.raw.length)+jd.raw,od=kd.substring(cd[cd.length-1].raw.length).split(`
|
||
`);continue}}return{type:"blockquote",raw:ld,tokens:cd,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 cd=new RegExp(`^( {0,3}${od})((?:[ ][^\\n]*)?(?:\\n|$))`);let dd=!1;for(;qa;){let pd=!1,fd="",md="";if(!(nd=cd.exec(qa))||this.rules.block.hr.test(qa))break;fd=nd[0],qa=qa.substring(fd.length);let vd=nd[2].split(`
|
||
`,1)[0].replace(/^\t+/,Fd=>" ".repeat(3*Fd.length)),Ad=qa.split(`
|
||
`,1)[0],Nd=!vd.trim(),Id=0;if(this.options.pedantic?(Id=2,md=vd.trimStart()):Nd?Id=nd[1].length+1:(Id=nd[2].search(/[^ ]/),Id=Id>4?1:Id,md=vd.slice(Id),Id+=nd[1].length),Nd&&/^ *$/.test(Ad)&&(fd+=Ad+`
|
||
`,qa=qa.substring(Ad.length+1),pd=!0),!pd){const Fd=new RegExp(`^ {0,${Math.min(3,Id-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),Md=new RegExp(`^ {0,${Math.min(3,Id-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),Ld=new RegExp(`^ {0,${Math.min(3,Id-1)}}(?:\`\`\`|~~~)`),Hd=new RegExp(`^ {0,${Math.min(3,Id-1)}}#`);for(;qa;){const Gd=qa.split(`
|
||
`,1)[0];if(Ad=Gd,this.options.pedantic&&(Ad=Ad.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),Ld.test(Ad)||Hd.test(Ad)||Fd.test(Ad)||Md.test(qa))break;if(Ad.search(/[^ ]/)>=Id||!Ad.trim())md+=`
|
||
`+Ad.slice(Id);else{if(Nd||vd.search(/[^ ]/)>=4||Ld.test(vd)||Hd.test(vd)||Md.test(vd))break;md+=`
|
||
`+Ad}!Nd&&!Ad.trim()&&(Nd=!0),fd+=Gd+`
|
||
`,qa=qa.substring(Gd.length+1),vd=Ad.slice(Id)}}ud.loose||(dd?ud.loose=!0:/\n *\n *$/.test(fd)&&(dd=!0));let kd=null,jd;this.options.gfm&&(kd=/^\[[ xX]\] /.exec(md),kd&&(jd=kd[0]!=="[ ] ",md=md.replace(/^\[[ xX]\] +/,""))),ud.items.push({type:"list_item",raw:fd,task:!!kd,checked:jd,loose:!1,text:md,tokens:[]}),ud.raw+=fd}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 pd=0;pd<ud.items.length;pd++)if(this.lexer.state.top=!1,ud.items[pd].tokens=this.lexer.blockTokens(ud.items[pd].text,[]),!ud.loose){const fd=ud.items[pd].tokens.filter(vd=>vd.type==="space"),md=fd.length>0&&fd.some(vd=>/\n.*\n/.test(vd.raw));ud.loose=md}if(ud.loose)for(let pd=0;pd<ud.items.length;pd++)ud.items[pd].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(`
|
||
`):[],cd={type:"table",raw:nd[0],header:[],align:[],rows:[]};if(od.length===ld.length){for(const dd of ld)/^ *-+: *$/.test(dd)?cd.align.push("right"):/^ *:-+: *$/.test(dd)?cd.align.push("center"):/^ *:-+ *$/.test(dd)?cd.align.push("left"):cd.align.push(null);for(let dd=0;dd<od.length;dd++)cd.header.push({text:od[dd],tokens:this.lexer.inline(od[dd]),header:!0,align:cd.align[dd]});for(const dd of ud)cd.rows.push(splitCells(dd,cd.header.length).map((pd,fd)=>({text:pd,tokens:this.lexer.inline(pd),header:!1,align:cd.align[fd]})));return cd}}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 cd=rtrim(od.slice(0,-1),"\\");if((od.length-cd.length)%2===0)return}else{const cd=findClosingBracket(nd[2],"()");if(cd>-1){const pd=(nd[0].indexOf("!")===0?5:4)+nd[1].length+cd;nd[2]=nd[2].substring(0,cd),nd[0]=nd[0].substring(0,pd).trim(),nd[3]=""}}let ld=nd[2],ud="";if(this.options.pedantic){const cd=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ld);cd&&(ld=cd[1],ud=cd[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 cd=od[0].charAt(0);return{type:"text",raw:cd,text:cd}}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 cd=[...ld[0]].length-1;let dd,pd,fd=cd,md=0;const vd=ld[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(vd.lastIndex=0,nd=nd.slice(-1*qa.length+cd);(ld=vd.exec(nd))!=null;){if(dd=ld[1]||ld[2]||ld[3]||ld[4]||ld[5]||ld[6],!dd)continue;if(pd=[...dd].length,ld[3]||ld[4]){fd+=pd;continue}else if((ld[5]||ld[6])&&cd%3&&!((cd+pd)%3)){md+=pd;continue}if(fd-=pd,fd>0)continue;pd=Math.min(pd,pd+fd+md);const Ad=[...ld[0]][0].length,Nd=qa.slice(0,cd+ld.index+Ad+pd);if(Math.min(cd,pd)%2){const kd=Nd.slice(1,-1);return{type:"em",raw:Nd,text:kd,tokens:this.lexer.inlineTokens(kd)}}const Id=Nd.slice(2,-2);return{type:"strong",raw:Nd,text:Id,tokens:this.lexer.inlineTokens(Id)}}}}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 cd;do cd=nd[0],nd[0]=((od=this.rules.inline._backpedal.exec(nd[0]))==null?void 0:od[0])??"";while(cd!==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=/^( {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,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).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){p_(this,"tokens");p_(this,"options");p_(this,"state");p_(this,"tokenizer");p_(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,(dd,pd,fd)=>pd+" ".repeat(fd.length));let ld,ud,cd;for(;qa;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(dd=>(ld=dd.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(cd=qa,this.options.extensions&&this.options.extensions.startBlock){let dd=1/0;const pd=qa.slice(1);let fd;this.options.extensions.startBlock.forEach(md=>{fd=md.call({lexer:this},pd),typeof fd=="number"&&fd>=0&&(dd=Math.min(dd,fd))}),dd<1/0&&dd>=0&&(cd=qa.substring(0,dd+1))}if(this.state.top&&(ld=this.tokenizer.paragraph(cd))){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=cd.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 dd="Infinite loop on byte: "+qa.charCodeAt(0);if(this.options.silent){console.error(dd);break}else throw new Error(dd)}}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,cd=qa,dd,pd,fd;if(this.tokens.links){const md=Object.keys(this.tokens.links);if(md.length>0)for(;(dd=this.tokenizer.rules.inline.reflinkSearch.exec(cd))!=null;)md.includes(dd[0].slice(dd[0].lastIndexOf("[")+1,-1))&&(cd=cd.slice(0,dd.index)+"["+"a".repeat(dd[0].length-2)+"]"+cd.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(dd=this.tokenizer.rules.inline.blockSkip.exec(cd))!=null;)cd=cd.slice(0,dd.index)+"["+"a".repeat(dd[0].length-2)+"]"+cd.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(dd=this.tokenizer.rules.inline.anyPunctuation.exec(cd))!=null;)cd=cd.slice(0,dd.index)+"++"+cd.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;qa;)if(pd||(fd=""),pd=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(md=>(od=md.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,cd,fd)){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 md=1/0;const vd=qa.slice(1);let Ad;this.options.extensions.startInline.forEach(Nd=>{Ad=Nd.call({lexer:this},vd),typeof Ad=="number"&&Ad>=0&&(md=Math.min(md,Ad))}),md<1/0&&md>=0&&(ud=qa.substring(0,md+1))}if(od=this.tokenizer.inlineText(ud)){qa=qa.substring(od.raw.length),od.raw.slice(-1)!=="_"&&(fd=od.raw.slice(-1)),pd=!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 md="Infinite loop on byte: "+qa.charCodeAt(0);if(this.options.silent){console.error(md);break}else throw new Error(md)}}return nd}}class _Renderer{constructor(qa){p_(this,"options");p_(this,"parser");this.options=qa||_defaults}space(qa){return""}code({text:qa,lang:nd,escaped:od}){var cd;const ld=(cd=(nd||"").match(/^\S*/))==null?void 0:cd[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 dd=0;dd<qa.items.length;dd++){const pd=qa.items[dd];ld+=this.listitem(pd)}const ud=nd?"ol":"ul",cd=nd&&od!==1?' start="'+od+'"':"";return"<"+ud+cd+`>
|
||
`+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 cd=qa.rows[ud];od="";for(let dd=0;dd<cd.length;dd++)od+=this.tablecell(cd[dd]);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 cd='<a href="'+qa+'"';return nd&&(cd+=' title="'+nd+'"'),cd+=">"+ld+"</a>",cd}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){p_(this,"options");p_(this,"renderer");p_(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 dd=ud,pd=this.options.extensions.renderers[dd.type].call({parser:this},dd);if(pd!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(dd.type)){od+=pd||"";continue}}const cd=ud;switch(cd.type){case"space":{od+=this.renderer.space(cd);continue}case"hr":{od+=this.renderer.hr(cd);continue}case"heading":{od+=this.renderer.heading(cd);continue}case"code":{od+=this.renderer.code(cd);continue}case"table":{od+=this.renderer.table(cd);continue}case"blockquote":{od+=this.renderer.blockquote(cd);continue}case"list":{od+=this.renderer.list(cd);continue}case"html":{od+=this.renderer.html(cd);continue}case"paragraph":{od+=this.renderer.paragraph(cd);continue}case"text":{let dd=cd,pd=this.renderer.text(dd);for(;ld+1<qa.length&&qa[ld+1].type==="text";)dd=qa[++ld],pd+=`
|
||
`+this.renderer.text(dd);nd?od+=this.renderer.paragraph({type:"paragraph",raw:pd,text:pd,tokens:[{type:"text",raw:pd,text:pd}]}):od+=pd;continue}default:{const dd='Token with "'+cd.type+'" type was not found.';if(this.options.silent)return console.error(dd),"";throw new Error(dd)}}}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 dd=this.options.extensions.renderers[ud.type].call({parser:this},ud);if(dd!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(ud.type)){od+=dd||"";continue}}const cd=ud;switch(cd.type){case"escape":{od+=nd.text(cd);break}case"html":{od+=nd.html(cd);break}case"link":{od+=nd.link(cd);break}case"image":{od+=nd.image(cd);break}case"strong":{od+=nd.strong(cd);break}case"em":{od+=nd.em(cd);break}case"codespan":{od+=nd.codespan(cd);break}case"br":{od+=nd.br(cd);break}case"del":{od+=nd.del(cd);break}case"text":{od+=nd.text(cd);break}default:{const dd='Token with "'+cd.type+'" type was not found.';if(this.options.silent)return console.error(dd),"";throw new Error(dd)}}}return od}}class _Hooks{constructor(qa){p_(this,"options");this.options=qa||_defaults}preprocess(qa){return qa}postprocess(qa){return qa}processAllTokens(qa){return qa}}p_(_Hooks,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var By,Px,Q1,Lx;class Marked{constructor(...qa){Ox(this,By);p_(this,"defaults",_getDefaults());p_(this,"options",this.setOptions);p_(this,"parse",ZT(this,By,Q1).call(this,_Lexer.lex,_Parser.parse));p_(this,"parseInline",ZT(this,By,Q1).call(this,_Lexer.lexInline,_Parser.parseInline));p_(this,"Parser",_Parser);p_(this,"Renderer",_Renderer);p_(this,"TextRenderer",_TextRenderer);p_(this,"Lexer",_Lexer);p_(this,"Tokenizer",_Tokenizer);p_(this,"Hooks",_Hooks);this.use(...qa)}walkTokens(qa,nd){var ld,ud;let od=[];for(const cd of qa)switch(od=od.concat(nd.call(this,cd)),cd.type){case"table":{const dd=cd;for(const pd of dd.header)od=od.concat(this.walkTokens(pd.tokens,nd));for(const pd of dd.rows)for(const fd of pd)od=od.concat(this.walkTokens(fd.tokens,nd));break}case"list":{const dd=cd;od=od.concat(this.walkTokens(dd.items,nd));break}default:{const dd=cd;(ud=(ld=this.defaults.extensions)==null?void 0:ld.childTokens)!=null&&ud[dd.type]?this.defaults.extensions.childTokens[dd.type].forEach(pd=>{const fd=dd[pd].flat(1/0);od=od.concat(this.walkTokens(fd,nd))}):dd.tokens&&(od=od.concat(this.walkTokens(dd.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 cd=nd.renderers[ud.name];cd?nd.renderers[ud.name]=function(...dd){let pd=ud.renderer.apply(this,dd);return pd===!1&&(pd=cd.apply(this,dd)),pd}: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 cd=nd[ud.level];cd?cd.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 cd in od.renderer){if(!(cd in ud))throw new Error(`renderer '${cd}' does not exist`);if(["options","parser"].includes(cd))continue;const dd=cd;let pd=od.renderer[dd];od.useNewRenderer||(pd=ZT(this,By,Px).call(this,pd,dd,ud));const fd=ud[dd];ud[dd]=(...md)=>{let vd=pd.apply(ud,md);return vd===!1&&(vd=fd.apply(ud,md)),vd||""}}ld.renderer=ud}if(od.tokenizer){const ud=this.defaults.tokenizer||new _Tokenizer(this.defaults);for(const cd in od.tokenizer){if(!(cd in ud))throw new Error(`tokenizer '${cd}' does not exist`);if(["options","rules","lexer"].includes(cd))continue;const dd=cd,pd=od.tokenizer[dd],fd=ud[dd];ud[dd]=(...md)=>{let vd=pd.apply(ud,md);return vd===!1&&(vd=fd.apply(ud,md)),vd}}ld.tokenizer=ud}if(od.hooks){const ud=this.defaults.hooks||new _Hooks;for(const cd in od.hooks){if(!(cd in ud))throw new Error(`hook '${cd}' does not exist`);if(cd==="options")continue;const dd=cd,pd=od.hooks[dd],fd=ud[dd];_Hooks.passThroughHooks.has(cd)?ud[dd]=md=>{if(this.defaults.async)return Promise.resolve(pd.call(ud,md)).then(Ad=>fd.call(ud,Ad));const vd=pd.call(ud,md);return fd.call(ud,vd)}:ud[dd]=(...md)=>{let vd=pd.apply(ud,md);return vd===!1&&(vd=fd.apply(ud,md)),vd}}ld.hooks=ud}if(od.walkTokens){const ud=this.defaults.walkTokens,cd=od.walkTokens;ld.walkTokens=function(dd){let pd=[];return pd.push(cd.call(this,dd)),ud&&(pd=pd.concat(ud.call(this,dd))),pd}}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)}}By=new WeakSet,Px=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="",cd="";for(let pd=0;pd<ld.header.length;pd++)cd+=this.tablecell({text:ld.header[pd].text,tokens:ld.header[pd].tokens,header:!0,align:ld.align[pd]});ud+=this.tablerow({text:cd});let dd="";for(let pd=0;pd<ld.rows.length;pd++){const fd=ld.rows[pd];cd="";for(let md=0;md<fd.length;md++)cd+=this.tablecell({text:fd[md].text,tokens:fd[md].tokens,header:!1,align:ld.align[md]});dd+=this.tablerow({text:cd})}return qa.call(this,ud,dd)};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,cd=ld.start,dd=ld.loose;let pd="";for(let fd=0;fd<ld.items.length;fd++){const md=ld.items[fd],vd=md.checked,Ad=md.task;let Nd="";if(md.task){const Id=this.checkbox({checked:!!vd});dd?md.tokens.length>0&&md.tokens[0].type==="paragraph"?(md.tokens[0].text=Id+" "+md.tokens[0].text,md.tokens[0].tokens&&md.tokens[0].tokens.length>0&&md.tokens[0].tokens[0].type==="text"&&(md.tokens[0].tokens[0].text=Id+" "+md.tokens[0].tokens[0].text)):md.tokens.unshift({type:"text",text:Id+" "}):Nd+=Id+" "}Nd+=this.parser.parse(md.tokens,dd),pd+=this.listitem({type:"list_item",raw:Nd,text:Nd,task:Ad,checked:!!vd,loose:dd,tokens:md.tokens})}return qa.call(this,pd,ud,cd)};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},Q1=function(qa,nd){return(od,ld)=>{const ud={...ld},cd={...this.defaults,...ud};this.defaults.async===!0&&ud.async===!1&&(cd.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),cd.async=!0);const dd=ZT(this,By,Lx).call(this,!!cd.silent,!!cd.async);if(typeof od>"u"||od===null)return dd(new Error("marked(): input parameter is undefined or null"));if(typeof od!="string")return dd(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(od)+", string expected"));if(cd.hooks&&(cd.hooks.options=cd),cd.async)return Promise.resolve(cd.hooks?cd.hooks.preprocess(od):od).then(pd=>qa(pd,cd)).then(pd=>cd.hooks?cd.hooks.processAllTokens(pd):pd).then(pd=>cd.walkTokens?Promise.all(this.walkTokens(pd,cd.walkTokens)).then(()=>pd):pd).then(pd=>nd(pd,cd)).then(pd=>cd.hooks?cd.hooks.postprocess(pd):pd).catch(dd);try{cd.hooks&&(od=cd.hooks.preprocess(od));let pd=qa(od,cd);cd.hooks&&(pd=cd.hooks.processAllTokens(pd)),cd.walkTokens&&this.walkTokens(pd,cd.walkTokens);let fd=nd(pd,cd);return cd.hooks&&(fd=cd.hooks.postprocess(fd)),fd}catch(pd){return dd(pd)}}},Lx=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(dd,pd){var fd=pd.match(/\n([\t ]+|(?!\s).)/g);return fd?dd.concat(fd.map(function(md){var vd,Ad;return(Ad=(vd=md.match(/[\t ]/g))===null||vd===void 0?void 0:vd.length)!==null&&Ad!==void 0?Ad:0})):dd},[]);if(ld.length){var ud=new RegExp(`
|
||
[ ]{`+Math.min.apply(Math,ld)+"}","g");od=od.map(function(dd){return dd.replace(ud,`
|
||
`)})}od[0]=od[0].replace(/^\r?\n/,"");var cd=od[0];return qa.forEach(function(dd,pd){var fd=cd.match(/(?:^|\n)( *)$/),md=fd?fd[1]:"",vd=dd;typeof dd=="string"&&dd.includes(`
|
||
`)&&(vd=String(dd).split(`
|
||
`).map(function(Ad,Nd){return Nd===0?Ad:""+md+Ad}).join(`
|
||
`)),cd+=vd+od[pd+1]}),cd}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 cd(dd,pd="normal"){dd.type==="text"?dd.text.split(`
|
||
`).forEach((md,vd)=>{vd!==0&&(ud++,ld.push([])),md.split(" ").forEach(Ad=>{Ad=Ad.replace(/'/g,"'"),Ad&&ld[ud].push({content:Ad,type:pd})})}):dd.type==="strong"||dd.type==="em"?dd.tokens.forEach(fd=>{cd(fd,dd.type)}):dd.type==="html"&&ld[ud].push({content:dd.text,type:"normal"})}return __name(cd,"processNode"),od.forEach(dd=>{var pd;dd.type==="paragraph"?(pd=dd.tokens)==null||pd.forEach(fd=>{cd(fd)}):dd.type==="html"&&ld[ud].push({content:dd.text,type:"normal"})}),ld}__name(markdownToLines,"markdownToLines");function markdownToHTML(Ra,{markdownAutoWrap:qa}={}){const nd=marked.lexer(Ra);function od(ld){var ud,cd,dd;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>${(cd=ld.tokens)==null?void 0:cd.map(od).join("")}</em>`:ld.type==="paragraph"?`<p>${(dd=ld.tokens)==null?void 0:dd.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,cd=[...qa,ld];return Ra([{content:cd.join(""),type:od}])?splitWordToFitWidthRecursion(Ra,cd,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"},cd=[...od];if(ld!==""&&cd.push({content:ld,type:"normal"}),cd.push(ud),qa(cd))return splitLineToFitWidthRecursion(Ra,qa,nd,cd);if(od.length>0)nd.push(od),Ra.unshift(ud);else if(ud.content){const[dd,pd]=splitWordToFitWidth(qa,ud);nd.push([dd]),pd.content&&Ra.unshift(pd)}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 cd=ud.append("xhtml:div");let dd=qa.label;qa.label&&hasKatex(qa.label)&&(dd=await renderKatex(qa.label.replace(common_default.lineBreakRegex,`
|
||
`),getConfig2()));const pd=qa.isNode?"nodeLabel":"edgeLabel",fd=cd.append("span");fd.html(dd),applyStyle$1(fd,qa.labelStyle),fd.attr("class",`${pd} ${od}`),applyStyle$1(cd,qa.labelStyle),cd.style("display","table-cell"),cd.style("white-space","nowrap"),cd.style("line-height","1.5"),cd.style("max-width",nd+"px"),cd.style("text-align","center"),cd.attr("xmlns","http://www.w3.org/1999/xhtml"),ld&&cd.attr("class","labelBkg");let md=cd.node().getBoundingClientRect();return md.width===nd&&(cd.style("display","table"),cd.style("white-space","break-spaces"),cd.style("width",nd+"px"),md=cd.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 cd;const od=Ra.append("text"),ld=createTspan(od,1,qa);updateTextContentAndStyles(ld,[{content:nd,type:"normal"}]);const ud=(cd=ld.node())==null?void 0:cd.getBoundingClientRect();return ud&&od.remove(),ud}__name(computeDimensionOfText,"computeDimensionOfText");function createFormattedText(Ra,qa,nd,od=!1){const ud=qa.append("g"),cd=ud.insert("rect").attr("class","background").attr("style","stroke: none"),dd=ud.append("text").attr("y","-10.1");let pd=0;for(const fd of nd){const md=__name(Ad=>computeWidthOfText(ud,1.1,Ad)<=Ra,"checkWidth"),vd=md(fd)?[fd]:splitLineToFitWidth(fd,md);for(const Ad of vd){const Nd=createTspan(dd,pd,1.1);updateTextContentAndStyles(Nd,Ad),pd++}}if(od){const fd=dd.node().getBBox(),md=2;return cd.attr("x",fd.x-md).attr("y",fd.y-md).attr("width",fd.width+2*md).attr("height",fd.height+2*md),ud.node()}else return dd.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:cd=!0,width:dd=200,addSvgBackground:pd=!1}={},fd)=>{if(log$1.debug("XYZ createText",qa,nd,od,ld,ud,cd,"addSvgBackground: ",pd),ud){const md=markdownToHTML(qa,fd),vd=replaceIconSubstring(decodeEntities(md)),Ad=qa.replace(/\\\\/g,"\\"),Nd={isNode:cd,label:hasKatex(qa)?Ad:vd,labelStyle:nd.replace("fill:","color:")};return await addHtmlSpan(Ra,Nd,dd,ld,pd)}else{const md=qa.replace(/<br\s*\/?>/g,"<br/>"),vd=markdownToLines(md.replace("<br>","<br/>"),fd),Ad=createFormattedText(dd,Ra,vd,qa?pd:!1);if(cd){/stroke:/.exec(nd)&&(nd=nd.replace("stroke:","lineColor:"));const Nd=nd.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");select(Ad).attr("style",Nd)}else{const Nd=nd.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");select(Ad).select("rect").attr("style",Nd.replace(/background:/g,"fill:"));const Id=nd.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");select(Ad).select("text").attr("style",Id)}return Ad}},"createText");function t(Ra,qa,nd){if(Ra&&Ra.length){const[od,ld]=qa,ud=Math.PI/180*nd,cd=Math.cos(ud),dd=Math.sin(ud);for(const pd of Ra){const[fd,md]=pd;pd[0]=(fd-od)*cd-(md-ld)*dd+od,pd[1]=(fd-od)*dd+(md-ld)*cd+ld}}}function e(Ra,qa){return Ra[0]===qa[0]&&Ra[1]===qa[1]}function s(Ra,qa,nd,od=1){const ld=nd,ud=Math.max(qa,.1),cd=Ra[0]&&Ra[0][0]&&typeof Ra[0][0]=="number"?[Ra]:Ra,dd=[0,0];if(ld)for(const fd of cd)t(fd,dd,ld);const pd=function(fd,md,vd){const Ad=[];for(const Md of fd){const Ld=[...Md];e(Ld[0],Ld[Ld.length-1])||Ld.push([Ld[0][0],Ld[0][1]]),Ld.length>2&&Ad.push(Ld)}const Nd=[];md=Math.max(md,.1);const Id=[];for(const Md of Ad)for(let Ld=0;Ld<Md.length-1;Ld++){const Hd=Md[Ld],Gd=Md[Ld+1];if(Hd[1]!==Gd[1]){const Vd=Math.min(Hd[1],Gd[1]);Id.push({ymin:Vd,ymax:Math.max(Hd[1],Gd[1]),x:Vd===Hd[1]?Hd[0]:Gd[0],islope:(Gd[0]-Hd[0])/(Gd[1]-Hd[1])})}}if(Id.sort((Md,Ld)=>Md.ymin<Ld.ymin?-1:Md.ymin>Ld.ymin?1:Md.x<Ld.x?-1:Md.x>Ld.x?1:Md.ymax===Ld.ymax?0:(Md.ymax-Ld.ymax)/Math.abs(Md.ymax-Ld.ymax)),!Id.length)return Nd;let kd=[],jd=Id[0].ymin,Fd=0;for(;kd.length||Id.length;){if(Id.length){let Md=-1;for(let Ld=0;Ld<Id.length&&!(Id[Ld].ymin>jd);Ld++)Md=Ld;Id.splice(0,Md+1).forEach(Ld=>{kd.push({s:jd,edge:Ld})})}if(kd=kd.filter(Md=>!(Md.edge.ymax<=jd)),kd.sort((Md,Ld)=>Md.edge.x===Ld.edge.x?0:(Md.edge.x-Ld.edge.x)/Math.abs(Md.edge.x-Ld.edge.x)),(vd!==1||Fd%md==0)&&kd.length>1)for(let Md=0;Md<kd.length;Md+=2){const Ld=Md+1;if(Ld>=kd.length)break;const Hd=kd[Md].edge,Gd=kd[Ld].edge;Nd.push([[Math.round(Hd.x),jd],[Math.round(Gd.x),jd]])}jd+=vd,kd.forEach(Md=>{Md.edge.x=Md.edge.x+vd*Md.edge.islope}),Fd++}return Nd}(cd,ud,od);if(ld){for(const fd of cd)t(fd,dd,-ld);(function(fd,md,vd){const Ad=[];fd.forEach(Nd=>Ad.push(...Nd)),t(Ad,md,vd)})(pd,dd,-ld)}return pd}function n(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(Ra,ld,od,ud||1)}class o{constructor(qa){this.helper=qa}fillPolygons(qa,nd){return this._fillPolygons(qa,nd)}_fillPolygons(qa,nd){const od=n(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(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))}class h extends o{fillPolygons(qa,nd){let od=nd.hachureGap;od<0&&(od=4*nd.strokeWidth),od=Math.max(od,.1);const ld=n(qa,Object.assign({},nd,{hachureGap:od})),ud=Math.PI/180*nd.hachureAngle,cd=[],dd=.5*od*Math.cos(ud),pd=.5*od*Math.sin(ud);for(const[fd,md]of ld)a([fd,md])&&cd.push([[fd[0]-dd,fd[1]+pd],[...md]],[[fd[0]+dd,fd[1]-pd],[...md]]);return{type:"fillSketch",ops:this.renderLines(cd,nd)}}}class r extends o{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}}class i{constructor(qa){this.helper=qa}fillPolygons(qa,nd){const od=n(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 cd=ld/4;for(const dd of qa){const pd=a(dd),fd=pd/ld,md=Math.ceil(fd)-1,vd=pd-md*ld,Ad=(dd[0][0]+dd[1][0])/2-ld/4,Nd=Math.min(dd[0][1],dd[1][1]);for(let Id=0;Id<md;Id++){const kd=Nd+vd+Id*ld,jd=Ad-cd+2*Math.random()*cd,Fd=kd-cd+2*Math.random()*cd,Md=this.helper.ellipse(jd,Fd,ud,ud,nd);od.push(...Md.ops)}}return{type:"fillSketch",ops:od}}}class c{constructor(qa){this.helper=qa}fillPolygons(qa,nd){const od=n(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(cd=>{const dd=a(cd),pd=Math.floor(dd/(od+ld)),fd=(dd+ld-pd*(od+ld))/2;let md=cd[0],vd=cd[1];md[0]>vd[0]&&(md=cd[1],vd=cd[0]);const Ad=Math.atan((vd[1]-md[1])/(vd[0]-md[0]));for(let Nd=0;Nd<pd;Nd++){const Id=Nd*(od+ld),kd=Id+od,jd=[md[0]+Id*Math.cos(Ad)+fd*Math.cos(Ad),md[1]+Id*Math.sin(Ad)+fd*Math.sin(Ad)],Fd=[md[0]+kd*Math.cos(Ad)+fd*Math.cos(Ad),md[1]+kd*Math.sin(Ad)+fd*Math.sin(Ad)];ud.push(...this.helper.doubleLineOps(jd[0],jd[1],Fd[0],Fd[1],nd))}}),ud}}class l{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(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 cd=a(ud),dd=Math.round(cd/(2*nd));let pd=ud[0],fd=ud[1];pd[0]>fd[0]&&(pd=ud[1],fd=ud[0]);const md=Math.atan((fd[1]-pd[1])/(fd[0]-pd[0]));for(let vd=0;vd<dd;vd++){const Ad=2*vd*nd,Nd=2*(vd+1)*nd,Id=Math.sqrt(2*Math.pow(nd,2)),kd=[pd[0]+Ad*Math.cos(md),pd[1]+Ad*Math.sin(md)],jd=[pd[0]+Nd*Math.cos(md),pd[1]+Nd*Math.sin(md)],Fd=[kd[0]+Id*Math.cos(md+Math.PI/4),kd[1]+Id*Math.sin(md+Math.PI/4)];ld.push(...this.helper.doubleLineOps(kd[0],kd[1],Fd[0],Fd[1],od),...this.helper.doubleLineOps(Fd[0],Fd[1],jd[0],jd[1],od))}}),ld}}const u={};class p{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=0,d=1,g$2=2,M$1={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(Ra,qa){return Ra.type===qa}function b(Ra){const qa=[],nd=function(cd){const dd=new Array;for(;cd!=="";)if(cd.match(/^([ \t\r\n,]+)/))cd=cd.substr(RegExp.$1.length);else if(cd.match(/^([aAcChHlLmMqQsStTvVzZ])/))dd[dd.length]={type:f,text:RegExp.$1},cd=cd.substr(RegExp.$1.length);else{if(!cd.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];dd[dd.length]={type:d,text:`${parseFloat(RegExp.$1)}`},cd=cd.substr(RegExp.$1.length)}return dd[dd.length]={type:g$2,text:""},dd}(Ra);let od="BOD",ld=0,ud=nd[ld];for(;!k(ud,g$2);){let cd=0;const dd=[];if(od==="BOD"){if(ud.text!=="M"&&ud.text!=="m")return b("M0,0"+Ra);ld++,cd=M$1[ud.text],od=ud.text}else k(ud,d)?cd=M$1[od]:(ld++,cd=M$1[ud.text],od=ud.text);if(!(ld+cd<nd.length))throw new Error("Path data ended short");for(let pd=ld;pd<ld+cd;pd++){const fd=nd[pd];if(!k(fd,d))throw new Error("Param not a number: "+od+","+fd.text);dd[dd.length]=+fd.text}if(typeof M$1[od]!="number")throw new Error("Bad segment: "+od);{const pd={key:od,data:dd};qa.push(pd),ld+=cd,ud=nd[ld],od==="M"&&(od="L"),od==="m"&&(od="l")}}return qa}function y(Ra){let qa=0,nd=0,od=0,ld=0;const ud=[];for(const{key:cd,data:dd}of Ra)switch(cd){case"M":ud.push({key:"M",data:[...dd]}),[qa,nd]=dd,[od,ld]=dd;break;case"m":qa+=dd[0],nd+=dd[1],ud.push({key:"M",data:[qa,nd]}),od=qa,ld=nd;break;case"L":ud.push({key:"L",data:[...dd]}),[qa,nd]=dd;break;case"l":qa+=dd[0],nd+=dd[1],ud.push({key:"L",data:[qa,nd]});break;case"C":ud.push({key:"C",data:[...dd]}),qa=dd[4],nd=dd[5];break;case"c":{const pd=dd.map((fd,md)=>md%2?fd+nd:fd+qa);ud.push({key:"C",data:pd}),qa=pd[4],nd=pd[5];break}case"Q":ud.push({key:"Q",data:[...dd]}),qa=dd[2],nd=dd[3];break;case"q":{const pd=dd.map((fd,md)=>md%2?fd+nd:fd+qa);ud.push({key:"Q",data:pd}),qa=pd[2],nd=pd[3];break}case"A":ud.push({key:"A",data:[...dd]}),qa=dd[5],nd=dd[6];break;case"a":qa+=dd[5],nd+=dd[6],ud.push({key:"A",data:[dd[0],dd[1],dd[2],dd[3],dd[4],qa,nd]});break;case"H":ud.push({key:"H",data:[...dd]}),qa=dd[0];break;case"h":qa+=dd[0],ud.push({key:"H",data:[qa]});break;case"V":ud.push({key:"V",data:[...dd]}),nd=dd[0];break;case"v":nd+=dd[0],ud.push({key:"V",data:[nd]});break;case"S":ud.push({key:"S",data:[...dd]}),qa=dd[2],nd=dd[3];break;case"s":{const pd=dd.map((fd,md)=>md%2?fd+nd:fd+qa);ud.push({key:"S",data:pd}),qa=pd[2],nd=pd[3];break}case"T":ud.push({key:"T",data:[...dd]}),qa=dd[0],nd=dd[1];break;case"t":qa+=dd[0],nd+=dd[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(Ra){const qa=[];let nd="",od=0,ld=0,ud=0,cd=0,dd=0,pd=0;for(const{key:fd,data:md}of Ra){switch(fd){case"M":qa.push({key:"M",data:[...md]}),[od,ld]=md,[ud,cd]=md;break;case"C":qa.push({key:"C",data:[...md]}),od=md[4],ld=md[5],dd=md[2],pd=md[3];break;case"L":qa.push({key:"L",data:[...md]}),[od,ld]=md;break;case"H":od=md[0],qa.push({key:"L",data:[od,ld]});break;case"V":ld=md[0],qa.push({key:"L",data:[od,ld]});break;case"S":{let vd=0,Ad=0;nd==="C"||nd==="S"?(vd=od+(od-dd),Ad=ld+(ld-pd)):(vd=od,Ad=ld),qa.push({key:"C",data:[vd,Ad,...md]}),dd=md[0],pd=md[1],od=md[2],ld=md[3];break}case"T":{const[vd,Ad]=md;let Nd=0,Id=0;nd==="Q"||nd==="T"?(Nd=od+(od-dd),Id=ld+(ld-pd)):(Nd=od,Id=ld);const kd=od+2*(Nd-od)/3,jd=ld+2*(Id-ld)/3,Fd=vd+2*(Nd-vd)/3,Md=Ad+2*(Id-Ad)/3;qa.push({key:"C",data:[kd,jd,Fd,Md,vd,Ad]}),dd=Nd,pd=Id,od=vd,ld=Ad;break}case"Q":{const[vd,Ad,Nd,Id]=md,kd=od+2*(vd-od)/3,jd=ld+2*(Ad-ld)/3,Fd=Nd+2*(vd-Nd)/3,Md=Id+2*(Ad-Id)/3;qa.push({key:"C",data:[kd,jd,Fd,Md,Nd,Id]}),dd=vd,pd=Ad,od=Nd,ld=Id;break}case"A":{const vd=Math.abs(md[0]),Ad=Math.abs(md[1]),Nd=md[2],Id=md[3],kd=md[4],jd=md[5],Fd=md[6];vd===0||Ad===0?(qa.push({key:"C",data:[od,ld,jd,Fd,jd,Fd]}),od=jd,ld=Fd):(od!==jd||ld!==Fd)&&(x$1(od,ld,jd,Fd,vd,Ad,Nd,Id,kd).forEach(function(Md){qa.push({key:"C",data:Md})}),od=jd,ld=Fd);break}case"Z":qa.push({key:"Z",data:[]}),od=ud,ld=cd}nd=fd}return qa}function w(Ra,qa,nd){return[Ra*Math.cos(nd)-qa*Math.sin(nd),Ra*Math.sin(nd)+qa*Math.cos(nd)]}function x$1(Ra,qa,nd,od,ld,ud,cd,dd,pd,fd){const md=(vd=cd,Math.PI*vd/180);var vd;let Ad=[],Nd=0,Id=0,kd=0,jd=0;if(fd)[Nd,Id,kd,jd]=fd;else{[Ra,qa]=w(Ra,qa,-md),[nd,od]=w(nd,od,-md);const yf=(Ra-nd)/2,Ef=(qa-od)/2;let gf=yf*yf/(ld*ld)+Ef*Ef/(ud*ud);gf>1&&(gf=Math.sqrt(gf),ld*=gf,ud*=gf);const xf=ld*ld,Af=ud*ud,Lf=xf*Af-xf*Ef*Ef-Af*yf*yf,Xf=xf*Ef*Ef+Af*yf*yf,Jf=(dd===pd?-1:1)*Math.sqrt(Math.abs(Lf/Xf));kd=Jf*ld*Ef/ud+(Ra+nd)/2,jd=Jf*-ud*yf/ld+(qa+od)/2,Nd=Math.asin(parseFloat(((qa-jd)/ud).toFixed(9))),Id=Math.asin(parseFloat(((od-jd)/ud).toFixed(9))),Ra<kd&&(Nd=Math.PI-Nd),nd<kd&&(Id=Math.PI-Id),Nd<0&&(Nd=2*Math.PI+Nd),Id<0&&(Id=2*Math.PI+Id),pd&&Nd>Id&&(Nd-=2*Math.PI),!pd&&Id>Nd&&(Id-=2*Math.PI)}let Fd=Id-Nd;if(Math.abs(Fd)>120*Math.PI/180){const yf=Id,Ef=nd,gf=od;Id=pd&&Id>Nd?Nd+120*Math.PI/180*1:Nd+120*Math.PI/180*-1,Ad=x$1(nd=kd+ld*Math.cos(Id),od=jd+ud*Math.sin(Id),Ef,gf,ld,ud,cd,0,pd,[Id,yf,kd,jd])}Fd=Id-Nd;const Md=Math.cos(Nd),Ld=Math.sin(Nd),Hd=Math.cos(Id),Gd=Math.sin(Id),Vd=Math.tan(Fd/4),Kd=4/3*ld*Vd,mf=4/3*ud*Vd,Wd=[Ra,qa],Zd=[Ra+Kd*Ld,qa-mf*Md],Xd=[nd+Kd*Gd,od-mf*Hd],bf=[nd,od];if(Zd[0]=2*Wd[0]-Zd[0],Zd[1]=2*Wd[1]-Zd[1],fd)return[Zd,Xd,bf].concat(Ad);{Ad=[Zd,Xd,bf].concat(Ad);const yf=[];for(let Ef=0;Ef<Ad.length;Ef+=3){const gf=w(Ad[Ef][0],Ad[Ef][1],md),xf=w(Ad[Ef+1][0],Ad[Ef+1][1],md),Af=w(Ad[Ef+2][0],Ad[Ef+2][1],md);yf.push([gf[0],gf[1],xf[0],xf[1],Af[0],Af[1]])}return yf}}const P$2={randOffset:function(Ra,qa){return G$2(Ra,qa)},randOffsetWithRange:function(Ra,qa,nd){return E$2(Ra,qa,nd)},ellipse:function(Ra,qa,nd,od,ld){const ud=T$1(nd,od,ld);return D$1(Ra,qa,ld,ud).opset},doubleLineOps:function(Ra,qa,nd,od,ld){return $$1(Ra,qa,nd,od,ld,!0)}};function v(Ra,qa,nd,od,ld){return{type:"path",ops:$$1(Ra,qa,nd,od,ld)}}function S(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(Ra[0][0],Ra[0][1],Ra[1][0],Ra[1][1],nd):{type:"path",ops:[]}}function O(Ra,qa,nd,od,ld){return function(ud,cd){return S(ud,!0,cd)}([[Ra,qa],[Ra+nd,qa],[Ra+nd,qa+od],[Ra,qa+od]],ld)}function L$1(Ra,qa){if(Ra.length){const nd=typeof Ra[0][0]=="number"?[Ra]:Ra,od=j$1(nd[0],1*(1+.2*qa.roughness),qa),ld=qa.disableMultiStroke?[]:j$1(nd[0],1.5*(1+.22*qa.roughness),z$1(qa));for(let ud=1;ud<nd.length;ud++){const cd=nd[ud];if(cd.length){const dd=j$1(cd,1*(1+.2*qa.roughness),qa),pd=qa.disableMultiStroke?[]:j$1(cd,1.5*(1+.22*qa.roughness),z$1(qa));for(const fd of dd)fd.op!=="move"&&od.push(fd);for(const fd of pd)fd.op!=="move"&&ld.push(fd)}}return{type:"path",ops:od.concat(ld)}}return{type:"path",ops:[]}}function T$1(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 cd=Math.abs(Ra/2),dd=Math.abs(qa/2);const pd=1-nd.curveFitting;return cd+=G$2(cd*pd,nd),dd+=G$2(dd*pd,nd),{increment:ud,rx:cd,ry:dd}}function D$1(Ra,qa,nd,od){const[ld,ud]=F$1(od.increment,Ra,qa,od.rx,od.ry,1,od.increment*E$2(.1,E$2(.4,1,nd),nd),nd);let cd=q$2(ld,null,nd);if(!nd.disableMultiStroke&&nd.roughness!==0){const[dd]=F$1(od.increment,Ra,qa,od.rx,od.ry,1.5,0,nd),pd=q$2(dd,null,nd);cd=cd.concat(pd)}return{estimatedPoints:ud,opset:{type:"path",ops:cd}}}function A(Ra,qa,nd,od,ld,ud,cd,dd,pd){const fd=Ra,md=qa;let vd=Math.abs(nd/2),Ad=Math.abs(od/2);vd+=G$2(.01*vd,pd),Ad+=G$2(.01*Ad,pd);let Nd=ld,Id=ud;for(;Nd<0;)Nd+=2*Math.PI,Id+=2*Math.PI;Id-Nd>2*Math.PI&&(Nd=0,Id=2*Math.PI);const kd=2*Math.PI/pd.curveStepCount,jd=Math.min(kd/2,(Id-Nd)/2),Fd=V$1(jd,fd,md,vd,Ad,Nd,Id,1,pd);if(!pd.disableMultiStroke){const Md=V$1(jd,fd,md,vd,Ad,Nd,Id,1.5,pd);Fd.push(...Md)}return cd&&(dd?Fd.push(...$$1(fd,md,fd+vd*Math.cos(Nd),md+Ad*Math.sin(Nd),pd),...$$1(fd,md,fd+vd*Math.cos(Id),md+Ad*Math.sin(Id),pd)):Fd.push({op:"lineTo",data:[fd,md]},{op:"lineTo",data:[fd+vd*Math.cos(Nd),md+Ad*Math.sin(Nd)]})),{type:"path",ops:Fd}}function _$2(Ra,qa){const nd=m(y(b(Ra))),od=[];let ld=[0,0],ud=[0,0];for(const{key:cd,data:dd}of nd)switch(cd){case"M":ud=[dd[0],dd[1]],ld=[dd[0],dd[1]];break;case"L":od.push(...$$1(ud[0],ud[1],dd[0],dd[1],qa)),ud=[dd[0],dd[1]];break;case"C":{const[pd,fd,md,vd,Ad,Nd]=dd;od.push(...Z$2(pd,fd,md,vd,Ad,Nd,ud,qa)),ud=[Ad,Nd];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$2(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$2(ld,qa),od[0][1]+G$2(ld,qa)]});for(let cd=1;cd<ud;cd++)nd.push({op:"lineTo",data:[od[cd][0]+G$2(ld,qa),od[cd][1]+G$2(ld,qa)]})}}return{type:"fillPath",ops:nd}}function C$1(Ra,qa){return function(nd,od){let ld=nd.fillStyle||"hachure";if(!u[ld])switch(ld){case"zigzag":u[ld]||(u[ld]=new h(od));break;case"cross-hatch":u[ld]||(u[ld]=new r(od));break;case"dots":u[ld]||(u[ld]=new i(od));break;case"dashed":u[ld]||(u[ld]=new c(od));break;case"zigzag-line":u[ld]||(u[ld]=new l(od));break;default:ld="hachure",u[ld]||(u[ld]=new o(od))}return u[ld]}(qa,P$2).fillPolygons(Ra,qa)}function z$1(Ra){const qa=Object.assign({},Ra);return qa.randomizer=void 0,Ra.seed&&(qa.seed=Ra.seed+1),qa}function W$2(Ra){return Ra.randomizer||(Ra.randomizer=new p(Ra.seed||0)),Ra.randomizer.next()}function E$2(Ra,qa,nd,od=1){return nd.roughness*od*(W$2(nd)*(qa-Ra)+Ra)}function G$2(Ra,qa,nd=1){return E$2(-Ra,Ra,qa,nd)}function $$1(Ra,qa,nd,od,ld,ud=!1){const cd=ud?ld.disableMultiStrokeFill:ld.disableMultiStroke,dd=R$3(Ra,qa,nd,od,ld,!0,!1);if(cd)return dd;const pd=R$3(Ra,qa,nd,od,ld,!0,!0);return dd.concat(pd)}function R$3(Ra,qa,nd,od,ld,ud,cd){const dd=Math.pow(Ra-nd,2)+Math.pow(qa-od,2),pd=Math.sqrt(dd);let fd=1;fd=pd<200?1:pd>500?.4:-.0016668*pd+1.233334;let md=ld.maxRandomnessOffset||0;md*md*100>dd&&(md=pd/10);const vd=md/2,Ad=.2+.2*W$2(ld);let Nd=ld.bowing*ld.maxRandomnessOffset*(od-qa)/200,Id=ld.bowing*ld.maxRandomnessOffset*(Ra-nd)/200;Nd=G$2(Nd,ld,fd),Id=G$2(Id,ld,fd);const kd=[],jd=()=>G$2(vd,ld,fd),Fd=()=>G$2(md,ld,fd),Md=ld.preserveVertices;return cd?kd.push({op:"move",data:[Ra+(Md?0:jd()),qa+(Md?0:jd())]}):kd.push({op:"move",data:[Ra+(Md?0:G$2(md,ld,fd)),qa+(Md?0:G$2(md,ld,fd))]}),cd?kd.push({op:"bcurveTo",data:[Nd+Ra+(nd-Ra)*Ad+jd(),Id+qa+(od-qa)*Ad+jd(),Nd+Ra+2*(nd-Ra)*Ad+jd(),Id+qa+2*(od-qa)*Ad+jd(),nd+(Md?0:jd()),od+(Md?0:jd())]}):kd.push({op:"bcurveTo",data:[Nd+Ra+(nd-Ra)*Ad+Fd(),Id+qa+(od-qa)*Ad+Fd(),Nd+Ra+2*(nd-Ra)*Ad+Fd(),Id+qa+2*(od-qa)*Ad+Fd(),nd+(Md?0:Fd()),od+(Md?0:Fd())]}),kd}function j$1(Ra,qa,nd){if(!Ra.length)return[];const od=[];od.push([Ra[0][0]+G$2(qa,nd),Ra[0][1]+G$2(qa,nd)]),od.push([Ra[0][0]+G$2(qa,nd),Ra[0][1]+G$2(qa,nd)]);for(let ld=1;ld<Ra.length;ld++)od.push([Ra[ld][0]+G$2(qa,nd),Ra[ld][1]+G$2(qa,nd)]),ld===Ra.length-1&&od.push([Ra[ld][0]+G$2(qa,nd),Ra[ld][1]+G$2(qa,nd)]);return q$2(od,null,nd)}function q$2(Ra,qa,nd){const od=Ra.length,ld=[];if(od>3){const ud=[],cd=1-nd.curveTightness;ld.push({op:"move",data:[Ra[1][0],Ra[1][1]]});for(let dd=1;dd+2<od;dd++){const pd=Ra[dd];ud[0]=[pd[0],pd[1]],ud[1]=[pd[0]+(cd*Ra[dd+1][0]-cd*Ra[dd-1][0])/6,pd[1]+(cd*Ra[dd+1][1]-cd*Ra[dd-1][1])/6],ud[2]=[Ra[dd+1][0]+(cd*Ra[dd][0]-cd*Ra[dd+2][0])/6,Ra[dd+1][1]+(cd*Ra[dd][1]-cd*Ra[dd+2][1])/6],ud[3]=[Ra[dd+1][0],Ra[dd+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$3(Ra[0][0],Ra[0][1],Ra[1][0],Ra[1][1],nd,!0,!0));return ld}function F$1(Ra,qa,nd,od,ld,ud,cd,dd){const pd=[],fd=[];if(dd.roughness===0){Ra/=4,fd.push([qa+od*Math.cos(-Ra),nd+ld*Math.sin(-Ra)]);for(let md=0;md<=2*Math.PI;md+=Ra){const vd=[qa+od*Math.cos(md),nd+ld*Math.sin(md)];pd.push(vd),fd.push(vd)}fd.push([qa+od*Math.cos(0),nd+ld*Math.sin(0)]),fd.push([qa+od*Math.cos(Ra),nd+ld*Math.sin(Ra)])}else{const md=G$2(.5,dd)-Math.PI/2;fd.push([G$2(ud,dd)+qa+.9*od*Math.cos(md-Ra),G$2(ud,dd)+nd+.9*ld*Math.sin(md-Ra)]);const vd=2*Math.PI+md-.01;for(let Ad=md;Ad<vd;Ad+=Ra){const Nd=[G$2(ud,dd)+qa+od*Math.cos(Ad),G$2(ud,dd)+nd+ld*Math.sin(Ad)];pd.push(Nd),fd.push(Nd)}fd.push([G$2(ud,dd)+qa+od*Math.cos(md+2*Math.PI+.5*cd),G$2(ud,dd)+nd+ld*Math.sin(md+2*Math.PI+.5*cd)]),fd.push([G$2(ud,dd)+qa+.98*od*Math.cos(md+cd),G$2(ud,dd)+nd+.98*ld*Math.sin(md+cd)]),fd.push([G$2(ud,dd)+qa+.9*od*Math.cos(md+.5*cd),G$2(ud,dd)+nd+.9*ld*Math.sin(md+.5*cd)])}return[fd,pd]}function V$1(Ra,qa,nd,od,ld,ud,cd,dd,pd){const fd=ud+G$2(.1,pd),md=[];md.push([G$2(dd,pd)+qa+.9*od*Math.cos(fd-Ra),G$2(dd,pd)+nd+.9*ld*Math.sin(fd-Ra)]);for(let vd=fd;vd<=cd;vd+=Ra)md.push([G$2(dd,pd)+qa+od*Math.cos(vd),G$2(dd,pd)+nd+ld*Math.sin(vd)]);return md.push([qa+od*Math.cos(cd),nd+ld*Math.sin(cd)]),md.push([qa+od*Math.cos(cd),nd+ld*Math.sin(cd)]),q$2(md,null,pd)}function Z$2(Ra,qa,nd,od,ld,ud,cd,dd){const pd=[],fd=[dd.maxRandomnessOffset||1,(dd.maxRandomnessOffset||1)+.3];let md=[0,0];const vd=dd.disableMultiStroke?1:2,Ad=dd.preserveVertices;for(let Nd=0;Nd<vd;Nd++)Nd===0?pd.push({op:"move",data:[cd[0],cd[1]]}):pd.push({op:"move",data:[cd[0]+(Ad?0:G$2(fd[0],dd)),cd[1]+(Ad?0:G$2(fd[0],dd))]}),md=Ad?[ld,ud]:[ld+G$2(fd[Nd],dd),ud+G$2(fd[Nd],dd)],pd.push({op:"bcurveTo",data:[Ra+G$2(fd[Nd],dd),qa+G$2(fd[Nd],dd),nd+G$2(fd[Nd],dd),od+G$2(fd[Nd],dd),md[0],md[1]]});return pd}function Q$2(Ra){return[...Ra]}function H$2(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$2(Ra[0]),Q$2(Ra[1]),Q$2(Ra[2]),Q$2(Ra[2]));else{const ld=[];ld.push(Ra[0],Ra[0]);for(let dd=1;dd<Ra.length;dd++)ld.push(Ra[dd]),dd===Ra.length-1&&ld.push(Ra[dd]);const ud=[],cd=1-qa;od.push(Q$2(ld[0]));for(let dd=1;dd+2<ld.length;dd++){const pd=ld[dd];ud[0]=[pd[0],pd[1]],ud[1]=[pd[0]+(cd*ld[dd+1][0]-cd*ld[dd-1][0])/6,pd[1]+(cd*ld[dd+1][1]-cd*ld[dd-1][1])/6],ud[2]=[ld[dd+1][0]+(cd*ld[dd][0]-cd*ld[dd+2][0])/6,ld[dd+1][1]+(cd*ld[dd][1]-cd*ld[dd+2][1])/6],ud[3]=[ld[dd+1][0],ld[dd+1][1]],od.push(ud[1],ud[2],ud[3])}}return od}function N$1(Ra,qa){return Math.pow(Ra[0]-qa[0],2)+Math.pow(Ra[1]-qa[1],2)}function B$2(Ra,qa,nd){const od=N$1(qa,nd);if(od===0)return N$1(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$1(Ra,J$2(qa,nd,ld))}function J$2(Ra,qa,nd){return[Ra[0]+(qa[0]-Ra[0])*nd,Ra[1]+(qa[1]-Ra[1])*nd]}function K$2(Ra,qa,nd,od){const ld=od||[];if(function(dd,pd){const fd=dd[pd+0],md=dd[pd+1],vd=dd[pd+2],Ad=dd[pd+3];let Nd=3*md[0]-2*fd[0]-Ad[0];Nd*=Nd;let Id=3*md[1]-2*fd[1]-Ad[1];Id*=Id;let kd=3*vd[0]-2*Ad[0]-fd[0];kd*=kd;let jd=3*vd[1]-2*Ad[1]-fd[1];return jd*=jd,Nd<kd&&(Nd=kd),Id<jd&&(Id=jd),Nd+Id}(Ra,qa)<nd){const dd=Ra[qa+0];ld.length?(ud=ld[ld.length-1],cd=dd,Math.sqrt(N$1(ud,cd))>1&&ld.push(dd)):ld.push(dd),ld.push(Ra[qa+3])}else{const pd=Ra[qa+0],fd=Ra[qa+1],md=Ra[qa+2],vd=Ra[qa+3],Ad=J$2(pd,fd,.5),Nd=J$2(fd,md,.5),Id=J$2(md,vd,.5),kd=J$2(Ad,Nd,.5),jd=J$2(Nd,Id,.5),Fd=J$2(kd,jd,.5);K$2([pd,Ad,kd,Fd],0,nd,ld),K$2([Fd,jd,Id,vd],0,nd,ld)}var ud,cd;return ld}function U$2(Ra,qa){return X$2(Ra,0,Ra.length,qa)}function X$2(Ra,qa,nd,od,ld){const ud=ld||[],cd=Ra[qa],dd=Ra[nd-1];let pd=0,fd=1;for(let md=qa+1;md<nd-1;++md){const vd=B$2(Ra[md],cd,dd);vd>pd&&(pd=vd,fd=md)}return Math.sqrt(pd)>od?(X$2(Ra,qa,fd+1,od,ud),X$2(Ra,fd,nd,od,ud)):(ud.length||ud.push(cd),ud.push(dd)),ud}function Y$1(Ra,qa=.15,nd){const od=[],ld=(Ra.length-1)/3;for(let ud=0;ud<ld;ud++)K$2(Ra,3*ud,qa,od);return nd&&nd>0?X$2(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 cd=this._o(ud);return this._d("line",[v(qa,nd,od,ld,cd)],cd)}rectangle(qa,nd,od,ld,ud){const cd=this._o(ud),dd=[],pd=O(qa,nd,od,ld,cd);if(cd.fill){const fd=[[qa,nd],[qa+od,nd],[qa+od,nd+ld],[qa,nd+ld]];cd.fillStyle==="solid"?dd.push(I$2([fd],cd)):dd.push(C$1([fd],cd))}return cd.stroke!==tt$1&&dd.push(pd),this._d("rectangle",dd,cd)}ellipse(qa,nd,od,ld,ud){const cd=this._o(ud),dd=[],pd=T$1(od,ld,cd),fd=D$1(qa,nd,cd,pd);if(cd.fill)if(cd.fillStyle==="solid"){const md=D$1(qa,nd,cd,pd).opset;md.type="fillPath",dd.push(md)}else dd.push(C$1([fd.estimatedPoints],cd));return cd.stroke!==tt$1&&dd.push(fd.opset),this._d("ellipse",dd,cd)}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(qa,!1,od)],od)}arc(qa,nd,od,ld,ud,cd,dd=!1,pd){const fd=this._o(pd),md=[],vd=A(qa,nd,od,ld,ud,cd,dd,!0,fd);if(dd&&fd.fill)if(fd.fillStyle==="solid"){const Ad=Object.assign({},fd);Ad.disableMultiStroke=!0;const Nd=A(qa,nd,od,ld,ud,cd,!0,!1,Ad);Nd.type="fillPath",md.push(Nd)}else md.push(function(Ad,Nd,Id,kd,jd,Fd,Md){const Ld=Ad,Hd=Nd;let Gd=Math.abs(Id/2),Vd=Math.abs(kd/2);Gd+=G$2(.01*Gd,Md),Vd+=G$2(.01*Vd,Md);let Kd=jd,mf=Fd;for(;Kd<0;)Kd+=2*Math.PI,mf+=2*Math.PI;mf-Kd>2*Math.PI&&(Kd=0,mf=2*Math.PI);const Wd=(mf-Kd)/Md.curveStepCount,Zd=[];for(let Xd=Kd;Xd<=mf;Xd+=Wd)Zd.push([Ld+Gd*Math.cos(Xd),Hd+Vd*Math.sin(Xd)]);return Zd.push([Ld+Gd*Math.cos(mf),Hd+Vd*Math.sin(mf)]),Zd.push([Ld,Hd]),C$1([Zd],Md)}(qa,nd,od,ld,ud,cd,fd));return fd.stroke!==tt$1&&md.push(vd),this._d("arc",md,fd)}curve(qa,nd){const od=this._o(nd),ld=[],ud=L$1(qa,od);if(od.fill&&od.fill!==tt$1)if(od.fillStyle==="solid"){const cd=L$1(qa,Object.assign(Object.assign({},od),{disableMultiStroke:!0,roughness:od.roughness?od.roughness+od.fillShapeRoughnessGain:0}));ld.push({type:"fillPath",ops:this._mergedShape(cd.ops)})}else{const cd=[],dd=qa;if(dd.length){const pd=typeof dd[0][0]=="number"?[dd]:dd;for(const fd of pd)fd.length<3?cd.push(...fd):fd.length===3?cd.push(...Y$1(H$2([fd[0],fd[0],fd[1],fd[2]]),10,(1+od.roughness)/2)):cd.push(...Y$1(H$2(fd),10,(1+od.roughness)/2))}cd.length&&ld.push(C$1([cd],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(qa,!0,od);return od.fill&&(od.fillStyle==="solid"?ld.push(I$2([qa],od)):ld.push(C$1([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,cd=od.stroke!==tt$1,dd=!!(od.simplification&&od.simplification<1),pd=function(md,vd,Ad){const Nd=m(y(b(md))),Id=[];let kd=[],jd=[0,0],Fd=[];const Md=()=>{Fd.length>=4&&kd.push(...Y$1(Fd,vd)),Fd=[]},Ld=()=>{Md(),kd.length&&(Id.push(kd),kd=[])};for(const{key:Gd,data:Vd}of Nd)switch(Gd){case"M":Ld(),jd=[Vd[0],Vd[1]],kd.push(jd);break;case"L":Md(),kd.push([Vd[0],Vd[1]]);break;case"C":if(!Fd.length){const Kd=kd.length?kd[kd.length-1]:jd;Fd.push([Kd[0],Kd[1]])}Fd.push([Vd[0],Vd[1]]),Fd.push([Vd[2],Vd[3]]),Fd.push([Vd[4],Vd[5]]);break;case"Z":Md(),kd.push([jd[0],jd[1]])}if(Ld(),!Ad)return Id;const Hd=[];for(const Gd of Id){const Vd=U$2(Gd,Ad);Vd.length&&Hd.push(Vd)}return Hd}(qa,1,dd?4-4*(od.simplification||1):(1+od.roughness)/2),fd=_$2(qa,od);if(ud)if(od.fillStyle==="solid")if(pd.length===1){const md=_$2(qa,Object.assign(Object.assign({},od),{disableMultiStroke:!0,roughness:od.roughness?od.roughness+od.fillShapeRoughnessGain:0}));ld.push({type:"fillPath",ops:this._mergedShape(md.ops)})}else ld.push(I$2(pd,od));else ld.push(C$1(pd,od));return cd&&(dd?pd.forEach(md=>{ld.push(S(md,!1,od))}):ld.push(fd)),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(cd=>+cd.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 cd=null;switch(ud.type){case"path":cd={d:this.opsToPath(ud),stroke:od.stroke,strokeWidth:od.strokeWidth,fill:tt$1};break;case"fillPath":cd={d:this.opsToPath(ud),stroke:tt$1,strokeWidth:0,fill:od.fill||tt$1};break;case"fillSketch":cd=this.fillSketch(ud,od)}cd&&ld.push(cd)}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 cd of nd)switch(cd.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,cd,ud),ld.restore();break;case"fillPath":{ld.save(),ld.fillStyle=od.fill||"";const dd=qa.shape==="curve"||qa.shape==="polygon"||qa.shape==="path"?"evenodd":"nonzero";this._drawToContext(ld,cd,ud,dd),ld.restore();break}case"fillSketch":this.fillSketch(ld,cd,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 cd=typeof od=="number"&&od>=0?ud.data.map(dd=>+dd.toFixed(od)):ud.data;switch(ud.op){case"move":qa.moveTo(cd[0],cd[1]);break;case"bcurveTo":qa.bezierCurveTo(cd[0],cd[1],cd[2],cd[3],cd[4],cd[5]);break;case"lineTo":qa.lineTo(cd[0],cd[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 cd=this.gen.line(qa,nd,od,ld,ud);return this.draw(cd),cd}rectangle(qa,nd,od,ld,ud){const cd=this.gen.rectangle(qa,nd,od,ld,ud);return this.draw(cd),cd}ellipse(qa,nd,od,ld,ud){const cd=this.gen.ellipse(qa,nd,od,ld,ud);return this.draw(cd),cd}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,cd,dd=!1,pd){const fd=this.gen.arc(qa,nd,od,ld,ud,cd,dd,pd);return this.draw(fd),fd}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"),cd=qa.options.fixedDecimalPlaceDigits;for(const dd of nd){let pd=null;switch(dd.type){case"path":pd=ld.createElementNS(nt$1,"path"),pd.setAttribute("d",this.opsToPath(dd,cd)),pd.setAttribute("stroke",od.stroke),pd.setAttribute("stroke-width",od.strokeWidth+""),pd.setAttribute("fill","none"),od.strokeLineDash&&pd.setAttribute("stroke-dasharray",od.strokeLineDash.join(" ").trim()),od.strokeLineDashOffset&&pd.setAttribute("stroke-dashoffset",`${od.strokeLineDashOffset}`);break;case"fillPath":pd=ld.createElementNS(nt$1,"path"),pd.setAttribute("d",this.opsToPath(dd,cd)),pd.setAttribute("stroke","none"),pd.setAttribute("stroke-width","0"),pd.setAttribute("fill",od.fill||""),qa.shape!=="curve"&&qa.shape!=="polygon"||pd.setAttribute("fill-rule","evenodd");break;case"fillSketch":pd=this.fillSketch(ld,dd,od)}pd&&ud.appendChild(pd)}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 cd=this.gen.line(qa,nd,od,ld,ud);return this.draw(cd)}rectangle(qa,nd,od,ld,ud){const cd=this.gen.rectangle(qa,nd,od,ld,ud);return this.draw(cd)}ellipse(qa,nd,od,ld,ud){const cd=this.gen.ellipse(qa,nd,od,ld,ud);return this.draw(cd)}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,cd,dd=!1,pd){const fd=this.gen.arc(qa,nd,od,ld,ud,cd,dd,pd);return this.draw(fd)}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$2={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 vd,Ad;let od;const ld=qa.useHtmlLabels||evaluate((vd=getConfig2())==null?void 0:vd.htmlLabels);nd?od=nd:od="node default";const ud=Ra.insert("g").attr("class",od).attr("id",qa.domId||qa.id),cd=ud.insert("g").attr("class","label").attr("style",handleUndefinedAttr(qa.labelStyle));let dd;qa.label===void 0?dd="":dd=typeof qa.label=="string"?qa.label:qa.label[0];const pd=await createText(cd,sanitizeText(decodeEntities(dd),getConfig2()),{useHtmlLabels:ld,width:qa.width||((Ad=getConfig2().flowchart)==null?void 0:Ad.wrappingWidth),cssClasses:"markdown-node-label",style:qa.labelStyle,addSvgBackground:!!qa.icon||!!qa.img});let fd=pd.getBBox();const md=((qa==null?void 0:qa.padding)??0)/2;if(ld){const Nd=pd.children[0],Id=select(pd),kd=Nd.getElementsByTagName("img");if(kd){const jd=dd.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...kd].map(Fd=>new Promise(Md=>{function Ld(){if(Fd.style.display="flex",Fd.style.flexDirection="column",jd){const Hd=getConfig2().fontSize?getConfig2().fontSize:window.getComputedStyle(document.body).fontSize,Gd=5,[Vd=defaultConfig_default.fontSize]=parseFontSize(Hd),Kd=Vd*Gd+"px";Fd.style.minWidth=Kd,Fd.style.maxWidth=Kd}else Fd.style.width="100%";Md(Fd)}__name(Ld,"setupImage"),setTimeout(()=>{Fd.complete&&Ld()}),Fd.addEventListener("error",Ld),Fd.addEventListener("load",Ld)})))}fd=Nd.getBoundingClientRect(),Id.attr("width",fd.width),Id.attr("height",fd.height)}return ld?cd.attr("transform","translate("+-fd.width/2+", "+-fd.height/2+")"):cd.attr("transform","translate(0, "+-fd.height/2+")"),qa.centerLabel&&cd.attr("transform","translate("+-fd.width/2+", "+-fd.height/2+")"),cd.insert("rect",":first-child"),{shapeSvg:ud,bbox:fd,halfPadding:md,label:cd}},"labelHelper"),insertLabel=__name(async(Ra,qa,nd)=>{var pd,fd,md,vd,Ad,Nd;const od=nd.useHtmlLabels||evaluate((fd=(pd=getConfig2())==null?void 0:pd.flowchart)==null?void 0:fd.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||((vd=(md=getConfig2())==null?void 0:md.flowchart)==null?void 0:vd.wrappingWidth),style:nd.labelStyle,addSvgBackground:!!nd.icon||!!nd.img});let cd=ud.getBBox();const dd=nd.padding/2;if(evaluate((Nd=(Ad=getConfig2())==null?void 0:Ad.flowchart)==null?void 0:Nd.htmlLabels)){const Id=ud.children[0],kd=select(ud);cd=Id.getBoundingClientRect(),kd.attr("width",cd.width),kd.attr("height",cd.height)}return od?ld.attr("transform","translate("+-cd.width/2+", "+-cd.height/2+")"):ld.attr("transform","translate(0, "+-cd.height/2+")"),nd.centerLabel&&ld.attr("transform","translate("+-cd.width/2+", "+-cd.height/2+")"),ld.insert("rect",":first-child"),{shapeSvg:Ra,bbox:cd,halfPadding:dd,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 cd=[],pd=nd-Ra,fd=od-qa,md=pd/ud,vd=2*Math.PI/md,Ad=qa+fd/2;for(let Nd=0;Nd<=50;Nd++){const Id=Nd/50,kd=Ra+Id*pd,jd=Ad+ld*Math.sin(vd*(kd-Ra));cd.push({x:kd,y:jd})}return cd}__name(generateFullSineWavePoints,"generateFullSineWavePoints");function generateCirclePoints(Ra,qa,nd,od,ld,ud){const cd=[],dd=ld*Math.PI/180,md=(ud*Math.PI/180-dd)/(od-1);for(let vd=0;vd<od;vd++){const Ad=dd+vd*md,Nd=Ra+nd*Math.cos(Ad),Id=qa+nd*Math.sin(Ad);cd.push({x:-Nd,y:-Id})}return cd}__name(generateCirclePoints,"generateCirclePoints");var intersectRect=__name((Ra,qa)=>{var nd=Ra.x,od=Ra.y,ld=qa.x-nd,ud=qa.y-od,cd=Ra.width/2,dd=Ra.height/2,pd,fd;return Math.abs(ud)*cd>Math.abs(ld)*dd?(ud<0&&(dd=-dd),pd=ud===0?0:dd*ld/ud,fd=dd):(ld<0&&(cd=-cd),pd=cd,fd=ld===0?0:cd*ud/ld),{x:nd+pd,y:od+fd}},"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,dd=>`<i class='${dd.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 cd=[];typeof ld=="string"?cd=ld.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(ld)?cd=ld:cd=[];for(const dd of cd){const pd=document.createElementNS("http://www.w3.org/2000/svg","tspan");pd.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),pd.setAttribute("dy","1em"),pd.setAttribute("x","0"),nd?pd.setAttribute("class","title-row"):pd.setAttribute("class","row"),pd.textContent=dd.trim(),ud.appendChild(pd)}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(cd=>{const dd=cd[0];dd==="color"||dd==="font-size"||dd==="font-family"||dd==="font-weight"||dd==="font-style"||dd==="text-decoration"||dd==="text-align"||dd==="text-transform"||dd==="line-height"||dd==="letter-spacing"||dd==="word-spacing"||dd==="text-shadow"||dd==="text-overflow"||dd==="white-space"||dd==="word-wrap"||dd==="word-break"||dd==="overflow-wrap"||dd==="hyphens"?nd.push(cd.join(":")+" !important"):(od.push(cd.join(":")+" !important"),dd.includes("stroke")&&ld.push(cd.join(":")+" !important"),dd==="fill"&&ud.push(cd.join(":")+" !important"))}),{labelStyles:nd.join(";"),nodeStyles:od.join(";"),stylesArray:qa,borderStyles:ld,backgroundStyles:ud}},"styles2String"),userNodeOverrides=__name((Ra,qa)=>{var pd;const{themeVariables:nd,handDrawnSeed:od}=getConfig2(),{nodeBorder:ld,mainBkg:ud}=nd,{stylesMap:cd}=compileStyles(Ra);return Object.assign({roughness:.7,fill:cd.get("fill")||ud,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:cd.get("stroke")||ld,seed:od,strokeWidth:((pd=cd.get("stroke-width"))==null?void 0:pd.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:cd}=od,{labelStyles:dd,nodeStyles:pd,borderStyles:fd,backgroundStyles:md}=styles2String(qa),vd=Ra.insert("g").attr("class","cluster "+qa.cssClasses).attr("id",qa.id).attr("data-look",qa.look),Ad=evaluate(nd.flowchart.htmlLabels),Nd=vd.insert("g").attr("class","cluster-label "),Id=await createText(Nd,qa.label,{style:qa.labelStyle,useHtmlLabels:Ad,isNode:!0});let kd=Id.getBBox();if(evaluate(nd.flowchart.htmlLabels)){const Kd=Id.children[0],mf=select(Id);kd=Kd.getBoundingClientRect(),mf.attr("width",kd.width),mf.attr("height",kd.height)}const jd=qa.width<=kd.width+qa.padding?kd.width+qa.padding:qa.width;qa.width<=kd.width+qa.padding?qa.diff=(jd-qa.width)/2-qa.padding:qa.diff=-qa.padding;const Fd=qa.height,Md=qa.x-jd/2,Ld=qa.y-Fd/2;log$1.trace("Data ",qa,JSON.stringify(qa));let Hd;if(qa.look==="handDrawn"){const Kd=at$2.svg(vd),mf=userNodeOverrides(qa,{roughness:.7,fill:ud,stroke:cd,fillWeight:3,seed:ld}),Wd=Kd.path(createRoundedRectPathD(Md,Ld,jd,Fd,0),mf);Hd=vd.insert(()=>(log$1.debug("Rough node insert CXC",Wd),Wd),":first-child"),Hd.select("path:nth-child(2)").attr("style",fd.join(";")),Hd.select("path").attr("style",md.join(";").replace("fill","stroke"))}else Hd=vd.insert("rect",":first-child"),Hd.attr("style",pd).attr("rx",qa.rx).attr("ry",qa.ry).attr("x",Md).attr("y",Ld).attr("width",jd).attr("height",Fd);const{subGraphTitleTopMargin:Gd}=getSubGraphTitleMargins(nd);if(Nd.attr("transform",`translate(${qa.x-kd.width/2}, ${qa.y-qa.height/2+Gd})`),dd){const Kd=Nd.select("span");Kd&&Kd.attr("style",dd)}const Vd=Hd.node().getBBox();return qa.offsetX=0,qa.width=Vd.width,qa.height=Vd.height,qa.offsetY=kd.height-qa.padding/2,qa.intersect=function(Kd){return intersect_rect_default(qa,Kd)},{cluster:vd,labelBBox:kd}},"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 cd=od.node().getBBox();return qa.width=cd.width,qa.height=cd.height,qa.intersect=function(dd){return intersect_rect_default(qa,dd)},{cluster:nd,labelBBox:{width:0,height:0}}},"noteGroup"),roundedWithTitle=__name(async(Ra,qa)=>{const nd=getConfig2(),{themeVariables:od,handDrawnSeed:ld}=nd,{altBackground:ud,compositeBackground:cd,compositeTitleBackground:dd,nodeBorder:pd}=od,fd=Ra.insert("g").attr("class",qa.cssClasses).attr("id",qa.id).attr("data-id",qa.id).attr("data-look",qa.look),md=fd.insert("g",":first-child"),vd=fd.insert("g").attr("class","cluster-label");let Ad=fd.append("rect");const Nd=vd.node().appendChild(await createLabel_default(qa.label,qa.labelStyle,void 0,!0));let Id=Nd.getBBox();if(evaluate(nd.flowchart.htmlLabels)){const Wd=Nd.children[0],Zd=select(Nd);Id=Wd.getBoundingClientRect(),Zd.attr("width",Id.width),Zd.attr("height",Id.height)}const kd=0*qa.padding,jd=kd/2,Fd=(qa.width<=Id.width+qa.padding?Id.width+qa.padding:qa.width)+kd;qa.width<=Id.width+qa.padding?qa.diff=(Fd-qa.width)/2-qa.padding:qa.diff=-qa.padding;const Md=qa.height+kd,Ld=qa.height+kd-Id.height-6,Hd=qa.x-Fd/2,Gd=qa.y-Md/2;qa.width=Fd;const Vd=qa.y-qa.height/2-jd+Id.height+2;let Kd;if(qa.look==="handDrawn"){const Wd=qa.cssClasses.includes("statediagram-cluster-alt"),Zd=at$2.svg(fd),Xd=qa.rx||qa.ry?Zd.path(createRoundedRectPathD(Hd,Gd,Fd,Md,10),{roughness:.7,fill:dd,fillStyle:"solid",stroke:pd,seed:ld}):Zd.rectangle(Hd,Gd,Fd,Md,{seed:ld});Kd=fd.insert(()=>Xd,":first-child");const bf=Zd.rectangle(Hd,Vd,Fd,Ld,{fill:Wd?ud:cd,fillStyle:Wd?"hachure":"solid",stroke:pd,seed:ld});Kd=fd.insert(()=>Xd,":first-child"),Ad=fd.insert(()=>bf)}else Kd=md.insert("rect",":first-child"),Kd.attr("class","outer").attr("x",Hd).attr("y",Gd).attr("width",Fd).attr("height",Md).attr("data-look",qa.look),Ad.attr("class","inner").attr("x",Hd).attr("y",Vd).attr("width",Fd).attr("height",Ld);vd.attr("transform",`translate(${qa.x-Id.width/2}, ${Gd+1-(evaluate(nd.flowchart.htmlLabels)?0:3)})`);const mf=Kd.node().getBBox();return qa.height=mf.height,qa.offsetX=0,qa.offsetY=Id.height-qa.padding/2,qa.labelBBox=Id,qa.intersect=function(Wd){return intersect_rect_default(qa,Wd)},{cluster:fd,labelBBox:Id}},"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:cd}=od,{labelStyles:dd,nodeStyles:pd,borderStyles:fd,backgroundStyles:md}=styles2String(qa),vd=Ra.insert("g").attr("class","cluster "+qa.cssClasses).attr("id",qa.id).attr("data-look",qa.look),Ad=evaluate(nd.flowchart.htmlLabels),Nd=vd.insert("g").attr("class","cluster-label "),Id=await createText(Nd,qa.label,{style:qa.labelStyle,useHtmlLabels:Ad,isNode:!0,width:qa.width});let kd=Id.getBBox();if(evaluate(nd.flowchart.htmlLabels)){const Kd=Id.children[0],mf=select(Id);kd=Kd.getBoundingClientRect(),mf.attr("width",kd.width),mf.attr("height",kd.height)}const jd=qa.width<=kd.width+qa.padding?kd.width+qa.padding:qa.width;qa.width<=kd.width+qa.padding?qa.diff=(jd-qa.width)/2-qa.padding:qa.diff=-qa.padding;const Fd=qa.height,Md=qa.x-jd/2,Ld=qa.y-Fd/2;log$1.trace("Data ",qa,JSON.stringify(qa));let Hd;if(qa.look==="handDrawn"){const Kd=at$2.svg(vd),mf=userNodeOverrides(qa,{roughness:.7,fill:ud,stroke:cd,fillWeight:4,seed:ld}),Wd=Kd.path(createRoundedRectPathD(Md,Ld,jd,Fd,qa.rx),mf);Hd=vd.insert(()=>(log$1.debug("Rough node insert CXC",Wd),Wd),":first-child"),Hd.select("path:nth-child(2)").attr("style",fd.join(";")),Hd.select("path").attr("style",md.join(";").replace("fill","stroke"))}else Hd=vd.insert("rect",":first-child"),Hd.attr("style",pd).attr("rx",qa.rx).attr("ry",qa.ry).attr("x",Md).attr("y",Ld).attr("width",jd).attr("height",Fd);const{subGraphTitleTopMargin:Gd}=getSubGraphTitleMargins(nd);if(Nd.attr("transform",`translate(${qa.x-kd.width/2}, ${qa.y-qa.height/2+Gd})`),dd){const Kd=Nd.select("span");Kd&&Kd.attr("style",dd)}const Vd=Hd.node().getBBox();return qa.offsetX=0,qa.width=Vd.width,qa.height=Vd.height,qa.offsetY=kd.height-qa.padding/2,qa.intersect=function(Kd){return intersect_rect_default(qa,Kd)},{cluster:vd,labelBBox:kd}},"kanbanSection"),divider=__name((Ra,qa)=>{const nd=getConfig2(),{themeVariables:od,handDrawnSeed:ld}=nd,{nodeBorder:ud}=od,cd=Ra.insert("g").attr("class",qa.cssClasses).attr("id",qa.id).attr("data-look",qa.look),dd=cd.insert("g",":first-child"),pd=0*qa.padding,fd=qa.width+pd;qa.diff=-qa.padding;const md=qa.height+pd,vd=qa.x-fd/2,Ad=qa.y-md/2;qa.width=fd;let Nd;if(qa.look==="handDrawn"){const jd=at$2.svg(cd).rectangle(vd,Ad,fd,md,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:ud,seed:ld});Nd=cd.insert(()=>jd,":first-child")}else Nd=dd.insert("rect",":first-child"),Nd.attr("class","divider").attr("x",vd).attr("y",Ad).attr("width",fd).attr("height",md).attr("data-look",qa.look);const Id=Nd.node().getBBox();return qa.height=Id.height,qa.offsetX=0,qa.offsetY=0,qa.intersect=function(kd){return intersect_rect_default(qa,kd)},{cluster:cd,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,cd=ld-od.x,dd=ud-od.y,pd=Math.sqrt(qa*qa*dd*dd+nd*nd*cd*cd),fd=Math.abs(qa*nd*cd/pd);od.x<ld&&(fd=-fd);var md=Math.abs(qa*nd*dd/pd);return od.y<ud&&(md=-md),{x:ld+fd,y:ud+md}}__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,cd,dd,pd,fd,md,vd,Ad,Nd,Id,kd,jd,Fd,Md;if(ld=qa.y-Ra.y,cd=Ra.x-qa.x,pd=qa.x*Ra.y-Ra.x*qa.y,Ad=ld*nd.x+cd*nd.y+pd,Nd=ld*od.x+cd*od.y+pd,!(Ad!==0&&Nd!==0&&sameSign(Ad,Nd))&&(ud=od.y-nd.y,dd=nd.x-od.x,fd=od.x*nd.y-nd.x*od.y,md=ud*Ra.x+dd*Ra.y+fd,vd=ud*qa.x+dd*qa.y+fd,!(md!==0&&vd!==0&&sameSign(md,vd))&&(Id=ld*dd-ud*cd,Id!==0)))return kd=Math.abs(Id/2),jd=cd*fd-dd*pd,Fd=jd<0?(jd-kd)/Id:(jd+kd)/Id,jd=ud*pd-ld*fd,Md=jd<0?(jd-kd)/Id:(jd+kd)/Id,{x:Fd,y:Md}}__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=[],cd=Number.POSITIVE_INFINITY,dd=Number.POSITIVE_INFINITY;typeof qa.forEach=="function"?qa.forEach(function(md){cd=Math.min(cd,md.x),dd=Math.min(dd,md.y)}):(cd=Math.min(cd,qa.x),dd=Math.min(dd,qa.y));let pd=od-Ra.width/2-cd,fd=ld-Ra.height/2-dd;for(let md=0;md<qa.length;md++){let vd=qa[md],Ad=qa[md<qa.length-1?md+1:0],Nd=intersect_line_default(Ra,nd,{x:pd+vd.x,y:fd+vd.y},{x:pd+Ad.x,y:fd+Ad.y});Nd&&ud.push(Nd)}return ud.length?(ud.length>1&&ud.sort(function(md,vd){let Ad=md.x-nd.x,Nd=md.y-nd.y,Id=Math.sqrt(Ad*Ad+Nd*Nd),kd=vd.x-nd.x,jd=vd.y-nd.y,Fd=Math.sqrt(kd*kd+jd*jd);return Id<Fd?-1:Id===Fd?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),cd=1,{cssStyles:dd}=qa,pd=at$2.svg(ud),fd=userNodeOverrides(qa,{fill:"black",stroke:"none",fillStyle:"solid"});qa.look!=="handDrawn"&&(fd.roughness=0);const md=pd.circle(0,0,cd*2,fd),vd=ud.insert(()=>md,":first-child");return vd.attr("class","anchor").attr("style",handleUndefinedAttr(dd)),updateNodeBounds(qa,vd),qa.intersect=function(Ad){return log$1.info("Circle intersect",qa,cd,Ad),intersect_default.circle(qa,cd,Ad)},ud}__name(anchor,"anchor");function generateArcPoints(Ra,qa,nd,od,ld,ud,cd){const pd=(Ra+nd)/2,fd=(qa+od)/2,md=Math.atan2(od-qa,nd-Ra),vd=(nd-Ra)/2,Ad=(od-qa)/2,Nd=vd/ld,Id=Ad/ud,kd=Math.sqrt(Nd**2+Id**2);if(kd>1)throw new Error("The given radii are too small to create an arc between the points.");const jd=Math.sqrt(1-kd**2),Fd=pd+jd*ud*Math.sin(md)*(cd?-1:1),Md=fd-jd*ld*Math.cos(md)*(cd?-1:1),Ld=Math.atan2((qa-Md)/ud,(Ra-Fd)/ld);let Gd=Math.atan2((od-Md)/ud,(nd-Fd)/ld)-Ld;cd&&Gd<0&&(Gd+=2*Math.PI),!cd&&Gd>0&&(Gd-=2*Math.PI);const Vd=[];for(let Kd=0;Kd<20;Kd++){const mf=Kd/19,Wd=Ld+mf*Gd,Zd=Fd+ld*Math.cos(Wd),Xd=Md+ud*Math.sin(Wd);Vd.push({x:Zd,y:Xd})}return Vd}__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)),cd=ud.width+qa.padding+20,dd=ud.height+qa.padding,pd=dd/2,fd=pd/(2.5+dd/50),{cssStyles:md}=qa,vd=[{x:cd/2,y:-dd/2},{x:-cd/2,y:-dd/2},...generateArcPoints(-cd/2,-dd/2,-cd/2,dd/2,fd,pd,!1),{x:cd/2,y:dd/2},...generateArcPoints(cd/2,dd/2,cd/2,-dd/2,fd,pd,!0)],Ad=at$2.svg(ld),Nd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Nd.roughness=0,Nd.fillStyle="solid");const Id=createPathFromPoints(vd),kd=Ad.path(Id,Nd),jd=ld.insert(()=>kd,":first-child");return jd.attr("class","basic label-container"),md&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",md),od&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",od),jd.attr("transform",`translate(${fd/2}, 0)`),updateNodeBounds(qa,jd),qa.intersect=function(Fd){return intersect_default.polygon(qa,vd,Fd)},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)),cd=ud.height+qa.padding,dd=12,pd=ud.width+qa.padding+dd,fd=0,md=pd,vd=-cd,Ad=0,Nd=[{x:fd+dd,y:vd},{x:md,y:vd},{x:md,y:Ad},{x:fd,y:Ad},{x:fd,y:vd+dd},{x:fd+dd,y:vd}];let Id;const{cssStyles:kd}=qa;if(qa.look==="handDrawn"){const jd=at$2.svg(ld),Fd=userNodeOverrides(qa,{}),Md=createPathFromPoints(Nd),Ld=jd.path(Md,Fd);Id=ld.insert(()=>Ld,":first-child").attr("transform",`translate(${-pd/2}, ${cd/2})`),kd&&Id.attr("style",kd)}else Id=insertPolygonShape(ld,pd,cd,Nd);return od&&Id.attr("style",od),updateNodeBounds(qa,Id),qa.intersect=function(jd){return intersect_default.polygon(qa,Nd,jd)},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),cd=[{x:0,y:ud/2},{x:ud/2,y:0},{x:0,y:-ud/2},{x:-ud/2,y:0}],dd=at$2.svg(od),pd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(pd.roughness=0,pd.fillStyle="solid");const fd=createPathFromPoints(cd),md=dd.path(fd,pd),vd=od.insert(()=>md,":first-child");return ld&&qa.look!=="handDrawn"&&vd.selectAll("path").attr("style",ld),nd&&qa.look!=="handDrawn"&&vd.selectAll("path").attr("style",nd),qa.width=28,qa.height=28,qa.intersect=function(Ad){return intersect_default.polygon(qa,cd,Ad)},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:cd}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.width/2+cd;let pd;const{cssStyles:fd}=qa;if(qa.look==="handDrawn"){const md=at$2.svg(ld),vd=userNodeOverrides(qa,{}),Ad=md.circle(0,0,dd*2,vd);pd=ld.insert(()=>Ad,":first-child"),pd.attr("class","basic label-container").attr("style",handleUndefinedAttr(fd))}else pd=ld.insert("circle",":first-child").attr("class","basic label-container").attr("style",od).attr("r",dd).attr("cx",0).attr("cy",0);return updateNodeBounds(qa,pd),qa.intersect=function(md){return log$1.info("Circle intersect",qa,dd,md),intersect_default.circle(qa,dd,md)},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},cd={x:-(od/2)*qa,y:-(od/2)*nd},dd={x:od/2*qa,y:-(od/2)*nd};return`M ${ud.x},${ud.y} L ${dd.x},${dd.y}
|
||
M ${ld.x},${ld.y} L ${cd.x},${cd.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:cd}=qa,dd=at$2.svg(ld),pd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(pd.roughness=0,pd.fillStyle="solid");const fd=dd.circle(0,0,ud*2,pd),md=createLine(ud),vd=dd.path(md,pd),Ad=ld.insert(()=>fd,":first-child");return Ad.insert(()=>vd),cd&&qa.look!=="handDrawn"&&Ad.selectAll("path").attr("style",cd),od&&qa.look!=="handDrawn"&&Ad.selectAll("path").attr("style",od),updateNodeBounds(qa,Ad),qa.intersect=function(Nd){return log$1.info("crossedCircle intersect",qa,{radius:ud,point:Nd}),intersect_default.circle(qa,ud,Nd)},ld}__name(crossedCircle,"crossedCircle");function generateCirclePoints2(Ra,qa,nd,od=100,ld=0,ud=180){const cd=[],dd=ld*Math.PI/180,md=(ud*Math.PI/180-dd)/(od-1);for(let vd=0;vd<od;vd++){const Ad=dd+vd*md,Nd=Ra+nd*Math.cos(Ad),Id=qa+nd*Math.sin(Ad);cd.push({x:-Nd,y:-Id})}return cd}__name(generateCirclePoints2,"generateCirclePoints");async function curlyBraceLeft(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:cd}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.width+(qa.padding??0),pd=ud.height+(qa.padding??0),fd=Math.max(5,pd*.1),{cssStyles:md}=qa,vd=[...generateCirclePoints2(dd/2,-pd/2,fd,30,-90,0),{x:-dd/2-fd,y:fd},...generateCirclePoints2(dd/2+fd*2,-fd,fd,20,-180,-270),...generateCirclePoints2(dd/2+fd*2,fd,fd,20,-90,-180),{x:-dd/2-fd,y:-pd/2},...generateCirclePoints2(dd/2,pd/2,fd,20,0,90)],Ad=[{x:dd/2,y:-pd/2-fd},{x:-dd/2,y:-pd/2-fd},...generateCirclePoints2(dd/2,-pd/2,fd,20,-90,0),{x:-dd/2-fd,y:-fd},...generateCirclePoints2(dd/2+dd*.1,-fd,fd,20,-180,-270),...generateCirclePoints2(dd/2+dd*.1,fd,fd,20,-90,-180),{x:-dd/2-fd,y:pd/2},...generateCirclePoints2(dd/2,pd/2,fd,20,0,90),{x:-dd/2,y:pd/2+fd},{x:dd/2,y:pd/2+fd}],Nd=at$2.svg(ld),Id=userNodeOverrides(qa,{fill:"none"});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const jd=createPathFromPoints(vd).replace("Z",""),Fd=Nd.path(jd,Id),Md=createPathFromPoints(Ad),Ld=Nd.path(Md,{...Id}),Hd=ld.insert("g",":first-child");return Hd.insert(()=>Ld,":first-child").attr("stroke-opacity",0),Hd.insert(()=>Fd,":first-child"),Hd.attr("class","text"),md&&qa.look!=="handDrawn"&&Hd.selectAll("path").attr("style",md),od&&qa.look!=="handDrawn"&&Hd.selectAll("path").attr("style",od),Hd.attr("transform",`translate(${fd}, 0)`),cd.attr("transform",`translate(${-dd/2+fd-(ud.x-(ud.left??0))},${-pd/2+(qa.padding??0)/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Hd),qa.intersect=function(Gd){return intersect_default.polygon(qa,Ad,Gd)},ld}__name(curlyBraceLeft,"curlyBraceLeft");function generateCirclePoints3(Ra,qa,nd,od=100,ld=0,ud=180){const cd=[],dd=ld*Math.PI/180,md=(ud*Math.PI/180-dd)/(od-1);for(let vd=0;vd<od;vd++){const Ad=dd+vd*md,Nd=Ra+nd*Math.cos(Ad),Id=qa+nd*Math.sin(Ad);cd.push({x:Nd,y:Id})}return cd}__name(generateCirclePoints3,"generateCirclePoints");async function curlyBraceRight(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:cd}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.width+(qa.padding??0),pd=ud.height+(qa.padding??0),fd=Math.max(5,pd*.1),{cssStyles:md}=qa,vd=[...generateCirclePoints3(dd/2,-pd/2,fd,20,-90,0),{x:dd/2+fd,y:-fd},...generateCirclePoints3(dd/2+fd*2,-fd,fd,20,-180,-270),...generateCirclePoints3(dd/2+fd*2,fd,fd,20,-90,-180),{x:dd/2+fd,y:pd/2},...generateCirclePoints3(dd/2,pd/2,fd,20,0,90)],Ad=[{x:-dd/2,y:-pd/2-fd},{x:dd/2,y:-pd/2-fd},...generateCirclePoints3(dd/2,-pd/2,fd,20,-90,0),{x:dd/2+fd,y:-fd},...generateCirclePoints3(dd/2+fd*2,-fd,fd,20,-180,-270),...generateCirclePoints3(dd/2+fd*2,fd,fd,20,-90,-180),{x:dd/2+fd,y:pd/2},...generateCirclePoints3(dd/2,pd/2,fd,20,0,90),{x:dd/2,y:pd/2+fd},{x:-dd/2,y:pd/2+fd}],Nd=at$2.svg(ld),Id=userNodeOverrides(qa,{fill:"none"});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const jd=createPathFromPoints(vd).replace("Z",""),Fd=Nd.path(jd,Id),Md=createPathFromPoints(Ad),Ld=Nd.path(Md,{...Id}),Hd=ld.insert("g",":first-child");return Hd.insert(()=>Ld,":first-child").attr("stroke-opacity",0),Hd.insert(()=>Fd,":first-child"),Hd.attr("class","text"),md&&qa.look!=="handDrawn"&&Hd.selectAll("path").attr("style",md),od&&qa.look!=="handDrawn"&&Hd.selectAll("path").attr("style",od),Hd.attr("transform",`translate(${-fd}, 0)`),cd.attr("transform",`translate(${-dd/2+(qa.padding??0)/2-(ud.x-(ud.left??0))},${-pd/2+(qa.padding??0)/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Hd),qa.intersect=function(Gd){return intersect_default.polygon(qa,Ad,Gd)},ld}__name(curlyBraceRight,"curlyBraceRight");function generateCirclePoints4(Ra,qa,nd,od=100,ld=0,ud=180){const cd=[],dd=ld*Math.PI/180,md=(ud*Math.PI/180-dd)/(od-1);for(let vd=0;vd<od;vd++){const Ad=dd+vd*md,Nd=Ra+nd*Math.cos(Ad),Id=qa+nd*Math.sin(Ad);cd.push({x:-Nd,y:-Id})}return cd}__name(generateCirclePoints4,"generateCirclePoints");async function curlyBraces(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:cd}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.width+(qa.padding??0),pd=ud.height+(qa.padding??0),fd=Math.max(5,pd*.1),{cssStyles:md}=qa,vd=[...generateCirclePoints4(dd/2,-pd/2,fd,30,-90,0),{x:-dd/2-fd,y:fd},...generateCirclePoints4(dd/2+fd*2,-fd,fd,20,-180,-270),...generateCirclePoints4(dd/2+fd*2,fd,fd,20,-90,-180),{x:-dd/2-fd,y:-pd/2},...generateCirclePoints4(dd/2,pd/2,fd,20,0,90)],Ad=[...generateCirclePoints4(-dd/2+fd+fd/2,-pd/2,fd,20,-90,-180),{x:dd/2-fd/2,y:fd},...generateCirclePoints4(-dd/2-fd/2,-fd,fd,20,0,90),...generateCirclePoints4(-dd/2-fd/2,fd,fd,20,-90,0),{x:dd/2-fd/2,y:-fd},...generateCirclePoints4(-dd/2+fd+fd/2,pd/2,fd,30,-180,-270)],Nd=[{x:dd/2,y:-pd/2-fd},{x:-dd/2,y:-pd/2-fd},...generateCirclePoints4(dd/2,-pd/2,fd,20,-90,0),{x:-dd/2-fd,y:-fd},...generateCirclePoints4(dd/2+fd*2,-fd,fd,20,-180,-270),...generateCirclePoints4(dd/2+fd*2,fd,fd,20,-90,-180),{x:-dd/2-fd,y:pd/2},...generateCirclePoints4(dd/2,pd/2,fd,20,0,90),{x:-dd/2,y:pd/2+fd},{x:dd/2-fd-fd/2,y:pd/2+fd},...generateCirclePoints4(-dd/2+fd+fd/2,-pd/2,fd,20,-90,-180),{x:dd/2-fd/2,y:fd},...generateCirclePoints4(-dd/2-fd/2,-fd,fd,20,0,90),...generateCirclePoints4(-dd/2-fd/2,fd,fd,20,-90,0),{x:dd/2-fd/2,y:-fd},...generateCirclePoints4(-dd/2+fd+fd/2,pd/2,fd,30,-180,-270)],Id=at$2.svg(ld),kd=userNodeOverrides(qa,{fill:"none"});qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const Fd=createPathFromPoints(vd).replace("Z",""),Md=Id.path(Fd,kd),Hd=createPathFromPoints(Ad).replace("Z",""),Gd=Id.path(Hd,kd),Vd=createPathFromPoints(Nd),Kd=Id.path(Vd,{...kd}),mf=ld.insert("g",":first-child");return mf.insert(()=>Kd,":first-child").attr("stroke-opacity",0),mf.insert(()=>Md,":first-child"),mf.insert(()=>Gd,":first-child"),mf.attr("class","text"),md&&qa.look!=="handDrawn"&&mf.selectAll("path").attr("style",md),od&&qa.look!=="handDrawn"&&mf.selectAll("path").attr("style",od),mf.attr("transform",`translate(${fd-fd/4}, 0)`),cd.attr("transform",`translate(${-dd/2+(qa.padding??0)/2-(ud.x-(ud.left??0))},${-pd/2+(qa.padding??0)/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,mf),qa.intersect=function(Wd){return intersect_default.polygon(qa,Nd,Wd)},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)),cd=80,dd=20,pd=Math.max(cd,(ud.width+(qa.padding??0)*2)*1.25,(qa==null?void 0:qa.width)??0),fd=Math.max(dd,ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=fd/2,{cssStyles:vd}=qa,Ad=at$2.svg(ld),Nd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Nd.roughness=0,Nd.fillStyle="solid");const Id=pd,kd=fd,jd=Id-md,Fd=kd/4,Md=[{x:jd,y:0},{x:Fd,y:0},{x:0,y:kd/2},{x:Fd,y:kd},{x:jd,y:kd},...generateCirclePoints(-jd,-kd/2,md,50,270,90)],Ld=createPathFromPoints(Md),Hd=Ad.path(Ld,Nd),Gd=ld.insert(()=>Hd,":first-child");return Gd.attr("class","basic label-container"),vd&&qa.look!=="handDrawn"&&Gd.selectChildren("path").attr("style",vd),od&&qa.look!=="handDrawn"&&Gd.selectChildren("path").attr("style",od),Gd.attr("transform",`translate(${-pd/2}, ${-fd/2})`),updateNodeBounds(qa,Gd),qa.intersect=function(Vd){return intersect_default.polygon(qa,Md,Vd)},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:cd}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(ud.width+qa.padding,qa.width??0),pd=dd/2,fd=pd/(2.5+dd/50),md=Math.max(ud.height+fd+qa.padding,qa.height??0);let vd;const{cssStyles:Ad}=qa;if(qa.look==="handDrawn"){const Nd=at$2.svg(ld),Id=createOuterCylinderPathD(0,0,dd,md,pd,fd),kd=createInnerCylinderPathD(0,fd,dd,md,pd,fd),jd=Nd.path(Id,userNodeOverrides(qa,{})),Fd=Nd.path(kd,userNodeOverrides(qa,{fill:"none"}));vd=ld.insert(()=>Fd,":first-child"),vd=ld.insert(()=>jd,":first-child"),vd.attr("class","basic label-container"),Ad&&vd.attr("style",Ad)}else{const Nd=createCylinderPathD(0,0,dd,md,pd,fd);vd=ld.insert("path",":first-child").attr("d",Nd).attr("class","basic label-container").attr("style",handleUndefinedAttr(Ad)).attr("style",od)}return vd.attr("label-offset-y",fd),vd.attr("transform",`translate(${-dd/2}, ${-(md/2+fd)})`),updateNodeBounds(qa,vd),cd.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(Nd){const Id=intersect_default.rect(qa,Nd),kd=Id.x-(qa.x??0);if(pd!=0&&(Math.abs(kd)<(qa.width??0)/2||Math.abs(kd)==(qa.width??0)/2&&Math.abs(Id.y-(qa.y??0))>(qa.height??0)/2-fd)){let jd=fd*fd*(1-kd*kd/(pd*pd));jd>0&&(jd=Math.sqrt(jd)),jd=fd-jd,Nd.y-(qa.y??0)>0&&(jd=-jd),Id.y+=jd}return Id},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:cd}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.width+qa.padding,pd=ud.height+qa.padding,fd=pd*.2,md=-dd/2,vd=-pd/2-fd/2,{cssStyles:Ad}=qa,Nd=at$2.svg(ld),Id=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const kd=[{x:md,y:vd+fd},{x:-md,y:vd+fd},{x:-md,y:-vd},{x:md,y:-vd},{x:md,y:vd},{x:-md,y:vd},{x:-md,y:vd+fd}],jd=Nd.polygon(kd.map(Md=>[Md.x,Md.y]),Id),Fd=ld.insert(()=>jd,":first-child");return Fd.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&Fd.selectAll("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&Fd.selectAll("path").attr("style",od),cd.attr("transform",`translate(${md+(qa.padding??0)/2-(ud.x-(ud.left??0))}, ${vd+fd+(qa.padding??0)/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Fd),qa.intersect=function(Md){return intersect_default.rect(qa,Md)},ld}__name(dividedRectangle,"dividedRectangle");async function doublecircle(Ra,qa){var Ad,Nd;const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,halfPadding:cd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width/2+cd+5,fd=ud.width/2+cd;let md;const{cssStyles:vd}=qa;if(qa.look==="handDrawn"){const Id=at$2.svg(ld),kd=userNodeOverrides(qa,{roughness:.2,strokeWidth:2.5}),jd=userNodeOverrides(qa,{roughness:.2,strokeWidth:1.5}),Fd=Id.circle(0,0,pd*2,kd),Md=Id.circle(0,0,fd*2,jd);md=ld.insert("g",":first-child"),md.attr("class",handleUndefinedAttr(qa.cssClasses)).attr("style",handleUndefinedAttr(vd)),(Ad=md.node())==null||Ad.appendChild(Fd),(Nd=md.node())==null||Nd.appendChild(Md)}else{md=ld.insert("g",":first-child");const Id=md.insert("circle",":first-child"),kd=md.insert("circle");md.attr("class","basic label-container").attr("style",od),Id.attr("class","outer-circle").attr("style",od).attr("r",pd).attr("cx",0).attr("cy",0),kd.attr("class","inner-circle").attr("style",od).attr("r",fd).attr("cx",0).attr("cy",0)}return updateNodeBounds(qa,md),qa.intersect=function(Id){return log$1.info("DoubleCircle intersect",qa,pd,Id),intersect_default.circle(qa,pd,Id)},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),cd=7,{cssStyles:dd}=qa,pd=at$2.svg(ud),{nodeBorder:fd}=nd,md=userNodeOverrides(qa,{fillStyle:"solid"});qa.look!=="handDrawn"&&(md.roughness=0);const vd=pd.circle(0,0,cd*2,md),Ad=ud.insert(()=>vd,":first-child");return Ad.selectAll("path").attr("style",`fill: ${fd} !important;`),dd&&dd.length>0&&qa.look!=="handDrawn"&&Ad.selectAll("path").attr("style",dd),ld&&qa.look!=="handDrawn"&&Ad.selectAll("path").attr("style",ld),updateNodeBounds(qa,Ad),qa.intersect=function(Nd){return log$1.info("filledCircle intersect",qa,{radius:cd,point:Nd}),intersect_default.circle(qa,cd,Nd)},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:cd}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.width+(qa.padding??0),pd=dd+ud.height,fd=dd+ud.height,md=[{x:0,y:-pd},{x:fd,y:-pd},{x:fd/2,y:0}],{cssStyles:vd}=qa,Ad=at$2.svg(ld),Nd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Nd.roughness=0,Nd.fillStyle="solid");const Id=createPathFromPoints(md),kd=Ad.path(Id,Nd),jd=ld.insert(()=>kd,":first-child").attr("transform",`translate(${-pd/2}, ${pd/2})`);return vd&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",vd),od&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",od),qa.width=dd,qa.height=pd,updateNodeBounds(qa,jd),cd.attr("transform",`translate(${-ud.width/2-(ud.x-(ud.left??0))}, ${-pd/2+(qa.padding??0)/2+(ud.y-(ud.top??0))})`),qa.intersect=function(Fd){return log$1.info("Triangle intersect",qa,md,Fd),intersect_default.polygon(qa,md,Fd)},ld}__name(flippedTriangle,"flippedTriangle");function forkJoin(Ra,qa,{dir:nd,config:{state:od,themeVariables:ld}}){const{nodeStyles:ud}=styles2String(qa);qa.label="";const cd=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId??qa.id),{cssStyles:dd}=qa;let pd=Math.max(70,(qa==null?void 0:qa.width)??0),fd=Math.max(10,(qa==null?void 0:qa.height)??0);nd==="LR"&&(pd=Math.max(10,(qa==null?void 0:qa.width)??0),fd=Math.max(70,(qa==null?void 0:qa.height)??0));const md=-1*pd/2,vd=-1*fd/2,Ad=at$2.svg(cd),Nd=userNodeOverrides(qa,{stroke:ld.lineColor,fill:ld.lineColor});qa.look!=="handDrawn"&&(Nd.roughness=0,Nd.fillStyle="solid");const Id=Ad.rectangle(md,vd,pd,fd,Nd),kd=cd.insert(()=>Id,":first-child");dd&&qa.look!=="handDrawn"&&kd.selectAll("path").attr("style",dd),ud&&qa.look!=="handDrawn"&&kd.selectAll("path").attr("style",ud),updateNodeBounds(qa,kd);const jd=(od==null?void 0:od.padding)??0;return qa.width&&qa.height&&(qa.width+=jd/2||0,qa.height+=jd/2||0),qa.intersect=function(Fd){return intersect_default.rect(qa,Fd)},cd}__name(forkJoin,"forkJoin");async function halfRoundedRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const ld=80,ud=50,{shapeSvg:cd,bbox:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ld,dd.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud,dd.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=fd/2,{cssStyles:vd}=qa,Ad=at$2.svg(cd),Nd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Nd.roughness=0,Nd.fillStyle="solid");const Id=[{x:-pd/2,y:-fd/2},{x:pd/2-md,y:-fd/2},...generateCirclePoints(-pd/2+md,0,md,50,90,270),{x:pd/2-md,y:fd/2},{x:-pd/2,y:fd/2}],kd=createPathFromPoints(Id),jd=Ad.path(kd,Nd),Fd=cd.insert(()=>jd,":first-child");return Fd.attr("class","basic label-container"),vd&&qa.look!=="handDrawn"&&Fd.selectChildren("path").attr("style",vd),od&&qa.look!=="handDrawn"&&Fd.selectChildren("path").attr("style",od),updateNodeBounds(qa,Fd),qa.intersect=function(Md){return log$1.info("Pill intersect",qa,{radius:md,point:Md}),intersect_default.polygon(qa,Id,Md)},cd}__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)),cd=4,dd=ud.height+qa.padding,pd=dd/cd,fd=ud.width+2*pd+qa.padding,md=[{x:pd,y:0},{x:fd-pd,y:0},{x:fd,y:-dd/2},{x:fd-pd,y:-dd},{x:pd,y:-dd},{x:0,y:-dd/2}];let vd;const{cssStyles:Ad}=qa;if(qa.look==="handDrawn"){const Nd=at$2.svg(ld),Id=userNodeOverrides(qa,{}),kd=createHexagonPathD(0,0,fd,dd,pd),jd=Nd.path(kd,Id);vd=ld.insert(()=>jd,":first-child").attr("transform",`translate(${-fd/2}, ${dd/2})`),Ad&&vd.attr("style",Ad)}else vd=insertPolygonShape(ld,fd,dd,md);return od&&vd.attr("style",od),qa.width=fd,qa.height=dd,updateNodeBounds(qa,vd),qa.intersect=function(Nd){return intersect_default.polygon(qa,md,Nd)},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),cd=Math.max(30,(qa==null?void 0:qa.height)??0),{cssStyles:dd}=qa,pd=at$2.svg(ld),fd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(fd.roughness=0,fd.fillStyle="solid");const md=[{x:0,y:0},{x:ud,y:0},{x:0,y:cd},{x:ud,y:cd}],vd=createPathFromPoints(md),Ad=pd.path(vd,fd),Nd=ld.insert(()=>Ad,":first-child");return Nd.attr("class","basic label-container"),dd&&qa.look!=="handDrawn"&&Nd.selectChildren("path").attr("style",dd),od&&qa.look!=="handDrawn"&&Nd.selectChildren("path").attr("style",od),Nd.attr("transform",`translate(${-ud/2}, ${-cd/2})`),updateNodeBounds(qa,Nd),qa.intersect=function(Id){return log$1.info("Pill intersect",qa,{points:md}),intersect_default.polygon(qa,md,Id)},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,cd=qa.assetWidth??48,dd=Math.max(ud,cd),pd=od==null?void 0:od.wrappingWidth;qa.width=Math.max(dd,pd??0);const{shapeSvg:fd,bbox:md,label:vd}=await labelHelper(Ra,qa,"icon-shape default"),Ad=qa.pos==="t",Nd=dd,Id=dd,{nodeBorder:kd}=nd,{stylesMap:jd}=compileStyles(qa),Fd=-Id/2,Md=-Nd/2,Ld=qa.label?8:0,Hd=at$2.svg(fd),Gd=userNodeOverrides(qa,{stroke:"none",fill:"none"});qa.look!=="handDrawn"&&(Gd.roughness=0,Gd.fillStyle="solid");const Vd=Hd.rectangle(Fd,Md,Id,Nd,Gd),Kd=Math.max(Id,md.width),mf=Nd+md.height+Ld,Wd=Hd.rectangle(-Kd/2,-mf/2,Kd,mf,{...Gd,fill:"transparent",stroke:"none"}),Zd=fd.insert(()=>Vd,":first-child"),Xd=fd.insert(()=>Wd);if(qa.icon){const bf=fd.append("g");bf.html(`<g>${await getIconSVG(qa.icon,{height:dd,width:dd,fallbackPrefix:""})}</g>`);const yf=bf.node().getBBox(),Ef=yf.width,gf=yf.height,xf=yf.x,Af=yf.y;bf.attr("transform",`translate(${-Ef/2-xf},${Ad?md.height/2+Ld/2-gf/2-Af:-md.height/2-Ld/2-gf/2-Af})`),bf.attr("style",`color: ${jd.get("stroke")??kd};`)}return vd.attr("transform",`translate(${-md.width/2-(md.x-(md.left??0))},${Ad?-mf/2:mf/2-md.height})`),Zd.attr("transform",`translate(0,${Ad?md.height/2+Ld/2:-md.height/2-Ld/2})`),updateNodeBounds(qa,Xd),qa.intersect=function(bf){if(log$1.info("iconSquare intersect",qa,bf),!qa.label)return intersect_default.rect(qa,bf);const yf=qa.x??0,Ef=qa.y??0,gf=qa.height??0;let xf=[];return Ad?xf=[{x:yf-md.width/2,y:Ef-gf/2},{x:yf+md.width/2,y:Ef-gf/2},{x:yf+md.width/2,y:Ef-gf/2+md.height+Ld},{x:yf+Id/2,y:Ef-gf/2+md.height+Ld},{x:yf+Id/2,y:Ef+gf/2},{x:yf-Id/2,y:Ef+gf/2},{x:yf-Id/2,y:Ef-gf/2+md.height+Ld},{x:yf-md.width/2,y:Ef-gf/2+md.height+Ld}]:xf=[{x:yf-Id/2,y:Ef-gf/2},{x:yf+Id/2,y:Ef-gf/2},{x:yf+Id/2,y:Ef-gf/2+Nd},{x:yf+md.width/2,y:Ef-gf/2+Nd},{x:yf+md.width/2/2,y:Ef+gf/2},{x:yf-md.width/2,y:Ef+gf/2},{x:yf-md.width/2,y:Ef-gf/2+Nd},{x:yf-Id/2,y:Ef-gf/2+Nd}],intersect_default.polygon(qa,xf,bf)},fd}__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,cd=qa.assetWidth??48,dd=Math.max(ud,cd),pd=od==null?void 0:od.wrappingWidth;qa.width=Math.max(dd,pd??0);const{shapeSvg:fd,bbox:md,label:vd}=await labelHelper(Ra,qa,"icon-shape default"),Ad=20,Nd=qa.label?8:0,Id=qa.pos==="t",{nodeBorder:kd,mainBkg:jd}=nd,{stylesMap:Fd}=compileStyles(qa),Md=at$2.svg(fd),Ld=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Ld.roughness=0,Ld.fillStyle="solid");const Hd=Fd.get("fill");Ld.stroke=Hd??jd;const Gd=fd.append("g");qa.icon&&Gd.html(`<g>${await getIconSVG(qa.icon,{height:dd,width:dd,fallbackPrefix:""})}</g>`);const Vd=Gd.node().getBBox(),Kd=Vd.width,mf=Vd.height,Wd=Vd.x,Zd=Vd.y,Xd=Math.max(Kd,mf)*Math.SQRT2+Ad*2,bf=Md.circle(0,0,Xd,Ld),yf=Math.max(Xd,md.width),Ef=Xd+md.height+Nd,gf=Md.rectangle(-yf/2,-Ef/2,yf,Ef,{...Ld,fill:"transparent",stroke:"none"}),xf=fd.insert(()=>bf,":first-child"),Af=fd.insert(()=>gf);return Gd.attr("transform",`translate(${-Kd/2-Wd},${Id?md.height/2+Nd/2-mf/2-Zd:-md.height/2-Nd/2-mf/2-Zd})`),Gd.attr("style",`color: ${Fd.get("stroke")??kd};`),vd.attr("transform",`translate(${-md.width/2-(md.x-(md.left??0))},${Id?-Ef/2:Ef/2-md.height})`),xf.attr("transform",`translate(0,${Id?md.height/2+Nd/2:-md.height/2-Nd/2})`),updateNodeBounds(qa,Af),qa.intersect=function(Lf){return log$1.info("iconSquare intersect",qa,Lf),intersect_default.rect(qa,Lf)},fd}__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,cd=qa.assetWidth??48,dd=Math.max(ud,cd),pd=od==null?void 0:od.wrappingWidth;qa.width=Math.max(dd,pd??0);const{shapeSvg:fd,bbox:md,halfPadding:vd,label:Ad}=await labelHelper(Ra,qa,"icon-shape default"),Nd=qa.pos==="t",Id=dd+vd*2,kd=dd+vd*2,{nodeBorder:jd,mainBkg:Fd}=nd,{stylesMap:Md}=compileStyles(qa),Ld=-kd/2,Hd=-Id/2,Gd=qa.label?8:0,Vd=at$2.svg(fd),Kd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Kd.roughness=0,Kd.fillStyle="solid");const mf=Md.get("fill");Kd.stroke=mf??Fd;const Wd=Vd.path(createRoundedRectPathD(Ld,Hd,kd,Id,5),Kd),Zd=Math.max(kd,md.width),Xd=Id+md.height+Gd,bf=Vd.rectangle(-Zd/2,-Xd/2,Zd,Xd,{...Kd,fill:"transparent",stroke:"none"}),yf=fd.insert(()=>Wd,":first-child").attr("class","icon-shape2"),Ef=fd.insert(()=>bf);if(qa.icon){const gf=fd.append("g");gf.html(`<g>${await getIconSVG(qa.icon,{height:dd,width:dd,fallbackPrefix:""})}</g>`);const xf=gf.node().getBBox(),Af=xf.width,Lf=xf.height,Xf=xf.x,Jf=xf.y;gf.attr("transform",`translate(${-Af/2-Xf},${Nd?md.height/2+Gd/2-Lf/2-Jf:-md.height/2-Gd/2-Lf/2-Jf})`),gf.attr("style",`color: ${Md.get("stroke")??jd};`)}return Ad.attr("transform",`translate(${-md.width/2-(md.x-(md.left??0))},${Nd?-Xd/2:Xd/2-md.height})`),yf.attr("transform",`translate(0,${Nd?md.height/2+Gd/2:-md.height/2-Gd/2})`),updateNodeBounds(qa,Ef),qa.intersect=function(gf){if(log$1.info("iconSquare intersect",qa,gf),!qa.label)return intersect_default.rect(qa,gf);const xf=qa.x??0,Af=qa.y??0,Lf=qa.height??0;let Xf=[];return Nd?Xf=[{x:xf-md.width/2,y:Af-Lf/2},{x:xf+md.width/2,y:Af-Lf/2},{x:xf+md.width/2,y:Af-Lf/2+md.height+Gd},{x:xf+kd/2,y:Af-Lf/2+md.height+Gd},{x:xf+kd/2,y:Af+Lf/2},{x:xf-kd/2,y:Af+Lf/2},{x:xf-kd/2,y:Af-Lf/2+md.height+Gd},{x:xf-md.width/2,y:Af-Lf/2+md.height+Gd}]:Xf=[{x:xf-kd/2,y:Af-Lf/2},{x:xf+kd/2,y:Af-Lf/2},{x:xf+kd/2,y:Af-Lf/2+Id},{x:xf+md.width/2,y:Af-Lf/2+Id},{x:xf+md.width/2/2,y:Af+Lf/2},{x:xf-md.width/2,y:Af+Lf/2},{x:xf-md.width/2,y:Af-Lf/2+Id},{x:xf-kd/2,y:Af-Lf/2+Id}],intersect_default.polygon(qa,Xf,gf)},fd}__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,cd=qa.assetWidth??48,dd=Math.max(ud,cd),pd=od==null?void 0:od.wrappingWidth;qa.width=Math.max(dd,pd??0);const{shapeSvg:fd,bbox:md,halfPadding:vd,label:Ad}=await labelHelper(Ra,qa,"icon-shape default"),Nd=qa.pos==="t",Id=dd+vd*2,kd=dd+vd*2,{nodeBorder:jd,mainBkg:Fd}=nd,{stylesMap:Md}=compileStyles(qa),Ld=-kd/2,Hd=-Id/2,Gd=qa.label?8:0,Vd=at$2.svg(fd),Kd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Kd.roughness=0,Kd.fillStyle="solid");const mf=Md.get("fill");Kd.stroke=mf??Fd;const Wd=Vd.path(createRoundedRectPathD(Ld,Hd,kd,Id,.1),Kd),Zd=Math.max(kd,md.width),Xd=Id+md.height+Gd,bf=Vd.rectangle(-Zd/2,-Xd/2,Zd,Xd,{...Kd,fill:"transparent",stroke:"none"}),yf=fd.insert(()=>Wd,":first-child"),Ef=fd.insert(()=>bf);if(qa.icon){const gf=fd.append("g");gf.html(`<g>${await getIconSVG(qa.icon,{height:dd,width:dd,fallbackPrefix:""})}</g>`);const xf=gf.node().getBBox(),Af=xf.width,Lf=xf.height,Xf=xf.x,Jf=xf.y;gf.attr("transform",`translate(${-Af/2-Xf},${Nd?md.height/2+Gd/2-Lf/2-Jf:-md.height/2-Gd/2-Lf/2-Jf})`),gf.attr("style",`color: ${Md.get("stroke")??jd};`)}return Ad.attr("transform",`translate(${-md.width/2-(md.x-(md.left??0))},${Nd?-Xd/2:Xd/2-md.height})`),yf.attr("transform",`translate(0,${Nd?md.height/2+Gd/2:-md.height/2-Gd/2})`),updateNodeBounds(qa,Ef),qa.intersect=function(gf){if(log$1.info("iconSquare intersect",qa,gf),!qa.label)return intersect_default.rect(qa,gf);const xf=qa.x??0,Af=qa.y??0,Lf=qa.height??0;let Xf=[];return Nd?Xf=[{x:xf-md.width/2,y:Af-Lf/2},{x:xf+md.width/2,y:Af-Lf/2},{x:xf+md.width/2,y:Af-Lf/2+md.height+Gd},{x:xf+kd/2,y:Af-Lf/2+md.height+Gd},{x:xf+kd/2,y:Af+Lf/2},{x:xf-kd/2,y:Af+Lf/2},{x:xf-kd/2,y:Af-Lf/2+md.height+Gd},{x:xf-md.width/2,y:Af-Lf/2+md.height+Gd}]:Xf=[{x:xf-kd/2,y:Af-Lf/2},{x:xf+kd/2,y:Af-Lf/2},{x:xf+kd/2,y:Af-Lf/2+Id},{x:xf+md.width/2,y:Af-Lf/2+Id},{x:xf+md.width/2/2,y:Af+Lf/2},{x:xf-md.width/2,y:Af+Lf/2},{x:xf-md.width/2,y:Af-Lf/2+Id},{x:xf-kd/2,y:Af-Lf/2+Id}],intersect_default.polygon(qa,Xf,gf)},fd}__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:cd}=styles2String(qa);qa.labelStyle=cd;const dd=nd==null?void 0:nd.wrappingWidth;qa.defaultWidth=nd==null?void 0:nd.wrappingWidth;const pd=Math.max(qa.label?dd??0:0,(qa==null?void 0:qa.assetWidth)??ld),fd=qa.constraint==="on"&&qa!=null&&qa.assetHeight?qa.assetHeight*qa.imageAspectRatio:pd,md=qa.constraint==="on"?fd/qa.imageAspectRatio:(qa==null?void 0:qa.assetHeight)??ud;qa.width=Math.max(fd,dd??0);const{shapeSvg:vd,bbox:Ad,label:Nd}=await labelHelper(Ra,qa,"image-shape default"),Id=qa.pos==="t",kd=-fd/2,jd=-md/2,Fd=qa.label?8:0,Md=at$2.svg(vd),Ld=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Ld.roughness=0,Ld.fillStyle="solid");const Hd=Md.rectangle(kd,jd,fd,md,Ld),Gd=Math.max(fd,Ad.width),Vd=md+Ad.height+Fd,Kd=Md.rectangle(-Gd/2,-Vd/2,Gd,Vd,{...Ld,fill:"none",stroke:"none"}),mf=vd.insert(()=>Hd,":first-child"),Wd=vd.insert(()=>Kd);if(qa.img){const Zd=vd.append("image");Zd.attr("href",qa.img),Zd.attr("width",fd),Zd.attr("height",md),Zd.attr("preserveAspectRatio","none"),Zd.attr("transform",`translate(${-fd/2},${Id?Vd/2-md:-Vd/2})`)}return Nd.attr("transform",`translate(${-Ad.width/2-(Ad.x-(Ad.left??0))},${Id?-md/2-Ad.height/2-Fd/2:md/2-Ad.height/2+Fd/2})`),mf.attr("transform",`translate(0,${Id?Ad.height/2+Fd/2:-Ad.height/2-Fd/2})`),updateNodeBounds(qa,Wd),qa.intersect=function(Zd){if(log$1.info("iconSquare intersect",qa,Zd),!qa.label)return intersect_default.rect(qa,Zd);const Xd=qa.x??0,bf=qa.y??0,yf=qa.height??0;let Ef=[];return Id?Ef=[{x:Xd-Ad.width/2,y:bf-yf/2},{x:Xd+Ad.width/2,y:bf-yf/2},{x:Xd+Ad.width/2,y:bf-yf/2+Ad.height+Fd},{x:Xd+fd/2,y:bf-yf/2+Ad.height+Fd},{x:Xd+fd/2,y:bf+yf/2},{x:Xd-fd/2,y:bf+yf/2},{x:Xd-fd/2,y:bf-yf/2+Ad.height+Fd},{x:Xd-Ad.width/2,y:bf-yf/2+Ad.height+Fd}]:Ef=[{x:Xd-fd/2,y:bf-yf/2},{x:Xd+fd/2,y:bf-yf/2},{x:Xd+fd/2,y:bf-yf/2+md},{x:Xd+Ad.width/2,y:bf-yf/2+md},{x:Xd+Ad.width/2/2,y:bf+yf/2},{x:Xd-Ad.width/2,y:bf+yf/2},{x:Xd-Ad.width/2,y:bf-yf/2+md},{x:Xd-fd/2,y:bf-yf/2+md}],intersect_default.polygon(qa,Ef,Zd)},vd}__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)),cd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),dd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),pd=[{x:0,y:0},{x:cd,y:0},{x:cd+3*dd/6,y:-dd},{x:-3*dd/6,y:-dd}];let fd;const{cssStyles:md}=qa;if(qa.look==="handDrawn"){const vd=at$2.svg(ld),Ad=userNodeOverrides(qa,{}),Nd=createPathFromPoints(pd),Id=vd.path(Nd,Ad);fd=ld.insert(()=>Id,":first-child").attr("transform",`translate(${-cd/2}, ${dd/2})`),md&&fd.attr("style",md)}else fd=insertPolygonShape(ld,cd,dd,pd);return od&&fd.attr("style",od),qa.width=cd,qa.height=dd,updateNodeBounds(qa,fd),qa.intersect=function(vd){return intersect_default.polygon(qa,pd,vd)},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:cd}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(cd.width+nd.labelPaddingX*2,(qa==null?void 0:qa.width)||0),pd=Math.max(cd.height+nd.labelPaddingY*2,(qa==null?void 0:qa.height)||0),fd=-dd/2,md=-pd/2;let vd,{rx:Ad,ry:Nd}=qa;const{cssStyles:Id}=qa;if(nd!=null&&nd.rx&&nd.ry&&(Ad=nd.rx,Nd=nd.ry),qa.look==="handDrawn"){const kd=at$2.svg(ud),jd=userNodeOverrides(qa,{}),Fd=Ad||Nd?kd.path(createRoundedRectPathD(fd,md,dd,pd,Ad||0),jd):kd.rectangle(fd,md,dd,pd,jd);vd=ud.insert(()=>Fd,":first-child"),vd.attr("class","basic label-container").attr("style",handleUndefinedAttr(Id))}else vd=ud.insert("rect",":first-child"),vd.attr("class","basic label-container").attr("style",ld).attr("rx",handleUndefinedAttr(Ad)).attr("ry",handleUndefinedAttr(Nd)).attr("x",fd).attr("y",md).attr("width",dd).attr("height",pd);return updateNodeBounds(qa,vd),qa.intersect=function(kd){return intersect_default.rect(qa,kd)},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(pd){return intersect_default.rect(qa,pd)},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)),cd=Math.max(ud.width+(qa.padding??0),(qa==null?void 0:qa.width)??0),dd=Math.max(ud.height+(qa.padding??0),(qa==null?void 0:qa.height)??0),pd=[{x:0,y:0},{x:cd+3*dd/6,y:0},{x:cd,y:-dd},{x:-(3*dd)/6,y:-dd}];let fd;const{cssStyles:md}=qa;if(qa.look==="handDrawn"){const vd=at$2.svg(ld),Ad=userNodeOverrides(qa,{}),Nd=createPathFromPoints(pd),Id=vd.path(Nd,Ad);fd=ld.insert(()=>Id,":first-child").attr("transform",`translate(${-cd/2}, ${dd/2})`),md&&fd.attr("style",md)}else fd=insertPolygonShape(ld,cd,dd,pd);return od&&fd.attr("style",od),qa.width=cd,qa.height=dd,updateNodeBounds(qa,fd),qa.intersect=function(vd){return intersect_default.polygon(qa,pd,vd)},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)),cd=Math.max(ud.width+(qa.padding??0),(qa==null?void 0:qa.width)??0),dd=Math.max(ud.height+(qa.padding??0),(qa==null?void 0:qa.height)??0),pd=[{x:-3*dd/6,y:0},{x:cd,y:0},{x:cd+3*dd/6,y:-dd},{x:0,y:-dd}];let fd;const{cssStyles:md}=qa;if(qa.look==="handDrawn"){const vd=at$2.svg(ld),Ad=userNodeOverrides(qa,{}),Nd=createPathFromPoints(pd),Id=vd.path(Nd,Ad);fd=ld.insert(()=>Id,":first-child").attr("transform",`translate(${-cd/2}, ${dd/2})`),md&&fd.attr("style",md)}else fd=insertPolygonShape(ld,cd,dd,pd);return od&&fd.attr("style",od),qa.width=cd,qa.height=dd,updateNodeBounds(qa,fd),qa.intersect=function(vd){return intersect_default.polygon(qa,pd,vd)},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,cd=Math.max(35,(qa==null?void 0:qa.width)??0),dd=Math.max(35,(qa==null?void 0:qa.height)??0),pd=7,fd=[{x:cd,y:0},{x:0,y:dd+pd/2},{x:cd-2*pd,y:dd+pd/2},{x:0,y:2*dd},{x:cd,y:dd-pd/2},{x:2*pd,y:dd-pd/2}],md=at$2.svg(ld),vd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(vd.roughness=0,vd.fillStyle="solid");const Ad=createPathFromPoints(fd),Nd=md.path(Ad,vd),Id=ld.insert(()=>Nd,":first-child");return ud&&qa.look!=="handDrawn"&&Id.selectAll("path").attr("style",ud),od&&qa.look!=="handDrawn"&&Id.selectAll("path").attr("style",od),Id.attr("transform",`translate(-${cd/2},${-dd})`),updateNodeBounds(qa,Id),qa.intersect=function(kd){return log$1.info("lightningBolt intersect",qa,kd),intersect_default.polygon(qa,fd,kd)},ld}__name(lightningBolt,"lightningBolt");var createCylinderPathD2=__name((Ra,qa,nd,od,ld,ud,cd)=>[`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+cd}`,`a${ld},${ud} 0,0,0 ${nd},0`].join(" "),"createCylinderPathD"),createOuterCylinderPathD2=__name((Ra,qa,nd,od,ld,ud,cd)=>[`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+cd}`,`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:cd}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(ud.width+(qa.padding??0),qa.width??0),pd=dd/2,fd=pd/(2.5+dd/50),md=Math.max(ud.height+fd+(qa.padding??0),qa.height??0),vd=md*.1;let Ad;const{cssStyles:Nd}=qa;if(qa.look==="handDrawn"){const Id=at$2.svg(ld),kd=createOuterCylinderPathD2(0,0,dd,md,pd,fd,vd),jd=createInnerCylinderPathD2(0,fd,dd,md,pd,fd),Fd=userNodeOverrides(qa,{}),Md=Id.path(kd,Fd),Ld=Id.path(jd,Fd);ld.insert(()=>Ld,":first-child").attr("class","line"),Ad=ld.insert(()=>Md,":first-child"),Ad.attr("class","basic label-container"),Nd&&Ad.attr("style",Nd)}else{const Id=createCylinderPathD2(0,0,dd,md,pd,fd,vd);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",fd),Ad.attr("transform",`translate(${-dd/2}, ${-(md/2+fd)})`),updateNodeBounds(qa,Ad),cd.attr("transform",`translate(${-(ud.width/2)-(ud.x-(ud.left??0))}, ${-(ud.height/2)+fd-(ud.y-(ud.top??0))})`),qa.intersect=function(Id){const kd=intersect_default.rect(qa,Id),jd=kd.x-(qa.x??0);if(pd!=0&&(Math.abs(jd)<(qa.width??0)/2||Math.abs(jd)==(qa.width??0)/2&&Math.abs(kd.y-(qa.y??0))>(qa.height??0)/2-fd)){let Fd=fd*fd*(1-jd*jd/(pd*pd));Fd>0&&(Fd=Math.sqrt(Fd)),Fd=fd-Fd,Id.y-(qa.y??0)>0&&(Fd=-Fd),kd.y+=Fd}return kd},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:cd}=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=pd/4,md=pd+fd,{cssStyles:vd}=qa,Ad=at$2.svg(ld),Nd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Nd.roughness=0,Nd.fillStyle="solid");const Id=[{x:-dd/2-dd/2*.1,y:-md/2},{x:-dd/2-dd/2*.1,y:md/2},...generateFullSineWavePoints(-dd/2-dd/2*.1,md/2,dd/2+dd/2*.1,md/2,fd,.8),{x:dd/2+dd/2*.1,y:-md/2},{x:-dd/2-dd/2*.1,y:-md/2},{x:-dd/2,y:-md/2},{x:-dd/2,y:md/2*1.1},{x:-dd/2,y:-md/2}],kd=Ad.polygon(Id.map(Fd=>[Fd.x,Fd.y]),Nd),jd=ld.insert(()=>kd,":first-child");return jd.attr("class","basic label-container"),vd&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",vd),od&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",od),jd.attr("transform",`translate(0,${-fd/2})`),cd.attr("transform",`translate(${-dd/2+(qa.padding??0)+dd/2*.1/2-(ud.x-(ud.left??0))},${-pd/2+(qa.padding??0)-fd/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,jd),qa.intersect=function(Fd){return intersect_default.polygon(qa,Id,Fd)},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:cd}=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=5,md=-dd/2,vd=-pd/2,{cssStyles:Ad}=qa,Nd=at$2.svg(ld),Id=userNodeOverrides(qa,{}),kd=[{x:md-fd,y:vd+fd},{x:md-fd,y:vd+pd+fd},{x:md+dd-fd,y:vd+pd+fd},{x:md+dd-fd,y:vd+pd},{x:md+dd,y:vd+pd},{x:md+dd,y:vd+pd-fd},{x:md+dd+fd,y:vd+pd-fd},{x:md+dd+fd,y:vd-fd},{x:md+fd,y:vd-fd},{x:md+fd,y:vd},{x:md,y:vd},{x:md,y:vd+fd}],jd=[{x:md,y:vd+fd},{x:md+dd-fd,y:vd+fd},{x:md+dd-fd,y:vd+pd},{x:md+dd,y:vd+pd},{x:md+dd,y:vd},{x:md,y:vd}];qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const Fd=createPathFromPoints(kd),Md=Nd.path(Fd,Id),Ld=createPathFromPoints(jd),Hd=Nd.path(Ld,{...Id,fill:"none"}),Gd=ld.insert(()=>Hd,":first-child");return Gd.insert(()=>Md,":first-child"),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),cd.attr("transform",`translate(${-(ud.width/2)-fd-(ud.x-(ud.left??0))}, ${-(ud.height/2)+fd-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Gd),qa.intersect=function(Vd){return intersect_default.polygon(qa,kd,Vd)},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:cd}=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=pd/4,md=pd+fd,vd=-dd/2,Ad=-md/2,Nd=5,{cssStyles:Id}=qa,kd=generateFullSineWavePoints(vd-Nd,Ad+md+Nd,vd+dd-Nd,Ad+md+Nd,fd,.8),jd=kd==null?void 0:kd[kd.length-1],Fd=[{x:vd-Nd,y:Ad+Nd},{x:vd-Nd,y:Ad+md+Nd},...kd,{x:vd+dd-Nd,y:jd.y-Nd},{x:vd+dd,y:jd.y-Nd},{x:vd+dd,y:jd.y-2*Nd},{x:vd+dd+Nd,y:jd.y-2*Nd},{x:vd+dd+Nd,y:Ad-Nd},{x:vd+Nd,y:Ad-Nd},{x:vd+Nd,y:Ad},{x:vd,y:Ad},{x:vd,y:Ad+Nd}],Md=[{x:vd,y:Ad+Nd},{x:vd+dd-Nd,y:Ad+Nd},{x:vd+dd-Nd,y:jd.y-Nd},{x:vd+dd,y:jd.y-Nd},{x:vd+dd,y:Ad},{x:vd,y:Ad}],Ld=at$2.svg(ld),Hd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Hd.roughness=0,Hd.fillStyle="solid");const Gd=createPathFromPoints(Fd),Vd=Ld.path(Gd,Hd),Kd=createPathFromPoints(Md),mf=Ld.path(Kd,Hd),Wd=ld.insert(()=>Vd,":first-child");return Wd.insert(()=>mf),Wd.attr("class","basic label-container"),Id&&qa.look!=="handDrawn"&&Wd.selectAll("path").attr("style",Id),od&&qa.look!=="handDrawn"&&Wd.selectAll("path").attr("style",od),Wd.attr("transform",`translate(0,${-fd/2})`),cd.attr("transform",`translate(${-(ud.width/2)-Nd-(ud.x-(ud.left??0))}, ${-(ud.height/2)+Nd-fd/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Wd),qa.intersect=function(Zd){return intersect_default.polygon(qa,Fd,Zd)},ld}__name(multiWaveEdgedRectangle,"multiWaveEdgedRectangle");async function note(Ra,qa,{config:{themeVariables:nd}}){var Fd;const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.labelStyle=od,qa.useHtmlLabels||((Fd=getConfig$1().flowchart)==null?void 0:Fd.htmlLabels)!==!1||(qa.centerLabel=!0);const{shapeSvg:cd,bbox:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(dd.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(dd.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=-pd/2,vd=-fd/2,{cssStyles:Ad}=qa,Nd=at$2.svg(cd),Id=userNodeOverrides(qa,{fill:nd.noteBkgColor,stroke:nd.noteBorderColor});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const kd=Nd.rectangle(md,vd,pd,fd,Id),jd=cd.insert(()=>kd,":first-child");return jd.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",Ad),ld&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",ld),updateNodeBounds(qa,jd),qa.intersect=function(Md){return intersect_default.rect(qa,Md)},cd}__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)),cd=ud.width+qa.padding,dd=ud.height+qa.padding,pd=cd+dd,fd=[{x:pd/2,y:0},{x:pd,y:-pd/2},{x:pd/2,y:-pd},{x:0,y:-pd/2}];let md;const{cssStyles:vd}=qa;if(qa.look==="handDrawn"){const Ad=at$2.svg(ld),Nd=userNodeOverrides(qa,{}),Id=createDecisionBoxPathD(0,0,pd),kd=Ad.path(Id,Nd);md=ld.insert(()=>kd,":first-child").attr("transform",`translate(${-pd/2}, ${pd/2})`),vd&&md.attr("style",vd)}else md=insertPolygonShape(ld,pd,pd,fd);return od&&md.attr("style",od),updateNodeBounds(qa,md),qa.intersect=function(Ad){return log$1.debug(`APA12 Intersect called SPLIT
|
||
point:`,Ad,`
|
||
node:
|
||
`,qa,`
|
||
res:`,intersect_default.polygon(qa,fd,Ad)),intersect_default.polygon(qa,fd,Ad)},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:cd}=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=-dd/2,md=-pd/2,vd=md/2,Ad=[{x:fd+vd,y:md},{x:fd,y:0},{x:fd+vd,y:-md},{x:-fd,y:-md},{x:-fd,y:md}],{cssStyles:Nd}=qa,Id=at$2.svg(ld),kd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const jd=createPathFromPoints(Ad),Fd=Id.path(jd,kd),Md=ld.insert(()=>Fd,":first-child");return Md.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&Md.selectAll("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&Md.selectAll("path").attr("style",od),Md.attr("transform",`translate(${-vd/2},0)`),cd.attr("transform",`translate(${-vd/2-ud.width/2-(ud.x-(ud.left??0))}, ${-(ud.height/2)-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Md),qa.intersect=function(Ld){return intersect_default.polygon(qa,Ad,Ld)},ld}__name(rect_left_inv_arrow,"rect_left_inv_arrow");async function rectWithTitle(Ra,qa){var mf,Wd;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),cd=ud.insert("g"),dd=ud.insert("g").attr("class","label").attr("style",od),pd=qa.description,fd=qa.label,md=dd.node().appendChild(await createLabel_default(fd,qa.labelStyle,!0,!0));let vd={width:0,height:0};if(evaluate((Wd=(mf=getConfig2())==null?void 0:mf.flowchart)==null?void 0:Wd.htmlLabels)){const Zd=md.children[0],Xd=select(md);vd=Zd.getBoundingClientRect(),Xd.attr("width",vd.width),Xd.attr("height",vd.height)}log$1.info("Text 2",pd);const Ad=pd||[],Nd=md.getBBox(),Id=dd.node().appendChild(await createLabel_default(Ad.join?Ad.join("<br/>"):Ad,qa.labelStyle,!0,!0)),kd=Id.children[0],jd=select(Id);vd=kd.getBoundingClientRect(),jd.attr("width",vd.width),jd.attr("height",vd.height);const Fd=(qa.padding||0)/2;select(Id).attr("transform","translate( "+(vd.width>Nd.width?0:(Nd.width-vd.width)/2)+", "+(Nd.height+Fd+5)+")"),select(md).attr("transform","translate( "+(vd.width<Nd.width?0:-(Nd.width-vd.width)/2)+", 0)"),vd=dd.node().getBBox(),dd.attr("transform","translate("+-vd.width/2+", "+(-vd.height/2-Fd+3)+")");const Md=vd.width+(qa.padding||0),Ld=vd.height+(qa.padding||0),Hd=-vd.width/2-Fd,Gd=-vd.height/2-Fd;let Vd,Kd;if(qa.look==="handDrawn"){const Zd=at$2.svg(ud),Xd=userNodeOverrides(qa,{}),bf=Zd.path(createRoundedRectPathD(Hd,Gd,Md,Ld,qa.rx||0),Xd),yf=Zd.line(-vd.width/2-Fd,-vd.height/2-Fd+Nd.height+Fd,vd.width/2+Fd,-vd.height/2-Fd+Nd.height+Fd,Xd);Kd=ud.insert(()=>(log$1.debug("Rough node insert CXC",bf),yf),":first-child"),Vd=ud.insert(()=>(log$1.debug("Rough node insert CXC",bf),bf),":first-child")}else Vd=cd.insert("rect",":first-child"),Kd=cd.insert("line"),Vd.attr("class","outer title-state").attr("style",od).attr("x",-vd.width/2-Fd).attr("y",-vd.height/2-Fd).attr("width",vd.width+(qa.padding||0)).attr("height",vd.height+(qa.padding||0)),Kd.attr("class","divider").attr("x1",-vd.width/2-Fd).attr("x2",vd.width/2+Fd).attr("y1",-vd.height/2-Fd+Nd.height+Fd).attr("y2",-vd.height/2-Fd+Nd.height+Fd);return updateNodeBounds(qa,Vd),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:cd}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=(qa==null?void 0:qa.padding)??0,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=-ud.width/2-dd,vd=-ud.height/2-dd,{cssStyles:Ad}=qa,Nd=at$2.svg(ld),Id=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const kd=[{x:md,y:vd},{x:md+pd+8,y:vd},{x:md+pd+8,y:vd+fd},{x:md-8,y:vd+fd},{x:md-8,y:vd},{x:md,y:vd},{x:md,y:vd+fd}],jd=Nd.polygon(kd.map(Md=>[Md.x,Md.y]),Id),Fd=ld.insert(()=>jd,":first-child");return Fd.attr("class","basic label-container").attr("style",handleUndefinedAttr(Ad)),od&&qa.look!=="handDrawn"&&Fd.selectAll("path").attr("style",od),Ad&&qa.look!=="handDrawn"&&Fd.selectAll("path").attr("style",od),cd.attr("transform",`translate(${-pd/2+4+(qa.padding??0)-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Fd),qa.intersect=function(Md){return intersect_default.rect(qa,Md)},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:cd}=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,{cssStyles:vd}=qa,Ad=at$2.svg(ld),Nd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Nd.roughness=0,Nd.fillStyle="solid");const Id=[{x:fd,y:md},{x:fd,y:md+pd},{x:fd+dd,y:md+pd},{x:fd+dd,y:md-pd/2}],kd=createPathFromPoints(Id),jd=Ad.path(kd,Nd),Fd=ld.insert(()=>jd,":first-child");return Fd.attr("class","basic label-container"),vd&&qa.look!=="handDrawn"&&Fd.selectChildren("path").attr("style",vd),od&&qa.look!=="handDrawn"&&Fd.selectChildren("path").attr("style",od),Fd.attr("transform",`translate(0, ${pd/4})`),cd.attr("transform",`translate(${-dd/2+(qa.padding??0)-(ud.x-(ud.left??0))}, ${-pd/4+(qa.padding??0)-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Fd),qa.intersect=function(Md){return intersect_default.polygon(qa,Id,Md)},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)),cd=ud.height+qa.padding,dd=ud.width+cd/4+qa.padding;let pd;const{cssStyles:fd}=qa;if(qa.look==="handDrawn"){const md=at$2.svg(ld),vd=userNodeOverrides(qa,{}),Ad=createRoundedRectPathD(-dd/2,-cd/2,dd,cd,cd/2),Nd=md.path(Ad,vd);pd=ld.insert(()=>Nd,":first-child"),pd.attr("class","basic label-container").attr("style",handleUndefinedAttr(fd))}else pd=ld.insert("rect",":first-child"),pd.attr("class","basic label-container").attr("style",od).attr("rx",cd/2).attr("ry",cd/2).attr("x",-dd/2).attr("y",-cd/2).attr("width",dd).attr("height",cd);return updateNodeBounds(qa,pd),qa.intersect=function(md){return intersect_default.rect(qa,md)},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:cd,stateBorder:dd,nodeBorder:pd}=nd,fd=Ra.insert("g").attr("class","node default").attr("id",qa.domId||qa.id),md=at$2.svg(fd),vd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(vd.roughness=0,vd.fillStyle="solid");const Ad=md.circle(0,0,14,{...vd,stroke:cd,strokeWidth:2}),Nd=dd??pd,Id=md.circle(0,0,5,{...vd,fill:Nd,stroke:Nd,strokeWidth:2,fillStyle:"solid"}),kd=fd.insert(()=>Ad,":first-child");return kd.insert(()=>Id),ud&&kd.selectAll("path").attr("style",ud),ld&&kd.selectAll("path").attr("style",ld),updateNodeBounds(qa,kd),qa.intersect=function(jd){return intersect_default.circle(qa,7,jd)},fd}__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 dd=at$2.svg(ld).circle(0,0,14,solidStateFill(od));ud=ld.insert(()=>dd),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(cd){return intersect_default.circle(qa,7,cd)},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)),cd=((qa==null?void 0:qa.padding)||0)/2,dd=ud.width+qa.padding,pd=ud.height+qa.padding,fd=-ud.width/2-cd,md=-ud.height/2-cd,vd=[{x:0,y:0},{x:dd,y:0},{x:dd,y:-pd},{x:0,y:-pd},{x:0,y:0},{x:-8,y:0},{x:dd+8,y:0},{x:dd+8,y:-pd},{x:-8,y:-pd},{x:-8,y:0}];if(qa.look==="handDrawn"){const Ad=at$2.svg(ld),Nd=userNodeOverrides(qa,{}),Id=Ad.rectangle(fd-8,md,dd+16,pd,Nd),kd=Ad.line(fd,md,fd,md+pd,Nd),jd=Ad.line(fd+dd,md,fd+dd,md+pd,Nd);ld.insert(()=>kd,":first-child"),ld.insert(()=>jd,":first-child");const Fd=ld.insert(()=>Id,":first-child"),{cssStyles:Md}=qa;Fd.attr("class","basic label-container").attr("style",handleUndefinedAttr(Md)),updateNodeBounds(qa,Fd)}else{const Ad=insertPolygonShape(ld,dd,pd,vd);od&&Ad.attr("style",od),updateNodeBounds(qa,Ad)}return qa.intersect=function(Ad){return intersect_default.polygon(qa,vd,Ad)},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)),cd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),dd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),pd=-cd/2,fd=-dd/2,md=.2*dd,vd=.2*dd,{cssStyles:Ad}=qa,Nd=at$2.svg(ld),Id=userNodeOverrides(qa,{}),kd=[{x:pd-md/2,y:fd},{x:pd+cd+md/2,y:fd},{x:pd+cd+md/2,y:fd+dd},{x:pd-md/2,y:fd+dd}],jd=[{x:pd+cd-md/2,y:fd+dd},{x:pd+cd+md/2,y:fd+dd},{x:pd+cd+md/2,y:fd+dd-vd}];qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const Fd=createPathFromPoints(kd),Md=Nd.path(Fd,Id),Ld=createPathFromPoints(jd),Hd=Nd.path(Ld,{...Id,fillStyle:"solid"}),Gd=ld.insert(()=>Hd,":first-child");return Gd.insert(()=>Md,":first-child"),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),updateNodeBounds(qa,Gd),qa.intersect=function(Vd){return intersect_default.polygon(qa,kd,Vd)},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:cd}=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=pd/4,md=.2*dd,vd=.2*pd,Ad=pd+fd,{cssStyles:Nd}=qa,Id=at$2.svg(ld),kd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(kd.roughness=0,kd.fillStyle="solid");const jd=[{x:-dd/2-dd/2*.1,y:Ad/2},...generateFullSineWavePoints(-dd/2-dd/2*.1,Ad/2,dd/2+dd/2*.1,Ad/2,fd,.8),{x:dd/2+dd/2*.1,y:-Ad/2},{x:-dd/2-dd/2*.1,y:-Ad/2}],Fd=-dd/2+dd/2*.1,Md=-Ad/2-vd*.4,Ld=[{x:Fd+dd-md,y:(Md+pd)*1.4},{x:Fd+dd,y:Md+pd-vd},{x:Fd+dd,y:(Md+pd)*.9},...generateFullSineWavePoints(Fd+dd,(Md+pd)*1.3,Fd+dd-md,(Md+pd)*1.5,-pd*.03,.5)],Hd=createPathFromPoints(jd),Gd=Id.path(Hd,kd),Vd=createPathFromPoints(Ld),Kd=Id.path(Vd,{...kd,fillStyle:"solid"}),mf=ld.insert(()=>Kd,":first-child");return mf.insert(()=>Gd,":first-child"),mf.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&mf.selectAll("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&mf.selectAll("path").attr("style",od),mf.attr("transform",`translate(0,${-fd/2})`),cd.attr("transform",`translate(${-dd/2+(qa.padding??0)-(ud.x-(ud.left??0))},${-pd/2+(qa.padding??0)-fd/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,mf),qa.intersect=function(Wd){return intersect_default.polygon(qa,jd,Wd)},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)),cd=Math.max(ud.width+qa.padding,(qa==null?void 0:qa.width)||0),dd=Math.max(ud.height+qa.padding,(qa==null?void 0:qa.height)||0),pd=-cd/2,fd=-dd/2,md=ld.insert("rect",":first-child");return md.attr("class","text").attr("style",od).attr("rx",0).attr("ry",0).attr("x",pd).attr("y",fd).attr("width",cd).attr("height",dd),updateNodeBounds(qa,md),qa.intersect=function(vd){return intersect_default.rect(qa,vd)},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:cd,halfPadding:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=qa.look==="neo"?dd*2:dd,fd=ud.height+pd,md=fd/2,vd=md/(2.5+fd/50),Ad=ud.width+vd+pd,{cssStyles:Nd}=qa;let Id;if(qa.look==="handDrawn"){const kd=at$2.svg(ld),jd=createOuterCylinderPathD3(0,0,Ad,fd,vd,md),Fd=createInnerCylinderPathD3(0,0,Ad,fd,vd,md),Md=kd.path(jd,userNodeOverrides(qa,{})),Ld=kd.path(Fd,userNodeOverrides(qa,{fill:"none"}));Id=ld.insert(()=>Ld,":first-child"),Id=ld.insert(()=>Md,":first-child"),Id.attr("class","basic label-container"),Nd&&Id.attr("style",Nd)}else{const kd=createCylinderPathD3(0,0,Ad,fd,vd,md);Id=ld.insert("path",":first-child").attr("d",kd).attr("class","basic label-container").attr("style",handleUndefinedAttr(Nd)).attr("style",od),Id.attr("class","basic label-container"),Nd&&Id.selectAll("path").attr("style",Nd),od&&Id.selectAll("path").attr("style",od)}return Id.attr("label-offset-x",vd),Id.attr("transform",`translate(${-Ad/2}, ${fd/2} )`),cd.attr("transform",`translate(${-(ud.width/2)-vd-(ud.x-(ud.left??0))}, ${-(ud.height/2)-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Id),qa.intersect=function(kd){const jd=intersect_default.rect(qa,kd),Fd=jd.y-(qa.y??0);if(md!=0&&(Math.abs(Fd)<(qa.height??0)/2||Math.abs(Fd)==(qa.height??0)/2&&Math.abs(jd.x-(qa.x??0))>(qa.width??0)/2-vd)){let Md=vd*vd*(1-Fd*Fd/(md*md));Md!=0&&(Md=Math.sqrt(Math.abs(Md))),Md=vd-Md,kd.x-(qa.x??0)>0&&(Md=-Md),jd.x+=Md}return jd},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)),cd=ud.width+qa.padding,dd=ud.height+qa.padding,pd=[{x:-3*dd/6,y:0},{x:cd+3*dd/6,y:0},{x:cd,y:-dd},{x:0,y:-dd}];let fd;const{cssStyles:md}=qa;if(qa.look==="handDrawn"){const vd=at$2.svg(ld),Ad=userNodeOverrides(qa,{}),Nd=createPathFromPoints(pd),Id=vd.path(Nd,Ad);fd=ld.insert(()=>Id,":first-child").attr("transform",`translate(${-cd/2}, ${dd/2})`),md&&fd.attr("style",md)}else fd=insertPolygonShape(ld,cd,dd,pd);return od&&fd.attr("style",od),qa.width=cd,qa.height=dd,updateNodeBounds(qa,fd),qa.intersect=function(vd){return intersect_default.polygon(qa,pd,vd)},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)),cd=60,dd=20,pd=Math.max(cd,ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(dd,ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),{cssStyles:md}=qa,vd=at$2.svg(ld),Ad=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Ad.roughness=0,Ad.fillStyle="solid");const Nd=[{x:-pd/2*.8,y:-fd/2},{x:pd/2*.8,y:-fd/2},{x:pd/2,y:-fd/2*.6},{x:pd/2,y:fd/2},{x:-pd/2,y:fd/2},{x:-pd/2,y:-fd/2*.6}],Id=createPathFromPoints(Nd),kd=vd.path(Id,Ad),jd=ld.insert(()=>kd,":first-child");return jd.attr("class","basic label-container"),md&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",md),od&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",od),updateNodeBounds(qa,jd),qa.intersect=function(Fd){return intersect_default.polygon(qa,Nd,Fd)},ld}__name(trapezoidalPentagon,"trapezoidalPentagon");async function triangle(Ra,qa){var Md;const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:cd}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=evaluate((Md=getConfig2().flowchart)==null?void 0:Md.htmlLabels),pd=ud.width+(qa.padding??0),fd=pd+ud.height,md=pd+ud.height,vd=[{x:0,y:0},{x:md,y:0},{x:md/2,y:-fd}],{cssStyles:Ad}=qa,Nd=at$2.svg(ld),Id=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const kd=createPathFromPoints(vd),jd=Nd.path(kd,Id),Fd=ld.insert(()=>jd,":first-child").attr("transform",`translate(${-fd/2}, ${fd/2})`);return Ad&&qa.look!=="handDrawn"&&Fd.selectChildren("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&Fd.selectChildren("path").attr("style",od),qa.width=pd,qa.height=fd,updateNodeBounds(qa,Fd),cd.attr("transform",`translate(${-ud.width/2-(ud.x-(ud.left??0))}, ${fd/2-(ud.height+(qa.padding??0)/(dd?2:1)-(ud.y-(ud.top??0)))})`),qa.intersect=function(Ld){return log$1.info("Triangle intersect",qa,vd,Ld),intersect_default.polygon(qa,vd,Ld)},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:cd}=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=pd/8,md=pd+fd,{cssStyles:vd}=qa,Nd=70-dd,Id=Nd>0?Nd/2:0,kd=at$2.svg(ld),jd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(jd.roughness=0,jd.fillStyle="solid");const Fd=[{x:-dd/2-Id,y:md/2},...generateFullSineWavePoints(-dd/2-Id,md/2,dd/2+Id,md/2,fd,.8),{x:dd/2+Id,y:-md/2},{x:-dd/2-Id,y:-md/2}],Md=createPathFromPoints(Fd),Ld=kd.path(Md,jd),Hd=ld.insert(()=>Ld,":first-child");return Hd.attr("class","basic label-container"),vd&&qa.look!=="handDrawn"&&Hd.selectAll("path").attr("style",vd),od&&qa.look!=="handDrawn"&&Hd.selectAll("path").attr("style",od),Hd.attr("transform",`translate(0,${-fd/2})`),cd.attr("transform",`translate(${-dd/2+(qa.padding??0)-(ud.x-(ud.left??0))},${-pd/2+(qa.padding??0)-fd-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Hd),qa.intersect=function(Gd){return intersect_default.polygon(qa,Fd,Gd)},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)),cd=100,dd=50,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/fd;let vd=pd,Ad=fd;vd>Ad*md?Ad=vd/md:vd=Ad*md,vd=Math.max(vd,cd),Ad=Math.max(Ad,dd);const Nd=Math.min(Ad*.2,Ad/4),Id=Ad+Nd*2,{cssStyles:kd}=qa,jd=at$2.svg(ld),Fd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Fd.roughness=0,Fd.fillStyle="solid");const Md=[{x:-vd/2,y:Id/2},...generateFullSineWavePoints(-vd/2,Id/2,vd/2,Id/2,Nd,1),{x:vd/2,y:-Id/2},...generateFullSineWavePoints(vd/2,-Id/2,-vd/2,-Id/2,Nd,-1)],Ld=createPathFromPoints(Md),Hd=jd.path(Ld,Fd),Gd=ld.insert(()=>Hd,":first-child");return Gd.attr("class","basic label-container"),kd&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",kd),od&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",od),updateNodeBounds(qa,Gd),qa.intersect=function(Vd){return intersect_default.polygon(qa,Md,Vd)},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:cd}=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=5,md=-dd/2,vd=-pd/2,{cssStyles:Ad}=qa,Nd=at$2.svg(ld),Id=userNodeOverrides(qa,{}),kd=[{x:md-fd,y:vd-fd},{x:md-fd,y:vd+pd},{x:md+dd,y:vd+pd},{x:md+dd,y:vd-fd}],jd=`M${md-fd},${vd-fd} L${md+dd},${vd-fd} L${md+dd},${vd+pd} L${md-fd},${vd+pd} L${md-fd},${vd-fd}
|
||
M${md-fd},${vd} L${md+dd},${vd}
|
||
M${md},${vd-fd} L${md},${vd+pd}`;qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const Fd=Nd.path(jd,Id),Md=ld.insert(()=>Fd,":first-child");return Md.attr("transform",`translate(${fd/2}, ${fd/2})`),Md.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&Md.selectAll("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&Md.selectAll("path").attr("style",od),cd.attr("transform",`translate(${-(ud.width/2)+fd/2-(ud.x-(ud.left??0))}, ${-(ud.height/2)+fd/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Md),qa.intersect=function(Ld){return intersect_default.polygon(qa,kd,Ld)},ld}__name(windowPane,"windowPane");async function textHelper(Ra,qa,nd,od,ld=nd.class.padding??12){const ud=od?0:3,cd=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId||qa.id);let dd=null,pd=null,fd=null,md=null,vd=0,Ad=0,Nd=0;if(dd=cd.insert("g").attr("class","annotation-group text"),qa.annotations.length>0){const Md=qa.annotations[0];await addText(dd,{text:`«${Md}»`},0),vd=dd.node().getBBox().height}pd=cd.insert("g").attr("class","label-group text"),await addText(pd,qa,0,["font-weight: bolder"]);const Id=pd.node().getBBox();Ad=Id.height,fd=cd.insert("g").attr("class","members-group text");let kd=0;for(const Md of qa.members){const Ld=await addText(fd,Md,kd,[Md.parseClassifier()]);kd+=Ld+ud}Nd=fd.node().getBBox().height,Nd<=0&&(Nd=ld/2),md=cd.insert("g").attr("class","methods-group text");let jd=0;for(const Md of qa.methods){const Ld=await addText(md,Md,jd,[Md.parseClassifier()]);jd+=Ld+ud}let Fd=cd.node().getBBox();if(dd!==null){const Md=dd.node().getBBox();dd.attr("transform",`translate(${-Md.width/2})`)}return pd.attr("transform",`translate(${-Id.width/2}, ${vd})`),Fd=cd.node().getBBox(),fd.attr("transform",`translate(0, ${vd+Ad+ld*2})`),Fd=cd.node().getBBox(),md.attr("transform",`translate(0, ${vd+Ad+(Nd?Nd+ld*4:ld*2)})`),Fd=cd.node().getBBox(),{shapeSvg:cd,bbox:Fd}}__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 cd="useHtmlLabels"in qa?qa.useHtmlLabels:evaluate(ud.htmlLabels)??!0,dd="";"text"in qa?dd=qa.text:dd=qa.label,!cd&&dd.startsWith("\\")&&(dd=dd.substring(1)),hasKatex(dd)&&(cd=!0);const pd=await createText(ld,sanitizeText3(decodeEntities(dd)),{width:calculateTextWidth(dd,ud)+50,classes:"markdown-node-label",useHtmlLabels:cd},ud);let fd,md=1;if(cd){const vd=pd.children[0],Ad=select(pd);md=vd.innerHTML.split("<br>").length,vd.innerHTML.includes("</math>")&&(md+=vd.innerHTML.split("<mrow>").length-1);const Nd=vd.getElementsByTagName("img");if(Nd){const Id=dd.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...Nd].map(kd=>new Promise(jd=>{function Fd(){var Md;if(kd.style.display="flex",kd.style.flexDirection="column",Id){const Ld=((Md=ud.fontSize)==null?void 0:Md.toString())??window.getComputedStyle(document.body).fontSize,Gd=parseInt(Ld,10)*5+"px";kd.style.minWidth=Gd,kd.style.maxWidth=Gd}else kd.style.width="100%";jd(kd)}__name(Fd,"setupImage"),setTimeout(()=>{kd.complete&&Fd()}),kd.addEventListener("error",Fd),kd.addEventListener("load",Fd)})))}fd=vd.getBoundingClientRect(),Ad.attr("width",fd.width),Ad.attr("height",fd.height)}else{od.includes("font-weight: bolder")&&select(pd).selectAll("tspan").attr("font-weight",""),md=pd.children.length;const vd=pd.children[0];(pd.textContent===""||pd.textContent.includes(">"))&&(vd.textContent=dd[0]+dd.substring(1).replaceAll(">",">").replaceAll("<","<").trim(),dd[1]===" "&&(vd.textContent=vd.textContent[0]+" "+vd.textContent.substring(1))),vd.textContent==="undefined"&&(vd.textContent=""),fd=pd.getBBox()}return ld.attr("transform","translate(0,"+(-fd.height/(2*md)+nd)+")"),fd.height}__name(addText,"addText");async function classBox(Ra,qa){var Wd,Zd;const nd=getConfig2(),od=nd.class.padding??12,ld=od,ud=qa.useHtmlLabels??evaluate(nd.htmlLabels)??!0,cd=qa;cd.annotations=cd.annotations??[],cd.members=cd.members??[],cd.methods=cd.methods??[];const{shapeSvg:dd,bbox:pd}=await textHelper(Ra,qa,nd,ud,ld),{labelStyles:fd,nodeStyles:md}=styles2String(qa);qa.labelStyle=fd,qa.cssStyles=cd.styles||"";const vd=((Wd=cd.styles)==null?void 0:Wd.join(";"))||md||"";qa.cssStyles||(qa.cssStyles=vd.replaceAll("!important","").split(";"));const Ad=cd.members.length===0&&cd.methods.length===0&&!((Zd=nd.class)!=null&&Zd.hideEmptyMembersBox),Nd=at$2.svg(dd),Id=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const kd=pd.width;let jd=pd.height;cd.members.length===0&&cd.methods.length===0?jd+=ld:cd.members.length>0&&cd.methods.length===0&&(jd+=ld*2);const Fd=-kd/2,Md=-jd/2,Ld=Nd.rectangle(Fd-od,Md-od-(Ad?od:cd.members.length===0&&cd.methods.length===0?-od/2:0),kd+2*od,jd+2*od+(Ad?od*2:cd.members.length===0&&cd.methods.length===0?-od:0),Id),Hd=dd.insert(()=>Ld,":first-child");Hd.attr("class","basic label-container");const Gd=Hd.node().getBBox();dd.selectAll(".text").each((Xd,bf,yf)=>{var Xf;const Ef=select(yf[bf]),gf=Ef.attr("transform");let xf=0;if(gf){const Zf=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(gf);Zf&&(xf=parseFloat(Zf[2]))}let Af=xf+Md+od-(Ad?od:cd.members.length===0&&cd.methods.length===0?-od/2:0);ud||(Af-=4);let Lf=Fd;(Ef.attr("class").includes("label-group")||Ef.attr("class").includes("annotation-group"))&&(Lf=-((Xf=Ef.node())==null?void 0:Xf.getBBox().width)/2||0,dd.selectAll("text").each(function(Jf,Zf,Bf){window.getComputedStyle(Bf[Zf]).textAnchor==="middle"&&(Lf=0)})),Ef.attr("transform",`translate(${Lf}, ${Af})`)});const Vd=dd.select(".annotation-group").node().getBBox().height-(Ad?od/2:0)||0,Kd=dd.select(".label-group").node().getBBox().height-(Ad?od/2:0)||0,mf=dd.select(".members-group").node().getBBox().height-(Ad?od/2:0)||0;if(cd.members.length>0||cd.methods.length>0||Ad){const Xd=Nd.line(Gd.x,Vd+Kd+Md+od,Gd.x+Gd.width,Vd+Kd+Md+od,Id);dd.insert(()=>Xd).attr("class","divider").attr("style",vd)}if(Ad||cd.members.length>0||cd.methods.length>0){const Xd=Nd.line(Gd.x,Vd+Kd+mf+Md+ld*2+od,Gd.x+Gd.width,Vd+Kd+mf+Md+od+ld*2,Id);dd.insert(()=>Xd).attr("class","divider").attr("style",vd)}if(cd.look!=="handDrawn"&&dd.selectAll("path").attr("style",vd),Hd.select(":nth-child(2)").attr("style",vd),dd.selectAll(".divider").select("path").attr("style",vd),qa.labelStyle?dd.selectAll("span").attr("style",qa.labelStyle):dd.selectAll("span").attr("style",vd),!ud){const Xd=RegExp(/color\s*:\s*([^;]*)/),bf=Xd.exec(vd);if(bf){const yf=bf[0].replace("color","fill");dd.selectAll("tspan").attr("style",yf)}else if(fd){const yf=Xd.exec(fd);if(yf){const Ef=yf[0].replace("color","fill");dd.selectAll("tspan").attr("style",Ef)}}}return updateNodeBounds(qa,Hd),qa.intersect=function(Xd){return intersect_default.rect(qa,Xd)},dd}__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 bf,yf;const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.labelStyle=od||"";const ud=10,cd=qa.width;qa.width=(qa.width??200)-10;const{shapeSvg:dd,bbox:pd,label:fd}=await labelHelper(Ra,qa,getNodeClasses(qa)),md=qa.padding||10;let vd="",Ad;"ticket"in qa&&qa.ticket&&((bf=nd==null?void 0:nd.kanban)!=null&&bf.ticketBaseUrl)&&(vd=(yf=nd==null?void 0:nd.kanban)==null?void 0:yf.ticketBaseUrl.replace("#TICKET#",qa.ticket),Ad=dd.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",vd).attr("target","_blank"));const Nd={useHtmlLabels:qa.useHtmlLabels,labelStyle:qa.labelStyle||"",width:qa.width,img:qa.img,padding:qa.padding||8,centerLabel:!1};let Id,kd;Ad?{label:Id,bbox:kd}=await insertLabel(Ad,"ticket"in qa&&qa.ticket||"",Nd):{label:Id,bbox:kd}=await insertLabel(dd,"ticket"in qa&&qa.ticket||"",Nd);const{label:jd,bbox:Fd}=await insertLabel(dd,"assigned"in qa&&qa.assigned||"",Nd);qa.width=cd;const Md=10,Ld=(qa==null?void 0:qa.width)||0,Hd=Math.max(kd.height,Fd.height)/2,Gd=Math.max(pd.height+Md*2,(qa==null?void 0:qa.height)||0)+Hd,Vd=-Ld/2,Kd=-Gd/2;fd.attr("transform","translate("+(md-Ld/2)+", "+(-Hd-pd.height/2)+")"),Id.attr("transform","translate("+(md-Ld/2)+", "+(-Hd+pd.height/2)+")"),jd.attr("transform","translate("+(md+Ld/2-Fd.width-2*ud)+", "+(-Hd+pd.height/2)+")");let mf;const{rx:Wd,ry:Zd}=qa,{cssStyles:Xd}=qa;if(qa.look==="handDrawn"){const Ef=at$2.svg(dd),gf=userNodeOverrides(qa,{}),xf=Wd||Zd?Ef.path(createRoundedRectPathD(Vd,Kd,Ld,Gd,Wd||0),gf):Ef.rectangle(Vd,Kd,Ld,Gd,gf);mf=dd.insert(()=>xf,":first-child"),mf.attr("class","basic label-container").attr("style",Xd||null)}else{mf=dd.insert("rect",":first-child"),mf.attr("class","basic label-container __APA__").attr("style",ld).attr("rx",Wd??5).attr("ry",Zd??5).attr("x",Vd).attr("y",Kd).attr("width",Ld).attr("height",Gd);const Ef="priority"in qa&&qa.priority;if(Ef){const gf=dd.append("line"),xf=Vd+2,Af=Kd+Math.floor((Wd??0)/2),Lf=Kd+Gd-Math.floor((Wd??0)/2);gf.attr("x1",xf).attr("y1",Af).attr("x2",xf).attr("y2",Lf).attr("stroke-width","4").attr("stroke",colorFromPriority(Ef))}}return updateNodeBounds(qa,mf),qa.height=Gd,qa.intersect=function(Ef){return intersect_default.rect(qa,Ef)},dd}__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 cd;nd.config.securityLevel==="sandbox"?cd="_top":qa.linkTarget&&(cd=qa.linkTarget||"_blank"),od=Ra.insert("svg:a").attr("xlink:href",qa.link).attr("target",cd??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],cd=ld-nd,dd=ud-od;return{angle:Math.atan(dd/cd),deltaX:cd,deltaY:dd}}__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:Nd,deltaX:Id}=calculateDeltaAndAngle(od[0],od[1]);ld=markerOffsets[Ra.arrowTypeStart]*Math.cos(Nd)*(Id>=0?1:-1)}else if(nd===od.length-1&&Object.hasOwn(markerOffsets,Ra.arrowTypeEnd)){const{angle:Nd,deltaX:Id}=calculateDeltaAndAngle(od[od.length-1],od[od.length-2]);ld=markerOffsets[Ra.arrowTypeEnd]*Math.cos(Nd)*(Id>=0?1:-1)}const cd=Math.abs(pointTransformer(qa).x-pointTransformer(od[od.length-1]).x),dd=Math.abs(pointTransformer(qa).y-pointTransformer(od[od.length-1]).y),pd=Math.abs(pointTransformer(qa).x-pointTransformer(od[0]).x),fd=Math.abs(pointTransformer(qa).y-pointTransformer(od[0]).y),md=markerOffsets[Ra.arrowTypeStart],vd=markerOffsets[Ra.arrowTypeEnd],Ad=1;if(cd<vd&&cd>0&&dd<vd){let Nd=vd+Ad-cd;Nd*=ud==="right"?-1:1,ld-=Nd}if(pd<md&&pd>0&&fd<md){let Nd=md+Ad-pd;Nd*=ud==="right"?-1:1,ld+=Nd}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:Nd,deltaY:Id}=calculateDeltaAndAngle(od[0],od[1]);ld=markerOffsets[Ra.arrowTypeStart]*Math.abs(Math.sin(Nd))*(Id>=0?1:-1)}else if(nd===od.length-1&&Object.hasOwn(markerOffsets,Ra.arrowTypeEnd)){const{angle:Nd,deltaY:Id}=calculateDeltaAndAngle(od[od.length-1],od[od.length-2]);ld=markerOffsets[Ra.arrowTypeEnd]*Math.abs(Math.sin(Nd))*(Id>=0?1:-1)}const cd=Math.abs(pointTransformer(qa).y-pointTransformer(od[od.length-1]).y),dd=Math.abs(pointTransformer(qa).x-pointTransformer(od[od.length-1]).x),pd=Math.abs(pointTransformer(qa).y-pointTransformer(od[0]).y),fd=Math.abs(pointTransformer(qa).x-pointTransformer(od[0]).x),md=markerOffsets[Ra.arrowTypeStart],vd=markerOffsets[Ra.arrowTypeEnd],Ad=1;if(cd<vd&&cd>0&&dd<vd){let Nd=vd+Ad-cd;Nd*=ud==="up"?-1:1,ld-=Nd}if(pd<md&&pd>0&&fd<md){let Nd=md+Ad-pd;Nd*=ud==="up"?-1:1,ld+=Nd}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 cd=arrowTypesMap[nd];if(!cd){log$1.warn(`Unknown arrow type: ${nd}`);return}const dd=qa==="start"?"Start":"End";Ra.attr(`marker-${qa}`,`url(${od}#${ld}_${ud}-${cd}${dd})`)},"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 cd=od.getBBox();if(nd){const pd=od.children[0],fd=select(od);cd=pd.getBoundingClientRect(),fd.attr("width",cd.width),fd.attr("height",cd.height)}ud.attr("transform","translate("+-cd.width/2+", "+-cd.height/2+")"),edgeLabels.set(qa.id,ld),qa.width=cd.width,qa.height=cd.height;let dd;if(qa.startLabelLeft){const pd=await createLabel_default(qa.startLabelLeft,getLabelStyles(qa.labelStyle)),fd=Ra.insert("g").attr("class","edgeTerminals"),md=fd.insert("g").attr("class","inner");dd=md.node().appendChild(pd);const vd=pd.getBBox();md.attr("transform","translate("+-vd.width/2+", "+-vd.height/2+")"),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).startLeft=fd,setTerminalWidth(dd,qa.startLabelLeft)}if(qa.startLabelRight){const pd=await createLabel_default(qa.startLabelRight,getLabelStyles(qa.labelStyle)),fd=Ra.insert("g").attr("class","edgeTerminals"),md=fd.insert("g").attr("class","inner");dd=fd.node().appendChild(pd),md.node().appendChild(pd);const vd=pd.getBBox();md.attr("transform","translate("+-vd.width/2+", "+-vd.height/2+")"),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).startRight=fd,setTerminalWidth(dd,qa.startLabelRight)}if(qa.endLabelLeft){const pd=await createLabel_default(qa.endLabelLeft,getLabelStyles(qa.labelStyle)),fd=Ra.insert("g").attr("class","edgeTerminals"),md=fd.insert("g").attr("class","inner");dd=md.node().appendChild(pd);const vd=pd.getBBox();md.attr("transform","translate("+-vd.width/2+", "+-vd.height/2+")"),fd.node().appendChild(pd),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).endLeft=fd,setTerminalWidth(dd,qa.endLabelLeft)}if(qa.endLabelRight){const pd=await createLabel_default(qa.endLabelRight,getLabelStyles(qa.labelStyle)),fd=Ra.insert("g").attr("class","edgeTerminals"),md=fd.insert("g").attr("class","inner");dd=md.node().appendChild(pd);const vd=pd.getBBox();md.attr("transform","translate("+-vd.width/2+", "+-vd.height/2+")"),fd.node().appendChild(pd),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).endRight=fd,setTerminalWidth(dd,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 cd=Ra.x,dd=Ra.y;if(nd){const pd=utils_default.calcLabelPosition(nd);log$1.debug("Moving label "+Ra.label+" from (",cd,",",dd,") to (",pd.x,",",pd.y,") abc88"),qa.updatedPath&&(cd=pd.x,dd=pd.y)}ud.attr("transform",`translate(${cd}, ${dd+ld/2})`)}if(Ra.startLabelLeft){const ud=terminalLabels.get(Ra.id).startLeft;let cd=Ra.x,dd=Ra.y;if(nd){const pd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeStart?10:0,"start_left",nd);cd=pd.x,dd=pd.y}ud.attr("transform",`translate(${cd}, ${dd})`)}if(Ra.startLabelRight){const ud=terminalLabels.get(Ra.id).startRight;let cd=Ra.x,dd=Ra.y;if(nd){const pd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeStart?10:0,"start_right",nd);cd=pd.x,dd=pd.y}ud.attr("transform",`translate(${cd}, ${dd})`)}if(Ra.endLabelLeft){const ud=terminalLabels.get(Ra.id).endLeft;let cd=Ra.x,dd=Ra.y;if(nd){const pd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeEnd?10:0,"end_left",nd);cd=pd.x,dd=pd.y}ud.attr("transform",`translate(${cd}, ${dd})`)}if(Ra.endLabelRight){const ud=terminalLabels.get(Ra.id).endRight;let cd=Ra.x,dd=Ra.y;if(nd){const pd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeEnd?10:0,"end_right",nd);cd=pd.x,dd=pd.y}ud.attr("transform",`translate(${cd}, ${dd})`)}},"positionEdgeLabel"),outsideNode=__name((Ra,qa)=>{const nd=Ra.x,od=Ra.y,ld=Math.abs(qa.x-nd),ud=Math.abs(qa.y-od),cd=Ra.width/2,dd=Ra.height/2;return ld>=cd||ud>=dd},"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),cd=Ra.width/2;let dd=nd.x<qa.x?cd-ud:cd+ud;const pd=Ra.height/2,fd=Math.abs(qa.y-nd.y),md=Math.abs(qa.x-nd.x);if(Math.abs(ld-qa.y)*cd>Math.abs(od-qa.x)*pd){let vd=nd.y<qa.y?qa.y-pd-ld:ld-pd-qa.y;dd=md*vd/fd;const Ad={x:nd.x<qa.x?nd.x+dd:nd.x-md+dd,y:nd.y<qa.y?nd.y+fd-vd:nd.y-fd+vd};return dd===0&&(Ad.x=qa.x,Ad.y=qa.y),md===0&&(Ad.x=qa.x),fd===0&&(Ad.y=qa.y),log$1.debug(`abc89 top/bottom calc, Q ${fd}, q ${vd}, R ${md}, r ${dd}`,Ad),Ad}else{nd.x<qa.x?dd=qa.x-cd-od:dd=od-cd-qa.x;let vd=fd*dd/md,Ad=nd.x<qa.x?nd.x+md-dd:nd.x-md+dd,Nd=nd.y<qa.y?nd.y+vd:nd.y-vd;return log$1.debug(`sides calc abc89, Q ${fd}, q ${vd}, R ${md}, r ${dd}`,{_x:Ad,_y:Nd}),dd===0&&(Ad=qa.x,Nd=qa.y),md===0&&(Ad=qa.x),fd===0&&(Nd=qa.y),{x:Ad,y:Nd}}},"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 cd=intersection(qa,od,ud);log$1.debug("abc88 inside",ud,od,cd),log$1.debug("abc88 intersection",cd,qa);let dd=!1;nd.forEach(pd=>{dd=dd||pd.x===cd.x&&pd.y===cd.y}),nd.some(pd=>pd.x===cd.x&&pd.y===cd.y)?log$1.warn("abc88 no intersect",cd,nd):nd.push(cd),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],cd=Ra[od+1];(ld.x===ud.x&&ud.y===cd.y&&Math.abs(ud.x-cd.x)>5&&Math.abs(ud.y-ld.y)>5||ld.y===ud.y&&ud.x===cd.x&&Math.abs(ud.x-ld.x)>5&&Math.abs(ud.y-cd.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),cd=nd/ud;return{x:qa.x-cd*od,y:qa.y-cd*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],cd=Ra[od],dd=findAdjacentPoint(ld,cd,5),pd=findAdjacentPoint(ud,cd,5),fd=pd.x-dd.x,md=pd.y-dd.y;nd.push(dd);const vd=Math.sqrt(2)*2;let Ad={x:cd.x,y:cd.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 Nd=5;cd.x===dd.x?Ad={x:fd<0?dd.x-Nd+vd:dd.x+Nd-vd,y:md<0?dd.y-vd:dd.y+vd}:Ad={x:fd<0?dd.x-vd:dd.x+vd,y:md<0?dd.y-Nd+vd:dd.y+Nd-vd}}else log$1.debug("Corner point skipping fixing",Math.abs(ud.x-ld.x),Math.abs(ud.y-ld.y));nd.push(Ad,pd)}else nd.push(Ra[od]);return nd},"fixCorners"),insertEdge=__name(function(Ra,qa,nd,od,ld,ud,cd){const{handDrawnSeed:dd}=getConfig2();let pd=qa.points,fd=!1;const md=ld;var vd=ud;vd.intersect&&md.intersect&&(pd=pd.slice(1,qa.points.length-1),pd.unshift(md.intersect(pd[0])),log$1.debug("Last point APA12",qa.start,"-->",qa.end,pd[pd.length-1],vd,vd.intersect(pd[pd.length-1])),pd.push(vd.intersect(pd[pd.length-1]))),qa.toCluster&&(log$1.info("to cluster abc88",nd.get(qa.toCluster)),pd=cutPathAtIntersect(qa.points,nd.get(qa.toCluster).node),fd=!0),qa.fromCluster&&(log$1.debug("from cluster abc88",nd.get(qa.fromCluster),JSON.stringify(pd,null,2)),pd=cutPathAtIntersect(pd.reverse(),nd.get(qa.fromCluster).node).reverse(),fd=!0);let Ad=pd.filter(Kd=>!Number.isNaN(Kd.y));Ad=fixCorners(Ad);let Nd=curveBasis;qa.curve&&(Nd=qa.curve);const{x:Id,y:kd}=getLineFunctionsWithOffset(qa),jd=line$1().x(Id).y(kd).curve(Nd);let Fd;switch(qa.thickness){case"normal":Fd="edge-thickness-normal";break;case"thick":Fd="edge-thickness-thick";break;case"invisible":Fd="edge-thickness-invisible";break;default:Fd="edge-thickness-normal"}switch(qa.pattern){case"solid":Fd+=" edge-pattern-solid";break;case"dotted":Fd+=" edge-pattern-dotted";break;case"dashed":Fd+=" edge-pattern-dashed";break;default:Fd+=" edge-pattern-solid"}let Md,Ld=jd(Ad);const Hd=Array.isArray(qa.style)?qa.style:[qa.style];if(qa.look==="handDrawn"){const Kd=at$2.svg(Ra);Object.assign([],Ad);const mf=Kd.path(Ld,{roughness:.3,seed:dd});Fd+=" transition",Md=select(mf).select("path").attr("id",qa.id).attr("class"," "+Fd+(qa.classes?" "+qa.classes:"")).attr("style",Hd?Hd.reduce((Zd,Xd)=>Zd+";"+Xd,""):"");let Wd=Md.attr("d");Md.attr("d",Wd),Ra.node().appendChild(Md.node())}else Md=Ra.append("path").attr("d",Ld).attr("id",qa.id).attr("class"," "+Fd+(qa.classes?" "+qa.classes:"")).attr("style",Hd?Hd.reduce((Kd,mf)=>Kd+";"+mf,""):"");let Gd="";(getConfig2().flowchart.arrowMarkerAbsolute||getConfig2().state.arrowMarkerAbsolute)&&(Gd=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Gd=Gd.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),log$1.info("arrowTypeStart",qa.arrowTypeStart),log$1.info("arrowTypeEnd",qa.arrowTypeEnd),addEdgeMarkers(Md,qa,Gd,cd,od);let Vd={};return fd&&(Vd.updatedPath=pd),Vd.originalPath=qa.points,Vd},"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-C6Bw3sfJ.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="11.4.1",selectSvgElement=__name(Ra=>{var ld;const{securityLevel:qa}=getConfig2();let nd=select("body");if(qa==="sandbox"){const cd=((ld=select(`#i${Ra}`).node())==null?void 0:ld.contentDocument)??document;nd=select(cd.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,cd,dd){return{value:Ra,root:qa,parent:nd,type:od,props:ld,children:ud,line,column,length:cd,return:"",siblings:dd}}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,cd,dd,pd){for(var fd=0,md=0,vd=cd,Ad=0,Nd=0,Id=0,kd=1,jd=1,Fd=1,Md=0,Ld="",Hd=ld,Gd=ud,Vd=od,Kd=Ld;jd;)switch(Id=Md,Md=next()){case 40:if(Id!=108&&charat(Kd,vd-1)==58){indexof(Kd+=replace(delimit(Md),"&","&\f"),"&\f",abs(fd?dd[fd-1]:0))!=-1&&(Fd=-1);break}case 34:case 39:case 91:Kd+=delimit(Md);break;case 9:case 10:case 13:case 32:Kd+=whitespace(Id);break;case 92:Kd+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),qa,nd,pd),pd),(token$1(Id||1)==5||token$1(peek()||1)==5)&&strlen(Kd)&&substr(Kd,-1,void 0)!==" "&&(Kd+=" ");break;default:Kd+="/"}break;case 123*kd:dd[fd++]=strlen(Kd)*Fd;case 125*kd:case 59:case 0:switch(Md){case 0:case 125:jd=0;case 59+md:Fd==-1&&(Kd=replace(Kd,/\f/g,"")),Nd>0&&(strlen(Kd)-vd||kd===0&&Id===47)&&append(Nd>32?declaration(Kd+";",od,nd,vd-1,pd):declaration(replace(Kd," ","")+";",od,nd,vd-2,pd),pd);break;case 59:Kd+=";";default:if(append(Vd=ruleset(Kd,qa,nd,fd,md,ld,dd,Ld,Hd=[],Gd=[],vd,ud),ud),Md===123)if(md===0)parse$1(Kd,qa,Vd,Vd,Hd,ud,vd,dd,Gd);else switch(Ad===99&&charat(Kd,3)===110?100:Ad){case 100:case 108:case 109:case 115:parse$1(Ra,Vd,Vd,od&&append(ruleset(Ra,Vd,Vd,0,0,ld,dd,Ld,ld,Hd=[],vd,Gd),Gd),ld,Gd,vd,dd,od?Hd:Gd);break;default:parse$1(Kd,Vd,Vd,Vd,[""],Gd,0,dd,Gd)}}fd=md=Nd=0,kd=Fd=1,Ld=Kd="",vd=cd;break;case 58:vd=1+strlen(Kd),Nd=Id;default:if(kd<1){if(Md==123)--kd;else if(Md==125&&kd++==0&&prev()==125)continue}switch(Kd+=from(Md),Md*kd){case 38:Fd=md>0?1:(Kd+="\f",-1);break;case 44:dd[fd++]=(strlen(Kd)-1)*Fd,Fd=1;break;case 64:peek()===45&&(Kd+=delimit(next())),Ad=peek(),md=vd=strlen(Ld=Kd+=identifier(caret())),Md++;break;case 45:Id===45&&strlen(Kd)==2&&(kd=0)}}return ud}function ruleset(Ra,qa,nd,od,ld,ud,cd,dd,pd,fd,md,vd){for(var Ad=ld-1,Nd=ld===0?ud:[""],Id=sizeof(Nd),kd=0,jd=0,Fd=0;kd<od;++kd)for(var Md=0,Ld=substr(Ra,Ad+1,Ad=abs(jd=cd[kd])),Hd=Ra;Md<Id;++Md)(Hd=trim$1(jd>0?Nd[Md]+" "+Ld:replace(Ld,/&\f/g,Nd[Md])))&&(pd[Fd++]=Hd);return node(Ra,qa,nd,ld===0?RULESET:dd,pd,fd,md,vd)}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-Bo8iRMZe.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-iwvhrFse.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-iwvhrFse.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-C-ZZX0xo.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-DoN_69LB.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-DJI8qIMl.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-D_AvH6ZW.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-B-SXgTIS.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-DA21hi8e.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-N0UdcSSx.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-DEi8zSiB.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-DJm_ZwpE.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-sNzAbPK1.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-sNzAbPK1.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-Bgaw7aZf.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-BzVHmmXJ.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-D9_bNiOv.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-iwvhrFse.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-TumqxOAg.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-BD_tpQYE.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-BqcHDv2d.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-DlaLijwH.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-u3nKv2hX.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-Ba4tsS4T.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-DFHgvLTz.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:cd}=await ld();registerDiagram(cd,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 gE,Diagram=(gE=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 fd,md;const od=getConfig$1(),ld=detectType$1(qa,od);qa=encodeEntities(qa)+`
|
||
`;try{getDiagram(ld)}catch{const vd=getDiagramLoader(ld);if(!vd)throw new UnknownDiagramError(`Diagram ${ld} not found.`);const{id:Ad,diagram:Nd}=await vd();registerDiagram(Ad,Nd)}const{db:ud,parser:cd,renderer:dd,init:pd}=getDiagram(ld);return cd.parser&&(cd.parser.yy=ud),(fd=ud.clear)==null||fd.call(ud),pd==null||pd(od),nd.title&&((md=ud.setDiagramTitle)==null||md.call(ud,nd.title)),await cd.parse(qa),new gE(ld,qa,ud,cd,dd)}async render(qa,nd){await this.renderer.draw(this.text,qa,nd,this)}getParser(){return this.parser}getType(){return this.type}},__name(gE,"Diagram"),gE),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(Ra){const qa=new TextEncoder().encode(Ra),nd=Array.from(qa,od=>String.fromCodePoint(od)).join("");return btoa(nd)}__name(toBase64,"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 dd=Ra.htmlLabels??((od=Ra.flowchart)==null?void 0:od.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];qa.forEach(pd=>{isEmpty$1(pd.styles)||dd.forEach(fd=>{nd+=cssImportantStyles(pd.id,fd,pd.styles)}),isEmpty$1(pd.textStyles)||(nd+=cssImportantStyles(pd.id,"tspan",((pd==null?void 0:pd.textStyles)||[]).map(fd=>fd.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(`<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 cd=ud.append("svg").attr("id",qa).attr("width","100%").attr("xmlns",XMLNS_SVG_STD);return ld&&cd.attr("xmlns:xlink",ld),cd.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,cd;(ld=Ra.getElementById(qa))==null||ld.remove(),(ud=Ra.getElementById(nd))==null||ud.remove(),(cd=Ra.getElementById(od))==null||cd.remove()},"removeExistingElements"),render=__name(async function(Ra,qa,nd){var bf,yf,Ef,gf,xf,Af;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,cd="i"+Ra,dd="#"+cd,pd="d"+Ra,fd="#"+pd,md=__name(()=>{const Xf=select(Ad?dd:fd).node();Xf&&"remove"in Xf&&Xf.remove()},"removeTempElements");let vd=select("body");const Ad=ld.securityLevel===SECURITY_LVL_SANDBOX,Nd=ld.securityLevel===SECURITY_LVL_LOOSE,Id=ld.fontFamily;if(nd!==void 0){if(nd&&(nd.innerHTML=""),Ad){const Lf=sandboxedIframe(select(nd),cd);vd=select(Lf.nodes()[0].contentDocument.body),vd.node().style.margin=0}else vd=select(nd);appendDivSvgG(vd,Ra,pd,`font-family: ${Id}`,XMLNS_XLINK_STD)}else{if(removeExistingElements(document,Ra,pd,cd),Ad){const Lf=sandboxedIframe(select("body"),cd);vd=select(Lf.nodes()[0].contentDocument.body),vd.node().style.margin=0}else vd=select("body");appendDivSvgG(vd,Ra,pd)}let kd,jd;try{kd=await Diagram.fromText(qa,{title:od.title})}catch(Lf){if(ld.suppressErrorRendering)throw md(),Lf;kd=await Diagram.fromText("error"),jd=Lf}const Fd=vd.select(fd).node(),Md=kd.type,Ld=Fd.firstChild,Hd=Ld.firstChild,Gd=(yf=(bf=kd.renderer).getClasses)==null?void 0:yf.call(bf,qa,kd),Vd=createUserStyles(ld,Md,Gd,ud),Kd=document.createElement("style");Kd.innerHTML=Vd,Ld.insertBefore(Kd,Hd);try{await kd.renderer.draw(qa,Ra,version,kd)}catch(Lf){throw ld.suppressErrorRendering?md():errorRenderer_default.draw(qa,Ra,version),Lf}const mf=vd.select(`${fd} svg`),Wd=(gf=(Ef=kd.db).getAccTitle)==null?void 0:gf.call(Ef),Zd=(Af=(xf=kd.db).getAccDescription)==null?void 0:Af.call(xf);addA11yInfo(Md,mf,Wd,Zd),vd.select(`[id="${Ra}"]`).selectAll("foreignobject > *").attr("xmlns",XMLNS_XHTML_STD);let Xd=vd.select(fd).node().innerHTML;if(log$1.debug("config.arrowMarkerAbsolute",ld.arrowMarkerAbsolute),Xd=cleanUpSvgCode(Xd,Ad,evaluate(ld.arrowMarkerAbsolute)),Ad){const Lf=vd.select(fd+" svg").node();Xd=putIntoIFrame(Xd,Lf)}else Nd||(Xd=purify.sanitize(Xd,{ADD_TAGS:DOMPURIFY_TAGS,ADD_ATTR:DOMPURIFY_ATTR,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));if(attachFunctions(),jd)throw jd;return md(),{diagramType:Md,svg:Xd,bindFunctions:kd.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 cd;const dd=[];for(const pd of Array.from(ld)){if(log$1.info("Rendering diagram: "+pd.id),pd.getAttribute("data-processed"))continue;pd.setAttribute("data-processed","true");const fd=`mermaid-${ud.next()}`;cd=pd.innerHTML,cd=dedent(utils_default.entityDecode(cd)).trim().replace(/<br\s*\/?>/gi,"<br/>");const md=utils_default.detectInit(cd);md&&log$1.debug("Detected early reinit: ",md);try{const{svg:vd,bindFunctions:Ad}=await render2(fd,cd,pd);pd.innerHTML=vd,Ra&&await Ra(fd),Ad&&Ad(pd)}catch(vd){handleError(vd,dd,mermaid.parseError)}}if(dd.length>0)throw dd[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,cd)=>{mermaidAPI.parse(Ra,qa).then(dd=>{ud(dd),nd(dd)},dd=>{var pd;log$1.error("Error parsing",dd),(pd=mermaid.parseError)==null||pd.call(mermaid,dd),cd(dd),od(dd)})}),"performCall");executionQueue.push(ld),executeQueue().catch(od)}),"parse"),render2=__name((Ra,qa,nd)=>new Promise((od,ld)=>{const ud=__name(()=>new Promise((cd,dd)=>{mermaidAPI.render(Ra,qa,nd).then(pd=>{cd(pd),od(pd)},pd=>{var fd;log$1.error("Error parsing",pd),(fd=mermaid.parseError)==null||fd.call(mermaid,pd),dd(pd),ld(pd)})}),"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 cd,dd,pd,fd;if(ld.type!=="blockquote")return;const ud=od.find(({type:md})=>new RegExp(createSyntaxPattern(md),"i").test(ld.text));if(ud){const{type:md,icon:vd,title:Ad=ucfirst(md),titleClassName:Nd=`${qa}-title`}=ud,Id=new RegExp(createSyntaxPattern(md),"i"),{styles:kd}=Ra;Object.assign(ld,{type:"alert",meta:{className:qa,variant:md,icon:vd,title:Ad,titleClassName:Nd,wrapperStyle:{...kd==null?void 0:kd.blockquote,...kd==null?void 0:kd[`blockquote_${md}`]},titleStyle:{...kd==null?void 0:kd.blockquote_title,...kd==null?void 0:kd[`blockquote_title_${md}`]},contentStyle:{...kd==null?void 0:kd.blockquote_p,...kd==null?void 0:kd[`blockquote_p_${md}`]}}});const jd=(cd=ld.tokens)==null?void 0:cd[0];if((dd=jd.raw)==null?void 0:dd.replace(Id,"").trim()){const Md=jd.tokens[0];Object.assign(Md,{raw:Md.raw.replace(Id,""),text:Md.text.replace(Id,"")}),((pd=jd.tokens[1])==null?void 0:pd.type)==="br"&&jd.tokens.splice(1,1)}else(fd=ld.tokens)==null||fd.shift()}},extensions:[{name:"alert",level:"block",renderer({meta:ld,tokens:ud=[]}){var pd;let cd=this.parser.parse(ud);cd=cd.replace(/<p .*?>/g,`<p style="${getStyleString(ld.contentStyle)}">`);let dd=`<blockquote class="${ld.className} ${ld.className}-${ld.variant}" style="${getStyleString(ld.wrapperStyle)}">
|
||
`;return dd+=`<p class="${ld.titleClassName}" style="${getStyleString(ld.titleStyle)}">`,dd+=ld.icon.replace("<svg",`<svg style="fill: ${((pd=ld.titleStyle)==null?void 0:pd.color)??"inherit"}"`),dd+=ld.title,dd+=`</p>
|
||
`,dd+=cd,dd+=`</blockquote>
|
||
`,dd}}]}}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,cd=ld;for(;cd;){if(ud=cd.indexOf("$"),ud===-1)return;if((nd?ud>-1:ud===0||cd.charAt(ud-1)===" ")&&cd.substring(ud).match(od))return ud;cd=cd.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 cd=dd=>Object.fromEntries(Object.entries(dd).map(([pd,fd])=>[pd,toMerged(ud,fd)]));return{...cd(ld.inline),...cd(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,cd=!1;function dd(Id,kd=""){return getStyles(od,Id,kd)}function pd(Id,kd,jd){const Fd=jd??Id;return`<${Fd} ${dd(Id)}>${kd}</${Fd}>`}function fd(Id,kd){return qa.push([++nd,Id,kd]),nd}function md(Id){qa.length=0,nd=0,vd(Id)}function vd(Id){Ra={...Ra,...Id},od=buildTheme(Ra),marked$1.use(markedAlert({styles:od}))}const Ad=()=>qa.length?pd("h4","引用链接")+pd("footnotes",buildFootnoteArray(qa),"p"):"",Nd={heading({tokens:Id,depth:kd}){const jd=this.parser.parseInline(Id),Fd=`h${kd}`;return pd(Fd,jd)},paragraph({tokens:Id}){const kd=this.parser.parseInline(Id),jd=kd.includes("<figure")&&kd.includes("<img"),Fd=kd.trim()==="";return jd||Fd?kd:pd("p",kd)},blockquote({tokens:Id}){let kd=this.parser.parse(Id);return kd=kd.replace(/<p .*?>/g,`<p ${dd("blockquote_p")}>`),pd("blockquote",kd)},code({text:Id,lang:kd=""}){if(kd.startsWith("mermaid"))return clearTimeout(ld),ld=setTimeout(()=>{mermaid_default.run()},0),`<pre class="mermaid">${Id}</pre>`;const jd=kd.split(" ")[0],Fd=HighlightJS.getLanguage(jd)?jd:"plaintext";let Md=HighlightJS.highlight(Id,{language:Fd}).value;Md=Md.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>").replace(/(>[^<]+)|(^[^<]+)/g,Gd=>Gd.replace(/\s/g," "));const Ld=`<span class="mac-sign" style="padding: 10px 14px 0;" hidden>${macCodeSvg}</span>`,Hd=`<code class="language-${kd}" ${dd("code")}>${Md}</code>`;return`<pre class="hljs code__pre" ${dd("code_pre")}>${Ld}${Hd}</pre>`},codespan({text:Id}){return pd("codespan",Id,"code")},listitem(Id){const kd=cd?`${ud+1}. `:"• ",jd=Id.tokens.map(Fd=>this[Fd.type](Fd)).join("");return pd("listitem",`${kd}${jd}`,"li")},list({ordered:Id,items:kd,start:jd=1}){const Fd=[];for(let Ld=0;Ld<kd.length;Ld++){cd=Id,ud=Number(jd)+Ld-1;const Hd=kd[Ld];Fd.push(this.listitem(Hd))}return pd(Id?"ol":"ul",Fd.join(""))},image({href:Id,title:kd,text:jd}){const Fd=pd("figcaption",transform$1(Ra.legend,jd,kd)),Md=dd("figure"),Ld=dd("image");return`<figure ${Md}><img ${Ld} src="${Id}" title="${kd}" alt="${jd}"/>${Fd}</figure>`},link({href:Id,title:kd,text:jd,tokens:Fd}){const Md=this.parser.parseInline(Fd);if(Id.startsWith("https://mp.weixin.qq.com"))return`<a href="${Id}" title="${kd||jd}" ${dd("wx_link")}>${Md}</a>`;if(Id===jd)return Md;if(Ra.citeStatus){const Ld=fd(kd||jd,Id);return`<span ${dd("link")}>${Md}<sup>[${Ld}]</sup></span>`}return pd("link",Md,"span")},strong({tokens:Id}){return pd("strong",this.parser.parseInline(Id))},em({tokens:Id}){return pd("em",this.parser.parseInline(Id),"span")},table({header:Id,rows:kd}){const jd=Id.map(Md=>this.tablecell(Md)).join(""),Fd=kd.map(Md=>{const Ld=Md.map(Hd=>this.tablecell(Hd)).join("");return pd("tr",Ld)}).join("");return`
|
||
<section style="padding:0 8px; max-width: 100%; overflow: auto">
|
||
<table class="preview-table">
|
||
<thead ${dd("thead")}>${jd}</thead>
|
||
<tbody>${Fd}</tbody>
|
||
</table>
|
||
</section>
|
||
`},tablecell(Id){const kd=this.parser.parseInline(Id.tokens);return pd("td",kd)},hr(Id){return pd("hr","")}};return marked$1.use({renderer:Nd}),{buildAddition,buildFootnotes:Ad,setOptions:vd,reset:md}}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),cd=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(nd),dd=/Edge\/(\d+)/.exec(nd),pd=ud||cd||dd,fd=pd&&(ud?document.documentMode||6:+(dd||cd)[1]),md=!dd&&/WebKit\//.test(nd),vd=md&&/Qt\/\d+\.\d+/.test(nd),Ad=!dd&&/Chrome\/(\d+)/.exec(nd),Nd=Ad&&+Ad[1],Id=/Opera\//.test(nd),kd=/Apple Computer/.test(navigator.vendor),jd=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(nd),Fd=/PhantomJS/.test(nd),Md=kd&&(/Mobile\/\w+/.test(nd)||navigator.maxTouchPoints>2),Ld=/Android/.test(nd),Hd=Md||Ld||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(nd),Gd=Md||/Mac/.test(od),Vd=/\bCrOS\b/.test(nd),Kd=/win/i.test(od),mf=Id&&nd.match(/Version\/(\d*\.\d*)/);mf&&(mf=Number(mf[1])),mf&&mf>=15&&(Id=!1,md=!0);var Wd=Gd&&(vd||Id&&(mf==null||mf<12.11)),Zd=ld||pd&&fd>=9;function Xd(Od){return new RegExp("(^|\\s)"+Od+"(?:$|\\s)\\s*")}var bf=function(Od,Ud){var Jd=Od.className,Qd=Xd(Ud).exec(Jd);if(Qd){var pf=Jd.slice(Qd.index+Qd[0].length);Od.className=Jd.slice(0,Qd.index)+(pf?Qd[1]+pf:"")}};function yf(Od){for(var Ud=Od.childNodes.length;Ud>0;--Ud)Od.removeChild(Od.firstChild);return Od}function Ef(Od,Ud){return yf(Od).appendChild(Ud)}function gf(Od,Ud,Jd,Qd){var pf=document.createElement(Od);if(Jd&&(pf.className=Jd),Qd&&(pf.style.cssText=Qd),typeof Ud=="string")pf.appendChild(document.createTextNode(Ud));else if(Ud)for(var Cf=0;Cf<Ud.length;++Cf)pf.appendChild(Ud[Cf]);return pf}function xf(Od,Ud,Jd,Qd){var pf=gf(Od,Ud,Jd,Qd);return pf.setAttribute("role","presentation"),pf}var Af;document.createRange?Af=function(Od,Ud,Jd,Qd){var pf=document.createRange();return pf.setEnd(Qd||Od,Jd),pf.setStart(Od,Ud),pf}:Af=function(Od,Ud,Jd){var Qd=document.body.createTextRange();try{Qd.moveToElementText(Od.parentNode)}catch{return Qd}return Qd.collapse(!0),Qd.moveEnd("character",Jd),Qd.moveStart("character",Ud),Qd};function Lf(Od,Ud){if(Ud.nodeType==3&&(Ud=Ud.parentNode),Od.contains)return Od.contains(Ud);do if(Ud.nodeType==11&&(Ud=Ud.host),Ud==Od)return!0;while(Ud=Ud.parentNode)}function Xf(Od){var Ud=Od.ownerDocument||Od,Jd;try{Jd=Od.activeElement}catch{Jd=Ud.body||null}for(;Jd&&Jd.shadowRoot&&Jd.shadowRoot.activeElement;)Jd=Jd.shadowRoot.activeElement;return Jd}function Jf(Od,Ud){var Jd=Od.className;Xd(Ud).test(Jd)||(Od.className+=(Jd?" ":"")+Ud)}function Zf(Od,Ud){for(var Jd=Od.split(" "),Qd=0;Qd<Jd.length;Qd++)Jd[Qd]&&!Xd(Jd[Qd]).test(Ud)&&(Ud+=" "+Jd[Qd]);return Ud}var Bf=function(Od){Od.select()};Md?Bf=function(Od){Od.selectionStart=0,Od.selectionEnd=Od.value.length}:pd&&(Bf=function(Od){try{Od.select()}catch{}});function Df(Od){return Od.display.wrapper.ownerDocument}function Uf(Od){return Gf(Od.display.wrapper)}function Gf(Od){return Od.getRootNode?Od.getRootNode():Od.ownerDocument}function zf(Od){return Df(Od).defaultView}function Tf(Od){var Ud=Array.prototype.slice.call(arguments,1);return function(){return Od.apply(null,Ud)}}function vf(Od,Ud,Jd){Ud||(Ud={});for(var Qd in Od)Od.hasOwnProperty(Qd)&&(Jd!==!1||!Ud.hasOwnProperty(Qd))&&(Ud[Qd]=Od[Qd]);return Ud}function qf(Od,Ud,Jd,Qd,pf){Ud==null&&(Ud=Od.search(/[^\s\u00a0]/),Ud==-1&&(Ud=Od.length));for(var Cf=Qd||0,jf=pf||0;;){var Kf=Od.indexOf(" ",Cf);if(Kf<0||Kf>=Ud)return jf+(Ud-Cf);jf+=Kf-Cf,jf+=Jd-jf%Jd,Cf=Kf+1}}var eh=function(){this.id=null,this.f=null,this.time=0,this.handler=Tf(this.onTimeout,this)};eh.prototype.onTimeout=function(Od){Od.id=0,Od.time<=+new Date?Od.f():setTimeout(Od.handler,Od.time-+new Date)},eh.prototype.set=function(Od,Ud){this.f=Ud;var Jd=+new Date+Od;(!this.id||Jd<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,Od),this.time=Jd)};function ch(Od,Ud){for(var Jd=0;Jd<Od.length;++Jd)if(Od[Jd]==Ud)return Jd;return-1}var ih=50,Pf={toString:function(){return"CodeMirror.Pass"}},uh={scroll:!1},xh={origin:"*mouse"},Qf={origin:"+move"};function wf(Od,Ud,Jd){for(var Qd=0,pf=0;;){var Cf=Od.indexOf(" ",Qd);Cf==-1&&(Cf=Od.length);var jf=Cf-Qd;if(Cf==Od.length||pf+jf>=Ud)return Qd+Math.min(jf,Ud-pf);if(pf+=Cf-Qd,pf+=Jd-pf%Jd,Qd=Cf+1,pf>=Ud)return Qd}}var $f=[""];function Wf(Od){for(;$f.length<=Od;)$f.push(Th($f)+" ");return $f[Od]}function Th(Od){return Od[Od.length-1]}function vh(Od,Ud){for(var Jd=[],Qd=0;Qd<Od.length;Qd++)Jd[Qd]=Ud(Od[Qd],Qd);return Jd}function ph(Od,Ud,Jd){for(var Qd=0,pf=Jd(Ud);Qd<Od.length&&Jd(Od[Qd])<=pf;)Qd++;Od.splice(Qd,0,Ud)}function Vh(){}function wh(Od,Ud){var Jd;return Object.create?Jd=Object.create(Od):(Vh.prototype=Od,Jd=new Vh),Ud&&vf(Ud,Jd),Jd}var fm=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Nm(Od){return/\w/.test(Od)||Od>""&&(Od.toUpperCase()!=Od.toLowerCase()||fm.test(Od))}function cm(Od,Ud){return Ud?Ud.source.indexOf("\\w")>-1&&Nm(Od)?!0:Ud.test(Od):Nm(Od)}function Sm(Od){for(var Ud in Od)if(Od.hasOwnProperty(Ud)&&Od[Ud])return!1;return!0}var $m=/[\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 fh(Od){return Od.charCodeAt(0)>=768&&$m.test(Od)}function Rf(Od,Ud,Jd){for(;(Jd<0?Ud>0:Ud<Od.length)&&fh(Od.charAt(Ud));)Ud+=Jd;return Ud}function If(Od,Ud,Jd){for(var Qd=Ud>Jd?-1:1;;){if(Ud==Jd)return Ud;var pf=(Ud+Jd)/2,Cf=Qd<0?Math.ceil(pf):Math.floor(pf);if(Cf==Ud)return Od(Cf)?Ud:Jd;Od(Cf)?Jd=Cf:Ud=Cf+Qd}}function dh(Od,Ud,Jd,Qd){if(!Od)return Qd(Ud,Jd,"ltr",0);for(var pf=!1,Cf=0;Cf<Od.length;++Cf){var jf=Od[Cf];(jf.from<Jd&&jf.to>Ud||Ud==Jd&&jf.to==Ud)&&(Qd(Math.max(jf.from,Ud),Math.min(jf.to,Jd),jf.level==1?"rtl":"ltr",Cf),pf=!0)}pf||Qd(Ud,Jd,"ltr")}var yh=null;function Uh(Od,Ud,Jd){var Qd;yh=null;for(var pf=0;pf<Od.length;++pf){var Cf=Od[pf];if(Cf.from<Ud&&Cf.to>Ud)return pf;Cf.to==Ud&&(Cf.from!=Cf.to&&Jd=="before"?Qd=pf:yh=pf),Cf.from==Ud&&(Cf.from!=Cf.to&&Jd!="before"?Qd=pf:yh=pf)}return Qd??yh}var Zh=function(){var Od="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",Ud="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function Jd(mh){return mh<=247?Od.charAt(mh):1424<=mh&&mh<=1524?"R":1536<=mh&&mh<=1785?Ud.charAt(mh-1536):1774<=mh&&mh<=2220?"r":8192<=mh&&mh<=8203?"w":mh==8204?"b":"L"}var Qd=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,pf=/[stwN]/,Cf=/[LRr]/,jf=/[Lb1n]/,Kf=/[1n]/;function sh(mh,Mh,Jh){this.level=mh,this.from=Mh,this.to=Jh}return function(mh,Mh){var Jh=Mh=="ltr"?"L":"R";if(mh.length==0||Mh=="ltr"&&!Qd.test(mh))return!1;for(var hm=mh.length,pm=[],Rm=0;Rm<hm;++Rm)pm.push(Jd(mh.charCodeAt(Rm)));for(var jm=0,Ym=Jh;jm<hm;++jm){var n_=pm[jm];n_=="m"?pm[jm]=Ym:Ym=n_}for(var a_=0,t_=Jh;a_<hm;++a_){var u_=pm[a_];u_=="1"&&t_=="r"?pm[a_]="n":Cf.test(u_)&&(t_=u_,u_=="r"&&(pm[a_]="R"))}for(var g_=1,m_=pm[0];g_<hm-1;++g_){var R_=pm[g_];R_=="+"&&m_=="1"&&pm[g_+1]=="1"?pm[g_]="1":R_==","&&m_==pm[g_+1]&&(m_=="1"||m_=="n")&&(pm[g_]=m_),m_=R_}for(var ng=0;ng<hm;++ng){var Ng=pm[ng];if(Ng==",")pm[ng]="N";else if(Ng=="%"){var gg=void 0;for(gg=ng+1;gg<hm&&pm[gg]=="%";++gg);for(var Sg=ng&&pm[ng-1]=="!"||gg<hm&&pm[gg]=="1"?"1":"N",Og=ng;Og<gg;++Og)pm[Og]=Sg;ng=gg-1}}for(var Rg=0,ab=Jh;Rg<hm;++Rg){var Jg=pm[Rg];ab=="L"&&Jg=="1"?pm[Rg]="L":Cf.test(Jg)&&(ab=Jg)}for(var Bg=0;Bg<hm;++Bg)if(pf.test(pm[Bg])){var kg=void 0;for(kg=Bg+1;kg<hm&&pf.test(pm[kg]);++kg);for(var xg=(Bg?pm[Bg-1]:Jh)=="L",cb=(kg<hm?pm[kg]:Jh)=="L",Ov=xg==cb?xg?"L":"R":Jh,H0=Bg;H0<kg;++H0)pm[H0]=Ov;Bg=kg-1}for(var tb=[],o0,Wg=0;Wg<hm;)if(jf.test(pm[Wg])){var XT=Wg;for(++Wg;Wg<hm&&jf.test(pm[Wg]);++Wg);tb.push(new sh(0,XT,Wg))}else{var l0=Wg,G0=tb.length,q0=Mh=="rtl"?1:0;for(++Wg;Wg<hm&&pm[Wg]!="L";++Wg);for(var sb=l0;sb<Wg;)if(Kf.test(pm[sb])){l0<sb&&(tb.splice(G0,0,new sh(1,l0,sb)),G0+=q0);var kv=sb;for(++sb;sb<Wg&&Kf.test(pm[sb]);++sb);tb.splice(G0,0,new sh(2,kv,sb)),G0+=q0,l0=sb}else++sb;l0<Wg&&tb.splice(G0,0,new sh(1,l0,Wg))}return Mh=="ltr"&&(tb[0].level==1&&(o0=mh.match(/^\s+/))&&(tb[0].from=o0[0].length,tb.unshift(new sh(0,0,o0[0].length))),Th(tb).level==1&&(o0=mh.match(/\s+$/))&&(Th(tb).to-=o0[0].length,tb.push(new sh(0,hm-o0[0].length,hm)))),Mh=="rtl"?tb.reverse():tb}}();function _m(Od,Ud){var Jd=Od.order;return Jd==null&&(Jd=Od.order=Zh(Od.text,Ud)),Jd}var Um=[],Om=function(Od,Ud,Jd){if(Od.addEventListener)Od.addEventListener(Ud,Jd,!1);else if(Od.attachEvent)Od.attachEvent("on"+Ud,Jd);else{var Qd=Od._handlers||(Od._handlers={});Qd[Ud]=(Qd[Ud]||Um).concat(Jd)}};function r_(Od,Ud){return Od._handlers&&Od._handlers[Ud]||Um}function Xm(Od,Ud,Jd){if(Od.removeEventListener)Od.removeEventListener(Ud,Jd,!1);else if(Od.detachEvent)Od.detachEvent("on"+Ud,Jd);else{var Qd=Od._handlers,pf=Qd&&Qd[Ud];if(pf){var Cf=ch(pf,Jd);Cf>-1&&(Qd[Ud]=pf.slice(0,Cf).concat(pf.slice(Cf+1)))}}}function s_(Od,Ud){var Jd=r_(Od,Ud);if(Jd.length)for(var Qd=Array.prototype.slice.call(arguments,2),pf=0;pf<Jd.length;++pf)Jd[pf].apply(null,Qd)}function b_(Od,Ud,Jd){return typeof Ud=="string"&&(Ud={type:Ud,preventDefault:function(){this.defaultPrevented=!0}}),s_(Od,Jd||Ud.type,Od,Ud),L_(Ud)||Ud.codemirrorIgnore}function H_(Od){var Ud=Od._handlers&&Od._handlers.cursorActivity;if(Ud)for(var Jd=Od.curOp.cursorActivityHandlers||(Od.curOp.cursorActivityHandlers=[]),Qd=0;Qd<Ud.length;++Qd)ch(Jd,Ud[Qd])==-1&&Jd.push(Ud[Qd])}function x_(Od,Ud){return r_(Od,Ud).length>0}function M_(Od){Od.prototype.on=function(Ud,Jd){Om(this,Ud,Jd)},Od.prototype.off=function(Ud,Jd){Xm(this,Ud,Jd)}}function h_(Od){Od.preventDefault?Od.preventDefault():Od.returnValue=!1}function tg(Od){Od.stopPropagation?Od.stopPropagation():Od.cancelBubble=!0}function L_(Od){return Od.defaultPrevented!=null?Od.defaultPrevented:Od.returnValue==!1}function dg(Od){h_(Od),tg(Od)}function yg(Od){return Od.target||Od.srcElement}function q_(Od){var Ud=Od.which;return Ud==null&&(Od.button&1?Ud=1:Od.button&2?Ud=3:Od.button&4&&(Ud=2)),Gd&&Od.ctrlKey&&Ud==1&&(Ud=3),Ud}var Y_=function(){if(pd&&fd<9)return!1;var Od=gf("div");return"draggable"in Od||"dragDrop"in Od}(),Qm;function Zg(Od){if(Qm==null){var Ud=gf("span","");Ef(Od,gf("span",[Ud,document.createTextNode("x")])),Od.firstChild.offsetHeight!=0&&(Qm=Ud.offsetWidth<=1&&Ud.offsetHeight>2&&!(pd&&fd<8))}var Jd=Qm?gf("span",""):gf("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return Jd.setAttribute("cm-text",""),Jd}var db;function $g(Od){if(db!=null)return db;var Ud=Ef(Od,document.createTextNode("AخA")),Jd=Af(Ud,0,1).getBoundingClientRect(),Qd=Af(Ud,1,2).getBoundingClientRect();return yf(Od),!Jd||Jd.left==Jd.right?!1:db=Qd.right-Jd.right<3}var Of=`
|
||
|
||
b`.split(/\n/).length!=3?function(Od){for(var Ud=0,Jd=[],Qd=Od.length;Ud<=Qd;){var pf=Od.indexOf(`
|
||
`,Ud);pf==-1&&(pf=Od.length);var Cf=Od.slice(Ud,Od.charAt(pf-1)=="\r"?pf-1:pf),jf=Cf.indexOf("\r");jf!=-1?(Jd.push(Cf.slice(0,jf)),Ud+=jf+1):(Jd.push(Cf),Ud=pf+1)}return Jd}:function(Od){return Od.split(/\r\n?|\n/)},Ch=window.getSelection?function(Od){try{return Od.selectionStart!=Od.selectionEnd}catch{return!1}}:function(Od){var Ud;try{Ud=Od.ownerDocument.selection.createRange()}catch{}return!Ud||Ud.parentElement()!=Od?!1:Ud.compareEndPoints("StartToEnd",Ud)!=0},_h=function(){var Od=gf("div");return"oncopy"in Od?!0:(Od.setAttribute("oncopy","return;"),typeof Od.oncopy=="function")}(),Sh=null;function Wh(Od){if(Sh!=null)return Sh;var Ud=Ef(Od,gf("span","x")),Jd=Ud.getBoundingClientRect(),Qd=Af(Ud,0,1).getBoundingClientRect();return Sh=Math.abs(Jd.left-Qd.left)>1}var Fh={},om={};function im(Od,Ud){arguments.length>2&&(Ud.dependencies=Array.prototype.slice.call(arguments,2)),Fh[Od]=Ud}function Rh(Od,Ud){om[Od]=Ud}function Im(Od){if(typeof Od=="string"&&om.hasOwnProperty(Od))Od=om[Od];else if(Od&&typeof Od.name=="string"&&om.hasOwnProperty(Od.name)){var Ud=om[Od.name];typeof Ud=="string"&&(Ud={name:Ud}),Od=wh(Ud,Od),Od.name=Ud.name}else{if(typeof Od=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(Od))return Im("application/xml");if(typeof Od=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(Od))return Im("application/json")}return typeof Od=="string"?{name:Od}:Od||{name:"null"}}function Pm(Od,Ud){Ud=Im(Ud);var Jd=Fh[Ud.name];if(!Jd)return Pm(Od,"text/plain");var Qd=Jd(Od,Ud);if(i_.hasOwnProperty(Ud.name)){var pf=i_[Ud.name];for(var Cf in pf)pf.hasOwnProperty(Cf)&&(Qd.hasOwnProperty(Cf)&&(Qd["_"+Cf]=Qd[Cf]),Qd[Cf]=pf[Cf])}if(Qd.name=Ud.name,Ud.helperType&&(Qd.helperType=Ud.helperType),Ud.modeProps)for(var jf in Ud.modeProps)Qd[jf]=Ud.modeProps[jf];return Qd}var i_={};function Hm(Od,Ud){var Jd=i_.hasOwnProperty(Od)?i_[Od]:i_[Od]={};vf(Ud,Jd)}function o_(Od,Ud){if(Ud===!0)return Ud;if(Od.copyState)return Od.copyState(Ud);var Jd={};for(var Qd in Ud){var pf=Ud[Qd];pf instanceof Array&&(pf=pf.concat([])),Jd[Qd]=pf}return Jd}function j_(Od,Ud){for(var Jd;Od.innerMode&&(Jd=Od.innerMode(Ud),!(!Jd||Jd.mode==Od));)Ud=Jd.state,Od=Jd.mode;return Jd||{mode:Od,state:Ud}}function B_(Od,Ud,Jd){return Od.startState?Od.startState(Ud,Jd):!0}var C_=function(Od,Ud,Jd){this.pos=this.start=0,this.string=Od,this.tabSize=Ud||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=Jd};C_.prototype.eol=function(){return this.pos>=this.string.length},C_.prototype.sol=function(){return this.pos==this.lineStart},C_.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},C_.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},C_.prototype.eat=function(Od){var Ud=this.string.charAt(this.pos),Jd;if(typeof Od=="string"?Jd=Ud==Od:Jd=Ud&&(Od.test?Od.test(Ud):Od(Ud)),Jd)return++this.pos,Ud},C_.prototype.eatWhile=function(Od){for(var Ud=this.pos;this.eat(Od););return this.pos>Ud},C_.prototype.eatSpace=function(){for(var Od=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>Od},C_.prototype.skipToEnd=function(){this.pos=this.string.length},C_.prototype.skipTo=function(Od){var Ud=this.string.indexOf(Od,this.pos);if(Ud>-1)return this.pos=Ud,!0},C_.prototype.backUp=function(Od){this.pos-=Od},C_.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=qf(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?qf(this.string,this.lineStart,this.tabSize):0)},C_.prototype.indentation=function(){return qf(this.string,null,this.tabSize)-(this.lineStart?qf(this.string,this.lineStart,this.tabSize):0)},C_.prototype.match=function(Od,Ud,Jd){if(typeof Od=="string"){var Qd=function(jf){return Jd?jf.toLowerCase():jf},pf=this.string.substr(this.pos,Od.length);if(Qd(pf)==Qd(Od))return Ud!==!1&&(this.pos+=Od.length),!0}else{var Cf=this.string.slice(this.pos).match(Od);return Cf&&Cf.index>0?null:(Cf&&Ud!==!1&&(this.pos+=Cf[0].length),Cf)}},C_.prototype.current=function(){return this.string.slice(this.start,this.pos)},C_.prototype.hideFirstChars=function(Od,Ud){this.lineStart+=Od;try{return Ud()}finally{this.lineStart-=Od}},C_.prototype.lookAhead=function(Od){var Ud=this.lineOracle;return Ud&&Ud.lookAhead(Od)},C_.prototype.baseToken=function(){var Od=this.lineOracle;return Od&&Od.baseToken(this.pos)};function Km(Od,Ud){if(Ud-=Od.first,Ud<0||Ud>=Od.size)throw new Error("There is no line "+(Ud+Od.first)+" in the document.");for(var Jd=Od;!Jd.lines;)for(var Qd=0;;++Qd){var pf=Jd.children[Qd],Cf=pf.chunkSize();if(Ud<Cf){Jd=pf;break}Ud-=Cf}return Jd.lines[Ud]}function ig(Od,Ud,Jd){var Qd=[],pf=Ud.line;return Od.iter(Ud.line,Jd.line+1,function(Cf){var jf=Cf.text;pf==Jd.line&&(jf=jf.slice(0,Jd.ch)),pf==Ud.line&&(jf=jf.slice(Ud.ch)),Qd.push(jf),++pf}),Qd}function N_(Od,Ud,Jd){var Qd=[];return Od.iter(Ud,Jd,function(pf){Qd.push(pf.text)}),Qd}function y_(Od,Ud){var Jd=Ud-Od.height;if(Jd)for(var Qd=Od;Qd;Qd=Qd.parent)Qd.height+=Jd}function hh(Od){if(Od.parent==null)return null;for(var Ud=Od.parent,Jd=ch(Ud.lines,Od),Qd=Ud.parent;Qd;Ud=Qd,Qd=Qd.parent)for(var pf=0;Qd.children[pf]!=Ud;++pf)Jd+=Qd.children[pf].chunkSize();return Jd+Ud.first}function Bh(Od,Ud){var Jd=Od.first;e:do{for(var Qd=0;Qd<Od.children.length;++Qd){var pf=Od.children[Qd],Cf=pf.height;if(Ud<Cf){Od=pf;continue e}Ud-=Cf,Jd+=pf.chunkSize()}return Jd}while(!Od.lines);for(var jf=0;jf<Od.lines.length;++jf){var Kf=Od.lines[jf],sh=Kf.height;if(Ud<sh)break;Ud-=sh}return Jd+jf}function Mm(Od,Ud){return Ud>=Od.first&&Ud<Od.first+Od.size}function zm(Od,Ud){return String(Od.lineNumberFormatter(Ud+Od.firstLineNumber))}function Tm(Od,Ud,Jd){if(Jd===void 0&&(Jd=null),!(this instanceof Tm))return new Tm(Od,Ud,Jd);this.line=Od,this.ch=Ud,this.sticky=Jd}function e_(Od,Ud){return Od.line-Ud.line||Od.ch-Ud.ch}function O_(Od,Ud){return Od.sticky==Ud.sticky&&e_(Od,Ud)==0}function og(Od){return Tm(Od.line,Od.ch)}function Cg(Od,Ud){return e_(Od,Ud)<0?Ud:Od}function rb(Od,Ud){return e_(Od,Ud)<0?Od:Ud}function Eb(Od,Ud){return Math.max(Od.first,Math.min(Ud,Od.first+Od.size-1))}function E_(Od,Ud){if(Ud.line<Od.first)return Tm(Od.first,0);var Jd=Od.first+Od.size-1;return Ud.line>Jd?Tm(Jd,Km(Od,Jd).text.length):nb(Ud,Km(Od,Ud.line).text.length)}function nb(Od,Ud){var Jd=Od.ch;return Jd==null||Jd>Ud?Tm(Od.line,Ud):Jd<0?Tm(Od.line,0):Od}function lg(Od,Ud){for(var Jd=[],Qd=0;Qd<Ud.length;Qd++)Jd[Qd]=E_(Od,Ud[Qd]);return Jd}var jg=function(Od,Ud){this.state=Od,this.lookAhead=Ud},wg=function(Od,Ud,Jd,Qd){this.state=Ud,this.doc=Od,this.line=Jd,this.maxLookAhead=Qd||0,this.baseTokens=null,this.baseTokenPos=1};wg.prototype.lookAhead=function(Od){var Ud=this.doc.getLine(this.line+Od);return Ud!=null&&Od>this.maxLookAhead&&(this.maxLookAhead=Od),Ud},wg.prototype.baseToken=function(Od){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=Od;)this.baseTokenPos+=2;var Ud=this.baseTokens[this.baseTokenPos+1];return{type:Ud&&Ud.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-Od}},wg.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},wg.fromSaved=function(Od,Ud,Jd){return Ud instanceof jg?new wg(Od,o_(Od.mode,Ud.state),Jd,Ud.lookAhead):new wg(Od,o_(Od.mode,Ud),Jd)},wg.prototype.save=function(Od){var Ud=Od!==!1?o_(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new jg(Ud,this.maxLookAhead):Ud};function Tb(Od,Ud,Jd,Qd){var pf=[Od.state.modeGen],Cf={};z0(Od,Ud.text,Od.doc.mode,Jd,function(mh,Mh){return pf.push(mh,Mh)},Cf,Qd);for(var jf=Jd.state,Kf=function(mh){Jd.baseTokens=pf;var Mh=Od.state.overlays[mh],Jh=1,hm=0;Jd.state=!0,z0(Od,Ud.text,Mh.mode,Jd,function(pm,Rm){for(var jm=Jh;hm<pm;){var Ym=pf[Jh];Ym>pm&&pf.splice(Jh,1,pm,pf[Jh+1],Ym),Jh+=2,hm=Math.min(pm,Ym)}if(Rm)if(Mh.opaque)pf.splice(jm,Jh-jm,pm,"overlay "+Rm),Jh=jm+2;else for(;jm<Jh;jm+=2){var n_=pf[jm+1];pf[jm+1]=(n_?n_+" ":"")+"overlay "+Rm}},Cf),Jd.state=jf,Jd.baseTokens=null,Jd.baseTokenPos=1},sh=0;sh<Od.state.overlays.length;++sh)Kf(sh);return{styles:pf,classes:Cf.bgClass||Cf.textClass?Cf:null}}function Jb(Od,Ud,Jd){if(!Ud.styles||Ud.styles[0]!=Od.state.modeGen){var Qd=Ug(Od,hh(Ud)),pf=Ud.text.length>Od.options.maxHighlightLength&&o_(Od.doc.mode,Qd.state),Cf=Tb(Od,Ud,Qd);pf&&(Qd.state=pf),Ud.stateAfter=Qd.save(!pf),Ud.styles=Cf.styles,Cf.classes?Ud.styleClasses=Cf.classes:Ud.styleClasses&&(Ud.styleClasses=null),Jd===Od.doc.highlightFrontier&&(Od.doc.modeFrontier=Math.max(Od.doc.modeFrontier,++Od.doc.highlightFrontier))}return Ud.styles}function Ug(Od,Ud,Jd){var Qd=Od.doc,pf=Od.display;if(!Qd.mode.startState)return new wg(Qd,!0,Ud);var Cf=Hy(Od,Ud,Jd),jf=Cf>Qd.first&&Km(Qd,Cf-1).stateAfter,Kf=jf?wg.fromSaved(Qd,jf,Cf):new wg(Qd,B_(Qd.mode),Cf);return Qd.iter(Cf,Ud,function(sh){Sb(Od,sh.text,Kf);var mh=Kf.line;sh.stateAfter=mh==Ud-1||mh%5==0||mh>=pf.viewFrom&&mh<pf.viewTo?Kf.save():null,Kf.nextLine()}),Jd&&(Qd.modeFrontier=Kf.line),Kf}function Sb(Od,Ud,Jd,Qd){var pf=Od.doc.mode,Cf=new C_(Ud,Od.options.tabSize,Jd);for(Cf.start=Cf.pos=Qd||0,Ud==""&&V0(pf,Jd.state);!Cf.eol();)x0(pf,Cf,Jd.state),Cf.start=Cf.pos}function V0(Od,Ud){if(Od.blankLine)return Od.blankLine(Ud);if(Od.innerMode){var Jd=j_(Od,Ud);if(Jd.mode.blankLine)return Jd.mode.blankLine(Jd.state)}}function x0(Od,Ud,Jd,Qd){for(var pf=0;pf<10;pf++){Qd&&(Qd[0]=j_(Od,Jd).mode);var Cf=Od.token(Ud,Jd);if(Ud.pos>Ud.start)return Cf}throw new Error("Mode "+Od.name+" failed to advance stream.")}var __=function(Od,Ud,Jd){this.start=Od.start,this.end=Od.pos,this.string=Od.current(),this.type=Ud||null,this.state=Jd};function C0(Od,Ud,Jd,Qd){var pf=Od.doc,Cf=pf.mode,jf;Ud=E_(pf,Ud);var Kf=Km(pf,Ud.line),sh=Ug(Od,Ud.line,Jd),mh=new C_(Kf.text,Od.options.tabSize,sh),Mh;for(Qd&&(Mh=[]);(Qd||mh.pos<Ud.ch)&&!mh.eol();)mh.start=mh.pos,jf=x0(Cf,mh,sh.state),Qd&&Mh.push(new __(mh,jf,o_(pf.mode,sh.state)));return Qd?Mh:new __(mh,jf,sh.state)}function d0(Od,Ud){if(Od)for(;;){var Jd=Od.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!Jd)break;Od=Od.slice(0,Jd.index)+Od.slice(Jd.index+Jd[0].length);var Qd=Jd[1]?"bgClass":"textClass";Ud[Qd]==null?Ud[Qd]=Jd[2]:new RegExp("(?:^|\\s)"+Jd[2]+"(?:$|\\s)").test(Ud[Qd])||(Ud[Qd]+=" "+Jd[2])}return Od}function z0(Od,Ud,Jd,Qd,pf,Cf,jf){var Kf=Jd.flattenSpans;Kf==null&&(Kf=Od.options.flattenSpans);var sh=0,mh=null,Mh=new C_(Ud,Od.options.tabSize,Qd),Jh,hm=Od.options.addModeClass&&[null];for(Ud==""&&d0(V0(Jd,Qd.state),Cf);!Mh.eol();){if(Mh.pos>Od.options.maxHighlightLength?(Kf=!1,jf&&Sb(Od,Ud,Qd,Mh.pos),Mh.pos=Ud.length,Jh=null):Jh=d0(x0(Jd,Mh,Qd.state,hm),Cf),hm){var pm=hm[0].name;pm&&(Jh="m-"+(Jh?pm+" "+Jh:pm))}if(!Kf||mh!=Jh){for(;sh<Mh.start;)sh=Math.min(Mh.start,sh+5e3),pf(sh,mh);mh=Jh}Mh.start=Mh.pos}for(;sh<Mh.pos;){var Rm=Math.min(Mh.pos,sh+5e3);pf(Rm,mh),sh=Rm}}function Hy(Od,Ud,Jd){for(var Qd,pf,Cf=Od.doc,jf=Jd?-1:Ud-(Od.doc.mode.innerMode?1e3:100),Kf=Ud;Kf>jf;--Kf){if(Kf<=Cf.first)return Cf.first;var sh=Km(Cf,Kf-1),mh=sh.stateAfter;if(mh&&(!Jd||Kf+(mh instanceof jg?mh.lookAhead:0)<=Cf.modeFrontier))return Kf;var Mh=qf(sh.text,null,Od.options.tabSize);(pf==null||Qd>Mh)&&(pf=Kf-1,Qd=Mh)}return pf}function Wy(Od,Ud){if(Od.modeFrontier=Math.min(Od.modeFrontier,Ud),!(Od.highlightFrontier<Ud-10)){for(var Jd=Od.first,Qd=Ud-1;Qd>Jd;Qd--){var pf=Km(Od,Qd).stateAfter;if(pf&&(!(pf instanceof jg)||Qd+pf.lookAhead<Ud)){Jd=Qd+1;break}}Od.highlightFrontier=Math.min(Od.highlightFrontier,Jd)}}var p0=!1,Ig=!1;function pb(){p0=!0}function $b(){Ig=!0}function f0(Od,Ud,Jd){this.marker=Od,this.from=Ud,this.to=Jd}function A0(Od,Ud){if(Od)for(var Jd=0;Jd<Od.length;++Jd){var Qd=Od[Jd];if(Qd.marker==Ud)return Qd}}function bE(Od,Ud){for(var Jd,Qd=0;Qd<Od.length;++Qd)Od[Qd]!=Ud&&(Jd||(Jd=[])).push(Od[Qd]);return Jd}function Lv(Od,Ud,Jd){var Qd=Jd&&window.WeakSet&&(Jd.markedSpans||(Jd.markedSpans=new WeakSet));Qd&&Od.markedSpans&&Qd.has(Od.markedSpans)?Od.markedSpans.push(Ud):(Od.markedSpans=Od.markedSpans?Od.markedSpans.concat([Ud]):[Ud],Qd&&Qd.add(Od.markedSpans)),Ud.marker.attachLine(Od)}function yE(Od,Ud,Jd){var Qd;if(Od)for(var pf=0;pf<Od.length;++pf){var Cf=Od[pf],jf=Cf.marker,Kf=Cf.from==null||(jf.inclusiveLeft?Cf.from<=Ud:Cf.from<Ud);if(Kf||Cf.from==Ud&&jf.type=="bookmark"&&(!Jd||!Cf.marker.insertLeft)){var sh=Cf.to==null||(jf.inclusiveRight?Cf.to>=Ud:Cf.to>Ud);(Qd||(Qd=[])).push(new f0(jf,Cf.from,sh?null:Cf.to))}}return Qd}function hT(Od,Ud,Jd){var Qd;if(Od)for(var pf=0;pf<Od.length;++pf){var Cf=Od[pf],jf=Cf.marker,Kf=Cf.to==null||(jf.inclusiveRight?Cf.to>=Ud:Cf.to>Ud);if(Kf||Cf.from==Ud&&jf.type=="bookmark"&&(!Jd||Cf.marker.insertLeft)){var sh=Cf.from==null||(jf.inclusiveLeft?Cf.from<=Ud:Cf.from<Ud);(Qd||(Qd=[])).push(new f0(jf,sh?null:Cf.from-Ud,Cf.to==null?null:Cf.to-Ud))}}return Qd}function Fv(Od,Ud){if(Ud.full)return null;var Jd=Mm(Od,Ud.from.line)&&Km(Od,Ud.from.line).markedSpans,Qd=Mm(Od,Ud.to.line)&&Km(Od,Ud.to.line).markedSpans;if(!Jd&&!Qd)return null;var pf=Ud.from.ch,Cf=Ud.to.ch,jf=e_(Ud.from,Ud.to)==0,Kf=yE(Jd,pf,jf),sh=hT(Qd,Cf,jf),mh=Ud.text.length==1,Mh=Th(Ud.text).length+(mh?pf:0);if(Kf)for(var Jh=0;Jh<Kf.length;++Jh){var hm=Kf[Jh];if(hm.to==null){var pm=A0(sh,hm.marker);pm?mh&&(hm.to=pm.to==null?null:pm.to+Mh):hm.to=pf}}if(sh)for(var Rm=0;Rm<sh.length;++Rm){var jm=sh[Rm];if(jm.to!=null&&(jm.to+=Mh),jm.from==null){var Ym=A0(Kf,jm.marker);Ym||(jm.from=Mh,mh&&(Kf||(Kf=[])).push(jm))}else jm.from+=Mh,mh&&(Kf||(Kf=[])).push(jm)}Kf&&(Kf=vE(Kf)),sh&&sh!=Kf&&(sh=vE(sh));var n_=[Kf];if(!mh){var a_=Ud.text.length-2,t_;if(a_>0&&Kf)for(var u_=0;u_<Kf.length;++u_)Kf[u_].to==null&&(t_||(t_=[])).push(new f0(Kf[u_].marker,null,null));for(var g_=0;g_<a_;++g_)n_.push(t_);n_.push(sh)}return n_}function vE(Od){for(var Ud=0;Ud<Od.length;++Ud){var Jd=Od[Ud];Jd.from!=null&&Jd.from==Jd.to&&Jd.marker.clearWhenEmpty!==!1&&Od.splice(Ud--,1)}return Od.length?Od:null}function TE(Od,Ud,Jd){var Qd=null;if(Od.iter(Ud.line,Jd.line+1,function(pm){if(pm.markedSpans)for(var Rm=0;Rm<pm.markedSpans.length;++Rm){var jm=pm.markedSpans[Rm].marker;jm.readOnly&&(!Qd||ch(Qd,jm)==-1)&&(Qd||(Qd=[])).push(jm)}}),!Qd)return null;for(var pf=[{from:Ud,to:Jd}],Cf=0;Cf<Qd.length;++Cf)for(var jf=Qd[Cf],Kf=jf.find(0),sh=0;sh<pf.length;++sh){var mh=pf[sh];if(!(e_(mh.to,Kf.from)<0||e_(mh.from,Kf.to)>0)){var Mh=[sh,1],Jh=e_(mh.from,Kf.from),hm=e_(mh.to,Kf.to);(Jh<0||!jf.inclusiveLeft&&!Jh)&&Mh.push({from:mh.from,to:Kf.from}),(hm>0||!jf.inclusiveRight&&!hm)&&Mh.push({from:Kf.to,to:mh.to}),pf.splice.apply(pf,Mh),sh+=Mh.length-3}}return pf}function Jm(Od){var Ud=Od.markedSpans;if(Ud){for(var Jd=0;Jd<Ud.length;++Jd)Ud[Jd].marker.detachLine(Od);Od.markedSpans=null}}function rg(Od,Ud){if(Ud){for(var Jd=0;Jd<Ud.length;++Jd)Ud[Jd].marker.attachLine(Od);Od.markedSpans=Ud}}function W0(Od){return Od.inclusiveLeft?-1:0}function Qy(Od){return Od.inclusiveRight?1:0}function jv(Od,Ud){var Jd=Od.lines.length-Ud.lines.length;if(Jd!=0)return Jd;var Qd=Od.find(),pf=Ud.find(),Cf=e_(Qd.from,pf.from)||W0(Od)-W0(Ud);if(Cf)return-Cf;var jf=e_(Qd.to,pf.to)||Qy(Od)-Qy(Ud);return jf||Ud.id-Od.id}function SE(Od,Ud){var Jd=Ig&&Od.markedSpans,Qd;if(Jd)for(var pf=void 0,Cf=0;Cf<Jd.length;++Cf)pf=Jd[Cf],pf.marker.collapsed&&(Ud?pf.from:pf.to)==null&&(!Qd||jv(Qd,pf.marker)<0)&&(Qd=pf.marker);return Qd}function xE(Od){return SE(Od,!0)}function Y0(Od){return SE(Od,!1)}function CE(Od,Ud){var Jd=Ig&&Od.markedSpans,Qd;if(Jd)for(var pf=0;pf<Jd.length;++pf){var Cf=Jd[pf];Cf.marker.collapsed&&(Cf.from==null||Cf.from<Ud)&&(Cf.to==null||Cf.to>Ud)&&(!Qd||jv(Qd,Cf.marker)<0)&&(Qd=Cf.marker)}return Qd}function Uv(Od,Ud,Jd,Qd,pf){var Cf=Km(Od,Ud),jf=Ig&&Cf.markedSpans;if(jf)for(var Kf=0;Kf<jf.length;++Kf){var sh=jf[Kf];if(sh.marker.collapsed){var mh=sh.marker.find(0),Mh=e_(mh.from,Jd)||W0(sh.marker)-W0(pf),Jh=e_(mh.to,Qd)||Qy(sh.marker)-Qy(pf);if(!(Mh>=0&&Jh<=0||Mh<=0&&Jh>=0)&&(Mh<=0&&(sh.marker.inclusiveRight&&pf.inclusiveLeft?e_(mh.to,Jd)>=0:e_(mh.to,Jd)>0)||Mh>=0&&(sh.marker.inclusiveRight&&pf.inclusiveLeft?e_(mh.from,Qd)<=0:e_(mh.from,Qd)<0)))return!0}}}function Z_(Od){for(var Ud;Ud=xE(Od);)Od=Ud.find(-1,!0).line;return Od}function Hv(Od){for(var Ud;Ud=Y0(Od);)Od=Ud.find(1,!0).line;return Od}function h0(Od){for(var Ud,Jd;Ud=Y0(Od);)Od=Ud.find(1,!0).line,(Jd||(Jd=[])).push(Od);return Jd}function _g(Od,Ud){var Jd=Km(Od,Ud),Qd=Z_(Jd);return Jd==Qd?Ud:hh(Qd)}function xb(Od,Ud){if(Ud>Od.lastLine())return Ud;var Jd=Km(Od,Ud),Qd;if(!Ag(Od,Jd))return Ud;for(;Qd=Y0(Jd);)Jd=Qd.find(1,!0).line;return hh(Jd)+1}function Ag(Od,Ud){var Jd=Ig&&Ud.markedSpans;if(Jd){for(var Qd=void 0,pf=0;pf<Jd.length;++pf)if(Qd=Jd[pf],!!Qd.marker.collapsed){if(Qd.from==null)return!0;if(!Qd.marker.widgetNode&&Qd.from==0&&Qd.marker.inclusiveLeft&&K0(Od,Ud,Qd))return!0}}}function K0(Od,Ud,Jd){if(Jd.to==null){var Qd=Jd.marker.find(1,!0);return K0(Od,Qd.line,A0(Qd.line.markedSpans,Jd.marker))}if(Jd.marker.inclusiveRight&&Jd.to==Ud.text.length)return!0;for(var pf=void 0,Cf=0;Cf<Ud.markedSpans.length;++Cf)if(pf=Ud.markedSpans[Cf],pf.marker.collapsed&&!pf.marker.widgetNode&&pf.from==Jd.to&&(pf.to==null||pf.to!=Jd.from)&&(pf.marker.inclusiveLeft||Jd.marker.inclusiveRight)&&K0(Od,Ud,pf))return!0}function Cb(Od){Od=Z_(Od);for(var Ud=0,Jd=Od.parent,Qd=0;Qd<Jd.lines.length;++Qd){var pf=Jd.lines[Qd];if(pf==Od)break;Ud+=pf.height}for(var Cf=Jd.parent;Cf;Jd=Cf,Cf=Jd.parent)for(var jf=0;jf<Cf.children.length;++jf){var Kf=Cf.children[jf];if(Kf==Jd)break;Ud+=Kf.height}return Ud}function D0(Od){if(Od.height==0)return 0;for(var Ud=Od.text.length,Jd,Qd=Od;Jd=xE(Qd);){var pf=Jd.find(0,!0);Qd=pf.from.line,Ud+=pf.from.ch-pf.to.ch}for(Qd=Od;Jd=Y0(Qd);){var Cf=Jd.find(0,!0);Ud-=Qd.text.length-Cf.from.ch,Qd=Cf.to.line,Ud+=Qd.text.length-Cf.to.ch}return Ud}function Jy(Od){var Ud=Od.display,Jd=Od.doc;Ud.maxLine=Km(Jd,Jd.first),Ud.maxLineLength=D0(Ud.maxLine),Ud.maxLineChanged=!0,Jd.iter(function(Qd){var pf=D0(Qd);pf>Ud.maxLineLength&&(Ud.maxLineLength=pf,Ud.maxLine=Qd)})}var Pb=function(Od,Ud,Jd){this.text=Od,rg(this,Ud),this.height=Jd?Jd(this):1};Pb.prototype.lineNo=function(){return hh(this)},M_(Pb);function AE(Od,Ud,Jd,Qd){Od.text=Ud,Od.stateAfter&&(Od.stateAfter=null),Od.styles&&(Od.styles=null),Od.order!=null&&(Od.order=null),Jm(Od),rg(Od,Jd);var pf=Qd?Qd(Od):1;pf!=Od.height&&y_(Od,pf)}function lb(Od){Od.parent=null,Jm(Od)}var Gv={},fb={};function DE(Od,Ud){if(!Od||/^\s*$/.test(Od))return null;var Jd=Ud.addModeClass?fb:Gv;return Jd[Od]||(Jd[Od]=Od.replace(/\S+/g,"cm-$&"))}function X0(Od,Ud){var Jd=xf("span",null,null,md?"padding-right: .1px":null),Qd={pre:xf("pre",[Jd],"CodeMirror-line"),content:Jd,col:0,pos:0,cm:Od,trailingSpace:!1,splitSpaces:Od.getOption("lineWrapping")};Ud.measure={};for(var pf=0;pf<=(Ud.rest?Ud.rest.length:0);pf++){var Cf=pf?Ud.rest[pf-1]:Ud.line,jf=void 0;Qd.pos=0,Qd.addToken=Zy,$g(Od.display.measure)&&(jf=_m(Cf,Od.doc.direction))&&(Qd.addToken=ug(Qd.addToken,jf)),Qd.map=[];var Kf=Ud!=Od.display.externalMeasured&&hh(Cf);qv(Cf,Qd,Jb(Od,Cf,Kf)),Cf.styleClasses&&(Cf.styleClasses.bgClass&&(Qd.bgClass=Zf(Cf.styleClasses.bgClass,Qd.bgClass||"")),Cf.styleClasses.textClass&&(Qd.textClass=Zf(Cf.styleClasses.textClass,Qd.textClass||""))),Qd.map.length==0&&Qd.map.push(0,0,Qd.content.appendChild(Zg(Od.display.measure))),pf==0?(Ud.measure.map=Qd.map,Ud.measure.cache={}):((Ud.measure.maps||(Ud.measure.maps=[])).push(Qd.map),(Ud.measure.caches||(Ud.measure.caches=[])).push({}))}if(md){var sh=Qd.content.lastChild;(/\bcm-tab\b/.test(sh.className)||sh.querySelector&&sh.querySelector(".cm-tab"))&&(Qd.content.className="cm-tab-wrap-hack")}return s_(Od,"renderLine",Od,Ud.line,Qd.pre),Qd.pre.className&&(Qd.textClass=Zf(Qd.pre.className,Qd.textClass||"")),Qd}function Zb(Od){var Ud=gf("span","•","cm-invalidchar");return Ud.title="\\u"+Od.charCodeAt(0).toString(16),Ud.setAttribute("aria-label",Ud.title),Ud}function Zy(Od,Ud,Jd,Qd,pf,Cf,jf){if(Ud){var Kf=Od.splitSpaces?ev(Ud,Od.trailingSpace):Ud,sh=Od.cm.state.specialChars,mh=!1,Mh;if(!sh.test(Ud))Od.col+=Ud.length,Mh=document.createTextNode(Kf),Od.map.push(Od.pos,Od.pos+Ud.length,Mh),pd&&fd<9&&(mh=!0),Od.pos+=Ud.length;else{Mh=document.createDocumentFragment();for(var Jh=0;;){sh.lastIndex=Jh;var hm=sh.exec(Ud),pm=hm?hm.index-Jh:Ud.length-Jh;if(pm){var Rm=document.createTextNode(Kf.slice(Jh,Jh+pm));pd&&fd<9?Mh.appendChild(gf("span",[Rm])):Mh.appendChild(Rm),Od.map.push(Od.pos,Od.pos+pm,Rm),Od.col+=pm,Od.pos+=pm}if(!hm)break;Jh+=pm+1;var jm=void 0;if(hm[0]==" "){var Ym=Od.cm.options.tabSize,n_=Ym-Od.col%Ym;jm=Mh.appendChild(gf("span",Wf(n_),"cm-tab")),jm.setAttribute("role","presentation"),jm.setAttribute("cm-text"," "),Od.col+=n_}else hm[0]=="\r"||hm[0]==`
|
||
`?(jm=Mh.appendChild(gf("span",hm[0]=="\r"?"␍":"","cm-invalidchar")),jm.setAttribute("cm-text",hm[0]),Od.col+=1):(jm=Od.cm.options.specialCharPlaceholder(hm[0]),jm.setAttribute("cm-text",hm[0]),pd&&fd<9?Mh.appendChild(gf("span",[jm])):Mh.appendChild(jm),Od.col+=1);Od.map.push(Od.pos,Od.pos+1,jm),Od.pos++}}if(Od.trailingSpace=Kf.charCodeAt(Ud.length-1)==32,Jd||Qd||pf||mh||Cf||jf){var a_=Jd||"";Qd&&(a_+=Qd),pf&&(a_+=pf);var t_=gf("span",[Mh],a_,Cf);if(jf)for(var u_ in jf)jf.hasOwnProperty(u_)&&u_!="style"&&u_!="class"&&t_.setAttribute(u_,jf[u_]);return Od.content.appendChild(t_)}Od.content.appendChild(Mh)}}function ev(Od,Ud){if(Od.length>1&&!/ /.test(Od))return Od;for(var Jd=Ud,Qd="",pf=0;pf<Od.length;pf++){var Cf=Od.charAt(pf);Cf==" "&&Jd&&(pf==Od.length-1||Od.charCodeAt(pf+1)==32)&&(Cf=" "),Qd+=Cf,Jd=Cf==" "}return Qd}function ug(Od,Ud){return function(Jd,Qd,pf,Cf,jf,Kf,sh){pf=pf?pf+" cm-force-border":"cm-force-border";for(var mh=Jd.pos,Mh=mh+Qd.length;;){for(var Jh=void 0,hm=0;hm<Ud.length&&(Jh=Ud[hm],!(Jh.to>mh&&Jh.from<=mh));hm++);if(Jh.to>=Mh)return Od(Jd,Qd,pf,Cf,jf,Kf,sh);Od(Jd,Qd.slice(0,Jh.to-mh),pf,Cf,null,Kf,sh),Cf=null,Qd=Qd.slice(Jh.to-mh),mh=Jh.to}}}function Lb(Od,Ud,Jd,Qd){var pf=!Qd&&Jd.widgetNode;pf&&Od.map.push(Od.pos,Od.pos+Ud,pf),!Qd&&Od.cm.display.input.needsContentAttribute&&(pf||(pf=Od.content.appendChild(document.createElement("span"))),pf.setAttribute("cm-marker",Jd.id)),pf&&(Od.cm.display.input.setUneditable(pf),Od.content.appendChild(pf)),Od.pos+=Ud,Od.trailingSpace=!1}function qv(Od,Ud,Jd){var Qd=Od.markedSpans,pf=Od.text,Cf=0;if(!Qd){for(var jf=1;jf<Jd.length;jf+=2)Ud.addToken(Ud,pf.slice(Cf,Cf=Jd[jf]),DE(Jd[jf+1],Ud.cm.options));return}for(var Kf=pf.length,sh=0,mh=1,Mh="",Jh,hm,pm=0,Rm,jm,Ym,n_,a_;;){if(pm==sh){Rm=jm=Ym=hm="",a_=null,n_=null,pm=1/0;for(var t_=[],u_=void 0,g_=0;g_<Qd.length;++g_){var m_=Qd[g_],R_=m_.marker;if(R_.type=="bookmark"&&m_.from==sh&&R_.widgetNode)t_.push(R_);else if(m_.from<=sh&&(m_.to==null||m_.to>sh||R_.collapsed&&m_.to==sh&&m_.from==sh)){if(m_.to!=null&&m_.to!=sh&&pm>m_.to&&(pm=m_.to,jm=""),R_.className&&(Rm+=" "+R_.className),R_.css&&(hm=(hm?hm+";":"")+R_.css),R_.startStyle&&m_.from==sh&&(Ym+=" "+R_.startStyle),R_.endStyle&&m_.to==pm&&(u_||(u_=[])).push(R_.endStyle,m_.to),R_.title&&((a_||(a_={})).title=R_.title),R_.attributes)for(var ng in R_.attributes)(a_||(a_={}))[ng]=R_.attributes[ng];R_.collapsed&&(!n_||jv(n_.marker,R_)<0)&&(n_=m_)}else m_.from>sh&&pm>m_.from&&(pm=m_.from)}if(u_)for(var Ng=0;Ng<u_.length;Ng+=2)u_[Ng+1]==pm&&(jm+=" "+u_[Ng]);if(!n_||n_.from==sh)for(var gg=0;gg<t_.length;++gg)Lb(Ud,0,t_[gg]);if(n_&&(n_.from||0)==sh){if(Lb(Ud,(n_.to==null?Kf+1:n_.to)-sh,n_.marker,n_.from==null),n_.to==null)return;n_.to==sh&&(n_=!1)}}if(sh>=Kf)break;for(var Sg=Math.min(Kf,pm);;){if(Mh){var Og=sh+Mh.length;if(!n_){var Rg=Og>Sg?Mh.slice(0,Sg-sh):Mh;Ud.addToken(Ud,Rg,Jh?Jh+Rm:Rm,Ym,sh+Rg.length==pm?jm:"",hm,a_)}if(Og>=Sg){Mh=Mh.slice(Sg-sh),sh=Sg;break}sh=Og,Ym=""}Mh=pf.slice(Cf,Cf=Jd[mh++]),Jh=DE(Jd[mh++],Ud.cm.options)}}}function NE(Od,Ud,Jd){this.line=Ud,this.rest=h0(Ud),this.size=this.rest?hh(Th(this.rest))-Jd+1:1,this.node=this.text=null,this.hidden=Ag(Od,Ud)}function N0(Od,Ud,Jd){for(var Qd=[],pf,Cf=Ud;Cf<Jd;Cf=pf){var jf=new NE(Od.doc,Km(Od.doc,Cf),Cf);pf=Cf+jf.size,Qd.push(jf)}return Qd}var Ab=null;function wE(Od){Ab?Ab.ops.push(Od):Od.ownsGroup=Ab={ops:[Od],delayedCallbacks:[]}}function mT(Od){var Ud=Od.delayedCallbacks,Jd=0;do{for(;Jd<Ud.length;Jd++)Ud[Jd].call(null);for(var Qd=0;Qd<Od.ops.length;Qd++){var pf=Od.ops[Qd];if(pf.cursorActivityHandlers)for(;pf.cursorActivityCalled<pf.cursorActivityHandlers.length;)pf.cursorActivityHandlers[pf.cursorActivityCalled++].call(null,pf.cm)}}while(Jd<Ud.length)}function zd(Od,Ud){var Jd=Od.ownsGroup;if(Jd)try{mT(Jd)}finally{Ab=null,Ud(Jd)}}var Bd=null;function Yd(Od,Ud){var Jd=r_(Od,Ud);if(Jd.length){var Qd=Array.prototype.slice.call(arguments,2),pf;Ab?pf=Ab.delayedCallbacks:Bd?pf=Bd:(pf=Bd=[],setTimeout(_f,0));for(var Cf=function(Kf){pf.push(function(){return Jd[Kf].apply(null,Qd)})},jf=0;jf<Jd.length;++jf)Cf(jf)}}function _f(){var Od=Bd;Bd=null;for(var Ud=0;Ud<Od.length;++Ud)Od[Ud]()}function Nf(Od,Ud,Jd,Qd){for(var pf=0;pf<Ud.changes.length;pf++){var Cf=Ud.changes[pf];Cf=="text"?sm(Od,Ud):Cf=="gutter"?Fm(Od,Ud,Jd,Qd):Cf=="class"?Xh(Od,Ud):Cf=="widget"&&Zm(Od,Ud,Qd)}Ud.changes=null}function th(Od){return Od.node==Od.text&&(Od.node=gf("div",null,null,"position: relative"),Od.text.parentNode&&Od.text.parentNode.replaceChild(Od.node,Od.text),Od.node.appendChild(Od.text),pd&&fd<8&&(Od.node.style.zIndex=2)),Od.node}function bh(Od,Ud){var Jd=Ud.bgClass?Ud.bgClass+" "+(Ud.line.bgClass||""):Ud.line.bgClass;if(Jd&&(Jd+=" CodeMirror-linebackground"),Ud.background)Jd?Ud.background.className=Jd:(Ud.background.parentNode.removeChild(Ud.background),Ud.background=null);else if(Jd){var Qd=th(Ud);Ud.background=Qd.insertBefore(gf("div",null,Jd),Qd.firstChild),Od.display.input.setUneditable(Ud.background)}}function kh(Od,Ud){var Jd=Od.display.externalMeasured;return Jd&&Jd.line==Ud.line?(Od.display.externalMeasured=null,Ud.measure=Jd.measure,Jd.built):X0(Od,Ud)}function sm(Od,Ud){var Jd=Ud.text.className,Qd=kh(Od,Ud);Ud.text==Ud.node&&(Ud.node=Qd.pre),Ud.text.parentNode.replaceChild(Qd.pre,Ud.text),Ud.text=Qd.pre,Qd.bgClass!=Ud.bgClass||Qd.textClass!=Ud.textClass?(Ud.bgClass=Qd.bgClass,Ud.textClass=Qd.textClass,Xh(Od,Ud)):Jd&&(Ud.text.className=Jd)}function Xh(Od,Ud){bh(Od,Ud),Ud.line.wrapClass?th(Ud).className=Ud.line.wrapClass:Ud.node!=Ud.text&&(Ud.node.className="");var Jd=Ud.textClass?Ud.textClass+" "+(Ud.line.textClass||""):Ud.line.textClass;Ud.text.className=Jd||""}function Fm(Od,Ud,Jd,Qd){if(Ud.gutter&&(Ud.node.removeChild(Ud.gutter),Ud.gutter=null),Ud.gutterBackground&&(Ud.node.removeChild(Ud.gutterBackground),Ud.gutterBackground=null),Ud.line.gutterClass){var pf=th(Ud);Ud.gutterBackground=gf("div",null,"CodeMirror-gutter-background "+Ud.line.gutterClass,"left: "+(Od.options.fixedGutter?Qd.fixedPos:-Qd.gutterTotalWidth)+"px; width: "+Qd.gutterTotalWidth+"px"),Od.display.input.setUneditable(Ud.gutterBackground),pf.insertBefore(Ud.gutterBackground,Ud.text)}var Cf=Ud.line.gutterMarkers;if(Od.options.lineNumbers||Cf){var jf=th(Ud),Kf=Ud.gutter=gf("div",null,"CodeMirror-gutter-wrapper","left: "+(Od.options.fixedGutter?Qd.fixedPos:-Qd.gutterTotalWidth)+"px");if(Kf.setAttribute("aria-hidden","true"),Od.display.input.setUneditable(Kf),jf.insertBefore(Kf,Ud.text),Ud.line.gutterClass&&(Kf.className+=" "+Ud.line.gutterClass),Od.options.lineNumbers&&(!Cf||!Cf["CodeMirror-linenumbers"])&&(Ud.lineNumber=Kf.appendChild(gf("div",zm(Od.options,Jd),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+Qd.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+Od.display.lineNumInnerWidth+"px"))),Cf)for(var sh=0;sh<Od.display.gutterSpecs.length;++sh){var mh=Od.display.gutterSpecs[sh].className,Mh=Cf.hasOwnProperty(mh)&&Cf[mh];Mh&&Kf.appendChild(gf("div",[Mh],"CodeMirror-gutter-elt","left: "+Qd.gutterLeft[mh]+"px; width: "+Qd.gutterWidth[mh]+"px"))}}}function Zm(Od,Ud,Jd){Ud.alignable&&(Ud.alignable=null);for(var Qd=Xd("CodeMirror-linewidget"),pf=Ud.node.firstChild,Cf=void 0;pf;pf=Cf)Cf=pf.nextSibling,Qd.test(pf.className)&&Ud.node.removeChild(pf);d_(Od,Ud,Jd)}function l_(Od,Ud,Jd,Qd){var pf=kh(Od,Ud);return Ud.text=Ud.node=pf.pre,pf.bgClass&&(Ud.bgClass=pf.bgClass),pf.textClass&&(Ud.textClass=pf.textClass),Xh(Od,Ud),Fm(Od,Ud,Jd,Qd),d_(Od,Ud,Qd),Ud.node}function d_(Od,Ud,Jd){if(w_(Od,Ud.line,Ud,Jd,!0),Ud.rest)for(var Qd=0;Qd<Ud.rest.length;Qd++)w_(Od,Ud.rest[Qd],Ud,Jd,!1)}function w_(Od,Ud,Jd,Qd,pf){if(Ud.widgets)for(var Cf=th(Jd),jf=0,Kf=Ud.widgets;jf<Kf.length;++jf){var sh=Kf[jf],mh=gf("div",[sh.node],"CodeMirror-linewidget"+(sh.className?" "+sh.className:""));sh.handleMouseEvents||mh.setAttribute("cm-ignore-events","true"),Eg(sh,mh,Jd,Qd),Od.display.input.setUneditable(mh),pf&&sh.above?Cf.insertBefore(mh,Jd.gutter||Jd.text):Cf.appendChild(mh),Yd(sh,"redraw")}}function Eg(Od,Ud,Jd,Qd){if(Od.noHScroll){(Jd.alignable||(Jd.alignable=[])).push(Ud);var pf=Qd.wrapperWidth;Ud.style.left=Qd.fixedPos+"px",Od.coverGutter||(pf-=Qd.gutterTotalWidth,Ud.style.paddingLeft=Qd.gutterTotalWidth+"px"),Ud.style.width=pf+"px"}Od.coverGutter&&(Ud.style.zIndex=5,Ud.style.position="relative",Od.noHScroll||(Ud.style.marginLeft=-Qd.gutterTotalWidth+"px"))}function U_(Od){if(Od.height!=null)return Od.height;var Ud=Od.doc.cm;if(!Ud)return 0;if(!Lf(document.body,Od.node)){var Jd="position: relative;";Od.coverGutter&&(Jd+="margin-left: -"+Ud.display.gutters.offsetWidth+"px;"),Od.noHScroll&&(Jd+="width: "+Ud.display.wrapper.clientWidth+"px;"),Ef(Ud.display.measure,gf("div",[Od.node],null,Jd))}return Od.height=Od.node.parentNode.offsetHeight}function K_(Od,Ud){for(var Jd=yg(Ud);Jd!=Od.wrapper;Jd=Jd.parentNode)if(!Jd||Jd.nodeType==1&&Jd.getAttribute("cm-ignore-events")=="true"||Jd.parentNode==Od.sizer&&Jd!=Od.mover)return!0}function Hg(Od){return Od.lineSpace.offsetTop}function Q0(Od){return Od.mover.offsetHeight-Od.lineSpace.offsetHeight}function tv(Od){if(Od.cachedPaddingH)return Od.cachedPaddingH;var Ud=Ef(Od.measure,gf("pre","x","CodeMirror-line-like")),Jd=window.getComputedStyle?window.getComputedStyle(Ud):Ud.currentStyle,Qd={left:parseInt(Jd.paddingLeft),right:parseInt(Jd.paddingRight)};return!isNaN(Qd.left)&&!isNaN(Qd.right)&&(Od.cachedPaddingH=Qd),Qd}function e0(Od){return ih-Od.display.nativeBarWidth}function J0(Od){return Od.display.scroller.clientWidth-e0(Od)-Od.display.barWidth}function _T(Od){return Od.display.scroller.clientHeight-e0(Od)-Od.display.barHeight}function rv(Od,Ud,Jd){var Qd=Od.options.lineWrapping,pf=Qd&&J0(Od);if(!Ud.measure.heights||Qd&&Ud.measure.width!=pf){var Cf=Ud.measure.heights=[];if(Qd){Ud.measure.width=pf;for(var jf=Ud.text.firstChild.getClientRects(),Kf=0;Kf<jf.length-1;Kf++){var sh=jf[Kf],mh=jf[Kf+1];Math.abs(sh.bottom-mh.bottom)>2&&Cf.push((sh.bottom+mh.top)/2-Jd.top)}}Cf.push(Jd.bottom-Jd.top)}}function eS(Od,Ud,Jd){if(Od.line==Ud)return{map:Od.measure.map,cache:Od.measure.cache};if(Od.rest){for(var Qd=0;Qd<Od.rest.length;Qd++)if(Od.rest[Qd]==Ud)return{map:Od.measure.maps[Qd],cache:Od.measure.caches[Qd]};for(var pf=0;pf<Od.rest.length;pf++)if(hh(Od.rest[pf])>Jd)return{map:Od.measure.maps[pf],cache:Od.measure.caches[pf],before:!0}}}function n1(Od,Ud){Ud=Z_(Ud);var Jd=hh(Ud),Qd=Od.display.externalMeasured=new NE(Od.doc,Ud,Jd);Qd.lineN=Jd;var pf=Qd.built=X0(Od,Qd);return Qd.text=pf.pre,Ef(Od.display.lineMeasure,pf.pre),Qd}function IE(Od,Ud,Jd,Qd){return _b(Od,mb(Od,Ud),Jd,Qd)}function OE(Od,Ud){if(Ud>=Od.display.viewFrom&&Ud<Od.display.viewTo)return Od.display.view[ry(Od,Ud)];var Jd=Od.display.externalMeasured;if(Jd&&Ud>=Jd.lineN&&Ud<Jd.lineN+Jd.size)return Jd}function mb(Od,Ud){var Jd=hh(Ud),Qd=OE(Od,Jd);Qd&&!Qd.text?Qd=null:Qd&&Qd.changes&&(Nf(Od,Qd,Jd,iv(Od)),Od.curOp.forceUpdate=!0),Qd||(Qd=n1(Od,Ud));var pf=eS(Qd,Ud,Jd);return{line:Ud,view:Qd,rect:null,map:pf.map,cache:pf.cache,before:pf.before,hasHeights:!1}}function _b(Od,Ud,Jd,Qd,pf){Ud.before&&(Jd=-1);var Cf=Jd+(Qd||""),jf;return Ud.cache.hasOwnProperty(Cf)?jf=Ud.cache[Cf]:(Ud.rect||(Ud.rect=Ud.view.text.getBoundingClientRect()),Ud.hasHeights||(rv(Od,Ud.view,Ud.rect),Ud.hasHeights=!0),jf=nv(Od,Ud,Jd,Qd),jf.bogus||(Ud.cache[Cf]=jf)),{left:jf.left,right:jf.right,top:pf?jf.rtop:jf.top,bottom:pf?jf.rbottom:jf.bottom}}var tS={left:0,right:0,top:0,bottom:0};function rS(Od,Ud,Jd){for(var Qd,pf,Cf,jf,Kf,sh,mh=0;mh<Od.length;mh+=3)if(Kf=Od[mh],sh=Od[mh+1],Ud<Kf?(pf=0,Cf=1,jf="left"):Ud<sh?(pf=Ud-Kf,Cf=pf+1):(mh==Od.length-3||Ud==sh&&Od[mh+3]>Ud)&&(Cf=sh-Kf,pf=Cf-1,Ud>=sh&&(jf="right")),pf!=null){if(Qd=Od[mh+2],Kf==sh&&Jd==(Qd.insertLeft?"left":"right")&&(jf=Jd),Jd=="left"&&pf==0)for(;mh&&Od[mh-2]==Od[mh-3]&&Od[mh-1].insertLeft;)Qd=Od[(mh-=3)+2],jf="left";if(Jd=="right"&&pf==sh-Kf)for(;mh<Od.length-3&&Od[mh+3]==Od[mh+4]&&!Od[mh+5].insertLeft;)Qd=Od[(mh+=3)+2],jf="right";break}return{node:Qd,start:pf,end:Cf,collapse:jf,coverStart:Kf,coverEnd:sh}}function i1(Od,Ud){var Jd=tS;if(Ud=="left")for(var Qd=0;Qd<Od.length&&(Jd=Od[Qd]).left==Jd.right;Qd++);else for(var pf=Od.length-1;pf>=0&&(Jd=Od[pf]).left==Jd.right;pf--);return Jd}function nv(Od,Ud,Jd,Qd){var pf=rS(Ud.map,Jd,Qd),Cf=pf.node,jf=pf.start,Kf=pf.end,sh=pf.collapse,mh;if(Cf.nodeType==3){for(var Mh=0;Mh<4;Mh++){for(;jf&&fh(Ud.line.text.charAt(pf.coverStart+jf));)--jf;for(;pf.coverStart+Kf<pf.coverEnd&&fh(Ud.line.text.charAt(pf.coverStart+Kf));)++Kf;if(pd&&fd<9&&jf==0&&Kf==pf.coverEnd-pf.coverStart?mh=Cf.parentNode.getBoundingClientRect():mh=i1(Af(Cf,jf,Kf).getClientRects(),Qd),mh.left||mh.right||jf==0)break;Kf=jf,jf=jf-1,sh="right"}pd&&fd<11&&(mh=Bb(Od.display.measure,mh))}else{jf>0&&(sh=Qd="right");var Jh;Od.options.lineWrapping&&(Jh=Cf.getClientRects()).length>1?mh=Jh[Qd=="right"?Jh.length-1:0]:mh=Cf.getBoundingClientRect()}if(pd&&fd<9&&!jf&&(!mh||!mh.left&&!mh.right)){var hm=Cf.parentNode.getClientRects()[0];hm?mh={left:hm.left,right:hm.left+_0(Od.display),top:hm.top,bottom:hm.bottom}:mh=tS}for(var pm=mh.top-Ud.rect.top,Rm=mh.bottom-Ud.rect.top,jm=(pm+Rm)/2,Ym=Ud.view.measure.heights,n_=0;n_<Ym.length-1&&!(jm<Ym[n_]);n_++);var a_=n_?Ym[n_-1]:0,t_=Ym[n_],u_={left:(sh=="right"?mh.right:mh.left)-Ud.rect.left,right:(sh=="left"?mh.left:mh.right)-Ud.rect.left,top:a_,bottom:t_};return!mh.left&&!mh.right&&(u_.bogus=!0),Od.options.singleCursorHeightPerLine||(u_.rtop=pm,u_.rbottom=Rm),u_}function Bb(Od,Ud){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Wh(Od))return Ud;var Jd=screen.logicalXDPI/screen.deviceXDPI,Qd=screen.logicalYDPI/screen.deviceYDPI;return{left:Ud.left*Jd,right:Ud.right*Jd,top:Ud.top*Qd,bottom:Ud.bottom*Qd}}function gT(Od){if(Od.measure&&(Od.measure.cache={},Od.measure.heights=null,Od.rest))for(var Ud=0;Ud<Od.rest.length;Ud++)Od.measure.caches[Ud]={}}function nS(Od){Od.display.externalMeasure=null,yf(Od.display.lineMeasure);for(var Ud=0;Ud<Od.display.view.length;Ud++)gT(Od.display.view[Ud])}function Vv(Od){nS(Od),Od.display.cachedCharWidth=Od.display.cachedTextHeight=Od.display.cachedPaddingH=null,Od.options.lineWrapping||(Od.display.maxLineChanged=!0),Od.display.lineNumChars=null}function iS(Od){return Ad&&Ld?-(Od.body.getBoundingClientRect().left-parseInt(getComputedStyle(Od.body).marginLeft)):Od.defaultView.pageXOffset||(Od.documentElement||Od.body).scrollLeft}function aS(Od){return Ad&&Ld?-(Od.body.getBoundingClientRect().top-parseInt(getComputedStyle(Od.body).marginTop)):Od.defaultView.pageYOffset||(Od.documentElement||Od.body).scrollTop}function bT(Od){var Ud=Z_(Od),Jd=Ud.widgets,Qd=0;if(Jd)for(var pf=0;pf<Jd.length;++pf)Jd[pf].above&&(Qd+=U_(Jd[pf]));return Qd}function m0(Od,Ud,Jd,Qd,pf){if(!pf){var Cf=bT(Ud);Jd.top+=Cf,Jd.bottom+=Cf}if(Qd=="line")return Jd;Qd||(Qd="local");var jf=Cb(Ud);if(Qd=="local"?jf+=Hg(Od.display):jf-=Od.display.viewOffset,Qd=="page"||Qd=="window"){var Kf=Od.display.lineSpace.getBoundingClientRect();jf+=Kf.top+(Qd=="window"?0:aS(Df(Od)));var sh=Kf.left+(Qd=="window"?0:iS(Df(Od)));Jd.left+=sh,Jd.right+=sh}return Jd.top+=jf,Jd.bottom+=jf,Jd}function mm(Od,Ud,Jd){if(Jd=="div")return Ud;var Qd=Ud.left,pf=Ud.top;if(Jd=="page")Qd-=iS(Df(Od)),pf-=aS(Df(Od));else if(Jd=="local"||!Jd){var Cf=Od.display.sizer.getBoundingClientRect();Qd+=Cf.left,pf+=Cf.top}var jf=Od.display.lineSpace.getBoundingClientRect();return{left:Qd-jf.left,top:pf-jf.top}}function Lm(Od,Ud,Jd,Qd,pf){return Qd||(Qd=Km(Od.doc,Ud.line)),m0(Od,Qd,IE(Od,Qd,Ud.ch,pf),Jd)}function Dm(Od,Ud,Jd,Qd,pf,Cf){Qd=Qd||Km(Od.doc,Ud.line),pf||(pf=mb(Od,Qd));function jf(Rm,jm){var Ym=_b(Od,pf,Rm,jm?"right":"left",Cf);return jm?Ym.left=Ym.right:Ym.right=Ym.left,m0(Od,Qd,Ym,Jd)}var Kf=_m(Qd,Od.doc.direction),sh=Ud.ch,mh=Ud.sticky;if(sh>=Qd.text.length?(sh=Qd.text.length,mh="before"):sh<=0&&(sh=0,mh="after"),!Kf)return jf(mh=="before"?sh-1:sh,mh=="before");function Mh(Rm,jm,Ym){var n_=Kf[jm],a_=n_.level==1;return jf(Ym?Rm-1:Rm,a_!=Ym)}var Jh=Uh(Kf,sh,mh),hm=yh,pm=Mh(sh,Jh,mh=="before");return hm!=null&&(pm.other=Mh(sh,hm,mh!="before")),pm}function f_(Od,Ud){var Jd=0;Ud=E_(Od.doc,Ud),Od.options.lineWrapping||(Jd=_0(Od.display)*Ud.ch);var Qd=Km(Od.doc,Ud.line),pf=Cb(Qd)+Hg(Od.display);return{left:Jd,right:Jd,top:pf,bottom:pf+Qd.height}}function I_(Od,Ud,Jd,Qd,pf){var Cf=Tm(Od,Ud,Jd);return Cf.xRel=pf,Qd&&(Cf.outside=Qd),Cf}function V_(Od,Ud,Jd){var Qd=Od.doc;if(Jd+=Od.display.viewOffset,Jd<0)return I_(Qd.first,0,null,-1,-1);var pf=Bh(Qd,Jd),Cf=Qd.first+Qd.size-1;if(pf>Cf)return I_(Qd.first+Qd.size-1,Km(Qd,Cf).text.length,null,1,1);Ud<0&&(Ud=0);for(var jf=Km(Qd,pf);;){var Kf=a1(Od,jf,pf,Ud,Jd),sh=CE(jf,Kf.ch+(Kf.xRel>0||Kf.outside>0?1:0));if(!sh)return Kf;var mh=sh.find(1);if(mh.line==pf)return mh;jf=Km(Qd,pf=mh.line)}}function Pg(Od,Ud,Jd,Qd){Qd-=bT(Ud);var pf=Ud.text.length,Cf=If(function(jf){return _b(Od,Jd,jf-1).bottom<=Qd},pf,0);return pf=If(function(jf){return _b(Od,Jd,jf).top>Qd},Cf,pf),{begin:Cf,end:pf}}function ag(Od,Ud,Jd,Qd){Jd||(Jd=mb(Od,Ud));var pf=m0(Od,Ud,_b(Od,Jd,Qd),"line").top;return Pg(Od,Ud,Jd,pf)}function zv(Od,Ud,Jd,Qd){return Od.bottom<=Jd?!1:Od.top>Jd?!0:(Qd?Od.left:Od.right)>Ud}function a1(Od,Ud,Jd,Qd,pf){pf-=Cb(Ud);var Cf=mb(Od,Ud),jf=bT(Ud),Kf=0,sh=Ud.text.length,mh=!0,Mh=_m(Ud,Od.doc.direction);if(Mh){var Jh=(Od.options.lineWrapping?RE:Db)(Od,Ud,Jd,Cf,Mh,Qd,pf);mh=Jh.level!=1,Kf=mh?Jh.from:Jh.to-1,sh=mh?Jh.to:Jh.from-1}var hm=null,pm=null,Rm=If(function(g_){var m_=_b(Od,Cf,g_);return m_.top+=jf,m_.bottom+=jf,zv(m_,Qd,pf,!1)?(m_.top<=pf&&m_.left<=Qd&&(hm=g_,pm=m_),!0):!1},Kf,sh),jm,Ym,n_=!1;if(pm){var a_=Qd-pm.left<pm.right-Qd,t_=a_==mh;Rm=hm+(t_?0:1),Ym=t_?"after":"before",jm=a_?pm.left:pm.right}else{!mh&&(Rm==sh||Rm==Kf)&&Rm++,Ym=Rm==0?"after":Rm==Ud.text.length?"before":_b(Od,Cf,Rm-(mh?1:0)).bottom+jf<=pf==mh?"after":"before";var u_=Dm(Od,Tm(Jd,Rm,Ym),"line",Ud,Cf);jm=u_.left,n_=pf<u_.top?-1:pf>=u_.bottom?1:0}return Rm=Rf(Ud.text,Rm,1),I_(Jd,Rm,Ym,n_,Qd-jm)}function Db(Od,Ud,Jd,Qd,pf,Cf,jf){var Kf=If(function(Jh){var hm=pf[Jh],pm=hm.level!=1;return zv(Dm(Od,Tm(Jd,pm?hm.to:hm.from,pm?"before":"after"),"line",Ud,Qd),Cf,jf,!0)},0,pf.length-1),sh=pf[Kf];if(Kf>0){var mh=sh.level!=1,Mh=Dm(Od,Tm(Jd,mh?sh.from:sh.to,mh?"after":"before"),"line",Ud,Qd);zv(Mh,Cf,jf,!0)&&Mh.top>jf&&(sh=pf[Kf-1])}return sh}function RE(Od,Ud,Jd,Qd,pf,Cf,jf){var Kf=Pg(Od,Ud,Qd,jf),sh=Kf.begin,mh=Kf.end;/\s/.test(Ud.text.charAt(mh-1))&&mh--;for(var Mh=null,Jh=null,hm=0;hm<pf.length;hm++){var pm=pf[hm];if(!(pm.from>=mh||pm.to<=sh)){var Rm=pm.level!=1,jm=_b(Od,Qd,Rm?Math.min(mh,pm.to)-1:Math.max(sh,pm.from)).right,Ym=jm<Cf?Cf-jm+1e9:jm-Cf;(!Mh||Jh>Ym)&&(Mh=pm,Jh=Ym)}}return Mh||(Mh=pf[pf.length-1]),Mh.from<sh&&(Mh={from:sh,to:Mh.to,level:Mh.level}),Mh.to>mh&&(Mh={from:Mh.from,to:mh,level:Mh.level}),Mh}var Z0;function Fb(Od){if(Od.cachedTextHeight!=null)return Od.cachedTextHeight;if(Z0==null){Z0=gf("pre",null,"CodeMirror-line-like");for(var Ud=0;Ud<49;++Ud)Z0.appendChild(document.createTextNode("x")),Z0.appendChild(gf("br"));Z0.appendChild(document.createTextNode("x"))}Ef(Od.measure,Z0);var Jd=Z0.offsetHeight/50;return Jd>3&&(Od.cachedTextHeight=Jd),yf(Od.measure),Jd||1}function _0(Od){if(Od.cachedCharWidth!=null)return Od.cachedCharWidth;var Ud=gf("span","xxxxxxxxxx"),Jd=gf("pre",[Ud],"CodeMirror-line-like");Ef(Od.measure,Jd);var Qd=Ud.getBoundingClientRect(),pf=(Qd.right-Qd.left)/10;return pf>2&&(Od.cachedCharWidth=pf),pf||10}function iv(Od){for(var Ud=Od.display,Jd={},Qd={},pf=Ud.gutters.clientLeft,Cf=Ud.gutters.firstChild,jf=0;Cf;Cf=Cf.nextSibling,++jf){var Kf=Od.display.gutterSpecs[jf].className;Jd[Kf]=Cf.offsetLeft+Cf.clientLeft+pf,Qd[Kf]=Cf.clientWidth}return{fixedPos:J_(Ud),gutterTotalWidth:Ud.gutters.offsetWidth,gutterLeft:Jd,gutterWidth:Qd,wrapperWidth:Ud.wrapper.clientWidth}}function J_(Od){return Od.scroller.getBoundingClientRect().left-Od.sizer.getBoundingClientRect().left}function sS(Od){var Ud=Fb(Od.display),Jd=Od.options.lineWrapping,Qd=Jd&&Math.max(5,Od.display.scroller.clientWidth/_0(Od.display)-3);return function(pf){if(Ag(Od.doc,pf))return 0;var Cf=0;if(pf.widgets)for(var jf=0;jf<pf.widgets.length;jf++)pf.widgets[jf].height&&(Cf+=pf.widgets[jf].height);return Jd?Cf+(Math.ceil(pf.text.length/Qd)||1)*Ud:Cf+Ud}}function kE(Od){var Ud=Od.doc,Jd=sS(Od);Ud.iter(function(Qd){var pf=Jd(Qd);pf!=Qd.height&&y_(Qd,pf)})}function t0(Od,Ud,Jd,Qd){var pf=Od.display;if(!Jd&&yg(Ud).getAttribute("cm-not-content")=="true")return null;var Cf,jf,Kf=pf.lineSpace.getBoundingClientRect();try{Cf=Ud.clientX-Kf.left,jf=Ud.clientY-Kf.top}catch{return null}var sh=V_(Od,Cf,jf),mh;if(Qd&&sh.xRel>0&&(mh=Km(Od.doc,sh.line).text).length==sh.ch){var Mh=qf(mh,mh.length,Od.options.tabSize)-mh.length;sh=Tm(sh.line,Math.max(0,Math.round((Cf-tv(Od.display).left)/_0(Od.display))-Mh))}return sh}function ry(Od,Ud){if(Ud>=Od.display.viewTo||(Ud-=Od.display.viewFrom,Ud<0))return null;for(var Jd=Od.display.view,Qd=0;Qd<Jd.length;Qd++)if(Ud-=Jd[Qd].size,Ud<0)return Qd}function ub(Od,Ud,Jd,Qd){Ud==null&&(Ud=Od.doc.first),Jd==null&&(Jd=Od.doc.first+Od.doc.size),Qd||(Qd=0);var pf=Od.display;if(Qd&&Jd<pf.viewTo&&(pf.updateLineNumbers==null||pf.updateLineNumbers>Ud)&&(pf.updateLineNumbers=Ud),Od.curOp.viewChanged=!0,Ud>=pf.viewTo)Ig&&_g(Od.doc,Ud)<pf.viewTo&&jb(Od);else if(Jd<=pf.viewFrom)Ig&&xb(Od.doc,Jd+Qd)>pf.viewFrom?jb(Od):(pf.viewFrom+=Qd,pf.viewTo+=Qd);else if(Ud<=pf.viewFrom&&Jd>=pf.viewTo)jb(Od);else if(Ud<=pf.viewFrom){var Cf=Ub(Od,Jd,Jd+Qd,1);Cf?(pf.view=pf.view.slice(Cf.index),pf.viewFrom=Cf.lineN,pf.viewTo+=Qd):jb(Od)}else if(Jd>=pf.viewTo){var jf=Ub(Od,Ud,Ud,-1);jf?(pf.view=pf.view.slice(0,jf.index),pf.viewTo=jf.lineN):jb(Od)}else{var Kf=Ub(Od,Ud,Ud,-1),sh=Ub(Od,Jd,Jd+Qd,1);Kf&&sh?(pf.view=pf.view.slice(0,Kf.index).concat(N0(Od,Kf.lineN,sh.lineN)).concat(pf.view.slice(sh.index)),pf.viewTo+=Qd):jb(Od)}var mh=pf.externalMeasured;mh&&(Jd<mh.lineN?mh.lineN+=Qd:Ud<mh.lineN+mh.size&&(pf.externalMeasured=null))}function w0(Od,Ud,Jd){Od.curOp.viewChanged=!0;var Qd=Od.display,pf=Od.display.externalMeasured;if(pf&&Ud>=pf.lineN&&Ud<pf.lineN+pf.size&&(Qd.externalMeasured=null),!(Ud<Qd.viewFrom||Ud>=Qd.viewTo)){var Cf=Qd.view[ry(Od,Ud)];if(Cf.node!=null){var jf=Cf.changes||(Cf.changes=[]);ch(jf,Jd)==-1&&jf.push(Jd)}}}function jb(Od){Od.display.viewFrom=Od.display.viewTo=Od.doc.first,Od.display.view=[],Od.display.viewOffset=0}function Ub(Od,Ud,Jd,Qd){var pf=ry(Od,Ud),Cf,jf=Od.display.view;if(!Ig||Jd==Od.doc.first+Od.doc.size)return{index:pf,lineN:Jd};for(var Kf=Od.display.viewFrom,sh=0;sh<pf;sh++)Kf+=jf[sh].size;if(Kf!=Ud){if(Qd>0){if(pf==jf.length-1)return null;Cf=Kf+jf[pf].size-Ud,pf++}else Cf=Kf-Ud;Ud+=Cf,Jd+=Cf}for(;_g(Od.doc,Jd)!=Jd;){if(pf==(Qd<0?0:jf.length-1))return null;Jd+=Qd*jf[pf-(Qd<0?1:0)].size,pf+=Qd}return{index:pf,lineN:Jd}}function ME(Od,Ud,Jd){var Qd=Od.display,pf=Qd.view;pf.length==0||Ud>=Qd.viewTo||Jd<=Qd.viewFrom?(Qd.view=N0(Od,Ud,Jd),Qd.viewFrom=Ud):(Qd.viewFrom>Ud?Qd.view=N0(Od,Ud,Qd.viewFrom).concat(Qd.view):Qd.viewFrom<Ud&&(Qd.view=Qd.view.slice(ry(Od,Ud))),Qd.viewFrom=Ud,Qd.viewTo<Jd?Qd.view=Qd.view.concat(N0(Od,Qd.viewTo,Jd)):Qd.viewTo>Jd&&(Qd.view=Qd.view.slice(0,ry(Od,Jd)))),Qd.viewTo=Jd}function yT(Od){for(var Ud=Od.display.view,Jd=0,Qd=0;Qd<Ud.length;Qd++){var pf=Ud[Qd];!pf.hidden&&(!pf.node||pf.changes)&&++Jd}return Jd}function I0(Od){Od.display.input.showSelection(Od.display.input.prepareSelection())}function vT(Od,Ud){Ud===void 0&&(Ud=!0);var Jd=Od.doc,Qd={},pf=Qd.cursors=document.createDocumentFragment(),Cf=Qd.selection=document.createDocumentFragment(),jf=Od.options.$customCursor;jf&&(Ud=!0);for(var Kf=0;Kf<Jd.sel.ranges.length;Kf++)if(!(!Ud&&Kf==Jd.sel.primIndex)){var sh=Jd.sel.ranges[Kf];if(!(sh.from().line>=Od.display.viewTo||sh.to().line<Od.display.viewFrom)){var mh=sh.empty();if(jf){var Mh=jf(Od,sh);Mh&&$E(Od,Mh,pf)}else(mh||Od.options.showCursorWhenSelecting)&&$E(Od,sh.head,pf);mh||oS(Od,sh,Cf)}}return Qd}function $E(Od,Ud,Jd){var Qd=Dm(Od,Ud,"div",null,null,!Od.options.singleCursorHeightPerLine),pf=Jd.appendChild(gf("div"," ","CodeMirror-cursor"));if(pf.style.left=Qd.left+"px",pf.style.top=Qd.top+"px",pf.style.height=Math.max(0,Qd.bottom-Qd.top)*Od.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(Od.getWrapperElement().className)){var Cf=Lm(Od,Ud,"div",null,null),jf=Cf.right-Cf.left;pf.style.width=(jf>0?jf:Od.defaultCharWidth())+"px"}if(Qd.other){var Kf=Jd.appendChild(gf("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));Kf.style.display="",Kf.style.left=Qd.other.left+"px",Kf.style.top=Qd.other.top+"px",Kf.style.height=(Qd.other.bottom-Qd.other.top)*.85+"px"}}function ny(Od,Ud){return Od.top-Ud.top||Od.left-Ud.left}function oS(Od,Ud,Jd){var Qd=Od.display,pf=Od.doc,Cf=document.createDocumentFragment(),jf=tv(Od.display),Kf=jf.left,sh=Math.max(Qd.sizerWidth,J0(Od)-Qd.sizer.offsetLeft)-jf.right,mh=pf.direction=="ltr";function Mh(t_,u_,g_,m_){u_<0&&(u_=0),u_=Math.round(u_),m_=Math.round(m_),Cf.appendChild(gf("div",null,"CodeMirror-selected","position: absolute; left: "+t_+`px;
|
||
top: `+u_+"px; width: "+(g_??sh-t_)+`px;
|
||
height: `+(m_-u_)+"px"))}function Jh(t_,u_,g_){var m_=Km(pf,t_),R_=m_.text.length,ng,Ng;function gg(Rg,ab){return Lm(Od,Tm(t_,Rg),"div",m_,ab)}function Sg(Rg,ab,Jg){var Bg=ag(Od,m_,null,Rg),kg=ab=="ltr"==(Jg=="after")?"left":"right",xg=Jg=="after"?Bg.begin:Bg.end-(/\s/.test(m_.text.charAt(Bg.end-1))?2:1);return gg(xg,kg)[kg]}var Og=_m(m_,pf.direction);return dh(Og,u_||0,g_??R_,function(Rg,ab,Jg,Bg){var kg=Jg=="ltr",xg=gg(Rg,kg?"left":"right"),cb=gg(ab-1,kg?"right":"left"),Ov=u_==null&&Rg==0,H0=g_==null&&ab==R_,tb=Bg==0,o0=!Og||Bg==Og.length-1;if(cb.top-xg.top<=3){var Wg=(mh?Ov:H0)&&tb,XT=(mh?H0:Ov)&&o0,l0=Wg?Kf:(kg?xg:cb).left,G0=XT?sh:(kg?cb:xg).right;Mh(l0,xg.top,G0-l0,xg.bottom)}else{var q0,sb,kv,QT;kg?(q0=mh&&Ov&&tb?Kf:xg.left,sb=mh?sh:Sg(Rg,Jg,"before"),kv=mh?Kf:Sg(ab,Jg,"after"),QT=mh&&H0&&o0?sh:cb.right):(q0=mh?Sg(Rg,Jg,"before"):Kf,sb=!mh&&Ov&&tb?sh:xg.right,kv=!mh&&H0&&o0?Kf:cb.left,QT=mh?Sg(ab,Jg,"after"):sh),Mh(q0,xg.top,sb-q0,xg.bottom),xg.bottom<cb.top&&Mh(Kf,xg.bottom,null,cb.top),Mh(kv,cb.top,QT-kv,cb.bottom)}(!ng||ny(xg,ng)<0)&&(ng=xg),ny(cb,ng)<0&&(ng=cb),(!Ng||ny(xg,Ng)<0)&&(Ng=xg),ny(cb,Ng)<0&&(Ng=cb)}),{start:ng,end:Ng}}var hm=Ud.from(),pm=Ud.to();if(hm.line==pm.line)Jh(hm.line,hm.ch,pm.ch);else{var Rm=Km(pf,hm.line),jm=Km(pf,pm.line),Ym=Z_(Rm)==Z_(jm),n_=Jh(hm.line,hm.ch,Ym?Rm.text.length+1:null).end,a_=Jh(pm.line,Ym?0:null,pm.ch).start;Ym&&(n_.top<a_.top-2?(Mh(n_.right,n_.top,null,n_.bottom),Mh(Kf,a_.top,a_.left,a_.bottom)):Mh(n_.right,n_.top,a_.left-n_.right,n_.bottom)),n_.bottom<a_.top&&Mh(Kf,n_.bottom,null,a_.top)}Jd.appendChild(Cf)}function iy(Od){if(Od.state.focused){var Ud=Od.display;clearInterval(Ud.blinker);var Jd=!0;Ud.cursorDiv.style.visibility="",Od.options.cursorBlinkRate>0?Ud.blinker=setInterval(function(){Od.hasFocus()||sv(Od),Ud.cursorDiv.style.visibility=(Jd=!Jd)?"":"hidden"},Od.options.cursorBlinkRate):Od.options.cursorBlinkRate<0&&(Ud.cursorDiv.style.visibility="hidden")}}function O0(Od){Od.hasFocus()||(Od.display.input.focus(),Od.state.focused||ET(Od))}function av(Od){Od.state.delayingBlurEvent=!0,setTimeout(function(){Od.state.delayingBlurEvent&&(Od.state.delayingBlurEvent=!1,Od.state.focused&&sv(Od))},100)}function ET(Od,Ud){Od.state.delayingBlurEvent&&!Od.state.draggingText&&(Od.state.delayingBlurEvent=!1),Od.options.readOnly!="nocursor"&&(Od.state.focused||(s_(Od,"focus",Od,Ud),Od.state.focused=!0,Jf(Od.display.wrapper,"CodeMirror-focused"),!Od.curOp&&Od.display.selForContextMenu!=Od.doc.sel&&(Od.display.input.reset(),md&&setTimeout(function(){return Od.display.input.reset(!0)},20)),Od.display.input.receivedFocus()),iy(Od))}function sv(Od,Ud){Od.state.delayingBlurEvent||(Od.state.focused&&(s_(Od,"blur",Od,Ud),Od.state.focused=!1,bf(Od.display.wrapper,"CodeMirror-focused")),clearInterval(Od.display.blinker),setTimeout(function(){Od.state.focused||(Od.display.shift=!1)},150))}function PE(Od){for(var Ud=Od.display,Jd=Ud.lineDiv.offsetTop,Qd=Math.max(0,Ud.scroller.getBoundingClientRect().top),pf=Ud.lineDiv.getBoundingClientRect().top,Cf=0,jf=0;jf<Ud.view.length;jf++){var Kf=Ud.view[jf],sh=Od.options.lineWrapping,mh=void 0,Mh=0;if(!Kf.hidden){if(pf+=Kf.line.height,pd&&fd<8){var Jh=Kf.node.offsetTop+Kf.node.offsetHeight;mh=Jh-Jd,Jd=Jh}else{var hm=Kf.node.getBoundingClientRect();mh=hm.bottom-hm.top,!sh&&Kf.text.firstChild&&(Mh=Kf.text.firstChild.getBoundingClientRect().right-hm.left-1)}var pm=Kf.line.height-mh;if((pm>.005||pm<-.005)&&(pf<Qd&&(Cf-=pm),y_(Kf.line,mh),Wv(Kf.line),Kf.rest))for(var Rm=0;Rm<Kf.rest.length;Rm++)Wv(Kf.rest[Rm]);if(Mh>Od.display.sizerWidth){var jm=Math.ceil(Mh/_0(Od.display));jm>Od.display.maxLineLength&&(Od.display.maxLineLength=jm,Od.display.maxLine=Kf.line,Od.display.maxLineChanged=!0)}}}Math.abs(Cf)>2&&(Ud.scroller.scrollTop+=Cf)}function Wv(Od){if(Od.widgets)for(var Ud=0;Ud<Od.widgets.length;++Ud){var Jd=Od.widgets[Ud],Qd=Jd.node.parentNode;Qd&&(Jd.height=Qd.offsetHeight)}}function ay(Od,Ud,Jd){var Qd=Jd&&Jd.top!=null?Math.max(0,Jd.top):Od.scroller.scrollTop;Qd=Math.floor(Qd-Hg(Od));var pf=Jd&&Jd.bottom!=null?Jd.bottom:Qd+Od.wrapper.clientHeight,Cf=Bh(Ud,Qd),jf=Bh(Ud,pf);if(Jd&&Jd.ensure){var Kf=Jd.ensure.from.line,sh=Jd.ensure.to.line;Kf<Cf?(Cf=Kf,jf=Bh(Ud,Cb(Km(Ud,Kf))+Od.wrapper.clientHeight)):Math.min(sh,Ud.lastLine())>=jf&&(Cf=Bh(Ud,Cb(Km(Ud,sh))-Od.wrapper.clientHeight),jf=sh)}return{from:Cf,to:Math.max(jf,Cf+1)}}function TT(Od,Ud){if(!b_(Od,"scrollCursorIntoView")){var Jd=Od.display,Qd=Jd.sizer.getBoundingClientRect(),pf=null,Cf=Jd.wrapper.ownerDocument;if(Ud.top+Qd.top<0?pf=!0:Ud.bottom+Qd.top>(Cf.defaultView.innerHeight||Cf.documentElement.clientHeight)&&(pf=!1),pf!=null&&!Fd){var jf=gf("div","",null,`position: absolute;
|
||
top: `+(Ud.top-Jd.viewOffset-Hg(Od.display))+`px;
|
||
height: `+(Ud.bottom-Ud.top+e0(Od)+Jd.barHeight)+`px;
|
||
left: `+Ud.left+"px; width: "+Math.max(2,Ud.right-Ud.left)+"px;");Od.display.lineSpace.appendChild(jf),jf.scrollIntoView(pf),Od.display.lineSpace.removeChild(jf)}}}function s1(Od,Ud,Jd,Qd){Qd==null&&(Qd=0);var pf;!Od.options.lineWrapping&&Ud==Jd&&(Jd=Ud.sticky=="before"?Tm(Ud.line,Ud.ch+1,"before"):Ud,Ud=Ud.ch?Tm(Ud.line,Ud.sticky=="before"?Ud.ch-1:Ud.ch,"after"):Ud);for(var Cf=0;Cf<5;Cf++){var jf=!1,Kf=Dm(Od,Ud),sh=!Jd||Jd==Ud?Kf:Dm(Od,Jd);pf={left:Math.min(Kf.left,sh.left),top:Math.min(Kf.top,sh.top)-Qd,right:Math.max(Kf.left,sh.left),bottom:Math.max(Kf.bottom,sh.bottom)+Qd};var mh=ST(Od,pf),Mh=Od.doc.scrollTop,Jh=Od.doc.scrollLeft;if(mh.scrollTop!=null&&(Yv(Od,mh.scrollTop),Math.abs(Od.doc.scrollTop-Mh)>1&&(jf=!0)),mh.scrollLeft!=null&&(Hb(Od,mh.scrollLeft),Math.abs(Od.doc.scrollLeft-Jh)>1&&(jf=!0)),!jf)break}return pf}function lS(Od,Ud){var Jd=ST(Od,Ud);Jd.scrollTop!=null&&Yv(Od,Jd.scrollTop),Jd.scrollLeft!=null&&Hb(Od,Jd.scrollLeft)}function ST(Od,Ud){var Jd=Od.display,Qd=Fb(Od.display);Ud.top<0&&(Ud.top=0);var pf=Od.curOp&&Od.curOp.scrollTop!=null?Od.curOp.scrollTop:Jd.scroller.scrollTop,Cf=_T(Od),jf={};Ud.bottom-Ud.top>Cf&&(Ud.bottom=Ud.top+Cf);var Kf=Od.doc.height+Q0(Jd),sh=Ud.top<Qd,mh=Ud.bottom>Kf-Qd;if(Ud.top<pf)jf.scrollTop=sh?0:Ud.top;else if(Ud.bottom>pf+Cf){var Mh=Math.min(Ud.top,(mh?Kf:Ud.bottom)-Cf);Mh!=pf&&(jf.scrollTop=Mh)}var Jh=Od.options.fixedGutter?0:Jd.gutters.offsetWidth,hm=Od.curOp&&Od.curOp.scrollLeft!=null?Od.curOp.scrollLeft:Jd.scroller.scrollLeft-Jh,pm=J0(Od)-Jd.gutters.offsetWidth,Rm=Ud.right-Ud.left>pm;return Rm&&(Ud.right=Ud.left+pm),Ud.left<10?jf.scrollLeft=0:Ud.left<hm?jf.scrollLeft=Math.max(0,Ud.left+Jh-(Rm?0:10)):Ud.right>pm+hm-3&&(jf.scrollLeft=Ud.right+(Rm?0:10)-pm),jf}function xT(Od,Ud){Ud!=null&&(LE(Od),Od.curOp.scrollTop=(Od.curOp.scrollTop==null?Od.doc.scrollTop:Od.curOp.scrollTop)+Ud)}function bg(Od){LE(Od);var Ud=Od.getCursor();Od.curOp.scrollToPos={from:Ud,to:Ud,margin:Od.options.cursorScrollMargin}}function Lg(Od,Ud,Jd){(Ud!=null||Jd!=null)&&LE(Od),Ud!=null&&(Od.curOp.scrollLeft=Ud),Jd!=null&&(Od.curOp.scrollTop=Jd)}function o1(Od,Ud){LE(Od),Od.curOp.scrollToPos=Ud}function LE(Od){var Ud=Od.curOp.scrollToPos;if(Ud){Od.curOp.scrollToPos=null;var Jd=f_(Od,Ud.from),Qd=f_(Od,Ud.to);CT(Od,Jd,Qd,Ud.margin)}}function CT(Od,Ud,Jd,Qd){var pf=ST(Od,{left:Math.min(Ud.left,Jd.left),top:Math.min(Ud.top,Jd.top)-Qd,right:Math.max(Ud.right,Jd.right),bottom:Math.max(Ud.bottom,Jd.bottom)+Qd});Lg(Od,pf.scrollLeft,pf.scrollTop)}function Yv(Od,Ud){Math.abs(Od.doc.scrollTop-Ud)<2||(ld||Gb(Od,{top:Ud}),BE(Od,Ud,!0),ld&&Gb(Od),Qv(Od,100))}function BE(Od,Ud,Jd){Ud=Math.max(0,Math.min(Od.display.scroller.scrollHeight-Od.display.scroller.clientHeight,Ud)),!(Od.display.scroller.scrollTop==Ud&&!Jd)&&(Od.doc.scrollTop=Ud,Od.display.scrollbars.setScrollTop(Ud),Od.display.scroller.scrollTop!=Ud&&(Od.display.scroller.scrollTop=Ud))}function Hb(Od,Ud,Jd,Qd){Ud=Math.max(0,Math.min(Ud,Od.display.scroller.scrollWidth-Od.display.scroller.clientWidth)),!((Jd?Ud==Od.doc.scrollLeft:Math.abs(Od.doc.scrollLeft-Ud)<2)&&!Qd)&&(Od.doc.scrollLeft=Ud,pS(Od),Od.display.scroller.scrollLeft!=Ud&&(Od.display.scroller.scrollLeft=Ud),Od.display.scrollbars.setScrollLeft(Ud))}function sy(Od){var Ud=Od.display,Jd=Ud.gutters.offsetWidth,Qd=Math.round(Od.doc.height+Q0(Od.display));return{clientHeight:Ud.scroller.clientHeight,viewHeight:Ud.wrapper.clientHeight,scrollWidth:Ud.scroller.scrollWidth,clientWidth:Ud.scroller.clientWidth,viewWidth:Ud.wrapper.clientWidth,barLeft:Od.options.fixedGutter?Jd:0,docHeight:Qd,scrollHeight:Qd+e0(Od)+Ud.barHeight,nativeBarWidth:Ud.nativeBarWidth,gutterWidth:Jd}}var Nb=function(Od,Ud,Jd){this.cm=Jd;var Qd=this.vert=gf("div",[gf("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),pf=this.horiz=gf("div",[gf("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");Qd.tabIndex=pf.tabIndex=-1,Od(Qd),Od(pf),Om(Qd,"scroll",function(){Qd.clientHeight&&Ud(Qd.scrollTop,"vertical")}),Om(pf,"scroll",function(){pf.clientWidth&&Ud(pf.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,pd&&fd<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Nb.prototype.update=function(Od){var Ud=Od.scrollWidth>Od.clientWidth+1,Jd=Od.scrollHeight>Od.clientHeight+1,Qd=Od.nativeBarWidth;if(Jd){this.vert.style.display="block",this.vert.style.bottom=Ud?Qd+"px":"0";var pf=Od.viewHeight-(Ud?Qd:0);this.vert.firstChild.style.height=Math.max(0,Od.scrollHeight-Od.clientHeight+pf)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(Ud){this.horiz.style.display="block",this.horiz.style.right=Jd?Qd+"px":"0",this.horiz.style.left=Od.barLeft+"px";var Cf=Od.viewWidth-Od.barLeft-(Jd?Qd:0);this.horiz.firstChild.style.width=Math.max(0,Od.scrollWidth-Od.clientWidth+Cf)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&Od.clientHeight>0&&(Qd==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:Jd?Qd:0,bottom:Ud?Qd:0}},Nb.prototype.setScrollLeft=function(Od){this.horiz.scrollLeft!=Od&&(this.horiz.scrollLeft=Od),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Nb.prototype.setScrollTop=function(Od){this.vert.scrollTop!=Od&&(this.vert.scrollTop=Od),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Nb.prototype.zeroWidthHack=function(){var Od=Gd&&!jd?"12px":"18px";this.horiz.style.height=this.vert.style.width=Od,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new eh,this.disableVert=new eh},Nb.prototype.enableZeroWidthBar=function(Od,Ud,Jd){Od.style.visibility="";function Qd(){var pf=Od.getBoundingClientRect(),Cf=Jd=="vert"?document.elementFromPoint(pf.right-1,(pf.top+pf.bottom)/2):document.elementFromPoint((pf.right+pf.left)/2,pf.bottom-1);Cf!=Od?Od.style.visibility="hidden":Ud.set(1e3,Qd)}Ud.set(1e3,Qd)},Nb.prototype.clear=function(){var Od=this.horiz.parentNode;Od.removeChild(this.horiz),Od.removeChild(this.vert)};var g0=function(){};g0.prototype.update=function(){return{bottom:0,right:0}},g0.prototype.setScrollLeft=function(){},g0.prototype.setScrollTop=function(){},g0.prototype.clear=function(){};function r0(Od,Ud){Ud||(Ud=sy(Od));var Jd=Od.display.barWidth,Qd=Od.display.barHeight;Kv(Od,Ud);for(var pf=0;pf<4&&Jd!=Od.display.barWidth||Qd!=Od.display.barHeight;pf++)Jd!=Od.display.barWidth&&Od.options.lineWrapping&&PE(Od),Kv(Od,sy(Od)),Jd=Od.display.barWidth,Qd=Od.display.barHeight}function Kv(Od,Ud){var Jd=Od.display,Qd=Jd.scrollbars.update(Ud);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&&Od.options.coverGutterNextToScrollbar&&Od.options.fixedGutter?(Jd.gutterFiller.style.display="block",Jd.gutterFiller.style.height=Qd.bottom+"px",Jd.gutterFiller.style.width=Ud.gutterWidth+"px"):Jd.gutterFiller.style.display=""}var oy={native:Nb,null:g0};function uS(Od){Od.display.scrollbars&&(Od.display.scrollbars.clear(),Od.display.scrollbars.addClass&&bf(Od.display.wrapper,Od.display.scrollbars.addClass)),Od.display.scrollbars=new oy[Od.options.scrollbarStyle](function(Ud){Od.display.wrapper.insertBefore(Ud,Od.display.scrollbarFiller),Om(Ud,"mousedown",function(){Od.state.focused&&setTimeout(function(){return Od.display.input.focus()},0)}),Ud.setAttribute("cm-not-content","true")},function(Ud,Jd){Jd=="horizontal"?Hb(Od,Ud):Yv(Od,Ud)},Od),Od.display.scrollbars.addClass&&Jf(Od.display.wrapper,Od.display.scrollbars.addClass)}var l1=0;function uy(Od){Od.curOp={cm:Od,viewChanged:!1,startHeight:Od.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:++l1,markArrays:null},wE(Od.curOp)}function Ty(Od){var Ud=Od.curOp;Ud&&zd(Ud,function(Jd){for(var Qd=0;Qd<Jd.ops.length;Qd++)Jd.ops[Qd].cm.curOp=null;u1(Jd)})}function u1(Od){for(var Ud=Od.ops,Jd=0;Jd<Ud.length;Jd++)FE(Ud[Jd]);for(var Qd=0;Qd<Ud.length;Qd++)Xv(Ud[Qd]);for(var pf=0;pf<Ud.length;pf++)cS(Ud[pf]);for(var Cf=0;Cf<Ud.length;Cf++)Ah(Ud[Cf]);for(var jf=0;jf<Ud.length;jf++)ov(Ud[jf])}function FE(Od){var Ud=Od.cm,Jd=Ud.display;d1(Ud),Od.updateMaxLine&&Jy(Ud),Od.mustUpdate=Od.viewChanged||Od.forceUpdate||Od.scrollTop!=null||Od.scrollToPos&&(Od.scrollToPos.from.line<Jd.viewFrom||Od.scrollToPos.to.line>=Jd.viewTo)||Jd.maxLineChanged&&Ud.options.lineWrapping,Od.update=Od.mustUpdate&&new n0(Ud,Od.mustUpdate&&{top:Od.scrollTop,ensure:Od.scrollToPos},Od.forceUpdate)}function Xv(Od){Od.updatedDisplay=Od.mustUpdate&&AT(Od.cm,Od.update)}function cS(Od){var Ud=Od.cm,Jd=Ud.display;Od.updatedDisplay&&PE(Ud),Od.barMeasure=sy(Ud),Jd.maxLineChanged&&!Ud.options.lineWrapping&&(Od.adjustWidthTo=IE(Ud,Jd.maxLine,Jd.maxLine.text.length).left+3,Ud.display.sizerWidth=Od.adjustWidthTo,Od.barMeasure.scrollWidth=Math.max(Jd.scroller.clientWidth,Jd.sizer.offsetLeft+Od.adjustWidthTo+e0(Ud)+Ud.display.barWidth),Od.maxScrollLeft=Math.max(0,Jd.sizer.offsetLeft+Od.adjustWidthTo-J0(Ud))),(Od.updatedDisplay||Od.selectionChanged)&&(Od.preparedSelection=Jd.input.prepareSelection())}function Ah(Od){var Ud=Od.cm;Od.adjustWidthTo!=null&&(Ud.display.sizer.style.minWidth=Od.adjustWidthTo+"px",Od.maxScrollLeft<Ud.doc.scrollLeft&&Hb(Ud,Math.min(Ud.display.scroller.scrollLeft,Od.maxScrollLeft),!0),Ud.display.maxLineChanged=!1);var Jd=Od.focus&&Od.focus==Xf(Uf(Ud));Od.preparedSelection&&Ud.display.input.showSelection(Od.preparedSelection,Jd),(Od.updatedDisplay||Od.startHeight!=Ud.doc.height)&&r0(Ud,Od.barMeasure),Od.updatedDisplay&&NT(Ud,Od.barMeasure),Od.selectionChanged&&iy(Ud),Ud.state.focused&&Od.updateInput&&Ud.display.input.reset(Od.typing),Jd&&O0(Od.cm)}function ov(Od){var Ud=Od.cm,Jd=Ud.display,Qd=Ud.doc;if(Od.updatedDisplay&&dS(Ud,Od.update),Jd.wheelStartX!=null&&(Od.scrollTop!=null||Od.scrollLeft!=null||Od.scrollToPos)&&(Jd.wheelStartX=Jd.wheelStartY=null),Od.scrollTop!=null&&BE(Ud,Od.scrollTop,Od.forceScroll),Od.scrollLeft!=null&&Hb(Ud,Od.scrollLeft,!0,!0),Od.scrollToPos){var pf=s1(Ud,E_(Qd,Od.scrollToPos.from),E_(Qd,Od.scrollToPos.to),Od.scrollToPos.margin);TT(Ud,pf)}var Cf=Od.maybeHiddenMarkers,jf=Od.maybeUnhiddenMarkers;if(Cf)for(var Kf=0;Kf<Cf.length;++Kf)Cf[Kf].lines.length||s_(Cf[Kf],"hide");if(jf)for(var sh=0;sh<jf.length;++sh)jf[sh].lines.length&&s_(jf[sh],"unhide");Jd.wrapper.offsetHeight&&(Qd.scrollTop=Ud.display.scroller.scrollTop),Od.changeObjs&&s_(Ud,"changes",Ud,Od.changeObjs),Od.update&&Od.update.finish()}function eb(Od,Ud){if(Od.curOp)return Ud();uy(Od);try{return Ud()}finally{Ty(Od)}}function eg(Od,Ud){return function(){if(Od.curOp)return Ud.apply(Od,arguments);uy(Od);try{return Ud.apply(Od,arguments)}finally{Ty(Od)}}}function S_(Od){return function(){if(this.curOp)return Od.apply(this,arguments);uy(this);try{return Od.apply(this,arguments)}finally{Ty(this)}}}function Gg(Od){return function(){var Ud=this.cm;if(!Ud||Ud.curOp)return Od.apply(this,arguments);uy(Ud);try{return Od.apply(this,arguments)}finally{Ty(Ud)}}}function Qv(Od,Ud){Od.doc.highlightFrontier<Od.display.viewTo&&Od.state.highlight.set(Ud,Tf(c1,Od))}function c1(Od){var Ud=Od.doc;if(!(Ud.highlightFrontier>=Od.display.viewTo)){var Jd=+new Date+Od.options.workTime,Qd=Ug(Od,Ud.highlightFrontier),pf=[];Ud.iter(Qd.line,Math.min(Ud.first+Ud.size,Od.display.viewTo+500),function(Cf){if(Qd.line>=Od.display.viewFrom){var jf=Cf.styles,Kf=Cf.text.length>Od.options.maxHighlightLength?o_(Ud.mode,Qd.state):null,sh=Tb(Od,Cf,Qd,!0);Kf&&(Qd.state=Kf),Cf.styles=sh.styles;var mh=Cf.styleClasses,Mh=sh.classes;Mh?Cf.styleClasses=Mh:mh&&(Cf.styleClasses=null);for(var Jh=!jf||jf.length!=Cf.styles.length||mh!=Mh&&(!mh||!Mh||mh.bgClass!=Mh.bgClass||mh.textClass!=Mh.textClass),hm=0;!Jh&&hm<jf.length;++hm)Jh=jf[hm]!=Cf.styles[hm];Jh&&pf.push(Qd.line),Cf.stateAfter=Qd.save(),Qd.nextLine()}else Cf.text.length<=Od.options.maxHighlightLength&&Sb(Od,Cf.text,Qd),Cf.stateAfter=Qd.line%5==0?Qd.save():null,Qd.nextLine();if(+new Date>Jd)return Qv(Od,Od.options.workDelay),!0}),Ud.highlightFrontier=Qd.line,Ud.modeFrontier=Math.max(Ud.modeFrontier,Qd.line),pf.length&&eb(Od,function(){for(var Cf=0;Cf<pf.length;Cf++)w0(Od,pf[Cf],"text")})}}var n0=function(Od,Ud,Jd){var Qd=Od.display;this.viewport=Ud,this.visible=ay(Qd,Od.doc,Ud),this.editorIsHidden=!Qd.wrapper.offsetWidth,this.wrapperHeight=Qd.wrapper.clientHeight,this.wrapperWidth=Qd.wrapper.clientWidth,this.oldDisplayWidth=J0(Od),this.force=Jd,this.dims=iv(Od),this.events=[]};n0.prototype.signal=function(Od,Ud){x_(Od,Ud)&&this.events.push(arguments)},n0.prototype.finish=function(){for(var Od=0;Od<this.events.length;Od++)s_.apply(null,this.events[Od])};function d1(Od){var Ud=Od.display;!Ud.scrollbarsClipped&&Ud.scroller.offsetWidth&&(Ud.nativeBarWidth=Ud.scroller.offsetWidth-Ud.scroller.clientWidth,Ud.heightForcer.style.height=e0(Od)+"px",Ud.sizer.style.marginBottom=-Ud.nativeBarWidth+"px",Ud.sizer.style.borderRightWidth=e0(Od)+"px",Ud.scrollbarsClipped=!0)}function p1(Od){if(Od.hasFocus())return null;var Ud=Xf(Uf(Od));if(!Ud||!Lf(Od.display.lineDiv,Ud))return null;var Jd={activeElt:Ud};if(window.getSelection){var Qd=zf(Od).getSelection();Qd.anchorNode&&Qd.extend&&Lf(Od.display.lineDiv,Qd.anchorNode)&&(Jd.anchorNode=Qd.anchorNode,Jd.anchorOffset=Qd.anchorOffset,Jd.focusNode=Qd.focusNode,Jd.focusOffset=Qd.focusOffset)}return Jd}function f1(Od){if(!(!Od||!Od.activeElt||Od.activeElt==Xf(Gf(Od.activeElt)))&&(Od.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(Od.activeElt.nodeName)&&Od.anchorNode&&Lf(document.body,Od.anchorNode)&&Lf(document.body,Od.focusNode))){var Ud=Od.activeElt.ownerDocument,Jd=Ud.defaultView.getSelection(),Qd=Ud.createRange();Qd.setEnd(Od.anchorNode,Od.anchorOffset),Qd.collapse(!1),Jd.removeAllRanges(),Jd.addRange(Qd),Jd.extend(Od.focusNode,Od.focusOffset)}}function AT(Od,Ud){var Jd=Od.display,Qd=Od.doc;if(Ud.editorIsHidden)return jb(Od),!1;if(!Ud.force&&Ud.visible.from>=Jd.viewFrom&&Ud.visible.to<=Jd.viewTo&&(Jd.updateLineNumbers==null||Jd.updateLineNumbers>=Jd.viewTo)&&Jd.renderedView==Jd.view&&yT(Od)==0)return!1;fS(Od)&&(jb(Od),Ud.dims=iv(Od));var pf=Qd.first+Qd.size,Cf=Math.max(Ud.visible.from-Od.options.viewportMargin,Qd.first),jf=Math.min(pf,Ud.visible.to+Od.options.viewportMargin);Jd.viewFrom<Cf&&Cf-Jd.viewFrom<20&&(Cf=Math.max(Qd.first,Jd.viewFrom)),Jd.viewTo>jf&&Jd.viewTo-jf<20&&(jf=Math.min(pf,Jd.viewTo)),Ig&&(Cf=_g(Od.doc,Cf),jf=xb(Od.doc,jf));var Kf=Cf!=Jd.viewFrom||jf!=Jd.viewTo||Jd.lastWrapHeight!=Ud.wrapperHeight||Jd.lastWrapWidth!=Ud.wrapperWidth;ME(Od,Cf,jf),Jd.viewOffset=Cb(Km(Od.doc,Jd.viewFrom)),Od.display.mover.style.top=Jd.viewOffset+"px";var sh=yT(Od);if(!Kf&&sh==0&&!Ud.force&&Jd.renderedView==Jd.view&&(Jd.updateLineNumbers==null||Jd.updateLineNumbers>=Jd.viewTo))return!1;var mh=p1(Od);return sh>4&&(Jd.lineDiv.style.display="none"),h1(Od,Jd.updateLineNumbers,Ud.dims),sh>4&&(Jd.lineDiv.style.display=""),Jd.renderedView=Jd.view,f1(mh),yf(Jd.cursorDiv),yf(Jd.selectionDiv),Jd.gutters.style.height=Jd.sizer.style.minHeight=0,Kf&&(Jd.lastWrapHeight=Ud.wrapperHeight,Jd.lastWrapWidth=Ud.wrapperWidth,Qv(Od,400)),Jd.updateLineNumbers=null,!0}function dS(Od,Ud){for(var Jd=Ud.viewport,Qd=!0;;Qd=!1){if(!Qd||!Od.options.lineWrapping||Ud.oldDisplayWidth==J0(Od)){if(Jd&&Jd.top!=null&&(Jd={top:Math.min(Od.doc.height+Q0(Od.display)-_T(Od),Jd.top)}),Ud.visible=ay(Od.display,Od.doc,Jd),Ud.visible.from>=Od.display.viewFrom&&Ud.visible.to<=Od.display.viewTo)break}else Qd&&(Ud.visible=ay(Od.display,Od.doc,Jd));if(!AT(Od,Ud))break;PE(Od);var pf=sy(Od);I0(Od),r0(Od,pf),NT(Od,pf),Ud.force=!1}Ud.signal(Od,"update",Od),(Od.display.viewFrom!=Od.display.reportedViewFrom||Od.display.viewTo!=Od.display.reportedViewTo)&&(Ud.signal(Od,"viewportChange",Od,Od.display.viewFrom,Od.display.viewTo),Od.display.reportedViewFrom=Od.display.viewFrom,Od.display.reportedViewTo=Od.display.viewTo)}function Gb(Od,Ud){var Jd=new n0(Od,Ud);if(AT(Od,Jd)){PE(Od),dS(Od,Jd);var Qd=sy(Od);I0(Od),r0(Od,Qd),NT(Od,Qd),Jd.finish()}}function h1(Od,Ud,Jd){var Qd=Od.display,pf=Od.options.lineNumbers,Cf=Qd.lineDiv,jf=Cf.firstChild;function Kf(Rm){var jm=Rm.nextSibling;return md&&Gd&&Od.display.currentWheelTarget==Rm?Rm.style.display="none":Rm.parentNode.removeChild(Rm),jm}for(var sh=Qd.view,mh=Qd.viewFrom,Mh=0;Mh<sh.length;Mh++){var Jh=sh[Mh];if(!Jh.hidden)if(!Jh.node||Jh.node.parentNode!=Cf){var hm=l_(Od,Jh,mh,Jd);Cf.insertBefore(hm,jf)}else{for(;jf!=Jh.node;)jf=Kf(jf);var pm=pf&&Ud!=null&&Ud<=mh&&Jh.lineNumber;Jh.changes&&(ch(Jh.changes,"gutter")>-1&&(pm=!1),Nf(Od,Jh,mh,Jd)),pm&&(yf(Jh.lineNumber),Jh.lineNumber.appendChild(document.createTextNode(zm(Od.options,mh)))),jf=Jh.node.nextSibling}mh+=Jh.size}for(;jf;)jf=Kf(jf)}function DT(Od){var Ud=Od.gutters.offsetWidth;Od.sizer.style.marginLeft=Ud+"px",Yd(Od,"gutterChanged",Od)}function NT(Od,Ud){Od.display.sizer.style.minHeight=Ud.docHeight+"px",Od.display.heightForcer.style.top=Ud.docHeight+"px",Od.display.gutters.style.height=Ud.docHeight+Od.display.barHeight+e0(Od)+"px"}function pS(Od){var Ud=Od.display,Jd=Ud.view;if(!(!Ud.alignWidgets&&(!Ud.gutters.firstChild||!Od.options.fixedGutter))){for(var Qd=J_(Ud)-Ud.scroller.scrollLeft+Od.doc.scrollLeft,pf=Ud.gutters.offsetWidth,Cf=Qd+"px",jf=0;jf<Jd.length;jf++)if(!Jd[jf].hidden){Od.options.fixedGutter&&(Jd[jf].gutter&&(Jd[jf].gutter.style.left=Cf),Jd[jf].gutterBackground&&(Jd[jf].gutterBackground.style.left=Cf));var Kf=Jd[jf].alignable;if(Kf)for(var sh=0;sh<Kf.length;sh++)Kf[sh].style.left=Cf}Od.options.fixedGutter&&(Ud.gutters.style.left=Qd+pf+"px")}}function fS(Od){if(!Od.options.lineNumbers)return!1;var Ud=Od.doc,Jd=zm(Od.options,Ud.first+Ud.size-1),Qd=Od.display;if(Jd.length!=Qd.lineNumChars){var pf=Qd.measure.appendChild(gf("div",[gf("div",Jd)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Cf=pf.firstChild.offsetWidth,jf=pf.offsetWidth-Cf;return Qd.lineGutter.style.width="",Qd.lineNumInnerWidth=Math.max(Cf,Qd.lineGutter.offsetWidth-jf)+1,Qd.lineNumWidth=Qd.lineNumInnerWidth+jf,Qd.lineNumChars=Qd.lineNumInnerWidth?Jd.length:-1,Qd.lineGutter.style.width=Qd.lineNumWidth+"px",DT(Od.display),!0}return!1}function qb(Od,Ud){for(var Jd=[],Qd=!1,pf=0;pf<Od.length;pf++){var Cf=Od[pf],jf=null;if(typeof Cf!="string"&&(jf=Cf.style,Cf=Cf.className),Cf=="CodeMirror-linenumbers")if(Ud)Qd=!0;else continue;Jd.push({className:Cf,style:jf})}return Ud&&!Qd&&Jd.push({className:"CodeMirror-linenumbers",style:null}),Jd}function hS(Od){var Ud=Od.gutters,Jd=Od.gutterSpecs;yf(Ud),Od.lineGutter=null;for(var Qd=0;Qd<Jd.length;++Qd){var pf=Jd[Qd],Cf=pf.className,jf=pf.style,Kf=Ud.appendChild(gf("div",null,"CodeMirror-gutter "+Cf));jf&&(Kf.style.cssText=jf),Cf=="CodeMirror-linenumbers"&&(Od.lineGutter=Kf,Kf.style.width=(Od.lineNumWidth||1)+"px")}Ud.style.display=Jd.length?"":"none",DT(Od)}function Jv(Od){hS(Od.display),ub(Od),pS(Od)}function m1(Od,Ud,Jd,Qd){var pf=this;this.input=Jd,pf.scrollbarFiller=gf("div",null,"CodeMirror-scrollbar-filler"),pf.scrollbarFiller.setAttribute("cm-not-content","true"),pf.gutterFiller=gf("div",null,"CodeMirror-gutter-filler"),pf.gutterFiller.setAttribute("cm-not-content","true"),pf.lineDiv=xf("div",null,"CodeMirror-code"),pf.selectionDiv=gf("div",null,null,"position: relative; z-index: 1"),pf.cursorDiv=gf("div",null,"CodeMirror-cursors"),pf.measure=gf("div",null,"CodeMirror-measure"),pf.lineMeasure=gf("div",null,"CodeMirror-measure"),pf.lineSpace=xf("div",[pf.measure,pf.lineMeasure,pf.selectionDiv,pf.cursorDiv,pf.lineDiv],null,"position: relative; outline: none");var Cf=xf("div",[pf.lineSpace],"CodeMirror-lines");pf.mover=gf("div",[Cf],null,"position: relative"),pf.sizer=gf("div",[pf.mover],"CodeMirror-sizer"),pf.sizerWidth=null,pf.heightForcer=gf("div",null,null,"position: absolute; height: "+ih+"px; width: 1px;"),pf.gutters=gf("div",null,"CodeMirror-gutters"),pf.lineGutter=null,pf.scroller=gf("div",[pf.sizer,pf.heightForcer,pf.gutters],"CodeMirror-scroll"),pf.scroller.setAttribute("tabIndex","-1"),pf.wrapper=gf("div",[pf.scrollbarFiller,pf.gutterFiller,pf.scroller],"CodeMirror"),Ad&&Nd>=105&&(pf.wrapper.style.clipPath="inset(0px)"),pf.wrapper.setAttribute("translate","no"),pd&&fd<8&&(pf.gutters.style.zIndex=-1,pf.scroller.style.paddingRight=0),!md&&!(ld&&Hd)&&(pf.scroller.draggable=!0),Od&&(Od.appendChild?Od.appendChild(pf.wrapper):Od(pf.wrapper)),pf.viewFrom=pf.viewTo=Ud.first,pf.reportedViewFrom=pf.reportedViewTo=Ud.first,pf.view=[],pf.renderedView=null,pf.externalMeasured=null,pf.viewOffset=0,pf.lastWrapHeight=pf.lastWrapWidth=0,pf.updateLineNumbers=null,pf.nativeBarWidth=pf.barHeight=pf.barWidth=0,pf.scrollbarsClipped=!1,pf.lineNumWidth=pf.lineNumInnerWidth=pf.lineNumChars=null,pf.alignWidgets=!1,pf.cachedCharWidth=pf.cachedTextHeight=pf.cachedPaddingH=null,pf.maxLine=null,pf.maxLineLength=0,pf.maxLineChanged=!1,pf.wheelDX=pf.wheelDY=pf.wheelStartX=pf.wheelStartY=null,pf.shift=!1,pf.selForContextMenu=null,pf.activeTouch=null,pf.gutterSpecs=qb(Qd.gutters,Qd.lineNumbers),hS(pf),Jd.init(pf)}var jE=0,b0=null;pd?b0=-.53:ld?b0=15:Ad?b0=-.7:kd&&(b0=-1/3);function R0(Od){var Ud=Od.wheelDeltaX,Jd=Od.wheelDeltaY;return Ud==null&&Od.detail&&Od.axis==Od.HORIZONTAL_AXIS&&(Ud=Od.detail),Jd==null&&Od.detail&&Od.axis==Od.VERTICAL_AXIS?Jd=Od.detail:Jd==null&&(Jd=Od.wheelDelta),{x:Ud,y:Jd}}function _1(Od){var Ud=R0(Od);return Ud.x*=b0,Ud.y*=b0,Ud}function mS(Od,Ud){Ad&&Nd==102&&(Od.display.chromeScrollHack==null?Od.display.sizer.style.pointerEvents="none":clearTimeout(Od.display.chromeScrollHack),Od.display.chromeScrollHack=setTimeout(function(){Od.display.chromeScrollHack=null,Od.display.sizer.style.pointerEvents=""},100));var Jd=R0(Ud),Qd=Jd.x,pf=Jd.y,Cf=b0;Ud.deltaMode===0&&(Qd=Ud.deltaX,pf=Ud.deltaY,Cf=1);var jf=Od.display,Kf=jf.scroller,sh=Kf.scrollWidth>Kf.clientWidth,mh=Kf.scrollHeight>Kf.clientHeight;if(Qd&&sh||pf&&mh){if(pf&&Gd&&md){e:for(var Mh=Ud.target,Jh=jf.view;Mh!=Kf;Mh=Mh.parentNode)for(var hm=0;hm<Jh.length;hm++)if(Jh[hm].node==Mh){Od.display.currentWheelTarget=Mh;break e}}if(Qd&&!ld&&!Id&&Cf!=null){pf&&mh&&Yv(Od,Math.max(0,Kf.scrollTop+pf*Cf)),Hb(Od,Math.max(0,Kf.scrollLeft+Qd*Cf)),(!pf||pf&&mh)&&h_(Ud),jf.wheelStartX=null;return}if(pf&&Cf!=null){var pm=pf*Cf,Rm=Od.doc.scrollTop,jm=Rm+jf.wrapper.clientHeight;pm<0?Rm=Math.max(0,Rm+pm-50):jm=Math.min(Od.doc.height,jm+pm+50),Gb(Od,{top:Rm,bottom:jm})}jE<20&&Ud.deltaMode!==0&&(jf.wheelStartX==null?(jf.wheelStartX=Kf.scrollLeft,jf.wheelStartY=Kf.scrollTop,jf.wheelDX=Qd,jf.wheelDY=pf,setTimeout(function(){if(jf.wheelStartX!=null){var Ym=Kf.scrollLeft-jf.wheelStartX,n_=Kf.scrollTop-jf.wheelStartY,a_=n_&&jf.wheelDY&&n_/jf.wheelDY||Ym&&jf.wheelDX&&Ym/jf.wheelDX;jf.wheelStartX=jf.wheelStartY=null,a_&&(b0=(b0*jE+a_)/(jE+1),++jE)}},200)):(jf.wheelDX+=Qd,jf.wheelDY+=pf))}}var Tg=function(Od,Ud){this.ranges=Od,this.primIndex=Ud};Tg.prototype.primary=function(){return this.ranges[this.primIndex]},Tg.prototype.equals=function(Od){if(Od==this)return!0;if(Od.primIndex!=this.primIndex||Od.ranges.length!=this.ranges.length)return!1;for(var Ud=0;Ud<this.ranges.length;Ud++){var Jd=this.ranges[Ud],Qd=Od.ranges[Ud];if(!O_(Jd.anchor,Qd.anchor)||!O_(Jd.head,Qd.head))return!1}return!0},Tg.prototype.deepCopy=function(){for(var Od=[],Ud=0;Ud<this.ranges.length;Ud++)Od[Ud]=new X_(og(this.ranges[Ud].anchor),og(this.ranges[Ud].head));return new Tg(Od,this.primIndex)},Tg.prototype.somethingSelected=function(){for(var Od=0;Od<this.ranges.length;Od++)if(!this.ranges[Od].empty())return!0;return!1},Tg.prototype.contains=function(Od,Ud){Ud||(Ud=Od);for(var Jd=0;Jd<this.ranges.length;Jd++){var Qd=this.ranges[Jd];if(e_(Ud,Qd.from())>=0&&e_(Od,Qd.to())<=0)return Jd}return-1};var X_=function(Od,Ud){this.anchor=Od,this.head=Ud};X_.prototype.from=function(){return rb(this.anchor,this.head)},X_.prototype.to=function(){return Cg(this.anchor,this.head)},X_.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Vb(Od,Ud,Jd){var Qd=Od&&Od.options.selectionsMayTouch,pf=Ud[Jd];Ud.sort(function(hm,pm){return e_(hm.from(),pm.from())}),Jd=ch(Ud,pf);for(var Cf=1;Cf<Ud.length;Cf++){var jf=Ud[Cf],Kf=Ud[Cf-1],sh=e_(Kf.to(),jf.from());if(Qd&&!jf.empty()?sh>0:sh>=0){var mh=rb(Kf.from(),jf.from()),Mh=Cg(Kf.to(),jf.to()),Jh=Kf.empty()?jf.from()==jf.head:Kf.from()==Kf.head;Cf<=Jd&&--Jd,Ud.splice(--Cf,2,new X_(Jh?Mh:mh,Jh?mh:Mh))}}return new Tg(Ud,Jd)}function k0(Od,Ud){return new Tg([new X_(Od,Ud||Od)],0)}function M0(Od){return Od.text?Tm(Od.from.line+Od.text.length-1,Th(Od.text).length+(Od.text.length==1?Od.from.ch:0)):Od.to}function _S(Od,Ud){if(e_(Od,Ud.from)<0)return Od;if(e_(Od,Ud.to)<=0)return M0(Ud);var Jd=Od.line+Ud.text.length-(Ud.to.line-Ud.from.line)-1,Qd=Od.ch;return Od.line==Ud.to.line&&(Qd+=M0(Ud).ch-Ud.to.ch),Tm(Jd,Qd)}function UE(Od,Ud){for(var Jd=[],Qd=0;Qd<Od.sel.ranges.length;Qd++){var pf=Od.sel.ranges[Qd];Jd.push(new X_(_S(pf.anchor,Ud),_S(pf.head,Ud)))}return Vb(Od.cm,Jd,Od.sel.primIndex)}function wT(Od,Ud,Jd){return Od.line==Ud.line?Tm(Jd.line,Od.ch-Ud.ch+Jd.ch):Tm(Jd.line+(Od.line-Ud.line),Od.ch)}function g1(Od,Ud,Jd){for(var Qd=[],pf=Tm(Od.first,0),Cf=pf,jf=0;jf<Ud.length;jf++){var Kf=Ud[jf],sh=wT(Kf.from,pf,Cf),mh=wT(M0(Kf),pf,Cf);if(pf=Kf.to,Cf=mh,Jd=="around"){var Mh=Od.sel.ranges[jf],Jh=e_(Mh.head,Mh.anchor)<0;Qd[jf]=new X_(Jh?mh:sh,Jh?sh:mh)}else Qd[jf]=new X_(sh,sh)}return new Tg(Qd,Od.sel.primIndex)}function IT(Od){Od.doc.mode=Pm(Od.options,Od.doc.modeOption),Sy(Od)}function Sy(Od){Od.doc.iter(function(Ud){Ud.stateAfter&&(Ud.stateAfter=null),Ud.styles&&(Ud.styles=null)}),Od.doc.modeFrontier=Od.doc.highlightFrontier=Od.doc.first,Qv(Od,100),Od.state.modeGen++,Od.curOp&&ub(Od)}function lv(Od,Ud){return Ud.from.ch==0&&Ud.to.ch==0&&Th(Ud.text)==""&&(!Od.cm||Od.cm.options.wholeLineUpdateBefore)}function uv(Od,Ud,Jd,Qd){function pf(a_){return Jd?Jd[a_]:null}function Cf(a_,t_,u_){AE(a_,t_,u_,Qd),Yd(a_,"change",a_,Ud)}function jf(a_,t_){for(var u_=[],g_=a_;g_<t_;++g_)u_.push(new Pb(mh[g_],pf(g_),Qd));return u_}var Kf=Ud.from,sh=Ud.to,mh=Ud.text,Mh=Km(Od,Kf.line),Jh=Km(Od,sh.line),hm=Th(mh),pm=pf(mh.length-1),Rm=sh.line-Kf.line;if(Ud.full)Od.insert(0,jf(0,mh.length)),Od.remove(mh.length,Od.size-mh.length);else if(lv(Od,Ud)){var jm=jf(0,mh.length-1);Cf(Jh,Jh.text,pm),Rm&&Od.remove(Kf.line,Rm),jm.length&&Od.insert(Kf.line,jm)}else if(Mh==Jh)if(mh.length==1)Cf(Mh,Mh.text.slice(0,Kf.ch)+hm+Mh.text.slice(sh.ch),pm);else{var Ym=jf(1,mh.length-1);Ym.push(new Pb(hm+Mh.text.slice(sh.ch),pm,Qd)),Cf(Mh,Mh.text.slice(0,Kf.ch)+mh[0],pf(0)),Od.insert(Kf.line+1,Ym)}else if(mh.length==1)Cf(Mh,Mh.text.slice(0,Kf.ch)+mh[0]+Jh.text.slice(sh.ch),pf(0)),Od.remove(Kf.line+1,Rm);else{Cf(Mh,Mh.text.slice(0,Kf.ch)+mh[0],pf(0)),Cf(Jh,hm+Jh.text.slice(sh.ch),pm);var n_=jf(1,mh.length-1);Rm>1&&Od.remove(Kf.line+1,Rm-1),Od.insert(Kf.line+1,n_)}Yd(Od,"change",Od,Ud)}function $0(Od,Ud,Jd){function Qd(pf,Cf,jf){if(pf.linked)for(var Kf=0;Kf<pf.linked.length;++Kf){var sh=pf.linked[Kf];if(sh.doc!=Cf){var mh=jf&&sh.sharedHist;Jd&&!mh||(Ud(sh.doc,mh),Qd(sh.doc,pf,mh))}}}Qd(Od,null,!0)}function OT(Od,Ud){if(Ud.cm)throw new Error("This document is already in use.");Od.doc=Ud,Ud.cm=Od,kE(Od),IT(Od),gS(Od),Od.options.direction=Ud.direction,Od.options.lineWrapping||Jy(Od),Od.options.mode=Ud.modeOption,ub(Od)}function gS(Od){(Od.doc.direction=="rtl"?Jf:bf)(Od.display.lineDiv,"CodeMirror-rtl")}function y0(Od){eb(Od,function(){gS(Od),ub(Od)})}function cv(Od){this.done=[],this.undone=[],this.undoDepth=Od?Od.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=Od?Od.maxGeneration:1}function v0(Od,Ud){var Jd={from:og(Ud.from),to:M0(Ud),text:ig(Od,Ud.from,Ud.to)};return kT(Od,Jd,Ud.from.line,Ud.to.line+1),$0(Od,function(Qd){return kT(Qd,Jd,Ud.from.line,Ud.to.line+1)},!0),Jd}function gb(Od){for(;Od.length;){var Ud=Th(Od);if(Ud.ranges)Od.pop();else break}}function b1(Od,Ud){if(Ud)return gb(Od.done),Th(Od.done);if(Od.done.length&&!Th(Od.done).ranges)return Th(Od.done);if(Od.done.length>1&&!Od.done[Od.done.length-2].ranges)return Od.done.pop(),Th(Od.done)}function RT(Od,Ud,Jd,Qd){var pf=Od.history;pf.undone.length=0;var Cf=+new Date,jf,Kf;if((pf.lastOp==Qd||pf.lastOrigin==Ud.origin&&Ud.origin&&(Ud.origin.charAt(0)=="+"&&pf.lastModTime>Cf-(Od.cm?Od.cm.options.historyEventDelay:500)||Ud.origin.charAt(0)=="*"))&&(jf=b1(pf,pf.lastOp==Qd)))Kf=Th(jf.changes),e_(Ud.from,Ud.to)==0&&e_(Ud.from,Kf.to)==0?Kf.to=M0(Ud):jf.changes.push(v0(Od,Ud));else{var sh=Th(pf.done);for((!sh||!sh.ranges)&&zb(Od.sel,pf.done),jf={changes:[v0(Od,Ud)],generation:pf.generation},pf.done.push(jf);pf.done.length>pf.undoDepth;)pf.done.shift(),pf.done[0].ranges||pf.done.shift()}pf.done.push(Jd),pf.generation=++pf.maxGeneration,pf.lastModTime=pf.lastSelTime=Cf,pf.lastOp=pf.lastSelOp=Qd,pf.lastOrigin=pf.lastSelOrigin=Ud.origin,Kf||s_(Od,"historyAdded")}function bS(Od,Ud,Jd,Qd){var pf=Ud.charAt(0);return pf=="*"||pf=="+"&&Jd.ranges.length==Qd.ranges.length&&Jd.somethingSelected()==Qd.somethingSelected()&&new Date-Od.history.lastSelTime<=(Od.cm?Od.cm.options.historyEventDelay:500)}function Zv(Od,Ud,Jd,Qd){var pf=Od.history,Cf=Qd&&Qd.origin;Jd==pf.lastSelOp||Cf&&pf.lastSelOrigin==Cf&&(pf.lastModTime==pf.lastSelTime&&pf.lastOrigin==Cf||bS(Od,Cf,Th(pf.done),Ud))?pf.done[pf.done.length-1]=Ud:zb(Ud,pf.done),pf.lastSelTime=+new Date,pf.lastSelOrigin=Cf,pf.lastSelOp=Jd,Qd&&Qd.clearRedo!==!1&&gb(pf.undone)}function zb(Od,Ud){var Jd=Th(Ud);Jd&&Jd.ranges&&Jd.equals(Od)||Ud.push(Od)}function kT(Od,Ud,Jd,Qd){var pf=Ud["spans_"+Od.id],Cf=0;Od.iter(Math.max(Od.first,Jd),Math.min(Od.first+Od.size,Qd),function(jf){jf.markedSpans&&((pf||(pf=Ud["spans_"+Od.id]={}))[Cf]=jf.markedSpans),++Cf})}function y1(Od){if(!Od)return null;for(var Ud,Jd=0;Jd<Od.length;++Jd)Od[Jd].marker.explicitlyCleared?Ud||(Ud=Od.slice(0,Jd)):Ud&&Ud.push(Od[Jd]);return Ud?Ud.length?Ud:null:Od}function HE(Od,Ud){var Jd=Ud["spans_"+Od.id];if(!Jd)return null;for(var Qd=[],pf=0;pf<Ud.text.length;++pf)Qd.push(y1(Jd[pf]));return Qd}function yS(Od,Ud){var Jd=HE(Od,Ud),Qd=Fv(Od,Ud);if(!Jd)return Qd;if(!Qd)return Jd;for(var pf=0;pf<Jd.length;++pf){var Cf=Jd[pf],jf=Qd[pf];if(Cf&&jf)e:for(var Kf=0;Kf<jf.length;++Kf){for(var sh=jf[Kf],mh=0;mh<Cf.length;++mh)if(Cf[mh].marker==sh.marker)continue e;Cf.push(sh)}else jf&&(Jd[pf]=jf)}return Jd}function Cy(Od,Ud,Jd){for(var Qd=[],pf=0;pf<Od.length;++pf){var Cf=Od[pf];if(Cf.ranges){Qd.push(Jd?Tg.prototype.deepCopy.call(Cf):Cf);continue}var jf=Cf.changes,Kf=[];Qd.push({changes:Kf});for(var sh=0;sh<jf.length;++sh){var mh=jf[sh],Mh=void 0;if(Kf.push({from:mh.from,to:mh.to,text:mh.text}),Ud)for(var Jh in mh)(Mh=Jh.match(/^spans_(\d+)$/))&&ch(Ud,Number(Mh[1]))>-1&&(Th(Kf)[Jh]=mh[Jh],delete mh[Jh])}}return Qd}function qg(Od,Ud,Jd,Qd){if(Qd){var pf=Od.anchor;if(Jd){var Cf=e_(Ud,pf)<0;Cf!=e_(Jd,pf)<0?(pf=Ud,Ud=Jd):Cf!=e_(Ud,Jd)<0&&(Ud=Jd)}return new X_(pf,Ud)}else return new X_(Jd||Ud,Ud)}function dv(Od,Ud,Jd,Qd,pf){pf==null&&(pf=Od.cm&&(Od.cm.display.shift||Od.extend)),Xg(Od,new Tg([qg(Od.sel.primary(),Ud,Jd,pf)],0),Qd)}function MT(Od,Ud,Jd){for(var Qd=[],pf=Od.cm&&(Od.cm.display.shift||Od.extend),Cf=0;Cf<Od.sel.ranges.length;Cf++)Qd[Cf]=qg(Od.sel.ranges[Cf],Ud[Cf],null,pf);var jf=Vb(Od.cm,Qd,Od.sel.primIndex);Xg(Od,jf,Jd)}function wb(Od,Ud,Jd,Qd){var pf=Od.sel.ranges.slice(0);pf[Ud]=Jd,Xg(Od,Vb(Od.cm,pf,Od.sel.primIndex),Qd)}function GE(Od,Ud,Jd,Qd){Xg(Od,k0(Ud,Jd),Qd)}function qE(Od,Ud,Jd){var Qd={ranges:Ud.ranges,update:function(pf){this.ranges=[];for(var Cf=0;Cf<pf.length;Cf++)this.ranges[Cf]=new X_(E_(Od,pf[Cf].anchor),E_(Od,pf[Cf].head))},origin:Jd&&Jd.origin};return s_(Od,"beforeSelectionChange",Od,Qd),Od.cm&&s_(Od.cm,"beforeSelectionChange",Od.cm,Qd),Qd.ranges!=Ud.ranges?Vb(Od.cm,Qd.ranges,Qd.ranges.length-1):Ud}function P0(Od,Ud,Jd){var Qd=Od.history.done,pf=Th(Qd);pf&&pf.ranges?(Qd[Qd.length-1]=Ud,Qg(Od,Ud,Jd)):Xg(Od,Ud,Jd)}function Xg(Od,Ud,Jd){Qg(Od,Ud,Jd),Zv(Od,Od.sel,Od.cm?Od.cm.curOp.id:NaN,Jd)}function Qg(Od,Ud,Jd){(x_(Od,"beforeSelectionChange")||Od.cm&&x_(Od.cm,"beforeSelectionChange"))&&(Ud=qE(Od,Ud,Jd));var Qd=Jd&&Jd.bias||(e_(Ud.primary().head,Od.sel.primary().head)<0?-1:1);VE(Od,ES(Od,Ud,Qd,!0)),!(Jd&&Jd.scroll===!1)&&Od.cm&&Od.cm.getOption("readOnly")!="nocursor"&&bg(Od.cm)}function VE(Od,Ud){Ud.equals(Od.sel)||(Od.sel=Ud,Od.cm&&(Od.cm.curOp.updateInput=1,Od.cm.curOp.selectionChanged=!0,H_(Od.cm)),Yd(Od,"cursorActivity",Od))}function vS(Od){VE(Od,ES(Od,Od.sel,null,!1))}function ES(Od,Ud,Jd,Qd){for(var pf,Cf=0;Cf<Ud.ranges.length;Cf++){var jf=Ud.ranges[Cf],Kf=Ud.ranges.length==Od.sel.ranges.length&&Od.sel.ranges[Cf],sh=fv(Od,jf.anchor,Kf&&Kf.anchor,Jd,Qd),mh=jf.head==jf.anchor?sh:fv(Od,jf.head,Kf&&Kf.head,Jd,Qd);(pf||sh!=jf.anchor||mh!=jf.head)&&(pf||(pf=Ud.ranges.slice(0,Cf)),pf[Cf]=new X_(sh,mh))}return pf?Vb(Od.cm,pf,Ud.primIndex):Ud}function pv(Od,Ud,Jd,Qd,pf){var Cf=Km(Od,Ud.line);if(Cf.markedSpans)for(var jf=0;jf<Cf.markedSpans.length;++jf){var Kf=Cf.markedSpans[jf],sh=Kf.marker,mh="selectLeft"in sh?!sh.selectLeft:sh.inclusiveLeft,Mh="selectRight"in sh?!sh.selectRight:sh.inclusiveRight;if((Kf.from==null||(mh?Kf.from<=Ud.ch:Kf.from<Ud.ch))&&(Kf.to==null||(Mh?Kf.to>=Ud.ch:Kf.to>Ud.ch))){if(pf&&(s_(sh,"beforeCursorEnter"),sh.explicitlyCleared))if(Cf.markedSpans){--jf;continue}else break;if(!sh.atomic)continue;if(Jd){var Jh=sh.find(Qd<0?1:-1),hm=void 0;if((Qd<0?Mh:mh)&&(Jh=TS(Od,Jh,-Qd,Jh&&Jh.line==Ud.line?Cf:null)),Jh&&Jh.line==Ud.line&&(hm=e_(Jh,Jd))&&(Qd<0?hm<0:hm>0))return pv(Od,Jh,Ud,Qd,pf)}var pm=sh.find(Qd<0?-1:1);return(Qd<0?mh:Mh)&&(pm=TS(Od,pm,Qd,pm.line==Ud.line?Cf:null)),pm?pv(Od,pm,Ud,Qd,pf):null}}return Ud}function fv(Od,Ud,Jd,Qd,pf){var Cf=Qd||1,jf=pv(Od,Ud,Jd,Cf,pf)||!pf&&pv(Od,Ud,Jd,Cf,!0)||pv(Od,Ud,Jd,-Cf,pf)||!pf&&pv(Od,Ud,Jd,-Cf,!0);return jf||(Od.cantEdit=!0,Tm(Od.first,0))}function TS(Od,Ud,Jd,Qd){return Jd<0&&Ud.ch==0?Ud.line>Od.first?E_(Od,Tm(Ud.line-1)):null:Jd>0&&Ud.ch==(Qd||Km(Od,Ud.line)).text.length?Ud.line<Od.first+Od.size-1?Tm(Ud.line+1,0):null:new Tm(Ud.line,Ud.ch+Jd)}function hv(Od){Od.setSelection(Tm(Od.firstLine(),0),Tm(Od.lastLine()),uh)}function $T(Od,Ud,Jd){var Qd={canceled:!1,from:Ud.from,to:Ud.to,text:Ud.text,origin:Ud.origin,cancel:function(){return Qd.canceled=!0}};return Jd&&(Qd.update=function(pf,Cf,jf,Kf){pf&&(Qd.from=E_(Od,pf)),Cf&&(Qd.to=E_(Od,Cf)),jf&&(Qd.text=jf),Kf!==void 0&&(Qd.origin=Kf)}),s_(Od,"beforeChange",Od,Qd),Od.cm&&s_(Od.cm,"beforeChange",Od.cm,Qd),Qd.canceled?(Od.cm&&(Od.cm.curOp.updateInput=2),null):{from:Qd.from,to:Qd.to,text:Qd.text,origin:Qd.origin}}function mv(Od,Ud,Jd){if(Od.cm){if(!Od.cm.curOp)return eg(Od.cm,mv)(Od,Ud,Jd);if(Od.cm.state.suppressEdits)return}if(!((x_(Od,"beforeChange")||Od.cm&&x_(Od.cm,"beforeChange"))&&(Ud=$T(Od,Ud,!0),!Ud))){var Qd=p0&&!Jd&&TE(Od,Ud.from,Ud.to);if(Qd)for(var pf=Qd.length-1;pf>=0;--pf)SS(Od,{from:Qd[pf].from,to:Qd[pf].to,text:pf?[""]:Ud.text,origin:Ud.origin});else SS(Od,Ud)}}function SS(Od,Ud){if(!(Ud.text.length==1&&Ud.text[0]==""&&e_(Ud.from,Ud.to)==0)){var Jd=UE(Od,Ud);RT(Od,Ud,Jd,Od.cm?Od.cm.curOp.id:NaN),eE(Od,Ud,Jd,Fv(Od,Ud));var Qd=[];$0(Od,function(pf,Cf){!Cf&&ch(Qd,pf.history)==-1&&(DS(pf.history,Ud),Qd.push(pf.history)),eE(pf,Ud,null,Fv(pf,Ud))})}}function L0(Od,Ud,Jd){var Qd=Od.cm&&Od.cm.state.suppressEdits;if(!(Qd&&!Jd)){for(var pf=Od.history,Cf,jf=Od.sel,Kf=Ud=="undo"?pf.done:pf.undone,sh=Ud=="undo"?pf.undone:pf.done,mh=0;mh<Kf.length&&(Cf=Kf[mh],!(Jd?Cf.ranges&&!Cf.equals(Od.sel):!Cf.ranges));mh++);if(mh!=Kf.length){for(pf.lastOrigin=pf.lastSelOrigin=null;;)if(Cf=Kf.pop(),Cf.ranges){if(zb(Cf,sh),Jd&&!Cf.equals(Od.sel)){Xg(Od,Cf,{clearRedo:!1});return}jf=Cf}else if(Qd){Kf.push(Cf);return}else break;var Mh=[];zb(jf,sh),sh.push({changes:Mh,generation:pf.generation}),pf.generation=Cf.generation||++pf.maxGeneration;for(var Jh=x_(Od,"beforeChange")||Od.cm&&x_(Od.cm,"beforeChange"),hm=function(jm){var Ym=Cf.changes[jm];if(Ym.origin=Ud,Jh&&!$T(Od,Ym,!1))return Kf.length=0,{};Mh.push(v0(Od,Ym));var n_=jm?UE(Od,Ym):Th(Kf);eE(Od,Ym,n_,yS(Od,Ym)),!jm&&Od.cm&&Od.cm.scrollIntoView({from:Ym.from,to:M0(Ym)});var a_=[];$0(Od,function(t_,u_){!u_&&ch(a_,t_.history)==-1&&(DS(t_.history,Ym),a_.push(t_.history)),eE(t_,Ym,null,yS(t_,Ym))})},pm=Cf.changes.length-1;pm>=0;--pm){var Rm=hm(pm);if(Rm)return Rm.v}}}}function xS(Od,Ud){if(Ud!=0&&(Od.first+=Ud,Od.sel=new Tg(vh(Od.sel.ranges,function(pf){return new X_(Tm(pf.anchor.line+Ud,pf.anchor.ch),Tm(pf.head.line+Ud,pf.head.ch))}),Od.sel.primIndex),Od.cm)){ub(Od.cm,Od.first,Od.first-Ud,Ud);for(var Jd=Od.cm.display,Qd=Jd.viewFrom;Qd<Jd.viewTo;Qd++)w0(Od.cm,Qd,"gutter")}}function eE(Od,Ud,Jd,Qd){if(Od.cm&&!Od.cm.curOp)return eg(Od.cm,eE)(Od,Ud,Jd,Qd);if(Ud.to.line<Od.first){xS(Od,Ud.text.length-1-(Ud.to.line-Ud.from.line));return}if(!(Ud.from.line>Od.lastLine())){if(Ud.from.line<Od.first){var pf=Ud.text.length-1-(Od.first-Ud.from.line);xS(Od,pf),Ud={from:Tm(Od.first,0),to:Tm(Ud.to.line+pf,Ud.to.ch),text:[Th(Ud.text)],origin:Ud.origin}}var Cf=Od.lastLine();Ud.to.line>Cf&&(Ud={from:Ud.from,to:Tm(Cf,Km(Od,Cf).text.length),text:[Ud.text[0]],origin:Ud.origin}),Ud.removed=ig(Od,Ud.from,Ud.to),Jd||(Jd=UE(Od,Ud)),Od.cm?PT(Od.cm,Ud,Qd):uv(Od,Ud,Qd),Qg(Od,Jd,uh),Od.cantEdit&&fv(Od,Tm(Od.firstLine(),0))&&(Od.cantEdit=!1)}}function PT(Od,Ud,Jd){var Qd=Od.doc,pf=Od.display,Cf=Ud.from,jf=Ud.to,Kf=!1,sh=Cf.line;Od.options.lineWrapping||(sh=hh(Z_(Km(Qd,Cf.line))),Qd.iter(sh,jf.line+1,function(pm){if(pm==pf.maxLine)return Kf=!0,!0})),Qd.sel.contains(Ud.from,Ud.to)>-1&&H_(Od),uv(Qd,Ud,Jd,sS(Od)),Od.options.lineWrapping||(Qd.iter(sh,Cf.line+Ud.text.length,function(pm){var Rm=D0(pm);Rm>pf.maxLineLength&&(pf.maxLine=pm,pf.maxLineLength=Rm,pf.maxLineChanged=!0,Kf=!1)}),Kf&&(Od.curOp.updateMaxLine=!0)),Wy(Qd,Cf.line),Qv(Od,400);var mh=Ud.text.length-(jf.line-Cf.line)-1;Ud.full?ub(Od):Cf.line==jf.line&&Ud.text.length==1&&!lv(Od.doc,Ud)?w0(Od,Cf.line,"text"):ub(Od,Cf.line,jf.line+1,mh);var Mh=x_(Od,"changes"),Jh=x_(Od,"change");if(Jh||Mh){var hm={from:Cf,to:jf,text:Ud.text,removed:Ud.removed,origin:Ud.origin};Jh&&Yd(Od,"change",Od,hm),Mh&&(Od.curOp.changeObjs||(Od.curOp.changeObjs=[])).push(hm)}Od.display.selForContextMenu=null}function Ay(Od,Ud,Jd,Qd,pf){var Cf;Qd||(Qd=Jd),e_(Qd,Jd)<0&&(Cf=[Qd,Jd],Jd=Cf[0],Qd=Cf[1]),typeof Ud=="string"&&(Ud=Od.splitLines(Ud)),mv(Od,{from:Jd,to:Qd,text:Ud,origin:pf})}function CS(Od,Ud,Jd,Qd){Jd<Od.line?Od.line+=Qd:Ud<Od.line&&(Od.line=Ud,Od.ch=0)}function AS(Od,Ud,Jd,Qd){for(var pf=0;pf<Od.length;++pf){var Cf=Od[pf],jf=!0;if(Cf.ranges){Cf.copied||(Cf=Od[pf]=Cf.deepCopy(),Cf.copied=!0);for(var Kf=0;Kf<Cf.ranges.length;Kf++)CS(Cf.ranges[Kf].anchor,Ud,Jd,Qd),CS(Cf.ranges[Kf].head,Ud,Jd,Qd);continue}for(var sh=0;sh<Cf.changes.length;++sh){var mh=Cf.changes[sh];if(Jd<mh.from.line)mh.from=Tm(mh.from.line+Qd,mh.from.ch),mh.to=Tm(mh.to.line+Qd,mh.to.ch);else if(Ud<=mh.to.line){jf=!1;break}}jf||(Od.splice(0,pf+1),pf=0)}}function DS(Od,Ud){var Jd=Ud.from.line,Qd=Ud.to.line,pf=Ud.text.length-(Qd-Jd)-1;AS(Od.done,Jd,Qd,pf),AS(Od.undone,Jd,Qd,pf)}function _v(Od,Ud,Jd,Qd){var pf=Ud,Cf=Ud;return typeof Ud=="number"?Cf=Km(Od,Eb(Od,Ud)):pf=hh(Ud),pf==null?null:(Qd(Cf,pf)&&Od.cm&&w0(Od.cm,pf,Jd),Cf)}function Dy(Od){this.lines=Od,this.parent=null;for(var Ud=0,Jd=0;Jd<Od.length;++Jd)Od[Jd].parent=this,Ud+=Od[Jd].height;this.height=Ud}Dy.prototype={chunkSize:function(){return this.lines.length},removeInner:function(Od,Ud){for(var Jd=Od,Qd=Od+Ud;Jd<Qd;++Jd){var pf=this.lines[Jd];this.height-=pf.height,lb(pf),Yd(pf,"delete")}this.lines.splice(Od,Ud)},collapse:function(Od){Od.push.apply(Od,this.lines)},insertInner:function(Od,Ud,Jd){this.height+=Jd,this.lines=this.lines.slice(0,Od).concat(Ud).concat(this.lines.slice(Od));for(var Qd=0;Qd<Ud.length;++Qd)Ud[Qd].parent=this},iterN:function(Od,Ud,Jd){for(var Qd=Od+Ud;Od<Qd;++Od)if(Jd(this.lines[Od]))return!0}};function tE(Od){this.children=Od;for(var Ud=0,Jd=0,Qd=0;Qd<Od.length;++Qd){var pf=Od[Qd];Ud+=pf.chunkSize(),Jd+=pf.height,pf.parent=this}this.size=Ud,this.height=Jd,this.parent=null}tE.prototype={chunkSize:function(){return this.size},removeInner:function(Od,Ud){this.size-=Ud;for(var Jd=0;Jd<this.children.length;++Jd){var Qd=this.children[Jd],pf=Qd.chunkSize();if(Od<pf){var Cf=Math.min(Ud,pf-Od),jf=Qd.height;if(Qd.removeInner(Od,Cf),this.height-=jf-Qd.height,pf==Cf&&(this.children.splice(Jd--,1),Qd.parent=null),(Ud-=Cf)==0)break;Od=0}else Od-=pf}if(this.size-Ud<25&&(this.children.length>1||!(this.children[0]instanceof Dy))){var Kf=[];this.collapse(Kf),this.children=[new Dy(Kf)],this.children[0].parent=this}},collapse:function(Od){for(var Ud=0;Ud<this.children.length;++Ud)this.children[Ud].collapse(Od)},insertInner:function(Od,Ud,Jd){this.size+=Ud.length,this.height+=Jd;for(var Qd=0;Qd<this.children.length;++Qd){var pf=this.children[Qd],Cf=pf.chunkSize();if(Od<=Cf){if(pf.insertInner(Od,Ud,Jd),pf.lines&&pf.lines.length>50){for(var jf=pf.lines.length%25+25,Kf=jf;Kf<pf.lines.length;){var sh=new Dy(pf.lines.slice(Kf,Kf+=25));pf.height-=sh.height,this.children.splice(++Qd,0,sh),sh.parent=this}pf.lines=pf.lines.slice(0,jf),this.maybeSpill()}break}Od-=Cf}},maybeSpill:function(){if(!(this.children.length<=10)){var Od=this;do{var Ud=Od.children.splice(Od.children.length-5,5),Jd=new tE(Ud);if(Od.parent){Od.size-=Jd.size,Od.height-=Jd.height;var pf=ch(Od.parent.children,Od);Od.parent.children.splice(pf+1,0,Jd)}else{var Qd=new tE(Od.children);Qd.parent=Od,Od.children=[Qd,Jd],Od=Qd}Jd.parent=Od.parent}while(Od.children.length>10);Od.parent.maybeSpill()}},iterN:function(Od,Ud,Jd){for(var Qd=0;Qd<this.children.length;++Qd){var pf=this.children[Qd],Cf=pf.chunkSize();if(Od<Cf){var jf=Math.min(Ud,Cf-Od);if(pf.iterN(Od,jf,Jd))return!0;if((Ud-=jf)==0)break;Od=0}else Od-=Cf}}};var Ny=function(Od,Ud,Jd){if(Jd)for(var Qd in Jd)Jd.hasOwnProperty(Qd)&&(this[Qd]=Jd[Qd]);this.doc=Od,this.node=Ud};Ny.prototype.clear=function(){var Od=this.doc.cm,Ud=this.line.widgets,Jd=this.line,Qd=hh(Jd);if(!(Qd==null||!Ud)){for(var pf=0;pf<Ud.length;++pf)Ud[pf]==this&&Ud.splice(pf--,1);Ud.length||(Jd.widgets=null);var Cf=U_(this);y_(Jd,Math.max(0,Jd.height-Cf)),Od&&(eb(Od,function(){LT(Od,Jd,-Cf),w0(Od,Qd,"widget")}),Yd(Od,"lineWidgetCleared",Od,this,Qd))}},Ny.prototype.changed=function(){var Od=this,Ud=this.height,Jd=this.doc.cm,Qd=this.line;this.height=null;var pf=U_(this)-Ud;pf&&(Ag(this.doc,Qd)||y_(Qd,Qd.height+pf),Jd&&eb(Jd,function(){Jd.curOp.forceUpdate=!0,LT(Jd,Qd,pf),Yd(Jd,"lineWidgetChanged",Jd,Od,hh(Qd))}))},M_(Ny);function LT(Od,Ud,Jd){Cb(Ud)<(Od.curOp&&Od.curOp.scrollTop||Od.doc.scrollTop)&&xT(Od,Jd)}function wS(Od,Ud,Jd,Qd){var pf=new Ny(Od,Jd,Qd),Cf=Od.cm;return Cf&&pf.noHScroll&&(Cf.display.alignWidgets=!0),_v(Od,Ud,"widget",function(jf){var Kf=jf.widgets||(jf.widgets=[]);if(pf.insertAt==null?Kf.push(pf):Kf.splice(Math.min(Kf.length,Math.max(0,pf.insertAt)),0,pf),pf.line=jf,Cf&&!Ag(Od,jf)){var sh=Cb(jf)<Od.scrollTop;y_(jf,jf.height+U_(pf)),sh&&xT(Cf,pf.height),Cf.curOp.forceUpdate=!0}return!0}),Cf&&Yd(Cf,"lineWidgetAdded",Cf,pf,typeof Ud=="number"?Ud:hh(Ud)),pf}var BT=0,Wb=function(Od,Ud){this.lines=[],this.type=Ud,this.doc=Od,this.id=++BT};Wb.prototype.clear=function(){if(!this.explicitlyCleared){var Od=this.doc.cm,Ud=Od&&!Od.curOp;if(Ud&&uy(Od),x_(this,"clear")){var Jd=this.find();Jd&&Yd(this,"clear",Jd.from,Jd.to)}for(var Qd=null,pf=null,Cf=0;Cf<this.lines.length;++Cf){var jf=this.lines[Cf],Kf=A0(jf.markedSpans,this);Od&&!this.collapsed?w0(Od,hh(jf),"text"):Od&&(Kf.to!=null&&(pf=hh(jf)),Kf.from!=null&&(Qd=hh(jf))),jf.markedSpans=bE(jf.markedSpans,Kf),Kf.from==null&&this.collapsed&&!Ag(this.doc,jf)&&Od&&y_(jf,Fb(Od.display))}if(Od&&this.collapsed&&!Od.options.lineWrapping)for(var sh=0;sh<this.lines.length;++sh){var mh=Z_(this.lines[sh]),Mh=D0(mh);Mh>Od.display.maxLineLength&&(Od.display.maxLine=mh,Od.display.maxLineLength=Mh,Od.display.maxLineChanged=!0)}Qd!=null&&Od&&this.collapsed&&ub(Od,Qd,pf+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,Od&&vS(Od.doc)),Od&&Yd(Od,"markerCleared",Od,this,Qd,pf),Ud&&Ty(Od),this.parent&&this.parent.clear()}},Wb.prototype.find=function(Od,Ud){Od==null&&this.type=="bookmark"&&(Od=1);for(var Jd,Qd,pf=0;pf<this.lines.length;++pf){var Cf=this.lines[pf],jf=A0(Cf.markedSpans,this);if(jf.from!=null&&(Jd=Tm(Ud?Cf:hh(Cf),jf.from),Od==-1))return Jd;if(jf.to!=null&&(Qd=Tm(Ud?Cf:hh(Cf),jf.to),Od==1))return Qd}return Jd&&{from:Jd,to:Qd}},Wb.prototype.changed=function(){var Od=this,Ud=this.find(-1,!0),Jd=this,Qd=this.doc.cm;!Ud||!Qd||eb(Qd,function(){var pf=Ud.line,Cf=hh(Ud.line),jf=OE(Qd,Cf);if(jf&&(gT(jf),Qd.curOp.selectionChanged=Qd.curOp.forceUpdate=!0),Qd.curOp.updateMaxLine=!0,!Ag(Jd.doc,pf)&&Jd.height!=null){var Kf=Jd.height;Jd.height=null;var sh=U_(Jd)-Kf;sh&&y_(pf,pf.height+sh)}Yd(Qd,"markerChanged",Qd,Od)})},Wb.prototype.attachLine=function(Od){if(!this.lines.length&&this.doc.cm){var Ud=this.doc.cm.curOp;(!Ud.maybeHiddenMarkers||ch(Ud.maybeHiddenMarkers,this)==-1)&&(Ud.maybeUnhiddenMarkers||(Ud.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(Od)},Wb.prototype.detachLine=function(Od){if(this.lines.splice(ch(this.lines,Od),1),!this.lines.length&&this.doc.cm){var Ud=this.doc.cm.curOp;(Ud.maybeHiddenMarkers||(Ud.maybeHiddenMarkers=[])).push(this)}},M_(Wb);function gv(Od,Ud,Jd,Qd,pf){if(Qd&&Qd.shared)return IS(Od,Ud,Jd,Qd,pf);if(Od.cm&&!Od.cm.curOp)return eg(Od.cm,gv)(Od,Ud,Jd,Qd,pf);var Cf=new Wb(Od,pf),jf=e_(Ud,Jd);if(Qd&&vf(Qd,Cf,!1),jf>0||jf==0&&Cf.clearWhenEmpty!==!1)return Cf;if(Cf.replacedWith&&(Cf.collapsed=!0,Cf.widgetNode=xf("span",[Cf.replacedWith],"CodeMirror-widget"),Qd.handleMouseEvents||Cf.widgetNode.setAttribute("cm-ignore-events","true"),Qd.insertLeft&&(Cf.widgetNode.insertLeft=!0)),Cf.collapsed){if(Uv(Od,Ud.line,Ud,Jd,Cf)||Ud.line!=Jd.line&&Uv(Od,Jd.line,Ud,Jd,Cf))throw new Error("Inserting collapsed marker partially overlapping an existing one");$b()}Cf.addToHistory&&RT(Od,{from:Ud,to:Jd,origin:"markText"},Od.sel,NaN);var Kf=Ud.line,sh=Od.cm,mh;if(Od.iter(Kf,Jd.line+1,function(Jh){sh&&Cf.collapsed&&!sh.options.lineWrapping&&Z_(Jh)==sh.display.maxLine&&(mh=!0),Cf.collapsed&&Kf!=Ud.line&&y_(Jh,0),Lv(Jh,new f0(Cf,Kf==Ud.line?Ud.ch:null,Kf==Jd.line?Jd.ch:null),Od.cm&&Od.cm.curOp),++Kf}),Cf.collapsed&&Od.iter(Ud.line,Jd.line+1,function(Jh){Ag(Od,Jh)&&y_(Jh,0)}),Cf.clearOnEnter&&Om(Cf,"beforeCursorEnter",function(){return Cf.clear()}),Cf.readOnly&&(pb(),(Od.history.done.length||Od.history.undone.length)&&Od.clearHistory()),Cf.collapsed&&(Cf.id=++BT,Cf.atomic=!0),sh){if(mh&&(sh.curOp.updateMaxLine=!0),Cf.collapsed)ub(sh,Ud.line,Jd.line+1);else if(Cf.className||Cf.startStyle||Cf.endStyle||Cf.css||Cf.attributes||Cf.title)for(var Mh=Ud.line;Mh<=Jd.line;Mh++)w0(sh,Mh,"text");Cf.atomic&&vS(sh.doc),Yd(sh,"markerAdded",sh,Cf)}return Cf}var bv=function(Od,Ud){this.markers=Od,this.primary=Ud;for(var Jd=0;Jd<Od.length;++Jd)Od[Jd].parent=this};bv.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var Od=0;Od<this.markers.length;++Od)this.markers[Od].clear();Yd(this,"clear")}},bv.prototype.find=function(Od,Ud){return this.primary.find(Od,Ud)},M_(bv);function IS(Od,Ud,Jd,Qd,pf){Qd=vf(Qd),Qd.shared=!1;var Cf=[gv(Od,Ud,Jd,Qd,pf)],jf=Cf[0],Kf=Qd.widgetNode;return $0(Od,function(sh){Kf&&(Qd.widgetNode=Kf.cloneNode(!0)),Cf.push(gv(sh,E_(sh,Ud),E_(sh,Jd),Qd,pf));for(var mh=0;mh<sh.linked.length;++mh)if(sh.linked[mh].isParent)return;jf=Th(Cf)}),new bv(Cf,jf)}function OS(Od){return Od.findMarks(Tm(Od.first,0),Od.clipPos(Tm(Od.lastLine())),function(Ud){return Ud.parent})}function RS(Od,Ud){for(var Jd=0;Jd<Ud.length;Jd++){var Qd=Ud[Jd],pf=Qd.find(),Cf=Od.clipPos(pf.from),jf=Od.clipPos(pf.to);if(e_(Cf,jf)){var Kf=gv(Od,Cf,jf,Qd.primary,Qd.primary.type);Qd.markers.push(Kf),Kf.parent=Qd}}}function v1(Od){for(var Ud=function(Qd){var pf=Od[Qd],Cf=[pf.primary.doc];$0(pf.primary.doc,function(sh){return Cf.push(sh)});for(var jf=0;jf<pf.markers.length;jf++){var Kf=pf.markers[jf];ch(Cf,Kf.doc)==-1&&(Kf.parent=null,pf.markers.splice(jf--,1))}},Jd=0;Jd<Od.length;Jd++)Ud(Jd)}var FT=0,ib=function(Od,Ud,Jd,Qd,pf){if(!(this instanceof ib))return new ib(Od,Ud,Jd,Qd,pf);Jd==null&&(Jd=0),tE.call(this,[new Dy([new Pb("",null)])]),this.first=Jd,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=Jd;var Cf=Tm(Jd,0);this.sel=k0(Cf),this.history=new cv(null),this.id=++FT,this.modeOption=Ud,this.lineSep=Qd,this.direction=pf=="rtl"?"rtl":"ltr",this.extend=!1,typeof Od=="string"&&(Od=this.splitLines(Od)),uv(this,{from:Cf,to:Cf,text:Od}),Xg(this,k0(Cf),uh)};ib.prototype=wh(tE.prototype,{constructor:ib,iter:function(Od,Ud,Jd){Jd?this.iterN(Od-this.first,Ud-Od,Jd):this.iterN(this.first,this.first+this.size,Od)},insert:function(Od,Ud){for(var Jd=0,Qd=0;Qd<Ud.length;++Qd)Jd+=Ud[Qd].height;this.insertInner(Od-this.first,Ud,Jd)},remove:function(Od,Ud){this.removeInner(Od-this.first,Ud)},getValue:function(Od){var Ud=N_(this,this.first,this.first+this.size);return Od===!1?Ud:Ud.join(Od||this.lineSeparator())},setValue:Gg(function(Od){var Ud=Tm(this.first,0),Jd=this.first+this.size-1;mv(this,{from:Ud,to:Tm(Jd,Km(this,Jd).text.length),text:this.splitLines(Od),origin:"setValue",full:!0},!0),this.cm&&Lg(this.cm,0,0),Xg(this,k0(Ud),uh)}),replaceRange:function(Od,Ud,Jd,Qd){Ud=E_(this,Ud),Jd=Jd?E_(this,Jd):Ud,Ay(this,Od,Ud,Jd,Qd)},getRange:function(Od,Ud,Jd){var Qd=ig(this,E_(this,Od),E_(this,Ud));return Jd===!1?Qd:Jd===""?Qd.join(""):Qd.join(Jd||this.lineSeparator())},getLine:function(Od){var Ud=this.getLineHandle(Od);return Ud&&Ud.text},getLineHandle:function(Od){if(Mm(this,Od))return Km(this,Od)},getLineNumber:function(Od){return hh(Od)},getLineHandleVisualStart:function(Od){return typeof Od=="number"&&(Od=Km(this,Od)),Z_(Od)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(Od){return E_(this,Od)},getCursor:function(Od){var Ud=this.sel.primary(),Jd;return Od==null||Od=="head"?Jd=Ud.head:Od=="anchor"?Jd=Ud.anchor:Od=="end"||Od=="to"||Od===!1?Jd=Ud.to():Jd=Ud.from(),Jd},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Gg(function(Od,Ud,Jd){GE(this,E_(this,typeof Od=="number"?Tm(Od,Ud||0):Od),null,Jd)}),setSelection:Gg(function(Od,Ud,Jd){GE(this,E_(this,Od),E_(this,Ud||Od),Jd)}),extendSelection:Gg(function(Od,Ud,Jd){dv(this,E_(this,Od),Ud&&E_(this,Ud),Jd)}),extendSelections:Gg(function(Od,Ud){MT(this,lg(this,Od),Ud)}),extendSelectionsBy:Gg(function(Od,Ud){var Jd=vh(this.sel.ranges,Od);MT(this,lg(this,Jd),Ud)}),setSelections:Gg(function(Od,Ud,Jd){if(Od.length){for(var Qd=[],pf=0;pf<Od.length;pf++)Qd[pf]=new X_(E_(this,Od[pf].anchor),E_(this,Od[pf].head||Od[pf].anchor));Ud==null&&(Ud=Math.min(Od.length-1,this.sel.primIndex)),Xg(this,Vb(this.cm,Qd,Ud),Jd)}}),addSelection:Gg(function(Od,Ud,Jd){var Qd=this.sel.ranges.slice(0);Qd.push(new X_(E_(this,Od),E_(this,Ud||Od))),Xg(this,Vb(this.cm,Qd,Qd.length-1),Jd)}),getSelection:function(Od){for(var Ud=this.sel.ranges,Jd,Qd=0;Qd<Ud.length;Qd++){var pf=ig(this,Ud[Qd].from(),Ud[Qd].to());Jd=Jd?Jd.concat(pf):pf}return Od===!1?Jd:Jd.join(Od||this.lineSeparator())},getSelections:function(Od){for(var Ud=[],Jd=this.sel.ranges,Qd=0;Qd<Jd.length;Qd++){var pf=ig(this,Jd[Qd].from(),Jd[Qd].to());Od!==!1&&(pf=pf.join(Od||this.lineSeparator())),Ud[Qd]=pf}return Ud},replaceSelection:function(Od,Ud,Jd){for(var Qd=[],pf=0;pf<this.sel.ranges.length;pf++)Qd[pf]=Od;this.replaceSelections(Qd,Ud,Jd||"+input")},replaceSelections:Gg(function(Od,Ud,Jd){for(var Qd=[],pf=this.sel,Cf=0;Cf<pf.ranges.length;Cf++){var jf=pf.ranges[Cf];Qd[Cf]={from:jf.from(),to:jf.to(),text:this.splitLines(Od[Cf]),origin:Jd}}for(var Kf=Ud&&Ud!="end"&&g1(this,Qd,Ud),sh=Qd.length-1;sh>=0;sh--)mv(this,Qd[sh]);Kf?P0(this,Kf):this.cm&&bg(this.cm)}),undo:Gg(function(){L0(this,"undo")}),redo:Gg(function(){L0(this,"redo")}),undoSelection:Gg(function(){L0(this,"undo",!0)}),redoSelection:Gg(function(){L0(this,"redo",!0)}),setExtending:function(Od){this.extend=Od},getExtending:function(){return this.extend},historySize:function(){for(var Od=this.history,Ud=0,Jd=0,Qd=0;Qd<Od.done.length;Qd++)Od.done[Qd].ranges||++Ud;for(var pf=0;pf<Od.undone.length;pf++)Od.undone[pf].ranges||++Jd;return{undo:Ud,redo:Jd}},clearHistory:function(){var Od=this;this.history=new cv(this.history),$0(this,function(Ud){return Ud.history=Od.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(Od){return Od&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(Od){return this.history.generation==(Od||this.cleanGeneration)},getHistory:function(){return{done:Cy(this.history.done),undone:Cy(this.history.undone)}},setHistory:function(Od){var Ud=this.history=new cv(this.history);Ud.done=Cy(Od.done.slice(0),null,!0),Ud.undone=Cy(Od.undone.slice(0),null,!0)},setGutterMarker:Gg(function(Od,Ud,Jd){return _v(this,Od,"gutter",function(Qd){var pf=Qd.gutterMarkers||(Qd.gutterMarkers={});return pf[Ud]=Jd,!Jd&&Sm(pf)&&(Qd.gutterMarkers=null),!0})}),clearGutter:Gg(function(Od){var Ud=this;this.iter(function(Jd){Jd.gutterMarkers&&Jd.gutterMarkers[Od]&&_v(Ud,Jd,"gutter",function(){return Jd.gutterMarkers[Od]=null,Sm(Jd.gutterMarkers)&&(Jd.gutterMarkers=null),!0})})}),lineInfo:function(Od){var Ud;if(typeof Od=="number"){if(!Mm(this,Od)||(Ud=Od,Od=Km(this,Od),!Od))return null}else if(Ud=hh(Od),Ud==null)return null;return{line:Ud,handle:Od,text:Od.text,gutterMarkers:Od.gutterMarkers,textClass:Od.textClass,bgClass:Od.bgClass,wrapClass:Od.wrapClass,widgets:Od.widgets}},addLineClass:Gg(function(Od,Ud,Jd){return _v(this,Od,Ud=="gutter"?"gutter":"class",function(Qd){var pf=Ud=="text"?"textClass":Ud=="background"?"bgClass":Ud=="gutter"?"gutterClass":"wrapClass";if(!Qd[pf])Qd[pf]=Jd;else{if(Xd(Jd).test(Qd[pf]))return!1;Qd[pf]+=" "+Jd}return!0})}),removeLineClass:Gg(function(Od,Ud,Jd){return _v(this,Od,Ud=="gutter"?"gutter":"class",function(Qd){var pf=Ud=="text"?"textClass":Ud=="background"?"bgClass":Ud=="gutter"?"gutterClass":"wrapClass",Cf=Qd[pf];if(Cf)if(Jd==null)Qd[pf]=null;else{var jf=Cf.match(Xd(Jd));if(!jf)return!1;var Kf=jf.index+jf[0].length;Qd[pf]=Cf.slice(0,jf.index)+(!jf.index||Kf==Cf.length?"":" ")+Cf.slice(Kf)||null}else return!1;return!0})}),addLineWidget:Gg(function(Od,Ud,Jd){return wS(this,Od,Ud,Jd)}),removeLineWidget:function(Od){Od.clear()},markText:function(Od,Ud,Jd){return gv(this,E_(this,Od),E_(this,Ud),Jd,Jd&&Jd.type||"range")},setBookmark:function(Od,Ud){var Jd={replacedWith:Ud&&(Ud.nodeType==null?Ud.widget:Ud),insertLeft:Ud&&Ud.insertLeft,clearWhenEmpty:!1,shared:Ud&&Ud.shared,handleMouseEvents:Ud&&Ud.handleMouseEvents};return Od=E_(this,Od),gv(this,Od,Od,Jd,"bookmark")},findMarksAt:function(Od){Od=E_(this,Od);var Ud=[],Jd=Km(this,Od.line).markedSpans;if(Jd)for(var Qd=0;Qd<Jd.length;++Qd){var pf=Jd[Qd];(pf.from==null||pf.from<=Od.ch)&&(pf.to==null||pf.to>=Od.ch)&&Ud.push(pf.marker.parent||pf.marker)}return Ud},findMarks:function(Od,Ud,Jd){Od=E_(this,Od),Ud=E_(this,Ud);var Qd=[],pf=Od.line;return this.iter(Od.line,Ud.line+1,function(Cf){var jf=Cf.markedSpans;if(jf)for(var Kf=0;Kf<jf.length;Kf++){var sh=jf[Kf];!(sh.to!=null&&pf==Od.line&&Od.ch>=sh.to||sh.from==null&&pf!=Od.line||sh.from!=null&&pf==Ud.line&&sh.from>=Ud.ch)&&(!Jd||Jd(sh.marker))&&Qd.push(sh.marker.parent||sh.marker)}++pf}),Qd},getAllMarks:function(){var Od=[];return this.iter(function(Ud){var Jd=Ud.markedSpans;if(Jd)for(var Qd=0;Qd<Jd.length;++Qd)Jd[Qd].from!=null&&Od.push(Jd[Qd].marker)}),Od},posFromIndex:function(Od){var Ud,Jd=this.first,Qd=this.lineSeparator().length;return this.iter(function(pf){var Cf=pf.text.length+Qd;if(Cf>Od)return Ud=Od,!0;Od-=Cf,++Jd}),E_(this,Tm(Jd,Ud))},indexFromPos:function(Od){Od=E_(this,Od);var Ud=Od.ch;if(Od.line<this.first||Od.ch<0)return 0;var Jd=this.lineSeparator().length;return this.iter(this.first,Od.line,function(Qd){Ud+=Qd.text.length+Jd}),Ud},copy:function(Od){var Ud=new ib(N_(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return Ud.scrollTop=this.scrollTop,Ud.scrollLeft=this.scrollLeft,Ud.sel=this.sel,Ud.extend=!1,Od&&(Ud.history.undoDepth=this.history.undoDepth,Ud.setHistory(this.getHistory())),Ud},linkedDoc:function(Od){Od||(Od={});var Ud=this.first,Jd=this.first+this.size;Od.from!=null&&Od.from>Ud&&(Ud=Od.from),Od.to!=null&&Od.to<Jd&&(Jd=Od.to);var Qd=new ib(N_(this,Ud,Jd),Od.mode||this.modeOption,Ud,this.lineSep,this.direction);return Od.sharedHist&&(Qd.history=this.history),(this.linked||(this.linked=[])).push({doc:Qd,sharedHist:Od.sharedHist}),Qd.linked=[{doc:this,isParent:!0,sharedHist:Od.sharedHist}],RS(Qd,OS(this)),Qd},unlinkDoc:function(Od){if(Od instanceof z_&&(Od=Od.doc),this.linked)for(var Ud=0;Ud<this.linked.length;++Ud){var Jd=this.linked[Ud];if(Jd.doc==Od){this.linked.splice(Ud,1),Od.unlinkDoc(this),v1(OS(this));break}}if(Od.history==this.history){var Qd=[Od.id];$0(Od,function(pf){return Qd.push(pf.id)},!0),Od.history=new cv(null),Od.history.done=Cy(this.history.done,Qd),Od.history.undone=Cy(this.history.undone,Qd)}},iterLinkedDocs:function(Od){$0(this,Od)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(Od){return this.lineSep?Od.split(this.lineSep):Of(Od)},lineSeparator:function(){return this.lineSep||`
|
||
`},setDirection:Gg(function(Od){Od!="rtl"&&(Od="ltr"),Od!=this.direction&&(this.direction=Od,this.iter(function(Ud){return Ud.order=null}),this.cm&&y0(this.cm))})}),ib.prototype.eachLine=ib.prototype.iter;var zE=0;function E1(Od){var Ud=this;if(kS(Ud),!(b_(Ud,Od)||K_(Ud.display,Od))){h_(Od),pd&&(zE=+new Date);var Jd=t0(Ud,Od,!0),Qd=Od.dataTransfer.files;if(!(!Jd||Ud.isReadOnly()))if(Qd&&Qd.length&&window.FileReader&&window.File)for(var pf=Qd.length,Cf=Array(pf),jf=0,Kf=function(){++jf==pf&&eg(Ud,function(){Jd=E_(Ud.doc,Jd);var pm={from:Jd,to:Jd,text:Ud.doc.splitLines(Cf.filter(function(Rm){return Rm!=null}).join(Ud.doc.lineSeparator())),origin:"paste"};mv(Ud.doc,pm),P0(Ud.doc,k0(E_(Ud.doc,Jd),E_(Ud.doc,M0(pm))))})()},sh=function(pm,Rm){if(Ud.options.allowDropFileTypes&&ch(Ud.options.allowDropFileTypes,pm.type)==-1){Kf();return}var jm=new FileReader;jm.onerror=function(){return Kf()},jm.onload=function(){var Ym=jm.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Ym)){Kf();return}Cf[Rm]=Ym,Kf()},jm.readAsText(pm)},mh=0;mh<Qd.length;mh++)sh(Qd[mh],mh);else{if(Ud.state.draggingText&&Ud.doc.sel.contains(Jd)>-1){Ud.state.draggingText(Od),setTimeout(function(){return Ud.display.input.focus()},20);return}try{var Mh=Od.dataTransfer.getData("Text");if(Mh){var Jh;if(Ud.state.draggingText&&!Ud.state.draggingText.copy&&(Jh=Ud.listSelections()),Qg(Ud.doc,k0(Jd,Jd)),Jh)for(var hm=0;hm<Jh.length;++hm)Ay(Ud.doc,"",Jh[hm].anchor,Jh[hm].head,"drag");Ud.replaceSelection(Mh,"around","paste"),Ud.display.input.focus()}}catch{}}}}function jT(Od,Ud){if(pd&&(!Od.state.draggingText||+new Date-zE<100)){dg(Ud);return}if(!(b_(Od,Ud)||K_(Od.display,Ud))&&(Ud.dataTransfer.setData("Text",Od.getSelection()),Ud.dataTransfer.effectAllowed="copyMove",Ud.dataTransfer.setDragImage&&!kd)){var Jd=gf("img",null,null,"position: fixed; left: 0; top: 0;");Jd.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Id&&(Jd.width=Jd.height=1,Od.display.wrapper.appendChild(Jd),Jd._top=Jd.offsetTop),Ud.dataTransfer.setDragImage(Jd,0,0),Id&&Jd.parentNode.removeChild(Jd)}}function $_(Od,Ud){var Jd=t0(Od,Ud);if(Jd){var Qd=document.createDocumentFragment();$E(Od,Jd,Qd),Od.display.dragCursor||(Od.display.dragCursor=gf("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),Od.display.lineSpace.insertBefore(Od.display.dragCursor,Od.display.cursorDiv)),Ef(Od.display.dragCursor,Qd)}}function kS(Od){Od.display.dragCursor&&(Od.display.lineSpace.removeChild(Od.display.dragCursor),Od.display.dragCursor=null)}function MS(Od){if(document.getElementsByClassName){for(var Ud=document.getElementsByClassName("CodeMirror"),Jd=[],Qd=0;Qd<Ud.length;Qd++){var pf=Ud[Qd].CodeMirror;pf&&Jd.push(pf)}Jd.length&&Jd[0].operation(function(){for(var Cf=0;Cf<Jd.length;Cf++)Od(Jd[Cf])})}}var yv=!1;function $S(){yv||(T1(),yv=!0)}function T1(){var Od;Om(window,"resize",function(){Od==null&&(Od=setTimeout(function(){Od=null,MS(S1)},100))}),Om(window,"blur",function(){return MS(sv)})}function S1(Od){var Ud=Od.display;Ud.cachedCharWidth=Ud.cachedTextHeight=Ud.cachedPaddingH=null,Ud.scrollbarsClipped=!1,Od.setSize()}for(var Vg={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"},rE=0;rE<10;rE++)Vg[rE+48]=Vg[rE+96]=String(rE);for(var Iy=65;Iy<=90;Iy++)Vg[Iy]=String.fromCharCode(Iy);for(var Oy=1;Oy<=12;Oy++)Vg[Oy+111]=Vg[Oy+63235]="F"+Oy;var i0={};i0.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"},i0.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"},i0.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"},i0.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"]},i0.default=Gd?i0.macDefault:i0.pcDefault;function PS(Od){var Ud=Od.split(/-(?!$)/);Od=Ud[Ud.length-1];for(var Jd,Qd,pf,Cf,jf=0;jf<Ud.length-1;jf++){var Kf=Ud[jf];if(/^(cmd|meta|m)$/i.test(Kf))Cf=!0;else if(/^a(lt)?$/i.test(Kf))Jd=!0;else if(/^(c|ctrl|control)$/i.test(Kf))Qd=!0;else if(/^s(hift)?$/i.test(Kf))pf=!0;else throw new Error("Unrecognized modifier name: "+Kf)}return Jd&&(Od="Alt-"+Od),Qd&&(Od="Ctrl-"+Od),Cf&&(Od="Cmd-"+Od),pf&&(Od="Shift-"+Od),Od}function bb(Od){var Ud={};for(var Jd in Od)if(Od.hasOwnProperty(Jd)){var Qd=Od[Jd];if(/^(name|fallthrough|(de|at)tach)$/.test(Jd))continue;if(Qd=="..."){delete Od[Jd];continue}for(var pf=vh(Jd.split(" "),PS),Cf=0;Cf<pf.length;Cf++){var jf=void 0,Kf=void 0;Cf==pf.length-1?(Kf=pf.join(" "),jf=Qd):(Kf=pf.slice(0,Cf+1).join(" "),jf="...");var sh=Ud[Kf];if(!sh)Ud[Kf]=jf;else if(sh!=jf)throw new Error("Inconsistent bindings for "+Kf)}delete Od[Jd]}for(var mh in Ud)Od[mh]=Ud[mh];return Od}function yb(Od,Ud,Jd,Qd){Ud=iE(Ud);var pf=Ud.call?Ud.call(Od,Qd):Ud[Od];if(pf===!1)return"nothing";if(pf==="...")return"multi";if(pf!=null&&Jd(pf))return"handled";if(Ud.fallthrough){if(Object.prototype.toString.call(Ud.fallthrough)!="[object Array]")return yb(Od,Ud.fallthrough,Jd,Qd);for(var Cf=0;Cf<Ud.fallthrough.length;Cf++){var jf=yb(Od,Ud.fallthrough[Cf],Jd,Qd);if(jf)return jf}}}function WE(Od){var Ud=typeof Od=="string"?Od:Vg[Od.keyCode];return Ud=="Ctrl"||Ud=="Alt"||Ud=="Shift"||Ud=="Mod"}function UT(Od,Ud,Jd){var Qd=Od;return Ud.altKey&&Qd!="Alt"&&(Od="Alt-"+Od),(Wd?Ud.metaKey:Ud.ctrlKey)&&Qd!="Ctrl"&&(Od="Ctrl-"+Od),(Wd?Ud.ctrlKey:Ud.metaKey)&&Qd!="Mod"&&(Od="Cmd-"+Od),!Jd&&Ud.shiftKey&&Qd!="Shift"&&(Od="Shift-"+Od),Od}function nE(Od,Ud){if(Id&&Od.keyCode==34&&Od.char)return!1;var Jd=Vg[Od.keyCode];return Jd==null||Od.altGraphKey?!1:(Od.keyCode==3&&Od.code&&(Jd=Od.code),UT(Jd,Od,Ud))}function iE(Od){return typeof Od=="string"?i0[Od]:Od}function B0(Od,Ud){for(var Jd=Od.doc.sel.ranges,Qd=[],pf=0;pf<Jd.length;pf++){for(var Cf=Ud(Jd[pf]);Qd.length&&e_(Cf.from,Th(Qd).to)<=0;){var jf=Qd.pop();if(e_(jf.from,Cf.from)<0){Cf.from=jf.from;break}}Qd.push(Cf)}eb(Od,function(){for(var Kf=Qd.length-1;Kf>=0;Kf--)Ay(Od.doc,"",Qd[Kf].from,Qd[Kf].to,"+delete");bg(Od)})}function YE(Od,Ud,Jd){var Qd=Rf(Od.text,Ud+Jd,Jd);return Qd<0||Qd>Od.text.length?null:Qd}function aE(Od,Ud,Jd){var Qd=YE(Od,Ud.ch,Jd);return Qd==null?null:new Tm(Ud.line,Qd,Jd<0?"after":"before")}function sE(Od,Ud,Jd,Qd,pf){if(Od){Ud.doc.direction=="rtl"&&(pf=-pf);var Cf=_m(Jd,Ud.doc.direction);if(Cf){var jf=pf<0?Th(Cf):Cf[0],Kf=pf<0==(jf.level==1),sh=Kf?"after":"before",mh;if(jf.level>0||Ud.doc.direction=="rtl"){var Mh=mb(Ud,Jd);mh=pf<0?Jd.text.length-1:0;var Jh=_b(Ud,Mh,mh).top;mh=If(function(hm){return _b(Ud,Mh,hm).top==Jh},pf<0==(jf.level==1)?jf.from:jf.to-1,mh),sh=="before"&&(mh=YE(Jd,mh,1))}else mh=pf<0?jf.to:jf.from;return new Tm(Qd,mh,sh)}}return new Tm(Qd,pf<0?Jd.text.length:0,pf<0?"before":"after")}function F0(Od,Ud,Jd,Qd){var pf=_m(Ud,Od.doc.direction);if(!pf)return aE(Ud,Jd,Qd);Jd.ch>=Ud.text.length?(Jd.ch=Ud.text.length,Jd.sticky="before"):Jd.ch<=0&&(Jd.ch=0,Jd.sticky="after");var Cf=Uh(pf,Jd.ch,Jd.sticky),jf=pf[Cf];if(Od.doc.direction=="ltr"&&jf.level%2==0&&(Qd>0?jf.to>Jd.ch:jf.from<Jd.ch))return aE(Ud,Jd,Qd);var Kf=function(n_,a_){return YE(Ud,n_ instanceof Tm?n_.ch:n_,a_)},sh,mh=function(n_){return Od.options.lineWrapping?(sh=sh||mb(Od,Ud),ag(Od,Ud,sh,n_)):{begin:0,end:Ud.text.length}},Mh=mh(Jd.sticky=="before"?Kf(Jd,-1):Jd.ch);if(Od.doc.direction=="rtl"||jf.level==1){var Jh=jf.level==1==Qd<0,hm=Kf(Jd,Jh?1:-1);if(hm!=null&&(Jh?hm<=jf.to&&hm<=Mh.end:hm>=jf.from&&hm>=Mh.begin)){var pm=Jh?"before":"after";return new Tm(Jd.line,hm,pm)}}var Rm=function(n_,a_,t_){for(var u_=function(ng,Ng){return Ng?new Tm(Jd.line,Kf(ng,1),"before"):new Tm(Jd.line,ng,"after")};n_>=0&&n_<pf.length;n_+=a_){var g_=pf[n_],m_=a_>0==(g_.level!=1),R_=m_?t_.begin:Kf(t_.end,-1);if(g_.from<=R_&&R_<g_.to||(R_=m_?g_.from:Kf(g_.to,-1),t_.begin<=R_&&R_<t_.end))return u_(R_,m_)}},jm=Rm(Cf+Qd,Qd,Mh);if(jm)return jm;var Ym=Qd>0?Mh.end:Kf(Mh.begin,-1);return Ym!=null&&!(Qd>0&&Ym==Ud.text.length)&&(jm=Rm(Qd>0?0:pf.length-1,Qd,mh(Ym)),jm)?jm:null}var oE={selectAll:hv,singleSelection:function(Od){return Od.setSelection(Od.getCursor("anchor"),Od.getCursor("head"),uh)},killLine:function(Od){return B0(Od,function(Ud){if(Ud.empty()){var Jd=Km(Od.doc,Ud.head.line).text.length;return Ud.head.ch==Jd&&Ud.head.line<Od.lastLine()?{from:Ud.head,to:Tm(Ud.head.line+1,0)}:{from:Ud.head,to:Tm(Ud.head.line,Jd)}}else return{from:Ud.from(),to:Ud.to()}})},deleteLine:function(Od){return B0(Od,function(Ud){return{from:Tm(Ud.from().line,0),to:E_(Od.doc,Tm(Ud.to().line+1,0))}})},delLineLeft:function(Od){return B0(Od,function(Ud){return{from:Tm(Ud.from().line,0),to:Ud.from()}})},delWrappedLineLeft:function(Od){return B0(Od,function(Ud){var Jd=Od.charCoords(Ud.head,"div").top+5,Qd=Od.coordsChar({left:0,top:Jd},"div");return{from:Qd,to:Ud.from()}})},delWrappedLineRight:function(Od){return B0(Od,function(Ud){var Jd=Od.charCoords(Ud.head,"div").top+5,Qd=Od.coordsChar({left:Od.display.lineDiv.offsetWidth+100,top:Jd},"div");return{from:Ud.from(),to:Qd}})},undo:function(Od){return Od.undo()},redo:function(Od){return Od.redo()},undoSelection:function(Od){return Od.undoSelection()},redoSelection:function(Od){return Od.redoSelection()},goDocStart:function(Od){return Od.extendSelection(Tm(Od.firstLine(),0))},goDocEnd:function(Od){return Od.extendSelection(Tm(Od.lastLine()))},goLineStart:function(Od){return Od.extendSelectionsBy(function(Ud){return E0(Od,Ud.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(Od){return Od.extendSelectionsBy(function(Ud){return HT(Od,Ud.head)},{origin:"+move",bias:1})},goLineEnd:function(Od){return Od.extendSelectionsBy(function(Ud){return LS(Od,Ud.head.line)},{origin:"+move",bias:-1})},goLineRight:function(Od){return Od.extendSelectionsBy(function(Ud){var Jd=Od.cursorCoords(Ud.head,"div").top+5;return Od.coordsChar({left:Od.display.lineDiv.offsetWidth+100,top:Jd},"div")},Qf)},goLineLeft:function(Od){return Od.extendSelectionsBy(function(Ud){var Jd=Od.cursorCoords(Ud.head,"div").top+5;return Od.coordsChar({left:0,top:Jd},"div")},Qf)},goLineLeftSmart:function(Od){return Od.extendSelectionsBy(function(Ud){var Jd=Od.cursorCoords(Ud.head,"div").top+5,Qd=Od.coordsChar({left:0,top:Jd},"div");return Qd.ch<Od.getLine(Qd.line).search(/\S/)?HT(Od,Ud.head):Qd},Qf)},goLineUp:function(Od){return Od.moveV(-1,"line")},goLineDown:function(Od){return Od.moveV(1,"line")},goPageUp:function(Od){return Od.moveV(-1,"page")},goPageDown:function(Od){return Od.moveV(1,"page")},goCharLeft:function(Od){return Od.moveH(-1,"char")},goCharRight:function(Od){return Od.moveH(1,"char")},goColumnLeft:function(Od){return Od.moveH(-1,"column")},goColumnRight:function(Od){return Od.moveH(1,"column")},goWordLeft:function(Od){return Od.moveH(-1,"word")},goGroupRight:function(Od){return Od.moveH(1,"group")},goGroupLeft:function(Od){return Od.moveH(-1,"group")},goWordRight:function(Od){return Od.moveH(1,"word")},delCharBefore:function(Od){return Od.deleteH(-1,"codepoint")},delCharAfter:function(Od){return Od.deleteH(1,"char")},delWordBefore:function(Od){return Od.deleteH(-1,"word")},delWordAfter:function(Od){return Od.deleteH(1,"word")},delGroupBefore:function(Od){return Od.deleteH(-1,"group")},delGroupAfter:function(Od){return Od.deleteH(1,"group")},indentAuto:function(Od){return Od.indentSelection("smart")},indentMore:function(Od){return Od.indentSelection("add")},indentLess:function(Od){return Od.indentSelection("subtract")},insertTab:function(Od){return Od.replaceSelection(" ")},insertSoftTab:function(Od){for(var Ud=[],Jd=Od.listSelections(),Qd=Od.options.tabSize,pf=0;pf<Jd.length;pf++){var Cf=Jd[pf].from(),jf=qf(Od.getLine(Cf.line),Cf.ch,Qd);Ud.push(Wf(Qd-jf%Qd))}Od.replaceSelections(Ud)},defaultTab:function(Od){Od.somethingSelected()?Od.indentSelection("add"):Od.execCommand("insertTab")},transposeChars:function(Od){return eb(Od,function(){for(var Ud=Od.listSelections(),Jd=[],Qd=0;Qd<Ud.length;Qd++)if(Ud[Qd].empty()){var pf=Ud[Qd].head,Cf=Km(Od.doc,pf.line).text;if(Cf){if(pf.ch==Cf.length&&(pf=new Tm(pf.line,pf.ch-1)),pf.ch>0)pf=new Tm(pf.line,pf.ch+1),Od.replaceRange(Cf.charAt(pf.ch-1)+Cf.charAt(pf.ch-2),Tm(pf.line,pf.ch-2),pf,"+transpose");else if(pf.line>Od.doc.first){var jf=Km(Od.doc,pf.line-1).text;jf&&(pf=new Tm(pf.line,1),Od.replaceRange(Cf.charAt(0)+Od.doc.lineSeparator()+jf.charAt(jf.length-1),Tm(pf.line-1,jf.length-1),pf,"+transpose"))}}Jd.push(new X_(pf,pf))}Od.setSelections(Jd)})},newlineAndIndent:function(Od){return eb(Od,function(){for(var Ud=Od.listSelections(),Jd=Ud.length-1;Jd>=0;Jd--)Od.replaceRange(Od.doc.lineSeparator(),Ud[Jd].anchor,Ud[Jd].head,"+input");Ud=Od.listSelections();for(var Qd=0;Qd<Ud.length;Qd++)Od.indentLine(Ud[Qd].from().line,null,!0);bg(Od)})},openLine:function(Od){return Od.replaceSelection(`
|
||
`,"start")},toggleOverwrite:function(Od){return Od.toggleOverwrite()}};function E0(Od,Ud){var Jd=Km(Od.doc,Ud),Qd=Z_(Jd);return Qd!=Jd&&(Ud=hh(Qd)),sE(!0,Od,Qd,Ud,1)}function LS(Od,Ud){var Jd=Km(Od.doc,Ud),Qd=Hv(Jd);return Qd!=Jd&&(Ud=hh(Qd)),sE(!0,Od,Jd,Ud,-1)}function HT(Od,Ud){var Jd=E0(Od,Ud.line),Qd=Km(Od.doc,Jd.line),pf=_m(Qd,Od.doc.direction);if(!pf||pf[0].level==0){var Cf=Math.max(Jd.ch,Qd.text.search(/\S/)),jf=Ud.line==Jd.line&&Ud.ch<=Cf&&Ud.ch;return Tm(Jd.line,jf?0:Cf,Jd.sticky)}return Jd}function vv(Od,Ud,Jd){if(typeof Ud=="string"&&(Ud=oE[Ud],!Ud))return!1;Od.display.input.ensurePolled();var Qd=Od.display.shift,pf=!1;try{Od.isReadOnly()&&(Od.state.suppressEdits=!0),Jd&&(Od.display.shift=!1),pf=Ud(Od)!=Pf}finally{Od.display.shift=Qd,Od.state.suppressEdits=!1}return pf}function x1(Od,Ud,Jd){for(var Qd=0;Qd<Od.state.keyMaps.length;Qd++){var pf=yb(Ud,Od.state.keyMaps[Qd],Jd,Od);if(pf)return pf}return Od.options.extraKeys&&yb(Ud,Od.options.extraKeys,Jd,Od)||yb(Ud,Od.options.keyMap,Jd,Od)}var C1=new eh;function lE(Od,Ud,Jd,Qd){var pf=Od.state.keySeq;if(pf){if(WE(Ud))return"handled";if(/\'$/.test(Ud)?Od.state.keySeq=null:C1.set(50,function(){Od.state.keySeq==pf&&(Od.state.keySeq=null,Od.display.input.reset())}),GT(Od,pf+" "+Ud,Jd,Qd))return!0}return GT(Od,Ud,Jd,Qd)}function GT(Od,Ud,Jd,Qd){var pf=x1(Od,Ud,Qd);return pf=="multi"&&(Od.state.keySeq=Ud),pf=="handled"&&Yd(Od,"keyHandled",Od,Ud,Jd),(pf=="handled"||pf=="multi")&&(h_(Jd),iy(Od)),!!pf}function qT(Od,Ud){var Jd=nE(Ud,!0);return Jd?Ud.shiftKey&&!Od.state.keySeq?lE(Od,"Shift-"+Jd,Ud,function(Qd){return vv(Od,Qd,!0)})||lE(Od,Jd,Ud,function(Qd){if(typeof Qd=="string"?/^go[A-Z]/.test(Qd):Qd.motion)return vv(Od,Qd)}):lE(Od,Jd,Ud,function(Qd){return vv(Od,Qd)}):!1}function A1(Od,Ud,Jd){return lE(Od,"'"+Jd+"'",Ud,function(Qd){return vv(Od,Qd,!0)})}var KE=null;function VT(Od){var Ud=this;if(!(Od.target&&Od.target!=Ud.display.input.getField())&&(Ud.curOp.focus=Xf(Uf(Ud)),!b_(Ud,Od))){pd&&fd<11&&Od.keyCode==27&&(Od.returnValue=!1);var Jd=Od.keyCode;Ud.display.shift=Jd==16||Od.shiftKey;var Qd=qT(Ud,Od);Id&&(KE=Qd?Jd:null,!Qd&&Jd==88&&!_h&&(Gd?Od.metaKey:Od.ctrlKey)&&Ud.replaceSelection("",null,"cut")),ld&&!Gd&&!Qd&&Jd==46&&Od.shiftKey&&!Od.ctrlKey&&document.execCommand&&document.execCommand("cut"),Jd==18&&!/\bCodeMirror-crosshair\b/.test(Ud.display.lineDiv.className)&&hb(Ud)}}function hb(Od){var Ud=Od.display.lineDiv;Jf(Ud,"CodeMirror-crosshair");function Jd(Qd){(Qd.keyCode==18||!Qd.altKey)&&(bf(Ud,"CodeMirror-crosshair"),Xm(document,"keyup",Jd),Xm(document,"mouseover",Jd))}Om(document,"keyup",Jd),Om(document,"mouseover",Jd)}function Yb(Od){Od.keyCode==16&&(this.doc.sel.shift=!1),b_(this,Od)}function BS(Od){var Ud=this;if(!(Od.target&&Od.target!=Ud.display.input.getField())&&!(K_(Ud.display,Od)||b_(Ud,Od)||Od.ctrlKey&&!Od.altKey||Gd&&Od.metaKey)){var Jd=Od.keyCode,Qd=Od.charCode;if(Id&&Jd==KE){KE=null,h_(Od);return}if(!(Id&&(!Od.which||Od.which<10)&&qT(Ud,Od))){var pf=String.fromCharCode(Qd??Jd);pf!="\b"&&(A1(Ud,Od,pf)||Ud.display.input.onKeyPress(Od))}}}var D1=400,Ev=function(Od,Ud,Jd){this.time=Od,this.pos=Ud,this.button=Jd};Ev.prototype.compare=function(Od,Ud,Jd){return this.time+D1>Od&&e_(Ud,this.pos)==0&&Jd==this.button};var a0,Cv;function FS(Od,Ud){var Jd=+new Date;return Cv&&Cv.compare(Jd,Od,Ud)?(a0=Cv=null,"triple"):a0&&a0.compare(Jd,Od,Ud)?(Cv=new Ev(Jd,Od,Ud),a0=null,"double"):(a0=new Ev(Jd,Od,Ud),Cv=null,"single")}function jS(Od){var Ud=this,Jd=Ud.display;if(!(b_(Ud,Od)||Jd.activeTouch&&Jd.input.supportsTouch())){if(Jd.input.ensurePolled(),Jd.shift=Od.shiftKey,K_(Jd,Od)){md||(Jd.scroller.draggable=!1,setTimeout(function(){return Jd.scroller.draggable=!0},100));return}if(!Nv(Ud,Od)){var Qd=t0(Ud,Od),pf=q_(Od),Cf=Qd?FS(Qd,pf):"single";zf(Ud).focus(),pf==1&&Ud.state.selectingText&&Ud.state.selectingText(Od),!(Qd&&US(Ud,pf,Qd,Cf,Od))&&(pf==1?Qd?uE(Ud,Qd,Cf,Od):yg(Od)==Jd.scroller&&h_(Od):pf==2?(Qd&&dv(Ud.doc,Qd),setTimeout(function(){return Jd.input.focus()},20)):pf==3&&(Zd?Ud.display.input.onContextMenu(Od):av(Ud)))}}}function US(Od,Ud,Jd,Qd,pf){var Cf="Click";return Qd=="double"?Cf="Double"+Cf:Qd=="triple"&&(Cf="Triple"+Cf),Cf=(Ud==1?"Left":Ud==2?"Middle":"Right")+Cf,lE(Od,UT(Cf,pf),pf,function(jf){if(typeof jf=="string"&&(jf=oE[jf]),!jf)return!1;var Kf=!1;try{Od.isReadOnly()&&(Od.state.suppressEdits=!0),Kf=jf(Od,Jd)!=Pf}finally{Od.state.suppressEdits=!1}return Kf})}function Av(Od,Ud,Jd){var Qd=Od.getOption("configureMouse"),pf=Qd?Qd(Od,Ud,Jd):{};if(pf.unit==null){var Cf=Vd?Jd.shiftKey&&Jd.metaKey:Jd.altKey;pf.unit=Cf?"rectangle":Ud=="single"?"char":Ud=="double"?"word":"line"}return(pf.extend==null||Od.doc.extend)&&(pf.extend=Od.doc.extend||Jd.shiftKey),pf.addNew==null&&(pf.addNew=Gd?Jd.metaKey:Jd.ctrlKey),pf.moveOnDrag==null&&(pf.moveOnDrag=!(Gd?Jd.altKey:Jd.ctrlKey)),pf}function uE(Od,Ud,Jd,Qd){pd?setTimeout(Tf(O0,Od),0):Od.curOp.focus=Xf(Uf(Od));var pf=Av(Od,Jd,Qd),Cf=Od.doc.sel,jf;Od.options.dragDrop&&Y_&&!Od.isReadOnly()&&Jd=="single"&&(jf=Cf.contains(Ud))>-1&&(e_((jf=Cf.ranges[jf]).from(),Ud)<0||Ud.xRel>0)&&(e_(jf.to(),Ud)>0||Ud.xRel<0)?N1(Od,Qd,Ud,pf):HS(Od,Qd,Ud,pf)}function N1(Od,Ud,Jd,Qd){var pf=Od.display,Cf=!1,jf=eg(Od,function(mh){md&&(pf.scroller.draggable=!1),Od.state.draggingText=!1,Od.state.delayingBlurEvent&&(Od.hasFocus()?Od.state.delayingBlurEvent=!1:av(Od)),Xm(pf.wrapper.ownerDocument,"mouseup",jf),Xm(pf.wrapper.ownerDocument,"mousemove",Kf),Xm(pf.scroller,"dragstart",sh),Xm(pf.scroller,"drop",jf),Cf||(h_(mh),Qd.addNew||dv(Od.doc,Jd,null,null,Qd.extend),md&&!kd||pd&&fd==9?setTimeout(function(){pf.wrapper.ownerDocument.body.focus({preventScroll:!0}),pf.input.focus()},20):pf.input.focus())}),Kf=function(mh){Cf=Cf||Math.abs(Ud.clientX-mh.clientX)+Math.abs(Ud.clientY-mh.clientY)>=10},sh=function(){return Cf=!0};md&&(pf.scroller.draggable=!0),Od.state.draggingText=jf,jf.copy=!Qd.moveOnDrag,Om(pf.wrapper.ownerDocument,"mouseup",jf),Om(pf.wrapper.ownerDocument,"mousemove",Kf),Om(pf.scroller,"dragstart",sh),Om(pf.scroller,"drop",jf),Od.state.delayingBlurEvent=!0,setTimeout(function(){return pf.input.focus()},20),pf.scroller.dragDrop&&pf.scroller.dragDrop()}function zT(Od,Ud,Jd){if(Jd=="char")return new X_(Ud,Ud);if(Jd=="word")return Od.findWordAt(Ud);if(Jd=="line")return new X_(Tm(Ud.line,0),E_(Od.doc,Tm(Ud.line+1,0)));var Qd=Jd(Od,Ud);return new X_(Qd.from,Qd.to)}function HS(Od,Ud,Jd,Qd){pd&&av(Od);var pf=Od.display,Cf=Od.doc;h_(Ud);var jf,Kf,sh=Cf.sel,mh=sh.ranges;if(Qd.addNew&&!Qd.extend?(Kf=Cf.sel.contains(Jd),Kf>-1?jf=mh[Kf]:jf=new X_(Jd,Jd)):(jf=Cf.sel.primary(),Kf=Cf.sel.primIndex),Qd.unit=="rectangle")Qd.addNew||(jf=new X_(Jd,Jd)),Jd=t0(Od,Ud,!0,!0),Kf=-1;else{var Mh=zT(Od,Jd,Qd.unit);Qd.extend?jf=qg(jf,Mh.anchor,Mh.head,Qd.extend):jf=Mh}Qd.addNew?Kf==-1?(Kf=mh.length,Xg(Cf,Vb(Od,mh.concat([jf]),Kf),{scroll:!1,origin:"*mouse"})):mh.length>1&&mh[Kf].empty()&&Qd.unit=="char"&&!Qd.extend?(Xg(Cf,Vb(Od,mh.slice(0,Kf).concat(mh.slice(Kf+1)),0),{scroll:!1,origin:"*mouse"}),sh=Cf.sel):wb(Cf,Kf,jf,xh):(Kf=0,Xg(Cf,new Tg([jf],0),xh),sh=Cf.sel);var Jh=Jd;function hm(t_){if(e_(Jh,t_)!=0)if(Jh=t_,Qd.unit=="rectangle"){for(var u_=[],g_=Od.options.tabSize,m_=qf(Km(Cf,Jd.line).text,Jd.ch,g_),R_=qf(Km(Cf,t_.line).text,t_.ch,g_),ng=Math.min(m_,R_),Ng=Math.max(m_,R_),gg=Math.min(Jd.line,t_.line),Sg=Math.min(Od.lastLine(),Math.max(Jd.line,t_.line));gg<=Sg;gg++){var Og=Km(Cf,gg).text,Rg=wf(Og,ng,g_);ng==Ng?u_.push(new X_(Tm(gg,Rg),Tm(gg,Rg))):Og.length>Rg&&u_.push(new X_(Tm(gg,Rg),Tm(gg,wf(Og,Ng,g_))))}u_.length||u_.push(new X_(Jd,Jd)),Xg(Cf,Vb(Od,sh.ranges.slice(0,Kf).concat(u_),Kf),{origin:"*mouse",scroll:!1}),Od.scrollIntoView(t_)}else{var ab=jf,Jg=zT(Od,t_,Qd.unit),Bg=ab.anchor,kg;e_(Jg.anchor,Bg)>0?(kg=Jg.head,Bg=rb(ab.from(),Jg.anchor)):(kg=Jg.anchor,Bg=Cg(ab.to(),Jg.head));var xg=sh.ranges.slice(0);xg[Kf]=XE(Od,new X_(E_(Cf,Bg),kg)),Xg(Cf,Vb(Od,xg,Kf),xh)}}var pm=pf.wrapper.getBoundingClientRect(),Rm=0;function jm(t_){var u_=++Rm,g_=t0(Od,t_,!0,Qd.unit=="rectangle");if(g_)if(e_(g_,Jh)!=0){Od.curOp.focus=Xf(Uf(Od)),hm(g_);var m_=ay(pf,Cf);(g_.line>=m_.to||g_.line<m_.from)&&setTimeout(eg(Od,function(){Rm==u_&&jm(t_)}),150)}else{var R_=t_.clientY<pm.top?-20:t_.clientY>pm.bottom?20:0;R_&&setTimeout(eg(Od,function(){Rm==u_&&(pf.scroller.scrollTop+=R_,jm(t_))}),50)}}function Ym(t_){Od.state.selectingText=!1,Rm=1/0,t_&&(h_(t_),pf.input.focus()),Xm(pf.wrapper.ownerDocument,"mousemove",n_),Xm(pf.wrapper.ownerDocument,"mouseup",a_),Cf.history.lastSelOrigin=null}var n_=eg(Od,function(t_){t_.buttons===0||!q_(t_)?Ym(t_):jm(t_)}),a_=eg(Od,Ym);Od.state.selectingText=a_,Om(pf.wrapper.ownerDocument,"mousemove",n_),Om(pf.wrapper.ownerDocument,"mouseup",a_)}function XE(Od,Ud){var Jd=Ud.anchor,Qd=Ud.head,pf=Km(Od.doc,Jd.line);if(e_(Jd,Qd)==0&&Jd.sticky==Qd.sticky)return Ud;var Cf=_m(pf);if(!Cf)return Ud;var jf=Uh(Cf,Jd.ch,Jd.sticky),Kf=Cf[jf];if(Kf.from!=Jd.ch&&Kf.to!=Jd.ch)return Ud;var sh=jf+(Kf.from==Jd.ch==(Kf.level!=1)?0:1);if(sh==0||sh==Cf.length)return Ud;var mh;if(Qd.line!=Jd.line)mh=(Qd.line-Jd.line)*(Od.doc.direction=="ltr"?1:-1)>0;else{var Mh=Uh(Cf,Qd.ch,Qd.sticky),Jh=Mh-jf||(Qd.ch-Jd.ch)*(Kf.level==1?-1:1);Mh==sh-1||Mh==sh?mh=Jh<0:mh=Jh>0}var hm=Cf[sh+(mh?-1:0)],pm=mh==(hm.level==1),Rm=pm?hm.from:hm.to,jm=pm?"after":"before";return Jd.ch==Rm&&Jd.sticky==jm?Ud:new X_(new Tm(Jd.line,Rm,jm),Qd)}function WT(Od,Ud,Jd,Qd){var pf,Cf;if(Ud.touches)pf=Ud.touches[0].clientX,Cf=Ud.touches[0].clientY;else try{pf=Ud.clientX,Cf=Ud.clientY}catch{return!1}if(pf>=Math.floor(Od.display.gutters.getBoundingClientRect().right))return!1;Qd&&h_(Ud);var jf=Od.display,Kf=jf.lineDiv.getBoundingClientRect();if(Cf>Kf.bottom||!x_(Od,Jd))return L_(Ud);Cf-=Kf.top-jf.viewOffset;for(var sh=0;sh<Od.display.gutterSpecs.length;++sh){var mh=jf.gutters.childNodes[sh];if(mh&&mh.getBoundingClientRect().right>=pf){var Mh=Bh(Od.doc,Cf),Jh=Od.display.gutterSpecs[sh];return s_(Od,Jd,Od,Mh,Jh.className,Ud),L_(Ud)}}}function Nv(Od,Ud){return WT(Od,Ud,"gutterClick",!0)}function QE(Od,Ud){K_(Od.display,Ud)||JE(Od,Ud)||b_(Od,Ud,"contextmenu")||Zd||Od.display.input.onContextMenu(Ud)}function JE(Od,Ud){return x_(Od,"gutterContextMenu")?WT(Od,Ud,"gutterContextMenu",!1):!1}function GS(Od){Od.display.wrapper.className=Od.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+Od.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Vv(Od)}var Ry={toString:function(){return"CodeMirror.Init"}},cE={},dE={};function YT(Od){var Ud=Od.optionHandlers;function Jd(Qd,pf,Cf,jf){Od.defaults[Qd]=pf,Cf&&(Ud[Qd]=jf?function(Kf,sh,mh){mh!=Ry&&Cf(Kf,sh,mh)}:Cf)}Od.defineOption=Jd,Od.Init=Ry,Jd("value","",function(Qd,pf){return Qd.setValue(pf)},!0),Jd("mode",null,function(Qd,pf){Qd.doc.modeOption=pf,IT(Qd)},!0),Jd("indentUnit",2,IT,!0),Jd("indentWithTabs",!1),Jd("smartIndent",!0),Jd("tabSize",4,function(Qd){Sy(Qd),Vv(Qd),ub(Qd)},!0),Jd("lineSeparator",null,function(Qd,pf){if(Qd.doc.lineSep=pf,!!pf){var Cf=[],jf=Qd.doc.first;Qd.doc.iter(function(sh){for(var mh=0;;){var Mh=sh.text.indexOf(pf,mh);if(Mh==-1)break;mh=Mh+pf.length,Cf.push(Tm(jf,Mh))}jf++});for(var Kf=Cf.length-1;Kf>=0;Kf--)Ay(Qd.doc,pf,Cf[Kf],Tm(Cf[Kf].line,Cf[Kf].ch+pf.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,pf,Cf){Qd.state.specialChars=new RegExp(pf.source+(pf.test(" ")?"":"| "),"g"),Cf!=Ry&&Qd.refresh()}),Jd("specialCharPlaceholder",Zb,function(Qd){return Qd.refresh()},!0),Jd("electricChars",!0),Jd("inputStyle",Hd?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Jd("spellcheck",!1,function(Qd,pf){return Qd.getInputField().spellcheck=pf},!0),Jd("autocorrect",!1,function(Qd,pf){return Qd.getInputField().autocorrect=pf},!0),Jd("autocapitalize",!1,function(Qd,pf){return Qd.getInputField().autocapitalize=pf},!0),Jd("rtlMoveVisually",!Kd),Jd("wholeLineUpdateBefore",!0),Jd("theme","default",function(Qd){GS(Qd),Jv(Qd)},!0),Jd("keyMap","default",function(Qd,pf,Cf){var jf=iE(pf),Kf=Cf!=Ry&&iE(Cf);Kf&&Kf.detach&&Kf.detach(Qd,jf),jf.attach&&jf.attach(Qd,Kf||null)}),Jd("extraKeys",null),Jd("configureMouse",null),Jd("lineWrapping",!1,qS,!0),Jd("gutters",[],function(Qd,pf){Qd.display.gutterSpecs=qb(pf,Qd.options.lineNumbers),Jv(Qd)},!0),Jd("fixedGutter",!0,function(Qd,pf){Qd.display.gutters.style.left=pf?J_(Qd.display)+"px":"0",Qd.refresh()},!0),Jd("coverGutterNextToScrollbar",!1,function(Qd){return r0(Qd)},!0),Jd("scrollbarStyle","native",function(Qd){uS(Qd),r0(Qd),Qd.display.scrollbars.setScrollTop(Qd.doc.scrollTop),Qd.display.scrollbars.setScrollLeft(Qd.doc.scrollLeft)},!0),Jd("lineNumbers",!1,function(Qd,pf){Qd.display.gutterSpecs=qb(Qd.options.gutters,pf),Jv(Qd)},!0),Jd("firstLineNumber",1,Jv,!0),Jd("lineNumberFormatter",function(Qd){return Qd},Jv,!0),Jd("showCursorWhenSelecting",!1,I0,!0),Jd("resetSelectionOnContextMenu",!0),Jd("lineWiseCopyCut",!0),Jd("pasteLinesPerSelection",!0),Jd("selectionsMayTouch",!1),Jd("readOnly",!1,function(Qd,pf){pf=="nocursor"&&(sv(Qd),Qd.display.input.blur()),Qd.display.input.readOnlyChanged(pf)}),Jd("screenReaderLabel",null,function(Qd,pf){pf=pf===""?null:pf,Qd.display.input.screenReaderLabelChanged(pf)}),Jd("disableInput",!1,function(Qd,pf){pf||Qd.display.input.reset()},!0),Jd("dragDrop",!0,w1),Jd("allowDropFileTypes",null),Jd("cursorBlinkRate",530),Jd("cursorScrollMargin",0),Jd("cursorHeight",1,I0,!0),Jd("singleCursorHeightPerLine",!0,I0,!0),Jd("workTime",100),Jd("workDelay",100),Jd("flattenSpans",!0,Sy,!0),Jd("addModeClass",!1,Sy,!0),Jd("pollInterval",100),Jd("undoDepth",200,function(Qd,pf){return Qd.doc.history.undoDepth=pf}),Jd("historyEventDelay",1250),Jd("viewportMargin",10,function(Qd){return Qd.refresh()},!0),Jd("maxHighlightLength",1e4,Sy,!0),Jd("moveInputWithCursor",!0,function(Qd,pf){pf||Qd.display.input.resetPosition()}),Jd("tabindex",null,function(Qd,pf){return Qd.display.input.getField().tabIndex=pf||""}),Jd("autofocus",null),Jd("direction","ltr",function(Qd,pf){return Qd.doc.setDirection(pf)},!0),Jd("phrases",null)}function w1(Od,Ud,Jd){var Qd=Jd&&Jd!=Ry;if(!Ud!=!Qd){var pf=Od.display.dragFunctions,Cf=Ud?Om:Xm;Cf(Od.display.scroller,"dragstart",pf.start),Cf(Od.display.scroller,"dragenter",pf.enter),Cf(Od.display.scroller,"dragover",pf.over),Cf(Od.display.scroller,"dragleave",pf.leave),Cf(Od.display.scroller,"drop",pf.drop)}}function qS(Od){Od.options.lineWrapping?(Jf(Od.display.wrapper,"CodeMirror-wrap"),Od.display.sizer.style.minWidth="",Od.display.sizerWidth=null):(bf(Od.display.wrapper,"CodeMirror-wrap"),Jy(Od)),kE(Od),ub(Od),Vv(Od),setTimeout(function(){return r0(Od)},100)}function z_(Od,Ud){var Jd=this;if(!(this instanceof z_))return new z_(Od,Ud);this.options=Ud=Ud?vf(Ud):{},vf(cE,Ud,!1);var Qd=Ud.value;typeof Qd=="string"?Qd=new ib(Qd,Ud.mode,null,Ud.lineSeparator,Ud.direction):Ud.mode&&(Qd.modeOption=Ud.mode),this.doc=Qd;var pf=new z_.inputStyles[Ud.inputStyle](this),Cf=this.display=new m1(Od,Qd,pf,Ud);Cf.wrapper.CodeMirror=this,GS(this),Ud.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),uS(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 eh,keySeq:null,specialChars:null},Ud.autofocus&&!Hd&&Cf.input.focus(),pd&&fd<11&&setTimeout(function(){return Jd.display.input.reset(!0)},20),VS(this),$S(),uy(this),this.curOp.forceUpdate=!0,OT(this,Qd),Ud.autofocus&&!Hd||this.hasFocus()?setTimeout(function(){Jd.hasFocus()&&!Jd.state.focused&&ET(Jd)},20):sv(this);for(var jf in dE)dE.hasOwnProperty(jf)&&dE[jf](this,Ud[jf],Ry);fS(this),Ud.finishInit&&Ud.finishInit(this);for(var Kf=0;Kf<ZE.length;++Kf)ZE[Kf](this);Ty(this),md&&Ud.lineWrapping&&getComputedStyle(Cf.lineDiv).textRendering=="optimizelegibility"&&(Cf.lineDiv.style.textRendering="auto")}z_.defaults=cE,z_.optionHandlers=dE;function VS(Od){var Ud=Od.display;Om(Ud.scroller,"mousedown",eg(Od,jS)),pd&&fd<11?Om(Ud.scroller,"dblclick",eg(Od,function(sh){if(!b_(Od,sh)){var mh=t0(Od,sh);if(!(!mh||Nv(Od,sh)||K_(Od.display,sh))){h_(sh);var Mh=Od.findWordAt(mh);dv(Od.doc,Mh.anchor,Mh.head)}}})):Om(Ud.scroller,"dblclick",function(sh){return b_(Od,sh)||h_(sh)}),Om(Ud.scroller,"contextmenu",function(sh){return QE(Od,sh)}),Om(Ud.input.getField(),"contextmenu",function(sh){Ud.scroller.contains(sh.target)||QE(Od,sh)});var Jd,Qd={end:0};function pf(){Ud.activeTouch&&(Jd=setTimeout(function(){return Ud.activeTouch=null},1e3),Qd=Ud.activeTouch,Qd.end=+new Date)}function Cf(sh){if(sh.touches.length!=1)return!1;var mh=sh.touches[0];return mh.radiusX<=1&&mh.radiusY<=1}function jf(sh,mh){if(mh.left==null)return!0;var Mh=mh.left-sh.left,Jh=mh.top-sh.top;return Mh*Mh+Jh*Jh>20*20}Om(Ud.scroller,"touchstart",function(sh){if(!b_(Od,sh)&&!Cf(sh)&&!Nv(Od,sh)){Ud.input.ensurePolled(),clearTimeout(Jd);var mh=+new Date;Ud.activeTouch={start:mh,moved:!1,prev:mh-Qd.end<=300?Qd:null},sh.touches.length==1&&(Ud.activeTouch.left=sh.touches[0].pageX,Ud.activeTouch.top=sh.touches[0].pageY)}}),Om(Ud.scroller,"touchmove",function(){Ud.activeTouch&&(Ud.activeTouch.moved=!0)}),Om(Ud.scroller,"touchend",function(sh){var mh=Ud.activeTouch;if(mh&&!K_(Ud,sh)&&mh.left!=null&&!mh.moved&&new Date-mh.start<300){var Mh=Od.coordsChar(Ud.activeTouch,"page"),Jh;!mh.prev||jf(mh,mh.prev)?Jh=new X_(Mh,Mh):!mh.prev.prev||jf(mh,mh.prev.prev)?Jh=Od.findWordAt(Mh):Jh=new X_(Tm(Mh.line,0),E_(Od.doc,Tm(Mh.line+1,0))),Od.setSelection(Jh.anchor,Jh.head),Od.focus(),h_(sh)}pf()}),Om(Ud.scroller,"touchcancel",pf),Om(Ud.scroller,"scroll",function(){Ud.scroller.clientHeight&&(Yv(Od,Ud.scroller.scrollTop),Hb(Od,Ud.scroller.scrollLeft,!0),s_(Od,"scroll",Od))}),Om(Ud.scroller,"mousewheel",function(sh){return mS(Od,sh)}),Om(Ud.scroller,"DOMMouseScroll",function(sh){return mS(Od,sh)}),Om(Ud.wrapper,"scroll",function(){return Ud.wrapper.scrollTop=Ud.wrapper.scrollLeft=0}),Ud.dragFunctions={enter:function(sh){b_(Od,sh)||dg(sh)},over:function(sh){b_(Od,sh)||($_(Od,sh),dg(sh))},start:function(sh){return jT(Od,sh)},drop:eg(Od,E1),leave:function(sh){b_(Od,sh)||kS(Od)}};var Kf=Ud.input.getField();Om(Kf,"keyup",function(sh){return Yb.call(Od,sh)}),Om(Kf,"keydown",eg(Od,VT)),Om(Kf,"keypress",eg(Od,BS)),Om(Kf,"focus",function(sh){return ET(Od,sh)}),Om(Kf,"blur",function(sh){return sv(Od,sh)})}var ZE=[];z_.defineInitHook=function(Od){return ZE.push(Od)};function pE(Od,Ud,Jd,Qd){var pf=Od.doc,Cf;Jd==null&&(Jd="add"),Jd=="smart"&&(pf.mode.indent?Cf=Ug(Od,Ud).state:Jd="prev");var jf=Od.options.tabSize,Kf=Km(pf,Ud),sh=qf(Kf.text,null,jf);Kf.stateAfter&&(Kf.stateAfter=null);var mh=Kf.text.match(/^\s*/)[0],Mh;if(!Qd&&!/\S/.test(Kf.text))Mh=0,Jd="not";else if(Jd=="smart"&&(Mh=pf.mode.indent(Cf,Kf.text.slice(mh.length),Kf.text),Mh==Pf||Mh>150)){if(!Qd)return;Jd="prev"}Jd=="prev"?Ud>pf.first?Mh=qf(Km(pf,Ud-1).text,null,jf):Mh=0:Jd=="add"?Mh=sh+Od.options.indentUnit:Jd=="subtract"?Mh=sh-Od.options.indentUnit:typeof Jd=="number"&&(Mh=sh+Jd),Mh=Math.max(0,Mh);var Jh="",hm=0;if(Od.options.indentWithTabs)for(var pm=Math.floor(Mh/jf);pm;--pm)hm+=jf,Jh+=" ";if(hm<Mh&&(Jh+=Wf(Mh-hm)),Jh!=mh)return Ay(pf,Jh,Tm(Ud,0),Tm(Ud,mh.length),"+input"),Kf.stateAfter=null,!0;for(var Rm=0;Rm<pf.sel.ranges.length;Rm++){var jm=pf.sel.ranges[Rm];if(jm.head.line==Ud&&jm.head.ch<mh.length){var Ym=Tm(Ud,mh.length);wb(pf,Rm,new X_(Ym,Ym));break}}}var Ib=null;function eT(Od){Ib=Od}function KT(Od,Ud,Jd,Qd,pf){var Cf=Od.doc;Od.display.shift=!1,Qd||(Qd=Cf.sel);var jf=+new Date-200,Kf=pf=="paste"||Od.state.pasteIncoming>jf,sh=Of(Ud),mh=null;if(Kf&&Qd.ranges.length>1)if(Ib&&Ib.text.join(`
|
||
`)==Ud){if(Qd.ranges.length%Ib.text.length==0){mh=[];for(var Mh=0;Mh<Ib.text.length;Mh++)mh.push(Cf.splitLines(Ib.text[Mh]))}}else sh.length==Qd.ranges.length&&Od.options.pasteLinesPerSelection&&(mh=vh(sh,function(n_){return[n_]}));for(var Jh=Od.curOp.updateInput,hm=Qd.ranges.length-1;hm>=0;hm--){var pm=Qd.ranges[hm],Rm=pm.from(),jm=pm.to();pm.empty()&&(Jd&&Jd>0?Rm=Tm(Rm.line,Rm.ch-Jd):Od.state.overwrite&&!Kf?jm=Tm(jm.line,Math.min(Km(Cf,jm.line).text.length,jm.ch+Th(sh).length)):Kf&&Ib&&Ib.lineWise&&Ib.text.join(`
|
||
`)==sh.join(`
|
||
`)&&(Rm=jm=Tm(Rm.line,0)));var Ym={from:Rm,to:jm,text:mh?mh[hm%mh.length]:sh,origin:pf||(Kf?"paste":Od.state.cutIncoming>jf?"cut":"+input")};mv(Od.doc,Ym),Yd(Od,"inputRead",Od,Ym)}Ud&&!Kf&&tT(Od,Ud),bg(Od),Od.curOp.updateInput<2&&(Od.curOp.updateInput=Jh),Od.curOp.typing=!0,Od.state.pasteIncoming=Od.state.cutIncoming=-1}function s0(Od,Ud){var Jd=Od.clipboardData&&Od.clipboardData.getData("Text");if(Jd)return Od.preventDefault(),!Ud.isReadOnly()&&!Ud.options.disableInput&&Ud.hasFocus()&&eb(Ud,function(){return KT(Ud,Jd,0,null,"paste")}),!0}function tT(Od,Ud){if(!(!Od.options.electricChars||!Od.options.smartIndent))for(var Jd=Od.doc.sel,Qd=Jd.ranges.length-1;Qd>=0;Qd--){var pf=Jd.ranges[Qd];if(!(pf.head.ch>100||Qd&&Jd.ranges[Qd-1].head.line==pf.head.line)){var Cf=Od.getModeAt(pf.head),jf=!1;if(Cf.electricChars){for(var Kf=0;Kf<Cf.electricChars.length;Kf++)if(Ud.indexOf(Cf.electricChars.charAt(Kf))>-1){jf=pE(Od,pf.head.line,"smart");break}}else Cf.electricInput&&Cf.electricInput.test(Km(Od.doc,pf.head.line).text.slice(0,pf.head.ch))&&(jf=pE(Od,pf.head.line,"smart"));jf&&Yd(Od,"electricInput",Od,pf.head.line)}}}function rT(Od){for(var Ud=[],Jd=[],Qd=0;Qd<Od.doc.sel.ranges.length;Qd++){var pf=Od.doc.sel.ranges[Qd].head.line,Cf={anchor:Tm(pf,0),head:Tm(pf+1,0)};Jd.push(Cf),Ud.push(Od.getRange(Cf.anchor,Cf.head))}return{text:Ud,ranges:Jd}}function fE(Od,Ud,Jd,Qd){Od.setAttribute("autocorrect",Jd?"on":"off"),Od.setAttribute("autocapitalize",Qd?"on":"off"),Od.setAttribute("spellcheck",!!Ud)}function hE(){var Od=gf("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),Ud=gf("div",[Od],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return md?Od.style.width="1000px":Od.setAttribute("wrap","off"),Md&&(Od.style.border="1px solid black"),Ud}function wv(Od){var Ud=Od.optionHandlers,Jd=Od.helpers={};Od.prototype={constructor:Od,focus:function(){zf(this).focus(),this.display.input.focus()},setOption:function(Qd,pf){var Cf=this.options,jf=Cf[Qd];Cf[Qd]==pf&&Qd!="mode"||(Cf[Qd]=pf,Ud.hasOwnProperty(Qd)&&eg(this,Ud[Qd])(this,pf,jf),s_(this,"optionChange",this,Qd))},getOption:function(Qd){return this.options[Qd]},getDoc:function(){return this.doc},addKeyMap:function(Qd,pf){this.state.keyMaps[pf?"push":"unshift"](iE(Qd))},removeKeyMap:function(Qd){for(var pf=this.state.keyMaps,Cf=0;Cf<pf.length;++Cf)if(pf[Cf]==Qd||pf[Cf].name==Qd)return pf.splice(Cf,1),!0},addOverlay:S_(function(Qd,pf){var Cf=Qd.token?Qd:Od.getMode(this.options,Qd);if(Cf.startState)throw new Error("Overlays may not be stateful.");ph(this.state.overlays,{mode:Cf,modeSpec:Qd,opaque:pf&&pf.opaque,priority:pf&&pf.priority||0},function(jf){return jf.priority}),this.state.modeGen++,ub(this)}),removeOverlay:S_(function(Qd){for(var pf=this.state.overlays,Cf=0;Cf<pf.length;++Cf){var jf=pf[Cf].modeSpec;if(jf==Qd||typeof Qd=="string"&&jf.name==Qd){pf.splice(Cf,1),this.state.modeGen++,ub(this);return}}}),indentLine:S_(function(Qd,pf,Cf){typeof pf!="string"&&typeof pf!="number"&&(pf==null?pf=this.options.smartIndent?"smart":"prev":pf=pf?"add":"subtract"),Mm(this.doc,Qd)&&pE(this,Qd,pf,Cf)}),indentSelection:S_(function(Qd){for(var pf=this.doc.sel.ranges,Cf=-1,jf=0;jf<pf.length;jf++){var Kf=pf[jf];if(Kf.empty())Kf.head.line>Cf&&(pE(this,Kf.head.line,Qd,!0),Cf=Kf.head.line,jf==this.doc.sel.primIndex&&bg(this));else{var sh=Kf.from(),mh=Kf.to(),Mh=Math.max(Cf,sh.line);Cf=Math.min(this.lastLine(),mh.line-(mh.ch?0:1))+1;for(var Jh=Mh;Jh<Cf;++Jh)pE(this,Jh,Qd);var hm=this.doc.sel.ranges;sh.ch==0&&pf.length==hm.length&&hm[jf].from().ch>0&&wb(this.doc,jf,new X_(sh,hm[jf].to()),uh)}}}),getTokenAt:function(Qd,pf){return C0(this,Qd,pf)},getLineTokens:function(Qd,pf){return C0(this,Tm(Qd),pf,!0)},getTokenTypeAt:function(Qd){Qd=E_(this.doc,Qd);var pf=Jb(this,Km(this.doc,Qd.line)),Cf=0,jf=(pf.length-1)/2,Kf=Qd.ch,sh;if(Kf==0)sh=pf[2];else for(;;){var mh=Cf+jf>>1;if((mh?pf[mh*2-1]:0)>=Kf)jf=mh;else if(pf[mh*2+1]<Kf)Cf=mh+1;else{sh=pf[mh*2+2];break}}var Mh=sh?sh.indexOf("overlay "):-1;return Mh<0?sh:Mh==0?null:sh.slice(0,Mh-1)},getModeAt:function(Qd){var pf=this.doc.mode;return pf.innerMode?Od.innerMode(pf,this.getTokenAt(Qd).state).mode:pf},getHelper:function(Qd,pf){return this.getHelpers(Qd,pf)[0]},getHelpers:function(Qd,pf){var Cf=[];if(!Jd.hasOwnProperty(pf))return Cf;var jf=Jd[pf],Kf=this.getModeAt(Qd);if(typeof Kf[pf]=="string")jf[Kf[pf]]&&Cf.push(jf[Kf[pf]]);else if(Kf[pf])for(var sh=0;sh<Kf[pf].length;sh++){var mh=jf[Kf[pf][sh]];mh&&Cf.push(mh)}else Kf.helperType&&jf[Kf.helperType]?Cf.push(jf[Kf.helperType]):jf[Kf.name]&&Cf.push(jf[Kf.name]);for(var Mh=0;Mh<jf._global.length;Mh++){var Jh=jf._global[Mh];Jh.pred(Kf,this)&&ch(Cf,Jh.val)==-1&&Cf.push(Jh.val)}return Cf},getStateAfter:function(Qd,pf){var Cf=this.doc;return Qd=Eb(Cf,Qd??Cf.first+Cf.size-1),Ug(this,Qd+1,pf).state},cursorCoords:function(Qd,pf){var Cf,jf=this.doc.sel.primary();return Qd==null?Cf=jf.head:typeof Qd=="object"?Cf=E_(this.doc,Qd):Cf=Qd?jf.from():jf.to(),Dm(this,Cf,pf||"page")},charCoords:function(Qd,pf){return Lm(this,E_(this.doc,Qd),pf||"page")},coordsChar:function(Qd,pf){return Qd=mm(this,Qd,pf||"page"),V_(this,Qd.left,Qd.top)},lineAtHeight:function(Qd,pf){return Qd=mm(this,{top:Qd,left:0},pf||"page").top,Bh(this.doc,Qd+this.display.viewOffset)},heightAtLine:function(Qd,pf,Cf){var jf=!1,Kf;if(typeof Qd=="number"){var sh=this.doc.first+this.doc.size-1;Qd<this.doc.first?Qd=this.doc.first:Qd>sh&&(Qd=sh,jf=!0),Kf=Km(this.doc,Qd)}else Kf=Qd;return m0(this,Kf,{top:0,left:0},pf||"page",Cf||jf).top+(jf?this.doc.height-Cb(Kf):0)},defaultTextHeight:function(){return Fb(this.display)},defaultCharWidth:function(){return _0(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(Qd,pf,Cf,jf,Kf){var sh=this.display;Qd=Dm(this,E_(this.doc,Qd));var mh=Qd.bottom,Mh=Qd.left;if(pf.style.position="absolute",pf.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(pf),sh.sizer.appendChild(pf),jf=="over")mh=Qd.top;else if(jf=="above"||jf=="near"){var Jh=Math.max(sh.wrapper.clientHeight,this.doc.height),hm=Math.max(sh.sizer.clientWidth,sh.lineSpace.clientWidth);(jf=="above"||Qd.bottom+pf.offsetHeight>Jh)&&Qd.top>pf.offsetHeight?mh=Qd.top-pf.offsetHeight:Qd.bottom+pf.offsetHeight<=Jh&&(mh=Qd.bottom),Mh+pf.offsetWidth>hm&&(Mh=hm-pf.offsetWidth)}pf.style.top=mh+"px",pf.style.left=pf.style.right="",Kf=="right"?(Mh=sh.sizer.clientWidth-pf.offsetWidth,pf.style.right="0px"):(Kf=="left"?Mh=0:Kf=="middle"&&(Mh=(sh.sizer.clientWidth-pf.offsetWidth)/2),pf.style.left=Mh+"px"),Cf&&lS(this,{left:Mh,top:mh,right:Mh+pf.offsetWidth,bottom:mh+pf.offsetHeight})},triggerOnKeyDown:S_(VT),triggerOnKeyPress:S_(BS),triggerOnKeyUp:Yb,triggerOnMouseDown:S_(jS),execCommand:function(Qd){if(oE.hasOwnProperty(Qd))return oE[Qd].call(null,this)},triggerElectric:S_(function(Qd){tT(this,Qd)}),findPosH:function(Qd,pf,Cf,jf){var Kf=1;pf<0&&(Kf=-1,pf=-pf);for(var sh=E_(this.doc,Qd),mh=0;mh<pf&&(sh=T_(this.doc,sh,Kf,Cf,jf),!sh.hitSide);++mh);return sh},moveH:S_(function(Qd,pf){var Cf=this;this.extendSelectionsBy(function(jf){return Cf.display.shift||Cf.doc.extend||jf.empty()?T_(Cf.doc,jf.head,Qd,pf,Cf.options.rtlMoveVisually):Qd<0?jf.from():jf.to()},Qf)}),deleteH:S_(function(Qd,pf){var Cf=this.doc.sel,jf=this.doc;Cf.somethingSelected()?jf.replaceSelection("",null,"+delete"):B0(this,function(Kf){var sh=T_(jf,Kf.head,Qd,pf,!1);return Qd<0?{from:sh,to:Kf.head}:{from:Kf.head,to:sh}})}),findPosV:function(Qd,pf,Cf,jf){var Kf=1,sh=jf;pf<0&&(Kf=-1,pf=-pf);for(var mh=E_(this.doc,Qd),Mh=0;Mh<pf;++Mh){var Jh=Dm(this,mh,"div");if(sh==null?sh=Jh.left:Jh.left=sh,mh=mE(this,Jh,Kf,Cf),mh.hitSide)break}return mh},moveV:S_(function(Qd,pf){var Cf=this,jf=this.doc,Kf=[],sh=!this.display.shift&&!jf.extend&&jf.sel.somethingSelected();if(jf.extendSelectionsBy(function(Mh){if(sh)return Qd<0?Mh.from():Mh.to();var Jh=Dm(Cf,Mh.head,"div");Mh.goalColumn!=null&&(Jh.left=Mh.goalColumn),Kf.push(Jh.left);var hm=mE(Cf,Jh,Qd,pf);return pf=="page"&&Mh==jf.sel.primary()&&xT(Cf,Lm(Cf,hm,"div").top-Jh.top),hm},Qf),Kf.length)for(var mh=0;mh<jf.sel.ranges.length;mh++)jf.sel.ranges[mh].goalColumn=Kf[mh]}),findWordAt:function(Qd){var pf=this.doc,Cf=Km(pf,Qd.line).text,jf=Qd.ch,Kf=Qd.ch;if(Cf){var sh=this.getHelper(Qd,"wordChars");(Qd.sticky=="before"||Kf==Cf.length)&&jf?--jf:++Kf;for(var mh=Cf.charAt(jf),Mh=cm(mh,sh)?function(Jh){return cm(Jh,sh)}:/\s/.test(mh)?function(Jh){return/\s/.test(Jh)}:function(Jh){return!/\s/.test(Jh)&&!cm(Jh)};jf>0&&Mh(Cf.charAt(jf-1));)--jf;for(;Kf<Cf.length&&Mh(Cf.charAt(Kf));)++Kf}return new X_(Tm(Qd.line,jf),Tm(Qd.line,Kf))},toggleOverwrite:function(Qd){Qd!=null&&Qd==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Jf(this.display.cursorDiv,"CodeMirror-overwrite"):bf(this.display.cursorDiv,"CodeMirror-overwrite"),s_(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Xf(Uf(this))},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:S_(function(Qd,pf){Lg(this,Qd,pf)}),getScrollInfo:function(){var Qd=this.display.scroller;return{left:Qd.scrollLeft,top:Qd.scrollTop,height:Qd.scrollHeight-e0(this)-this.display.barHeight,width:Qd.scrollWidth-e0(this)-this.display.barWidth,clientHeight:_T(this),clientWidth:J0(this)}},scrollIntoView:S_(function(Qd,pf){Qd==null?(Qd={from:this.doc.sel.primary().head,to:null},pf==null&&(pf=this.options.cursorScrollMargin)):typeof Qd=="number"?Qd={from:Tm(Qd,0),to:null}:Qd.from==null&&(Qd={from:Qd,to:null}),Qd.to||(Qd.to=Qd.from),Qd.margin=pf||0,Qd.from.line!=null?o1(this,Qd):CT(this,Qd.from,Qd.to,Qd.margin)}),setSize:S_(function(Qd,pf){var Cf=this,jf=function(sh){return typeof sh=="number"||/^\d+$/.test(String(sh))?sh+"px":sh};Qd!=null&&(this.display.wrapper.style.width=jf(Qd)),pf!=null&&(this.display.wrapper.style.height=jf(pf)),this.options.lineWrapping&&nS(this);var Kf=this.display.viewFrom;this.doc.iter(Kf,this.display.viewTo,function(sh){if(sh.widgets){for(var mh=0;mh<sh.widgets.length;mh++)if(sh.widgets[mh].noHScroll){w0(Cf,Kf,"widget");break}}++Kf}),this.curOp.forceUpdate=!0,s_(this,"refresh",this)}),operation:function(Qd){return eb(this,Qd)},startOperation:function(){return uy(this)},endOperation:function(){return Ty(this)},refresh:S_(function(){var Qd=this.display.cachedTextHeight;ub(this),this.curOp.forceUpdate=!0,Vv(this),Lg(this,this.doc.scrollLeft,this.doc.scrollTop),DT(this.display),(Qd==null||Math.abs(Qd-Fb(this.display))>.5||this.options.lineWrapping)&&kE(this),s_(this,"refresh",this)}),swapDoc:S_(function(Qd){var pf=this.doc;return pf.cm=null,this.state.selectingText&&this.state.selectingText(),OT(this,Qd),Vv(this),this.display.input.reset(),Lg(this,Qd.scrollLeft,Qd.scrollTop),this.curOp.forceScroll=!0,Yd(this,"swapDoc",this,pf),pf}),phrase:function(Qd){var pf=this.options.phrases;return pf&&Object.prototype.hasOwnProperty.call(pf,Qd)?pf[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}},M_(Od),Od.registerHelper=function(Qd,pf,Cf){Jd.hasOwnProperty(Qd)||(Jd[Qd]=Od[Qd]={_global:[]}),Jd[Qd][pf]=Cf},Od.registerGlobalHelper=function(Qd,pf,Cf,jf){Od.registerHelper(Qd,pf,jf),Jd[Qd]._global.push({pred:Cf,val:jf})}}function T_(Od,Ud,Jd,Qd,pf){var Cf=Ud,jf=Jd,Kf=Km(Od,Ud.line),sh=pf&&Od.direction=="rtl"?-Jd:Jd;function mh(){var a_=Ud.line+sh;return a_<Od.first||a_>=Od.first+Od.size?!1:(Ud=new Tm(a_,Ud.ch,Ud.sticky),Kf=Km(Od,a_))}function Mh(a_){var t_;if(Qd=="codepoint"){var u_=Kf.text.charCodeAt(Ud.ch+(Jd>0?0:-1));if(isNaN(u_))t_=null;else{var g_=Jd>0?u_>=55296&&u_<56320:u_>=56320&&u_<57343;t_=new Tm(Ud.line,Math.max(0,Math.min(Kf.text.length,Ud.ch+Jd*(g_?2:1))),-Jd)}}else pf?t_=F0(Od.cm,Kf,Ud,Jd):t_=aE(Kf,Ud,Jd);if(t_==null)if(!a_&&mh())Ud=sE(pf,Od.cm,Kf,Ud.line,sh);else return!1;else Ud=t_;return!0}if(Qd=="char"||Qd=="codepoint")Mh();else if(Qd=="column")Mh(!0);else if(Qd=="word"||Qd=="group")for(var Jh=null,hm=Qd=="group",pm=Od.cm&&Od.cm.getHelper(Ud,"wordChars"),Rm=!0;!(Jd<0&&!Mh(!Rm));Rm=!1){var jm=Kf.text.charAt(Ud.ch)||`
|
||
`,Ym=cm(jm,pm)?"w":hm&&jm==`
|
||
`?"n":!hm||/\s/.test(jm)?null:"p";if(hm&&!Rm&&!Ym&&(Ym="s"),Jh&&Jh!=Ym){Jd<0&&(Jd=1,Mh(),Ud.sticky="after");break}if(Ym&&(Jh=Ym),Jd>0&&!Mh(!Rm))break}var n_=fv(Od,Ud,Cf,jf,!0);return O_(Cf,n_)&&(n_.hitSide=!0),n_}function mE(Od,Ud,Jd,Qd){var pf=Od.doc,Cf=Ud.left,jf;if(Qd=="page"){var Kf=Math.min(Od.display.wrapper.clientHeight,zf(Od).innerHeight||pf(Od).documentElement.clientHeight),sh=Math.max(Kf-.5*Fb(Od.display),3);jf=(Jd>0?Ud.bottom:Ud.top)+Jd*sh}else Qd=="line"&&(jf=Jd>0?Ud.bottom+3:Ud.top-3);for(var mh;mh=V_(Od,Cf,jf),!!mh.outside;){if(Jd<0?jf<=0:jf>=pf.height){mh.hitSide=!0;break}jf+=Jd*5}return mh}var Q_=function(Od){this.cm=Od,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new eh,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Q_.prototype.init=function(Od){var Ud=this,Jd=this,Qd=Jd.cm,pf=Jd.div=Od.lineDiv;pf.contentEditable=!0,fE(pf,Qd.options.spellcheck,Qd.options.autocorrect,Qd.options.autocapitalize);function Cf(Kf){for(var sh=Kf.target;sh;sh=sh.parentNode){if(sh==pf)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(sh.className))break}return!1}Om(pf,"paste",function(Kf){!Cf(Kf)||b_(Qd,Kf)||s0(Kf,Qd)||fd<=11&&setTimeout(eg(Qd,function(){return Ud.updateFromDOM()}),20)}),Om(pf,"compositionstart",function(Kf){Ud.composing={data:Kf.data,done:!1}}),Om(pf,"compositionupdate",function(Kf){Ud.composing||(Ud.composing={data:Kf.data,done:!1})}),Om(pf,"compositionend",function(Kf){Ud.composing&&(Kf.data!=Ud.composing.data&&Ud.readFromDOMSoon(),Ud.composing.done=!0)}),Om(pf,"touchstart",function(){return Jd.forceCompositionEnd()}),Om(pf,"input",function(){Ud.composing||Ud.readFromDOMSoon()});function jf(Kf){if(!(!Cf(Kf)||b_(Qd,Kf))){if(Qd.somethingSelected())eT({lineWise:!1,text:Qd.getSelections()}),Kf.type=="cut"&&Qd.replaceSelection("",null,"cut");else if(Qd.options.lineWiseCopyCut){var sh=rT(Qd);eT({lineWise:!0,text:sh.text}),Kf.type=="cut"&&Qd.operation(function(){Qd.setSelections(sh.ranges,0,uh),Qd.replaceSelection("",null,"cut")})}else return;if(Kf.clipboardData){Kf.clipboardData.clearData();var mh=Ib.text.join(`
|
||
`);if(Kf.clipboardData.setData("Text",mh),Kf.clipboardData.getData("Text")==mh){Kf.preventDefault();return}}var Mh=hE(),Jh=Mh.firstChild;fE(Jh),Qd.display.lineSpace.insertBefore(Mh,Qd.display.lineSpace.firstChild),Jh.value=Ib.text.join(`
|
||
`);var hm=Xf(Gf(pf));Bf(Jh),setTimeout(function(){Qd.display.lineSpace.removeChild(Mh),hm.focus(),hm==pf&&Jd.showPrimarySelection()},50)}}Om(pf,"copy",jf),Om(pf,"cut",jf)},Q_.prototype.screenReaderLabelChanged=function(Od){Od?this.div.setAttribute("aria-label",Od):this.div.removeAttribute("aria-label")},Q_.prototype.prepareSelection=function(){var Od=vT(this.cm,!1);return Od.focus=Xf(Gf(this.div))==this.div,Od},Q_.prototype.showSelection=function(Od,Ud){!Od||!this.cm.display.view.length||((Od.focus||Ud)&&this.showPrimarySelection(),this.showMultipleSelections(Od))},Q_.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Q_.prototype.showPrimarySelection=function(){var Od=this.getSelection(),Ud=this.cm,Jd=Ud.doc.sel.primary(),Qd=Jd.from(),pf=Jd.to();if(Ud.display.viewTo==Ud.display.viewFrom||Qd.line>=Ud.display.viewTo||pf.line<Ud.display.viewFrom){Od.removeAllRanges();return}var Cf=zg(Ud,Od.anchorNode,Od.anchorOffset),jf=zg(Ud,Od.focusNode,Od.focusOffset);if(!(Cf&&!Cf.bad&&jf&&!jf.bad&&e_(rb(Cf,jf),Qd)==0&&e_(Cg(Cf,jf),pf)==0)){var Kf=Ud.display.view,sh=Qd.line>=Ud.display.viewFrom&&j0(Ud,Qd)||{node:Kf[0].measure.map[2],offset:0},mh=pf.line<Ud.display.viewTo&&j0(Ud,pf);if(!mh){var Mh=Kf[Kf.length-1].measure,Jh=Mh.maps?Mh.maps[Mh.maps.length-1]:Mh.map;mh={node:Jh[Jh.length-1],offset:Jh[Jh.length-2]-Jh[Jh.length-3]}}if(!sh||!mh){Od.removeAllRanges();return}var hm=Od.rangeCount&&Od.getRangeAt(0),pm;try{pm=Af(sh.node,sh.offset,mh.offset,mh.node)}catch{}pm&&(!ld&&Ud.state.focused?(Od.collapse(sh.node,sh.offset),pm.collapsed||(Od.removeAllRanges(),Od.addRange(pm))):(Od.removeAllRanges(),Od.addRange(pm)),hm&&Od.anchorNode==null?Od.addRange(hm):ld&&this.startGracePeriod()),this.rememberSelection()}},Q_.prototype.startGracePeriod=function(){var Od=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){Od.gracePeriod=!1,Od.selectionChanged()&&Od.cm.operation(function(){return Od.cm.curOp.selectionChanged=!0})},20)},Q_.prototype.showMultipleSelections=function(Od){Ef(this.cm.display.cursorDiv,Od.cursors),Ef(this.cm.display.selectionDiv,Od.selection)},Q_.prototype.rememberSelection=function(){var Od=this.getSelection();this.lastAnchorNode=Od.anchorNode,this.lastAnchorOffset=Od.anchorOffset,this.lastFocusNode=Od.focusNode,this.lastFocusOffset=Od.focusOffset},Q_.prototype.selectionInEditor=function(){var Od=this.getSelection();if(!Od.rangeCount)return!1;var Ud=Od.getRangeAt(0).commonAncestorContainer;return Lf(this.div,Ud)},Q_.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||Xf(Gf(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Q_.prototype.blur=function(){this.div.blur()},Q_.prototype.getField=function(){return this.div},Q_.prototype.supportsTouch=function(){return!0},Q_.prototype.receivedFocus=function(){var Od=this,Ud=this;this.selectionInEditor()?setTimeout(function(){return Od.pollSelection()},20):eb(this.cm,function(){return Ud.cm.curOp.selectionChanged=!0});function Jd(){Ud.cm.state.focused&&(Ud.pollSelection(),Ud.polling.set(Ud.cm.options.pollInterval,Jd))}this.polling.set(this.cm.options.pollInterval,Jd)},Q_.prototype.selectionChanged=function(){var Od=this.getSelection();return Od.anchorNode!=this.lastAnchorNode||Od.anchorOffset!=this.lastAnchorOffset||Od.focusNode!=this.lastFocusNode||Od.focusOffset!=this.lastFocusOffset},Q_.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var Od=this.getSelection(),Ud=this.cm;if(Ld&&Ad&&this.cm.display.gutterSpecs.length&&I1(Od.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var Jd=zg(Ud,Od.anchorNode,Od.anchorOffset),Qd=zg(Ud,Od.focusNode,Od.focusOffset);Jd&&Qd&&eb(Ud,function(){Xg(Ud.doc,k0(Jd,Qd),uh),(Jd.bad||Qd.bad)&&(Ud.curOp.selectionChanged=!0)})}}},Q_.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var Od=this.cm,Ud=Od.display,Jd=Od.doc.sel.primary(),Qd=Jd.from(),pf=Jd.to();if(Qd.ch==0&&Qd.line>Od.firstLine()&&(Qd=Tm(Qd.line-1,Km(Od.doc,Qd.line-1).length)),pf.ch==Km(Od.doc,pf.line).text.length&&pf.line<Od.lastLine()&&(pf=Tm(pf.line+1,0)),Qd.line<Ud.viewFrom||pf.line>Ud.viewTo-1)return!1;var Cf,jf,Kf;Qd.line==Ud.viewFrom||(Cf=ry(Od,Qd.line))==0?(jf=hh(Ud.view[0].line),Kf=Ud.view[0].node):(jf=hh(Ud.view[Cf].line),Kf=Ud.view[Cf-1].node.nextSibling);var sh=ry(Od,pf.line),mh,Mh;if(sh==Ud.view.length-1?(mh=Ud.viewTo-1,Mh=Ud.lineDiv.lastChild):(mh=hh(Ud.view[sh+1].line)-1,Mh=Ud.view[sh+1].node.previousSibling),!Kf)return!1;for(var Jh=Od.doc.splitLines(zS(Od,Kf,Mh,jf,mh)),hm=ig(Od.doc,Tm(jf,0),Tm(mh,Km(Od.doc,mh).text.length));Jh.length>1&&hm.length>1;)if(Th(Jh)==Th(hm))Jh.pop(),hm.pop(),mh--;else if(Jh[0]==hm[0])Jh.shift(),hm.shift(),jf++;else break;for(var pm=0,Rm=0,jm=Jh[0],Ym=hm[0],n_=Math.min(jm.length,Ym.length);pm<n_&&jm.charCodeAt(pm)==Ym.charCodeAt(pm);)++pm;for(var a_=Th(Jh),t_=Th(hm),u_=Math.min(a_.length-(Jh.length==1?pm:0),t_.length-(hm.length==1?pm:0));Rm<u_&&a_.charCodeAt(a_.length-Rm-1)==t_.charCodeAt(t_.length-Rm-1);)++Rm;if(Jh.length==1&&hm.length==1&&jf==Qd.line)for(;pm&&pm>Qd.ch&&a_.charCodeAt(a_.length-Rm-1)==t_.charCodeAt(t_.length-Rm-1);)pm--,Rm++;Jh[Jh.length-1]=a_.slice(0,a_.length-Rm).replace(/^\u200b+/,""),Jh[0]=Jh[0].slice(pm).replace(/\u200b+$/,"");var g_=Tm(jf,pm),m_=Tm(mh,hm.length?Th(hm).length-Rm:0);if(Jh.length>1||Jh[0]||e_(g_,m_))return Ay(Od.doc,Jh,g_,m_,"+input"),!0},Q_.prototype.ensurePolled=function(){this.forceCompositionEnd()},Q_.prototype.reset=function(){this.forceCompositionEnd()},Q_.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Q_.prototype.readFromDOMSoon=function(){var Od=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(Od.readDOMTimeout=null,Od.composing)if(Od.composing.done)Od.composing=null;else return;Od.updateFromDOM()},80))},Q_.prototype.updateFromDOM=function(){var Od=this;(this.cm.isReadOnly()||!this.pollContent())&&eb(this.cm,function(){return ub(Od.cm)})},Q_.prototype.setUneditable=function(Od){Od.contentEditable="false"},Q_.prototype.onKeyPress=function(Od){Od.charCode==0||this.composing||(Od.preventDefault(),this.cm.isReadOnly()||eg(this.cm,KT)(this.cm,String.fromCharCode(Od.charCode==null?Od.keyCode:Od.charCode),0))},Q_.prototype.readOnlyChanged=function(Od){this.div.contentEditable=String(Od!="nocursor")},Q_.prototype.onContextMenu=function(){},Q_.prototype.resetPosition=function(){},Q_.prototype.needsContentAttribute=!0;function j0(Od,Ud){var Jd=OE(Od,Ud.line);if(!Jd||Jd.hidden)return null;var Qd=Km(Od.doc,Ud.line),pf=eS(Jd,Qd,Ud.line),Cf=_m(Qd,Od.doc.direction),jf="left";if(Cf){var Kf=Uh(Cf,Ud.ch);jf=Kf%2?"right":"left"}var sh=rS(pf.map,Ud.ch,jf);return sh.offset=sh.collapse=="right"?sh.end:sh.start,sh}function I1(Od){for(var Ud=Od;Ud;Ud=Ud.parentNode)if(/CodeMirror-gutter-wrapper/.test(Ud.className))return!0;return!1}function U0(Od,Ud){return Ud&&(Od.bad=!0),Od}function zS(Od,Ud,Jd,Qd,pf){var Cf="",jf=!1,Kf=Od.doc.lineSeparator(),sh=!1;function mh(pm){return function(Rm){return Rm.id==pm}}function Mh(){jf&&(Cf+=Kf,sh&&(Cf+=Kf),jf=sh=!1)}function Jh(pm){pm&&(Mh(),Cf+=pm)}function hm(pm){if(pm.nodeType==1){var Rm=pm.getAttribute("cm-text");if(Rm){Jh(Rm);return}var jm=pm.getAttribute("cm-marker"),Ym;if(jm){var n_=Od.findMarks(Tm(Qd,0),Tm(pf+1,0),mh(+jm));n_.length&&(Ym=n_[0].find(0))&&Jh(ig(Od.doc,Ym.from,Ym.to).join(Kf));return}if(pm.getAttribute("contenteditable")=="false")return;var a_=/^(pre|div|p|li|table|br)$/i.test(pm.nodeName);if(!/^br$/i.test(pm.nodeName)&&pm.textContent.length==0)return;a_&&Mh();for(var t_=0;t_<pm.childNodes.length;t_++)hm(pm.childNodes[t_]);/^(pre|p)$/i.test(pm.nodeName)&&(sh=!0),a_&&(jf=!0)}else pm.nodeType==3&&Jh(pm.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;hm(Ud),Ud!=Jd;)Ud=Ud.nextSibling,sh=!1;return Cf}function zg(Od,Ud,Jd){var Qd;if(Ud==Od.display.lineDiv){if(Qd=Od.display.lineDiv.childNodes[Jd],!Qd)return U0(Od.clipPos(Tm(Od.display.viewTo-1)),!0);Ud=null,Jd=0}else for(Qd=Ud;;Qd=Qd.parentNode){if(!Qd||Qd==Od.display.lineDiv)return null;if(Qd.parentNode&&Qd.parentNode==Od.display.lineDiv)break}for(var pf=0;pf<Od.display.view.length;pf++){var Cf=Od.display.view[pf];if(Cf.node==Qd)return O1(Cf,Ud,Jd)}}function O1(Od,Ud,Jd){var Qd=Od.text.firstChild,pf=!1;if(!Ud||!Lf(Qd,Ud))return U0(Tm(hh(Od.line),0),!0);if(Ud==Qd&&(pf=!0,Ud=Qd.childNodes[Jd],Jd=0,!Ud)){var Cf=Od.rest?Th(Od.rest):Od.line;return U0(Tm(hh(Cf),Cf.text.length),pf)}var jf=Ud.nodeType==3?Ud:null,Kf=Ud;for(!jf&&Ud.childNodes.length==1&&Ud.firstChild.nodeType==3&&(jf=Ud.firstChild,Jd&&(Jd=jf.nodeValue.length));Kf.parentNode!=Qd;)Kf=Kf.parentNode;var sh=Od.measure,mh=sh.maps;function Mh(Ym,n_,a_){for(var t_=-1;t_<(mh?mh.length:0);t_++)for(var u_=t_<0?sh.map:mh[t_],g_=0;g_<u_.length;g_+=3){var m_=u_[g_+2];if(m_==Ym||m_==n_){var R_=hh(t_<0?Od.line:Od.rest[t_]),ng=u_[g_]+a_;return(a_<0||m_!=Ym)&&(ng=u_[g_+(a_?1:0)]),Tm(R_,ng)}}}var Jh=Mh(jf,Kf,Jd);if(Jh)return U0(Jh,pf);for(var hm=Kf.nextSibling,pm=jf?jf.nodeValue.length-Jd:0;hm;hm=hm.nextSibling){if(Jh=Mh(hm,hm.firstChild,0),Jh)return U0(Tm(Jh.line,Jh.ch-pm),pf);pm+=hm.textContent.length}for(var Rm=Kf.previousSibling,jm=Jd;Rm;Rm=Rm.previousSibling){if(Jh=Mh(Rm,Rm.firstChild,-1),Jh)return U0(Tm(Jh.line,Jh.ch+jm),pf);jm+=Rm.textContent.length}}var Dg=function(Od){this.cm=Od,this.prevInput="",this.pollingFast=!1,this.polling=new eh,this.hasSelection=!1,this.composing=null,this.resetting=!1};Dg.prototype.init=function(Od){var Ud=this,Jd=this,Qd=this.cm;this.createField(Od);var pf=this.textarea;Od.wrapper.insertBefore(this.wrapper,Od.wrapper.firstChild),Md&&(pf.style.width="0px"),Om(pf,"input",function(){pd&&fd>=9&&Ud.hasSelection&&(Ud.hasSelection=null),Jd.poll()}),Om(pf,"paste",function(jf){b_(Qd,jf)||s0(jf,Qd)||(Qd.state.pasteIncoming=+new Date,Jd.fastPoll())});function Cf(jf){if(!b_(Qd,jf)){if(Qd.somethingSelected())eT({lineWise:!1,text:Qd.getSelections()});else if(Qd.options.lineWiseCopyCut){var Kf=rT(Qd);eT({lineWise:!0,text:Kf.text}),jf.type=="cut"?Qd.setSelections(Kf.ranges,null,uh):(Jd.prevInput="",pf.value=Kf.text.join(`
|
||
`),Bf(pf))}else return;jf.type=="cut"&&(Qd.state.cutIncoming=+new Date)}}Om(pf,"cut",Cf),Om(pf,"copy",Cf),Om(Od.scroller,"paste",function(jf){if(!(K_(Od,jf)||b_(Qd,jf))){if(!pf.dispatchEvent){Qd.state.pasteIncoming=+new Date,Jd.focus();return}var Kf=new Event("paste");Kf.clipboardData=jf.clipboardData,pf.dispatchEvent(Kf)}}),Om(Od.lineSpace,"selectstart",function(jf){K_(Od,jf)||h_(jf)}),Om(pf,"compositionstart",function(){var jf=Qd.getCursor("from");Jd.composing&&Jd.composing.range.clear(),Jd.composing={start:jf,range:Qd.markText(jf,Qd.getCursor("to"),{className:"CodeMirror-composing"})}}),Om(pf,"compositionend",function(){Jd.composing&&(Jd.poll(),Jd.composing.range.clear(),Jd.composing=null)})},Dg.prototype.createField=function(Od){this.wrapper=hE(),this.textarea=this.wrapper.firstChild;var Ud=this.cm.options;fE(this.textarea,Ud.spellcheck,Ud.autocorrect,Ud.autocapitalize)},Dg.prototype.screenReaderLabelChanged=function(Od){Od?this.textarea.setAttribute("aria-label",Od):this.textarea.removeAttribute("aria-label")},Dg.prototype.prepareSelection=function(){var Od=this.cm,Ud=Od.display,Jd=Od.doc,Qd=vT(Od);if(Od.options.moveInputWithCursor){var pf=Dm(Od,Jd.sel.primary().head,"div"),Cf=Ud.wrapper.getBoundingClientRect(),jf=Ud.lineDiv.getBoundingClientRect();Qd.teTop=Math.max(0,Math.min(Ud.wrapper.clientHeight-10,pf.top+jf.top-Cf.top)),Qd.teLeft=Math.max(0,Math.min(Ud.wrapper.clientWidth-10,pf.left+jf.left-Cf.left))}return Qd},Dg.prototype.showSelection=function(Od){var Ud=this.cm,Jd=Ud.display;Ef(Jd.cursorDiv,Od.cursors),Ef(Jd.selectionDiv,Od.selection),Od.teTop!=null&&(this.wrapper.style.top=Od.teTop+"px",this.wrapper.style.left=Od.teLeft+"px")},Dg.prototype.reset=function(Od){if(!(this.contextMenuPending||this.composing&&Od)){var Ud=this.cm;if(this.resetting=!0,Ud.somethingSelected()){this.prevInput="";var Jd=Ud.getSelection();this.textarea.value=Jd,Ud.state.focused&&Bf(this.textarea),pd&&fd>=9&&(this.hasSelection=Jd)}else Od||(this.prevInput=this.textarea.value="",pd&&fd>=9&&(this.hasSelection=null));this.resetting=!1}},Dg.prototype.getField=function(){return this.textarea},Dg.prototype.supportsTouch=function(){return!1},Dg.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Hd||Xf(Gf(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},Dg.prototype.blur=function(){this.textarea.blur()},Dg.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Dg.prototype.receivedFocus=function(){this.slowPoll()},Dg.prototype.slowPoll=function(){var Od=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){Od.poll(),Od.cm.state.focused&&Od.slowPoll()})},Dg.prototype.fastPoll=function(){var Od=!1,Ud=this;Ud.pollingFast=!0;function Jd(){var Qd=Ud.poll();!Qd&&!Od?(Od=!0,Ud.polling.set(60,Jd)):(Ud.pollingFast=!1,Ud.slowPoll())}Ud.polling.set(20,Jd)},Dg.prototype.poll=function(){var Od=this,Ud=this.cm,Jd=this.textarea,Qd=this.prevInput;if(this.contextMenuPending||this.resetting||!Ud.state.focused||Ch(Jd)&&!Qd&&!this.composing||Ud.isReadOnly()||Ud.options.disableInput||Ud.state.keySeq)return!1;var pf=Jd.value;if(pf==Qd&&!Ud.somethingSelected())return!1;if(pd&&fd>=9&&this.hasSelection===pf||Gd&&/[\uf700-\uf7ff]/.test(pf))return Ud.display.input.reset(),!1;if(Ud.doc.sel==Ud.display.selForContextMenu){var Cf=pf.charCodeAt(0);if(Cf==8203&&!Qd&&(Qd=""),Cf==8666)return this.reset(),this.cm.execCommand("undo")}for(var jf=0,Kf=Math.min(Qd.length,pf.length);jf<Kf&&Qd.charCodeAt(jf)==pf.charCodeAt(jf);)++jf;return eb(Ud,function(){KT(Ud,pf.slice(jf),Qd.length-jf,null,Od.composing?"*compose":null),pf.length>1e3||pf.indexOf(`
|
||
`)>-1?Jd.value=Od.prevInput="":Od.prevInput=pf,Od.composing&&(Od.composing.range.clear(),Od.composing.range=Ud.markText(Od.composing.start,Ud.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Dg.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Dg.prototype.onKeyPress=function(){pd&&fd>=9&&(this.hasSelection=null),this.fastPoll()},Dg.prototype.onContextMenu=function(Od){var Ud=this,Jd=Ud.cm,Qd=Jd.display,pf=Ud.textarea;Ud.contextMenuPending&&Ud.contextMenuPending();var Cf=t0(Jd,Od),jf=Qd.scroller.scrollTop;if(!Cf||Id)return;var Kf=Jd.options.resetSelectionOnContextMenu;Kf&&Jd.doc.sel.contains(Cf)==-1&&eg(Jd,Xg)(Jd.doc,k0(Cf),uh);var sh=pf.style.cssText,mh=Ud.wrapper.style.cssText,Mh=Ud.wrapper.offsetParent.getBoundingClientRect();Ud.wrapper.style.cssText="position: static",pf.style.cssText=`position: absolute; width: 30px; height: 30px;
|
||
top: `+(Od.clientY-Mh.top-5)+"px; left: "+(Od.clientX-Mh.left-5)+`px;
|
||
z-index: 1000; background: `+(pd?"rgba(255, 255, 255, .05)":"transparent")+`;
|
||
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Jh;md&&(Jh=pf.ownerDocument.defaultView.scrollY),Qd.input.focus(),md&&pf.ownerDocument.defaultView.scrollTo(null,Jh),Qd.input.reset(),Jd.somethingSelected()||(pf.value=Ud.prevInput=" "),Ud.contextMenuPending=pm,Qd.selForContextMenu=Jd.doc.sel,clearTimeout(Qd.detectingSelectAll);function hm(){if(pf.selectionStart!=null){var jm=Jd.somethingSelected(),Ym=""+(jm?pf.value:"");pf.value="⇚",pf.value=Ym,Ud.prevInput=jm?"":"",pf.selectionStart=1,pf.selectionEnd=Ym.length,Qd.selForContextMenu=Jd.doc.sel}}function pm(){if(Ud.contextMenuPending==pm&&(Ud.contextMenuPending=!1,Ud.wrapper.style.cssText=mh,pf.style.cssText=sh,pd&&fd<9&&Qd.scrollbars.setScrollTop(Qd.scroller.scrollTop=jf),pf.selectionStart!=null)){(!pd||pd&&fd<9)&&hm();var jm=0,Ym=function(){Qd.selForContextMenu==Jd.doc.sel&&pf.selectionStart==0&&pf.selectionEnd>0&&Ud.prevInput==""?eg(Jd,hv)(Jd):jm++<10?Qd.detectingSelectAll=setTimeout(Ym,500):(Qd.selForContextMenu=null,Qd.input.reset())};Qd.detectingSelectAll=setTimeout(Ym,200)}}if(pd&&fd>=9&&hm(),Zd){dg(Od);var Rm=function(){Xm(window,"mouseup",Rm),setTimeout(pm,20)};Om(window,"mouseup",Rm)}else setTimeout(pm,50)},Dg.prototype.readOnlyChanged=function(Od){Od||this.reset(),this.textarea.disabled=Od=="nocursor",this.textarea.readOnly=!!Od},Dg.prototype.setUneditable=function(){},Dg.prototype.needsContentAttribute=!1;function WS(Od,Ud){if(Ud=Ud?vf(Ud):{},Ud.value=Od.value,!Ud.tabindex&&Od.tabIndex&&(Ud.tabindex=Od.tabIndex),!Ud.placeholder&&Od.placeholder&&(Ud.placeholder=Od.placeholder),Ud.autofocus==null){var Jd=Xf(Gf(Od));Ud.autofocus=Jd==Od||Od.getAttribute("autofocus")!=null&&Jd==document.body}function Qd(){Od.value=Kf.getValue()}var pf;if(Od.form&&(Om(Od.form,"submit",Qd),!Ud.leaveSubmitMethodAlone)){var Cf=Od.form;pf=Cf.submit;try{var jf=Cf.submit=function(){Qd(),Cf.submit=pf,Cf.submit(),Cf.submit=jf}}catch{}}Ud.finishInit=function(sh){sh.save=Qd,sh.getTextArea=function(){return Od},sh.toTextArea=function(){sh.toTextArea=isNaN,Qd(),Od.parentNode.removeChild(sh.getWrapperElement()),Od.style.display="",Od.form&&(Xm(Od.form,"submit",Qd),!Ud.leaveSubmitMethodAlone&&typeof Od.form.submit=="function"&&(Od.form.submit=pf))}},Od.style.display="none";var Kf=z_(function(sh){return Od.parentNode.insertBefore(sh,Od.nextSibling)},Ud);return Kf}function R1(Od){Od.off=Xm,Od.on=Om,Od.wheelEventPixels=_1,Od.Doc=ib,Od.splitLines=Of,Od.countColumn=qf,Od.findColumn=wf,Od.isWordChar=Nm,Od.Pass=Pf,Od.signal=s_,Od.Line=Pb,Od.changeEnd=M0,Od.scrollbarModel=oy,Od.Pos=Tm,Od.cmpPos=e_,Od.modes=Fh,Od.mimeModes=om,Od.resolveMode=Im,Od.getMode=Pm,Od.modeExtensions=i_,Od.extendMode=Hm,Od.copyState=o_,Od.startState=B_,Od.innerMode=j_,Od.commands=oE,Od.keyMap=i0,Od.keyName=nE,Od.isModifierKey=WE,Od.lookupKey=yb,Od.normalizeKeyMap=bb,Od.StringStream=C_,Od.SharedTextMarker=bv,Od.TextMarker=Wb,Od.LineWidget=Ny,Od.e_preventDefault=h_,Od.e_stopPropagation=tg,Od.e_stop=dg,Od.addClass=Jf,Od.contains=Lf,Od.rmClass=bf,Od.keyNames=Vg}YT(z_),wv(z_);var YS="iter insert remove copy getEditor constructor".split(" ");for(var nT in ib.prototype)ib.prototype.hasOwnProperty(nT)&&ch(YS,nT)<0&&(z_.prototype[nT]=function(Od){return function(){return Od.apply(this.doc,arguments)}}(ib.prototype[nT]));return M_(ib),z_.inputStyles={textarea:Dg,contenteditable:Q_},z_.defineMode=function(Od){!z_.defaults.mode&&Od!="null"&&(z_.defaults.mode=Od),im.apply(this,arguments)},z_.defineMIME=Rh,z_.defineMode("null",function(){return{token:function(Od){return Od.skipToEnd()}}}),z_.defineMIME("text/plain","null"),z_.defineExtension=function(Od,Ud){z_.prototype[Od]=Ud},z_.defineDocExtension=function(Od,Ud){ib.prototype[Od]=Ud},z_.fromTextArea=WS,R1(z_),z_.version="5.65.18",z_})}(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=(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$1=class{constructor(){x(this,"subscribers"),x(this,"toasts"),x(this,"subscribe",qa=>(this.subscribers.push(qa),()=>{const nd=this.subscribers.indexOf(qa);this.subscribers.splice(nd,1)})),x(this,"publish",qa=>{this.subscribers.forEach(nd=>nd(qa))}),x(this,"addToast",qa=>{this.publish(qa),this.toasts=[...this.toasts,qa]}),x(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++,cd=this.toasts.find(pd=>pd.id===ud),dd=qa.dismissible===void 0?!0:qa.dismissible;return cd?this.toasts=this.toasts.map(pd=>pd.id===ud?(this.publish({...pd,...qa,id:ud,title:od}),{...pd,...qa,id:ud,dismissible:dd,title:od}):pd):this.addToast({title:od,...ld,dismissible:dd,id:ud}),ud}),x(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(this,"message",(qa,nd)=>this.create({...nd,message:qa,type:"default"})),x(this,"error",(qa,nd)=>this.create({...nd,type:"error",message:qa})),x(this,"success",(qa,nd)=>this.create({...nd,type:"success",message:qa})),x(this,"info",(qa,nd)=>this.create({...nd,type:"info",message:qa})),x(this,"warning",(qa,nd)=>this.create({...nd,type:"warning",message:qa})),x(this,"loading",(qa,nd)=>this.create({...nd,type:"loading",message:qa})),x(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,cd;const dd=ld.then(async fd=>{if(cd=["resolve",fd],se$2(fd)&&!fd.ok){ud=!1;const md=typeof nd.error=="function"?await nd.error(`HTTP error! status: ${fd.status}`):nd.error,vd=typeof nd.description=="function"?await nd.description(`HTTP error! status: ${fd.status}`):nd.description;this.create({id:od,type:"error",message:md,description:vd})}else if(nd.success!==void 0){ud=!1;const md=typeof nd.success=="function"?await nd.success(fd):nd.success,vd=typeof nd.description=="function"?await nd.description(fd):nd.description;this.create({id:od,type:"success",message:md,description:vd})}}).catch(async fd=>{if(cd=["reject",fd],nd.error!==void 0){ud=!1;const md=typeof nd.error=="function"?await nd.error(fd):nd.error,vd=typeof nd.description=="function"?await nd.description(fd):nd.description;this.create({id:od,type:"error",message:md,description:vd})}}).finally(()=>{var fd;ud&&(this.dismiss(od),od=void 0),(fd=nd.finally)==null||fd.call(nd)}),pd=()=>new Promise((fd,md)=>dd.then(()=>cd[0]==="reject"?md(cd[1]):fd(cd[1])).catch(md));return typeof od!="string"&&typeof od!="number"?{unwrap:pd}:Object.assign(od,{unwrap:pd})}),x(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$1=new ae$1;function oe$1(Ra,qa){const nd=(qa==null?void 0:qa.id)||vt$1++;return I$1.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$1.toasts,Ke$1=Object.assign(ne$2,{success:I$1.success,info:I$1.info,warning:I$1.warning,error:I$1.error,custom:I$1.custom,message:I$1.message,promise:I$1.promise,dismiss:I$1.dismiss,loading:I$1.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$2=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),cd=ref$1(!1),dd=ref$1(!1),pd=ref$1(!1),fd=ref$1(0),md=ref$1(0),vd=ref$1(nd.toast.duration||nd.duration||Wt$1),Ad=ref$1(null),Nd=ref$1(null),Id=computed(()=>nd.index===0),kd=computed(()=>nd.index+1<=nd.visibleToasts),jd=computed(()=>nd.toast.type),Fd=computed(()=>nd.toast.dismissible!==!1),Md=computed(()=>nd.toast.class||""),Ld=computed(()=>nd.descriptionClass||""),Hd=nd.toast.style||{},Gd=computed(()=>nd.heights.findIndex(Gf=>Gf.toastId===nd.toast.id)||0),Vd=computed(()=>nd.toast.closeButton??nd.closeButton);computed(()=>nd.toast.duration||nd.duration||Wt$1);const Kd=ref$1(0),mf=ref$1(0),Wd=ref$1(null),Zd=computed(()=>nd.position.split("-")),Xd=computed(()=>Zd.value[0]),bf=computed(()=>Zd.value[1]),yf=computed(()=>typeof nd.toast.title!="string"),Ef=computed(()=>typeof nd.toast.description!="string"),gf=computed(()=>nd.heights.reduce((Gf,zf,Tf)=>Tf>=Gd.value?Gf:Gf+zf.height,0)),xf=ie$1(),Af=computed(()=>nd.toast.invert||nd.invert),Lf=computed(()=>jd.value==="loading"),Xf=computed(()=>Gd.value*nd.gap+gf.value||0);onMounted(()=>{if(!ld.value)return;const Gf=Nd.value,zf=Gf==null?void 0:Gf.style.height;Gf.style.height="auto";const Tf=Gf.getBoundingClientRect().height;Gf.style.height=zf,md.value=Tf;let vf;nd.heights.find(qf=>qf.toastId===nd.toast.id)?vf=nd.heights.map(qf=>qf.toastId===nd.toast.id?{...qf,height:Tf}:qf):vf=[{toastId:nd.toast.id,height:Tf,position:nd.toast.position},...nd.heights],od("update:heights",vf)});function Jf(){ud.value=!0,fd.value=Xf.value;const Gf=nd.heights.filter(zf=>zf.toastId!==nd.toast.id);od("update:heights",Gf),setTimeout(()=>{od("removeToast",nd.toast)},ce$2)}function Zf(){var Gf,zf;if(Lf.value||!Fd.value)return{};Jf(),(zf=(Gf=nd.toast).onDismiss)==null||zf.call(Gf,nd.toast)}function Bf(Gf){Lf.value||!Fd.value||(Ad.value=new Date,fd.value=Xf.value,Gf.target.setPointerCapture(Gf.pointerId),Gf.target.tagName!=="BUTTON"&&(cd.value=!0,Wd.value={x:Gf.clientX,y:Gf.clientY}))}function Df(){var Gf,zf,Tf,vf,qf;if(dd.value||!Fd)return;Wd.value=null;const eh=Number(((Gf=Nd.value)==null?void 0:Gf.style.getPropertyValue("--swipe-amount").replace("px",""))||0),ch=new Date().getTime()-((zf=Ad.value)==null?void 0:zf.getTime()),ih=Math.abs(eh)/ch;if(Math.abs(eh)>=ue$1||ih>.11){fd.value=Xf.value,(vf=(Tf=nd.toast).onDismiss)==null||vf.call(Tf,nd.toast),Jf(),dd.value=!0,pd.value=!1;return}(qf=Nd.value)==null||qf.style.setProperty("--swipe-amount","0px"),cd.value=!1}function Uf(Gf){var zf,Tf;if(!Wd.value||!Fd.value)return;const vf=Gf.clientY-Wd.value.y,qf=((zf=window.getSelection())==null?void 0:zf.toString().length)>0,eh=Xd.value==="top"?Math.min(0,vf):Math.max(0,vf);Math.abs(eh)>0&&(pd.value=!0),!qf&&((Tf=Nd.value)==null||Tf.style.setProperty("--swipe-amount",`${eh}px`))}return watchEffect(Gf=>{if(nd.toast.promise&&jd.value==="loading"||nd.toast.duration===1/0||nd.toast.type==="loading")return;let zf;const Tf=()=>{if(mf.value<Kd.value){const qf=new Date().getTime()-Kd.value;vd.value=vd.value-qf}mf.value=new Date().getTime()},vf=()=>{vd.value!==1/0&&(Kd.value=new Date().getTime(),zf=setTimeout(()=>{var qf,eh;(eh=(qf=nd.toast).onAutoClose)==null||eh.call(qf,nd.toast),Jf()},vd.value))};nd.expanded||nd.interacting||nd.pauseWhenPageIsHidden&&xf?Tf():vf(),Gf(()=>{clearTimeout(zf)})}),watch(()=>nd.toast.delete,()=>{nd.toast.delete&&Jf()},{deep:!0}),onMounted(()=>{if(ld.value=!0,Nd.value){const Gf=Nd.value.getBoundingClientRect().height;md.value=Gf;const zf=[{toastId:nd.toast.id,height:Gf,position:nd.toast.position},...nd.heights];od("update:heights",zf)}}),onBeforeUnmount(()=>{if(Nd.value){const Gf=nd.heights.filter(zf=>zf.toastId!==nd.toast.id);od("update:heights",Gf)}}),(Gf,zf)=>{var Tf,vf,qf,eh,ch,ih,Pf,uh,xh,Qf,wf,$f,Wf,Th,vh,ph,Vh,wh,fm,Nm,cm,Sm,$m,fh,Rf,If,dh;return openBlock(),createElementBlock("li",{ref_key:"toastRef",ref:Nd,"aria-live":Gf.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0","data-sonner-toast":"true",class:normalizeClass(Gf.cn(nd.class,Md.value,(Tf=Gf.classes)==null?void 0:Tf.toast,(vf=Gf.toast.classes)==null?void 0:vf.toast,(qf=Gf.classes)==null?void 0:qf[jd.value],(ch=(eh=Gf.toast)==null?void 0:eh.classes)==null?void 0:ch[jd.value])),"data-rich-colors":Gf.toast.richColors??Gf.defaultRichColors,"data-styled":!(Gf.toast.component||(ih=Gf.toast)!=null&&ih.unstyled||Gf.unstyled),"data-mounted":ld.value,"data-promise":!!Gf.toast.promise,"data-removed":ud.value,"data-visible":kd.value,"data-y-position":Xd.value,"data-x-position":bf.value,"data-index":Gf.index,"data-front":Id.value,"data-swiping":cd.value,"data-dismissible":Fd.value,"data-type":jd.value,"data-invert":Af.value,"data-swipe-out":dd.value,"data-expanded":!!(Gf.expanded||Gf.expandByDefault&&ld.value),style:normalizeStyle({"--index":Gf.index,"--toasts-before":Gf.index,"--z-index":Gf.toasts.length-Gf.index,"--offset":`${ud.value?fd.value:Xf.value}px`,"--initial-height":Gf.expandByDefault?"auto":`${md.value}px`,...Gf.style,...unref(Hd)}),onPointerdown:Bf,onPointerup:Df,onPointermove:Uf},[Vd.value&&!Gf.toast.component?(openBlock(),createElementBlock("button",{key:0,"aria-label":Gf.closeButtonAriaLabel||"Close toast","data-disabled":Lf.value,"data-close-button":"true",class:normalizeClass(Gf.cn((Pf=Gf.classes)==null?void 0:Pf.closeButton,(xh=(uh=Gf.toast)==null?void 0:uh.classes)==null?void 0:xh.closeButton)),onClick:Zf},[(Qf=Gf.icons)!=null&&Qf.close?(openBlock(),createBlock(resolveDynamicComponent((wf=Gf.icons)==null?void 0:wf.close),{key:0})):renderSlot(Gf.$slots,"close-icon",{key:1})],10,de$1)):createCommentVNode("",!0),Gf.toast.component?(openBlock(),createBlock(resolveDynamicComponent(Gf.toast.component),mergeProps({key:1},Gf.toast.componentProps,{onCloseToast:Zf}),null,16)):(openBlock(),createElementBlock(Fragment,{key:2},[jd.value!=="default"||Gf.toast.icon||Gf.toast.promise?(openBlock(),createElementBlock("div",{key:0,"data-icon":"",class:normalizeClass(Gf.cn(($f=Gf.classes)==null?void 0:$f.icon,(Th=(Wf=Gf.toast)==null?void 0:Wf.classes)==null?void 0:Th.icon))},[(Gf.toast.promise||jd.value==="loading")&&!Gf.toast.icon?renderSlot(Gf.$slots,"loading-icon",{key:0}):createCommentVNode("",!0),Gf.toast.icon?(openBlock(),createBlock(resolveDynamicComponent(Gf.toast.icon),{key:1})):(openBlock(),createElementBlock(Fragment,{key:2},[jd.value==="success"?renderSlot(Gf.$slots,"success-icon",{key:0}):jd.value==="error"?renderSlot(Gf.$slots,"error-icon",{key:1}):jd.value==="warning"?renderSlot(Gf.$slots,"warning-icon",{key:2}):jd.value==="info"?renderSlot(Gf.$slots,"info-icon",{key:3}):createCommentVNode("",!0)],64))],2)):createCommentVNode("",!0),createBaseVNode("div",{"data-content":"",class:normalizeClass(Gf.cn((vh=Gf.classes)==null?void 0:vh.content,(Vh=(ph=Gf.toast)==null?void 0:ph.classes)==null?void 0:Vh.content))},[createBaseVNode("div",{"data-title":"",class:normalizeClass(Gf.cn((wh=Gf.classes)==null?void 0:wh.title,(fm=Gf.toast.classes)==null?void 0:fm.title))},[yf.value?(openBlock(),createBlock(resolveDynamicComponent(Gf.toast.title),normalizeProps(mergeProps({key:0},Gf.toast.componentProps)),null,16)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(Gf.toast.title),1)],64))],2),Gf.toast.description?(openBlock(),createElementBlock("div",{key:0,"data-description":"",class:normalizeClass(Gf.cn(Gf.descriptionClass,Ld.value,(Nm=Gf.classes)==null?void 0:Nm.description,(cm=Gf.toast.classes)==null?void 0:cm.description))},[Ef.value?(openBlock(),createBlock(resolveDynamicComponent(Gf.toast.description),normalizeProps(mergeProps({key:0},Gf.toast.componentProps)),null,16)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(Gf.toast.description),1)],64))],2)):createCommentVNode("",!0)],2),Gf.toast.cancel?(openBlock(),createElementBlock("button",{key:1,style:normalizeStyle(Gf.toast.cancelButtonStyle||Gf.cancelButtonStyle),class:normalizeClass(Gf.cn((Sm=Gf.classes)==null?void 0:Sm.cancelButton,($m=Gf.toast.classes)==null?void 0:$m.cancelButton)),"data-button":"","data-cancel":"",onClick:zf[0]||(zf[0]=yh=>{var Uh,Zh;unref(ut$1)(Gf.toast.cancel)&&Fd.value&&((Zh=(Uh=Gf.toast.cancel).onClick)==null||Zh.call(Uh,yh),Jf())})},toDisplayString(unref(ut$1)(Gf.toast.cancel)?(fh=Gf.toast.cancel)==null?void 0:fh.label:Gf.toast.cancel),7)):createCommentVNode("",!0),Gf.toast.action?(openBlock(),createElementBlock("button",{key:2,style:normalizeStyle(Gf.toast.actionButtonStyle||Gf.actionButtonStyle),class:normalizeClass(Gf.cn((Rf=Gf.classes)==null?void 0:Rf.actionButton,(If=Gf.toast.classes)==null?void 0:If.actionButton)),"data-button":"","data-action":"",onClick:zf[1]||(zf[1]=yh=>{var Uh,Zh;unref(ut$1)(Gf.toast.action)&&(yh.defaultPrevented||((Zh=(Uh=Gf.toast.action).onClick)==null||Zh.call(Uh,yh),!yh.defaultPrevented&&Jf()))})},toDisplayString(unref(ut$1)(Gf.toast.action)?(dh=Gf.toast.action)==null?void 0:dh.label:Gf.toast.action),7)):createCommentVNode("",!0)],64))],46,le$1)}}}),at$1=(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$1(pe$1,[["render",ge$2]]),ve$2=["data-visible"],ye$2={class:"sonner-spinner"},be$2=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$1(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$1(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$1(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$1(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 Ld=document.documentElement.getAttribute("dir");return Ld==="auto"||!Ld?window.getComputedStyle(document.documentElement).direction:Ld}const od=useAttrs(),ld=ref$1([]),ud=computed(()=>(Ld,Hd)=>ld.value.filter(Gd=>!Gd.position&&Hd===0||Gd.position===Ld)),cd=computed(()=>{const Ld=ld.value.filter(Hd=>Hd.position).map(Hd=>Hd.position);return Ld.length>0?Array.from(new Set([qa.position].concat(Ld))):[qa.position]}),dd=ref$1([]),pd=ref$1(!1),fd=ref$1(!1),md=ref$1(qa.theme!=="system"?qa.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),vd=ref$1(null),Ad=ref$1(null),Nd=ref$1(!1),Id=qa.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function kd(Ld){var Hd;(Hd=ld.value.find(Gd=>Gd.id===Ld.id))!=null&&Hd.delete||I$1.dismiss(Ld.id),ld.value=ld.value.filter(({id:Gd})=>Gd!==Ld.id)}function jd(Ld){var Hd,Gd;Nd.value&&!((Gd=(Hd=Ld.currentTarget)==null?void 0:Hd.contains)!=null&&Gd.call(Hd,Ld.relatedTarget))&&(Nd.value=!1,Ad.value&&(Ad.value.focus({preventScroll:!0}),Ad.value=null))}function Fd(Ld){Ld.target instanceof HTMLElement&&Ld.target.dataset.dismissible==="false"||Nd.value||(Nd.value=!0,Ad.value=Ld.relatedTarget)}function Md(Ld){Ld.target&&Ld.target instanceof HTMLElement&&Ld.target.dataset.dismissible==="false"||(fd.value=!0)}return watchEffect(Ld=>{const Hd=I$1.subscribe(Gd=>{if(Gd.dismiss){ld.value=ld.value.map(Vd=>Vd.id===Gd.id?{...Vd,delete:!0}:Vd);return}nextTick$1(()=>{const Vd=ld.value.findIndex(Kd=>Kd.id===Gd.id);Vd!==-1?ld.value=[...ld.value.slice(0,Vd),{...ld.value[Vd],...Gd},...ld.value.slice(Vd+1)]:ld.value=[Gd,...ld.value]})});Ld(Hd)}),watch(()=>qa.theme,Ld=>{if(Ld!=="system"){md.value=Ld;return}if(Ld==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?md.value="dark":md.value="light"),typeof window>"u")return;const Hd=window.matchMedia("(prefers-color-scheme: dark)");try{Hd.addEventListener("change",({matches:Gd})=>{Gd?md.value="dark":md.value="light"})}catch{Hd.addListener(({matches:Gd})=>{try{Gd?md.value="dark":md.value="light"}catch(Vd){console.error(Vd)}})}}),watchEffect(()=>{vd.value&&Ad.value&&(Ad.value.focus({preventScroll:!0}),Ad.value=null,Nd.value=!1)}),watchEffect(()=>{ld.value.length<=1&&(pd.value=!1)}),watchEffect(Ld=>{function Hd(Gd){const Vd=qa.hotkey.every(Wd=>Gd[Wd]||Gd.code===Wd),Kd=Array.isArray(vd.value)?vd.value[0]:vd.value;Vd&&(pd.value=!0,Kd==null||Kd.focus());const mf=document.activeElement===vd.value||(Kd==null?void 0:Kd.contains(document.activeElement));Gd.code==="Escape"&&mf&&(pd.value=!1)}Fe$1&&(document.addEventListener("keydown",Hd),Ld(()=>{document.removeEventListener("keydown",Hd)}))}),(Ld,Hd)=>(openBlock(),createElementBlock("section",{"aria-label":`${Ld.containerAriaLabel} ${unref(Id)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(cd.value,(Gd,Vd)=>{var Kd;return openBlock(),createElementBlock("ol",mergeProps({key:Gd,ref_for:!0,ref_key:"listRef",ref:vd,"data-sonner-toaster":"",class:qa.class,dir:Ld.dir==="auto"?nd():Ld.dir,tabIndex:-1,"data-theme":Ld.theme,"data-rich-colors":Ld.richColors,"data-y-position":Gd.split("-")[0],"data-x-position":Gd.split("-")[1],"data-lifted":pd.value&&ld.value.length>1&&!Ld.expand,style:{"--front-toast-height":`${(Kd=dd.value[0])==null?void 0:Kd.height}px`,"--offset":typeof Ld.offset=="number"?`${Ld.offset}px`:Ld.offset||Ut$1,"--width":`${Ne$1}px`,"--gap":`${Ld.gap}px`,...Ld.style,...unref(od).style}},Ld.$attrs,{onBlur:jd,onFocus:Fd,onMouseenter:Hd[1]||(Hd[1]=()=>pd.value=!0),onMousemove:Hd[2]||(Hd[2]=()=>pd.value=!0),onMouseleave:Hd[3]||(Hd[3]=()=>{fd.value||(pd.value=!1)}),onPointerdown:Md,onPointerup:Hd[4]||(Hd[4]=()=>fd.value=!1)}),[(openBlock(!0),createElementBlock(Fragment,null,renderList(ud.value(Gd,Vd),(mf,Wd)=>{var Zd,Xd,bf,yf,Ef,gf,xf,Af,Lf;return openBlock(),createBlock(fe$2,{key:mf.id,heights:dd.value.filter(Xf=>Xf.position===mf.position),icons:Ld.icons,index:Wd,toast:mf,defaultRichColors:Ld.richColors,duration:((Zd=Ld.toastOptions)==null?void 0:Zd.duration)??Ld.duration,class:normalizeClass(((Xd=Ld.toastOptions)==null?void 0:Xd.class)??""),descriptionClass:(bf=Ld.toastOptions)==null?void 0:bf.descriptionClass,invert:Ld.invert,visibleToasts:Ld.visibleToasts,closeButton:((yf=Ld.toastOptions)==null?void 0:yf.closeButton)??Ld.closeButton,interacting:fd.value,position:Gd,style:normalizeStyle((Ef=Ld.toastOptions)==null?void 0:Ef.style),unstyled:(gf=Ld.toastOptions)==null?void 0:gf.unstyled,classes:(xf=Ld.toastOptions)==null?void 0:xf.classes,cancelButtonStyle:(Af=Ld.toastOptions)==null?void 0:Af.cancelButtonStyle,actionButtonStyle:(Lf=Ld.toastOptions)==null?void 0:Lf.actionButtonStyle,toasts:ld.value.filter(Xf=>Xf.position===mf.position),expandByDefault:Ld.expand,gap:Ld.gap,expanded:pd.value,pauseWhenPageIsHidden:Ld.pauseWhenPageIsHidden,cn:Ld.cn,"onUpdate:heights":Hd[0]||(Hd[0]=Xf=>{dd.value=Xf}),onRemoveToast:kd},{"close-icon":withCtx(()=>[renderSlot(Ld.$slots,"close-icon",{},()=>[createVNode(me$2)])]),"loading-icon":withCtx(()=>[renderSlot(Ld.$slots,"loading-icon",{},()=>[createVNode(be$2,{visible:mf.type==="loading"},null,8,["visible"])])]),"success-icon":withCtx(()=>[renderSlot(Ld.$slots,"success-icon",{},()=>[createVNode(Te$1)])]),"error-icon":withCtx(()=>[renderSlot(Ld.$slots,"error-icon",{},()=>[createVNode(Oe$1)])]),"warning-icon":withCtx(()=>[renderSlot(Ld.$slots,"warning-icon",{},()=>[createVNode(De$1)])]),"info-icon":withCtx(()=>[renderSlot(Ld.$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),cd=useStorage("isCiteStatus",!1),dd=useToggle(cd),pd=useStorage(addPrefix("use_indent"),!1),fd=useToggle(pd),md=ref$1(""),vd=useStorage(addPrefix("theme"),themeOptions[0].value),Ad=useStorage("fonts",fontFamilyOptions[0].value),Nd=useStorage("size",fontSizeOptions[2].value),Id=useStorage("color",colorOptions[0].value),kd=useStorage("codeBlockTheme",codeBlockThemeOptions[23].value),jd=useStorage("legend",legendOptions[3].value),Fd=computed(()=>Number(Nd.value.replace("px",""))),Md=ref$1(null),Ld=useStorage("__editor_content",DEFAULT_CONTENT),Hd=useStorage(addPrefix("is_open_post_slider"),!1),Gd=useStorage(addPrefix("posts"),[{title:"文章1",content:DEFAULT_CONTENT}]),Vd=useStorage(addPrefix("current_post_index"),0),Kd=vh=>{Vd.value=Gd.value.push({title:vh,content:`# ${vh}`})-1},mf=(vh,ph)=>{Gd.value[vh].title=ph},Wd=vh=>{Gd.value.splice(vh,1),Vd.value=Gd.value.length-1};watch(Vd,()=>{toRaw(Md.value).setValue(Gd.value[Vd.value].content)}),onMounted(()=>{Ld.value!==DEFAULT_CONTENT&&(Gd.value[Vd.value].content=Ld.value,Ld.value=DEFAULT_CONTENT)});const Zd=()=>{formatDoc(Md.value.getValue()).then(vh=>{Gd.value[Vd.value].content=vh,toRaw(Md.value).setValue(vh)})},Xd=()=>{const vh=kd.value,ph=document.querySelector("#hljs");if(ph)ph.setAttribute("href",vh);else{const Vh=document.createElement("link");Vh.setAttribute("type","text/css"),Vh.setAttribute("rel","stylesheet"),Vh.setAttribute("href",vh),Vh.setAttribute("id","hljs"),document.head.appendChild(Vh)}},bf=ref$1(null),yf=vh=>{bf.value.setValue(vh)},Ef=useStorage("__css_content",DEFAULT_CSS_CONTENT),gf=useStorage(addPrefix("css_content_config"),{active:"方案1",tabs:[{title:"方案1",name:"方案1",content:Ef.value||DEFAULT_CSS_CONTENT}]});onMounted(()=>{Ef.value=""});const xf=()=>gf.value.tabs.find(vh=>vh.name===gf.value.active),Af=vh=>{gf.value.active=vh;const ph=gf.value.tabs.find(Vh=>Vh.name===vh).content;yf(ph)},Lf=vh=>{const ph=xf();ph.title=vh,ph.name=vh,gf.value.active=vh},Xf=vh=>{gf.value.tabs.push({name:vh,title:vh,content:DEFAULT_CSS_CONTENT}),gf.value.active=vh,yf(DEFAULT_CSS_CONTENT)},Jf=vh=>gf.value.tabs.every(({name:ph})=>ph!==vh),Zf=initRenderer({theme:customCssWithTemplate(css2json(xf().content),Id.value,customizeTheme(themeMap[vd.value],{fontSize:Fd.value,color:Id.value})),fonts:Ad.value,size:Nd.value,isUseIndent:pd.value}),Bf=()=>{Xd(),Zf.reset({citeStatus:cd.value,legend:jd.value,isUseIndent:pd.value});let vh=marked$1.parse(Md.value.getValue());vh=vh.replace(/(style=".*?)"/,'$1;margin-top: 0"'),vh+=Zf.buildFootnotes(),vh+=Zf.buildAddition(),nd.value&&(vh+=`
|
||
<style>
|
||
.hljs.code__pre > .mac-sign {
|
||
display: flex;
|
||
}
|
||
</style>
|
||
`),vh+=`
|
||
<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>
|
||
`,md.value=vh},Df=()=>{const vh=css2json(bf.value.getValue()),ph=customCssWithTemplate(vh,Id.value,customizeTheme(themeMap[vd.value],{fontSize:Fd.value,color:Id.value}));Zf.setOptions({theme:ph}),Bf()};onMounted(()=>{const vh=document.querySelector("#cssEditor");vh.value=xf().content;const ph=Ra.value?"darcula":"xq-light";bf.value=markRaw(CodeMirror.fromTextArea(vh,{mode:"css",theme:ph,lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,matchBrackets:!0,autofocus:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(wh){formatDoc(wh.getValue(),"css").then(fm=>{xf().content=fm,wh.setValue(fm)})}}})),bf.value.on("keyup",(Vh,wh)=>{(wh.keyCode>=65&&wh.keyCode<=90||wh.keyCode===189)&&Vh.showHint(wh)}),bf.value.on("update",()=>{Df(),xf().content=bf.value.getValue()})}),watch(Ra,()=>{var ph,Vh;const vh=Ra.value?"darcula":"xq-light";(Vh=(ph=toRaw(bf.value))==null?void 0:ph.setOption)==null||Vh.call(ph,"theme",vh)});const Uf=()=>{cd.value=!1,nd.value=!0,vd.value=themeOptions[0].value,Ad.value=fontFamilyOptions[0].value,Ad.value=fontFamilyOptions[0].value,Nd.value=fontSizeOptions[2].value,Id.value=colorOptions[0].value,kd.value=codeBlockThemeOptions[2].value,jd.value=legendOptions[3].value,gf.value={active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:Ef.value||DEFAULT_CSS_CONTENT}]},bf.value.setValue(DEFAULT_CSS_CONTENT),Df(),Bf(),Ke$1.success("样式重置成功~")},Gf=vh=>(...ph)=>{vh(...ph),Bf()},zf=(vh,ph)=>{const Vh=themeMap[vd.value],wh=Number(vh.replace("px",""));return customCssWithTemplate(css2json(xf().content),ph,customizeTheme(Vh,{fontSize:wh,color:ph}))},Tf=Gf(vh=>{Zf.setOptions({theme:customCssWithTemplate(css2json(xf().content),Id.value,customizeTheme(themeMap[vh],{fontSize:Fd.value}))}),vd.value=vh}),vf=Gf(vh=>{Zf.setOptions({fonts:vh}),Ad.value=vh}),qf=Gf(vh=>{const ph=zf(vh,Id.value);Zf.setOptions({size:vh,theme:ph}),Nd.value=vh}),eh=Gf(vh=>{const ph=zf(Nd.value,vh);Zf.setOptions({theme:ph}),Id.value=vh}),ch=Gf(vh=>{kd.value=vh}),ih=Gf(vh=>{jd.value=vh}),Pf=Gf(()=>{od()}),uh=Gf(()=>{dd()}),xh=Gf(()=>{fd()}),Qf=()=>{exportHTML(Id.value),document.querySelector("#output").innerHTML=md.value},wf=()=>{downloadMD(Md.value.getValue())},$f=()=>{const vh=document.body,ph=document.createElement("input");ph.type="file",ph.name="filename",ph.accept=".md",ph.onchange=()=>{const Vh=ph.files[0];if(!Vh)return;const wh=new FileReader;wh.readAsText(Vh),wh.onload=fm=>{Md.value.setValue(fm.target.result),Ke$1.success("文档导入成功")}},vh.appendChild(ph),ph.click(),vh.removeChild(ph)},Wf=ref$1(!1);return{isDark:Ra,toggleDark:qa,isEditOnLeft:ld,toggleEditOnLeft:ud,isMacCodeBlock:nd,isCiteStatus:cd,citeStatusChanged:uh,isUseIndent:pd,useIndentChanged:xh,output:md,editor:Md,cssEditor:bf,theme:vd,fontFamily:Ad,fontSize:Nd,primaryColor:Id,codeBlockTheme:kd,legend:jd,editorRefresh:Bf,themeChanged:Tf,fontChanged:vf,sizeChanged:qf,colorChanged:eh,codeBlockThemeChanged:ch,legendChanged:ih,macCodeBlockChanged:Pf,formatContent:Zd,exportEditorContent2HTML:Qf,exportEditorContent2MD:wf,importMarkdownContent:$f,isOpenConfirmDialog:Wf,resetStyleConfirm:()=>{Wf.value=!0},resetStyle:Uf,cssContentConfig:gf,addCssContentTab:Xf,validatorTabName:Jf,setCssEditorValue:yf,tabChanged:Af,renameTab:Lf,posts:Gd,currentPostIndex:Vd,addPost:Kd,renamePost:mf,delPost:Wd,isOpenPostSlider:Hd}}),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),cd=ref$1({});function dd(){ld.value=3,ud.value=3,cd.value={}}function pd(){const md=createTable({rows:ld.value,cols:ud.value,data:cd.value});toRaw(qa.editor).replaceSelection(`
|
||
${md}
|
||
`,"end"),dd(),od()}function fd(md){md||od(!1)}return(md,vd)=>{const Ad=_sfc_main$$,Nd=_sfc_main$10,Id=_sfc_main$11,kd=_sfc_main$12,jd=_sfc_main$13,Fd=_sfc_main$14,Md=_sfc_main$15,Ld=_sfc_main$16,Hd=_sfc_main$17,Gd=_sfc_main$1h,Vd=_sfc_main$18,Kd=_sfc_main$19,mf=_sfc_main$1a;return openBlock(),createBlock(mf,{open:unref(nd).isShowInsertFormDialog,"onUpdate:open":fd},{default:withCtx(()=>[createVNode(Kd,null,{default:withCtx(()=>[createVNode(Nd,null,{default:withCtx(()=>[createVNode(Ad,null,{default:withCtx(()=>vd[3]||(vd[3]=[createTextVNode("插入表格")])),_:1})]),_:1}),createBaseVNode("div",_hoisted_1$a,[createVNode(Ld,{modelValue:unref(ld),"onUpdate:modelValue":vd[0]||(vd[0]=Wd=>isRef(ld)?ld.value=Wd:null),min:1,max:100},{default:withCtx(()=>[createVNode(Id,null,{default:withCtx(()=>vd[4]||(vd[4]=[createTextVNode("行数")])),_:1}),createVNode(Md,null,{default:withCtx(()=>[createVNode(kd),createVNode(jd),createVNode(Fd)]),_:1})]),_:1},8,["modelValue"]),createVNode(Ld,{modelValue:unref(ud),"onUpdate:modelValue":vd[1]||(vd[1]=Wd=>isRef(ud)?ud.value=Wd:null),min:1,max:100},{default:withCtx(()=>[createVNode(Id,null,{default:withCtx(()=>vd[5]||(vd[5]=[createTextVNode("列数")])),_:1}),createVNode(Md,null,{default:withCtx(()=>[createVNode(kd),createVNode(jd),createVNode(Fd)]),_:1})]),_:1},8,["modelValue"])]),createBaseVNode("div",_hoisted_2$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ld)+1,Wd=>(openBlock(),createElementBlock("div",{key:Wd,class:normalizeClass([{"head-style":Wd===1},"space-x-2 flex"])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ud),Zd=>(openBlock(),createBlock(Hd,{key:Zd,modelValue:unref(cd)[`k_${Wd-1}_${Zd-1}`],"onUpdate:modelValue":Xd=>unref(cd)[`k_${Wd-1}_${Zd-1}`]=Xd,class:normalizeClass({"bg-gray-100 dark:bg-gray-900":Wd===1}),placeholder:Wd===1?"表头":""},null,8,["modelValue","onUpdate:modelValue","class","placeholder"]))),128))],2))),128))]),createVNode(Vd,null,{default:withCtx(()=>[createVNode(Gd,{variant:"outline",onClick:vd[2]||(vd[2]=Wd=>unref(od)(!1))},{default:withCtx(()=>vd[6]||(vd[6]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(Gd,{onClick:pd},{default:withCtx(()=>vd[7]||(vd[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,cd)=>(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 cd;(cd=ld.value)==null||cd.setValue(nd.value)})})});function ud(){const cd=ld.value.getValue();localStorage.setItem("formCustomConfig",cd),Ke$1.success("保存成功")}return(cd,dd)=>{const pd=_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(pd,{variant:"link",class:"p-0",href:"https://github.com/doocs/md#自定义上传逻辑",target:"_blank"},{default:withCtx(()=>dd[0]||(dd[0]=[createTextVNode(" 参数详情 ")])),_:1}),createVNode(pd,{class:"block",onClick:ud},{default:withCtx(()=>dd[1]||(dd[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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(cg),mergeProps(unref(ud),{class:unref(cn$4)("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$4)("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(cd.$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$4)("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,cd)=>(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$4)("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$4)("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$4)("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$4)("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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(Vy),null,{default:withCtx(()=>[createVNode(unref(Fy),mergeProps({...unref(ud),...cd.$attrs},{class:unref(cn$4)("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",cd.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$4)("p-1",cd.position==="popper"&&"h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"))},{default:withCtx(()=>[renderSlot(cd.$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$4)("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$4)("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"},_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}),cd=ref$1({secretId:"",secretKey:"",bucket:"",region:"",path:"",cdnHost:""}),dd=ref$1({accessKey:"",secretKey:"",bucket:"",domain:"",region:"",path:""}),pd=ref$1({endpoint:"",port:"",useSSL:!0,bucket:"",accessKey:"",secretKey:""}),fd=ref$1({proxyOrigin:"",appID:"",appsecret:""}),md=ref$1(window.location.href.startsWith("http")),vd=[{value:"default",label:"默认"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"minio",label:"MinIO"},{value:"mp",label:"公众号图床"},{value:"formCustom",label:"自定义代码"}],Ad=ref$1("default"),Nd=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")&&(cd.value=JSON.parse(localStorage.getItem("txCOSConfig"))),localStorage.getItem("qiniuConfig")&&(dd.value=JSON.parse(localStorage.getItem("qiniuConfig"))),localStorage.getItem("minioConfig")&&(pd.value=JSON.parse(localStorage.getItem("minioConfig"))),localStorage.getItem("imgHost")&&(Ad.value=localStorage.getItem("imgHost")),localStorage.getItem("mpConfig")&&(fd.value=JSON.parse(localStorage.getItem("mpConfig")))});function Id(){localStorage.setItem("imgHost",Ad.value),Ke$1.success("已成功切换图床")}function kd(){if(!(ld.value.repo&&ld.value.accessToken)){const Zd=ld.value.repo?"token":"GitHub 仓库";Ke$1.error(`参数「${Zd}」不能为空`);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 Fd(){if(!(pd.value.endpoint&&pd.value.bucket&&pd.value.accessKey&&pd.value.secretKey)){Ke$1.error("MinIO 参数配置不全");return}localStorage.setItem("minioConfig",JSON.stringify(pd.value)),Ke$1.success("保存成功")}function Md(){if(!(cd.value.secretId&&cd.value.secretKey&&cd.value.bucket&&cd.value.region)){Ke$1.error("腾讯云 COS 参数配置不全");return}localStorage.setItem("txCOSConfig",JSON.stringify(cd.value)),Ke$1.success("保存成功")}function Ld(){if(!(dd.value.accessKey&&dd.value.secretKey&&dd.value.bucket&&dd.value.domain)){Ke$1.error("七牛云 Kodo 参数配置不全");return}localStorage.setItem("qiniuConfig",JSON.stringify(dd.value)),Ke$1.success("保存成功")}function Hd(){if(!(fd.value.appID&&fd.value.appsecret)){Ke$1.error("公众号图床 参数配置不全");return}if(md.value&&!fd.value.proxyOrigin){Ke$1.error("代理域名必须配置");return}localStorage.setItem("mpConfig",JSON.stringify(fd.value)),Ke$1.success("保存成功")}function Gd(Zd){const Xd=checkImage(Zd);if(!Xd.ok)return Ke$1.error(Xd.msg||""),!1;let bf=localStorage.getItem("imgHost");bf=bf||"default",localStorage.setItem("imgHost",bf);const yf=localStorage.getItem(`${bf}Config`);return bf==="default"||yf?!0:(Ke$1.error(`请先配置 ${bf} 图床参数`),!1)}const Vd=ref$1(!1),{open:Kd,onChange:mf}=useFileDialog({accept:"image/*"});mf(Zd=>{if(Zd==null)return;const Xd=Zd[0];Gd(Xd)&&nd("uploadImage",Xd)});function Wd(Zd){Vd.value=!1,Zd.stopPropagation();const Xd=Array.from(Zd.dataTransfer.files)[0];Gd(Xd)&&nd("uploadImage",Xd)}return(Zd,Xd)=>{const bf=_sfc_main$$,yf=_sfc_main$10,Ef=_sfc_main$M,gf=_sfc_main$N,xf=_sfc_main$P,Af=_sfc_main$Q,Lf=_sfc_main$T,Xf=_sfc_main$O,Jf=_sfc_main$U,Zf=_sfc_main$11,Bf=_sfc_main$V,Df=_sfc_main$17,Uf=__unplugin_components_12,Gf=_sfc_main$1h,zf=_sfc_main$X,Tf=_sfc_main$Y,vf=_sfc_main$Z,qf=_sfc_main$19,eh=_sfc_main$1a;return openBlock(),createBlock(eh,{open:unref(od).isShowUploadImgDialog,"onUpdate:open":Xd[36]||(Xd[36]=ch=>unref(od).isShowUploadImgDialog=ch)},{default:withCtx(()=>[createVNode(qf,{class:"max-w-max"},{default:withCtx(()=>[createVNode(yf,null,{default:withCtx(()=>[createVNode(bf,null,{default:withCtx(()=>Xd[37]||(Xd[37]=[createTextVNode("本地上传")])),_:1})]),_:1}),createVNode(vf,{modelValue:unref(Nd),"onUpdate:modelValue":Xd[35]||(Xd[35]=ch=>isRef(Nd)?Nd.value=ch:null),class:"w-max"},{default:withCtx(()=>[createVNode(gf,null,{default:withCtx(()=>[createVNode(Ef,{value:"upload"},{default:withCtx(()=>Xd[38]||(Xd[38]=[createTextVNode(" 选择上传 ")])),_:1}),createVNode(Ef,{value:"github"},{default:withCtx(()=>Xd[39]||(Xd[39]=[createTextVNode(" GitHub 图床 ")])),_:1}),createVNode(Ef,{value:"aliOSS"},{default:withCtx(()=>Xd[40]||(Xd[40]=[createTextVNode(" 阿里云 OSS ")])),_:1}),createVNode(Ef,{value:"txCOS"},{default:withCtx(()=>Xd[41]||(Xd[41]=[createTextVNode(" 腾讯云 COS ")])),_:1}),createVNode(Ef,{value:"qiniu"},{default:withCtx(()=>Xd[42]||(Xd[42]=[createTextVNode(" 七牛云 Kodo ")])),_:1}),createVNode(Ef,{value:"minio"},{default:withCtx(()=>Xd[43]||(Xd[43]=[createTextVNode(" MinIO ")])),_:1}),createVNode(Ef,{value:"mp"},{default:withCtx(()=>Xd[44]||(Xd[44]=[createTextVNode(" 公众号图床 ")])),_:1}),createVNode(Ef,{value:"formCustom"},{default:withCtx(()=>Xd[45]||(Xd[45]=[createTextVNode(" 自定义代码 ")])),_:1})]),_:1}),createVNode(Bf,{value:"upload"},{default:withCtx(()=>[createVNode(Zf,null,{default:withCtx(()=>[Xd[46]||(Xd[46]=createBaseVNode("span",{class:"my-4 block"}," 图床 ",-1)),createVNode(Jf,{modelValue:unref(Ad),"onUpdate:modelValue":[Xd[0]||(Xd[0]=ch=>isRef(Ad)?Ad.value=ch:null),Id]},{default:withCtx(()=>[createVNode(Af,null,{default:withCtx(()=>[createVNode(xf,{placeholder:"请选择"})]),_:1}),createVNode(Xf,null,{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vd,ch=>createVNode(Lf,{key:ch.value,label:ch.label,value:ch.value},{default:withCtx(()=>[createTextVNode(toDisplayString(ch.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(Vd)}]),onClick:Xd[1]||(Xd[1]=ch=>unref(Kd)()),onDrop:withModifiers(Wd,["prevent"]),onDragover:Xd[2]||(Xd[2]=withModifiers(ch=>Vd.value=!0,["prevent"])),onDragleave:Xd[3]||(Xd[3]=withModifiers(ch=>Vd.value=!1,["prevent"]))},[createVNode(unref(CloudUpload),{class:"size-20"}),Xd[47]||(Xd[47]=createBaseVNode("p",null,[createTextVNode(" 将图片拖到此处,或 "),createBaseVNode("strong",null,"点击上传")],-1))],34)]),_:1}),createVNode(Bf,{value:"github"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$6,[createVNode(Uf,{label:"GitHub 仓库",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ld).repo,"onUpdate:modelValue":Xd[4]||(Xd[4]=ch=>unref(ld).repo=ch),modelModifiers:{trim:!0},placeholder:"如:github.com/yanglbme/resource"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"分支"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ld).branch,"onUpdate:modelValue":Xd[5]||(Xd[5]=ch=>unref(ld).branch=ch),modelModifiers:{trim:!0},placeholder:"如:release,可不填,默认 master"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Token",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ld).accessToken,"onUpdate:modelValue":Xd[6]||(Xd[6]=ch=>unref(ld).accessToken=ch),modelModifiers:{trim:!0},type:"password",placeholder:"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46"},null,8,["modelValue"])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{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(()=>Xd[48]||(Xd[48]=[createTextVNode(" 如何获取 GitHub Token? ")])),_:1})]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{onClick:kd},{default:withCtx(()=>Xd[49]||(Xd[49]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Bf,{value:"aliOSS"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$4,[createVNode(Uf,{label:"AccessKey ID",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ud).accessKeyId,"onUpdate:modelValue":Xd[7]||(Xd[7]=ch=>unref(ud).accessKeyId=ch),modelModifiers:{trim:!0},placeholder:"如:LTAI4GdoocsmdoxUf13ylbaNHk"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"AccessKey Secret",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ud).accessKeySecret,"onUpdate:modelValue":Xd[8]||(Xd[8]=ch=>unref(ud).accessKeySecret=ch),modelModifiers:{trim:!0},type:"password",placeholder:"如:cc1d0c142doocs0902bd2d7md4b14da6ylbabc46"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ud).bucket,"onUpdate:modelValue":Xd[9]||(Xd[9]=ch=>unref(ud).bucket=ch),modelModifiers:{trim:!0},placeholder:"如:doocs"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Bucket 所在区域",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ud).region,"onUpdate:modelValue":Xd[10]||(Xd[10]=ch=>unref(ud).region=ch),modelModifiers:{trim:!0},placeholder:"如:oss-cn-shenzhen"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"UseSSL",required:""},{default:withCtx(()=>[createVNode(zf,{checked:unref(ud).useSSL,"onUpdate:checked":Xd[11]||(Xd[11]=ch=>unref(ud).useSSL=ch)},null,8,["checked"])]),_:1}),createVNode(Uf,{label:"自定义 CDN 域名"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ud).cdnHost,"onUpdate:modelValue":Xd[12]||(Xd[12]=ch=>unref(ud).cdnHost=ch),modelModifiers:{trim:!0},placeholder:"如:https://imagecdn.alidaodao.com,可不填"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"存储路径"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ud).path,"onUpdate:modelValue":Xd[13]||(Xd[13]=ch=>unref(ud).path=ch),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{variant:"link",class:"p-0",as:"a",href:"https://help.aliyun.com/document_detail/31883.html",target:"_blank"},{default:withCtx(()=>Xd[50]||(Xd[50]=[createTextVNode(" 如何使用阿里云 OSS? ")])),_:1})]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{onClick:jd},{default:withCtx(()=>Xd[51]||(Xd[51]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Bf,{value:"txCOS"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_3$4,[createVNode(Uf,{label:"SecretId",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(cd).secretId,"onUpdate:modelValue":Xd[14]||(Xd[14]=ch=>unref(cd).secretId=ch),modelModifiers:{trim:!0},placeholder:"如:AKIDnQp1w3DOOCSs8F5MDp9tdoocsmdUPonW3"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(cd).secretKey,"onUpdate:modelValue":Xd[15]||(Xd[15]=ch=>unref(cd).secretKey=ch),modelModifiers:{trim:!0},type:"password",placeholder:"如:ukLmdtEJ9271f3DOocsMDsCXdS3YlbW0"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(cd).bucket,"onUpdate:modelValue":Xd[16]||(Xd[16]=ch=>unref(cd).bucket=ch),modelModifiers:{trim:!0},placeholder:"如:doocs-3212520134"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Bucket 所在区域",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(cd).region,"onUpdate:modelValue":Xd[17]||(Xd[17]=ch=>unref(cd).region=ch),modelModifiers:{trim:!0},placeholder:"如:ap-guangzhou"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"自定义 CDN 域名"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(cd).cdnHost,"onUpdate:modelValue":Xd[18]||(Xd[18]=ch=>unref(cd).cdnHost=ch),modelModifiers:{trim:!0},placeholder:"如:https://imagecdn.alidaodao.com,可不填"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"存储路径"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(cd).path,"onUpdate:modelValue":Xd[19]||(Xd[19]=ch=>unref(cd).path=ch),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认根目录"},null,8,["modelValue"])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{variant:"link",class:"p-0",as:"a",href:"https://cloud.tencent.com/document/product/436/38484",target:"_blank"},{default:withCtx(()=>Xd[52]||(Xd[52]=[createTextVNode(" 如何使用腾讯云 COS? ")])),_:1})]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{onClick:Md},{default:withCtx(()=>Xd[53]||(Xd[53]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Bf,{value:"qiniu"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_4$2,[createVNode(Uf,{label:"AccessKey",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(dd).accessKey,"onUpdate:modelValue":Xd[20]||(Xd[20]=ch=>unref(dd).accessKey=ch),modelModifiers:{trim:!0},placeholder:"如:6DD3VaLJ_SQgOdoocsyTV_YWaDmdnL2n8EGx7kG"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(dd).secretKey,"onUpdate:modelValue":Xd[21]||(Xd[21]=ch=>unref(dd).secretKey=ch),modelModifiers:{trim:!0},type:"password",placeholder:"如:qgZa5qrvDOOcsmdKStD1oCjZ9nB7MDvJUs_34SIm"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(dd).bucket,"onUpdate:modelValue":Xd[22]||(Xd[22]=ch=>unref(dd).bucket=ch),modelModifiers:{trim:!0},placeholder:"如:md"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Bucket 对应域名",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(dd).domain,"onUpdate:modelValue":Xd[23]||(Xd[23]=ch=>unref(dd).domain=ch),modelModifiers:{trim:!0},placeholder:"如:https://images.123ylb.cn"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"存储区域"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(dd).region,"onUpdate:modelValue":Xd[24]||(Xd[24]=ch=>unref(dd).region=ch),modelModifiers:{trim:!0},placeholder:"如:z2,可不填"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"存储路径"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(dd).path,"onUpdate:modelValue":Xd[25]||(Xd[25]=ch=>unref(dd).path=ch),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{variant:"link",class:"p-0",as:"a",href:"https://developer.qiniu.com/kodo",target:"_blank"},{default:withCtx(()=>Xd[54]||(Xd[54]=[createTextVNode(" 如何使用七牛云 Kodo? ")])),_:1})]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{onClick:Ld},{default:withCtx(()=>Xd[55]||(Xd[55]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Bf,{value:"minio"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_5$2,[createVNode(Uf,{label:"Endpoint",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(pd).endpoint,"onUpdate:modelValue":Xd[26]||(Xd[26]=ch=>unref(pd).endpoint=ch),modelModifiers:{trim:!0},placeholder:"如:play.min.io"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Port"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(pd).port,"onUpdate:modelValue":Xd[27]||(Xd[27]=ch=>unref(pd).port=ch),modelModifiers:{trim:!0},type:"number",placeholder:"如:9000,可不填,http 默认为 80,https 默认为 443"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"UseSSL",required:""},{default:withCtx(()=>[createVNode(zf,{checked:unref(pd).useSSL,"onUpdate:checked":Xd[28]||(Xd[28]=ch=>unref(pd).useSSL=ch)},null,8,["checked"])]),_:1}),createVNode(Uf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(pd).bucket,"onUpdate:modelValue":Xd[29]||(Xd[29]=ch=>unref(pd).bucket=ch),modelModifiers:{trim:!0},placeholder:"如:doocs"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"AccessKey",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(pd).accessKey,"onUpdate:modelValue":Xd[30]||(Xd[30]=ch=>unref(pd).accessKey=ch),modelModifiers:{trim:!0},placeholder:"如:zhangsan"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(pd).secretKey,"onUpdate:modelValue":Xd[31]||(Xd[31]=ch=>unref(pd).secretKey=ch),modelModifiers:{trim:!0},placeholder:"如:asdasdasd"},null,8,["modelValue"])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{variant:"link",class:"p-0",as:"a",href:"http://docs.minio.org.cn/docs/master/minio-client-complete-guide",target:"_blank"},{default:withCtx(()=>Xd[56]||(Xd[56]=[createTextVNode(" 如何使用 MinIO? ")])),_:1})]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{onClick:Fd},{default:withCtx(()=>Xd[57]||(Xd[57]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Bf,{value:"mp"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_6$2,[createVNode(Uf,{label:"代理域名",required:unref(md)},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(fd).proxyOrigin,"onUpdate:modelValue":Xd[32]||(Xd[32]=ch=>unref(fd).proxyOrigin=ch),modelModifiers:{trim:!0},placeholder:"如:http://proxy.example.com,使用插件时可不填"},null,8,["modelValue"])]),_:1},8,["required"]),createVNode(Uf,{label:"appID",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(fd).appID,"onUpdate:modelValue":Xd[33]||(Xd[33]=ch=>unref(fd).appID=ch),modelModifiers:{trim:!0},placeholder:"如:wx6e1234567890efa3"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"appsecret",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(fd).appsecret,"onUpdate:modelValue":Xd[34]||(Xd[34]=ch=>unref(fd).appsecret=ch),modelModifiers:{trim:!0},placeholder:"如:d9f1abcdef01234567890abcdef82397"},null,8,["modelValue"])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_7$1,[createVNode(Gf,{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(()=>Xd[58]||(Xd[58]=[createTextVNode(" 如何开启公众号开发者模式并获取应用账号密钥? ")])),_:1}),createVNode(Gf,{variant:"link",class:"p-0",as:"a",href:"https://mpmd.pages.dev/tutorial/",target:"_blank"},{default:withCtx(()=>Xd[59]||(Xd[59]=[createTextVNode(" 如何在浏览器插件中使用公众号图床? ")])),_:1})])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{onClick:Hd},{default:withCtx(()=>Xd[60]||(Xd[60]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Bf,{value:"formCustom"},{default:withCtx(()=>[createVNode(Tf)]),_: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$4)("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 cd(Fd){ld.value=Fd,od.value=!0}function dd(){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 pd=ref$1(!1),fd=ref$1("");function md(){if(!fd.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(fd.value)){Ke$1.error("不能与现有方案重名");return}qa.addCssContentTab(fd.value),pd.value=!1,qa.cssContentConfig.active=fd.value,ud.value=[ud.value[1],fd.value],Ke$1.success("新建成功~")}const vd=ref$1(!1),Ad=ref$1("");function Nd(Fd){Ad.value=Fd,vd.value=!0}function Id(){const Fd=qa.cssContentConfig.tabs;if(Fd.length===1){Ke$1.warning("至少保留一个方案");return}let Md=qa.cssContentConfig.active;Md===Ad.value&&Fd.forEach((Ld,Hd)=>{if(Ld.name===Ad.value){const Gd=Fd[Hd+1]||Fd[Hd-1];Gd&&(Md=Gd.name)}}),qa.tabChanged(Md),qa.cssContentConfig.tabs=Fd.filter(Ld=>Ld.name!==Ad.value),Ke$1.success("删除成功~")}function kd(){fd.value=`方案${qa.cssContentConfig.tabs.length+1}`,pd.value=!0}function jd(Fd){if(Fd==="add"){qa.cssContentConfig.active=ud.value[1],kd();return}ud.value=[ud.value[1],Fd]}return(Fd,Md)=>{const Ld=_sfc_main$M,Hd=_sfc_main$N,Gd=_sfc_main$Z,Vd=_sfc_main$$,Kd=_sfc_main$K,mf=_sfc_main$10,Wd=_sfc_main$17,Zd=_sfc_main$1h,Xd=_sfc_main$18,bf=_sfc_main$19,yf=_sfc_main$1a,Ef=_sfc_main$1c,gf=_sfc_main$1d,xf=_sfc_main$1e,Af=_sfc_main$1f,Lf=_sfc_main$1g,Xf=_sfc_main$1i,Jf=_sfc_main$1j,Zf=_sfc_main$1k;return openBlock(),createBlock(Transition$1,{"enter-active-class":"bounceInRight"},{default:withCtx(()=>[withDirectives(createBaseVNode("div",_hoisted_1$5,[createVNode(Gd,{modelValue:unref(qa).cssContentConfig.active,"onUpdate:modelValue":[Md[0]||(Md[0]=Bf=>unref(qa).cssContentConfig.active=Bf),jd]},{default:withCtx(()=>[createVNode(Hd,{class:"w-full overflow-x-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).cssContentConfig.tabs,Bf=>(openBlock(),createBlock(Ld,{key:Bf.name,value:Bf.name,class:"flex-1"},{default:withCtx(()=>[createTextVNode(toDisplayString(Bf.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:Df=>cd(Bf.name)},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===Bf.name]]),withDirectives(createVNode(unref(X$6),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:withModifiers(Df=>Nd(Bf.name),["self"])},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===Bf.name]])]),_:2},1032,["value"]))),128)),createVNode(Ld,{value:"add"},{default:withCtx(()=>[createVNode(unref(Plus),{class:"h-5 w-5"})]),_:1})]),_:1})]),_:1},8,["modelValue"]),Md[21]||(Md[21]=createBaseVNode("textarea",{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."},null,-1)),createVNode(yf,{open:unref(pd),"onUpdate:open":Md[4]||(Md[4]=Bf=>isRef(pd)?pd.value=Bf:null)},{default:withCtx(()=>[createVNode(bf,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(mf,null,{default:withCtx(()=>[createVNode(Vd,null,{default:withCtx(()=>Md[9]||(Md[9]=[createTextVNode("新建自定义 CSS")])),_:1}),createVNode(Kd,null,{default:withCtx(()=>Md[10]||(Md[10]=[createTextVNode(" 请输入方案名称 ")])),_:1})]),_:1}),createVNode(Wd,{modelValue:unref(fd),"onUpdate:modelValue":Md[1]||(Md[1]=Bf=>isRef(fd)?fd.value=Bf:null)},null,8,["modelValue"]),createVNode(Xd,null,{default:withCtx(()=>[createVNode(Zd,{variant:"outline",onClick:Md[2]||(Md[2]=Bf=>pd.value=!1)},{default:withCtx(()=>Md[11]||(Md[11]=[createTextVNode(" 取消 ")])),_:1}),createVNode(Zd,{onClick:Md[3]||(Md[3]=Bf=>md())},{default:withCtx(()=>Md[12]||(Md[12]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(yf,{open:unref(od),"onUpdate:open":Md[7]||(Md[7]=Bf=>isRef(od)?od.value=Bf:null)},{default:withCtx(()=>[createVNode(bf,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(mf,null,{default:withCtx(()=>[createVNode(Vd,null,{default:withCtx(()=>Md[13]||(Md[13]=[createTextVNode("编辑方案名称")])),_:1}),createVNode(Kd,null,{default:withCtx(()=>Md[14]||(Md[14]=[createTextVNode(" 请输入新的方案名称 ")])),_:1})]),_:1}),createVNode(Wd,{modelValue:unref(ld),"onUpdate:modelValue":Md[5]||(Md[5]=Bf=>isRef(ld)?ld.value=Bf:null)},null,8,["modelValue"]),createVNode(Xd,null,{default:withCtx(()=>[createVNode(Zd,{variant:"outline",onClick:Md[6]||(Md[6]=Bf=>od.value=!1)},{default:withCtx(()=>Md[15]||(Md[15]=[createTextVNode(" 取消 ")])),_:1}),createVNode(Zd,{onClick:dd},{default:withCtx(()=>Md[16]||(Md[16]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Zf,{open:unref(vd),"onUpdate:open":Md[8]||(Md[8]=Bf=>isRef(vd)?vd.value=Bf:null)},{default:withCtx(()=>[createVNode(Jf,null,{default:withCtx(()=>[createVNode(xf,null,{default:withCtx(()=>[createVNode(Ef,null,{default:withCtx(()=>Md[17]||(Md[17]=[createTextVNode("提示")])),_:1}),createVNode(gf,null,{default:withCtx(()=>Md[18]||(Md[18]=[createTextVNode(" 此操作将删除该自定义方案,是否继续? ")])),_:1})]),_:1}),createVNode(Xf,null,{default:withCtx(()=>[createVNode(Af,null,{default:withCtx(()=>Md[19]||(Md[19]=[createTextVNode("取消")])),_:1}),createVNode(Lf,{onClick:Id},{default:withCtx(()=>Md[20]||(Md[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,cd)=>(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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(am),null,{default:withCtx(()=>[createVNode(unref(nm$1),mergeProps(unref(ud),{class:unref(cn$4)("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(cd.$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$4)("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$4)("-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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(lm),mergeProps(unref(ud),{class:unref(cn$4)("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",cd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$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,cd)=>(openBlock(),createBlock(unref(ah),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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(oh),null,{default:withCtx(()=>[createVNode(unref(lh),mergeProps(unref(ud),{class:unref(cn$4)("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(cd.$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$4)("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),cd=ref$1(!1),dd=ref$1("");function pd(Nd){ud.value=Nd,dd.value=qa.posts[Nd].title,cd.value=!0}function fd(){if(dd.value===""){Ke$1.error("文章标题不可为空");return}qa.renamePost(ud.value,dd.value),cd.value=!1,Ke$1.success("文章重命名成功")}const md=ref$1(!1);function vd(Nd){ud.value=Nd,md.value=!0}function Ad(){qa.delPost(ud.value),md.value=!1,Ke$1.success("文章删除成功")}return(Nd,Id)=>{const kd=_sfc_main$1h,jd=_sfc_main$y,Fd=_sfc_main$$,Md=_sfc_main$K,Ld=_sfc_main$10,Hd=_sfc_main$17,Gd=_sfc_main$18,Vd=_sfc_main$19,Kd=_sfc_main$1a,mf=_sfc_main$z,Wd=_sfc_main$A,Zd=_sfc_main$B,Xd=_sfc_main$C,bf=_sfc_main$1c,yf=_sfc_main$1d,Ef=_sfc_main$1e,gf=_sfc_main$1f,xf=_sfc_main$1g,Af=_sfc_main$1i,Lf=_sfc_main$1j,Xf=_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(Kd,{open:unref(nd),"onUpdate:open":Id[2]||(Id[2]=Jf=>isRef(nd)?nd.value=Jf:null)},{default:withCtx(()=>[createVNode(jd,{"as-child":""},{default:withCtx(()=>[createVNode(kd,{variant:"outline",class:"w-full",size:"xs"},{default:withCtx(()=>[createVNode(unref(Plus)),Id[9]||(Id[9]=createTextVNode(" 新增文章 "))]),_:1})]),_:1}),createVNode(Vd,null,{default:withCtx(()=>[createVNode(Ld,null,{default:withCtx(()=>[createVNode(Fd,null,{default:withCtx(()=>Id[10]||(Id[10]=[createTextVNode("新增文章")])),_:1}),createVNode(Md,null,{default:withCtx(()=>Id[11]||(Id[11]=[createTextVNode(" 请输入文章名称 ")])),_:1})]),_:1}),createVNode(Hd,{modelValue:unref(od),"onUpdate:modelValue":Id[0]||(Id[0]=Jf=>isRef(od)?od.value=Jf:null)},null,8,["modelValue"]),createVNode(Gd,null,{default:withCtx(()=>[createVNode(kd,{onClick:Id[1]||(Id[1]=Jf=>ld())},{default:withCtx(()=>Id[12]||(Id[12]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).posts,(Jf,Zf)=>(openBlock(),createElementBlock("a",{key:Jf.title,href:"#",class:normalizeClass([{"bg-primary text-primary-foreground shadow-lg border-2 border-primary":unref(qa).currentPostIndex===Zf,"dark:bg-primary-dark dark:text-primary-foreground-dark dark:border-primary-dark":unref(qa).currentPostIndex===Zf},"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:Bf=>unref(qa).currentPostIndex=Zf},[createBaseVNode("span",_hoisted_3$3,toDisplayString(Jf.title),1),createVNode(Xd,null,{default:withCtx(()=>[createVNode(mf,{"as-child":""},{default:withCtx(()=>[createVNode(kd,{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(Wd,{onClick:withModifiers(Bf=>pd(Zf),["stop"])},{default:withCtx(()=>[createVNode(unref(PenLine),{class:"mr-2 size-4"}),Id[13]||(Id[13]=createTextVNode(" 重命名 "))]),_:2},1032,["onClick"]),unref(qa).posts.length>1?(openBlock(),createBlock(Wd,{key:0,onClick:withModifiers(Bf=>vd(Zf),["stop"])},{default:withCtx(()=>[createVNode(unref(Trash),{class:"mr-2 size-4"}),Id[14]||(Id[14]=createTextVNode(" 删除 "))]),_:2},1032,["onClick"])):createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)],10,_hoisted_2$3))),128)),createVNode(Kd,{open:unref(cd),"onUpdate:open":Id[6]||(Id[6]=Jf=>isRef(cd)?cd.value=Jf:null)},{default:withCtx(()=>[createVNode(Vd,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(Ld,null,{default:withCtx(()=>[createVNode(Fd,null,{default:withCtx(()=>Id[15]||(Id[15]=[createTextVNode("编辑文章名称")])),_:1}),createVNode(Md,null,{default:withCtx(()=>Id[16]||(Id[16]=[createTextVNode(" 请输入新的文章名称 ")])),_:1})]),_:1}),createVNode(Hd,{modelValue:unref(dd),"onUpdate:modelValue":Id[3]||(Id[3]=Jf=>isRef(dd)?dd.value=Jf:null)},null,8,["modelValue"]),createVNode(Gd,null,{default:withCtx(()=>[createVNode(kd,{variant:"outline",onClick:Id[4]||(Id[4]=Jf=>cd.value=!1)},{default:withCtx(()=>Id[17]||(Id[17]=[createTextVNode(" 取消 ")])),_:1}),createVNode(kd,{onClick:Id[5]||(Id[5]=Jf=>fd())},{default:withCtx(()=>Id[18]||(Id[18]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Xf,{open:unref(md),"onUpdate:open":Id[8]||(Id[8]=Jf=>isRef(md)?md.value=Jf:null)},{default:withCtx(()=>[createVNode(Lf,null,{default:withCtx(()=>[createVNode(Ef,null,{default:withCtx(()=>[createVNode(bf,null,{default:withCtx(()=>Id[19]||(Id[19]=[createTextVNode("提示")])),_:1}),createVNode(yf,null,{default:withCtx(()=>Id[20]||(Id[20]=[createTextVNode(" 此操作将删除该文章,是否继续? ")])),_:1})]),_:1}),createVNode(Af,null,{default:withCtx(()=>[createVNode(gf,null,{default:withCtx(()=>Id[21]||(Id[21]=[createTextVNode("取消")])),_:1}),createVNode(xf,{onClick:Id[7]||(Id[7]=Jf=>Ad())},{default:withCtx(()=>Id[22]||(Id[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,cd)=>withDirectives((openBlock(),createElementBlock("textarea",{"onUpdate:modelValue":cd[0]||(cd[0]=dd=>isRef(ld)?ld.value=dd:null),class:normalizeClass(unref(cn$4)("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$4)("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$4)("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$4)(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 fd;let pd={};try{pd={thumb:(fd=document.querySelector("#output img"))==null?void 0:fd.src,title:[1,2,3,4,5,6].map(md=>document.querySelector(`#output h${md}`)).filter(md=>md)[0].textContent,desc:document.querySelector("#output p").textContent,content:nd.value}}catch(md){console.log("error",md)}ld.value={...pd,auto:pd}}function cd(){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 dd(pd){pd||(od.value=!1)}return(pd,fd)=>{const md=_sfc_main$1h,vd=_sfc_main$y,Ad=_sfc_main$$,Nd=_sfc_main$10,Id=_sfc_main$u,kd=_sfc_main$v,jd=_sfc_main$t,Fd=_sfc_main$11,Md=_sfc_main$17,Ld=_sfc_main$w,Hd=_sfc_main$18,Gd=_sfc_main$19,Vd=_sfc_main$1a;return openBlock(),createBlock(Vd,{open:unref(od),"onUpdate:open":[fd[4]||(fd[4]=Kd=>isRef(od)?od.value=Kd:null),dd]},{default:withCtx(()=>[createVNode(vd,null,{default:withCtx(()=>[createVNode(md,{variant:"outline",onClick:ud},{default:withCtx(()=>fd[5]||(fd[5]=[createTextVNode(" 发布 ")])),_:1})]),_:1}),createVNode(Gd,null,{default:withCtx(()=>[createVNode(Nd,null,{default:withCtx(()=>[createVNode(Ad,null,{default:withCtx(()=>fd[6]||(fd[6]=[createTextVNode("发布")])),_:1})]),_:1}),createVNode(jd,null,{default:withCtx(()=>[createVNode(unref(Info),{class:"h-4 w-4"}),createVNode(Id,null,{default:withCtx(()=>fd[7]||(fd[7]=[createTextVNode("提示")])),_:1}),createVNode(kd,null,{default:withCtx(()=>fd[8]||(fd[8]=[createTextVNode(" 此功能由第三方浏览器插件支持,本平台不保证安全性。 ")])),_:1})]),_:1}),createBaseVNode("div",_hoisted_1$3,[createVNode(Fd,{for:"thumb",class:"w-10 text-end"},{default:withCtx(()=>fd[9]||(fd[9]=[createTextVNode(" 封面 ")])),_:1}),createVNode(Md,{id:"thumb",modelValue:unref(ld).thumb,"onUpdate:modelValue":fd[0]||(fd[0]=Kd=>unref(ld).thumb=Kd),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_2$2,[createVNode(Fd,{for:"title",class:"w-10 text-end"},{default:withCtx(()=>fd[10]||(fd[10]=[createTextVNode(" 标题 ")])),_:1}),createVNode(Md,{id:"title",modelValue:unref(ld).title,"onUpdate:modelValue":fd[1]||(fd[1]=Kd=>unref(ld).title=Kd),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_3$2,[createVNode(Fd,{for:"desc",class:"w-10 text-end"},{default:withCtx(()=>fd[11]||(fd[11]=[createTextVNode(" 描述 ")])),_:1}),createVNode(Ld,{id:"desc",modelValue:unref(ld).desc,"onUpdate:modelValue":fd[2]||(fd[2]=Kd=>unref(ld).desc=Kd),placeholder:"自动提取第一个段落"},null,8,["modelValue"])]),createVNode(Hd,null,{default:withCtx(()=>[createVNode(md,{variant:"outline",onClick:fd[3]||(fd[3]=Kd=>od.value=!1)},{default:withCtx(()=>fd[12]||(fd[12]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(md,{onClick:cd},{default:withCtx(()=>fd[13]||(fd[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,cd)=>(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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(gs$4),null,{default:withCtx(()=>[createVNode(unref(Cs$2),mergeProps({...unref(ud),...cd.$attrs},{class:unref(cn$4)("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(cd.$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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(Nh),mergeProps(unref(ud),{class:unref(cn$4)("flex h-10 items-center gap-x-1 rounded-md border bg-background p-1",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$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(dd){dd||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 cd(dd){window.open(dd,"_blank")}return(dd,pd)=>{const fd=_sfc_main$$,md=_sfc_main$10,vd=_sfc_main$1h,Ad=_sfc_main$18,Nd=_sfc_main$19,Id=_sfc_main$1a;return openBlock(),createBlock(Id,{open:nd.visible,"onUpdate:open":ld},{default:withCtx(()=>[createVNode(Nd,null,{default:withCtx(()=>[createVNode(md,null,{default:withCtx(()=>[createVNode(fd,null,{default:withCtx(()=>pd[0]||(pd[0]=[createTextVNode("关于")])),_:1})]),_:1}),pd[1]||(pd[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(Ad,{class:"sm:justify-evenly"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(ud,kd=>createVNode(vd,{key:kd.url,onClick:jd=>cd(kd.url)},{default:withCtx(()=>[createTextVNode(toDisplayString(kd.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$4)("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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(qh),mergeProps(unref(ud),{class:unref(cn$4)("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(cd.$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$4)("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,cd=_sfc_main$l,dd=_sfc_main$m,pd=_sfc_main$n;return openBlock(),createElementBlock(Fragment,null,[createVNode(dd,null,{default:withCtx(()=>[createVNode(ld,null,{default:withCtx(()=>od[2]||(od[2]=[createTextVNode(" 帮助 ")])),_:1}),createVNode(cd,{align:"start"},{default:withCtx(()=>[createVNode(ud,{onClick:od[0]||(od[0]=fd=>qa.value=!0)},{default:withCtx(()=>od[3]||(od[3]=[createBaseVNode("span",null,"关于",-1)])),_:1})]),_:1})]),_:1}),createVNode(pd,{visible:unref(qa),onClose:od[1]||(od[1]=fd=>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,cd)=>(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$4)("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$4)("-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,cd)=>(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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(ey),mergeProps(unref(ud),{class:unref(cn$4)("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(cd.$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$4)("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$4)("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,cd=_sfc_main$b,dd=_sfc_main$k,pd=_sfc_main$c,fd=_sfc_main$d;return openBlock(),createBlock(fd,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(pd,{class:"max-h-56 overflow-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(od.options,({label:md,value:vd,desc:Ad})=>(openBlock(),createBlock(dd,{key:vd,label:md,"model-value":vd,class:"w-50",checked:od.current===vd,onClick:Nd=>od.change(vd)},{default:withCtx(()=>[createTextVNode(toDisplayString(md)+" ",1),createVNode(cd,{style:normalizeStyle(nd(od.title,vd))},{default:withCtx(()=>[createTextVNode(toDisplayString(Ad),1)]),_:2},1032,["style"])]),_:2},1032,["label","model-value","checked","onClick"]))),128))]),_:1})]),_:1})}}});var E$1="top",R$2="bottom",W$1="right",P$1="left",me$1="auto",G$1=[E$1,R$2,W$1,P$1],U$1="start",J$1="end",Xe="clippingParents",je$1="viewport",K$1="popper",Ye="reference",De=G$1.reduce(function(Ra,qa){return Ra.concat([qa+"-"+U$1,qa+"-"+J$1])},[]),Ee$1=[].concat(G$1,[me$1]).reduce(function(Ra,qa){return Ra.concat([qa,qa+"-"+U$1,qa+"-"+J$1])},[]),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(Ra){return Ra?(Ra.nodeName||"").toLowerCase():null}function H$1(Ra){if(Ra==null)return window;if(Ra.toString()!=="[object Window]"){var qa=Ra.ownerDocument;return qa&&qa.defaultView||window}return Ra}function Q$1(Ra){var qa=H$1(Ra).Element;return Ra instanceof qa||Ra instanceof Element}function B$1(Ra){var qa=H$1(Ra).HTMLElement;return Ra instanceof qa||Ra instanceof HTMLElement}function Pe$1(Ra){if(typeof ShadowRoot>"u")return!1;var qa=H$1(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$1(ud)||!C(ud)||(Object.assign(ud.style,od),Object.keys(ld).forEach(function(cd){var dd=ld[cd];dd===!1?ud.removeAttribute(cd):ud.setAttribute(cd,dd===!0?"":dd)}))})}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]||{},cd=Object.keys(qa.styles.hasOwnProperty(od)?qa.styles[od]:nd[od]),dd=cd.reduce(function(pd,fd){return pd[fd]="",pd},{});!B$1(ld)||!C(ld)||(Object.assign(ld.style,dd),Object.keys(ud).forEach(function(pd){ld.removeAttribute(pd)}))})}}var Ae$1={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q$1(Ra){return Ra.split("-")[0]}var X$1=Math.max,ve$1=Math.min,Z$1=Math.round;function ee$1(Ra,qa){qa===void 0&&(qa=!1);var nd=Ra.getBoundingClientRect(),od=1,ld=1;if(B$1(Ra)&&qa){var ud=Ra.offsetHeight,cd=Ra.offsetWidth;cd>0&&(od=Z$1(nd.width)/cd||1),ud>0&&(ld=Z$1(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(Ra){return H$1(Ra).getComputedStyle(Ra)}function Wt(Ra){return["table","td","th"].indexOf(C(Ra))>=0}function I(Ra){return((Q$1(Ra)?Ra.ownerDocument:Ra.document)||window.document).documentElement}function ge$1(Ra){return C(Ra)==="html"?Ra:Ra.assignedSlot||Ra.parentNode||(Pe$1(Ra)?Ra.host:null)||I(Ra)}function at(Ra){return!B$1(Ra)||N(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$1(Ra)){var od=N(Ra);if(od.position==="fixed")return null}var ld=ge$1(Ra);for(Pe$1(ld)&&(ld=ld.host);B$1(ld)&&["html","body"].indexOf(C(ld))<0;){var ud=N(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$1(Ra),nd=at(Ra);nd&&Wt(nd)&&N(nd).position==="static";)nd=at(nd);return nd&&(C(nd)==="html"||C(nd)==="body"&&N(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$1(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(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(Ra,G$1))};function Ht(Ra){var qa,nd=Ra.state,od=Ra.name,ld=Ra.options,ud=nd.elements.arrow,cd=nd.modifiersData.popperOffsets,dd=q$1(nd.placement),pd=Le$1(dd),fd=[P$1,W$1].indexOf(dd)>=0,md=fd?"height":"width";if(!(!ud||!cd)){var vd=Tt(ld.padding,nd),Ad=ke$1(ud),Nd=pd==="y"?E$1:P$1,Id=pd==="y"?R$2:W$1,kd=nd.rects.reference[md]+nd.rects.reference[pd]-cd[pd]-nd.rects.popper[md],jd=cd[pd]-nd.rects.reference[pd],Fd=se$1(ud),Md=Fd?pd==="y"?Fd.clientHeight||0:Fd.clientWidth||0:0,Ld=kd/2-jd/2,Hd=vd[Nd],Gd=Md-Ad[md]-vd[Id],Vd=Md/2-Ad[md]/2+Ld,Kd=fe$1(Hd,Vd,Gd),mf=pd;nd.modifiersData[od]=(qa={},qa[mf]=Kd,qa.centerOffset=Kd-Vd,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$1(qa*ld)/ld||0,y:Z$1(nd*ld)/ld||0}}function ut(Ra){var qa,nd=Ra.popper,od=Ra.popperRect,ld=Ra.placement,ud=Ra.variation,cd=Ra.offsets,dd=Ra.position,pd=Ra.gpuAcceleration,fd=Ra.adaptive,md=Ra.roundOffsets,vd=Ra.isFixed,Ad=cd.x,Nd=Ad===void 0?0:Ad,Id=cd.y,kd=Id===void 0?0:Id,jd=typeof md=="function"?md({x:Nd,y:kd}):{x:Nd,y:kd};Nd=jd.x,kd=jd.y;var Fd=cd.hasOwnProperty("x"),Md=cd.hasOwnProperty("y"),Ld=P$1,Hd=E$1,Gd=window;if(fd){var Vd=se$1(nd),Kd="clientHeight",mf="clientWidth";if(Vd===H$1(nd)&&(Vd=I(nd),N(Vd).position!=="static"&&dd==="absolute"&&(Kd="scrollHeight",mf="scrollWidth")),Vd=Vd,ld===E$1||(ld===P$1||ld===W$1)&&ud===J$1){Hd=R$2;var Wd=vd&&Vd===Gd&&Gd.visualViewport?Gd.visualViewport.height:Vd[Kd];kd-=Wd-od.height,kd*=pd?1:-1}if(ld===P$1||(ld===E$1||ld===R$2)&&ud===J$1){Ld=W$1;var Zd=vd&&Vd===Gd&&Gd.visualViewport?Gd.visualViewport.width:Vd[mf];Nd-=Zd-od.width,Nd*=pd?1:-1}}var Xd=Object.assign({position:dd},fd&&qt),bf=md===!0?Vt({x:Nd,y:kd}):{x:Nd,y:kd};if(Nd=bf.x,kd=bf.y,pd){var yf;return Object.assign({},Xd,(yf={},yf[Hd]=Md?"0":"",yf[Ld]=Fd?"0":"",yf.transform=(Gd.devicePixelRatio||1)<=1?"translate("+Nd+"px, "+kd+"px)":"translate3d("+Nd+"px, "+kd+"px, 0)",yf))}return Object.assign({},Xd,(qa={},qa[Hd]=Md?kd+"px":"",qa[Ld]=Fd?Nd+"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,cd=ud===void 0?!0:ud,dd=nd.roundOffsets,pd=dd===void 0?!0:dd,fd={placement:q$1(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({},fd,{offsets:qa.modifiersData.popperOffsets,position:qa.options.strategy,adaptive:cd,roundOffsets:pd})))),qa.modifiersData.arrow!=null&&(qa.styles.arrow=Object.assign({},qa.styles.arrow,ut(Object.assign({},fd,{offsets:qa.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:pd})))),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,cd=od.resize,dd=cd===void 0?!0:cd,pd=H$1(qa.elements.popper),fd=[].concat(qa.scrollParents.reference,qa.scrollParents.popper);return ud&&fd.forEach(function(md){md.addEventListener("scroll",nd.update,ye$1)}),dd&&pd.addEventListener("resize",nd.update,ye$1),function(){ud&&fd.forEach(function(md){md.removeEventListener("scroll",nd.update,ye$1)}),dd&&pd.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$1(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$1(Ra),nd=qa.pageXOffset,od=qa.pageYOffset;return{scrollLeft:nd,scrollTop:od}}function Be$1(Ra){return ee$1(I(Ra)).left+We(Ra).scrollLeft}function Ft(Ra){var qa=H$1(Ra),nd=I(Ra),od=qa.visualViewport,ld=nd.clientWidth,ud=nd.clientHeight,cd=0,dd=0;return od&&(ld=od.width,ud=od.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(cd=od.offsetLeft,dd=od.offsetTop)),{width:ld,height:ud,x:cd+Be$1(Ra),y:dd}}function Ut(Ra){var qa,nd=I(Ra),od=We(Ra),ld=(qa=Ra.ownerDocument)==null?void 0:qa.body,ud=X$1(nd.scrollWidth,nd.clientWidth,ld?ld.scrollWidth:0,ld?ld.clientWidth:0),cd=X$1(nd.scrollHeight,nd.clientHeight,ld?ld.scrollHeight:0,ld?ld.clientHeight:0),dd=-od.scrollLeft+Be$1(Ra),pd=-od.scrollTop;return N(ld||nd).direction==="rtl"&&(dd+=X$1(nd.clientWidth,ld?ld.clientWidth:0)-ud),{width:ud,height:cd,x:dd,y:pd}}function Se$1(Ra){var qa=N(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(Ra))>=0?Ra.ownerDocument.body:B$1(Ra)&&Se$1(Ra)?Ra:dt(ge$1(Ra))}function ce$1(Ra,qa){var nd;qa===void 0&&(qa=[]);var od=dt(Ra),ld=od===((nd=Ra.ownerDocument)==null?void 0:nd.body),ud=H$1(od),cd=ld?[ud].concat(ud.visualViewport||[],Se$1(od)?od:[]):od,dd=qa.concat(cd);return ld?dd:dd.concat(ce$1(ge$1(cd)))}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$1(qa)?Xt(qa):Te(Ut(I(Ra)))}function Yt(Ra){var qa=ce$1(ge$1(Ra)),nd=["absolute","fixed"].indexOf(N(Ra).position)>=0,od=nd&&B$1(Ra)?se$1(Ra):Ra;return Q$1(od)?qa.filter(function(ld){return Q$1(ld)&&it(ld,od)&&C(ld)!=="body"}):[]}function Gt(Ra,qa,nd){var od=qa==="clippingParents"?Yt(Ra):[].concat(qa),ld=[].concat(od,[nd]),ud=ld[0],cd=ld.reduce(function(dd,pd){var fd=ht(Ra,pd);return dd.top=X$1(fd.top,dd.top),dd.right=ve$1(fd.right,dd.right),dd.bottom=ve$1(fd.bottom,dd.bottom),dd.left=X$1(fd.left,dd.left),dd},ht(Ra,ud));return cd.width=cd.right-cd.left,cd.height=cd.bottom-cd.top,cd.x=cd.left,cd.y=cd.top,cd}function mt(Ra){var qa=Ra.reference,nd=Ra.element,od=Ra.placement,ld=od?q$1(od):null,ud=od?te$1(od):null,cd=qa.x+qa.width/2-nd.width/2,dd=qa.y+qa.height/2-nd.height/2,pd;switch(ld){case E$1:pd={x:cd,y:qa.y-nd.height};break;case R$2:pd={x:cd,y:qa.y+qa.height};break;case W$1:pd={x:qa.x+qa.width,y:dd};break;case P$1:pd={x:qa.x-nd.width,y:dd};break;default:pd={x:qa.x,y:qa.y}}var fd=ld?Le$1(ld):null;if(fd!=null){var md=fd==="y"?"height":"width";switch(ud){case U$1:pd[fd]=pd[fd]-(qa[md]/2-nd[md]/2);break;case J$1:pd[fd]=pd[fd]+(qa[md]/2-nd[md]/2);break}}return pd}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,cd=ud===void 0?Xe:ud,dd=nd.rootBoundary,pd=dd===void 0?je$1:dd,fd=nd.elementContext,md=fd===void 0?K$1:fd,vd=nd.altBoundary,Ad=vd===void 0?!1:vd,Nd=nd.padding,Id=Nd===void 0?0:Nd,kd=ft(typeof Id!="number"?Id:ct(Id,G$1)),jd=md===K$1?Ye:K$1,Fd=Ra.rects.popper,Md=Ra.elements[Ad?jd:md],Ld=Gt(Q$1(Md)?Md:Md.contextElement||I(Ra.elements.popper),cd,pd),Hd=ee$1(Ra.elements.reference),Gd=mt({reference:Hd,element:Fd,strategy:"absolute",placement:ld}),Vd=Te(Object.assign({},Fd,Gd)),Kd=md===K$1?Vd:Hd,mf={top:Ld.top-Kd.top+kd.top,bottom:Kd.bottom-Ld.bottom+kd.bottom,left:Ld.left-Kd.left+kd.left,right:Kd.right-Ld.right+kd.right},Wd=Ra.modifiersData.offset;if(md===K$1&&Wd){var Zd=Wd[ld];Object.keys(mf).forEach(function(Xd){var bf=[W$1,R$2].indexOf(Xd)>=0?1:-1,yf=[E$1,R$2].indexOf(Xd)>=0?"y":"x";mf[Xd]+=Zd[yf]*bf})}return mf}function Jt(Ra,qa){qa===void 0&&(qa={});var nd=qa,od=nd.placement,ld=nd.boundary,ud=nd.rootBoundary,cd=nd.padding,dd=nd.flipVariations,pd=nd.allowedAutoPlacements,fd=pd===void 0?Ee$1:pd,md=te$1(od),vd=md?dd?De:De.filter(function(Id){return te$1(Id)===md}):G$1,Ad=vd.filter(function(Id){return fd.indexOf(Id)>=0});Ad.length===0&&(Ad=vd);var Nd=Ad.reduce(function(Id,kd){return Id[kd]=ne$1(Ra,{placement:kd,boundary:ld,rootBoundary:ud,padding:cd})[q$1(kd)],Id},{});return Object.keys(Nd).sort(function(Id,kd){return Nd[Id]-Nd[kd]})}function Kt(Ra){if(q$1(Ra)===me$1)return[];var qa=be$1(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,cd=nd.altAxis,dd=cd===void 0?!0:cd,pd=nd.fallbackPlacements,fd=nd.padding,md=nd.boundary,vd=nd.rootBoundary,Ad=nd.altBoundary,Nd=nd.flipVariations,Id=Nd===void 0?!0:Nd,kd=nd.allowedAutoPlacements,jd=qa.options.placement,Fd=q$1(jd),Md=Fd===jd,Ld=pd||(Md||!Id?[be$1(jd)]:Kt(jd)),Hd=[jd].concat(Ld).reduce(function(Uf,Gf){return Uf.concat(q$1(Gf)===me$1?Jt(qa,{placement:Gf,boundary:md,rootBoundary:vd,padding:fd,flipVariations:Id,allowedAutoPlacements:kd}):Gf)},[]),Gd=qa.rects.reference,Vd=qa.rects.popper,Kd=new Map,mf=!0,Wd=Hd[0],Zd=0;Zd<Hd.length;Zd++){var Xd=Hd[Zd],bf=q$1(Xd),yf=te$1(Xd)===U$1,Ef=[E$1,R$2].indexOf(bf)>=0,gf=Ef?"width":"height",xf=ne$1(qa,{placement:Xd,boundary:md,rootBoundary:vd,altBoundary:Ad,padding:fd}),Af=Ef?yf?W$1:P$1:yf?R$2:E$1;Gd[gf]>Vd[gf]&&(Af=be$1(Af));var Lf=be$1(Af),Xf=[];if(ud&&Xf.push(xf[bf]<=0),dd&&Xf.push(xf[Af]<=0,xf[Lf]<=0),Xf.every(function(Uf){return Uf})){Wd=Xd,mf=!1;break}Kd.set(Xd,Xf)}if(mf)for(var Jf=Id?3:1,Zf=function(Uf){var Gf=Hd.find(function(zf){var Tf=Kd.get(zf);if(Tf)return Tf.slice(0,Uf).every(function(vf){return vf})});if(Gf)return Wd=Gf,"break"},Bf=Jf;Bf>0;Bf--){var Df=Zf(Bf);if(Df==="break")break}qa.placement!==Wd&&(qa.modifiersData[od]._skip=!0,qa.placement=Wd,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$1,W$1,R$2,P$1].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,cd=ne$1(qa,{elementContext:"reference"}),dd=ne$1(qa,{altBoundary:!0}),pd=gt(cd,od),fd=gt(dd,ld,ud),md=yt(pd),vd=yt(fd);qa.modifiersData[nd]={referenceClippingOffsets:pd,popperEscapeOffsets:fd,isReferenceHidden:md,hasPopperEscaped:vd},qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-reference-hidden":md,"data-popper-escaped":vd})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(Ra,qa,nd){var od=q$1(Ra),ld=[P$1,E$1].indexOf(od)>=0?-1:1,ud=typeof nd=="function"?nd(Object.assign({},qa,{placement:Ra})):nd,cd=ud[0],dd=ud[1];return cd=cd||0,dd=(dd||0)*ld,[P$1,W$1].indexOf(od)>=0?{x:dd,y:cd}:{x:cd,y:dd}}function tn(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name,ld=nd.offset,ud=ld===void 0?[0,0]:ld,cd=Ee$1.reduce(function(md,vd){return md[vd]=en(vd,qa.rects,ud),md},{}),dd=cd[qa.placement],pd=dd.x,fd=dd.y;qa.modifiersData.popperOffsets!=null&&(qa.modifiersData.popperOffsets.x+=pd,qa.modifiersData.popperOffsets.y+=fd),qa.modifiersData[od]=cd}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,cd=nd.altAxis,dd=cd===void 0?!1:cd,pd=nd.boundary,fd=nd.rootBoundary,md=nd.altBoundary,vd=nd.padding,Ad=nd.tether,Nd=Ad===void 0?!0:Ad,Id=nd.tetherOffset,kd=Id===void 0?0:Id,jd=ne$1(qa,{boundary:pd,rootBoundary:fd,padding:vd,altBoundary:md}),Fd=q$1(qa.placement),Md=te$1(qa.placement),Ld=!Md,Hd=Le$1(Fd),Gd=rn(Hd),Vd=qa.modifiersData.popperOffsets,Kd=qa.rects.reference,mf=qa.rects.popper,Wd=typeof kd=="function"?kd(Object.assign({},qa.rects,{placement:qa.placement})):kd,Zd=typeof Wd=="number"?{mainAxis:Wd,altAxis:Wd}:Object.assign({mainAxis:0,altAxis:0},Wd),Xd=qa.modifiersData.offset?qa.modifiersData.offset[qa.placement]:null,bf={x:0,y:0};if(Vd){if(ud){var yf,Ef=Hd==="y"?E$1:P$1,gf=Hd==="y"?R$2:W$1,xf=Hd==="y"?"height":"width",Af=Vd[Hd],Lf=Af+jd[Ef],Xf=Af-jd[gf],Jf=Nd?-mf[xf]/2:0,Zf=Md===U$1?Kd[xf]:mf[xf],Bf=Md===U$1?-mf[xf]:-Kd[xf],Df=qa.elements.arrow,Uf=Nd&&Df?ke$1(Df):{width:0,height:0},Gf=qa.modifiersData["arrow#persistent"]?qa.modifiersData["arrow#persistent"].padding:st(),zf=Gf[Ef],Tf=Gf[gf],vf=fe$1(0,Kd[xf],Uf[xf]),qf=Ld?Kd[xf]/2-Jf-vf-zf-Zd.mainAxis:Zf-vf-zf-Zd.mainAxis,eh=Ld?-Kd[xf]/2+Jf+vf+Tf+Zd.mainAxis:Bf+vf+Tf+Zd.mainAxis,ch=qa.elements.arrow&&se$1(qa.elements.arrow),ih=ch?Hd==="y"?ch.clientTop||0:ch.clientLeft||0:0,Pf=(yf=Xd==null?void 0:Xd[Hd])!=null?yf:0,uh=Af+qf-Pf-ih,xh=Af+eh-Pf,Qf=fe$1(Nd?ve$1(Lf,uh):Lf,Af,Nd?X$1(Xf,xh):Xf);Vd[Hd]=Qf,bf[Hd]=Qf-Af}if(dd){var wf,$f=Hd==="x"?E$1:P$1,Wf=Hd==="x"?R$2:W$1,Th=Vd[Gd],vh=Gd==="y"?"height":"width",ph=Th+jd[$f],Vh=Th-jd[Wf],wh=[E$1,P$1].indexOf(Fd)!==-1,fm=(wf=Xd==null?void 0:Xd[Gd])!=null?wf:0,Nm=wh?ph:Th-Kd[vh]-mf[vh]-fm+Zd.altAxis,cm=wh?Th+Kd[vh]+mf[vh]-fm-Zd.altAxis:Vh,Sm=Nd&&wh?St(Nm,Th,cm):fe$1(Nd?Nm:ph,Th,Nd?cm:Vh);Vd[Gd]=Sm,bf[Gd]=Sm-Th}qa.modifiersData[od]=bf}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(Ra){return{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}}function sn(Ra){return Ra===H$1(Ra)||!B$1(Ra)?We(Ra):an(Ra)}function fn(Ra){var qa=Ra.getBoundingClientRect(),nd=Z$1(qa.width)/Ra.offsetWidth||1,od=Z$1(qa.height)/Ra.offsetHeight||1;return nd!==1||od!==1}function cn(Ra,qa,nd){nd===void 0&&(nd=!1);var od=B$1(qa),ld=B$1(qa)&&fn(qa),ud=I(qa),cd=ee$1(Ra,ld),dd={scrollLeft:0,scrollTop:0},pd={x:0,y:0};return(od||!od&&!nd)&&((C(qa)!=="body"||Se$1(ud))&&(dd=sn(qa)),B$1(qa)?(pd=ee$1(qa,!0),pd.x+=qa.clientLeft,pd.y+=qa.clientTop):ud&&(pd.x=Be$1(ud))),{x:cd.left+dd.scrollLeft-pd.x,y:cd.top+dd.scrollTop-pd.y,width:cd.width,height:cd.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 cd=[].concat(ud.requires||[],ud.requiresIfExists||[]);cd.forEach(function(dd){if(!nd.has(dd)){var pd=qa.get(dd);pd&&ld(pd)}}),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(cd,dd,pd){pd===void 0&&(pd=ud);var fd={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,ud),modifiersData:{},elements:{reference:cd,popper:dd},attributes:{},styles:{}},md=[],vd=!1,Ad={state:fd,setOptions:function(kd){var jd=typeof kd=="function"?kd(fd.options):kd;Id(),fd.options=Object.assign({},ud,fd.options,jd),fd.scrollParents={reference:Q$1(cd)?ce$1(cd):cd.contextElement?ce$1(cd.contextElement):[],popper:ce$1(dd)};var Fd=un(dn([].concat(od,fd.options.modifiers)));return fd.orderedModifiers=Fd.filter(function(Md){return Md.enabled}),Nd(),Ad.update()},forceUpdate:function(){if(!vd){var kd=fd.elements,jd=kd.reference,Fd=kd.popper;if($t(jd,Fd)){fd.rects={reference:cn(jd,se$1(Fd),fd.options.strategy==="fixed"),popper:ke$1(Fd)},fd.reset=!1,fd.placement=fd.options.placement,fd.orderedModifiers.forEach(function(mf){return fd.modifiersData[mf.name]=Object.assign({},mf.data)});for(var Md=0;Md<fd.orderedModifiers.length;Md++){if(fd.reset===!0){fd.reset=!1,Md=-1;continue}var Ld=fd.orderedModifiers[Md],Hd=Ld.fn,Gd=Ld.options,Vd=Gd===void 0?{}:Gd,Kd=Ld.name;typeof Hd=="function"&&(fd=Hd({state:fd,options:Vd,name:Kd,instance:Ad})||fd)}}}},update:ln(function(){return new Promise(function(kd){Ad.forceUpdate(),kd(fd)})}),destroy:function(){Id(),vd=!0}};if(!$t(cd,dd))return Ad;Ad.setOptions(pd).then(function(kd){!vd&&pd.onFirstUpdate&&pd.onFirstUpdate(kd)});function Nd(){fd.orderedModifiers.forEach(function(kd){var jd=kd.name,Fd=kd.options,Md=Fd===void 0?{}:Fd,Ld=kd.effect;if(typeof Ld=="function"){var Hd=Ld({state:fd,name:jd,instance:Ad,options:Md}),Gd=function(){};md.push(Hd||Gd)}})}function Id(){md.forEach(function(kd){return kd()}),md=[]}return Ad}}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],yn=we$1({defaultModifiers:gn});function F(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(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(Ra,qa):void 0}}function E(Ra){return function(qa){if(Array.isArray(qa))return F(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(Ra){return P=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(Ra)}function j(Ra,qa,nd,od,ld,ud,cd){try{var dd=Ra[ud](cd),pd=dd.value}catch(fd){return void nd(fd)}dd.done?qa(pd):Promise.resolve(pd).then(od,ld)}function L(Ra){return function(){var qa=this,nd=arguments;return new Promise(function(od,ld){var ud=Ra.apply(qa,nd);function cd(pd){j(ud,od,ld,cd,dd,"next",pd)}function dd(pd){j(ud,od,ld,cd,dd,"throw",pd)}cd(void 0)})}}var B={exports:{}},R$1={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$1),function(Ra){var qa=R$1.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,cd=ud.hasOwnProperty,dd=Object.defineProperty||function(Xf,Jf,Zf){Xf[Jf]=Zf.value},pd=typeof Symbol=="function"?Symbol:{},fd=pd.iterator||"@@iterator",md=pd.asyncIterator||"@@asyncIterator",vd=pd.toStringTag||"@@toStringTag";function Ad(Xf,Jf,Zf){return Object.defineProperty(Xf,Jf,{value:Zf,enumerable:!0,configurable:!0,writable:!0}),Xf[Jf]}try{Ad({},"")}catch{Ad=function(Jf,Zf,Bf){return Jf[Zf]=Bf}}function Nd(Xf,Jf,Zf,Bf){var Df=Jf&&Jf.prototype instanceof Hd?Jf:Hd,Uf=Object.create(Df.prototype),Gf=new Af(Bf||[]);return dd(Uf,"_invoke",{value:yf(Xf,Zf,Gf)}),Uf}function Id(Xf,Jf,Zf){try{return{type:"normal",arg:Xf.call(Jf,Zf)}}catch(Bf){return{type:"throw",arg:Bf}}}ld.wrap=Nd;var kd="suspendedStart",jd="suspendedYield",Fd="executing",Md="completed",Ld={};function Hd(){}function Gd(){}function Vd(){}var Kd={};Ad(Kd,fd,function(){return this});var mf=Object.getPrototypeOf,Wd=mf&&mf(mf(Lf([])));Wd&&Wd!==ud&&cd.call(Wd,fd)&&(Kd=Wd);var Zd=Vd.prototype=Hd.prototype=Object.create(Kd);function Xd(Xf){["next","throw","return"].forEach(function(Jf){Ad(Xf,Jf,function(Zf){return this._invoke(Jf,Zf)})})}function bf(Xf,Jf){function Zf(Df,Uf,Gf,zf){var Tf=Id(Xf[Df],Xf,Uf);if(Tf.type!=="throw"){var vf=Tf.arg,qf=vf.value;return qf&&qa(qf)=="object"&&cd.call(qf,"__await")?Jf.resolve(qf.__await).then(function(eh){Zf("next",eh,Gf,zf)},function(eh){Zf("throw",eh,Gf,zf)}):Jf.resolve(qf).then(function(eh){vf.value=eh,Gf(vf)},function(eh){return Zf("throw",eh,Gf,zf)})}zf(Tf.arg)}var Bf;dd(this,"_invoke",{value:function(Df,Uf){function Gf(){return new Jf(function(zf,Tf){Zf(Df,Uf,zf,Tf)})}return Bf=Bf?Bf.then(Gf,Gf):Gf()}})}function yf(Xf,Jf,Zf){var Bf=kd;return function(Df,Uf){if(Bf===Fd)throw Error("Generator is already running");if(Bf===Md){if(Df==="throw")throw Uf;return{value:od,done:!0}}for(Zf.method=Df,Zf.arg=Uf;;){var Gf=Zf.delegate;if(Gf){var zf=Ef(Gf,Zf);if(zf){if(zf===Ld)continue;return zf}}if(Zf.method==="next")Zf.sent=Zf._sent=Zf.arg;else if(Zf.method==="throw"){if(Bf===kd)throw Bf=Md,Zf.arg;Zf.dispatchException(Zf.arg)}else Zf.method==="return"&&Zf.abrupt("return",Zf.arg);Bf=Fd;var Tf=Id(Xf,Jf,Zf);if(Tf.type==="normal"){if(Bf=Zf.done?Md:jd,Tf.arg===Ld)continue;return{value:Tf.arg,done:Zf.done}}Tf.type==="throw"&&(Bf=Md,Zf.method="throw",Zf.arg=Tf.arg)}}}function Ef(Xf,Jf){var Zf=Jf.method,Bf=Xf.iterator[Zf];if(Bf===od)return Jf.delegate=null,Zf==="throw"&&Xf.iterator.return&&(Jf.method="return",Jf.arg=od,Ef(Xf,Jf),Jf.method==="throw")||Zf!=="return"&&(Jf.method="throw",Jf.arg=new TypeError("The iterator does not provide a '"+Zf+"' method")),Ld;var Df=Id(Bf,Xf.iterator,Jf.arg);if(Df.type==="throw")return Jf.method="throw",Jf.arg=Df.arg,Jf.delegate=null,Ld;var Uf=Df.arg;return Uf?Uf.done?(Jf[Xf.resultName]=Uf.value,Jf.next=Xf.nextLoc,Jf.method!=="return"&&(Jf.method="next",Jf.arg=od),Jf.delegate=null,Ld):Uf:(Jf.method="throw",Jf.arg=new TypeError("iterator result is not an object"),Jf.delegate=null,Ld)}function gf(Xf){var Jf={tryLoc:Xf[0]};1 in Xf&&(Jf.catchLoc=Xf[1]),2 in Xf&&(Jf.finallyLoc=Xf[2],Jf.afterLoc=Xf[3]),this.tryEntries.push(Jf)}function xf(Xf){var Jf=Xf.completion||{};Jf.type="normal",delete Jf.arg,Xf.completion=Jf}function Af(Xf){this.tryEntries=[{tryLoc:"root"}],Xf.forEach(gf,this),this.reset(!0)}function Lf(Xf){if(Xf||Xf===""){var Jf=Xf[fd];if(Jf)return Jf.call(Xf);if(typeof Xf.next=="function")return Xf;if(!isNaN(Xf.length)){var Zf=-1,Bf=function Df(){for(;++Zf<Xf.length;)if(cd.call(Xf,Zf))return Df.value=Xf[Zf],Df.done=!1,Df;return Df.value=od,Df.done=!0,Df};return Bf.next=Bf}}throw new TypeError(qa(Xf)+" is not iterable")}return Gd.prototype=Vd,dd(Zd,"constructor",{value:Vd,configurable:!0}),dd(Vd,"constructor",{value:Gd,configurable:!0}),Gd.displayName=Ad(Vd,vd,"GeneratorFunction"),ld.isGeneratorFunction=function(Xf){var Jf=typeof Xf=="function"&&Xf.constructor;return!!Jf&&(Jf===Gd||(Jf.displayName||Jf.name)==="GeneratorFunction")},ld.mark=function(Xf){return Object.setPrototypeOf?Object.setPrototypeOf(Xf,Vd):(Xf.__proto__=Vd,Ad(Xf,vd,"GeneratorFunction")),Xf.prototype=Object.create(Zd),Xf},ld.awrap=function(Xf){return{__await:Xf}},Xd(bf.prototype),Ad(bf.prototype,md,function(){return this}),ld.AsyncIterator=bf,ld.async=function(Xf,Jf,Zf,Bf,Df){Df===void 0&&(Df=Promise);var Uf=new bf(Nd(Xf,Jf,Zf,Bf),Df);return ld.isGeneratorFunction(Jf)?Uf:Uf.next().then(function(Gf){return Gf.done?Gf.value:Uf.next()})},Xd(Zd),Ad(Zd,vd,"Generator"),Ad(Zd,fd,function(){return this}),Ad(Zd,"toString",function(){return"[object Generator]"}),ld.keys=function(Xf){var Jf=Object(Xf),Zf=[];for(var Bf in Jf)Zf.push(Bf);return Zf.reverse(),function Df(){for(;Zf.length;){var Uf=Zf.pop();if(Uf in Jf)return Df.value=Uf,Df.done=!1,Df}return Df.done=!0,Df}},ld.values=Lf,Af.prototype={constructor:Af,reset:function(Xf){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(xf),!Xf)for(var Jf in this)Jf.charAt(0)==="t"&&cd.call(this,Jf)&&!isNaN(+Jf.slice(1))&&(this[Jf]=od)},stop:function(){this.done=!0;var Xf=this.tryEntries[0].completion;if(Xf.type==="throw")throw Xf.arg;return this.rval},dispatchException:function(Xf){if(this.done)throw Xf;var Jf=this;function Zf(Tf,vf){return Uf.type="throw",Uf.arg=Xf,Jf.next=Tf,vf&&(Jf.method="next",Jf.arg=od),!!vf}for(var Bf=this.tryEntries.length-1;Bf>=0;--Bf){var Df=this.tryEntries[Bf],Uf=Df.completion;if(Df.tryLoc==="root")return Zf("end");if(Df.tryLoc<=this.prev){var Gf=cd.call(Df,"catchLoc"),zf=cd.call(Df,"finallyLoc");if(Gf&&zf){if(this.prev<Df.catchLoc)return Zf(Df.catchLoc,!0);if(this.prev<Df.finallyLoc)return Zf(Df.finallyLoc)}else if(Gf){if(this.prev<Df.catchLoc)return Zf(Df.catchLoc,!0)}else{if(!zf)throw Error("try statement without catch or finally");if(this.prev<Df.finallyLoc)return Zf(Df.finallyLoc)}}}},abrupt:function(Xf,Jf){for(var Zf=this.tryEntries.length-1;Zf>=0;--Zf){var Bf=this.tryEntries[Zf];if(Bf.tryLoc<=this.prev&&cd.call(Bf,"finallyLoc")&&this.prev<Bf.finallyLoc){var Df=Bf;break}}Df&&(Xf==="break"||Xf==="continue")&&Df.tryLoc<=Jf&&Jf<=Df.finallyLoc&&(Df=null);var Uf=Df?Df.completion:{};return Uf.type=Xf,Uf.arg=Jf,Df?(this.method="next",this.next=Df.finallyLoc,Ld):this.complete(Uf)},complete:function(Xf,Jf){if(Xf.type==="throw")throw Xf.arg;return Xf.type==="break"||Xf.type==="continue"?this.next=Xf.arg:Xf.type==="return"?(this.rval=this.arg=Xf.arg,this.method="return",this.next="end"):Xf.type==="normal"&&Jf&&(this.next=Jf),Ld},finish:function(Xf){for(var Jf=this.tryEntries.length-1;Jf>=0;--Jf){var Zf=this.tryEntries[Jf];if(Zf.finallyLoc===Xf)return this.complete(Zf.completion,Zf.afterLoc),xf(Zf),Ld}},catch:function(Xf){for(var Jf=this.tryEntries.length-1;Jf>=0;--Jf){var Zf=this.tryEntries[Jf];if(Zf.tryLoc===Xf){var Bf=Zf.completion;if(Bf.type==="throw"){var Df=Bf.arg;xf(Zf)}return Df}}throw Error("illegal catch attempt")},delegateYield:function(Xf,Jf,Zf){return this.delegate={iterator:Lf(Xf),resultName:Jf,nextLoc:Zf},this.method==="next"&&(this.arg=od),Ld}},ld}Ra.exports=nd,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports}(B);var z=B.exports(),M=z;try{regeneratorRuntime=z}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=z:Function("r","regeneratorRuntime = r")(z)}function D(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,cd,dd,pd,fd=[],md=!0,vd=!1;try{if(dd=(ld=ld.call(nd)).next,od===0){if(Object(ld)!==ld)return;md=!1}else for(;!(md=(ud=dd.call(ld)).done)&&(fd.push(ud.value),fd.length!==od);md=!0);}catch(Ad){vd=!0,cd=Ad}finally{try{if(!md&&ld.return!=null&&(pd=ld.return(),Object(pd)!==pd))return}finally{if(vd)throw cd}}return fd}}(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(Ra){var qa=function(nd,od){if(P(nd)!="object"||!nd)return nd;var ld=nd[Symbol.toPrimitive];if(ld!==void 0){var ud=ld.call(nd,od||"default");if(P(ud)!="object")return ud;throw new TypeError("@@toPrimitive must return a primitive value.")}return(od==="string"?String:Number)(nd)}(Ra,"string");return P(qa)=="symbol"?qa:qa+""}function H(Ra,qa,nd){return(qa=T(qa))in Ra?Object.defineProperty(Ra,qa,{value:nd,enumerable:!0,configurable:!0,writable:!0}):Ra[qa]=nd,Ra}var G=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(),cd=ud.left,dd=ud.top,pd=function(md){var vd=md.clientX,Ad=md.clientY,Nd=vd-cd,Id=Ad-dd;Nd<0&&(Nd=0),Id<0&&(Id=0),Nd>Ra.size&&(Nd=Ra.size),Id>Ra.size&&(Id=Ra.size);var kd=Nd/Ra.size*100,jd=100-Id/Ra.size*100;nd("change",kd,jd)},fd=function(){document.removeEventListener("mousemove",pd),document.removeEventListener("mouseup",fd)};pd(ld),document.addEventListener("mousemove",pd),document.addEventListener("mouseup",fd)}}}});function V(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(".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.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.__scopeId="data-v-24517fec",G.__file="src/picker/Saturation.vue";var Y=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"),cd=ud.createLinearGradient(0,0,0,Ra.height);cd.addColorStop(0,"#FF0000"),cd.addColorStop(.17,"#FF00FF"),cd.addColorStop(.34,"#0000FF"),cd.addColorStop(.51,"#00FFFF"),cd.addColorStop(.68,"#00FF00"),cd.addColorStop(.17*5,"#FFFF00"),cd.addColorStop(1,"#FF0000"),ud.fillStyle=cd,ud.fillRect(0,0,Ra.width,Ra.height)})()}),{canvas:ld,sliderStyle:od,onSelect:function(ud){var cd=ud.target.getBoundingClientRect().top,dd=function(fd){var md=fd.clientY-cd;md<0&&(md=0),md>Ra.height&&(md=Ra.height);var vd=-100*md/Ra.height+100;nd("change",360*vd/100)},pd=function(){document.removeEventListener("mousemove",dd),document.removeEventListener("mouseup",pd)};dd(ud),document.addEventListener("mousemove",dd),document.addEventListener("mouseup",pd)}}}}),$={ref:"canvas"};V(".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.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.__scopeId="data-v-78b9f4f0",Y.__file="src/picker/Hue.vue";var J=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 cd=ld.value.getContext("2d");ld.value.width=Ra.width,ld.value.height=Ra.height;var dd=function(fd){var md=document.createElement("canvas"),vd=md.getContext("2d"),Ad=2*fd;return md.width=Ad,md.height=Ad,vd.fillStyle="#ffffff",vd.fillRect(0,0,Ad,Ad),vd.fillStyle="#ccd5db",vd.fillRect(0,0,fd,fd),vd.fillRect(fd,fd,fd,fd),md}(5);cd.fillStyle=cd.createPattern(dd,"repeat"),cd.fillRect(0,0,Ra.width,Ra.height);var pd=cd.createLinearGradient(0,0,0,Ra.height);pd.addColorStop(.01,"rgba(255,255,255,0)"),pd.addColorStop(.99,Ra.color),cd.fillStyle=pd,cd.fillRect(0,0,Ra.width,Ra.height)};return watch(function(){return Ra.color},function(){ud()}),onMounted(function(){ud()}),{canvas:ld,sliderStyle:od,onSelect:function(cd){var dd=cd.target.getBoundingClientRect().top,pd=function(md){var vd=md.clientY-dd;vd<0&&(vd=0),vd>Ra.height&&(vd=Ra.height);var Ad=parseFloat((vd/Ra.height).toFixed(2));nd("change",Ad)},fd=function(){document.removeEventListener("mousemove",pd),document.removeEventListener("mouseup",fd)};pd(cd),document.addEventListener("mousemove",pd),document.addEventListener("mouseup",fd)}}}}),X={ref:"canvas"};V(".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.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,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},J.__scopeId="data-v-24dc9656",J.__file="src/picker/Alpha.vue";var q={rgb:"RGBA",hex:"HEX",hsl:"HSLA",hsv:"HSVA"},U={rgb:"RGB",hex:"HEX",hsl:"HSL",hsv:"HSV"},W={RGB:"rgb",RGBA:"rgb",HEX:"hex",HSL:"hsl",HSLA:"hsl",HSV:"hsv",HSVA:"hsv"};function K(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(Ra){for(var qa=1;qa<arguments.length;qa++){var nd=arguments[qa]!=null?arguments[qa]:{};qa%2?K(Object(nd),!0).forEach(function(od){H(Ra,od,nd[od])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ra,Object.getOwnPropertyDescriptors(nd)):K(Object(nd)).forEach(function(od){Object.defineProperty(Ra,od,Object.getOwnPropertyDescriptor(nd,od))})}return Ra}var Z=null,ee=function(Ra,qa,nd){var od=ref$1({}),ld=nd||{},ud=ld.placement,cd=ld.defaultStyle,dd={strategy:ld.strategy||"absolute",placement:ud||"auto",onFirstUpdate:function(){Z.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(pd){var fd=pd.state,md=fd.styles,vd=fd.placement,Ad=md.popper;od.value=Q(Q(Q({},Ad),cd),{},{transformOrigin:vd==="top"?"center bottom":"center top"})}}]};return watch(function(){return[unref(Ra),unref(qa)]},function(pd,fd){var md,vd=D(pd,2),Ad=vd[0],Nd=vd[1],Id=D(fd,2),kd=Id[0],jd=Id[1];if(Ad&&Nd&&(kd!==Ad||jd!==kd)){(md=Z)===null||md===void 0||md.destroy();var Fd=Ad.$el||Ad,Md=Nd.$el||Nd;nextTick$1(function(){Z=yn(Fd,Md,dd)})}}),onBeforeUnmount(function(){var pd;Z&&((pd=Z)===null||pd===void 0||pd.destroy(),Z=null)}),{instance:Z,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),cd=ee(od,ld,{strategy:"fixed",defaultStyle:{zIndex:2}}).style,dd=computed(function(){return Array.isArray(Ra.options)&&Ra.options.length>1}),pd=computed(function(){var md=Ra.options,vd=Ra.showAlpha,Ad=Ra.value;return Array.isArray(md)?vd?md.map(function(Nd){return q[Nd]}).filter(function(Nd){return!Nd.includes(Ad)}):md.map(function(Nd){return U[Nd]}).filter(function(Nd){return!Nd.includes(Ad)}):[]}),fd=function(md){var vd,Ad,Nd=md.target;!((vd=unref(od))!==null&&vd!==void 0&&vd.isEqualNode(Nd))&&(!((Ad=unref(od))===null||Ad===void 0)&&Ad.contains(Nd))||(ud.value=!1)};return onMounted(function(){document.addEventListener("mouseup",fd,!1)}),onUnmounted(function(){document.removeEventListener("mouseup",fd,!1)}),{targetRef:od,selectorRef:ld,selectorStyle:cd,isShowSelector:ud,isNeedSelect:dd,formatOptions:pd,onShow:function(){dd.value&&(ud.value=!0)},onFormatChange:function(md){nd("change",W[md])}}}}),re={class:"format"},ne={key:0,class:"arrow"},oe=["onClick"];V(".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(cd){return openBlock(),createElementBlock("div",{class:"selector-item",key:cd,onClick:function(dd){return Ra.onFormatChange(cd)}},toDisplayString(cd),9,oe)}),128))],4)):createCommentVNode("v-if",!0)]}),_:1})])},te.__scopeId="data-v-5f6e8f5e",te.__file="src/picker/input-value/FormatValue.vue";var ae=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(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(Object(nd),!0).forEach(function(od){H(Ra,od,nd[od])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ra,Object.getOwnPropertyDescriptors(nd)):ce(Object(nd)).forEach(function(od){Object.defineProperty(Ra,od,Object.getOwnPropertyDescriptor(nd,od))})}return Ra}V(".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.render=function(Ra,qa,nd,od,ld,ud){var cd=resolveComponent("FormatValue");return openBlock(),createElementBlock("div",ie,[createVNode(cd,{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.__scopeId="data-v-2c454c00",ae.__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),cd=nd*(1-ld*qa),dd=nd*(1-(1-ld)*qa),pd=od%6,fd=[nd,cd,ud,ud,dd,nd][pd],md=[dd,nd,nd,cd,ud,ud][pd],vd=[ud,ud,dd,nd,nd,cd][pd];return{r:Math.round(255*fd),g:Math.round(255*md),b:Math.round(255*vd)}},me=function(Ra,qa,nd){var od,ld,ud=Ra.h,cd=Ra.s,dd=Ra.v,pd=Ra.a;if(nd)switch(pd=(ld=(od=pd).toString().match(/\.(\d{1,2})(\d*)/))&&ld[2].length>0?parseFloat(od.toFixed(2)):od,qa){case"hsl":var fd=se(ud,cd/100,dd/100);return"hsla(".concat(ud.toFixed(0),", ").concat(Math.round(100*fd[1]),"%, ").concat(Math.round(100*fd[2]),"%, ").concat(pd,")");case"hsv":return"hsva(".concat(ud.toFixed(0),", ").concat(Math.round(cd),"%, ").concat(Math.round(dd),"%, ").concat(pd,")");case"rgb":var md=ve(ud,cd,dd),vd=md.r,Ad=md.g,Nd=md.b;return"rgba(".concat(vd,", ").concat(Ad,", ").concat(Nd,", ").concat(pd,")");default:return"".concat(pe(ve(ud,cd,dd))).concat(de(255*pd))}else switch(qa){case"hsl":var Id=se(ud,cd/100,dd/100);return"hsl(".concat(ud.toFixed(0),", ").concat(Math.round(100*Id[1]),"%, ").concat(Math.round(100*Id[2]),"%)");case"hsv":return"hsv(".concat(ud.toFixed(0),", ").concat(Math.round(cd),"%, ").concat(Math.round(dd),"%)");case"rgb":var kd=ve(ud,cd,dd),jd=kd.r,Fd=kd.g,Md=kd.b;return"rgb(".concat(jd,", ").concat(Fd,", ").concat(Md,")");default:return pe(ve(ud,cd,dd))}},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),cd=Math.min(qa,nd,od),dd=ud,pd=ud-cd,fd=ud===0?0:pd/ud;if(ud===cd)ld=0;else{switch(ud){case qa:ld=(nd-od)/pd+(nd<od?6:0);break;case nd:ld=(od-qa)/pd+2;break;case od:ld=(qa-nd)/pd+4}ld/=6}return{h:360*ld,s:100*fd,v:100*dd}},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=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(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(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(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,cd=nd.a;return ue(ue({},ge({r:od,g:ld,b:ud})),{},{a:+cd});case"hsv":var dd=ke(Ra);return{h:dd.h,s:dd.s,v:dd.v,a:dd.a};case"hsl":var pd=Se(Ra),fd=pd.h,md=pd.s,vd=pd.l,Ad=pd.a;return ue(ue({},ye({h:fd,s:md,l:vd})),{},{a:+Ad});default:var Nd=be(Ra),Id=Nd.r,kd=Nd.g,jd=Nd.b,Fd=Nd.a;return ue(ue({},ge({r:Id,g:kd,b:jd})),{},{a:Fd/255})}else switch(qa){case"rgb":return ue(ue({},ge(we(Ra))),{},{a:1});case"hsv":var Md=ke(Ra);return{h:Md.h,s:Md.s,v:Md.v,a:1};case"hsl":return ue(ue({},ye(Se(Ra))),{},{a:1});default:return ue(ue({},ge(be(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"):""}}),cd=function(){var dd=qa.value.getContext("2d");qa.value.width=unref(od),qa.value.height=unref(ld);var pd=function(fd){var md=document.createElement("canvas"),vd=md.getContext("2d"),Ad=2*fd;return md.width=Ad,md.height=Ad,vd.fillStyle="#ffffff",vd.fillRect(0,0,Ad,Ad),vd.fillStyle="#ccd5db",vd.fillRect(0,0,fd,fd),vd.fillRect(fd,fd,fd,fd),md}(5);dd.fillStyle=dd.createPattern(pd,"repeat"),dd.fillRect(0,0,unref(od),unref(ld)),dd.fillStyle=Ra.value,dd.fillRect(0,0,unref(od),unref(ld))};return watch(function(){return Ra.value},function(){cd()}),onMounted(function(){cd()}),{canvas:qa,colorItemStyle:ud}}}),Ie=["draggable"];V(".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={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(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(".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 cd=resolveComponent("color-item");return openBlock(),createElementBlock("div",_e,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.useColors,function(dd,pd){return openBlock(),createBlock(cd,{key:pd,class:"color-item",size:16,value:dd,border:!1,"border-radius":3,selected:Ra.selectedIndex===pd,onClick:withModifiers(function(fd){return Ra.onSelectColor(dd,+pd)},["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,Hue:Y,Alpha:J,InputValue:ae},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(),cd=ref$1(),dd=function(){var kd,jd=(kd=Ra.value)===null||kd===void 0?void 0:kd.trim();if(jd!=null&&jd!==""){var Fd=Oe(jd);return Ae(Ce(jd,Fd,Ra.showAlpha))}return null};watch(function(){return Ra.value},function(){Ra.value!==unref(cd)&&(ld.value=dd())},{immediate:!0}),watch(function(){return[unref(ld),Ra.format]},function(kd){var jd=D(kd,2),Fd=jd[0],Md=jd[1],Ld="";Fd!=null?(Ld=me(Pe({},Fd),Ra.format,Ra.showAlpha),ud.value=Pe({},Fd)):ud.value=null,cd.value=Ld;var Hd=dd();JSON.stringify(Fd)!==JSON.stringify(Hd)&&JSON.stringify(Fd)!==JSON.stringify(Md)&&nd("change",Ld)},{immediate:!0});var pd=computed(function(){var kd;return((kd=unref(ld))===null||kd===void 0?void 0:kd.h)||0}),fd=computed(function(){var kd;return((kd=unref(ld))===null||kd===void 0?void 0:kd.s)||0}),md=computed(function(){var kd;return((kd=unref(ld))===null||kd===void 0?void 0:kd.v)||0}),vd=computed(function(){var kd,jd;return((kd=unref(ld))===null||kd===void 0?void 0:kd.a)!=null?(jd=unref(ld))===null||jd===void 0?void 0:jd.a:1}),Ad=computed(function(){return ve(unref(pd),unref(fd),unref(md))}),Nd=computed(function(){return"rgb(".concat(unref(Ad).r,", ").concat(unref(Ad).g,", ").concat(unref(Ad).b,")")}),Id=ref$1(-1);return{h:pd,s:fd,v:md,a:vd,rgbStr:Nd,onSelectSaturation:function(kd,jd){Id.value=-1,unref(ld)==null?ld.value={h:unref(pd),s:kd,v:jd,a:unref(vd)}:ld.value=Pe(Pe({},unref(ld)),{},{s:kd,v:jd})},onSelectHue:function(kd){Id.value=-1,unref(ld)==null&&(ld.value={h:kd,s:unref(fd),v:unref(md),a:unref(vd)}),ld.value=Pe(Pe({},unref(ld)),{},{h:kd})},onSelectAlpha:function(kd){Id.value=-1,unref(ld)==null?ld.value={h:unref(pd),s:unref(fd),v:unref(md),a:kd}:ld.value=Pe(Pe({},unref(ld)),{},{a:kd})},handleInputFormat:function(kd){return Ra.showAlpha?q[kd]:U[kd]},colorValue:cd,pickerStyle:od,onInputChange:function(kd){Id.value=-1,cd.value=kd},handleChange:function(){var kd,jd=(kd=unref(cd))===null||kd===void 0?void 0:kd.trim();if(jd!==""){var Fd=Ra.showAlpha,Md=Oe(jd),Ld=Ae(Ce(jd,Md,Fd)),Hd=function(Gd){if(!Gd)return!1;var Vd=Gd.h,Kd=Gd.s,mf=Gd.v,Wd=Gd.a;return!(isNaN(Vd)||isNaN(Kd)||isNaN(mf)||isNaN(Wd))}(Ld);Hd?ld.value=Ld:unref(ud)!=null?ld.value=unref(ud):cd.value=""}else ld.value=null},selectColorIndex:Id,onSelectColor:function(kd,jd){if(Id.value=jd,(kd=kd.trim())==="")ld.value=null;else{var Fd=Oe(kd);Fd?function(Md,Ld,Hd){if(Md.length!==0){var Gd=Ce(Md,Ld,Hd),Vd=Gd.h,Kd=Gd.s,mf=Gd.v;if(!(isNaN(Vd)||isNaN(Kd)||isNaN(mf))){var Wd=1,Zd=Gd.a;isNaN(Zd)||(Wd=Zd),ld.value={h:Vd,s:Kd,v:mf,a:Wd}}}}(kd,Fd,!0):ld.value=null}},onFormatChange:function(kd){nd("formatChange",kd)}}}}),Le={class:"picker-inner"},Be={class:"picker-header"};V(".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 cd=resolveComponent("saturation"),dd=resolveComponent("hue"),pd=resolveComponent("alpha"),fd=resolveComponent("input-value"),md=resolveComponent("Colors");return openBlock(),createElementBlock("div",{class:"picker",style:normalizeStyle(Ra.pickerStyle)},[createBaseVNode("div",Le,[createBaseVNode("div",Be,[createVNode(cd,{class:"saturation",hue:Ra.h,saturation:Ra.s,value:Ra.v,onChange:Ra.onSelectSaturation},null,8,["hue","saturation","value","onChange"]),createVNode(dd,{class:"hue",hue:Ra.h,onChange:Ra.onSelectHue},null,8,["hue","onChange"]),Ra.showAlpha?(openBlock(),createBlock(pd,{key:0,class:"alpha",alpha:Ra.a,color:Ra.rgbStr,onChange:Ra.onSelectAlpha},null,8,["alpha","color","onChange"])):createCommentVNode("v-if",!0)]),createVNode(fd,{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(md,{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(".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(Wd){return xe(Wd,"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 Wd=Ra.value||"",Zd=Array.isArray(Wd)?Wd:[Wd];od.value=Zd.map(function(Xd){return xe(Xd,unref(ud),Ra.showAlpha)})},{immediate:!0});var cd=ref$1(void 0),dd=computed(function(){return unref(od)[unref(cd)]}),pd=ref$1(!1);watch(function(){return Ra.showPicker},function(){pd.value=Ra.showPicker},{immediate:!0});var fd,md,vd=ref$1(null),Ad=ref$1(null),Nd=ee(vd,Ad,{defaultStyle:{zIndex:Ra.zIndex},strategy:Ra.position,placement:Ra.placement}).style,Id=function(){unref(vd)==null&&(vd.value=unref(mf)[0]),unref(cd)==null&&(cd.value=0),Ra.showPicker===void 0?pd.value=!0:nd("update:showPicker",!0)},kd=function(){cd.value=void 0,Ra.showPicker===void 0?pd.value=!1:nd("update:showPicker",!1),nd("closePicker",toRaw(Array.isArray(Ra.value)||Ra.addColor?unref(od):unref(od)[0]))},jd=ref$1(),Fd=function(){var Wd=L(M.mark(function Zd(Xd){var bf,yf,Ef,gf;return M.wrap(function(xf){for(;;)switch(xf.prev=xf.next){case 0:if(yf=Xd.target,(Ef=(bf=yf.dataset)===null||bf===void 0?void 0:bf.index)!=null&&Ef!==""){xf.next=4;break}return xf.abrupt("return");case 4:if(gf=+Ef,unref(cd)!==gf){xf.next=7;break}return xf.abrupt("return");case 7:unref(cd)!=null&&unref(cd)!==gf?(kd(),fd&&clearTimeout(fd),fd=setTimeout(function(){Id(),clearTimeout(fd)},100)):Id(),cd.value=gf,vd.value=yf;case 10:case"end":return xf.stop()}},Zd)}));return function(Zd){return Wd.apply(this,arguments)}}(),Md=function(){var Wd=L(M.mark(function Zd(Xd){var bf,yf,Ef,gf,xf;return M.wrap(function(Af){for(;;)switch(Af.prev=Af.next){case 0:if(gf=Xd.target,!(!((bf=unref(jd))!==null&&bf!==void 0&&bf.isEqualNode(gf))&&(!((yf=unref(jd))===null||yf===void 0)&&yf.contains(gf)))){Af.next=4;break}return Af.abrupt("return");case 4:if(xf=(Ef=unref(Ad))===null||Ef===void 0?void 0:Ef.$el,!(xf!=null&&xf.contains(gf))){Af.next=8;break}return Af.abrupt("return");case 8:md&&clearTimeout(md),md=setTimeout(function(){unref(pd)&&kd()},0);case 10:case"end":return Af.stop()}},Zd)}));return function(Zd){return Wd.apply(this,arguments)}}();watch(pd,function(){unref(pd)&&(Id(),clearTimeout(md))});var Ld,Hd=ref$1(Ra.max>unref(od).length),Gd=computed(function(){return typeof Ra.popupContainer=="string"||P(Ra.popupContainer)==="object"&&Ra.popupContainer!=null?Ra.popupContainer:"body"}),Vd=computed(function(){return typeof Ra.popupContainer=="boolean"&&Ra.popupContainer===!1}),Kd=computed(function(){return Ra.theme});watch(function(){return[Ra.theme,unref(Ad)]},function(){nextTick$1(function(){var Wd,Zd;(Wd=unref(jd))===null||Wd===void 0||Wd.setAttribute("pick-colors-theme",unref(Kd)),(Zd=unref(Ad))===null||Zd===void 0||(Zd=Zd.$el)===null||Zd===void 0||Zd.setAttribute("pick-colors-theme",unref(Kd))})},{immediate:!0}),provide("theme",{theme:Kd});var mf=ref$1([]);return onMounted(function(){document.addEventListener("mouseup",Md,!1),Ra.showPicker&&Id()}),onUnmounted(function(){document.removeEventListener("mouseup",Md,!1),fd&&(clearTimeout(fd),fd=null),md&&(clearTimeout(md),md=null)}),{valueList:od,colorItemSelected:function(Wd){return(Ra.addColor?unref(od).length>0:unref(od).length>1)&&unref(cd)===Wd},selectedColor:dd,selectedIndex:cd,isShowPicker:pd,addColorItemShow:Hd,onPickerChange:function(Wd){var Zd=unref(cd),Xd=unref(od).slice(),bf=unref(od).length;if(Zd!=null){Zd>=0?Xd[Zd]=Wd:(cd.value=bf,Xd.push(Wd));var yf="";yf=Array.isArray(Ra.value)||Ra.addColor?Xd:Wd,od.value=Array.isArray(yf)?yf:[yf],nd("update:value",yf),nd("change",yf,Wd,Zd),Ra.addColor&&bf>=Ra.max&&(Hd.value=!1,nd("overflowMax"))}},colorPicker:jd,onColorClick:Fd,pickerRef:Ad,onColorItemDragStart:function(Wd){Wd.dataTransfer.effectAllowed="move";var Zd=Wd.target;Ld=+Zd.dataset.index},onColorItemDragOver:function(Wd){},onColorItemDrop:function(Wd){var Zd=+Wd.target.dataset.index,Xd=E(unref(od)),bf=Xd[Ld];Xd.splice(Ld,1);var yf=Xd.slice(0,Zd),Ef=Xd.splice(Zd),gf=yf.concat([bf]).concat(Ef);nd("update:value",gf),nd("change",gf,gf[Ld],Ld)},colorItemsRef:mf,pickerStyle:Nd,values:ld,teleportDisabled:Vd,toPopupContainer:Gd,formatValue:ud,onFormatChange:function(Wd){ud.value=Wd,nd("formatChange",Wd)}}}});V(".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 cd=resolveComponent("color-item"),dd=resolveComponent("add-color-item"),pd=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(fd,md){return openBlock(),createBlock(cd,{class:"color-item",key:md,ref_for:!0,ref:function(vd){return Ra.colorItemsRef[md]=vd},size:Ra.size,width:Ra.width,height:Ra.height,value:fd,selected:Ra.colorItemSelected(md),"data-index":md,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(dd,{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(pd,{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:cd,codeBlockTheme:dd,legend:pd,isMacCodeBlock:fd,cssEditor:md}=storeToRefs(qa),{resetStyleConfirm:vd,themeChanged:Ad,fontChanged:Nd,sizeChanged:Id,colorChanged:kd,codeBlockThemeChanged:jd,legendChanged:Fd,macCodeBlockChanged:Md}=qa,Ld=ref$1(null);function Hd(){var Wd;(Wd=Ld.value)==null||Wd.show()}function Gd(){nd(),setTimeout(()=>{md.value.refresh()},50)}const Vd=useTemplateRef("pickColorsContainer"),Kd=ref$1("rgb"),mf=ref$1(["rgb","hex","hsl","hsv"]);return(Wd,Zd)=>{const Xd=_sfc_main$j,bf=_sfc_main$9,yf=_sfc_main$e,Ef=_sfc_main$f,gf=_sfc_main$g,xf=_sfc_main$h,Af=_sfc_main$k,Lf=_sfc_main$l,Xf=_sfc_main$m;return openBlock(),createBlock(Xf,null,{default:withCtx(()=>[createVNode(Xd,null,{default:withCtx(()=>Zd[1]||(Zd[1]=[createTextVNode(" 样式 ")])),_:1}),createVNode(Lf,{class:"w-56",align:"start"},{default:withCtx(()=>[createVNode(bf,{title:"主题",options:unref(themeOptions),current:unref(od),change:unref(Ad)},null,8,["options","current","change"]),createVNode(yf),createVNode(bf,{title:"字体",options:unref(fontFamilyOptions),current:unref(ld),change:unref(Nd)},null,8,["options","current","change"]),createVNode(bf,{title:"字号",options:unref(fontSizeOptions),current:unref(ud),change:unref(Id)},null,8,["options","current","change"]),createVNode(bf,{title:"主题色",options:unref(colorOptions),current:unref(cd),change:unref(kd)},null,8,["options","current","change"]),createVNode(bf,{title:"代码块主题",options:unref(codeBlockThemeOptions),current:unref(dd),change:unref(jd)},null,8,["options","current","change"]),createVNode(bf,{title:"图注格式",options:unref(legendOptions),current:unref(pd),change:unref(Fd)},null,8,["options","current","change"]),createVNode(yf),createVNode(Af,{onClick:withModifiers(Hd,["self","prevent"])},{default:withCtx(()=>[createVNode(xf,{"open-delay":100},{default:withCtx(()=>[createVNode(Ef,{class:"w-full flex"},{default:withCtx(()=>Zd[2]||(Zd[2]=[createTextVNode(" 自定义主题色 ")])),_:1}),createVNode(gf,{side:"right",class:"w-min"},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"pickColorsContainer",ref:Vd},[createVNode(unref(ze),{value:unref(cd),"onUpdate:value":Zd[0]||(Zd[0]=Jf=>isRef(cd)?cd.value=Jf:null),"show-alpha":"",format:unref(Kd),"format-options":unref(mf),theme:unref(qa).isDark?"dark":"light","popup-container":unref(Vd),onChange:unref(qa).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])],512)]),_:1})]),_:1})]),_:1}),createVNode(Af,{onClick:Gd},{default:withCtx(()=>Zd[3]||(Zd[3]=[createTextVNode(" 自定义 CSS ")])),_:1}),createVNode(yf),createVNode(Af,{checked:unref(fd),onClick:unref(Md)},{default:withCtx(()=>Zd[4]||(Zd[4]=[createTextVNode(" Mac 代码块 ")])),_:1},8,["checked","onClick"]),createVNode(yf),createVNode(Af,{divided:"",onClick:unref(vd)},{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:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(jh),mergeProps(unref(ud),{class:unref(cn$4)("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",cd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$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,cd=_sfc_main$7,dd=_sfc_main$l,pd=_sfc_main$m;return openBlock(),createBlock(pd,null,{default:withCtx(()=>[createVNode(ud,null,{default:withCtx(()=>ld[2]||(ld[2]=[createTextVNode(" 编辑 ")])),_:1}),createVNode(dd,{align:"start"},{default:withCtx(()=>[createVNode(cd,{onClick:ld[0]||(ld[0]=fd=>unref(nd)())},{default:withCtx(()=>[createVNode(unref(CloudUpload),{class:"mr-2 h-4 w-4"}),ld[3]||(ld[3]=createTextVNode(" 上传图片 "))]),_:1}),createVNode(cd,{onClick:ld[1]||(ld[1]=fd=>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$4)("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:cd}=qa;return(dd,pd)=>{const fd=_sfc_main$j,md=_sfc_main$7,vd=_sfc_main$e,Ad=_sfc_main$k,Nd=_sfc_main$l,Id=_sfc_main$m;return openBlock(),createBlock(Id,null,{default:withCtx(()=>[createVNode(fd,null,{default:withCtx(()=>pd[5]||(pd[5]=[createTextVNode(" 文件 ")])),_:1}),createVNode(Nd,{align:"start"},{default:withCtx(()=>[createVNode(md,{onClick:pd[0]||(pd[0]=kd=>unref(cd)())},{default:withCtx(()=>[createVNode(unref(Upload),{class:"mr-2 size-4"}),pd[6]||(pd[6]=createTextVNode(" 导入 .md "))]),_:1}),createVNode(md,{onClick:pd[1]||(pd[1]=kd=>unref(ud)())},{default:withCtx(()=>[createVNode(unref(Download),{class:"mr-2 size-4"}),pd[7]||(pd[7]=createTextVNode(" 导出 .md "))]),_:1}),createVNode(md,{onClick:pd[2]||(pd[2]=kd=>unref(ld)())},{default:withCtx(()=>[createVNode(unref(FileCode),{class:"mr-2 size-4"}),pd[8]||(pd[8]=createTextVNode(" 导出 .html "))]),_:1}),createVNode(vd),createVNode(Ad,{checked:unref(nd),"onUpdate:checked":pd[3]||(pd[3]=kd=>isRef(nd)?nd.value=kd:null)},{default:withCtx(()=>pd[9]||(pd[9]=[createTextVNode(" 深色模式 ")])),_:1},8,["checked"]),createVNode(vd),createVNode(Ad,{checked:unref(od),"onUpdate:checked":pd[4]||(pd[4]=kd=>isRef(od)?od.value=kd:null)},{default:withCtx(()=>pd[10]||(pd[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:cd,isCiteStatus:dd,output:pd,primaryColor:fd}=storeToRefs(ld),{toggleDark:md,editorRefresh:vd,citeStatusChanged:Ad}=ld;function Nd(){nd("startCopy"),setTimeout(()=>{function Md(Hd){const Gd=document.createElement("div");return Gd.innerHTML=Hd,Gd.querySelectorAll("li > ul, li > ol").forEach(Kd=>{Kd.parentElement.insertAdjacentElement("afterend",Kd)}),Gd.innerHTML}const Ld=cd.value;Ld&&md(),nextTick$1(()=>{solveWeChatImage();const Hd=document.getElementById("output");Hd.innerHTML=mergeCss(Hd.innerHTML),Hd.innerHTML=Md(Hd.innerHTML),Hd.innerHTML=Hd.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,fd.value).replace(/--md-primary-color:.+?;/g,"").replace(/<span class="nodeLabel"([^>]*)><p[^>]*>(.*?)<\/p><\/span>/g,'<span class="nodeLabel"$1>$2</span>'),Hd.focus();const Gd=document.createElement("p");Gd.style.fontSize="0",Gd.style.lineHeight="0",Gd.style.margin="0",Gd.innerHTML=" ",Hd.insertBefore(Gd,Hd.firstChild),Hd.querySelectorAll(".nodeLabel").forEach(mf=>{const Wd=mf.parentElement,Zd=Wd.getAttribute("xmlns"),Xd=Wd.getAttribute("style"),bf=document.createElement("section");bf.setAttribute("xmlns",Zd),bf.setAttribute("style",Xd),bf.innerHTML=Wd.innerHTML;const yf=Wd.parentElement;yf.innerHTML="",yf.appendChild(bf)}),window.getSelection().removeAllRanges();const Kd=document.createRange();Kd.setStartBefore(Hd.firstChild),Kd.setEndAfter(Hd.lastChild),window.getSelection().addRange(Kd),document.execCommand("copy"),window.getSelection().removeAllRanges(),Hd.innerHTML=pd.value,Ld&&nextTick$1(()=>md()),Ke$1.success("已复制渲染后的文章到剪贴板,可直接到公众号后台粘贴"),vd(),nd("endCopy")})},350)}function Id(){ud.toggleShowCssEditor(),setTimeout(()=>{ld.cssEditor.refresh()},50)}const kd=useTemplateRef("pickColorsContainer"),jd=ref$1("rgb"),Fd=ref$1(["rgb","hex","hsl","hsv"]);return(Md,Ld)=>{const Hd=_sfc_main$4,Gd=_sfc_main$j,Vd=_sfc_main$5,Kd=_sfc_main$k,mf=_sfc_main$e,Wd=_sfc_main$l,Zd=_sfc_main$m,Xd=_sfc_main$6,bf=_sfc_main$8,yf=_sfc_main$i,Ef=_sfc_main$o,gf=_sfc_main$1h,xf=_sfc_main$p,Af=_sfc_main$P,Lf=_sfc_main$Q,Xf=_sfc_main$T,Jf=_sfc_main$O,Zf=_sfc_main$U,Bf=_sfc_main$q,Df=_sfc_main$r,Uf=_sfc_main$s;return openBlock(),createElementBlock("header",_hoisted_1$1,[createVNode(Ef,{class:"menubar mr-auto"},{default:withCtx(()=>[createVNode(Hd),createVNode(Zd,null,{default:withCtx(()=>[createVNode(Gd,null,{default:withCtx(()=>Ld[17]||(Ld[17]=[createTextVNode(" 格式 ")])),_:1}),createVNode(Wd,{class:"w-60",align:"start"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(od,({label:Gf,kbd:zf,emitArgs:Tf})=>createVNode(Kd,{key:Gf,onClick:vf=>Tf[0]==="addFormat"?Md.$emit(Tf[0],Tf[1]):Md.$emit(Tf[0])},{default:withCtx(()=>[createTextVNode(toDisplayString(Gf)+" ",1),createVNode(Vd,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(zf,vf=>(openBlock(),createElementBlock("kbd",{key:vf,class:"mx-1 bg-gray-2 dark:bg-stone-9"},toDisplayString(vf),1))),128))]),_:2},1024)]),_:2},1032,["onClick"])),64)),createVNode(mf),createVNode(Kd,{checked:unref(dd),onClick:Ld[0]||(Ld[0]=Gf=>unref(Ad)())},{default:withCtx(()=>Ld[18]||(Ld[18]=[createTextVNode(" 微信外链转底部引用 ")])),_:1},8,["checked"])]),_:1})]),_:1}),createVNode(Xd),createVNode(bf),createVNode(yf)]),_:1}),unref(ld).isOpenPostSlider?(openBlock(),createBlock(gf,{key:1,variant:"outline",class:"mr-2",onClick:Ld[2]||(Ld[2]=Gf=>unref(ld).isOpenPostSlider=!1)},{default:withCtx(()=>[createVNode(unref(PanelLeftClose),{class:"size-4"})]),_:1})):(openBlock(),createBlock(gf,{key:0,variant:"outline",class:"mr-2",onClick:Ld[1]||(Ld[1]=Gf=>unref(ld).isOpenPostSlider=!0)},{default:withCtx(()=>[createVNode(unref(PanelLeftOpen),{class:"size-4"})]),_:1})),createVNode(Df,null,{default:withCtx(()=>[createVNode(xf,null,{default:withCtx(()=>[createVNode(gf,{variant:"outline"},{default:withCtx(()=>[createVNode(unref(Settings),{class:"h-4 w-4"})]),_:1})]),_:1}),createVNode(Bf,{class:"h-100 w-100 overflow-auto px-6",align:"end"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$1,[createBaseVNode("div",_hoisted_3$1,[Ld[19]||(Ld[19]=createBaseVNode("h2",null,"主题",-1)),createBaseVNode("div",_hoisted_4$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(themeOptions),({label:Gf,value:zf})=>(openBlock(),createBlock(gf,{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(Gf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_5$1,[Ld[20]||(Ld[20]=createBaseVNode("h2",null,"字体",-1)),createBaseVNode("div",_hoisted_6$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontFamilyOptions),({label:Gf,value:zf})=>(openBlock(),createBlock(gf,{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(Gf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_7,[Ld[21]||(Ld[21]=createBaseVNode("h2",null,"字号",-1)),createBaseVNode("div",_hoisted_8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontSizeOptions),({value:Gf,desc:zf})=>(openBlock(),createBlock(gf,{key:Gf,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).fontSize===Gf}]),onClick:Tf=>unref(ld).sizeChanged(Gf)},{default:withCtx(()=>[createTextVNode(toDisplayString(zf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_9,[Ld[22]||(Ld[22]=createBaseVNode("h2",null,"主题色",-1)),createBaseVNode("div",_hoisted_10,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(colorOptions),({label:Gf,value:zf})=>(openBlock(),createBlock(gf,{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(Gf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_11,[Ld[23]||(Ld[23]=createBaseVNode("h2",null,"自定义主题色",-1)),createBaseVNode("div",{ref_key:"pickColorsContainer",ref:kd},[unref(kd)?(openBlock(),createBlock(unref(ze),{key:0,value:unref(fd),"onUpdate:value":Ld[3]||(Ld[3]=Gf=>isRef(fd)?fd.value=Gf:null),"show-alpha":"",format:unref(jd),"format-options":unref(Fd),theme:unref(ld).isDark?"dark":"light","popup-container":unref(kd),onChange:unref(ld).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])):createCommentVNode("",!0)],512)]),createBaseVNode("div",_hoisted_12,[Ld[24]||(Ld[24]=createBaseVNode("h2",null,"代码块主题",-1)),createBaseVNode("div",null,[createVNode(Zf,{modelValue:unref(ld).codeBlockTheme,"onUpdate:modelValue":[Ld[4]||(Ld[4]=Gf=>unref(ld).codeBlockTheme=Gf),unref(ld).codeBlockThemeChanged]},{default:withCtx(()=>[createVNode(Lf,null,{default:withCtx(()=>[createVNode(Af,{placeholder:"Select a fruit"})]),_:1}),createVNode(Jf,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(codeBlockThemeOptions),({label:Gf,value:zf})=>(openBlock(),createBlock(Xf,{key:Gf,value:zf},{default:withCtx(()=>[createTextVNode(toDisplayString(Gf),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])])]),createBaseVNode("div",_hoisted_13,[Ld[25]||(Ld[25]=createBaseVNode("h2",null,"图注格式",-1)),createBaseVNode("div",_hoisted_14,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(legendOptions),({label:Gf,value:zf})=>(openBlock(),createBlock(gf,{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(Gf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_15,[Ld[28]||(Ld[28]=createBaseVNode("h2",null,"Mac 代码块",-1)),createBaseVNode("div",_hoisted_16,[createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isMacCodeBlock}]),variant:"outline",onClick:Ld[5]||(Ld[5]=Gf=>!unref(ld).isMacCodeBlock&&unref(ld).macCodeBlockChanged())},{default:withCtx(()=>Ld[26]||(Ld[26]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isMacCodeBlock}]),variant:"outline",onClick:Ld[6]||(Ld[6]=Gf=>unref(ld).isMacCodeBlock&&unref(ld).macCodeBlockChanged())},{default:withCtx(()=>Ld[27]||(Ld[27]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_17,[Ld[31]||(Ld[31]=createBaseVNode("h2",null,"微信外链转底部引用",-1)),createBaseVNode("div",_hoisted_18,[createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isCiteStatus}]),variant:"outline",onClick:Ld[7]||(Ld[7]=Gf=>!unref(ld).isCiteStatus&&unref(ld).citeStatusChanged())},{default:withCtx(()=>Ld[29]||(Ld[29]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isCiteStatus}]),variant:"outline",onClick:Ld[8]||(Ld[8]=Gf=>unref(ld).isCiteStatus&&unref(ld).citeStatusChanged())},{default:withCtx(()=>Ld[30]||(Ld[30]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_19,[Ld[34]||(Ld[34]=createBaseVNode("h2",null,"段落首行缩进",-1)),createBaseVNode("div",_hoisted_20,[createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isUseIndent}]),variant:"outline",onClick:Ld[9]||(Ld[9]=Gf=>!unref(ld).isUseIndent&&unref(ld).useIndentChanged())},{default:withCtx(()=>Ld[32]||(Ld[32]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isUseIndent}]),variant:"outline",onClick:Ld[10]||(Ld[10]=Gf=>unref(ld).isUseIndent&&unref(ld).useIndentChanged())},{default:withCtx(()=>Ld[33]||(Ld[33]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_21,[Ld[37]||(Ld[37]=createBaseVNode("h2",null,"自定义 CSS 面板",-1)),createBaseVNode("div",_hoisted_22,[createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ud).isShowCssEditor}]),variant:"outline",onClick:Ld[11]||(Ld[11]=Gf=>!unref(ud).isShowCssEditor&&Id())},{default:withCtx(()=>Ld[35]||(Ld[35]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ud).isShowCssEditor}]),variant:"outline",onClick:Ld[12]||(Ld[12]=Gf=>unref(ud).isShowCssEditor&&Id())},{default:withCtx(()=>Ld[36]||(Ld[36]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_23,[Ld[40]||(Ld[40]=createBaseVNode("h2",null,"编辑区位置",-1)),createBaseVNode("div",_hoisted_24,[createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isEditOnLeft}]),variant:"outline",onClick:Ld[13]||(Ld[13]=Gf=>!unref(ld).isEditOnLeft&&unref(ld).toggleEditOnLeft())},{default:withCtx(()=>Ld[38]||(Ld[38]=[createTextVNode(" 左侧 ")])),_:1},8,["class"]),createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isEditOnLeft}]),variant:"outline",onClick:Ld[14]||(Ld[14]=Gf=>unref(ld).isEditOnLeft&&unref(ld).toggleEditOnLeft())},{default:withCtx(()=>Ld[39]||(Ld[39]=[createTextVNode(" 右侧 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_25,[Ld[41]||(Ld[41]=createBaseVNode("h2",null,"模式",-1)),createBaseVNode("div",_hoisted_26,[createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(cd)}]),variant:"outline",onClick:Ld[15]||(Ld[15]=Gf=>unref(ld).toggleDark(!1))},{default:withCtx(()=>[createVNode(unref(Sun),{class:"h-4 w-4"})]),_:1},8,["class"]),createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(cd)}]),variant:"outline",onClick:Ld[16]||(Ld[16]=Gf=>unref(ld).toggleDark(!0))},{default:withCtx(()=>[createVNode(unref(Moon),{class:"h-4 w-4"})]),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_27,[Ld[43]||(Ld[43]=createBaseVNode("h2",null,"样式配置",-1)),createVNode(gf,{onClick:unref(ld).resetStyleConfirm},{default:withCtx(()=>Ld[42]||(Ld[42]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])])])]),_:1})]),_:1}),createVNode(gf,{variant:"outline",class:"mx-2",onClick:Nd},{default:withCtx(()=>Ld[44]||(Ld[44]=[createTextVNode(" 复制 ")])),_:1}),createVNode(Uf),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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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$1=kindOfTest("ArrayBuffer");function isArrayBufferView(Ra){let qa;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?qa=ArrayBuffer.isView(Ra):qa=Ra&&Ra.buffer&&isArrayBuffer$1(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$1,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),cd=ud.length;let dd;for(od=0;od<cd;od++)dd=ud[od],qa.call(null,Ra[dd],dd,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,cd;const dd={};if(qa=qa||{},Ra==null)return qa;do{for(ld=Object.getOwnPropertyNames(Ra),ud=ld.length;ud-- >0;)cd=ld[ud],(!od||od(cd,Ra,qa))&&!dd[cd]&&(qa[cd]=Ra[cd],dd[cd]=!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 cd;(cd=qa(ld,ud,Ra))!==!1&&(od[ud]=cd||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,(cd,dd)=>{const pd=nd(cd,ld+1);!isUndefined(pd)&&(ud[dd]=pd)}),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$1,isBuffer,isFormData,isArrayBufferView,isString:isString$1,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject:isObject$1,isPlainObject,isReadableStream:isReadableStream$1,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 cd=Object.create(prototype$1);return utils$2.toFlatObject(Ra,cd,function(pd){return pd!==Error.prototype},dd=>dd!=="isAxiosError"),AxiosError.call(cd,Ra.message,qa,nd,od,ld),cd.cause=Ra,cd.name=Ra.name,ud&&Object.assign(cd,ud),cd};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(kd,jd){return!utils$2.isUndefined(jd[kd])});const od=nd.metaTokens,ld=nd.visitor||md,ud=nd.dots,cd=nd.indexes,pd=(nd.Blob||typeof Blob<"u"&&Blob)&&utils$2.isSpecCompliantForm(qa);if(!utils$2.isFunction(ld))throw new TypeError("visitor must be a function");function fd(Id){if(Id===null)return"";if(utils$2.isDate(Id))return Id.toISOString();if(!pd&&utils$2.isBlob(Id))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$2.isArrayBuffer(Id)||utils$2.isTypedArray(Id)?pd&&typeof Blob=="function"?new Blob([Id]):Buffer$4.from(Id):Id}function md(Id,kd,jd){let Fd=Id;if(Id&&!jd&&typeof Id=="object"){if(utils$2.endsWith(kd,"{}"))kd=od?kd:kd.slice(0,-2),Id=JSON.stringify(Id);else if(utils$2.isArray(Id)&&isFlatArray(Id)||(utils$2.isFileList(Id)||utils$2.endsWith(kd,"[]"))&&(Fd=utils$2.toArray(Id)))return kd=removeBrackets(kd),Fd.forEach(function(Ld,Hd){!(utils$2.isUndefined(Ld)||Ld===null)&&qa.append(cd===!0?renderKey([kd],Hd,ud):cd===null?kd:kd+"[]",fd(Ld))}),!1}return isVisitable(Id)?!0:(qa.append(renderKey(jd,kd,ud),fd(Id)),!1)}const vd=[],Ad=Object.assign(predicates,{defaultVisitor:md,convertValue:fd,isVisitable});function Nd(Id,kd){if(!utils$2.isUndefined(Id)){if(vd.indexOf(Id)!==-1)throw Error("Circular reference detected in "+kd.join("."));vd.push(Id),utils$2.forEach(Id,function(Fd,Md){(!(utils$2.isUndefined(Fd)||Fd===null)&&ld.call(qa,Fd,utils$2.isString(Md)?Md.trim():Md,kd,Ad))===!0&&Nd(Fd,kd?kd.concat(Md):[Md])}),vd.pop()}}if(!utils$2.isObject(Ra))throw new TypeError("data must be an object");return Nd(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 cd=Ra.indexOf("#");cd!==-1&&(Ra=Ra.slice(0,cd)),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 cd=nd[ud++];if(cd==="__proto__")return!0;const dd=Number.isFinite(+cd),pd=ud>=nd.length;return cd=!cd&&utils$2.isArray(ld)?ld.length:cd,pd?(utils$2.hasOwnProp(ld,cd)?ld[cd]=[ld[cd],od]:ld[cd]=od,!dd):((!ld[cd]||!utils$2.isObject(ld[cd]))&&(ld[cd]=[]),qa(nd,od,ld[cd],ud)&&utils$2.isArray(ld[cd])&&(ld[cd]=arrayToObject(ld[cd])),!dd)}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 dd;if(ud){if(od.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(qa,this.formSerializer).toString();if((dd=utils$2.isFileList(qa))||od.indexOf("multipart/form-data")>-1){const pd=this.env&&this.env.FormData;return toFormData(dd?{"files[]":qa}:qa,pd&&new pd,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 cd=!(nd&&nd.silentJSONParsing)&&ld;try{return JSON.parse(qa)}catch(dd){if(cd)throw dd.name==="SyntaxError"?AxiosError.from(dd,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):dd}}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(cd){ld=cd.indexOf(":"),nd=cd.substring(0,ld).trim().toLowerCase(),od=cd.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,cd){return this[od].call(this,qa,ld,ud,cd)},configurable:!0})})}class AxiosHeaders{constructor(qa){qa&&this.set(qa)}set(qa,nd,od){const ld=this;function ud(dd,pd,fd){const md=normalizeHeader(pd);if(!md)throw new Error("header name must be a non-empty string");const vd=utils$2.findKey(ld,md);(!vd||ld[vd]===void 0||fd===!0||fd===void 0&&ld[vd]!==!1)&&(ld[vd||pd]=normalizeValue(dd))}const cd=(dd,pd)=>utils$2.forEach(dd,(fd,md)=>ud(fd,md,pd));if(utils$2.isPlainObject(qa)||qa instanceof this.constructor)cd(qa,nd);else if(utils$2.isString(qa)&&(qa=qa.trim())&&!isValidHeaderName(qa))cd(parseHeaders(qa),nd);else if(utils$2.isHeaders(qa))for(const[dd,pd]of qa.entries())ud(pd,dd,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(cd){if(cd=normalizeHeader(cd),cd){const dd=utils$2.findKey(od,cd);dd&&(!nd||matchHeaderValue(od,od[dd],dd,nd))&&(delete od[dd],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 cd=utils$2.findKey(od,ud);if(cd){nd[cd]=normalizeValue(ld),delete nd[ud];return}const dd=qa?formatHeader(ud):String(ud).trim();dd!==ud&&delete nd[ud],nd[dd]=normalizeValue(ld),od[dd]=!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(cd){const dd=normalizeHeader(cd);od[dd]||(buildAccessors(ld,cd),od[dd]=!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(dd){ud=dd.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,cd;return qa=qa!==void 0?qa:1e3,function(pd){const fd=Date.now(),md=od[ud];cd||(cd=fd),nd[ld]=pd,od[ld]=fd;let vd=ud,Ad=0;for(;vd!==ld;)Ad+=nd[vd++],vd=vd%Ra;if(ld=(ld+1)%Ra,ld===ud&&(ud=(ud+1)%Ra),fd-cd<qa)return;const Nd=md&&fd-md;return Nd?Math.round(Ad*1e3/Nd):void 0}}function throttle(Ra,qa){let nd=0,od=1e3/qa,ld,ud;const cd=(fd,md=Date.now())=>{nd=md,ld=null,ud&&(clearTimeout(ud),ud=null),Ra.apply(null,fd)};return[(...fd)=>{const md=Date.now(),vd=md-nd;vd>=od?cd(fd,md):(ld=fd,ud||(ud=setTimeout(()=>{ud=null,cd(ld)},od-vd)))},()=>ld&&cd(ld)]}const progressEventReducer=(Ra,qa,nd=3)=>{let od=0;const ld=speedometer(50,250);return throttle(ud=>{const cd=ud.loaded,dd=ud.lengthComputable?ud.total:void 0,pd=cd-od,fd=ld(pd),md=cd<=dd;od=cd;const vd={loaded:cd,total:dd,progress:dd?cd/dd:void 0,bytes:pd,rate:fd||void 0,estimated:fd&&dd&&md?(dd-cd)/fd:void 0,event:ud,lengthComputable:dd!=null,[qa?"download":"upload"]:!0};Ra(vd)},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 cd=[Ra+"="+encodeURIComponent(qa)];utils$2.isNumber(nd)&&cd.push("expires="+new Date(nd).toGMTString()),utils$2.isString(od)&&cd.push("path="+od),utils$2.isString(ld)&&cd.push("domain="+ld),ud===!0&&cd.push("secure"),document.cookie=cd.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(fd,md,vd,Ad){return utils$2.isPlainObject(fd)&&utils$2.isPlainObject(md)?utils$2.merge.call({caseless:Ad},fd,md):utils$2.isPlainObject(md)?utils$2.merge({},md):utils$2.isArray(md)?md.slice():md}function ld(fd,md,vd,Ad){if(utils$2.isUndefined(md)){if(!utils$2.isUndefined(fd))return od(void 0,fd,vd,Ad)}else return od(fd,md,vd,Ad)}function ud(fd,md){if(!utils$2.isUndefined(md))return od(void 0,md)}function cd(fd,md){if(utils$2.isUndefined(md)){if(!utils$2.isUndefined(fd))return od(void 0,fd)}else return od(void 0,md)}function dd(fd,md,vd){if(vd in qa)return od(fd,md);if(vd in Ra)return od(void 0,fd)}const pd={url:ud,method:ud,data:ud,baseURL:cd,transformRequest:cd,transformResponse:cd,paramsSerializer:cd,timeout:cd,timeoutMessage:cd,withCredentials:cd,withXSRFToken:cd,adapter:cd,responseType:cd,xsrfCookieName:cd,xsrfHeaderName:cd,onUploadProgress:cd,onDownloadProgress:cd,decompress:cd,maxContentLength:cd,maxBodyLength:cd,beforeRedirect:cd,transport:cd,httpAgent:cd,httpsAgent:cd,cancelToken:cd,socketPath:cd,responseEncoding:cd,validateStatus:dd,headers:(fd,md,vd)=>ld(headersToObject(fd),headersToObject(md),vd,!0)};return utils$2.forEach(Object.keys(Object.assign({},Ra,qa)),function(md){const vd=pd[md]||ld,Ad=vd(Ra[md],qa[md],md);utils$2.isUndefined(Ad)&&vd!==dd||(nd[md]=Ad)}),nd}const resolveConfig=Ra=>{const qa=mergeConfig({},Ra);let{data:nd,withXSRFToken:od,xsrfHeaderName:ld,xsrfCookieName:ud,headers:cd,auth:dd}=qa;qa.headers=cd=AxiosHeaders.from(cd),qa.url=buildURL(buildFullPath(qa.baseURL,qa.url),Ra.params,Ra.paramsSerializer),dd&&cd.set("Authorization","Basic "+btoa((dd.username||"")+":"+(dd.password?unescape(encodeURIComponent(dd.password)):"")));let pd;if(utils$2.isFormData(nd)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv)cd.setContentType(void 0);else if((pd=cd.getContentType())!==!1){const[fd,...md]=pd?pd.split(";").map(vd=>vd.trim()).filter(Boolean):[];cd.setContentType([fd||"multipart/form-data",...md].join("; "))}}if(platform.hasStandardBrowserEnv&&(od&&utils$2.isFunction(od)&&(od=od(qa)),od||od!==!1&&isURLSameOrigin(qa.url))){const fd=ld&&ud&&cookies.read(ud);fd&&cd.set(ld,fd)}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 cd=AxiosHeaders.from(ld.headers).normalize();let{responseType:dd,onUploadProgress:pd,onDownloadProgress:fd}=ld,md,vd,Ad,Nd,Id;function kd(){Nd&&Nd(),Id&&Id(),ld.cancelToken&&ld.cancelToken.unsubscribe(md),ld.signal&&ld.signal.removeEventListener("abort",md)}let jd=new XMLHttpRequest;jd.open(ld.method.toUpperCase(),ld.url,!0),jd.timeout=ld.timeout;function Fd(){if(!jd)return;const Ld=AxiosHeaders.from("getAllResponseHeaders"in jd&&jd.getAllResponseHeaders()),Gd={data:!dd||dd==="text"||dd==="json"?jd.responseText:jd.response,status:jd.status,statusText:jd.statusText,headers:Ld,config:Ra,request:jd};settle(function(Kd){nd(Kd),kd()},function(Kd){od(Kd),kd()},Gd),jd=null}"onloadend"in jd?jd.onloadend=Fd:jd.onreadystatechange=function(){!jd||jd.readyState!==4||jd.status===0&&!(jd.responseURL&&jd.responseURL.indexOf("file:")===0)||setTimeout(Fd)},jd.onabort=function(){jd&&(od(new AxiosError("Request aborted",AxiosError.ECONNABORTED,Ra,jd)),jd=null)},jd.onerror=function(){od(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,jd)),jd=null},jd.ontimeout=function(){let Hd=ld.timeout?"timeout of "+ld.timeout+"ms exceeded":"timeout exceeded";const Gd=ld.transitional||transitionalDefaults;ld.timeoutErrorMessage&&(Hd=ld.timeoutErrorMessage),od(new AxiosError(Hd,Gd.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,Ra,jd)),jd=null},ud===void 0&&cd.setContentType(null),"setRequestHeader"in jd&&utils$2.forEach(cd.toJSON(),function(Hd,Gd){jd.setRequestHeader(Gd,Hd)}),utils$2.isUndefined(ld.withCredentials)||(jd.withCredentials=!!ld.withCredentials),dd&&dd!=="json"&&(jd.responseType=ld.responseType),fd&&([Ad,Id]=progressEventReducer(fd,!0),jd.addEventListener("progress",Ad)),pd&&jd.upload&&([vd,Nd]=progressEventReducer(pd),jd.upload.addEventListener("progress",vd),jd.upload.addEventListener("loadend",Nd)),(ld.cancelToken||ld.signal)&&(md=Ld=>{jd&&(od(!Ld||Ld.type?new CanceledError(null,Ra,jd):Ld),jd.abort(),jd=null)},ld.cancelToken&&ld.cancelToken.subscribe(md),ld.signal&&(ld.signal.aborted?md():ld.signal.addEventListener("abort",md)));const Md=parseProtocol(ld.url);if(Md&&platform.protocols.indexOf(Md)===-1){od(new AxiosError("Unsupported protocol "+Md+":",AxiosError.ERR_BAD_REQUEST,Ra));return}jd.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(fd){if(!ld){ld=!0,dd();const md=fd instanceof Error?fd:this.reason;od.abort(md instanceof AxiosError?md:new CanceledError(md instanceof Error?md.message:md))}};let cd=qa&&setTimeout(()=>{cd=null,ud(new AxiosError(`timeout ${qa} of ms exceeded`,AxiosError.ETIMEDOUT))},qa);const dd=()=>{Ra&&(cd&&clearTimeout(cd),cd=null,Ra.forEach(fd=>{fd.unsubscribe?fd.unsubscribe(ud):fd.removeEventListener("abort",ud)}),Ra=null)};Ra.forEach(fd=>fd.addEventListener("abort",ud));const{signal:pd}=od;return pd.unsubscribe=()=>utils$2.asap(dd),pd}},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,cd,dd=pd=>{cd||(cd=!0,od&&od(pd))};return new ReadableStream({async pull(pd){try{const{done:fd,value:md}=await ld.next();if(fd){dd(),pd.close();return}let vd=md.byteLength;if(nd){let Ad=ud+=vd;nd(Ad)}pd.enqueue(new Uint8Array(md))}catch(fd){throw dd(fd),fd}},cancel(pd){return dd(pd),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:cd,onDownloadProgress:dd,onUploadProgress:pd,responseType:fd,headers:md,withCredentials:vd="same-origin",fetchOptions:Ad}=resolveConfig(Ra);fd=fd?(fd+"").toLowerCase():"text";let Nd=composeSignals([ld,ud&&ud.toAbortSignal()],cd),Id;const kd=Nd&&Nd.unsubscribe&&(()=>{Nd.unsubscribe()});let jd;try{if(pd&&supportsRequestStream&&nd!=="get"&&nd!=="head"&&(jd=await resolveBodyLength(md,od))!==0){let Gd=new Request(qa,{method:"POST",body:od,duplex:"half"}),Vd;if(utils$2.isFormData(od)&&(Vd=Gd.headers.get("content-type"))&&md.setContentType(Vd),Gd.body){const[Kd,mf]=progressEventDecorator(jd,progressEventReducer(asyncDecorator(pd)));od=trackStream(Gd.body,DEFAULT_CHUNK_SIZE$1,Kd,mf)}}utils$2.isString(vd)||(vd=vd?"include":"omit");const Fd="credentials"in Request.prototype;Id=new Request(qa,{...Ad,signal:Nd,method:nd.toUpperCase(),headers:md.normalize().toJSON(),body:od,duplex:"half",credentials:Fd?vd:void 0});let Md=await fetch(Id);const Ld=supportsResponseStream&&(fd==="stream"||fd==="response");if(supportsResponseStream&&(dd||Ld&&kd)){const Gd={};["status","statusText","headers"].forEach(Wd=>{Gd[Wd]=Md[Wd]});const Vd=utils$2.toFiniteNumber(Md.headers.get("content-length")),[Kd,mf]=dd&&progressEventDecorator(Vd,progressEventReducer(asyncDecorator(dd),!0))||[];Md=new Response(trackStream(Md.body,DEFAULT_CHUNK_SIZE$1,Kd,()=>{mf&&mf(),kd&&kd()}),Gd)}fd=fd||"text";let Hd=await resolvers[utils$2.findKey(resolvers,fd)||"text"](Md,Ra);return!Ld&&kd&&kd(),await new Promise((Gd,Vd)=>{settle(Gd,Vd,{data:Hd,headers:AxiosHeaders.from(Md.headers),status:Md.status,statusText:Md.statusText,config:Ra,request:Id})})}catch(Fd){throw kd&&kd(),Fd&&Fd.name==="TypeError"&&/fetch/i.test(Fd.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,Id),{cause:Fd.cause||Fd}):AxiosError.from(Fd,Fd&&Fd.code,Ra,Id)}}),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 cd;if(od=nd,!isResolvedHandle(nd)&&(od=knownAdapters[(cd=String(nd)).toLowerCase()],od===void 0))throw new AxiosError(`Unknown adapter '${cd}'`);if(od)break;ld[cd||"#"+ud]=od}if(!od){const ud=Object.entries(ld).map(([dd,pd])=>`adapter ${dd} `+(pd===!1?"is not supported by the environment":"is not available in the build"));let cd=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 "+cd,"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,cd){return"[Axios v"+VERSION+"] Transitional option '"+ud+"'"+cd+(od?". "+od:"")}return(ud,cd,dd)=>{if(qa===!1)throw new AxiosError(ld(cd," has been removed"+(nd?" in "+nd:"")),AxiosError.ERR_DEPRECATED);return nd&&!deprecatedWarnings[cd]&&(deprecatedWarnings[cd]=!0,console.warn(ld(cd," has been deprecated since v"+nd+" and will be removed in the near future"))),qa?qa(ud,cd,dd):!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],cd=qa[ud];if(cd){const dd=Ra[ud],pd=dd===void 0||cd(dd,ud,Ra);if(pd!==!0)throw new AxiosError("option "+ud+" must be "+pd,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(nd!==!0)throw new AxiosError("Unknown option "+ud,AxiosError.ERR_BAD_OPTION)}}const validator$3={assertOptions,validators:validators$1},validators=validator$3.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$3.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$3.assertOptions(ld,{encode:validators.function,serialize:validators.function},!0)),validator$3.assertOptions(nd,{baseUrl:validators.spelling("baseURL"),withXsrfToken:validators.spelling("withXSRFToken")},!0),nd.method=(nd.method||this.defaults.method||"get").toLowerCase();let cd=ud&&utils$2.merge(ud.common,ud[nd.method]);ud&&utils$2.forEach(["delete","get","head","post","put","patch","common"],Id=>{delete ud[Id]}),nd.headers=AxiosHeaders.concat(cd,ud);const dd=[];let pd=!0;this.interceptors.request.forEach(function(kd){typeof kd.runWhen=="function"&&kd.runWhen(nd)===!1||(pd=pd&&kd.synchronous,dd.unshift(kd.fulfilled,kd.rejected))});const fd=[];this.interceptors.response.forEach(function(kd){fd.push(kd.fulfilled,kd.rejected)});let md,vd=0,Ad;if(!pd){const Id=[dispatchRequest.bind(this),void 0];for(Id.unshift.apply(Id,dd),Id.push.apply(Id,fd),Ad=Id.length,md=Promise.resolve(nd);vd<Ad;)md=md.then(Id[vd++],Id[vd++]);return md}Ad=dd.length;let Nd=nd;for(vd=0;vd<Ad;){const Id=dd[vd++],kd=dd[vd++];try{Nd=Id(Nd)}catch(jd){kd.call(this,jd);break}}try{md=dispatchRequest.call(this,Nd)}catch(Id){return Promise.reject(Id)}for(vd=0,Ad=fd.length;vd<Ad;)md=md.then(fd[vd++],fd[vd++]);return md}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,cd,dd){return this.request(mergeConfig(dd||{},{method:qa,headers:od?{"Content-Type":"multipart/form-data"}:{},url:ud,data:cd}))}}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 cd=new Promise(dd=>{od.subscribe(dd),ud=dd}).then(ld);return cd.cancel=function(){od.unsubscribe(ud)},cd},qa(function(ud,cd,dd){od.reason||(od.reason=new CanceledError(ud,cd,dd),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,cd;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++),cd=Ra.charCodeAt(nd++),qa+=String.fromCharCode((ld&15)<<12|(ud&63)<<6|cd&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 cd=Ra.charCodeAt(nd++);qa+=base64EncodeChars.charAt(ld>>2),qa+=base64EncodeChars.charAt((ld&3)<<4|(ud&240)>>4),qa+=base64EncodeChars.charAt((ud&15)<<2|(cd&192)>>6),qa+=base64EncodeChars.charAt(cd&63)}return qa}function base64decode(Ra){let qa,nd,od,ld,ud=0;const cd=Ra.length;let dd="";for(;ud<cd;){do qa=base64DecodeChars[Ra.charCodeAt(ud++)&255];while(ud<cd&&qa===-1);if(qa===-1)break;do nd=base64DecodeChars[Ra.charCodeAt(ud++)&255];while(ud<cd&&nd===-1);if(nd===-1)break;dd+=String.fromCharCode(qa<<2|(nd&48)>>4);do{if(od=Ra.charCodeAt(ud++)&255,od===61)return dd;od=base64DecodeChars[od]}while(ud<cd&&od===-1);if(od===-1)break;dd+=String.fromCharCode((nd&15)<<4|(od&60)>>2);do{if(ld=Ra.charCodeAt(ud++)&255,ld===61)return dd;ld=base64DecodeChars[ld]}while(ud<cd&&ld===-1);if(ld===-1)break;dd+=String.fromCharCode((od&3)<<6|ld)}return dd}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"}));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 cd=od[ud]={i:ud,l:!1,exports:{}};return nd[ud].call(cd.exports,cd,cd.exports,ld),cd.l=!0,cd.exports}return ld.m=nd,ld.c=od,ld.d=function(ud,cd,dd){ld.o(ud,cd)||Object.defineProperty(ud,cd,{enumerable:!0,get:dd})},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,cd){if(cd&1&&(ud=ld(ud)),cd&8||cd&4&&typeof ud=="object"&&ud&&ud.__esModule)return ud;var dd=Object.create(null);if(ld.r(dd),Object.defineProperty(dd,"default",{enumerable:!0,value:ud}),cd&2&&typeof ud!="string")for(var pd in ud)ld.d(dd,pd,(function(fd){return ud[fd]}).bind(null,pd));return dd},ld.n=function(ud){var cd=ud&&ud.__esModule?function(){return ud.default}:function(){return ud};return ld.d(cd,"a",cd),cd},ld.o=function(ud,cd){return Object.prototype.hasOwnProperty.call(ud,cd)},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 cd=ud.Base64,dd="2.1.9",pd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fd=function(bf){for(var yf={},Ef=0,gf=bf.length;Ef<gf;Ef++)yf[bf.charAt(Ef)]=Ef;return yf}(pd),md=String.fromCharCode,vd=function(yf){if(yf.length<2){var Ef=yf.charCodeAt(0);return Ef<128?yf:Ef<2048?md(192|Ef>>>6)+md(128|Ef&63):md(224|Ef>>>12&15)+md(128|Ef>>>6&63)+md(128|Ef&63)}else{var Ef=65536+(yf.charCodeAt(0)-55296)*1024+(yf.charCodeAt(1)-56320);return md(240|Ef>>>18&7)+md(128|Ef>>>12&63)+md(128|Ef>>>6&63)+md(128|Ef&63)}},Ad=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Nd=function(yf){return yf.replace(Ad,vd)},Id=function(yf){var Ef=[0,2,1][yf.length%3],gf=yf.charCodeAt(0)<<16|(yf.length>1?yf.charCodeAt(1):0)<<8|(yf.length>2?yf.charCodeAt(2):0),xf=[pd.charAt(gf>>>18),pd.charAt(gf>>>12&63),Ef>=2?"=":pd.charAt(gf>>>6&63),Ef>=1?"=":pd.charAt(gf&63)];return xf.join("")},kd=ud.btoa?function(bf){return ud.btoa(bf)}:function(bf){return bf.replace(/[\s\S]{1,3}/g,Id)},jd=function(bf){return kd(Nd(bf))},Fd=function(yf,Ef){return Ef?jd(String(yf)).replace(/[+\/]/g,function(gf){return gf=="+"?"-":"_"}).replace(/=/g,""):jd(String(yf))},Md=function(yf){return Fd(yf,!0)},Ld=new RegExp(["[À-ß][-¿]","[à-ï][-¿]{2}","[ð-÷][-¿]{3}"].join("|"),"g"),Hd=function(yf){switch(yf.length){case 4:var Ef=(7&yf.charCodeAt(0))<<18|(63&yf.charCodeAt(1))<<12|(63&yf.charCodeAt(2))<<6|63&yf.charCodeAt(3),gf=Ef-65536;return md((gf>>>10)+55296)+md((gf&1023)+56320);case 3:return md((15&yf.charCodeAt(0))<<12|(63&yf.charCodeAt(1))<<6|63&yf.charCodeAt(2));default:return md((31&yf.charCodeAt(0))<<6|63&yf.charCodeAt(1))}},Gd=function(yf){return yf.replace(Ld,Hd)},Vd=function(yf){var Ef=yf.length,gf=Ef%4,xf=(Ef>0?fd[yf.charAt(0)]<<18:0)|(Ef>1?fd[yf.charAt(1)]<<12:0)|(Ef>2?fd[yf.charAt(2)]<<6:0)|(Ef>3?fd[yf.charAt(3)]:0),Af=[md(xf>>>16),md(xf>>>8&255),md(xf&255)];return Af.length-=[0,0,2,1][gf],Af.join("")},Kd=ud.atob?function(bf){return ud.atob(bf)}:function(bf){return bf.replace(/[\s\S]{1,4}/g,Vd)},mf=function(bf){return Gd(Kd(bf))},Wd=function(yf){return mf(String(yf).replace(/[-_]/g,function(Ef){return Ef=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},Zd=function(){var yf=ud.Base64;return ud.Base64=cd,yf},Xd={VERSION:dd,atob:Kd,btoa:kd,fromBase64:Wd,toBase64:Fd,utob:Nd,encode:Fd,encodeURI:Md,btou:Gd,decode:Wd,noConflict:Zd};return Xd}();nd.exports=ld},"./lib/crypto.js":function(nd,od,ld){(function(ud){var cd=ld("./node_modules/@babel/runtime/helpers/typeof.js"),dd=dd||function(pd,fd){var md={},vd=md.lib={},Ad=function(){},Nd=vd.Base={extend:function(Vd){Ad.prototype=this;var Kd=new Ad;return Vd&&Kd.mixIn(Vd),Kd.hasOwnProperty("init")||(Kd.init=function(){Kd.$super.init.apply(this,arguments)}),Kd.init.prototype=Kd,Kd.$super=this,Kd},create:function(){var Vd=this.extend();return Vd.init.apply(Vd,arguments),Vd},init:function(){},mixIn:function(Vd){for(var Kd in Vd)Vd.hasOwnProperty(Kd)&&(this[Kd]=Vd[Kd]);Vd.hasOwnProperty("toString")&&(this.toString=Vd.toString)},clone:function(){return this.init.prototype.extend(this)}},Id=vd.WordArray=Nd.extend({init:function(Vd,Kd){Vd=this.words=Vd||[],this.sigBytes=Kd!=fd?Kd:4*Vd.length},toString:function(Vd){return(Vd||jd).stringify(this)},concat:function(Vd){var Kd=this.words,mf=Vd.words,Wd=this.sigBytes;if(Vd=Vd.sigBytes,this.clamp(),Wd%4)for(var Zd=0;Zd<Vd;Zd++)Kd[Wd+Zd>>>2]|=(mf[Zd>>>2]>>>24-8*(Zd%4)&255)<<24-8*((Wd+Zd)%4);else if(65535<mf.length)for(Zd=0;Zd<Vd;Zd+=4)Kd[Wd+Zd>>>2]=mf[Zd>>>2];else Kd.push.apply(Kd,mf);return this.sigBytes+=Vd,this},clamp:function(){var Vd=this.words,Kd=this.sigBytes;Vd[Kd>>>2]&=4294967295<<32-8*(Kd%4),Vd.length=pd.ceil(Kd/4)},clone:function(){var Vd=Nd.clone.call(this);return Vd.words=this.words.slice(0),Vd},random:function(Vd){for(var Kd=[],mf=0;mf<Vd;mf+=4)Kd.push(4294967296*pd.random()|0);return new Id.init(Kd,Vd)}}),kd=md.enc={},jd=kd.Hex={stringify:function(Vd){var Kd=Vd.words;Vd=Vd.sigBytes;for(var mf=[],Wd=0;Wd<Vd;Wd++){var Zd=Kd[Wd>>>2]>>>24-8*(Wd%4)&255;mf.push((Zd>>>4).toString(16)),mf.push((Zd&15).toString(16))}return mf.join("")},parse:function(Vd){for(var Kd=Vd.length,mf=[],Wd=0;Wd<Kd;Wd+=2)mf[Wd>>>3]|=parseInt(Vd.substr(Wd,2),16)<<24-4*(Wd%8);return new Id.init(mf,Kd/2)}},Fd=kd.Latin1={stringify:function(Vd){var Kd=Vd.words;Vd=Vd.sigBytes;for(var mf=[],Wd=0;Wd<Vd;Wd++)mf.push(String.fromCharCode(Kd[Wd>>>2]>>>24-8*(Wd%4)&255));return mf.join("")},parse:function(Vd){for(var Kd=Vd.length,mf=[],Wd=0;Wd<Kd;Wd++)mf[Wd>>>2]|=(Vd.charCodeAt(Wd)&255)<<24-8*(Wd%4);return new Id.init(mf,Kd)}},Md=kd.Utf8={stringify:function(Vd){try{return decodeURIComponent(escape(Fd.stringify(Vd)))}catch{throw Error("Malformed UTF-8 data")}},parse:function(Vd){return Fd.parse(unescape(encodeURIComponent(Vd)))}},Ld=vd.BufferedBlockAlgorithm=Nd.extend({reset:function(){this._data=new Id.init,this._nDataBytes=0},_append:function(Vd){typeof Vd=="string"&&(Vd=Md.parse(Vd)),this._data.concat(Vd),this._nDataBytes+=Vd.sigBytes},_process:function(Vd){var Kd=this._data,mf=Kd.words,Wd=Kd.sigBytes,Zd=this.blockSize,Xd=Wd/(4*Zd),Xd=Vd?pd.ceil(Xd):pd.max((Xd|0)-this._minBufferSize,0);if(Vd=Xd*Zd,Wd=pd.min(4*Vd,Wd),Vd){for(var bf=0;bf<Vd;bf+=Zd)this._doProcessBlock(mf,bf);bf=mf.splice(0,Vd),Kd.sigBytes-=Wd}return new Id.init(bf,Wd)},clone:function(){var Vd=Nd.clone.call(this);return Vd._data=this._data.clone(),Vd},_minBufferSize:0});vd.Hasher=Ld.extend({cfg:Nd.extend(),init:function(Vd){this.cfg=this.cfg.extend(Vd),this.reset()},reset:function(){Ld.reset.call(this),this._doReset()},update:function(Vd){return this._append(Vd),this._process(),this},finalize:function(Vd){return Vd&&this._append(Vd),this._doFinalize()},blockSize:16,_createHelper:function(Vd){return function(Kd,mf){return new Vd.init(mf).finalize(Kd)}},_createHmacHelper:function(Vd){return function(Kd,mf){return new Hd.HMAC.init(Vd,mf).finalize(Kd)}}});var Hd=md.algo={};return md}(Math);(function(){var pd=dd,Ad=pd.lib,fd=Ad.WordArray,md=Ad.Hasher,vd=[],Ad=pd.algo.SHA1=md.extend({_doReset:function(){this._hash=new fd.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(Id,kd){for(var jd=this._hash.words,Fd=jd[0],Md=jd[1],Ld=jd[2],Hd=jd[3],Gd=jd[4],Vd=0;80>Vd;Vd++){if(16>Vd)vd[Vd]=Id[kd+Vd]|0;else{var Kd=vd[Vd-3]^vd[Vd-8]^vd[Vd-14]^vd[Vd-16];vd[Vd]=Kd<<1|Kd>>>31}Kd=(Fd<<5|Fd>>>27)+Gd+vd[Vd],Kd=20>Vd?Kd+((Md&Ld|~Md&Hd)+1518500249):40>Vd?Kd+((Md^Ld^Hd)+1859775393):60>Vd?Kd+((Md&Ld|Md&Hd|Ld&Hd)-1894007588):Kd+((Md^Ld^Hd)-899497514),Gd=Hd,Hd=Ld,Ld=Md<<30|Md>>>2,Md=Fd,Fd=Kd}jd[0]=jd[0]+Fd|0,jd[1]=jd[1]+Md|0,jd[2]=jd[2]+Ld|0,jd[3]=jd[3]+Hd|0,jd[4]=jd[4]+Gd|0},_doFinalize:function(){var Id=this._data,kd=Id.words,jd=8*this._nDataBytes,Fd=8*Id.sigBytes;return kd[Fd>>>5]|=128<<24-Fd%32,kd[(Fd+64>>>9<<4)+14]=Math.floor(jd/4294967296),kd[(Fd+64>>>9<<4)+15]=jd,Id.sigBytes=4*kd.length,this._process(),this._hash},clone:function(){var Id=md.clone.call(this);return Id._hash=this._hash.clone(),Id}});pd.SHA1=md._createHelper(Ad),pd.HmacSHA1=md._createHmacHelper(Ad)})(),function(){var pd=dd,fd=pd.enc.Utf8;pd.algo.HMAC=pd.lib.Base.extend({init:function(vd,Ad){vd=this._hasher=new vd.init,typeof Ad=="string"&&(Ad=fd.parse(Ad));var Nd=vd.blockSize,Id=4*Nd;Ad.sigBytes>Id&&(Ad=vd.finalize(Ad)),Ad.clamp();for(var kd=this._oKey=Ad.clone(),jd=this._iKey=Ad.clone(),Fd=kd.words,Md=jd.words,Ld=0;Ld<Nd;Ld++)Fd[Ld]^=1549556828,Md[Ld]^=909522486;kd.sigBytes=jd.sigBytes=Id,this.reset()},reset:function(){var vd=this._hasher;vd.reset(),vd.update(this._iKey)},update:function(vd){return this._hasher.update(vd),this},finalize:function(vd){var Ad=this._hasher;return vd=Ad.finalize(vd),Ad.reset(),Ad.finalize(this._oKey.clone().concat(vd))}})}(),function(){var pd=dd,fd=pd.lib,md=fd.WordArray,vd=pd.enc;vd.Base64={stringify:function(Nd){var Id=Nd.words,kd=Nd.sigBytes,jd=this._map;Nd.clamp();for(var Fd=[],Md=0;Md<kd;Md+=3)for(var Ld=Id[Md>>>2]>>>24-Md%4*8&255,Hd=Id[Md+1>>>2]>>>24-(Md+1)%4*8&255,Gd=Id[Md+2>>>2]>>>24-(Md+2)%4*8&255,Vd=Ld<<16|Hd<<8|Gd,Kd=0;Kd<4&&Md+Kd*.75<kd;Kd++)Fd.push(jd.charAt(Vd>>>6*(3-Kd)&63));var mf=jd.charAt(64);if(mf)for(;Fd.length%4;)Fd.push(mf);return Fd.join("")},parse:function(Nd){var Id=Nd.length,kd=this._map,jd=kd.charAt(64);if(jd){var Fd=Nd.indexOf(jd);Fd!=-1&&(Id=Fd)}for(var Md=[],Ld=0,Hd=0;Hd<Id;Hd++)if(Hd%4){var Gd=kd.indexOf(Nd.charAt(Hd-1))<<Hd%4*2,Vd=kd.indexOf(Nd.charAt(Hd))>>>6-Hd%4*2;Md[Ld>>>2]|=(Gd|Vd)<<24-Ld%4*8,Ld++}return md.create(Md,Ld)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),cd(ud)==="object"?ud.exports=dd:window.CryptoJS=dd}).call(this,ld("./node_modules/webpack/buildin/module.js")(nd))},"./lib/md5.js":function(nd,od,ld){(function(ud){var cd,dd=ld("./node_modules/@babel/runtime/helpers/typeof.js");(function(){var pd=(typeof window>"u"?"undefined":dd(window))==="object",fd=pd?window:{};fd.JS_MD5_NO_WINDOW&&(pd=!1);var md=!pd&&(typeof self>"u"?"undefined":dd(self))==="object";md&&(fd=self);var vd=!fd.JS_MD5_NO_COMMON_JS&&dd(ud)==="object"&&ud.exports,Ad=ld("./node_modules/webpack/buildin/amd-options.js"),Nd=!fd.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",Id="0123456789abcdef".split(""),kd=[128,32768,8388608,-2147483648],jd=[0,8,16,24],Fd=["hex","array","digest","buffer","arrayBuffer","base64"],Md="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Ld=[],Hd;if(Nd){var Gd=new ArrayBuffer(68);Hd=new Uint8Array(Gd),Ld=new Uint32Array(Gd)}(fd.JS_MD5_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(Zd){return Object.prototype.toString.call(Zd)==="[object Array]"}),Nd&&(fd.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(Zd){return dd(Zd)==="object"&&Zd.buffer&&Zd.buffer.constructor===ArrayBuffer});var Vd=function(Xd){return function(bf,yf){return new mf(!0).update(bf,yf)[Xd]()}},Kd=function(){var Xd=Vd("hex");Xd.getCtx=Xd.create=function(){return new mf},Xd.update=function(Ef){return Xd.create().update(Ef)};for(var bf=0;bf<Fd.length;++bf){var yf=Fd[bf];Xd[yf]=Vd(yf)}return Xd};function mf(Zd){if(Zd)Ld[0]=Ld[16]=Ld[1]=Ld[2]=Ld[3]=Ld[4]=Ld[5]=Ld[6]=Ld[7]=Ld[8]=Ld[9]=Ld[10]=Ld[11]=Ld[12]=Ld[13]=Ld[14]=Ld[15]=0,this.blocks=Ld,this.buffer8=Hd;else if(Nd){var Xd=new ArrayBuffer(68);this.buffer8=new Uint8Array(Xd),this.blocks=new Uint32Array(Xd)}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}mf.prototype.update=function(Zd,Xd){if(!this.finalized){for(var bf,yf=0,Ef,gf=Zd.length,xf=this.blocks,Af=this.buffer8;yf<gf;){if(this.hashed&&(this.hashed=!1,xf[0]=xf[16],xf[16]=xf[1]=xf[2]=xf[3]=xf[4]=xf[5]=xf[6]=xf[7]=xf[8]=xf[9]=xf[10]=xf[11]=xf[12]=xf[13]=xf[14]=xf[15]=0),Nd)for(Ef=this.start;yf<gf&&Ef<64;++yf)bf=Zd.charCodeAt(yf),Xd||bf<128?Af[Ef++]=bf:bf<2048?(Af[Ef++]=192|bf>>6,Af[Ef++]=128|bf&63):bf<55296||bf>=57344?(Af[Ef++]=224|bf>>12,Af[Ef++]=128|bf>>6&63,Af[Ef++]=128|bf&63):(bf=65536+((bf&1023)<<10|Zd.charCodeAt(++yf)&1023),Af[Ef++]=240|bf>>18,Af[Ef++]=128|bf>>12&63,Af[Ef++]=128|bf>>6&63,Af[Ef++]=128|bf&63);else for(Ef=this.start;yf<gf&&Ef<64;++yf)bf=Zd.charCodeAt(yf),Xd||bf<128?xf[Ef>>2]|=bf<<jd[Ef++&3]:bf<2048?(xf[Ef>>2]|=(192|bf>>6)<<jd[Ef++&3],xf[Ef>>2]|=(128|bf&63)<<jd[Ef++&3]):bf<55296||bf>=57344?(xf[Ef>>2]|=(224|bf>>12)<<jd[Ef++&3],xf[Ef>>2]|=(128|bf>>6&63)<<jd[Ef++&3],xf[Ef>>2]|=(128|bf&63)<<jd[Ef++&3]):(bf=65536+((bf&1023)<<10|Zd.charCodeAt(++yf)&1023),xf[Ef>>2]|=(240|bf>>18)<<jd[Ef++&3],xf[Ef>>2]|=(128|bf>>12&63)<<jd[Ef++&3],xf[Ef>>2]|=(128|bf>>6&63)<<jd[Ef++&3],xf[Ef>>2]|=(128|bf&63)<<jd[Ef++&3]);this.lastByteIndex=Ef,this.bytes+=Ef-this.start,Ef>=64?(this.start=Ef-64,this.hash(),this.hashed=!0):this.start=Ef}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},mf.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Zd=this.blocks,Xd=this.lastByteIndex;Zd[Xd>>2]|=kd[Xd&3],Xd>=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()}},mf.prototype.hash=function(){var Zd,Xd,bf,yf,Ef,gf,xf=this.blocks;this.first?(Zd=xf[0]-680876937,Zd=(Zd<<7|Zd>>>25)-271733879<<0,yf=(-1732584194^Zd&2004318071)+xf[1]-117830708,yf=(yf<<12|yf>>>20)+Zd<<0,bf=(-271733879^yf&(Zd^-271733879))+xf[2]-1126478375,bf=(bf<<17|bf>>>15)+yf<<0,Xd=(Zd^bf&(yf^Zd))+xf[3]-1316259209,Xd=(Xd<<22|Xd>>>10)+bf<<0):(Zd=this.h0,Xd=this.h1,bf=this.h2,yf=this.h3,Zd+=(yf^Xd&(bf^yf))+xf[0]-680876936,Zd=(Zd<<7|Zd>>>25)+Xd<<0,yf+=(bf^Zd&(Xd^bf))+xf[1]-389564586,yf=(yf<<12|yf>>>20)+Zd<<0,bf+=(Xd^yf&(Zd^Xd))+xf[2]+606105819,bf=(bf<<17|bf>>>15)+yf<<0,Xd+=(Zd^bf&(yf^Zd))+xf[3]-1044525330,Xd=(Xd<<22|Xd>>>10)+bf<<0),Zd+=(yf^Xd&(bf^yf))+xf[4]-176418897,Zd=(Zd<<7|Zd>>>25)+Xd<<0,yf+=(bf^Zd&(Xd^bf))+xf[5]+1200080426,yf=(yf<<12|yf>>>20)+Zd<<0,bf+=(Xd^yf&(Zd^Xd))+xf[6]-1473231341,bf=(bf<<17|bf>>>15)+yf<<0,Xd+=(Zd^bf&(yf^Zd))+xf[7]-45705983,Xd=(Xd<<22|Xd>>>10)+bf<<0,Zd+=(yf^Xd&(bf^yf))+xf[8]+1770035416,Zd=(Zd<<7|Zd>>>25)+Xd<<0,yf+=(bf^Zd&(Xd^bf))+xf[9]-1958414417,yf=(yf<<12|yf>>>20)+Zd<<0,bf+=(Xd^yf&(Zd^Xd))+xf[10]-42063,bf=(bf<<17|bf>>>15)+yf<<0,Xd+=(Zd^bf&(yf^Zd))+xf[11]-1990404162,Xd=(Xd<<22|Xd>>>10)+bf<<0,Zd+=(yf^Xd&(bf^yf))+xf[12]+1804603682,Zd=(Zd<<7|Zd>>>25)+Xd<<0,yf+=(bf^Zd&(Xd^bf))+xf[13]-40341101,yf=(yf<<12|yf>>>20)+Zd<<0,bf+=(Xd^yf&(Zd^Xd))+xf[14]-1502002290,bf=(bf<<17|bf>>>15)+yf<<0,Xd+=(Zd^bf&(yf^Zd))+xf[15]+1236535329,Xd=(Xd<<22|Xd>>>10)+bf<<0,Zd+=(bf^yf&(Xd^bf))+xf[1]-165796510,Zd=(Zd<<5|Zd>>>27)+Xd<<0,yf+=(Xd^bf&(Zd^Xd))+xf[6]-1069501632,yf=(yf<<9|yf>>>23)+Zd<<0,bf+=(Zd^Xd&(yf^Zd))+xf[11]+643717713,bf=(bf<<14|bf>>>18)+yf<<0,Xd+=(yf^Zd&(bf^yf))+xf[0]-373897302,Xd=(Xd<<20|Xd>>>12)+bf<<0,Zd+=(bf^yf&(Xd^bf))+xf[5]-701558691,Zd=(Zd<<5|Zd>>>27)+Xd<<0,yf+=(Xd^bf&(Zd^Xd))+xf[10]+38016083,yf=(yf<<9|yf>>>23)+Zd<<0,bf+=(Zd^Xd&(yf^Zd))+xf[15]-660478335,bf=(bf<<14|bf>>>18)+yf<<0,Xd+=(yf^Zd&(bf^yf))+xf[4]-405537848,Xd=(Xd<<20|Xd>>>12)+bf<<0,Zd+=(bf^yf&(Xd^bf))+xf[9]+568446438,Zd=(Zd<<5|Zd>>>27)+Xd<<0,yf+=(Xd^bf&(Zd^Xd))+xf[14]-1019803690,yf=(yf<<9|yf>>>23)+Zd<<0,bf+=(Zd^Xd&(yf^Zd))+xf[3]-187363961,bf=(bf<<14|bf>>>18)+yf<<0,Xd+=(yf^Zd&(bf^yf))+xf[8]+1163531501,Xd=(Xd<<20|Xd>>>12)+bf<<0,Zd+=(bf^yf&(Xd^bf))+xf[13]-1444681467,Zd=(Zd<<5|Zd>>>27)+Xd<<0,yf+=(Xd^bf&(Zd^Xd))+xf[2]-51403784,yf=(yf<<9|yf>>>23)+Zd<<0,bf+=(Zd^Xd&(yf^Zd))+xf[7]+1735328473,bf=(bf<<14|bf>>>18)+yf<<0,Xd+=(yf^Zd&(bf^yf))+xf[12]-1926607734,Xd=(Xd<<20|Xd>>>12)+bf<<0,Ef=Xd^bf,Zd+=(Ef^yf)+xf[5]-378558,Zd=(Zd<<4|Zd>>>28)+Xd<<0,yf+=(Ef^Zd)+xf[8]-2022574463,yf=(yf<<11|yf>>>21)+Zd<<0,gf=yf^Zd,bf+=(gf^Xd)+xf[11]+1839030562,bf=(bf<<16|bf>>>16)+yf<<0,Xd+=(gf^bf)+xf[14]-35309556,Xd=(Xd<<23|Xd>>>9)+bf<<0,Ef=Xd^bf,Zd+=(Ef^yf)+xf[1]-1530992060,Zd=(Zd<<4|Zd>>>28)+Xd<<0,yf+=(Ef^Zd)+xf[4]+1272893353,yf=(yf<<11|yf>>>21)+Zd<<0,gf=yf^Zd,bf+=(gf^Xd)+xf[7]-155497632,bf=(bf<<16|bf>>>16)+yf<<0,Xd+=(gf^bf)+xf[10]-1094730640,Xd=(Xd<<23|Xd>>>9)+bf<<0,Ef=Xd^bf,Zd+=(Ef^yf)+xf[13]+681279174,Zd=(Zd<<4|Zd>>>28)+Xd<<0,yf+=(Ef^Zd)+xf[0]-358537222,yf=(yf<<11|yf>>>21)+Zd<<0,gf=yf^Zd,bf+=(gf^Xd)+xf[3]-722521979,bf=(bf<<16|bf>>>16)+yf<<0,Xd+=(gf^bf)+xf[6]+76029189,Xd=(Xd<<23|Xd>>>9)+bf<<0,Ef=Xd^bf,Zd+=(Ef^yf)+xf[9]-640364487,Zd=(Zd<<4|Zd>>>28)+Xd<<0,yf+=(Ef^Zd)+xf[12]-421815835,yf=(yf<<11|yf>>>21)+Zd<<0,gf=yf^Zd,bf+=(gf^Xd)+xf[15]+530742520,bf=(bf<<16|bf>>>16)+yf<<0,Xd+=(gf^bf)+xf[2]-995338651,Xd=(Xd<<23|Xd>>>9)+bf<<0,Zd+=(bf^(Xd|~yf))+xf[0]-198630844,Zd=(Zd<<6|Zd>>>26)+Xd<<0,yf+=(Xd^(Zd|~bf))+xf[7]+1126891415,yf=(yf<<10|yf>>>22)+Zd<<0,bf+=(Zd^(yf|~Xd))+xf[14]-1416354905,bf=(bf<<15|bf>>>17)+yf<<0,Xd+=(yf^(bf|~Zd))+xf[5]-57434055,Xd=(Xd<<21|Xd>>>11)+bf<<0,Zd+=(bf^(Xd|~yf))+xf[12]+1700485571,Zd=(Zd<<6|Zd>>>26)+Xd<<0,yf+=(Xd^(Zd|~bf))+xf[3]-1894986606,yf=(yf<<10|yf>>>22)+Zd<<0,bf+=(Zd^(yf|~Xd))+xf[10]-1051523,bf=(bf<<15|bf>>>17)+yf<<0,Xd+=(yf^(bf|~Zd))+xf[1]-2054922799,Xd=(Xd<<21|Xd>>>11)+bf<<0,Zd+=(bf^(Xd|~yf))+xf[8]+1873313359,Zd=(Zd<<6|Zd>>>26)+Xd<<0,yf+=(Xd^(Zd|~bf))+xf[15]-30611744,yf=(yf<<10|yf>>>22)+Zd<<0,bf+=(Zd^(yf|~Xd))+xf[6]-1560198380,bf=(bf<<15|bf>>>17)+yf<<0,Xd+=(yf^(bf|~Zd))+xf[13]+1309151649,Xd=(Xd<<21|Xd>>>11)+bf<<0,Zd+=(bf^(Xd|~yf))+xf[4]-145523070,Zd=(Zd<<6|Zd>>>26)+Xd<<0,yf+=(Xd^(Zd|~bf))+xf[11]-1120210379,yf=(yf<<10|yf>>>22)+Zd<<0,bf+=(Zd^(yf|~Xd))+xf[2]+718787259,bf=(bf<<15|bf>>>17)+yf<<0,Xd+=(yf^(bf|~Zd))+xf[9]-343485551,Xd=(Xd<<21|Xd>>>11)+bf<<0,this.first?(this.h0=Zd+1732584193<<0,this.h1=Xd-271733879<<0,this.h2=bf-1732584194<<0,this.h3=yf+271733878<<0,this.first=!1):(this.h0=this.h0+Zd<<0,this.h1=this.h1+Xd<<0,this.h2=this.h2+bf<<0,this.h3=this.h3+yf<<0)},mf.prototype.hex=function(){this.finalize();var Zd=this.h0,Xd=this.h1,bf=this.h2,yf=this.h3;return Id[Zd>>4&15]+Id[Zd&15]+Id[Zd>>12&15]+Id[Zd>>8&15]+Id[Zd>>20&15]+Id[Zd>>16&15]+Id[Zd>>28&15]+Id[Zd>>24&15]+Id[Xd>>4&15]+Id[Xd&15]+Id[Xd>>12&15]+Id[Xd>>8&15]+Id[Xd>>20&15]+Id[Xd>>16&15]+Id[Xd>>28&15]+Id[Xd>>24&15]+Id[bf>>4&15]+Id[bf&15]+Id[bf>>12&15]+Id[bf>>8&15]+Id[bf>>20&15]+Id[bf>>16&15]+Id[bf>>28&15]+Id[bf>>24&15]+Id[yf>>4&15]+Id[yf&15]+Id[yf>>12&15]+Id[yf>>8&15]+Id[yf>>20&15]+Id[yf>>16&15]+Id[yf>>28&15]+Id[yf>>24&15]},mf.prototype.toString=mf.prototype.hex,mf.prototype.digest=function(Zd){if(Zd==="hex")return this.hex();this.finalize();var Xd=this.h0,bf=this.h1,yf=this.h2,Ef=this.h3,gf=[Xd&255,Xd>>8&255,Xd>>16&255,Xd>>24&255,bf&255,bf>>8&255,bf>>16&255,bf>>24&255,yf&255,yf>>8&255,yf>>16&255,yf>>24&255,Ef&255,Ef>>8&255,Ef>>16&255,Ef>>24&255];return gf},mf.prototype.array=mf.prototype.digest,mf.prototype.arrayBuffer=function(){this.finalize();var Zd=new ArrayBuffer(16),Xd=new Uint32Array(Zd);return Xd[0]=this.h0,Xd[1]=this.h1,Xd[2]=this.h2,Xd[3]=this.h3,Zd},mf.prototype.buffer=mf.prototype.arrayBuffer,mf.prototype.base64=function(){for(var Zd,Xd,bf,yf="",Ef=this.array(),gf=0;gf<15;)Zd=Ef[gf++],Xd=Ef[gf++],bf=Ef[gf++],yf+=Md[Zd>>>2]+Md[(Zd<<4|Xd>>>4)&63]+Md[(Xd<<2|bf>>>6)&63]+Md[bf&63];return Zd=Ef[gf],yf+=Md[Zd>>>2]+Md[Zd<<4&63]+"==",yf};var Wd=Kd();vd?ud.exports=Wd:(fd.md5=Wd,Ad&&(cd=(function(){return Wd}).call(Wd,ld,Wd,ud),cd!==void 0&&(ud.exports=cd)))})()}).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"),cd=function(Ad){switch(ud(Ad)){case"string":return Ad;case"boolean":return Ad?"true":"false";case"number":return isFinite(Ad)?Ad:"";default:return""}},dd=function(Ad,Nd,Id,kd){return Nd=Nd||"&",Id=Id||"=",Ad===null&&(Ad=void 0),ud(Ad)==="object"?Object.keys(Ad).map(function(jd){var Fd=encodeURIComponent(cd(jd))+Id;return Array.isArray(Ad[jd])?Ad[jd].map(function(Md){return Fd+encodeURIComponent(cd(Md))}).join(Nd):Fd+encodeURIComponent(cd(Ad[jd]))}).filter(Boolean).join(Nd):""},pd=function(Ad,Nd,Id){var kd={},jd=Nd.getAllResponseHeaders();return jd&&jd.length>0&&jd.trim().split(`
|
||
`).forEach(function(Fd){if(Fd){var Md=Fd.indexOf(":"),Ld=Fd.substr(0,Md).trim().toLowerCase(),Hd=Fd.substr(Md+1).trim();kd[Ld]=Hd}}),{error:Ad,statusCode:Nd.status,statusMessage:Nd.statusText,headers:kd,body:Id}},fd=function(Ad,Nd){return!Nd&&Nd==="text"?Ad.responseText:Ad.response},md=function(Ad,Nd){var Id=(Ad.method||"GET").toUpperCase(),kd=Ad.url;if(Ad.qs){var jd=dd(Ad.qs);jd&&(kd+=(kd.indexOf("?")===-1?"?":"&")+jd)}var Fd=new XMLHttpRequest;if(Fd.open(Id,kd,!0),Fd.responseType=Ad.dataType||"text",Ad.xhrFields)for(var Md in Ad.xhrFields)Fd[Md]=Ad.xhrFields[Md];var Ld=Ad.headers;if(Ld)for(var Hd in Ld)Ld.hasOwnProperty(Hd)&&Hd.toLowerCase()!=="content-length"&&Hd.toLowerCase()!=="user-agent"&&Hd.toLowerCase()!=="origin"&&Hd.toLowerCase()!=="host"&&Fd.setRequestHeader(Hd,Ld[Hd]);return Ad.onProgress&&Fd.upload&&(Fd.upload.onprogress=Ad.onProgress),Ad.onDownloadProgress&&(Fd.onprogress=Ad.onDownloadProgress),Ad.timeout&&(Fd.timeout=Ad.timeout),Fd.ontimeout=function(Gd){var Vd=new Error("timeout");Nd(pd(Vd,Fd))},Fd.onload=function(){Nd(pd(null,Fd,fd(Fd,Ad.dataType)))},Fd.onerror=function(Gd){var Vd=fd(Fd,Ad.dataType);if(Vd)Nd(pd(null,Fd,Vd));else{var Kd=Fd.statusText;!Kd&&Fd.status===0&&(Kd=new Error("CORS blocked or network error")),Nd(pd(Kd,Fd,Vd))}},Fd.send(Ad.body||""),Fd};nd.exports=md},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(nd,od){function ld(ud,cd){if(!(ud instanceof cd))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 cd(pd,fd){for(var md=0;md<fd.length;md++){var vd=fd[md];vd.enumerable=vd.enumerable||!1,vd.configurable=!0,"value"in vd&&(vd.writable=!0),Object.defineProperty(pd,ud(vd.key),vd)}}function dd(pd,fd,md){return fd&&cd(pd.prototype,fd),md&&cd(pd,md),Object.defineProperty(pd,"prototype",{writable:!1}),pd}nd.exports=dd,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 cd(dd,pd){if(ud(dd)!=="object"||dd===null)return dd;var fd=dd[Symbol.toPrimitive];if(fd!==void 0){var md=fd.call(dd,pd||"default");if(ud(md)!=="object")return md;throw new TypeError("@@toPrimitive must return a primitive value.")}return(pd==="string"?String:Number)(dd)}nd.exports=cd,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,cd=ld("./node_modules/@babel/runtime/helpers/toPrimitive.js");function dd(pd){var fd=cd(pd,"string");return ud(fd)==="symbol"?fd:String(fd)}nd.exports=dd,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(cd){return typeof cd}:function(cd){return cd&&typeof Symbol=="function"&&cd.constructor===Symbol&&cd!==Symbol.prototype?"symbol":typeof cd},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"),cd=ld("./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"),dd=ld("./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js");nd.exports={XMLParser:cd,XMLValidator:ud,XMLBuilder:dd}},"./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",cd=ud+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",dd="["+ud+"]["+cd+"]*",pd=new RegExp("^"+dd+"$"),fd=function(vd,Ad){const Nd=[];let Id=Ad.exec(vd);for(;Id;){const kd=[];kd.startIndex=Ad.lastIndex-Id[0].length;const jd=Id.length;for(let Fd=0;Fd<jd;Fd++)kd.push(Id[Fd]);Nd.push(kd),Id=Ad.exec(vd)}return Nd},md=function(vd){const Ad=pd.exec(vd);return!(Ad===null||typeof Ad>"u")};od.isExist=function(vd){return typeof vd<"u"},od.isEmptyObject=function(vd){return Object.keys(vd).length===0},od.merge=function(vd,Ad,Nd){if(Ad){const Id=Object.keys(Ad),kd=Id.length;for(let jd=0;jd<kd;jd++)Nd==="strict"?vd[Id[jd]]=[Ad[Id[jd]]]:vd[Id[jd]]=Ad[Id[jd]]}},od.getValue=function(vd){return od.isExist(vd)?vd:""},od.isName=md,od.getAllMatches=fd,od.nameRegexp=dd},"./node_modules/fast-xml-parser/src/validator.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/util.js"),cd={allowBooleanAttributes:!1,unpairedTags:[]};od.validate=function(Vd,Kd){Kd=Object.assign({},cd,Kd);const mf=[];let Wd=!1,Zd=!1;Vd[0]==="\uFEFF"&&(Vd=Vd.substr(1));for(let Xd=0;Xd<Vd.length;Xd++)if(Vd[Xd]==="<"&&Vd[Xd+1]==="?"){if(Xd+=2,Xd=pd(Vd,Xd),Xd.err)return Xd}else if(Vd[Xd]==="<"){let bf=Xd;if(Xd++,Vd[Xd]==="!"){Xd=fd(Vd,Xd);continue}else{let yf=!1;Vd[Xd]==="/"&&(yf=!0,Xd++);let Ef="";for(;Xd<Vd.length&&Vd[Xd]!==">"&&Vd[Xd]!==" "&&Vd[Xd]!==" "&&Vd[Xd]!==`
|
||
`&&Vd[Xd]!=="\r";Xd++)Ef+=Vd[Xd];if(Ef=Ef.trim(),Ef[Ef.length-1]==="/"&&(Ef=Ef.substring(0,Ef.length-1),Xd--),!Ld(Ef)){let Af;return Ef.trim().length===0?Af="Invalid space after '<'.":Af="Tag '"+Ef+"' is an invalid name.",Fd("InvalidTag",Af,Hd(Vd,Xd))}const gf=Ad(Vd,Xd);if(gf===!1)return Fd("InvalidAttr","Attributes for '"+Ef+"' have open quote.",Hd(Vd,Xd));let xf=gf.value;if(Xd=gf.index,xf[xf.length-1]==="/"){const Af=Xd-xf.length;xf=xf.substring(0,xf.length-1);const Lf=Id(xf,Kd);if(Lf===!0)Wd=!0;else return Fd(Lf.err.code,Lf.err.msg,Hd(Vd,Af+Lf.err.line))}else if(yf)if(gf.tagClosed){if(xf.trim().length>0)return Fd("InvalidTag","Closing tag '"+Ef+"' can't have attributes or invalid starting.",Hd(Vd,bf));if(mf.length===0)return Fd("InvalidTag","Closing tag '"+Ef+"' has not been opened.",Hd(Vd,bf));{const Af=mf.pop();if(Ef!==Af.tagName){let Lf=Hd(Vd,Af.tagStartPos);return Fd("InvalidTag","Expected closing tag '"+Af.tagName+"' (opened in line "+Lf.line+", col "+Lf.col+") instead of closing tag '"+Ef+"'.",Hd(Vd,bf))}mf.length==0&&(Zd=!0)}}else return Fd("InvalidTag","Closing tag '"+Ef+"' doesn't have proper closing.",Hd(Vd,Xd));else{const Af=Id(xf,Kd);if(Af!==!0)return Fd(Af.err.code,Af.err.msg,Hd(Vd,Xd-xf.length+Af.err.line));if(Zd===!0)return Fd("InvalidXml","Multiple possible root nodes found.",Hd(Vd,Xd));Kd.unpairedTags.indexOf(Ef)!==-1||mf.push({tagName:Ef,tagStartPos:bf}),Wd=!0}for(Xd++;Xd<Vd.length;Xd++)if(Vd[Xd]==="<")if(Vd[Xd+1]==="!"){Xd++,Xd=fd(Vd,Xd);continue}else if(Vd[Xd+1]==="?"){if(Xd=pd(Vd,++Xd),Xd.err)return Xd}else break;else if(Vd[Xd]==="&"){const Af=jd(Vd,Xd);if(Af==-1)return Fd("InvalidChar","char '&' is not expected.",Hd(Vd,Xd));Xd=Af}else if(Zd===!0&&!dd(Vd[Xd]))return Fd("InvalidXml","Extra text at the end",Hd(Vd,Xd));Vd[Xd]==="<"&&Xd--}}else{if(dd(Vd[Xd]))continue;return Fd("InvalidChar","char '"+Vd[Xd]+"' is not expected.",Hd(Vd,Xd))}if(Wd){if(mf.length==1)return Fd("InvalidTag","Unclosed tag '"+mf[0].tagName+"'.",Hd(Vd,mf[0].tagStartPos));if(mf.length>0)return Fd("InvalidXml","Invalid '"+JSON.stringify(mf.map(Xd=>Xd.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Fd("InvalidXml","Start tag expected.",1);return!0};function dd(Vd){return Vd===" "||Vd===" "||Vd===`
|
||
`||Vd==="\r"}function pd(Vd,Kd){const mf=Kd;for(;Kd<Vd.length;Kd++)if(Vd[Kd]=="?"||Vd[Kd]==" "){const Wd=Vd.substr(mf,Kd-mf);if(Kd>5&&Wd==="xml")return Fd("InvalidXml","XML declaration allowed only at the start of the document.",Hd(Vd,Kd));if(Vd[Kd]=="?"&&Vd[Kd+1]==">"){Kd++;break}else continue}return Kd}function fd(Vd,Kd){if(Vd.length>Kd+5&&Vd[Kd+1]==="-"&&Vd[Kd+2]==="-"){for(Kd+=3;Kd<Vd.length;Kd++)if(Vd[Kd]==="-"&&Vd[Kd+1]==="-"&&Vd[Kd+2]===">"){Kd+=2;break}}else if(Vd.length>Kd+8&&Vd[Kd+1]==="D"&&Vd[Kd+2]==="O"&&Vd[Kd+3]==="C"&&Vd[Kd+4]==="T"&&Vd[Kd+5]==="Y"&&Vd[Kd+6]==="P"&&Vd[Kd+7]==="E"){let mf=1;for(Kd+=8;Kd<Vd.length;Kd++)if(Vd[Kd]==="<")mf++;else if(Vd[Kd]===">"&&(mf--,mf===0))break}else if(Vd.length>Kd+9&&Vd[Kd+1]==="["&&Vd[Kd+2]==="C"&&Vd[Kd+3]==="D"&&Vd[Kd+4]==="A"&&Vd[Kd+5]==="T"&&Vd[Kd+6]==="A"&&Vd[Kd+7]==="["){for(Kd+=8;Kd<Vd.length;Kd++)if(Vd[Kd]==="]"&&Vd[Kd+1]==="]"&&Vd[Kd+2]===">"){Kd+=2;break}}return Kd}const md='"',vd="'";function Ad(Vd,Kd){let mf="",Wd="",Zd=!1;for(;Kd<Vd.length;Kd++){if(Vd[Kd]===md||Vd[Kd]===vd)Wd===""?Wd=Vd[Kd]:Wd!==Vd[Kd]||(Wd="");else if(Vd[Kd]===">"&&Wd===""){Zd=!0;break}mf+=Vd[Kd]}return Wd!==""?!1:{value:mf,index:Kd,tagClosed:Zd}}const Nd=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Id(Vd,Kd){const mf=ud.getAllMatches(Vd,Nd),Wd={};for(let Zd=0;Zd<mf.length;Zd++){if(mf[Zd][1].length===0)return Fd("InvalidAttr","Attribute '"+mf[Zd][2]+"' has no space in starting.",Gd(mf[Zd]));if(mf[Zd][3]!==void 0&&mf[Zd][4]===void 0)return Fd("InvalidAttr","Attribute '"+mf[Zd][2]+"' is without value.",Gd(mf[Zd]));if(mf[Zd][3]===void 0&&!Kd.allowBooleanAttributes)return Fd("InvalidAttr","boolean attribute '"+mf[Zd][2]+"' is not allowed.",Gd(mf[Zd]));const Xd=mf[Zd][2];if(!Md(Xd))return Fd("InvalidAttr","Attribute '"+Xd+"' is an invalid name.",Gd(mf[Zd]));if(!Wd.hasOwnProperty(Xd))Wd[Xd]=1;else return Fd("InvalidAttr","Attribute '"+Xd+"' is repeated.",Gd(mf[Zd]))}return!0}function kd(Vd,Kd){let mf=/\d/;for(Vd[Kd]==="x"&&(Kd++,mf=/[\da-fA-F]/);Kd<Vd.length;Kd++){if(Vd[Kd]===";")return Kd;if(!Vd[Kd].match(mf))break}return-1}function jd(Vd,Kd){if(Kd++,Vd[Kd]===";")return-1;if(Vd[Kd]==="#")return Kd++,kd(Vd,Kd);let mf=0;for(;Kd<Vd.length;Kd++,mf++)if(!(Vd[Kd].match(/\w/)&&mf<20)){if(Vd[Kd]===";")break;return-1}return Kd}function Fd(Vd,Kd,mf){return{err:{code:Vd,msg:Kd,line:mf.line||mf,col:mf.col}}}function Md(Vd){return ud.isName(Vd)}function Ld(Vd){return ud.isName(Vd)}function Hd(Vd,Kd){const mf=Vd.substring(0,Kd).split(/\r?\n/);return{line:mf.length,col:mf[mf.length-1].length+1}}function Gd(Vd){return Vd.startIndex+Vd[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"),cd={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(vd,Ad){return Ad},attributeValueProcessor:function(vd,Ad){return Ad},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 dd(vd){this.options=Object.assign({},cd,vd),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=md),this.processTextOrObjNode=pd,this.options.format?(this.indentate=fd,this.tagEndChar=`>
|
||
`,this.newLine=`
|
||
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}dd.prototype.build=function(vd){return this.options.preserveOrder?ud(vd,this.options):(Array.isArray(vd)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(vd={[this.options.arrayNodeName]:vd}),this.j2x(vd,0).val)},dd.prototype.j2x=function(vd,Ad){let Nd="",Id="";for(let kd in vd)if(Object.prototype.hasOwnProperty.call(vd,kd))if(typeof vd[kd]>"u")this.isAttribute(kd)&&(Id+="");else if(vd[kd]===null)this.isAttribute(kd)?Id+="":kd[0]==="?"?Id+=this.indentate(Ad)+"<"+kd+"?"+this.tagEndChar:Id+=this.indentate(Ad)+"<"+kd+"/"+this.tagEndChar;else if(vd[kd]instanceof Date)Id+=this.buildTextValNode(vd[kd],kd,"",Ad);else if(typeof vd[kd]!="object"){const jd=this.isAttribute(kd);if(jd)Nd+=this.buildAttrPairStr(jd,""+vd[kd]);else if(kd===this.options.textNodeName){let Fd=this.options.tagValueProcessor(kd,""+vd[kd]);Id+=this.replaceEntitiesValue(Fd)}else Id+=this.buildTextValNode(vd[kd],kd,"",Ad)}else if(Array.isArray(vd[kd])){const jd=vd[kd].length;let Fd="";for(let Md=0;Md<jd;Md++){const Ld=vd[kd][Md];typeof Ld>"u"||(Ld===null?kd[0]==="?"?Id+=this.indentate(Ad)+"<"+kd+"?"+this.tagEndChar:Id+=this.indentate(Ad)+"<"+kd+"/"+this.tagEndChar:typeof Ld=="object"?this.options.oneListGroup?Fd+=this.j2x(Ld,Ad+1).val:Fd+=this.processTextOrObjNode(Ld,kd,Ad):Fd+=this.buildTextValNode(Ld,kd,"",Ad))}this.options.oneListGroup&&(Fd=this.buildObjectNode(Fd,kd,"",Ad)),Id+=Fd}else if(this.options.attributesGroupName&&kd===this.options.attributesGroupName){const jd=Object.keys(vd[kd]),Fd=jd.length;for(let Md=0;Md<Fd;Md++)Nd+=this.buildAttrPairStr(jd[Md],""+vd[kd][jd[Md]])}else Id+=this.processTextOrObjNode(vd[kd],kd,Ad);return{attrStr:Nd,val:Id}},dd.prototype.buildAttrPairStr=function(vd,Ad){return Ad=this.options.attributeValueProcessor(vd,""+Ad),Ad=this.replaceEntitiesValue(Ad),this.options.suppressBooleanAttributes&&Ad==="true"?" "+vd:" "+vd+'="'+Ad+'"'};function pd(vd,Ad,Nd){const Id=this.j2x(vd,Nd+1);return vd[this.options.textNodeName]!==void 0&&Object.keys(vd).length===1?this.buildTextValNode(vd[this.options.textNodeName],Ad,Id.attrStr,Nd):this.buildObjectNode(Id.val,Ad,Id.attrStr,Nd)}dd.prototype.buildObjectNode=function(vd,Ad,Nd,Id){if(vd==="")return Ad[0]==="?"?this.indentate(Id)+"<"+Ad+Nd+"?"+this.tagEndChar:this.indentate(Id)+"<"+Ad+Nd+this.closeTag(Ad)+this.tagEndChar;{let kd="</"+Ad+this.tagEndChar,jd="";return Ad[0]==="?"&&(jd="?",kd=""),(Nd||Nd==="")&&vd.indexOf("<")===-1?this.indentate(Id)+"<"+Ad+Nd+jd+">"+vd+kd:this.options.commentPropName!==!1&&Ad===this.options.commentPropName&&jd.length===0?this.indentate(Id)+`<!--${vd}-->`+this.newLine:this.indentate(Id)+"<"+Ad+Nd+jd+this.tagEndChar+vd+this.indentate(Id)+kd}},dd.prototype.closeTag=function(vd){let Ad="";return this.options.unpairedTags.indexOf(vd)!==-1?this.options.suppressUnpairedNode||(Ad="/"):this.options.suppressEmptyNode?Ad="/":Ad=`></${vd}`,Ad},dd.prototype.buildTextValNode=function(vd,Ad,Nd,Id){if(this.options.cdataPropName!==!1&&Ad===this.options.cdataPropName)return this.indentate(Id)+`<![CDATA[${vd}]]>`+this.newLine;if(this.options.commentPropName!==!1&&Ad===this.options.commentPropName)return this.indentate(Id)+`<!--${vd}-->`+this.newLine;if(Ad[0]==="?")return this.indentate(Id)+"<"+Ad+Nd+"?"+this.tagEndChar;{let kd=this.options.tagValueProcessor(Ad,vd);return kd=this.replaceEntitiesValue(kd),kd===""?this.indentate(Id)+"<"+Ad+Nd+this.closeTag(Ad)+this.tagEndChar:this.indentate(Id)+"<"+Ad+Nd+">"+kd+"</"+Ad+this.tagEndChar}},dd.prototype.replaceEntitiesValue=function(vd){if(vd&&vd.length>0&&this.options.processEntities)for(let Ad=0;Ad<this.options.entities.length;Ad++){const Nd=this.options.entities[Ad];vd=vd.replace(Nd.regex,Nd.val)}return vd};function fd(vd){return this.options.indentBy.repeat(vd)}function md(vd){return vd.startsWith(this.options.attributeNamePrefix)&&vd!==this.options.textNodeName?vd.substr(this.attrPrefixLen):!1}nd.exports=dd},"./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js":function(nd,od){const ld=`
|
||
`;function ud(vd,Ad){let Nd="";return Ad.format&&Ad.indentBy.length>0&&(Nd=ld),cd(vd,Ad,"",Nd)}function cd(vd,Ad,Nd,Id){let kd="",jd=!1;for(let Fd=0;Fd<vd.length;Fd++){const Md=vd[Fd],Ld=dd(Md);if(Ld===void 0)continue;let Hd="";if(Nd.length===0?Hd=Ld:Hd=`${Nd}.${Ld}`,Ld===Ad.textNodeName){let Wd=Md[Ld];fd(Hd,Ad)||(Wd=Ad.tagValueProcessor(Ld,Wd),Wd=md(Wd,Ad)),jd&&(kd+=Id),kd+=Wd,jd=!1;continue}else if(Ld===Ad.cdataPropName){jd&&(kd+=Id),kd+=`<![CDATA[${Md[Ld][0][Ad.textNodeName]}]]>`,jd=!1;continue}else if(Ld===Ad.commentPropName){kd+=Id+`<!--${Md[Ld][0][Ad.textNodeName]}-->`,jd=!0;continue}else if(Ld[0]==="?"){const Wd=pd(Md[":@"],Ad),Zd=Ld==="?xml"?"":Id;let Xd=Md[Ld][0][Ad.textNodeName];Xd=Xd.length!==0?" "+Xd:"",kd+=Zd+`<${Ld}${Xd}${Wd}?>`,jd=!0;continue}let Gd=Id;Gd!==""&&(Gd+=Ad.indentBy);const Vd=pd(Md[":@"],Ad),Kd=Id+`<${Ld}${Vd}`,mf=cd(Md[Ld],Ad,Hd,Gd);Ad.unpairedTags.indexOf(Ld)!==-1?Ad.suppressUnpairedNode?kd+=Kd+">":kd+=Kd+"/>":(!mf||mf.length===0)&&Ad.suppressEmptyNode?kd+=Kd+"/>":mf&&mf.endsWith(">")?kd+=Kd+`>${mf}${Id}</${Ld}>`:(kd+=Kd+">",mf&&Id!==""&&(mf.includes("/>")||mf.includes("</"))?kd+=Id+Ad.indentBy+mf+Id:kd+=mf,kd+=`</${Ld}>`),jd=!0}return kd}function dd(vd){const Ad=Object.keys(vd);for(let Nd=0;Nd<Ad.length;Nd++){const Id=Ad[Nd];if(vd.hasOwnProperty(Id)&&Id!==":@")return Id}}function pd(vd,Ad){let Nd="";if(vd&&!Ad.ignoreAttributes)for(let Id in vd){if(!vd.hasOwnProperty(Id))continue;let kd=Ad.attributeValueProcessor(Id,vd[Id]);kd=md(kd,Ad),kd===!0&&Ad.suppressBooleanAttributes?Nd+=` ${Id.substr(Ad.attributeNamePrefix.length)}`:Nd+=` ${Id.substr(Ad.attributeNamePrefix.length)}="${kd}"`}return Nd}function fd(vd,Ad){vd=vd.substr(0,vd.length-Ad.textNodeName.length-1);let Nd=vd.substr(vd.lastIndexOf(".")+1);for(let Id in Ad.stopNodes)if(Ad.stopNodes[Id]===vd||Ad.stopNodes[Id]==="*."+Nd)return!0;return!1}function md(vd,Ad){if(vd&&vd.length>0&&Ad.processEntities)for(let Nd=0;Nd<Ad.entities.length;Nd++){const Id=Ad.entities[Nd];vd=vd.replace(Id.regex,Id.val)}return vd}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 cd(Id,kd){const jd={};if(Id[kd+3]==="O"&&Id[kd+4]==="C"&&Id[kd+5]==="T"&&Id[kd+6]==="Y"&&Id[kd+7]==="P"&&Id[kd+8]==="E"){kd=kd+9;let Fd=1,Md=!1,Ld=!1,Hd="";for(;kd<Id.length;kd++)if(Id[kd]==="<"&&!Ld){if(Md&&fd(Id,kd))kd+=7,[entityName,val,kd]=dd(Id,kd+1),val.indexOf("&")===-1&&(jd[Nd(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(Md&&md(Id,kd))kd+=8;else if(Md&&vd(Id,kd))kd+=8;else if(Md&&Ad(Id,kd))kd+=9;else if(pd)Ld=!0;else throw new Error("Invalid DOCTYPE");Fd++,Hd=""}else if(Id[kd]===">"){if(Ld?Id[kd-1]==="-"&&Id[kd-2]==="-"&&(Ld=!1,Fd--):Fd--,Fd===0)break}else Id[kd]==="["?Md=!0:Hd+=Id[kd];if(Fd!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:jd,i:kd}}function dd(Id,kd){let jd="";for(;kd<Id.length&&Id[kd]!=="'"&&Id[kd]!=='"';kd++)jd+=Id[kd];if(jd=jd.trim(),jd.indexOf(" ")!==-1)throw new Error("External entites are not supported");const Fd=Id[kd++];let Md="";for(;kd<Id.length&&Id[kd]!==Fd;kd++)Md+=Id[kd];return[jd,Md,kd]}function pd(Id,kd){return Id[kd+1]==="!"&&Id[kd+2]==="-"&&Id[kd+3]==="-"}function fd(Id,kd){return Id[kd+1]==="!"&&Id[kd+2]==="E"&&Id[kd+3]==="N"&&Id[kd+4]==="T"&&Id[kd+5]==="I"&&Id[kd+6]==="T"&&Id[kd+7]==="Y"}function md(Id,kd){return Id[kd+1]==="!"&&Id[kd+2]==="E"&&Id[kd+3]==="L"&&Id[kd+4]==="E"&&Id[kd+5]==="M"&&Id[kd+6]==="E"&&Id[kd+7]==="N"&&Id[kd+8]==="T"}function vd(Id,kd){return Id[kd+1]==="!"&&Id[kd+2]==="A"&&Id[kd+3]==="T"&&Id[kd+4]==="T"&&Id[kd+5]==="L"&&Id[kd+6]==="I"&&Id[kd+7]==="S"&&Id[kd+8]==="T"}function Ad(Id,kd){return Id[kd+1]==="!"&&Id[kd+2]==="N"&&Id[kd+3]==="O"&&Id[kd+4]==="T"&&Id[kd+5]==="A"&&Id[kd+6]==="T"&&Id[kd+7]==="I"&&Id[kd+8]==="O"&&Id[kd+9]==="N"}function Nd(Id){if(ud.isName(Id))return Id;throw new Error(`Invalid entity name ${Id}`)}nd.exports=cd},"./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(cd,dd){return dd},attributeValueProcessor:function(cd,dd){return dd},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(cd,dd,pd){return cd}},ud=function(cd){return Object.assign({},ld,cd)};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"),cd=ld("./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js"),dd=ld("./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"),pd=ld("./node_modules/strnum/strnum.js");class fd{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:(Xd,bf)=>String.fromCharCode(Number.parseInt(bf,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(Xd,bf)=>String.fromCharCode(Number.parseInt(bf,16))}},this.addExternalEntities=md,this.parseXml=kd,this.parseTextData=vd,this.resolveNameSpace=Ad,this.buildAttributesMap=Id,this.isItStopNode=Ld,this.replaceEntitiesValue=Fd,this.readStopNodeData=Kd,this.saveTextToParentTag=Md,this.addChild=jd}}function md(Wd){const Zd=Object.keys(Wd);for(let Xd=0;Xd<Zd.length;Xd++){const bf=Zd[Xd];this.lastEntities[bf]={regex:new RegExp("&"+bf+";","g"),val:Wd[bf]}}}function vd(Wd,Zd,Xd,bf,yf,Ef,gf){if(Wd!==void 0&&(this.options.trimValues&&!bf&&(Wd=Wd.trim()),Wd.length>0)){gf||(Wd=this.replaceEntitiesValue(Wd));const xf=this.options.tagValueProcessor(Zd,Wd,Xd,yf,Ef);return xf==null?Wd:typeof xf!=typeof Wd||xf!==Wd?xf:this.options.trimValues?mf(Wd,this.options.parseTagValue,this.options.numberParseOptions):Wd.trim()===Wd?mf(Wd,this.options.parseTagValue,this.options.numberParseOptions):Wd}}function Ad(Wd){if(this.options.removeNSPrefix){const Zd=Wd.split(":"),Xd=Wd.charAt(0)==="/"?"/":"";if(Zd[0]==="xmlns")return"";Zd.length===2&&(Wd=Xd+Zd[1])}return Wd}const Nd=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Id(Wd,Zd,Xd){if(!this.options.ignoreAttributes&&typeof Wd=="string"){const bf=ud.getAllMatches(Wd,Nd),yf=bf.length,Ef={};for(let gf=0;gf<yf;gf++){const xf=this.resolveNameSpace(bf[gf][1]);let Af=bf[gf][4],Lf=this.options.attributeNamePrefix+xf;if(xf.length)if(this.options.transformAttributeName&&(Lf=this.options.transformAttributeName(Lf)),Lf==="__proto__"&&(Lf="#__proto__"),Af!==void 0){this.options.trimValues&&(Af=Af.trim()),Af=this.replaceEntitiesValue(Af);const Xf=this.options.attributeValueProcessor(xf,Af,Zd);Xf==null?Ef[Lf]=Af:typeof Xf!=typeof Af||Xf!==Af?Ef[Lf]=Xf:Ef[Lf]=mf(Af,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(Ef[Lf]=!0)}if(!Object.keys(Ef).length)return;if(this.options.attributesGroupName){const gf={};return gf[this.options.attributesGroupName]=Ef,gf}return Ef}}const kd=function(Wd){Wd=Wd.replace(/\r\n?/g,`
|
||
`);const Zd=new cd("!xml");let Xd=Zd,bf="",yf="";for(let Ef=0;Ef<Wd.length;Ef++)if(Wd[Ef]==="<")if(Wd[Ef+1]==="/"){const xf=Gd(Wd,">",Ef,"Closing Tag is not closed.");let Af=Wd.substring(Ef+2,xf).trim();if(this.options.removeNSPrefix){const Jf=Af.indexOf(":");Jf!==-1&&(Af=Af.substr(Jf+1))}this.options.transformTagName&&(Af=this.options.transformTagName(Af)),Xd&&(bf=this.saveTextToParentTag(bf,Xd,yf));const Lf=yf.substring(yf.lastIndexOf(".")+1);if(Af&&this.options.unpairedTags.indexOf(Af)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${Af}>`);let Xf=0;Lf&&this.options.unpairedTags.indexOf(Lf)!==-1?(Xf=yf.lastIndexOf(".",yf.lastIndexOf(".")-1),this.tagsNodeStack.pop()):Xf=yf.lastIndexOf("."),yf=yf.substring(0,Xf),Xd=this.tagsNodeStack.pop(),bf="",Ef=xf}else if(Wd[Ef+1]==="?"){let xf=Vd(Wd,Ef,!1,"?>");if(!xf)throw new Error("Pi Tag is not closed.");if(bf=this.saveTextToParentTag(bf,Xd,yf),!(this.options.ignoreDeclaration&&xf.tagName==="?xml"||this.options.ignorePiTags)){const Af=new cd(xf.tagName);Af.add(this.options.textNodeName,""),xf.tagName!==xf.tagExp&&xf.attrExpPresent&&(Af[":@"]=this.buildAttributesMap(xf.tagExp,yf,xf.tagName)),this.addChild(Xd,Af,yf)}Ef=xf.closeIndex+1}else if(Wd.substr(Ef+1,3)==="!--"){const xf=Gd(Wd,"-->",Ef+4,"Comment is not closed.");if(this.options.commentPropName){const Af=Wd.substring(Ef+4,xf-2);bf=this.saveTextToParentTag(bf,Xd,yf),Xd.add(this.options.commentPropName,[{[this.options.textNodeName]:Af}])}Ef=xf}else if(Wd.substr(Ef+1,2)==="!D"){const xf=dd(Wd,Ef);this.docTypeEntities=xf.entities,Ef=xf.i}else if(Wd.substr(Ef+1,2)==="!["){const xf=Gd(Wd,"]]>",Ef,"CDATA is not closed.")-2,Af=Wd.substring(Ef+9,xf);bf=this.saveTextToParentTag(bf,Xd,yf);let Lf=this.parseTextData(Af,Xd.tagname,yf,!0,!1,!0,!0);Lf==null&&(Lf=""),this.options.cdataPropName?Xd.add(this.options.cdataPropName,[{[this.options.textNodeName]:Af}]):Xd.add(this.options.textNodeName,Lf),Ef=xf+2}else{let xf=Vd(Wd,Ef,this.options.removeNSPrefix),Af=xf.tagName;const Lf=xf.rawTagName;let Xf=xf.tagExp,Jf=xf.attrExpPresent,Zf=xf.closeIndex;this.options.transformTagName&&(Af=this.options.transformTagName(Af)),Xd&&bf&&Xd.tagname!=="!xml"&&(bf=this.saveTextToParentTag(bf,Xd,yf,!1));const Bf=Xd;if(Bf&&this.options.unpairedTags.indexOf(Bf.tagname)!==-1&&(Xd=this.tagsNodeStack.pop(),yf=yf.substring(0,yf.lastIndexOf("."))),Af!==Zd.tagname&&(yf+=yf?"."+Af:Af),this.isItStopNode(this.options.stopNodes,yf,Af)){let Df="";if(Xf.length>0&&Xf.lastIndexOf("/")===Xf.length-1)Af[Af.length-1]==="/"?(Af=Af.substr(0,Af.length-1),yf=yf.substr(0,yf.length-1),Xf=Af):Xf=Xf.substr(0,Xf.length-1),Ef=xf.closeIndex;else if(this.options.unpairedTags.indexOf(Af)!==-1)Ef=xf.closeIndex;else{const Gf=this.readStopNodeData(Wd,Lf,Zf+1);if(!Gf)throw new Error(`Unexpected end of ${Lf}`);Ef=Gf.i,Df=Gf.tagContent}const Uf=new cd(Af);Af!==Xf&&Jf&&(Uf[":@"]=this.buildAttributesMap(Xf,yf,Af)),Df&&(Df=this.parseTextData(Df,Af,yf,!0,Jf,!0,!0)),yf=yf.substr(0,yf.lastIndexOf(".")),Uf.add(this.options.textNodeName,Df),this.addChild(Xd,Uf,yf)}else{if(Xf.length>0&&Xf.lastIndexOf("/")===Xf.length-1){Af[Af.length-1]==="/"?(Af=Af.substr(0,Af.length-1),yf=yf.substr(0,yf.length-1),Xf=Af):Xf=Xf.substr(0,Xf.length-1),this.options.transformTagName&&(Af=this.options.transformTagName(Af));const Df=new cd(Af);Af!==Xf&&Jf&&(Df[":@"]=this.buildAttributesMap(Xf,yf,Af)),this.addChild(Xd,Df,yf),yf=yf.substr(0,yf.lastIndexOf("."))}else{const Df=new cd(Af);this.tagsNodeStack.push(Xd),Af!==Xf&&Jf&&(Df[":@"]=this.buildAttributesMap(Xf,yf,Af)),this.addChild(Xd,Df,yf),Xd=Df}bf="",Ef=Zf}}else bf+=Wd[Ef];return Zd.child};function jd(Wd,Zd,Xd){const bf=this.options.updateTag(Zd.tagname,Xd,Zd[":@"]);bf===!1||(typeof bf=="string"&&(Zd.tagname=bf),Wd.addChild(Zd))}const Fd=function(Wd){if(this.options.processEntities){for(let Zd in this.docTypeEntities){const Xd=this.docTypeEntities[Zd];Wd=Wd.replace(Xd.regx,Xd.val)}for(let Zd in this.lastEntities){const Xd=this.lastEntities[Zd];Wd=Wd.replace(Xd.regex,Xd.val)}if(this.options.htmlEntities)for(let Zd in this.htmlEntities){const Xd=this.htmlEntities[Zd];Wd=Wd.replace(Xd.regex,Xd.val)}Wd=Wd.replace(this.ampEntity.regex,this.ampEntity.val)}return Wd};function Md(Wd,Zd,Xd,bf){return Wd&&(bf===void 0&&(bf=Object.keys(Zd.child).length===0),Wd=this.parseTextData(Wd,Zd.tagname,Xd,!1,Zd[":@"]?Object.keys(Zd[":@"]).length!==0:!1,bf),Wd!==void 0&&Wd!==""&&Zd.add(this.options.textNodeName,Wd),Wd=""),Wd}function Ld(Wd,Zd,Xd){const bf="*."+Xd;for(const yf in Wd){const Ef=Wd[yf];if(bf===Ef||Zd===Ef)return!0}return!1}function Hd(Wd,Zd,Xd=">"){let bf,yf="";for(let Ef=Zd;Ef<Wd.length;Ef++){let gf=Wd[Ef];if(bf)gf===bf&&(bf="");else if(gf==='"'||gf==="'")bf=gf;else if(gf===Xd[0])if(Xd[1]){if(Wd[Ef+1]===Xd[1])return{data:yf,index:Ef}}else return{data:yf,index:Ef};else gf===" "&&(gf=" ");yf+=gf}}function Gd(Wd,Zd,Xd,bf){const yf=Wd.indexOf(Zd,Xd);if(yf===-1)throw new Error(bf);return yf+Zd.length-1}function Vd(Wd,Zd,Xd,bf=">"){const yf=Hd(Wd,Zd+1,bf);if(!yf)return;let Ef=yf.data;const gf=yf.index,xf=Ef.search(/\s/);let Af=Ef,Lf=!0;xf!==-1&&(Af=Ef.substring(0,xf),Ef=Ef.substring(xf+1).trimStart());const Xf=Af;if(Xd){const Jf=Af.indexOf(":");Jf!==-1&&(Af=Af.substr(Jf+1),Lf=Af!==yf.data.substr(Jf+1))}return{tagName:Af,tagExp:Ef,closeIndex:gf,attrExpPresent:Lf,rawTagName:Xf}}function Kd(Wd,Zd,Xd){const bf=Xd;let yf=1;for(;Xd<Wd.length;Xd++)if(Wd[Xd]==="<")if(Wd[Xd+1]==="/"){const Ef=Gd(Wd,">",Xd,`${Zd} is not closed`);if(Wd.substring(Xd+2,Ef).trim()===Zd&&(yf--,yf===0))return{tagContent:Wd.substring(bf,Xd),i:Ef};Xd=Ef}else if(Wd[Xd+1]==="?")Xd=Gd(Wd,"?>",Xd+1,"StopNode is not closed.");else if(Wd.substr(Xd+1,3)==="!--")Xd=Gd(Wd,"-->",Xd+3,"StopNode is not closed.");else if(Wd.substr(Xd+1,2)==="![")Xd=Gd(Wd,"]]>",Xd,"StopNode is not closed.")-2;else{const Ef=Vd(Wd,Xd,">");Ef&&((Ef&&Ef.tagName)===Zd&&Ef.tagExp[Ef.tagExp.length-1]!=="/"&&yf++,Xd=Ef.closeIndex)}}function mf(Wd,Zd,Xd){if(Zd&&typeof Wd=="string"){const bf=Wd.trim();return bf==="true"?!0:bf==="false"?!1:pd(Wd,Xd)}else return ud.isExist(Wd)?Wd:""}nd.exports=fd},"./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"),cd=ld("./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js"),{prettify:dd}=ld("./node_modules/fast-xml-parser/src/xmlparser/node2json.js"),pd=ld("./node_modules/fast-xml-parser/src/validator.js");class fd{constructor(vd){this.externalEntities={},this.options=ud(vd)}parse(vd,Ad){if(typeof vd!="string")if(vd.toString)vd=vd.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(Ad){Ad===!0&&(Ad={});const kd=pd.validate(vd,Ad);if(kd!==!0)throw Error(`${kd.err.msg}:${kd.err.line}:${kd.err.col}`)}const Nd=new cd(this.options);Nd.addExternalEntities(this.externalEntities);const Id=Nd.parseXml(vd);return this.options.preserveOrder||Id===void 0?Id:dd(Id,this.options)}addEntity(vd,Ad){if(Ad.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(vd.indexOf("&")!==-1||vd.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(Ad==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[vd]=Ad}}nd.exports=fd},"./node_modules/fast-xml-parser/src/xmlparser/node2json.js":function(nd,od,ld){function ud(md,vd){return cd(md,vd)}function cd(md,vd,Ad){let Nd;const Id={};for(let kd=0;kd<md.length;kd++){const jd=md[kd],Fd=dd(jd);let Md="";if(Ad===void 0?Md=Fd:Md=Ad+"."+Fd,Fd===vd.textNodeName)Nd===void 0?Nd=jd[Fd]:Nd+=""+jd[Fd];else{if(Fd===void 0)continue;if(jd[Fd]){let Ld=cd(jd[Fd],vd,Md);const Hd=fd(Ld,vd);jd[":@"]?pd(Ld,jd[":@"],Md,vd):Object.keys(Ld).length===1&&Ld[vd.textNodeName]!==void 0&&!vd.alwaysCreateTextNode?Ld=Ld[vd.textNodeName]:Object.keys(Ld).length===0&&(vd.alwaysCreateTextNode?Ld[vd.textNodeName]="":Ld=""),Id[Fd]!==void 0&&Id.hasOwnProperty(Fd)?(Array.isArray(Id[Fd])||(Id[Fd]=[Id[Fd]]),Id[Fd].push(Ld)):vd.isArray(Fd,Md,Hd)?Id[Fd]=[Ld]:Id[Fd]=Ld}}}return typeof Nd=="string"?Nd.length>0&&(Id[vd.textNodeName]=Nd):Nd!==void 0&&(Id[vd.textNodeName]=Nd),Id}function dd(md){const vd=Object.keys(md);for(let Ad=0;Ad<vd.length;Ad++){const Nd=vd[Ad];if(Nd!==":@")return Nd}}function pd(md,vd,Ad,Nd){if(vd){const Id=Object.keys(vd),kd=Id.length;for(let jd=0;jd<kd;jd++){const Fd=Id[jd];Nd.isArray(Fd,Ad+"."+Fd,!0,!0)?md[Fd]=[vd[Fd]]:md[Fd]=vd[Fd]}}}function fd(md,vd){const{textNodeName:Ad}=vd,Nd=Object.keys(md).length;return!!(Nd===0||Nd===1&&(md[Ad]||typeof md[Ad]=="boolean"||md[Ad]===0))}od.prettify=ud},"./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js":function(nd,od,ld){class ud{constructor(dd){this.tagname=dd,this.child=[],this[":@"]={}}add(dd,pd){dd==="__proto__"&&(dd="#__proto__"),this.child.push({[dd]:pd})}addChild(dd){dd.tagname==="__proto__"&&(dd.tagname="#__proto__"),dd[":@"]&&Object.keys(dd[":@"]).length>0?this.child.push({[dd.tagname]:dd.child,":@":dd[":@"]}):this.child.push({[dd.tagname]:dd.child})}}nd.exports=ud},"./node_modules/process/browser.js":function(nd,od){var ld=nd.exports={},ud,cd;function dd(){throw new Error("setTimeout has not been defined")}function pd(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ud=setTimeout:ud=dd}catch{ud=dd}try{typeof clearTimeout=="function"?cd=clearTimeout:cd=pd}catch{cd=pd}})();function fd(Ld){if(ud===setTimeout)return setTimeout(Ld,0);if((ud===dd||!ud)&&setTimeout)return ud=setTimeout,setTimeout(Ld,0);try{return ud(Ld,0)}catch{try{return ud.call(null,Ld,0)}catch{return ud.call(this,Ld,0)}}}function md(Ld){if(cd===clearTimeout)return clearTimeout(Ld);if((cd===pd||!cd)&&clearTimeout)return cd=clearTimeout,clearTimeout(Ld);try{return cd(Ld)}catch{try{return cd.call(null,Ld)}catch{return cd.call(this,Ld)}}}var vd=[],Ad=!1,Nd,Id=-1;function kd(){!Ad||!Nd||(Ad=!1,Nd.length?vd=Nd.concat(vd):Id=-1,vd.length&&jd())}function jd(){if(!Ad){var Ld=fd(kd);Ad=!0;for(var Hd=vd.length;Hd;){for(Nd=vd,vd=[];++Id<Hd;)Nd&&Nd[Id].run();Id=-1,Hd=vd.length}Nd=null,Ad=!1,md(Ld)}}ld.nextTick=function(Ld){var Hd=new Array(arguments.length-1);if(arguments.length>1)for(var Gd=1;Gd<arguments.length;Gd++)Hd[Gd-1]=arguments[Gd];vd.push(new Fd(Ld,Hd)),vd.length===1&&!Ad&&fd(jd)};function Fd(Ld,Hd){this.fun=Ld,this.array=Hd}Fd.prototype.run=function(){this.fun.apply(null,this.array)},ld.title="browser",ld.browser=!0,ld.env={},ld.argv=[],ld.version="",ld.versions={};function Md(){}ld.on=Md,ld.addListener=Md,ld.once=Md,ld.off=Md,ld.removeListener=Md,ld.removeAllListeners=Md,ld.emit=Md,ld.prependListener=Md,ld.prependOnceListener=Md,ld.listeners=function(Ld){return[]},ld.binding=function(Ld){throw new Error("process.binding is not supported")},ld.cwd=function(){return"/"},ld.chdir=function(Ld){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 cd={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function dd(fd,md={}){if(md=Object.assign({},cd,md),!fd||typeof fd!="string")return fd;let vd=fd.trim();if(md.skipLike!==void 0&&md.skipLike.test(vd))return fd;if(md.hex&&ld.test(vd))return Number.parseInt(vd,16);{const Ad=ud.exec(vd);if(Ad){const Nd=Ad[1],Id=Ad[2];let kd=pd(Ad[3]);const jd=Ad[4]||Ad[6];if(!md.leadingZeros&&Id.length>0&&Nd&&vd[2]!==".")return fd;if(!md.leadingZeros&&Id.length>0&&!Nd&&vd[1]!==".")return fd;{const Fd=Number(vd),Md=""+Fd;return Md.search(/[eE]/)!==-1||jd?md.eNotation?Fd:fd:vd.indexOf(".")!==-1?Md==="0"&&kd===""||Md===kd||Nd&&Md==="-"+kd?Fd:fd:Id?kd===Md||Nd+kd===Md?Fd:fd:vd===Md||vd===Nd+Md?Fd:fd}}else return fd}}function pd(fd){return fd&&fd.indexOf(".")!==-1&&(fd=fd.replace(/0+$/,""),fd==="."?fd="0":fd[0]==="."?fd="0"+fd:fd[fd.length-1]==="."&&(fd=fd.substr(0,fd.length-1))),fd}nd.exports=dd},"./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"),cd=ld("./src/session.js"),dd=ld("./src/async.js"),pd=ld("./src/event.js").EventProxy,fd=ld("./src/util.js"),md=ld("./src/tracker.js");function vd(Wd,Zd){var Xd=this,bf=new pd,yf=Wd.TaskId,Ef=Wd.Bucket,gf=Wd.Region,xf=Wd.Key,Af=Wd.Body,Lf=Wd.ChunkSize||Wd.SliceSize||Xd.options.ChunkSize,Xf=Wd.AsyncLimit,Jf=Wd.StorageClass,Zf=Wd.ServerSideEncryption,Bf,Df,Uf=Wd.onHashProgress,Gf=Wd.tracker;Gf&&Gf.setParams({chunkSize:Lf}),bf.on("error",function(zf){if(Xd._isRunningTask(yf))return Wd.UploadData.UploadId&&cd.removeUsing(Wd.UploadData.UploadId),zf.UploadId=Wd.UploadData.UploadId||"",Zd(zf)}),bf.on("upload_complete",function(zf){var Tf=fd.extend({UploadId:Wd.UploadData.UploadId||""},zf);Zd(null,Tf)}),bf.on("upload_slice_complete",function(zf){var Tf={};fd.each(Wd.Headers,function(vf,qf){var eh=qf.toLowerCase();(eh.indexOf("x-cos-meta-")===0||["pic-operations","x-cos-callback","x-cos-callback-var","x-cos-return-body"].includes(eh))&&(Tf[qf]=vf)}),Fd.call(Xd,{Bucket:Ef,Region:gf,Key:xf,UploadId:zf.UploadId,SliceList:zf.SliceList,Headers:Tf,tracker:Gf},function(vf,qf){if(Xd._isRunningTask(yf)){if(cd.removeUsing(zf.UploadId),vf)return Df(null,!0),bf.emit("error",vf);cd.removeUploadId.call(Xd,zf.UploadId),Df({loaded:Bf,total:Bf},!0),bf.emit("upload_complete",qf)}})}),bf.on("get_upload_data_finish",function(zf){var Tf=cd.getFileId(Af,Wd.ChunkSize,Ef,xf);Tf&&cd.saveUploadId.call(Xd,Tf,zf.UploadId,Xd.options.UploadIdCacheLimit),cd.setUsing(zf.UploadId),Df(null,!0),kd.call(Xd,{TaskId:yf,Bucket:Ef,Region:gf,Key:xf,Body:Af,FileSize:Bf,SliceSize:Lf,AsyncLimit:Xf,ServerSideEncryption:Zf,UploadData:zf,Headers:Wd.Headers,onProgress:Df,tracker:Gf},function(vf,qf){if(Xd._isRunningTask(yf)){if(vf)return Df(null,!0),bf.emit("error",vf);bf.emit("upload_slice_complete",qf)}})}),bf.on("get_file_size_finish",function(){if(Df=fd.throttleOnProgress.call(Xd,Bf,Wd.onProgress),Wd.UploadData.UploadId)bf.emit("get_upload_data_finish",Wd.UploadData);else{var zf=fd.extend({TaskId:yf,Bucket:Ef,Region:gf,Key:xf,Headers:Wd.Headers,StorageClass:Jf,Body:Af,FileSize:Bf,SliceSize:Lf,onHashProgress:Uf,tracker:Gf},Wd);Ad.call(Xd,zf,function(Tf,vf){if(Xd._isRunningTask(yf)){if(Tf)return bf.emit("error",Tf);Wd.UploadData.UploadId=vf.UploadId,Wd.UploadData.PartList=vf.PartList,bf.emit("get_upload_data_finish",Wd.UploadData)}})}}),Bf=Wd.ContentLength,delete Wd.ContentLength,!Wd.Headers&&(Wd.Headers={}),fd.each(Wd.Headers,function(zf,Tf){Tf.toLowerCase()==="content-length"&&delete Wd.Headers[Tf]}),function(){for(var zf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],Tf=1024*1024,vf=0;vf<zf.length&&(Tf=zf[vf]*1024*1024,!(Bf/Tf<=Xd.options.MaxPartNumber));vf++);Wd.ChunkSize=Wd.SliceSize=Lf=Math.max(Lf,Tf)}(),Bf===0?(Wd.Body="",Wd.ContentLength=0,Wd.SkipTask=!0,Xd.putObject(Wd,Zd)):bf.emit("get_file_size_finish")}function Ad(Wd,Zd){var Xd=Wd.TaskId,bf=Wd.Bucket,yf=Wd.Region,Ef=Wd.Key,gf=Wd.StorageClass,xf=this,Af={},Lf=Wd.FileSize,Xf=Wd.SliceSize,Jf=Math.ceil(Lf/Xf),Zf=0,Bf=fd.throttleOnProgress.call(xf,Lf,Wd.onHashProgress),Df=function(Tf,vf){var qf=Xf*(Tf-1),eh=Math.min(qf+Xf,Lf),ch=eh-qf;Af[Tf]?vf(null,{PartNumber:Tf,ETag:Af[Tf],Size:ch}):fd.fileSlice(Wd.Body,qf,eh,!1,function(ih){fd.getFileMd5(ih,function(Pf,uh){if(Pf)return vf(fd.error(Pf));var xh='"'+uh+'"';Af[Tf]=xh,Zf+=ch,Bf({loaded:Zf,total:Lf}),vf(null,{PartNumber:Tf,ETag:xh,Size:ch})})})},Uf=function(Tf,vf){var qf=Tf.length;if(qf===0)return vf(null,!0);if(qf>Jf)return vf(null,!1);if(qf>1){var eh=Math.max(Tf[0].Size,Tf[1].Size);if(eh!==Xf)return vf(null,!1)}var ch=function ih(Pf){if(Pf<qf){var uh=Tf[Pf];Df(uh.PartNumber,function(xh,Qf){Qf&&Qf.ETag===uh.ETag&&Qf.Size===uh.Size?ih(Pf+1):vf(null,!1)})}else vf(null,!0)};ch(0)},Gf=new pd;Gf.on("error",function(zf){if(xf._isRunningTask(Xd))return Zd(zf)}),Gf.on("upload_id_available",function(zf){var Tf={},vf=[];fd.each(zf.PartList,function(ch){Tf[ch.PartNumber]=ch});for(var qf=1;qf<=Jf;qf++){var eh=Tf[qf];eh?(eh.PartNumber=qf,eh.Uploaded=!0):eh={PartNumber:qf,ETag:null,Uploaded:!1},vf.push(eh)}zf.PartList=vf,Zd(null,zf)}),Gf.on("no_available_upload_id",function(){if(xf._isRunningTask(Xd)){var zf=fd.extend({Bucket:bf,Region:yf,Key:Ef,Query:fd.clone(Wd.Query),StorageClass:gf,Body:Wd.Body,calledBySdk:"sliceUploadFile",tracker:Wd.tracker},Wd),Tf=fd.clone(Wd.Headers);delete Tf["x-cos-mime-limit"],zf.Headers=Tf,xf.multipartInit(zf,function(vf,qf){if(xf._isRunningTask(Xd)){if(vf)return Gf.emit("error",vf);var eh=qf.UploadId;if(!eh)return Zd(fd.error(new Error("no such upload id")));Gf.emit("upload_id_available",{UploadId:eh,PartList:[]})}})}}),Gf.on("has_and_check_upload_id",function(zf){zf=zf.reverse(),dd.eachLimit(zf,1,function(Tf,vf){if(xf._isRunningTask(Xd)){if(cd.using[Tf]){vf();return}Id.call(xf,{Bucket:bf,Region:yf,Key:Ef,UploadId:Tf,tracker:Wd.tracker},function(qf,eh){if(xf._isRunningTask(Xd)){if(qf)return cd.removeUsing(Tf),Gf.emit("error",qf);var ch=eh.PartList;ch.forEach(function(ih){ih.PartNumber*=1,ih.Size*=1,ih.ETag=ih.ETag||""}),Uf(ch,function(ih,Pf){if(xf._isRunningTask(Xd)){if(ih)return Gf.emit("error",ih);Pf?vf({UploadId:Tf,PartList:ch}):vf()}})}})}},function(Tf){xf._isRunningTask(Xd)&&(Bf(null,!0),Tf&&Tf.UploadId?Gf.emit("upload_id_available",Tf):Gf.emit("no_available_upload_id"))})}),Gf.on("seek_local_avail_upload_id",function(zf){var Tf=cd.getFileId(Wd.Body,Wd.ChunkSize,bf,Ef),vf=cd.getUploadIdList.call(xf,Tf);if(!Tf||!vf){Gf.emit("has_and_check_upload_id",zf);return}var qf=function eh(ch){if(ch>=vf.length){Gf.emit("has_and_check_upload_id",zf);return}var ih=vf[ch];if(!fd.isInArray(zf,ih)){cd.removeUploadId.call(xf,ih),eh(ch+1);return}if(cd.using[ih]){eh(ch+1);return}Id.call(xf,{Bucket:bf,Region:yf,Key:Ef,UploadId:ih,tracker:Wd.tracker},function(Pf,uh){xf._isRunningTask(Xd)&&(Pf?(cd.removeUploadId.call(xf,ih),eh(ch+1)):Gf.emit("upload_id_available",{UploadId:ih,PartList:uh.PartList}))})};qf(0)}),Gf.on("get_remote_upload_id_list",function(){Nd.call(xf,{Bucket:bf,Region:yf,Key:Ef,tracker:Wd.tracker},function(zf,Tf){if(xf._isRunningTask(Xd)){if(zf)return Gf.emit("error",zf);var vf=fd.filter(Tf.UploadList,function(ch){return ch.Key===Ef&&(!gf||ch.StorageClass.toUpperCase()===gf.toUpperCase())}).reverse().map(function(ch){return ch.UploadId||ch.UploadID});if(vf.length)Gf.emit("seek_local_avail_upload_id",vf);else{var qf=cd.getFileId(Wd.Body,Wd.ChunkSize,bf,Ef),eh;qf&&(eh=cd.getUploadIdList.call(xf,qf))&&fd.each(eh,function(ch){cd.removeUploadId.call(xf,ch)}),Gf.emit("no_available_upload_id")}}})}),Gf.emit("get_remote_upload_id_list")}function Nd(Wd,Zd){var Xd=this,bf=[],yf={Bucket:Wd.Bucket,Region:Wd.Region,Prefix:Wd.Key,calledBySdk:Wd.calledBySdk||"sliceUploadFile",tracker:Wd.tracker},Ef=function gf(){Xd.multipartList(yf,function(xf,Af){if(xf)return Zd(xf);bf.push.apply(bf,Af.Upload||[]),Af.IsTruncated==="true"?(yf.KeyMarker=Af.NextKeyMarker,yf.UploadIdMarker=Af.NextUploadIdMarker,gf()):Zd(null,{UploadList:bf})})};Ef()}function Id(Wd,Zd){var Xd=this,bf=[],yf={Bucket:Wd.Bucket,Region:Wd.Region,Key:Wd.Key,UploadId:Wd.UploadId,calledBySdk:"sliceUploadFile",tracker:Wd.tracker},Ef=function gf(){Xd.multipartListPart(yf,function(xf,Af){if(xf)return Zd(xf);bf.push.apply(bf,Af.Part||[]),Af.IsTruncated==="true"?(yf.PartNumberMarker=Af.NextPartNumberMarker,gf()):Zd(null,{PartList:bf})})};Ef()}function kd(Wd,Zd){var Xd=this,bf=Wd.TaskId,yf=Wd.Bucket,Ef=Wd.Region,gf=Wd.Key,xf=Wd.UploadData,Af=Wd.FileSize,Lf=Wd.SliceSize,Xf=Math.min(Wd.AsyncLimit||Xd.options.ChunkParallelLimit||1,256),Jf=Wd.Body,Zf=Math.ceil(Af/Lf),Bf=0,Df=Wd.ServerSideEncryption,Uf=Wd.Headers,Gf=fd.filter(xf.PartList,function(Tf){return Tf.Uploaded&&(Bf+=Tf.PartNumber>=Zf&&Af%Lf||Lf),!Tf.Uploaded}),zf=Wd.onProgress;dd.eachLimit(Gf,Xf,function(Tf,vf){if(Xd._isRunningTask(bf)){var qf=Tf.PartNumber,eh=Math.min(Af,Tf.PartNumber*Lf)-(Tf.PartNumber-1)*Lf,ch=0;jd.call(Xd,{TaskId:bf,Bucket:yf,Region:Ef,Key:gf,SliceSize:Lf,FileSize:Af,PartNumber:qf,ServerSideEncryption:Df,Body:Jf,UploadData:xf,Headers:Uf,onProgress:function(Pf){Bf+=Pf.loaded-ch,ch=Pf.loaded,zf({loaded:Bf,total:Af})},tracker:Wd.tracker},function(ih,Pf){Xd._isRunningTask(bf)&&(!ih&&!Pf.ETag&&(ih='get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败,请在CORS ExposeHeader设置中添加ETag,请参考文档:https://cloud.tencent.com/document/product/436/13318 )'),ih?Bf-=ch:(Bf+=eh-ch,Tf.ETag=Pf.ETag),zf({loaded:Bf,total:Af}),vf(ih||null,Pf))})}},function(Tf){if(Xd._isRunningTask(bf)){if(Tf)return Zd(Tf);Zd(null,{UploadId:xf.UploadId,SliceList:xf.PartList})}})}function jd(Wd,Zd){var Xd=this,bf=Wd.TaskId,yf=Wd.Bucket,Ef=Wd.Region,gf=Wd.Key,xf=Wd.FileSize,Af=Wd.Body,Lf=Wd.PartNumber*1,Xf=Wd.SliceSize,Jf=Wd.ServerSideEncryption,Zf=Wd.UploadData,Bf=Wd.Headers||{},Df=Xd.options.ChunkRetryTimes+1,Uf=Xf*(Lf-1),Gf=Xf,zf=Uf+Xf;zf>xf&&(zf=xf,Gf=zf-Uf);var Tf=["x-cos-traffic-limit","x-cos-mime-limit"],vf={};fd.each(Bf,function(eh,ch){Tf.indexOf(ch)>-1&&(vf[ch]=eh)});var qf=Zf.PartList[Lf-1];dd.retry(Df,function(eh){Xd._isRunningTask(bf)&&fd.fileSlice(Af,Uf,zf,!0,function(ch){Xd.multipartUpload({TaskId:bf,Bucket:yf,Region:Ef,Key:gf,ContentLength:Gf,PartNumber:Lf,UploadId:Zf.UploadId,ServerSideEncryption:Jf,Body:ch,Headers:vf,onProgress:Wd.onProgress,calledBySdk:"sliceUploadFile",tracker:Wd.tracker},function(ih,Pf){if(Xd._isRunningTask(bf))return ih?eh(ih):(qf.Uploaded=!0,eh(null,Pf))})})},function(eh,ch){if(Xd._isRunningTask(bf))return Zd(eh,ch)})}function Fd(Wd,Zd){var Xd=Wd.Bucket,bf=Wd.Region,yf=Wd.Key,Ef=Wd.UploadId,gf=Wd.SliceList,xf=this,Af=this.options.ChunkRetryTimes+1,Lf=Wd.Headers,Xf=gf.map(function(Jf){return{PartNumber:Jf.PartNumber,ETag:Jf.ETag}});dd.retry(Af,function(Jf){xf.multipartComplete({Bucket:Xd,Region:bf,Key:yf,UploadId:Ef,Parts:Xf,Headers:Lf,calledBySdk:"sliceUploadFile",tracker:Wd.tracker},Jf)},function(Jf,Zf){Zd(Jf,Zf)})}function Md(Wd,Zd){var Xd=Wd.Bucket,bf=Wd.Region,yf=Wd.Key,Ef=Wd.UploadId,gf=Wd.Level||"task",xf=Wd.AsyncLimit,Af=this,Lf=new pd;if(Lf.on("error",function(Xf){return Zd(Xf)}),Lf.on("get_abort_array",function(Xf){Ld.call(Af,{Bucket:Xd,Region:bf,Key:yf,Headers:Wd.Headers,AsyncLimit:xf,AbortArray:Xf},Zd)}),gf==="bucket")Nd.call(Af,{Bucket:Xd,Region:bf,calledBySdk:"abortUploadTask"},function(Xf,Jf){if(Xf)return Zd(Xf);Lf.emit("get_abort_array",Jf.UploadList||[])});else if(gf==="file"){if(!yf)return Zd(fd.error(new Error("abort_upload_task_no_key")));Nd.call(Af,{Bucket:Xd,Region:bf,Key:yf,calledBySdk:"abortUploadTask"},function(Xf,Jf){if(Xf)return Zd(Xf);Lf.emit("get_abort_array",Jf.UploadList||[])})}else if(gf==="task"){if(!Ef)return Zd(fd.error(new Error("abort_upload_task_no_id")));if(!yf)return Zd(fd.error(new Error("abort_upload_task_no_key")));Lf.emit("get_abort_array",[{Key:yf,UploadId:Ef}])}else return Zd(fd.error(new Error("abort_unknown_level")))}function Ld(Wd,Zd){var Xd=Wd.Bucket,bf=Wd.Region,yf=Wd.Key,Ef=Wd.AbortArray,gf=Wd.AsyncLimit||1,xf=this,Af=0,Lf=new Array(Ef.length);dd.eachLimit(Ef,gf,function(Xf,Jf){var Zf=Af;if(yf&&yf!==Xf.Key){Lf[Zf]={error:{KeyNotMatch:!0}},Jf(null);return}var Bf=Xf.UploadId||Xf.UploadID;xf.multipartAbort({Bucket:Xd,Region:bf,Key:Xf.Key,Headers:Wd.Headers,UploadId:Bf},function(Df){var Uf={Bucket:Xd,Region:bf,Key:Xf.Key,UploadId:Bf};Lf[Zf]={error:Df,task:Uf},Jf(null)}),Af++},function(Xf){if(Xf)return Zd(Xf);for(var Jf=[],Zf=[],Bf=0,Df=Lf.length;Bf<Df;Bf++){var Uf=Lf[Bf];Uf.task&&(Uf.error?Zf.push(Uf.task):Jf.push(Uf.task))}return Zd(null,{successList:Jf,errorList:Zf})})}function Hd(Wd,Zd){var Xd=this,bf=Wd.SliceSize===void 0?Xd.options.SliceSize:Wd.SliceSize,yf=[],Ef=Wd.Body,gf=Ef.size||Ef.length||0,xf={TaskId:""};if(Xd.options.EnableReporter){var Af=Xd.options.UseAccelerate||typeof Xd.options.Domain=="string"&&Xd.options.Domain.includes("accelerate."),Lf=gf>bf?"sliceUploadFile":"putObject";Wd.tracker=new md({Beacon:Xd.options.BeaconReporter,clsReporter:Xd.options.ClsReporter,bucket:Wd.Bucket,region:Wd.Region,apiName:"uploadFile",realApi:Lf,fileKey:Wd.Key,fileSize:gf,accelerate:Af,deepTracker:Xd.options.DeepTracker,customId:Xd.options.CustomId,delay:Xd.options.TrackerDelay})}fd.each(Wd,function(Uf,Gf){ud(Uf)!=="object"&&typeof Uf!="function"&&(xf[Gf]=Uf)});var Xf=Wd.onTaskReady,Jf=function(Gf){xf.TaskId=Gf,Xf&&Xf(Gf)};Wd.onTaskReady=Jf;var Zf=gf>bf?"sliceUploadFile":"putObject",Bf=Wd.onFileFinish,Df=function(Gf,zf){Wd.tracker&&Wd.tracker.report(Gf,zf),Bf&&Bf(Gf,zf,xf),Zd&&Zd(Gf,zf)};yf.push({api:Zf,params:Wd,callback:Df}),Xd._addTasks(yf)}function Gd(Wd,Zd){var Xd=this,bf=Wd.SliceSize===void 0?Xd.options.SliceSize:Wd.SliceSize,yf=0,Ef=0,gf=fd.throttleOnProgress.call(Xd,Ef,Wd.onProgress),xf=Wd.files.length,Af=Wd.onFileFinish,Lf=Array(xf),Xf=function(Bf,Df,Uf){gf(null,!0),Af&&Af(Bf,Df,Uf),Lf[Uf.Index]={options:Uf,error:Bf,data:Df},--xf<=0&&Zd&&Zd(null,{files:Lf})},Jf=[];fd.each(Wd.files,function(Zf,Bf){(function(){var Df=Zf.Body,Uf=Df.size||Df.length||0,Gf={Index:Bf,TaskId:""};if(!Xd.options.UseRawKey&&Zf.Key&&Zf.Key.substr(0,1)==="/"&&(Zf.Key=Zf.Key.substr(1)),yf+=Uf,Xd.options.EnableReporter){var zf=Xd.options.UseAccelerate||typeof Xd.options.Domain=="string"&&Xd.options.Domain.includes("accelerate."),Tf=Uf>bf?"sliceUploadFile":"putObject";Zf.tracker=new md({Beacon:Xd.options.BeaconReporter,clsReporter:Xd.options.ClsReporter,bucket:Zf.Bucket,region:Zf.Region,apiName:"uploadFiles",realApi:Tf,fileKey:Zf.Key,fileSize:Uf,accelerate:zf,deepTracker:Xd.options.DeepTracker,customId:Xd.options.CustomId,delay:Xd.options.TrackerDelay})}fd.each(Zf,function(Qf,wf){ud(Qf)!=="object"&&typeof Qf!="function"&&(Gf[wf]=Qf)});var vf=Zf.onTaskReady,qf=function(wf){Gf.TaskId=wf,vf&&vf(wf)};Zf.onTaskReady=qf;var eh=0,ch=Zf.onProgress,ih=function(wf){Ef=Ef-eh+wf.loaded,eh=wf.loaded,ch&&ch(wf),gf({loaded:Ef,total:yf})};Zf.onProgress=ih;var Pf=Uf>bf?"sliceUploadFile":"putObject",uh=Zf.onFileFinish,xh=function(wf,$f){Zf.tracker&&Zf.tracker.report(wf,$f),uh&&uh(wf,$f),Xf&&Xf(wf,$f,Gf)};Jf.push({api:Pf,params:Zf,callback:xh})})()}),Xd._addTasks(Jf)}function Vd(Wd,Zd){var Xd=new pd,bf=this,yf=Wd.Bucket,Ef=Wd.Region,gf=Wd.Key,xf=Wd.CopySource,Af=fd.getSourceParams.call(this,xf);if(!Af){Zd(fd.error(new Error("CopySource format error")));return}var Lf=Af.Bucket,Xf=Af.Region,Jf=decodeURIComponent(Af.Key),Zf=Wd.CopySliceSize===void 0?bf.options.CopySliceSize:Wd.CopySliceSize;Zf=Math.max(0,Zf);var Bf=Wd.CopyChunkSize||this.options.CopyChunkSize,Df=this.options.CopyChunkParallelLimit,Uf=this.options.ChunkRetryTimes+1,Gf=0,zf=0,Tf,vf,qf={},eh={},ch={};Xd.on("copy_slice_complete",function(ih){fd.each(Wd.Headers,function(uh,xh){xh.toLowerCase().indexOf("x-cos-meta-")});var Pf=fd.map(ih.PartList,function(uh){return{PartNumber:uh.PartNumber,ETag:uh.ETag}});dd.retry(Uf,function(uh){bf.multipartComplete({Bucket:yf,Region:Ef,Key:gf,UploadId:ih.UploadId,Parts:Pf,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},uh)},function(uh,xh){if(cd.removeUsing(ih.UploadId),uh)return vf(null,!0),Zd(uh);cd.removeUploadId(ih.UploadId),vf({loaded:Tf,total:Tf},!0),Zd(null,xh)})}),Xd.on("get_copy_data_finish",function(ih){var Pf=cd.getCopyFileId(xf,qf,Bf,yf,gf);Pf&&cd.saveUploadId(Pf,ih.UploadId,bf.options.UploadIdCacheLimit),cd.setUsing(ih.UploadId);var uh=fd.filter(ih.PartList,function(xh){return xh.Uploaded&&(zf+=xh.PartNumber>=Gf&&Tf%Bf||Bf),!xh.Uploaded});dd.eachLimit(uh,Df,function(xh,Qf){var wf=xh.PartNumber,$f=xh.CopySourceRange,Wf=xh.end-xh.start;dd.retry(Uf,function(Th){Kd.call(bf,{Bucket:yf,Region:Ef,Key:gf,CopySource:xf,UploadId:ih.UploadId,PartNumber:wf,CopySourceRange:$f,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},Th)},function(Th,vh){if(Th)return Qf(Th);zf+=Wf,vf({loaded:zf,total:Tf}),xh.ETag=vh.ETag,Qf(Th||null,vh)})},function(xh){if(xh)return cd.removeUsing(ih.UploadId),vf(null,!0),Zd(xh);Xd.emit("copy_slice_complete",ih)})}),Xd.on("get_chunk_size_finish",function(){var ih=function(){bf.multipartInit({Bucket:yf,Region:Ef,Key:gf,Headers:ch,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},function(wf,$f){if(wf)return Zd(wf);Wd.UploadId=$f.UploadId,Xd.emit("get_copy_data_finish",{UploadId:Wd.UploadId,PartList:Wd.PartList})})},Pf=cd.getCopyFileId(xf,qf,Bf,yf,gf),uh=cd.getUploadIdList(Pf);if(!Pf||!uh)return ih();var xh=function Qf(wf){if(wf>=uh.length)return ih();var $f=uh[wf];if(cd.using[$f])return Qf(wf+1);Id.call(bf,{Bucket:yf,Region:Ef,Key:gf,UploadId:$f,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},function(Wf,Th){if(Wf)cd.removeUploadId($f),Qf(wf+1);else{if(cd.using[$f])return Qf(wf+1);var vh={},ph=0;fd.each(Th.PartList,function(Vh){var wh=parseInt(Vh.Size),fm=ph+wh-1;vh[Vh.PartNumber+"|"+ph+"|"+fm]=Vh.ETag,ph+=wh}),fd.each(Wd.PartList,function(Vh){var wh=vh[Vh.PartNumber+"|"+Vh.start+"|"+Vh.end];wh&&(Vh.ETag=wh,Vh.Uploaded=!0)}),Xd.emit("get_copy_data_finish",{UploadId:$f,PartList:Wd.PartList})}})};xh(0)}),Xd.on("get_file_size_finish",function(){if(function(){for(var Pf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],uh=1024*1024,xh=0;xh<Pf.length&&(uh=Pf[xh]*1024*1024,!(Tf/uh<=bf.options.MaxPartNumber));xh++);Wd.ChunkSize=Bf=Math.max(Bf,uh),Gf=Math.ceil(Tf/Bf);for(var Qf=[],wf=1;wf<=Gf;wf++){var $f=(wf-1)*Bf,Wf=wf*Bf<Tf?wf*Bf-1:Tf-1,Th={PartNumber:wf,start:$f,end:Wf,CopySourceRange:"bytes="+$f+"-"+Wf};Qf.push(Th)}Wd.PartList=Qf}(),Wd.Headers["x-cos-metadata-directive"]==="Replaced"?ch=Wd.Headers:ch=eh,ch["x-cos-storage-class"]=Wd.Headers["x-cos-storage-class"]||eh["x-cos-storage-class"],ch=fd.clearKey(ch),eh["x-cos-storage-class"]==="ARCHIVE"||eh["x-cos-storage-class"]==="DEEP_ARCHIVE"){var ih=eh["x-cos-restore"];if(!ih||ih==='ongoing-request="true"'){Zd(fd.error(new Error("Unrestored archive object is not allowed to be copied")));return}}delete ch["x-cos-copy-source"],delete ch["x-cos-metadata-directive"],delete ch["x-cos-copy-source-If-Modified-Since"],delete ch["x-cos-copy-source-If-Unmodified-Since"],delete ch["x-cos-copy-source-If-Match"],delete ch["x-cos-copy-source-If-None-Match"],Xd.emit("get_chunk_size_finish")}),bf.headObject({Bucket:Lf,Region:Xf,Key:Jf,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},function(ih,Pf){if(ih){ih.statusCode&&ih.statusCode===404?Zd(fd.error(ih,{ErrorStatus:Jf+" Not Exist"})):Zd(ih);return}if(Tf=Wd.FileSize=Pf.headers["content-length"],Tf===void 0||!Tf){Zd(fd.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(Wd.tracker&&Wd.tracker.setParams({httpSize:Tf}),vf=fd.throttleOnProgress.call(bf,Tf,Wd.onProgress),Tf<=Zf)Wd.Headers["x-cos-metadata-directive"]||(Wd.Headers["x-cos-metadata-directive"]="Copy"),bf.putObjectCopy(Object.assign(Wd,{calledBySdk:"sliceCopyFile"}),function(xh,Qf){if(xh)return vf(null,!0),Zd(xh);vf({loaded:Tf,total:Tf},!0),Zd(xh,Qf)});else{var uh=Pf.headers;qf=uh,eh={"Cache-Control":uh["cache-control"],"Content-Disposition":uh["content-disposition"],"Content-Encoding":uh["content-encoding"],"Content-Type":uh["content-type"],Expires:uh.expires,"x-cos-storage-class":uh["x-cos-storage-class"]},fd.each(uh,function(xh,Qf){var wf="x-cos-meta-";Qf.indexOf(wf)===0&&Qf.length>wf.length&&(eh[Qf]=xh)}),Xd.emit("get_file_size_finish")}})}function Kd(Wd,Zd){var Xd=Wd.TaskId,bf=Wd.Bucket,yf=Wd.Region,Ef=Wd.Key,gf=Wd.CopySource,xf=Wd.UploadId,Af=Wd.PartNumber*1,Lf=Wd.CopySourceRange,Xf=this.options.ChunkRetryTimes+1,Jf=this;dd.retry(Xf,function(Zf){Jf.uploadPartCopy({TaskId:Xd,Bucket:bf,Region:yf,Key:Ef,CopySource:gf,UploadId:xf,PartNumber:Af,CopySourceRange:Lf,tracker:Wd.tracker,calledBySdk:Wd.calledBySdk},function(Bf,Df){Zf(Bf||null,Df)})},function(Zf,Bf){return Zd(Zf,Bf)})}var mf={sliceUploadFile:vd,abortUploadTask:Md,uploadFile:Hd,uploadFiles:Gd,sliceCopyFile:Vd};nd.exports.init=function(Wd,Zd){Zd.transferToTaskMethod(mf,"sliceUploadFile"),fd.each(mf,function(Xd,bf){Wd.prototype[bf]=fd.apiWrapper(bf,Xd)})}},"./src/async.js":function(nd,od){var ld=function(pd,fd,md,vd){if(vd=vd||function(){},!pd.length||fd<=0)return vd();var Ad=0,Nd=0,Id=0;(function kd(){if(Ad>=pd.length)return vd();for(;Id<fd&&Nd<pd.length;)Nd+=1,Id+=1,md(pd[Nd-1],function(jd){jd?(vd(jd),vd=function(){}):(Ad+=1,Id-=1,Ad>=pd.length?vd():kd())})})()},ud=function(pd,fd,md){var vd=function Ad(Nd){fd(function(Id,kd){Id&&Nd<pd?Ad(Nd+1):md(Id,kd)})};pd<1?md():vd(1)},cd={eachLimit:ld,retry:ud};nd.exports=cd},"./src/base.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js"),cd=ld("./lib/request.js"),dd=ld("./src/util.js");function pd(Of,Ch){var _h=this.options.Protocol||(dd.isBrowser&&(typeof location>"u"?"undefined":ud(location))==="object"&&location.protocol==="http:"?"http:":"https:"),Sh=this.options.ServiceDomain,Wh=Of.AppId||this.options.appId,Fh=Of.Region;Sh?(Sh=Sh.replace(/\{\{AppId\}\}/gi,Wh||"").replace(/\{\{Region\}\}/gi,Fh||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(Sh)||(Sh=_h+"//"+Sh),Sh.slice(-1)==="/"&&(Sh=Sh.slice(0,-1))):Fh?Sh=_h+"//cos."+Fh+".myqcloud.com":Sh=_h+"//service.cos.myqcloud.com";var om="",im=Fh?"cos."+Fh+".myqcloud.com":"service.cos.myqcloud.com",Rh=Sh.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");im===Rh&&(om=im),Qm.call(this,{Action:"name/cos:GetService",url:Sh,method:"GET",headers:Of.Headers,SignHost:om,tracker:Of.tracker},function(Im,Pm){if(Im)return Ch(Im);var i_=Pm&&Pm.ListAllMyBucketsResult&&Pm.ListAllMyBucketsResult.Buckets&&Pm.ListAllMyBucketsResult.Buckets.Bucket||[];i_=dd.isArray(i_)?i_:[i_];var Hm=Pm&&Pm.ListAllMyBucketsResult&&Pm.ListAllMyBucketsResult.Owner||{};Ch(null,{Buckets:i_,Owner:Hm,statusCode:Pm.statusCode,headers:Pm.headers})})}function fd(Of,Ch){var _h=this,Sh="";if(Of.BucketAZConfig){var Wh={BucketAZConfig:Of.BucketAZConfig};Sh=dd.json2xml({CreateBucketConfiguration:Wh})}Qm.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,body:Sh,tracker:Of.tracker},function(Fh,om){if(Fh)return Ch(Fh);var im=L_({protocol:_h.options.Protocol,domain:_h.options.Domain,bucket:Of.Bucket,region:Of.Region,isLocation:!0});Ch(null,{Location:im,statusCode:om.statusCode,headers:om.headers})})}function md(Of,Ch){Qm.call(this,{Action:"name/cos:HeadBucket",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,method:"HEAD",tracker:Of.tracker},Ch)}function vd(Of,Ch){var _h={};_h.prefix=Of.Prefix||"",_h.delimiter=Of.Delimiter,_h.marker=Of.Marker,_h["max-keys"]=Of.MaxKeys,_h["encoding-type"]=Of.EncodingType,Qm.call(this,{Action:"name/cos:GetBucket",ResourceKey:_h.prefix,method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,qs:_h,tracker:Of.tracker},function(Sh,Wh){if(Sh)return Ch(Sh);var Fh=Wh.ListBucketResult||{},om=Fh.Contents||[],im=Fh.CommonPrefixes||[];om=dd.isArray(om)?om:[om],im=dd.isArray(im)?im:[im];var Rh=dd.clone(Fh);dd.extend(Rh,{Contents:om,CommonPrefixes:im,statusCode:Wh.statusCode,headers:Wh.headers}),Ch(null,Rh)})}function Ad(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucket",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,method:"DELETE",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Nd(Of,Ch){var _h=Of.Headers,Sh="";if(Of.AccessControlPolicy){var Wh=dd.clone(Of.AccessControlPolicy||{}),Fh=Wh.Grants||Wh.Grant;Fh=dd.isArray(Fh)?Fh:[Fh],delete Wh.Grant,delete Wh.Grants,Wh.AccessControlList={Grant:Fh},Sh=dd.json2xml({AccessControlPolicy:Wh}),_h["Content-Type"]="application/xml",_h["Content-MD5"]=dd.b64(dd.md5(Sh))}dd.each(_h,function(om,im){im.indexOf("x-cos-grant-")===0&&(_h[im]=tg(_h[im]))}),Qm.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,headers:_h,action:"acl",body:Sh,tracker:Of.tracker},function(om,im){if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Id(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"acl",tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);var Wh=Sh.AccessControlPolicy||{},Fh=Wh.Owner||{},om=Wh.AccessControlList.Grant||[];om=dd.isArray(om)?om:[om];var im=h_(Wh);Sh.headers&&Sh.headers["x-cos-acl"]&&(im.ACL=Sh.headers["x-cos-acl"]),im=dd.extend(im,{Owner:Fh,Grants:om,statusCode:Sh.statusCode,headers:Sh.headers}),Ch(null,im)})}function kd(Of,Ch){var _h=Of.CORSConfiguration||{},Sh=_h.CORSRules||Of.CORSRules||[];Sh=dd.clone(dd.isArray(Sh)?Sh:[Sh]),dd.each(Sh,function(im){dd.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(Rh){var Im=Rh+"s",Pm=im[Im]||im[Rh]||[];delete im[Im],im[Rh]=dd.isArray(Pm)?Pm:[Pm]})});var Wh={CORSRule:Sh};Of.ResponseVary&&(Wh.ResponseVary=Of.ResponseVary);var Fh=dd.json2xml({CORSConfiguration:Wh}),om=Of.Headers;om["Content-Type"]="application/xml",om["Content-MD5"]=dd.b64(dd.md5(Fh)),Qm.call(this,{Action:"name/cos:PutBucketCORS",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Fh,action:"cors",headers:om,tracker:Of.tracker},function(im,Rh){if(im)return Ch(im);Ch(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function jd(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketCORS",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"cors",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error&&_h.error.Code==="NoSuchCORSConfiguration"){var Wh={CORSRules:[],statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=Sh.CORSConfiguration||{},om=Fh.CORSRules||Fh.CORSRule||[];om=dd.clone(dd.isArray(om)?om:[om]);var im=Fh.ResponseVary;dd.each(om,function(Rh){dd.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(Im){var Pm=Im+"s",i_=Rh[Pm]||Rh[Im]||[];delete Rh[Im],Rh[Pm]=dd.isArray(i_)?i_:[i_]})}),Ch(null,{CORSRules:om,ResponseVary:im,statusCode:Sh.statusCode,headers:Sh.headers})})}function Fd(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketCORS",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"cors",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode||_h.statusCode,headers:Sh.headers})})}function Md(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketLocation",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"location",tracker:Of.tracker},Ch)}function Ld(Of,Ch){var _h=Of.Policy;try{typeof _h=="string"&&(_h=JSON.parse(_h))}catch{}if(!_h||typeof _h=="string")return Ch(dd.error(new Error("Policy format error")));var Sh=JSON.stringify(_h);_h.version||(_h.version="2.0");var Wh=Of.Headers;Wh["Content-Type"]="application/json",Wh["Content-MD5"]=dd.b64(dd.md5(Sh)),Qm.call(this,{Action:"name/cos:PutBucketPolicy",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,action:"policy",body:Sh,headers:Wh,tracker:Of.tracker},function(Fh,om){if(Fh&&Fh.statusCode===204)return Ch(null,{statusCode:Fh.statusCode});if(Fh)return Ch(Fh);Ch(null,{statusCode:om.statusCode,headers:om.headers})})}function Hd(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketPolicy",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"policy",rawBody:!0,tracker:Of.tracker},function(_h,Sh){if(_h)return _h.statusCode&&_h.statusCode===403?Ch(dd.error(_h,{ErrorStatus:"Access Denied"})):_h.statusCode&&_h.statusCode===405?Ch(dd.error(_h,{ErrorStatus:"Method Not Allowed"})):_h.statusCode&&_h.statusCode===404?Ch(dd.error(_h,{ErrorStatus:"Policy Not Found"})):Ch(_h);var Wh={};try{Wh=JSON.parse(Sh.body)}catch{}Ch(null,{Policy:Wh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Gd(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketPolicy",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"policy",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode||_h.statusCode,headers:Sh.headers})})}function Vd(Of,Ch){var _h=Of.Tagging||{},Sh=_h.TagSet||_h.Tags||Of.Tags||[];Sh=dd.clone(dd.isArray(Sh)?Sh:[Sh]);var Wh=dd.json2xml({Tagging:{TagSet:{Tag:Sh}}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketTagging",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"tagging",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Kd(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketTagging",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"tagging",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error&&(_h.error==="Not Found"||_h.error.Code==="NoSuchTagSet")){var Wh={Tags:[],statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=[];try{Fh=Sh.Tagging.TagSet.Tag||[]}catch{}Fh=dd.clone(dd.isArray(Fh)?Fh:[Fh]),Ch(null,{Tags:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function mf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketTagging",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"tagging",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Wd(Of,Ch){var _h=Of.LifecycleConfiguration||{},Sh=_h.Rules||Of.Rules||[];Sh=dd.clone(Sh);var Wh=dd.json2xml({LifecycleConfiguration:{Rule:Sh}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketLifecycle",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"lifecycle",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Zd(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketLifecycle",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"lifecycle",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error&&_h.error.Code==="NoSuchLifecycleConfiguration"){var Wh={Rules:[],statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=[];try{Fh=Sh.LifecycleConfiguration.Rule||[]}catch{}Fh=dd.clone(dd.isArray(Fh)?Fh:[Fh]),Ch(null,{Rules:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Xd(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketLifecycle",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"lifecycle",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function bf(Of,Ch){if(!Of.VersioningConfiguration){Ch(dd.error(new Error("missing param VersioningConfiguration")));return}var _h=Of.VersioningConfiguration||{},Sh=dd.json2xml({VersioningConfiguration:_h}),Wh=Of.Headers;Wh["Content-Type"]="application/xml",Wh["Content-MD5"]=dd.b64(dd.md5(Sh)),Qm.call(this,{Action:"name/cos:PutBucketVersioning",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Sh,action:"versioning",headers:Wh,tracker:Of.tracker},function(Fh,om){if(Fh&&Fh.statusCode===204)return Ch(null,{statusCode:Fh.statusCode});if(Fh)return Ch(Fh);Ch(null,{statusCode:om.statusCode,headers:om.headers})})}function yf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketVersioning",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"versioning",tracker:Of.tracker},function(_h,Sh){_h||!Sh.VersioningConfiguration&&(Sh.VersioningConfiguration={}),Ch(_h,Sh)})}function Ef(Of,Ch){var _h=dd.clone(Of.ReplicationConfiguration),Sh=dd.json2xml({ReplicationConfiguration:_h});Sh=Sh.replace(/<(\/?)Rules>/gi,"<$1Rule>"),Sh=Sh.replace(/<(\/?)Tags>/gi,"<$1Tag>");var Wh=Of.Headers;Wh["Content-Type"]="application/xml",Wh["Content-MD5"]=dd.b64(dd.md5(Sh)),Qm.call(this,{Action:"name/cos:PutBucketReplication",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Sh,action:"replication",headers:Wh,tracker:Of.tracker},function(Fh,om){if(Fh&&Fh.statusCode===204)return Ch(null,{statusCode:Fh.statusCode});if(Fh)return Ch(Fh);Ch(null,{statusCode:om.statusCode,headers:om.headers})})}function gf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketReplication",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"replication",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error&&(_h.error==="Not Found"||_h.error.Code==="ReplicationConfigurationnotFoundError")){var Wh={ReplicationConfiguration:{Rules:[]},statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}!Sh.ReplicationConfiguration&&(Sh.ReplicationConfiguration={}),Sh.ReplicationConfiguration.Rule&&(Sh.ReplicationConfiguration.Rules=dd.makeArray(Sh.ReplicationConfiguration.Rule),delete Sh.ReplicationConfiguration.Rule),Ch(_h,Sh)})}function xf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"replication",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Af(Of,Ch){if(!Of.WebsiteConfiguration){Ch(dd.error(new Error("missing param WebsiteConfiguration")));return}var _h=dd.clone(Of.WebsiteConfiguration||{}),Sh=_h.RoutingRules||_h.RoutingRule||[];Sh=dd.isArray(Sh)?Sh:[Sh],delete _h.RoutingRule,delete _h.RoutingRules,Sh.length&&(_h.RoutingRules={RoutingRule:Sh});var Wh=dd.json2xml({WebsiteConfiguration:_h}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketWebsite",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"website",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Lf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketWebsite",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,action:"website",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error.Code==="NoSuchWebsiteConfiguration"){var Wh={WebsiteConfiguration:{},statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=Sh.WebsiteConfiguration||{};if(Fh.RoutingRules){var om=dd.clone(Fh.RoutingRules.RoutingRule||[]);om=dd.makeArray(om),Fh.RoutingRules=om}Ch(null,{WebsiteConfiguration:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Xf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketWebsite",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"website",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Jf(Of,Ch){if(!Of.RefererConfiguration){Ch(dd.error(new Error("missing param RefererConfiguration")));return}var _h=dd.clone(Of.RefererConfiguration||{}),Sh=_h.DomainList||{},Wh=Sh.Domains||Sh.Domain||[];Wh=dd.isArray(Wh)?Wh:[Wh],Wh.length&&(_h.DomainList={Domain:Wh});var Fh=dd.json2xml({RefererConfiguration:_h}),om=Of.Headers;om["Content-Type"]="application/xml",om["Content-MD5"]=dd.b64(dd.md5(Fh)),Qm.call(this,{Action:"name/cos:PutBucketReferer",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Fh,action:"referer",headers:om,tracker:Of.tracker},function(im,Rh){if(im&&im.statusCode===204)return Ch(null,{statusCode:im.statusCode});if(im)return Ch(im);Ch(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Zf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketReferer",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,action:"referer",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error.Code==="NoSuchRefererConfiguration"){var Wh={WebsiteConfiguration:{},statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=Sh.RefererConfiguration||{};if(Fh.DomainList){var om=dd.makeArray(Fh.DomainList.Domain||[]);Fh.DomainList={Domains:om}}Ch(null,{RefererConfiguration:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Bf(Of,Ch){var _h=Of.DomainConfiguration||{},Sh=_h.DomainRule||Of.DomainRule||[];Sh=dd.clone(Sh);var Wh=dd.json2xml({DomainConfiguration:{DomainRule:Sh}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketDomain",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"domain",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Df(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketDomain",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"domain",tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);var Wh=[];try{Wh=Sh.DomainConfiguration.DomainRule||[]}catch{}Wh=dd.clone(dd.isArray(Wh)?Wh:[Wh]),Ch(null,{DomainRule:Wh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Uf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketDomain",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"domain",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Gf(Of,Ch){var _h=Of.OriginConfiguration||{},Sh=_h.OriginRule||Of.OriginRule||[];Sh=dd.clone(Sh);var Wh=dd.json2xml({OriginConfiguration:{OriginRule:Sh}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketOrigin",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"origin",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function zf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketOrigin",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"origin",tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);var Wh=[];try{Wh=Sh.OriginConfiguration.OriginRule||[]}catch{}Wh=dd.clone(dd.isArray(Wh)?Wh:[Wh]),Ch(null,{OriginRule:Wh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Tf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketOrigin",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"origin",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function vf(Of,Ch){var _h=dd.json2xml({BucketLoggingStatus:Of.BucketLoggingStatus||""}),Sh=Of.Headers;Sh["Content-Type"]="application/xml",Sh["Content-MD5"]=dd.b64(dd.md5(_h)),Qm.call(this,{Action:"name/cos:PutBucketLogging",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:_h,action:"logging",headers:Sh,tracker:Of.tracker},function(Wh,Fh){if(Wh&&Wh.statusCode===204)return Ch(null,{statusCode:Wh.statusCode});if(Wh)return Ch(Wh);Ch(null,{statusCode:Fh.statusCode,headers:Fh.headers})})}function qf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketLogging",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"logging",tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);Ch(null,{BucketLoggingStatus:Sh.BucketLoggingStatus,statusCode:Sh.statusCode,headers:Sh.headers})})}function eh(Of,Ch,_h){var Sh=dd.clone(Ch.InventoryConfiguration);if(Sh.OptionalFields){var Wh=Sh.OptionalFields||[];Sh.OptionalFields={Field:Wh}}if(Sh.Destination&&Sh.Destination.COSBucketDestination&&Sh.Destination.COSBucketDestination.Encryption){var Fh=Sh.Destination.COSBucketDestination.Encryption;Object.keys(Fh).indexOf("SSECOS")>-1&&(Fh["SSE-COS"]=Fh.SSECOS,delete Fh.SSECOS)}var om=dd.json2xml({InventoryConfiguration:Sh}),im=Ch.Headers;im["Content-Type"]="application/xml",im["Content-MD5"]=dd.b64(dd.md5(om));var Rh=Of==="PUT"?"name/cos:PutBucketInventory":"name/cos:PostBucketInventory";Qm.call(this,{Action:Rh,method:Of,Bucket:Ch.Bucket,Region:Ch.Region,body:om,action:"inventory",qs:{id:Ch.Id},headers:im,tracker:Ch.tracker},function(Im,Pm){if(Im&&Im.statusCode===204)return _h(null,{statusCode:Im.statusCode});if(Im)return _h(Im);_h(null,{statusCode:Pm.statusCode,headers:Pm.headers})})}function ch(Of,Ch){return eh.call(this,"PUT",Of,Ch)}function ih(Of,Ch){return eh.call(this,"POST",Of,Ch)}function Pf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketInventory",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"inventory",qs:{id:Of.Id},tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);var Wh=Sh.InventoryConfiguration;if(Wh&&Wh.OptionalFields&&Wh.OptionalFields.Field){var Fh=Wh.OptionalFields.Field;dd.isArray(Fh)||(Fh=[Fh]),Wh.OptionalFields=Fh}if(Wh.Destination&&Wh.Destination.COSBucketDestination&&Wh.Destination.COSBucketDestination.Encryption){var om=Wh.Destination.COSBucketDestination.Encryption;Object.keys(om).indexOf("SSE-COS")>-1&&(om.SSECOS=om["SSE-COS"],delete om["SSE-COS"])}Ch(null,{InventoryConfiguration:Wh,statusCode:Sh.statusCode,headers:Sh.headers})})}function uh(Of,Ch){Qm.call(this,{Action:"name/cos:ListBucketInventory",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"inventory",qs:{"continuation-token":Of.ContinuationToken},tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);var Wh=Sh.ListInventoryConfigurationResult,Fh=Wh.InventoryConfiguration||[];Fh=dd.isArray(Fh)?Fh:[Fh],delete Wh.InventoryConfiguration,dd.each(Fh,function(om){if(om&&om.OptionalFields&&om.OptionalFields.Field){var im=om.OptionalFields.Field;dd.isArray(im)||(im=[im]),om.OptionalFields=im}if(om.Destination&&om.Destination.COSBucketDestination&&om.Destination.COSBucketDestination.Encryption){var Rh=om.Destination.COSBucketDestination.Encryption;Object.keys(Rh).indexOf("SSE-COS")>-1&&(Rh.SSECOS=Rh["SSE-COS"],delete Rh["SSE-COS"])}}),Wh.InventoryConfigurations=Fh,dd.extend(Wh,{statusCode:Sh.statusCode,headers:Sh.headers}),Ch(null,Wh)})}function xh(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketInventory",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"inventory",qs:{id:Of.Id},tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Qf(Of,Ch){if(!Of.AccelerateConfiguration){Ch(dd.error(new Error("missing param AccelerateConfiguration")));return}var _h={AccelerateConfiguration:Of.AccelerateConfiguration||{}},Sh=dd.json2xml(_h),Wh={};Wh["Content-Type"]="application/xml",Wh["Content-MD5"]=dd.b64(dd.md5(Sh)),Qm.call(this,{Action:"name/cos:PutBucketAccelerate",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Sh,action:"accelerate",headers:Wh,tracker:Of.tracker},function(Fh,om){if(Fh)return Ch(Fh);Ch(null,{statusCode:om.statusCode,headers:om.headers})})}function wf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketAccelerate",method:"GET",Bucket:Of.Bucket,Region:Of.Region,action:"accelerate",tracker:Of.tracker},function(_h,Sh){_h||!Sh.AccelerateConfiguration&&(Sh.AccelerateConfiguration={}),Ch(_h,Sh)})}function $f(Of,Ch){var _h=Of.ServerSideEncryptionConfiguration||{},Sh=_h.Rule||_h.Rules||[],Wh=dd.json2xml({ServerSideEncryptionConfiguration:{Rule:Sh}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketEncryption",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"encryption",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Wf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketEncryption",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"encryption",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.code==="NoSuchEncryptionConfiguration"){var Wh={EncryptionConfiguration:{Rules:[]},statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=dd.makeArray(Sh.EncryptionConfiguration&&Sh.EncryptionConfiguration.Rule||[]);Sh.EncryptionConfiguration={Rules:Fh},Ch(_h,Sh)})}function Th(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"encryption",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function vh(Of,Ch){Qm.call(this,{Action:"name/cos:HeadObject",method:"HEAD",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,headers:Of.Headers,tracker:Of.tracker},function(_h,Sh){if(_h){var Wh=_h.statusCode;return Of.Headers["If-Modified-Since"]&&Wh&&Wh===304?Ch(null,{NotModified:!0,statusCode:Wh}):Ch(_h)}Sh.ETag=dd.attr(Sh.headers,"etag",""),Ch(null,Sh)})}function ph(Of,Ch){var _h={};_h.prefix=Of.Prefix||"",_h.delimiter=Of.Delimiter,_h["key-marker"]=Of.KeyMarker,_h["version-id-marker"]=Of.VersionIdMarker,_h["max-keys"]=Of.MaxKeys,_h["encoding-type"]=Of.EncodingType,Qm.call(this,{Action:"name/cos:GetBucketObjectVersions",ResourceKey:_h.prefix,method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,qs:_h,action:"versions",tracker:Of.tracker},function(Sh,Wh){if(Sh)return Ch(Sh);var Fh=Wh.ListVersionsResult||{},om=Fh.DeleteMarker||[];om=dd.isArray(om)?om:[om];var im=Fh.Version||[];im=dd.isArray(im)?im:[im];var Rh=dd.clone(Fh);delete Rh.DeleteMarker,delete Rh.Version,dd.extend(Rh,{DeleteMarkers:om,Versions:im,statusCode:Wh.statusCode,headers:Wh.headers}),Ch(null,Rh)})}function Vh(Of,Ch){if(this.options.ObjectKeySimplifyCheck){var _h=dd.simplifyPath(Of.Key);if(_h==="/"){Ch(dd.error(new Error("The Getobject Key is illegal")));return}}var Sh=Of.Query||{},Wh=Of.QueryString||"",Fh=dd.throttleOnProgress.call(this,0,Of.onProgress),om=Of.tracker;om&&om.setParams({signStartTime:new Date().getTime()}),Sh["response-content-type"]=Of.ResponseContentType,Sh["response-content-language"]=Of.ResponseContentLanguage,Sh["response-expires"]=Of.ResponseExpires,Sh["response-cache-control"]=Of.ResponseCacheControl,Sh["response-content-disposition"]=Of.ResponseContentDisposition,Sh["response-content-encoding"]=Of.ResponseContentEncoding,Qm.call(this,{Action:"name/cos:GetObject",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,DataType:Of.DataType,headers:Of.Headers,qs:Sh,qsStr:Wh,rawBody:!0,onDownloadProgress:Fh,tracker:om},function(im,Rh){if(Fh(null,!0),im){var Im=im.statusCode;return Of.Headers["If-Modified-Since"]&&Im&&Im===304?Ch(null,{NotModified:!0}):Ch(im)}Ch(null,{Body:Rh.body,ETag:dd.attr(Rh.headers,"etag",""),statusCode:Rh.statusCode,headers:Rh.headers})})}function wh(Of,Ch){var _h=this,Sh=Of.ContentLength,Wh=dd.throttleOnProgress.call(_h,Sh,Of.onProgress),Fh=Of.Headers;!Fh["Cache-Control"]&&!Fh["cache-control"]&&(Fh["Cache-Control"]=""),!Fh["Content-Type"]&&!Fh["content-type"]&&(Fh["Content-Type"]=Of.Body&&Of.Body.type||"");var om=Of.UploadAddMetaMd5||_h.options.UploadAddMetaMd5||_h.options.UploadCheckContentMd5,im=Of.tracker;om&&im&&im.setParams({md5StartTime:new Date().getTime()}),dd.getBodyMd5(om,Of.Body,function(Rh){Rh&&(im&&im.setParams({md5EndTime:new Date().getTime()}),_h.options.UploadCheckContentMd5&&(Fh["Content-MD5"]=dd.b64(Rh)),(Of.UploadAddMetaMd5||_h.options.UploadAddMetaMd5)&&(Fh["x-cos-meta-md5"]=Rh)),Of.ContentLength!==void 0&&(Fh["Content-Length"]=Of.ContentLength),Wh(null,!0),Qm.call(_h,{Action:"name/cos:PutObject",TaskId:Of.TaskId,method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,qs:Of.Query,body:Of.Body,onProgress:Wh,tracker:im},function(Im,Pm){if(Im)return Wh(null,!0),Ch(Im);Wh({loaded:Sh,total:Sh},!0);var i_=L_({ForcePathStyle:_h.options.ForcePathStyle,protocol:_h.options.Protocol,domain:_h.options.Domain,bucket:Of.Bucket,region:_h.options.UseAccelerate?"accelerate":Of.Region,object:Of.Key});i_=i_.substr(i_.indexOf("://")+3),Pm.Location=i_,Pm.ETag=dd.attr(Pm.headers,"etag",""),Ch(null,Pm)})},Of.onHashProgress)}function fm(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteObject",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,VersionId:Of.VersionId,action:Of.Recursive?"recursive":"",tracker:Of.tracker},function(_h,Sh){if(_h){var Wh=_h.statusCode;return Wh&&Wh===404?Ch(null,{BucketNotFound:!0,statusCode:Wh}):Ch(_h)}Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Nm(Of,Ch){var _h={};Of.VersionId&&(_h.versionId=Of.VersionId),Qm.call(this,{Action:"name/cos:GetObjectACL",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,qs:_h,action:"acl",tracker:Of.tracker},function(Sh,Wh){if(Sh)return Ch(Sh);var Fh=Wh.AccessControlPolicy||{},om=Fh.Owner||{},im=Fh.AccessControlList&&Fh.AccessControlList.Grant||[];im=dd.isArray(im)?im:[im];var Rh=h_(Fh);delete Rh.GrantWrite,Wh.headers&&Wh.headers["x-cos-acl"]&&(Rh.ACL=Wh.headers["x-cos-acl"]),Rh=dd.extend(Rh,{Owner:om,Grants:im,statusCode:Wh.statusCode,headers:Wh.headers}),Ch(null,Rh)})}function cm(Of,Ch){var _h=Of.Headers,Sh="";if(Of.AccessControlPolicy){var Wh=dd.clone(Of.AccessControlPolicy||{}),Fh=Wh.Grants||Wh.Grant;Fh=dd.isArray(Fh)?Fh:[Fh],delete Wh.Grant,delete Wh.Grants,Wh.AccessControlList={Grant:Fh},Sh=dd.json2xml({AccessControlPolicy:Wh}),_h["Content-Type"]="application/xml",_h["Content-MD5"]=dd.b64(dd.md5(Sh))}dd.each(_h,function(om,im){im.indexOf("x-cos-grant-")===0&&(_h[im]=tg(_h[im]))}),Qm.call(this,{Action:"name/cos:PutObjectACL",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,action:"acl",headers:_h,body:Sh,tracker:Of.tracker},function(om,im){if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Sm(Of,Ch){var _h=Of.Headers;_h.Origin=Of.Origin,_h["Access-Control-Request-Method"]=Of.AccessControlRequestMethod,_h["Access-Control-Request-Headers"]=Of.AccessControlRequestHeaders,Qm.call(this,{Action:"name/cos:OptionsObject",method:"OPTIONS",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:_h,tracker:Of.tracker},function(Sh,Wh){if(Sh)return Sh.statusCode&&Sh.statusCode===403?Ch(null,{OptionsForbidden:!0,statusCode:Sh.statusCode}):Ch(Sh);var Fh=Wh.headers||{};Ch(null,{AccessControlAllowOrigin:Fh["access-control-allow-origin"],AccessControlAllowMethods:Fh["access-control-allow-methods"],AccessControlAllowHeaders:Fh["access-control-allow-headers"],AccessControlExposeHeaders:Fh["access-control-expose-headers"],AccessControlMaxAge:Fh["access-control-max-age"],statusCode:Wh.statusCode,headers:Wh.headers})})}function $m(Of,Ch){var _h=this,Sh=Of.Headers;!Sh["Cache-Control"]&&!Sh["cache-control"]&&(Sh["Cache-Control"]="");var Wh=Of.CopySource||"",Fh=dd.getSourceParams.call(this,Wh);if(!Fh){Ch(dd.error(new Error("CopySource format error")));return}var om=Fh.Bucket,im=Fh.Region,Rh=decodeURIComponent(Fh.Key);Qm.call(this,{Scope:[{action:"name/cos:GetObject",bucket:om,region:im,prefix:Rh},{action:"name/cos:PutObject",bucket:Of.Bucket,region:Of.Region,prefix:Of.Key}],method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,headers:Of.Headers,tracker:Of.tracker},function(Im,Pm){if(Im)return Ch(Im);var i_=dd.clone(Pm.CopyObjectResult||{}),Hm=L_({ForcePathStyle:_h.options.ForcePathStyle,protocol:_h.options.Protocol,domain:_h.options.Domain,bucket:Of.Bucket,region:Of.Region,object:Of.Key,isLocation:!0});dd.extend(i_,{Location:Hm,statusCode:Pm.statusCode,headers:Pm.headers}),Ch(null,i_)})}function fh(Of,Ch){var _h=Of.CopySource||"",Sh=dd.getSourceParams.call(this,_h);if(!Sh){Ch(dd.error(new Error("CopySource format error")));return}var Wh=Sh.Bucket,Fh=Sh.Region,om=decodeURIComponent(Sh.Key);Qm.call(this,{Scope:[{action:"name/cos:GetObject",bucket:Wh,region:Fh,prefix:om},{action:"name/cos:PutObject",bucket:Of.Bucket,region:Of.Region,prefix:Of.Key}],method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,qs:{partNumber:Of.PartNumber,uploadId:Of.UploadId},headers:Of.Headers,tracker:Of.tracker},function(im,Rh){if(im)return Ch(im);var Im=dd.clone(Rh.CopyPartResult||{});dd.extend(Im,{statusCode:Rh.statusCode,headers:Rh.headers}),Ch(null,Im)})}function Rf(Of,Ch){var _h=Of.Objects||[],Sh=Of.Quiet;_h=dd.isArray(_h)?_h:[_h];var Wh=dd.json2xml({Delete:{Object:_h,Quiet:Sh||!1}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh));var om=dd.map(_h,function(im){return{action:"name/cos:DeleteObject",bucket:Of.Bucket,region:Of.Region,prefix:im.Key}});Qm.call(this,{Scope:om,method:"POST",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"delete",headers:Fh,tracker:Of.tracker},function(im,Rh){if(im)return Ch(im);var Im=Rh.DeleteResult||{},Pm=Im.Deleted||[],i_=Im.Error||[];Pm=dd.isArray(Pm)?Pm:[Pm],i_=dd.isArray(i_)?i_:[i_];var Hm=dd.clone(Im);dd.extend(Hm,{Error:i_,Deleted:Pm,statusCode:Rh.statusCode,headers:Rh.headers}),Ch(null,Hm)})}function If(Of,Ch){var _h=Of.Headers;if(!Of.RestoreRequest){Ch(dd.error(new Error("missing param RestoreRequest")));return}var Sh=Of.RestoreRequest||{},Wh=dd.json2xml({RestoreRequest:Sh});_h["Content-Type"]="application/xml",_h["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:RestoreObject",method:"POST",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,body:Wh,action:"restore",headers:_h,tracker:Of.tracker},Ch)}function dh(Of,Ch){var _h=Of.Tagging||{},Sh=_h.TagSet||_h.Tags||Of.Tags||[];Sh=dd.clone(dd.isArray(Sh)?Sh:[Sh]);var Wh=dd.json2xml({Tagging:{TagSet:{Tag:Sh}}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutObjectTagging",method:"PUT",Bucket:Of.Bucket,Key:Of.Key,Region:Of.Region,body:Wh,action:"tagging",headers:Fh,VersionId:Of.VersionId,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function yh(Of,Ch){Qm.call(this,{Action:"name/cos:GetObjectTagging",method:"GET",Key:Of.Key,Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"tagging",VersionId:Of.VersionId,tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error&&(_h.error==="Not Found"||_h.error.Code==="NoSuchTagSet")){var Wh={Tags:[],statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=[];try{Fh=Sh.Tagging.TagSet.Tag||[]}catch{}Fh=dd.clone(dd.isArray(Fh)?Fh:[Fh]),Ch(null,{Tags:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Uh(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteObjectTagging",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,action:"tagging",VersionId:Of.VersionId,tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Zh(Of,Ch){var _h=Of.SelectType;if(!_h)return Ch(dd.error(new Error("missing param SelectType")));var Sh=Of.SelectRequest||{},Wh=dd.json2xml({SelectRequest:Sh}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:GetObject",method:"POST",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,action:"select",qs:{"select-type":Of.SelectType},VersionId:Of.VersionId,body:Wh,DataType:"arraybuffer",rawBody:!0,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);var Rh=dd.parseSelectPayload(im.body);Ch(null,{statusCode:im.statusCode,headers:im.headers,Body:Rh.body,Payload:Rh.payload})})}function _m(Of,Ch){var _h=this,Sh=Of.Headers,Wh=Of.tracker;!Sh["Cache-Control"]&&!Sh["cache-control"]&&(Sh["Cache-Control"]=""),!Sh["Content-Type"]&&!Sh["content-type"]&&(Sh["Content-Type"]=Of.Body&&Of.Body.type||"");var Fh=Of.Body&&(Of.UploadAddMetaMd5||_h.options.UploadAddMetaMd5);Fh&&Wh&&Wh.setParams({md5StartTime:new Date().getTime()}),dd.getBodyMd5(Fh,Of.Body,function(om){om&&(Of.Headers["x-cos-meta-md5"]=om),Fh&&Wh&&Wh.setParams({md5EndTime:new Date().getTime()}),Qm.call(_h,{Action:"name/cos:InitiateMultipartUpload",method:"POST",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,action:"uploads",headers:Of.Headers,qs:Of.Query,tracker:Wh},function(im,Rh){if(im)return Wh&&Wh.parent&&Wh.parent.setParams({errorNode:"multipartInit"}),Ch(im);if(Rh=dd.clone(Rh||{}),Rh&&Rh.InitiateMultipartUploadResult)return Ch(null,dd.extend(Rh.InitiateMultipartUploadResult,{statusCode:Rh.statusCode,headers:Rh.headers}));Ch(null,Rh)})},Of.onHashProgress)}function Um(Of,Ch){var _h=this;dd.getFileSize("multipartUpload",Of,function(){var Sh=Of.tracker,Wh=_h.options.UploadCheckContentMd5;Wh&&Sh&&Sh.setParams({md5StartTime:new Date().getTime()}),dd.getBodyMd5(Wh,Of.Body,function(Fh){Fh&&(Of.Headers["Content-MD5"]=dd.b64(Fh)),Wh&&Sh&&Sh.setParams({md5EndTime:new Date().getTime()}),Sh&&Sh.setParams({partNumber:Of.PartNumber}),Qm.call(_h,{Action:"name/cos:UploadPart",TaskId:Of.TaskId,method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,qs:{partNumber:Of.PartNumber,uploadId:Of.UploadId},headers:Of.Headers,onProgress:Of.onProgress,body:Of.Body||null,tracker:Sh},function(om,im){if(om)return Sh&&Sh.parent&&Sh.parent.setParams({errorNode:"multipartUpload"}),Ch(om);Ch(null,{ETag:dd.attr(im.headers,"etag",""),statusCode:im.statusCode,headers:im.headers})})})})}function Om(Of,Ch){for(var _h=this,Sh=Of.UploadId,Wh=Of.Parts,Fh=Of.tracker,om=0,im=Wh.length;om<im;om++)Wh[om].ETag&&Wh[om].ETag.indexOf('"')===0||(Wh[om].ETag='"'+Wh[om].ETag+'"');var Rh=dd.json2xml({CompleteMultipartUpload:{Part:Wh}});Rh=Rh.replace(/\n\s*/g,"");var Im=Of.Headers;Im["Content-Type"]="application/xml",Im["Content-MD5"]=dd.b64(dd.md5(Rh)),Qm.call(this,{Action:"name/cos:CompleteMultipartUpload",method:"POST",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,qs:{uploadId:Sh},body:Rh,headers:Im,tracker:Fh},function(Pm,i_){if(Pm)return Fh&&Fh.parent&&Fh.parent.setParams({errorNode:"multipartComplete"}),Ch(Pm);var Hm=L_({ForcePathStyle:_h.options.ForcePathStyle,protocol:_h.options.Protocol,domain:_h.options.Domain,bucket:Of.Bucket,region:Of.Region,object:Of.Key,isLocation:!0}),o_=i_.CompleteMultipartUploadResult||{};if(o_.ProcessResults&&(o_.UploadResult={OriginalInfo:{Key:o_.Key,Location:Hm,ETag:o_.ETag,ImageInfo:o_.ImageInfo},ProcessResults:o_.ProcessResults},delete o_.ImageInfo,delete o_.ProcessResults),o_.CallbackResult){var j_=o_.CallbackResult;if(j_.Status==="200"&&j_.CallbackBody)try{o_.CallbackBody=JSON.parse(dd.decodeBase64(j_.CallbackBody))}catch{o_.CallbackBody={}}else o_.CallbackError=j_.Error||{};delete o_.CallbackResult}if(o_.ReturnBodyResult){var B_=o_.ReturnBodyResult;if(B_.Status==="200"&&B_.ReturnBody)try{o_.ReturnBody=JSON.parse(dd.decodeBase64(B_.ReturnBody))}catch{o_.ReturnBody={}}else o_.ReturnError={Code:B_.Code,Message:B_.Message,Status:B_.Status};delete o_.ReturnBodyResult}var C_=dd.extend(o_,{Location:Hm,statusCode:i_.statusCode,headers:i_.headers});Ch(null,C_)})}function r_(Of,Ch){var _h={};_h.delimiter=Of.Delimiter,_h["encoding-type"]=Of.EncodingType,_h.prefix=Of.Prefix||"",_h["max-uploads"]=Of.MaxUploads,_h["key-marker"]=Of.KeyMarker,_h["upload-id-marker"]=Of.UploadIdMarker,_h=dd.clearKey(_h);var Sh=Of.tracker;Sh&&Sh.setParams({signStartTime:new Date().getTime()}),Qm.call(this,{Action:"name/cos:ListMultipartUploads",ResourceKey:_h.prefix,method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,qs:_h,action:"uploads",tracker:Sh},function(Wh,Fh){if(Wh)return Sh&&Sh.parent&&Sh.parent.setParams({errorNode:"multipartList"}),Ch(Wh);if(Fh&&Fh.ListMultipartUploadsResult){var om=Fh.ListMultipartUploadsResult.Upload||[];om=dd.isArray(om)?om:[om],Fh.ListMultipartUploadsResult.Upload=om}var im=dd.clone(Fh.ListMultipartUploadsResult||{});dd.extend(im,{statusCode:Fh.statusCode,headers:Fh.headers}),Ch(null,im)})}function Xm(Of,Ch){var _h={},Sh=Of.tracker;_h.uploadId=Of.UploadId,_h["encoding-type"]=Of.EncodingType,_h["max-parts"]=Of.MaxParts,_h["part-number-marker"]=Of.PartNumberMarker,Qm.call(this,{Action:"name/cos:ListParts",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,qs:_h,tracker:Sh},function(Wh,Fh){if(Wh)return Sh&&Sh.parent&&Sh.parent.setParams({errorNode:"multipartListPart"}),Ch(Wh);var om=Fh.ListPartsResult||{},im=om.Part||[];im=dd.isArray(im)?im:[im],om.Part=im;var Rh=dd.clone(om);dd.extend(Rh,{statusCode:Fh.statusCode,headers:Fh.headers}),Ch(null,Rh)})}function s_(Of,Ch){var _h={};_h.uploadId=Of.UploadId,Qm.call(this,{Action:"name/cos:AbortMultipartUpload",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,qs:_h,tracker:Of.tracker},function(Sh,Wh){if(Sh)return Ch(Sh);Ch(null,{statusCode:Wh.statusCode,headers:Wh.headers})})}function b_(Of,Ch){Qm.call(this,{method:Of.Method,Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,action:Of.Action,headers:Of.Headers,qs:Of.Query,body:Of.Body,Url:Of.Url,rawBody:Of.RawBody,DataType:Of.DataType,tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);Sh&&Sh.body&&(Sh.Body=Sh.body,delete Sh.body),Ch(_h,Sh)})}function H_(Of,Ch){var _h=Of.Headers;!_h["Cache-Control"]&&!_h["cache-control"]&&(_h["Cache-Control"]=""),!_h["Content-Type"]&&!_h["content-type"]&&(_h["Content-Type"]=Of.Body&&Of.Body.type||""),Qm.call(this,{Action:"name/cos:AppendObject",method:"POST",Bucket:Of.Bucket,Region:Of.Region,action:"append",Key:Of.Key,body:Of.Body,qs:{position:Of.Position},headers:Of.Headers,tracker:Of.tracker},function(Sh,Wh){if(Sh)return Ch(Sh);Ch(null,Wh)})}function x_(Of){var Ch=this;return dd.getAuth({SecretId:Of.SecretId||this.options.SecretId||"",SecretKey:Of.SecretKey||this.options.SecretKey||"",Bucket:Of.Bucket,Region:Of.Region,Method:Of.Method,Key:Of.Key,Query:Of.Query,Headers:Of.Headers,Expires:Of.Expires,UseRawKey:Ch.options.UseRawKey,SystemClockOffset:Ch.options.SystemClockOffset})}function M_(Of,Ch){var _h=this,Sh=Of.UseAccelerate===void 0?_h.options.UseAccelerate:Of.UseAccelerate,Wh=L_({ForcePathStyle:_h.options.ForcePathStyle,protocol:Of.Protocol||_h.options.Protocol,domain:Of.Domain||_h.options.Domain,bucket:Of.Bucket,region:Sh?"accelerate":Of.Region,object:Of.Key}),Fh="";Of.Query&&(Fh+=dd.obj2str(Of.Query)),Of.QueryString&&(Fh+=(Fh?"&":"")+Of.QueryString);var om=Wh;if(Of.Sign!==void 0&&!Of.Sign)return Fh&&(om+="?"+Fh),Ch(null,{Url:om}),om;var im=dg.call(this,{Bucket:Of.Bucket,Region:Of.Region,UseAccelerate:Of.UseAccelerate,Url:Wh}),Rh=yg.call(this,{Action:(Of.Method||"").toUpperCase()==="PUT"?"name/cos:PutObject":"name/cos:GetObject",Bucket:Of.Bucket||"",Region:Of.Region||"",Method:Of.Method||"get",Key:Of.Key,Expires:Of.Expires,Headers:Of.Headers,Query:Of.Query,SignHost:im,ForceSignHost:Of.ForceSignHost===!1?!1:_h.options.ForceSignHost},function(Im,Pm){if(Ch){if(Im){Ch(Im);return}var i_=function(j_){var B_=j_.match(/q-url-param-list.*?(?=&)/g)[0],C_="q-url-param-list="+encodeURIComponent(B_.replace(/q-url-param-list=/,"")).toLowerCase(),Km=new RegExp(B_,"g"),ig=j_.replace(Km,C_);return ig},Hm=Wh;Hm+="?"+(Pm.Authorization.indexOf("q-signature")>-1?i_(Pm.Authorization):"sign="+encodeURIComponent(Pm.Authorization)),Pm.SecurityToken&&(Hm+="&x-cos-security-token="+Pm.SecurityToken),Pm.ClientIP&&(Hm+="&clientIP="+Pm.ClientIP),Pm.ClientUA&&(Hm+="&clientUA="+Pm.ClientUA),Pm.Token&&(Hm+="&token="+Pm.Token),Fh&&(Hm+="&"+Fh),setTimeout(function(){Ch(null,{Url:Hm})})}});return Rh?(om+="?"+Rh.Authorization+(Rh.SecurityToken?"&x-cos-security-token="+Rh.SecurityToken:""),Fh&&(om+="&"+Fh)):Fh&&(om+="?"+Fh),om}function h_(Of){var Ch={GrantFullControl:[],GrantWrite:[],GrantRead:[],GrantReadAcp:[],GrantWriteAcp:[],ACL:""},_h={FULL_CONTROL:"GrantFullControl",WRITE:"GrantWrite",READ:"GrantRead",READ_ACP:"GrantReadAcp",WRITE_ACP:"GrantWriteAcp"},Sh=Of&&Of.AccessControlList||{},Wh=Sh.Grant;Wh&&(Wh=dd.isArray(Wh)?Wh:[Wh]);var Fh={READ:0,WRITE:0,FULL_CONTROL:0};return Wh&&Wh.length&&dd.each(Wh,function(om){var im=om.Grantee.URI&&om.Grantee.URI.endsWith("/groups/global/AllUsers");om.Grantee.ID==="qcs::cam::anyone:anyone"||im?Fh[om.Permission]=1:om.Grantee.ID!==Of.Owner.ID&&Ch[_h[om.Permission]].push('id="'+om.Grantee.ID+'"')}),Fh.FULL_CONTROL||Fh.WRITE&&Fh.READ?Ch.ACL="public-read-write":Fh.READ?Ch.ACL="public-read":Ch.ACL="private",dd.each(_h,function(om){Ch[om]=tg(Ch[om].join(","))}),Ch}function tg(Of){var Ch=Of.split(","),_h={},Sh,Wh;for(Sh=0;Sh<Ch.length;)Wh=Ch[Sh].trim(),_h[Wh]?Ch.splice(Sh,1):(_h[Wh]=!0,Ch[Sh]=Wh,Sh++);return Ch.join(",")}function L_(Of){var Ch=Of.region||"",_h=Of.bucket||"",Sh=_h.substr(0,_h.lastIndexOf("-")),Wh=_h.substr(_h.lastIndexOf("-")+1),Fh=Of.domain,om=Of.object;typeof Fh=="function"&&(Fh=Fh({Bucket:_h,Region:Ch})),["http","https"].includes(Of.protocol)&&(Of.protocol=Of.protocol+":");var im=Of.protocol||(dd.isBrowser&&(typeof location>"u"?"undefined":ud(location))==="object"&&location.protocol==="http:"?"http:":"https:");Fh||(["cn-south","cn-south-2","cn-north","cn-east","cn-southwest","sg"].indexOf(Ch)>-1?Fh="{Region}.myqcloud.com":Fh="cos.{Region}.myqcloud.com",Of.ForcePathStyle||(Fh="{Bucket}."+Fh)),Fh=Fh.replace(/\{\{AppId\}\}/gi,Wh).replace(/\{\{Bucket\}\}/gi,Sh).replace(/\{\{Region\}\}/gi,Ch).replace(/\{\{.*?\}\}/gi,""),Fh=Fh.replace(/\{AppId\}/gi,Wh).replace(/\{BucketName\}/gi,Sh).replace(/\{Bucket\}/gi,_h).replace(/\{Region\}/gi,Ch).replace(/\{.*?\}/gi,""),/^[a-zA-Z]+:\/\//.test(Fh)||(Fh=im+"//"+Fh),Fh.slice(-1)==="/"&&(Fh=Fh.slice(0,-1));var Rh=Fh;return Of.ForcePathStyle&&(Rh+="/"+_h),Rh+="/",om&&(Rh+=dd.camSafeUrlEncode(om).replace(/%2F/g,"/")),Of.isLocation&&(Rh=Rh.replace(/^https?:\/\//,"")),Rh}var dg=function(Ch){if(!Ch.Bucket||!Ch.Region)return"";var _h=Ch.UseAccelerate===void 0?this.options.UseAccelerate:Ch.UseAccelerate,Sh=Ch.Url||L_({ForcePathStyle:this.options.ForcePathStyle,protocol:this.options.Protocol,domain:this.options.Domain,bucket:Ch.Bucket,region:_h?"accelerate":Ch.Region}),Wh=Sh.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");return Wh};function yg(Of,Ch){var _h=dd.clone(Of.Headers),Sh="";dd.each(_h,function(N_,y_){(N_===""||["content-type","cache-control","expires"].indexOf(y_.toLowerCase())>-1)&&delete _h[y_],y_.toLowerCase()==="host"&&(Sh=N_)});var Wh=Of.ForceSignHost!==!1;!Sh&&Of.SignHost&&Wh&&(_h.Host=Of.SignHost);var Fh=!1,om=function(y_,hh){Fh||(Fh=!0,hh&&hh.XCosSecurityToken&&!hh.SecurityToken&&(hh=dd.clone(hh),hh.SecurityToken=hh.XCosSecurityToken,delete hh.XCosSecurityToken),Ch&&Ch(y_,hh))},im=this,Rh=Of.Bucket||"",Im=Of.Region||"",Pm=Of.Key||"";im.options.ForcePathStyle&&Rh&&(Pm=Rh+"/"+Pm);var i_="/"+Pm,Hm={},o_=Of.Scope;if(!o_){var j_=Of.Action||"",B_=Of.ResourceKey||Of.Key||"";o_=Of.Scope||[{action:j_,bucket:Rh,region:Im,prefix:B_}]}var C_=dd.md5(JSON.stringify(o_));im._StsCache=im._StsCache||[],function(){var N_,y_;for(N_=im._StsCache.length-1;N_>=0;N_--){y_=im._StsCache[N_];var hh=Math.round(dd.getSkewTime(im.options.SystemClockOffset)/1e3)+30;if(y_.StartTime&&hh<y_.StartTime||hh>=y_.ExpiredTime){im._StsCache.splice(N_,1);continue}if(!y_.ScopeLimit||y_.ScopeLimit&&y_.ScopeKey===C_){Hm=y_;break}}}();var Km=function(){var y_="";Hm.StartTime&&Of.Expires?y_=Hm.StartTime+";"+(Hm.StartTime+Of.Expires*1):Hm.StartTime&&Hm.ExpiredTime&&(y_=Hm.StartTime+";"+Hm.ExpiredTime);var hh=dd.getAuth({SecretId:Hm.TmpSecretId,SecretKey:Hm.TmpSecretKey,Method:Of.Method,Pathname:i_,Query:Of.Query,Headers:_h,Expires:Of.Expires,UseRawKey:im.options.UseRawKey,SystemClockOffset:im.options.SystemClockOffset,KeyTime:y_,ForceSignHost:Wh}),Bh={Authorization:hh,SecurityToken:Hm.SecurityToken||Hm.XCosSecurityToken||"",Token:Hm.Token||"",ClientIP:Hm.ClientIP||"",ClientUA:Hm.ClientUA||"",SignFrom:"client"};om(null,Bh)},ig=function(y_){if(y_.Authorization){var hh=!1,Bh=y_.Authorization;if(Bh)if(Bh.indexOf(" ")>-1)hh=!1;else if(Bh.indexOf("q-sign-algorithm=")>-1&&Bh.indexOf("q-ak=")>-1&&Bh.indexOf("q-sign-time=")>-1&&Bh.indexOf("q-key-time=")>-1&&Bh.indexOf("q-url-param-list=")>-1)hh=!0;else try{Bh=atob(Bh),Bh.indexOf("a=")>-1&&Bh.indexOf("k=")>-1&&Bh.indexOf("t=")>-1&&Bh.indexOf("r=")>-1&&Bh.indexOf("b=")>-1&&(hh=!0)}catch{}if(!hh)return dd.error(new Error("getAuthorization callback params format error"))}else{if(!y_.TmpSecretId)return dd.error(new Error('getAuthorization callback params missing "TmpSecretId"'));if(!y_.TmpSecretKey)return dd.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));if(!y_.SecurityToken&&!y_.XCosSecurityToken)return dd.error(new Error('getAuthorization callback params missing "SecurityToken"'));if(!y_.ExpiredTime)return dd.error(new Error('getAuthorization callback params missing "ExpiredTime"'));if(y_.ExpiredTime&&y_.ExpiredTime.toString().length!==10)return dd.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));if(y_.StartTime&&y_.StartTime.toString().length!==10)return dd.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))}return!1};if(Hm.ExpiredTime&&Hm.ExpiredTime-dd.getSkewTime(im.options.SystemClockOffset)/1e3>60)Km();else if(im.options.getAuthorization)im.options.getAuthorization.call(im,{Bucket:Rh,Region:Im,Method:Of.Method,Key:Pm,Pathname:i_,Query:Of.Query,Headers:_h,Scope:o_,SystemClockOffset:im.options.SystemClockOffset,ForceSignHost:Wh},function(N_){typeof N_=="string"&&(N_={Authorization:N_});var y_=ig(N_);if(y_)return om(y_);N_.Authorization?om(null,N_):(Hm=N_||{},Hm.Scope=o_,Hm.ScopeKey=C_,im._StsCache.push(Hm),Km())});else if(im.options.getSTS)im.options.getSTS.call(im,{Bucket:Rh,Region:Im},function(N_){Hm=N_||{},Hm.Scope=o_,Hm.ScopeKey=C_,Hm.TmpSecretId||(Hm.TmpSecretId=Hm.SecretId),Hm.TmpSecretKey||(Hm.TmpSecretKey=Hm.SecretKey);var y_=ig(Hm);if(y_)return om(y_);im._StsCache.push(Hm),Km()});else return function(){var N_="";if(im.options.StartTime&&Of.Expires){if(im.options.StartTime.toString().length!==10)return om(dd.error(new Error('params "StartTime" should be 10 digits')));N_=im.options.StartTime+";"+(im.options.StartTime+Of.Expires*1)}else if(im.options.StartTime&&im.options.ExpiredTime){if(im.options.StartTime.toString().length!==10)return om(dd.error(new Error('params "StartTime" should be 10 digits')));if(im.options.ExpiredTime.toString().length!==10)return om(dd.error(new Error('params "ExpiredTime" should be 10 digits')));N_=im.options.StartTime+";"+im.options.ExpiredTime*1}var y_=dd.getAuth({SecretId:Of.SecretId||im.options.SecretId,SecretKey:Of.SecretKey||im.options.SecretKey,Method:Of.Method,Pathname:i_,Query:Of.Query,Headers:_h,Expires:Of.Expires,KeyTime:N_,UseRawKey:im.options.UseRawKey,SystemClockOffset:im.options.SystemClockOffset,ForceSignHost:Wh}),hh={Authorization:y_,SecurityToken:im.options.SecurityToken||im.options.XCosSecurityToken,SignFrom:"client"};return om(null,hh),hh}();return""}function q_(Of){var Ch=this,_h=!1,Sh=!1,Wh=!1,Fh=Of.headers&&(Of.headers.date||Of.headers.Date)||Of.error&&Of.error.ServerTime;try{var om=Of.error.Code,im=Of.error.Message;(om==="RequestTimeTooSkewed"||om==="AccessDenied"&&im==="Request has expired")&&(Sh=!0)}catch{}if(Of)if(Sh&&Fh){var Rh=Date.parse(Fh);this.options.CorrectClockSkew&&Math.abs(dd.getSkewTime(this.options.SystemClockOffset)-Rh)>=3e4&&(console.error("error: Local time is too skewed."),this.options.SystemClockOffset=Rh-Date.now(),_h=!0)}else Math.floor(Of.statusCode/100)===5?_h=!0:Of.message==="CORS blocked or network error"&&(Wh=!0,_h=Ch.options.AutoSwitchHost);return{canRetry:_h,networkError:Wh}}function Y_(Of){var Ch=Of.requestUrl,_h=Of.clientCalcSign,Sh=Of.networkError;if(!this.options.AutoSwitchHost||!Ch||!_h||!Sh)return!1;var Wh=/^https?:\/\/[^\/]*\.cos\.[^\/]*\.myqcloud\.com(\/.*)?$/,Fh=/^https?:\/\/[^\/]*\.cos\.accelerate\.myqcloud\.com(\/.*)?$/,om=Wh.test(Ch)&&!Fh.test(Ch);return om}function Qm(Of,Ch){var _h=this;!Of.headers&&(Of.headers={}),!Of.qs&&(Of.qs={}),Of.VersionId&&(Of.qs.versionId=Of.VersionId),Of.qs=dd.clearKey(Of.qs),Of.headers&&(Of.headers=dd.clearKey(Of.headers)),Of.qs&&(Of.qs=dd.clearKey(Of.qs));var Sh=dd.clone(Of.qs);Of.action&&(Sh[Of.action]="");var Wh=Of.url||Of.Url,Fh=Of.SignHost||dg.call(this,{Bucket:Of.Bucket,Region:Of.Region,Url:Wh}),om=Of.tracker,im=function Rh(Im){var Pm=_h.options.SystemClockOffset;om&&om.setParams({signStartTime:new Date().getTime(),httpRetryTimes:Im-1}),Of.SwitchHost&&(Fh=Fh.replace(/myqcloud.com/,"tencentcos.cn")),yg.call(_h,{Bucket:Of.Bucket||"",Region:Of.Region||"",Method:Of.method,Key:Of.Key,Query:Sh,Headers:Of.headers,SignHost:Fh,Action:Of.Action,ResourceKey:Of.ResourceKey,Scope:Of.Scope,ForceSignHost:_h.options.ForceSignHost,SwitchHost:Of.SwitchHost},function(i_,Hm){if(i_){Ch(i_);return}om&&om.setParams({signEndTime:new Date().getTime(),httpStartTime:new Date().getTime()}),Of.AuthData=Hm,Zg.call(_h,Of,function(o_,j_){om&&om.setParams({httpEndTime:new Date().getTime()});var B_=!1,C_=!1;if(o_){var Km=q_.call(_h,o_);B_=Km.canRetry||Pm!==_h.options.SystemClockOffset,C_=Km.networkError}if(o_&&Im<2&&B_){Of.headers&&(delete Of.headers.Authorization,delete Of.headers.token,delete Of.headers.clientIP,delete Of.headers.clientUA,Of.headers["x-cos-security-token"]&&delete Of.headers["x-cos-security-token"],Of.headers["x-ci-security-token"]&&delete Of.headers["x-ci-security-token"]);var ig=Y_.call(_h,{requestUrl:(o_==null?void 0:o_.url)||"",clientCalcSign:Hm.SignFrom==="client",networkError:C_});Of.SwitchHost=ig,Of.retry=!0,Rh(Im+1)}else Ch(o_,j_)})})};im(1)}function Zg(Of,Ch){var _h=this,Sh=Of.TaskId;if(!(Sh&&!_h._isRunningTask(Sh))){var Wh=Of.Bucket,Fh=Of.Region,om=Of.Key,im=Of.method||"GET",Rh=Of.Url||Of.url,Im=Of.body,Pm=Of.rawBody;_h.options.UseAccelerate&&(Fh="accelerate"),Rh=Rh||L_({ForcePathStyle:_h.options.ForcePathStyle,protocol:_h.options.Protocol,domain:_h.options.Domain,bucket:Wh,region:Fh,object:om}),Of.SwitchHost&&(Rh=Rh.replace(/myqcloud.com/,"tencentcos.cn"));var i_=om?Rh:"";Of.action&&(Rh=Rh+"?"+(dd.isIOS_QQ?"".concat(Of.action,"="):Of.action)),Of.qsStr&&(Rh.indexOf("?")>-1?Rh=Rh+"&"+Of.qsStr:Rh=Rh+"?"+Of.qsStr);var Hm={method:im,url:Rh,headers:Of.headers,qs:Of.qs,body:Im},o_="x-cos-security-token";if(dd.isCIHost(Rh)&&(o_="x-ci-security-token"),Hm.headers.Authorization=Of.AuthData.Authorization,Of.AuthData.Token&&(Hm.headers.token=Of.AuthData.Token),Of.AuthData.ClientIP&&(Hm.headers.clientIP=Of.AuthData.ClientIP),Of.AuthData.ClientUA&&(Hm.headers.clientUA=Of.AuthData.ClientUA),Of.AuthData.SecurityToken&&(Hm.headers[o_]=Of.AuthData.SecurityToken),Hm.headers&&(Hm.headers=dd.clearKey(Hm.headers)),Of.retry&&(Hm.headers["x-cos-sdk-retry"]=!0),Hm=dd.clearKey(Hm),Of.onProgress&&typeof Of.onProgress=="function"){var j_=Im&&(Im.size||Im.length)||0;Hm.onProgress=function(hh){if(!(Sh&&!_h._isRunningTask(Sh))){var Bh=hh?hh.loaded:0;Of.onProgress({loaded:Bh,total:j_})}}}Of.onDownloadProgress&&(Hm.onDownloadProgress=Of.onDownloadProgress),Of.DataType&&(Hm.dataType=Of.DataType),this.options.Timeout&&(Hm.timeout=this.options.Timeout),_h.options.ForcePathStyle&&(Hm.pathStyle=_h.options.ForcePathStyle),_h.emit("before-send",Hm);var B_=Hm.url.includes("accelerate."),C_=Hm.qs?Object.keys(Hm.qs).map(function(hh){return"".concat(hh,"=").concat(Hm.qs[hh])}).join("&"):"",Km=C_?Hm.url+"?"+C_:Hm.url;if(Of.tracker){var ig;Of.tracker.setParams({url:Km,httpMethod:Hm.method,accelerate:B_,httpSize:((ig=Hm.body)===null||ig===void 0?void 0:ig.size)||0}),Of.tracker.parent&&!Of.tracker.parent.params.url&&Of.tracker.parent.setParams({url:i_,accelerate:B_})}var N_=(_h.options.Request||cd)(Hm,function(hh){if(!(hh&&hh.error==="abort")){var Bh={options:Hm,error:hh&&hh.error,statusCode:hh&&hh.statusCode||0,statusMessage:hh&&hh.statusMessage||"",headers:hh&&hh.headers||{},body:hh&&hh.body};_h.emit("after-receive",Bh);var Mm=Bh.error,zm=Bh.body,Tm={statusCode:Bh.statusCode,statusMessage:Bh.statusMessage,headers:Bh.headers},e_,O_=function(nb,lg){if(Sh&&_h.off("inner-kill-task",y_),!e_){e_=!0;var jg={};if(Tm&&Tm.statusCode&&(jg.statusCode=Tm.statusCode),Tm&&Tm.headers&&(jg.headers=Tm.headers),nb)Hm.url&&(jg.url=Hm.url),Hm.method&&(jg.method=Hm.method),nb=dd.extend(nb||{},jg),Ch(nb,null);else{if(Of.Action==="name/cos:PutObject"){var wg={};for(var Tb in Of.headers){var Jb=Tb.toLowerCase();wg[Jb]=Of.headers[Tb]}wg["x-cos-callback"]?lg.Error?(lg.CallbackError=dd.clone(lg.Error),delete lg.Error):lg.CallbackBody=dd.clone(lg):wg["x-cos-return-body"]&&(lg.Error?(lg.ReturnError=dd.clone(lg.Error),delete lg.Error):lg.ReturnBody=dd.clone(lg))}lg=dd.extend(lg||{},jg),Ch(null,lg)}N_=null}};if(Mm)return O_(dd.error(Mm));var og=Tm.statusCode,Cg=Math.floor(og/100)===2;if(Pm){if(Cg)return O_(null,{body:zm});if(zm instanceof Blob){dd.readAsBinaryString(zm,function(E_){var nb=dd.parseResBody(E_),lg=nb.Error||nb;return O_(dd.error(new Error(lg.Message||"response body error"),{code:lg.Code,error:lg}))});return}}var rb=dd.parseResBody(zm),Eb=rb.Error||rb;Cg?O_(null,rb):Eb?O_(dd.error(new Error(Eb.Message),{code:Eb.Code,error:Eb})):og?O_(dd.error(new Error(Tm.statusMessage),{code:""+og})):og&&O_(dd.error(new Error("statusCode error")))}}),y_=function hh(Bh){Bh.TaskId===Sh&&(N_&&N_.abort&&N_.abort(),_h.off("inner-kill-task",hh))};Sh&&_h.on("inner-kill-task",y_)}}var db={getService:pd,putBucket:fd,headBucket:md,getBucket:vd,deleteBucket:Ad,putBucketAcl:Nd,getBucketAcl:Id,putBucketCors:kd,getBucketCors:jd,deleteBucketCors:Fd,getBucketLocation:Md,getBucketPolicy:Hd,putBucketPolicy:Ld,deleteBucketPolicy:Gd,putBucketTagging:Vd,getBucketTagging:Kd,deleteBucketTagging:mf,putBucketLifecycle:Wd,getBucketLifecycle:Zd,deleteBucketLifecycle:Xd,putBucketVersioning:bf,getBucketVersioning:yf,putBucketReplication:Ef,getBucketReplication:gf,deleteBucketReplication:xf,putBucketWebsite:Af,getBucketWebsite:Lf,deleteBucketWebsite:Xf,putBucketReferer:Jf,getBucketReferer:Zf,putBucketDomain:Bf,getBucketDomain:Df,deleteBucketDomain:Uf,putBucketOrigin:Gf,getBucketOrigin:zf,deleteBucketOrigin:Tf,putBucketLogging:vf,getBucketLogging:qf,putBucketInventory:ch,postBucketInventory:ih,getBucketInventory:Pf,listBucketInventory:uh,deleteBucketInventory:xh,putBucketAccelerate:Qf,getBucketAccelerate:wf,putBucketEncryption:$f,getBucketEncryption:Wf,deleteBucketEncryption:Th,getObject:Vh,headObject:vh,listObjectVersions:ph,putObject:wh,deleteObject:fm,getObjectAcl:Nm,putObjectAcl:cm,optionsObject:Sm,putObjectCopy:$m,deleteMultipleObject:Rf,restoreObject:If,putObjectTagging:dh,getObjectTagging:yh,deleteObjectTagging:Uh,selectObjectContent:Zh,appendObject:H_,uploadPartCopy:fh,multipartInit:_m,multipartUpload:Um,multipartComplete:Om,multipartList:r_,multipartListPart:Xm,multipartAbort:s_,request:b_,getObjectUrl:M_,getAuth:x_};function $g(Of,Ch,_h){dd.each(["Cors","Acl"],function(Sh){if(Of.slice(-Sh.length)===Sh){var Wh=Of.slice(0,-Sh.length)+Sh.toUpperCase(),Fh=dd.apiWrapper(Of,Ch),om=!1;_h[Wh]=function(){!om&&console.warn("warning: cos."+Wh+" has been deprecated. Please Use cos."+Of+" instead."),om=!0,Fh.apply(this,arguments)}}})}nd.exports.init=function(Of,Ch){Ch.transferToTaskMethod(db,"putObject"),dd.each(db,function(_h,Sh){Of.prototype[Sh]=dd.apiWrapper(Sh,_h),$g(Sh,_h,Of.prototype)})}},"./src/cos.js":function(nd,od,ld){var ud=ld("./src/util.js"),cd=ld("./src/event.js"),dd=ld("./src/task.js"),pd=ld("./src/base.js"),fd=ld("./src/advance.js"),md=ld("./package.json"),vd={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},Ad=function(Id){if(this.options=ud.extend(ud.clone(vd),Id||{}),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");cd.init(this),dd.init(this)};pd.init(Ad,dd),fd.init(Ad,dd),Ad.util={md5:ud.md5,xml2json:ud.xml2json,json2xml:ud.json2xml,encodeBase64:ud.encodeBase64},Ad.getAuthorization=ud.getAuth,Ad.version=md.version,nd.exports=Ad},"./src/event.js":function(nd,od){var ld=function(dd){var pd={},fd=function(vd){return!pd[vd]&&(pd[vd]=[]),pd[vd]};dd.on=function(md,vd){md==="task-list-update"&&console.warn('warning: Event "'+md+'" has been deprecated. Please use "list-update" instead.'),fd(md).push(vd)},dd.off=function(md,vd){for(var Ad=fd(md),Nd=Ad.length-1;Nd>=0;Nd--)vd===Ad[Nd]&&Ad.splice(Nd,1)},dd.emit=function(md,vd){for(var Ad=fd(md).map(function(Id){return Id}),Nd=0;Nd<Ad.length;Nd++)Ad[Nd](vd)}},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"),cd="cos_sdk_upload_cache",dd=30*24*3600,pd,fd,md=function(){try{var jd=JSON.parse(localStorage.getItem(cd))}catch{}jd||(jd=[]),pd=jd},vd=function(){try{pd.length?localStorage.setItem(cd,JSON.stringify(pd)):localStorage.removeItem(cd)}catch{}},Ad=function(){if(!pd){md.call(this);for(var jd=!1,Fd=Math.round(Date.now()/1e3),Md=pd.length-1;Md>=0;Md--){var Ld=pd[Md][2];(!Ld||Ld+dd<Fd)&&(pd.splice(Md,1),jd=!0)}jd&&vd()}},Nd=function(){fd||(fd=setTimeout(function(){vd(),fd=null},400))},Id={using:{},setUsing:function(jd){Id.using[jd]=!0},removeUsing:function(jd){delete Id.using[jd]},getFileId:function(jd,Fd,Md,Ld){return jd.name&&jd.size&&jd.lastModifiedDate&&Fd?ud.md5([jd.name,jd.size,jd.lastModifiedDate,Fd,Md,Ld].join("::")):null},getCopyFileId:function(jd,Fd,Md,Ld,Hd){var Gd=Fd["content-length"],Vd=Fd.etag||"",Kd=Fd["last-modified"];return jd&&Md?ud.md5([jd,Gd,Vd,Kd,Md,Ld,Hd].join("::")):null},getUploadIdList:function(jd){if(!jd)return null;Ad.call(this);for(var Fd=[],Md=0;Md<pd.length;Md++)pd[Md][0]===jd&&Fd.push(pd[Md][1]);return Fd.length?Fd:null},saveUploadId:function(jd,Fd,Md){if(Ad.call(this),!!jd){for(var Ld=pd.length-1;Ld>=0;Ld--){var Hd=pd[Ld];Hd[0]===jd&&Hd[1]===Fd&&pd.splice(Ld,1)}pd.unshift([jd,Fd,Math.round(Date.now()/1e3)]),pd.length>Md&&pd.splice(Md),Nd()}},removeUploadId:function(jd){Ad.call(this),delete Id.using[jd];for(var Fd=pd.length-1;Fd>=0;Fd--)pd[Fd][1]===jd&&pd.splice(Fd,1);Nd()}};nd.exports=Id},"./src/task.js":function(nd,od,ld){var ud=ld("./src/session.js"),cd=ld("./src/util.js"),dd={},pd=function(vd,Ad){dd[Ad]=vd[Ad],vd[Ad]=function(Nd,Id){Nd.SkipTask?dd[Ad].call(this,Nd,Id):this._addTask(Ad,Nd,Id)}},fd=function(vd){var Ad=[],Nd={},Id=0,kd=0,jd=function(Kd){var mf={id:Kd.id,Bucket:Kd.Bucket,Region:Kd.Region,Key:Kd.Key,FilePath:Kd.FilePath,state:Kd.state,loaded:Kd.loaded,size:Kd.size,speed:Kd.speed,percent:Kd.percent,hashPercent:Kd.hashPercent,error:Kd.error};return Kd.FilePath&&(mf.FilePath=Kd.FilePath),Kd._custom&&(mf._custom=Kd._custom),mf},Fd=function(){var Vd,Kd=function(){Vd=0,vd.emit("task-list-update",{list:cd.map(Ad,jd)}),vd.emit("list-update",{list:cd.map(Ad,jd)})};return function(){Vd||(Vd=setTimeout(Kd))}}(),Md=function(){if(!(Ad.length<=vd.options.UploadQueueSize)){for(var Kd=0;Kd<kd&&Kd<Ad.length&&Ad.length>vd.options.UploadQueueSize;){var mf=Ad[Kd].state==="waiting"||Ad[Kd].state==="checking"||Ad[Kd].state==="uploading";!Ad[Kd]||!mf?(Nd[Ad[Kd].id]&&delete Nd[Ad[Kd].id],Ad.splice(Kd,1),kd--):Kd++}Fd()}},Ld=function Vd(){if(!(Id>=vd.options.FileParallelLimit)){for(;Ad[kd]&&Ad[kd].state!=="waiting";)kd++;if(!(kd>=Ad.length)){var Kd=Ad[kd];kd++,Id++,Kd.state="checking",Kd.params.onTaskStart&&Kd.params.onTaskStart(jd(Kd)),!Kd.params.UploadData&&(Kd.params.UploadData={});var mf=cd.formatParams(Kd.api,Kd.params);dd[Kd.api].call(vd,mf,function(Wd,Zd){vd._isRunningTask(Kd.id)&&((Kd.state==="checking"||Kd.state==="uploading")&&(Kd.state=Wd?"error":"success",Wd&&(Kd.error=Wd),Id--,Fd(),Vd(),Kd.callback&&Kd.callback(Wd,Zd),Kd.state==="success"&&(Kd.params&&(delete Kd.params.UploadData,delete Kd.params.Body,delete Kd.params),delete Kd.callback)),Md())}),Fd(),setTimeout(Vd)}}},Hd=function(Kd,mf){var Wd=Nd[Kd];if(Wd){var Zd=Wd&&Wd.state==="waiting",Xd=Wd&&(Wd.state==="checking"||Wd.state==="uploading");if(mf==="canceled"&&Wd.state!=="canceled"||mf==="paused"&&Zd||mf==="paused"&&Xd){Wd.state=mf,vd.emit("inner-kill-task",{TaskId:Kd,toState:mf});try{var bf=Wd&&Wd.params&&Wd.params.UploadData.UploadId}catch{}mf==="canceled"&&bf&&ud.removeUsing(bf),Fd(),Xd&&(Id--,Ld()),mf==="canceled"&&(Wd.params&&(delete Wd.params.UploadData,delete Wd.params.Body,delete Wd.params),delete Wd.callback)}Md()}};vd._addTasks=function(Vd){cd.each(Vd,function(Kd){vd._addTask(Kd.api,Kd.params,Kd.callback,!0)}),Fd()};var Gd=!0;vd._addTask=function(Vd,Kd,mf,Wd){Kd=cd.formatParams(Vd,Kd);var Zd=cd.uuid();Kd.TaskId=Zd,Kd.onTaskReady&&Kd.onTaskReady(Zd),Kd.TaskReady&&(Kd.TaskReady(Zd),Gd&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),Gd=!1);var Xd={params:Kd,callback:mf,api:Vd,index:Ad.length,id:Zd,Bucket:Kd.Bucket,Region:Kd.Region,Key:Kd.Key,FilePath:Kd.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:Kd._custom},bf=Kd.onHashProgress;Kd.onHashProgress=function(Ef){vd._isRunningTask(Xd.id)&&(Xd.hashPercent=Ef.percent,bf&&bf(Ef),Fd())};var yf=Kd.onProgress;return Kd.onProgress=function(Ef){vd._isRunningTask(Xd.id)&&(Xd.state==="checking"&&(Xd.state="uploading"),Xd.loaded=Ef.loaded,Xd.speed=Ef.speed,Xd.percent=Ef.percent,yf&&yf(Ef),Fd())},cd.getFileSize(Vd,Kd,function(Ef,gf){if(Ef)return mf(cd.error(Ef));Nd[Zd]=Xd,Ad.push(Xd),Xd.size=gf,!Wd&&Fd(),Ld(),Md()}),Zd},vd._isRunningTask=function(Vd){var Kd=Nd[Vd];return!!(Kd&&(Kd.state==="checking"||Kd.state==="uploading"))},vd.getTaskList=function(){return cd.map(Ad,jd)},vd.cancelTask=function(Vd){Hd(Vd,"canceled")},vd.pauseTask=function(Vd){Hd(Vd,"paused")},vd.restartTask=function(Vd){var Kd=Nd[Vd];Kd&&(Kd.state==="paused"||Kd.state==="error")&&(Kd.state="waiting",Fd(),kd=Math.min(kd,Kd.index),Ld())},vd.isUploadRunning=function(){return Id||kd<Ad.length}};nd.exports.transferToTaskMethod=pd,nd.exports.init=fd},"./src/tracker.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/classCallCheck.js"),cd=ld("./node_modules/@babel/runtime/helpers/createClass.js"),dd=ld("./node_modules/@babel/runtime/helpers/typeof.js"),pd=ld("./package.json"),fd=null,md=function(mf,Wd){if(!fd){if(typeof mf!="function")throw new Error("Beacon not found");fd=new mf({appkey:"0WEB05PY6MHRGK0U",versionCode:pd.version,channelID:"js_sdk",openid:"openid",unionid:"unid",strictMode:!1,delay:Wd,sessionDuration:60*1e3})}return fd},vd=function(mf){return!mf||mf<0?0:(mf/1e3).toFixed(3)},Ad={getUid:function(){var mf=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return mf()+mf()+"-"+mf()+"-"+mf()+"-"+mf()+"-"+mf()+mf()+mf()},getNetType:function(){if((typeof navigator>"u"?"undefined":dd(navigator))==="object"){var mf=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(mf==null?void 0:mf.type)||(mf==null?void 0:mf.effectiveType)||"unknown"}return"unknown"},getProtocol:function(){return(typeof location>"u"?"undefined":dd(location))==="object"?location.protocol.replace(/:/,""):"unknown protocol"},getOsType:function(){if((typeof navigator>"u"?"undefined":dd(navigator))!=="object")return"unknown os";var mf=navigator.userAgent.toLowerCase(),Wd=/macintosh|mac os x/i.test(navigator.userAgent);return mf.indexOf("win32")>=0||mf.indexOf("wow32")>=0?"win32":mf.indexOf("win64")>=0||mf.indexOf("wow64")>=0?"win64":Wd?"mac":"unknown os"},isMobile:function(){var mf=/(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":dd(navigator))==="object"&&navigator.userAgent.match(mf))},isAndroid:function(){var mf=/(Android|Adr|Linux)/i;return!!((typeof navigator>"u"?"undefined":dd(navigator))==="object"&&navigator.userAgent.match(mf))},isIOS:function(){var mf=/(iPhone|iPod|iPad|iOS)/i;return!!((typeof navigator>"u"?"undefined":dd(navigator))==="object"&&navigator.userAgent.match(mf))},isOtherMobile:function(){return Nd&&!isAndroid&&!isIOS},getUA:function(){if((typeof navigator>"u"?"undefined":dd(navigator))!=="object")return"unknown device";var mf=navigator.userAgent;return mf}},Nd=Ad.isMobile(),Id=Ad.isAndroid()?"android":Ad.isIOS?"ios":"other_mobile",kd=Ad.getOsType(),jd=Nd?Id:kd,Fd=Ad.getUA(),Md=Ad.getProtocol(),Ld=function(mf){return["putObject","sliceUploadFile","uploadFile","uploadFiles"].includes(mf)?"UploadTask":mf==="getObject"?"DownloadTask":["putObjectCopy","sliceCopyFile"].includes(mf)?"CopyTask":mf};function Hd(Kd){return Kd.replace(/([A-Z])/g,"_$1").toLowerCase()}function Gd(Kd){var mf={},Wd=["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(Wd,["errorNode","errorCode","errorName","errorMessage","errorRequestId","errorHttpCode","errorServiceName","errorType","fullError"]),Xd=Kd.requestResult==="Success"?Wd:Zd;for(var bf in Kd)if(Xd.includes(bf)){var yf=Hd(bf);mf[yf]=Kd[bf]}return mf.request_name=Kd.realApi?Ld(Kd.realApi):Kd.requestName,mf}var Vd=function(){function Kd(mf){ud(this,Kd);var Wd=mf.parent,Zd=mf.traceId,Xd=mf.bucket,bf=mf.region,yf=mf.apiName,Ef=mf.realApi,gf=mf.httpMethod,xf=mf.fileKey,Af=mf.fileSize,Lf=mf.accelerate,Xf=mf.customId,Jf=mf.delay,Zf=mf.deepTracker,Bf=mf.Beacon,Df=mf.clsReporter,Uf=Xd&&Xd.substr(Xd.lastIndexOf("-")+1)||"";this.parent=Wd,this.deepTracker=Zf,this.delay=Jf,Df&&!this.clsReporter&&(this.clsReporter=Df),this.params={sdkVersionName:"cos-js-sdk-v5",sdkVersionCode:pd.version,osName:jd,networkType:"",requestName:yf||"",requestResult:"",realApi:Ef,bucket:Xd,region:bf,accelerate:Lf,httpMethod:gf,url:"",host:"",httpDomain:"",requestPath:xf||"",userAgent:Fd,networkProtocol:Md,errorType:"",errorCode:"",errorName:"",errorMessage:"",errorRequestId:"",errorHttpCode:0,errorServiceName:"",errorNode:"",httpTookTime:0,httpSize:Af||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||Ad.getUid(),appid:Uf,partNumber:0,httpRetryTimes:0,customId:Xf||"",partTime:0},Bf&&(this.beacon=md(Bf,Jf))}return cd(Kd,[{key:"formatResult",value:function(Wd,Zd){var Xd,bf,yf,Ef,gf,xf,Af=new Date().getTime(),Lf=Ad.getNetType(),Xf=Wd?(Wd==null?void 0:Wd.code)||(Wd==null||(Xd=Wd.error)===null||Xd===void 0?void 0:Xd.code)||(Wd==null||(bf=Wd.error)===null||bf===void 0?void 0:bf.Code):"",Jf=Wd?(Wd==null?void 0:Wd.message)||(Wd==null||(yf=Wd.error)===null||yf===void 0?void 0:yf.message)||(Wd==null||(Ef=Wd.error)===null||Ef===void 0?void 0:Ef.Message):"",Zf=Jf,Bf=Wd?(Wd==null?void 0:Wd.resource)||(Wd==null||(gf=Wd.error)===null||gf===void 0?void 0:gf.resource)||(Wd==null||(xf=Wd.error)===null||xf===void 0?void 0:xf.Resource):"",Df=Wd?Wd==null?void 0:Wd.statusCode:Zd.statusCode,Uf=Wd?(Wd==null?void 0:Wd.headers)&&(Wd==null?void 0:Wd.headers["x-cos-request-id"]):(Zd==null?void 0:Zd.headers)&&(Zd==null?void 0:Zd.headers["x-cos-request-id"]),Gf=Wd?Uf?"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 vf=this.params.httpSize/1024/this.params.partTime;Object.assign(this.params,{httpSpeed:vf<0?0:vf.toFixed(3)})}else{var qf=Af-this.params.startTime,eh=this.params.httpEndTime-this.params.httpStartTime,ch=this.params.httpSize/1024/(eh/1e3),ih=this.params.md5EndTime-this.params.md5StartTime,Pf=this.params.signEndTime-this.params.signStartTime;this.parent&&(this.parent.addParamValue("httpTookTime",vd(eh)),this.parent.addParamValue("httpFullTime",vd(qf)),this.parent.addParamValue("httpMd5",vd(ih)),this.parent.addParamValue("httpSign",vd(Pf)),["multipartUpload","uploadPartCopy","putObjectCopy"].includes(this.params.requestName)&&this.parent.addParamValue("partTime",vd(eh))),Object.assign(this.params,{httpFullTime:vd(qf),httpMd5:vd(ih),httpSign:vd(Pf),httpTookTime:vd(eh),httpSpeed:ch<0?0:ch.toFixed(3)})}if(Object.assign(this.params,{networkType:Lf,requestResult:Wd?"Failure":"Success",errorType:Gf,errorCode:Xf,errorHttpCode:Df,errorName:Zf,errorMessage:Jf,errorServiceName:Bf,errorRequestId:Uf}),Wd&&(!Xf||!Jf)&&(this.params.fullError=Wd?JSON.stringify(Wd):""),this.params.url){try{var uh=/^http(s)?:\/\/(.*?)\//.exec(this.params.url);this.params.host=uh[2]}catch{this.params.host=this.params.url}this.params.httpDomain=this.params.host}}},{key:"report",value:function(Wd,Zd){if(!(!this.beacon&&!this.clsReporter)){this.formatResult(Wd,Zd);var Xd=Gd(this.params);this.beacon&&this.sendEventsToBeacon(Xd),this.clsReporter&&this.sendEventsToCLS(Xd)}}},{key:"setParams",value:function(Wd){Object.assign(this.params,Wd)}},{key:"addParamValue",value:function(Wd,Zd){this.params[Wd]=(+this.params[Wd]+ +Zd).toFixed(3)}},{key:"sendEventsToBeacon",value:function(Wd){var Zd=this.params.requestName==="sliceUploadFile"||this.params.realApi==="sliceUploadFile";if(!(Zd&&!this.deepTracker)){var Xd="qcloud_track_cos_sdk";this.delay===0?this.beacon&&this.beacon.onDirectUserAction(Xd,Wd):this.beacon&&this.beacon.onUserAction(Xd,Wd)}}},{key:"sendEventsToCLS",value:function(Wd){var Zd=this.delay===0;this.clsReporter.log(Wd,Zd)}},{key:"generateSubTracker",value:function(Wd){return Object.assign(Wd,{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 Kd(Wd)}}]),Kd}();nd.exports=Vd},"./src/util.js":function(nd,od,ld){(function(ud){var cd=ld("./node_modules/@babel/runtime/helpers/typeof.js");function dd(Rf,If){var dh=typeof Symbol<"u"&&Rf[Symbol.iterator]||Rf["@@iterator"];if(!dh){if(Array.isArray(Rf)||(dh=pd(Rf))||If){dh&&(Rf=dh);var yh=0,Uh=function(){};return{s:Uh,n:function(){return yh>=Rf.length?{done:!0}:{done:!1,value:Rf[yh++]}},e:function(r_){throw r_},f:Uh}}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 Zh=!0,_m=!1,Um;return{s:function(){dh=dh.call(Rf)},n:function(){var r_=dh.next();return Zh=r_.done,r_},e:function(r_){_m=!0,Um=r_},f:function(){try{!Zh&&dh.return!=null&&dh.return()}finally{if(_m)throw Um}}}}function pd(Rf,If){if(Rf){if(typeof Rf=="string")return fd(Rf,If);var dh=Object.prototype.toString.call(Rf).slice(8,-1);if(dh==="Object"&&Rf.constructor&&(dh=Rf.constructor.name),dh==="Map"||dh==="Set")return Array.from(Rf);if(dh==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(dh))return fd(Rf,If)}}function fd(Rf,If){(If==null||If>Rf.length)&&(If=Rf.length);for(var dh=0,yh=new Array(If);dh<If;dh++)yh[dh]=Rf[dh];return yh}var md=ld("./lib/md5.js"),vd=ld("./lib/crypto.js"),Ad=ld("./node_modules/fast-xml-parser/src/fxp.js"),Nd=Ad.XMLParser,Id=Ad.XMLBuilder,kd=new Nd({ignoreDeclaration:!0,ignoreAttributes:!0,parseTagValue:!1}),jd=new Id,Fd=ld("./lib/base64.js"),Md=ld("./src/tracker.js"),Ld=function(If){var dh=kd.parse(If);return dh},Hd=function(If){var dh=jd.build(If);return dh};function Gd(Rf){return encodeURIComponent(Rf).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function Vd(Rf,If){var dh=[];for(var yh in Rf)Rf.hasOwnProperty(yh)&&dh.push(If?Gd(yh).toLowerCase():yh);return dh.sort(function(Uh,Zh){return Uh=Uh.toLowerCase(),Zh=Zh.toLowerCase(),Uh===Zh?0:Uh>Zh?1:-1})}var Kd=function(If,dh){var yh,Uh,Zh,_m=[],Um=Vd(If);for(yh=0;yh<Um.length;yh++)Uh=Um[yh],Zh=If[Uh]===void 0||If[Uh]===null?"":""+If[Uh],Uh=dh?Gd(Uh).toLowerCase():Gd(Uh),Zh=Gd(Zh)||"",_m.push(Uh+"="+Zh);return _m.join("&")},mf=["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"],Wd=function(If){var dh={};for(var yh in If){var Uh=yh.toLowerCase();(Uh.indexOf("x-cos-")>-1||mf.indexOf(Uh)>-1)&&(dh[yh]=If[yh])}return dh},Zd=function(If){If=If||{};var dh=If.SecretId,yh=If.SecretKey,Uh=If.KeyTime,Zh=(If.method||If.Method||"get").toLowerCase(),_m=Df(If.Query||If.params||{}),Um=Wd(Df(If.Headers||If.headers||{})),Om=If.Key||"",r_;If.UseRawKey?r_=If.Pathname||If.pathname||"/"+Om:(r_=If.Pathname||If.pathname||Om,r_.indexOf("/")!==0&&(r_="/"+r_));var Xm=If.ForceSignHost!==!1;if(!Um.Host&&!Um.host&&If.Bucket&&If.Region&&Xm&&(Um.Host=If.Bucket+".cos."+If.Region+".myqcloud.com"),!dh)throw new Error("missing param SecretId");if(!yh)throw new Error("missing param SecretKey");var s_=Math.round(Wf(If.SystemClockOffset)/1e3)-1,b_=s_,H_=If.Expires||If.expires;H_===void 0?b_+=900:b_+=H_*1||0;var x_="sha1",M_=dh,h_=Uh||s_+";"+b_,tg=Uh||s_+";"+b_,L_=Vd(Um,!0).join(";").toLowerCase(),dg=Vd(_m,!0).join(";").toLowerCase(),yg=vd.HmacSHA1(tg,yh).toString(),q_=[Zh,r_,fh.obj2str(_m,!0),fh.obj2str(Um,!0),""].join(`
|
||
`),Y_=["sha1",h_,vd.SHA1(q_).toString(),""].join(`
|
||
`),Qm=vd.HmacSHA1(Y_,yg).toString(),Zg=["q-sign-algorithm="+x_,"q-ak="+M_,"q-sign-time="+h_,"q-key-time="+tg,"q-header-list="+L_,"q-url-param-list="+dg,"q-signature="+Qm].join("&");return Zg},Xd=function(If,dh,yh){var Uh=dh/8,Zh=If.slice(yh,yh+Uh);return new Uint8Array(Zh).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[dh](Zh)[0]},bf=function(If,dh,yh,Uh){var Zh=If.slice(dh,yh),_m="";return new Uint8Array(Zh).forEach(function(Um){_m+=String.fromCharCode(Um)}),Uh&&(_m=decodeURIComponent(escape(_m))),_m},yf=function(If){for(var dh={},yh=bf(If),Uh={records:[]};If.byteLength;){var Zh=Xd(If,32,0),_m=Xd(If,32,4),Um=Zh-_m-16,Om=0,r_;for(If=If.slice(12);Om<_m;){var Xm=Xd(If,8,Om),s_=bf(If,Om+1,Om+1+Xm),b_=Xd(If,16,Om+Xm+2),H_=bf(If,Om+Xm+4,Om+Xm+4+b_);dh[s_]=H_,Om+=Xm+4+b_}if(dh[":event-type"]==="Records")r_=bf(If,Om,Om+Um,!0),Uh.records.push(r_);else if(dh[":event-type"]==="Stats")r_=bf(If,Om,Om+Um,!0),Uh.stats=fh.xml2json(r_).Stats;else if(dh[":event-type"]==="error"){var x_=dh[":error-code"],M_=dh[":error-message"],h_=new Error(M_);h_.message=M_,h_.name=h_.code=x_,Uh.error=h_}If=If.slice(Om+Um+4)}return{payload:Uh.records.join(""),body:yh}},Ef=function(If){var dh=this.options.CopySourceParser;if(dh)return dh(If);var yh=If.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return yh?{Bucket:yh[1],Region:yh[3],Key:yh[7]}:null},gf=function(){},xf=function(If){var dh={};for(var yh in If)If.hasOwnProperty(yh)&&If[yh]!==void 0&&If[yh]!==null&&(dh[yh]=If[yh]);return dh},Af=function(If,dh){var yh,Uh=new FileReader;FileReader.prototype.readAsBinaryString?(yh=FileReader.prototype.readAsBinaryString,Uh.onload=function(){dh(this.result)}):FileReader.prototype.readAsArrayBuffer?yh=function(_m){var Um="",Om=new FileReader;Om.onload=function(r_){for(var Xm=new Uint8Array(Om.result),s_=Xm.byteLength,b_=0;b_<s_;b_++)Um+=String.fromCharCode(Xm[b_]);dh(Um)},Om.readAsArrayBuffer(_m)}:console.error("FileReader not support readAsBinaryString"),yh.call(Uh,If)},Lf=function(){var Rf=function(yh,Uh){yh=yh.split("."),Uh=Uh.split(".");for(var Zh=0;Zh<Uh.length;Zh++)if(yh[Zh]!==Uh[Zh])return parseInt(yh[Zh])>parseInt(Uh[Zh])?1:-1;return 0},If=function(yh){if(!yh)return!1;var Uh=(yh.match(/Chrome\/([.\d]+)/)||[])[1],Zh=(yh.match(/QBCore\/([.\d]+)/)||[])[1],_m=(yh.match(/QQBrowser\/([.\d]+)/)||[])[1],Um=Uh&&Rf(Uh,"53.0.2785.116")<0&&Zh&&Rf(Zh,"3.53.991.400")<0&&_m&&Rf(_m,"9.0.2524.400")<=0||!1;return Um};return If(typeof navigator<"u"&&navigator.userAgent)}(),Xf=function(If,dh,yh,Uh,Zh){var _m;if(If.slice?_m=If.slice(dh,yh):If.mozSlice?_m=If.mozSlice(dh,yh):If.webkitSlice&&(_m=If.webkitSlice(dh,yh)),Uh&&Lf){var Um=new FileReader;Um.onload=function(Om){_m=null,Zh(new Blob([Um.result]))},Um.readAsArrayBuffer(_m)}else Zh(_m)},Jf=function(If,dh,yh,Uh){yh=yh||gf,If?typeof dh=="string"?yh(fh.md5(dh,!0)):Blob&&dh instanceof Blob?fh.getFileMd5(dh,function(Zh,_m){yh(_m)},Uh):yh():yh()},Zf=1024*1024,Bf=function(If,dh,yh){var Uh=If.size,Zh=0,_m=md.getCtx(),Um=function Om(r_){if(r_>=Uh){var Xm=_m.digest("hex");dh(null,Xm);return}var s_=Math.min(Uh,r_+Zf);fh.fileSlice(If,r_,s_,!1,function(b_){Af(b_,function(H_){b_=null,_m=_m.update(H_,!0),Zh+=H_.length,H_=null,yh&&yh({loaded:Zh,total:Uh,percent:Math.round(Zh/Uh*1e4)/1e4}),Om(r_+Zf)})})};Um(0)};function Df(Rf){return eh(Rf,function(If){return cd(If)==="object"&&If!==null?Df(If):If})}function Uf(Rf,If,dh){return Rf&&If in Rf?Rf[If]:dh}function Gf(Rf,If){return qf(If,function(dh,yh){Rf[yh]=If[yh]}),Rf}function zf(Rf){return Rf instanceof Array}function Tf(Rf,If){for(var dh=!1,yh=0;yh<Rf.length;yh++)if(If===Rf[yh]){dh=!0;break}return dh}function vf(Rf){return zf(Rf)?Rf:[Rf]}function qf(Rf,If){for(var dh in Rf)Rf.hasOwnProperty(dh)&&If(Rf[dh],dh)}function eh(Rf,If){var dh=zf(Rf)?[]:{};for(var yh in Rf)Rf.hasOwnProperty(yh)&&(dh[yh]=If(Rf[yh],yh));return dh}function ch(Rf,If){var dh=zf(Rf),yh=dh?[]:{};for(var Uh in Rf)Rf.hasOwnProperty(Uh)&&If(Rf[Uh],Uh)&&(dh?yh.push(Rf[Uh]):yh[Uh]=Rf[Uh]);return yh}var ih=function(If){var dh,yh,Uh,Zh="";for(dh=0,yh=If.length/2;dh<yh;dh++)Uh=parseInt(If[dh*2]+If[dh*2+1],16),Zh+=String.fromCharCode(Uh);return btoa(Zh)},Pf=function(){var If=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return If()+If()+"-"+If()+"-"+If()+"-"+If()+"-"+If()+If()+If()},uh=function(If,dh){var yh=dh.Bucket,Uh=dh.Region,Zh=dh.Key,_m=this.options.Domain,Um=!_m||typeof _m=="string"&&_m.indexOf("{Bucket}")>-1,Om=!_m||typeof _m=="string"&&_m.indexOf("{Region}")>-1;if(If.indexOf("Bucket")>-1||If==="deleteMultipleObject"||If==="multipartList"||If==="listObjectVersions"){if(Um&&!yh)return"Bucket";if(Om&&!Uh)return"Region"}else if(If.indexOf("Object")>-1||If.indexOf("multipart")>-1||If==="sliceUploadFile"||If==="abortUploadTask"||If==="uploadFile"){if(Um&&!yh)return"Bucket";if(Om&&!Uh)return"Region";if(!Zh)return"Key"}return!1},xh=function(If,dh){if(dh=Gf({},dh),If!=="getAuth"&&If!=="getV4Auth"&&If!=="getObjectUrl"){var yh=dh.Headers||{};if(dh&&cd(dh)==="object"){(function(){for(var Zh in dh)dh.hasOwnProperty(Zh)&&Zh.indexOf("x-cos-")>-1&&(yh[Zh]=dh[Zh])})();var Uh={"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"};fh.each(Uh,function(Zh,_m){dh[Zh]!==void 0&&(yh[_m]=dh[Zh])}),dh.Headers=xf(yh)}}return dh},Qf=function(If,dh){return function(yh,Uh){var Zh=this;typeof yh=="function"&&(Uh=yh,yh={}),yh=xh(If,yh);var _m;if(Zh.options.EnableReporter)if(yh.calledBySdk==="sliceUploadFile"||yh.calledBySdk==="sliceCopyFile")_m=yh.tracker&&yh.tracker.generateSubTracker({apiName:If});else if(["uploadFile","uploadFiles"].includes(If))_m=null;else{var Um=0;yh.Body&&(Um=typeof yh.Body=="string"?yh.Body.length:yh.Body.size||yh.Body.byteLength||0);var Om=Zh.options.UseAccelerate||typeof Zh.options.Domain=="string"&&Zh.options.Domain.includes("accelerate.");_m=new Md({Beacon:Zh.options.BeaconReporter,clsReporter:Zh.options.ClsReporter,bucket:yh.Bucket,region:yh.Region,apiName:If,realApi:If,accelerate:Om,fileKey:yh.Key,fileSize:Um,deepTracker:Zh.options.DeepTracker,customId:Zh.options.CustomId,delay:Zh.options.TrackerDelay})}yh.tracker=_m;var r_=function(h_){return h_&&h_.headers&&(h_.headers["x-cos-request-id"]&&(h_.RequestId=h_.headers["x-cos-request-id"]),h_.headers["x-ci-request-id"]&&(h_.RequestId=h_.headers["x-ci-request-id"]),h_.headers["x-cos-version-id"]&&(h_.VersionId=h_.headers["x-cos-version-id"]),h_.headers["x-cos-delete-marker"]&&(h_.DeleteMarker=h_.headers["x-cos-delete-marker"])),h_},Xm=function(h_,tg){_m&&_m.report(h_,tg),Uh&&Uh(r_(h_),r_(tg))},s_=function(){if(If!=="getService"&&If!=="abortUploadTask"){var h_=uh.call(Zh,If,yh);if(h_)return"missing param "+h_;if(yh.Region){if(Zh.options.CompatibilityMode){if(!/^([a-z\d-.]+)$/.test(yh.Region))return"Region format error."}else{if(yh.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(yh.Region))return"Region format error."}!Zh.options.CompatibilityMode&&yh.Region.indexOf("-")===-1&&yh.Region!=="yfb"&&yh.Region!=="default"&&yh.Region!=="accelerate"&&console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(yh.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(yh.Bucket))if(yh.AppId)yh.Bucket=yh.Bucket+"-"+yh.AppId;else if(Zh.options.AppId)yh.Bucket=yh.Bucket+"-"+Zh.options.AppId;else return'Bucket should format as "test-1250000000".';yh.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete yh.AppId)}!Zh.options.UseRawKey&&yh.Key&&yh.Key.substr(0,1)==="/"&&(yh.Key=yh.Key.substr(1))}},b_=s_(),H_=["getAuth","getObjectUrl"].includes(If);if(typeof Promise=="function"&&!H_&&!Uh)return new Promise(function(M_,h_){if(Uh=function(L_,dg){L_?h_(L_):M_(dg)},b_)return Xm(fh.error(new Error(b_)));dh.call(Zh,yh,Xm)});if(b_)return Xm(fh.error(new Error(b_)));var x_=dh.call(Zh,yh,Xm);if(H_)return x_}},wf=function(If,dh){var yh=this,Uh=0,Zh=0,_m=Date.now(),Um,Om;function r_(){if(Om=0,dh&&typeof dh=="function"){Um=Date.now();var Xm=Math.max(0,Math.round((Zh-Uh)/((Um-_m)/1e3)*100)/100)||0,s_;Zh===0&&If===0?s_=1:s_=Math.floor(Zh/If*100)/100||0,_m=Um,Uh=Zh;try{dh({loaded:Zh,total:If,speed:Xm,percent:s_})}catch{}}}return function(Xm,s_){if(Xm&&(Zh=Xm.loaded,If=Xm.total),s_)clearTimeout(Om),r_();else{if(Om)return;Om=setTimeout(r_,yh.options.ProgressInterval)}}},$f=function(If,dh,yh){var Uh;if(typeof dh.Body=="string"?dh.Body=new Blob([dh.Body],{type:"text/plain"}):dh.Body instanceof ArrayBuffer&&(dh.Body=new Blob([dh.Body])),dh.Body&&(dh.Body instanceof Blob||dh.Body.toString()==="[object File]"||dh.Body.toString()==="[object Blob]"))Uh=dh.Body.size;else{yh(fh.error(new Error("params body format error, Only allow File|Blob|String.")));return}dh.ContentLength=Uh,yh(null,Uh)},Wf=function(If){return Date.now()+(If||0)},Th=function(If,dh){var yh=If;return If.message=If.message||null,typeof dh=="string"?(If.error=dh,If.message=dh):cd(dh)==="object"&&dh!==null&&(Gf(If,dh),(dh.code||dh.name)&&(If.code=dh.code||dh.name),dh.message&&(If.message=dh.message),dh.stack&&(If.stack=dh.stack)),typeof Object.defineProperty=="function"&&(Object.defineProperty(If,"name",{writable:!0,enumerable:!1}),Object.defineProperty(If,"message",{enumerable:!0})),If.name=dh&&dh.name||If.name||If.code||"Error",If.code||(If.code=If.name),If.error||(If.error=Df(yh)),If},vh=function(){return(typeof globalThis>"u"?"undefined":cd(globalThis))==="object"&&(globalThis.constructor.name==="DedicatedWorkerGlobalScope"||globalThis.FileReaderSync)},ph=function(){return(typeof window>"u"?"undefined":cd(window))!=="object"&&(typeof ud>"u"?"undefined":cd(ud))==="object"&&!0&&!vh()},Vh=function(If){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(If)},wh=function(){if((typeof navigator>"u"?"undefined":cd(navigator))!=="object")return!1;var Rf=navigator.userAgent,If=!!Rf.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return If}(),fm=function(){return(typeof navigator>"u"?"undefined":cd(navigator))!=="object"?!1:/\sQQ/i.test(navigator.userAgent)}(),Nm=function(If,dh){var yh=Fd.encode(If);return dh&&(yh=yh.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")),yh},cm=function(If){return If?Fd.decode(If):""},Sm=function(If){var dh=If.split("/"),yh=[],Uh=dd(dh),Zh;try{for(Uh.s();!(Zh=Uh.n()).done;){var _m=Zh.value;_m===".."?yh.length&&yh.pop():_m.length&&_m!=="."&&yh.push(_m)}}catch(Um){Uh.e(Um)}finally{Uh.f()}return"/"+yh.join("/")},$m=function(If){var dh;if(If&&typeof If=="string"){var yh=If.trim(),Uh=yh.indexOf("<")===0,Zh=yh.indexOf("{")===0;if(Uh)dh=fh.xml2json(If)||{};else if(Zh)try{var _m=If.replace(/\n/g," "),Um=JSON.parse(_m);Object.prototype.toString.call(Um)==="[object Object]"?dh=Um:dh=If}catch{dh=If}else dh=If}else dh=If||{};return dh},fh={noop:gf,formatParams:xh,apiWrapper:Qf,xml2json:Ld,json2xml:Hd,md5:md,clearKey:xf,fileSlice:Xf,getBodyMd5:Jf,getFileMd5:Bf,b64:ih,extend:Gf,isArray:zf,isInArray:Tf,makeArray:vf,each:qf,map:eh,filter:ch,clone:Df,attr:Uf,uuid:Pf,camSafeUrlEncode:Gd,throttleOnProgress:wf,getFileSize:$f,getSkewTime:Wf,error:Th,obj2str:Kd,getAuth:Zd,parseSelectPayload:yf,getSourceParams:Ef,isBrowser:!0,isNode:ph,isCIHost:Vh,isIOS_QQ:wh&&fm,encodeBase64:Nm,decodeBase64:cm,simplifyPath:Sm,readAsBinaryString:Af,parseResBody:$m};nd.exports=fh}).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 cd=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.")},dd=Object.create||function(){function Md(){}return function(Ld){var Hd;return Md.prototype=Ld,Hd=new Md,Md.prototype=null,Hd}}(),pd={},fd=pd.lib={},md=fd.Base=function(){return{extend:function(Md){var Ld=dd(this);return Md&&Ld.mixIn(Md),(!Ld.hasOwnProperty("init")||this.init===Ld.init)&&(Ld.init=function(){Ld.$super.init.apply(this,arguments)}),Ld.init.prototype=Ld,Ld.$super=this,Ld},create:function(){var Md=this.extend();return Md.init.apply(Md,arguments),Md},init:function(){},mixIn:function(Md){for(var Ld in Md)Md.hasOwnProperty(Ld)&&(this[Ld]=Md[Ld]);Md.hasOwnProperty("toString")&&(this.toString=Md.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),vd=fd.WordArray=md.extend({init:function(Md,Ld){Md=this.words=Md||[],Ld!=ld?this.sigBytes=Ld:this.sigBytes=Md.length*4},toString:function(Md){return(Md||Nd).stringify(this)},concat:function(Md){var Ld=this.words,Hd=Md.words,Gd=this.sigBytes,Vd=Md.sigBytes;if(this.clamp(),Gd%4)for(var Kd=0;Kd<Vd;Kd++){var mf=Hd[Kd>>>2]>>>24-Kd%4*8&255;Ld[Gd+Kd>>>2]|=mf<<24-(Gd+Kd)%4*8}else for(var Wd=0;Wd<Vd;Wd+=4)Ld[Gd+Wd>>>2]=Hd[Wd>>>2];return this.sigBytes+=Vd,this},clamp:function(){var Md=this.words,Ld=this.sigBytes;Md[Ld>>>2]&=4294967295<<32-Ld%4*8,Md.length=od.ceil(Ld/4)},clone:function(){var Md=md.clone.call(this);return Md.words=this.words.slice(0),Md},random:function(Md){for(var Ld=[],Hd=0;Hd<Md;Hd+=4)Ld.push(cd());return new vd.init(Ld,Md)}}),Ad=pd.enc={},Nd=Ad.Hex={stringify:function(Md){for(var Ld=Md.words,Hd=Md.sigBytes,Gd=[],Vd=0;Vd<Hd;Vd++){var Kd=Ld[Vd>>>2]>>>24-Vd%4*8&255;Gd.push((Kd>>>4).toString(16)),Gd.push((Kd&15).toString(16))}return Gd.join("")},parse:function(Md){for(var Ld=Md.length,Hd=[],Gd=0;Gd<Ld;Gd+=2)Hd[Gd>>>3]|=parseInt(Md.substr(Gd,2),16)<<24-Gd%8*4;return new vd.init(Hd,Ld/2)}},Id=Ad.Latin1={stringify:function(Md){for(var Ld=Md.words,Hd=Md.sigBytes,Gd=[],Vd=0;Vd<Hd;Vd++){var Kd=Ld[Vd>>>2]>>>24-Vd%4*8&255;Gd.push(String.fromCharCode(Kd))}return Gd.join("")},parse:function(Md){for(var Ld=Md.length,Hd=[],Gd=0;Gd<Ld;Gd++)Hd[Gd>>>2]|=(Md.charCodeAt(Gd)&255)<<24-Gd%4*8;return new vd.init(Hd,Ld)}},kd=Ad.Utf8={stringify:function(Md){try{return decodeURIComponent(escape(Id.stringify(Md)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(Md){return Id.parse(unescape(encodeURIComponent(Md)))}},jd=fd.BufferedBlockAlgorithm=md.extend({reset:function(){this._data=new vd.init,this._nDataBytes=0},_append:function(Md){typeof Md=="string"&&(Md=kd.parse(Md)),this._data.concat(Md),this._nDataBytes+=Md.sigBytes},_process:function(Md){var Ld,Hd=this._data,Gd=Hd.words,Vd=Hd.sigBytes,Kd=this.blockSize,mf=Kd*4,Wd=Vd/mf;Md?Wd=od.ceil(Wd):Wd=od.max((Wd|0)-this._minBufferSize,0);var Zd=Wd*Kd,Xd=od.min(Zd*4,Vd);if(Zd){for(var bf=0;bf<Zd;bf+=Kd)this._doProcessBlock(Gd,bf);Ld=Gd.splice(0,Zd),Hd.sigBytes-=Xd}return new vd.init(Ld,Xd)},clone:function(){var Md=md.clone.call(this);return Md._data=this._data.clone(),Md},_minBufferSize:0});fd.Hasher=jd.extend({cfg:md.extend(),init:function(Md){this.cfg=this.cfg.extend(Md),this.reset()},reset:function(){jd.reset.call(this),this._doReset()},update:function(Md){return this._append(Md),this._process(),this},finalize:function(Md){Md&&this._append(Md);var Ld=this._doFinalize();return Ld},blockSize:16,_createHelper:function(Md){return function(Ld,Hd){return new Md.init(Hd).finalize(Ld)}},_createHmacHelper:function(Md){return function(Ld,Hd){return new Fd.HMAC.init(Md,Hd).finalize(Ld)}}});var Fd=pd.algo={};return pd}(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,cd=ud.Base,dd=ud.WordArray,pd=ld.x64={};pd.Word=cd.extend({init:function(fd,md){this.high=fd,this.low=md}}),pd.WordArray=cd.extend({init:function(fd,md){fd=this.words=fd||[],md!=od?this.sigBytes=md:this.sigBytes=fd.length*8},toX32:function(){for(var fd=this.words,md=fd.length,vd=[],Ad=0;Ad<md;Ad++){var Nd=fd[Ad];vd.push(Nd.high),vd.push(Nd.low)}return dd.create(vd,this.sigBytes)},clone:function(){for(var fd=cd.clone.call(this),md=fd.words=this.words.slice(0),vd=md.length,Ad=0;Ad<vd;Ad++)md[Ad]=md[Ad].clone();return fd}})}(),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,cd=ud.init,dd=ud.init=function(pd){if(pd instanceof ArrayBuffer&&(pd=new Uint8Array(pd)),(pd instanceof Int8Array||typeof Uint8ClampedArray<"u"&&pd instanceof Uint8ClampedArray||pd instanceof Int16Array||pd instanceof Uint16Array||pd instanceof Int32Array||pd instanceof Uint32Array||pd instanceof Float32Array||pd instanceof Float64Array)&&(pd=new Uint8Array(pd.buffer,pd.byteOffset,pd.byteLength)),pd instanceof Uint8Array){for(var fd=pd.byteLength,md=[],vd=0;vd<fd;vd++)md[vd>>>2]|=pd[vd]<<24-vd%4*8;cd.call(this,md,fd)}else cd.apply(this,arguments)};dd.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,cd=od.enc;cd.Utf16=cd.Utf16BE={stringify:function(pd){for(var fd=pd.words,md=pd.sigBytes,vd=[],Ad=0;Ad<md;Ad+=2){var Nd=fd[Ad>>>2]>>>16-Ad%4*8&65535;vd.push(String.fromCharCode(Nd))}return vd.join("")},parse:function(pd){for(var fd=pd.length,md=[],vd=0;vd<fd;vd++)md[vd>>>1]|=pd.charCodeAt(vd)<<16-vd%2*16;return ud.create(md,fd*2)}},cd.Utf16LE={stringify:function(pd){for(var fd=pd.words,md=pd.sigBytes,vd=[],Ad=0;Ad<md;Ad+=2){var Nd=dd(fd[Ad>>>2]>>>16-Ad%4*8&65535);vd.push(String.fromCharCode(Nd))}return vd.join("")},parse:function(pd){for(var fd=pd.length,md=[],vd=0;vd<fd;vd++)md[vd>>>1]|=dd(pd.charCodeAt(vd)<<16-vd%2*16);return ud.create(md,fd*2)}};function dd(pd){return pd<<8&4278255360|pd>>>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,cd=od.enc;cd.Base64={stringify:function(pd){var fd=pd.words,md=pd.sigBytes,vd=this._map;pd.clamp();for(var Ad=[],Nd=0;Nd<md;Nd+=3)for(var Id=fd[Nd>>>2]>>>24-Nd%4*8&255,kd=fd[Nd+1>>>2]>>>24-(Nd+1)%4*8&255,jd=fd[Nd+2>>>2]>>>24-(Nd+2)%4*8&255,Fd=Id<<16|kd<<8|jd,Md=0;Md<4&&Nd+Md*.75<md;Md++)Ad.push(vd.charAt(Fd>>>6*(3-Md)&63));var Ld=vd.charAt(64);if(Ld)for(;Ad.length%4;)Ad.push(Ld);return Ad.join("")},parse:function(pd){var fd=pd.length,md=this._map,vd=this._reverseMap;if(!vd){vd=this._reverseMap=[];for(var Ad=0;Ad<md.length;Ad++)vd[md.charCodeAt(Ad)]=Ad}var Nd=md.charAt(64);if(Nd){var Id=pd.indexOf(Nd);Id!==-1&&(fd=Id)}return dd(pd,fd,vd)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function dd(pd,fd,md){for(var vd=[],Ad=0,Nd=0;Nd<fd;Nd++)if(Nd%4){var Id=md[pd.charCodeAt(Nd-1)]<<Nd%4*2,kd=md[pd.charCodeAt(Nd)]>>>6-Nd%4*2,jd=Id|kd;vd[Ad>>>2]|=jd<<24-Ad%4*8,Ad++}return ud.create(vd,Ad)}}(),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,cd=od.enc;cd.Base64url={stringify:function(pd,fd){fd===void 0&&(fd=!0);var md=pd.words,vd=pd.sigBytes,Ad=fd?this._safe_map:this._map;pd.clamp();for(var Nd=[],Id=0;Id<vd;Id+=3)for(var kd=md[Id>>>2]>>>24-Id%4*8&255,jd=md[Id+1>>>2]>>>24-(Id+1)%4*8&255,Fd=md[Id+2>>>2]>>>24-(Id+2)%4*8&255,Md=kd<<16|jd<<8|Fd,Ld=0;Ld<4&&Id+Ld*.75<vd;Ld++)Nd.push(Ad.charAt(Md>>>6*(3-Ld)&63));var Hd=Ad.charAt(64);if(Hd)for(;Nd.length%4;)Nd.push(Hd);return Nd.join("")},parse:function(pd,fd){fd===void 0&&(fd=!0);var md=pd.length,vd=fd?this._safe_map: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 kd=pd.indexOf(Id);kd!==-1&&(md=kd)}return dd(pd,md,Ad)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function dd(pd,fd,md){for(var vd=[],Ad=0,Nd=0;Nd<fd;Nd++)if(Nd%4){var Id=md[pd.charCodeAt(Nd-1)]<<Nd%4*2,kd=md[pd.charCodeAt(Nd)]>>>6-Nd%4*2,jd=Id|kd;vd[Ad>>>2]|=jd<<24-Ad%4*8,Ad++}return ud.create(vd,Ad)}}(),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,cd=ud.WordArray,dd=ud.Hasher,pd=ld.algo,fd=[];(function(){for(var kd=0;kd<64;kd++)fd[kd]=od.abs(od.sin(kd+1))*4294967296|0})();var md=pd.MD5=dd.extend({_doReset:function(){this._hash=new cd.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(kd,jd){for(var Fd=0;Fd<16;Fd++){var Md=jd+Fd,Ld=kd[Md];kd[Md]=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360}var Hd=this._hash.words,Gd=kd[jd+0],Vd=kd[jd+1],Kd=kd[jd+2],mf=kd[jd+3],Wd=kd[jd+4],Zd=kd[jd+5],Xd=kd[jd+6],bf=kd[jd+7],yf=kd[jd+8],Ef=kd[jd+9],gf=kd[jd+10],xf=kd[jd+11],Af=kd[jd+12],Lf=kd[jd+13],Xf=kd[jd+14],Jf=kd[jd+15],Zf=Hd[0],Bf=Hd[1],Df=Hd[2],Uf=Hd[3];Zf=vd(Zf,Bf,Df,Uf,Gd,7,fd[0]),Uf=vd(Uf,Zf,Bf,Df,Vd,12,fd[1]),Df=vd(Df,Uf,Zf,Bf,Kd,17,fd[2]),Bf=vd(Bf,Df,Uf,Zf,mf,22,fd[3]),Zf=vd(Zf,Bf,Df,Uf,Wd,7,fd[4]),Uf=vd(Uf,Zf,Bf,Df,Zd,12,fd[5]),Df=vd(Df,Uf,Zf,Bf,Xd,17,fd[6]),Bf=vd(Bf,Df,Uf,Zf,bf,22,fd[7]),Zf=vd(Zf,Bf,Df,Uf,yf,7,fd[8]),Uf=vd(Uf,Zf,Bf,Df,Ef,12,fd[9]),Df=vd(Df,Uf,Zf,Bf,gf,17,fd[10]),Bf=vd(Bf,Df,Uf,Zf,xf,22,fd[11]),Zf=vd(Zf,Bf,Df,Uf,Af,7,fd[12]),Uf=vd(Uf,Zf,Bf,Df,Lf,12,fd[13]),Df=vd(Df,Uf,Zf,Bf,Xf,17,fd[14]),Bf=vd(Bf,Df,Uf,Zf,Jf,22,fd[15]),Zf=Ad(Zf,Bf,Df,Uf,Vd,5,fd[16]),Uf=Ad(Uf,Zf,Bf,Df,Xd,9,fd[17]),Df=Ad(Df,Uf,Zf,Bf,xf,14,fd[18]),Bf=Ad(Bf,Df,Uf,Zf,Gd,20,fd[19]),Zf=Ad(Zf,Bf,Df,Uf,Zd,5,fd[20]),Uf=Ad(Uf,Zf,Bf,Df,gf,9,fd[21]),Df=Ad(Df,Uf,Zf,Bf,Jf,14,fd[22]),Bf=Ad(Bf,Df,Uf,Zf,Wd,20,fd[23]),Zf=Ad(Zf,Bf,Df,Uf,Ef,5,fd[24]),Uf=Ad(Uf,Zf,Bf,Df,Xf,9,fd[25]),Df=Ad(Df,Uf,Zf,Bf,mf,14,fd[26]),Bf=Ad(Bf,Df,Uf,Zf,yf,20,fd[27]),Zf=Ad(Zf,Bf,Df,Uf,Lf,5,fd[28]),Uf=Ad(Uf,Zf,Bf,Df,Kd,9,fd[29]),Df=Ad(Df,Uf,Zf,Bf,bf,14,fd[30]),Bf=Ad(Bf,Df,Uf,Zf,Af,20,fd[31]),Zf=Nd(Zf,Bf,Df,Uf,Zd,4,fd[32]),Uf=Nd(Uf,Zf,Bf,Df,yf,11,fd[33]),Df=Nd(Df,Uf,Zf,Bf,xf,16,fd[34]),Bf=Nd(Bf,Df,Uf,Zf,Xf,23,fd[35]),Zf=Nd(Zf,Bf,Df,Uf,Vd,4,fd[36]),Uf=Nd(Uf,Zf,Bf,Df,Wd,11,fd[37]),Df=Nd(Df,Uf,Zf,Bf,bf,16,fd[38]),Bf=Nd(Bf,Df,Uf,Zf,gf,23,fd[39]),Zf=Nd(Zf,Bf,Df,Uf,Lf,4,fd[40]),Uf=Nd(Uf,Zf,Bf,Df,Gd,11,fd[41]),Df=Nd(Df,Uf,Zf,Bf,mf,16,fd[42]),Bf=Nd(Bf,Df,Uf,Zf,Xd,23,fd[43]),Zf=Nd(Zf,Bf,Df,Uf,Ef,4,fd[44]),Uf=Nd(Uf,Zf,Bf,Df,Af,11,fd[45]),Df=Nd(Df,Uf,Zf,Bf,Jf,16,fd[46]),Bf=Nd(Bf,Df,Uf,Zf,Kd,23,fd[47]),Zf=Id(Zf,Bf,Df,Uf,Gd,6,fd[48]),Uf=Id(Uf,Zf,Bf,Df,bf,10,fd[49]),Df=Id(Df,Uf,Zf,Bf,Xf,15,fd[50]),Bf=Id(Bf,Df,Uf,Zf,Zd,21,fd[51]),Zf=Id(Zf,Bf,Df,Uf,Af,6,fd[52]),Uf=Id(Uf,Zf,Bf,Df,mf,10,fd[53]),Df=Id(Df,Uf,Zf,Bf,gf,15,fd[54]),Bf=Id(Bf,Df,Uf,Zf,Vd,21,fd[55]),Zf=Id(Zf,Bf,Df,Uf,yf,6,fd[56]),Uf=Id(Uf,Zf,Bf,Df,Jf,10,fd[57]),Df=Id(Df,Uf,Zf,Bf,Xd,15,fd[58]),Bf=Id(Bf,Df,Uf,Zf,Lf,21,fd[59]),Zf=Id(Zf,Bf,Df,Uf,Wd,6,fd[60]),Uf=Id(Uf,Zf,Bf,Df,xf,10,fd[61]),Df=Id(Df,Uf,Zf,Bf,Kd,15,fd[62]),Bf=Id(Bf,Df,Uf,Zf,Ef,21,fd[63]),Hd[0]=Hd[0]+Zf|0,Hd[1]=Hd[1]+Bf|0,Hd[2]=Hd[2]+Df|0,Hd[3]=Hd[3]+Uf|0},_doFinalize:function(){var kd=this._data,jd=kd.words,Fd=this._nDataBytes*8,Md=kd.sigBytes*8;jd[Md>>>5]|=128<<24-Md%32;var Ld=od.floor(Fd/4294967296),Hd=Fd;jd[(Md+64>>>9<<4)+15]=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360,jd[(Md+64>>>9<<4)+14]=(Hd<<8|Hd>>>24)&16711935|(Hd<<24|Hd>>>8)&4278255360,kd.sigBytes=(jd.length+1)*4,this._process();for(var Gd=this._hash,Vd=Gd.words,Kd=0;Kd<4;Kd++){var mf=Vd[Kd];Vd[Kd]=(mf<<8|mf>>>24)&16711935|(mf<<24|mf>>>8)&4278255360}return Gd},clone:function(){var kd=dd.clone.call(this);return kd._hash=this._hash.clone(),kd}});function vd(kd,jd,Fd,Md,Ld,Hd,Gd){var Vd=kd+(jd&Fd|~jd&Md)+Ld+Gd;return(Vd<<Hd|Vd>>>32-Hd)+jd}function Ad(kd,jd,Fd,Md,Ld,Hd,Gd){var Vd=kd+(jd&Md|Fd&~Md)+Ld+Gd;return(Vd<<Hd|Vd>>>32-Hd)+jd}function Nd(kd,jd,Fd,Md,Ld,Hd,Gd){var Vd=kd+(jd^Fd^Md)+Ld+Gd;return(Vd<<Hd|Vd>>>32-Hd)+jd}function Id(kd,jd,Fd,Md,Ld,Hd,Gd){var Vd=kd+(Fd^(jd|~Md))+Ld+Gd;return(Vd<<Hd|Vd>>>32-Hd)+jd}ld.MD5=dd._createHelper(md),ld.HmacMD5=dd._createHmacHelper(md)}(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,cd=ld.Hasher,dd=od.algo,pd=[],fd=dd.SHA1=cd.extend({_doReset:function(){this._hash=new ud.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(md,vd){for(var Ad=this._hash.words,Nd=Ad[0],Id=Ad[1],kd=Ad[2],jd=Ad[3],Fd=Ad[4],Md=0;Md<80;Md++){if(Md<16)pd[Md]=md[vd+Md]|0;else{var Ld=pd[Md-3]^pd[Md-8]^pd[Md-14]^pd[Md-16];pd[Md]=Ld<<1|Ld>>>31}var Hd=(Nd<<5|Nd>>>27)+Fd+pd[Md];Md<20?Hd+=(Id&kd|~Id&jd)+1518500249:Md<40?Hd+=(Id^kd^jd)+1859775393:Md<60?Hd+=(Id&kd|Id&jd|kd&jd)-1894007588:Hd+=(Id^kd^jd)-899497514,Fd=jd,jd=kd,kd=Id<<30|Id>>>2,Id=Nd,Nd=Hd}Ad[0]=Ad[0]+Nd|0,Ad[1]=Ad[1]+Id|0,Ad[2]=Ad[2]+kd|0,Ad[3]=Ad[3]+jd|0,Ad[4]=Ad[4]+Fd|0},_doFinalize:function(){var md=this._data,vd=md.words,Ad=this._nDataBytes*8,Nd=md.sigBytes*8;return vd[Nd>>>5]|=128<<24-Nd%32,vd[(Nd+64>>>9<<4)+14]=Math.floor(Ad/4294967296),vd[(Nd+64>>>9<<4)+15]=Ad,md.sigBytes=vd.length*4,this._process(),this._hash},clone:function(){var md=cd.clone.call(this);return md._hash=this._hash.clone(),md}});od.SHA1=cd._createHelper(fd),od.HmacSHA1=cd._createHmacHelper(fd)}(),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,cd=ud.WordArray,dd=ud.Hasher,pd=ld.algo,fd=[],md=[];(function(){function Nd(Fd){for(var Md=od.sqrt(Fd),Ld=2;Ld<=Md;Ld++)if(!(Fd%Ld))return!1;return!0}function Id(Fd){return(Fd-(Fd|0))*4294967296|0}for(var kd=2,jd=0;jd<64;)Nd(kd)&&(jd<8&&(fd[jd]=Id(od.pow(kd,1/2))),md[jd]=Id(od.pow(kd,1/3)),jd++),kd++})();var vd=[],Ad=pd.SHA256=dd.extend({_doReset:function(){this._hash=new cd.init(fd.slice(0))},_doProcessBlock:function(Nd,Id){for(var kd=this._hash.words,jd=kd[0],Fd=kd[1],Md=kd[2],Ld=kd[3],Hd=kd[4],Gd=kd[5],Vd=kd[6],Kd=kd[7],mf=0;mf<64;mf++){if(mf<16)vd[mf]=Nd[Id+mf]|0;else{var Wd=vd[mf-15],Zd=(Wd<<25|Wd>>>7)^(Wd<<14|Wd>>>18)^Wd>>>3,Xd=vd[mf-2],bf=(Xd<<15|Xd>>>17)^(Xd<<13|Xd>>>19)^Xd>>>10;vd[mf]=Zd+vd[mf-7]+bf+vd[mf-16]}var yf=Hd&Gd^~Hd&Vd,Ef=jd&Fd^jd&Md^Fd&Md,gf=(jd<<30|jd>>>2)^(jd<<19|jd>>>13)^(jd<<10|jd>>>22),xf=(Hd<<26|Hd>>>6)^(Hd<<21|Hd>>>11)^(Hd<<7|Hd>>>25),Af=Kd+xf+yf+md[mf]+vd[mf],Lf=gf+Ef;Kd=Vd,Vd=Gd,Gd=Hd,Hd=Ld+Af|0,Ld=Md,Md=Fd,Fd=jd,jd=Af+Lf|0}kd[0]=kd[0]+jd|0,kd[1]=kd[1]+Fd|0,kd[2]=kd[2]+Md|0,kd[3]=kd[3]+Ld|0,kd[4]=kd[4]+Hd|0,kd[5]=kd[5]+Gd|0,kd[6]=kd[6]+Vd|0,kd[7]=kd[7]+Kd|0},_doFinalize:function(){var Nd=this._data,Id=Nd.words,kd=this._nDataBytes*8,jd=Nd.sigBytes*8;return Id[jd>>>5]|=128<<24-jd%32,Id[(jd+64>>>9<<4)+14]=od.floor(kd/4294967296),Id[(jd+64>>>9<<4)+15]=kd,Nd.sigBytes=Id.length*4,this._process(),this._hash},clone:function(){var Nd=dd.clone.call(this);return Nd._hash=this._hash.clone(),Nd}});ld.SHA256=dd._createHelper(Ad),ld.HmacSHA256=dd._createHmacHelper(Ad)}(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,cd=od.algo,dd=cd.SHA256,pd=cd.SHA224=dd.extend({_doReset:function(){this._hash=new ud.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var fd=dd._doFinalize.call(this);return fd.sigBytes-=4,fd}});od.SHA224=dd._createHelper(pd),od.HmacSHA224=dd._createHmacHelper(pd)}(),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,cd=od.x64,dd=cd.Word,pd=cd.WordArray,fd=od.algo;function md(){return dd.create.apply(dd,arguments)}var vd=[md(1116352408,3609767458),md(1899447441,602891725),md(3049323471,3964484399),md(3921009573,2173295548),md(961987163,4081628472),md(1508970993,3053834265),md(2453635748,2937671579),md(2870763221,3664609560),md(3624381080,2734883394),md(310598401,1164996542),md(607225278,1323610764),md(1426881987,3590304994),md(1925078388,4068182383),md(2162078206,991336113),md(2614888103,633803317),md(3248222580,3479774868),md(3835390401,2666613458),md(4022224774,944711139),md(264347078,2341262773),md(604807628,2007800933),md(770255983,1495990901),md(1249150122,1856431235),md(1555081692,3175218132),md(1996064986,2198950837),md(2554220882,3999719339),md(2821834349,766784016),md(2952996808,2566594879),md(3210313671,3203337956),md(3336571891,1034457026),md(3584528711,2466948901),md(113926993,3758326383),md(338241895,168717936),md(666307205,1188179964),md(773529912,1546045734),md(1294757372,1522805485),md(1396182291,2643833823),md(1695183700,2343527390),md(1986661051,1014477480),md(2177026350,1206759142),md(2456956037,344077627),md(2730485921,1290863460),md(2820302411,3158454273),md(3259730800,3505952657),md(3345764771,106217008),md(3516065817,3606008344),md(3600352804,1432725776),md(4094571909,1467031594),md(275423344,851169720),md(430227734,3100823752),md(506948616,1363258195),md(659060556,3750685593),md(883997877,3785050280),md(958139571,3318307427),md(1322822218,3812723403),md(1537002063,2003034995),md(1747873779,3602036899),md(1955562222,1575990012),md(2024104815,1125592928),md(2227730452,2716904306),md(2361852424,442776044),md(2428436474,593698344),md(2756734187,3733110249),md(3204031479,2999351573),md(3329325298,3815920427),md(3391569614,3928383900),md(3515267271,566280711),md(3940187606,3454069534),md(4118630271,4000239992),md(116418474,1914138554),md(174292421,2731055270),md(289380356,3203993006),md(460393269,320620315),md(685471733,587496836),md(852142971,1086792851),md(1017036298,365543100),md(1126000580,2618297676),md(1288033470,3409855158),md(1501505948,4234509866),md(1607167915,987167468),md(1816402316,1246189591)],Ad=[];(function(){for(var Id=0;Id<80;Id++)Ad[Id]=md()})();var Nd=fd.SHA512=ud.extend({_doReset:function(){this._hash=new pd.init([new dd.init(1779033703,4089235720),new dd.init(3144134277,2227873595),new dd.init(1013904242,4271175723),new dd.init(2773480762,1595750129),new dd.init(1359893119,2917565137),new dd.init(2600822924,725511199),new dd.init(528734635,4215389547),new dd.init(1541459225,327033209)])},_doProcessBlock:function(Id,kd){for(var jd=this._hash.words,Fd=jd[0],Md=jd[1],Ld=jd[2],Hd=jd[3],Gd=jd[4],Vd=jd[5],Kd=jd[6],mf=jd[7],Wd=Fd.high,Zd=Fd.low,Xd=Md.high,bf=Md.low,yf=Ld.high,Ef=Ld.low,gf=Hd.high,xf=Hd.low,Af=Gd.high,Lf=Gd.low,Xf=Vd.high,Jf=Vd.low,Zf=Kd.high,Bf=Kd.low,Df=mf.high,Uf=mf.low,Gf=Wd,zf=Zd,Tf=Xd,vf=bf,qf=yf,eh=Ef,ch=gf,ih=xf,Pf=Af,uh=Lf,xh=Xf,Qf=Jf,wf=Zf,$f=Bf,Wf=Df,Th=Uf,vh=0;vh<80;vh++){var ph,Vh,wh=Ad[vh];if(vh<16)Vh=wh.high=Id[kd+vh*2]|0,ph=wh.low=Id[kd+vh*2+1]|0;else{var fm=Ad[vh-15],Nm=fm.high,cm=fm.low,Sm=(Nm>>>1|cm<<31)^(Nm>>>8|cm<<24)^Nm>>>7,$m=(cm>>>1|Nm<<31)^(cm>>>8|Nm<<24)^(cm>>>7|Nm<<25),fh=Ad[vh-2],Rf=fh.high,If=fh.low,dh=(Rf>>>19|If<<13)^(Rf<<3|If>>>29)^Rf>>>6,yh=(If>>>19|Rf<<13)^(If<<3|Rf>>>29)^(If>>>6|Rf<<26),Uh=Ad[vh-7],Zh=Uh.high,_m=Uh.low,Um=Ad[vh-16],Om=Um.high,r_=Um.low;ph=$m+_m,Vh=Sm+Zh+(ph>>>0<$m>>>0?1:0),ph=ph+yh,Vh=Vh+dh+(ph>>>0<yh>>>0?1:0),ph=ph+r_,Vh=Vh+Om+(ph>>>0<r_>>>0?1:0),wh.high=Vh,wh.low=ph}var Xm=Pf&xh^~Pf&wf,s_=uh&Qf^~uh&$f,b_=Gf&Tf^Gf&qf^Tf&qf,H_=zf&vf^zf&eh^vf&eh,x_=(Gf>>>28|zf<<4)^(Gf<<30|zf>>>2)^(Gf<<25|zf>>>7),M_=(zf>>>28|Gf<<4)^(zf<<30|Gf>>>2)^(zf<<25|Gf>>>7),h_=(Pf>>>14|uh<<18)^(Pf>>>18|uh<<14)^(Pf<<23|uh>>>9),tg=(uh>>>14|Pf<<18)^(uh>>>18|Pf<<14)^(uh<<23|Pf>>>9),L_=vd[vh],dg=L_.high,yg=L_.low,q_=Th+tg,Y_=Wf+h_+(q_>>>0<Th>>>0?1:0),q_=q_+s_,Y_=Y_+Xm+(q_>>>0<s_>>>0?1:0),q_=q_+yg,Y_=Y_+dg+(q_>>>0<yg>>>0?1:0),q_=q_+ph,Y_=Y_+Vh+(q_>>>0<ph>>>0?1:0),Qm=M_+H_,Zg=x_+b_+(Qm>>>0<M_>>>0?1:0);Wf=wf,Th=$f,wf=xh,$f=Qf,xh=Pf,Qf=uh,uh=ih+q_|0,Pf=ch+Y_+(uh>>>0<ih>>>0?1:0)|0,ch=qf,ih=eh,qf=Tf,eh=vf,Tf=Gf,vf=zf,zf=q_+Qm|0,Gf=Y_+Zg+(zf>>>0<q_>>>0?1:0)|0}Zd=Fd.low=Zd+zf,Fd.high=Wd+Gf+(Zd>>>0<zf>>>0?1:0),bf=Md.low=bf+vf,Md.high=Xd+Tf+(bf>>>0<vf>>>0?1:0),Ef=Ld.low=Ef+eh,Ld.high=yf+qf+(Ef>>>0<eh>>>0?1:0),xf=Hd.low=xf+ih,Hd.high=gf+ch+(xf>>>0<ih>>>0?1:0),Lf=Gd.low=Lf+uh,Gd.high=Af+Pf+(Lf>>>0<uh>>>0?1:0),Jf=Vd.low=Jf+Qf,Vd.high=Xf+xh+(Jf>>>0<Qf>>>0?1:0),Bf=Kd.low=Bf+$f,Kd.high=Zf+wf+(Bf>>>0<$f>>>0?1:0),Uf=mf.low=Uf+Th,mf.high=Df+Wf+(Uf>>>0<Th>>>0?1:0)},_doFinalize:function(){var Id=this._data,kd=Id.words,jd=this._nDataBytes*8,Fd=Id.sigBytes*8;kd[Fd>>>5]|=128<<24-Fd%32,kd[(Fd+128>>>10<<5)+30]=Math.floor(jd/4294967296),kd[(Fd+128>>>10<<5)+31]=jd,Id.sigBytes=kd.length*4,this._process();var Md=this._hash.toX32();return Md},clone:function(){var Id=ud.clone.call(this);return Id._hash=this._hash.clone(),Id},blockSize:1024/32});od.SHA512=ud._createHelper(Nd),od.HmacSHA512=ud._createHmacHelper(Nd)}(),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,cd=ld.WordArray,dd=od.algo,pd=dd.SHA512,fd=dd.SHA384=pd.extend({_doReset:function(){this._hash=new cd.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 md=pd._doFinalize.call(this);return md.sigBytes-=16,md}});od.SHA384=pd._createHelper(fd),od.HmacSHA384=pd._createHmacHelper(fd)}(),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,cd=ud.WordArray,dd=ud.Hasher,pd=ld.x64,fd=pd.Word,md=ld.algo,vd=[],Ad=[],Nd=[];(function(){for(var jd=1,Fd=0,Md=0;Md<24;Md++){vd[jd+5*Fd]=(Md+1)*(Md+2)/2%64;var Ld=Fd%5,Hd=(2*jd+3*Fd)%5;jd=Ld,Fd=Hd}for(var jd=0;jd<5;jd++)for(var Fd=0;Fd<5;Fd++)Ad[jd+5*Fd]=Fd+(2*jd+3*Fd)%5*5;for(var Gd=1,Vd=0;Vd<24;Vd++){for(var Kd=0,mf=0,Wd=0;Wd<7;Wd++){if(Gd&1){var Zd=(1<<Wd)-1;Zd<32?mf^=1<<Zd:Kd^=1<<Zd-32}Gd&128?Gd=Gd<<1^113:Gd<<=1}Nd[Vd]=fd.create(Kd,mf)}})();var Id=[];(function(){for(var jd=0;jd<25;jd++)Id[jd]=fd.create()})();var kd=md.SHA3=dd.extend({cfg:dd.cfg.extend({outputLength:512}),_doReset:function(){for(var jd=this._state=[],Fd=0;Fd<25;Fd++)jd[Fd]=new fd.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(jd,Fd){for(var Md=this._state,Ld=this.blockSize/2,Hd=0;Hd<Ld;Hd++){var Gd=jd[Fd+2*Hd],Vd=jd[Fd+2*Hd+1];Gd=(Gd<<8|Gd>>>24)&16711935|(Gd<<24|Gd>>>8)&4278255360,Vd=(Vd<<8|Vd>>>24)&16711935|(Vd<<24|Vd>>>8)&4278255360;var Kd=Md[Hd];Kd.high^=Vd,Kd.low^=Gd}for(var mf=0;mf<24;mf++){for(var Wd=0;Wd<5;Wd++){for(var Zd=0,Xd=0,bf=0;bf<5;bf++){var Kd=Md[Wd+5*bf];Zd^=Kd.high,Xd^=Kd.low}var yf=Id[Wd];yf.high=Zd,yf.low=Xd}for(var Wd=0;Wd<5;Wd++)for(var Ef=Id[(Wd+4)%5],gf=Id[(Wd+1)%5],xf=gf.high,Af=gf.low,Zd=Ef.high^(xf<<1|Af>>>31),Xd=Ef.low^(Af<<1|xf>>>31),bf=0;bf<5;bf++){var Kd=Md[Wd+5*bf];Kd.high^=Zd,Kd.low^=Xd}for(var Lf=1;Lf<25;Lf++){var Zd,Xd,Kd=Md[Lf],Xf=Kd.high,Jf=Kd.low,Zf=vd[Lf];Zf<32?(Zd=Xf<<Zf|Jf>>>32-Zf,Xd=Jf<<Zf|Xf>>>32-Zf):(Zd=Jf<<Zf-32|Xf>>>64-Zf,Xd=Xf<<Zf-32|Jf>>>64-Zf);var Bf=Id[Ad[Lf]];Bf.high=Zd,Bf.low=Xd}var Df=Id[0],Uf=Md[0];Df.high=Uf.high,Df.low=Uf.low;for(var Wd=0;Wd<5;Wd++)for(var bf=0;bf<5;bf++){var Lf=Wd+5*bf,Kd=Md[Lf],Gf=Id[Lf],zf=Id[(Wd+1)%5+5*bf],Tf=Id[(Wd+2)%5+5*bf];Kd.high=Gf.high^~zf.high&Tf.high,Kd.low=Gf.low^~zf.low&Tf.low}var Kd=Md[0],vf=Nd[mf];Kd.high^=vf.high,Kd.low^=vf.low}},_doFinalize:function(){var jd=this._data,Fd=jd.words;this._nDataBytes*8;var Md=jd.sigBytes*8,Ld=this.blockSize*32;Fd[Md>>>5]|=1<<24-Md%32,Fd[(od.ceil((Md+1)/Ld)*Ld>>>5)-1]|=128,jd.sigBytes=Fd.length*4,this._process();for(var Hd=this._state,Gd=this.cfg.outputLength/8,Vd=Gd/8,Kd=[],mf=0;mf<Vd;mf++){var Wd=Hd[mf],Zd=Wd.high,Xd=Wd.low;Zd=(Zd<<8|Zd>>>24)&16711935|(Zd<<24|Zd>>>8)&4278255360,Xd=(Xd<<8|Xd>>>24)&16711935|(Xd<<24|Xd>>>8)&4278255360,Kd.push(Xd),Kd.push(Zd)}return new cd.init(Kd,Gd)},clone:function(){for(var jd=dd.clone.call(this),Fd=jd._state=this._state.slice(0),Md=0;Md<25;Md++)Fd[Md]=Fd[Md].clone();return jd}});ld.SHA3=dd._createHelper(kd),ld.HmacSHA3=dd._createHmacHelper(kd)}(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,cd=ud.WordArray,dd=ud.Hasher,pd=ld.algo,fd=cd.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]),md=cd.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]),vd=cd.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]),Ad=cd.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]),Nd=cd.create([0,1518500249,1859775393,2400959708,2840853838]),Id=cd.create([1352829926,1548603684,1836072691,2053994217,0]),kd=pd.RIPEMD160=dd.extend({_doReset:function(){this._hash=cd.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(Vd,Kd){for(var mf=0;mf<16;mf++){var Wd=Kd+mf,Zd=Vd[Wd];Vd[Wd]=(Zd<<8|Zd>>>24)&16711935|(Zd<<24|Zd>>>8)&4278255360}var Xd=this._hash.words,bf=Nd.words,yf=Id.words,Ef=fd.words,gf=md.words,xf=vd.words,Af=Ad.words,Lf,Xf,Jf,Zf,Bf,Df,Uf,Gf,zf,Tf;Df=Lf=Xd[0],Uf=Xf=Xd[1],Gf=Jf=Xd[2],zf=Zf=Xd[3],Tf=Bf=Xd[4];for(var vf,mf=0;mf<80;mf+=1)vf=Lf+Vd[Kd+Ef[mf]]|0,mf<16?vf+=jd(Xf,Jf,Zf)+bf[0]:mf<32?vf+=Fd(Xf,Jf,Zf)+bf[1]:mf<48?vf+=Md(Xf,Jf,Zf)+bf[2]:mf<64?vf+=Ld(Xf,Jf,Zf)+bf[3]:vf+=Hd(Xf,Jf,Zf)+bf[4],vf=vf|0,vf=Gd(vf,xf[mf]),vf=vf+Bf|0,Lf=Bf,Bf=Zf,Zf=Gd(Jf,10),Jf=Xf,Xf=vf,vf=Df+Vd[Kd+gf[mf]]|0,mf<16?vf+=Hd(Uf,Gf,zf)+yf[0]:mf<32?vf+=Ld(Uf,Gf,zf)+yf[1]:mf<48?vf+=Md(Uf,Gf,zf)+yf[2]:mf<64?vf+=Fd(Uf,Gf,zf)+yf[3]:vf+=jd(Uf,Gf,zf)+yf[4],vf=vf|0,vf=Gd(vf,Af[mf]),vf=vf+Tf|0,Df=Tf,Tf=zf,zf=Gd(Gf,10),Gf=Uf,Uf=vf;vf=Xd[1]+Jf+zf|0,Xd[1]=Xd[2]+Zf+Tf|0,Xd[2]=Xd[3]+Bf+Df|0,Xd[3]=Xd[4]+Lf+Uf|0,Xd[4]=Xd[0]+Xf+Gf|0,Xd[0]=vf},_doFinalize:function(){var Vd=this._data,Kd=Vd.words,mf=this._nDataBytes*8,Wd=Vd.sigBytes*8;Kd[Wd>>>5]|=128<<24-Wd%32,Kd[(Wd+64>>>9<<4)+14]=(mf<<8|mf>>>24)&16711935|(mf<<24|mf>>>8)&4278255360,Vd.sigBytes=(Kd.length+1)*4,this._process();for(var Zd=this._hash,Xd=Zd.words,bf=0;bf<5;bf++){var yf=Xd[bf];Xd[bf]=(yf<<8|yf>>>24)&16711935|(yf<<24|yf>>>8)&4278255360}return Zd},clone:function(){var Vd=dd.clone.call(this);return Vd._hash=this._hash.clone(),Vd}});function jd(Vd,Kd,mf){return Vd^Kd^mf}function Fd(Vd,Kd,mf){return Vd&Kd|~Vd&mf}function Md(Vd,Kd,mf){return(Vd|~Kd)^mf}function Ld(Vd,Kd,mf){return Vd&mf|Kd&~mf}function Hd(Vd,Kd,mf){return Vd^(Kd|~mf)}function Gd(Vd,Kd){return Vd<<Kd|Vd>>>32-Kd}ld.RIPEMD160=dd._createHelper(kd),ld.HmacRIPEMD160=dd._createHmacHelper(kd)}(),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,cd=od.enc,dd=cd.Utf8,pd=od.algo;pd.HMAC=ud.extend({init:function(fd,md){fd=this._hasher=new fd.init,typeof md=="string"&&(md=dd.parse(md));var vd=fd.blockSize,Ad=vd*4;md.sigBytes>Ad&&(md=fd.finalize(md)),md.clamp();for(var Nd=this._oKey=md.clone(),Id=this._iKey=md.clone(),kd=Nd.words,jd=Id.words,Fd=0;Fd<vd;Fd++)kd[Fd]^=1549556828,jd[Fd]^=909522486;Nd.sigBytes=Id.sigBytes=Ad,this.reset()},reset:function(){var fd=this._hasher;fd.reset(),fd.update(this._iKey)},update:function(fd){return this._hasher.update(fd),this},finalize:function(fd){var md=this._hasher,vd=md.finalize(fd);md.reset();var Ad=md.finalize(this._oKey.clone().concat(vd));return Ad}})})()})}(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,cd=ld.WordArray,dd=od.algo,pd=dd.SHA256,fd=dd.HMAC,md=dd.PBKDF2=ud.extend({cfg:ud.extend({keySize:128/32,hasher:pd,iterations:25e4}),init:function(vd){this.cfg=this.cfg.extend(vd)},compute:function(vd,Ad){for(var Nd=this.cfg,Id=fd.create(Nd.hasher,vd),kd=cd.create(),jd=cd.create([1]),Fd=kd.words,Md=jd.words,Ld=Nd.keySize,Hd=Nd.iterations;Fd.length<Ld;){var Gd=Id.update(Ad).finalize(jd);Id.reset();for(var Vd=Gd.words,Kd=Vd.length,mf=Gd,Wd=1;Wd<Hd;Wd++){mf=Id.finalize(mf),Id.reset();for(var Zd=mf.words,Xd=0;Xd<Kd;Xd++)Vd[Xd]^=Zd[Xd]}kd.concat(Gd),Md[0]++}return kd.sigBytes=Ld*4,kd}});od.PBKDF2=function(vd,Ad,Nd){return md.create(Nd).compute(vd,Ad)}}(),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,cd=ld.WordArray,dd=od.algo,pd=dd.MD5,fd=dd.EvpKDF=ud.extend({cfg:ud.extend({keySize:128/32,hasher:pd,iterations:1}),init:function(md){this.cfg=this.cfg.extend(md)},compute:function(md,vd){for(var Ad,Nd=this.cfg,Id=Nd.hasher.create(),kd=cd.create(),jd=kd.words,Fd=Nd.keySize,Md=Nd.iterations;jd.length<Fd;){Ad&&Id.update(Ad),Ad=Id.update(md).finalize(vd),Id.reset();for(var Ld=1;Ld<Md;Ld++)Ad=Id.finalize(Ad),Id.reset();kd.concat(Ad)}return kd.sigBytes=Fd*4,kd}});od.EvpKDF=function(md,vd,Ad){return fd.create(Ad).compute(md,vd)}}(),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,cd=ud.Base,dd=ud.WordArray,pd=ud.BufferedBlockAlgorithm,fd=ld.enc;fd.Utf8;var md=fd.Base64,vd=ld.algo,Ad=vd.EvpKDF,Nd=ud.Cipher=pd.extend({cfg:cd.extend(),createEncryptor:function(Zd,Xd){return this.create(this._ENC_XFORM_MODE,Zd,Xd)},createDecryptor:function(Zd,Xd){return this.create(this._DEC_XFORM_MODE,Zd,Xd)},init:function(Zd,Xd,bf){this.cfg=this.cfg.extend(bf),this._xformMode=Zd,this._key=Xd,this.reset()},reset:function(){pd.reset.call(this),this._doReset()},process:function(Zd){return this._append(Zd),this._process()},finalize:function(Zd){Zd&&this._append(Zd);var Xd=this._doFinalize();return Xd},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function Zd(Xd){return typeof Xd=="string"?Wd:Vd}return function(Xd){return{encrypt:function(bf,yf,Ef){return Zd(yf).encrypt(Xd,bf,yf,Ef)},decrypt:function(bf,yf,Ef){return Zd(yf).decrypt(Xd,bf,yf,Ef)}}}}()});ud.StreamCipher=Nd.extend({_doFinalize:function(){var Zd=this._process(!0);return Zd},blockSize:1});var Id=ld.mode={},kd=ud.BlockCipherMode=cd.extend({createEncryptor:function(Zd,Xd){return this.Encryptor.create(Zd,Xd)},createDecryptor:function(Zd,Xd){return this.Decryptor.create(Zd,Xd)},init:function(Zd,Xd){this._cipher=Zd,this._iv=Xd}}),jd=Id.CBC=function(){var Zd=kd.extend();Zd.Encryptor=Zd.extend({processBlock:function(bf,yf){var Ef=this._cipher,gf=Ef.blockSize;Xd.call(this,bf,yf,gf),Ef.encryptBlock(bf,yf),this._prevBlock=bf.slice(yf,yf+gf)}}),Zd.Decryptor=Zd.extend({processBlock:function(bf,yf){var Ef=this._cipher,gf=Ef.blockSize,xf=bf.slice(yf,yf+gf);Ef.decryptBlock(bf,yf),Xd.call(this,bf,yf,gf),this._prevBlock=xf}});function Xd(bf,yf,Ef){var gf,xf=this._iv;xf?(gf=xf,this._iv=od):gf=this._prevBlock;for(var Af=0;Af<Ef;Af++)bf[yf+Af]^=gf[Af]}return Zd}(),Fd=ld.pad={},Md=Fd.Pkcs7={pad:function(Zd,Xd){for(var bf=Xd*4,yf=bf-Zd.sigBytes%bf,Ef=yf<<24|yf<<16|yf<<8|yf,gf=[],xf=0;xf<yf;xf+=4)gf.push(Ef);var Af=dd.create(gf,yf);Zd.concat(Af)},unpad:function(Zd){var Xd=Zd.words[Zd.sigBytes-1>>>2]&255;Zd.sigBytes-=Xd}};ud.BlockCipher=Nd.extend({cfg:Nd.cfg.extend({mode:jd,padding:Md}),reset:function(){var Zd;Nd.reset.call(this);var Xd=this.cfg,bf=Xd.iv,yf=Xd.mode;this._xformMode==this._ENC_XFORM_MODE?Zd=yf.createEncryptor:(Zd=yf.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==Zd?this._mode.init(this,bf&&bf.words):(this._mode=Zd.call(yf,this,bf&&bf.words),this._mode.__creator=Zd)},_doProcessBlock:function(Zd,Xd){this._mode.processBlock(Zd,Xd)},_doFinalize:function(){var Zd,Xd=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(Xd.pad(this._data,this.blockSize),Zd=this._process(!0)):(Zd=this._process(!0),Xd.unpad(Zd)),Zd},blockSize:128/32});var Ld=ud.CipherParams=cd.extend({init:function(Zd){this.mixIn(Zd)},toString:function(Zd){return(Zd||this.formatter).stringify(this)}}),Hd=ld.format={},Gd=Hd.OpenSSL={stringify:function(Zd){var Xd,bf=Zd.ciphertext,yf=Zd.salt;return yf?Xd=dd.create([1398893684,1701076831]).concat(yf).concat(bf):Xd=bf,Xd.toString(md)},parse:function(Zd){var Xd,bf=md.parse(Zd),yf=bf.words;return yf[0]==1398893684&&yf[1]==1701076831&&(Xd=dd.create(yf.slice(2,4)),yf.splice(0,4),bf.sigBytes-=16),Ld.create({ciphertext:bf,salt:Xd})}},Vd=ud.SerializableCipher=cd.extend({cfg:cd.extend({format:Gd}),encrypt:function(Zd,Xd,bf,yf){yf=this.cfg.extend(yf);var Ef=Zd.createEncryptor(bf,yf),gf=Ef.finalize(Xd),xf=Ef.cfg;return Ld.create({ciphertext:gf,key:bf,iv:xf.iv,algorithm:Zd,mode:xf.mode,padding:xf.padding,blockSize:Zd.blockSize,formatter:yf.format})},decrypt:function(Zd,Xd,bf,yf){yf=this.cfg.extend(yf),Xd=this._parse(Xd,yf.format);var Ef=Zd.createDecryptor(bf,yf).finalize(Xd.ciphertext);return Ef},_parse:function(Zd,Xd){return typeof Zd=="string"?Xd.parse(Zd,this):Zd}}),Kd=ld.kdf={},mf=Kd.OpenSSL={execute:function(Zd,Xd,bf,yf,Ef){if(yf||(yf=dd.random(64/8)),Ef)var gf=Ad.create({keySize:Xd+bf,hasher:Ef}).compute(Zd,yf);else var gf=Ad.create({keySize:Xd+bf}).compute(Zd,yf);var xf=dd.create(gf.words.slice(Xd),bf*4);return gf.sigBytes=Xd*4,Ld.create({key:gf,iv:xf,salt:yf})}},Wd=ud.PasswordBasedCipher=Vd.extend({cfg:Vd.cfg.extend({kdf:mf}),encrypt:function(Zd,Xd,bf,yf){yf=this.cfg.extend(yf);var Ef=yf.kdf.execute(bf,Zd.keySize,Zd.ivSize,yf.salt,yf.hasher);yf.iv=Ef.iv;var gf=Vd.encrypt.call(this,Zd,Xd,Ef.key,yf);return gf.mixIn(Ef),gf},decrypt:function(Zd,Xd,bf,yf){yf=this.cfg.extend(yf),Xd=this._parse(Xd,yf.format);var Ef=yf.kdf.execute(bf,Zd.keySize,Zd.ivSize,Xd.salt,yf.hasher);yf.iv=Ef.iv;var gf=Vd.decrypt.call(this,Zd,Xd,Ef.key,yf);return gf}})}()})}(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,cd){var dd=this._cipher,pd=dd.blockSize;ld.call(this,ud,cd,pd,dd),this._prevBlock=ud.slice(cd,cd+pd)}}),od.Decryptor=od.extend({processBlock:function(ud,cd){var dd=this._cipher,pd=dd.blockSize,fd=ud.slice(cd,cd+pd);ld.call(this,ud,cd,pd,dd),this._prevBlock=fd}});function ld(ud,cd,dd,pd){var fd,md=this._iv;md?(fd=md.slice(0),this._iv=void 0):fd=this._prevBlock,pd.encryptBlock(fd,0);for(var vd=0;vd<dd;vd++)ud[cd+vd]^=fd[vd]}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,cd){var dd=this._cipher,pd=dd.blockSize,fd=this._iv,md=this._counter;fd&&(md=this._counter=fd.slice(0),this._iv=void 0);var vd=md.slice(0);dd.encryptBlock(vd,0),md[pd-1]=md[pd-1]+1|0;for(var Ad=0;Ad<pd;Ad++)ud[cd+Ad]^=vd[Ad]}});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(dd){if((dd>>24&255)===255){var pd=dd>>16&255,fd=dd>>8&255,md=dd&255;pd===255?(pd=0,fd===255?(fd=0,md===255?md=0:++md):++fd):++pd,dd=0,dd+=pd<<16,dd+=fd<<8,dd+=md}else dd+=1<<24;return dd}function ud(dd){return(dd[0]=ld(dd[0]))===0&&(dd[1]=ld(dd[1])),dd}var cd=od.Encryptor=od.extend({processBlock:function(dd,pd){var fd=this._cipher,md=fd.blockSize,vd=this._iv,Ad=this._counter;vd&&(Ad=this._counter=vd.slice(0),this._iv=void 0),ud(Ad);var Nd=Ad.slice(0);fd.encryptBlock(Nd,0);for(var Id=0;Id<md;Id++)dd[pd+Id]^=Nd[Id]}});return od.Decryptor=cd,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,cd){var dd=this._cipher,pd=dd.blockSize,fd=this._iv,md=this._keystream;fd&&(md=this._keystream=fd.slice(0),this._iv=void 0),dd.encryptBlock(md,0);for(var vd=0;vd<pd;vd++)ud[cd+vd]^=md[vd]}});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,cd=ld*4,dd=cd-ud%cd,pd=ud+dd-1;od.clamp(),od.words[pd>>>2]|=dd<<24-pd%4*8,od.sigBytes+=dd},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,cd=ud-od.sigBytes%ud;od.concat(nd.lib.WordArray.random(cd-1)).concat(nd.lib.WordArray.create([cd<<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,cd=ud.CipherParams,dd=ld.enc,pd=dd.Hex,fd=ld.format;fd.Hex={stringify:function(md){return md.ciphertext.toString(pd)},parse:function(md){var vd=pd.parse(md);return cd.create({ciphertext:vd})}}}(),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,cd=od.algo,dd=[],pd=[],fd=[],md=[],vd=[],Ad=[],Nd=[],Id=[],kd=[],jd=[];(function(){for(var Ld=[],Hd=0;Hd<256;Hd++)Hd<128?Ld[Hd]=Hd<<1:Ld[Hd]=Hd<<1^283;for(var Gd=0,Vd=0,Hd=0;Hd<256;Hd++){var Kd=Vd^Vd<<1^Vd<<2^Vd<<3^Vd<<4;Kd=Kd>>>8^Kd&255^99,dd[Gd]=Kd,pd[Kd]=Gd;var mf=Ld[Gd],Wd=Ld[mf],Zd=Ld[Wd],Xd=Ld[Kd]*257^Kd*16843008;fd[Gd]=Xd<<24|Xd>>>8,md[Gd]=Xd<<16|Xd>>>16,vd[Gd]=Xd<<8|Xd>>>24,Ad[Gd]=Xd;var Xd=Zd*16843009^Wd*65537^mf*257^Gd*16843008;Nd[Kd]=Xd<<24|Xd>>>8,Id[Kd]=Xd<<16|Xd>>>16,kd[Kd]=Xd<<8|Xd>>>24,jd[Kd]=Xd,Gd?(Gd=mf^Ld[Ld[Ld[Zd^mf]]],Vd^=Ld[Ld[Vd]]):Gd=Vd=1}})();var Fd=[0,1,2,4,8,16,32,64,128,27,54],Md=cd.AES=ud.extend({_doReset:function(){var Ld;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var Hd=this._keyPriorReset=this._key,Gd=Hd.words,Vd=Hd.sigBytes/4,Kd=this._nRounds=Vd+6,mf=(Kd+1)*4,Wd=this._keySchedule=[],Zd=0;Zd<mf;Zd++)Zd<Vd?Wd[Zd]=Gd[Zd]:(Ld=Wd[Zd-1],Zd%Vd?Vd>6&&Zd%Vd==4&&(Ld=dd[Ld>>>24]<<24|dd[Ld>>>16&255]<<16|dd[Ld>>>8&255]<<8|dd[Ld&255]):(Ld=Ld<<8|Ld>>>24,Ld=dd[Ld>>>24]<<24|dd[Ld>>>16&255]<<16|dd[Ld>>>8&255]<<8|dd[Ld&255],Ld^=Fd[Zd/Vd|0]<<24),Wd[Zd]=Wd[Zd-Vd]^Ld);for(var Xd=this._invKeySchedule=[],bf=0;bf<mf;bf++){var Zd=mf-bf;if(bf%4)var Ld=Wd[Zd];else var Ld=Wd[Zd-4];bf<4||Zd<=4?Xd[bf]=Ld:Xd[bf]=Nd[dd[Ld>>>24]]^Id[dd[Ld>>>16&255]]^kd[dd[Ld>>>8&255]]^jd[dd[Ld&255]]}}},encryptBlock:function(Ld,Hd){this._doCryptBlock(Ld,Hd,this._keySchedule,fd,md,vd,Ad,dd)},decryptBlock:function(Ld,Hd){var Gd=Ld[Hd+1];Ld[Hd+1]=Ld[Hd+3],Ld[Hd+3]=Gd,this._doCryptBlock(Ld,Hd,this._invKeySchedule,Nd,Id,kd,jd,pd);var Gd=Ld[Hd+1];Ld[Hd+1]=Ld[Hd+3],Ld[Hd+3]=Gd},_doCryptBlock:function(Ld,Hd,Gd,Vd,Kd,mf,Wd,Zd){for(var Xd=this._nRounds,bf=Ld[Hd]^Gd[0],yf=Ld[Hd+1]^Gd[1],Ef=Ld[Hd+2]^Gd[2],gf=Ld[Hd+3]^Gd[3],xf=4,Af=1;Af<Xd;Af++){var Lf=Vd[bf>>>24]^Kd[yf>>>16&255]^mf[Ef>>>8&255]^Wd[gf&255]^Gd[xf++],Xf=Vd[yf>>>24]^Kd[Ef>>>16&255]^mf[gf>>>8&255]^Wd[bf&255]^Gd[xf++],Jf=Vd[Ef>>>24]^Kd[gf>>>16&255]^mf[bf>>>8&255]^Wd[yf&255]^Gd[xf++],Zf=Vd[gf>>>24]^Kd[bf>>>16&255]^mf[yf>>>8&255]^Wd[Ef&255]^Gd[xf++];bf=Lf,yf=Xf,Ef=Jf,gf=Zf}var Lf=(Zd[bf>>>24]<<24|Zd[yf>>>16&255]<<16|Zd[Ef>>>8&255]<<8|Zd[gf&255])^Gd[xf++],Xf=(Zd[yf>>>24]<<24|Zd[Ef>>>16&255]<<16|Zd[gf>>>8&255]<<8|Zd[bf&255])^Gd[xf++],Jf=(Zd[Ef>>>24]<<24|Zd[gf>>>16&255]<<16|Zd[bf>>>8&255]<<8|Zd[yf&255])^Gd[xf++],Zf=(Zd[gf>>>24]<<24|Zd[bf>>>16&255]<<16|Zd[yf>>>8&255]<<8|Zd[Ef&255])^Gd[xf++];Ld[Hd]=Lf,Ld[Hd+1]=Xf,Ld[Hd+2]=Jf,Ld[Hd+3]=Zf},keySize:256/32});od.AES=ud._createHelper(Md)}(),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,cd=ld.BlockCipher,dd=od.algo,pd=[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],fd=[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],md=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],vd=[{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}],Ad=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],Nd=dd.DES=cd.extend({_doReset:function(){for(var Fd=this._key,Md=Fd.words,Ld=[],Hd=0;Hd<56;Hd++){var Gd=pd[Hd]-1;Ld[Hd]=Md[Gd>>>5]>>>31-Gd%32&1}for(var Vd=this._subKeys=[],Kd=0;Kd<16;Kd++){for(var mf=Vd[Kd]=[],Wd=md[Kd],Hd=0;Hd<24;Hd++)mf[Hd/6|0]|=Ld[(fd[Hd]-1+Wd)%28]<<31-Hd%6,mf[4+(Hd/6|0)]|=Ld[28+(fd[Hd+24]-1+Wd)%28]<<31-Hd%6;mf[0]=mf[0]<<1|mf[0]>>>31;for(var Hd=1;Hd<7;Hd++)mf[Hd]=mf[Hd]>>>(Hd-1)*4+3;mf[7]=mf[7]<<5|mf[7]>>>27}for(var Zd=this._invSubKeys=[],Hd=0;Hd<16;Hd++)Zd[Hd]=Vd[15-Hd]},encryptBlock:function(Fd,Md){this._doCryptBlock(Fd,Md,this._subKeys)},decryptBlock:function(Fd,Md){this._doCryptBlock(Fd,Md,this._invSubKeys)},_doCryptBlock:function(Fd,Md,Ld){this._lBlock=Fd[Md],this._rBlock=Fd[Md+1],Id.call(this,4,252645135),Id.call(this,16,65535),kd.call(this,2,858993459),kd.call(this,8,16711935),Id.call(this,1,1431655765);for(var Hd=0;Hd<16;Hd++){for(var Gd=Ld[Hd],Vd=this._lBlock,Kd=this._rBlock,mf=0,Wd=0;Wd<8;Wd++)mf|=vd[Wd][((Kd^Gd[Wd])&Ad[Wd])>>>0];this._lBlock=Kd,this._rBlock=Vd^mf}var Zd=this._lBlock;this._lBlock=this._rBlock,this._rBlock=Zd,Id.call(this,1,1431655765),kd.call(this,8,16711935),kd.call(this,2,858993459),Id.call(this,16,65535),Id.call(this,4,252645135),Fd[Md]=this._lBlock,Fd[Md+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function Id(Fd,Md){var Ld=(this._lBlock>>>Fd^this._rBlock)&Md;this._rBlock^=Ld,this._lBlock^=Ld<<Fd}function kd(Fd,Md){var Ld=(this._rBlock>>>Fd^this._lBlock)&Md;this._lBlock^=Ld,this._rBlock^=Ld<<Fd}od.DES=cd._createHelper(Nd);var jd=dd.TripleDES=cd.extend({_doReset:function(){var Fd=this._key,Md=Fd.words;if(Md.length!==2&&Md.length!==4&&Md.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var Ld=Md.slice(0,2),Hd=Md.length<4?Md.slice(0,2):Md.slice(2,4),Gd=Md.length<6?Md.slice(0,2):Md.slice(4,6);this._des1=Nd.createEncryptor(ud.create(Ld)),this._des2=Nd.createEncryptor(ud.create(Hd)),this._des3=Nd.createEncryptor(ud.create(Gd))},encryptBlock:function(Fd,Md){this._des1.encryptBlock(Fd,Md),this._des2.decryptBlock(Fd,Md),this._des3.encryptBlock(Fd,Md)},decryptBlock:function(Fd,Md){this._des3.decryptBlock(Fd,Md),this._des2.encryptBlock(Fd,Md),this._des1.decryptBlock(Fd,Md)},keySize:192/32,ivSize:64/32,blockSize:64/32});od.TripleDES=cd._createHelper(jd)}(),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,cd=od.algo,dd=cd.RC4=ud.extend({_doReset:function(){for(var md=this._key,vd=md.words,Ad=md.sigBytes,Nd=this._S=[],Id=0;Id<256;Id++)Nd[Id]=Id;for(var Id=0,kd=0;Id<256;Id++){var jd=Id%Ad,Fd=vd[jd>>>2]>>>24-jd%4*8&255;kd=(kd+Nd[Id]+Fd)%256;var Md=Nd[Id];Nd[Id]=Nd[kd],Nd[kd]=Md}this._i=this._j=0},_doProcessBlock:function(md,vd){md[vd]^=pd.call(this)},keySize:256/32,ivSize:0});function pd(){for(var md=this._S,vd=this._i,Ad=this._j,Nd=0,Id=0;Id<4;Id++){vd=(vd+1)%256,Ad=(Ad+md[vd])%256;var kd=md[vd];md[vd]=md[Ad],md[Ad]=kd,Nd|=md[(md[vd]+md[Ad])%256]<<24-Id*8}return this._i=vd,this._j=Ad,Nd}od.RC4=ud._createHelper(dd);var fd=cd.RC4Drop=dd.extend({cfg:dd.cfg.extend({drop:192}),_doReset:function(){dd._doReset.call(this);for(var md=this.cfg.drop;md>0;md--)pd.call(this)}});od.RC4Drop=ud._createHelper(fd)}(),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,cd=od.algo,dd=[],pd=[],fd=[],md=cd.Rabbit=ud.extend({_doReset:function(){for(var Ad=this._key.words,Nd=this.cfg.iv,Id=0;Id<4;Id++)Ad[Id]=(Ad[Id]<<8|Ad[Id]>>>24)&16711935|(Ad[Id]<<24|Ad[Id]>>>8)&4278255360;var kd=this._X=[Ad[0],Ad[3]<<16|Ad[2]>>>16,Ad[1],Ad[0]<<16|Ad[3]>>>16,Ad[2],Ad[1]<<16|Ad[0]>>>16,Ad[3],Ad[2]<<16|Ad[1]>>>16],jd=this._C=[Ad[2]<<16|Ad[2]>>>16,Ad[0]&4294901760|Ad[1]&65535,Ad[3]<<16|Ad[3]>>>16,Ad[1]&4294901760|Ad[2]&65535,Ad[0]<<16|Ad[0]>>>16,Ad[2]&4294901760|Ad[3]&65535,Ad[1]<<16|Ad[1]>>>16,Ad[3]&4294901760|Ad[0]&65535];this._b=0;for(var Id=0;Id<4;Id++)vd.call(this);for(var Id=0;Id<8;Id++)jd[Id]^=kd[Id+4&7];if(Nd){var Fd=Nd.words,Md=Fd[0],Ld=Fd[1],Hd=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360,Gd=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360,Vd=Hd>>>16|Gd&4294901760,Kd=Gd<<16|Hd&65535;jd[0]^=Hd,jd[1]^=Vd,jd[2]^=Gd,jd[3]^=Kd,jd[4]^=Hd,jd[5]^=Vd,jd[6]^=Gd,jd[7]^=Kd;for(var Id=0;Id<4;Id++)vd.call(this)}},_doProcessBlock:function(Ad,Nd){var Id=this._X;vd.call(this),dd[0]=Id[0]^Id[5]>>>16^Id[3]<<16,dd[1]=Id[2]^Id[7]>>>16^Id[5]<<16,dd[2]=Id[4]^Id[1]>>>16^Id[7]<<16,dd[3]=Id[6]^Id[3]>>>16^Id[1]<<16;for(var kd=0;kd<4;kd++)dd[kd]=(dd[kd]<<8|dd[kd]>>>24)&16711935|(dd[kd]<<24|dd[kd]>>>8)&4278255360,Ad[Nd+kd]^=dd[kd]},blockSize:128/32,ivSize:64/32});function vd(){for(var Ad=this._X,Nd=this._C,Id=0;Id<8;Id++)pd[Id]=Nd[Id];Nd[0]=Nd[0]+1295307597+this._b|0,Nd[1]=Nd[1]+3545052371+(Nd[0]>>>0<pd[0]>>>0?1:0)|0,Nd[2]=Nd[2]+886263092+(Nd[1]>>>0<pd[1]>>>0?1:0)|0,Nd[3]=Nd[3]+1295307597+(Nd[2]>>>0<pd[2]>>>0?1:0)|0,Nd[4]=Nd[4]+3545052371+(Nd[3]>>>0<pd[3]>>>0?1:0)|0,Nd[5]=Nd[5]+886263092+(Nd[4]>>>0<pd[4]>>>0?1:0)|0,Nd[6]=Nd[6]+1295307597+(Nd[5]>>>0<pd[5]>>>0?1:0)|0,Nd[7]=Nd[7]+3545052371+(Nd[6]>>>0<pd[6]>>>0?1:0)|0,this._b=Nd[7]>>>0<pd[7]>>>0?1:0;for(var Id=0;Id<8;Id++){var kd=Ad[Id]+Nd[Id],jd=kd&65535,Fd=kd>>>16,Md=((jd*jd>>>17)+jd*Fd>>>15)+Fd*Fd,Ld=((kd&4294901760)*kd|0)+((kd&65535)*kd|0);fd[Id]=Md^Ld}Ad[0]=fd[0]+(fd[7]<<16|fd[7]>>>16)+(fd[6]<<16|fd[6]>>>16)|0,Ad[1]=fd[1]+(fd[0]<<8|fd[0]>>>24)+fd[7]|0,Ad[2]=fd[2]+(fd[1]<<16|fd[1]>>>16)+(fd[0]<<16|fd[0]>>>16)|0,Ad[3]=fd[3]+(fd[2]<<8|fd[2]>>>24)+fd[1]|0,Ad[4]=fd[4]+(fd[3]<<16|fd[3]>>>16)+(fd[2]<<16|fd[2]>>>16)|0,Ad[5]=fd[5]+(fd[4]<<8|fd[4]>>>24)+fd[3]|0,Ad[6]=fd[6]+(fd[5]<<16|fd[5]>>>16)+(fd[4]<<16|fd[4]>>>16)|0,Ad[7]=fd[7]+(fd[6]<<8|fd[6]>>>24)+fd[5]|0}od.Rabbit=ud._createHelper(md)}(),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,cd=od.algo,dd=[],pd=[],fd=[],md=cd.RabbitLegacy=ud.extend({_doReset:function(){var Ad=this._key.words,Nd=this.cfg.iv,Id=this._X=[Ad[0],Ad[3]<<16|Ad[2]>>>16,Ad[1],Ad[0]<<16|Ad[3]>>>16,Ad[2],Ad[1]<<16|Ad[0]>>>16,Ad[3],Ad[2]<<16|Ad[1]>>>16],kd=this._C=[Ad[2]<<16|Ad[2]>>>16,Ad[0]&4294901760|Ad[1]&65535,Ad[3]<<16|Ad[3]>>>16,Ad[1]&4294901760|Ad[2]&65535,Ad[0]<<16|Ad[0]>>>16,Ad[2]&4294901760|Ad[3]&65535,Ad[1]<<16|Ad[1]>>>16,Ad[3]&4294901760|Ad[0]&65535];this._b=0;for(var jd=0;jd<4;jd++)vd.call(this);for(var jd=0;jd<8;jd++)kd[jd]^=Id[jd+4&7];if(Nd){var Fd=Nd.words,Md=Fd[0],Ld=Fd[1],Hd=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360,Gd=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360,Vd=Hd>>>16|Gd&4294901760,Kd=Gd<<16|Hd&65535;kd[0]^=Hd,kd[1]^=Vd,kd[2]^=Gd,kd[3]^=Kd,kd[4]^=Hd,kd[5]^=Vd,kd[6]^=Gd,kd[7]^=Kd;for(var jd=0;jd<4;jd++)vd.call(this)}},_doProcessBlock:function(Ad,Nd){var Id=this._X;vd.call(this),dd[0]=Id[0]^Id[5]>>>16^Id[3]<<16,dd[1]=Id[2]^Id[7]>>>16^Id[5]<<16,dd[2]=Id[4]^Id[1]>>>16^Id[7]<<16,dd[3]=Id[6]^Id[3]>>>16^Id[1]<<16;for(var kd=0;kd<4;kd++)dd[kd]=(dd[kd]<<8|dd[kd]>>>24)&16711935|(dd[kd]<<24|dd[kd]>>>8)&4278255360,Ad[Nd+kd]^=dd[kd]},blockSize:128/32,ivSize:64/32});function vd(){for(var Ad=this._X,Nd=this._C,Id=0;Id<8;Id++)pd[Id]=Nd[Id];Nd[0]=Nd[0]+1295307597+this._b|0,Nd[1]=Nd[1]+3545052371+(Nd[0]>>>0<pd[0]>>>0?1:0)|0,Nd[2]=Nd[2]+886263092+(Nd[1]>>>0<pd[1]>>>0?1:0)|0,Nd[3]=Nd[3]+1295307597+(Nd[2]>>>0<pd[2]>>>0?1:0)|0,Nd[4]=Nd[4]+3545052371+(Nd[3]>>>0<pd[3]>>>0?1:0)|0,Nd[5]=Nd[5]+886263092+(Nd[4]>>>0<pd[4]>>>0?1:0)|0,Nd[6]=Nd[6]+1295307597+(Nd[5]>>>0<pd[5]>>>0?1:0)|0,Nd[7]=Nd[7]+3545052371+(Nd[6]>>>0<pd[6]>>>0?1:0)|0,this._b=Nd[7]>>>0<pd[7]>>>0?1:0;for(var Id=0;Id<8;Id++){var kd=Ad[Id]+Nd[Id],jd=kd&65535,Fd=kd>>>16,Md=((jd*jd>>>17)+jd*Fd>>>15)+Fd*Fd,Ld=((kd&4294901760)*kd|0)+((kd&65535)*kd|0);fd[Id]=Md^Ld}Ad[0]=fd[0]+(fd[7]<<16|fd[7]>>>16)+(fd[6]<<16|fd[6]>>>16)|0,Ad[1]=fd[1]+(fd[0]<<8|fd[0]>>>24)+fd[7]|0,Ad[2]=fd[2]+(fd[1]<<16|fd[1]>>>16)+(fd[0]<<16|fd[0]>>>16)|0,Ad[3]=fd[3]+(fd[2]<<8|fd[2]>>>24)+fd[1]|0,Ad[4]=fd[4]+(fd[3]<<16|fd[3]>>>16)+(fd[2]<<16|fd[2]>>>16)|0,Ad[5]=fd[5]+(fd[4]<<8|fd[4]>>>24)+fd[3]|0,Ad[6]=fd[6]+(fd[5]<<16|fd[5]>>>16)+(fd[4]<<16|fd[4]>>>16)|0,Ad[7]=fd[7]+(fd[6]<<8|fd[6]>>>24)+fd[5]|0}od.RabbitLegacy=ud._createHelper(md)}(),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,cd=od.algo;const dd=16,pd=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],fd=[[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 md={pbox:[],sbox:[]};function vd(jd,Fd){let Md=Fd>>24&255,Ld=Fd>>16&255,Hd=Fd>>8&255,Gd=Fd&255,Vd=jd.sbox[0][Md]+jd.sbox[1][Ld];return Vd=Vd^jd.sbox[2][Hd],Vd=Vd+jd.sbox[3][Gd],Vd}function Ad(jd,Fd,Md){let Ld=Fd,Hd=Md,Gd;for(let Vd=0;Vd<dd;++Vd)Ld=Ld^jd.pbox[Vd],Hd=vd(jd,Ld)^Hd,Gd=Ld,Ld=Hd,Hd=Gd;return Gd=Ld,Ld=Hd,Hd=Gd,Hd=Hd^jd.pbox[dd],Ld=Ld^jd.pbox[dd+1],{left:Ld,right:Hd}}function Nd(jd,Fd,Md){let Ld=Fd,Hd=Md,Gd;for(let Vd=dd+1;Vd>1;--Vd)Ld=Ld^jd.pbox[Vd],Hd=vd(jd,Ld)^Hd,Gd=Ld,Ld=Hd,Hd=Gd;return Gd=Ld,Ld=Hd,Hd=Gd,Hd=Hd^jd.pbox[1],Ld=Ld^jd.pbox[0],{left:Ld,right:Hd}}function Id(jd,Fd,Md){for(let Kd=0;Kd<4;Kd++){jd.sbox[Kd]=[];for(let mf=0;mf<256;mf++)jd.sbox[Kd][mf]=fd[Kd][mf]}let Ld=0;for(let Kd=0;Kd<dd+2;Kd++)jd.pbox[Kd]=pd[Kd]^Fd[Ld],Ld++,Ld>=Md&&(Ld=0);let Hd=0,Gd=0,Vd=0;for(let Kd=0;Kd<dd+2;Kd+=2)Vd=Ad(jd,Hd,Gd),Hd=Vd.left,Gd=Vd.right,jd.pbox[Kd]=Hd,jd.pbox[Kd+1]=Gd;for(let Kd=0;Kd<4;Kd++)for(let mf=0;mf<256;mf+=2)Vd=Ad(jd,Hd,Gd),Hd=Vd.left,Gd=Vd.right,jd.sbox[Kd][mf]=Hd,jd.sbox[Kd][mf+1]=Gd;return!0}var kd=cd.Blowfish=ud.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var jd=this._keyPriorReset=this._key,Fd=jd.words,Md=jd.sigBytes/4;Id(md,Fd,Md)}},encryptBlock:function(jd,Fd){var Md=Ad(md,jd[Fd],jd[Fd+1]);jd[Fd]=Md.left,jd[Fd+1]=Md.right},decryptBlock:function(jd,Fd){var Md=Nd(md,jd[Fd],jd[Fd+1]);jd[Fd]=Md.left,jd[Fd+1]=Md.right},blockSize:64/32,keySize:128/32,ivSize:64/32});od.Blowfish=ud._createHelper(kd)}(),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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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,cd,dd=0;dd<=Ra.length;++dd){if(dd<Ra.length)cd=Ra.charCodeAt(dd);else{if(cd===47)break;cd=47}if(cd===47){if(!(ld===dd-1||ud===1))if(ld!==dd-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 pd=nd.lastIndexOf("/");if(pd!==nd.length-1){pd===-1?(nd="",od=0):(nd=nd.slice(0,pd),od=nd.length-1-nd.lastIndexOf("/")),ld=dd,ud=0;continue}}else if(nd.length===2||nd.length===1){nd="",od=0,ld=dd,ud=0;continue}}qa&&(nd.length>0?nd+="/..":nd="..",od=2)}else nd.length>0?nd+="/"+Ra.slice(ld+1,dd):nd=Ra.slice(ld+1,dd),od=dd-ld-1;ld=dd,ud=0}else cd===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,cd=1;cd<nd.length&&nd.charCodeAt(cd)===47;++cd);for(var dd=nd.length,pd=dd-cd,fd=ud<pd?ud:pd,md=-1,vd=0;vd<=fd;++vd){if(vd===fd){if(pd>fd){if(nd.charCodeAt(cd+vd)===47)return nd.slice(cd+vd+1);if(vd===0)return nd.slice(cd+vd)}else ud>fd&&(qa.charCodeAt(od+vd)===47?md=vd:vd===0&&(md=0));break}var Ad=qa.charCodeAt(od+vd),Nd=nd.charCodeAt(cd+vd);if(Ad!==Nd)break;Ad===47&&(md=vd)}var Id="";for(vd=od+md+1;vd<=ld;++vd)(vd===ld||qa.charCodeAt(vd)===47)&&(Id.length===0?Id+="..":Id+="/..");return Id.length>0?Id+nd.slice(cd+md):(cd+=md,nd.charCodeAt(cd)===47&&++cd,nd.slice(cd))},_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,cd=qa.length-1;cd>=1;--cd)if(nd=qa.charCodeAt(cd),nd===47){if(!ud){ld=cd;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,cd;if(nd!==void 0&&nd.length>0&&nd.length<=qa.length){if(nd.length===qa.length&&nd===qa)return"";var dd=nd.length-1,pd=-1;for(cd=qa.length-1;cd>=0;--cd){var fd=qa.charCodeAt(cd);if(fd===47){if(!ud){od=cd+1;break}}else pd===-1&&(ud=!1,pd=cd+1),dd>=0&&(fd===nd.charCodeAt(dd)?--dd===-1&&(ld=cd):(dd=-1,ld=pd))}return od===ld?ld=pd:ld===-1&&(ld=qa.length),qa.slice(od,ld)}else{for(cd=qa.length-1;cd>=0;--cd)if(qa.charCodeAt(cd)===47){if(!ud){od=cd+1;break}}else ld===-1&&(ud=!1,ld=cd+1);return ld===-1?"":qa.slice(od,ld)}},extname:function(qa){assertPath(qa);for(var nd=-1,od=0,ld=-1,ud=!0,cd=0,dd=qa.length-1;dd>=0;--dd){var pd=qa.charCodeAt(dd);if(pd===47){if(!ud){od=dd+1;break}continue}ld===-1&&(ud=!1,ld=dd+1),pd===46?nd===-1?nd=dd:cd!==1&&(cd=1):nd!==-1&&(cd=-1)}return nd===-1||ld===-1||cd===0||cd===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 cd=-1,dd=0,pd=-1,fd=!0,md=qa.length-1,vd=0;md>=ud;--md){if(od=qa.charCodeAt(md),od===47){if(!fd){dd=md+1;break}continue}pd===-1&&(fd=!1,pd=md+1),od===46?cd===-1?cd=md:vd!==1&&(vd=1):cd!==-1&&(vd=-1)}return cd===-1||pd===-1||vd===0||vd===1&&cd===pd-1&&cd===dd+1?pd!==-1&&(dd===0&&ld?nd.base=nd.name=qa.slice(1,pd):nd.base=nd.name=qa.slice(dd,pd)):(dd===0&&ld?(nd.name=qa.slice(1,cd),nd.base=qa.slice(1,pd)):(nd.name=qa.slice(dd,cd),nd.base=qa.slice(dd,pd)),nd.ext=qa.slice(cd,pd)),dd>0?nd.dir=qa.slice(0,dd-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 cd;if(nd.length>0&&(cd=nd[0]),cd instanceof Error)throw cd;var dd=new Error("Unhandled error."+(cd?" ("+cd.message+")":""));throw dd.context=cd,dd}var pd=ud[qa];if(pd===void 0)return!1;if(typeof pd=="function")ReflectApply(pd,this,nd);else for(var fd=pd.length,md=arrayClone(pd,fd),od=0;od<fd;++od)ReflectApply(md[od],this,nd);return!0};function _addListener(Ra,qa,nd,od){var ld,ud,cd;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),cd=ud[qa]),cd===void 0)cd=ud[qa]=nd,++Ra._eventsCount;else if(typeof cd=="function"?cd=ud[qa]=od?[nd,cd]:[cd,nd]:od?cd.unshift(nd):cd.push(nd),ld=_getMaxListeners(Ra),ld>0&&cd.length>ld&&!cd.warned){cd.warned=!0;var dd=new Error("Possible EventEmitter memory leak detected. "+cd.length+" "+String(qa)+" listeners added. Use emitter.setMaxListeners() to increase limit");dd.name="MaxListenersExceededWarning",dd.emitter=Ra,dd.type=qa,dd.count=cd.length,ProcessEmitWarning(dd)}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,cd,dd;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,cd=od.length-1;cd>=0;cd--)if(od[cd]===nd||od[cd].listener===nd){dd=od[cd].listener,ud=cd;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,dd||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),cd;for(ld=0;ld<ud.length;++ld)cd=ud[ld],cd!=="removeListener"&&this.removeAllListeners(cd);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(cd){Ra.removeListener(qa,ud),od(cd)}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=dd,base64Js.toByteArray=fd,base64Js.fromByteArray=Ad;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 cd(Nd){var Id=Nd.length;if(Id%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var kd=Nd.indexOf("=");kd===-1&&(kd=Id);var jd=kd===Id?0:4-kd%4;return[kd,jd]}function dd(Nd){var Id=cd(Nd),kd=Id[0],jd=Id[1];return(kd+jd)*3/4-jd}function pd(Nd,Id,kd){return(Id+kd)*3/4-kd}function fd(Nd){var Id,kd=cd(Nd),jd=kd[0],Fd=kd[1],Md=new nd(pd(Nd,jd,Fd)),Ld=0,Hd=Fd>0?jd-4:jd,Gd;for(Gd=0;Gd<Hd;Gd+=4)Id=qa[Nd.charCodeAt(Gd)]<<18|qa[Nd.charCodeAt(Gd+1)]<<12|qa[Nd.charCodeAt(Gd+2)]<<6|qa[Nd.charCodeAt(Gd+3)],Md[Ld++]=Id>>16&255,Md[Ld++]=Id>>8&255,Md[Ld++]=Id&255;return Fd===2&&(Id=qa[Nd.charCodeAt(Gd)]<<2|qa[Nd.charCodeAt(Gd+1)]>>4,Md[Ld++]=Id&255),Fd===1&&(Id=qa[Nd.charCodeAt(Gd)]<<10|qa[Nd.charCodeAt(Gd+1)]<<4|qa[Nd.charCodeAt(Gd+2)]>>2,Md[Ld++]=Id>>8&255,Md[Ld++]=Id&255),Md}function md(Nd){return Ra[Nd>>18&63]+Ra[Nd>>12&63]+Ra[Nd>>6&63]+Ra[Nd&63]}function vd(Nd,Id,kd){for(var jd,Fd=[],Md=Id;Md<kd;Md+=3)jd=(Nd[Md]<<16&16711680)+(Nd[Md+1]<<8&65280)+(Nd[Md+2]&255),Fd.push(md(jd));return Fd.join("")}function Ad(Nd){for(var Id,kd=Nd.length,jd=kd%3,Fd=[],Md=16383,Ld=0,Hd=kd-jd;Ld<Hd;Ld+=Md)Fd.push(vd(Nd,Ld,Ld+Md>Hd?Hd:Ld+Md));return jd===1?(Id=Nd[kd-1],Fd.push(Ra[Id>>2]+Ra[Id<<4&63]+"==")):jd===2&&(Id=(Nd[kd-2]<<8)+Nd[kd-1],Fd.push(Ra[Id>>10]+Ra[Id>>4&63]+Ra[Id<<2&63]+"=")),Fd.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,cd,dd=ld*8-od-1,pd=(1<<dd)-1,fd=pd>>1,md=-7,vd=nd?ld-1:0,Ad=nd?-1:1,Nd=Ra[qa+vd];for(vd+=Ad,ud=Nd&(1<<-md)-1,Nd>>=-md,md+=dd;md>0;ud=ud*256+Ra[qa+vd],vd+=Ad,md-=8);for(cd=ud&(1<<-md)-1,ud>>=-md,md+=od;md>0;cd=cd*256+Ra[qa+vd],vd+=Ad,md-=8);if(ud===0)ud=1-fd;else{if(ud===pd)return cd?NaN:(Nd?-1:1)*(1/0);cd=cd+Math.pow(2,od),ud=ud-fd}return(Nd?-1:1)*cd*Math.pow(2,ud-od)};ieee754.write=function(Ra,qa,nd,od,ld,ud){var cd,dd,pd,fd=ud*8-ld-1,md=(1<<fd)-1,vd=md>>1,Ad=ld===23?Math.pow(2,-24)-Math.pow(2,-77):0,Nd=od?0:ud-1,Id=od?1:-1,kd=qa<0||qa===0&&1/qa<0?1:0;for(qa=Math.abs(qa),isNaN(qa)||qa===1/0?(dd=isNaN(qa)?1:0,cd=md):(cd=Math.floor(Math.log(qa)/Math.LN2),qa*(pd=Math.pow(2,-cd))<1&&(cd--,pd*=2),cd+vd>=1?qa+=Ad/pd:qa+=Ad*Math.pow(2,1-vd),qa*pd>=2&&(cd++,pd/=2),cd+vd>=md?(dd=0,cd=md):cd+vd>=1?(dd=(qa*pd-1)*Math.pow(2,ld),cd=cd+vd):(dd=qa*Math.pow(2,vd-1)*Math.pow(2,ld),cd=0));ld>=8;Ra[nd+Nd]=dd&255,Nd+=Id,dd/=256,ld-=8);for(cd=cd<<ld|dd,fd+=ld;fd>0;Ra[nd+Nd]=cd&255,Nd+=Id,cd/=256,fd-=8);Ra[nd+Nd-Id]|=kd*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=dd,Ra.SlowBuffer=Md,Ra.INSPECT_MAX_BYTES=50;var ld=2147483647;Ra.kMaxLength=ld,dd.TYPED_ARRAY_SUPPORT=ud(),!dd.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 Qf=new Uint8Array(1),wf={foo:function(){return 42}};return Object.setPrototypeOf(wf,Uint8Array.prototype),Object.setPrototypeOf(Qf,wf),Qf.foo()===42}catch{return!1}}Object.defineProperty(dd.prototype,"parent",{enumerable:!0,get:function(){if(dd.isBuffer(this))return this.buffer}}),Object.defineProperty(dd.prototype,"offset",{enumerable:!0,get:function(){if(dd.isBuffer(this))return this.byteOffset}});function cd(Qf){if(Qf>ld)throw new RangeError('The value "'+Qf+'" is invalid for option "size"');var wf=new Uint8Array(Qf);return Object.setPrototypeOf(wf,dd.prototype),wf}function dd(Qf,wf,$f){if(typeof Qf=="number"){if(typeof wf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return vd(Qf)}return pd(Qf,wf,$f)}dd.poolSize=8192;function pd(Qf,wf,$f){if(typeof Qf=="string")return Ad(Qf,wf);if(ArrayBuffer.isView(Qf))return Id(Qf);if(Qf==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Qf);if(Pf(Qf,ArrayBuffer)||Qf&&Pf(Qf.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pf(Qf,SharedArrayBuffer)||Qf&&Pf(Qf.buffer,SharedArrayBuffer)))return kd(Qf,wf,$f);if(typeof Qf=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Wf=Qf.valueOf&&Qf.valueOf();if(Wf!=null&&Wf!==Qf)return dd.from(Wf,wf,$f);var Th=jd(Qf);if(Th)return Th;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Qf[Symbol.toPrimitive]=="function")return dd.from(Qf[Symbol.toPrimitive]("string"),wf,$f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Qf)}dd.from=function(Qf,wf,$f){return pd(Qf,wf,$f)},Object.setPrototypeOf(dd.prototype,Uint8Array.prototype),Object.setPrototypeOf(dd,Uint8Array);function fd(Qf){if(typeof Qf!="number")throw new TypeError('"size" argument must be of type number');if(Qf<0)throw new RangeError('The value "'+Qf+'" is invalid for option "size"')}function md(Qf,wf,$f){return fd(Qf),Qf<=0?cd(Qf):wf!==void 0?typeof $f=="string"?cd(Qf).fill(wf,$f):cd(Qf).fill(wf):cd(Qf)}dd.alloc=function(Qf,wf,$f){return md(Qf,wf,$f)};function vd(Qf){return fd(Qf),cd(Qf<0?0:Fd(Qf)|0)}dd.allocUnsafe=function(Qf){return vd(Qf)},dd.allocUnsafeSlow=function(Qf){return vd(Qf)};function Ad(Qf,wf){if((typeof wf!="string"||wf==="")&&(wf="utf8"),!dd.isEncoding(wf))throw new TypeError("Unknown encoding: "+wf);var $f=Ld(Qf,wf)|0,Wf=cd($f),Th=Wf.write(Qf,wf);return Th!==$f&&(Wf=Wf.slice(0,Th)),Wf}function Nd(Qf){for(var wf=Qf.length<0?0:Fd(Qf.length)|0,$f=cd(wf),Wf=0;Wf<wf;Wf+=1)$f[Wf]=Qf[Wf]&255;return $f}function Id(Qf){if(Pf(Qf,Uint8Array)){var wf=new Uint8Array(Qf);return kd(wf.buffer,wf.byteOffset,wf.byteLength)}return Nd(Qf)}function kd(Qf,wf,$f){if(wf<0||Qf.byteLength<wf)throw new RangeError('"offset" is outside of buffer bounds');if(Qf.byteLength<wf+($f||0))throw new RangeError('"length" is outside of buffer bounds');var Wf;return wf===void 0&&$f===void 0?Wf=new Uint8Array(Qf):$f===void 0?Wf=new Uint8Array(Qf,wf):Wf=new Uint8Array(Qf,wf,$f),Object.setPrototypeOf(Wf,dd.prototype),Wf}function jd(Qf){if(dd.isBuffer(Qf)){var wf=Fd(Qf.length)|0,$f=cd(wf);return $f.length===0||Qf.copy($f,0,0,wf),$f}if(Qf.length!==void 0)return typeof Qf.length!="number"||uh(Qf.length)?cd(0):Nd(Qf);if(Qf.type==="Buffer"&&Array.isArray(Qf.data))return Nd(Qf.data)}function Fd(Qf){if(Qf>=ld)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ld.toString(16)+" bytes");return Qf|0}function Md(Qf){return+Qf!=Qf&&(Qf=0),dd.alloc(+Qf)}dd.isBuffer=function(wf){return wf!=null&&wf._isBuffer===!0&&wf!==dd.prototype},dd.compare=function(wf,$f){if(Pf(wf,Uint8Array)&&(wf=dd.from(wf,wf.offset,wf.byteLength)),Pf($f,Uint8Array)&&($f=dd.from($f,$f.offset,$f.byteLength)),!dd.isBuffer(wf)||!dd.isBuffer($f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(wf===$f)return 0;for(var Wf=wf.length,Th=$f.length,vh=0,ph=Math.min(Wf,Th);vh<ph;++vh)if(wf[vh]!==$f[vh]){Wf=wf[vh],Th=$f[vh];break}return Wf<Th?-1:Th<Wf?1:0},dd.isEncoding=function(wf){switch(String(wf).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}},dd.concat=function(wf,$f){if(!Array.isArray(wf))throw new TypeError('"list" argument must be an Array of Buffers');if(wf.length===0)return dd.alloc(0);var Wf;if($f===void 0)for($f=0,Wf=0;Wf<wf.length;++Wf)$f+=wf[Wf].length;var Th=dd.allocUnsafe($f),vh=0;for(Wf=0;Wf<wf.length;++Wf){var ph=wf[Wf];if(Pf(ph,Uint8Array))vh+ph.length>Th.length?dd.from(ph).copy(Th,vh):Uint8Array.prototype.set.call(Th,ph,vh);else if(dd.isBuffer(ph))ph.copy(Th,vh);else throw new TypeError('"list" argument must be an Array of Buffers');vh+=ph.length}return Th};function Ld(Qf,wf){if(dd.isBuffer(Qf))return Qf.length;if(ArrayBuffer.isView(Qf)||Pf(Qf,ArrayBuffer))return Qf.byteLength;if(typeof Qf!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Qf);var $f=Qf.length,Wf=arguments.length>2&&arguments[2]===!0;if(!Wf&&$f===0)return 0;for(var Th=!1;;)switch(wf){case"ascii":case"latin1":case"binary":return $f;case"utf8":case"utf-8":return vf(Qf).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $f*2;case"hex":return $f>>>1;case"base64":return ch(Qf).length;default:if(Th)return Wf?-1:vf(Qf).length;wf=(""+wf).toLowerCase(),Th=!0}}dd.byteLength=Ld;function Hd(Qf,wf,$f){var Wf=!1;if((wf===void 0||wf<0)&&(wf=0),wf>this.length||(($f===void 0||$f>this.length)&&($f=this.length),$f<=0)||($f>>>=0,wf>>>=0,$f<=wf))return"";for(Qf||(Qf="utf8");;)switch(Qf){case"hex":return Xf(this,wf,$f);case"utf8":case"utf-8":return Ef(this,wf,$f);case"ascii":return Af(this,wf,$f);case"latin1":case"binary":return Lf(this,wf,$f);case"base64":return yf(this,wf,$f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Jf(this,wf,$f);default:if(Wf)throw new TypeError("Unknown encoding: "+Qf);Qf=(Qf+"").toLowerCase(),Wf=!0}}dd.prototype._isBuffer=!0;function Gd(Qf,wf,$f){var Wf=Qf[wf];Qf[wf]=Qf[$f],Qf[$f]=Wf}dd.prototype.swap16=function(){var wf=this.length;if(wf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var $f=0;$f<wf;$f+=2)Gd(this,$f,$f+1);return this},dd.prototype.swap32=function(){var wf=this.length;if(wf%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var $f=0;$f<wf;$f+=4)Gd(this,$f,$f+3),Gd(this,$f+1,$f+2);return this},dd.prototype.swap64=function(){var wf=this.length;if(wf%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var $f=0;$f<wf;$f+=8)Gd(this,$f,$f+7),Gd(this,$f+1,$f+6),Gd(this,$f+2,$f+5),Gd(this,$f+3,$f+4);return this},dd.prototype.toString=function(){var wf=this.length;return wf===0?"":arguments.length===0?Ef(this,0,wf):Hd.apply(this,arguments)},dd.prototype.toLocaleString=dd.prototype.toString,dd.prototype.equals=function(wf){if(!dd.isBuffer(wf))throw new TypeError("Argument must be a Buffer");return this===wf?!0:dd.compare(this,wf)===0},dd.prototype.inspect=function(){var wf="",$f=Ra.INSPECT_MAX_BYTES;return wf=this.toString("hex",0,$f).replace(/(.{2})/g,"$1 ").trim(),this.length>$f&&(wf+=" ... "),"<Buffer "+wf+">"},od&&(dd.prototype[od]=dd.prototype.inspect),dd.prototype.compare=function(wf,$f,Wf,Th,vh){if(Pf(wf,Uint8Array)&&(wf=dd.from(wf,wf.offset,wf.byteLength)),!dd.isBuffer(wf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof wf);if($f===void 0&&($f=0),Wf===void 0&&(Wf=wf?wf.length:0),Th===void 0&&(Th=0),vh===void 0&&(vh=this.length),$f<0||Wf>wf.length||Th<0||vh>this.length)throw new RangeError("out of range index");if(Th>=vh&&$f>=Wf)return 0;if(Th>=vh)return-1;if($f>=Wf)return 1;if($f>>>=0,Wf>>>=0,Th>>>=0,vh>>>=0,this===wf)return 0;for(var ph=vh-Th,Vh=Wf-$f,wh=Math.min(ph,Vh),fm=this.slice(Th,vh),Nm=wf.slice($f,Wf),cm=0;cm<wh;++cm)if(fm[cm]!==Nm[cm]){ph=fm[cm],Vh=Nm[cm];break}return ph<Vh?-1:Vh<ph?1:0};function Vd(Qf,wf,$f,Wf,Th){if(Qf.length===0)return-1;if(typeof $f=="string"?(Wf=$f,$f=0):$f>2147483647?$f=2147483647:$f<-2147483648&&($f=-2147483648),$f=+$f,uh($f)&&($f=Th?0:Qf.length-1),$f<0&&($f=Qf.length+$f),$f>=Qf.length){if(Th)return-1;$f=Qf.length-1}else if($f<0)if(Th)$f=0;else return-1;if(typeof wf=="string"&&(wf=dd.from(wf,Wf)),dd.isBuffer(wf))return wf.length===0?-1:Kd(Qf,wf,$f,Wf,Th);if(typeof wf=="number")return wf=wf&255,typeof Uint8Array.prototype.indexOf=="function"?Th?Uint8Array.prototype.indexOf.call(Qf,wf,$f):Uint8Array.prototype.lastIndexOf.call(Qf,wf,$f):Kd(Qf,[wf],$f,Wf,Th);throw new TypeError("val must be string, number or Buffer")}function Kd(Qf,wf,$f,Wf,Th){var vh=1,ph=Qf.length,Vh=wf.length;if(Wf!==void 0&&(Wf=String(Wf).toLowerCase(),Wf==="ucs2"||Wf==="ucs-2"||Wf==="utf16le"||Wf==="utf-16le")){if(Qf.length<2||wf.length<2)return-1;vh=2,ph/=2,Vh/=2,$f/=2}function wh($m,fh){return vh===1?$m[fh]:$m.readUInt16BE(fh*vh)}var fm;if(Th){var Nm=-1;for(fm=$f;fm<ph;fm++)if(wh(Qf,fm)===wh(wf,Nm===-1?0:fm-Nm)){if(Nm===-1&&(Nm=fm),fm-Nm+1===Vh)return Nm*vh}else Nm!==-1&&(fm-=fm-Nm),Nm=-1}else for($f+Vh>ph&&($f=ph-Vh),fm=$f;fm>=0;fm--){for(var cm=!0,Sm=0;Sm<Vh;Sm++)if(wh(Qf,fm+Sm)!==wh(wf,Sm)){cm=!1;break}if(cm)return fm}return-1}dd.prototype.includes=function(wf,$f,Wf){return this.indexOf(wf,$f,Wf)!==-1},dd.prototype.indexOf=function(wf,$f,Wf){return Vd(this,wf,$f,Wf,!0)},dd.prototype.lastIndexOf=function(wf,$f,Wf){return Vd(this,wf,$f,Wf,!1)};function mf(Qf,wf,$f,Wf){$f=Number($f)||0;var Th=Qf.length-$f;Wf?(Wf=Number(Wf),Wf>Th&&(Wf=Th)):Wf=Th;var vh=wf.length;Wf>vh/2&&(Wf=vh/2);for(var ph=0;ph<Wf;++ph){var Vh=parseInt(wf.substr(ph*2,2),16);if(uh(Vh))return ph;Qf[$f+ph]=Vh}return ph}function Wd(Qf,wf,$f,Wf){return ih(vf(wf,Qf.length-$f),Qf,$f,Wf)}function Zd(Qf,wf,$f,Wf){return ih(qf(wf),Qf,$f,Wf)}function Xd(Qf,wf,$f,Wf){return ih(ch(wf),Qf,$f,Wf)}function bf(Qf,wf,$f,Wf){return ih(eh(wf,Qf.length-$f),Qf,$f,Wf)}dd.prototype.write=function(wf,$f,Wf,Th){if($f===void 0)Th="utf8",Wf=this.length,$f=0;else if(Wf===void 0&&typeof $f=="string")Th=$f,Wf=this.length,$f=0;else if(isFinite($f))$f=$f>>>0,isFinite(Wf)?(Wf=Wf>>>0,Th===void 0&&(Th="utf8")):(Th=Wf,Wf=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var vh=this.length-$f;if((Wf===void 0||Wf>vh)&&(Wf=vh),wf.length>0&&(Wf<0||$f<0)||$f>this.length)throw new RangeError("Attempt to write outside buffer bounds");Th||(Th="utf8");for(var ph=!1;;)switch(Th){case"hex":return mf(this,wf,$f,Wf);case"utf8":case"utf-8":return Wd(this,wf,$f,Wf);case"ascii":case"latin1":case"binary":return Zd(this,wf,$f,Wf);case"base64":return Xd(this,wf,$f,Wf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bf(this,wf,$f,Wf);default:if(ph)throw new TypeError("Unknown encoding: "+Th);Th=(""+Th).toLowerCase(),ph=!0}},dd.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function yf(Qf,wf,$f){return wf===0&&$f===Qf.length?qa.fromByteArray(Qf):qa.fromByteArray(Qf.slice(wf,$f))}function Ef(Qf,wf,$f){$f=Math.min(Qf.length,$f);for(var Wf=[],Th=wf;Th<$f;){var vh=Qf[Th],ph=null,Vh=vh>239?4:vh>223?3:vh>191?2:1;if(Th+Vh<=$f){var wh,fm,Nm,cm;switch(Vh){case 1:vh<128&&(ph=vh);break;case 2:wh=Qf[Th+1],(wh&192)===128&&(cm=(vh&31)<<6|wh&63,cm>127&&(ph=cm));break;case 3:wh=Qf[Th+1],fm=Qf[Th+2],(wh&192)===128&&(fm&192)===128&&(cm=(vh&15)<<12|(wh&63)<<6|fm&63,cm>2047&&(cm<55296||cm>57343)&&(ph=cm));break;case 4:wh=Qf[Th+1],fm=Qf[Th+2],Nm=Qf[Th+3],(wh&192)===128&&(fm&192)===128&&(Nm&192)===128&&(cm=(vh&15)<<18|(wh&63)<<12|(fm&63)<<6|Nm&63,cm>65535&&cm<1114112&&(ph=cm))}}ph===null?(ph=65533,Vh=1):ph>65535&&(ph-=65536,Wf.push(ph>>>10&1023|55296),ph=56320|ph&1023),Wf.push(ph),Th+=Vh}return xf(Wf)}var gf=4096;function xf(Qf){var wf=Qf.length;if(wf<=gf)return String.fromCharCode.apply(String,Qf);for(var $f="",Wf=0;Wf<wf;)$f+=String.fromCharCode.apply(String,Qf.slice(Wf,Wf+=gf));return $f}function Af(Qf,wf,$f){var Wf="";$f=Math.min(Qf.length,$f);for(var Th=wf;Th<$f;++Th)Wf+=String.fromCharCode(Qf[Th]&127);return Wf}function Lf(Qf,wf,$f){var Wf="";$f=Math.min(Qf.length,$f);for(var Th=wf;Th<$f;++Th)Wf+=String.fromCharCode(Qf[Th]);return Wf}function Xf(Qf,wf,$f){var Wf=Qf.length;(!wf||wf<0)&&(wf=0),(!$f||$f<0||$f>Wf)&&($f=Wf);for(var Th="",vh=wf;vh<$f;++vh)Th+=xh[Qf[vh]];return Th}function Jf(Qf,wf,$f){for(var Wf=Qf.slice(wf,$f),Th="",vh=0;vh<Wf.length-1;vh+=2)Th+=String.fromCharCode(Wf[vh]+Wf[vh+1]*256);return Th}dd.prototype.slice=function(wf,$f){var Wf=this.length;wf=~~wf,$f=$f===void 0?Wf:~~$f,wf<0?(wf+=Wf,wf<0&&(wf=0)):wf>Wf&&(wf=Wf),$f<0?($f+=Wf,$f<0&&($f=0)):$f>Wf&&($f=Wf),$f<wf&&($f=wf);var Th=this.subarray(wf,$f);return Object.setPrototypeOf(Th,dd.prototype),Th};function Zf(Qf,wf,$f){if(Qf%1!==0||Qf<0)throw new RangeError("offset is not uint");if(Qf+wf>$f)throw new RangeError("Trying to access beyond buffer length")}dd.prototype.readUintLE=dd.prototype.readUIntLE=function(wf,$f,Wf){wf=wf>>>0,$f=$f>>>0,Wf||Zf(wf,$f,this.length);for(var Th=this[wf],vh=1,ph=0;++ph<$f&&(vh*=256);)Th+=this[wf+ph]*vh;return Th},dd.prototype.readUintBE=dd.prototype.readUIntBE=function(wf,$f,Wf){wf=wf>>>0,$f=$f>>>0,Wf||Zf(wf,$f,this.length);for(var Th=this[wf+--$f],vh=1;$f>0&&(vh*=256);)Th+=this[wf+--$f]*vh;return Th},dd.prototype.readUint8=dd.prototype.readUInt8=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,1,this.length),this[wf]},dd.prototype.readUint16LE=dd.prototype.readUInt16LE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,2,this.length),this[wf]|this[wf+1]<<8},dd.prototype.readUint16BE=dd.prototype.readUInt16BE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,2,this.length),this[wf]<<8|this[wf+1]},dd.prototype.readUint32LE=dd.prototype.readUInt32LE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,4,this.length),(this[wf]|this[wf+1]<<8|this[wf+2]<<16)+this[wf+3]*16777216},dd.prototype.readUint32BE=dd.prototype.readUInt32BE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,4,this.length),this[wf]*16777216+(this[wf+1]<<16|this[wf+2]<<8|this[wf+3])},dd.prototype.readIntLE=function(wf,$f,Wf){wf=wf>>>0,$f=$f>>>0,Wf||Zf(wf,$f,this.length);for(var Th=this[wf],vh=1,ph=0;++ph<$f&&(vh*=256);)Th+=this[wf+ph]*vh;return vh*=128,Th>=vh&&(Th-=Math.pow(2,8*$f)),Th},dd.prototype.readIntBE=function(wf,$f,Wf){wf=wf>>>0,$f=$f>>>0,Wf||Zf(wf,$f,this.length);for(var Th=$f,vh=1,ph=this[wf+--Th];Th>0&&(vh*=256);)ph+=this[wf+--Th]*vh;return vh*=128,ph>=vh&&(ph-=Math.pow(2,8*$f)),ph},dd.prototype.readInt8=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,1,this.length),this[wf]&128?(255-this[wf]+1)*-1:this[wf]},dd.prototype.readInt16LE=function(wf,$f){wf=wf>>>0,$f||Zf(wf,2,this.length);var Wf=this[wf]|this[wf+1]<<8;return Wf&32768?Wf|4294901760:Wf},dd.prototype.readInt16BE=function(wf,$f){wf=wf>>>0,$f||Zf(wf,2,this.length);var Wf=this[wf+1]|this[wf]<<8;return Wf&32768?Wf|4294901760:Wf},dd.prototype.readInt32LE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,4,this.length),this[wf]|this[wf+1]<<8|this[wf+2]<<16|this[wf+3]<<24},dd.prototype.readInt32BE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,4,this.length),this[wf]<<24|this[wf+1]<<16|this[wf+2]<<8|this[wf+3]},dd.prototype.readFloatLE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,4,this.length),nd.read(this,wf,!0,23,4)},dd.prototype.readFloatBE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,4,this.length),nd.read(this,wf,!1,23,4)},dd.prototype.readDoubleLE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,8,this.length),nd.read(this,wf,!0,52,8)},dd.prototype.readDoubleBE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,8,this.length),nd.read(this,wf,!1,52,8)};function Bf(Qf,wf,$f,Wf,Th,vh){if(!dd.isBuffer(Qf))throw new TypeError('"buffer" argument must be a Buffer instance');if(wf>Th||wf<vh)throw new RangeError('"value" argument is out of bounds');if($f+Wf>Qf.length)throw new RangeError("Index out of range")}dd.prototype.writeUintLE=dd.prototype.writeUIntLE=function(wf,$f,Wf,Th){if(wf=+wf,$f=$f>>>0,Wf=Wf>>>0,!Th){var vh=Math.pow(2,8*Wf)-1;Bf(this,wf,$f,Wf,vh,0)}var ph=1,Vh=0;for(this[$f]=wf&255;++Vh<Wf&&(ph*=256);)this[$f+Vh]=wf/ph&255;return $f+Wf},dd.prototype.writeUintBE=dd.prototype.writeUIntBE=function(wf,$f,Wf,Th){if(wf=+wf,$f=$f>>>0,Wf=Wf>>>0,!Th){var vh=Math.pow(2,8*Wf)-1;Bf(this,wf,$f,Wf,vh,0)}var ph=Wf-1,Vh=1;for(this[$f+ph]=wf&255;--ph>=0&&(Vh*=256);)this[$f+ph]=wf/Vh&255;return $f+Wf},dd.prototype.writeUint8=dd.prototype.writeUInt8=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,1,255,0),this[$f]=wf&255,$f+1},dd.prototype.writeUint16LE=dd.prototype.writeUInt16LE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,2,65535,0),this[$f]=wf&255,this[$f+1]=wf>>>8,$f+2},dd.prototype.writeUint16BE=dd.prototype.writeUInt16BE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,2,65535,0),this[$f]=wf>>>8,this[$f+1]=wf&255,$f+2},dd.prototype.writeUint32LE=dd.prototype.writeUInt32LE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,4,4294967295,0),this[$f+3]=wf>>>24,this[$f+2]=wf>>>16,this[$f+1]=wf>>>8,this[$f]=wf&255,$f+4},dd.prototype.writeUint32BE=dd.prototype.writeUInt32BE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,4,4294967295,0),this[$f]=wf>>>24,this[$f+1]=wf>>>16,this[$f+2]=wf>>>8,this[$f+3]=wf&255,$f+4},dd.prototype.writeIntLE=function(wf,$f,Wf,Th){if(wf=+wf,$f=$f>>>0,!Th){var vh=Math.pow(2,8*Wf-1);Bf(this,wf,$f,Wf,vh-1,-vh)}var ph=0,Vh=1,wh=0;for(this[$f]=wf&255;++ph<Wf&&(Vh*=256);)wf<0&&wh===0&&this[$f+ph-1]!==0&&(wh=1),this[$f+ph]=(wf/Vh>>0)-wh&255;return $f+Wf},dd.prototype.writeIntBE=function(wf,$f,Wf,Th){if(wf=+wf,$f=$f>>>0,!Th){var vh=Math.pow(2,8*Wf-1);Bf(this,wf,$f,Wf,vh-1,-vh)}var ph=Wf-1,Vh=1,wh=0;for(this[$f+ph]=wf&255;--ph>=0&&(Vh*=256);)wf<0&&wh===0&&this[$f+ph+1]!==0&&(wh=1),this[$f+ph]=(wf/Vh>>0)-wh&255;return $f+Wf},dd.prototype.writeInt8=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,1,127,-128),wf<0&&(wf=255+wf+1),this[$f]=wf&255,$f+1},dd.prototype.writeInt16LE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,2,32767,-32768),this[$f]=wf&255,this[$f+1]=wf>>>8,$f+2},dd.prototype.writeInt16BE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,2,32767,-32768),this[$f]=wf>>>8,this[$f+1]=wf&255,$f+2},dd.prototype.writeInt32LE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,4,2147483647,-2147483648),this[$f]=wf&255,this[$f+1]=wf>>>8,this[$f+2]=wf>>>16,this[$f+3]=wf>>>24,$f+4},dd.prototype.writeInt32BE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,4,2147483647,-2147483648),wf<0&&(wf=4294967295+wf+1),this[$f]=wf>>>24,this[$f+1]=wf>>>16,this[$f+2]=wf>>>8,this[$f+3]=wf&255,$f+4};function Df(Qf,wf,$f,Wf,Th,vh){if($f+Wf>Qf.length)throw new RangeError("Index out of range");if($f<0)throw new RangeError("Index out of range")}function Uf(Qf,wf,$f,Wf,Th){return wf=+wf,$f=$f>>>0,Th||Df(Qf,wf,$f,4),nd.write(Qf,wf,$f,Wf,23,4),$f+4}dd.prototype.writeFloatLE=function(wf,$f,Wf){return Uf(this,wf,$f,!0,Wf)},dd.prototype.writeFloatBE=function(wf,$f,Wf){return Uf(this,wf,$f,!1,Wf)};function Gf(Qf,wf,$f,Wf,Th){return wf=+wf,$f=$f>>>0,Th||Df(Qf,wf,$f,8),nd.write(Qf,wf,$f,Wf,52,8),$f+8}dd.prototype.writeDoubleLE=function(wf,$f,Wf){return Gf(this,wf,$f,!0,Wf)},dd.prototype.writeDoubleBE=function(wf,$f,Wf){return Gf(this,wf,$f,!1,Wf)},dd.prototype.copy=function(wf,$f,Wf,Th){if(!dd.isBuffer(wf))throw new TypeError("argument should be a Buffer");if(Wf||(Wf=0),!Th&&Th!==0&&(Th=this.length),$f>=wf.length&&($f=wf.length),$f||($f=0),Th>0&&Th<Wf&&(Th=Wf),Th===Wf||wf.length===0||this.length===0)return 0;if($f<0)throw new RangeError("targetStart out of bounds");if(Wf<0||Wf>=this.length)throw new RangeError("Index out of range");if(Th<0)throw new RangeError("sourceEnd out of bounds");Th>this.length&&(Th=this.length),wf.length-$f<Th-Wf&&(Th=wf.length-$f+Wf);var vh=Th-Wf;return this===wf&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin($f,Wf,Th):Uint8Array.prototype.set.call(wf,this.subarray(Wf,Th),$f),vh},dd.prototype.fill=function(wf,$f,Wf,Th){if(typeof wf=="string"){if(typeof $f=="string"?(Th=$f,$f=0,Wf=this.length):typeof Wf=="string"&&(Th=Wf,Wf=this.length),Th!==void 0&&typeof Th!="string")throw new TypeError("encoding must be a string");if(typeof Th=="string"&&!dd.isEncoding(Th))throw new TypeError("Unknown encoding: "+Th);if(wf.length===1){var vh=wf.charCodeAt(0);(Th==="utf8"&&vh<128||Th==="latin1")&&(wf=vh)}}else typeof wf=="number"?wf=wf&255:typeof wf=="boolean"&&(wf=Number(wf));if($f<0||this.length<$f||this.length<Wf)throw new RangeError("Out of range index");if(Wf<=$f)return this;$f=$f>>>0,Wf=Wf===void 0?this.length:Wf>>>0,wf||(wf=0);var ph;if(typeof wf=="number")for(ph=$f;ph<Wf;++ph)this[ph]=wf;else{var Vh=dd.isBuffer(wf)?wf:dd.from(wf,Th),wh=Vh.length;if(wh===0)throw new TypeError('The value "'+wf+'" is invalid for argument "value"');for(ph=0;ph<Wf-$f;++ph)this[ph+$f]=Vh[ph%wh]}return this};var zf=/[^+/0-9A-Za-z-_]/g;function Tf(Qf){if(Qf=Qf.split("=")[0],Qf=Qf.trim().replace(zf,""),Qf.length<2)return"";for(;Qf.length%4!==0;)Qf=Qf+"=";return Qf}function vf(Qf,wf){wf=wf||1/0;for(var $f,Wf=Qf.length,Th=null,vh=[],ph=0;ph<Wf;++ph){if($f=Qf.charCodeAt(ph),$f>55295&&$f<57344){if(!Th){if($f>56319){(wf-=3)>-1&&vh.push(239,191,189);continue}else if(ph+1===Wf){(wf-=3)>-1&&vh.push(239,191,189);continue}Th=$f;continue}if($f<56320){(wf-=3)>-1&&vh.push(239,191,189),Th=$f;continue}$f=(Th-55296<<10|$f-56320)+65536}else Th&&(wf-=3)>-1&&vh.push(239,191,189);if(Th=null,$f<128){if((wf-=1)<0)break;vh.push($f)}else if($f<2048){if((wf-=2)<0)break;vh.push($f>>6|192,$f&63|128)}else if($f<65536){if((wf-=3)<0)break;vh.push($f>>12|224,$f>>6&63|128,$f&63|128)}else if($f<1114112){if((wf-=4)<0)break;vh.push($f>>18|240,$f>>12&63|128,$f>>6&63|128,$f&63|128)}else throw new Error("Invalid code point")}return vh}function qf(Qf){for(var wf=[],$f=0;$f<Qf.length;++$f)wf.push(Qf.charCodeAt($f)&255);return wf}function eh(Qf,wf){for(var $f,Wf,Th,vh=[],ph=0;ph<Qf.length&&!((wf-=2)<0);++ph)$f=Qf.charCodeAt(ph),Wf=$f>>8,Th=$f%256,vh.push(Th),vh.push(Wf);return vh}function ch(Qf){return qa.toByteArray(Tf(Qf))}function ih(Qf,wf,$f,Wf){for(var Th=0;Th<Wf&&!(Th+$f>=wf.length||Th>=Qf.length);++Th)wf[Th+$f]=Qf[Th];return Th}function Pf(Qf,wf){return Qf instanceof wf||Qf!=null&&Qf.constructor!=null&&Qf.constructor.name!=null&&Qf.constructor.name===wf.name}function uh(Qf){return Qf!==Qf}var xh=function(){for(var Qf="0123456789abcdef",wf=new Array(256),$f=0;$f<16;++$f)for(var Wf=$f*16,Th=0;Th<16;++Th)wf[Wf+Th]=Qf[$f]+Qf[Th];return wf}()})(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 cd=Object.getOwnPropertyDescriptor(qa,nd);if(cd.value!==ld||cd.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 md=nd.apply(this,concatty(od,arguments));return Object(md)===md?md:this}return nd.apply(qa,concatty(od,arguments))},cd=max(0,nd.length-od.length),dd=[],pd=0;pd<cd;pd++)dd[pd]="$"+pd;if(ld=Function("binder","return function ("+joiny(dd,",")+"){ return binder.apply(this,arguments); }")(ud),nd.prototype){var fd=function(){};fd.prototype=nd.prototype,ld.prototype=new fd,fd.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,cd,dd,pd){ld[ld.length]=dd?$replace(pd,reEscapeChar,"$1"):cd||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),cd=ud.name,dd=ud.value,pd=!1,fd=ud.alias;fd&&(ld=fd[0],$spliceApply(od,$concat([0,1],fd)));for(var md=1,vd=!0;md<od.length;md+=1){var Ad=od[md],Nd=$strSlice(Ad,0,1),Id=$strSlice(Ad,-1);if((Nd==='"'||Nd==="'"||Nd==="`"||Id==='"'||Id==="'"||Id==="`")&&Nd!==Id)throw new $SyntaxError$1("property names with quotes must have matching quotes");if((Ad==="constructor"||!vd)&&(pd=!0),ld+="."+Ad,cd="%"+ld+"%",hasOwn(INTRINSICS,cd))dd=INTRINSICS[cd];else if(dd!=null){if(!(Ad in dd)){if(!nd)throw new $TypeError$2("base intrinsic for "+qa+" exists, but the property is not available.");return}if($gOPD$1&&md+1>=od.length){var kd=$gOPD$1(dd,Ad);vd=!!kd,vd&&"get"in kd&&!("originalValue"in kd.get)?dd=kd.get:dd=dd[Ad]}else vd=hasOwn(dd,Ad),dd=dd[Ad];vd&&!pd&&(INTRINSICS[cd]=dd)}}return dd},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,cd=arguments.length>5?arguments[5]:null,dd=arguments.length>6?arguments[6]:!1,pd=!!gopd&&gopd(qa,nd);if($defineProperty$1)$defineProperty$1(qa,nd,{configurable:cd===null&&pd?pd.configurable:!cd,enumerable:ld===null&&pd?pd.enumerable:!ld,value:od,writable:ud===null&&pd?pd.writable:!ud});else if(dd||!ld&&!ud&&!cd)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 cd=gOPD$1(qa,"length");cd&&!cd.configurable&&(ld=!1),cd&&!cd.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%"),cd=nd("%Function.prototype.call%"),dd=nd("%Reflect.apply%",!0)||qa.call(cd,ud),pd=requireEsDefineProperty(),fd=nd("%Math.max%");Ra.exports=function(Ad){if(typeof Ad!="function")throw new ld("a function is required");var Nd=dd(qa,cd,arguments);return od(Nd,1+fd(0,Ad.length-(arguments.length-1)),!0)};var md=function(){return dd(qa,ud,arguments)};pd?pd(Ra.exports,"apply",{value:md}):Ra.exports.apply=md})(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(Wf){return Wf.call.bind(Wf)}var cd=typeof BigInt<"u",dd=typeof Symbol<"u",pd=ud(Object.prototype.toString),fd=ud(Number.prototype.valueOf),md=ud(String.prototype.valueOf),vd=ud(Boolean.prototype.valueOf);if(cd)var Ad=ud(BigInt.prototype.valueOf);if(dd)var Nd=ud(Symbol.prototype.valueOf);function Id(Wf,Th){if(typeof Wf!="object")return!1;try{return Th(Wf),!0}catch{return!1}}Ra.isArgumentsObject=qa,Ra.isGeneratorFunction=nd,Ra.isTypedArray=ld;function kd(Wf){return typeof Promise<"u"&&Wf instanceof Promise||Wf!==null&&typeof Wf=="object"&&typeof Wf.then=="function"&&typeof Wf.catch=="function"}Ra.isPromise=kd;function jd(Wf){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Wf):ld(Wf)||Df(Wf)}Ra.isArrayBufferView=jd;function Fd(Wf){return od(Wf)==="Uint8Array"}Ra.isUint8Array=Fd;function Md(Wf){return od(Wf)==="Uint8ClampedArray"}Ra.isUint8ClampedArray=Md;function Ld(Wf){return od(Wf)==="Uint16Array"}Ra.isUint16Array=Ld;function Hd(Wf){return od(Wf)==="Uint32Array"}Ra.isUint32Array=Hd;function Gd(Wf){return od(Wf)==="Int8Array"}Ra.isInt8Array=Gd;function Vd(Wf){return od(Wf)==="Int16Array"}Ra.isInt16Array=Vd;function Kd(Wf){return od(Wf)==="Int32Array"}Ra.isInt32Array=Kd;function mf(Wf){return od(Wf)==="Float32Array"}Ra.isFloat32Array=mf;function Wd(Wf){return od(Wf)==="Float64Array"}Ra.isFloat64Array=Wd;function Zd(Wf){return od(Wf)==="BigInt64Array"}Ra.isBigInt64Array=Zd;function Xd(Wf){return od(Wf)==="BigUint64Array"}Ra.isBigUint64Array=Xd;function bf(Wf){return pd(Wf)==="[object Map]"}bf.working=typeof Map<"u"&&bf(new Map);function yf(Wf){return typeof Map>"u"?!1:bf.working?bf(Wf):Wf instanceof Map}Ra.isMap=yf;function Ef(Wf){return pd(Wf)==="[object Set]"}Ef.working=typeof Set<"u"&&Ef(new Set);function gf(Wf){return typeof Set>"u"?!1:Ef.working?Ef(Wf):Wf instanceof Set}Ra.isSet=gf;function xf(Wf){return pd(Wf)==="[object WeakMap]"}xf.working=typeof WeakMap<"u"&&xf(new WeakMap);function Af(Wf){return typeof WeakMap>"u"?!1:xf.working?xf(Wf):Wf instanceof WeakMap}Ra.isWeakMap=Af;function Lf(Wf){return pd(Wf)==="[object WeakSet]"}Lf.working=typeof WeakSet<"u"&&Lf(new WeakSet);function Xf(Wf){return Lf(Wf)}Ra.isWeakSet=Xf;function Jf(Wf){return pd(Wf)==="[object ArrayBuffer]"}Jf.working=typeof ArrayBuffer<"u"&&Jf(new ArrayBuffer);function Zf(Wf){return typeof ArrayBuffer>"u"?!1:Jf.working?Jf(Wf):Wf instanceof ArrayBuffer}Ra.isArrayBuffer=Zf;function Bf(Wf){return pd(Wf)==="[object DataView]"}Bf.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Bf(new DataView(new ArrayBuffer(1),0,1));function Df(Wf){return typeof DataView>"u"?!1:Bf.working?Bf(Wf):Wf instanceof DataView}Ra.isDataView=Df;var Uf=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Gf(Wf){return pd(Wf)==="[object SharedArrayBuffer]"}function zf(Wf){return typeof Uf>"u"?!1:(typeof Gf.working>"u"&&(Gf.working=Gf(new Uf)),Gf.working?Gf(Wf):Wf instanceof Uf)}Ra.isSharedArrayBuffer=zf;function Tf(Wf){return pd(Wf)==="[object AsyncFunction]"}Ra.isAsyncFunction=Tf;function vf(Wf){return pd(Wf)==="[object Map Iterator]"}Ra.isMapIterator=vf;function qf(Wf){return pd(Wf)==="[object Set Iterator]"}Ra.isSetIterator=qf;function eh(Wf){return pd(Wf)==="[object Generator]"}Ra.isGeneratorObject=eh;function ch(Wf){return pd(Wf)==="[object WebAssembly.Module]"}Ra.isWebAssemblyCompiledModule=ch;function ih(Wf){return Id(Wf,fd)}Ra.isNumberObject=ih;function Pf(Wf){return Id(Wf,md)}Ra.isStringObject=Pf;function uh(Wf){return Id(Wf,vd)}Ra.isBooleanObject=uh;function xh(Wf){return cd&&Id(Wf,Ad)}Ra.isBigIntObject=xh;function Qf(Wf){return dd&&Id(Wf,Nd)}Ra.isSymbolObject=Qf;function wf(Wf){return ih(Wf)||Pf(Wf)||uh(Wf)||xh(Wf)||Qf(Wf)}Ra.isBoxedPrimitive=wf;function $f(Wf){return typeof Uint8Array<"u"&&(Zf(Wf)||zf(Wf))}Ra.isAnyArrayBuffer=$f,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Wf){Object.defineProperty(Ra,Wf,{enumerable:!1,value:function(){throw new Error(Wf+" 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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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(Gf){for(var zf=Object.keys(Gf),Tf={},vf=0;vf<zf.length;vf++)Tf[zf[vf]]=Object.getOwnPropertyDescriptor(Gf,zf[vf]);return Tf},ld=/%[sdj%]/g;Ra.format=function(Uf){if(!Kd(Uf)){for(var Gf=[],zf=0;zf<arguments.length;zf++)Gf.push(pd(arguments[zf]));return Gf.join(" ")}for(var zf=1,Tf=arguments,vf=Tf.length,qf=String(Uf).replace(ld,function(ch){if(ch==="%%")return"%";if(zf>=vf)return ch;switch(ch){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 ch}}),eh=Tf[zf];zf<vf;eh=Tf[++zf])Hd(eh)||!Xd(eh)?qf+=" "+eh:qf+=" "+pd(eh);return qf},Ra.deprecate=function(Uf,Gf){if(typeof qa<"u"&&qa.noDeprecation===!0)return Uf;if(typeof qa>"u")return function(){return Ra.deprecate(Uf,Gf).apply(this,arguments)};var zf=!1;function Tf(){if(!zf){if(qa.throwDeprecation)throw new Error(Gf);qa.traceDeprecation?console.trace(Gf):console.error(Gf),zf=!0}return Uf.apply(this,arguments)}return Tf};var ud={},cd=/^$/;if(nd.NODE_DEBUG){var dd=nd.NODE_DEBUG;dd=dd.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),cd=new RegExp("^"+dd+"$","i")}Ra.debuglog=function(Uf){if(Uf=Uf.toUpperCase(),!ud[Uf])if(cd.test(Uf)){var Gf=qa.pid;ud[Uf]=function(){var zf=Ra.format.apply(Ra,arguments);console.error("%s %d: %s",Uf,Gf,zf)}}else ud[Uf]=function(){};return ud[Uf]};function pd(Uf,Gf){var zf={seen:[],stylize:md};return arguments.length>=3&&(zf.depth=arguments[2]),arguments.length>=4&&(zf.colors=arguments[3]),Ld(Gf)?zf.showHidden=Gf:Gf&&Ra._extend(zf,Gf),Wd(zf.showHidden)&&(zf.showHidden=!1),Wd(zf.depth)&&(zf.depth=2),Wd(zf.colors)&&(zf.colors=!1),Wd(zf.customInspect)&&(zf.customInspect=!0),zf.colors&&(zf.stylize=fd),Ad(zf,Uf,zf.depth)}Ra.inspect=pd,pd.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]},pd.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function fd(Uf,Gf){var zf=pd.styles[Gf];return zf?"\x1B["+pd.colors[zf][0]+"m"+Uf+"\x1B["+pd.colors[zf][1]+"m":Uf}function md(Uf,Gf){return Uf}function vd(Uf){var Gf={};return Uf.forEach(function(zf,Tf){Gf[zf]=!0}),Gf}function Ad(Uf,Gf,zf){if(Uf.customInspect&&Gf&&Ef(Gf.inspect)&&Gf.inspect!==Ra.inspect&&!(Gf.constructor&&Gf.constructor.prototype===Gf)){var Tf=Gf.inspect(zf,Uf);return Kd(Tf)||(Tf=Ad(Uf,Tf,zf)),Tf}var vf=Nd(Uf,Gf);if(vf)return vf;var qf=Object.keys(Gf),eh=vd(qf);if(Uf.showHidden&&(qf=Object.getOwnPropertyNames(Gf)),yf(Gf)&&(qf.indexOf("message")>=0||qf.indexOf("description")>=0))return Id(Gf);if(qf.length===0){if(Ef(Gf)){var ch=Gf.name?": "+Gf.name:"";return Uf.stylize("[Function"+ch+"]","special")}if(Zd(Gf))return Uf.stylize(RegExp.prototype.toString.call(Gf),"regexp");if(bf(Gf))return Uf.stylize(Date.prototype.toString.call(Gf),"date");if(yf(Gf))return Id(Gf)}var ih="",Pf=!1,uh=["{","}"];if(Md(Gf)&&(Pf=!0,uh=["[","]"]),Ef(Gf)){var xh=Gf.name?": "+Gf.name:"";ih=" [Function"+xh+"]"}if(Zd(Gf)&&(ih=" "+RegExp.prototype.toString.call(Gf)),bf(Gf)&&(ih=" "+Date.prototype.toUTCString.call(Gf)),yf(Gf)&&(ih=" "+Id(Gf)),qf.length===0&&(!Pf||Gf.length==0))return uh[0]+ih+uh[1];if(zf<0)return Zd(Gf)?Uf.stylize(RegExp.prototype.toString.call(Gf),"regexp"):Uf.stylize("[Object]","special");Uf.seen.push(Gf);var Qf;return Pf?Qf=kd(Uf,Gf,zf,eh,qf):Qf=qf.map(function(wf){return jd(Uf,Gf,zf,eh,wf,Pf)}),Uf.seen.pop(),Fd(Qf,ih,uh)}function Nd(Uf,Gf){if(Wd(Gf))return Uf.stylize("undefined","undefined");if(Kd(Gf)){var zf="'"+JSON.stringify(Gf).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Uf.stylize(zf,"string")}if(Vd(Gf))return Uf.stylize(""+Gf,"number");if(Ld(Gf))return Uf.stylize(""+Gf,"boolean");if(Hd(Gf))return Uf.stylize("null","null")}function Id(Uf){return"["+Error.prototype.toString.call(Uf)+"]"}function kd(Uf,Gf,zf,Tf,vf){for(var qf=[],eh=0,ch=Gf.length;eh<ch;++eh)Jf(Gf,String(eh))?qf.push(jd(Uf,Gf,zf,Tf,String(eh),!0)):qf.push("");return vf.forEach(function(ih){ih.match(/^\d+$/)||qf.push(jd(Uf,Gf,zf,Tf,ih,!0))}),qf}function jd(Uf,Gf,zf,Tf,vf,qf){var eh,ch,ih;if(ih=Object.getOwnPropertyDescriptor(Gf,vf)||{value:Gf[vf]},ih.get?ih.set?ch=Uf.stylize("[Getter/Setter]","special"):ch=Uf.stylize("[Getter]","special"):ih.set&&(ch=Uf.stylize("[Setter]","special")),Jf(Tf,vf)||(eh="["+vf+"]"),ch||(Uf.seen.indexOf(ih.value)<0?(Hd(zf)?ch=Ad(Uf,ih.value,null):ch=Ad(Uf,ih.value,zf-1),ch.indexOf(`
|
||
`)>-1&&(qf?ch=ch.split(`
|
||
`).map(function(Pf){return" "+Pf}).join(`
|
||
`).slice(2):ch=`
|
||
`+ch.split(`
|
||
`).map(function(Pf){return" "+Pf}).join(`
|
||
`))):ch=Uf.stylize("[Circular]","special")),Wd(eh)){if(qf&&vf.match(/^\d+$/))return ch;eh=JSON.stringify(""+vf),eh.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(eh=eh.slice(1,-1),eh=Uf.stylize(eh,"name")):(eh=eh.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),eh=Uf.stylize(eh,"string"))}return eh+": "+ch}function Fd(Uf,Gf,zf){var Tf=Uf.reduce(function(vf,qf){return qf.indexOf(`
|
||
`)>=0,vf+qf.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Tf>60?zf[0]+(Gf===""?"":Gf+`
|
||
`)+" "+Uf.join(`,
|
||
`)+" "+zf[1]:zf[0]+Gf+" "+Uf.join(", ")+" "+zf[1]}Ra.types=types;function Md(Uf){return Array.isArray(Uf)}Ra.isArray=Md;function Ld(Uf){return typeof Uf=="boolean"}Ra.isBoolean=Ld;function Hd(Uf){return Uf===null}Ra.isNull=Hd;function Gd(Uf){return Uf==null}Ra.isNullOrUndefined=Gd;function Vd(Uf){return typeof Uf=="number"}Ra.isNumber=Vd;function Kd(Uf){return typeof Uf=="string"}Ra.isString=Kd;function mf(Uf){return typeof Uf=="symbol"}Ra.isSymbol=mf;function Wd(Uf){return Uf===void 0}Ra.isUndefined=Wd;function Zd(Uf){return Xd(Uf)&&xf(Uf)==="[object RegExp]"}Ra.isRegExp=Zd,Ra.types.isRegExp=Zd;function Xd(Uf){return typeof Uf=="object"&&Uf!==null}Ra.isObject=Xd;function bf(Uf){return Xd(Uf)&&xf(Uf)==="[object Date]"}Ra.isDate=bf,Ra.types.isDate=bf;function yf(Uf){return Xd(Uf)&&(xf(Uf)==="[object Error]"||Uf instanceof Error)}Ra.isError=yf,Ra.types.isNativeError=yf;function Ef(Uf){return typeof Uf=="function"}Ra.isFunction=Ef;function gf(Uf){return Uf===null||typeof Uf=="boolean"||typeof Uf=="number"||typeof Uf=="string"||typeof Uf=="symbol"||typeof Uf>"u"}Ra.isPrimitive=gf,Ra.isBuffer=isBufferBrowser;function xf(Uf){return Object.prototype.toString.call(Uf)}function Af(Uf){return Uf<10?"0"+Uf.toString(10):Uf.toString(10)}var Lf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Xf(){var Uf=new Date,Gf=[Af(Uf.getHours()),Af(Uf.getMinutes()),Af(Uf.getSeconds())].join(":");return[Uf.getDate(),Lf[Uf.getMonth()],Gf].join(" ")}Ra.log=function(){console.log("%s - %s",Xf(),Ra.format.apply(Ra,arguments))},Ra.inherits=inherits_browserExports,Ra._extend=function(Uf,Gf){if(!Gf||!Xd(Gf))return Uf;for(var zf=Object.keys(Gf),Tf=zf.length;Tf--;)Uf[zf[Tf]]=Gf[zf[Tf]];return Uf};function Jf(Uf,Gf){return Object.prototype.hasOwnProperty.call(Uf,Gf)}var Zf=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Ra.promisify=function(Gf){if(typeof Gf!="function")throw new TypeError('The "original" argument must be of type Function');if(Zf&&Gf[Zf]){var zf=Gf[Zf];if(typeof zf!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(zf,Zf,{value:zf,enumerable:!1,writable:!1,configurable:!0}),zf}function zf(){for(var Tf,vf,qf=new Promise(function(ih,Pf){Tf=ih,vf=Pf}),eh=[],ch=0;ch<arguments.length;ch++)eh.push(arguments[ch]);eh.push(function(ih,Pf){ih?vf(ih):Tf(Pf)});try{Gf.apply(this,eh)}catch(ih){vf(ih)}return qf}return Object.setPrototypeOf(zf,Object.getPrototypeOf(Gf)),Zf&&Object.defineProperty(zf,Zf,{value:zf,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(zf,od(Gf))},Ra.promisify.custom=Zf;function Bf(Uf,Gf){if(!Uf){var zf=new Error("Promise was rejected with a falsy value");zf.reason=Uf,Uf=zf}return Gf(Uf)}function Df(Uf){if(typeof Uf!="function")throw new TypeError('The "original" argument must be of type Function');function Gf(){for(var zf=[],Tf=0;Tf<arguments.length;Tf++)zf.push(arguments[Tf]);var vf=zf.pop();if(typeof vf!="function")throw new TypeError("The last argument must be of type Function");var qf=this,eh=function(){return vf.apply(qf,arguments)};Uf.apply(this,zf).then(function(ch){qa.nextTick(eh.bind(null,null,ch))},function(ch){qa.nextTick(Bf.bind(null,ch,eh))})}return Object.setPrototypeOf(Gf,Object.getPrototypeOf(Uf)),Object.defineProperties(Gf,od(Uf)),Gf}Ra.callbackify=Df})(util$5);var buffer_list,hasRequiredBuffer_list;function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;hasRequiredBuffer_list=1;function Ra(Id,kd){var jd=Object.keys(Id);if(Object.getOwnPropertySymbols){var Fd=Object.getOwnPropertySymbols(Id);kd&&(Fd=Fd.filter(function(Md){return Object.getOwnPropertyDescriptor(Id,Md).enumerable})),jd.push.apply(jd,Fd)}return jd}function qa(Id){for(var kd=1;kd<arguments.length;kd++){var jd=arguments[kd]!=null?arguments[kd]:{};kd%2?Ra(Object(jd),!0).forEach(function(Fd){nd(Id,Fd,jd[Fd])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Id,Object.getOwnPropertyDescriptors(jd)):Ra(Object(jd)).forEach(function(Fd){Object.defineProperty(Id,Fd,Object.getOwnPropertyDescriptor(jd,Fd))})}return Id}function nd(Id,kd,jd){return kd=cd(kd),kd in Id?Object.defineProperty(Id,kd,{value:jd,enumerable:!0,configurable:!0,writable:!0}):Id[kd]=jd,Id}function od(Id,kd){if(!(Id instanceof kd))throw new TypeError("Cannot call a class as a function")}function ld(Id,kd){for(var jd=0;jd<kd.length;jd++){var Fd=kd[jd];Fd.enumerable=Fd.enumerable||!1,Fd.configurable=!0,"value"in Fd&&(Fd.writable=!0),Object.defineProperty(Id,cd(Fd.key),Fd)}}function ud(Id,kd,jd){return kd&&ld(Id.prototype,kd),Object.defineProperty(Id,"prototype",{writable:!1}),Id}function cd(Id){var kd=dd(Id,"string");return typeof kd=="symbol"?kd:String(kd)}function dd(Id,kd){if(typeof Id!="object"||Id===null)return Id;var jd=Id[Symbol.toPrimitive];if(jd!==void 0){var Fd=jd.call(Id,kd||"default");if(typeof Fd!="object")return Fd;throw new TypeError("@@toPrimitive must return a primitive value.")}return(kd==="string"?String:Number)(Id)}var pd=buffer,fd=pd.Buffer,md=util$5,vd=md.inspect,Ad=vd&&vd.custom||"inspect";function Nd(Id,kd,jd){fd.prototype.copy.call(Id,kd,jd)}return buffer_list=function(){function Id(){od(this,Id),this.head=null,this.tail=null,this.length=0}return ud(Id,[{key:"push",value:function(jd){var Fd={data:jd,next:null};this.length>0?this.tail.next=Fd:this.head=Fd,this.tail=Fd,++this.length}},{key:"unshift",value:function(jd){var Fd={data:jd,next:this.head};this.length===0&&(this.tail=Fd),this.head=Fd,++this.length}},{key:"shift",value:function(){if(this.length!==0){var jd=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,jd}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(jd){if(this.length===0)return"";for(var Fd=this.head,Md=""+Fd.data;Fd=Fd.next;)Md+=jd+Fd.data;return Md}},{key:"concat",value:function(jd){if(this.length===0)return fd.alloc(0);for(var Fd=fd.allocUnsafe(jd>>>0),Md=this.head,Ld=0;Md;)Nd(Md.data,Fd,Ld),Ld+=Md.data.length,Md=Md.next;return Fd}},{key:"consume",value:function(jd,Fd){var Md;return jd<this.head.data.length?(Md=this.head.data.slice(0,jd),this.head.data=this.head.data.slice(jd)):jd===this.head.data.length?Md=this.shift():Md=Fd?this._getString(jd):this._getBuffer(jd),Md}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(jd){var Fd=this.head,Md=1,Ld=Fd.data;for(jd-=Ld.length;Fd=Fd.next;){var Hd=Fd.data,Gd=jd>Hd.length?Hd.length:jd;if(Gd===Hd.length?Ld+=Hd:Ld+=Hd.slice(0,jd),jd-=Gd,jd===0){Gd===Hd.length?(++Md,Fd.next?this.head=Fd.next:this.head=this.tail=null):(this.head=Fd,Fd.data=Hd.slice(Gd));break}++Md}return this.length-=Md,Ld}},{key:"_getBuffer",value:function(jd){var Fd=fd.allocUnsafe(jd),Md=this.head,Ld=1;for(Md.data.copy(Fd),jd-=Md.data.length;Md=Md.next;){var Hd=Md.data,Gd=jd>Hd.length?Hd.length:jd;if(Hd.copy(Fd,Fd.length-jd,0,Gd),jd-=Gd,jd===0){Gd===Hd.length?(++Ld,Md.next?this.head=Md.next:this.head=this.tail=null):(this.head=Md,Md.data=Hd.slice(Gd));break}++Ld}return this.length-=Ld,Fd}},{key:Ad,value:function(jd,Fd){return vd(this,qa(qa({},Fd),{},{depth:0,customInspect:!1}))}}]),Id}(),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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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,cd,dd){return typeof qa=="string"?qa:qa(ud,cd,dd)}var ld=function(ud){_inheritsLoose(cd,ud);function cd(dd,pd,fd){return ud.call(this,od(dd,pd,fd))||this}return cd}(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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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=Wd;function qa(Tf){var vf=this;this.next=null,this.entry=null,this.finish=function(){zf(vf,Tf)}}var nd;Wd.WritableState=Kd;var od={deprecate:browser},ld=streamBrowser,ud=buffer.Buffer,cd=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function dd(Tf){return ud.from(Tf)}function pd(Tf){return ud.isBuffer(Tf)||Tf instanceof cd}var fd=destroy_1,md=state,vd=md.getHighWaterMark,Ad=errorsBrowser.codes,Nd=Ad.ERR_INVALID_ARG_TYPE,Id=Ad.ERR_METHOD_NOT_IMPLEMENTED,kd=Ad.ERR_MULTIPLE_CALLBACK,jd=Ad.ERR_STREAM_CANNOT_PIPE,Fd=Ad.ERR_STREAM_DESTROYED,Md=Ad.ERR_STREAM_NULL_VALUES,Ld=Ad.ERR_STREAM_WRITE_AFTER_END,Hd=Ad.ERR_UNKNOWN_ENCODING,Gd=fd.errorOrDestroy;inherits_browserExports(Wd,ld);function Vd(){}function Kd(Tf,vf,qf){nd=nd||require_stream_duplex(),Tf=Tf||{},typeof qf!="boolean"&&(qf=vf instanceof nd),this.objectMode=!!Tf.objectMode,qf&&(this.objectMode=this.objectMode||!!Tf.writableObjectMode),this.highWaterMark=vd(this,Tf,"writableHighWaterMark",qf),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var eh=Tf.decodeStrings===!1;this.decodeStrings=!eh,this.defaultEncoding=Tf.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ch){Af(vf,ch)},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)}Kd.prototype.getBuffer=function(){for(var vf=this.bufferedRequest,qf=[];vf;)qf.push(vf),vf=vf.next;return qf},function(){try{Object.defineProperty(Kd.prototype,"buffer",{get:od.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var mf;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(mf=Function.prototype[Symbol.hasInstance],Object.defineProperty(Wd,Symbol.hasInstance,{value:function(vf){return mf.call(this,vf)?!0:this!==Wd?!1:vf&&vf._writableState instanceof Kd}})):mf=function(vf){return vf instanceof this};function Wd(Tf){nd=nd||require_stream_duplex();var vf=this instanceof nd;if(!vf&&!mf.call(Wd,this))return new Wd(Tf);this._writableState=new Kd(Tf,this,vf),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)}Wd.prototype.pipe=function(){Gd(this,new jd)};function Zd(Tf,vf){var qf=new Ld;Gd(Tf,qf),Ra.nextTick(vf,qf)}function Xd(Tf,vf,qf,eh){var ch;return qf===null?ch=new Md:typeof qf!="string"&&!vf.objectMode&&(ch=new Nd("chunk",["string","Buffer"],qf)),ch?(Gd(Tf,ch),Ra.nextTick(eh,ch),!1):!0}Wd.prototype.write=function(Tf,vf,qf){var eh=this._writableState,ch=!1,ih=!eh.objectMode&&pd(Tf);return ih&&!ud.isBuffer(Tf)&&(Tf=dd(Tf)),typeof vf=="function"&&(qf=vf,vf=null),ih?vf="buffer":vf||(vf=eh.defaultEncoding),typeof qf!="function"&&(qf=Vd),eh.ending?Zd(this,qf):(ih||Xd(this,eh,Tf,qf))&&(eh.pendingcb++,ch=yf(this,eh,ih,Tf,vf,qf)),ch},Wd.prototype.cork=function(){this._writableState.corked++},Wd.prototype.uncork=function(){var Tf=this._writableState;Tf.corked&&(Tf.corked--,!Tf.writing&&!Tf.corked&&!Tf.bufferProcessing&&Tf.bufferedRequest&&Jf(this,Tf))},Wd.prototype.setDefaultEncoding=function(vf){if(typeof vf=="string"&&(vf=vf.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((vf+"").toLowerCase())>-1))throw new Hd(vf);return this._writableState.defaultEncoding=vf,this},Object.defineProperty(Wd.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function bf(Tf,vf,qf){return!Tf.objectMode&&Tf.decodeStrings!==!1&&typeof vf=="string"&&(vf=ud.from(vf,qf)),vf}Object.defineProperty(Wd.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function yf(Tf,vf,qf,eh,ch,ih){if(!qf){var Pf=bf(vf,eh,ch);eh!==Pf&&(qf=!0,ch="buffer",eh=Pf)}var uh=vf.objectMode?1:eh.length;vf.length+=uh;var xh=vf.length<vf.highWaterMark;if(xh||(vf.needDrain=!0),vf.writing||vf.corked){var Qf=vf.lastBufferedRequest;vf.lastBufferedRequest={chunk:eh,encoding:ch,isBuf:qf,callback:ih,next:null},Qf?Qf.next=vf.lastBufferedRequest:vf.bufferedRequest=vf.lastBufferedRequest,vf.bufferedRequestCount+=1}else Ef(Tf,vf,!1,uh,eh,ch,ih);return xh}function Ef(Tf,vf,qf,eh,ch,ih,Pf){vf.writelen=eh,vf.writecb=Pf,vf.writing=!0,vf.sync=!0,vf.destroyed?vf.onwrite(new Fd("write")):qf?Tf._writev(ch,vf.onwrite):Tf._write(ch,ih,vf.onwrite),vf.sync=!1}function gf(Tf,vf,qf,eh,ch){--vf.pendingcb,qf?(Ra.nextTick(ch,eh),Ra.nextTick(Uf,Tf,vf),Tf._writableState.errorEmitted=!0,Gd(Tf,eh)):(ch(eh),Tf._writableState.errorEmitted=!0,Gd(Tf,eh),Uf(Tf,vf))}function xf(Tf){Tf.writing=!1,Tf.writecb=null,Tf.length-=Tf.writelen,Tf.writelen=0}function Af(Tf,vf){var qf=Tf._writableState,eh=qf.sync,ch=qf.writecb;if(typeof ch!="function")throw new kd;if(xf(qf),vf)gf(Tf,qf,eh,vf,ch);else{var ih=Zf(qf)||Tf.destroyed;!ih&&!qf.corked&&!qf.bufferProcessing&&qf.bufferedRequest&&Jf(Tf,qf),eh?Ra.nextTick(Lf,Tf,qf,ih,ch):Lf(Tf,qf,ih,ch)}}function Lf(Tf,vf,qf,eh){qf||Xf(Tf,vf),vf.pendingcb--,eh(),Uf(Tf,vf)}function Xf(Tf,vf){vf.length===0&&vf.needDrain&&(vf.needDrain=!1,Tf.emit("drain"))}function Jf(Tf,vf){vf.bufferProcessing=!0;var qf=vf.bufferedRequest;if(Tf._writev&&qf&&qf.next){var eh=vf.bufferedRequestCount,ch=new Array(eh),ih=vf.corkedRequestsFree;ih.entry=qf;for(var Pf=0,uh=!0;qf;)ch[Pf]=qf,qf.isBuf||(uh=!1),qf=qf.next,Pf+=1;ch.allBuffers=uh,Ef(Tf,vf,!0,vf.length,ch,"",ih.finish),vf.pendingcb++,vf.lastBufferedRequest=null,ih.next?(vf.corkedRequestsFree=ih.next,ih.next=null):vf.corkedRequestsFree=new qa(vf),vf.bufferedRequestCount=0}else{for(;qf;){var xh=qf.chunk,Qf=qf.encoding,wf=qf.callback,$f=vf.objectMode?1:xh.length;if(Ef(Tf,vf,!1,$f,xh,Qf,wf),qf=qf.next,vf.bufferedRequestCount--,vf.writing)break}qf===null&&(vf.lastBufferedRequest=null)}vf.bufferedRequest=qf,vf.bufferProcessing=!1}Wd.prototype._write=function(Tf,vf,qf){qf(new Id("_write()"))},Wd.prototype._writev=null,Wd.prototype.end=function(Tf,vf,qf){var eh=this._writableState;return typeof Tf=="function"?(qf=Tf,Tf=null,vf=null):typeof vf=="function"&&(qf=vf,vf=null),Tf!=null&&this.write(Tf,vf),eh.corked&&(eh.corked=1,this.uncork()),eh.ending||Gf(this,eh,qf),this},Object.defineProperty(Wd.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Zf(Tf){return Tf.ending&&Tf.length===0&&Tf.bufferedRequest===null&&!Tf.finished&&!Tf.writing}function Bf(Tf,vf){Tf._final(function(qf){vf.pendingcb--,qf&&Gd(Tf,qf),vf.prefinished=!0,Tf.emit("prefinish"),Uf(Tf,vf)})}function Df(Tf,vf){!vf.prefinished&&!vf.finalCalled&&(typeof Tf._final=="function"&&!vf.destroyed?(vf.pendingcb++,vf.finalCalled=!0,Ra.nextTick(Bf,Tf,vf)):(vf.prefinished=!0,Tf.emit("prefinish")))}function Uf(Tf,vf){var qf=Zf(vf);if(qf&&(Df(Tf,vf),vf.pendingcb===0&&(vf.finished=!0,Tf.emit("finish"),vf.autoDestroy))){var eh=Tf._readableState;(!eh||eh.autoDestroy&&eh.endEmitted)&&Tf.destroy()}return qf}function Gf(Tf,vf,qf){vf.ending=!0,Uf(Tf,vf),qf&&(vf.finished?Ra.nextTick(qf):Tf.once("finish",qf)),vf.ended=!0,Tf.writable=!1}function zf(Tf,vf,qf){var eh=Tf.entry;for(Tf.entry=null;eh;){var ch=eh.callback;vf.pendingcb--,ch(qf),eh=eh.next}vf.corkedRequestsFree.next=Tf}return Object.defineProperty(Wd.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(vf){this._writableState&&(this._writableState.destroyed=vf)}}),Wd.prototype.destroy=fd.destroy,Wd.prototype._undestroy=fd.undestroy,Wd.prototype._destroy=function(Tf,vf){vf(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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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(md){var vd=[];for(var Ad in md)vd.push(Ad);return vd};_stream_duplex=dd;var nd=require_stream_readable(),od=require_stream_writable();inherits_browserExports(dd,nd);for(var ld=qa(od.prototype),ud=0;ud<ld.length;ud++){var cd=ld[ud];dd.prototype[cd]||(dd.prototype[cd]=od.prototype[cd])}function dd(md){if(!(this instanceof dd))return new dd(md);nd.call(this,md),od.call(this,md),this.allowHalfOpen=!0,md&&(md.readable===!1&&(this.readable=!1),md.writable===!1&&(this.writable=!1),md.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",pd)))}Object.defineProperty(dd.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(dd.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(dd.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function pd(){this._writableState.ended||Ra.nextTick(fd,this)}function fd(md){md.end()}return Object.defineProperty(dd.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(vd){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=vd,this._writableState.destroyed=vd)}}),_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(cd,dd){for(var pd in cd)dd[pd]=cd[pd]}od.from&&od.alloc&&od.allocUnsafe&&od.allocUnsafeSlow?Ra.exports=nd:(ld(nd,qa),qa.Buffer=ud);function ud(cd,dd,pd){return od(cd,dd,pd)}ud.prototype=Object.create(od.prototype),ld(od,ud),ud.from=function(cd,dd,pd){if(typeof cd=="number")throw new TypeError("Argument must not be a number");return od(cd,dd,pd)},ud.alloc=function(cd,dd,pd){if(typeof cd!="number")throw new TypeError("Argument must be a number");var fd=od(cd);return dd!==void 0?typeof pd=="string"?fd.fill(dd,pd):fd.fill(dd):fd.fill(0),fd},ud.allocUnsafe=function(cd){if(typeof cd!="number")throw new TypeError("Argument must be a number");return od(cd)},ud.allocUnsafeSlow=function(cd){if(typeof cd!="number")throw new TypeError("Argument must be a number");return nd.SlowBuffer(cd)}}(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(Fd){switch(Fd=""+Fd,Fd&&Fd.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(Fd){if(!Fd)return"utf8";for(var Md;;)switch(Fd){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 Fd;default:if(Md)return;Fd=(""+Fd).toLowerCase(),Md=!0}}function od(Fd){var Md=nd(Fd);if(typeof Md!="string"&&(Ra.isEncoding===qa||!qa(Fd)))throw new Error("Unknown encoding: "+Fd);return Md||Fd}string_decoder.StringDecoder=ld;function ld(Fd){this.encoding=od(Fd);var Md;switch(this.encoding){case"utf16le":this.text=vd,this.end=Ad,Md=4;break;case"utf8":this.fillLast=pd,Md=4;break;case"base64":this.text=Nd,this.end=Id,Md=3;break;default:this.write=kd,this.end=jd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ra.allocUnsafe(Md)}ld.prototype.write=function(Fd){if(Fd.length===0)return"";var Md,Ld;if(this.lastNeed){if(Md=this.fillLast(Fd),Md===void 0)return"";Ld=this.lastNeed,this.lastNeed=0}else Ld=0;return Ld<Fd.length?Md?Md+this.text(Fd,Ld):this.text(Fd,Ld):Md||""},ld.prototype.end=md,ld.prototype.text=fd,ld.prototype.fillLast=function(Fd){if(this.lastNeed<=Fd.length)return Fd.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Fd.copy(this.lastChar,this.lastTotal-this.lastNeed,0,Fd.length),this.lastNeed-=Fd.length};function ud(Fd){return Fd<=127?0:Fd>>5===6?2:Fd>>4===14?3:Fd>>3===30?4:Fd>>6===2?-1:-2}function cd(Fd,Md,Ld){var Hd=Md.length-1;if(Hd<Ld)return 0;var Gd=ud(Md[Hd]);return Gd>=0?(Gd>0&&(Fd.lastNeed=Gd-1),Gd):--Hd<Ld||Gd===-2?0:(Gd=ud(Md[Hd]),Gd>=0?(Gd>0&&(Fd.lastNeed=Gd-2),Gd):--Hd<Ld||Gd===-2?0:(Gd=ud(Md[Hd]),Gd>=0?(Gd>0&&(Gd===2?Gd=0:Fd.lastNeed=Gd-3),Gd):0))}function dd(Fd,Md,Ld){if((Md[0]&192)!==128)return Fd.lastNeed=0,"<22>";if(Fd.lastNeed>1&&Md.length>1){if((Md[1]&192)!==128)return Fd.lastNeed=1,"<22>";if(Fd.lastNeed>2&&Md.length>2&&(Md[2]&192)!==128)return Fd.lastNeed=2,"<22>"}}function pd(Fd){var Md=this.lastTotal-this.lastNeed,Ld=dd(this,Fd);if(Ld!==void 0)return Ld;if(this.lastNeed<=Fd.length)return Fd.copy(this.lastChar,Md,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Fd.copy(this.lastChar,Md,0,Fd.length),this.lastNeed-=Fd.length}function fd(Fd,Md){var Ld=cd(this,Fd,Md);if(!this.lastNeed)return Fd.toString("utf8",Md);this.lastTotal=Ld;var Hd=Fd.length-(Ld-this.lastNeed);return Fd.copy(this.lastChar,0,Hd),Fd.toString("utf8",Md,Hd)}function md(Fd){var Md=Fd&&Fd.length?this.write(Fd):"";return this.lastNeed?Md+"<22>":Md}function vd(Fd,Md){if((Fd.length-Md)%2===0){var Ld=Fd.toString("utf16le",Md);if(Ld){var Hd=Ld.charCodeAt(Ld.length-1);if(Hd>=55296&&Hd<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Fd[Fd.length-2],this.lastChar[1]=Fd[Fd.length-1],Ld.slice(0,-1)}return Ld}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Fd[Fd.length-1],Fd.toString("utf16le",Md,Fd.length-1)}function Ad(Fd){var Md=Fd&&Fd.length?this.write(Fd):"";if(this.lastNeed){var Ld=this.lastTotal-this.lastNeed;return Md+this.lastChar.toString("utf16le",0,Ld)}return Md}function Nd(Fd,Md){var Ld=(Fd.length-Md)%3;return Ld===0?Fd.toString("base64",Md):(this.lastNeed=3-Ld,this.lastTotal=3,Ld===1?this.lastChar[0]=Fd[Fd.length-1]:(this.lastChar[0]=Fd[Fd.length-2],this.lastChar[1]=Fd[Fd.length-1]),Fd.toString("base64",Md,Fd.length-Ld))}function Id(Fd){var Md=Fd&&Fd.length?this.write(Fd):"";return this.lastNeed?Md+this.lastChar.toString("base64",0,3-this.lastNeed):Md}function kd(Fd){return Fd.toString(this.encoding)}function jd(Fd){return Fd&&Fd.length?this.write(Fd):""}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||dd()},cd=Ra._writableState&&Ra._writableState.finished,dd=function(){ld=!1,cd=!0,od||nd.call(Ra)},pd=Ra._readableState&&Ra._readableState.endEmitted,fd=function(){od=!1,pd=!0,ld||nd.call(Ra)},md=function(Id){nd.call(Ra,Id)},vd=function(){var Id;if(od&&!pd)return(!Ra._readableState||!Ra._readableState.ended)&&(Id=new ERR_STREAM_PREMATURE_CLOSE),nd.call(Ra,Id);if(ld&&!cd)return(!Ra._writableState||!Ra._writableState.ended)&&(Id=new ERR_STREAM_PREMATURE_CLOSE),nd.call(Ra,Id)},Ad=function(){Ra.req.on("finish",dd)};return isRequest$1(Ra)?(Ra.on("complete",dd),Ra.on("abort",vd),Ra.req?Ad():Ra.on("request",Ad)):ld&&!Ra._writableState&&(Ra.on("end",ud),Ra.on("close",ud)),Ra.on("end",fd),Ra.on("finish",dd),qa.error!==!1&&Ra.on("error",md),Ra.on("close",vd),function(){Ra.removeListener("complete",dd),Ra.removeListener("abort",vd),Ra.removeListener("request",Ad),Ra.req&&Ra.req.removeListener("finish",dd),Ra.removeListener("end",ud),Ra.removeListener("close",ud),Ra.removeListener("finish",dd),Ra.removeListener("end",fd),Ra.removeListener("error",md),Ra.removeListener("close",vd)}}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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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(Hd,Gd,Vd){return Gd=od(Gd),Gd in Hd?Object.defineProperty(Hd,Gd,{value:Vd,enumerable:!0,configurable:!0,writable:!0}):Hd[Gd]=Vd,Hd}function od(Hd){var Gd=ld(Hd,"string");return typeof Gd=="symbol"?Gd:String(Gd)}function ld(Hd,Gd){if(typeof Hd!="object"||Hd===null)return Hd;var Vd=Hd[Symbol.toPrimitive];if(Vd!==void 0){var Kd=Vd.call(Hd,Gd||"default");if(typeof Kd!="object")return Kd;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Gd==="string"?String:Number)(Hd)}var ud=endOfStream,cd=Symbol("lastResolve"),dd=Symbol("lastReject"),pd=Symbol("error"),fd=Symbol("ended"),md=Symbol("lastPromise"),vd=Symbol("handlePromise"),Ad=Symbol("stream");function Nd(Hd,Gd){return{value:Hd,done:Gd}}function Id(Hd){var Gd=Hd[cd];if(Gd!==null){var Vd=Hd[Ad].read();Vd!==null&&(Hd[md]=null,Hd[cd]=null,Hd[dd]=null,Gd(Nd(Vd,!1)))}}function kd(Hd){Ra.nextTick(Id,Hd)}function jd(Hd,Gd){return function(Vd,Kd){Hd.then(function(){if(Gd[fd]){Vd(Nd(void 0,!0));return}Gd[vd](Vd,Kd)},Kd)}}var Fd=Object.getPrototypeOf(function(){}),Md=Object.setPrototypeOf((qa={get stream(){return this[Ad]},next:function(){var Gd=this,Vd=this[pd];if(Vd!==null)return Promise.reject(Vd);if(this[fd])return Promise.resolve(Nd(void 0,!0));if(this[Ad].destroyed)return new Promise(function(Zd,Xd){Ra.nextTick(function(){Gd[pd]?Xd(Gd[pd]):Zd(Nd(void 0,!0))})});var Kd=this[md],mf;if(Kd)mf=new Promise(jd(Kd,this));else{var Wd=this[Ad].read();if(Wd!==null)return Promise.resolve(Nd(Wd,!1));mf=new Promise(this[vd])}return this[md]=mf,mf}},nd(qa,Symbol.asyncIterator,function(){return this}),nd(qa,"return",function(){var Gd=this;return new Promise(function(Vd,Kd){Gd[Ad].destroy(null,function(mf){if(mf){Kd(mf);return}Vd(Nd(void 0,!0))})})}),qa),Fd),Ld=function(Gd){var Vd,Kd=Object.create(Md,(Vd={},nd(Vd,Ad,{value:Gd,writable:!0}),nd(Vd,cd,{value:null,writable:!0}),nd(Vd,dd,{value:null,writable:!0}),nd(Vd,pd,{value:null,writable:!0}),nd(Vd,fd,{value:Gd._readableState.endEmitted,writable:!0}),nd(Vd,vd,{value:function(Wd,Zd){var Xd=Kd[Ad].read();Xd?(Kd[md]=null,Kd[cd]=null,Kd[dd]=null,Wd(Nd(Xd,!1))):(Kd[cd]=Wd,Kd[dd]=Zd)},writable:!0}),Vd));return Kd[md]=null,ud(Gd,function(mf){if(mf&&mf.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Wd=Kd[dd];Wd!==null&&(Kd[md]=null,Kd[cd]=null,Kd[dd]=null,Wd(mf)),Kd[pd]=mf;return}var Zd=Kd[cd];Zd!==null&&(Kd[md]=null,Kd[cd]=null,Kd[dd]=null,Zd(Nd(void 0,!0))),Kd[fd]=!0}),Gd.on("readable",kd.bind(null,Kd)),Kd};return async_iterator=Ld,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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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=Wd,eventsExports.EventEmitter;var nd=function(Pf,uh){return Pf.listeners(uh).length},od=streamBrowser,ld=buffer.Buffer,ud=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function cd(ih){return ld.from(ih)}function dd(ih){return ld.isBuffer(ih)||ih instanceof ud}var pd=util$5,fd;pd&&pd.debuglog?fd=pd.debuglog("stream"):fd=function(){};var md=requireBuffer_list(),vd=destroy_1,Ad=state,Nd=Ad.getHighWaterMark,Id=errorsBrowser.codes,kd=Id.ERR_INVALID_ARG_TYPE,jd=Id.ERR_STREAM_PUSH_AFTER_EOF,Fd=Id.ERR_METHOD_NOT_IMPLEMENTED,Md=Id.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Ld,Hd,Gd;inherits_browserExports(Zd,od);var Vd=vd.errorOrDestroy,Kd=["error","close","destroy","pause","resume"];function mf(ih,Pf,uh){if(typeof ih.prependListener=="function")return ih.prependListener(Pf,uh);!ih._events||!ih._events[Pf]?ih.on(Pf,uh):Array.isArray(ih._events[Pf])?ih._events[Pf].unshift(uh):ih._events[Pf]=[uh,ih._events[Pf]]}function Wd(ih,Pf,uh){qa=qa||require_stream_duplex(),ih=ih||{},typeof uh!="boolean"&&(uh=Pf instanceof qa),this.objectMode=!!ih.objectMode,uh&&(this.objectMode=this.objectMode||!!ih.readableObjectMode),this.highWaterMark=Nd(this,ih,"readableHighWaterMark",uh),this.buffer=new md,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=ih.emitClose!==!1,this.autoDestroy=!!ih.autoDestroy,this.destroyed=!1,this.defaultEncoding=ih.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ih.encoding&&(Ld||(Ld=requireString_decoder().StringDecoder),this.decoder=new Ld(ih.encoding),this.encoding=ih.encoding)}function Zd(ih){if(qa=qa||require_stream_duplex(),!(this instanceof Zd))return new Zd(ih);var Pf=this instanceof qa;this._readableState=new Wd(ih,this,Pf),this.readable=!0,ih&&(typeof ih.read=="function"&&(this._read=ih.read),typeof ih.destroy=="function"&&(this._destroy=ih.destroy)),od.call(this)}Object.defineProperty(Zd.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Pf){this._readableState&&(this._readableState.destroyed=Pf)}}),Zd.prototype.destroy=vd.destroy,Zd.prototype._undestroy=vd.undestroy,Zd.prototype._destroy=function(ih,Pf){Pf(ih)},Zd.prototype.push=function(ih,Pf){var uh=this._readableState,xh;return uh.objectMode?xh=!0:typeof ih=="string"&&(Pf=Pf||uh.defaultEncoding,Pf!==uh.encoding&&(ih=ld.from(ih,Pf),Pf=""),xh=!0),Xd(this,ih,Pf,!1,xh)},Zd.prototype.unshift=function(ih){return Xd(this,ih,null,!0,!1)};function Xd(ih,Pf,uh,xh,Qf){fd("readableAddChunk",Pf);var wf=ih._readableState;if(Pf===null)wf.reading=!1,Af(ih,wf);else{var $f;if(Qf||($f=yf(wf,Pf)),$f)Vd(ih,$f);else if(wf.objectMode||Pf&&Pf.length>0)if(typeof Pf!="string"&&!wf.objectMode&&Object.getPrototypeOf(Pf)!==ld.prototype&&(Pf=cd(Pf)),xh)wf.endEmitted?Vd(ih,new Md):bf(ih,wf,Pf,!0);else if(wf.ended)Vd(ih,new jd);else{if(wf.destroyed)return!1;wf.reading=!1,wf.decoder&&!uh?(Pf=wf.decoder.write(Pf),wf.objectMode||Pf.length!==0?bf(ih,wf,Pf,!1):Jf(ih,wf)):bf(ih,wf,Pf,!1)}else xh||(wf.reading=!1,Jf(ih,wf))}return!wf.ended&&(wf.length<wf.highWaterMark||wf.length===0)}function bf(ih,Pf,uh,xh){Pf.flowing&&Pf.length===0&&!Pf.sync?(Pf.awaitDrain=0,ih.emit("data",uh)):(Pf.length+=Pf.objectMode?1:uh.length,xh?Pf.buffer.unshift(uh):Pf.buffer.push(uh),Pf.needReadable&&Lf(ih)),Jf(ih,Pf)}function yf(ih,Pf){var uh;return!dd(Pf)&&typeof Pf!="string"&&Pf!==void 0&&!ih.objectMode&&(uh=new kd("chunk",["string","Buffer","Uint8Array"],Pf)),uh}Zd.prototype.isPaused=function(){return this._readableState.flowing===!1},Zd.prototype.setEncoding=function(ih){Ld||(Ld=requireString_decoder().StringDecoder);var Pf=new Ld(ih);this._readableState.decoder=Pf,this._readableState.encoding=this._readableState.decoder.encoding;for(var uh=this._readableState.buffer.head,xh="";uh!==null;)xh+=Pf.write(uh.data),uh=uh.next;return this._readableState.buffer.clear(),xh!==""&&this._readableState.buffer.push(xh),this._readableState.length=xh.length,this};var Ef=1073741824;function gf(ih){return ih>=Ef?ih=Ef:(ih--,ih|=ih>>>1,ih|=ih>>>2,ih|=ih>>>4,ih|=ih>>>8,ih|=ih>>>16,ih++),ih}function xf(ih,Pf){return ih<=0||Pf.length===0&&Pf.ended?0:Pf.objectMode?1:ih!==ih?Pf.flowing&&Pf.length?Pf.buffer.head.data.length:Pf.length:(ih>Pf.highWaterMark&&(Pf.highWaterMark=gf(ih)),ih<=Pf.length?ih:Pf.ended?Pf.length:(Pf.needReadable=!0,0))}Zd.prototype.read=function(ih){fd("read",ih),ih=parseInt(ih,10);var Pf=this._readableState,uh=ih;if(ih!==0&&(Pf.emittedReadable=!1),ih===0&&Pf.needReadable&&((Pf.highWaterMark!==0?Pf.length>=Pf.highWaterMark:Pf.length>0)||Pf.ended))return fd("read: emitReadable",Pf.length,Pf.ended),Pf.length===0&&Pf.ended?qf(this):Lf(this),null;if(ih=xf(ih,Pf),ih===0&&Pf.ended)return Pf.length===0&&qf(this),null;var xh=Pf.needReadable;fd("need readable",xh),(Pf.length===0||Pf.length-ih<Pf.highWaterMark)&&(xh=!0,fd("length less than watermark",xh)),Pf.ended||Pf.reading?(xh=!1,fd("reading or ended",xh)):xh&&(fd("do read"),Pf.reading=!0,Pf.sync=!0,Pf.length===0&&(Pf.needReadable=!0),this._read(Pf.highWaterMark),Pf.sync=!1,Pf.reading||(ih=xf(uh,Pf)));var Qf;return ih>0?Qf=vf(ih,Pf):Qf=null,Qf===null?(Pf.needReadable=Pf.length<=Pf.highWaterMark,ih=0):(Pf.length-=ih,Pf.awaitDrain=0),Pf.length===0&&(Pf.ended||(Pf.needReadable=!0),uh!==ih&&Pf.ended&&qf(this)),Qf!==null&&this.emit("data",Qf),Qf};function Af(ih,Pf){if(fd("onEofChunk"),!Pf.ended){if(Pf.decoder){var uh=Pf.decoder.end();uh&&uh.length&&(Pf.buffer.push(uh),Pf.length+=Pf.objectMode?1:uh.length)}Pf.ended=!0,Pf.sync?Lf(ih):(Pf.needReadable=!1,Pf.emittedReadable||(Pf.emittedReadable=!0,Xf(ih)))}}function Lf(ih){var Pf=ih._readableState;fd("emitReadable",Pf.needReadable,Pf.emittedReadable),Pf.needReadable=!1,Pf.emittedReadable||(fd("emitReadable",Pf.flowing),Pf.emittedReadable=!0,Ra.nextTick(Xf,ih))}function Xf(ih){var Pf=ih._readableState;fd("emitReadable_",Pf.destroyed,Pf.length,Pf.ended),!Pf.destroyed&&(Pf.length||Pf.ended)&&(ih.emit("readable"),Pf.emittedReadable=!1),Pf.needReadable=!Pf.flowing&&!Pf.ended&&Pf.length<=Pf.highWaterMark,Tf(ih)}function Jf(ih,Pf){Pf.readingMore||(Pf.readingMore=!0,Ra.nextTick(Zf,ih,Pf))}function Zf(ih,Pf){for(;!Pf.reading&&!Pf.ended&&(Pf.length<Pf.highWaterMark||Pf.flowing&&Pf.length===0);){var uh=Pf.length;if(fd("maybeReadMore read 0"),ih.read(0),uh===Pf.length)break}Pf.readingMore=!1}Zd.prototype._read=function(ih){Vd(this,new Fd("_read()"))},Zd.prototype.pipe=function(ih,Pf){var uh=this,xh=this._readableState;switch(xh.pipesCount){case 0:xh.pipes=ih;break;case 1:xh.pipes=[xh.pipes,ih];break;default:xh.pipes.push(ih);break}xh.pipesCount+=1,fd("pipe count=%d opts=%j",xh.pipesCount,Pf);var Qf=(!Pf||Pf.end!==!1)&&ih!==Ra.stdout&&ih!==Ra.stderr,wf=Qf?Wf:cm;xh.endEmitted?Ra.nextTick(wf):uh.once("end",wf),ih.on("unpipe",$f);function $f(Sm,$m){fd("onunpipe"),Sm===uh&&$m&&$m.hasUnpiped===!1&&($m.hasUnpiped=!0,ph())}function Wf(){fd("onend"),ih.end()}var Th=Bf(uh);ih.on("drain",Th);var vh=!1;function ph(){fd("cleanup"),ih.removeListener("close",fm),ih.removeListener("finish",Nm),ih.removeListener("drain",Th),ih.removeListener("error",wh),ih.removeListener("unpipe",$f),uh.removeListener("end",Wf),uh.removeListener("end",cm),uh.removeListener("data",Vh),vh=!0,xh.awaitDrain&&(!ih._writableState||ih._writableState.needDrain)&&Th()}uh.on("data",Vh);function Vh(Sm){fd("ondata");var $m=ih.write(Sm);fd("dest.write",$m),$m===!1&&((xh.pipesCount===1&&xh.pipes===ih||xh.pipesCount>1&&ch(xh.pipes,ih)!==-1)&&!vh&&(fd("false write response, pause",xh.awaitDrain),xh.awaitDrain++),uh.pause())}function wh(Sm){fd("onerror",Sm),cm(),ih.removeListener("error",wh),nd(ih,"error")===0&&Vd(ih,Sm)}mf(ih,"error",wh);function fm(){ih.removeListener("finish",Nm),cm()}ih.once("close",fm);function Nm(){fd("onfinish"),ih.removeListener("close",fm),cm()}ih.once("finish",Nm);function cm(){fd("unpipe"),uh.unpipe(ih)}return ih.emit("pipe",uh),xh.flowing||(fd("pipe resume"),uh.resume()),ih};function Bf(ih){return function(){var uh=ih._readableState;fd("pipeOnDrain",uh.awaitDrain),uh.awaitDrain&&uh.awaitDrain--,uh.awaitDrain===0&&nd(ih,"data")&&(uh.flowing=!0,Tf(ih))}}Zd.prototype.unpipe=function(ih){var Pf=this._readableState,uh={hasUnpiped:!1};if(Pf.pipesCount===0)return this;if(Pf.pipesCount===1)return ih&&ih!==Pf.pipes?this:(ih||(ih=Pf.pipes),Pf.pipes=null,Pf.pipesCount=0,Pf.flowing=!1,ih&&ih.emit("unpipe",this,uh),this);if(!ih){var xh=Pf.pipes,Qf=Pf.pipesCount;Pf.pipes=null,Pf.pipesCount=0,Pf.flowing=!1;for(var wf=0;wf<Qf;wf++)xh[wf].emit("unpipe",this,{hasUnpiped:!1});return this}var $f=ch(Pf.pipes,ih);return $f===-1?this:(Pf.pipes.splice($f,1),Pf.pipesCount-=1,Pf.pipesCount===1&&(Pf.pipes=Pf.pipes[0]),ih.emit("unpipe",this,uh),this)},Zd.prototype.on=function(ih,Pf){var uh=od.prototype.on.call(this,ih,Pf),xh=this._readableState;return ih==="data"?(xh.readableListening=this.listenerCount("readable")>0,xh.flowing!==!1&&this.resume()):ih==="readable"&&!xh.endEmitted&&!xh.readableListening&&(xh.readableListening=xh.needReadable=!0,xh.flowing=!1,xh.emittedReadable=!1,fd("on readable",xh.length,xh.reading),xh.length?Lf(this):xh.reading||Ra.nextTick(Uf,this)),uh},Zd.prototype.addListener=Zd.prototype.on,Zd.prototype.removeListener=function(ih,Pf){var uh=od.prototype.removeListener.call(this,ih,Pf);return ih==="readable"&&Ra.nextTick(Df,this),uh},Zd.prototype.removeAllListeners=function(ih){var Pf=od.prototype.removeAllListeners.apply(this,arguments);return(ih==="readable"||ih===void 0)&&Ra.nextTick(Df,this),Pf};function Df(ih){var Pf=ih._readableState;Pf.readableListening=ih.listenerCount("readable")>0,Pf.resumeScheduled&&!Pf.paused?Pf.flowing=!0:ih.listenerCount("data")>0&&ih.resume()}function Uf(ih){fd("readable nexttick read 0"),ih.read(0)}Zd.prototype.resume=function(){var ih=this._readableState;return ih.flowing||(fd("resume"),ih.flowing=!ih.readableListening,Gf(this,ih)),ih.paused=!1,this};function Gf(ih,Pf){Pf.resumeScheduled||(Pf.resumeScheduled=!0,Ra.nextTick(zf,ih,Pf))}function zf(ih,Pf){fd("resume",Pf.reading),Pf.reading||ih.read(0),Pf.resumeScheduled=!1,ih.emit("resume"),Tf(ih),Pf.flowing&&!Pf.reading&&ih.read(0)}Zd.prototype.pause=function(){return fd("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(fd("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Tf(ih){var Pf=ih._readableState;for(fd("flow",Pf.flowing);Pf.flowing&&ih.read()!==null;);}Zd.prototype.wrap=function(ih){var Pf=this,uh=this._readableState,xh=!1;ih.on("end",function(){if(fd("wrapped end"),uh.decoder&&!uh.ended){var $f=uh.decoder.end();$f&&$f.length&&Pf.push($f)}Pf.push(null)}),ih.on("data",function($f){if(fd("wrapped data"),uh.decoder&&($f=uh.decoder.write($f)),!(uh.objectMode&&$f==null)&&!(!uh.objectMode&&(!$f||!$f.length))){var Wf=Pf.push($f);Wf||(xh=!0,ih.pause())}});for(var Qf in ih)this[Qf]===void 0&&typeof ih[Qf]=="function"&&(this[Qf]=function(Wf){return function(){return ih[Wf].apply(ih,arguments)}}(Qf));for(var wf=0;wf<Kd.length;wf++)ih.on(Kd[wf],this.emit.bind(this,Kd[wf]));return this._read=function($f){fd("wrapped _read",$f),xh&&(xh=!1,ih.resume())},this},typeof Symbol=="function"&&(Zd.prototype[Symbol.asyncIterator]=function(){return Hd===void 0&&(Hd=requireAsync_iterator()),Hd(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(Pf){this._readableState&&(this._readableState.flowing=Pf)}}),Zd._fromList=vf,Object.defineProperty(Zd.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function vf(ih,Pf){if(Pf.length===0)return null;var uh;return Pf.objectMode?uh=Pf.buffer.shift():!ih||ih>=Pf.length?(Pf.decoder?uh=Pf.buffer.join(""):Pf.buffer.length===1?uh=Pf.buffer.first():uh=Pf.buffer.concat(Pf.length),Pf.buffer.clear()):uh=Pf.buffer.consume(ih,Pf.decoder),uh}function qf(ih){var Pf=ih._readableState;fd("endReadable",Pf.endEmitted),Pf.endEmitted||(Pf.ended=!0,Ra.nextTick(eh,Pf,ih))}function eh(ih,Pf){if(fd("endReadableNT",ih.endEmitted,ih.length),!ih.endEmitted&&ih.length===0&&(ih.endEmitted=!0,Pf.readable=!1,Pf.emit("end"),ih.autoDestroy)){var uh=Pf._writableState;(!uh||uh.autoDestroy&&uh.finished)&&Pf.destroy()}}typeof Symbol=="function"&&(Zd.from=function(ih,Pf){return Gd===void 0&&(Gd=requireFromBrowser()),Gd(Zd,ih,Pf)});function ch(ih,Pf){for(var uh=0,xh=ih.length;uh<xh;uh++)if(ih[uh]===Pf)return uh;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(cd){if(cd)return od(cd);ld=!0,od()});var ud=!1;return function(cd){if(!ld&&!ud){if(ud=!0,isRequest(Ra))return Ra.abort();if(typeof Ra.destroy=="function")return Ra.destroy();od(cd||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(cd,dd){var pd=dd<qa.length-1,fd=dd>0;return destroyer(cd,pd,fd,function(md){ld||(ld=md),md&&ud.forEach(call),!pd&&(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(md){Ra.writable&&Ra.write(md)===!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",cd),nd.on("close",dd));var ud=!1;function cd(){ud||(ud=!0,Ra.end())}function dd(){ud||(ud=!0,typeof Ra.destroy=="function"&&Ra.destroy())}function pd(md){if(fd(),EE.listenerCount(this,"error")===0)throw md}nd.on("error",pd),Ra.on("error",pd);function fd(){nd.removeListener("data",od),Ra.removeListener("drain",ld),nd.removeListener("end",cd),nd.removeListener("close",dd),nd.removeListener("error",pd),Ra.removeListener("error",pd),nd.removeListener("end",fd),nd.removeListener("close",fd),Ra.removeListener("close",fd)}return nd.on("end",fd),nd.on("close",fd),Ra.on("close",fd),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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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]=(cd,...dd)=>{if(cd)return ud(cd);ld(dd.length>1?dd:dd[0])},Ra.apply(this,od)})}return nd}function applyEach$1(Ra){return function(nd,...od){return awaitify(function(ud){var cd=this;return Ra(nd,(dd,pd)=>{wrapAsync(dd).apply(cd,od.concat(pd))},ud)})}}function _asyncMap(Ra,qa,nd,od){qa=qa||[];var ld=[],ud=0,cd=wrapAsync(nd);return Ra(qa,(dd,pd,fd)=>{var md=ud++;cd(dd,(vd,Ad)=>{ld[md]=Ad,fd(vd)})},dd=>{od(dd,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,cd=!1,dd=0,pd=0;function fd(){dd>=qa||cd||ld||(cd=!0,Ra.next().then(({value:Ad,done:Nd})=>{if(!(ud||ld)){if(cd=!1,Nd){ld=!0,dd<=0&&od(null);return}dd++,nd(Ad,pd,md),pd++,fd()}}).catch(vd))}function md(Ad,Nd){if(dd-=1,!ud){if(Ad)return vd(Ad);if(Ad===!1){ld=!0,ud=!0;return}if(Nd===breakLoop||ld&&dd<=0)return ld=!0,od(null);fd()}}function vd(Ad){ud||(cd=!1,ld=!0,od(Ad))}fd()}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,cd=!1,dd=0,pd=!1;function fd(vd,Ad){if(!cd)if(dd-=1,vd)ud=!0,od(vd);else if(vd===!1)ud=!0,cd=!0;else{if(Ad===breakLoop||ud&&dd<=0)return ud=!0,od(null);pd||md()}}function md(){for(pd=!0;dd<Ra&&!ud;){var vd=ld();if(vd===null){ud=!0,dd<=0&&od(null);return}dd+=1,nd(vd.value,vd.key,onlyOnce(fd))}pd=!1}md()};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,cd=!1;ud===0&&nd(null);function dd(pd,fd){pd===!1&&(cd=!0),cd!==!0&&(pd?nd(pd):(++ld===ud||fd===breakLoop)&&nd(null))}for(;od<ud;od++)qa(Ra[od],od,onlyOnce(dd))}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,cd=!1,dd=!1,pd=Object.create(null),fd=[],md=[],vd={};Object.keys(Ra).forEach(Ld=>{var Hd=Ra[Ld];if(!Array.isArray(Hd)){Ad(Ld,[Hd]),md.push(Ld);return}var Gd=Hd.slice(0,Hd.length-1),Vd=Gd.length;if(Vd===0){Ad(Ld,Hd),md.push(Ld);return}vd[Ld]=Vd,Gd.forEach(Kd=>{if(!Ra[Kd])throw new Error("async.auto task `"+Ld+"` has a non-existent dependency `"+Kd+"` in "+Gd.join(", "));Id(Kd,()=>{Vd--,Vd===0&&Ad(Ld,Hd)})})}),Fd(),Nd();function Ad(Ld,Hd){fd.push(()=>jd(Ld,Hd))}function Nd(){if(!cd){if(fd.length===0&&ud===0)return nd(null,ld);for(;fd.length&&ud<qa;){var Ld=fd.shift();Ld()}}}function Id(Ld,Hd){var Gd=pd[Ld];Gd||(Gd=pd[Ld]=[]),Gd.push(Hd)}function kd(Ld){var Hd=pd[Ld]||[];Hd.forEach(Gd=>Gd()),Nd()}function jd(Ld,Hd){if(!dd){var Gd=onlyOnce((Kd,...mf)=>{if(ud--,Kd===!1){cd=!0;return}if(mf.length<2&&([mf]=mf),Kd){var Wd={};if(Object.keys(ld).forEach(Zd=>{Wd[Zd]=ld[Zd]}),Wd[Ld]=mf,dd=!0,pd=Object.create(null),cd)return;nd(Kd,Wd)}else ld[Ld]=mf,kd(Ld)});ud++;var Vd=wrapAsync(Hd[Hd.length-1]);Hd.length>1?Vd(ld,Gd):Vd(Gd)}}function Fd(){for(var Ld,Hd=0;md.length;)Ld=md.pop(),Hd++,Md(Ld).forEach(Gd=>{--vd[Gd]===0&&md.push(Gd)});if(Hd!==od)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function Md(Ld){var Hd=[];return Object.keys(Ra).forEach(Gd=>{const Vd=Ra[Gd];Array.isArray(Vd)&&Vd.indexOf(Ld)>=0&&Hd.push(Gd)}),Hd}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,cd=isAsync(ld),dd=!cd&&ld.length===1||cd&&ld.length===0;if(Array.isArray(ld))ud=[...ld],ld=ud.pop(),nd[od]=ud.concat(ud.length>0?pd:ld);else if(dd)nd[od]=ld;else{if(ud=parseParams(ld),ld.length===0&&!cd&&ud.length===0)throw new Error("autoInject task functions require explicit parameters.");cd||ud.pop(),nd[od]=ud.concat(pd)}function pd(fd,md){var vd=ud.map(Ad=>fd[Ad]);vd.push(md),wrapAsync(ld)(...vd)}}),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 cd={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function dd(Md,Ld){cd[Md].push(Ld)}function pd(Md,Ld){const Hd=(...Gd)=>{fd(Md,Hd),Ld(...Gd)};cd[Md].push(Hd)}function fd(Md,Ld){if(!Md)return Object.keys(cd).forEach(Hd=>cd[Hd]=[]);if(!Ld)return cd[Md]=[];cd[Md]=cd[Md].filter(Hd=>Hd!==Ld)}function md(Md,...Ld){cd[Md].forEach(Hd=>Hd(...Ld))}var vd=!1;function Ad(Md,Ld,Hd,Gd){if(Gd!=null&&typeof Gd!="function")throw new Error("task callback must be a function");Fd.started=!0;var Vd,Kd;function mf(Zd,...Xd){if(Zd)return Hd?Kd(Zd):Vd();if(Xd.length<=1)return Vd(Xd[0]);Vd(Xd)}var Wd=Fd._createTaskItem(Md,Hd?mf:Gd||mf);if(Ld?Fd._tasks.unshift(Wd):Fd._tasks.push(Wd),vd||(vd=!0,setImmediate$1$1(()=>{vd=!1,Fd.process()})),Hd||!Gd)return new Promise((Zd,Xd)=>{Vd=Zd,Kd=Xd})}function Nd(Md){return function(Ld,...Hd){ld-=1;for(var Gd=0,Vd=Md.length;Gd<Vd;Gd++){var Kd=Md[Gd],mf=ud.indexOf(Kd);mf===0?ud.shift():mf>0&&ud.splice(mf,1),Kd.callback(Ld,...Hd),Ld!=null&&md("error",Ld,Kd.data)}ld<=Fd.concurrency-Fd.buffer&&md("unsaturated"),Fd.idle()&&md("drain"),Fd.process()}}function Id(Md){return Md.length===0&&Fd.idle()?(setImmediate$1$1(()=>md("drain")),!0):!1}const kd=Md=>Ld=>{if(!Ld)return new Promise((Hd,Gd)=>{pd(Md,(Vd,Kd)=>{if(Vd)return Gd(Vd);Hd(Kd)})});fd(Md),dd(Md,Ld)};var jd=!1,Fd={_tasks:new DLL,_createTaskItem(Md,Ld){return{data:Md,callback:Ld}},*[Symbol.iterator](){yield*Fd._tasks[Symbol.iterator]()},concurrency:qa,payload:nd,buffer:qa/4,started:!1,paused:!1,push(Md,Ld){return Array.isArray(Md)?Id(Md)?void 0:Md.map(Hd=>Ad(Hd,!1,!1,Ld)):Ad(Md,!1,!1,Ld)},pushAsync(Md,Ld){return Array.isArray(Md)?Id(Md)?void 0:Md.map(Hd=>Ad(Hd,!1,!0,Ld)):Ad(Md,!1,!0,Ld)},kill(){fd(),Fd._tasks.empty()},unshift(Md,Ld){return Array.isArray(Md)?Id(Md)?void 0:Md.map(Hd=>Ad(Hd,!0,!1,Ld)):Ad(Md,!0,!1,Ld)},unshiftAsync(Md,Ld){return Array.isArray(Md)?Id(Md)?void 0:Md.map(Hd=>Ad(Hd,!0,!0,Ld)):Ad(Md,!0,!0,Ld)},remove(Md){Fd._tasks.remove(Md)},process(){if(!jd){for(jd=!0;!Fd.paused&&ld<Fd.concurrency&&Fd._tasks.length;){var Md=[],Ld=[],Hd=Fd._tasks.length;Fd.payload&&(Hd=Math.min(Hd,Fd.payload));for(var Gd=0;Gd<Hd;Gd++){var Vd=Fd._tasks.shift();Md.push(Vd),ud.push(Vd),Ld.push(Vd.data)}ld+=1,Fd._tasks.length===0&&md("empty"),ld===Fd.concurrency&&md("saturated");var Kd=onlyOnce(Nd(Md));od(Ld,Kd)}jd=!1}},length(){return Fd._tasks.length},running(){return ld},workersList(){return ud},idle(){return Fd._tasks.length+ld===0},pause(){Fd.paused=!0},resume(){Fd.paused!==!1&&(Fd.paused=!1,setImmediate$1$1(Fd.process))}};return Object.defineProperties(Fd,{saturated:{writable:!1,value:kd("saturated")},unsaturated:{writable:!1,value:kd("unsaturated")},empty:{writable:!1,value:kd("empty")},drain:{writable:!1,value:kd("drain")},error:{writable:!1,value:kd("error")}}),Fd}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,cd,dd)=>{ld(qa,ud,(pd,fd)=>{qa=fd,dd(pd)})},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,cd,dd)=>{cd.apply(od,ud.concat((pd,...fd)=>{dd(pd,fd)}))},(ud,cd)=>ld(ud,...cd)),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,cd)=>{ld(ud,(dd,...pd)=>dd?cd(dd):cd(dd,pd))},(ud,cd)=>{for(var dd=[],pd=0;pd<cd.length;pd++)cd[pd]&&(dd=dd.concat(...cd[pd]));return od(ud,dd)})}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 cd=!1,dd;const pd=wrapAsync(ld);nd(od,(fd,md,vd)=>{pd(fd,(Ad,Nd)=>{if(Ad||Ad===!1)return vd(Ad);if(Ra(Nd)&&!dd)return cd=!0,dd=qa(!0,fd),vd(null,breakLoop);vd()})},fd=>{if(fd)return ud(fd);ud(null,cd?dd: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 cd(pd,...fd){if(pd)return nd(pd);pd!==!1&&(ud=fd,ld(...fd,dd))}function dd(pd,fd){if(pd)return nd(pd);if(pd!==!1){if(!fd)return nd(null,...ud);od(cd)}}return dd(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,(cd,dd)=>ud(cd,!dd))},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,cd,dd)=>{nd(ud,(pd,fd)=>{ld[cd]=!!fd,dd(pd)})},ud=>{if(ud)return od(ud);for(var cd=[],dd=0;dd<qa.length;dd++)ld[dd]&&cd.push(qa[dd]);od(null,cd)})}function filterGeneric(Ra,qa,nd,od){var ld=[];Ra(qa,(ud,cd,dd)=>{nd(ud,(pd,fd)=>{if(pd)return dd(pd);fd&&ld.push({index:cd,value:ud}),dd(pd)})},ud=>{if(ud)return od(ud);od(null,ld.sort((cd,dd)=>cd.index-dd.index).map(cd=>cd.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,cd)=>{ld(ud,(dd,pd)=>dd?cd(dd):cd(dd,{key:pd,val:ud}))},(ud,cd)=>{for(var dd={},{hasOwnProperty:pd}=Object.prototype,fd=0;fd<cd.length;fd++)if(cd[fd]){var{key:md}=cd[fd],{val:vd}=cd[fd];pd.call(dd,md)?dd[md].push(vd):dd[md]=[vd]}return od(ud,dd)})}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,(cd,dd,pd)=>{ud(cd,dd,(fd,md)=>{if(fd)return pd(fd);ld[dd]=md,pd(fd)})},cd=>od(cd,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((cd,dd)=>{var pd=qa(...cd);pd in nd?setImmediate$1$1(()=>dd(null,...nd[pd])):pd in od?od[pd].push(dd):(od[pd]=[dd],ld(...cd,(fd,...md)=>{fd||(nd[pd]=md);var vd=od[pd];delete od[pd];for(var Ad=0,Nd=vd.length;Ad<Nd;Ad++)vd[Ad](fd,...md)}))});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,cd)=>{wrapAsync(ld)((dd,...pd)=>{pd.length<2&&([pd]=pd),od[ud]=pd,cd(dd)})},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:cd,priority:dd},pd)=>({data:cd,priority:dd,callback:pd});function ud(cd,dd){return Array.isArray(cd)?cd.map(pd=>({data:pd,priority:dd})):{data:cd,priority:dd}}return nd.push=function(cd,dd=0,pd){return od(ud(cd,dd),pd)},nd.pushAsync=function(cd,dd=0,pd){return ld(ud(cd,dd),pd)},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,...cd)=>{let dd={};if(ud&&(dd.error=ud),cd.length>0){var pd=cd;cd.length<=1&&([pd]=cd),dd.value=pd}ld(null,dd)}),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,cd)=>{ld(ud,(dd,pd)=>{cd(dd,!pd)})},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 cd(){ld((dd,...pd)=>{dd!==!1&&(dd&&ud++<od.times&&(typeof od.errorFilter!="function"||od.errorFilter(dd))?setTimeout(cd,od.intervalFunc(ud-1)):nd(dd,...pd))})}return cd(),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 cd(dd){od(...ld,dd)}return Ra?retry(Ra,cd,ud):retry(cd,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,cd)=>{od(ud,(dd,pd)=>{if(dd)return cd(dd);cd(dd,{value:ud,criteria:pd})})},(ud,cd)=>{if(ud)return nd(ud);nd(null,cd.sort(ld).map(dd=>dd.value))});function ld(ud,cd){var dd=ud.criteria,pd=cd.criteria;return dd<pd?-1:dd>pd?1:0}}var sortBy$1=awaitify(sortBy,3);function timeout(Ra,qa,nd){var od=wrapAsync(Ra);return initialParams((ld,ud)=>{var cd=!1,dd;function pd(){var fd=Ra.name||"anonymous",md=new Error('Callback function "'+fd+'" timed out.');md.code="ETIMEDOUT",nd&&(md.info=nd),cd=!0,ud(md)}ld.push((...fd)=>{cd||(ud(...fd),clearTimeout(dd))}),dd=setTimeout(pd,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,cd,dd)=>{ld(qa,ud,cd,dd)},ud=>od(ud,qa)),od[PROMISE_SYMBOL]}function tryEach(Ra,qa){var nd=null,od;return eachSeries$1(Ra,(ld,ud)=>{wrapAsync(ld)((cd,...dd)=>{if(cd===!1)return ud(cd);dd.length<2?[od]=dd:od=dd,nd=cd,ud(cd?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 cd(pd,...fd){if(pd)return nd(pd);ud=fd,pd!==!1&&ld(dd)}function dd(pd,fd){if(pd)return nd(pd);if(pd!==!1){if(!fd)return nd(null,...ud);od(cd)}}return ld(dd)}var whilst$1=awaitify(whilst,3);function until(Ra,qa,nd){const od=wrapAsync(Ra);return whilst$1(ld=>od((ud,cd)=>ld(ud,!cd)),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 cd=wrapAsync(Ra[nd++]);cd(...ud,onlyOnce(ld))}function ld(ud,...cd){if(ud!==!1){if(ud||nd===Ra.length)return qa(ud,...cd);od(cd)}}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 cd=this._buffered.shift();if(ud+cd.length<=this.size)ld.push(cd),ud+=cd.length;else{const dd=this.size-ud;ld.push(cd.slice(0,dd)),ud+=dd,this._buffered.unshift(cd.slice(dd))}}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.",cd="Expected a function",dd="Invalid `variable` option passed into `_.template`",pd="__lodash_hash_undefined__",fd=500,md="__lodash_placeholder__",vd=1,Ad=2,Nd=4,Id=1,kd=2,jd=1,Fd=2,Md=4,Ld=8,Hd=16,Gd=32,Vd=64,Kd=128,mf=256,Wd=512,Zd=30,Xd="...",bf=800,yf=16,Ef=1,gf=2,xf=3,Af=1/0,Lf=9007199254740991,Xf=17976931348623157e292,Jf=NaN,Zf=4294967295,Bf=Zf-1,Df=Zf>>>1,Uf=[["ary",Kd],["bind",jd],["bindKey",Fd],["curry",Ld],["curryRight",Hd],["flip",Wd],["partial",Gd],["partialRight",Vd],["rearg",mf]],Gf="[object Arguments]",zf="[object Array]",Tf="[object AsyncFunction]",vf="[object Boolean]",qf="[object Date]",eh="[object DOMException]",ch="[object Error]",ih="[object Function]",Pf="[object GeneratorFunction]",uh="[object Map]",xh="[object Number]",Qf="[object Null]",wf="[object Object]",$f="[object Promise]",Wf="[object Proxy]",Th="[object RegExp]",vh="[object Set]",ph="[object String]",Vh="[object Symbol]",wh="[object Undefined]",fm="[object WeakMap]",Nm="[object WeakSet]",cm="[object ArrayBuffer]",Sm="[object DataView]",$m="[object Float32Array]",fh="[object Float64Array]",Rf="[object Int8Array]",If="[object Int16Array]",dh="[object Int32Array]",yh="[object Uint8Array]",Uh="[object Uint8ClampedArray]",Zh="[object Uint16Array]",_m="[object Uint32Array]",Um=/\b__p \+= '';/g,Om=/\b(__p \+=) '' \+/g,r_=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Xm=/&(?:amp|lt|gt|quot|#39);/g,s_=/[&<>"']/g,b_=RegExp(Xm.source),H_=RegExp(s_.source),x_=/<%-([\s\S]+?)%>/g,M_=/<%([\s\S]+?)%>/g,h_=/<%=([\s\S]+?)%>/g,tg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L_=/^\w*$/,dg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yg=/[\\^$.*+?()[\]{}|]/g,q_=RegExp(yg.source),Y_=/^\s+/,Qm=/\s/,Zg=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,db=/\{\n\/\* \[wrapped with (.+)\] \*/,$g=/,? & /,Of=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ch=/[()=,{}\[\]\/\s]/,_h=/\\(\\)?/g,Sh=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wh=/\w*$/,Fh=/^[-+]0x[0-9a-f]+$/i,om=/^0b[01]+$/i,im=/^\[object .+?Constructor\]$/,Rh=/^0o[0-7]+$/i,Im=/^(?:0|[1-9]\d*)$/,Pm=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i_=/($^)/,Hm=/['\n\r\u2028\u2029\\]/g,o_="\\ud800-\\udfff",j_="\\u0300-\\u036f",B_="\\ufe20-\\ufe2f",C_="\\u20d0-\\u20ff",Km=j_+B_+C_,ig="\\u2700-\\u27bf",N_="a-z\\xdf-\\xf6\\xf8-\\xff",y_="\\xac\\xb1\\xd7\\xf7",hh="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Bh="\\u2000-\\u206f",Mm=" \\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",zm="A-Z\\xc0-\\xd6\\xd8-\\xde",Tm="\\ufe0e\\ufe0f",e_=y_+hh+Bh+Mm,O_="['’]",og="["+o_+"]",Cg="["+e_+"]",rb="["+Km+"]",Eb="\\d+",E_="["+ig+"]",nb="["+N_+"]",lg="[^"+o_+e_+Eb+ig+N_+zm+"]",jg="\\ud83c[\\udffb-\\udfff]",wg="(?:"+rb+"|"+jg+")",Tb="[^"+o_+"]",Jb="(?:\\ud83c[\\udde6-\\uddff]){2}",Ug="[\\ud800-\\udbff][\\udc00-\\udfff]",Sb="["+zm+"]",V0="\\u200d",x0="(?:"+nb+"|"+lg+")",__="(?:"+Sb+"|"+lg+")",C0="(?:"+O_+"(?:d|ll|m|re|s|t|ve))?",d0="(?:"+O_+"(?:D|LL|M|RE|S|T|VE))?",z0=wg+"?",Hy="["+Tm+"]?",Wy="(?:"+V0+"(?:"+[Tb,Jb,Ug].join("|")+")"+Hy+z0+")*",p0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ig="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",pb=Hy+z0+Wy,$b="(?:"+[E_,Jb,Ug].join("|")+")"+pb,f0="(?:"+[Tb+rb+"?",rb,Jb,Ug,og].join("|")+")",A0=RegExp(O_,"g"),bE=RegExp(rb,"g"),Lv=RegExp(jg+"(?="+jg+")|"+f0+pb,"g"),yE=RegExp([Sb+"?"+nb+"+"+C0+"(?="+[Cg,Sb,"$"].join("|")+")",__+"+"+d0+"(?="+[Cg,Sb+x0,"$"].join("|")+")",Sb+"?"+x0+"+"+C0,Sb+"+"+d0,Ig,p0,Eb,$b].join("|"),"g"),hT=RegExp("["+V0+o_+Km+Tm+"]"),Fv=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vE=["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"],TE=-1,Jm={};Jm[$m]=Jm[fh]=Jm[Rf]=Jm[If]=Jm[dh]=Jm[yh]=Jm[Uh]=Jm[Zh]=Jm[_m]=!0,Jm[Gf]=Jm[zf]=Jm[cm]=Jm[vf]=Jm[Sm]=Jm[qf]=Jm[ch]=Jm[ih]=Jm[uh]=Jm[xh]=Jm[wf]=Jm[Th]=Jm[vh]=Jm[ph]=Jm[fm]=!1;var rg={};rg[Gf]=rg[zf]=rg[cm]=rg[Sm]=rg[vf]=rg[qf]=rg[$m]=rg[fh]=rg[Rf]=rg[If]=rg[dh]=rg[uh]=rg[xh]=rg[wf]=rg[Th]=rg[vh]=rg[ph]=rg[Vh]=rg[yh]=rg[Uh]=rg[Zh]=rg[_m]=!0,rg[ch]=rg[ih]=rg[fm]=!1;var W0={À:"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"},Qy={"&":"&","<":"<",">":">",'"':""","'":"'"},jv={"&":"&","<":"<",">":">",""":'"',"'":"'"},SE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},xE=parseFloat,Y0=parseInt,CE=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,Uv=typeof self=="object"&&self&&self.Object===Object&&self,Z_=CE||Uv||Function("return this")(),Hv=qa&&!qa.nodeType&&qa,h0=Hv&&!0&&Ra&&!Ra.nodeType&&Ra,_g=h0&&h0.exports===Hv,xb=_g&&CE.process,Ag=function(){try{var mm=h0&&h0.require&&h0.require("util").types;return mm||xb&&xb.binding&&xb.binding("util")}catch{}}(),K0=Ag&&Ag.isArrayBuffer,Cb=Ag&&Ag.isDate,D0=Ag&&Ag.isMap,Jy=Ag&&Ag.isRegExp,Pb=Ag&&Ag.isSet,AE=Ag&&Ag.isTypedArray;function lb(mm,Lm,Dm){switch(Dm.length){case 0:return mm.call(Lm);case 1:return mm.call(Lm,Dm[0]);case 2:return mm.call(Lm,Dm[0],Dm[1]);case 3:return mm.call(Lm,Dm[0],Dm[1],Dm[2])}return mm.apply(Lm,Dm)}function Gv(mm,Lm,Dm,f_){for(var I_=-1,V_=mm==null?0:mm.length;++I_<V_;){var Pg=mm[I_];Lm(f_,Pg,Dm(Pg),mm)}return f_}function fb(mm,Lm){for(var Dm=-1,f_=mm==null?0:mm.length;++Dm<f_&&Lm(mm[Dm],Dm,mm)!==!1;);return mm}function DE(mm,Lm){for(var Dm=mm==null?0:mm.length;Dm--&&Lm(mm[Dm],Dm,mm)!==!1;);return mm}function X0(mm,Lm){for(var Dm=-1,f_=mm==null?0:mm.length;++Dm<f_;)if(!Lm(mm[Dm],Dm,mm))return!1;return!0}function Zb(mm,Lm){for(var Dm=-1,f_=mm==null?0:mm.length,I_=0,V_=[];++Dm<f_;){var Pg=mm[Dm];Lm(Pg,Dm,mm)&&(V_[I_++]=Pg)}return V_}function Zy(mm,Lm){var Dm=mm==null?0:mm.length;return!!Dm&&Yd(mm,Lm,0)>-1}function ev(mm,Lm,Dm){for(var f_=-1,I_=mm==null?0:mm.length;++f_<I_;)if(Dm(Lm,mm[f_]))return!0;return!1}function ug(mm,Lm){for(var Dm=-1,f_=mm==null?0:mm.length,I_=Array(f_);++Dm<f_;)I_[Dm]=Lm(mm[Dm],Dm,mm);return I_}function Lb(mm,Lm){for(var Dm=-1,f_=Lm.length,I_=mm.length;++Dm<f_;)mm[I_+Dm]=Lm[Dm];return mm}function qv(mm,Lm,Dm,f_){var I_=-1,V_=mm==null?0:mm.length;for(f_&&V_&&(Dm=mm[++I_]);++I_<V_;)Dm=Lm(Dm,mm[I_],I_,mm);return Dm}function NE(mm,Lm,Dm,f_){var I_=mm==null?0:mm.length;for(f_&&I_&&(Dm=mm[--I_]);I_--;)Dm=Lm(Dm,mm[I_],I_,mm);return Dm}function N0(mm,Lm){for(var Dm=-1,f_=mm==null?0:mm.length;++Dm<f_;)if(Lm(mm[Dm],Dm,mm))return!0;return!1}var Ab=bh("length");function wE(mm){return mm.split("")}function mT(mm){return mm.match(Of)||[]}function zd(mm,Lm,Dm){var f_;return Dm(mm,function(I_,V_,Pg){if(Lm(I_,V_,Pg))return f_=V_,!1}),f_}function Bd(mm,Lm,Dm,f_){for(var I_=mm.length,V_=Dm+(f_?1:-1);f_?V_--:++V_<I_;)if(Lm(mm[V_],V_,mm))return V_;return-1}function Yd(mm,Lm,Dm){return Lm===Lm?rS(mm,Lm,Dm):Bd(mm,Nf,Dm)}function _f(mm,Lm,Dm,f_){for(var I_=Dm-1,V_=mm.length;++I_<V_;)if(f_(mm[I_],Lm))return I_;return-1}function Nf(mm){return mm!==mm}function th(mm,Lm){var Dm=mm==null?0:mm.length;return Dm?Fm(mm,Lm)/Dm:Jf}function bh(mm){return function(Lm){return Lm==null?nd:Lm[mm]}}function kh(mm){return function(Lm){return mm==null?nd:mm[Lm]}}function sm(mm,Lm,Dm,f_,I_){return I_(mm,function(V_,Pg,ag){Dm=f_?(f_=!1,V_):Lm(Dm,V_,Pg,ag)}),Dm}function Xh(mm,Lm){var Dm=mm.length;for(mm.sort(Lm);Dm--;)mm[Dm]=mm[Dm].value;return mm}function Fm(mm,Lm){for(var Dm,f_=-1,I_=mm.length;++f_<I_;){var V_=Lm(mm[f_]);V_!==nd&&(Dm=Dm===nd?V_:Dm+V_)}return Dm}function Zm(mm,Lm){for(var Dm=-1,f_=Array(mm);++Dm<mm;)f_[Dm]=Lm(Dm);return f_}function l_(mm,Lm){return ug(Lm,function(Dm){return[Dm,mm[Dm]]})}function d_(mm){return mm&&mm.slice(0,gT(mm)+1).replace(Y_,"")}function w_(mm){return function(Lm){return mm(Lm)}}function Eg(mm,Lm){return ug(Lm,function(Dm){return mm[Dm]})}function U_(mm,Lm){return mm.has(Lm)}function K_(mm,Lm){for(var Dm=-1,f_=mm.length;++Dm<f_&&Yd(Lm,mm[Dm],0)>-1;);return Dm}function Hg(mm,Lm){for(var Dm=mm.length;Dm--&&Yd(Lm,mm[Dm],0)>-1;);return Dm}function Q0(mm,Lm){for(var Dm=mm.length,f_=0;Dm--;)mm[Dm]===Lm&&++f_;return f_}var tv=kh(W0),e0=kh(Qy);function J0(mm){return"\\"+SE[mm]}function _T(mm,Lm){return mm==null?nd:mm[Lm]}function rv(mm){return hT.test(mm)}function eS(mm){return Fv.test(mm)}function n1(mm){for(var Lm,Dm=[];!(Lm=mm.next()).done;)Dm.push(Lm.value);return Dm}function IE(mm){var Lm=-1,Dm=Array(mm.size);return mm.forEach(function(f_,I_){Dm[++Lm]=[I_,f_]}),Dm}function OE(mm,Lm){return function(Dm){return mm(Lm(Dm))}}function mb(mm,Lm){for(var Dm=-1,f_=mm.length,I_=0,V_=[];++Dm<f_;){var Pg=mm[Dm];(Pg===Lm||Pg===md)&&(mm[Dm]=md,V_[I_++]=Dm)}return V_}function _b(mm){var Lm=-1,Dm=Array(mm.size);return mm.forEach(function(f_){Dm[++Lm]=f_}),Dm}function tS(mm){var Lm=-1,Dm=Array(mm.size);return mm.forEach(function(f_){Dm[++Lm]=[f_,f_]}),Dm}function rS(mm,Lm,Dm){for(var f_=Dm-1,I_=mm.length;++f_<I_;)if(mm[f_]===Lm)return f_;return-1}function i1(mm,Lm,Dm){for(var f_=Dm+1;f_--;)if(mm[f_]===Lm)return f_;return f_}function nv(mm){return rv(mm)?Vv(mm):Ab(mm)}function Bb(mm){return rv(mm)?iS(mm):wE(mm)}function gT(mm){for(var Lm=mm.length;Lm--&&Qm.test(mm.charAt(Lm)););return Lm}var nS=kh(jv);function Vv(mm){for(var Lm=Lv.lastIndex=0;Lv.test(mm);)++Lm;return Lm}function iS(mm){return mm.match(Lv)||[]}function aS(mm){return mm.match(yE)||[]}var bT=function mm(Lm){Lm=Lm==null?Z_:m0.defaults(Z_.Object(),Lm,m0.pick(Z_,vE));var Dm=Lm.Array,f_=Lm.Date,I_=Lm.Error,V_=Lm.Function,Pg=Lm.Math,ag=Lm.Object,zv=Lm.RegExp,a1=Lm.String,Db=Lm.TypeError,RE=Dm.prototype,Z0=V_.prototype,Fb=ag.prototype,_0=Lm["__core-js_shared__"],iv=Z0.toString,J_=Fb.hasOwnProperty,sS=0,kE=function(){var qd=/[^.]+$/.exec(_0&&_0.keys&&_0.keys.IE_PROTO||"");return qd?"Symbol(src)_1."+qd:""}(),t0=Fb.toString,ry=iv.call(ag),ub=Z_._,w0=zv("^"+iv.call(J_).replace(yg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),jb=_g?Lm.Buffer:nd,Ub=Lm.Symbol,ME=Lm.Uint8Array,yT=jb?jb.allocUnsafe:nd,I0=OE(ag.getPrototypeOf,ag),vT=ag.create,$E=Fb.propertyIsEnumerable,ny=RE.splice,oS=Ub?Ub.isConcatSpreadable:nd,iy=Ub?Ub.iterator:nd,O0=Ub?Ub.toStringTag:nd,av=function(){try{var qd=j0(ag,"defineProperty");return qd({},"",{}),qd}catch{}}(),ET=Lm.clearTimeout!==Z_.clearTimeout&&Lm.clearTimeout,sv=f_&&f_.now!==Z_.Date.now&&f_.now,PE=Lm.setTimeout!==Z_.setTimeout&&Lm.setTimeout,Wv=Pg.ceil,ay=Pg.floor,TT=ag.getOwnPropertySymbols,s1=jb?jb.isBuffer:nd,lS=Lm.isFinite,ST=RE.join,xT=OE(ag.keys,ag),bg=Pg.max,Lg=Pg.min,o1=f_.now,LE=Lm.parseInt,CT=Pg.random,Yv=RE.reverse,BE=j0(Lm,"DataView"),Hb=j0(Lm,"Map"),sy=j0(Lm,"Promise"),Nb=j0(Lm,"Set"),g0=j0(Lm,"WeakMap"),r0=j0(ag,"create"),Kv=g0&&new g0,oy={},uS=Og(BE),l1=Og(Hb),uy=Og(sy),Ty=Og(Nb),u1=Og(g0),FE=Ub?Ub.prototype:nd,Xv=FE?FE.valueOf:nd,cS=FE?FE.toString:nd;function Ah(qd){if(Fg(qd)&&!k_(qd)&&!(qd instanceof S_)){if(qd instanceof eg)return qd;if(J_.call(qd,"__wrapped__"))return ab(qd)}return new eg(qd)}var ov=function(){function qd(){}return function(df){if(!Mg(df))return{};if(vT)return vT(df);qd.prototype=df;var Sf=new qd;return qd.prototype=nd,Sf}}();function eb(){}function eg(qd,df){this.__wrapped__=qd,this.__actions__=[],this.__chain__=!!df,this.__index__=0,this.__values__=nd}Ah.templateSettings={escape:x_,evaluate:M_,interpolate:h_,variable:"",imports:{_:Ah}},Ah.prototype=eb.prototype,Ah.prototype.constructor=Ah,eg.prototype=ov(eb.prototype),eg.prototype.constructor=eg;function S_(qd){this.__wrapped__=qd,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Zf,this.__views__=[]}function Gg(){var qd=new S_(this.__wrapped__);return qd.__actions__=hb(this.__actions__),qd.__dir__=this.__dir__,qd.__filtered__=this.__filtered__,qd.__iteratees__=hb(this.__iteratees__),qd.__takeCount__=this.__takeCount__,qd.__views__=hb(this.__views__),qd}function Qv(){if(this.__filtered__){var qd=new S_(this);qd.__dir__=-1,qd.__filtered__=!0}else qd=this.clone(),qd.__dir__*=-1;return qd}function c1(){var qd=this.__wrapped__.value(),df=this.__dir__,Sf=k_(qd),Yf=df<0,gh=Sf?qd.length:0,Oh=O1(0,gh,this.__views__),um=Oh.start,dm=Oh.end,gm=dm-um,Gm=Yf?dm:um-1,Vm=this.__iteratees__,Wm=Vm.length,c_=0,v_=Lg(gm,this.__takeCount__);if(!Sf||!Yf&&gh==gm&&v_==gm)return iE(qd,this.__actions__);var A_=[];e:for(;gm--&&c_<v_;){Gm+=df;for(var F_=-1,D_=qd[Gm];++F_<Wm;){var G_=Vm[F_],W_=G_.iteratee,Xb=G_.type,vb=W_(D_);if(Xb==gf)D_=vb;else if(!vb){if(Xb==Ef)continue e;break e}}A_[c_++]=D_}return A_}S_.prototype=ov(eb.prototype),S_.prototype.constructor=S_;function n0(qd){var df=-1,Sf=qd==null?0:qd.length;for(this.clear();++df<Sf;){var Yf=qd[df];this.set(Yf[0],Yf[1])}}function d1(){this.__data__=r0?r0(null):{},this.size=0}function p1(qd){var df=this.has(qd)&&delete this.__data__[qd];return this.size-=df?1:0,df}function f1(qd){var df=this.__data__;if(r0){var Sf=df[qd];return Sf===pd?nd:Sf}return J_.call(df,qd)?df[qd]:nd}function AT(qd){var df=this.__data__;return r0?df[qd]!==nd:J_.call(df,qd)}function dS(qd,df){var Sf=this.__data__;return this.size+=this.has(qd)?0:1,Sf[qd]=r0&&df===nd?pd:df,this}n0.prototype.clear=d1,n0.prototype.delete=p1,n0.prototype.get=f1,n0.prototype.has=AT,n0.prototype.set=dS;function Gb(qd){var df=-1,Sf=qd==null?0:qd.length;for(this.clear();++df<Sf;){var Yf=qd[df];this.set(Yf[0],Yf[1])}}function h1(){this.__data__=[],this.size=0}function DT(qd){var df=this.__data__,Sf=uv(df,qd);if(Sf<0)return!1;var Yf=df.length-1;return Sf==Yf?df.pop():ny.call(df,Sf,1),--this.size,!0}function NT(qd){var df=this.__data__,Sf=uv(df,qd);return Sf<0?nd:df[Sf][1]}function pS(qd){return uv(this.__data__,qd)>-1}function fS(qd,df){var Sf=this.__data__,Yf=uv(Sf,qd);return Yf<0?(++this.size,Sf.push([qd,df])):Sf[Yf][1]=df,this}Gb.prototype.clear=h1,Gb.prototype.delete=DT,Gb.prototype.get=NT,Gb.prototype.has=pS,Gb.prototype.set=fS;function qb(qd){var df=-1,Sf=qd==null?0:qd.length;for(this.clear();++df<Sf;){var Yf=qd[df];this.set(Yf[0],Yf[1])}}function hS(){this.size=0,this.__data__={hash:new n0,map:new(Hb||Gb),string:new n0}}function Jv(qd){var df=mE(this,qd).delete(qd);return this.size-=df?1:0,df}function m1(qd){return mE(this,qd).get(qd)}function jE(qd){return mE(this,qd).has(qd)}function b0(qd,df){var Sf=mE(this,qd),Yf=Sf.size;return Sf.set(qd,df),this.size+=Sf.size==Yf?0:1,this}qb.prototype.clear=hS,qb.prototype.delete=Jv,qb.prototype.get=m1,qb.prototype.has=jE,qb.prototype.set=b0;function R0(qd){var df=-1,Sf=qd==null?0:qd.length;for(this.__data__=new qb;++df<Sf;)this.add(qd[df])}function _1(qd){return this.__data__.set(qd,pd),this}function mS(qd){return this.__data__.has(qd)}R0.prototype.add=R0.prototype.push=_1,R0.prototype.has=mS;function Tg(qd){var df=this.__data__=new Gb(qd);this.size=df.size}function X_(){this.__data__=new Gb,this.size=0}function Vb(qd){var df=this.__data__,Sf=df.delete(qd);return this.size=df.size,Sf}function k0(qd){return this.__data__.get(qd)}function M0(qd){return this.__data__.has(qd)}function _S(qd,df){var Sf=this.__data__;if(Sf instanceof Gb){var Yf=Sf.__data__;if(!Hb||Yf.length<ld-1)return Yf.push([qd,df]),this.size=++Sf.size,this;Sf=this.__data__=new qb(Yf)}return Sf.set(qd,df),this.size=Sf.size,this}Tg.prototype.clear=X_,Tg.prototype.delete=Vb,Tg.prototype.get=k0,Tg.prototype.has=M0,Tg.prototype.set=_S;function UE(qd,df){var Sf=k_(qd),Yf=!Sf&&_E(qd),gh=!Sf&&!Yf&&Mv(qd),Oh=!Sf&&!Yf&&!gh&&iT(qd),um=Sf||Yf||gh||Oh,dm=um?Zm(qd.length,a1):[],gm=dm.length;for(var Gm in qd)(df||J_.call(qd,Gm))&&!(um&&(Gm=="length"||gh&&(Gm=="offset"||Gm=="parent")||Oh&&(Gm=="buffer"||Gm=="byteLength"||Gm=="byteOffset")||Jd(Gm,gm)))&&dm.push(Gm);return dm}function wT(qd){var df=qd.length;return df?qd[zE(0,df-1)]:nd}function g1(qd,df){return Ng(hb(qd),v0(df,0,qd.length))}function IT(qd){return Ng(hb(qd))}function Sy(qd,df,Sf){(Sf!==nd&&!T0(qd[df],Sf)||Sf===nd&&!(df in qd))&&y0(qd,df,Sf)}function lv(qd,df,Sf){var Yf=qd[df];(!(J_.call(qd,df)&&T0(Yf,Sf))||Sf===nd&&!(df in qd))&&y0(qd,df,Sf)}function uv(qd,df){for(var Sf=qd.length;Sf--;)if(T0(qd[Sf][0],df))return Sf;return-1}function $0(qd,df,Sf,Yf){return zb(qd,function(gh,Oh,um){df(Yf,gh,Sf(gh),um)}),Yf}function OT(qd,df){return qd&&Yb(df,ob(df),qd)}function gS(qd,df){return qd&&Yb(df,kb(df),qd)}function y0(qd,df,Sf){df=="__proto__"&&av?av(qd,df,{configurable:!0,enumerable:!0,value:Sf,writable:!0}):qd[df]=Sf}function cv(qd,df){for(var Sf=-1,Yf=df.length,gh=Dm(Yf),Oh=qd==null;++Sf<Yf;)gh[Sf]=Oh?nd:F1(qd,df[Sf]);return gh}function v0(qd,df,Sf){return qd===qd&&(Sf!==nd&&(qd=qd<=Sf?qd:Sf),df!==nd&&(qd=qd>=df?qd:df)),qd}function gb(qd,df,Sf,Yf,gh,Oh){var um,dm=df&vd,gm=df&Ad,Gm=df&Nd;if(Sf&&(um=gh?Sf(qd,Yf,gh,Oh):Sf(qd)),um!==nd)return um;if(!Mg(qd))return qd;var Vm=k_(qd);if(Vm){if(um=R1(qd),!dm)return hb(qd,um)}else{var Wm=zg(qd),c_=Wm==ih||Wm==Pf;if(Mv(qd))return HT(qd,dm);if(Wm==wf||Wm==Gf||c_&&!gh){if(um=gm||c_?{}:YS(qd),!dm)return gm?D1(qd,gS(um,qd)):BS(qd,OT(um,qd))}else{if(!rg[Wm])return gh?qd:{};um=nT(qd,Wm,dm)}}Oh||(Oh=new Tg);var v_=Oh.get(qd);if(v_)return v_;Oh.set(qd,um),mx(qd)?qd.forEach(function(D_){um.add(gb(D_,df,Sf,D_,qd,Oh))}):fx(qd)&&qd.forEach(function(D_,G_){um.set(G_,gb(D_,df,Sf,G_,qd,Oh))});var A_=Gm?gm?rT:tT:gm?kb:ob,F_=Vm?nd:A_(qd);return fb(F_||qd,function(D_,G_){F_&&(G_=D_,D_=qd[G_]),lv(um,G_,gb(D_,df,Sf,G_,qd,Oh))}),um}function b1(qd){var df=ob(qd);return function(Sf){return RT(Sf,qd,df)}}function RT(qd,df,Sf){var Yf=Sf.length;if(qd==null)return!Yf;for(qd=ag(qd);Yf--;){var gh=Sf[Yf],Oh=df[gh],um=qd[gh];if(um===nd&&!(gh in qd)||!Oh(um))return!1}return!0}function bS(qd,df,Sf){if(typeof qd!="function")throw new Db(cd);return g_(function(){qd.apply(nd,Sf)},df)}function Zv(qd,df,Sf,Yf){var gh=-1,Oh=Zy,um=!0,dm=qd.length,gm=[],Gm=df.length;if(!dm)return gm;Sf&&(df=ug(df,w_(Sf))),Yf?(Oh=ev,um=!1):df.length>=ld&&(Oh=U_,um=!1,df=new R0(df));e:for(;++gh<dm;){var Vm=qd[gh],Wm=Sf==null?Vm:Sf(Vm);if(Vm=Yf||Vm!==0?Vm:0,um&&Wm===Wm){for(var c_=Gm;c_--;)if(df[c_]===Wm)continue e;gm.push(Vm)}else Oh(df,Wm,Yf)||gm.push(Vm)}return gm}var zb=Cv(wb),kT=Cv(GE,!0);function y1(qd,df){var Sf=!0;return zb(qd,function(Yf,gh,Oh){return Sf=!!df(Yf,gh,Oh),Sf}),Sf}function HE(qd,df,Sf){for(var Yf=-1,gh=qd.length;++Yf<gh;){var Oh=qd[Yf],um=df(Oh);if(um!=null&&(dm===nd?um===um&&!Kb(um):Sf(um,dm)))var dm=um,gm=Oh}return gm}function yS(qd,df,Sf,Yf){var gh=qd.length;for(Sf=P_(Sf),Sf<0&&(Sf=-Sf>gh?0:gh+Sf),Yf=Yf===nd||Yf>gh?gh:P_(Yf),Yf<0&&(Yf+=gh),Yf=Sf>Yf?0:gx(Yf);Sf<Yf;)qd[Sf++]=df;return qd}function Cy(qd,df){var Sf=[];return zb(qd,function(Yf,gh,Oh){df(Yf,gh,Oh)&&Sf.push(Yf)}),Sf}function qg(qd,df,Sf,Yf,gh){var Oh=-1,um=qd.length;for(Sf||(Sf=Ud),gh||(gh=[]);++Oh<um;){var dm=qd[Oh];df>0&&Sf(dm)?df>1?qg(dm,df-1,Sf,Yf,gh):Lb(gh,dm):Yf||(gh[gh.length]=dm)}return gh}var dv=FS(),MT=FS(!0);function wb(qd,df){return qd&&dv(qd,df,ob)}function GE(qd,df){return qd&&MT(qd,df,ob)}function qE(qd,df){return Zb(df,function(Sf){return $y(qd[Sf])})}function P0(qd,df){df=F0(df,qd);for(var Sf=0,Yf=df.length;qd!=null&&Sf<Yf;)qd=qd[Sg(df[Sf++])];return Sf&&Sf==Yf?qd:nd}function Xg(qd,df,Sf){var Yf=df(qd);return k_(qd)?Yf:Lb(Yf,Sf(qd))}function Qg(qd){return qd==null?qd===nd?wh:Qf:O0&&O0 in ag(qd)?I1(qd):jm(qd)}function VE(qd,df){return qd>df}function vS(qd,df){return qd!=null&&J_.call(qd,df)}function ES(qd,df){return qd!=null&&df in ag(qd)}function pv(qd,df,Sf){return qd>=Lg(df,Sf)&&qd<bg(df,Sf)}function fv(qd,df,Sf){for(var Yf=Sf?ev:Zy,gh=qd[0].length,Oh=qd.length,um=Oh,dm=Dm(Oh),gm=1/0,Gm=[];um--;){var Vm=qd[um];um&&df&&(Vm=ug(Vm,w_(df))),gm=Lg(Vm.length,gm),dm[um]=!Sf&&(df||gh>=120&&Vm.length>=120)?new R0(um&&Vm):nd}Vm=qd[0];var Wm=-1,c_=dm[0];e:for(;++Wm<gh&&Gm.length<gm;){var v_=Vm[Wm],A_=df?df(v_):v_;if(v_=Sf||v_!==0?v_:0,!(c_?U_(c_,A_):Yf(Gm,A_,Sf))){for(um=Oh;--um;){var F_=dm[um];if(!(F_?U_(F_,A_):Yf(qd[um],A_,Sf)))continue e}c_&&c_.push(A_),Gm.push(v_)}}return Gm}function TS(qd,df,Sf,Yf){return wb(qd,function(gh,Oh,um){df(Yf,Sf(gh),Oh,um)}),Yf}function hv(qd,df,Sf){df=F0(df,qd),qd=n_(qd,df);var Yf=qd==null?qd:qd[Sg(u0(df))];return Yf==null?nd:lb(Yf,qd,Sf)}function $T(qd){return Fg(qd)&&Qg(qd)==Gf}function mv(qd){return Fg(qd)&&Qg(qd)==cm}function SS(qd){return Fg(qd)&&Qg(qd)==qf}function L0(qd,df,Sf,Yf,gh){return qd===df?!0:qd==null||df==null||!Fg(qd)&&!Fg(df)?qd!==qd&&df!==df:xS(qd,df,Sf,Yf,L0,gh)}function xS(qd,df,Sf,Yf,gh,Oh){var um=k_(qd),dm=k_(df),gm=um?zf:zg(qd),Gm=dm?zf:zg(df);gm=gm==Gf?wf:gm,Gm=Gm==Gf?wf:Gm;var Vm=gm==wf,Wm=Gm==wf,c_=gm==Gm;if(c_&&Mv(qd)){if(!Mv(df))return!1;um=!0,Vm=!1}if(c_&&!Vm)return Oh||(Oh=new Tg),um||iT(qd)?Ib(qd,df,Sf,Yf,gh,Oh):eT(qd,df,gm,Sf,Yf,gh,Oh);if(!(Sf&Id)){var v_=Vm&&J_.call(qd,"__wrapped__"),A_=Wm&&J_.call(df,"__wrapped__");if(v_||A_){var F_=v_?qd.value():qd,D_=A_?df.value():df;return Oh||(Oh=new Tg),gh(F_,D_,Sf,Yf,Oh)}}return c_?(Oh||(Oh=new Tg),KT(qd,df,Sf,Yf,gh,Oh)):!1}function eE(qd){return Fg(qd)&&zg(qd)==uh}function PT(qd,df,Sf,Yf){var gh=Sf.length,Oh=gh,um=!Yf;if(qd==null)return!Oh;for(qd=ag(qd);gh--;){var dm=Sf[gh];if(um&&dm[2]?dm[1]!==qd[dm[0]]:!(dm[0]in qd))return!1}for(;++gh<Oh;){dm=Sf[gh];var gm=dm[0],Gm=qd[gm],Vm=dm[1];if(um&&dm[2]){if(Gm===nd&&!(gm in qd))return!1}else{var Wm=new Tg;if(Yf)var c_=Yf(Gm,Vm,gm,qd,df,Wm);if(!(c_===nd?L0(Vm,Gm,Id|kd,Yf,Wm):c_))return!1}}return!0}function Ay(qd){if(!Mg(qd)||Kf(qd))return!1;var df=$y(qd)?w0:im;return df.test(Og(qd))}function CS(qd){return Fg(qd)&&Qg(qd)==Th}function AS(qd){return Fg(qd)&&zg(qd)==vh}function DS(qd){return Fg(qd)&&e1(qd.length)&&!!Jm[Qg(qd)]}function _v(qd){return typeof qd=="function"?qd:qd==null?Mb:typeof qd=="object"?k_(qd)?BT(qd[0],qd[1]):wS(qd):Nx(qd)}function Dy(qd){if(!mh(qd))return xT(qd);var df=[];for(var Sf in ag(qd))J_.call(qd,Sf)&&Sf!="constructor"&&df.push(Sf);return df}function tE(qd){if(!Mg(qd))return Rm(qd);var df=mh(qd),Sf=[];for(var Yf in qd)Yf=="constructor"&&(df||!J_.call(qd,Yf))||Sf.push(Yf);return Sf}function Ny(qd,df){return qd<df}function LT(qd,df){var Sf=-1,Yf=Rb(qd)?Dm(qd.length):[];return zb(qd,function(gh,Oh,um){Yf[++Sf]=df(gh,Oh,um)}),Yf}function wS(qd){var df=Q_(qd);return df.length==1&&df[0][2]?Jh(df[0][0],df[0][1]):function(Sf){return Sf===qd||PT(Sf,qd,df)}}function BT(qd,df){return pf(qd)&&Mh(df)?Jh(Sg(qd),df):function(Sf){var Yf=F1(Sf,qd);return Yf===nd&&Yf===df?j1(Sf,qd):L0(df,Yf,Id|kd)}}function Wb(qd,df,Sf,Yf,gh){qd!==df&&dv(df,function(Oh,um){if(gh||(gh=new Tg),Mg(Oh))gv(qd,df,um,Sf,Wb,Yf,gh);else{var dm=Yf?Yf(t_(qd,um),Oh,um+"",qd,df,gh):nd;dm===nd&&(dm=Oh),Sy(qd,um,dm)}},kb)}function gv(qd,df,Sf,Yf,gh,Oh,um){var dm=t_(qd,Sf),gm=t_(df,Sf),Gm=um.get(gm);if(Gm){Sy(qd,Sf,Gm);return}var Vm=Oh?Oh(dm,gm,Sf+"",qd,df,um):nd,Wm=Vm===nd;if(Wm){var c_=k_(gm),v_=!c_&&Mv(gm),A_=!c_&&!v_&&iT(gm);Vm=gm,c_||v_||A_?k_(dm)?Vm=dm:Yg(dm)?Vm=hb(dm):v_?(Wm=!1,Vm=HT(gm,!0)):A_?(Wm=!1,Vm=GT(gm,!0)):Vm=[]:JT(gm)||_E(gm)?(Vm=dm,_E(dm)?Vm=bx(dm):(!Mg(dm)||$y(dm))&&(Vm=YS(gm))):Wm=!1}Wm&&(um.set(gm,Vm),gh(Vm,gm,Yf,Oh,um),um.delete(gm)),Sy(qd,Sf,Vm)}function bv(qd,df){var Sf=qd.length;if(Sf)return df+=df<0?Sf:0,Jd(df,Sf)?qd[df]:nd}function IS(qd,df,Sf){df.length?df=ug(df,function(Oh){return k_(Oh)?function(um){return P0(um,Oh.length===1?Oh[0]:Oh)}:Oh}):df=[Mb];var Yf=-1;df=ug(df,w_(T_()));var gh=LT(qd,function(Oh,um,dm){var gm=ug(df,function(Gm){return Gm(Oh)});return{criteria:gm,index:++Yf,value:Oh}});return Xh(gh,function(Oh,um){return A1(Oh,um,Sf)})}function OS(qd,df){return RS(qd,df,function(Sf,Yf){return j1(qd,Yf)})}function RS(qd,df,Sf){for(var Yf=-1,gh=df.length,Oh={};++Yf<gh;){var um=df[Yf],dm=P0(qd,um);Sf(dm,um)&&yv(Oh,F0(um,qd),dm)}return Oh}function v1(qd){return function(df){return P0(df,qd)}}function FT(qd,df,Sf,Yf){var gh=Yf?_f:Yd,Oh=-1,um=df.length,dm=qd;for(qd===df&&(df=hb(df)),Sf&&(dm=ug(qd,w_(Sf)));++Oh<um;)for(var gm=0,Gm=df[Oh],Vm=Sf?Sf(Gm):Gm;(gm=gh(dm,Vm,gm,Yf))>-1;)dm!==qd&&ny.call(dm,gm,1),ny.call(qd,gm,1);return qd}function ib(qd,df){for(var Sf=qd?df.length:0,Yf=Sf-1;Sf--;){var gh=df[Sf];if(Sf==Yf||gh!==Oh){var Oh=gh;Jd(gh)?ny.call(qd,gh,1):WE(qd,gh)}}return qd}function zE(qd,df){return qd+ay(CT()*(df-qd+1))}function E1(qd,df,Sf,Yf){for(var gh=-1,Oh=bg(Wv((df-qd)/(Sf||1)),0),um=Dm(Oh);Oh--;)um[Yf?Oh:++gh]=qd,qd+=Sf;return um}function jT(qd,df){var Sf="";if(!qd||df<1||df>Lf)return Sf;do df%2&&(Sf+=qd),df=ay(df/2),df&&(qd+=qd);while(df);return Sf}function $_(qd,df){return m_(Ym(qd,df,Mb),qd+"")}function kS(qd){return wT(aT(qd))}function MS(qd,df){var Sf=aT(qd);return Ng(Sf,v0(df,0,Sf.length))}function yv(qd,df,Sf,Yf){if(!Mg(qd))return qd;df=F0(df,qd);for(var gh=-1,Oh=df.length,um=Oh-1,dm=qd;dm!=null&&++gh<Oh;){var gm=Sg(df[gh]),Gm=Sf;if(gm==="__proto__"||gm==="constructor"||gm==="prototype")return qd;if(gh!=um){var Vm=dm[gm];Gm=Yf?Yf(Vm,gm,dm):nd,Gm===nd&&(Gm=Mg(Vm)?Vm:Jd(df[gh+1])?[]:{})}lv(dm,gm,Gm),dm=dm[gm]}return qd}var $S=Kv?function(qd,df){return Kv.set(qd,df),qd}:Mb,T1=av?function(qd,df){return av(qd,"toString",{configurable:!0,enumerable:!1,value:H1(df),writable:!0})}:Mb;function S1(qd){return Ng(aT(qd))}function Vg(qd,df,Sf){var Yf=-1,gh=qd.length;df<0&&(df=-df>gh?0:gh+df),Sf=Sf>gh?gh:Sf,Sf<0&&(Sf+=gh),gh=df>Sf?0:Sf-df>>>0,df>>>=0;for(var Oh=Dm(gh);++Yf<gh;)Oh[Yf]=qd[Yf+df];return Oh}function rE(qd,df){var Sf;return zb(qd,function(Yf,gh,Oh){return Sf=df(Yf,gh,Oh),!Sf}),!!Sf}function Iy(qd,df,Sf){var Yf=0,gh=qd==null?Yf:qd.length;if(typeof df=="number"&&df===df&&gh<=Df){for(;Yf<gh;){var Oh=Yf+gh>>>1,um=qd[Oh];um!==null&&!Kb(um)&&(Sf?um<=df:um<df)?Yf=Oh+1:gh=Oh}return gh}return Oy(qd,df,Mb,Sf)}function Oy(qd,df,Sf,Yf){var gh=0,Oh=qd==null?0:qd.length;if(Oh===0)return 0;df=Sf(df);for(var um=df!==df,dm=df===null,gm=Kb(df),Gm=df===nd;gh<Oh;){var Vm=ay((gh+Oh)/2),Wm=Sf(qd[Vm]),c_=Wm!==nd,v_=Wm===null,A_=Wm===Wm,F_=Kb(Wm);if(um)var D_=Yf||A_;else Gm?D_=A_&&(Yf||c_):dm?D_=A_&&c_&&(Yf||!v_):gm?D_=A_&&c_&&!v_&&(Yf||!F_):v_||F_?D_=!1:D_=Yf?Wm<=df:Wm<df;D_?gh=Vm+1:Oh=Vm}return Lg(Oh,Bf)}function i0(qd,df){for(var Sf=-1,Yf=qd.length,gh=0,Oh=[];++Sf<Yf;){var um=qd[Sf],dm=df?df(um):um;if(!Sf||!T0(dm,gm)){var gm=dm;Oh[gh++]=um===0?0:um}}return Oh}function PS(qd){return typeof qd=="number"?qd:Kb(qd)?Jf:+qd}function bb(qd){if(typeof qd=="string")return qd;if(k_(qd))return ug(qd,bb)+"";if(Kb(qd))return cS?cS.call(qd):"";var df=qd+"";return df=="0"&&1/qd==-Af?"-0":df}function yb(qd,df,Sf){var Yf=-1,gh=Zy,Oh=qd.length,um=!0,dm=[],gm=dm;if(Sf)um=!1,gh=ev;else if(Oh>=ld){var Gm=df?null:w1(qd);if(Gm)return _b(Gm);um=!1,gh=U_,gm=new R0}else gm=df?[]:dm;e:for(;++Yf<Oh;){var Vm=qd[Yf],Wm=df?df(Vm):Vm;if(Vm=Sf||Vm!==0?Vm:0,um&&Wm===Wm){for(var c_=gm.length;c_--;)if(gm[c_]===Wm)continue e;df&&gm.push(Wm),dm.push(Vm)}else gh(gm,Wm,Sf)||(gm!==dm&&gm.push(Wm),dm.push(Vm))}return dm}function WE(qd,df){return df=F0(df,qd),qd=n_(qd,df),qd==null||delete qd[Sg(u0(df))]}function UT(qd,df,Sf,Yf){return yv(qd,df,Sf(P0(qd,df)),Yf)}function nE(qd,df,Sf,Yf){for(var gh=qd.length,Oh=Yf?gh:-1;(Yf?Oh--:++Oh<gh)&&df(qd[Oh],Oh,qd););return Sf?Vg(qd,Yf?0:Oh,Yf?Oh+1:gh):Vg(qd,Yf?Oh+1:0,Yf?gh:Oh)}function iE(qd,df){var Sf=qd;return Sf instanceof S_&&(Sf=Sf.value()),qv(df,function(Yf,gh){return gh.func.apply(gh.thisArg,Lb([Yf],gh.args))},Sf)}function B0(qd,df,Sf){var Yf=qd.length;if(Yf<2)return Yf?yb(qd[0]):[];for(var gh=-1,Oh=Dm(Yf);++gh<Yf;)for(var um=qd[gh],dm=-1;++dm<Yf;)dm!=gh&&(Oh[gh]=Zv(Oh[gh]||um,qd[dm],df,Sf));return yb(qg(Oh,1),df,Sf)}function YE(qd,df,Sf){for(var Yf=-1,gh=qd.length,Oh=df.length,um={};++Yf<gh;){var dm=Yf<Oh?df[Yf]:nd;Sf(um,qd[Yf],dm)}return um}function aE(qd){return Yg(qd)?qd:[]}function sE(qd){return typeof qd=="function"?qd:Mb}function F0(qd,df){return k_(qd)?qd:pf(qd,df)?[qd]:gg(sg(qd))}var oE=$_;function E0(qd,df,Sf){var Yf=qd.length;return Sf=Sf===nd?Yf:Sf,!df&&Sf>=Yf?qd:Vg(qd,df,Sf)}var LS=ET||function(qd){return Z_.clearTimeout(qd)};function HT(qd,df){if(df)return qd.slice();var Sf=qd.length,Yf=yT?yT(Sf):new qd.constructor(Sf);return qd.copy(Yf),Yf}function vv(qd){var df=new qd.constructor(qd.byteLength);return new ME(df).set(new ME(qd)),df}function x1(qd,df){var Sf=df?vv(qd.buffer):qd.buffer;return new qd.constructor(Sf,qd.byteOffset,qd.byteLength)}function C1(qd){var df=new qd.constructor(qd.source,Wh.exec(qd));return df.lastIndex=qd.lastIndex,df}function lE(qd){return Xv?ag(Xv.call(qd)):{}}function GT(qd,df){var Sf=df?vv(qd.buffer):qd.buffer;return new qd.constructor(Sf,qd.byteOffset,qd.length)}function qT(qd,df){if(qd!==df){var Sf=qd!==nd,Yf=qd===null,gh=qd===qd,Oh=Kb(qd),um=df!==nd,dm=df===null,gm=df===df,Gm=Kb(df);if(!dm&&!Gm&&!Oh&&qd>df||Oh&&um&&gm&&!dm&&!Gm||Yf&&um&&gm||!Sf&&gm||!gh)return 1;if(!Yf&&!Oh&&!Gm&&qd<df||Gm&&Sf&&gh&&!Yf&&!Oh||dm&&Sf&&gh||!um&&gh||!gm)return-1}return 0}function A1(qd,df,Sf){for(var Yf=-1,gh=qd.criteria,Oh=df.criteria,um=gh.length,dm=Sf.length;++Yf<um;){var gm=qT(gh[Yf],Oh[Yf]);if(gm){if(Yf>=dm)return gm;var Gm=Sf[Yf];return gm*(Gm=="desc"?-1:1)}}return qd.index-df.index}function KE(qd,df,Sf,Yf){for(var gh=-1,Oh=qd.length,um=Sf.length,dm=-1,gm=df.length,Gm=bg(Oh-um,0),Vm=Dm(gm+Gm),Wm=!Yf;++dm<gm;)Vm[dm]=df[dm];for(;++gh<um;)(Wm||gh<Oh)&&(Vm[Sf[gh]]=qd[gh]);for(;Gm--;)Vm[dm++]=qd[gh++];return Vm}function VT(qd,df,Sf,Yf){for(var gh=-1,Oh=qd.length,um=-1,dm=Sf.length,gm=-1,Gm=df.length,Vm=bg(Oh-dm,0),Wm=Dm(Vm+Gm),c_=!Yf;++gh<Vm;)Wm[gh]=qd[gh];for(var v_=gh;++gm<Gm;)Wm[v_+gm]=df[gm];for(;++um<dm;)(c_||gh<Oh)&&(Wm[v_+Sf[um]]=qd[gh++]);return Wm}function hb(qd,df){var Sf=-1,Yf=qd.length;for(df||(df=Dm(Yf));++Sf<Yf;)df[Sf]=qd[Sf];return df}function Yb(qd,df,Sf,Yf){var gh=!Sf;Sf||(Sf={});for(var Oh=-1,um=df.length;++Oh<um;){var dm=df[Oh],gm=Yf?Yf(Sf[dm],qd[dm],dm,Sf,qd):nd;gm===nd&&(gm=qd[dm]),gh?y0(Sf,dm,gm):lv(Sf,dm,gm)}return Sf}function BS(qd,df){return Yb(qd,U0(qd),df)}function D1(qd,df){return Yb(qd,zS(qd),df)}function Ev(qd,df){return function(Sf,Yf){var gh=k_(Sf)?Gv:$0,Oh=df?df():{};return gh(Sf,qd,T_(Yf,2),Oh)}}function a0(qd){return $_(function(df,Sf){var Yf=-1,gh=Sf.length,Oh=gh>1?Sf[gh-1]:nd,um=gh>2?Sf[2]:nd;for(Oh=qd.length>3&&typeof Oh=="function"?(gh--,Oh):nd,um&&Qd(Sf[0],Sf[1],um)&&(Oh=gh<3?nd:Oh,gh=1),df=ag(df);++Yf<gh;){var dm=Sf[Yf];dm&&qd(df,dm,Yf,Oh)}return df})}function Cv(qd,df){return function(Sf,Yf){if(Sf==null)return Sf;if(!Rb(Sf))return qd(Sf,Yf);for(var gh=Sf.length,Oh=df?gh:-1,um=ag(Sf);(df?Oh--:++Oh<gh)&&Yf(um[Oh],Oh,um)!==!1;);return Sf}}function FS(qd){return function(df,Sf,Yf){for(var gh=-1,Oh=ag(df),um=Yf(df),dm=um.length;dm--;){var gm=um[qd?dm:++gh];if(Sf(Oh[gm],gm,Oh)===!1)break}return df}}function jS(qd,df,Sf){var Yf=df&jd,gh=uE(qd);function Oh(){var um=this&&this!==Z_&&this instanceof Oh?gh:qd;return um.apply(Yf?Sf:this,arguments)}return Oh}function US(qd){return function(df){df=sg(df);var Sf=rv(df)?Bb(df):nd,Yf=Sf?Sf[0]:df.charAt(0),gh=Sf?E0(Sf,1).join(""):df.slice(1);return Yf[qd]()+gh}}function Av(qd){return function(df){return qv(Ax(Cx(df).replace(A0,"")),qd,"")}}function uE(qd){return function(){var df=arguments;switch(df.length){case 0:return new qd;case 1:return new qd(df[0]);case 2:return new qd(df[0],df[1]);case 3:return new qd(df[0],df[1],df[2]);case 4:return new qd(df[0],df[1],df[2],df[3]);case 5:return new qd(df[0],df[1],df[2],df[3],df[4]);case 6:return new qd(df[0],df[1],df[2],df[3],df[4],df[5]);case 7:return new qd(df[0],df[1],df[2],df[3],df[4],df[5],df[6])}var Sf=ov(qd.prototype),Yf=qd.apply(Sf,df);return Mg(Yf)?Yf:Sf}}function N1(qd,df,Sf){var Yf=uE(qd);function gh(){for(var Oh=arguments.length,um=Dm(Oh),dm=Oh,gm=wv(gh);dm--;)um[dm]=arguments[dm];var Gm=Oh<3&&um[0]!==gm&&um[Oh-1]!==gm?[]:mb(um,gm);if(Oh-=Gm.length,Oh<Sf)return dE(qd,df,XE,gh.placeholder,nd,um,Gm,nd,nd,Sf-Oh);var Vm=this&&this!==Z_&&this instanceof gh?Yf:qd;return lb(Vm,this,um)}return gh}function zT(qd){return function(df,Sf,Yf){var gh=ag(df);if(!Rb(df)){var Oh=T_(Sf,3);df=ob(df),Sf=function(dm){return Oh(gh[dm],dm,gh)}}var um=qd(df,Sf,Yf);return um>-1?gh[Oh?df[um]:um]:nd}}function HS(qd){return s0(function(df){var Sf=df.length,Yf=Sf,gh=eg.prototype.thru;for(qd&&df.reverse();Yf--;){var Oh=df[Yf];if(typeof Oh!="function")throw new Db(cd);if(gh&&!um&&hE(Oh)=="wrapper")var um=new eg([],!0)}for(Yf=um?Yf:Sf;++Yf<Sf;){Oh=df[Yf];var dm=hE(Oh),gm=dm=="wrapper"?fE(Oh):nd;gm&&jf(gm[0])&&gm[1]==(Kd|Ld|Gd|mf)&&!gm[4].length&&gm[9]==1?um=um[hE(gm[0])].apply(um,gm[3]):um=Oh.length==1&&jf(Oh)?um[dm]():um.thru(Oh)}return function(){var Gm=arguments,Vm=Gm[0];if(um&&Gm.length==1&&k_(Vm))return um.plant(Vm).value();for(var Wm=0,c_=Sf?df[Wm].apply(this,Gm):Vm;++Wm<Sf;)c_=df[Wm].call(this,c_);return c_}})}function XE(qd,df,Sf,Yf,gh,Oh,um,dm,gm,Gm){var Vm=df&Kd,Wm=df&jd,c_=df&Fd,v_=df&(Ld|Hd),A_=df&Wd,F_=c_?nd:uE(qd);function D_(){for(var G_=arguments.length,W_=Dm(G_),Xb=G_;Xb--;)W_[Xb]=arguments[Xb];if(v_)var vb=wv(D_),Qb=Q0(W_,vb);if(Yf&&(W_=KE(W_,Yf,gh,v_)),Oh&&(W_=VT(W_,Oh,um,v_)),G_-=Qb,v_&&G_<Gm){var Kg=mb(W_,vb);return dE(qd,df,XE,D_.placeholder,Sf,W_,Kg,dm,gm,Gm-G_)}var S0=Wm?Sf:this,Ly=c_?S0[qd]:qd;return G_=W_.length,dm?W_=a_(W_,dm):A_&&G_>1&&W_.reverse(),Vm&&gm<G_&&(W_.length=gm),this&&this!==Z_&&this instanceof D_&&(Ly=F_||uE(Ly)),Ly.apply(S0,W_)}return D_}function WT(qd,df){return function(Sf,Yf){return TS(Sf,qd,df(Yf),{})}}function Nv(qd,df){return function(Sf,Yf){var gh;if(Sf===nd&&Yf===nd)return df;if(Sf!==nd&&(gh=Sf),Yf!==nd){if(gh===nd)return Yf;typeof Sf=="string"||typeof Yf=="string"?(Sf=bb(Sf),Yf=bb(Yf)):(Sf=PS(Sf),Yf=PS(Yf)),gh=qd(Sf,Yf)}return gh}}function QE(qd){return s0(function(df){return df=ug(df,w_(T_())),$_(function(Sf){var Yf=this;return qd(df,function(gh){return lb(gh,Yf,Sf)})})})}function JE(qd,df){df=df===nd?" ":bb(df);var Sf=df.length;if(Sf<2)return Sf?jT(df,qd):df;var Yf=jT(df,Wv(qd/nv(df)));return rv(df)?E0(Bb(Yf),0,qd).join(""):Yf.slice(0,qd)}function GS(qd,df,Sf,Yf){var gh=df&jd,Oh=uE(qd);function um(){for(var dm=-1,gm=arguments.length,Gm=-1,Vm=Yf.length,Wm=Dm(Vm+gm),c_=this&&this!==Z_&&this instanceof um?Oh:qd;++Gm<Vm;)Wm[Gm]=Yf[Gm];for(;gm--;)Wm[Gm++]=arguments[++dm];return lb(c_,gh?Sf:this,Wm)}return um}function Ry(qd){return function(df,Sf,Yf){return Yf&&typeof Yf!="number"&&Qd(df,Sf,Yf)&&(Sf=Yf=nd),df=Py(df),Sf===nd?(Sf=df,df=0):Sf=Py(Sf),Yf=Yf===nd?df<Sf?1:-1:Py(Yf),E1(df,Sf,Yf,qd)}}function cE(qd){return function(df,Sf){return typeof df=="string"&&typeof Sf=="string"||(df=c0(df),Sf=c0(Sf)),qd(df,Sf)}}function dE(qd,df,Sf,Yf,gh,Oh,um,dm,gm,Gm){var Vm=df&Ld,Wm=Vm?um:nd,c_=Vm?nd:um,v_=Vm?Oh:nd,A_=Vm?nd:Oh;df|=Vm?Gd:Vd,df&=~(Vm?Vd:Gd),df&Md||(df&=~(jd|Fd));var F_=[qd,df,gh,v_,Wm,A_,c_,dm,gm,Gm],D_=Sf.apply(nd,F_);return jf(qd)&&u_(D_,F_),D_.placeholder=Yf,R_(D_,qd,df)}function YT(qd){var df=Pg[qd];return function(Sf,Yf){if(Sf=c0(Sf),Yf=Yf==null?0:Lg(P_(Yf),292),Yf&&lS(Sf)){var gh=(sg(Sf)+"e").split("e"),Oh=df(gh[0]+"e"+(+gh[1]+Yf));return gh=(sg(Oh)+"e").split("e"),+(gh[0]+"e"+(+gh[1]-Yf))}return df(Sf)}}var w1=Nb&&1/_b(new Nb([,-0]))[1]==Af?function(qd){return new Nb(qd)}:V1;function qS(qd){return function(df){var Sf=zg(df);return Sf==uh?IE(df):Sf==vh?tS(df):l_(df,qd(df))}}function z_(qd,df,Sf,Yf,gh,Oh,um,dm){var gm=df&Fd;if(!gm&&typeof qd!="function")throw new Db(cd);var Gm=Yf?Yf.length:0;if(Gm||(df&=~(Gd|Vd),Yf=gh=nd),um=um===nd?um:bg(P_(um),0),dm=dm===nd?dm:P_(dm),Gm-=gh?gh.length:0,df&Vd){var Vm=Yf,Wm=gh;Yf=gh=nd}var c_=gm?nd:fE(qd),v_=[qd,df,Sf,Yf,gh,Vm,Wm,Oh,um,dm];if(c_&&pm(v_,c_),qd=v_[0],df=v_[1],Sf=v_[2],Yf=v_[3],gh=v_[4],dm=v_[9]=v_[9]===nd?gm?0:qd.length:bg(v_[9]-Gm,0),!dm&&df&(Ld|Hd)&&(df&=~(Ld|Hd)),!df||df==jd)var A_=jS(qd,df,Sf);else df==Ld||df==Hd?A_=N1(qd,df,dm):(df==Gd||df==(jd|Gd))&&!gh.length?A_=GS(qd,df,Sf,Yf):A_=XE.apply(nd,v_);var F_=c_?$S:u_;return R_(F_(A_,v_),qd,df)}function VS(qd,df,Sf,Yf){return qd===nd||T0(qd,Fb[Sf])&&!J_.call(Yf,Sf)?df:qd}function ZE(qd,df,Sf,Yf,gh,Oh){return Mg(qd)&&Mg(df)&&(Oh.set(df,qd),Wb(qd,df,nd,ZE,Oh),Oh.delete(df)),qd}function pE(qd){return JT(qd)?nd:qd}function Ib(qd,df,Sf,Yf,gh,Oh){var um=Sf&Id,dm=qd.length,gm=df.length;if(dm!=gm&&!(um&&gm>dm))return!1;var Gm=Oh.get(qd),Vm=Oh.get(df);if(Gm&&Vm)return Gm==df&&Vm==qd;var Wm=-1,c_=!0,v_=Sf&kd?new R0:nd;for(Oh.set(qd,df),Oh.set(df,qd);++Wm<dm;){var A_=qd[Wm],F_=df[Wm];if(Yf)var D_=um?Yf(F_,A_,Wm,df,qd,Oh):Yf(A_,F_,Wm,qd,df,Oh);if(D_!==nd){if(D_)continue;c_=!1;break}if(v_){if(!N0(df,function(G_,W_){if(!U_(v_,W_)&&(A_===G_||gh(A_,G_,Sf,Yf,Oh)))return v_.push(W_)})){c_=!1;break}}else if(!(A_===F_||gh(A_,F_,Sf,Yf,Oh))){c_=!1;break}}return Oh.delete(qd),Oh.delete(df),c_}function eT(qd,df,Sf,Yf,gh,Oh,um){switch(Sf){case Sm:if(qd.byteLength!=df.byteLength||qd.byteOffset!=df.byteOffset)return!1;qd=qd.buffer,df=df.buffer;case cm:return!(qd.byteLength!=df.byteLength||!Oh(new ME(qd),new ME(df)));case vf:case qf:case xh:return T0(+qd,+df);case ch:return qd.name==df.name&&qd.message==df.message;case Th:case ph:return qd==df+"";case uh:var dm=IE;case vh:var gm=Yf&Id;if(dm||(dm=_b),qd.size!=df.size&&!gm)return!1;var Gm=um.get(qd);if(Gm)return Gm==df;Yf|=kd,um.set(qd,df);var Vm=Ib(dm(qd),dm(df),Yf,gh,Oh,um);return um.delete(qd),Vm;case Vh:if(Xv)return Xv.call(qd)==Xv.call(df)}return!1}function KT(qd,df,Sf,Yf,gh,Oh){var um=Sf&Id,dm=tT(qd),gm=dm.length,Gm=tT(df),Vm=Gm.length;if(gm!=Vm&&!um)return!1;for(var Wm=gm;Wm--;){var c_=dm[Wm];if(!(um?c_ in df:J_.call(df,c_)))return!1}var v_=Oh.get(qd),A_=Oh.get(df);if(v_&&A_)return v_==df&&A_==qd;var F_=!0;Oh.set(qd,df),Oh.set(df,qd);for(var D_=um;++Wm<gm;){c_=dm[Wm];var G_=qd[c_],W_=df[c_];if(Yf)var Xb=um?Yf(W_,G_,c_,df,qd,Oh):Yf(G_,W_,c_,qd,df,Oh);if(!(Xb===nd?G_===W_||gh(G_,W_,Sf,Yf,Oh):Xb)){F_=!1;break}D_||(D_=c_=="constructor")}if(F_&&!D_){var vb=qd.constructor,Qb=df.constructor;vb!=Qb&&"constructor"in qd&&"constructor"in df&&!(typeof vb=="function"&&vb instanceof vb&&typeof Qb=="function"&&Qb instanceof Qb)&&(F_=!1)}return Oh.delete(qd),Oh.delete(df),F_}function s0(qd){return m_(Ym(qd,nd,q0),qd+"")}function tT(qd){return Xg(qd,ob,U0)}function rT(qd){return Xg(qd,kb,zS)}var fE=Kv?function(qd){return Kv.get(qd)}:V1;function hE(qd){for(var df=qd.name+"",Sf=oy[df],Yf=J_.call(oy,df)?Sf.length:0;Yf--;){var gh=Sf[Yf],Oh=gh.func;if(Oh==null||Oh==qd)return gh.name}return df}function wv(qd){var df=J_.call(Ah,"placeholder")?Ah:qd;return df.placeholder}function T_(){var qd=Ah.iteratee||G1;return qd=qd===G1?_v:qd,arguments.length?qd(arguments[0],arguments[1]):qd}function mE(qd,df){var Sf=qd.__data__;return Cf(df)?Sf[typeof df=="string"?"string":"hash"]:Sf.map}function Q_(qd){for(var df=ob(qd),Sf=df.length;Sf--;){var Yf=df[Sf],gh=qd[Yf];df[Sf]=[Yf,gh,Mh(gh)]}return df}function j0(qd,df){var Sf=_T(qd,df);return Ay(Sf)?Sf:nd}function I1(qd){var df=J_.call(qd,O0),Sf=qd[O0];try{qd[O0]=nd;var Yf=!0}catch{}var gh=t0.call(qd);return Yf&&(df?qd[O0]=Sf:delete qd[O0]),gh}var U0=TT?function(qd){return qd==null?[]:(qd=ag(qd),Zb(TT(qd),function(df){return $E.call(qd,df)}))}:z1,zS=TT?function(qd){for(var df=[];qd;)Lb(df,U0(qd)),qd=I0(qd);return df}:z1,zg=Qg;(BE&&zg(new BE(new ArrayBuffer(1)))!=Sm||Hb&&zg(new Hb)!=uh||sy&&zg(sy.resolve())!=$f||Nb&&zg(new Nb)!=vh||g0&&zg(new g0)!=fm)&&(zg=function(qd){var df=Qg(qd),Sf=df==wf?qd.constructor:nd,Yf=Sf?Og(Sf):"";if(Yf)switch(Yf){case uS:return Sm;case l1:return uh;case uy:return $f;case Ty:return vh;case u1:return fm}return df});function O1(qd,df,Sf){for(var Yf=-1,gh=Sf.length;++Yf<gh;){var Oh=Sf[Yf],um=Oh.size;switch(Oh.type){case"drop":qd+=um;break;case"dropRight":df-=um;break;case"take":df=Lg(df,qd+um);break;case"takeRight":qd=bg(qd,df-um);break}}return{start:qd,end:df}}function Dg(qd){var df=qd.match(db);return df?df[1].split($g):[]}function WS(qd,df,Sf){df=F0(df,qd);for(var Yf=-1,gh=df.length,Oh=!1;++Yf<gh;){var um=Sg(df[Yf]);if(!(Oh=qd!=null&&Sf(qd,um)))break;qd=qd[um]}return Oh||++Yf!=gh?Oh:(gh=qd==null?0:qd.length,!!gh&&e1(gh)&&Jd(um,gh)&&(k_(qd)||_E(qd)))}function R1(qd){var df=qd.length,Sf=new qd.constructor(df);return df&&typeof qd[0]=="string"&&J_.call(qd,"index")&&(Sf.index=qd.index,Sf.input=qd.input),Sf}function YS(qd){return typeof qd.constructor=="function"&&!mh(qd)?ov(I0(qd)):{}}function nT(qd,df,Sf){var Yf=qd.constructor;switch(df){case cm:return vv(qd);case vf:case qf:return new Yf(+qd);case Sm:return x1(qd,Sf);case $m:case fh:case Rf:case If:case dh:case yh:case Uh:case Zh:case _m:return GT(qd,Sf);case uh:return new Yf;case xh:case ph:return new Yf(qd);case Th:return C1(qd);case vh:return new Yf;case Vh:return lE(qd)}}function Od(qd,df){var Sf=df.length;if(!Sf)return qd;var Yf=Sf-1;return df[Yf]=(Sf>1?"& ":"")+df[Yf],df=df.join(Sf>2?", ":" "),qd.replace(Zg,`{
|
||
/* [wrapped with `+df+`] */
|
||
`)}function Ud(qd){return k_(qd)||_E(qd)||!!(oS&&qd&&qd[oS])}function Jd(qd,df){var Sf=typeof qd;return df=df??Lf,!!df&&(Sf=="number"||Sf!="symbol"&&Im.test(qd))&&qd>-1&&qd%1==0&&qd<df}function Qd(qd,df,Sf){if(!Mg(Sf))return!1;var Yf=typeof df;return(Yf=="number"?Rb(Sf)&&Jd(df,Sf.length):Yf=="string"&&df in Sf)?T0(Sf[df],qd):!1}function pf(qd,df){if(k_(qd))return!1;var Sf=typeof qd;return Sf=="number"||Sf=="symbol"||Sf=="boolean"||qd==null||Kb(qd)?!0:L_.test(qd)||!tg.test(qd)||df!=null&&qd in ag(df)}function Cf(qd){var df=typeof qd;return df=="string"||df=="number"||df=="symbol"||df=="boolean"?qd!=="__proto__":qd===null}function jf(qd){var df=hE(qd),Sf=Ah[df];if(typeof Sf!="function"||!(df in S_.prototype))return!1;if(qd===Sf)return!0;var Yf=fE(Sf);return!!Yf&&qd===Yf[0]}function Kf(qd){return!!kE&&kE in qd}var sh=_0?$y:W1;function mh(qd){var df=qd&&qd.constructor,Sf=typeof df=="function"&&df.prototype||Fb;return qd===Sf}function Mh(qd){return qd===qd&&!Mg(qd)}function Jh(qd,df){return function(Sf){return Sf==null?!1:Sf[qd]===df&&(df!==nd||qd in ag(Sf))}}function hm(qd){var df=JS(qd,function(Yf){return Sf.size===fd&&Sf.clear(),Yf}),Sf=df.cache;return df}function pm(qd,df){var Sf=qd[1],Yf=df[1],gh=Sf|Yf,Oh=gh<(jd|Fd|Kd),um=Yf==Kd&&Sf==Ld||Yf==Kd&&Sf==mf&&qd[7].length<=df[8]||Yf==(Kd|mf)&&df[7].length<=df[8]&&Sf==Ld;if(!(Oh||um))return qd;Yf&jd&&(qd[2]=df[2],gh|=Sf&jd?0:Md);var dm=df[3];if(dm){var gm=qd[3];qd[3]=gm?KE(gm,dm,df[4]):dm,qd[4]=gm?mb(qd[3],md):df[4]}return dm=df[5],dm&&(gm=qd[5],qd[5]=gm?VT(gm,dm,df[6]):dm,qd[6]=gm?mb(qd[5],md):df[6]),dm=df[7],dm&&(qd[7]=dm),Yf&Kd&&(qd[8]=qd[8]==null?df[8]:Lg(qd[8],df[8])),qd[9]==null&&(qd[9]=df[9]),qd[0]=df[0],qd[1]=gh,qd}function Rm(qd){var df=[];if(qd!=null)for(var Sf in ag(qd))df.push(Sf);return df}function jm(qd){return t0.call(qd)}function Ym(qd,df,Sf){return df=bg(df===nd?qd.length-1:df,0),function(){for(var Yf=arguments,gh=-1,Oh=bg(Yf.length-df,0),um=Dm(Oh);++gh<Oh;)um[gh]=Yf[df+gh];gh=-1;for(var dm=Dm(df+1);++gh<df;)dm[gh]=Yf[gh];return dm[df]=Sf(um),lb(qd,this,dm)}}function n_(qd,df){return df.length<2?qd:P0(qd,Vg(df,0,-1))}function a_(qd,df){for(var Sf=qd.length,Yf=Lg(df.length,Sf),gh=hb(qd);Yf--;){var Oh=df[Yf];qd[Yf]=Jd(Oh,Sf)?gh[Oh]:nd}return qd}function t_(qd,df){if(!(df==="constructor"&&typeof qd[df]=="function")&&df!="__proto__")return qd[df]}var u_=ng($S),g_=PE||function(qd,df){return Z_.setTimeout(qd,df)},m_=ng(T1);function R_(qd,df,Sf){var Yf=df+"";return m_(qd,Od(Yf,Rg(Dg(Yf),Sf)))}function ng(qd){var df=0,Sf=0;return function(){var Yf=o1(),gh=yf-(Yf-Sf);if(Sf=Yf,gh>0){if(++df>=bf)return arguments[0]}else df=0;return qd.apply(nd,arguments)}}function Ng(qd,df){var Sf=-1,Yf=qd.length,gh=Yf-1;for(df=df===nd?Yf:df;++Sf<df;){var Oh=zE(Sf,gh),um=qd[Oh];qd[Oh]=qd[Sf],qd[Sf]=um}return qd.length=df,qd}var gg=hm(function(qd){var df=[];return qd.charCodeAt(0)===46&&df.push(""),qd.replace(dg,function(Sf,Yf,gh,Oh){df.push(gh?Oh.replace(_h,"$1"):Yf||Sf)}),df});function Sg(qd){if(typeof qd=="string"||Kb(qd))return qd;var df=qd+"";return df=="0"&&1/qd==-Af?"-0":df}function Og(qd){if(qd!=null){try{return iv.call(qd)}catch{}try{return qd+""}catch{}}return""}function Rg(qd,df){return fb(Uf,function(Sf){var Yf="_."+Sf[0];df&Sf[1]&&!Zy(qd,Yf)&&qd.push(Yf)}),qd.sort()}function ab(qd){if(qd instanceof S_)return qd.clone();var df=new eg(qd.__wrapped__,qd.__chain__);return df.__actions__=hb(qd.__actions__),df.__index__=qd.__index__,df.__values__=qd.__values__,df}function Jg(qd,df,Sf){(Sf?Qd(qd,df,Sf):df===nd)?df=1:df=bg(P_(df),0);var Yf=qd==null?0:qd.length;if(!Yf||df<1)return[];for(var gh=0,Oh=0,um=Dm(Wv(Yf/df));gh<Yf;)um[Oh++]=Vg(qd,gh,gh+=df);return um}function Bg(qd){for(var df=-1,Sf=qd==null?0:qd.length,Yf=0,gh=[];++df<Sf;){var Oh=qd[df];Oh&&(gh[Yf++]=Oh)}return gh}function kg(){var qd=arguments.length;if(!qd)return[];for(var df=Dm(qd-1),Sf=arguments[0],Yf=qd;Yf--;)df[Yf-1]=arguments[Yf];return Lb(k_(Sf)?hb(Sf):[Sf],qg(df,1))}var xg=$_(function(qd,df){return Yg(qd)?Zv(qd,qg(df,1,Yg,!0)):[]}),cb=$_(function(qd,df){var Sf=u0(df);return Yg(Sf)&&(Sf=nd),Yg(qd)?Zv(qd,qg(df,1,Yg,!0),T_(Sf,2)):[]}),Ov=$_(function(qd,df){var Sf=u0(df);return Yg(Sf)&&(Sf=nd),Yg(qd)?Zv(qd,qg(df,1,Yg,!0),nd,Sf):[]});function H0(qd,df,Sf){var Yf=qd==null?0:qd.length;return Yf?(df=Sf||df===nd?1:P_(df),Vg(qd,df<0?0:df,Yf)):[]}function tb(qd,df,Sf){var Yf=qd==null?0:qd.length;return Yf?(df=Sf||df===nd?1:P_(df),df=Yf-df,Vg(qd,0,df<0?0:df)):[]}function o0(qd,df){return qd&&qd.length?nE(qd,T_(df,3),!0,!0):[]}function Wg(qd,df){return qd&&qd.length?nE(qd,T_(df,3),!0):[]}function XT(qd,df,Sf,Yf){var gh=qd==null?0:qd.length;return gh?(Sf&&typeof Sf!="number"&&Qd(qd,df,Sf)&&(Sf=0,Yf=gh),yS(qd,df,Sf,Yf)):[]}function l0(qd,df,Sf){var Yf=qd==null?0:qd.length;if(!Yf)return-1;var gh=Sf==null?0:P_(Sf);return gh<0&&(gh=bg(Yf+gh,0)),Bd(qd,T_(df,3),gh)}function G0(qd,df,Sf){var Yf=qd==null?0:qd.length;if(!Yf)return-1;var gh=Yf-1;return Sf!==nd&&(gh=P_(Sf),gh=Sf<0?bg(Yf+gh,0):Lg(gh,Yf-1)),Bd(qd,T_(df,3),gh,!0)}function q0(qd){var df=qd==null?0:qd.length;return df?qg(qd,1):[]}function sb(qd){var df=qd==null?0:qd.length;return df?qg(qd,Af):[]}function kv(qd,df){var Sf=qd==null?0:qd.length;return Sf?(df=df===nd?1:P_(df),qg(qd,df)):[]}function QT(qd){for(var df=-1,Sf=qd==null?0:qd.length,Yf={};++df<Sf;){var gh=qd[df];Yf[gh[0]]=gh[1]}return Yf}function J1(qd){return qd&&qd.length?qd[0]:nd}function Bx(qd,df,Sf){var Yf=qd==null?0:qd.length;if(!Yf)return-1;var gh=Sf==null?0:P_(Sf);return gh<0&&(gh=bg(Yf+gh,0)),Yd(qd,df,gh)}function Fx(qd){var df=qd==null?0:qd.length;return df?Vg(qd,0,-1):[]}var jx=$_(function(qd){var df=ug(qd,aE);return df.length&&df[0]===qd[0]?fv(df):[]}),Ux=$_(function(qd){var df=u0(qd),Sf=ug(qd,aE);return df===u0(Sf)?df=nd:Sf.pop(),Sf.length&&Sf[0]===qd[0]?fv(Sf,T_(df,2)):[]}),Hx=$_(function(qd){var df=u0(qd),Sf=ug(qd,aE);return df=typeof df=="function"?df:nd,df&&Sf.pop(),Sf.length&&Sf[0]===qd[0]?fv(Sf,nd,df):[]});function Gx(qd,df){return qd==null?"":ST.call(qd,df)}function u0(qd){var df=qd==null?0:qd.length;return df?qd[df-1]:nd}function qx(qd,df,Sf){var Yf=qd==null?0:qd.length;if(!Yf)return-1;var gh=Yf;return Sf!==nd&&(gh=P_(Sf),gh=gh<0?bg(Yf+gh,0):Lg(gh,Yf-1)),df===df?i1(qd,df,gh):Bd(qd,Nf,gh,!0)}function Vx(qd,df){return qd&&qd.length?bv(qd,P_(df)):nd}var zx=$_(Z1);function Z1(qd,df){return qd&&qd.length&&df&&df.length?FT(qd,df):qd}function Wx(qd,df,Sf){return qd&&qd.length&&df&&df.length?FT(qd,df,T_(Sf,2)):qd}function Yx(qd,df,Sf){return qd&&qd.length&&df&&df.length?FT(qd,df,nd,Sf):qd}var Kx=s0(function(qd,df){var Sf=qd==null?0:qd.length,Yf=cv(qd,df);return ib(qd,ug(df,function(gh){return Jd(gh,Sf)?+gh:gh}).sort(qT)),Yf});function Xx(qd,df){var Sf=[];if(!(qd&&qd.length))return Sf;var Yf=-1,gh=[],Oh=qd.length;for(df=T_(df,3);++Yf<Oh;){var um=qd[Yf];df(um,Yf,qd)&&(Sf.push(um),gh.push(Yf))}return ib(qd,gh),Sf}function k1(qd){return qd==null?qd:Yv.call(qd)}function Qx(qd,df,Sf){var Yf=qd==null?0:qd.length;return Yf?(Sf&&typeof Sf!="number"&&Qd(qd,df,Sf)?(df=0,Sf=Yf):(df=df==null?0:P_(df),Sf=Sf===nd?Yf:P_(Sf)),Vg(qd,df,Sf)):[]}function Jx(qd,df){return Iy(qd,df)}function Zx(qd,df,Sf){return Oy(qd,df,T_(Sf,2))}function eC(qd,df){var Sf=qd==null?0:qd.length;if(Sf){var Yf=Iy(qd,df);if(Yf<Sf&&T0(qd[Yf],df))return Yf}return-1}function tC(qd,df){return Iy(qd,df,!0)}function rC(qd,df,Sf){return Oy(qd,df,T_(Sf,2),!0)}function nC(qd,df){var Sf=qd==null?0:qd.length;if(Sf){var Yf=Iy(qd,df,!0)-1;if(T0(qd[Yf],df))return Yf}return-1}function iC(qd){return qd&&qd.length?i0(qd):[]}function aC(qd,df){return qd&&qd.length?i0(qd,T_(df,2)):[]}function sC(qd){var df=qd==null?0:qd.length;return df?Vg(qd,1,df):[]}function oC(qd,df,Sf){return qd&&qd.length?(df=Sf||df===nd?1:P_(df),Vg(qd,0,df<0?0:df)):[]}function lC(qd,df,Sf){var Yf=qd==null?0:qd.length;return Yf?(df=Sf||df===nd?1:P_(df),df=Yf-df,Vg(qd,df<0?0:df,Yf)):[]}function uC(qd,df){return qd&&qd.length?nE(qd,T_(df,3),!1,!0):[]}function cC(qd,df){return qd&&qd.length?nE(qd,T_(df,3)):[]}var dC=$_(function(qd){return yb(qg(qd,1,Yg,!0))}),pC=$_(function(qd){var df=u0(qd);return Yg(df)&&(df=nd),yb(qg(qd,1,Yg,!0),T_(df,2))}),hC=$_(function(qd){var df=u0(qd);return df=typeof df=="function"?df:nd,yb(qg(qd,1,Yg,!0),nd,df)});function mC(qd){return qd&&qd.length?yb(qd):[]}function _C(qd,df){return qd&&qd.length?yb(qd,T_(df,2)):[]}function gC(qd,df){return df=typeof df=="function"?df:nd,qd&&qd.length?yb(qd,nd,df):[]}function M1(qd){if(!(qd&&qd.length))return[];var df=0;return qd=Zb(qd,function(Sf){if(Yg(Sf))return df=bg(Sf.length,df),!0}),Zm(df,function(Sf){return ug(qd,bh(Sf))})}function ex(qd,df){if(!(qd&&qd.length))return[];var Sf=M1(qd);return df==null?Sf:ug(Sf,function(Yf){return lb(df,nd,Yf)})}var bC=$_(function(qd,df){return Yg(qd)?Zv(qd,df):[]}),yC=$_(function(qd){return B0(Zb(qd,Yg))}),vC=$_(function(qd){var df=u0(qd);return Yg(df)&&(df=nd),B0(Zb(qd,Yg),T_(df,2))}),EC=$_(function(qd){var df=u0(qd);return df=typeof df=="function"?df:nd,B0(Zb(qd,Yg),nd,df)}),TC=$_(M1);function SC(qd,df){return YE(qd||[],df||[],lv)}function xC(qd,df){return YE(qd||[],df||[],yv)}var CC=$_(function(qd){var df=qd.length,Sf=df>1?qd[df-1]:nd;return Sf=typeof Sf=="function"?(qd.pop(),Sf):nd,ex(qd,Sf)});function tx(qd){var df=Ah(qd);return df.__chain__=!0,df}function AC(qd,df){return df(qd),qd}function KS(qd,df){return df(qd)}var DC=s0(function(qd){var df=qd.length,Sf=df?qd[0]:0,Yf=this.__wrapped__,gh=function(Oh){return cv(Oh,qd)};return df>1||this.__actions__.length||!(Yf instanceof S_)||!Jd(Sf)?this.thru(gh):(Yf=Yf.slice(Sf,+Sf+(df?1:0)),Yf.__actions__.push({func:KS,args:[gh],thisArg:nd}),new eg(Yf,this.__chain__).thru(function(Oh){return df&&!Oh.length&&Oh.push(nd),Oh}))});function NC(){return tx(this)}function wC(){return new eg(this.value(),this.__chain__)}function IC(){this.__values__===nd&&(this.__values__=_x(this.value()));var qd=this.__index__>=this.__values__.length,df=qd?nd:this.__values__[this.__index__++];return{done:qd,value:df}}function OC(){return this}function RC(qd){for(var df,Sf=this;Sf instanceof eb;){var Yf=ab(Sf);Yf.__index__=0,Yf.__values__=nd,df?gh.__wrapped__=Yf:df=Yf;var gh=Yf;Sf=Sf.__wrapped__}return gh.__wrapped__=qd,df}function kC(){var qd=this.__wrapped__;if(qd instanceof S_){var df=qd;return this.__actions__.length&&(df=new S_(this)),df=df.reverse(),df.__actions__.push({func:KS,args:[k1],thisArg:nd}),new eg(df,this.__chain__)}return this.thru(k1)}function MC(){return iE(this.__wrapped__,this.__actions__)}var $C=Ev(function(qd,df,Sf){J_.call(qd,Sf)?++qd[Sf]:y0(qd,Sf,1)});function PC(qd,df,Sf){var Yf=k_(qd)?X0:y1;return Sf&&Qd(qd,df,Sf)&&(df=nd),Yf(qd,T_(df,3))}function LC(qd,df){var Sf=k_(qd)?Zb:Cy;return Sf(qd,T_(df,3))}var BC=zT(l0),FC=zT(G0);function jC(qd,df){return qg(XS(qd,df),1)}function UC(qd,df){return qg(XS(qd,df),Af)}function HC(qd,df,Sf){return Sf=Sf===nd?1:P_(Sf),qg(XS(qd,df),Sf)}function rx(qd,df){var Sf=k_(qd)?fb:zb;return Sf(qd,T_(df,3))}function nx(qd,df){var Sf=k_(qd)?DE:kT;return Sf(qd,T_(df,3))}var GC=Ev(function(qd,df,Sf){J_.call(qd,Sf)?qd[Sf].push(df):y0(qd,Sf,[df])});function qC(qd,df,Sf,Yf){qd=Rb(qd)?qd:aT(qd),Sf=Sf&&!Yf?P_(Sf):0;var gh=qd.length;return Sf<0&&(Sf=bg(gh+Sf,0)),t1(qd)?Sf<=gh&&qd.indexOf(df,Sf)>-1:!!gh&&Yd(qd,df,Sf)>-1}var VC=$_(function(qd,df,Sf){var Yf=-1,gh=typeof df=="function",Oh=Rb(qd)?Dm(qd.length):[];return zb(qd,function(um){Oh[++Yf]=gh?lb(df,um,Sf):hv(um,df,Sf)}),Oh}),zC=Ev(function(qd,df,Sf){y0(qd,Sf,df)});function XS(qd,df){var Sf=k_(qd)?ug:LT;return Sf(qd,T_(df,3))}function WC(qd,df,Sf,Yf){return qd==null?[]:(k_(df)||(df=df==null?[]:[df]),Sf=Yf?nd:Sf,k_(Sf)||(Sf=Sf==null?[]:[Sf]),IS(qd,df,Sf))}var YC=Ev(function(qd,df,Sf){qd[Sf?0:1].push(df)},function(){return[[],[]]});function KC(qd,df,Sf){var Yf=k_(qd)?qv:sm,gh=arguments.length<3;return Yf(qd,T_(df,4),Sf,gh,zb)}function XC(qd,df,Sf){var Yf=k_(qd)?NE:sm,gh=arguments.length<3;return Yf(qd,T_(df,4),Sf,gh,kT)}function QC(qd,df){var Sf=k_(qd)?Zb:Cy;return Sf(qd,ZS(T_(df,3)))}function JC(qd){var df=k_(qd)?wT:kS;return df(qd)}function ZC(qd,df,Sf){(Sf?Qd(qd,df,Sf):df===nd)?df=1:df=P_(df);var Yf=k_(qd)?g1:MS;return Yf(qd,df)}function eA(qd){var df=k_(qd)?IT:S1;return df(qd)}function tA(qd){if(qd==null)return 0;if(Rb(qd))return t1(qd)?nv(qd):qd.length;var df=zg(qd);return df==uh||df==vh?qd.size:Dy(qd).length}function rA(qd,df,Sf){var Yf=k_(qd)?N0:rE;return Sf&&Qd(qd,df,Sf)&&(df=nd),Yf(qd,T_(df,3))}var nA=$_(function(qd,df){if(qd==null)return[];var Sf=df.length;return Sf>1&&Qd(qd,df[0],df[1])?df=[]:Sf>2&&Qd(df[0],df[1],df[2])&&(df=[df[0]]),IS(qd,qg(df,1),[])}),QS=sv||function(){return Z_.Date.now()};function iA(qd,df){if(typeof df!="function")throw new Db(cd);return qd=P_(qd),function(){if(--qd<1)return df.apply(this,arguments)}}function ix(qd,df,Sf){return df=Sf?nd:df,df=qd&&df==null?qd.length:df,z_(qd,Kd,nd,nd,nd,nd,df)}function ax(qd,df){var Sf;if(typeof df!="function")throw new Db(cd);return qd=P_(qd),function(){return--qd>0&&(Sf=df.apply(this,arguments)),qd<=1&&(df=nd),Sf}}var $1=$_(function(qd,df,Sf){var Yf=jd;if(Sf.length){var gh=mb(Sf,wv($1));Yf|=Gd}return z_(qd,Yf,df,Sf,gh)}),sx=$_(function(qd,df,Sf){var Yf=jd|Fd;if(Sf.length){var gh=mb(Sf,wv(sx));Yf|=Gd}return z_(df,Yf,qd,Sf,gh)});function ox(qd,df,Sf){df=Sf?nd:df;var Yf=z_(qd,Ld,nd,nd,nd,nd,nd,df);return Yf.placeholder=ox.placeholder,Yf}function lx(qd,df,Sf){df=Sf?nd:df;var Yf=z_(qd,Hd,nd,nd,nd,nd,nd,df);return Yf.placeholder=lx.placeholder,Yf}function ux(qd,df,Sf){var Yf,gh,Oh,um,dm,gm,Gm=0,Vm=!1,Wm=!1,c_=!0;if(typeof qd!="function")throw new Db(cd);df=c0(df)||0,Mg(Sf)&&(Vm=!!Sf.leading,Wm="maxWait"in Sf,Oh=Wm?bg(c0(Sf.maxWait)||0,df):Oh,c_="trailing"in Sf?!!Sf.trailing:c_);function v_(Kg){var S0=Yf,Ly=gh;return Yf=gh=nd,Gm=Kg,um=qd.apply(Ly,S0),um}function A_(Kg){return Gm=Kg,dm=g_(G_,df),Vm?v_(Kg):um}function F_(Kg){var S0=Kg-gm,Ly=Kg-Gm,wx=df-S0;return Wm?Lg(wx,Oh-Ly):wx}function D_(Kg){var S0=Kg-gm,Ly=Kg-Gm;return gm===nd||S0>=df||S0<0||Wm&&Ly>=Oh}function G_(){var Kg=QS();if(D_(Kg))return W_(Kg);dm=g_(G_,F_(Kg))}function W_(Kg){return dm=nd,c_&&Yf?v_(Kg):(Yf=gh=nd,um)}function Xb(){dm!==nd&&LS(dm),Gm=0,Yf=gm=gh=dm=nd}function vb(){return dm===nd?um:W_(QS())}function Qb(){var Kg=QS(),S0=D_(Kg);if(Yf=arguments,gh=this,gm=Kg,S0){if(dm===nd)return A_(gm);if(Wm)return LS(dm),dm=g_(G_,df),v_(gm)}return dm===nd&&(dm=g_(G_,df)),um}return Qb.cancel=Xb,Qb.flush=vb,Qb}var aA=$_(function(qd,df){return bS(qd,1,df)}),sA=$_(function(qd,df,Sf){return bS(qd,c0(df)||0,Sf)});function oA(qd){return z_(qd,Wd)}function JS(qd,df){if(typeof qd!="function"||df!=null&&typeof df!="function")throw new Db(cd);var Sf=function(){var Yf=arguments,gh=df?df.apply(this,Yf):Yf[0],Oh=Sf.cache;if(Oh.has(gh))return Oh.get(gh);var um=qd.apply(this,Yf);return Sf.cache=Oh.set(gh,um)||Oh,um};return Sf.cache=new(JS.Cache||qb),Sf}JS.Cache=qb;function ZS(qd){if(typeof qd!="function")throw new Db(cd);return function(){var df=arguments;switch(df.length){case 0:return!qd.call(this);case 1:return!qd.call(this,df[0]);case 2:return!qd.call(this,df[0],df[1]);case 3:return!qd.call(this,df[0],df[1],df[2])}return!qd.apply(this,df)}}function lA(qd){return ax(2,qd)}var uA=oE(function(qd,df){df=df.length==1&&k_(df[0])?ug(df[0],w_(T_())):ug(qg(df,1),w_(T_()));var Sf=df.length;return $_(function(Yf){for(var gh=-1,Oh=Lg(Yf.length,Sf);++gh<Oh;)Yf[gh]=df[gh].call(this,Yf[gh]);return lb(qd,this,Yf)})}),P1=$_(function(qd,df){var Sf=mb(df,wv(P1));return z_(qd,Gd,nd,df,Sf)}),dx=$_(function(qd,df){var Sf=mb(df,wv(dx));return z_(qd,Vd,nd,df,Sf)}),cA=s0(function(qd,df){return z_(qd,mf,nd,nd,nd,df)});function dA(qd,df){if(typeof qd!="function")throw new Db(cd);return df=df===nd?df:P_(df),$_(qd,df)}function pA(qd,df){if(typeof qd!="function")throw new Db(cd);return df=df==null?0:bg(P_(df),0),$_(function(Sf){var Yf=Sf[df],gh=E0(Sf,0,df);return Yf&&Lb(gh,Yf),lb(qd,this,gh)})}function fA(qd,df,Sf){var Yf=!0,gh=!0;if(typeof qd!="function")throw new Db(cd);return Mg(Sf)&&(Yf="leading"in Sf?!!Sf.leading:Yf,gh="trailing"in Sf?!!Sf.trailing:gh),ux(qd,df,{leading:Yf,maxWait:df,trailing:gh})}function hA(qd){return ix(qd,1)}function mA(qd,df){return P1(sE(df),qd)}function _A(){if(!arguments.length)return[];var qd=arguments[0];return k_(qd)?qd:[qd]}function gA(qd){return gb(qd,Nd)}function bA(qd,df){return df=typeof df=="function"?df:nd,gb(qd,Nd,df)}function yA(qd){return gb(qd,vd|Nd)}function vA(qd,df){return df=typeof df=="function"?df:nd,gb(qd,vd|Nd,df)}function EA(qd,df){return df==null||RT(qd,df,ob(df))}function T0(qd,df){return qd===df||qd!==qd&&df!==df}var TA=cE(VE),SA=cE(function(qd,df){return qd>=df}),_E=$T(function(){return arguments}())?$T:function(qd){return Fg(qd)&&J_.call(qd,"callee")&&!$E.call(qd,"callee")},k_=Dm.isArray,xA=K0?w_(K0):mv;function Rb(qd){return qd!=null&&e1(qd.length)&&!$y(qd)}function Yg(qd){return Fg(qd)&&Rb(qd)}function CA(qd){return qd===!0||qd===!1||Fg(qd)&&Qg(qd)==vf}var Mv=s1||W1,AA=Cb?w_(Cb):SS;function DA(qd){return Fg(qd)&&qd.nodeType===1&&!JT(qd)}function NA(qd){if(qd==null)return!0;if(Rb(qd)&&(k_(qd)||typeof qd=="string"||typeof qd.splice=="function"||Mv(qd)||iT(qd)||_E(qd)))return!qd.length;var df=zg(qd);if(df==uh||df==vh)return!qd.size;if(mh(qd))return!Dy(qd).length;for(var Sf in qd)if(J_.call(qd,Sf))return!1;return!0}function wA(qd,df){return L0(qd,df)}function IA(qd,df,Sf){Sf=typeof Sf=="function"?Sf:nd;var Yf=Sf?Sf(qd,df):nd;return Yf===nd?L0(qd,df,nd,Sf):!!Yf}function L1(qd){if(!Fg(qd))return!1;var df=Qg(qd);return df==ch||df==eh||typeof qd.message=="string"&&typeof qd.name=="string"&&!JT(qd)}function OA(qd){return typeof qd=="number"&&lS(qd)}function $y(qd){if(!Mg(qd))return!1;var df=Qg(qd);return df==ih||df==Pf||df==Tf||df==Wf}function px(qd){return typeof qd=="number"&&qd==P_(qd)}function e1(qd){return typeof qd=="number"&&qd>-1&&qd%1==0&&qd<=Lf}function Mg(qd){var df=typeof qd;return qd!=null&&(df=="object"||df=="function")}function Fg(qd){return qd!=null&&typeof qd=="object"}var fx=D0?w_(D0):eE;function RA(qd,df){return qd===df||PT(qd,df,Q_(df))}function kA(qd,df,Sf){return Sf=typeof Sf=="function"?Sf:nd,PT(qd,df,Q_(df),Sf)}function MA(qd){return hx(qd)&&qd!=+qd}function $A(qd){if(sh(qd))throw new I_(ud);return Ay(qd)}function PA(qd){return qd===null}function LA(qd){return qd==null}function hx(qd){return typeof qd=="number"||Fg(qd)&&Qg(qd)==xh}function JT(qd){if(!Fg(qd)||Qg(qd)!=wf)return!1;var df=I0(qd);if(df===null)return!0;var Sf=J_.call(df,"constructor")&&df.constructor;return typeof Sf=="function"&&Sf instanceof Sf&&iv.call(Sf)==ry}var B1=Jy?w_(Jy):CS;function BA(qd){return px(qd)&&qd>=-Lf&&qd<=Lf}var mx=Pb?w_(Pb):AS;function t1(qd){return typeof qd=="string"||!k_(qd)&&Fg(qd)&&Qg(qd)==ph}function Kb(qd){return typeof qd=="symbol"||Fg(qd)&&Qg(qd)==Vh}var iT=AE?w_(AE):DS;function FA(qd){return qd===nd}function jA(qd){return Fg(qd)&&zg(qd)==fm}function UA(qd){return Fg(qd)&&Qg(qd)==Nm}var HA=cE(Ny),GA=cE(function(qd,df){return qd<=df});function _x(qd){if(!qd)return[];if(Rb(qd))return t1(qd)?Bb(qd):hb(qd);if(iy&&qd[iy])return n1(qd[iy]());var df=zg(qd),Sf=df==uh?IE:df==vh?_b:aT;return Sf(qd)}function Py(qd){if(!qd)return qd===0?qd:0;if(qd=c0(qd),qd===Af||qd===-Af){var df=qd<0?-1:1;return df*Xf}return qd===qd?qd:0}function P_(qd){var df=Py(qd),Sf=df%1;return df===df?Sf?df-Sf:df:0}function gx(qd){return qd?v0(P_(qd),0,Zf):0}function c0(qd){if(typeof qd=="number")return qd;if(Kb(qd))return Jf;if(Mg(qd)){var df=typeof qd.valueOf=="function"?qd.valueOf():qd;qd=Mg(df)?df+"":df}if(typeof qd!="string")return qd===0?qd:+qd;qd=d_(qd);var Sf=om.test(qd);return Sf||Rh.test(qd)?Y0(qd.slice(2),Sf?2:8):Fh.test(qd)?Jf:+qd}function bx(qd){return Yb(qd,kb(qd))}function qA(qd){return qd?v0(P_(qd),-Lf,Lf):qd===0?qd:0}function sg(qd){return qd==null?"":bb(qd)}var VA=a0(function(qd,df){if(mh(df)||Rb(df)){Yb(df,ob(df),qd);return}for(var Sf in df)J_.call(df,Sf)&&lv(qd,Sf,df[Sf])}),yx=a0(function(qd,df){Yb(df,kb(df),qd)}),r1=a0(function(qd,df,Sf,Yf){Yb(df,kb(df),qd,Yf)}),zA=a0(function(qd,df,Sf,Yf){Yb(df,ob(df),qd,Yf)}),WA=s0(cv);function YA(qd,df){var Sf=ov(qd);return df==null?Sf:OT(Sf,df)}var KA=$_(function(qd,df){qd=ag(qd);var Sf=-1,Yf=df.length,gh=Yf>2?df[2]:nd;for(gh&&Qd(df[0],df[1],gh)&&(Yf=1);++Sf<Yf;)for(var Oh=df[Sf],um=kb(Oh),dm=-1,gm=um.length;++dm<gm;){var Gm=um[dm],Vm=qd[Gm];(Vm===nd||T0(Vm,Fb[Gm])&&!J_.call(qd,Gm))&&(qd[Gm]=Oh[Gm])}return qd}),XA=$_(function(qd){return qd.push(nd,ZE),lb(vx,nd,qd)});function QA(qd,df){return zd(qd,T_(df,3),wb)}function JA(qd,df){return zd(qd,T_(df,3),GE)}function ZA(qd,df){return qd==null?qd:dv(qd,T_(df,3),kb)}function eD(qd,df){return qd==null?qd:MT(qd,T_(df,3),kb)}function tD(qd,df){return qd&&wb(qd,T_(df,3))}function rD(qd,df){return qd&&GE(qd,T_(df,3))}function nD(qd){return qd==null?[]:qE(qd,ob(qd))}function iD(qd){return qd==null?[]:qE(qd,kb(qd))}function F1(qd,df,Sf){var Yf=qd==null?nd:P0(qd,df);return Yf===nd?Sf:Yf}function aD(qd,df){return qd!=null&&WS(qd,df,vS)}function j1(qd,df){return qd!=null&&WS(qd,df,ES)}var sD=WT(function(qd,df,Sf){df!=null&&typeof df.toString!="function"&&(df=t0.call(df)),qd[df]=Sf},H1(Mb)),oD=WT(function(qd,df,Sf){df!=null&&typeof df.toString!="function"&&(df=t0.call(df)),J_.call(qd,df)?qd[df].push(Sf):qd[df]=[Sf]},T_),lD=$_(hv);function ob(qd){return Rb(qd)?UE(qd):Dy(qd)}function kb(qd){return Rb(qd)?UE(qd,!0):tE(qd)}function uD(qd,df){var Sf={};return df=T_(df,3),wb(qd,function(Yf,gh,Oh){y0(Sf,df(Yf,gh,Oh),Yf)}),Sf}function cD(qd,df){var Sf={};return df=T_(df,3),wb(qd,function(Yf,gh,Oh){y0(Sf,gh,df(Yf,gh,Oh))}),Sf}var dD=a0(function(qd,df,Sf){Wb(qd,df,Sf)}),vx=a0(function(qd,df,Sf,Yf){Wb(qd,df,Sf,Yf)}),pD=s0(function(qd,df){var Sf={};if(qd==null)return Sf;var Yf=!1;df=ug(df,function(Oh){return Oh=F0(Oh,qd),Yf||(Yf=Oh.length>1),Oh}),Yb(qd,rT(qd),Sf),Yf&&(Sf=gb(Sf,vd|Ad|Nd,pE));for(var gh=df.length;gh--;)WE(Sf,df[gh]);return Sf});function fD(qd,df){return Ex(qd,ZS(T_(df)))}var hD=s0(function(qd,df){return qd==null?{}:OS(qd,df)});function Ex(qd,df){if(qd==null)return{};var Sf=ug(rT(qd),function(Yf){return[Yf]});return df=T_(df),RS(qd,Sf,function(Yf,gh){return df(Yf,gh[0])})}function mD(qd,df,Sf){df=F0(df,qd);var Yf=-1,gh=df.length;for(gh||(gh=1,qd=nd);++Yf<gh;){var Oh=qd==null?nd:qd[Sg(df[Yf])];Oh===nd&&(Yf=gh,Oh=Sf),qd=$y(Oh)?Oh.call(qd):Oh}return qd}function _D(qd,df,Sf){return qd==null?qd:yv(qd,df,Sf)}function gD(qd,df,Sf,Yf){return Yf=typeof Yf=="function"?Yf:nd,qd==null?qd:yv(qd,df,Sf,Yf)}var Tx=qS(ob),Sx=qS(kb);function bD(qd,df,Sf){var Yf=k_(qd),gh=Yf||Mv(qd)||iT(qd);if(df=T_(df,4),Sf==null){var Oh=qd&&qd.constructor;gh?Sf=Yf?new Oh:[]:Mg(qd)?Sf=$y(Oh)?ov(I0(qd)):{}:Sf={}}return(gh?fb:wb)(qd,function(um,dm,gm){return df(Sf,um,dm,gm)}),Sf}function yD(qd,df){return qd==null?!0:WE(qd,df)}function vD(qd,df,Sf){return qd==null?qd:UT(qd,df,sE(Sf))}function ED(qd,df,Sf,Yf){return Yf=typeof Yf=="function"?Yf:nd,qd==null?qd:UT(qd,df,sE(Sf),Yf)}function aT(qd){return qd==null?[]:Eg(qd,ob(qd))}function TD(qd){return qd==null?[]:Eg(qd,kb(qd))}function SD(qd,df,Sf){return Sf===nd&&(Sf=df,df=nd),Sf!==nd&&(Sf=c0(Sf),Sf=Sf===Sf?Sf:0),df!==nd&&(df=c0(df),df=df===df?df:0),v0(c0(qd),df,Sf)}function xD(qd,df,Sf){return df=Py(df),Sf===nd?(Sf=df,df=0):Sf=Py(Sf),qd=c0(qd),pv(qd,df,Sf)}function CD(qd,df,Sf){if(Sf&&typeof Sf!="boolean"&&Qd(qd,df,Sf)&&(df=Sf=nd),Sf===nd&&(typeof df=="boolean"?(Sf=df,df=nd):typeof qd=="boolean"&&(Sf=qd,qd=nd)),qd===nd&&df===nd?(qd=0,df=1):(qd=Py(qd),df===nd?(df=qd,qd=0):df=Py(df)),qd>df){var Yf=qd;qd=df,df=Yf}if(Sf||qd%1||df%1){var gh=CT();return Lg(qd+gh*(df-qd+xE("1e-"+((gh+"").length-1))),df)}return zE(qd,df)}var AD=Av(function(qd,df,Sf){return df=df.toLowerCase(),qd+(Sf?xx(df):df)});function xx(qd){return U1(sg(qd).toLowerCase())}function Cx(qd){return qd=sg(qd),qd&&qd.replace(Pm,tv).replace(bE,"")}function DD(qd,df,Sf){qd=sg(qd),df=bb(df);var Yf=qd.length;Sf=Sf===nd?Yf:v0(P_(Sf),0,Yf);var gh=Sf;return Sf-=df.length,Sf>=0&&qd.slice(Sf,gh)==df}function ND(qd){return qd=sg(qd),qd&&H_.test(qd)?qd.replace(s_,e0):qd}function wD(qd){return qd=sg(qd),qd&&q_.test(qd)?qd.replace(yg,"\\$&"):qd}var ID=Av(function(qd,df,Sf){return qd+(Sf?"-":"")+df.toLowerCase()}),OD=Av(function(qd,df,Sf){return qd+(Sf?" ":"")+df.toLowerCase()}),RD=US("toLowerCase");function kD(qd,df,Sf){qd=sg(qd),df=P_(df);var Yf=df?nv(qd):0;if(!df||Yf>=df)return qd;var gh=(df-Yf)/2;return JE(ay(gh),Sf)+qd+JE(Wv(gh),Sf)}function MD(qd,df,Sf){qd=sg(qd),df=P_(df);var Yf=df?nv(qd):0;return df&&Yf<df?qd+JE(df-Yf,Sf):qd}function $D(qd,df,Sf){qd=sg(qd),df=P_(df);var Yf=df?nv(qd):0;return df&&Yf<df?JE(df-Yf,Sf)+qd:qd}function PD(qd,df,Sf){return Sf||df==null?df=0:df&&(df=+df),LE(sg(qd).replace(Y_,""),df||0)}function LD(qd,df,Sf){return(Sf?Qd(qd,df,Sf):df===nd)?df=1:df=P_(df),jT(sg(qd),df)}function BD(){var qd=arguments,df=sg(qd[0]);return qd.length<3?df:df.replace(qd[1],qd[2])}var FD=Av(function(qd,df,Sf){return qd+(Sf?"_":"")+df.toLowerCase()});function jD(qd,df,Sf){return Sf&&typeof Sf!="number"&&Qd(qd,df,Sf)&&(df=Sf=nd),Sf=Sf===nd?Zf:Sf>>>0,Sf?(qd=sg(qd),qd&&(typeof df=="string"||df!=null&&!B1(df))&&(df=bb(df),!df&&rv(qd))?E0(Bb(qd),0,Sf):qd.split(df,Sf)):[]}var UD=Av(function(qd,df,Sf){return qd+(Sf?" ":"")+U1(df)});function HD(qd,df,Sf){return qd=sg(qd),Sf=Sf==null?0:v0(P_(Sf),0,qd.length),df=bb(df),qd.slice(Sf,Sf+df.length)==df}function GD(qd,df,Sf){var Yf=Ah.templateSettings;Sf&&Qd(qd,df,Sf)&&(df=nd),qd=sg(qd),df=r1({},df,Yf,VS);var gh=r1({},df.imports,Yf.imports,VS),Oh=ob(gh),um=Eg(gh,Oh),dm,gm,Gm=0,Vm=df.interpolate||i_,Wm="__p += '",c_=zv((df.escape||i_).source+"|"+Vm.source+"|"+(Vm===h_?Sh:i_).source+"|"+(df.evaluate||i_).source+"|$","g"),v_="//# sourceURL="+(J_.call(df,"sourceURL")?(df.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++TE+"]")+`
|
||
`;qd.replace(c_,function(D_,G_,W_,Xb,vb,Qb){return W_||(W_=Xb),Wm+=qd.slice(Gm,Qb).replace(Hm,J0),G_&&(dm=!0,Wm+=`' +
|
||
__e(`+G_+`) +
|
||
'`),vb&&(gm=!0,Wm+=`';
|
||
`+vb+`;
|
||
__p += '`),W_&&(Wm+=`' +
|
||
((__t = (`+W_+`)) == null ? '' : __t) +
|
||
'`),Gm=Qb+D_.length,D_}),Wm+=`';
|
||
`;var A_=J_.call(df,"variable")&&df.variable;if(!A_)Wm=`with (obj) {
|
||
`+Wm+`
|
||
}
|
||
`;else if(Ch.test(A_))throw new I_(dd);Wm=(gm?Wm.replace(Um,""):Wm).replace(Om,"$1").replace(r_,"$1;"),Wm="function("+(A_||"obj")+`) {
|
||
`+(A_?"":`obj || (obj = {});
|
||
`)+"var __t, __p = ''"+(dm?", __e = _.escape":"")+(gm?`, __j = Array.prototype.join;
|
||
function print() { __p += __j.call(arguments, '') }
|
||
`:`;
|
||
`)+Wm+`return __p
|
||
}`;var F_=Dx(function(){return V_(Oh,v_+"return "+Wm).apply(nd,um)});if(F_.source=Wm,L1(F_))throw F_;return F_}function qD(qd){return sg(qd).toLowerCase()}function VD(qd){return sg(qd).toUpperCase()}function zD(qd,df,Sf){if(qd=sg(qd),qd&&(Sf||df===nd))return d_(qd);if(!qd||!(df=bb(df)))return qd;var Yf=Bb(qd),gh=Bb(df),Oh=K_(Yf,gh),um=Hg(Yf,gh)+1;return E0(Yf,Oh,um).join("")}function WD(qd,df,Sf){if(qd=sg(qd),qd&&(Sf||df===nd))return qd.slice(0,gT(qd)+1);if(!qd||!(df=bb(df)))return qd;var Yf=Bb(qd),gh=Hg(Yf,Bb(df))+1;return E0(Yf,0,gh).join("")}function YD(qd,df,Sf){if(qd=sg(qd),qd&&(Sf||df===nd))return qd.replace(Y_,"");if(!qd||!(df=bb(df)))return qd;var Yf=Bb(qd),gh=K_(Yf,Bb(df));return E0(Yf,gh).join("")}function KD(qd,df){var Sf=Zd,Yf=Xd;if(Mg(df)){var gh="separator"in df?df.separator:gh;Sf="length"in df?P_(df.length):Sf,Yf="omission"in df?bb(df.omission):Yf}qd=sg(qd);var Oh=qd.length;if(rv(qd)){var um=Bb(qd);Oh=um.length}if(Sf>=Oh)return qd;var dm=Sf-nv(Yf);if(dm<1)return Yf;var gm=um?E0(um,0,dm).join(""):qd.slice(0,dm);if(gh===nd)return gm+Yf;if(um&&(dm+=gm.length-dm),B1(gh)){if(qd.slice(dm).search(gh)){var Gm,Vm=gm;for(gh.global||(gh=zv(gh.source,sg(Wh.exec(gh))+"g")),gh.lastIndex=0;Gm=gh.exec(Vm);)var Wm=Gm.index;gm=gm.slice(0,Wm===nd?dm:Wm)}}else if(qd.indexOf(bb(gh),dm)!=dm){var c_=gm.lastIndexOf(gh);c_>-1&&(gm=gm.slice(0,c_))}return gm+Yf}function XD(qd){return qd=sg(qd),qd&&b_.test(qd)?qd.replace(Xm,nS):qd}var QD=Av(function(qd,df,Sf){return qd+(Sf?" ":"")+df.toUpperCase()}),U1=US("toUpperCase");function Ax(qd,df,Sf){return qd=sg(qd),df=Sf?nd:df,df===nd?eS(qd)?aS(qd):mT(qd):qd.match(df)||[]}var Dx=$_(function(qd,df){try{return lb(qd,nd,df)}catch(Sf){return L1(Sf)?Sf:new I_(Sf)}}),JD=s0(function(qd,df){return fb(df,function(Sf){Sf=Sg(Sf),y0(qd,Sf,$1(qd[Sf],qd))}),qd});function ZD(qd){var df=qd==null?0:qd.length,Sf=T_();return qd=df?ug(qd,function(Yf){if(typeof Yf[1]!="function")throw new Db(cd);return[Sf(Yf[0]),Yf[1]]}):[],$_(function(Yf){for(var gh=-1;++gh<df;){var Oh=qd[gh];if(lb(Oh[0],this,Yf))return lb(Oh[1],this,Yf)}})}function eN(qd){return b1(gb(qd,vd))}function H1(qd){return function(){return qd}}function tN(qd,df){return qd==null||qd!==qd?df:qd}var rN=HS(),nN=HS(!0);function Mb(qd){return qd}function G1(qd){return _v(typeof qd=="function"?qd:gb(qd,vd))}function iN(qd){return wS(gb(qd,vd))}function aN(qd,df){return BT(qd,gb(df,vd))}var sN=$_(function(qd,df){return function(Sf){return hv(Sf,qd,df)}}),oN=$_(function(qd,df){return function(Sf){return hv(qd,Sf,df)}});function q1(qd,df,Sf){var Yf=ob(df),gh=qE(df,Yf);Sf==null&&!(Mg(df)&&(gh.length||!Yf.length))&&(Sf=df,df=qd,qd=this,gh=qE(df,ob(df)));var Oh=!(Mg(Sf)&&"chain"in Sf)||!!Sf.chain,um=$y(qd);return fb(gh,function(dm){var gm=df[dm];qd[dm]=gm,um&&(qd.prototype[dm]=function(){var Gm=this.__chain__;if(Oh||Gm){var Vm=qd(this.__wrapped__),Wm=Vm.__actions__=hb(this.__actions__);return Wm.push({func:gm,args:arguments,thisArg:qd}),Vm.__chain__=Gm,Vm}return gm.apply(qd,Lb([this.value()],arguments))})}),qd}function lN(){return Z_._===this&&(Z_._=ub),this}function V1(){}function uN(qd){return qd=P_(qd),$_(function(df){return bv(df,qd)})}var cN=QE(ug),dN=QE(X0),pN=QE(N0);function Nx(qd){return pf(qd)?bh(Sg(qd)):v1(qd)}function fN(qd){return function(df){return qd==null?nd:P0(qd,df)}}var hN=Ry(),mN=Ry(!0);function z1(){return[]}function W1(){return!1}function _N(){return{}}function gN(){return""}function bN(){return!0}function yN(qd,df){if(qd=P_(qd),qd<1||qd>Lf)return[];var Sf=Zf,Yf=Lg(qd,Zf);df=T_(df),qd-=Zf;for(var gh=Zm(Yf,df);++Sf<qd;)df(Sf);return gh}function vN(qd){return k_(qd)?ug(qd,Sg):Kb(qd)?[qd]:hb(gg(sg(qd)))}function EN(qd){var df=++sS;return sg(qd)+df}var TN=Nv(function(qd,df){return qd+df},0),SN=YT("ceil"),xN=Nv(function(qd,df){return qd/df},1),CN=YT("floor");function AN(qd){return qd&&qd.length?HE(qd,Mb,VE):nd}function DN(qd,df){return qd&&qd.length?HE(qd,T_(df,2),VE):nd}function NN(qd){return th(qd,Mb)}function wN(qd,df){return th(qd,T_(df,2))}function IN(qd){return qd&&qd.length?HE(qd,Mb,Ny):nd}function ON(qd,df){return qd&&qd.length?HE(qd,T_(df,2),Ny):nd}var RN=Nv(function(qd,df){return qd*df},1),kN=YT("round"),MN=Nv(function(qd,df){return qd-df},0);function $N(qd){return qd&&qd.length?Fm(qd,Mb):0}function PN(qd,df){return qd&&qd.length?Fm(qd,T_(df,2)):0}return Ah.after=iA,Ah.ary=ix,Ah.assign=VA,Ah.assignIn=yx,Ah.assignInWith=r1,Ah.assignWith=zA,Ah.at=WA,Ah.before=ax,Ah.bind=$1,Ah.bindAll=JD,Ah.bindKey=sx,Ah.castArray=_A,Ah.chain=tx,Ah.chunk=Jg,Ah.compact=Bg,Ah.concat=kg,Ah.cond=ZD,Ah.conforms=eN,Ah.constant=H1,Ah.countBy=$C,Ah.create=YA,Ah.curry=ox,Ah.curryRight=lx,Ah.debounce=ux,Ah.defaults=KA,Ah.defaultsDeep=XA,Ah.defer=aA,Ah.delay=sA,Ah.difference=xg,Ah.differenceBy=cb,Ah.differenceWith=Ov,Ah.drop=H0,Ah.dropRight=tb,Ah.dropRightWhile=o0,Ah.dropWhile=Wg,Ah.fill=XT,Ah.filter=LC,Ah.flatMap=jC,Ah.flatMapDeep=UC,Ah.flatMapDepth=HC,Ah.flatten=q0,Ah.flattenDeep=sb,Ah.flattenDepth=kv,Ah.flip=oA,Ah.flow=rN,Ah.flowRight=nN,Ah.fromPairs=QT,Ah.functions=nD,Ah.functionsIn=iD,Ah.groupBy=GC,Ah.initial=Fx,Ah.intersection=jx,Ah.intersectionBy=Ux,Ah.intersectionWith=Hx,Ah.invert=sD,Ah.invertBy=oD,Ah.invokeMap=VC,Ah.iteratee=G1,Ah.keyBy=zC,Ah.keys=ob,Ah.keysIn=kb,Ah.map=XS,Ah.mapKeys=uD,Ah.mapValues=cD,Ah.matches=iN,Ah.matchesProperty=aN,Ah.memoize=JS,Ah.merge=dD,Ah.mergeWith=vx,Ah.method=sN,Ah.methodOf=oN,Ah.mixin=q1,Ah.negate=ZS,Ah.nthArg=uN,Ah.omit=pD,Ah.omitBy=fD,Ah.once=lA,Ah.orderBy=WC,Ah.over=cN,Ah.overArgs=uA,Ah.overEvery=dN,Ah.overSome=pN,Ah.partial=P1,Ah.partialRight=dx,Ah.partition=YC,Ah.pick=hD,Ah.pickBy=Ex,Ah.property=Nx,Ah.propertyOf=fN,Ah.pull=zx,Ah.pullAll=Z1,Ah.pullAllBy=Wx,Ah.pullAllWith=Yx,Ah.pullAt=Kx,Ah.range=hN,Ah.rangeRight=mN,Ah.rearg=cA,Ah.reject=QC,Ah.remove=Xx,Ah.rest=dA,Ah.reverse=k1,Ah.sampleSize=ZC,Ah.set=_D,Ah.setWith=gD,Ah.shuffle=eA,Ah.slice=Qx,Ah.sortBy=nA,Ah.sortedUniq=iC,Ah.sortedUniqBy=aC,Ah.split=jD,Ah.spread=pA,Ah.tail=sC,Ah.take=oC,Ah.takeRight=lC,Ah.takeRightWhile=uC,Ah.takeWhile=cC,Ah.tap=AC,Ah.throttle=fA,Ah.thru=KS,Ah.toArray=_x,Ah.toPairs=Tx,Ah.toPairsIn=Sx,Ah.toPath=vN,Ah.toPlainObject=bx,Ah.transform=bD,Ah.unary=hA,Ah.union=dC,Ah.unionBy=pC,Ah.unionWith=hC,Ah.uniq=mC,Ah.uniqBy=_C,Ah.uniqWith=gC,Ah.unset=yD,Ah.unzip=M1,Ah.unzipWith=ex,Ah.update=vD,Ah.updateWith=ED,Ah.values=aT,Ah.valuesIn=TD,Ah.without=bC,Ah.words=Ax,Ah.wrap=mA,Ah.xor=yC,Ah.xorBy=vC,Ah.xorWith=EC,Ah.zip=TC,Ah.zipObject=SC,Ah.zipObjectDeep=xC,Ah.zipWith=CC,Ah.entries=Tx,Ah.entriesIn=Sx,Ah.extend=yx,Ah.extendWith=r1,q1(Ah,Ah),Ah.add=TN,Ah.attempt=Dx,Ah.camelCase=AD,Ah.capitalize=xx,Ah.ceil=SN,Ah.clamp=SD,Ah.clone=gA,Ah.cloneDeep=yA,Ah.cloneDeepWith=vA,Ah.cloneWith=bA,Ah.conformsTo=EA,Ah.deburr=Cx,Ah.defaultTo=tN,Ah.divide=xN,Ah.endsWith=DD,Ah.eq=T0,Ah.escape=ND,Ah.escapeRegExp=wD,Ah.every=PC,Ah.find=BC,Ah.findIndex=l0,Ah.findKey=QA,Ah.findLast=FC,Ah.findLastIndex=G0,Ah.findLastKey=JA,Ah.floor=CN,Ah.forEach=rx,Ah.forEachRight=nx,Ah.forIn=ZA,Ah.forInRight=eD,Ah.forOwn=tD,Ah.forOwnRight=rD,Ah.get=F1,Ah.gt=TA,Ah.gte=SA,Ah.has=aD,Ah.hasIn=j1,Ah.head=J1,Ah.identity=Mb,Ah.includes=qC,Ah.indexOf=Bx,Ah.inRange=xD,Ah.invoke=lD,Ah.isArguments=_E,Ah.isArray=k_,Ah.isArrayBuffer=xA,Ah.isArrayLike=Rb,Ah.isArrayLikeObject=Yg,Ah.isBoolean=CA,Ah.isBuffer=Mv,Ah.isDate=AA,Ah.isElement=DA,Ah.isEmpty=NA,Ah.isEqual=wA,Ah.isEqualWith=IA,Ah.isError=L1,Ah.isFinite=OA,Ah.isFunction=$y,Ah.isInteger=px,Ah.isLength=e1,Ah.isMap=fx,Ah.isMatch=RA,Ah.isMatchWith=kA,Ah.isNaN=MA,Ah.isNative=$A,Ah.isNil=LA,Ah.isNull=PA,Ah.isNumber=hx,Ah.isObject=Mg,Ah.isObjectLike=Fg,Ah.isPlainObject=JT,Ah.isRegExp=B1,Ah.isSafeInteger=BA,Ah.isSet=mx,Ah.isString=t1,Ah.isSymbol=Kb,Ah.isTypedArray=iT,Ah.isUndefined=FA,Ah.isWeakMap=jA,Ah.isWeakSet=UA,Ah.join=Gx,Ah.kebabCase=ID,Ah.last=u0,Ah.lastIndexOf=qx,Ah.lowerCase=OD,Ah.lowerFirst=RD,Ah.lt=HA,Ah.lte=GA,Ah.max=AN,Ah.maxBy=DN,Ah.mean=NN,Ah.meanBy=wN,Ah.min=IN,Ah.minBy=ON,Ah.stubArray=z1,Ah.stubFalse=W1,Ah.stubObject=_N,Ah.stubString=gN,Ah.stubTrue=bN,Ah.multiply=RN,Ah.nth=Vx,Ah.noConflict=lN,Ah.noop=V1,Ah.now=QS,Ah.pad=kD,Ah.padEnd=MD,Ah.padStart=$D,Ah.parseInt=PD,Ah.random=CD,Ah.reduce=KC,Ah.reduceRight=XC,Ah.repeat=LD,Ah.replace=BD,Ah.result=mD,Ah.round=kN,Ah.runInContext=mm,Ah.sample=JC,Ah.size=tA,Ah.snakeCase=FD,Ah.some=rA,Ah.sortedIndex=Jx,Ah.sortedIndexBy=Zx,Ah.sortedIndexOf=eC,Ah.sortedLastIndex=tC,Ah.sortedLastIndexBy=rC,Ah.sortedLastIndexOf=nC,Ah.startCase=UD,Ah.startsWith=HD,Ah.subtract=MN,Ah.sum=$N,Ah.sumBy=PN,Ah.template=GD,Ah.times=yN,Ah.toFinite=Py,Ah.toInteger=P_,Ah.toLength=gx,Ah.toLower=qD,Ah.toNumber=c0,Ah.toSafeInteger=qA,Ah.toString=sg,Ah.toUpper=VD,Ah.trim=zD,Ah.trimEnd=WD,Ah.trimStart=YD,Ah.truncate=KD,Ah.unescape=XD,Ah.uniqueId=EN,Ah.upperCase=QD,Ah.upperFirst=U1,Ah.each=rx,Ah.eachRight=nx,Ah.first=J1,q1(Ah,function(){var qd={};return wb(Ah,function(df,Sf){J_.call(Ah.prototype,Sf)||(qd[Sf]=df)}),qd}(),{chain:!1}),Ah.VERSION=od,fb(["bind","bindKey","curry","curryRight","partial","partialRight"],function(qd){Ah[qd].placeholder=Ah}),fb(["drop","take"],function(qd,df){S_.prototype[qd]=function(Sf){Sf=Sf===nd?1:bg(P_(Sf),0);var Yf=this.__filtered__&&!df?new S_(this):this.clone();return Yf.__filtered__?Yf.__takeCount__=Lg(Sf,Yf.__takeCount__):Yf.__views__.push({size:Lg(Sf,Zf),type:qd+(Yf.__dir__<0?"Right":"")}),Yf},S_.prototype[qd+"Right"]=function(Sf){return this.reverse()[qd](Sf).reverse()}}),fb(["filter","map","takeWhile"],function(qd,df){var Sf=df+1,Yf=Sf==Ef||Sf==xf;S_.prototype[qd]=function(gh){var Oh=this.clone();return Oh.__iteratees__.push({iteratee:T_(gh,3),type:Sf}),Oh.__filtered__=Oh.__filtered__||Yf,Oh}}),fb(["head","last"],function(qd,df){var Sf="take"+(df?"Right":"");S_.prototype[qd]=function(){return this[Sf](1).value()[0]}}),fb(["initial","tail"],function(qd,df){var Sf="drop"+(df?"":"Right");S_.prototype[qd]=function(){return this.__filtered__?new S_(this):this[Sf](1)}}),S_.prototype.compact=function(){return this.filter(Mb)},S_.prototype.find=function(qd){return this.filter(qd).head()},S_.prototype.findLast=function(qd){return this.reverse().find(qd)},S_.prototype.invokeMap=$_(function(qd,df){return typeof qd=="function"?new S_(this):this.map(function(Sf){return hv(Sf,qd,df)})}),S_.prototype.reject=function(qd){return this.filter(ZS(T_(qd)))},S_.prototype.slice=function(qd,df){qd=P_(qd);var Sf=this;return Sf.__filtered__&&(qd>0||df<0)?new S_(Sf):(qd<0?Sf=Sf.takeRight(-qd):qd&&(Sf=Sf.drop(qd)),df!==nd&&(df=P_(df),Sf=df<0?Sf.dropRight(-df):Sf.take(df-qd)),Sf)},S_.prototype.takeRightWhile=function(qd){return this.reverse().takeWhile(qd).reverse()},S_.prototype.toArray=function(){return this.take(Zf)},wb(S_.prototype,function(qd,df){var Sf=/^(?:filter|find|map|reject)|While$/.test(df),Yf=/^(?:head|last)$/.test(df),gh=Ah[Yf?"take"+(df=="last"?"Right":""):df],Oh=Yf||/^find/.test(df);gh&&(Ah.prototype[df]=function(){var um=this.__wrapped__,dm=Yf?[1]:arguments,gm=um instanceof S_,Gm=dm[0],Vm=gm||k_(um),Wm=function(G_){var W_=gh.apply(Ah,Lb([G_],dm));return Yf&&c_?W_[0]:W_};Vm&&Sf&&typeof Gm=="function"&&Gm.length!=1&&(gm=Vm=!1);var c_=this.__chain__,v_=!!this.__actions__.length,A_=Oh&&!c_,F_=gm&&!v_;if(!Oh&&Vm){um=F_?um:new S_(this);var D_=qd.apply(um,dm);return D_.__actions__.push({func:KS,args:[Wm],thisArg:nd}),new eg(D_,c_)}return A_&&F_?qd.apply(this,dm):(D_=this.thru(Wm),A_?Yf?D_.value()[0]:D_.value():D_)})}),fb(["pop","push","shift","sort","splice","unshift"],function(qd){var df=RE[qd],Sf=/^(?:push|sort|unshift)$/.test(qd)?"tap":"thru",Yf=/^(?:pop|shift)$/.test(qd);Ah.prototype[qd]=function(){var gh=arguments;if(Yf&&!this.__chain__){var Oh=this.value();return df.apply(k_(Oh)?Oh:[],gh)}return this[Sf](function(um){return df.apply(k_(um)?um:[],gh)})}}),wb(S_.prototype,function(qd,df){var Sf=Ah[df];if(Sf){var Yf=Sf.name+"";J_.call(oy,Yf)||(oy[Yf]=[]),oy[Yf].push({name:df,func:Sf})}}),oy[XE(nd,Fd).name]=[{name:"wrapper",func:nd}],S_.prototype.clone=Gg,S_.prototype.reverse=Qv,S_.prototype.value=c1,Ah.prototype.at=DC,Ah.prototype.chain=NC,Ah.prototype.commit=wC,Ah.prototype.next=IC,Ah.prototype.plant=RC,Ah.prototype.reverse=kC,Ah.prototype.toJSON=Ah.prototype.valueOf=Ah.prototype.value=MC,Ah.prototype.first=Ah.prototype.head,iy&&(Ah.prototype[iy]=OC),Ah},m0=bT();h0?((h0.exports=m0)._=m0,Hv._=m0):Z_._=m0}).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 cd=ld[ud];Ra=Ra.replace(new RegExp(cd,"g"),qa[cd])}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 cd=od[ud],dd=Ra[cd];(ld?qa.indexOf(cd)!==-1:qa(cd,dd,Ra))&&(nd[cd]=dd)}return nd};(function(Ra){const qa=strictUriEncode,nd=decodeUriComponent,od=splitOnFirst,ld=filterObj,ud=Md=>Md==null,cd=Symbol("encodeFragmentIdentifier");function dd(Md){switch(Md.arrayFormat){case"index":return Ld=>(Hd,Gd)=>{const Vd=Hd.length;return Gd===void 0||Md.skipNull&&Gd===null||Md.skipEmptyString&&Gd===""?Hd:Gd===null?[...Hd,[md(Ld,Md),"[",Vd,"]"].join("")]:[...Hd,[md(Ld,Md),"[",md(Vd,Md),"]=",md(Gd,Md)].join("")]};case"bracket":return Ld=>(Hd,Gd)=>Gd===void 0||Md.skipNull&&Gd===null||Md.skipEmptyString&&Gd===""?Hd:Gd===null?[...Hd,[md(Ld,Md),"[]"].join("")]:[...Hd,[md(Ld,Md),"[]=",md(Gd,Md)].join("")];case"colon-list-separator":return Ld=>(Hd,Gd)=>Gd===void 0||Md.skipNull&&Gd===null||Md.skipEmptyString&&Gd===""?Hd:Gd===null?[...Hd,[md(Ld,Md),":list="].join("")]:[...Hd,[md(Ld,Md),":list=",md(Gd,Md)].join("")];case"comma":case"separator":case"bracket-separator":{const Ld=Md.arrayFormat==="bracket-separator"?"[]=":"=";return Hd=>(Gd,Vd)=>Vd===void 0||Md.skipNull&&Vd===null||Md.skipEmptyString&&Vd===""?Gd:(Vd=Vd===null?"":Vd,Gd.length===0?[[md(Hd,Md),Ld,md(Vd,Md)].join("")]:[[Gd,md(Vd,Md)].join(Md.arrayFormatSeparator)])}default:return Ld=>(Hd,Gd)=>Gd===void 0||Md.skipNull&&Gd===null||Md.skipEmptyString&&Gd===""?Hd:Gd===null?[...Hd,md(Ld,Md)]:[...Hd,[md(Ld,Md),"=",md(Gd,Md)].join("")]}}function pd(Md){let Ld;switch(Md.arrayFormat){case"index":return(Hd,Gd,Vd)=>{if(Ld=/\[(\d*)\]$/.exec(Hd),Hd=Hd.replace(/\[\d*\]$/,""),!Ld){Vd[Hd]=Gd;return}Vd[Hd]===void 0&&(Vd[Hd]={}),Vd[Hd][Ld[1]]=Gd};case"bracket":return(Hd,Gd,Vd)=>{if(Ld=/(\[\])$/.exec(Hd),Hd=Hd.replace(/\[\]$/,""),!Ld){Vd[Hd]=Gd;return}if(Vd[Hd]===void 0){Vd[Hd]=[Gd];return}Vd[Hd]=[].concat(Vd[Hd],Gd)};case"colon-list-separator":return(Hd,Gd,Vd)=>{if(Ld=/(:list)$/.exec(Hd),Hd=Hd.replace(/:list$/,""),!Ld){Vd[Hd]=Gd;return}if(Vd[Hd]===void 0){Vd[Hd]=[Gd];return}Vd[Hd]=[].concat(Vd[Hd],Gd)};case"comma":case"separator":return(Hd,Gd,Vd)=>{const Kd=typeof Gd=="string"&&Gd.includes(Md.arrayFormatSeparator),mf=typeof Gd=="string"&&!Kd&&vd(Gd,Md).includes(Md.arrayFormatSeparator);Gd=mf?vd(Gd,Md):Gd;const Wd=Kd||mf?Gd.split(Md.arrayFormatSeparator).map(Zd=>vd(Zd,Md)):Gd===null?Gd:vd(Gd,Md);Vd[Hd]=Wd};case"bracket-separator":return(Hd,Gd,Vd)=>{const Kd=/(\[\])$/.test(Hd);if(Hd=Hd.replace(/\[\]$/,""),!Kd){Vd[Hd]=Gd&&vd(Gd,Md);return}const mf=Gd===null?[]:Gd.split(Md.arrayFormatSeparator).map(Wd=>vd(Wd,Md));if(Vd[Hd]===void 0){Vd[Hd]=mf;return}Vd[Hd]=[].concat(Vd[Hd],mf)};default:return(Hd,Gd,Vd)=>{if(Vd[Hd]===void 0){Vd[Hd]=Gd;return}Vd[Hd]=[].concat(Vd[Hd],Gd)}}}function fd(Md){if(typeof Md!="string"||Md.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function md(Md,Ld){return Ld.encode?Ld.strict?qa(Md):encodeURIComponent(Md):Md}function vd(Md,Ld){return Ld.decode?nd(Md):Md}function Ad(Md){return Array.isArray(Md)?Md.sort():typeof Md=="object"?Ad(Object.keys(Md)).sort((Ld,Hd)=>Number(Ld)-Number(Hd)).map(Ld=>Md[Ld]):Md}function Nd(Md){const Ld=Md.indexOf("#");return Ld!==-1&&(Md=Md.slice(0,Ld)),Md}function Id(Md){let Ld="";const Hd=Md.indexOf("#");return Hd!==-1&&(Ld=Md.slice(Hd)),Ld}function kd(Md){Md=Nd(Md);const Ld=Md.indexOf("?");return Ld===-1?"":Md.slice(Ld+1)}function jd(Md,Ld){return Ld.parseNumbers&&!Number.isNaN(Number(Md))&&typeof Md=="string"&&Md.trim()!==""?Md=Number(Md):Ld.parseBooleans&&Md!==null&&(Md.toLowerCase()==="true"||Md.toLowerCase()==="false")&&(Md=Md.toLowerCase()==="true"),Md}function Fd(Md,Ld){Ld=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Ld),fd(Ld.arrayFormatSeparator);const Hd=pd(Ld),Gd=Object.create(null);if(typeof Md!="string"||(Md=Md.trim().replace(/^[?#&]/,""),!Md))return Gd;for(const Vd of Md.split("&")){if(Vd==="")continue;let[Kd,mf]=od(Ld.decode?Vd.replace(/\+/g," "):Vd,"=");mf=mf===void 0?null:["comma","separator","bracket-separator"].includes(Ld.arrayFormat)?mf:vd(mf,Ld),Hd(vd(Kd,Ld),mf,Gd)}for(const Vd of Object.keys(Gd)){const Kd=Gd[Vd];if(typeof Kd=="object"&&Kd!==null)for(const mf of Object.keys(Kd))Kd[mf]=jd(Kd[mf],Ld);else Gd[Vd]=jd(Kd,Ld)}return Ld.sort===!1?Gd:(Ld.sort===!0?Object.keys(Gd).sort():Object.keys(Gd).sort(Ld.sort)).reduce((Vd,Kd)=>{const mf=Gd[Kd];return mf&&typeof mf=="object"&&!Array.isArray(mf)?Vd[Kd]=Ad(mf):Vd[Kd]=mf,Vd},Object.create(null))}Ra.extract=kd,Ra.parse=Fd,Ra.stringify=(Md,Ld)=>{if(!Md)return"";Ld=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Ld),fd(Ld.arrayFormatSeparator);const Hd=mf=>Ld.skipNull&&ud(Md[mf])||Ld.skipEmptyString&&Md[mf]==="",Gd=dd(Ld),Vd={};for(const mf of Object.keys(Md))Hd(mf)||(Vd[mf]=Md[mf]);const Kd=Object.keys(Vd);return Ld.sort!==!1&&Kd.sort(Ld.sort),Kd.map(mf=>{const Wd=Md[mf];return Wd===void 0?"":Wd===null?md(mf,Ld):Array.isArray(Wd)?Wd.length===0&&Ld.arrayFormat==="bracket-separator"?md(mf,Ld)+"[]":Wd.reduce(Gd(mf),[]).join("&"):md(mf,Ld)+"="+md(Wd,Ld)}).filter(mf=>mf.length>0).join("&")},Ra.parseUrl=(Md,Ld)=>{Ld=Object.assign({decode:!0},Ld);const[Hd,Gd]=od(Md,"#");return Object.assign({url:Hd.split("?")[0]||"",query:Fd(kd(Md),Ld)},Ld&&Ld.parseFragmentIdentifier&&Gd?{fragmentIdentifier:vd(Gd,Ld)}:{})},Ra.stringifyUrl=(Md,Ld)=>{Ld=Object.assign({encode:!0,strict:!0,[cd]:!0},Ld);const Hd=Nd(Md.url).split("?")[0]||"",Gd=Ra.extract(Md.url),Vd=Ra.parse(Gd,{sort:!1}),Kd=Object.assign(Vd,Md.query);let mf=Ra.stringify(Kd,Ld);mf&&(mf=`?${mf}`);let Wd=Id(Md.url);return Md.fragmentIdentifier&&(Wd=`#${Ld[cd]?md(Md.fragmentIdentifier,Ld):Md.fragmentIdentifier}`),`${Hd}${mf}${Wd}`},Ra.pick=(Md,Ld,Hd)=>{Hd=Object.assign({parseFragmentIdentifier:!0,[cd]:!1},Hd);const{url:Gd,query:Vd,fragmentIdentifier:Kd}=Ra.parseUrl(Md,Hd);return Ra.stringifyUrl({url:Gd,query:ld(Vd,Ld),fragmentIdentifier:Kd},Hd)},Ra.exclude=(Md,Ld,Hd)=>{const Gd=Array.isArray(Ld)?Vd=>!Ld.includes(Vd):(Vd,Kd)=>!Ld(Vd,Kd);return Ra.pick(Md,Gd,Hd)}})(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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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:"",cd=!0;function dd(Ad){cd?define_process_default$4.nextTick(Ad):Ad()}function pd(Ad,Nd){if(Nd!==void 0&&(od+=Nd),Ad&&!ld&&(nd=nd||new Stream,ld=!0),Ad&&ld){var Id=od;dd(function(){nd.emit("data",Id)}),od=""}}function fd(Ad,Nd){format(pd,resolve(Ad,ud,ud?1:0),Nd)}function md(){if(nd){var Ad=od;dd(function(){nd.emit("data",Ad),nd.emit("end"),nd.readable=!1,nd.emit("close")})}}function vd(Ad){var Nd=Ad.encoding||"UTF-8",Id={version:"1.0",encoding:Nd};Ad.standalone&&(Id.standalone=Ad.standalone),fd({"?xml":{_attr:Id}}),od=od.replace("/>","?>")}return dd(function(){cd=!1}),qa.declaration&&vd(qa.declaration),Ra&&Ra.forEach?Ra.forEach(function(Ad,Nd){var Id;Nd+1===Ra.length&&(Id=md),fd(Ad,Id)}):fd(Ra,md),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,cd=!1;if(typeof Ra=="object"){var dd=Object.keys(Ra);if(ld=dd[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 pd=[],fd=[],md;function vd(Ad){var Nd=Object.keys(Ad);Nd.forEach(function(Id){pd.push(attribute(Id,Ad[Id]))})}switch(typeof ud){case"object":if(ud===null)break;ud._attr&&vd(ud._attr),ud._cdata&&fd.push(("<![CDATA["+ud._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),ud.forEach&&(md=!1,fd.push(""),ud.forEach(function(Ad){if(typeof Ad=="object"){var Nd=Object.keys(Ad)[0];Nd=="_attr"?vd(Ad._attr):fd.push(resolve(Ad,qa,nd+1))}else fd.pop(),md=!0,fd.push(escapeForXML(Ad))}),md||fd.push(""));break;default:fd.push(escapeForXML(ud))}return{name:ld,interrupt:cd,attributes:pd,content:fd,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 cd=qa.content.shift();if(cd!==void 0){if(ud(cd))return;format(Ra,cd)}}Ra(!1,(od>1?qa.indents:"")+(qa.name?"</"+qa.name+">":"")+(qa.indent&&!nd?`
|
||
`:"")),nd&&nd()}function ud(cd){return cd.interrupt?(cd.interrupt.append=Ra,cd.interrupt.end=ld,cd.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,cd,dd=[].slice,pd={}.hasOwnProperty;Ra=function(){var fd,md,vd,Ad,Nd,Id;if(Id=arguments[0],Nd=2<=arguments.length?dd.call(arguments,1):[],ld(Object.assign))Object.assign.apply(null,arguments);else for(fd=0,vd=Nd.length;fd<vd;fd++)if(Ad=Nd[fd],Ad!=null)for(md in Ad)pd.call(Ad,md)&&(Id[md]=Ad[md]);return Id},ld=function(fd){return!!fd&&Object.prototype.toString.call(fd)==="[object Function]"},ud=function(fd){var md;return!!fd&&((md=typeof fd)=="function"||md==="object")},nd=function(fd){return ld(Array.isArray)?Array.isArray(fd):Object.prototype.toString.call(fd)==="[object Array]"},od=function(fd){var md;if(nd(fd))return!fd.length;for(md in fd)if(pd.call(fd,md))return!1;return!0},cd=function(fd){var md,vd;return ud(fd)&&(vd=Object.getPrototypeOf(fd))&&(md=vd.constructor)&&typeof md=="function"&&md instanceof md&&Function.prototype.toString.call(md)===Function.prototype.toString.call(Object)},qa=function(fd){return ld(fd.valueOf)?fd.valueOf():fd},Utility.assign=Ra,Utility.isFunction=ld,Utility.isObject=ud,Utility.isArray=nd,Utility.isEmpty=od,Utility.isPlainObject=cd,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,cd,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(),cd=dd.isObject,ud=dd.isFunction,ld=dd.getValue,od=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLAttribute(),nd=requireXMLNamedNodeMap(),XMLElement.exports=function(md){pd(vd,md);function vd(Ad,Nd,Id){var kd,jd,Fd,Md;if(vd.__super__.constructor.call(this,Ad),Nd==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(Nd),this.type=Ra.Element,this.attribs={},this.schemaTypeInfo=null,Id!=null&&this.attribute(Id),Ad.type===Ra.Document&&(this.isRoot=!0,this.documentObject=Ad,Ad.rootObject=this,Ad.children)){for(Md=Ad.children,jd=0,Fd=Md.length;jd<Fd;jd++)if(kd=Md[jd],kd.type===Ra.DocType){kd.name=this.name;break}}}return Object.defineProperty(vd.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(vd.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(vd.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(vd.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(vd.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(vd.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(vd.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(vd.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new nd(this.attribs)),this.attributeMap}}),vd.prototype.clone=function(){var Ad,Nd,Id,kd;Id=Object.create(this),Id.isRoot&&(Id.documentObject=null),Id.attribs={},kd=this.attribs;for(Nd in kd)fd.call(kd,Nd)&&(Ad=kd[Nd],Id.attribs[Nd]=Ad.clone());return Id.children=[],this.children.forEach(function(jd){var Fd;return Fd=jd.clone(),Fd.parent=Id,Id.children.push(Fd)}),Id},vd.prototype.attribute=function(Ad,Nd){var Id,kd;if(Ad!=null&&(Ad=ld(Ad)),cd(Ad))for(Id in Ad)fd.call(Ad,Id)&&(kd=Ad[Id],this.attribute(Id,kd));else ud(Nd)&&(Nd=Nd.apply()),this.options.keepNullAttributes&&Nd==null?this.attribs[Ad]=new qa(this,Ad,""):Nd!=null&&(this.attribs[Ad]=new qa(this,Ad,Nd));return this},vd.prototype.removeAttribute=function(Ad){var Nd,Id,kd;if(Ad==null)throw new Error("Missing attribute name. "+this.debugInfo());if(Ad=ld(Ad),Array.isArray(Ad))for(Id=0,kd=Ad.length;Id<kd;Id++)Nd=Ad[Id],delete this.attribs[Nd];else delete this.attribs[Ad];return this},vd.prototype.toString=function(Ad){return this.options.writer.element(this,this.options.writer.filterOptions(Ad))},vd.prototype.att=function(Ad,Nd){return this.attribute(Ad,Nd)},vd.prototype.a=function(Ad,Nd){return this.attribute(Ad,Nd)},vd.prototype.getAttribute=function(Ad){return this.attribs.hasOwnProperty(Ad)?this.attribs[Ad].value:null},vd.prototype.setAttribute=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.getAttributeNode=function(Ad){return this.attribs.hasOwnProperty(Ad)?this.attribs[Ad]:null},vd.prototype.setAttributeNode=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.removeAttributeNode=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.getAttributeNS=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.setAttributeNS=function(Ad,Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.removeAttributeNS=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.getAttributeNodeNS=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.setAttributeNodeNS=function(Ad){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.hasAttribute=function(Ad){return this.attribs.hasOwnProperty(Ad)},vd.prototype.hasAttributeNS=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.setIdAttribute=function(Ad,Nd){return this.attribs.hasOwnProperty(Ad)?this.attribs[Ad].isId:Nd},vd.prototype.setIdAttributeNS=function(Ad,Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.setIdAttributeNode=function(Ad,Nd){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.getElementsByTagNameNS=function(Ad,Nd){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.isEqualNode=function(Ad){var Nd,Id,kd;if(!vd.__super__.isEqualNode.apply(this,arguments).isEqualNode(Ad)||Ad.namespaceURI!==this.namespaceURI||Ad.prefix!==this.prefix||Ad.localName!==this.localName||Ad.attribs.length!==this.attribs.length)return!1;for(Nd=Id=0,kd=this.attribs.length-1;0<=kd?Id<=kd:Id>=kd;Nd=0<=kd?++Id:--Id)if(!this.attribs[Nd].isEqualNode(Ad.attribs[Nd]))return!1;return!0},vd}(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 cd(){this.constructor=od}return cd.prototype=ld.prototype,od.prototype=new cd,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,cd){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,cd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.deleteData=function(ud,cd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.replaceData=function(ud,cd,dd){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 cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLCData.exports=function(ld){nd(ud,ld);function ud(cd,dd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=Ra.CData,this.value=this.stringify.cdata(dd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(cd){return this.options.writer.cdata(this,this.options.writer.filterOptions(cd))},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 cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLComment.exports=function(ld){nd(ud,ld);function ud(cd,dd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=Ra.Comment,this.value=this.stringify.comment(dd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(cd){return this.options.writer.comment(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLComment.exports}var XMLDeclaration={exports:{}},hasRequiredXMLDeclaration;function requireXMLDeclaration(){return hasRequiredXMLDeclaration||(hasRequiredXMLDeclaration=1,(function(){var Ra,qa,nd,od=function(ud,cd){for(var dd in cd)ld.call(cd,dd)&&(ud[dd]=cd[dd]);function pd(){this.constructor=ud}return pd.prototype=cd.prototype,ud.prototype=new pd,ud.__super__=cd.prototype,ud},ld={}.hasOwnProperty;nd=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDeclaration.exports=function(ud){od(cd,ud);function cd(dd,pd,fd,md){var vd;cd.__super__.constructor.call(this,dd),nd(pd)&&(vd=pd,pd=vd.version,fd=vd.encoding,md=vd.standalone),pd||(pd="1.0"),this.type=Ra.Declaration,this.version=this.stringify.xmlVersion(pd),fd!=null&&(this.encoding=this.stringify.xmlEncoding(fd)),md!=null&&(this.standalone=this.stringify.xmlStandalone(md))}return cd.prototype.toString=function(dd){return this.options.writer.declaration(this,this.options.writer.filterOptions(dd))},cd}(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 cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDAttList.exports=function(ld){nd(ud,ld);function ud(cd,dd,pd,fd,md,vd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(pd==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(dd));if(!fd)throw new Error("Missing DTD attribute type. "+this.debugInfo(dd));if(!md)throw new Error("Missing DTD attribute default. "+this.debugInfo(dd));if(md.indexOf("#")!==0&&(md="#"+md),!md.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(dd));if(vd&&!md.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(dd));this.elementName=this.stringify.name(dd),this.type=Ra.AttributeDeclaration,this.attributeName=this.stringify.name(pd),this.attributeType=this.stringify.dtdAttType(fd),vd&&(this.defaultValue=this.stringify.dtdAttDefault(vd)),this.defaultValueType=md}return ud.prototype.toString=function(cd){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDAttList.exports}var XMLDTDEntity={exports:{}},hasRequiredXMLDTDEntity;function requireXMLDTDEntity(){return hasRequiredXMLDTDEntity||(hasRequiredXMLDTDEntity=1,(function(){var Ra,qa,nd,od=function(ud,cd){for(var dd in cd)ld.call(cd,dd)&&(ud[dd]=cd[dd]);function pd(){this.constructor=ud}return pd.prototype=cd.prototype,ud.prototype=new pd,ud.__super__=cd.prototype,ud},ld={}.hasOwnProperty;nd=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDEntity.exports=function(ud){od(cd,ud);function cd(dd,pd,fd,md){if(cd.__super__.constructor.call(this,dd),fd==null)throw new Error("Missing DTD entity name. "+this.debugInfo(fd));if(md==null)throw new Error("Missing DTD entity value. "+this.debugInfo(fd));if(this.pe=!!pd,this.name=this.stringify.name(fd),this.type=Ra.EntityDeclaration,!nd(md))this.value=this.stringify.dtdEntityValue(md),this.internal=!0;else{if(!md.pubID&&!md.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(fd));if(md.pubID&&!md.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(fd));if(this.internal=!1,md.pubID!=null&&(this.pubID=this.stringify.dtdPubID(md.pubID)),md.sysID!=null&&(this.sysID=this.stringify.dtdSysID(md.sysID)),md.nData!=null&&(this.nData=this.stringify.dtdNData(md.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(fd))}}return Object.defineProperty(cd.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(cd.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(cd.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(cd.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(cd.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(cd.prototype,"xmlVersion",{get:function(){return null}}),cd.prototype.toString=function(dd){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(dd))},cd}(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 cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDElement.exports=function(ld){nd(ud,ld);function ud(cd,dd,pd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing DTD element name. "+this.debugInfo());pd||(pd="(#PCDATA)"),Array.isArray(pd)&&(pd="("+pd.join(",")+")"),this.name=this.stringify.name(dd),this.type=Ra.ElementDeclaration,this.value=this.stringify.dtdElementValue(pd)}return ud.prototype.toString=function(cd){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(cd))},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 cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDNotation.exports=function(ld){nd(ud,ld);function ud(cd,dd,pd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing DTD notation name. "+this.debugInfo(dd));if(!pd.pubID&&!pd.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(dd));this.name=this.stringify.name(dd),this.type=Ra.NotationDeclaration,pd.pubID!=null&&(this.pubID=this.stringify.dtdPubID(pd.pubID)),pd.sysID!=null&&(this.sysID=this.stringify.dtdSysID(pd.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(cd){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDNotation.exports}var hasRequiredXMLDocType;function requireXMLDocType(){return hasRequiredXMLDocType||(hasRequiredXMLDocType=1,(function(){var Ra,qa,nd,od,ld,ud,cd,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().isObject,cd=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLDTDAttList(),od=requireXMLDTDEntity(),nd=requireXMLDTDElement(),ld=requireXMLDTDNotation(),ud=requireXMLNamedNodeMap(),XMLDocType.exports=function(md){pd(vd,md);function vd(Ad,Nd,Id){var kd,jd,Fd,Md,Ld,Hd;if(vd.__super__.constructor.call(this,Ad),this.type=Ra.DocType,Ad.children){for(Md=Ad.children,jd=0,Fd=Md.length;jd<Fd;jd++)if(kd=Md[jd],kd.type===Ra.Element){this.name=kd.name;break}}this.documentObject=Ad,dd(Nd)&&(Ld=Nd,Nd=Ld.pubID,Id=Ld.sysID),Id==null&&(Hd=[Nd,Id],Id=Hd[0],Nd=Hd[1]),Nd!=null&&(this.pubID=this.stringify.dtdPubID(Nd)),Id!=null&&(this.sysID=this.stringify.dtdSysID(Id))}return Object.defineProperty(vd.prototype,"entities",{get:function(){var Ad,Nd,Id,kd,jd;for(kd={},jd=this.children,Nd=0,Id=jd.length;Nd<Id;Nd++)Ad=jd[Nd],Ad.type===Ra.EntityDeclaration&&!Ad.pe&&(kd[Ad.name]=Ad);return new ud(kd)}}),Object.defineProperty(vd.prototype,"notations",{get:function(){var Ad,Nd,Id,kd,jd;for(kd={},jd=this.children,Nd=0,Id=jd.length;Nd<Id;Nd++)Ad=jd[Nd],Ad.type===Ra.NotationDeclaration&&(kd[Ad.name]=Ad);return new ud(kd)}}),Object.defineProperty(vd.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(vd.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(vd.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),vd.prototype.element=function(Ad,Nd){var Id;return Id=new nd(this,Ad,Nd),this.children.push(Id),this},vd.prototype.attList=function(Ad,Nd,Id,kd,jd){var Fd;return Fd=new qa(this,Ad,Nd,Id,kd,jd),this.children.push(Fd),this},vd.prototype.entity=function(Ad,Nd){var Id;return Id=new od(this,!1,Ad,Nd),this.children.push(Id),this},vd.prototype.pEntity=function(Ad,Nd){var Id;return Id=new od(this,!0,Ad,Nd),this.children.push(Id),this},vd.prototype.notation=function(Ad,Nd){var Id;return Id=new ld(this,Ad,Nd),this.children.push(Id),this},vd.prototype.toString=function(Ad){return this.options.writer.docType(this,this.options.writer.filterOptions(Ad))},vd.prototype.ele=function(Ad,Nd){return this.element(Ad,Nd)},vd.prototype.att=function(Ad,Nd,Id,kd,jd){return this.attList(Ad,Nd,Id,kd,jd)},vd.prototype.ent=function(Ad,Nd){return this.entity(Ad,Nd)},vd.prototype.pent=function(Ad,Nd){return this.pEntity(Ad,Nd)},vd.prototype.not=function(Ad,Nd){return this.notation(Ad,Nd)},vd.prototype.up=function(){return this.root()||this.documentObject},vd.prototype.isEqualNode=function(Ad){return!(!vd.__super__.isEqualNode.apply(this,arguments).isEqualNode(Ad)||Ad.name!==this.name||Ad.publicId!==this.publicId||Ad.systemId!==this.systemId)},vd}(cd)}).call(commonjsGlobal)),XMLDocType.exports}var XMLRaw={exports:{}},hasRequiredXMLRaw;function requireXMLRaw(){return hasRequiredXMLRaw||(hasRequiredXMLRaw=1,(function(){var Ra,qa,nd=function(ld,ud){for(var cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLNode(),XMLRaw.exports=function(ld){nd(ud,ld);function ud(cd,dd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=Ra.Raw,this.value=this.stringify.raw(dd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(cd){return this.options.writer.raw(this,this.options.writer.filterOptions(cd))},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 cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLText.exports=function(ld){nd(ud,ld);function ud(cd,dd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=Ra.Text,this.value=this.stringify.text(dd)}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 cd,dd,pd;for(pd="",dd=this.previousSibling;dd;)pd=dd.data+pd,dd=dd.previousSibling;for(pd+=this.data,cd=this.nextSibling;cd;)pd=pd+cd.data,cd=cd.nextSibling;return pd}}),ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(cd){return this.options.writer.text(this,this.options.writer.filterOptions(cd))},ud.prototype.splitText=function(cd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ud.prototype.replaceWholeText=function(cd){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 cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLProcessingInstruction.exports=function(ld){nd(ud,ld);function ud(cd,dd,pd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=Ra.ProcessingInstruction,this.target=this.stringify.insTarget(dd),this.name=this.target,pd&&(this.value=this.stringify.insValue(pd))}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(cd){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(cd))},ud.prototype.isEqualNode=function(cd){return!(!ud.__super__.isEqualNode.apply(this,arguments).isEqualNode(cd)||cd.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 cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDummy.exports=function(ld){nd(ud,ld);function ud(cd){ud.__super__.constructor.call(this,cd),this.type=Ra.Dummy}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(cd){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,cd,dd,pd,fd,md,vd,Ad,Nd,Id,kd,jd,Fd={}.hasOwnProperty;jd=requireUtility(),kd=jd.isObject,Id=jd.isFunction,Nd=jd.isEmpty,Ad=jd.getValue,dd=null,nd=null,od=null,ld=null,ud=null,md=null,vd=null,fd=null,cd=null,qa=null,pd=null,Ra=null,XMLNode.exports=function(){function Md(Ld){this.parent=Ld,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,dd||(dd=requireXMLElement(),nd=requireXMLCData(),od=requireXMLComment(),ld=requireXMLDeclaration(),ud=requireXMLDocType(),md=requireXMLRaw(),vd=requireXMLText(),fd=requireXMLProcessingInstruction(),cd=requireXMLDummy(),qa=requireNodeType(),pd=requireXMLNodeList(),requireXMLNamedNodeMap(),Ra=requireDocumentPosition())}return Object.defineProperty(Md.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Md.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Md.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Md.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Md.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new pd(this.children)),this.childNodeList}}),Object.defineProperty(Md.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Md.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Md.prototype,"previousSibling",{get:function(){var Ld;return Ld=this.parent.children.indexOf(this),this.parent.children[Ld-1]||null}}),Object.defineProperty(Md.prototype,"nextSibling",{get:function(){var Ld;return Ld=this.parent.children.indexOf(this),this.parent.children[Ld+1]||null}}),Object.defineProperty(Md.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Md.prototype,"textContent",{get:function(){var Ld,Hd,Gd,Vd,Kd;if(this.nodeType===qa.Element||this.nodeType===qa.DocumentFragment){for(Kd="",Vd=this.children,Hd=0,Gd=Vd.length;Hd<Gd;Hd++)Ld=Vd[Hd],Ld.textContent&&(Kd+=Ld.textContent);return Kd}else return null},set:function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Md.prototype.setParent=function(Ld){var Hd,Gd,Vd,Kd,mf;for(this.parent=Ld,Ld&&(this.options=Ld.options,this.stringify=Ld.stringify),Kd=this.children,mf=[],Gd=0,Vd=Kd.length;Gd<Vd;Gd++)Hd=Kd[Gd],mf.push(Hd.setParent(this));return mf},Md.prototype.element=function(Ld,Hd,Gd){var Vd,Kd,mf,Wd,Zd,Xd,bf,yf,Ef,gf,xf;if(Xd=null,Hd===null&&Gd==null&&(Ef=[{},null],Hd=Ef[0],Gd=Ef[1]),Hd==null&&(Hd={}),Hd=Ad(Hd),kd(Hd)||(gf=[Hd,Gd],Gd=gf[0],Hd=gf[1]),Ld!=null&&(Ld=Ad(Ld)),Array.isArray(Ld))for(mf=0,bf=Ld.length;mf<bf;mf++)Kd=Ld[mf],Xd=this.element(Kd);else if(Id(Ld))Xd=this.element(Ld.apply());else if(kd(Ld)){for(Zd in Ld)if(Fd.call(Ld,Zd))if(xf=Ld[Zd],Id(xf)&&(xf=xf.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Zd.indexOf(this.stringify.convertAttKey)===0)Xd=this.attribute(Zd.substr(this.stringify.convertAttKey.length),xf);else if(!this.options.separateArrayItems&&Array.isArray(xf)&&Nd(xf))Xd=this.dummy();else if(kd(xf)&&Nd(xf))Xd=this.element(Zd);else if(!this.options.keepNullNodes&&xf==null)Xd=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(xf))for(Wd=0,yf=xf.length;Wd<yf;Wd++)Kd=xf[Wd],Vd={},Vd[Zd]=Kd,Xd=this.element(Vd);else kd(xf)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Zd.indexOf(this.stringify.convertTextKey)===0?Xd=this.element(xf):(Xd=this.element(Zd),Xd.element(xf)):Xd=this.element(Zd,xf)}else!this.options.keepNullNodes&&Gd===null?Xd=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Ld.indexOf(this.stringify.convertTextKey)===0?Xd=this.text(Gd):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&Ld.indexOf(this.stringify.convertCDataKey)===0?Xd=this.cdata(Gd):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&Ld.indexOf(this.stringify.convertCommentKey)===0?Xd=this.comment(Gd):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&Ld.indexOf(this.stringify.convertRawKey)===0?Xd=this.raw(Gd):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&Ld.indexOf(this.stringify.convertPIKey)===0?Xd=this.instruction(Ld.substr(this.stringify.convertPIKey.length),Gd):Xd=this.node(Ld,Hd,Gd);if(Xd==null)throw new Error("Could not create any elements with: "+Ld+". "+this.debugInfo());return Xd},Md.prototype.insertBefore=function(Ld,Hd,Gd){var Vd,Kd,mf,Wd,Zd;if(Ld!=null&&Ld.type)return mf=Ld,Wd=Hd,mf.setParent(this),Wd?(Kd=children.indexOf(Wd),Zd=children.splice(Kd),children.push(mf),Array.prototype.push.apply(children,Zd)):children.push(mf),mf;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Ld));return Kd=this.parent.children.indexOf(this),Zd=this.parent.children.splice(Kd),Vd=this.parent.element(Ld,Hd,Gd),Array.prototype.push.apply(this.parent.children,Zd),Vd},Md.prototype.insertAfter=function(Ld,Hd,Gd){var Vd,Kd,mf;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Ld));return Kd=this.parent.children.indexOf(this),mf=this.parent.children.splice(Kd+1),Vd=this.parent.element(Ld,Hd,Gd),Array.prototype.push.apply(this.parent.children,mf),Vd},Md.prototype.remove=function(){var Ld;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return Ld=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[Ld,Ld-Ld+1].concat([])),this.parent},Md.prototype.node=function(Ld,Hd,Gd){var Vd,Kd;return Ld!=null&&(Ld=Ad(Ld)),Hd||(Hd={}),Hd=Ad(Hd),kd(Hd)||(Kd=[Hd,Gd],Gd=Kd[0],Hd=Kd[1]),Vd=new dd(this,Ld,Hd),Gd!=null&&Vd.text(Gd),this.children.push(Vd),Vd},Md.prototype.text=function(Ld){var Hd;return kd(Ld)&&this.element(Ld),Hd=new vd(this,Ld),this.children.push(Hd),this},Md.prototype.cdata=function(Ld){var Hd;return Hd=new nd(this,Ld),this.children.push(Hd),this},Md.prototype.comment=function(Ld){var Hd;return Hd=new od(this,Ld),this.children.push(Hd),this},Md.prototype.commentBefore=function(Ld){var Hd,Gd;return Hd=this.parent.children.indexOf(this),Gd=this.parent.children.splice(Hd),this.parent.comment(Ld),Array.prototype.push.apply(this.parent.children,Gd),this},Md.prototype.commentAfter=function(Ld){var Hd,Gd;return Hd=this.parent.children.indexOf(this),Gd=this.parent.children.splice(Hd+1),this.parent.comment(Ld),Array.prototype.push.apply(this.parent.children,Gd),this},Md.prototype.raw=function(Ld){var Hd;return Hd=new md(this,Ld),this.children.push(Hd),this},Md.prototype.dummy=function(){var Ld;return Ld=new cd(this),Ld},Md.prototype.instruction=function(Ld,Hd){var Gd,Vd,Kd,mf,Wd;if(Ld!=null&&(Ld=Ad(Ld)),Hd!=null&&(Hd=Ad(Hd)),Array.isArray(Ld))for(mf=0,Wd=Ld.length;mf<Wd;mf++)Gd=Ld[mf],this.instruction(Gd);else if(kd(Ld))for(Gd in Ld)Fd.call(Ld,Gd)&&(Vd=Ld[Gd],this.instruction(Gd,Vd));else Id(Hd)&&(Hd=Hd.apply()),Kd=new fd(this,Ld,Hd),this.children.push(Kd);return this},Md.prototype.instructionBefore=function(Ld,Hd){var Gd,Vd;return Gd=this.parent.children.indexOf(this),Vd=this.parent.children.splice(Gd),this.parent.instruction(Ld,Hd),Array.prototype.push.apply(this.parent.children,Vd),this},Md.prototype.instructionAfter=function(Ld,Hd){var Gd,Vd;return Gd=this.parent.children.indexOf(this),Vd=this.parent.children.splice(Gd+1),this.parent.instruction(Ld,Hd),Array.prototype.push.apply(this.parent.children,Vd),this},Md.prototype.declaration=function(Ld,Hd,Gd){var Vd,Kd;return Vd=this.document(),Kd=new ld(Vd,Ld,Hd,Gd),Vd.children.length===0?Vd.children.unshift(Kd):Vd.children[0].type===qa.Declaration?Vd.children[0]=Kd:Vd.children.unshift(Kd),Vd.root()||Vd},Md.prototype.dtd=function(Ld,Hd){var Gd,Vd,Kd,mf,Wd,Zd,Xd,bf,yf,Ef;for(Vd=this.document(),Kd=new ud(Vd,Ld,Hd),yf=Vd.children,mf=Wd=0,Xd=yf.length;Wd<Xd;mf=++Wd)if(Gd=yf[mf],Gd.type===qa.DocType)return Vd.children[mf]=Kd,Kd;for(Ef=Vd.children,mf=Zd=0,bf=Ef.length;Zd<bf;mf=++Zd)if(Gd=Ef[mf],Gd.isRoot)return Vd.children.splice(mf,0,Kd),Kd;return Vd.children.push(Kd),Kd},Md.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},Md.prototype.root=function(){var Ld;for(Ld=this;Ld;){if(Ld.type===qa.Document)return Ld.rootObject;if(Ld.isRoot)return Ld;Ld=Ld.parent}},Md.prototype.document=function(){var Ld;for(Ld=this;Ld;){if(Ld.type===qa.Document)return Ld;Ld=Ld.parent}},Md.prototype.end=function(Ld){return this.document().end(Ld)},Md.prototype.prev=function(){var Ld;if(Ld=this.parent.children.indexOf(this),Ld<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[Ld-1]},Md.prototype.next=function(){var Ld;if(Ld=this.parent.children.indexOf(this),Ld===-1||Ld===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[Ld+1]},Md.prototype.importDocument=function(Ld){var Hd;return Hd=Ld.root().clone(),Hd.parent=this,Hd.isRoot=!1,this.children.push(Hd),this},Md.prototype.debugInfo=function(Ld){var Hd,Gd;return Ld=Ld||this.name,Ld==null&&!((Hd=this.parent)!=null&&Hd.name)?"":Ld==null?"parent: <"+this.parent.name+">":(Gd=this.parent)!=null&&Gd.name?"node: <"+Ld+">, parent: <"+this.parent.name+">":"node: <"+Ld+">"},Md.prototype.ele=function(Ld,Hd,Gd){return this.element(Ld,Hd,Gd)},Md.prototype.nod=function(Ld,Hd,Gd){return this.node(Ld,Hd,Gd)},Md.prototype.txt=function(Ld){return this.text(Ld)},Md.prototype.dat=function(Ld){return this.cdata(Ld)},Md.prototype.com=function(Ld){return this.comment(Ld)},Md.prototype.ins=function(Ld,Hd){return this.instruction(Ld,Hd)},Md.prototype.doc=function(){return this.document()},Md.prototype.dec=function(Ld,Hd,Gd){return this.declaration(Ld,Hd,Gd)},Md.prototype.e=function(Ld,Hd,Gd){return this.element(Ld,Hd,Gd)},Md.prototype.n=function(Ld,Hd,Gd){return this.node(Ld,Hd,Gd)},Md.prototype.t=function(Ld){return this.text(Ld)},Md.prototype.d=function(Ld){return this.cdata(Ld)},Md.prototype.c=function(Ld){return this.comment(Ld)},Md.prototype.r=function(Ld){return this.raw(Ld)},Md.prototype.i=function(Ld,Hd){return this.instruction(Ld,Hd)},Md.prototype.u=function(){return this.up()},Md.prototype.importXMLBuilder=function(Ld){return this.importDocument(Ld)},Md.prototype.replaceChild=function(Ld,Hd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.removeChild=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.appendChild=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.hasChildNodes=function(){return this.children.length!==0},Md.prototype.cloneNode=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.isSupported=function(Ld,Hd){return!0},Md.prototype.hasAttributes=function(){return this.attribs.length!==0},Md.prototype.compareDocumentPosition=function(Ld){var Hd,Gd;return Hd=this,Hd===Ld?0:this.document()!==Ld.document()?(Gd=Ra.Disconnected|Ra.ImplementationSpecific,Math.random()<.5?Gd|=Ra.Preceding:Gd|=Ra.Following,Gd):Hd.isAncestor(Ld)?Ra.Contains|Ra.Preceding:Hd.isDescendant(Ld)?Ra.Contains|Ra.Following:Hd.isPreceding(Ld)?Ra.Preceding:Ra.Following},Md.prototype.isSameNode=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.lookupPrefix=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.isDefaultNamespace=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.lookupNamespaceURI=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.isEqualNode=function(Ld){var Hd,Gd,Vd;if(Ld.nodeType!==this.nodeType||Ld.children.length!==this.children.length)return!1;for(Hd=Gd=0,Vd=this.children.length-1;0<=Vd?Gd<=Vd:Gd>=Vd;Hd=0<=Vd?++Gd:--Gd)if(!this.children[Hd].isEqualNode(Ld.children[Hd]))return!1;return!0},Md.prototype.getFeature=function(Ld,Hd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.setUserData=function(Ld,Hd,Gd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.getUserData=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.contains=function(Ld){return Ld?Ld===this||this.isDescendant(Ld):!1},Md.prototype.isDescendant=function(Ld){var Hd,Gd,Vd,Kd,mf;for(mf=this.children,Vd=0,Kd=mf.length;Vd<Kd;Vd++)if(Hd=mf[Vd],Ld===Hd||(Gd=Hd.isDescendant(Ld),Gd))return!0;return!1},Md.prototype.isAncestor=function(Ld){return Ld.isDescendant(this)},Md.prototype.isPreceding=function(Ld){var Hd,Gd;return Hd=this.treePosition(Ld),Gd=this.treePosition(this),Hd===-1||Gd===-1?!1:Hd<Gd},Md.prototype.isFollowing=function(Ld){var Hd,Gd;return Hd=this.treePosition(Ld),Gd=this.treePosition(this),Hd===-1||Gd===-1?!1:Hd>Gd},Md.prototype.treePosition=function(Ld){var Hd,Gd;return Gd=0,Hd=!1,this.foreachTreeNode(this.document(),function(Vd){if(Gd++,!Hd&&Vd===Ld)return Hd=!0}),Hd?Gd:-1},Md.prototype.foreachTreeNode=function(Ld,Hd){var Gd,Vd,Kd,mf,Wd;for(Ld||(Ld=this.document()),mf=Ld.children,Vd=0,Kd=mf.length;Vd<Kd;Vd++){if(Gd=mf[Vd],Wd=Hd(Gd))return Wd;if(Wd=this.foreachTreeNode(Gd,Hd),Wd)return Wd}},Md}()}).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,cd;od||(od={}),this.options=od,this.options.version||(this.options.version="1.0"),ud=od.stringify||{};for(ld in ud)qa.call(ud,ld)&&(cd=ud[ld],this[ld]=cd)}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 cd,dd,pd;ud||(ud={}),this.options=ud,dd=ud.writer||{};for(cd in dd)od.call(dd,cd)&&(pd=dd[cd],this["_"+cd]=this[cd],this[cd]=pd)}return ld.prototype.filterOptions=function(ud){var cd,dd,pd,fd,md,vd,Ad,Nd;return ud||(ud={}),ud=nd({},this.options,ud),cd={writer:this},cd.pretty=ud.pretty||!1,cd.allowEmpty=ud.allowEmpty||!1,cd.indent=(dd=ud.indent)!=null?dd:" ",cd.newline=(pd=ud.newline)!=null?pd:`
|
||
`,cd.offset=(fd=ud.offset)!=null?fd:0,cd.dontPrettyTextNodes=(md=(vd=ud.dontPrettyTextNodes)!=null?vd:ud.dontprettytextnodes)!=null?md:0,cd.spaceBeforeSlash=(Ad=(Nd=ud.spaceBeforeSlash)!=null?Nd:ud.spacebeforeslash)!=null?Ad:"",cd.spaceBeforeSlash===!0&&(cd.spaceBeforeSlash=" "),cd.suppressPrettyCount=0,cd.user={},cd.state=qa.None,cd},ld.prototype.indent=function(ud,cd,dd){var pd;return!cd.pretty||cd.suppressPrettyCount?"":cd.pretty&&(pd=(dd||0)+cd.offset+1,pd>0)?new Array(pd).join(cd.indent):""},ld.prototype.endline=function(ud,cd,dd){return!cd.pretty||cd.suppressPrettyCount?"":cd.newline},ld.prototype.attribute=function(ud,cd,dd){var pd;return this.openAttribute(ud,cd,dd),pd=" "+ud.name+'="'+ud.value+'"',this.closeAttribute(ud,cd,dd),pd},ld.prototype.cdata=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+"<![CDATA[",cd.state=qa.InsideTag,pd+=ud.value,cd.state=qa.CloseTag,pd+="]]>"+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.comment=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+"<!-- ",cd.state=qa.InsideTag,pd+=ud.value,cd.state=qa.CloseTag,pd+=" -->"+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.declaration=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+"<?xml",cd.state=qa.InsideTag,pd+=' version="'+ud.version+'"',ud.encoding!=null&&(pd+=' encoding="'+ud.encoding+'"'),ud.standalone!=null&&(pd+=' standalone="'+ud.standalone+'"'),cd.state=qa.CloseTag,pd+=cd.spaceBeforeSlash+"?>",pd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.docType=function(ud,cd,dd){var pd,fd,md,vd,Ad;if(dd||(dd=0),this.openNode(ud,cd,dd),cd.state=qa.OpenTag,vd=this.indent(ud,cd,dd),vd+="<!DOCTYPE "+ud.root().name,ud.pubID&&ud.sysID?vd+=' PUBLIC "'+ud.pubID+'" "'+ud.sysID+'"':ud.sysID&&(vd+=' SYSTEM "'+ud.sysID+'"'),ud.children.length>0){for(vd+=" [",vd+=this.endline(ud,cd,dd),cd.state=qa.InsideTag,Ad=ud.children,fd=0,md=Ad.length;fd<md;fd++)pd=Ad[fd],vd+=this.writeChildNode(pd,cd,dd+1);cd.state=qa.CloseTag,vd+="]"}return cd.state=qa.CloseTag,vd+=cd.spaceBeforeSlash+">",vd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),vd},ld.prototype.element=function(ud,cd,dd){var pd,fd,md,vd,Ad,Nd,Id,kd,jd,Fd,Md,Ld,Hd,Gd;dd||(dd=0),Fd=!1,Md="",this.openNode(ud,cd,dd),cd.state=qa.OpenTag,Md+=this.indent(ud,cd,dd)+"<"+ud.name,Ld=ud.attribs;for(jd in Ld)od.call(Ld,jd)&&(pd=Ld[jd],Md+=this.attribute(pd,cd,dd));if(md=ud.children.length,vd=md===0?null:ud.children[0],md===0||ud.children.every(function(Vd){return(Vd.type===Ra.Text||Vd.type===Ra.Raw)&&Vd.value===""}))cd.allowEmpty?(Md+=">",cd.state=qa.CloseTag,Md+="</"+ud.name+">"+this.endline(ud,cd,dd)):(cd.state=qa.CloseTag,Md+=cd.spaceBeforeSlash+"/>"+this.endline(ud,cd,dd));else if(cd.pretty&&md===1&&(vd.type===Ra.Text||vd.type===Ra.Raw)&&vd.value!=null)Md+=">",cd.state=qa.InsideTag,cd.suppressPrettyCount++,Fd=!0,Md+=this.writeChildNode(vd,cd,dd+1),cd.suppressPrettyCount--,Fd=!1,cd.state=qa.CloseTag,Md+="</"+ud.name+">"+this.endline(ud,cd,dd);else{if(cd.dontPrettyTextNodes){for(Hd=ud.children,Ad=0,Id=Hd.length;Ad<Id;Ad++)if(fd=Hd[Ad],(fd.type===Ra.Text||fd.type===Ra.Raw)&&fd.value!=null){cd.suppressPrettyCount++,Fd=!0;break}}for(Md+=">"+this.endline(ud,cd,dd),cd.state=qa.InsideTag,Gd=ud.children,Nd=0,kd=Gd.length;Nd<kd;Nd++)fd=Gd[Nd],Md+=this.writeChildNode(fd,cd,dd+1);cd.state=qa.CloseTag,Md+=this.indent(ud,cd,dd)+"</"+ud.name+">",Fd&&cd.suppressPrettyCount--,Md+=this.endline(ud,cd,dd),cd.state=qa.None}return this.closeNode(ud,cd,dd),Md},ld.prototype.writeChildNode=function(ud,cd,dd){switch(ud.type){case Ra.CData:return this.cdata(ud,cd,dd);case Ra.Comment:return this.comment(ud,cd,dd);case Ra.Element:return this.element(ud,cd,dd);case Ra.Raw:return this.raw(ud,cd,dd);case Ra.Text:return this.text(ud,cd,dd);case Ra.ProcessingInstruction:return this.processingInstruction(ud,cd,dd);case Ra.Dummy:return"";case Ra.Declaration:return this.declaration(ud,cd,dd);case Ra.DocType:return this.docType(ud,cd,dd);case Ra.AttributeDeclaration:return this.dtdAttList(ud,cd,dd);case Ra.ElementDeclaration:return this.dtdElement(ud,cd,dd);case Ra.EntityDeclaration:return this.dtdEntity(ud,cd,dd);case Ra.NotationDeclaration:return this.dtdNotation(ud,cd,dd);default:throw new Error("Unknown XML node type: "+ud.constructor.name)}},ld.prototype.processingInstruction=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+"<?",cd.state=qa.InsideTag,pd+=ud.target,ud.value&&(pd+=" "+ud.value),cd.state=qa.CloseTag,pd+=cd.spaceBeforeSlash+"?>",pd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.raw=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd),cd.state=qa.InsideTag,pd+=ud.value,cd.state=qa.CloseTag,pd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.text=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd),cd.state=qa.InsideTag,pd+=ud.value,cd.state=qa.CloseTag,pd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.dtdAttList=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+"<!ATTLIST",cd.state=qa.InsideTag,pd+=" "+ud.elementName+" "+ud.attributeName+" "+ud.attributeType,ud.defaultValueType!=="#DEFAULT"&&(pd+=" "+ud.defaultValueType),ud.defaultValue&&(pd+=' "'+ud.defaultValue+'"'),cd.state=qa.CloseTag,pd+=cd.spaceBeforeSlash+">"+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.dtdElement=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+"<!ELEMENT",cd.state=qa.InsideTag,pd+=" "+ud.name+" "+ud.value,cd.state=qa.CloseTag,pd+=cd.spaceBeforeSlash+">"+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.dtdEntity=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+"<!ENTITY",cd.state=qa.InsideTag,ud.pe&&(pd+=" %"),pd+=" "+ud.name,ud.value?pd+=' "'+ud.value+'"':(ud.pubID&&ud.sysID?pd+=' PUBLIC "'+ud.pubID+'" "'+ud.sysID+'"':ud.sysID&&(pd+=' SYSTEM "'+ud.sysID+'"'),ud.nData&&(pd+=" NDATA "+ud.nData)),cd.state=qa.CloseTag,pd+=cd.spaceBeforeSlash+">"+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.dtdNotation=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+"<!NOTATION",cd.state=qa.InsideTag,pd+=" "+ud.name,ud.pubID&&ud.sysID?pd+=' PUBLIC "'+ud.pubID+'" "'+ud.sysID+'"':ud.pubID?pd+=' PUBLIC "'+ud.pubID+'"':ud.sysID&&(pd+=' SYSTEM "'+ud.sysID+'"'),cd.state=qa.CloseTag,pd+=cd.spaceBeforeSlash+">"+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.openNode=function(ud,cd,dd){},ld.prototype.closeNode=function(ud,cd,dd){},ld.prototype.openAttribute=function(ud,cd,dd){},ld.prototype.closeAttribute=function(ud,cd,dd){},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 cd(){this.constructor=od}return cd.prototype=ld.prototype,od.prototype=new cd,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,cd){var dd,pd,fd,md,vd;for(cd=this.filterOptions(cd),md="",vd=ud.children,pd=0,fd=vd.length;pd<fd;pd++)dd=vd[pd],md+=this.writeChildNode(dd,cd,0);return cd.pretty&&md.slice(-cd.newline.length)===cd.newline&&(md=md.slice(0,-cd.newline.length)),md},ld}(Ra)}).call(commonjsGlobal)),XMLStringWriter.exports}var hasRequiredXMLDocument;function requireXMLDocument(){return hasRequiredXMLDocument||(hasRequiredXMLDocument=1,(function(){var Ra,qa,nd,od,ld,ud,cd,dd=function(fd,md){for(var vd in md)pd.call(md,vd)&&(fd[vd]=md[vd]);function Ad(){this.constructor=fd}return Ad.prototype=md.prototype,fd.prototype=new Ad,fd.__super__=md.prototype,fd},pd={}.hasOwnProperty;cd=requireUtility().isPlainObject,nd=requireXMLDOMImplementation(),qa=requireXMLDOMConfiguration(),od=requireXMLNode(),Ra=requireNodeType(),ud=requireXMLStringifier(),ld=requireXMLStringWriter(),XMLDocument.exports=function(fd){dd(md,fd);function md(vd){md.__super__.constructor.call(this,null),this.name="#document",this.type=Ra.Document,this.documentURI=null,this.domConfig=new qa,vd||(vd={}),vd.writer||(vd.writer=new ld),this.options=vd,this.stringify=new ud(vd)}return Object.defineProperty(md.prototype,"implementation",{value:new nd}),Object.defineProperty(md.prototype,"doctype",{get:function(){var vd,Ad,Nd,Id;for(Id=this.children,Ad=0,Nd=Id.length;Ad<Nd;Ad++)if(vd=Id[Ad],vd.type===Ra.DocType)return vd;return null}}),Object.defineProperty(md.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(md.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(md.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(md.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===Ra.Declaration?this.children[0].encoding:null}}),Object.defineProperty(md.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===Ra.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(md.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===Ra.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(md.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(md.prototype,"origin",{get:function(){return null}}),Object.defineProperty(md.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(md.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(md.prototype,"contentType",{get:function(){return null}}),md.prototype.end=function(vd){var Ad;return Ad={},vd?cd(vd)&&(Ad=vd,vd=this.options.writer):vd=this.options.writer,vd.document(this,vd.filterOptions(Ad))},md.prototype.toString=function(vd){return this.options.writer.document(this,this.options.writer.filterOptions(vd))},md.prototype.createElement=function(vd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createTextNode=function(vd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createComment=function(vd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createCDATASection=function(vd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createProcessingInstruction=function(vd,Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createAttribute=function(vd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createEntityReference=function(vd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.getElementsByTagName=function(vd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.importNode=function(vd,Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createElementNS=function(vd,Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createAttributeNS=function(vd,Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.getElementsByTagNameNS=function(vd,Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.getElementById=function(vd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.adoptNode=function(vd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.renameNode=function(vd,Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.getElementsByClassName=function(vd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createEvent=function(vd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createNodeIterator=function(vd,Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md.prototype.createTreeWalker=function(vd,Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},md}(od)}).call(commonjsGlobal)),XMLDocument.exports}var XMLDocumentCB={exports:{}},hasRequiredXMLDocumentCB;function requireXMLDocumentCB(){return hasRequiredXMLDocumentCB||(hasRequiredXMLDocumentCB=1,(function(){var Ra,qa,nd,od,ld,ud,cd,dd,pd,fd,md,vd,Ad,Nd,Id,kd,jd,Fd,Md,Ld,Hd,Gd,Vd,Kd={}.hasOwnProperty;Vd=requireUtility(),Hd=Vd.isObject,Ld=Vd.isFunction,Gd=Vd.isPlainObject,Md=Vd.getValue,Ra=requireNodeType(),vd=requireXMLDocument(),Ad=requireXMLElement(),od=requireXMLCData(),ld=requireXMLComment(),Id=requireXMLRaw(),Fd=requireXMLText(),Nd=requireXMLProcessingInstruction(),fd=requireXMLDeclaration(),md=requireXMLDocType(),ud=requireXMLDTDAttList(),dd=requireXMLDTDEntity(),cd=requireXMLDTDElement(),pd=requireXMLDTDNotation(),nd=requireXMLAttribute(),jd=requireXMLStringifier(),kd=requireXMLStringWriter(),qa=requireWriterState(),XMLDocumentCB.exports=function(){function mf(Wd,Zd,Xd){var bf;this.name="?xml",this.type=Ra.Document,Wd||(Wd={}),bf={},Wd.writer?Gd(Wd.writer)&&(bf=Wd.writer,Wd.writer=new kd):Wd.writer=new kd,this.options=Wd,this.writer=Wd.writer,this.writerOptions=this.writer.filterOptions(bf),this.stringify=new jd(Wd),this.onDataCallback=Zd||function(){},this.onEndCallback=Xd||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return mf.prototype.createChildNode=function(Wd){var Zd,Xd,bf,yf,Ef,gf,xf,Af;switch(Wd.type){case Ra.CData:this.cdata(Wd.value);break;case Ra.Comment:this.comment(Wd.value);break;case Ra.Element:bf={},xf=Wd.attribs;for(Xd in xf)Kd.call(xf,Xd)&&(Zd=xf[Xd],bf[Xd]=Zd.value);this.node(Wd.name,bf);break;case Ra.Dummy:this.dummy();break;case Ra.Raw:this.raw(Wd.value);break;case Ra.Text:this.text(Wd.value);break;case Ra.ProcessingInstruction:this.instruction(Wd.target,Wd.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+Wd.constructor.name)}for(Af=Wd.children,Ef=0,gf=Af.length;Ef<gf;Ef++)yf=Af[Ef],this.createChildNode(yf),yf.type===Ra.Element&&this.up();return this},mf.prototype.dummy=function(){return this},mf.prototype.node=function(Wd,Zd,Xd){var bf;if(Wd==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(Wd));return this.openCurrent(),Wd=Md(Wd),Zd==null&&(Zd={}),Zd=Md(Zd),Hd(Zd)||(bf=[Zd,Xd],Xd=bf[0],Zd=bf[1]),this.currentNode=new Ad(this,Wd,Zd),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,Xd!=null&&this.text(Xd),this},mf.prototype.element=function(Wd,Zd,Xd){var bf,yf,Ef,gf,xf,Af;if(this.currentNode&&this.currentNode.type===Ra.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Wd)||Hd(Wd)||Ld(Wd))for(gf=this.options.noValidation,this.options.noValidation=!0,Af=new vd(this.options).element("TEMP_ROOT"),Af.element(Wd),this.options.noValidation=gf,xf=Af.children,yf=0,Ef=xf.length;yf<Ef;yf++)bf=xf[yf],this.createChildNode(bf),bf.type===Ra.Element&&this.up();else this.node(Wd,Zd,Xd);return this},mf.prototype.attribute=function(Wd,Zd){var Xd,bf;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(Wd));if(Wd!=null&&(Wd=Md(Wd)),Hd(Wd))for(Xd in Wd)Kd.call(Wd,Xd)&&(bf=Wd[Xd],this.attribute(Xd,bf));else Ld(Zd)&&(Zd=Zd.apply()),this.options.keepNullAttributes&&Zd==null?this.currentNode.attribs[Wd]=new nd(this,Wd,""):Zd!=null&&(this.currentNode.attribs[Wd]=new nd(this,Wd,Zd));return this},mf.prototype.text=function(Wd){var Zd;return this.openCurrent(),Zd=new Fd(this,Wd),this.onData(this.writer.text(Zd,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},mf.prototype.cdata=function(Wd){var Zd;return this.openCurrent(),Zd=new od(this,Wd),this.onData(this.writer.cdata(Zd,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},mf.prototype.comment=function(Wd){var Zd;return this.openCurrent(),Zd=new ld(this,Wd),this.onData(this.writer.comment(Zd,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},mf.prototype.raw=function(Wd){var Zd;return this.openCurrent(),Zd=new Id(this,Wd),this.onData(this.writer.raw(Zd,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},mf.prototype.instruction=function(Wd,Zd){var Xd,bf,yf,Ef,gf;if(this.openCurrent(),Wd!=null&&(Wd=Md(Wd)),Zd!=null&&(Zd=Md(Zd)),Array.isArray(Wd))for(Xd=0,Ef=Wd.length;Xd<Ef;Xd++)bf=Wd[Xd],this.instruction(bf);else if(Hd(Wd))for(bf in Wd)Kd.call(Wd,bf)&&(yf=Wd[bf],this.instruction(bf,yf));else Ld(Zd)&&(Zd=Zd.apply()),gf=new Nd(this,Wd,Zd),this.onData(this.writer.processingInstruction(gf,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},mf.prototype.declaration=function(Wd,Zd,Xd){var bf;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return bf=new fd(this,Wd,Zd,Xd),this.onData(this.writer.declaration(bf,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},mf.prototype.doctype=function(Wd,Zd,Xd){if(this.openCurrent(),Wd==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 md(this,Zd,Xd),this.currentNode.rootNodeName=Wd,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},mf.prototype.dtdElement=function(Wd,Zd){var Xd;return this.openCurrent(),Xd=new cd(this,Wd,Zd),this.onData(this.writer.dtdElement(Xd,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},mf.prototype.attList=function(Wd,Zd,Xd,bf,yf){var Ef;return this.openCurrent(),Ef=new ud(this,Wd,Zd,Xd,bf,yf),this.onData(this.writer.dtdAttList(Ef,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},mf.prototype.entity=function(Wd,Zd){var Xd;return this.openCurrent(),Xd=new dd(this,!1,Wd,Zd),this.onData(this.writer.dtdEntity(Xd,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},mf.prototype.pEntity=function(Wd,Zd){var Xd;return this.openCurrent(),Xd=new dd(this,!0,Wd,Zd),this.onData(this.writer.dtdEntity(Xd,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},mf.prototype.notation=function(Wd,Zd){var Xd;return this.openCurrent(),Xd=new pd(this,Wd,Zd),this.onData(this.writer.dtdNotation(Xd,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},mf.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},mf.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},mf.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},mf.prototype.openNode=function(Wd){var Zd,Xd,bf,yf;if(!Wd.isOpen){if(!this.root&&this.currentLevel===0&&Wd.type===Ra.Element&&(this.root=Wd),Xd="",Wd.type===Ra.Element){this.writerOptions.state=qa.OpenTag,Xd=this.writer.indent(Wd,this.writerOptions,this.currentLevel)+"<"+Wd.name,yf=Wd.attribs;for(bf in yf)Kd.call(yf,bf)&&(Zd=yf[bf],Xd+=this.writer.attribute(Zd,this.writerOptions,this.currentLevel));Xd+=(Wd.children?">":"/>")+this.writer.endline(Wd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.InsideTag}else this.writerOptions.state=qa.OpenTag,Xd=this.writer.indent(Wd,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Wd.rootNodeName,Wd.pubID&&Wd.sysID?Xd+=' PUBLIC "'+Wd.pubID+'" "'+Wd.sysID+'"':Wd.sysID&&(Xd+=' SYSTEM "'+Wd.sysID+'"'),Wd.children?(Xd+=" [",this.writerOptions.state=qa.InsideTag):(this.writerOptions.state=qa.CloseTag,Xd+=">"),Xd+=this.writer.endline(Wd,this.writerOptions,this.currentLevel);return this.onData(Xd,this.currentLevel),Wd.isOpen=!0}},mf.prototype.closeNode=function(Wd){var Zd;if(!Wd.isClosed)return Zd="",this.writerOptions.state=qa.CloseTag,Wd.type===Ra.Element?Zd=this.writer.indent(Wd,this.writerOptions,this.currentLevel)+"</"+Wd.name+">"+this.writer.endline(Wd,this.writerOptions,this.currentLevel):Zd=this.writer.indent(Wd,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Wd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.None,this.onData(Zd,this.currentLevel),Wd.isClosed=!0},mf.prototype.onData=function(Wd,Zd){return this.documentStarted=!0,this.onDataCallback(Wd,Zd+1)},mf.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},mf.prototype.debugInfo=function(Wd){return Wd==null?"":"node: <"+Wd+">"},mf.prototype.ele=function(){return this.element.apply(this,arguments)},mf.prototype.nod=function(Wd,Zd,Xd){return this.node(Wd,Zd,Xd)},mf.prototype.txt=function(Wd){return this.text(Wd)},mf.prototype.dat=function(Wd){return this.cdata(Wd)},mf.prototype.com=function(Wd){return this.comment(Wd)},mf.prototype.ins=function(Wd,Zd){return this.instruction(Wd,Zd)},mf.prototype.dec=function(Wd,Zd,Xd){return this.declaration(Wd,Zd,Xd)},mf.prototype.dtd=function(Wd,Zd,Xd){return this.doctype(Wd,Zd,Xd)},mf.prototype.e=function(Wd,Zd,Xd){return this.element(Wd,Zd,Xd)},mf.prototype.n=function(Wd,Zd,Xd){return this.node(Wd,Zd,Xd)},mf.prototype.t=function(Wd){return this.text(Wd)},mf.prototype.d=function(Wd){return this.cdata(Wd)},mf.prototype.c=function(Wd){return this.comment(Wd)},mf.prototype.r=function(Wd){return this.raw(Wd)},mf.prototype.i=function(Wd,Zd){return this.instruction(Wd,Zd)},mf.prototype.att=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},mf.prototype.a=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},mf.prototype.ent=function(Wd,Zd){return this.entity(Wd,Zd)},mf.prototype.pent=function(Wd,Zd){return this.pEntity(Wd,Zd)},mf.prototype.not=function(Wd,Zd){return this.notation(Wd,Zd)},mf}()}).call(commonjsGlobal)),XMLDocumentCB.exports}var XMLStreamWriter={exports:{}},hasRequiredXMLStreamWriter;function requireXMLStreamWriter(){return hasRequiredXMLStreamWriter||(hasRequiredXMLStreamWriter=1,(function(){var Ra,qa,nd,od=function(ud,cd){for(var dd in cd)ld.call(cd,dd)&&(ud[dd]=cd[dd]);function pd(){this.constructor=ud}return pd.prototype=cd.prototype,ud.prototype=new pd,ud.__super__=cd.prototype,ud},ld={}.hasOwnProperty;Ra=requireNodeType(),nd=requireXMLWriterBase(),qa=requireWriterState(),XMLStreamWriter.exports=function(ud){od(cd,ud);function cd(dd,pd){this.stream=dd,cd.__super__.constructor.call(this,pd)}return cd.prototype.endline=function(dd,pd,fd){return dd.isLastRootNode&&pd.state===qa.CloseTag?"":cd.__super__.endline.call(this,dd,pd,fd)},cd.prototype.document=function(dd,pd){var fd,md,vd,Ad,Nd,Id,kd,jd,Fd;for(kd=dd.children,md=vd=0,Nd=kd.length;vd<Nd;md=++vd)fd=kd[md],fd.isLastRootNode=md===dd.children.length-1;for(pd=this.filterOptions(pd),jd=dd.children,Fd=[],Ad=0,Id=jd.length;Ad<Id;Ad++)fd=jd[Ad],Fd.push(this.writeChildNode(fd,pd,0));return Fd},cd.prototype.attribute=function(dd,pd,fd){return this.stream.write(cd.__super__.attribute.call(this,dd,pd,fd))},cd.prototype.cdata=function(dd,pd,fd){return this.stream.write(cd.__super__.cdata.call(this,dd,pd,fd))},cd.prototype.comment=function(dd,pd,fd){return this.stream.write(cd.__super__.comment.call(this,dd,pd,fd))},cd.prototype.declaration=function(dd,pd,fd){return this.stream.write(cd.__super__.declaration.call(this,dd,pd,fd))},cd.prototype.docType=function(dd,pd,fd){var md,vd,Ad,Nd;if(fd||(fd=0),this.openNode(dd,pd,fd),pd.state=qa.OpenTag,this.stream.write(this.indent(dd,pd,fd)),this.stream.write("<!DOCTYPE "+dd.root().name),dd.pubID&&dd.sysID?this.stream.write(' PUBLIC "'+dd.pubID+'" "'+dd.sysID+'"'):dd.sysID&&this.stream.write(' SYSTEM "'+dd.sysID+'"'),dd.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(dd,pd,fd)),pd.state=qa.InsideTag,Nd=dd.children,vd=0,Ad=Nd.length;vd<Ad;vd++)md=Nd[vd],this.writeChildNode(md,pd,fd+1);pd.state=qa.CloseTag,this.stream.write("]")}return pd.state=qa.CloseTag,this.stream.write(pd.spaceBeforeSlash+">"),this.stream.write(this.endline(dd,pd,fd)),pd.state=qa.None,this.closeNode(dd,pd,fd)},cd.prototype.element=function(dd,pd,fd){var md,vd,Ad,Nd,Id,kd,jd,Fd,Md;fd||(fd=0),this.openNode(dd,pd,fd),pd.state=qa.OpenTag,this.stream.write(this.indent(dd,pd,fd)+"<"+dd.name),Fd=dd.attribs;for(jd in Fd)ld.call(Fd,jd)&&(md=Fd[jd],this.attribute(md,pd,fd));if(Ad=dd.children.length,Nd=Ad===0?null:dd.children[0],Ad===0||dd.children.every(function(Ld){return(Ld.type===Ra.Text||Ld.type===Ra.Raw)&&Ld.value===""}))pd.allowEmpty?(this.stream.write(">"),pd.state=qa.CloseTag,this.stream.write("</"+dd.name+">")):(pd.state=qa.CloseTag,this.stream.write(pd.spaceBeforeSlash+"/>"));else if(pd.pretty&&Ad===1&&(Nd.type===Ra.Text||Nd.type===Ra.Raw)&&Nd.value!=null)this.stream.write(">"),pd.state=qa.InsideTag,pd.suppressPrettyCount++,this.writeChildNode(Nd,pd,fd+1),pd.suppressPrettyCount--,pd.state=qa.CloseTag,this.stream.write("</"+dd.name+">");else{for(this.stream.write(">"+this.endline(dd,pd,fd)),pd.state=qa.InsideTag,Md=dd.children,Id=0,kd=Md.length;Id<kd;Id++)vd=Md[Id],this.writeChildNode(vd,pd,fd+1);pd.state=qa.CloseTag,this.stream.write(this.indent(dd,pd,fd)+"</"+dd.name+">")}return this.stream.write(this.endline(dd,pd,fd)),pd.state=qa.None,this.closeNode(dd,pd,fd)},cd.prototype.processingInstruction=function(dd,pd,fd){return this.stream.write(cd.__super__.processingInstruction.call(this,dd,pd,fd))},cd.prototype.raw=function(dd,pd,fd){return this.stream.write(cd.__super__.raw.call(this,dd,pd,fd))},cd.prototype.text=function(dd,pd,fd){return this.stream.write(cd.__super__.text.call(this,dd,pd,fd))},cd.prototype.dtdAttList=function(dd,pd,fd){return this.stream.write(cd.__super__.dtdAttList.call(this,dd,pd,fd))},cd.prototype.dtdElement=function(dd,pd,fd){return this.stream.write(cd.__super__.dtdElement.call(this,dd,pd,fd))},cd.prototype.dtdEntity=function(dd,pd,fd){return this.stream.write(cd.__super__.dtdEntity.call(this,dd,pd,fd))},cd.prototype.dtdNotation=function(dd,pd,fd){return this.stream.write(cd.__super__.dtdNotation.call(this,dd,pd,fd))},cd}(nd)}).call(commonjsGlobal)),XMLStreamWriter.exports}var hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,(function(){var Ra,qa,nd,od,ld,ud,cd,dd,pd,fd;fd=requireUtility(),dd=fd.assign,pd=fd.isFunction,nd=requireXMLDOMImplementation(),od=requireXMLDocument(),ld=requireXMLDocumentCB(),cd=requireXMLStringWriter(),ud=requireXMLStreamWriter(),Ra=requireNodeType(),qa=requireWriterState(),lib$2.create=function(md,vd,Ad,Nd){var Id,kd;if(md==null)throw new Error("Root element needs a name.");return Nd=dd({},vd,Ad,Nd),Id=new od(Nd),kd=Id.element(md),Nd.headless||(Id.declaration(Nd),(Nd.pubID!=null||Nd.sysID!=null)&&Id.dtd(Nd)),kd},lib$2.begin=function(md,vd,Ad){var Nd;return pd(md)&&(Nd=[md,vd],vd=Nd[0],Ad=Nd[1],md={}),vd?new ld(md,vd,Ad):new od(md)},lib$2.stringWriter=function(md){return new cd(md)},lib$2.streamWriter=function(md,vd){return new ud(md,vd)},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(cd){return typeof cd=="string"&&(cd.indexOf("&")>=0||cd.indexOf(">")>=0||cd.indexOf("<")>=0)},ld=function(cd){return"<![CDATA["+nd(cd)+"]]>"},nd=function(cd){return cd.replace("]]>","]]]]><![CDATA[>")},builder.Builder=function(){function cd(dd){var pd,fd,md;this.options={},fd=qa["0.2"];for(pd in fd)ud.call(fd,pd)&&(md=fd[pd],this.options[pd]=md);for(pd in dd)ud.call(dd,pd)&&(md=dd[pd],this.options[pd]=md)}return cd.prototype.buildObject=function(dd){var pd,fd,md,vd,Ad;return pd=this.options.attrkey,fd=this.options.charkey,Object.keys(dd).length===1&&this.options.rootName===qa["0.2"].rootName?(Ad=Object.keys(dd)[0],dd=dd[Ad]):Ad=this.options.rootName,md=function(Nd){return function(Id,kd){var jd,Fd,Md,Ld,Hd,Gd;if(typeof kd!="object")Nd.options.cdata&&od(kd)?Id.raw(ld(kd)):Id.txt(kd);else if(Array.isArray(kd)){for(Ld in kd)if(ud.call(kd,Ld)){Fd=kd[Ld];for(Hd in Fd)Md=Fd[Hd],Id=md(Id.ele(Hd),Md).up()}}else for(Hd in kd)if(ud.call(kd,Hd))if(Fd=kd[Hd],Hd===pd){if(typeof Fd=="object")for(jd in Fd)Gd=Fd[jd],Id=Id.att(jd,Gd)}else if(Hd===fd)Nd.options.cdata&&od(Fd)?Id=Id.raw(ld(Fd)):Id=Id.txt(Fd);else if(Array.isArray(Fd))for(Ld in Fd)ud.call(Fd,Ld)&&(Md=Fd[Ld],typeof Md=="string"?Nd.options.cdata&&od(Md)?Id=Id.ele(Hd).raw(ld(Md)).up():Id=Id.ele(Hd,Md).up():Id=md(Id.ele(Hd),Md).up());else typeof Fd=="object"?Id=md(Id.ele(Hd),Fd).up():typeof Fd=="string"&&Nd.options.cdata&&od(Fd)?Id=Id.ele(Hd).raw(ld(Fd)).up():(Fd==null&&(Fd=""),Id=Id.ele(Hd,Fd.toString()).up());return Id}}(this),vd=Ra.create(Ad,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),md(vd,dd).end(this.options.renderOpts)},cd}()}).call(commonjsGlobal)),builder}var parser={},sax={},hasRequiredSax;function requireSax(){return hasRequiredSax||(hasRequiredSax=1,function(Ra){(function(qa){qa.parser=function(Tf,vf){return new od(Tf,vf)},qa.SAXParser=od,qa.SAXStream=md,qa.createStream=fd,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,vf){if(!(this instanceof od))return new od(Tf,vf);var qf=this;ud(qf),qf.q=qf.c="",qf.bufferCheckPosition=qa.MAX_BUFFER_LENGTH,qf.opt=vf||{},qf.opt.lowercase=qf.opt.lowercase||qf.opt.lowercasetags,qf.looseCase=qf.opt.lowercase?"toLowerCase":"toUpperCase",qf.tags=[],qf.closed=qf.closedRoot=qf.sawRoot=!1,qf.tag=qf.error=null,qf.strict=!!Tf,qf.noscript=!!(Tf||qf.opt.noscript),qf.state=Wd.BEGIN,qf.strictEntities=qf.opt.strictEntities,qf.ENTITIES=qf.strictEntities?Object.create(qa.XML_ENTITIES):Object.create(qa.ENTITIES),qf.attribList=[],qf.opt.xmlns&&(qf.ns=Object.create(kd)),qf.opt.unquotedAttributeValues===void 0&&(qf.opt.unquotedAttributeValues=!Tf),qf.trackPosition=qf.opt.position!==!1,qf.trackPosition&&(qf.position=qf.line=qf.column=0),Xd(qf,"onready")}Object.create||(Object.create=function(Tf){function vf(){}vf.prototype=Tf;var qf=new vf;return qf}),Object.keys||(Object.keys=function(Tf){var vf=[];for(var qf in Tf)Tf.hasOwnProperty(qf)&&vf.push(qf);return vf});function ld(Tf){for(var vf=Math.max(qa.MAX_BUFFER_LENGTH,10),qf=0,eh=0,ch=nd.length;eh<ch;eh++){var ih=Tf[nd[eh]].length;if(ih>vf)switch(nd[eh]){case"textNode":yf(Tf);break;case"cdata":bf(Tf,"oncdata",Tf.cdata),Tf.cdata="";break;case"script":bf(Tf,"onscript",Tf.script),Tf.script="";break;default:gf(Tf,"Max buffer length exceeded: "+nd[eh])}qf=Math.max(qf,ih)}var Pf=qa.MAX_BUFFER_LENGTH-qf;Tf.bufferCheckPosition=Pf+Tf.position}function ud(Tf){for(var vf=0,qf=nd.length;vf<qf;vf++)Tf[nd[vf]]=""}function cd(Tf){yf(Tf),Tf.cdata!==""&&(bf(Tf,"oncdata",Tf.cdata),Tf.cdata=""),Tf.script!==""&&(bf(Tf,"onscript",Tf.script),Tf.script="")}od.prototype={end:function(){xf(this)},write:zf,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){cd(this)}};var dd;try{dd=streamBrowserify.Stream}catch{dd=function(){}}dd||(dd=function(){});var pd=qa.EVENTS.filter(function(Tf){return Tf!=="error"&&Tf!=="end"});function fd(Tf,vf){return new md(Tf,vf)}function md(Tf,vf){if(!(this instanceof md))return new md(Tf,vf);dd.apply(this),this._parser=new od(Tf,vf),this.writable=!0,this.readable=!0;var qf=this;this._parser.onend=function(){qf.emit("end")},this._parser.onerror=function(eh){qf.emit("error",eh),qf._parser.error=null},this._decoder=null,pd.forEach(function(eh){Object.defineProperty(qf,"on"+eh,{get:function(){return qf._parser["on"+eh]},set:function(ch){if(!ch)return qf.removeAllListeners(eh),qf._parser["on"+eh]=ch,ch;qf.on(eh,ch)},enumerable:!0,configurable:!1})})}md.prototype=Object.create(dd.prototype,{constructor:{value:md}}),md.prototype.write=function(Tf){if(typeof Buffer$4=="function"&&typeof Buffer$4.isBuffer=="function"&&Buffer$4.isBuffer(Tf)){if(!this._decoder){var vf=requireString_decoder().StringDecoder;this._decoder=new vf("utf8")}Tf=this._decoder.write(Tf)}return this._parser.write(Tf.toString()),this.emit("data",Tf),!0},md.prototype.end=function(Tf){return Tf&&Tf.length&&this.write(Tf),this._parser.end(),!0},md.prototype.on=function(Tf,vf){var qf=this;return!qf._parser["on"+Tf]&&pd.indexOf(Tf)!==-1&&(qf._parser["on"+Tf]=function(){var eh=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);eh.splice(0,0,Tf),qf.emit.apply(qf,eh)}),dd.prototype.on.call(qf,Tf,vf)};var vd="[CDATA[",Ad="DOCTYPE",Nd="http://www.w3.org/XML/1998/namespace",Id="http://www.w3.org/2000/xmlns/",kd={xml:Nd,xmlns:Id},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]/,Fd=/[:_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-]/,Md=/[#:_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]/,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\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function Hd(Tf){return Tf===" "||Tf===`
|
||
`||Tf==="\r"||Tf===" "}function Gd(Tf){return Tf==='"'||Tf==="'"}function Vd(Tf){return Tf===">"||Hd(Tf)}function Kd(Tf,vf){return Tf.test(vf)}function mf(Tf,vf){return!Kd(Tf,vf)}var Wd=0;qa.STATE={BEGIN:Wd++,BEGIN_WHITESPACE:Wd++,TEXT:Wd++,TEXT_ENTITY:Wd++,OPEN_WAKA:Wd++,SGML_DECL:Wd++,SGML_DECL_QUOTED:Wd++,DOCTYPE:Wd++,DOCTYPE_QUOTED:Wd++,DOCTYPE_DTD:Wd++,DOCTYPE_DTD_QUOTED:Wd++,COMMENT_STARTING:Wd++,COMMENT:Wd++,COMMENT_ENDING:Wd++,COMMENT_ENDED:Wd++,CDATA:Wd++,CDATA_ENDING:Wd++,CDATA_ENDING_2:Wd++,PROC_INST:Wd++,PROC_INST_BODY:Wd++,PROC_INST_ENDING:Wd++,OPEN_TAG:Wd++,OPEN_TAG_SLASH:Wd++,ATTRIB:Wd++,ATTRIB_NAME:Wd++,ATTRIB_NAME_SAW_WHITE:Wd++,ATTRIB_VALUE:Wd++,ATTRIB_VALUE_QUOTED:Wd++,ATTRIB_VALUE_CLOSED:Wd++,ATTRIB_VALUE_UNQUOTED:Wd++,ATTRIB_VALUE_ENTITY_Q:Wd++,ATTRIB_VALUE_ENTITY_U:Wd++,CLOSE_TAG:Wd++,CLOSE_TAG_SAW_WHITE:Wd++,SCRIPT:Wd++,SCRIPT_ENDING:Wd++},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 vf=qa.ENTITIES[Tf],qf=typeof vf=="number"?String.fromCharCode(vf):vf;qa.ENTITIES[Tf]=qf});for(var Zd in qa.STATE)qa.STATE[qa.STATE[Zd]]=Zd;Wd=qa.STATE;function Xd(Tf,vf,qf){Tf[vf]&&Tf[vf](qf)}function bf(Tf,vf,qf){Tf.textNode&&yf(Tf),Xd(Tf,vf,qf)}function yf(Tf){Tf.textNode=Ef(Tf.opt,Tf.textNode),Tf.textNode&&Xd(Tf,"ontext",Tf.textNode),Tf.textNode=""}function Ef(Tf,vf){return Tf.trim&&(vf=vf.trim()),Tf.normalize&&(vf=vf.replace(/\s+/g," ")),vf}function gf(Tf,vf){return yf(Tf),Tf.trackPosition&&(vf+=`
|
||
Line: `+Tf.line+`
|
||
Column: `+Tf.column+`
|
||
Char: `+Tf.c),vf=new Error(vf),Tf.error=vf,Xd(Tf,"onerror",vf),Tf}function xf(Tf){return Tf.sawRoot&&!Tf.closedRoot&&Af(Tf,"Unclosed root tag"),Tf.state!==Wd.BEGIN&&Tf.state!==Wd.BEGIN_WHITESPACE&&Tf.state!==Wd.TEXT&&gf(Tf,"Unexpected end"),yf(Tf),Tf.c="",Tf.closed=!0,Xd(Tf,"onend"),od.call(Tf,Tf.strict,Tf.opt),Tf}function Af(Tf,vf){if(typeof Tf!="object"||!(Tf instanceof od))throw new Error("bad call to strictFail");Tf.strict&&gf(Tf,vf)}function Lf(Tf){Tf.strict||(Tf.tagName=Tf.tagName[Tf.looseCase]());var vf=Tf.tags[Tf.tags.length-1]||Tf,qf=Tf.tag={name:Tf.tagName,attributes:{}};Tf.opt.xmlns&&(qf.ns=vf.ns),Tf.attribList.length=0,bf(Tf,"onopentagstart",qf)}function Xf(Tf,vf){var qf=Tf.indexOf(":"),eh=qf<0?["",Tf]:Tf.split(":"),ch=eh[0],ih=eh[1];return vf&&Tf==="xmlns"&&(ch="xmlns",ih=""),{prefix:ch,local:ih}}function Jf(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 vf=Xf(Tf.attribName,!0),qf=vf.prefix,eh=vf.local;if(qf==="xmlns")if(eh==="xml"&&Tf.attribValue!==Nd)Af(Tf,"xml: prefix must be bound to "+Nd+`
|
||
Actual: `+Tf.attribValue);else if(eh==="xmlns"&&Tf.attribValue!==Id)Af(Tf,"xmlns: prefix must be bound to "+Id+`
|
||
Actual: `+Tf.attribValue);else{var ch=Tf.tag,ih=Tf.tags[Tf.tags.length-1]||Tf;ch.ns===ih.ns&&(ch.ns=Object.create(ih.ns)),ch.ns[eh]=Tf.attribValue}Tf.attribList.push([Tf.attribName,Tf.attribValue])}else Tf.tag.attributes[Tf.attribName]=Tf.attribValue,bf(Tf,"onattribute",{name:Tf.attribName,value:Tf.attribValue});Tf.attribName=Tf.attribValue=""}function Zf(Tf,vf){if(Tf.opt.xmlns){var qf=Tf.tag,eh=Xf(Tf.tagName);qf.prefix=eh.prefix,qf.local=eh.local,qf.uri=qf.ns[eh.prefix]||"",qf.prefix&&!qf.uri&&(Af(Tf,"Unbound namespace prefix: "+JSON.stringify(Tf.tagName)),qf.uri=eh.prefix);var ch=Tf.tags[Tf.tags.length-1]||Tf;qf.ns&&ch.ns!==qf.ns&&Object.keys(qf.ns).forEach(function(ph){bf(Tf,"onopennamespace",{prefix:ph,uri:qf.ns[ph]})});for(var ih=0,Pf=Tf.attribList.length;ih<Pf;ih++){var uh=Tf.attribList[ih],xh=uh[0],Qf=uh[1],wf=Xf(xh,!0),$f=wf.prefix,Wf=wf.local,Th=$f===""?"":qf.ns[$f]||"",vh={name:xh,value:Qf,prefix:$f,local:Wf,uri:Th};$f&&$f!=="xmlns"&&!Th&&(Af(Tf,"Unbound namespace prefix: "+JSON.stringify($f)),vh.uri=$f),Tf.tag.attributes[xh]=vh,bf(Tf,"onattribute",vh)}Tf.attribList.length=0}Tf.tag.isSelfClosing=!!vf,Tf.sawRoot=!0,Tf.tags.push(Tf.tag),bf(Tf,"onopentag",Tf.tag),vf||(!Tf.noscript&&Tf.tagName.toLowerCase()==="script"?Tf.state=Wd.SCRIPT:Tf.state=Wd.TEXT,Tf.tag=null,Tf.tagName=""),Tf.attribName=Tf.attribValue="",Tf.attribList.length=0}function Bf(Tf){if(!Tf.tagName){Af(Tf,"Weird empty close tag."),Tf.textNode+="</>",Tf.state=Wd.TEXT;return}if(Tf.script){if(Tf.tagName!=="script"){Tf.script+="</"+Tf.tagName+">",Tf.tagName="",Tf.state=Wd.SCRIPT;return}bf(Tf,"onscript",Tf.script),Tf.script=""}var vf=Tf.tags.length,qf=Tf.tagName;Tf.strict||(qf=qf[Tf.looseCase]());for(var eh=qf;vf--;){var ch=Tf.tags[vf];if(ch.name!==eh)Af(Tf,"Unexpected close tag");else break}if(vf<0){Af(Tf,"Unmatched closing tag: "+Tf.tagName),Tf.textNode+="</"+Tf.tagName+">",Tf.state=Wd.TEXT;return}Tf.tagName=qf;for(var ih=Tf.tags.length;ih-- >vf;){var Pf=Tf.tag=Tf.tags.pop();Tf.tagName=Tf.tag.name,bf(Tf,"onclosetag",Tf.tagName);var uh={};for(var xh in Pf.ns)uh[xh]=Pf.ns[xh];var Qf=Tf.tags[Tf.tags.length-1]||Tf;Tf.opt.xmlns&&Pf.ns!==Qf.ns&&Object.keys(Pf.ns).forEach(function(wf){var $f=Pf.ns[wf];bf(Tf,"onclosenamespace",{prefix:wf,uri:$f})})}vf===0&&(Tf.closedRoot=!0),Tf.tagName=Tf.attribValue=Tf.attribName="",Tf.attribList.length=0,Tf.state=Wd.TEXT}function Df(Tf){var vf=Tf.entity,qf=vf.toLowerCase(),eh,ch="";return Tf.ENTITIES[vf]?Tf.ENTITIES[vf]:Tf.ENTITIES[qf]?Tf.ENTITIES[qf]:(vf=qf,vf.charAt(0)==="#"&&(vf.charAt(1)==="x"?(vf=vf.slice(2),eh=parseInt(vf,16),ch=eh.toString(16)):(vf=vf.slice(1),eh=parseInt(vf,10),ch=eh.toString(10))),vf=vf.replace(/^0+/,""),isNaN(eh)||ch.toLowerCase()!==vf?(Af(Tf,"Invalid character entity"),"&"+Tf.entity+";"):String.fromCodePoint(eh))}function Uf(Tf,vf){vf==="<"?(Tf.state=Wd.OPEN_WAKA,Tf.startTagPosition=Tf.position):Hd(vf)||(Af(Tf,"Non-whitespace before first tag."),Tf.textNode=vf,Tf.state=Wd.TEXT)}function Gf(Tf,vf){var qf="";return vf<Tf.length&&(qf=Tf.charAt(vf)),qf}function zf(Tf){var vf=this;if(this.error)throw this.error;if(vf.closed)return gf(vf,"Cannot write after close. Assign an onready handler.");if(Tf===null)return xf(vf);typeof Tf=="object"&&(Tf=Tf.toString());for(var qf=0,eh="";eh=Gf(Tf,qf++),vf.c=eh,!!eh;)switch(vf.trackPosition&&(vf.position++,eh===`
|
||
`?(vf.line++,vf.column=0):vf.column++),vf.state){case Wd.BEGIN:if(vf.state=Wd.BEGIN_WHITESPACE,eh==="\uFEFF")continue;Uf(vf,eh);continue;case Wd.BEGIN_WHITESPACE:Uf(vf,eh);continue;case Wd.TEXT:if(vf.sawRoot&&!vf.closedRoot){for(var ch=qf-1;eh&&eh!=="<"&&eh!=="&";)eh=Gf(Tf,qf++),eh&&vf.trackPosition&&(vf.position++,eh===`
|
||
`?(vf.line++,vf.column=0):vf.column++);vf.textNode+=Tf.substring(ch,qf-1)}eh==="<"&&!(vf.sawRoot&&vf.closedRoot&&!vf.strict)?(vf.state=Wd.OPEN_WAKA,vf.startTagPosition=vf.position):(!Hd(eh)&&(!vf.sawRoot||vf.closedRoot)&&Af(vf,"Text data outside of root node."),eh==="&"?vf.state=Wd.TEXT_ENTITY:vf.textNode+=eh);continue;case Wd.SCRIPT:eh==="<"?vf.state=Wd.SCRIPT_ENDING:vf.script+=eh;continue;case Wd.SCRIPT_ENDING:eh==="/"?vf.state=Wd.CLOSE_TAG:(vf.script+="<"+eh,vf.state=Wd.SCRIPT);continue;case Wd.OPEN_WAKA:if(eh==="!")vf.state=Wd.SGML_DECL,vf.sgmlDecl="";else if(!Hd(eh))if(Kd(jd,eh))vf.state=Wd.OPEN_TAG,vf.tagName=eh;else if(eh==="/")vf.state=Wd.CLOSE_TAG,vf.tagName="";else if(eh==="?")vf.state=Wd.PROC_INST,vf.procInstName=vf.procInstBody="";else{if(Af(vf,"Unencoded <"),vf.startTagPosition+1<vf.position){var ih=vf.position-vf.startTagPosition;eh=new Array(ih).join(" ")+eh}vf.textNode+="<"+eh,vf.state=Wd.TEXT}continue;case Wd.SGML_DECL:if(vf.sgmlDecl+eh==="--"){vf.state=Wd.COMMENT,vf.comment="",vf.sgmlDecl="";continue}vf.doctype&&vf.doctype!==!0&&vf.sgmlDecl?(vf.state=Wd.DOCTYPE_DTD,vf.doctype+="<!"+vf.sgmlDecl+eh,vf.sgmlDecl=""):(vf.sgmlDecl+eh).toUpperCase()===vd?(bf(vf,"onopencdata"),vf.state=Wd.CDATA,vf.sgmlDecl="",vf.cdata=""):(vf.sgmlDecl+eh).toUpperCase()===Ad?(vf.state=Wd.DOCTYPE,(vf.doctype||vf.sawRoot)&&Af(vf,"Inappropriately located doctype declaration"),vf.doctype="",vf.sgmlDecl=""):eh===">"?(bf(vf,"onsgmldeclaration",vf.sgmlDecl),vf.sgmlDecl="",vf.state=Wd.TEXT):(Gd(eh)&&(vf.state=Wd.SGML_DECL_QUOTED),vf.sgmlDecl+=eh);continue;case Wd.SGML_DECL_QUOTED:eh===vf.q&&(vf.state=Wd.SGML_DECL,vf.q=""),vf.sgmlDecl+=eh;continue;case Wd.DOCTYPE:eh===">"?(vf.state=Wd.TEXT,bf(vf,"ondoctype",vf.doctype),vf.doctype=!0):(vf.doctype+=eh,eh==="["?vf.state=Wd.DOCTYPE_DTD:Gd(eh)&&(vf.state=Wd.DOCTYPE_QUOTED,vf.q=eh));continue;case Wd.DOCTYPE_QUOTED:vf.doctype+=eh,eh===vf.q&&(vf.q="",vf.state=Wd.DOCTYPE);continue;case Wd.DOCTYPE_DTD:eh==="]"?(vf.doctype+=eh,vf.state=Wd.DOCTYPE):eh==="<"?(vf.state=Wd.OPEN_WAKA,vf.startTagPosition=vf.position):Gd(eh)?(vf.doctype+=eh,vf.state=Wd.DOCTYPE_DTD_QUOTED,vf.q=eh):vf.doctype+=eh;continue;case Wd.DOCTYPE_DTD_QUOTED:vf.doctype+=eh,eh===vf.q&&(vf.state=Wd.DOCTYPE_DTD,vf.q="");continue;case Wd.COMMENT:eh==="-"?vf.state=Wd.COMMENT_ENDING:vf.comment+=eh;continue;case Wd.COMMENT_ENDING:eh==="-"?(vf.state=Wd.COMMENT_ENDED,vf.comment=Ef(vf.opt,vf.comment),vf.comment&&bf(vf,"oncomment",vf.comment),vf.comment=""):(vf.comment+="-"+eh,vf.state=Wd.COMMENT);continue;case Wd.COMMENT_ENDED:eh!==">"?(Af(vf,"Malformed comment"),vf.comment+="--"+eh,vf.state=Wd.COMMENT):vf.doctype&&vf.doctype!==!0?vf.state=Wd.DOCTYPE_DTD:vf.state=Wd.TEXT;continue;case Wd.CDATA:eh==="]"?vf.state=Wd.CDATA_ENDING:vf.cdata+=eh;continue;case Wd.CDATA_ENDING:eh==="]"?vf.state=Wd.CDATA_ENDING_2:(vf.cdata+="]"+eh,vf.state=Wd.CDATA);continue;case Wd.CDATA_ENDING_2:eh===">"?(vf.cdata&&bf(vf,"oncdata",vf.cdata),bf(vf,"onclosecdata"),vf.cdata="",vf.state=Wd.TEXT):eh==="]"?vf.cdata+="]":(vf.cdata+="]]"+eh,vf.state=Wd.CDATA);continue;case Wd.PROC_INST:eh==="?"?vf.state=Wd.PROC_INST_ENDING:Hd(eh)?vf.state=Wd.PROC_INST_BODY:vf.procInstName+=eh;continue;case Wd.PROC_INST_BODY:if(!vf.procInstBody&&Hd(eh))continue;eh==="?"?vf.state=Wd.PROC_INST_ENDING:vf.procInstBody+=eh;continue;case Wd.PROC_INST_ENDING:eh===">"?(bf(vf,"onprocessinginstruction",{name:vf.procInstName,body:vf.procInstBody}),vf.procInstName=vf.procInstBody="",vf.state=Wd.TEXT):(vf.procInstBody+="?"+eh,vf.state=Wd.PROC_INST_BODY);continue;case Wd.OPEN_TAG:Kd(Fd,eh)?vf.tagName+=eh:(Lf(vf),eh===">"?Zf(vf):eh==="/"?vf.state=Wd.OPEN_TAG_SLASH:(Hd(eh)||Af(vf,"Invalid character in tag name"),vf.state=Wd.ATTRIB));continue;case Wd.OPEN_TAG_SLASH:eh===">"?(Zf(vf,!0),Bf(vf)):(Af(vf,"Forward-slash in opening tag not followed by >"),vf.state=Wd.ATTRIB);continue;case Wd.ATTRIB:if(Hd(eh))continue;eh===">"?Zf(vf):eh==="/"?vf.state=Wd.OPEN_TAG_SLASH:Kd(jd,eh)?(vf.attribName=eh,vf.attribValue="",vf.state=Wd.ATTRIB_NAME):Af(vf,"Invalid attribute name");continue;case Wd.ATTRIB_NAME:eh==="="?vf.state=Wd.ATTRIB_VALUE:eh===">"?(Af(vf,"Attribute without value"),vf.attribValue=vf.attribName,Jf(vf),Zf(vf)):Hd(eh)?vf.state=Wd.ATTRIB_NAME_SAW_WHITE:Kd(Fd,eh)?vf.attribName+=eh:Af(vf,"Invalid attribute name");continue;case Wd.ATTRIB_NAME_SAW_WHITE:if(eh==="=")vf.state=Wd.ATTRIB_VALUE;else{if(Hd(eh))continue;Af(vf,"Attribute without value"),vf.tag.attributes[vf.attribName]="",vf.attribValue="",bf(vf,"onattribute",{name:vf.attribName,value:""}),vf.attribName="",eh===">"?Zf(vf):Kd(jd,eh)?(vf.attribName=eh,vf.state=Wd.ATTRIB_NAME):(Af(vf,"Invalid attribute name"),vf.state=Wd.ATTRIB)}continue;case Wd.ATTRIB_VALUE:if(Hd(eh))continue;Gd(eh)?(vf.q=eh,vf.state=Wd.ATTRIB_VALUE_QUOTED):(vf.opt.unquotedAttributeValues||gf(vf,"Unquoted attribute value"),vf.state=Wd.ATTRIB_VALUE_UNQUOTED,vf.attribValue=eh);continue;case Wd.ATTRIB_VALUE_QUOTED:if(eh!==vf.q){eh==="&"?vf.state=Wd.ATTRIB_VALUE_ENTITY_Q:vf.attribValue+=eh;continue}Jf(vf),vf.q="",vf.state=Wd.ATTRIB_VALUE_CLOSED;continue;case Wd.ATTRIB_VALUE_CLOSED:Hd(eh)?vf.state=Wd.ATTRIB:eh===">"?Zf(vf):eh==="/"?vf.state=Wd.OPEN_TAG_SLASH:Kd(jd,eh)?(Af(vf,"No whitespace between attributes"),vf.attribName=eh,vf.attribValue="",vf.state=Wd.ATTRIB_NAME):Af(vf,"Invalid attribute name");continue;case Wd.ATTRIB_VALUE_UNQUOTED:if(!Vd(eh)){eh==="&"?vf.state=Wd.ATTRIB_VALUE_ENTITY_U:vf.attribValue+=eh;continue}Jf(vf),eh===">"?Zf(vf):vf.state=Wd.ATTRIB;continue;case Wd.CLOSE_TAG:if(vf.tagName)eh===">"?Bf(vf):Kd(Fd,eh)?vf.tagName+=eh:vf.script?(vf.script+="</"+vf.tagName,vf.tagName="",vf.state=Wd.SCRIPT):(Hd(eh)||Af(vf,"Invalid tagname in closing tag"),vf.state=Wd.CLOSE_TAG_SAW_WHITE);else{if(Hd(eh))continue;mf(jd,eh)?vf.script?(vf.script+="</"+eh,vf.state=Wd.SCRIPT):Af(vf,"Invalid tagname in closing tag."):vf.tagName=eh}continue;case Wd.CLOSE_TAG_SAW_WHITE:if(Hd(eh))continue;eh===">"?Bf(vf):Af(vf,"Invalid characters in closing tag");continue;case Wd.TEXT_ENTITY:case Wd.ATTRIB_VALUE_ENTITY_Q:case Wd.ATTRIB_VALUE_ENTITY_U:var Pf,uh;switch(vf.state){case Wd.TEXT_ENTITY:Pf=Wd.TEXT,uh="textNode";break;case Wd.ATTRIB_VALUE_ENTITY_Q:Pf=Wd.ATTRIB_VALUE_QUOTED,uh="attribValue";break;case Wd.ATTRIB_VALUE_ENTITY_U:Pf=Wd.ATTRIB_VALUE_UNQUOTED,uh="attribValue";break}if(eh===";"){var xh=Df(vf);vf.opt.unparsedEntities&&!Object.values(qa.XML_ENTITIES).includes(xh)?(vf.entity="",vf.state=Pf,vf.write(xh)):(vf[uh]+=xh,vf.entity="",vf.state=Pf)}else Kd(vf.entity.length?Ld:Md,eh)?vf.entity+=eh:(Af(vf,"Invalid character in entity name"),vf[uh]+="&"+vf.entity+eh,vf.entity="",vf.state=Pf);continue;default:throw new Error(vf,"Unknown state: "+vf.state)}return vf.position>=vf.bufferCheckPosition&&ld(vf),vf}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var Tf=String.fromCharCode,vf=Math.floor,qf=function(){var eh=16384,ch=[],ih,Pf,uh=-1,xh=arguments.length;if(!xh)return"";for(var Qf="";++uh<xh;){var wf=Number(arguments[uh]);if(!isFinite(wf)||wf<0||wf>1114111||vf(wf)!==wf)throw RangeError("Invalid code point: "+wf);wf<=65535?ch.push(wf):(wf-=65536,ih=(wf>>10)+55296,Pf=wf%1024+56320,ch.push(ih,Pf)),(uh+1===xh||ch.length>eh)&&(Qf+=Tf.apply(null,ch),ch.length=0)}return Qf};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:qf,configurable:!0,writable:!0}):String.fromCodePoint=qf}()})(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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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,cd=qa.document,dd;function pd(Ld){typeof Ld!="function"&&(Ld=new Function(""+Ld));for(var Hd=new Array(arguments.length-1),Gd=0;Gd<Hd.length;Gd++)Hd[Gd]=arguments[Gd+1];var Vd={callback:Ld,args:Hd};return ld[od]=Vd,dd(od),od++}function fd(Ld){delete ld[Ld]}function md(Ld){var Hd=Ld.callback,Gd=Ld.args;switch(Gd.length){case 0:Hd();break;case 1:Hd(Gd[0]);break;case 2:Hd(Gd[0],Gd[1]);break;case 3:Hd(Gd[0],Gd[1],Gd[2]);break;default:Hd.apply(nd,Gd);break}}function vd(Ld){if(ud)setTimeout(vd,0,Ld);else{var Hd=ld[Ld];if(Hd){ud=!0;try{md(Hd)}finally{fd(Ld),ud=!1}}}}function Ad(){dd=function(Ld){Ra.nextTick(function(){vd(Ld)})}}function Nd(){if(qa.postMessage&&!qa.importScripts){var Ld=!0,Hd=qa.onmessage;return qa.onmessage=function(){Ld=!1},qa.postMessage("","*"),qa.onmessage=Hd,Ld}}function Id(){var Ld="setImmediate$"+Math.random()+"$",Hd=function(Gd){Gd.source===qa&&typeof Gd.data=="string"&&Gd.data.indexOf(Ld)===0&&vd(+Gd.data.slice(Ld.length))};qa.addEventListener?qa.addEventListener("message",Hd,!1):qa.attachEvent("onmessage",Hd),dd=function(Gd){qa.postMessage(Ld+Gd,"*")}}function kd(){var Ld=new MessageChannel;Ld.port1.onmessage=function(Hd){var Gd=Hd.data;vd(Gd)},dd=function(Hd){Ld.port2.postMessage(Hd)}}function jd(){var Ld=cd.documentElement;dd=function(Hd){var Gd=cd.createElement("script");Gd.onreadystatechange=function(){vd(Hd),Gd.onreadystatechange=null,Ld.removeChild(Gd),Gd=null},Ld.appendChild(Gd)}}function Fd(){dd=function(Ld){setTimeout(vd,0,Ld)}}var Md=Object.getPrototypeOf&&Object.getPrototypeOf(qa);Md=Md&&Md.setTimeout?Md:qa,{}.toString.call(qa.process)==="[object process]"?Ad():Nd()?Id():qa.MessageChannel?kd():cd&&"onreadystatechange"in cd.createElement("script")?jd():Fd(),Md.setImmediate=pd,Md.clearImmediate=fd}(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,cd,dd,pd,fd=function(Ad,Nd){return function(){return Ad.apply(Nd,arguments)}},md=function(Ad,Nd){for(var Id in Nd)vd.call(Nd,Id)&&(Ad[Id]=Nd[Id]);function kd(){this.constructor=Ad}return kd.prototype=Nd.prototype,Ad.prototype=new kd,Ad.__super__=Nd.prototype,Ad},vd={}.hasOwnProperty;dd=requireSax(),od=eventsExports,qa=requireBom(),cd=requireProcessors(),pd=requireMain().setImmediate,nd=requireDefaults().defaults,ld=function(Ad){return typeof Ad=="object"&&Ad!=null&&Object.keys(Ad).length===0},ud=function(Ad,Nd,Id){var kd,jd,Fd;for(kd=0,jd=Ad.length;kd<jd;kd++)Fd=Ad[kd],Nd=Fd(Nd,Id);return Nd},Ra.Parser=function(Ad){md(Nd,Ad);function Nd(Id){this.parseStringPromise=fd(this.parseStringPromise,this),this.parseString=fd(this.parseString,this),this.reset=fd(this.reset,this),this.assignOrPush=fd(this.assignOrPush,this),this.processAsync=fd(this.processAsync,this);var kd,jd,Fd;if(!(this instanceof Ra.Parser))return new Ra.Parser(Id);this.options={},jd=nd["0.2"];for(kd in jd)vd.call(jd,kd)&&(Fd=jd[kd],this.options[kd]=Fd);for(kd in Id)vd.call(Id,kd)&&(Fd=Id[kd],this.options[kd]=Fd);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(cd.normalize)),this.reset()}return Nd.prototype.processAsync=function(){var Id,kd;try{return this.remaining.length<=this.options.chunkSize?(Id=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(Id),this.saxParser.close()):(Id=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(Id),pd(this.processAsync))}catch(jd){if(kd=jd,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(kd)}},Nd.prototype.assignOrPush=function(Id,kd,jd){return kd in Id?(Id[kd]instanceof Array||(Id[kd]=[Id[kd]]),Id[kd].push(jd)):this.options.explicitArray?Id[kd]=[jd]:Id[kd]=jd},Nd.prototype.reset=function(){var Id,kd,jd,Fd;return this.removeAllListeners(),this.saxParser=dd.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(Md){return function(Ld){if(Md.saxParser.resume(),!Md.saxParser.errThrown)return Md.saxParser.errThrown=!0,Md.emit("error",Ld)}}(this),this.saxParser.onend=function(Md){return function(){if(!Md.saxParser.ended)return Md.saxParser.ended=!0,Md.emit("end",Md.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,Fd=[],Id=this.options.attrkey,kd=this.options.charkey,this.saxParser.onopentag=function(Md){return function(Ld){var Hd,Gd,Vd,Kd,mf;if(Vd=Object.create(null),Vd[kd]="",!Md.options.ignoreAttrs){mf=Ld.attributes;for(Hd in mf)vd.call(mf,Hd)&&(!(Id in Vd)&&!Md.options.mergeAttrs&&(Vd[Id]=Object.create(null)),Gd=Md.options.attrValueProcessors?ud(Md.options.attrValueProcessors,Ld.attributes[Hd],Hd):Ld.attributes[Hd],Kd=Md.options.attrNameProcessors?ud(Md.options.attrNameProcessors,Hd):Hd,Md.options.mergeAttrs?Md.assignOrPush(Vd,Kd,Gd):Vd[Id][Kd]=Gd)}return Vd["#name"]=Md.options.tagNameProcessors?ud(Md.options.tagNameProcessors,Ld.name):Ld.name,Md.options.xmlns&&(Vd[Md.options.xmlnskey]={uri:Ld.uri,local:Ld.local}),Fd.push(Vd)}}(this),this.saxParser.onclosetag=function(Md){return function(){var Ld,Hd,Gd,Vd,Kd,mf,Wd,Zd,Xd,bf;if(mf=Fd.pop(),Kd=mf["#name"],(!Md.options.explicitChildren||!Md.options.preserveChildrenOrder)&&delete mf["#name"],mf.cdata===!0&&(Ld=mf.cdata,delete mf.cdata),Xd=Fd[Fd.length-1],mf[kd].match(/^\s*$/)&&!Ld?(Hd=mf[kd],delete mf[kd]):(Md.options.trim&&(mf[kd]=mf[kd].trim()),Md.options.normalize&&(mf[kd]=mf[kd].replace(/\s{2,}/g," ").trim()),mf[kd]=Md.options.valueProcessors?ud(Md.options.valueProcessors,mf[kd],Kd):mf[kd],Object.keys(mf).length===1&&kd in mf&&!Md.EXPLICIT_CHARKEY&&(mf=mf[kd])),ld(mf)&&(typeof Md.options.emptyTag=="function"?mf=Md.options.emptyTag():mf=Md.options.emptyTag!==""?Md.options.emptyTag:Hd),Md.options.validator!=null&&(bf="/"+function(){var yf,Ef,gf;for(gf=[],yf=0,Ef=Fd.length;yf<Ef;yf++)Vd=Fd[yf],gf.push(Vd["#name"]);return gf}().concat(Kd).join("/"),function(){var yf;try{return mf=Md.options.validator(bf,Xd&&Xd[Kd],mf)}catch(Ef){return yf=Ef,Md.emit("error",yf)}}()),Md.options.explicitChildren&&!Md.options.mergeAttrs&&typeof mf=="object"){if(!Md.options.preserveChildrenOrder)Vd=Object.create(null),Md.options.attrkey in mf&&(Vd[Md.options.attrkey]=mf[Md.options.attrkey],delete mf[Md.options.attrkey]),!Md.options.charsAsChildren&&Md.options.charkey in mf&&(Vd[Md.options.charkey]=mf[Md.options.charkey],delete mf[Md.options.charkey]),Object.getOwnPropertyNames(mf).length>0&&(Vd[Md.options.childkey]=mf),mf=Vd;else if(Xd){Xd[Md.options.childkey]=Xd[Md.options.childkey]||[],Wd=Object.create(null);for(Gd in mf)vd.call(mf,Gd)&&(Wd[Gd]=mf[Gd]);Xd[Md.options.childkey].push(Wd),delete mf["#name"],Object.keys(mf).length===1&&kd in mf&&!Md.EXPLICIT_CHARKEY&&(mf=mf[kd])}}return Fd.length>0?Md.assignOrPush(Xd,Kd,mf):(Md.options.explicitRoot&&(Zd=mf,mf=Object.create(null),mf[Kd]=Zd),Md.resultObject=mf,Md.saxParser.ended=!0,Md.emit("end",Md.resultObject))}}(this),jd=function(Md){return function(Ld){var Hd,Gd;if(Gd=Fd[Fd.length-1],Gd)return Gd[kd]+=Ld,Md.options.explicitChildren&&Md.options.preserveChildrenOrder&&Md.options.charsAsChildren&&(Md.options.includeWhiteChars||Ld.replace(/\\n/g,"").trim()!=="")&&(Gd[Md.options.childkey]=Gd[Md.options.childkey]||[],Hd={"#name":"__text__"},Hd[kd]=Ld,Md.options.normalize&&(Hd[kd]=Hd[kd].replace(/\s{2,}/g," ").trim()),Gd[Md.options.childkey].push(Hd)),Gd}}(this),this.saxParser.ontext=jd,this.saxParser.oncdata=function(Md){return function(Ld){var Hd;if(Hd=jd(Ld),Hd)return Hd.cdata=!0}}()},Nd.prototype.parseString=function(Id,kd){var jd;kd!=null&&typeof kd=="function"&&(this.on("end",function(Fd){return this.reset(),kd(null,Fd)}),this.on("error",function(Fd){return this.reset(),kd(Fd)}));try{return Id=Id.toString(),Id.trim()===""?(this.emit("end",null),!0):(Id=qa.stripBOM(Id),this.options.async?(this.remaining=Id,pd(this.processAsync),this.saxParser):this.saxParser.write(Id).close())}catch(Fd){if(jd=Fd,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw jd}else return this.emit("error",jd),this.saxParser.errThrown=!0}},Nd.prototype.parseStringPromise=function(Id){return new Promise(function(kd){return function(jd,Fd){return kd.parseString(Id,function(Md,Ld){return Md?Fd(Md):jd(Ld)})}}(this))},Nd}(od),Ra.parseString=function(Ad,Nd,Id){var kd,jd,Fd;return Id!=null?(typeof Id=="function"&&(kd=Id),typeof Nd=="object"&&(jd=Nd)):(typeof Nd=="function"&&(kd=Nd),jd={}),Fd=new Ra.Parser(jd),Fd.parseString(Ad,kd)},Ra.parseStringPromise=function(Ad,Nd){var Id,kd;return typeof Nd=="object"&&(Id=Nd),kd=new Ra.Parser(Id),kd.parseStringPromise(Ad)}}).call(commonjsGlobal)}(parser)),parser}(function(){var Ra,qa,nd,od,ld=function(cd,dd){for(var pd in dd)ud.call(dd,pd)&&(cd[pd]=dd[pd]);function fd(){this.constructor=cd}return fd.prototype=dd.prototype,cd.prototype=new fd,cd.__super__=dd.prototype,cd},ud={}.hasOwnProperty;qa=requireDefaults(),Ra=requireBuilder(),nd=requireParser(),od=requireProcessors(),xml2js.defaults=qa.defaults,xml2js.processors=od,xml2js.ValidationError=function(cd){ld(dd,cd);function dd(pd){this.message=pd}return dd}(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(dd,pd){const fd=[];let md=pd.exec(dd);for(;md;){const vd=[];vd.startIndex=pd.lastIndex-md[0].length;const Ad=md.length;for(let Nd=0;Nd<Ad;Nd++)vd.push(md[Nd]);fd.push(vd),md=pd.exec(dd)}return fd},cd=function(dd){const pd=ld.exec(dd);return!(pd===null||typeof pd>"u")};Ra.isExist=function(dd){return typeof dd<"u"},Ra.isEmptyObject=function(dd){return Object.keys(dd).length===0},Ra.merge=function(dd,pd,fd){if(pd){const md=Object.keys(pd),vd=md.length;for(let Ad=0;Ad<vd;Ad++)fd==="strict"?dd[md[Ad]]=[pd[md[Ad]]]:dd[md[Ad]]=pd[md[Ad]]}},Ra.getValue=function(dd){return Ra.isExist(dd)?dd:""},Ra.isName=cd,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 cd=ud;if(ud++,Ra[ud]==="!"){ud=readCommentAndCDATA(Ra,ud);continue}else{let dd=!1;Ra[ud]==="/"&&(dd=!0,ud++);let pd="";for(;ud<Ra.length&&Ra[ud]!==">"&&Ra[ud]!==" "&&Ra[ud]!==" "&&Ra[ud]!==`
|
||
`&&Ra[ud]!=="\r";ud++)pd+=Ra[ud];if(pd=pd.trim(),pd[pd.length-1]==="/"&&(pd=pd.substring(0,pd.length-1),ud--),!validateTagName(pd)){let vd;return pd.trim().length===0?vd="Invalid space after '<'.":vd="Tag '"+pd+"' is an invalid name.",getErrorObject("InvalidTag",vd,getLineNumberForPosition(Ra,ud))}const fd=readAttributeStr(Ra,ud);if(fd===!1)return getErrorObject("InvalidAttr","Attributes for '"+pd+"' have open quote.",getLineNumberForPosition(Ra,ud));let md=fd.value;if(ud=fd.index,md[md.length-1]==="/"){const vd=ud-md.length;md=md.substring(0,md.length-1);const Ad=validateAttributeString(md,qa);if(Ad===!0)od=!0;else return getErrorObject(Ad.err.code,Ad.err.msg,getLineNumberForPosition(Ra,vd+Ad.err.line))}else if(dd)if(fd.tagClosed){if(md.trim().length>0)return getErrorObject("InvalidTag","Closing tag '"+pd+"' can't have attributes or invalid starting.",getLineNumberForPosition(Ra,cd));if(nd.length===0)return getErrorObject("InvalidTag","Closing tag '"+pd+"' has not been opened.",getLineNumberForPosition(Ra,cd));{const vd=nd.pop();if(pd!==vd.tagName){let Ad=getLineNumberForPosition(Ra,vd.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+vd.tagName+"' (opened in line "+Ad.line+", col "+Ad.col+") instead of closing tag '"+pd+"'.",getLineNumberForPosition(Ra,cd))}nd.length==0&&(ld=!0)}}else return getErrorObject("InvalidTag","Closing tag '"+pd+"' doesn't have proper closing.",getLineNumberForPosition(Ra,ud));else{const vd=validateAttributeString(md,qa);if(vd!==!0)return getErrorObject(vd.err.code,vd.err.msg,getLineNumberForPosition(Ra,ud-md.length+vd.err.line));if(ld===!0)return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(Ra,ud));qa.unpairedTags.indexOf(pd)!==-1||nd.push({tagName:pd,tagStartPos:cd}),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 vd=validateAmpersand(Ra,ud);if(vd==-1)return getErrorObject("InvalidChar","char '&' is not expected.",getLineNumberForPosition(Ra,ud));ud=vd}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,cd="";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++,cd=""}else if(Ra[qa]===">"){if(ud?Ra[qa-1]==="-"&&Ra[qa-2]==="-"&&(ud=!1,od--):od--,od===0)break}else Ra[qa]==="["?ld=!0:cd+=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;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$1(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 cd=trimZeros(od[3]);const dd=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 pd=Number(nd),fd=""+pd;return fd.search(/[eE]/)!==-1||dd?qa.eNotation?pd:Ra:nd.indexOf(".")!==-1?fd==="0"&&cd===""||fd===cd||ld&&fd==="-"+cd?pd:Ra:ud?cd===fd||ld+cd===fd?pd:Ra:nd===fd||nd===ld+fd?pd: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$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,cd){if(Ra!==void 0&&(this.options.trimValues&&!od&&(Ra=Ra.trim()),Ra.length>0)){cd||(Ra=this.replaceEntitiesValue(Ra));const dd=this.options.tagValueProcessor(qa,Ra,nd,ld,ud);return dd==null?Ra:typeof dd!=typeof Ra||dd!==Ra?dd: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 cd=0;cd<ld;cd++){const dd=this.resolveNameSpace(od[cd][1]);if(this.ignoreAttributesFn(dd,qa))continue;let pd=od[cd][4],fd=this.options.attributeNamePrefix+dd;if(dd.length)if(this.options.transformAttributeName&&(fd=this.options.transformAttributeName(fd)),fd==="__proto__"&&(fd="#__proto__"),pd!==void 0){this.options.trimValues&&(pd=pd.trim()),pd=this.replaceEntitiesValue(pd);const md=this.options.attributeValueProcessor(dd,pd,qa);md==null?ud[fd]=pd:typeof md!=typeof pd||md!==pd?ud[fd]=md:ud[fd]=parseValue(pd,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(ud[fd]=!0)}if(!Object.keys(ud).length)return;if(this.options.attributesGroupName){const cd={};return cd[this.options.attributesGroupName]=ud,cd}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 dd=findClosingIndex(Ra,">",ud,"Closing Tag is not closed.");let pd=Ra.substring(ud+2,dd).trim();if(this.options.removeNSPrefix){const vd=pd.indexOf(":");vd!==-1&&(pd=pd.substr(vd+1))}this.options.transformTagName&&(pd=this.options.transformTagName(pd)),nd&&(od=this.saveTextToParentTag(od,nd,ld));const fd=ld.substring(ld.lastIndexOf(".")+1);if(pd&&this.options.unpairedTags.indexOf(pd)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${pd}>`);let md=0;fd&&this.options.unpairedTags.indexOf(fd)!==-1?(md=ld.lastIndexOf(".",ld.lastIndexOf(".")-1),this.tagsNodeStack.pop()):md=ld.lastIndexOf("."),ld=ld.substring(0,md),nd=this.tagsNodeStack.pop(),od="",ud=dd}else if(Ra[ud+1]==="?"){let dd=readTagExp(Ra,ud,!1,"?>");if(!dd)throw new Error("Pi Tag is not closed.");if(od=this.saveTextToParentTag(od,nd,ld),!(this.options.ignoreDeclaration&&dd.tagName==="?xml"||this.options.ignorePiTags)){const pd=new xmlNode(dd.tagName);pd.add(this.options.textNodeName,""),dd.tagName!==dd.tagExp&&dd.attrExpPresent&&(pd[":@"]=this.buildAttributesMap(dd.tagExp,ld,dd.tagName)),this.addChild(nd,pd,ld)}ud=dd.closeIndex+1}else if(Ra.substr(ud+1,3)==="!--"){const dd=findClosingIndex(Ra,"-->",ud+4,"Comment is not closed.");if(this.options.commentPropName){const pd=Ra.substring(ud+4,dd-2);od=this.saveTextToParentTag(od,nd,ld),nd.add(this.options.commentPropName,[{[this.options.textNodeName]:pd}])}ud=dd}else if(Ra.substr(ud+1,2)==="!D"){const dd=readDocType(Ra,ud);this.docTypeEntities=dd.entities,ud=dd.i}else if(Ra.substr(ud+1,2)==="!["){const dd=findClosingIndex(Ra,"]]>",ud,"CDATA is not closed.")-2,pd=Ra.substring(ud+9,dd);od=this.saveTextToParentTag(od,nd,ld);let fd=this.parseTextData(pd,nd.tagname,ld,!0,!1,!0,!0);fd==null&&(fd=""),this.options.cdataPropName?nd.add(this.options.cdataPropName,[{[this.options.textNodeName]:pd}]):nd.add(this.options.textNodeName,fd),ud=dd+2}else{let dd=readTagExp(Ra,ud,this.options.removeNSPrefix),pd=dd.tagName;const fd=dd.rawTagName;let md=dd.tagExp,vd=dd.attrExpPresent,Ad=dd.closeIndex;this.options.transformTagName&&(pd=this.options.transformTagName(pd)),nd&&od&&nd.tagname!=="!xml"&&(od=this.saveTextToParentTag(od,nd,ld,!1));const Nd=nd;if(Nd&&this.options.unpairedTags.indexOf(Nd.tagname)!==-1&&(nd=this.tagsNodeStack.pop(),ld=ld.substring(0,ld.lastIndexOf("."))),pd!==qa.tagname&&(ld+=ld?"."+pd:pd),this.isItStopNode(this.options.stopNodes,ld,pd)){let Id="";if(md.length>0&&md.lastIndexOf("/")===md.length-1)pd[pd.length-1]==="/"?(pd=pd.substr(0,pd.length-1),ld=ld.substr(0,ld.length-1),md=pd):md=md.substr(0,md.length-1),ud=dd.closeIndex;else if(this.options.unpairedTags.indexOf(pd)!==-1)ud=dd.closeIndex;else{const jd=this.readStopNodeData(Ra,fd,Ad+1);if(!jd)throw new Error(`Unexpected end of ${fd}`);ud=jd.i,Id=jd.tagContent}const kd=new xmlNode(pd);pd!==md&&vd&&(kd[":@"]=this.buildAttributesMap(md,ld,pd)),Id&&(Id=this.parseTextData(Id,pd,ld,!0,vd,!0,!0)),ld=ld.substr(0,ld.lastIndexOf(".")),kd.add(this.options.textNodeName,Id),this.addChild(nd,kd,ld)}else{if(md.length>0&&md.lastIndexOf("/")===md.length-1){pd[pd.length-1]==="/"?(pd=pd.substr(0,pd.length-1),ld=ld.substr(0,ld.length-1),md=pd):md=md.substr(0,md.length-1),this.options.transformTagName&&(pd=this.options.transformTagName(pd));const Id=new xmlNode(pd);pd!==md&&vd&&(Id[":@"]=this.buildAttributesMap(md,ld,pd)),this.addChild(nd,Id,ld),ld=ld.substr(0,ld.lastIndexOf("."))}else{const Id=new xmlNode(pd);this.tagsNodeStack.push(nd),pd!==md&&vd&&(Id[":@"]=this.buildAttributesMap(md,ld,pd)),this.addChild(nd,Id,ld),nd=Id}od="",ud=Ad}}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 cd=Ra[ud];if(od)cd===od&&(od="");else if(cd==='"'||cd==="'")od=cd;else if(cd===nd[0])if(nd[1]){if(Ra[ud+1]===nd[1])return{data:ld,index:ud}}else return{data:ld,index:ud};else cd===" "&&(cd=" ");ld+=cd}}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 cd=ld.index,dd=ud.search(/\s/);let pd=ud,fd=!0;dd!==-1&&(pd=ud.substring(0,dd),ud=ud.substring(dd+1).trimStart());const md=pd;if(nd){const vd=pd.indexOf(":");vd!==-1&&(pd=pd.substr(vd+1),fd=pd!==ld.data.substr(vd+1))}return{tagName:pd,tagExp:ud,closeIndex:cd,attrExpPresent:fd,rawTagName:md}}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 cd=Ra[ud],dd=propName$1(cd);let pd="";if(nd===void 0?pd=dd:pd=nd+"."+dd,dd===qa.textNodeName)od===void 0?od=cd[dd]:od+=""+cd[dd];else{if(dd===void 0)continue;if(cd[dd]){let fd=compress(cd[dd],qa,pd);const md=isLeafTag(fd,qa);cd[":@"]?assignAttributes(fd,cd[":@"],pd,qa):Object.keys(fd).length===1&&fd[qa.textNodeName]!==void 0&&!qa.alwaysCreateTextNode?fd=fd[qa.textNodeName]:Object.keys(fd).length===0&&(qa.alwaysCreateTextNode?fd[qa.textNodeName]="":fd=""),ld[dd]!==void 0&&ld.hasOwnProperty(dd)?(Array.isArray(ld[dd])||(ld[dd]=[ld[dd]]),ld[dd].push(fd)):qa.isArray(dd,pd,md)?ld[dd]=[fd]:ld[dd]=fd}}}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 cd=0;cd<ud;cd++){const dd=ld[cd];od.isArray(dd,nd+"."+dd,!0,!0)?Ra[dd]=[qa[dd]]:Ra[dd]=qa[dd]}}}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 cd=0;cd<Ra.length;cd++){const dd=Ra[cd],pd=propName(dd);if(pd===void 0)continue;let fd="";if(nd.length===0?fd=pd:fd=`${nd}.${pd}`,pd===qa.textNodeName){let Id=dd[pd];isStopNode(fd,qa)||(Id=qa.tagValueProcessor(pd,Id),Id=replaceEntitiesValue(Id,qa)),ud&&(ld+=od),ld+=Id,ud=!1;continue}else if(pd===qa.cdataPropName){ud&&(ld+=od),ld+=`<![CDATA[${dd[pd][0][qa.textNodeName]}]]>`,ud=!1;continue}else if(pd===qa.commentPropName){ld+=od+`<!--${dd[pd][0][qa.textNodeName]}-->`,ud=!0;continue}else if(pd[0]==="?"){const Id=attr_to_str(dd[":@"],qa),kd=pd==="?xml"?"":od;let jd=dd[pd][0][qa.textNodeName];jd=jd.length!==0?" "+jd:"",ld+=kd+`<${pd}${jd}${Id}?>`,ud=!0;continue}let md=od;md!==""&&(md+=qa.indentBy);const vd=attr_to_str(dd[":@"],qa),Ad=od+`<${pd}${vd}`,Nd=arrToStr(dd[pd],qa,fd,md);qa.unpairedTags.indexOf(pd)!==-1?qa.suppressUnpairedNode?ld+=Ad+">":ld+=Ad+"/>":(!Nd||Nd.length===0)&&qa.suppressEmptyNode?ld+=Ad+"/>":Nd&&Nd.endsWith(">")?ld+=Ad+`>${Nd}${od}</${pd}>`:(ld+=Ad+">",Nd&&od!==""&&(Nd.includes("/>")||Nd.includes("</"))?ld+=od+qa.indentBy+Nd+od:ld+=Nd,ld+=`</${pd}>`),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 cd in Ra)if(Object.prototype.hasOwnProperty.call(Ra,cd))if(typeof Ra[cd]>"u")this.isAttribute(cd)&&(ld+="");else if(Ra[cd]===null)this.isAttribute(cd)?ld+="":cd[0]==="?"?ld+=this.indentate(qa)+"<"+cd+"?"+this.tagEndChar:ld+=this.indentate(qa)+"<"+cd+"/"+this.tagEndChar;else if(Ra[cd]instanceof Date)ld+=this.buildTextValNode(Ra[cd],cd,"",qa);else if(typeof Ra[cd]!="object"){const dd=this.isAttribute(cd);if(dd&&!this.ignoreAttributesFn(dd,ud))od+=this.buildAttrPairStr(dd,""+Ra[cd]);else if(!dd)if(cd===this.options.textNodeName){let pd=this.options.tagValueProcessor(cd,""+Ra[cd]);ld+=this.replaceEntitiesValue(pd)}else ld+=this.buildTextValNode(Ra[cd],cd,"",qa)}else if(Array.isArray(Ra[cd])){const dd=Ra[cd].length;let pd="",fd="";for(let md=0;md<dd;md++){const vd=Ra[cd][md];if(!(typeof vd>"u"))if(vd===null)cd[0]==="?"?ld+=this.indentate(qa)+"<"+cd+"?"+this.tagEndChar:ld+=this.indentate(qa)+"<"+cd+"/"+this.tagEndChar;else if(typeof vd=="object")if(this.options.oneListGroup){const Ad=this.j2x(vd,qa+1,nd.concat(cd));pd+=Ad.val,this.options.attributesGroupName&&vd.hasOwnProperty(this.options.attributesGroupName)&&(fd+=Ad.attrStr)}else pd+=this.processTextOrObjNode(vd,cd,qa,nd);else if(this.options.oneListGroup){let Ad=this.options.tagValueProcessor(cd,vd);Ad=this.replaceEntitiesValue(Ad),pd+=Ad}else pd+=this.buildTextValNode(vd,cd,"",qa)}this.options.oneListGroup&&(pd=this.buildObjectNode(pd,cd,fd,qa)),ld+=pd}else if(this.options.attributesGroupName&&cd===this.options.attributesGroupName){const dd=Object.keys(Ra[cd]),pd=dd.length;for(let fd=0;fd<pd;fd++)od+=this.buildAttrPairStr(dd[fd],""+Ra[cd][dd[fd]])}else ld+=this.processTextOrObjNode(Ra[cd],cd,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"),cd="%[0-9a-z]{1,}",dd="(?:[0-9a-f]+::?)+",pd={zoneIndex:new RegExp(cd,"i"),native:new RegExp(`^(::)?(${dd})?([0-9a-f]+)?(::)?(${cd})?$`,"i"),deprecatedTransitional:new RegExp(`^(?:::)(${nd}\\.${nd}\\.${nd}\\.${nd}(${cd})?)$`,"i"),transitional:new RegExp(`^((?:${dd})|(?:::)(?:${dd})?)${nd}\\.${nd}\\.${nd}\\.${nd}(${cd})?$`,"i")};function fd(Id,kd){if(Id.indexOf("::")!==Id.lastIndexOf("::"))return null;let jd=0,Fd=-1,Md=(Id.match(pd.zoneIndex)||[])[0],Ld,Hd;for(Md&&(Md=Md.substring(1),Id=Id.replace(/%.+$/,""));(Fd=Id.indexOf(":",Fd+1))>=0;)jd++;if(Id.substr(0,2)==="::"&&jd--,Id.substr(-2,2)==="::"&&jd--,jd>kd)return null;for(Hd=kd-jd,Ld=":";Hd--;)Ld+="0:";return Id=Id.replace("::",Ld),Id[0]===":"&&(Id=Id.slice(1)),Id[Id.length-1]===":"&&(Id=Id.slice(0,-1)),kd=function(){const Gd=Id.split(":"),Vd=[];for(let Kd=0;Kd<Gd.length;Kd++)Vd.push(parseInt(Gd[Kd],16));return Vd}(),{parts:kd,zoneId:Md}}function md(Id,kd,jd,Fd){if(Id.length!==kd.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");let Md=0,Ld;for(;Fd>0;){if(Ld=jd-Fd,Ld<0&&(Ld=0),Id[Md]>>Ld!==kd[Md]>>Ld)return!1;Fd-=jd,Md+=1}return!0}function vd(Id){if(ud.test(Id))return parseInt(Id,16);if(Id[0]==="0"&&!isNaN(parseInt(Id[1],10))){if(ld.test(Id))return parseInt(Id,8);throw new Error(`ipaddr: cannot parse ${Id} as octal`)}return parseInt(Id,10)}function Ad(Id,kd){for(;Id.length<kd;)Id=`0${Id}`;return Id}const Nd={};Nd.IPv4=function(){function Id(kd){if(kd.length!==4)throw new Error("ipaddr: ipv4 octet count should be 4");let jd,Fd;for(jd=0;jd<kd.length;jd++)if(Fd=kd[jd],!(0<=Fd&&Fd<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=kd}return Id.prototype.SpecialRanges={unspecified:[[new Id([0,0,0,0]),8]],broadcast:[[new Id([255,255,255,255]),32]],multicast:[[new Id([224,0,0,0]),4]],linkLocal:[[new Id([169,254,0,0]),16]],loopback:[[new Id([127,0,0,0]),8]],carrierGradeNat:[[new Id([100,64,0,0]),10]],private:[[new Id([10,0,0,0]),8],[new Id([172,16,0,0]),12],[new Id([192,168,0,0]),16]],reserved:[[new Id([192,0,0,0]),24],[new Id([192,0,2,0]),24],[new Id([192,88,99,0]),24],[new Id([198,18,0,0]),15],[new Id([198,51,100,0]),24],[new Id([203,0,113,0]),24],[new Id([240,0,0,0]),4]],as112:[[new Id([192,175,48,0]),24],[new Id([192,31,196,0]),24]],amt:[[new Id([192,52,193,0]),24]]},Id.prototype.kind=function(){return"ipv4"},Id.prototype.match=function(kd,jd){let Fd;if(jd===void 0&&(Fd=kd,kd=Fd[0],jd=Fd[1]),kd.kind()!=="ipv4")throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return md(this.octets,kd.octets,8,jd)},Id.prototype.prefixLengthFromSubnetMask=function(){let kd=0,jd=!1;const Fd={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};let Md,Ld,Hd;for(Md=3;Md>=0;Md-=1)if(Ld=this.octets[Md],Ld in Fd){if(Hd=Fd[Ld],jd&&Hd!==0)return null;Hd!==8&&(jd=!0),kd+=Hd}else return null;return 32-kd},Id.prototype.range=function(){return Nd.subnetMatch(this,this.SpecialRanges)},Id.prototype.toByteArray=function(){return this.octets.slice(0)},Id.prototype.toIPv4MappedAddress=function(){return Nd.IPv6.parse(`::ffff:${this.toString()}`)},Id.prototype.toNormalizedString=function(){return this.toString()},Id.prototype.toString=function(){return this.octets.join(".")},Id}(),Nd.IPv4.broadcastAddressFromCIDR=function(Id){try{const kd=this.parseCIDR(Id),jd=kd[0].toByteArray(),Fd=this.subnetMaskFromPrefixLength(kd[1]).toByteArray(),Md=[];let Ld=0;for(;Ld<4;)Md.push(parseInt(jd[Ld],10)|parseInt(Fd[Ld],10)^255),Ld++;return new this(Md)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Nd.IPv4.isIPv4=function(Id){return this.parser(Id)!==null},Nd.IPv4.isValid=function(Id){try{return new this(this.parser(Id)),!0}catch{return!1}},Nd.IPv4.isValidCIDR=function(Id){try{return this.parseCIDR(Id),!0}catch{return!1}},Nd.IPv4.isValidFourPartDecimal=function(Id){return!!(Nd.IPv4.isValid(Id)&&Id.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},Nd.IPv4.networkAddressFromCIDR=function(Id){let kd,jd,Fd,Md,Ld;try{for(kd=this.parseCIDR(Id),Fd=kd[0].toByteArray(),Ld=this.subnetMaskFromPrefixLength(kd[1]).toByteArray(),Md=[],jd=0;jd<4;)Md.push(parseInt(Fd[jd],10)&parseInt(Ld[jd],10)),jd++;return new this(Md)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Nd.IPv4.parse=function(Id){const kd=this.parser(Id);if(kd===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(kd)},Nd.IPv4.parseCIDR=function(Id){let kd;if(kd=Id.match(/^(.+)\/(\d+)$/)){const jd=parseInt(kd[2]);if(jd>=0&&jd<=32){const Fd=[this.parse(kd[1]),jd];return Object.defineProperty(Fd,"toString",{value:function(){return this.join("/")}}),Fd}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},Nd.IPv4.parser=function(Id){let kd,jd,Fd;if(kd=Id.match(od.fourOctet))return function(){const Md=kd.slice(1,6),Ld=[];for(let Hd=0;Hd<Md.length;Hd++)jd=Md[Hd],Ld.push(vd(jd));return Ld}();if(kd=Id.match(od.longValue)){if(Fd=vd(kd[1]),Fd>4294967295||Fd<0)throw new Error("ipaddr: address outside defined range");return function(){const Md=[];let Ld;for(Ld=0;Ld<=24;Ld+=8)Md.push(Fd>>Ld&255);return Md}().reverse()}else return(kd=Id.match(od.twoOctet))?function(){const Md=kd.slice(1,4),Ld=[];if(Fd=vd(Md[1]),Fd>16777215||Fd<0)throw new Error("ipaddr: address outside defined range");return Ld.push(vd(Md[0])),Ld.push(Fd>>16&255),Ld.push(Fd>>8&255),Ld.push(Fd&255),Ld}():(kd=Id.match(od.threeOctet))?function(){const Md=kd.slice(1,5),Ld=[];if(Fd=vd(Md[2]),Fd>65535||Fd<0)throw new Error("ipaddr: address outside defined range");return Ld.push(vd(Md[0])),Ld.push(vd(Md[1])),Ld.push(Fd>>8&255),Ld.push(Fd&255),Ld}():null},Nd.IPv4.subnetMaskFromPrefixLength=function(Id){if(Id=parseInt(Id),Id<0||Id>32)throw new Error("ipaddr: invalid IPv4 prefix length");const kd=[0,0,0,0];let jd=0;const Fd=Math.floor(Id/8);for(;jd<Fd;)kd[jd]=255,jd++;return Fd<4&&(kd[Fd]=Math.pow(2,Id%8)-1<<8-Id%8),new this(kd)},Nd.IPv6=function(){function Id(kd,jd){let Fd,Md;if(kd.length===16)for(this.parts=[],Fd=0;Fd<=14;Fd+=2)this.parts.push(kd[Fd]<<8|kd[Fd+1]);else if(kd.length===8)this.parts=kd;else throw new Error("ipaddr: ipv6 part count should be 8 or 16");for(Fd=0;Fd<this.parts.length;Fd++)if(Md=this.parts[Fd],!(0<=Md&&Md<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");jd&&(this.zoneId=jd)}return Id.prototype.SpecialRanges={unspecified:[new Id([0,0,0,0,0,0,0,0]),128],linkLocal:[new Id([65152,0,0,0,0,0,0,0]),10],multicast:[new Id([65280,0,0,0,0,0,0,0]),8],loopback:[new Id([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new Id([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new Id([0,0,0,0,0,65535,0,0]),96],discard:[new Id([256,0,0,0,0,0,0,0]),64],rfc6145:[new Id([0,0,0,0,65535,0,0,0]),96],rfc6052:[new Id([100,65435,0,0,0,0,0,0]),96],"6to4":[new Id([8194,0,0,0,0,0,0,0]),16],teredo:[new Id([8193,0,0,0,0,0,0,0]),32],benchmarking:[new Id([8193,2,0,0,0,0,0,0]),48],amt:[new Id([8193,3,0,0,0,0,0,0]),32],as112v6:[[new Id([8193,4,274,0,0,0,0,0]),48],[new Id([9760,79,32768,0,0,0,0,0]),48]],deprecated:[new Id([8193,16,0,0,0,0,0,0]),28],orchid2:[new Id([8193,32,0,0,0,0,0,0]),28],droneRemoteIdProtocolEntityTags:[new Id([8193,48,0,0,0,0,0,0]),28],reserved:[[new Id([8193,0,0,0,0,0,0,0]),23],[new Id([8193,3512,0,0,0,0,0,0]),32]]},Id.prototype.isIPv4MappedAddress=function(){return this.range()==="ipv4Mapped"},Id.prototype.kind=function(){return"ipv6"},Id.prototype.match=function(kd,jd){let Fd;if(jd===void 0&&(Fd=kd,kd=Fd[0],jd=Fd[1]),kd.kind()!=="ipv6")throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return md(this.parts,kd.parts,16,jd)},Id.prototype.prefixLengthFromSubnetMask=function(){let kd=0,jd=!1;const Fd={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 Md,Ld;for(let Hd=7;Hd>=0;Hd-=1)if(Md=this.parts[Hd],Md in Fd){if(Ld=Fd[Md],jd&&Ld!==0)return null;Ld!==16&&(jd=!0),kd+=Ld}else return null;return 128-kd},Id.prototype.range=function(){return Nd.subnetMatch(this,this.SpecialRanges)},Id.prototype.toByteArray=function(){let kd;const jd=[],Fd=this.parts;for(let Md=0;Md<Fd.length;Md++)kd=Fd[Md],jd.push(kd>>8),jd.push(kd&255);return jd},Id.prototype.toFixedLengthString=function(){const kd=(function(){const Fd=[];for(let Md=0;Md<this.parts.length;Md++)Fd.push(Ad(this.parts[Md].toString(16),4));return Fd}).call(this).join(":");let jd="";return this.zoneId&&(jd=`%${this.zoneId}`),kd+jd},Id.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");const kd=this.parts.slice(-2),jd=kd[0],Fd=kd[1];return new Nd.IPv4([jd>>8,jd&255,Fd>>8,Fd&255])},Id.prototype.toNormalizedString=function(){const kd=(function(){const Fd=[];for(let Md=0;Md<this.parts.length;Md++)Fd.push(this.parts[Md].toString(16));return Fd}).call(this).join(":");let jd="";return this.zoneId&&(jd=`%${this.zoneId}`),kd+jd},Id.prototype.toRFC5952String=function(){const kd=/((^|:)(0(:|$)){2,})/g,jd=this.toNormalizedString();let Fd=0,Md=-1,Ld;for(;Ld=kd.exec(jd);)Ld[0].length>Md&&(Fd=Ld.index,Md=Ld[0].length);return Md<0?jd:`${jd.substring(0,Fd)}::${jd.substring(Fd+Md)}`},Id.prototype.toString=function(){return this.toRFC5952String()},Id}(),Nd.IPv6.broadcastAddressFromCIDR=function(Id){try{const kd=this.parseCIDR(Id),jd=kd[0].toByteArray(),Fd=this.subnetMaskFromPrefixLength(kd[1]).toByteArray(),Md=[];let Ld=0;for(;Ld<16;)Md.push(parseInt(jd[Ld],10)|parseInt(Fd[Ld],10)^255),Ld++;return new this(Md)}catch(kd){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${kd})`)}},Nd.IPv6.isIPv6=function(Id){return this.parser(Id)!==null},Nd.IPv6.isValid=function(Id){if(typeof Id=="string"&&Id.indexOf(":")===-1)return!1;try{const kd=this.parser(Id);return new this(kd.parts,kd.zoneId),!0}catch{return!1}},Nd.IPv6.isValidCIDR=function(Id){if(typeof Id=="string"&&Id.indexOf(":")===-1)return!1;try{return this.parseCIDR(Id),!0}catch{return!1}},Nd.IPv6.networkAddressFromCIDR=function(Id){let kd,jd,Fd,Md,Ld;try{for(kd=this.parseCIDR(Id),Fd=kd[0].toByteArray(),Ld=this.subnetMaskFromPrefixLength(kd[1]).toByteArray(),Md=[],jd=0;jd<16;)Md.push(parseInt(Fd[jd],10)&parseInt(Ld[jd],10)),jd++;return new this(Md)}catch(Hd){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${Hd})`)}},Nd.IPv6.parse=function(Id){const kd=this.parser(Id);if(kd.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(kd.parts,kd.zoneId)},Nd.IPv6.parseCIDR=function(Id){let kd,jd,Fd;if((jd=Id.match(/^(.+)\/(\d+)$/))&&(kd=parseInt(jd[2]),kd>=0&&kd<=128))return Fd=[this.parse(jd[1]),kd],Object.defineProperty(Fd,"toString",{value:function(){return this.join("/")}}),Fd;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},Nd.IPv6.parser=function(Id){let kd,jd,Fd,Md,Ld,Hd;if(Fd=Id.match(pd.deprecatedTransitional))return this.parser(`::ffff:${Fd[1]}`);if(pd.native.test(Id))return fd(Id,8);if((Fd=Id.match(pd.transitional))&&(Hd=Fd[6]||"",kd=Fd[1],Fd[1].endsWith("::")||(kd=kd.slice(0,-1)),kd=fd(kd+Hd,6),kd.parts)){for(Ld=[parseInt(Fd[2]),parseInt(Fd[3]),parseInt(Fd[4]),parseInt(Fd[5])],jd=0;jd<Ld.length;jd++)if(Md=Ld[jd],!(0<=Md&&Md<=255))return null;return kd.parts.push(Ld[0]<<8|Ld[1]),kd.parts.push(Ld[2]<<8|Ld[3]),{parts:kd.parts,zoneId:kd.zoneId}}return null},Nd.IPv6.subnetMaskFromPrefixLength=function(Id){if(Id=parseInt(Id),Id<0||Id>128)throw new Error("ipaddr: invalid IPv6 prefix length");const kd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let jd=0;const Fd=Math.floor(Id/8);for(;jd<Fd;)kd[jd]=255,jd++;return Fd<16&&(kd[Fd]=Math.pow(2,Id%8)-1<<8-Id%8),new this(kd)},Nd.fromByteArray=function(Id){const kd=Id.length;if(kd===4)return new Nd.IPv4(Id);if(kd===16)return new Nd.IPv6(Id);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},Nd.isValid=function(Id){return Nd.IPv6.isValid(Id)||Nd.IPv4.isValid(Id)},Nd.isValidCIDR=function(Id){return Nd.IPv6.isValidCIDR(Id)||Nd.IPv4.isValidCIDR(Id)},Nd.parse=function(Id){if(Nd.IPv6.isValid(Id))return Nd.IPv6.parse(Id);if(Nd.IPv4.isValid(Id))return Nd.IPv4.parse(Id);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},Nd.parseCIDR=function(Id){try{return Nd.IPv6.parseCIDR(Id)}catch{try{return Nd.IPv4.parseCIDR(Id)}catch{throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},Nd.process=function(Id){const kd=this.parse(Id);return kd.kind()==="ipv6"&&kd.isIPv4MappedAddress()?kd.toIPv4Address():kd},Nd.subnetMatch=function(Id,kd,jd){let Fd,Md,Ld,Hd;jd==null&&(jd="unicast");for(Md in kd)if(Object.prototype.hasOwnProperty.call(kd,Md)){for(Ld=kd[Md],Ld[0]&&!(Ld[0]instanceof Array)&&(Ld=[Ld]),Fd=0;Fd<Ld.length;Fd++)if(Hd=Ld[Fd],Id.kind()===Hd[0].kind()&&Id.match.apply(Id,Hd))return Md}return jd},Ra.exports?Ra.exports=Nd:qa.ipaddr=Nd})(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=cd,Ra.extension=dd,Ra.extensions=Object.create(null),Ra.lookup=pd,Ra.types=Object.create(null),fd(Ra.extensions,Ra.types);function ud(md){if(!md||typeof md!="string")return!1;var vd=od.exec(md),Ad=vd&&qa[vd[1].toLowerCase()];return Ad&&Ad.charset?Ad.charset:vd&&ld.test(vd[1])?"UTF-8":!1}function cd(md){if(!md||typeof md!="string")return!1;var vd=md.indexOf("/")===-1?Ra.lookup(md):md;if(!vd)return!1;if(vd.indexOf("charset")===-1){var Ad=Ra.charset(vd);Ad&&(vd+="; charset="+Ad.toLowerCase())}return vd}function dd(md){if(!md||typeof md!="string")return!1;var vd=od.exec(md),Ad=vd&&Ra.extensions[vd[1].toLowerCase()];return!Ad||!Ad.length?!1:Ad[0]}function pd(md){if(!md||typeof md!="string")return!1;var vd=nd("x."+md).toLowerCase().substr(1);return vd&&Ra.types[vd]||!1}function fd(md,vd){var Ad=["nginx","apache",void 0,"iana"];Object.keys(qa).forEach(function(Id){var kd=qa[Id],jd=kd.extensions;if(!(!jd||!jd.length)){md[Id]=jd;for(var Fd=0;Fd<jd.length;Fd++){var Md=jd[Fd];if(vd[Md]){var Ld=Ad.indexOf(qa[vd[Md]].source),Hd=Ad.indexOf(kd.source);if(vd[Md]!=="application/octet-stream"&&(Ld>Hd||Ld===Hd&&vd[Md].substr(0,12)==="application/"))continue}vd[Md]=Id}}})}})(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 cd=Math.trunc(Ra/nd),dd=Ra%nd;let pd=ud;for(let fd=0;fd<nd;fd++){let md=cd;fd<dd&&md++;const vd=pd,Ad=vd+md-1;pd=Ad+1,od.push(vd),ld.push(Ad)}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:cd=null,MatchUnmodifiedSince:dd=null,MatchRange:pd=!1,Start:fd=0,End:md=0,Encryption:vd=void 0}){this.Bucket=qa,this.Object=nd,this.VersionID=od,this.MatchETag=ld,this.NoMatchETag=ud,this.MatchModifiedSince=cd,this.MatchUnmodifiedSince=dd,this.MatchRange=pd,this.Start=fd,this.End=md,this.Encryption=vd}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:cd,RetainUntilDate:dd,Mode:pd,MetadataDirective:fd}){this.Bucket=qa,this.Object=nd,this.Encryption=od??void 0,this.UserMetadata=ld,this.UserTags=ud,this.LegalHold=cd,this.Mode=pd,this.RetainUntilDate=dd,this.MetadataDirective=fd}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,cd]of Object.entries(ld))nd[ud]=cd}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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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((pd,fd)=>{const md=`${nd[fd]}`.replace(/ +/g," ");return pd.push(`${fd.toLowerCase()}:${md}`),pd},[]),cd=qa.split("?")[0];let dd=qa.split("?")[1];return dd||(dd=""),dd&&(dd=dd.split("&").sort().map(pd=>pd.includes("=")?pd:pd+"=").join("&")),[Ra.toUpperCase(),cd,dd,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,cd="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 dd=getSignedHeaders(Ra.headers),pd=getCanonicalRequest(Ra.method,Ra.path,Ra.headers,dd,ud),fd=cd||"s3",md=getStringToSign(pd,ld,od,fd),vd=getSigningKey(ld,od,nd,fd),Ad=getCredential(qa,od,ld,fd),Nd=(void 0)("sha256",vd).update(md).digest("hex").toLowerCase();return`${signV4Algorithm} Credential=${Ad}, SignedHeaders=${dd.join(";").toLowerCase()}, Signature=${Nd}`}function presignSignatureV4(Ra,qa,nd,od,ld,ud,cd){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(cd))throw new TypeError('expires should be of type "number"');if(cd<1)throw new ExpiresParamError("expires param cannot be less than 1 seconds");if(cd>604800)throw new ExpiresParamError("expires param cannot be greater than 7 days");const dd=makeDateLong(ud),pd=getSignedHeaders(Ra.headers),fd=getCredential(qa,ld,ud),md="UNSIGNED-PAYLOAD",vd=[];vd.push(`X-Amz-Algorithm=${signV4Algorithm}`),vd.push(`X-Amz-Credential=${uriEscape(fd)}`),vd.push(`X-Amz-Date=${dd}`),vd.push(`X-Amz-Expires=${cd}`),vd.push(`X-Amz-SignedHeaders=${uriEscape(pd.join(";").toLowerCase())}`),od&&vd.push(`X-Amz-Security-Token=${uriEscape(od)}`);const Ad=Ra.path.split("?")[0];let Nd=Ra.path.split("?")[1];Nd?Nd=Nd+"&"+vd.join("&"):Nd=vd.join("&");const Id=Ad+"?"+Nd,kd=getCanonicalRequest(Ra.method,Id,Ra.headers,pd,md),jd=getStringToSign(kd,ud,ld),Md=(void 0)("sha256",getSigningKey(ud,ld,nd)).update(jd).digest("hex").toLowerCase();return Ra.protocol+"//"+Ra.headers.host+Id+`&X-Amz-Signature=${Md}`}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,cd])=>{ld[ud.toLowerCase()]=cd}),Object.entries(qa).forEach(([ud,cd])=>{ld[ud]=cd}),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 cd=new S3Error(od,{cause:ld});throw cd.code=nd,Object.entries(ld).forEach(([dd,pd])=>{cd[dd]=pd}),cd}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),cd=sanitizeETag(od.ETag),dd=od.Size;let pd;od.UserMetadata!=null?pd=toArray(od.UserMetadata)[0]:pd=null,qa.objects.push({name:ld,lastModified:ud,etag:cd,size:dd,metadata:pd})}),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),cd=od.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");nd.parts.push({part:ld,lastModified:ud,etag:cd,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:cd}=ld,dd=new Date(cd);return{name:ud,creationDate:dd}})),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,cd="";do{const dd=await this.listObjectsV2WithMetadataQuery(qa,nd,cd,od,ld);ud=!dd.isTruncated,cd=dd.nextContinuationToken;for(const pd of dd.objects)yield pd}while(!ud)}async listObjectsV2WithMetadataQuery(qa,nd,od,ld,ud){const cd=[];cd.push("list-type=2"),cd.push("encoding-type=url"),cd.push(`prefix=${uriEscape(nd)}`),cd.push(`delimiter=${uriEscape(ld)}`),cd.push("metadata=true"),od&&(od=uriEscape(od),cd.push(`continuation-token=${od}`)),ud&&(ud=uriEscape(ud),cd.push(`start-after=${ud}`)),cd.push("max-keys=1000"),cd.sort();let dd="";cd.length>0&&(dd=`${cd.join("&")}`);const fd=await this.client.makeRequestAsync({method:"GET",bucketName:qa,query:dd});return parseListObjectsV2WithMetadata(await readAsString(fd))}}async function request$1(Ra,qa,nd=null){return new Promise((od,ld)=>{const ud=Ra.request(qa,cd=>{od(cd)});if(!nd||Buffer$4.isBuffer(nd)||typeof nd=="string"){ud.on("error",cd=>{ld(cd)}).end(nd);return}streamBrowserify.pipeline(nd,ud,cd=>{cd&&ld(cd)})})}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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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){p_(this,"partSize",64*1024*1024);p_(this,"maximumPartSize",5*1024*1024*1024);p_(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,cd;if(qa.useSSL?(ud=http,ld="https:",od=od||443,cd=void 0):(ud=http,ld="http:",od=od||80,cd=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"`);cd=qa.transportAgent}const pd=`MinIO ${`(${define_process_default$2.platform}; ${define_process_default$2.arch})`} minio-js/${Package.version}`;if(this.transport=ud,this.transportAgent=cd,this.host=nd,this.port=od,this.protocol=ld,this.userAgent=`${pd}`,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 cd=qa.headers,dd=qa.query;let pd={method:nd,headers:{},protocol:this.protocol,agent:this.transportAgent},fd;ld&&(fd=isVirtualHostStyle(this.host,this.protocol,ld,this.pathStyle));let md="/",vd=this.host,Ad;if(this.port&&(Ad=this.port),ud&&(ud=uriResourceEscape(ud)),isAmazonEndpoint(vd)){const Nd=this.getAccelerateEndPointIfSet(ld,ud);Nd?vd=`${Nd}`:vd=getS3Endpoint(od)}if(fd&&!qa.pathStyle?(ld&&(vd=`${ld}.${vd}`),ud&&(md=`/${ud}`)):(ld&&(md=`/${ld}`),ud&&(md=`/${ld}/${ud}`)),dd&&(md+=`?${dd}`),pd.headers.host=vd,(pd.protocol==="http:"&&Ad!==80||pd.protocol==="https:"&&Ad!==443)&&(pd.headers.host=`${vd}:${Ad}`),pd.headers["user-agent"]=this.userAgent,cd)for(const[Nd,Id]of Object.entries(cd))pd.headers[Nd.toLowerCase()]=Id;return pd=Object.assign({},this.reqOptions,pd),{...pd,headers:_.mapValues(_.pickBy(pd.headers,isDefined),Nd=>Nd.toString()),host:vd,port:Ad,path:md}}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=cd=>{Object.entries(cd).forEach(([dd,pd])=>{if(dd=="authorization"&&isString(pd)){const fd=new RegExp("Signature=([0-9a-f]+)");pd=pd.replace(fd,"Signature=**REDACTED**")}ld.write(`${dd}: ${pd}
|
||
`)}),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 cd=JSON.stringify(od,null," ");ld.write(`${cd}
|
||
`)}}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(cd=>{if(!isNumber(cd))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(pd=>{if(!isNumber(pd))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 cd=this.getRequestOptions({...qa,region:ud});if(!this.anonymous){this.enableSHA256||(od="UNSIGNED-PAYLOAD");const pd=new Date;cd.headers["x-amz-date"]=makeDateLong(pd),cd.headers["x-amz-content-sha256"]=od,this.sessionToken&&(cd.headers["x-amz-security-token"]=this.sessionToken),cd.headers.authorization=signV4(cd,this.accessKey,this.secretKey,ud,pd,od)}const dd=await request$1(this.transport,cd,nd);if(!dd.statusCode)throw new Error("BUG: response doesn't have a statusCode");if(!ld.includes(dd.statusCode)){delete this.regionMap[qa.bucketName];const pd=await parseResponseError(dd);throw this.logHTTP(cd,dd,pd),pd}return this.logHTTP(cd,dd),dd}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 fd=>{const md=await readAsString(fd),vd=parseBucketRegion(md)||DEFAULT_REGION;return this.regionMap[qa]=vd,vd},ld="GET",ud="location",cd=this.pathStyle&&!isBrowser_1;let dd;try{const fd=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:cd},"",[200],DEFAULT_REGION);return od(fd)}catch(fd){if(fd.name!=="AuthorizationHeaderMalformed"||(dd=fd.Region,!dd))throw fd}const pd=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:cd},"",[200],dd);return await od(pd)}makeRequest(qa,nd="",od=[200],ld="",ud,cd){let dd;ud?dd=this.makeRequestAsync(qa,nd,od,ld):dd=this.makeRequestAsyncOmit(qa,nd,od,ld),dd.then(pd=>cd(null,pd),pd=>{cd(pd)})}makeRequestStream(qa,nd,od,ld,ud,cd,dd){(async()=>{const fd=await this.makeRequestStreamAsync(qa,nd,od,ld,ud);return cd||await drainResponse(fd),fd})().then(fd=>dd(null,fd),fd=>dd(fd))}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),cd=await this.makeRequestAsyncOmit({method:"HEAD",bucketName:qa,objectName:nd,query:ld});return{size:parseInt(cd.headers["content-length"]),metaData:extractMetadata(cd.headers),lastModified:new Date(cd.headers["last-modified"]),versionId:getVersionId(cd.headers),etag:sanitizeETag(cd.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 cd={};od.versionId&&(cd.versionId=`${od.versionId}`);const dd=queryString.stringify(cd);await this.makeRequestAsyncOmit({method:ld,bucketName:qa,objectName:nd,headers:ud,query:dd},"",[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 cd=await this.makeRequestAsync({method:"POST",bucketName:qa,objectName:nd,query:"uploads",headers:od}),dd=await readAsBuffer(cd);return parseInitiateMultipart(dd.toString())}async abortMultipartUpload(qa,nd,od){const ld="DELETE",ud=`uploadId=${od}`,cd={method:ld,bucketName:qa,objectName:nd,query:ud};await this.makeRequestAsyncOmit(cd,"",[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,cd;do cd=await this.listPartsQuery(qa,nd,od,ud),ud=cd.marker,ld.push(...cd.parts);while(cd.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 dd=await this.makeRequestAsync({method:"GET",bucketName:qa,objectName:nd,query:ud});return parseListParts(await readAsString(dd))}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={},cd={ReplicationConfiguration:{Role:nd.role,Rule:nd.rules}},pd=new xml2js.Builder({renderOpts:{pretty:!1},headless:!0}).buildObject(cd);ud["Content-MD5"]=toMd5(pd),await this.makeRequestAsyncOmit({method:od,bucketName:qa,query:ld,headers:ud},pd)}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(){p_(this,"modified","");p_(this,"unmodified","");p_(this,"matchETag","");p_(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(){p_(this,"policy",{conditions:[]});p_(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=streamBrowserify.Transform;jsonStream.exports=function(Ra){return new JSONStream(Ra)};var JSONStream=jsonStream.exports.JSONStream=function(Ra){Ra=Ra||{},TransformStream.call(this,Ra),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this._async=Ra.async||!1};util.inherits(JSONStream,TransformStream);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,cd)=>cd(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,cd={id:od.Initiator.ID,displayName:od.Initiator.DisplayName},dd={id:od.Owner.ID,displayName:od.Owner.DisplayName},pd=od.StorageClass,fd=new Date(od.Initiated);qa.uploads.push({key:ld,uploadId:ud,initiator:cd,owner:dd,storageClass:pd,initiated:fd})}),qa}function parseBucketNotification(Ra){var qa={TopicConfiguration:[],QueueConfiguration:[],CloudFunctionConfiguration:[]},nd=function(ud){var cd=[];return ud&&toArray(ud).forEach(dd=>{cd.push(dd)}),cd},od=function(ud){var cd=[];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(dd=>{var pd=toArray(dd.Name)[0],fd=toArray(dd.Value)[0];cd.push({Name:pd,Value:fd})}))),cd},ld=parseXml(Ra);return ld=ld.NotificationConfiguration,ld.TopicConfiguration&&toArray(ld.TopicConfiguration).forEach(ud=>{var cd=toArray(ud.Id)[0],dd=toArray(ud.Topic)[0],pd=nd(ud.Event),fd=od(ud.Filter);qa.TopicConfiguration.push({Id:cd,Topic:dd,Event:pd,Filter:fd})}),ld.QueueConfiguration&&toArray(ld.QueueConfiguration).forEach(ud=>{var cd=toArray(ud.Id)[0],dd=toArray(ud.Queue)[0],pd=nd(ud.Event),fd=od(ud.Filter);qa.QueueConfiguration.push({Id:cd,Queue:dd,Event:pd,Filter:fd})}),ld.CloudFunctionConfiguration&&toArray(ld.CloudFunctionConfiguration).forEach(ud=>{var cd=toArray(ud.Id)[0],dd=toArray(ud.CloudFunction)[0],pd=nd(ud.Event),fd=od(ud.Filter);qa.CloudFunctionConfiguration.push({Id:cd,CloudFunction:dd,Event:pd,Filter:fd})}),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 cd=toArray(qa.Code)[0],dd=toArray(qa.Message)[0];return{errCode:cd,errMessage:dd}}}const formatObjInfo=(Ra,qa={})=>{let{Key:nd,LastModified:od,ETag:ld,Size:ud,VersionId:cd,IsLatest:dd}=Ra;isObject(qa)||(qa={});const pd=sanitizeObjectKey(toArray(nd)[0]),fd=new Date(toArray(od)[0]),md=sanitizeETag(toArray(ld)[0]),vd=sanitizeSize(ud);return{name:pd,lastModified:fd,etag:md,size:vd,versionId:cd,isLatest:dd,isDeleteMarker:qa.IsDeleteMarker?qa.IsDeleteMarker:!1}};function parseListObjects(Ra){var qa={objects:[],isTruncated:!1};let nd=!1,od,ld;const ud=fxpWithoutNumParser.parse(Ra),cd=fd=>{fd&&toArray(fd).forEach(md=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(md.Prefix)[0]),size:0})})},dd=ud.ListBucketResult,pd=ud.ListVersionsResult;return dd&&(dd.IsTruncated&&(nd=dd.IsTruncated),dd.Contents&&toArray(dd.Contents).forEach(fd=>{const md=sanitizeObjectKey(toArray(fd.Key)[0]),vd=new Date(toArray(fd.LastModified)[0]),Ad=sanitizeETag(toArray(fd.ETag)[0]),Nd=sanitizeSize(fd.Size);qa.objects.push({name:md,lastModified:vd,etag:Ad,size:Nd})}),dd.NextMarker&&(od=dd.NextMarker),cd(dd.CommonPrefixes)),pd&&(pd.IsTruncated&&(nd=pd.IsTruncated),pd.Version&&toArray(pd.Version).forEach(fd=>{qa.objects.push(formatObjInfo(fd))}),pd.DeleteMarker&&toArray(pd.DeleteMarker).forEach(fd=>{qa.objects.push(formatObjInfo(fd,{IsDeleteMarker:!0}))}),pd.NextKeyMarker&&(ld=pd.NextKeyMarker),pd.NextVersionIdMarker&&(qa.versionIdMarker=pd.NextVersionIdMarker),cd(pd.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),cd=sanitizeETag(od.ETag),dd=od.Size;qa.objects.push({name:ld,lastModified:ud,etag:cd,size:dd})}),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 cd=Buffer$4.from(ud.read(1)).readUInt8(),pd=(Buffer$4.from(ud.read(cd)).toString()||"").split(":");return pd.length>=1?pd[1]:""}function nd(ud){const cd=Buffer$4.from(ud.read(2)).readUInt16BE();return Buffer$4.from(ud.read(cd)).toString()}const od=new SelectResults({}),ld=readableStream(Ra);for(;ld._readableState.length;){let ud;const cd=Buffer$4.from(ld.read(4));ud=crc32$1(cd);const dd=Buffer$4.from(ld.read(4));ud=crc32$1(dd,ud);const pd=ud.readInt32BE(),fd=Buffer$4.from(ld.read(4));ud=crc32$1(fd,ud);const md=cd.readInt32BE(),vd=dd.readInt32BE(),Ad=fd.readInt32BE();if(Ad!==pd)throw new Error(`Header Checksum Mismatch, Prelude CRC of ${Ad} does not equal expected CRC of ${pd}`);const Nd={};if(vd>0){const Fd=Buffer$4.from(ld.read(vd));ud=crc32$1(Fd,ud);const Md=readableStream(Fd);for(;Md._readableState.length;){let Ld=qa(Md);Md.read(1),Nd[Ld]=nd(Md)}}let Id;const kd=md-vd-16;if(kd>0){const Fd=Buffer$4.from(ld.read(kd));ud=crc32$1(Fd,ud);const Md=Buffer$4.from(ld.read(4)).readInt32BE(),Ld=ud.readInt32BE();if(Md!==Ld)throw new Error(`Message Checksum Mismatch, Message CRC of ${Md} does not equal expected CRC of ${Ld}`);Id=readableStream(Fd)}const jd=Nd["message-type"];switch(jd){case"error":{const Fd=Nd["error-code"]+':"'+Nd["error-message"]+'"';throw new Error(Fd)}case"event":{const Fd=Nd["content-type"];switch(Nd["event-type"]){case"End":return od.setResponse(Ra),od;case"Records":{const Ld=Id.read(kd);od.setRecords(Ld);break}case"Progress":switch(Fd){case"text/xml":{const Ld=Id.read(kd);od.setProgress(Ld.toString());break}default:{const Ld=`Unexpected content-type ${Fd} sent for event-type Progress`;throw new Error(Ld)}}break;case"Stats":switch(Fd){case"text/xml":{const Ld=Id.read(kd);od.setStats(Ld.toString());break}default:{const Ld=`Unexpected content-type ${Fd} sent for event-type Stats`;throw new Error(Ld)}}break;default:{const Ld=`Un implemented event detected ${jd}.`;console.warn(Ld)}}}}}}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,cd){od.push(ld),cd()},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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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(dd=>nd.push("events="+uriEscape(dd))),nd.sort();var ud="";nd.length>0&&(ud=`${nd.join("&")}`);const cd=this.client.region||DEFAULT_REGION;this.client.makeRequest({method:qa,bucketName:this.bucketName,query:ud},"",[200],cd,!0,(dd,pd)=>{if(dd)return this.emit("error",dd);let fd=getNotificationTransformer();pipesetup(pd,fd).on("data",md=>{let vd=md.Records;vd||(vd=[]),vd.forEach(Ad=>{this.emit("notification",Ad)}),this.ending&&pd.destroy()}).on("error",md=>this.emit("error",md)).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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:"833",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:6750",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:"12412220737",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_f518f398-2d55-436a-af9f-4e06b3953f71",INVOCATION_ID:"582ba8d971c44f1d826f1d83decfcff3",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:"469",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 11",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:"b00b940d4463857b2b1059d3cbd1e23e0e022e37",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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_932a9f55-fdb3-4983-b459-b5c36ae80304",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:2179,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,cd){super(),this.emptyStream=!0,this.client=qa,this.bucketName=nd,this.objectName=od,this.partSize=ld,this.metaData=ud,this.callback=cd,this.partNumber=1,this.oldParts=null,this.etags=[],this.id=null,this.on("error",dd=>{cd(dd)})}_transform(qa,nd,od){this.emptyStream=!1;let ld="PUT",ud={"Content-Length":qa.length},cd="";if(this.client.enableSHA256||(cd=(void 0)("md5").update(qa).digest(),ud["Content-MD5"]=cd.toString("base64")),this.partNumber==1&&qa.length<this.partSize){let md={method:ld,headers:Object.assign({},this.metaData,ud),query:"",bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(md,qa,[200],"",!0,(vd,Ad)=>{if(vd)return od(vd);let Nd={etag:sanitizeETag(Ad.headers.etag),versionId:getVersionId(Ad.headers)};Ad.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,Nd)}),od()});return}if(this.id===null){this.once("ready",()=>{this._transform(qa,nd,od)}),this.client.findUploadId(this.bucketName,this.objectName,(md,vd)=>{if(md)return this.emit("error",md);if(!vd){this.client.initiateNewMultipartUpload(this.bucketName,this.objectName,this.metaData).then(Ad=>{this.id=Ad,this.emit("ready")},Ad=>od(Ad));return}this.id=vd,this.client.listParts(this.bucketName,this.objectName,vd).then(Ad=>{Ad||(Ad=[]),this.oldParts=Ad.reduce(function(Nd,Id){return Nd[Id.part]||(Nd[Id.part]=Id),Nd},{}),this.emit("ready")},Ad=>this.emit("error",Ad))});return}let dd=this.partNumber++;if(this.oldParts){let md=this.oldParts[dd];if(cd||(cd=(void 0)("md5").update(qa).digest()),md&&cd.toString("hex")===md.etag){this.etags.push({part:dd,etag:md.etag}),od();return}}let pd=queryString.stringify({partNumber:dd,uploadId:this.id}),fd={method:ld,query:pd,headers:ud,bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(fd,qa,[200],"",!0,(md,vd)=>{if(md)return od(md);let Ad=vd.headers.etag;Ad&&(Ad=Ad.replace(/^"/,"").replace(/"$/,"")),this.etags.push({part:dd,etag:Ad}),vd.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,cd)=>{if(ud)return qa(ud);let dd={etag:sanitizeETag(cd.headers.etag),versionId:getVersionId(cd.headers)};cd.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,dd)}),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,cd)=>{if(ud)return ld(ud);od(cd)}),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 cd=[];cd.push({_attr:{xmlns:"http://s3.amazonaws.com/doc/2006-03-01/"}}),cd.push({LocationConstraint:nd});var dd={CreateBucketConfiguration:cd};ud=Xml(dd)}var pd="PUT",fd={};od.ObjectLocking&&(fd["x-amz-bucket-object-lock-enabled"]=!0),nd||(nd=DEFAULT_REGION);const md=vd=>{if(vd&&(nd===""||nd===DEFAULT_REGION))if(vd.code==="AuthorizationHeaderMalformed"&&vd.region!=="")this.makeRequest({method:pd,bucketName:qa,headers:fd},ud,[200],vd.region,!1,ld);else return ld&&ld(vd);return ld&&ld(vd)};this.makeRequest({method:pd,bucketName:qa,headers:fd},ud,[200],nd,!1,md)}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="",cd="",dd=[],pd=!1,fd=streamBrowserify.Readable({objectMode:!0});return fd._read=()=>{if(dd.length)return fd.push(dd.shift());if(pd)return fd.push(null);this.listIncompleteUploadsQuery(qa,nd,ud,cd,ld).on("error",md=>fd.emit("error",md)).on("data",md=>{md.prefixes.forEach(vd=>dd.push(vd)),index.eachSeries(md.uploads,(vd,Ad)=>{this.listParts(qa,vd.key,vd.uploadId).then(Nd=>{vd.size=Nd.reduce((Id,kd)=>Id+kd.size,0),dd.push(vd),Ad()},Ad)},vd=>{if(vd){fd.emit("error",vd);return}md.isTruncated?(ud=md.nextKeyMarker,cd=md.nextUploadIdMarker):pd=!0,fd._read()})})},fd}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,(cd,dd)=>{if(cd)return ud(cd);ld=dd,ud(null,dd)})},ud=>{var cd="DELETE",dd=`uploadId=${ld}`;this.makeRequest({method:cd,bucketName:qa,objectName:nd,query:dd},"",[204],"",!1,pd=>ud(pd))},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 cd,dd,pd,fd=md=>{if(md)return ud(md);(void 0)(cd,od,ud)};index.waterfall([md=>this.statObject(qa,nd,ld,md),(md,vd)=>{pd=md,(void 0)(pathBrowserify.dirname(od),{recursive:!0},Ad=>vd(Ad))},md=>{cd=`${od}.${pd.etag}.part.minio`,(void 0)(cd,(vd,Ad)=>{var Nd=0;if(vd)dd=(void 0)(cd,{flags:"w"});else{if(pd.size===Ad.size)return fd();Nd=Ad.size,dd=(void 0)(cd,{flags:"a"})}this.getPartialObject(qa,nd,Nd,0,ld,md)})},(md,vd)=>{pipesetup(md,dd).on("error",Ad=>vd(Ad)).on("finish",vd)},md=>(void 0)(cd,md),(md,vd)=>{if(md.size===pd.size)return vd();vd(new Error("Size mismatch between downloaded file and the object"))}],fd)}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={},cd){if(isFunction(ld)&&(cd=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)&&(cd=ud,ud={}),!isFunction(cd))throw new TypeError('callback should be of type "function"');var dd="";(od||ld)&&(od?dd=`bytes=${+od}-`:(dd="bytes=0-",od=0),ld&&(dd+=`${+ld+od-1}`));var pd={};dd!==""&&(pd.range=dd);var fd=[200];dd&&fd.push(206);var md="GET",vd=queryString.stringify(ud);this.makeRequest({method:md,bucketName:qa,objectName:nd,headers:pd,query:vd},"",fd,"",!0,cd)}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,(cd,dd)=>cd?ud(cd):this.putObject(qa,nd,(void 0)(od),dd.size,ld,ud))}putObject(qa,nd,od,ld,ud,cd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(ld)?(cd=ld,ud={}):isFunction(ud)&&(cd=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(cd))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 dd=new BlockStream2({size:ld,zeroPadding:!1}),pd=new ObjectUploader(this,qa,nd,ld,ud,cd);pipesetup(od,dd,pd)}copyObjectV1(qa,nd,od,ld,ud){var cd=qa,dd=nd,pd=od,fd,md;if(typeof ld=="function"&&ud===void 0?(fd=null,md=ld):(fd=ld,md=ud),!isValidBucketName(cd))throw new InvalidBucketNameError("Invalid bucket name: "+cd);if(!isValidObjectName(dd))throw new InvalidObjectNameError(`Invalid object name: ${dd}`);if(!isString(pd))throw new TypeError('srcObject should be of type "string"');if(pd==="")throw new InvalidPrefixError("Empty source prefix");if(fd!==null&&!(fd instanceof CopyConditions))throw new TypeError('conditions should be of type "CopyConditions"');var vd={};vd["x-amz-copy-source"]=uriResourceEscape(pd),fd!==null&&(fd.modified!==""&&(vd["x-amz-copy-source-if-modified-since"]=fd.modified),fd.unmodified!==""&&(vd["x-amz-copy-source-if-unmodified-since"]=fd.unmodified),fd.matchETag!==""&&(vd["x-amz-copy-source-if-match"]=fd.matchETag),fd.matchEtagExcept!==""&&(vd["x-amz-copy-source-if-none-match"]=fd.matchETagExcept));var Ad="PUT";this.makeRequest({method:Ad,bucketName:cd,objectName:dd,headers:vd},"",[200],"",!0,(Nd,Id)=>{if(Nd)return md(Nd);var kd=getCopyObjectTransformer();pipesetup(Id,kd).on("error",jd=>md(jd)).on("data",jd=>md(null,jd))})}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,cd=nd.Object;this.makeRequest({method:"PUT",bucketName:ud,objectName:cd,headers:ld},"",[200],"",!0,(pd,fd)=>{if(pd)return od(pd);const md=getCopyObjectTransformer();pipesetup(fd,md).on("error",vd=>od(vd)).on("data",vd=>{const Ad=fd.headers,Nd={Bucket:nd.Bucket,Key:nd.Object,LastModified:vd.LastModified,MetaData:extractMetadata(Ad),VersionId:getVersionId(Ad),SourceVersionId:getSourceVersionId(Ad),Etag:sanitizeETag(Ad.etag),Size:+Ad["content-length"]};return od(null,Nd)})})}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:cd,IncludeVersion:dd}=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(cd))throw new TypeError('MaxKeys should be of type "number"');const pd=[];pd.push(`prefix=${uriEscape(nd)}`),pd.push(`delimiter=${uriEscape(ud)}`),pd.push("encoding-type=url"),dd&&pd.push("versions"),od&&(od=uriEscape(od),dd?pd.push(`key-marker=${od}`):pd.push(`marker=${od}`)),cd&&(cd>=1e3&&(cd=1e3),pd.push(`max-keys=${cd}`)),pd.sort();var fd="";pd.length>0&&(fd=`${pd.join("&")}`);var md="GET",vd=getListObjectsTransformer();return this.makeRequest({method:md,bucketName:qa,query:fd},"",[200],"",!0,(Ad,Nd)=>{if(Ad)return vd.emit("error",Ad);pipesetup(Nd,vd)}),vd}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 cd={Delimiter:od?"":"/",MaxKeys:1e3,IncludeVersion:ld.IncludeVersion};var dd=[],pd=!1,fd=streamBrowserify.Readable({objectMode:!0});return fd._read=()=>{if(dd.length){fd.push(dd.shift());return}if(pd)return fd.push(null);this.listObjectsQuery(qa,nd,ud,cd).on("error",md=>fd.emit("error",md)).on("data",md=>{md.isTruncated?ud=md.nextMarker||md.versionIdMarker:pd=!0,dd=md.objects,fd._read()})},fd}listObjectsV2Query(qa,nd,od,ld,ud,cd){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(cd))throw new TypeError('startAfter should be of type "string"');var dd=[];dd.push("list-type=2"),dd.push("encoding-type=url"),dd.push(`prefix=${uriEscape(nd)}`),dd.push(`delimiter=${uriEscape(ld)}`),od&&(od=uriEscape(od),dd.push(`continuation-token=${od}`)),cd&&(cd=uriEscape(cd),dd.push(`start-after=${cd}`)),ud&&(ud>=1e3&&(ud=1e3),dd.push(`max-keys=${ud}`)),dd.sort();var pd="";dd.length>0&&(pd=`${dd.join("&")}`);var fd="GET",md=getListObjectsV2Transformer();return this.makeRequest({method:fd,bucketName:qa,query:pd},"",[200],"",!0,(vd,Ad)=>{if(vd)return md.emit("error",vd);pipesetup(Ad,md)}),md}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?"":"/",cd="",dd=[],pd=!1,fd=streamBrowserify.Readable({objectMode:!0});return fd._read=()=>{if(dd.length){fd.push(dd.shift());return}if(pd)return fd.push(null);this.listObjectsV2Query(qa,nd,cd,ud,1e3,ld).on("error",md=>fd.emit("error",md)).on("data",md=>{md.isTruncated?cd=md.nextContinuationToken:pd=!0,dd=md.objects,fd._read()})},fd}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",cd="POST";let dd=nd.reduce((md,vd)=>(md.list.push(vd),md.list.length===ld&&(md.listOfList.push(md.list),md.list=[]),md),{listOfList:[],list:[]});dd.list.length>0&&dd.listOfList.push(dd.list);const pd=new Encoder,fd=[];index.eachSeries(dd.listOfList,(md,vd)=>{var Ad=[];md.forEach(function(Md){isObject(Md)?Ad.push({Key:Md.name,VersionId:Md.versionId}):Ad.push({Key:Md})});let Nd={Delete:{Quiet:!0,Object:Ad}},kd=new xml2js.Builder({headless:!0}).buildObject(Nd);kd=Buffer$4.from(pd.encode(kd));const jd={};jd["Content-MD5"]=toMd5(kd);let Fd;this.makeRequest({method:cd,bucketName:qa,query:ud,headers:jd},kd,[200],"",!0,(Md,Ld)=>{if(Md)return vd(Md);pipesetup(Ld,removeObjectsTransformer()).on("data",Hd=>{Fd=Hd}).on("error",Hd=>vd(Hd,null)).on("end",()=>(fd.push(Fd),vd(null,Fd)))})},()=>{od(null,_.flatten(fd))})}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,cd)=>{if(ud)return nd(ud);let dd=Buffer$4.from("");pipesetup(cd,getConcater()).on("data",pd=>dd=pd).on("error",nd).on("end",()=>{nd(null,dd.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,cd,dd){if(this.anonymous)throw new AnonymousRequestError("Presigned "+qa+" url cannot be generated for anonymous requests");if(isFunction(cd)&&(dd=cd,cd=new Date),isFunction(ud)&&(dd=ud,ud={},cd=new Date),isFunction(ld)&&(dd=ld,ud={},ld=24*60*60*7,cd=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(cd))throw new TypeError('requestDate should be of type "Date" and valid');if(!isFunction(dd))throw new TypeError('callback should be of type "function"');var pd=queryString.stringify(ud);this.getBucketRegion(nd,(fd,md)=>{if(fd)return dd(fd);var vd,Ad=this.getRequestOptions({method:qa,region:md,bucketName:nd,objectName:od,query:pd});this.checkAndRefreshCreds();try{vd=presignSignatureV4(Ad,this.accessKey,this.secretKey,this.sessionToken,md,cd,ld)}catch(Nd){return dd(Nd)}dd(null,vd)})}presignedGetObject(qa,nd,od,ld,ud,cd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);isFunction(ld)&&(cd=ld,ld={},ud=new Date);var dd=["response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding"];return dd.forEach(pd=>{if(ld!==void 0&&ld[pd]!==void 0&&!isString(ld[pd]))throw new TypeError(`response header ${pd} should be of type "string"`)}),this.presignedUrl("GET",qa,nd,od,ld,ud,cd)}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,cd=makeDateLong(ud);if(this.checkAndRefreshCreds(),!qa.policy.expiration){var dd=new Date;dd.setSeconds(24*60*60*7),qa.setExpires(dd)}qa.policy.conditions.push(["eq","$x-amz-date",cd]),qa.formData["x-amz-date"]=cd,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 pd=Buffer$4.from(JSON.stringify(qa.policy)).toString("base64");qa.formData.policy=pd;var fd=postPresignSignatureV4(ld,ud,this.secretKey,pd);qa.formData["x-amz-signature"]=fd;var md={};md.region=ld,md.bucketName=qa.formData.bucket;var vd=this.getRequestOptions(md),Ad=this.port==80||this.port===443?"":`:${this.port.toString()}`,Nd=`${vd.protocol}//${vd.host}${Ad}${vd.path}`;nd(null,{postURL:Nd,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 cd="POST",dd=`uploadId=${uriEscape(od)}`,pd=[];ld.forEach(vd=>{pd.push({Part:[{PartNumber:vd.part},{ETag:vd.etag}]})});var fd={CompleteMultipartUpload:pd},md=Xml(fd);this.makeRequest({method:cd,bucketName:qa,objectName:nd,query:dd},md,[200],"",!0,(vd,Ad)=>{if(vd)return ud(vd);var Nd=getCompleteMultipartTransformer();pipesetup(Ad,Nd).on("error",Id=>ud(Id)).on("data",Id=>{if(Id.errCode)ud(new S3Error(Id.errMessage));else{const kd={etag:Id.etag,versionId:getVersionId(Ad.headers)};ud(null,kd)}})})}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 cd=[];cd.push(`prefix=${uriEscape(nd)}`),cd.push(`delimiter=${uriEscape(ud)}`),od&&(od=uriEscape(od),cd.push(`key-marker=${od}`)),ld&&cd.push(`upload-id-marker=${ld}`);var dd=1e3;cd.push(`max-uploads=${dd}`),cd.sort(),cd.unshift("uploads");var pd="";cd.length>0&&(pd=`${cd.join("&")}`);var fd="GET",md=getListMultipartTransformer();return this.makeRequest({method:fd,bucketName:qa,query:pd},"",[200],"",!0,(vd,Ad)=>{if(vd)return md.emit("error",vd);pipesetup(Ad,md)}),md}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=(cd,dd)=>{this.listIncompleteUploadsQuery(qa,nd,cd,dd,"").on("error",pd=>od(pd)).on("data",pd=>{if(pd.uploads.forEach(fd=>{if(fd.key===nd&&(!ld||fd.initiated.getTime()>ld.initiated.getTime())){ld=fd;return}}),pd.isTruncated){ud(pd.nextKeyMarker,pd.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",cd=new xml2js.Builder({rootName:"NotificationConfiguration",renderOpts:{pretty:!1},headless:!0}),dd=cd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},dd,[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,cd)=>{if(ud)return nd(ud);var dd=getBucketNotificationTransformer(),pd;pipesetup(cd,dd).on("data",fd=>pd=fd).on("error",fd=>nd(fd)).on("end",()=>nd(null,pd))})}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,cd)=>{if(ud)return nd(ud);let dd=Buffer$4.from("");pipesetup(cd,bucketVersioningTransformer()).on("data",pd=>{dd=pd}).on("error",nd).on("end",()=>{nd(null,dd)})})}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",cd=new xml2js.Builder({rootName:"VersioningConfiguration",renderOpts:{pretty:!1},headless:!0}),dd=cd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},dd,[200],"",!1,od)}setTagging(qa){const{bucketName:nd,objectName:od,tags:ld,putOpts:ud={},cb:cd}=qa,dd="PUT";let pd="tagging";ud&&ud.versionId&&(pd=`${pd}&versionId=${ud.versionId}`);const fd=[];for(const[jd,Fd]of Object.entries(ld))fd.push({Key:jd,Value:Fd});const md={Tagging:{TagSet:{Tag:fd}}},vd=new Encoder,Ad={};let Id=new xml2js.Builder({headless:!0,renderOpts:{pretty:!1}}).buildObject(md);Id=Buffer$4.from(vd.encode(Id)),Ad["Content-MD5"]=toMd5(Id);const kd={method:dd,bucketName:nd,query:pd,headers:Ad};od&&(kd.objectName=od),Ad["Content-MD5"]=toMd5(Id),this.makeRequest(kd,Id,[200],"",!1,cd)}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 cd="tagging";od&&Object.keys(od).length&&od.versionId&&(cd=`${cd}&versionId=${od.versionId}`);const dd={method:ud,bucketName:qa,objectName:nd,query:cd};nd&&(dd.objectName=nd),this.makeRequest(dd,"",[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,(cd,dd)=>{var pd=getTagsTransformer();if(cd)return nd(cd);let fd;pipesetup(dd,pd).on("data",md=>fd=md).on("error",md=>nd(md)).on("end",()=>nd(null,fd))})}getObjectTagging(qa,nd,od={},ld=()=>!1){const ud="GET";let cd="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&&(cd=`${cd}&versionId=${od.versionId}`);const dd={method:ud,bucketName:qa,query:cd};nd&&(dd.objectName=nd),this.makeRequest(dd,"",[200],"",!0,(pd,fd)=>{const md=getTagsTransformer();if(pd)return ld(pd);let vd;pipesetup(fd,md).on("data",Ad=>vd=Ad).on("error",Ad=>ld(Ad)).on("end",()=>ld(null,vd))})}applyBucketLifecycle(qa,nd,od){const ld="PUT",ud="lifecycle",cd=new Encoder,dd={};let fd=new xml2js.Builder({rootName:"LifecycleConfiguration",headless:!0,renderOpts:{pretty:!1}}).buildObject(nd);fd=Buffer$4.from(cd.encode(fd));const md={method:ld,bucketName:qa,query:ud,headers:dd};dd["Content-MD5"]=toMd5(fd),this.makeRequest(md,fd,[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,(cd,dd)=>{const pd=lifecycleTransformer();if(cd)return nd(cd);let fd;pipesetup(dd,pd).on("data",md=>fd=md).on("error",md=>nd(md)).on("end",()=>nd(null,fd))})}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 cd="PUT",dd="object-lock";let pd={ObjectLockEnabled:"Enabled"};const fd=Object.keys(nd);if(fd.length>0){if(_.difference(fd,["unit","mode","validity"]).length!==0)throw new TypeError("lockConfigOpts.mode,lockConfigOpts.unit,lockConfigOpts.validity all the properties should be specified.");pd.Rule={DefaultRetention:{}},nd.mode&&(pd.Rule.DefaultRetention.Mode=nd.mode),nd.unit===RETENTION_VALIDITY_UNITS.DAYS?pd.Rule.DefaultRetention.Days=nd.validity:nd.unit===RETENTION_VALIDITY_UNITS.YEARS&&(pd.Rule.DefaultRetention.Years=nd.validity)}const vd=new xml2js.Builder({rootName:"ObjectLockConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(pd),Ad={};Ad["Content-MD5"]=toMd5(vd),this.makeRequest({method:cd,bucketName:qa,query:dd,headers:Ad},vd,[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,cd)=>{if(ud)return nd(ud);let dd=Buffer$4.from("");pipesetup(cd,objectLockTransformer()).on("data",pd=>{dd=pd}).on("error",nd).on("end",()=>{nd(null,dd)})})}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 cd="retention";const dd={};od.governanceBypass&&(dd["X-Amz-Bypass-Governance-Retention"]=!0);const pd=new xml2js.Builder({rootName:"Retention",renderOpts:{pretty:!1},headless:!0}),fd={};od.mode&&(fd.Mode=od.mode),od.retainUntilDate&&(fd.RetainUntilDate=od.retainUntilDate),od.versionId&&(cd+=`&versionId=${od.versionId}`);let md=pd.buildObject(fd);dd["Content-MD5"]=toMd5(md),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:cd,headers:dd},md,[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 cd="retention";od.versionId&&(cd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:cd},"",[200],"",!0,(dd,pd)=>{if(dd)return ld(dd);let fd=Buffer$4.from("");pipesetup(pd,objectRetentionTransformer()).on("data",md=>{fd=md}).on("error",ld).on("end",()=>{ld(null,fd)})})}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",cd="encryption",pd=new xml2js.Builder({rootName:"ServerSideEncryptionConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(ld);const fd={};fd["Content-MD5"]=toMd5(pd),this.makeRequest({method:ud,bucketName:qa,query:cd,headers:fd},pd,[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,cd)=>{if(ud)return nd(ud);let dd=Buffer$4.from("");pipesetup(cd,bucketEncryptionTransformer()).on("data",pd=>{dd=pd}).on("error",nd).on("end",()=>{nd(null,dd)})})}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 cd="legal-hold";od.versionId&&(cd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:cd},"",[200],"",!0,(dd,pd)=>{if(dd)return ld(dd);let fd=Buffer$4.from("");pipesetup(pd,objectLegalHoldTransformer()).on("data",md=>{fd=md}).on("error",ld).on("end",()=>{ld(null,fd)})})}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 cd="PUT";let dd="legal-hold";od.versionId&&(dd+=`&versionId=${od.versionId}`);let pd={Status:od.status};const md=new xml2js.Builder({rootName:"LegalHold",renderOpts:{pretty:!1},headless:!0}).buildObject(pd),vd={};vd["Content-MD5"]=toMd5(md),this.makeRequest({method:cd,bucketName:qa,objectName:nd,query:dd,headers:vd},md,[200],"",!1,ld)}uploadPartCopy(qa,nd){const{bucketName:od,objectName:ld,uploadID:ud,partNumber:cd,headers:dd}=qa,pd="PUT";let fd=`uploadId=${ud}&partNumber=${cd}`;const md={method:pd,bucketName:od,objectName:ld,query:fd,headers:dd};return this.makeRequest(md,"",[200],"",!0,(vd,Ad)=>{let Nd=Buffer$4.from("");if(vd)return nd(vd);pipesetup(Ad,uploadPartTransformer()).on("data",Id=>{Nd=Id}).on("error",nd).on("end",()=>{let Id={etag:sanitizeETag(Nd.ETag),key:ld,part:cd};nd(null,Id)})})}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 vd=0;vd<ud;vd++)if(!nd[vd].validate())return!1;if(!qa.validate())return!1;const cd=vd=>{let Ad={};return _.isEmpty(vd.VersionID)||(Ad={versionId:vd.VersionID}),Ad},dd=[];let pd=0,fd=0;const md=nd.map(vd=>ld.statObject(vd.Bucket,vd.Object,cd(vd)));return Promise.all(md).then(vd=>{const Ad=vd.map((Fd,Md)=>{const Ld=nd[Md];let Hd=Fd.size;if(Ld.MatchRange){const Gd=Ld.Start,Vd=Ld.End;if(Vd>=Hd||Gd<0)throw new InvalidArgumentError(`CopySrcOptions ${Md} has invalid segment-to-copy [${Gd}, ${Vd}] (size is ${Hd})`);Hd=Vd-Gd+1}if(Hd<PART_CONSTRAINTS.ABS_MIN_PART_SIZE&&Md<ud-1)throw new InvalidArgumentError(`CopySrcOptions ${Md} is too small (${Hd}) and it is not the last part.`);if(pd+=Hd,pd>PART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE)throw new InvalidArgumentError(`Cannot compose an object of size ${pd} (> 5TiB)`);if(dd[Md]=Hd,fd+=partsRequired(Hd),fd>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`Your proposed compose object requires more than ${PART_CONSTRAINTS.MAX_PARTS_COUNT} parts`);return Fd});if(fd===1&&pd<=PART_CONSTRAINTS.MAX_PART_SIZE||pd===0)return this.copyObject(nd[0],qa,od);for(let Fd=0;Fd<ud;Fd++)nd[Fd].MatchETag=Ad[Fd].etag;const Nd=Ad.map((Fd,Md)=>calculateEvenSplits(dd[Md],nd[Md]));function Id(Fd){const Md=[];return Nd.forEach((Ld,Hd)=>{const{startIndex:Gd,endIndex:Vd,objInfo:Kd}=Ld;let mf=Hd+1;const Wd=Array.from(Gd),Zd=nd[Hd].getHeaders();Wd.forEach((Xd,bf)=>{let yf=Vd[bf];const Ef=`${Kd.Bucket}/${Kd.Object}`;Zd["x-amz-copy-source"]=`${Ef}`,Zd["x-amz-copy-source-range"]=`bytes=${Xd}-${yf}`;const gf={bucketName:qa.Bucket,objectName:qa.Object,uploadID:Fd,partNumber:mf,headers:Zd,sourceObj:Ef};Md.push(gf)})}),Md}const kd=Fd=>{const Md=Id(Fd);index.map(Md,ld.uploadPartCopy.bind(ld),(Ld,Hd)=>{if(Ld){this.abortMultipartUpload(qa.Bucket,qa.Object,Fd).then(()=>od(),Vd=>od(Vd));return}const Gd=Hd.map(Vd=>({etag:Vd.etag,part:Vd.part}));return ld.completeMultipartUpload(qa.Bucket,qa.Object,Fd,Gd,od)})},jd=qa.getHeaders();ld.initiateNewMultipartUpload(qa.Bucket,qa.Object,jd).then(Fd=>{kd(Fd)},Fd=>{od(Fd,null)})}).catch(vd=>{od(vd,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 cd="select";cd+="&select-type=2";const dd=[{Expression:od.expression},{ExpressionType:od.expressionType||"SQL"},{InputSerialization:[od.inputSerialization]},{OutputSerialization:[od.outputSerialization]}];od.requestProgress&&dd.push({RequestProgress:od.requestProgress}),od.scanRange&&dd.push({ScanRange:od.scanRange});const fd=new xml2js.Builder({rootName:"SelectObjectContentRequest",renderOpts:{pretty:!1},headless:!0}).buildObject(dd);this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:cd},fd,[200],"",!0,(md,vd)=>{if(md)return ld(md);let Ad;pipesetup(vd,selectObjectContentTransformer()).on("data",Nd=>{Ad=parseSelectObjectContentResponse(Nd)}).on("error",ld).on("end",()=>{ld(null,Ad)})})}}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 cd=Ra.call(this,QiniuErrorName.RequestError,ld)||this;return cd.code=nd,cd.reqId=od,cd.isRequestError=!0,cd.data=ud,cd}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 cd=0;cd<ud;cd++){var dd=qa.charCodeAt(cd),pd=null;if(dd<128)ld++;else if(dd>127&&dd<2048)pd=String.fromCharCode(dd>>6|192,dd&63|128);else if((dd&63488^55296)>0)pd=String.fromCharCode(dd>>12|224,dd>>6&63|128,dd&63|128);else{if((dd&64512^55296)>0)throw new RangeError("Unmatched trail surrogate at "+cd);var fd=qa.charCodeAt(++cd);if((fd&64512^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(cd-1));dd=((dd&1023)<<10)+(fd&1023)+65536,pd=String.fromCharCode(dd>>18|240,dd>>12&63|128,dd>>6&63|128,dd&63|128)}pd!==null&&(ld>od&&(nd+=qa.slice(od,ld)),nd+=pd,od=ld=cd+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,cd,dd,pd,fd,md=0,vd=0,Ad="",Nd=[];if(!Ra)return Ra;Ra=utf8Encode(Ra+"");do nd=Ra.charCodeAt(md++),od=Ra.charCodeAt(md++),ld=Ra.charCodeAt(md++),fd=nd<<16|od<<8|ld,ud=fd>>18&63,cd=fd>>12&63,dd=fd>>6&63,pd=fd&63,Nd[vd++]=qa.charAt(ud)+qa.charAt(cd)+qa.charAt(dd)+qa.charAt(pd);while(md<Ra.length);switch(Ad=Nd.join(""),Ra.length%3){case 1:Ad=Ad.slice(0,-2)+"==";break;case 2:Ad=Ad.slice(0,-1)+"=";break}return Ad}function base64Decode(Ra){var qa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",nd,od,ld,ud,cd,dd,pd,fd,md=0,vd=0,Ad="",Nd=[];if(!Ra)return Ra;Ra+="";do ud=qa.indexOf(Ra.charAt(md++)),cd=qa.indexOf(Ra.charAt(md++)),dd=qa.indexOf(Ra.charAt(md++)),pd=qa.indexOf(Ra.charAt(md++)),fd=ud<<18|cd<<12|dd<<6|pd,nd=fd>>16&255,od=fd>>8&255,ld=fd&255,dd===64?Nd[vd++]=String.fromCharCode(nd):pd===64?Nd[vd++]=String.fromCharCode(nd,od):Nd[vd++]=String.fromCharCode(nd,od,ld);while(md<Ra.length);return Ad=Nd.join(""),utf8Decode(Ad)}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(Fd,Md){var Ld=Fd[0],Hd=Fd[1],Gd=Fd[2],Vd=Fd[3];Ld+=(Hd&Gd|~Hd&Vd)+Md[0]-680876936|0,Ld=(Ld<<7|Ld>>>25)+Hd|0,Vd+=(Ld&Hd|~Ld&Gd)+Md[1]-389564586|0,Vd=(Vd<<12|Vd>>>20)+Ld|0,Gd+=(Vd&Ld|~Vd&Hd)+Md[2]+606105819|0,Gd=(Gd<<17|Gd>>>15)+Vd|0,Hd+=(Gd&Vd|~Gd&Ld)+Md[3]-1044525330|0,Hd=(Hd<<22|Hd>>>10)+Gd|0,Ld+=(Hd&Gd|~Hd&Vd)+Md[4]-176418897|0,Ld=(Ld<<7|Ld>>>25)+Hd|0,Vd+=(Ld&Hd|~Ld&Gd)+Md[5]+1200080426|0,Vd=(Vd<<12|Vd>>>20)+Ld|0,Gd+=(Vd&Ld|~Vd&Hd)+Md[6]-1473231341|0,Gd=(Gd<<17|Gd>>>15)+Vd|0,Hd+=(Gd&Vd|~Gd&Ld)+Md[7]-45705983|0,Hd=(Hd<<22|Hd>>>10)+Gd|0,Ld+=(Hd&Gd|~Hd&Vd)+Md[8]+1770035416|0,Ld=(Ld<<7|Ld>>>25)+Hd|0,Vd+=(Ld&Hd|~Ld&Gd)+Md[9]-1958414417|0,Vd=(Vd<<12|Vd>>>20)+Ld|0,Gd+=(Vd&Ld|~Vd&Hd)+Md[10]-42063|0,Gd=(Gd<<17|Gd>>>15)+Vd|0,Hd+=(Gd&Vd|~Gd&Ld)+Md[11]-1990404162|0,Hd=(Hd<<22|Hd>>>10)+Gd|0,Ld+=(Hd&Gd|~Hd&Vd)+Md[12]+1804603682|0,Ld=(Ld<<7|Ld>>>25)+Hd|0,Vd+=(Ld&Hd|~Ld&Gd)+Md[13]-40341101|0,Vd=(Vd<<12|Vd>>>20)+Ld|0,Gd+=(Vd&Ld|~Vd&Hd)+Md[14]-1502002290|0,Gd=(Gd<<17|Gd>>>15)+Vd|0,Hd+=(Gd&Vd|~Gd&Ld)+Md[15]+1236535329|0,Hd=(Hd<<22|Hd>>>10)+Gd|0,Ld+=(Hd&Vd|Gd&~Vd)+Md[1]-165796510|0,Ld=(Ld<<5|Ld>>>27)+Hd|0,Vd+=(Ld&Gd|Hd&~Gd)+Md[6]-1069501632|0,Vd=(Vd<<9|Vd>>>23)+Ld|0,Gd+=(Vd&Hd|Ld&~Hd)+Md[11]+643717713|0,Gd=(Gd<<14|Gd>>>18)+Vd|0,Hd+=(Gd&Ld|Vd&~Ld)+Md[0]-373897302|0,Hd=(Hd<<20|Hd>>>12)+Gd|0,Ld+=(Hd&Vd|Gd&~Vd)+Md[5]-701558691|0,Ld=(Ld<<5|Ld>>>27)+Hd|0,Vd+=(Ld&Gd|Hd&~Gd)+Md[10]+38016083|0,Vd=(Vd<<9|Vd>>>23)+Ld|0,Gd+=(Vd&Hd|Ld&~Hd)+Md[15]-660478335|0,Gd=(Gd<<14|Gd>>>18)+Vd|0,Hd+=(Gd&Ld|Vd&~Ld)+Md[4]-405537848|0,Hd=(Hd<<20|Hd>>>12)+Gd|0,Ld+=(Hd&Vd|Gd&~Vd)+Md[9]+568446438|0,Ld=(Ld<<5|Ld>>>27)+Hd|0,Vd+=(Ld&Gd|Hd&~Gd)+Md[14]-1019803690|0,Vd=(Vd<<9|Vd>>>23)+Ld|0,Gd+=(Vd&Hd|Ld&~Hd)+Md[3]-187363961|0,Gd=(Gd<<14|Gd>>>18)+Vd|0,Hd+=(Gd&Ld|Vd&~Ld)+Md[8]+1163531501|0,Hd=(Hd<<20|Hd>>>12)+Gd|0,Ld+=(Hd&Vd|Gd&~Vd)+Md[13]-1444681467|0,Ld=(Ld<<5|Ld>>>27)+Hd|0,Vd+=(Ld&Gd|Hd&~Gd)+Md[2]-51403784|0,Vd=(Vd<<9|Vd>>>23)+Ld|0,Gd+=(Vd&Hd|Ld&~Hd)+Md[7]+1735328473|0,Gd=(Gd<<14|Gd>>>18)+Vd|0,Hd+=(Gd&Ld|Vd&~Ld)+Md[12]-1926607734|0,Hd=(Hd<<20|Hd>>>12)+Gd|0,Ld+=(Hd^Gd^Vd)+Md[5]-378558|0,Ld=(Ld<<4|Ld>>>28)+Hd|0,Vd+=(Ld^Hd^Gd)+Md[8]-2022574463|0,Vd=(Vd<<11|Vd>>>21)+Ld|0,Gd+=(Vd^Ld^Hd)+Md[11]+1839030562|0,Gd=(Gd<<16|Gd>>>16)+Vd|0,Hd+=(Gd^Vd^Ld)+Md[14]-35309556|0,Hd=(Hd<<23|Hd>>>9)+Gd|0,Ld+=(Hd^Gd^Vd)+Md[1]-1530992060|0,Ld=(Ld<<4|Ld>>>28)+Hd|0,Vd+=(Ld^Hd^Gd)+Md[4]+1272893353|0,Vd=(Vd<<11|Vd>>>21)+Ld|0,Gd+=(Vd^Ld^Hd)+Md[7]-155497632|0,Gd=(Gd<<16|Gd>>>16)+Vd|0,Hd+=(Gd^Vd^Ld)+Md[10]-1094730640|0,Hd=(Hd<<23|Hd>>>9)+Gd|0,Ld+=(Hd^Gd^Vd)+Md[13]+681279174|0,Ld=(Ld<<4|Ld>>>28)+Hd|0,Vd+=(Ld^Hd^Gd)+Md[0]-358537222|0,Vd=(Vd<<11|Vd>>>21)+Ld|0,Gd+=(Vd^Ld^Hd)+Md[3]-722521979|0,Gd=(Gd<<16|Gd>>>16)+Vd|0,Hd+=(Gd^Vd^Ld)+Md[6]+76029189|0,Hd=(Hd<<23|Hd>>>9)+Gd|0,Ld+=(Hd^Gd^Vd)+Md[9]-640364487|0,Ld=(Ld<<4|Ld>>>28)+Hd|0,Vd+=(Ld^Hd^Gd)+Md[12]-421815835|0,Vd=(Vd<<11|Vd>>>21)+Ld|0,Gd+=(Vd^Ld^Hd)+Md[15]+530742520|0,Gd=(Gd<<16|Gd>>>16)+Vd|0,Hd+=(Gd^Vd^Ld)+Md[2]-995338651|0,Hd=(Hd<<23|Hd>>>9)+Gd|0,Ld+=(Gd^(Hd|~Vd))+Md[0]-198630844|0,Ld=(Ld<<6|Ld>>>26)+Hd|0,Vd+=(Hd^(Ld|~Gd))+Md[7]+1126891415|0,Vd=(Vd<<10|Vd>>>22)+Ld|0,Gd+=(Ld^(Vd|~Hd))+Md[14]-1416354905|0,Gd=(Gd<<15|Gd>>>17)+Vd|0,Hd+=(Vd^(Gd|~Ld))+Md[5]-57434055|0,Hd=(Hd<<21|Hd>>>11)+Gd|0,Ld+=(Gd^(Hd|~Vd))+Md[12]+1700485571|0,Ld=(Ld<<6|Ld>>>26)+Hd|0,Vd+=(Hd^(Ld|~Gd))+Md[3]-1894986606|0,Vd=(Vd<<10|Vd>>>22)+Ld|0,Gd+=(Ld^(Vd|~Hd))+Md[10]-1051523|0,Gd=(Gd<<15|Gd>>>17)+Vd|0,Hd+=(Vd^(Gd|~Ld))+Md[1]-2054922799|0,Hd=(Hd<<21|Hd>>>11)+Gd|0,Ld+=(Gd^(Hd|~Vd))+Md[8]+1873313359|0,Ld=(Ld<<6|Ld>>>26)+Hd|0,Vd+=(Hd^(Ld|~Gd))+Md[15]-30611744|0,Vd=(Vd<<10|Vd>>>22)+Ld|0,Gd+=(Ld^(Vd|~Hd))+Md[6]-1560198380|0,Gd=(Gd<<15|Gd>>>17)+Vd|0,Hd+=(Vd^(Gd|~Ld))+Md[13]+1309151649|0,Hd=(Hd<<21|Hd>>>11)+Gd|0,Ld+=(Gd^(Hd|~Vd))+Md[4]-145523070|0,Ld=(Ld<<6|Ld>>>26)+Hd|0,Vd+=(Hd^(Ld|~Gd))+Md[11]-1120210379|0,Vd=(Vd<<10|Vd>>>22)+Ld|0,Gd+=(Ld^(Vd|~Hd))+Md[2]+718787259|0,Gd=(Gd<<15|Gd>>>17)+Vd|0,Hd+=(Vd^(Gd|~Ld))+Md[9]-343485551|0,Hd=(Hd<<21|Hd>>>11)+Gd|0,Fd[0]=Ld+Fd[0]|0,Fd[1]=Hd+Fd[1]|0,Fd[2]=Gd+Fd[2]|0,Fd[3]=Vd+Fd[3]|0}function ud(Fd){var Md=[],Ld;for(Ld=0;Ld<64;Ld+=4)Md[Ld>>2]=Fd.charCodeAt(Ld)+(Fd.charCodeAt(Ld+1)<<8)+(Fd.charCodeAt(Ld+2)<<16)+(Fd.charCodeAt(Ld+3)<<24);return Md}function cd(Fd){var Md=[],Ld;for(Ld=0;Ld<64;Ld+=4)Md[Ld>>2]=Fd[Ld]+(Fd[Ld+1]<<8)+(Fd[Ld+2]<<16)+(Fd[Ld+3]<<24);return Md}function dd(Fd){var Md=Fd.length,Ld=[1732584193,-271733879,-1732584194,271733878],Hd,Gd,Vd,Kd,mf,Wd;for(Hd=64;Hd<=Md;Hd+=64)ld(Ld,ud(Fd.substring(Hd-64,Hd)));for(Fd=Fd.substring(Hd-64),Gd=Fd.length,Vd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Hd=0;Hd<Gd;Hd+=1)Vd[Hd>>2]|=Fd.charCodeAt(Hd)<<(Hd%4<<3);if(Vd[Hd>>2]|=128<<(Hd%4<<3),Hd>55)for(ld(Ld,Vd),Hd=0;Hd<16;Hd+=1)Vd[Hd]=0;return Kd=Md*8,Kd=Kd.toString(16).match(/(.*?)(.{0,8})$/),mf=parseInt(Kd[2],16),Wd=parseInt(Kd[1],16)||0,Vd[14]=mf,Vd[15]=Wd,ld(Ld,Vd),Ld}function pd(Fd){var Md=Fd.length,Ld=[1732584193,-271733879,-1732584194,271733878],Hd,Gd,Vd,Kd,mf,Wd;for(Hd=64;Hd<=Md;Hd+=64)ld(Ld,cd(Fd.subarray(Hd-64,Hd)));for(Fd=Hd-64<Md?Fd.subarray(Hd-64):new Uint8Array(0),Gd=Fd.length,Vd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Hd=0;Hd<Gd;Hd+=1)Vd[Hd>>2]|=Fd[Hd]<<(Hd%4<<3);if(Vd[Hd>>2]|=128<<(Hd%4<<3),Hd>55)for(ld(Ld,Vd),Hd=0;Hd<16;Hd+=1)Vd[Hd]=0;return Kd=Md*8,Kd=Kd.toString(16).match(/(.*?)(.{0,8})$/),mf=parseInt(Kd[2],16),Wd=parseInt(Kd[1],16)||0,Vd[14]=mf,Vd[15]=Wd,ld(Ld,Vd),Ld}function fd(Fd){var Md="",Ld;for(Ld=0;Ld<4;Ld+=1)Md+=od[Fd>>Ld*8+4&15]+od[Fd>>Ld*8&15];return Md}function md(Fd){var Md;for(Md=0;Md<Fd.length;Md+=1)Fd[Md]=fd(Fd[Md]);return Fd.join("")}md(dd("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function Fd(Md,Ld){return Md=Md|0||0,Md<0?Math.max(Md+Ld,0):Math.min(Md,Ld)}ArrayBuffer.prototype.slice=function(Md,Ld){var Hd=this.byteLength,Gd=Fd(Md,Hd),Vd=Hd,Kd,mf,Wd,Zd;return Ld!==nd&&(Vd=Fd(Ld,Hd)),Gd>Vd?new ArrayBuffer(0):(Kd=Vd-Gd,mf=new ArrayBuffer(Kd),Wd=new Uint8Array(mf),Zd=new Uint8Array(this,Gd,Kd),Wd.set(Zd),mf)}}();function vd(Fd){return/[\u0080-\uFFFF]/.test(Fd)&&(Fd=unescape(encodeURIComponent(Fd))),Fd}function Ad(Fd,Md){var Ld=Fd.length,Hd=new ArrayBuffer(Ld),Gd=new Uint8Array(Hd),Vd;for(Vd=0;Vd<Ld;Vd+=1)Gd[Vd]=Fd.charCodeAt(Vd);return Md?Gd:Hd}function Nd(Fd){return String.fromCharCode.apply(null,new Uint8Array(Fd))}function Id(Fd,Md,Ld){var Hd=new Uint8Array(Fd.byteLength+Md.byteLength);return Hd.set(new Uint8Array(Fd)),Hd.set(new Uint8Array(Md),Fd.byteLength),Hd}function kd(Fd){var Md=[],Ld=Fd.length,Hd;for(Hd=0;Hd<Ld-1;Hd+=2)Md.push(parseInt(Fd.substr(Hd,2),16));return String.fromCharCode.apply(String,Md)}function jd(){this.reset()}return jd.prototype.append=function(Fd){return this.appendBinary(vd(Fd)),this},jd.prototype.appendBinary=function(Fd){this._buff+=Fd,this._length+=Fd.length;var Md=this._buff.length,Ld;for(Ld=64;Ld<=Md;Ld+=64)ld(this._hash,ud(this._buff.substring(Ld-64,Ld)));return this._buff=this._buff.substring(Ld-64),this},jd.prototype.end=function(Fd){var Md=this._buff,Ld=Md.length,Hd,Gd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Vd;for(Hd=0;Hd<Ld;Hd+=1)Gd[Hd>>2]|=Md.charCodeAt(Hd)<<(Hd%4<<3);return this._finish(Gd,Ld),Vd=md(this._hash),Fd&&(Vd=kd(Vd)),this.reset(),Vd},jd.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},jd.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},jd.prototype.setState=function(Fd){return this._buff=Fd.buff,this._length=Fd.length,this._hash=Fd.hash,this},jd.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},jd.prototype._finish=function(Fd,Md){var Ld=Md,Hd,Gd,Vd;if(Fd[Ld>>2]|=128<<(Ld%4<<3),Ld>55)for(ld(this._hash,Fd),Ld=0;Ld<16;Ld+=1)Fd[Ld]=0;Hd=this._length*8,Hd=Hd.toString(16).match(/(.*?)(.{0,8})$/),Gd=parseInt(Hd[2],16),Vd=parseInt(Hd[1],16)||0,Fd[14]=Gd,Fd[15]=Vd,ld(this._hash,Fd)},jd.hash=function(Fd,Md){return jd.hashBinary(vd(Fd),Md)},jd.hashBinary=function(Fd,Md){var Ld=dd(Fd),Hd=md(Ld);return Md?kd(Hd):Hd},jd.ArrayBuffer=function(){this.reset()},jd.ArrayBuffer.prototype.append=function(Fd){var Md=Id(this._buff.buffer,Fd),Ld=Md.length,Hd;for(this._length+=Fd.byteLength,Hd=64;Hd<=Ld;Hd+=64)ld(this._hash,cd(Md.subarray(Hd-64,Hd)));return this._buff=Hd-64<Ld?new Uint8Array(Md.buffer.slice(Hd-64)):new Uint8Array(0),this},jd.ArrayBuffer.prototype.end=function(Fd){var Md=this._buff,Ld=Md.length,Hd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Gd,Vd;for(Gd=0;Gd<Ld;Gd+=1)Hd[Gd>>2]|=Md[Gd]<<(Gd%4<<3);return this._finish(Hd,Ld),Vd=md(this._hash),Fd&&(Vd=kd(Vd)),this.reset(),Vd},jd.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},jd.ArrayBuffer.prototype.getState=function(){var Fd=jd.prototype.getState.call(this);return Fd.buff=Nd(Fd.buff),Fd},jd.ArrayBuffer.prototype.setState=function(Fd){return Fd.buff=Ad(Fd.buff,!0),jd.prototype.setState.call(this,Fd)},jd.ArrayBuffer.prototype.destroy=jd.prototype.destroy,jd.ArrayBuffer.prototype._finish=jd.prototype._finish,jd.ArrayBuffer.hash=function(Fd,Md){var Ld=pd(new Uint8Array(Fd)),Hd=md(Ld);return Md?kd(Hd):Hd},jd})})(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(cd){cd(ud)})}return new(nd||(nd=Promise))(function(ud,cd){function dd(md){try{fd(od.next(md))}catch(vd){cd(vd)}}function pd(md){try{fd(od.throw(md))}catch(vd){cd(vd)}}function fd(md){md.done?ud(md.value):ld(md.value).then(dd,pd)}fd((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,cd;return cd={next:dd(0),throw:dd(1),return:dd(2)},typeof Symbol=="function"&&(cd[Symbol.iterator]=function(){return this}),cd;function dd(fd){return function(md){return pd([fd,md])}}function pd(fd){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=fd[0]&2?ld.return:fd[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,fd[1])).done)return ud;switch(ld=0,ud&&(fd=[fd[0]&2,ud.value]),fd[0]){case 0:case 1:ud=fd;break;case 4:return nd.label++,{value:fd[1],done:!1};case 5:nd.label++,ld=fd[1],fd=[0];continue;case 7:fd=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]<ud[3])){nd.label=fd[1];break}if(fd[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=fd;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(fd);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}fd=qa.call(Ra,nd)}catch(md){fd=[6,md],ld=0}finally{od=ud=0}if(fd[0]&5)throw fd[1];return{value:fd[0]?fd[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 cd=Ra.slice(nd*ud,ud===ld-1?Ra.size:nd*(ud+1));od.push(cd)}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(cd){ld.setRequestHeader(cd,ud[cd])})}ld.upload.addEventListener("progress",function(cd){cd.lengthComputable&&qa.onProgress&&qa.onProgress({loaded:cd.loaded,total:cd.total})}),ld.onreadystatechange=function(){var cd=ld.responseText;if(ld.readyState===4){var dd=ld.getResponseHeader("x-reqId")||"";if(ld.status===0){od(new QiniuNetworkError("network error.",dd));return}if(ld.status!==200){var pd="xhr request failed, code: "+ld.status;cd&&(pd+=" response: "+cd);var fd=void 0;try{fd=JSON.parse(cd)}catch{}od(new QiniuRequestError(ld.status,dd,pd,fd));return}try{nd({data:JSON.parse(cd),reqId:dd})}catch(md){od(md)}}},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(cd){return ud+encodeURIComponent(stringifyPrimitive(cd))}).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(cd){cd(ud)})}return new(nd||(nd=Promise))(function(ud,cd){function dd(md){try{fd(od.next(md))}catch(vd){cd(vd)}}function pd(md){try{fd(od.throw(md))}catch(vd){cd(vd)}}function fd(md){md.done?ud(md.value):ld(md.value).then(dd,pd)}fd((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,cd;return cd={next:dd(0),throw:dd(1),return:dd(2)},typeof Symbol=="function"&&(cd[Symbol.iterator]=function(){return this}),cd;function dd(fd){return function(md){return pd([fd,md])}}function pd(fd){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=fd[0]&2?ld.return:fd[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,fd[1])).done)return ud;switch(ld=0,ud&&(fd=[fd[0]&2,ud.value]),fd[0]){case 0:case 1:ud=fd;break;case 4:return nd.label++,{value:fd[1],done:!1};case 5:nd.label++,ld=fd[1],fd=[0];continue;case 7:fd=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]<ud[3])){nd.label=fd[1];break}if(fd[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=fd;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(fd);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}fd=qa.call(Ra,nd)}catch(md){fd=[6,md],ld=0}finally{od=ud=0}if(fd[0]&5)throw fd[1];return{value:fd[0]?fd[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,cd=getBaseUrl(ud,qa,od)+("/"+nd),dd=getHeadersForChunkUpload(Ra);return ld.md5&&(dd["Content-MD5"]=ld.md5),request(cd,__assign$4(__assign$4({},ld),{method:"PUT",headers:dd}))}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,cd;return __generator$6(this,function(dd){switch(dd.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=dd.sent(),cd=ud.data.up.acc.main,[2,od+"://"+cd[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(cd){cd(ud)})}return new(nd||(nd=Promise))(function(ud,cd){function dd(md){try{fd(od.next(md))}catch(vd){cd(vd)}}function pd(md){try{fd(od.throw(md))}catch(vd){cd(vd)}}function fd(md){md.done?ud(md.value):ld(md.value).then(dd,pd)}fd((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,cd;return cd={next:dd(0),throw:dd(1),return:dd(2)},typeof Symbol=="function"&&(cd[Symbol.iterator]=function(){return this}),cd;function dd(fd){return function(md){return pd([fd,md])}}function pd(fd){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=fd[0]&2?ld.return:fd[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,fd[1])).done)return ud;switch(ld=0,ud&&(fd=[fd[0]&2,ud.value]),fd[0]){case 0:case 1:ud=fd;break;case 4:return nd.label++,{value:fd[1],done:!1};case 5:nd.label++,ld=fd[1],fd=[0];continue;case 7:fd=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]<ud[3])){nd.label=fd[1];break}if(fd[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=fd;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(fd);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}fd=qa.call(Ra,nd)}catch(md){fd=[6,md],ld=0}finally{od=ud=0}if(fd[0]&5)throw fd[1];return{value:fd[0]?fd[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=[],cd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(dd){cd={error:dd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(cd)throw cd.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(cd){ld.error("get putPolicy from token failed.",cd),this.onError(cd)}}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(cd){cd(ud)})}return new(nd||(nd=Promise))(function(ud,cd){function dd(md){try{fd(od.next(md))}catch(vd){cd(vd)}}function pd(md){try{fd(od.throw(md))}catch(vd){cd(vd)}}function fd(md){md.done?ud(md.value):ld(md.value).then(dd,pd)}fd((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,cd;return cd={next:dd(0),throw:dd(1),return:dd(2)},typeof Symbol=="function"&&(cd[Symbol.iterator]=function(){return this}),cd;function dd(fd){return function(md){return pd([fd,md])}}function pd(fd){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=fd[0]&2?ld.return:fd[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,fd[1])).done)return ud;switch(ld=0,ud&&(fd=[fd[0]&2,ud.value]),fd[0]){case 0:case 1:ud=fd;break;case 4:return nd.label++,{value:fd[1],done:!1};case 5:nd.label++,ld=fd[1],fd=[0];continue;case 7:fd=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]<ud[3])){nd.label=fd[1];break}if(fd[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=fd;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(fd);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}fd=qa.call(Ra,nd)}catch(md){fd=[6,md],ld=0}finally{od=ud=0}if(fd[0]&5)throw fd[1];return{value:fd[0]?fd[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,cd,dd=this;return __generator$4(this,function(pd){switch(pd.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:pd.sent(),nd=new Pool(function(fd){return __awaiter$4(dd,void 0,void 0,function(){return __generator$4(this,function(md){switch(md.label){case 0:if(this.aborted)throw nd.abort(),new Error("pool is aborted");return[4,this.uploadChunk(fd)];case 1:return md.sent(),[2]}})})},this.config.concurrentRequestLimit),od=null,ld=this.getLocalKey(),ud=this.chunks.map(function(fd,md){return nd.enqueue({chunk:fd,index:md})}),pd.label=2;case 2:return pd.trys.push([2,5,,6]),[4,Promise.all(ud)];case 3:return pd.sent(),[4,this.mkFileReq()];case 4:return od=pd.sent(),[3,6];case 5:throw cd=pd.sent(),cd instanceof QiniuRequestError&&(cd.code===612||cd.code===400)&&removeLocalFileInfo(ld,this.logger),cd;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,cd,dd,pd,fd,md,vd,Ad=this;return __generator$4(this,function(Nd){switch(Nd.label){case 0:return od=nd.index,ld=nd.chunk,ud=this.cachedUploadedList[od],this.logger.info("upload part "+od+", cache:",ud),cd=this.config.checkByMD5,dd=function(){Ad.usedCacheList[od]=!0,Ad.updateChunkProgress(ld.size,od),Ad.uploadedList[od]=ud,Ad.updateLocalCache()},ud&&!cd?(dd(),[2]):[4,computeMd5(ld)];case 1:return pd=Nd.sent(),this.logger.info("computed part md5.",pd),ud&&pd===ud.md5?(dd(),[2]):(this.usedCacheList[od]=!1,fd=function(Id){Ad.updateChunkProgress(Id.loaded,od)},md={body:ld,md5:this.config.checkByServer?pd:void 0,onProgress:fd,onCreate:function(Id){return Ad.addXhr(Id)}},this.logger.info("part "+od+" start uploading."),[4,uploadChunk(this.token,this.key,nd.index+1,this.getUploadInfo(),md)]);case 2:return vd=Nd.sent(),this.logger.info("part "+od+" upload completed."),fd({loaded:ld.size,total:ld.size}),this.uploadedList[od]={etag:vd.data.etag,md5:vd.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(cd,dd){return{etag:cd.etag,partNumber:dd+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(cd){return ld.addXhr(cd)},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(cd){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(cd){cd(ud)})}return new(nd||(nd=Promise))(function(ud,cd){function dd(md){try{fd(od.next(md))}catch(vd){cd(vd)}}function pd(md){try{fd(od.throw(md))}catch(vd){cd(vd)}}function fd(md){md.done?ud(md.value):ld(md.value).then(dd,pd)}fd((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,cd;return cd={next:dd(0),throw:dd(1),return:dd(2)},typeof Symbol=="function"&&(cd[Symbol.iterator]=function(){return this}),cd;function dd(fd){return function(md){return pd([fd,md])}}function pd(fd){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=fd[0]&2?ld.return:fd[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,fd[1])).done)return ud;switch(ld=0,ud&&(fd=[fd[0]&2,ud.value]),fd[0]){case 0:case 1:ud=fd;break;case 4:return nd.label++,{value:fd[1],done:!1};case 5:nd.label++,ld=fd[1],fd=[0];continue;case 7:fd=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]<ud[3])){nd.label=fd[1];break}if(fd[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=fd;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(fd);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}fd=qa.call(Ra,nd)}catch(md){fd=[6,md],ld=0}finally{od=ud=0}if(fd[0]&5)throw fd[1];return{value:fd[0]?fd[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 cd=new FileReader;cd.onload=function(){if(cd.result==null){ud();return}if(typeof cd.result=="string"){ud();return}ld(new Uint8Array(cd.result))},cd.readAsArrayBuffer(qa)})]}})})},Ra.prototype.file=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd,od,ld,ud,cd,dd;return __generator$3(this,function(pd){switch(pd.label){case 0:return qa.size<=MB?(nd=this.append,[4,this.readAsUint8Array(qa)]):[3,2];case 1:return nd.apply(this,[pd.sent()]),[2,this.compute()];case 2:od=Math.ceil(qa.size/MB),ld=0,pd.label=3;case 3:return ld<od?(ud=ld*MB,cd=ld===od-1?qa.size:ud+MB,[4,this.readAsUint8Array(qa.slice(ud,cd))]):[3,6];case 4:dd=pd.sent(),this.append(new Uint8Array(dd)),pd.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(cd){cd(ud)})}return new(nd||(nd=Promise))(function(ud,cd){function dd(md){try{fd(od.next(md))}catch(vd){cd(vd)}}function pd(md){try{fd(od.throw(md))}catch(vd){cd(vd)}}function fd(md){md.done?ud(md.value):ld(md.value).then(dd,pd)}fd((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,cd;return cd={next:dd(0),throw:dd(1),return:dd(2)},typeof Symbol=="function"&&(cd[Symbol.iterator]=function(){return this}),cd;function dd(fd){return function(md){return pd([fd,md])}}function pd(fd){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=fd[0]&2?ld.return:fd[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,fd[1])).done)return ud;switch(ld=0,ud&&(fd=[fd[0]&2,ud.value]),fd[0]){case 0:case 1:ud=fd;break;case 4:return nd.label++,{value:fd[1],done:!1};case 5:nd.label++,ld=fd[1],fd=[0];continue;case 7:fd=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]<ud[3])){nd.label=fd[1];break}if(fd[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=fd;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(fd);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}fd=qa.call(Ra,nd)}catch(md){fd=[6,md],ld=0}finally{od=ud=0}if(fd[0]&5)throw fd[1];return{value:fd[0]?fd[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,cd,dd=this;return __generator$2(this,function(pd){switch(pd.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=pd.sent(),nd.append("crc32",od.toString()),pd.label=2;case 2:return this.putExtra.customVars&&(this.logger.info("init customVars."),ld=this.putExtra.customVars,Object.keys(ld).forEach(function(fd){return nd.append(fd,ld[fd].toString())}),this.logger.info("customVars inited.")),this.putExtra.metadata&&(this.logger.info("init metadata."),ud=this.putExtra.metadata,Object.keys(ud).forEach(function(fd){return nd.append(fd,ud[fd].toString())})),this.logger.info("formData inited."),[4,direct(this.uploadHost.getUrl(),nd,{onProgress:function(fd){dd.updateDirectProgress(fd.loaded,fd.total)},onCreate:function(fd){return dd.addXhr(fd)}})];case 3:return cd=pd.sent(),this.logger.info("Direct progress finish."),this.finishDirectProgress(),[2,cd]}})})},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=[],cd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(dd){cd={error:dd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(cd)throw cd.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(cd){cd(ud)})}return new(nd||(nd=Promise))(function(ud,cd){function dd(md){try{fd(od.next(md))}catch(vd){cd(vd)}}function pd(md){try{fd(od.throw(md))}catch(vd){cd(vd)}}function fd(md){md.done?ud(md.value):ld(md.value).then(dd,pd)}fd((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,cd;return cd={next:dd(0),throw:dd(1),return:dd(2)},typeof Symbol=="function"&&(cd[Symbol.iterator]=function(){return this}),cd;function dd(fd){return function(md){return pd([fd,md])}}function pd(fd){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=fd[0]&2?ld.return:fd[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,fd[1])).done)return ud;switch(ld=0,ud&&(fd=[fd[0]&2,ud.value]),fd[0]){case 0:case 1:ud=fd;break;case 4:return nd.label++,{value:fd[1],done:!1};case 5:nd.label++,ld=fd[1],fd=[0];continue;case 7:fd=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]<ud[3])){nd.label=fd[1];break}if(fd[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=fd;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(fd);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}fd=qa.call(Ra,nd)}catch(md){fd=[6,md],ld=0}finally{od=ud=0}if(fd[0]&5)throw fd[1];return{value:fd[0]?fd[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=[],cd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(dd){cd={error:dd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(cd)throw cd.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,cd,dd;return __awaiter$1(this,void 0,void 0,function(){var pd,fd,md;return __generator$1(this,function(vd){switch(vd.label){case 0:return pd=this.cachedHostsMap.get(qa+"@"+nd)||[],pd.length>0?[2]:this.initHosts.length>0?(this.register(qa,nd,this.initHosts,od),[2]):[4,getUpHosts(qa,nd,od)];case 1:return fd=vd.sent(),(fd==null?void 0:fd.data)!=null&&(md=__spread$1(((ud=(ld=fd.data.up)===null||ld===void 0?void 0:ld.acc)===null||ud===void 0?void 0:ud.main)||[],((dd=(cd=fd.data.up)===null||cd===void 0?void 0:cd.acc)===null||dd===void 0?void 0:dd.backup)||[]),this.register(qa,nd,md,od)),[2]}})})},Ra.prototype.getUp=function(qa,nd,od){return __awaiter$1(this,void 0,void 0,function(){var ld,ud,cd;return __generator$1(this,function(dd){switch(dd.label){case 0:return[4,this.refresh(qa,nd,od)];case 1:return dd.sent(),ld=this.cachedHostsMap.get(qa+"@"+nd)||[],ld.length===0?[2,null]:(ud=ld.filter(function(pd){return!pd.isFrozen()}),ud.length>0?[2,ud[0]]:(cd=ld.slice().sort(function(pd,fd){return(pd.getUnfreezeTime()||0)-(fd.getUnfreezeTime()||0)}),[2,cd[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),cd={file:Ra,key:qa,token:nd,putExtra:od,config:normalizeUploadConfig(ld,ud)},dd=new HostPool(cd.config.uphost);return new Observable(function(pd){var fd=createUploadManager(cd,{onData:function(md){return pd.next(md)},onError:function(md){return pd.error(md)},onComplete:function(md){return pd.complete(md)}},dd,ud);return fd.putFile(),fd.stop.bind(fd)})}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=[],cd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(dd){cd={error:dd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(cd)throw cd.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"]),cd=__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&&(cd.upprotocol=od.replace(/:$/,""));var dd=[];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)?dd.push.apply(dd,__spread(ld)):dd.push(ld);else if(cd!=null&&cd.region){var pd=regionUphostMap[cd==null?void 0:cd.region];cd.useCdnDomain?dd.push.apply(dd,__spread(pd.cdnUphost)):dd.push.apply(dd,__spread(pd.srcUphost))}return __assign$1(__assign$1({},cd),{uphost:dd.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(cd){cd(ud)})}return new(nd||(nd=Promise))(function(ud,cd){function dd(md){try{fd(od.next(md))}catch(vd){cd(vd)}}function pd(md){try{fd(od.throw(md))}catch(vd){cd(vd)}}function fd(md){md.done?ud(md.value):ld(md.value).then(dd,pd)}fd((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,cd;return cd={next:dd(0),throw:dd(1),return:dd(2)},typeof Symbol=="function"&&(cd[Symbol.iterator]=function(){return this}),cd;function dd(fd){return function(md){return pd([fd,md])}}function pd(fd){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=fd[0]&2?ld.return:fd[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,fd[1])).done)return ud;switch(ld=0,ud&&(fd=[fd[0]&2,ud.value]),fd[0]){case 0:case 1:ud=fd;break;case 4:return nd.label++,{value:fd[1],done:!1};case 5:nd.label++,ld=fd[1],fd=[0];continue;case 7:fd=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]<ud[3])){nd.label=fd[1];break}if(fd[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=fd;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(fd);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}fd=qa.call(Ra,nd)}catch(md){fd=[6,md],ld=0}finally{od=ud=0}if(fd[0]&5)throw fd[1];return{value:fd[0]?fd[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,cd;return __generator(this,function(dd){switch(dd.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=dd.sent(),[4,this.getCanvas(nd)];case 2:return od=dd.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=dd.sent(),cd=this.toBlob(ud),cd.size>this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:qa.width,height:qa.height}]:[2,{dist:cd,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"),cd=ud.getContext("2d");if(!cd){ld(new QiniuError(QiniuErrorName.GetCanvasContextFailed,"context is null"));return}var dd=qa.width,pd=qa.height;ud.height=pd,ud.width=dd,nd.clear(cd,dd,pd),cd.drawImage(qa,0,0),od(ud)})},Ra.prototype.doScale=function(qa,nd){return __awaiter(this,void 0,void 0,function(){var od,ld,ud,cd,dd,pd,fd,md,vd,Ad,Nd,Id,kd,jd,Fd,Md;return __generator(this,function(Ld){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),cd=document.createElement("canvas"),dd=cd.getContext("2d"),pd=qa.width,fd=qa.height,md=pd,vd=fd,cd.width=pd,cd.height=fd,!dd||!od)throw new QiniuError(QiniuErrorName.GetCanvasContextFailed,"mctx or sctx can't be null");for(Id=0;Id<ld;Id++)kd=pd*ud|0,jd=fd*ud|0,Id===ld-1&&(kd=md*nd,jd=vd*nd),Id%2===0?(Ad=qa,Nd=dd):(Ad=cd,Nd=od),this.clear(Nd,pd,fd),Nd.drawImage(Ad,0,0,pd,fd,0,0,kd,jd),pd=kd,fd=jd;return Fd=Ad===qa?cd:qa,Md=Nd.getImageData(0,0,pd,fd),Fd.width=pd,Fd.height=fd,Nd.putImageData(Md,0,0),[2,Fd]})})},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,cd=Ra.q,dd=Ra.format;if(!ld&&!ud)throw"param w and h is empty in imageView2";var pd="imageView2/"+encodeURIComponent(od);return pd+=ld?"/w/"+encodeURIComponent(ld):"",pd+=ud?"/h/"+encodeURIComponent(ud):"",pd+=cd?"/q/"+encodeURIComponent(cd):"",pd+=dd?"/format/"+encodeURIComponent(dd):"",pd}function imageMogr2(Ra,qa,nd){var od=Ra["auto-orient"],ld=Ra.thumbnail,ud=Ra.strip,cd=Ra.gravity,dd=Ra.crop,pd=Ra.quality,fd=Ra.rotate,md=Ra.format,vd=Ra.blur,Ad="imageMogr2";return Ad+=od?"/auto-orient":"",Ad+=ld?"/thumbnail/"+encodeURIComponent(ld):"",Ad+=ud?"/strip":"",Ad+=cd?"/gravity/"+encodeURIComponent(cd):"",Ad+=pd?"/quality/"+encodeURIComponent(pd):"",Ad+=dd?"/crop/"+encodeURIComponent(dd):"",Ad+=fd?"/rotate/"+encodeURIComponent(fd):"",Ad+=md?"/format/"+encodeURIComponent(md):"",Ad+=vd?"/blur/"+encodeURIComponent(vd):"",qa&&nd&&(Ad=getImageUrl(qa,nd)+"?"+Ad),Ad}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 cd=Ra.text,dd=Ra.font,pd=Ra.fontsize,fd=Ra.fill;if(!cd)throw"text can't be empty in watermark";ld+=cd?"/text/"+urlSafeBase64Encode(cd):"",ld+=dd?"/font/"+urlSafeBase64Encode(dd):"",ld+=pd?"/fontsize/"+pd:"",ld+=fd?"/fill/"+urlSafeBase64Encode(fd):""}var md=Ra.dissolve,vd=Ra.gravity,Ad=Ra.dx,Nd=Ra.dy;return ld+=md?"/dissolve/"+encodeURIComponent(md):"",ld+=vd?"/gravity/"+encodeURIComponent(vd):"",ld+=Ad?"/dx/"+encodeURIComponent(Ad):"",ld+=Nd?"/dy/"+encodeURIComponent(Nd):"",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,cd="";if(od){for(var dd=0,pd=Ra.length;dd<pd;dd++){if(ld=Ra[dd],!ld.fop)throw"fop can't be empty in pipeline";switch(ld.fop){case"watermark":cd+=watermark(ld)+"|";break;case"imageView2":cd+=imageView2(ld)+"|";break;case"imageMogr2":cd+=imageMogr2(ld)+"|";break;default:ud=!0;break}if(ud)throw"fop is wrong in pipeline"}if(qa&&nd){cd=getImageUrl(qa,nd)+"?"+cd;var fd=cd.length;cd.slice(fd-1)==="|"&&(cd=cd.slice(0,fd-1))}return cd}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 cd={},dd=0;dd<10;dd++)cd["_"+String.fromCharCode(dd)]=dd;var pd=Object.getOwnPropertyNames(cd).map(function(md){return cd[md]});if(pd.join("")!=="0123456789")return!1;var fd={};return"abcdefghijklmnopqrst".split("").forEach(function(md){fd[md]=md}),Object.keys(Object.assign({},fd)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return objectAssign=ld()?Object.assign:function(ud,cd){for(var dd,pd=od(ud),fd,md=1;md<arguments.length;md++){dd=Object(arguments[md]);for(var vd in dd)qa.call(dd,vd)&&(pd[vd]=dd[vd]);if(Ra){fd=Ra(dd);for(var Ad=0;Ad<fd.length;Ad++)nd.call(dd,fd[Ad])&&(pd[fd[Ad]]=dd[fd[Ad]])}}return pd},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 cd=od,dd=cd.async,pd=dd===void 0?!0:dd,fd=cd.data,md=fd===void 0?null:fd,vd=cd.headers,Ad=vd===void 0?{}:vd,Nd=cd.method,Id=Nd===void 0?"get":Nd,kd=cd.timeout,jd=kd===void 0?0:kd,Fd=cd.onprogress,Md=new XMLHttpRequest,Ld;jd&&(Ld=setTimeout(function(){ud(new Error("the request timeout "+jd+"ms"))},jd)),Md.onerror=function(){ud(new Error("unknown error"))},Md.upload&&(Md.upload.onprogress=Fd),Md.onreadystatechange=function(){if(Md.readyState===4)if(jd&&clearTimeout(Ld),Md.status>=200&&Md.status<300)ld(Md.response,Md);else{var Hd=new Error("the request is error");ud(Hd)}},Md.open(Id,nd,pd),Object.keys(Ad).forEach(function(Hd){Md.setRequestHeader(Hd,Ad[Hd])});try{Md.send(md)}catch(Hd){ud(Hd)}})}}(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],cd=0;cd<4;cd++)ld*8+cd*6<=nd.length*8?od.push(Ra.charAt(ud>>>6*(3-cd)&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,cd){ud.constructor==String?cd&&cd.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 dd=Ra.bytesToWords(ud),pd=ud.length*8,fd=1732584193,md=-271733879,vd=-1732584194,Ad=271733878,Nd=0;Nd<dd.length;Nd++)dd[Nd]=(dd[Nd]<<8|dd[Nd]>>>24)&16711935|(dd[Nd]<<24|dd[Nd]>>>8)&4278255360;dd[pd>>>5]|=128<<pd%32,dd[(pd+64>>>9<<4)+14]=pd;for(var Id=ld._ff,kd=ld._gg,jd=ld._hh,Fd=ld._ii,Nd=0;Nd<dd.length;Nd+=16){var Md=fd,Ld=md,Hd=vd,Gd=Ad;fd=Id(fd,md,vd,Ad,dd[Nd+0],7,-680876936),Ad=Id(Ad,fd,md,vd,dd[Nd+1],12,-389564586),vd=Id(vd,Ad,fd,md,dd[Nd+2],17,606105819),md=Id(md,vd,Ad,fd,dd[Nd+3],22,-1044525330),fd=Id(fd,md,vd,Ad,dd[Nd+4],7,-176418897),Ad=Id(Ad,fd,md,vd,dd[Nd+5],12,1200080426),vd=Id(vd,Ad,fd,md,dd[Nd+6],17,-1473231341),md=Id(md,vd,Ad,fd,dd[Nd+7],22,-45705983),fd=Id(fd,md,vd,Ad,dd[Nd+8],7,1770035416),Ad=Id(Ad,fd,md,vd,dd[Nd+9],12,-1958414417),vd=Id(vd,Ad,fd,md,dd[Nd+10],17,-42063),md=Id(md,vd,Ad,fd,dd[Nd+11],22,-1990404162),fd=Id(fd,md,vd,Ad,dd[Nd+12],7,1804603682),Ad=Id(Ad,fd,md,vd,dd[Nd+13],12,-40341101),vd=Id(vd,Ad,fd,md,dd[Nd+14],17,-1502002290),md=Id(md,vd,Ad,fd,dd[Nd+15],22,1236535329),fd=kd(fd,md,vd,Ad,dd[Nd+1],5,-165796510),Ad=kd(Ad,fd,md,vd,dd[Nd+6],9,-1069501632),vd=kd(vd,Ad,fd,md,dd[Nd+11],14,643717713),md=kd(md,vd,Ad,fd,dd[Nd+0],20,-373897302),fd=kd(fd,md,vd,Ad,dd[Nd+5],5,-701558691),Ad=kd(Ad,fd,md,vd,dd[Nd+10],9,38016083),vd=kd(vd,Ad,fd,md,dd[Nd+15],14,-660478335),md=kd(md,vd,Ad,fd,dd[Nd+4],20,-405537848),fd=kd(fd,md,vd,Ad,dd[Nd+9],5,568446438),Ad=kd(Ad,fd,md,vd,dd[Nd+14],9,-1019803690),vd=kd(vd,Ad,fd,md,dd[Nd+3],14,-187363961),md=kd(md,vd,Ad,fd,dd[Nd+8],20,1163531501),fd=kd(fd,md,vd,Ad,dd[Nd+13],5,-1444681467),Ad=kd(Ad,fd,md,vd,dd[Nd+2],9,-51403784),vd=kd(vd,Ad,fd,md,dd[Nd+7],14,1735328473),md=kd(md,vd,Ad,fd,dd[Nd+12],20,-1926607734),fd=jd(fd,md,vd,Ad,dd[Nd+5],4,-378558),Ad=jd(Ad,fd,md,vd,dd[Nd+8],11,-2022574463),vd=jd(vd,Ad,fd,md,dd[Nd+11],16,1839030562),md=jd(md,vd,Ad,fd,dd[Nd+14],23,-35309556),fd=jd(fd,md,vd,Ad,dd[Nd+1],4,-1530992060),Ad=jd(Ad,fd,md,vd,dd[Nd+4],11,1272893353),vd=jd(vd,Ad,fd,md,dd[Nd+7],16,-155497632),md=jd(md,vd,Ad,fd,dd[Nd+10],23,-1094730640),fd=jd(fd,md,vd,Ad,dd[Nd+13],4,681279174),Ad=jd(Ad,fd,md,vd,dd[Nd+0],11,-358537222),vd=jd(vd,Ad,fd,md,dd[Nd+3],16,-722521979),md=jd(md,vd,Ad,fd,dd[Nd+6],23,76029189),fd=jd(fd,md,vd,Ad,dd[Nd+9],4,-640364487),Ad=jd(Ad,fd,md,vd,dd[Nd+12],11,-421815835),vd=jd(vd,Ad,fd,md,dd[Nd+15],16,530742520),md=jd(md,vd,Ad,fd,dd[Nd+2],23,-995338651),fd=Fd(fd,md,vd,Ad,dd[Nd+0],6,-198630844),Ad=Fd(Ad,fd,md,vd,dd[Nd+7],10,1126891415),vd=Fd(vd,Ad,fd,md,dd[Nd+14],15,-1416354905),md=Fd(md,vd,Ad,fd,dd[Nd+5],21,-57434055),fd=Fd(fd,md,vd,Ad,dd[Nd+12],6,1700485571),Ad=Fd(Ad,fd,md,vd,dd[Nd+3],10,-1894986606),vd=Fd(vd,Ad,fd,md,dd[Nd+10],15,-1051523),md=Fd(md,vd,Ad,fd,dd[Nd+1],21,-2054922799),fd=Fd(fd,md,vd,Ad,dd[Nd+8],6,1873313359),Ad=Fd(Ad,fd,md,vd,dd[Nd+15],10,-30611744),vd=Fd(vd,Ad,fd,md,dd[Nd+6],15,-1560198380),md=Fd(md,vd,Ad,fd,dd[Nd+13],21,1309151649),fd=Fd(fd,md,vd,Ad,dd[Nd+4],6,-145523070),Ad=Fd(Ad,fd,md,vd,dd[Nd+11],10,-1120210379),vd=Fd(vd,Ad,fd,md,dd[Nd+2],15,718787259),md=Fd(md,vd,Ad,fd,dd[Nd+9],21,-343485551),fd=fd+Md>>>0,md=md+Ld>>>0,vd=vd+Hd>>>0,Ad=Ad+Gd>>>0}return Ra.endian([fd,md,vd,Ad])};ld._ff=function(ud,cd,dd,pd,fd,md,vd){var Ad=ud+(cd&dd|~cd&pd)+(fd>>>0)+vd;return(Ad<<md|Ad>>>32-md)+cd},ld._gg=function(ud,cd,dd,pd,fd,md,vd){var Ad=ud+(cd&pd|dd&~pd)+(fd>>>0)+vd;return(Ad<<md|Ad>>>32-md)+cd},ld._hh=function(ud,cd,dd,pd,fd,md,vd){var Ad=ud+(cd^dd^pd)+(fd>>>0)+vd;return(Ad<<md|Ad>>>32-md)+cd},ld._ii=function(ud,cd,dd,pd,fd,md,vd){var Ad=ud+(dd^(cd|~pd))+(fd>>>0)+vd;return(Ad<<md|Ad>>>32-md)+cd},ld._blocksize=16,ld._digestsize=16,md5.exports=function(ud,cd){if(ud==null)throw new Error("Illegal argument "+ud);var dd=Ra.wordsToBytes(ld(ud,cd));return cd&&cd.asBytes?dd:cd&&cd.asString?od.bytesToString(dd):Ra.bytesToHex(dd)}}()),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 cd=new ArrayBuffer(od-nd),dd=new Uint8Array(cd);for(ld=0;ld<dd.length;ld++)dd[ld]=ud[ld+nd];return cd})})(),function(nd){function od(){}od.prototype.processBlock=function(md){var vd=this.current[0],Ad=this.current[1],Nd=this.current[2],Id=this.current[3],kd=this.current[4],jd=[md[0]<<24|md[1]<<16|md[2]<<8|md[3],md[4]<<24|md[5]<<16|md[6]<<8|md[7],md[8]<<24|md[9]<<16|md[10]<<8|md[11],md[12]<<24|md[13]<<16|md[14]<<8|md[15],md[16]<<24|md[17]<<16|md[18]<<8|md[19],md[20]<<24|md[21]<<16|md[22]<<8|md[23],md[24]<<24|md[25]<<16|md[26]<<8|md[27],md[28]<<24|md[29]<<16|md[30]<<8|md[31],md[32]<<24|md[33]<<16|md[34]<<8|md[35],md[36]<<24|md[37]<<16|md[38]<<8|md[39],md[40]<<24|md[41]<<16|md[42]<<8|md[43],md[44]<<24|md[45]<<16|md[46]<<8|md[47],md[48]<<24|md[49]<<16|md[50]<<8|md[51],md[52]<<24|md[53]<<16|md[54]<<8|md[55],md[56]<<24|md[57]<<16|md[58]<<8|md[59],md[60]<<24|md[61]<<16|md[62]<<8|md[63]],Fd,Md;for(Md=16;Md<80;Md++)jd.push((jd[Md-3]^jd[Md-8]^jd[Md-14]^jd[Md-16])<<1|(jd[Md-3]^jd[Md-8]^jd[Md-14]^jd[Md-16])>>>31);for(Md=0;Md<80;Md++)Fd=(vd<<5|vd>>>27)+kd+jd[Md],Md<20?Fd+=(Ad&Nd|~Ad&Id)+1518500249|0:Md<40?Fd+=(Ad^Nd^Id)+1859775393|0:Md<60?Fd+=(Ad&Nd|Ad&Id|Nd&Id)+2400959708|0:Fd+=(Ad^Nd^Id)+3395469782|0,kd=Id,Id=Nd,Nd=Ad<<30|Ad>>>2,Ad=vd,vd=Fd;this.current[0]+=vd,this.current[1]+=Ad,this.current[2]+=Nd,this.current[3]+=Id,this.current[4]+=kd,this.currentLen+=64},od.prototype.doPadding=function(){var md=(this.inLen+this.currentLen)*8,vd=0,Ad=md&4294967295,Nd=this.inLen<=55?55-this.inLen:119-this.inLen,Id=new Uint8Array(new ArrayBuffer(Nd+1+8));return Id[0]=128,Id[Id.length-1]=Ad&255,Id[Id.length-2]=Ad>>>8&255,Id[Id.length-3]=Ad>>>16&255,Id[Id.length-4]=Ad>>>24&255,Id[Id.length-5]=vd&255,Id[Id.length-6]=vd>>>8&255,Id[Id.length-7]=vd>>>16&255,Id[Id.length-8]=vd>>>24&255,Id},od.prototype.getDigest=function(){var md=new Uint8Array(new ArrayBuffer(20));return md[3]=this.current[0]&255,md[2]=this.current[0]>>>8&255,md[1]=this.current[0]>>>16&255,md[0]=this.current[0]>>>24&255,md[7]=this.current[1]&255,md[6]=this.current[1]>>>8&255,md[5]=this.current[1]>>>16&255,md[4]=this.current[1]>>>24&255,md[11]=this.current[2]&255,md[10]=this.current[2]>>>8&255,md[9]=this.current[2]>>>16&255,md[8]=this.current[2]>>>24&255,md[15]=this.current[3]&255,md[14]=this.current[3]>>>8&255,md[13]=this.current[3]>>>16&255,md[12]=this.current[3]>>>24&255,md[19]=this.current[4]&255,md[18]=this.current[4]>>>8&255,md[17]=this.current[4]>>>16&255,md[16]=this.current[4]>>>24&255,md.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(md){var vd=new ArrayBuffer(md.length),Ad=new Uint8Array(vd),Nd;for(Nd=0;Nd<md.length;Nd++)Ad[Nd]=md.charCodeAt(Nd);return Ad},ud=function(md){var vd=new ArrayBuffer(1),Ad=new Uint8Array(vd);return Ad[0]=md,Ad},cd=function(md){if(md.constructor===Uint8Array)return md;if(md.constructor===ArrayBuffer)return new Uint8Array(md);if(md.constructor===String)return ld(md);if(md.constructor===Number){if(md>255)throw"For more than one byte, use an array buffer";if(md<0)throw"Input value must be positive";return ud(md)}else throw"Unsupported type"},dd=function(md){var vd=function(Id){for(var kd=Id.length,jd=0;kd>0;){var Fd=this.blockLen-this.inLen;Fd>kd&&(Fd=kd);var Md=Id.subarray(jd,jd+Fd);this.inbuf.set(Md,this.inLen),jd+=Fd,kd-=Fd,this.inLen+=Fd,this.inLen===this.blockLen&&(this.processBlock(this.inbuf),this.inLen=0)}},Ad=function(){var Id=this.doPadding();this.update(Id);var kd=this.getDigest();return this.reset(),kd},Nd=function(){if(!md)throw"Unsupported algorithm: "+md.toString();md.prototype.update=vd,md.prototype.finalize=Ad;var Id=new md;return Id.inbuf=new Uint8Array(new ArrayBuffer(Id.blockLen)),Id.reset(),Id}();return{update:function(Id){Nd.update(cd(Id))},finalize:function(){return Nd.finalize()},digest:function(Id){return Nd.update(cd(Id)),Nd.finalize()},reset:function(){Nd.reset()},digestLength:function(){return Nd.digestLen}}},pd=function(md){var vd=!1,Ad,Nd,Id,kd=function(){var Ld,Hd;if(!vd){if(Ad===void 0)throw"MAC key is not defined";for(Ad.byteLength>64?Hd=new Uint8Array(md.digest(Ad)):Hd=new Uint8Array(Ad),Nd=new Uint8Array(new ArrayBuffer(64)),Ld=0;Ld<Hd.length;Ld++)Nd[Ld]=54^Hd[Ld];for(Ld=Hd.length;Ld<64;Ld++)Nd[Ld]=54;for(Id=new Uint8Array(new ArrayBuffer(64)),Ld=0;Ld<Hd.length;Ld++)Id[Ld]=92^Hd[Ld];for(Ld=Hd.length;Ld<64;Ld++)Id[Ld]=92;vd=!0,md.update(Nd.buffer)}},jd=function(){vd=!1,Ad=void 0,Nd=void 0,Id=void 0,md.reset()},Fd=function(){var Ld=md.finalize();return md.reset(),md.update(Id.buffer),md.update(Ld),Ld=md.finalize(),jd(),Ld},Md=function(Ld){Ad=Ld};return{setKey:function(Ld){Md(cd(Ld)),kd()},update:function(Ld){md.update(Ld)},finalize:function(){return Fd()},mac:function(Ld){return this.update(Ld),this.finalize()},reset:function(){jd()},hmacLength:function(){return md.digestLength()}}},fd={SHA1:function(){return dd(od)},HMAC_SHA1:function(){return pd(dd(od))}};Ra.exports&&(Ra.exports=fd)}()}(digest)),digest.exports}var hasRequiredUtils;function requireUtils(){if(hasRequiredUtils)return utils;hasRequiredUtils=1;var Ra=interopRequireDefaultExports;utils.__esModule=!0,utils.unix=ud,utils.blobToBuffer=cd,utils.assertOptions=dd,utils.getContentMd5=fd,utils.getCanonicalizedOSSHeaders=md,utils.getCanonicalizedResource=vd,utils.getSignature=Ad;var qa=Ra(requireMd5()),nd=Ra(requireBase64Js()),od=Ra(requireDigest());function ld(Nd){return Nd&&Object.prototype.toString.call(Nd)==="[object Date]"&&Nd.toString!=="Invalid Date"}function ud(Nd){var Id;return Nd&&(Id=new Date(Nd)),ld(Id)||(Id=new Date),Math.round(Id.getTime()/1e3)}function cd(Nd){return new Promise(function(Id,kd){var jd=new FileReader;jd.onload=function(){var Fd=new Uint8Array(jd.result);Id(Fd)},jd.onerror=function(){kd(jd.error)},jd.readAsArrayBuffer(Nd)})}function dd(Nd){var Id=Nd.accessKeyId,kd=Nd.accessKeySecret,jd=Nd.bucket,Fd=Nd.endpoint;if(!Id)throw new Error("need accessKeyId");if(!kd)throw new Error("need accessKeySecret");if(!jd&&!Fd)throw new Error("need bucket or endpoint")}function pd(Nd){for(var Id=[],kd=0;kd<Nd.length;kd+=2)Id.push(parseInt(Nd[kd]+Nd[kd+1],16));return Uint8Array.from(Id)}function fd(Nd){var Id=Array.prototype.slice.call(Nd,0),kd=pd((0,qa.default)(Id));return nd.default.fromByteArray(kd)}function md(Nd){var Id="",kd=Object.keys(Nd);return kd=kd.map(function(jd){return jd.toLowerCase()}),kd.sort(),kd.forEach(function(jd){jd.indexOf("x-oss-")===0&&(Id+=jd+":"+Nd[jd]+`
|
||
`)}),Id}function vd(Nd,Id,kd){Nd===void 0&&(Nd=""),Id===void 0&&(Id="");var jd="";Nd&&(jd+="/"+Nd),Id&&(Id.charAt(0)!=="/"&&(jd+="/"),jd+=Id);var Fd=""+jd,Md="?";if(kd){var Ld=function(Vd,Kd){return Vd[0]>Kd[0]?1:Vd[0]<Kd[0]?-1:0},Hd=function(Vd){Fd+=Md+Vd,kd[Vd]&&(Fd+="="+kd[Vd]),Md="&"};Object.keys(kd).sort(Ld).forEach(Hd)}return Fd}function Ad(Nd){Nd===void 0&&(Nd={});var Id=Nd,kd=Id.type,jd=kd===void 0?"header":kd,Fd=Id.verb,Md=Fd===void 0?"":Fd,Ld=Id.contentMd5,Hd=Ld===void 0?"":Ld,Gd=Id.expires,Vd=Gd===void 0?ud()+3600:Gd,Kd=Id.bucket,mf=Id.objectName,Wd=Id.accessKeySecret,Zd=Id.headers,Xd=Zd===void 0?{}:Zd,bf=Id.subResource,yf=Xd["x-oss-date"]||"",Ef=Xd["Content-Type"]||"",gf=[Md,Hd,Ef];jd==="header"?gf.push(yf):gf.push(Vd);var xf=md(Xd),Af=vd(Kd,mf,bf);gf.push(""+xf+Af);var Lf=gf.join(`
|
||
`),Xf=new od.default.HMAC_SHA1;Xf.setKey(Wd),Xf.update(Lf);var Jf=new Uint8Array(Xf.finalize()),Zf=nd.default.fromByteArray(Jf);return Zf}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 cd(pd){pd===void 0&&(pd={}),(0,ld.assertOptions)(pd),this.opts=(0,nd.default)({region:"oss-cn-hangzhou",internal:!1,cname:!1,secure:!1,timeout:6e4},pd);var fd=this.opts,md=fd.bucket,vd=fd.region,Ad=fd.endpoint,Nd=fd.internal;if(this.host="",Ad)this.host=Ad;else{var Id=md;Nd&&(Id+="-internal"),Id+="."+vd+".aliyuncs.com",this.host=Id}}var dd=cd.prototype;return dd.put=function(fd,md,vd){var Ad=this;return vd===void 0&&(vd={}),new Promise(function(Nd,Id){(0,ld.blobToBuffer)(md).then(function(kd){var jd=Ad.opts,Fd=jd.accessKeyId,Md=jd.accessKeySecret,Ld=jd.stsToken,Hd=jd.bucket,Gd="PUT",Vd=(0,ld.getContentMd5)(kd),Kd=md.type,mf={"Content-Md5":Vd,"Content-Type":Kd,"x-oss-date":new Date().toGMTString()};Ld&&(mf["x-oss-security-token"]=Ld);var Wd=(0,ld.getSignature)({verb:Gd,contentMd5:Vd,headers:mf,bucket:Hd,objectName:fd,accessKeyId:Fd,accessKeySecret:Md});mf.Authorization="OSS "+Fd+":"+Wd;var Zd=Ad.opts.secure?"https":"http",Xd=Zd+"://"+Ad.host+"/"+fd;return(0,od.default)(Xd,{method:Gd,headers:mf,data:md,timeout:Ad.opts.timeout,onprogress:vd.onprogress})}).then(Nd).catch(Id)})},dd.putSymlink=function(fd,md){var vd=this.opts,Ad=vd.accessKeyId,Nd=vd.accessKeySecret,Id=vd.stsToken,kd=vd.bucket,jd="PUT",Fd={"x-oss-date":new Date().toGMTString(),"x-oss-symlink-target":encodeURI(md)};Id&&(Fd["x-oss-security-token"]=Id);var Md=(0,ld.getSignature)({verb:jd,headers:Fd,bucket:kd,objectName:fd,accessKeyId:Ad,accessKeySecret:Nd,subResource:{symlink:""}});Fd.Authorization="OSS "+Ad+":"+Md;var Ld=this.opts.secure?"https":"http",Hd=Ld+"://"+this.host+"/"+fd+"?symlink";return(0,od.default)(Hd,{method:jd,headers:Fd,timeout:this.opts.timeout})},dd.signatureUrl=function(fd,md){md===void 0&&(md={});var vd=md,Ad=vd.expires,Nd=Ad===void 0?1800:Ad,Id=vd.method,kd=vd.process,jd=vd.response,Fd=this.opts,Md=Fd.accessKeyId,Ld=Fd.accessKeySecret,Hd=Fd.stsToken,Gd=Fd.bucket,Vd={},Kd={};if(kd){var mf="x-oss-process";Kd[mf]=kd}jd&&Object.keys(jd).forEach(function(Ef){var gf="response-"+Ef.toLowerCase();Kd[gf]=jd[Ef]}),Object.keys(md).forEach(function(Ef){var gf=Ef.toLowerCase(),xf=md[Ef];gf.indexOf("x-oss-")===0?Vd[gf]=xf:gf.indexOf("content-md5")===0||gf.indexOf("content-type")===0?Vd[Ef]=xf:gf!=="expires"&&gf!=="response"&&gf!=="process"&&gf!=="method"&&(Kd[gf]=xf)});var Wd=md["security-token"]||Hd;Wd&&(Kd["security-token"]=Wd);var Zd=(0,ld.unix)()+Nd,Xd=(0,ld.getSignature)({type:"url",verb:Id||"GET",accessKeyId:Md,accessKeySecret:Ld,bucket:Gd,objectName:fd,headers:Vd,subResource:Kd,expires:Zd}),bf=this.opts.secure?"https":"http",yf=bf+"://"+this.host+"/"+fd;return yf+="?OSSAccessKeyId="+Md,yf+="&Expires="+Zd,yf+="&Signature="+encodeURIComponent(Xd),Object.keys(Kd).forEach(function(Ef){yf+="&"+Ef+"="+encodeURIComponent(Kd[Ef])}),yf},cd}();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:cd,branch:dd,accessTokenList:pd}=ld,fd=Math.floor(Math.random()*pd.length),md=pd[fd].replace("doocsmd",""),vd=Math.floor(Math.random()*cd.length),Ad=cd[vd];return{username:ud,repo:Ad,branch:dd,accessToken:md}}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 Nd;const nd=localStorage.getItem("imgHost")==="default",{username:od,repo:ld,branch:ud,accessToken:cd}=getConfig(nd,"github"),dd=getDir(),pd=`https://api.github.com/repos/${od}/${ld}/contents/${dd}/`,fd=getDateFilename(qa),md=await service({url:pd+fd,method:"put",headers:{Authorization:`token ${cd}`},data:{content:Ra,branch:ud,message:`Upload by ${window.location.href}`}}),vd=`raw.githubusercontent.com/${od}/${ld}/${ud}/`,Ad=`fastly.jsdelivr.net/gh/${od}/${ld}@${ud}/`;return md.content=((Nd=md.data)==null?void 0:Nd.content)||md.content,nd?md.content.download_url.replace(vd,Ad):md.content.download_url}async function giteeUpload(Ra,qa){var vd;const nd=localStorage.getItem("imgHost")==="default",{username:od,repo:ld,branch:ud,accessToken:cd}=getConfig(nd,"gitee"),dd=getDir(),pd=getDateFilename(qa),fd=`https://gitee.com/api/v5/repos/${od}/${ld}/contents/${dd}/${pd}`,md=await service({url:fd,method:"POST",data:{content:Ra,branch:ud,access_token:cd,message:`Upload by ${window.location.href}`}});return md.content=((vd=md.data)==null?void 0:vd.content)||md.content,encodeURI(md.content.download_url)}function getQiniuToken(Ra,qa,nd){const od=JSON.stringify(nd),ld=base64encode(utf16to8(od)),cd=CryptoJS.HmacSHA1(ld,qa).toString(CryptoJS.enc.Base64);return`${Ra}:${safe64(cd)}:${ld}`}async function qiniuUpload(Ra){const{accessKey:qa,secretKey:nd,bucket:od,region:ld,path:ud,domain:cd}=JSON.parse(localStorage.getItem("qiniuConfig")),dd=getQiniuToken(qa,nd,{scope:od,deadline:Math.trunc(new Date().getTime()/1e3)+3600}),fd=(ud?`${ud}/`:"")+getDateFilename(Ra.name),md=upload(Ra,fd,dd,{},{region:ld});return new Promise((vd,Ad)=>{md.subscribe({next:Nd=>{console.log(Nd)},error:Nd=>{Ad(Nd.message)},complete:Nd=>{vd(`${cd}/${Nd.key}`)}})})}async function aliOSSFileUpload(Ra){const qa=getDateFilename(Ra.name),{region:nd,bucket:od,accessKeyId:ld,accessKeySecret:ud,useSSL:cd,cdnHost:dd,path:pd}=JSON.parse(localStorage.getItem("aliOSSConfig")),fd=pd?`${pd}/${qa}`:qa,md=cd===void 0||cd,vd=md?"https":"http",Ad=new OSS({region:nd,bucket:od,accessKeyId:ld,accessKeySecret:ud,secure:md});try{return await Ad.put(fd,Ra),dd?`${dd}/${fd}`:`${vd}://${od}.${nd}.aliyuncs.com/${fd}`}catch(Nd){return Promise.reject(Nd)}}async function txCOSFileUpload(Ra){const qa=getDateFilename(Ra.name),{secretId:nd,secretKey:od,bucket:ld,region:ud,path:cd,cdnHost:dd}=JSON.parse(localStorage.getItem("txCOSConfig")),pd=new COS({SecretId:nd,SecretKey:od});return new Promise((fd,md)=>{pd.putObject({Bucket:ld,Region:ud,Key:`${cd}/${qa}`,Body:Ra},(vd,Ad)=>{vd?md(vd):fd(dd?cd===""?`${dd}/${qa}`:`${dd}/${cd}/${qa}`:`https://${Ad.Location}`)})})}async function minioFileUpload(Ra,qa){const nd=getDateFilename(qa),{endpoint:od,port:ld,useSSL:ud,bucket:cd,accessKey:dd,secretKey:pd}=JSON.parse(localStorage.getItem("minioConfig")),fd=Buffer$1(Ra,"base64"),md={endPoint:od,useSSL:ud,accessKey:dd,secretKey:pd},vd=Number(ld||0),Ad=vd>0&&vd!==80&&vd!==443;return Ad&&(md.port=vd),new Promise((Nd,Id)=>{const kd=new Client(md);try{kd.putObject(cd,nd,fd,jd=>{jd&&Id(jd);const Md=`${`${ud?"https://":"http://"}${od}${Ad?`:${ld}`:""}`}/${cd}/${nd}`;Nd(Md)})}catch(jd){Id(jd)}})}async function getMpToken(Ra,qa,nd){const od=localStorage.getItem(`mpToken:${Ra}`);if(od){const dd=JSON.parse(od);if(dd.expire&&dd.expire>new Date().getTime())return dd.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 cd=await service(ud,ld);if(cd.access_token){const dd={...cd,expire:new Date().getTime()+cd.expires_in*1e3};return localStorage.setItem(`mpToken:${Ra}`,JSON.stringify(dd)),cd.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 cd=await getMpToken(qa,nd,od).catch(Ad=>console.error(Ad));if(!cd){ud(new Error("获取 access_token 失败,请检查console日志"));return}const dd=new FormData;dd.append("media",Ra,Ra.name);const pd={method:"POST",data:dd};let fd=`https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=${cd}&type=image`;od&&(fd=`${od}/cgi-bin/material/add_material?access_token=${cd}&type=image`);let vd=(await service(fd,pd)).url;od&&window.location.href.startsWith("http")&&(vd=`https://wsrv.nl?url=${encodeURIComponent(vd)}`),ld(vd)}catch(cd){ud(cd)}})}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"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:cd}=storeToRefs(nd),{editorRefresh:dd,exportEditorContent2HTML:pd,exportEditorContent2MD:fd,formatContent:md,importMarkdownContent:vd,resetStyleConfirm:Ad}=qa,{toggleShowInsertFormDialog:Nd,toggleShowUploadImgDialog:Id}=nd,kd=ref$1(!1),jd=ref$1(),Fd=ref$1(null);function Md(){const Af=Jf=>{let Zf,Bf;clearTimeout(jd.value),Jf==="preview"?(Zf=Fd.value,Bf=document.querySelector(".CodeMirror-scroll"),ud.value.off("scroll",Lf),jd.value=setTimeout(()=>{ud.value.on("scroll",Lf)},300)):(Zf=document.querySelector(".CodeMirror-scroll"),Bf=Fd.value,Bf.removeEventListener("scroll",Xf,!1),jd.value=setTimeout(()=>{Bf.addEventListener("scroll",Xf,!1)},300));const Uf=Zf.scrollTop/(Zf.scrollHeight-Zf.offsetHeight)*(Bf.scrollHeight-Bf.offsetHeight);Bf.scrollTo(0,Uf)};function Lf(){Af("editor")}function Xf(){Af("preview")}Fd.value.addEventListener("scroll",Xf,!1),ud.value.on("scroll",Lf)}onMounted(()=>{setTimeout(()=>{Md()},300)});function Ld(){dd()}const Hd=ref$1(!1),Gd=ref$1(!1);function Vd(){Gd.value=!0,Hd.value=!0}function Kd(){Hd.value=!1,setTimeout(()=>{Gd.value=!1},800)}function mf(Af){const Lf=checkImage(Af);if(!Lf.ok)return Ke$1.error(Lf.msg),!1;const Xf=localStorage.getItem("imgHost")||"default";localStorage.setItem("imgHost",Xf);const Jf=localStorage.getItem(`${Xf}Config`);return Xf==="default"||Jf?!0:(Ke$1.error(`请先配置 ${Xf} 图床参数`),!1)}function Wd(Af){if(!Af){Ke$1.error("上传图片未知异常");return}Id(!1);const Lf=ud.value.getCursor(),Xf=`![](${Af})`;toRaw(qa.editor).replaceSelection(`
|
||
${Xf}
|
||
`,Lf),Ke$1.success("图片上传成功")}function Zd(Af,Lf){kd.value=!0,toBase64$1(Af).then(Xf=>fileApi.fileUpload(Xf,Af)).then(Xf=>{Lf?Lf(Xf):Wd(Xf)}).catch(Xf=>{Ke$1.error(Xf.message)}).finally(()=>{kd.value=!1})}const Xd=ref$1();watch(od,()=>{var Lf,Xf;const Af=od.value?"darcula":"xq-light";(Xf=(Lf=toRaw(ud.value))==null?void 0:Lf.setOption)==null||Xf.call(Lf,"theme",Af)});function bf(){const Af=document.querySelector("#editor");Af.value||(Af.value=qa.posts[qa.currentPostIndex].content),ud.value=CodeMirror.fromTextArea(Af,{mode:"text/x-markdown",theme:od.value?"darcula":"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(Xf){formatDoc(Xf.getValue()).then(Jf=>{Xf.setValue(Jf)})},[`${ctrlKey}-B`]:function(Xf){const Jf=Xf.getSelection();Xf.replaceSelection(`**${Jf}**`)},[`${ctrlKey}-I`]:function(Xf){const Jf=Xf.getSelection();Xf.replaceSelection(`*${Jf}*`)},[`${ctrlKey}-D`]:function(Xf){const Jf=Xf.getSelection();Xf.replaceSelection(`~~${Jf}~~`)},[`${ctrlKey}-K`]:function(Xf){const Jf=Xf.getSelection();Xf.replaceSelection(`[${Jf}]()`)},[`${ctrlKey}-E`]:function(Xf){const Jf=Xf.getSelection();Xf.replaceSelection(`\`${Jf}\``)},[`${ctrlKey}-L`]:function(Xf){const Jf=Xf.getSelection();Xf.replaceSelection(`\`${Jf}\``)}}}),ud.value.on("change",Lf=>{clearTimeout(Xd.value),Xd.value=setTimeout(()=>{Ld(),qa.posts[qa.currentPostIndex].content=Lf.getValue()},300)}),ud.value.on("paste",(Lf,Xf)=>{if(!(!(Xf.clipboardData&&Xf.clipboardData.items)||kd.value))for(let Jf=0,Zf=Xf.clipboardData.items.length;Jf<Zf;++Jf){const Bf=Xf.clipboardData.items[Jf];if(Bf.kind==="file"){const Df=Bf.getAsFile();if(!mf(Df))continue;Zd(Df)}}})}const yf=ref$1(null);function Ef(Af){ud.value.options.extraKeys[Af](ud.value)}const gf=ref$1(null);function xf(){const Af=gf.value,Lf=async({md:Zf,list:Bf})=>{const Df=[...Zf.str.matchAll(/!\[(.*?)\]\((.*?)\)/g)||[]].filter(zf=>zf),Uf=Zf.path.match(/.+?\//)[0];(await Promise.all(Df.map(zf=>new Promise(Tf=>{let[,,vf]=zf;vf=vf.replace(/^.\//,"");const{file:qf}=Bf.find(eh=>eh.path===`${Uf}${vf}`)||{};Zd(qf,eh=>{Tf({matchStr:vf,url:eh})})})))).forEach(zf=>{Zf.str=Zf.str.replace(`](./${zf.matchStr})`,`](${zf.url})`).replace(`](${zf.matchStr})`,`](${zf.url})`)}),ud.value.setValue(Zf.str)};Af.ondragover=Zf=>Zf.preventDefault(),Af.ondrop=async Zf=>{Zf.preventDefault();for(const Bf of Zf.dataTransfer.items)Bf.getAsFileSystemHandle().then(async Df=>{if(Df.kind==="directory"){const Uf=await Jf(Df),Gf=await Xf({list:Uf});Lf({md:Gf,list:Uf})}else{const Uf=await Df.getFile();console.log("file",Uf)}})};async function Xf({list:Zf}){return new Promise(Bf=>{const{path:Df,file:Uf}=Zf.find(zf=>zf.path.match(/\.md$/)),Gf=new FileReader;Gf.readAsText(Uf,"UTF-8"),Gf.onload=zf=>{Bf({str:zf.target.result,file:Uf,path:Df})}})}async function Jf(Zf){const Bf=[];let Df="";try{const Uf=[Zf];for(const Gf of Uf){Df+=`${Gf.name}/`;for await(const[,zf]of Gf)zf.kind==="file"?Bf.push({path:Df+zf.name,file:await zf.getFile()}):(Bf.push({path:`${Df+zf.name}/`}),Uf.push(zf))}}catch(Uf){console.error(Uf)}return Bf}}return onMounted(()=>{bf(),Ld(),xf()}),(Af,Lf)=>{const Xf=__unplugin_components_0,Jf=_sfc_main$x,Zf=_sfc_main$D,Bf=_sfc_main$E,Df=_sfc_main$F,Uf=_sfc_main$G,Gf=_sfc_main$H,zf=_sfc_main$I,Tf=__unplugin_components_8,vf=_sfc_main$L,qf=_sfc_main$_,eh=__unplugin_components_11,ch=_sfc_main$1c,ih=_sfc_main$1d,Pf=_sfc_main$1e,uh=_sfc_main$1f,xh=_sfc_main$1g,Qf=_sfc_main$1i,wf=_sfc_main$1j,$f=_sfc_main$1k;return openBlock(),createElementBlock("div",{ref_key:"container",ref:yf,class:"container flex flex-col"},[createVNode(Xf,{onAddFormat:Ef,onFormatContent:unref(md),onStartCopy:Vd,onEndCopy:Kd},null,8,["onFormatContent"]),createBaseVNode("main",_hoisted_1,[createBaseVNode("div",_hoisted_2,[createVNode(Jf),createBaseVNode("div",{ref_key:"codeMirrorWrapper",ref:gf,class:normalizeClass(["codeMirror-wrapper flex-1 border-r-1",{"order-1":!unref(qa).isEditOnLeft}])},[createVNode(zf,null,{default:withCtx(()=>[createVNode(Zf,null,{default:withCtx(()=>Lf[9]||(Lf[9]=[createBaseVNode("textarea",{id:"editor",type:"textarea",placeholder:"Your markdown text here."},null,-1)])),_:1}),createVNode(Gf,{class:"w-64"},{default:withCtx(()=>[createVNode(Bf,{inset:"",onClick:Lf[0]||(Lf[0]=Wf=>unref(Id)())},{default:withCtx(()=>Lf[10]||(Lf[10]=[createTextVNode(" 上传图片 ")])),_:1}),createVNode(Bf,{inset:"",onClick:Lf[1]||(Lf[1]=Wf=>unref(Nd)())},{default:withCtx(()=>Lf[11]||(Lf[11]=[createTextVNode(" 插入表格 ")])),_:1}),createVNode(Bf,{inset:"",onClick:Lf[2]||(Lf[2]=Wf=>unref(Ad)())},{default:withCtx(()=>Lf[12]||(Lf[12]=[createTextVNode(" 恢复默认样式 ")])),_:1}),createVNode(Df),createVNode(Bf,{inset:"",onClick:Lf[3]||(Lf[3]=Wf=>unref(vd)())},{default:withCtx(()=>Lf[13]||(Lf[13]=[createTextVNode(" 导入 .md 文档 ")])),_:1}),createVNode(Bf,{inset:"",onClick:Lf[4]||(Lf[4]=Wf=>unref(fd)())},{default:withCtx(()=>Lf[14]||(Lf[14]=[createTextVNode(" 导出 .md 文档 ")])),_:1}),createVNode(Bf,{inset:"",onClick:Lf[5]||(Lf[5]=Wf=>unref(pd)())},{default:withCtx(()=>Lf[15]||(Lf[15]=[createTextVNode(" 导出 .html ")])),_:1}),createVNode(Bf,{inset:"",onClick:Lf[6]||(Lf[6]=Wf=>unref(md)())},{default:withCtx(()=>[Lf[16]||(Lf[16]=createTextVNode(" 格式化 ")),createVNode(Uf,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:Fd,span:unref(cd)?8:12,class:"preview-wrapper flex-1 p-5"},[createBaseVNode("div",{id:"output-wrapper",class:normalizeClass({output_night:!unref(Hd)})},[createBaseVNode("div",_hoisted_4,[createBaseVNode("section",{id:"output",innerHTML:unref(ld)},null,8,_hoisted_5),unref(Gd)?(openBlock(),createElementBlock("div",_hoisted_6,Lf[17]||(Lf[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(vf,{onUploadImage:Zd}),createVNode(qf),createVNode(eh),createVNode($f,{open:unref(qa).isOpenConfirmDialog,"onUpdate:open":Lf[8]||(Lf[8]=Wf=>unref(qa).isOpenConfirmDialog=Wf)},{default:withCtx(()=>[createVNode(wf,null,{default:withCtx(()=>[createVNode(Pf,null,{default:withCtx(()=>[createVNode(ch,null,{default:withCtx(()=>Lf[18]||(Lf[18]=[createTextVNode("提示")])),_:1}),createVNode(ih,null,{default:withCtx(()=>Lf[19]||(Lf[19]=[createTextVNode(" 此操作将丢失本地自定义样式,是否继续? ")])),_:1})]),_:1}),createVNode(Qf,null,{default:withCtx(()=>[createVNode(uh,null,{default:withCtx(()=>Lf[20]||(Lf[20]=[createTextVNode("取消")])),_:1}),createVNode(xh,{onClick:Lf[7]||(Lf[7]=Wf=>unref(qa).resetStyle())},{default:withCtx(()=>Lf[21]||(Lf[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,Xd){var bf=Xd.inline;Xd.propertyKeywords||(Xd=nd.resolveMode("text/css"));var yf=Zd.indentUnit,Ef=Xd.tokenHooks,gf=Xd.documentTypes||{},xf=Xd.mediaTypes||{},Af=Xd.mediaFeatures||{},Lf=Xd.mediaValueKeywords||{},Xf=Xd.propertyKeywords||{},Jf=Xd.nonStandardPropertyKeywords||{},Zf=Xd.fontProperties||{},Bf=Xd.counterDescriptors||{},Df=Xd.colorKeywords||{},Uf=Xd.valueKeywords||{},Gf=Xd.allowNested,zf=Xd.lineComment,Tf=Xd.supportsAtComponent===!0,vf=Zd.highlightNonStandardPropertyKeywords!==!1,qf,eh;function ch(ph,Vh){return qf=Vh,ph}function ih(ph,Vh){var wh=ph.next();if(Ef[wh]){var fm=Ef[wh](ph,Vh);if(fm!==!1)return fm}if(wh=="@")return ph.eatWhile(/[\w\\\-]/),ch("def",ph.current());if(wh=="="||(wh=="~"||wh=="|")&&ph.eat("="))return ch(null,"compare");if(wh=='"'||wh=="'")return Vh.tokenize=Pf(wh),Vh.tokenize(ph,Vh);if(wh=="#")return ph.eatWhile(/[\w\\\-]/),ch("atom","hash");if(wh=="!")return ph.match(/^\s*\w*/),ch("keyword","important");if(/\d/.test(wh)||wh=="."&&ph.eat(/\d/))return ph.eatWhile(/[\w.%]/),ch("number","unit");if(wh==="-"){if(/[\d.]/.test(ph.peek()))return ph.eatWhile(/[\w.%]/),ch("number","unit");if(ph.match(/^-[\w\\\-]*/))return ph.eatWhile(/[\w\\\-]/),ph.match(/^\s*:/,!1)?ch("variable-2","variable-definition"):ch("variable-2","variable");if(ph.match(/^\w+-/))return ch("meta","meta")}else return/[,+>*\/]/.test(wh)?ch(null,"select-op"):wh=="."&&ph.match(/^-?[_a-z][_a-z0-9-]*/i)?ch("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(wh)?ch(null,wh):ph.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(ph.current())&&(Vh.tokenize=uh),ch("variable callee","variable")):/[\w\\\-]/.test(wh)?(ph.eatWhile(/[\w\\\-]/),ch("property","word")):ch(null,null)}function Pf(ph){return function(Vh,wh){for(var fm=!1,Nm;(Nm=Vh.next())!=null;){if(Nm==ph&&!fm){ph==")"&&Vh.backUp(1);break}fm=!fm&&Nm=="\\"}return(Nm==ph||!fm&&ph!=")")&&(wh.tokenize=null),ch("string","string")}}function uh(ph,Vh){return ph.next(),ph.match(/^\s*[\"\')]/,!1)?Vh.tokenize=null:Vh.tokenize=Pf(")"),ch(null,"(")}function xh(ph,Vh,wh){this.type=ph,this.indent=Vh,this.prev=wh}function Qf(ph,Vh,wh,fm){return ph.context=new xh(wh,Vh.indentation()+(fm===!1?0:yf),ph.context),wh}function wf(ph){return ph.context.prev&&(ph.context=ph.context.prev),ph.context.type}function $f(ph,Vh,wh){return vh[wh.context.type](ph,Vh,wh)}function Wf(ph,Vh,wh,fm){for(var Nm=fm||1;Nm>0;Nm--)wh.context=wh.context.prev;return $f(ph,Vh,wh)}function Th(ph){var Vh=ph.current().toLowerCase();Uf.hasOwnProperty(Vh)?eh="atom":Df.hasOwnProperty(Vh)?eh="keyword":eh="variable"}var vh={};return vh.top=function(ph,Vh,wh){if(ph=="{")return Qf(wh,Vh,"block");if(ph=="}"&&wh.context.prev)return wf(wh);if(Tf&&/@component/i.test(ph))return Qf(wh,Vh,"atComponentBlock");if(/^@(-moz-)?document$/i.test(ph))return Qf(wh,Vh,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(ph))return Qf(wh,Vh,"atBlock");if(/^@(font-face|counter-style)/i.test(ph))return wh.stateArg=ph,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(ph))return"keyframes";if(ph&&ph.charAt(0)=="@")return Qf(wh,Vh,"at");if(ph=="hash")eh="builtin";else if(ph=="word")eh="tag";else{if(ph=="variable-definition")return"maybeprop";if(ph=="interpolation")return Qf(wh,Vh,"interpolation");if(ph==":")return"pseudo";if(Gf&&ph=="(")return Qf(wh,Vh,"parens")}return wh.context.type},vh.block=function(ph,Vh,wh){if(ph=="word"){var fm=Vh.current().toLowerCase();return Xf.hasOwnProperty(fm)?(eh="property","maybeprop"):Jf.hasOwnProperty(fm)?(eh=vf?"string-2":"property","maybeprop"):Gf?(eh=Vh.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(eh+=" error","maybeprop")}else return ph=="meta"?"block":!Gf&&(ph=="hash"||ph=="qualifier")?(eh="error","block"):vh.top(ph,Vh,wh)},vh.maybeprop=function(ph,Vh,wh){return ph==":"?Qf(wh,Vh,"prop"):$f(ph,Vh,wh)},vh.prop=function(ph,Vh,wh){if(ph==";")return wf(wh);if(ph=="{"&&Gf)return Qf(wh,Vh,"propBlock");if(ph=="}"||ph=="{")return Wf(ph,Vh,wh);if(ph=="(")return Qf(wh,Vh,"parens");if(ph=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(Vh.current()))eh+=" error";else if(ph=="word")Th(Vh);else if(ph=="interpolation")return Qf(wh,Vh,"interpolation");return"prop"},vh.propBlock=function(ph,Vh,wh){return ph=="}"?wf(wh):ph=="word"?(eh="property","maybeprop"):wh.context.type},vh.parens=function(ph,Vh,wh){return ph=="{"||ph=="}"?Wf(ph,Vh,wh):ph==")"?wf(wh):ph=="("?Qf(wh,Vh,"parens"):ph=="interpolation"?Qf(wh,Vh,"interpolation"):(ph=="word"&&Th(Vh),"parens")},vh.pseudo=function(ph,Vh,wh){return ph=="meta"?"pseudo":ph=="word"?(eh="variable-3",wh.context.type):$f(ph,Vh,wh)},vh.documentTypes=function(ph,Vh,wh){return ph=="word"&&gf.hasOwnProperty(Vh.current())?(eh="tag",wh.context.type):vh.atBlock(ph,Vh,wh)},vh.atBlock=function(ph,Vh,wh){if(ph=="(")return Qf(wh,Vh,"atBlock_parens");if(ph=="}"||ph==";")return Wf(ph,Vh,wh);if(ph=="{")return wf(wh)&&Qf(wh,Vh,Gf?"block":"top");if(ph=="interpolation")return Qf(wh,Vh,"interpolation");if(ph=="word"){var fm=Vh.current().toLowerCase();fm=="only"||fm=="not"||fm=="and"||fm=="or"?eh="keyword":xf.hasOwnProperty(fm)?eh="attribute":Af.hasOwnProperty(fm)?eh="property":Lf.hasOwnProperty(fm)?eh="keyword":Xf.hasOwnProperty(fm)?eh="property":Jf.hasOwnProperty(fm)?eh=vf?"string-2":"property":Uf.hasOwnProperty(fm)?eh="atom":Df.hasOwnProperty(fm)?eh="keyword":eh="error"}return wh.context.type},vh.atComponentBlock=function(ph,Vh,wh){return ph=="}"?Wf(ph,Vh,wh):ph=="{"?wf(wh)&&Qf(wh,Vh,Gf?"block":"top",!1):(ph=="word"&&(eh="error"),wh.context.type)},vh.atBlock_parens=function(ph,Vh,wh){return ph==")"?wf(wh):ph=="{"||ph=="}"?Wf(ph,Vh,wh,2):vh.atBlock(ph,Vh,wh)},vh.restricted_atBlock_before=function(ph,Vh,wh){return ph=="{"?Qf(wh,Vh,"restricted_atBlock"):ph=="word"&&wh.stateArg=="@counter-style"?(eh="variable","restricted_atBlock_before"):$f(ph,Vh,wh)},vh.restricted_atBlock=function(ph,Vh,wh){return ph=="}"?(wh.stateArg=null,wf(wh)):ph=="word"?(wh.stateArg=="@font-face"&&!Zf.hasOwnProperty(Vh.current().toLowerCase())||wh.stateArg=="@counter-style"&&!Bf.hasOwnProperty(Vh.current().toLowerCase())?eh="error":eh="property","maybeprop"):"restricted_atBlock"},vh.keyframes=function(ph,Vh,wh){return ph=="word"?(eh="variable","keyframes"):ph=="{"?Qf(wh,Vh,"top"):$f(ph,Vh,wh)},vh.at=function(ph,Vh,wh){return ph==";"?wf(wh):ph=="{"||ph=="}"?Wf(ph,Vh,wh):(ph=="word"?eh="tag":ph=="hash"&&(eh="builtin"),"at")},vh.interpolation=function(ph,Vh,wh){return ph=="}"?wf(wh):ph=="{"||ph==";"?Wf(ph,Vh,wh):(ph=="word"?eh="variable":ph!="variable"&&ph!="("&&ph!=")"&&(eh="error"),"interpolation")},{startState:function(ph){return{tokenize:null,state:bf?"block":"top",stateArg:null,context:new xh(bf?"block":"top",ph||0,null)}},token:function(ph,Vh){if(!Vh.tokenize&&ph.eatSpace())return null;var wh=(Vh.tokenize||ih)(ph,Vh);return wh&&typeof wh=="object"&&(qf=wh[1],wh=wh[0]),eh=wh,qf!="comment"&&(Vh.state=vh[Vh.state](qf,ph,Vh)),eh},indent:function(ph,Vh){var wh=ph.context,fm=Vh&&Vh.charAt(0),Nm=wh.indent;return wh.type=="prop"&&(fm=="}"||fm==")")&&(wh=wh.prev),wh.prev&&(fm=="}"&&(wh.type=="block"||wh.type=="top"||wh.type=="interpolation"||wh.type=="restricted_atBlock")?(wh=wh.prev,Nm=wh.indent):(fm==")"&&(wh.type=="parens"||wh.type=="atBlock_parens")||fm=="{"&&(wh.type=="at"||wh.type=="atBlock"))&&(Nm=Math.max(0,wh.indent-yf))),Nm},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:zf,fold:"brace"}});function od(Zd){for(var Xd={},bf=0;bf<Zd.length;++bf)Xd[Zd[bf].toLowerCase()]=!0;return Xd}var ld=["domain","regexp","url","url-prefix"],ud=od(ld),cd=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],dd=od(cd),pd=["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"],fd=od(pd),md=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],vd=od(md),Ad=["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"],Nd=od(Ad),Id=["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"],kd=od(Id),jd=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],Fd=od(jd),Md=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],Ld=od(Md),Hd=["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"],Gd=od(Hd),Vd=["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"],Kd=od(Vd),mf=ld.concat(cd).concat(pd).concat(md).concat(Ad).concat(Id).concat(Hd).concat(Vd);nd.registerHelper("hintWords","css",mf);function Wd(Zd,Xd){for(var bf=!1,yf;(yf=Zd.next())!=null;){if(bf&&yf=="/"){Xd.tokenize=null;break}bf=yf=="*"}return["comment","comment"]}nd.defineMIME("text/css",{documentTypes:ud,mediaTypes:dd,mediaFeatures:fd,mediaValueKeywords:vd,propertyKeywords:Nd,nonStandardPropertyKeywords:kd,fontProperties:Fd,counterDescriptors:Ld,colorKeywords:Gd,valueKeywords:Kd,tokenHooks:{"/":function(Zd,Xd){return Zd.eat("*")?(Xd.tokenize=Wd,Wd(Zd,Xd)):!1}},name:"css"}),nd.defineMIME("text/x-scss",{mediaTypes:dd,mediaFeatures:fd,mediaValueKeywords:vd,propertyKeywords:Nd,nonStandardPropertyKeywords:kd,colorKeywords:Gd,valueKeywords:Kd,fontProperties:Fd,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Zd,Xd){return Zd.eat("/")?(Zd.skipToEnd(),["comment","comment"]):Zd.eat("*")?(Xd.tokenize=Wd,Wd(Zd,Xd)):["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:dd,mediaFeatures:fd,mediaValueKeywords:vd,propertyKeywords:Nd,nonStandardPropertyKeywords:kd,colorKeywords:Gd,valueKeywords:Kd,fontProperties:Fd,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Zd,Xd){return Zd.eat("/")?(Zd.skipToEnd(),["comment","comment"]):Zd.eat("*")?(Xd.tokenize=Wd,Wd(Zd,Xd)):["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:dd,mediaFeatures:fd,propertyKeywords:Nd,nonStandardPropertyKeywords:kd,fontProperties:Fd,counterDescriptors:Ld,colorKeywords:Gd,valueKeywords:Kd,supportsAtComponent:!0,tokenHooks:{"/":function(Zd,Xd){return Zd.eat("*")?(Xd.tokenize=Wd,Wd(Zd,Xd)):!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,cd=ld.statementIndent,dd=ld.jsonld,pd=ld.json||dd,fd=ld.trackScope!==!1,md=ld.typescript,vd=ld.wordCharacters||/[\w$\xa1-\uffff]/,Ad=function(){function hh(og){return{type:og,style:"keyword"}}var Bh=hh("keyword a"),Mm=hh("keyword b"),zm=hh("keyword c"),Tm=hh("keyword d"),e_=hh("operator"),O_={type:"atom",style:"atom"};return{if:hh("if"),while:Bh,with:Bh,else:Mm,do:Mm,try:Mm,finally:Mm,return:Tm,break:Tm,continue:Tm,new:hh("new"),delete:zm,void:zm,throw:zm,debugger:hh("debugger"),var:hh("var"),const:hh("var"),let:hh("var"),function:hh("function"),catch:hh("catch"),for:hh("for"),switch:hh("switch"),case:hh("case"),default:hh("default"),in:e_,typeof:e_,instanceof:e_,true:O_,false:O_,null:O_,undefined:O_,NaN:O_,Infinity:O_,this:hh("this"),class:hh("class"),super:hh("atom"),yield:zm,export:hh("export"),import:hh("import"),extends:zm,await:zm}}(),Nd=/[+\-*&%=<>!?|~^@]/,Id=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function kd(hh){for(var Bh=!1,Mm,zm=!1;(Mm=hh.next())!=null;){if(!Bh){if(Mm=="/"&&!zm)return;Mm=="["?zm=!0:zm&&Mm=="]"&&(zm=!1)}Bh=!Bh&&Mm=="\\"}}var jd,Fd;function Md(hh,Bh,Mm){return jd=hh,Fd=Mm,Bh}function Ld(hh,Bh){var Mm=hh.next();if(Mm=='"'||Mm=="'")return Bh.tokenize=Hd(Mm),Bh.tokenize(hh,Bh);if(Mm=="."&&hh.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return Md("number","number");if(Mm=="."&&hh.match(".."))return Md("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Mm))return Md(Mm);if(Mm=="="&&hh.eat(">"))return Md("=>","operator");if(Mm=="0"&&hh.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return Md("number","number");if(/\d/.test(Mm))return hh.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),Md("number","number");if(Mm=="/")return hh.eat("*")?(Bh.tokenize=Gd,Gd(hh,Bh)):hh.eat("/")?(hh.skipToEnd(),Md("comment","comment")):y_(hh,Bh,1)?(kd(hh),hh.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),Md("regexp","string-2")):(hh.eat("="),Md("operator","operator",hh.current()));if(Mm=="`")return Bh.tokenize=Vd,Vd(hh,Bh);if(Mm=="#"&&hh.peek()=="!")return hh.skipToEnd(),Md("meta","meta");if(Mm=="#"&&hh.eatWhile(vd))return Md("variable","property");if(Mm=="<"&&hh.match("!--")||Mm=="-"&&hh.match("->")&&!/\S/.test(hh.string.slice(0,hh.start)))return hh.skipToEnd(),Md("comment","comment");if(Nd.test(Mm))return(Mm!=">"||!Bh.lexical||Bh.lexical.type!=">")&&(hh.eat("=")?(Mm=="!"||Mm=="=")&&hh.eat("="):/[<>*+\-|&?]/.test(Mm)&&(hh.eat(Mm),Mm==">"&&hh.eat(Mm))),Mm=="?"&&hh.eat(".")?Md("."):Md("operator","operator",hh.current());if(vd.test(Mm)){hh.eatWhile(vd);var zm=hh.current();if(Bh.lastType!="."){if(Ad.propertyIsEnumerable(zm)){var Tm=Ad[zm];return Md(Tm.type,Tm.style,zm)}if(zm=="async"&&hh.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return Md("async","keyword",zm)}return Md("variable","variable",zm)}}function Hd(hh){return function(Bh,Mm){var zm=!1,Tm;if(dd&&Bh.peek()=="@"&&Bh.match(Id))return Mm.tokenize=Ld,Md("jsonld-keyword","meta");for(;(Tm=Bh.next())!=null&&!(Tm==hh&&!zm);)zm=!zm&&Tm=="\\";return zm||(Mm.tokenize=Ld),Md("string","string")}}function Gd(hh,Bh){for(var Mm=!1,zm;zm=hh.next();){if(zm=="/"&&Mm){Bh.tokenize=Ld;break}Mm=zm=="*"}return Md("comment","comment")}function Vd(hh,Bh){for(var Mm=!1,zm;(zm=hh.next())!=null;){if(!Mm&&(zm=="`"||zm=="$"&&hh.eat("{"))){Bh.tokenize=Ld;break}Mm=!Mm&&zm=="\\"}return Md("quasi","string-2",hh.current())}var Kd="([{}])";function mf(hh,Bh){Bh.fatArrowAt&&(Bh.fatArrowAt=null);var Mm=hh.string.indexOf("=>",hh.start);if(!(Mm<0)){if(md){var zm=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(hh.string.slice(hh.start,Mm));zm&&(Mm=zm.index)}for(var Tm=0,e_=!1,O_=Mm-1;O_>=0;--O_){var og=hh.string.charAt(O_),Cg=Kd.indexOf(og);if(Cg>=0&&Cg<3){if(!Tm){++O_;break}if(--Tm==0){og=="("&&(e_=!0);break}}else if(Cg>=3&&Cg<6)++Tm;else if(vd.test(og))e_=!0;else if(/["'\/`]/.test(og))for(;;--O_){if(O_==0)return;var rb=hh.string.charAt(O_-1);if(rb==og&&hh.string.charAt(O_-2)!="\\"){O_--;break}}else if(e_&&!Tm){++O_;break}}e_&&!Tm&&(Bh.fatArrowAt=O_)}}var Wd={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function Zd(hh,Bh,Mm,zm,Tm,e_){this.indented=hh,this.column=Bh,this.type=Mm,this.prev=Tm,this.info=e_,zm!=null&&(this.align=zm)}function Xd(hh,Bh){if(!fd)return!1;for(var Mm=hh.localVars;Mm;Mm=Mm.next)if(Mm.name==Bh)return!0;for(var zm=hh.context;zm;zm=zm.prev)for(var Mm=zm.vars;Mm;Mm=Mm.next)if(Mm.name==Bh)return!0}function bf(hh,Bh,Mm,zm,Tm){var e_=hh.cc;for(yf.state=hh,yf.stream=Tm,yf.marked=null,yf.cc=e_,yf.style=Bh,hh.lexical.hasOwnProperty("align")||(hh.lexical.align=!0);;){var O_=e_.length?e_.pop():pd?ch:qf;if(O_(Mm,zm)){for(;e_.length&&e_[e_.length-1].lex;)e_.pop()();return yf.marked?yf.marked:Mm=="variable"&&Xd(hh,zm)?"variable-2":Bh}}}var yf={state:null,column:null,marked:null,cc:null};function Ef(){for(var hh=arguments.length-1;hh>=0;hh--)yf.cc.push(arguments[hh])}function gf(){return Ef.apply(null,arguments),!0}function xf(hh,Bh){for(var Mm=Bh;Mm;Mm=Mm.next)if(Mm.name==hh)return!0;return!1}function Af(hh){var Bh=yf.state;if(yf.marked="def",!!fd){if(Bh.context){if(Bh.lexical.info=="var"&&Bh.context&&Bh.context.block){var Mm=Lf(hh,Bh.context);if(Mm!=null){Bh.context=Mm;return}}else if(!xf(hh,Bh.localVars)){Bh.localVars=new Zf(hh,Bh.localVars);return}}ld.globalVars&&!xf(hh,Bh.globalVars)&&(Bh.globalVars=new Zf(hh,Bh.globalVars))}}function Lf(hh,Bh){if(Bh)if(Bh.block){var Mm=Lf(hh,Bh.prev);return Mm?Mm==Bh.prev?Bh:new Jf(Mm,Bh.vars,!0):null}else return xf(hh,Bh.vars)?Bh:new Jf(Bh.prev,new Zf(hh,Bh.vars),!1);else return null}function Xf(hh){return hh=="public"||hh=="private"||hh=="protected"||hh=="abstract"||hh=="readonly"}function Jf(hh,Bh,Mm){this.prev=hh,this.vars=Bh,this.block=Mm}function Zf(hh,Bh){this.name=hh,this.next=Bh}var Bf=new Zf("this",new Zf("arguments",null));function Df(){yf.state.context=new Jf(yf.state.context,yf.state.localVars,!1),yf.state.localVars=Bf}function Uf(){yf.state.context=new Jf(yf.state.context,yf.state.localVars,!0),yf.state.localVars=null}Df.lex=Uf.lex=!0;function Gf(){yf.state.localVars=yf.state.context.vars,yf.state.context=yf.state.context.prev}Gf.lex=!0;function zf(hh,Bh){var Mm=function(){var zm=yf.state,Tm=zm.indented;if(zm.lexical.type=="stat")Tm=zm.lexical.indented;else for(var e_=zm.lexical;e_&&e_.type==")"&&e_.align;e_=e_.prev)Tm=e_.indented;zm.lexical=new Zd(Tm,yf.stream.column(),hh,null,zm.lexical,Bh)};return Mm.lex=!0,Mm}function Tf(){var hh=yf.state;hh.lexical.prev&&(hh.lexical.type==")"&&(hh.indented=hh.lexical.indented),hh.lexical=hh.lexical.prev)}Tf.lex=!0;function vf(hh){function Bh(Mm){return Mm==hh?gf():hh==";"||Mm=="}"||Mm==")"||Mm=="]"?Ef():gf(Bh)}return Bh}function qf(hh,Bh){return hh=="var"?gf(zf("vardef",Bh),tg,vf(";"),Tf):hh=="keyword a"?gf(zf("form"),Pf,qf,Tf):hh=="keyword b"?gf(zf("form"),qf,Tf):hh=="keyword d"?yf.stream.match(/^\s*$/,!1)?gf():gf(zf("stat"),xh,vf(";"),Tf):hh=="debugger"?gf(vf(";")):hh=="{"?gf(zf("}"),Uf,If,Tf,Gf):hh==";"?gf():hh=="if"?(yf.state.lexical.info=="else"&&yf.state.cc[yf.state.cc.length-1]==Tf&&yf.state.cc.pop()(),gf(zf("form"),Pf,qf,Tf,Qm)):hh=="function"?gf(Of):hh=="for"?gf(zf("form"),Uf,Zg,qf,Gf,Tf):hh=="class"||md&&Bh=="interface"?(yf.marked="keyword",gf(zf("form",hh=="class"?hh:Bh),Fh,Tf)):hh=="variable"?md&&Bh=="declare"?(yf.marked="keyword",gf(qf)):md&&(Bh=="module"||Bh=="enum"||Bh=="type")&&yf.stream.match(/^\s*\w/,!1)?(yf.marked="keyword",Bh=="enum"?gf(Km):Bh=="type"?gf(_h,vf("operator"),_m,vf(";")):gf(zf("form"),L_,vf("{"),zf("}"),If,Tf,Tf)):md&&Bh=="namespace"?(yf.marked="keyword",gf(zf("form"),ch,qf,Tf)):md&&Bh=="abstract"?(yf.marked="keyword",gf(qf)):gf(zf("stat"),fm):hh=="switch"?gf(zf("form"),Pf,vf("{"),zf("}","switch"),Uf,If,Tf,Tf,Gf):hh=="case"?gf(ch,vf(":")):hh=="default"?gf(vf(":")):hh=="catch"?gf(zf("form"),Df,eh,qf,Tf,Gf):hh=="export"?gf(zf("stat"),Im,Tf):hh=="import"?gf(zf("stat"),i_,Tf):hh=="async"?gf(qf):Bh=="@"?gf(ch,qf):Ef(zf("stat"),ch,vf(";"),Tf)}function eh(hh){if(hh=="(")return gf(Sh,vf(")"))}function ch(hh,Bh){return uh(hh,Bh,!1)}function ih(hh,Bh){return uh(hh,Bh,!0)}function Pf(hh){return hh!="("?Ef():gf(zf(")"),xh,vf(")"),Tf)}function uh(hh,Bh,Mm){if(yf.state.fatArrowAt==yf.stream.start){var zm=Mm?vh:Th;if(hh=="(")return gf(Df,zf(")"),fh(Sh,")"),Tf,vf("=>"),zm,Gf);if(hh=="variable")return Ef(Df,L_,vf("=>"),zm,Gf)}var Tm=Mm?wf:Qf;return Wd.hasOwnProperty(hh)?gf(Tm):hh=="function"?gf(Of,Tm):hh=="class"||md&&Bh=="interface"?(yf.marked="keyword",gf(zf("form"),Wh,Tf)):hh=="keyword c"||hh=="async"?gf(Mm?ih:ch):hh=="("?gf(zf(")"),xh,vf(")"),Tf,Tm):hh=="operator"||hh=="spread"?gf(Mm?ih:ch):hh=="["?gf(zf("]"),C_,Tf,Tm):hh=="{"?Rf(cm,"}",null,Tm):hh=="quasi"?Ef($f,Tm):hh=="new"?gf(ph(Mm)):gf()}function xh(hh){return hh.match(/[;\}\)\],]/)?Ef():Ef(ch)}function Qf(hh,Bh){return hh==","?gf(xh):wf(hh,Bh,!1)}function wf(hh,Bh,Mm){var zm=Mm==!1?Qf:wf,Tm=Mm==!1?ch:ih;if(hh=="=>")return gf(Df,Mm?vh:Th,Gf);if(hh=="operator")return/\+\+|--/.test(Bh)||md&&Bh=="!"?gf(zm):md&&Bh=="<"&&yf.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?gf(zf(">"),fh(_m,">"),Tf,zm):Bh=="?"?gf(ch,vf(":"),Tm):gf(Tm);if(hh=="quasi")return Ef($f,zm);if(hh!=";"){if(hh=="(")return Rf(ih,")","call",zm);if(hh==".")return gf(Nm,zm);if(hh=="[")return gf(zf("]"),xh,vf("]"),Tf,zm);if(md&&Bh=="as")return yf.marked="keyword",gf(_m,zm);if(hh=="regexp")return yf.state.lastType=yf.marked="operator",yf.stream.backUp(yf.stream.pos-yf.stream.start-1),gf(Tm)}}function $f(hh,Bh){return hh!="quasi"?Ef():Bh.slice(Bh.length-2)!="${"?gf($f):gf(xh,Wf)}function Wf(hh){if(hh=="}")return yf.marked="string-2",yf.state.tokenize=Vd,gf($f)}function Th(hh){return mf(yf.stream,yf.state),Ef(hh=="{"?qf:ch)}function vh(hh){return mf(yf.stream,yf.state),Ef(hh=="{"?qf:ih)}function ph(hh){return function(Bh){return Bh=="."?gf(hh?wh:Vh):Bh=="variable"&&md?gf(x_,hh?wf:Qf):Ef(hh?ih:ch)}}function Vh(hh,Bh){if(Bh=="target")return yf.marked="keyword",gf(Qf)}function wh(hh,Bh){if(Bh=="target")return yf.marked="keyword",gf(wf)}function fm(hh){return hh==":"?gf(Tf,qf):Ef(Qf,vf(";"),Tf)}function Nm(hh){if(hh=="variable")return yf.marked="property",gf()}function cm(hh,Bh){if(hh=="async")return yf.marked="property",gf(cm);if(hh=="variable"||yf.style=="keyword"){if(yf.marked="property",Bh=="get"||Bh=="set")return gf(Sm);var Mm;return md&&yf.state.fatArrowAt==yf.stream.start&&(Mm=yf.stream.match(/^\s*:\s*/,!1))&&(yf.state.fatArrowAt=yf.stream.pos+Mm[0].length),gf($m)}else{if(hh=="number"||hh=="string")return yf.marked=dd?"property":yf.style+" property",gf($m);if(hh=="jsonld-keyword")return gf($m);if(md&&Xf(Bh))return yf.marked="keyword",gf(cm);if(hh=="[")return gf(ch,dh,vf("]"),$m);if(hh=="spread")return gf(ih,$m);if(Bh=="*")return yf.marked="keyword",gf(cm);if(hh==":")return Ef($m)}}function Sm(hh){return hh!="variable"?Ef($m):(yf.marked="property",gf(Of))}function $m(hh){if(hh==":")return gf(ih);if(hh=="(")return Ef(Of)}function fh(hh,Bh,Mm){function zm(Tm,e_){if(Mm?Mm.indexOf(Tm)>-1:Tm==","){var O_=yf.state.lexical;return O_.info=="call"&&(O_.pos=(O_.pos||0)+1),gf(function(og,Cg){return og==Bh||Cg==Bh?Ef():Ef(hh)},zm)}return Tm==Bh||e_==Bh?gf():Mm&&Mm.indexOf(";")>-1?Ef(hh):gf(vf(Bh))}return function(Tm,e_){return Tm==Bh||e_==Bh?gf():Ef(hh,zm)}}function Rf(hh,Bh,Mm){for(var zm=3;zm<arguments.length;zm++)yf.cc.push(arguments[zm]);return gf(zf(Bh,Mm),fh(hh,Bh),Tf)}function If(hh){return hh=="}"?gf():Ef(qf,If)}function dh(hh,Bh){if(md){if(hh==":")return gf(_m);if(Bh=="?")return gf(dh)}}function yh(hh,Bh){if(md&&(hh==":"||Bh=="in"))return gf(_m)}function Uh(hh){if(md&&hh==":")return yf.stream.match(/^\s*\w+\s+is\b/,!1)?gf(ch,Zh,_m):gf(_m)}function Zh(hh,Bh){if(Bh=="is")return yf.marked="keyword",gf()}function _m(hh,Bh){if(Bh=="keyof"||Bh=="typeof"||Bh=="infer"||Bh=="readonly")return yf.marked="keyword",gf(Bh=="typeof"?ih:_m);if(hh=="variable"||Bh=="void")return yf.marked="type",gf(H_);if(Bh=="|"||Bh=="&")return gf(_m);if(hh=="string"||hh=="number"||hh=="atom")return gf(H_);if(hh=="[")return gf(zf("]"),fh(_m,"]",","),Tf,H_);if(hh=="{")return gf(zf("}"),Om,Tf,H_);if(hh=="(")return gf(fh(b_,")"),Um,H_);if(hh=="<")return gf(fh(_m,">"),_m);if(hh=="quasi")return Ef(Xm,H_)}function Um(hh){if(hh=="=>")return gf(_m)}function Om(hh){return hh.match(/[\}\)\]]/)?gf():hh==","||hh==";"?gf(Om):Ef(r_,Om)}function r_(hh,Bh){if(hh=="variable"||yf.style=="keyword")return yf.marked="property",gf(r_);if(Bh=="?"||hh=="number"||hh=="string")return gf(r_);if(hh==":")return gf(_m);if(hh=="[")return gf(vf("variable"),yh,vf("]"),r_);if(hh=="(")return Ef(Ch,r_);if(!hh.match(/[;\}\)\],]/))return gf()}function Xm(hh,Bh){return hh!="quasi"?Ef():Bh.slice(Bh.length-2)!="${"?gf(Xm):gf(_m,s_)}function s_(hh){if(hh=="}")return yf.marked="string-2",yf.state.tokenize=Vd,gf(Xm)}function b_(hh,Bh){return hh=="variable"&&yf.stream.match(/^\s*[?:]/,!1)||Bh=="?"?gf(b_):hh==":"?gf(_m):hh=="spread"?gf(b_):Ef(_m)}function H_(hh,Bh){if(Bh=="<")return gf(zf(">"),fh(_m,">"),Tf,H_);if(Bh=="|"||hh=="."||Bh=="&")return gf(_m);if(hh=="[")return gf(_m,vf("]"),H_);if(Bh=="extends"||Bh=="implements")return yf.marked="keyword",gf(_m);if(Bh=="?")return gf(_m,vf(":"),_m)}function x_(hh,Bh){if(Bh=="<")return gf(zf(">"),fh(_m,">"),Tf,H_)}function M_(){return Ef(_m,h_)}function h_(hh,Bh){if(Bh=="=")return gf(_m)}function tg(hh,Bh){return Bh=="enum"?(yf.marked="keyword",gf(Km)):Ef(L_,dh,q_,Y_)}function L_(hh,Bh){if(md&&Xf(Bh))return yf.marked="keyword",gf(L_);if(hh=="variable")return Af(Bh),gf();if(hh=="spread")return gf(L_);if(hh=="[")return Rf(yg,"]");if(hh=="{")return Rf(dg,"}")}function dg(hh,Bh){return hh=="variable"&&!yf.stream.match(/^\s*:/,!1)?(Af(Bh),gf(q_)):(hh=="variable"&&(yf.marked="property"),hh=="spread"?gf(L_):hh=="}"?Ef():hh=="["?gf(ch,vf("]"),vf(":"),dg):gf(vf(":"),L_,q_))}function yg(){return Ef(L_,q_)}function q_(hh,Bh){if(Bh=="=")return gf(ih)}function Y_(hh){if(hh==",")return gf(tg)}function Qm(hh,Bh){if(hh=="keyword b"&&Bh=="else")return gf(zf("form","else"),qf,Tf)}function Zg(hh,Bh){if(Bh=="await")return gf(Zg);if(hh=="(")return gf(zf(")"),db,Tf)}function db(hh){return hh=="var"?gf(tg,$g):hh=="variable"?gf($g):Ef($g)}function $g(hh,Bh){return hh==")"?gf():hh==";"?gf($g):Bh=="in"||Bh=="of"?(yf.marked="keyword",gf(ch,$g)):Ef(ch,$g)}function Of(hh,Bh){if(Bh=="*")return yf.marked="keyword",gf(Of);if(hh=="variable")return Af(Bh),gf(Of);if(hh=="(")return gf(Df,zf(")"),fh(Sh,")"),Tf,Uh,qf,Gf);if(md&&Bh=="<")return gf(zf(">"),fh(M_,">"),Tf,Of)}function Ch(hh,Bh){if(Bh=="*")return yf.marked="keyword",gf(Ch);if(hh=="variable")return Af(Bh),gf(Ch);if(hh=="(")return gf(Df,zf(")"),fh(Sh,")"),Tf,Uh,Gf);if(md&&Bh=="<")return gf(zf(">"),fh(M_,">"),Tf,Ch)}function _h(hh,Bh){if(hh=="keyword"||hh=="variable")return yf.marked="type",gf(_h);if(Bh=="<")return gf(zf(">"),fh(M_,">"),Tf)}function Sh(hh,Bh){return Bh=="@"&&gf(ch,Sh),hh=="spread"?gf(Sh):md&&Xf(Bh)?(yf.marked="keyword",gf(Sh)):md&&hh=="this"?gf(dh,q_):Ef(L_,dh,q_)}function Wh(hh,Bh){return hh=="variable"?Fh(hh,Bh):om(hh,Bh)}function Fh(hh,Bh){if(hh=="variable")return Af(Bh),gf(om)}function om(hh,Bh){if(Bh=="<")return gf(zf(">"),fh(M_,">"),Tf,om);if(Bh=="extends"||Bh=="implements"||md&&hh==",")return Bh=="implements"&&(yf.marked="keyword"),gf(md?_m:ch,om);if(hh=="{")return gf(zf("}"),im,Tf)}function im(hh,Bh){if(hh=="async"||hh=="variable"&&(Bh=="static"||Bh=="get"||Bh=="set"||md&&Xf(Bh))&&yf.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return yf.marked="keyword",gf(im);if(hh=="variable"||yf.style=="keyword")return yf.marked="property",gf(Rh,im);if(hh=="number"||hh=="string")return gf(Rh,im);if(hh=="[")return gf(ch,dh,vf("]"),Rh,im);if(Bh=="*")return yf.marked="keyword",gf(im);if(md&&hh=="(")return Ef(Ch,im);if(hh==";"||hh==",")return gf(im);if(hh=="}")return gf();if(Bh=="@")return gf(ch,im)}function Rh(hh,Bh){if(Bh=="!"||Bh=="?")return gf(Rh);if(hh==":")return gf(_m,q_);if(Bh=="=")return gf(ih);var Mm=yf.state.lexical.prev,zm=Mm&&Mm.info=="interface";return Ef(zm?Ch:Of)}function Im(hh,Bh){return Bh=="*"?(yf.marked="keyword",gf(B_,vf(";"))):Bh=="default"?(yf.marked="keyword",gf(ch,vf(";"))):hh=="{"?gf(fh(Pm,"}"),B_,vf(";")):Ef(qf)}function Pm(hh,Bh){if(Bh=="as")return yf.marked="keyword",gf(vf("variable"));if(hh=="variable")return Ef(ih,Pm)}function i_(hh){return hh=="string"?gf():hh=="("?Ef(ch):hh=="."?Ef(Qf):Ef(Hm,o_,B_)}function Hm(hh,Bh){return hh=="{"?Rf(Hm,"}"):(hh=="variable"&&Af(Bh),Bh=="*"&&(yf.marked="keyword"),gf(j_))}function o_(hh){if(hh==",")return gf(Hm,o_)}function j_(hh,Bh){if(Bh=="as")return yf.marked="keyword",gf(Hm)}function B_(hh,Bh){if(Bh=="from")return yf.marked="keyword",gf(ch)}function C_(hh){return hh=="]"?gf():Ef(fh(ih,"]"))}function Km(){return Ef(zf("form"),L_,vf("{"),zf("}"),fh(ig,"}"),Tf,Tf)}function ig(){return Ef(L_,q_)}function N_(hh,Bh){return hh.lastType=="operator"||hh.lastType==","||Nd.test(Bh.charAt(0))||/[,.]/.test(Bh.charAt(0))}function y_(hh,Bh,Mm){return Bh.tokenize==Ld&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(Bh.lastType)||Bh.lastType=="quasi"&&/\{\s*$/.test(hh.string.slice(0,hh.pos-(Mm||0)))}return{startState:function(hh){var Bh={tokenize:Ld,lastType:"sof",cc:[],lexical:new Zd((hh||0)-ud,0,"block",!1),localVars:ld.localVars,context:ld.localVars&&new Jf(null,null,!1),indented:hh||0};return ld.globalVars&&typeof ld.globalVars=="object"&&(Bh.globalVars=ld.globalVars),Bh},token:function(hh,Bh){if(hh.sol()&&(Bh.lexical.hasOwnProperty("align")||(Bh.lexical.align=!1),Bh.indented=hh.indentation(),mf(hh,Bh)),Bh.tokenize!=Gd&&hh.eatSpace())return null;var Mm=Bh.tokenize(hh,Bh);return jd=="comment"?Mm:(Bh.lastType=jd=="operator"&&(Fd=="++"||Fd=="--")?"incdec":jd,bf(Bh,Mm,jd,Fd,hh))},indent:function(hh,Bh){if(hh.tokenize==Gd||hh.tokenize==Vd)return nd.Pass;if(hh.tokenize!=Ld)return 0;var Mm=Bh&&Bh.charAt(0),zm=hh.lexical,Tm;if(!/^\s*else\b/.test(Bh))for(var e_=hh.cc.length-1;e_>=0;--e_){var O_=hh.cc[e_];if(O_==Tf)zm=zm.prev;else if(O_!=Qm&&O_!=Gf)break}for(;(zm.type=="stat"||zm.type=="form")&&(Mm=="}"||(Tm=hh.cc[hh.cc.length-1])&&(Tm==Qf||Tm==wf)&&!/^[,\.=+\-*:?[\(]/.test(Bh));)zm=zm.prev;cd&&zm.type==")"&&zm.prev.type=="stat"&&(zm=zm.prev);var og=zm.type,Cg=Mm==og;return og=="vardef"?zm.indented+(hh.lastType=="operator"||hh.lastType==","?zm.info.length+1:0):og=="form"&&Mm=="{"?zm.indented:og=="form"?zm.indented+ud:og=="stat"?zm.indented+(N_(hh,Bh)?cd||ud:0):zm.info=="switch"&&!Cg&&ld.doubleIndentSwitch!=!1?zm.indented+(/^(?:case|default)\b/.test(Bh)?ud:2*ud):zm.align?zm.column+(Cg?0:1):zm.indented+(Cg?0:ud)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:pd?null:"/*",blockCommentEnd:pd?null:"*/",blockCommentContinue:pd?null:" * ",lineComment:pd?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:pd?"json":"javascript",jsonldMode:dd,jsonMode:pd,expressionAllowed:y_,skipExpression:function(hh){bf(hh,"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,cd){var dd=ud.indentUnit,pd={},fd=cd.htmlMode?od:ld;for(var md in fd)pd[md]=fd[md];for(var md in cd)pd[md]=cd[md];var vd,Ad;function Nd(gf,xf){function Af(Jf){return xf.tokenize=Jf,Jf(gf,xf)}var Lf=gf.next();if(Lf=="<")return gf.eat("!")?gf.eat("[")?gf.match("CDATA[")?Af(jd("atom","]]>")):null:gf.match("--")?Af(jd("comment","-->")):gf.match("DOCTYPE",!0,!0)?(gf.eatWhile(/[\w\._\-]/),Af(Fd(1))):null:gf.eat("?")?(gf.eatWhile(/[\w\._\-]/),xf.tokenize=jd("meta","?>"),"meta"):(vd=gf.eat("/")?"closeTag":"openTag",xf.tokenize=Id,"tag bracket");if(Lf=="&"){var Xf;return gf.eat("#")?gf.eat("x")?Xf=gf.eatWhile(/[a-fA-F\d]/)&&gf.eat(";"):Xf=gf.eatWhile(/[\d]/)&&gf.eat(";"):Xf=gf.eatWhile(/[\w\.\-:]/)&&gf.eat(";"),Xf?"atom":"error"}else return gf.eatWhile(/[^&<]/),null}Nd.isInText=!0;function Id(gf,xf){var Af=gf.next();if(Af==">"||Af=="/"&&gf.eat(">"))return xf.tokenize=Nd,vd=Af==">"?"endTag":"selfcloseTag","tag bracket";if(Af=="=")return vd="equals",null;if(Af=="<"){xf.tokenize=Nd,xf.state=Vd,xf.tagName=xf.tagStart=null;var Lf=xf.tokenize(gf,xf);return Lf?Lf+" tag error":"tag error"}else return/[\'\"]/.test(Af)?(xf.tokenize=kd(Af),xf.stringStartCol=gf.column(),xf.tokenize(gf,xf)):(gf.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function kd(gf){var xf=function(Af,Lf){for(;!Af.eol();)if(Af.next()==gf){Lf.tokenize=Id;break}return"string"};return xf.isInAttribute=!0,xf}function jd(gf,xf){return function(Af,Lf){for(;!Af.eol();){if(Af.match(xf)){Lf.tokenize=Nd;break}Af.next()}return gf}}function Fd(gf){return function(xf,Af){for(var Lf;(Lf=xf.next())!=null;){if(Lf=="<")return Af.tokenize=Fd(gf+1),Af.tokenize(xf,Af);if(Lf==">")if(gf==1){Af.tokenize=Nd;break}else return Af.tokenize=Fd(gf-1),Af.tokenize(xf,Af)}return"meta"}}function Md(gf){return gf&&gf.toLowerCase()}function Ld(gf,xf,Af){this.prev=gf.context,this.tagName=xf||"",this.indent=gf.indented,this.startOfLine=Af,(pd.doNotIndent.hasOwnProperty(xf)||gf.context&&gf.context.noIndent)&&(this.noIndent=!0)}function Hd(gf){gf.context&&(gf.context=gf.context.prev)}function Gd(gf,xf){for(var Af;;){if(!gf.context||(Af=gf.context.tagName,!pd.contextGrabbers.hasOwnProperty(Md(Af))||!pd.contextGrabbers[Md(Af)].hasOwnProperty(Md(xf))))return;Hd(gf)}}function Vd(gf,xf,Af){return gf=="openTag"?(Af.tagStart=xf.column(),Kd):gf=="closeTag"?mf:Vd}function Kd(gf,xf,Af){return gf=="word"?(Af.tagName=xf.current(),Ad="tag",Xd):pd.allowMissingTagName&&gf=="endTag"?(Ad="tag bracket",Xd(gf,xf,Af)):(Ad="error",Kd)}function mf(gf,xf,Af){if(gf=="word"){var Lf=xf.current();return Af.context&&Af.context.tagName!=Lf&&pd.implicitlyClosed.hasOwnProperty(Md(Af.context.tagName))&&Hd(Af),Af.context&&Af.context.tagName==Lf||pd.matchClosing===!1?(Ad="tag",Wd):(Ad="tag error",Zd)}else return pd.allowMissingTagName&&gf=="endTag"?(Ad="tag bracket",Wd(gf,xf,Af)):(Ad="error",Zd)}function Wd(gf,xf,Af){return gf!="endTag"?(Ad="error",Wd):(Hd(Af),Vd)}function Zd(gf,xf,Af){return Ad="error",Wd(gf,xf,Af)}function Xd(gf,xf,Af){if(gf=="word")return Ad="attribute",bf;if(gf=="endTag"||gf=="selfcloseTag"){var Lf=Af.tagName,Xf=Af.tagStart;return Af.tagName=Af.tagStart=null,gf=="selfcloseTag"||pd.autoSelfClosers.hasOwnProperty(Md(Lf))?Gd(Af,Lf):(Gd(Af,Lf),Af.context=new Ld(Af,Lf,Xf==Af.indented)),Vd}return Ad="error",Xd}function bf(gf,xf,Af){return gf=="equals"?yf:(pd.allowMissing||(Ad="error"),Xd(gf,xf,Af))}function yf(gf,xf,Af){return gf=="string"?Ef:gf=="word"&&pd.allowUnquoted?(Ad="string",Xd):(Ad="error",Xd(gf,xf,Af))}function Ef(gf,xf,Af){return gf=="string"?Ef:Xd(gf,xf,Af)}return{startState:function(gf){var xf={tokenize:Nd,state:Vd,indented:gf||0,tagName:null,tagStart:null,context:null};return gf!=null&&(xf.baseIndent=gf),xf},token:function(gf,xf){if(!xf.tagName&&gf.sol()&&(xf.indented=gf.indentation()),gf.eatSpace())return null;vd=null;var Af=xf.tokenize(gf,xf);return(Af||vd)&&Af!="comment"&&(Ad=null,xf.state=xf.state(vd||Af,gf,xf),Ad&&(Af=Ad=="error"?Af+" error":Ad)),Af},indent:function(gf,xf,Af){var Lf=gf.context;if(gf.tokenize.isInAttribute)return gf.tagStart==gf.indented?gf.stringStartCol+1:gf.indented+dd;if(Lf&&Lf.noIndent)return nd.Pass;if(gf.tokenize!=Id&&gf.tokenize!=Nd)return Af?Af.match(/^(\s*)/)[0].length:0;if(gf.tagName)return pd.multilineTagIndentPastTag!==!1?gf.tagStart+gf.tagName.length+2:gf.tagStart+dd*(pd.multilineTagIndentFactor||1);if(pd.alignCDATA&&/<!\[CDATA\[/.test(xf))return 0;var Xf=xf&&/^<(\/)?([\w_:\.-]*)/.exec(xf);if(Xf&&Xf[1])for(;Lf;)if(Lf.tagName==Xf[2]){Lf=Lf.prev;break}else if(pd.implicitlyClosed.hasOwnProperty(Md(Lf.tagName)))Lf=Lf.prev;else break;else if(Xf)for(;Lf;){var Jf=pd.contextGrabbers[Md(Lf.tagName)];if(Jf&&Jf.hasOwnProperty(Md(Xf[2])))Lf=Lf.prev;else break}for(;Lf&&Lf.prev&&!Lf.startOfLine;)Lf=Lf.prev;return Lf?Lf.indent+dd:gf.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:pd.htmlMode?"html":"xml",helperType:pd.htmlMode?"html":"xml",skipAttribute:function(gf){gf.state==yf&&(gf.state=Xd)},xmlCurrentTag:function(gf){return gf.tagName?{name:gf.tagName,close:gf.type=="closeTag"}:null},xmlCurrentContext:function(gf){for(var xf=[],Af=gf.context;Af;Af=Af.prev)xf.push(Af.tagName);return xf.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 cd=0;cd<nd.modeInfo.length;cd++){var dd=nd.modeInfo[cd];if(dd.mime==ud)return dd;if(dd.mimes){for(var pd=0;pd<dd.mimes.length;pd++)if(dd.mimes[pd]==ud)return dd}}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 cd=0;cd<nd.modeInfo.length;cd++){var dd=nd.modeInfo[cd];if(dd.ext){for(var pd=0;pd<dd.ext.length;pd++)if(dd.ext[pd]==ud)return dd}}},nd.findModeByFileName=function(ud){for(var cd=0;cd<nd.modeInfo.length;cd++){var dd=nd.modeInfo[cd];if(dd.file&&dd.file.test(ud))return dd}var pd=ud.lastIndexOf("."),fd=pd>-1&&ud.substring(pd+1,ud.length);if(fd)return nd.findModeByExtension(fd)},nd.findModeByName=function(ud){ud=ud.toLowerCase();for(var cd=0;cd<nd.modeInfo.length;cd++){var dd=nd.modeInfo[cd];if(dd.name.toLowerCase()==ud)return dd;if(dd.alias){for(var pd=0;pd<dd.alias.length;pd++)if(dd.alias[pd].toLowerCase()==ud)return dd}}}})}()),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"),cd=ud.name=="null";function dd(Bf){if(nd.findModeByName){var Df=nd.findModeByName(Bf);Df&&(Bf=Df.mime||Df.mimes[0])}var Uf=nd.getMode(od,Bf);return Uf.name=="null"?null:Uf}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 pd={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 fd in pd)pd.hasOwnProperty(fd)&&ld.tokenTypeOverrides[fd]&&(pd[fd]=ld.tokenTypeOverrides[fd]);var md=/^([*\-_])(?:\s*\1){2,}\s*$/,vd=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ad=/^\[(x| )\](?=\s)/i,Nd=ld.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Id=/^ {0,3}(?:\={1,}|-{2,})\s*$/,kd=/^[^#!\[\]*_\\<>` "'(~:]+/,jd=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Fd=/^\s*\[[^\]]+?\]:.*$/,Md=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Ld=" ";function Hd(Bf,Df,Uf){return Df.f=Df.inline=Uf,Uf(Bf,Df)}function Gd(Bf,Df,Uf){return Df.f=Df.block=Uf,Uf(Bf,Df)}function Vd(Bf){return!Bf||!/\S/.test(Bf.string)}function Kd(Bf){if(Bf.linkTitle=!1,Bf.linkHref=!1,Bf.linkText=!1,Bf.em=!1,Bf.strong=!1,Bf.strikethrough=!1,Bf.quote=0,Bf.indentedCode=!1,Bf.f==Wd){var Df=cd;if(!Df){var Uf=nd.innerMode(ud,Bf.htmlState);Df=Uf.mode.name=="xml"&&Uf.state.tagStart===null&&!Uf.state.context&&Uf.state.tokenize.isInText}Df&&(Bf.f=yf,Bf.block=mf,Bf.htmlState=null)}return Bf.trailingSpace=0,Bf.trailingSpaceNewLine=!1,Bf.prevLine=Bf.thisLine,Bf.thisLine={stream:null},null}function mf(Bf,Df){var Uf=Bf.column()===Df.indentation,Gf=Vd(Df.prevLine.stream),zf=Df.indentedCode,Tf=Df.prevLine.hr,vf=Df.list!==!1,qf=(Df.listStack[Df.listStack.length-1]||0)+3;Df.indentedCode=!1;var eh=Df.indentation;if(Df.indentationDiff===null&&(Df.indentationDiff=Df.indentation,vf)){for(Df.list=null;eh<Df.listStack[Df.listStack.length-1];)Df.listStack.pop(),Df.listStack.length?Df.indentation=Df.listStack[Df.listStack.length-1]:Df.list=!1;Df.list!==!1&&(Df.indentationDiff=eh-Df.listStack[Df.listStack.length-1])}var ch=!Gf&&!Tf&&!Df.prevLine.header&&(!vf||!zf)&&!Df.prevLine.fencedCodeEnd,ih=(Df.list===!1||Tf||Gf)&&Df.indentation<=qf&&Bf.match(md),Pf=null;if(Df.indentationDiff>=4&&(zf||Df.prevLine.fencedCodeEnd||Df.prevLine.header||Gf))return Bf.skipToEnd(),Df.indentedCode=!0,pd.code;if(Bf.eatSpace())return null;if(Uf&&Df.indentation<=qf&&(Pf=Bf.match(Nd))&&Pf[1].length<=6)return Df.quote=0,Df.header=Pf[1].length,Df.thisLine.header=!0,ld.highlightFormatting&&(Df.formatting="header"),Df.f=Df.inline,Xd(Df);if(Df.indentation<=qf&&Bf.eat(">"))return Df.quote=Uf?1:Df.quote+1,ld.highlightFormatting&&(Df.formatting="quote"),Bf.eatSpace(),Xd(Df);if(!ih&&!Df.setext&&Uf&&Df.indentation<=qf&&(Pf=Bf.match(vd))){var uh=Pf[1]?"ol":"ul";return Df.indentation=eh+Bf.current().length,Df.list=!0,Df.quote=0,Df.listStack.push(Df.indentation),Df.em=!1,Df.strong=!1,Df.code=!1,Df.strikethrough=!1,ld.taskLists&&Bf.match(Ad,!1)&&(Df.taskList=!0),Df.f=Df.inline,ld.highlightFormatting&&(Df.formatting=["list","list-"+uh]),Xd(Df)}else{if(Uf&&Df.indentation<=qf&&(Pf=Bf.match(jd,!0)))return Df.quote=0,Df.fencedEndRE=new RegExp(Pf[1]+"+ *$"),Df.localMode=ld.fencedCodeBlockHighlighting&&dd(Pf[2]||ld.fencedCodeBlockDefaultMode),Df.localMode&&(Df.localState=nd.startState(Df.localMode)),Df.f=Df.block=Zd,ld.highlightFormatting&&(Df.formatting="code-block"),Df.code=-1,Xd(Df);if(Df.setext||(!ch||!vf)&&!Df.quote&&Df.list===!1&&!Df.code&&!ih&&!Fd.test(Bf.string)&&(Pf=Bf.lookAhead(1))&&(Pf=Pf.match(Id)))return Df.setext?(Df.header=Df.setext,Df.setext=0,Bf.skipToEnd(),ld.highlightFormatting&&(Df.formatting="header")):(Df.header=Pf[0].charAt(0)=="="?1:2,Df.setext=Df.header),Df.thisLine.header=!0,Df.f=Df.inline,Xd(Df);if(ih)return Bf.skipToEnd(),Df.hr=!0,Df.thisLine.hr=!0,pd.hr;if(Bf.peek()==="[")return Hd(Bf,Df,Lf)}return Hd(Bf,Df,Df.inline)}function Wd(Bf,Df){var Uf=ud.token(Bf,Df.htmlState);if(!cd){var Gf=nd.innerMode(ud,Df.htmlState);(Gf.mode.name=="xml"&&Gf.state.tagStart===null&&!Gf.state.context&&Gf.state.tokenize.isInText||Df.md_inside&&Bf.current().indexOf(">")>-1)&&(Df.f=yf,Df.block=mf,Df.htmlState=null)}return Uf}function Zd(Bf,Df){var Uf=Df.listStack[Df.listStack.length-1]||0,Gf=Df.indentation<Uf,zf=Uf+3;if(Df.fencedEndRE&&Df.indentation<=zf&&(Gf||Bf.match(Df.fencedEndRE))){ld.highlightFormatting&&(Df.formatting="code-block");var Tf;return Gf||(Tf=Xd(Df)),Df.localMode=Df.localState=null,Df.block=mf,Df.f=yf,Df.fencedEndRE=null,Df.code=0,Df.thisLine.fencedCodeEnd=!0,Gf?Gd(Bf,Df,Df.block):Tf}else return Df.localMode?Df.localMode.token(Bf,Df.localState):(Bf.skipToEnd(),pd.code)}function Xd(Bf){var Df=[];if(Bf.formatting){Df.push(pd.formatting),typeof Bf.formatting=="string"&&(Bf.formatting=[Bf.formatting]);for(var Uf=0;Uf<Bf.formatting.length;Uf++)Df.push(pd.formatting+"-"+Bf.formatting[Uf]),Bf.formatting[Uf]==="header"&&Df.push(pd.formatting+"-"+Bf.formatting[Uf]+"-"+Bf.header),Bf.formatting[Uf]==="quote"&&(!ld.maxBlockquoteDepth||ld.maxBlockquoteDepth>=Bf.quote?Df.push(pd.formatting+"-"+Bf.formatting[Uf]+"-"+Bf.quote):Df.push("error"))}if(Bf.taskOpen)return Df.push("meta"),Df.length?Df.join(" "):null;if(Bf.taskClosed)return Df.push("property"),Df.length?Df.join(" "):null;if(Bf.linkHref?Df.push(pd.linkHref,"url"):(Bf.strong&&Df.push(pd.strong),Bf.em&&Df.push(pd.em),Bf.strikethrough&&Df.push(pd.strikethrough),Bf.emoji&&Df.push(pd.emoji),Bf.linkText&&Df.push(pd.linkText),Bf.code&&Df.push(pd.code),Bf.image&&Df.push(pd.image),Bf.imageAltText&&Df.push(pd.imageAltText,"link"),Bf.imageMarker&&Df.push(pd.imageMarker)),Bf.header&&Df.push(pd.header,pd.header+"-"+Bf.header),Bf.quote&&(Df.push(pd.quote),!ld.maxBlockquoteDepth||ld.maxBlockquoteDepth>=Bf.quote?Df.push(pd.quote+"-"+Bf.quote):Df.push(pd.quote+"-"+ld.maxBlockquoteDepth)),Bf.list!==!1){var Gf=(Bf.listStack.length-1)%3;Gf?Gf===1?Df.push(pd.list2):Df.push(pd.list3):Df.push(pd.list1)}return Bf.trailingSpaceNewLine?Df.push("trailing-space-new-line"):Bf.trailingSpace&&Df.push("trailing-space-"+(Bf.trailingSpace%2?"a":"b")),Df.length?Df.join(" "):null}function bf(Bf,Df){if(Bf.match(kd,!0))return Xd(Df)}function yf(Bf,Df){var Uf=Df.text(Bf,Df);if(typeof Uf<"u")return Uf;if(Df.list)return Df.list=null,Xd(Df);if(Df.taskList){var Gf=Bf.match(Ad,!0)[1]===" ";return Gf?Df.taskOpen=!0:Df.taskClosed=!0,ld.highlightFormatting&&(Df.formatting="task"),Df.taskList=!1,Xd(Df)}if(Df.taskOpen=!1,Df.taskClosed=!1,Df.header&&Bf.match(/^#+$/,!0))return ld.highlightFormatting&&(Df.formatting="header"),Xd(Df);var zf=Bf.next();if(Df.linkTitle){Df.linkTitle=!1;var Tf=zf;zf==="("&&(Tf=")"),Tf=(Tf+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var vf="^\\s*(?:[^"+Tf+"\\\\]+|\\\\\\\\|\\\\.)"+Tf;if(Bf.match(new RegExp(vf),!0))return pd.linkHref}if(zf==="`"){var qf=Df.formatting;ld.highlightFormatting&&(Df.formatting="code"),Bf.eatWhile("`");var eh=Bf.current().length;if(Df.code==0&&(!Df.quote||eh==1))return Df.code=eh,Xd(Df);if(eh==Df.code){var ch=Xd(Df);return Df.code=0,ch}else return Df.formatting=qf,Xd(Df)}else if(Df.code)return Xd(Df);if(zf==="\\"&&(Bf.next(),ld.highlightFormatting)){var ih=Xd(Df),Pf=pd.formatting+"-escape";return ih?ih+" "+Pf:Pf}if(zf==="!"&&Bf.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Df.imageMarker=!0,Df.image=!0,ld.highlightFormatting&&(Df.formatting="image"),Xd(Df);if(zf==="["&&Df.imageMarker&&Bf.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Df.imageMarker=!1,Df.imageAltText=!0,ld.highlightFormatting&&(Df.formatting="image"),Xd(Df);if(zf==="]"&&Df.imageAltText){ld.highlightFormatting&&(Df.formatting="image");var ih=Xd(Df);return Df.imageAltText=!1,Df.image=!1,Df.inline=Df.f=gf,ih}if(zf==="["&&!Df.image)return Df.linkText&&Bf.match(/^.*?\]/)||(Df.linkText=!0,ld.highlightFormatting&&(Df.formatting="link")),Xd(Df);if(zf==="]"&&Df.linkText){ld.highlightFormatting&&(Df.formatting="link");var ih=Xd(Df);return Df.linkText=!1,Df.inline=Df.f=Bf.match(/\(.*?\)| ?\[.*?\]/,!1)?gf:yf,ih}if(zf==="<"&&Bf.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Df.f=Df.inline=Ef,ld.highlightFormatting&&(Df.formatting="link");var ih=Xd(Df);return ih?ih+=" ":ih="",ih+pd.linkInline}if(zf==="<"&&Bf.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Df.f=Df.inline=Ef,ld.highlightFormatting&&(Df.formatting="link");var ih=Xd(Df);return ih?ih+=" ":ih="",ih+pd.linkEmail}if(ld.xml&&zf==="<"&&Bf.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var uh=Bf.string.indexOf(">",Bf.pos);if(uh!=-1){var xh=Bf.string.substring(Bf.start,uh);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(xh)&&(Df.md_inside=!0)}return Bf.backUp(1),Df.htmlState=nd.startState(ud),Gd(Bf,Df,Wd)}if(ld.xml&&zf==="<"&&Bf.match(/^\/\w*?>/))return Df.md_inside=!1,"tag";if(zf==="*"||zf==="_"){for(var Qf=1,wf=Bf.pos==1?" ":Bf.string.charAt(Bf.pos-2);Qf<3&&Bf.eat(zf);)Qf++;var $f=Bf.peek()||" ",Wf=!/\s/.test($f)&&(!Md.test($f)||/\s/.test(wf)||Md.test(wf)),Th=!/\s/.test(wf)&&(!Md.test(wf)||/\s/.test($f)||Md.test($f)),vh=null,ph=null;if(Qf%2&&(!Df.em&&Wf&&(zf==="*"||!Th||Md.test(wf))?vh=!0:Df.em==zf&&Th&&(zf==="*"||!Wf||Md.test($f))&&(vh=!1)),Qf>1&&(!Df.strong&&Wf&&(zf==="*"||!Th||Md.test(wf))?ph=!0:Df.strong==zf&&Th&&(zf==="*"||!Wf||Md.test($f))&&(ph=!1)),ph!=null||vh!=null){ld.highlightFormatting&&(Df.formatting=vh==null?"strong":ph==null?"em":"strong em"),vh===!0&&(Df.em=zf),ph===!0&&(Df.strong=zf);var ch=Xd(Df);return vh===!1&&(Df.em=!1),ph===!1&&(Df.strong=!1),ch}}else if(zf===" "&&(Bf.eat("*")||Bf.eat("_"))){if(Bf.peek()===" ")return Xd(Df);Bf.backUp(1)}if(ld.strikethrough){if(zf==="~"&&Bf.eatWhile(zf)){if(Df.strikethrough){ld.highlightFormatting&&(Df.formatting="strikethrough");var ch=Xd(Df);return Df.strikethrough=!1,ch}else if(Bf.match(/^[^\s]/,!1))return Df.strikethrough=!0,ld.highlightFormatting&&(Df.formatting="strikethrough"),Xd(Df)}else if(zf===" "&&Bf.match("~~",!0)){if(Bf.peek()===" ")return Xd(Df);Bf.backUp(2)}}if(ld.emoji&&zf===":"&&Bf.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Df.emoji=!0,ld.highlightFormatting&&(Df.formatting="emoji");var Vh=Xd(Df);return Df.emoji=!1,Vh}return zf===" "&&(Bf.match(/^ +$/,!1)?Df.trailingSpace++:Df.trailingSpace&&(Df.trailingSpaceNewLine=!0)),Xd(Df)}function Ef(Bf,Df){var Uf=Bf.next();if(Uf===">"){Df.f=Df.inline=yf,ld.highlightFormatting&&(Df.formatting="link");var Gf=Xd(Df);return Gf?Gf+=" ":Gf="",Gf+pd.linkInline}return Bf.match(/^[^>]+/,!0),pd.linkInline}function gf(Bf,Df){if(Bf.eatSpace())return null;var Uf=Bf.next();return Uf==="("||Uf==="["?(Df.f=Df.inline=Af(Uf==="("?")":"]"),ld.highlightFormatting&&(Df.formatting="link-string"),Df.linkHref=!0,Xd(Df)):"error"}var xf={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Af(Bf){return function(Df,Uf){var Gf=Df.next();if(Gf===Bf){Uf.f=Uf.inline=yf,ld.highlightFormatting&&(Uf.formatting="link-string");var zf=Xd(Uf);return Uf.linkHref=!1,zf}return Df.match(xf[Bf]),Uf.linkHref=!0,Xd(Uf)}}function Lf(Bf,Df){return Bf.match(/^([^\]\\]|\\.)*\]:/,!1)?(Df.f=Xf,Bf.next(),ld.highlightFormatting&&(Df.formatting="link"),Df.linkText=!0,Xd(Df)):Hd(Bf,Df,yf)}function Xf(Bf,Df){if(Bf.match("]:",!0)){Df.f=Df.inline=Jf,ld.highlightFormatting&&(Df.formatting="link");var Uf=Xd(Df);return Df.linkText=!1,Uf}return Bf.match(/^([^\]\\]|\\.)+/,!0),pd.linkText}function Jf(Bf,Df){return Bf.eatSpace()?null:(Bf.match(/^[^\s]+/,!0),Bf.peek()===void 0?Df.linkTitle=!0:Bf.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),Df.f=Df.inline=yf,pd.linkHref+" url")}var Zf={startState:function(){return{f:mf,prevLine:{stream:null},thisLine:{stream:null},block:mf,htmlState:null,indentation:0,inline:yf,text:bf,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(Bf){return{f:Bf.f,prevLine:Bf.prevLine,thisLine:Bf.thisLine,block:Bf.block,htmlState:Bf.htmlState&&nd.copyState(ud,Bf.htmlState),indentation:Bf.indentation,localMode:Bf.localMode,localState:Bf.localMode?nd.copyState(Bf.localMode,Bf.localState):null,inline:Bf.inline,text:Bf.text,formatting:!1,linkText:Bf.linkText,linkTitle:Bf.linkTitle,linkHref:Bf.linkHref,code:Bf.code,em:Bf.em,strong:Bf.strong,strikethrough:Bf.strikethrough,emoji:Bf.emoji,header:Bf.header,setext:Bf.setext,hr:Bf.hr,taskList:Bf.taskList,list:Bf.list,listStack:Bf.listStack.slice(0),quote:Bf.quote,indentedCode:Bf.indentedCode,trailingSpace:Bf.trailingSpace,trailingSpaceNewLine:Bf.trailingSpaceNewLine,md_inside:Bf.md_inside,fencedEndRE:Bf.fencedEndRE}},token:function(Bf,Df){if(Df.formatting=!1,Bf!=Df.thisLine.stream){if(Df.header=0,Df.hr=!1,Bf.match(/^\s*$/,!0))return Kd(Df),null;if(Df.prevLine=Df.thisLine,Df.thisLine={stream:Bf},Df.taskList=!1,Df.trailingSpace=0,Df.trailingSpaceNewLine=!1,!Df.localState&&(Df.f=Df.block,Df.f!=Wd)){var Uf=Bf.match(/^\s*/,!0)[0].replace(/\t/g,Ld).length;if(Df.indentation=Uf,Df.indentationDiff=null,Uf>0)return null}}return Df.f(Bf,Df)},innerMode:function(Bf){return Bf.block==Wd?{state:Bf.htmlState,mode:ud}:Bf.localState?{state:Bf.localState,mode:Bf.localMode}:{state:Bf,mode:Zf}},indent:function(Bf,Df,Uf){return Bf.block==Wd&&ud.indent?ud.indent(Bf.htmlState,Df,Uf):Bf.localState&&Bf.localMode.indent?Bf.localMode.indent(Bf.localState,Df,Uf):nd.Pass},blankLine:Kd,getType:Xd,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Zf},"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(Fd,Md,Ld){Ld&&Ld!=nd.Init&&(Fd.removeKeyMap(cd),Fd.state.closeBrackets=null),Md&&(dd(ud(Md,"pairs")),Fd.state.closeBrackets=Md,Fd.addKeyMap(cd))});function ud(Fd,Md){return Md=="pairs"&&typeof Fd=="string"?Fd:typeof Fd=="object"&&Fd[Md]!=null?Fd[Md]:od[Md]}var cd={Backspace:md,Enter:vd};function dd(Fd){for(var Md=0;Md<Fd.length;Md++){var Ld=Fd.charAt(Md),Hd="'"+Ld+"'";cd[Hd]||(cd[Hd]=pd(Ld))}}dd(od.pairs+"`");function pd(Fd){return function(Md){return Id(Md,Fd)}}function fd(Fd){var Md=Fd.state.closeBrackets;if(!Md||Md.override)return Md;var Ld=Fd.getModeAt(Fd.getCursor());return Ld.closeBrackets||Md}function md(Fd){var Md=fd(Fd);if(!Md||Fd.getOption("disableInput"))return nd.Pass;for(var Ld=ud(Md,"pairs"),Hd=Fd.listSelections(),Gd=0;Gd<Hd.length;Gd++){if(!Hd[Gd].empty())return nd.Pass;var Vd=kd(Fd,Hd[Gd].head);if(!Vd||Ld.indexOf(Vd)%2!=0)return nd.Pass}for(var Gd=Hd.length-1;Gd>=0;Gd--){var Kd=Hd[Gd].head;Fd.replaceRange("",ld(Kd.line,Kd.ch-1),ld(Kd.line,Kd.ch+1),"+delete")}}function vd(Fd){var Md=fd(Fd),Ld=Md&&ud(Md,"explode");if(!Ld||Fd.getOption("disableInput"))return nd.Pass;for(var Hd=Fd.listSelections(),Gd=0;Gd<Hd.length;Gd++){if(!Hd[Gd].empty())return nd.Pass;var Vd=kd(Fd,Hd[Gd].head);if(!Vd||Ld.indexOf(Vd)%2!=0)return nd.Pass}Fd.operation(function(){var Kd=Fd.lineSeparator()||`
|
||
`;Fd.replaceSelection(Kd+Kd,null),Ad(Fd,-1),Hd=Fd.listSelections();for(var mf=0;mf<Hd.length;mf++){var Wd=Hd[mf].head.line;Fd.indentLine(Wd,null,!0),Fd.indentLine(Wd+1,null,!0)}})}function Ad(Fd,Md){for(var Ld=[],Hd=Fd.listSelections(),Gd=0,Vd=0;Vd<Hd.length;Vd++){var Kd=Hd[Vd];Kd.head==Fd.getCursor()&&(Gd=Vd);var mf=Kd.head.ch||Md>0?{line:Kd.head.line,ch:Kd.head.ch+Md}:{line:Kd.head.line-1};Ld.push({anchor:mf,head:mf})}Fd.setSelections(Ld,Gd)}function Nd(Fd){var Md=nd.cmpPos(Fd.anchor,Fd.head)>0;return{anchor:new ld(Fd.anchor.line,Fd.anchor.ch+(Md?-1:1)),head:new ld(Fd.head.line,Fd.head.ch+(Md?1:-1))}}function Id(Fd,Md){var Ld=fd(Fd);if(!Ld||Fd.getOption("disableInput"))return nd.Pass;var Hd=ud(Ld,"pairs"),Gd=Hd.indexOf(Md);if(Gd==-1)return nd.Pass;for(var Vd=ud(Ld,"closeBefore"),Kd=ud(Ld,"triples"),mf=Hd.charAt(Gd+1)==Md,Wd=Fd.listSelections(),Zd=Gd%2==0,Xd,bf=0;bf<Wd.length;bf++){var yf=Wd[bf],Ef=yf.head,gf,xf=Fd.getRange(Ef,ld(Ef.line,Ef.ch+1));if(Zd&&!yf.empty())gf="surround";else if((mf||!Zd)&&xf==Md)mf&&jd(Fd,Ef)?gf="both":Kd.indexOf(Md)>=0&&Fd.getRange(Ef,ld(Ef.line,Ef.ch+3))==Md+Md+Md?gf="skipThree":gf="skip";else if(mf&&Ef.ch>1&&Kd.indexOf(Md)>=0&&Fd.getRange(ld(Ef.line,Ef.ch-2),Ef)==Md+Md){if(Ef.ch>2&&/\bstring/.test(Fd.getTokenTypeAt(ld(Ef.line,Ef.ch-2))))return nd.Pass;gf="addFour"}else if(mf){var Af=Ef.ch==0?" ":Fd.getRange(ld(Ef.line,Ef.ch-1),Ef);if(!nd.isWordChar(xf)&&Af!=Md&&!nd.isWordChar(Af))gf="both";else return nd.Pass}else if(Zd&&(xf.length===0||/\s/.test(xf)||Vd.indexOf(xf)>-1))gf="both";else return nd.Pass;if(!Xd)Xd=gf;else if(Xd!=gf)return nd.Pass}var Lf=Gd%2?Hd.charAt(Gd-1):Md,Xf=Gd%2?Md:Hd.charAt(Gd+1);Fd.operation(function(){if(Xd=="skip")Ad(Fd,1);else if(Xd=="skipThree")Ad(Fd,3);else if(Xd=="surround"){for(var Jf=Fd.getSelections(),Zf=0;Zf<Jf.length;Zf++)Jf[Zf]=Lf+Jf[Zf]+Xf;Fd.replaceSelections(Jf,"around"),Jf=Fd.listSelections().slice();for(var Zf=0;Zf<Jf.length;Zf++)Jf[Zf]=Nd(Jf[Zf]);Fd.setSelections(Jf)}else Xd=="both"?(Fd.replaceSelection(Lf+Xf,null),Fd.triggerElectric(Lf+Xf),Ad(Fd,-1)):Xd=="addFour"&&(Fd.replaceSelection(Lf+Lf+Lf+Lf,"before"),Ad(Fd,1))})}function kd(Fd,Md){var Ld=Fd.getRange(ld(Md.line,Md.ch-1),ld(Md.line,Md.ch+1));return Ld.length==2?Ld:null}function jd(Fd,Md){var Ld=Fd.getTokenAt(ld(Md.line,Md.ch+1));return/\bstring/.test(Ld.type)&&Ld.start==Md.ch&&(Md.ch==0||!/\bstring/.test(Fd.getTokenTypeAt(Md)))}})})();(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 cd(Ad){return Ad&&Ad.bracketRegex||/[(){}[\]]/}function dd(Ad,Nd,Id){var kd=Ad.getLineHandle(Nd.line),jd=Nd.ch-1,Fd=Id&&Id.afterCursor;Fd==null&&(Fd=/(^| )cm-fat-cursor($| )/.test(Ad.getWrapperElement().className));var Md=cd(Id),Ld=!Fd&&jd>=0&&Md.test(kd.text.charAt(jd))&&ud[kd.text.charAt(jd)]||Md.test(kd.text.charAt(jd+1))&&ud[kd.text.charAt(++jd)];if(!Ld)return null;var Hd=Ld.charAt(1)==">"?1:-1;if(Id&&Id.strict&&Hd>0!=(jd==Nd.ch))return null;var Gd=Ad.getTokenTypeAt(ld(Nd.line,jd+1)),Vd=pd(Ad,ld(Nd.line,jd+(Hd>0?1:0)),Hd,Gd,Id);return Vd==null?null:{from:ld(Nd.line,jd),to:Vd&&Vd.pos,match:Vd&&Vd.ch==Ld.charAt(0),forward:Hd>0}}function pd(Ad,Nd,Id,kd,jd){for(var Fd=jd&&jd.maxScanLineLength||1e4,Md=jd&&jd.maxScanLines||1e3,Ld=[],Hd=cd(jd),Gd=Id>0?Math.min(Nd.line+Md,Ad.lastLine()+1):Math.max(Ad.firstLine()-1,Nd.line-Md),Vd=Nd.line;Vd!=Gd;Vd+=Id){var Kd=Ad.getLine(Vd);if(Kd){var mf=Id>0?0:Kd.length-1,Wd=Id>0?Kd.length:-1;if(!(Kd.length>Fd))for(Vd==Nd.line&&(mf=Nd.ch-(Id<0?1:0));mf!=Wd;mf+=Id){var Zd=Kd.charAt(mf);if(Hd.test(Zd)&&(kd===void 0||(Ad.getTokenTypeAt(ld(Vd,mf+1))||"")==(kd||""))){var Xd=ud[Zd];if(Xd&&Xd.charAt(1)==">"==Id>0)Ld.push(Zd);else if(Ld.length)Ld.pop();else return{pos:ld(Vd,mf),ch:Zd}}}}}return Vd-Id==(Id>0?Ad.lastLine():Ad.firstLine())?!1:null}function fd(Ad,Nd,Id){for(var kd=Ad.state.matchBrackets.maxHighlightLineLength||1e3,jd=Id&&Id.highlightNonMatching,Fd=[],Md=Ad.listSelections(),Ld=0;Ld<Md.length;Ld++){var Hd=Md[Ld].empty()&&dd(Ad,Md[Ld].head,Id);if(Hd&&(Hd.match||jd!==!1)&&Ad.getLine(Hd.from.line).length<=kd){var Gd=Hd.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";Fd.push(Ad.markText(Hd.from,ld(Hd.from.line,Hd.from.ch+1),{className:Gd})),Hd.to&&Ad.getLine(Hd.to.line).length<=kd&&Fd.push(Ad.markText(Hd.to,ld(Hd.to.line,Hd.to.ch+1),{className:Gd}))}}if(Fd.length){od&&Ad.state.focused&&Ad.focus();var Vd=function(){Ad.operation(function(){for(var Kd=0;Kd<Fd.length;Kd++)Fd[Kd].clear()})};if(Nd)setTimeout(Vd,800);else return Vd}}function md(Ad){Ad.operation(function(){Ad.state.matchBrackets.currentlyHighlighted&&(Ad.state.matchBrackets.currentlyHighlighted(),Ad.state.matchBrackets.currentlyHighlighted=null),Ad.state.matchBrackets.currentlyHighlighted=fd(Ad,!1,Ad.state.matchBrackets)})}function vd(Ad){Ad.state.matchBrackets&&Ad.state.matchBrackets.currentlyHighlighted&&(Ad.state.matchBrackets.currentlyHighlighted(),Ad.state.matchBrackets.currentlyHighlighted=null)}nd.defineOption("matchBrackets",!1,function(Ad,Nd,Id){Id&&Id!=nd.Init&&(Ad.off("cursorActivity",md),Ad.off("focus",md),Ad.off("blur",vd),vd(Ad)),Nd&&(Ad.state.matchBrackets=typeof Nd=="object"?Nd:{},Ad.on("cursorActivity",md),Ad.on("focus",md),Ad.on("blur",vd))}),nd.defineExtension("matchBrackets",function(){fd(this,!0)}),nd.defineExtension("findMatchingBracket",function(Ad,Nd,Id){return(Id||typeof Nd=="boolean")&&(Id?(Id.strict=Nd,Nd=Id):Nd=Nd?{strict:!0}:null),dd(this,Ad,Nd)}),nd.defineExtension("scanForBracket",function(Ad,Nd,Id,kd){return pd(this,Ad,Nd,Id,kd)})})})();(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(md,vd,Ad){var Nd=Ad==nd.Init?!1:Ad;vd!=Nd&&(Nd&&(md.off("beforeSelectionChange",fd),cd(md),delete md.state.activeLines),vd&&(md.state.activeLines=[],pd(md,md.listSelections()),md.on("beforeSelectionChange",fd)))});function cd(md){for(var vd=0;vd<md.state.activeLines.length;vd++)md.removeLineClass(md.state.activeLines[vd],"wrap",od),md.removeLineClass(md.state.activeLines[vd],"background",ld),md.removeLineClass(md.state.activeLines[vd],"gutter",ud)}function dd(md,vd){if(md.length!=vd.length)return!1;for(var Ad=0;Ad<md.length;Ad++)if(md[Ad]!=vd[Ad])return!1;return!0}function pd(md,vd){for(var Ad=[],Nd=0;Nd<vd.length;Nd++){var Id=vd[Nd],kd=md.getOption("styleActiveLine");if(!(typeof kd=="object"&&kd.nonEmpty?Id.anchor.line!=Id.head.line:!Id.empty())){var jd=md.getLineHandleVisualStart(Id.head.line);Ad[Ad.length-1]!=jd&&Ad.push(jd)}}dd(md.state.activeLines,Ad)||md.operation(function(){cd(md);for(var Fd=0;Fd<Ad.length;Fd++)md.addLineClass(Ad[Fd],"wrap",od),md.addLineClass(Ad[Fd],"background",ld),md.addLineClass(Ad[Fd],"gutter",ud);md.state.activeLines=Ad})}function fd(md,vd){pd(md,vd.ranges)}})})();(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od="CodeMirror-hint",ld="CodeMirror-hint-active";nd.showHint=function(Fd,Md,Ld){if(!Md)return Fd.showHint(Ld);Ld&&Ld.async&&(Md.async=!0);var Hd={hint:Md};if(Ld)for(var Gd in Ld)Hd[Gd]=Ld[Gd];return Fd.showHint(Hd)},nd.defineExtension("showHint",function(Fd){Fd=pd(this,this.getCursor("start"),Fd);var Md=this.listSelections();if(!(Md.length>1)){if(this.somethingSelected()){if(!Fd.hint.supportsSelection)return;for(var Ld=0;Ld<Md.length;Ld++)if(Md[Ld].head.line!=Md[Ld].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var Hd=this.state.completionActive=new ud(this,Fd);Hd.options.hint&&(nd.signal(this,"startCompletion",this),Hd.update(!0))}}),nd.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function ud(Fd,Md){if(this.cm=Fd,this.options=Md,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 Ld=this;Fd.on("cursorActivity",this.activityFunc=function(){Ld.cursorActivity()})}}var cd=window.requestAnimationFrame||function(Fd){return setTimeout(Fd,1e3/60)},dd=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(Fd,Md){var Ld=Fd.list[Md],Hd=this;this.cm.operation(function(){Ld.hint?Ld.hint(Hd.cm,Fd,Ld):Hd.cm.replaceRange(fd(Ld),Ld.from||Fd.from,Ld.to||Fd.to,"complete"),nd.signal(Fd,"pick",Ld),Hd.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(dd(this.debounce),this.debounce=0);var Fd=this.startPos;this.data&&(Fd=this.data.from);var Md=this.cm.getCursor(),Ld=this.cm.getLine(Md.line);if(Md.line!=this.startPos.line||Ld.length-Md.ch!=this.startLen-this.startPos.ch||Md.ch<Fd.ch||this.cm.somethingSelected()||!Md.ch||this.options.closeCharacters.test(Ld.charAt(Md.ch-1)))this.close();else{var Hd=this;this.debounce=cd(function(){Hd.update()}),this.widget&&this.widget.disable()}},update:function(Fd){if(this.tick!=null){var Md=this,Ld=++this.tick;Id(this.options.hint,this.cm,this.options,function(Hd){Md.tick==Ld&&Md.finishUpdate(Hd,Fd)})}},finishUpdate:function(Fd,Md){this.data&&nd.signal(this.data,"update");var Ld=this.widget&&this.widget.picked||Md&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=Fd,Fd&&Fd.list.length&&(Ld&&Fd.list.length==1?this.pick(Fd,0):(this.widget=new Ad(this,Fd),nd.signal(Fd,"shown")))}};function pd(Fd,Md,Ld){var Hd=Fd.options.hintOptions,Gd={};for(var Vd in jd)Gd[Vd]=jd[Vd];if(Hd)for(var Vd in Hd)Hd[Vd]!==void 0&&(Gd[Vd]=Hd[Vd]);if(Ld)for(var Vd in Ld)Ld[Vd]!==void 0&&(Gd[Vd]=Ld[Vd]);return Gd.hint.resolve&&(Gd.hint=Gd.hint.resolve(Fd,Md)),Gd}function fd(Fd){return typeof Fd=="string"?Fd:Fd.text}function md(Fd,Md){var Ld={Up:function(){Md.moveFocus(-1)},Down:function(){Md.moveFocus(1)},PageUp:function(){Md.moveFocus(-Md.menuSize()+1,!0)},PageDown:function(){Md.moveFocus(Md.menuSize()-1,!0)},Home:function(){Md.setFocus(0)},End:function(){Md.setFocus(Md.length-1)},Enter:Md.pick,Tab:Md.pick,Esc:Md.close},Hd=/Mac/.test(navigator.platform);Hd&&(Ld["Ctrl-P"]=function(){Md.moveFocus(-1)},Ld["Ctrl-N"]=function(){Md.moveFocus(1)});var Gd=Fd.options.customKeys,Vd=Gd?{}:Ld;function Kd(Zd,Xd){var bf;typeof Xd!="string"?bf=function(yf){return Xd(yf,Md)}:Ld.hasOwnProperty(Xd)?bf=Ld[Xd]:bf=Xd,Vd[Zd]=bf}if(Gd)for(var mf in Gd)Gd.hasOwnProperty(mf)&&Kd(mf,Gd[mf]);var Wd=Fd.options.extraKeys;if(Wd)for(var mf in Wd)Wd.hasOwnProperty(mf)&&Kd(mf,Wd[mf]);return Vd}function vd(Fd,Md){for(;Md&&Md!=Fd;){if(Md.nodeName.toUpperCase()==="LI"&&Md.parentNode==Fd)return Md;Md=Md.parentNode}}function Ad(Fd,Md){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=Fd,this.data=Md,this.picked=!1;var Ld=this,Hd=Fd.cm,Gd=Hd.getInputField().ownerDocument,Vd=Gd.defaultView||Gd.parentWindow,Kd=this.hints=Gd.createElement("ul");Kd.setAttribute("role","listbox"),Kd.setAttribute("aria-expanded","true"),Kd.id=this.id;var mf=Fd.cm.options.theme;Kd.className="CodeMirror-hints "+mf,this.selectedHint=Md.selectedHint||0;for(var Wd=Md.list,Zd=0;Zd<Wd.length;++Zd){var Xd=Kd.appendChild(Gd.createElement("li")),bf=Wd[Zd],yf=od+(Zd!=this.selectedHint?"":" "+ld);bf.className!=null&&(yf=bf.className+" "+yf),Xd.className=yf,Zd==this.selectedHint&&Xd.setAttribute("aria-selected","true"),Xd.id=this.id+"-"+Zd,Xd.setAttribute("role","option"),bf.render?bf.render(Xd,Md,bf):Xd.appendChild(Gd.createTextNode(bf.displayText||fd(bf))),Xd.hintId=Zd}var Ef=Fd.options.container||Gd.body,gf=Hd.cursorCoords(Fd.options.alignWithWord?Md.from:null),xf=gf.left,Af=gf.bottom,Lf=!0,Xf=0,Jf=0;if(Ef!==Gd.body){var Zf=["absolute","relative","fixed"].indexOf(Vd.getComputedStyle(Ef).position)!==-1,Bf=Zf?Ef:Ef.offsetParent,Df=Bf.getBoundingClientRect(),Uf=Gd.body.getBoundingClientRect();Xf=Df.left-Uf.left-Bf.scrollLeft,Jf=Df.top-Uf.top-Bf.scrollTop}Kd.style.left=xf-Xf+"px",Kd.style.top=Af-Jf+"px";var Gf=Vd.innerWidth||Math.max(Gd.body.offsetWidth,Gd.documentElement.offsetWidth),zf=Vd.innerHeight||Math.max(Gd.body.offsetHeight,Gd.documentElement.offsetHeight);Ef.appendChild(Kd),Hd.getInputField().setAttribute("aria-autocomplete","list"),Hd.getInputField().setAttribute("aria-owns",this.id),Hd.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var Tf=Fd.options.moveOnOverlap?Kd.getBoundingClientRect():new DOMRect,vf=Fd.options.paddingForScrollbar?Kd.scrollHeight>Kd.clientHeight+1:!1,qf;setTimeout(function(){qf=Hd.getScrollInfo()});var eh=Tf.bottom-zf;if(eh>0){var ch=Tf.bottom-Tf.top,ih=Tf.top-(gf.bottom-gf.top)-2;zf-Tf.top<ih?(ch>ih&&(Kd.style.height=(ch=ih)+"px"),Kd.style.top=(Af=gf.top-ch)+Jf+"px",Lf=!1):Kd.style.height=zf-Tf.top-2+"px"}var Pf=Tf.right-Gf;if(vf&&(Pf+=Hd.display.nativeBarWidth),Pf>0&&(Tf.right-Tf.left>Gf&&(Kd.style.width=Gf-5+"px",Pf-=Tf.right-Tf.left-Gf),Kd.style.left=(xf=Math.max(gf.left-Pf-Xf,0))+"px"),vf)for(var uh=Kd.firstChild;uh;uh=uh.nextSibling)uh.style.paddingRight=Hd.display.nativeBarWidth+"px";if(Hd.addKeyMap(this.keyMap=md(Fd,{moveFocus:function(wf,$f){Ld.changeActive(Ld.selectedHint+wf,$f)},setFocus:function(wf){Ld.changeActive(wf)},menuSize:function(){return Ld.screenAmount()},length:Wd.length,close:function(){Fd.close()},pick:function(){Ld.pick()},data:Md})),Fd.options.closeOnUnfocus){var xh;Hd.on("blur",this.onBlur=function(){xh=setTimeout(function(){Fd.close()},100)}),Hd.on("focus",this.onFocus=function(){clearTimeout(xh)})}Hd.on("scroll",this.onScroll=function(){var wf=Hd.getScrollInfo(),$f=Hd.getWrapperElement().getBoundingClientRect();qf||(qf=Hd.getScrollInfo());var Wf=Af+qf.top-wf.top,Th=Wf-(Vd.pageYOffset||(Gd.documentElement||Gd.body).scrollTop);if(Lf||(Th+=Kd.offsetHeight),Th<=$f.top||Th>=$f.bottom)return Fd.close();Kd.style.top=Wf+"px",Kd.style.left=xf+qf.left-wf.left+"px"}),nd.on(Kd,"dblclick",function(wf){var $f=vd(Kd,wf.target||wf.srcElement);$f&&$f.hintId!=null&&(Ld.changeActive($f.hintId),Ld.pick())}),nd.on(Kd,"click",function(wf){var $f=vd(Kd,wf.target||wf.srcElement);$f&&$f.hintId!=null&&(Ld.changeActive($f.hintId),Fd.options.completeOnSingleClick&&Ld.pick())}),nd.on(Kd,"mousedown",function(){setTimeout(function(){Hd.focus()},20)});var Qf=this.getSelectedHintRange();return(Qf.from!==0||Qf.to!==0)&&this.scrollToActive(),nd.signal(Md,"select",Wd[this.selectedHint],Kd.childNodes[this.selectedHint]),!0}Ad.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 Fd=this.completion.cm.getInputField();Fd.removeAttribute("aria-activedescendant"),Fd.removeAttribute("aria-owns");var Md=this.completion.cm;this.completion.options.closeOnUnfocus&&(Md.off("blur",this.onBlur),Md.off("focus",this.onFocus)),Md.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var Fd=this;this.keyMap={Enter:function(){Fd.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(Fd,Md){if(Fd>=this.data.list.length?Fd=Md?this.data.list.length-1:0:Fd<0&&(Fd=Md?0:this.data.list.length-1),this.selectedHint!=Fd){var Ld=this.hints.childNodes[this.selectedHint];Ld&&(Ld.className=Ld.className.replace(" "+ld,""),Ld.removeAttribute("aria-selected")),Ld=this.hints.childNodes[this.selectedHint=Fd],Ld.className+=" "+ld,Ld.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",Ld.id),this.scrollToActive(),nd.signal(this.data,"select",this.data.list[this.selectedHint],Ld)}},scrollToActive:function(){var Fd=this.getSelectedHintRange(),Md=this.hints.childNodes[Fd.from],Ld=this.hints.childNodes[Fd.to],Hd=this.hints.firstChild;Md.offsetTop<this.hints.scrollTop?this.hints.scrollTop=Md.offsetTop-Hd.offsetTop:Ld.offsetTop+Ld.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=Ld.offsetTop+Ld.offsetHeight-this.hints.clientHeight+Hd.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var Fd=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-Fd),to:Math.min(this.data.list.length-1,this.selectedHint+Fd)}}};function Nd(Fd,Md){if(!Fd.somethingSelected())return Md;for(var Ld=[],Hd=0;Hd<Md.length;Hd++)Md[Hd].supportsSelection&&Ld.push(Md[Hd]);return Ld}function Id(Fd,Md,Ld,Hd){if(Fd.async)Fd(Md,Hd,Ld);else{var Gd=Fd(Md,Ld);Gd&&Gd.then?Gd.then(Hd):Hd(Gd)}}function kd(Fd,Md){var Ld=Fd.getHelpers(Md,"hint"),Hd;if(Ld.length){var Gd=function(Vd,Kd,mf){var Wd=Nd(Vd,Ld);function Zd(Xd){if(Xd==Wd.length)return Kd(null);Id(Wd[Xd],Vd,mf,function(bf){bf&&bf.list.length>0?Kd(bf):Zd(Xd+1)})}Zd(0)};return Gd.async=!0,Gd.supportsSelection=!0,Gd}else return(Hd=Fd.getHelper(Fd.getCursor(),"hintWords"))?function(Vd){return nd.hint.fromList(Vd,{words:Hd})}:nd.hint.anyword?function(Vd,Kd){return nd.hint.anyword(Vd,Kd)}:function(){}}nd.registerHelper("hint","auto",{resolve:kd}),nd.registerHelper("hint","fromList",function(Fd,Md){var Ld=Fd.getCursor(),Hd=Fd.getTokenAt(Ld),Gd,Vd=nd.Pos(Ld.line,Hd.start),Kd=Ld;Hd.start<Ld.ch&&/\w/.test(Hd.string.charAt(Ld.ch-Hd.start-1))?Gd=Hd.string.substr(0,Ld.ch-Hd.start):(Gd="",Vd=Ld);for(var mf=[],Wd=0;Wd<Md.words.length;Wd++){var Zd=Md.words[Wd];Zd.slice(0,Gd.length)==Gd&&mf.push(Zd)}if(mf.length)return{list:mf,from:Vd,to:Kd}}),nd.commands.autocomplete=nd.showHint;var jd={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(),cd=ld.getTokenAt(ud),dd=nd.innerMode(ld.getMode(),cd.state);if(dd.mode.name!="css")return;if(cd.type=="keyword"&&"!important".indexOf(cd.string)==0)return{list:["!important"],from:nd.Pos(ud.line,cd.start),to:nd.Pos(ud.line,cd.end)};var pd=cd.start,fd=ud.ch,md=cd.string.slice(0,fd-pd);/[^\w$_-]/.test(md)&&(md="",pd=fd=ud.ch);var vd=nd.resolveMode("text/css"),Ad=[];function Nd(kd){for(var jd in kd)(!md||jd.lastIndexOf(md,0)==0)&&Ad.push(jd)}var Id=dd.state.state;if(Id=="pseudo"||cd.type=="variable-3"?Nd(od):Id=="block"||Id=="maybeprop"?Nd(vd.propertyKeywords):Id=="prop"||Id=="parens"||Id=="at"||Id=="params"?(Nd(vd.valueKeywords),Nd(vd.colorKeywords)):(Id=="media"||Id=="media_parens")&&(Nd(vd.mediaTypes),Nd(vd.mediaFeatures)),Ad.length)return{list:Ad,from:nd.Pos(ud.line,pd),to:nd.Pos(ud.line,fd)}})})})();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 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 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$1 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};
|