md/assets/index-D97sRHeX.js

1165 lines
6.4 MiB
JavaScript
Raw Normal View History

var Db=Object.defineProperty;var Ob=(e,t,y)=>t in e?Db(e,t,{enumerable:!0,configurable:!0,writable:!0,value:y}):e[t]=y;var Rb=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Od=(e,t,y)=>Ob(e,typeof t!="symbol"?t+"":t,y);import mermaid from"https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs";var Ib=Rb((exports,module)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const k of document.querySelectorAll('link[rel="modulepreload"]'))n(k);new MutationObserver(k=>{for(const L of k)if(L.type==="childList")for(const $ of L.addedNodes)$.tagName==="LINK"&&$.rel==="modulepreload"&&n($)}).observe(document,{childList:!0,subtree:!0});function y(k){const L={};return k.integrity&&(L.integrity=k.integrity),k.referrerPolicy&&(L.referrerPolicy=k.referrerPolicy),k.crossOrigin==="use-credentials"?L.credentials="include":k.crossOrigin==="anonymous"?L.credentials="omit":L.credentials="same-origin",L}function n(k){if(k.ep)return;k.ep=!0;const L=y(k);fetch(k.href,L)}})();const global$1=globalThis||void 0||self;/**
* @vue/shared v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function makeMap(e,t){const y=new Set(e.split(","));return n=>y.has(n)}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),isModelListener=e=>e.startsWith("onUpdate:"),extend$1=Object.assign,remove=(e,t)=>{const y=e.indexOf(t);y>-1&&e.splice(y,1)},hasOwnProperty$g=Object.prototype.hasOwnProperty,hasOwn$1=(e,t)=>hasOwnProperty$g.call(e,t),isArray$2=Array.isArray,isMap$1=e=>toTypeString(e)==="[object Map]",isSet$1=e=>toTypeString(e)==="[object Set]",isDate$1=e=>toTypeString(e)==="[object Date]",isFunction$4=e=>typeof e=="function",isString$3=e=>typeof e=="string",isSymbol$1=e=>typeof e=="symbol",isObject$4=e=>e!==null&&typeof e=="object",isPromise=e=>(isObject$4(e)||isFunction$4(e))&&isFunction$4(e.then)&&isFunction$4(e.catch),objectToString$1=Object.prototype.toString,toTypeString=e=>objectToString$1.call(e),toRawType=e=>toTypeString(e).slice(8,-1),isPlainObject$3=e=>toTypeString(e)==="[object Object]",isIntegerKey=e=>isString$3(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=e=>{const t=Object.create(null);return y=>t[y]||(t[y]=e(y))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(e=>e.replace(camelizeRE,(t,y)=>y?y.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate$1=cacheStringFunction(e=>e.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction(e=>e.charAt(0).toUpperCase()+e.slice(1)),toHandlerKey=cacheStringFunction(e=>e?`on${capitalize$1(e)}`:""),hasChanged=(e,t)=>!Object.is(e,t),invokeArrayFns=(e,...t)=>{for(let y=0;y<e.length;y++)e[y](...t)},def$1=(e,t,y,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:y})},looseToNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},toNumber$3=e=>{const t=isString$3(e)?Number(e):NaN;return isNaN(t)?e:t};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(e){if(isArray$2(e)){const t={};for(let y=0;y<e.length;y++){const n=e[y],k=isString$3(n)?parseStringStyle(n):normalizeStyle(n);if(k)for(const L in k)t[L]=k[L]}return t}else if(isString$3(e)||isObject$4(e))return e}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(e){const t={};return e.replace(styleCommentRE,"").split(listDelimiterRE).forEach(y=>{if(y){const n=y.split(propertyDelimiterRE);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function normalizeClass(e){let t="";if(isString$3(e))t=e;else if(isArray$2(e))for(let y=0;y<e.length;y++){const n=normalizeClass(e[y]);n&&(t+=n+" ")}else if(isObject$4(e))for(const y in e)e[y]&&(t+=y+" ");return t.trim()}function normalizeProps(e){if(!e)return null;let{class:t,style:y}=e;return t&&!isString$3(t)&&(e.class=normalizeClass(t)),y&&(e.style=normalizeStyle(y)),e}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(e){return!!e||e===""}function looseCompareArrays(e,t){if(e.length!==t.length)return!1;let y=!0;for(let n=0;y&&n<e.length;n++)y=looseEqual(e[n],t[n]);return y}function looseEqual(e,t){if(e===t)return!0;let y=isDate$1(e),n=isDate$1(t);if(y||n)return y&&n?e.getTime()===t.getTime():!1;if(y=isSymbol$1(e),n=isSymbol$1(t),y||n)return e===t;if(y=isArray$2(e),n=isArray$2(t),y||n)return y&&n?looseCompareArrays(e,t):!1;if(y=isObject$4(e),n=isObject$4(t),y||n){if(!y||!n)return!1;const k=Object.keys(e).length,L=Object.keys(t).length;if(k!==L)return!1;for(const $ in e){const j=e.hasOwnProperty($),V=t.hasOwnProperty($);if(j&&!V||!j&&V||!looseEqual(e[$],t[$]))return!1}}return String(e)===String(t)}function looseIndexOf(e,t){return e.findIndex(y=>looseEqual(y,t))}const isRef$1=e=>!!(e&&e.__v_
* @vue/reactivity v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let activeEffectScope;class EffectScope{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!t&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const y=activeEffectScope;try{return activeEffectScope=this,t()}finally{activeEffectScope=y}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(t){if(this._active){let y,n;for(y=0,n=this.effects.length;y<n;y++)this.effects[y].stop();for(y=0,n=this.cleanups.length;y<n;y++)this.cleanups[y]();if(this.scopes)for(y=0,n=this.scopes.length;y<n;y++)this.scopes[y].stop(!0);if(!this.detached&&this.parent&&!t){const k=this.parent.scopes.pop();k&&k!==this&&(this.parent.scopes[this.index]=k,k.index=this.index)}this.parent=void 0,this._active=!1}}}function effectScope(e){return new EffectScope(e)}function recordEffectScope(e,t=activeEffectScope){t&&t.active&&t.effects.push(e)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(e){activeEffectScope&&activeEffectScope.cleanups.push(e)}let activeEffect;class ReactiveEffect{constructor(t,y,n,k){this.fn=t,this.trigger=y,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,recordEffectScope(this,k)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,pauseTracking();for(let t=0;t<this._depsLength;t++){const y=this.deps[t];if(y.computed&&(triggerComputed(y.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),resetTracking()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=shouldTrack,y=activeEffect;try{return shouldTrack=!0,activeEffect=this,this._runnings++,preCleanupEffect(this),this.fn()}finally{postCleanupEffect(this),this._runnings--,activeEffect=y,shouldTrack=t}}stop(){this.active&&(preCleanupEffect(this),postCleanupEffect(this),this.onStop&&this.onStop(),this.active=!1)}}function triggerComputed(e){return e.value}function preCleanupEffect(e){e._trackId++,e._depsLength=0}function postCleanupEffect(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)cleanupDepEffect(e.deps[t],e);e.deps.length=e._depsLength}}function cleanupDepEffect(e,t){const y=e.get(t);y!==void 0&&t._trackId!==y&&(e.delete(t),e.size===0&&e.cleanup())}let shouldTrack=!0,pauseScheduleStack=0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const e=trackStack.pop();shouldTrack=e===void 0?!0:e}function pauseScheduling(){pauseScheduleStack++}function resetScheduling(){for(pauseScheduleStack--;!pauseScheduleStack&&queueEffectSchedulers.length;)queueEffectSchedulers.shift()()}function trackEffect(e,t,y){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&cleanupDepEffect(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const queueEffectSchedulers=[];function triggerEffects(e,t,y){pauseScheduling();for(const n of e.keys()){let k;n._dirtyLevel<t&&(k??(k=e.get(n)===n._trackId))&&(n._shouldSchedule||(n._shouldSchedule=n._dirtyLevel===0),n._dirtyLevel=t),n._shouldSchedule&&(k??(k=e.get(n)===n._trackId))&&(n.trigger(),(!n._runnings||n.allowRecurse)&&n._dirtyLevel!==2&&(n._shouldSchedule=!1,n.scheduler&&queueEffectSchedulers.push(n.scheduler)))}resetScheduling()}const createDep=(e,t)=>{const y=new Map;return y.cleanup=e,y.computed=t,y},targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");function track(e,t,y){if(shouldTrack&&activeEffect){let n=targetMap.get(e);n||targetMap.set(e,n=new Map);let k=n.get(y);k||n.set(y,k=createDep(()=>n.delete(y))),trackEffect(activeEffect,k)}}function trigger(e,t,y,n,k,L){const $=targetMap.get(e);if(!$)return;let j=[];if(t==="clear")j=[...$.values()];else if(y==="length"&&isArray$2(e)){const V=Number(n);$.forEach((z,re)=>{(re==="length"||!isSymbol$1(re)&&re>=V)&&j.push(z)})}else switc
* @vue/runtime-core v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const stack=[];let isWarning=!1;function warn$1(e,...t){if(isWarning)return;isWarning=!0,pauseTracking();const y=stack.length?stack[stack.length-1].component:null,n=y&&y.appContext.config.warnHandler,k=getComponentTrace();if(n)callWithErrorHandling(n,y,11,[e+t.map(L=>{var $,j;return(j=($=L.toString)==null?void 0:$.call(L))!=null?j:JSON.stringify(L)}).join(""),y&&y.proxy,k.map(({vnode:L})=>`at <${formatComponentName(y,L.type)}>`).join(`
`),k]);else{const L=[`[Vue warn]: ${e}`,...t];k.length&&L.push(`
`,...formatTrace(k)),console.warn(...L)}resetTracking(),isWarning=!1}function getComponentTrace(){let e=stack[stack.length-1];if(!e)return[];const t=[];for(;e;){const y=t[0];y&&y.vnode===e?y.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function formatTrace(e){const t=[];return e.forEach((y,n)=>{t.push(...n===0?[]:[`
`],...formatTraceEntry(y))}),t}function formatTraceEntry({vnode:e,recurseCount:t}){const y=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,k=` at <${formatComponentName(e.component,e.type,n)}`,L=">"+y;return e.props?[k,...formatProps(e.props),L]:[k+L]}function formatProps(e){const t=[],y=Object.keys(e);return y.slice(0,3).forEach(n=>{t.push(...formatProp(n,e[n]))}),y.length>3&&t.push(" ..."),t}function formatProp(e,t,y){return isString$3(t)?(t=JSON.stringify(t),y?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?y?t:[`${e}=${t}`]:isRef(t)?(t=formatProp(e,toRaw(t.value),!0),y?t:[`${e}=Ref<`,t,">"]):isFunction$4(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=toRaw(t),y?t:[`${e}=`,t])}function callWithErrorHandling(e,t,y,n){try{return n?e(...n):e()}catch(k){handleError(k,t,y)}}function callWithAsyncErrorHandling(e,t,y,n){if(isFunction$4(e)){const k=callWithErrorHandling(e,t,y,n);return k&&isPromise(k)&&k.catch(L=>{handleError(L,t,y)}),k}if(isArray$2(e)){const k=[];for(let L=0;L<e.length;L++)k.push(callWithAsyncErrorHandling(e[L],t,y,n));return k}}function handleError(e,t,y,n=!0){const k=t?t.vnode:null;if(t){let L=t.parent;const $=t.proxy,j=`https://vuejs.org/error-reference/#runtime-${y}`;for(;L;){const z=L.ec;if(z){for(let re=0;re<z.length;re++)if(z[re](e,$,j)===!1)return}L=L.parent}const V=t.appContext.config.errorHandler;if(V){pauseTracking(),callWithErrorHandling(V,null,10,[e,$,j]),resetTracking();return}}logError(e,y,k,n)}function logError(e,t,y,n=!0){console.error(e)}let isFlushing=!1,isFlushPending=!1;const queue$2=[];let flushIndex=0;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick$1(e){const t=currentFlushPromise||resolvedPromise;return e?t.then(this?e.bind(this):e):t}function findInsertionIndex(e){let t=flushIndex+1,y=queue$2.length;for(;t<y;){const n=t+y>>>1,k=queue$2[n],L=getId(k);L<e||L===e&&k.pre?t=n+1:y=n}return t}function queueJob(e){(!queue$2.length||!queue$2.includes(e,isFlushing&&e.allowRecurse?flushIndex+1:flushIndex))&&(e.id==null?queue$2.push(e):queue$2.splice(findInsertionIndex(e.id),0,e),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob(e){const t=queue$2.indexOf(e);t>flushIndex&&queue$2.splice(t,1)}function queuePostFlushCb(e){isArray$2(e)?pendingPostFlushCbs.push(...e):(!activePostFlushCbs||!activePostFlushCbs.includes(e,e.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(e),queueFlush()}function flushPreFlushCbs(e,t,y=isFlushing?flushIndex+1:0){for(;y<queue$2.length;y++){const n=queue$2[y];if(n&&n.pre){if(e&&n.id!==e.uid)continue;queue$2.splice(y,1),y--,n()}}}function flushPostFlushCbs(e){if(pendingPostFlushCbs.length){const t=[...new Set(pendingPostFlushCbs)].sort((y,n)=>getId(y)-getId(n));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...t);return}for(activePostFlushCbs=t,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++){const y=activePostFlushCbs[postFlushIndex];y.active!==!1&&y()}activePostFlushCbs=null,postFlushIndex=0}}const getId=e=>e.id==null?1/0:e.id,comparator=(e,t)=>{const y=getId(e)-getId(t);if(y===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return y};function flushJobs(e){isFlushPending=!1,isFlushing=!0,queue$2.sort(comparator);try{for(flushIndex=0;flushIndex<queue$2.length;flushIndex++){const t=queue$2[flushIndex];t&&t.active!==!1&&callWithErrorHandling(t,t.i,t.i?15:14)}}finally{flushIndex=0,queue$2.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue$2.length||pendingPostFlushCbs.length)&&flushJobs()}}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){const t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function pushScopeId(e){currentScopeId=e}function popScopeId(){currentScopeId=null}function withCtx(e,t=currentR
* @vue/runtime-dom v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const 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:(e,t,y)=>{t.insertBefore(e,y||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,y,n)=>{const k=t==="svg"?doc.createElementNS(svgNS,e):t==="mathml"?doc.createElementNS(mathmlNS,e):y?doc.createElement(e,{is:y}):doc.createElement(e);return e==="select"&&n&&n.multiple!=null&&k.setAttribute("multiple",n.multiple),k},createText:e=>doc.createTextNode(e),createComment:e=>doc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>doc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,y,n,k,L){const $=y?y.previousSibling:t.lastChild;if(k&&(k===L||k.nextSibling))for(;t.insertBefore(k.cloneNode(!0),y),!(k===L||!(k=k.nextSibling)););else{templateContainer.innerHTML=n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e;const j=templateContainer.content;if(n==="svg"||n==="mathml"){const V=j.firstChild;for(;V.firstChild;)j.appendChild(V.firstChild);j.removeChild(V)}t.insertBefore(j,y)}return[$?$.nextSibling:t.firstChild,y?y.previousSibling:t.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition=(e,{slots:t})=>h$1(BaseTransition,resolveTransitionProps(e),t);Transition.displayName="Transition";const 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=Transition.props=extend$1({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(e,t=[])=>{isArray$2(e)?e.forEach(y=>y(...t)):e&&e(...t)},hasExplicitCallback=e=>e?isArray$2(e)?e.some(t=>t.length>1):e.length>1:!1;function resolveTransitionProps(e){const t={};for(const er in e)er in DOMTransitionPropsValidators||(t[er]=e[er]);if(e.css===!1)return t;const{name:y="v",type:n,duration:k,enterFromClass:L=`${y}-enter-from`,enterActiveClass:$=`${y}-enter-active`,enterToClass:j=`${y}-enter-to`,appearFromClass:V=L,appearActiveClass:z=$,appearToClass:re=j,leaveFromClass:ie=`${y}-leave-from`,leaveActiveClass:ae=`${y}-leave-active`,leaveToClass:oe=`${y}-leave-to`}=e,ue=normalizeDuration(k),de=ue&&ue[0],Oe=ue&&ue[1],{onBeforeEnter:_e,onEnter:Ce,onEnterCancelled:pe,onLeave:Ne,onLeaveCancelled:Fe,onBeforeAppear:Ve=_e,onAppear:Pt=Ce,onAppearCancelled:kt=pe}=t,Ue=(er,tr,ir)=>{removeTransitionClass(er,tr?re:j),removeTransitionClass(er,tr?z:$),ir&&ir()},ze=(er,tr)=>{er._isLeaving=!1,removeTransitionClass(er,ie),removeTransitionClass(er,oe),removeTransitionClass(er,ae),tr&&tr()},Et=er=>(tr,ir)=>{const rr=er?Pt:Ce,lr=()=>Ue(tr,er,ir);callHook(rr,[tr,lr]),nextFrame(()=>{removeTransitionClass(tr,er?V:L),addTransitionClass(tr,er?re:j),hasExplicitCallback(rr)||whenTransitionEnds(tr,n,de,lr)})};return extend$1(t,{onBeforeEnter(er){callHook(_e,[er]),addTransitionClass(er,L),addTransitionClass(er,$)},onBeforeAppear(er){callHook(Ve,[er]),addTransitionClass(er,V),addTransitionClass(er,z)},onEnter:Et(!1),onAppear:Et(!0),onLeave(er,tr){er._isLeaving=!0;const ir=()=>ze(er,tr);addTransitionClass(er,ie),addTransitionClass(er,ae),forceReflow(),nextFrame(()=>{er._isLeaving&&(removeTransitionClass(er,ie),addTransitionClass(er,oe),hasExplicitCallback(Ne)||whenTransitionEnds(er,n,Oe,ir))}),callHook(Ne,[er,ir])},onEnterCancelled(er){Ue(er,!1),callHook(pe,[er])},onAppearCancelled(er){Ue(er,!0),callHook(kt,[er])},onLeaveCancelled(er){ze(er),callHook(Fe,[er])}})}function normalizeDuration(e){if(e==null)return null;if(isObject$4(e))return[NumberOf(e.enter),NumberOf(e.leave)];{const t=NumberOf(e);return[t,t]}}function NumberOf(e){return toNumber$3(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach(y=>y&&e.classList.add(y)),(e[v
`).map(k=>{const L=k.match(/^\s+/);if(L===null)return k;const[$]=L;return $.length>=n.length?k.slice(n.length):k}).join(`
`)}class _Tokenizer{constructor(t){Od(this,"options");Od(this,"rules");Od(this,"lexer");this.options=t||_defaults}space(t){const y=this.rules.block.newline.exec(t);if(y&&y[0].length>0)return{type:"space",raw:y[0]}}code(t){const y=this.rules.block.code.exec(t);if(y){const n=y[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:y[0],codeBlockStyle:"indented",text:this.options.pedantic?n:rtrim(n,`
`)}}}fences(t){const y=this.rules.block.fences.exec(t);if(y){const n=y[0],k=indentCodeCompensation(n,y[3]||"");return{type:"code",raw:n,lang:y[2]?y[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):y[2],text:k}}}heading(t){const y=this.rules.block.heading.exec(t);if(y){let n=y[2].trim();if(/#$/.test(n)){const k=rtrim(n,"#");(this.options.pedantic||!k||/ $/.test(k))&&(n=k.trim())}return{type:"heading",raw:y[0],depth:y[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(t){const y=this.rules.block.hr.exec(t);if(y)return{type:"hr",raw:rtrim(y[0],`
`)}}blockquote(t){const y=this.rules.block.blockquote.exec(t);if(y){let n=rtrim(y[0],`
`).split(`
`),k="",L="";const $=[];for(;n.length>0;){let j=!1;const V=[];let z;for(z=0;z<n.length;z++)if(/^ {0,3}>/.test(n[z]))V.push(n[z]),j=!0;else if(!j)V.push(n[z]);else break;n=n.slice(z);const re=V.join(`
`),ie=re.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
$1`).replace(/^ {0,3}>[ \t]?/gm,"");k=k?`${k}
${re}`:re,L=L?`${L}
${ie}`:ie;const ae=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(ie,$,!0),this.lexer.state.top=ae,n.length===0)break;const oe=$[$.length-1];if((oe==null?void 0:oe.type)==="code")break;if((oe==null?void 0:oe.type)==="blockquote"){const ue=oe,de=ue.raw+`
`+n.join(`
`),Oe=this.blockquote(de);$[$.length-1]=Oe,k=k.substring(0,k.length-ue.raw.length)+Oe.raw,L=L.substring(0,L.length-ue.text.length)+Oe.text;break}else if((oe==null?void 0:oe.type)==="list"){const ue=oe,de=ue.raw+`
`+n.join(`
`),Oe=this.list(de);$[$.length-1]=Oe,k=k.substring(0,k.length-oe.raw.length)+Oe.raw,L=L.substring(0,L.length-ue.raw.length)+Oe.raw,n=de.substring($[$.length-1].raw.length).split(`
`);continue}}return{type:"blockquote",raw:k,tokens:$,text:L}}}list(t){let y=this.rules.block.list.exec(t);if(y){let n=y[1].trim();const k=n.length>1,L={type:"list",raw:"",ordered:k,start:k?+n.slice(0,-1):"",loose:!1,items:[]};n=k?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=k?n:"[*+-]");const $=new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`);let j=!1;for(;t;){let V=!1,z="",re="";if(!(y=$.exec(t))||this.rules.block.hr.test(t))break;z=y[0],t=t.substring(z.length);let ie=y[2].split(`
`,1)[0].replace(/^\t+/,_e=>" ".repeat(3*_e.length)),ae=t.split(`
`,1)[0],oe=!ie.trim(),ue=0;if(this.options.pedantic?(ue=2,re=ie.trimStart()):oe?ue=y[1].length+1:(ue=y[2].search(/[^ ]/),ue=ue>4?1:ue,re=ie.slice(ue),ue+=y[1].length),oe&&/^ *$/.test(ae)&&(z+=ae+`
`,t=t.substring(ae.length+1),V=!0),!V){const _e=new RegExp(`^ {0,${Math.min(3,ue-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),Ce=new RegExp(`^ {0,${Math.min(3,ue-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),pe=new RegExp(`^ {0,${Math.min(3,ue-1)}}(?:\`\`\`|~~~)`),Ne=new RegExp(`^ {0,${Math.min(3,ue-1)}}#`);for(;t;){const Fe=t.split(`
`,1)[0];if(ae=Fe,this.options.pedantic&&(ae=ae.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),pe.test(ae)||Ne.test(ae)||_e.test(ae)||Ce.test(t))break;if(ae.search(/[^ ]/)>=ue||!ae.trim())re+=`
`+ae.slice(ue);else{if(oe||ie.search(/[^ ]/)>=4||pe.test(ie)||Ne.test(ie)||Ce.test(ie))break;re+=`
`+ae}!oe&&!ae.trim()&&(oe=!0),z+=Fe+`
`,t=t.substring(Fe.length+1),ie=ae.slice(ue)}}L.loose||(j?L.loose=!0:/\n *\n *$/.test(z)&&(j=!0));let de=null,Oe;this.options.gfm&&(de=/^\[[ xX]\] /.exec(re),de&&(Oe=de[0]!=="[ ] ",re=re.replace(/^\[[ xX]\] +/,""))),L.items.push({type:"list_item",raw:z,task:!!de,checked:Oe,loose:!1,text:re,tokens:[]}),L.raw+=z}L.items[L.items.length-1].raw=L.items[L.items.length-1].raw.trimEnd(),L.items[L.items.length-1].text=L.items[L.items.length-1].text.trimEnd(),L.raw=L.raw.trimEnd();for(let V=0;V<L.items.length;V++)if(this.lexer.state.top=!1,L.items[V].tokens=this.lexer.blockTokens(L.items[V].text,[]),!L.loose){const z=L.items[V].tokens.filter(ie=>ie.type==="space"),re=z.length>0&&z.some(ie=>/\n.*\n/.test(ie.raw));L.loose=re}if(L.loose)for(let V=0;V<L.items.length;V++)L.items[V].loose=!0;return L}}html(t){const y=this.rules.block.html.exec(t);if(y)return{type:"html",block:!0,raw:y[0],pre:y[1]==="pre"||y[1]==="script"||y[1]==="style",text:y[0]}}def(t){const y=this.rules.block.def.exec(t);if(y){const n=y[1].toLowerCase().replace(/\s+/g," "),k=y[2]?y[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",L=y[3]?y[3].substring(1,y[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):y[3];return{type:"def",tag:n,raw:y[0],href:k,title:L}}}table(t){const y=this.rules.block.table.exec(t);if(!y||!/[:|]/.test(y[2]))return;const n=splitCells(y[1]),k=y[2].replace(/^\||\| *$/g,"").split("|"),L=y[3]&&y[3].trim()?y[3].replace(/\n[ \t]*$/,"").split(`
`):[],$={type:"table",raw:y[0],header:[],align:[],rows:[]};if(n.length===k.length){for(const j of k)/^ *-+: *$/.test(j)?$.align.push("right"):/^ *:-+: *$/.test(j)?$.align.push("center"):/^ *:-+ *$/.test(j)?$.align.push("left"):$.align.push(null);for(let j=0;j<n.length;j++)$.header.push({text:n[j],tokens:this.lexer.inline(n[j]),header:!0,align:$.align[j]});for(const j of L)$.rows.push(splitCells(j,$.header.length).map((V,z)=>({text:V,tokens:this.lexer.inline(V),header:!1,align:$.align[z]})));return $}}lheading(t){const y=this.rules.block.lheading.exec(t);if(y)return{type:"heading",raw:y[0],depth:y[2].charAt(0)==="="?1:2,text:y[1],tokens:this.lexer.inline(y[1])}}paragraph(t){const y=this.rules.block.paragraph.exec(t);if(y){const n=y[1].charAt(y[1].length-1)===`
`?y[1].slice(0,-1):y[1];return{type:"paragraph",raw:y[0],text:n,tokens:this.lexer.inline(n)}}}text(t){const y=this.rules.block.text.exec(t);if(y)return{type:"text",raw:y[0],text:y[0],tokens:this.lexer.inline(y[0])}}escape(t){const y=this.rules.inline.escape.exec(t);if(y)return{type:"escape",raw:y[0],text:escape$1$1(y[1])}}tag(t){const y=this.rules.inline.tag.exec(t);if(y)return!this.lexer.state.inLink&&/^<a /i.test(y[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(y[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(y[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(y[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:y[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:y[0]}}link(t){const y=this.rules.inline.link.exec(t);if(y){const n=y[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;const $=rtrim(n.slice(0,-1),"\\");if((n.length-$.length)%2===0)return}else{const $=findClosingBracket(y[2],"()");if($>-1){const V=(y[0].indexOf("!")===0?5:4)+y[1].length+$;y[2]=y[2].substring(0,$),y[0]=y[0].substring(0,V).trim(),y[3]=""}}let k=y[2],L="";if(this.options.pedantic){const $=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(k);$&&(k=$[1],L=$[3])}else L=y[3]?y[3].slice(1,-1):"";return k=k.trim(),/^</.test(k)&&(this.options.pedantic&&!/>$/.test(n)?k=k.slice(1):k=k.slice(1,-1)),outputLink(y,{href:k&&k.replace(this.rules.inline.anyPunctuation,"$1"),title:L&&L.replace(this.rules.inline.anyPunctuation,"$1")},y[0],this.lexer)}}reflink(t,y){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){const k=(n[2]||n[1]).replace(/\s+/g," "),L=y[k.toLowerCase()];if(!L){const $=n[0].charAt(0);return{type:"text",raw:$,text:$}}return outputLink(n,L,n[0],this.lexer)}}emStrong(t,y,n=""){let k=this.rules.inline.emStrongLDelim.exec(t);if(!k||k[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(k[1]||k[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const $=[...k[0]].length-1;let j,V,z=$,re=0;const ie=k[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(ie.lastIndex=0,y=y.slice(-1*t.length+$);(k=ie.exec(y))!=null;){if(j=k[1]||k[2]||k[3]||k[4]||k[5]||k[6],!j)continue;if(V=[...j].length,k[3]||k[4]){z+=V;continue}else if((k[5]||k[6])&&$%3&&!(($+V)%3)){re+=V;continue}if(z-=V,z>0)continue;V=Math.min(V,V+z+re);const ae=[...k[0]][0].length,oe=t.slice(0,$+k.index+ae+V);if(Math.min($,V)%2){const de=oe.slice(1,-1);return{type:"em",raw:oe,text:de,tokens:this.lexer.inlineTokens(de)}}const ue=oe.slice(2,-2);return{type:"strong",raw:oe,text:ue,tokens:this.lexer.inlineTokens(ue)}}}}codespan(t){const y=this.rules.inline.code.exec(t);if(y){let n=y[2].replace(/\n/g," ");const k=/[^ ]/.test(n),L=/^ /.test(n)&&/ $/.test(n);return k&&L&&(n=n.substring(1,n.length-1)),n=escape$1$1(n,!0),{type:"codespan",raw:y[0],text:n}}}br(t){const y=this.rules.inline.br.exec(t);if(y)return{type:"br",raw:y[0]}}del(t){const y=this.rules.inline.del.exec(t);if(y)return{type:"del",raw:y[0],text:y[2],tokens:this.lexer.inlineTokens(y[2])}}autolink(t){const y=this.rules.inline.autolink.exec(t);if(y){let n,k;return y[2]==="@"?(n=escape$1$1(y[1]),k="mailto:"+n):(n=escape$1$1(y[1]),k=n),{type:"link",raw:y[0],text:n,href:k,tokens:[{type:"text",raw:n,text:n}]}}}url(t){var n;let y;if(y=this.rules.inline.url.exec(t)){let k,L;if(y[2]==="@")k=escape$1$1(y[0]),L="mailto:"+k;else{let $;do $=y[0],y[0]=((n=this.rules.inline._backpedal.exec(y[0]))==null?void 0:n[0])??"";while($!==y[0]);k=escape$1$1(y[0]),y[1]==="www."?L="http://"+y[0]:L=y[0]}return{type:"link",raw:y[0],text:k,href:L,tokens:[{type:"text",raw:k,text:k}]}}}inlineText(t){const y=this.rules.inline.text.exec(t);if(y){let n;return this.lexer.state.inRawBlock?n=y[0]:n=escape$1$1(y[0]),{type:"text",raw:y[0],text:n}}}}const newline=/^(?: *(?:\n|$))+/,blockCode=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)
]`).replace("lheading",lheading).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},escape$4=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,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$4,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$4).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$2={normal:blockNormal,gfm:blockGfm,pedantic:blockPedantic},inline$1={normal:inlineNormal,gfm:inlineGfm,breaks:inlineBreaks,pedantic:inlinePedantic};class _Lexer{constructor(t){Od(thi
`),this.blockTokens(t,this.tokens);for(let y=0;y<this.inlineQueue.length;y++){const n=this.inlineQueue[y];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,y=[],n=!1){this.options.pedantic?t=t.replace(/\t/g," ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,(j,V,z)=>V+" ".repeat(z.length));let k,L,$;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(j=>(k=j.call({lexer:this},t,y))?(t=t.substring(k.raw.length),y.push(k),!0):!1))){if(k=this.tokenizer.space(t)){t=t.substring(k.raw.length),k.raw.length===1&&y.length>0?y[y.length-1].raw+=`
`:y.push(k);continue}if(k=this.tokenizer.code(t)){t=t.substring(k.raw.length),L=y[y.length-1],L&&(L.type==="paragraph"||L.type==="text")?(L.raw+=`
`+k.raw,L.text+=`
`+k.text,this.inlineQueue[this.inlineQueue.length-1].src=L.text):y.push(k);continue}if(k=this.tokenizer.fences(t)){t=t.substring(k.raw.length),y.push(k);continue}if(k=this.tokenizer.heading(t)){t=t.substring(k.raw.length),y.push(k);continue}if(k=this.tokenizer.hr(t)){t=t.substring(k.raw.length),y.push(k);continue}if(k=this.tokenizer.blockquote(t)){t=t.substring(k.raw.length),y.push(k);continue}if(k=this.tokenizer.list(t)){t=t.substring(k.raw.length),y.push(k);continue}if(k=this.tokenizer.html(t)){t=t.substring(k.raw.length),y.push(k);continue}if(k=this.tokenizer.def(t)){t=t.substring(k.raw.length),L=y[y.length-1],L&&(L.type==="paragraph"||L.type==="text")?(L.raw+=`
`+k.raw,L.text+=`
`+k.raw,this.inlineQueue[this.inlineQueue.length-1].src=L.text):this.tokens.links[k.tag]||(this.tokens.links[k.tag]={href:k.href,title:k.title});continue}if(k=this.tokenizer.table(t)){t=t.substring(k.raw.length),y.push(k);continue}if(k=this.tokenizer.lheading(t)){t=t.substring(k.raw.length),y.push(k);continue}if($=t,this.options.extensions&&this.options.extensions.startBlock){let j=1/0;const V=t.slice(1);let z;this.options.extensions.startBlock.forEach(re=>{z=re.call({lexer:this},V),typeof z=="number"&&z>=0&&(j=Math.min(j,z))}),j<1/0&&j>=0&&($=t.substring(0,j+1))}if(this.state.top&&(k=this.tokenizer.paragraph($))){L=y[y.length-1],n&&(L==null?void 0:L.type)==="paragraph"?(L.raw+=`
`+k.raw,L.text+=`
`+k.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=L.text):y.push(k),n=$.length!==t.length,t=t.substring(k.raw.length);continue}if(k=this.tokenizer.text(t)){t=t.substring(k.raw.length),L=y[y.length-1],L&&L.type==="text"?(L.raw+=`
`+k.raw,L.text+=`
`+k.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=L.text):y.push(k);continue}if(t){const j="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(j);break}else throw new Error(j)}}return this.state.top=!0,y}inline(t,y=[]){return this.inlineQueue.push({src:t,tokens:y}),y}inlineTokens(t,y=[]){let n,k,L,$=t,j,V,z;if(this.tokens.links){const re=Object.keys(this.tokens.links);if(re.length>0)for(;(j=this.tokenizer.rules.inline.reflinkSearch.exec($))!=null;)re.includes(j[0].slice(j[0].lastIndexOf("[")+1,-1))&&($=$.slice(0,j.index)+"["+"a".repeat(j[0].length-2)+"]"+$.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(j=this.tokenizer.rules.inline.blockSkip.exec($))!=null;)$=$.slice(0,j.index)+"["+"a".repeat(j[0].length-2)+"]"+$.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(j=this.tokenizer.rules.inline.anyPunctuation.exec($))!=null;)$=$.slice(0,j.index)+"++"+$.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(V||(z=""),V=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(re=>(n=re.call({lexer:this},t,y))?(t=t.substring(n.raw.length),y.push(n),!0):!1))){if(n=this.tokenizer.escape(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.tag(t)){t=t.substring(n.raw.length),k=y[y.length-1],k&&n.type==="text"&&k.type==="text"?(k.raw+=n.raw,k.text+=n.text):y.push(n);continue}if(n=this.tokenizer.link(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(n.raw.length),k=y[y.length-1],k&&n.type==="text"&&k.type==="text"?(k.raw+=n.raw,k.text+=n.text):y.push(n);continue}if(n=this.tokenizer.emStrong(t,$,z)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.codespan(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.br(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.del(t)){t=t.substring(n.raw.length),y.push(n);continue}if(n=this.tokenizer.autolink(t)){t=t.substring(n.raw.length),y.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(t))){t=t.substring(n.raw.length),y.push(n);continue}if(L=t,this.options.extensions&&this.options.extensions.startInline){let re=1/0;const ie=t.slice(1);let ae;this.options.extensions.startInline.forEach(oe=>{ae=oe.call({lexer:this},ie),typeof ae=="number"&&ae>=0&&(re=Math.min(re,ae))}),re<1/0&&re>=0&&(L=t.substring(0,re+1))}if(n=this.tokenizer.inlineText(L)){t=t.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(z=n.raw.slice(-1)),V=!0,k=y[y.length-1],k&&k.type==="text"?(k.raw+=n.raw,k.text+=n.text):y.push(n);continue}if(t){const re="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(re);break}else throw new Error(re)}}return y}}class _Renderer{constructor(t){Od(this,"options");Od(this,"parser");this.options=t||_defaults}space(t){return""}code({text:t,lang:y,escaped:n}){var $;const k=($=(y||"").match(/^\S*/))==null?void 0:$[0],L=t.replace(/\n$/,"")+`
`;return k?'<pre><code class="language-'+escape$1$1(k)+'">'+(n?L:escape$1$1(L,!0))+`</code></pre>
`:"<pre><code>"+(n?L:escape$1$1(L,!0))+`</code></pre>
`}blockquote({tokens:t}){return`<blockquote>
${this.parser.parse(t)}</blockquote>
`}html({text:t}){return t}heading({tokens:t,depth:y}){return`<h${y}>${this.parser.parseInline(t)}</h${y}>
`}hr(t){return`<hr>
`}list(t){const y=t.ordered,n=t.start;let k="";for(let j=0;j<t.items.length;j++){const V=t.items[j];k+=this.listitem(V)}const L=y?"ol":"ul",$=y&&n!==1?' start="'+n+'"':"";return"<"+L+$+`>
`+k+"</"+L+`>
`}listitem(t){let y="";if(t.task){const n=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&t.tokens[0].type==="paragraph"?(t.tokens[0].text=n+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=n+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" "}):y+=n+" "}return y+=this.parser.parse(t.tokens,!!t.loose),`<li>${y}</li>
`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
`}table(t){let y="",n="";for(let L=0;L<t.header.length;L++)n+=this.tablecell(t.header[L]);y+=this.tablerow({text:n});let k="";for(let L=0;L<t.rows.length;L++){const $=t.rows[L];n="";for(let j=0;j<$.length;j++)n+=this.tablecell($[j]);k+=this.tablerow({text:n})}return k&&(k=`<tbody>${k}</tbody>`),`<table>
<thead>
`+y+`</thead>
`+k+`</table>
`}tablerow({text:t}){return`<tr>
${t}</tr>
`}tablecell(t){const y=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+y+`</${n}>
`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${t}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:y,tokens:n}){const k=this.parser.parseInline(n),L=cleanUrl(t);if(L===null)return k;t=L;let $='<a href="'+t+'"';return y&&($+=' title="'+y+'"'),$+=">"+k+"</a>",$}image({href:t,title:y,text:n}){const k=cleanUrl(t);if(k===null)return n;t=k;let L=`<img src="${t}" alt="${n}"`;return y&&(L+=` title="${y}"`),L+=">",L}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):t.text}}class _TextRenderer{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}}class _Parser{constructor(t){Od(this,"options");Od(this,"renderer");Od(this,"textRenderer");this.options=t||_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(t,y){return new _Parser(y).parse(t)}static parseInline(t,y){return new _Parser(y).parseInline(t)}parse(t,y=!0){let n="";for(let k=0;k<t.length;k++){const L=t[k];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[L.type]){const j=L,V=this.options.extensions.renderers[j.type].call({parser:this},j);if(V!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(j.type)){n+=V||"";continue}}const $=L;switch($.type){case"space":{n+=this.renderer.space($);continue}case"hr":{n+=this.renderer.hr($);continue}case"heading":{n+=this.renderer.heading($);continue}case"code":{n+=this.renderer.code($);continue}case"table":{n+=this.renderer.table($);continue}case"blockquote":{n+=this.renderer.blockquote($);continue}case"list":{n+=this.renderer.list($);continue}case"html":{n+=this.renderer.html($);continue}case"paragraph":{n+=this.renderer.paragraph($);continue}case"text":{let j=$,V=this.renderer.text(j);for(;k+1<t.length&&t[k+1].type==="text";)j=t[++k],V+=`
`+this.renderer.text(j);y?n+=this.renderer.paragraph({type:"paragraph",raw:V,text:V,tokens:[{type:"text",raw:V,text:V}]}):n+=V;continue}default:{const j='Token with "'+$.type+'" type was not found.';if(this.options.silent)return console.error(j),"";throw new Error(j)}}}return n}parseInline(t,y){y=y||this.renderer;let n="";for(let k=0;k<t.length;k++){const L=t[k];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[L.type]){const j=this.options.extensions.renderers[L.type].call({parser:this},L);if(j!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(L.type)){n+=j||"";continue}}const $=L;switch($.type){case"escape":{n+=y.text($);break}case"html":{n+=y.html($);break}case"link":{n+=y.link($);break}case"image":{n+=y.image($);break}case"strong":{n+=y.strong($);break}case"em":{n+=y.em($);break}case"codespan":{n+=y.codespan($);break}case"br":{n+=y.br($);break}case"del":{n+=y.del($);break}case"text":{n+=y.text($);break}default:{const j='Token with "'+$.type+'" type was not found.';if(this.options.silent)return console.error(j),"";throw new Error(j)}}}return n}}class _Hooks{constructor(t){Od(this,"options");Od(this,"block");this.options=t||_defaults}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?_Lexer.lex:_Lexer.lexInline}provideParser(){return this.block?_Parser.parse:_Parser.parseInline}}Od(_Hooks,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class Marked{constructor(...t){Od(this,"defaults",_getDefaults());Od(this,"options",this.setOptions);Od(this,"parse",this.parseMarkdown(!0));Od(this,"parseInline",this.parseMarkdown(!1));Od(this,"Parser",_Parser);Od(this,"Renderer",_Renderer);Od(this,"TextRenderer",_TextRenderer);Od(this,"Lexer",_Lexer);Od(this,"Tokenizer",_Tokenizer);Od(this,"Hooks",_Hooks);this.use(...t)}walkTokens(t,y){var k,L;let n=[];for(const $ of t)switch(n=n.concat(y.call(this,$)),$.type){case"table":{const j=$;for(const V of j.header)n=n.concat(this.walkTokens(V.tokens,y));for(const V of j.rows)for(const z of V)n=n.concat(this.walkTokens(z.tokens,y));break}case"list":{const j=$;n=n.concat(this.walkTokens(j.items,y));break}default:{const j=$;(L=(k=this.defaults.extensions)==null?void 0:k.childTokens)!=null&&L[j.type]?this.defaults.extensions.childTokens[j.type].forEach(V=>{const z=j[V].flat(1/0);n=n.concat(this.walkTokens(z,y))}):j.tokens&&(n=n.concat(this.walkTokens(j.tokens,y)))}}return n}use(...t){const y=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(n=>{const k={...n};if(k.async=this.defaults.async||k.async||!1,n.extensions&&(n.extensions.forEach(L=>{if(!L.name)throw new Error("extension name required");if("renderer"in L){const $=y.renderers[L.name];$?y.renderers[L.name]=function(...j){let V=L.renderer.apply(this,j);return V===!1&&(V=$.apply(this,j)),V}:y.renderers[L.name]=L.renderer}if("tokenizer"in L){if(!L.level||L.level!=="block"&&L.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const $=y[L.level];$?$.unshift(L.tokenizer):y[L.level]=[L.tokenizer],L.start&&(L.level==="block"?y.startBlock?y.startBlock.push(L.start):y.startBlock=[L.start]:L.level==="inline"&&(y.startInline?y.startInline.push(L.start):y.startInline=[L.start]))}"childTokens"in L&&L.childTokens&&(y.childTokens[L.name]=L.childTokens)}),k.extensions=y),n.renderer){const L=this.defaults.renderer||new _Renderer(this.defaults);for(const $ in n.renderer){if(!($ in L))throw new Error(`renderer '${$}' does not exist`);if(["options","parser"].includes($))continue;const j=$,V=n.renderer[j],z=L[j];L[j]=(...re)=>{let ie=V.apply(L,re);return ie===!1&&(ie=z.apply(L,re)),ie||""}}k.renderer=L}if(n.tokenizer){const L=this.defaults.tokenizer||new _Tokenizer(this.defaults);for(const $ in n.tokenizer){if(!($ in L))throw new Error(`tokenizer '${$}' does not exist`);if(["options","rules","lexer"].includes($))continue;const j=$,V=n.tokenizer[j],z=L[j];L[j]=(...re)=>{let ie=V.apply(L,re);return ie===!1&&(ie=z.apply(L,re)),ie}}k.tokeniz
Please report this to https://github.com/markedjs/marked.`,t){const k="<p>An error occurred:</p><pre>"+escape$1$1(n.message+"",!0)+"</pre>";return y?Promise.resolve(k):k}if(y)return Promise.reject(n);throw n}}}const markedInstance=new Marked;function marked(e,t){return markedInstance.parse(e,t)}marked.options=marked.setOptions=function(e){return markedInstance.setOptions(e),marked.defaults=markedInstance.defaults,changeDefaults(marked.defaults),marked};marked.getDefaults=_getDefaults;marked.defaults=_defaults;marked.use=function(...e){return markedInstance.use(...e),marked.defaults=markedInstance.defaults,changeDefaults(marked.defaults),marked};marked.walkTokens=function(e,t){return markedInstance.walkTokens(e,t)};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;var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var y=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};y.prototype=t.prototype}else y={};return Object.defineProperty(y,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var k=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(y,n,k.get?k:{enumerable:!0,get:function(){return e[n]}})}),y}var codemirror={exports:{}},hasRequiredCodemirror;function requireCodemirror(){return hasRequiredCodemirror||(hasRequiredCodemirror=1,function(e,t){(function(y,n){e.exports=n()})(commonjsGlobal,function(){var y=navigator.userAgent,n=navigator.platform,k=/gecko\/\d/i.test(y),L=/MSIE \d/.test(y),$=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(y),j=/Edge\/(\d+)/.exec(y),V=L||$||j,z=V&&(L?document.documentMode||6:+(j||$)[1]),re=!j&&/WebKit\//.test(y),ie=re&&/Qt\/\d+\.\d+/.test(y),ae=!j&&/Chrome\/(\d+)/.exec(y),oe=ae&&+ae[1],ue=/Opera\//.test(y),de=/Apple Computer/.test(navigator.vendor),Oe=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(y),_e=/PhantomJS/.test(y),Ce=de&&(/Mobile\/\w+/.test(y)||navigator.maxTouchPoints>2),pe=/Android/.test(y),Ne=Ce||pe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(y),Fe=Ce||/Mac/.test(n),Ve=/\bCrOS\b/.test(y),Pt=/win/i.test(n),kt=ue&&y.match(/Version\/(\d*\.\d*)/);kt&&(kt=Number(kt[1])),kt&&kt>=15&&(ue=!1,re=!0);var Ue=Fe&&(ie||ue&&(kt==null||kt<12.11)),ze=k||V&&z>=9;function Et(Ie){return new RegExp("(^|\\s)"+Ie+"(?:$|\\s)\\s*")}var er=function(Ie,jt){var nr=Ie.className,sr=Et(jt).exec(nr);if(sr){var cr=nr.slice(sr.index+sr[0].length);Ie.className=nr.slice(0,sr.index)+(cr?sr[1]+cr:"")}};function tr(Ie){for(var jt=Ie.childNodes.length;jt>0;--jt)Ie.removeChild(Ie.firstChild);return Ie}function ir(Ie,jt){return tr(Ie).appendChild(jt)}function rr(Ie,jt,nr,sr){var cr=document.createElement(Ie);if(nr&&(cr.className=nr),sr&&(cr.style.cssText=sr),typeof jt=="string")cr.appendChild(document.createTextNode(jt));else if(jt)for(var jr=0;jr<jt.length;++jr)cr.appendChild(jt[jr]);return cr}function lr(Ie,jt,nr,sr){var cr=rr(Ie,jt,nr,sr);return cr.setAttribute("role","presentation"),cr}var ur;document.createRange?ur=function(Ie,jt,nr,sr){var cr=document.createRange();return cr.setEnd(sr||Ie,nr),cr.setStart(Ie,jt),cr}:ur=function(Ie,jt,nr){var sr=document.body.createTextRange();try{sr.moveToElementText(Ie.parentNode)}catch{return sr}return sr.collapse(!0),sr.moveEnd("character",nr),sr.moveStart("character",jt),sr};function fr(Ie,jt){if(jt.nodeType==3&&(jt=jt.parentNode),Ie.contains)return Ie.contains(jt);do if(jt.nodeType==11&&(jt=jt.host),jt==Ie)return!0;while(jt=jt.parentNode)}function mr(Ie){var jt=Ie.ownerDocument||Ie,nr;try{nr
b`.split(/\n/).length!=3?function(Ie){for(var jt=0,nr=[],sr=Ie.length;jt<=sr;){var cr=Ie.indexOf(`
`,jt);cr==-1&&(cr=Ie.length);var jr=Ie.slice(jt,Ie.charAt(cr-1)=="\r"?cr-1:cr),hn=jr.indexOf("\r");hn!=-1?(nr.push(jr.slice(0,hn)),jt+=hn+1):(nr.push(jr),jt=cr+1)}return nr}:function(Ie){return Ie.split(/\r\n?|\n/)},ei=window.getSelection?function(Ie){try{return Ie.selectionStart!=Ie.selectionEnd}catch{return!1}}:function(Ie){var jt;try{jt=Ie.ownerDocument.selection.createRange()}catch{}return!jt||jt.parentElement()!=Ie?!1:jt.compareEndPoints("StartToEnd",jt)!=0},vn=function(){var Ie=rr("div");return"oncopy"in Ie?!0:(Ie.setAttribute("oncopy","return;"),typeof Ie.oncopy=="function")}(),Fn=null;function Ui(Ie){if(Fn!=null)return Fn;var jt=ir(Ie,rr("span","x")),nr=jt.getBoundingClientRect(),sr=ur(jt,0,1).getBoundingClientRect();return Fn=Math.abs(nr.left-sr.left)>1}var Gi={},sa={};function qi(Ie,jt){arguments.length>2&&(jt.dependencies=Array.prototype.slice.call(arguments,2)),Gi[Ie]=jt}function Vo(Ie,jt){sa[Ie]=jt}function fo(Ie){if(typeof Ie=="string"&&sa.hasOwnProperty(Ie))Ie=sa[Ie];else if(Ie&&typeof Ie.name=="string"&&sa.hasOwnProperty(Ie.name)){var jt=sa[Ie.name];typeof jt=="string"&&(jt={name:jt}),Ie=Jr(jt,Ie),Ie.name=jt.name}else{if(typeof Ie=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(Ie))return fo("application/xml");if(typeof Ie=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(Ie))return fo("application/json")}return typeof Ie=="string"?{name:Ie}:Ie||{name:"null"}}function Mo(Ie,jt){jt=fo(jt);var nr=Gi[jt.name];if(!nr)return Mo(Ie,"text/plain");var sr=nr(Ie,jt);if(fs.hasOwnProperty(jt.name)){var cr=fs[jt.name];for(var jr in cr)cr.hasOwnProperty(jr)&&(sr.hasOwnProperty(jr)&&(sr["_"+jr]=sr[jr]),sr[jr]=cr[jr])}if(sr.name=jt.name,jt.helperType&&(sr.helperType=jt.helperType),jt.modeProps)for(var hn in jt.modeProps)sr[hn]=jt.modeProps[hn];return sr}var fs={};function On(Ie,jt){var nr=fs.hasOwnProperty(Ie)?fs[Ie]:fs[Ie]={};_r(jt,nr)}function Bo(Ie,jt){if(jt===!0)return jt;if(Ie.copyState)return Ie.copyState(jt);var nr={};for(var sr in jt){var cr=jt[sr];cr instanceof Array&&(cr=cr.concat([])),nr[sr]=cr}return nr}function Yl(Ie,jt){for(var nr;Ie.innerMode&&(nr=Ie.innerMode(jt),!(!nr||nr.mode==Ie));)jt=nr.state,Ie=nr.mode;return nr||{mode:Ie,state:jt}}function Oo(Ie,jt,nr){return Ie.startState?Ie.startState(jt,nr):!0}var _u=function(Ie,jt,nr){this.pos=this.start=0,this.string=Ie,this.tabSize=jt||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=nr};_u.prototype.eol=function(){return this.pos>=this.string.length},_u.prototype.sol=function(){return this.pos==this.lineStart},_u.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},_u.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},_u.prototype.eat=function(Ie){var jt=this.string.charAt(this.pos),nr;if(typeof Ie=="string"?nr=jt==Ie:nr=jt&&(Ie.test?Ie.test(jt):Ie(jt)),nr)return++this.pos,jt},_u.prototype.eatWhile=function(Ie){for(var jt=this.pos;this.eat(Ie););return this.pos>jt},_u.prototype.eatSpace=function(){for(var Ie=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>Ie},_u.prototype.skipToEnd=function(){this.pos=this.string.length},_u.prototype.skipTo=function(Ie){var jt=this.string.indexOf(Ie,this.pos);if(jt>-1)return this.pos=jt,!0},_u.prototype.backUp=function(Ie){this.pos-=Ie},_u.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Fr(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Fr(this.string,this.lineStart,this.tabSize):0)},_u.prototype.indentation=function(){return Fr(this.string,null,this.tabSize)-(this.lineStart?Fr(this.string,this.lineStart,this.tabSize):0)},_u.prototype.match=function(Ie,jt,nr){if(typeof Ie=="string"){var sr=function(hn){return nr?hn.toLowerCase():hn},cr=this.string.substr(this.pos,Ie.length);if(sr(cr)==sr(Ie))return jt!==!1&&(this.pos+=Ie.length),!0}else{var jr=this.string.slice(this.pos).match(Ie);return jr&&jr.index>0?null:(jr&&jt!==!1&&(this.pos+=jr[0].length),jr)}},_u.prototype.current=funct
`?(Ul=eo.appendChild(rr("span",ms[0]=="\r"?"␍":"␤","cm-invalidchar")),Ul.setAttribute("cm-text",ms[0]),Ie.col+=1):(Ul=Ie.cm.options.specialCharPlaceholder(ms[0]),Ul.setAttribute("cm-text",ms[0]),V&&z<9?eo.appendChild(rr("span",[Ul])):eo.appendChild(Ul),Ie.col+=1);Ie.map.push(Ie.pos,Ie.pos+1,Ul),Ie.pos++}}if(Ie.trailingSpace=zn.charCodeAt(jt.length-1)==32,nr||sr||cr||ca||jr||hn){var hu=nr||"";sr&&(hu+=sr),cr&&(hu+=cr);var gs=rr("span",[eo],hu,jr);if(hn)for(var fc in hn)hn.hasOwnProperty(fc)&&fc!="style"&&fc!="class"&&gs.setAttribute(fc,hn[fc]);return Ie.content.appendChild(gs)}Ie.content.appendChild(eo)}}function Gm(Ie,jt){if(Ie.length>1&&!/ /.test(Ie))return Ie;for(var nr=jt,sr="",cr=0;cr<Ie.length;cr++){var jr=Ie.charAt(cr);jr==" "&&nr&&(cr==Ie.length-1||Ie.charCodeAt(cr+1)==32)&&(jr=" "),sr+=jr,nr=jr==" "}return sr}function np(Ie,jt){return function(nr,sr,cr,jr,hn,zn,ci){cr=cr?cr+" cm-force-border":"cm-force-border";for(var ca=nr.pos,eo=ca+sr.length;;){for(var ps=void 0,ms=0;ms<jt.length&&(ps=jt[ms],!(ps.to>ca&&ps.from<=ca));ms++);if(ps.to>=eo)return Ie(nr,sr,cr,jr,hn,zn,ci);Ie(nr,sr.slice(0,ps.to-ca),cr,jr,null,zn,ci),jr=null,sr=sr.slice(ps.to-ca),ca=ps.to}}}function Gf(Ie,jt,nr,sr){var cr=!sr&&nr.widgetNode;cr&&Ie.map.push(Ie.pos,Ie.pos+jt,cr),!sr&&Ie.cm.display.input.needsContentAttribute&&(cr||(cr=Ie.content.appendChild(document.createElement("span"))),cr.setAttribute("cm-marker",nr.id)),cr&&(Ie.cm.display.input.setUneditable(cr),Ie.content.appendChild(cr)),Ie.pos+=jt,Ie.trailingSpace=!1}function qm(Ie,jt,nr){var sr=Ie.markedSpans,cr=Ie.text,jr=0;if(!sr){for(var hn=1;hn<nr.length;hn+=2)jt.addToken(jt,cr.slice(jr,jr=nr[hn]),Xd(nr[hn+1],jt.cm.options));return}for(var zn=cr.length,ci=0,ca=1,eo="",ps,ms,Ss=0,Xs,Ul,al,cu,hu;;){if(Ss==ci){Xs=Ul=al=ms="",hu=null,cu=null,Ss=1/0;for(var gs=[],fc=void 0,bc=0;bc<sr.length;++bc){var Lu=sr[bc],pc=Lu.marker;if(pc.type=="bookmark"&&Lu.from==ci&&pc.widgetNode)gs.push(pc);else if(Lu.from<=ci&&(Lu.to==null||Lu.to>ci||pc.collapsed&&Lu.to==ci&&Lu.from==ci)){if(Lu.to!=null&&Lu.to!=ci&&Ss>Lu.to&&(Ss=Lu.to,Ul=""),pc.className&&(Xs+=" "+pc.className),pc.css&&(ms=(ms?ms+";":"")+pc.css),pc.startStyle&&Lu.from==ci&&(al+=" "+pc.startStyle),pc.endStyle&&Lu.to==Ss&&(fc||(fc=[])).push(pc.endStyle,Lu.to),pc.title&&((hu||(hu={})).title=pc.title),pc.attributes)for(var Gc in pc.attributes)(hu||(hu={}))[Gc]=pc.attributes[Gc];pc.collapsed&&(!cu||qc(cu.marker,pc)<0)&&(cu=Lu)}else Lu.from>ci&&Ss>Lu.from&&(Ss=Lu.from)}if(fc)for(var Gd=0;Gd<fc.length;Gd+=2)fc[Gd+1]==Ss&&(Ul+=" "+fc[Gd]);if(!cu||cu.from==ci)for(var to=0;to<gs.length;++to)Gf(jt,0,gs[to]);if(cu&&(cu.from||0)==ci){if(Gf(jt,(cu.to==null?zn+1:cu.to)-ci,cu.marker,cu.from==null),cu.to==null)return;cu.to==ci&&(cu=!1)}}if(ci>=zn)break;for(var Zs=Math.min(zn,Ss);;){if(eo){var Ku=ci+eo.length;if(!cu){var Fc=Ku>Zs?eo.slice(0,Zs-ci):eo;jt.addToken(jt,Fc,ps?ps+Xs:Xs,al,ci+Fc.length==Ss?Ul:"",ms,hu)}if(Ku>=Zs){eo=eo.slice(Zs-ci),ci=Zs;break}ci=Ku,al=""}eo=cr.slice(jr,jr=nr[ca++]),ps=Xd(nr[ca++],jt.cm.options)}}}function Nh(Ie,jt,nr){this.line=jt,this.rest=Mf(jt),this.size=this.rest?Mn(Wr(this.rest))-nr+1:1,this.node=this.text=null,this.hidden=rp(Ie,jt)}function Pm(Ie,jt,nr){for(var sr=[],cr,jr=jt;jr<nr;jr=cr){var hn=new Nh(Ie.doc,$l(Ie.doc,jr),jr);cr=jr+hn.size,sr.push(hn)}return sr}var kp=null;function Kh(Ie){kp?kp.ops.push(Ie):Ie.ownsGroup=kp={ops:[Ie],delayedCallbacks:[]}}function e0(Ie){var jt=Ie.delayedCallbacks,nr=0;do{for(;nr<jt.length;nr++)jt[nr].call(null);for(var sr=0;sr<Ie.ops.length;sr++){var cr=Ie.ops[sr];if(cr.cursorActivityHandlers)for(;cr.cursorActivityCalled<cr.cursorActivityHandlers.length;)cr.cursorActivityHandlers[cr.cursorActivityCalled++].call(null,cr.cm)}}while(nr<jt.length)}function Yh(Ie,jt){var nr=Ie.ownsGroup;if(nr)try{e0(nr)}finally{kp=null,jt(nr)}}var qp=null;function ip(Ie,jt){var nr=ea(Ie,jt);if(nr.length){var sr=Array.prototype.slice.call(arguments,2),cr;kp?cr=kp.delayedCallbacks:qp?cr=qp:(cr=qp=[],setTimeout(Bh,0));for(var jr=function(zn){cr.push(function(){return nr[zn].apply(null,sr)})},hn=0;hn<nr.length;++hn)jr(
top: `+fc+"px; width: "+(bc??ci-gs)+`px;
height: `+(Lu-fc)+"px"))}function ps(gs,fc,bc){var Lu=$l(cr,gs),pc=Lu.text.length,Gc,Gd;function to(Fc,Kc){return Wl(Ie,pl(gs,Fc),"div",Lu,Kc)}function Zs(Fc,Kc,Zd){var _d=Wd(Ie,Lu,null,Fc),Bd=Kc=="ltr"==(Zd=="after")?"left":"right",Fd=Zd=="after"?_d.begin:_d.end-(/\s/.test(Lu.text.charAt(_d.end-1))?2:1);return to(Fd,Bd)[Bd]}var Ku=Fa(Lu,cr.direction);return Rn(Ku,fc||0,bc??pc,function(Fc,Kc,Zd,_d){var Bd=Zd=="ltr",Fd=to(Fc,Bd?"left":"right"),Ud=to(Kc-1,Bd?"right":"left"),jc=fc==null&&Fc==0,Qc=bc==null&&Kc==pc,Hp=_d==0,Am=!Ku||_d==Ku.length-1;if(Ud.top-Fd.top<=3){var zp=(ca?jc:Qc)&&Hp,m0=(ca?Qc:jc)&&Am,Vm=zp?zn:(Bd?Fd:Ud).left,yh=m0?ci:(Bd?Ud:Fd).right;eo(Vm,Fd.top,yh-Vm,Fd.bottom)}else{var ih,lf,d0,y0;Bd?(ih=ca&&jc&&Hp?zn:Fd.left,lf=ca?ci:Zs(Fc,Zd,"before"),d0=ca?zn:Zs(Kc,Zd,"after"),y0=ca&&Qc&&Am?ci:Ud.right):(ih=ca?Zs(Fc,Zd,"before"):zn,lf=!ca&&jc&&Hp?ci:Fd.right,d0=!ca&&Qc&&Am?zn:Ud.left,y0=ca?Zs(Kc,Zd,"after"):ci),eo(ih,Fd.top,lf-ih,Fd.bottom),Fd.bottom<Ud.top&&eo(zn,Fd.bottom,null,Ud.top),eo(d0,Ud.top,y0-d0,Ud.bottom)}(!Gc||Yf(Fd,Gc)<0)&&(Gc=Fd),Yf(Ud,Gc)<0&&(Gc=Ud),(!Gd||Yf(Fd,Gd)<0)&&(Gd=Fd),Yf(Ud,Gd)<0&&(Gd=Ud)}),{start:Gc,end:Gd}}var ms=jt.from(),Ss=jt.to();if(ms.line==Ss.line)ps(ms.line,ms.ch,Ss.ch);else{var Xs=$l(cr,ms.line),Ul=$l(cr,Ss.line),al=jd(Xs)==jd(Ul),cu=ps(ms.line,ms.ch,al?Xs.text.length+1:null).end,hu=ps(Ss.line,al?0:null,Ss.ch).start;al&&(cu.top<hu.top-2?(eo(cu.right,cu.top,null,cu.bottom),eo(zn,hu.top,hu.left,hu.bottom)):eo(cu.right,cu.top,hu.left-cu.right,cu.bottom)),cu.bottom<hu.top&&eo(zn,cu.bottom,null,hu.top)}nr.appendChild(jr)}function As(Ie){if(Ie.state.focused){var jt=Ie.display;clearInterval(jt.blinker);var nr=!0;jt.cursorDiv.style.visibility="",Ie.options.cursorBlinkRate>0?jt.blinker=setInterval(function(){Ie.hasFocus()||Co(Ie),jt.cursorDiv.style.visibility=(nr=!nr)?"":"hidden"},Ie.options.cursorBlinkRate):Ie.options.cursorBlinkRate<0&&(jt.cursorDiv.style.visibility="hidden")}}function is(Ie){Ie.hasFocus()||(Ie.display.input.focus(),Ie.state.focused||xo(Ie))}function bo(Ie){Ie.state.delayingBlurEvent=!0,setTimeout(function(){Ie.state.delayingBlurEvent&&(Ie.state.delayingBlurEvent=!1,Ie.state.focused&&Co(Ie))},100)}function xo(Ie,jt){Ie.state.delayingBlurEvent&&!Ie.state.draggingText&&(Ie.state.delayingBlurEvent=!1),Ie.options.readOnly!="nocursor"&&(Ie.state.focused||(ws(Ie,"focus",Ie,jt),Ie.state.focused=!0,yr(Ie.display.wrapper,"CodeMirror-focused"),!Ie.curOp&&Ie.display.selForContextMenu!=Ie.doc.sel&&(Ie.display.input.reset(),re&&setTimeout(function(){return Ie.display.input.reset(!0)},20)),Ie.display.input.receivedFocus()),As(Ie))}function Co(Ie,jt){Ie.state.delayingBlurEvent||(Ie.state.focused&&(ws(Ie,"blur",Ie,jt),Ie.state.focused=!1,er(Ie.display.wrapper,"CodeMirror-focused")),clearInterval(Ie.display.blinker),setTimeout(function(){Ie.state.focused||(Ie.display.shift=!1)},150))}function Ka(Ie){for(var jt=Ie.display,nr=jt.lineDiv.offsetTop,sr=Math.max(0,jt.scroller.getBoundingClientRect().top),cr=jt.lineDiv.getBoundingClientRect().top,jr=0,hn=0;hn<jt.view.length;hn++){var zn=jt.view[hn],ci=Ie.options.lineWrapping,ca=void 0,eo=0;if(!zn.hidden){if(cr+=zn.line.height,V&&z<8){var ps=zn.node.offsetTop+zn.node.offsetHeight;ca=ps-nr,nr=ps}else{var ms=zn.node.getBoundingClientRect();ca=ms.bottom-ms.top,!ci&&zn.text.firstChild&&(eo=zn.text.firstChild.getBoundingClientRect().right-ms.left-1)}var Ss=zn.line.height-ca;if((Ss>.005||Ss<-.005)&&(cr<sr&&(jr-=Ss),Gu(zn.line,ca),_o(zn.line),zn.rest))for(var Xs=0;Xs<zn.rest.length;Xs++)_o(zn.rest[Xs]);if(eo>Ie.display.sizerWidth){var Ul=Math.ceil(eo/Kf(Ie.display));Ul>Ie.display.maxLineLength&&(Ie.display.maxLineLength=Ul,Ie.display.maxLine=zn.line,Ie.display.maxLineChanged=!0)}}}Math.abs(jr)>2&&(jt.scroller.scrollTop+=jr)}function _o(Ie){if(Ie.widgets)for(var jt=0;jt<Ie.widgets.length;++jt){var nr=Ie.widgets[jt],sr=nr.node.parentNode;sr&&(nr.height=sr.offsetHeight)}}function Ao(Ie,jt,nr){var sr=nr&&nr.top!=null?Math.max(0,nr.top):Ie.scroller.scrollTop;sr=Math.floor(sr-Wf(Ie));var cr=nr&&nr.bottom!=null?nr.bottom:sr+Ie.w
top: `+(jt.top-nr.viewOffset-Wf(Ie.display))+`px;
height: `+(jt.bottom-jt.top+Nf(Ie)+nr.barHeight)+`px;
left: `+jt.left+"px; width: "+Math.max(2,jt.right-jt.left)+"px;");Ie.display.lineSpace.appendChild(hn),hn.scrollIntoView(cr),Ie.display.lineSpace.removeChild(hn)}}}function Fo(Ie,jt,nr,sr){sr==null&&(sr=0);var cr;!Ie.options.lineWrapping&&jt==nr&&(nr=jt.sticky=="before"?pl(jt.line,jt.ch+1,"before"):jt,jt=jt.ch?pl(jt.line,jt.sticky=="before"?jt.ch-1:jt.ch,"after"):jt);for(var jr=0;jr<5;jr++){var hn=!1,zn=Ml(Ie,jt),ci=!nr||nr==jt?zn:Ml(Ie,nr);cr={left:Math.min(zn.left,ci.left),top:Math.min(zn.top,ci.top)-sr,right:Math.max(zn.left,ci.left),bottom:Math.max(zn.bottom,ci.bottom)+sr};var ca=ko(Ie,cr),eo=Ie.doc.scrollTop,ps=Ie.doc.scrollLeft;if(ca.scrollTop!=null&&(Jo(Ie,ca.scrollTop),Math.abs(Ie.doc.scrollTop-eo)>1&&(hn=!0)),ca.scrollLeft!=null&&(vs(Ie,ca.scrollLeft),Math.abs(Ie.doc.scrollLeft-ps)>1&&(hn=!0)),!hn)break}return cr}function Wa(Ie,jt){var nr=ko(Ie,jt);nr.scrollTop!=null&&Jo(Ie,nr.scrollTop),nr.scrollLeft!=null&&vs(Ie,nr.scrollLeft)}function ko(Ie,jt){var nr=Ie.display,sr=bf(Ie.display);jt.top<0&&(jt.top=0);var cr=Ie.curOp&&Ie.curOp.scrollTop!=null?Ie.curOp.scrollTop:nr.scroller.scrollTop,jr=Lm(Ie),hn={};jt.bottom-jt.top>jr&&(jt.bottom=jt.top+jr);var zn=Ie.doc.height+Tm(nr),ci=jt.top<sr,ca=jt.bottom>zn-sr;if(jt.top<cr)hn.scrollTop=ci?0:jt.top;else if(jt.bottom>cr+jr){var eo=Math.min(jt.top,(ca?zn:jt.bottom)-jr);eo!=cr&&(hn.scrollTop=eo)}var ps=Ie.options.fixedGutter?0:nr.gutters.offsetWidth,ms=Ie.curOp&&Ie.curOp.scrollLeft!=null?Ie.curOp.scrollLeft:nr.scroller.scrollLeft-ps,Ss=am(Ie)-nr.gutters.offsetWidth,Xs=jt.right-jt.left>Ss;return Xs&&(jt.right=jt.left+Ss),jt.left<10?hn.scrollLeft=0:jt.left<ms?hn.scrollLeft=Math.max(0,jt.left+ps-(Xs?0:10)):jt.right>Ss+ms-3&&(hn.scrollLeft=jt.right+(Xs?0:10)-Ss),hn}function Es(Ie,jt){jt!=null&&(Bs(Ie),Ie.curOp.scrollTop=(Ie.curOp.scrollTop==null?Ie.doc.scrollTop:Ie.curOp.scrollTop)+jt)}function us(Ie){Bs(Ie);var jt=Ie.getCursor();Ie.curOp.scrollToPos={from:jt,to:jt,margin:Ie.options.cursorScrollMargin}}function Rs(Ie,jt,nr){(jt!=null||nr!=null)&&Bs(Ie),jt!=null&&(Ie.curOp.scrollLeft=jt),nr!=null&&(Ie.curOp.scrollTop=nr)}function Hs(Ie,jt){Bs(Ie),Ie.curOp.scrollToPos=jt}function Bs(Ie){var jt=Ie.curOp.scrollToPos;if(jt){Ie.curOp.scrollToPos=null;var nr=vc(Ie,jt.from),sr=vc(Ie,jt.to);sl(Ie,nr,sr,jt.margin)}}function sl(Ie,jt,nr,sr){var cr=ko(Ie,{left:Math.min(jt.left,nr.left),top:Math.min(jt.top,nr.top)-sr,right:Math.max(jt.right,nr.right),bottom:Math.max(jt.bottom,nr.bottom)+sr});Rs(Ie,cr.scrollLeft,cr.scrollTop)}function Jo(Ie,jt){Math.abs(Ie.doc.scrollTop-jt)<2||(k||wc(Ie,{top:jt}),rl(Ie,jt,!0),k&&wc(Ie),bl(Ie,100))}function rl(Ie,jt,nr){jt=Math.max(0,Math.min(Ie.display.scroller.scrollHeight-Ie.display.scroller.clientHeight,jt)),!(Ie.display.scroller.scrollTop==jt&&!nr)&&(Ie.doc.scrollTop=jt,Ie.display.scrollbars.setScrollTop(jt),Ie.display.scroller.scrollTop!=jt&&(Ie.display.scroller.scrollTop=jt))}function vs(Ie,jt,nr,sr){jt=Math.max(0,Math.min(jt,Ie.display.scroller.scrollWidth-Ie.display.scroller.clientWidth)),!((nr?jt==Ie.doc.scrollLeft:Math.abs(Ie.doc.scrollLeft-jt)<2)&&!sr)&&(Ie.doc.scrollLeft=jt,lp(Ie),Ie.display.scroller.scrollLeft!=jt&&(Ie.display.scroller.scrollLeft=jt),Ie.display.scrollbars.setScrollLeft(jt))}function ys(Ie){var jt=Ie.display,nr=jt.gutters.offsetWidth,sr=Math.round(Ie.doc.height+Tm(Ie.display));return{clientHeight:jt.scroller.clientHeight,viewHeight:jt.wrapper.clientHeight,scrollWidth:jt.scroller.scrollWidth,clientWidth:jt.scroller.clientWidth,viewWidth:jt.wrapper.clientWidth,barLeft:Ie.options.fixedGutter?nr:0,docHeight:sr,scrollHeight:sr+Nf(Ie)+jt.barHeight,nativeBarWidth:jt.nativeBarWidth,gutterWidth:nr}}var Ts=function(Ie,jt,nr){this.cm=nr;var sr=this.vert=rr("div",[rr("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),cr=this.horiz=rr("div",[rr("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");sr.tabIndex=cr.tabIndex=-1,Ie(sr),Ie(cr),Vi(sr,"scroll",function(){sr.clientHeight&&jt(sr.scrollTop,"vertical")}),Vi(cr,"scroll",function(){cr.clientWidth&&jt(cr.scrollLeft,"horizontal")}),this.
`},setDirection:Ou(function(Ie){Ie!="rtl"&&(Ie="ltr"),Ie!=this.direction&&(this.direction=Ie,this.iter(function(jt){return jt.order=null}),this.cm&&cm(this.cm))})}),Jd.prototype.eachLine=Jd.prototype.iter;var Df=0;function of(Ie){var jt=this;if(gp(jt),!(ss(jt,Ie)||Zp(jt.display,Ie))){Cs(Ie),V&&(Df=+new Date);var nr=Kp(jt,Ie,!0),sr=Ie.dataTransfer.files;if(!(!nr||jt.isReadOnly()))if(sr&&sr.length&&window.FileReader&&window.File)for(var cr=sr.length,jr=Array(cr),hn=0,zn=function(){++hn==cr&&Su(jt,function(){nr=Rc(jt.doc,nr);var Ss={from:nr,to:nr,text:jt.doc.splitLines(jr.filter(function(Xs){return Xs!=null}).join(jt.doc.lineSeparator())),origin:"paste"};Uc(jt.doc,Ss),os(jt.doc,Rp(Rc(jt.doc,nr),Rc(jt.doc,Uf(Ss))))})()},ci=function(Ss,Xs){if(jt.options.allowDropFileTypes&&Vr(jt.options.allowDropFileTypes,Ss.type)==-1){zn();return}var Ul=new FileReader;Ul.onerror=function(){return zn()},Ul.onload=function(){var al=Ul.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(al)){zn();return}jr[Xs]=al,zn()},Ul.readAsText(Ss)},ca=0;ca<sr.length;ca++)ci(sr[ca],ca);else{if(jt.state.draggingText&&jt.doc.sel.contains(nr)>-1){jt.state.draggingText(Ie),setTimeout(function(){return jt.display.input.focus()},20);return}try{var eo=Ie.dataTransfer.getData("Text");if(eo){var ps;if(jt.state.draggingText&&!jt.state.draggingText.copy&&(ps=jt.listSelections()),So(jt.doc,Rp(nr,nr)),ps)for(var ms=0;ms<ps.length;++ms)pu(jt.doc,"",ps[ms].anchor,ps[ms].head,"drag");jt.replaceSelection(eo,"around","paste"),jt.display.input.focus()}}catch{}}}}function Ep(Ie,jt){if(V&&(!Ie.state.draggingText||+new Date-Df<100)){Lc(jt);return}if(!(ss(Ie,jt)||Zp(Ie.display,jt))&&(jt.dataTransfer.setData("Text",Ie.getSelection()),jt.dataTransfer.effectAllowed="copyMove",jt.dataTransfer.setDragImage&&!de)){var nr=rr("img",null,null,"position: fixed; left: 0; top: 0;");nr.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",ue&&(nr.width=nr.height=1,Ie.display.wrapper.appendChild(nr),nr._top=nr.offsetTop),jt.dataTransfer.setDragImage(nr,0,0),ue&&nr.parentNode.removeChild(nr)}}function ed(Ie,jt){var nr=Kp(Ie,jt);if(nr){var sr=document.createDocumentFragment();wm(Ie,nr,sr),Ie.display.dragCursor||(Ie.display.dragCursor=rr("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),Ie.display.lineSpace.insertBefore(Ie.display.dragCursor,Ie.display.cursorDiv)),ir(Ie.display.dragCursor,sr)}}function gp(Ie){Ie.display.dragCursor&&(Ie.display.lineSpace.removeChild(Ie.display.dragCursor),Ie.display.dragCursor=null)}function Cp(Ie){if(document.getElementsByClassName){for(var jt=document.getElementsByClassName("CodeMirror"),nr=[],sr=0;sr<jt.length;sr++){var cr=jt[sr].CodeMirror;cr&&nr.push(cr)}nr.length&&nr[0].operation(function(){for(var jr=0;jr<nr.length;jr++)Ie(nr[jr])})}}var Sp=!1;function r0(){Sp||(u0(),Sp=!0)}function u0(){var Ie;Vi(window,"resize",function(){Ie==null&&(Ie=setTimeout(function(){Ie=null,Cp(b0)},100))}),Vi(window,"blur",function(){return Cp(Co)})}function b0(Ie){var jt=Ie.display;jt.cachedCharWidth=jt.cachedTextHeight=jt.cachedPaddingH=null,jt.scrollbarsClipped=!1,Ie.setSize()}for(var Xp={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"},n0=0;n0<10;n0++)Xp[n0+48]=Xp[n0+96]=String(n0);for(var zh=65;zh<=90;zh++)Xp[zh]=String.fromCharCode(zh);for(var Gh=1;Gh<=12;Gh++)Xp[Gh+111]=Xp[Gh+63235]="F"+Gh;var Zm={};Zm.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"de
`,"start")},toggleOverwrite:function(Ie){return Ie.toggleOverwrite()}};function Un(Ie,jt){var nr=$l(Ie.doc,jt),sr=jd(nr);return sr!=nr&&(jt=Mn(sr)),ui(!0,Ie,sr,jt,1)}function Sn(Ie,jt){var nr=$l(Ie.doc,jt),sr=_m(nr);return sr!=nr&&(jt=Mn(sr)),ui(!0,Ie,nr,jt,-1)}function Nn(Ie,jt){var nr=Un(Ie,jt.line),sr=$l(Ie.doc,nr.line),cr=Fa(sr,Ie.doc.direction);if(!cr||cr[0].level==0){var jr=Math.max(nr.ch,sr.text.search(/\S/)),hn=jt.line==nr.line&&jt.ch<=jr&&jt.ch;return pl(nr.line,hn?0:jr,nr.sticky)}return nr}function An(Ie,jt,nr){if(typeof jt=="string"&&(jt=Hn[jt],!jt))return!1;Ie.display.input.ensurePolled();var sr=Ie.display.shift,cr=!1;try{Ie.isReadOnly()&&(Ie.state.suppressEdits=!0),nr&&(Ie.display.shift=!1),cr=jt(Ie)!=Cr}finally{Ie.display.shift=sr,Ie.state.suppressEdits=!1}return cr}function oi(Ie,jt,nr){for(var sr=0;sr<Ie.state.keyMaps.length;sr++){var cr=sf(jt,Ie.state.keyMaps[sr],nr,Ie);if(cr)return cr}return Ie.options.extraKeys&&sf(jt,Ie.options.extraKeys,nr,Ie)||sf(jt,Ie.options.keyMap,nr,Ie)}var mi=new zr;function Wi(Ie,jt,nr,sr){var cr=Ie.state.keySeq;if(cr){if(c0(jt))return"handled";if(/\'$/.test(jt)?Ie.state.keySeq=null:mi.set(50,function(){Ie.state.keySeq==cr&&(Ie.state.keySeq=null,Ie.display.input.reset())}),Hi(Ie,cr+" "+jt,nr,sr))return!0}return Hi(Ie,jt,nr,sr)}function Hi(Ie,jt,nr,sr){var cr=oi(Ie,jt,sr);return cr=="multi"&&(Ie.state.keySeq=jt),cr=="handled"&&ip(Ie,"keyHandled",Ie,jt,nr),(cr=="handled"||cr=="multi")&&(Cs(nr),As(Ie)),!!cr}function Ki(Ie,jt){var nr=i0(jt,!0);return nr?jt.shiftKey&&!Ie.state.keySeq?Wi(Ie,"Shift-"+nr,jt,function(sr){return An(Ie,sr,!0)})||Wi(Ie,nr,jt,function(sr){if(typeof sr=="string"?/^go[A-Z]/.test(sr):sr.motion)return An(Ie,sr)}):Wi(Ie,nr,jt,function(sr){return An(Ie,sr)}):!1}function fi(Ie,jt,nr){return Wi(Ie,"'"+nr+"'",jt,function(sr){return An(Ie,sr,!0)})}var Ni=null;function ra(Ie){var jt=this;if(!(Ie.target&&Ie.target!=jt.display.input.getField())&&(jt.curOp.focus=mr(vr(jt)),!ss(jt,Ie))){V&&z<11&&Ie.keyCode==27&&(Ie.returnValue=!1);var nr=Ie.keyCode;jt.display.shift=nr==16||Ie.shiftKey;var sr=Ki(jt,Ie);ue&&(Ni=sr?nr:null,!sr&&nr==88&&!vn&&(Fe?Ie.metaKey:Ie.ctrlKey)&&jt.replaceSelection("",null,"cut")),k&&!Fe&&!sr&&nr==46&&Ie.shiftKey&&!Ie.ctrlKey&&document.execCommand&&document.execCommand("cut"),nr==18&&!/\bCodeMirror-crosshair\b/.test(jt.display.lineDiv.className)&&Ta(jt)}}function Ta(Ie){var jt=Ie.display.lineDiv;yr(jt,"CodeMirror-crosshair");function nr(sr){(sr.keyCode==18||!sr.altKey)&&(er(jt,"CodeMirror-crosshair"),Aa(document,"keyup",nr),Aa(document,"mouseover",nr))}Vi(document,"keyup",nr),Vi(document,"mouseover",nr)}function Ra(Ie){Ie.keyCode==16&&(this.doc.sel.shift=!1),ss(this,Ie)}function aa(Ie){var jt=this;if(!(Ie.target&&Ie.target!=jt.display.input.getField())&&!(Zp(jt.display,Ie)||ss(jt,Ie)||Ie.ctrlKey&&!Ie.altKey||Fe&&Ie.metaKey)){var nr=Ie.keyCode,sr=Ie.charCode;if(ue&&nr==Ni){Ni=null,Cs(Ie);return}if(!(ue&&(!Ie.which||Ie.which<10)&&Ki(jt,Ie))){var cr=String.fromCharCode(sr??nr);cr!="\b"&&(fi(jt,Ie,cr)||jt.display.input.onKeyPress(Ie))}}}var Ia=400,pa=function(Ie,jt,nr){this.time=Ie,this.pos=jt,this.button=nr};pa.prototype.compare=function(Ie,jt,nr){return this.time+Ia>Ie&&Fu(jt,this.pos)==0&&nr==this.button};var za,ka;function Xo(Ie,jt){var nr=+new Date;return ka&&ka.compare(nr,Ie,jt)?(za=ka=null,"triple"):za&&za.compare(nr,Ie,jt)?(ka=new pa(nr,Ie,jt),za=null,"double"):(za=new pa(nr,Ie,jt),ka=null,"single")}function ji(Ie){var jt=this,nr=jt.display;if(!(ss(jt,Ie)||nr.activeTouch&&nr.input.supportsTouch())){if(nr.input.ensurePolled(),nr.shift=Ie.shiftKey,Zp(nr,Ie)){re||(nr.scroller.draggable=!1,setTimeout(function(){return nr.scroller.draggable=!0},100));return}if(!Sa(jt,Ie)){var sr=Kp(jt,Ie),cr=_c(Ie),jr=sr?Xo(sr,cr):"single";$r(jt).focus(),cr==1&&jt.state.selectingText&&jt.state.selectingText(Ie),!(sr&&ma(jt,cr,sr,jr,Ie))&&(cr==1?sr?ta(jt,sr,jr,Ie):Ac(Ie)==nr.scroller&&Cs(Ie):cr==2?(sr&&xn(jt.doc,sr),setTimeout(function(){return nr.input.focus()},20)):cr==3&&(ze?jt.display.input.onContextMenu(Ie):bo(jt)))}}}function ma(Ie,jt,nr,sr,cr){var jr="Click";ret
`)==jt){if(sr.ranges.length%$o.text.length==0){ca=[];for(var eo=0;eo<$o.text.length;eo++)ca.push(jr.splitLines($o.text[eo]))}}else ci.length==sr.ranges.length&&Ie.options.pasteLinesPerSelection&&(ca=Kr(ci,function(cu){return[cu]}));for(var ps=Ie.curOp.updateInput,ms=sr.ranges.length-1;ms>=0;ms--){var Ss=sr.ranges[ms],Xs=Ss.from(),Ul=Ss.to();Ss.empty()&&(nr&&nr>0?Xs=pl(Xs.line,Xs.ch-nr):Ie.state.overwrite&&!zn?Ul=pl(Ul.line,Math.min($l(jr,Ul.line).text.length,Ul.ch+Wr(ci).length)):zn&&$o&&$o.lineWise&&$o.text.join(`
`)==ci.join(`
`)&&(Xs=Ul=pl(Xs.line,0)));var al={from:Xs,to:Ul,text:ca?ca[ms%ca.length]:ci,origin:cr||(zn?"paste":Ie.state.cutIncoming>hn?"cut":"+input")};Uc(Ie.doc,al),ip(Ie,"inputRead",Ie,al)}jt&&!zn&&Du(Ie,jt),us(Ie),Ie.curOp.updateInput<2&&(Ie.curOp.updateInput=ps),Ie.curOp.typing=!0,Ie.state.pasteIncoming=Ie.state.cutIncoming=-1}function nl(Ie,jt){var nr=Ie.clipboardData&&Ie.clipboardData.getData("Text");if(nr)return Ie.preventDefault(),!jt.isReadOnly()&&!jt.options.disableInput&&jt.hasFocus()&&yc(jt,function(){return ul(jt,nr,0,null,"paste")}),!0}function Du(Ie,jt){if(!(!Ie.options.electricChars||!Ie.options.smartIndent))for(var nr=Ie.doc.sel,sr=nr.ranges.length-1;sr>=0;sr--){var cr=nr.ranges[sr];if(!(cr.head.ch>100||sr&&nr.ranges[sr-1].head.line==cr.head.line)){var jr=Ie.getModeAt(cr.head),hn=!1;if(jr.electricChars){for(var zn=0;zn<jr.electricChars.length;zn++)if(jt.indexOf(jr.electricChars.charAt(zn))>-1){hn=cl(Ie,cr.head.line,"smart");break}}else jr.electricInput&&jr.electricInput.test($l(Ie.doc,cr.head.line).text.slice(0,cr.head.ch))&&(hn=cl(Ie,cr.head.line,"smart"));hn&&ip(Ie,"electricInput",Ie,cr.head.line)}}}function Ds(Ie){for(var jt=[],nr=[],sr=0;sr<Ie.doc.sel.ranges.length;sr++){var cr=Ie.doc.sel.ranges[sr].head.line,jr={anchor:pl(cr,0),head:pl(cr+1,0)};nr.push(jr),jt.push(Ie.getRange(jr.anchor,jr.head))}return{text:jt,ranges:nr}}function ds(Ie,jt,nr,sr){Ie.setAttribute("autocorrect",nr?"on":"off"),Ie.setAttribute("autocapitalize",sr?"on":"off"),Ie.setAttribute("spellcheck",!!jt)}function $s(){var Ie=rr("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),jt=rr("div",[Ie],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return re?Ie.style.width="1000px":Ie.setAttribute("wrap","off"),Ce&&(Ie.style.border="1px solid black"),jt}function zs(Ie){var jt=Ie.optionHandlers,nr=Ie.helpers={};Ie.prototype={constructor:Ie,focus:function(){$r(this).focus(),this.display.input.focus()},setOption:function(sr,cr){var jr=this.options,hn=jr[sr];jr[sr]==cr&&sr!="mode"||(jr[sr]=cr,jt.hasOwnProperty(sr)&&Su(this,jt[sr])(this,cr,hn),ws(this,"optionChange",this,sr))},getOption:function(sr){return this.options[sr]},getDoc:function(){return this.doc},addKeyMap:function(sr,cr){this.state.keyMaps[cr?"push":"unshift"](a0(sr))},removeKeyMap:function(sr){for(var cr=this.state.keyMaps,jr=0;jr<cr.length;++jr)if(cr[jr]==sr||cr[jr].name==sr)return cr.splice(jr,1),!0},addOverlay:Bl(function(sr,cr){var jr=sr.token?sr:Ie.getMode(this.options,sr);if(jr.startState)throw new Error("Overlays may not be stateful.");Ar(this.state.overlays,{mode:jr,modeSpec:sr,opaque:cr&&cr.opaque,priority:cr&&cr.priority||0},function(hn){return hn.priority}),this.state.modeGen++,Mp(this)}),removeOverlay:Bl(function(sr){for(var cr=this.state.overlays,jr=0;jr<cr.length;++jr){var hn=cr[jr].modeSpec;if(hn==sr||typeof sr=="string"&&hn.name==sr){cr.splice(jr,1),this.state.modeGen++,Mp(this);return}}}),indentLine:Bl(function(sr,cr,jr){typeof cr!="string"&&typeof cr!="number"&&(cr==null?cr=this.options.smartIndent?"smart":"prev":cr=cr?"add":"subtract"),jl(this.doc,sr)&&cl(this,sr,cr,jr)}),indentSelection:Bl(function(sr){for(var cr=this.doc.sel.ranges,jr=-1,hn=0;hn<cr.length;hn++){var zn=cr[hn];if(zn.empty())zn.head.line>jr&&(cl(this,zn.head.line,sr,!0),jr=zn.head.line,hn==this.doc.sel.primIndex&&us(this));else{var ci=zn.from(),ca=zn.to(),eo=Math.max(jr,ci.line);jr=Math.min(this.lastLine(),ca.line-(ca.ch?0:1))+1;for(var ps=eo;ps<jr;++ps)cl(this,ps,sr);var ms=this.doc.sel.ranges;ci.ch==0&&cr.length==ms.length&&ms[hn].from().ch>0&&la(this.doc,hn,new Zc(ci,ms[hn].to()),xr)}}}),getTokenAt:function(sr,cr){return wf(this,sr,cr)},getLineTokens:function(sr,cr){return wf(this,pl(sr),cr,!0)},getTokenTypeAt:function(sr){sr=Rc(this.doc,sr);var cr=Of(this,$l(this.doc,sr.line)),jr=0,hn=(cr.length-1)/2,zn=sr.ch,ci;if(zn==0)ci=cr[2];else for(;;){var ca=jr+hn>>1;if((ca?cr[ca*2-1]:0)>=zn)hn=ca;else if(cr[ca*2+1]<zn)jr=ca+1;else{ci=cr[ca*2+2];break}}var eo=ci?ci.indexOf("overlay "):-1;return eo<0?ci:eo==0?null:c
`,al=La(Ul,Ss)?"w":ms&&Ul==`
`?"n":!ms||/\s/.test(Ul)?null:"p";if(ms&&!Xs&&!al&&(al="s"),ps&&ps!=al){nr<0&&(nr=1,eo(),jt.sticky="after");break}if(al&&(ps=al),nr>0&&!eo(!Xs))break}var cu=Hu(Ie,jt,jr,hn,!0);return Oc(jr,cu)&&(cu.hitSide=!0),cu}function Zl(Ie,jt,nr,sr){var cr=Ie.doc,jr=jt.left,hn;if(sr=="page"){var zn=Math.min(Ie.display.wrapper.clientHeight,$r(Ie).innerHeight||cr(Ie).documentElement.clientHeight),ci=Math.max(zn-.5*bf(Ie.display),3);hn=(nr>0?jt.bottom:jt.top)+nr*ci}else sr=="line"&&(hn=nr>0?jt.bottom+3:jt.top-3);for(var ca;ca=Nd(Ie,jr,hn),!!ca.outside;){if(nr<0?hn<=0:hn>=cr.height){ca.hitSide=!0;break}hn+=nr*5}return ca}var Pl=function(Ie){this.cm=Ie,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new zr,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Pl.prototype.init=function(Ie){var jt=this,nr=this,sr=nr.cm,cr=nr.div=Ie.lineDiv;cr.contentEditable=!0,ds(cr,sr.options.spellcheck,sr.options.autocorrect,sr.options.autocapitalize);function jr(zn){for(var ci=zn.target;ci;ci=ci.parentNode){if(ci==cr)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ci.className))break}return!1}Vi(cr,"paste",function(zn){!jr(zn)||ss(sr,zn)||nl(zn,sr)||z<=11&&setTimeout(Su(sr,function(){return jt.updateFromDOM()}),20)}),Vi(cr,"compositionstart",function(zn){jt.composing={data:zn.data,done:!1}}),Vi(cr,"compositionupdate",function(zn){jt.composing||(jt.composing={data:zn.data,done:!1})}),Vi(cr,"compositionend",function(zn){jt.composing&&(zn.data!=jt.composing.data&&jt.readFromDOMSoon(),jt.composing.done=!0)}),Vi(cr,"touchstart",function(){return nr.forceCompositionEnd()}),Vi(cr,"input",function(){jt.composing||jt.readFromDOMSoon()});function hn(zn){if(!(!jr(zn)||ss(sr,zn))){if(sr.somethingSelected())xs({lineWise:!1,text:sr.getSelections()}),zn.type=="cut"&&sr.replaceSelection("",null,"cut");else if(sr.options.lineWiseCopyCut){var ci=Ds(sr);xs({lineWise:!0,text:ci.text}),zn.type=="cut"&&sr.operation(function(){sr.setSelections(ci.ranges,0,xr),sr.replaceSelection("",null,"cut")})}else return;if(zn.clipboardData){zn.clipboardData.clearData();var ca=$o.text.join(`
`);if(zn.clipboardData.setData("Text",ca),zn.clipboardData.getData("Text")==ca){zn.preventDefault();return}}var eo=$s(),ps=eo.firstChild;ds(ps),sr.display.lineSpace.insertBefore(eo,sr.display.lineSpace.firstChild),ps.value=$o.text.join(`
`);var ms=mr(Mr(cr));Nr(ps),setTimeout(function(){sr.display.lineSpace.removeChild(eo),ms.focus(),ms==cr&&nr.showPrimarySelection()},50)}}Vi(cr,"copy",hn),Vi(cr,"cut",hn)},Pl.prototype.screenReaderLabelChanged=function(Ie){Ie?this.div.setAttribute("aria-label",Ie):this.div.removeAttribute("aria-label")},Pl.prototype.prepareSelection=function(){var Ie=Fm(this.cm,!1);return Ie.focus=mr(Mr(this.div))==this.div,Ie},Pl.prototype.showSelection=function(Ie,jt){!Ie||!this.cm.display.view.length||((Ie.focus||jt)&&this.showPrimarySelection(),this.showMultipleSelections(Ie))},Pl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Pl.prototype.showPrimarySelection=function(){var Ie=this.getSelection(),jt=this.cm,nr=jt.doc.sel.primary(),sr=nr.from(),cr=nr.to();if(jt.display.viewTo==jt.display.viewFrom||sr.line>=jt.display.viewTo||cr.line<jt.display.viewFrom){Ie.removeAllRanges();return}var jr=uc(jt,Ie.anchorNode,Ie.anchorOffset),hn=uc(jt,Ie.focusNode,Ie.focusOffset);if(!(jr&&!jr.bad&&hn&&!hn.bad&&Fu(vp(jr,hn),sr)==0&&Fu(ud(jr,hn),cr)==0)){var zn=jt.display.view,ci=sr.line>=jt.display.viewFrom&&rc(jt,sr)||{node:zn[0].measure.map[2],offset:0},ca=cr.line<jt.display.viewTo&&rc(jt,cr);if(!ca){var eo=zn[zn.length-1].measure,ps=eo.maps?eo.maps[eo.maps.length-1]:eo.map;ca={node:ps[ps.length-1],offset:ps[ps.length-2]-ps[ps.length-3]}}if(!ci||!ca){Ie.removeAllRanges();return}var ms=Ie.rangeCount&&Ie.getRangeAt(0),Ss;try{Ss=ur(ci.node,ci.offset,ca.offset,ca.node)}catch{}Ss&&(!k&&jt.state.focused?(Ie.collapse(ci.node,ci.offset),Ss.collapsed||(Ie.removeAllRanges(),Ie.addRange(Ss))):(Ie.removeAllRanges(),Ie.addRange(Ss)),ms&&Ie.anchorNode==null?Ie.addRange(ms):k&&this.startGracePeriod()),this.rememberSelection()}},Pl.prototype.startGracePeriod=function(){var Ie=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){Ie.gracePeriod=!1,Ie.selectionChanged()&&Ie.cm.operation(function(){return Ie.cm.curOp.selectionChanged=!0})},20)},Pl.prototype.showMultipleSelections=function(Ie){ir(this.cm.display.cursorDiv,Ie.cursors),ir(this.cm.display.selectionDiv,Ie.selection)},Pl.prototype.rememberSelection=function(){var Ie=this.getSelection();this.lastAnchorNode=Ie.anchorNode,this.lastAnchorOffset=Ie.anchorOffset,this.lastFocusNode=Ie.focusNode,this.lastFocusOffset=Ie.focusOffset},Pl.prototype.selectionInEditor=function(){var Ie=this.getSelection();if(!Ie.rangeCount)return!1;var jt=Ie.getRangeAt(0).commonAncestorContainer;return fr(this.div,jt)},Pl.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||mr(Mr(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Pl.prototype.blur=function(){this.div.blur()},Pl.prototype.getField=function(){return this.div},Pl.prototype.supportsTouch=function(){return!0},Pl.prototype.receivedFocus=function(){var Ie=this,jt=this;this.selectionInEditor()?setTimeout(function(){return Ie.pollSelection()},20):yc(this.cm,function(){return jt.cm.curOp.selectionChanged=!0});function nr(){jt.cm.state.focused&&(jt.pollSelection(),jt.polling.set(jt.cm.options.pollInterval,nr))}this.polling.set(this.cm.options.pollInterval,nr)},Pl.prototype.selectionChanged=function(){var Ie=this.getSelection();return Ie.anchorNode!=this.lastAnchorNode||Ie.anchorOffset!=this.lastAnchorOffset||Ie.focusNode!=this.lastFocusNode||Ie.focusOffset!=this.lastFocusOffset},Pl.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var Ie=this.getSelection(),jt=this.cm;if(pe&&ae&&this.cm.display.gutterSpecs.length&&td(Ie.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var nr=uc(jt,Ie.anchorNode,Ie.anchorOffset),sr=uc(jt,Ie.focusNode,Ie.focusOffset);nr&&sr&&yc(jt,function(){rs(jt.doc,Rp(nr,sr),xr),(nr.bad||sr.bad)&&(jt.curOp.selectionChanged=!0)})}}},Pl.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTim
`),Nr(cr))}else return;hn.type=="cut"&&(sr.state.cutIncoming=+new Date)}}Vi(cr,"cut",jr),Vi(cr,"copy",jr),Vi(Ie.scroller,"paste",function(hn){if(!(Zp(Ie,hn)||ss(sr,hn))){if(!cr.dispatchEvent){sr.state.pasteIncoming=+new Date,nr.focus();return}var zn=new Event("paste");zn.clipboardData=hn.clipboardData,cr.dispatchEvent(zn)}}),Vi(Ie.lineSpace,"selectstart",function(hn){Zp(Ie,hn)||Cs(hn)}),Vi(cr,"compositionstart",function(){var hn=sr.getCursor("from");nr.composing&&nr.composing.range.clear(),nr.composing={start:hn,range:sr.markText(hn,sr.getCursor("to"),{className:"CodeMirror-composing"})}}),Vi(cr,"compositionend",function(){nr.composing&&(nr.poll(),nr.composing.range.clear(),nr.composing=null)})},qo.prototype.createField=function(Ie){this.wrapper=$s(),this.textarea=this.wrapper.firstChild;var jt=this.cm.options;ds(this.textarea,jt.spellcheck,jt.autocorrect,jt.autocapitalize)},qo.prototype.screenReaderLabelChanged=function(Ie){Ie?this.textarea.setAttribute("aria-label",Ie):this.textarea.removeAttribute("aria-label")},qo.prototype.prepareSelection=function(){var Ie=this.cm,jt=Ie.display,nr=Ie.doc,sr=Fm(Ie);if(Ie.options.moveInputWithCursor){var cr=Ml(Ie,nr.sel.primary().head,"div"),jr=jt.wrapper.getBoundingClientRect(),hn=jt.lineDiv.getBoundingClientRect();sr.teTop=Math.max(0,Math.min(jt.wrapper.clientHeight-10,cr.top+hn.top-jr.top)),sr.teLeft=Math.max(0,Math.min(jt.wrapper.clientWidth-10,cr.left+hn.left-jr.left))}return sr},qo.prototype.showSelection=function(Ie){var jt=this.cm,nr=jt.display;ir(nr.cursorDiv,Ie.cursors),ir(nr.selectionDiv,Ie.selection),Ie.teTop!=null&&(this.wrapper.style.top=Ie.teTop+"px",this.wrapper.style.left=Ie.teLeft+"px")},qo.prototype.reset=function(Ie){if(!(this.contextMenuPending||this.composing&&Ie)){var jt=this.cm;if(this.resetting=!0,jt.somethingSelected()){this.prevInput="";var nr=jt.getSelection();this.textarea.value=nr,jt.state.focused&&Nr(this.textarea),V&&z>=9&&(this.hasSelection=nr)}else Ie||(this.prevInput=this.textarea.value="",V&&z>=9&&(this.hasSelection=null));this.resetting=!1}},qo.prototype.getField=function(){return this.textarea},qo.prototype.supportsTouch=function(){return!1},qo.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ne||mr(Mr(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},qo.prototype.blur=function(){this.textarea.blur()},qo.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},qo.prototype.receivedFocus=function(){this.slowPoll()},qo.prototype.slowPoll=function(){var Ie=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){Ie.poll(),Ie.cm.state.focused&&Ie.slowPoll()})},qo.prototype.fastPoll=function(){var Ie=!1,jt=this;jt.pollingFast=!0;function nr(){var sr=jt.poll();!sr&&!Ie?(Ie=!0,jt.polling.set(60,nr)):(jt.pollingFast=!1,jt.slowPoll())}jt.polling.set(20,nr)},qo.prototype.poll=function(){var Ie=this,jt=this.cm,nr=this.textarea,sr=this.prevInput;if(this.contextMenuPending||this.resetting||!jt.state.focused||ei(nr)&&!sr&&!this.composing||jt.isReadOnly()||jt.options.disableInput||jt.state.keySeq)return!1;var cr=nr.value;if(cr==sr&&!jt.somethingSelected())return!1;if(V&&z>=9&&this.hasSelection===cr||Fe&&/[\uf700-\uf7ff]/.test(cr))return jt.display.input.reset(),!1;if(jt.doc.sel==jt.display.selForContextMenu){var jr=cr.charCodeAt(0);if(jr==8203&&!sr&&(sr=""),jr==8666)return this.reset(),this.cm.execCommand("undo")}for(var hn=0,zn=Math.min(sr.length,cr.length);hn<zn&&sr.charCodeAt(hn)==cr.charCodeAt(hn);)++hn;return yc(jt,function(){ul(jt,cr.slice(hn),sr.length-hn,null,Ie.composing?"*compose":null),cr.length>1e3||cr.indexOf(`
`)>-1?nr.value=Ie.prevInput="":Ie.prevInput=cr,Ie.composing&&(Ie.composing.range.clear(),Ie.composing.range=jt.markText(Ie.composing.start,jt.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},qo.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},qo.prototype.onKeyPress=function(){V&&z>=9&&(this.hasSelection=null),this.fastPoll()},qo.prototype.onContextMenu=function(Ie){var jt=this,nr=jt.cm,sr=nr.display,cr=jt.textarea;jt.contextMenuPending&&jt.contextMenuPending();var jr=Kp(nr,Ie),hn=sr.scroller.scrollTop;if(!jr||ue)return;var zn=nr.options.resetSelectionOnContextMenu;zn&&nr.doc.sel.contains(jr)==-1&&Su(nr,rs)(nr.doc,Rp(jr),xr);var ci=cr.style.cssText,ca=jt.wrapper.style.cssText,eo=jt.wrapper.offsetParent.getBoundingClientRect();jt.wrapper.style.cssText="position: static",cr.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(Ie.clientY-eo.top-5)+"px; left: "+(Ie.clientX-eo.left-5)+`px;
z-index: 1000; background: `+(V?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var ps;re&&(ps=cr.ownerDocument.defaultView.scrollY),sr.input.focus(),re&&cr.ownerDocument.defaultView.scrollTo(null,ps),sr.input.reset(),nr.somethingSelected()||(cr.value=jt.prevInput=" "),jt.contextMenuPending=Ss,sr.selForContextMenu=nr.doc.sel,clearTimeout(sr.detectingSelectAll);function ms(){if(cr.selectionStart!=null){var Ul=nr.somethingSelected(),al=""+(Ul?cr.value:"");cr.value="⇚",cr.value=al,jt.prevInput=Ul?"":"",cr.selectionStart=1,cr.selectionEnd=al.length,sr.selForContextMenu=nr.doc.sel}}function Ss(){if(jt.contextMenuPending==Ss&&(jt.contextMenuPending=!1,jt.wrapper.style.cssText=ca,cr.style.cssText=ci,V&&z<9&&sr.scrollbars.setScrollTop(sr.scroller.scrollTop=hn),cr.selectionStart!=null)){(!V||V&&z<9)&&ms();var Ul=0,al=function(){sr.selForContextMenu==nr.doc.sel&&cr.selectionStart==0&&cr.selectionEnd>0&&jt.prevInput==""?Su(nr,Bc)(nr):Ul++<10?sr.detectingSelectAll=setTimeout(al,500):(sr.selForContextMenu=null,sr.input.reset())};sr.detectingSelectAll=setTimeout(al,200)}}if(V&&z>=9&&ms(),ze){Lc(Ie);var Xs=function(){Aa(window,"mouseup",Xs),setTimeout(Ss,20)};Vi(window,"mouseup",Xs)}else setTimeout(Ss,50)},qo.prototype.readOnlyChanged=function(Ie){Ie||this.reset(),this.textarea.disabled=Ie=="nocursor",this.textarea.readOnly=!!Ie},qo.prototype.setUneditable=function(){},qo.prototype.needsContentAttribute=!1;function dl(Ie,jt){if(jt=jt?_r(jt):{},jt.value=Ie.value,!jt.tabindex&&Ie.tabIndex&&(jt.tabindex=Ie.tabIndex),!jt.placeholder&&Ie.placeholder&&(jt.placeholder=Ie.placeholder),jt.autofocus==null){var nr=mr(Mr(Ie));jt.autofocus=nr==Ie||Ie.getAttribute("autofocus")!=null&&nr==document.body}function sr(){Ie.value=zn.getValue()}var cr;if(Ie.form&&(Vi(Ie.form,"submit",sr),!jt.leaveSubmitMethodAlone)){var jr=Ie.form;cr=jr.submit;try{var hn=jr.submit=function(){sr(),jr.submit=cr,jr.submit(),jr.submit=hn}}catch{}}jt.finishInit=function(ci){ci.save=sr,ci.getTextArea=function(){return Ie},ci.toTextArea=function(){ci.toTextArea=isNaN,sr(),Ie.parentNode.removeChild(ci.getWrapperElement()),Ie.style.display="",Ie.form&&(Aa(Ie.form,"submit",sr),!jt.leaveSubmitMethodAlone&&typeof Ie.form.submit=="function"&&(Ie.form.submit=cr))}},Ie.style.display="none";var zn=_s(function(ci){return Ie.parentNode.insertBefore(ci,Ie.nextSibling)},jt);return zn}function Os(Ie){Ie.off=Aa,Ie.on=Vi,Ie.wheelEventPixels=fp,Ie.Doc=Jd,Ie.splitLines=Lr,Ie.countColumn=Fr,Ie.findColumn=Tr,Ie.isWordChar=To,Ie.Pass=Cr,Ie.signal=ws,Ie.Line=Kn,Ie.changeEnd=Uf,Ie.scrollbarModel=vu,Ie.Pos=pl,Ie.cmpPos=Fu,Ie.modes=Gi,Ie.mimeModes=sa,Ie.resolveMode=fo,Ie.getMode=Mo,Ie.modeExtensions=fs,Ie.extendMode=On,Ie.copyState=Bo,Ie.startState=Oo,Ie.innerMode=Yl,Ie.commands=Hn,Ie.keyMap=Zm,Ie.keyName=i0,Ie.isModifierKey=c0,Ie.lookupKey=sf,Ie.normalizeKeyMap=fm,Ie.StringStream=_u,Ie.SharedTextMarker=zu,Ie.TextMarker=yl,Ie.LineWidget=Hc,Ie.e_preventDefault=Cs,Ie.e_stopPropagation=$u,Ie.e_stop=Lc,Ie.addClass=yr,Ie.contains=fr,Ie.rmClass=er,Ie.keyNames=Xp}ks(_s),zs(_s);var ol="iter insert remove copy getEditor constructor".split(" ");for(var Vu in Jd.prototype)Jd.prototype.hasOwnProperty(Vu)&&Vr(ol,Vu)<0&&(_s.prototype[Vu]=function(Ie){return function(){return Ie.apply(this.doc,arguments)}}(Jd.prototype[Vu]));return xu(Jd),_s.inputStyles={textarea:qo,contenteditable:Pl},_s.defineMode=function(Ie){!_s.defaults.mode&&Ie!="null"&&(_s.defaults.mode=Ie),qi.apply(this,arguments)},_s.defineMIME=Vo,_s.defineMode("null",function(){return{token:function(Ie){return Ie.skipToEnd()}}}),_s.defineMIME("text/plain","null"),_s.defineExtension=function(Ie,jt){_s.prototype[Ie]=jt},_s.defineDocExtension=function(Ie,jt){Jd.prototype[Ie]=jt},_s.fromTextArea=dl,Os(_s),_s.version="5.65.17",_s})}(codemirror)),codemirror.exports}var codemirrorExports=requireCodemirror();const CodeMirror=getDefaultExportFromCjs(codemirrorExports);function tryOnScopeDispose$1(e){return getCurrentScope()?(onScopeDispose(e),!0):!1}function toValue$2(e){return typeof e=="function"?e():unref(e)}const isClien
(?:
(?:`+n+":){7}(?:"+n+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+n+":){6}(?:"+y+"|:"+n+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
(?:`+n+":){5}(?::"+y+"|(?::"+n+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
(?:`+n+":){4}(?:(?::"+n+"){0,1}:"+y+"|(?::"+n+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
(?:`+n+":){3}(?:(?::"+n+"){0,2}:"+y+"|(?::"+n+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
(?:`+n+":){2}(?:(?::"+n+"){0,3}:"+y+"|(?::"+n+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+n+":){1}(?:(?::"+n+"){0,4}:"+y+"|(?::"+n+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+n+"){0,5}:"+y+"|(?::"+n+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),L=new RegExp("(?:^"+y+"$)|(?:^"+k+"$)"),$=new RegExp("^"+y+"$"),j=new RegExp("^"+k+"$"),V=function(Ne){return Ne&&Ne.exact?L:new RegExp("(?:"+t(Ne)+y+t(Ne)+")|(?:"+t(Ne)+k+t(Ne)+")","g")};V.v4=function(pe){return pe&&pe.exact?$:new RegExp(""+t(pe)+y+t(pe),"g")},V.v6=function(pe){return pe&&pe.exact?j:new RegExp(""+t(pe)+k+t(pe),"g")};var z="(?:(?:[a-z]+:)?//)",re="(?:\\S+(?::\\S*)?@)?",ie=V.v4().source,ae=V.v6().source,oe="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",ue="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",de="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Oe="(?::\\d{2,5})?",_e='(?:[/?#][^\\s"]*)?',Ce="(?:"+z+"|www\\.)"+re+"(?:localhost|"+ie+"|"+ae+"|"+oe+ue+de+")"+Oe+_e;return urlReg=new RegExp("(?:^"+Ce+"$)","i"),urlReg},pattern$2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types$2={integer:function(t){return types$2.number(t)&&parseInt(t,10)===t},float:function(t){return types$2.number(t)&&!types$2.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!types$2.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(pattern$2.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(getUrlRegex())},hex:function(t){return typeof t=="string"&&!!t.match(pattern$2.hex)}},type$1=function(t,y,n,k,L){if(t.required&&y===void 0){required$1(t,y,n,k,L);return}var $=["integer","float","array","regexp","object","method","email","number","date","url","hex"],j=t.type;$.indexOf(j)>-1?types$2[j](y)||k.push(format$1(L.messages.types[j],t.fullField,t.type)):j&&typeof y!==t.type&&k.push(format$1(L.messages.types[j],t.fullField,t.type))},range$4=function(t,y,n,k,L){var $=typeof t.len=="number",j=typeof t.min=="number",V=typeof t.max=="number",z=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,re=y,ie=null,ae=typeof y=="number",oe=typeof y=="string",ue=Array.isArray(y);if(ae?ie="number":oe?ie="string":ue&&(ie="array"),!ie)return!1;ue&&(re=y.length),oe&&(re=y.replace(z,"_").length),$?re!==t.len&&k.push(format$1(L.messages[ie].len,t.fullField,t.len)):j&&!V&&re<t.min?k.push(format$1(L.messages[ie].min,t.fullField,t.min)):V&&!j&&re>t.max?k.push(format$1(L.messages[ie].max,t.fullField,t.max)):j&&V&&(re<t.min||re>t.max)&&k.push(format$1(L.messages[ie].range,t.fullField,t.min,t.max))},ENUM$1="enum",enumerable$1=function(t,y,n,k,L){t[ENUM$1]=Array.isArray(t[ENUM$1])?t[ENUM$1]:[],t[ENUM$1].indexOf(y)===-1&&k.push(format$1(L.messages[ENUM$1],t.fullField,t[ENUM$1].join(", ")))},pattern$1=function(t,y,n,k,L){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(y)||k.push(format$1(L.messages.pattern.mismatch,t.fullField,y,t.pattern));else if(typeof t.pattern=="string"){var $=new RegExp(t.pattern);$.test(y)||k.push(format$1(L.messages.pattern.mismatch,t.fullField,y,t.pattern))}}},rules={required:required$1,whitespace,type:type$1,range:range$4,enum:enumerable$1,pattern:pattern$1},string=function(t,y,n,k,L){var $=[],j=t.required||!t.required&&k.hasOwnProperty(t.field);if(j){if(isEmptyValue(y,"string")&&!t.required)return n();rules.required(t,y,k,$,L,"string"),isEmptyValue(y,"string")||(rules.type(t,y,k,$,L),rules.range(t,y,k,$,L),rules.pattern(t,y,k,$,L),t.whitespace===!0&&rules.whitespace(t,y,k,$,L))}n($)},method2=function(t,y,n,k,L){var $=[],j=t.required||!t.required&&k.hasOwnProperty(t.field);if(j){if(isEmptyValue(y)&&!t.required)return n();rules.required(t,y,k,$,L),y!==void 0&&rules.type(t,y,k,$,L)}n($
height:0 !important;
visibility:hidden !important;
${isFirefox()?"":"overflow:hidden !important;"}
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
`,CONTEXT_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function calculateNodeStyling(e){const t=window.getComputedStyle(e),y=t.getPropertyValue("box-sizing"),n=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),k=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map($=>`${$}:${t.getPropertyValue($)}`).join(";"),paddingSize:n,borderSize:k,boxSizing:y}}function calcTextareaHeight(e,t=1,y){var n;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:k,borderSize:L,boxSizing:$,contextStyle:j}=calculateNodeStyling(e);hiddenTextarea.setAttribute("style",`${j};${HIDDEN_STYLE}`),hiddenTextarea.value=e.value||e.placeholder||"";let V=hiddenTextarea.scrollHeight;const z={};$==="border-box"?V=V+L:$==="content-box"&&(V=V-k),hiddenTextarea.value="";const re=hiddenTextarea.scrollHeight-k;if(isNumber$3(t)){let ie=re*t;$==="border-box"&&(ie=ie+k+L),V=Math.max(ie,V),z.minHeight=`${ie}px`}if(isNumber$3(y)){let ie=re*y;$==="border-box"&&(ie=ie+k+L),V=Math.min(ie,V)}return z.height=`${V}px`,(n=hiddenTextarea.parentNode)==null||n.removeChild(hiddenTextarea),hiddenTextarea=void 0,z}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...useAriaProps(["ariaLabel"])}),inputEmits={[UPDATE_MODEL_EVENT]:e=>isString$3(e),input:e=>isString$3(e),change:e=>isString$3(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},__default__$1J=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$2V=defineComponent({...__default__$1J,props:inputProps,emits:inputEmits,setup(e,{expose:t,emit:y}){const n=e,k=useAttrs$1(),L=useSlots(),$=computed(()=>{const Fi={};return n.containerRole==="combobox"&&(Fi["aria-haspopup"]=k["aria-haspopup"],Fi["aria-owns"]=k["aria-owns"],Fi["aria-expanded"]=k["aria-expanded"]),Fi}),j=computed(()=>[n.type==="textarea"?Oe.b():de.b(),de.m(oe.value),de.is("disabled",ue.value),de.is("exceed",Sr.value),{[de.b("group")]:L.prepend||L.append,[de.m("prefix")]:L.prefix||n.prefixIcon,[de.m("suffix")]:L.suffix||n.suffixIcon||n.clearable||n.showPassword,[de.bm("suffix","password-clear")]:mr.value&&yr.value,[de.b("hidden")]:n.type==="hidden"},k.class]),V=computed(()=>[de.e("wrapper"),de.is("focus",Ue.value)]),z=useAttrs({excludeKeys:computed(()=>Object.keys($.value))}),{form:re,formItem:ie}=useFormItem(),{inputId:ae}=useFormItemInputId(n,{formItemContext:ie}),oe=useFormSize(),ue=useFormDisabled(),de=useNamespace("input"),Oe=useNamespace("textarea"),_e=shallowRef(),Ce=shallowRef(),pe=ref$1(!1),Ne=ref$1(!1),Fe=ref$1(),Ve=shallowRef(n.inputStyle),Pt=computed(()=>_e.value||Ce.value),{wrapperRef:kt,isFocused:Ue,hand
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const mousewheel=function(e,t){if(e&&e.addEventListener){const y=function(n){const k=Y(n);t&&Reflect.apply(t,this,[n,k])};e.addEventListener("wheel",y,{passive:!0})}},Mousewheel={beforeMount(e,t){mousewheel(e,t.value)}},basicTimeSpinnerProps=buildProps({role:{type:String,required:!0},spinnerDate:{type:definePropType(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:definePropType(String),default:""},...disabledTimeListsProps}),_sfc_main$2z=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup(e,{emit:t}){const y=e,n=useNamespace("time"),{getHoursList:k,getMinutesList:L,getSecondsList:$}=getTimeLists(y.disabledHours,y.disabledMinutes,y.disabledSeconds);let j=!1;const V=ref$1(),z=ref$1(),re=ref$1(),ie=ref$1(),ae={hours:z,minutes:re,seconds:ie},oe=computed(()=>y.showSeconds?timeUnits$1:timeUnits$1.slice(0,2)),ue=computed(()=>{const{spinnerDate:mr}=y,yr=mr.hour(),Ir=mr.minute(),Nr=mr.second();return{hours:yr,minutes:Ir,seconds:Nr}}),de=computed(()=>{const{hours:mr,minutes:yr}=unref(ue);return{hours:k(y.role),minutes:L(mr,y.role),seconds:$(mr,yr,y.role)}}),Oe=computed(()=>{const{hours:mr,minutes:yr,seconds:Ir}=unref(ue);return{hours:buildTimeList(mr,23),minutes:buildTimeList(yr,59),seconds:buildTimeList(Ir,59)}}),_e=debounce(mr=>{j=!1,Ne(mr)},200),Ce=mr=>{if(!!!y.amPmMode)return"";const Ir=y.amPmMode==="A";let Nr=mr<12?" am":" pm";return Ir&&(Nr=Nr.toUpperCase()),Nr},pe=mr=>{let yr;switch(mr){case"hours":yr=[0,2];break;case"minutes":yr=[3,5];break;case"seconds":yr=[6,8];break}const[Ir,Nr]=yr;t("select-range",Ir,Nr),V.value=mr},Ne=mr=>{Pt(mr,unref(ue)[mr])},Fe=()=>{Ne("hours"),Ne("minutes"),Ne("seconds")},Ve=mr=>mr.querySelector(`.${n.namespace.value}-scrollbar__wrap`),Pt=(mr,yr)=>{if(y.arrowControl)return;const Ir=unref(ae[mr]);Ir&&Ir.$el&&(Ve(Ir.$el).scrollTop=Math.max(0,yr*kt(mr)))},kt=mr=>{const yr=unref(ae[mr]),Ir=yr==null?void 0:yr.$el.querySelector("li");return Ir&&Number.parseFloat(getStyle(Ir,"height"))||0},Ue=()=>{Et(1)},ze=()=>{Et(-1)},Et=mr=>{V.value||pe("hours");const yr=V.value,Ir=unref(ue)[yr],Nr=V.value==="hours"?24:60,Sr=er(yr,Ir,mr,Nr);tr(yr,Sr),Pt(yr,Sr),nextTick$1(()=>pe(yr))},er=(mr,yr,Ir,Nr)=>{let Sr=(yr+Ir+Nr)%Nr;const vr=unref(de)[mr];for(;vr[Sr]&&Sr!==yr;)Sr=(Sr+Ir+Nr)%Nr;return Sr},tr=(mr,yr)=>{if(unref(de)[mr][yr])return;const{hours:Sr,minutes:vr,seconds:Mr}=unref(ue);let $r;switch(mr){case"hours":$r=y.spinnerDate.hour(yr).minute(vr).second(Mr);break;case"minutes":$r=y.spinnerDate.hour(Sr).minute(yr).second(Mr);break;case"seconds":$r=y.spinnerDate.hour(Sr).minute(vr).second(yr);break}t("change",$r)},ir=(mr,{value:yr,disabled:Ir})=>{Ir||(tr(mr,yr),pe(mr),Pt(mr,yr))},rr=mr=>{j=!0,_e(mr);const yr=Math.min(Math.round((Ve(unref(ae[mr]).$el).scrollTop-(lr(mr)*.5-10)/kt(mr)+3)/kt(mr)),mr==="hours"?23:59);tr(mr,yr)},lr=mr=>unref(ae[mr]).$el.offsetHeight,ur=()=>{const mr=yr=>{const Ir=unref(ae[yr]);Ir&&Ir.$el&&(Ve(Ir.$el).onscroll=()=>{rr(yr)})};mr("hours"),mr("minutes"),mr("seconds")};onMounted(()=>{nextTick$1(()=>{!y.arrowControl&&ur(),Fe(),y.role==="start"&&pe("hours")})});const fr=(mr,yr)=>{ae[yr].value=mr};return t("set-option",[`${y.role}_scrollDown`,Et]),t("set-option",[`${y.role}_emitSelectRange`,pe]),watch(()=>y.spinnerDate,()=>{j||Fe()}),(mr,yr)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(n).b("spinner"),{"has-seconds":mr.showSeconds}])},[mr.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(oe),Ir=>(openBlock(),createBlock(unref(ElScrollbar),{key:Ir,ref_for:!0,ref:Nr=>fr(Nr,Ir),class:normalizeClass(unref(n).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(n).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Nr=>pe(Ir),onMousemove:Nr=>Ne(Ir)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(de)[Ir],(Nr,Sr)=>(openBlock(),createElementBlock("li",{key:Sr,class:normalizeClass([unref(n).be("spinner","item"),unref(n).is("active",Sr===
Add an empty element to avoid render label,
do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
`),createBaseVNode("span")]),_:1},8,["model-value","label","disabled","onUpdate:modelValue","onClick"])):e.isLeaf&&e.node.checked?(openBlock(),createBlock(z,{key:2,class:normalizeClass(e.ns.e("prefix"))},{default:withCtx(()=>[createVNode(V)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode(re),createCommentVNode(" postfix "),e.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[e.node.loading?(openBlock(),createBlock(z,{key:0,class:normalizeClass([e.ns.is("loading"),e.ns.e("postfix")])},{default:withCtx(()=>[createVNode(ie)]),_:1},8,["class"])):(openBlock(),createBlock(z,{key:1,class:normalizeClass(["arrow-right",e.ns.e("postfix")])},{default:withCtx(()=>[createVNode(ae)]),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex","onMouseenter","onFocus","onClick"])}var ElCascaderNode=_export_sfc$1(_sfc_main$2l,[["render",_sfc_render$t],["__file","node.vue"]]);const _sfc_main$2k=defineComponent({name:"ElCascaderMenu",components:{Loading:loading_default,ElIcon,ElScrollbar,ElCascaderNode},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=getCurrentInstance(),y=useNamespace("cascader-menu"),{t:n}=useLocale(),k=useId();let L=null,$=null;const j=inject(CASCADER_PANEL_INJECTION_KEY),V=ref$1(null),z=computed(()=>!e.nodes.length),re=computed(()=>!j.initialLoaded),ie=computed(()=>`${k.value}-${e.index}`),ae=Oe=>{L=Oe.target},oe=Oe=>{if(!(!j.isHoverMenu||!L||!V.value))if(L.contains(Oe.target)){ue();const _e=t.vnode.el,{left:Ce}=_e.getBoundingClientRect(),{offsetWidth:pe,offsetHeight:Ne}=_e,Fe=Oe.clientX-Ce,Ve=L.offsetTop,Pt=Ve+L.offsetHeight;V.value.innerHTML=`
<path style="pointer-events: auto;" fill="transparent" d="M${Fe} ${Ve} L${pe} 0 V${Ve} Z" />
<path style="pointer-events: auto;" fill="transparent" d="M${Fe} ${Pt} L${pe} ${Ne} V${Pt} Z" />
`}else $||($=window.setTimeout(de,j.config.hoverThreshold))},ue=()=>{$&&(clearTimeout($),$=null)},de=()=>{V.value&&(V.value.innerHTML="",ue())};return{ns:y,panel:j,hoverZone:V,isEmpty:z,isLoading:re,menuId:ie,t:n,handleExpand:ae,handleMouseMove:oe,clearHoverZone:de}}});function _sfc_render$s(e,t,y,n,k,L){const $=resolveComponent("el-cascader-node"),j=resolveComponent("loading"),V=resolveComponent("el-icon"),z=resolveComponent("el-scrollbar");return openBlock(),createBlock(z,{key:e.menuId,tag:"ul",role:"menu",class:normalizeClass(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:withCtx(()=>{var re;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.nodes,ie=>(openBlock(),createBlock($,{key:ie.uid,node:ie,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),e.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(e.ns.e("empty-text"))},[createVNode(V,{size:"14",class:normalizeClass(e.ns.is("loading"))},{default:withCtx(()=>[createVNode(j)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(e.ns.e("empty-text"))},toDisplayString(e.t("el.cascader.noData")),3)):(re=e.panel)!=null&&re.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass(e.ns.e("hover-zone"))},null,2)):createCommentVNode("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc$1(_sfc_main$2k,[["render",_sfc_render$s],["__file","menu.vue"]]);let uid=0;const calculatePathNodes=e=>{const t=[e];let{parent:y}=e;for(;y;)t.unshift(y),y=y.parent;return t};let Node$2=class q0{constructor(t,y,n,k=!1){this.data=t,this.config=y,this.parent=n,this.root=k,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:L,label:$,children:j}=y,V=t[j],z=calculatePathNodes(this);this.level=k?0:n?n.level+1:1,this.value=t[L],this.label=t[$],this.pathNodes=z,this.pathValues=z.map(re=>re.value),this.pathLabels=z.map(re=>re.label),this.childrenData=V,this.children=(V||[]).map(re=>new q0(re,y,this)),this.loaded=!y.lazy||this.isLeaf||!isEmpty$1(V)}get isDisabled(){const{data:t,parent:y,config:n}=this,{disabled:k,checkStrictly:L}=n;return(isFunction$4(k)?k(t,this):!!t[k])||!L&&(y==null?void 0:y.isDisabled)}get isLeaf(){const{data:t,config:y,childrenData:n,loaded:k}=this,{lazy:L,leaf:$}=y,j=isFunction$4($)?$(t,this):t[$];return isUndefined$1(j)?L&&!k?!1:!(Array.isArray(n)&&n.length):!!j}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:y,children:n}=this,k=new q0(t,this.config,this);return Array.isArray(y)?y.push(t):this.childrenData=[t],n.push(k),k}calcText(t,y){const n=t?this.pathLabels.join(y):this.label;return this.text=n,n}broadcast(t,...y){const n=`onParent${capitalize(t)}`;this.children.forEach(k=>{k&&(k.broadcast(t,...y),k[n]&&k[n](...y))})}emit(t,...y){const{parent:n}=this,k=`onChild${capitalize(t)}`;n&&(n[k]&&n[k](...y),n.emit(t,...y))}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,y=t.filter(k=>!k.isDisabled),n=y.length?y.every(k=>k.checked):!1;this.setCheckState(n)}setCheckState(t){const y=this.children.length,n=this.children.reduce((k,L)=>{const $=L.checked?1:L.indeterminate?.5:0;return k+$},0);this.checked=this.loaded&&this.children.filter(k=>!k.isDisabled).every(k=>k.loaded&&k.checked)&&t,this.indeterminate=this.loaded&&n!==y&&n>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:y,multiple:n}=this.config;y||!n?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check"))}};const flatNodes=(e,t)=>e.reduce((y,n)=>(n.isLeaf?y.push(n):(!t&&y.push(n),y=y.concat(flatNodes(n.children,t))),y),[]);let Store$1=class{constructor(t,y){this.config=y;const n=(t||[]).map(k=>new Node$2(k,this.config));this.nodes=n,this.allNodes=
M 50 50
m 0 ${Ne?"":"-"}${pe}
a ${pe} ${pe} 0 1 1 0 ${Ne?"-":""}${pe*2}
a ${pe} ${pe} 0 1 1 0 ${Ne?"":"-"}${pe*2}
`}),V=computed(()=>2*Math.PI*$.value),z=computed(()=>t.type==="dashboard"?.75:1),re=computed(()=>`${-1*V.value*(1-z.value)/2}px`),ie=computed(()=>({strokeDasharray:`${V.value*z.value}px, ${V.value}px`,strokeDashoffset:re.value})),ae=computed(()=>({strokeDasharray:`${V.value*z.value*(t.percentage/100)}px, ${V.value}px`,strokeDashoffset:re.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),oe=computed(()=>{let pe;return t.color?pe=Ce(t.percentage):pe=y[t.status]||y.default,pe}),ue=computed(()=>t.status==="warning"?warning_filled_default:t.type==="line"?t.status==="success"?circle_check_default:circle_close_default:t.status==="success"?check_default:close_default),de=computed(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),Oe=computed(()=>t.format(t.percentage));function _e(pe){const Ne=100/pe.length;return pe.map((Ve,Pt)=>isString$3(Ve)?{color:Ve,percentage:(Pt+1)*Ne}:Ve).sort((Ve,Pt)=>Ve.percentage-Pt.percentage)}const Ce=pe=>{var Ne;const{color:Fe}=t;if(isFunction$4(Fe))return Fe(pe);if(isString$3(Fe))return Fe;{const Ve=_e(Fe);for(const Pt of Ve)if(Pt.percentage>pe)return Pt.color;return(Ne=Ve[Ve.length-1])==null?void 0:Ne.color}};return(pe,Ne)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(n).b(),unref(n).m(pe.type),unref(n).is(pe.status),{[unref(n).m("without-text")]:!pe.showText,[unref(n).m("text-inside")]:pe.textInside}]),role:"progressbar","aria-valuenow":pe.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[pe.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(n).be("bar","outer")),style:normalizeStyle({height:`${pe.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(n).be("bar","inner"),{[unref(n).bem("bar","inner","indeterminate")]:pe.indeterminate},{[unref(n).bem("bar","inner","striped")]:pe.striped},{[unref(n).bem("bar","inner","striped-flow")]:pe.stripedFlow}]),style:normalizeStyle(unref(k))},[(pe.showText||pe.$slots.default)&&pe.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(n).be("bar","innerText"))},[renderSlot(pe.$slots,"default",{percentage:pe.percentage},()=>[createBaseVNode("span",null,toDisplayString(unref(Oe)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(n).b("circle")),style:normalizeStyle({height:`${pe.width}px`,width:`${pe.width}px`})},[(openBlock(),createElementBlock("svg",{viewBox:"0 0 100 100"},[createBaseVNode("path",{class:normalizeClass(unref(n).be("circle","track")),d:unref(j),stroke:`var(${unref(n).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":pe.strokeLinecap,"stroke-width":unref(L),fill:"none",style:normalizeStyle(unref(ie))},null,14,["d","stroke","stroke-linecap","stroke-width"]),createBaseVNode("path",{class:normalizeClass(unref(n).be("circle","path")),d:unref(j),stroke:unref(oe),fill:"none",opacity:pe.percentage?1:0,"stroke-linecap":pe.strokeLinecap,"stroke-width":unref(L),style:normalizeStyle(unref(ae))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),(pe.showText||pe.$slots.default)&&!pe.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(n).e("text")),style:normalizeStyle({fontSize:`${unref(de)}px`})},[renderSlot(pe.$slots,"default",{percentage:pe.percentage},()=>[pe.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(ue))))]),_:1})):(openBlock(),createElementBlock("span",{key:0},toDisplayString(unref(Oe)),1))])],6)):createCommentVNode("v-if",!0)],10,["aria-valuenow"]))}});var Progress=_export_sfc$1(_sfc_main$1k,[["__file","progress.vue"]]);const ElProgress=withInstall(Progress),rateProps=buildProps({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:definePropType([Array,Object]),default:()
`||z==="\r"){$=V;continue}if(L.includes(z)){const re=$===-1?n:$;j={pattern:k.slice(V+1,re),start:V+1,end:re,prefix:z,prefixIndex:V,splitIndex:$,selectionEnd:n};break}}return j},getCursorPosition=(e,t={debug:!1,useSelectionEnd:!1})=>{const y=e.selectionStart!==null?e.selectionStart:0,n=e.selectionEnd!==null?e.selectionEnd:0,k=t.useSelectionEnd?n:y,L=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const ae=document.querySelector("#input-textarea-caret-position-mirror-div");ae!=null&&ae.parentNode&&ae.parentNode.removeChild(ae)}const $=document.createElement("div");$.id="input-textarea-caret-position-mirror-div",document.body.appendChild($);const j=$.style,V=window.getComputedStyle(e),z=e.nodeName==="INPUT";j.whiteSpace=z?"nowrap":"pre-wrap",z||(j.wordWrap="break-word"),j.position="absolute",t.debug||(j.visibility="hidden"),L.forEach(ae=>{if(z&&ae==="lineHeight")if(V.boxSizing==="border-box"){const oe=Number.parseInt(V.height),ue=Number.parseInt(V.paddingTop)+Number.parseInt(V.paddingBottom)+Number.parseInt(V.borderTopWidth)+Number.parseInt(V.borderBottomWidth),de=ue+Number.parseInt(V.lineHeight);oe>de?j.lineHeight=`${oe-ue}px`:oe===de?j.lineHeight=V.lineHeight:j.lineHeight="0"}else j.lineHeight=V.height;else j[ae]=V[ae]}),isFirefox()?e.scrollHeight>Number.parseInt(V.height)&&(j.overflowY="scroll"):j.overflow="hidden",$.textContent=e.value.slice(0,Math.max(0,k)),z&&$.textContent&&($.textContent=$.textContent.replace(/\s/g," "));const re=document.createElement("span");re.textContent=e.value.slice(Math.max(0,k))||".",re.style.position="relative",re.style.left=`${-e.scrollLeft}px`,re.style.top=`${-e.scrollTop}px`,$.appendChild(re);const ie={top:re.offsetTop+Number.parseInt(V.borderTopWidth),left:re.offsetLeft+Number.parseInt(V.borderLeftWidth),height:Number.parseInt(V.fontSize)*1.5};return t.debug?re.style.backgroundColor="#aaa":document.body.removeChild($),ie.left>=e.clientWidth&&(ie.left=e.clientWidth),ie},mentionProps=buildProps({...inputProps,options:{type:definePropType(Array),default:()=>[]},prefix:{type:definePropType([String,Array]),default:"@",validator:e=>isString$3(e)?e.length===1:e.every(t=>isString$3(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:definePropType([Boolean,Function]),default:()=>filterOption,validator:e=>e===!1?!0:isFunction$4(e)},placement:{type:definePropType(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:definePropType(Function)},modelValue:String,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})}}),mentionEmits={[UPDATE_MODEL_EVENT]:e=>isString$3(e),search:(e,t)=>isString$3(e)&&isString$3(t),select:(e,t)=>isString$3(e.value)&&isString$3(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},mentionDropdownProps=buildProps({options:{type:definePropType(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),mentionDropdownEmits={select:e=>isString$3(e.value)},__default__$3=defineComponent({name:"ElMentionDropdown"}),_sfc_main$A=defineComponent({...__default__$3,props:mentionDropdownProps,emits:mentionDropdownEmits,setup(e,{expose:t,emit:y}){const n=e,k=useNamespace("mention"),{t:L}=useLocale(),$=ref$1(-1),j=ref$1(),V=ref$1(),z=ref$1(),re=(pe,Ne)=>[k.be("dropdown","item"),k.is("hovering",$.value===Ne),k.is("disabled",pe.disabled||n.disabled)],ie=pe=>{pe.disabled||n.disabled||y("select",pe)},ae=pe=>{$.value=pe},oe=computed(()=>n.disabled||n.options.every(pe=>pe.disabled)),ue=computed(()=>n.options[$.value]),de=()=>{ue.value&&y("select",ue.value)},Oe=pe=>{const{options:Ne}=n;if(Ne.length===0|
https://github.com/highlightjs/highlight.js/issues/2277`),Ir=ur,yr=fr),mr===void 0&&(mr=!0);const Nr={code:yr,language:Ir};rr("before:highlight",Nr);const Sr=Nr.result?Nr.result:ie(Nr.language,Nr.code,mr);return Sr.code=Nr.code,rr("after:highlight",Sr),Sr}function ie(ur,fr,mr,yr){const Ir=Object.create(null);function Nr(La,Po){return La.keywords[Po]}function Sr(){if(!kr.keywords){Kr.addText(Ar);return}let La=0;kr.keywordPatternRe.lastIndex=0;let Po=kr.keywordPatternRe.exec(Ar),ns="";for(;Po;){ns+=Ar.substring(La,Po.index);const Zn=Er.case_insensitive?Po[0].toLowerCase():Po[0],Hr=Nr(kr,Zn);if(Hr){const[Dr,Rn]=Hr;if(Kr.addText(ns),ns="",Ir[Zn]=(Ir[Zn]||0)+1,Ir[Zn]<=MAX_KEYWORD_HITS&&(qr+=Rn),Dr.startsWith("_"))ns+=Po[0];else{const kn=Er.classNameAliases[Dr]||Dr;$r(Po[0],kn)}}else ns+=Po[0];La=kr.keywordPatternRe.lastIndex,Po=kr.keywordPatternRe.exec(Ar)}ns+=Ar.substring(La),Kr.addText(ns)}function vr(){if(Ar==="")return;let La=null;if(typeof kr.subLanguage=="string"){if(!t[kr.subLanguage]){Kr.addText(Ar);return}La=ie(kr.subLanguage,Ar,!0,Wr[kr.subLanguage]),Wr[kr.subLanguage]=La._top}else La=oe(Ar,kr.subLanguage.length?kr.subLanguage:null);kr.relevance>0&&(qr+=La.relevance),Kr.__addSublanguage(La._emitter,La.language)}function Mr(){kr.subLanguage!=null?vr():Sr(),Ar=""}function $r(La,Po){La!==""&&(Kr.startScope(Po),Kr.addText(La),Kr.endScope())}function gr(La,Po){let ns=1;const Zn=Po.length-1;for(;ns<=Zn;){if(!La._emit[ns]){ns++;continue}const Hr=Er.classNameAliases[La[ns]]||La[ns],Dr=Po[ns];Hr?$r(Dr,Hr):(Ar=Dr,Sr(),Ar=""),ns++}}function _r(La,Po){return La.scope&&typeof La.scope=="string"&&Kr.openNode(Er.classNameAliases[La.scope]||La.scope),La.beginScope&&(La.beginScope._wrap?($r(Ar,Er.classNameAliases[La.beginScope._wrap]||La.beginScope._wrap),Ar=""):La.beginScope._multi&&(gr(La.beginScope,Po),Ar="")),kr=Object.create(La,{parent:{value:kr}}),kr}function Fr(La,Po,ns){let Zn=startsWith$1(La.endRe,ns);if(Zn){if(La["on:end"]){const Hr=new Response$1(La);La["on:end"](Po,Hr),Hr.isMatchIgnored&&(Zn=!1)}if(Zn){for(;La.endsParent&&La.parent;)La=La.parent;return La}}if(La.endsWithParent)return Fr(La.parent,Po,ns)}function zr(La){return kr.matcher.regexIndex===0?(Ar+=La[0],1):(To=!0,0)}function Vr(La){const Po=La[0],ns=La.rule,Zn=new Response$1(ns),Hr=[ns.__beforeBegin,ns["on:begin"]];for(const Dr of Hr)if(Dr&&(Dr(La,Zn),Zn.isMatchIgnored))return zr(Po);return ns.skip?Ar+=Po:(ns.excludeBegin&&(Ar+=Po),Mr(),!ns.returnBegin&&!ns.excludeBegin&&(Ar=Po)),_r(ns,La),ns.returnBegin?0:Po.length}function Gr(La){const Po=La[0],ns=fr.substring(La.index),Zn=Fr(kr,La,ns);if(!Zn)return NO_MATCH;const Hr=kr;kr.endScope&&kr.endScope._wrap?(Mr(),$r(Po,kr.endScope._wrap)):kr.endScope&&kr.endScope._multi?(Mr(),gr(kr.endScope,La)):Hr.skip?Ar+=Po:(Hr.returnEnd||Hr.excludeEnd||(Ar+=Po),Mr(),Hr.excludeEnd&&(Ar=Po));do kr.scope&&Kr.closeNode(),!kr.skip&&!kr.subLanguage&&(qr+=kr.relevance),kr=kr.parent;while(kr!==Zn.parent);return Zn.starts&&_r(Zn.starts,La),Hr.returnEnd?0:Po.length}function Cr(){const La=[];for(let Po=kr;Po!==Er;Po=Po.parent)Po.scope&&La.unshift(Po.scope);La.forEach(Po=>Kr.openNode(Po))}let xr={};function Br(La,Po){const ns=Po&&Po[0];if(Ar+=La,ns==null)return Mr(),0;if(xr.type==="begin"&&Po.type==="end"&&xr.index===Po.index&&ns===""){if(Ar+=fr.slice(Po.index,Po.index+1),!k){const Zn=new Error(`0 width match regex (${ur})`);throw Zn.languageName=ur,Zn.badRule=xr.rule,Zn}return 1}if(xr=Po,Po.type==="begin")return Vr(Po);if(Po.type==="illegal"&&!mr){const Zn=new Error('Illegal lexeme "'+ns+'" for mode "'+(kr.scope||"<unnamed>")+'"');throw Zn.mode=kr,Zn}else if(Po.type==="end"){const Zn=Gr(Po);if(Zn!==NO_MATCH)return Zn}if(Po.type==="illegal"&&ns==="")return 1;if(Fi>1e5&&Fi>Po.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Ar+=ns,ns.length}const Er=Ue(ur);if(!Er)throw error(L.replace("{}",ur)),new Error('Unknown language: "'+ur+'"');const Tr=compileLanguage(Er);let Rr="",kr=yr||Tr;const Wr={},Kr=new j.__emitter(j);Cr();let Ar="",qr=0,Jr=0,Fi=0,To=!1;try{if(Er.__emitTokens)Er.__emitTokens(fr,Kr);els
`},ue]}}return kotlin_1=k,kotlin_1}var lasso_1,hasRequiredLasso;function requireLasso(){if(hasRequiredLasso)return lasso_1;hasRequiredLasso=1;function e(t){const y="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",k="\\]|\\?>",L={$pattern:y+"|&[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"},$=t.COMMENT("<!--","-->",{relevance:0}),j={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[$]}},V={className:"meta",begin:"\\[/noprocess|"+n},z={className:"symbol",begin:"'"+y+"'"},re=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.inherit(t.C_NUMBER_MODE,{begin:t.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+y},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:y,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+y,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[z]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[t.inherit(t.TITLE_MODE,{begin:y+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:L,contains:[{className:"meta",begin:k,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[$]}},j,V,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:L,contains:[{className:"meta",begin:k,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[$]}},j,V].concat(re)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(re)}}return lasso_1=e,lasso_1}var latex_1,hasRequiredLatex;function requireLatex(){if(hasRequiredLatex)return latex_1;hasRequiredLatex=1;function e(t){const n=t.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?
]`,ue={scope:"string",variants:[re,z,ie,ae]},de={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},Oe=["false","null","true"],_e=["__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"],Ce=["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"],Ne={keyword:_e,literal:(ir=>{const rr=[];return ir.forEach(lr=>{rr.push(lr),lr.toLowerCase()===lr?rr.push(lr.toUpperCase()):rr.push(lr.toLowerCase())}),rr})(Oe),built_in:Ce},Fe=ir=>ir.map(rr=>rr.replace(/\|\d+$/,"")),Ve={variants:[{match:[/new/,y.concat(oe,"+"),y.concat("(?!",Fe(Ce).join("\\b|"),"\\b)"),L],scope:{1:"keyword",4:"title.class"}}]},Pt=y.concat(k,"\\b(?!\\()"),kt={variants:[{match:[y.concat(/::/,y.lookahead(/(?!class\b)/)),Pt],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[L,y.concat(/::/,y.lookahead(/(?!class\b)/)),Pt],scope:{1:"title.class",3:"variable.constant"}},{match:[L,y.concat("::",y.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[L,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},Ue={scope:"attr",match:y.concat(k,y.lookahead(":"),y.lookahead(/(?!::)/))},ze={relevance:0,begin:/\(/,end:/\)/,keywords:Ne,contains:[Ue,$,kt,t.C_BLOCK_COMMENT_MODE,ue,de,Ve]},Et={relevance:0,match:[/\b/,y.concat("(?!fn\\b|function\\b|",Fe(_e).join("\\b|"),"|",Fe(Ce).join("\\b|"),"\\b)"),k,y.concat(oe,"*"),y.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[ze]};ze.contains.push(Et);const er=[Ue,kt,t.C_BLOCK_COMMENT_MODE,ue,de,Ve],tr={begin:y.concat(/#\[\s*/,L),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:Oe,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{lit
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return smali_1=e,smali_1}var smalltalk_1,hasRequiredSmalltalk;function requireSmalltalk(){if(hasRequiredSmalltalk)return smalltalk_1;hasRequiredSmalltalk=1;function e(t){const y="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},k={className:"symbol",begin:"#"+t.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[t.COMMENT('"','"'),t.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:y+":",relevance:0},t.C_NUMBER_MODE,k,n,{begin:"\\|[ ]*"+y+"([ ]+"+y+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+y}]},{begin:"#\\(",end:"\\)",contains:[t.APOS_STRING_MODE,n,t.C_NUMBER_MODE,k]}]}}return smalltalk_1=e,smalltalk_1}var sml_1,hasRequiredSml;function requireSml(){if(hasRequiredSml)return sml_1;hasRequiredSml=1;function e(t){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},t.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']*"},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.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=e,sml_1}var sqf_1,hasRequiredSqf;function requireSqf(){if(hasRequiredSqf)return sqf_1;hasRequiredSqf=1;function e(t){const y={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},k={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},L=["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"],$=["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"],j=["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","addPubl
]*?"'`},{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)(?=\\()"}]},t.COMMENT("^[ ]*\\*.*$",!1),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}return stata_1=e,stata_1}var step21_1,hasRequiredStep21;function requireStep21(){if(hasRequiredStep21)return step21_1;hasRequiredStep21=1;function e(t){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},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*!","\\*/"),t.C_NUMBER_MODE,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return step21_1=e,step21_1}var stylus_1,hasRequiredStylus;function requireStylus(){if(hasRequiredStylus)return stylus_1;hasRequiredStylus=1;const e=z=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:z.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:[z.APOS_STRING_MODE,z.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:z.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_-]*/}}),t=["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"],y=["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"],n=[...t,...y],k=["any-hover","any-pointer","aspe
(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=e,subunit_1}var swift_1,hasRequiredSwift;function requireSwift(){if(hasRequiredSwift)return swift_1;hasRequiredSwift=1;function e(kt){return kt?typeof kt=="string"?kt:kt.source:null}function t(kt){return y("(?=",kt,")")}function y(...kt){return kt.map(ze=>e(ze)).join("")}function n(kt){const Ue=kt[kt.length-1];return typeof Ue=="object"&&Ue.constructor===Object?(kt.splice(kt.length-1,1),Ue):{}}function k(...kt){return"("+(n(kt).capture?"":"?:")+kt.map(Et=>e(Et)).join("|")+")"}const L=kt=>y(/\b/,kt,/\w$/.test(kt)?/\b/:/\B/),$=["Protocol","Type"].map(L),j=["init","self"].map(L),V=["Any","Self"],z=["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"],re=["false","nil","true"],ie=["assignment","associativity","higherThan","left","lowerThan","none","right"],ae=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],oe=["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"],ue=k(/[/=\-+!*%<>&|^~?]/,/[\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]/),de=k(ue,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Oe=y(ue,de,"*"),_e=k(/[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]/),Ce=k(_e,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),pe=y(_e,Ce,"*"),Ne=y(/[A-Z]/,Ce,"*"),Fe=["attached","autoclosure",y(/convention\(/,k("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",y(/objc\(/,pe,/\)
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+t/2.075+" -"+t+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+t)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+t)+" "+y+"h400000v"+(40+t)+"h-400000z"},sqrtSize1=function(t,y){return"M263,"+(601+t+y)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+t/2.084+" -"+t+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+t)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+t)+" "+y+"h400000v"+(40+t)+"h-400000z"},sqrtSize2=function(t,y){return"M983 "+(10+t+y)+`
l`+t/3.13+" -"+t+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+t)+" "+y+"h400000v"+(40+t)+"h-400000z"},sqrtSize3=function(t,y){return"M424,"+(2398+t+y)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+t)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+y+`
h400000v`+(40+t)+"h-400000z"},sqrtSize4=function(t,y){return"M473,"+(2713+t+y)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+t)+" "+y+"h400000v"+(40+t)+"H1017.7z"},phasePath=function(t){var y=t/2;return"M400000 "+t+" H0 L"+y+" 0 l65 45 L145 "+(t-80)+" H400000z"},sqrtTall=function(t,y,n){var k=n-54-y-t;return"M702 "+(t+y)+"H400000"+(40+t)+`
H742v`+k+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+y+"H400000v"+(40+t)+"H742z"},sqrtPath=function(t,y,n){y=1e3*y;var k="";switch(t){case"sqrtMain":k=sqrtMain(y,hLinePad);break;case"sqrtSize1":k=sqrtSize1(y,hLinePad);break;case"sqrtSize2":k=sqrtSize2(y,hLinePad);break;case"sqrtSize3":k=sqrtSize3(y,hLinePad);break;case"sqrtSize4":k=sqrtSize4(y,hLinePad);break;case"sqrtTall":k=sqrtTall(y,hLinePad,n)}return k},innerPath=function(t,y){switch(t){case"⎜":return"M291 0 H417 V"+y+" H291z M291 0 H417 V"+y+" H291z";case"":return"M145 0 H188 V"+y+" H145z M145 0 H188 V"+y+" H145z";case"∥":return"M145 0 H188 V"+y+" H145z M145 0 H188 V"+y+" H145z"+("M367 0 H410 V"+y+" H367z M367 0 H410 V"+y+" H367z");case"⎟":return"M457 0 H583 V"+y+" H457z M457 0 H583 V"+y+" H457z";case"⎢":return"M319 0 H403 V"+y+" H319z M319 0 H403 V"+y+" H319z";case"⎥":return"M263 0 H347 V"+y+" H263z M263 0 H347 V"+y+" H263z";case"⎪":return"M384 0 H504 V"+y+" H384z M384 0 H504 V"+y+" H384z";case"⏐":return"M312 0 H355 V"+y+" H312z M312 0 H355 V"+y+" H312z";case"‖":return"M257 0 H300 V"+y+" H257z M257 0 H300 V"+y+" H257z"+("M478 0 H521 V"+y+" H478z M478 0 H521 V"+y+" H478z");default:return""}},path={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},tallDelim=function(t,y){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+y+` v1759 h347 v-84
H403z M403 1759 V0 H319 V1759 v`+y+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+y+` v1759 H0 v84 H347z
M347 1759 V0 H263 V1759 v`+y+" v1759 h84z";case"vert":return"M145 15 v585 v"+y+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-y+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+y+" v585 h43z";case"doublevert":return"M145 15 v585 v"+y+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-y+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+y+` v585 h43z
M367 15 v585 v`+y+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-y+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+y+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+y+` v1715 h263 v84 H319z
MM319 602 V0 H403 V602 v`+y+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+y+` v1799 H0 v-84 H319z
MM319 602 V0 H403 V602 v`+y+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+y+` v602 h84z
M403 1759 V0 H319 V1759 v`+y+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+y+` v602 h84z
M347 1759 V0 h-84 V1759 v`+y+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
-36,557 l0,`+(y+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
l0,-`+(y+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(y+9)+`
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
l0,-`+(y+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class DocumentFragment{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return utils$5.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),y=0;y<this.children.length;y++)t.appendChild(this.children[y].toNode());return t}toMarkup(){for(var t="",y=0;y<this.children.length;y++)t+=this.children[y].toMarkup();return t}toText(){var t=y=>y.toText();return this.children.map(t).join("")}}var fontMetricsData={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.757
`+Pt+" children.");for(var Et=0;Et<Pt;Et++){var er=new PathNode(pe[Et]),tr=new SvgNode([er],{width:"400em",height:makeEm(Ve),viewBox:"0 0 "+j+" "+Fe,preserveAspectRatio:Ue[Et]+" slice"}),ir=buildCommon.makeSvgSpan([kt[Et]],[tr],y);if(Pt===1)return{span:ir,minWidth:Ne,height:Ve};ir.style.height=makeEm(Ve),_e.push(ir)}return{span:buildCommon.makeSpan(["stretchy"],_e,y),minWidth:Ne,height:Ve}}}var{span:k,minWidth:L,height:$}=n();return k.height=$,k.style.height=makeEm($),L>0&&(k.style.minWidth=makeEm(L)),k},encloseSpan=function(t,y,n,k,L){var $,j=t.height+t.depth+n+k;if(/fbox|color|angl/.test(y)){if($=buildCommon.makeSpan(["stretchy",y],[],L),y==="fbox"){var V=L.color&&L.getColor();V&&($.style.borderColor=V)}}else{var z=[];/^[bx]cancel$/.test(y)&&z.push(new LineNode({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(y)&&z.push(new LineNode({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var re=new SvgNode(z,{width:"100%",height:makeEm(j)});$=buildCommon.makeSvgSpan([],[re],L)}return $.height=j,$.style.height=makeEm(j),$},stretchy={encloseSpan,mathMLnode,svgSpan};function assertNodeType(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function assertSymbolNodeType(e){var t=checkSymbolNodeType(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function checkSymbolNodeType(e){return e&&(e.type==="atom"||NON_ATOMS.hasOwnProperty(e.type))?e:null}var htmlBuilder$a=(e,t)=>{var y,n,k;e&&e.type==="supsub"?(n=assertNodeType(e.base,"accent"),y=n.base,e.base=y,k=assertSpan(buildGroup$1(e,t)),e.base=n):(n=assertNodeType(e,"accent"),y=n.base);var L=buildGroup$1(y,t.havingCrampedStyle()),$=n.isShifty&&utils$5.isCharacterBox(y),j=0;if($){var V=utils$5.getBaseElem(y),z=buildGroup$1(V,t.havingCrampedStyle());j=assertSymbolDomNode(z).skew}var re=n.label==="\\c",ie=re?L.height+L.depth:Math.min(L.height,t.fontMetrics().xHeight),ae;if(n.isStretchy)ae=stretchy.svgSpan(n,t),ae=buildCommon.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:L},{type:"elem",elem:ae,wrapperClasses:["svg-align"],wrapperStyle:j>0?{width:"calc(100% - "+makeEm(2*j)+")",marginLeft:makeEm(2*j)}:void 0}]},t);else{var oe,ue;n.label==="\\vec"?(oe=buildCommon.staticSvg("vec",t),ue=buildCommon.svgData.vec[1]):(oe=buildCommon.makeOrd({mode:n.mode,text:n.label},t,"textord"),oe=assertSymbolDomNode(oe),oe.italic=0,ue=oe.width,re&&(ie+=oe.depth)),ae=buildCommon.makeSpan(["accent-body"],[oe]);var de=n.label==="\\textcircled";de&&(ae.classes.push("accent-full"),ie=L.height);var Oe=j;de||(Oe-=ue/2),ae.style.left=makeEm(Oe),n.label==="\\textcircled"&&(ae.style.top=".2em"),ae=buildCommon.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:L},{type:"kern",size:-ie},{type:"elem",elem:ae}]},t)}var _e=buildCommon.makeSpan(["mord","accent"],[ae],t);return k?(k.children[0]=_e,k.height=Math.max(_e.height,k.height),k.classes[0]="mord",k):_e},mathmlBuilder$9=(e,t)=>{var y=e.isStretchy?stretchy.mathMLnode(e.label):new mathMLTree.MathNode("mo",[makeText(e.label,e.mode)]),n=new mathMLTree.MathNode("mover",[buildGroup2(e.base,t),y]);return n.setAttribute("accent","true"),n},NON_STRETCHY_ACCENT_REGEX=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));defineFunction({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var y=normalizeArgument(t[0]),n=!NON_STRETCHY_ACCENT_REGEX.test(e.funcName),k=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:k,base:y}},htmlBuilder
]`,controlWordRegexString="\\\\[a-zA-Z@]+",controlSymbolRegexString="\\\\[^\uD800-\uDFFF]",controlWordWhitespaceRegexString="("+controlWordRegexString+")"+spaceRegexString+"*",controlSpaceRegexString=`\\\\(
|[ \r ]+
?)[ \r ]*`,combiningDiacriticalMarkString="[̀-ͯ]",combiningDiacriticalMarksEndRegex=new RegExp(combiningDiacriticalMarkString+"+$"),tokenRegexString="("+spaceRegexString+"+)|"+(controlSpaceRegexString+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(combiningDiacriticalMarkString+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(combiningDiacriticalMarkString+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+controlWordWhitespaceRegexString)+("|"+controlSymbolRegexString+")");class Lexer{constructor(t,y){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=y,this.tokenRegex=new RegExp(tokenRegexString,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,y){this.catcodes[t]=y}lex(){var t=this.input,y=this.tokenRegex.lastIndex;if(y===t.length)return new Token("EOF",new SourceLocation(this,y,y));var n=this.tokenRegex.exec(t);if(n===null||n.index!==y)throw new ParseError("Unexpected character: '"+t[y]+"'",new Token(t[y],new SourceLocation(this,y,y+1)));var k=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[k]===14){var L=t.indexOf(`
`,this.tokenRegex.lastIndex);return L===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=L+1,this.lex()}return new Token(k,new SourceLocation(this,y,this.tokenRegex.lastIndex))}}class Namespace{constructor(t,y){t===void 0&&(t={}),y===void 0&&(y={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=y,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ParseError("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var y in t)t.hasOwnProperty(y)&&(t[y]==null?delete this.current[y]:this.current[y]=t[y])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,y,n){if(n===void 0&&(n=!1),n){for(var k=0;k<this.undefStack.length;k++)delete this.undefStack[k][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=y)}else{var L=this.undefStack[this.undefStack.length-1];L&&!L.hasOwnProperty(t)&&(L[t]=this.current[t])}y==null?delete this.current[t]:this.current[t]=y}}var macros=_macros;defineMacro("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});defineMacro("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});defineMacro("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});defineMacro("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});defineMacro("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var y=e.future();return t[0].length===1&&t[0][0].text===y.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});defineMacro("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");defineMacro("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var digitToNumber={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};defineMacro("\\char",function(e){var t=e.popToken(),y,n="";if(t.text==="'")y=8,t=e.popToken();else if(t.text==='"')y=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ParseError("\\char` missing argument");n=t.text.charCodeAt(0)}else y=10;if(y){if(n=digitToNumber[t.text],n==null||n>=y)throw new ParseError("Invalid base-"+y+" digit "+t.text);for(var k;(k=digitToNumber[e.future().text])!=null&&k<y;)n*=y,n+=k,e.popToken()}return"\\@char{"+n+"}"});var newcommand=(e,t,y)=>{var n=e.consumeArg().tokens;if(n.length!==1)throw new ParseError("\\newcommand's first argument must be a macro name");var k=n[0].text,L=e.isDefined(k);if(L&&!t)throw new ParseError("\\newcommand{"+k+"} attempting to redefine "+(k+"; use \\renewcommand"));if(!L&&!y)throw new ParseError("\\renewcommand{"+k+"} when command "+k+" does not yet exist; use \\newcommand");var $=0;if(n=e.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var j="",V=e.expandNextToken();V.text!=="]"&&V.text!=="EOF";)j+=V.text,V=e.expandNextToken();if(!j.match(/^\s*[0-9]+\s*$/))throw new ParseError("Invalid number of arguments: "+j);$=parseInt(j),n=e.consumeArg().tokens}return e.macros.set(k,{tokens:n,numArgs:$}),""};defineMacro("\\newcommand",e=>newcommand(e,!1,!0));defineMacro("\\renewcommand",e=>newcommand(e,!0,!1));defineMacro("\\providecommand",e=>newcommand(e,!0,!0));defineMacro("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(y=>y.text).join("")),""});defineMacro("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(y=>y.text).join("")),""});defineMacro("\\show",e=>{var t=e.popToken(),y=t.text;return console.l
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:k}}unicodeSymbols.hasOwnProperty(y[0])&&!symbols[this.mode][y[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+y[0]+'" used in math mode',t),y=unicodeSymbols[y[0]]+y.slice(1));var L=combiningDiacriticalMarksEndRegex.exec(y);L&&(y=y.substring(0,L.index),y==="i"?y="ı":y==="j"&&(y="ȷ"));var $;if(symbols[this.mode][y]){this.settings.strict&&this.mode==="math"&&extraLatin.indexOf(y)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+y[0]+'" used in math mode',t);var j=symbols[this.mode][y].group,V=SourceLocation.range(t),z;if(ATOMS.hasOwnProperty(j)){var re=j;z={type:"atom",mode:this.mode,family:re,loc:V,text:y}}else z={type:j,mode:this.mode,loc:V,text:y};$=z}else if(y.charCodeAt(0)>=128)this.settings.strict&&(supportedCodepoint(y.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+y[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+y[0]+'"'+(" ("+y.charCodeAt(0)+")"),t)),$={type:"textord",mode:"text",loc:SourceLocation.range(t),text:y};else return null;if(this.consume(),L)for(var ie=0;ie<L[0].length;ie++){var ae=L[0][ie];if(!unicodeAccents[ae])throw new ParseError("Unknown accent ' "+ae+"'",t);var oe=unicodeAccents[ae][this.mode]||unicodeAccents[ae].text;if(!oe)throw new ParseError("Accent "+ae+" unsupported in "+this.mode+" mode",t);$={type:"accent",mode:this.mode,loc:SourceLocation.range(t),label:oe,isStretchy:!1,isShifty:!0,base:$}}return $}};Parser$1.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var parseTree=function(t,y){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Parser$1(t,y);delete n.gullet.macros.current["\\df@tag"];var k=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!y.displayMode)throw new ParseError("\\tag works only in display equations");k=[{type:"tag",mode:"text",body:k,tag:n.subparse([new Token("\\df@tag")])}]}return k},render=function(t,y,n){y.textContent="";var k=renderToDomTree(t,n).toNode();y.appendChild(k)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),render=function(){throw new ParseError("KaTeX doesn't work in quirks mode.")});var renderToString=function(t,y){var n=renderToDomTree(t,y).toMarkup();return n},generateParseTree=function(t,y){var n=new Settings(y);return parseTree(t,n)},renderError=function(t,y,n){if(n.throwOnError||!(t instanceof ParseError))throw t;var k=buildCommon.makeSpan(["katex-error"],[new SymbolNode(y)]);return k.setAttribute("title",t.toString()),k.setAttribute("style","color:"+n.errorColor),k},renderToDomTree=function(t,y){var n=new Settings(y);try{var k=parseTree(t,n);return buildTree(k,t,n)}catch(L){return renderError(L,t,n)}},renderToHTMLTree=function(t,y){var n=new Settings(y);try{var k=parseTree(t,n);return buildHTMLTree(k,t,n)}catch(L){return renderError(L,t,n)}},katex={version:"0.16.11",render,renderToString,ParseError,SETTINGS_SCHEMA,__parse:generateParseTree,__renderToDomTree:renderToDomTree,__renderToHTMLTree:renderToHTMLTree,__setFontMetrics:setFontMetrics,__defineSymbol:defineSymbol,__defineFunction:defineFunction,__defineMacro:defineMacro,__domTree:{Span,Anchor,SymbolNode,SvgNode,PathNode,LineNode}};const inlineRule=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1(?=[\s?!\.,:?!。,:]|$)/,inlineRuleNonStandard=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1/,blockRule=/^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;function markedKatex(e={}){return{extensions:[inlineKatex(e,createRenderer(e,!1)),blockKatex(e,createRenderer(e,!0))]}}function createRendere
`:"")}function inlineKatex(e,t){const y=e&&e.nonStandard,n=y?inlineRuleNonStandard:inlineRule;return{name:"inlineKatex",level:"inline",start(k){let L,$=k;for(;$;){if(L=$.indexOf("$"),L===-1)return;if((y?L>-1:L===0||$.charAt(L-1)===" ")&&$.substring(L).match(n))return L;$=$.substring(L+1).replace(/^\$+/,"")}},tokenizer(k,L){const $=k.match(n);if($)return{type:"inlineKatex",raw:$[0],text:$[2].trim(),displayMode:$[1].length===2}},renderer:t}}function blockKatex(e,t){return{name:"blockKatex",level:"block",tokenizer(y,n){const k=y.match(blockRule);if(k)return{type:"blockKatex",raw:k[0],text:k[2].trim(),displayMode:k[1].length===2}},renderer:t}}marked.use(markedKatex({throwOnError:!1,output:"html",nonStandard:!0}));class WxRenderer extends _Renderer{constructor(y){super();Od(this,"reset",()=>{this.footnotes=[],this.footnoteIndex=0});Od(this,"merge",(y,n)=>({...y,...n}));Od(this,"buildTheme",y=>{const n=this.merge(y.BASE,{"font-family":this.opts.fonts,"font-size":this.opts.size});return{...Object.fromEntries(Object.entries(y.inline).map(([L,$])=>[L,this.merge(n,$)])),...Object.fromEntries(Object.entries(y.block).map(([L,$])=>[L,this.merge(n,$)]))}});Od(this,"getStyles",(y,n="")=>{const k=this.styleMapping[y];return k?`style="${Object.entries(k).map(([$,j])=>`${$}:${j}`).join(";")}${n}"`:""});Od(this,"styledContent",(y,n,k=y)=>`<${k} ${this.getStyles(y)}>${n}</${k}>`);Od(this,"addFootnote",(y,n)=>(this.footnotes.push([++this.footnoteIndex,y,n]),this.footnoteIndex));Od(this,"buildFootnotes",()=>{if(!this.footnotes.length)return"";const y=this.footnotes.map(([n,k,L])=>L===k?`<code style="font-size: 90%; opacity: 0.6;">[${n}]</code>: <i style="word-break: break-all">${k}</i><br/>`:`<code style="font-size: 90%; opacity: 0.6;">[${n}]</code> ${k}: <i style="word-break: break-all">${L}</i><br/>`).join(`
`);return this.styledContent("h4","引用链接")+this.styledContent("footnotes",y,"p")});Od(this,"buildAddition",()=>`
<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>
`);Od(this,"setOptions",y=>{this.opts=this.merge(this.opts,y),this.styleMapping=this.buildTheme(this.opts.theme)});this.opts=y,this.footnotes=[],this.footnoteIndex=0,this.styleMapping=this.buildTheme(y.theme)}heading({tokens:y,depth:n}){const k=this.parser.parseInline(y),L=`h${n}`;return this.styledContent(L,k)}paragraph({tokens:y}){const n=this.parser.parseInline(y),k=n.includes("<figure")&&n.includes("<img"),L=n.trim()==="";return k||L?n:this.styledContent("p",n)}blockquote({tokens:y}){let n=this.parser.parse(y);return n=n.replace(/<p.*?>/g,`<p ${this.getStyles("blockquote_p")}>`),this.styledContent("blockquote",n)}code({text:y,lang:n}){if(n.startsWith("mermaid"))return setTimeout(()=>{var j;(j=window.mermaid)==null||j.run()},0),`<center><pre class="mermaid">${y}</pre></center>`;const k=n.split(" ")[0],L=HighlightJS.getLanguage(k)?k:"plaintext";let $=HighlightJS.highlight(y,{language:L}).value;return $=$.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>").replace(/(>[^<]+)|(^[^<]+)/g,j=>j.replace(/\s/g,"&nbsp;")),`<pre class="hljs code__pre" ${this.getStyles("code_pre")}><code class="language-${n}" ${this.getStyles("code")}>${$}</code></pre>`}codespan({text:y}){return this.styledContent("codespan",y,"code")}listitem(y,n){return`<li ${this.getStyles("listitem")}>${n}${this.parser.parseInline(y)}</li>`}list({ordered:y,items:n}){const k=[];for(let $=0;$<n.length;$++){const{tokens:j}=n[$],V=y?`${$+1}. `:" ";k.push(this.listitem(j,V))}const L=y?"ol":"ul";return this.styledContent(L,k.join(""))}image({href:y,title:n,text:k}){const L=re=>re?`<figcaption ${this.getStyles("figcaption")}>${re}</figcaption>`:"",$={alt:()=>k,title:()=>n,"alt-title":()=>k||n,"title-alt":()=>n||k}[this.opts.legend]||(()=>""),j=L($()),V=this.getStyles("figure"),z=this.getStyles("image");return`<figure ${V}><img ${z} src="${y}" title="${n}" alt="${k}"/>${j}</figure>`}link({href:y,title:n,text:k}){if(y.startsWith("https://mp.weixin.qq.com"))return`<a href="${y}" title="${n||k}" ${this.getStyles("wx_link")}>${k}</a>`;if(y===k)return k;if(this.opts.status){const L=this.addFootnote(n||k,y);return`<span ${this.getStyles("link")}>${k}<sup>[${L}]</sup></span>`}return this.styledContent("link",k,"span")}strong({text:y}){return this.styledContent("strong",y)}em({text:y}){return`<span style="font-style: italic;">${y}</span>`}table({header:y,rows:n}){const k=y.map($=>this.styledContent("td",$.text)).join(""),L=n.map($=>{const j=$.map(V=>this.styledContent("td",V.text)).join("");return this.styledContent("tr",j)}).join("");return`
<section style="padding:0 8px;">
<table class="preview-table">
<thead ${this.getStyles("thead")}>${k}</thead>
<tbody>${L}</tbody>
</table>
</section>`}tablecell({text:y}){return this.styledContent("td",y)}hr(y){return this.styledContent("hr","")}}const DEFAULT_CONTENT=`# Google
> Google 搜索**自动补全功能**的强大相信不少朋友都能感受到它帮助我们更快地补全我们所要输入的搜索关键字那么它怎么知道我们要输入什么内容它又是如何工作的在这篇文章里我们一起来看看
## 使用自动补全
Google 搜索的自动补全功能可以在 Google 搜索应用的大多数位置使用包括 [Google](https://www.google.com/) 主页、适用于 IOS 和 Android 的 Google 应用,我们只需要在 Google 搜索框上开始键入关键字,就可以看到联想词了。
![](https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303019705-c161ce00-d245-446a-b81c-42ec91474a40.gif)
在上图示例中我们可以看到输入关键字 \`juej\`Google 搜索会联想到“掘金”、“掘金小册”、“绝句”等等,好处就是,我们无须输入完整的关键字即可轻松完成针对这些 topics 的搜索。
谷歌搜索的自动补全功能对于使用移动设备的用户来说特别有用用户可以轻松在难以键入的小屏幕上完成搜索当然对于移动设备用户和台式机用户而言这都节省了大量的时间根据 Google 官方报告自动补全功能可以减少大约 25% 的打字累积起来预计每天可以节省 200 多年的打字时间是的每天
> 注意本文所提到的**联想词****预测**是同一个意思
## 基于预测而非建议
Google 官方将自动补全功能称之为预测而不是建议为什么呢其实是有充分理由的自动补全功能是为了**帮助用户完成他们打算进行的搜索**而不是建议用户要执行什么搜索
那么Google 是如何确定这些预测其实Google 会根据趋势搜索 [trends](https://trends.google.com/trends/?geo=US) 给到我们这些“预测”。简单来说,哪个热门、哪个搜索频率高,就更可能推给我们。当然,这也与我们当前所处的位置以及我们的搜索历史相关。
另外这些预测也会随着我们键入的关键字的变更而更改例如当我们把键入的关键字从 \`juej\` 更改为 \`juex\` 时,与“掘金”相关的预测会“消失”,同时,与“觉醒”、“决心”相关联的词会出现。
![](https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303068169-386a99cb-143b-4ded-a859-1b7a4c4b5bd3.gif)
## 为什么看不到某些联想词
如果我们在输入某个关键字时看不到联想词那么表明 Google 的算法可能检测到
- 这个关键字不是热门字词
- 搜索的字词太新了我们可能需要等待几天或几周才能看到联想词
- 这是一个侮辱性或敏感字词这个搜索字词违反了 Google 的相关政策更加详细的情况可以了解 [Google 搜索自动补全政策](https://support.google.com/websearch/answer/7368877)。
## 为什么会看到某些不当的联想词
Google 拥有专门设计的系统可以自动捕获不适当的预测结果而不显示出来然而Google 每天需要处理数十亿次搜索这意味着 Google 每天会显示数十亿甚至上百亿条预测再好的系统也可能存在缺陷不正确的预测也可能随时会出现
我们作为 Google 搜索的用户如果认定某条预测违反了相关的搜索自动补全政策可以进行举报反馈点击右下角**举报不当的联想查询**并勾选相关选项即可
![](https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303098026-cac215dc-42c9-462a-a359-dcfb12ed3234.gif)
## 如何实现自动补全算法
目前Google 官方似乎并没有公开搜索自动补全的算法实现但是业界在这方面已经有了不少研究
一个好的自动补全器必须是快速的并且在用户键入下一个字符后立即更新联想词列表**自动补全器的核心是一个函数它接受输入的前缀并搜索以给定前缀开头的词汇或语句列表**通常来说只需要返回少量的数目即可
接下来我们先从一个简单且低效的实现开始并在此基础上逐步构建更高效的方法
### 词汇表实现
一个**简单粗暴的实现方式**顺序查找词汇表依次检查每个词汇看它是否以给定的前缀开头
但是此方法需要将前缀与每个词汇进行匹配检查若词汇量较少这种方式可能勉强行得通但是如果词汇量规模较大效率就太低了
一个**更好的实现方式是**让词汇按字典顺序排序借助二分搜索算法可以快速搜索有序词汇表中的前缀由于二分搜索的每一步都会将搜索的范围减半因此总的搜索时间与词汇表中单词数量的对数成正比即时间复杂度是 \`O(log N)\`。二分搜索的性能很好,但有没有更好的实现呢?当然有,往下看。
### 前缀树实现
通常来说许多词汇都以相同的前缀开头比如 \`need\`\`nested\` 都以 \`ne\` 开头,\`seed\`\`speed\` 都以 \`s\` 开头。要是为每个单词分别存储公共前缀似乎很浪费。
![](https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303128008-93cf798d-2662-4eec-8f80-2e07436aebfe.png)
前缀树是一种利用公共前缀来加速补全速度的数据结构前缀树在节点树中排列一组单词单词沿着从根节点到叶子节点的路径存储树的层次对应于前缀的字母位置
前缀的补全是顺着前缀定义的路径来查找的例如在上图的前缀树中前缀 \`ne\` 对应于从子节点取左边缘 \`N\` 和唯一边缘 \`E\` 的路径。然后可以通过继续遍历从 \`E\` 节点可以达到的所有叶节点来生成补全列表。在图中,\`ne\` 的补全可以是两个分支:\`-ed\`\`-sted\`。如果在数中找不到由前缀定义的路径,则说明词汇表中不包含以该前缀开头的单词。
### 有限状态自动机(DFA)实现
前缀树可以有效处理公共前缀但是对于其他共享词部分仍会分别存储在每个分支中比如后缀 \`ed\`\`ing\`\`tion\` 在英文单词中特别常见。在上一个例子中,\`e\`\`d\` 分别存放在了每一个分支上。
有没有一种方法可以更加节省存储空间呢有的那就是 DFA
<center>
<img src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303158478-66a96e2d-6424-43d6-8cb3-2f7a39f960b8.gif" style="width: 50%;"></center>
在上面的例子中单词 \`need\`\`nested\`\`seed\`\`speed\` 仅由 9 个节点组成,而上一张图中的前缀树包含了 17 个节点。
可以看出最小化前缀树 DFA 可以在很大程度上减少数据结构的大小即使词汇量很大最小化 DFA 通常也适合在内存中存储避免昂贵的磁盘访问是实现快速自动补全的关键
### 一些扩展
上面介绍了如何利用合理的数据结构实现基本的自动补全功能这些数据结构可以通过多种方式进行扩展从而改善用户体验
通常满足特定前缀的词汇可能很多而用户界面上能够显示的却不多我们更希望能显示最常搜索或者最有价值的词汇这通常可以通过为词汇表中的每个单词增加一个代表单词值的**权重** \`weight\`,并且按照权重高低来排序自动补全列表。
- 对于排序后的词汇表来说在词汇表每个元素上增加 \`weight\` 属性并不难;
- 对于前缀树来说 \`weight\` 存储在叶子节点中,也是很简单的一个实现;
- 对于 \`DFA\` 来说,则较为复杂。因为一个叶子节点可以通过多条路径到达。一种解决方案是将权重关联到路径而不是叶子节点。
目前有不少开源库都提供了这个功能比如主流的搜索引擎框架 [Elasticsearch](https://www.elastic.co/products/elasticsearch)、[Solr](https://lucene.apache.org/solr/) 等,基于此,我们可以实现高效而强大的自动补全功能。
#### 推荐阅读
- [阿里又一个 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)
---
欢迎关注我的公众号**Doocs**原创技术文章第一时间推送
<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 可格式化
*/
/* 一级标题样式 */
h1 {
}
/* 二级标题样式 */
h2 {
}
/* 三级标题样式 */
h3 {
}
/* 四级标题样式 */
h4 {
}
/* 图片样式 */
image {
}
/* 引用样式 */
blockquote {
}
/* 引用段落样式 */
blockquote_p {
}
/* 段落样式 */
p {
}
/* 分割线样式 */
hr {
}
/* 行内代码样式 */
codespan {
}
/* 粗体样式 */
strong {
}
/* 链接样式 */
link {
}
/* 微信链接样式 */
wx_link {
}
/* 有序列表样式 */
ol {
}
/* 无序列表样式 */
ul {
}
/* 列表项样式 */
li {
}
/* 代码块样式 */
code {
}
`;var cheerio$2={exports:{}},lib$d={},extendStatics=function(e,t){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,n){y.__proto__=n}||function(y,n){for(var k in n)Object.prototype.hasOwnProperty.call(n,k)&&(y[k]=n[k])},extendStatics(e,t)};function __extends$4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");extendStatics(e,t);function y(){this.constructor=e}e.prototype=t===null?Object.create(t):(y.prototype=t.prototype,new y)}var __assign$7=function(){return __assign$7=Object.assign||function(t){for(var y,n=1,k=arguments.length;n<k;n++){y=arguments[n];for(var L in y)Object.prototype.hasOwnProperty.call(y,L)&&(t[L]=y[L])}return t},__assign$7.apply(this,arguments)};function __rest$1(e,t){var y={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(y[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,n=Object.getOwnPropertySymbols(e);k<n.length;k++)t.indexOf(n[k])<0&&Object.prototype.propertyIsEnumerable.call(e,n[k])&&(y[n[k]]=e[n[k]]);return y}function __decorate(e,t,y,n){var k=arguments.length,L=k<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,y):n,$;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")L=Reflect.decorate(e,t,y,n);else for(var j=e.length-1;j>=0;j--)($=e[j])&&(L=(k<3?$(L):k>3?$(t,y,L):$(t,y))||L);return k>3&&L&&Object.defineProperty(t,y,L),L}function __param(e,t){return function(y,n){t(y,n,e)}}function __esDecorate(e,t,y,n,k,L){function $(_e){if(_e!==void 0&&typeof _e!="function")throw new TypeError("Function expected");return _e}for(var j=n.kind,V=j==="getter"?"get":j==="setter"?"set":"value",z=!t&&e?n.static?e:e.prototype:null,re=t||(z?Object.getOwnPropertyDescriptor(z,n.name):{}),ie,ae=!1,oe=y.length-1;oe>=0;oe--){var ue={};for(var de in n)ue[de]=de==="access"?{}:n[de];for(var de in n.access)ue.access[de]=n.access[de];ue.addInitializer=function(_e){if(ae)throw new TypeError("Cannot add initializers after decoration has completed");L.push($(_e||null))};var Oe=(0,y[oe])(j==="accessor"?{get:re.get,set:re.set}:re[V],ue);if(j==="accessor"){if(Oe===void 0)continue;if(Oe===null||typeof Oe!="object")throw new TypeError("Object expected");(ie=$(Oe.get))&&(re.get=ie),(ie=$(Oe.set))&&(re.set=ie),(ie=$(Oe.init))&&k.unshift(ie)}else(ie=$(Oe))&&(j==="field"?k.unshift(ie):re[V]=ie)}z&&Object.defineProperty(z,n.name,re),ae=!0}function __runInitializers(e,t,y){for(var n=arguments.length>2,k=0;k<t.length;k++)y=n?t[k].call(e,y):t[k].call(e);return n?y:void 0}function __propKey(e){return typeof e=="symbol"?e:"".concat(e)}function __setFunctionName(e,t,y){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:y?"".concat(y," ",t):t})}function __metadata(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function __awaiter$8(e,t,y,n){function k(L){return L instanceof y?L:new y(function($){$(L)})}return new(y||(y=Promise))(function(L,$){function j(re){try{z(n.next(re))}catch(ie){$(ie)}}function V(re){try{z(n.throw(re))}catch(ie){$(ie)}}function z(re){re.done?L(re.value):k(re.value).then(j,V)}z((n=n.apply(e,t||[])).next())})}function __generator$8(e,t){var y={label:0,sent:function(){if(L[0]&1)throw L[1];return L[1]},trys:[],ops:[]},n,k,L,$=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return $.next=j(0),$.throw=j(1),$.return=j(2),typeof Symbol=="function"&&($[Symbol.iterator]=function(){return this}),$;function j(z){return function(re){return V([z,re])}}function V(z){if(n)throw new TypeError("Generator is already executing.");for(;$&&($=0,z[0]&&(y=0)),y;)try{if(n=1,k&&(L=z[0]&2?k.return:z[0]?k.throw||((L=k.return)&&L.call(k),0):k.next)&&!(L=L.call(k,z[1])).done)return L;switch(k=0,L&&(z=[z[0]&2,L.value]),z[0]){case 0:case 1:L=z;break;case 4:return y.label++,{value:z[1],done:!1};case 5:y.label++,k=z[1],z=[0];continue;case 7:z=y.ops.pop(),y.trys.pop();continue;default:if(L=y.trys,!(L=L.length>0&&L[L.leng
`,nexist$1="∄",nexists$1="∄",Nfr$1="𝔑",nfr$1="𝔫",ngE$1="≧̸",nge$1="≱",ngeq$1="≱",ngeqq$1="≧̸",ngeqslant$1="⩾̸",nges$1="⩾̸",nGg$1="⋙̸",ngsim$1="≵",nGt$1="≫⃒",ngt$1="≯",ngtr$1="≯",nGtv$1="≫̸",nharr$1="↮",nhArr$1="⇎",nhpar$1="⫲",ni$2="∋",nis$1="⋼",nisd$1="⋺",niv$1="∋",NJcy$1="Њ",njcy$1="њ",nlarr$1="↚",nlArr$1="⇍",nldr$1="‥",nlE$1="≦̸",nle$1="≰",nleftarrow$1="↚",nLeftarrow$1="⇍",nleftrightarrow$1="↮",nLeftrightarrow$1="⇎",nleq$1="≰",nleqq$1="≦̸",nleqslant$1="⩽̸",nles$1="⩽̸",nless$1="≮",nLl$1="⋘̸",nlsim$1="≴",nLt$1="≪⃒",nlt$1="≮",nltri$1="⋪",nltrie$1="⋬",nLtv$1="≪̸",nmid$1="∤",NoBreak$1="",NonBreakingSpace$1=" ",nopf$1="𝕟",Nopf$1="",Not$1="⫬",not$3="¬",NotCongruent$1="≢",NotCupCap$1="≭",NotDoubleVerticalBar$1="∦",NotElement$1="∉",NotEqual$1="≠",NotEqualTilde$1="≂̸",NotExists$1="∄",NotGreater$1="≯",NotGreaterEqual$1="≱",NotGreaterFullEqual$1="≧̸",NotGreaterGreater$1="≫̸",NotGreaterLess$1="≹",NotGreaterSlantEqual$1="⩾̸",NotGreaterTilde$1="≵",NotHumpDownHump$1="≎̸",NotHumpEqual$1="≏̸",notin$1="∉",notindot$1="⋵̸",notinE$1="⋹̸",notinva$1="∉",notinvb$1="⋷",notinvc$1="⋶",NotLeftTriangleBar$1="⧏̸",NotLeftTriangle$1="⋪",NotLeftTriangleEqual$1="⋬",NotLess$1="≮",NotLessEqual$1="≰",NotLessGreater$1="≸",NotLessLess$1="≪̸",NotLessSlantEqual$1="⩽̸",NotLessTilde$1="≴",NotNestedGreaterGreater$1="⪢̸",NotNestedLessLess$1="⪡̸",notni$1="∌",notniva$1="∌",notnivb$1="⋾",notnivc$1="⋽",NotPrecedes$1="⊀",NotPrecedesEqual$1="⪯̸",NotPrecedesSlantEqual$1="⋠",NotReverseElement$1="∌",NotRightTriangleBar$1="⧐̸",NotRightTriangle$1="⋫",NotRightTriangleEqual$1="⋭",NotSquareSubset$1="⊏̸",NotSquareSubsetEqual$1="⋢",NotSquareSuperset$1="⊐̸",NotSquareSupersetEqual$1="⋣",NotSubset$1="⊂⃒",NotSubsetEqual$1="⊈",NotSucceeds$1="⊁",NotSucceedsEqual$1="⪰̸",NotSucceedsSlantEqual$1="⋡",NotSucceedsTilde$1="≿̸",NotSuperset$1="⊃⃒",NotSupersetEqual$1="⊉",NotTilde$1="≁",NotTildeEqual$1="≄",NotTildeFullEqual$1="≇",NotTildeTilde$1="≉",NotVerticalBar$1="∤",nparallel$1="∦",npar$1="∦",nparsl$1="⫽⃥",npart$1="∂̸",npolint$1="⨔",npr$1="⊀",nprcue$1="⋠",nprec$1="⊀",npreceq$1="⪯̸",npre$1="⪯̸",nrarrc$1="⤳̸",nrarr$1="↛",nrArr$1="⇏",nrarrw$1="↝̸",nrightarrow$1="↛",nRightarrow$1="⇏",nrtri$1="⋫",nrtrie$1="⋭",nsc$1="⊁",nsccue$1="⋡",nsce$1="⪰̸",Nscr$1="𝒩",nscr$1="𝓃",nshortmid$1="∤",nshortparallel$1="∦",nsim$1="≁",nsime$1="≄",nsimeq$1="≄",nsmid$1="∤",nspar$1="∦",nsqsube$1="⋢",nsqsupe$1="⋣",nsub$1="⊄",nsubE$1="⫅̸",nsube$1="⊈",nsubset$1="⊂⃒",nsubseteq$1="⊈",nsubseteqq$1="⫅̸",nsucc$1="⊁",nsucceq$1="⪰̸",nsup$1="⊅",nsupE$1="⫆̸",nsupe$1="⊉",nsupset$1="⊃⃒",nsupseteq$1="⊉",nsupseteqq$1="⫆̸",ntgl$1="≹",Ntilde$3="Ñ",ntilde$3="ñ",ntlg$1="≸",ntriangleleft$1="⋪",ntrianglelefteq$1="⋬",ntriangleright$1="⋫",ntrianglerighteq$1="⋭",Nu$1="Ν",nu$2="ν",num$1="#",numero$1="№",numsp$1="",nvap$1="≍⃒",nvdash$1="⊬",nvDash$1="⊭",nVdash$1="⊮",nVDash$1="⊯",nvge$1="≥⃒",nvgt$1=">⃒",nvHarr$1="⤄",nvinfin$1="⧞",nvlArr$1="⤂",nvle$1="≤⃒",nvlt$1="<⃒",nvltrie$1="⊴⃒",nvrArr$1="⤃",nvrtrie$1="⊵⃒",nvsim$1="∼⃒",nwarhk$1="⤣",nwarr$1="↖",nwArr$1="⇖",nwarrow$1="↖",nwnear$1="⤧",Oacute$3="Ó",oacute$3="ó",oast$1="⊛",Ocirc$3="Ô",ocirc$3="ô",ocir$1="⊚",Ocy$1="О",ocy$1="о",odash$1="⊝",Odblac$1="Ő",odblac$1="ő",odiv$1="⨸",odot$1="⊙",odsold$1="⦼",OElig$1="Œ",oelig$1="œ",ofcir$1="⦿",Ofr$1="𝔒",ofr$1="𝔬",ogon$1="˛",Ograve$3="Ò",ograve$3="ò",ogt$1="⧁",ohbar$1="⦵",ohm$1="Ω",oint$1="∮",olarr$1="↺",olcir$1="⦾",olcross$1="⦻",oline$1="‾",olt$1="⧀",Omacr$1="Ō",omacr$1="ō",Omega$1="Ω",omega$1="ω",Omicron$1="Ο",omicron$1="ο",omid$1="⦶",ominus$1="⊖",Oopf$1="𝕆",oopf$1="𝕠",opar$1="⦷",OpenCurlyDoubleQuote$1="“",OpenCurlyQuote$1="",operp$1="⦹",oplus
`:$(z.children):(0,t.isCDATA)(z)?$(z.children):(0,t.isText)(z)?z.data:""}stringify$2.getText=$;function j(z){return Array.isArray(z)?z.map(j).join(""):(0,t.hasChildren)(z)&&!(0,t.isComment)(z)?j(z.children):(0,t.isText)(z)?z.data:""}stringify$2.textContent=j;function V(z){return Array.isArray(z)?z.map(V).join(""):(0,t.hasChildren)(z)&&(z.type===n.ElementType.Tag||(0,t.isCDATA)(z))?V(z.children):(0,t.isText)(z)?z.data:""}return stringify$2.innerText=V,stringify$2}var traversal={},hasRequiredTraversal;function requireTraversal(){if(hasRequiredTraversal)return traversal;hasRequiredTraversal=1,Object.defineProperty(traversal,"__esModule",{value:!0}),traversal.prevElementSibling=traversal.nextElementSibling=traversal.getName=traversal.hasAttrib=traversal.getAttributeValue=traversal.getSiblings=traversal.getParent=traversal.getChildren=void 0;var e=requireLib$a(),t=[];function y(re){var ie;return(ie=re.children)!==null&&ie!==void 0?ie:t}traversal.getChildren=y;function n(re){return re.parent||null}traversal.getParent=n;function k(re){var ie,ae,oe=n(re);if(oe!=null)return y(oe);for(var ue=[re],de=re.prev,Oe=re.next;de!=null;)ue.unshift(de),ie=de,de=ie.prev;for(;Oe!=null;)ue.push(Oe),ae=Oe,Oe=ae.next;return ue}traversal.getSiblings=k;function L(re,ie){var ae;return(ae=re.attribs)===null||ae===void 0?void 0:ae[ie]}traversal.getAttributeValue=L;function $(re,ie){return re.attribs!=null&&Object.prototype.hasOwnProperty.call(re.attribs,ie)&&re.attribs[ie]!=null}traversal.hasAttrib=$;function j(re){return re.name}traversal.getName=j;function V(re){for(var ie,ae=re.next;ae!==null&&!(0,e.isTag)(ae);)ie=ae,ae=ie.next;return ae}traversal.nextElementSibling=V;function z(re){for(var ie,ae=re.prev;ae!==null&&!(0,e.isTag)(ae);)ie=ae,ae=ie.prev;return ae}return traversal.prevElementSibling=z,traversal}var manipulation$1={},hasRequiredManipulation$1;function requireManipulation$1(){if(hasRequiredManipulation$1)return manipulation$1;hasRequiredManipulation$1=1,Object.defineProperty(manipulation$1,"__esModule",{value:!0}),manipulation$1.prepend=manipulation$1.prependChild=manipulation$1.append=manipulation$1.appendChild=manipulation$1.replaceElement=manipulation$1.removeElement=void 0;function e($){if($.prev&&($.prev.next=$.next),$.next&&($.next.prev=$.prev),$.parent){var j=$.parent.children;j.splice(j.lastIndexOf($),1)}}manipulation$1.removeElement=e;function t($,j){var V=j.prev=$.prev;V&&(V.next=j);var z=j.next=$.next;z&&(z.prev=j);var re=j.parent=$.parent;if(re){var ie=re.children;ie[ie.lastIndexOf($)]=j}}manipulation$1.replaceElement=t;function y($,j){if(e(j),j.next=null,j.parent=$,$.children.push(j)>1){var V=$.children[$.children.length-2];V.next=j,j.prev=V}else j.prev=null}manipulation$1.appendChild=y;function n($,j){e(j);var V=$.parent,z=$.next;if(j.next=z,j.prev=$,$.next=j,j.parent=V,z){if(z.prev=j,V){var re=V.children;re.splice(re.lastIndexOf(z),0,j)}}else V&&V.children.push(j)}manipulation$1.append=n;function k($,j){if(e(j),j.parent=$,j.prev=null,$.children.unshift(j)!==1){var V=$.children[1];V.prev=j,j.next=V}else j.next=null}manipulation$1.prependChild=k;function L($,j){e(j);var V=$.parent;if(V){var z=V.children;z.splice(z.indexOf($),0,j)}$.prev&&($.prev.next=j),j.parent=V,j.prev=$.prev,j.next=$,$.prev=j}return manipulation$1.prepend=L,manipulation$1}var querying={},hasRequiredQuerying;function requireQuerying(){if(hasRequiredQuerying)return querying;hasRequiredQuerying=1,Object.defineProperty(querying,"__esModule",{value:!0}),querying.findAll=querying.existsOne=querying.findOne=querying.findOneChild=querying.find=querying.filter=void 0;var e=requireLib$a();function t(j,V,z,re){return z===void 0&&(z=!0),re===void 0&&(re=1/0),Array.isArray(V)||(V=[V]),y(j,V,z,re)}querying.filter=t;function y(j,V,z,re){for(var ie=[],ae=0,oe=V;ae<oe.length;ae++){var ue=oe[ae];if(j(ue)&&(ie.push(ue),--re<=0))break;if(z&&(0,e.hasChildren)(ue)&&ue.children.length>0){var de=y(j,ue.children,z,re);if(ie.push.apply(ie,de),re-=de.length,re<=0)break}}return ie}querying.find=y;function n(j,V){return V.find(j)}querying.findOneChild=n;function k(j,V,z){z===void 0&
: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])"}),aliases}var subselects={},hasRequiredSubselects;function requireSubselects(){return hasRequiredSubselects||(hasRequiredSubselects=1,function(e){var t=commonjsGlobal&&commonjsGlobal.__spreadArray||function(j,V,z){if(z||arguments.length===2)for(var re=0,ie=V.length,ae;re<ie;re++)(ae||!(re in V))&&(ae||(ae=Array.prototype.slice.call(V,0,re)),ae[re]=V[re]);return j.concat(ae||Array.prototype.slice.call(V))};Object.defineProperty(e,"__esModule",{value:!0}),e.subselects=e.getNextSiblings=e.ensureIsTag=e.PLACEHOLDER_ELEMENT=void 0;var y=requireBoolbase(),n=requireProcedure();e.PLACEHOLDER_ELEMENT={};function k(j,V){return j===y.falseFunc?y.falseFunc:function(z){return V.isTag(z)&&j(z)}}e.ensureIsTag=k;function L(j,V){var z=V.getSiblings(j);if(z.length<=1)return[];var re=z.indexOf(j);return re<0||re===z.length-1?[]:z.slice(re+1).filter(V.isTag)}e.getNextSiblings=L;var $=function(j,V,z,re,ie){var ae={xmlMode:!!z.xmlMode,adapter:z.adapter,equals:z.equals},oe=ie(V,ae,re);return function(ue){return oe(ue)&&j(ue)}};e.subselects={is:$,matches:$,where:$,not:function(j,V,z,re,ie){var ae={xmlMode:!!z.xmlMode,adapter:z.adapter,equals:z.equals},oe=ie(V,ae,re);return oe===y.falseFunc?j:oe===y.trueFunc?y.falseFunc:function(de){return!oe(de)&&j(de)}},has:function(j,V,z,re,ie){var ae=z.adapter,oe={xmlMode:!!z.xmlMode,adapter:ae,equals:z.equals},ue=V.some(function(pe){return pe.some(n.isTraversal)})?[e.PLACEHOLDER_ELEMENT]:void 0,de=ie(V,oe,ue);if(de===y.falseFunc)return y.falseFunc;if(de===y.trueFunc)return function(pe){return ae.getChildren(pe).some(ae.isTag)&&j(pe)};var Oe=k(de,ae),_e=de.shouldTestNextSiblings,Ce=_e===void 0?!1:_e;return ue?function(pe){ue[0]=pe;var Ne=ae.getChildren(pe),Fe=Ce?t(t([],Ne,!0),L(pe,ae),!0):Ne;return j(pe)&&ae.existsOne(Oe,Fe)}:function(pe){return j(pe)&&ae.existsOne(Oe,ae.getChildren(pe))}}}}(subselects)),subselects}var hasRequiredPseudoSelectors;function requirePseudoSelectors(){return hasRequiredPseudoSelectors||(hasRequiredPseudoSelectors=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.compilePseudoSelector=e.aliases=e.pseudos=e.filters=void 0;var t=requireBoolbase(),y=require$$0$5,n=requireFilters();Object.defineProperty(e,"filters",{enumerable:!0,get:function(){return n.filters}});var k=requirePseudos();Object.defineProperty(e,"pseudos",{enumerable:!0,get:function(){return k.pseudos}});var L=requireAliases();Object.defineProperty(e,"aliases",{enumerable:!0,get:function(){return L.aliases}});var $=requireSubselects();function j(V,z,re,ie,ae){var oe=z.name,ue=z.data;if(Array.isArray(ue))return $.subselects[oe](V,ue,re,ie,ae);if(oe in L.aliases){if(ue!=null)throw new Error("Pseudo ".concat(oe," doesn't have any arguments"));var de=(0,y.parse)(L.aliases[oe]);return $.subselects.is(V,de,re,ie,ae)}if(oe in n.filters)return n.filters[oe](V,ue,re,ie);if(oe in k.pseudos){var Oe=k.pseudos[oe];return(0,k.verifyPseudoArgs)(Oe,oe,ue),Oe===t.falseFunc?t.falseFunc:V===t.trueFunc?function(_e){return Oe(_e,re,ue)}:function(_e){return Oe(_e,re,ue)&&V(_e)}}throw new Error("unmatched pseudo-class :".concat(oe))}e.compilePseudoSelector=j}(pseudoSelectors)),pseudoSelectors}var hasRequiredGeneral;function requireGeneral(){if(hasRequiredGeneral)return general;hasRequiredGeneral=1,Object.defineProperty(general,"__esModule",{value:!0}),general.compileGeneralSelector=void 0;var e=requireAttributes$1(),t=requirePseudoSelectors(),y=require$$0$5;fun
`,nexist="∄",nexists="∄",Nfr="𝔑",nfr="𝔫",ngE="≧̸",nge="≱",ngeq="≱",ngeqq="≧̸",ngeqslant="⩾̸",nges="⩾̸",nGg="⋙̸",ngsim="≵",nGt="≫⃒",ngt="≯",ngtr="≯",nGtv="≫̸",nharr="↮",nhArr="⇎",nhpar="⫲",ni$1="∋",nis="⋼",nisd="⋺",niv="∋",NJcy="Њ",njcy="њ",nlarr="↚",nlArr="⇍",nldr="‥",nlE="≦̸",nle="≰",nleftarrow="↚",nLeftarrow="⇍",nleftrightarrow="↮",nLeftrightarrow="⇎",nleq="≰",nleqq="≦̸",nleqslant="⩽̸",nles="⩽̸",nless="≮",nLl="⋘̸",nlsim="≴",nLt="≪⃒",nlt="≮",nltri="⋪",nltrie="⋬",nLtv="≪̸",nmid="∤",NoBreak="",NonBreakingSpace=" ",nopf="𝕟",Nopf="",Not="⫬",not$1="¬",NotCongruent="≢",NotCupCap="≭",NotDoubleVerticalBar="∦",NotElement="∉",NotEqual="≠",NotEqualTilde="≂̸",NotExists="∄",NotGreater="≯",NotGreaterEqual="≱",NotGreaterFullEqual="≧̸",NotGreaterGreater="≫̸",NotGreaterLess="≹",NotGreaterSlantEqual="⩾̸",NotGreaterTilde="≵",NotHumpDownHump="≎̸",NotHumpEqual="≏̸",notin="∉",notindot="⋵̸",notinE="⋹̸",notinva="∉",notinvb="⋷",notinvc="⋶",NotLeftTriangleBar="⧏̸",NotLeftTriangle="⋪",NotLeftTriangleEqual="⋬",NotLess="≮",NotLessEqual="≰",NotLessGreater="≸",NotLessLess="≪̸",NotLessSlantEqual="⩽̸",NotLessTilde="≴",NotNestedGreaterGreater="⪢̸",NotNestedLessLess="⪡̸",notni="∌",notniva="∌",notnivb="⋾",notnivc="⋽",NotPrecedes="⊀",NotPrecedesEqual="⪯̸",NotPrecedesSlantEqual="⋠",NotReverseElement="∌",NotRightTriangleBar="⧐̸",NotRightTriangle="⋫",NotRightTriangleEqual="⋭",NotSquareSubset="⊏̸",NotSquareSubsetEqual="⋢",NotSquareSuperset="⊐̸",NotSquareSupersetEqual="⋣",NotSubset="⊂⃒",NotSubsetEqual="⊈",NotSucceeds="⊁",NotSucceedsEqual="⪰̸",NotSucceedsSlantEqual="⋡",NotSucceedsTilde="≿̸",NotSuperset="⊃⃒",NotSupersetEqual="⊉",NotTilde="≁",NotTildeEqual="≄",NotTildeFullEqual="≇",NotTildeTilde="≉",NotVerticalBar="∤",nparallel="∦",npar="∦",nparsl="⫽⃥",npart="∂̸",npolint="⨔",npr="⊀",nprcue="⋠",nprec="⊀",npreceq="⪯̸",npre="⪯̸",nrarrc="⤳̸",nrarr="↛",nrArr="⇏",nrarrw="↝̸",nrightarrow="↛",nRightarrow="⇏",nrtri="⋫",nrtrie="⋭",nsc="⊁",nsccue="⋡",nsce="⪰̸",Nscr="𝒩",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="≹",Ntilde$1="Ñ",ntilde$1="ñ",ntlg="≸",ntriangleleft="⋪",ntrianglelefteq="⋬",ntriangleright="⋫",ntrianglerighteq="⋭",Nu="Ν",nu$1="ν",num="#",numero="№",numsp="",nvap="≍⃒",nvdash="⊬",nvDash="⊭",nVdash="⊮",nVDash="⊯",nvge="≥⃒",nvgt=">⃒",nvHarr="⤄",nvinfin="⧞",nvlArr="⤂",nvle="≤⃒",nvlt="<⃒",nvltrie="⊴⃒",nvrArr="⤃",nvrtrie="⊵⃒",nvsim="∼⃒",nwarhk="⤣",nwarr="↖",nwArr="⇖",nwarrow="↖",nwnear="⤧",Oacute$1="Ó",oacute$1="ó",oast="⊛",Ocirc$1="Ô",ocirc$1="ô",ocir="⊚",Ocy="О",ocy="о",odash="⊝",Odblac="Ő",odblac="ő",odiv="⨸",odot="⊙",odsold="⦼",OElig="Œ",oelig="œ",ofcir="⦿",Ofr="𝔒",ofr="𝔬",ogon="˛",Ograve$1="Ò",ograve$1="ò",ogt="⧁",ohbar="⦵",ohm="Ω",oint="∮",olarr="↺",olcir="⦾",olcross="⦻",oline="‾",olt="⧀",Omacr="Ō",omacr="ō",Omega="Ω",omega="ω",Omicron="Ο",omicron="ο",omid="⦶",ominus="⊖",Oopf="𝕆",oopf="𝕠",opar="⦷",OpenCurlyDoubleQuote="“",OpenCurlyQuote="",operp="⦹",oplus="⊕",orarr="↻",Or="⩔",or="",ord="⩝",order="",orderof="",ordf$1="ª",ordm$1="º",origof="⊶",oror="⩖",orslope="⩗",orv="⩛",oS="Ⓢ",Oscr="𝒪",oscr="",Oslash$1="Ø",oslash$1="ø",osol="⊘",Otilde$1="Õ",otilde$1="õ",otimesas="⨶",Otimes="⨷",otimes="⊗",Ouml$1="Ö",ouml$1="ö",ovbar="⌽",OverBar="‾",OverBrace="⏞",OverBracket="⎴",OverParenthesis="⏜",para$1="¶",parallel$1="∥",par="∥",parsim="⫳",parsl="⫽",p
`||Sr===" "||Sr==="\f"||Sr==="\r"}function $(Sr){return Sr>="a"&&Sr<="z"||Sr>="A"&&Sr<="Z"}function j(Sr,vr,Mr){var $r=Sr.toLowerCase();return Sr===$r?function(gr,_r){_r===$r?gr._state=vr:(gr._state=Mr,gr._index--)}:function(gr,_r){_r===$r||_r===Sr?gr._state=vr:(gr._state=Mr,gr._index--)}}function V(Sr,vr){var Mr=Sr.toLowerCase();return function($r,gr){gr===Mr||gr===Sr?$r._state=vr:($r._state=3,$r._index--)}}var z=j("C",24,16),re=j("D",25,16),ie=j("A",26,16),ae=j("T",27,16),oe=j("A",28,16),ue=V("R",35),de=V("I",36),Oe=V("P",37),_e=V("T",38),Ce=j("R",40,1),pe=j("I",41,1),Ne=j("P",42,1),Fe=j("T",43,1),Ve=V("Y",45),Pt=V("L",46),kt=V("E",47),Ue=j("Y",49,1),ze=j("L",50,1),Et=j("E",51,1),er=V("I",54),tr=V("T",55),ir=V("L",56),rr=V("E",57),lr=j("I",58,1),ur=j("T",59,1),fr=j("L",60,1),mr=j("E",61,1),yr=j("#",63,64),Ir=j("X",66,65),Nr=function(){function Sr(vr,Mr){var $r;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=Mr,this.xmlMode=!!(vr!=null&&vr.xmlMode),this.decodeEntities=($r=vr==null?void 0:vr.decodeEntities)!==null&&$r!==void 0?$r:!0}return Sr.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},Sr.prototype.write=function(vr){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=vr,this.parse()},Sr.prototype.end=function(vr){this.ended&&this.cbs.onerror(Error(".end() after done!")),vr&&this.write(vr),this.ended=!0,this.running&&this.finish()},Sr.prototype.pause=function(){this.running=!1},Sr.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},Sr.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},Sr.prototype.stateText=function(vr){vr==="<"?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&vr==="&"&&(this.special===1||this.special===4)&&(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},Sr.prototype.isTagStartChar=function(vr){return $(vr)||this.xmlMode&&!L(vr)&&vr!=="/"&&vr!==">"},Sr.prototype.stateBeforeTagName=function(vr){vr==="/"?this._state=5:vr==="<"?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):vr===">"||this.special!==1||L(vr)?this._state=1:vr==="!"?(this._state=15,this.sectionStart=this._index+1):vr==="?"?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(vr)?(this._state=!this.xmlMode&&(vr==="s"||vr==="S")?32:!this.xmlMode&&(vr==="t"||vr==="T")?52:3,this.sectionStart=this._index):this._state=1},Sr.prototype.stateInTagName=function(vr){(vr==="/"||vr===">"||L(vr))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},Sr.prototype.stateBeforeClosingTagName=function(vr){L(vr)||(vr===">"?this._state=1:this.special!==1?this.special!==4&&(vr==="s"||vr==="S")?this._state=33:this.special===4&&(vr==="t"||vr==="T")?this._state=53:(this._state=1,this._index--):this.isTagStartChar(vr)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},Sr.prototype.stateInClosingTagName=function(vr){(vr===">"||L(vr))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},Sr.prototype.stateAfterClosingTagName=function(vr){vr===">"&&(this._state=1,this.sectionStart=this._index+1)},Sr.prototype.stateBeforeAttributeName=function(vr){vr===">"?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):vr==="/"?this._state=4:L(vr)||(this._state=9,this.sectionStart=this._index)},Sr.prototype.stateInSelfClosingTag=function(vr){vr===">"?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):L(vr)||(this._state=8,this._index--)},Sr.prototype.stateInAttributeName=function(vr){(vr==="="||vr==="/"||vr===">"||L(vr))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},Sr.prototype.
`||$==="\r"&&this.html[L+1]!==`
`)&&(n.isEol=!0),n.col=L-n.lineStartPos+1,n.offset=n.droppedBufferSize+L,k.advance.call(this)},retreat(){k.retreat.call(this),n.isEol=!1,n.col=this.pos-n.lineStartPos+1},dropParsedChunk(){const L=this.pos;k.dropParsedChunk.call(this);const $=L-this.pos;n.lineStartPos-=$,n.droppedBufferSize+=$,n.offset=n.droppedBufferSize+this.pos}}}}return preprocessorMixin$1=t,preprocessorMixin$1}var tokenizerMixin$1,hasRequiredTokenizerMixin$1;function requireTokenizerMixin$1(){if(hasRequiredTokenizerMixin$1)return tokenizerMixin$1;hasRequiredTokenizerMixin$1=1;const e=requireMixin(),t=requireTokenizer(),y=requirePreprocessorMixin$1();class n extends e{constructor(L){super(L),this.tokenizer=L,this.posTracker=e.install(L.preprocessor,y),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const L=this.tokenizer.currentToken,$=this.tokenizer.currentAttr;L.location.attrs||(L.location.attrs=Object.create(null)),L.location.attrs[$.name]=this.currentAttrLocation}_getOverriddenMethods(L,$){const j={_createStartTagToken(){$._createStartTagToken.call(this),this.currentToken.location=L.ctLoc},_createEndTagToken(){$._createEndTagToken.call(this),this.currentToken.location=L.ctLoc},_createCommentToken(){$._createCommentToken.call(this),this.currentToken.location=L.ctLoc},_createDoctypeToken(V){$._createDoctypeToken.call(this,V),this.currentToken.location=L.ctLoc},_createCharacterToken(V,z){$._createCharacterToken.call(this,V,z),this.currentCharacterToken.location=L.ctLoc},_createEOFToken(){$._createEOFToken.call(this),this.currentToken.location=L._getCurrentLocation()},_createAttr(V){$._createAttr.call(this,V),L.currentAttrLocation=L._getCurrentLocation()},_leaveAttrName(V){$._leaveAttrName.call(this,V),L._attachCurrentAttrLocationInfo()},_leaveAttrValue(V){$._leaveAttrValue.call(this,V),L._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const V=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=V.startLine,this.currentCharacterToken.location.endCol=V.startCol,this.currentCharacterToken.location.endOffset=V.startOffset),this.currentToken.type===t.EOF_TOKEN?(V.endLine=V.startLine,V.endCol=V.startCol,V.endOffset=V.startOffset):(V.endLine=L.posTracker.line,V.endCol=L.posTracker.col+1,V.endOffset=L.posTracker.offset+1),$._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const V=this.currentCharacterToken&&this.currentCharacterToken.location;V&&V.endOffset===-1&&(V.endLine=L.posTracker.line,V.endCol=L.posTracker.col,V.endOffset=L.posTracker.offset),$._emitCurrentCharacterToken.call(this)}};return Object.keys(t.MODE).forEach(V=>{const z=t.MODE[V];j[z]=function(re){L.ctLoc=L._getCurrentLocation(),$[z].call(this,re)}}),j}}return tokenizerMixin$1=n,tokenizerMixin$1}var openElementStackMixin,hasRequiredOpenElementStackMixin;function requireOpenElementStackMixin(){if(hasRequiredOpenElementStackMixin)return openElementStackMixin;hasRequiredOpenElementStackMixin=1;const e=requireMixin();class t extends e{constructor(n,k){super(n),this.onItemPop=k.onItemPop}_getOverriddenMethods(n,k){return{pop(){n.onItemPop(this.current),k.pop.call(this)},popAllUpToHtmlElement(){for(let L=this.stackTop;L>0;L--)n.onItemPop(this.items[L]);k.popAllUpToHtmlElement.call(this)},remove(L){n.onItemPop(this.current),k.remove.call(this,L)}}}}return openElementStackMixin=t,openElementStackMixin}var parserMixin$1,hasRequiredParserMixin$1;function requireParserMixin$1(){if(hasRequiredParserMixin$1)return parserMixin$1;hasRequiredParserMixin$1=1;const e=requireMixin(),t=requireTokenizer(),y=requireTokenizerMixin$1(),n=requireOpenElementStackMixin(),L=requireHtml().TAG_NAMES;class $ extends e{constructor(V){super(V),this.parser=V,this.treeAdapter=this.parser.treeAdapter,this.posTracker=
`)){if(di.chars.length===1)continue;di.chars=di.chars.substr(1)}if(this._processInputToken(di),Kn&&this.pendingScript)break}}runParsingLoopForCurrentChunk(Kn,di){if(this._runParsingLoop(di),di&&this.pendingScript){const Au=this.pendingScript;this.pendingScript=null,di(Au);return}Kn&&Kn()}_setupTokenizerCDATAMode(){const Kn=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=Kn&&Kn!==this.document&&this.treeAdapter.getNamespaceURI(Kn)!==ue.HTML&&!this._isIntegrationPoint(Kn)}_switchToTextParsing(Kn,di){this._insertElement(Kn,ue.HTML),this.tokenizer.state=di,this.originalInsertionMode=this.insertionMode,this.insertionMode=Et}switchToPlaintextParsing(){this.insertionMode=Et,this.originalInsertionMode=ze,this.tokenizer.state=e.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let Kn=this.fragmentContext;do{if(this.treeAdapter.getTagName(Kn)===oe.FORM){this.formElement=Kn;break}Kn=this.treeAdapter.getParentNode(Kn)}while(Kn)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===ue.HTML){const Kn=this.treeAdapter.getTagName(this.fragmentContext);Kn===oe.TITLE||Kn===oe.TEXTAREA?this.tokenizer.state=e.MODE.RCDATA:Kn===oe.STYLE||Kn===oe.XMP||Kn===oe.IFRAME||Kn===oe.NOEMBED||Kn===oe.NOFRAMES||Kn===oe.NOSCRIPT?this.tokenizer.state=e.MODE.RAWTEXT:Kn===oe.SCRIPT?this.tokenizer.state=e.MODE.SCRIPT_DATA:Kn===oe.PLAINTEXT&&(this.tokenizer.state=e.MODE.PLAINTEXT)}}_setDocumentType(Kn){const di=Kn.name||"",Au=Kn.publicId||"",Wc=Kn.systemId||"";this.treeAdapter.setDocumentType(this.document,di,Au,Wc)}_attachElementToTree(Kn){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(Kn);else{const di=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(di,Kn)}}_appendElement(Kn,di){const Au=this.treeAdapter.createElement(Kn.tagName,di,Kn.attrs);this._attachElementToTree(Au)}_insertElement(Kn,di){const Au=this.treeAdapter.createElement(Kn.tagName,di,Kn.attrs);this._attachElementToTree(Au),this.openElements.push(Au)}_insertFakeElement(Kn){const di=this.treeAdapter.createElement(Kn,ue.HTML,[]);this._attachElementToTree(di),this.openElements.push(di)}_insertTemplate(Kn){const di=this.treeAdapter.createElement(Kn.tagName,ue.HTML,Kn.attrs),Au=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(di,Au),this._attachElementToTree(di),this.openElements.push(di)}_insertFakeRootElement(){const Kn=this.treeAdapter.createElement(oe.HTML,ue.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,Kn),this.openElements.push(Kn)}_appendCommentNode(Kn,di){const Au=this.treeAdapter.createCommentNode(Kn.data);this.treeAdapter.appendChild(di,Au)}_insertCharacters(Kn){if(this._shouldFosterParentOnInsertion())this._fosterParentText(Kn.chars);else{const di=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(di,Kn.chars)}}_adoptNodes(Kn,di){for(let Au=this.treeAdapter.getFirstChild(Kn);Au;Au=this.treeAdapter.getFirstChild(Kn))this.treeAdapter.detachNode(Au),this.treeAdapter.appendChild(di,Au)}_shouldProcessTokenInForeignContent(Kn){const di=this._getAdjustedCurrentElement();if(!di||di===this.document)return!1;const Au=this.treeAdapter.getNamespaceURI(di);if(Au===ue.HTML||this.treeAdapter.getTagName(di)===oe.ANNOTATION_XML&&Au===ue.MATHML&&Kn.type===e.START_TAG_TOKEN&&Kn.tagName===oe.SVG)return!1;const Wc=Kn.type===e.CHARACTER_TOKEN||Kn.type===e.NULL_CHARACTER_TOKEN||Kn.type===e.WHITESPACE_CHARACTER_TOKEN;return(Kn.type===e.START_TAG_TOKEN&&Kn.tagName!==oe.MGLYPH&&Kn.tagName!==oe.MALIGNMARK||Wc)&&this._isIntegrationPoint(di,ue.MATHML)||(Kn.type===e.START_TAG_TOKEN||Wc)&&this._isIntegrationPoint(di,ue.HTML)?!1:Kn.type!==e.EOF_TOKEN}_processToken(Kn){Fr[this.insertionMode][Kn.type](this,Kn)}_processTokenInBodyMode(Kn){Fr[ze][Kn.type](this,Kn)}_processTokenInForeignContent(Kn){Kn.type===e.CHARACTER_TOKEN?bm(this,Kn):Kn.type===e.NULL_CHARACTER_TOKEN?rp(this,Kn):Kn.type===e.W
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/(function(e){const t=base64Js$1,y=ieee754$1,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=re,e.SlowBuffer=Fe,e.INSPECT_MAX_BYTES=50;const k=2147483647;e.kMaxLength=k;const{Uint8Array:L,ArrayBuffer:$,SharedArrayBuffer:j}=globalThis;re.TYPED_ARRAY_SUPPORT=V(),!re.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 V(){try{const Zn=new L(1),Hr={foo:function(){return 42}};return Object.setPrototypeOf(Hr,L.prototype),Object.setPrototypeOf(Zn,Hr),Zn.foo()===42}catch{return!1}}Object.defineProperty(re.prototype,"parent",{enumerable:!0,get:function(){if(re.isBuffer(this))return this.buffer}}),Object.defineProperty(re.prototype,"offset",{enumerable:!0,get:function(){if(re.isBuffer(this))return this.byteOffset}});function z(Zn){if(Zn>k)throw new RangeError('The value "'+Zn+'" is invalid for option "size"');const Hr=new L(Zn);return Object.setPrototypeOf(Hr,re.prototype),Hr}function re(Zn,Hr,Dr){if(typeof Zn=="number"){if(typeof Hr=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ue(Zn)}return ie(Zn,Hr,Dr)}re.poolSize=8192;function ie(Zn,Hr,Dr){if(typeof Zn=="string")return de(Zn,Hr);if($.isView(Zn))return _e(Zn);if(Zn==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Zn);if(Fi(Zn,$)||Zn&&Fi(Zn.buffer,$)||typeof j<"u"&&(Fi(Zn,j)||Zn&&Fi(Zn.buffer,j)))return Ce(Zn,Hr,Dr);if(typeof Zn=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Rn=Zn.valueOf&&Zn.valueOf();if(Rn!=null&&Rn!==Zn)return re.from(Rn,Hr,Dr);const kn=pe(Zn);if(kn)return kn;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Zn[Symbol.toPrimitive]=="function")return re.from(Zn[Symbol.toPrimitive]("string"),Hr,Dr);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Zn)}re.from=function(Zn,Hr,Dr){return ie(Zn,Hr,Dr)},Object.setPrototypeOf(re.prototype,L.prototype),Object.setPrototypeOf(re,L);function ae(Zn){if(typeof Zn!="number")throw new TypeError('"size" argument must be of type number');if(Zn<0)throw new RangeError('The value "'+Zn+'" is invalid for option "size"')}function oe(Zn,Hr,Dr){return ae(Zn),Zn<=0?z(Zn):Hr!==void 0?typeof Dr=="string"?z(Zn).fill(Hr,Dr):z(Zn).fill(Hr):z(Zn)}re.alloc=function(Zn,Hr,Dr){return oe(Zn,Hr,Dr)};function ue(Zn){return ae(Zn),z(Zn<0?0:Ne(Zn)|0)}re.allocUnsafe=function(Zn){return ue(Zn)},re.allocUnsafeSlow=function(Zn){return ue(Zn)};function de(Zn,Hr){if((typeof Hr!="string"||Hr==="")&&(Hr="utf8"),!re.isEncoding(Hr))throw new TypeError("Unknown encoding: "+Hr);const Dr=Ve(Zn,Hr)|0;let Rn=z(Dr);const kn=Rn.write(Zn,Hr);return kn!==Dr&&(Rn=Rn.slice(0,kn)),Rn}function Oe(Zn){const Hr=Zn.length<0?0:Ne(Zn.length)|0,Dr=z(Hr);for(let Rn=0;Rn<Hr;Rn+=1)Dr[Rn]=Zn[Rn]&255;return Dr}function _e(Zn){if(Fi(Zn,L)){const Hr=new L(Zn);return Ce(Hr.buffer,Hr.byteOffset,Hr.byteLength)}return Oe(Zn)}function Ce(Zn,Hr,Dr){if(Hr<0||Zn.byteLength<Hr)throw new RangeError('"offset" is outside of buffer bounds');if(Zn.byteLength<Hr+(Dr||0))throw new RangeError('"length" is outside of buffer bounds');let Rn;return Hr===void 0&&Dr===void 0?Rn=new L(Zn):Dr===void 0?Rn=new L(Zn,Hr):Rn=new L(Zn,Hr,Dr),Object.setPrototypeOf(Rn,re.prototype),Rn}function pe(Zn){if(re.isBuffer(Zn)){const Hr=Ne(Zn.length)|0,Dr=z(Hr);return Dr.length===0||Zn.copy(Dr,0,0,Hr),Dr}if(Zn.length!==void 0)return typeof Zn.length!="number"||To(Zn.length)?z(0):Oe(Zn);if(Zn.type==="Buffer"&&Array.isArray(Zn.data))return Oe(Zn.data)}function Ne(Zn){if(Zn>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return Zn|0}function Fe(Zn){return+Zn!=Zn&&(Zn=0),re.alloc(+Zn)}re.isBuffer=functi
`)}}):{name:ie,value:ae.replace(n,`\r
`)}}).toArray()}return forms.serializeArray=L,forms}var hasRequiredCheerio;function requireCheerio(){if(hasRequiredCheerio)return cheerio$1;hasRequiredCheerio=1,Object.defineProperty(cheerio$1,"__esModule",{value:!0}),cheerio$1.Cheerio=void 0;var e=require$$0$6,t=e.__importDefault(requireParse()),y=e.__importDefault(requireOptions()),n=requireUtils$1(),k=e.__importStar(requireAttributes()),L=e.__importStar(requireTraversing()),$=e.__importStar(requireManipulation()),j=e.__importStar(requireCss()),V=e.__importStar(requireForms()),z=function(){function ie(ae,oe,ue,de){var Oe=this;if(de===void 0&&(de=y.default),this.length=0,this.options=de,!ae)return this;if(ue&&(typeof ue=="string"&&(ue=t.default(ue,this.options,!1)),this._root=new this.constructor(ue,null,null,this.options),this._root._root=this._root),n.isCheerio(ae))return ae;var _e=typeof ae=="string"&&n.isHtml(ae)?t.default(ae,this.options,!1).children:re(ae)?[ae]:Array.isArray(ae)?ae:null;if(_e)return _e.forEach(function(Ne,Fe){Oe[Fe]=Ne}),this.length=_e.length,this;var Ce=ae,pe=oe?typeof oe=="string"?n.isHtml(oe)?this._make(t.default(oe,this.options,!1)):(Ce=oe+" "+Ce,this._root):n.isCheerio(oe)?oe:this._make(oe):this._root;return pe?pe.find(Ce):this}return ie.prototype._make=function(ae,oe){var ue=new this.constructor(ae,oe,this._root,this.options);return ue.prevObject=this,ue},ie}();cheerio$1.Cheerio=z,z.prototype.cheerio="[cheerio object]",z.prototype.splice=Array.prototype.splice,z.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(z.prototype,k,L,$,j,V);function re(ie){return!!ie.name||ie.type==="root"||ie.type==="text"||ie.type==="comment"}return cheerio$1}var hasRequiredLoad;function requireLoad(){if(hasRequiredLoad)return load;hasRequiredLoad=1,Object.defineProperty(load,"__esModule",{value:!0}),load.load=void 0;var e=require$$0$6,t=e.__importStar(requireOptions()),y=e.__importStar(require_static()),n=requireCheerio(),k=e.__importDefault(requireParse());function L($,j,V){if(V===void 0&&(V=!0),$==null)throw new Error("cheerio.load() expects a string");var z=e.__assign(e.__assign({},t.default),t.flatten(j)),re=k.default($,z,V),ie=function(oe){e.__extends(ue,oe);function ue(){return oe!==null&&oe.apply(this,arguments)||this}return ue}(n.Cheerio);function ae(oe,ue,de,Oe){return de===void 0&&(de=re),new ie(oe,ue,de,e.__assign(e.__assign({},z),t.flatten(Oe)))}return Object.assign(ae,y,{load:L,_root:re,_options:z,fn:ie.prototype,prototype:ie.prototype}),ae}return load.load=L,load}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.root=e.parseHTML=e.merge=e.contains=void 0;var t=require$$0$6;t.__exportStar(requireTypes(),e),t.__exportStar(requireLoad(),e);var y=requireLoad();e.default=y.load([]);var n=t.__importStar(require_static());e.contains=n.contains,e.merge=n.merge,e.parseHTML=n.parseHTML,e.root=n.root})(lib$d);var utils$3={},lexer={exports:{}},debug={exports:{}};(function(e,t){var y={version:"v20.16.0",versions:{node:"20.16.0",acorn:"8.11.3",ada:"2.8.0",ares:"1.31.0",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.2.2",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.13+quic",simdutf:"5.2.8",tz:"2024a",undici:"6.19.2",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-209717d"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.16.0/node-v20.16.0.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.16.0/node-v20.16.0-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
`)}})(debug);var debugExports=debug.exports;(function(e,t){debugExports("lex"),e.exports=y;function y(n){var k="",L,$=0,j=-1,V=0,z=1,re="before-selector",ie=[re],ae={},oe=[],ue=["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 de(){return kt(),n[j]}function Oe(ur){return ur?ie[ie.length-1-ur]:re}function _e(ur){var fr=j+1;return ur===n.slice(fr,fr+ur.length)}function Ce(ur){var fr=n.slice(j).indexOf(ur);return fr>0?fr:!1}function pe(ur){return ur===Ne(1)}function Ne(ur){return n[j+(ur||1)]}function Fe(){var ur=ie.pop();return re=ie[ie.length-1],ur}function Ve(ur){return re=ur,ie.push(re),ie.length}function Pt(ur){var fr=re;return ie[ie.length-1]=re=ur,fr}function kt(ur){if((ur||1)==1)n[j]==`
`?(z++,$=1):$++,j++;else{var fr=n.slice(j,j+ur).split(`
`);fr.length>1&&(z+=fr.length-1,$=1),$+=fr[fr.length-1].length,j=j+ur}}function Ue(){ae.end={line:z,col:$},oe.push(ae),k="",ae={}}function ze(ur){ae={type:ur,start:{line:z,col:$}}}for(;L=de();)switch(L){case" ":switch(Oe()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":k+=L;break}break;case`
`:case" ":case"\r":case"\f":switch(Oe()){case"value":case"value-paren":case"at-group":case"comment":case"single-string":case"double-string":case"selector":k+=L;break;case"at-value":L===`
`&&(ae.value=k.trim(),Ue(),Fe());break}break;case":":switch(Oe()){case"name":ae.name=k.trim(),k="",Pt("before-value");break;case"before-selector":k+=L,ze("selector"),Ve("selector");break;case"before-value":Pt("value"),k+=L;break;default:k+=L;break}break;case";":switch(Oe()){case"name":case"before-value":case"value":k.trim().length>0&&(ae.value=k.trim(),Ue()),Pt("before-name");break;case"value-paren":k+=L;break;case"at-value":ae.value=k.trim(),Ue(),Fe();break;case"before-name":break;default:k+=L;break}break;case"{":switch(Oe()){case"selector":if(Ne(-1)==="\\"){k+=L;break}ae.text=k.trim(),Ue(),Pt("before-name"),V=V+1;break;case"at-group":switch(ae.name=k.trim(),ae.type){case"font-face":case"viewport":case"page":Ve("before-name");break;default:Ve("before-selector")}Ue(),V=V+1;break;case"name":case"at-rule":ae.name=k.trim(),Ue(),Ve("before-name"),V=V+1;break;case"comment":case"double-string":case"single-string":k+=L;break;case"before-value":Pt("value"),k+=L;break}break;case"}":switch(Oe()){case"before-name":case"name":case"before-value":case"value":k&&(ae.value=k.trim()),ae.name&&ae.value&&Ue(),ze("end"),Ue(),Fe(),Oe()==="at-group"&&(ze("at-group-end"),Ue(),Fe()),V>0&&(V=V-1);break;case"at-group":case"before-selector":case"selector":if(Ne(-1)==="\\"){k+=L;break}V>0&&Oe(1)==="at-group"&&(ze("at-group-end"),Ue()),V>1&&Fe(),V>0&&(V=V-1);break;case"double-string":case"single-string":case"comment":k+=L;break}break;case'"':case"'":switch(Oe()){case"double-string":L==='"'&&Ne(-1)!=="\\"&&Fe();break;case"single-string":L==="'"&&Ne(-1)!=="\\"&&Fe();break;case"before-at-value":Pt("at-value"),Ve(L==='"'?"double-string":"single-string");break;case"before-value":Pt("value"),Ve(L==='"'?"double-string":"single-string");break;case"comment":break;default:Ne(-1)!=="\\"&&Ve(L==='"'?"double-string":"single-string")}k+=L;break;case"/":switch(Oe()){case"comment":case"double-string":case"single-string":k+=L;break;case"before-value":case"selector":case"name":case"value":if(pe("*")){var Et=Ce("*/");Et&&kt(Et+1)}else Oe()=="before-value"&&Pt("value"),k+=L;break;default:pe("*")?(ze("comment"),Ve("comment"),kt()):k+=L;break}break;case"*":switch(Oe()){case"comment":pe("/")?(ae.text=k,kt(),Ue(),Fe()):k+=L;break;case"before-selector":k+=L,ze("selector"),Ve("selector");break;case"before-value":Pt("value"),k+=L;break;default:k+=L}break;case"@":switch(Oe()){case"comment":case"double-string":case"single-string":k+=L;break;case"before-value":Pt("value"),k+=L;break;default:for(var er=!1,tr,ir,rr=0,lr=ue.length;!er&&rr<lr;++rr)ir=ue[rr],tr=ir.name||ir,_e(tr)&&(er=!0,ze(tr),Ve(ir.state||"at-group"),kt(tr.length),ir.prefix&&(ae.prefix=ir.prefix),ir.type&&(ae.type=ir.type));er||(k+=L);break}break;case"(":switch(Oe()){case"value":Ve("value-paren");break;case"before-value":Pt("value");break}k+=L;break;case")":switch(Oe()){case"value-paren":Fe();break;case"before-value":Pt("value");break}k+=L;break;default:switch(Oe()){case"before-selector":ze("selector"),Ve("selector");break;case"before-name":ze("property"),Pt("name");break;case"before-value":Pt("value");break;case"before-at-value":Pt("at-value");break}k+=L;break}return oe}})(lexer);var lexerExports=lexer.exports,parser$2={exports:{}};(function(e,t){debugExports("parse");var y=lexerExports;e.exports=j;var n,k,L,$;function j(Fe,Ve){Ve||(Ve={}),n=!!Ve.comments,L=!!Ve.position,k=0,$=Array.isArray(Fe)?Fe.slice():y(Fe);for(var Pt,kt=[],Ue;Ue=z();)Pt=_e(Ue),Pt&&kt.push(Pt);return{type:"stylesheet",stylesheet:{rules:kt}}}function V(Fe,Ve){Ve||(Ve={});for(var Pt,kt=["type","name","value"],Ue={},ze=0;ze<kt.length;++ze)Pt=kt[ze],Fe[Pt]&&(Ue[Pt]=Ve[Pt]||Fe[Pt]);for(kt=Object.keys(Ve),ze=0;ze<kt.length;++ze)Pt=kt[ze],Ue[Pt]||(Ue[Pt]=Ve[Pt]);return L&&(Ue.position={start:Fe.start,end:Fe.end}),Ue}function z(){var Fe=$.shift();return Fe}function re(Fe){k=k+1;var Ve={};switch(Fe.type){case"font-face":case"viewport":Ve.declarations=pe();break;case"page":Ve.prefix=Fe.prefix,Ve.declarations=pe();break;default:Ve.prefix=Fe.prefix,Ve.rules=Ne()}return V(Fe,Ve)}function ie(Fe){return V(Fe)}function ae(Fe){return V(Fe)}function oe(Fe){ret
`,j=" ");var Ve=ue(Ne.stylesheet.rules,Ce).join(`
`).trim();return Ve}function z(Ne){if(Ne){L+=Ne;return}return n?"":Array(L).join(k||"")}function re(Ne){return"@"+Ne.type+" "+Ne.value+";"+$}function ie(Ne){var Fe="",Ve=Ne.prefix||"";Ne.name&&(Fe=" "+Ne.name);var Pt=Ne.type!=="page";return"@"+Ve+Ne.type+Fe+j+de(Ne,Pt)+$}function ae(Ne){return y?"/*"+(Ne.text||"")+"*/"+$:""}function oe(Ne){var Fe;return Ne.selectors?Fe=Ne.selectors.join(","+$):(Fe="@"+Ne.type,Fe+=Ne.name?" "+Ne.name:""),z()+Fe+j+de(Ne)+$}function ue(Ne,Fe){return Ne.reduce(function(Ve,Pt){var kt=Pt.type==="comment"?ae(Pt):Fe(Pt);return kt&&Ve.push(kt),Ve},[])}function de(Ne,Fe){var Ve=Ne.declarations,Pt=_e;return Ne.rules&&(Ve=Ne.rules,Pt=oe),Ve=Oe(Ve,Pt),Ve&&(Ve=$+Ve+(Fe?"":$)),"{"+Ve+z()+"}"}function Oe(Ne,Fe){if(!Ne)return"";z(1);var Ve=ue(Ne,Fe);return z(-1),Ve.length?Ve.join($):""}function _e(Ne){if(Ne.type==="property")return pe(Ne)}function Ce(Ne){switch(Ne.type){case"rule":return oe(Ne);case"media":case"keyframes":return ie(Ne);case"comment":return ae(Ne);case"import":case"charset":case"namespace":return re(Ne);case"font-face":case"supports":case"viewport":case"document":case"page":return ie(Ne)}}function pe(Ne){var Fe=Ne.name?Ne.name+":"+j:"";return z()+Fe+Ne.value+";"}})(stringify$1);var stringifyExports=stringify$1.exports,mensch={lex:lexerExports,parse:parserExports,stringify:stringifyExports},selector={exports:{}},escapeRe=/([-.*+?^${}()|[\]\/\\])/g,unescapeRe=/\\/g,escape$1=function(e){return(e+"").replace(escapeRe,"\\$1")},unescape$1=function(e){return(e+"").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$1(">+~`!@$%^&={}\\;</")+"]").replace(/<unicode>/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),Part=function(t){this.combinator=t||" ",this.tag="*"};Part.prototype.toString=function(){if(!this.raw){var e="",t,y;if(e+=this.tag||"*",this.id&&(e+="#"+this.id),this.classes&&(e+="."+this.classList.join(".")),this.attributes)for(t=0;y=this.attributes[t++];)e+="["+y.name+(y.operator?y.operator+'"'+y.value+'"':"")+"]";if(this.pseudos)for(t=0;y=this.pseudos[t++];)e+=":"+y.name,y.value&&(e+="("+y.value+")");this.raw=e}return this.raw};var Expression=function(){this.length=0};Expression.prototype.toString=function(){if(!this.raw){for(var e="",t=0,y;y=this[t++];)t!==1&&(e+=" "),y.combinator!==" "&&(e+=y.combinator+" "),e+=y;this.raw=e}return this.raw};var replacer=function(e,t,y,n,k,L,$,j,V,z,re,ie,ae,oe,ue,de){var Oe,_e;if((t||!this.length)&&(Oe=this[this.length++]=new Expression,t))return"";if(Oe||(Oe=this[this.length-1]),(y||n||!Oe.length)&&(_e=Oe[Oe.length++]=new Part(y)),_e||(_e=Oe[Oe.length-1]),k)_e.tag=unescape$1(k);else if(L)_e.id=unescape$1(L);else if($){var Ce=unescape$1($),pe=_e.classes||(_e.classes={});if(!pe[Ce]){pe[Ce]=escape$1($);var Ne=_e.classList||(_e.classList=[]);Ne.push(Ce),Ne.sort()}}else ae?(de=de||ue,(_e.pseudos||(_e.pseudos=[])).push({type:ie.length==1?"class":"element",name:unescape$1(ae),escapedName:escape$1(ae),value:de?unescape$1(de):null,escapedValue:de?escape$1(de):null})):j&&(re=re?escape$1(re):null,(_e.attributes||(_e.attributes=[])).push({operator:V,name:unescape$1(j),escapedName:escape$1(j),value:re?unescape$1(re):null,escapedValue:re?escape$1(re):null}));return""},Expressions=function(t){this.length=0;for(var y=this,n=t,k;t;){if(k=t.replace(slickRe,function(){return replacer.apply(y,arguments)}),k===t)throw new Error(n+" is an invalid expression");t=k}};Expressions.prototype.toString=function(){if(!this.raw){for(var e=[],t=0,y;y=this[t++];)e.push(y);this.raw=e.join(", ")}return this.raw};var cache$1={},parse=function(e){return e==null?null:(e=(""+e).replace(/^\s+|\s+$/g,""),cache$1[e]||(cache$1[e]=new Expressions(e)))},parser$1=parse;(function(e,t){var y=parser$1;e.exports=n;function n(L,$){this.text=L,this.spe
* Returns an array of the selectors.
*
* @license Sizzle CSS Selector Engine - MIT
* @param {String} selectorText from mensch
* @api public
*/e.extract=function(L){for(var $=0,j=[],V="",z=0,re=L.length;z<re;z++){var ie=L.charAt(z);$?((ie==="]"||ie===")")&&$--,V+=ie):ie===","?(j.push(V),V=""):((ie==="["||ie==="(")&&$++,(V.length||ie!==","&&ie!==`
`&&ie!==" ")&&(V+=ie))}return V.length&&j.push(V),j},e.parseCSS=function(k){for(var L=t.parse(k,{position:!0,comments:!0}),$=typeof L.stylesheet<"u"&&L.stylesheet.rules?L.stylesheet.rules:[],j=[],V=0,z=$.length;V<z;V++)if($[V].type=="rule")for(var re=$[V],ie=re.selectors,ae=0,oe=ie.length;ae<oe;ae++)j.push([ie[ae],re.declarations]);return j},e.getPreservedText=function(k,L,$){for(var j=t.parse(k,{position:!0,comments:!0}),V=typeof j.stylesheet<"u"&&j.stylesheet.rules?j.stylesheet.rules:[],z=[],re=V.length-1;re>=0;re--)(L.fontFaces&&V[re].type==="font-face"||L.mediaQueries&&V[re].type==="media"||L.keyFrames&&V[re].type==="keyframes"||L.pseudos&&V[re].selectors&&this.matchesPseudo(V[re].selectors[0],$))&&z.unshift(t.stringify({stylesheet:{rules:[V[re]]}},{comments:!1,indentation:" "})),V[re].position.start;return z.length===0?!1:`
`+z.join(`
`)+`
`},e.normalizeLineEndings=function(k){return k.replace(/\r\n/g,`
`).replace(/\n/g,`\r
`)},e.matchesPseudo=function(k,L){return L.find(function($){return k.indexOf($)>-1})},e.compareFunc=function(k,L){for(var $=Math.min(k.length,L.length),j=0;j<$;j++)if(k[j]!==L[j])return k[j]>L[j]?1:-1;return k.length-L.length},e.compare=function(k,L){return e.compareFunc(k,L)==1?k:L},e.getDefaultOptions=function(k){var L=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,url:""},k);return L.webResources=L.webResources||{},L}}(utils$3)),utils$3}(function(e){var t=lib$d;requireUtils();var y=function(k,L,$){return L=Object.assign({decodeEntities:!1,_useHtmlParser2:!0},L),k=$(k),t.load(k,L)},n=function(){var k=[],L=function(j){var V=e.exports.codeBlocks;return Object.keys(V).forEach(function(z){var re=new RegExp(V[z].start+"([\\S\\s]*?)"+V[z].end,"g");j=j.replace(re,function(ie,ae){return k.push(ie),"JUICE_CODE_BLOCK_"+(k.length-1)+"_"})}),j},$=function(j){for(var V=0;V<k.length;V++){var z=new RegExp("JUICE_CODE_BLOCK_"+V+'_(="")?',"gi");j=j.replace(z,function(){return k[V]})}return j};return{encodeEntities:L,decodeEntities:$}};e.exports=function(k,L,$,j){var V=n(),z=y(k,L,V.encodeEntities),re=[z];re.push.apply(re,j);var ie=$.apply(void 0,re)||z;return L&&L.xmlMode?V.decodeEntities(ie.xml()):V.decodeEntities(ie.html())},e.exports.codeBlocks={EJS:{start:"<%",end:"%>"},HBS:{start:"{{",end:"}}"}}})(cheerio$2);var cheerioExports=cheerio$2.exports,numbers$1={};numbers$1.romanize=function(e){if(isNaN(e))return NaN;for(var t=String(+e).split(""),y=["","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"],n="",k=3;k--;)n=(y[+t.pop()+k*10]||"")+n;return Array(+t.join("")+1).join("M")+n};numbers$1.alphanumeric=function(e){for(var t="",y;e>0;)y=(e-1)%26,t=String.fromCharCode(65+y)+t,e=(e-y)/26|0;return t||void 0};var utils$2=requireUtils(),numbers=numbers$1,inline=function(t){t.ignoredPseudos=["hover","active","focus","visited","link"],t.widthElements=["TABLE","TD","TH","IMG"],t.heightElements=["TABLE","TD","TH","IMG"],t.tableElements=["TABLE","TH","TR","TD","CAPTION","COLGROUP","COL","THEAD","TBODY","TFOOT"],t.nonVisualElements=["HEAD","TITLE","BASE","LINK","STYLE","META","SCRIPT","NOSCRIPT"],t.styleToAttribute={"background-color":"bgcolor","background-image":"background","text-align":"align","vertical-align":"valign"},t.excludedProperties=[],t.juiceDocument=re,t.inlineDocument=y;function y(oe,ue,de){de=de||{};var Oe=utils$2.parseCSS(ue),_e=[],Ce="style",pe={};if(de.styleAttributeName&&(Ce=de.styleAttributeName),Oe.forEach(Ve),_e.forEach(Pt),de.inlinePseudoElements&&_e.forEach(kt),de.applyWidthAttributes&&_e.forEach(function(er){Ue(er,"width")}),de.applyHeightAttributes&&_e.forEach(function(er){Ue(er,"height")}),de.applyAttributesTableElements&&_e.forEach(Et),de.insertPreservedExtraCss&&de.extraCss){var Ne=utils$2.getPreservedText(de.extraCss,{mediaQueries:de.preserveMediaQueries,fontFaces:de.preserveFontFaces,keyFrames:de.preserveKeyFrames});if(Ne){var Fe=null;de.insertPreservedExtraCss!==!0?Fe=oe(de.insertPreservedExtraCss):(Fe=oe("head"),Fe.length||(Fe=oe("body")),Fe.length||(Fe=oe.root())),Fe.first().append("<style>"+Ne+"</style>")}}function Ve(er){var tr=er[0],ir=er[1],rr=new utils$2.Selector(tr),lr=rr.parsed();if(lr){for(var ur=j(lr),fr=0;fr<lr.length;++fr){var mr=lr[fr];if(mr.pseudos)for(var yr=0;yr<mr.pseudos.length;++yr){var Ir=mr.pseudos[yr];if(t.ignoredPseudos.indexOf(Ir.name)>=0)return}}if(ur){var Nr=lr[lr.length-1],Sr=Nr.pseudos;Nr.pseudos=z(Nr.pseudos),tr=lr.toString(),Nr.pseudos=Sr}var vr;try{vr=oe(tr)}catch{return}vr.each(function(){var Mr=this;if(Mr.name&&t.nonVisualElements.indexOf(Mr.name.toUpperCase())>=0)return;if(ur){var $r="pseudo"+ur,gr=Mr[$r];gr||(gr=Mr[$r]=oe("<span />").get(0),gr.pseudoElementType=ur,gr.pseudoElementParent=Mr,gr.counterProps=Mr.counterProps,Mr[$r]=gr),Mr=gr}if(!Mr.styleProps){if(Mr.styleProps={},
`+ue.extraCss,y(oe,de,ue),oe}function ie(oe,ue){var de=[],Oe=oe("style"),_e,Ce,pe;return Oe.each(function(){pe=this;var Ne=!!pe.childNodes;if(_e=Ne?pe.childNodes:pe.children,_e.length!==1){ue.removeStyleTags&&oe(pe).remove();return}if(Ce=_e[0].data,ue.applyStyleTags&&oe(pe).attr("data-embed")===void 0&&de.push(Ce),ue.removeStyleTags&&oe(pe).attr("data-embed")===void 0){var Fe=Ne?pe.childNodes[0].nodeValue:pe.children[0].data,Ve=utils$2.getPreservedText(Fe,{mediaQueries:ue.preserveMediaQueries,fontFaces:ue.preserveFontFaces,keyFrames:ue.preserveKeyFrames,pseudos:ue.preservePseudos},t.ignoredPseudos);Ve?Ne?pe.childNodes[0].nodeValue=Ve:pe.children[0].data=Ve:oe(pe).remove()}oe(pe).removeAttr("data-embed")}),de}function ae(oe,ue){var de=ie(oe,ue),Oe=de.join(`
`);return Oe}return t},cheerio=cheerioExports,makeJuiceClient=inline,juiceClient=makeJuiceClient(function(e,t){return cheerio(e,{xmlMode:t&&t.xmlMode},juiceDocument,[t])}),juiceDocument=function(e,t){return juiceClient.juiceDocument(e,t)};juiceClient.inlineContent=function(e,t,y){return cheerio(e,{xmlMode:y&&y.xmlMode},juiceClient.inlineDocument,[t,y])};var client=juiceClient;const juice=getDefaultExportFromCjs(client);var standalone={exports:{}};(function(e,t){(function(y){e.exports=y()})(function(){var y=(ei,vn)=>()=>(vn||ei((vn={exports:{}}).exports,vn),vn.exports),n=y((ei,vn)=>{var Fn=function(Ui){return Ui&&Ui.Math==Math&&Ui};vn.exports=Fn(typeof globalThis=="object"&&globalThis)||Fn(typeof window=="object"&&window)||Fn(typeof self=="object"&&self)||Fn(typeof commonjsGlobal=="object"&&commonjsGlobal)||function(){return this}()||Function("return this")()}),k=y((ei,vn)=>{vn.exports=function(Fn){try{return!!Fn()}catch{return!0}}}),L=y((ei,vn)=>{var Fn=k();vn.exports=!Fn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),$=y((ei,vn)=>{var Fn=k();vn.exports=!Fn(function(){var Ui=(function(){}).bind();return typeof Ui!="function"||Ui.hasOwnProperty("prototype")})}),j=y((ei,vn)=>{var Fn=$(),Ui=Function.prototype.call;vn.exports=Fn?Ui.bind(Ui):function(){return Ui.apply(Ui,arguments)}}),V=y(ei=>{var vn={}.propertyIsEnumerable,Fn=Object.getOwnPropertyDescriptor,Ui=Fn&&!vn.call({1:2},1);ei.f=Ui?function(Gi){var sa=Fn(this,Gi);return!!sa&&sa.enumerable}:vn}),z=y((ei,vn)=>{vn.exports=function(Fn,Ui){return{enumerable:!(Fn&1),configurable:!(Fn&2),writable:!(Fn&4),value:Ui}}}),re=y((ei,vn)=>{var Fn=$(),Ui=Function.prototype,Gi=Ui.call,sa=Fn&&Ui.bind.bind(Gi,Gi);vn.exports=Fn?sa:function(qi){return function(){return Gi.apply(qi,arguments)}}}),ie=y((ei,vn)=>{var Fn=re(),Ui=Fn({}.toString),Gi=Fn("".slice);vn.exports=function(sa){return Gi(Ui(sa),8,-1)}}),ae=y((ei,vn)=>{var Fn=re(),Ui=k(),Gi=ie(),sa=Object,qi=Fn("".split);vn.exports=Ui(function(){return!sa("z").propertyIsEnumerable(0)})?function(Vo){return Gi(Vo)=="String"?qi(Vo,""):sa(Vo)}:sa}),oe=y((ei,vn)=>{vn.exports=function(Fn){return Fn==null}}),ue=y((ei,vn)=>{var Fn=oe(),Ui=TypeError;vn.exports=function(Gi){if(Fn(Gi))throw Ui("Can't call method on "+Gi);return Gi}}),de=y((ei,vn)=>{var Fn=ae(),Ui=ue();vn.exports=function(Gi){return Fn(Ui(Gi))}}),Oe=y((ei,vn)=>{var Fn=typeof document=="object"&&document.all,Ui=typeof Fn>"u"&&Fn!==void 0;vn.exports={all:Fn,IS_HTMLDDA:Ui}}),_e=y((ei,vn)=>{var Fn=Oe(),Ui=Fn.all;vn.exports=Fn.IS_HTMLDDA?function(Gi){return typeof Gi=="function"||Gi===Ui}:function(Gi){return typeof Gi=="function"}}),Ce=y((ei,vn)=>{var Fn=_e(),Ui=Oe(),Gi=Ui.all;vn.exports=Ui.IS_HTMLDDA?function(sa){return typeof sa=="object"?sa!==null:Fn(sa)||sa===Gi}:function(sa){return typeof sa=="object"?sa!==null:Fn(sa)}}),pe=y((ei,vn)=>{var Fn=n(),Ui=_e(),Gi=function(sa){return Ui(sa)?sa:void 0};vn.exports=function(sa,qi){return arguments.length<2?Gi(Fn[sa]):Fn[sa]&&Fn[sa][qi]}}),Ne=y((ei,vn)=>{var Fn=re();vn.exports=Fn({}.isPrototypeOf)}),Fe=y((ei,vn)=>{var Fn=pe();vn.exports=Fn("navigator","userAgent")||""}),Ve=y((ei,vn)=>{var Fn=n(),Ui=Fe(),Gi=Fn.process,sa=Fn.Deno,qi=Gi&&Gi.versions||sa&&sa.version,Vo=qi&&qi.v8,fo,Mo;Vo&&(fo=Vo.split("."),Mo=fo[0]>0&&fo[0]<4?1:+(fo[0]+fo[1])),!Mo&&Ui&&(fo=Ui.match(/Edge\/(\d+)/),(!fo||fo[1]>=74)&&(fo=Ui.match(/Chrome\/(\d+)/),fo&&(Mo=+fo[1]))),vn.exports=Mo}),Pt=y((ei,vn)=>{var Fn=Ve(),Ui=k();vn.exports=!!Object.getOwnPropertySymbols&&!Ui(function(){var Gi=Symbol();return!String(Gi)||!(Object(Gi)instanceof Symbol)||!Symbol.sham&&Fn&&Fn<41})}),kt=y((ei,vn)=>{var Fn=Pt();vn.exports=Fn&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Ue=y((ei,vn)=>{var Fn=pe(),Ui=_e(),Gi=Ne(),sa=kt(),qi=Object;vn.exports=sa?function(Vo){return typeof Vo=="symbol"}:function(Vo){var fo=Fn("Symbol");return Ui(fo)&&Gi(fo.prototype,qi(Vo))}}),ze=y((ei,vn)=>{var Fn=String;vn.exports=function(Ui){try{return Fn(Ui)}catch{return"Object"}}}),Et=y((ei,vn)=>{var Fn=_e(),Ui=ze(),Gi=TypeError;vn.exports=function(sa){if(Fn(sa))return sa;throw
`?"crlf":"cr":"lf"}function Hn(Nn){switch(Nn){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}function Un(Nn,An){let oi;switch(An){case`
`:oi=/\n/g;break;case"\r":oi=/\r/g;break;case`\r
`:oi=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(An)}.`)}let mi=Nn.match(oi);return mi?mi.length:0}function Sn(Nn){return Nn.replace(/\r\n?/g,`
`)}ui.exports={guessEndOfLine:En,convertEndOfLineToChars:Hn,countEndOfLineChars:Un,normalizeEndOfLine:Sn}}}),Oc=Oo({"src/utils/get-last.js"(In,ui){Mn();var En=Hn=>Hn[Hn.length-1];ui.exports=En}});function sd(){let{onlyFirst:In=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ui=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(ui,In?void 0:"g")}var ud=Yl({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Mn()}});function vp(In){if(typeof In!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof In}\``);return In.replace(sd(),"")}var dp=Yl({"node_modules/strip-ansi/index.js"(){Mn(),ud()}});function Rc(In){return Number.isInteger(In)?In>=4352&&(In<=4447||In===9001||In===9002||11904<=In&&In<=12871&&In!==12351||12880<=In&&In<=19903||19968<=In&&In<=42182||43360<=In&&In<=43388||44032<=In&&In<=55203||63744<=In&&In<=64255||65040<=In&&In<=65049||65072<=In&&In<=65131||65281<=In&&In<=65376||65504<=In&&In<=65510||110592<=In&&In<=110593||127488<=In&&In<=127569||131072<=In&&In<=262141):!1}var qd=Yl({"node_modules/is-fullwidth-code-point/index.js"(){Mn()}}),id=Oo({"node_modules/emoji-regex/index.js"(In,ui){Mn(),ui.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB
`)?ma(zi):zi)}function ma(Vn){let zi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Hn;return Un(zi,Vn.split(`
`)).parts}function Mi(Vn){if(Vn.type==="line")return!0}function ta(Vn){return Wi(Vn,Mi,!1)}ui.exports={isConcat:Sn,getDocParts:Nn,willBreak:Ki,traverseDoc:oi,findInDoc:Wi,mapDoc:mi,propagateBreaks:Ni,removeLines:Ta,stripTrailingHardline:Ia,normalizeParts:ka,normalizeDoc:Xo,cleanDoc:za,replaceTextEndOfLine:ma,replaceEndOfLine:ji,canBreak:ta}}}),mm=Oo({"src/document/doc-printer.js"(In,ui){Mn();var{convertEndOfLineToChars:En}=Fu(),Hn=Oc(),Un=cf(),{fill:Sn,cursor:Nn,indent:An}=pl(),{isConcat:oi,getDocParts:mi}=Ip(),Wi,Hi=1,Ki=2;function fi(){return{value:"",length:0,queue:[]}}function Ni(pa,za){return Ta(pa,{type:"indent"},za)}function ra(pa,za,ka){return za===Number.NEGATIVE_INFINITY?pa.root||fi():za<0?Ta(pa,{type:"dedent"},ka):za?za.type==="root"?Object.assign(Object.assign({},pa),{},{root:pa}):Ta(pa,{type:typeof za=="string"?"stringAlign":"numberAlign",n:za},ka):pa}function Ta(pa,za,ka){let Xo=za.type==="dedent"?pa.queue.slice(0,-1):[...pa.queue,za],ji="",ma=0,Mi=0,ta=0;for(let Xa of Xo)switch(Xa.type){case"indent":Zi(),ka.useTabs?Vn(1):zi(ka.tabWidth);break;case"stringAlign":Zi(),ji+=Xa.n,ma+=Xa.n.length;break;case"numberAlign":Mi+=1,ta+=Xa.n;break;default:throw new Error(`Unexpected type '${Xa.type}'`)}return da(),Object.assign(Object.assign({},pa),{},{value:ji,length:ma,queue:Xo});function Vn(Xa){ji+=" ".repeat(Xa),ma+=ka.tabWidth*Xa}function zi(Xa){ji+=" ".repeat(Xa),ma+=Xa}function Zi(){ka.useTabs?oa():da()}function oa(){Mi>0&&Vn(Mi),Sa()}function da(){ta>0&&zi(ta),Sa()}function Sa(){Mi=0,ta=0}}function Ra(pa){if(pa.length===0)return 0;let za=0;for(;pa.length>0&&typeof Hn(pa)=="string"&&/^[\t ]*$/.test(Hn(pa));)za+=pa.pop().length;if(pa.length>0&&typeof Hn(pa)=="string"){let ka=Hn(pa).replace(/[\t ]*$/,"");za+=Hn(pa).length-ka.length,pa[pa.length-1]=ka}return za}function aa(pa,za,ka,Xo,ji){let ma=za.length,Mi=[pa],ta=[];for(;ka>=0;){if(Mi.length===0){if(ma===0)return!0;Mi.push(za[--ma]);continue}let{mode:Vn,doc:zi}=Mi.pop();if(typeof zi=="string")ta.push(zi),ka-=Un(zi);else if(oi(zi)||zi.type==="fill"){let Zi=mi(zi);for(let oa=Zi.length-1;oa>=0;oa--)Mi.push({mode:Vn,doc:Zi[oa]})}else switch(zi.type){case"indent":case"align":case"indent-if-break":case"label":Mi.push({mode:Vn,doc:zi.contents});break;case"trim":ka+=Ra(ta);break;case"group":{if(ji&&zi.break)return!1;let Zi=zi.break?Hi:Vn,oa=zi.expandedStates&&Zi===Hi?Hn(zi.expandedStates):zi.contents;Mi.push({mode:Zi,doc:oa});break}case"if-break":{let Zi=(zi.groupId?Wi[zi.groupId]||Ki:Vn)===Hi?zi.breakContents:zi.flatContents;Zi&&Mi.push({mode:Vn,doc:Zi});break}case"line":if(Vn===Hi||zi.hard)return!0;zi.soft||(ta.push(" "),ka--);break;case"line-suffix":Xo=!0;break;case"line-suffix-boundary":if(Xo)return!1;break}}return!1}function Ia(pa,za){Wi={};let ka=za.printWidth,Xo=En(za.endOfLine),ji=0,ma=[{ind:fi(),mode:Hi,doc:pa}],Mi=[],ta=!1,Vn=[];for(;ma.length>0;){let{ind:Zi,mode:oa,doc:da}=ma.pop();if(typeof da=="string"){let Sa=Xo!==`
`?da.replace(/\n/g,Xo):da;Mi.push(Sa),ji+=Un(Sa)}else if(oi(da)){let Sa=mi(da);for(let Xa=Sa.length-1;Xa>=0;Xa--)ma.push({ind:Zi,mode:oa,doc:Sa[Xa]})}else switch(da.type){case"cursor":Mi.push(Nn.placeholder);break;case"indent":ma.push({ind:Ni(Zi,za),mode:oa,doc:da.contents});break;case"align":ma.push({ind:ra(Zi,da.n,za),mode:oa,doc:da.contents});break;case"trim":ji-=Ra(Mi);break;case"group":switch(oa){case Ki:if(!ta){ma.push({ind:Zi,mode:da.break?Hi:Ki,doc:da.contents});break}case Hi:{ta=!1;let Sa={ind:Zi,mode:Ki,doc:da.contents},Xa=ka-ji,Io=Vn.length>0;if(!da.break&&aa(Sa,ma,Xa,Io))ma.push(Sa);else if(da.expandedStates){let Yo=Hn(da.expandedStates);if(da.break){ma.push({ind:Zi,mode:Hi,doc:Yo});break}else for(let Ro=1;Ro<da.expandedStates.length+1;Ro++)if(Ro>=da.expandedStates.length){ma.push({ind:Zi,mode:Hi,doc:Yo});break}else{let hs=da.expandedStates[Ro],co={ind:Zi,mode:Ki,doc:hs};if(aa(co,ma,Xa,Io)){ma.push(co);break}}}else ma.push({ind:Zi,mode:Hi,doc:da.contents});break}}da.id&&(Wi[da.id]=Hn(ma).mode);break;case"fill":{let Sa=ka-ji,{parts:Xa}=da;if(Xa.length===0)break;let[Io,Yo]=Xa,Ro={ind:Zi,mode:Ki,doc:Io},hs={ind:Zi,mode:Hi,doc:Io},co=aa(Ro,[],Sa,Vn.length>0,!0);if(Xa.length===1){co?ma.push(Ro):ma.push(hs);break}let ks={ind:Zi,mode:Ki,doc:Yo},Go={ind:Zi,mode:Hi,doc:Yo};if(Xa.length===2){co?ma.push(ks,Ro):ma.push(Go,hs);break}Xa.splice(0,2);let No={ind:Zi,mode:oa,doc:Sn(Xa)},_s=Xa[0];aa({ind:Zi,mode:Ki,doc:[Io,Yo,_s]},[],Sa,Vn.length>0,!0)?ma.push(No,ks,Ro):co?ma.push(No,Go,Ro):ma.push(No,Go,hs);break}case"if-break":case"indent-if-break":{let Sa=da.groupId?Wi[da.groupId]:oa;if(Sa===Hi){let Xa=da.type==="if-break"?da.breakContents:da.negate?da.contents:An(da.contents);Xa&&ma.push({ind:Zi,mode:oa,doc:Xa})}if(Sa===Ki){let Xa=da.type==="if-break"?da.flatContents:da.negate?An(da.contents):da.contents;Xa&&ma.push({ind:Zi,mode:oa,doc:Xa})}break}case"line-suffix":Vn.push({ind:Zi,mode:oa,doc:da.contents});break;case"line-suffix-boundary":Vn.length>0&&ma.push({ind:Zi,mode:oa,doc:{type:"line",hard:!0}});break;case"line":switch(oa){case Ki:if(da.hard)ta=!0;else{da.soft||(Mi.push(" "),ji+=1);break}case Hi:if(Vn.length>0){ma.push({ind:Zi,mode:oa,doc:da},...Vn.reverse()),Vn.length=0;break}da.literal?Zi.root?(Mi.push(Xo,Zi.root.value),ji=Zi.root.length):(Mi.push(Xo),ji=0):(ji-=Ra(Mi),Mi.push(Xo+Zi.value),ji=Zi.length);break}break;case"label":ma.push({ind:Zi,mode:oa,doc:da.contents});break}ma.length===0&&Vn.length>0&&(ma.push(...Vn.reverse()),Vn.length=0)}let zi=Mi.indexOf(Nn.placeholder);if(zi!==-1){let Zi=Mi.indexOf(Nn.placeholder,zi+1),oa=Mi.slice(0,zi).join(""),da=Mi.slice(zi+1,Zi).join(""),Sa=Mi.slice(Zi+1).join("");return{formatted:oa+da+Sa,cursorNodeStart:oa.length,cursorNodeText:da}}return{formatted:Mi.join("")}}ui.exports={printDocToString:Ia}}}),Rf=Oo({"src/document/doc-debug.js"(In,ui){Mn();var{isConcat:En,getDocParts:Hn}=Ip();function Un(Nn){if(!Nn)return"";if(En(Nn)){let An=[];for(let oi of Hn(Nn))if(En(oi))An.push(...Un(oi).parts);else{let mi=Un(oi);mi!==""&&An.push(mi)}return{type:"concat",parts:An}}return Nn.type==="if-break"?Object.assign(Object.assign({},Nn),{},{breakContents:Un(Nn.breakContents),flatContents:Un(Nn.flatContents)}):Nn.type==="group"?Object.assign(Object.assign({},Nn),{},{contents:Un(Nn.contents),expandedStates:Nn.expandedStates&&Nn.expandedStates.map(Un)}):Nn.type==="fill"?{type:"fill",parts:Nn.parts.map(Un)}:Nn.contents?Object.assign(Object.assign({},Nn),{},{contents:Un(Nn.contents)}):Nn}function Sn(Nn){let An=Object.create(null),oi=new Set;return mi(Un(Nn));function mi(Hi,Ki,fi){if(typeof Hi=="string")return JSON.stringify(Hi);if(En(Hi)){let Ni=Hn(Hi).map(mi).filter(Boolean);return Ni.length===1?Ni[0]:`[${Ni.join(", ")}]`}if(Hi.type==="line"){let Ni=Array.isArray(fi)&&fi[Ki+1]&&fi[Ki+1].type==="break-parent";return Hi.literal?Ni?"literalline":"literallineWithoutBreakParent":Hi.hard?Ni?"hardline":"hardlineWithoutBreakParent":Hi.soft?"softline":"line"}if(Hi.type==="break-parent")return Array.isArray(fi)&&fi[Ki-1]&&fi[Ki-1].type==="line"&&fi[Ki-1].hard?void 0:"breakParent";if(Hi.type==="trim")retur
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`,cliCategory:Un},endOfLine:{since:"1.15.0",category:oi,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"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:En`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`}]},filepath:{since:"1.4.0",category:mi,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Nn,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:mi,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Nn},parser:{since:"0.0.10",category:oi,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:Hi=>typeof Hi=="string"||typeof Hi=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:oi,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:Hi=>typeof Hi=="string"||typeof Hi=="object",cliName:"plugin",cliCategory:Hn},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:oi,description:En`
Custom directory that contains prettier plugins in node_modules subdirectory.
Overrides default behavior when plugins are searched relatively to the location of Prettier.
Multiple values are accepted.
`,exception:Hi=>typeof Hi=="string"||typeof Hi=="object",cliName:"plugin-search-dir",cliCategory:Hn},printWidth:{since:"0.0.0",category:oi,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:mi,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:En`
Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:Un},rangeStart:{since:"1.4.0",category:mi,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:En`
Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:Un},requirePragma:{since:"1.7.0",category:mi,type:"boolean",default:!1,description:En`
Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.
`,cliCategory:Nn},tabWidth:{type:"int",category:oi,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:oi,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:oi,type:"choice",default:[{since:"2.1.0",value:"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."}]}};ui.exports={CATEGORY_CONFIG:Hn,CATEGORY_EDITOR:Un,CATEGORY_FORMAT:Sn,CATEGORY_OTHER:Nn,CATEGORY_OUTPUT:An,CATEGORY_GLOBAL:oi,CATEGORY_SPECIAL:mi,options:Wi}}}),gm=Oo({"src/main/support.js"(In,ui){Mn();var En={compare:Jp(),lt:Zf(),gte:If()},Hn=dh(),Un=Qo().version,Sn=Mh().options;function Nn(){let{plugins:oi=[],showUnreleased:mi=!1,showDeprecated:Wi=!1,showInternal:Hi=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ki=Un.split("-",1)[0],fi=oi.flatMap(aa=>aa.languages||[]).filter(ra),Ni=Hn(Object.assign({},...oi.map(aa=>{let{options:Ia}=aa;return Ia}),Sn),"name").filter(aa=>ra(aa)&&Ta(aa)).sort((aa,Ia)=>aa.name===Ia.name?0:aa.name<Ia.name?-1:1).map(Ra).map(aa=>{aa=Object.assign({},aa),Array.isArray(aa.default)&&(aa.default=aa.default.length===1?aa.default[0].value:aa.default.filter(ra).sort((pa,za)=>En.compare(za.since,pa.since))[0].value),Array.isArray(aa.choices)&&(aa.choices=aa.choices.filter(pa=>ra(pa)&&Ta(pa)),aa.name==="parser"&&An(aa,fi,oi));let Ia=Object.fromEntries(oi.filter(pa=>pa.defaultOptions&&pa.defaultOptions[aa.name]!==void 0).map(pa=>[pa.name,pa.defaultOptions[aa.name]]));return Object.assign(Object.assign({},aa),{},{pluginDefaults:Ia})});return{languages:fi,options:Ni};function ra(aa){return mi||!("since"in aa)||aa.since&&En.gte(Ki,aa.since)}function Ta(aa){return Wi||!("deprecated"in aa)||aa.deprecated&&En.lt(Ki,aa.deprecated)}function Ra(aa){return Hi?aa:sa(aa,Fn)}}function An(oi,mi,Wi){let Hi=new Set(oi.choices.map(Ki=>Ki.value));for(let Ki of mi)if(Ki.parsers){for(let fi of Ki.parsers)if(!Hi.has(fi)){Hi.add(fi);let Ni=Wi.find(Ta=>Ta.parsers&&Ta.parsers[fi]),ra=Ki.name;Ni&&Ni.name&&(ra+=` (plugin: ${Ni.name})`),oi.choices.push({value:fi,description:ra})}}}ui.exports={getSupportInfo:Nn}}}),Om=Oo({"src/utils/is-non-empty-array.js"(In,ui){Mn();function En(Hn){return Array.isArray(Hn)&&Hn.length>0}ui.exports=En}}),Rm=Oo({"src/utils/text/skip.js"(In,ui){Mn();function En(An){return(oi,mi,Wi)=>{let Hi=Wi&&Wi.backwards;if(mi===!1)return!1;let{length:Ki}=oi,fi=mi;for(;fi>=0&&fi<Ki;){let Ni=oi.charAt(fi);if(An instanceof RegExp){if(!An.test(Ni))return fi}else if(!An.includes(Ni))return fi;Hi?fi--:fi++}return fi===-1||fi===Ki?fi:!1}}var Hn=En(/\s/),Un=En(" "),Sn=En(",; "),Nn=En(/[^\n\r]/);ui.exports={skipWhitespace:Hn,skipSpaces:Un,skipToLineEnd:Sn,skipEverythingButNewLine:Nn}}}),Td=Oo({"src/utils/text/skip-inline-comment.js"(In,ui){Mn();function En(Hn,Un){if(Un===!1)return!1;if(Hn.charAt(Un)==="/"&&Hn.charAt(Un+1)==="*"){for(let Sn=Un+2;Sn<Hn.length;++Sn)if(Hn.charAt(Sn)==="*"&&Hn.charAt(Sn+1)==="/")return Sn+2}return Un}ui.exports=En}}),Ed=Oo({"src/utils/text/skip-trailing-comment.js"(In,ui){Mn();var{skipEverythingButNewLine:En}=Rm();function Hn(Un,Sn){return Sn===!1?!1:Un.charAt(Sn)==="/"&&Un.charAt(Sn+1)==="/"?En(Un,Sn):Sn}ui.exports=Hn}}),$p=Oo({"src/utils/text/skip-newline.js"(In,ui){Mn();function En(Hn,Un,Sn){let Nn=Sn&&Sn.backwards;if(Un===!1)return!1;let An=Hn.charAt(Un);if(Nn){if(Hn.charAt(Un-1)==="\r"&&An===`
`)return Un-2;if(An===`
`||An==="\r"||An==="\u2028"||An==="\u2029")return Un-1}else{if(An==="\r"&&Hn.charAt(Un+1)===`
`)return Un+2;if(An===`
`||An==="\r"||An==="\u2028"||An==="\u2029")return Un+1}return Un}ui.exports=En}}),pf=Oo({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(In,ui){Mn();var En=Td(),Hn=$p(),Un=Ed(),{skipSpaces:Sn}=Rm();function Nn(An,oi){let mi=null,Wi=oi;for(;Wi!==mi;)mi=Wi,Wi=Sn(An,Wi),Wi=En(An,Wi),Wi=Un(An,Wi),Wi=Hn(An,Wi);return Wi}ui.exports=Nn}}),qc=Oo({"src/common/util.js"(In,ui){Mn();var{default:En}=(df(),ju(wf)),Hn=Oc(),{getSupportInfo:Un}=gm(),Sn=Om(),Nn=cf(),{skipWhitespace:An,skipSpaces:oi,skipToLineEnd:mi,skipEverythingButNewLine:Wi}=Rm(),Hi=Td(),Ki=Ed(),fi=$p(),Ni=pf(),ra=Go=>Go[Go.length-2];function Ta(Go){return(No,_s,Js)=>{let Ps=Js&&Js.backwards;if(_s===!1)return!1;let{length:cl}=No,$o=_s;for(;$o>=0&&$o<cl;){let xs=No.charAt($o);if(Go instanceof RegExp){if(!Go.test(xs))return $o}else if(!Go.includes(xs))return $o;Ps?$o--:$o++}return $o===-1||$o===cl?$o:!1}}function Ra(Go,No){let _s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Js=oi(Go,_s.backwards?No-1:No,_s),Ps=fi(Go,Js,_s);return Js!==Ps}function aa(Go,No,_s){for(let Js=No;Js<_s;++Js)if(Go.charAt(Js)===`
`)return!0;return!1}function Ia(Go,No,_s){let Js=_s(No)-1;Js=oi(Go,Js,{backwards:!0}),Js=fi(Go,Js,{backwards:!0}),Js=oi(Go,Js,{backwards:!0});let Ps=fi(Go,Js,{backwards:!0});return Js!==Ps}function pa(Go,No){let _s=null,Js=No;for(;Js!==_s;)_s=Js,Js=mi(Go,Js),Js=Hi(Go,Js),Js=oi(Go,Js);return Js=Ki(Go,Js),Js=fi(Go,Js),Js!==!1&&Ra(Go,Js)}function za(Go,No,_s){return pa(Go,_s(No))}function ka(Go,No,_s){return Ni(Go,_s(No))}function Xo(Go,No,_s){return Go.charAt(ka(Go,No,_s))}function ji(Go,No){let _s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return oi(Go,_s.backwards?No-1:No,_s)!==No}function ma(Go,No){let _s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Js=0;for(let Ps=_s;Ps<Go.length;++Ps)Go[Ps]===" "?Js=Js+No-Js%No:Js++;return Js}function Mi(Go,No){let _s=Go.lastIndexOf(`
`);return _s===-1?0:ma(Go.slice(_s+1).match(/^[\t ]*/)[0],No)}function ta(Go,No){let _s={quote:'"',regex:/"/g,escaped:"&quot;"},Js={quote:"'",regex:/'/g,escaped:"&apos;"},Ps=No==="'"?Js:_s,cl=Ps===Js?_s:Js,$o=Ps;if(Go.includes(Ps.quote)||Go.includes(cl.quote)){let xs=(Go.match(Ps.regex)||[]).length,ul=(Go.match(cl.regex)||[]).length;$o=xs>ul?cl:Ps}return $o}function Vn(Go,No){let _s=Go.slice(1,-1),Js=No.parser==="json"||No.parser==="json5"&&No.quoteProps==="preserve"&&!No.singleQuote?'"':No.__isInHtmlAttribute?"'":ta(_s,No.singleQuote?"'":'"').quote;return zi(_s,Js,!(No.parser==="css"||No.parser==="less"||No.parser==="scss"||No.__embeddedInHtml))}function zi(Go,No,_s){let Js=No==='"'?"'":'"',Ps=/\\(.)|(["'])/gs,cl=Go.replace(Ps,($o,xs,ul)=>xs===Js?xs:ul===No?"\\"+ul:ul||(_s&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(xs)?xs:"\\"+xs));return No+cl+No}function Zi(Go){return Go.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function oa(Go,No){let _s=Go.match(new RegExp(`(${En(No)})+`,"g"));return _s===null?0:_s.reduce((Js,Ps)=>Math.max(Js,Ps.length/No.length),0)}function da(Go,No){let _s=Go.match(new RegExp(`(${En(No)})+`,"g"));if(_s===null)return 0;let Js=new Map,Ps=0;for(let cl of _s){let $o=cl.length/No.length;Js.set($o,!0),$o>Ps&&(Ps=$o)}for(let cl=1;cl<Ps;cl++)if(!Js.get(cl))return cl;return Ps+1}function Sa(Go,No){(Go.comments||(Go.comments=[])).push(No),No.printed=!1,No.nodeDescription=ks(Go)}function Xa(Go,No){No.leading=!0,No.trailing=!1,Sa(Go,No)}function Io(Go,No,_s){No.leading=!1,No.trailing=!1,_s&&(No.marker=_s),Sa(Go,No)}function Yo(Go,No){No.leading=!1,No.trailing=!0,Sa(Go,No)}function Ro(Go,No){let{languages:_s}=Un({plugins:No.plugins}),Js=_s.find(Ps=>{let{name:cl}=Ps;return cl.toLowerCase()===Go})||_s.find(Ps=>{let{aliases:cl}=Ps;return Array.isArray(cl)&&cl.includes(Go)})||_s.find(Ps=>{let{extensions:cl}=Ps;return Array.isArray(cl)&&cl.includes(`.${Go}`)});return Js&&Js.parsers[0]}function hs(Go){return Go&&Go.type==="front-matter"}function co(Go){let No=new WeakMap;return function(_s){return No.has(_s)||No.set(_s,Symbol(Go)),No.get(_s)}}function ks(Go){let No=Go.type||Go.kind||"(unknown type)",_s=String(Go.name||Go.id&&(typeof Go.id=="object"?Go.id.name:Go.id)||Go.key&&(typeof Go.key=="object"?Go.key.name:Go.key)||Go.value&&(typeof Go.value=="object"?"":String(Go.value))||Go.operator||"");return _s.length>20&&(_s=_s.slice(0,19)+"…"),No+(_s?" "+_s:"")}ui.exports={inferParserByLanguage:Ro,getStringWidth:Nn,getMaxContinuousCount:oa,getMinNotPresentContinuousCount:da,getPenultimate:ra,getLast:Hn,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ni,getNextNonSpaceNonCommentCharacterIndex:ka,getNextNonSpaceNonCommentCharacter:Xo,skip:Ta,skipWhitespace:An,skipSpaces:oi,skipToLineEnd:mi,skipEverythingButNewLine:Wi,skipInlineComment:Hi,skipTrailingComment:Ki,skipNewline:fi,isNextLineEmptyAfterIndex:pa,isNextLineEmpty:za,isPreviousLineEmpty:Ia,hasNewline:Ra,hasNewlineInRange:aa,hasSpaces:ji,getAlignmentSize:ma,getIndentSize:Mi,getPreferredQuote:ta,printString:Vn,printNumber:Zi,makeString:zi,addLeadingComment:Xa,addDanglingComment:Io,addTrailingComment:Yo,isFrontMatterNode:hs,isNonEmptyArray:Sn,createGroupIdMapper:co}}}),rm={};_u(rm,{basename:()=>Bf,default:()=>Kn,delimiter:()=>Xr,dirname:()=>Mf,extname:()=>vm,isAbsolute:()=>Mm,join:()=>jd,normalize:()=>km,relative:()=>_m,resolve:()=>ff,sep:()=>zf});function zm(In,ui){for(var En=0,Hn=In.length-1;Hn>=0;Hn--){var Un=In[Hn];Un==="."?In.splice(Hn,1):Un===".."?(In.splice(Hn,1),En++):En&&(In.splice(Hn,1),En--)}if(ui)for(;En--;En)In.unshift("..");return In}function ff(){for(var In="",ui=!1,En=arguments.length-1;En>=-1&&!ui;En--){var Hn=En>=0?arguments[En]:"/";if(typeof Hn!="string")throw new TypeError("Arguments to path.resolve must be strings");Hn&&(In=Hn+"/"+In,ui=Hn.charAt(0)==="/")}return In=zm(rp(In.split("/"),function(Un){return!!Un}),!ui).join("/"),(ui?"/":"")+In||"."}function km(In){var ui=Mm(In),En=di(In,-1)==="
`,Ni(fi.gutter,ma.replace(/\d/g," "))," ",zi,Ni(fi.marker,"^").repeat(Zi)].join(""),ta&&Wi.message&&(Vn+=" "+Ni(fi.message,Wi.message))}return[Ni(fi.marker,">"),Ni(fi.gutter,ma),ka.length>0?` ${ka}`:"",Vn].join("")}else return` ${Ni(fi.gutter,ma)}${ka.length>0?` ${ka}`:""}`}).join(`
`);return Wi.message&&!Ia&&(za=`${" ".repeat(pa+1)}${Wi.message}
${za}`),Hi?Ki.reset(za):za}function An(oi,mi,Wi){let Hi=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!En){En=!0;let Ki="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Gu.emitWarning)Gu.emitWarning(Ki,"DeprecationWarning");else{let fi=new Error(Ki);fi.name="DeprecationWarning",console.warn(new Error(Ki))}}return Wi=Math.max(Wi,0),Nn(oi,{start:{column:Wi,line:mi}},Hi)}}}),Ks=Oo({"src/main/parser.js"(In,ui){Mn();var{ConfigError:En}=od(),Hn=Ap();Xh();var{locStart:Un,locEnd:Sn}=Hn,Nn=Object.getOwnPropertyNames,An=Object.getOwnPropertyDescriptor;function oi(Hi){let Ki={};for(let fi of Hi.plugins)if(fi.parsers)for(let Ni of Nn(fi.parsers))Object.defineProperty(Ki,Ni,An(fi.parsers,Ni));return Ki}function mi(Hi){let Ki=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oi(Hi);if(typeof Hi.parser=="function")return{parse:Hi.parser,astFormat:"estree",locStart:Un,locEnd:Sn};if(typeof Hi.parser=="string"){if(Object.prototype.hasOwnProperty.call(Ki,Hi.parser))return Ki[Hi.parser];throw new En(`Couldn't resolve parser "${Hi.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function Wi(Hi,Ki){let fi=oi(Ki),Ni=Object.defineProperties({},Object.fromEntries(Object.keys(fi).map(Ta=>[Ta,{enumerable:!0,get(){return fi[Ta].parse}}]))),ra=mi(Ki,fi);try{return ra.preprocess&&(Hi=ra.preprocess(Hi,Ki)),{text:Hi,ast:ra.parse(Hi,Ni,Ki)}}catch(Ta){let{loc:Ra}=Ta;if(Ra){let{codeFrameColumns:aa}=om();throw Ta.codeFrame=aa(Hi,Ra,{highlightCode:!0}),Ta.message+=`
`+Ta.codeFrame,Ta}throw Ta}}ui.exports={parse:Wi,resolveParser:mi}}}),Wl=Oo({"src/main/options.js"(In,ui){Mn();var En=Wc(),{UndefinedParserError:Hn}=od(),{getSupportInfo:Un}=gm(),Sn=Xm(),{resolveParser:Nn}=Ks(),An={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function oi(Hi){let Ki=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fi=Object.assign({},Hi),Ni=Un({plugins:Hi.plugins,showUnreleased:!0,showDeprecated:!0}).options,ra=Object.assign(Object.assign({},An),Object.fromEntries(Ni.filter(pa=>pa.default!==void 0).map(pa=>[pa.name,pa.default])));if(!fi.parser){if(!fi.filepath)(Ki.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),fi.parser="babel";else if(fi.parser=Wi(fi.filepath,fi.plugins),!fi.parser)throw new Hn(`No parser could be inferred for file: ${fi.filepath}`)}let Ta=Nn(Sn.normalizeApiOptions(fi,[Ni.find(pa=>pa.name==="parser")],{passThrough:!0,logger:!1}));fi.astFormat=Ta.astFormat,fi.locEnd=Ta.locEnd,fi.locStart=Ta.locStart;let Ra=mi(fi);fi.printer=Ra.printers[fi.astFormat];let aa=Object.fromEntries(Ni.filter(pa=>pa.pluginDefaults&&pa.pluginDefaults[Ra.name]!==void 0).map(pa=>[pa.name,pa.pluginDefaults[Ra.name]])),Ia=Object.assign(Object.assign({},ra),aa);for(let[pa,za]of Object.entries(Ia))(fi[pa]===null||fi[pa]===void 0)&&(fi[pa]=za);return fi.parser==="json"&&(fi.trailingComma="none"),Sn.normalizeApiOptions(fi,Ni,Object.assign({passThrough:Object.keys(An)},Ki))}function mi(Hi){let{astFormat:Ki}=Hi;if(!Ki)throw new Error("getPlugin() requires astFormat to be set");let fi=Hi.plugins.find(Ni=>Ni.printers&&Ni.printers[Ki]);if(!fi)throw new Error(`Couldn't find plugin for AST format "${Ki}"`);return fi}function Wi(Hi,Ki){let fi=En.basename(Hi).toLowerCase(),Ni=Un({plugins:Ki}).languages.filter(ra=>ra.since!==null).find(ra=>ra.extensions&&ra.extensions.some(Ta=>fi.endsWith(Ta))||ra.filenames&&ra.filenames.some(Ta=>Ta.toLowerCase()===fi));return Ni&&Ni.parsers[0]}ui.exports={normalize:oi,hiddenDefaults:An,inferParser:Wi}}}),Ml=Oo({"src/main/massage-ast.js"(In,ui){Mn();function En(Hn,Un,Sn){if(Array.isArray(Hn))return Hn.map(mi=>En(mi,Un,Sn)).filter(Boolean);if(!Hn||typeof Hn!="object")return Hn;let Nn=Un.printer.massageAstNode,An;Nn&&Nn.ignoredProperties?An=Nn.ignoredProperties:An=new Set;let oi={};for(let[mi,Wi]of Object.entries(Hn))!An.has(mi)&&typeof Wi!="function"&&(oi[mi]=En(Wi,Un,Hn));if(Nn){let mi=Nn(Hn,oi,Sn);if(mi===null)return;if(mi)return mi}return oi}ui.exports=En}}),vc=Oo({"scripts/build/shims/assert.cjs"(In,ui){Mn();var En=()=>{};En.ok=En,En.strictEqual=En,ui.exports=En}}),Cc=Oo({"src/main/comments.js"(In,ui){Mn();var En=vc(),{builders:{line:Hn,hardline:Un,breakParent:Sn,indent:Nn,lineSuffix:An,join:oi,cursor:mi}}=Ec(),{hasNewline:Wi,skipNewline:Hi,skipSpaces:Ki,isPreviousLineEmpty:fi,addLeadingComment:Ni,addDanglingComment:ra,addTrailingComment:Ta}=qc(),Ra=new WeakMap;function aa(Xa,Io,Yo){if(!Xa)return;let{printer:Ro,locStart:hs,locEnd:co}=Io;if(Yo){if(Ro.canAttachComment&&Ro.canAttachComment(Xa)){let Go;for(Go=Yo.length-1;Go>=0&&!(hs(Yo[Go])<=hs(Xa)&&co(Yo[Go])<=co(Xa));--Go);Yo.splice(Go+1,0,Xa);return}}else if(Ra.has(Xa))return Ra.get(Xa);let ks=Ro.getCommentChildNodes&&Ro.getCommentChildNodes(Xa,Io)||typeof Xa=="object"&&Object.entries(Xa).filter(Go=>{let[No]=Go;return No!=="enclosingNode"&&No!=="precedingNode"&&No!=="followingNode"&&No!=="tokens"&&No!=="comments"&&No!=="parent"}).map(Go=>{let[,No]=Go;return No});if(ks){Yo||(Yo=[],Ra.set(Xa,Yo));for(let Go of ks)aa(Go,Io,Yo);return Yo}}function Ia(Xa,Io,Yo,Ro){let{locStart:hs,locEnd:co}=Yo,ks=hs(Io),Go=co(Io),No=aa(Xa,Yo),_s,Js,Ps=0,cl=No.length;for(;Ps<cl;){let $o=Ps+cl>>1,xs=No[$o],ul=hs(xs),nl=co(xs);if(ul<=ks&&Go<=nl)return Ia(xs,Io,Yo,xs);if(nl<=ks){_s=xs,Ps=$o+1;continue}if(Go<=ul){Js=xs,cl=$o;continue}throw new Error("Comment location overlaps with node location")}if(Ro&&Ro.type==="TemplateLiteral"){let{quasis:$o}=Ro,xs=ta($o,Io,Yo);_s&&ta($o,_s,Yo)!==xs&&
`,Zi)+1),Xa=zi.slice(Sa,Zi).match(/^\s*/)[0],Io=Sn(Xa,ta.tabWidth),Yo=Ia(da,Object.assign(Object.assign({},ta),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:ta.cursorOffset>Zi&&ta.cursorOffset<=oa?ta.cursorOffset-Zi:-1,endOfLine:"lf"}),Io),Ro=Yo.formatted.trimEnd(),{cursorOffset:hs}=ta;hs>oa?hs+=Ro.length-da.length:Yo.cursorOffset>=0&&(hs=Yo.cursorOffset+Zi);let co=zi.slice(0,Zi)+Ro+zi.slice(oa);if(ta.endOfLine!=="lf"){let ks=An(ta.endOfLine);hs>=0&&ks===`\r
`&&(hs+=oi(co.slice(0,hs),`
`)),co=co.replace(/\n/g,ks)}return{formatted:co,cursorOffset:hs,comments:Yo.comments}}function za(Mi,ta,Vn){return typeof ta!="number"||Number.isNaN(ta)||ta<0||ta>Mi.length?Vn:ta}function ka(Mi,ta){let{cursorOffset:Vn,rangeStart:zi,rangeEnd:Zi}=ta;return Vn=za(Mi,Vn,-1),zi=za(Mi,zi,0),Zi=za(Mi,Zi,Mi.length),Object.assign(Object.assign({},ta),{},{cursorOffset:Vn,rangeStart:zi,rangeEnd:Zi})}function Xo(Mi,ta){let{cursorOffset:Vn,rangeStart:zi,rangeEnd:Zi,endOfLine:oa}=ka(Mi,ta),da=Mi.charAt(0)===Ta;if(da&&(Mi=Mi.slice(1),Vn--,zi--,Zi--),oa==="auto"&&(oa=Nn(Mi)),Mi.includes("\r")){let Sa=Xa=>oi(Mi.slice(0,Math.max(Xa,0)),`\r
`);Vn-=Sa(Vn),zi-=Sa(zi),Zi-=Sa(Zi),Mi=mi(Mi)}return{hasBOM:da,text:Mi,options:ka(Mi,Object.assign(Object.assign({},ta),{},{cursorOffset:Vn,rangeStart:zi,rangeEnd:Zi,endOfLine:oa}))}}function ji(Mi,ta){let Vn=fi.resolveParser(ta);return!Vn.hasPragma||Vn.hasPragma(Mi)}function ma(Mi,ta){let{hasBOM:Vn,text:zi,options:Zi}=Xo(Mi,Wi(ta));if(Zi.rangeStart>=Zi.rangeEnd&&zi!==""||Zi.requirePragma&&!ji(zi,Zi))return{formatted:Mi,cursorOffset:ta.cursorOffset,comments:[]};let oa;return Zi.rangeStart>0||Zi.rangeEnd<zi.length?oa=pa(zi,Zi):(!Zi.requirePragma&&Zi.insertPragma&&Zi.printer.insertPragma&&!ji(zi,Zi)&&(zi=Zi.printer.insertPragma(zi)),oa=Ia(zi,Zi)),Vn&&(oa.formatted=Ta+oa.formatted,oa.cursorOffset>=0&&oa.cursorOffset++),oa}ui.exports={formatWithCursor:ma,parse(Mi,ta,Vn){let{text:zi,options:Zi}=Xo(Mi,Wi(ta)),oa=fi.parse(zi,Zi);return Vn&&(oa.ast=Hi(oa.ast,Zi)),oa},formatAST(Mi,ta){ta=Wi(ta);let Vn=Ni(Mi,ta);return Hn(Vn,ta)},formatDoc(Mi,ta){return ma(Un(Mi),Object.assign(Object.assign({},ta),{},{parser:"__js_expression"})).formatted},printToDoc(Mi,ta){ta=Wi(ta);let{ast:Vn,text:zi}=fi.parse(Mi,ta);return aa(zi,Vn,ta),Ni(Vn,ta)},printDocToString(Mi,ta){return Hn(Mi,Wi(ta))}}}}),_f=Oo({"src/common/util-shared.js"(In,ui){Mn();var{getMaxContinuousCount:En,getStringWidth:Hn,getAlignmentSize:Un,getIndentSize:Sn,skip:Nn,skipWhitespace:An,skipSpaces:oi,skipNewline:mi,skipToLineEnd:Wi,skipEverythingButNewLine:Hi,skipInlineComment:Ki,skipTrailingComment:fi,hasNewline:Ni,hasNewlineInRange:ra,hasSpaces:Ta,isNextLineEmpty:Ra,isNextLineEmptyAfterIndex:aa,isPreviousLineEmpty:Ia,getNextNonSpaceNonCommentCharacterIndex:pa,makeString:za,addLeadingComment:ka,addDanglingComment:Xo,addTrailingComment:ji}=qc();ui.exports={getMaxContinuousCount:En,getStringWidth:Hn,getAlignmentSize:Un,getIndentSize:Sn,skip:Nn,skipWhitespace:An,skipSpaces:oi,skipNewline:mi,skipToLineEnd:Wi,skipEverythingButNewLine:Hi,skipInlineComment:Ki,skipTrailingComment:fi,hasNewline:Ni,hasNewlineInRange:ra,hasSpaces:Ta,isNextLineEmpty:Ra,isNextLineEmptyAfterIndex:aa,isPreviousLineEmpty:Ia,getNextNonSpaceNonCommentCharacterIndex:pa,makeString:za,addLeadingComment:ka,addDanglingComment:Xo,addTrailingComment:ji}}}),$f=Oo({"src/utils/create-language.js"(In,ui){Mn(),ui.exports=function(En,Hn){let{languageId:Un}=En,Sn=sa(En,Gi);return Object.assign(Object.assign({linguistLanguageId:Un},Sn),Hn(En))}}}),Cm=Oo({"node_modules/esutils/lib/ast.js"(In,ui){Mn(),function(){function En(oi){if(oi==null)return!1;switch(oi.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function Hn(oi){if(oi==null)return!1;switch(oi.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function Un(oi){if(oi==null)return!1;switch(oi.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function Sn(oi){return Un(oi)||oi!=null&&oi.type==="FunctionDeclaration"}function Nn(oi){switch(oi.type){case"IfStatement":return oi.alternate!=null?oi.alternate:oi.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return oi.body}return null}function An(oi){var mi;if(oi.type!=="IfStatement"||oi.alternate==null)return!1;mi=oi.consequent;do{if(mi.type==="IfStatement"&&mi.alternate==null)return!0;mi=Nn(mi)}while(mi);return!1}ui.exports={isExpression:En,isStatement:Un,isIterationStatement:Hn,isSourceElement:Sn,isProblematicIfStatement:A
`))}function rc(to,Zs){return(to.type==="TemplateLiteral"&&Pl(to)||to.type==="TaggedTemplateExpression"&&Pl(to.quasi))&&!Un(Zs,mi(to),{backwards:!0})}function td(to){if(!hu(to))return!1;let Zs=Hn(gs(to,al.Dangling));return Zs&&!Ki(Zs)}function Vc(to){if(to.length<=1)return!1;let Zs=0;for(let Ku of to)if(da(Ku)){if(Zs+=1,Zs>1)return!0}else if(ul(Ku)){for(let Fc of Ku.arguments)if(da(Fc))return!0}return!1}function mc(to){let Zs=to.getValue(),Ku=to.getParentNode();return ul(Zs)&&ul(Ku)&&Ku.callee===Zs&&Zs.arguments.length>Ku.arguments.length&&Ku.arguments.length>0}function uc(to,Zs){if(Zs>=2)return!1;let Ku=_d=>uc(_d,Zs+1),Fc=to.type==="Literal"&&"regex"in to&&to.regex.pattern||to.type==="RegExpLiteral"&&to.pattern;if(Fc&&oi(Fc)>5)return!1;if(to.type==="Literal"||to.type==="BigIntLiteral"||to.type==="DecimalLiteral"||to.type==="BooleanLiteral"||to.type==="NullLiteral"||to.type==="NumericLiteral"||to.type==="RegExpLiteral"||to.type==="StringLiteral"||to.type==="Identifier"||to.type==="ThisExpression"||to.type==="Super"||to.type==="PrivateName"||to.type==="PrivateIdentifier"||to.type==="ArgumentPlaceholder"||to.type==="Import")return!0;if(to.type==="TemplateLiteral")return to.quasis.every(_d=>!_d.value.raw.includes(`
`))&&to.expressions.every(Ku);if(to.type==="ObjectExpression")return to.properties.every(_d=>!_d.computed&&(_d.shorthand||_d.value&&Ku(_d.value)));if(to.type==="ArrayExpression")return to.elements.every(_d=>_d===null||Ku(_d));if(bc(to))return(to.type==="ImportExpression"||uc(to.callee,Zs))&&ps(to).every(Ku);if(nl(to))return uc(to.object,Zs)&&uc(to.property,Zs);let Kc={"!":!0,"-":!0,"+":!0,"~":!0};if(to.type==="UnaryExpression"&&Kc[to.operator])return uc(to.argument,Zs);let Zd={"++":!0,"--":!0};return to.type==="UpdateExpression"&&Zd[to.operator]?uc(to.argument,Zs):to.type==="TSNonNullExpression"?uc(to.expression,Zs):!1}function il(to){var Zs,Ku;return(Zs=(Ku=to.extra)===null||Ku===void 0?void 0:Ku.raw)!==null&&Zs!==void 0?Zs:to.raw}function qo(to){return to}function dl(to){return to.filepath&&/\.tsx$/i.test(to.filepath)}function Os(to){let Zs=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return to.trailingComma==="es5"&&Zs==="es5"||to.trailingComma==="all"&&(Zs==="all"||Zs==="es5")}function ol(to,Zs){switch(to.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return ol(to.left,Zs);case"MemberExpression":case"OptionalMemberExpression":return ol(to.object,Zs);case"TaggedTemplateExpression":return to.tag.type==="FunctionExpression"?!1:ol(to.tag,Zs);case"CallExpression":case"OptionalCallExpression":return to.callee.type==="FunctionExpression"?!1:ol(to.callee,Zs);case"ConditionalExpression":return ol(to.test,Zs);case"UpdateExpression":return!to.prefix&&ol(to.argument,Zs);case"BindExpression":return to.object&&ol(to.object,Zs);case"SequenceExpression":return ol(to.expressions[0],Zs);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return ol(to.expression,Zs);default:return Zs(to)}}var Vu={"==":!0,"!=":!0,"===":!0,"!==":!0},Ie={"*":!0,"/":!0,"%":!0},jt={">>":!0,">>>":!0,"<<":!0};function nr(to,Zs){return!(cr(Zs)!==cr(to)||to==="**"||Vu[to]&&Vu[Zs]||Zs==="%"&&Ie[to]||to==="%"&&Ie[Zs]||Zs!==to&&Ie[Zs]&&Ie[to]||jt[to]&&jt[Zs])}var sr=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((to,Zs)=>to.map(Ku=>[Ku,Zs])));function cr(to){return sr.get(to)}function jr(to){return!!jt[to]||to==="|"||to==="^"||to==="&"}function hn(to){var Zs;if(to.rest)return!0;let Ku=ci(to);return((Zs=Hn(Ku))===null||Zs===void 0?void 0:Zs.type)==="RestElement"}var zn=new WeakMap;function ci(to){if(zn.has(to))return zn.get(to);let Zs=[];return to.this&&Zs.push(to.this),Array.isArray(to.parameters)?Zs.push(...to.parameters):Array.isArray(to.params)&&Zs.push(...to.params),to.rest&&Zs.push(to.rest),zn.set(to,Zs),Zs}function ca(to,Zs){let Ku=to.getValue(),Fc=0,Kc=Zd=>Zs(Zd,Fc++);Ku.this&&to.call(Kc,"this"),Array.isArray(Ku.parameters)?to.each(Kc,"parameters"):Array.isArray(Ku.params)&&to.each(Kc,"params"),Ku.rest&&to.call(Kc,"rest")}var eo=new WeakMap;function ps(to){if(eo.has(to))return eo.get(to);let Zs=to.arguments;return to.type==="ImportExpression"&&(Zs=[to.source],to.attributes&&Zs.push(to.attributes)),eo.set(to,Zs),Zs}function ms(to,Zs){let Ku=to.getValue();Ku.type==="ImportExpression"?(to.call(Fc=>Zs(Fc,0),"source"),Ku.attributes&&to.call(Fc=>Zs(Fc,1),"attributes")):to.each(Zs,"arguments")}function Ss(to){return to.value.trim()==="prettier-ignore"&&!to.unignore}function Xs(to){return to&&(to.prettierIgnore||hu(to,al.PrettierIgnore))}function Ul(to){let Zs=to.getValue();return Xs(Zs)}var al={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},cu=(to,Zs)=>{if(typeof to=="function"&&(Zs=to,to=0),to||Zs)return(Ku,Fc,Kc)=>!(to&al.Leading&&!Ku.leading||to&al.Trailing&&!Ku.trailing||to&al.Dangling&&(Ku.leading||Ku.trailing)||to&al.Block&&!Ki(Ku)||to&al.Line&&!ji(Ku)||to&al.First&&Fc!==0||to&al.Last&&Fc!==Kc.length-1||to&al.PrettierIgnore&&!Ss(Ku)||Zs&&!Zs(Ku))};function hu(to,Zs,Ku){if(!Nn(to==null?void 0:to.comments))return!1;let Fc=cu(Zs,Ku);return Fc?to.comments.some(Fc):!0}function gs(to,Zs,Ku){if(!Array.isAr
`)?Wi(Number.NEGATIVE_INFINITY,ks):Ki(ks,co,Ro);da.push(oi(["${",Go,Hi,"}"]))}},"quasis"),da.push("`"),da}function ka(ta,Vn,zi){let Zi=ta.getNode(),oa=Zi.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(oa.length>1||oa.some(da=>da.length>0)){Vn.__inJestEach=!0;let da=ta.map(zi,"expressions");Vn.__inJestEach=!1;let Sa=[],Xa=da.map(co=>"${"+fi(co,Object.assign(Object.assign({},Vn),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),Io=[{hasLineBreak:!1,cells:[]}];for(let co=1;co<Zi.quasis.length;co++){let ks=En(Io),Go=Xa[co-1];ks.cells.push(Go),Go.includes(`
`)&&(ks.hasLineBreak=!0),Zi.quasis[co].value.raw.includes(`
`)&&Io.push({hasLineBreak:!1,cells:[]})}let Yo=Math.max(oa.length,...Io.map(co=>co.cells.length)),Ro=Array.from({length:Yo}).fill(0),hs=[{cells:oa},...Io.filter(co=>co.cells.length>0)];for(let{cells:co}of hs.filter(ks=>!ks.hasLineBreak))for(let[ks,Go]of co.entries())Ro[ks]=Math.max(Ro[ks],Hn(Go));return Sa.push(Hi,"`",mi([Nn,Sn(Nn,hs.map(co=>Sn(" | ",co.cells.map((ks,Go)=>co.hasLineBreak?ks:ks+" ".repeat(Ro[Go]-Hn(ks))))))]),Nn,"`"),Sa}}function Xo(ta,Vn){let zi=ta.getValue(),Zi=Vn();return aa(zi)&&(Zi=oi([mi([An,Zi]),An])),["${",Zi,Hi,"}"]}function ji(ta,Vn){return ta.map(zi=>Xo(zi,Vn),"expressions")}function ma(ta,Vn){return Ni(ta,zi=>typeof zi=="string"?Vn?zi.replace(/(\\*)`/g,"$1$1\\`"):Mi(zi):zi)}function Mi(ta){return ta.replace(/([\\`]|\${)/g,"\\$1")}ui.exports={printTemplateLiteral:za,printTemplateExpressions:ji,escapeTemplateCharacters:ma,uncookTemplateElementValue:Mi}}}),jm=Oo({"src/language-js/embed/markdown.js"(In,ui){Mn();var{builders:{indent:En,softline:Hn,literalline:Un,dedentToRoot:Sn}}=Ec(),{escapeTemplateCharacters:Nn}=Kp();function An(mi,Wi,Hi){let Ki=mi.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(Ta,Ra)=>"\\".repeat(Ra.length/2)+"`"),fi=oi(Ki),Ni=fi!=="";Ni&&(Ki=Ki.replace(new RegExp(`^${fi}`,"gm"),""));let ra=Nn(Hi(Ki,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",Ni?En([Hn,ra]):[Un,Sn(ra)],Hn,"`"]}function oi(mi){let Wi=mi.match(/^([^\S\n]*)\S/m);return Wi===null?"":Wi[1]}ui.exports=An}}),Mp=Oo({"src/language-js/embed/css.js"(In,ui){Mn();var{isNonEmptyArray:En}=qc(),{builders:{indent:Hn,hardline:Un,softline:Sn},utils:{mapDoc:Nn,replaceEndOfLine:An,cleanDoc:oi}}=Ec(),{printTemplateExpressions:mi}=Kp();function Wi(fi,Ni,ra){let Ta=fi.getValue(),Ra=Ta.quasis.map(ka=>ka.value.raw),aa=0,Ia=Ra.reduce((ka,Xo,ji)=>ji===0?Xo:ka+"@prettier-placeholder-"+aa+++"-id"+Xo,""),pa=ra(Ia,{parser:"scss"},{stripTrailingHardline:!0}),za=mi(fi,Ni);return Hi(pa,Ta,za)}function Hi(fi,Ni,ra){if(Ni.quasis.length===1&&!Ni.quasis[0].value.raw.trim())return"``";let Ta=Ki(fi,ra);if(!Ta)throw new Error("Couldn't insert all the expressions");return["`",Hn([Un,Ta]),Sn,"`"]}function Ki(fi,Ni){if(!En(Ni))return fi;let ra=0,Ta=Nn(oi(fi),Ra=>typeof Ra!="string"||!Ra.includes("@prettier-placeholder")?Ra:Ra.split(/@prettier-placeholder-(\d+)-id/).map((aa,Ia)=>Ia%2===0?An(aa):(ra++,Ni[aa])));return Ni.length===ra?Ta:null}ui.exports=Wi}}),sm=Oo({"src/language-js/embed/graphql.js"(In,ui){Mn();var{builders:{indent:En,join:Hn,hardline:Un}}=Ec(),{escapeTemplateCharacters:Sn,printTemplateExpressions:Nn}=Kp();function An(mi,Wi,Hi){let Ki=mi.getValue(),fi=Ki.quasis.length;if(fi===1&&Ki.quasis[0].value.raw.trim()==="")return"``";let Ni=Nn(mi,Wi),ra=[];for(let Ta=0;Ta<fi;Ta++){let Ra=Ki.quasis[Ta],aa=Ta===0,Ia=Ta===fi-1,pa=Ra.value.cooked,za=pa.split(`
`),ka=za.length,Xo=Ni[Ta],ji=ka>2&&za[0].trim()===""&&za[1].trim()==="",ma=ka>2&&za[ka-1].trim()===""&&za[ka-2].trim()==="",Mi=za.every(Vn=>/^\s*(?:#[^\n\r]*)?$/.test(Vn));if(!Ia&&/#[^\n\r]*$/.test(za[ka-1]))return null;let ta=null;Mi?ta=oi(za):ta=Hi(pa,{parser:"graphql"},{stripTrailingHardline:!0}),ta?(ta=Sn(ta,!1),!aa&&ji&&ra.push(""),ra.push(ta),!Ia&&ma&&ra.push("")):!aa&&!Ia&&ji&&ra.push(""),Xo&&ra.push(Xo)}return["`",En([Un,Hn(Un,ra)]),Un,"`"]}function oi(mi){let Wi=[],Hi=!1,Ki=mi.map(fi=>fi.trim());for(let[fi,Ni]of Ki.entries())Ni!==""&&(Ki[fi-1]===""&&Hi?Wi.push([Un,Ni]):Wi.push(Ni),Hi=!0);return Wi.length===0?null:Hn(Un,Wi)}ui.exports=An}}),jf=Oo({"src/language-js/embed/html.js"(In,ui){Mn();var{builders:{indent:En,line:Hn,hardline:Un,group:Sn},utils:{mapDoc:Nn}}=Ec(),{printTemplateExpressions:An,uncookTemplateElementValue:oi}=Kp(),mi=0;function Wi(Hi,Ki,fi,Ni,ra){let{parser:Ta}=ra,Ra=Hi.getValue(),aa=mi;mi=mi+1>>>0;let Ia=zi=>`PRETTIER_HTML_PLACEHOLDER_${zi}_${aa}_IN_JS`,pa=Ra.quasis.map((zi,Zi,oa)=>Zi===oa.length-1?zi.value.cooked:zi.value.cooked+Ia(Zi)).join(""),za=An(Hi,Ki);if(za.length===0&&pa.trim().length===0)return"``";let ka=new RegExp(Ia("(\\d+)"),"g"),Xo=0,ji=fi(pa,{parser:Ta,__onHtmlRoot(zi){Xo=zi.children.length}},{stripTrailingHardline:!0}),ma=Nn(ji,zi=>{if(typeof zi!="string")return zi;let Zi=[],oa=zi.split(ka);for(let da=0;da<oa.length;da++){let Sa=oa[da];if(da%2===0){Sa&&(Sa=oi(Sa),Ni.__embeddedInHtml&&(Sa=Sa.replace(/<\/(script)\b/gi,"<\\/$1")),Zi.push(Sa));continue}let Xa=Number(Sa);Zi.push(za[Xa])}return Zi}),Mi=/^\s/.test(pa)?" ":"",ta=/\s$/.test(pa)?" ":"",Vn=Ni.htmlWhitespaceSensitivity==="ignore"?Un:Mi&&ta?Hn:null;return Sn(Vn?["`",En([Vn,Sn(ma)]),Vn,"`"]:["`",Mi,Xo>1?En(Sn(ma)):Sn(ma),ta,"`"])}ui.exports=Wi}}),Ff=Oo({"src/language-js/embed.js"(In,ui){Mn();var{hasComment:En,CommentCheckFlags:Hn,isObjectProperty:Un}=Id(),Sn=jm(),Nn=Mp(),An=sm(),oi=jf();function mi(ji){if(Ki(ji)||Ta(ji)||Ra(ji)||fi(ji))return"css";if(pa(ji))return"graphql";if(ka(ji))return"html";if(Ni(ji))return"angular";if(Hi(ji))return"markdown"}function Wi(ji,ma,Mi,ta){let Vn=ji.getValue();if(Vn.type!=="TemplateLiteral"||Xo(Vn))return;let zi=mi(ji);if(zi){if(zi==="markdown")return Sn(ji,ma,Mi);if(zi==="css")return Nn(ji,ma,Mi);if(zi==="graphql")return An(ji,ma,Mi);if(zi==="html"||zi==="angular")return oi(ji,ma,Mi,ta,{parser:zi})}}function Hi(ji){let ma=ji.getValue(),Mi=ji.getParentNode();return Mi&&Mi.type==="TaggedTemplateExpression"&&ma.quasis.length===1&&Mi.tag.type==="Identifier"&&(Mi.tag.name==="md"||Mi.tag.name==="markdown")}function Ki(ji){let ma=ji.getValue(),Mi=ji.getParentNode(),ta=ji.getParentNode(1);return ta&&ma.quasis&&Mi.type==="JSXExpressionContainer"&&ta.type==="JSXElement"&&ta.openingElement.name.name==="style"&&ta.openingElement.attributes.some(Vn=>Vn.name.name==="jsx")||Mi&&Mi.type==="TaggedTemplateExpression"&&Mi.tag.type==="Identifier"&&Mi.tag.name==="css"||Mi&&Mi.type==="TaggedTemplateExpression"&&Mi.tag.type==="MemberExpression"&&Mi.tag.object.name==="css"&&(Mi.tag.property.name==="global"||Mi.tag.property.name==="resolve")}function fi(ji){return ji.match(ma=>ma.type==="TemplateLiteral",(ma,Mi)=>ma.type==="ArrayExpression"&&Mi==="elements",(ma,Mi)=>Un(ma)&&ma.key.type==="Identifier"&&ma.key.name==="styles"&&Mi==="value",...ra)}function Ni(ji){return ji.match(ma=>ma.type==="TemplateLiteral",(ma,Mi)=>Un(ma)&&ma.key.type==="Identifier"&&ma.key.name==="template"&&Mi==="value",...ra)}var ra=[(ji,ma)=>ji.type==="ObjectExpression"&&ma==="properties",(ji,ma)=>ji.type==="CallExpression"&&ji.callee.type==="Identifier"&&ji.callee.name==="Component"&&ma==="arguments",(ji,ma)=>ji.type==="Decorator"&&ma==="expression"];function Ta(ji){let ma=ji.getParentNode();if(!ma||ma.type!=="TaggedTemplateExpression")return!1;let Mi=ma.tag.type==="ParenthesizedExpression"?ma.tag.expression:ma.tag;switch(Mi.type){case"MemberExpression":return aa(Mi.object)||Ia(Mi);case"CallExpression":return aa(Mi.callee)||Mi.callee.type==="MemberExpression"&&(Mi.callee.object.type==="MemberExpression"&&(aa(Mi.callee.object.object)||Ia(Mi.cal
`,Es={EOL:ko,tmpdir:Wa,tmpDir:Ja,networkInterfaces:Co,getNetworkInterfaces:Ka,release:xo,type:bo,cpus:is,totalmem:As,freemem:Rh,uptime:Yf,loadavg:wm,hostname:Fm,endianness:yf}}}),Rs=Oo({"node-modules-polyfills-commonjs:os"(In,ui){Mn();var En=(us(),ju(bh));if(En&&En.default){ui.exports=En.default;for(let Hn in En)ui.exports[Hn]=En[Hn]}else En&&(ui.exports=En)}}),Hs=Oo({"node_modules/detect-newline/index.js"(In,ui){Mn();var En=Hn=>{if(typeof Hn!="string")throw new TypeError("Expected a string");let Un=Hn.match(/(?:\r?\n)/g)||[];if(Un.length===0)return;let Sn=Un.filter(An=>An===`\r
`).length,Nn=Un.length-Sn;return Sn>Nn?`\r
`:`
`};ui.exports=En,ui.exports.graceful=Hn=>typeof Hn=="string"&&En(Hn)||`
`}}),Bs=Oo({"node_modules/jest-docblock/build/index.js"(In){Mn(),Object.defineProperty(In,"__esModule",{value:!0}),In.extract=fi,In.parse=ra,In.parseWithComments=Ta,In.print=Ra,In.strip=Ni;function ui(){let Ia=Rs();return ui=function(){return Ia},Ia}function En(){let Ia=Hn(Hs());return En=function(){return Ia},Ia}function Hn(Ia){return Ia&&Ia.__esModule?Ia:{default:Ia}}var Un=/\*\/$/,Sn=/^\/\*\*?/,Nn=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,An=/(^|\s+)\/\/([^\r\n]*)/g,oi=/^(\r?\n)+/,mi=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Wi=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Hi=/(\r?\n|^) *\* ?/g,Ki=[];function fi(Ia){let pa=Ia.match(Nn);return pa?pa[0].trimLeft():""}function Ni(Ia){let pa=Ia.match(Nn);return pa&&pa[0]?Ia.substring(pa[0].length):Ia}function ra(Ia){return Ta(Ia).pragmas}function Ta(Ia){let pa=(0,En().default)(Ia)||ui().EOL;Ia=Ia.replace(Sn,"").replace(Un,"").replace(Hi,"$1");let za="";for(;za!==Ia;)za=Ia,Ia=Ia.replace(mi,`${pa}$1 $2${pa}`);Ia=Ia.replace(oi,"").trimRight();let ka=Object.create(null),Xo=Ia.replace(Wi,"").replace(oi,"").trimRight(),ji;for(;ji=Wi.exec(Ia);){let ma=ji[2].replace(An,"");typeof ka[ji[1]]=="string"||Array.isArray(ka[ji[1]])?ka[ji[1]]=Ki.concat(ka[ji[1]],ma):ka[ji[1]]=ma}return{comments:Xo,pragmas:ka}}function Ra(Ia){let{comments:pa="",pragmas:za={}}=Ia,ka=(0,En().default)(pa)||ui().EOL,Xo="/**",ji=" *",ma=" */",Mi=Object.keys(za),ta=Mi.map(zi=>aa(zi,za[zi])).reduce((zi,Zi)=>zi.concat(Zi),[]).map(zi=>`${ji} ${zi}${ka}`).join("");if(!pa){if(Mi.length===0)return"";if(Mi.length===1&&!Array.isArray(za[Mi[0]])){let zi=za[Mi[0]];return`${Xo} ${aa(Mi[0],zi)[0]}${ma}`}}let Vn=pa.split(ka).map(zi=>`${ji} ${zi}`).join(ka)+ka;return Xo+ka+(pa?Vn:"")+(pa&&Mi.length?ji+ka:"")+ta+ma}function aa(Ia,pa){return Ki.concat(pa).map(za=>`@${Ia} ${za}`.trim())}}}),sl=Oo({"src/language-js/utils/get-shebang.js"(In,ui){Mn();function En(Hn){if(!Hn.startsWith("#!"))return"";let Un=Hn.indexOf(`
`);return Un===-1?Hn:Hn.slice(0,Un)}ui.exports=En}}),Jo=Oo({"src/language-js/pragma.js"(In,ui){Mn();var{parseWithComments:En,strip:Hn,extract:Un,print:Sn}=Bs(),{normalizeEndOfLine:Nn}=Fu(),An=sl();function oi(Hi){let Ki=An(Hi);Ki&&(Hi=Hi.slice(Ki.length+1));let fi=Un(Hi),{pragmas:Ni,comments:ra}=En(fi);return{shebang:Ki,text:Hi,pragmas:Ni,comments:ra}}function mi(Hi){let Ki=Object.keys(oi(Hi).pragmas);return Ki.includes("prettier")||Ki.includes("format")}function Wi(Hi){let{shebang:Ki,text:fi,pragmas:Ni,comments:ra}=oi(Hi),Ta=Hn(fi),Ra=Sn({pragmas:Object.assign({format:""},Ni),comments:ra.trimStart()});return(Ki?`${Ki}
`:"")+Nn(Ra)+(Ta.startsWith(`
`)?`
`:`
`)+Ta}ui.exports={hasPragma:mi,insertPragma:Wi}}}),rl=Oo({"src/language-js/utils/is-type-cast-comment.js"(In,ui){Mn();var En=Ad();function Hn(Un){return En(Un)&&Un.value[0]==="*"&&/@(?:type|satisfies)\b/.test(Un.value)}ui.exports=Hn}}),vs=Oo({"src/language-js/comments.js"(In,ui){Mn();var{getLast:En,hasNewline:Hn,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Un,getNextNonSpaceNonCommentCharacter:Sn,hasNewlineInRange:Nn,addLeadingComment:An,addTrailingComment:oi,addDanglingComment:mi,getNextNonSpaceNonCommentCharacterIndex:Wi,isNonEmptyArray:Hi}=qc(),{getFunctionParameters:Ki,isPrettierIgnoreComment:fi,isJsxNode:Ni,hasFlowShorthandAnnotationComment:ra,hasFlowAnnotationComment:Ta,hasIgnoreComment:Ra,isCallLikeExpression:aa,getCallArguments:Ia,isCallExpression:pa,isMemberExpression:za,isObjectProperty:ka,isLineComment:Xo,getComments:ji,CommentCheckFlags:ma,markerForIfWithoutBlockAndSameLineComment:Mi}=Id(),{locStart:ta,locEnd:Vn}=Ap(),zi=Ad(),Zi=rl();function oa(jt){return[qo,Du,ks,Ro,hs,co,Js,Pl,zs,Zl,rc,td,cl,Ds,ds].some(nr=>nr(jt))}function da(jt){return[Yo,Du,Go,rc,Ro,hs,co,Js,Ds,$s,Us,Zl,uc,ds,Os].some(nr=>nr(jt))}function Sa(jt){return[qo,Ro,hs,No,nl,cl,Zl,ul,xs,dl,ds,il].some(nr=>nr(jt))}function Xa(jt,nr){let sr=(jt.body||jt.properties).find(cr=>{let{type:jr}=cr;return jr!=="EmptyStatement"});sr?An(sr,nr):mi(jt,nr)}function Io(jt,nr){jt.type==="BlockStatement"?Xa(jt,nr):An(jt,nr)}function Yo(jt){let{comment:nr,followingNode:sr}=jt;return sr&&Zi(nr)?(An(sr,nr),!0):!1}function Ro(jt){let{comment:nr,precedingNode:sr,enclosingNode:cr,followingNode:jr,text:hn}=jt;if((cr==null?void 0:cr.type)!=="IfStatement"||!jr)return!1;if(Sn(hn,nr,Vn)===")")return oi(sr,nr),!0;if(sr===cr.consequent&&jr===cr.alternate){if(sr.type==="BlockStatement")oi(sr,nr);else{let zn=nr.type==="SingleLine"||nr.loc.start.line===nr.loc.end.line,ci=nr.loc.start.line===sr.loc.start.line;zn&&ci?mi(sr,nr,Mi):mi(cr,nr)}return!0}return jr.type==="BlockStatement"?(Xa(jr,nr),!0):jr.type==="IfStatement"?(Io(jr.consequent,nr),!0):cr.consequent===jr?(An(jr,nr),!0):!1}function hs(jt){let{comment:nr,precedingNode:sr,enclosingNode:cr,followingNode:jr,text:hn}=jt;return(cr==null?void 0:cr.type)!=="WhileStatement"||!jr?!1:Sn(hn,nr,Vn)===")"?(oi(sr,nr),!0):jr.type==="BlockStatement"?(Xa(jr,nr),!0):cr.body===jr?(An(jr,nr),!0):!1}function co(jt){let{comment:nr,precedingNode:sr,enclosingNode:cr,followingNode:jr}=jt;return(cr==null?void 0:cr.type)!=="TryStatement"&&(cr==null?void 0:cr.type)!=="CatchClause"||!jr?!1:cr.type==="CatchClause"&&sr?(oi(sr,nr),!0):jr.type==="BlockStatement"?(Xa(jr,nr),!0):jr.type==="TryStatement"?(Io(jr.finalizer,nr),!0):jr.type==="CatchClause"?(Io(jr.body,nr),!0):!1}function ks(jt){let{comment:nr,enclosingNode:sr,followingNode:cr}=jt;return za(sr)&&(cr==null?void 0:cr.type)==="Identifier"?(An(sr,nr),!0):!1}function Go(jt){let{comment:nr,precedingNode:sr,enclosingNode:cr,followingNode:jr,text:hn}=jt,zn=sr&&!Nn(hn,Vn(sr),ta(nr));return(!sr||!zn)&&((cr==null?void 0:cr.type)==="ConditionalExpression"||(cr==null?void 0:cr.type)==="TSConditionalType")&&jr?(An(jr,nr),!0):!1}function No(jt){let{comment:nr,precedingNode:sr,enclosingNode:cr}=jt;return ka(cr)&&cr.shorthand&&cr.key===sr&&cr.value.type==="AssignmentPattern"?(oi(cr.value.left,nr),!0):!1}var _s=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function Js(jt){let{comment:nr,precedingNode:sr,enclosingNode:cr,followingNode:jr}=jt;if(_s.has(cr==null?void 0:cr.type)){if(Hi(cr.decorators)&&!(jr&&jr.type==="Decorator"))return oi(En(cr.decorators),nr),!0;if(cr.body&&jr===cr.body)return Xa(cr.body,nr),!0;if(jr){if(cr.superClass&&jr===cr.superClass&&sr&&(sr===cr.id||sr===cr.typeParameters))return oi(sr,nr),!0;for(let hn of["implements","extends","mixins"])if(cr[hn]&&jr===cr[hn][0])return sr&&(sr===cr.id||sr===cr.typeParameters||sr===cr.superClass)?oi(sr,nr):mi(cr,nr,hn),!0}}return!1}var Ps=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclar
`)&&!Zl&&!Xo(Us.attributes[0]))return oi(["<",zs("name"),zs("typeParameters")," ",...ds.map(zs,"attributes"),Us.selfClosing?" />":">"]);let Pl=Us.attributes&&Us.attributes.some(td=>td.value&&za(td.value)&&td.value.value.includes(`
`)),rc=$s.singleAttributePerLine&&Us.attributes.length>1?Nn:Sn;return oi(["<",zs("name"),zs("typeParameters"),mi(ds.map(()=>[rc,zs()],"attributes")),...Ro(Us,$s,Zl)],{shouldBreak:Pl})}function Ro(ds,$s,zs){return ds.selfClosing?[Sn,"/>"]:hs(ds,$s,zs)?[">"]:[An,">"]}function hs(ds,$s,zs){let Us=ds.attributes.length>0&&Xo(Ta(ds.attributes),ji.Trailing);return ds.attributes.length===0&&!zs||($s.bracketSameLine||$s.jsxBracketSameLine)&&(!zs||ds.attributes.length>0)&&!Us}function co(ds,$s,zs){let Us=ds.getValue(),Zl=[];Zl.push("</");let Pl=zs("name");return Xo(Us.name,ji.Leading|ji.Line)?Zl.push(mi([Nn,Pl]),Nn):Xo(Us.name,ji.Leading|ji.Block)?Zl.push(" ",Pl):Zl.push(Pl),Zl.push(">"),Zl}function ks(ds,$s){let zs=ds.getValue(),Us=Xo(zs),Zl=Xo(zs,ji.Line),Pl=zs.type==="JSXOpeningFragment";return[Pl?"<":"</",mi([Zl?Nn:Us&&!Pl?" ":"",Hn(ds,$s,!0)]),Zl?Nn:"",">"]}function Go(ds,$s,zs){let Us=En(ds,zi(ds,$s,zs),$s);return Sa(ds,Us,$s)}function No(ds,$s){let zs=ds.getValue(),Us=Xo(zs,ji.Line);return[Hn(ds,$s,!Us),Us?Nn:""]}function _s(ds,$s,zs){let Us=ds.getValue();return["{",ds.call(Zl=>{let Pl=["...",zs()],rc=Zl.getValue();return!Xo(rc)||!ta(Zl)?Pl:[mi([An,En(Zl,Pl,$s)]),An]},Us.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Js(ds,$s,zs){let Us=ds.getValue();if(Us.type.startsWith("JSX"))switch(Us.type){case"JSXAttribute":return Xa(ds,$s,zs);case"JSXIdentifier":return String(Us.name);case"JSXNamespacedName":return Ni(":",[zs("namespace"),zs("name")]);case"JSXMemberExpression":return Ni(".",[zs("object"),zs("property")]);case"JSXSpreadAttribute":return _s(ds,$s,zs);case"JSXSpreadChild":return _s(ds,$s,zs);case"JSXExpressionContainer":return Io(ds,$s,zs);case"JSXFragment":case"JSXElement":return Go(ds,$s,zs);case"JSXOpeningElement":return Yo(ds,$s,zs);case"JSXClosingElement":return co(ds,$s,zs);case"JSXOpeningFragment":case"JSXClosingFragment":return ks(ds,$s);case"JSXEmptyExpression":return No(ds,$s);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(Us.type)}.`)}}var Ps=`
\r `,cl=new RegExp("(["+Ps+"]+)"),$o=new RegExp("[^"+Ps+"]"),xs=ds=>ds.replace(new RegExp("(?:^"+cl.source+"|"+cl.source+"$)"),"");function ul(ds){if(ds.children.length===0)return!0;if(ds.children.length>1)return!1;let $s=ds.children[0];return $s.type==="JSXText"&&!nl($s)}function nl(ds){return ds.type==="JSXText"&&($o.test(Ia(ds))||!/\n/.test(Ia(ds)))}function Du(ds){return ds.type==="JSXExpressionContainer"&&za(ds.expression)&&ds.expression.value===" "&&!Xo(ds.expression)}function Ds(ds){let $s=ds.getValue(),zs=ds.getParentNode();if(!zs||!$s||!aa($s)||!aa(zs))return!1;let Us=zs.children.indexOf($s),Zl=null;for(let Pl=Us;Pl>0;Pl--){let rc=zs.children[Pl-1];if(!(rc.type==="JSXText"&&!nl(rc))){Zl=rc;break}}return Zl&&Zl.type==="JSXExpressionContainer"&&Zl.expression.type==="JSXEmptyExpression"&&ma(Zl.expression)}ui.exports={hasJsxIgnoreComment:Ds,printJsx:Js}}}),fl=Oo({"src/language-js/print/misc.js"(In,ui){Mn();var{isNonEmptyArray:En}=qc(),{builders:{indent:Hn,join:Un,line:Sn}}=Ec(),{isFlowAnnotationComment:Nn}=Id();function An(Ta){let Ra=Ta.getValue();return!Ra.optional||Ra.type==="Identifier"&&Ra===Ta.getParentNode().key?"":Ra.type==="OptionalCallExpression"||Ra.type==="OptionalMemberExpression"&&Ra.computed?"?.":"?"}function oi(Ta){return Ta.getValue().definite||Ta.match(void 0,(Ra,aa)=>aa==="id"&&Ra.type==="VariableDeclarator"&&Ra.definite)?"!":""}function mi(Ta,Ra,aa){let Ia=Ta.getValue();return Ia.typeArguments?aa("typeArguments"):Ia.typeParameters?aa("typeParameters"):""}function Wi(Ta,Ra,aa){let Ia=Ta.getValue();if(!Ia.typeAnnotation)return"";let pa=Ta.getParentNode(),za=pa.type==="DeclareFunction"&&pa.id===Ia;return Nn(Ra.originalText,Ia.typeAnnotation)?[" /*: ",aa("typeAnnotation")," */"]:[za?"":": ",aa("typeAnnotation")]}function Hi(Ta,Ra,aa){return["::",aa("callee")]}function Ki(Ta,Ra,aa){let Ia=Ta.getValue();return En(Ia.modifiers)?[Un(" ",Ta.map(aa,"modifiers"))," "]:""}function fi(Ta,Ra,aa){return Ta.type==="EmptyStatement"?";":Ta.type==="BlockStatement"||aa?[" ",Ra]:Hn([Sn,Ra])}function Ni(Ta,Ra,aa){return["...",aa("argument"),Wi(Ta,Ra,aa)]}function ra(Ta,Ra){let aa=Ta.slice(1,-1);if(aa.includes('"')||aa.includes("'"))return Ta;let Ia=Ra.singleQuote?"'":'"';return Ia+aa+Ia}ui.exports={printOptionalToken:An,printDefiniteToken:oi,printFunctionTypeParameters:mi,printBindExpressionCallee:Hi,printTypeScriptModifiers:Ki,printTypeAnnotation:Wi,printRestSpread:Ni,adjustClause:fi,printDirective:ra}}}),Hl=Oo({"src/language-js/print/array.js"(In,ui){Mn();var{printDanglingComments:En}=Cc(),{builders:{line:Hn,softline:Un,hardline:Sn,group:Nn,indent:An,ifBreak:oi,fill:mi}}=Ec(),{getLast:Wi,hasNewline:Hi}=qc(),{shouldPrintComma:Ki,hasComment:fi,CommentCheckFlags:Ni,isNextLineEmpty:ra,isNumericLiteral:Ta,isSignedNumericLiteral:Ra}=Id(),{locStart:aa}=Ap(),{printOptionalToken:Ia,printTypeAnnotation:pa}=fl();function za(ma,Mi,ta){let Vn=ma.getValue(),zi=[],Zi=Vn.type==="TupleExpression"?"#[":"[",oa="]";if(Vn.elements.length===0)fi(Vn,Ni.Dangling)?zi.push(Nn([Zi,En(ma,Mi),Un,oa])):zi.push(Zi,oa);else{let da=Wi(Vn.elements),Sa=!(da&&da.type==="RestElement"),Xa=da===null,Io=Symbol("array"),Yo=!Mi.__inJestEach&&Vn.elements.length>1&&Vn.elements.every((co,ks,Go)=>{let No=co&&co.type;if(No!=="ArrayExpression"&&No!=="ObjectExpression")return!1;let _s=Go[ks+1];if(_s&&No!==_s.type)return!1;let Js=No==="ArrayExpression"?"elements":"properties";return co[Js]&&co[Js].length>1}),Ro=ka(Vn,Mi),hs=Sa?Xa?",":Ki(Mi)?Ro?oi(",","",{groupId:Io}):oi(","):"":"";zi.push(Nn([Zi,An([Un,Ro?ji(ma,Mi,ta,hs):[Xo(ma,Mi,"elements",ta),hs],En(ma,Mi,!0)]),Un,oa],{shouldBreak:Yo,id:Io}))}return zi.push(Ia(ma),pa(ma,Mi,ta)),zi}function ka(ma,Mi){return ma.elements.length>1&&ma.elements.every(ta=>ta&&(Ta(ta)||Ra(ta)&&!fi(ta.argument))&&!fi(ta,Ni.Trailing|Ni.Line,Vn=>!Hi(Mi.originalText,aa(Vn),{backwards:!0})))}function Xo(ma,Mi,ta,Vn){let zi=[],Zi=[];return ma.each(oa=>{zi.push(Zi,Nn(Vn())),Zi=[",",Hn],oa.getValue()&&ra(oa.getValue(),Mi)&&Zi.push(Un)},ta),zi}function ji(ma,Mi,ta,Vn){let zi=[];return ma.each((Zi,oa,da)=>{let Sa=oa===da.length-1;zi.push([ta(),S
`):ra($o)}function Js($o,xs,ul){return Xo($o)?(xs=mi(xs),typeof xs=="string"&&Hn(xs)<ul.tabWidth+3):!1}function Ps($o,xs){let ul=cl($o);if(En(ul)){if(ul.length>1)return!0;if(ul.length===1){let Du=ul[0];if(Du.type==="TSUnionType"||Du.type==="UnionTypeAnnotation"||Du.type==="TSIntersectionType"||Du.type==="IntersectionTypeAnnotation"||Du.type==="TSTypeLiteral"||Du.type==="ObjectTypeAnnotation")return!0}let nl=$o.typeParameters?"typeParameters":"typeArguments";if(Wi(xs(nl)))return!0}return!1}function cl($o){return $o.typeParameters&&$o.typeParameters.params||$o.typeArguments&&$o.typeArguments.params}ui.exports={printVariableDeclarator:Vn,printAssignmentExpression:ta,printAssignment:Mi,isArrowFunctionVariableDeclarator:hs}}}),Qu=Oo({"src/language-js/print/function-parameters.js"(In,ui){Mn();var{getNextNonSpaceNonCommentCharacter:En}=qc(),{printDanglingComments:Hn}=Cc(),{builders:{line:Un,hardline:Sn,softline:Nn,group:An,indent:oi,ifBreak:mi},utils:{removeLines:Wi,willBreak:Hi}}=Ec(),{getFunctionParameters:Ki,iterateFunctionParametersPath:fi,isSimpleType:Ni,isTestCall:ra,isTypeAnnotationAFunction:Ta,isObjectType:Ra,isObjectTypePropertyAFunction:aa,hasRestParameter:Ia,shouldPrintComma:pa,hasComment:za,isNextLineEmpty:ka}=Id(),{locEnd:Xo}=Ap(),{ArgExpansionBailout:ji}=od(),{printFunctionTypeParameters:ma}=fl();function Mi(Zi,oa,da,Sa,Xa){let Io=Zi.getValue(),Yo=Ki(Io),Ro=Xa?ma(Zi,da,oa):"";if(Yo.length===0)return[Ro,"(",Hn(Zi,da,!0,_s=>En(da.originalText,_s,Xo)===")"),")"];let hs=Zi.getParentNode(),co=ra(hs),ks=ta(Io),Go=[];if(fi(Zi,(_s,Js)=>{let Ps=Js===Yo.length-1;Ps&&Io.rest&&Go.push("..."),Go.push(oa()),!Ps&&(Go.push(","),co||ks?Go.push(" "):ka(Yo[Js],da)?Go.push(Sn,Sn):Go.push(Un))}),Sa){if(Hi(Ro)||Hi(Go))throw new ji;return An([Wi(Ro),"(",Wi(Go),")"])}let No=Yo.every(_s=>!_s.decorators);return ks&&No?[Ro,"(",...Go,")"]:co?[Ro,"(",...Go,")"]:(aa(hs)||Ta(hs)||hs.type==="TypeAlias"||hs.type==="UnionTypeAnnotation"||hs.type==="TSUnionType"||hs.type==="IntersectionTypeAnnotation"||hs.type==="FunctionTypeAnnotation"&&hs.returnType===Io)&&Yo.length===1&&Yo[0].name===null&&Io.this!==Yo[0]&&Yo[0].typeAnnotation&&Io.typeParameters===null&&Ni(Yo[0].typeAnnotation)&&!Io.rest?da.arrowParens==="always"?["(",...Go,")"]:Go:[Ro,"(",oi([Nn,...Go]),mi(!Ia(Io)&&pa(da,"all")?",":""),Nn,")"]}function ta(Zi){if(!Zi)return!1;let oa=Ki(Zi);if(oa.length!==1)return!1;let[da]=oa;return!za(da)&&(da.type==="ObjectPattern"||da.type==="ArrayPattern"||da.type==="Identifier"&&da.typeAnnotation&&(da.typeAnnotation.type==="TypeAnnotation"||da.typeAnnotation.type==="TSTypeAnnotation")&&Ra(da.typeAnnotation.typeAnnotation)||da.type==="FunctionTypeParam"&&Ra(da.typeAnnotation)||da.type==="AssignmentPattern"&&(da.left.type==="ObjectPattern"||da.left.type==="ArrayPattern")&&(da.right.type==="Identifier"||da.right.type==="ObjectExpression"&&da.right.properties.length===0||da.right.type==="ArrayExpression"&&da.right.elements.length===0))}function Vn(Zi){let oa;return Zi.returnType?(oa=Zi.returnType,oa.typeAnnotation&&(oa=oa.typeAnnotation)):Zi.typeAnnotation&&(oa=Zi.typeAnnotation),oa}function zi(Zi,oa){let da=Vn(Zi);if(!da)return!1;let Sa=Zi.typeParameters&&Zi.typeParameters.params;if(Sa){if(Sa.length>1)return!1;if(Sa.length===1){let Xa=Sa[0];if(Xa.constraint||Xa.default)return!1}}return Ki(Zi).length===1&&(Ra(da)||Hi(oa))}ui.exports={printFunctionParameters:Mi,shouldHugFunctionParameters:ta,shouldGroupFunctionParameters:zi}}}),Ha=Oo({"src/language-js/print/type-annotation.js"(In,ui){Mn();var{printComments:En,printDanglingComments:Hn}=Cc(),{isNonEmptyArray:Un}=qc(),{builders:{group:Sn,join:Nn,line:An,softline:oi,indent:mi,align:Wi,ifBreak:Hi}}=Ec(),Ki=ys(),{locStart:fi}=Ap(),{isSimpleType:Ni,isObjectType:ra,hasLeadingOwnLineComment:Ta,isObjectTypePropertyAFunction:Ra,shouldPrintComma:aa}=Id(),{printAssignment:Ia}=Wu(),{printFunctionParameters:pa,shouldGroupFunctionParameters:za}=Qu(),{printArrayItems:ka}=Hl();function Xo(da){if(Ni(da)||ra(da))return!0;if(da.type==="UnionTypeAnnotation"||da.type==="TSUnionType"){let Sa=da.types.filter(Io=>Io.type==="VoidTypeAnnot
`);return Ni.length>1&&Ni.every(ra=>ra.trim()[0]==="*")}function Ki(fi){let Ni=fi.value.split(`
`);return["/*",Hn(Un,Ni.map((ra,Ta)=>Ta===0?ra.trimEnd():" "+(Ta<Ni.length-1?ra.trim():ra.trimStart()))),"*/"]}ui.exports={printComment:Wi}}}),Up=Oo({"src/language-js/print/literal.js"(In,ui){Mn();var{printString:En,printNumber:Hn}=qc(),{replaceTextEndOfLine:Un}=Ip(),{printDirective:Sn}=fl();function Nn(Wi,Hi){let Ki=Wi.getNode();switch(Ki.type){case"RegExpLiteral":return mi(Ki);case"BigIntLiteral":return oi(Ki.bigint||Ki.extra.raw);case"NumericLiteral":return Hn(Ki.extra.raw);case"StringLiteral":return Un(En(Ki.extra.raw,Hi));case"NullLiteral":return"null";case"BooleanLiteral":return String(Ki.value);case"DecimalLiteral":return Hn(Ki.value)+"m";case"Literal":{if(Ki.regex)return mi(Ki.regex);if(Ki.bigint)return oi(Ki.raw);if(Ki.decimal)return Hn(Ki.decimal)+"m";let{value:fi}=Ki;return typeof fi=="number"?Hn(Ki.raw):typeof fi=="string"?An(Wi)?Sn(Ki.raw,Hi):Un(En(Ki.raw,Hi)):String(fi)}}}function An(Wi){if(Wi.getName()!=="expression")return;let Hi=Wi.getParentNode();return Hi.type==="ExpressionStatement"&&Hi.directive}function oi(Wi){return Wi.toLowerCase()}function mi(Wi){let{pattern:Hi,flags:Ki}=Wi;return Ki=[...Ki].sort().join(""),`/${Hi}/${Ki}`}ui.exports={printLiteral:Nn}}}),Dp=Oo({"src/language-js/printer-estree.js"(In,ui){Mn();var{printDanglingComments:En}=Cc(),{hasNewline:Hn}=qc(),{builders:{join:Un,line:Sn,hardline:Nn,softline:An,group:oi,indent:mi},utils:{replaceTextEndOfLine:Wi}}=Ec(),Hi=Ff(),Ki=_h(),{insertPragma:fi}=Jo(),Ni=vs(),ra=ys(),Ta=Ts(),{hasFlowShorthandAnnotationComment:Ra,hasComment:aa,CommentCheckFlags:Ia,isTheOnlyJsxElementInMarkdown:pa,isLineComment:za,isNextLineEmpty:ka,needsHardlineAfterDanglingComment:Xo,hasIgnoreComment:ji,isCallExpression:ma,isMemberExpression:Mi,markerForIfWithoutBlockAndSameLineComment:ta}=Id(),{locStart:Vn,locEnd:zi}=Ap(),Zi=Ad(),{printHtmlBinding:oa,isVueEventBindingExpression:da}=Is(),{printAngular:Sa}=Cl(),{printJsx:Xa,hasJsxIgnoreComment:Io}=vu(),{printFlow:Yo}=Cu(),{printTypescript:Ro}=wc(),{printOptionalToken:hs,printBindExpressionCallee:co,printTypeAnnotation:ks,adjustClause:Go,printRestSpread:No,printDefiniteToken:_s,printDirective:Js}=fl(),{printImportDeclaration:Ps,printExportDeclaration:cl,printExportAllDeclaration:$o,printModuleSpecifier:xs}=ml(),{printTernary:ul}=Ic(),{printTemplateLiteral:nl}=Kp(),{printArray:Du}=Hl(),{printObject:Ds}=Dl(),{printClass:ds,printClassMethod:$s,printClassProperty:zs}=Ou(),{printProperty:Us}=yc(),{printFunction:Zl,printArrowFunction:Pl,printMethod:rc,printReturnStatement:td,printThrowStatement:Vc}=Su(),{printCallExpression:mc}=Eu(),{printVariableDeclarator:uc,printAssignmentExpression:il}=Wu(),{printBinaryishExpression:qo}=_l(),{printSwitchCaseConsequent:dl}=$c(),{printMemberExpression:Os}=Tu(),{printBlock:ol,printBlockBody:Vu}=kd(),{printComment:Ie}=tp(),{printLiteral:jt}=Up(),{printDecorators:nr}=Bl();function sr(hn,zn,ci,ca){let eo=cr(hn,zn,ci,ca);if(!eo)return"";let ps=hn.getValue(),{type:ms}=ps;if(ms==="ClassMethod"||ms==="ClassPrivateMethod"||ms==="ClassProperty"||ms==="ClassAccessorProperty"||ms==="AccessorProperty"||ms==="TSAbstractAccessorProperty"||ms==="PropertyDefinition"||ms==="TSAbstractPropertyDefinition"||ms==="ClassPrivateProperty"||ms==="MethodDefinition"||ms==="TSAbstractMethodDefinition"||ms==="TSDeclareMethod")return eo;let Ss=[eo],Xs=nr(hn,zn,ci),Ul=ps.type==="ClassExpression"&&Xs;if(Xs&&(Ss=[...Xs,eo],!Ul))return oi(Ss);if(!ra(hn,zn))return ca&&ca.needsSemi&&Ss.unshift(";"),Ss.length===1&&Ss[0]===eo?eo:Ss;if(Ul&&(Ss=[mi([Sn,...Ss])]),Ss.unshift("("),ca&&ca.needsSemi&&Ss.unshift(";"),Ra(ps)){let[al]=ps.trailingComments;Ss.push(" /*",al.value.trimStart(),"*/"),al.printed=!0}return Ul&&Ss.push(Sn),Ss.push(")"),Ss}function cr(hn,zn,ci,ca){let eo=hn.getValue(),ps=zn.semi?";":"";if(!eo)return"";if(typeof eo=="string")return eo;for(let Ss of[jt,oa,Sa,Xa,Yo,Ro]){let Xs=Ss(hn,zn,ci);if(typeof Xs<"u")return Xs}let ms=[];switch(eo.type){case"JsExpressionRoot":return ci("node");case"JsonRoot":return[ci("node"),Nn];case"File":return eo.program&&eo.program.interpreter&&ms.push(ci(["program","interpreter"])),ms.push(ci("p
`:"")+En.insertPragma(oi)}ui.exports={hasPragma:Un,insertPragma:Sn}}}),Jm=Oo({"src/language-css/utils/index.js"(In,ui){Mn();var En=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 Hn(Ds,ds){let $s=Array.isArray(ds)?ds:[ds],zs=-1,Us;for(;Us=Ds.getParentNode(++zs);)if($s.includes(Us.type))return zs;return-1}function Un(Ds,ds){let $s=Hn(Ds,ds);return $s===-1?null:Ds.getParentNode($s)}function Sn(Ds){var ds;let $s=Un(Ds,"css-decl");return $s==null||(ds=$s.prop)===null||ds===void 0?void 0:ds.toLowerCase()}var Nn=new Set(["initial","inherit","unset","revert"]);function An(Ds){return Nn.has(Ds.toLowerCase())}function oi(Ds,ds){let $s=Un(Ds,"css-atrule");return($s==null?void 0:$s.name)&&$s.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(ds.toLowerCase())}function mi(Ds){return Ds.includes("$")||Ds.includes("@")||Ds.includes("#")||Ds.startsWith("%")||Ds.startsWith("--")||Ds.startsWith(":--")||Ds.includes("(")&&Ds.includes(")")?Ds:Ds.toLowerCase()}function Wi(Ds,ds){var $s;let zs=Un(Ds,"value-func");return(zs==null||($s=zs.value)===null||$s===void 0?void 0:$s.toLowerCase())===ds}function Hi(Ds){var ds;let $s=Un(Ds,"css-rule"),zs=$s==null||(ds=$s.raws)===null||ds===void 0?void 0:ds.selector;return zs&&(zs.startsWith(":import")||zs.startsWith(":export"))}function Ki(Ds,ds){let $s=Array.isArray(ds)?ds:[ds],zs=Un(Ds,"css-atrule");return zs&&$s.includes(zs.name.toLowerCase())}function fi(Ds){let ds=Ds.getValue(),$s=Un(Ds,"css-atrule");return($s==null?void 0:$s.name)==="import"&&ds.groups[0].value==="url"&&ds.groups.length===2}function Ni(Ds){return Ds.type==="value-func"&&Ds.value.toLowerCase()==="url"}function ra(Ds,ds){var $s;let zs=($s=Ds.getParentNode())===null||$s===void 0?void 0:$s.nodes;return zs&&zs.indexOf(ds)===zs.length-1}function Ta(Ds){let{selector:ds}=Ds;return ds?typeof ds=="string"&&/^@.+:.*$/.test(ds)||ds.value&&/^@.+:.*$/.test(ds.value):!1}function Ra(Ds){return Ds.type==="value-word"&&["from","through","end"].includes(Ds.value)}function aa(Ds){return Ds.type==="value-word"&&["and","or","not"].includes(Ds.value)}function Ia(Ds){return Ds.type==="value-word"&&Ds.value==="in"}function pa(Ds){return Ds.type==="value-operator"&&Ds.value==="*"}function za(Ds){return Ds.type==="value-operator"&&Ds.value==="/"}function ka(Ds){return Ds.type==="value-operator"&&Ds.value==="+"}function Xo(Ds){return Ds.type==="value-operator"&&Ds.value==="-"}function ji(Ds){return Ds.type==="value-operator"&&Ds.value==="%"}function ma(Ds){return pa(Ds)||za(Ds)||ka(Ds)||Xo(Ds)||ji(Ds)}function Mi(Ds){return Ds.type==="value-word"&&["==","!="].includes(Ds.value)}function ta(Ds){return Ds.type==="value-word"&&["<",">","<=",">="].includes(Ds.value)}function Vn(Ds){return Ds.type==="css-atrule"&&["if","else","for","each","while"].includes(Ds.name)}function zi(Ds){var ds;return((ds=Ds.raws)===null||ds===void 0?void 0:ds.params)&&/^\(\s*\)$/.test(Ds.raws.params)}function Zi(Ds){return Ds.name.startsWith("prettier-placeholder")}function oa(Ds){return Ds.prop.startsWith("@prettier-placeholder")}function da(Ds,ds){return Ds.value==="$$"&&Ds.type==="value-func"&&(ds==null?void 0:ds.type)==="value-word"&&!ds.raws.before}function Sa(Ds){var ds,$s;return((ds=Ds.value)===null||ds===void 0?void 0:ds.type)==="value-root"&&(($s=Ds.value.group)===null||$s===void 0?void 0:$s.type)==="value-value"&&Ds.prop.toLowerCase()==="composes"}function Xa(Ds){var ds,$s,zs;return((ds=Ds.value)===null||ds===void 0||($s=ds.group)===null||$s===void 0||(zs=$s.group)===null||zs===void 0?void 0:zs.type)==="value-paren_group"&&Ds.value.group.group.open!==null&&Ds.value.group.group.close!==null}function Io(Ds){var ds;return((ds=Ds.raws)===null||ds===void 0?void 0:ds.before)===""}function Yo(Ds){var ds,$s;return Ds.type==="value-comma_group"&&((ds=Ds.groups)===null||ds===void 0||($s=ds[1])===null||$s===void 0?void 0:$s.type)==="value-colon"}function Ro(Ds){var ds;return Ds.type==="value-paren_group"&&((ds=Ds.groups)
`,Un)+1;return Un+En.column}}}),xm=Oo({"src/language-css/loc.js"(In,ui){Mn();var{skipEverythingButNewLine:En}=Rm(),Hn=Oc(),Un=rf();function Sn(fi,Ni){return typeof fi.sourceIndex=="number"?fi.sourceIndex:fi.source?Un(fi.source.start,Ni)-1:null}function Nn(fi,Ni){if(fi.type==="css-comment"&&fi.inline)return En(Ni,fi.source.startOffset);let ra=fi.nodes&&Hn(fi.nodes);return ra&&fi.source&&!fi.source.end&&(fi=ra),fi.source&&fi.source.end?Un(fi.source.end,Ni):null}function An(fi,Ni){fi.source&&(fi.source.startOffset=Sn(fi,Ni),fi.source.endOffset=Nn(fi,Ni));for(let ra in fi){let Ta=fi[ra];ra==="source"||!Ta||typeof Ta!="object"||(Ta.type==="value-root"||Ta.type==="value-unknown"?oi(Ta,mi(fi),Ta.text||Ta.value):An(Ta,Ni))}}function oi(fi,Ni,ra){fi.source&&(fi.source.startOffset=Sn(fi,ra)+Ni,fi.source.endOffset=Nn(fi,ra)+Ni);for(let Ta in fi){let Ra=fi[Ta];Ta==="source"||!Ra||typeof Ra!="object"||oi(Ra,Ni,ra)}}function mi(fi){let Ni=fi.source.startOffset;return typeof fi.prop=="string"&&(Ni+=fi.prop.length),fi.type==="css-atrule"&&typeof fi.name=="string"&&(Ni+=1+fi.name.length+fi.raws.afterName.match(/^\s*:?\s*/)[0].length),fi.type!=="css-atrule"&&fi.raws&&typeof fi.raws.between=="string"&&(Ni+=fi.raws.between.length),Ni}function Wi(fi){let Ni="initial",ra="initial",Ta,Ra=!1,aa=[];for(let Ia=0;Ia<fi.length;Ia++){let pa=fi[Ia];switch(Ni){case"initial":if(pa==="'"){Ni="single-quotes";continue}if(pa==='"'){Ni="double-quotes";continue}if((pa==="u"||pa==="U")&&fi.slice(Ia,Ia+4).toLowerCase()==="url("){Ni="url",Ia+=3;continue}if(pa==="*"&&fi[Ia-1]==="/"){Ni="comment-block";continue}if(pa==="/"&&fi[Ia-1]==="/"){Ni="comment-inline",Ta=Ia-1;continue}continue;case"single-quotes":if(pa==="'"&&fi[Ia-1]!=="\\"&&(Ni=ra,ra="initial"),pa===`
`||pa==="\r")return fi;continue;case"double-quotes":if(pa==='"'&&fi[Ia-1]!=="\\"&&(Ni=ra,ra="initial"),pa===`
`||pa==="\r")return fi;continue;case"url":if(pa===")"&&(Ni="initial"),pa===`
`||pa==="\r")return fi;if(pa==="'"){Ni="single-quotes",ra="url";continue}if(pa==='"'){Ni="double-quotes",ra="url";continue}continue;case"comment-block":pa==="/"&&fi[Ia-1]==="*"&&(Ni="initial");continue;case"comment-inline":(pa==='"'||pa==="'"||pa==="*")&&(Ra=!0),(pa===`
`||pa==="\r")&&(Ra&&aa.push([Ta,Ia]),Ni="initial",Ra=!1);continue}}for(let[Ia,pa]of aa)fi=fi.slice(0,Ia)+fi.slice(Ia,pa).replace(/["'*]/g," ")+fi.slice(pa);return fi}function Hi(fi){return fi.source.startOffset}function Ki(fi){return fi.source.endOffset}ui.exports={locStart:Hi,locEnd:Ki,calculateLoc:An,replaceQuotesInInlineComments:Wi}}}),Nm=Oo({"src/language-css/utils/is-less-parser.js"(In,ui){Mn();function En(Hn){return Hn.parser==="css"||Hn.parser==="less"}ui.exports=En}}),Bp=Oo({"src/language-css/utils/is-scss.js"(In,ui){Mn();function En(Hn,Un){return Hn==="less"||Hn==="scss"?Hn==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(Un)}ui.exports=En}}),nf=Oo({"src/language-css/utils/css-units.evaluate.js"(In,ui){ui.exports={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"}}}),Xf=Oo({"src/language-css/utils/print-unit.js"(In,ui){Mn();var En=nf();function Hn(Un){let Sn=Un.toLowerCase();return Object.prototype.hasOwnProperty.call(En,Sn)?En[Sn]:Un}ui.exports=Hn}}),um=Oo({"src/language-css/printer-postcss.js"(In,ui){Mn();var En=Oc(),{printNumber:Hn,printString:Un,hasNewline:Sn,isFrontMatterNode:Nn,isNextLineEmpty:An,isNonEmptyArray:oi}=qc(),{builders:{join:mi,line:Wi,hardline:Hi,softline:Ki,group:fi,fill:Ni,indent:ra,dedent:Ta,ifBreak:Ra,breakParent:aa},utils:{removeLines:Ia,getDocParts:pa}}=Ec(),za=Hd(),ka=zd(),{insertPragma:Xo}=Uf(),{getAncestorNode:ji,getPropOfDeclNode:ma,maybeToLowerCase:Mi,insideValueFunctionNode:ta,insideICSSRuleNode:Vn,insideAtRuleNode:zi,insideURLFunctionInImportAtRuleNode:Zi,isKeyframeAtRuleKeywords:oa,isWideKeywords:da,isLastNode:Sa,isSCSSControlDirectiveNode:Xa,isDetachedRulesetDeclarationNode:Io,isRelationalOperatorNode:Yo,isEqualityOperatorNode:Ro,isMultiplicationNode:hs,isDivisionNode:co,isAdditionNode:ks,isSubtractionNode:Go,isMathOperatorNode:No,isEachKeywordNode:_s,isForKeywordNode:Js,isURLFunctionNode:Ps,isIfElseKeywordNode:cl,hasComposesNode:$o,hasParensAroundNode:xs,hasEmptyRawBefore:ul,isKeyValuePairNode:nl,isKeyInValuePairNode:Du,isDetachedRulesetCallNode:Ds,isTemplatePlaceholderNode:ds,isTemplatePropNode:$s,isPostcssSimpleVarNode:zs,isSCSSMapItemNode:Us,isInlineValueCommentNode:Zl,isHashNode:Pl,isLeftCurlyBraceNode:rc,isRightCurlyBraceNode:td,isWordNode:Vc,isColonNode:mc,isMediaAndSupportsKeywords:uc,isColorAdjusterFuncNode:il,lastLineHasInlineComment:qo,isAtWordPlaceholderNode:dl,isConfigurationNode:Os,isParenGroupNode:ol}=Jm(),{locStart:Vu,locEnd:Ie}=xm(),jt=Nm(),nr=Bp(),sr=Xf();function cr(al){return al.trailingComma==="es5"||al.trailingComma==="all"}function jr(al,cu,hu){let gs=al.getValue();if(!gs)return"";if(typeof gs=="string")return gs;switch(gs.type){case"front-matter":return[gs.raw,Hi];case"css-root":{let Lu=hn(al,cu,hu),pc=gs.raws.after.trim();return pc.startsWith(";")&&(pc=pc.slice(1).trim()),[Lu,pc?` ${pc}`:"",pa(Lu).length>0?Hi:""]}case"css-comment":{let Lu=gs.inline||gs.raws.inline,pc=cu.originalText.slice(Vu(gs),Ie(gs));return Lu?pc.trimEnd():pc}case"css-rule":return[hu("selector"),gs.important?" !important":"",gs.nodes?[gs.selector&&gs.selector.type==="selector-unknown"&&qo(gs.selector.value)?Wi:" ","{",gs.nodes.length>0?ra([Hi,hn(al,cu,hu)]):"",Hi,"}",Io(gs)?";":""]:";"];case"css-decl":{let Lu=al.getParentNode(),{between:pc}=gs.raws,Gc=pc.trim(),Gd=Gc===":",to=$o(gs)?Ia(hu("value")):hu("value");return!Gd&&qo(Gc)&&(to=ra([Hi,Ta(to)])),[gs.raws.before.replace(/[\s;]/g,""),Lu.type==="css-atrule"&&Lu.variable||Vn(al)?gs.prop:Mi(gs.prop),Gc.startsWith("//")?" ":"",Gc,gs.extend?"":" ",jt(cu)&&gs.extend&&gs.selector?["extend(",hu("selector"),")"]:"",to,gs.raws.important?gs.raws.i
`).length-1}function zs(qo){qo=typeof qo=="string"?qo:"";let dl=(qo.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return $s(dl)}function Us(qo){qo=typeof qo=="string"?qo:"";let dl=(qo.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return $s(dl)}function Zl(){let qo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(qo,Vn)}).fill(Sn)}function Pl(qo,dl){let{quote:Os,regex:ol}=fi(qo,dl);return[Os,qo.replace(ol,`\\${Os}`),Os]}function rc(qo){let dl=0,Os=qo.getParentNode(dl);for(;Os&&Xo(Os,["SubExpression"]);)dl++,Os=qo.getParentNode(dl);return!!(Os&&Xo(qo.getParentNode(dl+1),["ConcatStatement"])&&Xo(qo.getParentNode(dl+2),["AttrNode"]))}function td(qo,dl){let Os=mc(qo,dl),ol=uc(qo,dl);return ol?An([Os,mi,Un(ol)]):Os}function Vc(qo,dl){let Os=mc(qo,dl),ol=uc(qo,dl);return ol?[An([Os,mi,ol]),Wi]:Os}function mc(qo,dl){return dl("path")}function uc(qo,dl){let Os=qo.getValue(),ol=[];if(Os.params.length>0){let Vu=qo.map(dl,"params");ol.push(...Vu)}if(Os.hash&&Os.hash.pairs.length>0){let Vu=dl("hash");ol.push(Vu)}return ol.length===0?"":oi(mi,ol)}function il(qo){return["as |",qo.blockParams.join(" "),"|"]}ui.exports={print:zi,massageAstNode:Ra}}}),no=Oo({"src/language-handlebars/parsers.js"(){Mn()}}),Qa=Oo({"node_modules/linguist-languages/data/Handlebars.json"(In,ui){ui.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),io=Oo({"src/language-handlebars/index.js"(In,ui){Mn();var En=$f(),Hn=Ma(),Un=no(),Sn=[En(Qa(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],Nn={glimmer:Hn};ui.exports={languages:Sn,printers:Nn,parsers:Un}}}),Ba=Oo({"src/language-graphql/pragma.js"(In,ui){Mn();function En(Un){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(Un)}function Hn(Un){return`# @format
`+Un}ui.exports={hasPragma:En,insertPragma:Hn}}}),ro=Oo({"src/language-graphql/loc.js"(In,ui){Mn();function En(Un){return typeof Un.start=="number"?Un.start:Un.loc&&Un.loc.start}function Hn(Un){return typeof Un.end=="number"?Un.end:Un.loc&&Un.loc.end}ui.exports={locStart:En,locEnd:Hn}}}),Wn=Oo({"src/language-graphql/printer-graphql.js"(In,ui){Mn();var{builders:{join:En,hardline:Hn,line:Un,softline:Sn,group:Nn,indent:An,ifBreak:oi}}=Ec(),{isNextLineEmpty:mi,isNonEmptyArray:Wi}=qc(),{insertPragma:Hi}=Ba(),{locStart:Ki,locEnd:fi}=ro();function Ni(ka,Xo,ji){let ma=ka.getValue();if(!ma)return"";if(typeof ma=="string")return ma;switch(ma.kind){case"Document":{let Mi=[];return ka.each((ta,Vn,zi)=>{Mi.push(ji()),Vn!==zi.length-1&&(Mi.push(Hn),mi(Xo.originalText,ta.getValue(),fi)&&Mi.push(Hn))},"definitions"),[...Mi,Hn]}case"OperationDefinition":{let Mi=Xo.originalText[Ki(ma)]!=="{",ta=!!ma.name;return[Mi?ma.operation:"",Mi&&ta?[" ",ji("name")]:"",Mi&&!ta&&Wi(ma.variableDefinitions)?" ":"",Wi(ma.variableDefinitions)?Nn(["(",An([Sn,En([oi("",", "),Sn],ka.map(ji,"variableDefinitions"))]),Sn,")"]):"",ra(ka,ji,ma),ma.selectionSet?!Mi&&!ta?"":" ":"",ji("selectionSet")]}case"FragmentDefinition":return["fragment ",ji("name"),Wi(ma.variableDefinitions)?Nn(["(",An([Sn,En([oi("",", "),Sn],ka.map(ji,"variableDefinitions"))]),Sn,")"]):""," on ",ji("typeCondition"),ra(ka,ji,ma)," ",ji("selectionSet")];case"SelectionSet":return["{",An([Hn,En(Hn,Ta(ka,Xo,ji,"selections"))]),Hn,"}"];case"Field":return Nn([ma.alias?[ji("alias"),": "]:"",ji("name"),ma.arguments.length>0?Nn(["(",An([Sn,En([oi("",", "),Sn],Ta(ka,Xo,ji,"arguments"))]),Sn,")"]):"",ra(ka,ji,ma),ma.selectionSet?" ":"",ji("selectionSet")]);case"Name":return ma.value;case"StringValue":{if(ma.block){let Mi=ma.value.replace(/"""/g,"\\$&").split(`
`);return Mi.length===1&&(Mi[0]=Mi[0].trim()),Mi.every(ta=>ta==="")&&(Mi.length=0),En(Hn,['"""',...Mi,'"""'])}return['"',ma.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return ma.value;case"BooleanValue":return ma.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",ji("name")];case"ListValue":return Nn(["[",An([Sn,En([oi("",", "),Sn],ka.map(ji,"values"))]),Sn,"]"]);case"ObjectValue":return Nn(["{",Xo.bracketSpacing&&ma.fields.length>0?" ":"",An([Sn,En([oi("",", "),Sn],ka.map(ji,"fields"))]),Sn,oi("",Xo.bracketSpacing&&ma.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[ji("name"),": ",ji("value")];case"Directive":return["@",ji("name"),ma.arguments.length>0?Nn(["(",An([Sn,En([oi("",", "),Sn],Ta(ka,Xo,ji,"arguments"))]),Sn,")"]):""];case"NamedType":return ji("name");case"VariableDefinition":return[ji("variable"),": ",ji("type"),ma.defaultValue?[" = ",ji("defaultValue")]:"",ra(ka,ji,ma)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[ji("description"),ma.description?Hn:"",ma.kind==="ObjectTypeExtension"?"extend ":"","type ",ji("name"),ma.interfaces.length>0?[" implements ",...Ia(ka,Xo,ji)]:"",ra(ka,ji,ma),ma.fields.length>0?[" {",An([Hn,En(Hn,Ta(ka,Xo,ji,"fields"))]),Hn,"}"]:""];case"FieldDefinition":return[ji("description"),ma.description?Hn:"",ji("name"),ma.arguments.length>0?Nn(["(",An([Sn,En([oi("",", "),Sn],Ta(ka,Xo,ji,"arguments"))]),Sn,")"]):"",": ",ji("type"),ra(ka,ji,ma)];case"DirectiveDefinition":return[ji("description"),ma.description?Hn:"","directive ","@",ji("name"),ma.arguments.length>0?Nn(["(",An([Sn,En([oi("",", "),Sn],Ta(ka,Xo,ji,"arguments"))]),Sn,")"]):"",ma.repeatable?" repeatable":""," on ",En(" | ",ka.map(ji,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[ji("description"),ma.description?Hn:"",ma.kind==="EnumTypeExtension"?"extend ":"","enum ",ji("name"),ra(ka,ji,ma),ma.values.length>0?[" {",An([Hn,En(Hn,Ta(ka,Xo,ji,"values"))]),Hn,"}"]:""];case"EnumValueDefinition":return[ji("description"),ma.description?Hn:"",ji("name"),ra(ka,ji,ma)];case"InputValueDefinition":return[ji("description"),ma.description?ma.description.block?Hn:Un:"",ji("name"),": ",ji("type"),ma.defaultValue?[" = ",ji("defaultValue")]:"",ra(ka,ji,ma)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[ji("description"),ma.description?Hn:"",ma.kind==="InputObjectTypeExtension"?"extend ":"","input ",ji("name"),ra(ka,ji,ma),ma.fields.length>0?[" {",An([Hn,En(Hn,Ta(ka,Xo,ji,"fields"))]),Hn,"}"]:""];case"SchemaExtension":return["extend schema",ra(ka,ji,ma),...ma.operationTypes.length>0?[" {",An([Hn,En(Hn,Ta(ka,Xo,ji,"operationTypes"))]),Hn,"}"]:[]];case"SchemaDefinition":return[ji("description"),ma.description?Hn:"","schema",ra(ka,ji,ma)," {",ma.operationTypes.length>0?An([Hn,En(Hn,Ta(ka,Xo,ji,"operationTypes"))]):"",Hn,"}"];case"OperationTypeDefinition":return[ji("operation"),": ",ji("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[ji("description"),ma.description?Hn:"",ma.kind==="InterfaceTypeExtension"?"extend ":"","interface ",ji("name"),ma.interfaces.length>0?[" implements ",...Ia(ka,Xo,ji)]:"",ra(ka,ji,ma),ma.fields.length>0?[" {",An([Hn,En(Hn,Ta(ka,Xo,ji,"fields"))]),Hn,"}"]:""];case"FragmentSpread":return["...",ji("name"),ra(ka,ji,ma)];case"InlineFragment":return["...",ma.typeCondition?[" on ",ji("typeCondition")]:"",ra(ka,ji,ma)," ",ji("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return Nn([ji("description"),ma.description?Hn:"",Nn([ma.kind==="UnionTypeExtension"?"extend ":"","union ",ji("name"),ra(ka,ji,ma),ma.types.length>0?[" =",oi(""," "),An([oi([Un," "]),En([Un,"| "],ka.map(ji,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[ji("description"),ma.description?Hn:"",ma.kind==="ScalarTypeExtension"?"extend ":"","scalar ",ji("name"),ra(ka,ji,ma)];case"NonNullType":return[ji("type"),"!"];case"ListType":return["[",ji("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(ma.ki
`)&&(Xo.value=Xo.value.trim())}pa.ignoredProperties=new Set(["loc","comments"]);function za(ka){var Xo;let ji=ka.getValue();return ji==null||(Xo=ji.comments)===null||Xo===void 0?void 0:Xo.some(ma=>ma.value.trim()==="prettier-ignore")}ui.exports={print:Ni,massageAstNode:pa,hasPrettierIgnore:za,insertPragma:Hi,printComment:aa,canAttachComment:Ra}}}),xn=Oo({"src/language-graphql/options.js"(In,ui){Mn();var En=Yc();ui.exports={bracketSpacing:En.bracketSpacing}}}),xa=Oo({"src/language-graphql/parsers.js"(){Mn()}}),la=Oo({"node_modules/linguist-languages/data/GraphQL.json"(In,ui){ui.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),Do=Oo({"src/language-graphql/index.js"(In,ui){Mn();var En=$f(),Hn=Wn(),Un=xn(),Sn=xa(),Nn=[En(la(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],An={graphql:Hn};ui.exports={languages:Nn,options:Un,printers:An,parsers:Sn}}}),Eo=Oo({"node_modules/collapse-white-space/index.js"(In,ui){Mn(),ui.exports=En;function En(Hn){return String(Hn).replace(/\s+/g," ")}}}),os=Oo({"src/language-markdown/loc.js"(In,ui){Mn();function En(Un){return Un.position.start.offset}function Hn(Un){return Un.position.end.offset}ui.exports={locStart:En,locEnd:Hn}}}),rs=Oo({"src/language-markdown/constants.evaluate.js"(In,ui){ui.exports={cjkPattern:"(?:[\\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-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\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][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\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\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\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-\\u2e4f\\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
(${Sn})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[ta,Vn]of ma.entries()){if(ta%2===1){ji.push({type:"whitespace",value:/\n/.test(Vn)?`
`:" "});continue}if((ta===0||ta===ma.length-1)&&Vn==="")continue;let zi=Vn.split(new RegExp(`(${Sn})`));for(let[Zi,oa]of zi.entries())if(!((Zi===0||Zi===zi.length-1)&&oa==="")){if(Zi%2===0){oa!==""&&Mi({type:"word",value:oa,kind:pa,hasLeadingPunctuation:Hi.test(oa[0]),hasTrailingPunctuation:Hi.test(En(oa))});continue}Mi(Hi.test(oa)?{type:"word",value:oa,kind:Xo,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:oa,kind:Wi.test(oa)?ka:za,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return ji;function Mi(ta){let Vn=En(ji);Vn&&Vn.type==="word"&&(Vn.kind===pa&&ta.kind===za&&!Vn.hasTrailingPunctuation||Vn.kind===za&&ta.kind===pa&&!ta.hasLeadingPunctuation?ji.push({type:"whitespace",value:" "}):!zi(pa,Xo)&&![Vn.value,ta.value].some(Zi=>/\u3000/.test(Zi))&&ji.push({type:"whitespace",value:""})),ji.push(ta);function zi(Zi,oa){return Vn.kind===Zi&&ta.kind===oa||Vn.kind===oa&&ta.kind===Zi}}}function fi(aa,Ia){let[,pa,za,ka]=Ia.slice(aa.position.start.offset,aa.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:pa,marker:za,leadingSpaces:ka}}function Ni(aa,Ia){if(!aa.ordered||aa.children.length<2)return!1;let pa=Number(fi(aa.children[0],Ia.originalText).numberText),za=Number(fi(aa.children[1],Ia.originalText).numberText);if(pa===0&&aa.children.length>2){let ka=Number(fi(aa.children[2],Ia.originalText).numberText);return za===1&&ka===1}return za===1}function ra(aa,Ia){let{value:pa}=aa;return aa.position.end.offset===Ia.length&&pa.endsWith(`
`)&&Ia.endsWith(`
`)?pa.slice(0,-1):pa}function Ta(aa,Ia){return function pa(za,ka,Xo){let ji=Object.assign({},Ia(za,ka,Xo));return ji.children&&(ji.children=ji.children.map((ma,Mi)=>pa(ma,Mi,[ji,...Xo]))),ji}(aa,null,[])}function Ra(aa){if((aa==null?void 0:aa.type)!=="link"||aa.children.length!==1)return!1;let[Ia]=aa.children;return Hn(aa)===Hn(Ia)&&Un(aa)===Un(Ia)}ui.exports={mapAst:Ta,splitText:Ki,punctuationPattern:An,getFencedCodeBlockValue:ra,getOrderedListItemInfo:fi,hasGitDiffFriendlyOrderedList:Ni,INLINE_NODE_TYPES:oi,INLINE_NODE_WRAPPER_TYPES:mi,isAutolink:Ra}}}),Ls=Oo({"src/language-markdown/embed.js"(In,ui){Mn();var{inferParserByLanguage:En,getMaxContinuousCount:Hn}=qc(),{builders:{hardline:Un,markAsRoot:Sn},utils:{replaceEndOfLine:Nn}}=Ec(),An=Zc(),{getFencedCodeBlockValue:oi}=So();function mi(Wi,Hi,Ki,fi){let Ni=Wi.getValue();if(Ni.type==="code"&&Ni.lang!==null){let ra=En(Ni.lang,fi);if(ra){let Ta=fi.__inJsTemplate?"~":"`",Ra=Ta.repeat(Math.max(3,Hn(Ni.value,Ta)+1)),aa={parser:ra};Ni.lang==="tsx"&&(aa.filepath="dummy.tsx");let Ia=Ki(oi(Ni,fi.originalText),aa,{stripTrailingHardline:!0});return Sn([Ra,Ni.lang,Ni.meta?" "+Ni.meta:"",Un,Nn(Ia),Un,Ra])}}switch(Ni.type){case"front-matter":return An(Ni,Ki);case"importExport":return[Ki(Ni.value,{parser:"babel"},{stripTrailingHardline:!0}),Un];case"jsx":return Ki(`<$>${Ni.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}ui.exports=mi}}),Vs=Oo({"src/language-markdown/pragma.js"(In,ui){Mn();var En=Rp(),Hn=["format","prettier"];function Un(Sn){let Nn=`@(${Hn.join("|")})`,An=new RegExp([`<!--\\s*${Nn}\\s*-->`,`{\\s*\\/\\*\\s*${Nn}\\s*\\*\\/\\s*}`,`<!--.*\r?
[\\s\\S]*(^|
)[^\\S
]*${Nn}[^\\S
]*($|
)[\\s\\S]*
.*-->`].join("|"),"m"),oi=Sn.match(An);return(oi==null?void 0:oi.index)===0}ui.exports={startWithPragma:Un,hasPragma:Sn=>Un(En(Sn).content.trimStart()),insertPragma:Sn=>{let Nn=En(Sn),An=`<!-- @${Hn[0]} -->`;return Nn.frontMatter?`${Nn.frontMatter.raw}
${An}
${Nn.content}`:`${An}
${Nn.content}`}}}}),tl=Oo({"src/language-markdown/print-preprocess.js"(In,ui){Mn();var En=Oc(),{getOrderedListItemInfo:Hn,mapAst:Un,splitText:Sn}=So(),Nn=/^.$/su;function An(Ra,aa){return Ra=Wi(Ra,aa),Ra=fi(Ra),Ra=mi(Ra,aa),Ra=ra(Ra,aa),Ra=Ta(Ra,aa),Ra=Ni(Ra,aa),Ra=oi(Ra),Ra=Hi(Ra),Ra}function oi(Ra){return Un(Ra,aa=>aa.type!=="import"&&aa.type!=="export"?aa:Object.assign(Object.assign({},aa),{},{type:"importExport"}))}function mi(Ra,aa){return Un(Ra,Ia=>Ia.type!=="inlineCode"||aa.proseWrap==="preserve"?Ia:Object.assign(Object.assign({},Ia),{},{value:Ia.value.replace(/\s+/g," ")}))}function Wi(Ra,aa){return Un(Ra,Ia=>Ia.type!=="text"||Ia.value==="*"||Ia.value==="_"||!Nn.test(Ia.value)||Ia.position.end.offset-Ia.position.start.offset===Ia.value.length?Ia:Object.assign(Object.assign({},Ia),{},{value:aa.originalText.slice(Ia.position.start.offset,Ia.position.end.offset)}))}function Hi(Ra){return Ki(Ra,(aa,Ia)=>aa.type==="importExport"&&Ia.type==="importExport",(aa,Ia)=>({type:"importExport",value:aa.value+`
`+Ia.value,position:{start:aa.position.start,end:Ia.position.end}}))}function Ki(Ra,aa,Ia){return Un(Ra,pa=>{if(!pa.children)return pa;let za=pa.children.reduce((ka,Xo)=>{let ji=En(ka);return ji&&aa(ji,Xo)?ka.splice(-1,1,Ia(ji,Xo)):ka.push(Xo),ka},[]);return Object.assign(Object.assign({},pa),{},{children:za})})}function fi(Ra){return Ki(Ra,(aa,Ia)=>aa.type==="text"&&Ia.type==="text",(aa,Ia)=>({type:"text",value:aa.value+Ia.value,position:{start:aa.position.start,end:Ia.position.end}}))}function Ni(Ra,aa){return Un(Ra,(Ia,pa,za)=>{let[ka]=za;if(Ia.type!=="text")return Ia;let{value:Xo}=Ia;return ka.type==="paragraph"&&(pa===0&&(Xo=Xo.trimStart()),pa===ka.children.length-1&&(Xo=Xo.trimEnd())),{type:"sentence",position:Ia.position,children:Sn(Xo,aa)}})}function ra(Ra,aa){return Un(Ra,(Ia,pa,za)=>{if(Ia.type==="code"){let ka=/^\n?(?: {4,}|\t)/.test(aa.originalText.slice(Ia.position.start.offset,Ia.position.end.offset));if(Ia.isIndented=ka,ka)for(let Xo=0;Xo<za.length;Xo++){let ji=za[Xo];if(ji.hasIndentedCodeblock)break;ji.type==="list"&&(ji.hasIndentedCodeblock=!0)}}return Ia})}function Ta(Ra,aa){return Un(Ra,(za,ka,Xo)=>{if(za.type==="list"&&za.children.length>0){for(let ji=0;ji<Xo.length;ji++){let ma=Xo[ji];if(ma.type==="list"&&!ma.isAligned)return za.isAligned=!1,za}za.isAligned=pa(za)}return za});function Ia(za){return za.children.length===0?-1:za.children[0].position.start.column-1}function pa(za){if(!za.ordered)return!0;let[ka,Xo]=za.children;if(Hn(ka,aa.originalText).leadingSpaces.length>1)return!0;let ji=Ia(ka);if(ji===-1)return!1;if(za.children.length===1)return ji%aa.tabWidth===0;let ma=Ia(Xo);return ji!==ma?!1:ji%aa.tabWidth===0?!0:Hn(Xo,aa.originalText).leadingSpaces.length>1}}ui.exports=An}}),wu=Oo({"src/language-markdown/clean.js"(In,ui){Mn();var En=Eo(),{isFrontMatterNode:Hn}=qc(),{startWithPragma:Un}=Vs(),Sn=new Set(["position","raw"]);function Nn(An,oi,mi){if((An.type==="front-matter"||An.type==="code"||An.type==="yaml"||An.type==="import"||An.type==="export"||An.type==="jsx")&&delete oi.value,An.type==="list"&&delete oi.isAligned,(An.type==="list"||An.type==="listItem")&&(delete oi.spread,delete oi.loose),An.type==="text"||(An.type==="inlineCode"&&(oi.value=An.value.replace(/[\t\n ]+/g," ")),An.type==="wikiLink"&&(oi.value=An.value.trim().replace(/[\t\n]+/g," ")),(An.type==="definition"||An.type==="linkReference"||An.type==="imageReference")&&(oi.label=En(An.label)),(An.type==="definition"||An.type==="link"||An.type==="image")&&An.title&&(oi.title=An.title.replace(/\\(["')])/g,"$1")),mi&&mi.type==="root"&&mi.children.length>0&&(mi.children[0]===An||Hn(mi.children[0])&&mi.children[1]===An)&&An.type==="html"&&Un(An.value)))return null}Nn.ignoredProperties=Sn,ui.exports=Nn}}),Hu=Oo({"src/language-markdown/printer-markdown.js"(In,ui){Mn();var En=Eo(),{getLast:Hn,getMinNotPresentContinuousCount:Un,getMaxContinuousCount:Sn,getStringWidth:Nn,isNonEmptyArray:An}=qc(),{builders:{breakParent:oi,join:mi,line:Wi,literalline:Hi,markAsRoot:Ki,hardline:fi,softline:Ni,ifBreak:ra,fill:Ta,align:Ra,indent:aa,group:Ia,hardlineWithoutBreakParent:pa},utils:{normalizeDoc:za,replaceTextEndOfLine:ka},printer:{printDocToString:Xo}}=Ec(),ji=Ls(),{insertPragma:ma}=Vs(),{locStart:Mi,locEnd:ta}=os(),Vn=tl(),zi=wu(),{getFencedCodeBlockValue:Zi,hasGitDiffFriendlyOrderedList:oa,splitText:da,punctuationPattern:Sa,INLINE_NODE_TYPES:Xa,INLINE_NODE_WRAPPER_TYPES:Io,isAutolink:Yo}=So(),Ro=new Set(["importExport"]),hs=["heading","tableCell","link","wikiLink"],co=new Set(["listItem","definition","footnoteDefinition"]);function ks(il,qo,dl){let Os=il.getValue();if(Zl(il))return da(qo.originalText.slice(Os.position.start.offset,Os.position.end.offset),qo).map(ol=>ol.type==="word"?ol.value:ol.value===""?"":$o(il,ol.value,qo));switch(Os.type){case"front-matter":return qo.originalText.slice(Os.position.start.offset,Os.position.end.offset);case"root":return Os.children.length===0?"":[za(ul(il,qo,dl)),Ro.has(Ds(Os).type)?"":fi];case"paragraph":return nl(il,qo,dl,{postprocessor:Ta});case"sentence":return nl(il,qo,dl);case"word":{let ol=Os.value.replace(
`)return fi;let Os=dl.proseWrap==="always"&&!cl(il,hs);return qo!==""?Os?Wi:" ":Os?Ni:""}function xs(il,qo,dl){let Os=il.getValue(),ol=[],Vu=il.map(jr=>jr.map((hn,zn)=>{let ci=Xo(dl(),qo).formatted,ca=Nn(ci);return ol[zn]=Math.max(ol[zn]||3,ca),{text:ci,width:ca}},"children"),"children"),Ie=nr(!1);if(qo.proseWrap!=="never")return[oi,Ie];let jt=nr(!0);return[oi,Ia(ra(jt,Ie))];function nr(jr){let hn=[cr(Vu[0],jr),sr(jr)];return Vu.length>1&&hn.push(mi(pa,Vu.slice(1).map(zn=>cr(zn,jr)))),mi(pa,hn)}function sr(jr){return`| ${ol.map((hn,zn)=>{let ci=Os.align[zn],ca=ci==="center"||ci==="left"?":":"-",eo=ci==="center"||ci==="right"?":":"-",ps=jr?"-":"-".repeat(hn-2);return`${ca}${ps}${eo}`}).join(" | ")} |`}function cr(jr,hn){return`| ${jr.map((zn,ci)=>{let{text:ca,width:eo}=zn;if(hn)return ca;let ps=ol[ci]-eo,ms=Os.align[ci],Ss=0;ms==="right"?Ss=ps:ms==="center"&&(Ss=Math.floor(ps/2));let Xs=ps-Ss;return`${" ".repeat(Ss)}${ca}${" ".repeat(Xs)}`}).join(" | ")} |`}}function ul(il,qo,dl){let Os=[],ol=null,{children:Vu}=il.getValue();for(let[Ie,jt]of Vu.entries())switch(ds(jt)){case"start":ol===null&&(ol={index:Ie,offset:jt.position.end.offset});break;case"end":ol!==null&&(Os.push({start:ol,end:{index:Ie,offset:jt.position.start.offset}}),ol=null);break}return nl(il,qo,dl,{processor:(Ie,jt)=>{if(Os.length>0){let nr=Os[0];if(jt===nr.start.index)return[Du(Vu[nr.start.index]),qo.originalText.slice(nr.start.offset,nr.end.offset),Du(Vu[nr.end.index])];if(nr.start.index<jt&&jt<nr.end.index)return!1;if(jt===nr.end.index)return Os.shift(),!1}return dl()}})}function nl(il,qo,dl){let Os=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:ol}=Os,Vu=Os.processor||(()=>dl()),Ie=il.getValue(),jt=[],nr;return il.each((sr,cr)=>{let jr=sr.getValue(),hn=Vu(sr,cr);if(hn!==!1){let zn={parts:jt,prevNode:nr,parentNode:Ie,options:qo};$s(jr,zn)&&(jt.push(fi),nr&&Ro.has(nr.type)||(zs(jr,zn)||Us(jr,zn))&&jt.push(fi),Us(jr,zn)&&jt.push(fi)),jt.push(hn),nr=jr}},"children"),ol?ol(jt):jt}function Du(il){if(il.type==="html")return il.value;if(il.type==="paragraph"&&Array.isArray(il.children)&&il.children.length===1&&il.children[0].type==="esComment")return["{/* ",il.children[0].value," */}"]}function Ds(il){let qo=il;for(;An(qo.children);)qo=Hn(qo.children);return qo}function ds(il){let qo;if(il.type==="html")qo=il.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let dl;il.type==="esComment"?dl=il:il.type==="paragraph"&&il.children.length===1&&il.children[0].type==="esComment"&&(dl=il.children[0]),dl&&(qo=dl.value.match(/^prettier-ignore(?:-(start|end))?$/))}return qo?qo[1]||"next":!1}function $s(il,qo){let dl=qo.parts.length===0,Os=Xa.includes(il.type),ol=il.type==="html"&&Io.includes(qo.parentNode.type);return!dl&&!Os&&!ol}function zs(il,qo){var dl,Os,ol;let Vu=(qo.prevNode&&qo.prevNode.type)===il.type&&co.has(il.type),Ie=qo.parentNode.type==="listItem"&&!qo.parentNode.loose,jt=((dl=qo.prevNode)===null||dl===void 0?void 0:dl.type)==="listItem"&&qo.prevNode.loose,nr=ds(qo.prevNode)==="next",sr=il.type==="html"&&((Os=qo.prevNode)===null||Os===void 0?void 0:Os.type)==="html"&&qo.prevNode.position.end.line+1===il.position.start.line,cr=il.type==="html"&&qo.parentNode.type==="listItem"&&((ol=qo.prevNode)===null||ol===void 0?void 0:ol.type)==="paragraph"&&qo.prevNode.position.end.line+1===il.position.start.line;return jt||!(Vu||Ie||nr||sr||cr)}function Us(il,qo){let dl=qo.prevNode&&qo.prevNode.type==="list",Os=il.type==="code"&&il.isIndented;return dl&&Os}function Zl(il){let qo=cl(il,["linkReference","imageReference"]);return qo&&(qo.type!=="linkReference"||qo.referenceType!=="full")}function Pl(il){let qo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],dl=[" ",...Array.isArray(qo)?qo:[qo]];return new RegExp(dl.map(Os=>`\\${Os}`).join("|")).test(il)?`<${il}>`:il}function rc(il,qo){let dl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!il)return"";if(dl)return" "+rc(il,qo,!1);if(il=il.replace(/\\(["')])/g,"$1"),il.includes('"')&&il.includes("'")&&!il.includes(")"))return`(${il})`;let Os=il.split("'").l
`,"\f","\r"," "]),ra=nr=>nr.replace(/^[\t\n\f\r ]+/,""),Ta=nr=>nr.replace(/[\t\n\f\r ]+$/,""),Ra=nr=>ra(Ta(nr)),aa=nr=>nr.replace(/^[\t\f\r ]*\n/g,""),Ia=nr=>aa(Ta(nr)),pa=nr=>nr.split(/[\t\n\f\r ]+/),za=nr=>nr.match(/^[\t\n\f\r ]*/)[0],ka=nr=>{let[,sr,cr,jr]=nr.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:sr,trailingWhitespace:jr,text:cr}},Xo=nr=>/[\t\n\f\r ]/.test(nr);function ji(nr,sr){return!!(nr.type==="ieConditionalComment"&&nr.lastChild&&!nr.lastChild.isSelfClosing&&!nr.lastChild.endSourceSpan||nr.type==="ieConditionalComment"&&!nr.complete||zs(nr)&&nr.children.some(cr=>cr.type!=="text"&&cr.type!=="interpolation")||Os(nr,sr)&&!Vn(nr)&&nr.type!=="interpolation")}function ma(nr){return nr.type==="attribute"||!nr.parent||!nr.prev?!1:Mi(nr.prev)}function Mi(nr){return nr.type==="comment"&&nr.value.trim()==="prettier-ignore"}function ta(nr){return nr.type==="text"||nr.type==="comment"}function Vn(nr){return nr.type==="element"&&(nr.fullName==="script"||nr.fullName==="style"||nr.fullName==="svg:style"||fi(nr)&&(nr.name==="script"||nr.name==="style"))}function zi(nr){return nr.children&&!Vn(nr)}function Zi(nr){return Vn(nr)||nr.type==="interpolation"||oa(nr)}function oa(nr){return rc(nr).startsWith("pre")}function da(nr,sr){let cr=jr();if(cr&&!nr.prev&&nr.parent&&nr.parent.tagDefinition&&nr.parent.tagDefinition.ignoreFirstLf)return nr.type==="interpolation";return cr;function jr(){return Hn(nr)?!1:(nr.type==="text"||nr.type==="interpolation")&&nr.prev&&(nr.prev.type==="text"||nr.prev.type==="interpolation")?!0:!nr.parent||nr.parent.cssDisplay==="none"?!1:zs(nr.parent)?!0:!(!nr.prev&&(nr.parent.type==="root"||zs(nr)&&nr.parent||Vn(nr.parent)||qo(nr.parent,sr)||!nl(nr.parent.cssDisplay))||nr.prev&&!ds(nr.prev.cssDisplay))}}function Sa(nr,sr){return Hn(nr)?!1:(nr.type==="text"||nr.type==="interpolation")&&nr.next&&(nr.next.type==="text"||nr.next.type==="interpolation")?!0:!nr.parent||nr.parent.cssDisplay==="none"?!1:zs(nr.parent)?!0:!(!nr.next&&(nr.parent.type==="root"||zs(nr)&&nr.parent||Vn(nr.parent)||qo(nr.parent,sr)||!Du(nr.parent.cssDisplay))||nr.next&&!Ds(nr.next.cssDisplay))}function Xa(nr){return $s(nr.cssDisplay)&&!Vn(nr)}function Io(nr){return Hn(nr)||nr.next&&nr.sourceSpan.end&&nr.sourceSpan.end.line+1<nr.next.sourceSpan.start.line}function Yo(nr){return Ro(nr)||nr.type==="element"&&nr.children.length>0&&(["body","script","style"].includes(nr.name)||nr.children.some(sr=>Ps(sr)))||nr.firstChild&&nr.firstChild===nr.lastChild&&nr.firstChild.type!=="text"&&Go(nr.firstChild)&&(!nr.lastChild.isTrailingSpaceSensitive||No(nr.lastChild))}function Ro(nr){return nr.type==="element"&&nr.children.length>0&&(["html","head","ul","ol","select"].includes(nr.name)||nr.cssDisplay.startsWith("table")&&nr.cssDisplay!=="table-cell")}function hs(nr){return _s(nr)||nr.prev&&co(nr.prev)||ks(nr)}function co(nr){return _s(nr)||nr.type==="element"&&nr.fullName==="br"||ks(nr)}function ks(nr){return Go(nr)&&No(nr)}function Go(nr){return nr.hasLeadingSpaces&&(nr.prev?nr.prev.sourceSpan.end.line<nr.sourceSpan.start.line:nr.parent.type==="root"||nr.parent.startSourceSpan.end.line<nr.sourceSpan.start.line)}function No(nr){return nr.hasTrailingSpaces&&(nr.next?nr.next.sourceSpan.start.line>nr.sourceSpan.end.line:nr.parent.type==="root"||nr.parent.endSourceSpan&&nr.parent.endSourceSpan.start.line>nr.sourceSpan.end.line)}function _s(nr){switch(nr.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(nr.name)}return!1}function Js(nr){return nr.lastChild?Js(nr.lastChild):nr}function Ps(nr){return nr.children&&nr.children.some(sr=>sr.type!=="text")}function cl(nr){let{type:sr,lang:cr}=nr.attrMap;if(sr==="module"||sr==="text/javascript"||sr==="text/babel"||sr==="application/javascript"||cr==="jsx")return"babel";if(sr==="application/x-typescript"||cr==="ts"||cr==="tsx")return"typescript";if(sr==="text/markdown")return"markdown";if(sr==="text/html")return"html";if(sr&&(sr.endsWith("json")||sr.endsWith("importmap"))||sr==="speculationrules")return"json";if(sr==="t
`)){if(cr.length===0)continue;if(!Ni.has(cr[0]))return 0;let jr=za(cr).length;cr.length!==jr&&jr<sr&&(sr=jr)}return sr===Number.POSITIVE_INFINITY?0:sr}function Vc(nr){let sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:td(nr);return sr===0?nr:nr.split(`
`).map(cr=>cr.slice(sr)).join(`
`)}function mc(nr,sr){let cr=0;for(let jr=0;jr<nr.length;jr++)nr[jr]===sr&&cr++;return cr}function uc(nr){return nr.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var il=new Set(["template","style","script"]);function qo(nr,sr){return dl(nr,sr)&&!il.has(nr.fullName)}function dl(nr,sr){return sr.parser==="vue"&&nr.type==="element"&&nr.parent.type==="root"&&nr.fullName.toLowerCase()!=="html"}function Os(nr,sr){return dl(nr,sr)&&(qo(nr,sr)||nr.attrMap.lang&&nr.attrMap.lang!=="html")}function ol(nr){let sr=nr.fullName;return sr.charAt(0)==="#"||sr==="slot-scope"||sr==="v-slot"||sr.startsWith("v-slot:")}function Vu(nr,sr){let cr=nr.parent;if(!dl(cr,sr))return!1;let jr=cr.fullName,hn=nr.fullName;return jr==="script"&&hn==="setup"||jr==="style"&&hn==="vars"}function Ie(nr){let sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nr.value;return nr.parent.isWhitespaceSensitive?nr.parent.isIndentationSensitive?oi(sr):oi(Vc(Ia(sr)),Sn):An(Nn(Un,pa(sr)))}function jt(nr,sr){return dl(nr,sr)&&nr.name==="script"}ui.exports={htmlTrim:Ra,htmlTrimPreserveIndentation:Ia,hasHtmlWhitespace:Xo,getLeadingAndTrailingHtmlWhitespace:ka,canHaveInterpolation:zi,countChars:mc,countParents:Us,dedentString:Vc,forceBreakChildren:Ro,forceBreakContent:Yo,forceNextEmptyLine:Io,getLastDescendant:Js,getNodeCssStyleDisplay:Pl,getNodeCssStyleWhiteSpace:rc,hasPrettierIgnore:ma,inferScriptParser:xs,isVueCustomBlock:qo,isVueNonHtmlBlock:Os,isVueScriptTag:jt,isVueSlotAttribute:ol,isVueSfcBindingsAttribute:Vu,isVueSfcBlock:dl,isDanglingSpaceSensitiveNode:Xa,isIndentationSensitiveNode:oa,isLeadingSpaceSensitiveNode:da,isPreLikeNode:zs,isScriptLikeTag:Vn,isTextLikeNode:ta,isTrailingSpaceSensitiveNode:Sa,isWhitespaceSensitiveNode:Zi,isUnknownNamespace:fi,preferHardlineAsLeadingSpaces:hs,preferHardlineAsTrailingSpaces:co,shouldPreserveContent:ji,unescapeQuoteEntities:uc,getTextValueParts:Ie}}}),Bu=Oo({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(In){Mn(),Object.defineProperty(In,"__esModule",{value:!0}),In.$EOF=0,In.$BSPACE=8,In.$TAB=9,In.$LF=10,In.$VTAB=11,In.$FF=12,In.$CR=13,In.$SPACE=32,In.$BANG=33,In.$DQ=34,In.$HASH=35,In.$$=36,In.$PERCENT=37,In.$AMPERSAND=38,In.$SQ=39,In.$LPAREN=40,In.$RPAREN=41,In.$STAR=42,In.$PLUS=43,In.$COMMA=44,In.$MINUS=45,In.$PERIOD=46,In.$SLASH=47,In.$COLON=58,In.$SEMICOLON=59,In.$LT=60,In.$EQ=61,In.$GT=62,In.$QUESTION=63,In.$0=48,In.$7=55,In.$9=57,In.$A=65,In.$E=69,In.$F=70,In.$X=88,In.$Z=90,In.$LBRACKET=91,In.$BACKSLASH=92,In.$RBRACKET=93,In.$CARET=94,In.$_=95,In.$a=97,In.$b=98,In.$e=101,In.$f=102,In.$n=110,In.$r=114,In.$t=116,In.$u=117,In.$v=118,In.$x=120,In.$z=122,In.$LBRACE=123,In.$BAR=124,In.$RBRACE=125,In.$NBSP=160,In.$PIPE=124,In.$TILDA=126,In.$AT=64,In.$BT=96;function ui(An){return An>=In.$TAB&&An<=In.$SPACE||An==In.$NBSP}In.isWhitespace=ui;function En(An){return In.$0<=An&&An<=In.$9}In.isDigit=En;function Hn(An){return An>=In.$a&&An<=In.$z||An>=In.$A&&An<=In.$Z}In.isAsciiLetter=Hn;function Un(An){return An>=In.$a&&An<=In.$f||An>=In.$A&&An<=In.$F||En(An)}In.isAsciiHexDigit=Un;function Sn(An){return An===In.$LF||An===In.$CR}In.isNewLine=Sn;function Nn(An){return In.$0<=An&&An<=In.$7}In.isOctalDigit=Nn}}),pu=Oo({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(In){Mn(),Object.defineProperty(In,"__esModule",{value:!0});var ui=class{constructor(Hn,Un,Sn){this.filePath=Hn,this.name=Un,this.members=Sn}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};In.StaticSymbol=ui;var En=class{constructor(){this.cache=new Map}get(Hn,Un,Sn){Sn=Sn||[];let Nn=Sn.length?`.${Sn.join(".")}`:"",An=`"${Hn}".${Un}${Nn}`,oi=this.cache.get(An);return oi||(oi=new ui(Hn,Un,Sn),this.cache.set(An,oi)),oi}};In.StaticSymbolCache=En}}),hp=Oo({"node_modules/angular-html-parser/lib/compiler/src/util.js"(In){Mn(),Object.defineProperty(In,"__esModule",{value:!0});var ui=/-+([a-z0-9])/g;function En(Vn){return Vn.replace(ui,function(){for(var zi=arguments.length,Zi=new Array(zi),oa=0;oa<zi;oa++)Zi[oa]=arguments[oa];return Zi[1].toUpper
`);return Zi===-1?zi:zi.substring(0,Zi)}In.stringify=pa;function za(Vn){return typeof Vn=="function"&&Vn.hasOwnProperty("__forward_ref__")?Vn():Vn}In.resolveForwardRef=za;function ka(Vn){return!!Vn&&typeof Vn.then=="function"}In.isPromise=ka;var Xo=class{constructor(Vn){this.full=Vn;let zi=Vn.split(".");this.major=zi[0],this.minor=zi[1],this.patch=zi.slice(2).join(".")}};In.Version=Xo;var ji=typeof window<"u"&&window,ma=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Mi=typeof globalThis<"u"&&globalThis,ta=Mi||ji||ma;In.global=ta}}),Md=Oo({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(In){Mn(),Object.defineProperty(In,"__esModule",{value:!0});var ui=pu(),En=hp(),Hn=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Un(Zi){return Zi.replace(/\W/g,"_")}In.sanitizeIdentifier=Un;var Sn=0;function Nn(Zi){if(!Zi||!Zi.reference)return null;let oa=Zi.reference;if(oa instanceof ui.StaticSymbol)return oa.name;if(oa.__anonymousType)return oa.__anonymousType;let da=En.stringify(oa);return da.indexOf("(")>=0?(da=`anonymous_${Sn++}`,oa.__anonymousType=da):da=Un(da),da}In.identifierName=Nn;function An(Zi){let oa=Zi.reference;return oa instanceof ui.StaticSymbol?oa.filePath:`./${En.stringify(oa)}`}In.identifierModuleUrl=An;function oi(Zi,oa){return`View_${Nn({reference:Zi})}_${oa}`}In.viewClassName=oi;function mi(Zi){return`RenderType_${Nn({reference:Zi})}`}In.rendererTypeName=mi;function Wi(Zi){return`HostView_${Nn({reference:Zi})}`}In.hostViewClassName=Wi;function Hi(Zi){return`${Nn({reference:Zi})}NgFactory`}In.componentFactoryName=Hi;var Ki;(function(Zi){Zi[Zi.Pipe=0]="Pipe",Zi[Zi.Directive=1]="Directive",Zi[Zi.NgModule=2]="NgModule",Zi[Zi.Injectable=3]="Injectable"})(Ki=In.CompileSummaryKind||(In.CompileSummaryKind={}));function fi(Zi){return Zi.value!=null?Un(Zi.value):Nn(Zi.identifier)}In.tokenName=fi;function Ni(Zi){return Zi.identifier!=null?Zi.identifier.reference:Zi.value}In.tokenReference=Ni;var ra=class{constructor(){let{moduleUrl:Zi,styles:oa,styleUrls:da}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=Zi||null,this.styles=ka(oa),this.styleUrls=ka(da)}};In.CompileStylesheetMetadata=ra;var Ta=class{constructor(Zi){let{encapsulation:oa,template:da,templateUrl:Sa,htmlAst:Xa,styles:Io,styleUrls:Yo,externalStylesheets:Ro,animations:hs,ngContentSelectors:co,interpolation:ks,isInline:Go,preserveWhitespaces:No}=Zi;if(this.encapsulation=oa,this.template=da,this.templateUrl=Sa,this.htmlAst=Xa,this.styles=ka(Io),this.styleUrls=ka(Yo),this.externalStylesheets=ka(Ro),this.animations=hs?ji(hs):[],this.ngContentSelectors=co||[],ks&&ks.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=ks,this.isInline=Go,this.preserveWhitespaces=No}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};In.CompileTemplateMetadata=Ta;var Ra=class{static create(Zi){let{isHost:oa,type:da,isComponent:Sa,selector:Xa,exportAs:Io,changeDetection:Yo,inputs:Ro,outputs:hs,host:co,providers:ks,viewProviders:Go,queries:No,guards:_s,viewQueries:Js,entryComponents:Ps,template:cl,componentViewType:$o,rendererType:xs,componentFactory:ul}=Zi,nl={},Du={},Ds={};co!=null&&Object.keys(co).forEach(zs=>{let Us=co[zs],Zl=zs.match(Hn);Zl===null?Ds[zs]=Us:Zl[1]!=null?Du[Zl[1]]=Us:Zl[2]!=null&&(nl[Zl[2]]=Us)});let ds={};Ro!=null&&Ro.forEach(zs=>{let Us=En.splitAtColon(zs,[zs,zs]);ds[Us[0]]=Us[1]});let $s={};return hs!=null&&hs.forEach(zs=>{let Us=En.splitAtColon(zs,[zs,zs]);$s[Us[0]]=Us[1]}),new Ra({isHost:oa,type:da,isComponent:!!Sa,selector:Xa,exportAs:Io,changeDetection:Yo,inputs:ds,outputs:$s,hostListeners:nl,hostProperties:Du,hostAttributes:Ds,providers:ks,viewProviders:Go,queries:No,guards:_s,viewQueries:Js,entryComponents:Ps,template:cl,componentViewType:$o,rendererType:xs,componentFactory:ul})}constructor(Zi){let{isHost:oa,type:da,isComponent:Sa,selector:Xa,exportAs:Io,changeDetection:Yo,inputs:Ro,outputs:hs,hostListeners:co,hostPrope
`&&++Ta==Hi)););for(ra=0,Ta=0;ra<Wi&&Ni<Ki.length-1&&(Ni++,ra++,!(Ki[Ni]==`
`&&++Ta==Hi)););return{before:Ki.substring(fi,this.offset),after:Ki.substring(this.offset,Ni+1)}}return null}};In.ParseLocation=Hn;var Un=class{constructor(Wi,Hi){this.content=Wi,this.url=Hi}};In.ParseSourceFile=Un;var Sn=class{constructor(Wi,Hi){let Ki=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=Wi,this.end=Hi,this.details=Ki}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};In.ParseSourceSpan=Sn,In.EMPTY_PARSE_LOCATION=new Hn(new Un("",""),0,0,0),In.EMPTY_SOURCE_SPAN=new Sn(In.EMPTY_PARSE_LOCATION,In.EMPTY_PARSE_LOCATION);var Nn;(function(Wi){Wi[Wi.WARNING=0]="WARNING",Wi[Wi.ERROR=1]="ERROR"})(Nn=In.ParseErrorLevel||(In.ParseErrorLevel={}));var An=class{constructor(Wi,Hi){let Ki=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Nn.ERROR;this.span=Wi,this.msg=Hi,this.level=Ki}contextualMessage(){let Wi=this.span.start.getContext(100,3);return Wi?`${this.msg} ("${Wi.before}[${Nn[this.level]} ->]${Wi.after}")`:this.msg}toString(){let Wi=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${Wi}`}};In.ParseError=An;function oi(Wi,Hi){let Ki=En.identifierModuleUrl(Hi),fi=Ki!=null?`in ${Wi} ${En.identifierName(Hi)} in ${Ki}`:`in ${Wi} ${En.identifierName(Hi)}`,Ni=new Un("",fi);return new Sn(new Hn(Ni,-1,-1,-1),new Hn(Ni,-1,-1,-1))}In.typeSourceSpan=oi;function mi(Wi,Hi,Ki){let fi=`in ${Wi} ${Hi} in ${Ki}`,Ni=new Un("",fi);return new Sn(new Hn(Ni,-1,-1,-1),new Hn(Ni,-1,-1,-1))}In.r3JitTypeSourceSpan=mi}}),yd=Oo({"src/language-html/print-preprocess.js"(In,ui){Mn();var{ParseSourceSpan:En}=Kd(),{htmlTrim:Hn,getLeadingAndTrailingHtmlWhitespace:Un,hasHtmlWhitespace:Sn,canHaveInterpolation:Nn,getNodeCssStyleDisplay:An,isDanglingSpaceSensitiveNode:oi,isIndentationSensitiveNode:mi,isLeadingSpaceSensitiveNode:Wi,isTrailingSpaceSensitiveNode:Hi,isWhitespaceSensitiveNode:Ki,isVueScriptTag:fi}=fu(),Ni=[Ta,Ra,Ia,za,ka,ma,Xo,ji,Mi,pa,ta];function ra(Vn,zi){for(let Zi of Ni)Zi(Vn,zi);return Vn}function Ta(Vn){Vn.walk(zi=>{if(zi.type==="element"&&zi.tagDefinition.ignoreFirstLf&&zi.children.length>0&&zi.children[0].type==="text"&&zi.children[0].value[0]===`
`){let Zi=zi.children[0];Zi.value.length===1?zi.removeChild(Zi):Zi.value=Zi.value.slice(1)}})}function Ra(Vn){let zi=Zi=>Zi.type==="element"&&Zi.prev&&Zi.prev.type==="ieConditionalStartComment"&&Zi.prev.sourceSpan.end.offset===Zi.startSourceSpan.start.offset&&Zi.firstChild&&Zi.firstChild.type==="ieConditionalEndComment"&&Zi.firstChild.sourceSpan.start.offset===Zi.startSourceSpan.end.offset;Vn.walk(Zi=>{if(Zi.children)for(let oa=0;oa<Zi.children.length;oa++){let da=Zi.children[oa];if(!zi(da))continue;let Sa=da.prev,Xa=da.firstChild;Zi.removeChild(Sa),oa--;let Io=new En(Sa.sourceSpan.start,Xa.sourceSpan.end),Yo=new En(Io.start,da.sourceSpan.end);da.condition=Sa.condition,da.sourceSpan=Yo,da.startSourceSpan=Io,da.removeChild(Xa)}})}function aa(Vn,zi,Zi){Vn.walk(oa=>{if(oa.children)for(let da=0;da<oa.children.length;da++){let Sa=oa.children[da];if(Sa.type!=="text"&&!zi(Sa))continue;Sa.type!=="text"&&(Sa.type="text",Sa.value=Zi(Sa));let Xa=Sa.prev;!Xa||Xa.type!=="text"||(Xa.value+=Sa.value,Xa.sourceSpan=new En(Xa.sourceSpan.start,Sa.sourceSpan.end),oa.removeChild(Sa),da--)}})}function Ia(Vn){return aa(Vn,zi=>zi.type==="cdata",zi=>`<![CDATA[${zi.value}]]>`)}function pa(Vn){let zi=Zi=>Zi.type==="element"&&Zi.attrs.length===0&&Zi.children.length===1&&Zi.firstChild.type==="text"&&!Sn(Zi.children[0].value)&&!Zi.firstChild.hasLeadingSpaces&&!Zi.firstChild.hasTrailingSpaces&&Zi.isLeadingSpaceSensitive&&!Zi.hasLeadingSpaces&&Zi.isTrailingSpaceSensitive&&!Zi.hasTrailingSpaces&&Zi.prev&&Zi.prev.type==="text"&&Zi.next&&Zi.next.type==="text";Vn.walk(Zi=>{if(Zi.children)for(let oa=0;oa<Zi.children.length;oa++){let da=Zi.children[oa];if(!zi(da))continue;let Sa=da.prev,Xa=da.next;Sa.value+=`<${da.rawName}>`+da.firstChild.value+`</${da.rawName}>`+Xa.value,Sa.sourceSpan=new En(Sa.sourceSpan.start,Xa.sourceSpan.end),Sa.isTrailingSpaceSensitive=Xa.isTrailingSpaceSensitive,Sa.hasTrailingSpaces=Xa.hasTrailingSpaces,Zi.removeChild(da),oa--,Zi.removeChild(Xa)}})}function za(Vn,zi){if(zi.parser==="html")return;let Zi=/{{(.+?)}}/s;Vn.walk(oa=>{if(Nn(oa))for(let da of oa.children){if(da.type!=="text")continue;let Sa=da.sourceSpan.start,Xa=null,Io=da.value.split(Zi);for(let Yo=0;Yo<Io.length;Yo++,Sa=Xa){let Ro=Io[Yo];if(Yo%2===0){Xa=Sa.moveBy(Ro.length),Ro.length>0&&oa.insertChildBefore(da,{type:"text",value:Ro,sourceSpan:new En(Sa,Xa)});continue}Xa=Sa.moveBy(Ro.length+4),oa.insertChildBefore(da,{type:"interpolation",sourceSpan:new En(Sa,Xa),children:Ro.length===0?[]:[{type:"text",value:Ro,sourceSpan:new En(Sa.moveBy(2),Xa.moveBy(-2))}]})}oa.removeChild(da)}})}function ka(Vn){Vn.walk(zi=>{if(!zi.children)return;if(zi.children.length===0||zi.children.length===1&&zi.children[0].type==="text"&&Hn(zi.children[0].value).length===0){zi.hasDanglingSpaces=zi.children.length>0,zi.children=[];return}let Zi=Ki(zi),oa=mi(zi);if(!Zi)for(let da=0;da<zi.children.length;da++){let Sa=zi.children[da];if(Sa.type!=="text")continue;let{leadingWhitespace:Xa,text:Io,trailingWhitespace:Yo}=Un(Sa.value),Ro=Sa.prev,hs=Sa.next;Io?(Sa.value=Io,Sa.sourceSpan=new En(Sa.sourceSpan.start.moveBy(Xa.length),Sa.sourceSpan.end.moveBy(-Yo.length)),Xa&&(Ro&&(Ro.hasTrailingSpaces=!0),Sa.hasLeadingSpaces=!0),Yo&&(Sa.hasTrailingSpaces=!0,hs&&(hs.hasLeadingSpaces=!0))):(zi.removeChild(Sa),da--,(Xa||Yo)&&(Ro&&(Ro.hasTrailingSpaces=!0),hs&&(hs.hasLeadingSpaces=!0)))}zi.isWhitespaceSensitive=Zi,zi.isIndentationSensitive=oa})}function Xo(Vn){Vn.walk(zi=>{zi.isSelfClosing=!zi.children||zi.type==="element"&&(zi.tagDefinition.isVoid||zi.startSourceSpan===zi.endSourceSpan)})}function ji(Vn,zi){Vn.walk(Zi=>{Zi.type==="element"&&(Zi.hasHtmComponentClosingTag=Zi.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(zi.originalText.slice(Zi.endSourceSpan.start.offset,Zi.endSourceSpan.end.offset)))})}function ma(Vn,zi){Vn.walk(Zi=>{Zi.cssDisplay=An(Zi,zi)})}function Mi(Vn,zi){Vn.walk(Zi=>{let{children:oa}=Zi;if(oa){if(oa.length===0){Zi.isDanglingSpaceSensitive=oi(Zi);return}for(let da of oa)da.isLeadingSpaceSensitive=Wi(da,zi),da.isTrailingSpaceSensitive=Hi(da,zi);for(let da=0;da<oa.length;da++){let Sa=oa[da];Sa.isLead
`+Un.replace(/^\s*\n/,"")}ui.exports={hasPragma:En,insertPragma:Hn}}}),gc=Oo({"src/language-html/loc.js"(In,ui){Mn();function En(Un){return Un.sourceSpan.start.offset}function Hn(Un){return Un.sourceSpan.end.offset}ui.exports={locStart:En,locEnd:Hn}}}),Hc=Oo({"src/language-html/print/tag.js"(In,ui){Mn();var En=vc(),{isNonEmptyArray:Hn}=qc(),{builders:{indent:Un,join:Sn,line:Nn,softline:An,hardline:oi},utils:{replaceTextEndOfLine:mi}}=Ec(),{locStart:Wi,locEnd:Hi}=gc(),{isTextLikeNode:Ki,getLastDescendant:fi,isPreLikeNode:Ni,hasPrettierIgnore:ra,shouldPreserveContent:Ta,isVueSfcBlock:Ra}=fu();function aa(co,ks){return[co.isSelfClosing?"":Ia(co,ks),pa(co,ks)]}function Ia(co,ks){return co.lastChild&&Vn(co.lastChild)?"":[za(co,ks),Xo(co,ks)]}function pa(co,ks){return(co.next?Mi(co.next):ta(co.parent))?"":[ji(co,ks),ka(co,ks)]}function za(co,ks){return ta(co)?ji(co.lastChild,ks):""}function ka(co,ks){return Vn(co)?Xo(co.parent,ks):zi(co)?Ro(co.next):""}function Xo(co,ks){if(En(!co.isSelfClosing),ma(co,ks))return"";switch(co.type){case"ieConditionalComment":return"<!";case"element":if(co.hasHtmComponentClosingTag)return"<//";default:return`</${co.rawName}`}}function ji(co,ks){if(ma(co,ks))return"";switch(co.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(co.isSelfClosing)return"/>";default:return">"}}function ma(co,ks){return!co.isSelfClosing&&!co.endSourceSpan&&(ra(co)||Ta(co.parent,ks))}function Mi(co){return co.prev&&co.prev.type!=="docType"&&!Ki(co.prev)&&co.isLeadingSpaceSensitive&&!co.hasLeadingSpaces}function ta(co){return co.lastChild&&co.lastChild.isTrailingSpaceSensitive&&!co.lastChild.hasTrailingSpaces&&!Ki(fi(co.lastChild))&&!Ni(co)}function Vn(co){return!co.next&&!co.hasTrailingSpaces&&co.isTrailingSpaceSensitive&&Ki(fi(co))}function zi(co){return co.next&&!Ki(co.next)&&Ki(co)&&co.isTrailingSpaceSensitive&&!co.hasTrailingSpaces}function Zi(co){let ks=co.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return ks?ks[1]?ks[1].split(/\s+/):!0:!1}function oa(co){return!co.prev&&co.isLeadingSpaceSensitive&&!co.hasLeadingSpaces}function da(co,ks,Go){let No=co.getValue();if(!Hn(No.attrs))return No.isSelfClosing?" ":"";let _s=No.prev&&No.prev.type==="comment"&&Zi(No.prev.value),Js=typeof _s=="boolean"?()=>_s:Array.isArray(_s)?ul=>_s.includes(ul.rawName):()=>!1,Ps=co.map(ul=>{let nl=ul.getValue();return Js(nl)?mi(ks.originalText.slice(Wi(nl),Hi(nl))):Go()},"attrs"),cl=No.type==="element"&&No.fullName==="script"&&No.attrs.length===1&&No.attrs[0].fullName==="src"&&No.children.length===0,$o=ks.singleAttributePerLine&&No.attrs.length>1&&!Ra(No,ks)?oi:Nn,xs=[Un([cl?" ":Nn,Sn($o,Ps)])];return No.firstChild&&oa(No.firstChild)||No.isSelfClosing&&ta(No.parent)||cl?xs.push(No.isSelfClosing?" ":""):xs.push(ks.bracketSameLine?No.isSelfClosing?" ":"":No.isSelfClosing?Nn:An),xs}function Sa(co){return co.firstChild&&oa(co.firstChild)?"":hs(co)}function Xa(co,ks,Go){let No=co.getValue();return[Io(No,ks),da(co,ks,Go),No.isSelfClosing?"":Sa(No)]}function Io(co,ks){return co.prev&&zi(co.prev)?"":[Yo(co,ks),Ro(co)]}function Yo(co,ks){return oa(co)?hs(co.parent):Mi(co)?ji(co.prev,ks):""}function Ro(co){switch(co.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${co.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(co.condition)return`<!--[if ${co.condition}]><!--><${co.rawName}`;default:return`<${co.rawName}`}}function hs(co){switch(En(!co.isSelfClosing),co.type){case"ieConditionalComment":return"]>";case"element":if(co.condition)return"><!--<![endif]-->";default:return">"}}ui.exports={printClosingTag:aa,printClosingTagStart:Ia,printClosingTagStartMarker:Xo,printClosingTagEndMarker:ji,printClosingTagSuffix:ka,printClosingTagEnd:pa,needsToBorrowLastChildClosingTagEndMarker:ta,needsToBorrowParentClosingTagStartMarker:Vn,needsToBorrowPrevClosingTagEndMarker:Mi,printOpeningTag:Xa,printOpeningTagSt
`||Xo==="\f"||Xo==="\r"}function Nn(Xo){var ji,ma=Xo.exec(En.substring(Ia));if(ma)return ji=ma[0],Ia+=ji.length,ji}for(var An=En.length,oi=/^[ \t\n\r\u000c]+/,mi=/^[, \t\n\r\u000c]+/,Wi=/^[^ \t\n\r\u000c]+/,Hi=/[,]+$/,Ki=/^\d+$/,fi=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,Ni,ra,Ta,Ra,aa,Ia=0,pa=[];;){if(Nn(mi),Ia>=An)return pa;Ni=Nn(Wi),ra=[],Ni.slice(-1)===","?(Ni=Ni.replace(Hi,""),ka()):za()}function za(){for(Nn(oi),Ta="",Ra="in descriptor";;){if(aa=En.charAt(Ia),Ra==="in descriptor")if(Sn(aa))Ta&&(ra.push(Ta),Ta="",Ra="after descriptor");else if(aa===","){Ia+=1,Ta&&ra.push(Ta),ka();return}else if(aa==="(")Ta=Ta+aa,Ra="in parens";else if(aa===""){Ta&&ra.push(Ta),ka();return}else Ta=Ta+aa;else if(Ra==="in parens")if(aa===")")Ta=Ta+aa,Ra="in descriptor";else if(aa===""){ra.push(Ta),ka();return}else Ta=Ta+aa;else if(Ra==="after descriptor"&&!Sn(aa))if(aa===""){ka();return}else Ra="in descriptor",Ia-=1;Ia+=1}}function ka(){var Xo=!1,ji,ma,Mi,ta,Vn={},zi,Zi,oa,da,Sa;for(ta=0;ta<ra.length;ta++)zi=ra[ta],Zi=zi[zi.length-1],oa=zi.substring(0,zi.length-1),da=parseInt(oa,10),Sa=parseFloat(oa),Ki.test(oa)&&Zi==="w"?((ji||ma)&&(Xo=!0),da===0?Xo=!0:ji=da):fi.test(oa)&&Zi==="x"?((ji||ma||Mi)&&(Xo=!0),Sa<0?Xo=!0:ma=Sa):Ki.test(oa)&&Zi==="h"?((Mi||ma)&&(Xo=!0),da===0?Xo=!0:Mi=da):Xo=!0;Xo?Un&&Un.error&&Un.error("Invalid srcset descriptor found in '"+En+"' at '"+zi+"'."):(Vn.url=Ni,ji&&(Vn.w=ji),ma&&(Vn.d=ma),Mi&&(Vn.h=Mi),pa.push(Vn))}}})}}),Xc=Oo({"src/language-html/syntax-attribute.js"(In,ui){Mn();var En=zc(),{builders:{ifBreak:Hn,join:Un,line:Sn}}=Ec();function Nn(oi){let mi=En(oi,{logger:{error(za){throw new Error(za)}}}),Wi=mi.some(za=>{let{w:ka}=za;return ka}),Hi=mi.some(za=>{let{h:ka}=za;return ka}),Ki=mi.some(za=>{let{d:ka}=za;return ka});if(Wi+Hi+Ki>1)throw new Error("Mixed descriptor in srcset is not supported");let fi=Wi?"w":Hi?"h":"d",Ni=Wi?"w":Hi?"h":"x",ra=za=>Math.max(...za),Ta=mi.map(za=>za.url),Ra=ra(Ta.map(za=>za.length)),aa=mi.map(za=>za[fi]).map(za=>za?za.toString():""),Ia=aa.map(za=>{let ka=za.indexOf(".");return ka===-1?za.length:ka}),pa=ra(Ia);return Un([",",Sn],Ta.map((za,ka)=>{let Xo=[za],ji=aa[ka];if(ji){let ma=Ra-za.length+1,Mi=pa-Ia[ka],ta=" ".repeat(ma+Mi);Xo.push(Hn(ta," "),ji+Ni)}return Xo}))}function An(oi){return oi.trim().split(/\s+/).join(" ")}ui.exports={printImgSrcset:Nn,printClassNames:An}}}),Qs=Oo({"src/language-html/syntax-vue.js"(In,ui){Mn();var{builders:{group:En}}=Ec();function Hn(An,oi){let{left:mi,operator:Wi,right:Hi}=Un(An);return[En(oi(`function _(${mi}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",Wi," ",oi(Hi,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function Un(An){let oi=/(.*?)\s+(in|of)\s+(.*)/s,mi=/,([^,\]}]*)(?:,([^,\]}]*))?$/,Wi=/^\(|\)$/g,Hi=An.match(oi);if(!Hi)return;let Ki={};if(Ki.for=Hi[3].trim(),!Ki.for)return;let fi=Hi[1].trim().replace(Wi,""),Ni=fi.match(mi);Ni?(Ki.alias=fi.replace(mi,""),Ki.iterator1=Ni[1].trim(),Ni[2]&&(Ki.iterator2=Ni[2].trim())):Ki.alias=fi;let ra=[Ki.alias,Ki.iterator1,Ki.iterator2];if(!ra.some((Ta,Ra)=>!Ta&&(Ra===0||ra.slice(Ra+1).some(Boolean))))return{left:ra.filter(Boolean).join(","),operator:Hi[2],right:Ki.for}}function Sn(An,oi){return oi(`function _(${An}) {}`,{parser:"babel",__isVueBindings:!0})}function Nn(An){let oi=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,mi=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,Wi=An.trim();return oi.test(Wi)||mi.test(Wi)}ui.exports={isVueEventBindingExpression:Nn,printVueFor:Hn,printVueBindings:Sn}}}),yl=Oo({"src/language-html/get-node-content.js"(In,ui){Mn();var{needsToBorrowParentClosingTagStartMarker:En,printClosingTagStartMarker:Hn,needsToBorrowLastChildClosingTagEndMarker:Un,printClosingTagEndMarker:Sn,needsToBorrowParentOpeningTagEndMarker:Nn,printOpeningTagEndMarker:An}=Hc();function oi(mi,Wi){let Hi=mi.startSourceSpan.end.offset;mi.firstChild&&Nn(mi.firstChild)&&(Hi-=An(mi).length);let Ki=mi.endSourceSpan.start.offset;return mi.lastChild&&En(mi.lastChild)?Ki+=Hn(mi,Wi).length:Un(mi)&&(Ki-=Sn(mi.lastChild,Wi).length),Wi.orig
${Sn}`}ui.exports={isPragma:En,hasPragma:Hn,insertPragma:Un}}}),Ep=Oo({"src/language-yaml/loc.js"(In,ui){Mn();function En(Un){return Un.position.start.offset}function Hn(Un){return Un.position.end.offset}ui.exports={locStart:En,locEnd:Hn}}}),ed=Oo({"src/language-yaml/embed.js"(In,ui){Mn();function En(Hn,Un,Sn,Nn){if(Hn.getValue().type==="root"&&Nn.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(Nn.filepath))return Sn(Nn.originalText,Object.assign(Object.assign({},Nn),{},{parser:"json"}))}ui.exports=En}}),gp=Oo({"src/language-yaml/utils.js"(In,ui){Mn();var{getLast:En,isNonEmptyArray:Hn}=qc();function Un(ji,ma){let Mi=0,ta=ji.stack.length-1;for(let Vn=0;Vn<ta;Vn++){let zi=ji.stack[Vn];Sn(zi)&&ma(zi)&&Mi++}return Mi}function Sn(ji,ma){return ji&&typeof ji.type=="string"&&(!ma||ma.includes(ji.type))}function Nn(ji,ma,Mi){return ma("children"in ji?Object.assign(Object.assign({},ji),{},{children:ji.children.map(ta=>Nn(ta,ma,ji))}):ji,Mi)}function An(ji,ma,Mi){Object.defineProperty(ji,ma,{get:Mi,enumerable:!1})}function oi(ji,ma){let Mi=0,ta=ma.length;for(let Vn=ji.position.end.offset-1;Vn<ta;Vn++){let zi=ma[Vn];if(zi===`
`&&Mi++,Mi===1&&/\S/.test(zi))return!1;if(Mi===2)return!0}return!1}function mi(ji){switch(ji.getValue().type){case"tag":case"anchor":case"comment":return!1}let ma=ji.stack.length;for(let Mi=1;Mi<ma;Mi++){let ta=ji.stack[Mi],Vn=ji.stack[Mi-1];if(Array.isArray(Vn)&&typeof ta=="number"&&ta!==Vn.length-1)return!1}return!0}function Wi(ji){return Hn(ji.children)?Wi(En(ji.children)):ji}function Hi(ji){return ji.value.trim()==="prettier-ignore"}function Ki(ji){let ma=ji.getValue();if(ma.type==="documentBody"){let Mi=ji.getParentNode();return Ia(Mi.head)&&Hi(En(Mi.head.endComments))}return ra(ma)&&Hi(En(ma.leadingComments))}function fi(ji){return!Hn(ji.children)&&!Ni(ji)}function Ni(ji){return ra(ji)||Ta(ji)||Ra(ji)||aa(ji)||Ia(ji)}function ra(ji){return Hn(ji==null?void 0:ji.leadingComments)}function Ta(ji){return Hn(ji==null?void 0:ji.middleComments)}function Ra(ji){return ji==null?void 0:ji.indicatorComment}function aa(ji){return ji==null?void 0:ji.trailingComment}function Ia(ji){return Hn(ji==null?void 0:ji.endComments)}function pa(ji){let ma=[],Mi;for(let ta of ji.split(/( +)/))ta!==" "?Mi===" "?ma.push(ta):ma.push((ma.pop()||"")+ta):Mi===void 0&&ma.unshift(""),Mi=ta;return Mi===" "&&ma.push((ma.pop()||"")+" "),ma[0]===""&&(ma.shift(),ma.unshift(" "+(ma.shift()||""))),ma}function za(ji,ma,Mi){let ta=ma.split(`
`).map((Vn,zi,Zi)=>zi===0&&zi===Zi.length-1?Vn:zi!==0&&zi!==Zi.length-1?Vn.trim():zi===0?Vn.trimEnd():Vn.trimStart());return Mi.proseWrap==="preserve"?ta.map(Vn=>Vn.length===0?[]:[Vn]):ta.map(Vn=>Vn.length===0?[]:pa(Vn)).reduce((Vn,zi,Zi)=>Zi!==0&&ta[Zi-1].length>0&&zi.length>0&&!(ji==="quoteDouble"&&En(En(Vn)).endsWith("\\"))?[...Vn.slice(0,-1),[...En(Vn),...zi]]:[...Vn,zi],[]).map(Vn=>Mi.proseWrap==="never"?[Vn.join(" ")]:Vn)}function ka(ji,ma){let{parentIndent:Mi,isLastDescendant:ta,options:Vn}=ma,zi=ji.position.start.line===ji.position.end.line?"":Vn.originalText.slice(ji.position.start.offset,ji.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],Zi;if(ji.indent===null){let Sa=zi.match(/^(?<leadingSpace> *)[^\n\r ]/m);Zi=Sa?Sa.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else Zi=ji.indent-1+Mi;let oa=zi.split(`
`).map(Sa=>Sa.slice(Zi));if(Vn.proseWrap==="preserve"||ji.type==="blockLiteral")return da(oa.map(Sa=>Sa.length===0?[]:[Sa]));return da(oa.map(Sa=>Sa.length===0?[]:pa(Sa)).reduce((Sa,Xa,Io)=>Io!==0&&oa[Io-1].length>0&&Xa.length>0&&!/^\s/.test(Xa[0])&&!/^\s|\s$/.test(En(Sa))?[...Sa.slice(0,-1),[...En(Sa),...Xa]]:[...Sa,Xa],[]).map(Sa=>Sa.reduce((Xa,Io)=>Xa.length>0&&/\s$/.test(En(Xa))?[...Xa.slice(0,-1),En(Xa)+" "+Io]:[...Xa,Io],[])).map(Sa=>Vn.proseWrap==="never"?[Sa.join(" ")]:Sa));function da(Sa){if(ji.chomping==="keep")return En(Sa).length===0?Sa.slice(0,-1):Sa;let Xa=0;for(let Io=Sa.length-1;Io>=0&&Sa[Io].length===0;Io--)Xa++;return Xa===0?Sa:Xa>=2&&!ta?Sa.slice(0,-(Xa-1)):Sa.slice(0,-Xa)}}function Xo(ji){if(!ji)return!0;switch(ji.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}ui.exports={getLast:En,getAncestorCount:Un,isNode:Sn,isEmptyNode:fi,isInlineNode:Xo,mapNode:Nn,defineShortcut:An,isNextLineEmpty:oi,isLastDescendantNode:mi,getBlockValueLineContents:ka,getFlowScalarLineContents:za,getLastDescendantNode:Wi,hasPrettierIgnore:Ki,hasLeadingComments:ra,hasMiddleComments:Ta,hasIndicatorComment:Ra,hasTrailingComment:aa,hasEndComments:Ia}}}),Cp=Oo({"src/language-yaml/print-preprocess.js"(In,ui){Mn();var{defineShortcut:En,mapNode:Hn}=gp();function Un(Nn){return Hn(Nn,Sn)}function Sn(Nn){switch(Nn.type){case"document":En(Nn,"head",()=>Nn.children[0]),En(Nn,"body",()=>Nn.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":En(Nn,"content",()=>Nn.children[0]);break;case"mappingItem":case"flowMappingItem":En(Nn,"key",()=>Nn.children[0]),En(Nn,"value",()=>Nn.children[1]);break}return Nn}ui.exports=Un}}),Sp=Oo({"src/language-yaml/print/misc.js"(In,ui){Mn();var{builders:{softline:En,align:Hn}}=Ec(),{hasEndComments:Un,isNextLineEmpty:Sn,isNode:Nn}=gp(),An=new WeakMap;function oi(Hi,Ki){let fi=Hi.getValue(),Ni=Hi.stack[0],ra;return An.has(Ni)?ra=An.get(Ni):(ra=new Set,An.set(Ni,ra)),!ra.has(fi.position.end.line)&&(ra.add(fi.position.end.line),Sn(fi,Ki)&&!mi(Hi.getParentNode()))?En:""}function mi(Hi){return Un(Hi)&&!Nn(Hi,["documentHead","documentBody","flowMapping","flowSequence"])}function Wi(Hi,Ki){return Hn(" ".repeat(Hi),Ki)}ui.exports={alignWithSpaces:Wi,shouldPrintEndComments:mi,printNextEmptyLine:oi}}}),r0=Oo({"src/language-yaml/print/flow-mapping-sequence.js"(In,ui){Mn();var{builders:{ifBreak:En,line:Hn,softline:Un,hardline:Sn,join:Nn}}=Ec(),{isEmptyNode:An,getLast:oi,hasEndComments:mi}=gp(),{printNextEmptyLine:Wi,alignWithSpaces:Hi}=Sp();function Ki(Ni,ra,Ta){let Ra=Ni.getValue(),aa=Ra.type==="flowMapping",Ia=aa?"{":"[",pa=aa?"}":"]",za=Un;aa&&Ra.children.length>0&&Ta.bracketSpacing&&(za=Hn);let ka=oi(Ra.children),Xo=ka&&ka.type==="flowMappingItem"&&An(ka.key)&&An(ka.value);return[Ia,Hi(Ta.tabWidth,[za,fi(Ni,ra,Ta),Ta.trailingComma==="none"?"":En(","),mi(Ra)?[Sn,Nn(Sn,Ni.map(ra,"endComments"))]:""]),Xo?"":za,pa]}function fi(Ni,ra,Ta){let Ra=Ni.getValue();return Ni.map((aa,Ia)=>[ra(),Ia===Ra.children.length-1?"":[",",Hn,Ra.children[Ia].position.start.line!==Ra.children[Ia+1].position.start.line?Wi(aa,Ta.originalText):""]],"children")}ui.exports={printFlowMapping:Ki,printFlowSequence:Ki}}}),u0=Oo({"src/language-yaml/print/mapping-item.js"(In,ui){Mn();var{builders:{conditionalGroup:En,group:Hn,hardline:Un,ifBreak:Sn,join:Nn,line:An}}=Ec(),{hasLeadingComments:oi,hasMiddleComments:mi,hasTrailingComment:Wi,hasEndComments:Hi,isNode:Ki,isEmptyNode:fi,isInlineNode:Ni}=gp(),{alignWithSpaces:ra}=Sp();function Ta(pa,za,ka,Xo,ji){let{key:ma,value:Mi}=pa,ta=fi(ma),Vn=fi(Mi);if(ta&&Vn)return": ";let zi=Xo("key"),Zi=aa(pa)?" ":"";if(Vn)return pa.type==="flowMappingItem"&&za.type==="flowMapping"?zi:pa.type==="mappingItem"&&Ra(ma.content,ji)&&!Wi(ma.content)&&(!za.tag||za.tag.value!=="tag:yaml.org,2002:set")?[zi,Zi,":"]:["? ",ra(2,zi)];let oa=Xo("value");if(ta)return[": ",ra(2,oa)];if(oi(Mi)||!Ni(ma.content))return["? ",ra(2,zi),Un,Nn("",ka.map(Xo,"value","leadingComments").map(Ro=>[Ro,Un])),":
`);case"always":return!/[\n ]/.test(pa.value);default:return!1}}function aa(pa){return pa.key.content&&pa.key.content.type==="alias"}function Ia(pa){if(!pa)return!0;switch(pa.type){case"plain":case"quoteDouble":case"quoteSingle":return pa.position.start.line===pa.position.end.line;case"alias":return!0;default:return!1}}ui.exports=Ta}}),b0=Oo({"src/language-yaml/print/block.js"(In,ui){Mn();var{builders:{dedent:En,dedentToRoot:Hn,fill:Un,hardline:Sn,join:Nn,line:An,literalline:oi,markAsRoot:mi},utils:{getDocParts:Wi}}=Ec(),{getAncestorCount:Hi,getBlockValueLineContents:Ki,hasIndicatorComment:fi,isLastDescendantNode:Ni,isNode:ra}=gp(),{alignWithSpaces:Ta}=Sp();function Ra(aa,Ia,pa){let za=aa.getValue(),ka=Hi(aa,ta=>ra(ta,["sequence","mapping"])),Xo=Ni(aa),ji=[za.type==="blockFolded"?">":"|"];za.indent!==null&&ji.push(za.indent.toString()),za.chomping!=="clip"&&ji.push(za.chomping==="keep"?"+":"-"),fi(za)&&ji.push(" ",Ia("indicatorComment"));let ma=Ki(za,{parentIndent:ka,isLastDescendant:Xo,options:pa}),Mi=[];for(let[ta,Vn]of ma.entries())ta===0&&Mi.push(Sn),Mi.push(Un(Wi(Nn(An,Vn)))),ta!==ma.length-1?Mi.push(Vn.length===0?Sn:mi(oi)):za.chomping==="keep"&&Xo&&Mi.push(Hn(Vn.length===0?Sn:oi));return za.indent===null?ji.push(En(Ta(pa.tabWidth,Mi))):ji.push(Hn(Ta(za.indent-1+ka,Mi))),ji}ui.exports=Ra}}),Xp=Oo({"src/language-yaml/printer-yaml.js"(In,ui){Mn();var{builders:{breakParent:En,fill:Hn,group:Un,hardline:Sn,join:Nn,line:An,lineSuffix:oi,literalline:mi},utils:{getDocParts:Wi,replaceTextEndOfLine:Hi}}=Ec(),{isPreviousLineEmpty:Ki}=qc(),{insertPragma:fi,isPragma:Ni}=of(),{locStart:ra}=Ep(),Ta=ed(),{getFlowScalarLineContents:Ra,getLastDescendantNode:aa,hasLeadingComments:Ia,hasMiddleComments:pa,hasTrailingComment:za,hasEndComments:ka,hasPrettierIgnore:Xo,isLastDescendantNode:ji,isNode:ma,isInlineNode:Mi}=gp(),ta=Cp(),{alignWithSpaces:Vn,printNextEmptyLine:zi,shouldPrintEndComments:Zi}=Sp(),{printFlowMapping:oa,printFlowSequence:da}=r0(),Sa=u0(),Xa=b0();function Io(No,_s,Js){let Ps=No.getValue(),cl=[];Ps.type!=="mappingValue"&&Ia(Ps)&&cl.push([Nn(Sn,No.map(Js,"leadingComments")),Sn]);let{tag:$o,anchor:xs}=Ps;$o&&cl.push(Js("tag")),$o&&xs&&cl.push(" "),xs&&cl.push(Js("anchor"));let ul="";ma(Ps,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!ji(No)&&(ul=zi(No,_s.originalText)),($o||xs)&&(ma(Ps,["sequence","mapping"])&&!pa(Ps)?cl.push(Sn):cl.push(" ")),pa(Ps)&&cl.push([Ps.middleComments.length===1?"":Sn,Nn(Sn,No.map(Js,"middleComments")),Sn]);let nl=No.getParentNode();return Xo(No)?cl.push(Hi(_s.originalText.slice(Ps.position.start.offset,Ps.position.end.offset).trimEnd(),mi)):cl.push(Un(Yo(Ps,nl,No,_s,Js))),za(Ps)&&!ma(Ps,["document","documentHead"])&&cl.push(oi([Ps.type==="mappingValue"&&!Ps.content?"":" ",nl.type==="mappingKey"&&No.getParentNode(2).type==="mapping"&&Mi(Ps)?"":En,Js("trailingComment")])),Zi(Ps)&&cl.push(Vn(Ps.type==="sequenceItem"?2:0,[Sn,Nn(Sn,No.map(Du=>[Ki(_s.originalText,Du.getValue(),ra)?Sn:"",Js()],"endComments"))])),cl.push(ul),cl}function Yo(No,_s,Js,Ps,cl){switch(No.type){case"root":{let{children:$o}=No,xs=[];Js.each((nl,Du)=>{let Ds=$o[Du],ds=$o[Du+1];Du!==0&&xs.push(Sn),xs.push(cl()),hs(Ds,ds)?(xs.push(Sn,"..."),za(Ds)&&xs.push(" ",cl("trailingComment"))):ds&&!za(ds.head)&&xs.push(Sn,"---")},"children");let ul=aa(No);return(!ma(ul,["blockLiteral","blockFolded"])||ul.chomping!=="keep")&&xs.push(Sn),xs}case"document":{let $o=_s.children[Js.getName()+1],xs=[];return co(No,$o,_s,Ps)==="head"&&((No.head.children.length>0||No.head.endComments.length>0)&&xs.push(cl("head")),za(No.head)?xs.push(["---"," ",cl(["head","trailingComment"])]):xs.push("---")),Ro(No)&&xs.push(cl("body")),Nn(Sn,xs)}case"documentHead":return Nn(Sn,[...Js.map(cl,"children"),...Js.map(cl,"endComments")]);case"documentBody":{let{children:$o,endComments:xs}=No,ul="";if($o.length>0&&xs.length>0){let nl=aa(No);ma(nl,["blockFolded","blockLiteral"])?nl.chomping!=="keep"&&(ul=[Sn,Sn]):ul=Sn}return[Nn(Sn,Js.map(cl,"children")),ul,Nn(Sn,Js.map(cl,"endComments"))]}case"directive":return["%",Nn(" ",[No.name,...No.pa
`,fs={EOL:Mo,tmpdir:fo,tmpDir:qi,networkInterfaces:Fn,getNetworkInterfaces:Ui,release:vn,type:ei,cpus:Lr,totalmem:Fs,freemem:js,uptime:Ns,loadavg:cs,hostname:Vl,endianness:_c}}}),Bo=ss({"node-modules-polyfills-commonjs:os"(Ln,Na){Cs();var va=(On(),xu(Ac));if(va&&va.default){Na.exports=va.default;for(let Ea in va)Na.exports[Ea]=va[Ea]}else va&&(Na.exports=va)}}),Yl=ss({"node_modules/detect-newline/index.js"(Ln,Na){Cs();var va=Ea=>{if(typeof Ea!="string")throw new TypeError("Expected a string");let Ma=Ea.match(/(?:\r?\n)/g)||[];if(Ma.length===0)return;let no=Ma.filter(io=>io===`\r
`).length,Qa=Ma.length-no;return no>Qa?`\r
`:`
`};Na.exports=va,Na.exports.graceful=Ea=>typeof Ea=="string"&&va(Ea)||`
`}}),Oo=ss({"node_modules/jest-docblock/build/index.js"(Ln){Cs(),Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.extract=la,Ln.parse=Eo,Ln.parseWithComments=os,Ln.print=rs,Ln.strip=Do;function Na(){let Ls=Bo();return Na=function(){return Ls},Ls}function va(){let Ls=Ea(Yl());return va=function(){return Ls},Ls}function Ea(Ls){return Ls&&Ls.__esModule?Ls:{default:Ls}}var Ma=/\*\/$/,no=/^\/\*\*?/,Qa=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,io=/(^|\s+)\/\/([^\r\n]*)/g,Ba=/^(\r?\n)+/,ro=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Wn=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,xn=/(\r?\n|^) *\* ?/g,xa=[];function la(Ls){let Vs=Ls.match(Qa);return Vs?Vs[0].trimLeft():""}function Do(Ls){let Vs=Ls.match(Qa);return Vs&&Vs[0]?Ls.substring(Vs[0].length):Ls}function Eo(Ls){return os(Ls).pragmas}function os(Ls){let Vs=(0,va().default)(Ls)||Na().EOL;Ls=Ls.replace(no,"").replace(Ma,"").replace(xn,"$1");let tl="";for(;tl!==Ls;)tl=Ls,Ls=Ls.replace(ro,`${Vs}$1 $2${Vs}`);Ls=Ls.replace(Ba,"").trimRight();let wu=Object.create(null),Hu=Ls.replace(Wn,"").replace(Ba,"").trimRight(),dc;for(;dc=Wn.exec(Ls);){let Bc=dc[2].replace(io,"");typeof wu[dc[1]]=="string"||Array.isArray(wu[dc[1]])?wu[dc[1]]=xa.concat(wu[dc[1]],Bc):wu[dc[1]]=Bc}return{comments:Hu,pragmas:wu}}function rs(Ls){let{comments:Vs="",pragmas:tl={}}=Ls,wu=(0,va().default)(Vs)||Na().EOL,Hu="/**",dc=" *",Bc=" */",Mc=Object.keys(tl),Uc=Mc.map(kc=>So(kc,tl[kc])).reduce((kc,ku)=>kc.concat(ku),[]).map(kc=>`${dc} ${kc}${wu}`).join("");if(!Vs){if(Mc.length===0)return"";if(Mc.length===1&&!Array.isArray(tl[Mc[0]])){let kc=tl[Mc[0]];return`${Hu} ${So(Mc[0],kc)[0]}${Bc}`}}let Pc=Vs.split(wu).map(kc=>`${dc} ${kc}`).join(wu)+wu;return Hu+wu+(Vs?Pc:"")+(Vs&&Mc.length?dc+wu:"")+Uc+Bc}function So(Ls,Vs){return xa.concat(Vs).map(tl=>`@${Ls} ${tl}`.trim())}}}),_u=ss({"src/common/end-of-line.js"(Ln,Na){Cs();function va(Qa){let io=Qa.indexOf("\r");return io>=0?Qa.charAt(io+1)===`
`?"crlf":"cr":"lf"}function Ea(Qa){switch(Qa){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}function Ma(Qa,io){let Ba;switch(io){case`
`:Ba=/\n/g;break;case"\r":Ba=/\r/g;break;case`\r
`:Ba=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(io)}.`)}let ro=Qa.match(Ba);return ro?ro.length:0}function no(Qa){return Qa.replace(/\r\n?/g,`
`)}Na.exports={guessEndOfLine:va,convertEndOfLineToChars:Ea,countEndOfLineChars:Ma,normalizeEndOfLine:no}}}),$l=ss({"src/language-js/utils/get-shebang.js"(Ln,Na){Cs();function va(Ea){if(!Ea.startsWith("#!"))return"";let Ma=Ea.indexOf(`
`);return Ma===-1?Ea:Ea.slice(0,Ma)}Na.exports=va}}),tc=ss({"src/language-js/pragma.js"(Ln,Na){Cs();var{parseWithComments:va,strip:Ea,extract:Ma,print:no}=Oo(),{normalizeEndOfLine:Qa}=_u(),io=$l();function Ba(xn){let xa=io(xn);xa&&(xn=xn.slice(xa.length+1));let la=Ma(xn),{pragmas:Do,comments:Eo}=va(la);return{shebang:xa,text:xn,pragmas:Do,comments:Eo}}function ro(xn){let xa=Object.keys(Ba(xn).pragmas);return xa.includes("prettier")||xa.includes("format")}function Wn(xn){let{shebang:xa,text:la,pragmas:Do,comments:Eo}=Ba(xn),os=Ea(la),rs=no({pragmas:Object.assign({format:""},Do),comments:Eo.trimStart()});return(xa?`${xa}
`:"")+Qa(rs)+(os.startsWith(`
`)?`
`:`
`)+os}Na.exports={hasPragma:ro,insertPragma:Wn}}}),ju=ss({"src/language-css/pragma.js"(Ln,Na){Cs();var va=tc(),Ea=Lc();function Ma(Qa){return va.hasPragma(Ea(Qa).content)}function no(Qa){let{frontMatter:io,content:Ba}=Ea(Qa);return(io?io.raw+`
`:"")+va.insertPragma(Ba)}Na.exports={hasPragma:Ma,insertPragma:no}}}),Gu=ss({"src/utils/text/skip.js"(Ln,Na){Cs();function va(io){return(Ba,ro,Wn)=>{let xn=Wn&&Wn.backwards;if(ro===!1)return!1;let{length:xa}=Ba,la=ro;for(;la>=0&&la<xa;){let Do=Ba.charAt(la);if(io instanceof RegExp){if(!io.test(Do))return la}else if(!io.includes(Do))return la;xn?la--:la++}return la===-1||la===xa?la:!1}}var Ea=va(/\s/),Ma=va(" "),no=va(",; "),Qa=va(/[^\n\r]/);Na.exports={skipWhitespace:Ea,skipSpaces:Ma,skipToLineEnd:no,skipEverythingButNewLine:Qa}}}),Mn=ss({"src/utils/line-column-to-index.js"(Ln,Na){Cs(),Na.exports=function(va,Ea){let Ma=0;for(let no=0;no<va.line-1;++no)Ma=Ea.indexOf(`
`,Ma)+1;return Ma+va.column}}}),Qo=ss({"src/language-css/loc.js"(Ln,Na){Cs();var{skipEverythingButNewLine:va}=Gu(),Ea=Pu(),Ma=Mn();function no(la,Do){return typeof la.sourceIndex=="number"?la.sourceIndex:la.source?Ma(la.source.start,Do)-1:null}function Qa(la,Do){if(la.type==="css-comment"&&la.inline)return va(Do,la.source.startOffset);let Eo=la.nodes&&Ea(la.nodes);return Eo&&la.source&&!la.source.end&&(la=Eo),la.source&&la.source.end?Ma(la.source.end,Do):null}function io(la,Do){la.source&&(la.source.startOffset=no(la,Do),la.source.endOffset=Qa(la,Do));for(let Eo in la){let os=la[Eo];Eo==="source"||!os||typeof os!="object"||(os.type==="value-root"||os.type==="value-unknown"?Ba(os,ro(la),os.text||os.value):io(os,Do))}}function Ba(la,Do,Eo){la.source&&(la.source.startOffset=no(la,Eo)+Do,la.source.endOffset=Qa(la,Eo)+Do);for(let os in la){let rs=la[os];os==="source"||!rs||typeof rs!="object"||Ba(rs,Do,Eo)}}function ro(la){let Do=la.source.startOffset;return typeof la.prop=="string"&&(Do+=la.prop.length),la.type==="css-atrule"&&typeof la.name=="string"&&(Do+=1+la.name.length+la.raws.afterName.match(/^\s*:?\s*/)[0].length),la.type!=="css-atrule"&&la.raws&&typeof la.raws.between=="string"&&(Do+=la.raws.between.length),Do}function Wn(la){let Do="initial",Eo="initial",os,rs=!1,So=[];for(let Ls=0;Ls<la.length;Ls++){let Vs=la[Ls];switch(Do){case"initial":if(Vs==="'"){Do="single-quotes";continue}if(Vs==='"'){Do="double-quotes";continue}if((Vs==="u"||Vs==="U")&&la.slice(Ls,Ls+4).toLowerCase()==="url("){Do="url",Ls+=3;continue}if(Vs==="*"&&la[Ls-1]==="/"){Do="comment-block";continue}if(Vs==="/"&&la[Ls-1]==="/"){Do="comment-inline",os=Ls-1;continue}continue;case"single-quotes":if(Vs==="'"&&la[Ls-1]!=="\\"&&(Do=Eo,Eo="initial"),Vs===`
`||Vs==="\r")return la;continue;case"double-quotes":if(Vs==='"'&&la[Ls-1]!=="\\"&&(Do=Eo,Eo="initial"),Vs===`
`||Vs==="\r")return la;continue;case"url":if(Vs===")"&&(Do="initial"),Vs===`
`||Vs==="\r")return la;if(Vs==="'"){Do="single-quotes",Eo="url";continue}if(Vs==='"'){Do="double-quotes",Eo="url";continue}continue;case"comment-block":Vs==="/"&&la[Ls-1]==="*"&&(Do="initial");continue;case"comment-inline":(Vs==='"'||Vs==="'"||Vs==="*")&&(rs=!0),(Vs===`
`||Vs==="\r")&&(rs&&So.push([os,Ls]),Do="initial",rs=!1);continue}}for(let[Ls,Vs]of So)la=la.slice(0,Ls)+la.slice(Ls,Vs).replace(/["'*]/g," ")+la.slice(Vs);return la}function xn(la){return la.source.startOffset}function xa(la){return la.source.endOffset}Na.exports={locStart:xn,locEnd:xa,calculateLoc:io,replaceQuotesInInlineComments:Wn}}}),jl=ss({"src/utils/is-non-empty-array.js"(Ln,Na){Cs();function va(Ea){return Array.isArray(Ea)&&Ea.length>0}Na.exports=va}}),yu=ss({"src/language-css/utils/has-scss-interpolation.js"(Ln,Na){Cs();var va=jl();function Ea(Ma){if(va(Ma)){for(let no=Ma.length-1;no>0;no--)if(Ma[no].type==="word"&&Ma[no].value==="{"&&Ma[no-1].type==="word"&&Ma[no-1].value.endsWith("#"))return!0}return!1}Na.exports=Ea}}),pl=ss({"src/language-css/utils/has-string-or-function.js"(Ln,Na){Cs();function va(Ea){return Ea.some(Ma=>Ma.type==="string"||Ma.type==="func")}Na.exports=va}}),Fu=ss({"src/language-css/utils/is-less-parser.js"(Ln,Na){Cs();function va(Ea){return Ea.parser==="css"||Ea.parser==="less"}Na.exports=va}}),Oc=ss({"src/language-css/utils/is-scss.js"(Ln,Na){Cs();function va(Ea,Ma){return Ea==="less"||Ea==="scss"?Ea==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(Ma)}Na.exports=va}}),sd=ss({"src/language-css/utils/is-scss-nested-property-node.js"(Ln,Na){Cs();function va(Ea){return Ea.selector?Ea.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}Na.exports=va}}),ud=ss({"src/language-css/utils/is-scss-variable.js"(Ln,Na){Cs();function va(Ea){return!!((Ea==null?void 0:Ea.type)==="word"&&Ea.value.startsWith("$"))}Na.exports=va}}),vp=ss({"src/language-css/utils/stringify-node.js"(Ln,Na){Cs();function va(Ea){var Ma,no,Qa;if(Ea.groups){var io,Ba,ro;let rs=((io=Ea.open)===null||io===void 0?void 0:io.value)||"",So=Ea.groups.map(Vs=>va(Vs)).join(((Ba=Ea.groups[0])===null||Ba===void 0?void 0:Ba.type)==="comma_group"?",":""),Ls=((ro=Ea.close)===null||ro===void 0?void 0:ro.value)||"";return rs+So+Ls}let Wn=((Ma=Ea.raws)===null||Ma===void 0?void 0:Ma.before)||"",xn=((no=Ea.raws)===null||no===void 0?void 0:no.quote)||"",xa=Ea.type==="atword"?"@":"",la=Ea.value||"",Do=Ea.unit||"",Eo=Ea.group?va(Ea.group):"",os=((Qa=Ea.raws)===null||Qa===void 0?void 0:Qa.after)||"";return Wn+xn+xa+la+xn+Do+Eo+os}Na.exports=va}}),dp=ss({"src/language-css/utils/is-module-rule-name.js"(Ln,Na){Cs();var va=new Set(["import","use","forward"]);function Ea(Ma){return va.has(Ma)}Na.exports=Ea}}),Rc=ss({"node_modules/postcss-values-parser/lib/node.js"(Ln,Na){Cs();var va=function(Ea,Ma){let no=new Ea.constructor;for(let Qa in Ea){if(!Ea.hasOwnProperty(Qa))continue;let io=Ea[Qa],Ba=typeof io;Qa==="parent"&&Ba==="object"?Ma&&(no[Qa]=Ma):Qa==="source"?no[Qa]=io:io instanceof Array?no[Qa]=io.map(ro=>va(ro,no)):Qa!=="before"&&Qa!=="after"&&Qa!=="between"&&Qa!=="semicolon"&&(Ba==="object"&&io!==null&&(io=va(io)),no[Qa]=io)}return no};Na.exports=class{constructor(Ea){Ea=Ea||{},this.raws={before:"",after:""};for(let Ma in Ea)this[Ma]=Ea[Ma]}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(Ea){Ea=Ea||{};let Ma=va(this);for(let no in Ea)Ma[no]=Ea[no];return Ma}cloneBefore(Ea){Ea=Ea||{};let Ma=this.clone(Ea);return this.parent.insertBefore(this,Ma),Ma}cloneAfter(Ea){Ea=Ea||{};let Ma=this.clone(Ea);return this.parent.insertAfter(this,Ma),Ma}replaceWith(){let Ea=Array.prototype.slice.call(arguments);if(this.parent){for(let Ma of Ea)this.parent.insertBefore(this,Ma);this.remove()}return this}moveTo(Ea){return this.cleanRaws(this.root()===Ea.root()),this.remove(),Ea.append(this),this}moveBefore(Ea){return this.cleanRaws(this.root()===Ea.root()),this.remove(),Ea.parent.insertBefore(Ea,this),this}moveAfter(Ea){return this.cleanRaws(this.root()===Ea.root()),this.remove(),Ea.parent.insertAfter(Ea,this),this}next(){let Ea=this.parent.index(this);return this.parent.nodes[Ea+1]}prev(){let Ea=this.parent.index(this);return this.parent.nodes[Ea-1]}toJSON(){let Ea={};for(let Ma in this){if(!this.hasOwnProperty(
`?(no=1,Qa+=1):no+=1;return{line:Qa,column:no}}positionBy(Ea){let Ma=this.source.start;if(Object(Ea).index)Ma=this.positionInside(Ea.index);else if(Object(Ea).word){let no=this.toString().indexOf(Ea.word);no!==-1&&(Ma=this.positionInside(no))}return Ma}}}}),qd=ss({"node_modules/postcss-values-parser/lib/container.js"(Ln,Na){Cs();var va=Rc(),Ea=class extends va{constructor(Ma){super(Ma),this.nodes||(this.nodes=[])}push(Ma){return Ma.parent=this,this.nodes.push(Ma),this}each(Ma){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let no=this.lastEach,Qa,io;if(this.indexes[no]=0,!!this.nodes){for(;this.indexes[no]<this.nodes.length&&(Qa=this.indexes[no],io=Ma(this.nodes[Qa],Qa),io!==!1);)this.indexes[no]+=1;return delete this.indexes[no],io}}walk(Ma){return this.each((no,Qa)=>{let io=Ma(no,Qa);return io!==!1&&no.walk&&(io=no.walk(Ma)),io})}walkType(Ma,no){if(!Ma||!no)throw new Error("Parameters {type} and {callback} are required.");let Qa=typeof Ma=="function";return this.walk((io,Ba)=>{if(Qa&&io instanceof Ma||!Qa&&io.type===Ma)return no.call(this,io,Ba)})}append(Ma){return Ma.parent=this,this.nodes.push(Ma),this}prepend(Ma){return Ma.parent=this,this.nodes.unshift(Ma),this}cleanRaws(Ma){if(super.cleanRaws(Ma),this.nodes)for(let no of this.nodes)no.cleanRaws(Ma)}insertAfter(Ma,no){let Qa=this.index(Ma),io;this.nodes.splice(Qa+1,0,no);for(let Ba in this.indexes)io=this.indexes[Ba],Qa<=io&&(this.indexes[Ba]=io+this.nodes.length);return this}insertBefore(Ma,no){let Qa=this.index(Ma),io;this.nodes.splice(Qa,0,no);for(let Ba in this.indexes)io=this.indexes[Ba],Qa<=io&&(this.indexes[Ba]=io+this.nodes.length);return this}removeChild(Ma){Ma=this.index(Ma),this.nodes[Ma].parent=void 0,this.nodes.splice(Ma,1);let no;for(let Qa in this.indexes)no=this.indexes[Qa],no>=Ma&&(this.indexes[Qa]=no-1);return this}removeAll(){for(let Ma of this.nodes)Ma.parent=void 0;return this.nodes=[],this}every(Ma){return this.nodes.every(Ma)}some(Ma){return this.nodes.some(Ma)}index(Ma){return typeof Ma=="number"?Ma:this.nodes.indexOf(Ma)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let Ma=this.nodes.map(String).join("");return this.value&&(Ma=this.value+Ma),this.raws.before&&(Ma=this.raws.before+Ma),this.raws.after&&(Ma+=this.raws.after),Ma}};Ea.registerWalker=Ma=>{let no="walk"+Ma.name;no.lastIndexOf("s")!==no.length-1&&(no+="s"),!Ea.prototype[no]&&(Ea.prototype[no]=function(Qa){return this.walkType(Ma,Qa)})},Na.exports=Ea}}),id=ss({"node_modules/postcss-values-parser/lib/root.js"(Ln,Na){Cs();var va=qd();Na.exports=class extends va{constructor(Ea){super(Ea),this.type="root"}}}}),Op=ss({"node_modules/postcss-values-parser/lib/value.js"(Ln,Na){Cs();var va=qd();Na.exports=class extends va{constructor(Ea){super(Ea),this.type="value",this.unbalanced=0}}}}),xp=ss({"node_modules/postcss-values-parser/lib/atword.js"(Ln,Na){Cs();var va=qd(),Ea=class extends va{constructor(Ma){super(Ma),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};va.registerWalker(Ea),Na.exports=Ea}}),Cf=ss({"node_modules/postcss-values-parser/lib/colon.js"(Ln,Na){Cs();var va=qd(),Ea=Rc(),Ma=class extends Ea{constructor(no){super(no),this.type="colon"}};va.registerWalker(Ma),Na.exports=Ma}}),Of=ss({"node_modules/postcss-values-parser/lib/comma.js"(Ln,Na){Cs();var va=qd(),Ea=Rc(),Ma=class extends Ea{constructor(no){super(no),this.type="comma"}};va.registerWalker(Ma),Na.exports=Ma}}),cf=ss({"node_modules/postcss-values-parser/lib/comment.js"(Ln,Na){Cs();var va=qd(),Ea=Rc(),Ma=class extends Ea{constructor(no){super(no),this.type="comment",this.inline=Object(no).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};va.registerWalker(Ma),Na.exports=Ma}}),Ip=ss({"node_modules/postcss-values-parser/lib/function.js"(Ln,Na){Cs();var va=qd(),Ea=class extends va{constructor(Ma){super(Ma),this.type="func",th
`)>-1&&(no?io=io.split(`
`).map(function(ro){return" "+ro}).join(`
`).substr(2):io=`
`+io.split(`
`).map(function(ro){return" "+ro}).join(`
`))):io=Ln.stylize("[Circular]","special")),sp(Qa)){if(no&&Ma.match(/^\d+$/))return io;Qa=JSON.stringify(""+Ma),Qa.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Qa=Qa.substr(1,Qa.length-2),Qa=Ln.stylize(Qa,"name")):(Qa=Qa.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Qa=Ln.stylize(Qa,"string"))}return Qa+": "+io}function Lh(Ln,Na,va){var Ea=0,Ma=Ln.reduce(function(no,Qa){return Ea++,Qa.indexOf(`
`)>=0&&Ea++,no+Qa.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ma>60?va[0]+(Na===""?"":Na+`
`)+" "+Ln.join(`,
`)+" "+va[1]:va[0]+Na+" "+Ln.join(", ")+" "+va[1]}function Wm(Ln){return Array.isArray(Ln)}function ph(Ln){return typeof Ln=="boolean"}function Em(Ln){return Ln===null}function Sm(Ln){return Ln==null}function im(Ln){return typeof Ln=="number"}function hf(Ln){return typeof Ln=="string"}function Km(Ln){return typeof Ln=="symbol"}function sp(Ln){return Ln===void 0}function qf(Ln){return Fp(Ln)&&am(Ln)==="[object RegExp]"}function Fp(Ln){return typeof Ln=="object"&&Ln!==null}function Zp(Ln){return Fp(Ln)&&am(Ln)==="[object Date]"}function Wf(Ln){return Fp(Ln)&&(am(Ln)==="[object Error]"||Ln instanceof Error)}function Tm(Ln){return typeof Ln=="function"}function $h(Ln){return Ln===null||typeof Ln=="boolean"||typeof Ln=="number"||typeof Ln=="string"||typeof Ln=="symbol"||typeof Ln>"u"}function Nf(Ln){return Buffer$2.isBuffer(Ln)}function am(Ln){return Object.prototype.toString.call(Ln)}function Lm(Ln){return Ln<10?"0"+Ln.toString(10):Ln.toString(10)}function gf(){var Ln=new Date,Na=[Lm(Ln.getHours()),Lm(Ln.getMinutes()),Lm(Ln.getSeconds())].join(":");return[Ln.getDate(),Dh[Ln.getMonth()],Na].join(" ")}function jh(){console.log("%s - %s",gf(),qm.apply(null,arguments))}function Fh(Ln,Na){if(!Na||!Fp(Na))return Ln;for(var va=Object.keys(Na),Ea=va.length;Ea--;)Ln[va[Ea]]=Na[va[Ea]];return Ln}function hh(Ln,Na){return Object.prototype.hasOwnProperty.call(Ln,Na)}var gh,Np,Wp,Dh,Uh,t0=ws({"node-modules-polyfills:util"(){Cs(),Pf(),np(),gh=/%[sdj%]/g,Np={},kp.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]},kp.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Dh=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Uh={inherits:Gm,_extend:Fh,log:jh,isBuffer:Nf,isPrimitive:$h,isFunction:Tm,isError:Wf,isDate:Zp,isObject:Fp,isRegExp:qf,isUndefined:sp,isSymbol:Km,isString:hf,isNumber:im,isNullOrUndefined:Sm,isNull:Em,isBoolean:ph,isArray:Wm,inspect:kp,deprecate:Nh,format:qm,debuglog:Pm}}}),Ym=ss({"node-modules-polyfills-commonjs:util"(Ln,Na){Cs();var va=(t0(),xu(Gf));if(va&&va.default){Na.exports=va.default;for(let Ea in va)Na.exports[Ea]=va[Ea]}else va&&(Na.exports=va)}}),Lf=ss({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(Ln,Na){Cs();var va=class extends Error{constructor(Ea){super(Ea),this.name=this.constructor.name,this.message=Ea||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(Ea).stack}};Na.exports=va}}),Vh=ss({"node_modules/postcss-values-parser/lib/tokenize.js"(Ln,Na){Cs();var va=123,Ea=125,Ma=40,no=41,Qa=39,io=34,Ba=92,ro=47,Wn=46,xn=44,xa=58,la=42,Do=45,Eo=43,os=35,rs=10,So=32,Ls=12,Vs=9,tl=13,wu=64,Hu=101,dc=69,Bc=48,Mc=57,Uc=117,Pc=85,kc=/[ \n\t\r\{\(\)'"\\;,/]/g,ku=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,fu=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,Bu=/^[a-z0-9]/i,pu=/^[a-f0-9?\-]/i,hp=Ym(),Md=Lf();Na.exports=function(Kd,yd){yd=yd||{};let rd=[],gc=Kd.valueOf(),Hc=gc.length,zc=-1,Xc=1,Qs=0,yl=0,Kl=null,zu,Ws,xc,hc,Lp,cp,Jd,Df,of,Ep,ed;function gp(Cp){let Sp=hp.format("Unclosed %s at line: %d, column: %d, token: %d",Cp,Xc,Qs-zc,Qs);throw new Md(Sp)}for(;Qs<Hc;){switch(zu=gc.charCodeAt(Qs),zu===rs&&(zc=Qs,Xc+=1),zu){case rs:case So:case Vs:case tl:case Ls:Ws=Qs;do Ws+=1,zu=gc.charCodeAt(Ws),zu===rs&&(zc=Ws,Xc+=1);while(zu===So||zu===rs||zu===Vs||zu===tl||zu===Ls);rd.push(["space",gc.slice(Qs,Ws),Xc,Qs-zc,Xc,Ws-zc,Qs]),Qs=Ws-1;break;case xa:Ws=Qs+1,rd.push(["colon",gc.slice(Qs,Ws),Xc,Qs-zc,Xc,Ws-zc,Qs]),Qs=Ws-1;break;case xn:Ws=Qs+1,rd.push(["comma",gc.slice(Qs,Ws),Xc,Qs-zc,Xc,Ws-zc,Qs]),Qs=Ws-1;break;case va:rd.push(["{","{",Xc,Qs-zc,Xc,Ws-zc,Qs]);break;case Ea:rd.push(["}","}",Xc,Qs-zc,Xc,Ws-zc,Qs]);break;case Ma:yl++,Kl=!Kl&&yl===1&&rd.length>0&&rd[rd.length-1][0]==="word"&&rd[rd.length-1][1]==="url",rd.push(["(","(",Xc,Qs-zc,Xc,Ws-zc,Qs]);break;case
`,Qs+2);Ws=Cp!==-1?Cp-1:Hc}cp=gc.slice(Qs,Ws+1),hc=cp.split(`
`),Lp=hc.length-1,Lp>0?(Jd=Xc+Lp,Df=Ws-hc[Lp].length):(Jd=Xc,Df=zc),rd.push(["comment",cp,Xc,Qs-zc,Jd,Ws-Df,Qs]),zc=Df,Xc=Jd,Qs=Ws}else if(zu===os&&!Bu.test(gc.slice(Qs+1,Qs+2)))Ws=Qs+1,rd.push(["#",gc.slice(Qs,Ws),Xc,Qs-zc,Xc,Ws-zc,Qs]),Qs=Ws-1;else if((zu===Uc||zu===Pc)&&gc.charCodeAt(Qs+1)===Eo){Ws=Qs+2;do Ws+=1,zu=gc.charCodeAt(Ws);while(Ws<Hc&&pu.test(gc.slice(Ws,Ws+1)));rd.push(["unicoderange",gc.slice(Qs,Ws),Xc,Qs-zc,Xc,Ws-zc,Qs]),Qs=Ws-1}else if(zu===ro)Ws=Qs+1,rd.push(["operator",gc.slice(Qs,Ws),Xc,Qs-zc,Xc,Ws-zc,Qs]),Qs=Ws-1;else{let Cp=ku;if(zu>=Bc&&zu<=Mc&&(Cp=fu),Cp.lastIndex=Qs+1,Cp.test(gc),Cp.lastIndex===0?Ws=gc.length-1:Ws=Cp.lastIndex-2,Cp===fu||zu===Wn){let Sp=gc.charCodeAt(Ws),r0=gc.charCodeAt(Ws+1),u0=gc.charCodeAt(Ws+2);(Sp===Hu||Sp===dc)&&(r0===Do||r0===Eo)&&u0>=Bc&&u0<=Mc&&(fu.lastIndex=Ws+2,fu.test(gc),fu.lastIndex===0?Ws=gc.length-1:Ws=fu.lastIndex-2)}rd.push(["word",gc.slice(Qs,Ws+1),Xc,Qs-zc,Xc,Ws-zc,Qs]),Qs=Ws}break}Qs++}return rd}}}),Hh=ss({"node_modules/flatten/index.js"(Ln,Na){Cs(),Na.exports=function(va,Ea){if(Ea=typeof Ea=="number"?Ea:1/0,!Ea)return Array.isArray(va)?va.map(function(no){return no}):va;return Ma(va,1);function Ma(no,Qa){return no.reduce(function(io,Ba){return Array.isArray(Ba)&&Qa<Ea?io.concat(Ma(Ba,Qa+1)):io.concat(Ba)},[])}}}}),Xm=ss({"node_modules/indexes-of/index.js"(Ln,Na){Cs(),Na.exports=function(va,Ea){for(var Ma=-1,no=[];(Ma=va.indexOf(Ea,Ma+1))!==-1;)no.push(Ma);return no}}}),Ap=ss({"node_modules/uniq/uniq.js"(Ln,Na){Cs();function va(no,Qa){for(var io=1,Ba=no.length,ro=no[0],Wn=no[0],xn=1;xn<Ba;++xn)if(Wn=ro,ro=no[xn],Qa(ro,Wn)){if(xn===io){io++;continue}no[io++]=ro}return no.length=io,no}function Ea(no){for(var Qa=1,io=no.length,Ba=no[0],ro=no[0],Wn=1;Wn<io;++Wn,ro=Ba)if(ro=Ba,Ba=no[Wn],Ba!==ro){if(Wn===Qa){Qa++;continue}no[Qa++]=Ba}return no.length=Qa,no}function Ma(no,Qa,io){return no.length===0?no:Qa?(io||no.sort(Qa),va(no,Qa)):(io||no.sort(),Ea(no))}Na.exports=Ma}}),Xh=ss({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(Ln,Na){Cs();var va=class extends Error{constructor(Ea){super(Ea),this.name=this.constructor.name,this.message=Ea||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(Ea).stack}};Na.exports=va}}),Oh=ss({"node_modules/postcss-values-parser/lib/parser.js"(Ln,Na){Cs();var va=id(),Ea=Op(),Ma=xp(),no=Cf(),Qa=Of(),io=cf(),Ba=Ip(),ro=mm(),Wn=Rf(),xn=Ec(),xa=wf(),la=Tp(),Do=df(),Eo=Vh(),os=Hh(),rs=Xm(),So=Ap(),Ls=Xh();function Vs(tl){return tl.sort((wu,Hu)=>wu-Hu)}Na.exports=class{constructor(tl,wu){let Hu={loose:!1};this.cache=[],this.input=tl,this.options=Object.assign({},Hu,wu),this.position=0,this.unbalanced=0,this.root=new va;let dc=new Ea;this.root.append(dc),this.current=dc,this.tokens=Eo(tl,this.options)}parse(){return this.loop()}colon(){let tl=this.currToken;this.newNode(new no({value:tl[1],source:{start:{line:tl[2],column:tl[3]},end:{line:tl[4],column:tl[5]}},sourceIndex:tl[6]})),this.position++}comma(){let tl=this.currToken;this.newNode(new Qa({value:tl[1],source:{start:{line:tl[2],column:tl[3]},end:{line:tl[4],column:tl[5]}},sourceIndex:tl[6]})),this.position++}comment(){let tl=!1,wu=this.currToken[1].replace(/\/\*|\*\//g,""),Hu;this.options.loose&&wu.startsWith("//")&&(wu=wu.substring(2),tl=!0),Hu=new io({value:wu,inline:tl,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(Hu),this.position++}error(tl,wu){throw new Ls(tl+` at line: ${wu[2]}, column ${wu[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 tl=this.currToken[1],wu;if(tl==="+"||tl==="-"){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.cu
`),Md=hp.length-1,Md>0?(rd=yl+Md,gc=Bu-hp[Md].length):(rd=yl,gc=Qs),kc.push(["comment",Kd,yl,Kl-Qs,rd,Bu-gc,Kl]),Qs=gc,yl=rd,Kl=Bu):(Mc.lastIndex=Kl+1,Mc.test(ku),Mc.lastIndex===0?Bu=ku.length-1:Bu=Mc.lastIndex-2,kc.push(["word",ku.slice(Kl,Bu+1),yl,Kl-Qs,yl,Bu-Qs,Kl]),Kl=Bu);break}Kl++}return kc}Na.exports=Ln.default}}),Id=ss({"node_modules/postcss-selector-parser/dist/parser.js"(Ln,Na){Cs(),Ln.__esModule=!0;var va=function(){function Qs(yl,Kl){for(var zu=0;zu<Kl.length;zu++){var Ws=Kl[zu];Ws.enumerable=Ws.enumerable||!1,Ws.configurable=!0,"value"in Ws&&(Ws.writable=!0),Object.defineProperty(yl,Ws.key,Ws)}}return function(yl,Kl,zu){return Kl&&Qs(yl.prototype,Kl),zu&&Qs(yl,zu),yl}}(),Ea=Hh(),Ma=Hc(Ea),no=Xm(),Qa=Hc(no),io=Ap(),Ba=Hc(io),ro=vc(),Wn=Hc(ro),xn=Cc(),xa=Hc(xn),la=bp(),Do=Hc(la),Eo=Wd(),os=Hc(Eo),rs=Qm(),So=Hc(rs),Ls=Qh(),Vs=Hc(Ls),tl=_f(),wu=Hc(tl),Hu=$f(),dc=Hc(Hu),Bc=Cm(),Mc=Hc(Bc),Uc=bf(),Pc=Hc(Uc),kc=Kf(),ku=Hc(kc),fu=$m(),Bu=Hc(fu),pu=Ad(),hp=Hc(pu),Md=Jh(),Kd=Hc(Md),yd=Wl(),rd=gc(yd);function gc(Qs){if(Qs&&Qs.__esModule)return Qs;var yl={};if(Qs!=null)for(var Kl in Qs)Object.prototype.hasOwnProperty.call(Qs,Kl)&&(yl[Kl]=Qs[Kl]);return yl.default=Qs,yl}function Hc(Qs){return Qs&&Qs.__esModule?Qs:{default:Qs}}function zc(Qs,yl){if(!(Qs instanceof yl))throw new TypeError("Cannot call a class as a function")}var Xc=function(){function Qs(yl){zc(this,Qs),this.input=yl,this.lossy=yl.options.lossless===!1,this.position=0,this.root=new Wn.default;var Kl=new xa.default;return this.root.append(Kl),this.current=Kl,this.lossy?this.tokens=(0,Kd.default)({safe:yl.safe,css:yl.css.trim()}):this.tokens=(0,Kd.default)(yl),this.loop()}return Qs.prototype.attribute=function(){var yl="",Kl=void 0,zu=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)yl+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~yl.indexOf("]")&&this.error("Expected a closing square bracket.");var Ws=yl.split(/((?:[*~^$|]?=))([^]*)/),xc=Ws[0].split(/(\|)/g),hc={operator:Ws[1],value:Ws[2],source:{start:{line:zu[2],column:zu[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:zu[4]};if(xc.length>1?(xc[0]===""&&(xc[0]=!0),hc.attribute=this.parseValue(xc[2]),hc.namespace=this.parseNamespace(xc[0])):hc.attribute=this.parseValue(Ws[0]),Kl=new Mc.default(hc),Ws[2]){var Lp=Ws[2].split(/(\s+i\s*?)$/),cp=Lp[0].trim();Kl.value=this.lossy?cp:Lp[0],Lp[1]&&(Kl.insensitive=!0,this.lossy||(Kl.raws.insensitive=Lp[1])),Kl.quoted=cp[0]==="'"||cp[0]==='"',Kl.raws.unquoted=Kl.quoted?cp.slice(1,-1):cp}this.newNode(Kl),this.position++},Qs.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var yl=new ku.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"?(yl.spaces.before=this.parseSpace(this.currToken[1]),yl.source.start.line=this.nextToken[2],yl.source.start.column=this.nextToken[3],yl.source.end.column=this.nextToken[3],yl.source.end.line=this.nextToken[2],yl.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?yl.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?yl.value=this.currToken[1]:this.currToken[0]==="space"&&(yl.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(yl)},Qs.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var yl=new xa.default;this.current.parent.append(yl),this.current=yl,this.position++},Qs.prototype.comment=function(){var yl=new os.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(yl),this.position++},Qs.prototype.error=function(yl){throw n
`+fu+Bc("^")}return" "+Mc(ku)+Uc}).join(`
`)},rs.toString=function(){var So=this.showSourceCode();return So&&(So=`
`+So+`
`),this.name+": "+this.message+So},os}(io(Error)),Do=la;Ln.default=Do,Na.exports=Ln.default}}),Hs=ss({"node_modules/postcss/lib/previous-map.js"(Ln,Na){Cs(),Na.exports=class{}}}),Bs=ss({"node_modules/postcss/lib/input.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va=no(ko()),Ea=no(Rs()),Ma=no(Hs());function no(xn){return xn&&xn.__esModule?xn:{default:xn}}function Qa(xn,xa){for(var la=0;la<xa.length;la++){var Do=xa[la];Do.enumerable=Do.enumerable||!1,Do.configurable=!0,"value"in Do&&(Do.writable=!0),Object.defineProperty(xn,Do.key,Do)}}function io(xn,xa,la){return xa&&Qa(xn.prototype,xa),xn}var Ba=0,ro=function(){function xn(la,Do){if(Do===void 0&&(Do={}),la===null||typeof la>"u"||typeof la=="object"&&!la.toString)throw new Error("PostCSS received "+la+" instead of CSS string");this.css=la.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,Do.from&&(/^\w+:\/\//.test(Do.from)||va.default.isAbsolute(Do.from)?this.file=Do.from:this.file=va.default.resolve(Do.from));var Eo=new Ma.default(this.css,Do);if(Eo.text){this.map=Eo;var os=Eo.consumer().file;!this.file&&os&&(this.file=this.mapResolve(os))}this.file||(Ba+=1,this.id="<input css "+Ba+">"),this.map&&(this.map.file=this.from)}var xa=xn.prototype;return xa.error=function(la,Do,Eo,os){os===void 0&&(os={});var rs,So=this.origin(Do,Eo);return So?rs=new Ea.default(la,So.line,So.column,So.source,So.file,os.plugin):rs=new Ea.default(la,Do,Eo,this.css,this.file,os.plugin),rs.input={line:Do,column:Eo,source:this.css},this.file&&(rs.input.file=this.file),rs},xa.origin=function(la,Do){if(!this.map)return!1;var Eo=this.map.consumer(),os=Eo.originalPositionFor({line:la,column:Do});if(!os.source)return!1;var rs={file:this.mapResolve(os.source),line:os.line,column:os.column},So=Eo.sourceContentFor(os.source);return So&&(rs.source=So),rs},xa.mapResolve=function(la){return/^\w+:\/\//.test(la)?la:va.default.resolve(this.map.consumer().sourceRoot||".",la)},io(xn,[{key:"from",get:function(){return this.file||this.id}}]),xn}(),Wn=ro;Ln.default=Wn,Na.exports=Ln.default}}),sl=ss({"node_modules/postcss/lib/stringifier.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va={colon:": ",indent:" ",beforeDecl:`
`,beforeRule:`
`,beforeOpen:" ",beforeClose:`
`,beforeComment:`
`,after:`
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function Ea(Qa){return Qa[0].toUpperCase()+Qa.slice(1)}var Ma=function(){function Qa(Ba){this.builder=Ba}var io=Qa.prototype;return io.stringify=function(Ba,ro){this[Ba.type](Ba,ro)},io.root=function(Ba){this.body(Ba),Ba.raws.after&&this.builder(Ba.raws.after)},io.comment=function(Ba){var ro=this.raw(Ba,"left","commentLeft"),Wn=this.raw(Ba,"right","commentRight");this.builder("/*"+ro+Ba.text+Wn+"*/",Ba)},io.decl=function(Ba,ro){var Wn=this.raw(Ba,"between","colon"),xn=Ba.prop+Wn+this.rawValue(Ba,"value");Ba.important&&(xn+=Ba.raws.important||" !important"),ro&&(xn+=";"),this.builder(xn,Ba)},io.rule=function(Ba){this.block(Ba,this.rawValue(Ba,"selector")),Ba.raws.ownSemicolon&&this.builder(Ba.raws.ownSemicolon,Ba,"end")},io.atrule=function(Ba,ro){var Wn="@"+Ba.name,xn=Ba.params?this.rawValue(Ba,"params"):"";if(typeof Ba.raws.afterName<"u"?Wn+=Ba.raws.afterName:xn&&(Wn+=" "),Ba.nodes)this.block(Ba,Wn+xn);else{var xa=(Ba.raws.between||"")+(ro?";":"");this.builder(Wn+xn+xa,Ba)}},io.body=function(Ba){for(var ro=Ba.nodes.length-1;ro>0&&Ba.nodes[ro].type==="comment";)ro-=1;for(var Wn=this.raw(Ba,"semicolon"),xn=0;xn<Ba.nodes.length;xn++){var xa=Ba.nodes[xn],la=this.raw(xa,"before");la&&this.builder(la),this.stringify(xa,ro!==xn||Wn)}},io.block=function(Ba,ro){var Wn=this.raw(Ba,"between","beforeOpen");this.builder(ro+Wn+"{",Ba,"start");var xn;Ba.nodes&&Ba.nodes.length?(this.body(Ba),xn=this.raw(Ba,"after")):xn=this.raw(Ba,"after","emptyBody"),xn&&this.builder(xn),this.builder("}",Ba,"end")},io.raw=function(Ba,ro,Wn){var xn;if(Wn||(Wn=ro),ro&&(xn=Ba.raws[ro],typeof xn<"u"))return xn;var xa=Ba.parent;if(Wn==="before"&&(!xa||xa.type==="root"&&xa.first===Ba))return"";if(!xa)return va[Wn];var la=Ba.root();if(la.rawCache||(la.rawCache={}),typeof la.rawCache[Wn]<"u")return la.rawCache[Wn];if(Wn==="before"||Wn==="after")return this.beforeAfter(Ba,Wn);var Do="raw"+Ea(Wn);return this[Do]?xn=this[Do](la,Ba):la.walk(function(Eo){if(xn=Eo.raws[ro],typeof xn<"u")return!1}),typeof xn>"u"&&(xn=va[Wn]),la.rawCache[Wn]=xn,xn},io.rawSemicolon=function(Ba){var ro;return Ba.walk(function(Wn){if(Wn.nodes&&Wn.nodes.length&&Wn.last.type==="decl"&&(ro=Wn.raws.semicolon,typeof ro<"u"))return!1}),ro},io.rawEmptyBody=function(Ba){var ro;return Ba.walk(function(Wn){if(Wn.nodes&&Wn.nodes.length===0&&(ro=Wn.raws.after,typeof ro<"u"))return!1}),ro},io.rawIndent=function(Ba){if(Ba.raws.indent)return Ba.raws.indent;var ro;return Ba.walk(function(Wn){var xn=Wn.parent;if(xn&&xn!==Ba&&xn.parent&&xn.parent===Ba&&typeof Wn.raws.before<"u"){var xa=Wn.raws.before.split(`
`);return ro=xa[xa.length-1],ro=ro.replace(/[^\s]/g,""),!1}}),ro},io.rawBeforeComment=function(Ba,ro){var Wn;return Ba.walkComments(function(xn){if(typeof xn.raws.before<"u")return Wn=xn.raws.before,Wn.indexOf(`
`)!==-1&&(Wn=Wn.replace(/[^\n]+$/,"")),!1}),typeof Wn>"u"?Wn=this.raw(ro,null,"beforeDecl"):Wn&&(Wn=Wn.replace(/[^\s]/g,"")),Wn},io.rawBeforeDecl=function(Ba,ro){var Wn;return Ba.walkDecls(function(xn){if(typeof xn.raws.before<"u")return Wn=xn.raws.before,Wn.indexOf(`
`)!==-1&&(Wn=Wn.replace(/[^\n]+$/,"")),!1}),typeof Wn>"u"?Wn=this.raw(ro,null,"beforeRule"):Wn&&(Wn=Wn.replace(/[^\s]/g,"")),Wn},io.rawBeforeRule=function(Ba){var ro;return Ba.walk(function(Wn){if(Wn.nodes&&(Wn.parent!==Ba||Ba.first!==Wn)&&typeof Wn.raws.before<"u")return ro=Wn.raws.before,ro.indexOf(`
`)!==-1&&(ro=ro.replace(/[^\n]+$/,"")),!1}),ro&&(ro=ro.replace(/[^\s]/g,"")),ro},io.rawBeforeClose=function(Ba){var ro;return Ba.walk(function(Wn){if(Wn.nodes&&Wn.nodes.length>0&&typeof Wn.raws.after<"u")return ro=Wn.raws.after,ro.indexOf(`
`)!==-1&&(ro=ro.replace(/[^\n]+$/,"")),!1}),ro&&(ro=ro.replace(/[^\s]/g,"")),ro},io.rawBeforeOpen=function(Ba){var ro;return Ba.walk(function(Wn){if(Wn.type!=="decl"&&(ro=Wn.raws.between,typeof ro<"u"))return!1}),ro},io.rawColon=function(Ba){var ro;return Ba.walkDecls(function(Wn){if(typeof Wn.raws.between<"u")return ro=Wn.raws.between.replace(/[^\s:]/g,""),!1}),ro},io.beforeAfter=function(Ba,ro){var Wn;Ba.type==="decl"?Wn=this.raw(Ba,null,"beforeDecl"):Ba.type==="comment"?Wn=this.raw(Ba,null,"beforeComment"):ro==="before"?Wn=this.raw(Ba,null,"beforeRule"):Wn=this.raw(Ba,null,"beforeClose");for(var xn=Ba.parent,xa=0;xn&&xn.type!=="root";)xa+=1,xn=xn.parent;if(Wn.indexOf(`
`)!==-1){var la=this.raw(Ba,null,"indent");if(la.length)for(var Do=0;Do<xa;Do++)Wn+=la}return Wn},io.rawValue=function(Ba,ro){var Wn=Ba[ro],xn=Ba.raws[ro];return xn&&xn.value===Wn?xn.raw:Wn},Qa}(),no=Ma;Ln.default=no,Na.exports=Ln.default}}),Jo=ss({"node_modules/postcss/lib/stringify.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va=Ea(sl());function Ea(Qa){return Qa&&Qa.__esModule?Qa:{default:Qa}}function Ma(Qa,io){var Ba=new va.default(io);Ba.stringify(Qa)}var no=Ma;Ln.default=no,Na.exports=Ln.default}}),rl=ss({"node_modules/postcss/lib/node.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va=no(Rs()),Ea=no(sl()),Ma=no(Jo());function no(ro){return ro&&ro.__esModule?ro:{default:ro}}function Qa(ro,Wn){var xn=new ro.constructor;for(var xa in ro)if(ro.hasOwnProperty(xa)){var la=ro[xa],Do=typeof la;xa==="parent"&&Do==="object"?Wn&&(xn[xa]=Wn):xa==="source"?xn[xa]=la:la instanceof Array?xn[xa]=la.map(function(Eo){return Qa(Eo,xn)}):(Do==="object"&&la!==null&&(la=Qa(la)),xn[xa]=la)}return xn}var io=function(){function ro(xn){xn===void 0&&(xn={}),this.raws={};for(var xa in xn)this[xa]=xn[xa]}var Wn=ro.prototype;return Wn.error=function(xn,xa){if(xa===void 0&&(xa={}),this.source){var la=this.positionBy(xa);return this.source.input.error(xn,la.line,la.column,xa)}return new va.default(xn)},Wn.warn=function(xn,xa,la){var Do={node:this};for(var Eo in la)Do[Eo]=la[Eo];return xn.warn(xa,Do)},Wn.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},Wn.toString=function(xn){xn===void 0&&(xn=Ma.default),xn.stringify&&(xn=xn.stringify);var xa="";return xn(this,function(la){xa+=la}),xa},Wn.clone=function(xn){xn===void 0&&(xn={});var xa=Qa(this);for(var la in xn)xa[la]=xn[la];return xa},Wn.cloneBefore=function(xn){xn===void 0&&(xn={});var xa=this.clone(xn);return this.parent.insertBefore(this,xa),xa},Wn.cloneAfter=function(xn){xn===void 0&&(xn={});var xa=this.clone(xn);return this.parent.insertAfter(this,xa),xa},Wn.replaceWith=function(){if(this.parent){for(var xn=arguments.length,xa=new Array(xn),la=0;la<xn;la++)xa[la]=arguments[la];for(var Do=0,Eo=xa;Do<Eo.length;Do++){var os=Eo[Do];this.parent.insertBefore(this,os)}this.remove()}return this},Wn.next=function(){if(this.parent){var xn=this.parent.index(this);return this.parent.nodes[xn+1]}},Wn.prev=function(){if(this.parent){var xn=this.parent.index(this);return this.parent.nodes[xn-1]}},Wn.before=function(xn){return this.parent.insertBefore(this,xn),this},Wn.after=function(xn){return this.parent.insertAfter(this,xn),this},Wn.toJSON=function(){var xn={};for(var xa in this)if(this.hasOwnProperty(xa)&&xa!=="parent"){var la=this[xa];la instanceof Array?xn[xa]=la.map(function(Do){return typeof Do=="object"&&Do.toJSON?Do.toJSON():Do}):typeof la=="object"&&la.toJSON?xn[xa]=la.toJSON():xn[xa]=la}return xn},Wn.raw=function(xn,xa){var la=new Ea.default;return la.raw(this,xn,xa)},Wn.root=function(){for(var xn=this;xn.parent;)xn=xn.parent;return xn},Wn.cleanRaws=function(xn){delete this.raws.before,delete this.raws.after,xn||delete this.raws.between},Wn.positionInside=function(xn){for(var xa=this.toString(),la=this.source.start.column,Do=this.source.start.line,Eo=0;Eo<xn;Eo++)xa[Eo]===`
`?(la=1,Do+=1):la+=1;return{line:Do,column:la}},Wn.positionBy=function(xn){var xa=this.source.start;if(xn.index)xa=this.positionInside(xn.index);else if(xn.word){var la=this.toString().indexOf(xn.word);la!==-1&&(xa=this.positionInside(la))}return xa},ro}(),Ba=io;Ln.default=Ba,Na.exports=Ln.default}}),vs=ss({"node_modules/postcss/lib/comment.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va=Ea(rl());function Ea(io){return io&&io.__esModule?io:{default:io}}function Ma(io,Ba){io.prototype=Object.create(Ba.prototype),io.prototype.constructor=io,io.__proto__=Ba}var no=function(io){Ma(Ba,io);function Ba(ro){var Wn;return Wn=io.call(this,ro)||this,Wn.type="comment",Wn}return Ba}(va.default),Qa=no;Ln.default=Qa,Na.exports=Ln.default}}),ys=ss({"node_modules/postcss/lib/declaration.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va=Ea(rl());function Ea(io){return io&&io.__esModule?io:{default:io}}function Ma(io,Ba){io.prototype=Object.create(Ba.prototype),io.prototype.constructor=io,io.__proto__=Ba}var no=function(io){Ma(Ba,io);function Ba(ro){var Wn;return Wn=io.call(this,ro)||this,Wn.type="decl",Wn}return Ba}(va.default),Qa=no;Ln.default=Qa,Na.exports=Ln.default}}),Ts=ss({"node_modules/postcss/lib/tokenize.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=Bc;var va=39,Ea=34,Ma=92,no=47,Qa=10,io=32,Ba=12,ro=9,Wn=13,xn=91,xa=93,la=40,Do=41,Eo=123,os=125,rs=59,So=42,Ls=58,Vs=64,tl=/[ \n\t\r\f{}()'"\\;/[\]#]/g,wu=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Hu=/.[\\/("'\n]/,dc=/[a-f0-9]/i;function Bc(Mc,Uc){Uc===void 0&&(Uc={});var Pc=Mc.css.valueOf(),kc=Uc.ignoreErrors,ku,fu,Bu,pu,hp,Md,Kd,yd,rd,gc,Hc,zc,Xc,Qs,yl=Pc.length,Kl=-1,zu=1,Ws=0,xc=[],hc=[];function Lp(){return Ws}function cp(Ep){throw Mc.error("Unclosed "+Ep,zu,Ws-Kl)}function Jd(){return hc.length===0&&Ws>=yl}function Df(Ep){if(hc.length)return hc.pop();if(!(Ws>=yl)){var ed=Ep?Ep.ignoreUnclosed:!1;switch(ku=Pc.charCodeAt(Ws),(ku===Qa||ku===Ba||ku===Wn&&Pc.charCodeAt(Ws+1)!==Qa)&&(Kl=Ws,zu+=1),ku){case Qa:case io:case ro:case Wn:case Ba:fu=Ws;do fu+=1,ku=Pc.charCodeAt(fu),ku===Qa&&(Kl=fu,zu+=1);while(ku===io||ku===Qa||ku===ro||ku===Wn||ku===Ba);Qs=["space",Pc.slice(Ws,fu)],Ws=fu-1;break;case xn:case xa:case Eo:case os:case Ls:case rs:case Do:var gp=String.fromCharCode(ku);Qs=[gp,gp,zu,Ws-Kl];break;case la:if(zc=xc.length?xc.pop()[1]:"",Xc=Pc.charCodeAt(Ws+1),zc==="url"&&Xc!==va&&Xc!==Ea&&Xc!==io&&Xc!==Qa&&Xc!==ro&&Xc!==Ba&&Xc!==Wn){fu=Ws;do{if(gc=!1,fu=Pc.indexOf(")",fu+1),fu===-1)if(kc||ed){fu=Ws;break}else cp("bracket");for(Hc=fu;Pc.charCodeAt(Hc-1)===Ma;)Hc-=1,gc=!gc}while(gc);Qs=["brackets",Pc.slice(Ws,fu+1),zu,Ws-Kl,zu,fu-Kl],Ws=fu}else fu=Pc.indexOf(")",Ws+1),Md=Pc.slice(Ws,fu+1),fu===-1||Hu.test(Md)?Qs=["(","(",zu,Ws-Kl]:(Qs=["brackets",Md,zu,Ws-Kl,zu,fu-Kl],Ws=fu);break;case va:case Ea:Bu=ku===va?"'":'"',fu=Ws;do{if(gc=!1,fu=Pc.indexOf(Bu,fu+1),fu===-1)if(kc||ed){fu=Ws+1;break}else cp("string");for(Hc=fu;Pc.charCodeAt(Hc-1)===Ma;)Hc-=1,gc=!gc}while(gc);Md=Pc.slice(Ws,fu+1),pu=Md.split(`
`),hp=pu.length-1,hp>0?(yd=zu+hp,rd=fu-pu[hp].length):(yd=zu,rd=Kl),Qs=["string",Pc.slice(Ws,fu+1),zu,Ws-Kl,yd,fu-rd],Kl=rd,zu=yd,Ws=fu;break;case Vs:tl.lastIndex=Ws+1,tl.test(Pc),tl.lastIndex===0?fu=Pc.length-1:fu=tl.lastIndex-2,Qs=["at-word",Pc.slice(Ws,fu+1),zu,Ws-Kl,zu,fu-Kl],Ws=fu;break;case Ma:for(fu=Ws,Kd=!0;Pc.charCodeAt(fu+1)===Ma;)fu+=1,Kd=!Kd;if(ku=Pc.charCodeAt(fu+1),Kd&&ku!==no&&ku!==io&&ku!==Qa&&ku!==ro&&ku!==Wn&&ku!==Ba&&(fu+=1,dc.test(Pc.charAt(fu)))){for(;dc.test(Pc.charAt(fu+1));)fu+=1;Pc.charCodeAt(fu+1)===io&&(fu+=1)}Qs=["word",Pc.slice(Ws,fu+1),zu,Ws-Kl,zu,fu-Kl],Ws=fu;break;default:ku===no&&Pc.charCodeAt(Ws+1)===So?(fu=Pc.indexOf("*/",Ws+2)+1,fu===0&&(kc||ed?fu=Pc.length:cp("comment")),Md=Pc.slice(Ws,fu+1),pu=Md.split(`
`),hp=pu.length-1,hp>0?(yd=zu+hp,rd=fu-pu[hp].length):(yd=zu,rd=Kl),Qs=["comment",Md,zu,Ws-Kl,yd,fu-rd],Kl=rd,zu=yd,Ws=fu):(wu.lastIndex=Ws+1,wu.test(Pc),wu.lastIndex===0?fu=Pc.length-1:fu=wu.lastIndex-2,Qs=["word",Pc.slice(Ws,fu+1),zu,Ws-Kl,zu,fu-Kl],xc.push(Qs),Ws=fu);break}return Ws++,Qs}}function of(Ep){hc.push(Ep)}return{back:of,nextToken:Df,endOfFile:Jd,position:Lp}}Na.exports=Ln.default}}),Is=ss({"node_modules/postcss/lib/parse.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va=Ma(Ha()),Ea=Ma(Bs());function Ma(io){return io&&io.__esModule?io:{default:io}}function no(io,Ba){var ro=new Ea.default(io,Ba),Wn=new va.default(ro);try{Wn.parse()}catch(xn){throw xn}return Wn.root}var Qa=no;Ln.default=Qa,Na.exports=Ln.default}}),_l=ss({"node_modules/postcss/lib/list.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va={split:function(Ma,no,Qa){for(var io=[],Ba="",ro=!1,Wn=0,xn=!1,xa=!1,la=0;la<Ma.length;la++){var Do=Ma[la];xn?xa?xa=!1:Do==="\\"?xa=!0:Do===xn&&(xn=!1):Do==='"'||Do==="'"?xn=Do:Do==="("?Wn+=1:Do===")"?Wn>0&&(Wn-=1):Wn===0&&no.indexOf(Do)!==-1&&(ro=!0),ro?(Ba!==""&&io.push(Ba.trim()),Ba="",ro=!1):Ba+=Do}return(Qa||Ba!=="")&&io.push(Ba.trim()),io},space:function(Ma){var no=[" ",`
`," "];return va.split(Ma,no)},comma:function(Ma){return va.split(Ma,[","],!0)}},Ea=va;Ln.default=Ea,Na.exports=Ln.default}}),Cl=ss({"node_modules/postcss/lib/rule.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va=Ma(vu()),Ea=Ma(_l());function Ma(Wn){return Wn&&Wn.__esModule?Wn:{default:Wn}}function no(Wn,xn){for(var xa=0;xa<xn.length;xa++){var la=xn[xa];la.enumerable=la.enumerable||!1,la.configurable=!0,"value"in la&&(la.writable=!0),Object.defineProperty(Wn,la.key,la)}}function Qa(Wn,xn,xa){return xn&&no(Wn.prototype,xn),Wn}function io(Wn,xn){Wn.prototype=Object.create(xn.prototype),Wn.prototype.constructor=Wn,Wn.__proto__=xn}var Ba=function(Wn){io(xn,Wn);function xn(xa){var la;return la=Wn.call(this,xa)||this,la.type="rule",la.nodes||(la.nodes=[]),la}return Qa(xn,[{key:"selectors",get:function(){return Ea.default.comma(this.selector)},set:function(xa){var la=this.selector?this.selector.match(/,\s*/):null,Do=la?la[0]:","+this.raw("between","beforeOpen");this.selector=xa.join(Do)}}]),xn}(va.default),ro=Ba;Ln.default=ro,Na.exports=Ln.default}}),vu=ss({"node_modules/postcss/lib/container.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va=no(ys()),Ea=no(vs()),Ma=no(rl());function no(Eo){return Eo&&Eo.__esModule?Eo:{default:Eo}}function Qa(Eo,os){var rs;if(typeof Symbol>"u"||Eo[Symbol.iterator]==null){if(Array.isArray(Eo)||(rs=io(Eo))||os){rs&&(Eo=rs);var So=0;return function(){return So>=Eo.length?{done:!0}:{done:!1,value:Eo[So++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return rs=Eo[Symbol.iterator](),rs.next.bind(rs)}function io(Eo,os){if(Eo){if(typeof Eo=="string")return Ba(Eo,os);var rs=Object.prototype.toString.call(Eo).slice(8,-1);if(rs==="Object"&&Eo.constructor&&(rs=Eo.constructor.name),rs==="Map"||rs==="Set")return Array.from(Eo);if(rs==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rs))return Ba(Eo,os)}}function Ba(Eo,os){(os==null||os>Eo.length)&&(os=Eo.length);for(var rs=0,So=new Array(os);rs<os;rs++)So[rs]=Eo[rs];return So}function ro(Eo,os){for(var rs=0;rs<os.length;rs++){var So=os[rs];So.enumerable=So.enumerable||!1,So.configurable=!0,"value"in So&&(So.writable=!0),Object.defineProperty(Eo,So.key,So)}}function Wn(Eo,os,rs){return os&&ro(Eo.prototype,os),Eo}function xn(Eo,os){Eo.prototype=Object.create(os.prototype),Eo.prototype.constructor=Eo,Eo.__proto__=os}function xa(Eo){return Eo.map(function(os){return os.nodes&&(os.nodes=xa(os.nodes)),delete os.source,os})}var la=function(Eo){xn(os,Eo);function os(){return Eo.apply(this,arguments)||this}var rs=os.prototype;return rs.push=function(So){return So.parent=this,this.nodes.push(So),this},rs.each=function(So){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var Ls=this.lastEach;if(this.indexes[Ls]=0,!!this.nodes){for(var Vs,tl;this.indexes[Ls]<this.nodes.length&&(Vs=this.indexes[Ls],tl=So(this.nodes[Vs],Vs),tl!==!1);)this.indexes[Ls]+=1;return delete this.indexes[Ls],tl}},rs.walk=function(So){return this.each(function(Ls,Vs){var tl;try{tl=So(Ls,Vs)}catch(Hu){if(Hu.postcssNode=Ls,Hu.stack&&Ls.source&&/\n\s{4}at /.test(Hu.stack)){var wu=Ls.source;Hu.stack=Hu.stack.replace(/\n\s{4}at /,"$&"+wu.input.from+":"+wu.start.line+":"+wu.start.column+"$&")}throw Hu}return tl!==!1&&Ls.walk&&(tl=Ls.walk(So)),tl})},rs.walkDecls=function(So,Ls){return Ls?So instanceof RegExp?this.walk(function(Vs,tl){if(Vs.type==="decl"&&So.test(Vs.prop))return Ls(Vs,tl)}):this.walk(function(Vs,tl){if(Vs.type==="decl"&&Vs.prop===So)return Ls(Vs,tl)}):(Ls=So,this.walk(function(Vs,tl){if(Vs.type==="decl")return Ls(Vs,tl)}))},rs.walkRules=function(So,Ls){return Ls?So instanceof RegExp?this.walk(function(Vs,tl){if(Vs.type==="rule"&&So.test(Vs.selector))return Ls(Vs,tl)}):this.walk(function(Vs,tl){if(Vs.type==="rule"&&Vs.selector===So)return Ls(Vs,tl)}):(Ls=So,this.walk(function(Vs,tl){if(Vs.type==="rule")return Ls(Vs,tl)}))},rs.walkAtRules=function(So,Ls){return Ls?So instanceof RegExp?this.walk(function(Vs,tl){if(Vs.type==="atrule"&&So.test(Vs.name))return Ls(Vs,tl)}):this.walk(function(Vs,tl){if(Vs.type==="atrule"&&Vs.name===So)return Ls(Vs,tl)}):(Ls=So,this.walk(function(Vs,tl){if(Vs.type==="atrule")return Ls(Vs,tl)}))},rs.walkComments=function(So){return this.walk(function(Ls,Vs){if(Ls.type==="comment")return So(Ls,Vs)})},rs.append=function(){for(var So=arguments.length,Ls=new Array(So),Vs=0;Vs<So;Vs++)Ls[Vs]=arguments[Vs];for(var tl=0,wu=Ls;tl<wu.length;tl++)for(var Hu=wu[tl],dc=this.normalize(Hu,this.last),Bc=Qa(dc),Mc;!(Mc=Bc()).done;){var Uc=Mc.value;this.nodes.push(Uc)}return this},rs.prepend=function(){for(var So=arguments.length,Ls=new Array(So),Vs=0;Vs<So;Vs++)Ls[Vs]=arguments[Vs];Ls=Ls.reverse();for(var tl=Qa(Ls),wu;!(wu=tl()).done;){for(var Hu=wu.value,dc=this.normalize(Hu,this.first,"prepend").reverse(),Bc=Qa(dc),Mc;!(Mc=Bc()).done;){var Uc=Mc.value;this.nodes.unshift(Uc)}for(var Pc in this.indexes)this.indexes[Pc]=this.indexes[Pc]+dc.length}return this},rs.cleanRaws=function(So){if(Eo.prototype.cleanRaws.call(this,So),this.nodes)for(var Ls=Qa(this.nodes),Vs;!(Vs=Ls()).done;){var tl=Vs.value;tl.cleanRaws(So)}},rs.insertBefore=function(So,Ls){So=this.index(So);for(var Vs=So===0?"prepend":!1,tl=this.normalize(Ls,this.nodes[So],Vs).reverse(),wu=Qa(tl),Hu;!(Hu=wu()).done;){var dc=Hu.value;this.nodes.splice(So,0,dc)}var Bc;for(var Mc in this.indexes)Bc=this.indexes[Mc],So<=Bc&&(this.indexes[Mc]=Bc+tl.length);return this},rs.insertAfter=function(So,Ls){So=this.index(So);for(var Vs=this.normalize(Ls,this.nodes[So]).revers
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return rs=Eo[Symbol.iterator](),rs.next.bind(rs)}function Ba(Eo,os){if(Eo){if(typeof Eo=="string")return ro(Eo,os);var rs=Object.prototype.toString.call(Eo).slice(8,-1);if(rs==="Object"&&Eo.constructor&&(rs=Eo.constructor.name),rs==="Map"||rs==="Set")return Array.from(Eo);if(rs==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rs))return ro(Eo,os)}}function ro(Eo,os){(os==null||os>Eo.length)&&(os=Eo.length);for(var rs=0,So=new Array(os);rs<os;rs++)So[rs]=Eo[rs];return So}function Wn(Eo,os){for(var rs=0;rs<os.length;rs++){var So=os[rs];So.enumerable=So.enumerable||!1,So.configurable=!0,"value"in So&&(So.writable=!0),Object.defineProperty(Eo,So.key,So)}}function xn(Eo,os,rs){return os&&Wn(Eo.prototype,os),Eo}function xa(Eo){return typeof Eo=="object"&&typeof Eo.then=="function"}var la=function(){function Eo(rs,So,Ls){this.stringified=!1,this.processed=!1;var Vs;if(typeof So=="object"&&So!==null&&So.type==="root")Vs=So;else if(So instanceof Eo||So instanceof Ma.default)Vs=So.root,So.map&&(typeof Ls.map>"u"&&(Ls.map={}),Ls.map.inline||(Ls.map.inline=!1),Ls.map.prev=So.map);else{var tl=no.default;Ls.syntax&&(tl=Ls.syntax.parse),Ls.parser&&(tl=Ls.parser),tl.parse&&(tl=tl.parse);try{Vs=tl(So,Ls)}catch(wu){this.error=wu}}this.result=new Ma.default(rs,Vs,Ls)}var os=Eo.prototype;return os.warnings=function(){return this.sync().warnings()},os.toString=function(){return this.css},os.then=function(rs,So){return this.async().then(rs,So)},os.catch=function(rs){return this.async().catch(rs)},os.finally=function(rs){return this.async().then(rs,rs)},os.handleError=function(rs,So){try{if(this.error=rs,rs.name==="CssSyntaxError"&&!rs.plugin)rs.plugin=So.postcssPlugin,rs.setMessage();else if(So.postcssVersion&&!1)var Ls,Vs,tl,wu,Hu}catch(dc){console&&console.error&&console.error(dc)}},os.asyncTick=function(rs,So){var Ls=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,rs();try{var Vs=this.processor.plugins[this.plugin],tl=this.run(Vs);this.plugin+=1,xa(tl)?tl.then(function(){Ls.asyncTick(rs,So)}).catch(function(wu){Ls.handleError(wu,Vs),Ls.processed=!0,So(wu)}):this.asyncTick(rs,So)}catch(wu){this.processed=!0,So(wu)}},os.async=function(){var rs=this;return this.processed?new Promise(function(So,Ls){rs.error?Ls(rs.error):So(rs.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(So,Ls){if(rs.error)return Ls(rs.error);rs.plugin=0,rs.asyncTick(So,Ls)}).then(function(){return rs.processed=!0,rs.stringify()}),this.processing)},os.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var rs=io(this.result.processor.plugins),So;!(So=rs()).done;){var Ls=So.value,Vs=this.run(Ls);if(xa(Vs))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},os.run=function(rs){this.result.lastPlugin=rs;try{return rs(this.result.root,this.result)}catch(So){throw this.handleError(So,rs),So}},os.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var rs=this.result.opts,So=Ea.default;rs.syntax&&(So=rs.syntax.stringify),rs.stringifier&&(So=rs.stringifier),So.stringify&&(So=So.stringify);var Ls=new va.default(So,this.result.root,this.result.opts),Vs=Ls.generate();return this.result.css=Vs[0],this.result.map=Vs[1],this.result},xn(Eo,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),Eo}(),Do=la;Ln.default=Do,Na.exports=Ln.default}}),Wu=ss({"node_modules/postcss/lib/processor.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va=Ea(Eu());functio
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return xn=ro[Symbol.iterator](),xn.next.bind(xn)}function no(ro,Wn){if(ro){if(typeof ro=="string")return Qa(ro,Wn);var xn=Object.prototype.toString.call(ro).slice(8,-1);if(xn==="Object"&&ro.constructor&&(xn=ro.constructor.name),xn==="Map"||xn==="Set")return Array.from(ro);if(xn==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(xn))return Qa(ro,Wn)}}function Qa(ro,Wn){(Wn==null||Wn>ro.length)&&(Wn=ro.length);for(var xn=0,xa=new Array(Wn);xn<Wn;xn++)xa[xn]=ro[xn];return xa}var io=function(){function ro(xn){xn===void 0&&(xn=[]),this.version="7.0.39",this.plugins=this.normalize(xn)}var Wn=ro.prototype;return Wn.use=function(xn){return this.plugins=this.plugins.concat(this.normalize([xn])),this},Wn.process=function(xn){function xa(la){return xn.apply(this,arguments)}return xa.toString=function(){return xn.toString()},xa}(function(xn,xa){return xa===void 0&&(xa={}),this.plugins.length===0&&(xa.parser,xa.stringifier),new va.default(this,xn,xa)}),Wn.normalize=function(xn){for(var xa=[],la=Ma(xn),Do;!(Do=la()).done;){var Eo=Do.value;if(Eo.postcss===!0){var os=Eo();throw new Error("PostCSS plugin "+os.postcssPlugin+` requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(Eo.postcss&&(Eo=Eo.postcss),typeof Eo=="object"&&Array.isArray(Eo.plugins))xa=xa.concat(Eo.plugins);else if(typeof Eo=="function")xa.push(Eo);else if(!(typeof Eo=="object"&&(Eo.parse||Eo.stringify)))throw typeof Eo=="object"&&Eo.postcssPlugin?new Error("PostCSS plugin "+Eo.postcssPlugin+` requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(Eo+" is not a PostCSS plugin")}return xa},ro}(),Ba=io;Ln.default=Ba,Na.exports=Ln.default}}),Qu=ss({"node_modules/postcss/lib/root.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va=Ea(vu());function Ea(Wn){return Wn&&Wn.__esModule?Wn:{default:Wn}}function Ma(Wn,xn){var xa;if(typeof Symbol>"u"||Wn[Symbol.iterator]==null){if(Array.isArray(Wn)||(xa=no(Wn))||xn){xa&&(Wn=xa);var la=0;return function(){return la>=Wn.length?{done:!0}:{done:!1,value:Wn[la++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return xa=Wn[Symbol.iterator](),xa.next.bind(xa)}function no(Wn,xn){if(Wn){if(typeof Wn=="string")return Qa(Wn,xn);var xa=Object.prototype.toString.call(Wn).slice(8,-1);if(xa==="Object"&&Wn.constructor&&(xa=Wn.constructor.name),xa==="Map"||xa==="Set")return Array.from(Wn);if(xa==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(xa))return Qa(Wn,xn)}}function Qa(Wn,xn){(xn==null||xn>Wn.length)&&(xn=Wn.length);for(var xa=0,la=new Array(xn);xa<xn;xa++)la[xa]=Wn[xa];return la}function io(Wn,xn){Wn.prototype=Object.create(xn.prototype),Wn.prototype.constructor=Wn,Wn.__proto__=xn}var Ba=function(Wn){io(xn,Wn);function xn(la){var Do;return Do=Wn.call(this,la)||this,Do.type="root",Do.nodes||(Do.nodes=[]),Do}var xa=xn.prototype;return xa.removeChild=function(la,Do){var Eo=this.index(la);return!Do&&Eo===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[Eo].raws.before),Wn.prototype.removeChild.call(this,la)},xa.normalize=function(la,Do,Eo){var os=Wn.prototype.normalize.call(this,la);if(Do){if(Eo==="prepend")this.nodes.length>1?Do.raws.before=this.nodes[1].raws.before:delete Do.raws.before;else if(this.first!==Do)for(var rs=Ma(os),So;!(So=rs()).done;){var Ls=So.value;Ls.raws.before=Do.raws.before}}return os},xa.toResult=function(la){la===void 0&&(la={});var Do=Eu(),Eo=Wu(),os=new Do(new Eo,this,la);return os.stringify()},xn}(va.default),ro=Ba;Ln.default=ro,Na.exports=Ln.default}}),Ha=ss({"node_modules/postcss/lib/parser.js"(Ln,Na){Cs(),Ln.__esModule=!0,Ln.default=void 0;var va=Ba(ys()),Ea=Ba(Ts()),Ma=Ba(vs()),no=Ba(fl()),Qa=Ba(Qu()),io=Ba(Cl());function Ba(Wn){return Wn&&Wn.__esModule?Wn:{default:Wn}}var ro=function(){function Wn(xa){this.input=xa,this.root=new Qa.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:xa,start:{line:1,column:1}}}var xn=Wn.prototype;return xn.createTokenizer=function(){this.tokenizer=(0,Ea.default)(this.input)},xn.parse=function(){for(var xa;!this.tokenizer.endOfFile();)switch(xa=this.tokenizer.nextToken(),xa[0]){case"space":this.spaces+=xa[1];break;case";":this.freeSemicolon(xa);break;case"}":this.end(xa);break;case"comment":this.comment(xa);break;case"at-word":this.atrule(xa);break;case"{":this.emptyRule(xa);break;default:this.other(xa);break}this.endFile()},xn.comment=function(xa){var la=new Ma.default;this.init(la,xa[2],xa[3]),la.source.end={line:xa[4],column:xa[5]};var Do=xa[1].slice(2,-2);if(/^\s*$/.test(Do))la.text="",la.raws.left=Do,la.raws.right="";else{var Eo=Do.match(/^(\s*)([^]*[^\s])(\s*)$/);la.text=Eo[2],la.raws.left=Eo[1],la.raws.right=Eo[3]}},xn.emptyRule=function(xa){var la=new io.default;this.init(la,xa[2],xa[3]),la.selector="",la.raws.between="",this.current=la},xn.other=function(xa){for(var la=!1,Do=null,Eo=!1,os=null,rs=[],So=[],Ls=xa;Ls;){if(Do=Ls[0],So.push(Ls),Do==="("||Do==="[")os||(os=Ls),rs.push(Do==="("?")":"]");else if(rs.length===0)if(Do===";")if(Eo){this.decl(So);return}else break;else if(Do==="{"){this.rule(So);return}else if(Do==="}"){this.tokenizer.back(So.pop()),la=!0;break}else Do===":"&&(Eo=!0);else Do===rs[rs.length-1]&&(rs.pop(),rs.length===0&&(os=null));Ls=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(la=!0),rs.length>0&&this.unclosedBracket(os),la&&Eo){for(;So.length&&(Ls=So[So.length-1][0],!(Ls!=="space"&&Ls!=="comment"));)this.tokenizer.back(So.pop());this.decl(So)}else this.unknownWord(So)},xn.rule=function(xa){xa.pop();var la=new io.default;this.init(la,xa[0][2],xa[0][3]),la.raws.between=this.spacesAndCommentsFromEnd(xa),this.raw(la,"selector",xa),this.current=la},xn.decl=function(xa){var la=new va.default;this.init(la);var Do=xa[xa.length-1];for(Do[0]===";"&&(this.semicolon=!0,xa.pop()),Do[4]?la.source.end={line:Do[4],column:Do[5]}:la.source.end={line:Do[2],column:Do[3]};xa[0][0]!=="word";)xa.length===1&&this.unknownWord(xa),la.raws.before+=xa.shift()[1];for(la.source.start={line:xa[0][2],column:xa[0][3]},la.prop="";xa.length;){var Eo=xa[0][0];if(Eo===":"||Eo==="space"||Eo==="co
`)));let ro=Ma[1].substring(Ma[1].indexOf(`
`));ro+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new Ea(ro),this.tokenizer=va(this.input)}else this.tokenizer.back(Ma);break}Qa.push(Ma[1]),io=Ma,Ma=this.tokenizer.nextToken({ignoreUnclosed:!0})}let Ba=["comment",Qa.join(""),no[2],no[3],io[2],io[3]];return this.inlineComment(Ba),!0}else if(Ma[1]==="/"){let no=this.tokenizer.nextToken({ignoreUnclosed:!0});if(no[0]==="comment"&&/^\/\*/.test(no[1]))return no[0]="word",no[1]=no[1].slice(1),Ma[1]="//",this.tokenizer.back(no),Na.exports.isInlineComment.bind(this)(Ma)}return!1}}}}),yc=ss({"node_modules/postcss-less/lib/nodes/interpolation.js"(Ln,Na){Cs(),Na.exports={interpolation(va){let Ea=va,Ma=[va],no=["word","{","}"];if(va=this.tokenizer.nextToken(),Ea[1].length>1||va[0]!=="{")return this.tokenizer.back(va),!1;for(;va&&no.includes(va[0]);)Ma.push(va),va=this.tokenizer.nextToken();let Qa=Ma.map(xn=>xn[1]);[Ea]=Ma;let io=Ma.pop(),Ba=[Ea[2],Ea[3]],ro=[io[4]||io[2],io[5]||io[3]],Wn=["word",Qa.join("")].concat(Ba,ro);return this.tokenizer.back(va),this.tokenizer.back(Wn),!0}}}}),Su=ss({"node_modules/postcss-less/lib/nodes/mixin.js"(Ln,Na){Cs();var va=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,Ea=/\.[0-9]/,Ma=no=>{let[,Qa]=no,[io]=Qa;return(io==="."||io==="#")&&va.test(Qa)===!1&&Ea.test(Qa)===!1};Na.exports={isMixinToken:Ma}}}),Bl=ss({"node_modules/postcss-less/lib/nodes/import.js"(Ln,Na){Cs();var va=Ts(),Ea=/^url\((.+)\)/;Na.exports=Ma=>{let{name:no,params:Qa=""}=Ma;if(no==="import"&&Qa.length){Ma.import=!0;let io=va({css:Qa});for(Ma.filename=Qa.replace(Ea,"$1");!io.endOfFile();){let[Ba,ro]=io.nextToken();if(Ba==="word"&&ro==="url")return;if(Ba==="brackets"){Ma.options=ro,Ma.filename=Qa.replace(ro,"").trim();break}}}}}}),Ou=ss({"node_modules/postcss-less/lib/nodes/variable.js"(Ln,Na){Cs();var va=/:$/,Ea=/^:(\s+)?/;Na.exports=Ma=>{let{name:no,params:Qa=""}=Ma;if(Ma.name.slice(-1)===":"){if(va.test(no)){let[io]=no.match(va);Ma.name=no.replace(io,""),Ma.raws.afterName=io+(Ma.raws.afterName||""),Ma.variable=!0,Ma.value=Ma.params}if(Ea.test(Qa)){let[io]=Qa.match(Ea);Ma.value=Qa.replace(io,""),Ma.raws.afterName=(Ma.raws.afterName||"")+io,Ma.variable=!0}}}}}),bl=ss({"node_modules/postcss-less/lib/LessParser.js"(Ln,Na){Cs();var va=vs(),Ea=Ha(),{isInlineComment:Ma}=bu(),{interpolation:no}=yc(),{isMixinToken:Qa}=Su(),io=Bl(),Ba=Ou(),ro=/(!\s*important)$/i;Na.exports=class extends Ea{constructor(){super(...arguments),this.lastNode=null}atrule(Wn){no.bind(this)(Wn)||(super.atrule(Wn),io(this.lastNode),Ba(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(Wn){Wn[0][1]=` ${Wn[0][1]}`;let xn=Wn.findIndex(Eo=>Eo[0]==="("),xa=Wn.reverse().find(Eo=>Eo[0]===")"),la=Wn.reverse().indexOf(xa),Do=Wn.splice(xn,la).map(Eo=>Eo[1]).join("");for(let Eo of Wn.reverse())this.tokenizer.back(Eo);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=Do}init(Wn,xn,xa){super.init(Wn,xn,xa),this.lastNode=Wn}inlineComment(Wn){let xn=new va,xa=Wn[1].slice(2);if(this.init(xn,Wn[2],Wn[3]),xn.source.end={line:Wn[4],column:Wn[5]},xn.inline=!0,xn.raws.begin="//",/^\s*$/.test(xa))xn.text="",xn.raws.left=xa,xn.raws.right="";else{let la=xa.match(/^(\s*)([^]*[^\s])(\s*)$/);[,xn.raws.left,xn.text,xn.raws.right]=la}}mixin(Wn){let[xn]=Wn,xa=xn[1].slice(0,1),la=Wn.findIndex(So=>So[0]==="brackets"),Do=Wn.findIndex(So=>So[0]==="("),Eo="";if((la<0||la>3)&&Do>0){let So=Wn.reduce((Uc,Pc,kc)=>Pc[0]===")"?kc:Uc),Ls=Wn.slice(Do,So+Do).map(Uc=>Uc[1]).join(""),[Vs]=Wn.slice(Do),tl=[Vs[2],Vs[3]],[wu]=Wn.slice(So,So+1),Hu=[wu[2],wu[3]],dc=["brackets",Ls].concat(tl,Hu),Bc=Wn.slice(0,Do),Mc=Wn.slice(So+1);Wn=Bc,Wn.push(dc),Wn=Wn.concat(Mc)}let os=[];for(let So of Wn)if((So[1]==="!"||os.length)&&os.push(So),So[1]==="important")break;if(os.length){let[So]=os,Ls=Wn.indexOf(So),Vs=os[os.length-1],tl=[So[2],So[3]],wu=[Vs[4],Vs[5]],Hu=["word",os.map(dc=>dc[1]).join("")].concat(tl,wu);Wn.splice(Ls,os.length,Hu)}let rs=Wn.findIndex(So=>ro.test(So[1]));rs>0&&([,Eo]=Wn[rs],Wn.splice(rs,1));for(let So of Wn.reverse())this.t
`),Kd=Md.length-1,Kd>0?(gc=xc+Kd,Hc=pu-Md[Kd].length):(gc=xc,Hc=Ws),yl=["brackets",yd,xc,hc-Ws,gc,pu-Hc],Ws=Hc,xc=gc,hc=pu}else pu=ku.indexOf(")",hc+1),yd=ku.slice(hc,pu+1),pu===-1||Bc.test(yd)?yl=["(","(",xc,hc-Ws]:(yl=["brackets",yd,xc,hc-Ws,xc,pu-Ws],hc=pu);break;case Do:yl=[")",")",xc,hc-Ws];break;case va:case Ea:for(hp=Bu,pu=hc,zc=!1;pu<zu&&(pu++,pu===zu&&Jd("string"),Bu=ku.charCodeAt(pu),Qs=ku.charCodeAt(pu+1),!(!zc&&Bu===hp));)Bu===Ma?zc=!zc:zc?zc=!1:Bu===wu&&Qs===Eo&&of();yd=ku.slice(hc,pu+1),Md=yd.split(`
`),Kd=Md.length-1,Kd>0?(gc=xc+Kd,Hc=pu-Md[Kd].length):(gc=xc,Hc=Ws),yl=["string",ku.slice(hc,pu+1),xc,hc-Ws,gc,pu-Hc],Ws=Hc,xc=gc,hc=pu;break;case Vs:Hu.lastIndex=hc+1,Hu.test(ku),Hu.lastIndex===0?pu=ku.length-1:pu=Hu.lastIndex-2,yl=["at-word",ku.slice(hc,pu+1),xc,hc-Ws,xc,pu-Ws],hc=pu;break;case Ma:for(pu=hc,rd=!0;ku.charCodeAt(pu+1)===Ma;)pu+=1,rd=!rd;if(Bu=ku.charCodeAt(pu+1),rd&&Bu!==no&&Bu!==io&&Bu!==Qa&&Bu!==ro&&Bu!==Wn&&Bu!==Ba&&(pu+=1,Mc.test(ku.charAt(pu)))){for(;Mc.test(ku.charAt(pu+1));)pu+=1;ku.charCodeAt(pu+1)===io&&(pu+=1)}yl=["word",ku.slice(hc,pu+1),xc,hc-Ws,xc,pu-Ws],hc=pu;break;default:Qs=ku.charCodeAt(hc+1),Bu===wu&&Qs===Eo?(pu=hc,of(),yd=ku.slice(hc,pu+1),Md=yd.split(`
`),Kd=Md.length-1,Kd>0?(gc=xc+Kd,Hc=pu-Md[Kd].length):(gc=xc,Hc=Ws),yl=["word",yd,xc,hc-Ws,gc,pu-Hc],Ws=Hc,xc=gc,hc=pu):Bu===no&&Qs===So?(pu=ku.indexOf("*/",hc+2)+1,pu===0&&(fu?pu=ku.length:Jd("comment")),yd=ku.slice(hc,pu+1),Md=yd.split(`
`),Kd=Md.length-1,Kd>0?(gc=xc+Kd,Hc=pu-Md[Kd].length):(gc=xc,Hc=Ws),yl=["comment",yd,xc,hc-Ws,gc,pu-Hc],Ws=Hc,xc=gc,hc=pu):Bu===no&&Qs===no?(Uc.lastIndex=hc+1,Uc.test(ku),Uc.lastIndex===0?pu=ku.length-1:pu=Uc.lastIndex-2,yd=ku.slice(hc,pu+1),yl=["comment",yd,xc,hc-Ws,xc,pu-Ws,"inline"],hc=pu):(dc.lastIndex=hc+1,dc.test(ku),dc.lastIndex===0?pu=ku.length-1:pu=dc.lastIndex-2,yl=["word",ku.slice(hc,pu+1),xc,hc-Ws,xc,pu-Ws],Lp.push(yl),hc=pu);break}return hc++,yl}}function ed(gp){cp.push(gp)}return{back:ed,nextToken:Ep,endOfFile:Df}}}}),kd=ss({"node_modules/postcss-scss/lib/scss-parser.js"(Ln,Na){Cs();function va(Ba,ro){Ba.prototype=Object.create(ro.prototype),Ba.prototype.constructor=Ba,Ba.__proto__=ro}var Ea=vs(),Ma=Ha(),no=Ic(),Qa=$c(),io=function(Ba){va(ro,Ba);function ro(){return Ba.apply(this,arguments)||this}var Wn=ro.prototype;return Wn.createTokenizer=function(){this.tokenizer=Qa(this.input)},Wn.rule=function(xn){for(var xa=!1,la=0,Do="",rs=xn,Eo=Array.isArray(rs),os=0,rs=Eo?rs:rs[Symbol.iterator]();;){var So;if(Eo){if(os>=rs.length)break;So=rs[os++]}else{if(os=rs.next(),os.done)break;So=os.value}var Ls=So;if(xa)Ls[0]!=="comment"&&Ls[0]!=="{"&&(Do+=Ls[1]);else{if(Ls[0]==="space"&&Ls[1].indexOf(`
`)!==-1)break;Ls[0]==="("?la+=1:Ls[0]===")"?la-=1:la===0&&Ls[0]===":"&&(xa=!0)}}if(!xa||Do.trim()===""||/^[a-zA-Z-:#]/.test(Do))Ba.prototype.rule.call(this,xn);else{xn.pop();var Vs=new no;this.init(Vs);var tl=xn[xn.length-1];for(tl[4]?Vs.source.end={line:tl[4],column:tl[5]}:Vs.source.end={line:tl[2],column:tl[3]};xn[0][0]!=="word";)Vs.raws.before+=xn.shift()[1];for(Vs.source.start={line:xn[0][2],column:xn[0][3]},Vs.prop="";xn.length;){var wu=xn[0][0];if(wu===":"||wu==="space"||wu==="comment")break;Vs.prop+=xn.shift()[1]}Vs.raws.between="";for(var Hu;xn.length;)if(Hu=xn.shift(),Hu[0]===":"){Vs.raws.between+=Hu[1];break}else Vs.raws.between+=Hu[1];(Vs.prop[0]==="_"||Vs.prop[0]==="*")&&(Vs.raws.before+=Vs.prop[0],Vs.prop=Vs.prop.slice(1)),Vs.raws.between+=this.spacesAndCommentsFromStart(xn),this.precheckMissedSemicolon(xn);for(var dc=xn.length-1;dc>0;dc--){if(Hu=xn[dc],Hu[1]==="!important"){Vs.important=!0;var Bc=this.stringFrom(xn,dc);Bc=this.spacesFromEnd(xn)+Bc,Bc!==" !important"&&(Vs.raws.important=Bc);break}else if(Hu[1]==="important"){for(var Mc=xn.slice(0),Uc="",Pc=dc;Pc>0;Pc--){var kc=Mc[Pc][0];if(Uc.trim().indexOf("!")===0&&kc!=="space")break;Uc=Mc.pop()[1]+Uc}Uc.trim().indexOf("!")===0&&(Vs.important=!0,Vs.raws.important=Uc,xn=Mc)}if(Hu[0]!=="space"&&Hu[0]!=="comment")break}this.raw(Vs,"value",xn),Vs.value.indexOf(":")!==-1&&this.checkMissedSemicolon(xn),this.current=Vs}},Wn.comment=function(xn){if(xn[6]==="inline"){var xa=new Ea;this.init(xa,xn[2],xn[3]),xa.raws.inline=!0,xa.source.end={line:xn[4],column:xn[5]};var la=xn[1].slice(2);if(/^\s*$/.test(la))xa.text="",xa.raws.left=la,xa.raws.right="";else{var Do=la.match(/^(\s*)([^]*[^\s])(\s*)$/),Eo=Do[2].replace(/(\*\/|\/\*)/g,"*//*");xa.text=Eo,xa.raws.left=Do[1],xa.raws.right=Do[3],xa.raws.text=Do[2]}}else Ba.prototype.comment.call(this,xn)},Wn.raw=function(xn,xa,la){if(Ba.prototype.raw.call(this,xn,xa,la),xn.raws[xa]){var Do=xn.raws[xa].raw;xn.raws[xa].raw=la.reduce(function(Eo,os){if(os[0]==="comment"&&os[6]==="inline"){var rs=os[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return Eo+"/*"+rs+"*/"}else return Eo+os[1]},""),Do!==xn.raws[xa].raw&&(xn.raws[xa].scss=Do)}},ro}(Ma);Na.exports=io}}),wc=ss({"node_modules/postcss-scss/lib/scss-parse.js"(Ln,Na){Cs();var va=Bs(),Ea=kd();Na.exports=function(Ma,no){var Qa=new va(Ma,no),io=new Ea(Qa);return io.parse(),io.root}}}),tp=ss({"node_modules/postcss-scss/lib/scss-syntax.js"(Ln,Na){Cs();var va=cc(),Ea=wc();Na.exports={parse:Ea,stringify:va}}});Cs();var Up=$u(),Dp=Pu(),lp=Lc(),{hasPragma:Yc}=ju(),{locStart:ld,locEnd:ef}=Qo(),{calculateLoc:tf,replaceQuotesInInlineComments:Ef}=Qo(),Yp=yu(),Qd=pl(),pp=Fu(),fp=Oc(),Vd=sd(),Hd=ud(),Zc=vp(),zd=dp(),Rp=Ln=>{for(;Ln.parent;)Ln=Ln.parent;return Ln};function Uf(Ln,Na){let{nodes:va}=Ln,Ea={open:null,close:null,groups:[],type:"paren_group"},Ma=[Ea],no=Ea,Qa={groups:[],type:"comma_group"},io=[Qa];for(let Ba=0;Ba<va.length;++Ba){let ro=va[Ba];if(fp(Na.parser,ro.value)&&ro.type==="number"&&ro.unit===".."&&Dp(ro.value)==="."&&(ro.value=ro.value.slice(0,-1),ro.unit="..."),ro.type==="func"&&ro.value==="selector"&&(ro.group.groups=[nf(Rp(Ln).text.slice(ro.group.open.sourceIndex+1,ro.group.close.sourceIndex))]),ro.type==="func"&&ro.value==="url"){let Wn=ro.group&&ro.group.groups||[],xn=[];for(let xa=0;xa<Wn.length;xa++){let la=Wn[xa];la.type==="comma_group"?xn=[...xn,...la.groups]:xn.push(la)}if(Yp(xn)||!Qd(xn)&&!Hd(xn[0])){let xa=Zc({groups:ro.group.groups});ro.group.groups=[xa.trim()]}}if(ro.type==="paren"&&ro.value==="(")Ea={open:ro,close:null,groups:[],type:"paren_group"},Ma.push(Ea),Qa={groups:[],type:"comma_group"},io.push(Qa);else if(ro.type==="paren"&&ro.value===")"){if(Qa.groups.length>0&&Ea.groups.push(Qa),Ea.close=ro,io.length===1)throw new Error("Unbalanced parenthesis");io.pop(),Qa=Dp(io),Qa.groups.push(Ea),Ma.pop(),Ea=Dp(Ma)}else ro.type==="comma"?(Ea.groups.push(Qa),Qa={groups:[],type:"comma_group"},io[io.length-1]=Qa):Qa.groups.push(ro)}return Qa.groups.length>0&&Ea.groups.push(Qa),no}function Jm(Ln){return Ln.type==="paren_group"&&!Ln.open&&!Ln.close&&Ln.groups.length===1||
`,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:"
`);Wu!==-1;)Hs++,Eu=Wu,Wu=Ys.indexOf(`
`,Wu+1);Eu===-1?Bs+=Ys.length:Bs=Ys.length-Eu,Hs in ko&&(Eu!==-1?Bs+=ko[Hs]:Bs<=ko[Hs]&&(Bs=ko[Hs]+1))}function _l(){var Ys=[],Eu=Hs+1;return function(){for(var Wu=Hs+1;Eu<Wu;)Ys.push((ko[Eu]||0)+1),Eu++;return Ys}}function Cl(){var Ys={line:Hs,column:Bs};return Ys.offset=Wa.toOffset(Ys),Ys}function vu(Ys){this.start=Ys,this.end=Cl()}function fl(Ys){Ja.slice(0,Ys.length)!==Ys&&Wa.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),Cl())}function Hl(){var Ys=Cl();return Eu;function Eu(Wu,Qu){var Ha=Wu.position,bu=Ha?Ha.start:Ys,yc=[],Su=Ha&&Ha.end.line,Bl=Ys.line;if(Wu.position=new vu(bu),Ha&&Qu&&Ha.indent){if(yc=Ha.indent,Su<Bl){for(;++Su<Bl;)yc.push((ko[Su]||0)+1);yc.push(Ys.column)}Qu=yc.concat(Qu)}return Wu.position.indent=Qu||[],Wu}}function gu(Ys,Eu){var Wu=Eu?Eu.children:Es,Qu=Wu[Wu.length-1],Ha;return Qu&&Ys.type===Qu.type&&(Ys.type==="text"||Ys.type==="blockquote")&&xo(Qu)&&xo(Ys)&&(Ha=Ys.type==="text"?Co:Ka,Ys=Ha.call(Wa,Qu,Ys)),Ys!==Qu&&Wu.push(Ys),Wa.atStart&&Es.length!==0&&Wa.exitStart(),Ys}function Tu(Ys){var Eu=_l(),Wu=Hl(),Qu=Cl();return fl(Ys),Ha.reset=bu,bu.test=yc,Ha.test=yc,Ja=Ja.slice(Ys.length),Is(Ys),Eu=Eu(),Ha;function Ha(Su,Bl){return Wu(gu(Wu(Su),Bl),Eu)}function bu(){var Su=Ha.apply(null,arguments);return Hs=Qu.line,Bs=Qu.column,Ja=Ys+Ja,Su}function yc(){var Su=Wu({});return Hs=Qu.line,Bs=Qu.column,Ja=Ys+Ja,Su.position}}}}function xo(_o){var Ao,Ja;return _o.type!=="text"||!_o.position?!0:(Ao=_o.position.start,Ja=_o.position.end,Ao.line!==Ja.line||Ja.column-Ao.column===_o.value.length)}function Co(_o,Ao){return _o.value+=Ao.value,_o}function Ka(_o,Ao){return this.options.commonmark||this.options.gfm?Ao:(_o.children=_o.children.concat(Ao.children),_o)}}}),dp=qi({"node_modules/markdown-escapes/index.js"(As,is){Bo(),is.exports=Ka;var bo=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],xo=bo.concat(["~","|"]),Co=xo.concat([`
`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);Ka.default=bo,Ka.gfm=xo,Ka.commonmark=Co;function Ka(_o){var Ao=_o||{};return Ao.commonmark?Co:Ao.gfm?xo:bo}}}),Rc=qi({"node_modules/remark-parse/lib/block-elements.js"(As,is){Bo(),is.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"]}}),qd=qi({"node_modules/remark-parse/lib/defaults.js"(As,is){Bo(),is.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:Rc()}}}),id=qi({"node_modules/remark-parse/lib/set-options.js"(As,is){Bo();var bo=Yl(),xo=dp(),Co=qd();is.exports=Ka;function Ka(_o){var Ao=this,Ja=Ao.options,Fo,Wa;if(_o==null)_o={};else if(typeof _o=="object")_o=bo(_o);else throw new Error("Invalid value `"+_o+"` for setting `options`");for(Fo in Co){if(Wa=_o[Fo],Wa==null&&(Wa=Ja[Fo]),Fo!=="blocks"&&typeof Wa!="boolean"||Fo==="blocks"&&typeof Wa!="object")throw new Error("Invalid value `"+Wa+"` for setting `options."+Fo+"`");_o[Fo]=Wa}return Ao.options=_o,Ao.escape=xo(_o),Ao}}}),Op=qi({"node_modules/unist-util-is/convert.js"(As,is){Bo(),is.exports=bo;function bo(Ao){if(Ao==null)return _o;if(typeof Ao=="string")return Ka(Ao);if(typeof Ao=="object")return"length"in Ao?Co(Ao):xo(Ao);if(typeof Ao=="function")return Ao;throw new Error("Expected function, string, or object as test")}function xo(Ao){return Ja;function Ja(Fo){var Wa;for(Wa in Ao)if(Fo[Wa]!==Ao[Wa])return!1;return!0}}function Co(Ao){for(var Ja=[],Fo=-1;++Fo<Ao.length;)Ja[Fo]=bo(Ao[Fo]);return Wa;function Wa(){for(var ko=-1;++ko<Ja.length;)if(Ja[ko].apply(this,arguments))return!0;return!1}}function Ka(Ao){return Ja;function Ja(Fo){return!!(Fo&&Fo.type===Ao)}}function _o(){return!0}}}),xp=qi({"node_modules/unist-util-visit-parents/color.browser.js"(As,is){Bo(),is.exports=bo;function bo(xo){return xo}}}),Cf=qi({"node_modules/unist-util-visit-parents/index.js"(As,is){Bo(),is.exports=Ao;var bo=Op(),xo=xp(),Co=!0,Ka="skip",_o=!1;Ao.CONTINUE=Co,Ao.SKIP=Ka,Ao.EXIT=_o;function Ao(Fo,Wa,ko,Es){var us,Rs;typeof Wa=="function"&&typeof ko!="function"&&(Es=ko,ko=Wa,Wa=null),Rs=bo(Wa),us=Es?-1:1,Hs(Fo,null,[])();function Hs(Bs,sl,Jo){var rl=typeof Bs=="object"&&Bs!==null?Bs:{},vs;return typeof rl.type=="string"&&(vs=typeof rl.tagName=="string"?rl.tagName:typeof rl.name=="string"?rl.name:void 0,ys.displayName="node ("+xo(rl.type+(vs?"<"+vs+">":""))+")"),ys;function ys(){var Ts=Jo.concat(Bs),Is=[],_l,Cl;if((!Wa||Rs(Bs,sl,Jo[Jo.length-1]||null))&&(Is=Ja(ko(Bs,Jo)),Is[0]===_o))return Is;if(Bs.children&&Is[0]!==Ka)for(Cl=(Es?Bs.children.length:-1)+us;Cl>-1&&Cl<Bs.children.length;){if(_l=Hs(Bs.children[Cl],Cl,Ts)(),_l[0]===_o)return _l;Cl=typeof _l[1]=="number"?_l[1]:Cl+us}return Is}}}function Ja(Fo){return Fo!==null&&typeof Fo=="object"&&"length"in Fo?Fo:typeof Fo=="number"?[Co,Fo]:[Fo]}}}),Of=qi({"node_modules/unist-util-visit/index.js"(As,is){Bo(),is.exports=_o;var bo=Cf(),xo=bo.CONTINUE,Co=bo.SKIP,Ka=bo.EXIT;_o.CONTINUE=xo,_o.SKIP=Co,_o.EXIT=Ka;function _o(Ao,Ja,Fo,Wa){typeof Ja=="function"&&typeof Fo!="function"&&(Wa=Fo,Fo=Ja,Ja=null),bo(Ao,Ja,ko,Wa);function ko(Es,us){var Rs=us[us.length-1],Hs=Rs?Rs.children.indexOf(Es):null;return Fo(Es,Hs,Rs)}}}}),cf=qi({"node_modules/unist-util-remove-position/index.js"(As,is){Bo();var bo=Of();is.exports=xo;function xo(_o,Ao){return bo(_o,Ao?Co:Ka),_o}function Co(_o){delete _o.position}function Ka(_o){_o.position=void 0}}}),Ip=qi({"node_modules/remark-parse/lib/parse.js"(As,is){Bo();var bo=Yl(),xo=cf();is.exports=_o;var Co=`
`,Ka=/\r\n|\r/g;function _o(){var Ao=this,Ja=String(Ao.file),Fo={line:1,column:1,offset:0},Wa=bo(Fo),ko;return Ja=Ja.replace(Ka,Co),Ja.charCodeAt(0)===65279&&(Ja=Ja.slice(1),Wa.column++,Wa.offset++),ko={type:"root",children:Ao.tokenizeBlock(Ja,Wa),position:{start:Fo,end:Ao.eof||bo(Fo)}},Ao.options.position||xo(ko,!0),ko}}}),mm=qi({"node_modules/remark-parse/lib/tokenize/blank-line.js"(As,is){Bo();var bo=/^[ \t]*(\n|$)/;is.exports=xo;function xo(Co,Ka,_o){for(var Ao,Ja="",Fo=0,Wa=Ka.length;Fo<Wa&&(Ao=bo.exec(Ka.slice(Fo)),Ao!=null);)Fo+=Ao[0].length,Ja+=Ao[0];if(Ja!==""){if(_o)return!0;Co(Ja)}}}}),Rf=qi({"node_modules/repeat-string/index.js"(As,is){Bo();var bo="",xo;is.exports=Co;function Co(Ka,_o){if(typeof Ka!="string")throw new TypeError("expected a string");if(_o===1)return Ka;if(_o===2)return Ka+Ka;var Ao=Ka.length*_o;if(xo!==Ka||typeof xo>"u")xo=Ka,bo="";else if(bo.length>=Ao)return bo.substr(0,Ao);for(;Ao>bo.length&&_o>1;)_o&1&&(bo+=Ka),_o>>=1,Ka+=Ka;return bo+=Ka,bo=bo.substr(0,Ao),bo}}}),Ec=qi({"node_modules/trim-trailing-lines/index.js"(As,is){Bo(),is.exports=bo;function bo(xo){return String(xo).replace(/\n+$/,"")}}}),wf=qi({"node_modules/remark-parse/lib/tokenize/code-indented.js"(As,is){Bo();var bo=Rf(),xo=Ec();is.exports=Fo;var Co=`
`,Ka=" ",_o=" ",Ao=4,Ja=bo(_o,Ao);function Fo(Wa,ko,Es){for(var us=-1,Rs=ko.length,Hs="",Bs="",sl="",Jo="",rl,vs,ys;++us<Rs;)if(rl=ko.charAt(us),ys)if(ys=!1,Hs+=sl,Bs+=Jo,sl="",Jo="",rl===Co)sl=rl,Jo=rl;else for(Hs+=rl,Bs+=rl;++us<Rs;){if(rl=ko.charAt(us),!rl||rl===Co){Jo=rl,sl=rl;break}Hs+=rl,Bs+=rl}else if(rl===_o&&ko.charAt(us+1)===rl&&ko.charAt(us+2)===rl&&ko.charAt(us+3)===rl)sl+=Ja,us+=3,ys=!0;else if(rl===Ka)sl+=rl,ys=!0;else{for(vs="";rl===Ka||rl===_o;)vs+=rl,rl=ko.charAt(++us);if(rl!==Co)break;sl+=vs+rl,Jo+=rl}if(Bs)return Es?!0:Wa(Hs)({type:"code",lang:null,meta:null,value:xo(Bs)})}}}),Tp=qi({"node_modules/remark-parse/lib/tokenize/code-fenced.js"(As,is){Bo(),is.exports=Fo;var bo=`
`,xo=" ",Co=" ",Ka="~",_o="`",Ao=3,Ja=4;function Fo(Wa,ko,Es){var us=this,Rs=us.options.gfm,Hs=ko.length+1,Bs=0,sl="",Jo,rl,vs,ys,Ts,Is,_l,Cl,vu,fl,Hl,gu,Tu;if(Rs){for(;Bs<Hs&&(vs=ko.charAt(Bs),!(vs!==Co&&vs!==xo));)sl+=vs,Bs++;if(gu=Bs,vs=ko.charAt(Bs),!(vs!==Ka&&vs!==_o)){for(Bs++,rl=vs,Jo=1,sl+=vs;Bs<Hs&&(vs=ko.charAt(Bs),vs===rl);)sl+=vs,Jo++,Bs++;if(!(Jo<Ao)){for(;Bs<Hs&&(vs=ko.charAt(Bs),!(vs!==Co&&vs!==xo));)sl+=vs,Bs++;for(ys="",_l="";Bs<Hs&&(vs=ko.charAt(Bs),!(vs===bo||rl===_o&&vs===rl));)vs===Co||vs===xo?_l+=vs:(ys+=_l+vs,_l=""),Bs++;if(vs=ko.charAt(Bs),!(vs&&vs!==bo)){if(Es)return!0;Tu=Wa.now(),Tu.column+=sl.length,Tu.offset+=sl.length,sl+=ys,ys=us.decode.raw(us.unescape(ys),Tu),_l&&(sl+=_l),_l="",fl="",Hl="",Cl="",vu="";for(var Ys=!0;Bs<Hs;){if(vs=ko.charAt(Bs),Cl+=fl,vu+=Hl,fl="",Hl="",vs!==bo){Cl+=vs,Hl+=vs,Bs++;continue}for(Ys?(sl+=vs,Ys=!1):(fl+=vs,Hl+=vs),_l="",Bs++;Bs<Hs&&(vs=ko.charAt(Bs),vs===Co);)_l+=vs,Bs++;if(fl+=_l,Hl+=_l.slice(gu),!(_l.length>=Ja)){for(_l="";Bs<Hs&&(vs=ko.charAt(Bs),vs===rl);)_l+=vs,Bs++;if(fl+=_l,Hl+=_l,!(_l.length<Jo)){for(_l="";Bs<Hs&&(vs=ko.charAt(Bs),!(vs!==Co&&vs!==xo));)fl+=vs,Hl+=vs,Bs++;if(!vs||vs===bo)break}}}for(sl+=Cl+fl,Bs=-1,Hs=ys.length;++Bs<Hs;)if(vs=ys.charAt(Bs),vs===Co||vs===xo)Ts||(Ts=ys.slice(0,Bs));else if(Ts){Is=ys.slice(Bs);break}return Wa(sl)({type:"code",lang:Ts||ys||null,meta:Is||null,value:vu})}}}}}}}),df=qi({"node_modules/trim/index.js"(As,is){Bo(),As=is.exports=bo;function bo(xo){return xo.replace(/^\s*|\s*$/g,"")}As.left=function(xo){return xo.replace(/^\s*/,"")},As.right=function(xo){return xo.replace(/\s*$/,"")}}}),Vf=qi({"node_modules/remark-parse/lib/util/interrupt.js"(As,is){Bo(),is.exports=bo;function bo(xo,Co,Ka,_o){for(var Ao=xo.length,Ja=-1,Fo,Wa;++Ja<Ao;)if(Fo=xo[Ja],Wa=Fo[1]||{},!(Wa.pedantic!==void 0&&Wa.pedantic!==Ka.options.pedantic)&&!(Wa.commonmark!==void 0&&Wa.commonmark!==Ka.options.commonmark)&&Co[Fo[0]].apply(Ka,_o))return!0;return!1}}}),xf=qi({"node_modules/remark-parse/lib/tokenize/blockquote.js"(As,is){Bo();var bo=df(),xo=Vf();is.exports=Ja;var Co=`
`,Ka=" ",_o=" ",Ao=">";function Ja(Fo,Wa,ko){for(var Es=this,us=Es.offset,Rs=Es.blockTokenizers,Hs=Es.interruptBlockquote,Bs=Fo.now(),sl=Bs.line,Jo=Wa.length,rl=[],vs=[],ys=[],Ts,Is=0,_l,Cl,vu,fl,Hl,gu,Tu,Ys;Is<Jo&&(_l=Wa.charAt(Is),!(_l!==_o&&_l!==Ka));)Is++;if(Wa.charAt(Is)===Ao){if(ko)return!0;for(Is=0;Is<Jo;){for(vu=Wa.indexOf(Co,Is),gu=Is,Tu=!1,vu===-1&&(vu=Jo);Is<Jo&&(_l=Wa.charAt(Is),!(_l!==_o&&_l!==Ka));)Is++;if(Wa.charAt(Is)===Ao?(Is++,Tu=!0,Wa.charAt(Is)===_o&&Is++):Is=gu,fl=Wa.slice(Is,vu),!Tu&&!bo(fl)){Is=gu;break}if(!Tu&&(Cl=Wa.slice(Is),xo(Hs,Rs,Es,[Fo,Cl,!0])))break;Hl=gu===Is?fl:Wa.slice(gu,vu),ys.push(Is-gu),rl.push(Hl),vs.push(fl),Is=vu+1}for(Is=-1,Jo=ys.length,Ts=Fo(rl.join(Co));++Is<Jo;)us[sl]=(us[sl]||0)+ys[Is],sl++;return Ys=Es.enterBlock(),vs=Es.tokenizeBlock(vs.join(Co),Bs),Ys(),Ts({type:"blockquote",children:vs})}}}}),Hf=qi({"node_modules/remark-parse/lib/tokenize/heading-atx.js"(As,is){Bo(),is.exports=Ao;var bo=`
`,xo=" ",Co=" ",Ka="#",_o=6;function Ao(Ja,Fo,Wa){for(var ko=this,Es=ko.options.pedantic,us=Fo.length+1,Rs=-1,Hs=Ja.now(),Bs="",sl="",Jo,rl,vs;++Rs<us;){if(Jo=Fo.charAt(Rs),Jo!==Co&&Jo!==xo){Rs--;break}Bs+=Jo}for(vs=0;++Rs<=us;){if(Jo=Fo.charAt(Rs),Jo!==Ka){Rs--;break}Bs+=Jo,vs++}if(!(vs>_o)&&!(!vs||!Es&&Fo.charAt(Rs+1)===Ka)){for(us=Fo.length+1,rl="";++Rs<us;){if(Jo=Fo.charAt(Rs),Jo!==Co&&Jo!==xo){Rs--;break}rl+=Jo}if(!(!Es&&rl.length===0&&Jo&&Jo!==bo)){if(Wa)return!0;for(Bs+=rl,rl="",sl="";++Rs<us&&(Jo=Fo.charAt(Rs),!(!Jo||Jo===bo));){if(Jo!==Co&&Jo!==xo&&Jo!==Ka){sl+=rl+Jo,rl="";continue}for(;Jo===Co||Jo===xo;)rl+=Jo,Jo=Fo.charAt(++Rs);if(!Es&&sl&&!rl&&Jo===Ka){sl+=Jo;continue}for(;Jo===Ka;)rl+=Jo,Jo=Fo.charAt(++Rs);for(;Jo===Co||Jo===xo;)rl+=Jo,Jo=Fo.charAt(++Rs);Rs--}return Hs.column+=Bs.length,Hs.offset+=Bs.length,Bs+=sl+rl,Ja(Bs)({type:"heading",depth:vs,children:ko.tokenizeInline(sl,Hs)})}}}}}),Gp=qi({"node_modules/remark-parse/lib/tokenize/thematic-break.js"(As,is){Bo(),is.exports=Fo;var bo=" ",xo=`
`,Co=" ",Ka="*",_o="-",Ao="_",Ja=3;function Fo(Wa,ko,Es){for(var us=-1,Rs=ko.length+1,Hs="",Bs,sl,Jo,rl;++us<Rs&&(Bs=ko.charAt(us),!(Bs!==bo&&Bs!==Co));)Hs+=Bs;if(!(Bs!==Ka&&Bs!==_o&&Bs!==Ao))for(sl=Bs,Hs+=Bs,Jo=1,rl="";++us<Rs;)if(Bs=ko.charAt(us),Bs===sl)Jo++,Hs+=rl+sl,rl="";else if(Bs===Co)rl+=Bs;else return Jo>=Ja&&(!Bs||Bs===xo)?(Hs+=rl,Es?!0:Wa(Hs)({type:"thematicBreak"})):void 0}}}),hm=qi({"node_modules/remark-parse/lib/util/get-indentation.js"(As,is){Bo(),is.exports=_o;var bo=" ",xo=" ",Co=1,Ka=4;function _o(Ao){for(var Ja=0,Fo=0,Wa=Ao.charAt(Ja),ko={},Es,us=0;Wa===bo||Wa===xo;){for(Es=Wa===bo?Ka:Co,Fo+=Es,Es>1&&(Fo=Math.floor(Fo/Es)*Es);us<Fo;)ko[++us]=Ja;Wa=Ao.charAt(++Ja)}return{indent:Fo,stops:ko}}}}),Dm=qi({"node_modules/remark-parse/lib/util/remove-indentation.js"(As,is){Bo();var bo=df(),xo=Rf(),Co=hm();is.exports=Ja;var Ka=`
`,_o=" ",Ao="!";function Ja(Fo,Wa){var ko=Fo.split(Ka),Es=ko.length+1,us=1/0,Rs=[],Hs,Bs,sl;for(ko.unshift(xo(_o,Wa)+Ao);Es--;)if(Bs=Co(ko[Es]),Rs[Es]=Bs.stops,bo(ko[Es]).length!==0)if(Bs.indent)Bs.indent>0&&Bs.indent<us&&(us=Bs.indent);else{us=1/0;break}if(us!==1/0)for(Es=ko.length;Es--;){for(sl=Rs[Es],Hs=us;Hs&&!(Hs in sl);)Hs--;ko[Es]=ko[Es].slice(sl[Hs]+1)}return ko.shift(),ko.join(Ka)}}}),Jp=qi({"node_modules/remark-parse/lib/tokenize/list.js"(As,is){Bo();var bo=df(),xo=Rf(),Co=Qo(),Ka=hm(),_o=Dm(),Ao=Vf();is.exports=_l;var Ja="*",Fo="_",Wa="+",ko="-",Es=".",us=" ",Rs=`
`,Hs=" ",Bs=")",sl="x",Jo=4,rl=/\n\n(?!\s*$)/,vs=/^\[([ X\tx])][ \t]/,ys=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,Ts=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,Is=/^( {1,4}|\t)?/gm;function _l(Hl,gu,Tu){for(var Ys=this,Eu=Ys.options.commonmark,Wu=Ys.options.pedantic,Qu=Ys.blockTokenizers,Ha=Ys.interruptList,bu=0,yc=gu.length,Su=null,Bl,Ou,bl,ml,Dl,Cu,cc,Ic,$c,kd,wc,tp,Up,Dp,lp,Yc,ld,ef,tf,Ef=!1,Yp,Qd,pp,fp;bu<yc&&(ml=gu.charAt(bu),!(ml!==Hs&&ml!==us));)bu++;if(ml=gu.charAt(bu),ml===Ja||ml===Wa||ml===ko)Dl=ml,bl=!1;else{for(bl=!0,Ou="";bu<yc&&(ml=gu.charAt(bu),!!Co(ml));)Ou+=ml,bu++;if(ml=gu.charAt(bu),!Ou||!(ml===Es||Eu&&ml===Bs)||Tu&&Ou!=="1")return;Su=parseInt(Ou,10),Dl=ml}if(ml=gu.charAt(++bu),!(ml!==us&&ml!==Hs&&(Wu||ml!==Rs&&ml!==""))){if(Tu)return!0;for(bu=0,Dp=[],lp=[],Yc=[];bu<yc;){for(Cu=gu.indexOf(Rs,bu),cc=bu,Ic=!1,fp=!1,Cu===-1&&(Cu=yc),Bl=0;bu<yc;){if(ml=gu.charAt(bu),ml===Hs)Bl+=Jo-Bl%Jo;else if(ml===us)Bl++;else break;bu++}if(ld&&Bl>=ld.indent&&(fp=!0),ml=gu.charAt(bu),$c=null,!fp){if(ml===Ja||ml===Wa||ml===ko)$c=ml,bu++,Bl++;else{for(Ou="";bu<yc&&(ml=gu.charAt(bu),!!Co(ml));)Ou+=ml,bu++;ml=gu.charAt(bu),bu++,Ou&&(ml===Es||Eu&&ml===Bs)&&($c=ml,Bl+=Ou.length+1)}if($c)if(ml=gu.charAt(bu),ml===Hs)Bl+=Jo-Bl%Jo,bu++;else if(ml===us){for(pp=bu+Jo;bu<pp&&gu.charAt(bu)===us;)bu++,Bl++;bu===pp&&gu.charAt(bu)===us&&(bu-=Jo-1,Bl-=Jo-1)}else ml!==Rs&&ml!==""&&($c=null)}if($c){if(!Wu&&Dl!==$c)break;Ic=!0}else!Eu&&!fp&&gu.charAt(cc)===us?fp=!0:Eu&&ld&&(fp=Bl>=ld.indent||Bl>Jo),Ic=!1,bu=cc;if(wc=gu.slice(cc,Cu),kd=cc===bu?wc:gu.slice(bu,Cu),($c===Ja||$c===Fo||$c===ko)&&Qu.thematicBreak.call(Ys,Hl,wc,!0))break;if(tp=Up,Up=!Ic&&!bo(kd).length,fp&&ld)ld.value=ld.value.concat(Yc,wc),lp=lp.concat(Yc,wc),Yc=[];else if(Ic)Yc.length!==0&&(Ef=!0,ld.value.push(""),ld.trail=Yc.concat()),ld={value:[wc],indent:Bl,trail:[]},Dp.push(ld),lp=lp.concat(Yc,wc),Yc=[];else if(Up){if(tp&&!Eu)break;Yc.push(wc)}else{if(tp||Ao(Ha,Qu,Ys,[Hl,wc,!0]))break;ld.value=ld.value.concat(Yc,wc),lp=lp.concat(Yc,wc),Yc=[]}bu=Cu+1}for(Yp=Hl(lp.join(Rs)).reset({type:"list",ordered:bl,start:Su,spread:Ef,children:[]}),ef=Ys.enterList(),tf=Ys.enterBlock(),bu=-1,yc=Dp.length;++bu<yc;)ld=Dp[bu].value.join(Rs),Qd=Hl.now(),Hl(ld)(Cl(Ys,ld,Qd),Yp),ld=Dp[bu].trail.join(Rs),bu!==yc-1&&(ld+=Rs),Hl(ld);return ef(),tf(),Yp}}function Cl(Hl,gu,Tu){var Ys=Hl.offset,Eu=Hl.options.pedantic?vu:fl,Wu=null,Qu,Ha;return gu=Eu.apply(null,arguments),Hl.options.gfm&&(Qu=gu.match(vs),Qu&&(Ha=Qu[0].length,Wu=Qu[1].toLowerCase()===sl,Ys[Tu.line]+=Ha,gu=gu.slice(Ha))),{type:"listItem",spread:rl.test(gu),checked:Wu,children:Hl.tokenizeBlock(gu,Tu)}}function vu(Hl,gu,Tu){var Ys=Hl.offset,Eu=Tu.line;return gu=gu.replace(Ts,Wu),Eu=Tu.line,gu.replace(Is,Wu);function Wu(Qu){return Ys[Eu]=(Ys[Eu]||0)+Qu.length,Eu++,""}}function fl(Hl,gu,Tu){var Ys=Hl.offset,Eu=Tu.line,Wu,Qu,Ha,bu,yc,Su,Bl;for(gu=gu.replace(ys,Ou),bu=gu.split(Rs),yc=_o(gu,Ka(Wu).indent).split(Rs),yc[0]=Ha,Ys[Eu]=(Ys[Eu]||0)+Qu.length,Eu++,Su=0,Bl=bu.length;++Su<Bl;)Ys[Eu]=(Ys[Eu]||0)+bu[Su].length-yc[Su].length,Eu++;return yc.join(Rs);function Ou(bl,ml,Dl,Cu,cc){return Qu=ml+Dl+Cu,Ha=cc,Number(Dl)<10&&Qu.length%2===1&&(Dl=us+Dl),Wu=ml+xo(us,Dl.length)+Cu,Wu+Ha}}}}),Zf=qi({"node_modules/remark-parse/lib/tokenize/heading-setext.js"(As,is){Bo(),is.exports=Wa;var bo=`
`,xo=" ",Co=" ",Ka="=",_o="-",Ao=3,Ja=1,Fo=2;function Wa(ko,Es,us){for(var Rs=this,Hs=ko.now(),Bs=Es.length,sl=-1,Jo="",rl,vs,ys,Ts,Is;++sl<Bs;){if(ys=Es.charAt(sl),ys!==Co||sl>=Ao){sl--;break}Jo+=ys}for(rl="",vs="";++sl<Bs;){if(ys=Es.charAt(sl),ys===bo){sl--;break}ys===Co||ys===xo?vs+=ys:(rl+=vs+ys,vs="")}if(Hs.column+=Jo.length,Hs.offset+=Jo.length,Jo+=rl+vs,ys=Es.charAt(++sl),Ts=Es.charAt(++sl),!(ys!==bo||Ts!==Ka&&Ts!==_o)){for(Jo+=ys,vs=Ts,Is=Ts===Ka?Ja:Fo;++sl<Bs;){if(ys=Es.charAt(sl),ys!==Ts){if(ys!==bo)return;sl--;break}vs+=ys}return us?!0:ko(Jo+vs)({type:"heading",depth:Is,children:Rs.tokenizeInline(rl,Hs)})}}}}),If=qi({"node_modules/remark-parse/lib/util/html.js"(As){Bo();var is="[a-zA-Z_:][a-zA-Z0-9:._-]*",bo="[^\"'=<>`\\u0000-\\u0020]+",xo="'[^']*'",Co='"[^"]*"',Ka="(?:"+bo+"|"+xo+"|"+Co+")",_o="(?:\\s+"+is+"(?:\\s*=\\s*"+Ka+")?)",Ao="<[A-Za-z][A-Za-z0-9\\-]*"+_o+"*\\s*\\/?>",Ja="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Fo="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Wa="<[?].*?[?]>",ko="<![A-Za-z]+\\s+[^>]*>",Es="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";As.openCloseTag=new RegExp("^(?:"+Ao+"|"+Ja+")"),As.tag=new RegExp("^(?:"+Ao+"|"+Ja+"|"+Fo+"|"+Wa+"|"+ko+"|"+Es+")")}}),dh=qi({"node_modules/remark-parse/lib/tokenize/html-block.js"(As,is){Bo();var bo=If().openCloseTag;is.exports=rl;var xo=" ",Co=" ",Ka=`
`,_o="<",Ao=/^<(script|pre|style)(?=(\s|>|$))/i,Ja=/<\/(script|pre|style)>/i,Fo=/^<!--/,Wa=/-->/,ko=/^<\?/,Es=/\?>/,us=/^<![A-Za-z]/,Rs=/>/,Hs=/^<!\[CDATA\[/,Bs=/]]>/,sl=/^$/,Jo=new RegExp(bo.source+"\\s*$");function rl(vs,ys,Ts){for(var Is=this,_l=Is.options.blocks.join("|"),Cl=new RegExp("^</?("+_l+")(?=(\\s|/?>|$))","i"),vu=ys.length,fl=0,Hl,gu,Tu,Ys,Eu,Wu,Qu,Ha=[[Ao,Ja,!0],[Fo,Wa,!0],[ko,Es,!0],[us,Rs,!0],[Hs,Bs,!0],[Cl,sl,!0],[Jo,sl,!1]];fl<vu&&(Ys=ys.charAt(fl),!(Ys!==xo&&Ys!==Co));)fl++;if(ys.charAt(fl)===_o){for(Hl=ys.indexOf(Ka,fl+1),Hl=Hl===-1?vu:Hl,gu=ys.slice(fl,Hl),Tu=-1,Eu=Ha.length;++Tu<Eu;)if(Ha[Tu][0].test(gu)){Wu=Ha[Tu];break}if(Wu){if(Ts)return Wu[2];if(fl=Hl,!Wu[1].test(gu))for(;fl<vu;){if(Hl=ys.indexOf(Ka,fl+1),Hl=Hl===-1?vu:Hl,gu=ys.slice(fl+1,Hl),Wu[1].test(gu)){gu&&(fl=Hl);break}fl=Hl}return Qu=ys.slice(0,fl),vs(Qu)({type:"html",value:Qu})}}}}}),kf=qi({"node_modules/is-whitespace-character/index.js"(As,is){Bo(),is.exports=Co;var bo=String.fromCharCode,xo=/\s/;function Co(Ka){return xo.test(typeof Ka=="number"?bo(Ka):Ka.charAt(0))}}}),Mh=qi({"node_modules/collapse-white-space/index.js"(As,is){Bo(),is.exports=bo;function bo(xo){return String(xo).replace(/\s+/g," ")}}}),gm=qi({"node_modules/remark-parse/lib/util/normalize.js"(As,is){Bo();var bo=Mh();is.exports=xo;function xo(Co){return bo(Co).toLowerCase()}}}),Om=qi({"node_modules/remark-parse/lib/tokenize/definition.js"(As,is){Bo();var bo=kf(),xo=gm();is.exports=sl;var Co='"',Ka="'",_o="\\",Ao=`
`,Ja=" ",Fo=" ",Wa="[",ko="]",Es="(",us=")",Rs=":",Hs="<",Bs=">";function sl(vs,ys,Ts){for(var Is=this,_l=Is.options.commonmark,Cl=0,vu=ys.length,fl="",Hl,gu,Tu,Ys,Eu,Wu,Qu,Ha;Cl<vu&&(Ys=ys.charAt(Cl),!(Ys!==Fo&&Ys!==Ja));)fl+=Ys,Cl++;if(Ys=ys.charAt(Cl),Ys===Wa){for(Cl++,fl+=Ys,Tu="";Cl<vu&&(Ys=ys.charAt(Cl),Ys!==ko);)Ys===_o&&(Tu+=Ys,Cl++,Ys=ys.charAt(Cl)),Tu+=Ys,Cl++;if(!(!Tu||ys.charAt(Cl)!==ko||ys.charAt(Cl+1)!==Rs)){for(Wu=Tu,fl+=Tu+ko+Rs,Cl=fl.length,Tu="";Cl<vu&&(Ys=ys.charAt(Cl),!(Ys!==Ja&&Ys!==Fo&&Ys!==Ao));)fl+=Ys,Cl++;if(Ys=ys.charAt(Cl),Tu="",Hl=fl,Ys===Hs){for(Cl++;Cl<vu&&(Ys=ys.charAt(Cl),!!Jo(Ys));)Tu+=Ys,Cl++;if(Ys=ys.charAt(Cl),Ys===Jo.delimiter)fl+=Hs+Tu+Ys,Cl++;else{if(_l)return;Cl-=Tu.length+1,Tu=""}}if(!Tu){for(;Cl<vu&&(Ys=ys.charAt(Cl),!!rl(Ys));)Tu+=Ys,Cl++;fl+=Tu}if(Tu){for(Qu=Tu,Tu="";Cl<vu&&(Ys=ys.charAt(Cl),!(Ys!==Ja&&Ys!==Fo&&Ys!==Ao));)Tu+=Ys,Cl++;if(Ys=ys.charAt(Cl),Eu=null,Ys===Co?Eu=Co:Ys===Ka?Eu=Ka:Ys===Es&&(Eu=us),!Eu)Tu="",Cl=fl.length;else if(Tu){for(fl+=Tu+Ys,Cl=fl.length,Tu="";Cl<vu&&(Ys=ys.charAt(Cl),Ys!==Eu);){if(Ys===Ao){if(Cl++,Ys=ys.charAt(Cl),Ys===Ao||Ys===Eu)return;Tu+=Ao}Tu+=Ys,Cl++}if(Ys=ys.charAt(Cl),Ys!==Eu)return;gu=fl,fl+=Tu+Ys,Cl++,Ha=Tu,Tu=""}else return;for(;Cl<vu&&(Ys=ys.charAt(Cl),!(Ys!==Ja&&Ys!==Fo));)fl+=Ys,Cl++;if(Ys=ys.charAt(Cl),!Ys||Ys===Ao)return Ts?!0:(Hl=vs(Hl).test().end,Qu=Is.decode.raw(Is.unescape(Qu),Hl,{nonTerminated:!1}),Ha&&(gu=vs(gu).test().end,Ha=Is.decode.raw(Is.unescape(Ha),gu)),vs(fl)({type:"definition",identifier:xo(Wu),label:Wu,title:Ha||null,url:Qu}))}}}}function Jo(vs){return vs!==Bs&&vs!==Wa&&vs!==ko}Jo.delimiter=Bs;function rl(vs){return vs!==Wa&&vs!==ko&&!bo(vs)}}}),Rm=qi({"node_modules/remark-parse/lib/tokenize/table.js"(As,is){Bo();var bo=kf();is.exports=Hs;var xo=" ",Co=`
`,Ka=" ",_o="-",Ao=":",Ja="\\",Fo="|",Wa=1,ko=2,Es="left",us="center",Rs="right";function Hs(Bs,sl,Jo){var rl=this,vs,ys,Ts,Is,_l,Cl,vu,fl,Hl,gu,Tu,Ys,Eu,Wu,Qu,Ha,bu,yc,Su,Bl,Ou,bl;if(rl.options.gfm){for(vs=0,Ha=0,Cl=sl.length+1,vu=[];vs<Cl;){if(Bl=sl.indexOf(Co,vs),Ou=sl.indexOf(Fo,vs+1),Bl===-1&&(Bl=sl.length),Ou===-1||Ou>Bl){if(Ha<ko)return;break}vu.push(sl.slice(vs,Bl)),Ha++,vs=Bl+1}for(Is=vu.join(Co),ys=vu.splice(1,1)[0]||[],vs=0,Cl=ys.length,Ha--,Ts=!1,Tu=[];vs<Cl;){if(Hl=ys.charAt(vs),Hl===Fo){if(gu=null,Ts===!1){if(bl===!1)return}else Tu.push(Ts),Ts=!1;bl=!1}else if(Hl===_o)gu=!0,Ts=Ts||null;else if(Hl===Ao)Ts===Es?Ts=us:gu&&Ts===null?Ts=Rs:Ts=Es;else if(!bo(Hl))return;vs++}if(Ts!==!1&&Tu.push(Ts),!(Tu.length<Wa)){if(Jo)return!0;for(Qu=-1,yc=[],Su=Bs(Is).reset({type:"table",align:Tu,children:yc});++Qu<Ha;){for(bu=vu[Qu],_l={type:"tableRow",children:[]},Qu&&Bs(Co),Bs(bu).reset(_l,Su),Cl=bu.length+1,vs=0,fl="",Ys="",Eu=!0;vs<Cl;){if(Hl=bu.charAt(vs),Hl===xo||Hl===Ka){Ys?fl+=Hl:Bs(Hl),vs++;continue}Hl===""||Hl===Fo?Eu?Bs(Hl):((Ys||Hl)&&!Eu&&(Is=Ys,fl.length>1&&(Hl?(Is+=fl.slice(0,-1),fl=fl.charAt(fl.length-1)):(Is+=fl,fl="")),Wu=Bs.now(),Bs(Is)({type:"tableCell",children:rl.tokenizeInline(Ys,Wu)},_l)),Bs(fl+Hl),fl="",Ys=""):(fl&&(Ys+=fl,fl=""),Ys+=Hl,Hl===Ja&&vs!==Cl-2&&(Ys+=bu.charAt(vs+1),vs++)),Eu=!1,vs++}Qu||Bs(Co+ys)}return Su}}}}}),Td=qi({"node_modules/remark-parse/lib/tokenize/paragraph.js"(As,is){Bo();var bo=df(),xo=Ec(),Co=Vf();is.exports=Fo;var Ka=" ",_o=`
`,Ao=" ",Ja=4;function Fo(Wa,ko,Es){for(var us=this,Rs=us.options,Hs=Rs.commonmark,Bs=us.blockTokenizers,sl=us.interruptParagraph,Jo=ko.indexOf(_o),rl=ko.length,vs,ys,Ts,Is,_l;Jo<rl;){if(Jo===-1){Jo=rl;break}if(ko.charAt(Jo+1)===_o)break;if(Hs){for(Is=0,vs=Jo+1;vs<rl;){if(Ts=ko.charAt(vs),Ts===Ka){Is=Ja;break}else if(Ts===Ao)Is++;else break;vs++}if(Is>=Ja&&Ts!==_o){Jo=ko.indexOf(_o,Jo+1);continue}}if(ys=ko.slice(Jo+1),Co(sl,Bs,us,[Wa,ys,!0]))break;if(vs=Jo,Jo=ko.indexOf(_o,Jo+1),Jo!==-1&&bo(ko.slice(vs,Jo))===""){Jo=vs;break}}return ys=ko.slice(0,Jo),Es?!0:(_l=Wa.now(),ys=xo(ys),Wa(ys)({type:"paragraph",children:us.tokenizeInline(ys,_l)}))}}}),Ed=qi({"node_modules/remark-parse/lib/locate/escape.js"(As,is){Bo(),is.exports=bo;function bo(xo,Co){return xo.indexOf("\\",Co)}}}),$p=qi({"node_modules/remark-parse/lib/tokenize/escape.js"(As,is){Bo();var bo=Ed();is.exports=Ka,Ka.locator=bo;var xo=`
`,Co="\\";function Ka(_o,Ao,Ja){var Fo=this,Wa,ko;if(Ao.charAt(0)===Co&&(Wa=Ao.charAt(1),Fo.escape.indexOf(Wa)!==-1))return Ja?!0:(Wa===xo?ko={type:"break"}:ko={type:"text",value:Wa},_o(Co+Wa)(ko))}}}),pf=qi({"node_modules/remark-parse/lib/locate/tag.js"(As,is){Bo(),is.exports=bo;function bo(xo,Co){return xo.indexOf("<",Co)}}}),qc=qi({"node_modules/remark-parse/lib/tokenize/auto-link.js"(As,is){Bo();var bo=kf(),xo=sd(),Co=pf();is.exports=ko,ko.locator=Co,ko.notInLink=!0;var Ka="<",_o=">",Ao="@",Ja="/",Fo="mailto:",Wa=Fo.length;function ko(Es,us,Rs){var Hs=this,Bs="",sl=us.length,Jo=0,rl="",vs=!1,ys="",Ts,Is,_l,Cl,vu;if(us.charAt(0)===Ka){for(Jo++,Bs=Ka;Jo<sl&&(Ts=us.charAt(Jo),!(bo(Ts)||Ts===_o||Ts===Ao||Ts===":"&&us.charAt(Jo+1)===Ja));)rl+=Ts,Jo++;if(rl){if(ys+=rl,rl="",Ts=us.charAt(Jo),ys+=Ts,Jo++,Ts===Ao)vs=!0;else{if(Ts!==":"||us.charAt(Jo+1)!==Ja)return;ys+=Ja,Jo++}for(;Jo<sl&&(Ts=us.charAt(Jo),!(bo(Ts)||Ts===_o));)rl+=Ts,Jo++;if(Ts=us.charAt(Jo),!(!rl||Ts!==_o))return Rs?!0:(ys+=rl,_l=ys,Bs+=ys+Ts,Is=Es.now(),Is.column++,Is.offset++,vs&&(ys.slice(0,Wa).toLowerCase()===Fo?(_l=_l.slice(Wa),Is.column+=Wa,Is.offset+=Wa):ys=Fo+ys),Cl=Hs.inlineTokenizers,Hs.inlineTokenizers={text:Cl.text},vu=Hs.enterLink(),_l=Hs.tokenizeInline(_l,Is),Hs.inlineTokenizers=Cl,vu(),Es(Bs)({type:"link",title:null,url:xo(ys,{nonTerminated:!1}),children:_l}))}}}}}),rm=qi({"node_modules/ccount/index.js"(As,is){Bo(),is.exports=bo;function bo(xo,Co){var Ka=String(xo),_o=0,Ao;if(typeof Co!="string")throw new Error("Expected character");for(Ao=Ka.indexOf(Co);Ao!==-1;)_o++,Ao=Ka.indexOf(Co,Ao+Co.length);return _o}}}),zm=qi({"node_modules/remark-parse/lib/locate/url.js"(As,is){Bo(),is.exports=xo;var bo=["www.","http://","https://"];function xo(Co,Ka){var _o=-1,Ao,Ja,Fo;if(!this.options.gfm)return _o;for(Ja=bo.length,Ao=-1;++Ao<Ja;)Fo=Co.indexOf(bo[Ao],Ka),Fo!==-1&&(_o===-1||Fo<_o)&&(_o=Fo);return _o}}}),ff=qi({"node_modules/remark-parse/lib/tokenize/url.js"(As,is){Bo();var bo=rm(),xo=sd(),Co=Qo(),Ka=yu(),_o=kf(),Ao=zm();is.exports=Is,Is.locator=Ao,Is.notInLink=!0;var Ja=33,Fo=38,Wa=41,ko=42,Es=44,us=45,Rs=46,Hs=58,Bs=59,sl=63,Jo=60,rl=95,vs=126,ys="(",Ts=")";function Is(_l,Cl,vu){var fl=this,Hl=fl.options.gfm,gu=fl.inlineTokenizers,Tu=Cl.length,Ys=-1,Eu=!1,Wu,Qu,Ha,bu,yc,Su,Bl,Ou,bl,ml,Dl,Cu,cc,Ic;if(Hl){if(Cl.slice(0,4)==="www.")Eu=!0,bu=4;else if(Cl.slice(0,7).toLowerCase()==="http://")bu=7;else if(Cl.slice(0,8).toLowerCase()==="https://")bu=8;else return;for(Ys=bu-1,Ha=bu,Wu=[];bu<Tu;){if(Bl=Cl.charCodeAt(bu),Bl===Rs){if(Ys===bu-1)break;Wu.push(bu),Ys=bu,bu++;continue}if(Co(Bl)||Ka(Bl)||Bl===us||Bl===rl){bu++;continue}break}if(Bl===Rs&&(Wu.pop(),bu--),Wu[0]!==void 0&&(Qu=Wu.length<2?Ha:Wu[Wu.length-2]+1,Cl.slice(Qu,bu).indexOf("_")===-1)){if(vu)return!0;for(Ou=bu,yc=bu;bu<Tu&&(Bl=Cl.charCodeAt(bu),!(_o(Bl)||Bl===Jo));)bu++,Bl===Ja||Bl===ko||Bl===Es||Bl===Rs||Bl===Hs||Bl===sl||Bl===rl||Bl===vs||(Ou=bu);if(bu=Ou,Cl.charCodeAt(bu-1)===Wa)for(Su=Cl.slice(yc,bu),bl=bo(Su,ys),ml=bo(Su,Ts);ml>bl;)bu=yc+Su.lastIndexOf(Ts),Su=Cl.slice(yc,bu),ml--;if(Cl.charCodeAt(bu-1)===Bs&&(bu--,Ka(Cl.charCodeAt(bu-1)))){for(Ou=bu-2;Ka(Cl.charCodeAt(Ou));)Ou--;Cl.charCodeAt(Ou)===Fo&&(bu=Ou)}return Dl=Cl.slice(0,bu),cc=xo(Dl,{nonTerminated:!1}),Eu&&(cc="http://"+cc),Ic=fl.enterLink(),fl.inlineTokenizers={text:gu.text},Cu=fl.tokenizeInline(Dl,_l.now()),fl.inlineTokenizers=gu,Ic(),_l(Dl)({type:"link",title:null,url:cc,children:Cu})}}}}}),km=qi({"node_modules/remark-parse/lib/locate/email.js"(As,is){Bo();var bo=Qo(),xo=yu(),Co=43,Ka=45,_o=46,Ao=95;is.exports=Ja;function Ja(Wa,ko){var Es=this,us,Rs;if(!this.options.gfm||(us=Wa.indexOf("@",ko),us===-1))return-1;if(Rs=us,Rs===ko||!Fo(Wa.charCodeAt(Rs-1)))return Ja.call(Es,Wa,us+1);for(;Rs>ko&&Fo(Wa.charCodeAt(Rs-1));)Rs--;return Rs}function Fo(Wa){return bo(Wa)||xo(Wa)||Wa===Co||Wa===Ka||Wa===_o||Wa===Ao}}}),Mm=qi({"node_modules/remark-parse/lib/tokenize/email.js"(As,is){Bo();var bo=sd(),xo=Qo(),Co=yu(),Ka=km();is.exports=ko,ko.locator=Ka,ko.notInLink=!0;var _o=43,Ao=45,Ja=46,Fo=64,Wa=95;function ko(Es,us,Rs){var Hs=this,Bs=H
`,Ka="!",_o='"',Ao="'",Ja="(",Fo=")",Wa="<",ko=">",Es="[",us="\\",Rs="]",Hs="`";function Bs(sl,Jo,rl){var vs=this,ys="",Ts=0,Is=Jo.charAt(0),_l=vs.options.pedantic,Cl=vs.options.commonmark,vu=vs.options.gfm,fl,Hl,gu,Tu,Ys,Eu,Wu,Qu,Ha,bu,yc,Su,Bl,Ou,bl,ml,Dl,Cu;if(Is===Ka&&(Qu=!0,ys=Is,Is=Jo.charAt(++Ts)),Is===Es&&!(!Qu&&vs.inLink)){for(ys+=Is,Ou="",Ts++,yc=Jo.length,ml=sl.now(),Bl=0,ml.column+=Ts,ml.offset+=Ts;Ts<yc;){if(Is=Jo.charAt(Ts),Eu=Is,Is===Hs){for(Hl=1;Jo.charAt(Ts+1)===Hs;)Eu+=Is,Ts++,Hl++;gu?Hl>=gu&&(gu=0):gu=Hl}else if(Is===us)Ts++,Eu+=Jo.charAt(Ts);else if((!gu||vu)&&Is===Es)Bl++;else if((!gu||vu)&&Is===Rs)if(Bl)Bl--;else{if(Jo.charAt(Ts+1)!==Ja)return;Eu+=Ja,fl=!0,Ts++;break}Ou+=Eu,Eu="",Ts++}if(fl){for(Ha=Ou,ys+=Ou+Eu,Ts++;Ts<yc&&(Is=Jo.charAt(Ts),!!bo(Is));)ys+=Is,Ts++;if(Is=Jo.charAt(Ts),Ou="",Tu=ys,Is===Wa){for(Ts++,Tu+=Wa;Ts<yc&&(Is=Jo.charAt(Ts),Is!==ko);){if(Cl&&Is===Co)return;Ou+=Is,Ts++}if(Jo.charAt(Ts)!==ko)return;ys+=Wa+Ou+ko,bl=Ou,Ts++}else{for(Is=null,Eu="";Ts<yc&&(Is=Jo.charAt(Ts),!(Eu&&(Is===_o||Is===Ao||Cl&&Is===Ja)));){if(bo(Is)){if(!_l)break;Eu+=Is}else{if(Is===Ja)Bl++;else if(Is===Fo){if(Bl===0)break;Bl--}Ou+=Eu,Eu="",Is===us&&(Ou+=us,Is=Jo.charAt(++Ts)),Ou+=Is}Ts++}ys+=Ou,bl=Ou,Ts=ys.length}for(Ou="";Ts<yc&&(Is=Jo.charAt(Ts),!!bo(Is));)Ou+=Is,Ts++;if(Is=Jo.charAt(Ts),ys+=Ou,Ou&&(Is===_o||Is===Ao||Cl&&Is===Ja))if(Ts++,ys+=Is,Ou="",bu=Is===Ja?Fo:Is,Ys=ys,Cl){for(;Ts<yc&&(Is=Jo.charAt(Ts),Is!==bu);)Is===us&&(Ou+=us,Is=Jo.charAt(++Ts)),Ts++,Ou+=Is;if(Is=Jo.charAt(Ts),Is!==bu)return;for(Su=Ou,ys+=Ou+Is,Ts++;Ts<yc&&(Is=Jo.charAt(Ts),!!bo(Is));)ys+=Is,Ts++}else for(Eu="";Ts<yc;){if(Is=Jo.charAt(Ts),Is===bu)Wu&&(Ou+=bu+Eu,Eu=""),Wu=!0;else if(!Wu)Ou+=Is;else if(Is===Fo){ys+=Ou+bu+Eu,Su=Ou;break}else bo(Is)?Eu+=Is:(Ou+=bu+Eu+Is,Eu="",Wu=!1);Ts++}if(Jo.charAt(Ts)===Fo)return rl?!0:(ys+=Fo,bl=vs.decode.raw(vs.unescape(bl),sl(Tu).test().end,{nonTerminated:!1}),Su&&(Ys=sl(Ys).test().end,Su=vs.decode.raw(vs.unescape(Su),Ys)),Cu={type:Qu?"image":"link",title:Su||null,url:bl},Qu?Cu.alt=vs.decode.raw(vs.unescape(Ha),ml)||null:(Dl=vs.enterLink(),Cu.children=vs.tokenizeInline(Ha,ml),Dl()),sl(ys)(Cu))}}}}}),Bf=qi({"node_modules/remark-parse/lib/tokenize/reference.js"(As,is){Bo();var bo=kf(),xo=_m(),Co=gm();is.exports=Rs,Rs.locator=xo;var Ka="link",_o="image",Ao="shortcut",Ja="collapsed",Fo="full",Wa="!",ko="[",Es="\\",us="]";function Rs(Hs,Bs,sl){var Jo=this,rl=Jo.options.commonmark,vs=Bs.charAt(0),ys=0,Ts=Bs.length,Is="",_l="",Cl=Ka,vu=Ao,fl,Hl,gu,Tu,Ys,Eu,Wu,Qu;if(vs===Wa&&(Cl=_o,_l=vs,vs=Bs.charAt(++ys)),vs===ko){for(ys++,_l+=vs,Eu="",Qu=0;ys<Ts;){if(vs=Bs.charAt(ys),vs===ko)Wu=!0,Qu++;else if(vs===us){if(!Qu)break;Qu--}vs===Es&&(Eu+=Es,vs=Bs.charAt(++ys)),Eu+=vs,ys++}if(Is=Eu,fl=Eu,vs=Bs.charAt(ys),vs===us){if(ys++,Is+=vs,Eu="",!rl)for(;ys<Ts&&(vs=Bs.charAt(ys),!!bo(vs));)Eu+=vs,ys++;if(vs=Bs.charAt(ys),vs===ko){for(Hl="",Eu+=vs,ys++;ys<Ts&&(vs=Bs.charAt(ys),!(vs===ko||vs===us));)vs===Es&&(Hl+=Es,vs=Bs.charAt(++ys)),Hl+=vs,ys++;vs=Bs.charAt(ys),vs===us?(vu=Hl?Fo:Ja,Eu+=Hl+vs,ys++):Hl="",Is+=Eu,Eu=""}else{if(!fl)return;Hl=fl}if(!(vu!==Fo&&Wu))return Is=_l+Is,Cl===Ka&&Jo.inLink?null:sl?!0:(gu=Hs.now(),gu.column+=_l.length,gu.offset+=_l.length,Hl=vu===Fo?Hl:fl,Tu={type:Cl+"Reference",identifier:Co(Hl),label:Hl,referenceType:vu},Cl===Ka?(Ys=Jo.enterLink(),Tu.children=Jo.tokenizeInline(fl,gu),Ys()):Tu.alt=Jo.decode.raw(Jo.unescape(fl),gu)||null,Hs(Is)(Tu))}}}}}),vm=qi({"node_modules/remark-parse/lib/locate/strong.js"(As,is){Bo(),is.exports=bo;function bo(xo,Co){var Ka=xo.indexOf("**",Co),_o=xo.indexOf("__",Co);return _o===-1?Ka:Ka===-1||_o<Ka?_o:Ka}}}),rp=qi({"node_modules/remark-parse/lib/tokenize/strong.js"(As,is){Bo();var bo=df(),xo=kf(),Co=vm();is.exports=Ja,Ja.locator=Co;var Ka="\\",_o="*",Ao="_";function Ja(Fo,Wa,ko){var Es=this,us=0,Rs=Wa.charAt(us),Hs,Bs,sl,Jo,rl,vs,ys;if(!(Rs!==_o&&Rs!==Ao||Wa.charAt(++us)!==Rs)&&(Bs=Es.options.pedantic,sl=Rs,rl=sl+sl,vs=Wa.length,us++,Jo="",Rs="",!(Bs&&xo(Wa.charAt(us)))))for(;us<vs;){if(ys=Rs,Rs=Wa.charAt(us),Rs===sl&&Wa.charAt(us+1)===sl&&(!Bs||!xo(ys))&&(Rs=Wa.
`,Co);Ka>Co&&xo.charAt(Ka-1)===" ";)Ka--;return Ka}}}),od=qi({"node_modules/remark-parse/lib/tokenize/break.js"(As,is){Bo();var bo=Wc();is.exports=_o,_o.locator=bo;var xo=" ",Co=`
`,Ka=2;function _o(Ao,Ja,Fo){for(var Wa=Ja.length,ko=-1,Es="",us;++ko<Wa;){if(us=Ja.charAt(ko),us===Co)return ko<Ka?void 0:Fo?!0:(Es+=us,Ao(Es)({type:"break"}));if(us!==xo)return;Es+=us}}}}),Xd=qi({"node_modules/remark-parse/lib/tokenize/text.js"(As,is){Bo(),is.exports=bo;function bo(xo,Co,Ka){var _o=this,Ao,Ja,Fo,Wa,ko,Es,us,Rs,Hs,Bs;if(Ka)return!0;for(Ao=_o.inlineMethods,Wa=Ao.length,Ja=_o.inlineTokenizers,Fo=-1,Hs=Co.length;++Fo<Wa;)Rs=Ao[Fo],!(Rs==="text"||!Ja[Rs])&&(us=Ja[Rs].locator,us||xo.file.fail("Missing locator: `"+Rs+"`"),Es=us.call(_o,Co,1),Es!==-1&&Es<Hs&&(Hs=Es));ko=Co.slice(0,Hs),Bs=xo.now(),_o.decode(ko,Bs,sl);function sl(Jo,rl,vs){xo(vs||Jo)({type:"text",value:Jo})}}}}),mf=qi({"node_modules/remark-parse/lib/parser.js"(As,is){Bo();var bo=Yl(),xo=$l(),Co=tc(),Ka=ju(),_o=ud(),Ao=vp();is.exports=Ja;function Ja(ko,Es){this.file=Es,this.offset={},this.options=bo(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=Co(Es).toOffset,this.unescape=Ka(this,"escape"),this.decode=_o(this)}var Fo=Ja.prototype;Fo.setOptions=id(),Fo.parse=Ip(),Fo.options=qd(),Fo.exitStart=xo("atStart",!0),Fo.enterList=xo("inList",!1),Fo.enterLink=xo("inLink",!1),Fo.enterBlock=xo("inBlock",!1),Fo.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],Fo.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],Fo.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}]],Fo.blockTokenizers={blankLine:mm(),indentedCode:wf(),fencedCode:Tp(),blockquote:xf(),atxHeading:Hf(),thematicBreak:Gp(),list:Jp(),setextHeading:Zf(),html:dh(),definition:Om(),table:Rm(),paragraph:Td()},Fo.inlineTokenizers={escape:$p(),autoLink:qc(),url:ff(),email:Mm(),html:jd(),link:Mf(),reference:Bf(),strong:rp(),emphasis:zf(),deletion:Kn(),code:Au(),break:od(),text:Xd()},Fo.blockMethods=Wa(Fo.blockTokenizers),Fo.inlineMethods=Wa(Fo.inlineTokenizers),Fo.tokenizeBlock=Ao("block"),Fo.tokenizeInline=Ao("inline"),Fo.tokenizeFactory=Ao;function Wa(ko){var Es=[],us;for(us in ko)Es.push(us);return Es}}}),Pf=qi({"node_modules/remark-parse/index.js"(As,is){Bo();var bo=_u(),xo=Yl(),Co=mf();is.exports=Ka,Ka.Parser=Co;function Ka(_o){var Ao=this.data("settings"),Ja=bo(Co);Ja.prototype.options=xo(Ja.prototype.options,Ao,_o),this.Parser=Ja}}}),Bm=qi({"node_modules/bail/index.js"(As,is){Bo(),is.exports=bo;function bo(xo){if(xo)throw xo}}}),Gm=qi({"node_modules/is-buffer/index.js"(As,is){Bo(),is.exports=function(bo){return bo!=null&&bo.constructor!=null&&typeof bo.constructor.isBuffer=="function"&&bo.constructor.isBuffer(bo)}}}),np=qi({"node_modules/extend/index.js"(As,is){Bo();var bo=Object.prototype.hasOwnProperty,xo=Object.prototype.toString,Co=Object.defineProperty,Ka=Object.getOwnPropertyDescriptor,_o=function(Wa){return typeof Array.isArray=="function"?Array.isArray(Wa):xo.call(Wa)==="[object Array]"},Ao=function(Wa){if(!Wa||xo.call(Wa)!=="[object Object]")return!1;var ko=bo.call(Wa,"constructor"),Es=Wa.constructor&&Wa.constructor.prototype&&bo.call(Wa.constructor.prototype,"isPrototypeOf");if(Wa.constructor&&!ko&&!Es)return!1;var us;for(us in Wa);return typeof us>"u"||bo.call(Wa,us)},Ja=function(Wa,ko){Co&&ko.name==="__proto__"?Co(Wa,ko.name,{enumerable:!0,configurable:!0,value:ko.newValue,writable:!0}):Wa[ko.name]=ko.newValue},Fo=function(Wa,ko){if(ko==="__proto__")if(bo.call(Wa,ko)){if(Ka)return Ka(Wa,ko).value}else return;return Wa[ko]};is.exports=function Wa(){var ko,Es,us,Rs,Hs,Bs,sl=arguments[0],Jo=1,rl=arguments.length,vs=!1;for(typeof sl=="boolean"&&(vs=sl,sl=arguments[1]||{},Jo=2),(sl==null||typeof sl!="object"&&typeof sl!="function")&&(sl={});Jo<rl;++Jo)if(ko=arguments[Jo],ko!=null)for(Es in ko)us=Fo(sl,Es),Rs=Fo(ko,Es),
`,Ao="$",Ja=2,Fo=["math","math-display"];function Wa(){let us=this.Parser,Rs=this.Compiler;bo.isRemarkParser(us)&&ko(us),bo.isRemarkCompiler(Rs)&&Es(Rs)}function ko(us){let Rs=us.prototype,Hs=Rs.blockMethods,Bs=Rs.interruptParagraph,sl=Rs.interruptList,Jo=Rs.interruptBlockquote;Rs.blockTokenizers.math=rl,Hs.splice(Hs.indexOf("fencedCode")+1,0,"math"),Bs.splice(Bs.indexOf("fencedCode")+1,0,["math"]),sl.splice(sl.indexOf("fencedCode")+1,0,["math"]),Jo.splice(Jo.indexOf("fencedCode")+1,0,["math"]);function rl(vs,ys,Ts){var Is=ys.length,_l=0;let Cl,vu,fl,Hl,gu,Tu,Ys,Eu,Wu,Qu,Ha;for(;_l<Is&&ys.charCodeAt(_l)===Co;)_l++;for(gu=_l;_l<Is&&ys.charCodeAt(_l)===Ka;)_l++;if(Tu=_l-gu,!(Tu<Ja)){for(;_l<Is&&ys.charCodeAt(_l)===Co;)_l++;for(Ys=_l;_l<Is;){if(Cl=ys.charCodeAt(_l),Cl===Ka)return;if(Cl===xo)break;_l++}if(ys.charCodeAt(_l)===xo){if(Ts)return!0;for(vu=[],Ys!==_l&&vu.push(ys.slice(Ys,_l)),_l++,fl=ys.indexOf(_o,_l+1),fl=fl===-1?Is:fl;_l<Is;){for(Eu=!1,Qu=_l,Ha=fl,Hl=fl,Wu=0;Hl>Qu&&ys.charCodeAt(Hl-1)===Co;)Hl--;for(;Hl>Qu&&ys.charCodeAt(Hl-1)===Ka;)Wu++,Hl--;for(Tu<=Wu&&ys.indexOf(Ao,Qu)===Hl&&(Eu=!0,Ha=Hl);Qu<=Ha&&Qu-_l<gu&&ys.charCodeAt(Qu)===Co;)Qu++;if(Eu)for(;Ha>Qu&&ys.charCodeAt(Ha-1)===Co;)Ha--;if((!Eu||Qu!==Ha)&&vu.push(ys.slice(Qu,Ha)),Eu)break;_l=fl+1,fl=ys.indexOf(_o,_l+1),fl=fl===-1?Is:fl}return vu=vu.join(`
`),vs(ys.slice(0,fl))({type:"math",value:vu,data:{hName:"div",hProperties:{className:Fo.concat()},hChildren:[{type:"text",value:vu}]}})}}}}function Es(us){let Rs=us.prototype;Rs.visitors.math=Hs;function Hs(Bs){return`$$
`+Bs.value+`
$$`}}}}),Wm=qi({"node_modules/remark-math/index.js"(As,is){Bo();var bo=ym(),xo=Lh();is.exports=Co;function Co(Ka){var _o=Ka||{};xo.call(this,_o),bo.call(this,_o)}}}),ph=qi({"node_modules/remark-footnotes/index.js"(As,is){Bo(),is.exports=Rs;var bo=9,xo=10,Co=32,Ka=33,_o=58,Ao=91,Ja=92,Fo=93,Wa=94,ko=96,Es=4,us=1024;function Rs(ys){var Ts=this.Parser,Is=this.Compiler;Hs(Ts)&&sl(Ts,ys),Bs(Is)&&Jo(Is)}function Hs(ys){return!!(ys&&ys.prototype&&ys.prototype.blockTokenizers)}function Bs(ys){return!!(ys&&ys.prototype&&ys.prototype.visitors)}function sl(ys,Ts){for(var Is=Ts||{},_l=ys.prototype,Cl=_l.blockTokenizers,vu=_l.inlineTokenizers,fl=_l.blockMethods,Hl=_l.inlineMethods,gu=Cl.definition,Tu=vu.reference,Ys=[],Eu=-1,Wu=fl.length,Qu;++Eu<Wu;)Qu=fl[Eu],!(Qu==="newline"||Qu==="indentedCode"||Qu==="paragraph"||Qu==="footnoteDefinition")&&Ys.push([Qu]);Ys.push(["footnoteDefinition"]),Is.inlineNotes&&(rl(Hl,"reference","inlineNote"),vu.inlineNote=yc),rl(fl,"definition","footnoteDefinition"),rl(Hl,"reference","footnoteCall"),Cl.definition=Bl,Cl.footnoteDefinition=Ha,vu.footnoteCall=bu,vu.reference=Su,_l.interruptFootnoteDefinition=Ys,Su.locator=Tu.locator,bu.locator=Ou,yc.locator=bl;function Ha(ml,Dl,Cu){for(var cc=this,Ic=cc.interruptFootnoteDefinition,$c=cc.offset,kd=Dl.length+1,wc=0,tp=[],Up,Dp,lp,Yc,ld,ef,tf,Ef,Yp,Qd,pp,fp,Vd;wc<kd&&(Yc=Dl.charCodeAt(wc),!(Yc!==bo&&Yc!==Co));)wc++;if(Dl.charCodeAt(wc++)===Ao&&Dl.charCodeAt(wc++)===Wa){for(Dp=wc;wc<kd;){if(Yc=Dl.charCodeAt(wc),Yc!==Yc||Yc===xo||Yc===bo||Yc===Co)return;if(Yc===Fo){lp=wc,wc++;break}wc++}if(!(lp===void 0||Dp===lp||Dl.charCodeAt(wc++)!==_o)){if(Cu)return!0;for(Up=Dl.slice(Dp,lp),ld=ml.now(),Yp=0,Qd=0,pp=wc,fp=[];wc<kd;){if(Yc=Dl.charCodeAt(wc),Yc!==Yc||Yc===xo)Vd={start:Yp,contentStart:pp||wc,contentEnd:wc,end:wc},fp.push(Vd),Yc===xo&&(Yp=wc+1,Qd=0,pp=void 0,Vd.end=Yp);else if(Qd!==void 0)if(Yc===Co||Yc===bo)Qd+=Yc===Co?1:Es-Qd%Es,Qd>Es&&(Qd=void 0,pp=wc);else{if(Qd<Es&&Vd&&(Vd.contentStart===Vd.contentEnd||vs(Ic,Cl,cc,[ml,Dl.slice(wc,us),!0])))break;Qd=void 0,pp=wc}wc++}for(wc=-1,kd=fp.length;kd>0&&(Vd=fp[kd-1],Vd.contentStart===Vd.contentEnd);)kd--;for(ef=ml(Dl.slice(0,Vd.contentEnd));++wc<kd;)Vd=fp[wc],$c[ld.line+wc]=($c[ld.line+wc]||0)+(Vd.contentStart-Vd.start),tp.push(Dl.slice(Vd.contentStart,Vd.end));return tf=cc.enterBlock(),Ef=cc.tokenizeBlock(tp.join(""),ld),tf(),ef({type:"footnoteDefinition",identifier:Up.toLowerCase(),label:Up,children:Ef})}}}function bu(ml,Dl,Cu){var cc=Dl.length+1,Ic=0,$c,kd,wc,tp;if(Dl.charCodeAt(Ic++)===Ao&&Dl.charCodeAt(Ic++)===Wa){for(kd=Ic;Ic<cc;){if(tp=Dl.charCodeAt(Ic),tp!==tp||tp===xo||tp===bo||tp===Co)return;if(tp===Fo){wc=Ic,Ic++;break}Ic++}if(!(wc===void 0||kd===wc))return Cu?!0:($c=Dl.slice(kd,wc),ml(Dl.slice(0,Ic))({type:"footnoteReference",identifier:$c.toLowerCase(),label:$c}))}}function yc(ml,Dl,Cu){var cc=this,Ic=Dl.length+1,$c=0,kd=0,wc,tp,Up,Dp,lp,Yc,ld;if(Dl.charCodeAt($c++)===Wa&&Dl.charCodeAt($c++)===Ao){for(Up=$c;$c<Ic;){if(tp=Dl.charCodeAt($c),tp!==tp)return;if(Yc===void 0)if(tp===Ja)$c+=2;else if(tp===Ao)kd++,$c++;else if(tp===Fo)if(kd===0){Dp=$c,$c++;break}else kd--,$c++;else if(tp===ko){for(lp=$c,Yc=1;Dl.charCodeAt(lp+Yc)===ko;)Yc++;$c+=Yc}else $c++;else if(tp===ko){for(lp=$c,ld=1;Dl.charCodeAt(lp+ld)===ko;)ld++;$c+=ld,Yc===ld&&(Yc=void 0),ld=void 0}else $c++}if(Dp!==void 0)return Cu?!0:(wc=ml.now(),wc.column+=2,wc.offset+=2,ml(Dl.slice(0,$c))({type:"footnote",children:cc.tokenizeInline(Dl.slice(Up,Dp),wc)}))}}function Su(ml,Dl,Cu){var cc=0;if(Dl.charCodeAt(cc)===Ka&&cc++,Dl.charCodeAt(cc)===Ao&&Dl.charCodeAt(cc+1)!==Wa)return Tu.call(this,ml,Dl,Cu)}function Bl(ml,Dl,Cu){for(var cc=0,Ic=Dl.charCodeAt(cc);Ic===Co||Ic===bo;)Ic=Dl.charCodeAt(++cc);if(Ic===Ao&&Dl.charCodeAt(cc+1)!==Wa)return gu.call(this,ml,Dl,Cu)}function Ou(ml,Dl){return ml.indexOf("[",Dl)}function bl(ml,Dl){return ml.indexOf("^[",Dl)}}function Jo(ys){var Ts=ys.prototype.visitors,Is=" ";Ts.footnote=_l,Ts.footnoteReference=Cl,Ts.footnoteDefinition=vu;function _l(fl){return"^["+this.all(fl).join("")+"]"}function Cl(fl){return"[^"+(fl.label||f
`).split(`
`),gu=0,Tu=Hl.length,Ys;++gu<Tu;)Ys=Hl[gu],Ys!==""&&(Hl[gu]=Is+Ys);return"[^"+(fl.label||fl.identifier)+"]: "+Hl.join(`
`)}}function rl(ys,Ts,Is){ys.splice(ys.indexOf(Ts),0,Is)}function vs(ys,Ts,Is,_l){for(var Cl=ys.length,vu=-1;++vu<Cl;)if(Ts[ys[vu][0]].apply(Is,_l))return!0;return!1}}}),Em=qi({"src/utils/front-matter/parse.js"(As,is){Bo();var bo=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function xo(Co){let Ka=Co.match(bo);if(!Ka)return{content:Co};let{startDelimiter:_o,language:Ao,value:Ja="",endDelimiter:Fo}=Ka.groups,Wa=Ao.trim()||"yaml";if(_o==="+++"&&(Wa="toml"),Wa!=="yaml"&&_o!==Fo)return{content:Co};let[ko]=Ka;return{frontMatter:{type:"front-matter",lang:Wa,value:Ja,startDelimiter:_o,endDelimiter:Fo,raw:ko.replace(/\n$/,"")},content:ko.replace(/[^\n]/g," ")+Co.slice(ko.length)}}is.exports=xo}}),Sm=qi({"src/language-markdown/pragma.js"(As,is){Bo();var bo=Em(),xo=["format","prettier"];function Co(Ka){let _o=`@(${xo.join("|")})`,Ao=new RegExp([`<!--\\s*${_o}\\s*-->`,`{\\s*\\/\\*\\s*${_o}\\s*\\*\\/\\s*}`,`<!--.*\r?
[\\s\\S]*(^|
)[^\\S
]*${_o}[^\\S
]*($|
)[\\s\\S]*
.*-->`].join("|"),"m"),Ja=Ka.match(Ao);return(Ja==null?void 0:Ja.index)===0}is.exports={startWithPragma:Co,hasPragma:Ka=>Co(bo(Ka).content.trimStart()),insertPragma:Ka=>{let _o=bo(Ka),Ao=`<!-- @${xo[0]} -->`;return _o.frontMatter?`${_o.frontMatter.raw}
${Ao}
${_o.content}`:`${Ao}
${_o.content}`}}}}),im=qi({"src/language-markdown/loc.js"(As,is){Bo();function bo(Co){return Co.position.start.offset}function xo(Co){return Co.position.end.offset}is.exports={locStart:bo,locEnd:xo}}}),hf=qi({"src/language-markdown/mdx.js"(As,is){Bo();var bo=/^import\s/,xo=/^export\s/,Co="[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",Ka=/<!---->|<!---?[^>-](?:-?[^-])*-->/,_o=/^{\s*\/\*(.*)\*\/\s*}/,Ao=`
`,Ja=us=>bo.test(us),Fo=us=>xo.test(us),Wa=(us,Rs)=>{let Hs=Rs.indexOf(Ao),Bs=Rs.slice(0,Hs);if(Fo(Bs)||Ja(Bs))return us(Bs)({type:Fo(Bs)?"export":"import",value:Bs})},ko=(us,Rs)=>{let Hs=_o.exec(Rs);if(Hs)return us(Hs[0])({type:"esComment",value:Hs[1].trim()})};Wa.locator=us=>Fo(us)||Ja(us)?-1:1,ko.locator=(us,Rs)=>us.indexOf("{",Rs);function Es(){let{Parser:us}=this,{blockTokenizers:Rs,blockMethods:Hs,inlineTokenizers:Bs,inlineMethods:sl}=us.prototype;Rs.esSyntax=Wa,Bs.esComment=ko,Hs.splice(Hs.indexOf("paragraph"),0,"esSyntax"),sl.splice(sl.indexOf("text"),0,"esComment")}is.exports={esSyntax:Es,BLOCKS_REGEX:Co,COMMENT_REGEX:Ka}}}),Km={};Vo(Km,{default:()=>sp});function sp(As){if(typeof As!="string")throw new TypeError("Expected a string");return As.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var qf=sa({"node_modules/escape-string-regexp/index.js"(){Bo()}}),Fp=qi({"src/utils/get-last.js"(As,is){Bo();var bo=xo=>xo[xo.length-1];is.exports=bo}}),Zp=qi({"node_modules/semver/internal/debug.js"(As,is){Bo();var bo=typeof On=="object"&&On.env&&On.env.NODE_DEBUG&&/\bsemver\b/i.test(On.env.NODE_DEBUG)?function(){for(var xo=arguments.length,Co=new Array(xo),Ka=0;Ka<xo;Ka++)Co[Ka]=arguments[Ka];return console.error("SEMVER",...Co)}:()=>{};is.exports=bo}}),Wf=qi({"node_modules/semver/internal/constants.js"(As,is){Bo();var bo="2.0.0",xo=256,Co=Number.MAX_SAFE_INTEGER||9007199254740991,Ka=16;is.exports={SEMVER_SPEC_VERSION:bo,MAX_LENGTH:xo,MAX_SAFE_INTEGER:Co,MAX_SAFE_COMPONENT_LENGTH:Ka}}}),Tm=qi({"node_modules/semver/internal/re.js"(As,is){Bo();var{MAX_SAFE_COMPONENT_LENGTH:bo}=Wf(),xo=Zp();As=is.exports={};var Co=As.re=[],Ka=As.src=[],_o=As.t={},Ao=0,Ja=(Fo,Wa,ko)=>{let Es=Ao++;xo(Fo,Es,Wa),_o[Fo]=Es,Ka[Es]=Wa,Co[Es]=new RegExp(Wa,ko?"g":void 0)};Ja("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ja("NUMERICIDENTIFIERLOOSE","[0-9]+"),Ja("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Ja("MAINVERSION",`(${Ka[_o.NUMERICIDENTIFIER]})\\.(${Ka[_o.NUMERICIDENTIFIER]})\\.(${Ka[_o.NUMERICIDENTIFIER]})`),Ja("MAINVERSIONLOOSE",`(${Ka[_o.NUMERICIDENTIFIERLOOSE]})\\.(${Ka[_o.NUMERICIDENTIFIERLOOSE]})\\.(${Ka[_o.NUMERICIDENTIFIERLOOSE]})`),Ja("PRERELEASEIDENTIFIER",`(?:${Ka[_o.NUMERICIDENTIFIER]}|${Ka[_o.NONNUMERICIDENTIFIER]})`),Ja("PRERELEASEIDENTIFIERLOOSE",`(?:${Ka[_o.NUMERICIDENTIFIERLOOSE]}|${Ka[_o.NONNUMERICIDENTIFIER]})`),Ja("PRERELEASE",`(?:-(${Ka[_o.PRERELEASEIDENTIFIER]}(?:\\.${Ka[_o.PRERELEASEIDENTIFIER]})*))`),Ja("PRERELEASELOOSE",`(?:-?(${Ka[_o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${Ka[_o.PRERELEASEIDENTIFIERLOOSE]})*))`),Ja("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Ja("BUILD",`(?:\\+(${Ka[_o.BUILDIDENTIFIER]}(?:\\.${Ka[_o.BUILDIDENTIFIER]})*))`),Ja("FULLPLAIN",`v?${Ka[_o.MAINVERSION]}${Ka[_o.PRERELEASE]}?${Ka[_o.BUILD]}?`),Ja("FULL",`^${Ka[_o.FULLPLAIN]}$`),Ja("LOOSEPLAIN",`[v=\\s]*${Ka[_o.MAINVERSIONLOOSE]}${Ka[_o.PRERELEASELOOSE]}?${Ka[_o.BUILD]}?`),Ja("LOOSE",`^${Ka[_o.LOOSEPLAIN]}$`),Ja("GTLT","((?:<|>)?=?)"),Ja("XRANGEIDENTIFIERLOOSE",`${Ka[_o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ja("XRANGEIDENTIFIER",`${Ka[_o.NUMERICIDENTIFIER]}|x|X|\\*`),Ja("XRANGEPLAIN",`[v=\\s]*(${Ka[_o.XRANGEIDENTIFIER]})(?:\\.(${Ka[_o.XRANGEIDENTIFIER]})(?:\\.(${Ka[_o.XRANGEIDENTIFIER]})(?:${Ka[_o.PRERELEASE]})?${Ka[_o.BUILD]}?)?)?`),Ja("XRANGEPLAINLOOSE",`[v=\\s]*(${Ka[_o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${Ka[_o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${Ka[_o.XRANGEIDENTIFIERLOOSE]})(?:${Ka[_o.PRERELEASELOOSE]})?${Ka[_o.BUILD]}?)?)?`),Ja("XRANGE",`^${Ka[_o.GTLT]}\\s*${Ka[_o.XRANGEPLAIN]}$`),Ja("XRANGELOOSE",`^${Ka[_o.GTLT]}\\s*${Ka[_o.XRANGEPLAINLOOSE]}$`),Ja("COERCE",`(^|[^\\d])(\\d{1,${bo}})(?:\\.(\\d{1,${bo}}))?(?:\\.(\\d{1,${bo}}))?(?:$|[^\\d])`),Ja("COERCERTL",Ka[_o.COERCE],!0),Ja("LONETILDE","(?:~>?)"),Ja("TILDETRIM",`(\\s*)${Ka[_o.LONETILDE]}\\s+`,!0),As.tildeTrimReplace="$1~",Ja("TILDE",`^${Ka[_o.LONETILDE]}${Ka[_o.XRANGEPLAIN]}$`),Ja("TILDELOOSE",`^${Ka[_o.LONETILDE]}${Ka[_o.XRANGEPLAINLOOSE]}$`),Ja("LONECARET","(?:\\^)"),Ja("CARETTRIM",`(\\s*)${Ka[_o.LONECARET]}\\s+`,!0),As.caretTrimReplace="$1^",Ja("CARET",`^${Ka[_o.LONECARET]}${Ka[_o.XRANGEPLAIN]}$`),Ja
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`,cliCategory:Co},endOfLine:{since:"1.15.0",category:Ja,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"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:bo`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`}]},filepath:{since:"1.4.0",category:Fo,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:_o,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Fo,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:_o},parser:{since:"0.0.10",category:Ja,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:ko=>typeof ko=="string"||typeof ko=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Ja,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:ko=>typeof ko=="string"||typeof ko=="object",cliName:"plugin",cliCategory:xo},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Ja,description:bo`
Custom directory that contains prettier plugins in node_modules subdirectory.
Overrides default behavior when plugins are searched relatively to the location of Prettier.
Multiple values are accepted.
`,exception:ko=>typeof ko=="string"||typeof ko=="object",cliName:"plugin-search-dir",cliCategory:xo},printWidth:{since:"0.0.0",category:Ja,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:Fo,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:bo`
Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:Co},rangeStart:{since:"1.4.0",category:Fo,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:bo`
Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:Co},requirePragma:{since:"1.7.0",category:Fo,type:"boolean",default:!1,description:bo`
Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.
`,cliCategory:_o},tabWidth:{type:"int",category:Ja,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Ja,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Ja,type:"choice",default:[{since:"2.1.0",value:"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."}]}};is.exports={CATEGORY_CONFIG:xo,CATEGORY_EDITOR:Co,CATEGORY_FORMAT:Ka,CATEGORY_OTHER:_o,CATEGORY_OUTPUT:Ao,CATEGORY_GLOBAL:Ja,CATEGORY_SPECIAL:Fo,options:Wa}}}),Wp=qi({"src/main/support.js"(As,is){Bo();var bo={compare:Lm(),lt:gf(),gte:jh()},xo=Fh(),Co=hh().version,Ka=Np().options;function _o(){let{plugins:Ja=[],showUnreleased:Fo=!1,showDeprecated:Wa=!1,showInternal:ko=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Es=Co.split("-",1)[0],us=Ja.flatMap(Jo=>Jo.languages||[]).filter(Hs),Rs=xo(Object.assign({},...Ja.map(Jo=>{let{options:rl}=Jo;return rl}),Ka),"name").filter(Jo=>Hs(Jo)&&Bs(Jo)).sort((Jo,rl)=>Jo.name===rl.name?0:Jo.name<rl.name?-1:1).map(sl).map(Jo=>{Jo=Object.assign({},Jo),Array.isArray(Jo.default)&&(Jo.default=Jo.default.length===1?Jo.default[0].value:Jo.default.filter(Hs).sort((vs,ys)=>bo.compare(ys.since,vs.since))[0].value),Array.isArray(Jo.choices)&&(Jo.choices=Jo.choices.filter(vs=>Hs(vs)&&Bs(vs)),Jo.name==="parser"&&Ao(Jo,us,Ja));let rl=Object.fromEntries(Ja.filter(vs=>vs.defaultOptions&&vs.defaultOptions[Jo.name]!==void 0).map(vs=>[vs.name,vs.defaultOptions[Jo.name]]));return Object.assign(Object.assign({},Jo),{},{pluginDefaults:rl})});return{languages:us,options:Rs};function Hs(Jo){return Fo||!("since"in Jo)||Jo.since&&bo.gte(Es,Jo.since)}function Bs(Jo){return Wa||!("deprecated"in Jo)||Jo.deprecated&&bo.lt(Es,Jo.deprecated)}function sl(Jo){return ko?Jo:js(Jo,Ns)}}function Ao(Ja,Fo,Wa){let ko=new Set(Ja.choices.map(Es=>Es.value));for(let Es of Fo)if(Es.parsers){for(let us of Es.parsers)if(!ko.has(us)){ko.add(us);let Rs=Wa.find(Bs=>Bs.parsers&&Bs.parsers[us]),Hs=Es.name;Rs&&Rs.name&&(Hs+=` (plugin: ${Rs.name})`),Ja.choices.push({value:us,description:Hs})}}}is.exports={getSupportInfo:_o}}}),Dh=qi({"src/utils/is-non-empty-array.js"(As,is){Bo();function bo(xo){return Array.isArray(xo)&&xo.length>0}is.exports=bo}});function Uh(){let{onlyFirst:As=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},is=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(is,As?void 0:"g")}var t0=sa({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Bo()}});function Ym(As){if(typeof As!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof As}\``);return As.replace(Uh(),"")}var Lf=sa({"node_modules/strip-ansi/index.js"(){Bo(),t0()}});function Vh(As){return Number.isInteger(As)?As>=4352&&(As<=4447||As===9001||As===9002||11904<=As&&As<=12871&&As!==12351||12880<=As&&As<=19903||19968<=As&&As<=42182||43360<=As&&As<=43388||44032<=As&&As<=55203||63744<=As&&As<=64255||65040<=As&&As<=65049||65072<=As&&As<=65131||65281<=As&&As<=65376||65504<=As&&As<=65510||110592<=As&&As<=110593||127488<=As&&As<=127569||131072<=As&&As<=262141):!1}var Hh=sa({"node_modules/is-fullwidth-code-point/index.js"(){Bo()}}),Xm=qi({"node_modules/emoji-regex/index.js"(As,is){Bo(),is.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD
`)return Co-2;if(Ao===`
`||Ao==="\r"||Ao==="\u2028"||Ao==="\u2029")return Co-1}else{if(Ao==="\r"&&xo.charAt(Co+1)===`
`)return Co+2;if(Ao===`
`||Ao==="\r"||Ao==="\u2028"||Ao==="\u2029")return Co+1}return Co}is.exports=bo}}),Nd=qi({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(As,is){Bo();var bo=Ml(),xo=Cc(),Co=vc(),{skipSpaces:Ka}=Wl();function _o(Ao,Ja){let Fo=null,Wa=Ja;for(;Wa!==Fo;)Fo=Wa,Wa=Ka(Ao,Wa),Wa=bo(Ao,Wa),Wa=Co(Ao,Wa),Wa=xo(Ao,Wa);return Wa}is.exports=_o}}),bp=qi({"src/common/util.js"(As,is){Bo();var{default:bo}=(qf(),fs(Km)),xo=Fp(),{getSupportInfo:Co}=Wp(),Ka=Dh(),_o=Ks(),{skipWhitespace:Ao,skipSpaces:Ja,skipToLineEnd:Fo,skipEverythingButNewLine:Wa}=Wl(),ko=Ml(),Es=vc(),us=Cc(),Rs=Nd(),Hs=bl=>bl[bl.length-2];function Bs(bl){return(ml,Dl,Cu)=>{let cc=Cu&&Cu.backwards;if(Dl===!1)return!1;let{length:Ic}=ml,$c=Dl;for(;$c>=0&&$c<Ic;){let kd=ml.charAt($c);if(bl instanceof RegExp){if(!bl.test(kd))return $c}else if(!bl.includes(kd))return $c;cc?$c--:$c++}return $c===-1||$c===Ic?$c:!1}}function sl(bl,ml){let Dl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Cu=Ja(bl,Dl.backwards?ml-1:ml,Dl),cc=us(bl,Cu,Dl);return Cu!==cc}function Jo(bl,ml,Dl){for(let Cu=ml;Cu<Dl;++Cu)if(bl.charAt(Cu)===`
`)return!0;return!1}function rl(bl,ml,Dl){let Cu=Dl(ml)-1;Cu=Ja(bl,Cu,{backwards:!0}),Cu=us(bl,Cu,{backwards:!0}),Cu=Ja(bl,Cu,{backwards:!0});let cc=us(bl,Cu,{backwards:!0});return Cu!==cc}function vs(bl,ml){let Dl=null,Cu=ml;for(;Cu!==Dl;)Dl=Cu,Cu=Fo(bl,Cu),Cu=ko(bl,Cu),Cu=Ja(bl,Cu);return Cu=Es(bl,Cu),Cu=us(bl,Cu),Cu!==!1&&sl(bl,Cu)}function ys(bl,ml,Dl){return vs(bl,Dl(ml))}function Ts(bl,ml,Dl){return Rs(bl,Dl(ml))}function Is(bl,ml,Dl){return bl.charAt(Ts(bl,ml,Dl))}function _l(bl,ml){let Dl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ja(bl,Dl.backwards?ml-1:ml,Dl)!==ml}function Cl(bl,ml){let Dl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Cu=0;for(let cc=Dl;cc<bl.length;++cc)bl[cc]===" "?Cu=Cu+ml-Cu%ml:Cu++;return Cu}function vu(bl,ml){let Dl=bl.lastIndexOf(`
`);return Dl===-1?0:Cl(bl.slice(Dl+1).match(/^[\t ]*/)[0],ml)}function fl(bl,ml){let Dl={quote:'"',regex:/"/g,escaped:"&quot;"},Cu={quote:"'",regex:/'/g,escaped:"&apos;"},cc=ml==="'"?Cu:Dl,Ic=cc===Cu?Dl:Cu,$c=cc;if(bl.includes(cc.quote)||bl.includes(Ic.quote)){let kd=(bl.match(cc.regex)||[]).length,wc=(bl.match(Ic.regex)||[]).length;$c=kd>wc?Ic:cc}return $c}function Hl(bl,ml){let Dl=bl.slice(1,-1),Cu=ml.parser==="json"||ml.parser==="json5"&&ml.quoteProps==="preserve"&&!ml.singleQuote?'"':ml.__isInHtmlAttribute?"'":fl(Dl,ml.singleQuote?"'":'"').quote;return gu(Dl,Cu,!(ml.parser==="css"||ml.parser==="less"||ml.parser==="scss"||ml.__embeddedInHtml))}function gu(bl,ml,Dl){let Cu=ml==='"'?"'":'"',cc=/\\(.)|(["'])/gs,Ic=bl.replace(cc,($c,kd,wc)=>kd===Cu?kd:wc===ml?"\\"+wc:wc||(Dl&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(kd)?kd:"\\"+kd));return ml+Ic+ml}function Tu(bl){return bl.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function Ys(bl,ml){let Dl=bl.match(new RegExp(`(${bo(ml)})+`,"g"));return Dl===null?0:Dl.reduce((Cu,cc)=>Math.max(Cu,cc.length/ml.length),0)}function Eu(bl,ml){let Dl=bl.match(new RegExp(`(${bo(ml)})+`,"g"));if(Dl===null)return 0;let Cu=new Map,cc=0;for(let Ic of Dl){let $c=Ic.length/ml.length;Cu.set($c,!0),$c>cc&&(cc=$c)}for(let Ic=1;Ic<cc;Ic++)if(!Cu.get(Ic))return Ic;return cc+1}function Wu(bl,ml){(bl.comments||(bl.comments=[])).push(ml),ml.printed=!1,ml.nodeDescription=Ou(bl)}function Qu(bl,ml){ml.leading=!0,ml.trailing=!1,Wu(bl,ml)}function Ha(bl,ml,Dl){ml.leading=!1,ml.trailing=!1,Dl&&(ml.marker=Dl),Wu(bl,ml)}function bu(bl,ml){ml.leading=!1,ml.trailing=!0,Wu(bl,ml)}function yc(bl,ml){let{languages:Dl}=Co({plugins:ml.plugins}),Cu=Dl.find(cc=>{let{name:Ic}=cc;return Ic.toLowerCase()===bl})||Dl.find(cc=>{let{aliases:Ic}=cc;return Array.isArray(Ic)&&Ic.includes(bl)})||Dl.find(cc=>{let{extensions:Ic}=cc;return Array.isArray(Ic)&&Ic.includes(`.${bl}`)});return Cu&&Cu.parsers[0]}function Su(bl){return bl&&bl.type==="front-matter"}function Bl(bl){let ml=new WeakMap;return function(Dl){return ml.has(Dl)||ml.set(Dl,Symbol(bl)),ml.get(Dl)}}function Ou(bl){let ml=bl.type||bl.kind||"(unknown type)",Dl=String(bl.name||bl.id&&(typeof bl.id=="object"?bl.id.name:bl.id)||bl.key&&(typeof bl.key=="object"?bl.key.name:bl.key)||bl.value&&(typeof bl.value=="object"?"":String(bl.value))||bl.operator||"");return Dl.length>20&&(Dl=Dl.slice(0,19)+"…"),ml+(Dl?" "+Dl:"")}is.exports={inferParserByLanguage:yc,getStringWidth:_o,getMaxContinuousCount:Ys,getMinNotPresentContinuousCount:Eu,getPenultimate:Hs,getLast:xo,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Rs,getNextNonSpaceNonCommentCharacterIndex:Ts,getNextNonSpaceNonCommentCharacter:Is,skip:Bs,skipWhitespace:Ao,skipSpaces:Ja,skipToLineEnd:Fo,skipEverythingButNewLine:Wa,skipInlineComment:ko,skipTrailingComment:Es,skipNewline:us,isNextLineEmptyAfterIndex:vs,isNextLineEmpty:ys,isPreviousLineEmpty:rl,hasNewline:sl,hasNewlineInRange:Jo,hasSpaces:_l,getAlignmentSize:Cl,getIndentSize:vu,getPreferredQuote:fl,printString:Hl,printNumber:Tu,makeString:gu,addLeadingComment:Qu,addDanglingComment:Ha,addTrailingComment:bu,isFrontMatterNode:Su,isNonEmptyArray:Ka,createGroupIdMapper:Bl}}}),Wd=qi({"src/language-markdown/constants.evaluate.js"(As,is){is.exports={cjkPattern:"(?:[\\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-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\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][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50
(${Ka})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[fl,Hl]of Cl.entries()){if(fl%2===1){_l.push({type:"whitespace",value:/\n/.test(Hl)?`
`:" "});continue}if((fl===0||fl===Cl.length-1)&&Hl==="")continue;let gu=Hl.split(new RegExp(`(${Ka})`));for(let[Tu,Ys]of gu.entries())if(!((Tu===0||Tu===gu.length-1)&&Ys==="")){if(Tu%2===0){Ys!==""&&vu({type:"word",value:Ys,kind:vs,hasLeadingPunctuation:ko.test(Ys[0]),hasTrailingPunctuation:ko.test(bo(Ys))});continue}vu(ko.test(Ys)?{type:"word",value:Ys,kind:Is,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:Ys,kind:Wa.test(Ys)?Ts:ys,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return _l;function vu(fl){let Hl=bo(_l);Hl&&Hl.type==="word"&&(Hl.kind===vs&&fl.kind===ys&&!Hl.hasTrailingPunctuation||Hl.kind===ys&&fl.kind===vs&&!fl.hasLeadingPunctuation?_l.push({type:"whitespace",value:" "}):!gu(vs,Is)&&![Hl.value,fl.value].some(Tu=>/\u3000/.test(Tu))&&_l.push({type:"whitespace",value:""})),_l.push(fl);function gu(Tu,Ys){return Hl.kind===Tu&&fl.kind===Ys||Hl.kind===Ys&&fl.kind===Tu}}}function us(Jo,rl){let[,vs,ys,Ts]=rl.slice(Jo.position.start.offset,Jo.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:vs,marker:ys,leadingSpaces:Ts}}function Rs(Jo,rl){if(!Jo.ordered||Jo.children.length<2)return!1;let vs=Number(us(Jo.children[0],rl.originalText).numberText),ys=Number(us(Jo.children[1],rl.originalText).numberText);if(vs===0&&Jo.children.length>2){let Ts=Number(us(Jo.children[2],rl.originalText).numberText);return ys===1&&Ts===1}return ys===1}function Hs(Jo,rl){let{value:vs}=Jo;return Jo.position.end.offset===rl.length&&vs.endsWith(`
`)&&rl.endsWith(`
`)?vs.slice(0,-1):vs}function Bs(Jo,rl){return function vs(ys,Ts,Is){let _l=Object.assign({},rl(ys,Ts,Is));return _l.children&&(_l.children=_l.children.map((Cl,vu)=>vs(Cl,vu,[_l,...Is]))),_l}(Jo,null,[])}function sl(Jo){if((Jo==null?void 0:Jo.type)!=="link"||Jo.children.length!==1)return!1;let[rl]=Jo.children;return xo(Jo)===xo(rl)&&Co(Jo)===Co(rl)}is.exports={mapAst:Bs,splitText:Es,punctuationPattern:Ao,getFencedCodeBlockValue:Hs,getOrderedListItemInfo:us,hasGitDiffFriendlyOrderedList:Rs,INLINE_NODE_TYPES:Ja,INLINE_NODE_WRAPPER_TYPES:Fo,isAutolink:sl}}}),Qh=qi({"src/language-markdown/unified-plugins/html-to-jsx.js"(As,is){Bo();var bo=hf(),{mapAst:xo,INLINE_NODE_WRAPPER_TYPES:Co}=Qm();function Ka(){return _o=>xo(_o,(Ao,Ja,Fo)=>{let[Wa]=Fo;return Ao.type!=="html"||bo.COMMENT_REGEX.test(Ao.value)||Co.includes(Wa.type)?Ao:Object.assign(Object.assign({},Ao),{},{type:"jsx"})})}is.exports=Ka}}),_f=qi({"src/language-markdown/unified-plugins/front-matter.js"(As,is){Bo();var bo=Em();function xo(){let Co=this.Parser.prototype;Co.blockMethods=["frontMatter",...Co.blockMethods],Co.blockTokenizers.frontMatter=Ka;function Ka(_o,Ao){let Ja=bo(Ao);if(Ja.frontMatter)return _o(Ja.frontMatter.raw)(Ja.frontMatter)}Ka.onlyAtStart=!0}is.exports=xo}}),$f=qi({"src/language-markdown/unified-plugins/liquid.js"(As,is){Bo();function bo(){let xo=this.Parser.prototype,Co=xo.inlineMethods;Co.splice(Co.indexOf("text"),0,"liquid"),xo.inlineTokenizers.liquid=Ka;function Ka(_o,Ao){let Ja=Ao.match(/^({%.*?%}|{{.*?}})/s);if(Ja)return _o(Ja[0])({type:"liquidNode",value:Ja[0]})}Ka.locator=function(_o,Ao){return _o.indexOf("{",Ao)}}is.exports=bo}}),Cm=qi({"src/language-markdown/unified-plugins/wiki-link.js"(As,is){Bo();function bo(){let xo="wikiLink",Co=/^\[\[(?<linkContents>.+?)]]/s,Ka=this.Parser.prototype,_o=Ka.inlineMethods;_o.splice(_o.indexOf("link"),0,xo),Ka.inlineTokenizers.wikiLink=Ao;function Ao(Ja,Fo){let Wa=Co.exec(Fo);if(Wa){let ko=Wa.groups.linkContents.trim();return Ja(Wa[0])({type:xo,value:ko})}}Ao.locator=function(Ja,Fo){return Ja.indexOf("[",Fo)}}is.exports=bo}}),bf=qi({"src/language-markdown/unified-plugins/loose-items.js"(As,is){Bo();function bo(){let xo=this.Parser.prototype,Co=xo.blockTokenizers.list;function Ka(_o,Ao,Ja){return Ao.type==="listItem"&&(Ao.loose=Ao.spread||_o.charAt(_o.length-1)===`
`,Ao.loose&&(Ja.loose=!0)),Ao}xo.blockTokenizers.list=function(_o,Ao,Ja){function Fo(Wa){let ko=_o(Wa);function Es(us,Rs){return ko(Ka(Wa,us,Rs),Rs)}return Es.reset=function(us,Rs){return ko.reset(Ka(Wa,us,Rs),Rs)},Es}return Fo.now=_o.now,Co.call(this,Fo,Ao,Ja)}}is.exports=bo}});Bo();var Kf=Pf(),$m=Bh(),Ad=Wm(),Jh=ph(),Id=Sm(),{locStart:Kp,locEnd:jm}=im(),Mp=hf(),sm=Qh(),jf=_f(),Ff=$f(),_h=Cm(),bh=bf();function yf(As){let{isMDX:is}=As;return bo=>{let xo=$m().use(Kf,Object.assign({commonmark:!0},is&&{blocks:[Mp.BLOCKS_REGEX]})).use(Jh).use(jf).use(Ad).use(is?Mp.esSyntax:Fm).use(Ff).use(is?sm:Fm).use(_h).use(bh);return xo.runSync(xo.parse(bo))}}function Fm(As){return As}var wm={astFormat:"mdast",hasPragma:Id.hasPragma,locStart:Kp,locEnd:jm},Yf=Object.assign(Object.assign({},wm),{},{parse:yf({isMDX:!1})}),Rh=Object.assign(Object.assign({},wm),{},{parse:yf({isMDX:!0})});cs.exports={parsers:{remark:Yf,markdown:Yf,mdx:Rh}}});return _c()})})(parserMarkdown);var parserMarkdownExports=parserMarkdown.exports;const prettierMarkdown=getDefaultExportFromCjs(parserMarkdownExports);function addPrefix(e){return`${prefix}__${e}`}function createCustomTheme(e,t,y=!0){const n=JSON.parse(JSON.stringify(e));return n.block.h1["border-bottom"]=`2px solid ${t}`,n.block.h2.background=t,n.block.h3["border-left"]=`3px solid ${t}`,n.block.h4.color=t,n.inline.strong.color=t,y||(n.block.h3["border-bottom"]=`1px dashed ${t}`,n.block.blockquote["border-left"]=`4px solid ${t}`),n}function setColorWithCustomTemplate(e,t,y=!0){return createCustomTheme(e,t,y)}function setFontSizeWithTemplate(e){return function(t,y=!0){const n=JSON.parse(JSON.stringify(e));return y?(n.block.h1["font-size"]=`${t*1.2}px`,n.block.h2["font-size"]=`${t*1.2}px`,n.block.h3["font-size"]=`${t*1.1}px`,n.block.h4["font-size"]=`${t}px`):(n.block.h1["font-size"]=`${t*1.4}px`,n.block.h2["font-size"]=`${t*1.3}px`,n.block.h3["font-size"]=`${t*1.2}px`,n.block.h4["font-size"]=`${t*1.1}px`),n}}function setTheme(e,t,y,n){return setColorWithCustomTemplate(setFontSizeWithTemplate(e)(t,n),y,n)}function customCssWithTemplate(e,t,y){const n=createCustomTheme(y,t);return n.block.h1=Object.assign(n.block.h1,e.h1),n.block.h2=Object.assign(n.block.h2,e.h2),n.block.h3=Object.assign(n.block.h3,e.h3),n.block.h4=Object.assign(n.block.h4,e.h4),n.block.code=Object.assign(n.block.code,e.code),n.block.p=Object.assign(n.block.p,e.p),n.block.hr=Object.assign(n.block.hr,e.hr),n.block.blockquote=Object.assign(n.block.blockquote,e.blockquote),n.block.blockquote_p=Object.assign(n.block.blockquote_p,e.blockquote_p),n.block.image=Object.assign(n.block.image,e.image),n.inline.strong=Object.assign(n.inline.strong,e.strong),n.inline.codespan=Object.assign(n.inline.codespan,e.codespan),n.inline.link=Object.assign(n.inline.link,e.link),n.inline.wx_link=Object.assign(n.inline.wx_link,e.wx_link),n.block.ul=Object.assign(n.block.ul,e.ul),n.block.ol=Object.assign(n.block.ol,e.ol),n.inline.listitem=Object.assign(n.inline.listitem,e.li),n}function css2json(e){e=e.replace(/\/\*[\s\S]*?\*\//g,"");const t={},y=n=>n.reduce((k,L)=>{const[$,j]=L.split(":").map(V=>V.trim());return $&&(k[$]=j),k},{});for(;e.includes("{")&&e.includes("}");){const n=e.indexOf("{"),k=e.indexOf("}"),L=e.substring(n+1,k).split(";").map(V=>V.trim()).filter(Boolean),$=e.substring(0,n).split(",").map(V=>V.trim()),j=y(L);$.forEach(V=>{t[V]={...t[V]||{},...j}}),e=e.slice(k+1).trim()}return t}function formatDoc(e){return prettier.format(e,{parser:"markdown",plugins:[prettierMarkdown]})}function formatCss(e){return prettier.format(e,{parser:"css",plugins:[prettierCss]})}function downloadMD(e){const t=document.createElement("a");t.download="content.md",t.style.display="none";const y=new Blob([e]);t.href=URL.createObjectURL(y),document.body.appendChild(t),t.click(),document.body.removeChild(t)}function exportHTML(){const e=document.querySelector("#output");k(e);const t=e.innerHTML,y=document.createElement("a");y.download="content.html",y.style.display="none";const n=new Blob([`<html><head><meta charset="utf-8" /></head><body><div style="width: 750px; margin: auto;">$
`}return n}function toBase64(e){return new Promise((t,y)=>{const n=new FileReader;n.readAsDataURL(e),n.onload=()=>t(n.result.split(",").pop()),n.onerror=k=>y(k)})}function checkImage(e){if(!/\.(?:gif|jpe?g|png)$/i.test(e.name))return{ok:!1,msg:"请上传 JPG/PNG/GIF 格式的图片"};const y=10;return e.size>y*1024*1024?{ok:!1,msg:`由于公众号限制图片大小不能超过 ${y}M`}:{ok:!0}}function removeLeft(e){const t=e.split(`
`),y=t.filter(n=>n.trim()).map(n=>n.match(/(^\s+)?/)[0].length).sort((n,k)=>n-k)[0];return t.map(n=>n.slice(y)).join(`
`)}function solveWeChatImage(){const t=document.getElementById("output").getElementsByTagName("img");for(let y=0;y<t.length;y++){const n=t[y],k=n.getAttribute("width"),L=n.getAttribute("height");n.removeAttribute("width"),n.removeAttribute("height"),n.style.width=k,n.style.height=L}}function mergeCss(e){return juice(e,{inlinePseudoElements:!0,preserveImportant:!0})}const useStore=defineStore("store",()=>{const e=useDark(),t=useToggle(e),y=useStorage("isMacCodeBlock",!0),n=useToggle(y),k=useStorage("isEditOnLeft",!0),L=useToggle(k),$=useStorage("isCiteStatus",!1),j=useToggle($),V=ref$1(""),z=useStorage(addPrefix("theme"),themeOptions[0].value),re=useStorage("fonts",fontFamilyOptions[0].value),ie=useStorage("size",fontSizeOptions[2].value),ae=useStorage("color",colorOptions[0].value),oe=useStorage("codeBlockTheme",codeBlockThemeOptions[2].value),ue=useStorage("legend",legendOptions[3].value),de=ie.value.replace("px",""),Oe=new WxRenderer({theme:setTheme(themeMap[z.value],de,ae.value,z.value==="default"),fonts:re.value,size:ie.value}),_e=ref$1(null),Ce=useStorage("__editor_content",formatDoc(DEFAULT_CONTENT)),pe=()=>{const Tr=formatDoc(_e.value.getValue());Ce.value=Tr,_e.value.setValue(Tr)},Ne=()=>{const Tr=oe.value,Rr=document.querySelector("#hljs");if(Rr)Rr.setAttribute("href",Tr);else{const kr=document.createElement("link");kr.setAttribute("type","text/css"),kr.setAttribute("rel","stylesheet"),kr.setAttribute("href",Tr),kr.setAttribute("id","hljs"),document.head.appendChild(kr)}},Fe=()=>{Ne();const Tr=Oe;Tr.reset(),Tr.setOptions({status:$.value,legend:ue.value}),marked.setOptions({renderer:Tr});let Rr=marked.parse(_e.value.getValue(0));Rr=Rr.replace(/(style=".*?)"/,'$1;margin-top: 0"'),$.value&&(Rr+=Oe.buildFootnotes(),Rr+=Oe.buildAddition()),y.value&&(Rr+=`
<style>
.hljs.code__pre::before {
position: initial;
padding: initial;
content: '';
display: block;
height: 25px;
background-color: transparent;
background-image: url("https://doocs.oss-cn-shenzhen.aliyuncs.com/img/123.svg");
background-position: 14px 10px!important;
background-repeat: no-repeat;
background-size: 40px!important;
}
.hljs.code__pre {
padding: 0!important;
}
.hljs.code__pre code {
display: -webkit-box;
padding: 0.5em 1em 1em;
overflow-x: auto;
text-indent: 0;
}
</style>
`),V.value=Rr},Ve=ref$1(null),Pt=Tr=>{Ve.value.setValue(Tr)},kt=useStorage("__css_content",DEFAULT_CSS_CONTENT),Ue=useStorage(addPrefix("css_content_config"),{active:"方案1",tabs:[{title:"方案1",name:"方案1",content:kt.value||DEFAULT_CSS_CONTENT}]});onMounted(()=>{kt.value=""});const ze=()=>Ue.value.tabs.find(Tr=>Tr.name===Ue.value.active),Et=Tr=>{Ue.value.active=Tr;const Rr=Ue.value.tabs.find(kr=>kr.name===Tr).content;Pt(Rr)},er=Tr=>{const Rr=ze();Rr.title=Tr,Rr.name=Tr,Ue.value.active=Tr},tr=Tr=>{Ue.value.tabs.push({name:Tr,title:Tr,content:DEFAULT_CSS_CONTENT}),Ue.value.active=Tr,Pt(DEFAULT_CSS_CONTENT)},ir=Tr=>Ue.value.tabs.every(({name:Rr})=>Rr!==Tr),rr=()=>{const Tr=css2json(Ve.value.getValue());let Rr=setTheme(themeMap[z.value],de,ae.value,z.value==="default");Rr=customCssWithTemplate(Tr,ae.value,Rr),Oe.setOptions({theme:Rr}),Fe()};onMounted(()=>{const Tr=document.querySelector("#cssEditor");Tr.value=ze().content,Ve.value=markRaw(CodeMirror.fromTextArea(Tr,{mode:"css",theme:"style-mirror",lineNumbers:!1,lineWrapping:!0,matchBrackets:!0,autofocus:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(kr){const Wr=formatCss(kr.getValue());ze().content=Wr,kr.setValue(Wr)}}})),Ve.value.on("keyup",(Rr,kr)=>{(kr.keyCode>=65&&kr.keyCode<=90||kr.keyCode===189)&&Rr.showHint(kr)}),Ve.value.on("update",()=>{rr(),ze().content=Ve.value.getValue()})});const lr=()=>{$.value=!1,y.value=!0,z.value=themeOptions[0].value,re.value=fontFamilyOptions[0].value,re.value=fontFamilyOptions[0].value,ie.value=fontSizeOptions[2].value,ae.value=colorOptions[0].value,oe.value=codeBlockThemeOptions[2].value,ue.value=legendOptions[3].value,Ue.value={active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:kt.value||DEFAULT_CSS_CONTENT}]},Ve.value.setValue(DEFAULT_CSS_CONTENT),rr(),Fe()},ur=Tr=>(...Rr)=>{Tr(...Rr),Fe()},fr=(Tr,Rr)=>{const kr=setFontSizeWithTemplate(themeMap[z.value])(Tr.replace("px",""),z.value==="default");return setColorWithCustomTemplate(kr,Rr,z.value==="default")},mr=ur(Tr=>{Oe.setOptions({theme:setTheme(themeMap[Tr],de,ae.value,Tr==="default")}),z.value=Tr}),yr=ur(Tr=>{Oe.setOptions({fonts:Tr}),re.value=Tr}),Ir=ur(Tr=>{const Rr=fr(Tr,ae.value);Oe.setOptions({size:Tr,theme:Rr}),ie.value=Tr}),Nr=ur(Tr=>{const Rr=fr(ie.value,Tr);Oe.setOptions({theme:Rr}),ae.value=Tr}),Sr=ur(Tr=>{oe.value=Tr}),vr=ur(Tr=>{ue.value=Tr}),Mr=ur(()=>{n()}),$r=ur(()=>{j()}),gr=()=>{exportHTML(),document.querySelector("#output").innerHTML=V.value},_r=()=>{downloadMD(_e.value.getValue())},Fr=()=>{const Tr=document.body,Rr=document.createElement("input");Rr.type="file",Rr.name="filename",Rr.accept=".md",Rr.onchange=()=>{const kr=Rr.files[0];if(!kr)return;const Wr=new FileReader;Wr.readAsText(kr),Wr.onload=Kr=>{_e.value.setValue(formatDoc(Kr.target.result)),ElMessage.success("文档导入成功")}},Tr.appendChild(Rr),Rr.click(),Tr.removeChild(Rr)},zr=()=>{ElMessageBox.confirm("此操作将丢失本地自定义样式,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",center:!0}).then(()=>{lr(),ElMessage({type:"success",message:"样式重置成功~"})}).catch(()=>{_e.value.focus()})},Vr=ref$1(!1),Gr=useToggle(Vr),Cr=ref$1(!1),xr=useToggle(Cr),Br=ref$1(!1),Er=useToggle(Br);return{isShowCssEditor:Vr,toggleShowCssEditor:Gr,isShowInsertFormDialog:Cr,toggleShowInsertFormDialog:xr,isShowUploadImgDialog:Br,toggleShowUploadImgDialog:Er,isDark:e,toggleDark:t,isEditOnLeft:k,toggleEditOnLeft:L,isMacCodeBlock:y,isCiteStatus:$,citeStatusChanged:$r,output:V,editor:_e,cssEditor:Ve,theme:z,fontFamily:re,fontSize:ie,fontColor:ae,codeBlockTheme:oe,legend:ue,editorRefresh:Fe,themeChanged:mr,fontChanged:yr,sizeChanged:Ir,colorChanged:Nr,codeBlockThemeChanged:Sr,legendChanged:vr,macCodeBlockChanged:Mr,formatContent:pe,exportEditorContent2HTML:gr,exportEditorContent2MD:_r,importMarkdownContent:Fr,resetStyleConfirm:zr,editorContent:Ce,cssContentConfig:Ue,addCssContentTab:tr,validatorTabName:ir,setCssEditorValue:Pt,tabChanged:Et,renameTab:er}}),Store=createPinia(),ElementPlus={install(e){e.use(installer,{size:"default"
(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(n){var k=y,L=k.lib,$=L.WordArray,j=L.Hasher,V=k.algo,z=$.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]),re=$.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]),ie=$.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]),ae=$.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]),oe=$.create([0,1518500249,1859775393,2400959708,2840853838]),ue=$.create([1352829926,1548603684,1836072691,2053994217,0]),de=V.RIPEMD160=j.extend({_doReset:function(){this._hash=$.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(Ve,Pt){for(var kt=0;kt<16;kt++){var Ue=Pt+kt,ze=Ve[Ue];Ve[Ue]=(ze<<8|ze>>>24)&16711935|(ze<<24|ze>>>8)&4278255360}var Et=this._hash.words,er=oe.words,tr=ue.words,ir=z.words,rr=re.words,lr=ie.words,ur=ae.words,fr,mr,yr,Ir,Nr,Sr,vr,Mr,$r,gr;Sr=fr=Et[0],vr=mr=Et[1],Mr=yr=Et[2],$r=Ir=Et[3],gr=Nr=Et[4];for(var _r,kt=0;kt<80;kt+=1)_r=fr+Ve[Pt+ir[kt]]|0,kt<16?_r+=Oe(mr,yr,Ir)+er[0]:kt<32?_r+=_e(mr,yr,Ir)+er[1]:kt<48?_r+=Ce(mr,yr,Ir)+er[2]:kt<64?_r+=pe(mr,yr,Ir)+er[3]:_r+=Ne(mr,yr,Ir)+er[4],_r=_r|0,_r=Fe(_r,lr[kt]),_r=_r+Nr|0,fr=Nr,Nr=Ir,Ir=Fe(yr,10),yr=mr,mr=_r,_r=Sr+Ve[Pt+rr[kt]]|0,kt<16?_r+=Ne(vr,Mr,$r)+tr[0]:kt<32?_r+=pe(vr,Mr,$r)+tr[1]:kt<48?_r+=Ce(vr,Mr,$r)+tr[2]:kt<64?_r+=_e(vr,Mr,$r)+tr[3]:_r+=Oe(vr,Mr,$r)+tr[4],_r=_r|0,_r=Fe(_r,ur[kt]),_r=_r+gr|0,Sr=gr,gr=$r,$r=Fe(Mr,10),Mr=vr,vr=_r;_r=Et[1]+yr+$r|0,Et[1]=Et[2]+Ir+gr|0,Et[2]=Et[3]+Nr+Sr|0,Et[3]=Et[4]+fr+vr|0,Et[4]=Et[0]+mr+Mr|0,Et[0]=_r},_doFinalize:function(){var Ve=this._data,Pt=Ve.words,kt=this._nDataBytes*8,Ue=Ve.sigBytes*8;Pt[Ue>>>5]|=128<<24-Ue%32,Pt[(Ue+64>>>9<<4)+14]=(kt<<8|kt>>>24)&16711935|(kt<<24|kt>>>8)&4278255360,Ve.sigBytes=(Pt.length+1)*4,this._process();for(var ze=this._hash,Et=ze.words,er=0;er<5;er++){var tr=Et[er];Et[er]=(tr<<8|tr>>>24)&16711935|(tr<<24|tr>>>8)&4278255360}return ze},clone:function(){var Ve=j.clone.call(this);return Ve._hash=this._hash.clone(),Ve}});function Oe(Ve,Pt,kt){return Ve^Pt^kt}function _e(Ve,Pt,kt){return Ve&Pt|~Ve&kt}function Ce(Ve,Pt,kt){return(Ve|~Pt)^kt}function pe(Ve,Pt,kt){return Ve&kt|Pt&~kt}function Ne(Ve,Pt,kt){return Ve^(Pt|~kt)}function Fe(Ve,Pt){return Ve<<Pt|Ve>>>32-Pt}k.RIPEMD160=j._createHelper(de),k.HmacRIPEMD160=j._createHmacHelper(de)}(),y.RIPEMD160})}(ripemd160)),ripemd160.exports}var hmac={exports:{}},hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,function(e,t){(function(y,n){e.exports=n(requireCore())})(commonjsGlobal,function(y){(function(){var n=y,k=n.lib,L=k.Base,$=n.enc,j=$.Utf8,V=n.algo;V.HMAC=L.extend({init:function(z,re){z=this._hasher=new z.init,typeof re=="string"&&(re=j.parse(re));var ie=z.blockSize,ae=ie*4;re.sigBytes>ae&&(re=z.finalize(re)),re.clamp();for(var oe=this._oKey=re.clone(),ue=this._iKey=re.clone(),de=oe.words,Oe=ue.words,_e=0;_e<ie;_e++)de[_e]^=1549556828,Oe[_e]^=909522486;oe.sigBytes=ue.sigBytes=ae,this.reset()},reset:function(){var z=this._hasher;z.reset(),z.update(this._iKey)},update:function(z){return this._hasher.update(z),this},finalize:function(z){var re=this._hasher,ie=re.finalize(z);re.reset();var ae=re.finalize(this._oKey.clone().concat(ie));return ae}})})()})}(hmac)),hmac.exports}var pbkdf2={exports:{}},hasRequiredPbkdf2;function requirePbkdf2(){return hasRequiredPbkdf2||(hasRequiredPbkdf2=1,function(e,t){(function(y,n,k){e.exports=n(requireCore(),requireSha256(),requireHmac())})(commonjsGlobal,function(y){return function(){var n=y,k=n.lib,L=k.Base,$=k.WordArray,j=n.algo,V=j.SHA2
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/return y.mode.CTRGladman=function(){var n=y.lib.BlockCipherMode.extend();function k(j){if((j>>24&255)===255){var V=j>>16&255,z=j>>8&255,re=j&255;V===255?(V=0,z===255?(z=0,re===255?re=0:++re):++z):++V,j=0,j+=V<<16,j+=z<<8,j+=re}else j+=1<<24;return j}function L(j){return(j[0]=k(j[0]))===0&&(j[1]=k(j[1])),j}var $=n.Encryptor=n.extend({processBlock:function(j,V){var z=this._cipher,re=z.blockSize,ie=this._iv,ae=this._counter;ie&&(ae=this._counter=ie.slice(0),this._iv=void 0),L(ae);var oe=ae.slice(0);z.encryptBlock(oe,0);for(var ue=0;ue<re;ue++)j[V+ue]^=oe[ue]}});return n.Decryptor=$,n}(),y.mode.CTRGladman})}(modeCtrGladman)),modeCtrGladman.exports}var modeOfb={exports:{}},hasRequiredModeOfb;function requireModeOfb(){return hasRequiredModeOfb||(hasRequiredModeOfb=1,function(e,t){(function(y,n,k){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.mode.OFB=function(){var n=y.lib.BlockCipherMode.extend(),k=n.Encryptor=n.extend({processBlock:function(L,$){var j=this._cipher,V=j.blockSize,z=this._iv,re=this._keystream;z&&(re=this._keystream=z.slice(0),this._iv=void 0),j.encryptBlock(re,0);for(var ie=0;ie<V;ie++)L[$+ie]^=re[ie]}});return n.Decryptor=k,n}(),y.mode.OFB})}(modeOfb)),modeOfb.exports}var modeEcb={exports:{}},hasRequiredModeEcb;function requireModeEcb(){return hasRequiredModeEcb||(hasRequiredModeEcb=1,function(e,t){(function(y,n,k){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.mode.ECB=function(){var n=y.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(k,L){this._cipher.encryptBlock(k,L)}}),n.Decryptor=n.extend({processBlock:function(k,L){this._cipher.decryptBlock(k,L)}}),n}(),y.mode.ECB})}(modeEcb)),modeEcb.exports}var padAnsix923={exports:{}},hasRequiredPadAnsix923;function requirePadAnsix923(){return hasRequiredPadAnsix923||(hasRequiredPadAnsix923=1,function(e,t){(function(y,n,k){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.pad.AnsiX923={pad:function(n,k){var L=n.sigBytes,$=k*4,j=$-L%$,V=L+j-1;n.clamp(),n.words[V>>>2]|=j<<24-V%4*8,n.sigBytes+=j},unpad:function(n){var k=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=k}},y.pad.Ansix923})}(padAnsix923)),padAnsix923.exports}var padIso10126={exports:{}},hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(e,t){(function(y,n,k){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.pad.Iso10126={pad:function(n,k){var L=k*4,$=L-n.sigBytes%L;n.concat(y.lib.WordArray.random($-1)).concat(y.lib.WordArray.create([$<<24],1))},unpad:function(n){var k=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=k}},y.pad.Iso10126})}(padIso10126)),padIso10126.exports}var padIso97971={exports:{}},hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(e,t){(function(y,n,k){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.pad.Iso97971={pad:function(n,k){n.concat(y.lib.WordArray.create([2147483648],1)),y.pad.ZeroPadding.pad(n,k)},unpad:function(n){y.pad.ZeroPadding.unpad(n),n.sigBytes--}},y.pad.Iso97971})}(padIso97971)),padIso97971.exports}var padZeropadding={exports:{}},hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(e,t){(function(y,n,k){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.pad.ZeroPadding={pad:function(n,k){var L=k*4;n.clamp(),n.sigBytes+=L-(n.sigBytes%L||L)},unpad:function(n){for(var k=n.words,L=n.sigBytes-1,L=n.sigBytes-1;L>=0;L--)if(k[L>>>2]>>>24-L%4*8&255){n.sigBytes=L+1;break}}},y.pad.ZeroPadding})}(padZeropadding)),padZeropadding.exports}var padNopadding={exports:{}},hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(e,t){(function(y,n,k){e.exports=n(requireCore(),requireCipherCore())})(commonjsGlobal,function(y){return y.pad.NoPadding={pad:function(){},unpad:functi
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>`.concat(Ce,`</TargetBucket>
`),pe&&(Ve+="<TargetPrefix>".concat(pe,`</TargetPrefix>
`)),Ve+=`</LoggingEnabled>
</BucketLoggingStatus>`,Fe.content=Ve,Fe.mime="xml",Fe.successStatuses=[200],Ue.next=9,this.request(Fe);case 9:return Pt=Ue.sent,Ue.abrupt("return",{res:Pt.res});case 11:case"end":return Ue.stop()}},_e,this)}));function Oe(_e,Ce,pe){return de.apply(this,arguments)}return Oe}(),ae.getBucketLogging=function(){var de=(0,V.default)(j.default.mark(function _e(Ce,pe){var Ne,Fe,Ve;return j.default.wrap(function(kt){for(;;)switch(kt.prev=kt.next){case 0:return Ne=this._bucketRequestParams("GET",Ce,"logging",pe),Ne.successStatuses=[200],Ne.xmlResponse=!0,kt.next=5,this.request(Ne);case 5:return Fe=kt.sent,Ve=Fe.data.LoggingEnabled,kt.abrupt("return",{enable:!!Ve,prefix:Ve&&Ve.TargetPrefix||null,res:Fe.res});case 8:case"end":return kt.stop()}},_e,this)}));function Oe(_e,Ce){return de.apply(this,arguments)}return Oe}(),ae.deleteBucketLogging=function(){var de=(0,V.default)(j.default.mark(function _e(Ce,pe){var Ne,Fe;return j.default.wrap(function(Pt){for(;;)switch(Pt.prev=Pt.next){case 0:return Ne=this._bucketRequestParams("DELETE",Ce,"logging",pe),Ne.successStatuses=[204,200],Pt.next=4,this.request(Ne);case 4:return Fe=Pt.sent,Pt.abrupt("return",{res:Fe.res});case 6:case"end":return Pt.stop()}},_e,this)}));function Oe(_e,Ce){return de.apply(this,arguments)}return Oe}(),ae.putBucketCORS=function(){var de=(0,V.default)(j.default.mark(function _e(Ce,pe,Ne){var Fe,Ve,Pt,kt,Ue,ze,Et,er,tr,ir;return j.default.wrap(function(lr){for(;;)switch(lr.prev=lr.next){case 0:for(pe=pe||[],z(pe.length,"rules is required"),pe.forEach(function(ur){z(ur.allowedOrigin,"allowedOrigin is required"),z(ur.allowedMethod,"allowedMethod is required")}),Fe=this._bucketRequestParams("PUT",Ce,"cors",Ne),Ve=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,Pt=function(fr){Ve+="<AllowedOrigin>".concat(fr,"</AllowedOrigin>")},kt=function(fr){Ve+="<AllowedMethod>".concat(fr,"</AllowedMethod>")},Ue=function(fr){Ve+="<AllowedHeader>".concat(fr,"</AllowedHeader>")},ze=function(fr){Ve+="<ExposeHeader>".concat(fr,"</ExposeHeader>")},Et=0,er=pe.length;Et<er;Et++)tr=pe[Et],Ve+="<CORSRule>",ue(tr.allowedOrigin).forEach(Pt),ue(tr.allowedMethod).forEach(kt),ue(tr.allowedHeader).forEach(Ue),ue(tr.exposeHeader).forEach(ze),tr.maxAgeSeconds&&(Ve+="<MaxAgeSeconds>".concat(tr.maxAgeSeconds,"</MaxAgeSeconds>")),Ve+="</CORSRule>";return Ve+="</CORSConfiguration>",Fe.content=Ve,Fe.mime="xml",Fe.successStatuses=[200],lr.next=16,this.request(Fe);case 16:return ir=lr.sent,lr.abrupt("return",{res:ir.res});case 18:case"end":return lr.stop()}},_e,this)}));function Oe(_e,Ce,pe){return de.apply(this,arguments)}return Oe}(),ae.getBucketCORS=function(){var de=(0,V.default)(j.default.mark(function _e(Ce,pe){var Ne,Fe,Ve,Pt;return j.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:return Ne=this._bucketRequestParams("GET",Ce,"cors",pe),Ne.successStatuses=[200],Ne.xmlResponse=!0,Ue.next=5,this.request(Ne);case 5:return Fe=Ue.sent,Ve=[],Fe.data&&Fe.data.CORSRule&&(Pt=Fe.data.CORSRule,oe(Pt)||(Pt=[Pt]),Pt.forEach(function(ze){var Et={};Object.keys(ze).forEach(function(er){Et[er.slice(0,1).toLowerCase()+er.slice(1,er.length)]=ze[er]}),Ve.push(Et)})),Ue.abrupt("return",{rules:Ve,res:Fe.res});case 9:case"end":return Ue.stop()}},_e,this)}));function Oe(_e,Ce){return de.apply(this,arguments)}return Oe}(),ae.deleteBucketCORS=function(){var de=(0,V.default)(j.default.mark(function _e(Ce,pe){var Ne,Fe;return j.default.wrap(function(Pt){for(;;)switch(Pt.prev=Pt.next){case 0:return Ne=this._bucketRequestParams("DELETE",Ce,"cors",pe),Ne.successStatuses=[204],Pt.next=4,this.request(Ne);case 4:return Fe=Pt.sent,Pt.abrupt("return",{res:Fe.res});case 6:case"end":return Pt.stop()}},_e,this)}));function Oe(_e,Ce){return de.apply(this,arguments)}return Oe}(),ae.putBucketReferer=function(){var de=(0,V.default)(j.default.mark(function _e(Ce,pe,Ne,Fe){var Ve,Pt,kt,Ue;return j.default.wrap(function(Et){for(;;)switch(Et.prev=Et.next){case 0:if(Ve=this._bucketRequestParams("PUT",Ce,"referer",Fe),Pt=`<?xml version="1.0" encoding="UTF-8"?>
<RefererConfiguration>
`,Pt+=" <AllowEmptyReferer>".concat(pe?"true":"false",`</AllowEmptyReferer>
`),Ne&&Ne.length>0){for(Pt+=` <RefererList>
`,kt=0;kt<Ne.length;kt++)Pt+=" <Referer>".concat(Ne[kt],`</Referer>
`);Pt+=` </RefererList>
`}else Pt+=` <RefererList />
`;return Pt+="</RefererConfiguration>",Ve.content=Pt,Ve.mime="xml",Ve.successStatuses=[200],Et.next=10,this.request(Ve);case 10:return Ue=Et.sent,Et.abrupt("return",{res:Ue.res});case 12:case"end":return Et.stop()}},_e,this)}));function Oe(_e,Ce,pe,Ne){return de.apply(this,arguments)}return Oe}(),ae.getBucketReferer=function(){var de=(0,V.default)(j.default.mark(function _e(Ce,pe){var Ne,Fe,Ve;return j.default.wrap(function(kt){for(;;)switch(kt.prev=kt.next){case 0:return Ne=this._bucketRequestParams("GET",Ce,"referer",pe),Ne.successStatuses=[200],Ne.xmlResponse=!0,kt.next=5,this.request(Ne);case 5:return Fe=kt.sent,Ve=Fe.data.RefererList.Referer||null,Ve&&(oe(Ve)||(Ve=[Ve])),kt.abrupt("return",{allowEmpty:Fe.data.AllowEmptyReferer==="true",referers:Ve,res:Fe.res});case 9:case"end":return kt.stop()}},_e,this)}));function Oe(_e,Ce){return de.apply(this,arguments)}return Oe}(),ae.deleteBucketReferer=function(){var de=(0,V.default)(j.default.mark(function _e(Ce,pe){return j.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return Fe.next=2,this.putBucketReferer(Ce,!0,null,pe);case 2:return Fe.abrupt("return",Fe.sent);case 3:case"end":return Fe.stop()}},_e,this)}));function Oe(_e,Ce){return de.apply(this,arguments)}return Oe}(),ae._bucketRequestParams=function(Oe,_e,Ce,pe){return{method:Oe,bucket:_e,subres:Ce,additionalHeaders:pe&&pe.additionalHeaders,timeout:pe&&pe.timeout,ctx:pe&&pe.ctx}}},{"../common/utils/checkBucketName":52,"@babel/runtime/helpers/asyncToGenerator":82,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/regenerator":93,assert:95,"core-js/modules/es.array.slice.js":319,"core-js/modules/es.object.keys.js":330,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/web.dom-collections.for-each.js":382}],3:[function(n,k,L){(function($,j){(function(){var V=n("@babel/runtime/helpers/interopRequireDefault"),z=V(n("@babel/runtime/regenerator")),re=V(n("@babel/runtime/helpers/asyncToGenerator"));n("core-js/modules/es.function.name.js"),n("core-js/modules/es.object.assign.js"),n("core-js/modules/es.array.includes.js"),n("core-js/modules/es.regexp.exec.js"),n("core-js/modules/es.string.replace.js"),n("core-js/modules/es.array.concat.js"),n("core-js/modules/es.symbol.js"),n("core-js/modules/es.symbol.description.js"),n("core-js/modules/es.array.slice.js"),n("core-js/modules/es.object.to-string.js"),n("core-js/modules/es.promise.js"),n("core-js/modules/es.regexp.to-string.js");var ie=n("debug")("ali-oss"),ae=n("xml2js"),oe=n("agentkeepalive"),ue=n("merge-descriptors"),de=n("platform"),Oe=n("utility"),_e=n("urllib"),Ce=n("./version"),pe=n("bowser"),Ne=n("../common/signUtils"),Fe=n("../common/client/initOptions"),Ve=n("../common/utils/createRequest"),Pt=Ve.createRequest,kt=n("../common/utils/encoder"),Ue=kt.encoder,ze=n("../common/client/getReqUrl"),Et=ze.getReqUrl,er=n("../common/utils/setSTSToken"),tr=er.setSTSToken,ir=n("../common/utils/retry"),rr=ir.retry,lr=n("../common/utils/isFunction"),ur=lr.isFunction,fr=n("../common/utils/getStandardRegion"),mr=fr.getStandardRegion,yr=new oe;function Ir(){var gr=de.name,_r=de.version;gr&&gr.toLowerCase&&gr.toLowerCase()==="ie"&&_r.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Nr(){return location&&location.protocol==="https:"}function Sr(gr,_r){if(Ir(),!(this instanceof Sr))return new Sr(gr,_r);gr&&gr.inited?this.options=gr:this.options=Sr.initOptions(gr),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=_e,this.agent=this.options.agent||yr),this.ctx=_r,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}k.exports=Sr,Sr.initOptions=function(_r){_r.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var Fr=Object.assign({secure:Nr(),useFetch:!1},_r);return Fe(Fr)};var vr=Sr.prototype;vr.debug=ie,ue(vr,n("./object")),ue(vr,n("./bucket")),ue(vr,n("../common/bucket/getBucketWebsite")),ue(vr,n("..
raw xml: `.concat(Kr),Fi.t1.status=zr.status,Fi.t1.requestId=zr.headers["x-oss-request-id"],Fi.abrupt("return",Fi.t1);case 16:qr=Ar.Message||"unknow request error, status: ".concat(zr.status),Ar.Condition&&(qr+=" (condition: ".concat(Ar.Condition,")")),Gr=new Error(qr),Gr.name=Ar.Code?"".concat(Ar.Code,"Error"):"UnknownError",Gr.status=zr.status,Gr.code=Ar.Code,Gr.ecCode=Ar.EC,Gr.requestId=Ar.RequestId,Gr.hostId=Ar.HostId,Gr.serverTime=Ar.ServerTime;case 26:case"end":return Fi.stop()}},Wr,null,[[0,9]])}));return function(Kr){return kr.apply(this,arguments)}}(),!(!zr.data||!zr.data.length)){Rr.next=37;break}if(!(zr.status===-1||zr.status===-2)){Rr.next=10;break}Gr=new Error(zr.message),Gr.name=zr.name,Gr.status=zr.status,Gr.code=zr.name,Rr.next=35;break;case 10:if(zr.status!==404){Rr.next=17;break}Gr=new Error("Object not exists"),Gr.name="NoSuchKeyError",Gr.status=404,Gr.code="NoSuchKey",Rr.next=33;break;case 17:if(zr.status!==412){Rr.next=24;break}Gr=new Error("Pre condition failed"),Gr.name="PreconditionFailedError",Gr.status=412,Gr.code="PreconditionFailed",Rr.next=33;break;case 24:if(Gr=new Error("Unknow error, status: ".concat(zr.status)),Gr.name="UnknownError",Gr.status=zr.status,Gr.res=zr,xr=zr.headers["x-oss-err"],!xr){Rr.next=33;break}return Br=atob(xr),Rr.next=33,Cr(Br);case 33:Gr.requestId=zr.headers["x-oss-request-id"],Gr.host="";case 35:Rr.next=41;break;case 37:return Er=String(zr.data),this.debug("request response error data: %s",Er,"error"),Rr.next=41,Cr(Er);case 41:return this.debug("generate error %j",Gr,"error"),Rr.abrupt("return",Gr);case 43:case"end":return Rr.stop()}},Fr,this)}));function _r(Fr){return gr.apply(this,arguments)}return _r}()}).call(this)}).call(this,{isBuffer:n("../../node_modules/is-buffer/index.js")},n("_process"))},{"../../node_modules/is-buffer/index.js":411,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":50,"../common/signUtils":51,"../common/utils/createRequest":57,"../common/utils/encoder":61,"../common/utils/getStandardRegion":64,"../common/utils/isFunction":71,"../common/utils/retry":77,"../common/utils/setSTSToken":79,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":82,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/regenerator":93,_process:540,agentkeepalive:94,bowser:101,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.includes.js":315,"core-js/modules/es.array.slice.js":319,"core-js/modules/es.function.name.js":322,"core-js/modules/es.object.assign.js":325,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.promise.js":335,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.string.replace.js":347,"core-js/modules/es.symbol.description.js":353,"core-js/modules/es.symbol.js":356,debug:538,"merge-descriptors":430,platform:442,urllib:548,utility:547,xml2js:498}],4:[function(n,k,L){(function($){(function(){var j=n("@babel/runtime/helpers/interopRequireDefault"),V=j(n("@babel/runtime/regenerator"));n("core-js/modules/es.function.name.js"),n("core-js/modules/es.object.to-string.js"),n("core-js/modules/es.promise.js"),n("core-js/modules/es.array.from.js"),n("core-js/modules/es.string.iterator.js"),n("core-js/modules/es.array.map.js"),n("core-js/modules/es.ar
<CompleteMultipartUpload>
`,er=0;er<ze.length;er++)tr=ze[er],Et+=`<Part>
`,Et+="<PartNumber>".concat(tr.number,`</PartNumber>
`),Et+="<ETag>".concat(tr.etag,`</ETag>
`),Et+=`</Part>
`;return Et+="</CompleteMultipartUpload>",Ue=Ue||{},ir={},ir=oe(Ue,function(yr){if(de(yr))return null}),ir.subres={uploadId:Pt},ir.headers=_e(ir.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),rr=this._objectRequestParams("POST",Ve,ir),ie.encodeCallback(rr,ir),rr.mime="xml",rr.content=Et,rr.headers&&rr.headers["x-oss-callback"]||(rr.xmlResponse=!0),rr.successStatuses=[200],mr.next=17,this.request(rr);case 17:if(lr=mr.sent,!Ue.progress){mr.next=21;break}return mr.next=21,Ue.progress(1,null,lr.res);case 21:return ur={res:lr.res,bucket:rr.bucket,name:Ve,etag:lr.res.headers.etag},rr.headers&&rr.headers["x-oss-callback"]&&(ur.data=JSON.parse(lr.data.toString())),mr.abrupt("return",ur);case 24:case"end":return mr.stop()}},Fe,this)}));function Ne(Fe,Ve,Pt,kt){return pe.apply(this,arguments)}return Ne}(),Ce._uploadPart=function(){var pe=(0,z.default)(V.default.mark(function Fe(Ve,Pt,kt,Ue,ze){var Et,er,tr,ir;return V.default.wrap(function(lr){for(;;)switch(lr.prev=lr.next){case 0:return ze=ze||{},Et={},re(ze).to(Et),Et.headers=Et.headers||{},Et.headers["Content-Length"]=Ue.size,Et.headers=_e(Et.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Et.subres={partNumber:kt,uploadId:Pt},er=this._objectRequestParams("PUT",Ve,Et),er.mime=Et.mime,tr=$&&$.browser,tr?er.content=Ue.content:er.stream=Ue.stream,er.successStatuses=[200],er.disabledMD5=ze.disabledMD5,lr.next=15,this.request(er);case 15:if(ir=lr.sent,ir.res.headers.etag){lr.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS
https://help.aliyun.com/document_detail/32069.html`);case 18:return Ue.stream&&(Ue.stream=null,er.stream=null),lr.abrupt("return",{name:Ve,etag:ir.res.headers.etag,res:ir.res});case 20:case"end":return lr.stop()}},Fe,this)}));function Ne(Fe,Ve,Pt,kt,Ue){return pe.apply(this,arguments)}return Ne}()}).call(this)}).call(this,n("_process"))},{"./callback":24,"./utils/deepCopy":59,"./utils/isBuffer":68,"./utils/omit":76,"@babel/runtime/helpers/asyncToGenerator":82,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/regenerator":93,_process:540,"copy-to":107,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.filter.js":312,"core-js/modules/es.array.map.js":318,"core-js/modules/es.array.sort.js":320,"core-js/modules/es.object.keys.js":330,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.to-string.js":341}],31:[function(n,k,L){var $=n("@babel/runtime/helpers/interopRequireDefault"),j=$(n("@babel/runtime/regenerator"));n("core-js/modules/es.regexp.exec.js");var V=$(n("@babel/runtime/helpers/asyncToGenerator")),z=n("url"),re=n("utility"),ie=n("copy-to"),ae=n("../../common/signUtils"),oe=n("../utils/isIP"),ue=oe.isIP,de=n("../utils/setSTSToken"),Oe=de.setSTSToken,_e=n("../utils/isFunction"),Ce=_e.isFunction,pe=L;pe.asyncSignatureUrl=function(){var Ne=(0,V.default)(j.default.mark(function Ve(Pt,kt){var Ue,ze,Et,er,tr,ir,rr=arguments;return j.default.wrap(function(ur){for(;;)switch(ur.prev=ur.next){case 0:if(Ue=rr.length>2&&rr[2]!==void 0?rr[2]:!0,!ue(this.options.endpoint.hostname)){ur.next=3;break}throw new Error("can not get the object URL when endpoint is IP");case 3:if(!(Ue&&/^\?/.test(Pt))){ur.next=5;break}throw new Error("Invalid object name ".concat(Pt));case 5:if(kt=kt||{},Pt=this._objectName(Pt),kt.method=kt.method||"GET",ze=re.timestamp()+(kt.expires||1800),Et={bucket:this.options.bucket,object:Pt},er=this._getResource(Et),!(this.options.stsToken&&Ce(this.options.refreshSTSToken))){ur.next=14;break}return ur.next=14,Oe.call(this);case 14:return this.options.stsToken&&(kt["security-token"]=this.options.stsToken),tr=ae._signatureForURL(this.options.accessKeySecret,kt,er,ze),ir=z.parse(this._getReqUrl(Et)),ir.query={OSSAccessKeyId:this.options.accessKeyId,Expires:ze,Signature:tr.Signature},ie(tr.subResource).to(ir.query),ur.abrupt("return",ir.format());case 20:case"end":return ur.stop()}},Ve,this)}));function Fe(Ve,Pt){return Ne.apply(this,arguments)}return Fe}()},{"../../common/signUtils":51,"../utils/isFunction":71,"../utils/isIP":72,"../utils/setSTSToken":79,"@babel/runtime/helpers/asyncToGenerator":82,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/regenerator":93,"copy-to":107,"core-js/modules/es.regexp.exec.js":340,url:545,utility:547}],32:[function(n,k,L){var $=n("@babel/runtime/helpers/interopRequireDefault"),j=$(n("@babel/runtime/regenerator"));n("core-js/modules/es.object.to-string.js"),n("core-js/modules/web.dom-collections.for-each.js"),n("core-js/modules/es.object.keys.js"),n("core-js/modules/es.array.find.js"),n("core-js/modules/es.array.includes.js"),n("core-js/modules/es.array.concat.js"),n("core-js/modules/es.regexp.exec.js"),n("core-js/modules/es.string.replace.js");var V=$(n("@babel/runtime/helpers/typeof")),z=$(n("@babel/runtime/helpers/asyncToGenerator")),re=n("../utils/checkBucketName"),ie=re.checkBucketName,ae=L,oe=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];ae.copy=function(){var ue=(0,z.default)(j.default.mark(function Oe(_e,Ce,pe,Ne){var Fe,Ve,Pt;return j.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:return(0,V.default)(pe)==="object"&&(Ne=pe),Ne=Ne||{},Ne.headers=Ne.headers||{},Object.keys(Ne.headers).forEach(function(ze){Ne.headers["x-oss-copy-source-".concat(ze.toLowerCase())]=Ne.headers[ze]}),(Ne.meta||Object.keys(Ne.headers).find(function(ze){return oe.includes(ze.toLowerCase())}))&&(Ne.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(Ne.meta,Ne.headers),Ce=this._getSourceName(Ce,pe),Ne.versionId&&(Ce="".concat(Ce,"?version
`)},L.computeSignature=function(_e,Ce){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",Ne=z.createHmac("sha1",_e);return Ne.update($.from(Ce,pe)).digest("base64")},L.authorization=function(_e,Ce,pe,Ne){return"OSS ".concat(_e,":").concat(this.computeSignature(Ce,pe,Ne))},L.fixAdditionalHeaders=function(Oe){if(!Oe)return[];var _e="x-oss-";return(0,V.default)(new Set(Oe.map(function(Ce){return Ce.toLowerCase()}))).filter(function(Ce){return Ce!=="content-type"&&Ce!=="content-md5"&&!Ce.startsWith(_e)}).sort()},L.getCanonicalRequest=function(_e,Ce,pe,Ne,Fe){var Ve=oe(Ce.headers),Pt=Ce.queries||{},kt="x-oss-";if(Ne&&!pe)throw Error("Please ensure that bucketName is passed into getCanonicalRequest.");var Ue=[_e.toUpperCase(),de("/".concat(pe?"".concat(pe,"/"):"").concat(Ne||"")).replace(/%2F/g,"/")];Ue.push(ie.stringify(Pt,{encoder:de,sort:function(tr,ir){return tr.localeCompare(ir)},strictNullHandling:!0})),Fe&&Fe.forEach(function(er){if(!Object.prototype.hasOwnProperty.call(Ve,er))throw Error("Can't find additional header ".concat(er," in request headers."))});var ze=new Set(Fe);Object.keys(Ve).forEach(function(er){(er==="content-type"||er==="content-md5"||er.startsWith(kt))&&ze.add(er)});var Et="".concat((0,V.default)(ze).sort().map(function(er){return"".concat(er,":").concat(re.string(Ve[er])?Ve[er].trim():Ve[er],`
`)}).join(""));return Ue.push(Et),Fe.length>0?Ue.push(Fe.join(";")):Ue.push(""),Ue.push(Ve["x-oss-content-sha256"]||"UNSIGNED-PAYLOAD"),Ue.join(`
`)},L.getStringToSign=function(_e,Ce,pe){var Ne=["OSS4-HMAC-SHA256",Ce,"".concat(Ce.split("T")[0],"/").concat(_e,"/oss/aliyun_v4_request"),z.createHash("sha256").update(pe).digest("hex")];return Ne.join(`
`)},L.getSignatureV4=function(_e,Ce,pe,Ne){var Fe=z.createHmac("sha256","aliyun_v4".concat(_e)).update(Ce).digest(),Ve=z.createHmac("sha256",Fe).update(pe).digest(),Pt=z.createHmac("sha256",Ve).update("oss").digest(),kt=z.createHmac("sha256",Pt).update("aliyun_v4_request").digest(),Ue=z.createHmac("sha256",kt).update(Ne).digest("hex");return Ue},L.authorizationV4=function(_e,Ce,pe,Ne,Fe,Ve,Pt,kt){var Ue=arguments.length>8&&arguments[8]!==void 0?arguments[8]:"utf-8",ze=this.fixAdditionalHeaders(kt),Et={};Object.entries(Fe.headers).forEach(function(fr){Et[fr[0]]=re.string(fr[1])?$.from(fr[1],Ue).toString():fr[1]});var er=Et["x-oss-date"]||Fe.queries&&Fe.queries["x-oss-date"],tr=this.getCanonicalRequest(Ne,{headers:Et,queries:Fe.queries},Ve,Pt,ze),ir=this.getStringToSign(pe,er,tr),rr=er.split("T")[0],lr=this.getSignatureV4(Ce,rr,pe,ir),ur=ze.length>0?"AdditionalHeaders=".concat(ze.join(";"),","):"";return"OSS4-HMAC-SHA256 Credential=".concat(_e,"/").concat(rr,"/").concat(pe,"/oss/aliyun_v4_request,").concat(ur,"Signature=").concat(lr)},L._signatureForURL=function(_e){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=arguments.length>2?arguments[2]:void 0,Ne=arguments.length>3?arguments[3]:void 0,Fe=arguments.length>4?arguments[4]:void 0,Ve={},Pt=Ce.subResource,kt=Pt===void 0?{}:Pt;if(Ce.process){var Ue="x-oss-process";kt[Ue]=Ce.process}if(Ce.trafficLimit){var ze="x-oss-traffic-limit";kt[ze]=Ce.trafficLimit}if(Ce.response&&Object.keys(Ce.response).forEach(function(ir){var rr="response-".concat(ir.toLowerCase());kt[rr]=Ce.response[ir]}),Object.keys(Ce).forEach(function(ir){var rr=ir.toLowerCase(),lr=Ce[ir];rr.indexOf("x-oss-")===0?Ve[rr]=lr:(rr.indexOf("content-md5")===0||rr.indexOf("content-type")===0)&&(Ve[ir]=lr)}),Object.prototype.hasOwnProperty.call(Ce,"security-token")&&(kt["security-token"]=Ce["security-token"]),Object.prototype.hasOwnProperty.call(Ce,"callback")){var Et={callbackUrl:encodeURI(Ce.callback.url),callbackBody:Ce.callback.body};if(Ce.callback.host&&(Et.callbackHost=Ce.callback.host),Ce.callback.contentType&&(Et.callbackBodyType=Ce.callback.contentType),Ce.callback.callbackSNI&&(Et.callbackSNI=Ce.callback.callbackSNI),kt.callback=$.from(JSON.stringify(Et)).toString("base64"),Ce.callback.customValue){var er={};Object.keys(Ce.callback.customValue).forEach(function(ir){er["x:".concat(ir)]=Ce.callback.customValue[ir]}),kt["callback-var"]=$.from(JSON.stringify(er)).toString("base64")}}var tr=this.buildCanonicalString(Ce.method,pe,{headers:Ve,parameters:kt},Ne.toString());return{Signature:this.computeSignature(_e,tr,Fe),subResource:kt}}}).call(this)}).call(this,n("buffer").Buffer)},{"./../../shims/crypto/crypto.js":533,"./utils/encodeString":60,"./utils/lowercaseKeyHeader":74,"@babel/runtime/helpers/interopRequireDefault":84,"@babel/runtime/helpers/toConsumableArray":88,buffer:103,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.filter.js":312,"core-js/modules/es.array.iterator.js":316,"core-js/modules/es.array.join.js":317,"core-js/modules/es.array.map.js":318,"core-js/modules/es.array.sort.js":320,"core-js/modules/es.object.entries.js":326,"core-js/modules/es.object.keys.js":330,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.set.js":343,"core-js/modules/es.string.iterator.js":345,"core-js/modules/es.string.replace.js":347,"core-js/modules/es.string.starts-with.js":350,"core-js/modules/es.string.trim.js":351,"core-js/modules/web.dom-collections.for-each.js":382,"core-js/modules/web.dom-collections.iterator.js":383,"is-type-of":539,qs:447}],52:[function(n,k,L){n("core-js/modules/es.regexp.exec.js"),Object.defineProperty(L,"__esModule",{value:!0}),L.checkBucketName=void 0,L.checkBucketName=function($){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,V=j?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!V.test($))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":340}],53:[functi
`),re&&re.firstUpperCase&&(z=$.formatObjKey(z,"firstUpperCase")),j(z)==="object"?Object.keys(z).forEach(function(ae){j(z[ae])!=="undefined"&&j(z[ae])!=="null"&&(j(z[ae])==="string"||j(z[ae])==="number"?ie+="<".concat(ae,">").concat(z[ae],"</").concat(ae,">"):j(z[ae])==="object"?ie+="<".concat(ae,">").concat(V(z[ae]),"</").concat(ae,">"):j(z[ae])==="array"?ie+=z[ae].map(function(oe){return"<".concat(ae,">").concat(V(oe),"</").concat(ae,">")}).join(""):ie+="<".concat(ae,">").concat(z[ae].toString(),"</").concat(ae,">"))}):ie+=z.toString(),ie}L.obj2xml=V},{"./formatObjKey":63,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.join.js":317,"core-js/modules/es.array.map.js":318,"core-js/modules/es.object.keys.js":330,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.string.replace.js":347,"core-js/modules/web.dom-collections.for-each.js":382}],76:[function(n,k,L){n("core-js/modules/es.array.slice.js"),n("core-js/modules/es.object.to-string.js"),n("core-js/modules/es.regexp.to-string.js"),n("core-js/modules/es.function.name.js"),n("core-js/modules/es.array.from.js"),n("core-js/modules/es.string.iterator.js"),n("core-js/modules/es.regexp.exec.js"),n("core-js/modules/es.symbol.js"),n("core-js/modules/es.symbol.description.js"),n("core-js/modules/es.symbol.iterator.js"),n("core-js/modules/es.array.iterator.js"),n("core-js/modules/web.dom-collections.iterator.js"),n("core-js/modules/es.object.assign.js");function $(re,ie){var ae=typeof Symbol<"u"&&re[Symbol.iterator]||re["@@iterator"];if(!ae){if(Array.isArray(re)||(ae=j(re))||ie){ae&&(re=ae);var oe=0,ue=function(){};return{s:ue,n:function(){return oe>=re.length?{done:!0}:{done:!1,value:re[oe++]}},e:function(pe){throw pe},f:ue}}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 de=!0,Oe=!1,_e;return{s:function(){ae=ae.call(re)},n:function(){var pe=ae.next();return de=pe.done,pe},e:function(pe){Oe=!0,_e=pe},f:function(){try{!de&&ae.return!=null&&ae.return()}finally{if(Oe)throw _e}}}}function j(re,ie){if(re){if(typeof re=="string")return V(re,ie);var ae=Object.prototype.toString.call(re).slice(8,-1);if(ae==="Object"&&re.constructor&&(ae=re.constructor.name),ae==="Map"||ae==="Set")return Array.from(re);if(ae==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ae))return V(re,ie)}}function V(re,ie){(ie==null||ie>re.length)&&(ie=re.length);for(var ae=0,oe=new Array(ie);ae<ie;ae++)oe[ae]=re[ae];return oe}Object.defineProperty(L,"__esModule",{value:!0}),L.omit=void 0;function z(re,ie){var ae=Object.assign({},re),oe=$(ie),ue;try{for(oe.s();!(ue=oe.n()).done;){var de=ue.value;delete ae[de]}}catch(Oe){oe.e(Oe)}finally{oe.f()}return ae}L.omit=z},{"core-js/modules/es.array.from.js":314,"core-js/modules/es.array.iterator.js":316,"core-js/modules/es.array.slice.js":319,"core-js/modules/es.function.name.js":322,"core-js/modules/es.object.assign.js":325,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.string.iterator.js":345,"core-js/modules/es.symbol.description.js":353,"core-js/modules/es.symbol.iterator.js":355,"core-js/modules/es.symbol.js":356,"core-js/modules/web.dom-collections.iterator.js":383}],77:[function(n,k,L){n("core-js/modules/es.object.to-string.js"),n("core-js/modules/es.promise.js"),Object.defineProperty(L,"__esModule",{value:!0}),L.retry=void 0;function $(j,V){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},re=0,ie=z.retryDelay,ae=ie===void 0?500:ie,oe=z.errorHandler,ue=oe===void 0?function(){return!0}:oe,de=function Oe(){for(var _e=arguments.length,Ce=new Array(_e),pe=0;pe<_e;pe++)Ce[pe]=arguments[pe];return new Promise(function(Ne,Fe){j.apply(void 0,Ce).then(function(Ve){re=0,Ne(Ve)}).catch(function(Ve){re<V&&ue(Ve)?(re++,setTimeout(function(){Ne(Oe.apply(void 0,Ce))},ae)):(re=0,Fe(Ve))})})};return de}L.retry=$},{"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.promise.js":335}],78:[function(n,k,L){var $=function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(L,"__esModule",{value:!0}),L.setRegion=void 0;var j=$(n("url")),V=n("./checkConfigValid");function z(re){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;V.checkConfigValid(re,"region");var oe=ae?"https://":"http://",ue=ie?"-internal.aliyuncs.com":".aliyuncs.com",de="vpc100-oss-cn-";return re.substr(0,de.length)===de&&(ue=".aliyuncs.com"),j.default.parse(oe+re+ue)}L.setRegion=z},{"./checkConfigValid":53,url:545}],79:[function(n,k,L){var $=n("@babel/runtime/helpers/interopRequireDefault"),j=$(n("@babel/runtime/regenerator"));n("core-js/modules/es.object.keys.js"),n("core-js/modules/es.object.to-string.js"),n("core-js/modules/es.array.find.js"),n("core-js/modules/es.object.assign.js");var V=$(n("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(L,"__esModule",{value:!0}),L.checkCredentials=L.setSTSToken=void 0;var z=n("./formatObjKey");function re(){return ie.apply(this,arguments)}function ie(){return ie=(0,V.default)(j.default.mark(function oe(){var ue,de;return j.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(this.options||(this.options={}),ue=new Date,!this.stsTokenFreshTime){_e.next=14;break}if(!(+ue-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){_e.next=12;break}return this.stsTokenFreshTime=ue,_e.next=7,this.options.refreshSTSToken();case 7:de=_e.sent,de=z.formatObjKey(de,"firstLowerCase"),de.securityToken&&(de.stsToken=de.securityToken),ae(de),Object.assign(this.options,de);case 12:_e.next=15;break;case 14:this.stsTokenFreshTime=ue;case 15:return _e.abrupt("return",null);case 16:case"end":return _e.stop()}},oe,this)})),ie.apply(this,arguments)}L.setSTSTo
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}k.exports=$,k.exports.__esModule=!0,k.exports.default=k.exports},{}],87:[function(n,k,L){var $=n("./typeof.js").default;function j(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */k.exports=j=function(){return z},k.exports.__esModule=!0,k.exports.default=k.exports;var V,z={},re=Object.prototype,ie=re.hasOwnProperty,ae=Object.defineProperty||function(vr,Mr,$r){vr[Mr]=$r.value},oe=typeof Symbol=="function"?Symbol:{},ue=oe.iterator||"@@iterator",de=oe.asyncIterator||"@@asyncIterator",Oe=oe.toStringTag||"@@toStringTag";function _e(vr,Mr,$r){return Object.defineProperty(vr,Mr,{value:$r,enumerable:!0,configurable:!0,writable:!0}),vr[Mr]}try{_e({},"")}catch{_e=function($r,gr,_r){return $r[gr]=_r}}function Ce(vr,Mr,$r,gr){var _r=Mr&&Mr.prototype instanceof Ue?Mr:Ue,Fr=Object.create(_r.prototype),zr=new Nr(gr||[]);return ae(Fr,"_invoke",{value:fr(vr,$r,zr)}),Fr}function pe(vr,Mr,$r){try{return{type:"normal",arg:vr.call(Mr,$r)}}catch(gr){return{type:"throw",arg:gr}}}z.wrap=Ce;var Ne="suspendedStart",Fe="suspendedYield",Ve="executing",Pt="completed",kt={};function Ue(){}function ze(){}function Et(){}var er={};_e(er,ue,function(){return this});var tr=Object.getPrototypeOf,ir=tr&&tr(tr(Sr([])));ir&&ir!==re&&ie.call(ir,ue)&&(er=ir);var rr=Et.prototype=Ue.prototype=Object.create(er);function lr(vr){["next","throw","return"].forEach(function(Mr){_e(vr,Mr,function($r){return this._invoke(Mr,$r)})})}function ur(vr,Mr){function $r(_r,Fr,zr,Vr){var Gr=pe(vr[_r],vr,Fr);if(Gr.type!=="throw"){var Cr=Gr.arg,xr=Cr.value;return xr&&$(xr)=="object"&&ie.call(xr,"__await")?Mr.resolve(xr.__await).then(function(Br){$r("next",Br,zr,Vr)},function(Br){$r("throw",Br,zr,Vr)}):Mr.resolve(xr).then(function(Br){Cr.value=Br,zr(Cr)},function(Br){return $r("throw",Br,zr,Vr)})}Vr(Gr.arg)}var gr;ae(this,"_invoke",{value:function(Fr,zr){function Vr(){return new Mr(function(Gr,Cr){$r(Fr,zr,Gr,Cr)})}return gr=gr?gr.then(Vr,Vr):Vr()}})}function fr(vr,Mr,$r){var gr=Ne;return function(_r,Fr){if(gr===Ve)throw new Error("Generator is already running");if(gr===Pt){if(_r==="throw")throw Fr;return{value:V,done:!0}}for($r.method=_r,$r.arg=Fr;;){var zr=$r.delegate;if(zr){var Vr=mr(zr,$r);if(Vr){if(Vr===kt)continue;return Vr}}if($r.method==="next")$r.sent=$r._sent=$r.arg;else if($r.method==="throw"){if(gr===Ne)throw gr=Pt,$r.arg;$r.dispatchException($r.arg)}else $r.method==="return"&&$r.abrupt("return",$r.arg);gr=Ve;var Gr=pe(vr,Mr,$r);if(Gr.type==="normal"){if(gr=$r.done?Pt:Fe,Gr.arg===kt)continue;return{value:Gr.arg,done:$r.done}}Gr.type==="throw"&&(gr=Pt,$r.method="throw",$r.arg=Gr.arg)}}}function mr(vr,Mr){var $r=Mr.method,gr=vr.iterator[$r];if(gr===V)return Mr.delegate=null,$r==="throw"&&vr.iterator.return&&(Mr.method="return",Mr.arg=V,mr(vr,Mr),Mr.method==="throw")||$r!=="return"&&(Mr.method="throw",Mr.arg=new TypeError("The iterator does not provide a '"+$r+"' method")),kt;var _r=pe(gr,vr.iterator,Mr.arg);if(_r.type==="throw")return Mr.method="throw",Mr.arg=_r.arg,Mr.delegate=null,kt;var Fr=_r.arg;return Fr?Fr.done?(Mr[vr.resultName]=Fr.value,Mr.next=vr.nextLoc,Mr.method!=="return"&&(Mr.method="next",Mr.arg=V),Mr.delegate=null,kt):Fr:(Mr.method="throw",Mr.arg=new TypeError("iterator result is not an object"),Mr.delegate=null,kt)}function yr(vr){var Mr={tryLoc:vr[0]};1 in vr&&(Mr.catchLoc=vr[1]),2 in vr&&(Mr.finallyLoc=vr[2],Mr.afterLoc=vr[3]),this.tryEntries.push(Mr)}function Ir(vr){var Mr=vr.completion||{};Mr.type="normal",delete Mr.arg,vr.completion=Mr}function Nr(vr){this.tryEntries=[{tryLoc:"root"}],vr.forEach(yr,this),this.reset(!0)}function Sr(vr){if(vr||vr===""){var Mr=vr[ue];if(Mr)return Mr.call(vr);if(typeof vr.next=="function")return vr;if(!isNaN(vr.length)){var $r=-1,gr=function _r(){for(;++$r<vr.length;)if(ie.call(vr,$r))return _r.value=vr[$r],_r.done=!1,_r;return _r.value=V,_r.done=!0,_r};return gr.next=gr}}throw new TypeError($(vr)+" is not iterable")}return ze.prototype=Et
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/function V(ur,fr){if(ur===fr)return 0;for(var mr=ur.length,yr=fr.length,Ir=0,Nr=Math.min(mr,yr);Ir<Nr;++Ir)if(ur[Ir]!==fr[Ir]){mr=ur[Ir],yr=fr[Ir];break}return mr<yr?-1:yr<mr?1:0}function z(ur){return $.Buffer&&typeof $.Buffer.isBuffer=="function"?$.Buffer.isBuffer(ur):!!(ur!=null&&ur._isBuffer)}var re=n("util/"),ie=Object.prototype.hasOwnProperty,ae=Array.prototype.slice,oe=function(){return(function(){}).name==="foo"}();function ue(ur){return Object.prototype.toString.call(ur)}function de(ur){return z(ur)||typeof $.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(ur):ur?!!(ur instanceof DataView||ur.buffer&&ur.buffer instanceof ArrayBuffer):!1}var Oe=k.exports=Pt,_e=/\s*function\s+([^\(\s]*)\s*/;function Ce(ur){if(re.isFunction(ur)){if(oe)return ur.name;var fr=ur.toString(),mr=fr.match(_e);return mr&&mr[1]}}Oe.AssertionError=function(fr){this.name="AssertionError",this.actual=fr.actual,this.expected=fr.expected,this.operator=fr.operator,fr.message?(this.message=fr.message,this.generatedMessage=!1):(this.message=Fe(this),this.generatedMessage=!0);var mr=fr.stackStartFunction||Ve;if(Error.captureStackTrace)Error.captureStackTrace(this,mr);else{var yr=new Error;if(yr.stack){var Ir=yr.stack,Nr=Ce(mr),Sr=Ir.indexOf(`
`+Nr);if(Sr>=0){var vr=Ir.indexOf(`
`,Sr+1);Ir=Ir.substring(vr+1)}this.stack=Ir}}},re.inherits(Oe.AssertionError,Error);function pe(ur,fr){return typeof ur=="string"?ur.length<fr?ur:ur.slice(0,fr):ur}function Ne(ur){if(oe||!re.isFunction(ur))return re.inspect(ur);var fr=Ce(ur),mr=fr?": "+fr:"";return"[Function"+mr+"]"}function Fe(ur){return pe(Ne(ur.actual),128)+" "+ur.operator+" "+pe(Ne(ur.expected),128)}function Ve(ur,fr,mr,yr,Ir){throw new Oe.AssertionError({message:mr,actual:ur,expected:fr,operator:yr,stackStartFunction:Ir})}Oe.fail=Ve;function Pt(ur,fr){ur||Ve(ur,!0,fr,"==",Oe.ok)}Oe.ok=Pt,Oe.equal=function(fr,mr,yr){fr!=mr&&Ve(fr,mr,yr,"==",Oe.equal)},Oe.notEqual=function(fr,mr,yr){fr==mr&&Ve(fr,mr,yr,"!=",Oe.notEqual)},Oe.deepEqual=function(fr,mr,yr){kt(fr,mr,!1)||Ve(fr,mr,yr,"deepEqual",Oe.deepEqual)},Oe.deepStrictEqual=function(fr,mr,yr){kt(fr,mr,!0)||Ve(fr,mr,yr,"deepStrictEqual",Oe.deepStrictEqual)};function kt(ur,fr,mr,yr){if(ur===fr)return!0;if(z(ur)&&z(fr))return V(ur,fr)===0;if(re.isDate(ur)&&re.isDate(fr))return ur.getTime()===fr.getTime();if(re.isRegExp(ur)&&re.isRegExp(fr))return ur.source===fr.source&&ur.global===fr.global&&ur.multiline===fr.multiline&&ur.lastIndex===fr.lastIndex&&ur.ignoreCase===fr.ignoreCase;if((ur===null||typeof ur!="object")&&(fr===null||typeof fr!="object"))return mr?ur===fr:ur==fr;if(de(ur)&&de(fr)&&ue(ur)===ue(fr)&&!(ur instanceof Float32Array||ur instanceof Float64Array))return V(new Uint8Array(ur.buffer),new Uint8Array(fr.buffer))===0;if(z(ur)!==z(fr))return!1;yr=yr||{actual:[],expected:[]};var Ir=yr.actual.indexOf(ur);return Ir!==-1&&Ir===yr.expected.indexOf(fr)?!0:(yr.actual.push(ur),yr.expected.push(fr),ze(ur,fr,mr,yr))}function Ue(ur){return Object.prototype.toString.call(ur)=="[object Arguments]"}function ze(ur,fr,mr,yr){if(ur==null||fr===null||fr===void 0)return!1;if(re.isPrimitive(ur)||re.isPrimitive(fr))return ur===fr;if(mr&&Object.getPrototypeOf(ur)!==Object.getPrototypeOf(fr))return!1;var Ir=Ue(ur),Nr=Ue(fr);if(Ir&&!Nr||!Ir&&Nr)return!1;if(Ir)return ur=ae.call(ur),fr=ae.call(fr),kt(ur,fr,mr);var Sr=lr(ur),vr=lr(fr),Mr,$r;if(Sr.length!==vr.length)return!1;for(Sr.sort(),vr.sort(),$r=Sr.length-1;$r>=0;$r--)if(Sr[$r]!==vr[$r])return!1;for($r=Sr.length-1;$r>=0;$r--)if(Mr=Sr[$r],!kt(ur[Mr],fr[Mr],mr,yr))return!1;return!0}Oe.notDeepEqual=function(fr,mr,yr){kt(fr,mr,!1)&&Ve(fr,mr,yr,"notDeepEqual",Oe.notDeepEqual)},Oe.notDeepStrictEqual=Et;function Et(ur,fr,mr){kt(ur,fr,!0)&&Ve(ur,fr,mr,"notDeepStrictEqual",Et)}Oe.strictEqual=function(fr,mr,yr){fr!==mr&&Ve(fr,mr,yr,"===",Oe.strictEqual)},Oe.notStrictEqual=function(fr,mr,yr){fr===mr&&Ve(fr,mr,yr,"!==",Oe.notStrictEqual)};function er(ur,fr){if(!ur||!fr)return!1;if(Object.prototype.toString.call(fr)=="[object RegExp]")return fr.test(ur);try{if(ur instanceof fr)return!0}catch{}return Error.isPrototypeOf(fr)?!1:fr.call({},ur)===!0}function tr(ur){var fr;try{ur()}catch(mr){fr=mr}return fr}function ir(ur,fr,mr,yr){var Ir;if(typeof fr!="function")throw new TypeError('"block" argument must be a function');typeof mr=="string"&&(yr=mr,mr=null),Ir=tr(fr),yr=(mr&&mr.name?" ("+mr.name+").":".")+(yr?" "+yr:"."),ur&&!Ir&&Ve(Ir,mr,"Missing expected exception"+yr);var Nr=typeof yr=="string",Sr=!ur&&re.isError(Ir),vr=!ur&&Ir&&!mr;if((Sr&&Nr&&er(Ir,mr)||vr)&&Ve(Ir,mr,"Got unwanted exception"+yr),ur&&Ir&&mr&&!er(Ir,mr)||!ur&&Ir)throw Ir}Oe.throws=function(ur,fr,mr){ir(!0,ur,fr,mr)},Oe.doesNotThrow=function(ur,fr,mr){ir(!1,ur,fr,mr)},Oe.ifError=function(ur){if(ur)throw ur};function rr(ur,fr){ur||Ve(ur,!0,fr,"==",rr)}Oe.strict=j(rr,Oe,{equal:Oe.strictEqual,deepEqual:Oe.deepStrictEqual,notEqual:Oe.notStrictEqual,notDeepEqual:Oe.notDeepStrictEqual}),Oe.strict.strict=Oe.strict;var lr=Object.keys||function(ur){var fr=[];for(var mr in ur)ie.call(ur,mr)&&fr.push(mr);return fr}}).call(this)}).call(this,typeof y<"u"?y:typeof self<"u"?self:typeof window<"u"?window:{})},{"object.assign/polyfill":440,"util/":98}],96:[function(n,k,L){typeof Object.create=="function"?k.exports=function(j,V){j.super_=V,j.prototype=Object.create(V.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configur
`)>-1&&(Fr?Vr=Vr.split(`
`).map(function(Cr){return" "+Cr}).join(`
`).substr(2):Vr=`
`+Vr.split(`
`).map(function(Cr){return" "+Cr}).join(`
`))):Vr=vr.stylize("[Circular]","special")),er(zr)){if(Fr&&_r.match(/^\d+$/))return Vr;zr=JSON.stringify(""+_r),zr.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(zr=zr.substr(1,zr.length-2),zr=vr.stylize(zr,"name")):(zr=zr.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),zr=vr.stylize(zr,"string"))}return zr+": "+Vr}function Ne(vr,Mr,$r){var gr=vr.reduce(function(_r,Fr){return Fr.indexOf(`
`)>=0,_r+Fr.replace(/\u001b\[\d\d?m/g,"").length+1},0);return gr>60?$r[0]+(Mr===""?"":Mr+`
`)+" "+vr.join(`,
`)+" "+$r[1]:$r[0]+Mr+" "+vr.join(", ")+" "+$r[1]}function Fe(vr){return Array.isArray(vr)}L.isArray=Fe;function Ve(vr){return typeof vr=="boolean"}L.isBoolean=Ve;function Pt(vr){return vr===null}L.isNull=Pt;function kt(vr){return vr==null}L.isNullOrUndefined=kt;function Ue(vr){return typeof vr=="number"}L.isNumber=Ue;function ze(vr){return typeof vr=="string"}L.isString=ze;function Et(vr){return typeof vr=="symbol"}L.isSymbol=Et;function er(vr){return vr===void 0}L.isUndefined=er;function tr(vr){return ir(vr)&&mr(vr)==="[object RegExp]"}L.isRegExp=tr;function ir(vr){return typeof vr=="object"&&vr!==null}L.isObject=ir;function rr(vr){return ir(vr)&&mr(vr)==="[object Date]"}L.isDate=rr;function lr(vr){return ir(vr)&&(mr(vr)==="[object Error]"||vr instanceof Error)}L.isError=lr;function ur(vr){return typeof vr=="function"}L.isFunction=ur;function fr(vr){return vr===null||typeof vr=="boolean"||typeof vr=="number"||typeof vr=="string"||typeof vr=="symbol"||typeof vr>"u"}L.isPrimitive=fr,L.isBuffer=n("./support/isBuffer");function mr(vr){return Object.prototype.toString.call(vr)}function yr(vr){return vr<10?"0"+vr.toString(10):vr.toString(10)}var Ir=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Nr(){var vr=new Date,Mr=[yr(vr.getHours()),yr(vr.getMinutes()),yr(vr.getSeconds())].join(":");return[vr.getDate(),Ir[vr.getMonth()],Mr].join(" ")}L.log=function(){console.log("%s - %s",Nr(),L.format.apply(L,arguments))},L.inherits=n("inherits"),L._extend=function(vr,Mr){if(!Mr||!ir(Mr))return vr;for(var $r=Object.keys(Mr),gr=$r.length;gr--;)vr[$r[gr]]=Mr[$r[gr]];return vr};function Sr(vr,Mr){return Object.prototype.hasOwnProperty.call(vr,Mr)}}).call(this)}).call(this,n("_process"),typeof y<"u"?y:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":97,_process:540,inherits:96}],99:[function(n,k,L){(function($){(function(){var j=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],V=typeof globalThis>"u"?$:globalThis;k.exports=function(){for(var re=[],ie=0;ie<j.length;ie++)typeof V[j[ie]]=="function"&&(re[re.length]=j[ie]);return re}}).call(this)}).call(this,typeof y<"u"?y:typeof self<"u"?self:typeof window<"u"?window:{})},{}],100:[function(n,k,L){L.byteLength=oe,L.toByteArray=de,L.fromByteArray=Ce;for(var $=[],j=[],V=typeof Uint8Array<"u"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=0,ie=z.length;re<ie;++re)$[re]=z[re],j[z.charCodeAt(re)]=re;j[45]=62,j[95]=63;function ae(pe){var Ne=pe.length;if(Ne%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Fe=pe.indexOf("=");Fe===-1&&(Fe=Ne);var Ve=Fe===Ne?0:4-Fe%4;return[Fe,Ve]}function oe(pe){var Ne=ae(pe),Fe=Ne[0],Ve=Ne[1];return(Fe+Ve)*3/4-Ve}function ue(pe,Ne,Fe){return(Ne+Fe)*3/4-Fe}function de(pe){var Ne,Fe=ae(pe),Ve=Fe[0],Pt=Fe[1],kt=new V(ue(pe,Ve,Pt)),Ue=0,ze=Pt>0?Ve-4:Ve,Et;for(Et=0;Et<ze;Et+=4)Ne=j[pe.charCodeAt(Et)]<<18|j[pe.charCodeAt(Et+1)]<<12|j[pe.charCodeAt(Et+2)]<<6|j[pe.charCodeAt(Et+3)],kt[Ue++]=Ne>>16&255,kt[Ue++]=Ne>>8&255,kt[Ue++]=Ne&255;return Pt===2&&(Ne=j[pe.charCodeAt(Et)]<<2|j[pe.charCodeAt(Et+1)]>>4,kt[Ue++]=Ne&255),Pt===1&&(Ne=j[pe.charCodeAt(Et)]<<10|j[pe.charCodeAt(Et+1)]<<4|j[pe.charCodeAt(Et+2)]>>2,kt[Ue++]=Ne>>8&255,kt[Ue++]=Ne&255),kt}function Oe(pe){return $[pe>>18&63]+$[pe>>12&63]+$[pe>>6&63]+$[pe&63]}function _e(pe,Ne,Fe){for(var Ve,Pt=[],kt=Ne;kt<Fe;kt+=3)Ve=(pe[kt]<<16&16711680)+(pe[kt+1]<<8&65280)+(pe[kt+2]&255),Pt.push(Oe(Ve));return Pt.join("")}function Ce(pe){for(var Ne,Fe=pe.length,Ve=Fe%3,Pt=[],kt=16383,Ue=0,ze=Fe-Ve;Ue<ze;Ue+=kt)Pt.push(_e(pe,Ue,Ue+kt>ze?ze:Ue+kt));return Ve===1?(Ne=pe[Fe-1],Pt.push($[Ne>>2]+$[Ne<<4&63]+"==")):Ve===2&&(Ne=(pe[Fe-2]<<8)+pe[Fe-1],Pt.push($[Ne>>10]+$[Ne>>4&63]+$[Ne<<2&63]+"=")),Pt.join("")}},{}],101:[function(n,k,L){/*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2015
*/(function($,j,V){typeof k<"u"&&k.exports?k.exports=V():$[j]=V()})(this,"bowser",function(){var $=!0;function j(ue){function de(vr){var Mr=ue.match(vr);return Mr&&Mr.length>1&&Mr[1]||""}function Oe(vr){var Mr=ue.match(vr);return Mr&&Mr.length>1&&Mr[2]||""}var _e=de(/(ipod|iphone|ipad)/i).toLowerCase(),Ce=/like android/i.test(ue),pe=!Ce&&/android/i.test(ue),Ne=/nexus\s*[0-6]\s*/i.test(ue),Fe=!Ne&&/nexus\s*[0-9]+/i.test(ue),Ve=/CrOS/.test(ue),Pt=/silk/i.test(ue),kt=/sailfish/i.test(ue),Ue=/tizen/i.test(ue),ze=/(web|hpw)(o|0)s/i.test(ue),Et=/windows phone/i.test(ue),er=!Et&&/windows/i.test(ue),tr=!_e&&!Pt&&/macintosh/i.test(ue),ir=!pe&&!kt&&!Ue&&!ze&&/linux/i.test(ue),rr=Oe(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),lr=de(/version\/(\d+(\.\d+)?)/i),ur=/tablet/i.test(ue)&&!/tablet pc/i.test(ue),fr=!ur&&/[^-]mobi/i.test(ue),mr=/xbox/i.test(ue),yr;/opera/i.test(ue)?yr={name:"Opera",opera:$,version:lr||de(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ue)?yr={name:"Opera",opera:$,version:de(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||lr}:/SamsungBrowser/i.test(ue)?yr={name:"Samsung Internet for Android",samsungBrowser:$,version:lr||de(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ue)?yr={name:"NAVER Whale browser",whale:$,version:de(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ue)?yr={name:"MZ Browser",mzbrowser:$,version:de(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ue)?yr={name:"Opera Coast",coast:$,version:lr||de(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ue)?yr={name:"Focus",focus:$,version:de(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ue)?yr={name:"Yandex Browser",yandexbrowser:$,version:lr||de(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ue)?yr={name:"UC Browser",ucbrowser:$,version:de(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ue)?yr={name:"Maxthon",maxthon:$,version:de(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ue)?yr={name:"Epiphany",epiphany:$,version:de(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ue)?yr={name:"Puffin",puffin:$,version:de(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ue)?yr={name:"Sleipnir",sleipnir:$,version:de(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ue)?yr={name:"K-Meleon",kMeleon:$,version:de(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:Et?(yr={name:"Windows Phone",osname:"Windows Phone",windowsphone:$},rr?(yr.msedge=$,yr.version=rr):(yr.msie=$,yr.version=de(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ue)?yr={name:"Internet Explorer",msie:$,version:de(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:Ve?yr={name:"Chrome",osname:"Chrome OS",chromeos:$,chromeBook:$,chrome:$,version:de(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ue)?yr={name:"Microsoft Edge",msedge:$,version:rr}:/vivaldi/i.test(ue)?yr={name:"Vivaldi",vivaldi:$,version:de(/vivaldi\/(\d+(\.\d+)?)/i)||lr}:kt?yr={name:"Sailfish",osname:"Sailfish OS",sailfish:$,version:de(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ue)?yr={name:"SeaMonkey",seamonkey:$,version:de(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ue)?(yr={name:"Firefox",firefox:$,version:de(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ue)&&(yr.firefoxos=$,yr.osname="Firefox OS")):Pt?yr={name:"Amazon Silk",silk:$,version:de(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ue)?yr={name:"PhantomJS",phantom:$,version:de(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ue)?yr={name:"SlimerJS",slimer:$,version:de(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ue)||/rim\stablet/i.test(ue)?yr={name:"BlackBerry",osname:"BlackBerry OS",blackberry:$,version:lr||de(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:ze?(yr={name:"WebOS",osname:"WebOS",webos:$,version:lr||de(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ue)&&(yr.touchpad=$)):/bada/i.test(ue)?yr={name:"Bada",osname:"Bada",bada:$,version:de(/dolfin\/(\d+(\.\d+)?)/i)}:Ue?yr={name:"Tizen",osname:"Tizen",tizen:$,version:de(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||lr}:/qupzilla/i.test(ue)?yr={name:"QupZilla",qupzilla:$,version:de(/(?:qupz
`)&&(gr="(?: "+gr+")",Fr=" "+Fr,_r++),fr=new RegExp("^(?:"+gr+")",$r)),Ue&&(fr=new RegExp("^"+gr+"$(?!\\s)",$r)),Pt&&(mr=tr.lastIndex),yr=$(_e,Mr?fr:tr,Fr),Mr?yr?(yr.input=Ve(yr.input,_r),yr[0]=Ve(yr[0],_r),yr.index=tr.lastIndex,tr.lastIndex+=yr[0].length):tr.lastIndex=0:Pt&&yr&&(tr.lastIndex=tr.global?yr.index+yr[0].length:mr),Ue&&yr&&yr.length>1&&$(Oe,yr[0],fr,function(){for(Ir=1;Ir<arguments.length-2;Ir++)arguments[Ir]===void 0&&(yr[Ir]=void 0)}),yr&&vr)for(yr.groups=Nr=ae(null),Ir=0;Ir<vr.length;Ir++)Sr=vr[Ir],Nr[Sr[0]]=yr[Sr[1]];return yr}),k.exports=Ce},{"../internals/function-call":177,"../internals/function-uncurry-this":181,"../internals/internal-state":199,"../internals/object-create":229,"../internals/regexp-flags":257,"../internals/regexp-sticky-helpers":259,"../internals/regexp-unsupported-dot-all":260,"../internals/regexp-unsupported-ncg":261,"../internals/shared":269,"../internals/to-string":291}],257:[function(n,k,L){var $=n("../internals/an-object");k.exports=function(){var j=$(this),V="";return j.hasIndices&&(V+="d"),j.global&&(V+="g"),j.ignoreCase&&(V+="i"),j.multiline&&(V+="m"),j.dotAll&&(V+="s"),j.unicode&&(V+="u"),j.unicodeSets&&(V+="v"),j.sticky&&(V+="y"),V}},{"../internals/an-object":114}],258:[function(n,k,L){var $=n("../internals/function-call"),j=n("../internals/has-own-property"),V=n("../internals/object-is-prototype-of"),z=n("../internals/regexp-flags"),re=RegExp.prototype;k.exports=function(ie){var ae=ie.flags;return ae===void 0&&!("flags"in re)&&!j(ie,"flags")&&V(re,ie)?$(z,ie):ae}},{"../internals/function-call":177,"../internals/has-own-property":189,"../internals/object-is-prototype-of":238,"../internals/regexp-flags":257}],259:[function(n,k,L){var $=n("../internals/fails"),j=n("../internals/global"),V=j.RegExp,z=$(function(){var ae=V("a","y");return ae.lastIndex=2,ae.exec("abcd")!==null}),re=z||$(function(){return!V("a","y").sticky}),ie=z||$(function(){var ae=V("^r","gy");return ae.lastIndex=2,ae.exec("str")!==null});k.exports={BROKEN_CARET:ie,MISSED_STICKY:re,UNSUPPORTED_Y:z}},{"../internals/fails":171,"../internals/global":188}],260:[function(n,k,L){var $=n("../internals/fails"),j=n("../internals/global"),V=j.RegExp;k.exports=$(function(){var z=V(".","s");return!(z.dotAll&&z.test(`
`)&&z.flags==="s")})},{"../internals/fails":171,"../internals/global":188}],261:[function(n,k,L){var $=n("../internals/fails"),j=n("../internals/global"),V=j.RegExp;k.exports=$(function(){var z=V("(?<a>b)","g");return z.exec("b").groups.a!=="b"||"b".replace(z,"$<a>c")!=="bc"})},{"../internals/fails":171,"../internals/global":188}],262:[function(n,k,L){var $=n("../internals/is-null-or-undefined"),j=TypeError;k.exports=function(V){if($(V))throw new j("Can't call method on "+V);return V}},{"../internals/is-null-or-undefined":207}],263:[function(n,k,L){var $=n("../internals/global"),j=n("../internals/descriptors"),V=Object.getOwnPropertyDescriptor;k.exports=function(z){if(!j)return $[z];var re=V($,z);return re&&re.value}},{"../internals/descriptors":153,"../internals/global":188}],264:[function(n,k,L){k.exports=Object.is||function(j,V){return j===V?j!==0||1/j===1/V:j!==j&&V!==V}},{}],265:[function(n,k,L){var $=n("../internals/get-built-in"),j=n("../internals/define-built-in-accessor"),V=n("../internals/well-known-symbol"),z=n("../internals/descriptors"),re=V("species");k.exports=function(ie){var ae=$(ie);z&&ae&&!ae[re]&&j(ae,re,{configurable:!0,get:function(){return this}})}},{"../internals/define-built-in-accessor":148,"../internals/descriptors":153,"../internals/get-built-in":182,"../internals/well-known-symbol":306}],266:[function(n,k,L){var $=n("../internals/object-define-property").f,j=n("../internals/has-own-property"),V=n("../internals/well-known-symbol"),z=V("toStringTag");k.exports=function(re,ie,ae){re&&!ae&&(re=re.prototype),re&&!j(re,z)&&$(re,z,{configurable:!0,value:ie})}},{"../internals/has-own-property":189,"../internals/object-define-property":231,"../internals/well-known-symbol":306}],267:[function(n,k,L){var $=n("../internals/shared"),j=n("../internals/uid"),V=$("keys");k.exports=function(z){return V[z]||(V[z]=j(z))}},{"../internals/shared":269,"../internals/uid":299}],268:[function(n,k,L){var $=n("../internals/global"),j=n("../internals/define-global-property"),V="__core-js_shared__",z=$[V]||j(V,{});k.exports=z},{"../internals/define-global-property":151,"../internals/global":188}],269:[function(n,k,L){var $=n("../internals/is-pure"),j=n("../internals/shared-store");(k.exports=function(V,z){return j[V]||(j[V]=z!==void 0?z:{})})("versions",[]).push({version:"3.35.0",mode:$?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":210,"../internals/shared-store":268}],270:[function(n,k,L){var $=n("../internals/an-object"),j=n("../internals/a-constructor"),V=n("../internals/is-null-or-undefined"),z=n("../internals/well-known-symbol"),re=z("species");k.exports=function(ie,ae){var oe=$(ie).constructor,ue;return oe===void 0||V(ue=$(oe)[re])?ae:j(ue)}},{"../internals/a-constructor":109,"../internals/an-object":114,"../internals/is-null-or-undefined":207,"../internals/well-known-symbol":306}],271:[function(n,k,L){var $=n("../internals/function-uncurry-this"),j=n("../internals/to-integer-or-infinity"),V=n("../internals/to-string"),z=n("../internals/require-object-coercible"),re=$("".charAt),ie=$("".charCodeAt),ae=$("".slice),oe=function(ue){return function(de,Oe){var _e=V(z(de)),Ce=j(Oe),pe=_e.length,Ne,Fe;return Ce<0||Ce>=pe?ue?"":void 0:(Ne=ie(_e,Ce),Ne<55296||Ne>56319||Ce+1===pe||(Fe=ie(_e,Ce+1))<56320||Fe>57343?ue?re(_e,Ce):Ne:ue?ae(_e,Ce,Ce+2):(Ne-55296<<10)+(Fe-56320)+65536)}};k.exports={codeAt:oe(!1),charAt:oe(!0)}},{"../internals/function-uncurry-this":181,"../internals/require-object-coercible":262,"../internals/to-integer-or-infinity":283,"../internals/to-string":291}],272:[function(n,k,L){var $=n("../internals/function-name").PROPER,j=n("../internals/fails"),V=n("../internals/whitespaces"),z="…";k.exports=function(re){return j(function(){return!!V[re]()||z[re]()!==z||$&&V[re].name!==re})}},{"../internals/fails":171,"../internals/function-name":178,"../internals/whitespaces":307}],273:[function(n,k,L){var $=n("../internals/function-uncurry-this"),j
\v\f\r    \u2028\u2029\uFEFF`},{}],308:[function(n,k,L){var $=n("../internals/export"),j=n("../internals/global"),V=n("../internals/array-buffer"),z=n("../internals/set-species"),re="ArrayBuffer",ie=V[re],ae=j[re];$({global:!0,constructor:!0,forced:ae!==ie},{ArrayBuffer:ie}),z(re)},{"../internals/array-buffer":118,"../internals/export":170,"../internals/global":188,"../internals/set-species":265}],309:[function(n,k,L){var $=n("../internals/export"),j=n("../internals/function-uncurry-this-clause"),V=n("../internals/fails"),z=n("../internals/array-buffer"),re=n("../internals/an-object"),ie=n("../internals/to-absolute-index"),ae=n("../internals/to-length"),oe=n("../internals/species-constructor"),ue=z.ArrayBuffer,de=z.DataView,Oe=de.prototype,_e=j(ue.prototype.slice),Ce=j(Oe.getUint8),pe=j(Oe.setUint8),Ne=V(function(){return!new ue(2).slice(1,void 0).byteLength});$({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:Ne},{slice:function(Ve,Pt){if(_e&&Pt===void 0)return _e(re(this),Ve);for(var kt=re(this).byteLength,Ue=ie(Ve,kt),ze=ie(Pt===void 0?kt:Pt,kt),Et=new(oe(this,ue))(ae(ze-Ue)),er=new de(this),tr=new de(Et),ir=0;Ue<ze;)pe(tr,ir++,Ce(er,Ue++));return Et}})},{"../internals/an-object":114,"../internals/array-buffer":118,"../internals/export":170,"../internals/fails":171,"../internals/function-uncurry-this-clause":180,"../internals/species-constructor":270,"../internals/to-absolute-index":279,"../internals/to-length":284}],310:[function(n,k,L){var $=n("../internals/export"),j=n("../internals/fails"),V=n("../internals/is-array"),z=n("../internals/is-object"),re=n("../internals/to-object"),ie=n("../internals/length-of-array-like"),ae=n("../internals/does-not-exceed-safe-integer"),oe=n("../internals/create-property"),ue=n("../internals/array-species-create"),de=n("../internals/array-method-has-species-support"),Oe=n("../internals/well-known-symbol"),_e=n("../internals/engine-v8-version"),Ce=Oe("isConcatSpreadable"),pe=_e>=51||!j(function(){var Ve=[];return Ve[Ce]=!1,Ve.concat()[0]!==Ve}),Ne=function(Ve){if(!z(Ve))return!1;var Pt=Ve[Ce];return Pt!==void 0?!!Pt:V(Ve)},Fe=!pe||!de("concat");$({target:"Array",proto:!0,arity:1,forced:Fe},{concat:function(Pt){var kt=re(this),Ue=ue(kt,0),ze=0,Et,er,tr,ir,rr;for(Et=-1,tr=arguments.length;Et<tr;Et++)if(rr=Et===-1?kt:arguments[Et],Ne(rr))for(ir=ie(rr),ae(ze+ir),er=0;er<ir;er++,ze++)er in rr&&oe(Ue,ze,rr[er]);else ae(ze+1),oe(Ue,ze++,rr);return Ue.length=ze,Ue}})},{"../internals/array-method-has-species-support":127,"../internals/array-species-create":134,"../internals/create-property":147,"../internals/does-not-exceed-safe-integer":155,"../internals/engine-v8-version":167,"../internals/export":170,"../internals/fails":171,"../internals/is-array":201,"../internals/is-object":208,"../internals/length-of-array-like":219,"../internals/to-object":285,"../internals/well-known-symbol":306}],311:[function(n,k,L){var $=n("../internals/export"),j=n("../internals/array-fill"),V=n("../internals/add-to-unscopables");$({target:"Array",proto:!0},{fill:j}),V("fill")},{"../internals/add-to-unscopables":111,"../internals/array-fill":120,"../internals/export":170}],312:[function(n,k,L){var $=n("../internals/export"),j=n("../internals/array-iteration").filter,V=n("../internals/array-method-has-species-support"),z=V("filter");$({target:"Array",proto:!0,forced:!z},{filter:function(ie){return j(this,ie,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":125,"../internals/array-method-has-species-support":127,"../internals/export":170}],313:[function(n,k,L){var $=n("../internals/export"),j=n("../internals/array-iteration").find,V=n("../internals/add-to-unscopables"),z="find",re=!0;z in[]&&Array(1)[z](function(){re=!1}),$({target:"Array",proto:!0,forced:re},{find:function(ae){return j(this,ae,arguments.length>1?arguments[1]:void 0)}}),V(z)},{"../internals/add-to-unscopables":111,"../internals/array-iteration":125,"../internals/export":170}],314:[function(n,k,L){var $=n("../internals/export"),j=n("../internals/array-from"),V=n("../internals/chec
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/k.exports=function(V){return V!=null&&($(V)||j(V)||!!V._isBuffer)};function $(V){return!!V.constructor&&typeof V.constructor.isBuffer=="function"&&V.constructor.isBuffer(V)}function j(V){return typeof V.readFloatLE=="function"&&typeof V.slice=="function"&&$(V.slice(0,0))}},{}],412:[function(n,k,L){var $=Function.prototype.toString,j=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,V,z;if(typeof j=="function"&&typeof Object.defineProperty=="function")try{V=Object.defineProperty({},"length",{get:function(){throw z}}),z={},j(function(){throw 42},null,V)}catch(kt){kt!==z&&(j=null)}else j=null;var re=/^\s*class\b/,ie=function(Ue){try{var ze=$.call(Ue);return re.test(ze)}catch{return!1}},ae=function(Ue){try{return ie(Ue)?!1:($.call(Ue),!0)}catch{return!1}},oe=Object.prototype.toString,ue="[object Object]",de="[object Function]",Oe="[object GeneratorFunction]",_e="[object HTMLAllCollection]",Ce="[object HTML document.all class]",pe="[object HTMLCollection]",Ne=typeof Symbol=="function"&&!!Symbol.toStringTag,Fe=!(0 in[,]),Ve=function(){return!1};if(typeof document=="object"){var Pt=document.all;oe.call(Pt)===oe.call(document.all)&&(Ve=function(Ue){if((Fe||!Ue)&&(typeof Ue>"u"||typeof Ue=="object"))try{var ze=oe.call(Ue);return(ze===_e||ze===Ce||ze===pe||ze===ue)&&Ue("")==null}catch{}return!1})}k.exports=j?function(Ue){if(Ve(Ue))return!0;if(!Ue||typeof Ue!="function"&&typeof Ue!="object")return!1;try{j(Ue,null,V)}catch(ze){if(ze!==z)return!1}return!ie(Ue)&&ae(Ue)}:function(Ue){if(Ve(Ue))return!0;if(!Ue||typeof Ue!="function"&&typeof Ue!="object")return!1;if(Ne)return ae(Ue);if(ie(Ue))return!1;var ze=oe.call(Ue);return ze!==de&&ze!==Oe&&!/^\[object HTML/.test(ze)?!1:ae(Ue)}},{}],413:[function(n,k,L){var $=Object.prototype.toString,j=Function.prototype.toString,V=/^\s*(?:function)?\*/,z=n("has-tostringtag/shams")(),re=Object.getPrototypeOf,ie=function(){if(!z)return!1;try{return Function("return function*() {}")()}catch{}},ae;k.exports=function(ue){if(typeof ue!="function")return!1;if(V.test(j.call(ue)))return!0;if(!z){var de=$.call(ue);return de==="[object GeneratorFunction]"}if(!re)return!1;if(typeof ae>"u"){var Oe=ie();ae=Oe?re(Oe):!1}return re(ue)===ae}},{"has-tostringtag/shams":398}],414:[function(n,k,L){var $=n("which-typed-array");k.exports=function(V){return!!$(V)}},{"which-typed-array":492}],415:[function(n,k,L){(function($){(function(){(function(j,V){typeof L=="object"&&typeof k<"u"?k.exports=V(j):V(j)})(typeof self<"u"?self:typeof window<"u"?window:typeof $<"u"?$:this,function(j){j=j||{};var V=j.Base64,z="2.6.4",re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ie=function(mr){for(var yr={},Ir=0,Nr=mr.length;Ir<Nr;Ir++)yr[mr.charAt(Ir)]=Ir;return yr}(re),ae=String.fromCharCode,oe=function(mr){if(mr.length<2){var yr=mr.charCodeAt(0);return yr<128?mr:yr<2048?ae(192|yr>>>6)+ae(128|yr&63):ae(224|yr>>>12&15)+ae(128|yr>>>6&63)+ae(128|yr&63)}else{var yr=65536+(mr.charCodeAt(0)-55296)*1024+(mr.charCodeAt(1)-56320);return ae(240|yr>>>18&7)+ae(128|yr>>>12&63)+ae(128|yr>>>6&63)+ae(128|yr&63)}},ue=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,de=function(mr){return mr.replace(ue,oe)},Oe=function(mr){var yr=[0,2,1][mr.length%3],Ir=mr.charCodeAt(0)<<16|(mr.length>1?mr.charCodeAt(1):0)<<8|(mr.length>2?mr.charCodeAt(2):0),Nr=[re.charAt(Ir>>>18),re.charAt(Ir>>>12&63),yr>=2?"=":re.charAt(Ir>>>6&63),yr>=1?"=":re.charAt(Ir&63)];return Nr.join("")},_e=j.btoa&&typeof j.btoa=="function"?function(mr){return j.btoa(mr)}:function(mr){if(mr.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return mr.replace(/[\s\S]{1,3}/g,Oe)},Ce=function(mr){return _e(de(String(mr)))},pe=function(mr){return mr.replace(/[+\/]/g,function(yr){return yr=="+"?"-":"_"}).replace(/=/g,"")},Ne=function(mr,yr){return yr?pe(Ce(mr)):Ce(mr)},Fe=function(mr){return Ne(mr,!0)},Ve;j.Uint8Array&&(Ve=function(mr,yr){for(var Ir="",Nr=0,Sr=mr.length;Nr<Sr;Nr+=3){var vr=mr[Nr],Mr=mr[Nr+1],$r=mr[Nr+2],gr=vr<<16|Mr<<8|$r;Ir+=re.charAt(gr>>>18)+re.charAt(gr>>>12&63)+(typeof Mr<"u"?re.charAt(gr>>>6&63):"=")+(typeof $r<"
`)>=0)return!1;return!0}function Fa(ea,Aa){var ws;if(ea.indent===" ")ws=" ";else if(typeof ea.indent=="number"&&ea.indent>0)ws=rr.call(Array(ea.indent+1)," ");else return null;return{base:ws,prev:rr.call(Array(Aa+1),ws)}}function vo(ea,Aa){if(ea.length===0)return"";var ws=`
`+Aa.prev+Aa.base;return ws+rr.call(ea,","+ws)+`
`+Aa.prev}function Vi(ea,Aa){var ws=Vr(ea),ss=[];if(ws){ss.length=ea.length;for(var hl=0;hl<ea.length;hl++)ss[hl]=Kr(ea,hl)?Aa(ea[hl],ea):""}var kl=typeof mr=="function"?mr(ea):[],xu;if(Ir){xu={};for(var Cs=0;Cs<kl.length;Cs++)xu["$"+kl[Cs]]=kl[Cs]}for(var $u in ea)Kr(ea,$u)&&(ws&&String(Number($u))===$u&&$u<ea.length||Ir&&xu["$"+$u]instanceof Symbol||(tr.call(/[^\w$]/,$u)?ss.push(Aa($u,ea)+": "+Aa(ea[$u],ea)):ss.push($u+": "+Aa(ea[$u],ea))));if(typeof mr=="function")for(var Pu=0;Pu<kl.length;Pu++)Sr.call(ea,kl[Pu])&&ss.push("["+Aa(kl[Pu])+"]: "+Aa(ea[kl[Pu]],ea));return ss}}).call(this)}).call(this,typeof y<"u"?y:typeof self<"u"?self:typeof window<"u"?window:{})},{"./util.inspect":102}],436:[function(n,k,L){var $;if(!Object.keys){var j=Object.prototype.hasOwnProperty,V=Object.prototype.toString,z=n("./isArguments"),re=Object.prototype.propertyIsEnumerable,ie=!re.call({toString:null},"toString"),ae=re.call(function(){},"prototype"),oe=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],ue=function(Ce){var pe=Ce.constructor;return pe&&pe.prototype===Ce},de={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},Oe=function(){if(typeof window>"u")return!1;for(var Ce in window)try{if(!de["$"+Ce]&&j.call(window,Ce)&&window[Ce]!==null&&typeof window[Ce]=="object")try{ue(window[Ce])}catch{return!0}}catch{return!0}return!1}(),_e=function(Ce){if(typeof window>"u"||!Oe)return ue(Ce);try{return ue(Ce)}catch{return!1}};$=function(pe){var Ne=pe!==null&&typeof pe=="object",Fe=V.call(pe)==="[object Function]",Ve=z(pe),Pt=Ne&&V.call(pe)==="[object String]",kt=[];if(!Ne&&!Fe&&!Ve)throw new TypeError("Object.keys called on a non-object");var Ue=ae&&Fe;if(Pt&&pe.length>0&&!j.call(pe,0))for(var ze=0;ze<pe.length;++ze)kt.push(String(ze));if(Ve&&pe.length>0)for(var Et=0;Et<pe.length;++Et)kt.push(String(Et));else for(var er in pe)!(Ue&&er==="prototype")&&j.call(pe,er)&&kt.push(String(er));if(ie)for(var tr=_e(pe),ir=0;ir<oe.length;++ir)!(tr&&oe[ir]==="constructor")&&j.call(pe,oe[ir])&&kt.push(oe[ir]);return kt}}k.exports=$},{"./isArguments":438}],437:[function(n,k,L){var $=Array.prototype.slice,j=n("./isArguments"),V=Object.keys,z=V?function(ae){return V(ae)}:n("./implementation"),re=Object.keys;z.shim=function(){if(Object.keys){var ae=function(){var oe=Object.keys(arguments);return oe&&oe.length===arguments.length}(1,2);ae||(Object.keys=function(ue){return j(ue)?re($.call(ue)):re(ue)})}else Object.keys=z;return Object.keys||z},k.exports=z},{"./implementation":436,"./isArguments":438}],438:[function(n,k,L){var $=Object.prototype.toString;k.exports=function(V){var z=$.call(V),re=z==="[object Arguments]";return re||(re=z!=="[object Array]"&&V!==null&&typeof V=="object"&&typeof V.length=="number"&&V.length>=0&&$.call(V.callee)==="[object Function]"),re}},{}],439:[function(n,k,L){var $=n("object-keys"),j=n("has-symbols/shams")(),V=n("call-bind/callBound"),z=Object,re=V("Array.prototype.push"),ie=V("Object.prototype.propertyIsEnumerable"),ae=j?Object.getOwnPropertySymbols:null;k.exports=function(ue,de){if(ue==null)throw new TypeError("target must be an object");var Oe=z(ue);if(arguments.length===1)return Oe;for(var _e=1;_e<arguments.length;++_e){var Ce=z(arguments[_e]),pe=$(Ce),Ne=j&&(Object.getOwnPropertySymbols||ae);if(Ne)for(var Fe=Ne(Ce),Ve=0;Ve<Fe.length;++Ve){var Pt=Fe[Ve];ie(Ce,Pt)&&re(pe,Pt)}for(var kt=0;kt<pe.length;++kt){var Ue=pe[kt];if(ie(Ce,Ue)){var ze=Ce[Ue];Oe[Ue]=ze}}}return Oe}},{"call-bind/callBound":105,"has-symbols/shams":397,"object-keys":437}],440:[function(n,k,L){var $=n("./implementation"),j=function(){if(!Object.assign)return!1;for(var z="abcdefghijklmnopqrst",re=z.split(""),ie={},ae=0;ae<re.length;++ae)ie[re[ae]]=re[ae];var oe=Object.assign({},ie),ue="";for(var de in oe
`||Cr==="\r"||Cr===" "}function Et(Cr){return Cr==='"'||Cr==="'"}function er(Cr){return Cr===">"||ze(Cr)}function tr(Cr,xr){return Cr.test(xr)}function ir(Cr,xr){return!tr(Cr,xr)}var rr=0;j.STATE={BEGIN:rr++,BEGIN_WHITESPACE:rr++,TEXT:rr++,TEXT_ENTITY:rr++,OPEN_WAKA:rr++,SGML_DECL:rr++,SGML_DECL_QUOTED:rr++,DOCTYPE:rr++,DOCTYPE_QUOTED:rr++,DOCTYPE_DTD:rr++,DOCTYPE_DTD_QUOTED:rr++,COMMENT_STARTING:rr++,COMMENT:rr++,COMMENT_ENDING:rr++,COMMENT_ENDED:rr++,CDATA:rr++,CDATA_ENDING:rr++,CDATA_ENDING_2:rr++,PROC_INST:rr++,PROC_INST_BODY:rr++,PROC_INST_ENDING:rr++,OPEN_TAG:rr++,OPEN_TAG_SLASH:rr++,ATTRIB:rr++,ATTRIB_NAME:rr++,ATTRIB_NAME_SAW_WHITE:rr++,ATTRIB_VALUE:rr++,ATTRIB_VALUE_QUOTED:rr++,ATTRIB_VALUE_CLOSED:rr++,ATTRIB_VALUE_UNQUOTED:rr++,ATTRIB_VALUE_ENTITY_Q:rr++,ATTRIB_VALUE_ENTITY_U:rr++,CLOSE_TAG:rr++,CLOSE_TAG_SAW_WHITE:rr++,SCRIPT:rr++,SCRIPT_ENDING:rr++},j.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},j.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(j.ENTITIES).forEach(function(Cr){var xr=j.ENTITIES[Cr],Br=typeof xr=="number"?String.fromCharCode(xr):xr;j.ENTITIES[Cr]=Br});for(var lr in j.STATE)j.STATE[j.STATE[lr]]=lr;rr=j.STATE;function ur(Cr,xr,Br){Cr[xr]&&Cr[xr](Br)}function fr(Cr,xr,Br){Cr.textNode&&mr(Cr),ur(Cr,xr,Br)}function mr(Cr){Cr.textNode=yr(Cr.opt,Cr.textNode),Cr.textNode&&ur(Cr,"ontext",Cr.textNode),Cr.textNode=""}function yr(Cr,xr){return Cr.trim&&(xr=xr.trim()),Cr.normalize&&(xr=xr.replace(/\s+/g," ")),xr}function Ir(Cr,xr){return mr(Cr),Cr.trackPosition&&(xr+=`
Line: `+Cr.line+`
Column: `+Cr.column+`
Char: `+Cr.c),xr=new Error(xr),Cr.error=xr,ur(Cr,"onerror",xr),Cr}function Nr(Cr){return Cr.sawRoot&&!Cr.closedRoot&&Sr(Cr,"Unclosed root tag"),Cr.state!==rr.BEGIN&&Cr.state!==rr.BEGIN_WHITESPACE&&Cr.state!==rr.TEXT&&Ir(Cr,"Unexpected end"),mr(Cr),Cr.c="",Cr.closed=!0,ur(Cr,"onend"),z.call(Cr,Cr.strict,Cr.opt),Cr}function Sr(Cr,xr){if(typeof Cr!="object"||!(Cr instanceof z))throw new Error("bad call to strictFail");Cr.strict&&Ir(Cr,xr)}function vr(Cr){Cr.strict||(Cr.tagName=Cr.tagName[Cr.looseCase]());var xr=Cr.tags[Cr.tags.length-1]||Cr,Br=Cr.tag={name:Cr.tagName,attributes:{}};Cr.opt.xmlns&&(Br.ns=xr.ns),Cr.attribList.length=0,fr(Cr,"onopentagstart",Br)}function Mr(Cr,xr){var Br=Cr.indexOf(":"),Er=Br<0?["",Cr]:Cr.split(":"),Tr=Er[0],Rr=Er[1];return xr&&Cr==="xmlns"&&(Tr="xmlns",Rr=""),{prefix:Tr,local:Rr}}function $r(Cr){if(Cr.strict||(Cr.attribName=Cr.attribName[Cr.looseCase]()),Cr.attribList.indexOf(Cr.attribName)!==-1||Cr.tag.attributes.hasOwnProperty(Cr.attribName)){Cr.attribName=Cr.attribValue="";return}if(Cr.opt.xmlns){var xr=Mr(Cr.attribName,!0),Br=xr.prefix,Er=xr.local;if(Br==="xmlns")if(Er==="xml"&&Cr.attribValue!==pe)Sr(Cr,"xml: prefix must be bound to "+pe+`
Actual: `+Cr.attribValue);else if(Er==="xmlns"&&Cr.attribValue!==Ne)Sr(Cr,"xmlns: prefix must be bound to "+Ne+`
Actual: `+Cr.attribValue);else{var Tr=Cr.tag,Rr=Cr.tags[Cr.tags.length-1]||Cr;Tr.ns===Rr.ns&&(Tr.ns=Object.create(Rr.ns)),Tr.ns[Er]=Cr.attribValue}Cr.attribList.push([Cr.attribName,Cr.attribValue])}else Cr.tag.attributes[Cr.attribName]=Cr.attribValue,fr(Cr,"onattribute",{name:Cr.attribName,value:Cr.attribValue});Cr.attribName=Cr.attribValue=""}function gr(Cr,xr){if(Cr.opt.xmlns){var Br=Cr.tag,Er=Mr(Cr.tagName);Br.prefix=Er.prefix,Br.local=Er.local,Br.uri=Br.ns[Er.prefix]||"",Br.prefix&&!Br.uri&&(Sr(Cr,"Unbound namespace prefix: "+JSON.stringify(Cr.tagName)),Br.uri=Er.prefix);var Tr=Cr.tags[Cr.tags.length-1]||Cr;Br.ns&&Tr.ns!==Br.ns&&Object.keys(Br.ns).forEach(function(Po){fr(Cr,"onopennamespace",{prefix:Po,uri:Br.ns[Po]})});for(var Rr=0,kr=Cr.attribList.length;Rr<kr;Rr++){var Wr=Cr.attribList[Rr],Kr=Wr[0],Ar=Wr[1],qr=Mr(Kr,!0),Jr=qr.prefix,Fi=qr.local,To=Jr===""?"":Br.ns[Jr]||"",La={name:Kr,value:Ar,prefix:Jr,local:Fi,uri:To};Jr&&Jr!=="xmlns"&&!To&&(Sr(Cr,"Unbound namespace prefix: "+JSON.stringify(Jr)),La.uri=Jr),Cr.tag.attributes[Kr]=La,fr(Cr,"onattribute",La)}Cr.attribList.length=0}Cr.tag.isSelfClosing=!!xr,Cr.sawRoot=!0,Cr.tags.push(Cr.tag),fr(Cr,"onopentag",Cr.tag),xr||(!Cr.noscript&&Cr.tagName.toLowerCase()==="script"?Cr.state=rr.SCRIPT:Cr.state=rr.TEXT,Cr.tag=null,Cr.tagName=""),Cr.attribName=Cr.attribValue="",Cr.attribList.length=0}function _r(Cr){if(!Cr.tagName){Sr(Cr,"Weird empty close tag."),Cr.textNode+="</>",Cr.state=rr.TEXT;return}if(Cr.script){if(Cr.tagName!=="script"){Cr.script+="</"+Cr.tagName+">",Cr.tagName="",Cr.state=rr.SCRIPT;return}fr(Cr,"onscript",Cr.script),Cr.script=""}var xr=Cr.tags.length,Br=Cr.tagName;Cr.strict||(Br=Br[Cr.looseCase]());for(var Er=Br;xr--;){var Tr=Cr.tags[xr];if(Tr.name!==Er)Sr(Cr,"Unexpected close tag");else break}if(xr<0){Sr(Cr,"Unmatched closing tag: "+Cr.tagName),Cr.textNode+="</"+Cr.tagName+">",Cr.state=rr.TEXT;return}Cr.tagName=Br;for(var Rr=Cr.tags.length;Rr-- >xr;){var kr=Cr.tag=Cr.tags.pop();Cr.tagName=Cr.tag.name,fr(Cr,"onclosetag",Cr.tagName);var Wr={};for(var Kr in kr.ns)Wr[Kr]=kr.ns[Kr];var Ar=Cr.tags[Cr.tags.length-1]||Cr;Cr.opt.xmlns&&kr.ns!==Ar.ns&&Object.keys(kr.ns).forEach(function(qr){var Jr=kr.ns[qr];fr(Cr,"onclosenamespace",{prefix:qr,uri:Jr})})}xr===0&&(Cr.closedRoot=!0),Cr.tagName=Cr.attribValue=Cr.attribName="",Cr.attribList.length=0,Cr.state=rr.TEXT}function Fr(Cr){var xr=Cr.entity,Br=xr.toLowerCase(),Er,Tr="";return Cr.ENTITIES[xr]?Cr.ENTITIES[xr]:Cr.ENTITIES[Br]?Cr.ENTITIES[Br]:(xr=Br,xr.charAt(0)==="#"&&(xr.charAt(1)==="x"?(xr=xr.slice(2),Er=parseInt(xr,16),Tr=Er.toString(16)):(xr=xr.slice(1),Er=parseInt(xr,10),Tr=Er.toString(10))),xr=xr.replace(/^0+/,""),isNaN(Er)||Tr.toLowerCase()!==xr?(Sr(Cr,"Invalid character entity"),"&"+Cr.entity+";"):String.fromCodePoint(Er))}function zr(Cr,xr){xr==="<"?(Cr.state=rr.OPEN_WAKA,Cr.startTagPosition=Cr.position):ze(xr)||(Sr(Cr,"Non-whitespace before first tag."),Cr.textNode=xr,Cr.state=rr.TEXT)}function Vr(Cr,xr){var Br="";return xr<Cr.length&&(Br=Cr.charAt(xr)),Br}function Gr(Cr){var xr=this;if(this.error)throw this.error;if(xr.closed)return Ir(xr,"Cannot write after close. Assign an onready handler.");if(Cr===null)return Nr(xr);typeof Cr=="object"&&(Cr=Cr.toString());for(var Br=0,Er="";Er=Vr(Cr,Br++),xr.c=Er,!!Er;)switch(xr.trackPosition&&(xr.position++,Er===`
`?(xr.line++,xr.column=0):xr.column++),xr.state){case rr.BEGIN:if(xr.state=rr.BEGIN_WHITESPACE,Er==="\uFEFF")continue;zr(xr,Er);continue;case rr.BEGIN_WHITESPACE:zr(xr,Er);continue;case rr.TEXT:if(xr.sawRoot&&!xr.closedRoot){for(var Tr=Br-1;Er&&Er!=="<"&&Er!=="&";)Er=Vr(Cr,Br++),Er&&xr.trackPosition&&(xr.position++,Er===`
`?(xr.line++,xr.column=0):xr.column++);xr.textNode+=Cr.substring(Tr,Br-1)}Er==="<"&&!(xr.sawRoot&&xr.closedRoot&&!xr.strict)?(xr.state=rr.OPEN_WAKA,xr.startTagPosition=xr.position):(!ze(Er)&&(!xr.sawRoot||xr.closedRoot)&&Sr(xr,"Text data outside of root node."),Er==="&"?xr.state=rr.TEXT_ENTITY:xr.textNode+=Er);continue;case rr.SCRIPT:Er==="<"?xr.state=rr.SCRIPT_ENDING:xr.script+=Er;continue;case rr.SCRIPT_ENDING:Er==="/"?xr.state=rr.CLOSE_TAG:(xr.script+="<"+Er,xr.state=rr.SCRIPT);continue;case rr.OPEN_WAKA:if(Er==="!")xr.state=rr.SGML_DECL,xr.sgmlDecl="";else if(!ze(Er))if(tr(Ve,Er))xr.state=rr.OPEN_TAG,xr.tagName=Er;else if(Er==="/")xr.state=rr.CLOSE_TAG,xr.tagName="";else if(Er==="?")xr.state=rr.PROC_INST,xr.procInstName=xr.procInstBody="";else{if(Sr(xr,"Unencoded <"),xr.startTagPosition+1<xr.position){var Rr=xr.position-xr.startTagPosition;Er=new Array(Rr).join(" ")+Er}xr.textNode+="<"+Er,xr.state=rr.TEXT}continue;case rr.SGML_DECL:(xr.sgmlDecl+Er).toUpperCase()===_e?(fr(xr,"onopencdata"),xr.state=rr.CDATA,xr.sgmlDecl="",xr.cdata=""):xr.sgmlDecl+Er==="--"?(xr.state=rr.COMMENT,xr.comment="",xr.sgmlDecl=""):(xr.sgmlDecl+Er).toUpperCase()===Ce?(xr.state=rr.DOCTYPE,(xr.doctype||xr.sawRoot)&&Sr(xr,"Inappropriately located doctype declaration"),xr.doctype="",xr.sgmlDecl=""):Er===">"?(fr(xr,"onsgmldeclaration",xr.sgmlDecl),xr.sgmlDecl="",xr.state=rr.TEXT):(Et(Er)&&(xr.state=rr.SGML_DECL_QUOTED),xr.sgmlDecl+=Er);continue;case rr.SGML_DECL_QUOTED:Er===xr.q&&(xr.state=rr.SGML_DECL,xr.q=""),xr.sgmlDecl+=Er;continue;case rr.DOCTYPE:Er===">"?(xr.state=rr.TEXT,fr(xr,"ondoctype",xr.doctype),xr.doctype=!0):(xr.doctype+=Er,Er==="["?xr.state=rr.DOCTYPE_DTD:Et(Er)&&(xr.state=rr.DOCTYPE_QUOTED,xr.q=Er));continue;case rr.DOCTYPE_QUOTED:xr.doctype+=Er,Er===xr.q&&(xr.q="",xr.state=rr.DOCTYPE);continue;case rr.DOCTYPE_DTD:xr.doctype+=Er,Er==="]"?xr.state=rr.DOCTYPE:Et(Er)&&(xr.state=rr.DOCTYPE_DTD_QUOTED,xr.q=Er);continue;case rr.DOCTYPE_DTD_QUOTED:xr.doctype+=Er,Er===xr.q&&(xr.state=rr.DOCTYPE_DTD,xr.q="");continue;case rr.COMMENT:Er==="-"?xr.state=rr.COMMENT_ENDING:xr.comment+=Er;continue;case rr.COMMENT_ENDING:Er==="-"?(xr.state=rr.COMMENT_ENDED,xr.comment=yr(xr.opt,xr.comment),xr.comment&&fr(xr,"oncomment",xr.comment),xr.comment=""):(xr.comment+="-"+Er,xr.state=rr.COMMENT);continue;case rr.COMMENT_ENDED:Er!==">"?(Sr(xr,"Malformed comment"),xr.comment+="--"+Er,xr.state=rr.COMMENT):xr.state=rr.TEXT;continue;case rr.CDATA:Er==="]"?xr.state=rr.CDATA_ENDING:xr.cdata+=Er;continue;case rr.CDATA_ENDING:Er==="]"?xr.state=rr.CDATA_ENDING_2:(xr.cdata+="]"+Er,xr.state=rr.CDATA);continue;case rr.CDATA_ENDING_2:Er===">"?(xr.cdata&&fr(xr,"oncdata",xr.cdata),fr(xr,"onclosecdata"),xr.cdata="",xr.state=rr.TEXT):Er==="]"?xr.cdata+="]":(xr.cdata+="]]"+Er,xr.state=rr.CDATA);continue;case rr.PROC_INST:Er==="?"?xr.state=rr.PROC_INST_ENDING:ze(Er)?xr.state=rr.PROC_INST_BODY:xr.procInstName+=Er;continue;case rr.PROC_INST_BODY:if(!xr.procInstBody&&ze(Er))continue;Er==="?"?xr.state=rr.PROC_INST_ENDING:xr.procInstBody+=Er;continue;case rr.PROC_INST_ENDING:Er===">"?(fr(xr,"onprocessinginstruction",{name:xr.procInstName,body:xr.procInstBody}),xr.procInstName=xr.procInstBody="",xr.state=rr.TEXT):(xr.procInstBody+="?"+Er,xr.state=rr.PROC_INST_BODY);continue;case rr.OPEN_TAG:tr(Pt,Er)?xr.tagName+=Er:(vr(xr),Er===">"?gr(xr):Er==="/"?xr.state=rr.OPEN_TAG_SLASH:(ze(Er)||Sr(xr,"Invalid character in tag name"),xr.state=rr.ATTRIB));continue;case rr.OPEN_TAG_SLASH:Er===">"?(gr(xr,!0),_r(xr)):(Sr(xr,"Forward-slash in opening tag not followed by >"),xr.state=rr.ATTRIB);continue;case rr.ATTRIB:if(ze(Er))continue;Er===">"?gr(xr):Er==="/"?xr.state=rr.OPEN_TAG_SLASH:tr(Ve,Er)?(xr.attribName=Er,xr.attribValue="",xr.state=rr.ATTRIB_NAME):Sr(xr,"Invalid attribute name");continue;case rr.ATTRIB_NAME:Er==="="?xr.state=rr.ATTRIB_VALUE:Er===">"?(Sr(xr,"Attribute without value"),xr.attribValue=xr.attribName,$r(xr),gr(xr)):ze(Er)?xr.state=rr.ATTRIB_NAME_SAW_WHITE:tr(Pt,Er)?xr.attribName+=Er:Sr(xr,"Invalid attribute name");continue;case rr.ATTRIB_NAME_SAW_WHITE:if(Er==="=")xr.state=rr.ATTRI
`)>-1&&(Cr?Br=Br.split(`
`).map(function(Tr){return" "+Tr}).join(`
`).slice(2):Br=`
`+Br.split(`
`).map(function(Tr){return" "+Tr}).join(`
`))):Br=_r.stylize("[Circular]","special")),tr(xr)){if(Cr&&Gr.match(/^\d+$/))return Br;xr=JSON.stringify(""+Gr),xr.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(xr=xr.slice(1,-1),xr=_r.stylize(xr,"name")):(xr=xr.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),xr=_r.stylize(xr,"string"))}return xr+": "+Br}function Fe(_r,Fr,zr){var Vr=_r.reduce(function(Gr,Cr){return Cr.indexOf(`
`)>=0,Gr+Cr.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Vr>60?zr[0]+(Fr===""?"":Fr+`
`)+" "+_r.join(`,
`)+" "+zr[1]:zr[0]+Fr+" "+_r.join(", ")+" "+zr[1]}L.types=n("./support/types");function Ve(_r){return Array.isArray(_r)}L.isArray=Ve;function Pt(_r){return typeof _r=="boolean"}L.isBoolean=Pt;function kt(_r){return _r===null}L.isNull=kt;function Ue(_r){return _r==null}L.isNullOrUndefined=Ue;function ze(_r){return typeof _r=="number"}L.isNumber=ze;function Et(_r){return typeof _r=="string"}L.isString=Et;function er(_r){return typeof _r=="symbol"}L.isSymbol=er;function tr(_r){return _r===void 0}L.isUndefined=tr;function ir(_r){return rr(_r)&&yr(_r)==="[object RegExp]"}L.isRegExp=ir,L.types.isRegExp=ir;function rr(_r){return typeof _r=="object"&&_r!==null}L.isObject=rr;function lr(_r){return rr(_r)&&yr(_r)==="[object Date]"}L.isDate=lr,L.types.isDate=lr;function ur(_r){return rr(_r)&&(yr(_r)==="[object Error]"||_r instanceof Error)}L.isError=ur,L.types.isNativeError=ur;function fr(_r){return typeof _r=="function"}L.isFunction=fr;function mr(_r){return _r===null||typeof _r=="boolean"||typeof _r=="number"||typeof _r=="string"||typeof _r=="symbol"||typeof _r>"u"}L.isPrimitive=mr,L.isBuffer=n("./support/isBuffer");function yr(_r){return Object.prototype.toString.call(_r)}function Ir(_r){return _r<10?"0"+_r.toString(10):_r.toString(10)}var Nr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Sr(){var _r=new Date,Fr=[Ir(_r.getHours()),Ir(_r.getMinutes()),Ir(_r.getSeconds())].join(":");return[_r.getDate(),Nr[_r.getMonth()],Fr].join(" ")}L.log=function(){console.log("%s - %s",Sr(),L.format.apply(L,arguments))},L.inherits=n("inherits"),L._extend=function(_r,Fr){if(!Fr||!rr(Fr))return _r;for(var zr=Object.keys(Fr),Vr=zr.length;Vr--;)_r[zr[Vr]]=Fr[zr[Vr]];return _r};function vr(_r,Fr){return Object.prototype.hasOwnProperty.call(_r,Fr)}var Mr=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;L.promisify=function(Fr){if(typeof Fr!="function")throw new TypeError('The "original" argument must be of type Function');if(Mr&&Fr[Mr]){var zr=Fr[Mr];if(typeof zr!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(zr,Mr,{value:zr,enumerable:!1,writable:!1,configurable:!0}),zr}function zr(){for(var Vr,Gr,Cr=new Promise(function(Er,Tr){Vr=Er,Gr=Tr}),xr=[],Br=0;Br<arguments.length;Br++)xr.push(arguments[Br]);xr.push(function(Er,Tr){Er?Gr(Er):Vr(Tr)});try{Fr.apply(this,xr)}catch(Er){Gr(Er)}return Cr}return Object.setPrototypeOf(zr,Object.getPrototypeOf(Fr)),Mr&&Object.defineProperty(zr,Mr,{value:zr,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(zr,j(Fr))},L.promisify.custom=Mr;function $r(_r,Fr){if(!_r){var zr=new Error("Promise was rejected with a falsy value");zr.reason=_r,_r=zr}return Fr(_r)}function gr(_r){if(typeof _r!="function")throw new TypeError('The "original" argument must be of type Function');function Fr(){for(var zr=[],Vr=0;Vr<arguments.length;Vr++)zr.push(arguments[Vr]);var Gr=zr.pop();if(typeof Gr!="function")throw new TypeError("The last argument must be of type Function");var Cr=this,xr=function(){return Gr.apply(Cr,arguments)};_r.apply(this,zr).then(function(Br){$.nextTick(xr.bind(null,null,Br))},function(Br){$.nextTick($r.bind(null,Br,xr))})}return Object.setPrototypeOf(Fr,Object.getPrototypeOf(_r)),Object.defineProperties(Fr,j(_r)),Fr}L.callbackify=gr}).call(this)}).call(this,n("_process"))},{"./support/isBuffer":489,"./support/types":490,_process:540,inherits:409}],492:[function(n,k,L){(function($){(function(){var j=n("for-each"),V=n("available-typed-arrays"),z=n("call-bind"),re=n("call-bind/callBound"),ie=n("gopd"),ae=re("Object.prototype.toString"),oe=n("has-tostringtag/shams")(),ue=typeof globalThis>"u"?$:globalThis,de=V(),Oe=re("String.prototype.slice"),_e=Object.getPrototypeOf,Ce=re("Array.prototype.indexOf",!0)||function(Pt,kt){for(var Ue=0;Ue<Pt.length;Ue+=1)if(Pt[Ue]===kt)return Ue;return-1},pe={__proto__:null};oe&&ie&&_e?j(de,function(Ve){var Pt=new ue[Ve];if(Symbol.toStringTag in Pt){var kt=_e(Pt),Ue=ie(kt,Symbol.toStringTag);if(!Ue){var ze=_e(kt);Ue=ie(ze,Symbol.toStringTag)}pe["$"+
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],496:[function(n,k,L){(function(){var $,j,V,z,re,ie,ae,oe,ue,de=function(Ce,pe){return function(){return Ce.apply(pe,arguments)}},Oe=function(Ce,pe){for(var Ne in pe)_e.call(pe,Ne)&&(Ce[Ne]=pe[Ne]);function Fe(){this.constructor=Ce}return Fe.prototype=pe.prototype,Ce.prototype=new Fe,Ce.__super__=pe.prototype,Ce},_e={}.hasOwnProperty;oe=n("sax"),z=n("events"),$=n("./bom"),ae=n("./processors"),ue=n("timers").setImmediate,j=n("./defaults").defaults,re=function(Ce){return typeof Ce=="object"&&Ce!=null&&Object.keys(Ce).length===0},ie=function(Ce,pe,Ne){var Fe,Ve,Pt;for(Fe=0,Ve=Ce.length;Fe<Ve;Fe++)Pt=Ce[Fe],pe=Pt(pe,Ne);return pe},V=function(Ce,pe,Ne){var Fe;return Fe=Object.create(null),Fe.value=Ne,Fe.writable=!0,Fe.enumerable=!0,Fe.configurable=!0,Object.defineProperty(Ce,pe,Fe)},L.Parser=function(Ce){Oe(pe,Ce);function pe(Ne){this.parseStringPromise=de(this.parseStringPromise,this),this.parseString=de(this.parseString,this),this.reset=de(this.reset,this),this.assignOrPush=de(this.assignOrPush,this),this.processAsync=de(this.processAsync,this);var Fe,Ve,Pt;if(!(this instanceof L.Parser))return new L.Parser(Ne);this.options={},Ve=j["0.2"];for(Fe in Ve)_e.call(Ve,Fe)&&(Pt=Ve[Fe],this.options[Fe]=Pt);for(Fe in Ne)_e.call(Ne,Fe)&&(Pt=Ne[Fe],this.options[Fe]=Pt);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(ae.normalize)),this.reset()}return pe.prototype.processAsync=function(){var Ne,Fe;try{return this.remaining.length<=this.options.chunkSize?(Ne=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(Ne),this.saxParser.close()):(Ne=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(Ne),ue(this.processAsync))}catch(Ve){if(Fe=Ve,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(Fe)}},pe.prototype.assignOrPush=function(Ne,Fe,Ve){return Fe in Ne?(Ne[Fe]instanceof Array||V(Ne,Fe,[Ne[Fe]]),Ne[Fe].push(Ve)):this.options.explicitArray?V(Ne,Fe,[Ve]):V(Ne,Fe,Ve)},pe.prototype.reset=function(){var Ne,Fe,Ve,Pt;return this.removeAllListeners(),this.saxParser=oe.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(kt){return function(Ue){if(kt.saxParser.resume(),!kt.saxParser.errThrown)return kt.saxParser.errThrown=!0,kt.emit("error",Ue)}}(this),this.saxParser.onend=function(kt){return function(){if(!kt.saxParser.ended)return kt.saxParser.ended=!0,kt.emit("end",kt.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,Pt=[],Ne=this.options.attrkey,Fe=this.options.charkey,this.saxParser.onopentag=function(kt){return function(Ue){var ze,Et,er,tr,ir;if(er={},er[Fe]="",!kt.options.ignoreAttrs){ir=Ue.attributes;for(ze in ir)_e.call(ir,ze)&&(!(Ne in er)&&!kt.options.mergeAttrs&&(er[Ne]={}),Et=kt.options.attrValueProcessors?ie(kt.options.attrValueProcessors,Ue.attributes[ze],ze):Ue.attributes[ze],tr=kt.options.attrNameProcessors?ie(kt.options.attrNameProcessors,ze):ze,kt.options.mergeAttrs?kt.assignOrPush(er,tr,Et):V(er[Ne],tr,Et))}return er["#name"]=kt.options.tagNameProcessors?ie(kt.options.tagNameProcessors,Ue.name):Ue.name,kt.options.xmlns&&(er[kt.options.xmlnskey]={uri:Ue.uri,local:Ue.local}),Pt.push(er)}}(this),this.saxParser.onclosetag=function(kt){return function(){var Ue,ze,Et,er,tr,ir,rr,lr,ur,fr;if(ir=Pt.pop(),tr=ir["#name"],(!kt.options.explicitChildren||!kt.options.preserveChildrenOrder)&&delete ir["#name"],ir.cdata===!0&&(Ue=ir.cdata,delete ir.cdata),ur=Pt[Pt.length-1],ir[Fe].match(/^\s*$/)&&!Ue?(ze=ir[Fe],delete ir[Fe]):(kt.options.trim&&(ir[Fe]=ir[Fe].trim()),kt.options.normalize&&(ir[Fe]=ir[Fe].replace(/\s{2,}/g," ").trim()),ir[Fe]=kt.options.valueProcessors?ie(kt.options.valueProcessors,ir[Fe],tr):ir[Fe],Object
`,ae.offset=(de=ie.offset)!=null?de:0,ae.dontPrettyTextNodes=(Oe=(_e=ie.dontPrettyTextNodes)!=null?_e:ie.dontprettytextnodes)!=null?Oe:0,ae.spaceBeforeSlash=(Ce=(pe=ie.spaceBeforeSlash)!=null?pe:ie.spacebeforeslash)!=null?Ce:"",ae.spaceBeforeSlash===!0&&(ae.spaceBeforeSlash=" "),ae.suppressPrettyCount=0,ae.user={},ae.state=j.None,ae},re.prototype.indent=function(ie,ae,oe){var ue;return!ae.pretty||ae.suppressPrettyCount?"":ae.pretty&&(ue=(oe||0)+ae.offset+1,ue>0)?new Array(ue).join(ae.indent):""},re.prototype.endline=function(ie,ae,oe){return!ae.pretty||ae.suppressPrettyCount?"":ae.newline},re.prototype.attribute=function(ie,ae,oe){var ue;return this.openAttribute(ie,ae,oe),ue=" "+ie.name+'="'+ie.value+'"',this.closeAttribute(ie,ae,oe),ue},re.prototype.cdata=function(ie,ae,oe){var ue;return this.openNode(ie,ae,oe),ae.state=j.OpenTag,ue=this.indent(ie,ae,oe)+"<![CDATA[",ae.state=j.InsideTag,ue+=ie.value,ae.state=j.CloseTag,ue+="]]>"+this.endline(ie,ae,oe),ae.state=j.None,this.closeNode(ie,ae,oe),ue},re.prototype.comment=function(ie,ae,oe){var ue;return this.openNode(ie,ae,oe),ae.state=j.OpenTag,ue=this.indent(ie,ae,oe)+"<!-- ",ae.state=j.InsideTag,ue+=ie.value,ae.state=j.CloseTag,ue+=" -->"+this.endline(ie,ae,oe),ae.state=j.None,this.closeNode(ie,ae,oe),ue},re.prototype.declaration=function(ie,ae,oe){var ue;return this.openNode(ie,ae,oe),ae.state=j.OpenTag,ue=this.indent(ie,ae,oe)+"<?xml",ae.state=j.InsideTag,ue+=' version="'+ie.version+'"',ie.encoding!=null&&(ue+=' encoding="'+ie.encoding+'"'),ie.standalone!=null&&(ue+=' standalone="'+ie.standalone+'"'),ae.state=j.CloseTag,ue+=ae.spaceBeforeSlash+"?>",ue+=this.endline(ie,ae,oe),ae.state=j.None,this.closeNode(ie,ae,oe),ue},re.prototype.docType=function(ie,ae,oe){var ue,de,Oe,_e,Ce;if(oe||(oe=0),this.openNode(ie,ae,oe),ae.state=j.OpenTag,_e=this.indent(ie,ae,oe),_e+="<!DOCTYPE "+ie.root().name,ie.pubID&&ie.sysID?_e+=' PUBLIC "'+ie.pubID+'" "'+ie.sysID+'"':ie.sysID&&(_e+=' SYSTEM "'+ie.sysID+'"'),ie.children.length>0){for(_e+=" [",_e+=this.endline(ie,ae,oe),ae.state=j.InsideTag,Ce=ie.children,de=0,Oe=Ce.length;de<Oe;de++)ue=Ce[de],_e+=this.writeChildNode(ue,ae,oe+1);ae.state=j.CloseTag,_e+="]"}return ae.state=j.CloseTag,_e+=ae.spaceBeforeSlash+">",_e+=this.endline(ie,ae,oe),ae.state=j.None,this.closeNode(ie,ae,oe),_e},re.prototype.element=function(ie,ae,oe){var ue,de,Oe,_e,Ce,pe,Ne,Fe,Ve,Pt,kt,Ue,ze,Et;oe||(oe=0),Pt=!1,kt="",this.openNode(ie,ae,oe),ae.state=j.OpenTag,kt+=this.indent(ie,ae,oe)+"<"+ie.name,Ue=ie.attribs;for(Ve in Ue)z.call(Ue,Ve)&&(ue=Ue[Ve],kt+=this.attribute(ue,ae,oe));if(Oe=ie.children.length,_e=Oe===0?null:ie.children[0],Oe===0||ie.children.every(function(er){return(er.type===$.Text||er.type===$.Raw)&&er.value===""}))ae.allowEmpty?(kt+=">",ae.state=j.CloseTag,kt+="</"+ie.name+">"+this.endline(ie,ae,oe)):(ae.state=j.CloseTag,kt+=ae.spaceBeforeSlash+"/>"+this.endline(ie,ae,oe));else if(ae.pretty&&Oe===1&&(_e.type===$.Text||_e.type===$.Raw)&&_e.value!=null)kt+=">",ae.state=j.InsideTag,ae.suppressPrettyCount++,Pt=!0,kt+=this.writeChildNode(_e,ae,oe+1),ae.suppressPrettyCount--,Pt=!1,ae.state=j.CloseTag,kt+="</"+ie.name+">"+this.endline(ie,ae,oe);else{if(ae.dontPrettyTextNodes){for(ze=ie.children,Ce=0,Ne=ze.length;Ce<Ne;Ce++)if(de=ze[Ce],(de.type===$.Text||de.type===$.Raw)&&de.value!=null){ae.suppressPrettyCount++,Pt=!0;break}}for(kt+=">"+this.endline(ie,ae,oe),ae.state=j.InsideTag,Et=ie.children,pe=0,Fe=Et.length;pe<Fe;pe++)de=Et[pe],kt+=this.writeChildNode(de,ae,oe+1);ae.state=j.CloseTag,kt+=this.indent(ie,ae,oe)+"</"+ie.name+">",Pt&&ae.suppressPrettyCount--,kt+=this.endline(ie,ae,oe),ae.state=j.None}return this.closeNode(ie,ae,oe),kt},re.prototype.writeChildNode=function(ie,ae,oe){switch(ie.type){case $.CData:return this.cdata(ie,ae,oe);case $.Comment:return this.comment(ie,ae,oe);case $.Element:return this.element(ie,ae,oe);case $.Raw:return this.raw(ie,ae,oe);case $.Text:return this.text(ie,ae,oe);case $.ProcessingInstruction:return this.processingInstruction(ie,ae,oe);case $.Dummy:return"";case $.Declaration:return this.declaration(ie,ae,oe);case $.DocTyp
`))}L.createHash=function(Oe){return ue(Oe)},L.createHmac=function(Oe,_e){return ue(Oe,_e)},L.createCredentials=function(){de("sorry,createCredentials is not implemented yet")},L.createCipher=function(){de("sorry,createCipher is not implemented yet")},L.createCipheriv=function(){de("sorry,createCipheriv is not implemented yet")},L.createDecipher=function(){de("sorry,createDecipher is not implemented yet")},L.createDecipheriv=function(){de("sorry,createDecipheriv is not implemented yet")},L.createSign=function(){de("sorry,createSign is not implemented yet")},L.createVerify=function(){de("sorry,createVerify is not implemented yet")},L.createDiffieHellman=function(){de("sorry,createDiffieHellman is not implemented yet")},L.pbkdf2=function(){de("sorry,pbkdf2 is not implemented yet")}},{"./md5":535,"./sha":536,"./sha256":537,buffer:103,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.fill.js":311,"core-js/modules/es.array.join.js":317,"core-js/modules/es.array.slice.js":319,"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.regexp.to-string.js":341}],534:[function(n,k,L){n("core-js/modules/es.array.fill.js"),n("core-js/modules/es.array.concat.js");var $=n("buffer").Buffer,j=4,V=$.alloc(j);V.fill(0);var z=8;function re(oe,ue){if(oe.length%j!==0){var de=oe.length+(j-oe.length%j);oe=$.concat([oe,V],de)}for(var Oe=[],_e=ue?oe.readInt32BE:oe.readInt32LE,Ce=0;Ce<oe.length;Ce+=j)Oe.push(_e.call(oe,Ce));return Oe}function ie(oe,ue,de){for(var Oe=$.alloc(ue),_e=de?Oe.writeInt32BE:Oe.writeInt32LE,Ce=0;Ce<oe.length;Ce++)_e.call(Oe,oe[Ce],Ce*4,!0);return Oe}function ae(oe,ue,de,Oe){$.isBuffer(oe)||(oe=$.from(oe));var _e=ue(re(oe,Oe),oe.length*z);return ie(_e,de,Oe)}k.exports={hash:ae}},{buffer:103,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.fill.js":311}],535:[function(n,k,L){var $=n("./helpers");function j(de,Oe){de[Oe>>5]|=128<<Oe%32,de[(Oe+64>>>9<<4)+14]=Oe;for(var _e=1732584193,Ce=-271733879,pe=-1732584194,Ne=271733878,Fe=0;Fe<de.length;Fe+=16){var Ve=_e,Pt=Ce,kt=pe,Ue=Ne;_e=z(_e,Ce,pe,Ne,de[Fe+0],7,-680876936),Ne=z(Ne,_e,Ce,pe,de[Fe+1],12,-389564586),pe=z(pe,Ne,_e,Ce,de[Fe+2],17,606105819),Ce=z(Ce,pe,Ne,_e,de[Fe+3],22,-1044525330),_e=z(_e,Ce,pe,Ne,de[Fe+4],7,-176418897),Ne=z(Ne,_e,Ce,pe,de[Fe+5],12,1200080426),pe=z(pe,Ne,_e,Ce,de[Fe+6],17,-1473231341),Ce=z(Ce,pe,Ne,_e,de[Fe+7],22,-45705983),_e=z(_e,Ce,pe,Ne,de[Fe+8],7,1770035416),Ne=z(Ne,_e,Ce,pe,de[Fe+9],12,-1958414417),pe=z(pe,Ne,_e,Ce,de[Fe+10],17,-42063),Ce=z(Ce,pe,Ne,_e,de[Fe+11],22,-1990404162),_e=z(_e,Ce,pe,Ne,de[Fe+12],7,1804603682),Ne=z(Ne,_e,Ce,pe,de[Fe+13],12,-40341101),pe=z(pe,Ne,_e,Ce,de[Fe+14],17,-1502002290),Ce=z(Ce,pe,Ne,_e,de[Fe+15],22,1236535329),_e=re(_e,Ce,pe,Ne,de[Fe+1],5,-165796510),Ne=re(Ne,_e,Ce,pe,de[Fe+6],9,-1069501632),pe=re(pe,Ne,_e,Ce,de[Fe+11],14,643717713),Ce=re(Ce,pe,Ne,_e,de[Fe+0],20,-373897302),_e=re(_e,Ce,pe,Ne,de[Fe+5],5,-701558691),Ne=re(Ne,_e,Ce,pe,de[Fe+10],9,38016083),pe=re(pe,Ne,_e,Ce,de[Fe+15],14,-660478335),Ce=re(Ce,pe,Ne,_e,de[Fe+4],20,-405537848),_e=re(_e,Ce,pe,Ne,de[Fe+9],5,568446438),Ne=re(Ne,_e,Ce,pe,de[Fe+14],9,-1019803690),pe=re(pe,Ne,_e,Ce,de[Fe+3],14,-187363961),Ce=re(Ce,pe,Ne,_e,de[Fe+8],20,1163531501),_e=re(_e,Ce,pe,Ne,de[Fe+13],5,-1444681467),Ne=re(Ne,_e,Ce,pe,de[Fe+2],9,-51403784),pe=re(pe,Ne,_e,Ce,de[Fe+7],14,1735328473),Ce=re(Ce,pe,Ne,_e,de[Fe+12],20,-1926607734),_e=ie(_e,Ce,pe,Ne,de[Fe+5],4,-378558),Ne=ie(Ne,_e,Ce,pe,de[Fe+8],11,-2022574463),pe=ie(pe,Ne,_e,Ce,de[Fe+11],16,1839030562),Ce=ie(Ce,pe,Ne,_e,de[Fe+14],23,-35309556),_e=ie(_e,Ce,pe,Ne,de[Fe+1],4,-1530992060),Ne=ie(Ne,_e,Ce,pe,de[Fe+4],11,1272893353),pe=ie(pe,Ne,_e,Ce,de[Fe+7],16,-155497632),Ce=ie(Ce,pe,Ne,_e,de[Fe+10],23,-1094730640),_e=ie(_e,Ce,pe,Ne,de[Fe+13],4,681279174),Ne=ie(Ne,_e,Ce,pe,de[Fe+0],11,-358537222),pe=ie(pe,Ne,_e,Ce,de[Fe+3],16,-722521979),Ce=ie(Ce,pe,Ne,_e,de[Fe+6],23,76029189),_e=ie(_e,Ce,pe,Ne,de[Fe+9],4,-640364487),Ne=ie(Ne,_e,Ce,pe,de[Fe+12],11,-421815835),pe=ie(pe,Ne,_e,Ce,de[Fe+15],16,530742520),Ce=ie(Ce,pe,Ne,_e,de[Fe+2],23,-995338651),_e=ae(_e,Ce,pe,Ne,de[Fe+0],6,-198630844),Ne=ae(Ne,_e
`," "],de=["{","}","|","\\","^","`"].concat(ue),Oe=["'"].concat(de),_e=["%","/","?",";","#"].concat(Oe),Ce=["/","?","#"],pe=255,Ne=/^[+a-z0-9A-Z_-]{0,63}$/,Fe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ve={javascript:!0,"javascript:":!0},Pt={javascript:!0,"javascript:":!0},kt={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Ue=n("querystring");function ze(ir,rr,lr){if(ir&&z.isObject(ir)&&ir instanceof re)return ir;var ur=new re;return ur.parse(ir,rr,lr),ur}re.prototype.parse=function(ir,rr,lr){if(!z.isString(ir))throw new TypeError("Parameter 'url' must be a string, not "+(0,j.default)(ir));var ur=ir.indexOf("?"),fr=ur!==-1&&ur<ir.indexOf("#")?"?":"#",mr=ir.split(fr),yr=/\\/g;mr[0]=mr[0].replace(yr,"/"),ir=mr.join(fr);var Ir=ir;if(Ir=Ir.trim(),!lr&&ir.split("#").length===1){var Nr=oe.exec(Ir);if(Nr)return this.path=Ir,this.href=Ir,this.pathname=Nr[1],Nr[2]?(this.search=Nr[2],rr?this.query=Ue.parse(this.search.substr(1)):this.query=this.search.substr(1)):rr&&(this.search="",this.query={}),this}var Sr=ie.exec(Ir);if(Sr){Sr=Sr[0];var vr=Sr.toLowerCase();this.protocol=vr,Ir=Ir.substr(Sr.length)}if(lr||Sr||Ir.match(/^\/\/[^@\/]+@[^@\/]+/)){var Mr=Ir.substr(0,2)==="//";Mr&&!(Sr&&Pt[Sr])&&(Ir=Ir.substr(2),this.slashes=!0)}if(!Pt[Sr]&&(Mr||Sr&&!kt[Sr])){for(var $r=-1,gr=0;gr<Ce.length;gr++){var _r=Ir.indexOf(Ce[gr]);_r!==-1&&($r===-1||_r<$r)&&($r=_r)}var Fr,zr;$r===-1?zr=Ir.lastIndexOf("@"):zr=Ir.lastIndexOf("@",$r),zr!==-1&&(Fr=Ir.slice(0,zr),Ir=Ir.slice(zr+1),this.auth=decodeURIComponent(Fr)),$r=-1;for(var gr=0;gr<_e.length;gr++){var _r=Ir.indexOf(_e[gr]);_r!==-1&&($r===-1||_r<$r)&&($r=_r)}$r===-1&&($r=Ir.length),this.host=Ir.slice(0,$r),Ir=Ir.slice($r),this.parseHost(),this.hostname=this.hostname||"";var Vr=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Vr)for(var Gr=this.hostname.split("."),gr=0,Cr=Gr.length;gr<Cr;gr++){var xr=Gr[gr];if(xr&&!xr.match(Ne)){for(var Br="",Er=0,Tr=xr.length;Er<Tr;Er++)xr.charCodeAt(Er)>127?Br+="x":Br+=xr[Er];if(!Br.match(Ne)){var Rr=Gr.slice(0,gr),kr=Gr.slice(gr+1),Wr=xr.match(Fe);Wr&&(Rr.push(Wr[1]),kr.unshift(Wr[2])),kr.length&&(Ir="/"+kr.join(".")+Ir),this.hostname=Rr.join(".");break}}}this.hostname.length>pe?this.hostname="":this.hostname=this.hostname.toLowerCase(),Vr||(this.hostname=V.toASCII(this.hostname));var Kr=this.port?":"+this.port:"",Ar=this.hostname||"";this.host=Ar+Kr,this.href+=this.host,Vr&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Ir[0]!=="/"&&(Ir="/"+Ir))}if(!Ve[vr])for(var gr=0,Cr=Oe.length;gr<Cr;gr++){var qr=Oe[gr];if(Ir.indexOf(qr)!==-1){var Jr=encodeURIComponent(qr);Jr===qr&&(Jr=escape(qr)),Ir=Ir.split(qr).join(Jr)}}var Fi=Ir.indexOf("#");Fi!==-1&&(this.hash=Ir.substr(Fi),Ir=Ir.slice(0,Fi));var To=Ir.indexOf("?");if(To!==-1?(this.search=Ir.substr(To),this.query=Ir.substr(To+1),rr&&(this.query=Ue.parse(this.query)),Ir=Ir.slice(0,To)):rr&&(this.search="",this.query={}),Ir&&(this.pathname=Ir),kt[vr]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Kr=this.pathname||"",La=this.search||"";this.path=Kr+La}return this.href=this.format(),this};function Et(ir){return z.isString(ir)&&(ir=ze(ir)),ir instanceof re?ir.format():re.prototype.format.call(ir)}re.prototype.format=function(){var ir=this.auth||"";ir&&(ir=encodeURIComponent(ir),ir=ir.replace(/%3A/i,":"),ir+="@");var rr=this.protocol||"",lr=this.pathname||"",ur=this.hash||"",fr=!1,mr="";this.host?fr=ir+this.host:this.hostname&&(fr=ir+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(fr+=":"+this.port)),this.query&&z.isObject(this.query)&&Object.keys(this.query).length&&(mr=Ue.stringify(this.query));var yr=this.search||mr&&"?"+mr||"";return rr&&rr.substr(-1)!==":"&&(rr+=":"),this.slashes||(!rr||kt[rr])&&fr!==!1?(fr="//"+(fr||""),lr&&lr.charAt(0)!=="/"&&(lr="/"+lr)):fr||(fr=""),ur&&ur.charAt(0)!=="#"&&(ur="#"+ur),yr&&yr.charAt(0)!=="?"&&(yr="?"+yr),lr=lr.replace(/[?#]/g,function(Ir){return encodeURIComponent(Ir)}),yr=yr.replace("#","%23"),rr+fr+lr+yr+ur};function er(ir,rr){retur
stack: %s`,Date(),er,$.pid,Dr.name,Dr.message,Dr.stack);return}var fa=ze;ze=null;var na={};kn&&(xr=kn.statusCode,na=kn.headers);var Fa=Date.now()-ir;Rr&&(Rr.contentDownload=Fa),ue("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Fa,Cr,xr,Ir.method,Ir.host,Ir.path,Gr,Rr);var vo={status:xr,statusCode:xr,headers:na,size:Cr,aborted:Br,rt:Fa,keepAliveSocket:Gr,data:Rn,requestUrls:Ue.requestUrls,timing:Rr,remoteAddress:Er,remotePort:Tr};if(Dr){var Vi="";mr&&typeof mr.getCurrentStatus=="function"&&(Vi=", agent status: "+JSON.stringify(mr.getCurrentStatus())),Dr.message+=", "+Ir.method+" "+kt+" "+xr+" (connected: "+Vr+", keepalive socket: "+Gr+Vi+`)
headers: `+JSON.stringify(na),Dr.data=Rn,Dr.path=Ir.path,Dr.status=xr,Dr.headers=na,Dr.res=vo}fa(Dr,Rn,Ue.streaming?kn:vo),Ue.emitter&&(tr.url=kt,tr.socket=Zn&&Zn.connection,tr.options=Ir,tr.size=$r,Ue.emitter.emit("response",{requestId:er,error:Dr,ctx:Ue.ctx,req:tr,res:vo}))}function Ar(Dr){var Rn=null;if(Ue.followRedirect&&statuses.redirect[Dr.statusCode]){Ue._followRedirectCount=(Ue._followRedirectCount||0)+1;var kn=Dr.headers.location;if(!kn)Rn=new Error("Got statusCode "+Dr.statusCode+" but cannot resolve next location from headers"),Rn.name="FollowRedirectError";else if(Ue._followRedirectCount>Ue.maxRedirects)Rn=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+kt),Rn.name="MaxRedirectError";else{var fa=Ue.formatRedirectUrl?Ue.formatRedirectUrl(kt,kn):ie.resolve(kt,kn);ue("Request#%d %s: `redirected` from %s to %s",er,Ir.path,kt,fa),Wr(),Ue.headers&&Ue.headers.Host&&Ce.test(kn)&&(Ue.headers.Host=null);var na=ze;return ze=null,L.requestWithCallback(fa,Ue,na),{redirect:!0,error:null}}}return{redirect:!1,error:Rn}}Ue.gzip&&!Ir.headers["Accept-Encoding"]&&!Ir.headers["accept-encoding"]&&(Ir.headers["Accept-Encoding"]="gzip");function qr(Dr,Rn,kn){var fa=Dr.headers["content-encoding"];return kn(null,Rn,fa)}var Jr=Ue.writeStream;ue("Request#%d %s %s with headers %j, options.path: %s",er,lr,kt,Ir.headers,Ir.path),Ue.requestUrls.push(kt);function Fi(Dr){if(Rr&&(Rr.waiting=Date.now()-ir),ue("Request#%d %s `req response` event emit: status %d, headers: %j",er,kt,Dr.statusCode,Dr.headers),Ue.streaming){var Rn=Ar(Dr);if(Rn.redirect){Dr.resume();return}return Rn.error?(Dr.resume(),Kr(Rn.error,null,Dr)):Kr(null,null,Dr)}if(Dr.on("close",function(){ue("Request#%d %s: `res close` event emit, total size %d",er,kt,Cr)}),Dr.on("error",function(){ue("Request#%d %s: `res error` event emit, total size %d",er,kt,Cr)}),Dr.on("aborted",function(){Br=!0,ue("Request#%d %s: `res aborted` event emit, total size %d",er,kt,Cr)}),Jr){var kn=Ar(Dr);if(kn.redirect){Dr.resume();return}return kn.error?(Dr.resume(),Jr.end(),Kr(kn.error,null,Dr)):(Ue.consumeWriteStream===!1?Dr.on("end",Kr.bind(null,null,null,Dr)):Jr.on("close",function(){ue("Request#%d %s: writeStream close event emitted",er,kt),Kr(zr||null,null,Dr)}),Dr.pipe(Jr))}var fa=[];Dr.on("data",function(na){ue("Request#%d %s: `res data` event emit, size %d",er,kt,na.length),Cr+=na.length,fa.push(na)}),Dr.on("end",function(){var na=j.concat(fa,Cr);if(ue("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",er,kt,Cr,Dr._dumped),zr)return Kr(zr,na,Dr);var Fa=Ar(Dr);if(Fa.error)return Kr(Fa.error,na,Dr);Fa.redirect||qr(Dr,na,function(vo,Vi,ea){if(vo)return Kr(vo,na,Dr);if(!ea&&Ve.indexOf(Ue.dataType)>=0){try{Vi=decodeBodyByCharset(Vi,Dr)}catch(ws){return ue("decodeBodyByCharset error: %s",ws),Kr(null,Vi,Dr)}if(Ue.dataType==="json")if(Cr===0)Vi=null;else{var Aa=parseJSON(Vi,yr);Aa.error?vo=Aa.error:Vi=Aa.data}}Br&&ue("Request#%d %s: Remote socket was terminated before `response.end()` was called",er,kt),Kr(vo,Vi,Dr)})})}var To,La;Array.isArray(Ue.timeout)?(To=de(Ue.timeout[0]),La=de(Ue.timeout[1])):To=La=de(Ue.timeout),ue("ConnectTimeout: %d, ResponseTimeout: %d",To,La);function Po(){ue("Connect timer ticking, timeout: %d",To),_r=setTimeout(function(){_r=null,xr===-1&&(xr=-2);var Dr="Connect timeout for "+To+"ms",Rn="ConnectionTimeoutError";Zn.socket||(Rn="SocketAssignTimeoutError",Dr+=", working sockets is full"),zr=new Error(Dr),zr.name=Rn,zr.requestId=er,ue("ConnectTimeout: Request#%d %s %s: %s, connected: %s",er,kt,zr.name,Dr,Vr),Hr()},To)}function ns(){ue("Response timer ticking, timeout: %d",La),Fr=setTimeout(function(){Fr=null;var Dr="Response timeout for "+La+"ms",Rn="ResponseTimeoutError";zr=new Error(Dr),zr.name=Rn,zr.requestId=er,ue("ResponseTimeout: Request#%d %s %s: %s, connected: %s",er,kt,zr.name,Dr,Vr),Hr()},La)}var Zn;Ir.mode=Ue.mode?Ue.mode:"";try{Zn=fr.request(Ir,Fi)}catch(Dr){return Kr(Dr)}typeof window>"u"?Po():Zn.on("requestTimeout",function(){xr===-1&&(xr=-2);var Dr="Connect timeout for "+To+"ms",Rn="ConnectionTimeoutError";zr=new Error(Dr),zr
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/(function(e){var t=base64Js,y=ieee754,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=j,e.SlowBuffer=Ce,e.INSPECT_MAX_BYTES=50;var k=2147483647;e.kMaxLength=k,j.TYPED_ARRAY_SUPPORT=L(),!j.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 L(){try{var Er=new Uint8Array(1),Tr={foo:function(){return 42}};return Object.setPrototypeOf(Tr,Uint8Array.prototype),Object.setPrototypeOf(Er,Tr),Er.foo()===42}catch{return!1}}Object.defineProperty(j.prototype,"parent",{enumerable:!0,get:function(){if(j.isBuffer(this))return this.buffer}}),Object.defineProperty(j.prototype,"offset",{enumerable:!0,get:function(){if(j.isBuffer(this))return this.byteOffset}});function $(Er){if(Er>k)throw new RangeError('The value "'+Er+'" is invalid for option "size"');var Tr=new Uint8Array(Er);return Object.setPrototypeOf(Tr,j.prototype),Tr}function j(Er,Tr,Rr){if(typeof Er=="number"){if(typeof Tr=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ie(Er)}return V(Er,Tr,Rr)}j.poolSize=8192;function V(Er,Tr,Rr){if(typeof Er=="string")return ae(Er,Tr);if(ArrayBuffer.isView(Er))return ue(Er);if(Er==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Er);if(Cr(Er,ArrayBuffer)||Er&&Cr(Er.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Cr(Er,SharedArrayBuffer)||Er&&Cr(Er.buffer,SharedArrayBuffer)))return de(Er,Tr,Rr);if(typeof Er=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var kr=Er.valueOf&&Er.valueOf();if(kr!=null&&kr!==Er)return j.from(kr,Tr,Rr);var Wr=Oe(Er);if(Wr)return Wr;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Er[Symbol.toPrimitive]=="function")return j.from(Er[Symbol.toPrimitive]("string"),Tr,Rr);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Er)}j.from=function(Er,Tr,Rr){return V(Er,Tr,Rr)},Object.setPrototypeOf(j.prototype,Uint8Array.prototype),Object.setPrototypeOf(j,Uint8Array);function z(Er){if(typeof Er!="number")throw new TypeError('"size" argument must be of type number');if(Er<0)throw new RangeError('The value "'+Er+'" is invalid for option "size"')}function re(Er,Tr,Rr){return z(Er),Er<=0?$(Er):Tr!==void 0?typeof Rr=="string"?$(Er).fill(Tr,Rr):$(Er).fill(Tr):$(Er)}j.alloc=function(Er,Tr,Rr){return re(Er,Tr,Rr)};function ie(Er){return z(Er),$(Er<0?0:_e(Er)|0)}j.allocUnsafe=function(Er){return ie(Er)},j.allocUnsafeSlow=function(Er){return ie(Er)};function ae(Er,Tr){if((typeof Tr!="string"||Tr==="")&&(Tr="utf8"),!j.isEncoding(Tr))throw new TypeError("Unknown encoding: "+Tr);var Rr=pe(Er,Tr)|0,kr=$(Rr),Wr=kr.write(Er,Tr);return Wr!==Rr&&(kr=kr.slice(0,Wr)),kr}function oe(Er){for(var Tr=Er.length<0?0:_e(Er.length)|0,Rr=$(Tr),kr=0;kr<Tr;kr+=1)Rr[kr]=Er[kr]&255;return Rr}function ue(Er){if(Cr(Er,Uint8Array)){var Tr=new Uint8Array(Er);return de(Tr.buffer,Tr.byteOffset,Tr.byteLength)}return oe(Er)}function de(Er,Tr,Rr){if(Tr<0||Er.byteLength<Tr)throw new RangeError('"offset" is outside of buffer bounds');if(Er.byteLength<Tr+(Rr||0))throw new RangeError('"length" is outside of buffer bounds');var kr;return Tr===void 0&&Rr===void 0?kr=new Uint8Array(Er):Rr===void 0?kr=new Uint8Array(Er,Tr):kr=new Uint8Array(Er,Tr,Rr),Object.setPrototypeOf(kr,j.prototype),kr}function Oe(Er){if(j.isBuffer(Er)){var Tr=_e(Er.length)|0,Rr=$(Tr);return Rr.length===0||Er.copy(Rr,0,0,Tr),Rr}if(Er.length!==void 0)return typeof Er.length!="number"||xr(Er.length)?$(0):oe(Er);if(Er.type==="Buffer"&&Array.isArray(Er.data))return oe(Er.data)}function _e(Er){if(Er>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return Er|0}function Ce(Er){return+Er!=Er&&(
`)>-1&&(Fr?Vr=Vr.split(`
`).map(function(Cr){return" "+Cr}).join(`
`).slice(2):Vr=`
`+Vr.split(`
`).map(function(Cr){return" "+Cr}).join(`
`))):Vr=vr.stylize("[Circular]","special")),Ue(zr)){if(Fr&&_r.match(/^\d+$/))return Vr;zr=JSON.stringify(""+_r),zr.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(zr=zr.slice(1,-1),zr=vr.stylize(zr,"name")):(zr=zr.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),zr=vr.stylize(zr,"string"))}return zr+": "+Vr}function _e(vr,Mr,$r){var gr=vr.reduce(function(_r,Fr){return Fr.indexOf(`
`)>=0,_r+Fr.replace(/\u001b\[\d\d?m/g,"").length+1},0);return gr>60?$r[0]+(Mr===""?"":Mr+`
`)+" "+vr.join(`,
`)+" "+$r[1]:$r[0]+Mr+" "+vr.join(", ")+" "+$r[1]}e.types=types;function Ce(vr){return Array.isArray(vr)}e.isArray=Ce;function pe(vr){return typeof vr=="boolean"}e.isBoolean=pe;function Ne(vr){return vr===null}e.isNull=Ne;function Fe(vr){return vr==null}e.isNullOrUndefined=Fe;function Ve(vr){return typeof vr=="number"}e.isNumber=Ve;function Pt(vr){return typeof vr=="string"}e.isString=Pt;function kt(vr){return typeof vr=="symbol"}e.isSymbol=kt;function Ue(vr){return vr===void 0}e.isUndefined=Ue;function ze(vr){return Et(vr)&&lr(vr)==="[object RegExp]"}e.isRegExp=ze,e.types.isRegExp=ze;function Et(vr){return typeof vr=="object"&&vr!==null}e.isObject=Et;function er(vr){return Et(vr)&&lr(vr)==="[object Date]"}e.isDate=er,e.types.isDate=er;function tr(vr){return Et(vr)&&(lr(vr)==="[object Error]"||vr instanceof Error)}e.isError=tr,e.types.isNativeError=tr;function ir(vr){return typeof vr=="function"}e.isFunction=ir;function rr(vr){return vr===null||typeof vr=="boolean"||typeof vr=="number"||typeof vr=="string"||typeof vr=="symbol"||typeof vr>"u"}e.isPrimitive=rr,e.isBuffer=isBufferBrowser;function lr(vr){return Object.prototype.toString.call(vr)}function ur(vr){return vr<10?"0"+vr.toString(10):vr.toString(10)}var fr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function mr(){var vr=new Date,Mr=[ur(vr.getHours()),ur(vr.getMinutes()),ur(vr.getSeconds())].join(":");return[vr.getDate(),fr[vr.getMonth()],Mr].join(" ")}e.log=function(){console.log("%s - %s",mr(),e.format.apply(e,arguments))},e.inherits=inherits_browserExports,e._extend=function(vr,Mr){if(!Mr||!Et(Mr))return vr;for(var $r=Object.keys(Mr),gr=$r.length;gr--;)vr[$r[gr]]=Mr[$r[gr]];return vr};function yr(vr,Mr){return Object.prototype.hasOwnProperty.call(vr,Mr)}var Ir=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(Mr){if(typeof Mr!="function")throw new TypeError('The "original" argument must be of type Function');if(Ir&&Mr[Ir]){var $r=Mr[Ir];if(typeof $r!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty($r,Ir,{value:$r,enumerable:!1,writable:!1,configurable:!0}),$r}function $r(){for(var gr,_r,Fr=new Promise(function(Gr,Cr){gr=Gr,_r=Cr}),zr=[],Vr=0;Vr<arguments.length;Vr++)zr.push(arguments[Vr]);zr.push(function(Gr,Cr){Gr?_r(Gr):gr(Cr)});try{Mr.apply(this,zr)}catch(Gr){_r(Gr)}return Fr}return Object.setPrototypeOf($r,Object.getPrototypeOf(Mr)),Ir&&Object.defineProperty($r,Ir,{value:$r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties($r,n(Mr))},e.promisify.custom=Ir;function Nr(vr,Mr){if(!vr){var $r=new Error("Promise was rejected with a falsy value");$r.reason=vr,vr=$r}return Mr(vr)}function Sr(vr){if(typeof vr!="function")throw new TypeError('The "original" argument must be of type Function');function Mr(){for(var $r=[],gr=0;gr<arguments.length;gr++)$r.push(arguments[gr]);var _r=$r.pop();if(typeof _r!="function")throw new TypeError("The last argument must be of type Function");var Fr=this,zr=function(){return _r.apply(Fr,arguments)};vr.apply(this,$r).then(function(Vr){t.nextTick(zr.bind(null,null,Vr))},function(Vr){t.nextTick(Nr.bind(null,Vr,zr))})}return Object.setPrototypeOf(Mr,Object.getPrototypeOf(vr)),Object.defineProperties(Mr,n(vr)),Mr}e.callbackify=Sr})(util$5);var buffer_list,hasRequiredBuffer_list;function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;hasRequiredBuffer_list=1;function e(ue,de){var Oe=Object.keys(ue);if(Object.getOwnPropertySymbols){var _e=Object.getOwnPropertySymbols(ue);de&&(_e=_e.filter(function(Ce){return Object.getOwnPropertyDescriptor(ue,Ce).enumerable})),Oe.push.apply(Oe,_e)}return Oe}function t(ue){for(var de=1;de<arguments.length;de++){var Oe=arguments[de]!=null?arguments[de]:{};de%2?e(Object(Oe),!0).forEach(function(_e){y(ue,_e,Oe[_e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ue,Object.getOwnPropertyDescriptors(Oe)):e(Object(Oe)).forEach(function(_e){Object.defineProperty(ue,_e,Object.getOwnPropertyDescriptor(Oe,_e))})}return ue}function y(ue
`,y);y=k===-1?e.length:k}else if(n!==-1&&e[y]==="/"&&e[y+1]==="*"){let k=e.indexOf("*/",y);k!==-1?(y=k+2,n=e.indexOf("*/",y)):(t+=e[y],y++)}else t+=e[y],y++;return t}function parseParams(e){const t=stripComments(e.toString());let y=t.match(FN_ARGS);if(y||(y=t.match(ARROW_FN_ARGS)),!y)throw new Error(`could not parse args in autoInject
Source:
`+t);let[,n]=y;return n.replace(/\s/g,"").split(FN_ARG_SPLIT).map(k=>k.replace(FN_ARG,"").trim())}function autoInject(e,t){var y={};return Object.keys(e).forEach(n=>{var k=e[n],L,$=isAsync(k),j=!$&&k.length===1||$&&k.length===0;if(Array.isArray(k))L=[...k],k=L.pop(),y[n]=L.concat(L.length>0?V:k);else if(j)y[n]=k;else{if(L=parseParams(k),k.length===0&&!$&&L.length===0)throw new Error("autoInject task functions require explicit parameters.");$||L.pop(),y[n]=L.concat(V)}function V(z,re){var ie=L.map(ae=>z[ae]);ie.push(re),wrapAsync(k)(...ie)}}),auto(y,t)}class DLL{constructor(){this.head=this.tail=null,this.length=0}removeLink(t){return t.prev?t.prev.next=t.next:this.head=t.next,t.next?t.next.prev=t.prev:this.tail=t.prev,t.prev=t.next=null,this.length-=1,t}empty(){for(;this.head;)this.shift();return this}insertAfter(t,y){y.prev=t,y.next=t.next,t.next?t.next.prev=y:this.tail=y,t.next=y,this.length+=1}insertBefore(t,y){y.prev=t.prev,y.next=t,t.prev?t.prev.next=y:this.head=y,t.prev=y,this.length+=1}unshift(t){this.head?this.insertBefore(this.head,t):setInitial(this,t)}push(t){this.tail?this.insertAfter(this.tail,t):setInitial(this,t)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var t=this.head;t;)yield t.data,t=t.next}remove(t){for(var y=this.head;y;){var{next:n}=y;t(y)&&this.removeLink(y),y=n}return this}}function setInitial(e,t){e.length=1,e.head=e.tail=t}function queue$1(e,t,y){if(t==null)t=1;else if(t===0)throw new RangeError("Concurrency must not be zero");var n=wrapAsync(e),k=0,L=[];const $={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function j(Ce,pe){$[Ce].push(pe)}function V(Ce,pe){const Ne=(...Fe)=>{z(Ce,Ne),pe(...Fe)};$[Ce].push(Ne)}function z(Ce,pe){if(!Ce)return Object.keys($).forEach(Ne=>$[Ne]=[]);if(!pe)return $[Ce]=[];$[Ce]=$[Ce].filter(Ne=>Ne!==pe)}function re(Ce,...pe){$[Ce].forEach(Ne=>Ne(...pe))}var ie=!1;function ae(Ce,pe,Ne,Fe){if(Fe!=null&&typeof Fe!="function")throw new Error("task callback must be a function");_e.started=!0;var Ve,Pt;function kt(ze,...Et){if(ze)return Ne?Pt(ze):Ve();if(Et.length<=1)return Ve(Et[0]);Ve(Et)}var Ue=_e._createTaskItem(Ce,Ne?kt:Fe||kt);if(pe?_e._tasks.unshift(Ue):_e._tasks.push(Ue),ie||(ie=!0,setImmediate$1$1(()=>{ie=!1,_e.process()})),Ne||!Fe)return new Promise((ze,Et)=>{Ve=ze,Pt=Et})}function oe(Ce){return function(pe,...Ne){k-=1;for(var Fe=0,Ve=Ce.length;Fe<Ve;Fe++){var Pt=Ce[Fe],kt=L.indexOf(Pt);kt===0?L.shift():kt>0&&L.splice(kt,1),Pt.callback(pe,...Ne),pe!=null&&re("error",pe,Pt.data)}k<=_e.concurrency-_e.buffer&&re("unsaturated"),_e.idle()&&re("drain"),_e.process()}}function ue(Ce){return Ce.length===0&&_e.idle()?(setImmediate$1$1(()=>re("drain")),!0):!1}const de=Ce=>pe=>{if(!pe)return new Promise((Ne,Fe)=>{V(Ce,(Ve,Pt)=>{if(Ve)return Fe(Ve);Ne(Pt)})});z(Ce),j(Ce,pe)};var Oe=!1,_e={_tasks:new DLL,_createTaskItem(Ce,pe){return{data:Ce,callback:pe}},*[Symbol.iterator](){yield*_e._tasks[Symbol.iterator]()},concurrency:t,payload:y,buffer:t/4,started:!1,paused:!1,push(Ce,pe){return Array.isArray(Ce)?ue(Ce)?void 0:Ce.map(Ne=>ae(Ne,!1,!1,pe)):ae(Ce,!1,!1,pe)},pushAsync(Ce,pe){return Array.isArray(Ce)?ue(Ce)?void 0:Ce.map(Ne=>ae(Ne,!1,!0,pe)):ae(Ce,!1,!0,pe)},kill(){z(),_e._tasks.empty()},unshift(Ce,pe){return Array.isArray(Ce)?ue(Ce)?void 0:Ce.map(Ne=>ae(Ne,!0,!1,pe)):ae(Ce,!0,!1,pe)},unshiftAsync(Ce,pe){return Array.isArray(Ce)?ue(Ce)?void 0:Ce.map(Ne=>ae(Ne,!0,!0,pe)):ae(Ce,!0,!0,pe)},remove(Ce){_e._tasks.remove(Ce)},process(){if(!Oe){for(Oe=!0;!_e.paused&&k<_e.concurrency&&_e._tasks.length;){var Ce=[],pe=[],Ne=_e._tasks.length;_e.payload&&(Ne=Math.min(Ne,_e.payload));for(var Fe=0;Fe<Ne;Fe++){var Ve=_e._tasks.shift();Ce.push(Ve),L.push(Ve),pe.push(Ve.data)}k+=1,_e._tasks.length===0&&re("empty"),k===_e.concurrency&&re("saturated");var Pt=onlyOnce(oe(Ce));n(pe,Pt)}Oe=!1}},length(){return _e._tasks.length},running(){return k},workersList(){return L},idle(){return _e._tasks.length+k===0},pause(){_e.paused=!0},resume(){_e.paused!==!1&&(_e.paused=!1,setImme
* @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(e,t){(function(){var y,n="4.17.21",k=200,L="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",$="Expected a function",j="Invalid `variable` option passed into `_.template`",V="__lodash_hash_undefined__",z=500,re="__lodash_placeholder__",ie=1,ae=2,oe=4,ue=1,de=2,Oe=1,_e=2,Ce=4,pe=8,Ne=16,Fe=32,Ve=64,Pt=128,kt=256,Ue=512,ze=30,Et="...",er=800,tr=16,ir=1,rr=2,lr=3,ur=1/0,fr=9007199254740991,mr=17976931348623157e292,yr=NaN,Ir=4294967295,Nr=Ir-1,Sr=Ir>>>1,vr=[["ary",Pt],["bind",Oe],["bindKey",_e],["curry",pe],["curryRight",Ne],["flip",Ue],["partial",Fe],["partialRight",Ve],["rearg",kt]],Mr="[object Arguments]",$r="[object Array]",gr="[object AsyncFunction]",_r="[object Boolean]",Fr="[object Date]",zr="[object DOMException]",Vr="[object Error]",Gr="[object Function]",Cr="[object GeneratorFunction]",xr="[object Map]",Br="[object Number]",Er="[object Null]",Tr="[object Object]",Rr="[object Promise]",kr="[object Proxy]",Wr="[object RegExp]",Kr="[object Set]",Ar="[object String]",qr="[object Symbol]",Jr="[object Undefined]",Fi="[object WeakMap]",To="[object WeakSet]",La="[object ArrayBuffer]",Po="[object DataView]",ns="[object Float32Array]",Zn="[object Float64Array]",Hr="[object Int8Array]",Dr="[object Int16Array]",Rn="[object Int32Array]",kn="[object Uint8Array]",fa="[object Uint8ClampedArray]",na="[object Uint16Array]",Fa="[object Uint32Array]",vo=/\b__p \+= '';/g,Vi=/\b(__p \+=) '' \+/g,ea=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Aa=/&(?:amp|lt|gt|quot|#39);/g,ws=/[&<>"']/g,ss=RegExp(Aa.source),hl=RegExp(ws.source),kl=/<%-([\s\S]+?)%>/g,xu=/<%([\s\S]+?)%>/g,Cs=/<%=([\s\S]+?)%>/g,$u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pu=/^\w*$/,Lc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ac=/[\\^$.*+?()[\]{}|]/g,_c=RegExp(Ac.source),Vl=/^\s+/,cs=/\s/,Ns=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,js=/\{\n\/\* \[wrapped with (.+)\] \*/,Fs=/,? & /,Lr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ei=/[()=,{}\[\]\/\s]/,vn=/\\(\\)?/g,Fn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ui=/\w*$/,Gi=/^[-+]0x[0-9a-f]+$/i,sa=/^0b[01]+$/i,qi=/^\[object .+?Constructor\]$/,Vo=/^0o[0-7]+$/i,fo=/^(?:0|[1-9]\d*)$/,Mo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fs=/($^)/,On=/['\n\r\u2028\u2029\\]/g,Bo="\\ud800-\\udfff",Yl="\\u0300-\\u036f",Oo="\\ufe20-\\ufe2f",_u="\\u20d0-\\u20ff",$l=Yl+Oo+_u,tc="\\u2700-\\u27bf",ju="a-z\\xdf-\\xf6\\xf8-\\xff",Gu="\\xac\\xb1\\xd7\\xf7",Mn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qo="\\u2000-\\u206f",jl=" \\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",yu="A-Z\\xc0-\\xd6\\xd8-\\xde",pl="\\ufe0e\\ufe0f",Fu=Gu+Mn+Qo+jl,Oc="[']",sd="["+Bo+"]",ud="["+Fu+"]",vp="["+$l+"]",dp="\\d+",Rc="["+tc+"]",qd="["+ju+"]",id="[^"+Bo+Fu+dp+tc+ju+yu+"]",Op="\\ud83c[\\udffb-\\udfff]",xp="(?:"+vp+"|"+Op+")",Cf="[^"+Bo+"]",Of="(?:\\ud83c[\\udde6-\\uddff]){2}",cf="[\\ud800-\\udbff][\\udc00-\\udfff]",Ip="["+yu+"]",mm="\\u200d",Rf="(?:"+qd+"|"+id+")",Ec="(?:"+Ip+"|"+id+")",wf="(?:"+Oc+"(?:d|ll|m|re|s|t|ve))?",Tp="(?:"+Oc+"(?:D|LL|M|RE|S|T|VE))?",df=xp+"?",Vf="["+pl+"]?",xf="(?:"+mm+"(?:"+[Cf,Of,cf].join("|")+")"+Vf+df+")*",Hf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Gp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",hm=Vf+df+xf,Dm="(?:"+[Rc,Of,cf].join("|")+")"+hm,Jp="(?:"+[Cf+vp+"?",vp,Of,cf,sd].join("|")+")",Zf=RegExp(Oc,"g"),If=RegExp(vp,"g"),dh=RegExp(Op+"(?="+Op+")|"+Jp+hm,"g"),kf=RegExp([Ip+"?"+qd+"+"+wf+"(?="+[ud,Ip,"$"].join("|")+")",Ec+"+"+Tp+"(?="+[ud,Ip+Rf,"$"].join("|")+")",Ip+"?"+Rf+"+"+wf,Ip+"+"+Tp,Gp,Hf,dp,Dm].join("|"),"g"),Mh=RegExp("["+mm+Bo+$l+pl+"]"),gm=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Om=["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","isF
/* [wrapped with `+dr+`] */
`)}function jt(ar){return Rd(ar)||h0(ar)||!!(Rh&&ar&&ar[Rh])}function nr(ar,dr){var Ur=typeof ar;return dr=dr??fr,!!dr&&(Ur=="number"||Ur!="symbol"&&fo.test(ar))&&ar>-1&&ar%1==0&&ar<dr}function sr(ar,dr,Ur){if(!Qp(Ur))return!1;var hi=typeof dr;return(hi=="number"?oh(Ur)&&nr(dr,Ur.length):hi=="string"&&dr in Ur)?qh(Ur[dr],ar):!1}function cr(ar,dr){if(Rd(ar))return!1;var Ur=typeof ar;return Ur=="number"||Ur=="symbol"||Ur=="boolean"||ar==null||Th(ar)?!0:Pu.test(ar)||!$u.test(ar)||dr!=null&&ar in Wd(dr)}function jr(ar){var dr=typeof ar;return dr=="string"||dr=="number"||dr=="symbol"||dr=="boolean"?ar!=="__proto__":ar===null}function hn(ar){var dr=$s(ar),Ur=Ha[dr];if(typeof Ur!="function"||!(dr in Bl.prototype))return!1;if(ar===Ur)return!0;var hi=ds(Ur);return!!hi&&ar===hi[0]}function zn(ar){return!!Id&&Id in ar}var ci=Kf?o0:G0;function ca(ar){var dr=ar&&ar.constructor,Ur=typeof dr=="function"&&dr.prototype||bf;return ar===Ur}function eo(ar){return ar===ar&&!Qp(ar)}function ps(ar,dr){return function(Ur){return Ur==null?!1:Ur[ar]===dr&&(dr!==y||ar in Wd(Ur))}}function ms(ar){var dr=w0(ar,function(hi){return Ur.size===z&&Ur.clear(),hi}),Ur=dr.cache;return dr}function Ss(ar,dr){var Ur=ar[1],hi=dr[1],qa=Ur|hi,Zo=qa<(Oe|_e|Pt),Ms=hi==Pt&&Ur==pe||hi==Pt&&Ur==kt&&ar[7].length<=dr[8]||hi==(Pt|kt)&&dr[7].length<=dr[8]&&Ur==pe;if(!(Zo||Ms))return ar;hi&Oe&&(ar[2]=dr[2],qa|=Ur&Oe?0:Ce);var Gs=dr[3];if(Gs){var vl=ar[3];ar[3]=vl?Ni(vl,Gs,dr[4]):Gs,ar[4]=vl?Np(ar[3],re):dr[4]}return Gs=dr[5],Gs&&(vl=ar[5],ar[5]=vl?ra(vl,Gs,dr[6]):Gs,ar[6]=vl?Np(ar[5],re):dr[6]),Gs=dr[7],Gs&&(ar[7]=Gs),hi&Pt&&(ar[8]=ar[8]==null?dr[8]:Rs(ar[8],dr[8])),ar[9]==null&&(ar[9]=dr[9]),ar[0]=dr[0],ar[1]=qa,ar}function Xs(ar){var dr=[];if(ar!=null)for(var Ur in Wd(ar))dr.push(Ur);return dr}function Ul(ar){return Kp.call(ar)}function al(ar,dr,Ur){return dr=us(dr===y?ar.length-1:dr,0),function(){for(var hi=arguments,qa=-1,Zo=us(hi.length-dr,0),Ms=Ml(Zo);++qa<Zo;)Ms[qa]=hi[dr+qa];qa=-1;for(var Gs=Ml(dr+1);++qa<dr;)Gs[qa]=hi[qa];return Gs[dr]=Ur(Ms),Au(ar,this,Gs)}}function cu(ar,dr){return dr.length<2?ar:os(ar,Xp(dr,0,-1))}function hu(ar,dr){for(var Ur=ar.length,hi=Rs(dr.length,Ur),qa=Ta(ar);hi--;){var Zo=dr[hi];ar[hi]=nr(Zo,Ur)?qa[Zo]:y}return ar}function gs(ar,dr){if(!(dr==="constructor"&&typeof ar[dr]=="function")&&dr!="__proto__")return ar[dr]}var fc=Gc(r0),bc=Ka||function(ar,dr){return jd.setTimeout(ar,dr)},Lu=Gc(u0);function pc(ar,dr,Ur){var hi=dr+"";return Lu(ar,Ie(hi,Fc(qo(hi),Ur)))}function Gc(ar){var dr=0,Ur=0;return function(){var hi=Hs(),qa=tr-(hi-Ur);if(Ur=hi,qa>0){if(++dr>=er)return arguments[0]}else dr=0;return ar.apply(y,arguments)}}function Gd(ar,dr){var Ur=-1,hi=ar.length,qa=hi-1;for(dr=dr===y?hi:dr;++Ur<dr;){var Zo=Df(Ur,qa),Ms=ar[Zo];ar[Zo]=ar[Ur],ar[Ur]=Ms}return ar.length=dr,ar}var to=ms(function(ar){var dr=[];return ar.charCodeAt(0)===46&&dr.push(""),ar.replace(Lc,function(Ur,hi,qa,Zo){dr.push(qa?Zo.replace(vn,"$1"):hi||Ur)}),dr});function Zs(ar){if(typeof ar=="string"||Th(ar))return ar;var dr=ar+"";return dr=="0"&&1/ar==-ur?"-0":dr}function Ku(ar){if(ar!=null){try{return $m.call(ar)}catch{}try{return ar+""}catch{}}return""}function Fc(ar,dr){return od(vr,function(Ur){var hi="_."+Ur[0];dr&Ur[1]&&!Bm(ar,hi)&&ar.push(hi)}),ar.sort()}function Kc(ar){if(ar instanceof Bl)return ar.clone();var dr=new Su(ar.__wrapped__,ar.__chain__);return dr.__actions__=Ta(ar.__actions__),dr.__index__=ar.__index__,dr.__values__=ar.__values__,dr}function Zd(ar,dr,Ur){(Ur?sr(ar,dr,Ur):dr===y)?dr=1:dr=us(Pd(dr),0);var hi=ar==null?0:ar.length;if(!hi||dr<1)return[];for(var qa=0,Zo=0,Ms=Ml(_o(hi/dr));qa<hi;)Ms[Zo++]=Xp(ar,qa,qa+=dr);return Ms}function _d(ar){for(var dr=-1,Ur=ar==null?0:ar.length,hi=0,qa=[];++dr<Ur;){var Zo=ar[dr];Zo&&(qa[hi++]=Zo)}return qa}function Bd(){var ar=arguments.length;if(!ar)return[];for(var dr=Ml(ar-1),Ur=arguments[0],hi=ar;hi--;)dr[hi-1]=arguments[hi];return Gf(Rd(Ur)?Ta(Ur):[Ur],Wn(dr,1))}var Fd=ed(function(ar,dr){return Sf(ar)?Ea(ar,Wn(dr,1,Sf,!0)):[]}),Ud=ed(function(ar,dr){var Ur=Ih(dr);return Sf(Ur)&&(Ur=y),Sf(ar)?Ea(ar,Wn(dr,1,Sf,!0),Us(Ur,
`;ar.replace(Nc,function(gd,Yd,ep,Ch,Hm,wh){return ep||(ep=Ch),Uu+=ar.slice(Ru,wh).replace(On,am),Yd&&(Gs=!0,Uu+=`' +
__e(`+Yd+`) +
'`),Hm&&(vl=!0,Uu+=`';
`+Hm+`;
__p += '`),ep&&(Uu+=`' +
((__t = (`+ep+`)) == null ? '' : __t) +
'`),Ru=wh+gd.length,gd}),Uu+=`';
`;var cd=Ad.call(dr,"variable")&&dr.variable;if(!cd)Uu=`with (obj) {
`+Uu+`
}
`;else if(ei.test(cd))throw new Cc(j);Uu=(vl?Uu.replace(vo,""):Uu).replace(Vi,"$1").replace(ea,"$1;"),Uu="function("+(cd||"obj")+`) {
`+(cd?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(Gs?", __e = _.escape":"")+(vl?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Uu+`return __p
}`;var Ld=E1(function(){return Nd(Zo,Jc+"return "+Uu).apply(y,Ms)});if(Ld.source=Uu,B0(Ld))throw Ld;return Ld}function Mv(ar){return _p(ar).toLowerCase()}function Bv(ar){return _p(ar).toUpperCase()}function Pv(ar,dr,Ur){if(ar=_p(ar),ar&&(Ur||dr===y))return Km(ar);if(!ar||!(dr=fm(dr)))return ar;var hi=Lf(ar),qa=Lf(dr),Zo=Zp(hi,qa),Ms=Wf(hi,qa)+1;return Un(hi,Zo,Ms).join("")}function Lv(ar,dr,Ur){if(ar=_p(ar),ar&&(Ur||dr===y))return ar.slice(0,Vh(ar)+1);if(!ar||!(dr=fm(dr)))return ar;var hi=Lf(ar),qa=Wf(hi,Lf(dr))+1;return Un(hi,0,qa).join("")}function $v(ar,dr,Ur){if(ar=_p(ar),ar&&(Ur||dr===y))return ar.replace(Vl,"");if(!ar||!(dr=fm(dr)))return ar;var hi=Lf(ar),qa=Zp(hi,Lf(dr));return Un(hi,qa).join("")}function jv(ar,dr){var Ur=ze,hi=Et;if(Qp(dr)){var qa="separator"in dr?dr.separator:qa;Ur="length"in dr?Pd(dr.length):Ur,hi="omission"in dr?fm(dr.omission):hi}ar=_p(ar);var Zo=ar.length;if(gf(ar)){var Ms=Lf(ar);Zo=Ms.length}if(Ur>=Zo)return ar;var Gs=Ur-Ym(hi);if(Gs<1)return hi;var vl=Ms?Un(Ms,0,Gs).join(""):ar.slice(0,Gs);if(qa===y)return vl+hi;if(Ms&&(Gs+=vl.length-Gs),P0(qa)){if(ar.slice(Gs).search(qa)){var Ru,Iu=vl;for(qa.global||(qa=Qm(qa.source,_p(Ui.exec(qa))+"g")),qa.lastIndex=0;Ru=qa.exec(Iu);)var Uu=Ru.index;vl=vl.slice(0,Uu===y?Gs:Uu)}}else if(ar.indexOf(fm(qa),Gs)!=Gs){var Nc=vl.lastIndexOf(qa);Nc>-1&&(vl=vl.slice(0,Nc))}return vl+hi}function Fv(ar){return ar=_p(ar),ar&&ss.test(ar)?ar.replace(Aa,Hh):ar}var Uv=Mi(function(ar,dr,Ur){return ar+(Ur?" ":"")+dr.toUpperCase()}),j0=ma("toUpperCase");function y1(ar,dr,Ur){return ar=_p(ar),dr=Ur?y:dr,dr===y?jh(ar)?Xh(ar):e0(ar):ar.match(dr)||[]}var E1=ed(function(ar,dr){try{return Au(ar,y,dr)}catch(Ur){return B0(Ur)?Ur:new Cc(Ur)}}),Vv=nl(function(ar,dr){return od(dr,function(Ur){Ur=Zs(Ur),cm(ar,Ur,k0(ar[Ur],ar))}),ar});function Hv(ar){var dr=ar==null?0:ar.length,Ur=Us();return ar=dr?np(ar,function(hi){if(typeof hi[1]!="function")throw new _f($);return[Ur(hi[0]),hi[1]]}):[],ed(function(hi){for(var qa=-1;++qa<dr;){var Zo=ar[qa];if(Au(Zo[0],this,hi))return Au(Zo[1],this,hi)}})}function zv(ar){return Ln(Vp(ar,ie))}function F0(ar){return function(){return ar}}function Gv(ar,dr){return ar==null||ar!==ar?dr:ar}var qv=Zi(),Wv=Zi(!0);function uh(ar){return ar}function U0(ar){return yd(typeof ar=="function"?ar:Vp(ar,ie))}function Kv(ar){return Xc(Vp(ar,ie))}function Yv(ar,dr){return Qs(ar,Vp(dr,ie))}var Xv=ed(function(ar,dr){return function(Ur){return Bc(Ur,ar,dr)}}),Zv=ed(function(ar,dr){return function(Ur){return Bc(ar,Ur,dr)}});function V0(ar,dr,Ur){var hi=Jf(dr),qa=Eo(dr,hi);Ur==null&&!(Qp(dr)&&(qa.length||!hi.length))&&(Ur=dr,dr=ar,ar=this,qa=Eo(dr,Jf(dr)));var Zo=!(Qp(Ur)&&"chain"in Ur)||!!Ur.chain,Ms=o0(ar);return od(qa,function(Gs){var vl=dr[Gs];ar[Gs]=vl,Ms&&(ar.prototype[Gs]=function(){var Ru=this.__chain__;if(Zo||Ru){var Iu=ar(this.__wrapped__),Uu=Iu.__actions__=Ta(this.__actions__);return Uu.push({func:vl,args:arguments,thisArg:ar}),Iu.__chain__=Ru,Iu}return vl.apply(ar,Gf([this.value()],arguments))})}),ar}function eb(){return jd._===this&&(jd._=Mp),this}function H0(){}function tb(ar){return ar=Pd(ar),ed(function(dr){return zu(dr,ar)})}var rb=Xa(np),nb=Xa(mf),ib=Xa(Pm);function S1(ar){return cr(ar)?Lh(Zs(ar)):Lp(ar)}function ab(ar){return function(dr){return ar==null?y:os(ar,dr)}}var ob=Ro(),sb=Ro(!0);function z0(){return[]}function G0(){return!1}function lb(){return{}}function ub(){return""}function cb(){return!0}function db(ar,dr){if(ar=Pd(ar),ar<1||ar>fr)return[];var Ur=Ir,hi=Rs(ar,Ir);dr=Us(dr),ar-=Ir;for(var qa=im(hi,dr);++Ur<ar;)dr(Ur);return qa}function pb(ar){return Rd(ar)?np(ar,Zs):Th(ar)?[ar]:Ta(to(_p(ar)))}function fb(ar){var dr=++Jh;return _p(ar)+dr}var mb=Sa(function(ar,dr){return ar+dr},0),hb=ks("ceil"),gb=Sa(function(ar,dr){return ar/dr},1),_b=ks("floor");function vb(ar){return ar&&ar.length?io(ar,uh,Ls):y}function bb(ar,dr){return ar&&ar.length?io(ar,Us(dr,2),Ls):y}function yb(ar){return ym(ar,uh)}function Eb(ar,dr){return ym(ar,Us(dr,2))}function Sb(ar){return ar&&ar.length?io(ar,uh,Hc):y}function Tb(ar,dr){return ar&&ar.length?io(ar,Us(dr,2),Hc):y}v
`:"")),y&&y()}function L($){return $.interrupt?($.interrupt.append=e,$.interrupt.end=k,$.interrupt=!1,e(!0),!0):!1}if(e(!1,t.indents+(t.name?"<"+t.name:"")+(t.attributes.length?" "+t.attributes.join(" "):"")+(n?t.name?">":"":t.name?"/>":"")+(t.indent&&n>1?`
`:"")),!n)return e(!1,t.indent?`
`:"");L(t)||k()}function attribute(e,t){return e+'="'+escapeForXML(t)+'"'}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$1={},hasRequiredDefaults;function requireDefaults(){return hasRequiredDefaults||(hasRequiredDefaults=1,(function(){defaults$1.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$1}var builder={},lib$1={},Utility={},hasRequiredUtility;function requireUtility(){return hasRequiredUtility||(hasRequiredUtility=1,(function(){var e,t,y,n,k,L,$,j=[].slice,V={}.hasOwnProperty;e=function(){var z,re,ie,ae,oe,ue;if(ue=arguments[0],oe=2<=arguments.length?j.call(arguments,1):[],k(Object.assign))Object.assign.apply(null,arguments);else for(z=0,ie=oe.length;z<ie;z++)if(ae=oe[z],ae!=null)for(re in ae)V.call(ae,re)&&(ue[re]=ae[re]);return ue},k=function(z){return!!z&&Object.prototype.toString.call(z)==="[object Function]"},L=function(z){var re;return!!z&&((re=typeof z)=="function"||re==="object")},y=function(z){return k(Array.isArray)?Array.isArray(z):Object.prototype.toString.call(z)==="[object Array]"},n=function(z){var re;if(y(z))return!z.length;for(re in z)if(V.call(z,re))return!1;return!0},$=function(z){var re,ie;return L(z)&&(ie=Object.getPrototypeOf(z))&&(re=ie.constructor)&&typeof re=="function"&&re instanceof re&&Function.prototype.toString.call(re)===Function.prototype.toString.call(Object)},t=function(z){return k(z.valueOf)?z.valueOf():z},Utility.assign=e,Utility.isFunction=k,Utility.isObject=L,Utility.isArray=y,Utility.isEmpty=n,Utility.isPlainObject=$,Utility.getValue=t}).call(commonjsGlobal)),Utility}var XMLDOMImplementation={exports:{}},hasRequiredXMLDOMImplementation;function requireXMLDOMImplementation(){return hasRequiredXMLDOMImplementation||(hasRequiredXMLDOMImplementation=1,(function(){XMLDOMImplementation.exports=function(){function e(){}return e.prototype.hasFeature=function(t,y){return!0},e.prototype.createDocumentType=function(t,y,n){throw new Error("This DOM method is not implemented.")},e.prototype.createDocument=function(t,y,n){throw new Error("This DOM method is not implemented.")},e.prototype.createHTMLDocument=function(t){throw new Error("This DOM method is not implemented.")},e.prototype.getFeature=function(t,y){throw new Error("This DOM method is not implemented.")},e}()}).call(commonjsGlobal)),XMLDOMImplementation.exports}var XMLDocument={exports:{}},XMLDOMConfiguration={exports:{}},XMLDOMErrorHandler={exports:{}},hasRequiredXMLDOMErrorHandler;function requireXMLDOMErrorHandler(){return hasRequiredXMLDOMErrorHandler||(hasRequiredXMLDOMErrorHandler=1,(function(){XMLDOMErrorHandler.exports=function(){function e(){}return e.prototype.handleError=function(t){throw new Error(t)},e}()}).call(commonjsGlobal)),XMLDOMErrorHandler.exports}var XMLDOMStringList={exports:{}},hasRequiredXMLDOMStringList;function requireXMLDOMStringList(){return hasRequiredXMLDOMStringList||(hasRequiredXMLDOMStringList=1,(function(){XMLDOMStringList.exports=function(){function e(t){this.arr=t||[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e.prototype.item=function(t){return this.arr[t]||null},e.prototype.contains=function(t){return this.arr.indexOf(t)!==-1},e}()}).call(commonjsGlobal)),XMLDOMStringList.exports}var hasRequiredXMLDOMConfiguration;function requireXMLDOMConfiguration(){return hasRequiredXMLDOMConfiguration||(hasRequiredXMLDOMConfiguration=1,(function(){var e,t;e=requireXMLDOMErrorHandler(),t=requireXMLDOMStringList(),XMLDOMConfiguration.exports=function(){function y(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new e,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(y.prototype,"parameterNames",{get:function(){return new t(Object.keys(this.defaultParams))}}),y.prototype.getParameter=function(n){return this.params.hasOwnProperty(n)?this.params[n]:null},y.prototype.canSetParameter=function(n,k){return!0},y.prototype.setParameter=function(n,k){return k!=null?this.params[n]=k:delete this.params[n]},y}()}).call(commonjsGlobal)),XMLDOMConfi
`,$.offset=(z=L.offset)!=null?z:0,$.dontPrettyTextNodes=(re=(ie=L.dontPrettyTextNodes)!=null?ie:L.dontprettytextnodes)!=null?re:0,$.spaceBeforeSlash=(ae=(oe=L.spaceBeforeSlash)!=null?oe:L.spacebeforeslash)!=null?ae:"",$.spaceBeforeSlash===!0&&($.spaceBeforeSlash=" "),$.suppressPrettyCount=0,$.user={},$.state=t.None,$},k.prototype.indent=function(L,$,j){var V;return!$.pretty||$.suppressPrettyCount?"":$.pretty&&(V=(j||0)+$.offset+1,V>0)?new Array(V).join($.indent):""},k.prototype.endline=function(L,$,j){return!$.pretty||$.suppressPrettyCount?"":$.newline},k.prototype.attribute=function(L,$,j){var V;return this.openAttribute(L,$,j),V=" "+L.name+'="'+L.value+'"',this.closeAttribute(L,$,j),V},k.prototype.cdata=function(L,$,j){var V;return this.openNode(L,$,j),$.state=t.OpenTag,V=this.indent(L,$,j)+"<![CDATA[",$.state=t.InsideTag,V+=L.value,$.state=t.CloseTag,V+="]]>"+this.endline(L,$,j),$.state=t.None,this.closeNode(L,$,j),V},k.prototype.comment=function(L,$,j){var V;return this.openNode(L,$,j),$.state=t.OpenTag,V=this.indent(L,$,j)+"<!-- ",$.state=t.InsideTag,V+=L.value,$.state=t.CloseTag,V+=" -->"+this.endline(L,$,j),$.state=t.None,this.closeNode(L,$,j),V},k.prototype.declaration=function(L,$,j){var V;return this.openNode(L,$,j),$.state=t.OpenTag,V=this.indent(L,$,j)+"<?xml",$.state=t.InsideTag,V+=' version="'+L.version+'"',L.encoding!=null&&(V+=' encoding="'+L.encoding+'"'),L.standalone!=null&&(V+=' standalone="'+L.standalone+'"'),$.state=t.CloseTag,V+=$.spaceBeforeSlash+"?>",V+=this.endline(L,$,j),$.state=t.None,this.closeNode(L,$,j),V},k.prototype.docType=function(L,$,j){var V,z,re,ie,ae;if(j||(j=0),this.openNode(L,$,j),$.state=t.OpenTag,ie=this.indent(L,$,j),ie+="<!DOCTYPE "+L.root().name,L.pubID&&L.sysID?ie+=' PUBLIC "'+L.pubID+'" "'+L.sysID+'"':L.sysID&&(ie+=' SYSTEM "'+L.sysID+'"'),L.children.length>0){for(ie+=" [",ie+=this.endline(L,$,j),$.state=t.InsideTag,ae=L.children,z=0,re=ae.length;z<re;z++)V=ae[z],ie+=this.writeChildNode(V,$,j+1);$.state=t.CloseTag,ie+="]"}return $.state=t.CloseTag,ie+=$.spaceBeforeSlash+">",ie+=this.endline(L,$,j),$.state=t.None,this.closeNode(L,$,j),ie},k.prototype.element=function(L,$,j){var V,z,re,ie,ae,oe,ue,de,Oe,_e,Ce,pe,Ne,Fe;j||(j=0),_e=!1,Ce="",this.openNode(L,$,j),$.state=t.OpenTag,Ce+=this.indent(L,$,j)+"<"+L.name,pe=L.attribs;for(Oe in pe)n.call(pe,Oe)&&(V=pe[Oe],Ce+=this.attribute(V,$,j));if(re=L.children.length,ie=re===0?null:L.children[0],re===0||L.children.every(function(Ve){return(Ve.type===e.Text||Ve.type===e.Raw)&&Ve.value===""}))$.allowEmpty?(Ce+=">",$.state=t.CloseTag,Ce+="</"+L.name+">"+this.endline(L,$,j)):($.state=t.CloseTag,Ce+=$.spaceBeforeSlash+"/>"+this.endline(L,$,j));else if($.pretty&&re===1&&(ie.type===e.Text||ie.type===e.Raw)&&ie.value!=null)Ce+=">",$.state=t.InsideTag,$.suppressPrettyCount++,_e=!0,Ce+=this.writeChildNode(ie,$,j+1),$.suppressPrettyCount--,_e=!1,$.state=t.CloseTag,Ce+="</"+L.name+">"+this.endline(L,$,j);else{if($.dontPrettyTextNodes){for(Ne=L.children,ae=0,ue=Ne.length;ae<ue;ae++)if(z=Ne[ae],(z.type===e.Text||z.type===e.Raw)&&z.value!=null){$.suppressPrettyCount++,_e=!0;break}}for(Ce+=">"+this.endline(L,$,j),$.state=t.InsideTag,Fe=L.children,oe=0,de=Fe.length;oe<de;oe++)z=Fe[oe],Ce+=this.writeChildNode(z,$,j+1);$.state=t.CloseTag,Ce+=this.indent(L,$,j)+"</"+L.name+">",_e&&$.suppressPrettyCount--,Ce+=this.endline(L,$,j),$.state=t.None}return this.closeNode(L,$,j),Ce},k.prototype.writeChildNode=function(L,$,j){switch(L.type){case e.CData:return this.cdata(L,$,j);case e.Comment:return this.comment(L,$,j);case e.Element:return this.element(L,$,j);case e.Raw:return this.raw(L,$,j);case e.Text:return this.text(L,$,j);case e.ProcessingInstruction:return this.processingInstruction(L,$,j);case e.Dummy:return"";case e.Declaration:return this.declaration(L,$,j);case e.DocType:return this.docType(L,$,j);case e.AttributeDeclaration:return this.dtdAttList(L,$,j);case e.ElementDeclaration:return this.dtdElement(L,$,j);case e.EntityDeclaration:return this.dtdEntity(L,$,j);case e.NotationDeclaration:return this.dtdNotation(L,$,j);default:throw new Error("Unkno
`||gr==="\r"||gr===" "}function Fe(gr){return gr==='"'||gr==="'"}function Ve(gr){return gr===">"||Ne(gr)}function Pt(gr,_r){return gr.test(_r)}function kt(gr,_r){return!Pt(gr,_r)}var Ue=0;t.STATE={BEGIN:Ue++,BEGIN_WHITESPACE:Ue++,TEXT:Ue++,TEXT_ENTITY:Ue++,OPEN_WAKA:Ue++,SGML_DECL:Ue++,SGML_DECL_QUOTED:Ue++,DOCTYPE:Ue++,DOCTYPE_QUOTED:Ue++,DOCTYPE_DTD:Ue++,DOCTYPE_DTD_QUOTED:Ue++,COMMENT_STARTING:Ue++,COMMENT:Ue++,COMMENT_ENDING:Ue++,COMMENT_ENDED:Ue++,CDATA:Ue++,CDATA_ENDING:Ue++,CDATA_ENDING_2:Ue++,PROC_INST:Ue++,PROC_INST_BODY:Ue++,PROC_INST_ENDING:Ue++,OPEN_TAG:Ue++,OPEN_TAG_SLASH:Ue++,ATTRIB:Ue++,ATTRIB_NAME:Ue++,ATTRIB_NAME_SAW_WHITE:Ue++,ATTRIB_VALUE:Ue++,ATTRIB_VALUE_QUOTED:Ue++,ATTRIB_VALUE_CLOSED:Ue++,ATTRIB_VALUE_UNQUOTED:Ue++,ATTRIB_VALUE_ENTITY_Q:Ue++,ATTRIB_VALUE_ENTITY_U:Ue++,CLOSE_TAG:Ue++,CLOSE_TAG_SAW_WHITE:Ue++,SCRIPT:Ue++,SCRIPT_ENDING:Ue++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.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(t.ENTITIES).forEach(function(gr){var _r=t.ENTITIES[gr],Fr=typeof _r=="number"?String.fromCharCode(_r):_r;t.ENTITIES[gr]=Fr});for(var ze in t.STATE)t.STATE[t.STATE[ze]]=ze;Ue=t.STATE;function Et(gr,_r,Fr){gr[_r]&&gr[_r](Fr)}function er(gr,_r,Fr){gr.textNode&&tr(gr),Et(gr,_r,Fr)}function tr(gr){gr.textNode=ir(gr.opt,gr.textNode),gr.textNode&&Et(gr,"ontext",gr.textNode),gr.textNode=""}function ir(gr,_r){return gr.trim&&(_r=_r.trim()),gr.normalize&&(_r=_r.replace(/\s+/g," ")),_r}function rr(gr,_r){return tr(gr),gr.trackPosition&&(_r+=`
Line: `+gr.line+`
Column: `+gr.column+`
Char: `+gr.c),_r=new Error(_r),gr.error=_r,Et(gr,"onerror",_r),gr}function lr(gr){return gr.sawRoot&&!gr.closedRoot&&ur(gr,"Unclosed root tag"),gr.state!==Ue.BEGIN&&gr.state!==Ue.BEGIN_WHITESPACE&&gr.state!==Ue.TEXT&&rr(gr,"Unexpected end"),tr(gr),gr.c="",gr.closed=!0,Et(gr,"onend"),n.call(gr,gr.strict,gr.opt),gr}function ur(gr,_r){if(typeof gr!="object"||!(gr instanceof n))throw new Error("bad call to strictFail");gr.strict&&rr(gr,_r)}function fr(gr){gr.strict||(gr.tagName=gr.tagName[gr.looseCase]());var _r=gr.tags[gr.tags.length-1]||gr,Fr=gr.tag={name:gr.tagName,attributes:{}};gr.opt.xmlns&&(Fr.ns=_r.ns),gr.attribList.length=0,er(gr,"onopentagstart",Fr)}function mr(gr,_r){var Fr=gr.indexOf(":"),zr=Fr<0?["",gr]:gr.split(":"),Vr=zr[0],Gr=zr[1];return _r&&gr==="xmlns"&&(Vr="xmlns",Gr=""),{prefix:Vr,local:Gr}}function yr(gr){if(gr.strict||(gr.attribName=gr.attribName[gr.looseCase]()),gr.attribList.indexOf(gr.attribName)!==-1||gr.tag.attributes.hasOwnProperty(gr.attribName)){gr.attribName=gr.attribValue="";return}if(gr.opt.xmlns){var _r=mr(gr.attribName,!0),Fr=_r.prefix,zr=_r.local;if(Fr==="xmlns")if(zr==="xml"&&gr.attribValue!==oe)ur(gr,"xml: prefix must be bound to "+oe+`
Actual: `+gr.attribValue);else if(zr==="xmlns"&&gr.attribValue!==ue)ur(gr,"xmlns: prefix must be bound to "+ue+`
Actual: `+gr.attribValue);else{var Vr=gr.tag,Gr=gr.tags[gr.tags.length-1]||gr;Vr.ns===Gr.ns&&(Vr.ns=Object.create(Gr.ns)),Vr.ns[zr]=gr.attribValue}gr.attribList.push([gr.attribName,gr.attribValue])}else gr.tag.attributes[gr.attribName]=gr.attribValue,er(gr,"onattribute",{name:gr.attribName,value:gr.attribValue});gr.attribName=gr.attribValue=""}function Ir(gr,_r){if(gr.opt.xmlns){var Fr=gr.tag,zr=mr(gr.tagName);Fr.prefix=zr.prefix,Fr.local=zr.local,Fr.uri=Fr.ns[zr.prefix]||"",Fr.prefix&&!Fr.uri&&(ur(gr,"Unbound namespace prefix: "+JSON.stringify(gr.tagName)),Fr.uri=zr.prefix);var Vr=gr.tags[gr.tags.length-1]||gr;Fr.ns&&Vr.ns!==Fr.ns&&Object.keys(Fr.ns).forEach(function(Ar){er(gr,"onopennamespace",{prefix:Ar,uri:Fr.ns[Ar]})});for(var Gr=0,Cr=gr.attribList.length;Gr<Cr;Gr++){var xr=gr.attribList[Gr],Br=xr[0],Er=xr[1],Tr=mr(Br,!0),Rr=Tr.prefix,kr=Tr.local,Wr=Rr===""?"":Fr.ns[Rr]||"",Kr={name:Br,value:Er,prefix:Rr,local:kr,uri:Wr};Rr&&Rr!=="xmlns"&&!Wr&&(ur(gr,"Unbound namespace prefix: "+JSON.stringify(Rr)),Kr.uri=Rr),gr.tag.attributes[Br]=Kr,er(gr,"onattribute",Kr)}gr.attribList.length=0}gr.tag.isSelfClosing=!!_r,gr.sawRoot=!0,gr.tags.push(gr.tag),er(gr,"onopentag",gr.tag),_r||(!gr.noscript&&gr.tagName.toLowerCase()==="script"?gr.state=Ue.SCRIPT:gr.state=Ue.TEXT,gr.tag=null,gr.tagName=""),gr.attribName=gr.attribValue="",gr.attribList.length=0}function Nr(gr){if(!gr.tagName){ur(gr,"Weird empty close tag."),gr.textNode+="</>",gr.state=Ue.TEXT;return}if(gr.script){if(gr.tagName!=="script"){gr.script+="</"+gr.tagName+">",gr.tagName="",gr.state=Ue.SCRIPT;return}er(gr,"onscript",gr.script),gr.script=""}var _r=gr.tags.length,Fr=gr.tagName;gr.strict||(Fr=Fr[gr.looseCase]());for(var zr=Fr;_r--;){var Vr=gr.tags[_r];if(Vr.name!==zr)ur(gr,"Unexpected close tag");else break}if(_r<0){ur(gr,"Unmatched closing tag: "+gr.tagName),gr.textNode+="</"+gr.tagName+">",gr.state=Ue.TEXT;return}gr.tagName=Fr;for(var Gr=gr.tags.length;Gr-- >_r;){var Cr=gr.tag=gr.tags.pop();gr.tagName=gr.tag.name,er(gr,"onclosetag",gr.tagName);var xr={};for(var Br in Cr.ns)xr[Br]=Cr.ns[Br];var Er=gr.tags[gr.tags.length-1]||gr;gr.opt.xmlns&&Cr.ns!==Er.ns&&Object.keys(Cr.ns).forEach(function(Tr){var Rr=Cr.ns[Tr];er(gr,"onclosenamespace",{prefix:Tr,uri:Rr})})}_r===0&&(gr.closedRoot=!0),gr.tagName=gr.attribValue=gr.attribName="",gr.attribList.length=0,gr.state=Ue.TEXT}function Sr(gr){var _r=gr.entity,Fr=_r.toLowerCase(),zr,Vr="";return gr.ENTITIES[_r]?gr.ENTITIES[_r]:gr.ENTITIES[Fr]?gr.ENTITIES[Fr]:(_r=Fr,_r.charAt(0)==="#"&&(_r.charAt(1)==="x"?(_r=_r.slice(2),zr=parseInt(_r,16),Vr=zr.toString(16)):(_r=_r.slice(1),zr=parseInt(_r,10),Vr=zr.toString(10))),_r=_r.replace(/^0+/,""),isNaN(zr)||Vr.toLowerCase()!==_r?(ur(gr,"Invalid character entity"),"&"+gr.entity+";"):String.fromCodePoint(zr))}function vr(gr,_r){_r==="<"?(gr.state=Ue.OPEN_WAKA,gr.startTagPosition=gr.position):Ne(_r)||(ur(gr,"Non-whitespace before first tag."),gr.textNode=_r,gr.state=Ue.TEXT)}function Mr(gr,_r){var Fr="";return _r<gr.length&&(Fr=gr.charAt(_r)),Fr}function $r(gr){var _r=this;if(this.error)throw this.error;if(_r.closed)return rr(_r,"Cannot write after close. Assign an onready handler.");if(gr===null)return lr(_r);typeof gr=="object"&&(gr=gr.toString());for(var Fr=0,zr="";zr=Mr(gr,Fr++),_r.c=zr,!!zr;)switch(_r.trackPosition&&(_r.position++,zr===`
`?(_r.line++,_r.column=0):_r.column++),_r.state){case Ue.BEGIN:if(_r.state=Ue.BEGIN_WHITESPACE,zr==="\uFEFF")continue;vr(_r,zr);continue;case Ue.BEGIN_WHITESPACE:vr(_r,zr);continue;case Ue.TEXT:if(_r.sawRoot&&!_r.closedRoot){for(var Vr=Fr-1;zr&&zr!=="<"&&zr!=="&";)zr=Mr(gr,Fr++),zr&&_r.trackPosition&&(_r.position++,zr===`
`?(_r.line++,_r.column=0):_r.column++);_r.textNode+=gr.substring(Vr,Fr-1)}zr==="<"&&!(_r.sawRoot&&_r.closedRoot&&!_r.strict)?(_r.state=Ue.OPEN_WAKA,_r.startTagPosition=_r.position):(!Ne(zr)&&(!_r.sawRoot||_r.closedRoot)&&ur(_r,"Text data outside of root node."),zr==="&"?_r.state=Ue.TEXT_ENTITY:_r.textNode+=zr);continue;case Ue.SCRIPT:zr==="<"?_r.state=Ue.SCRIPT_ENDING:_r.script+=zr;continue;case Ue.SCRIPT_ENDING:zr==="/"?_r.state=Ue.CLOSE_TAG:(_r.script+="<"+zr,_r.state=Ue.SCRIPT);continue;case Ue.OPEN_WAKA:if(zr==="!")_r.state=Ue.SGML_DECL,_r.sgmlDecl="";else if(!Ne(zr))if(Pt(Oe,zr))_r.state=Ue.OPEN_TAG,_r.tagName=zr;else if(zr==="/")_r.state=Ue.CLOSE_TAG,_r.tagName="";else if(zr==="?")_r.state=Ue.PROC_INST,_r.procInstName=_r.procInstBody="";else{if(ur(_r,"Unencoded <"),_r.startTagPosition+1<_r.position){var Gr=_r.position-_r.startTagPosition;zr=new Array(Gr).join(" ")+zr}_r.textNode+="<"+zr,_r.state=Ue.TEXT}continue;case Ue.SGML_DECL:if(_r.sgmlDecl+zr==="--"){_r.state=Ue.COMMENT,_r.comment="",_r.sgmlDecl="";continue}_r.doctype&&_r.doctype!==!0&&_r.sgmlDecl?(_r.state=Ue.DOCTYPE_DTD,_r.doctype+="<!"+_r.sgmlDecl+zr,_r.sgmlDecl=""):(_r.sgmlDecl+zr).toUpperCase()===ie?(er(_r,"onopencdata"),_r.state=Ue.CDATA,_r.sgmlDecl="",_r.cdata=""):(_r.sgmlDecl+zr).toUpperCase()===ae?(_r.state=Ue.DOCTYPE,(_r.doctype||_r.sawRoot)&&ur(_r,"Inappropriately located doctype declaration"),_r.doctype="",_r.sgmlDecl=""):zr===">"?(er(_r,"onsgmldeclaration",_r.sgmlDecl),_r.sgmlDecl="",_r.state=Ue.TEXT):(Fe(zr)&&(_r.state=Ue.SGML_DECL_QUOTED),_r.sgmlDecl+=zr);continue;case Ue.SGML_DECL_QUOTED:zr===_r.q&&(_r.state=Ue.SGML_DECL,_r.q=""),_r.sgmlDecl+=zr;continue;case Ue.DOCTYPE:zr===">"?(_r.state=Ue.TEXT,er(_r,"ondoctype",_r.doctype),_r.doctype=!0):(_r.doctype+=zr,zr==="["?_r.state=Ue.DOCTYPE_DTD:Fe(zr)&&(_r.state=Ue.DOCTYPE_QUOTED,_r.q=zr));continue;case Ue.DOCTYPE_QUOTED:_r.doctype+=zr,zr===_r.q&&(_r.q="",_r.state=Ue.DOCTYPE);continue;case Ue.DOCTYPE_DTD:zr==="]"?(_r.doctype+=zr,_r.state=Ue.DOCTYPE):zr==="<"?(_r.state=Ue.OPEN_WAKA,_r.startTagPosition=_r.position):Fe(zr)?(_r.doctype+=zr,_r.state=Ue.DOCTYPE_DTD_QUOTED,_r.q=zr):_r.doctype+=zr;continue;case Ue.DOCTYPE_DTD_QUOTED:_r.doctype+=zr,zr===_r.q&&(_r.state=Ue.DOCTYPE_DTD,_r.q="");continue;case Ue.COMMENT:zr==="-"?_r.state=Ue.COMMENT_ENDING:_r.comment+=zr;continue;case Ue.COMMENT_ENDING:zr==="-"?(_r.state=Ue.COMMENT_ENDED,_r.comment=ir(_r.opt,_r.comment),_r.comment&&er(_r,"oncomment",_r.comment),_r.comment=""):(_r.comment+="-"+zr,_r.state=Ue.COMMENT);continue;case Ue.COMMENT_ENDED:zr!==">"?(ur(_r,"Malformed comment"),_r.comment+="--"+zr,_r.state=Ue.COMMENT):_r.doctype&&_r.doctype!==!0?_r.state=Ue.DOCTYPE_DTD:_r.state=Ue.TEXT;continue;case Ue.CDATA:zr==="]"?_r.state=Ue.CDATA_ENDING:_r.cdata+=zr;continue;case Ue.CDATA_ENDING:zr==="]"?_r.state=Ue.CDATA_ENDING_2:(_r.cdata+="]"+zr,_r.state=Ue.CDATA);continue;case Ue.CDATA_ENDING_2:zr===">"?(_r.cdata&&er(_r,"oncdata",_r.cdata),er(_r,"onclosecdata"),_r.cdata="",_r.state=Ue.TEXT):zr==="]"?_r.cdata+="]":(_r.cdata+="]]"+zr,_r.state=Ue.CDATA);continue;case Ue.PROC_INST:zr==="?"?_r.state=Ue.PROC_INST_ENDING:Ne(zr)?_r.state=Ue.PROC_INST_BODY:_r.procInstName+=zr;continue;case Ue.PROC_INST_BODY:if(!_r.procInstBody&&Ne(zr))continue;zr==="?"?_r.state=Ue.PROC_INST_ENDING:_r.procInstBody+=zr;continue;case Ue.PROC_INST_ENDING:zr===">"?(er(_r,"onprocessinginstruction",{name:_r.procInstName,body:_r.procInstBody}),_r.procInstName=_r.procInstBody="",_r.state=Ue.TEXT):(_r.procInstBody+="?"+zr,_r.state=Ue.PROC_INST_BODY);continue;case Ue.OPEN_TAG:Pt(_e,zr)?_r.tagName+=zr:(fr(_r),zr===">"?Ir(_r):zr==="/"?_r.state=Ue.OPEN_TAG_SLASH:(Ne(zr)||ur(_r,"Invalid character in tag name"),_r.state=Ue.ATTRIB));continue;case Ue.OPEN_TAG_SLASH:zr===">"?(Ir(_r,!0),Nr(_r)):(ur(_r,"Forward-slash in opening tag not followed by >"),_r.state=Ue.ATTRIB);continue;case Ue.ATTRIB:if(Ne(zr))continue;zr===">"?Ir(_r):zr==="/"?_r.state=Ue.OPEN_TAG_SLASH:Pt(Oe,zr)?(_r.attribName=zr,_r.attribValue="",_r.state=Ue.ATTRIB_NAME):ur(_r,"Invalid attribute name");continue;case Ue.ATTRIB_NAME:zr==="="?_r.state
`&&e[L]!=="\r";L++)V+=e[L];if(V=V.trim(),V[V.length-1]==="/"&&(V=V.substring(0,V.length-1),L--),!validateTagName(V)){let ie;return V.trim().length===0?ie="Invalid space after '<'.":ie="Tag '"+V+"' is an invalid name.",getErrorObject("InvalidTag",ie,getLineNumberForPosition(e,L))}const z=readAttributeStr(e,L);if(z===!1)return getErrorObject("InvalidAttr","Attributes for '"+V+"' have open quote.",getLineNumberForPosition(e,L));let re=z.value;if(L=z.index,re[re.length-1]==="/"){const ie=L-re.length;re=re.substring(0,re.length-1);const ae=validateAttributeString(re,t);if(ae===!0)n=!0;else return getErrorObject(ae.err.code,ae.err.msg,getLineNumberForPosition(e,ie+ae.err.line))}else if(j)if(z.tagClosed){if(re.trim().length>0)return getErrorObject("InvalidTag","Closing tag '"+V+"' can't have attributes or invalid starting.",getLineNumberForPosition(e,$));if(y.length===0)return getErrorObject("InvalidTag","Closing tag '"+V+"' has not been opened.",getLineNumberForPosition(e,$));{const ie=y.pop();if(V!==ie.tagName){let ae=getLineNumberForPosition(e,ie.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+ie.tagName+"' (opened in line "+ae.line+", col "+ae.col+") instead of closing tag '"+V+"'.",getLineNumberForPosition(e,$))}y.length==0&&(k=!0)}}else return getErrorObject("InvalidTag","Closing tag '"+V+"' doesn't have proper closing.",getLineNumberForPosition(e,L));else{const ie=validateAttributeString(re,t);if(ie!==!0)return getErrorObject(ie.err.code,ie.err.msg,getLineNumberForPosition(e,L-re.length+ie.err.line));if(k===!0)return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(e,L));t.unpairedTags.indexOf(V)!==-1||y.push({tagName:V,tagStartPos:$}),n=!0}for(L++;L<e.length;L++)if(e[L]==="<")if(e[L+1]==="!"){L++,L=readCommentAndCDATA(e,L);continue}else if(e[L+1]==="?"){if(L=readPI(e,++L),L.err)return L}else break;else if(e[L]==="&"){const ie=validateAmpersand(e,L);if(ie==-1)return getErrorObject("InvalidChar","char '&' is not expected.",getLineNumberForPosition(e,L));L=ie}else if(k===!0&&!isWhiteSpace(e[L]))return getErrorObject("InvalidXml","Extra text at the end",getLineNumberForPosition(e,L));e[L]==="<"&&L--}}else{if(isWhiteSpace(e[L]))continue;return getErrorObject("InvalidChar","char '"+e[L]+"' is not expected.",getLineNumberForPosition(e,L))}if(n){if(y.length==1)return getErrorObject("InvalidTag","Unclosed tag '"+y[0].tagName+"'.",getLineNumberForPosition(e,y[0].tagStartPos));if(y.length>0)return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(y.map(L=>L.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return getErrorObject("InvalidXml","Start tag expected.",1);return!0};function isWhiteSpace(e){return e===" "||e===" "||e===`
`||e==="\r"}function readPI(e,t){const y=t;for(;t<e.length;t++)if(e[t]=="?"||e[t]==" "){const n=e.substr(y,t-y);if(t>5&&n==="xml")return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}else continue}return t}function readCommentAndCDATA(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t<e.length;t++)if(e[t]==="-"&&e[t+1]==="-"&&e[t+2]===">"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let y=1;for(t+=8;t<e.length;t++)if(e[t]==="<")y++;else if(e[t]===">"&&(y--,y===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t<e.length;t++)if(e[t]==="]"&&e[t+1]==="]"&&e[t+2]===">"){t+=2;break}}return t}const doubleQuote='"',singleQuote="'";function readAttributeStr(e,t){let y="",n="",k=!1;for(;t<e.length;t++){if(e[t]===doubleQuote||e[t]===singleQuote)n===""?n=e[t]:n!==e[t]||(n="");else if(e[t]===">"&&n===""){k=!0;break}y+=e[t]}return n!==""?!1:{value:y,index:t,tagClosed:k}}const validAttrStrRegxp=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function validateAttributeString(e,t){const y=util$3.getAllMatches(e,validAttrStrRegxp),n={};for(let k=0;k<y.length;k++){if(y[k][1].length===0)return getErrorObject("InvalidAttr","Attribute '"+y[k][2]+"' has no space in starting.",getPositionFromMatch(y[k]));if(y[k][3]!==void 0&&y[k][4]===void 0)return getErrorObject("InvalidAttr","Attribute '"+y[k][2]+"' is without value.",getPositionFromMatch(y[k]));if(y[k][3]===void 0&&!t.allowBooleanAttributes)return getErrorObject("InvalidAttr","boolean attribute '"+y[k][2]+"' is not allowed.",getPositionFromMatch(y[k]));const L=y[k][2];if(!validateAttrName(L))return getErrorObject("InvalidAttr","Attribute '"+L+"' is an invalid name.",getPositionFromMatch(y[k]));if(!n.hasOwnProperty(L))n[L]=1;else return getErrorObject("InvalidAttr","Attribute '"+L+"' is repeated.",getPositionFromMatch(y[k]))}return!0}function validateNumberAmpersand(e,t){let y=/\d/;for(e[t]==="x"&&(t++,y=/[\da-fA-F]/);t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(y))break}return-1}function validateAmpersand(e,t){if(t++,e[t]===";")return-1;if(e[t]==="#")return t++,validateNumberAmpersand(e,t);let y=0;for(;t<e.length;t++,y++)if(!(e[t].match(/\w/)&&y<20)){if(e[t]===";")break;return-1}return t}function getErrorObject(e,t,y){return{err:{code:e,msg:t,line:y.line||y,col:y.col}}}function validateAttrName(e){return util$3.isName(e)}function validateTagName(e){return util$3.isName(e)}function getLineNumberForPosition(e,t){const y=e.substring(0,t).split(/\r?\n/);return{line:y.length,col:y[y.length-1].length+1}}function getPositionFromMatch(e){return e.startIndex+e[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(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,y){return e}},buildOptions$1=function(e){return Object.assign({},defaultOptions$1,e)};OptionsBuilder.buildOptions=buildOptions$1;OptionsBuilder.defaultOptions=defaultOptions$1;class XmlNode{constructor(t){this.tagname=t,this.child=[],this[":@"]={}}add(t,y){t==="__proto__"&&(t="#__proto__"),this.child.push({[t]:y})}addChild(t){t.tagname==="__proto__"&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child})}}var xmlNode$1=XmlNode;const util$2=util$4;function readDocType$1(e,t){const
`);const t=new xmlNode("!xml");let y=t,n="",k="";for(let L=0;L<e.length;L++)if(e[L]==="<")if(e[L+1]==="/"){const j=findClosingIndex(e,">",L,"Closing Tag is not closed.");let V=e.substring(L+2,j).trim();if(this.options.removeNSPrefix){const ie=V.indexOf(":");ie!==-1&&(V=V.substr(ie+1))}this.options.transformTagName&&(V=this.options.transformTagName(V)),y&&(n=this.saveTextToParentTag(n,y,k));const z=k.substring(k.lastIndexOf(".")+1);if(V&&this.options.unpairedTags.indexOf(V)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${V}>`);let re=0;z&&this.options.unpairedTags.indexOf(z)!==-1?(re=k.lastIndexOf(".",k.lastIndexOf(".")-1),this.tagsNodeStack.pop()):re=k.lastIndexOf("."),k=k.substring(0,re),y=this.tagsNodeStack.pop(),n="",L=j}else if(e[L+1]==="?"){let j=readTagExp(e,L,!1,"?>");if(!j)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,y,k),!(this.options.ignoreDeclaration&&j.tagName==="?xml"||this.options.ignorePiTags)){const V=new xmlNode(j.tagName);V.add(this.options.textNodeName,""),j.tagName!==j.tagExp&&j.attrExpPresent&&(V[":@"]=this.buildAttributesMap(j.tagExp,k,j.tagName)),this.addChild(y,V,k)}L=j.closeIndex+1}else if(e.substr(L+1,3)==="!--"){const j=findClosingIndex(e,"-->",L+4,"Comment is not closed.");if(this.options.commentPropName){const V=e.substring(L+4,j-2);n=this.saveTextToParentTag(n,y,k),y.add(this.options.commentPropName,[{[this.options.textNodeName]:V}])}L=j}else if(e.substr(L+1,2)==="!D"){const j=readDocType(e,L);this.docTypeEntities=j.entities,L=j.i}else if(e.substr(L+1,2)==="!["){const j=findClosingIndex(e,"]]>",L,"CDATA is not closed.")-2,V=e.substring(L+9,j);n=this.saveTextToParentTag(n,y,k);let z=this.parseTextData(V,y.tagname,k,!0,!1,!0,!0);z==null&&(z=""),this.options.cdataPropName?y.add(this.options.cdataPropName,[{[this.options.textNodeName]:V}]):y.add(this.options.textNodeName,z),L=j+2}else{let j=readTagExp(e,L,this.options.removeNSPrefix),V=j.tagName;const z=j.rawTagName;let re=j.tagExp,ie=j.attrExpPresent,ae=j.closeIndex;this.options.transformTagName&&(V=this.options.transformTagName(V)),y&&n&&y.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,y,k,!1));const oe=y;if(oe&&this.options.unpairedTags.indexOf(oe.tagname)!==-1&&(y=this.tagsNodeStack.pop(),k=k.substring(0,k.lastIndexOf("."))),V!==t.tagname&&(k+=k?"."+V:V),this.isItStopNode(this.options.stopNodes,k,V)){let ue="";if(re.length>0&&re.lastIndexOf("/")===re.length-1)V[V.length-1]==="/"?(V=V.substr(0,V.length-1),k=k.substr(0,k.length-1),re=V):re=re.substr(0,re.length-1),L=j.closeIndex;else if(this.options.unpairedTags.indexOf(V)!==-1)L=j.closeIndex;else{const Oe=this.readStopNodeData(e,z,ae+1);if(!Oe)throw new Error(`Unexpected end of ${z}`);L=Oe.i,ue=Oe.tagContent}const de=new xmlNode(V);V!==re&&ie&&(de[":@"]=this.buildAttributesMap(re,k,V)),ue&&(ue=this.parseTextData(ue,V,k,!0,ie,!0,!0)),k=k.substr(0,k.lastIndexOf(".")),de.add(this.options.textNodeName,ue),this.addChild(y,de,k)}else{if(re.length>0&&re.lastIndexOf("/")===re.length-1){V[V.length-1]==="/"?(V=V.substr(0,V.length-1),k=k.substr(0,k.length-1),re=V):re=re.substr(0,re.length-1),this.options.transformTagName&&(V=this.options.transformTagName(V));const ue=new xmlNode(V);V!==re&&ie&&(ue[":@"]=this.buildAttributesMap(re,k,V)),this.addChild(y,ue,k),k=k.substr(0,k.lastIndexOf("."))}else{const ue=new xmlNode(V);this.tagsNodeStack.push(y),V!==re&&ie&&(ue[":@"]=this.buildAttributesMap(re,k,V)),this.addChild(y,ue,k),y=ue}n="",L=ae}}else n+=e[L];return t.child};function addChild(e,t,y){const n=this.options.updateTag(t.tagname,y,t[":@"]);n===!1||(typeof n=="string"&&(t.tagname=n),e.addChild(t))}const replaceEntitiesValue$1=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const y=this.docTypeEntities[t];e=e.replace(y.regx,y.val)}for(let t in this.lastEntities){const y=this.lastEntities[t];e=e.replace(y.regex,y.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const y=this.htmlEntities[t];e=e.replace(y.regex,y.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function saveTextToParentTa
`;function toXml(e,t){let y="";return t.format&&t.indentBy.length>0&&(y=EOL),arrToStr(e,t,"",y)}function arrToStr(e,t,y,n){let k="",L=!1;for(let $=0;$<e.length;$++){const j=e[$],V=propName(j);if(V===void 0)continue;let z="";if(y.length===0?z=V:z=`${y}.${V}`,V===t.textNodeName){let ue=j[V];isStopNode(z,t)||(ue=t.tagValueProcessor(V,ue),ue=replaceEntitiesValue(ue,t)),L&&(k+=n),k+=ue,L=!1;continue}else if(V===t.cdataPropName){L&&(k+=n),k+=`<![CDATA[${j[V][0][t.textNodeName]}]]>`,L=!1;continue}else if(V===t.commentPropName){k+=n+`<!--${j[V][0][t.textNodeName]}-->`,L=!0;continue}else if(V[0]==="?"){const ue=attr_to_str(j[":@"],t),de=V==="?xml"?"":n;let Oe=j[V][0][t.textNodeName];Oe=Oe.length!==0?" "+Oe:"",k+=de+`<${V}${Oe}${ue}?>`,L=!0;continue}let re=n;re!==""&&(re+=t.indentBy);const ie=attr_to_str(j[":@"],t),ae=n+`<${V}${ie}`,oe=arrToStr(j[V],t,z,re);t.unpairedTags.indexOf(V)!==-1?t.suppressUnpairedNode?k+=ae+">":k+=ae+"/>":(!oe||oe.length===0)&&t.suppressEmptyNode?k+=ae+"/>":oe&&oe.endsWith(">")?k+=ae+`>${oe}${n}</${V}>`:(k+=ae+">",oe&&n!==""&&(oe.includes("/>")||oe.includes("</"))?k+=n+t.indentBy+oe+n:k+=oe,k+=`</${V}>`),L=!0}return k}function propName(e){const t=Object.keys(e);for(let y=0;y<t.length;y++){const n=t[y];if(e.hasOwnProperty(n)&&n!==":@")return n}}function attr_to_str(e,t){let y="";if(e&&!t.ignoreAttributes)for(let n in e){if(!e.hasOwnProperty(n))continue;let k=t.attributeValueProcessor(n,e[n]);k=replaceEntitiesValue(k,t),k===!0&&t.suppressBooleanAttributes?y+=` ${n.substr(t.attributeNamePrefix.length)}`:y+=` ${n.substr(t.attributeNamePrefix.length)}="${k}"`}return y}function isStopNode(e,t){e=e.substr(0,e.length-t.textNodeName.length-1);let y=e.substr(e.lastIndexOf(".")+1);for(let n in t.stopNodes)if(t.stopNodes[n]===e||t.stopNodes[n]==="*."+y)return!0;return!1}function replaceEntitiesValue(e,t){if(e&&e.length>0&&t.processEntities)for(let y=0;y<t.entities.length;y++){const n=t.entities[y];e=e.replace(n.regex,n.val)}return e}var orderedJs2Xml=toXml;const buildFromOrderedJs=orderedJs2Xml,defaultOptions={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Builder(e){this.options=Object.assign({},defaultOptions,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(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(e){return this.options.preserveOrder?buildFromOrderedJs(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0).val)};Builder.prototype.j2x=function(e,t){let y="",n="";for(let k in e)if(Object.prototype.hasOwnProperty.call(e,k))if(typeof e[k]>"u")this.isAttribute(k)&&(n+="");else if(e[k]===null)this.isAttribute(k)?n+="":k[0]==="?"?n+=this.indentate(t)+"<"+k+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+k+"/"+this.tagEndChar;else if(e[k]instanceof Date)n+=this.buildTextValNode(e[k],k,"",t);else if(typeof e[k]!="object"){const L=this.isAttribute(k);if(L)y+=this.buildAttrPairStr(L,""+e[k]);else if(k===this.options.textNodeName){let $=this.options.tagValueProcessor(k,""+e[k]);n+=this.replaceEntitiesValue($)}else n+=this.buildTextValNode(e[k],k,"",t)}else if(Array.isArray(e[k])){const L=e[k].length;let $="",j="";for(let V=0;V<L;V++){const z=e[k][V];if(!(typeof z>"u"))if(z===null)k[0]==="?"?n+=this.indentate(t)+"<"+k+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+k+"/"+this.tagEndChar;else if(typeof z=="object")if(this.options.oneListGroup){const re=this.j2x(z,t+1);$+=re.val,this.options.attributesGroupName&&z.hasOwnProperty(this.options.attributesGroupName)&&(j+=re.attrStr)}else $+=this.processTextOrObjNode(z,k,t);else if(this.options.oneListGroup){let re=this.options.tagValueProcessor(k,z);re=this.replaceEntitiesValue(re),$+=re}else $+=this.buildTextValNode(z,k,"",t)}this.options.oneListGroup&&($=this.buildObjectNode($,k,j,t)),n+=$}else if(this.options.attributesGroupName&&k===this.options.attributesGroupName){const L=Object.keys(e[k]),$=L.length;for(let j=0;j<$;j++)y+=this.buildAttrPairStr(L[j],""+e[k][L[j]])}else n+=this.processTextOrObjNode(e[k],k,t);return{attrStr:y,val:n}};Builder.prototype.buildAttrPairStr=function(e,t){return t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&t==="true"?" "+e:" "+e+'="'+t+'"'};function processTextOrObjNode(e,t,y){const n=this.j2x(e,y+1);return e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],t,n.attrStr,y):this.buildObjectNode(n.val,t,n.attrStr,y)}Builder.prototype.buildObjectNode=function(e,t,y,n){if(e==="")return t[0]==="?"?this.indentate(n)+"<"+t+y+"?"+this.tagEndChar:this.indentate(n)+"<"+t+y+this.closeTag(t)+this.tagEndChar;{let k="</"+t+this.tagEndChar,L="";return t[0]==="?"&&(L="?",k=""),(y||y==="")&&e.indexOf("<")===-1?this.indentate(n)+"<"+t+y+L+">"+e+k:this.options.commentPropName!==!1&&t===this.options.commentPropName&&L.length===0?this.indentate(n)+`<!--${e}-->`+this.newLine:this.indentate(n)+"<"+t+y+L+this.tagEndChar+e+this.indentate(n)+k}};Builder.prototype.closeTag=function(e){let t="";return this.options.unpairedTags.indexOf(e)!==-1?this.options.suppressUnpairedNode||(t="/"):this.options.suppressEmptyNode?t="/":t=`></${e}`,t};Builder.prototype.buildTextValNode=function(e,t,y,n){if(this.options.cdataPropName!==!1&&t===this.options.cdataPropName)return this.indentate(n)+`<![CDATA[${e}]]>`+this.newLine;if(this.options.commentPropName!==!1&&t===this.options.commentPropName)return this.indentate(n)+`<!--${e}-->`+this.newLine;if(t[0]==="?")return this.indentate(n)+"<"+t+y+"?"+this.tagEndChar;{let k=this.options.tagValueProcessor(t,e);return k=this.replaceEntitiesValue(k),k===""?this.indentate(n)+"<"+t+y+this.closeTag(t)+this.tagEndChar:this.indentate(n)+"<"+t+y+">"+k+"</"+t+this.tagEndChar}};Builder.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){const y=this.options.entities[t];e=e.replace(y.regex,y.val)}return e};function indentate(e){return this.options.indentBy.repeat(e)}function isAttribute(e){return e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName?e.substr(this.attrPrefixLen):!1}var json2xml=Builder;const validator$1=vali
* 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(e){var t=mimeDb,y=pathBrowserify.extname,n=/^\s*([^;\s]*)(?:;|\s|$)/,k=/^text\//i;e.charset=L,e.charsets={lookup:L},e.contentType=$,e.extension=j,e.extensions=Object.create(null),e.lookup=V,e.types=Object.create(null),z(e.extensions,e.types);function L(re){if(!re||typeof re!="string")return!1;var ie=n.exec(re),ae=ie&&t[ie[1].toLowerCase()];return ae&&ae.charset?ae.charset:ie&&k.test(ie[1])?"UTF-8":!1}function $(re){if(!re||typeof re!="string")return!1;var ie=re.indexOf("/")===-1?e.lookup(re):re;if(!ie)return!1;if(ie.indexOf("charset")===-1){var ae=e.charset(ie);ae&&(ie+="; charset="+ae.toLowerCase())}return ie}function j(re){if(!re||typeof re!="string")return!1;var ie=n.exec(re),ae=ie&&e.extensions[ie[1].toLowerCase()];return!ae||!ae.length?!1:ae[0]}function V(re){if(!re||typeof re!="string")return!1;var ie=y("x."+re).toLowerCase().substr(1);return ie&&e.types[ie]||!1}function z(re,ie){var ae=["nginx","apache",void 0,"iana"];Object.keys(t).forEach(function(ue){var de=t[ue],Oe=de.extensions;if(!(!Oe||!Oe.length)){re[ue]=Oe;for(var _e=0;_e<Oe.length;_e++){var Ce=Oe[_e];if(ie[Ce]){var pe=ae.indexOf(t[ie[Ce]].source),Ne=ae.indexOf(de.source);if(ie[Ce]!=="application/octet-stream"&&(pe>Ne||pe===Ne&&ie[Ce].substr(0,12)==="application/"))continue}ie[Ce]=ue}}})}})(mimeTypes$1);let ENCRYPTION_TYPES=function(e){return e.SSEC="SSE-C",e.KMS="KMS",e}({}),RETENTION_MODES=function(e){return e.GOVERNANCE="GOVERNANCE",e.COMPLIANCE="COMPLIANCE",e}({}),RETENTION_VALIDITY_UNITS=function(e){return e.DAYS="Days",e.YEARS="Years",e}({}),LEGAL_HOLD_STATUS=function(e){return e.ENABLED="ON",e.DISABLED="OFF",e}({});const MetaDataHeaderPrefix="x-amz-meta-";function uriEscape(e){return e.split("").reduce((t,y)=>{const n=Buffer$2.from(y);if(n.length===1&&("A"<=y&&y<="Z"||"a"<=y&&y<="z"||"0"<=y&&y<="9"||y==="_"||y==="."||y==="~"||y==="-"))return t=t+y,t;for(const k of n)t=t+"%"+k.toString(16).toUpperCase();return t},"")}function uriResourceEscape(e){return uriEscape(e).replace(/%2F/g,"/")}function getScope(e,t,y="s3"){return`${makeDateShort(t)}/${e}/${y}/aws4_request`}function isAmazonEndpoint(e){return e==="s3.amazonaws.com"||e==="s3.cn-north-1.amazonaws.com.cn"}function isVirtualHostStyle(e,t,y,n){return t==="https:"&&y.includes(".")?!1:isAmazonEndpoint(e)||!n}function isValidIP(e){return ipaddr.isValid(e)}function isValidEndpoint(e){return isValidDomain(e)||isValidIP(e)}function isValidDomain(e){if(!isString$1(e)||e.length===0||e.length>255||e[0]==="-"||e.slice(-1)==="-"||e[0]==="_"||e.slice(-1)==="_"||e[0]===".")return!1;const t="`~!@#$%^&*()+={}[]|\\\"';:><?/";for(const y of t)if(e.includes(y))return!1;return!0}function probeContentType(e){let t=mimeTypes$1.lookup(e);return t||(t="application/octet-stream"),t}function isValidPort(e){return isNumber$2(e)?0<=e&&e<=65535:!1}function isValidBucketName(e){return!isString$1(e)||e.length<3||e.length>63||e.includes("..")||/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/.test(e)?!1:!!/^[a-z0-9][a-z0-9.-]+[a-z0-9]$/.test(e)}function isValidObjectName(e){return isValidPrefix(e)?e.length!==0:!1}function isValidPrefix(e){return!(!isString$1(e)||e.length>1024)}function isNumber$2(e){return typeof e=="number"}function isFunction$1(e){return typeof e=="function"}function isString$1(e){return typeof e=="string"}function isObject$1(e){return typeof e=="object"&&e!==null}function isReadableStream$1(e){return isObject$1(e)&&isFunction$1(e._read)}function isBoolean$1(e){return typeof e=="boolean"}function isEmpty(e){return _.isEmpty(e)}function isEmptyObject(e){return Object.values(e).filter(t=>t!==void 0).length!==0}function isDefined(e){return e!=null}function isValidDate(e){return e instanceof Date&&!isNaN(e)}function makeDateLong(e){e=e||new Date;const t=e.toISOString();return t.slice(0,4)+t.slice(5,7)+t.slice(8,13)+t.slice(14,16)+t.slice(17,19)+"Z"}function makeDateShort(e){e=e||new Date;const t=e.toISOString();return t.slice(0,4)+t.slice(5,7)+t.slice(8,10)}function pipesetup(...e){return e.reduce((t,y)=>(t.on("error",n=>y.emit("error",n)),t.pipe(y)))}function readableStream(e){const t=new streamBrowserify.Readable
`)+`
`,n.join(";").toLowerCase(),k].join(`
`)}function getCredential(e,t,y,n="s3"){if(!isString$1(e))throw new TypeError('accessKey should be of type "string"');if(!isString$1(t))throw new TypeError('region should be of type "string"');if(!isObject$1(y))throw new TypeError('requestDate should be of type "object"');return`${e}/${getScope(t,y,n)}`}function getSignedHeaders(e){if(!isObject$1(e))throw new TypeError('request should be of type "object"');const t=["authorization","content-length","content-type","user-agent"];return Object.keys(e).filter(y=>!t.includes(y)).sort()}function getSigningKey(e,t,y,n="s3"){if(!isObject$1(e))throw new TypeError('date should be of type "object"');if(!isString$1(t))throw new TypeError('region should be of type "string"');if(!isString$1(y))throw new TypeError('secretKey should be of type "string"');const k=makeDateShort(e);return(void 0)("sha256",(void 0)("sha256",(void 0)("sha256",(void 0)("sha256","AWS4"+y).update(k).digest()).update(t).digest()).update(n).digest()).update("aws4_request").digest()}function getStringToSign(e,t,y,n="s3"){if(!isString$1(e))throw new TypeError('canonicalRequest should be of type "string"');if(!isObject$1(t))throw new TypeError('requestDate should be of type "object"');if(!isString$1(y))throw new TypeError('region should be of type "string"');const k=(void 0)("sha256").update(e).digest("hex"),L=getScope(y,t,n);return[signV4Algorithm,makeDateLong(t),L,k].join(`
`)}function postPresignSignatureV4(e,t,y,n){if(!isString$1(e))throw new TypeError('region should be of type "string"');if(!isObject$1(t))throw new TypeError('date should be of type "object"');if(!isString$1(y))throw new TypeError('secretKey should be of type "string"');if(!isString$1(n))throw new TypeError('policyBase64 should be of type "string"');return(void 0)("sha256",getSigningKey(t,e,y)).update(n).digest("hex").toLowerCase()}function signV4(e,t,y,n,k,L,$="s3"){if(!isObject$1(e))throw new TypeError('request should be of type "object"');if(!isString$1(t))throw new TypeError('accessKey should be of type "string"');if(!isString$1(y))throw new TypeError('secretKey should be of type "string"');if(!isString$1(n))throw new TypeError('region should be of type "string"');if(!t)throw new AccessKeyRequiredError("accessKey is required for signing");if(!y)throw new SecretKeyRequiredError("secretKey is required for signing");const j=getSignedHeaders(e.headers),V=getCanonicalRequest(e.method,e.path,e.headers,j,L),z=$||"s3",re=getStringToSign(V,k,n,z),ie=getSigningKey(k,n,y,z),ae=getCredential(t,n,k,z),oe=(void 0)("sha256",ie).update(re).digest("hex").toLowerCase();return`${signV4Algorithm} Credential=${ae}, SignedHeaders=${j.join(";").toLowerCase()}, Signature=${oe}`}function presignSignatureV4(e,t,y,n,k,L,$){if(!isObject$1(e))throw new TypeError('request should be of type "object"');if(!isString$1(t))throw new TypeError('accessKey should be of type "string"');if(!isString$1(y))throw new TypeError('secretKey should be of type "string"');if(!isString$1(k))throw new TypeError('region should be of type "string"');if(!t)throw new AccessKeyRequiredError("accessKey is required for presigning");if(!y)throw new SecretKeyRequiredError("secretKey is required for presigning");if(!isNumber$2($))throw new TypeError('expires should be of type "number"');if($<1)throw new ExpiresParamError("expires param cannot be less than 1 seconds");if($>604800)throw new ExpiresParamError("expires param cannot be greater than 7 days");const j=makeDateLong(L),V=getSignedHeaders(e.headers),z=getCredential(t,k,L),re="UNSIGNED-PAYLOAD",ie=[];ie.push(`X-Amz-Algorithm=${signV4Algorithm}`),ie.push(`X-Amz-Credential=${uriEscape(z)}`),ie.push(`X-Amz-Date=${j}`),ie.push(`X-Amz-Expires=${$}`),ie.push(`X-Amz-SignedHeaders=${uriEscape(V.join(";").toLowerCase())}`),n&&ie.push(`X-Amz-Security-Token=${uriEscape(n)}`);const ae=e.path.split("?")[0];let oe=e.path.split("?")[1];oe?oe=oe+"&"+ie.join("&"):oe=ie.join("&");const ue=ae+"?"+oe,de=getCanonicalRequest(e.method,ue,e.headers,V,re),Oe=getStringToSign(de,L,k),Ce=(void 0)("sha256",getSigningKey(L,k,y)).update(Oe).digest("hex").toLowerCase();return e.protocol+"//"+e.headers.host+ue+`&X-Amz-Signature=${Ce}`}async function readAsBuffer(e){return new Promise((t,y)=>{const n=[];e.on("data",k=>n.push(k)).on("error",k=>y(k)).on("end",()=>t(Buffer$2.concat(n)))})}async function readAsString(e){return(await readAsBuffer(e)).toString()}async function drainResponse(e){return new Promise((t,y)=>{e.on("data",()=>{}).on("error",n=>y(n)).on("end",()=>t())})}function parseBucketRegion(e){return parseXml(e).LocationConstraint}const fxp=new fxp$2.XMLParser;function parseError(e,t){let y={};const n=fxp.parse(e);n.Error&&(y=n.Error);const k=new S3Error;return Object.entries(y).forEach(([L,$])=>{k[L.toLowerCase()]=$}),Object.entries(t).forEach(([L,$])=>{k[L]=$}),k}async function parseResponseError(e){const t=e.statusCode;let y,n;t===301?(y="MovedPermanently",n="Moved Permanently"):t===307?(y="TemporaryRedirect",n="Are you using the correct endpoint URL?"):t===403?(y="AccessDenied",n="Valid and authorized credentials required"):t===404?(y="NotFound",n="Not Found"):t===405||t===501?(y="MethodNotAllowed",n="Method Not Allowed"):(y="UnknownError",n=`${t}`);const k={};k.amzRequestid=e.headers["x-amz-request-id"],k.amzId2=e.headers["x-amz-id-2"],k.amzBucketRegion=e.headers["x-amz-bucket-region"];const L=await readAsString(e);if(L)throw parseError(L,k);const $=new S3Error(n,{cause:k});throw $.code=y,Object.entries(k).forEach(([j,V])=>{$[j]=V}),$}functi
`)}),k.write(`
`)};if(k.write(`REQUEST: ${t.method} ${t.path}
`),L(t.headers),y&&(this.logStream.write(`RESPONSE: ${y.statusCode}
`),L(y.headers)),n){k.write(`ERROR BODY:
`);const $=JSON.stringify(n,null," ");k.write(`${$}
`)}}traceOn(t){t||(t=define_process_default$3.stdout),this.logStream=t}traceOff(){this.logStream=void 0}async makeRequestAsync(t,y="",n=[200],k=""){if(!isObject$1(t))throw new TypeError('options should be of type "object"');if(!isString$1(y)&&!isObject$1(y))throw new TypeError('payload should be of type "string" or "Buffer"');if(n.forEach($=>{if(!isNumber$2($))throw new TypeError('statusCode should be of type "number"')}),!isString$1(k))throw new TypeError('region should be of type "string"');t.headers||(t.headers={}),(t.method==="POST"||t.method==="PUT"||t.method==="DELETE")&&(t.headers["content-length"]=y.length.toString());const L=this.enableSHA256?toSha256(y):"";return this.makeRequestStreamAsync(t,y,L,n,k)}async makeRequestAsyncOmit(t,y="",n=[200],k=""){const L=await this.makeRequestAsync(t,y,n,k);return await drainResponse(L),L}async makeRequestStreamAsync(t,y,n,k,L){if(!isObject$1(t))throw new TypeError('options should be of type "object"');if(!(Buffer$2.isBuffer(y)||typeof y=="string"||isReadableStream$1(y)))throw new InvalidArgumentError(`stream should be a Buffer, string or readable Stream, got ${typeof y} instead`);if(!isString$1(n))throw new TypeError('sha256sum should be of type "string"');if(k.forEach(V=>{if(!isNumber$2(V))throw new TypeError('statusCode should be of type "number"')}),!isString$1(L))throw new TypeError('region should be of type "string"');if(!this.enableSHA256&&n.length!==0)throw new InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&n.length!==64)throw new InvalidArgumentError(`Invalid sha256sum : ${n}`);await this.checkAndRefreshCreds(),L=L||await this.getBucketRegionAsync(t.bucketName);const $=this.getRequestOptions({...t,region:L});if(!this.anonymous){this.enableSHA256||(n="UNSIGNED-PAYLOAD");const V=new Date;$.headers["x-amz-date"]=makeDateLong(V),$.headers["x-amz-content-sha256"]=n,this.sessionToken&&($.headers["x-amz-security-token"]=this.sessionToken),$.headers.authorization=signV4($,this.accessKey,this.secretKey,L,V,n)}const j=await request$1(this.transport,$,y);if(!j.statusCode)throw new Error("BUG: response doesn't have a statusCode");if(!k.includes(j.statusCode)){delete this.regionMap[t.bucketName];const V=await parseResponseError(j);throw this.logHTTP($,j,V),V}return this.logHTTP($,j),j}async getBucketRegionAsync(t){if(!isValidBucketName(t))throw new InvalidBucketNameError(`Invalid bucket name : ${t}`);if(this.region)return this.region;const y=this.regionMap[t];if(y)return y;const n=async z=>{const re=await readAsString(z),ie=parseBucketRegion(re)||DEFAULT_REGION;return this.regionMap[t]=ie,ie},k="GET",L="location",$=this.pathStyle&&!isBrowser_1;let j;try{const z=await this.makeRequestAsync({method:k,bucketName:t,query:L,pathStyle:$},"",[200],DEFAULT_REGION);return n(z)}catch(z){if(z.name!=="AuthorizationHeaderMalformed"||(j=z.Region,!j))throw z}const V=await this.makeRequestAsync({method:k,bucketName:t,query:L,pathStyle:$},"",[200],j);return await n(V)}makeRequest(t,y="",n=[200],k="",L,$){let j;L?j=this.makeRequestAsync(t,y,n,k):j=this.makeRequestAsyncOmit(t,y,n,k),j.then(V=>$(null,V),V=>{$(V)})}makeRequestStream(t,y,n,k,L,$,j){(async()=>{const z=await this.makeRequestStreamAsync(t,y,n,k,L);return $||await drainResponse(z),z})().then(z=>j(null,z),z=>j(z))}getBucketRegion(t,y){return this.getBucketRegionAsync(t).then(n=>y(null,n),n=>y(n))}async removeBucket(t){if(!isValidBucketName(t))throw new InvalidBucketNameError("Invalid bucket name: "+t);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:t},"",[204]),delete this.regionMap[t]}async statObject(t,y,n={}){if(!isValidBucketName(t))throw new InvalidBucketNameError("Invalid bucket name: "+t);if(!isValidObjectName(y))throw new InvalidObjectNameError(`Invalid object name: ${y}`);if(!isObject$1(n))throw new InvalidArgumentError('statOpts should be of type "object"');const k=queryString.stringify(n),$=await this.makeRequestAsyncOmit({method:"HEAD",bucketName:t,objectName:y,query:k});return{size:parseInt($.headers["content-length"]),metaData:extractMetadata($.headers
`).forEach(function(_e){if(_e){var Ce=_e.indexOf(":"),pe=_e.substr(0,Ce).trim().toLowerCase(),Ne=_e.substr(Ce+1).trim();de[pe]=Ne}}),{error:ae,statusCode:oe.status,statusMessage:oe.statusText,headers:de,body:ue}},z=function(ae,oe){return!oe&&oe==="text"?ae.responseText:ae.response},re=function(ae,oe){var ue=(ae.method||"GET").toUpperCase(),de=ae.url;if(ae.qs){var Oe=j(ae.qs);Oe&&(de+=(de.indexOf("?")===-1?"?":"&")+Oe)}var _e=new XMLHttpRequest;if(_e.open(ue,de,!0),_e.responseType=ae.dataType||"text",ae.xhrFields)for(var Ce in ae.xhrFields)_e[Ce]=ae.xhrFields[Ce];var pe=ae.headers;if(pe)for(var Ne in pe)pe.hasOwnProperty(Ne)&&Ne.toLowerCase()!=="content-length"&&Ne.toLowerCase()!=="user-agent"&&Ne.toLowerCase()!=="origin"&&Ne.toLowerCase()!=="host"&&_e.setRequestHeader(Ne,pe[Ne]);return ae.onProgress&&_e.upload&&(_e.upload.onprogress=ae.onProgress),ae.onDownloadProgress&&(_e.onprogress=ae.onDownloadProgress),ae.timeout&&(_e.timeout=ae.timeout),_e.ontimeout=function(Fe){var Ve=new Error("timeout");oe(V(Ve,_e))},_e.onload=function(){oe(V(null,_e,z(_e,ae.dataType)))},_e.onerror=function(Fe){var Ve=z(_e,ae.dataType);if(Ve)oe(V(null,_e,Ve));else{var Pt=_e.statusText;!Pt&&_e.status===0&&(Pt=new Error("CORS blocked or network error")),oe(V(Pt,_e,Ve))}},_e.send(ae.body||""),_e};y.exports=re},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(y,n){function k(L,$){if(!(L instanceof $))throw new TypeError("Cannot call a class as a function")}y.exports=k,y.exports.__esModule=!0,y.exports.default=y.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(y,n,k){var L=k("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function $(V,z){for(var re=0;re<z.length;re++){var ie=z[re];ie.enumerable=ie.enumerable||!1,ie.configurable=!0,"value"in ie&&(ie.writable=!0),Object.defineProperty(V,L(ie.key),ie)}}function j(V,z,re){return z&&$(V.prototype,z),re&&$(V,re),Object.defineProperty(V,"prototype",{writable:!1}),V}y.exports=j,y.exports.__esModule=!0,y.exports.default=y.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":function(y,n,k){var L=k("./node_modules/@babel/runtime/helpers/typeof.js").default;function $(j,V){if(L(j)!=="object"||j===null)return j;var z=j[Symbol.toPrimitive];if(z!==void 0){var re=z.call(j,V||"default");if(L(re)!=="object")return re;throw new TypeError("@@toPrimitive must return a primitive value.")}return(V==="string"?String:Number)(j)}y.exports=$,y.exports.__esModule=!0,y.exports.default=y.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":function(y,n,k){var L=k("./node_modules/@babel/runtime/helpers/typeof.js").default,$=k("./node_modules/@babel/runtime/helpers/toPrimitive.js");function j(V){var z=$(V,"string");return L(z)==="symbol"?z:String(z)}y.exports=j,y.exports.__esModule=!0,y.exports.default=y.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(y,n){function k(L){"@babel/helpers - typeof";return y.exports=k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function($){return typeof $}:function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},y.exports.__esModule=!0,y.exports.default=y.exports,k(L)}y.exports=k,y.exports.__esModule=!0,y.exports.default=y.exports},"./node_modules/fast-xml-parser/src/fxp.js":function(y,n,k){const L=k("./node_modules/fast-xml-parser/src/validator.js"),$=k("./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"),j=k("./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js");y.exports={XMLParser:$,XMLValidator:L,XMLBuilder:j}},"./node_modules/fast-xml-parser/src/util.js":function(y,n,k){const L=":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",$=L+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",j="["+L+"]["+$+"]*",V=new RegExp("^"+j+"$"),z=function(ie,ae){const oe=[];let ue=ae.exec(ie);for(;ue;){const de=[];de.startIndex=ae.lastIndex-ue[0].length;const Oe=ue.length;for(let _e=0;_e<Oe;_e++)de.push(ue[_e]);oe.pu
`&&Ve[Et]!=="\r";Et++)ir+=Ve[Et];if(ir=ir.trim(),ir[ir.length-1]==="/"&&(ir=ir.substring(0,ir.length-1),Et--),!pe(ir)){let ur;return ir.trim().length===0?ur="Invalid space after '<'.":ur="Tag '"+ir+"' is an invalid name.",_e("InvalidTag",ur,Ne(Ve,Et))}const rr=ae(Ve,Et);if(rr===!1)return _e("InvalidAttr","Attributes for '"+ir+"' have open quote.",Ne(Ve,Et));let lr=rr.value;if(Et=rr.index,lr[lr.length-1]==="/"){const ur=Et-lr.length;lr=lr.substring(0,lr.length-1);const fr=ue(lr,Pt);if(fr===!0)Ue=!0;else return _e(fr.err.code,fr.err.msg,Ne(Ve,ur+fr.err.line))}else if(tr)if(rr.tagClosed){if(lr.trim().length>0)return _e("InvalidTag","Closing tag '"+ir+"' can't have attributes or invalid starting.",Ne(Ve,er));if(kt.length===0)return _e("InvalidTag","Closing tag '"+ir+"' has not been opened.",Ne(Ve,er));{const ur=kt.pop();if(ir!==ur.tagName){let fr=Ne(Ve,ur.tagStartPos);return _e("InvalidTag","Expected closing tag '"+ur.tagName+"' (opened in line "+fr.line+", col "+fr.col+") instead of closing tag '"+ir+"'.",Ne(Ve,er))}kt.length==0&&(ze=!0)}}else return _e("InvalidTag","Closing tag '"+ir+"' doesn't have proper closing.",Ne(Ve,Et));else{const ur=ue(lr,Pt);if(ur!==!0)return _e(ur.err.code,ur.err.msg,Ne(Ve,Et-lr.length+ur.err.line));if(ze===!0)return _e("InvalidXml","Multiple possible root nodes found.",Ne(Ve,Et));Pt.unpairedTags.indexOf(ir)!==-1||kt.push({tagName:ir,tagStartPos:er}),Ue=!0}for(Et++;Et<Ve.length;Et++)if(Ve[Et]==="<")if(Ve[Et+1]==="!"){Et++,Et=z(Ve,Et);continue}else if(Ve[Et+1]==="?"){if(Et=V(Ve,++Et),Et.err)return Et}else break;else if(Ve[Et]==="&"){const ur=Oe(Ve,Et);if(ur==-1)return _e("InvalidChar","char '&' is not expected.",Ne(Ve,Et));Et=ur}else if(ze===!0&&!j(Ve[Et]))return _e("InvalidXml","Extra text at the end",Ne(Ve,Et));Ve[Et]==="<"&&Et--}}else{if(j(Ve[Et]))continue;return _e("InvalidChar","char '"+Ve[Et]+"' is not expected.",Ne(Ve,Et))}if(Ue){if(kt.length==1)return _e("InvalidTag","Unclosed tag '"+kt[0].tagName+"'.",Ne(Ve,kt[0].tagStartPos));if(kt.length>0)return _e("InvalidXml","Invalid '"+JSON.stringify(kt.map(Et=>Et.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return _e("InvalidXml","Start tag expected.",1);return!0};function j(Ve){return Ve===" "||Ve===" "||Ve===`
`||Ve==="\r"}function V(Ve,Pt){const kt=Pt;for(;Pt<Ve.length;Pt++)if(Ve[Pt]=="?"||Ve[Pt]==" "){const Ue=Ve.substr(kt,Pt-kt);if(Pt>5&&Ue==="xml")return _e("InvalidXml","XML declaration allowed only at the start of the document.",Ne(Ve,Pt));if(Ve[Pt]=="?"&&Ve[Pt+1]==">"){Pt++;break}else continue}return Pt}function z(Ve,Pt){if(Ve.length>Pt+5&&Ve[Pt+1]==="-"&&Ve[Pt+2]==="-"){for(Pt+=3;Pt<Ve.length;Pt++)if(Ve[Pt]==="-"&&Ve[Pt+1]==="-"&&Ve[Pt+2]===">"){Pt+=2;break}}else if(Ve.length>Pt+8&&Ve[Pt+1]==="D"&&Ve[Pt+2]==="O"&&Ve[Pt+3]==="C"&&Ve[Pt+4]==="T"&&Ve[Pt+5]==="Y"&&Ve[Pt+6]==="P"&&Ve[Pt+7]==="E"){let kt=1;for(Pt+=8;Pt<Ve.length;Pt++)if(Ve[Pt]==="<")kt++;else if(Ve[Pt]===">"&&(kt--,kt===0))break}else if(Ve.length>Pt+9&&Ve[Pt+1]==="["&&Ve[Pt+2]==="C"&&Ve[Pt+3]==="D"&&Ve[Pt+4]==="A"&&Ve[Pt+5]==="T"&&Ve[Pt+6]==="A"&&Ve[Pt+7]==="["){for(Pt+=8;Pt<Ve.length;Pt++)if(Ve[Pt]==="]"&&Ve[Pt+1]==="]"&&Ve[Pt+2]===">"){Pt+=2;break}}return Pt}const re='"',ie="'";function ae(Ve,Pt){let kt="",Ue="",ze=!1;for(;Pt<Ve.length;Pt++){if(Ve[Pt]===re||Ve[Pt]===ie)Ue===""?Ue=Ve[Pt]:Ue!==Ve[Pt]||(Ue="");else if(Ve[Pt]===">"&&Ue===""){ze=!0;break}kt+=Ve[Pt]}return Ue!==""?!1:{value:kt,index:Pt,tagClosed:ze}}const oe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function ue(Ve,Pt){const kt=L.getAllMatches(Ve,oe),Ue={};for(let ze=0;ze<kt.length;ze++){if(kt[ze][1].length===0)return _e("InvalidAttr","Attribute '"+kt[ze][2]+"' has no space in starting.",Fe(kt[ze]));if(kt[ze][3]!==void 0&&kt[ze][4]===void 0)return _e("InvalidAttr","Attribute '"+kt[ze][2]+"' is without value.",Fe(kt[ze]));if(kt[ze][3]===void 0&&!Pt.allowBooleanAttributes)return _e("InvalidAttr","boolean attribute '"+kt[ze][2]+"' is not allowed.",Fe(kt[ze]));const Et=kt[ze][2];if(!Ce(Et))return _e("InvalidAttr","Attribute '"+Et+"' is an invalid name.",Fe(kt[ze]));if(!Ue.hasOwnProperty(Et))Ue[Et]=1;else return _e("InvalidAttr","Attribute '"+Et+"' is repeated.",Fe(kt[ze]))}return!0}function de(Ve,Pt){let kt=/\d/;for(Ve[Pt]==="x"&&(Pt++,kt=/[\da-fA-F]/);Pt<Ve.length;Pt++){if(Ve[Pt]===";")return Pt;if(!Ve[Pt].match(kt))break}return-1}function Oe(Ve,Pt){if(Pt++,Ve[Pt]===";")return-1;if(Ve[Pt]==="#")return Pt++,de(Ve,Pt);let kt=0;for(;Pt<Ve.length;Pt++,kt++)if(!(Ve[Pt].match(/\w/)&&kt<20)){if(Ve[Pt]===";")break;return-1}return Pt}function _e(Ve,Pt,kt){return{err:{code:Ve,msg:Pt,line:kt.line||kt,col:kt.col}}}function Ce(Ve){return L.isName(Ve)}function pe(Ve){return L.isName(Ve)}function Ne(Ve,Pt){const kt=Ve.substring(0,Pt).split(/\r?\n/);return{line:kt.length,col:kt[kt.length-1].length+1}}function Fe(Ve){return Ve.startIndex+Ve[1].length}},"./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js":function(y,n,k){const L=k("./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"),$={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(ie,ae){return ae},attributeValueProcessor:function(ie,ae){return ae},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function j(ie){this.options=Object.assign({},$,ie),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=re),this.processTextOrObjNode=V,this.options.format?(this.indentate=z,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}j.prototype.build=function(ie){return this.options.preserveOrder?L(ie,this.options):(Array.isArray(ie)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(ie={[this.options.arrayNodeName]:ie}),this.j2x(ie,0).val)},j.prototype.j2x=function(ie,ae){let oe="",ue="";for(let de in ie)if(Object.prototype.hasOwnProperty.call(ie,de))if(typeof ie[de]>"u")this.isAttribute(de)&&(ue+="");else if(ie[de]===null)this.isAttribute(de)?ue+="":de[0]==="?"?ue+=this.indentate(ae)+"<"+de+"?"+this.tagEndChar:ue+=this.indentate(ae)+"<"+de+"/"+this.tagEndChar;else if(ie[de]instanceof Date)ue+=this.buildTextValNode(ie[de],de,"",ae);else if(typeof ie[de]!="object"){const Oe=this.isAttribute(de);if(Oe)oe+=this.buildAttrPairStr(Oe,""+ie[de]);else if(de===this.options.textNodeName){let _e=this.options.tagValueProcessor(de,""+ie[de]);ue+=this.replaceEntitiesValue(_e)}else ue+=this.buildTextValNode(ie[de],de,"",ae)}else if(Array.isArray(ie[de])){const Oe=ie[de].length;let _e="";for(let Ce=0;Ce<Oe;Ce++){const pe=ie[de][Ce];typeof pe>"u"||(pe===null?de[0]==="?"?ue+=this.indentate(ae)+"<"+de+"?"+this.tagEndChar:ue+=this.indentate(ae)+"<"+de+"/"+this.tagEndChar:typeof pe=="object"?this.options.oneListGroup?_e+=this.j2x(pe,ae+1).val:_e+=this.processTextOrObjNode(pe,de,ae):_e+=this.buildTextValNode(pe,de,"",ae))}this.options.oneListGroup&&(_e=this.buildObjectNode(_e,de,"",ae)),ue+=_e}else if(this.options.attributesGroupName&&de===this.options.attributesGroupName){const Oe=Object.keys(ie[de]),_e=Oe.length;for(let Ce=0;Ce<_e;Ce++)oe+=this.buildAttrPairStr(Oe[Ce],""+ie[de][Oe[Ce]])}else ue+=this.processTextOrObjNode(ie[de],de,ae);return{attrStr:oe,val:ue}},j.prototype.buildAttrPairStr=function(ie,ae){return ae=this.options.attributeValueProcessor(ie,""+ae),ae=this.replaceEntitiesValue(ae),this.options.suppressBooleanAttributes&&ae==="true"?" "+ie:" "+ie+'="'+ae+'"'};function V(ie,ae,oe){const ue=this.j2x(ie,oe+1);return ie[this.options.textNodeName]!==void 0&&Object.keys(ie).length===1?this.buildTextValNode(ie[this.options.textNodeName],ae,ue.attrStr,oe):this.buildObjectNode(ue.val,ae,ue.attrStr,oe)}j.prototype.buildObjectNode=function(ie,ae,oe,ue){if(ie==="")return ae[0]==="?"?this.indentate(ue)+"<"+ae+oe+"?"+this.tagEndChar:this.indentate(ue)+"<"+ae+oe+this.closeTag(ae)+this.tagEndChar;{let de="</"+ae+this.tagEndChar,Oe="";return ae[0]==="?"&&(Oe="?",de=""),(oe||oe==="")&&ie.indexOf("<")===-1?this.indentate(ue)+"<"+ae+oe+Oe+">"+ie+de:this.options.commentPropName!==!1&&ae===this.options.commentPropName&&Oe.length===0?this.indentate(ue)+`<!--${ie}-->`+this.newLine:this.indentate(ue)+"<"+ae+oe+Oe+this.tagEndChar+ie+this.indentate(ue)+de}},j.prototype.closeTag=function(ie){let ae="";return this.options.unpairedTags.indexOf(ie)!==-1?this.options.suppressUnpairedNode||(ae="/"):this.options.suppressEmptyNode?ae="/":ae=`></${ie}`,ae},j.prototype.buildTextValNode=function(ie,ae,oe,ue){if(this.options.cdataPropName!==!1&&ae===this.options.cdataPropName)return this.indentate(ue)+`<![CDATA[${ie}]]>`+this.newLine;if(this.options.commentPropName!==!1&&ae===this.options.commentPropName)return this.indentate(ue)+`<!--${ie}-->`+this.newLine;if(ae[0]==="?")return this.indentate(ue)+"<"+ae+oe+"?"+this.tagEndChar;{let de=this.options.tagValueProcessor(ae,ie);return de=this.replaceEntitiesValue(de),de===""?this.indentate(ue)+"<"+ae+oe+this.closeTag(ae)+this.tagEndChar:this.indentate(ue)+"<"+ae+oe+">"+de+"</"+ae+this.tagEndChar}},j.prototype.replaceEntitiesValue=function(ie){if(ie&&ie.length>0&&this.options.processEntities)for(let ae=0;ae<this.options.entities.length;ae++){const oe=this.options.entities[ae];ie=ie.replace(oe.regex,oe.val)}return ie};function z(ie){return this.options.indentBy.repeat(ie)}function re(ie){return ie.startsWith(this.options.attributeNamePrefix)&&ie!==this.options.textNodeName?ie.substr(this.attrPrefixLen):!1}y.exports=j},"./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js":function(y,n){const k=`
`;function L(ie,ae){let oe="";return ae.format&&ae.indentBy.length>0&&(oe=k),$(ie,ae,"",oe)}function $(ie,ae,oe,ue){let de="",Oe=!1;for(let _e=0;_e<ie.length;_e++){const Ce=ie[_e],pe=j(Ce);if(pe===void 0)continue;let Ne="";if(oe.length===0?Ne=pe:Ne=`${oe}.${pe}`,pe===ae.textNodeName){let Ue=Ce[pe];z(Ne,ae)||(Ue=ae.tagValueProcessor(pe,Ue),Ue=re(Ue,ae)),Oe&&(de+=ue),de+=Ue,Oe=!1;continue}else if(pe===ae.cdataPropName){Oe&&(de+=ue),de+=`<![CDATA[${Ce[pe][0][ae.textNodeName]}]]>`,Oe=!1;continue}else if(pe===ae.commentPropName){de+=ue+`<!--${Ce[pe][0][ae.textNodeName]}-->`,Oe=!0;continue}else if(pe[0]==="?"){const Ue=V(Ce[":@"],ae),ze=pe==="?xml"?"":ue;let Et=Ce[pe][0][ae.textNodeName];Et=Et.length!==0?" "+Et:"",de+=ze+`<${pe}${Et}${Ue}?>`,Oe=!0;continue}let Fe=ue;Fe!==""&&(Fe+=ae.indentBy);const Ve=V(Ce[":@"],ae),Pt=ue+`<${pe}${Ve}`,kt=$(Ce[pe],ae,Ne,Fe);ae.unpairedTags.indexOf(pe)!==-1?ae.suppressUnpairedNode?de+=Pt+">":de+=Pt+"/>":(!kt||kt.length===0)&&ae.suppressEmptyNode?de+=Pt+"/>":kt&&kt.endsWith(">")?de+=Pt+`>${kt}${ue}</${pe}>`:(de+=Pt+">",kt&&ue!==""&&(kt.includes("/>")||kt.includes("</"))?de+=ue+ae.indentBy+kt+ue:de+=kt,de+=`</${pe}>`),Oe=!0}return de}function j(ie){const ae=Object.keys(ie);for(let oe=0;oe<ae.length;oe++){const ue=ae[oe];if(ie.hasOwnProperty(ue)&&ue!==":@")return ue}}function V(ie,ae){let oe="";if(ie&&!ae.ignoreAttributes)for(let ue in ie){if(!ie.hasOwnProperty(ue))continue;let de=ae.attributeValueProcessor(ue,ie[ue]);de=re(de,ae),de===!0&&ae.suppressBooleanAttributes?oe+=` ${ue.substr(ae.attributeNamePrefix.length)}`:oe+=` ${ue.substr(ae.attributeNamePrefix.length)}="${de}"`}return oe}function z(ie,ae){ie=ie.substr(0,ie.length-ae.textNodeName.length-1);let oe=ie.substr(ie.lastIndexOf(".")+1);for(let ue in ae.stopNodes)if(ae.stopNodes[ue]===ie||ae.stopNodes[ue]==="*."+oe)return!0;return!1}function re(ie,ae){if(ie&&ie.length>0&&ae.processEntities)for(let oe=0;oe<ae.entities.length;oe++){const ue=ae.entities[oe];ie=ie.replace(ue.regex,ue.val)}return ie}y.exports=L},"./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js":function(y,n,k){const L=k("./node_modules/fast-xml-parser/src/util.js");function $(ue,de){const Oe={};if(ue[de+3]==="O"&&ue[de+4]==="C"&&ue[de+5]==="T"&&ue[de+6]==="Y"&&ue[de+7]==="P"&&ue[de+8]==="E"){de=de+9;let _e=1,Ce=!1,pe=!1,Ne="";for(;de<ue.length;de++)if(ue[de]==="<"&&!pe){if(Ce&&z(ue,de))de+=7,[entityName,val,de]=j(ue,de+1),val.indexOf("&")===-1&&(Oe[oe(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(Ce&&re(ue,de))de+=8;else if(Ce&&ie(ue,de))de+=8;else if(Ce&&ae(ue,de))de+=9;else if(V)pe=!0;else throw new Error("Invalid DOCTYPE");_e++,Ne=""}else if(ue[de]===">"){if(pe?ue[de-1]==="-"&&ue[de-2]==="-"&&(pe=!1,_e--):_e--,_e===0)break}else ue[de]==="["?Ce=!0:Ne+=ue[de];if(_e!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:Oe,i:de}}function j(ue,de){let Oe="";for(;de<ue.length&&ue[de]!=="'"&&ue[de]!=='"';de++)Oe+=ue[de];if(Oe=Oe.trim(),Oe.indexOf(" ")!==-1)throw new Error("External entites are not supported");const _e=ue[de++];let Ce="";for(;de<ue.length&&ue[de]!==_e;de++)Ce+=ue[de];return[Oe,Ce,de]}function V(ue,de){return ue[de+1]==="!"&&ue[de+2]==="-"&&ue[de+3]==="-"}function z(ue,de){return ue[de+1]==="!"&&ue[de+2]==="E"&&ue[de+3]==="N"&&ue[de+4]==="T"&&ue[de+5]==="I"&&ue[de+6]==="T"&&ue[de+7]==="Y"}function re(ue,de){return ue[de+1]==="!"&&ue[de+2]==="E"&&ue[de+3]==="L"&&ue[de+4]==="E"&&ue[de+5]==="M"&&ue[de+6]==="E"&&ue[de+7]==="N"&&ue[de+8]==="T"}function ie(ue,de){return ue[de+1]==="!"&&ue[de+2]==="A"&&ue[de+3]==="T"&&ue[de+4]==="T"&&ue[de+5]==="L"&&ue[de+6]==="I"&&ue[de+7]==="S"&&ue[de+8]==="T"}function ae(ue,de){return ue[de+1]==="!"&&ue[de+2]==="N"&&ue[de+3]==="O"&&ue[de+4]==="T"&&ue[de+5]==="A"&&ue[de+6]==="T"&&ue[de+7]==="I"&&ue[de+8]==="O"&&ue[de+9]==="N"}function oe(ue){if(L.isName(ue))return ue;throw new Error(`Invalid entity name ${ue}`)}y.exports=$},"./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js":function(y,n){const k={preserveOrder:!1,attributeNamePrefix:"@_",a
`);const ze=new $("!xml");let Et=ze,er="",tr="";for(let ir=0;ir<Ue.length;ir++)if(Ue[ir]==="<")if(Ue[ir+1]==="/"){const lr=Fe(Ue,">",ir,"Closing Tag is not closed.");let ur=Ue.substring(ir+2,lr).trim();if(this.options.removeNSPrefix){const yr=ur.indexOf(":");yr!==-1&&(ur=ur.substr(yr+1))}this.options.transformTagName&&(ur=this.options.transformTagName(ur)),Et&&(er=this.saveTextToParentTag(er,Et,tr));const fr=tr.substring(tr.lastIndexOf(".")+1);if(ur&&this.options.unpairedTags.indexOf(ur)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${ur}>`);let mr=0;fr&&this.options.unpairedTags.indexOf(fr)!==-1?(mr=tr.lastIndexOf(".",tr.lastIndexOf(".")-1),this.tagsNodeStack.pop()):mr=tr.lastIndexOf("."),tr=tr.substring(0,mr),Et=this.tagsNodeStack.pop(),er="",ir=lr}else if(Ue[ir+1]==="?"){let lr=Ve(Ue,ir,!1,"?>");if(!lr)throw new Error("Pi Tag is not closed.");if(er=this.saveTextToParentTag(er,Et,tr),!(this.options.ignoreDeclaration&&lr.tagName==="?xml"||this.options.ignorePiTags)){const ur=new $(lr.tagName);ur.add(this.options.textNodeName,""),lr.tagName!==lr.tagExp&&lr.attrExpPresent&&(ur[":@"]=this.buildAttributesMap(lr.tagExp,tr,lr.tagName)),this.addChild(Et,ur,tr)}ir=lr.closeIndex+1}else if(Ue.substr(ir+1,3)==="!--"){const lr=Fe(Ue,"-->",ir+4,"Comment is not closed.");if(this.options.commentPropName){const ur=Ue.substring(ir+4,lr-2);er=this.saveTextToParentTag(er,Et,tr),Et.add(this.options.commentPropName,[{[this.options.textNodeName]:ur}])}ir=lr}else if(Ue.substr(ir+1,2)==="!D"){const lr=j(Ue,ir);this.docTypeEntities=lr.entities,ir=lr.i}else if(Ue.substr(ir+1,2)==="!["){const lr=Fe(Ue,"]]>",ir,"CDATA is not closed.")-2,ur=Ue.substring(ir+9,lr);er=this.saveTextToParentTag(er,Et,tr);let fr=this.parseTextData(ur,Et.tagname,tr,!0,!1,!0,!0);fr==null&&(fr=""),this.options.cdataPropName?Et.add(this.options.cdataPropName,[{[this.options.textNodeName]:ur}]):Et.add(this.options.textNodeName,fr),ir=lr+2}else{let lr=Ve(Ue,ir,this.options.removeNSPrefix),ur=lr.tagName;const fr=lr.rawTagName;let mr=lr.tagExp,yr=lr.attrExpPresent,Ir=lr.closeIndex;this.options.transformTagName&&(ur=this.options.transformTagName(ur)),Et&&er&&Et.tagname!=="!xml"&&(er=this.saveTextToParentTag(er,Et,tr,!1));const Nr=Et;if(Nr&&this.options.unpairedTags.indexOf(Nr.tagname)!==-1&&(Et=this.tagsNodeStack.pop(),tr=tr.substring(0,tr.lastIndexOf("."))),ur!==ze.tagname&&(tr+=tr?"."+ur:ur),this.isItStopNode(this.options.stopNodes,tr,ur)){let Sr="";if(mr.length>0&&mr.lastIndexOf("/")===mr.length-1)ur[ur.length-1]==="/"?(ur=ur.substr(0,ur.length-1),tr=tr.substr(0,tr.length-1),mr=ur):mr=mr.substr(0,mr.length-1),ir=lr.closeIndex;else if(this.options.unpairedTags.indexOf(ur)!==-1)ir=lr.closeIndex;else{const Mr=this.readStopNodeData(Ue,fr,Ir+1);if(!Mr)throw new Error(`Unexpected end of ${fr}`);ir=Mr.i,Sr=Mr.tagContent}const vr=new $(ur);ur!==mr&&yr&&(vr[":@"]=this.buildAttributesMap(mr,tr,ur)),Sr&&(Sr=this.parseTextData(Sr,ur,tr,!0,yr,!0,!0)),tr=tr.substr(0,tr.lastIndexOf(".")),vr.add(this.options.textNodeName,Sr),this.addChild(Et,vr,tr)}else{if(mr.length>0&&mr.lastIndexOf("/")===mr.length-1){ur[ur.length-1]==="/"?(ur=ur.substr(0,ur.length-1),tr=tr.substr(0,tr.length-1),mr=ur):mr=mr.substr(0,mr.length-1),this.options.transformTagName&&(ur=this.options.transformTagName(ur));const Sr=new $(ur);ur!==mr&&yr&&(Sr[":@"]=this.buildAttributesMap(mr,tr,ur)),this.addChild(Et,Sr,tr),tr=tr.substr(0,tr.lastIndexOf("."))}else{const Sr=new $(ur);this.tagsNodeStack.push(Et),ur!==mr&&yr&&(Sr[":@"]=this.buildAttributesMap(mr,tr,ur)),this.addChild(Et,Sr,tr),Et=Sr}er="",ir=Ir}}else er+=Ue[ir];return ze.child};function Oe(Ue,ze,Et){const er=this.options.updateTag(ze.tagname,Et,ze[":@"]);er===!1||(typeof er=="string"&&(ze.tagname=er),Ue.addChild(ze))}const _e=function(Ue){if(this.options.processEntities){for(let ze in this.docTypeEntities){const Et=this.docTypeEntities[ze];Ue=Ue.replace(Et.regx,Et.val)}for(let ze in this.lastEntities){const Et=this.lastEntities[ze];Ue=Ue.replace(Et.regex,Et.val)}if(this.options.htmlEntities)for(let ze in this.htmlEntities){const Et=this.htmlEntit
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var na=!0,Fa=!1,vo;return{s:function(){Rn=Rn.call(Hr)},n:function(){var ea=Rn.next();return na=ea.done,ea},e:function(ea){Fa=!0,vo=ea},f:function(){try{!na&&Rn.return!=null&&Rn.return()}finally{if(Fa)throw vo}}}}function V(Hr,Dr){if(Hr){if(typeof Hr=="string")return z(Hr,Dr);var Rn=Object.prototype.toString.call(Hr).slice(8,-1);if(Rn==="Object"&&Hr.constructor&&(Rn=Hr.constructor.name),Rn==="Map"||Rn==="Set")return Array.from(Hr);if(Rn==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Rn))return z(Hr,Dr)}}function z(Hr,Dr){(Dr==null||Dr>Hr.length)&&(Dr=Hr.length);for(var Rn=0,kn=new Array(Dr);Rn<Dr;Rn++)kn[Rn]=Hr[Rn];return kn}var re=k("./lib/md5.js"),ie=k("./lib/crypto.js"),ae=k("./node_modules/fast-xml-parser/src/fxp.js"),oe=ae.XMLParser,ue=ae.XMLBuilder,de=new oe({ignoreDeclaration:!0,ignoreAttributes:!0,parseTagValue:!1}),Oe=new ue,_e=k("./lib/base64.js"),Ce=k("./src/tracker.js"),pe=function(Dr){var Rn=de.parse(Dr);return Rn},Ne=function(Dr){var Rn=Oe.build(Dr);return Rn};function Fe(Hr){return encodeURIComponent(Hr).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function Ve(Hr,Dr){var Rn=[];for(var kn in Hr)Hr.hasOwnProperty(kn)&&Rn.push(Dr?Fe(kn).toLowerCase():kn);return Rn.sort(function(fa,na){return fa=fa.toLowerCase(),na=na.toLowerCase(),fa===na?0:fa>na?1:-1})}var Pt=function(Dr,Rn){var kn,fa,na,Fa=[],vo=Ve(Dr);for(kn=0;kn<vo.length;kn++)fa=vo[kn],na=Dr[fa]===void 0||Dr[fa]===null?"":""+Dr[fa],fa=Rn?Fe(fa).toLowerCase():Fe(fa),na=Fe(na)||"",Fa.push(fa+"="+na);return Fa.join("&")},kt=["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"],Ue=function(Dr){var Rn={};for(var kn in Dr){var fa=kn.toLowerCase();(fa.indexOf("x-cos-")>-1||kt.indexOf(fa)>-1)&&(Rn[kn]=Dr[kn])}return Rn},ze=function(Dr){Dr=Dr||{};var Rn=Dr.SecretId,kn=Dr.SecretKey,fa=Dr.KeyTime,na=(Dr.method||Dr.Method||"get").toLowerCase(),Fa=Sr(Dr.Query||Dr.params||{}),vo=Ue(Sr(Dr.Headers||Dr.headers||{})),Vi=Dr.Key||"",ea;Dr.UseRawKey?ea=Dr.Pathname||Dr.pathname||"/"+Vi:(ea=Dr.Pathname||Dr.pathname||Vi,ea.indexOf("/")!==0&&(ea="/"+ea));var Aa=Dr.ForceSignHost!==!1;if(!vo.Host&&!vo.host&&Dr.Bucket&&Dr.Region&&Aa&&(vo.Host=Dr.Bucket+".cos."+Dr.Region+".myqcloud.com"),!Rn)throw new Error("missing param SecretId");if(!kn)throw new Error("missing param SecretKey");var ws=Math.round(kr(Dr.SystemClockOffset)/1e3)-1,ss=ws,hl=Dr.Expires||Dr.expires;hl===void 0?ss+=900:ss+=hl*1||0;var kl="sha1",xu=Rn,Cs=fa||ws+";"+ss,$u=fa||ws+";"+ss,Pu=Ve(vo,!0).join(";").toLowerCase(),Lc=Ve(Fa,!0).join(";").toLowerCase(),Ac=ie.HmacSHA1($u,kn).toString(),_c=[na,ea,Zn.obj2str(Fa,!0),Zn.obj2str(vo,!0),""].join(`
`),Vl=["sha1",Cs,ie.SHA1(_c).toString(),""].join(`
`),cs=ie.HmacSHA1(Vl,Ac).toString(),Ns=["q-sign-algorithm="+kl,"q-ak="+xu,"q-sign-time="+Cs,"q-key-time="+$u,"q-header-list="+Pu,"q-url-param-list="+Lc,"q-signature="+cs].join("&");return Ns},Et=function(Dr,Rn,kn){var fa=Rn/8,na=Dr.slice(kn,kn+fa);return new Uint8Array(na).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[Rn](na)[0]},er=function(Dr,Rn,kn,fa){var na=Dr.slice(Rn,kn),Fa="";return new Uint8Array(na).forEach(function(vo){Fa+=String.fromCharCode(vo)}),fa&&(Fa=decodeURIComponent(escape(Fa))),Fa},tr=function(Dr){for(var Rn={},kn=er(Dr),fa={records:[]};Dr.byteLength;){var na=Et(Dr,32,0),Fa=Et(Dr,32,4),vo=na-Fa-16,Vi=0,ea;for(Dr=Dr.slice(12);Vi<Fa;){var Aa=Et(Dr,8,Vi),ws=er(Dr,Vi+1,Vi+1+Aa),ss=Et(Dr,16,Vi+Aa+2),hl=er(Dr,Vi+Aa+4,Vi+Aa+4+ss);Rn[ws]=hl,Vi+=Aa+4+ss}if(Rn[":event-type"]==="Records")ea=er(Dr,Vi,Vi+vo,!0),fa.records.push(ea);else if(Rn[":event-type"]==="Stats")ea=er(Dr,Vi,Vi+vo,!0),fa.stats=Zn.xml2json(ea).Stats;else if(Rn[":event-type"]==="error"){var kl=Rn[":error-code"],xu=Rn[":error-message"],Cs=new Error(xu);Cs.message=xu,Cs.name=Cs.code=kl,fa.error=Cs}Dr=Dr.slice(Vi+vo+4)}return{payload:fa.records.join(""),body:kn}},ir=function(Dr){var Rn=this.options.CopySourceParser;if(Rn)return Rn(Dr);var kn=Dr.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return kn?{Bucket:kn[1],Region:kn[3],Key:kn[7]}:null},rr=function(){},lr=function(Dr){var Rn={};for(var kn in Dr)Dr.hasOwnProperty(kn)&&Dr[kn]!==void 0&&Dr[kn]!==null&&(Rn[kn]=Dr[kn]);return Rn},ur=function(Dr,Rn){var kn,fa=new FileReader;FileReader.prototype.readAsBinaryString?(kn=FileReader.prototype.readAsBinaryString,fa.onload=function(){Rn(this.result)}):FileReader.prototype.readAsArrayBuffer?kn=function(Fa){var vo="",Vi=new FileReader;Vi.onload=function(ea){for(var Aa=new Uint8Array(Vi.result),ws=Aa.byteLength,ss=0;ss<ws;ss++)vo+=String.fromCharCode(Aa[ss]);Rn(vo)},Vi.readAsArrayBuffer(Fa)}:console.error("FileReader not support readAsBinaryString"),kn.call(fa,Dr)},fr=function(){var Hr=function(kn,fa){kn=kn.split("."),fa=fa.split(".");for(var na=0;na<fa.length;na++)if(kn[na]!==fa[na])return parseInt(kn[na])>parseInt(fa[na])?1:-1;return 0},Dr=function(kn){if(!kn)return!1;var fa=(kn.match(/Chrome\/([.\d]+)/)||[])[1],na=(kn.match(/QBCore\/([.\d]+)/)||[])[1],Fa=(kn.match(/QQBrowser\/([.\d]+)/)||[])[1],vo=fa&&Hr(fa,"53.0.2785.116")<0&&na&&Hr(na,"3.53.991.400")<0&&Fa&&Hr(Fa,"9.0.2524.400")<=0||!1;return vo};return Dr(typeof navigator<"u"&&navigator.userAgent)}(),mr=function(Dr,Rn,kn,fa,na){var Fa;if(Dr.slice?Fa=Dr.slice(Rn,kn):Dr.mozSlice?Fa=Dr.mozSlice(Rn,kn):Dr.webkitSlice&&(Fa=Dr.webkitSlice(Rn,kn)),fa&&fr){var vo=new FileReader;vo.onload=function(Vi){Fa=null,na(new Blob([vo.result]))},vo.readAsArrayBuffer(Fa)}else na(Fa)},yr=function(Dr,Rn,kn,fa){kn=kn||rr,Dr?typeof Rn=="string"?kn(Zn.md5(Rn,!0)):Blob&&Rn instanceof Blob?Zn.getFileMd5(Rn,function(na,Fa){kn(Fa)},fa):kn():kn()},Ir=1024*1024,Nr=function(Dr,Rn,kn){var fa=Dr.size,na=0,Fa=re.getCtx(),vo=function Vi(ea){if(ea>=fa){var Aa=Fa.digest("hex");Rn(null,Aa);return}var ws=Math.min(fa,ea+Ir);Zn.fileSlice(Dr,ea,ws,!1,function(ss){ur(ss,function(hl){ss=null,Fa=Fa.update(hl,!0),na+=hl.length,hl=null,kn&&kn({loaded:na,total:fa,percent:Math.round(na/fa*1e4)/1e4}),Vi(ea+Ir)})})};vo(0)};function Sr(Hr){return zr(Hr,function(Dr){return $(Dr)==="object"&&Dr!==null?Sr(Dr):Dr})}function vr(Hr,Dr,Rn){return Hr&&Dr in Hr?Hr[Dr]:Rn}function Mr(Hr,Dr){return Fr(Dr,function(Rn,kn){Hr[kn]=Dr[kn]}),Hr}function $r(Hr){return Hr instanceof Array}function gr(Hr,Dr){for(var Rn=!1,kn=0;kn<Hr.length;kn++)if(Dr===Hr[kn]){Rn=!0;break}return Rn}function _r(Hr){return $r(Hr)?Hr:[Hr]}function Fr(Hr,Dr){for(var Rn in Hr)Hr.hasOwnProperty(Rn)&&Dr(Hr[Rn],Rn)}function zr(Hr,Dr){var Rn=$r(Hr)?[]:{};for(var kn in Hr)Hr.hasOwnProperty(kn)&&(Rn[kn]=Dr(Hr[kn],kn));return Rn}function Vr(Hr,Dr){var Rn=$r(Hr),kn=Rn?[]:{};for(var fa in Hr)Hr.hasOwnProperty(fa)&&Dr(Hr[fa],fa)&&(Rn?kn.push(Hr[fa]):kn[fa]=Hr[fa]);return kn}var Gr=function(Dr){var Rn,kn,fa,na="";for(Rn=0,kn=Dr.length/2;
`).forEach(function($){k=$.indexOf(":"),y=$.substring(0,k).trim().toLowerCase(),n=$.substring(k+1).trim(),!(!y||t[y]&&ignoreDuplicateOf[y])&&(y==="set-cookie"?t[y]?t[y].push(n):t[y]=[n]:t[y]=t[y]?t[y]+", "+n:n)}),t},$internals=Symbol("internals");function normalizeHeader(e){return e&&String(e).trim().toLowerCase()}function normalizeValue(e){return e===!1||e==null?e:utils$1.isArray(e)?e.map(normalizeValue):String(e)}function parseTokens(e){const t=Object.create(null),y=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=y.exec(e);)t[n[1]]=n[2];return t}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,t,y,n,k){if(utils$1.isFunction(n))return n.call(this,t,y);if(k&&(t=y),!!utils$1.isString(t)){if(utils$1.isString(n))return t.indexOf(n)!==-1;if(utils$1.isRegExp(n))return n.test(t)}}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,y,n)=>y.toUpperCase()+n)}function buildAccessors(e,t){const y=utils$1.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+y,{value:function(k,L,$){return this[n].call(this,t,k,L,$)},configurable:!0})})}class AxiosHeaders{constructor(t){t&&this.set(t)}set(t,y,n){const k=this;function L(j,V,z){const re=normalizeHeader(V);if(!re)throw new Error("header name must be a non-empty string");const ie=utils$1.findKey(k,re);(!ie||k[ie]===void 0||z===!0||z===void 0&&k[ie]!==!1)&&(k[ie||V]=normalizeValue(j))}const $=(j,V)=>utils$1.forEach(j,(z,re)=>L(z,re,V));if(utils$1.isPlainObject(t)||t instanceof this.constructor)$(t,y);else if(utils$1.isString(t)&&(t=t.trim())&&!isValidHeaderName(t))$(parseHeaders(t),y);else if(utils$1.isHeaders(t))for(const[j,V]of t.entries())L(V,j,n);else t!=null&&L(y,t,n);return this}get(t,y){if(t=normalizeHeader(t),t){const n=utils$1.findKey(this,t);if(n){const k=this[n];if(!y)return k;if(y===!0)return parseTokens(k);if(utils$1.isFunction(y))return y.call(this,k,n);if(utils$1.isRegExp(y))return y.exec(k);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,y){if(t=normalizeHeader(t),t){const n=utils$1.findKey(this,t);return!!(n&&this[n]!==void 0&&(!y||matchHeaderValue(this,this[n],n,y)))}return!1}delete(t,y){const n=this;let k=!1;function L($){if($=normalizeHeader($),$){const j=utils$1.findKey(n,$);j&&(!y||matchHeaderValue(n,n[j],j,y))&&(delete n[j],k=!0)}}return utils$1.isArray(t)?t.forEach(L):L(t),k}clear(t){const y=Object.keys(this);let n=y.length,k=!1;for(;n--;){const L=y[n];(!t||matchHeaderValue(this,this[L],L,t,!0))&&(delete this[L],k=!0)}return k}normalize(t){const y=this,n={};return utils$1.forEach(this,(k,L)=>{const $=utils$1.findKey(n,L);if($){y[$]=normalizeValue(k),delete y[L];return}const j=t?formatHeader(L):String(L).trim();j!==L&&delete y[L],y[j]=normalizeValue(k),n[j]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const y=Object.create(null);return utils$1.forEach(this,(n,k)=>{n!=null&&n!==!1&&(y[k]=t&&utils$1.isArray(n)?n.join(", "):n)}),y}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,y])=>t+": "+y).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...y){const n=new this(t);return y.forEach(k=>n.set(k)),n}static accessor(t){const n=(this[$internals]=this[$internals]={accessors:{}}).accessors,k=this.prototype;function L($){const j=normalizeHeader($);n[j]||(buildAccessors(k,$),n[j]=!0)}return utils$1.isArray(t)?t.forEach(L):L(t),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders.prototype,({value:e},t)=>{let y=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[y]=n}}});utils$1.freezeMethods(AxiosHeaders);function transformData(e,t){const y=this||defaults,n=t||y,k=AxiosHeaders.from(n.headers);let L=n.data;return utils$1.forEach(e,function(j){L=j.call(y,L,k.normalize(),t?t.status:void 0)}),k.normalize(),L}function isCancel(e){return!!(e&&e.__CANCEL__)}function CanceledError(e,t,y){AxiosError.call(this,e??"canceled",AxiosError.ERR_CANCELED,t,y),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(e,t,y){const n=y.config.validateStatus;!y.status||!n||n(y.status)?e(y):t(new AxiosError("Request failed with status code "+y.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(y.status/100)-4],y.config,y.request,y))}function parseProtocol(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function speedometer(e,t){e=e||10;const y=new Array(e),n=new Array(e);let k=0,L=0,$;return t=t!==void 0?t:1e3,function(V){const z=Date.now(),re=n[L];$||($=z),y[k]=V,n[k]=z;let ie=L,ae=0;for(;ie!==k;)ae+=y[ie++],ie=ie%e;if(k=(k+1)%e,k===L&&(L=(L+1)%e),z-$<t)return;const oe=re&&z-re;return oe?Math.round(ae*1e3/oe):void 0}}function throttle(e,t){let y=0,n=1e3/t,k,L;const $=(z,re=Date.now())=>{y=re,k=null,L&&(clearTimeout(L),L=null),e.apply(null,z)};return[(...z)=>{const re=Date.now(),ie=re-y;ie>=n?$(z,re):(k=z,L||(L=setTimeout(()=>{L=null,$(k)},n-ie)))},()=>k&&$(k)]}const progressEventReducer=(e,t,y=3)=>{let n=0;const k=speedometer(50,250);return throttle(L=>{const $=L.loaded,j=L.lengthComputable?L.total:void 0,V=$-n,z=k(V),re=$<=j;n=$;const ie={loaded:$,total:j,progress:j?$/j:void 0,bytes:V,rate:z||void 0,estimated:z&&j&&re?(j-$)/z:void 0,event:L,lengthComputable:j!=null,[t?"download":"upload"]:!0};e(ie)},y)},progressEventDecorator=(e,t)=>{const y=e!=null;return[n=>t[0]({lengthComputable:y,total:e,loaded:n}),t[1]]},asyncDecorator=e=>(...t)=>utils$1.asap(()=>e(...t)),isURLSameOrigin=platform.hasStandardBrowserEnv?function(){const t=platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent),y=document.createElement("a");let n;function k(L){let $=L;return t&&(y.setAttribute("href",$),$=y.href),y.setAttribute("href",$),{href:y.href,protocol:y.protocol?y.protocol.replace(/:$/,""):"",host:y.host,search:y.search?y.search.replace(/^\?/,""):"",hash:y.hash?y.hash.replace(/^#/,""):"",hostname:y.hostname,port:y.port,pathname:y.pathname.charAt(0)==="/"?y.pathname:"/"+y.pathname}}return n=k(window.location.href),function($){const j=utils$1.isString($)?k($):$;return j.protocol===n.protocol&&j.host===n.host}}():function(){return function(){return!0}}(),cookies=platform.hasStandardBrowserEnv?{write(e,t,y,n,k,L){const $=[e+"="+encodeURIComponent(t)];utils$1.isNumber(y)&&$.push("expires="+new Date(y).toGMTString()),utils$1.isString(n)&&$.push("path="+n),utils$1.isString(k)&&$.push("domain="+k),L===!0&&$.push("secure"),document.cookie=$.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function combineURLs(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function buildFullPath(e,t){return e&&!isAbsoluteURL(t)?combineURLs(e,t):t}const headersToObject=e=>e instanceof AxiosHeaders?{...e}:e;function mergeConfig(e,t){t=t||{};const y={};func
`+L.map(renderReason).join(`
`):" "+renderReason(L[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+$,"ERR_NOT_SUPPORT")}return n},adapters:knownAdapters};function throwIfCancellationRequested(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new CanceledError(null,e)}function dispatchRequest(e){return throwIfCancellationRequested(e),e.headers=AxiosHeaders.from(e.headers),e.data=transformData.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(e.adapter||defaults.adapter)(e).then(function(n){return throwIfCancellationRequested(e),n.data=transformData.call(e,e.transformResponse,n),n.headers=AxiosHeaders.from(n.headers),n},function(n){return isCancel(n)||(throwIfCancellationRequested(e),n&&n.response&&(n.response.data=transformData.call(e,e.transformResponse,n.response),n.response.headers=AxiosHeaders.from(n.response.headers))),Promise.reject(n)})}const VERSION="1.7.5",validators$1={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{validators$1[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const deprecatedWarnings={};validators$1.transitional=function(t,y,n){function k(L,$){return"[Axios v"+VERSION+"] Transitional option '"+L+"'"+$+(n?". "+n:"")}return(L,$,j)=>{if(t===!1)throw new AxiosError(k($," has been removed"+(y?" in "+y:"")),AxiosError.ERR_DEPRECATED);return y&&!deprecatedWarnings[$]&&(deprecatedWarnings[$]=!0,console.warn(k($," has been deprecated since v"+y+" and will be removed in the near future"))),t?t(L,$,j):!0}};function assertOptions(e,t,y){if(typeof e!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let k=n.length;for(;k-- >0;){const L=n[k],$=t[L];if($){const j=e[L],V=j===void 0||$(j,L,e);if(V!==!0)throw new AxiosError("option "+L+" must be "+V,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(y!==!0)throw new AxiosError("Unknown option "+L,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;class Axios{constructor(t){this.defaults=t,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(t,y){try{return await this._request(t,y)}catch(n){if(n instanceof Error){let k;Error.captureStackTrace?Error.captureStackTrace(k={}):k=new Error;const L=k.stack?k.stack.replace(/^.+\n/,""):"";try{n.stack?L&&!String(n.stack).endsWith(L.replace(/^.+\n.+\n/,""))&&(n.stack+=`
`+L):n.stack=L}catch{}}throw n}}_request(t,y){typeof t=="string"?(y=y||{},y.url=t):y=t||{},y=mergeConfig(this.defaults,y);const{transitional:n,paramsSerializer:k,headers:L}=y;n!==void 0&&validator.assertOptions(n,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),k!=null&&(utils$1.isFunction(k)?y.paramsSerializer={serialize:k}:validator.assertOptions(k,{encode:validators.function,serialize:validators.function},!0)),y.method=(y.method||this.defaults.method||"get").toLowerCase();let $=L&&utils$1.merge(L.common,L[y.method]);L&&utils$1.forEach(["delete","get","head","post","put","patch","common"],ue=>{delete L[ue]}),y.headers=AxiosHeaders.concat($,L);const j=[];let V=!0;this.interceptors.request.forEach(function(de){typeof de.runWhen=="function"&&de.runWhen(y)===!1||(V=V&&de.synchronous,j.unshift(de.fulfilled,de.rejected))});const z=[];this.interceptors.response.forEach(function(de){z.push(de.fulfilled,de.rejected)});let re,ie=0,ae;if(!V){const ue=[dispatchRequest.bind(this),void 0];for(ue.unshift.apply(ue,j),ue.push.apply(ue,z),ae=ue.length,re=Promise.resolve(y);ie<ae;)re=re.then(ue[ie++],ue[ie++]);return re}ae=j.length;let oe=y;for(ie=0;ie<ae;){const ue=j[ie++],de=j[ie++];try{oe=ue(oe)}catch(Oe){de.call(this,Oe);break}}try{re=dispatchRequest.call(this,oe)}catch(ue){return Promise.reject(ue)}for(ie=0,ae=z.length;ie<ae;)re=re.then(z[ie++],z[ie++]);return re}getUri(t){t=mergeConfig(this.defaults,t);const y=buildFullPath(t.baseURL,t.url);return buildURL(y,t.params,t.paramsSerializer)}}utils$1.forEach(["delete","get","head","options"],function(t){Axios.prototype[t]=function(y,n){return this.request(mergeConfig(n||{},{method:t,url:y,data:(n||{}).data}))}});utils$1.forEach(["post","put","patch"],function(t){function y(n){return function(L,$,j){return this.request(mergeConfig(j||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:L,data:$}))}}Axios.prototype[t]=y(),Axios.prototype[t+"Form"]=y(!0)});class CancelToken{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let y;this.promise=new Promise(function(L){y=L});const n=this;this.promise.then(k=>{if(!n._listeners)return;let L=n._listeners.length;for(;L-- >0;)n._listeners[L](k);n._listeners=null}),this.promise.then=k=>{let L;const $=new Promise(j=>{n.subscribe(j),L=j}).then(k);return $.cancel=function(){n.unsubscribe(L)},$},t(function(L,$,j){n.reason||(n.reason=new CanceledError(L,$,j),y(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const y=this._listeners.indexOf(t);y!==-1&&this._listeners.splice(y,1)}static source(){let t;return{token:new CancelToken(function(k){t=k}),cancel:t}}}function spread(e){return function(y){return e.apply(null,y)}}function isAxiosError(e){return utils$1.isObject(e)&&e.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,BadGate
async (CUSTOM_ARG) => {
${localStorage.getItem("formCustomConfig")}
}
`;return new Promise((resolve,reject)=>{const exportObj={content,file,util:{axios:service,CryptoJS,OSS,COS,Buffer,uuidv4:v4,qiniu,tokenTools,getDir,getDateFilename},okCb:resolve,errCb:reject};eval(str)(exportObj).catch(e=>{console.error(e),reject(e)})})}function fileUpload(e,t){const y=localStorage.getItem("imgHost");switch(!y&&localStorage.setItem("imgHost","default"),y){case"aliOSS":return aliOSSFileUpload(e,t.name);case"minio":return minioFileUpload(e,t.name);case"txCOS":return txCOSFileUpload(t);case"qiniu":return qiniuUpload(t);case"gitee":return giteeUpload(e,t.name);case"github":return ghFileUpload(e,t.name);case"formCustom":return formCustomUpload(e,t);default:return ghFileUpload(e,t.name)}}const fileApi={fileUpload},_sfc_main$v={__name:"PostInfo",setup(e){const t=useStore(),{output:y}=storeToRefs(t),n=ref$1(!1),k=ref$1({title:"",desc:"",thumb:"",content:""});function L(){var V;let j={};try{j={thumb:(V=document.querySelector("#output img"))==null?void 0:V.src,title:[1,2,3,4,5,6].map(z=>document.querySelector(`#output h${z}`)).filter(z=>z)[0].textContent,desc:document.querySelector("#output p").textContent,content:y.value}}catch(z){console.log("error",z)}k.value={...j,auto:j},n.value=!0}function $(){n.value=!1,window.syncPost({thumb:k.value.thumb||k.value.auto.thumb,title:k.value.title||k.value.auto.title,desc:k.value.desc||k.value.auto.desc,content:k.value.content||k.value.auto.content})}return(j,V)=>{const z=resolveComponent("el-button"),re=resolveComponent("el-alert"),ie=resolveComponent("el-input"),ae=resolveComponent("el-form-item"),oe=resolveComponent("el-form"),ue=resolveComponent("el-dialog");return openBlock(),createElementBlock(Fragment,null,[createVNode(z,{plain:"",type:"primary",onClick:L},{default:withCtx(()=>[createTextVNode(" 发布 ")]),_:1}),createVNode(ue,{title:"发布","model-value":n.value,onClose:V[4]||(V[4]=de=>n.value=!1)},{footer:withCtx(()=>[createVNode(z,{onClick:V[3]||(V[3]=de=>n.value=!1)},{default:withCtx(()=>[createTextVNode(" 取 消 ")]),_:1}),createVNode(z,{type:"primary",onClick:$},{default:withCtx(()=>[createTextVNode(" 确 定 ")]),_:1})]),default:withCtx(()=>[createVNode(re,{class:"mb-4",title:"注:此功能由第三方浏览器插件支持,本平台不保证安全性。",type:"info","show-icon":""}),createVNode(oe,{class:"postInfo","label-width":"50",model:k.value},{default:withCtx(()=>[createVNode(ae,{label:"封面"},{default:withCtx(()=>[createVNode(ie,{modelValue:k.value.thumb,"onUpdate:modelValue":V[0]||(V[0]=de=>k.value.thumb=de),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),_:1}),createVNode(ae,{label:"标题"},{default:withCtx(()=>[createVNode(ie,{modelValue:k.value.title,"onUpdate:modelValue":V[1]||(V[1]=de=>k.value.title=de),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),_:1}),createVNode(ae,{label:"描述"},{default:withCtx(()=>[createVNode(ie,{modelValue:k.value.desc,"onUpdate:modelValue":V[2]||(V[2]=de=>k.value.desc=de),type:"textarea",rows:4,placeholder:"自动提取第一个段落"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])],64)}}};function isComponentPublicInstance(e){return e!=null&&typeof e=="object"&&"$el"in e}function unwrapElement(e){if(isComponentPublicInstance(e)){const t=e.$el;return isNode$1(t)&&getNodeName(t)==="#comment"?null:t}return e}function toValue$1(e){return typeof e=="function"?e():unref(e)}function arrow(e){return{name:"arrow",options:e,fn(t){const y=unwrapElement(toValue$1(e.element));return y==null?{}:arrow$1({element:y,padding:e.padding}).fn(t)}}}function getDPR(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(e,t){const y=getDPR(e);return Math.round(t*y)/y}function useFloating(e,t,y){y===void 0&&(y={});const n=y.whileElementsMounted,k=computed(()=>{var Pt;return(Pt=toValue$1(y.open))!=null?Pt:!0}),L=computed(()=>toValue$1(y.middleware)),$=computed(()=>{var Pt;return(Pt=toValue$1(y.placement))!=null?Pt:"bottom"}),j=computed(()=>{var Pt;return(Pt=toValue$1(y.strategy))!=null?Pt:"absolute"}),V=computed
`)].join(`
`))}return()=>L.value||k.value||j.value?h$1(t.default({present:j})[0],{ref:re=>{const ie=$e(re);return typeof(ie==null?void 0:ie.hasAttribute)>"u"||(ie!=null&&ie.hasAttribute("data-radix-popper-content-wrapper")?$.value=ie.firstElementChild:$.value=ie),ie}}):null}}),ht=defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=ja();return(y,n)=>unref(t)||y.forceMount?(openBlock(),createBlock(Teleport$1,{key:0,to:y.to,disabled:y.disabled},[renderSlot(y.$slots,"default")],8,["to","disabled"])):createCommentVNode("",!0)}}),Yi="dismissableLayer.pointerDownOutside",Xi="dismissableLayer.focusOutside";function Fl(e,t){const y=t.closest("[data-dismissable-layer]"),n=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),k=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(y&&n===y||k.indexOf(n)<k.indexOf(y))}function Nl(e,t){var y;const n=((y=t==null?void 0:t.value)==null?void 0:y.ownerDocument)??(globalThis==null?void 0:globalThis.document),k=ref$1(!1),L=ref$1(()=>{});return watchEffect($=>{if(!qe)return;const j=async z=>{const re=z.target;if(t!=null&&t.value){if(Fl(t.value,re)){k.value=!1;return}if(z.target&&!k.value){let ie=function(){Kt(Yi,e,ae)};const ae={originalEvent:z};z.pointerType==="touch"?(n.removeEventListener("click",L.value),L.value=ie,n.addEventListener("click",L.value,{once:!0})):ie()}else n.removeEventListener("click",L.value);k.value=!1}},V=window.setTimeout(()=>{n.addEventListener("pointerdown",j)},0);$(()=>{window.clearTimeout(V),n.removeEventListener("pointerdown",j),n.removeEventListener("click",L.value)})}),{onPointerDownCapture:()=>k.value=!0}}function Ll(e,t){var y;const n=((y=t==null?void 0:t.value)==null?void 0:y.ownerDocument)??(globalThis==null?void 0:globalThis.document),k=ref$1(!1);return watchEffect(L=>{if(!qe)return;const $=async j=>{t!=null&&t.value&&(await nextTick$1(),!(!t.value||Fl(t.value,j.target))&&j.target&&!k.value&&Kt(Xi,e,{originalEvent:j}))};n.addEventListener("focusin",$),L(()=>n.removeEventListener("focusin",$))}),{onFocusCapture:()=>k.value=!0,onBlurCapture:()=>k.value=!1}}const je=reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yt=defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const y=e,n=t,{forwardRef:k,currentElement:L}=T(),$=computed(()=>{var ue;return((ue=L.value)==null?void 0:ue.ownerDocument)??globalThis.document}),j=computed(()=>je.layersRoot),V=computed(()=>L.value?Array.from(j.value).indexOf(L.value):-1),z=computed(()=>je.layersWithOutsidePointerEventsDisabled.size>0),re=computed(()=>{const ue=Array.from(j.value),[de]=[...je.layersWithOutsidePointerEventsDisabled].slice(-1),Oe=ue.indexOf(de);return V.value>=Oe}),ie=Nl(async ue=>{const de=[...je.branches].some(Oe=>Oe.contains(ue.target));!re.value||de||(n("pointerDownOutside",ue),n("interactOutside",ue),await nextTick$1(),ue.defaultPrevented||n("dismiss"))},L),ae=Ll(ue=>{[...je.branches].some(de=>de.contains(ue.target))||(n("focusOutside",ue),n("interactOutside",ue),ue.defaultPrevented||n("dismiss"))},L);jn("Escape",ue=>{V.value===j.value.size-1&&(n("escapeKeyDown",ue),ue.defaultPrevented||n("dismiss"))});let oe;return watchEffect(ue=>{L.value&&(y.disableOutsidePointerEvents&&(je.layersWithOutsidePointerEventsDisabled.size===0&&(oe=$.value.body.style.pointerEvents,$.value.body.style.pointerEvents="none"),je.layersWithOutsidePointerEventsDisabled.add(L.value)),j.value.add(L.value),ue(()=>{y.disableOutsidePointerEvents&&je.layersWithOutsidePointerEventsDisabled.size===1&&($.value.body.style.pointerEvents=oe)}))}),watchEffect(ue=>{ue(()=>{L.value&&(j.value.delete(L.value),je.layersWithOutsidePointerEventsDisabled.delete(L.value))})}),(ue,de)=>(openBlock(),createBlock(unref(O),{ref:unref(k),"as-child":ue.asChild,as:ue.as,"data-dismissable-layer":"",style:normalizeSty
* @license lucide-vue-next v0.428.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=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
* @license lucide-vue-next v0.428.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.428.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:e,strokeWidth:t=2,absoluteStrokeWidth:y,color:n,iconNode:k,name:L,class:$,...j},{slots:V})=>h$1("svg",{...defaultAttributes,width:e||defaultAttributes.width,height:e||defaultAttributes.height,stroke:n||defaultAttributes.stroke,"stroke-width":y?Number(t)*24/Number(e):t,class:["lucide",`lucide-${toKebabCase(L??"icon")}`],...j},[...k.map(z=>h$1(...z)),...V.default?[V.default()]:[]]);/**
* @license lucide-vue-next v0.428.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=(e,t)=>(y,{slots:n})=>h$1(Icon,{...y,iconNode:t,name:e},n);/**
* @license lucide-vue-next v0.428.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"}]]),_sfc_main$q=defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(e){const t=e;return(y,n)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn)("ml-auto text-xs tracking-widest opacity-60",t.class))},[renderSlot(y.$slots,"default")],2))}}),_sfc_main$p=defineComponent({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,y=computed(()=>{const{class:n,...k}=t;return k});return(n,k)=>(openBlock(),createBlock(unref(rh),mergeProps(y.value,{class:unref(cn)("-mx-1 my-1 h-px bg-muted",t.class)}),null,16,["class"]))}}),_sfc_main$o=defineComponent({__name:"DropdownMenuSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const k=xe(e,t);return(L,$)=>(openBlock(),createBlock(unref(fh),normalizeProps(guardReactiveProps(unref(k))),{default:withCtx(()=>[renderSlot(L.$slots,"default")]),_:3},16))}}),_sfc_main$n=defineComponent({__name:"DropdownMenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,y=computed(()=>{const{class:k,...L}=t;return L}),n=It(y);return(k,L)=>(openBlock(),createBlock(unref(mh),mergeProps(unref(n),{class:unref(cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t.class)}),{default:withCtx(()=>[renderSlot(k.$slots,"default"),createVNode(unref(ChevronRight),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),_sfc_main$m=defineComponent({__name:"DropdownMenuSubContent",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(e,{emit:t}){const y=e,n=t,k=computed(()=>{const{class:$,...j}=y;return j}),L=xe(k,n);return($,j)=>(openBlock(),createBlock(unref(vh),mergeProps(unref(L),{class:unref(cn)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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",y.class)}),{default:withCtx(()=>[renderSlot($.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$l={__name:"FileDropdown",props:["isOpen","clickTrigger","openDropdown","updateOpen"],setup(e){const t=e,y=useStore(),{isDark:n,isEditOnLeft:k}=storeToRefs(y),{toggleDark:L,toggleEditOnLeft:$,exportEditorContent2HTML:j,exportEditorContent2MD:V,importMarkdownContent:z}=y;return(re,ie)=>{const ae=resolveComponent("ElIconUpload"),oe=resolveComponent("el-icon"),ue=resolveComponent("ElIconDownload"),de=resolveComponent("ElIconDocument"),Oe=resolveComponent("ElIconCheck");return openBlock(),createBlock(unref(_sfc_main$u),{open:t.isOpen,"onUpdate:open":t.updateOpen},{default:withCtx(()=>[createVNode(unref(_sfc_main$t),{class:normalizeClass(["flex items-center p-2 px-4 hover:bg-gray-2 dark:hover:bg-stone-9",{"bg-gray-2":t.isOpen,"dark:bg-stone-9":t.isOpen}]),onClick:ie[0]||(ie[0]=_e=>t.clickTrigger()),onMouseenter:ie[1]||(ie[1]=_e=>t.openDropdown())},{default:withCtx(()=>[createTextVNode(" ")]),_:1},8,["class"]),createVNode(unref(_sfc_main$s),{align:"start"},{default:withCtx(()=>[createVNode(unref(_sfc_main$r),{onClick:ie[2]||(ie[2]=_e=>unref(z)())},{default:withCtx(()=>[createVNode(oe,{class:"mr-2 h-4 w-4"},{default:withCtx(()=>[createVNode(ae)]),_:1}),createTextVNode(" .md ")]),_:1}),createVNode(unref(_sfc_main$r),{onClick:ie[3]||(ie[3]=_e=>unref(V)(
${V}
`,"end"),$(),y()}return(V,z)=>{const re=resolveComponent("el-input-number"),ie=resolveComponent("el-col"),ae=resolveComponent("el-row"),oe=resolveComponent("el-input"),ue=resolveComponent("el-button"),de=resolveComponent("el-dialog");return openBlock(),createBlock(de,{title:"插入表格",class:"insert__dialog","model-value":unref(t).isShowInsertFormDialog,onClose:z[3]||(z[3]=Oe=>unref(y)(!1))},{footer:withCtx(()=>[createBaseVNode("div",_hoisted_2$1,[createVNode(ue,{plain:"",onClick:z[2]||(z[2]=Oe=>unref(y)(!1))},{default:withCtx(()=>[createTextVNode(" 取 消 ")]),_:1}),createVNode(ue,{type:"primary",plain:"",onClick:j},{default:withCtx(()=>[createTextVNode(" 确 定 ")]),_:1})])]),default:withCtx(()=>[createVNode(ae,{class:"tb-options",type:"flex",align:"middle",gutter:10},{default:withCtx(()=>[createVNode(ie,{span:12},{default:withCtx(()=>[createTextVNode(" 行数: "),createVNode(re,{modelValue:n.value,"onUpdate:modelValue":z[0]||(z[0]=Oe=>n.value=Oe),"controls-position":"right",min:1,max:100,size:"small"},null,8,["modelValue"])]),_:1}),createVNode(ie,{span:12},{default:withCtx(()=>[createTextVNode(" 列数: "),createVNode(re,{modelValue:k.value,"onUpdate:modelValue":z[1]||(z[1]=Oe=>k.value=Oe),"controls-position":"right",min:1,max:100,size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),createBaseVNode("table",_hoisted_1$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.value+1,Oe=>(openBlock(),createElementBlock("tr",{key:Oe,class:normalizeClass({"head-style":Oe===1})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(k.value,_e=>(openBlock(),createElementBlock("td",{key:_e},[createVNode(oe,{modelValue:L.value[`k_${Oe-1}_${_e-1}`],"onUpdate:modelValue":Ce=>L.value[`k_${Oe-1}_${_e-1}`]=Ce,align:"center",placeholder:Oe===1?"表头":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])]))),128))],2))),128))])]),_:1},8,["model-value"])}}},InsertFormDialog=_export_sfc(_sfc_main$b,[["__scopeId","data-v-56362dff"]]),_withScopeId$2=e=>(pushScopeId("data-v-a6100d60"),e=e(),popScopeId(),e),_hoisted_1$3=_withScopeId$2(()=>createBaseVNode("div",{class:"el-upload__text"},[createTextVNode(" 将图片拖到此处,或 "),createBaseVNode("em",null,"点击上传")],-1)),_sfc_main$a={__name:"UploadImgDialog",emits:["uploadImage"],setup(e,{emit:t}){const y=t,n=useStore(),k=ref$1({repo:"",branch:"",accessToken:""}),L=ref$1({accessKeyId:"",accessKeySecret:"",bucket:"",region:"",path:"",cdnHost:""}),$=ref$1({secretId:"",secretKey:"",bucket:"",region:"",path:"",cdnHost:""}),j=ref$1({accessKey:"",secretKey:"",bucket:"",domain:"",region:""}),V=ref$1({endpoint:"",port:"",useSSL:!0,bucket:"",accessKey:"",secretKey:""}),z=ref$1({code:localStorage.getItem("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(),editor:void 0}),re=[{value:"default",label:"默认"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"minio",label:"MinIO"},{value:"formCustom",label:"自定义代码"}],ie=ref$1("default"),ae=ref$1(null),oe=ref$1("upload");watch(oe,async Pt=>{Pt==="formCustom"&&nextTick$1(()=>{const kt=ae.value.$el.querySelector("textarea");z.value.editor=z.value.editor||CodeMirror.fromTextArea(kt,{mode:"javascript"})})},{immediate:!0}),onBeforeMount(()=>{localStorage.getItem("githubConfig")&&(k.value=JSON.parse(localStorage.getItem("githubConfig"))),localStorage.getItem("aliOSSConfig")&&(L.value=JSON.parse(localStorage.getItem("aliOSSConfig"))),localStorage.getItem("txCOSConfig")&&($.value=JSON.parse(localStorage.getItem("txCOSConfig"))),localStorage.getItem("qiniuConfig")&&(j.value=JSON.parse(localStorage.getItem("qiniuConfig"))),localStorage.getItem("minioConfig")&&(V.value=JSON.parse(localStorage.getItem("minioConfig"))),localStorage.getItem("imgHost")&&(ie.value=localStorage.getItem("imgHost"))});function ue(){localStorage.setItem("imgHost",ie.value),ElMessage.success("已成功切换图床")}function de(){if(!(k.value.repo&&k.value.accessToken)){const Pt=k.value.repo?"token":"GitHub 仓库";ElMessage.error(`参数${Pt}不能为空`);return}localStorage.setItem("githubConfig",JSON.stringify(k.value)),ElMessage.success("保存成功")}function Oe(){if(!(L.value.accessKeyId&&L.value.accessKeySecret&&L.value.bucket&&L.value.region)){ElMessage.error("阿里云 OSS 参数配置不全");return}localStorage.setItem("aliOSSConfig",JSON.stringify(L.value)),ElMessage.success("保存成功")}function _e(){if(!(V.value.endpoint&&V.value.bucket&&V.value.accessKey&&V.value.secretKey)){ElMessage.error("MinIO 参数配置不全");return}localStorage.setItem("minioConfig",JSON.stringify(V.value)),ElMessage.success("保存成功")}function Ce(){if(!($.value.secretId&&$.value.secretKey&&$.value.bucket&&$.value.region)){ElMessage.error("腾讯云 COS 参数配置不全");return}localStorage.setItem("txCOSConfig",JSON.stringify($.value)),ElMessage.success("保存成功")}function pe(){if(!(j.value.accessKey&&j.value.secretKey&&j.value.bucket&&j.value.domain&&j.value.region)){ElMessage.error("七牛云 Kodo 参数配置不全");return}localStorage.setItem("qiniuConfig",JSON.stringify(j.value)),ElMessage.success("保存成功")}function Ne(){const Pt=z.value.editor.getValue();localStorage.setItem("formCustomConfig",Pt),ElMessage.success("保存成功")}function Fe(Pt){const kt=checkImage(Pt);if(!kt.ok)return ElMessage.error(kt.msg),!1;let Ue=localStorage.getItem("imgHost");Ue=Ue||"default",localStorage.setItem("imgHost",Ue);const ze=localStorage.getItem(`${Ue}Config`);return Ue==="default"||ze?!0:(ElMessage.error(`请先配置 ${Ue} 图床参数`),!1)}function Ve(Pt){y("uploadImage",Pt.file)}return(Pt,kt)=>{const Ue=resolveComponent("el-option"),ze=resolveComponent("el-select"),Et=resolveComponent("el-icon"),er=resolveComponent("el-upload"),tr=resolveComponent("el-tab-pane"),ir=resolveComponent("el-input"),rr=resolveComponent("el-form-item"),lr=resolveComponent("el-link"),ur=resolveComponent("el-button"),fr=resolveComponent("el-form"),mr=resolveComponent("el-switch"),yr=resolveComponent("el-tabs"),Ir=resolveComponent("el-dialog");return openBlock(),createBlock(Ir,{title:"本地上传",class:"upload__dialog","model-value":unref(n).isShowUploadImgDialog,onClose:kt[30]||(kt[30]=Nr=>unref(n).toggleShowUploadImgDialog(!1))},{default:withCtx(()=>[createVNode(yr,{modelValue:oe.value,"onUpdate:modelValue":kt[29]||(kt[29]=Nr=>oe.value=Nr)},{default:withCtx(()=>[createVNode(tr,{class:"upload-panel",label:"选择上传",name:"upload"},{default:withCtx(()=>[createVNode(ze,{modelValue:ie.value,"onUpdate:modelValue":kt[0]||(kt[0]=Nr=>ie.value=Nr),placeholder:"请选择",size:"small",onChange:ue},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(re,Nr=>createVNode(Ue,{key:Nr.value,label:Nr.label,value:Nr.value},null,8,["label","val
${fr}
`,ur),ElMessage.success("图片上传成功")}function Ue(lr,ur){ue.value=!0,toBase64(lr).then(fr=>fileApi.fileUpload(fr,lr)).then(fr=>{console.log(fr),ur?ur(fr):kt(fr)}).catch(fr=>{ElMessage.error(fr.message)}).finally(()=>{ue.value=!1})}const ze=ref$1(0);function Et(){const lr=document.querySelector("#editor");lr.value||(lr.value=k.value),n.value=CodeMirror.fromTextArea(lr,{mode:"text/x-markdown",theme:"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(fr){const mr=formatDoc(fr.getValue(0));fr.setValue(mr)},[`${ctrlKey}-B`]:function(fr){const mr=fr.getSelection();fr.replaceSelection(`**${mr}**`)},[`${ctrlKey}-I`]:function(fr){const mr=fr.getSelection();fr.replaceSelection(`*${mr}*`)},[`${ctrlKey}-D`]:function(fr){const mr=fr.getSelection();fr.replaceSelection(`~~${mr}~~`)},[`${ctrlKey}-K`]:function(fr){const mr=fr.getSelection();fr.replaceSelection(`[${mr}]()`)},[`${ctrlKey}-E`]:function(fr){const mr=fr.getSelection();fr.replaceSelection(`\`${mr}\``)},[`${ctrlKey}-L`]:function(fr){const mr=fr.getSelection();fr.replaceSelection(`\`${mr}\``)}}}),n.value.on("change",ur=>{clearTimeout(ze.value),ze.value=setTimeout(()=>{Ce(),k.value=ur.getValue()},300)}),n.value.on("paste",(ur,fr)=>{if(!(!(fr.clipboardData&&fr.clipboardData.items)||ue.value))for(let mr=0,yr=fr.clipboardData.items.length;mr<yr;++mr){const Ir=fr.clipboardData.items[mr];if(Ir.kind==="file"){const Nr=Ir.getAsFile();if(!Pt(Nr))continue;Ue(Nr)}}})}const er=ref$1(null);function tr(lr){n.value.options.extraKeys[lr](n.value)}const ir=ref$1(null);function rr(){const lr=ir.value.$el,ur=async({md:yr,list:Ir})=>{const Nr=[...yr.str.matchAll(/!\[(.*?)\]\((.*?)\)/g)||[]].filter(Mr=>Mr),Sr=yr.path.match(/.+?\//)[0],vr=await Promise.all(Nr.map(Mr=>new Promise($r=>{let[,,gr]=Mr;gr=gr.replace(/^.\//,"");const{file:_r}=Ir.find(Fr=>Fr.path===`${Sr}${gr}`)||{};Ue(_r,Fr=>{$r({matchStr:gr,url:Fr})})})));vr.forEach(Mr=>{yr.str=yr.str.replace(`](./${Mr.matchStr})`,`](${Mr.url})`).replace(`](${Mr.matchStr})`,`](${Mr.url})`)}),n.value.setValue(yr.str),console.log("resList",vr,yr.str)};lr.ondragover=yr=>yr.preventDefault(),lr.ondrop=async yr=>{yr.preventDefault();for(const Ir of yr.dataTransfer.items)Ir.getAsFileSystemHandle().then(async Nr=>{if(Nr.kind==="directory"){const Sr=await mr(Nr),vr=await fr({list:Sr});ur({md:vr,list:Sr})}else{const Sr=await Nr.getFile();console.log("file",Sr)}})};async function fr({list:yr}){return new Promise(Ir=>{const{path:Nr,file:Sr}=yr.find(Mr=>Mr.path.match(/\.md$/)),vr=new FileReader;vr.readAsText(Sr,"UTF-8"),vr.onload=Mr=>{Ir({str:Mr.target.result,file:Sr,path:Nr})}})}async function mr(yr){const Ir=[];let Nr="";try{const Sr=[yr];for(const vr of Sr){Nr+=`${vr.name}/`;for await(const[,Mr]of vr)Mr.kind==="file"?Ir.push({path:Nr+Mr.name,file:await Mr.getFile()}):(Ir.push({path:`${Nr+Mr.name}/`}),Sr.push(Mr))}}catch(Sr){console.error(Sr)}return Ir}}return onMounted(()=>{Et(),Ce(),rr()}),(lr,ur)=>{const fr=resolveComponent("el-header"),mr=resolveComponent("el-col"),yr=resolveComponent("el-row"),Ir=resolveComponent("el-main"),Nr=resolveComponent("el-container");return openBlock(),createElementBlock("div",{ref_key:"container",ref:er,class:"container"},[createVNode(Nr,null,{default:withCtx(()=>[createVNode(fr,{class:"editor__header"},{default:withCtx(()=>[createVNode(EditorHeader,{onAddFormat:tr,onFormatContent:unref(z),onStartCopy:Fe,onEndCopy:Ve},null,8,["onFormatContent"])]),_:1}),createVNode(Ir,{class:"container-main"},{default:withCtx(()=>[createVNode(yr,{class:"container-main-section"},{default:withCtx(()=>[createVNode(mr,{ref_key:"codeMirrorWrapper",ref:ir,span:unref(L)?8:12,class:normalizeClass(["codeMirror-wrapper",{"order-1":!unref(t).isEditOnLeft}])},{default:withCtx(()=>[createVNode(unref(_sfc_main$7),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$6),null,{default:withCtx(()=>[_hoisted_1]),_:1}),createVNode(unref(_sfc_main$5),{class:"w-64"},{default:withCtx(()=>[createVNode(unref(_sfc_main$4),{inset:"",onClick:ur[0]||(ur[0]=Sr=>unref(oe)())},{default:withCtx(()
`;_e.replaceSelection(Pt+Pt,null),ae(_e,-1),Ne=_e.listSelections();for(var kt=0;kt<Ne.length;kt++){var Ue=Ne[kt].head.line;_e.indentLine(Ue,null,!0),_e.indentLine(Ue+1,null,!0)}})}function ae(_e,Ce){for(var pe=[],Ne=_e.listSelections(),Fe=0,Ve=0;Ve<Ne.length;Ve++){var Pt=Ne[Ve];Pt.head==_e.getCursor()&&(Fe=Ve);var kt=Pt.head.ch||Ce>0?{line:Pt.head.line,ch:Pt.head.ch+Ce}:{line:Pt.head.line-1};pe.push({anchor:kt,head:kt})}_e.setSelections(pe,Fe)}function oe(_e){var Ce=y.cmpPos(_e.anchor,_e.head)>0;return{anchor:new k(_e.anchor.line,_e.anchor.ch+(Ce?-1:1)),head:new k(_e.head.line,_e.head.ch+(Ce?1:-1))}}function ue(_e,Ce){var pe=z(_e);if(!pe||_e.getOption("disableInput"))return y.Pass;var Ne=L(pe,"pairs"),Fe=Ne.indexOf(Ce);if(Fe==-1)return y.Pass;for(var Ve=L(pe,"closeBefore"),Pt=L(pe,"triples"),kt=Ne.charAt(Fe+1)==Ce,Ue=_e.listSelections(),ze=Fe%2==0,Et,er=0;er<Ue.length;er++){var tr=Ue[er],ir=tr.head,rr,lr=_e.getRange(ir,k(ir.line,ir.ch+1));if(ze&&!tr.empty())rr="surround";else if((kt||!ze)&&lr==Ce)kt&&Oe(_e,ir)?rr="both":Pt.indexOf(Ce)>=0&&_e.getRange(ir,k(ir.line,ir.ch+3))==Ce+Ce+Ce?rr="skipThree":rr="skip";else if(kt&&ir.ch>1&&Pt.indexOf(Ce)>=0&&_e.getRange(k(ir.line,ir.ch-2),ir)==Ce+Ce){if(ir.ch>2&&/\bstring/.test(_e.getTokenTypeAt(k(ir.line,ir.ch-2))))return y.Pass;rr="addFour"}else if(kt){var ur=ir.ch==0?" ":_e.getRange(k(ir.line,ir.ch-1),ir);if(!y.isWordChar(lr)&&ur!=Ce&&!y.isWordChar(ur))rr="both";else return y.Pass}else if(ze&&(lr.length===0||/\s/.test(lr)||Ve.indexOf(lr)>-1))rr="both";else return y.Pass;if(!Et)Et=rr;else if(Et!=rr)return y.Pass}var fr=Fe%2?Ne.charAt(Fe-1):Ce,mr=Fe%2?Ce:Ne.charAt(Fe+1);_e.operation(function(){if(Et=="skip")ae(_e,1);else if(Et=="skipThree")ae(_e,3);else if(Et=="surround"){for(var yr=_e.getSelections(),Ir=0;Ir<yr.length;Ir++)yr[Ir]=fr+yr[Ir]+mr;_e.replaceSelections(yr,"around"),yr=_e.listSelections().slice();for(var Ir=0;Ir<yr.length;Ir++)yr[Ir]=oe(yr[Ir]);_e.setSelections(yr)}else Et=="both"?(_e.replaceSelection(fr+mr,null),_e.triggerElectric(fr+mr),ae(_e,-1)):Et=="addFour"&&(_e.replaceSelection(fr+fr+fr+fr,"before"),ae(_e,1))})}function de(_e,Ce){var pe=_e.getRange(k(Ce.line,Ce.ch-1),k(Ce.line,Ce.ch+1));return pe.length==2?pe:null}function Oe(_e,Ce){var pe=_e.getTokenAt(k(Ce.line,Ce.ch+1));return/\bstring/.test(pe.type)&&pe.start==Ce.ch&&(Ce.ch==0||!/\bstring/.test(_e.getTokenTypeAt(Ce)))}})})();(function(e,t){(function(y){y(requireCodemirror())})(function(y){var n=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),k=y.Pos,L={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function $(ae){return ae&&ae.bracketRegex||/[(){}[\]]/}function j(ae,oe,ue){var de=ae.getLineHandle(oe.line),Oe=oe.ch-1,_e=ue&&ue.afterCursor;_e==null&&(_e=/(^| )cm-fat-cursor($| )/.test(ae.getWrapperElement().className));var Ce=$(ue),pe=!_e&&Oe>=0&&Ce.test(de.text.charAt(Oe))&&L[de.text.charAt(Oe)]||Ce.test(de.text.charAt(Oe+1))&&L[de.text.charAt(++Oe)];if(!pe)return null;var Ne=pe.charAt(1)==">"?1:-1;if(ue&&ue.strict&&Ne>0!=(Oe==oe.ch))return null;var Fe=ae.getTokenTypeAt(k(oe.line,Oe+1)),Ve=V(ae,k(oe.line,Oe+(Ne>0?1:0)),Ne,Fe,ue);return Ve==null?null:{from:k(oe.line,Oe),to:Ve&&Ve.pos,match:Ve&&Ve.ch==pe.charAt(0),forward:Ne>0}}function V(ae,oe,ue,de,Oe){for(var _e=Oe&&Oe.maxScanLineLength||1e4,Ce=Oe&&Oe.maxScanLines||1e3,pe=[],Ne=$(Oe),Fe=ue>0?Math.min(oe.line+Ce,ae.lastLine()+1):Math.max(ae.firstLine()-1,oe.line-Ce),Ve=oe.line;Ve!=Fe;Ve+=ue){var Pt=ae.getLine(Ve);if(Pt){var kt=ue>0?0:Pt.length-1,Ue=ue>0?Pt.length:-1;if(!(Pt.length>_e))for(Ve==oe.line&&(kt=oe.ch-(ue<0?1:0));kt!=Ue;kt+=ue){var ze=Pt.charAt(kt);if(Ne.test(ze)&&(de===void 0||(ae.getTokenTypeAt(k(Ve,kt+1))||"")==(de||""))){var Et=L[ze];if(Et&&Et.charAt(1)==">"==ue>0)pe.push(ze);else if(pe.length)pe.pop();else return{pos:k(Ve,kt),ch:ze}}}}}return Ve-ue==(ue>0?ae.lastLine():ae.firstLine())?!1:null}function z(ae,oe,ue){for(var de=ae.state.matchBrackets.maxHighlightLineLength||1e3,Oe=ue&&ue.highlightNonMatching,_e=[],Ce=ae.listSelections(),pe=0;pe<Ce.length;pe++){var Ne=Ce[pe].empty()