mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
1143 lines
6.3 MiB
JavaScript
1143 lines
6.3 MiB
JavaScript
|
var Kb=Object.defineProperty;var Xb=(e,t,n)=>t in e?Kb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Qb=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ih=(e,t,n)=>Xb(e,typeof t!="symbol"?t+"":t,n);import mermaid from"https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs";var Jb=Qb((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"]'))y(k);new MutationObserver(k=>{for(const L of k)if(L.type==="childList")for(const j of L.addedNodes)j.tagName==="LINK"&&j.rel==="modulepreload"&&y(j)}).observe(document,{childList:!0,subtree:!0});function n(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 y(k){if(k.ep)return;k.ep=!0;const L=n(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 n=new Set(e.split(","));return y=>n.has(y)}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$1=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hasOwnProperty$g=Object.prototype.hasOwnProperty,hasOwn$2=(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 n=>t[n]||(t[n]=e(n))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(e=>e.replace(camelizeRE,(t,n)=>n?n.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 n=0;n<e.length;n++)e[n](...t)},def=(e,t,n,y=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:y,value:n})},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 n=0;n<e.length;n++){const y=e[n],k=isString$3(y)?parseStringStyle(y):normalizeStyle(y);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(n=>{if(n){const y=n.split(propertyDelimiterRE);y.length>1&&(t[y[0].trim()]=y[1].trim())}}),t}function normalizeClass(e){let t="";if(isString$3(e))t=e;else if(isArray$2(e))for(let n=0;n<e.length;n++){const y=normalizeClass(e[n]);y&&(t+=y+" ")}else if(isObject$4(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function normalizeProps(e){if(!e)return null;let{class:t,style:n}=e;return t&&!isString$3(t)&&(e.class=normalizeClass(t)),n&&(e.style=normalizeStyle(n)),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 n=!0;for(let y=0;n&&y<e.length;y++)n=looseEqual(e[y],t[y]);return n}function looseEqual(e,t){if(e===t)return!0;let n=isDate$1(e),y=isDate$1(t);if(n||y)return n&&y?e.getTime()===t.getTime():!1;if(n=isSymbol$1(e),y=isSymbol$1(t),n||y)return e===t;if(n=isArray$2(e),y=isArray$2(t),n||y)return n&&y?looseCompareArrays(e,t):!1;if(n=isObject$4(e),y=isObject$4(t),n||y){if(!n||!y)return!1;const k=Object.keys(e).length,L=Object.keys(t).length;if(k!==L)return!1;for(const j in e){const $=e.hasOwnProperty(j),V=t.hasOwnProperty(j);if($&&!V||!$&&V||!looseEqual(e[j],t[j]))return!1}}return String(e)===String(t)}function looseIndexOf(e,t){return e.findIndex(n=>looseEqual(n,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 n=activeEffectScope;try{return activeEffectScope=this,t()}finally{activeEffectScope=n}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(t){if(this._active){let n,y;for(n=0,y=this.effects.length;n<y;n++)this.effects[n].stop();for(n=0,y=this.cleanups.length;n<y;n++)this.cleanups[n]();if(this.scopes)for(n=0,y=this.scopes.length;n<y;n++)this.scopes[n].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,n,y,k){this.fn=t,this.trigger=n,this.scheduler=y,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 n=this.deps[t];if(n.computed&&(triggerComputed(n.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,n=activeEffect;try{return shouldTrack=!0,activeEffect=this,this._runnings++,preCleanupEffect(this),this.fn()}finally{postCleanupEffect(this),this._runnings--,activeEffect=n,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 n=e.get(t);n!==void 0&&t._trackId!==n&&(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,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const y=e.deps[e._depsLength];y!==t?(y&&cleanupDepEffect(y,e),e.deps[e._depsLength++]=t):e._depsLength++}}const queueEffectSchedulers=[];function triggerEffects(e,t,n){pauseScheduling();for(const y of e.keys()){let k;y._dirtyLevel<t&&(k??(k=e.get(y)===y._trackId))&&(y._shouldSchedule||(y._shouldSchedule=y._dirtyLevel===0),y._dirtyLevel=t),y._shouldSchedule&&(k??(k=e.get(y)===y._trackId))&&(y.trigger(),(!y._runnings||y.allowRecurse)&&y._dirtyLevel!==2&&(y._shouldSchedule=!1,y.scheduler&&queueEffectSchedulers.push(y.scheduler)))}resetScheduling()}const createDep=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");function track(e,t,n){if(shouldTrack&&activeEffect){let y=targetMap.get(e);y||targetMap.set(e,y=new Map);let k=y.get(n);k||y.set(n,k=createDep(()=>y.delete(n))),trackEffect(activeEffect,k)}}function trigger(e,t,n,y,k,L){const j=targetMap.get(e);if(!j)return;let $=[];if(t==="clear")$=[...j.values()];else if(n==="length"&&isArray$2(e)){const V=Number(y);j.forEach((re,z)=>{(z==="length"||!isSymbol$1(z)&&z>=V)&&$.push(re)})}else switch(
|
|||
|
* @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 n=stack.length?stack[stack.length-1].component:null,y=n&&n.appContext.config.warnHandler,k=getComponentTrace();if(y)callWithErrorHandling(y,n,11,[e+t.map(L=>{var j,$;return($=(j=L.toString)==null?void 0:j.call(L))!=null?$:JSON.stringify(L)}).join(""),n&&n.proxy,k.map(({vnode:L})=>`at <${formatComponentName(n,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 n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const y=e.component&&e.component.parent;e=y&&y.vnode}return t}function formatTrace(e){const t=[];return e.forEach((n,y)=>{t.push(...y===0?[]:[`
|
|||
|
`],...formatTraceEntry(n))}),t}function formatTraceEntry({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",y=e.component?e.component.parent==null:!1,k=` at <${formatComponentName(e.component,e.type,y)}`,L=">"+n;return e.props?[k,...formatProps(e.props),L]:[k+L]}function formatProps(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(y=>{t.push(...formatProp(y,e[y]))}),n.length>3&&t.push(" ..."),t}function formatProp(e,t,n){return isString$3(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:isRef(t)?(t=formatProp(e,toRaw(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):isFunction$4(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=toRaw(t),n?t:[`${e}=`,t])}function callWithErrorHandling(e,t,n,y){try{return y?e(...y):e()}catch(k){handleError(k,t,n)}}function callWithAsyncErrorHandling(e,t,n,y){if(isFunction$4(e)){const k=callWithErrorHandling(e,t,n,y);return k&&isPromise(k)&&k.catch(L=>{handleError(L,t,n)}),k}if(isArray$2(e)){const k=[];for(let L=0;L<e.length;L++)k.push(callWithAsyncErrorHandling(e[L],t,n,y));return k}}function handleError(e,t,n,y=!0){const k=t?t.vnode:null;if(t){let L=t.parent;const j=t.proxy,$=`https://vuejs.org/error-reference/#runtime-${n}`;for(;L;){const re=L.ec;if(re){for(let z=0;z<re.length;z++)if(re[z](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,n,k,y)}function logError(e,t,n,y=!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,n=queue$2.length;for(;t<n;){const y=t+n>>>1,k=queue$2[y],L=getId(k);L<e||L===e&&k.pre?t=y+1:n=y}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,n=isFlushing?flushIndex+1:0){for(;n<queue$2.length;n++){const y=queue$2[n];if(y&&y.pre){if(e&&y.id!==e.uid)continue;queue$2.splice(n,1),n--,y()}}}function flushPostFlushCbs(e){if(pendingPostFlushCbs.length){const t=[...new Set(pendingPostFlushCbs)].sort((n,y)=>getId(n)-getId(y));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...t);return}for(activePostFlushCbs=t,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++){const n=activePostFlushCbs[postFlushIndex];n.active!==!1&&n()}activePostFlushCbs=null,postFlushIndex=0}}const getId=e=>e.id==null?1/0:e.id,comparator=(e,t)=>{const n=getId(e)-getId(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};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,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,y)=>{const k=t==="svg"?doc.createElementNS(svgNS,e):t==="mathml"?doc.createElementNS(mathmlNS,e):n?doc.createElement(e,{is:n}):doc.createElement(e);return e==="select"&&y&&y.multiple!=null&&k.setAttribute("multiple",y.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,n,y,k,L){const j=n?n.previousSibling:t.lastChild;if(k&&(k===L||k.nextSibling))for(;t.insertBefore(k.cloneNode(!0),n),!(k===L||!(k=k.nextSibling)););else{templateContainer.innerHTML=y==="svg"?`<svg>${e}</svg>`:y==="mathml"?`<math>${e}</math>`:e;const $=templateContainer.content;if(y==="svg"||y==="mathml"){const V=$.firstChild;for(;V.firstChild;)$.appendChild(V.firstChild);$.removeChild(V)}t.insertBefore($,n)}return[j?j.nextSibling:t.firstChild,n?n.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(n=>n(...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 jt in e)jt in DOMTransitionPropsValidators||(t[jt]=e[jt]);if(e.css===!1)return t;const{name:n="v",type:y,duration:k,enterFromClass:L=`${n}-enter-from`,enterActiveClass:j=`${n}-enter-active`,enterToClass:$=`${n}-enter-to`,appearFromClass:V=L,appearActiveClass:re=j,appearToClass:z=$,leaveFromClass:oe=`${n}-leave-from`,leaveActiveClass:ie=`${n}-leave-active`,leaveToClass:le=`${n}-leave-to`}=e,ue=normalizeDuration(k),de=ue&&ue[0],Ne=ue&&ue[1],{onBeforeEnter:pe,onEnter:_e,onEnterCancelled:he,onLeave:Ce,onLeaveCancelled:Fe,onBeforeAppear:$e=pe,onAppear:Lt=_e,onAppearCancelled:Et=he}=t,Ue=(jt,tr,ir)=>{removeTransitionClass(jt,tr?z:$),removeTransitionClass(jt,tr?re:j),ir&&ir()},qe=(jt,tr)=>{jt._isLeaving=!1,removeTransitionClass(jt,oe),removeTransitionClass(jt,le),removeTransitionClass(jt,ie),tr&&tr()},Ve=jt=>(tr,ir)=>{const rr=jt?Lt:_e,or=()=>Ue(tr,jt,ir);callHook(rr,[tr,or]),nextFrame(()=>{removeTransitionClass(tr,jt?V:L),addTransitionClass(tr,jt?z:$),hasExplicitCallback(rr)||whenTransitionEnds(tr,y,de,or)})};return extend$1(t,{onBeforeEnter(jt){callHook(pe,[jt]),addTransitionClass(jt,L),addTransitionClass(jt,j)},onBeforeAppear(jt){callHook($e,[jt]),addTransitionClass(jt,V),addTransitionClass(jt,re)},onEnter:Ve(!1),onAppear:Ve(!0),onLeave(jt,tr){jt._isLeaving=!0;const ir=()=>qe(jt,tr);addTransitionClass(jt,oe),addTransitionClass(jt,ie),forceReflow(),nextFrame(()=>{jt._isLeaving&&(removeTransitionClass(jt,oe),addTransitionClass(jt,le),hasExplicitCallback(Ce)||whenTransitionEnds(jt,y,Ne,ir))}),callHook(Ce,[jt,ir])},onEnterCancelled(jt){Ue(jt,!1),callHook(he,[jt])},onAppearCancelled(jt){Ue(jt,!0),callHook(Et,[jt])},onLeaveCancelled(jt){qe(jt),callHook(Fe,[jt])}})}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(n=>n&&e.classList.add(n)),(e[v
|
|||
|
`).map(k=>{const L=k.match(/^\s+/);if(L===null)return k;const[j]=L;return j.length>=y.length?k.slice(y.length):k}).join(`
|
|||
|
`)}let Tokenizer$2=class{constructor(t){this.options=t||defaults$2}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const y=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?y:rtrim(y,`
|
|||
|
`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const y=n[0],k=indentCodeCompensation(y,n[3]||"");return{type:"code",raw:y,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:k}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let y=n[2].trim();if(/#$/.test(y)){const k=rtrim(y,"#");(this.options.pedantic||!k||/ $/.test(k))&&(y=k.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:y,tokens:this.lexer.inline(y)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){const y=n[0].replace(/^ *>[ \t]?/gm,""),k=this.lexer.state.top;this.lexer.state.top=!0;const L=this.lexer.blockTokens(y);return this.lexer.state.top=k,{type:"blockquote",raw:n[0],tokens:L,text:y}}}list(t){let n=this.rules.block.list.exec(t);if(n){let y,k,L,j,$,V,re,z,oe,ie,le,ue,de=n[1].trim();const Ne=de.length>1,pe={type:"list",raw:"",ordered:Ne,start:Ne?+de.slice(0,-1):"",loose:!1,items:[]};de=Ne?`\\d{1,9}\\${de.slice(-1)}`:`\\${de}`,this.options.pedantic&&(de=Ne?de:"[*+-]");const _e=new RegExp(`^( {0,3}${de})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;t&&(ue=!1,!(!(n=_e.exec(t))||this.rules.block.hr.test(t)));){if(y=n[0],t=t.substring(y.length),z=n[2].split(`
|
|||
|
`,1)[0].replace(/^\t+/,Ce=>" ".repeat(3*Ce.length)),oe=t.split(`
|
|||
|
`,1)[0],this.options.pedantic?(j=2,le=z.trimLeft()):(j=n[2].search(/[^ ]/),j=j>4?1:j,le=z.slice(j),j+=n[1].length),V=!1,!z&&/^ *$/.test(oe)&&(y+=oe+`
|
|||
|
`,t=t.substring(oe.length+1),ue=!0),!ue){const Ce=new RegExp(`^ {0,${Math.min(3,j-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),Fe=new RegExp(`^ {0,${Math.min(3,j-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),$e=new RegExp(`^ {0,${Math.min(3,j-1)}}(?:\`\`\`|~~~)`),Lt=new RegExp(`^ {0,${Math.min(3,j-1)}}#`);for(;t&&(ie=t.split(`
|
|||
|
`,1)[0],oe=ie,this.options.pedantic&&(oe=oe.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!($e.test(oe)||Lt.test(oe)||Ce.test(oe)||Fe.test(t)));){if(oe.search(/[^ ]/)>=j||!oe.trim())le+=`
|
|||
|
`+oe.slice(j);else{if(V||z.search(/[^ ]/)>=4||$e.test(z)||Lt.test(z)||Fe.test(z))break;le+=`
|
|||
|
`+oe}!V&&!oe.trim()&&(V=!0),y+=ie+`
|
|||
|
`,t=t.substring(ie.length+1),z=oe.slice(j)}}pe.loose||(re?pe.loose=!0:/\n *\n *$/.test(y)&&(re=!0)),this.options.gfm&&(k=/^\[[ xX]\] /.exec(le),k&&(L=k[0]!=="[ ] ",le=le.replace(/^\[[ xX]\] +/,""))),pe.items.push({type:"list_item",raw:y,task:!!k,checked:L,loose:!1,text:le}),pe.raw+=y}pe.items[pe.items.length-1].raw=y.trimRight(),pe.items[pe.items.length-1].text=le.trimRight(),pe.raw=pe.raw.trimRight();const he=pe.items.length;for($=0;$<he;$++)if(this.lexer.state.top=!1,pe.items[$].tokens=this.lexer.blockTokens(pe.items[$].text,[]),!pe.loose){const Ce=pe.items[$].tokens.filter($e=>$e.type==="space"),Fe=Ce.length>0&&Ce.some($e=>/\n.*\n/.test($e.raw));pe.loose=Fe}if(pe.loose)for($=0;$<he;$++)pe.items[$].loose=!0;return pe}}html(t){const n=this.rules.block.html.exec(t);if(n){const y={type:"html",raw:n[0],pre:!this.options.sanitizer&&(n[1]==="pre"||n[1]==="script"||n[1]==="style"),text:n[0]};if(this.options.sanitize){const k=this.options.sanitizer?this.options.sanitizer(n[0]):escape$4(n[0]);y.type="paragraph",y.text=k,y.tokens=this.lexer.inline(k)}return y}}def(t){const n=this.rules.block.def.exec(t);if(n){const y=n[1].toLowerCase().replace(/\s+/g," "),k=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",L=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline._escapes,"$1"):n[3];return{type:"def",tag:y,raw:n[0],href:k,title:L}}}table(t){const n=this.rules.block.table.exec(t);if(n){const y={type:"table",header:splitCells(n[1]).map(k=>({text:k})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
|
|||
|
`):[]};if(y.header.length===y.align.length){y.raw=n[0];let k=y.align.length,L,j,$,V;for(L=0;L<k;L++)/^ *-+: *$/.test(y.align[L])?y.align[L]="right":/^ *:-+: *$/.test(y.align[L])?y.align[L]="center":/^ *:-+ *$/.test(y.align[L])?y.align[L]="left":y.align[L]=null;for(k=y.rows.length,L=0;L<k;L++)y.rows[L]=splitCells(y.rows[L],y.header.length).map(re=>({text:re}));for(k=y.header.length,j=0;j<k;j++)y.header[j].tokens=this.lexer.inline(y.header[j].text);for(k=y.rows.length,j=0;j<k;j++)for(V=y.rows[j],$=0;$<V.length;$++)V[$].tokens=this.lexer.inline(V[$].text);return y}}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const y=n[1].charAt(n[1].length-1)===`
|
|||
|
`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:y,tokens:this.lexer.inline(y)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:escape$4(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):escape$4(n[0]):n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const y=n[2].trim();if(!this.options.pedantic&&/^</.test(y)){if(!/>$/.test(y))return;const j=rtrim(y.slice(0,-1),"\\");if((y.length-j.length)%2===0)return}else{const j=findClosingBracket(n[2],"()");if(j>-1){const V=(n[0].indexOf("!")===0?5:4)+n[1].length+j;n[2]=n[2].substring(0,j),n[0]=n[0].substring(0,V).trim(),n[3]=""}}let k=n[2],L="";if(this.options.pedantic){const j=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(k);j&&(k=j[1],L=j[3])}else L=n[3]?n[3].slice(1,-1):"";return k=k.trim(),/^</.test(k)&&(this.options.pedantic&&!/>$/.test(y)?k=k.slice(1):k=k.slice(1,-1)),outputLink(n,{href:k&&k.replace(this.rules.inline._escapes,"$1"),title:L&&L.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(t,n){let y;if((y=this.rules.inline.reflink.exec(t))||(y=this.rules.inline.nolink.exec(t))){let k=(y[2]||y[1]).replace(/\s+/g," ");if(k=n[k.toLowerCase()],!k){const L=y[0].charAt(0);return{type:"text",raw:L,text:L}}return outputLink(y,k,y[0],this.lexer)}}emStrong(t,n,y=""){let k=this.rules.inline.emStrong.lDelim.exec(t);if(!k||k[3]&&y.match(/[\p{L}\p{N}]/u))return;const L=k[1]||k[2]||"";if(!L||L&&(y===""||this.rules.inline.punctuation.exec(y))){const j=k[0].length-1;let $,V,re=j,z=0;const oe=k[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(oe.lastIndex=0,n=n.slice(-1*t.length+j);(k=oe.exec(n))!=null;){if($=k[1]||k[2]||k[3]||k[4]||k[5]||k[6],!$)continue;if(V=$.length,k[3]||k[4]){re+=V;continue}else if((k[5]||k[6])&&j%3&&!((j+V)%3)){z+=V;continue}if(re-=V,re>0)continue;V=Math.min(V,V+re+z);const ie=t.slice(0,j+k.index+(k[0].length-$.length)+V);if(Math.min(j,V)%2){const ue=ie.slice(1,-1);return{type:"em",raw:ie,text:ue,tokens:this.lexer.inlineTokens(ue)}}const le=ie.slice(2,-2);return{type:"strong",raw:ie,text:le,tokens:this.lexer.inlineTokens(le)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let y=n[2].replace(/\n/g," ");const k=/[^ ]/.test(y),L=/^ /.test(y)&&/ $/.test(y);return k&&L&&(y=y.substring(1,y.length-1)),y=escape$4(y,!0),{type:"codespan",raw:n[0],text:y}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t,n){const y=this.rules.inline.autolink.exec(t);if(y){let k,L;return y[2]==="@"?(k=escape$4(this.options.mangle?n(y[1]):y[1]),L="mailto:"+k):(k=escape$4(y[1]),L=k),{type:"link",raw:y[0],text:k,href:L,tokens:[{type:"text",raw:k,text:k}]}}}url(t,n){let y;if(y=this.rules.inline.url.exec(t)){let k,L;if(y[2]==="@")k=escape$4(this.options.mangle?n(y[0]):y[0]),L="mailto:"+k;else{let j;do j=y[0],y[0]=this.rules.inline._backpedal.exec(y[0])[0];while(j!==y[0]);k=escape$4(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,n){const y=this.rules.inline.text.exec(t);if(y){let k;return this.lexer.state.inRawBlock?k=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(y[0]):escape$4(y[0]):y[0]:k=escape$4(this.options.smartypants?
|
|||
|
]`).replace("lheading",block.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const inline$1={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:noopTest,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:noopTest,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};inline$1._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";inline$1.punctuation=edit(inline$1.punctuation).replace(/punctuation/g,inline$1._punctuation).getRegex();inline$1.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;inline$1.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;inline$1._comment=edit(block._comment).replace("(?:-->|$)","-->").getRegex();inline$1.emStrong.lDelim=edit(inline$1.emStrong.lDelim).replace(/punct/g,inline$1._punctuation).getRegex();inline$1.emStrong.rDelimAst=edit(inline$1.emStrong.rDelimAst,"g").replace(/punct/g,inline$1._punctuation).getRegex();inline$1.emStrong.rDelimUnd=edit(inline$1.emStrong.rDelimUnd,"g").replace(/punct/g,inline$1._punctuation).getRegex();inline$1._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;inline$1._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;inline$1._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])?)+(?![-_])/;inline$1.autolink=edit(inline$1.autolink).replace("scheme",inline$1._scheme).replace("email",inline$1._email).getRegex();inline$1._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;inline$1.tag=edit(inline$1.tag).replace("comment",inline$1._comment).replace("attribute",inline$1._attribute).getRegex();inline$1._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;inline$1._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;inline$1._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;inline$1.link=edit(inline$1.link).replace("label",inline$1._label).replace("href",inline$1._href).replace("title",inline$1._title).getRegex();inline$1.reflink=edit(inline$1.reflink).replace("label",inline$1._label).replace("ref",block._label).getRegex();inline$1.nolink=edit(inline$1.nolink).replace("ref",block._label).getRegex();inline$1.reflinkSearch=edit(inline$1.reflinkSearch,"g").replace("reflink",inline$1.reflink).replace("nolink",inline$1.nolink).getRegex();inline$1.normal={...inline$1};inline$1.pedantic={...inline$1.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:edit(/^!?\[(label)\]\((.*?)\)/).replace("label",inline$1._label).getRegex(),reflink:edit(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",inline$1._label).getRegex()};inline$1.gfm={...inline$1.normal,escape:edit(inline$1.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|http
|
|||
|
`),this.blockTokens(t,this.tokens);let n;for(;n=this.inlineQueue.shift();)this.inlineTokens(n.src,n.tokens);return this.tokens}blockTokens(t,n=[]){this.options.pedantic?t=t.replace(/\t/g," ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,($,V,re)=>V+" ".repeat(re.length));let y,k,L,j;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some($=>(y=$.call({lexer:this},t,n))?(t=t.substring(y.raw.length),n.push(y),!0):!1))){if(y=this.tokenizer.space(t)){t=t.substring(y.raw.length),y.raw.length===1&&n.length>0?n[n.length-1].raw+=`
|
|||
|
`:n.push(y);continue}if(y=this.tokenizer.code(t)){t=t.substring(y.raw.length),k=n[n.length-1],k&&(k.type==="paragraph"||k.type==="text")?(k.raw+=`
|
|||
|
`+y.raw,k.text+=`
|
|||
|
`+y.text,this.inlineQueue[this.inlineQueue.length-1].src=k.text):n.push(y);continue}if(y=this.tokenizer.fences(t)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.heading(t)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.hr(t)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.blockquote(t)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.list(t)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.html(t)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.def(t)){t=t.substring(y.raw.length),k=n[n.length-1],k&&(k.type==="paragraph"||k.type==="text")?(k.raw+=`
|
|||
|
`+y.raw,k.text+=`
|
|||
|
`+y.raw,this.inlineQueue[this.inlineQueue.length-1].src=k.text):this.tokens.links[y.tag]||(this.tokens.links[y.tag]={href:y.href,title:y.title});continue}if(y=this.tokenizer.table(t)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.lheading(t)){t=t.substring(y.raw.length),n.push(y);continue}if(L=t,this.options.extensions&&this.options.extensions.startBlock){let $=1/0;const V=t.slice(1);let re;this.options.extensions.startBlock.forEach(function(z){re=z.call({lexer:this},V),typeof re=="number"&&re>=0&&($=Math.min($,re))}),$<1/0&&$>=0&&(L=t.substring(0,$+1))}if(this.state.top&&(y=this.tokenizer.paragraph(L))){k=n[n.length-1],j&&k.type==="paragraph"?(k.raw+=`
|
|||
|
`+y.raw,k.text+=`
|
|||
|
`+y.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=k.text):n.push(y),j=L.length!==t.length,t=t.substring(y.raw.length);continue}if(y=this.tokenizer.text(t)){t=t.substring(y.raw.length),k=n[n.length-1],k&&k.type==="text"?(k.raw+=`
|
|||
|
`+y.raw,k.text+=`
|
|||
|
`+y.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=k.text):n.push(y);continue}if(t){const $="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error($);break}else throw new Error($)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let y,k,L,j=t,$,V,re;if(this.tokens.links){const z=Object.keys(this.tokens.links);if(z.length>0)for(;($=this.tokenizer.rules.inline.reflinkSearch.exec(j))!=null;)z.includes($[0].slice($[0].lastIndexOf("[")+1,-1))&&(j=j.slice(0,$.index)+"["+repeatString("a",$[0].length-2)+"]"+j.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;($=this.tokenizer.rules.inline.blockSkip.exec(j))!=null;)j=j.slice(0,$.index)+"["+repeatString("a",$[0].length-2)+"]"+j.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;($=this.tokenizer.rules.inline.escapedEmSt.exec(j))!=null;)j=j.slice(0,$.index+$[0].length-2)+"++"+j.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;t;)if(V||(re=""),V=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(z=>(y=z.call({lexer:this},t,n))?(t=t.substring(y.raw.length),n.push(y),!0):!1))){if(y=this.tokenizer.escape(t)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.tag(t)){t=t.substring(y.raw.length),k=n[n.length-1],k&&y.type==="text"&&k.type==="text"?(k.raw+=y.raw,k.text+=y.text):n.push(y);continue}if(y=this.tokenizer.link(t)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(y.raw.length),k=n[n.length-1],k&&y.type==="text"&&k.type==="text"?(k.raw+=y.raw,k.text+=y.text):n.push(y);continue}if(y=this.tokenizer.emStrong(t,j,re)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.codespan(t)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.br(t)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.del(t)){t=t.substring(y.raw.length),n.push(y);continue}if(y=this.tokenizer.autolink(t,mangle)){t=t.substring(y.raw.length),n.push(y);continue}if(!this.state.inLink&&(y=this.tokenizer.url(t,mangle))){t=t.substring(y.raw.length),n.push(y);continue}if(L=t,this.options.extensions&&this.options.extensions.startInline){let z=1/0;const oe=t.slice(1);let ie;this.options.extensions.startInline.forEach(function(le){ie=le.call({lexer:this},oe),typeof ie=="number"&&ie>=0&&(z=Math.min(z,ie))}),z<1/0&&z>=0&&(L=t.substring(0,z+1))}if(y=this.tokenizer.inlineText(L,smartypants)){t=t.substring(y.raw.length),y.raw.slice(-1)!=="_"&&(re=y.raw.slice(-1)),V=!0,k=n[n.length-1],k&&k.type==="text"?(k.raw+=y.raw,k.text+=y.text):n.push(y);continue}if(t){const z="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(z);break}else throw new Error(z)}}return n}};class Renderer{constructor(t){this.options=t||defaults$2}code(t,n,y){const k=(n||"").match(/\S*/)[0];if(this.options.highlight){const L=this.options.highlight(t,k);L!=null&&L!==t&&(y=!0,t=L)}return t=t.replace(/\n$/,"")+`
|
|||
|
`,k?'<pre><code class="'+this.options.langPrefix+escape$4(k)+'">'+(y?t:escape$4(t,!0))+`</code></pre>
|
|||
|
`:"<pre><code>"+(y?t:escape$4(t,!0))+`</code></pre>
|
|||
|
`}blockquote(t){return`<blockquote>
|
|||
|
${t}</blockquote>
|
|||
|
`}html(t){return t}heading(t,n,y,k){if(this.options.headerIds){const L=this.options.headerPrefix+k.slug(y);return`<h${n} id="${L}">${t}</h${n}>
|
|||
|
`}return`<h${n}>${t}</h${n}>
|
|||
|
`}hr(){return this.options.xhtml?`<hr/>
|
|||
|
`:`<hr>
|
|||
|
`}list(t,n,y){const k=n?"ol":"ul",L=n&&y!==1?' start="'+y+'"':"";return"<"+k+L+`>
|
|||
|
`+t+"</"+k+`>
|
|||
|
`}listitem(t){return`<li>${t}</li>
|
|||
|
`}checkbox(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(t){return`<p>${t}</p>
|
|||
|
`}table(t,n){return n&&(n=`<tbody>${n}</tbody>`),`<table>
|
|||
|
<thead>
|
|||
|
`+t+`</thead>
|
|||
|
`+n+`</table>
|
|||
|
`}tablerow(t){return`<tr>
|
|||
|
${t}</tr>
|
|||
|
`}tablecell(t,n){const y=n.header?"th":"td";return(n.align?`<${y} align="${n.align}">`:`<${y}>`)+t+`</${y}>
|
|||
|
`}strong(t){return`<strong>${t}</strong>`}em(t){return`<em>${t}</em>`}codespan(t){return`<code>${t}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(t){return`<del>${t}</del>`}link(t,n,y){if(t=cleanUrl(this.options.sanitize,this.options.baseUrl,t),t===null)return y;let k='<a href="'+t+'"';return n&&(k+=' title="'+n+'"'),k+=">"+y+"</a>",k}image(t,n,y){if(t=cleanUrl(this.options.sanitize,this.options.baseUrl,t),t===null)return y;let k=`<img src="${t}" alt="${y}"`;return n&&(k+=` title="${n}"`),k+=this.options.xhtml?"/>":">",k}text(t){return t}}class TextRenderer{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,n,y){return""+y}image(t,n,y){return""+y}br(){return""}}class Slugger{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,n){let y=t,k=0;if(this.seen.hasOwnProperty(y)){k=this.seen[t];do k++,y=t+"-"+k;while(this.seen.hasOwnProperty(y))}return n||(this.seen[t]=k,this.seen[y]=0),y}slug(t,n={}){const y=this.serialize(t);return this.getNextSafeSlug(y,n.dryrun)}}let Parser$4=class g0{constructor(t){this.options=t||defaults$2,this.options.renderer=this.options.renderer||new Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new TextRenderer,this.slugger=new Slugger}static parse(t,n){return new g0(n).parse(t)}static parseInline(t,n){return new g0(n).parseInline(t)}parse(t,n=!0){let y="",k,L,j,$,V,re,z,oe,ie,le,ue,de,Ne,pe,_e,he,Ce,Fe,$e;const Lt=t.length;for(k=0;k<Lt;k++){if(le=t[k],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[le.type]&&($e=this.options.extensions.renderers[le.type].call({parser:this},le),$e!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(le.type))){y+=$e||"";continue}switch(le.type){case"space":continue;case"hr":{y+=this.renderer.hr();continue}case"heading":{y+=this.renderer.heading(this.parseInline(le.tokens),le.depth,unescape$2(this.parseInline(le.tokens,this.textRenderer)),this.slugger);continue}case"code":{y+=this.renderer.code(le.text,le.lang,le.escaped);continue}case"table":{for(oe="",z="",$=le.header.length,L=0;L<$;L++)z+=this.renderer.tablecell(this.parseInline(le.header[L].tokens),{header:!0,align:le.align[L]});for(oe+=this.renderer.tablerow(z),ie="",$=le.rows.length,L=0;L<$;L++){for(re=le.rows[L],z="",V=re.length,j=0;j<V;j++)z+=this.renderer.tablecell(this.parseInline(re[j].tokens),{header:!1,align:le.align[j]});ie+=this.renderer.tablerow(z)}y+=this.renderer.table(oe,ie);continue}case"blockquote":{ie=this.parse(le.tokens),y+=this.renderer.blockquote(ie);continue}case"list":{for(ue=le.ordered,de=le.start,Ne=le.loose,$=le.items.length,ie="",L=0;L<$;L++)_e=le.items[L],he=_e.checked,Ce=_e.task,pe="",_e.task&&(Fe=this.renderer.checkbox(he),Ne?_e.tokens.length>0&&_e.tokens[0].type==="paragraph"?(_e.tokens[0].text=Fe+" "+_e.tokens[0].text,_e.tokens[0].tokens&&_e.tokens[0].tokens.length>0&&_e.tokens[0].tokens[0].type==="text"&&(_e.tokens[0].tokens[0].text=Fe+" "+_e.tokens[0].tokens[0].text)):_e.tokens.unshift({type:"text",text:Fe}):pe+=Fe),pe+=this.parse(_e.tokens,Ne),ie+=this.renderer.listitem(pe,Ce,he);y+=this.renderer.list(ie,ue,de);continue}case"html":{y+=this.renderer.html(le.text);continue}case"paragraph":{y+=this.renderer.paragraph(this.parseInline(le.tokens));continue}case"text":{for(ie=le.tokens?this.parseInline(le.tokens):le.text;k+1<Lt&&t[k+1].type==="text";)le=t[++k],ie+=`
|
|||
|
`+(le.tokens?this.parseInline(le.tokens):le.text);y+=n?this.renderer.paragraph(ie):ie;continue}default:{const Et='Token with "'+le.type+'" type was not found.';if(this.options.silent){console.error(Et);return}else throw new Error(Et)}}}return y}parseInline(t,n){n=n||this.renderer;let y="",k,L,j;const $=t.length;for(k=0;k<$;k++){if(L=t[k],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[L.type]&&(j=this.options.extensions.renderers[L.type].call({parser:this},L),j!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(L.type))){y+=j||"";continue}switch(L.type){case"escape":{y+=n.text(L.text);break}case"html":{y+=n.html(L.text);break}case"link":{y+=n.link(L.href,L.title,this.parseInline(L.tokens,n));break}case"image":{y+=n.image(L.href,L.title,L.text);break}case"strong":{y+=n.strong(this.parseInline(L.tokens,n));break}case"em":{y+=n.em(this.parseInline(L.tokens,n));break}case"codespan":{y+=n.codespan(L.text);break}case"br":{y+=n.br();break}case"del":{y+=n.del(this.parseInline(L.tokens,n));break}case"text":{y+=n.text(L.text);break}default:{const V='Token with "'+L.type+'" type was not found.';if(this.options.silent){console.error(V);return}else throw new Error(V)}}}return y}};class Hooks{constructor(t){this.options=t||defaults$2}preprocess(t){return t}postprocess(t){return t}}ih(Hooks,"passThroughHooks",new Set(["preprocess","postprocess"]));function onError(e,t,n){return y=>{if(y.message+=`
|
|||
|
Please report this to https://github.com/markedjs/marked.`,e){const k="<p>An error occurred:</p><pre>"+escape$4(y.message+"",!0)+"</pre>";if(t)return Promise.resolve(k);if(n){n(null,k);return}return k}if(t)return Promise.reject(y);if(n){n(y);return}throw y}}function parseMarkdown(e,t){return(n,y,k)=>{typeof y=="function"&&(k=y,y=null);const L={...y};y={...marked.defaults,...L};const j=onError(y.silent,y.async,k);if(typeof n>"u"||n===null)return j(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return j(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(checkSanitizeDeprecation(y),y.hooks&&(y.hooks.options=y),k){const $=y.highlight;let V;try{y.hooks&&(n=y.hooks.preprocess(n)),V=e(n,y)}catch(oe){return j(oe)}const re=function(oe){let ie;if(!oe)try{y.walkTokens&&marked.walkTokens(V,y.walkTokens),ie=t(V,y),y.hooks&&(ie=y.hooks.postprocess(ie))}catch(le){oe=le}return y.highlight=$,oe?j(oe):k(null,ie)};if(!$||$.length<3||(delete y.highlight,!V.length))return re();let z=0;marked.walkTokens(V,function(oe){oe.type==="code"&&(z++,setTimeout(()=>{$(oe.text,oe.lang,function(ie,le){if(ie)return re(ie);le!=null&&le!==oe.text&&(oe.text=le,oe.escaped=!0),z--,z===0&&re()})},0))}),z===0&&re();return}if(y.async)return Promise.resolve(y.hooks?y.hooks.preprocess(n):n).then($=>e($,y)).then($=>y.walkTokens?Promise.all(marked.walkTokens($,y.walkTokens)).then(()=>$):$).then($=>t($,y)).then($=>y.hooks?y.hooks.postprocess($):$).catch(j);try{y.hooks&&(n=y.hooks.preprocess(n));const $=e(n,y);y.walkTokens&&marked.walkTokens($,y.walkTokens);let V=t($,y);return y.hooks&&(V=y.hooks.postprocess(V)),V}catch($){return j($)}}}function marked(e,t,n){return parseMarkdown(Lexer$1.lex,Parser$4.parse)(e,t,n)}marked.options=marked.setOptions=function(e){return marked.defaults={...marked.defaults,...e},changeDefaults(marked.defaults),marked};marked.getDefaults=getDefaults;marked.defaults=defaults$2;marked.use=function(...e){const t=marked.defaults.extensions||{renderers:{},childTokens:{}};e.forEach(n=>{const y={...n};if(y.async=marked.defaults.async||y.async||!1,n.extensions&&(n.extensions.forEach(k=>{if(!k.name)throw new Error("extension name required");if(k.renderer){const L=t.renderers[k.name];L?t.renderers[k.name]=function(...j){let $=k.renderer.apply(this,j);return $===!1&&($=L.apply(this,j)),$}:t.renderers[k.name]=k.renderer}if(k.tokenizer){if(!k.level||k.level!=="block"&&k.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");t[k.level]?t[k.level].unshift(k.tokenizer):t[k.level]=[k.tokenizer],k.start&&(k.level==="block"?t.startBlock?t.startBlock.push(k.start):t.startBlock=[k.start]:k.level==="inline"&&(t.startInline?t.startInline.push(k.start):t.startInline=[k.start]))}k.childTokens&&(t.childTokens[k.name]=k.childTokens)}),y.extensions=t),n.renderer){const k=marked.defaults.renderer||new Renderer;for(const L in n.renderer){const j=k[L];k[L]=(...$)=>{let V=n.renderer[L].apply(k,$);return V===!1&&(V=j.apply(k,$)),V}}y.renderer=k}if(n.tokenizer){const k=marked.defaults.tokenizer||new Tokenizer$2;for(const L in n.tokenizer){const j=k[L];k[L]=(...$)=>{let V=n.tokenizer[L].apply(k,$);return V===!1&&(V=j.apply(k,$)),V}}y.tokenizer=k}if(n.hooks){const k=marked.defaults.hooks||new Hooks;for(const L in n.hooks){const j=k[L];Hooks.passThroughHooks.has(L)?k[L]=$=>{if(marked.defaults.async)return Promise.resolve(n.hooks[L].call(k,$)).then(re=>j.call(k,re));const V=n.hooks[L].call(k,$);return j.call(k,V)}:k[L]=(...$)=>{let V=n.hooks[L].apply(k,$);return V===!1&&(V=j.apply(k,$)),V}}y.hooks=k}if(n.walkTokens){const k=marked.defaults.walkTokens;y.walkTokens=function(L){let j=[];return j.push(n.walkTokens.call(this,L)),k&&(j=j.concat(k.call(this,L))),j}}marked.setOptions(y)})};marked.walkTokens=function(e,t){let n=[];for(const y of e)switch(n=n.concat(t.call(marked,y)),y.type){case"table":{for(const k of y.header)n=n.concat(marked.walkTokens(k.tokens,t));for(const k of y.rows)for(const L of k)n=n.concat(marked.walkTokens(L.tokens,t));break}case"list":{n=n.c
|
|||
|
|
|||
|
b`.split(/\n/).length!=3?function(Ie){for(var kt=0,er=[],ar=Ie.length;kt<=ar;){var sr=Ie.indexOf(`
|
|||
|
`,kt);sr==-1&&(sr=Ie.length);var Or=Ie.slice(kt,Ie.charAt(sr-1)=="\r"?sr-1:sr),Vr=Or.indexOf("\r");Vr!=-1?(er.push(Or.slice(0,Vr)),kt+=Vr+1):(er.push(Or),kt=sr+1)}return er}:function(Ie){return Ie.split(/\r\n?|\n/)},Fn=window.getSelection?function(Ie){try{return Ie.selectionStart!=Ie.selectionEnd}catch{return!1}}:function(Ie){var kt;try{kt=Ie.ownerDocument.selection.createRange()}catch{}return!kt||kt.parentElement()!=Ie?!1:kt.compareEndPoints("StartToEnd",kt)!=0},Gr=function(){var Ie=rr("div");return"oncopy"in Ie?!0:(Ie.setAttribute("oncopy","return;"),typeof Ie.oncopy=="function")}(),xn=null;function Zn(Ie){if(xn!=null)return xn;var kt=ir(Ie,rr("span","x")),er=kt.getBoundingClientRect(),ar=lr(kt,0,1).getBoundingClientRect();return xn=Math.abs(er.left-ar.left)>1}var di={},Ki={};function ki(Ie,kt){arguments.length>2&&(kt.dependencies=Array.prototype.slice.call(arguments,2)),di[Ie]=kt}function Mo(Ie,kt){Ki[Ie]=kt}function Qa(Ie){if(typeof Ie=="string"&&Ki.hasOwnProperty(Ie))Ie=Ki[Ie];else if(Ie&&typeof Ie.name=="string"&&Ki.hasOwnProperty(Ie.name)){var kt=Ki[Ie.name];typeof kt=="string"&&(kt={name:kt}),Ie=Ur(kt,Ie),Ie.name=kt.name}else{if(typeof Ie=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(Ie))return Qa("application/xml");if(typeof Ie=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(Ie))return Qa("application/json")}return typeof Ie=="string"?{name:Ie}:Ie||{name:"null"}}function Fo(Ie,kt){kt=Qa(kt);var er=di[kt.name];if(!er)return Fo(Ie,"text/plain");var ar=er(Ie,kt);if(Ss.hasOwnProperty(kt.name)){var sr=Ss[kt.name];for(var Or in sr)sr.hasOwnProperty(Or)&&(ar.hasOwnProperty(Or)&&(ar["_"+Or]=ar[Or]),ar[Or]=sr[Or])}if(ar.name=kt.name,kt.helperType&&(ar.helperType=kt.helperType),kt.modeProps)for(var Vr in kt.modeProps)ar[Vr]=kt.modeProps[Vr];return ar}var Ss={};function ms(Ie,kt){var er=Ss.hasOwnProperty(Ie)?Ss[Ie]:Ss[Ie]={};cr(kt,er)}function Uo(Ie,kt){if(kt===!0)return kt;if(Ie.copyState)return Ie.copyState(kt);var er={};for(var ar in kt){var sr=kt[ar];sr instanceof Array&&(sr=sr.concat([])),er[ar]=sr}return er}function Bl(Ie,kt){for(var er;Ie.innerMode&&(er=Ie.innerMode(kt),!(!er||er.mode==Ie));)kt=er.state,Ie=er.mode;return er||{mode:Ie,state:kt}}function Eo(Ie,kt,er){return Ie.startState?Ie.startState(kt,er):!0}var Zl=function(Ie,kt,er){this.pos=this.start=0,this.string=Ie,this.tabSize=kt||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=er};Zl.prototype.eol=function(){return this.pos>=this.string.length},Zl.prototype.sol=function(){return this.pos==this.lineStart},Zl.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Zl.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Zl.prototype.eat=function(Ie){var kt=this.string.charAt(this.pos),er;if(typeof Ie=="string"?er=kt==Ie:er=kt&&(Ie.test?Ie.test(kt):Ie(kt)),er)return++this.pos,kt},Zl.prototype.eatWhile=function(Ie){for(var kt=this.pos;this.eat(Ie););return this.pos>kt},Zl.prototype.eatSpace=function(){for(var Ie=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>Ie},Zl.prototype.skipToEnd=function(){this.pos=this.string.length},Zl.prototype.skipTo=function(Ie){var kt=this.string.indexOf(Ie,this.pos);if(kt>-1)return this.pos=kt,!0},Zl.prototype.backUp=function(Ie){this.pos-=Ie},Zl.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Rr(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Rr(this.string,this.lineStart,this.tabSize):0)},Zl.prototype.indentation=function(){return Rr(this.string,null,this.tabSize)-(this.lineStart?Rr(this.string,this.lineStart,this.tabSize):0)},Zl.prototype.match=function(Ie,kt,er){if(typeof Ie=="string"){var ar=function(Vr){return er?Vr.toLowerCase():Vr},sr=this.string.substr(this.pos,Ie.length);if(ar(sr)==ar(Ie))return kt!==!1&&(this.pos+=Ie.length),!0}else{var Or=this.string.slice(this.pos).match(Ie);return Or&&Or.index>0?null:(Or&&kt!==!1&&(this.pos+=Or[0].length),Or)}},Zl.prototype.current=funct
|
|||
|
`?(ml=Ba.appendChild(rr("span",Qo[0]=="\r"?"␍":"","cm-invalidchar")),ml.setAttribute("cm-text",Qo[0]),Ie.col+=1):(ml=Ie.cm.options.specialCharPlaceholder(Qo[0]),ml.setAttribute("cm-text",Qo[0]),V&&re<9?Ba.appendChild(rr("span",[ml])):Ba.appendChild(ml),Ie.col+=1);Ie.map.push(Ie.pos,Ie.pos+1,ml),Ie.pos++}}if(Ie.trailingSpace=In.charCodeAt(kt.length-1)==32,er||ar||sr||zi||Or||Vr){var kl=er||"";ar&&(kl+=ar),sr&&(kl+=sr);var Zo=rr("span",[Ba],kl,Or);if(Vr)for(var Bu in Vr)Vr.hasOwnProperty(Bu)&&Bu!="style"&&Bu!="class"&&Zo.setAttribute(Bu,Vr[Bu]);return Ie.content.appendChild(Zo)}Ie.content.appendChild(Ba)}}function om(Ie,kt){if(Ie.length>1&&!/ /.test(Ie))return Ie;for(var er=kt,ar="",sr=0;sr<Ie.length;sr++){var Or=Ie.charAt(sr);Or==" "&&er&&(sr==Ie.length-1||Ie.charCodeAt(sr+1)==32)&&(Or=" "),ar+=Or,er=Or==" "}return ar}function wd(Ie,kt){return function(er,ar,sr,Or,Vr,In,Ln){sr=sr?sr+" cm-force-border":"cm-force-border";for(var zi=er.pos,Ba=zi+ar.length;;){for(var Xo=void 0,Qo=0;Qo<kt.length&&(Xo=kt[Qo],!(Xo.to>zi&&Xo.from<=zi));Qo++);if(Xo.to>=Ba)return Ie(er,ar,sr,Or,Vr,In,Ln);Ie(er,ar.slice(0,Xo.to-zi),sr,Or,null,In,Ln),Or=null,ar=ar.slice(Xo.to-zi),zi=Xo.to}}}function Jp(Ie,kt,er,ar){var sr=!ar&&er.widgetNode;sr&&Ie.map.push(Ie.pos,Ie.pos+kt,sr),!ar&&Ie.cm.display.input.needsContentAttribute&&(sr||(sr=Ie.content.appendChild(document.createElement("span"))),sr.setAttribute("cm-marker",er.id)),sr&&(Ie.cm.display.input.setUneditable(sr),Ie.content.appendChild(sr)),Ie.pos+=kt,Ie.trailingSpace=!1}function sm(Ie,kt,er){var ar=Ie.markedSpans,sr=Ie.text,Or=0;if(!ar){for(var Vr=1;Vr<er.length;Vr+=2)kt.addToken(kt,sr.slice(Or,Or=er[Vr]),zp(er[Vr+1],kt.cm.options));return}for(var In=sr.length,Ln=0,zi=1,Ba="",Xo,Qo,ss=0,js,ml,Ws,yl,kl;;){if(ss==Ln){js=ml=Ws=Qo="",kl=null,yl=null,ss=1/0;for(var Zo=[],Bu=void 0,$u=0;$u<ar.length;++$u){var gu=ar[$u],Mu=gu.marker;if(Mu.type=="bookmark"&&gu.from==Ln&&Mu.widgetNode)Zo.push(Mu);else if(gu.from<=Ln&&(gu.to==null||gu.to>Ln||Mu.collapsed&&gu.to==Ln&&gu.from==Ln)){if(gu.to!=null&&gu.to!=Ln&&ss>gu.to&&(ss=gu.to,ml=""),Mu.className&&(js+=" "+Mu.className),Mu.css&&(Qo=(Qo?Qo+";":"")+Mu.css),Mu.startStyle&&gu.from==Ln&&(Ws+=" "+Mu.startStyle),Mu.endStyle&&gu.to==ss&&(Bu||(Bu=[])).push(Mu.endStyle,gu.to),Mu.title&&((kl||(kl={})).title=Mu.title),Mu.attributes)for(var bc in Mu.attributes)(kl||(kl={}))[bc]=Mu.attributes[bc];Mu.collapsed&&(!yl||xc(yl.marker,Mu)<0)&&(yl=gu)}else gu.from>Ln&&ss>gu.from&&(ss=gu.from)}if(Bu)for(var id=0;id<Bu.length;id+=2)Bu[id+1]==ss&&(ml+=" "+Bu[id]);if(!yl||yl.from==Ln)for(var La=0;La<Zo.length;++La)Jp(kt,0,Zo[La]);if(yl&&(yl.from||0)==Ln){if(Jp(kt,(yl.to==null?In+1:yl.to)-Ln,yl.marker,yl.from==null),yl.to==null)return;yl.to==Ln&&(yl=!1)}}if(Ln>=In)break;for(var Us=Math.min(In,ss);;){if(Ba){var xu=Ln+Ba.length;if(!yl){var fc=xu>Us?Ba.slice(0,Us-Ln):Ba;kt.addToken(kt,fc,Xo?Xo+js:js,Ws,Ln+fc.length==ss?ml:"",Qo,kl)}if(xu>=Us){Ba=Ba.slice(Us-Ln),Ln=Us;break}Ln=xu,Ws=""}Ba=sr.slice(Or,Or=er[zi++]),Xo=zp(er[zi++],kt.cm.options)}}}function Bm(Ie,kt,er){this.line=kt,this.rest=pf(kt),this.size=this.rest?hn($r(this.rest))-er+1:1,this.node=this.text=null,this.hidden=Od(Ie,kt)}function Hf(Ie,kt,er){for(var ar=[],sr,Or=kt;Or<er;Or=sr){var Vr=new Bm(Ie.doc,Ml(Ie.doc,Or),Or);sr=Or+Vr.size,ar.push(Vr)}return ar}var Jd=null;function uh(Ie){Jd?Jd.ops.push(Ie):Ie.ownsGroup=Jd={ops:[Ie],delayedCallbacks:[]}}function Th(Ie){var kt=Ie.delayedCallbacks,er=0;do{for(;er<kt.length;er++)kt[er].call(null);for(var ar=0;ar<Ie.ops.length;ar++){var sr=Ie.ops[ar];if(sr.cursorActivityHandlers)for(;sr.cursorActivityCalled<sr.cursorActivityHandlers.length;)sr.cursorActivityHandlers[sr.cursorActivityCalled++].call(null,sr.cm)}}while(er<kt.length)}function dh(Ie,kt){var er=Ie.ownsGroup;if(er)try{Th(er)}finally{Jd=null,kt(er)}}var pp=null;function Nd(Ie,kt){var er=Mi(Ie,kt);if(er.length){var ar=Array.prototype.slice.call(arguments,2),sr;Jd?sr=Jd.delayedCallbacks:pp?sr=pp:(sr=pp=[],setTimeout(Hm,0));for(var Or=function(In){sr.push(function(){return er[In].apply(null,ar)})},Vr=0;Vr<er.length;++Vr)Or
|
|||
|
top: `+Bu+"px; width: "+($u??Ln-Zo)+`px;
|
|||
|
height: `+(gu-Bu)+"px"))}function Xo(Zo,Bu,$u){var gu=Ml(sr,Zo),Mu=gu.text.length,bc,id;function La(fc,yc){return _l(Ie,tl(Zo,fc),"div",gu,yc)}function Us(fc,yc,Ed){var Lc=sd(Ie,gu,null,fc),Yc=yc=="ltr"==(Ed=="after")?"left":"right",Qc=Ed=="after"?Lc.begin:Lc.end-(/\s/.test(gu.text.charAt(Lc.end-1))?2:1);return La(Qc,Yc)[Yc]}var xu=Ta(gu,sr.direction);return vn(xu,Bu||0,$u??Mu,function(fc,yc,Ed,Lc){var Yc=Ed=="ltr",Qc=La(fc,Yc?"left":"right"),Jc=La(yc-1,Yc?"right":"left"),pc=Bu==null&&fc==0,wc=$u==null&&yc==Mu,lp=Lc==0,Lf=!xu||Lc==xu.length-1;if(Jc.top-Qc.top<=3){var cp=(zi?pc:wc)&&lp,jh=(zi?wc:pc)&&Lf,Kf=cp?In:(Yc?Qc:Jc).left,Nm=jh?Ln:(Yc?Jc:Qc).right;Ba(Kf,Qc.top,Nm-Kf,Qc.bottom)}else{var hm,Np,Bh,Gh;Yc?(hm=zi&&pc&&lp?In:Qc.left,Np=zi?Ln:Us(fc,Ed,"before"),Bh=zi?In:Us(yc,Ed,"after"),Gh=zi&&wc&&Lf?Ln:Jc.right):(hm=zi?Us(fc,Ed,"before"):In,Np=!zi&&pc&&lp?Ln:Qc.right,Bh=!zi&&wc&&Lf?In:Jc.left,Gh=zi?Us(yc,Ed,"after"):Ln),Ba(hm,Qc.top,Np-hm,Qc.bottom),Qc.bottom<Jc.top&&Ba(In,Qc.bottom,null,Jc.top),Ba(Bh,Jc.top,Gh-Bh,Jc.bottom)}(!bc||rf(Qc,bc)<0)&&(bc=Qc),rf(Jc,bc)<0&&(bc=Jc),(!id||rf(Qc,id)<0)&&(id=Qc),rf(Jc,id)<0&&(id=Jc)}),{start:bc,end:id}}var Qo=kt.from(),ss=kt.to();if(Qo.line==ss.line)Xo(Qo.line,Qo.ch,ss.ch);else{var js=Ml(sr,Qo.line),ml=Ml(sr,ss.line),Ws=od(js)==od(ml),yl=Xo(Qo.line,Qo.ch,Ws?js.text.length+1:null).end,kl=Xo(ss.line,Ws?0:null,ss.ch).start;Ws&&(yl.top<kl.top-2?(Ba(yl.right,yl.top,null,yl.bottom),Ba(In,kl.top,kl.left,kl.bottom)):Ba(yl.right,yl.top,kl.left-yl.right,yl.bottom)),yl.bottom<kl.top&&Ba(In,yl.bottom,null,kl.top)}er.appendChild(Or)}function ds(Ie){if(Ie.state.focused){var kt=Ie.display;clearInterval(kt.blinker);var er=!0;kt.cursorDiv.style.visibility="",Ie.options.cursorBlinkRate>0?kt.blinker=setInterval(function(){Ie.hasFocus()||to(Ie),kt.cursorDiv.style.visibility=(er=!er)?"":"hidden"},Ie.options.cursorBlinkRate):Ie.options.cursorBlinkRate<0&&(kt.cursorDiv.style.visibility="hidden")}}function Bo(Ie){Ie.hasFocus()||(Ie.display.input.focus(),Ie.state.focused||ro(Ie))}function Ka(Ie){Ie.state.delayingBlurEvent=!0,setTimeout(function(){Ie.state.delayingBlurEvent&&(Ie.state.delayingBlurEvent=!1,Ie.state.focused&&to(Ie))},100)}function ro(Ie,kt){Ie.state.delayingBlurEvent&&!Ie.state.draggingText&&(Ie.state.delayingBlurEvent=!1),Ie.options.readOnly!="nocursor"&&(Ie.state.focused||(vs(Ie,"focus",Ie,kt),Ie.state.focused=!0,vr(Ie.display.wrapper,"CodeMirror-focused"),!Ie.curOp&&Ie.display.selForContextMenu!=Ie.doc.sel&&(Ie.display.input.reset(),z&&setTimeout(function(){return Ie.display.input.reset(!0)},20)),Ie.display.input.receivedFocus()),ds(Ie))}function to(Ie,kt){Ie.state.delayingBlurEvent||(Ie.state.focused&&(vs(Ie,"blur",Ie,kt),Ie.state.focused=!1,jt(Ie.display.wrapper,"CodeMirror-focused")),clearInterval(Ie.display.blinker),setTimeout(function(){Ie.state.focused||(Ie.display.shift=!1)},150))}function Ia(Ie){for(var kt=Ie.display,er=kt.lineDiv.offsetTop,ar=Math.max(0,kt.scroller.getBoundingClientRect().top),sr=kt.lineDiv.getBoundingClientRect().top,Or=0,Vr=0;Vr<kt.view.length;Vr++){var In=kt.view[Vr],Ln=Ie.options.lineWrapping,zi=void 0,Ba=0;if(!In.hidden){if(sr+=In.line.height,V&&re<8){var Xo=In.node.offsetTop+In.node.offsetHeight;zi=Xo-er,er=Xo}else{var Qo=In.node.getBoundingClientRect();zi=Qo.bottom-Qo.top,!Ln&&In.text.firstChild&&(Ba=In.text.firstChild.getBoundingClientRect().right-Qo.left-1)}var ss=In.line.height-zi;if((ss>.005||ss<-.005)&&(sr<ar&&(Or-=ss),Ou(In.line,zi),Wa(In.line),In.rest))for(var js=0;js<In.rest.length;js++)Wa(In.rest[js]);if(Ba>Ie.display.sizerWidth){var ml=Math.ceil(Ba/tf(Ie.display));ml>Ie.display.maxLineLength&&(Ie.display.maxLineLength=ml,Ie.display.maxLine=In.line,Ie.display.maxLineChanged=!0)}}}Math.abs(Or)>2&&(kt.scroller.scrollTop+=Or)}function Wa(Ie){if(Ie.widgets)for(var kt=0;kt<Ie.widgets.length;++kt){var er=Ie.widgets[kt],ar=er.node.parentNode;ar&&(er.height=ar.offsetHeight)}}function io(Ie,kt,er){var ar=er&&er.top!=null?Math.max(0,er.top):Ie.scroller.scrollTop;ar=Math.floor(ar-ef(Ie));var sr=er&&er.bottom!=null?er.bottom:ar+Ie.w
|
|||
|
top: `+(kt.top-er.viewOffset-ef(Ie.display))+`px;
|
|||
|
height: `+(kt.bottom-kt.top+Fp(Ie)+er.barHeight)+`px;
|
|||
|
left: `+kt.left+"px; width: "+Math.max(2,kt.right-kt.left)+"px;");Ie.display.lineSpace.appendChild(Vr),Vr.scrollIntoView(sr),Ie.display.lineSpace.removeChild(Vr)}}}function To(Ie,kt,er,ar){ar==null&&(ar=0);var sr;!Ie.options.lineWrapping&&kt==er&&(er=kt.sticky=="before"?tl(kt.line,kt.ch+1,"before"):kt,kt=kt.ch?tl(kt.line,kt.sticky=="before"?kt.ch-1:kt.ch,"after"):kt);for(var Or=0;Or<5;Or++){var Vr=!1,In=ul(Ie,kt),Ln=!er||er==kt?In:ul(Ie,er);sr={left:Math.min(In.left,Ln.left),top:Math.min(In.top,Ln.top)-ar,right:Math.max(In.left,Ln.left),bottom:Math.max(In.bottom,Ln.bottom)+ar};var zi=vo(Ie,sr),Ba=Ie.doc.scrollTop,Xo=Ie.doc.scrollLeft;if(zi.scrollTop!=null&&(Io(Ie,zi.scrollTop),Math.abs(Ie.doc.scrollTop-Ba)>1&&(Vr=!0)),zi.scrollLeft!=null&&(ns(Ie,zi.scrollLeft),Math.abs(Ie.doc.scrollLeft-Xo)>1&&(Vr=!0)),!Vr)break}return sr}function Aa(Ie,kt){var er=vo(Ie,kt);er.scrollTop!=null&&Io(Ie,er.scrollTop),er.scrollLeft!=null&&ns(Ie,er.scrollLeft)}function vo(Ie,kt){var er=Ie.display,ar=kp(Ie.display);kt.top<0&&(kt.top=0);var sr=Ie.curOp&&Ie.curOp.scrollTop!=null?Ie.curOp.scrollTop:er.scroller.scrollTop,Or=Gf(Ie),Vr={};kt.bottom-kt.top>Or&&(kt.bottom=kt.top+Or);var In=Ie.doc.height+Rf(er),Ln=kt.top<ar,zi=kt.bottom>In-ar;if(kt.top<sr)Vr.scrollTop=Ln?0:kt.top;else if(kt.bottom>sr+Or){var Ba=Math.min(kt.top,(zi?In:kt.bottom)-Or);Ba!=sr&&(Vr.scrollTop=Ba)}var Xo=Ie.options.fixedGutter?0:er.gutters.offsetWidth,Qo=Ie.curOp&&Ie.curOp.scrollLeft!=null?Ie.curOp.scrollLeft:er.scroller.scrollLeft-Xo,ss=_f(Ie)-er.gutters.offsetWidth,js=kt.right-kt.left>ss;return js&&(kt.right=kt.left+ss),kt.left<10?Vr.scrollLeft=0:kt.left<Qo?Vr.scrollLeft=Math.max(0,kt.left+Xo-(js?0:10)):kt.right>ss+Qo-3&&(Vr.scrollLeft=kt.right+(js?0:10)-ss),Vr}function os(Ie,kt){kt!=null&&(Ts(Ie),Ie.curOp.scrollTop=(Ie.curOp.scrollTop==null?Ie.doc.scrollTop:Ie.curOp.scrollTop)+kt)}function $o(Ie){Ts(Ie);var kt=Ie.getCursor();Ie.curOp.scrollToPos={from:kt,to:kt,margin:Ie.options.cursorScrollMargin}}function _s(Ie,kt,er){(kt!=null||er!=null)&&Ts(Ie),kt!=null&&(Ie.curOp.scrollLeft=kt),er!=null&&(Ie.curOp.scrollTop=er)}function Rs(Ie,kt){Ts(Ie),Ie.curOp.scrollToPos=kt}function Ts(Ie){var kt=Ie.curOp.scrollToPos;if(kt){Ie.curOp.scrollToPos=null;var er=Fu(Ie,kt.from),ar=Fu(Ie,kt.to);Ks(Ie,er,ar,kt.margin)}}function Ks(Ie,kt,er,ar){var sr=vo(Ie,{left:Math.min(kt.left,er.left),top:Math.min(kt.top,er.top)-ar,right:Math.max(kt.right,er.right),bottom:Math.max(kt.bottom,er.bottom)+ar});_s(Ie,sr.scrollLeft,sr.scrollTop)}function Io(Ie,kt){Math.abs(Ie.doc.scrollTop-kt)<2||(k||zu(Ie,{top:kt}),Hs(Ie,kt,!0),k&&zu(Ie),al(Ie,100))}function Hs(Ie,kt,er){kt=Math.max(0,Math.min(Ie.display.scroller.scrollHeight-Ie.display.scroller.clientHeight,kt)),!(Ie.display.scroller.scrollTop==kt&&!er)&&(Ie.doc.scrollTop=kt,Ie.display.scrollbars.setScrollTop(kt),Ie.display.scroller.scrollTop!=kt&&(Ie.display.scroller.scrollTop=kt))}function ns(Ie,kt,er,ar){kt=Math.max(0,Math.min(kt,Ie.display.scroller.scrollWidth-Ie.display.scroller.clientWidth)),!((er?kt==Ie.doc.scrollLeft:Math.abs(Ie.doc.scrollLeft-kt)<2)&&!ar)&&(Ie.doc.scrollLeft=kt,Dd(Ie),Ie.display.scroller.scrollLeft!=kt&&(Ie.display.scroller.scrollLeft=kt),Ie.display.scrollbars.setScrollLeft(kt))}function as(Ie){var kt=Ie.display,er=kt.gutters.offsetWidth,ar=Math.round(Ie.doc.height+Rf(Ie.display));return{clientHeight:kt.scroller.clientHeight,viewHeight:kt.wrapper.clientHeight,scrollWidth:kt.scroller.scrollWidth,clientWidth:kt.scroller.clientWidth,viewWidth:kt.wrapper.clientWidth,barLeft:Ie.options.fixedGutter?er:0,docHeight:ar,scrollHeight:ar+Fp(Ie)+kt.barHeight,nativeBarWidth:kt.nativeBarWidth,gutterWidth:er}}var us=function(Ie,kt,er){this.cm=er;var ar=this.vert=rr("div",[rr("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),sr=this.horiz=rr("div",[rr("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ar.tabIndex=sr.tabIndex=-1,Ie(ar),Ie(sr),ni(ar,"scroll",function(){ar.clientHeight&&kt(ar.scrollTop,"vertical")}),ni(sr,"scroll",function(){sr.clientWidth&&kt(sr.scrollLeft,"horizontal")}),this.
|
|||
|
`},setDirection:du(function(Ie){Ie!="rtl"&&(Ie="ltr"),Ie!=this.direction&&(this.direction=Ie,this.iter(function(kt){return kt.order=null}),this.cm&&yf(this.cm))})}),hd.prototype.eachLine=hd.prototype.iter;var Up=0;function wp(Ie){var kt=this;if(Bd(kt),!(qo(kt,Ie)||yp(kt.display,Ie))){hs(Ie),V&&(Up=+new Date);var er=mp(kt,Ie,!0),ar=Ie.dataTransfer.files;if(!(!er||kt.isReadOnly()))if(ar&&ar.length&&window.FileReader&&window.File)for(var sr=ar.length,Or=Array(sr),Vr=0,In=function(){++Vr==sr&&Hl(kt,function(){er=sc(kt.doc,er);var ss={from:er,to:er,text:kt.doc.splitLines(Or.filter(function(js){return js!=null}).join(kt.doc.lineSeparator())),origin:"paste"};mc(kt.doc,ss),Po(kt.doc,Wd(sc(kt.doc,er),sc(kt.doc,Xp(ss))))})()},Ln=function(ss,js){if(kt.options.allowDropFileTypes&&Mr(kt.options.allowDropFileTypes,ss.type)==-1){In();return}var ml=new FileReader;ml.onerror=function(){return In()},ml.onload=function(){var Ws=ml.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Ws)){In();return}Or[js]=Ws,In()},ml.readAsText(ss)},zi=0;zi<ar.length;zi++)Ln(ar[zi],zi);else{if(kt.state.draggingText&&kt.doc.sel.contains(er)>-1){kt.state.draggingText(Ie),setTimeout(function(){return kt.display.input.focus()},20);return}try{var Ba=Ie.dataTransfer.getData("Text");if(Ba){var Xo;if(kt.state.draggingText&&!kt.state.draggingText.copy&&(Xo=kt.listSelections()),Ja(kt.doc,Wd(er,er)),Xo)for(var Qo=0;Qo<Xo.length;++Qo)Cl(kt.doc,"",Xo[Qo].anchor,Xo[Qo].head,"drag");kt.replaceSelection(Ba,"around","paste"),kt.display.input.focus()}}catch{}}}}function $d(Ie,kt){if(V&&(!Ie.state.draggingText||+new Date-Up<100)){vc(kt);return}if(!(qo(Ie,kt)||yp(Ie.display,kt))&&(kt.dataTransfer.setData("Text",Ie.getSelection()),kt.dataTransfer.effectAllowed="copyMove",kt.dataTransfer.setDragImage&&!de)){var er=rr("img",null,null,"position: fixed; left: 0; top: 0;");er.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",ue&&(er.width=er.height=1,Ie.display.wrapper.appendChild(er),er._top=er.offsetTop),kt.dataTransfer.setDragImage(er,0,0),ue&&er.parentNode.removeChild(er)}}function Ic(Ie,kt){var er=mp(Ie,kt);if(er){var ar=document.createDocumentFragment();Mf(Ie,er,ar),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,ar)}}function Bd(Ie){Ie.display.dragCursor&&(Ie.display.lineSpace.removeChild(Ie.display.dragCursor),Ie.display.dragCursor=null)}function Vd(Ie){if(document.getElementsByClassName){for(var kt=document.getElementsByClassName("CodeMirror"),er=[],ar=0;ar<kt.length;ar++){var sr=kt[ar].CodeMirror;sr&&er.push(sr)}er.length&&er[0].operation(function(){for(var Or=0;Or<er.length;Or++)Ie(er[Or])})}}var Ud=!1;function wh(){Ud||(kh(),Ud=!0)}function kh(){var Ie;ni(window,"resize",function(){Ie==null&&(Ie=setTimeout(function(){Ie=null,Vd(Hh)},100))}),ni(window,"blur",function(){return Vd(to)})}function Hh(Ie){var kt=Ie.display;kt.cachedCharWidth=kt.cachedTextHeight=kt.cachedPaddingH=null,kt.scrollbarsClipped=!1,Ie.setSize()}for(var _p={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"},Nh=0;Nh<10;Nh++)_p[Nh+48]=_p[Nh+96]=String(Nh);for(var Jm=65;Jm<=90;Jm++)_p[Jm]=String.fromCharCode(Jm);for(var Zm=1;Zm<=12;Zm++)_p[Zm+111]=_p[Zm+63235]="F"+Zm;var mm={};mm.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 Sn(Ie,kt){var er=Ml(Ie.doc,kt),ar=od(er);return ar!=er&&(kt=hn(ar)),Mn(!0,Ie,ar,kt,1)}function zr(Ie,kt){var er=Ml(Ie.doc,kt),ar=tm(er);return ar!=er&&(kt=hn(ar)),Mn(!0,Ie,er,kt,-1)}function Yr(Ie,kt){var er=Sn(Ie,kt.line),ar=Ml(Ie.doc,er.line),sr=Ta(ar,Ie.doc.direction);if(!sr||sr[0].level==0){var Or=Math.max(er.ch,ar.text.search(/\S/)),Vr=kt.line==er.line&&kt.ch<=Or&&kt.ch;return tl(er.line,Vr?0:Or,er.sticky)}return er}function Kr(Ie,kt,er){if(typeof kt=="string"&&(kt=An[kt],!kt))return!1;Ie.display.input.ensurePolled();var ar=Ie.display.shift,sr=!1;try{Ie.isReadOnly()&&(Ie.state.suppressEdits=!0),er&&(Ie.display.shift=!1),sr=kt(Ie)!=mr}finally{Ie.display.shift=ar,Ie.state.suppressEdits=!1}return sr}function kn(Ie,kt,er){for(var ar=0;ar<Ie.state.keyMaps.length;ar++){var sr=xp(kt,Ie.state.keyMaps[ar],er,Ie);if(sr)return sr}return Ie.options.extraKeys&&xp(kt,Ie.options.extraKeys,er,Ie)||xp(kt,Ie.options.keyMap,er,Ie)}var Vn=new Pr;function pi(Ie,kt,er,ar){var sr=Ie.state.keySeq;if(sr){if(Mh(kt))return"handled";if(/\'$/.test(kt)?Ie.state.keySeq=null:Vn.set(50,function(){Ie.state.keySeq==sr&&(Ie.state.keySeq=null,Ie.display.input.reset())}),ii(Ie,sr+" "+kt,er,ar))return!0}return ii(Ie,kt,er,ar)}function ii(Ie,kt,er,ar){var sr=kn(Ie,kt,ar);return sr=="multi"&&(Ie.state.keySeq=kt),sr=="handled"&&Nd(Ie,"keyHandled",Ie,kt,er),(sr=="handled"||sr=="multi")&&(hs(er),ds(Ie)),!!sr}function mi(Ie,kt){var er=Ah(kt,!0);return er?kt.shiftKey&&!Ie.state.keySeq?pi(Ie,"Shift-"+er,kt,function(ar){return Kr(Ie,ar,!0)})||pi(Ie,er,kt,function(ar){if(typeof ar=="string"?/^go[A-Z]/.test(ar):ar.motion)return Kr(Ie,ar)}):pi(Ie,er,kt,function(ar){return Kr(Ie,ar)}):!1}function Un(Ie,kt,er){return pi(Ie,"'"+er+"'",kt,function(ar){return Kr(Ie,ar,!0)})}var zn=null;function ji(Ie){var kt=this;if(!(Ie.target&&Ie.target!=kt.display.input.getField())&&(kt.curOp.focus=fr(Cr(kt)),!qo(kt,Ie))){V&&re<11&&Ie.keyCode==27&&(Ie.returnValue=!1);var er=Ie.keyCode;kt.display.shift=er==16||Ie.shiftKey;var ar=mi(kt,Ie);ue&&(zn=ar?er:null,!ar&&er==88&&!Gr&&(Fe?Ie.metaKey:Ie.ctrlKey)&&kt.replaceSelection("",null,"cut")),k&&!Fe&&!ar&&er==46&&Ie.shiftKey&&!Ie.ctrlKey&&document.execCommand&&document.execCommand("cut"),er==18&&!/\bCodeMirror-crosshair\b/.test(kt.display.lineDiv.className)&&oa(kt)}}function oa(Ie){var kt=Ie.display.lineDiv;vr(kt,"CodeMirror-crosshair");function er(ar){(ar.keyCode==18||!ar.altKey)&&(jt(kt,"CodeMirror-crosshair"),fa(document,"keyup",er),fa(document,"mouseover",er))}ni(document,"keyup",er),ni(document,"mouseover",er)}function ca(Ie){Ie.keyCode==16&&(this.doc.sel.shift=!1),qo(this,Ie)}function Ui(Ie){var kt=this;if(!(Ie.target&&Ie.target!=kt.display.input.getField())&&!(yp(kt.display,Ie)||qo(kt,Ie)||Ie.ctrlKey&&!Ie.altKey||Fe&&Ie.metaKey)){var er=Ie.keyCode,ar=Ie.charCode;if(ue&&er==zn){zn=null,hs(Ie);return}if(!(ue&&(!Ie.which||Ie.which<10)&&mi(kt,Ie))){var sr=String.fromCharCode(ar??er);sr!="\b"&&(Un(kt,Ie,sr)||kt.display.input.onKeyPress(Ie))}}}var da=400,Xi=function(Ie,kt,er){this.time=Ie,this.pos=kt,this.button=er};Xi.prototype.compare=function(Ie,kt,er){return this.time+da>Ie&&bu(kt,this.pos)==0&&er==this.button};var Sa,pa;function Do(Ie,kt){var er=+new Date;return pa&&pa.compare(er,Ie,kt)?(Sa=pa=null,"triple"):Sa&&Sa.compare(er,Ie,kt)?(pa=new Xi(er,Ie,kt),Sa=null,"double"):(Sa=new Xi(er,Ie,kt),pa=null,"single")}function Kn(Ie){var kt=this,er=kt.display;if(!(qo(kt,Ie)||er.activeTouch&&er.input.supportsTouch())){if(er.input.ensurePolled(),er.shift=Ie.shiftKey,yp(er,Ie)){z||(er.scroller.draggable=!1,setTimeout(function(){return er.scroller.draggable=!0},100));return}if(!aa(kt,Ie)){var ar=mp(kt,Ie),sr=Uu(Ie),Or=ar?Do(ar,sr):"single";Ar(kt).focus(),sr==1&&kt.state.selectingText&&kt.state.selectingText(Ie),!(ar&&ea(kt,sr,ar,Or,Ie))&&(sr==1?ar?Li(kt,ar,Or,Ie):dc(Ie)==er.scroller&&hs(Ie):sr==2?(ar&&Wr(kt.doc,ar),setTimeout(function(){return er.input.focus()},20)):sr==3&&(qe?kt.display.input.onContextMenu(Ie):Ka(kt)))}}}function ea(Ie,kt,er,ar,sr){var Or="Click";ret
|
|||
|
`)==kt){if(ar.ranges.length%So.text.length==0){zi=[];for(var Ba=0;Ba<So.text.length;Ba++)zi.push(Or.splitLines(So.text[Ba]))}}else Ln.length==ar.ranges.length&&Ie.options.pasteLinesPerSelection&&(zi=Fr(Ln,function(yl){return[yl]}));for(var Xo=Ie.curOp.updateInput,Qo=ar.ranges.length-1;Qo>=0;Qo--){var ss=ar.ranges[Qo],js=ss.from(),ml=ss.to();ss.empty()&&(er&&er>0?js=tl(js.line,js.ch-er):Ie.state.overwrite&&!In?ml=tl(ml.line,Math.min(Ml(Or,ml.line).text.length,ml.ch+$r(Ln).length)):In&&So&&So.lineWise&&So.text.join(`
|
|||
|
`)==Ln.join(`
|
|||
|
`)&&(js=ml=tl(js.line,0)));var Ws={from:js,to:ml,text:zi?zi[Qo%zi.length]:Ln,origin:sr||(In?"paste":Ie.state.cutIncoming>Vr?"cut":"+input")};mc(Ie.doc,Ws),Nd(Ie,"inputRead",Ie,Ws)}kt&&!In&&cu(Ie,kt),$o(Ie),Ie.curOp.updateInput<2&&(Ie.curOp.updateInput=Xo),Ie.curOp.typing=!0,Ie.state.pasteIncoming=Ie.state.cutIncoming=-1}function Gs(Ie,kt){var er=Ie.clipboardData&&Ie.clipboardData.getData("Text");if(er)return Ie.preventDefault(),!kt.isReadOnly()&&!kt.options.disableInput&&kt.hasFocus()&&Vu(kt,function(){return Xs(kt,er,0,null,"paste")}),!0}function cu(Ie,kt){if(!(!Ie.options.electricChars||!Ie.options.smartIndent))for(var er=Ie.doc.sel,ar=er.ranges.length-1;ar>=0;ar--){var sr=er.ranges[ar];if(!(sr.head.ch>100||ar&&er.ranges[ar-1].head.line==sr.head.line)){var Or=Ie.getModeAt(sr.head),Vr=!1;if(Or.electricChars){for(var In=0;In<Or.electricChars.length;In++)if(kt.indexOf(Or.electricChars.charAt(In))>-1){Vr=Qs(Ie,sr.head.line,"smart");break}}else Or.electricInput&&Or.electricInput.test(Ml(Ie.doc,sr.head.line).text.slice(0,sr.head.ch))&&(Vr=Qs(Ie,sr.head.line,"smart"));Vr&&Nd(Ie,"electricInput",Ie,sr.head.line)}}}function ps(Ie){for(var kt=[],er=[],ar=0;ar<Ie.doc.sel.ranges.length;ar++){var sr=Ie.doc.sel.ranges[ar].head.line,Or={anchor:tl(sr,0),head:tl(sr+1,0)};er.push(Or),kt.push(Ie.getRange(Or.anchor,Or.head))}return{text:kt,ranges:er}}function Vo(Ie,kt,er,ar){Ie.setAttribute("autocorrect",er?"on":"off"),Ie.setAttribute("autocapitalize",ar?"on":"off"),Ie.setAttribute("spellcheck",!!kt)}function xs(){var Ie=rr("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),kt=rr("div",[Ie],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return z?Ie.style.width="1000px":Ie.setAttribute("wrap","off"),_e&&(Ie.style.border="1px solid black"),kt}function ks(Ie){var kt=Ie.optionHandlers,er=Ie.helpers={};Ie.prototype={constructor:Ie,focus:function(){Ar(this).focus(),this.display.input.focus()},setOption:function(ar,sr){var Or=this.options,Vr=Or[ar];Or[ar]==sr&&ar!="mode"||(Or[ar]=sr,kt.hasOwnProperty(ar)&&Hl(this,kt[ar])(this,sr,Vr),vs(this,"optionChange",this,ar))},getOption:function(ar){return this.options[ar]},getDoc:function(){return this.doc},addKeyMap:function(ar,sr){this.state.keyMaps[sr?"push":"unshift"](Dh(ar))},removeKeyMap:function(ar){for(var sr=this.state.keyMaps,Or=0;Or<sr.length;++Or)if(sr[Or]==ar||sr[Or].name==ar)return sr.splice(Or,1),!0},addOverlay:cl(function(ar,sr){var Or=ar.token?ar:Ie.getMode(this.options,ar);if(Or.startState)throw new Error("Overlays may not be stateful.");yr(this.state.overlays,{mode:Or,modeSpec:ar,opaque:sr&&sr.opaque,priority:sr&&sr.priority||0},function(Vr){return Vr.priority}),this.state.modeGen++,Zd(this)}),removeOverlay:cl(function(ar){for(var sr=this.state.overlays,Or=0;Or<sr.length;++Or){var Vr=sr[Or].modeSpec;if(Vr==ar||typeof ar=="string"&&Vr.name==ar){sr.splice(Or,1),this.state.modeGen++,Zd(this);return}}}),indentLine:cl(function(ar,sr,Or){typeof sr!="string"&&typeof sr!="number"&&(sr==null?sr=this.options.smartIndent?"smart":"prev":sr=sr?"add":"subtract"),pl(this.doc,ar)&&Qs(this,ar,sr,Or)}),indentSelection:cl(function(ar){for(var sr=this.doc.sel.ranges,Or=-1,Vr=0;Vr<sr.length;Vr++){var In=sr[Vr];if(In.empty())In.head.line>Or&&(Qs(this,In.head.line,ar,!0),Or=In.head.line,Vr==this.doc.sel.primIndex&&$o(this));else{var Ln=In.from(),zi=In.to(),Ba=Math.max(Or,Ln.line);Or=Math.min(this.lastLine(),zi.line-(zi.ch?0:1))+1;for(var Xo=Ba;Xo<Or;++Xo)Qs(this,Xo,ar);var Qo=this.doc.sel.ranges;Ln.ch==0&&sr.length==Qo.length&&Qo[Vr].from().ch>0&&Gi(this.doc,Vr,new Ac(Ln,Qo[Vr].to()),gr)}}}),getTokenAt:function(ar,sr){return Tf(this,ar,sr)},getLineTokens:function(ar,sr){return Tf(this,tl(ar),sr,!0)},getTokenTypeAt:function(ar){ar=sc(this.doc,ar);var sr=sf(this,Ml(this.doc,ar.line)),Or=0,Vr=(sr.length-1)/2,In=ar.ch,Ln;if(In==0)Ln=sr[2];else for(;;){var zi=Or+Vr>>1;if((zi?sr[zi*2-1]:0)>=In)Vr=zi;else if(sr[zi*2+1]<In)Or=zi+1;else{Ln=sr[zi*2+2];break}}var Ba=Ln?Ln.indexOf("overlay "):-1;return Ba<0?Ln:Ba==0?null:Ln
|
|||
|
`,Ws=xa(ml,ss)?"w":Qo&&ml==`
|
|||
|
`?"n":!Qo||/\s/.test(ml)?null:"p";if(Qo&&!js&&!Ws&&(Ws="s"),Xo&&Xo!=Ws){er<0&&(er=1,Ba(),kt.sticky="after");break}if(Ws&&(Xo=Ws),er>0&&!Ba(!js))break}var yl=Tu(Ie,kt,Or,Vr,!0);return ic(Or,yl)&&(yl.hitSide=!0),yl}function bl(Ie,kt,er,ar){var sr=Ie.doc,Or=kt.left,Vr;if(ar=="page"){var In=Math.min(Ie.display.wrapper.clientHeight,Ar(Ie).innerHeight||sr(Ie).documentElement.clientHeight),Ln=Math.max(In-.5*kp(Ie.display),3);Vr=(er>0?kt.bottom:kt.top)+er*Ln}else ar=="line"&&(Vr=er>0?kt.bottom+3:kt.top-3);for(var zi;zi=$c(Ie,Or,Vr),!!zi.outside;){if(er<0?Vr<=0:Vr>=sr.height){zi.hitSide=!0;break}Vr+=er*5}return zi}var dl=function(Ie){this.cm=Ie,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Pr,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};dl.prototype.init=function(Ie){var kt=this,er=this,ar=er.cm,sr=er.div=Ie.lineDiv;sr.contentEditable=!0,Vo(sr,ar.options.spellcheck,ar.options.autocorrect,ar.options.autocapitalize);function Or(In){for(var Ln=In.target;Ln;Ln=Ln.parentNode){if(Ln==sr)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ln.className))break}return!1}ni(sr,"paste",function(In){!Or(In)||qo(ar,In)||Gs(In,ar)||re<=11&&setTimeout(Hl(ar,function(){return kt.updateFromDOM()}),20)}),ni(sr,"compositionstart",function(In){kt.composing={data:In.data,done:!1}}),ni(sr,"compositionupdate",function(In){kt.composing||(kt.composing={data:In.data,done:!1})}),ni(sr,"compositionend",function(In){kt.composing&&(In.data!=kt.composing.data&&kt.readFromDOMSoon(),kt.composing.done=!0)}),ni(sr,"touchstart",function(){return er.forceCompositionEnd()}),ni(sr,"input",function(){kt.composing||kt.readFromDOMSoon()});function Vr(In){if(!(!Or(In)||qo(ar,In))){if(ar.somethingSelected())cs({lineWise:!1,text:ar.getSelections()}),In.type=="cut"&&ar.replaceSelection("",null,"cut");else if(ar.options.lineWiseCopyCut){var Ln=ps(ar);cs({lineWise:!0,text:Ln.text}),In.type=="cut"&&ar.operation(function(){ar.setSelections(Ln.ranges,0,gr),ar.replaceSelection("",null,"cut")})}else return;if(In.clipboardData){In.clipboardData.clearData();var zi=So.text.join(`
|
|||
|
`);if(In.clipboardData.setData("Text",zi),In.clipboardData.getData("Text")==zi){In.preventDefault();return}}var Ba=xs(),Xo=Ba.firstChild;Vo(Xo),ar.display.lineSpace.insertBefore(Ba,ar.display.lineSpace.firstChild),Xo.value=So.text.join(`
|
|||
|
`);var Qo=fr(Ir(sr));Sr(Xo),setTimeout(function(){ar.display.lineSpace.removeChild(Ba),Qo.focus(),Qo==sr&&er.showPrimarySelection()},50)}}ni(sr,"copy",Vr),ni(sr,"cut",Vr)},dl.prototype.screenReaderLabelChanged=function(Ie){Ie?this.div.setAttribute("aria-label",Ie):this.div.removeAttribute("aria-label")},dl.prototype.prepareSelection=function(){var Ie=Wf(this.cm,!1);return Ie.focus=fr(Ir(this.div))==this.div,Ie},dl.prototype.showSelection=function(Ie,kt){!Ie||!this.cm.display.view.length||((Ie.focus||kt)&&this.showPrimarySelection(),this.showMultipleSelections(Ie))},dl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},dl.prototype.showPrimarySelection=function(){var Ie=this.getSelection(),kt=this.cm,er=kt.doc.sel.primary(),ar=er.from(),sr=er.to();if(kt.display.viewTo==kt.display.viewFrom||ar.line>=kt.display.viewTo||sr.line<kt.display.viewFrom){Ie.removeAllRanges();return}var Or=Iu(kt,Ie.anchorNode,Ie.anchorOffset),Vr=Iu(kt,Ie.focusNode,Ie.focusOffset);if(!(Or&&!Or.bad&&Vr&&!Vr.bad&&bu(Yd(Or,Vr),ar)==0&&bu(Zc(Or,Vr),sr)==0)){var In=kt.display.view,Ln=ar.line>=kt.display.viewFrom&&Du(kt,ar)||{node:In[0].measure.map[2],offset:0},zi=sr.line<kt.display.viewTo&&Du(kt,sr);if(!zi){var Ba=In[In.length-1].measure,Xo=Ba.maps?Ba.maps[Ba.maps.length-1]:Ba.map;zi={node:Xo[Xo.length-1],offset:Xo[Xo.length-2]-Xo[Xo.length-3]}}if(!Ln||!zi){Ie.removeAllRanges();return}var Qo=Ie.rangeCount&&Ie.getRangeAt(0),ss;try{ss=lr(Ln.node,Ln.offset,zi.offset,zi.node)}catch{}ss&&(!k&&kt.state.focused?(Ie.collapse(Ln.node,Ln.offset),ss.collapsed||(Ie.removeAllRanges(),Ie.addRange(ss))):(Ie.removeAllRanges(),Ie.addRange(ss)),Qo&&Ie.anchorNode==null?Ie.addRange(Qo):k&&this.startGracePeriod()),this.rememberSelection()}},dl.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)},dl.prototype.showMultipleSelections=function(Ie){ir(this.cm.display.cursorDiv,Ie.cursors),ir(this.cm.display.selectionDiv,Ie.selection)},dl.prototype.rememberSelection=function(){var Ie=this.getSelection();this.lastAnchorNode=Ie.anchorNode,this.lastAnchorOffset=Ie.anchorOffset,this.lastFocusNode=Ie.focusNode,this.lastFocusOffset=Ie.focusOffset},dl.prototype.selectionInEditor=function(){var Ie=this.getSelection();if(!Ie.rangeCount)return!1;var kt=Ie.getRangeAt(0).commonAncestorContainer;return hr(this.div,kt)},dl.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||fr(Ir(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},dl.prototype.blur=function(){this.div.blur()},dl.prototype.getField=function(){return this.div},dl.prototype.supportsTouch=function(){return!0},dl.prototype.receivedFocus=function(){var Ie=this,kt=this;this.selectionInEditor()?setTimeout(function(){return Ie.pollSelection()},20):Vu(this.cm,function(){return kt.cm.curOp.selectionChanged=!0});function er(){kt.cm.state.focused&&(kt.pollSelection(),kt.polling.set(kt.cm.options.pollInterval,er))}this.polling.set(this.cm.options.pollInterval,er)},dl.prototype.selectionChanged=function(){var Ie=this.getSelection();return Ie.anchorNode!=this.lastAnchorNode||Ie.anchorOffset!=this.lastAnchorOffset||Ie.focusNode!=this.lastFocusNode||Ie.focusOffset!=this.lastFocusOffset},dl.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var Ie=this.getSelection(),kt=this.cm;if(he&&ie&&this.cm.display.gutterSpecs.length&&Oc(Ie.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var er=Iu(kt,Ie.anchorNode,Ie.anchorOffset),ar=Iu(kt,Ie.focusNode,Ie.focusOffset);er&&ar&&Vu(kt,function(){ko(kt.doc,Wd(er,ar),gr),(er.bad||ar.bad)&&(kt.curOp.selectionChanged=!0)})}}},dl.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTim
|
|||
|
`),Sr(sr))}else return;Vr.type=="cut"&&(ar.state.cutIncoming=+new Date)}}ni(sr,"cut",Or),ni(sr,"copy",Or),ni(Ie.scroller,"paste",function(Vr){if(!(yp(Ie,Vr)||qo(ar,Vr))){if(!sr.dispatchEvent){ar.state.pasteIncoming=+new Date,er.focus();return}var In=new Event("paste");In.clipboardData=Vr.clipboardData,sr.dispatchEvent(In)}}),ni(Ie.lineSpace,"selectstart",function(Vr){yp(Ie,Vr)||hs(Vr)}),ni(sr,"compositionstart",function(){var Vr=ar.getCursor("from");er.composing&&er.composing.range.clear(),er.composing={start:Vr,range:ar.markText(Vr,ar.getCursor("to"),{className:"CodeMirror-composing"})}}),ni(sr,"compositionend",function(){er.composing&&(er.poll(),er.composing.range.clear(),er.composing=null)})},xo.prototype.createField=function(Ie){this.wrapper=xs(),this.textarea=this.wrapper.firstChild;var kt=this.cm.options;Vo(this.textarea,kt.spellcheck,kt.autocorrect,kt.autocapitalize)},xo.prototype.screenReaderLabelChanged=function(Ie){Ie?this.textarea.setAttribute("aria-label",Ie):this.textarea.removeAttribute("aria-label")},xo.prototype.prepareSelection=function(){var Ie=this.cm,kt=Ie.display,er=Ie.doc,ar=Wf(Ie);if(Ie.options.moveInputWithCursor){var sr=ul(Ie,er.sel.primary().head,"div"),Or=kt.wrapper.getBoundingClientRect(),Vr=kt.lineDiv.getBoundingClientRect();ar.teTop=Math.max(0,Math.min(kt.wrapper.clientHeight-10,sr.top+Vr.top-Or.top)),ar.teLeft=Math.max(0,Math.min(kt.wrapper.clientWidth-10,sr.left+Vr.left-Or.left))}return ar},xo.prototype.showSelection=function(Ie){var kt=this.cm,er=kt.display;ir(er.cursorDiv,Ie.cursors),ir(er.selectionDiv,Ie.selection),Ie.teTop!=null&&(this.wrapper.style.top=Ie.teTop+"px",this.wrapper.style.left=Ie.teLeft+"px")},xo.prototype.reset=function(Ie){if(!(this.contextMenuPending||this.composing&&Ie)){var kt=this.cm;if(this.resetting=!0,kt.somethingSelected()){this.prevInput="";var er=kt.getSelection();this.textarea.value=er,kt.state.focused&&Sr(this.textarea),V&&re>=9&&(this.hasSelection=er)}else Ie||(this.prevInput=this.textarea.value="",V&&re>=9&&(this.hasSelection=null));this.resetting=!1}},xo.prototype.getField=function(){return this.textarea},xo.prototype.supportsTouch=function(){return!1},xo.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ce||fr(Ir(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},xo.prototype.blur=function(){this.textarea.blur()},xo.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},xo.prototype.receivedFocus=function(){this.slowPoll()},xo.prototype.slowPoll=function(){var Ie=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){Ie.poll(),Ie.cm.state.focused&&Ie.slowPoll()})},xo.prototype.fastPoll=function(){var Ie=!1,kt=this;kt.pollingFast=!0;function er(){var ar=kt.poll();!ar&&!Ie?(Ie=!0,kt.polling.set(60,er)):(kt.pollingFast=!1,kt.slowPoll())}kt.polling.set(20,er)},xo.prototype.poll=function(){var Ie=this,kt=this.cm,er=this.textarea,ar=this.prevInput;if(this.contextMenuPending||this.resetting||!kt.state.focused||Fn(er)&&!ar&&!this.composing||kt.isReadOnly()||kt.options.disableInput||kt.state.keySeq)return!1;var sr=er.value;if(sr==ar&&!kt.somethingSelected())return!1;if(V&&re>=9&&this.hasSelection===sr||Fe&&/[\uf700-\uf7ff]/.test(sr))return kt.display.input.reset(),!1;if(kt.doc.sel==kt.display.selForContextMenu){var Or=sr.charCodeAt(0);if(Or==8203&&!ar&&(ar=""),Or==8666)return this.reset(),this.cm.execCommand("undo")}for(var Vr=0,In=Math.min(ar.length,sr.length);Vr<In&&ar.charCodeAt(Vr)==sr.charCodeAt(Vr);)++Vr;return Vu(kt,function(){Xs(kt,sr.slice(Vr),ar.length-Vr,null,Ie.composing?"*compose":null),sr.length>1e3||sr.indexOf(`
|
|||
|
`)>-1?er.value=Ie.prevInput="":Ie.prevInput=sr,Ie.composing&&(Ie.composing.range.clear(),Ie.composing.range=kt.markText(Ie.composing.start,kt.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},xo.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},xo.prototype.onKeyPress=function(){V&&re>=9&&(this.hasSelection=null),this.fastPoll()},xo.prototype.onContextMenu=function(Ie){var kt=this,er=kt.cm,ar=er.display,sr=kt.textarea;kt.contextMenuPending&&kt.contextMenuPending();var Or=mp(er,Ie),Vr=ar.scroller.scrollTop;if(!Or||ue)return;var In=er.options.resetSelectionOnContextMenu;In&&er.doc.sel.contains(Or)==-1&&Hl(er,ko)(er.doc,Wd(Or),gr);var Ln=sr.style.cssText,zi=kt.wrapper.style.cssText,Ba=kt.wrapper.offsetParent.getBoundingClientRect();kt.wrapper.style.cssText="position: static",sr.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|||
|
top: `+(Ie.clientY-Ba.top-5)+"px; left: "+(Ie.clientX-Ba.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 Xo;z&&(Xo=sr.ownerDocument.defaultView.scrollY),ar.input.focus(),z&&sr.ownerDocument.defaultView.scrollTo(null,Xo),ar.input.reset(),er.somethingSelected()||(sr.value=kt.prevInput=" "),kt.contextMenuPending=ss,ar.selForContextMenu=er.doc.sel,clearTimeout(ar.detectingSelectAll);function Qo(){if(sr.selectionStart!=null){var ml=er.somethingSelected(),Ws=""+(ml?sr.value:"");sr.value="⇚",sr.value=Ws,kt.prevInput=ml?"":"",sr.selectionStart=1,sr.selectionEnd=Ws.length,ar.selForContextMenu=er.doc.sel}}function ss(){if(kt.contextMenuPending==ss&&(kt.contextMenuPending=!1,kt.wrapper.style.cssText=zi,sr.style.cssText=Ln,V&&re<9&&ar.scrollbars.setScrollTop(ar.scroller.scrollTop=Vr),sr.selectionStart!=null)){(!V||V&&re<9)&&Qo();var ml=0,Ws=function(){ar.selForContextMenu==er.doc.sel&&sr.selectionStart==0&&sr.selectionEnd>0&&kt.prevInput==""?Hl(er,lc)(er):ml++<10?ar.detectingSelectAll=setTimeout(Ws,500):(ar.selForContextMenu=null,ar.input.reset())};ar.detectingSelectAll=setTimeout(Ws,200)}}if(V&&re>=9&&Qo(),qe){vc(Ie);var js=function(){fa(window,"mouseup",js),setTimeout(ss,20)};ni(window,"mouseup",js)}else setTimeout(ss,50)},xo.prototype.readOnlyChanged=function(Ie){Ie||this.reset(),this.textarea.disabled=Ie=="nocursor",this.textarea.readOnly=!!Ie},xo.prototype.setUneditable=function(){},xo.prototype.needsContentAttribute=!1;function Js(Ie,kt){if(kt=kt?cr(kt):{},kt.value=Ie.value,!kt.tabindex&&Ie.tabIndex&&(kt.tabindex=Ie.tabIndex),!kt.placeholder&&Ie.placeholder&&(kt.placeholder=Ie.placeholder),kt.autofocus==null){var er=fr(Ir(Ie));kt.autofocus=er==Ie||Ie.getAttribute("autofocus")!=null&&er==document.body}function ar(){Ie.value=In.getValue()}var sr;if(Ie.form&&(ni(Ie.form,"submit",ar),!kt.leaveSubmitMethodAlone)){var Or=Ie.form;sr=Or.submit;try{var Vr=Or.submit=function(){ar(),Or.submit=sr,Or.submit(),Or.submit=Vr}}catch{}}kt.finishInit=function(Ln){Ln.save=ar,Ln.getTextArea=function(){return Ie},Ln.toTextArea=function(){Ln.toTextArea=isNaN,ar(),Ie.parentNode.removeChild(Ln.getWrapperElement()),Ie.style.display="",Ie.form&&(fa(Ie.form,"submit",ar),!kt.leaveSubmitMethodAlone&&typeof Ie.form.submit=="function"&&(Ie.form.submit=sr))}},Ie.style.display="none";var In=rs(function(Ln){return Ie.parentNode.insertBefore(Ln,Ie.nextSibling)},kt);return In}function fs(Ie){Ie.off=fa,Ie.on=ni,Ie.wheelEventPixels=kd,Ie.Doc=hd,Ie.splitLines=Nr,Ie.countColumn=Rr,Ie.findColumn=_r,Ie.isWordChar=bo,Ie.Pass=mr,Ie.signal=vs,Ie.Line=mf,Ie.changeEnd=Xp,Ie.scrollbarModel=jl,Ie.Pos=tl,Ie.cmpPos=bu,Ie.modes=di,Ie.mimeModes=Ki,Ie.resolveMode=Qa,Ie.getMode=Fo,Ie.modeExtensions=Ss,Ie.extendMode=ms,Ie.copyState=Uo,Ie.startState=Eo,Ie.innerMode=Bl,Ie.commands=An,Ie.keyMap=mm,Ie.keyName=Ah,Ie.isModifierKey=Mh,Ie.lookupKey=xp,Ie.normalizeKeyMap=Sf,Ie.StringStream=Zl,Ie.SharedTextMarker=Cu,Ie.TextMarker=ol,Ie.LineWidget=_c,Ie.e_preventDefault=hs,Ie.e_stopPropagation=Eu,Ie.e_stop=vc,Ie.addClass=vr,Ie.contains=hr,Ie.rmClass=jt,Ie.keyNames=_p}ys(rs),ks(rs);var Ys="iter insert remove copy getEditor constructor".split(" ");for(var Su in hd.prototype)hd.prototype.hasOwnProperty(Su)&&Mr(Ys,Su)<0&&(rs.prototype[Su]=function(Ie){return function(){return Ie.apply(this.doc,arguments)}}(hd.prototype[Su]));return _u(hd),rs.inputStyles={textarea:xo,contenteditable:dl},rs.defineMode=function(Ie){!rs.defaults.mode&&Ie!="null"&&(rs.defaults.mode=Ie),ki.apply(this,arguments)},rs.defineMIME=Mo,rs.defineMode("null",function(){return{token:function(Ie){return Ie.skipToEnd()}}}),rs.defineMIME("text/plain","null"),rs.defineExtension=function(Ie,kt){rs.prototype[Ie]=kt},rs.defineDocExtension=function(Ie,kt){hd.prototype[Ie]=kt},rs.fromTextArea=Js,fs(rs),rs.version="5.65.17",rs})}(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 isClie
|
|||
|
(?:
|
|||
|
(?:`+y+":){7}(?:"+y+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|||
|
(?:`+y+":){6}(?:"+n+"|:"+y+`|:)| // 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
|
|||
|
(?:`+y+":){5}(?::"+n+"|(?::"+y+`){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
|
|||
|
(?:`+y+":){4}(?:(?::"+y+"){0,1}:"+n+"|(?::"+y+`){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
|
|||
|
(?:`+y+":){3}(?:(?::"+y+"){0,2}:"+n+"|(?::"+y+`){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
|
|||
|
(?:`+y+":){2}(?:(?::"+y+"){0,3}:"+n+"|(?::"+y+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|||
|
(?:`+y+":){1}(?:(?::"+y+"){0,4}:"+n+"|(?::"+y+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|||
|
(?::(?:(?::`+y+"){0,5}:"+n+"|(?::"+y+`){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("(?:^"+n+"$)|(?:^"+k+"$)"),j=new RegExp("^"+n+"$"),$=new RegExp("^"+k+"$"),V=function(Ce){return Ce&&Ce.exact?L:new RegExp("(?:"+t(Ce)+n+t(Ce)+")|(?:"+t(Ce)+k+t(Ce)+")","g")};V.v4=function(he){return he&&he.exact?j:new RegExp(""+t(he)+n+t(he),"g")},V.v6=function(he){return he&&he.exact?$:new RegExp(""+t(he)+k+t(he),"g")};var re="(?:(?:[a-z]+:)?//)",z="(?:\\S+(?::\\S*)?@)?",oe=V.v4().source,ie=V.v6().source,le="(?:(?:[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,}))",Ne="(?::\\d{2,5})?",pe='(?:[/?#][^\\s"]*)?',_e="(?:"+re+"|www\\.)"+z+"(?:localhost|"+oe+"|"+ie+"|"+le+ue+de+")"+Ne+pe;return urlReg=new RegExp("(?:^"+_e+"$)","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,n,y,k,L){if(t.required&&n===void 0){required$1(t,n,y,k,L);return}var j=["integer","float","array","regexp","object","method","email","number","date","url","hex"],$=t.type;j.indexOf($)>-1?types$2[$](n)||k.push(format$1(L.messages.types[$],t.fullField,t.type)):$&&typeof n!==t.type&&k.push(format$1(L.messages.types[$],t.fullField,t.type))},range$2=function(t,n,y,k,L){var j=typeof t.len=="number",$=typeof t.min=="number",V=typeof t.max=="number",re=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,z=n,oe=null,ie=typeof n=="number",le=typeof n=="string",ue=Array.isArray(n);if(ie?oe="number":le?oe="string":ue&&(oe="array"),!oe)return!1;ue&&(z=n.length),le&&(z=n.replace(re,"_").length),j?z!==t.len&&k.push(format$1(L.messages[oe].len,t.fullField,t.len)):$&&!V&&z<t.min?k.push(format$1(L.messages[oe].min,t.fullField,t.min)):V&&!$&&z>t.max?k.push(format$1(L.messages[oe].max,t.fullField,t.max)):$&&V&&(z<t.min||z>t.max)&&k.push(format$1(L.messages[oe].range,t.fullField,t.min,t.max))},ENUM$1="enum",enumerable$1=function(t,n,y,k,L){t[ENUM$1]=Array.isArray(t[ENUM$1])?t[ENUM$1]:[],t[ENUM$1].indexOf(n)===-1&&k.push(format$1(L.messages[ENUM$1],t.fullField,t[ENUM$1].join(", ")))},pattern$1=function(t,n,y,k,L){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||k.push(format$1(L.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var j=new RegExp(t.pattern);j.test(n)||k.push(format$1(L.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},rules={required:required$1,whitespace:whitespace$1,type:type$1,range:range$2,enum:enumerable$1,pattern:pattern$1},string=function(t,n,y,k,L){var j=[],$=t.required||!t.required&&k.hasOwnProperty(t.field);if($){if(isEmptyValue(n,"string")&&!t.required)return y();rules.required(t,n,k,j,L,"string"),isEmptyValue(n,"string")||(rules.type(t,n,k,j,L),rules.range(t,n,k,j,L),rules.pattern(t,n,k,j,L),t.whitespace===!0&&rules.whitespace(t,n,k,j,L))}y(j)},method2=function(t,n,y,k,L){var j=[],$=t.required||!t.required&&k.hasOwnProperty(t.field);if($){if(isEmptyValue(n)&&!t.required)return y();rules.required(t,n,k,j,L),n!==void 0&&rules.type(t,n,k,j
|
|||
|
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),n=t.getPropertyValue("box-sizing"),y=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(j=>`${j}:${t.getPropertyValue(j)}`).join(";"),paddingSize:y,borderSize:k,boxSizing:n}}function calcTextareaHeight(e,t=1,n){var y;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:k,borderSize:L,boxSizing:j,contextStyle:$}=calculateNodeStyling(e);hiddenTextarea.setAttribute("style",`${$};${HIDDEN_STYLE}`),hiddenTextarea.value=e.value||e.placeholder||"";let V=hiddenTextarea.scrollHeight;const re={};j==="border-box"?V=V+L:j==="content-box"&&(V=V-k),hiddenTextarea.value="";const z=hiddenTextarea.scrollHeight-k;if(isNumber$3(t)){let oe=z*t;j==="border-box"&&(oe=oe+k+L),V=Math.max(oe,V),re.minHeight=`${oe}px`}if(isNumber$3(n)){let oe=z*n;j==="border-box"&&(oe=oe+k+L),V=Math.min(oe,V)}return re.height=`${V}px`,(y=hiddenTextarea.parentNode)==null||y.removeChild(hiddenTextarea),hiddenTextarea=void 0,re}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$2Q=defineComponent({...__default__$1J,props:inputProps,emits:inputEmits,setup(e,{expose:t,emit:n}){const y=e,k=useAttrs$1(),L=useSlots(),j=computed(()=>{const kr={};return y.containerRole==="combobox"&&(kr["aria-haspopup"]=k["aria-haspopup"],kr["aria-owns"]=k["aria-owns"],kr["aria-expanded"]=k["aria-expanded"]),kr}),$=computed(()=>[y.type==="textarea"?Ne.b():de.b(),de.m(le.value),de.is("disabled",ue.value),de.is("exceed",Dr.value),{[de.b("group")]:L.prepend||L.append,[de.m("prefix")]:L.prefix||y.prefixIcon,[de.m("suffix")]:L.suffix||y.suffixIcon||y.clearable||y.showPassword,[de.bm("suffix","password-clear")]:lr.value&&hr.value,[de.b("hidden")]:y.type==="hidden"},k.class]),V=computed(()=>[de.e("wrapper"),de.is("focus",Ue.value)]),re=useAttrs({excludeKeys:computed(()=>Object.keys(j.value))}),{form:z,formItem:oe}=useFormItem(),{inputId:ie}=useFormItemInputId(y,{formItemContext:oe}),le=useFormSize(),ue=useFormDisabled(),de=useNamespace("input"),Ne=useNamespace("textarea"),pe=shallowRef(),_e=shallowRef(),he=ref$1(!1),Ce=ref$1(!1),Fe=ref$1(),$e=shallowRef(y.inputStyle),Lt=computed(()=>pe.value||_e.value),{wrapperRef:Et,isFocused:Ue}=us
|
|||
|
* 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 n=function(y){const k=Y(y);t&&Reflect.apply(t,this,[y,k])};e.addEventListener("wheel",n,{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$2u=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup(e,{emit:t}){const n=e,y=useNamespace("time"),{getHoursList:k,getMinutesList:L,getSecondsList:j}=getTimeLists(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let $=!1;const V=ref$1(),re=ref$1(),z=ref$1(),oe=ref$1(),ie={hours:re,minutes:z,seconds:oe},le=computed(()=>n.showSeconds?timeUnits$1:timeUnits$1.slice(0,2)),ue=computed(()=>{const{spinnerDate:fr}=n,vr=fr.hour(),Dr=fr.minute(),Sr=fr.second();return{hours:vr,minutes:Dr,seconds:Sr}}),de=computed(()=>{const{hours:fr,minutes:vr}=unref(ue);return{hours:k(n.role),minutes:L(fr,n.role),seconds:j(fr,vr,n.role)}}),Ne=computed(()=>{const{hours:fr,minutes:vr,seconds:Dr}=unref(ue);return{hours:buildTimeList(fr,23),minutes:buildTimeList(vr,59),seconds:buildTimeList(Dr,59)}}),pe=debounce(fr=>{$=!1,Ce(fr)},200),_e=fr=>{if(!!!n.amPmMode)return"";const Dr=n.amPmMode==="A";let Sr=fr<12?" am":" pm";return Dr&&(Sr=Sr.toUpperCase()),Sr},he=fr=>{let vr;switch(fr){case"hours":vr=[0,2];break;case"minutes":vr=[3,5];break;case"seconds":vr=[6,8];break}const[Dr,Sr]=vr;t("select-range",Dr,Sr),V.value=fr},Ce=fr=>{Lt(fr,unref(ue)[fr])},Fe=()=>{Ce("hours"),Ce("minutes"),Ce("seconds")},$e=fr=>fr.querySelector(`.${y.namespace.value}-scrollbar__wrap`),Lt=(fr,vr)=>{if(n.arrowControl)return;const Dr=unref(ie[fr]);Dr&&Dr.$el&&($e(Dr.$el).scrollTop=Math.max(0,vr*Et(fr)))},Et=fr=>{const vr=unref(ie[fr]),Dr=vr==null?void 0:vr.$el.querySelector("li");return Dr&&Number.parseFloat(getStyle(Dr,"height"))||0},Ue=()=>{Ve(1)},qe=()=>{Ve(-1)},Ve=fr=>{V.value||he("hours");const vr=V.value,Dr=unref(ue)[vr],Sr=V.value==="hours"?24:60,br=jt(vr,Dr,fr,Sr);tr(vr,br),Lt(vr,br),nextTick$1(()=>he(vr))},jt=(fr,vr,Dr,Sr)=>{let br=(vr+Dr+Sr)%Sr;const Cr=unref(de)[fr];for(;Cr[br]&&br!==vr;)br=(br+Dr+Sr)%Sr;return br},tr=(fr,vr)=>{if(unref(de)[fr][vr])return;const{hours:br,minutes:Cr,seconds:Ir}=unref(ue);let Ar;switch(fr){case"hours":Ar=n.spinnerDate.hour(vr).minute(Cr).second(Ir);break;case"minutes":Ar=n.spinnerDate.hour(br).minute(vr).second(Ir);break;case"seconds":Ar=n.spinnerDate.hour(br).minute(Cr).second(vr);break}t("change",Ar)},ir=(fr,{value:vr,disabled:Dr})=>{Dr||(tr(fr,vr),he(fr),Lt(fr,vr))},rr=fr=>{$=!0,pe(fr);const vr=Math.min(Math.round(($e(unref(ie[fr]).$el).scrollTop-(or(fr)*.5-10)/Et(fr)+3)/Et(fr)),fr==="hours"?23:59);tr(fr,vr)},or=fr=>unref(ie[fr]).$el.offsetHeight,lr=()=>{const fr=vr=>{const Dr=unref(ie[vr]);Dr&&Dr.$el&&($e(Dr.$el).onscroll=()=>{rr(vr)})};fr("hours"),fr("minutes"),fr("seconds")};onMounted(()=>{nextTick$1(()=>{!n.arrowControl&&lr(),Fe(),n.role==="start"&&he("hours")})});const hr=(fr,vr)=>{ie[vr].value=fr};return t("set-option",[`${n.role}_scrollDown`,Ve]),t("set-option",[`${n.role}_emitSelectRange`,he]),watch(()=>n.spinnerDate,()=>{$||Fe()}),(fr,vr)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(y).b("spinner"),{"has-seconds":fr.showSeconds}])},[fr.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(le),Dr=>(openBlock(),createBlock(unref(ElScrollbar),{key:Dr,ref_for:!0,ref:Sr=>hr(Sr,Dr),class:normalizeClass(unref(y).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(y).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Sr=>he(Dr),onMousemove:Sr=>Ce(Dr)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(de)[Dr],(Sr,br)=>(openBlock(),createElementBlock("li",{key:br,class:normalizeClass([unref(y).be("spinner","item"),unref(y).is("active",br===
|
|||
|
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(re,{key:2,class:normalizeClass(e.ns.e("prefix"))},{default:withCtx(()=>[createVNode(V)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode(z),createCommentVNode(" postfix "),e.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[e.node.loading?(openBlock(),createBlock(re,{key:0,class:normalizeClass([e.ns.is("loading"),e.ns.e("postfix")])},{default:withCtx(()=>[createVNode(oe)]),_:1},8,["class"])):(openBlock(),createBlock(re,{key:1,class:normalizeClass(["arrow-right",e.ns.e("postfix")])},{default:withCtx(()=>[createVNode(ie)]),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex","onMouseenter","onFocus","onClick"])}var ElCascaderNode=_export_sfc$1(_sfc_main$2g,[["render",_sfc_render$t],["__file","node.vue"]]);const _sfc_main$2f=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(),n=useNamespace("cascader-menu"),{t:y}=useLocale(),k=useId();let L=null,j=null;const $=inject(CASCADER_PANEL_INJECTION_KEY),V=ref$1(null),re=computed(()=>!e.nodes.length),z=computed(()=>!$.initialLoaded),oe=computed(()=>`${k.value}-${e.index}`),ie=Ne=>{L=Ne.target},le=Ne=>{if(!(!$.isHoverMenu||!L||!V.value))if(L.contains(Ne.target)){ue();const pe=t.vnode.el,{left:_e}=pe.getBoundingClientRect(),{offsetWidth:he,offsetHeight:Ce}=pe,Fe=Ne.clientX-_e,$e=L.offsetTop,Lt=$e+L.offsetHeight;V.value.innerHTML=`
|
|||
|
<path style="pointer-events: auto;" fill="transparent" d="M${Fe} ${$e} L${he} 0 V${$e} Z" />
|
|||
|
<path style="pointer-events: auto;" fill="transparent" d="M${Fe} ${Lt} L${he} ${Ce} V${Lt} Z" />
|
|||
|
`}else j||(j=window.setTimeout(de,$.config.hoverThreshold))},ue=()=>{j&&(clearTimeout(j),j=null)},de=()=>{V.value&&(V.value.innerHTML="",ue())};return{ns:n,panel:$,hoverZone:V,isEmpty:re,isLoading:z,menuId:oe,t:y,handleExpand:ie,handleMouseMove:le,clearHoverZone:de}}});function _sfc_render$s(e,t,n,y,k,L){const j=resolveComponent("el-cascader-node"),$=resolveComponent("loading"),V=resolveComponent("el-icon"),re=resolveComponent("el-scrollbar");return openBlock(),createBlock(re,{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 z;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.nodes,oe=>(openBlock(),createBlock(j,{key:oe.uid,node:oe,"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($)]),_: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)):(z=e.panel)!=null&&z.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$2f,[["render",_sfc_render$s],["__file","menu.vue"]]);let uid=0;const calculatePathNodes=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};let Node$3=class v0{constructor(t,n,y,k=!1){this.data=t,this.config=n,this.parent=y,this.root=k,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:L,label:j,children:$}=n,V=t[$],re=calculatePathNodes(this);this.level=k?0:y?y.level+1:1,this.value=t[L],this.label=t[j],this.pathNodes=re,this.pathValues=re.map(z=>z.value),this.pathLabels=re.map(z=>z.label),this.childrenData=V,this.children=(V||[]).map(z=>new v0(z,n,this)),this.loaded=!n.lazy||this.isLeaf||!isEmpty$1(V)}get isDisabled(){const{data:t,parent:n,config:y}=this,{disabled:k,checkStrictly:L}=y;return(isFunction$4(k)?k(t,this):!!t[k])||!L&&(n==null?void 0:n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:y,loaded:k}=this,{lazy:L,leaf:j}=n,$=isFunction$4(j)?j(t,this):t[j];return isUndefined$1($)?L&&!k?!1:!(Array.isArray(y)&&y.length):!!$}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:y}=this,k=new v0(t,this.config,this);return Array.isArray(n)?n.push(t):this.childrenData=[t],y.push(k),k}calcText(t,n){const y=t?this.pathLabels.join(n):this.label;return this.text=y,y}broadcast(t,...n){const y=`onParent${capitalize(t)}`;this.children.forEach(k=>{k&&(k.broadcast(t,...n),k[y]&&k[y](...n))})}emit(t,...n){const{parent:y}=this,k=`onChild${capitalize(t)}`;y&&(y[k]&&y[k](...n),y.emit(t,...n))}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(k=>!k.isDisabled),y=n.length?n.every(k=>k.checked):!1;this.setCheckState(y)}setCheckState(t){const n=this.children.length,y=this.children.reduce((k,L)=>{const j=L.checked?1:L.indeterminate?.5:0;return k+j},0);this.checked=this.loaded&&this.children.filter(k=>!k.isDisabled).every(k=>k.loaded&&k.checked)&&t,this.indeterminate=this.loaded&&y!==n&&y>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:y}=this.config;n||!y?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check"))}};const flatNodes=(e,t)=>e.reduce((n,y)=>(y.isLeaf?n.push(y):(!t&&n.push(y),n=n.concat(flatNodes(y.children,t))),n),[]);let Store$1=class{constructor(t,n){this.config=n;const y=(t||[]).map(k=>new Node$3(k,this.config));this.nodes=y,this.allNodes=fla
|
|||
|
M 50 50
|
|||
|
m 0 ${Ce?"":"-"}${he}
|
|||
|
a ${he} ${he} 0 1 1 0 ${Ce?"-":""}${he*2}
|
|||
|
a ${he} ${he} 0 1 1 0 ${Ce?"":"-"}${he*2}
|
|||
|
`}),V=computed(()=>2*Math.PI*j.value),re=computed(()=>t.type==="dashboard"?.75:1),z=computed(()=>`${-1*V.value*(1-re.value)/2}px`),oe=computed(()=>({strokeDasharray:`${V.value*re.value}px, ${V.value}px`,strokeDashoffset:z.value})),ie=computed(()=>({strokeDasharray:`${V.value*re.value*(t.percentage/100)}px, ${V.value}px`,strokeDashoffset:z.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),le=computed(()=>{let he;return t.color?he=_e(t.percentage):he=n[t.status]||n.default,he}),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),Ne=computed(()=>t.format(t.percentage));function pe(he){const Ce=100/he.length;return he.map(($e,Lt)=>isString$3($e)?{color:$e,percentage:(Lt+1)*Ce}:$e).sort(($e,Lt)=>$e.percentage-Lt.percentage)}const _e=he=>{var Ce;const{color:Fe}=t;if(isFunction$4(Fe))return Fe(he);if(isString$3(Fe))return Fe;{const $e=pe(Fe);for(const Lt of $e)if(Lt.percentage>he)return Lt.color;return(Ce=$e[$e.length-1])==null?void 0:Ce.color}};return(he,Ce)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(y).b(),unref(y).m(he.type),unref(y).is(he.status),{[unref(y).m("without-text")]:!he.showText,[unref(y).m("text-inside")]:he.textInside}]),role:"progressbar","aria-valuenow":he.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[he.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(y).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(y).be("bar","outer")),style:normalizeStyle({height:`${he.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(y).be("bar","inner"),{[unref(y).bem("bar","inner","indeterminate")]:he.indeterminate},{[unref(y).bem("bar","inner","striped")]:he.striped},{[unref(y).bem("bar","inner","striped-flow")]:he.stripedFlow}]),style:normalizeStyle(unref(k))},[(he.showText||he.$slots.default)&&he.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(y).be("bar","innerText"))},[renderSlot(he.$slots,"default",{percentage:he.percentage},()=>[createBaseVNode("span",null,toDisplayString(unref(Ne)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(y).b("circle")),style:normalizeStyle({height:`${he.width}px`,width:`${he.width}px`})},[(openBlock(),createElementBlock("svg",{viewBox:"0 0 100 100"},[createBaseVNode("path",{class:normalizeClass(unref(y).be("circle","track")),d:unref($),stroke:`var(${unref(y).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":he.strokeLinecap,"stroke-width":unref(L),fill:"none",style:normalizeStyle(unref(oe))},null,14,["d","stroke","stroke-linecap","stroke-width"]),createBaseVNode("path",{class:normalizeClass(unref(y).be("circle","path")),d:unref($),stroke:unref(le),fill:"none",opacity:he.percentage?1:0,"stroke-linecap":he.strokeLinecap,"stroke-width":unref(L),style:normalizeStyle(unref(ie))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),(he.showText||he.$slots.default)&&!he.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(y).e("text")),style:normalizeStyle({fontSize:`${unref(de)}px`})},[renderSlot(he.$slots,"default",{percentage:he.percentage},()=>[he.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(ue))))]),_:1})):(openBlock(),createElementBlock("span",{key:0},toDisplayString(unref(Ne)),1))])],6)):createCommentVNode("v-if",!0)],10,["aria-valuenow"]))}});var Progress=_export_sfc$1(_sfc_main$1f,[["__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:(
|
|||
|
`||re==="\r"){j=V;continue}if(L.includes(re)){const z=j===-1?y:j;$={pattern:k.slice(V+1,z),start:V+1,end:z,prefix:re,prefixIndex:V,splitIndex:j,selectionEnd:y};break}}return $},getCursorPosition=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,y=e.selectionEnd!==null?e.selectionEnd:0,k=t.useSelectionEnd?y:n,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 ie=document.querySelector("#input-textarea-caret-position-mirror-div");ie!=null&&ie.parentNode&&ie.parentNode.removeChild(ie)}const j=document.createElement("div");j.id="input-textarea-caret-position-mirror-div",document.body.appendChild(j);const $=j.style,V=window.getComputedStyle(e),re=e.nodeName==="INPUT";$.whiteSpace=re?"nowrap":"pre-wrap",re||($.wordWrap="break-word"),$.position="absolute",t.debug||($.visibility="hidden"),L.forEach(ie=>{if(re&&ie==="lineHeight")if(V.boxSizing==="border-box"){const le=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);le>de?$.lineHeight=`${le-ue}px`:le===de?$.lineHeight=V.lineHeight:$.lineHeight="0"}else $.lineHeight=V.height;else $[ie]=V[ie]}),isFirefox()?e.scrollHeight>Number.parseInt(V.height)&&($.overflowY="scroll"):$.overflow="hidden",j.textContent=e.value.slice(0,Math.max(0,k)),re&&j.textContent&&(j.textContent=j.textContent.replace(/\s/g," "));const z=document.createElement("span");z.textContent=e.value.slice(Math.max(0,k))||".",z.style.position="relative",z.style.left=`${-e.scrollLeft}px`,z.style.top=`${-e.scrollTop}px`,j.appendChild(z);const oe={top:z.offsetTop+Number.parseInt(V.borderTopWidth),left:z.offsetLeft+Number.parseInt(V.borderLeftWidth),height:Number.parseInt(V.fontSize)*1.5};return t.debug?z.style.backgroundColor="#aaa":document.body.removeChild(j),oe.left>=e.clientWidth&&(oe.left=e.clientWidth),oe},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}),mentionDropdownEmits={select:e=>isString$3(e.value)},__default__$3=defineComponent({name:"ElMentionDropdown"}),_sfc_main$v=defineComponent({...__default__$3,props:mentionDropdownProps,emits:mentionDropdownEmits,setup(e,{expose:t,emit:n}){const y=e,k=useNamespace("mention"),{t:L}=useLocale(),j=ref$1(-1),$=ref$1(),V=ref$1(),re=ref$1(),z=(he,Ce)=>[k.be("dropdown","item"),k.is("hovering",j.value===Ce),k.is("disabled",he.disabled||y.disabled)],oe=he=>{he.disabled||y.disabled||n("select",he)},ie=he=>{j.value=he},le=computed(()=>y.disabled||y.options.every(he=>he.disabled)),ue=computed(()=>y.options[j.value]),de=()=>{ue.value&&n("select",ue.value)},Ne=he=>{const{options:Ce}=y;if(Ce.length===0||le.value)return;he==="next"?(j.value+
|
|||
|
https://github.com/highlightjs/highlight.js/issues/2277`),Dr=lr,vr=hr),fr===void 0&&(fr=!0);const Sr={code:vr,language:Dr};rr("before:highlight",Sr);const br=Sr.result?Sr.result:oe(Sr.language,Sr.code,fr);return br.code=Sr.code,rr("after:highlight",br),br}function oe(lr,hr,fr,vr){const Dr=Object.create(null);function Sr(xa,Ao){return xa.keywords[Ao]}function br(){if(!Tr.keywords){Fr.addText(yr);return}let xa=0;Tr.keywordPatternRe.lastIndex=0;let Ao=Tr.keywordPatternRe.exec(yr),Go="";for(;Ao;){Go+=yr.substring(xa,Ao.index);const Rn=pr.case_insensitive?Ao[0].toLowerCase():Ao[0],Lr=Sr(Tr,Rn);if(Lr){const[Er,vn]=Lr;if(Fr.addText(Go),Go="",Dr[Rn]=(Dr[Rn]||0)+1,Dr[Rn]<=MAX_KEYWORD_HITS&&(kr+=vn),Er.startsWith("_"))Go+=Ao[0];else{const En=pr.classNameAliases[Er]||Er;Ar(Ao[0],En)}}else Go+=Ao[0];xa=Tr.keywordPatternRe.lastIndex,Ao=Tr.keywordPatternRe.exec(yr)}Go+=yr.substring(xa),Fr.addText(Go)}function Cr(){if(yr==="")return;let xa=null;if(typeof Tr.subLanguage=="string"){if(!t[Tr.subLanguage]){Fr.addText(yr);return}xa=oe(Tr.subLanguage,yr,!0,$r[Tr.subLanguage]),$r[Tr.subLanguage]=xa._top}else xa=le(yr,Tr.subLanguage.length?Tr.subLanguage:null);Tr.relevance>0&&(kr+=xa.relevance),Fr.__addSublanguage(xa._emitter,xa.language)}function Ir(){Tr.subLanguage!=null?Cr():br(),yr=""}function Ar(xa,Ao){xa!==""&&(Fr.startScope(Ao),Fr.addText(xa),Fr.endScope())}function dr(xa,Ao){let Go=1;const Rn=Ao.length-1;for(;Go<=Rn;){if(!xa._emit[Go]){Go++;continue}const Lr=pr.classNameAliases[xa[Go]]||xa[Go],Er=Ao[Go];Lr?Ar(Er,Lr):(yr=Er,br(),yr=""),Go++}}function cr(xa,Ao){return xa.scope&&typeof xa.scope=="string"&&Fr.openNode(pr.classNameAliases[xa.scope]||xa.scope),xa.beginScope&&(xa.beginScope._wrap?(Ar(yr,pr.classNameAliases[xa.beginScope._wrap]||xa.beginScope._wrap),yr=""):xa.beginScope._multi&&(dr(xa.beginScope,Ao),yr="")),Tr=Object.create(xa,{parent:{value:Tr}}),Tr}function Rr(xa,Ao,Go){let Rn=startsWith$1(xa.endRe,Go);if(Rn){if(xa["on:end"]){const Lr=new Response$1(xa);xa["on:end"](Ao,Lr),Lr.isMatchIgnored&&(Rn=!1)}if(Rn){for(;xa.endsParent&&xa.parent;)xa=xa.parent;return xa}}if(xa.endsWithParent)return Rr(xa.parent,Ao,Go)}function Pr(xa){return Tr.matcher.regexIndex===0?(yr+=xa[0],1):(bo=!0,0)}function Mr(xa){const Ao=xa[0],Go=xa.rule,Rn=new Response$1(Go),Lr=[Go.__beforeBegin,Go["on:begin"]];for(const Er of Lr)if(Er&&(Er(xa,Rn),Rn.isMatchIgnored))return Pr(Ao);return Go.skip?yr+=Ao:(Go.excludeBegin&&(yr+=Ao),Ir(),!Go.returnBegin&&!Go.excludeBegin&&(yr=Ao)),cr(Go,xa),Go.returnBegin?0:Ao.length}function jr(xa){const Ao=xa[0],Go=hr.substring(xa.index),Rn=Rr(Tr,xa,Go);if(!Rn)return NO_MATCH;const Lr=Tr;Tr.endScope&&Tr.endScope._wrap?(Ir(),Ar(Ao,Tr.endScope._wrap)):Tr.endScope&&Tr.endScope._multi?(Ir(),dr(Tr.endScope,xa)):Lr.skip?yr+=Ao:(Lr.returnEnd||Lr.excludeEnd||(yr+=Ao),Ir(),Lr.excludeEnd&&(yr=Ao));do Tr.scope&&Fr.closeNode(),!Tr.skip&&!Tr.subLanguage&&(kr+=Tr.relevance),Tr=Tr.parent;while(Tr!==Rn.parent);return Rn.starts&&cr(Rn.starts,xa),Lr.returnEnd?0:Ao.length}function mr(){const xa=[];for(let Ao=Tr;Ao!==pr;Ao=Ao.parent)Ao.scope&&xa.unshift(Ao.scope);xa.forEach(Ao=>Fr.openNode(Ao))}let gr={};function xr(xa,Ao){const Go=Ao&&Ao[0];if(yr+=xa,Go==null)return Ir(),0;if(gr.type==="begin"&&Ao.type==="end"&&gr.index===Ao.index&&Go===""){if(yr+=hr.slice(Ao.index,Ao.index+1),!k){const Rn=new Error(`0 width match regex (${lr})`);throw Rn.languageName=lr,Rn.badRule=gr.rule,Rn}return 1}if(gr=Ao,Ao.type==="begin")return Mr(Ao);if(Ao.type==="illegal"&&!fr){const Rn=new Error('Illegal lexeme "'+Go+'" for mode "'+(Tr.scope||"<unnamed>")+'"');throw Rn.mode=Tr,Rn}else if(Ao.type==="end"){const Rn=jr(Ao);if(Rn!==NO_MATCH)return Rn}if(Ao.type==="illegal"&&Go==="")return 1;if(Hi>1e5&&Hi>Ao.index*3)throw new Error("potential infinite loop, way more iterations than matches");return yr+=Go,Go.length}const pr=Ue(lr);if(!pr)throw error(L.replace("{}",lr)),new Error('Unknown language: "'+lr+'"');const _r=compileLanguage(pr);let wr="",Tr=vr||_r;const $r={},Fr=new $.__emitter($);mr();let yr="",kr=0,Ur=0,Hi=0,bo=!1;try{if(pr.__emitTokens)pr.__emitTokens(hr,Fr);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 n="[a-zA-Z_][\\w.]*",y="<\\?(lasso(script)?|=)",k="\\]|\\?>",L={$pattern:n+"|&[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"},j=t.COMMENT("<!--","-->",{relevance:0}),$={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[j]}},V={className:"meta",begin:"\\[/noprocess|"+y},re={className:"symbol",begin:"'"+n+"'"},z=[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:"[#$]"+n},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:n,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+n,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[re]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[t.inherit(t.TITLE_MODE,{begin:n+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:L,contains:[{className:"meta",begin:k,relevance:0,starts:{end:"\\[|"+y,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\\]|"+y,returnEnd:!0,contains:[j]}},$,V].concat(z)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(z)}}return lasso_1=e,lasso_1}var latex_1,hasRequiredLatex;function requireLatex(){if(hasRequiredLatex)return latex_1;hasRequiredLatex=1;function e(t){const y=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?d
|
|||
|
]`,ue={scope:"string",variants:[z,re,oe,ie]},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},Ne=["false","null","true"],pe=["__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"],_e=["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"],Ce={keyword:pe,literal:(ir=>{const rr=[];return ir.forEach(or=>{rr.push(or),or.toLowerCase()===or?rr.push(or.toUpperCase()):rr.push(or.toLowerCase())}),rr})(Ne),built_in:_e},Fe=ir=>ir.map(rr=>rr.replace(/\|\d+$/,"")),$e={variants:[{match:[/new/,n.concat(le,"+"),n.concat("(?!",Fe(_e).join("\\b|"),"\\b)"),L],scope:{1:"keyword",4:"title.class"}}]},Lt=n.concat(k,"\\b(?!\\()"),Et={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),Lt],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[L,n.concat(/::/,n.lookahead(/(?!class\b)/)),Lt],scope:{1:"title.class",3:"variable.constant"}},{match:[L,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[L,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},Ue={scope:"attr",match:n.concat(k,n.lookahead(":"),n.lookahead(/(?!::)/))},qe={relevance:0,begin:/\(/,end:/\)/,keywords:Ce,contains:[Ue,j,Et,t.C_BLOCK_COMMENT_MODE,ue,de,$e]},Ve={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",Fe(pe).join("\\b|"),"|",Fe(_e).join("\\b|"),"\\b)"),k,n.concat(le,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[qe]};qe.contains.push(Ve);const jt=[Ue,Et,t.C_BLOCK_COMMENT_MODE,ue,de,$e],tr={begin:n.concat(/#\[\s*/,L),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:Ne,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 n="[a-z][a-zA-Z0-9_]*",y={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:n+":",relevance:0},t.C_NUMBER_MODE,k,y,{begin:"\\|[ ]*"+n+"([ ]+"+n+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+n}]},{begin:"#\\(",end:"\\)",contains:[t.APOS_STRING_MODE,y,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 n={className:"variable",begin:/\b_+[a-zA-Z]\w*/},y={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"],j=["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"],$=["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=re=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:re.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:[re.APOS_STRING_MODE,re.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:re.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"],n=["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"],y=[...t,...n],k=["any-hover","any-pointer",
|
|||
|
(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(Et){return Et?typeof Et=="string"?Et:Et.source:null}function t(Et){return n("(?=",Et,")")}function n(...Et){return Et.map(qe=>e(qe)).join("")}function y(Et){const Ue=Et[Et.length-1];return typeof Ue=="object"&&Ue.constructor===Object?(Et.splice(Et.length-1,1),Ue):{}}function k(...Et){return"("+(y(Et).capture?"":"?:")+Et.map(Ve=>e(Ve)).join("|")+")"}const L=Et=>n(/\b/,Et,/\w$/.test(Et)?/\b/:/\B/),j=["Protocol","Type"].map(L),$=["init","self"].map(L),V=["Any","Self"],re=["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"],z=["false","nil","true"],oe=["assignment","associativity","higherThan","left","lowerThan","none","right"],ie=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],le=["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]/),Ne=n(ue,de,"*"),pe=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]/),_e=k(pe,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),he=n(pe,_e,"*"),Ce=n(/[A-Z]/,_e,"*"),Fe=["attached","autoclosure",n(/convention\(/,k("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,he,/\)
|
|||
|
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)+" "+n+"h400000v"+(40+t)+"h-400000z"},sqrtSize1=function(t,n){return"M263,"+(601+t+n)+`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)+" "+n+"h400000v"+(40+t)+"h-400000z"},sqrtSize2=function(t,n){return"M983 "+(10+t+n)+`
|
|||
|
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)+" "+n+"h400000v"+(40+t)+"h-400000z"},sqrtSize3=function(t,n){return"M424,"+(2398+t+n)+`
|
|||
|
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)+" "+n+`
|
|||
|
h400000v`+(40+t)+"h-400000z"},sqrtSize4=function(t,n){return"M473,"+(2713+t+n)+`
|
|||
|
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)+" "+n+"h400000v"+(40+t)+"H1017.7z"},phasePath=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},sqrtTall=function(t,n,y){var k=y-54-n-t;return"M702 "+(t+n)+"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 `+n+"H400000v"+(40+t)+"H742z"},sqrtPath=function(t,n,y){n=1e3*n;var k="";switch(t){case"sqrtMain":k=sqrtMain(n,hLinePad);break;case"sqrtSize1":k=sqrtSize1(n,hLinePad);break;case"sqrtSize2":k=sqrtSize2(n,hLinePad);break;case"sqrtSize3":k=sqrtSize3(n,hLinePad);break;case"sqrtSize4":k=sqrtSize4(n,hLinePad);break;case"sqrtTall":k=sqrtTall(n,hLinePad,y)}return k},innerPath=function(t,n){switch(t){case"⎜":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"∣":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"∥":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"⎟":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"⎢":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"⎥":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"⎪":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"⏐":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"‖":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" 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,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84
|
|||
|
H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z
|
|||
|
M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
|
|||
|
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|||
|
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
|
|||
|
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|||
|
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
|
|||
|
M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
|
|||
|
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|||
|
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z
|
|||
|
MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
|
|||
|
MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
|
|||
|
M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
|
|||
|
M347 1759 V0 h-84 V1759 v`+n+" 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,`+(n+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,-`+(n+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,`+(n+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,-`+(n+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(),n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){for(var t="",n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t}toText(){var t=n=>n.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
|
|||
|
`+Lt+" children.");for(var Ve=0;Ve<Lt;Ve++){var jt=new PathNode(he[Ve]),tr=new SvgNode([jt],{width:"400em",height:makeEm($e),viewBox:"0 0 "+$+" "+Fe,preserveAspectRatio:Ue[Ve]+" slice"}),ir=buildCommon.makeSvgSpan([Et[Ve]],[tr],n);if(Lt===1)return{span:ir,minWidth:Ce,height:$e};ir.style.height=makeEm($e),pe.push(ir)}return{span:buildCommon.makeSpan(["stretchy"],pe,n),minWidth:Ce,height:$e}}}var{span:k,minWidth:L,height:j}=y();return k.height=j,k.style.height=makeEm(j),L>0&&(k.style.minWidth=makeEm(L)),k},encloseSpan=function(t,n,y,k,L){var j,$=t.height+t.depth+y+k;if(/fbox|color|angl/.test(n)){if(j=buildCommon.makeSpan(["stretchy",n],[],L),n==="fbox"){var V=L.color&&L.getColor();V&&(j.style.borderColor=V)}}else{var re=[];/^[bx]cancel$/.test(n)&&re.push(new LineNode({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&re.push(new LineNode({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var z=new SvgNode(re,{width:"100%",height:makeEm($)});j=buildCommon.makeSvgSpan([],[z],L)}return j.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 n,y,k;e&&e.type==="supsub"?(y=assertNodeType(e.base,"accent"),n=y.base,e.base=n,k=assertSpan(buildGroup$1(e,t)),e.base=y):(y=assertNodeType(e,"accent"),n=y.base);var L=buildGroup$1(n,t.havingCrampedStyle()),j=y.isShifty&&utils$5.isCharacterBox(n),$=0;if(j){var V=utils$5.getBaseElem(n),re=buildGroup$1(V,t.havingCrampedStyle());$=assertSymbolDomNode(re).skew}var z=y.label==="\\c",oe=z?L.height+L.depth:Math.min(L.height,t.fontMetrics().xHeight),ie;if(y.isStretchy)ie=stretchy.svgSpan(y,t),ie=buildCommon.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:L},{type:"elem",elem:ie,wrapperClasses:["svg-align"],wrapperStyle:$>0?{width:"calc(100% - "+makeEm(2*$)+")",marginLeft:makeEm(2*$)}:void 0}]},t);else{var le,ue;y.label==="\\vec"?(le=buildCommon.staticSvg("vec",t),ue=buildCommon.svgData.vec[1]):(le=buildCommon.makeOrd({mode:y.mode,text:y.label},t,"textord"),le=assertSymbolDomNode(le),le.italic=0,ue=le.width,z&&(oe+=le.depth)),ie=buildCommon.makeSpan(["accent-body"],[le]);var de=y.label==="\\textcircled";de&&(ie.classes.push("accent-full"),oe=L.height);var Ne=$;de||(Ne-=ue/2),ie.style.left=makeEm(Ne),y.label==="\\textcircled"&&(ie.style.top=".2em"),ie=buildCommon.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:L},{type:"kern",size:-oe},{type:"elem",elem:ie}]},t)}var pe=buildCommon.makeSpan(["mord","accent"],[ie],t);return k?(k.children[0]=pe,k.height=Math.max(pe.height,k.height),k.classes[0]="mord",k):pe},mathmlBuilder$9=(e,t)=>{var n=e.isStretchy?stretchy.mathMLnode(e.label):new mathMLTree.MathNode("mo",[makeText(e.label,e.mode)]),y=new mathMLTree.MathNode("mover",[buildGroup2(e.base,t),n]);return y.setAttribute("accent","true"),y},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 n=normalizeArgument(t[0]),y=!NON_STRETCHY_ACCENT_REGEX.test(e.funcName),k=!y||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:y,isShifty:k,base:n}},htmlBuilde
|
|||
|
]`,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,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=n,this.tokenRegex=new RegExp(tokenRegexString,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,n){this.catcodes[t]=n}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new Token("EOF",new SourceLocation(this,n,n));var y=this.tokenRegex.exec(t);if(y===null||y.index!==n)throw new ParseError("Unexpected character: '"+t[n]+"'",new Token(t[n],new SourceLocation(this,n,n+1)));var k=y[6]||y[3]||(y[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,n,this.tokenRegex.lastIndex))}}class Namespace{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,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 n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}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,n,y){if(y===void 0&&(y=!1),y){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]=n)}else{var L=this.undefStack[this.undefStack.length-1];L&&!L.hasOwnProperty(t)&&(L[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}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 n=e.future();return t[0].length===1&&t[0][0].text===n.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(),n,y="";if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")y=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ParseError("\\char` missing argument");y=t.text.charCodeAt(0)}else n=10;if(n){if(y=digitToNumber[t.text],y==null||y>=n)throw new ParseError("Invalid base-"+n+" digit "+t.text);for(var k;(k=digitToNumber[e.future().text])!=null&&k<n;)y*=n,y+=k,e.popToken()}return"\\@char{"+y+"}"});var newcommand=(e,t,n)=>{var y=e.consumeArg().tokens;if(y.length!==1)throw new ParseError("\\newcommand's first argument must be a macro name");var k=y[0].text,L=e.isDefined(k);if(L&&!t)throw new ParseError("\\newcommand{"+k+"} attempting to redefine "+(k+"; use \\renewcommand"));if(!L&&!n)throw new ParseError("\\renewcommand{"+k+"} when command "+k+" does not yet exist; use \\newcommand");var j=0;if(y=e.consumeArg().tokens,y.length===1&&y[0].text==="["){for(var $="",V=e.expandNextToken();V.text!=="]"&&V.text!=="EOF";)$+=V.text,V=e.expandNextToken();if(!$.match(/^\s*[0-9]+\s*$/))throw new ParseError("Invalid number of arguments: "+$);j=parseInt($),y=e.consumeArg().tokens}return e.macros.set(k,{tokens:y,numArgs:j}),""};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(n=>n.text).join("")),""});defineMacro("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});defineMacro("\\show",e=>{var t=e.popToken(),n=t.text;return console.l
|
|||
|
please report what input caused this bug`);return y=y.slice(1,-1),{type:"verb",mode:"text",body:y,star:k}}unicodeSymbols.hasOwnProperty(n[0])&&!symbols[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',t),n=unicodeSymbols[n[0]]+n.slice(1));var L=combiningDiacriticalMarksEndRegex.exec(n);L&&(n=n.substring(0,L.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var j;if(symbols[this.mode][n]){this.settings.strict&&this.mode==="math"&&extraLatin.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var $=symbols[this.mode][n].group,V=SourceLocation.range(t),re;if(ATOMS.hasOwnProperty($)){var z=$;re={type:"atom",mode:this.mode,family:z,loc:V,text:n}}else re={type:$,mode:this.mode,loc:V,text:n};j=re}else if(n.charCodeAt(0)>=128)this.settings.strict&&(supportedCodepoint(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),j={type:"textord",mode:"text",loc:SourceLocation.range(t),text:n};else return null;if(this.consume(),L)for(var oe=0;oe<L[0].length;oe++){var ie=L[0][oe];if(!unicodeAccents[ie])throw new ParseError("Unknown accent ' "+ie+"'",t);var le=unicodeAccents[ie][this.mode]||unicodeAccents[ie].text;if(!le)throw new ParseError("Accent "+ie+" unsupported in "+this.mode+" mode",t);j={type:"accent",mode:this.mode,loc:SourceLocation.range(t),label:le,isStretchy:!1,isShifty:!0,base:j}}return j}};Parser$3.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var parseTree=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var y=new Parser$3(t,n);delete y.gullet.macros.current["\\df@tag"];var k=y.parse();if(delete y.gullet.macros.current["\\current@color"],delete y.gullet.macros.current["\\color"],y.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new ParseError("\\tag works only in display equations");k=[{type:"tag",mode:"text",body:k,tag:y.subparse([new Token("\\df@tag")])}]}return k},render$2=function(t,n,y){n.textContent="";var k=renderToDomTree(t,y).toNode();n.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$2=function(){throw new ParseError("KaTeX doesn't work in quirks mode.")});var renderToString=function(t,n){var y=renderToDomTree(t,n).toMarkup();return y},generateParseTree=function(t,n){var y=new Settings(n);return parseTree(t,y)},renderError=function(t,n,y){if(y.throwOnError||!(t instanceof ParseError))throw t;var k=buildCommon.makeSpan(["katex-error"],[new SymbolNode(n)]);return k.setAttribute("title",t.toString()),k.setAttribute("style","color:"+y.errorColor),k},renderToDomTree=function(t,n){var y=new Settings(n);try{var k=parseTree(t,y);return buildTree(k,t,y)}catch(L){return renderError(L,t,y)}},renderToHTMLTree=function(t,n){var y=new Settings(n);try{var k=parseTree(t,y);return buildHTMLTree(k,t,y)}catch(L){return renderError(L,t,y)}},katex={version:"0.16.11",render:render$2,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))]}}functio
|
|||
|
`:"")}function inlineKatex(e,t){const n=e&&e.nonStandard,y=n?inlineRuleNonStandard:inlineRule;return{name:"inlineKatex",level:"inline",start(k){let L,j=k;for(;j;){if(L=j.indexOf("$"),L===-1)return;if((n?L>-1:L===0||j.charAt(L-1)===" ")&&j.substring(L).match(y))return L;j=j.substring(L+1).replace(/^\$+/,"")}},tokenizer(k,L){const j=k.match(y);if(j)return{type:"inlineKatex",raw:j[0],text:j[2].trim(),displayMode:j[1].length===2}},renderer:t}}function blockKatex(e,t){return{name:"blockKatex",level:"block",tokenizer(n,y){const k=n.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{constructor(t){this.opts=t;let n=[],y=0,k=new Map;const L=(V,re)=>Object.assign({},V,re);this.buildTheme=V=>{const re={},z=L(V.BASE,{"font-family":this.opts.fonts,"font-size":this.opts.size});for(const ie in V.inline)if(Object.prototype.hasOwnProperty.call(V.inline,ie)){const le=V.inline[ie];re[ie]=L(V.BASE,le)}const oe=L(z,{});for(const ie in V.block)if(Object.prototype.hasOwnProperty.call(V.block,ie)){const le=V.block[ie];re[ie]=L(oe,le)}return re};const j=(V,re)=>{const z=[],oe=k[V];if(!oe)return"";for(const ie in oe)z.push(`${ie}:${oe[ie]}`);return`style="${z.join(";")+""}"`},$=(V,re)=>(n.push([++y,V,re]),y);this.buildFootnotes=()=>{const V=n.map(re=>re[1]===re[2]?`<code style="font-size: 90%; opacity: 0.6;">[${re[0]}]</code>: <i>${re[1]}</i><br/>`:`<code style="font-size: 90%; opacity: 0.6;">[${re[0]}]</code> ${re[1]}: <i>${re[2]}</i><br/>`);return V.length?`<h4 ${j("h4")}>引用链接</h4><p ${j("footnotes")}>${V.join(`
|
|||
|
`)}</p>`:""},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>
|
|||
|
`,this.setOptions=V=>{this.opts=L(this.opts,V)},this.hasFootnotes=()=>n.length!==0,this.getRenderer=V=>{n=[],y=0,k=this.buildTheme(this.opts.theme);const re=new Renderer;return re.heading=(z,oe)=>{switch(oe){case 1:return`<h1 ${j("h1")}>${z}</h1>`;case 2:return`<h2 ${j("h2")}>${z}</h2>`;case 3:return`<h3 ${j("h3")}>${z}</h3>`;default:return`<h4 ${j("h4")}>${z}</h4>`}},re.paragraph=z=>z.includes("<figure")&&z.includes("<img")?z:z.replace(/ /g,"")===""?"":`<p ${j("p")}>${z}</p>`,re.blockquote=z=>(z=z.replace(/<p.*?>/g,`<p ${j("blockquote_p")}>`),`<blockquote ${j("blockquote")}>${z}</blockquote>`),re.code=(z,oe="")=>oe.startsWith("mermaid")?(setTimeout(()=>{var ie;(ie=window.mermaid)==null||ie.run()},0),`<center><pre class="mermaid">${z}</pre></center>`):(oe=oe.split(" ")[0],oe=HighlightJS.getLanguage(oe)?oe:"plaintext",z=HighlightJS.highlight(z,{language:oe}).value,z=z.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>").replace(/(>[^<]+)|(^[^<]+)/g,ie=>ie.replace(/\s/g," ")),`<pre class="hljs code__pre" ${j("code_pre")}><code class="language-${oe}" ${j("code")}>${z}</code></pre>`),re.codespan=(z,oe)=>`<code ${j("codespan")}>${z}</code>`,re.listitem=z=>`<li ${j("listitem")}><span><%s/></span>${z}</li>`,re.list=(z,oe,ie)=>{z=z.replace(/<\/*p .*?>/g,"").replace(/<\/*p>/g,"");const le=z.split("<%s/>");if(!oe)return z=le.join("• "),`<ul ${j("ul")}>${z}</ul>`;z=le[0];for(let ue=1;ue<le.length;ue++)z=`${z+ue}. ${le[ue]}`;return`<ol ${j("ol")}>${z}</ol>`},re.image=(z,oe,ie)=>{const de=(_e=>_e?`<figcaption ${j("figcaption")}>${_e}</figcaption>`:"")(((_e,he)=>{switch(localStorage.getItem("legend")){case"alt":return he;case"title":return _e;case"alt-title":return he||_e;case"title-alt":return _e||he;default:return""}})(oe,ie)),Ne=j("figure"),pe=j("image");return`<figure ${Ne}><img ${pe} src="${z}" title="${oe}" alt="${ie}"/>${de}</figure>`},re.link=(z,oe,ie)=>{if(z.startsWith("https://mp.weixin.qq.com"))return`<a href="${z}" title="${oe||ie}" ${j("wx_link")}>${ie}</a>`;if(z===ie)return ie;if(V){const le=$(oe||ie,z);return`<span ${j("link")}>${ie}<sup>[${le}]</sup></span>`}return`<span ${j("link")}>${ie}</span>`},re.strong=z=>`<strong ${j("strong")}>${z}</strong>`,re.em=z=>`<span style="font-style: italic;">${z}</span>`,re.table=(z,oe)=>`<section style="padding:0 8px;"><table class="preview-table"><thead ${j("thead")}>${z}</thead><tbody>${oe}</tbody></table></section>`,re.tablecell=(z,oe)=>`<td ${j("td")}>${z}</td>`,re.hr=()=>`<hr ${j("hr")}>`,re}}}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=`/*
|
|||
|
按Ctrl/Command+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$b={},types$1={};Object.defineProperty(types$1,"__esModule",{value:!0});var load={},options={},__assign$b=commonjsGlobal&&commonjsGlobal.__assign||function(){return __assign$b=Object.assign||function(e){for(var t,n=1,y=arguments.length;n<y;n++){t=arguments[n];for(var k in t)Object.prototype.hasOwnProperty.call(t,k)&&(e[k]=t[k])}return e},__assign$b.apply(this,arguments)};Object.defineProperty(options,"__esModule",{value:!0});options.flatten=void 0;var defaultOpts$1={xml:!1,decodeEntities:!0};options.default=defaultOpts$1;var xmlModeDefault={_useHtmlParser2:!0,xmlMode:!0};function flatten(e){return e!=null&&e.xml?typeof e.xml=="boolean"?xmlModeDefault:__assign$b(__assign$b({},xmlModeDefault),e.xml):e??void 0}options.flatten=flatten;var _static={},lib$a={},stringify$4={},lib$9={},lib$8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(y){y.Root="root",y.Text="text",y.Directive="directive",y.Comment="comment",y.Script="script",y.Style="style",y.Tag="tag",y.CDATA="cdata",y.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function n(y){return y.type===t.Tag||y.type===t.Script||y.type===t.Style}e.isTag=n,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})(lib$8);var node={},__extends$5=commonjsGlobal&&commonjsGlobal.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,k){y.__proto__=k}||function(y,k){for(var L in k)Object.prototype.hasOwnProperty.call(k,L)&&(y[L]=k[L])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function y(){this.constructor=t}t.prototype=n===null?Object.create(n):(y.prototype=n.prototype,new y)}}(),__assign$a=commonjsGlobal&&commonjsGlobal.__assign||function(){return __assign$a=Object.assign||function(e){for(var t,n=1,y=arguments.length;n<y;n++){t=arguments[n];for(var k in t)Object.prototype.hasOwnProperty.call(t,k)&&(e[k]=t[k])}return e},__assign$a.apply(this,arguments)};Object.defineProperty(node,"__esModule",{value:!0});node.cloneNode=node.hasChildren=node.isDocument=node.isDirective=node.isComment=node.isText=node.isCDATA=node.isTag=node.Element=node.Document=node.CDATA=node.NodeWithChildren=node.ProcessingInstruction=node.Comment=node.Text=node.DataNode=node.Node=void 0;var domelementtype_1$1=lib$8,Node$1=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){return t===void 0&&(t=!1),cloneNode(this,t)},e}();node.Node=Node$1;var DataNode=function(e){__extends$5(t,e);function t(n){var y=e.call(this)||this;return y.data=n,y}return Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(n){this.data=n},enumerable:!1,configurable:!0}),t}(Node$1);node.DataNode=DataNode;var Text=function(e){__extends$5(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=domelementtype_1$1.ElementType.Text,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(DataNode);node.Text=Text;var Comment=function(e){__extends$5(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=domelementtype_1$1.ElementType.Comment,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configu
|
|||
|
`:getText(e.children):(0,domhandler_1$7.isCDATA)(e)?getText(e.children):(0,domhandler_1$7.isText)(e)?e.data:""}stringify$4.getText=getText;function textContent(e){return Array.isArray(e)?e.map(textContent).join(""):(0,domhandler_1$7.hasChildren)(e)&&!(0,domhandler_1$7.isComment)(e)?textContent(e.children):(0,domhandler_1$7.isText)(e)?e.data:""}stringify$4.textContent=textContent;function innerText(e){return Array.isArray(e)?e.map(innerText).join(""):(0,domhandler_1$7.hasChildren)(e)&&(e.type===domelementtype_1.ElementType.Tag||(0,domhandler_1$7.isCDATA)(e))?innerText(e.children):(0,domhandler_1$7.isText)(e)?e.data:""}stringify$4.innerText=innerText;var traversal={};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 domhandler_1$6=lib$9;function getChildren(e){return(0,domhandler_1$6.hasChildren)(e)?e.children:[]}traversal.getChildren=getChildren;function getParent(e){return e.parent||null}traversal.getParent=getParent;function getSiblings(e){var t,n,y=getParent(e);if(y!=null)return getChildren(y);for(var k=[e],L=e.prev,j=e.next;L!=null;)k.unshift(L),t=L,L=t.prev;for(;j!=null;)k.push(j),n=j,j=n.next;return k}traversal.getSiblings=getSiblings;function getAttributeValue(e,t){var n;return(n=e.attribs)===null||n===void 0?void 0:n[t]}traversal.getAttributeValue=getAttributeValue;function hasAttrib(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}traversal.hasAttrib=hasAttrib;function getName(e){return e.name}traversal.getName=getName;function nextElementSibling(e){for(var t,n=e.next;n!==null&&!(0,domhandler_1$6.isTag)(n);)t=n,n=t.next;return n}traversal.nextElementSibling=nextElementSibling;function prevElementSibling(e){for(var t,n=e.prev;n!==null&&!(0,domhandler_1$6.isTag)(n);)t=n,n=t.prev;return n}traversal.prevElementSibling=prevElementSibling;var manipulation$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 removeElement(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}manipulation$1.removeElement=removeElement;function replaceElement(e,t){var n=t.prev=e.prev;n&&(n.next=t);var y=t.next=e.next;y&&(y.prev=t);var k=t.parent=e.parent;if(k){var L=k.children;L[L.lastIndexOf(e)]=t,e.parent=null}}manipulation$1.replaceElement=replaceElement;function appendChild(e,t){if(removeElement(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null}manipulation$1.appendChild=appendChild;function append(e,t){removeElement(t);var n=e.parent,y=e.next;if(t.next=y,t.prev=e,e.next=t,t.parent=n,y){if(y.prev=t,n){var k=n.children;k.splice(k.lastIndexOf(y),0,t)}}else n&&n.children.push(t)}manipulation$1.append=append;function prependChild(e,t){if(removeElement(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){var n=e.children[1];n.prev=t,t.next=n}else t.next=null}manipulation$1.prependChild=prependChild;function prepend(e,t){removeElement(t);var n=e.parent;if(n){var y=n.children;y.splice(y.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}manipulation$1.prepend=prepend;var querying={};Object.defineProperty(querying,"__esModule",{value:!0});querying.findAll=querying.existsOne=querying.findOne=querying.findOneChild=querying.find=querying.filter=void 0;var domhandler_1$5=lib$9;function filter$3(e,t,n,y){return n===void 0&&(n=!0),y===void 0&&(y=1/0),find$1(e,Array.isArray(t)?t:[t],n,y)}querying.filter=filter$3;function find$1(e,t,n,y){for(var k=[],L=[t],j=[0];;){if(j[0]>=L[0].length){if(j.length===1)return k;L.shift(),j.shift();continue}var $=L[0][j[0]++];if(e($)&&(k.push($),--y<=0))return
|
|||
|
: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])"};var subselects={};(function(e){var t=commonjsGlobal&&commonjsGlobal.__spreadArray||function(re,z,oe){if(oe||arguments.length===2)for(var ie=0,le=z.length,ue;ie<le;ie++)(ue||!(ie in z))&&(ue||(ue=Array.prototype.slice.call(z,0,ie)),ue[ie]=z[ie]);return re.concat(ue||Array.prototype.slice.call(z))},n=commonjsGlobal&&commonjsGlobal.__importDefault||function(re){return re&&re.__esModule?re:{default:re}};Object.defineProperty(e,"__esModule",{value:!0}),e.subselects=e.getNextSiblings=e.ensureIsTag=e.PLACEHOLDER_ELEMENT=void 0;var y=n(boolbase),k=sort;e.PLACEHOLDER_ELEMENT={};function L(re,z){return re===y.default.falseFunc?y.default.falseFunc:function(oe){return z.isTag(oe)&&re(oe)}}e.ensureIsTag=L;function j(re,z){var oe=z.getSiblings(re);if(oe.length<=1)return[];var ie=oe.indexOf(re);return ie<0||ie===oe.length-1?[]:oe.slice(ie+1).filter(z.isTag)}e.getNextSiblings=j;function $(re){return{xmlMode:!!re.xmlMode,lowerCaseAttributeNames:!!re.lowerCaseAttributeNames,lowerCaseTags:!!re.lowerCaseTags,quirksMode:!!re.quirksMode,cacheResults:!!re.cacheResults,pseudos:re.pseudos,adapter:re.adapter,equals:re.equals}}var V=function(re,z,oe,ie,le){var ue=le(z,$(oe),ie);return ue===y.default.trueFunc?re:ue===y.default.falseFunc?y.default.falseFunc:function(de){return ue(de)&&re(de)}};e.subselects={is:V,matches:V,where:V,not:function(re,z,oe,ie,le){var ue=le(z,$(oe),ie);return ue===y.default.falseFunc?re:ue===y.default.trueFunc?y.default.falseFunc:function(de){return!ue(de)&&re(de)}},has:function(re,z,oe,ie,le){var ue=oe.adapter,de=$(oe);de.relativeSelector=!0;var Ne=z.some(function(Fe){return Fe.some(k.isTraversal)})?[e.PLACEHOLDER_ELEMENT]:void 0,pe=le(z,de,Ne);if(pe===y.default.falseFunc)return y.default.falseFunc;var _e=L(pe,ue);if(Ne&&pe!==y.default.trueFunc){var he=pe.shouldTestNextSiblings,Ce=he===void 0?!1:he;return function(Fe){if(!re(Fe))return!1;Ne[0]=Fe;var $e=ue.getChildren(Fe),Lt=Ce?t(t([],$e,!0),j(Fe,ue),!0):$e;return ue.existsOne(_e,Lt)}}return function(Fe){return re(Fe)&&ue.existsOne(_e,ue.getChildren(Fe))}}}})(subselects);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.compilePseudoSelector=e.aliases=e.pseudos=e.filters=void 0;var t=require$$0$2,n=filters;Object.defineProperty(e,"filters",{enumerable:!0,get:function(){return n.filters}});var y=pseudos;Object.defineProperty(e,"pseudos",{enumerable:!0,get:function(){return y.pseudos}});var k=aliases;Object.defineProperty(e,"aliases",{enumerable:!0,get:function(){return k.aliases}});var L=subselects;function j($,V,re,z,oe){var ie,le=V.name,ue=V.data;if(Array.isArray(ue)){if(!(le in L.subselects))throw new Error("Unknown pseudo-class :".concat(le,"(").concat(ue,")"));return L.subselects[le]($,ue,re,z,oe)}var de=(ie=re.pseudos)===null||ie===void 0?void 0:ie[le],Ne=typeof de=="string"?de:k.aliases[le];if(typeof Ne=="string"){if(ue!=null)throw new Error("Pseudo ".concat(le," doesn't have any arguments"));var pe=(0,t.parse)(Ne);return L.subselects.is($,pe,re,z,oe)}if(typeof de=="function")return(0,y.verifyPseudoArgs)(de,le,ue,1),function(he){return de(he,ue)&&$(he)};if(le in n.filters)return n.filters[le]($,ue,re,z);if(le in y.pseudos){var _e=y.pseudos[le];return(0,y.verifyPseudoArgs)(_e,le,ue,2),function(he){return _e(he,re,ue)&&$(he)}}throw new Error("Unknown pseudo-class :".concat(le))}e.compilePseudoSelector=j})(pseudoSelectors);Object.defineProperty(general,"__esModule",{value:!0});general.c
|
|||
|
* The buffer module from node.js, for the browser.
|
|||
|
*
|
|||
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|||
|
* @license MIT
|
|||
|
*/(function(e){const t=base64Js$1,n=ieee754$1,y=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=z,e.SlowBuffer=Fe,e.INSPECT_MAX_BYTES=50;const k=2147483647;e.kMaxLength=k;const{Uint8Array:L,ArrayBuffer:j,SharedArrayBuffer:$}=globalThis;z.TYPED_ARRAY_SUPPORT=V(),!z.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 Rn=new L(1),Lr={foo:function(){return 42}};return Object.setPrototypeOf(Lr,L.prototype),Object.setPrototypeOf(Rn,Lr),Rn.foo()===42}catch{return!1}}Object.defineProperty(z.prototype,"parent",{enumerable:!0,get:function(){if(z.isBuffer(this))return this.buffer}}),Object.defineProperty(z.prototype,"offset",{enumerable:!0,get:function(){if(z.isBuffer(this))return this.byteOffset}});function re(Rn){if(Rn>k)throw new RangeError('The value "'+Rn+'" is invalid for option "size"');const Lr=new L(Rn);return Object.setPrototypeOf(Lr,z.prototype),Lr}function z(Rn,Lr,Er){if(typeof Rn=="number"){if(typeof Lr=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ue(Rn)}return oe(Rn,Lr,Er)}z.poolSize=8192;function oe(Rn,Lr,Er){if(typeof Rn=="string")return de(Rn,Lr);if(j.isView(Rn))return pe(Rn);if(Rn==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Rn);if(Hi(Rn,j)||Rn&&Hi(Rn.buffer,j)||typeof $<"u"&&(Hi(Rn,$)||Rn&&Hi(Rn.buffer,$)))return _e(Rn,Lr,Er);if(typeof Rn=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const vn=Rn.valueOf&&Rn.valueOf();if(vn!=null&&vn!==Rn)return z.from(vn,Lr,Er);const En=he(Rn);if(En)return En;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Rn[Symbol.toPrimitive]=="function")return z.from(Rn[Symbol.toPrimitive]("string"),Lr,Er);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Rn)}z.from=function(Rn,Lr,Er){return oe(Rn,Lr,Er)},Object.setPrototypeOf(z.prototype,L.prototype),Object.setPrototypeOf(z,L);function ie(Rn){if(typeof Rn!="number")throw new TypeError('"size" argument must be of type number');if(Rn<0)throw new RangeError('The value "'+Rn+'" is invalid for option "size"')}function le(Rn,Lr,Er){return ie(Rn),Rn<=0?re(Rn):Lr!==void 0?typeof Er=="string"?re(Rn).fill(Lr,Er):re(Rn).fill(Lr):re(Rn)}z.alloc=function(Rn,Lr,Er){return le(Rn,Lr,Er)};function ue(Rn){return ie(Rn),re(Rn<0?0:Ce(Rn)|0)}z.allocUnsafe=function(Rn){return ue(Rn)},z.allocUnsafeSlow=function(Rn){return ue(Rn)};function de(Rn,Lr){if((typeof Lr!="string"||Lr==="")&&(Lr="utf8"),!z.isEncoding(Lr))throw new TypeError("Unknown encoding: "+Lr);const Er=$e(Rn,Lr)|0;let vn=re(Er);const En=vn.write(Rn,Lr);return En!==Er&&(vn=vn.slice(0,En)),vn}function Ne(Rn){const Lr=Rn.length<0?0:Ce(Rn.length)|0,Er=re(Lr);for(let vn=0;vn<Lr;vn+=1)Er[vn]=Rn[vn]&255;return Er}function pe(Rn){if(Hi(Rn,L)){const Lr=new L(Rn);return _e(Lr.buffer,Lr.byteOffset,Lr.byteLength)}return Ne(Rn)}function _e(Rn,Lr,Er){if(Lr<0||Rn.byteLength<Lr)throw new RangeError('"offset" is outside of buffer bounds');if(Rn.byteLength<Lr+(Er||0))throw new RangeError('"length" is outside of buffer bounds');let vn;return Lr===void 0&&Er===void 0?vn=new L(Rn):Er===void 0?vn=new L(Rn,Lr):vn=new L(Rn,Lr,Er),Object.setPrototypeOf(vn,z.prototype),vn}function he(Rn){if(z.isBuffer(Rn)){const Lr=Ce(Rn.length)|0,Er=re(Lr);return Er.length===0||Rn.copy(Er,0,0,Lr),Er}if(Rn.length!==void 0)return typeof Rn.length!="number"||bo(Rn.length)?re(0):Ne(Rn);if(Rn.type==="Buffer"&&Array.isArray(Rn.data))return Ne(Rn.data)}function Ce(Rn){if(Rn>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return Rn|0}function Fe(Rn){return+Rn!=Rn&&(Rn=0),z.alloc(+Rn)}z.isBuffer=function(Lr){return
|
|||
|
`)}}):{name:L,value:j.replace(rCRLF,`\r
|
|||
|
`)}}).toArray()}forms.serializeArray=serializeArray;var __createBinding$2=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(e,t,n,y){y===void 0&&(y=n);var k=Object.getOwnPropertyDescriptor(t,n);(!k||("get"in k?!t.__esModule:k.writable||k.configurable))&&(k={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,y,k)}:function(e,t,n,y){y===void 0&&(y=n),e[y]=t[n]}),__setModuleDefault$2=commonjsGlobal&&commonjsGlobal.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),__importStar$2=commonjsGlobal&&commonjsGlobal.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&__createBinding$2(t,e,n);return __setModuleDefault$2(t,e),t};Object.defineProperty(cheerio$1,"__esModule",{value:!0});cheerio$1.Cheerio=void 0;var Attributes=__importStar$2(attributes$2),Traversing=__importStar$2(traversing),Manipulation=__importStar$2(manipulation),Css=__importStar$2(css$2),Forms=__importStar$2(forms),Cheerio=function(){function e(t,n,y){if(this.length=0,this.options=y,this._root=n,t){for(var k=0;k<t.length;k++)this[k]=t[k];this.length=t.length}}return e}();cheerio$1.Cheerio=Cheerio;Cheerio.prototype.cheerio="[cheerio object]";Cheerio.prototype.splice=Array.prototype.splice;Cheerio.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator];Object.assign(Cheerio.prototype,Attributes,Traversing,Manipulation,Css,Forms);var __extends$4=commonjsGlobal&&commonjsGlobal.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,k){y.__proto__=k}||function(y,k){for(var L in k)Object.prototype.hasOwnProperty.call(k,L)&&(y[L]=k[L])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function y(){this.constructor=t}t.prototype=n===null?Object.create(n):(y.prototype=n.prototype,new y)}}(),__assign$7=commonjsGlobal&&commonjsGlobal.__assign||function(){return __assign$7=Object.assign||function(e){for(var t,n=1,y=arguments.length;n<y;n++){t=arguments[n];for(var k in t)Object.prototype.hasOwnProperty.call(t,k)&&(e[k]=t[k])}return e},__assign$7.apply(this,arguments)},__createBinding$1=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(e,t,n,y){y===void 0&&(y=n);var k=Object.getOwnPropertyDescriptor(t,n);(!k||("get"in k?!t.__esModule:k.writable||k.configurable))&&(k={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,y,k)}:function(e,t,n,y){y===void 0&&(y=n),e[y]=t[n]}),__setModuleDefault$1=commonjsGlobal&&commonjsGlobal.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),__importStar$1=commonjsGlobal&&commonjsGlobal.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&__createBinding$1(t,e,n);return __setModuleDefault$1(t,e),t};Object.defineProperty(load,"__esModule",{value:!0});load.getLoad=void 0;var options_js_1=__importStar$1(options),staticMethods=__importStar$1(_static),cheerio_js_1=cheerio$1,utils_js_1=utils$4;function getLoad(e,t){return function n(y,k,L){if(L===void 0&&(L=!0),y==null)throw new Error("cheerio.load() expects a string");var j=__assign$7(__assign$7({},options_js_1.default),(0,options_js_1.flatten)(k)),$=e(y,j,L,null),V=function(z){__extends$4(oe,z);function oe(){return z!==null&&z.apply(this,arguments)||this}return oe.prototype._make=function(ie,le){var ue=re(ie,le);return ue.prevObject=this,ue},oe.prototype._parse=function(ie,le,ue,de){return e(ie,le,ue,de)},oe.prototype._render=function(ie){return t(ie,this.options)},oe}(cheerio_js_1.Cheerio);function re(z,oe,ie,le){if(ie===void 0&&(ie=$),z&&(0,utils_js_1.isCheerio)(z))return z;var ue=__assign$7(__assign$7({},j),(0,options_js_1.flatten)(le)),de=typeof ie=="string"?[e(ie,ue,!1,null)]:"length"in ie?ie:[ie]
|
|||
|
`)}})(debug);var debugExports=debug.exports;(function(e,t){debugExports("lex"),e.exports=n;function n(y){var k="",L,j=0,$=-1,V=0,re=1,z="before-selector",oe=[z],ie={},le=[],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 Et(),y[$]}function Ne(lr){return lr?oe[oe.length-1-lr]:z}function pe(lr){var hr=$+1;return lr===y.slice(hr,hr+lr.length)}function _e(lr){var hr=y.slice($).indexOf(lr);return hr>0?hr:!1}function he(lr){return lr===Ce(1)}function Ce(lr){return y[$+(lr||1)]}function Fe(){var lr=oe.pop();return z=oe[oe.length-1],lr}function $e(lr){return z=lr,oe.push(z),oe.length}function Lt(lr){var hr=z;return oe[oe.length-1]=z=lr,hr}function Et(lr){if((lr||1)==1)y[$]==`
|
|||
|
`?(re++,j=1):j++,$++;else{var hr=y.slice($,$+lr).split(`
|
|||
|
`);hr.length>1&&(re+=hr.length-1,j=1),j+=hr[hr.length-1].length,$=$+lr}}function Ue(){ie.end={line:re,col:j},le.push(ie),k="",ie={}}function qe(lr){ie={type:lr,start:{line:re,col:j}}}for(;L=de();)switch(L){case" ":switch(Ne()){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(Ne()){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===`
|
|||
|
`&&(ie.value=k.trim(),Ue(),Fe());break}break;case":":switch(Ne()){case"name":ie.name=k.trim(),k="",Lt("before-value");break;case"before-selector":k+=L,qe("selector"),$e("selector");break;case"before-value":Lt("value"),k+=L;break;default:k+=L;break}break;case";":switch(Ne()){case"name":case"before-value":case"value":k.trim().length>0&&(ie.value=k.trim(),Ue()),Lt("before-name");break;case"value-paren":k+=L;break;case"at-value":ie.value=k.trim(),Ue(),Fe();break;case"before-name":break;default:k+=L;break}break;case"{":switch(Ne()){case"selector":if(Ce(-1)==="\\"){k+=L;break}ie.text=k.trim(),Ue(),Lt("before-name"),V=V+1;break;case"at-group":switch(ie.name=k.trim(),ie.type){case"font-face":case"viewport":case"page":$e("before-name");break;default:$e("before-selector")}Ue(),V=V+1;break;case"name":case"at-rule":ie.name=k.trim(),Ue(),$e("before-name"),V=V+1;break;case"comment":case"double-string":case"single-string":k+=L;break;case"before-value":Lt("value"),k+=L;break}break;case"}":switch(Ne()){case"before-name":case"name":case"before-value":case"value":k&&(ie.value=k.trim()),ie.name&&ie.value&&Ue(),qe("end"),Ue(),Fe(),Ne()==="at-group"&&(qe("at-group-end"),Ue(),Fe()),V>0&&(V=V-1);break;case"at-group":case"before-selector":case"selector":if(Ce(-1)==="\\"){k+=L;break}V>0&&Ne(1)==="at-group"&&(qe("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(Ne()){case"double-string":L==='"'&&Ce(-1)!=="\\"&&Fe();break;case"single-string":L==="'"&&Ce(-1)!=="\\"&&Fe();break;case"before-at-value":Lt("at-value"),$e(L==='"'?"double-string":"single-string");break;case"before-value":Lt("value"),$e(L==='"'?"double-string":"single-string");break;case"comment":break;default:Ce(-1)!=="\\"&&$e(L==='"'?"double-string":"single-string")}k+=L;break;case"/":switch(Ne()){case"comment":case"double-string":case"single-string":k+=L;break;case"before-value":case"selector":case"name":case"value":if(he("*")){var Ve=_e("*/");Ve&&Et(Ve+1)}else Ne()=="before-value"&&Lt("value"),k+=L;break;default:he("*")?(qe("comment"),$e("comment"),Et()):k+=L;break}break;case"*":switch(Ne()){case"comment":he("/")?(ie.text=k,Et(),Ue(),Fe()):k+=L;break;case"before-selector":k+=L,qe("selector"),$e("selector");break;case"before-value":Lt("value"),k+=L;break;default:k+=L}break;case"@":switch(Ne()){case"comment":case"double-string":case"single-string":k+=L;break;case"before-value":Lt("value"),k+=L;break;default:for(var jt=!1,tr,ir,rr=0,or=ue.length;!jt&&rr<or;++rr)ir=ue[rr],tr=ir.name||ir,pe(tr)&&(jt=!0,qe(tr),$e(ir.state||"at-group"),Et(tr.length),ir.prefix&&(ie.prefix=ir.prefix),ir.type&&(ie.type=ir.type));jt||(k+=L);break}break;case"(":switch(Ne()){case"value":$e("value-paren");break;case"before-value":Lt("value");break}k+=L;break;case")":switch(Ne()){case"value-paren":Fe();break;case"before-value":Lt("value");break}k+=L;break;default:switch(Ne()){case"before-selector":qe("selector"),$e("selector");break;case"before-name":qe("property"),Lt("name");break;case"before-value":Lt("value");break;case"before-at-value":Lt("at-value");break}k+=L;break}return le}})(lexer);var lexerExports=lexer.exports,parser$2={exports:{}};(function(e,t){debugExports("parse");var n=lexerExports;e.exports=$;var y,k,L,j;function $(Fe,$e){$e||($e={}),y=!!$e.comments,L=!!$e.position,k=0,j=Array.isArray(Fe)?Fe.slice():n(Fe);for(var Lt,Et=[],Ue;Ue=re();)Lt=pe(Ue),Lt&&Et.push(Lt);return{type:"stylesheet",stylesheet:{rules:Et}}}function V(Fe,$e){$e||($e={});for(var Lt,Et=["type","name","value"],Ue={},qe=0;qe<Et.length;++qe)Lt=Et[qe],Fe[Lt]&&(Ue[Lt]=$e[Lt]||Fe[Lt]);for(Et=Object.keys($e),qe=0;qe<Et.length;++qe)Lt=Et[qe],Ue[Lt]||(Ue[Lt]=$e[Lt]);return L&&(Ue.position={start:Fe.start,end:Fe.end}),Ue}function re(){var Fe=j.shift();return Fe}function z(Fe){k=k+1;var $e={};switch(Fe.type){case"font-face":case"viewport":$e.declarations=he();break;case"page":$e.prefix=Fe.prefix,$e.declarations=he();break;default:$e.prefix=Fe.prefix,$e.rules=Ce()}return V(Fe,$e)}function oe(Fe){return V(Fe)}function ie(Fe){return V(Fe)}function le(Fe){re
|
|||
|
`,$=" ");var $e=ue(Ce.stylesheet.rules,_e).join(`
|
|||
|
`).trim();return $e}function re(Ce){if(Ce){L+=Ce;return}return y?"":Array(L).join(k||"")}function z(Ce){return"@"+Ce.type+" "+Ce.value+";"+j}function oe(Ce){var Fe="",$e=Ce.prefix||"";Ce.name&&(Fe=" "+Ce.name);var Lt=Ce.type!=="page";return"@"+$e+Ce.type+Fe+$+de(Ce,Lt)+j}function ie(Ce){return n?"/*"+(Ce.text||"")+"*/"+j:""}function le(Ce){var Fe;return Ce.selectors?Fe=Ce.selectors.join(","+j):(Fe="@"+Ce.type,Fe+=Ce.name?" "+Ce.name:""),re()+Fe+$+de(Ce)+j}function ue(Ce,Fe){return Ce.reduce(function($e,Lt){var Et=Lt.type==="comment"?ie(Lt):Fe(Lt);return Et&&$e.push(Et),$e},[])}function de(Ce,Fe){var $e=Ce.declarations,Lt=pe;return Ce.rules&&($e=Ce.rules,Lt=le),$e=Ne($e,Lt),$e&&($e=j+$e+(Fe?"":j)),"{"+$e+re()+"}"}function Ne(Ce,Fe){if(!Ce)return"";re(1);var $e=ue(Ce,Fe);return re(-1),$e.length?$e.join(j):""}function pe(Ce){if(Ce.type==="property")return he(Ce)}function _e(Ce){switch(Ce.type){case"rule":return le(Ce);case"media":case"keyframes":return oe(Ce);case"comment":return ie(Ce);case"import":case"charset":case"namespace":return z(Ce);case"font-face":case"supports":case"viewport":case"document":case"page":return oe(Ce)}}function he(Ce){var Fe=Ce.name?Ce.name+":"+$:"";return re()+Fe+Ce.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,n;if(e+=this.tag||"*",this.id&&(e+="#"+this.id),this.classes&&(e+="."+this.classList.join(".")),this.attributes)for(t=0;n=this.attributes[t++];)e+="["+n.name+(n.operator?n.operator+'"'+n.value+'"':"")+"]";if(this.pseudos)for(t=0;n=this.pseudos[t++];)e+=":"+n.name,n.value&&(e+="("+n.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,n;n=this[t++];)t!==1&&(e+=" "),n.combinator!==" "&&(e+=n.combinator+" "),e+=n;this.raw=e}return this.raw};var replacer=function(e,t,n,y,k,L,j,$,V,re,z,oe,ie,le,ue,de){var Ne,pe;if((t||!this.length)&&(Ne=this[this.length++]=new Expression,t))return"";if(Ne||(Ne=this[this.length-1]),(n||y||!Ne.length)&&(pe=Ne[Ne.length++]=new Part(n)),pe||(pe=Ne[Ne.length-1]),k)pe.tag=unescape$1(k);else if(L)pe.id=unescape$1(L);else if(j){var _e=unescape$1(j),he=pe.classes||(pe.classes={});if(!he[_e]){he[_e]=escape$1(j);var Ce=pe.classList||(pe.classList=[]);Ce.push(_e),Ce.sort()}}else ie?(de=de||ue,(pe.pseudos||(pe.pseudos=[])).push({type:oe.length==1?"class":"element",name:unescape$1(ie),escapedName:escape$1(ie),value:de?unescape$1(de):null,escapedValue:de?escape$1(de):null})):$&&(z=z?escape$1(z):null,(pe.attributes||(pe.attributes=[])).push({operator:V,name:unescape$1($),escapedName:escape$1($),value:z?unescape$1(z):null,escapedValue:z?escape$1(z):null}));return""},Expressions=function(t){this.length=0;for(var n=this,y=t,k;t;){if(k=t.replace(slickRe,function(){return replacer.apply(n,arguments)}),k===t)throw new Error(y+" is an invalid expression");t=k}};Expressions.prototype.toString=function(){if(!this.raw){for(var e=[],t=0,n;n=this[t++];)e.push(n);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 n=parser$1;e.exports=y;function y(L,j){this.text=L,this.spec=v
|
|||
|
* 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 j=0,$=[],V="",re=0,z=L.length;re<z;re++){var oe=L.charAt(re);j?((oe==="]"||oe===")")&&j--,V+=oe):oe===","?($.push(V),V=""):((oe==="["||oe==="(")&&j++,(V.length||oe!==","&&oe!==`
|
|||
|
`&&oe!==" ")&&(V+=oe))}return V.length&&$.push(V),$},e.parseCSS=function(k){for(var L=t.parse(k,{position:!0,comments:!0}),j=typeof L.stylesheet<"u"&&L.stylesheet.rules?L.stylesheet.rules:[],$=[],V=0,re=j.length;V<re;V++)if(j[V].type=="rule")for(var z=j[V],oe=z.selectors,ie=0,le=oe.length;ie<le;ie++)$.push([oe[ie],z.declarations]);return $},e.getPreservedText=function(k,L,j){for(var $=t.parse(k,{position:!0,comments:!0}),V=typeof $.stylesheet<"u"&&$.stylesheet.rules?$.stylesheet.rules:[],re=[],z=V.length-1;z>=0;z--)(L.fontFaces&&V[z].type==="font-face"||L.mediaQueries&&V[z].type==="media"||L.keyFrames&&V[z].type==="keyframes"||L.pseudos&&V[z].selectors&&this.matchesPseudo(V[z].selectors[0],j))&&re.unshift(t.stringify({stylesheet:{rules:[V[z]]}},{comments:!1,indentation:" "})),V[z].position.start;return re.length===0?!1:`
|
|||
|
`+re.join(`
|
|||
|
`)+`
|
|||
|
`},e.normalizeLineEndings=function(k){return k.replace(/\r\n/g,`
|
|||
|
`).replace(/\n/g,`\r
|
|||
|
`)},e.matchesPseudo=function(k,L){return L.find(function(j){return k.indexOf(j)>-1})},e.compareFunc=function(k,L){for(var j=Math.min(k.length,L.length),$=0;$<j;$++)if(k[$]!==L[$])return k[$]>L[$]?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,resolveCSSVariables:!0,url:""},k);return L.webResources=L.webResources||{},L}}(utils$3)),utils$3}(function(e){var t=lib$b;requireUtils();var n=function(k,L,j){return L=Object.assign({decodeEntities:!1,_useHtmlParser2:!0},L),k=j(k),t.load(k,L)},y=function(){var k=[],L=function($){var V=e.exports.codeBlocks;return Object.keys(V).forEach(function(re){var z=new RegExp(V[re].start+"([\\S\\s]*?)"+V[re].end,"g");$=$.replace(z,function(oe,ie){return k.push(oe),"JUICE_CODE_BLOCK_"+(k.length-1)+"_"})}),$},j=function($){for(var V=0;V<k.length;V++){var re=new RegExp("JUICE_CODE_BLOCK_"+V+'_(="")?',"gi");$=$.replace(re,function(){return k[V]})}return $};return{encodeEntities:L,decodeEntities:j}};e.exports=function(k,L,j,$){var V=y(),re=n(k,L,V.encodeEntities),z=[re];z.push.apply(z,$);var oe=j.apply(void 0,z)||re;return L&&L.xmlMode?V.decodeEntities(oe.xml()):V.decodeEntities(oe.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(""),n=["","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"],y="",k=3;k--;)y=(n[+t.pop()+k*10]||"")+y;return Array(+t.join("")+1).join("M")+y};numbers$1.alphanumeric=function(e){for(var t="",n;e>0;)n=(e-1)%26,t=String.fromCharCode(65+n)+t,e=(e-n)/26|0;return t||void 0};const uniqueString=e=>{let t="";do t=(Math.random()+1).toString(36).substring(2);while(e.indexOf(t)!==-1);return t},replaceVariables=(e,t)=>{let n=/([a-z\-]+)\s*\(\s*([^\(\)]*?)\s*(?:,\s*([^\(\)]*?)\s*)?\s*\)/i,y=[],k,L=uniqueString(t);for(;(k=n.exec(t))!==null;){let $=`${y.length}`;if(k[1].toLowerCase()=="var"){const re=findVariableValue(e,k[2]);if(re){t=t.replace(k[0],re);continue}if(k[3]){t=t.replace(k[0],k[3]);continue}}let V=`${L}${$.padStart(5,"-")}`;t=t.replace(k[0],V),y.push({placeholder:V,replace:k[0]})}for(var j=y.length-1;j>=0;j--){const $=y[j];t=t.replace($.placeholder,$.replace)}return t},findVariableValue=(e,t)=>{for(;e;){if(e.styleProps&&t in e.styleProps)return e.styleProps[t].value;var e=e.pseudoElementParent||e.parent}};var variables$1={replaceVariables,findVariableValue},utils$2=requireUtils(),numbers=numbers$1,variables=variables$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=n;function n(ie,le,ue){ue=ue||{};var de=utils$2.parseCSS(le),Ne=[],pe="style",_e={};if(ue.styleAttributeName&&(pe=ue.styleAttributeName),de.forEach(Fe),Ne.forEach($e),ue.inlinePseudoElements&&Ne.forEach(Lt),ue.applyWidthAttributes&&Ne.forEach(function(Ve){Et(Ve,"width")}),ue.applyHeightAttributes&&Ne.forEach(function(Ve){Et(Ve,"height")}),ue.applyAttributesTableElements&&Ne.forEach(qe),ue.insertPreservedExtraCss&&ue.extraCss){var he=utils$2.getPreservedText(ue.extraCss,{mediaQueries:ue.preserveMediaQueries,fontFaces:ue.preserveFontFaces,keyFrames:ue.preserveKeyFrames});if(he){var Ce=null;ue.insertPreservedExtraCss!==!0?Ce=ie(ue.insertPres
|
|||
|
`+le.extraCss,n(ie,ue,le),ie}function z(ie,le){var ue=[],de=ie("style"),Ne,pe,_e;return de.each(function(){_e=this;var he=!!_e.childNodes;if(Ne=he?_e.childNodes:_e.children,Ne.length!==1){le.removeStyleTags&&ie(_e).remove();return}if(pe=Ne[0].data,le.applyStyleTags&&ie(_e).attr("data-embed")===void 0&&ue.push(pe),le.removeStyleTags&&ie(_e).attr("data-embed")===void 0){var Ce=he?_e.childNodes[0].nodeValue:_e.children[0].data,Fe=utils$2.getPreservedText(Ce,{mediaQueries:le.preserveMediaQueries,fontFaces:le.preserveFontFaces,keyFrames:le.preserveKeyFrames,pseudos:le.preservePseudos},t.ignoredPseudos);Fe?he?_e.childNodes[0].nodeValue=Fe:_e.children[0].data=Fe:ie(_e).remove()}ie(_e).removeAttr("data-embed")}),ue}function oe(ie,le){var ue=z(ie,le),de=ue.join(`
|
|||
|
`);return de}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,n){return cheerio(e,{xmlMode:n&&n.xmlMode},juiceClient.inlineDocument,[t,n])};juiceClient.codeBlocks=cheerio.codeBlocks;var client=juiceClient;const juice=getDefaultExportFromCjs(client);var standalone={exports:{}};(function(e,t){(function(n){e.exports=n()})(function(){var n=(Fn,Gr)=>()=>(Gr||Fn((Gr={exports:{}}).exports,Gr),Gr.exports),y=n((Fn,Gr)=>{var xn=function(Zn){return Zn&&Zn.Math==Math&&Zn};Gr.exports=xn(typeof globalThis=="object"&&globalThis)||xn(typeof window=="object"&&window)||xn(typeof self=="object"&&self)||xn(typeof commonjsGlobal=="object"&&commonjsGlobal)||function(){return this}()||Function("return this")()}),k=n((Fn,Gr)=>{Gr.exports=function(xn){try{return!!xn()}catch{return!0}}}),L=n((Fn,Gr)=>{var xn=k();Gr.exports=!xn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),j=n((Fn,Gr)=>{var xn=k();Gr.exports=!xn(function(){var Zn=(function(){}).bind();return typeof Zn!="function"||Zn.hasOwnProperty("prototype")})}),$=n((Fn,Gr)=>{var xn=j(),Zn=Function.prototype.call;Gr.exports=xn?Zn.bind(Zn):function(){return Zn.apply(Zn,arguments)}}),V=n(Fn=>{var Gr={}.propertyIsEnumerable,xn=Object.getOwnPropertyDescriptor,Zn=xn&&!Gr.call({1:2},1);Fn.f=Zn?function(di){var Ki=xn(this,di);return!!Ki&&Ki.enumerable}:Gr}),re=n((Fn,Gr)=>{Gr.exports=function(xn,Zn){return{enumerable:!(xn&1),configurable:!(xn&2),writable:!(xn&4),value:Zn}}}),z=n((Fn,Gr)=>{var xn=j(),Zn=Function.prototype,di=Zn.call,Ki=xn&&Zn.bind.bind(di,di);Gr.exports=xn?Ki:function(ki){return function(){return di.apply(ki,arguments)}}}),oe=n((Fn,Gr)=>{var xn=z(),Zn=xn({}.toString),di=xn("".slice);Gr.exports=function(Ki){return di(Zn(Ki),8,-1)}}),ie=n((Fn,Gr)=>{var xn=z(),Zn=k(),di=oe(),Ki=Object,ki=xn("".split);Gr.exports=Zn(function(){return!Ki("z").propertyIsEnumerable(0)})?function(Mo){return di(Mo)=="String"?ki(Mo,""):Ki(Mo)}:Ki}),le=n((Fn,Gr)=>{Gr.exports=function(xn){return xn==null}}),ue=n((Fn,Gr)=>{var xn=le(),Zn=TypeError;Gr.exports=function(di){if(xn(di))throw Zn("Can't call method on "+di);return di}}),de=n((Fn,Gr)=>{var xn=ie(),Zn=ue();Gr.exports=function(di){return xn(Zn(di))}}),Ne=n((Fn,Gr)=>{var xn=typeof document=="object"&&document.all,Zn=typeof xn>"u"&&xn!==void 0;Gr.exports={all:xn,IS_HTMLDDA:Zn}}),pe=n((Fn,Gr)=>{var xn=Ne(),Zn=xn.all;Gr.exports=xn.IS_HTMLDDA?function(di){return typeof di=="function"||di===Zn}:function(di){return typeof di=="function"}}),_e=n((Fn,Gr)=>{var xn=pe(),Zn=Ne(),di=Zn.all;Gr.exports=Zn.IS_HTMLDDA?function(Ki){return typeof Ki=="object"?Ki!==null:xn(Ki)||Ki===di}:function(Ki){return typeof Ki=="object"?Ki!==null:xn(Ki)}}),he=n((Fn,Gr)=>{var xn=y(),Zn=pe(),di=function(Ki){return Zn(Ki)?Ki:void 0};Gr.exports=function(Ki,ki){return arguments.length<2?di(xn[Ki]):xn[Ki]&&xn[Ki][ki]}}),Ce=n((Fn,Gr)=>{var xn=z();Gr.exports=xn({}.isPrototypeOf)}),Fe=n((Fn,Gr)=>{var xn=he();Gr.exports=xn("navigator","userAgent")||""}),$e=n((Fn,Gr)=>{var xn=y(),Zn=Fe(),di=xn.process,Ki=xn.Deno,ki=di&&di.versions||Ki&&Ki.version,Mo=ki&&ki.v8,Qa,Fo;Mo&&(Qa=Mo.split("."),Fo=Qa[0]>0&&Qa[0]<4?1:+(Qa[0]+Qa[1])),!Fo&&Zn&&(Qa=Zn.match(/Edge\/(\d+)/),(!Qa||Qa[1]>=74)&&(Qa=Zn.match(/Chrome\/(\d+)/),Qa&&(Fo=+Qa[1]))),Gr.exports=Fo}),Lt=n((Fn,Gr)=>{var xn=$e(),Zn=k();Gr.exports=!!Object.getOwnPropertySymbols&&!Zn(function(){var di=Symbol();return!String(di)||!(Object(di)instanceof Symbol)||!Symbol.sham&&xn&&xn<41})}),Et=n((Fn,Gr)=>{var xn=Lt();Gr.exports=xn&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Ue=n((Fn,Gr)=>{var xn=he(),Zn=pe(),di=Ce(),Ki=Et(),ki=Object;Gr.exports=Ki?function(Mo){return typeof Mo=="symbol"}:function(Mo){var Qa=xn("Symbol");return Zn(Qa)&&di(Qa.prototype,ki(Mo))}}),qe=n((Fn,Gr)=>{var xn=String;Gr.exports=function(Zn){try{return xn(Zn)}catch{return"Object"}}}),Ve=n((Fn,Gr)=>{var xn=pe(),Zn=qe(),di=TypeError;Gr.exports
|
|||
|
`?"crlf":"cr":"lf"}function An(Yr){switch(Yr){case"cr":return"\r";case"crlf":return`\r
|
|||
|
`;default:return`
|
|||
|
`}}function Sn(Yr,Kr){let kn;switch(Kr){case`
|
|||
|
`:kn=/\n/g;break;case"\r":kn=/\r/g;break;case`\r
|
|||
|
`:kn=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(Kr)}.`)}let Vn=Yr.match(kn);return Vn?Vn.length:0}function zr(Yr){return Yr.replace(/\r\n?/g,`
|
|||
|
`)}Mn.exports={guessEndOfLine:Hr,convertEndOfLineToChars:An,countEndOfLineChars:Sn,normalizeEndOfLine:zr}}}),ic=Eo({"src/utils/get-last.js"(Qr,Mn){hn();var Hr=An=>An[An.length-1];Mn.exports=Hr}});function kc(){let{onlyFirst:Qr=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Mn=["[\\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(Mn,Qr?void 0:"g")}var Zc=Bl({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){hn()}});function Yd(Qr){if(typeof Qr!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof Qr}\``);return Qr.replace(kc(),"")}var jp=Bl({"node_modules/strip-ansi/index.js"(){hn(),Zc()}});function sc(Qr){return Number.isInteger(Qr)?Qr>=4352&&(Qr<=4447||Qr===9001||Qr===9002||11904<=Qr&&Qr<=12871&&Qr!==12351||12880<=Qr&&Qr<=19903||19968<=Qr&&Qr<=42182||43360<=Qr&&Qr<=43388||44032<=Qr&&Qr<=55203||63744<=Qr&&Qr<=64255||65040<=Qr&&Qr<=65049||65072<=Qr&&Qr<=65131||65281<=Qr&&Qr<=65376||65504<=Qr&&Qr<=65510||110592<=Qr&&Qr<=110593||127488<=Qr&&Qr<=127569||131072<=Qr&&Qr<=262141):!1}var yd=Bl({"node_modules/is-fullwidth-code-point/index.js"(){hn()}}),Fc=Eo({"node_modules/emoji-regex/index.js"(Qr,Mn){hn(),Mn.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
|
|||
|
`)?ea(ui):ui)}function ea(Nn){let ui=arguments.length>1&&arguments[1]!==void 0?arguments[1]:An;return Sn(ui,Nn.split(`
|
|||
|
`)).parts}function Wn(Nn){if(Nn.type==="line")return!0}function Li(Nn){return pi(Nn,Wn,!1)}Mn.exports={isConcat:zr,getDocParts:Yr,willBreak:mi,traverseDoc:kn,findInDoc:pi,mapDoc:Vn,propagateBreaks:zn,removeLines:oa,stripTrailingHardline:da,normalizeParts:pa,normalizeDoc:Do,cleanDoc:Sa,replaceTextEndOfLine:ea,replaceEndOfLine:Kn,canBreak:Li}}}),Qf=Eo({"src/document/doc-printer.js"(Qr,Mn){hn();var{convertEndOfLineToChars:Hr}=bu(),An=ic(),Sn=Vp(),{fill:zr,cursor:Yr,indent:Kr}=tl(),{isConcat:kn,getDocParts:Vn}=dp(),pi,ii=1,mi=2;function Un(){return{value:"",length:0,queue:[]}}function zn(Xi,Sa){return oa(Xi,{type:"indent"},Sa)}function ji(Xi,Sa,pa){return Sa===Number.NEGATIVE_INFINITY?Xi.root||Un():Sa<0?oa(Xi,{type:"dedent"},pa):Sa?Sa.type==="root"?Object.assign(Object.assign({},Xi),{},{root:Xi}):oa(Xi,{type:typeof Sa=="string"?"stringAlign":"numberAlign",n:Sa},pa):Xi}function oa(Xi,Sa,pa){let Do=Sa.type==="dedent"?Xi.queue.slice(0,-1):[...Xi.queue,Sa],Kn="",ea=0,Wn=0,Li=0;for(let Ra of Do)switch(Ra.type){case"indent":vi(),pa.useTabs?Nn(1):ui(pa.tabWidth);break;case"stringAlign":vi(),Kn+=Ra.n,ea+=Ra.n.length;break;case"numberAlign":Wn+=1,Li+=Ra.n;break;default:throw new Error(`Unexpected type '${Ra.type}'`)}return Wi(),Object.assign(Object.assign({},Xi),{},{value:Kn,length:ea,queue:Do});function Nn(Ra){Kn+=" ".repeat(Ra),ea+=pa.tabWidth*Ra}function ui(Ra){Kn+=" ".repeat(Ra),ea+=Ra}function vi(){pa.useTabs?Vi():Wi()}function Vi(){Wn>0&&Nn(Wn),aa()}function Wi(){Li>0&&ui(Li),aa()}function aa(){Wn=0,Li=0}}function ca(Xi){if(Xi.length===0)return 0;let Sa=0;for(;Xi.length>0&&typeof An(Xi)=="string"&&/^[\t ]*$/.test(An(Xi));)Sa+=Xi.pop().length;if(Xi.length>0&&typeof An(Xi)=="string"){let pa=An(Xi).replace(/[\t ]*$/,"");Sa+=An(Xi).length-pa.length,Xi[Xi.length-1]=pa}return Sa}function Ui(Xi,Sa,pa,Do,Kn){let ea=Sa.length,Wn=[Xi],Li=[];for(;pa>=0;){if(Wn.length===0){if(ea===0)return!0;Wn.push(Sa[--ea]);continue}let{mode:Nn,doc:ui}=Wn.pop();if(typeof ui=="string")Li.push(ui),pa-=Sn(ui);else if(kn(ui)||ui.type==="fill"){let vi=Vn(ui);for(let Vi=vi.length-1;Vi>=0;Vi--)Wn.push({mode:Nn,doc:vi[Vi]})}else switch(ui.type){case"indent":case"align":case"indent-if-break":case"label":Wn.push({mode:Nn,doc:ui.contents});break;case"trim":pa+=ca(Li);break;case"group":{if(Kn&&ui.break)return!1;let vi=ui.break?ii:Nn,Vi=ui.expandedStates&&vi===ii?An(ui.expandedStates):ui.contents;Wn.push({mode:vi,doc:Vi});break}case"if-break":{let vi=(ui.groupId?pi[ui.groupId]||mi:Nn)===ii?ui.breakContents:ui.flatContents;vi&&Wn.push({mode:Nn,doc:vi});break}case"line":if(Nn===ii||ui.hard)return!0;ui.soft||(Li.push(" "),pa--);break;case"line-suffix":Do=!0;break;case"line-suffix-boundary":if(Do)return!1;break}}return!1}function da(Xi,Sa){pi={};let pa=Sa.printWidth,Do=Hr(Sa.endOfLine),Kn=0,ea=[{ind:Un(),mode:ii,doc:Xi}],Wn=[],Li=!1,Nn=[];for(;ea.length>0;){let{ind:vi,mode:Vi,doc:Wi}=ea.pop();if(typeof Wi=="string"){let aa=Do!==`
|
|||
|
`?Wi.replace(/\n/g,Do):Wi;Wn.push(aa),Kn+=Sn(aa)}else if(kn(Wi)){let aa=Vn(Wi);for(let Ra=aa.length-1;Ra>=0;Ra--)ea.push({ind:vi,mode:Vi,doc:aa[Ra]})}else switch(Wi.type){case"cursor":Wn.push(Yr.placeholder);break;case"indent":ea.push({ind:zn(vi,Sa),mode:Vi,doc:Wi.contents});break;case"align":ea.push({ind:ji(vi,Wi.n,Sa),mode:Vi,doc:Wi.contents});break;case"trim":Kn-=ca(Wn);break;case"group":switch(Vi){case mi:if(!Li){ea.push({ind:vi,mode:Wi.break?ii:mi,doc:Wi.contents});break}case ii:{Li=!1;let aa={ind:vi,mode:mi,doc:Wi.contents},Ra=pa-Kn,_o=Nn.length>0;if(!Wi.break&&Ui(aa,ea,Ra,_o))ea.push(aa);else if(Wi.expandedStates){let No=An(Wi.expandedStates);if(Wi.break){ea.push({ind:vi,mode:ii,doc:No});break}else for(let fo=1;fo<Wi.expandedStates.length+1;fo++)if(fo>=Wi.expandedStates.length){ea.push({ind:vi,mode:ii,doc:No});break}else{let Jo=Wi.expandedStates[fo],qa={ind:vi,mode:mi,doc:Jo};if(Ui(qa,ea,Ra,_o)){ea.push(qa);break}}}else ea.push({ind:vi,mode:ii,doc:Wi.contents});break}}Wi.id&&(pi[Wi.id]=An(ea).mode);break;case"fill":{let aa=pa-Kn,{parts:Ra}=Wi;if(Ra.length===0)break;let[_o,No]=Ra,fo={ind:vi,mode:mi,doc:_o},Jo={ind:vi,mode:ii,doc:_o},qa=Ui(fo,[],aa,Nn.length>0,!0);if(Ra.length===1){qa?ea.push(fo):ea.push(Jo);break}let ys={ind:vi,mode:mi,doc:No},Co={ind:vi,mode:ii,doc:No};if(Ra.length===2){qa?ea.push(ys,fo):ea.push(Co,Jo);break}Ra.splice(0,2);let no={ind:vi,mode:Vi,doc:zr(Ra)},rs=Ra[0];Ui({ind:vi,mode:mi,doc:[_o,No,rs]},[],aa,Nn.length>0,!0)?ea.push(no,ys,fo):qa?ea.push(no,Co,fo):ea.push(no,Co,Jo);break}case"if-break":case"indent-if-break":{let aa=Wi.groupId?pi[Wi.groupId]:Vi;if(aa===ii){let Ra=Wi.type==="if-break"?Wi.breakContents:Wi.negate?Wi.contents:Kr(Wi.contents);Ra&&ea.push({ind:vi,mode:Vi,doc:Ra})}if(aa===mi){let Ra=Wi.type==="if-break"?Wi.flatContents:Wi.negate?Kr(Wi.contents):Wi.contents;Ra&&ea.push({ind:vi,mode:Vi,doc:Ra})}break}case"line-suffix":Nn.push({ind:vi,mode:Vi,doc:Wi.contents});break;case"line-suffix-boundary":Nn.length>0&&ea.push({ind:vi,mode:Vi,doc:{type:"line",hard:!0}});break;case"line":switch(Vi){case mi:if(Wi.hard)Li=!0;else{Wi.soft||(Wn.push(" "),Kn+=1);break}case ii:if(Nn.length>0){ea.push({ind:vi,mode:Vi,doc:Wi},...Nn.reverse()),Nn.length=0;break}Wi.literal?vi.root?(Wn.push(Do,vi.root.value),Kn=vi.root.length):(Wn.push(Do),Kn=0):(Kn-=ca(Wn),Wn.push(Do+vi.value),Kn=vi.length);break}break;case"label":ea.push({ind:vi,mode:Vi,doc:Wi.contents});break}ea.length===0&&Nn.length>0&&(ea.push(...Nn.reverse()),Nn.length=0)}let ui=Wn.indexOf(Yr.placeholder);if(ui!==-1){let vi=Wn.indexOf(Yr.placeholder,ui+1),Vi=Wn.slice(0,ui).join(""),Wi=Wn.slice(ui+1,vi).join(""),aa=Wn.slice(vi+1).join("");return{formatted:Vi+Wi+aa,cursorNodeStart:Vi.length,cursorNodeText:Wi}}return{formatted:Wn.join("")}}Mn.exports={printDocToString:da}}}),lf=Eo({"src/document/doc-debug.js"(Qr,Mn){hn();var{isConcat:Hr,getDocParts:An}=dp();function Sn(Yr){if(!Yr)return"";if(Hr(Yr)){let Kr=[];for(let kn of An(Yr))if(Hr(kn))Kr.push(...Sn(kn).parts);else{let Vn=Sn(kn);Vn!==""&&Kr.push(Vn)}return{type:"concat",parts:Kr}}return Yr.type==="if-break"?Object.assign(Object.assign({},Yr),{},{breakContents:Sn(Yr.breakContents),flatContents:Sn(Yr.flatContents)}):Yr.type==="group"?Object.assign(Object.assign({},Yr),{},{contents:Sn(Yr.contents),expandedStates:Yr.expandedStates&&Yr.expandedStates.map(Sn)}):Yr.type==="fill"?{type:"fill",parts:Yr.parts.map(Sn)}:Yr.contents?Object.assign(Object.assign({},Yr),{},{contents:Sn(Yr.contents)}):Yr}function zr(Yr){let Kr=Object.create(null),kn=new Set;return Vn(Sn(Yr));function Vn(ii,mi,Un){if(typeof ii=="string")return JSON.stringify(ii);if(Hr(ii)){let zn=An(ii).map(Vn).filter(Boolean);return zn.length===1?zn[0]:`[${zn.join(", ")}]`}if(ii.type==="line"){let zn=Array.isArray(Un)&&Un[mi+1]&&Un[mi+1].type==="break-parent";return ii.literal?zn?"literalline":"literallineWithoutBreakParent":ii.hard?zn?"hardline":"hardlineWithoutBreakParent":ii.soft?"softline":"line"}if(ii.type==="break-parent")return Array.isArray(Un)&&Un[mi-1]&&Un[mi-1].type==="line"&&Un[mi-1].hard?void 0:"breakParent";if(ii.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:Sn},endOfLine:{since:"1.15.0",category:kn,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:Hr`
|
|||
|
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:Vn,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Yr,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Vn,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Yr},parser:{since:"0.0.10",category:kn,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:ii=>typeof ii=="string"||typeof ii=="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:kn,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:ii=>typeof ii=="string"||typeof ii=="object",cliName:"plugin",cliCategory:An},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:kn,description:Hr`
|
|||
|
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:ii=>typeof ii=="string"||typeof ii=="object",cliName:"plugin-search-dir",cliCategory:An},printWidth:{since:"0.0.0",category:kn,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:Vn,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Hr`
|
|||
|
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:Sn},rangeStart:{since:"1.4.0",category:Vn,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Hr`
|
|||
|
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:Sn},requirePragma:{since:"1.7.0",category:Vn,type:"boolean",default:!1,description:Hr`
|
|||
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|||
|
in order for it to be formatted.
|
|||
|
`,cliCategory:Yr},tabWidth:{type:"int",category:kn,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:kn,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:kn,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."}]}};Mn.exports={CATEGORY_CONFIG:An,CATEGORY_EDITOR:Sn,CATEGORY_FORMAT:zr,CATEGORY_OTHER:Yr,CATEGORY_OUTPUT:Kr,CATEGORY_GLOBAL:kn,CATEGORY_SPECIAL:Vn,options:pi}}}),em=Eo({"src/main/support.js"(Qr,Mn){hn();var Hr={compare:uf(),lt:Ff(),gte:cf()},An=Vm(),Sn=Oo().version,zr=yh().options;function Yr(){let{plugins:kn=[],showUnreleased:Vn=!1,showDeprecated:pi=!1,showInternal:ii=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},mi=Sn.split("-",1)[0],Un=kn.flatMap(Ui=>Ui.languages||[]).filter(ji),zn=An(Object.assign({},...kn.map(Ui=>{let{options:da}=Ui;return da}),zr),"name").filter(Ui=>ji(Ui)&&oa(Ui)).sort((Ui,da)=>Ui.name===da.name?0:Ui.name<da.name?-1:1).map(ca).map(Ui=>{Ui=Object.assign({},Ui),Array.isArray(Ui.default)&&(Ui.default=Ui.default.length===1?Ui.default[0].value:Ui.default.filter(ji).sort((Xi,Sa)=>Hr.compare(Sa.since,Xi.since))[0].value),Array.isArray(Ui.choices)&&(Ui.choices=Ui.choices.filter(Xi=>ji(Xi)&&oa(Xi)),Ui.name==="parser"&&Kr(Ui,Un,kn));let da=Object.fromEntries(kn.filter(Xi=>Xi.defaultOptions&&Xi.defaultOptions[Ui.name]!==void 0).map(Xi=>[Xi.name,Xi.defaultOptions[Ui.name]]));return Object.assign(Object.assign({},Ui),{},{pluginDefaults:da})});return{languages:Un,options:zn};function ji(Ui){return Vn||!("since"in Ui)||Ui.since&&Hr.gte(mi,Ui.since)}function oa(Ui){return pi||!("deprecated"in Ui)||Ui.deprecated&&Hr.lt(mi,Ui.deprecated)}function ca(Ui){return ii?Ui:Ki(Ui,xn)}}function Kr(kn,Vn,pi){let ii=new Set(kn.choices.map(mi=>mi.value));for(let mi of Vn)if(mi.parsers){for(let Un of mi.parsers)if(!ii.has(Un)){ii.add(Un);let zn=pi.find(oa=>oa.parsers&&oa.parsers[Un]),ji=mi.name;zn&&zn.name&&(ji+=` (plugin: ${zn.name})`),kn.choices.push({value:Un,description:ji})}}}Mn.exports={getSupportInfo:Yr}}}),Om=Eo({"src/utils/is-non-empty-array.js"(Qr,Mn){hn();function Hr(An){return Array.isArray(An)&&An.length>0}Mn.exports=Hr}}),Rm=Eo({"src/utils/text/skip.js"(Qr,Mn){hn();function Hr(Kr){return(kn,Vn,pi)=>{let ii=pi&&pi.backwards;if(Vn===!1)return!1;let{length:mi}=kn,Un=Vn;for(;Un>=0&&Un<mi;){let zn=kn.charAt(Un);if(Kr instanceof RegExp){if(!Kr.test(zn))return Un}else if(!Kr.includes(zn))return Un;ii?Un--:Un++}return Un===-1||Un===mi?Un:!1}}var An=Hr(/\s/),Sn=Hr(" "),zr=Hr(",; "),Yr=Hr(/[^\n\r]/);Mn.exports={skipWhitespace:An,skipSpaces:Sn,skipToLineEnd:zr,skipEverythingButNewLine:Yr}}}),Hc=Eo({"src/utils/text/skip-inline-comment.js"(Qr,Mn){hn();function Hr(An,Sn){if(Sn===!1)return!1;if(An.charAt(Sn)==="/"&&An.charAt(Sn+1)==="*"){for(let zr=Sn+2;zr<An.length;++zr)if(An.charAt(zr)==="*"&&An.charAt(zr+1)==="/")return zr+2}return Sn}Mn.exports=Hr}}),Vc=Eo({"src/utils/text/skip-trailing-comment.js"(Qr,Mn){hn();var{skipEverythingButNewLine:Hr}=Rm();function An(Sn,zr){return zr===!1?!1:Sn.charAt(zr)==="/"&&Sn.charAt(zr+1)==="/"?Hr(Sn,zr):zr}Mn.exports=An}}),vp=Eo({"src/utils/text/skip-newline.js"(Qr,Mn){hn();function Hr(An,Sn,zr){let Yr=zr&&zr.backwards;if(Sn===!1)return!1;let Kr=An.charAt(Sn);if(Yr){if(An.charAt(Sn-1)==="\r"&&Kr===`
|
|||
|
`)return Sn-2;if(Kr===`
|
|||
|
`||Kr==="\r"||Kr==="\u2028"||Kr==="\u2029")return Sn-1}else{if(Kr==="\r"&&An.charAt(Sn+1)===`
|
|||
|
`)return Sn+2;if(Kr===`
|
|||
|
`||Kr==="\r"||Kr==="\u2028"||Kr==="\u2029")return Sn+1}return Sn}Mn.exports=Hr}}),Gp=Eo({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(Qr,Mn){hn();var Hr=Hc(),An=vp(),Sn=Vc(),{skipSpaces:zr}=Rm();function Yr(Kr,kn){let Vn=null,pi=kn;for(;pi!==Vn;)Vn=pi,pi=zr(Kr,pi),pi=Hr(Kr,pi),pi=Sn(Kr,pi),pi=An(Kr,pi);return pi}Mn.exports=Yr}}),xc=Eo({"src/common/util.js"(Qr,Mn){hn();var{default:Hr}=(Hp(),Au(Tf)),An=ic(),{getSupportInfo:Sn}=em(),zr=Om(),Yr=Vp(),{skipWhitespace:Kr,skipSpaces:kn,skipToLineEnd:Vn,skipEverythingButNewLine:pi}=Rm(),ii=Hc(),mi=Vc(),Un=vp(),zn=Gp(),ji=Co=>Co[Co.length-2];function oa(Co){return(no,rs,$s)=>{let Cs=$s&&$s.backwards;if(rs===!1)return!1;let{length:Qs}=no,So=rs;for(;So>=0&&So<Qs;){let cs=no.charAt(So);if(Co instanceof RegExp){if(!Co.test(cs))return So}else if(!Co.includes(cs))return So;Cs?So--:So++}return So===-1||So===Qs?So:!1}}function ca(Co,no){let rs=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$s=kn(Co,rs.backwards?no-1:no,rs),Cs=Un(Co,$s,rs);return $s!==Cs}function Ui(Co,no,rs){for(let $s=no;$s<rs;++$s)if(Co.charAt($s)===`
|
|||
|
`)return!0;return!1}function da(Co,no,rs){let $s=rs(no)-1;$s=kn(Co,$s,{backwards:!0}),$s=Un(Co,$s,{backwards:!0}),$s=kn(Co,$s,{backwards:!0});let Cs=Un(Co,$s,{backwards:!0});return $s!==Cs}function Xi(Co,no){let rs=null,$s=no;for(;$s!==rs;)rs=$s,$s=Vn(Co,$s),$s=ii(Co,$s),$s=kn(Co,$s);return $s=mi(Co,$s),$s=Un(Co,$s),$s!==!1&&ca(Co,$s)}function Sa(Co,no,rs){return Xi(Co,rs(no))}function pa(Co,no,rs){return zn(Co,rs(no))}function Do(Co,no,rs){return Co.charAt(pa(Co,no,rs))}function Kn(Co,no){let rs=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return kn(Co,rs.backwards?no-1:no,rs)!==no}function ea(Co,no){let rs=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,$s=0;for(let Cs=rs;Cs<Co.length;++Cs)Co[Cs]===" "?$s=$s+no-$s%no:$s++;return $s}function Wn(Co,no){let rs=Co.lastIndexOf(`
|
|||
|
`);return rs===-1?0:ea(Co.slice(rs+1).match(/^[\t ]*/)[0],no)}function Li(Co,no){let rs={quote:'"',regex:/"/g,escaped:"""},$s={quote:"'",regex:/'/g,escaped:"'"},Cs=no==="'"?$s:rs,Qs=Cs===$s?rs:$s,So=Cs;if(Co.includes(Cs.quote)||Co.includes(Qs.quote)){let cs=(Co.match(Cs.regex)||[]).length,Xs=(Co.match(Qs.regex)||[]).length;So=cs>Xs?Qs:Cs}return So}function Nn(Co,no){let rs=Co.slice(1,-1),$s=no.parser==="json"||no.parser==="json5"&&no.quoteProps==="preserve"&&!no.singleQuote?'"':no.__isInHtmlAttribute?"'":Li(rs,no.singleQuote?"'":'"').quote;return ui(rs,$s,!(no.parser==="css"||no.parser==="less"||no.parser==="scss"||no.__embeddedInHtml))}function ui(Co,no,rs){let $s=no==='"'?"'":'"',Cs=/\\(.)|(["'])/gs,Qs=Co.replace(Cs,(So,cs,Xs)=>cs===$s?cs:Xs===no?"\\"+Xs:Xs||(rs&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(cs)?cs:"\\"+cs));return no+Qs+no}function vi(Co){return Co.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function Vi(Co,no){let rs=Co.match(new RegExp(`(${Hr(no)})+`,"g"));return rs===null?0:rs.reduce(($s,Cs)=>Math.max($s,Cs.length/no.length),0)}function Wi(Co,no){let rs=Co.match(new RegExp(`(${Hr(no)})+`,"g"));if(rs===null)return 0;let $s=new Map,Cs=0;for(let Qs of rs){let So=Qs.length/no.length;$s.set(So,!0),So>Cs&&(Cs=So)}for(let Qs=1;Qs<Cs;Qs++)if(!$s.get(Qs))return Qs;return Cs+1}function aa(Co,no){(Co.comments||(Co.comments=[])).push(no),no.printed=!1,no.nodeDescription=ys(Co)}function Ra(Co,no){no.leading=!0,no.trailing=!1,aa(Co,no)}function _o(Co,no,rs){no.leading=!1,no.trailing=!1,rs&&(no.marker=rs),aa(Co,no)}function No(Co,no){no.leading=!1,no.trailing=!0,aa(Co,no)}function fo(Co,no){let{languages:rs}=Sn({plugins:no.plugins}),$s=rs.find(Cs=>{let{name:Qs}=Cs;return Qs.toLowerCase()===Co})||rs.find(Cs=>{let{aliases:Qs}=Cs;return Array.isArray(Qs)&&Qs.includes(Co)})||rs.find(Cs=>{let{extensions:Qs}=Cs;return Array.isArray(Qs)&&Qs.includes(`.${Co}`)});return $s&&$s.parsers[0]}function Jo(Co){return Co&&Co.type==="front-matter"}function qa(Co){let no=new WeakMap;return function(rs){return no.has(rs)||no.set(rs,Symbol(Co)),no.get(rs)}}function ys(Co){let no=Co.type||Co.kind||"(unknown type)",rs=String(Co.name||Co.id&&(typeof Co.id=="object"?Co.id.name:Co.id)||Co.key&&(typeof Co.key=="object"?Co.key.name:Co.key)||Co.value&&(typeof Co.value=="object"?"":String(Co.value))||Co.operator||"");return rs.length>20&&(rs=rs.slice(0,19)+"…"),no+(rs?" "+rs:"")}Mn.exports={inferParserByLanguage:fo,getStringWidth:Yr,getMaxContinuousCount:Vi,getMinNotPresentContinuousCount:Wi,getPenultimate:ji,getLast:An,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:zn,getNextNonSpaceNonCommentCharacterIndex:pa,getNextNonSpaceNonCommentCharacter:Do,skip:oa,skipWhitespace:Kr,skipSpaces:kn,skipToLineEnd:Vn,skipEverythingButNewLine:pi,skipInlineComment:ii,skipTrailingComment:mi,skipNewline:Un,isNextLineEmptyAfterIndex:Xi,isNextLineEmpty:Sa,isPreviousLineEmpty:da,hasNewline:ca,hasNewlineInRange:Ui,hasSpaces:Kn,getAlignmentSize:ea,getIndentSize:Wn,getPreferredQuote:Li,printString:Nn,printNumber:vi,makeString:ui,addLeadingComment:Ra,addDanglingComment:_o,addTrailingComment:No,isFrontMatterNode:Jo,isNonEmptyArray:zr,createGroupIdMapper:qa}}}),$f={};Zl($f,{basename:()=>rm,default:()=>mf,delimiter:()=>Uf,dirname:()=>pf,extname:()=>nm,isAbsolute:()=>Em,join:()=>od,normalize:()=>ym,relative:()=>tm,resolve:()=>xf,sep:()=>Nf});function km(Qr,Mn){for(var Hr=0,An=Qr.length-1;An>=0;An--){var Sn=Qr[An];Sn==="."?Qr.splice(An,1):Sn===".."?(Qr.splice(An,1),Hr++):Hr&&(Qr.splice(An,1),Hr--)}if(Mn)for(;Hr--;Hr)Qr.unshift("..");return Qr}function xf(){for(var Qr="",Mn=!1,Hr=arguments.length-1;Hr>=-1&&!Mn;Hr--){var An=Hr>=0?arguments[Hr]:"/";if(typeof An!="string")throw new TypeError("Arguments to path.resolve must be strings");An&&(Qr=An+"/"+Qr,Mn=An.charAt(0)==="/")}return Qr=km(Od(Qr.split("/"),function(Sn){return!!Sn}),!Mn).join("/"),(Mn?"/":"")+Qr||"."}function ym(Qr){var Mn=Em(Qr),Hr=Mm(Qr,-1)==="
|
|||
|
`,zn(Un.gutter,ea.replace(/\d/g," "))," ",ui,zn(Un.marker,"^").repeat(vi)].join(""),Li&&pi.message&&(Nn+=" "+zn(Un.message,pi.message))}return[zn(Un.marker,">"),zn(Un.gutter,ea),pa.length>0?` ${pa}`:"",Nn].join("")}else return` ${zn(Un.gutter,ea)}${pa.length>0?` ${pa}`:""}`}).join(`
|
|||
|
`);return pi.message&&!da&&(Sa=`${" ".repeat(Xi+1)}${pi.message}
|
|||
|
${Sa}`),ii?mi.reset(Sa):Sa}function Kr(kn,Vn,pi){let ii=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!Hr){Hr=!0;let mi="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Ou.emitWarning)Ou.emitWarning(mi,"DeprecationWarning");else{let Un=new Error(mi);Un.name="DeprecationWarning",console.warn(new Error(mi))}}return pi=Math.max(pi,0),Yr(kn,{start:{column:pi,line:Vn}},ii)}}}),Ps=Eo({"src/main/parser.js"(Qr,Mn){hn();var{ConfigError:Hr}=Xd(),An=zd();mh();var{locStart:Sn,locEnd:zr}=An,Yr=Object.getOwnPropertyNames,Kr=Object.getOwnPropertyDescriptor;function kn(ii){let mi={};for(let Un of ii.plugins)if(Un.parsers)for(let zn of Yr(Un.parsers))Object.defineProperty(mi,zn,Kr(Un.parsers,zn));return mi}function Vn(ii){let mi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kn(ii);if(typeof ii.parser=="function")return{parse:ii.parser,astFormat:"estree",locStart:Sn,locEnd:zr};if(typeof ii.parser=="string"){if(Object.prototype.hasOwnProperty.call(mi,ii.parser))return mi[ii.parser];throw new Hr(`Couldn't resolve parser "${ii.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function pi(ii,mi){let Un=kn(mi),zn=Object.defineProperties({},Object.fromEntries(Object.keys(Un).map(oa=>[oa,{enumerable:!0,get(){return Un[oa].parse}}]))),ji=Vn(mi,Un);try{return ji.preprocess&&(ii=ji.preprocess(ii,mi)),{text:ii,ast:ji.parse(ii,zn,mi)}}catch(oa){let{loc:ca}=oa;if(ca){let{codeFrameColumns:Ui}=gf();throw oa.codeFrame=Ui(ii,ca,{highlightCode:!0}),oa.message+=`
|
|||
|
`+oa.codeFrame,oa}throw oa}}Mn.exports={parse:pi,resolveParser:Vn}}}),_l=Eo({"src/main/options.js"(Qr,Mn){hn();var Hr=lh(),{UndefinedParserError:An}=Xd(),{getSupportInfo:Sn}=em(),zr=dm(),{resolveParser:Yr}=Ps(),Kr={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function kn(ii){let mi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Un=Object.assign({},ii),zn=Sn({plugins:ii.plugins,showUnreleased:!0,showDeprecated:!0}).options,ji=Object.assign(Object.assign({},Kr),Object.fromEntries(zn.filter(Xi=>Xi.default!==void 0).map(Xi=>[Xi.name,Xi.default])));if(!Un.parser){if(!Un.filepath)(mi.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."),Un.parser="babel";else if(Un.parser=pi(Un.filepath,Un.plugins),!Un.parser)throw new An(`No parser could be inferred for file: ${Un.filepath}`)}let oa=Yr(zr.normalizeApiOptions(Un,[zn.find(Xi=>Xi.name==="parser")],{passThrough:!0,logger:!1}));Un.astFormat=oa.astFormat,Un.locEnd=oa.locEnd,Un.locStart=oa.locStart;let ca=Vn(Un);Un.printer=ca.printers[Un.astFormat];let Ui=Object.fromEntries(zn.filter(Xi=>Xi.pluginDefaults&&Xi.pluginDefaults[ca.name]!==void 0).map(Xi=>[Xi.name,Xi.pluginDefaults[ca.name]])),da=Object.assign(Object.assign({},ji),Ui);for(let[Xi,Sa]of Object.entries(da))(Un[Xi]===null||Un[Xi]===void 0)&&(Un[Xi]=Sa);return Un.parser==="json"&&(Un.trailingComma="none"),zr.normalizeApiOptions(Un,zn,Object.assign({passThrough:Object.keys(Kr)},mi))}function Vn(ii){let{astFormat:mi}=ii;if(!mi)throw new Error("getPlugin() requires astFormat to be set");let Un=ii.plugins.find(zn=>zn.printers&&zn.printers[mi]);if(!Un)throw new Error(`Couldn't find plugin for AST format "${mi}"`);return Un}function pi(ii,mi){let Un=Hr.basename(ii).toLowerCase(),zn=Sn({plugins:mi}).languages.filter(ji=>ji.since!==null).find(ji=>ji.extensions&&ji.extensions.some(oa=>Un.endsWith(oa))||ji.filenames&&ji.filenames.some(oa=>oa.toLowerCase()===Un));return zn&&zn.parsers[0]}Mn.exports={normalize:kn,hiddenDefaults:Kr,inferParser:pi}}}),ul=Eo({"src/main/massage-ast.js"(Qr,Mn){hn();function Hr(An,Sn,zr){if(Array.isArray(An))return An.map(Vn=>Hr(Vn,Sn,zr)).filter(Boolean);if(!An||typeof An!="object")return An;let Yr=Sn.printer.massageAstNode,Kr;Yr&&Yr.ignoredProperties?Kr=Yr.ignoredProperties:Kr=new Set;let kn={};for(let[Vn,pi]of Object.entries(An))!Kr.has(Vn)&&typeof pi!="function"&&(kn[Vn]=Hr(pi,Sn,An));if(Yr){let Vn=Yr(An,kn,zr);if(Vn===null)return;if(Vn)return Vn}return kn}Mn.exports=Hr}}),Fu=Eo({"scripts/build/shims/assert.cjs"(Qr,Mn){hn();var Hr=()=>{};Hr.ok=Hr,Hr.strictEqual=Hr,Mn.exports=Hr}}),Hu=Eo({"src/main/comments.js"(Qr,Mn){hn();var Hr=Fu(),{builders:{line:An,hardline:Sn,breakParent:zr,indent:Yr,lineSuffix:Kr,join:kn,cursor:Vn}}=tc(),{hasNewline:pi,skipNewline:ii,skipSpaces:mi,isPreviousLineEmpty:Un,addLeadingComment:zn,addDanglingComment:ji,addTrailingComment:oa}=xc(),ca=new WeakMap;function Ui(Ra,_o,No){if(!Ra)return;let{printer:fo,locStart:Jo,locEnd:qa}=_o;if(No){if(fo.canAttachComment&&fo.canAttachComment(Ra)){let Co;for(Co=No.length-1;Co>=0&&!(Jo(No[Co])<=Jo(Ra)&&qa(No[Co])<=qa(Ra));--Co);No.splice(Co+1,0,Ra);return}}else if(ca.has(Ra))return ca.get(Ra);let ys=fo.getCommentChildNodes&&fo.getCommentChildNodes(Ra,_o)||typeof Ra=="object"&&Object.entries(Ra).filter(Co=>{let[no]=Co;return no!=="enclosingNode"&&no!=="precedingNode"&&no!=="followingNode"&&no!=="tokens"&&no!=="comments"&&no!=="parent"}).map(Co=>{let[,no]=Co;return no});if(ys){No||(No=[],ca.set(Ra,No));for(let Co of ys)Ui(Co,_o,No);return No}}function da(Ra,_o,No,fo){let{locStart:Jo,locEnd:qa}=No,ys=Jo(_o),Co=qa(_o),no=Ui(Ra,No),rs,$s,Cs=0,Qs=no.length;for(;Cs<Qs;){let So=Cs+Qs>>1,cs=no[So],Xs=Jo(cs),Gs=qa(cs);if(Xs<=ys&&Co<=Gs)return da(cs,_o,No,cs);if(Gs<=ys){rs=cs,Cs=So+1;continue}if(Co<=Xs){$s=cs,Qs=So;continue}throw new Error("Comment location overlaps with node location")}if(fo&&fo.type==="TemplateLiteral"){let{quasis:So}=fo,cs=Li(So,_o,No);rs&&Li(So,rs,No)!==cs&&
|
|||
|
`,vi)+1),Ra=ui.slice(aa,vi).match(/^\s*/)[0],_o=zr(Ra,Li.tabWidth),No=da(Wi,Object.assign(Object.assign({},Li),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:Li.cursorOffset>vi&&Li.cursorOffset<=Vi?Li.cursorOffset-vi:-1,endOfLine:"lf"}),_o),fo=No.formatted.trimEnd(),{cursorOffset:Jo}=Li;Jo>Vi?Jo+=fo.length-Wi.length:No.cursorOffset>=0&&(Jo=No.cursorOffset+vi);let qa=ui.slice(0,vi)+fo+ui.slice(Vi);if(Li.endOfLine!=="lf"){let ys=Kr(Li.endOfLine);Jo>=0&&ys===`\r
|
|||
|
`&&(Jo+=kn(qa.slice(0,Jo),`
|
|||
|
`)),qa=qa.replace(/\n/g,ys)}return{formatted:qa,cursorOffset:Jo,comments:No.comments}}function Sa(Wn,Li,Nn){return typeof Li!="number"||Number.isNaN(Li)||Li<0||Li>Wn.length?Nn:Li}function pa(Wn,Li){let{cursorOffset:Nn,rangeStart:ui,rangeEnd:vi}=Li;return Nn=Sa(Wn,Nn,-1),ui=Sa(Wn,ui,0),vi=Sa(Wn,vi,Wn.length),Object.assign(Object.assign({},Li),{},{cursorOffset:Nn,rangeStart:ui,rangeEnd:vi})}function Do(Wn,Li){let{cursorOffset:Nn,rangeStart:ui,rangeEnd:vi,endOfLine:Vi}=pa(Wn,Li),Wi=Wn.charAt(0)===oa;if(Wi&&(Wn=Wn.slice(1),Nn--,ui--,vi--),Vi==="auto"&&(Vi=Yr(Wn)),Wn.includes("\r")){let aa=Ra=>kn(Wn.slice(0,Math.max(Ra,0)),`\r
|
|||
|
`);Nn-=aa(Nn),ui-=aa(ui),vi-=aa(vi),Wn=Vn(Wn)}return{hasBOM:Wi,text:Wn,options:pa(Wn,Object.assign(Object.assign({},Li),{},{cursorOffset:Nn,rangeStart:ui,rangeEnd:vi,endOfLine:Vi}))}}function Kn(Wn,Li){let Nn=Un.resolveParser(Li);return!Nn.hasPragma||Nn.hasPragma(Wn)}function ea(Wn,Li){let{hasBOM:Nn,text:ui,options:vi}=Do(Wn,pi(Li));if(vi.rangeStart>=vi.rangeEnd&&ui!==""||vi.requirePragma&&!Kn(ui,vi))return{formatted:Wn,cursorOffset:Li.cursorOffset,comments:[]};let Vi;return vi.rangeStart>0||vi.rangeEnd<ui.length?Vi=Xi(ui,vi):(!vi.requirePragma&&vi.insertPragma&&vi.printer.insertPragma&&!Kn(ui,vi)&&(ui=vi.printer.insertPragma(ui)),Vi=da(ui,vi)),Nn&&(Vi.formatted=oa+Vi.formatted,Vi.cursorOffset>=0&&Vi.cursorOffset++),Vi}Mn.exports={formatWithCursor:ea,parse(Wn,Li,Nn){let{text:ui,options:vi}=Do(Wn,pi(Li)),Vi=Un.parse(ui,vi);return Nn&&(Vi.ast=ii(Vi.ast,vi)),Vi},formatAST(Wn,Li){Li=pi(Li);let Nn=zn(Wn,Li);return An(Nn,Li)},formatDoc(Wn,Li){return ea(Sn(Wn),Object.assign(Object.assign({},Li),{},{parser:"__js_expression"})).formatted},printToDoc(Wn,Li){Li=pi(Li);let{ast:Nn,text:ui}=Un.parse(Wn,Li);return Ui(ui,Nn,Li),zn(Nn,Li)},printDocToString(Wn,Li){return An(Wn,pi(Li))}}}}),Rp=Eo({"src/common/util-shared.js"(Qr,Mn){hn();var{getMaxContinuousCount:Hr,getStringWidth:An,getAlignmentSize:Sn,getIndentSize:zr,skip:Yr,skipWhitespace:Kr,skipSpaces:kn,skipNewline:Vn,skipToLineEnd:pi,skipEverythingButNewLine:ii,skipInlineComment:mi,skipTrailingComment:Un,hasNewline:zn,hasNewlineInRange:ji,hasSpaces:oa,isNextLineEmpty:ca,isNextLineEmptyAfterIndex:Ui,isPreviousLineEmpty:da,getNextNonSpaceNonCommentCharacterIndex:Xi,makeString:Sa,addLeadingComment:pa,addDanglingComment:Do,addTrailingComment:Kn}=xc();Mn.exports={getMaxContinuousCount:Hr,getStringWidth:An,getAlignmentSize:Sn,getIndentSize:zr,skip:Yr,skipWhitespace:Kr,skipSpaces:kn,skipNewline:Vn,skipToLineEnd:pi,skipEverythingButNewLine:ii,skipInlineComment:mi,skipTrailingComment:Un,hasNewline:zn,hasNewlineInRange:ji,hasSpaces:oa,isNextLineEmpty:ca,isNextLineEmptyAfterIndex:Ui,isPreviousLineEmpty:da,getNextNonSpaceNonCommentCharacterIndex:Xi,makeString:Sa,addLeadingComment:pa,addDanglingComment:Do,addTrailingComment:Kn}}}),Wp=Eo({"src/utils/create-language.js"(Qr,Mn){hn(),Mn.exports=function(Hr,An){let{languageId:Sn}=Hr,zr=Ki(Hr,di);return Object.assign(Object.assign({linguistLanguageId:Sn},zr),An(Hr))}}}),kf=Eo({"node_modules/esutils/lib/ast.js"(Qr,Mn){hn(),function(){function Hr(kn){if(kn==null)return!1;switch(kn.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 An(kn){if(kn==null)return!1;switch(kn.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function Sn(kn){if(kn==null)return!1;switch(kn.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 zr(kn){return Sn(kn)||kn!=null&&kn.type==="FunctionDeclaration"}function Yr(kn){switch(kn.type){case"IfStatement":return kn.alternate!=null?kn.alternate:kn.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return kn.body}return null}function Kr(kn){var Vn;if(kn.type!=="IfStatement"||kn.alternate==null)return!1;Vn=kn.consequent;do{if(Vn.type==="IfStatement"&&Vn.alternate==null)return!0;Vn=Yr(Vn)}while(Vn);return!1}Mn.exports={isExpression:Hr,isStatement:Sn,isIterationStatement:An,isSourceElement:zr,isProblematicIfStatement:K
|
|||
|
`))}function Du(La,Us){return(La.type==="TemplateLiteral"&&dl(La)||La.type==="TaggedTemplateExpression"&&dl(La.quasi))&&!Sn(Us,Vn(La),{backwards:!0})}function Oc(La){if(!kl(La))return!1;let Us=An(Zo(La,Ws.Dangling));return Us&&!mi(Us)}function hc(La){if(La.length<=1)return!1;let Us=0;for(let xu of La)if(Wi(xu)){if(Us+=1,Us>1)return!0}else if(Xs(xu)){for(let fc of xu.arguments)if(Wi(fc))return!0}return!1}function Pu(La){let Us=La.getValue(),xu=La.getParentNode();return Xs(Us)&&Xs(xu)&&xu.callee===Us&&Us.arguments.length>xu.arguments.length&&xu.arguments.length>0}function Iu(La,Us){if(Us>=2)return!1;let xu=Lc=>Iu(Lc,Us+1),fc=La.type==="Literal"&&"regex"in La&&La.regex.pattern||La.type==="RegExpLiteral"&&La.pattern;if(fc&&kn(fc)>5)return!1;if(La.type==="Literal"||La.type==="BigIntLiteral"||La.type==="DecimalLiteral"||La.type==="BooleanLiteral"||La.type==="NullLiteral"||La.type==="NumericLiteral"||La.type==="RegExpLiteral"||La.type==="StringLiteral"||La.type==="Identifier"||La.type==="ThisExpression"||La.type==="Super"||La.type==="PrivateName"||La.type==="PrivateIdentifier"||La.type==="ArgumentPlaceholder"||La.type==="Import")return!0;if(La.type==="TemplateLiteral")return La.quasis.every(Lc=>!Lc.value.raw.includes(`
|
|||
|
`))&&La.expressions.every(xu);if(La.type==="ObjectExpression")return La.properties.every(Lc=>!Lc.computed&&(Lc.shorthand||Lc.value&&xu(Lc.value)));if(La.type==="ArrayExpression")return La.elements.every(Lc=>Lc===null||xu(Lc));if($u(La))return(La.type==="ImportExpression"||Iu(La.callee,Us))&&Xo(La).every(xu);if(Gs(La))return Iu(La.object,Us)&&Iu(La.property,Us);let yc={"!":!0,"-":!0,"+":!0,"~":!0};if(La.type==="UnaryExpression"&&yc[La.operator])return Iu(La.argument,Us);let Ed={"++":!0,"--":!0};return La.type==="UpdateExpression"&&Ed[La.operator]?Iu(La.argument,Us):La.type==="TSNonNullExpression"?Iu(La.expression,Us):!1}function zs(La){var Us,xu;return(Us=(xu=La.extra)===null||xu===void 0?void 0:xu.raw)!==null&&Us!==void 0?Us:La.raw}function xo(La){return La}function Js(La){return La.filepath&&/\.tsx$/i.test(La.filepath)}function fs(La){let Us=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return La.trailingComma==="es5"&&Us==="es5"||La.trailingComma==="all"&&(Us==="all"||Us==="es5")}function Ys(La,Us){switch(La.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return Ys(La.left,Us);case"MemberExpression":case"OptionalMemberExpression":return Ys(La.object,Us);case"TaggedTemplateExpression":return La.tag.type==="FunctionExpression"?!1:Ys(La.tag,Us);case"CallExpression":case"OptionalCallExpression":return La.callee.type==="FunctionExpression"?!1:Ys(La.callee,Us);case"ConditionalExpression":return Ys(La.test,Us);case"UpdateExpression":return!La.prefix&&Ys(La.argument,Us);case"BindExpression":return La.object&&Ys(La.object,Us);case"SequenceExpression":return Ys(La.expressions[0],Us);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return Ys(La.expression,Us);default:return Us(La)}}var Su={"==":!0,"!=":!0,"===":!0,"!==":!0},Ie={"*":!0,"/":!0,"%":!0},kt={">>":!0,">>>":!0,"<<":!0};function er(La,Us){return!(sr(Us)!==sr(La)||La==="**"||Su[La]&&Su[Us]||Us==="%"&&Ie[La]||La==="%"&&Ie[Us]||Us!==La&&Ie[Us]&&Ie[La]||kt[La]&&kt[Us])}var ar=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((La,Us)=>La.map(xu=>[xu,Us])));function sr(La){return ar.get(La)}function Or(La){return!!kt[La]||La==="|"||La==="^"||La==="&"}function Vr(La){var Us;if(La.rest)return!0;let xu=Ln(La);return((Us=An(xu))===null||Us===void 0?void 0:Us.type)==="RestElement"}var In=new WeakMap;function Ln(La){if(In.has(La))return In.get(La);let Us=[];return La.this&&Us.push(La.this),Array.isArray(La.parameters)?Us.push(...La.parameters):Array.isArray(La.params)&&Us.push(...La.params),La.rest&&Us.push(La.rest),In.set(La,Us),Us}function zi(La,Us){let xu=La.getValue(),fc=0,yc=Ed=>Us(Ed,fc++);xu.this&&La.call(yc,"this"),Array.isArray(xu.parameters)?La.each(yc,"parameters"):Array.isArray(xu.params)&&La.each(yc,"params"),xu.rest&&La.call(yc,"rest")}var Ba=new WeakMap;function Xo(La){if(Ba.has(La))return Ba.get(La);let Us=La.arguments;return La.type==="ImportExpression"&&(Us=[La.source],La.attributes&&Us.push(La.attributes)),Ba.set(La,Us),Us}function Qo(La,Us){let xu=La.getValue();xu.type==="ImportExpression"?(La.call(fc=>Us(fc,0),"source"),xu.attributes&&La.call(fc=>Us(fc,1),"attributes")):La.each(Us,"arguments")}function ss(La){return La.value.trim()==="prettier-ignore"&&!La.unignore}function js(La){return La&&(La.prettierIgnore||kl(La,Ws.PrettierIgnore))}function ml(La){let Us=La.getValue();return js(Us)}var Ws={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},yl=(La,Us)=>{if(typeof La=="function"&&(Us=La,La=0),La||Us)return(xu,fc,yc)=>!(La&Ws.Leading&&!xu.leading||La&Ws.Trailing&&!xu.trailing||La&Ws.Dangling&&(xu.leading||xu.trailing)||La&Ws.Block&&!mi(xu)||La&Ws.Line&&!Kn(xu)||La&Ws.First&&fc!==0||La&Ws.Last&&fc!==yc.length-1||La&Ws.PrettierIgnore&&!ss(xu)||Us&&!Us(xu))};function kl(La,Us,xu){if(!Yr(La==null?void 0:La.comments))return!1;let fc=yl(Us,xu);return fc?La.comments.some(fc):!0}function Zo(La,Us,xu){if(!Array.isAr
|
|||
|
`)?pi(Number.NEGATIVE_INFINITY,ys):mi(ys,qa,fo);Wi.push(kn(["${",Co,ii,"}"]))}},"quasis"),Wi.push("`"),Wi}function pa(Li,Nn,ui){let vi=Li.getNode(),Vi=vi.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(Vi.length>1||Vi.some(Wi=>Wi.length>0)){Nn.__inJestEach=!0;let Wi=Li.map(ui,"expressions");Nn.__inJestEach=!1;let aa=[],Ra=Wi.map(qa=>"${"+Un(qa,Object.assign(Object.assign({},Nn),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),_o=[{hasLineBreak:!1,cells:[]}];for(let qa=1;qa<vi.quasis.length;qa++){let ys=Hr(_o),Co=Ra[qa-1];ys.cells.push(Co),Co.includes(`
|
|||
|
`)&&(ys.hasLineBreak=!0),vi.quasis[qa].value.raw.includes(`
|
|||
|
`)&&_o.push({hasLineBreak:!1,cells:[]})}let No=Math.max(Vi.length,..._o.map(qa=>qa.cells.length)),fo=Array.from({length:No}).fill(0),Jo=[{cells:Vi},..._o.filter(qa=>qa.cells.length>0)];for(let{cells:qa}of Jo.filter(ys=>!ys.hasLineBreak))for(let[ys,Co]of qa.entries())fo[ys]=Math.max(fo[ys],An(Co));return aa.push(ii,"`",Vn([Yr,zr(Yr,Jo.map(qa=>zr(" | ",qa.cells.map((ys,Co)=>qa.hasLineBreak?ys:ys+" ".repeat(fo[Co]-An(ys))))))]),Yr,"`"),aa}}function Do(Li,Nn){let ui=Li.getValue(),vi=Nn();return Ui(ui)&&(vi=kn([Vn([Kr,vi]),Kr])),["${",vi,ii,"}"]}function Kn(Li,Nn){return Li.map(ui=>Do(ui,Nn),"expressions")}function ea(Li,Nn){return zn(Li,ui=>typeof ui=="string"?Nn?ui.replace(/(\\*)`/g,"$1$1\\`"):Wn(ui):ui)}function Wn(Li){return Li.replace(/([\\`]|\${)/g,"\\$1")}Mn.exports={printTemplateLiteral:Sa,printTemplateExpressions:Kn,escapeTemplateCharacters:ea,uncookTemplateElementValue:Wn}}}),qf=Eo({"src/language-js/embed/markdown.js"(Qr,Mn){hn();var{builders:{indent:Hr,softline:An,literalline:Sn,dedentToRoot:zr}}=tc(),{escapeTemplateCharacters:Yr}=mp();function Kr(Vn,pi,ii){let mi=Vn.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(oa,ca)=>"\\".repeat(ca.length/2)+"`"),Un=kn(mi),zn=Un!=="";zn&&(mi=mi.replace(new RegExp(`^${Un}`,"gm"),""));let ji=Yr(ii(mi,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",zn?Hr([An,ji]):[Sn,zr(ji)],An,"`"]}function kn(Vn){let pi=Vn.match(/^([^\S\n]*)\S/m);return pi===null?"":pi[1]}Mn.exports=Kr}}),Zd=Eo({"src/language-js/embed/css.js"(Qr,Mn){hn();var{isNonEmptyArray:Hr}=xc(),{builders:{indent:An,hardline:Sn,softline:zr},utils:{mapDoc:Yr,replaceEndOfLine:Kr,cleanDoc:kn}}=tc(),{printTemplateExpressions:Vn}=mp();function pi(Un,zn,ji){let oa=Un.getValue(),ca=oa.quasis.map(pa=>pa.value.raw),Ui=0,da=ca.reduce((pa,Do,Kn)=>Kn===0?Do:pa+"@prettier-placeholder-"+Ui+++"-id"+Do,""),Xi=ji(da,{parser:"scss"},{stripTrailingHardline:!0}),Sa=Vn(Un,zn);return ii(Xi,oa,Sa)}function ii(Un,zn,ji){if(zn.quasis.length===1&&!zn.quasis[0].value.raw.trim())return"``";let oa=mi(Un,ji);if(!oa)throw new Error("Couldn't insert all the expressions");return["`",An([Sn,oa]),zr,"`"]}function mi(Un,zn){if(!Hr(zn))return Un;let ji=0,oa=Yr(kn(Un),ca=>typeof ca!="string"||!ca.includes("@prettier-placeholder")?ca:ca.split(/@prettier-placeholder-(\d+)-id/).map((Ui,da)=>da%2===0?Kr(Ui):(ji++,zn[Ui])));return zn.length===ji?oa:null}Mn.exports=pi}}),vf=Eo({"src/language-js/embed/graphql.js"(Qr,Mn){hn();var{builders:{indent:Hr,join:An,hardline:Sn}}=tc(),{escapeTemplateCharacters:zr,printTemplateExpressions:Yr}=mp();function Kr(Vn,pi,ii){let mi=Vn.getValue(),Un=mi.quasis.length;if(Un===1&&mi.quasis[0].value.raw.trim()==="")return"``";let zn=Yr(Vn,pi),ji=[];for(let oa=0;oa<Un;oa++){let ca=mi.quasis[oa],Ui=oa===0,da=oa===Un-1,Xi=ca.value.cooked,Sa=Xi.split(`
|
|||
|
`),pa=Sa.length,Do=zn[oa],Kn=pa>2&&Sa[0].trim()===""&&Sa[1].trim()==="",ea=pa>2&&Sa[pa-1].trim()===""&&Sa[pa-2].trim()==="",Wn=Sa.every(Nn=>/^\s*(?:#[^\n\r]*)?$/.test(Nn));if(!da&&/#[^\n\r]*$/.test(Sa[pa-1]))return null;let Li=null;Wn?Li=kn(Sa):Li=ii(Xi,{parser:"graphql"},{stripTrailingHardline:!0}),Li?(Li=zr(Li,!1),!Ui&&Kn&&ji.push(""),ji.push(Li),!da&&ea&&ji.push("")):!Ui&&!da&&Kn&&ji.push(""),Do&&ji.push(Do)}return["`",Hr([Sn,An(Sn,ji)]),Sn,"`"]}function kn(Vn){let pi=[],ii=!1,mi=Vn.map(Un=>Un.trim());for(let[Un,zn]of mi.entries())zn!==""&&(mi[Un-1]===""&&ii?pi.push([Sn,zn]):pi.push(zn),ii=!0);return pi.length===0?null:An(Sn,pi)}Mn.exports=Kr}}),Yp=Eo({"src/language-js/embed/html.js"(Qr,Mn){hn();var{builders:{indent:Hr,line:An,hardline:Sn,group:zr},utils:{mapDoc:Yr}}=tc(),{printTemplateExpressions:Kr,uncookTemplateElementValue:kn}=mp(),Vn=0;function pi(ii,mi,Un,zn,ji){let{parser:oa}=ji,ca=ii.getValue(),Ui=Vn;Vn=Vn+1>>>0;let da=ui=>`PRETTIER_HTML_PLACEHOLDER_${ui}_${Ui}_IN_JS`,Xi=ca.quasis.map((ui,vi,Vi)=>vi===Vi.length-1?ui.value.cooked:ui.value.cooked+da(vi)).join(""),Sa=Kr(ii,mi);if(Sa.length===0&&Xi.trim().length===0)return"``";let pa=new RegExp(da("(\\d+)"),"g"),Do=0,Kn=Un(Xi,{parser:oa,__onHtmlRoot(ui){Do=ui.children.length}},{stripTrailingHardline:!0}),ea=Yr(Kn,ui=>{if(typeof ui!="string")return ui;let vi=[],Vi=ui.split(pa);for(let Wi=0;Wi<Vi.length;Wi++){let aa=Vi[Wi];if(Wi%2===0){aa&&(aa=kn(aa),zn.__embeddedInHtml&&(aa=aa.replace(/<\/(script)\b/gi,"<\\/$1")),vi.push(aa));continue}let Ra=Number(aa);vi.push(Sa[Ra])}return vi}),Wn=/^\s/.test(Xi)?" ":"",Li=/\s$/.test(Xi)?" ":"",Nn=zn.htmlWhitespaceSensitivity==="ignore"?Sn:Wn&&Li?An:null;return zr(Nn?["`",Hr([Nn,zr(ea)]),Nn,"`"]:["`",Wn,Do>1?Hr(zr(ea)):zr(ea),Li,"`"])}Mn.exports=pi}}),Kp=Eo({"src/language-js/embed.js"(Qr,Mn){hn();var{hasComment:Hr,CommentCheckFlags:An,isObjectProperty:Sn}=zc(),zr=qf(),Yr=Zd(),Kr=vf(),kn=Yp();function Vn(Kn){if(mi(Kn)||oa(Kn)||ca(Kn)||Un(Kn))return"css";if(Xi(Kn))return"graphql";if(pa(Kn))return"html";if(zn(Kn))return"angular";if(ii(Kn))return"markdown"}function pi(Kn,ea,Wn,Li){let Nn=Kn.getValue();if(Nn.type!=="TemplateLiteral"||Do(Nn))return;let ui=Vn(Kn);if(ui){if(ui==="markdown")return zr(Kn,ea,Wn);if(ui==="css")return Yr(Kn,ea,Wn);if(ui==="graphql")return Kr(Kn,ea,Wn);if(ui==="html"||ui==="angular")return kn(Kn,ea,Wn,Li,{parser:ui})}}function ii(Kn){let ea=Kn.getValue(),Wn=Kn.getParentNode();return Wn&&Wn.type==="TaggedTemplateExpression"&&ea.quasis.length===1&&Wn.tag.type==="Identifier"&&(Wn.tag.name==="md"||Wn.tag.name==="markdown")}function mi(Kn){let ea=Kn.getValue(),Wn=Kn.getParentNode(),Li=Kn.getParentNode(1);return Li&&ea.quasis&&Wn.type==="JSXExpressionContainer"&&Li.type==="JSXElement"&&Li.openingElement.name.name==="style"&&Li.openingElement.attributes.some(Nn=>Nn.name.name==="jsx")||Wn&&Wn.type==="TaggedTemplateExpression"&&Wn.tag.type==="Identifier"&&Wn.tag.name==="css"||Wn&&Wn.type==="TaggedTemplateExpression"&&Wn.tag.type==="MemberExpression"&&Wn.tag.object.name==="css"&&(Wn.tag.property.name==="global"||Wn.tag.property.name==="resolve")}function Un(Kn){return Kn.match(ea=>ea.type==="TemplateLiteral",(ea,Wn)=>ea.type==="ArrayExpression"&&Wn==="elements",(ea,Wn)=>Sn(ea)&&ea.key.type==="Identifier"&&ea.key.name==="styles"&&Wn==="value",...ji)}function zn(Kn){return Kn.match(ea=>ea.type==="TemplateLiteral",(ea,Wn)=>Sn(ea)&&ea.key.type==="Identifier"&&ea.key.name==="template"&&Wn==="value",...ji)}var ji=[(Kn,ea)=>Kn.type==="ObjectExpression"&&ea==="properties",(Kn,ea)=>Kn.type==="CallExpression"&&Kn.callee.type==="Identifier"&&Kn.callee.name==="Component"&&ea==="arguments",(Kn,ea)=>Kn.type==="Decorator"&&ea==="expression"];function oa(Kn){let ea=Kn.getParentNode();if(!ea||ea.type!=="TaggedTemplateExpression")return!1;let Wn=ea.tag.type==="ParenthesizedExpression"?ea.tag.expression:ea.tag;switch(Wn.type){case"MemberExpression":return Ui(Wn.object)||da(Wn);case"CallExpression":return Ui(Wn.callee)||Wn.callee.type==="MemberExpression"&&(Wn.callee.object.type==="MemberExpression"&&(Ui(Wn.callee.object.object)||da(Wn.cal
|
|||
|
`,os={EOL:vo,tmpdir:Aa,tmpDir:Ma,networkInterfaces:to,getNetworkInterfaces:Ia,release:ro,type:Ka,cpus:Bo,totalmem:ds,freemem:Fm,uptime:rf,loadavg:Mf,hostname:Wf,endianness:Mp}}}),_s=Eo({"node-modules-polyfills-commonjs:os"(Qr,Mn){hn();var Hr=($o(),Au(xm));if(Hr&&Hr.default){Mn.exports=Hr.default;for(let An in Hr)Mn.exports[An]=Hr[An]}else Hr&&(Mn.exports=Hr)}}),Rs=Eo({"node_modules/detect-newline/index.js"(Qr,Mn){hn();var Hr=An=>{if(typeof An!="string")throw new TypeError("Expected a string");let Sn=An.match(/(?:\r?\n)/g)||[];if(Sn.length===0)return;let zr=Sn.filter(Kr=>Kr===`\r
|
|||
|
`).length,Yr=Sn.length-zr;return zr>Yr?`\r
|
|||
|
`:`
|
|||
|
`};Mn.exports=Hr,Mn.exports.graceful=An=>typeof An=="string"&&Hr(An)||`
|
|||
|
`}}),Ts=Eo({"node_modules/jest-docblock/build/index.js"(Qr){hn(),Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.extract=Un,Qr.parse=ji,Qr.parseWithComments=oa,Qr.print=ca,Qr.strip=zn;function Mn(){let da=_s();return Mn=function(){return da},da}function Hr(){let da=An(Rs());return Hr=function(){return da},da}function An(da){return da&&da.__esModule?da:{default:da}}var Sn=/\*\/$/,zr=/^\/\*\*?/,Yr=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Kr=/(^|\s+)\/\/([^\r\n]*)/g,kn=/^(\r?\n)+/,Vn=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,pi=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,ii=/(\r?\n|^) *\* ?/g,mi=[];function Un(da){let Xi=da.match(Yr);return Xi?Xi[0].trimLeft():""}function zn(da){let Xi=da.match(Yr);return Xi&&Xi[0]?da.substring(Xi[0].length):da}function ji(da){return oa(da).pragmas}function oa(da){let Xi=(0,Hr().default)(da)||Mn().EOL;da=da.replace(zr,"").replace(Sn,"").replace(ii,"$1");let Sa="";for(;Sa!==da;)Sa=da,da=da.replace(Vn,`${Xi}$1 $2${Xi}`);da=da.replace(kn,"").trimRight();let pa=Object.create(null),Do=da.replace(pi,"").replace(kn,"").trimRight(),Kn;for(;Kn=pi.exec(da);){let ea=Kn[2].replace(Kr,"");typeof pa[Kn[1]]=="string"||Array.isArray(pa[Kn[1]])?pa[Kn[1]]=mi.concat(pa[Kn[1]],ea):pa[Kn[1]]=ea}return{comments:Do,pragmas:pa}}function ca(da){let{comments:Xi="",pragmas:Sa={}}=da,pa=(0,Hr().default)(Xi)||Mn().EOL,Do="/**",Kn=" *",ea=" */",Wn=Object.keys(Sa),Li=Wn.map(ui=>Ui(ui,Sa[ui])).reduce((ui,vi)=>ui.concat(vi),[]).map(ui=>`${Kn} ${ui}${pa}`).join("");if(!Xi){if(Wn.length===0)return"";if(Wn.length===1&&!Array.isArray(Sa[Wn[0]])){let ui=Sa[Wn[0]];return`${Do} ${Ui(Wn[0],ui)[0]}${ea}`}}let Nn=Xi.split(pa).map(ui=>`${Kn} ${ui}`).join(pa)+pa;return Do+pa+(Xi?Nn:"")+(Xi&&Wn.length?Kn+pa:"")+Li+ea}function Ui(da,Xi){return mi.concat(Xi).map(Sa=>`@${da} ${Sa}`.trim())}}}),Ks=Eo({"src/language-js/utils/get-shebang.js"(Qr,Mn){hn();function Hr(An){if(!An.startsWith("#!"))return"";let Sn=An.indexOf(`
|
|||
|
`);return Sn===-1?An:An.slice(0,Sn)}Mn.exports=Hr}}),Io=Eo({"src/language-js/pragma.js"(Qr,Mn){hn();var{parseWithComments:Hr,strip:An,extract:Sn,print:zr}=Ts(),{normalizeEndOfLine:Yr}=bu(),Kr=Ks();function kn(ii){let mi=Kr(ii);mi&&(ii=ii.slice(mi.length+1));let Un=Sn(ii),{pragmas:zn,comments:ji}=Hr(Un);return{shebang:mi,text:ii,pragmas:zn,comments:ji}}function Vn(ii){let mi=Object.keys(kn(ii).pragmas);return mi.includes("prettier")||mi.includes("format")}function pi(ii){let{shebang:mi,text:Un,pragmas:zn,comments:ji}=kn(ii),oa=An(Un),ca=zr({pragmas:Object.assign({format:""},zn),comments:ji.trimStart()});return(mi?`${mi}
|
|||
|
`:"")+Yr(ca)+(oa.startsWith(`
|
|||
|
`)?`
|
|||
|
`:`
|
|||
|
|
|||
|
`)+oa}Mn.exports={hasPragma:Vn,insertPragma:pi}}}),Hs=Eo({"src/language-js/utils/is-type-cast-comment.js"(Qr,Mn){hn();var Hr=Uc();function An(Sn){return Hr(Sn)&&Sn.value[0]==="*"&&/@(?:type|satisfies)\b/.test(Sn.value)}Mn.exports=An}}),ns=Eo({"src/language-js/comments.js"(Qr,Mn){hn();var{getLast:Hr,hasNewline:An,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Sn,getNextNonSpaceNonCommentCharacter:zr,hasNewlineInRange:Yr,addLeadingComment:Kr,addTrailingComment:kn,addDanglingComment:Vn,getNextNonSpaceNonCommentCharacterIndex:pi,isNonEmptyArray:ii}=xc(),{getFunctionParameters:mi,isPrettierIgnoreComment:Un,isJsxNode:zn,hasFlowShorthandAnnotationComment:ji,hasFlowAnnotationComment:oa,hasIgnoreComment:ca,isCallLikeExpression:Ui,getCallArguments:da,isCallExpression:Xi,isMemberExpression:Sa,isObjectProperty:pa,isLineComment:Do,getComments:Kn,CommentCheckFlags:ea,markerForIfWithoutBlockAndSameLineComment:Wn}=zc(),{locStart:Li,locEnd:Nn}=zd(),ui=Uc(),vi=Hs();function Vi(kt){return[xo,cu,ys,fo,Jo,qa,$s,dl,ks,bl,Du,Oc,Qs,ps,Vo].some(er=>er(kt))}function Wi(kt){return[No,cu,Co,Du,fo,Jo,qa,$s,ps,xs,Ns,bl,Iu,Vo,fs].some(er=>er(kt))}function aa(kt){return[xo,fo,Jo,no,Gs,Qs,bl,Xs,cs,Js,Vo,zs].some(er=>er(kt))}function Ra(kt,er){let ar=(kt.body||kt.properties).find(sr=>{let{type:Or}=sr;return Or!=="EmptyStatement"});ar?Kr(ar,er):Vn(kt,er)}function _o(kt,er){kt.type==="BlockStatement"?Ra(kt,er):Kr(kt,er)}function No(kt){let{comment:er,followingNode:ar}=kt;return ar&&vi(er)?(Kr(ar,er),!0):!1}function fo(kt){let{comment:er,precedingNode:ar,enclosingNode:sr,followingNode:Or,text:Vr}=kt;if((sr==null?void 0:sr.type)!=="IfStatement"||!Or)return!1;if(zr(Vr,er,Nn)===")")return kn(ar,er),!0;if(ar===sr.consequent&&Or===sr.alternate){if(ar.type==="BlockStatement")kn(ar,er);else{let In=er.type==="SingleLine"||er.loc.start.line===er.loc.end.line,Ln=er.loc.start.line===ar.loc.start.line;In&&Ln?Vn(ar,er,Wn):Vn(sr,er)}return!0}return Or.type==="BlockStatement"?(Ra(Or,er),!0):Or.type==="IfStatement"?(_o(Or.consequent,er),!0):sr.consequent===Or?(Kr(Or,er),!0):!1}function Jo(kt){let{comment:er,precedingNode:ar,enclosingNode:sr,followingNode:Or,text:Vr}=kt;return(sr==null?void 0:sr.type)!=="WhileStatement"||!Or?!1:zr(Vr,er,Nn)===")"?(kn(ar,er),!0):Or.type==="BlockStatement"?(Ra(Or,er),!0):sr.body===Or?(Kr(Or,er),!0):!1}function qa(kt){let{comment:er,precedingNode:ar,enclosingNode:sr,followingNode:Or}=kt;return(sr==null?void 0:sr.type)!=="TryStatement"&&(sr==null?void 0:sr.type)!=="CatchClause"||!Or?!1:sr.type==="CatchClause"&&ar?(kn(ar,er),!0):Or.type==="BlockStatement"?(Ra(Or,er),!0):Or.type==="TryStatement"?(_o(Or.finalizer,er),!0):Or.type==="CatchClause"?(_o(Or.body,er),!0):!1}function ys(kt){let{comment:er,enclosingNode:ar,followingNode:sr}=kt;return Sa(ar)&&(sr==null?void 0:sr.type)==="Identifier"?(Kr(ar,er),!0):!1}function Co(kt){let{comment:er,precedingNode:ar,enclosingNode:sr,followingNode:Or,text:Vr}=kt,In=ar&&!Yr(Vr,Nn(ar),Li(er));return(!ar||!In)&&((sr==null?void 0:sr.type)==="ConditionalExpression"||(sr==null?void 0:sr.type)==="TSConditionalType")&&Or?(Kr(Or,er),!0):!1}function no(kt){let{comment:er,precedingNode:ar,enclosingNode:sr}=kt;return pa(sr)&&sr.shorthand&&sr.key===ar&&sr.value.type==="AssignmentPattern"?(kn(sr.value.left,er),!0):!1}var rs=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function $s(kt){let{comment:er,precedingNode:ar,enclosingNode:sr,followingNode:Or}=kt;if(rs.has(sr==null?void 0:sr.type)){if(ii(sr.decorators)&&!(Or&&Or.type==="Decorator"))return kn(Hr(sr.decorators),er),!0;if(sr.body&&Or===sr.body)return Ra(sr.body,er),!0;if(Or){if(sr.superClass&&Or===sr.superClass&&ar&&(ar===sr.id||ar===sr.typeParameters))return kn(ar,er),!0;for(let Vr of["implements","extends","mixins"])if(sr[Vr]&&Or===sr[Vr][0])return ar&&(ar===sr.id||ar===sr.typeParameters||ar===sr.superClass)?kn(ar,er):Vn(sr,er,Vr),!0}}return!1}var Cs=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclar
|
|||
|
`)&&!bl&&!Do(Ns.attributes[0]))return kn(["<",ks("name"),ks("typeParameters")," ",...Vo.map(ks,"attributes"),Ns.selfClosing?" />":">"]);let dl=Ns.attributes&&Ns.attributes.some(Oc=>Oc.value&&Sa(Oc.value)&&Oc.value.value.includes(`
|
|||
|
`)),Du=xs.singleAttributePerLine&&Ns.attributes.length>1?Yr:zr;return kn(["<",ks("name"),ks("typeParameters"),Vn(Vo.map(()=>[Du,ks()],"attributes")),...fo(Ns,xs,bl)],{shouldBreak:dl})}function fo(Vo,xs,ks){return Vo.selfClosing?[zr,"/>"]:Jo(Vo,xs,ks)?[">"]:[Kr,">"]}function Jo(Vo,xs,ks){let Ns=Vo.attributes.length>0&&Do(oa(Vo.attributes),Kn.Trailing);return Vo.attributes.length===0&&!ks||(xs.bracketSameLine||xs.jsxBracketSameLine)&&(!ks||Vo.attributes.length>0)&&!Ns}function qa(Vo,xs,ks){let Ns=Vo.getValue(),bl=[];bl.push("</");let dl=ks("name");return Do(Ns.name,Kn.Leading|Kn.Line)?bl.push(Vn([Yr,dl]),Yr):Do(Ns.name,Kn.Leading|Kn.Block)?bl.push(" ",dl):bl.push(dl),bl.push(">"),bl}function ys(Vo,xs){let ks=Vo.getValue(),Ns=Do(ks),bl=Do(ks,Kn.Line),dl=ks.type==="JSXOpeningFragment";return[dl?"<":"</",Vn([bl?Yr:Ns&&!dl?" ":"",An(Vo,xs,!0)]),bl?Yr:"",">"]}function Co(Vo,xs,ks){let Ns=Hr(Vo,ui(Vo,xs,ks),xs);return aa(Vo,Ns,xs)}function no(Vo,xs){let ks=Vo.getValue(),Ns=Do(ks,Kn.Line);return[An(Vo,xs,!Ns),Ns?Yr:""]}function rs(Vo,xs,ks){let Ns=Vo.getValue();return["{",Vo.call(bl=>{let dl=["...",ks()],Du=bl.getValue();return!Do(Du)||!Li(bl)?dl:[Vn([Kr,Hr(bl,dl,xs)]),Kr]},Ns.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function $s(Vo,xs,ks){let Ns=Vo.getValue();if(Ns.type.startsWith("JSX"))switch(Ns.type){case"JSXAttribute":return Ra(Vo,xs,ks);case"JSXIdentifier":return String(Ns.name);case"JSXNamespacedName":return zn(":",[ks("namespace"),ks("name")]);case"JSXMemberExpression":return zn(".",[ks("object"),ks("property")]);case"JSXSpreadAttribute":return rs(Vo,xs,ks);case"JSXSpreadChild":return rs(Vo,xs,ks);case"JSXExpressionContainer":return _o(Vo,xs,ks);case"JSXFragment":case"JSXElement":return Co(Vo,xs,ks);case"JSXOpeningElement":return No(Vo,xs,ks);case"JSXClosingElement":return qa(Vo,xs,ks);case"JSXOpeningFragment":case"JSXClosingFragment":return ys(Vo,xs);case"JSXEmptyExpression":return no(Vo,xs);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(Ns.type)}.`)}}var Cs=`
|
|||
|
\r `,Qs=new RegExp("(["+Cs+"]+)"),So=new RegExp("[^"+Cs+"]"),cs=Vo=>Vo.replace(new RegExp("(?:^"+Qs.source+"|"+Qs.source+"$)"),"");function Xs(Vo){if(Vo.children.length===0)return!0;if(Vo.children.length>1)return!1;let xs=Vo.children[0];return xs.type==="JSXText"&&!Gs(xs)}function Gs(Vo){return Vo.type==="JSXText"&&(So.test(da(Vo))||!/\n/.test(da(Vo)))}function cu(Vo){return Vo.type==="JSXExpressionContainer"&&Sa(Vo.expression)&&Vo.expression.value===" "&&!Do(Vo.expression)}function ps(Vo){let xs=Vo.getValue(),ks=Vo.getParentNode();if(!ks||!xs||!Ui(xs)||!Ui(ks))return!1;let Ns=ks.children.indexOf(xs),bl=null;for(let dl=Ns;dl>0;dl--){let Du=ks.children[dl-1];if(!(Du.type==="JSXText"&&!Gs(Du))){bl=Du;break}}return bl&&bl.type==="JSXExpressionContainer"&&bl.expression.type==="JSXEmptyExpression"&&ea(bl.expression)}Mn.exports={hasJsxIgnoreComment:ps,printJsx:$s}}}),Zs=Eo({"src/language-js/print/misc.js"(Qr,Mn){hn();var{isNonEmptyArray:Hr}=xc(),{builders:{indent:An,join:Sn,line:zr}}=tc(),{isFlowAnnotationComment:Yr}=zc();function Kr(oa){let ca=oa.getValue();return!ca.optional||ca.type==="Identifier"&&ca===oa.getParentNode().key?"":ca.type==="OptionalCallExpression"||ca.type==="OptionalMemberExpression"&&ca.computed?"?.":"?"}function kn(oa){return oa.getValue().definite||oa.match(void 0,(ca,Ui)=>Ui==="id"&&ca.type==="VariableDeclarator"&&ca.definite)?"!":""}function Vn(oa,ca,Ui){let da=oa.getValue();return da.typeArguments?Ui("typeArguments"):da.typeParameters?Ui("typeParameters"):""}function pi(oa,ca,Ui){let da=oa.getValue();if(!da.typeAnnotation)return"";let Xi=oa.getParentNode(),Sa=Xi.type==="DeclareFunction"&&Xi.id===da;return Yr(ca.originalText,da.typeAnnotation)?[" /*: ",Ui("typeAnnotation")," */"]:[Sa?"":": ",Ui("typeAnnotation")]}function ii(oa,ca,Ui){return["::",Ui("callee")]}function mi(oa,ca,Ui){let da=oa.getValue();return Hr(da.modifiers)?[Sn(" ",oa.map(Ui,"modifiers"))," "]:""}function Un(oa,ca,Ui){return oa.type==="EmptyStatement"?";":oa.type==="BlockStatement"||Ui?[" ",ca]:An([zr,ca])}function zn(oa,ca,Ui){return["...",Ui("argument"),pi(oa,ca,Ui)]}function ji(oa,ca){let Ui=oa.slice(1,-1);if(Ui.includes('"')||Ui.includes("'"))return oa;let da=ca.singleQuote?"'":'"';return da+Ui+da}Mn.exports={printOptionalToken:Kr,printDefiniteToken:kn,printFunctionTypeParameters:Vn,printBindExpressionCallee:ii,printTypeScriptModifiers:mi,printTypeAnnotation:pi,printRestSpread:zn,adjustClause:Un,printDirective:ji}}}),hl=Eo({"src/language-js/print/array.js"(Qr,Mn){hn();var{printDanglingComments:Hr}=Hu(),{builders:{line:An,softline:Sn,hardline:zr,group:Yr,indent:Kr,ifBreak:kn,fill:Vn}}=tc(),{getLast:pi,hasNewline:ii}=xc(),{shouldPrintComma:mi,hasComment:Un,CommentCheckFlags:zn,isNextLineEmpty:ji,isNumericLiteral:oa,isSignedNumericLiteral:ca}=zc(),{locStart:Ui}=zd(),{printOptionalToken:da,printTypeAnnotation:Xi}=Zs();function Sa(ea,Wn,Li){let Nn=ea.getValue(),ui=[],vi=Nn.type==="TupleExpression"?"#[":"[",Vi="]";if(Nn.elements.length===0)Un(Nn,zn.Dangling)?ui.push(Yr([vi,Hr(ea,Wn),Sn,Vi])):ui.push(vi,Vi);else{let Wi=pi(Nn.elements),aa=!(Wi&&Wi.type==="RestElement"),Ra=Wi===null,_o=Symbol("array"),No=!Wn.__inJestEach&&Nn.elements.length>1&&Nn.elements.every((qa,ys,Co)=>{let no=qa&&qa.type;if(no!=="ArrayExpression"&&no!=="ObjectExpression")return!1;let rs=Co[ys+1];if(rs&&no!==rs.type)return!1;let $s=no==="ArrayExpression"?"elements":"properties";return qa[$s]&&qa[$s].length>1}),fo=pa(Nn,Wn),Jo=aa?Ra?",":mi(Wn)?fo?kn(",","",{groupId:_o}):kn(","):"":"";ui.push(Yr([vi,Kr([Sn,fo?Kn(ea,Wn,Li,Jo):[Do(ea,Wn,"elements",Li),Jo],Hr(ea,Wn,!0)]),Sn,Vi],{shouldBreak:No,id:_o}))}return ui.push(da(ea),Xi(ea,Wn,Li)),ui}function pa(ea,Wn){return ea.elements.length>1&&ea.elements.every(Li=>Li&&(oa(Li)||ca(Li)&&!Un(Li.argument))&&!Un(Li,zn.Trailing|zn.Line,Nn=>!ii(Wn.originalText,Ui(Nn),{backwards:!0})))}function Do(ea,Wn,Li,Nn){let ui=[],vi=[];return ea.each(Vi=>{ui.push(vi,Yr(Nn())),vi=[",",An],Vi.getValue()&&ji(Vi.getValue(),Wn)&&vi.push(Sn)},Li),ui}function Kn(ea,Wn,Li,Nn){let ui=[];return ea.each((vi,Vi,Wi)=>{let aa=Vi===Wi.length-1;ui.push([Li(),a
|
|||
|
`):ji(So)}function $s(So,cs,Xs){return Do(So)?(cs=Vn(cs),typeof cs=="string"&&An(cs)<Xs.tabWidth+3):!1}function Cs(So,cs){let Xs=Qs(So);if(Hr(Xs)){if(Xs.length>1)return!0;if(Xs.length===1){let cu=Xs[0];if(cu.type==="TSUnionType"||cu.type==="UnionTypeAnnotation"||cu.type==="TSIntersectionType"||cu.type==="IntersectionTypeAnnotation"||cu.type==="TSTypeLiteral"||cu.type==="ObjectTypeAnnotation")return!0}let Gs=So.typeParameters?"typeParameters":"typeArguments";if(pi(cs(Gs)))return!0}return!1}function Qs(So){return So.typeParameters&&So.typeParameters.params||So.typeArguments&&So.typeArguments.params}Mn.exports={printVariableDeclarator:Nn,printAssignmentExpression:Li,printAssignment:Wn,isArrowFunctionVariableDeclarator:Jo}}}),Nu=Eo({"src/language-js/print/function-parameters.js"(Qr,Mn){hn();var{getNextNonSpaceNonCommentCharacter:Hr}=xc(),{printDanglingComments:An}=Hu(),{builders:{line:Sn,hardline:zr,softline:Yr,group:Kr,indent:kn,ifBreak:Vn},utils:{removeLines:pi,willBreak:ii}}=tc(),{getFunctionParameters:mi,iterateFunctionParametersPath:Un,isSimpleType:zn,isTestCall:ji,isTypeAnnotationAFunction:oa,isObjectType:ca,isObjectTypePropertyAFunction:Ui,hasRestParameter:da,shouldPrintComma:Xi,hasComment:Sa,isNextLineEmpty:pa}=zc(),{locEnd:Do}=zd(),{ArgExpansionBailout:Kn}=Xd(),{printFunctionTypeParameters:ea}=Zs();function Wn(vi,Vi,Wi,aa,Ra){let _o=vi.getValue(),No=mi(_o),fo=Ra?ea(vi,Wi,Vi):"";if(No.length===0)return[fo,"(",An(vi,Wi,!0,rs=>Hr(Wi.originalText,rs,Do)===")"),")"];let Jo=vi.getParentNode(),qa=ji(Jo),ys=Li(_o),Co=[];if(Un(vi,(rs,$s)=>{let Cs=$s===No.length-1;Cs&&_o.rest&&Co.push("..."),Co.push(Vi()),!Cs&&(Co.push(","),qa||ys?Co.push(" "):pa(No[$s],Wi)?Co.push(zr,zr):Co.push(Sn))}),aa){if(ii(fo)||ii(Co))throw new Kn;return Kr([pi(fo),"(",pi(Co),")"])}let no=No.every(rs=>!rs.decorators);return ys&&no?[fo,"(",...Co,")"]:qa?[fo,"(",...Co,")"]:(Ui(Jo)||oa(Jo)||Jo.type==="TypeAlias"||Jo.type==="UnionTypeAnnotation"||Jo.type==="TSUnionType"||Jo.type==="IntersectionTypeAnnotation"||Jo.type==="FunctionTypeAnnotation"&&Jo.returnType===_o)&&No.length===1&&No[0].name===null&&_o.this!==No[0]&&No[0].typeAnnotation&&_o.typeParameters===null&&zn(No[0].typeAnnotation)&&!_o.rest?Wi.arrowParens==="always"?["(",...Co,")"]:Co:[fo,"(",kn([Yr,...Co]),Vn(!da(_o)&&Xi(Wi,"all")?",":""),Yr,")"]}function Li(vi){if(!vi)return!1;let Vi=mi(vi);if(Vi.length!==1)return!1;let[Wi]=Vi;return!Sa(Wi)&&(Wi.type==="ObjectPattern"||Wi.type==="ArrayPattern"||Wi.type==="Identifier"&&Wi.typeAnnotation&&(Wi.typeAnnotation.type==="TypeAnnotation"||Wi.typeAnnotation.type==="TSTypeAnnotation")&&ca(Wi.typeAnnotation.typeAnnotation)||Wi.type==="FunctionTypeParam"&&ca(Wi.typeAnnotation)||Wi.type==="AssignmentPattern"&&(Wi.left.type==="ObjectPattern"||Wi.left.type==="ArrayPattern")&&(Wi.right.type==="Identifier"||Wi.right.type==="ObjectExpression"&&Wi.right.properties.length===0||Wi.right.type==="ArrayExpression"&&Wi.right.elements.length===0))}function Nn(vi){let Vi;return vi.returnType?(Vi=vi.returnType,Vi.typeAnnotation&&(Vi=Vi.typeAnnotation)):vi.typeAnnotation&&(Vi=vi.typeAnnotation),Vi}function ui(vi,Vi){let Wi=Nn(vi);if(!Wi)return!1;let aa=vi.typeParameters&&vi.typeParameters.params;if(aa){if(aa.length>1)return!1;if(aa.length===1){let Ra=aa[0];if(Ra.constraint||Ra.default)return!1}}return mi(vi).length===1&&(ca(Wi)||ii(Vi))}Mn.exports={printFunctionParameters:Wn,shouldHugFunctionParameters:Li,shouldGroupFunctionParameters:ui}}}),Ea=Eo({"src/language-js/print/type-annotation.js"(Qr,Mn){hn();var{printComments:Hr,printDanglingComments:An}=Hu(),{isNonEmptyArray:Sn}=xc(),{builders:{group:zr,join:Yr,line:Kr,softline:kn,indent:Vn,align:pi,ifBreak:ii}}=tc(),mi=as(),{locStart:Un}=zd(),{isSimpleType:zn,isObjectType:ji,hasLeadingOwnLineComment:oa,isObjectTypePropertyAFunction:ca,shouldPrintComma:Ui}=zc(),{printAssignment:da}=wu(),{printFunctionParameters:Xi,shouldGroupFunctionParameters:Sa}=Nu(),{printArrayItems:pa}=hl();function Do(Wi){if(zn(Wi)||ji(Wi))return!0;if(Wi.type==="UnionTypeAnnotation"||Wi.type==="TSUnionType"){let aa=Wi.types.filter(_o=>_o.type==="VoidTypeAnnot
|
|||
|
`);return zn.length>1&&zn.every(ji=>ji.trim()[0]==="*")}function mi(Un){let zn=Un.value.split(`
|
|||
|
`);return["/*",An(Sn,zn.map((ji,oa)=>oa===0?ji.trimEnd():" "+(oa<zn.length-1?ji.trim():ji.trimStart()))),"*/"]}Mn.exports={printComment:pi}}}),ap=Eo({"src/language-js/print/literal.js"(Qr,Mn){hn();var{printString:Hr,printNumber:An}=xc(),{replaceTextEndOfLine:Sn}=dp(),{printDirective:zr}=Zs();function Yr(pi,ii){let mi=pi.getNode();switch(mi.type){case"RegExpLiteral":return Vn(mi);case"BigIntLiteral":return kn(mi.bigint||mi.extra.raw);case"NumericLiteral":return An(mi.extra.raw);case"StringLiteral":return Sn(Hr(mi.extra.raw,ii));case"NullLiteral":return"null";case"BooleanLiteral":return String(mi.value);case"DecimalLiteral":return An(mi.value)+"m";case"Literal":{if(mi.regex)return Vn(mi.regex);if(mi.bigint)return kn(mi.raw);if(mi.decimal)return An(mi.decimal)+"m";let{value:Un}=mi;return typeof Un=="number"?An(mi.raw):typeof Un=="string"?Kr(pi)?zr(mi.raw,ii):Sn(Hr(mi.raw,ii)):String(Un)}}}function Kr(pi){if(pi.getName()!=="expression")return;let ii=pi.getParentNode();return ii.type==="ExpressionStatement"&&ii.directive}function kn(pi){return pi.toLowerCase()}function Vn(pi){let{pattern:ii,flags:mi}=pi;return mi=[...mi].sort().join(""),`/${ii}/${mi}`}Mn.exports={printLiteral:Yr}}}),qd=Eo({"src/language-js/printer-estree.js"(Qr,Mn){hn();var{printDanglingComments:Hr}=Hu(),{hasNewline:An}=xc(),{builders:{join:Sn,line:zr,hardline:Yr,softline:Kr,group:kn,indent:Vn},utils:{replaceTextEndOfLine:pi}}=tc(),ii=Kp(),mi=wm(),{insertPragma:Un}=Io(),zn=ns(),ji=as(),oa=us(),{hasFlowShorthandAnnotationComment:ca,hasComment:Ui,CommentCheckFlags:da,isTheOnlyJsxElementInMarkdown:Xi,isLineComment:Sa,isNextLineEmpty:pa,needsHardlineAfterDanglingComment:Do,hasIgnoreComment:Kn,isCallExpression:ea,isMemberExpression:Wn,markerForIfWithoutBlockAndSameLineComment:Li}=zc(),{locStart:Nn,locEnd:ui}=zd(),vi=Uc(),{printHtmlBinding:Vi,isVueEventBindingExpression:Wi}=gs(),{printAngular:aa}=sl(),{printJsx:Ra,hasJsxIgnoreComment:_o}=jl(),{printFlow:No}=Yl(),{printTypescript:fo}=zu(),{printOptionalToken:Jo,printBindExpressionCallee:qa,printTypeAnnotation:ys,adjustClause:Co,printRestSpread:no,printDefiniteToken:rs,printDirective:$s}=Zs(),{printImportDeclaration:Cs,printExportDeclaration:Qs,printExportAllDeclaration:So,printModuleSpecifier:cs}=el(),{printTernary:Xs}=Ju(),{printTemplateLiteral:Gs}=mp(),{printArray:cu}=hl(),{printObject:ps}=ll(),{printClass:Vo,printClassMethod:xs,printClassProperty:ks}=du(),{printProperty:Ns}=Vu(),{printFunction:bl,printArrowFunction:dl,printMethod:Du,printReturnStatement:Oc,printThrowStatement:hc}=Hl(),{printCallExpression:Pu}=Vl(),{printVariableDeclarator:Iu,printAssignmentExpression:zs}=wu(),{printBinaryishExpression:xo}=rl(),{printSwitchCaseConsequent:Js}=cc(),{printMemberExpression:fs}=Wl(),{printBlock:Ys,printBlockBody:Su}=qc(),{printComment:Ie}=Td(),{printLiteral:kt}=ap(),{printDecorators:er}=cl();function ar(Vr,In,Ln,zi){let Ba=sr(Vr,In,Ln,zi);if(!Ba)return"";let Xo=Vr.getValue(),{type:Qo}=Xo;if(Qo==="ClassMethod"||Qo==="ClassPrivateMethod"||Qo==="ClassProperty"||Qo==="ClassAccessorProperty"||Qo==="AccessorProperty"||Qo==="TSAbstractAccessorProperty"||Qo==="PropertyDefinition"||Qo==="TSAbstractPropertyDefinition"||Qo==="ClassPrivateProperty"||Qo==="MethodDefinition"||Qo==="TSAbstractMethodDefinition"||Qo==="TSDeclareMethod")return Ba;let ss=[Ba],js=er(Vr,In,Ln),ml=Xo.type==="ClassExpression"&&js;if(js&&(ss=[...js,Ba],!ml))return kn(ss);if(!ji(Vr,In))return zi&&zi.needsSemi&&ss.unshift(";"),ss.length===1&&ss[0]===Ba?Ba:ss;if(ml&&(ss=[Vn([zr,...ss])]),ss.unshift("("),zi&&zi.needsSemi&&ss.unshift(";"),ca(Xo)){let[Ws]=Xo.trailingComments;ss.push(" /*",Ws.value.trimStart(),"*/"),Ws.printed=!0}return ml&&ss.push(zr),ss.push(")"),ss}function sr(Vr,In,Ln,zi){let Ba=Vr.getValue(),Xo=In.semi?";":"";if(!Ba)return"";if(typeof Ba=="string")return Ba;for(let ss of[kt,Vi,aa,Ra,No,fo]){let js=ss(Vr,In,Ln);if(typeof js<"u")return js}let Qo=[];switch(Ba.type){case"JsExpressionRoot":return Ln("node");case"JsonRoot":return[Ln("node"),Yr];case"File":return Ba.program&&Ba.program.interpreter&&Qo.push(Ln(["program","interpreter"])),Qo.push(Ln("p
|
|||
|
|
|||
|
`:"")+Hr.insertPragma(kn)}Mn.exports={hasPragma:Sn,insertPragma:zr}}}),fm=Eo({"src/language-css/utils/index.js"(Qr,Mn){hn();var Hr=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 An(ps,Vo){let xs=Array.isArray(Vo)?Vo:[Vo],ks=-1,Ns;for(;Ns=ps.getParentNode(++ks);)if(xs.includes(Ns.type))return ks;return-1}function Sn(ps,Vo){let xs=An(ps,Vo);return xs===-1?null:ps.getParentNode(xs)}function zr(ps){var Vo;let xs=Sn(ps,"css-decl");return xs==null||(Vo=xs.prop)===null||Vo===void 0?void 0:Vo.toLowerCase()}var Yr=new Set(["initial","inherit","unset","revert"]);function Kr(ps){return Yr.has(ps.toLowerCase())}function kn(ps,Vo){let xs=Sn(ps,"css-atrule");return(xs==null?void 0:xs.name)&&xs.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Vo.toLowerCase())}function Vn(ps){return ps.includes("$")||ps.includes("@")||ps.includes("#")||ps.startsWith("%")||ps.startsWith("--")||ps.startsWith(":--")||ps.includes("(")&&ps.includes(")")?ps:ps.toLowerCase()}function pi(ps,Vo){var xs;let ks=Sn(ps,"value-func");return(ks==null||(xs=ks.value)===null||xs===void 0?void 0:xs.toLowerCase())===Vo}function ii(ps){var Vo;let xs=Sn(ps,"css-rule"),ks=xs==null||(Vo=xs.raws)===null||Vo===void 0?void 0:Vo.selector;return ks&&(ks.startsWith(":import")||ks.startsWith(":export"))}function mi(ps,Vo){let xs=Array.isArray(Vo)?Vo:[Vo],ks=Sn(ps,"css-atrule");return ks&&xs.includes(ks.name.toLowerCase())}function Un(ps){let Vo=ps.getValue(),xs=Sn(ps,"css-atrule");return(xs==null?void 0:xs.name)==="import"&&Vo.groups[0].value==="url"&&Vo.groups.length===2}function zn(ps){return ps.type==="value-func"&&ps.value.toLowerCase()==="url"}function ji(ps,Vo){var xs;let ks=(xs=ps.getParentNode())===null||xs===void 0?void 0:xs.nodes;return ks&&ks.indexOf(Vo)===ks.length-1}function oa(ps){let{selector:Vo}=ps;return Vo?typeof Vo=="string"&&/^@.+:.*$/.test(Vo)||Vo.value&&/^@.+:.*$/.test(Vo.value):!1}function ca(ps){return ps.type==="value-word"&&["from","through","end"].includes(ps.value)}function Ui(ps){return ps.type==="value-word"&&["and","or","not"].includes(ps.value)}function da(ps){return ps.type==="value-word"&&ps.value==="in"}function Xi(ps){return ps.type==="value-operator"&&ps.value==="*"}function Sa(ps){return ps.type==="value-operator"&&ps.value==="/"}function pa(ps){return ps.type==="value-operator"&&ps.value==="+"}function Do(ps){return ps.type==="value-operator"&&ps.value==="-"}function Kn(ps){return ps.type==="value-operator"&&ps.value==="%"}function ea(ps){return Xi(ps)||Sa(ps)||pa(ps)||Do(ps)||Kn(ps)}function Wn(ps){return ps.type==="value-word"&&["==","!="].includes(ps.value)}function Li(ps){return ps.type==="value-word"&&["<",">","<=",">="].includes(ps.value)}function Nn(ps){return ps.type==="css-atrule"&&["if","else","for","each","while"].includes(ps.name)}function ui(ps){var Vo;return((Vo=ps.raws)===null||Vo===void 0?void 0:Vo.params)&&/^\(\s*\)$/.test(ps.raws.params)}function vi(ps){return ps.name.startsWith("prettier-placeholder")}function Vi(ps){return ps.prop.startsWith("@prettier-placeholder")}function Wi(ps,Vo){return ps.value==="$$"&&ps.type==="value-func"&&(Vo==null?void 0:Vo.type)==="value-word"&&!Vo.raws.before}function aa(ps){var Vo,xs;return((Vo=ps.value)===null||Vo===void 0?void 0:Vo.type)==="value-root"&&((xs=ps.value.group)===null||xs===void 0?void 0:xs.type)==="value-value"&&ps.prop.toLowerCase()==="composes"}function Ra(ps){var Vo,xs,ks;return((Vo=ps.value)===null||Vo===void 0||(xs=Vo.group)===null||xs===void 0||(ks=xs.group)===null||ks===void 0?void 0:ks.type)==="value-paren_group"&&ps.value.group.group.open!==null&&ps.value.group.group.close!==null}function _o(ps){var Vo;return((Vo=ps.raws)===null||Vo===void 0?void 0:Vo.before)===""}function No(ps){var Vo,xs;return ps.type==="value-comma_group"&&((Vo=ps.groups)===null||Vo===void 0||(xs=Vo[1])===null||xs===void 0?void 0:xs.type)==="value-colon"}function fo(ps){var Vo;return ps.type==="value-paren_group"&&((Vo=ps.groups)
|
|||
|
`,Sn)+1;return Sn+Hr.column}}}),Bf=Eo({"src/language-css/loc.js"(Qr,Mn){hn();var{skipEverythingButNewLine:Hr}=Rm(),An=ic(),Sn=Tp();function zr(Un,zn){return typeof Un.sourceIndex=="number"?Un.sourceIndex:Un.source?Sn(Un.source.start,zn)-1:null}function Yr(Un,zn){if(Un.type==="css-comment"&&Un.inline)return Hr(zn,Un.source.startOffset);let ji=Un.nodes&&An(Un.nodes);return ji&&Un.source&&!Un.source.end&&(Un=ji),Un.source&&Un.source.end?Sn(Un.source.end,zn):null}function Kr(Un,zn){Un.source&&(Un.source.startOffset=zr(Un,zn),Un.source.endOffset=Yr(Un,zn));for(let ji in Un){let oa=Un[ji];ji==="source"||!oa||typeof oa!="object"||(oa.type==="value-root"||oa.type==="value-unknown"?kn(oa,Vn(Un),oa.text||oa.value):Kr(oa,zn))}}function kn(Un,zn,ji){Un.source&&(Un.source.startOffset=zr(Un,ji)+zn,Un.source.endOffset=Yr(Un,ji)+zn);for(let oa in Un){let ca=Un[oa];oa==="source"||!ca||typeof ca!="object"||kn(ca,zn,ji)}}function Vn(Un){let zn=Un.source.startOffset;return typeof Un.prop=="string"&&(zn+=Un.prop.length),Un.type==="css-atrule"&&typeof Un.name=="string"&&(zn+=1+Un.name.length+Un.raws.afterName.match(/^\s*:?\s*/)[0].length),Un.type!=="css-atrule"&&Un.raws&&typeof Un.raws.between=="string"&&(zn+=Un.raws.between.length),zn}function pi(Un){let zn="initial",ji="initial",oa,ca=!1,Ui=[];for(let da=0;da<Un.length;da++){let Xi=Un[da];switch(zn){case"initial":if(Xi==="'"){zn="single-quotes";continue}if(Xi==='"'){zn="double-quotes";continue}if((Xi==="u"||Xi==="U")&&Un.slice(da,da+4).toLowerCase()==="url("){zn="url",da+=3;continue}if(Xi==="*"&&Un[da-1]==="/"){zn="comment-block";continue}if(Xi==="/"&&Un[da-1]==="/"){zn="comment-inline",oa=da-1;continue}continue;case"single-quotes":if(Xi==="'"&&Un[da-1]!=="\\"&&(zn=ji,ji="initial"),Xi===`
|
|||
|
`||Xi==="\r")return Un;continue;case"double-quotes":if(Xi==='"'&&Un[da-1]!=="\\"&&(zn=ji,ji="initial"),Xi===`
|
|||
|
`||Xi==="\r")return Un;continue;case"url":if(Xi===")"&&(zn="initial"),Xi===`
|
|||
|
`||Xi==="\r")return Un;if(Xi==="'"){zn="single-quotes",ji="url";continue}if(Xi==='"'){zn="double-quotes",ji="url";continue}continue;case"comment-block":Xi==="/"&&Un[da-1]==="*"&&(zn="initial");continue;case"comment-inline":(Xi==='"'||Xi==="'"||Xi==="*")&&(ca=!0),(Xi===`
|
|||
|
`||Xi==="\r")&&(ca&&Ui.push([oa,da]),zn="initial",ca=!1);continue}}for(let[da,Xi]of Ui)Un=Un.slice(0,da)+Un.slice(da,Xi).replace(/["'*]/g," ")+Un.slice(Xi);return Un}function ii(Un){return Un.source.startOffset}function mi(Un){return Un.source.endOffset}Mn.exports={locStart:ii,locEnd:mi,calculateLoc:Kr,replaceQuotesInInlineComments:pi}}}),Pf=Eo({"src/language-css/utils/is-less-parser.js"(Qr,Mn){hn();function Hr(An){return An.parser==="css"||An.parser==="less"}Mn.exports=Hr}}),ep=Eo({"src/language-css/utils/is-scss.js"(Qr,Mn){hn();function Hr(An,Sn){return An==="less"||An==="scss"?An==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(Sn)}Mn.exports=Hr}}),Cp=Eo({"src/language-css/utils/css-units.evaluate.js"(Qr,Mn){Mn.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"}}}),nf=Eo({"src/language-css/utils/print-unit.js"(Qr,Mn){hn();var Hr=Cp();function An(Sn){let zr=Sn.toLowerCase();return Object.prototype.hasOwnProperty.call(Hr,zr)?Hr[zr]:Sn}Mn.exports=An}}),bf=Eo({"src/language-css/printer-postcss.js"(Qr,Mn){hn();var Hr=ic(),{printNumber:An,printString:Sn,hasNewline:zr,isFrontMatterNode:Yr,isNextLineEmpty:Kr,isNonEmptyArray:kn}=xc(),{builders:{join:Vn,line:pi,hardline:ii,softline:mi,group:Un,fill:zn,indent:ji,dedent:oa,ifBreak:ca,breakParent:Ui},utils:{removeLines:da,getDocParts:Xi}}=tc(),Sa=rd(),pa=nd(),{insertPragma:Do}=Xp(),{getAncestorNode:Kn,getPropOfDeclNode:ea,maybeToLowerCase:Wn,insideValueFunctionNode:Li,insideICSSRuleNode:Nn,insideAtRuleNode:ui,insideURLFunctionInImportAtRuleNode:vi,isKeyframeAtRuleKeywords:Vi,isWideKeywords:Wi,isLastNode:aa,isSCSSControlDirectiveNode:Ra,isDetachedRulesetDeclarationNode:_o,isRelationalOperatorNode:No,isEqualityOperatorNode:fo,isMultiplicationNode:Jo,isDivisionNode:qa,isAdditionNode:ys,isSubtractionNode:Co,isMathOperatorNode:no,isEachKeywordNode:rs,isForKeywordNode:$s,isURLFunctionNode:Cs,isIfElseKeywordNode:Qs,hasComposesNode:So,hasParensAroundNode:cs,hasEmptyRawBefore:Xs,isKeyValuePairNode:Gs,isKeyInValuePairNode:cu,isDetachedRulesetCallNode:ps,isTemplatePlaceholderNode:Vo,isTemplatePropNode:xs,isPostcssSimpleVarNode:ks,isSCSSMapItemNode:Ns,isInlineValueCommentNode:bl,isHashNode:dl,isLeftCurlyBraceNode:Du,isRightCurlyBraceNode:Oc,isWordNode:hc,isColonNode:Pu,isMediaAndSupportsKeywords:Iu,isColorAdjusterFuncNode:zs,lastLineHasInlineComment:xo,isAtWordPlaceholderNode:Js,isConfigurationNode:fs,isParenGroupNode:Ys}=fm(),{locStart:Su,locEnd:Ie}=Bf(),kt=Pf(),er=ep(),ar=nf();function sr(Ws){return Ws.trailingComma==="es5"||Ws.trailingComma==="all"}function Or(Ws,yl,kl){let Zo=Ws.getValue();if(!Zo)return"";if(typeof Zo=="string")return Zo;switch(Zo.type){case"front-matter":return[Zo.raw,ii];case"css-root":{let gu=Vr(Ws,yl,kl),Mu=Zo.raws.after.trim();return Mu.startsWith(";")&&(Mu=Mu.slice(1).trim()),[gu,Mu?` ${Mu}`:"",Xi(gu).length>0?ii:""]}case"css-comment":{let gu=Zo.inline||Zo.raws.inline,Mu=yl.originalText.slice(Su(Zo),Ie(Zo));return gu?Mu.trimEnd():Mu}case"css-rule":return[kl("selector"),Zo.important?" !important":"",Zo.nodes?[Zo.selector&&Zo.selector.type==="selector-unknown"&&xo(Zo.selector.value)?pi:" ","{",Zo.nodes.length>0?ji([ii,Vr(Ws,yl,kl)]):"",ii,"}",_o(Zo)?";":""]:";"];case"css-decl":{let gu=Ws.getParentNode(),{between:Mu}=Zo.raws,bc=Mu.trim(),id=bc===":",La=So(Zo)?da(kl("value")):kl("value");return!id&&xo(bc)&&(La=ji([ii,oa(La)])),[Zo.raws.before.replace(/[\s;]/g,""),gu.type==="css-atrule"&&gu.variable||Nn(Ws)?Zo.prop:Wn(Zo.prop),bc.startsWith("//")?" ":"",bc,Zo.extend?"":" ",kt(yl)&&Zo.extend&&Zo.selector?["extend(",kl("selector"),")"]:"",La,Zo.raws.important?Zo.raws.i
|
|||
|
`).length-1}function ks(xo){xo=typeof xo=="string"?xo:"";let Js=(xo.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return xs(Js)}function Ns(xo){xo=typeof xo=="string"?xo:"";let Js=(xo.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return xs(Js)}function bl(){let xo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(xo,Nn)}).fill(zr)}function dl(xo,Js){let{quote:fs,regex:Ys}=Un(xo,Js);return[fs,xo.replace(Ys,`\\${fs}`),fs]}function Du(xo){let Js=0,fs=xo.getParentNode(Js);for(;fs&&Do(fs,["SubExpression"]);)Js++,fs=xo.getParentNode(Js);return!!(fs&&Do(xo.getParentNode(Js+1),["ConcatStatement"])&&Do(xo.getParentNode(Js+2),["AttrNode"]))}function Oc(xo,Js){let fs=Pu(xo,Js),Ys=Iu(xo,Js);return Ys?Kr([fs,Vn,Sn(Ys)]):fs}function hc(xo,Js){let fs=Pu(xo,Js),Ys=Iu(xo,Js);return Ys?[Kr([fs,Vn,Ys]),pi]:fs}function Pu(xo,Js){return Js("path")}function Iu(xo,Js){let fs=xo.getValue(),Ys=[];if(fs.params.length>0){let Su=xo.map(Js,"params");Ys.push(...Su)}if(fs.hash&&fs.hash.pairs.length>0){let Su=Js("hash");Ys.push(Su)}return Ys.length===0?"":kn(Vn,Ys)}function zs(xo){return["as |",xo.blockParams.join(" "),"|"]}Mn.exports={print:ui,massageAstNode:ca}}}),Ha=Eo({"src/language-handlebars/parsers.js"(){hn()}}),ka=Eo({"node_modules/linguist-languages/data/Handlebars.json"(Qr,Mn){Mn.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),za=Eo({"src/language-handlebars/index.js"(Qr,Mn){hn();var Hr=Wp(),An=ma(),Sn=Ha(),zr=[Hr(ka(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],Yr={glimmer:An};Mn.exports={languages:zr,printers:Yr,parsers:Sn}}}),va=Eo({"src/language-graphql/pragma.js"(Qr,Mn){hn();function Hr(Sn){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(Sn)}function An(Sn){return`# @format
|
|||
|
|
|||
|
`+Sn}Mn.exports={hasPragma:Hr,insertPragma:An}}}),Fa=Eo({"src/language-graphql/loc.js"(Qr,Mn){hn();function Hr(Sn){return typeof Sn.start=="number"?Sn.start:Sn.loc&&Sn.loc.start}function An(Sn){return typeof Sn.end=="number"?Sn.end:Sn.loc&&Sn.loc.end}Mn.exports={locStart:Hr,locEnd:An}}}),On=Eo({"src/language-graphql/printer-graphql.js"(Qr,Mn){hn();var{builders:{join:Hr,hardline:An,line:Sn,softline:zr,group:Yr,indent:Kr,ifBreak:kn}}=tc(),{isNextLineEmpty:Vn,isNonEmptyArray:pi}=xc(),{insertPragma:ii}=va(),{locStart:mi,locEnd:Un}=Fa();function zn(pa,Do,Kn){let ea=pa.getValue();if(!ea)return"";if(typeof ea=="string")return ea;switch(ea.kind){case"Document":{let Wn=[];return pa.each((Li,Nn,ui)=>{Wn.push(Kn()),Nn!==ui.length-1&&(Wn.push(An),Vn(Do.originalText,Li.getValue(),Un)&&Wn.push(An))},"definitions"),[...Wn,An]}case"OperationDefinition":{let Wn=Do.originalText[mi(ea)]!=="{",Li=!!ea.name;return[Wn?ea.operation:"",Wn&&Li?[" ",Kn("name")]:"",Wn&&!Li&&pi(ea.variableDefinitions)?" ":"",pi(ea.variableDefinitions)?Yr(["(",Kr([zr,Hr([kn("",", "),zr],pa.map(Kn,"variableDefinitions"))]),zr,")"]):"",ji(pa,Kn,ea),ea.selectionSet?!Wn&&!Li?"":" ":"",Kn("selectionSet")]}case"FragmentDefinition":return["fragment ",Kn("name"),pi(ea.variableDefinitions)?Yr(["(",Kr([zr,Hr([kn("",", "),zr],pa.map(Kn,"variableDefinitions"))]),zr,")"]):""," on ",Kn("typeCondition"),ji(pa,Kn,ea)," ",Kn("selectionSet")];case"SelectionSet":return["{",Kr([An,Hr(An,oa(pa,Do,Kn,"selections"))]),An,"}"];case"Field":return Yr([ea.alias?[Kn("alias"),": "]:"",Kn("name"),ea.arguments.length>0?Yr(["(",Kr([zr,Hr([kn("",", "),zr],oa(pa,Do,Kn,"arguments"))]),zr,")"]):"",ji(pa,Kn,ea),ea.selectionSet?" ":"",Kn("selectionSet")]);case"Name":return ea.value;case"StringValue":{if(ea.block){let Wn=ea.value.replace(/"""/g,"\\$&").split(`
|
|||
|
`);return Wn.length===1&&(Wn[0]=Wn[0].trim()),Wn.every(Li=>Li==="")&&(Wn.length=0),Hr(An,['"""',...Wn,'"""'])}return['"',ea.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return ea.value;case"BooleanValue":return ea.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",Kn("name")];case"ListValue":return Yr(["[",Kr([zr,Hr([kn("",", "),zr],pa.map(Kn,"values"))]),zr,"]"]);case"ObjectValue":return Yr(["{",Do.bracketSpacing&&ea.fields.length>0?" ":"",Kr([zr,Hr([kn("",", "),zr],pa.map(Kn,"fields"))]),zr,kn("",Do.bracketSpacing&&ea.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[Kn("name"),": ",Kn("value")];case"Directive":return["@",Kn("name"),ea.arguments.length>0?Yr(["(",Kr([zr,Hr([kn("",", "),zr],oa(pa,Do,Kn,"arguments"))]),zr,")"]):""];case"NamedType":return Kn("name");case"VariableDefinition":return[Kn("variable"),": ",Kn("type"),ea.defaultValue?[" = ",Kn("defaultValue")]:"",ji(pa,Kn,ea)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[Kn("description"),ea.description?An:"",ea.kind==="ObjectTypeExtension"?"extend ":"","type ",Kn("name"),ea.interfaces.length>0?[" implements ",...da(pa,Do,Kn)]:"",ji(pa,Kn,ea),ea.fields.length>0?[" {",Kr([An,Hr(An,oa(pa,Do,Kn,"fields"))]),An,"}"]:""];case"FieldDefinition":return[Kn("description"),ea.description?An:"",Kn("name"),ea.arguments.length>0?Yr(["(",Kr([zr,Hr([kn("",", "),zr],oa(pa,Do,Kn,"arguments"))]),zr,")"]):"",": ",Kn("type"),ji(pa,Kn,ea)];case"DirectiveDefinition":return[Kn("description"),ea.description?An:"","directive ","@",Kn("name"),ea.arguments.length>0?Yr(["(",Kr([zr,Hr([kn("",", "),zr],oa(pa,Do,Kn,"arguments"))]),zr,")"]):"",ea.repeatable?" repeatable":""," on ",Hr(" | ",pa.map(Kn,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[Kn("description"),ea.description?An:"",ea.kind==="EnumTypeExtension"?"extend ":"","enum ",Kn("name"),ji(pa,Kn,ea),ea.values.length>0?[" {",Kr([An,Hr(An,oa(pa,Do,Kn,"values"))]),An,"}"]:""];case"EnumValueDefinition":return[Kn("description"),ea.description?An:"",Kn("name"),ji(pa,Kn,ea)];case"InputValueDefinition":return[Kn("description"),ea.description?ea.description.block?An:Sn:"",Kn("name"),": ",Kn("type"),ea.defaultValue?[" = ",Kn("defaultValue")]:"",ji(pa,Kn,ea)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[Kn("description"),ea.description?An:"",ea.kind==="InputObjectTypeExtension"?"extend ":"","input ",Kn("name"),ji(pa,Kn,ea),ea.fields.length>0?[" {",Kr([An,Hr(An,oa(pa,Do,Kn,"fields"))]),An,"}"]:""];case"SchemaExtension":return["extend schema",ji(pa,Kn,ea),...ea.operationTypes.length>0?[" {",Kr([An,Hr(An,oa(pa,Do,Kn,"operationTypes"))]),An,"}"]:[]];case"SchemaDefinition":return[Kn("description"),ea.description?An:"","schema",ji(pa,Kn,ea)," {",ea.operationTypes.length>0?Kr([An,Hr(An,oa(pa,Do,Kn,"operationTypes"))]):"",An,"}"];case"OperationTypeDefinition":return[Kn("operation"),": ",Kn("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[Kn("description"),ea.description?An:"",ea.kind==="InterfaceTypeExtension"?"extend ":"","interface ",Kn("name"),ea.interfaces.length>0?[" implements ",...da(pa,Do,Kn)]:"",ji(pa,Kn,ea),ea.fields.length>0?[" {",Kr([An,Hr(An,oa(pa,Do,Kn,"fields"))]),An,"}"]:""];case"FragmentSpread":return["...",Kn("name"),ji(pa,Kn,ea)];case"InlineFragment":return["...",ea.typeCondition?[" on ",Kn("typeCondition")]:"",ji(pa,Kn,ea)," ",Kn("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return Yr([Kn("description"),ea.description?An:"",Yr([ea.kind==="UnionTypeExtension"?"extend ":"","union ",Kn("name"),ji(pa,Kn,ea),ea.types.length>0?[" =",kn(""," "),Kr([kn([Sn," "]),Hr([Sn,"| "],pa.map(Kn,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[Kn("description"),ea.description?An:"",ea.kind==="ScalarTypeExtension"?"extend ":"","scalar ",Kn("name"),ji(pa,Kn,ea)];case"NonNullType":return[Kn("type"),"!"];case"ListType":return["[",Kn("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(ea.ki
|
|||
|
`)&&(Do.value=Do.value.trim())}Xi.ignoredProperties=new Set(["loc","comments"]);function Sa(pa){var Do;let Kn=pa.getValue();return Kn==null||(Do=Kn.comments)===null||Do===void 0?void 0:Do.some(ea=>ea.value.trim()==="prettier-ignore")}Mn.exports={print:zn,massageAstNode:Xi,hasPrettierIgnore:Sa,insertPragma:ii,printComment:Ui,canAttachComment:ca}}}),Wr=Eo({"src/language-graphql/options.js"(Qr,Mn){hn();var Hr=Ec();Mn.exports={bracketSpacing:Hr.bracketSpacing}}}),sa=Eo({"src/language-graphql/parsers.js"(){hn()}}),Gi=Eo({"node_modules/linguist-languages/data/GraphQL.json"(Qr,Mn){Mn.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),co=Eo({"src/language-graphql/index.js"(Qr,Mn){hn();var Hr=Wp(),An=On(),Sn=Wr(),zr=sa(),Yr=[Hr(Gi(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],Kr={graphql:An};Mn.exports={languages:Yr,options:Sn,printers:Kr,parsers:zr}}}),Xa=Eo({"node_modules/collapse-white-space/index.js"(Qr,Mn){hn(),Mn.exports=Hr;function Hr(An){return String(An).replace(/\s+/g," ")}}}),Po=Eo({"src/language-markdown/loc.js"(Qr,Mn){hn();function Hr(Sn){return Sn.position.start.offset}function An(Sn){return Sn.position.end.offset}Mn.exports={locStart:Hr,locEnd:An}}}),ko=Eo({"src/language-markdown/constants.evaluate.js"(Qr,Mn){Mn.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
|
|||
|
(${zr})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[Li,Nn]of ea.entries()){if(Li%2===1){Kn.push({type:"whitespace",value:/\n/.test(Nn)?`
|
|||
|
`:" "});continue}if((Li===0||Li===ea.length-1)&&Nn==="")continue;let ui=Nn.split(new RegExp(`(${zr})`));for(let[vi,Vi]of ui.entries())if(!((vi===0||vi===ui.length-1)&&Vi==="")){if(vi%2===0){Vi!==""&&Wn({type:"word",value:Vi,kind:Xi,hasLeadingPunctuation:ii.test(Vi[0]),hasTrailingPunctuation:ii.test(Hr(Vi))});continue}Wn(ii.test(Vi)?{type:"word",value:Vi,kind:Do,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:Vi,kind:pi.test(Vi)?pa:Sa,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return Kn;function Wn(Li){let Nn=Hr(Kn);Nn&&Nn.type==="word"&&(Nn.kind===Xi&&Li.kind===Sa&&!Nn.hasTrailingPunctuation||Nn.kind===Sa&&Li.kind===Xi&&!Li.hasLeadingPunctuation?Kn.push({type:"whitespace",value:" "}):!ui(Xi,Do)&&![Nn.value,Li.value].some(vi=>/\u3000/.test(vi))&&Kn.push({type:"whitespace",value:""})),Kn.push(Li);function ui(vi,Vi){return Nn.kind===vi&&Li.kind===Vi||Nn.kind===Vi&&Li.kind===vi}}}function Un(Ui,da){let[,Xi,Sa,pa]=da.slice(Ui.position.start.offset,Ui.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:Xi,marker:Sa,leadingSpaces:pa}}function zn(Ui,da){if(!Ui.ordered||Ui.children.length<2)return!1;let Xi=Number(Un(Ui.children[0],da.originalText).numberText),Sa=Number(Un(Ui.children[1],da.originalText).numberText);if(Xi===0&&Ui.children.length>2){let pa=Number(Un(Ui.children[2],da.originalText).numberText);return Sa===1&&pa===1}return Sa===1}function ji(Ui,da){let{value:Xi}=Ui;return Ui.position.end.offset===da.length&&Xi.endsWith(`
|
|||
|
`)&&da.endsWith(`
|
|||
|
`)?Xi.slice(0,-1):Xi}function oa(Ui,da){return function Xi(Sa,pa,Do){let Kn=Object.assign({},da(Sa,pa,Do));return Kn.children&&(Kn.children=Kn.children.map((ea,Wn)=>Xi(ea,Wn,[Kn,...Do]))),Kn}(Ui,null,[])}function ca(Ui){if((Ui==null?void 0:Ui.type)!=="link"||Ui.children.length!==1)return!1;let[da]=Ui.children;return An(Ui)===An(da)&&Sn(Ui)===Sn(da)}Mn.exports={mapAst:oa,splitText:mi,punctuationPattern:Kr,getFencedCodeBlockValue:ji,getOrderedListItemInfo:Un,hasGitDiffFriendlyOrderedList:zn,INLINE_NODE_TYPES:kn,INLINE_NODE_WRAPPER_TYPES:Vn,isAutolink:ca}}}),ws=Eo({"src/language-markdown/embed.js"(Qr,Mn){hn();var{inferParserByLanguage:Hr,getMaxContinuousCount:An}=xc(),{builders:{hardline:Sn,markAsRoot:zr},utils:{replaceEndOfLine:Yr}}=tc(),Kr=Ac(),{getFencedCodeBlockValue:kn}=Ja();function Vn(pi,ii,mi,Un){let zn=pi.getValue();if(zn.type==="code"&&zn.lang!==null){let ji=Hr(zn.lang,Un);if(ji){let oa=Un.__inJsTemplate?"~":"`",ca=oa.repeat(Math.max(3,An(zn.value,oa)+1)),Ui={parser:ji};zn.lang==="tsx"&&(Ui.filepath="dummy.tsx");let da=mi(kn(zn,Un.originalText),Ui,{stripTrailingHardline:!0});return zr([ca,zn.lang,zn.meta?" "+zn.meta:"",Sn,Yr(da),Sn,ca])}}switch(zn.type){case"front-matter":return Kr(zn,mi);case"importExport":return[mi(zn.value,{parser:"babel"},{stripTrailingHardline:!0}),Sn];case"jsx":return mi(`<$>${zn.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}Mn.exports=Vn}}),Is=Eo({"src/language-markdown/pragma.js"(Qr,Mn){hn();var Hr=Wd(),An=["format","prettier"];function Sn(zr){let Yr=`@(${An.join("|")})`,Kr=new RegExp([`<!--\\s*${Yr}\\s*-->`,`{\\s*\\/\\*\\s*${Yr}\\s*\\*\\/\\s*}`,`<!--.*\r?
|
|||
|
[\\s\\S]*(^|
|
|||
|
)[^\\S
|
|||
|
]*${Yr}[^\\S
|
|||
|
]*($|
|
|||
|
)[\\s\\S]*
|
|||
|
.*-->`].join("|"),"m"),kn=zr.match(Kr);return(kn==null?void 0:kn.index)===0}Mn.exports={startWithPragma:Sn,hasPragma:zr=>Sn(Hr(zr).content.trimStart()),insertPragma:zr=>{let Yr=Hr(zr),Kr=`<!-- @${An[0]} -->`;return Yr.frontMatter?`${Yr.frontMatter.raw}
|
|||
|
|
|||
|
${Kr}
|
|||
|
|
|||
|
${Yr.content}`:`${Kr}
|
|||
|
|
|||
|
${Yr.content}`}}}}),Vs=Eo({"src/language-markdown/print-preprocess.js"(Qr,Mn){hn();var Hr=ic(),{getOrderedListItemInfo:An,mapAst:Sn,splitText:zr}=Ja(),Yr=/^.$/su;function Kr(ca,Ui){return ca=pi(ca,Ui),ca=Un(ca),ca=Vn(ca,Ui),ca=ji(ca,Ui),ca=oa(ca,Ui),ca=zn(ca,Ui),ca=kn(ca),ca=ii(ca),ca}function kn(ca){return Sn(ca,Ui=>Ui.type!=="import"&&Ui.type!=="export"?Ui:Object.assign(Object.assign({},Ui),{},{type:"importExport"}))}function Vn(ca,Ui){return Sn(ca,da=>da.type!=="inlineCode"||Ui.proseWrap==="preserve"?da:Object.assign(Object.assign({},da),{},{value:da.value.replace(/\s+/g," ")}))}function pi(ca,Ui){return Sn(ca,da=>da.type!=="text"||da.value==="*"||da.value==="_"||!Yr.test(da.value)||da.position.end.offset-da.position.start.offset===da.value.length?da:Object.assign(Object.assign({},da),{},{value:Ui.originalText.slice(da.position.start.offset,da.position.end.offset)}))}function ii(ca){return mi(ca,(Ui,da)=>Ui.type==="importExport"&&da.type==="importExport",(Ui,da)=>({type:"importExport",value:Ui.value+`
|
|||
|
|
|||
|
`+da.value,position:{start:Ui.position.start,end:da.position.end}}))}function mi(ca,Ui,da){return Sn(ca,Xi=>{if(!Xi.children)return Xi;let Sa=Xi.children.reduce((pa,Do)=>{let Kn=Hr(pa);return Kn&&Ui(Kn,Do)?pa.splice(-1,1,da(Kn,Do)):pa.push(Do),pa},[]);return Object.assign(Object.assign({},Xi),{},{children:Sa})})}function Un(ca){return mi(ca,(Ui,da)=>Ui.type==="text"&&da.type==="text",(Ui,da)=>({type:"text",value:Ui.value+da.value,position:{start:Ui.position.start,end:da.position.end}}))}function zn(ca,Ui){return Sn(ca,(da,Xi,Sa)=>{let[pa]=Sa;if(da.type!=="text")return da;let{value:Do}=da;return pa.type==="paragraph"&&(Xi===0&&(Do=Do.trimStart()),Xi===pa.children.length-1&&(Do=Do.trimEnd())),{type:"sentence",position:da.position,children:zr(Do,Ui)}})}function ji(ca,Ui){return Sn(ca,(da,Xi,Sa)=>{if(da.type==="code"){let pa=/^\n?(?: {4,}|\t)/.test(Ui.originalText.slice(da.position.start.offset,da.position.end.offset));if(da.isIndented=pa,pa)for(let Do=0;Do<Sa.length;Do++){let Kn=Sa[Do];if(Kn.hasIndentedCodeblock)break;Kn.type==="list"&&(Kn.hasIndentedCodeblock=!0)}}return da})}function oa(ca,Ui){return Sn(ca,(Sa,pa,Do)=>{if(Sa.type==="list"&&Sa.children.length>0){for(let Kn=0;Kn<Do.length;Kn++){let ea=Do[Kn];if(ea.type==="list"&&!ea.isAligned)return Sa.isAligned=!1,Sa}Sa.isAligned=Xi(Sa)}return Sa});function da(Sa){return Sa.children.length===0?-1:Sa.children[0].position.start.column-1}function Xi(Sa){if(!Sa.ordered)return!0;let[pa,Do]=Sa.children;if(An(pa,Ui.originalText).leadingSpaces.length>1)return!0;let Kn=da(pa);if(Kn===-1)return!1;if(Sa.children.length===1)return Kn%Ui.tabWidth===0;let ea=da(Do);return Kn!==ea?!1:Kn%Ui.tabWidth===0?!0:An(Do,Ui.originalText).leadingSpaces.length>1}}Mn.exports=Kr}}),Kl=Eo({"src/language-markdown/clean.js"(Qr,Mn){hn();var Hr=Xa(),{isFrontMatterNode:An}=xc(),{startWithPragma:Sn}=Is(),zr=new Set(["position","raw"]);function Yr(Kr,kn,Vn){if((Kr.type==="front-matter"||Kr.type==="code"||Kr.type==="yaml"||Kr.type==="import"||Kr.type==="export"||Kr.type==="jsx")&&delete kn.value,Kr.type==="list"&&delete kn.isAligned,(Kr.type==="list"||Kr.type==="listItem")&&(delete kn.spread,delete kn.loose),Kr.type==="text"||(Kr.type==="inlineCode"&&(kn.value=Kr.value.replace(/[\t\n ]+/g," ")),Kr.type==="wikiLink"&&(kn.value=Kr.value.trim().replace(/[\t\n]+/g," ")),(Kr.type==="definition"||Kr.type==="linkReference"||Kr.type==="imageReference")&&(kn.label=Hr(Kr.label)),(Kr.type==="definition"||Kr.type==="link"||Kr.type==="image")&&Kr.title&&(kn.title=Kr.title.replace(/\\(["')])/g,"$1")),Vn&&Vn.type==="root"&&Vn.children.length>0&&(Vn.children[0]===Kr||An(Vn.children[0])&&Vn.children[1]===Kr)&&Kr.type==="html"&&Sn(Kr.value)))return null}Yr.ignoredProperties=zr,Mn.exports=Yr}}),Tu=Eo({"src/language-markdown/printer-markdown.js"(Qr,Mn){hn();var Hr=Xa(),{getLast:An,getMinNotPresentContinuousCount:Sn,getMaxContinuousCount:zr,getStringWidth:Yr,isNonEmptyArray:Kr}=xc(),{builders:{breakParent:kn,join:Vn,line:pi,literalline:ii,markAsRoot:mi,hardline:Un,softline:zn,ifBreak:ji,fill:oa,align:ca,indent:Ui,group:da,hardlineWithoutBreakParent:Xi},utils:{normalizeDoc:Sa,replaceTextEndOfLine:pa},printer:{printDocToString:Do}}=tc(),Kn=ws(),{insertPragma:ea}=Is(),{locStart:Wn,locEnd:Li}=Po(),Nn=Vs(),ui=Kl(),{getFencedCodeBlockValue:vi,hasGitDiffFriendlyOrderedList:Vi,splitText:Wi,punctuationPattern:aa,INLINE_NODE_TYPES:Ra,INLINE_NODE_WRAPPER_TYPES:_o,isAutolink:No}=Ja(),fo=new Set(["importExport"]),Jo=["heading","tableCell","link","wikiLink"],qa=new Set(["listItem","definition","footnoteDefinition"]);function ys(zs,xo,Js){let fs=zs.getValue();if(bl(zs))return Wi(xo.originalText.slice(fs.position.start.offset,fs.position.end.offset),xo).map(Ys=>Ys.type==="word"?Ys.value:Ys.value===""?"":So(zs,Ys.value,xo));switch(fs.type){case"front-matter":return xo.originalText.slice(fs.position.start.offset,fs.position.end.offset);case"root":return fs.children.length===0?"":[Sa(Xs(zs,xo,Js)),fo.has(ps(fs).type)?"":Un];case"paragraph":return Gs(zs,xo,Js,{postprocessor:oa});case"sentence":return Gs(zs,xo,Js);case"word":{let Ys=fs.value.replace(
|
|||
|
`)return Un;let fs=Js.proseWrap==="always"&&!Qs(zs,Jo);return xo!==""?fs?pi:" ":fs?zn:""}function cs(zs,xo,Js){let fs=zs.getValue(),Ys=[],Su=zs.map(Or=>Or.map((Vr,In)=>{let Ln=Do(Js(),xo).formatted,zi=Yr(Ln);return Ys[In]=Math.max(Ys[In]||3,zi),{text:Ln,width:zi}},"children"),"children"),Ie=er(!1);if(xo.proseWrap!=="never")return[kn,Ie];let kt=er(!0);return[kn,da(ji(kt,Ie))];function er(Or){let Vr=[sr(Su[0],Or),ar(Or)];return Su.length>1&&Vr.push(Vn(Xi,Su.slice(1).map(In=>sr(In,Or)))),Vn(Xi,Vr)}function ar(Or){return`| ${Ys.map((Vr,In)=>{let Ln=fs.align[In],zi=Ln==="center"||Ln==="left"?":":"-",Ba=Ln==="center"||Ln==="right"?":":"-",Xo=Or?"-":"-".repeat(Vr-2);return`${zi}${Xo}${Ba}`}).join(" | ")} |`}function sr(Or,Vr){return`| ${Or.map((In,Ln)=>{let{text:zi,width:Ba}=In;if(Vr)return zi;let Xo=Ys[Ln]-Ba,Qo=fs.align[Ln],ss=0;Qo==="right"?ss=Xo:Qo==="center"&&(ss=Math.floor(Xo/2));let js=Xo-ss;return`${" ".repeat(ss)}${zi}${" ".repeat(js)}`}).join(" | ")} |`}}function Xs(zs,xo,Js){let fs=[],Ys=null,{children:Su}=zs.getValue();for(let[Ie,kt]of Su.entries())switch(Vo(kt)){case"start":Ys===null&&(Ys={index:Ie,offset:kt.position.end.offset});break;case"end":Ys!==null&&(fs.push({start:Ys,end:{index:Ie,offset:kt.position.start.offset}}),Ys=null);break}return Gs(zs,xo,Js,{processor:(Ie,kt)=>{if(fs.length>0){let er=fs[0];if(kt===er.start.index)return[cu(Su[er.start.index]),xo.originalText.slice(er.start.offset,er.end.offset),cu(Su[er.end.index])];if(er.start.index<kt&&kt<er.end.index)return!1;if(kt===er.end.index)return fs.shift(),!1}return Js()}})}function Gs(zs,xo,Js){let fs=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:Ys}=fs,Su=fs.processor||(()=>Js()),Ie=zs.getValue(),kt=[],er;return zs.each((ar,sr)=>{let Or=ar.getValue(),Vr=Su(ar,sr);if(Vr!==!1){let In={parts:kt,prevNode:er,parentNode:Ie,options:xo};xs(Or,In)&&(kt.push(Un),er&&fo.has(er.type)||(ks(Or,In)||Ns(Or,In))&&kt.push(Un),Ns(Or,In)&&kt.push(Un)),kt.push(Vr),er=Or}},"children"),Ys?Ys(kt):kt}function cu(zs){if(zs.type==="html")return zs.value;if(zs.type==="paragraph"&&Array.isArray(zs.children)&&zs.children.length===1&&zs.children[0].type==="esComment")return["{/* ",zs.children[0].value," */}"]}function ps(zs){let xo=zs;for(;Kr(xo.children);)xo=An(xo.children);return xo}function Vo(zs){let xo;if(zs.type==="html")xo=zs.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let Js;zs.type==="esComment"?Js=zs:zs.type==="paragraph"&&zs.children.length===1&&zs.children[0].type==="esComment"&&(Js=zs.children[0]),Js&&(xo=Js.value.match(/^prettier-ignore(?:-(start|end))?$/))}return xo?xo[1]||"next":!1}function xs(zs,xo){let Js=xo.parts.length===0,fs=Ra.includes(zs.type),Ys=zs.type==="html"&&_o.includes(xo.parentNode.type);return!Js&&!fs&&!Ys}function ks(zs,xo){var Js,fs,Ys;let Su=(xo.prevNode&&xo.prevNode.type)===zs.type&&qa.has(zs.type),Ie=xo.parentNode.type==="listItem"&&!xo.parentNode.loose,kt=((Js=xo.prevNode)===null||Js===void 0?void 0:Js.type)==="listItem"&&xo.prevNode.loose,er=Vo(xo.prevNode)==="next",ar=zs.type==="html"&&((fs=xo.prevNode)===null||fs===void 0?void 0:fs.type)==="html"&&xo.prevNode.position.end.line+1===zs.position.start.line,sr=zs.type==="html"&&xo.parentNode.type==="listItem"&&((Ys=xo.prevNode)===null||Ys===void 0?void 0:Ys.type)==="paragraph"&&xo.prevNode.position.end.line+1===zs.position.start.line;return kt||!(Su||Ie||er||ar||sr)}function Ns(zs,xo){let Js=xo.prevNode&&xo.prevNode.type==="list",fs=zs.type==="code"&&zs.isIndented;return Js&&fs}function bl(zs){let xo=Qs(zs,["linkReference","imageReference"]);return xo&&(xo.type!=="linkReference"||xo.referenceType!=="full")}function dl(zs){let xo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Js=[" ",...Array.isArray(xo)?xo:[xo]];return new RegExp(Js.map(fs=>`\\${fs}`).join("|")).test(zs)?`<${zs}>`:zs}function Du(zs,xo){let Js=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!zs)return"";if(Js)return" "+Du(zs,xo,!1);if(zs=zs.replace(/\\(["')])/g,"$1"),zs.includes('"')&&zs.includes("'")&&!zs.includes(")"))return`(${zs})`;let fs=zs.split("'").l
|
|||
|
`,"\f","\r"," "]),ji=er=>er.replace(/^[\t\n\f\r ]+/,""),oa=er=>er.replace(/[\t\n\f\r ]+$/,""),ca=er=>ji(oa(er)),Ui=er=>er.replace(/^[\t\f\r ]*\n/g,""),da=er=>Ui(oa(er)),Xi=er=>er.split(/[\t\n\f\r ]+/),Sa=er=>er.match(/^[\t\n\f\r ]*/)[0],pa=er=>{let[,ar,sr,Or]=er.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:ar,trailingWhitespace:Or,text:sr}},Do=er=>/[\t\n\f\r ]/.test(er);function Kn(er,ar){return!!(er.type==="ieConditionalComment"&&er.lastChild&&!er.lastChild.isSelfClosing&&!er.lastChild.endSourceSpan||er.type==="ieConditionalComment"&&!er.complete||ks(er)&&er.children.some(sr=>sr.type!=="text"&&sr.type!=="interpolation")||fs(er,ar)&&!Nn(er)&&er.type!=="interpolation")}function ea(er){return er.type==="attribute"||!er.parent||!er.prev?!1:Wn(er.prev)}function Wn(er){return er.type==="comment"&&er.value.trim()==="prettier-ignore"}function Li(er){return er.type==="text"||er.type==="comment"}function Nn(er){return er.type==="element"&&(er.fullName==="script"||er.fullName==="style"||er.fullName==="svg:style"||Un(er)&&(er.name==="script"||er.name==="style"))}function ui(er){return er.children&&!Nn(er)}function vi(er){return Nn(er)||er.type==="interpolation"||Vi(er)}function Vi(er){return Du(er).startsWith("pre")}function Wi(er,ar){let sr=Or();if(sr&&!er.prev&&er.parent&&er.parent.tagDefinition&&er.parent.tagDefinition.ignoreFirstLf)return er.type==="interpolation";return sr;function Or(){return An(er)?!1:(er.type==="text"||er.type==="interpolation")&&er.prev&&(er.prev.type==="text"||er.prev.type==="interpolation")?!0:!er.parent||er.parent.cssDisplay==="none"?!1:ks(er.parent)?!0:!(!er.prev&&(er.parent.type==="root"||ks(er)&&er.parent||Nn(er.parent)||xo(er.parent,ar)||!Gs(er.parent.cssDisplay))||er.prev&&!Vo(er.prev.cssDisplay))}}function aa(er,ar){return An(er)?!1:(er.type==="text"||er.type==="interpolation")&&er.next&&(er.next.type==="text"||er.next.type==="interpolation")?!0:!er.parent||er.parent.cssDisplay==="none"?!1:ks(er.parent)?!0:!(!er.next&&(er.parent.type==="root"||ks(er)&&er.parent||Nn(er.parent)||xo(er.parent,ar)||!cu(er.parent.cssDisplay))||er.next&&!ps(er.next.cssDisplay))}function Ra(er){return xs(er.cssDisplay)&&!Nn(er)}function _o(er){return An(er)||er.next&&er.sourceSpan.end&&er.sourceSpan.end.line+1<er.next.sourceSpan.start.line}function No(er){return fo(er)||er.type==="element"&&er.children.length>0&&(["body","script","style"].includes(er.name)||er.children.some(ar=>Cs(ar)))||er.firstChild&&er.firstChild===er.lastChild&&er.firstChild.type!=="text"&&Co(er.firstChild)&&(!er.lastChild.isTrailingSpaceSensitive||no(er.lastChild))}function fo(er){return er.type==="element"&&er.children.length>0&&(["html","head","ul","ol","select"].includes(er.name)||er.cssDisplay.startsWith("table")&&er.cssDisplay!=="table-cell")}function Jo(er){return rs(er)||er.prev&&qa(er.prev)||ys(er)}function qa(er){return rs(er)||er.type==="element"&&er.fullName==="br"||ys(er)}function ys(er){return Co(er)&&no(er)}function Co(er){return er.hasLeadingSpaces&&(er.prev?er.prev.sourceSpan.end.line<er.sourceSpan.start.line:er.parent.type==="root"||er.parent.startSourceSpan.end.line<er.sourceSpan.start.line)}function no(er){return er.hasTrailingSpaces&&(er.next?er.next.sourceSpan.start.line>er.sourceSpan.end.line:er.parent.type==="root"||er.parent.endSourceSpan&&er.parent.endSourceSpan.start.line>er.sourceSpan.end.line)}function rs(er){switch(er.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(er.name)}return!1}function $s(er){return er.lastChild?$s(er.lastChild):er}function Cs(er){return er.children&&er.children.some(ar=>ar.type!=="text")}function Qs(er){let{type:ar,lang:sr}=er.attrMap;if(ar==="module"||ar==="text/javascript"||ar==="text/babel"||ar==="application/javascript"||sr==="jsx")return"babel";if(ar==="application/x-typescript"||sr==="ts"||sr==="tsx")return"typescript";if(ar==="text/markdown")return"markdown";if(ar==="text/html")return"html";if(ar&&(ar.endsWith("json")||ar.endsWith("importmap"))||ar==="speculationrules")return"json";if(ar==="t
|
|||
|
`)){if(sr.length===0)continue;if(!zn.has(sr[0]))return 0;let Or=Sa(sr).length;sr.length!==Or&&Or<ar&&(ar=Or)}return ar===Number.POSITIVE_INFINITY?0:ar}function hc(er){let ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oc(er);return ar===0?er:er.split(`
|
|||
|
`).map(sr=>sr.slice(ar)).join(`
|
|||
|
`)}function Pu(er,ar){let sr=0;for(let Or=0;Or<er.length;Or++)er[Or]===ar&&sr++;return sr}function Iu(er){return er.replace(/'/g,"'").replace(/"/g,'"')}var zs=new Set(["template","style","script"]);function xo(er,ar){return Js(er,ar)&&!zs.has(er.fullName)}function Js(er,ar){return ar.parser==="vue"&&er.type==="element"&&er.parent.type==="root"&&er.fullName.toLowerCase()!=="html"}function fs(er,ar){return Js(er,ar)&&(xo(er,ar)||er.attrMap.lang&&er.attrMap.lang!=="html")}function Ys(er){let ar=er.fullName;return ar.charAt(0)==="#"||ar==="slot-scope"||ar==="v-slot"||ar.startsWith("v-slot:")}function Su(er,ar){let sr=er.parent;if(!Js(sr,ar))return!1;let Or=sr.fullName,Vr=er.fullName;return Or==="script"&&Vr==="setup"||Or==="style"&&Vr==="vars"}function Ie(er){let ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:er.value;return er.parent.isWhitespaceSensitive?er.parent.isIndentationSensitive?kn(ar):kn(hc(da(ar)),zr):Kr(Yr(Sn,Xi(ar)))}function kt(er,ar){return Js(er,ar)&&er.name==="script"}Mn.exports={htmlTrim:ca,htmlTrimPreserveIndentation:da,hasHtmlWhitespace:Do,getLeadingAndTrailingHtmlWhitespace:pa,canHaveInterpolation:ui,countChars:Pu,countParents:Ns,dedentString:hc,forceBreakChildren:fo,forceBreakContent:No,forceNextEmptyLine:_o,getLastDescendant:$s,getNodeCssStyleDisplay:dl,getNodeCssStyleWhiteSpace:Du,hasPrettierIgnore:ea,inferScriptParser:cs,isVueCustomBlock:xo,isVueNonHtmlBlock:fs,isVueScriptTag:kt,isVueSlotAttribute:Ys,isVueSfcBindingsAttribute:Su,isVueSfcBlock:Js,isDanglingSpaceSensitiveNode:Ra,isIndentationSensitiveNode:Vi,isLeadingSpaceSensitiveNode:Wi,isPreLikeNode:ks,isScriptLikeTag:Nn,isTextLikeNode:Li,isTrailingSpaceSensitiveNode:aa,isWhitespaceSensitiveNode:vi,isUnknownNamespace:Un,preferHardlineAsLeadingSpaces:Jo,preferHardlineAsTrailingSpaces:qa,shouldPreserveContent:Kn,unescapeQuoteEntities:Iu,getTextValueParts:Ie}}}),hu=Eo({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(Qr){hn(),Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.$EOF=0,Qr.$BSPACE=8,Qr.$TAB=9,Qr.$LF=10,Qr.$VTAB=11,Qr.$FF=12,Qr.$CR=13,Qr.$SPACE=32,Qr.$BANG=33,Qr.$DQ=34,Qr.$HASH=35,Qr.$$=36,Qr.$PERCENT=37,Qr.$AMPERSAND=38,Qr.$SQ=39,Qr.$LPAREN=40,Qr.$RPAREN=41,Qr.$STAR=42,Qr.$PLUS=43,Qr.$COMMA=44,Qr.$MINUS=45,Qr.$PERIOD=46,Qr.$SLASH=47,Qr.$COLON=58,Qr.$SEMICOLON=59,Qr.$LT=60,Qr.$EQ=61,Qr.$GT=62,Qr.$QUESTION=63,Qr.$0=48,Qr.$7=55,Qr.$9=57,Qr.$A=65,Qr.$E=69,Qr.$F=70,Qr.$X=88,Qr.$Z=90,Qr.$LBRACKET=91,Qr.$BACKSLASH=92,Qr.$RBRACKET=93,Qr.$CARET=94,Qr.$_=95,Qr.$a=97,Qr.$b=98,Qr.$e=101,Qr.$f=102,Qr.$n=110,Qr.$r=114,Qr.$t=116,Qr.$u=117,Qr.$v=118,Qr.$x=120,Qr.$z=122,Qr.$LBRACE=123,Qr.$BAR=124,Qr.$RBRACE=125,Qr.$NBSP=160,Qr.$PIPE=124,Qr.$TILDA=126,Qr.$AT=64,Qr.$BT=96;function Mn(Kr){return Kr>=Qr.$TAB&&Kr<=Qr.$SPACE||Kr==Qr.$NBSP}Qr.isWhitespace=Mn;function Hr(Kr){return Qr.$0<=Kr&&Kr<=Qr.$9}Qr.isDigit=Hr;function An(Kr){return Kr>=Qr.$a&&Kr<=Qr.$z||Kr>=Qr.$A&&Kr<=Qr.$Z}Qr.isAsciiLetter=An;function Sn(Kr){return Kr>=Qr.$a&&Kr<=Qr.$f||Kr>=Qr.$A&&Kr<=Qr.$F||Hr(Kr)}Qr.isAsciiHexDigit=Sn;function zr(Kr){return Kr===Qr.$LF||Kr===Qr.$CR}Qr.isNewLine=zr;function Yr(Kr){return Qr.$0<=Kr&&Kr<=Qr.$7}Qr.isOctalDigit=Yr}}),Cl=Eo({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(Qr){hn(),Object.defineProperty(Qr,"__esModule",{value:!0});var Mn=class{constructor(An,Sn,zr){this.filePath=An,this.name=Sn,this.members=zr}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};Qr.StaticSymbol=Mn;var Hr=class{constructor(){this.cache=new Map}get(An,Sn,zr){zr=zr||[];let Yr=zr.length?`.${zr.join(".")}`:"",Kr=`"${An}".${Sn}${Yr}`,kn=this.cache.get(Kr);return kn||(kn=new Mn(An,Sn,zr),this.cache.set(Kr,kn)),kn}};Qr.StaticSymbolCache=Hr}}),Md=Eo({"node_modules/angular-html-parser/lib/compiler/src/util.js"(Qr){hn(),Object.defineProperty(Qr,"__esModule",{value:!0});var Mn=/-+([a-z0-9])/g;function Hr(Nn){return Nn.replace(Mn,function(){for(var ui=arguments.length,vi=new Array(ui),Vi=0;Vi<ui;Vi++)vi[Vi]=arguments[Vi];return vi[1].toUpper
|
|||
|
`);return vi===-1?ui:ui.substring(0,vi)}Qr.stringify=Xi;function Sa(Nn){return typeof Nn=="function"&&Nn.hasOwnProperty("__forward_ref__")?Nn():Nn}Qr.resolveForwardRef=Sa;function pa(Nn){return!!Nn&&typeof Nn.then=="function"}Qr.isPromise=pa;var Do=class{constructor(Nn){this.full=Nn;let ui=Nn.split(".");this.major=ui[0],this.minor=ui[1],this.patch=ui.slice(2).join(".")}};Qr.Version=Do;var Kn=typeof window<"u"&&window,ea=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Wn=typeof globalThis<"u"&&globalThis,Li=Wn||Kn||ea;Qr.global=Li}}),Wc=Eo({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(Qr){hn(),Object.defineProperty(Qr,"__esModule",{value:!0});var Mn=Cl(),Hr=Md(),An=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Sn(vi){return vi.replace(/\W/g,"_")}Qr.sanitizeIdentifier=Sn;var zr=0;function Yr(vi){if(!vi||!vi.reference)return null;let Vi=vi.reference;if(Vi instanceof Mn.StaticSymbol)return Vi.name;if(Vi.__anonymousType)return Vi.__anonymousType;let Wi=Hr.stringify(Vi);return Wi.indexOf("(")>=0?(Wi=`anonymous_${zr++}`,Vi.__anonymousType=Wi):Wi=Sn(Wi),Wi}Qr.identifierName=Yr;function Kr(vi){let Vi=vi.reference;return Vi instanceof Mn.StaticSymbol?Vi.filePath:`./${Hr.stringify(Vi)}`}Qr.identifierModuleUrl=Kr;function kn(vi,Vi){return`View_${Yr({reference:vi})}_${Vi}`}Qr.viewClassName=kn;function Vn(vi){return`RenderType_${Yr({reference:vi})}`}Qr.rendererTypeName=Vn;function pi(vi){return`HostView_${Yr({reference:vi})}`}Qr.hostViewClassName=pi;function ii(vi){return`${Yr({reference:vi})}NgFactory`}Qr.componentFactoryName=ii;var mi;(function(vi){vi[vi.Pipe=0]="Pipe",vi[vi.Directive=1]="Directive",vi[vi.NgModule=2]="NgModule",vi[vi.Injectable=3]="Injectable"})(mi=Qr.CompileSummaryKind||(Qr.CompileSummaryKind={}));function Un(vi){return vi.value!=null?Sn(vi.value):Yr(vi.identifier)}Qr.tokenName=Un;function zn(vi){return vi.identifier!=null?vi.identifier.reference:vi.value}Qr.tokenReference=zn;var ji=class{constructor(){let{moduleUrl:vi,styles:Vi,styleUrls:Wi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=vi||null,this.styles=pa(Vi),this.styleUrls=pa(Wi)}};Qr.CompileStylesheetMetadata=ji;var oa=class{constructor(vi){let{encapsulation:Vi,template:Wi,templateUrl:aa,htmlAst:Ra,styles:_o,styleUrls:No,externalStylesheets:fo,animations:Jo,ngContentSelectors:qa,interpolation:ys,isInline:Co,preserveWhitespaces:no}=vi;if(this.encapsulation=Vi,this.template=Wi,this.templateUrl=aa,this.htmlAst=Ra,this.styles=pa(_o),this.styleUrls=pa(No),this.externalStylesheets=pa(fo),this.animations=Jo?Kn(Jo):[],this.ngContentSelectors=qa||[],ys&&ys.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=ys,this.isInline=Co,this.preserveWhitespaces=no}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};Qr.CompileTemplateMetadata=oa;var ca=class{static create(vi){let{isHost:Vi,type:Wi,isComponent:aa,selector:Ra,exportAs:_o,changeDetection:No,inputs:fo,outputs:Jo,host:qa,providers:ys,viewProviders:Co,queries:no,guards:rs,viewQueries:$s,entryComponents:Cs,template:Qs,componentViewType:So,rendererType:cs,componentFactory:Xs}=vi,Gs={},cu={},ps={};qa!=null&&Object.keys(qa).forEach(ks=>{let Ns=qa[ks],bl=ks.match(An);bl===null?ps[ks]=Ns:bl[1]!=null?cu[bl[1]]=Ns:bl[2]!=null&&(Gs[bl[2]]=Ns)});let Vo={};fo!=null&&fo.forEach(ks=>{let Ns=Hr.splitAtColon(ks,[ks,ks]);Vo[Ns[0]]=Ns[1]});let xs={};return Jo!=null&&Jo.forEach(ks=>{let Ns=Hr.splitAtColon(ks,[ks,ks]);xs[Ns[0]]=Ns[1]}),new ca({isHost:Vi,type:Wi,isComponent:!!aa,selector:Ra,exportAs:_o,changeDetection:No,inputs:Vo,outputs:xs,hostListeners:Gs,hostProperties:cu,hostAttributes:ps,providers:ys,viewProviders:Co,queries:no,guards:rs,viewQueries:$s,entryComponents:Cs,template:Qs,componentViewType:So,rendererType:cs,componentFactory:Xs})}constructor(vi){let{isHost:Vi,type:Wi,isComponent:aa,selector:Ra,exportAs:_o,changeDetection:No,inputs:fo,outputs:Jo,hostListeners:qa,hostPrope
|
|||
|
`&&++oa==ii)););for(ji=0,oa=0;ji<pi&&zn<mi.length-1&&(zn++,ji++,!(mi[zn]==`
|
|||
|
`&&++oa==ii)););return{before:mi.substring(Un,this.offset),after:mi.substring(this.offset,zn+1)}}return null}};Qr.ParseLocation=An;var Sn=class{constructor(pi,ii){this.content=pi,this.url=ii}};Qr.ParseSourceFile=Sn;var zr=class{constructor(pi,ii){let mi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=pi,this.end=ii,this.details=mi}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};Qr.ParseSourceSpan=zr,Qr.EMPTY_PARSE_LOCATION=new An(new Sn("",""),0,0,0),Qr.EMPTY_SOURCE_SPAN=new zr(Qr.EMPTY_PARSE_LOCATION,Qr.EMPTY_PARSE_LOCATION);var Yr;(function(pi){pi[pi.WARNING=0]="WARNING",pi[pi.ERROR=1]="ERROR"})(Yr=Qr.ParseErrorLevel||(Qr.ParseErrorLevel={}));var Kr=class{constructor(pi,ii){let mi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Yr.ERROR;this.span=pi,this.msg=ii,this.level=mi}contextualMessage(){let pi=this.span.start.getContext(100,3);return pi?`${this.msg} ("${pi.before}[${Yr[this.level]} ->]${pi.after}")`:this.msg}toString(){let pi=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${pi}`}};Qr.ParseError=Kr;function kn(pi,ii){let mi=Hr.identifierModuleUrl(ii),Un=mi!=null?`in ${pi} ${Hr.identifierName(ii)} in ${mi}`:`in ${pi} ${Hr.identifierName(ii)}`,zn=new Sn("",Un);return new zr(new An(zn,-1,-1,-1),new An(zn,-1,-1,-1))}Qr.typeSourceSpan=kn;function Vn(pi,ii,mi){let Un=`in ${pi} ${ii} in ${mi}`,zn=new Sn("",Un);return new zr(new An(zn,-1,-1,-1),new An(zn,-1,-1,-1))}Qr.r3JitTypeSourceSpan=Vn}}),jc=Eo({"src/language-html/print-preprocess.js"(Qr,Mn){hn();var{ParseSourceSpan:Hr}=ld(),{htmlTrim:An,getLeadingAndTrailingHtmlWhitespace:Sn,hasHtmlWhitespace:zr,canHaveInterpolation:Yr,getNodeCssStyleDisplay:Kr,isDanglingSpaceSensitiveNode:kn,isIndentationSensitiveNode:Vn,isLeadingSpaceSensitiveNode:pi,isTrailingSpaceSensitiveNode:ii,isWhitespaceSensitiveNode:mi,isVueScriptTag:Un}=Dl(),zn=[oa,ca,da,Sa,pa,ea,Do,Kn,Wn,Xi,Li];function ji(Nn,ui){for(let vi of zn)vi(Nn,ui);return Nn}function oa(Nn){Nn.walk(ui=>{if(ui.type==="element"&&ui.tagDefinition.ignoreFirstLf&&ui.children.length>0&&ui.children[0].type==="text"&&ui.children[0].value[0]===`
|
|||
|
`){let vi=ui.children[0];vi.value.length===1?ui.removeChild(vi):vi.value=vi.value.slice(1)}})}function ca(Nn){let ui=vi=>vi.type==="element"&&vi.prev&&vi.prev.type==="ieConditionalStartComment"&&vi.prev.sourceSpan.end.offset===vi.startSourceSpan.start.offset&&vi.firstChild&&vi.firstChild.type==="ieConditionalEndComment"&&vi.firstChild.sourceSpan.start.offset===vi.startSourceSpan.end.offset;Nn.walk(vi=>{if(vi.children)for(let Vi=0;Vi<vi.children.length;Vi++){let Wi=vi.children[Vi];if(!ui(Wi))continue;let aa=Wi.prev,Ra=Wi.firstChild;vi.removeChild(aa),Vi--;let _o=new Hr(aa.sourceSpan.start,Ra.sourceSpan.end),No=new Hr(_o.start,Wi.sourceSpan.end);Wi.condition=aa.condition,Wi.sourceSpan=No,Wi.startSourceSpan=_o,Wi.removeChild(Ra)}})}function Ui(Nn,ui,vi){Nn.walk(Vi=>{if(Vi.children)for(let Wi=0;Wi<Vi.children.length;Wi++){let aa=Vi.children[Wi];if(aa.type!=="text"&&!ui(aa))continue;aa.type!=="text"&&(aa.type="text",aa.value=vi(aa));let Ra=aa.prev;!Ra||Ra.type!=="text"||(Ra.value+=aa.value,Ra.sourceSpan=new Hr(Ra.sourceSpan.start,aa.sourceSpan.end),Vi.removeChild(aa),Wi--)}})}function da(Nn){return Ui(Nn,ui=>ui.type==="cdata",ui=>`<![CDATA[${ui.value}]]>`)}function Xi(Nn){let ui=vi=>vi.type==="element"&&vi.attrs.length===0&&vi.children.length===1&&vi.firstChild.type==="text"&&!zr(vi.children[0].value)&&!vi.firstChild.hasLeadingSpaces&&!vi.firstChild.hasTrailingSpaces&&vi.isLeadingSpaceSensitive&&!vi.hasLeadingSpaces&&vi.isTrailingSpaceSensitive&&!vi.hasTrailingSpaces&&vi.prev&&vi.prev.type==="text"&&vi.next&&vi.next.type==="text";Nn.walk(vi=>{if(vi.children)for(let Vi=0;Vi<vi.children.length;Vi++){let Wi=vi.children[Vi];if(!ui(Wi))continue;let aa=Wi.prev,Ra=Wi.next;aa.value+=`<${Wi.rawName}>`+Wi.firstChild.value+`</${Wi.rawName}>`+Ra.value,aa.sourceSpan=new Hr(aa.sourceSpan.start,Ra.sourceSpan.end),aa.isTrailingSpaceSensitive=Ra.isTrailingSpaceSensitive,aa.hasTrailingSpaces=Ra.hasTrailingSpaces,vi.removeChild(Wi),Vi--,vi.removeChild(Ra)}})}function Sa(Nn,ui){if(ui.parser==="html")return;let vi=/{{(.+?)}}/s;Nn.walk(Vi=>{if(Yr(Vi))for(let Wi of Vi.children){if(Wi.type!=="text")continue;let aa=Wi.sourceSpan.start,Ra=null,_o=Wi.value.split(vi);for(let No=0;No<_o.length;No++,aa=Ra){let fo=_o[No];if(No%2===0){Ra=aa.moveBy(fo.length),fo.length>0&&Vi.insertChildBefore(Wi,{type:"text",value:fo,sourceSpan:new Hr(aa,Ra)});continue}Ra=aa.moveBy(fo.length+4),Vi.insertChildBefore(Wi,{type:"interpolation",sourceSpan:new Hr(aa,Ra),children:fo.length===0?[]:[{type:"text",value:fo,sourceSpan:new Hr(aa.moveBy(2),Ra.moveBy(-2))}]})}Vi.removeChild(Wi)}})}function pa(Nn){Nn.walk(ui=>{if(!ui.children)return;if(ui.children.length===0||ui.children.length===1&&ui.children[0].type==="text"&&An(ui.children[0].value).length===0){ui.hasDanglingSpaces=ui.children.length>0,ui.children=[];return}let vi=mi(ui),Vi=Vn(ui);if(!vi)for(let Wi=0;Wi<ui.children.length;Wi++){let aa=ui.children[Wi];if(aa.type!=="text")continue;let{leadingWhitespace:Ra,text:_o,trailingWhitespace:No}=Sn(aa.value),fo=aa.prev,Jo=aa.next;_o?(aa.value=_o,aa.sourceSpan=new Hr(aa.sourceSpan.start.moveBy(Ra.length),aa.sourceSpan.end.moveBy(-No.length)),Ra&&(fo&&(fo.hasTrailingSpaces=!0),aa.hasLeadingSpaces=!0),No&&(aa.hasTrailingSpaces=!0,Jo&&(Jo.hasLeadingSpaces=!0))):(ui.removeChild(aa),Wi--,(Ra||No)&&(fo&&(fo.hasTrailingSpaces=!0),Jo&&(Jo.hasLeadingSpaces=!0)))}ui.isWhitespaceSensitive=vi,ui.isIndentationSensitive=Vi})}function Do(Nn){Nn.walk(ui=>{ui.isSelfClosing=!ui.children||ui.type==="element"&&(ui.tagDefinition.isVoid||ui.startSourceSpan===ui.endSourceSpan)})}function Kn(Nn,ui){Nn.walk(vi=>{vi.type==="element"&&(vi.hasHtmComponentClosingTag=vi.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(ui.originalText.slice(vi.endSourceSpan.start.offset,vi.endSourceSpan.end.offset)))})}function ea(Nn,ui){Nn.walk(vi=>{vi.cssDisplay=Kr(vi,ui)})}function Wn(Nn,ui){Nn.walk(vi=>{let{children:Vi}=vi;if(Vi){if(Vi.length===0){vi.isDanglingSpaceSensitive=kn(vi);return}for(let Wi of Vi)Wi.isLeadingSpaceSensitive=pi(Wi,ui),Wi.isTrailingSpaceSensitive=ii(Wi,ui);for(let Wi=0;Wi<Vi.length;Wi++){let aa=Vi[Wi];aa.isLead
|
|||
|
|
|||
|
`+Sn.replace(/^\s*\n/,"")}Mn.exports={hasPragma:Hr,insertPragma:An}}}),ju=Eo({"src/language-html/loc.js"(Qr,Mn){hn();function Hr(Sn){return Sn.sourceSpan.start.offset}function An(Sn){return Sn.sourceSpan.end.offset}Mn.exports={locStart:Hr,locEnd:An}}}),_c=Eo({"src/language-html/print/tag.js"(Qr,Mn){hn();var Hr=Fu(),{isNonEmptyArray:An}=xc(),{builders:{indent:Sn,join:zr,line:Yr,softline:Kr,hardline:kn},utils:{replaceTextEndOfLine:Vn}}=tc(),{locStart:pi,locEnd:ii}=ju(),{isTextLikeNode:mi,getLastDescendant:Un,isPreLikeNode:zn,hasPrettierIgnore:ji,shouldPreserveContent:oa,isVueSfcBlock:ca}=Dl();function Ui(qa,ys){return[qa.isSelfClosing?"":da(qa,ys),Xi(qa,ys)]}function da(qa,ys){return qa.lastChild&&Nn(qa.lastChild)?"":[Sa(qa,ys),Do(qa,ys)]}function Xi(qa,ys){return(qa.next?Wn(qa.next):Li(qa.parent))?"":[Kn(qa,ys),pa(qa,ys)]}function Sa(qa,ys){return Li(qa)?Kn(qa.lastChild,ys):""}function pa(qa,ys){return Nn(qa)?Do(qa.parent,ys):ui(qa)?fo(qa.next):""}function Do(qa,ys){if(Hr(!qa.isSelfClosing),ea(qa,ys))return"";switch(qa.type){case"ieConditionalComment":return"<!";case"element":if(qa.hasHtmComponentClosingTag)return"<//";default:return`</${qa.rawName}`}}function Kn(qa,ys){if(ea(qa,ys))return"";switch(qa.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(qa.isSelfClosing)return"/>";default:return">"}}function ea(qa,ys){return!qa.isSelfClosing&&!qa.endSourceSpan&&(ji(qa)||oa(qa.parent,ys))}function Wn(qa){return qa.prev&&qa.prev.type!=="docType"&&!mi(qa.prev)&&qa.isLeadingSpaceSensitive&&!qa.hasLeadingSpaces}function Li(qa){return qa.lastChild&&qa.lastChild.isTrailingSpaceSensitive&&!qa.lastChild.hasTrailingSpaces&&!mi(Un(qa.lastChild))&&!zn(qa)}function Nn(qa){return!qa.next&&!qa.hasTrailingSpaces&&qa.isTrailingSpaceSensitive&&mi(Un(qa))}function ui(qa){return qa.next&&!mi(qa.next)&&mi(qa)&&qa.isTrailingSpaceSensitive&&!qa.hasTrailingSpaces}function vi(qa){let ys=qa.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return ys?ys[1]?ys[1].split(/\s+/):!0:!1}function Vi(qa){return!qa.prev&&qa.isLeadingSpaceSensitive&&!qa.hasLeadingSpaces}function Wi(qa,ys,Co){let no=qa.getValue();if(!An(no.attrs))return no.isSelfClosing?" ":"";let rs=no.prev&&no.prev.type==="comment"&&vi(no.prev.value),$s=typeof rs=="boolean"?()=>rs:Array.isArray(rs)?Xs=>rs.includes(Xs.rawName):()=>!1,Cs=qa.map(Xs=>{let Gs=Xs.getValue();return $s(Gs)?Vn(ys.originalText.slice(pi(Gs),ii(Gs))):Co()},"attrs"),Qs=no.type==="element"&&no.fullName==="script"&&no.attrs.length===1&&no.attrs[0].fullName==="src"&&no.children.length===0,So=ys.singleAttributePerLine&&no.attrs.length>1&&!ca(no,ys)?kn:Yr,cs=[Sn([Qs?" ":Yr,zr(So,Cs)])];return no.firstChild&&Vi(no.firstChild)||no.isSelfClosing&&Li(no.parent)||Qs?cs.push(no.isSelfClosing?" ":""):cs.push(ys.bracketSameLine?no.isSelfClosing?" ":"":no.isSelfClosing?Yr:Kr),cs}function aa(qa){return qa.firstChild&&Vi(qa.firstChild)?"":Jo(qa)}function Ra(qa,ys,Co){let no=qa.getValue();return[_o(no,ys),Wi(qa,ys,Co),no.isSelfClosing?"":aa(no)]}function _o(qa,ys){return qa.prev&&ui(qa.prev)?"":[No(qa,ys),fo(qa)]}function No(qa,ys){return Vi(qa)?Jo(qa.parent):Wn(qa)?Kn(qa.prev,ys):""}function fo(qa){switch(qa.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${qa.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(qa.condition)return`<!--[if ${qa.condition}]><!--><${qa.rawName}`;default:return`<${qa.rawName}`}}function Jo(qa){switch(Hr(!qa.isSelfClosing),qa.type){case"ieConditionalComment":return"]>";case"element":if(qa.condition)return"><!--<![endif]-->";default:return">"}}Mn.exports={printClosingTag:Ui,printClosingTagStart:da,printClosingTagStartMarker:Do,printClosingTagEndMarker:Kn,printClosingTagSuffix:pa,printClosingTagEnd:Xi,needsToBorrowLastChildClosingTagEndMarker:Li,needsToBorrowParentClosingTagStartMarker:Nn,needsToBorrowPrevClosingTagEndMarker:Wn,printOpeningTag:Ra,printOpeningTagSt
|
|||
|
`||Do==="\f"||Do==="\r"}function Yr(Do){var Kn,ea=Do.exec(Hr.substring(da));if(ea)return Kn=ea[0],da+=Kn.length,Kn}for(var Kr=Hr.length,kn=/^[ \t\n\r\u000c]+/,Vn=/^[, \t\n\r\u000c]+/,pi=/^[^ \t\n\r\u000c]+/,ii=/[,]+$/,mi=/^\d+$/,Un=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,zn,ji,oa,ca,Ui,da=0,Xi=[];;){if(Yr(Vn),da>=Kr)return Xi;zn=Yr(pi),ji=[],zn.slice(-1)===","?(zn=zn.replace(ii,""),pa()):Sa()}function Sa(){for(Yr(kn),oa="",ca="in descriptor";;){if(Ui=Hr.charAt(da),ca==="in descriptor")if(zr(Ui))oa&&(ji.push(oa),oa="",ca="after descriptor");else if(Ui===","){da+=1,oa&&ji.push(oa),pa();return}else if(Ui==="(")oa=oa+Ui,ca="in parens";else if(Ui===""){oa&&ji.push(oa),pa();return}else oa=oa+Ui;else if(ca==="in parens")if(Ui===")")oa=oa+Ui,ca="in descriptor";else if(Ui===""){ji.push(oa),pa();return}else oa=oa+Ui;else if(ca==="after descriptor"&&!zr(Ui))if(Ui===""){pa();return}else ca="in descriptor",da-=1;da+=1}}function pa(){var Do=!1,Kn,ea,Wn,Li,Nn={},ui,vi,Vi,Wi,aa;for(Li=0;Li<ji.length;Li++)ui=ji[Li],vi=ui[ui.length-1],Vi=ui.substring(0,ui.length-1),Wi=parseInt(Vi,10),aa=parseFloat(Vi),mi.test(Vi)&&vi==="w"?((Kn||ea)&&(Do=!0),Wi===0?Do=!0:Kn=Wi):Un.test(Vi)&&vi==="x"?((Kn||ea||Wn)&&(Do=!0),aa<0?Do=!0:ea=aa):mi.test(Vi)&&vi==="h"?((Wn||ea)&&(Do=!0),Wi===0?Do=!0:Wn=Wi):Do=!0;Do?Sn&&Sn.error&&Sn.error("Invalid srcset descriptor found in '"+Hr+"' at '"+ui+"'."):(Nn.url=zn,Kn&&(Nn.w=Kn),ea&&(Nn.d=ea),Wn&&(Nn.h=Wn),Xi.push(Nn))}}})}}),Cc=Eo({"src/language-html/syntax-attribute.js"(Qr,Mn){hn();var Hr=gc(),{builders:{ifBreak:An,join:Sn,line:zr}}=tc();function Yr(kn){let Vn=Hr(kn,{logger:{error(Sa){throw new Error(Sa)}}}),pi=Vn.some(Sa=>{let{w:pa}=Sa;return pa}),ii=Vn.some(Sa=>{let{h:pa}=Sa;return pa}),mi=Vn.some(Sa=>{let{d:pa}=Sa;return pa});if(pi+ii+mi>1)throw new Error("Mixed descriptor in srcset is not supported");let Un=pi?"w":ii?"h":"d",zn=pi?"w":ii?"h":"x",ji=Sa=>Math.max(...Sa),oa=Vn.map(Sa=>Sa.url),ca=ji(oa.map(Sa=>Sa.length)),Ui=Vn.map(Sa=>Sa[Un]).map(Sa=>Sa?Sa.toString():""),da=Ui.map(Sa=>{let pa=Sa.indexOf(".");return pa===-1?Sa.length:pa}),Xi=ji(da);return Sn([",",zr],oa.map((Sa,pa)=>{let Do=[Sa],Kn=Ui[pa];if(Kn){let ea=ca-Sa.length+1,Wn=Xi-da[pa],Li=" ".repeat(ea+Wn);Do.push(An(Li," "),Kn+zn)}return Do}))}function Kr(kn){return kn.trim().split(/\s+/).join(" ")}Mn.exports={printImgSrcset:Yr,printClassNames:Kr}}}),Fs=Eo({"src/language-html/syntax-vue.js"(Qr,Mn){hn();var{builders:{group:Hr}}=tc();function An(Kr,kn){let{left:Vn,operator:pi,right:ii}=Sn(Kr);return[Hr(kn(`function _(${Vn}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",pi," ",kn(ii,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function Sn(Kr){let kn=/(.*?)\s+(in|of)\s+(.*)/s,Vn=/,([^,\]}]*)(?:,([^,\]}]*))?$/,pi=/^\(|\)$/g,ii=Kr.match(kn);if(!ii)return;let mi={};if(mi.for=ii[3].trim(),!mi.for)return;let Un=ii[1].trim().replace(pi,""),zn=Un.match(Vn);zn?(mi.alias=Un.replace(Vn,""),mi.iterator1=zn[1].trim(),zn[2]&&(mi.iterator2=zn[2].trim())):mi.alias=Un;let ji=[mi.alias,mi.iterator1,mi.iterator2];if(!ji.some((oa,ca)=>!oa&&(ca===0||ji.slice(ca+1).some(Boolean))))return{left:ji.filter(Boolean).join(","),operator:ii[2],right:mi.for}}function zr(Kr,kn){return kn(`function _(${Kr}) {}`,{parser:"babel",__isVueBindings:!0})}function Yr(Kr){let kn=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,Vn=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,pi=Kr.trim();return kn.test(pi)||Vn.test(pi)}Mn.exports={isVueEventBindingExpression:Yr,printVueFor:An,printVueBindings:zr}}}),ol=Eo({"src/language-html/get-node-content.js"(Qr,Mn){hn();var{needsToBorrowParentClosingTagStartMarker:Hr,printClosingTagStartMarker:An,needsToBorrowLastChildClosingTagEndMarker:Sn,printClosingTagEndMarker:zr,needsToBorrowParentOpeningTagEndMarker:Yr,printOpeningTagEndMarker:Kr}=_c();function kn(Vn,pi){let ii=Vn.startSourceSpan.end.offset;Vn.firstChild&&Yr(Vn.firstChild)&&(ii-=Kr(Vn).length);let mi=Vn.endSourceSpan.start.offset;return Vn.lastChild&&Hr(Vn.lastChild)?mi+=An(Vn,pi).length:Sn(Vn)&&(mi-=zr(Vn.lastChild,pi).length),pi.orig
|
|||
|
|
|||
|
${zr}`}Mn.exports={isPragma:Hr,hasPragma:An,insertPragma:Sn}}}),$d=Eo({"src/language-yaml/loc.js"(Qr,Mn){hn();function Hr(Sn){return Sn.position.start.offset}function An(Sn){return Sn.position.end.offset}Mn.exports={locStart:Hr,locEnd:An}}}),Ic=Eo({"src/language-yaml/embed.js"(Qr,Mn){hn();function Hr(An,Sn,zr,Yr){if(An.getValue().type==="root"&&Yr.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(Yr.filepath))return zr(Yr.originalText,Object.assign(Object.assign({},Yr),{},{parser:"json"}))}Mn.exports=Hr}}),Bd=Eo({"src/language-yaml/utils.js"(Qr,Mn){hn();var{getLast:Hr,isNonEmptyArray:An}=xc();function Sn(Kn,ea){let Wn=0,Li=Kn.stack.length-1;for(let Nn=0;Nn<Li;Nn++){let ui=Kn.stack[Nn];zr(ui)&&ea(ui)&&Wn++}return Wn}function zr(Kn,ea){return Kn&&typeof Kn.type=="string"&&(!ea||ea.includes(Kn.type))}function Yr(Kn,ea,Wn){return ea("children"in Kn?Object.assign(Object.assign({},Kn),{},{children:Kn.children.map(Li=>Yr(Li,ea,Kn))}):Kn,Wn)}function Kr(Kn,ea,Wn){Object.defineProperty(Kn,ea,{get:Wn,enumerable:!1})}function kn(Kn,ea){let Wn=0,Li=ea.length;for(let Nn=Kn.position.end.offset-1;Nn<Li;Nn++){let ui=ea[Nn];if(ui===`
|
|||
|
`&&Wn++,Wn===1&&/\S/.test(ui))return!1;if(Wn===2)return!0}return!1}function Vn(Kn){switch(Kn.getValue().type){case"tag":case"anchor":case"comment":return!1}let ea=Kn.stack.length;for(let Wn=1;Wn<ea;Wn++){let Li=Kn.stack[Wn],Nn=Kn.stack[Wn-1];if(Array.isArray(Nn)&&typeof Li=="number"&&Li!==Nn.length-1)return!1}return!0}function pi(Kn){return An(Kn.children)?pi(Hr(Kn.children)):Kn}function ii(Kn){return Kn.value.trim()==="prettier-ignore"}function mi(Kn){let ea=Kn.getValue();if(ea.type==="documentBody"){let Wn=Kn.getParentNode();return da(Wn.head)&&ii(Hr(Wn.head.endComments))}return ji(ea)&&ii(Hr(ea.leadingComments))}function Un(Kn){return!An(Kn.children)&&!zn(Kn)}function zn(Kn){return ji(Kn)||oa(Kn)||ca(Kn)||Ui(Kn)||da(Kn)}function ji(Kn){return An(Kn==null?void 0:Kn.leadingComments)}function oa(Kn){return An(Kn==null?void 0:Kn.middleComments)}function ca(Kn){return Kn==null?void 0:Kn.indicatorComment}function Ui(Kn){return Kn==null?void 0:Kn.trailingComment}function da(Kn){return An(Kn==null?void 0:Kn.endComments)}function Xi(Kn){let ea=[],Wn;for(let Li of Kn.split(/( +)/))Li!==" "?Wn===" "?ea.push(Li):ea.push((ea.pop()||"")+Li):Wn===void 0&&ea.unshift(""),Wn=Li;return Wn===" "&&ea.push((ea.pop()||"")+" "),ea[0]===""&&(ea.shift(),ea.unshift(" "+(ea.shift()||""))),ea}function Sa(Kn,ea,Wn){let Li=ea.split(`
|
|||
|
`).map((Nn,ui,vi)=>ui===0&&ui===vi.length-1?Nn:ui!==0&&ui!==vi.length-1?Nn.trim():ui===0?Nn.trimEnd():Nn.trimStart());return Wn.proseWrap==="preserve"?Li.map(Nn=>Nn.length===0?[]:[Nn]):Li.map(Nn=>Nn.length===0?[]:Xi(Nn)).reduce((Nn,ui,vi)=>vi!==0&&Li[vi-1].length>0&&ui.length>0&&!(Kn==="quoteDouble"&&Hr(Hr(Nn)).endsWith("\\"))?[...Nn.slice(0,-1),[...Hr(Nn),...ui]]:[...Nn,ui],[]).map(Nn=>Wn.proseWrap==="never"?[Nn.join(" ")]:Nn)}function pa(Kn,ea){let{parentIndent:Wn,isLastDescendant:Li,options:Nn}=ea,ui=Kn.position.start.line===Kn.position.end.line?"":Nn.originalText.slice(Kn.position.start.offset,Kn.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],vi;if(Kn.indent===null){let aa=ui.match(/^(?<leadingSpace> *)[^\n\r ]/m);vi=aa?aa.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else vi=Kn.indent-1+Wn;let Vi=ui.split(`
|
|||
|
`).map(aa=>aa.slice(vi));if(Nn.proseWrap==="preserve"||Kn.type==="blockLiteral")return Wi(Vi.map(aa=>aa.length===0?[]:[aa]));return Wi(Vi.map(aa=>aa.length===0?[]:Xi(aa)).reduce((aa,Ra,_o)=>_o!==0&&Vi[_o-1].length>0&&Ra.length>0&&!/^\s/.test(Ra[0])&&!/^\s|\s$/.test(Hr(aa))?[...aa.slice(0,-1),[...Hr(aa),...Ra]]:[...aa,Ra],[]).map(aa=>aa.reduce((Ra,_o)=>Ra.length>0&&/\s$/.test(Hr(Ra))?[...Ra.slice(0,-1),Hr(Ra)+" "+_o]:[...Ra,_o],[])).map(aa=>Nn.proseWrap==="never"?[aa.join(" ")]:aa));function Wi(aa){if(Kn.chomping==="keep")return Hr(aa).length===0?aa.slice(0,-1):aa;let Ra=0;for(let _o=aa.length-1;_o>=0&&aa[_o].length===0;_o--)Ra++;return Ra===0?aa:Ra>=2&&!Li?aa.slice(0,-(Ra-1)):aa.slice(0,-Ra)}}function Do(Kn){if(!Kn)return!0;switch(Kn.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}Mn.exports={getLast:Hr,getAncestorCount:Sn,isNode:zr,isEmptyNode:Un,isInlineNode:Do,mapNode:Yr,defineShortcut:Kr,isNextLineEmpty:kn,isLastDescendantNode:Vn,getBlockValueLineContents:pa,getFlowScalarLineContents:Sa,getLastDescendantNode:pi,hasPrettierIgnore:mi,hasLeadingComments:ji,hasMiddleComments:oa,hasIndicatorComment:ca,hasTrailingComment:Ui,hasEndComments:da}}}),Vd=Eo({"src/language-yaml/print-preprocess.js"(Qr,Mn){hn();var{defineShortcut:Hr,mapNode:An}=Bd();function Sn(Yr){return An(Yr,zr)}function zr(Yr){switch(Yr.type){case"document":Hr(Yr,"head",()=>Yr.children[0]),Hr(Yr,"body",()=>Yr.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Hr(Yr,"content",()=>Yr.children[0]);break;case"mappingItem":case"flowMappingItem":Hr(Yr,"key",()=>Yr.children[0]),Hr(Yr,"value",()=>Yr.children[1]);break}return Yr}Mn.exports=Sn}}),Ud=Eo({"src/language-yaml/print/misc.js"(Qr,Mn){hn();var{builders:{softline:Hr,align:An}}=tc(),{hasEndComments:Sn,isNextLineEmpty:zr,isNode:Yr}=Bd(),Kr=new WeakMap;function kn(ii,mi){let Un=ii.getValue(),zn=ii.stack[0],ji;return Kr.has(zn)?ji=Kr.get(zn):(ji=new Set,Kr.set(zn,ji)),!ji.has(Un.position.end.line)&&(ji.add(Un.position.end.line),zr(Un,mi)&&!Vn(ii.getParentNode()))?Hr:""}function Vn(ii){return Sn(ii)&&!Yr(ii,["documentHead","documentBody","flowMapping","flowSequence"])}function pi(ii,mi){return An(" ".repeat(ii),mi)}Mn.exports={alignWithSpaces:pi,shouldPrintEndComments:Vn,printNextEmptyLine:kn}}}),wh=Eo({"src/language-yaml/print/flow-mapping-sequence.js"(Qr,Mn){hn();var{builders:{ifBreak:Hr,line:An,softline:Sn,hardline:zr,join:Yr}}=tc(),{isEmptyNode:Kr,getLast:kn,hasEndComments:Vn}=Bd(),{printNextEmptyLine:pi,alignWithSpaces:ii}=Ud();function mi(zn,ji,oa){let ca=zn.getValue(),Ui=ca.type==="flowMapping",da=Ui?"{":"[",Xi=Ui?"}":"]",Sa=Sn;Ui&&ca.children.length>0&&oa.bracketSpacing&&(Sa=An);let pa=kn(ca.children),Do=pa&&pa.type==="flowMappingItem"&&Kr(pa.key)&&Kr(pa.value);return[da,ii(oa.tabWidth,[Sa,Un(zn,ji,oa),oa.trailingComma==="none"?"":Hr(","),Vn(ca)?[zr,Yr(zr,zn.map(ji,"endComments"))]:""]),Do?"":Sa,Xi]}function Un(zn,ji,oa){let ca=zn.getValue();return zn.map((Ui,da)=>[ji(),da===ca.children.length-1?"":[",",An,ca.children[da].position.start.line!==ca.children[da+1].position.start.line?pi(Ui,oa.originalText):""]],"children")}Mn.exports={printFlowMapping:mi,printFlowSequence:mi}}}),kh=Eo({"src/language-yaml/print/mapping-item.js"(Qr,Mn){hn();var{builders:{conditionalGroup:Hr,group:An,hardline:Sn,ifBreak:zr,join:Yr,line:Kr}}=tc(),{hasLeadingComments:kn,hasMiddleComments:Vn,hasTrailingComment:pi,hasEndComments:ii,isNode:mi,isEmptyNode:Un,isInlineNode:zn}=Bd(),{alignWithSpaces:ji}=Ud();function oa(Xi,Sa,pa,Do,Kn){let{key:ea,value:Wn}=Xi,Li=Un(ea),Nn=Un(Wn);if(Li&&Nn)return": ";let ui=Do("key"),vi=Ui(Xi)?" ":"";if(Nn)return Xi.type==="flowMappingItem"&&Sa.type==="flowMapping"?ui:Xi.type==="mappingItem"&&ca(ea.content,Kn)&&!pi(ea.content)&&(!Sa.tag||Sa.tag.value!=="tag:yaml.org,2002:set")?[ui,vi,":"]:["? ",ji(2,ui)];let Vi=Do("value");if(Li)return[": ",ji(2,Vi)];if(kn(Wn)||!zn(ea.content))return["? ",ji(2,ui),Sn,Yr("",pa.map(Do,"value","leadingComments").map(fo=>[fo,Sn])),":
|
|||
|
`);case"always":return!/[\n ]/.test(Xi.value);default:return!1}}function Ui(Xi){return Xi.key.content&&Xi.key.content.type==="alias"}function da(Xi){if(!Xi)return!0;switch(Xi.type){case"plain":case"quoteDouble":case"quoteSingle":return Xi.position.start.line===Xi.position.end.line;case"alias":return!0;default:return!1}}Mn.exports=oa}}),Hh=Eo({"src/language-yaml/print/block.js"(Qr,Mn){hn();var{builders:{dedent:Hr,dedentToRoot:An,fill:Sn,hardline:zr,join:Yr,line:Kr,literalline:kn,markAsRoot:Vn},utils:{getDocParts:pi}}=tc(),{getAncestorCount:ii,getBlockValueLineContents:mi,hasIndicatorComment:Un,isLastDescendantNode:zn,isNode:ji}=Bd(),{alignWithSpaces:oa}=Ud();function ca(Ui,da,Xi){let Sa=Ui.getValue(),pa=ii(Ui,Li=>ji(Li,["sequence","mapping"])),Do=zn(Ui),Kn=[Sa.type==="blockFolded"?">":"|"];Sa.indent!==null&&Kn.push(Sa.indent.toString()),Sa.chomping!=="clip"&&Kn.push(Sa.chomping==="keep"?"+":"-"),Un(Sa)&&Kn.push(" ",da("indicatorComment"));let ea=mi(Sa,{parentIndent:pa,isLastDescendant:Do,options:Xi}),Wn=[];for(let[Li,Nn]of ea.entries())Li===0&&Wn.push(zr),Wn.push(Sn(pi(Yr(Kr,Nn)))),Li!==ea.length-1?Wn.push(Nn.length===0?zr:Vn(kn)):Sa.chomping==="keep"&&Do&&Wn.push(An(Nn.length===0?zr:kn));return Sa.indent===null?Kn.push(Hr(oa(Xi.tabWidth,Wn))):Kn.push(An(oa(Sa.indent-1+pa,Wn))),Kn}Mn.exports=ca}}),_p=Eo({"src/language-yaml/printer-yaml.js"(Qr,Mn){hn();var{builders:{breakParent:Hr,fill:An,group:Sn,hardline:zr,join:Yr,line:Kr,lineSuffix:kn,literalline:Vn},utils:{getDocParts:pi,replaceTextEndOfLine:ii}}=tc(),{isPreviousLineEmpty:mi}=xc(),{insertPragma:Un,isPragma:zn}=wp(),{locStart:ji}=$d(),oa=Ic(),{getFlowScalarLineContents:ca,getLastDescendantNode:Ui,hasLeadingComments:da,hasMiddleComments:Xi,hasTrailingComment:Sa,hasEndComments:pa,hasPrettierIgnore:Do,isLastDescendantNode:Kn,isNode:ea,isInlineNode:Wn}=Bd(),Li=Vd(),{alignWithSpaces:Nn,printNextEmptyLine:ui,shouldPrintEndComments:vi}=Ud(),{printFlowMapping:Vi,printFlowSequence:Wi}=wh(),aa=kh(),Ra=Hh();function _o(no,rs,$s){let Cs=no.getValue(),Qs=[];Cs.type!=="mappingValue"&&da(Cs)&&Qs.push([Yr(zr,no.map($s,"leadingComments")),zr]);let{tag:So,anchor:cs}=Cs;So&&Qs.push($s("tag")),So&&cs&&Qs.push(" "),cs&&Qs.push($s("anchor"));let Xs="";ea(Cs,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!Kn(no)&&(Xs=ui(no,rs.originalText)),(So||cs)&&(ea(Cs,["sequence","mapping"])&&!Xi(Cs)?Qs.push(zr):Qs.push(" ")),Xi(Cs)&&Qs.push([Cs.middleComments.length===1?"":zr,Yr(zr,no.map($s,"middleComments")),zr]);let Gs=no.getParentNode();return Do(no)?Qs.push(ii(rs.originalText.slice(Cs.position.start.offset,Cs.position.end.offset).trimEnd(),Vn)):Qs.push(Sn(No(Cs,Gs,no,rs,$s))),Sa(Cs)&&!ea(Cs,["document","documentHead"])&&Qs.push(kn([Cs.type==="mappingValue"&&!Cs.content?"":" ",Gs.type==="mappingKey"&&no.getParentNode(2).type==="mapping"&&Wn(Cs)?"":Hr,$s("trailingComment")])),vi(Cs)&&Qs.push(Nn(Cs.type==="sequenceItem"?2:0,[zr,Yr(zr,no.map(cu=>[mi(rs.originalText,cu.getValue(),ji)?zr:"",$s()],"endComments"))])),Qs.push(Xs),Qs}function No(no,rs,$s,Cs,Qs){switch(no.type){case"root":{let{children:So}=no,cs=[];$s.each((Gs,cu)=>{let ps=So[cu],Vo=So[cu+1];cu!==0&&cs.push(zr),cs.push(Qs()),Jo(ps,Vo)?(cs.push(zr,"..."),Sa(ps)&&cs.push(" ",Qs("trailingComment"))):Vo&&!Sa(Vo.head)&&cs.push(zr,"---")},"children");let Xs=Ui(no);return(!ea(Xs,["blockLiteral","blockFolded"])||Xs.chomping!=="keep")&&cs.push(zr),cs}case"document":{let So=rs.children[$s.getName()+1],cs=[];return qa(no,So,rs,Cs)==="head"&&((no.head.children.length>0||no.head.endComments.length>0)&&cs.push(Qs("head")),Sa(no.head)?cs.push(["---"," ",Qs(["head","trailingComment"])]):cs.push("---")),fo(no)&&cs.push(Qs("body")),Yr(zr,cs)}case"documentHead":return Yr(zr,[...$s.map(Qs,"children"),...$s.map(Qs,"endComments")]);case"documentBody":{let{children:So,endComments:cs}=no,Xs="";if(So.length>0&&cs.length>0){let Gs=Ui(no);ea(Gs,["blockFolded","blockLiteral"])?Gs.chomping!=="keep"&&(Xs=[zr,zr]):Xs=zr}return[Yr(zr,$s.map(Qs,"children")),Xs,Yr(zr,$s.map(Qs,"endComments"))]}case"directive":return["%",Yr(" ",[no.name,...no.pa
|
|||
|
`,Ss={EOL:Fo,tmpdir:Qa,tmpDir:ki,networkInterfaces:xn,getNetworkInterfaces:Zn,release:Gr,type:Fn,cpus:Nr,totalmem:Os,freemem:Ds,uptime:As,loadavg:Yo,hostname:vl,endianness:Uu}}}),Uo=qo({"node-modules-polyfills-commonjs:os"(Zr,la){hs();var ta=(ms(),_u(dc));if(ta&&ta.default){la.exports=ta.default;for(let na in ta)la.exports[na]=ta[na]}else ta&&(la.exports=ta)}}),Bl=qo({"node_modules/detect-newline/index.js"(Zr,la){hs();var ta=na=>{if(typeof na!="string")throw new TypeError("Expected a string");let ma=na.match(/(?:\r?\n)/g)||[];if(ma.length===0)return;let Ha=ma.filter(za=>za===`\r
|
|||
|
`).length,ka=ma.length-Ha;return Ha>ka?`\r
|
|||
|
`:`
|
|||
|
`};la.exports=ta,la.exports.graceful=na=>typeof na=="string"&&ta(na)||`
|
|||
|
`}}),Eo=qo({"node_modules/jest-docblock/build/index.js"(Zr){hs(),Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.extract=Gi,Zr.parse=Xa,Zr.parseWithComments=Po,Zr.print=ko,Zr.strip=co;function la(){let ws=Uo();return la=function(){return ws},ws}function ta(){let ws=na(Bl());return ta=function(){return ws},ws}function na(ws){return ws&&ws.__esModule?ws:{default:ws}}var ma=/\*\/$/,Ha=/^\/\*\*?/,ka=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,za=/(^|\s+)\/\/([^\r\n]*)/g,va=/^(\r?\n)+/,Fa=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,On=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Wr=/(\r?\n|^) *\* ?/g,sa=[];function Gi(ws){let Is=ws.match(ka);return Is?Is[0].trimLeft():""}function co(ws){let Is=ws.match(ka);return Is&&Is[0]?ws.substring(Is[0].length):ws}function Xa(ws){return Po(ws).pragmas}function Po(ws){let Is=(0,ta().default)(ws)||la().EOL;ws=ws.replace(Ha,"").replace(ma,"").replace(Wr,"$1");let Vs="";for(;Vs!==ws;)Vs=ws,ws=ws.replace(Fa,`${Is}$1 $2${Is}`);ws=ws.replace(va,"").trimRight();let Kl=Object.create(null),Tu=ws.replace(On,"").replace(va,"").trimRight(),ku;for(;ku=On.exec(ws);){let lc=ku[2].replace(za,"");typeof Kl[ku[1]]=="string"||Array.isArray(Kl[ku[1]])?Kl[ku[1]]=sa.concat(Kl[ku[1]],lc):Kl[ku[1]]=lc}return{comments:Tu,pragmas:Kl}}function ko(ws){let{comments:Is="",pragmas:Vs={}}=ws,Kl=(0,ta().default)(Is)||la().EOL,Tu="/**",ku=" *",lc=" */",rc=Object.keys(Vs),mc=rc.map(ec=>Ja(ec,Vs[ec])).reduce((ec,mu)=>ec.concat(mu),[]).map(ec=>`${ku} ${ec}${Kl}`).join("");if(!Is){if(rc.length===0)return"";if(rc.length===1&&!Array.isArray(Vs[rc[0]])){let ec=Vs[rc[0]];return`${Tu} ${Ja(rc[0],ec)[0]}${lc}`}}let uc=Is.split(Kl).map(ec=>`${ku} ${ec}`).join(Kl)+Kl;return Tu+Kl+(Is?uc:"")+(Is&&rc.length?ku+Kl:"")+mc+lc}function Ja(ws,Is){return sa.concat(Is).map(Vs=>`@${ws} ${Vs}`.trim())}}}),Zl=qo({"src/common/end-of-line.js"(Zr,la){hs();function ta(ka){let za=ka.indexOf("\r");return za>=0?ka.charAt(za+1)===`
|
|||
|
`?"crlf":"cr":"lf"}function na(ka){switch(ka){case"cr":return"\r";case"crlf":return`\r
|
|||
|
`;default:return`
|
|||
|
`}}function ma(ka,za){let va;switch(za){case`
|
|||
|
`:va=/\n/g;break;case"\r":va=/\r/g;break;case`\r
|
|||
|
`:va=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(za)}.`)}let Fa=ka.match(va);return Fa?Fa.length:0}function Ha(ka){return ka.replace(/\r\n?/g,`
|
|||
|
`)}la.exports={guessEndOfLine:ta,convertEndOfLineToChars:na,countEndOfLineChars:ma,normalizeEndOfLine:Ha}}}),Ml=qo({"src/language-js/utils/get-shebang.js"(Zr,la){hs();function ta(na){if(!na.startsWith("#!"))return"";let ma=na.indexOf(`
|
|||
|
`);return ma===-1?na:na.slice(0,ma)}la.exports=ta}}),Qu=qo({"src/language-js/pragma.js"(Zr,la){hs();var{parseWithComments:ta,strip:na,extract:ma,print:Ha}=Eo(),{normalizeEndOfLine:ka}=Zl(),za=Ml();function va(Wr){let sa=za(Wr);sa&&(Wr=Wr.slice(sa.length+1));let Gi=ma(Wr),{pragmas:co,comments:Xa}=ta(Gi);return{shebang:sa,text:Wr,pragmas:co,comments:Xa}}function Fa(Wr){let sa=Object.keys(va(Wr).pragmas);return sa.includes("prettier")||sa.includes("format")}function On(Wr){let{shebang:sa,text:Gi,pragmas:co,comments:Xa}=va(Wr),Po=na(Gi),ko=Ha({pragmas:Object.assign({format:""},co),comments:Xa.trimStart()});return(sa?`${sa}
|
|||
|
`:"")+ka(ko)+(Po.startsWith(`
|
|||
|
`)?`
|
|||
|
`:`
|
|||
|
|
|||
|
`)+Po}la.exports={hasPragma:Fa,insertPragma:On}}}),Au=qo({"src/language-css/pragma.js"(Zr,la){hs();var ta=Qu(),na=vc();function ma(ka){return ta.hasPragma(na(ka).content)}function Ha(ka){let{frontMatter:za,content:va}=na(ka);return(za?za.raw+`
|
|||
|
|
|||
|
`:"")+ta.insertPragma(va)}la.exports={hasPragma:ma,insertPragma:Ha}}}),Ou=qo({"src/utils/text/skip.js"(Zr,la){hs();function ta(za){return(va,Fa,On)=>{let Wr=On&&On.backwards;if(Fa===!1)return!1;let{length:sa}=va,Gi=Fa;for(;Gi>=0&&Gi<sa;){let co=va.charAt(Gi);if(za instanceof RegExp){if(!za.test(co))return Gi}else if(!za.includes(co))return Gi;Wr?Gi--:Gi++}return Gi===-1||Gi===sa?Gi:!1}}var na=ta(/\s/),ma=ta(" "),Ha=ta(",; "),ka=ta(/[^\n\r]/);la.exports={skipWhitespace:na,skipSpaces:ma,skipToLineEnd:Ha,skipEverythingButNewLine:ka}}}),hn=qo({"src/utils/line-column-to-index.js"(Zr,la){hs(),la.exports=function(ta,na){let ma=0;for(let Ha=0;Ha<ta.line-1;++Ha)ma=na.indexOf(`
|
|||
|
`,ma)+1;return ma+ta.column}}}),Oo=qo({"src/language-css/loc.js"(Zr,la){hs();var{skipEverythingButNewLine:ta}=Ou(),na=vu(),ma=hn();function Ha(Gi,co){return typeof Gi.sourceIndex=="number"?Gi.sourceIndex:Gi.source?ma(Gi.source.start,co)-1:null}function ka(Gi,co){if(Gi.type==="css-comment"&&Gi.inline)return ta(co,Gi.source.startOffset);let Xa=Gi.nodes&&na(Gi.nodes);return Xa&&Gi.source&&!Gi.source.end&&(Gi=Xa),Gi.source&&Gi.source.end?ma(Gi.source.end,co):null}function za(Gi,co){Gi.source&&(Gi.source.startOffset=Ha(Gi,co),Gi.source.endOffset=ka(Gi,co));for(let Xa in Gi){let Po=Gi[Xa];Xa==="source"||!Po||typeof Po!="object"||(Po.type==="value-root"||Po.type==="value-unknown"?va(Po,Fa(Gi),Po.text||Po.value):za(Po,co))}}function va(Gi,co,Xa){Gi.source&&(Gi.source.startOffset=Ha(Gi,Xa)+co,Gi.source.endOffset=ka(Gi,Xa)+co);for(let Po in Gi){let ko=Gi[Po];Po==="source"||!ko||typeof ko!="object"||va(ko,co,Xa)}}function Fa(Gi){let co=Gi.source.startOffset;return typeof Gi.prop=="string"&&(co+=Gi.prop.length),Gi.type==="css-atrule"&&typeof Gi.name=="string"&&(co+=1+Gi.name.length+Gi.raws.afterName.match(/^\s*:?\s*/)[0].length),Gi.type!=="css-atrule"&&Gi.raws&&typeof Gi.raws.between=="string"&&(co+=Gi.raws.between.length),co}function On(Gi){let co="initial",Xa="initial",Po,ko=!1,Ja=[];for(let ws=0;ws<Gi.length;ws++){let Is=Gi[ws];switch(co){case"initial":if(Is==="'"){co="single-quotes";continue}if(Is==='"'){co="double-quotes";continue}if((Is==="u"||Is==="U")&&Gi.slice(ws,ws+4).toLowerCase()==="url("){co="url",ws+=3;continue}if(Is==="*"&&Gi[ws-1]==="/"){co="comment-block";continue}if(Is==="/"&&Gi[ws-1]==="/"){co="comment-inline",Po=ws-1;continue}continue;case"single-quotes":if(Is==="'"&&Gi[ws-1]!=="\\"&&(co=Xa,Xa="initial"),Is===`
|
|||
|
`||Is==="\r")return Gi;continue;case"double-quotes":if(Is==='"'&&Gi[ws-1]!=="\\"&&(co=Xa,Xa="initial"),Is===`
|
|||
|
`||Is==="\r")return Gi;continue;case"url":if(Is===")"&&(co="initial"),Is===`
|
|||
|
`||Is==="\r")return Gi;if(Is==="'"){co="single-quotes",Xa="url";continue}if(Is==='"'){co="double-quotes",Xa="url";continue}continue;case"comment-block":Is==="/"&&Gi[ws-1]==="*"&&(co="initial");continue;case"comment-inline":(Is==='"'||Is==="'"||Is==="*")&&(ko=!0),(Is===`
|
|||
|
`||Is==="\r")&&(ko&&Ja.push([Po,ws]),co="initial",ko=!1);continue}}for(let[ws,Is]of Ja)Gi=Gi.slice(0,ws)+Gi.slice(ws,Is).replace(/["'*]/g," ")+Gi.slice(Is);return Gi}function Wr(Gi){return Gi.source.startOffset}function sa(Gi){return Gi.source.endOffset}la.exports={locStart:Wr,locEnd:sa,calculateLoc:za,replaceQuotesInInlineComments:On}}}),pl=qo({"src/utils/is-non-empty-array.js"(Zr,la){hs();function ta(na){return Array.isArray(na)&&na.length>0}la.exports=ta}}),Ul=qo({"src/language-css/utils/has-scss-interpolation.js"(Zr,la){hs();var ta=pl();function na(ma){if(ta(ma)){for(let Ha=ma.length-1;Ha>0;Ha--)if(ma[Ha].type==="word"&&ma[Ha].value==="{"&&ma[Ha-1].type==="word"&&ma[Ha-1].value.endsWith("#"))return!0}return!1}la.exports=na}}),tl=qo({"src/language-css/utils/has-string-or-function.js"(Zr,la){hs();function ta(na){return na.some(ma=>ma.type==="string"||ma.type==="func")}la.exports=ta}}),bu=qo({"src/language-css/utils/is-less-parser.js"(Zr,la){hs();function ta(na){return na.parser==="css"||na.parser==="less"}la.exports=ta}}),ic=qo({"src/language-css/utils/is-scss.js"(Zr,la){hs();function ta(na,ma){return na==="less"||na==="scss"?na==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(ma)}la.exports=ta}}),kc=qo({"src/language-css/utils/is-scss-nested-property-node.js"(Zr,la){hs();function ta(na){return na.selector?na.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}la.exports=ta}}),Zc=qo({"src/language-css/utils/is-scss-variable.js"(Zr,la){hs();function ta(na){return!!((na==null?void 0:na.type)==="word"&&na.value.startsWith("$"))}la.exports=ta}}),Yd=qo({"src/language-css/utils/stringify-node.js"(Zr,la){hs();function ta(na){var ma,Ha,ka;if(na.groups){var za,va,Fa;let ko=((za=na.open)===null||za===void 0?void 0:za.value)||"",Ja=na.groups.map(Is=>ta(Is)).join(((va=na.groups[0])===null||va===void 0?void 0:va.type)==="comma_group"?",":""),ws=((Fa=na.close)===null||Fa===void 0?void 0:Fa.value)||"";return ko+Ja+ws}let On=((ma=na.raws)===null||ma===void 0?void 0:ma.before)||"",Wr=((Ha=na.raws)===null||Ha===void 0?void 0:Ha.quote)||"",sa=na.type==="atword"?"@":"",Gi=na.value||"",co=na.unit||"",Xa=na.group?ta(na.group):"",Po=((ka=na.raws)===null||ka===void 0?void 0:ka.after)||"";return On+Wr+sa+Gi+Wr+co+Xa+Po}la.exports=ta}}),jp=qo({"src/language-css/utils/is-module-rule-name.js"(Zr,la){hs();var ta=new Set(["import","use","forward"]);function na(ma){return ta.has(ma)}la.exports=na}}),sc=qo({"node_modules/postcss-values-parser/lib/node.js"(Zr,la){hs();var ta=function(na,ma){let Ha=new na.constructor;for(let ka in na){if(!na.hasOwnProperty(ka))continue;let za=na[ka],va=typeof za;ka==="parent"&&va==="object"?ma&&(Ha[ka]=ma):ka==="source"?Ha[ka]=za:za instanceof Array?Ha[ka]=za.map(Fa=>ta(Fa,Ha)):ka!=="before"&&ka!=="after"&&ka!=="between"&&ka!=="semicolon"&&(va==="object"&&za!==null&&(za=ta(za)),Ha[ka]=za)}return Ha};la.exports=class{constructor(na){na=na||{},this.raws={before:"",after:""};for(let ma in na)this[ma]=na[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(na){na=na||{};let ma=ta(this);for(let Ha in na)ma[Ha]=na[Ha];return ma}cloneBefore(na){na=na||{};let ma=this.clone(na);return this.parent.insertBefore(this,ma),ma}cloneAfter(na){na=na||{};let ma=this.clone(na);return this.parent.insertAfter(this,ma),ma}replaceWith(){let na=Array.prototype.slice.call(arguments);if(this.parent){for(let ma of na)this.parent.insertBefore(this,ma);this.remove()}return this}moveTo(na){return this.cleanRaws(this.root()===na.root()),this.remove(),na.append(this),this}moveBefore(na){return this.cleanRaws(this.root()===na.root()),this.remove(),na.parent.insertBefore(na,this),this}moveAfter(na){return this.cleanRaws(this.root()===na.root()),this.remove(),na.parent.insertAfter(na,this),this}next(){let na=this.parent.index(this);return this.parent.nodes[na+1]}prev(){let na=this.parent.index(this);return this.parent.nodes[na-1]}toJSON(){let na={};for(let ma in this){if(!this.hasOwnProperty(
|
|||
|
`?(Ha=1,ka+=1):Ha+=1;return{line:ka,column:Ha}}positionBy(na){let ma=this.source.start;if(Object(na).index)ma=this.positionInside(na.index);else if(Object(na).word){let Ha=this.toString().indexOf(na.word);Ha!==-1&&(ma=this.positionInside(Ha))}return ma}}}}),yd=qo({"node_modules/postcss-values-parser/lib/container.js"(Zr,la){hs();var ta=sc(),na=class extends ta{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 Ha=this.lastEach,ka,za;if(this.indexes[Ha]=0,!!this.nodes){for(;this.indexes[Ha]<this.nodes.length&&(ka=this.indexes[Ha],za=ma(this.nodes[ka],ka),za!==!1);)this.indexes[Ha]+=1;return delete this.indexes[Ha],za}}walk(ma){return this.each((Ha,ka)=>{let za=ma(Ha,ka);return za!==!1&&Ha.walk&&(za=Ha.walk(ma)),za})}walkType(ma,Ha){if(!ma||!Ha)throw new Error("Parameters {type} and {callback} are required.");let ka=typeof ma=="function";return this.walk((za,va)=>{if(ka&&za instanceof ma||!ka&&za.type===ma)return Ha.call(this,za,va)})}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 Ha of this.nodes)Ha.cleanRaws(ma)}insertAfter(ma,Ha){let ka=this.index(ma),za;this.nodes.splice(ka+1,0,Ha);for(let va in this.indexes)za=this.indexes[va],ka<=za&&(this.indexes[va]=za+this.nodes.length);return this}insertBefore(ma,Ha){let ka=this.index(ma),za;this.nodes.splice(ka,0,Ha);for(let va in this.indexes)za=this.indexes[va],ka<=za&&(this.indexes[va]=za+this.nodes.length);return this}removeChild(ma){ma=this.index(ma),this.nodes[ma].parent=void 0,this.nodes.splice(ma,1);let Ha;for(let ka in this.indexes)Ha=this.indexes[ka],Ha>=ma&&(this.indexes[ka]=Ha-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}};na.registerWalker=ma=>{let Ha="walk"+ma.name;Ha.lastIndexOf("s")!==Ha.length-1&&(Ha+="s"),!na.prototype[Ha]&&(na.prototype[Ha]=function(ka){return this.walkType(ma,ka)})},la.exports=na}}),Fc=qo({"node_modules/postcss-values-parser/lib/root.js"(Zr,la){hs();var ta=yd();la.exports=class extends ta{constructor(na){super(na),this.type="root"}}}}),np=qo({"node_modules/postcss-values-parser/lib/value.js"(Zr,la){hs();var ta=yd();la.exports=class extends ta{constructor(na){super(na),this.type="value",this.unbalanced=0}}}}),Kd=qo({"node_modules/postcss-values-parser/lib/atword.js"(Zr,la){hs();var ta=yd(),na=class extends ta{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("")}};ta.registerWalker(na),la.exports=na}}),Qp=qo({"node_modules/postcss-values-parser/lib/colon.js"(Zr,la){hs();var ta=yd(),na=sc(),ma=class extends na{constructor(Ha){super(Ha),this.type="colon"}};ta.registerWalker(ma),la.exports=ma}}),sf=qo({"node_modules/postcss-values-parser/lib/comma.js"(Zr,la){hs();var ta=yd(),na=sc(),ma=class extends na{constructor(Ha){super(Ha),this.type="comma"}};ta.registerWalker(ma),la.exports=ma}}),Vp=qo({"node_modules/postcss-values-parser/lib/comment.js"(Zr,la){hs();var ta=yd(),na=sc(),ma=class extends na{constructor(Ha){super(Ha),this.type="comment",this.inline=Object(Ha).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};ta.registerWalker(ma),la.exports=ma}}),dp=qo({"node_modules/postcss-values-parser/lib/function.js"(Zr,la){hs();var ta=yd(),na=class extends ta{constructor(ma){super(ma),this.type="func",th
|
|||
|
`)>-1&&(Ha?za=za.split(`
|
|||
|
`).map(function(Fa){return" "+Fa}).join(`
|
|||
|
`).substr(2):za=`
|
|||
|
`+za.split(`
|
|||
|
`).map(function(Fa){return" "+Fa}).join(`
|
|||
|
`))):za=Zr.stylize("[Circular]","special")),Ad(ka)){if(Ha&&ma.match(/^\d+$/))return za;ka=JSON.stringify(""+ma),ka.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ka=ka.substr(1,ka.length-2),ka=Zr.stylize(ka,"name")):(ka=ka.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ka=Zr.stylize(ka,"string"))}return ka+": "+za}function Gm(Zr,la,ta){var na=0,ma=Zr.reduce(function(Ha,ka){return na++,ka.indexOf(`
|
|||
|
`)>=0&&na++,Ha+ka.replace(/\u001b\[\d\d?m/g,"").length+1},0);return ma>60?ta[0]+(la===""?"":la+`
|
|||
|
`)+" "+Zr.join(`,
|
|||
|
`)+" "+ta[1]:ta[0]+la+" "+Zr.join(", ")+" "+ta[1]}function lm(Zr){return Array.isArray(Zr)}function Sm(Zr){return typeof Zr=="boolean"}function If(Zr){return Zr===null}function Of(Zr){return Zr==null}function hf(Zr){return typeof Zr=="number"}function Ip(Zr){return typeof Zr=="string"}function um(Zr){return typeof Zr=="symbol"}function Ad(Zr){return Zr===void 0}function Zp(Zr){return ip(Zr)&&_f(Zr)==="[object RegExp]"}function ip(Zr){return typeof Zr=="object"&&Zr!==null}function yp(Zr){return ip(Zr)&&_f(Zr)==="[object Date]"}function ef(Zr){return ip(Zr)&&(_f(Zr)==="[object Error]"||Zr instanceof Error)}function Rf(Zr){return typeof Zr=="function"}function zm(Zr){return Zr===null||typeof Zr=="boolean"||typeof Zr=="number"||typeof Zr=="string"||typeof Zr=="symbol"||typeof Zr>"u"}function Fp(Zr){return Buffer$2.isBuffer(Zr)}function _f(Zr){return Object.prototype.toString.call(Zr)}function Gf(Zr){return Zr<10?"0"+Zr.toString(10):Zr.toString(10)}function Op(){var Zr=new Date,la=[Gf(Zr.getHours()),Gf(Zr.getMinutes()),Gf(Zr.getSeconds())].join(":");return[Zr.getDate(),Lm[Zr.getMonth()],la].join(" ")}function qm(){console.log("%s - %s",Op(),sm.apply(null,arguments))}function Wm(Zr,la){if(!la||!ip(la))return Zr;for(var ta=Object.keys(la),na=ta.length;na--;)Zr[ta[na]]=la[ta[na]];return Zr}function Tm(Zr,la){return Object.prototype.hasOwnProperty.call(Zr,la)}var Cm,Gd,fp,Lm,Ym,Ch=vs({"node-modules-polyfills:util"(){hs(),Af(),wd(),Cm=/%[sdj%]/g,Gd={},Jd.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]},Jd.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Lm=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ym={inherits:om,_extend:Wm,log:qm,isBuffer:Fp,isPrimitive:zm,isFunction:Rf,isError:ef,isDate:yp,isObject:ip,isRegExp:Zp,isUndefined:Ad,isSymbol:um,isString:Ip,isNumber:hf,isNullOrUndefined:Of,isNull:If,isBoolean:Sm,isArray:lm,inspect:Jd,deprecate:Bm,format:sm,debuglog:Hf}}}),cm=qo({"node-modules-polyfills-commonjs:util"(Zr,la){hs();var ta=(Ch(),_u(Jp));if(ta&&ta.default){la.exports=ta.default;for(let na in ta)la.exports[na]=ta[na]}else ta&&(la.exports=ta)}}),qp=qo({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(Zr,la){hs();var ta=class extends Error{constructor(na){super(na),this.name=this.constructor.name,this.message=na||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(na).stack}};la.exports=ta}}),Km=qo({"node_modules/postcss-values-parser/lib/tokenize.js"(Zr,la){hs();var ta=123,na=125,ma=40,Ha=41,ka=39,za=34,va=92,Fa=47,On=46,Wr=44,sa=58,Gi=42,co=45,Xa=43,Po=35,ko=10,Ja=32,ws=12,Is=9,Vs=13,Kl=64,Tu=101,ku=69,lc=48,rc=57,mc=117,uc=85,ec=/[ \n\t\r\{\(\)'"\\;,/]/g,mu=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Dl=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,hu=/^[a-z0-9]/i,Cl=/^[a-f0-9?\-]/i,Md=cm(),Wc=qp();la.exports=function(ld,jc){jc=jc||{};let Rc=[],ju=ld.valueOf(),_c=ju.length,gc=-1,Cc=1,Fs=0,ol=0,gl=null,Cu,Bs,Wu,Lu,rp,Id,hd,Up,wp,$d,Ic;function Bd(Vd){let Ud=Md.format("Unclosed %s at line: %d, column: %d, token: %d",Vd,Cc,Fs-gc,Fs);throw new Wc(Ud)}for(;Fs<_c;){switch(Cu=ju.charCodeAt(Fs),Cu===ko&&(gc=Fs,Cc+=1),Cu){case ko:case Ja:case Is:case Vs:case ws:Bs=Fs;do Bs+=1,Cu=ju.charCodeAt(Bs),Cu===ko&&(gc=Bs,Cc+=1);while(Cu===Ja||Cu===ko||Cu===Is||Cu===Vs||Cu===ws);Rc.push(["space",ju.slice(Fs,Bs),Cc,Fs-gc,Cc,Bs-gc,Fs]),Fs=Bs-1;break;case sa:Bs=Fs+1,Rc.push(["colon",ju.slice(Fs,Bs),Cc,Fs-gc,Cc,Bs-gc,Fs]),Fs=Bs-1;break;case Wr:Bs=Fs+1,Rc.push(["comma",ju.slice(Fs,Bs),Cc,Fs-gc,Cc,Bs-gc,Fs]),Fs=Bs-1;break;case ta:Rc.push(["{","{",Cc,Fs-gc,Cc,Bs-gc,Fs]);break;case na:Rc.push(["}","}",Cc,Fs-gc,Cc,Bs-gc,Fs]);break;case ma:ol++,gl=!gl&&ol===1&&Rc.length>0&&Rc[Rc.length-1][0]==="word"&&Rc[Rc.length-1][1]==="url",Rc.push(["(","(",Cc,Fs-gc,Cc,Bs-gc,Fs]);break;case
|
|||
|
`,Fs+2);Bs=Vd!==-1?Vd-1:_c}Id=ju.slice(Fs,Bs+1),Lu=Id.split(`
|
|||
|
`),rp=Lu.length-1,rp>0?(hd=Cc+rp,Up=Bs-Lu[rp].length):(hd=Cc,Up=gc),Rc.push(["comment",Id,Cc,Fs-gc,hd,Bs-Up,Fs]),gc=Up,Cc=hd,Fs=Bs}else if(Cu===Po&&!hu.test(ju.slice(Fs+1,Fs+2)))Bs=Fs+1,Rc.push(["#",ju.slice(Fs,Bs),Cc,Fs-gc,Cc,Bs-gc,Fs]),Fs=Bs-1;else if((Cu===mc||Cu===uc)&&ju.charCodeAt(Fs+1)===Xa){Bs=Fs+2;do Bs+=1,Cu=ju.charCodeAt(Bs);while(Bs<_c&&Cl.test(ju.slice(Bs,Bs+1)));Rc.push(["unicoderange",ju.slice(Fs,Bs),Cc,Fs-gc,Cc,Bs-gc,Fs]),Fs=Bs-1}else if(Cu===Fa)Bs=Fs+1,Rc.push(["operator",ju.slice(Fs,Bs),Cc,Fs-gc,Cc,Bs-gc,Fs]),Fs=Bs-1;else{let Vd=mu;if(Cu>=lc&&Cu<=rc&&(Vd=Dl),Vd.lastIndex=Fs+1,Vd.test(ju),Vd.lastIndex===0?Bs=ju.length-1:Bs=Vd.lastIndex-2,Vd===Dl||Cu===On){let Ud=ju.charCodeAt(Bs),wh=ju.charCodeAt(Bs+1),kh=ju.charCodeAt(Bs+2);(Ud===Tu||Ud===ku)&&(wh===co||wh===Xa)&&kh>=lc&&kh<=rc&&(Dl.lastIndex=Bs+2,Dl.test(ju),Dl.lastIndex===0?Bs=ju.length-1:Bs=Dl.lastIndex-2)}Rc.push(["word",ju.slice(Fs,Bs+1),Cc,Fs-gc,Cc,Bs-gc,Fs]),Fs=Bs}break}Fs++}return Rc}}}),Xm=qo({"node_modules/flatten/index.js"(Zr,la){hs(),la.exports=function(ta,na){if(na=typeof na=="number"?na:1/0,!na)return Array.isArray(ta)?ta.map(function(Ha){return Ha}):ta;return ma(ta,1);function ma(Ha,ka){return Ha.reduce(function(za,va){return Array.isArray(va)&&ka<na?za.concat(ma(va,ka+1)):za.concat(va)},[])}}}}),dm=qo({"node_modules/indexes-of/index.js"(Zr,la){hs(),la.exports=function(ta,na){for(var ma=-1,Ha=[];(ma=ta.indexOf(na,ma+1))!==-1;)Ha.push(ma);return Ha}}}),zd=qo({"node_modules/uniq/uniq.js"(Zr,la){hs();function ta(Ha,ka){for(var za=1,va=Ha.length,Fa=Ha[0],On=Ha[0],Wr=1;Wr<va;++Wr)if(On=Fa,Fa=Ha[Wr],ka(Fa,On)){if(Wr===za){za++;continue}Ha[za++]=Fa}return Ha.length=za,Ha}function na(Ha){for(var ka=1,za=Ha.length,va=Ha[0],Fa=Ha[0],On=1;On<za;++On,Fa=va)if(Fa=va,va=Ha[On],va!==Fa){if(On===ka){ka++;continue}Ha[ka++]=va}return Ha.length=ka,Ha}function ma(Ha,ka,za){return Ha.length===0?Ha:ka?(za||Ha.sort(ka),ta(Ha,ka)):(za||Ha.sort(),na(Ha))}la.exports=ma}}),mh=qo({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(Zr,la){hs();var ta=class extends Error{constructor(na){super(na),this.name=this.constructor.name,this.message=na||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(na).stack}};la.exports=ta}}),jm=qo({"node_modules/postcss-values-parser/lib/parser.js"(Zr,la){hs();var ta=Fc(),na=np(),ma=Kd(),Ha=Qp(),ka=sf(),za=Vp(),va=dp(),Fa=Qf(),On=lf(),Wr=tc(),sa=Tf(),Gi=jf(),co=Hp(),Xa=Km(),Po=Xm(),ko=dm(),Ja=zd(),ws=mh();function Is(Vs){return Vs.sort((Kl,Tu)=>Kl-Tu)}la.exports=class{constructor(Vs,Kl){let Tu={loose:!1};this.cache=[],this.input=Vs,this.options=Object.assign({},Tu,Kl),this.position=0,this.unbalanced=0,this.root=new ta;let ku=new na;this.root.append(ku),this.current=ku,this.tokens=Xa(Vs,this.options)}parse(){return this.loop()}colon(){let Vs=this.currToken;this.newNode(new Ha({value:Vs[1],source:{start:{line:Vs[2],column:Vs[3]},end:{line:Vs[4],column:Vs[5]}},sourceIndex:Vs[6]})),this.position++}comma(){let Vs=this.currToken;this.newNode(new ka({value:Vs[1],source:{start:{line:Vs[2],column:Vs[3]},end:{line:Vs[4],column:Vs[5]}},sourceIndex:Vs[6]})),this.position++}comment(){let Vs=!1,Kl=this.currToken[1].replace(/\/\*|\*\//g,""),Tu;this.options.loose&&Kl.startsWith("//")&&(Kl=Kl.substring(2),Vs=!0),Tu=new za({value:Kl,inline:Vs,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(Tu),this.position++}error(Vs,Kl){throw new ws(Vs+` at line: ${Kl[2]}, column ${Kl[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 Vs=this.currToken[1],Kl;if(Vs==="+"||Vs==="-"){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
|
|||
|
`),Wc=Md.length-1,Wc>0?(Rc=ol+Wc,ju=hu-Md[Wc].length):(Rc=ol,ju=Fs),ec.push(["comment",ld,ol,gl-Fs,Rc,hu-ju,gl]),Fs=ju,ol=Rc,gl=hu):(rc.lastIndex=gl+1,rc.test(mu),rc.lastIndex===0?hu=mu.length-1:hu=rc.lastIndex-2,ec.push(["word",mu.slice(gl,hu+1),ol,gl-Fs,ol,hu-Fs,gl]),gl=hu);break}gl++}return ec}la.exports=Zr.default}}),zc=qo({"node_modules/postcss-selector-parser/dist/parser.js"(Zr,la){hs(),Zr.__esModule=!0;var ta=function(){function Fs(ol,gl){for(var Cu=0;Cu<gl.length;Cu++){var Bs=gl[Cu];Bs.enumerable=Bs.enumerable||!1,Bs.configurable=!0,"value"in Bs&&(Bs.writable=!0),Object.defineProperty(ol,Bs.key,Bs)}}return function(ol,gl,Cu){return gl&&Fs(ol.prototype,gl),Cu&&Fs(ol,Cu),ol}}(),na=Xm(),ma=_c(na),Ha=dm(),ka=_c(Ha),za=zd(),va=_c(za),Fa=Fu(),On=_c(Fa),Wr=Hu(),sa=_c(Wr),Gi=jd(),co=_c(Gi),Xa=sd(),Po=_c(Xa),ko=pm(),Ja=_c(ko),ws=hh(),Is=_c(ws),Vs=Rp(),Kl=_c(Vs),Tu=Wp(),ku=_c(Tu),lc=kf(),rc=_c(lc),mc=kp(),uc=_c(mc),ec=tf(),mu=_c(ec),Dl=zf(),hu=_c(Dl),Cl=Uc(),Md=_c(Cl),Wc=gh(),ld=_c(Wc),jc=_l(),Rc=ju(jc);function ju(Fs){if(Fs&&Fs.__esModule)return Fs;var ol={};if(Fs!=null)for(var gl in Fs)Object.prototype.hasOwnProperty.call(Fs,gl)&&(ol[gl]=Fs[gl]);return ol.default=Fs,ol}function _c(Fs){return Fs&&Fs.__esModule?Fs:{default:Fs}}function gc(Fs,ol){if(!(Fs instanceof ol))throw new TypeError("Cannot call a class as a function")}var Cc=function(){function Fs(ol){gc(this,Fs),this.input=ol,this.lossy=ol.options.lossless===!1,this.position=0,this.root=new On.default;var gl=new sa.default;return this.root.append(gl),this.current=gl,this.lossy?this.tokens=(0,ld.default)({safe:ol.safe,css:ol.css.trim()}):this.tokens=(0,ld.default)(ol),this.loop()}return Fs.prototype.attribute=function(){var ol="",gl=void 0,Cu=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)ol+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~ol.indexOf("]")&&this.error("Expected a closing square bracket.");var Bs=ol.split(/((?:[*~^$|]?=))([^]*)/),Wu=Bs[0].split(/(\|)/g),Lu={operator:Bs[1],value:Bs[2],source:{start:{line:Cu[2],column:Cu[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:Cu[4]};if(Wu.length>1?(Wu[0]===""&&(Wu[0]=!0),Lu.attribute=this.parseValue(Wu[2]),Lu.namespace=this.parseNamespace(Wu[0])):Lu.attribute=this.parseValue(Bs[0]),gl=new rc.default(Lu),Bs[2]){var rp=Bs[2].split(/(\s+i\s*?)$/),Id=rp[0].trim();gl.value=this.lossy?Id:rp[0],rp[1]&&(gl.insensitive=!0,this.lossy||(gl.raws.insensitive=rp[1])),gl.quoted=Id[0]==="'"||Id[0]==='"',gl.raws.unquoted=gl.quoted?Id.slice(1,-1):Id}this.newNode(gl),this.position++},Fs.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var ol=new mu.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"?(ol.spaces.before=this.parseSpace(this.currToken[1]),ol.source.start.line=this.nextToken[2],ol.source.start.column=this.nextToken[3],ol.source.end.column=this.nextToken[3],ol.source.end.line=this.nextToken[2],ol.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?ol.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?ol.value=this.currToken[1]:this.currToken[0]==="space"&&(ol.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(ol)},Fs.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var ol=new sa.default;this.current.parent.append(ol),this.current=ol,this.position++},Fs.prototype.comment=function(){var ol=new Po.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(ol),this.position++},Fs.prototype.error=function(ol){throw n
|
|||
|
`+Dl+lc("^")}return" "+rc(mu)+mc}).join(`
|
|||
|
`)},ko.toString=function(){var Ja=this.showSourceCode();return Ja&&(Ja=`
|
|||
|
|
|||
|
`+Ja+`
|
|||
|
`),this.name+": "+this.message+Ja},Po}(za(Error)),co=Gi;Zr.default=co,la.exports=Zr.default}}),Rs=qo({"node_modules/postcss/lib/previous-map.js"(Zr,la){hs(),la.exports=class{}}}),Ts=qo({"node_modules/postcss/lib/input.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta=Ha(vo()),na=Ha(_s()),ma=Ha(Rs());function Ha(Wr){return Wr&&Wr.__esModule?Wr:{default:Wr}}function ka(Wr,sa){for(var Gi=0;Gi<sa.length;Gi++){var co=sa[Gi];co.enumerable=co.enumerable||!1,co.configurable=!0,"value"in co&&(co.writable=!0),Object.defineProperty(Wr,co.key,co)}}function za(Wr,sa,Gi){return sa&&ka(Wr.prototype,sa),Wr}var va=0,Fa=function(){function Wr(Gi,co){if(co===void 0&&(co={}),Gi===null||typeof Gi>"u"||typeof Gi=="object"&&!Gi.toString)throw new Error("PostCSS received "+Gi+" instead of CSS string");this.css=Gi.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,co.from&&(/^\w+:\/\//.test(co.from)||ta.default.isAbsolute(co.from)?this.file=co.from:this.file=ta.default.resolve(co.from));var Xa=new ma.default(this.css,co);if(Xa.text){this.map=Xa;var Po=Xa.consumer().file;!this.file&&Po&&(this.file=this.mapResolve(Po))}this.file||(va+=1,this.id="<input css "+va+">"),this.map&&(this.map.file=this.from)}var sa=Wr.prototype;return sa.error=function(Gi,co,Xa,Po){Po===void 0&&(Po={});var ko,Ja=this.origin(co,Xa);return Ja?ko=new na.default(Gi,Ja.line,Ja.column,Ja.source,Ja.file,Po.plugin):ko=new na.default(Gi,co,Xa,this.css,this.file,Po.plugin),ko.input={line:co,column:Xa,source:this.css},this.file&&(ko.input.file=this.file),ko},sa.origin=function(Gi,co){if(!this.map)return!1;var Xa=this.map.consumer(),Po=Xa.originalPositionFor({line:Gi,column:co});if(!Po.source)return!1;var ko={file:this.mapResolve(Po.source),line:Po.line,column:Po.column},Ja=Xa.sourceContentFor(Po.source);return Ja&&(ko.source=Ja),ko},sa.mapResolve=function(Gi){return/^\w+:\/\//.test(Gi)?Gi:ta.default.resolve(this.map.consumer().sourceRoot||".",Gi)},za(Wr,[{key:"from",get:function(){return this.file||this.id}}]),Wr}(),On=Fa;Zr.default=On,la.exports=Zr.default}}),Ks=qo({"node_modules/postcss/lib/stringifier.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta={colon:": ",indent:" ",beforeDecl:`
|
|||
|
`,beforeRule:`
|
|||
|
`,beforeOpen:" ",beforeClose:`
|
|||
|
`,beforeComment:`
|
|||
|
`,after:`
|
|||
|
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function na(ka){return ka[0].toUpperCase()+ka.slice(1)}var ma=function(){function ka(va){this.builder=va}var za=ka.prototype;return za.stringify=function(va,Fa){this[va.type](va,Fa)},za.root=function(va){this.body(va),va.raws.after&&this.builder(va.raws.after)},za.comment=function(va){var Fa=this.raw(va,"left","commentLeft"),On=this.raw(va,"right","commentRight");this.builder("/*"+Fa+va.text+On+"*/",va)},za.decl=function(va,Fa){var On=this.raw(va,"between","colon"),Wr=va.prop+On+this.rawValue(va,"value");va.important&&(Wr+=va.raws.important||" !important"),Fa&&(Wr+=";"),this.builder(Wr,va)},za.rule=function(va){this.block(va,this.rawValue(va,"selector")),va.raws.ownSemicolon&&this.builder(va.raws.ownSemicolon,va,"end")},za.atrule=function(va,Fa){var On="@"+va.name,Wr=va.params?this.rawValue(va,"params"):"";if(typeof va.raws.afterName<"u"?On+=va.raws.afterName:Wr&&(On+=" "),va.nodes)this.block(va,On+Wr);else{var sa=(va.raws.between||"")+(Fa?";":"");this.builder(On+Wr+sa,va)}},za.body=function(va){for(var Fa=va.nodes.length-1;Fa>0&&va.nodes[Fa].type==="comment";)Fa-=1;for(var On=this.raw(va,"semicolon"),Wr=0;Wr<va.nodes.length;Wr++){var sa=va.nodes[Wr],Gi=this.raw(sa,"before");Gi&&this.builder(Gi),this.stringify(sa,Fa!==Wr||On)}},za.block=function(va,Fa){var On=this.raw(va,"between","beforeOpen");this.builder(Fa+On+"{",va,"start");var Wr;va.nodes&&va.nodes.length?(this.body(va),Wr=this.raw(va,"after")):Wr=this.raw(va,"after","emptyBody"),Wr&&this.builder(Wr),this.builder("}",va,"end")},za.raw=function(va,Fa,On){var Wr;if(On||(On=Fa),Fa&&(Wr=va.raws[Fa],typeof Wr<"u"))return Wr;var sa=va.parent;if(On==="before"&&(!sa||sa.type==="root"&&sa.first===va))return"";if(!sa)return ta[On];var Gi=va.root();if(Gi.rawCache||(Gi.rawCache={}),typeof Gi.rawCache[On]<"u")return Gi.rawCache[On];if(On==="before"||On==="after")return this.beforeAfter(va,On);var co="raw"+na(On);return this[co]?Wr=this[co](Gi,va):Gi.walk(function(Xa){if(Wr=Xa.raws[Fa],typeof Wr<"u")return!1}),typeof Wr>"u"&&(Wr=ta[On]),Gi.rawCache[On]=Wr,Wr},za.rawSemicolon=function(va){var Fa;return va.walk(function(On){if(On.nodes&&On.nodes.length&&On.last.type==="decl"&&(Fa=On.raws.semicolon,typeof Fa<"u"))return!1}),Fa},za.rawEmptyBody=function(va){var Fa;return va.walk(function(On){if(On.nodes&&On.nodes.length===0&&(Fa=On.raws.after,typeof Fa<"u"))return!1}),Fa},za.rawIndent=function(va){if(va.raws.indent)return va.raws.indent;var Fa;return va.walk(function(On){var Wr=On.parent;if(Wr&&Wr!==va&&Wr.parent&&Wr.parent===va&&typeof On.raws.before<"u"){var sa=On.raws.before.split(`
|
|||
|
`);return Fa=sa[sa.length-1],Fa=Fa.replace(/[^\s]/g,""),!1}}),Fa},za.rawBeforeComment=function(va,Fa){var On;return va.walkComments(function(Wr){if(typeof Wr.raws.before<"u")return On=Wr.raws.before,On.indexOf(`
|
|||
|
`)!==-1&&(On=On.replace(/[^\n]+$/,"")),!1}),typeof On>"u"?On=this.raw(Fa,null,"beforeDecl"):On&&(On=On.replace(/[^\s]/g,"")),On},za.rawBeforeDecl=function(va,Fa){var On;return va.walkDecls(function(Wr){if(typeof Wr.raws.before<"u")return On=Wr.raws.before,On.indexOf(`
|
|||
|
`)!==-1&&(On=On.replace(/[^\n]+$/,"")),!1}),typeof On>"u"?On=this.raw(Fa,null,"beforeRule"):On&&(On=On.replace(/[^\s]/g,"")),On},za.rawBeforeRule=function(va){var Fa;return va.walk(function(On){if(On.nodes&&(On.parent!==va||va.first!==On)&&typeof On.raws.before<"u")return Fa=On.raws.before,Fa.indexOf(`
|
|||
|
`)!==-1&&(Fa=Fa.replace(/[^\n]+$/,"")),!1}),Fa&&(Fa=Fa.replace(/[^\s]/g,"")),Fa},za.rawBeforeClose=function(va){var Fa;return va.walk(function(On){if(On.nodes&&On.nodes.length>0&&typeof On.raws.after<"u")return Fa=On.raws.after,Fa.indexOf(`
|
|||
|
`)!==-1&&(Fa=Fa.replace(/[^\n]+$/,"")),!1}),Fa&&(Fa=Fa.replace(/[^\s]/g,"")),Fa},za.rawBeforeOpen=function(va){var Fa;return va.walk(function(On){if(On.type!=="decl"&&(Fa=On.raws.between,typeof Fa<"u"))return!1}),Fa},za.rawColon=function(va){var Fa;return va.walkDecls(function(On){if(typeof On.raws.between<"u")return Fa=On.raws.between.replace(/[^\s:]/g,""),!1}),Fa},za.beforeAfter=function(va,Fa){var On;va.type==="decl"?On=this.raw(va,null,"beforeDecl"):va.type==="comment"?On=this.raw(va,null,"beforeComment"):Fa==="before"?On=this.raw(va,null,"beforeRule"):On=this.raw(va,null,"beforeClose");for(var Wr=va.parent,sa=0;Wr&&Wr.type!=="root";)sa+=1,Wr=Wr.parent;if(On.indexOf(`
|
|||
|
`)!==-1){var Gi=this.raw(va,null,"indent");if(Gi.length)for(var co=0;co<sa;co++)On+=Gi}return On},za.rawValue=function(va,Fa){var On=va[Fa],Wr=va.raws[Fa];return Wr&&Wr.value===On?Wr.raw:On},ka}(),Ha=ma;Zr.default=Ha,la.exports=Zr.default}}),Io=qo({"node_modules/postcss/lib/stringify.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta=na(Ks());function na(ka){return ka&&ka.__esModule?ka:{default:ka}}function ma(ka,za){var va=new ta.default(za);va.stringify(ka)}var Ha=ma;Zr.default=Ha,la.exports=Zr.default}}),Hs=qo({"node_modules/postcss/lib/node.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta=Ha(_s()),na=Ha(Ks()),ma=Ha(Io());function Ha(Fa){return Fa&&Fa.__esModule?Fa:{default:Fa}}function ka(Fa,On){var Wr=new Fa.constructor;for(var sa in Fa)if(Fa.hasOwnProperty(sa)){var Gi=Fa[sa],co=typeof Gi;sa==="parent"&&co==="object"?On&&(Wr[sa]=On):sa==="source"?Wr[sa]=Gi:Gi instanceof Array?Wr[sa]=Gi.map(function(Xa){return ka(Xa,Wr)}):(co==="object"&&Gi!==null&&(Gi=ka(Gi)),Wr[sa]=Gi)}return Wr}var za=function(){function Fa(Wr){Wr===void 0&&(Wr={}),this.raws={};for(var sa in Wr)this[sa]=Wr[sa]}var On=Fa.prototype;return On.error=function(Wr,sa){if(sa===void 0&&(sa={}),this.source){var Gi=this.positionBy(sa);return this.source.input.error(Wr,Gi.line,Gi.column,sa)}return new ta.default(Wr)},On.warn=function(Wr,sa,Gi){var co={node:this};for(var Xa in Gi)co[Xa]=Gi[Xa];return Wr.warn(sa,co)},On.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},On.toString=function(Wr){Wr===void 0&&(Wr=ma.default),Wr.stringify&&(Wr=Wr.stringify);var sa="";return Wr(this,function(Gi){sa+=Gi}),sa},On.clone=function(Wr){Wr===void 0&&(Wr={});var sa=ka(this);for(var Gi in Wr)sa[Gi]=Wr[Gi];return sa},On.cloneBefore=function(Wr){Wr===void 0&&(Wr={});var sa=this.clone(Wr);return this.parent.insertBefore(this,sa),sa},On.cloneAfter=function(Wr){Wr===void 0&&(Wr={});var sa=this.clone(Wr);return this.parent.insertAfter(this,sa),sa},On.replaceWith=function(){if(this.parent){for(var Wr=arguments.length,sa=new Array(Wr),Gi=0;Gi<Wr;Gi++)sa[Gi]=arguments[Gi];for(var co=0,Xa=sa;co<Xa.length;co++){var Po=Xa[co];this.parent.insertBefore(this,Po)}this.remove()}return this},On.next=function(){if(this.parent){var Wr=this.parent.index(this);return this.parent.nodes[Wr+1]}},On.prev=function(){if(this.parent){var Wr=this.parent.index(this);return this.parent.nodes[Wr-1]}},On.before=function(Wr){return this.parent.insertBefore(this,Wr),this},On.after=function(Wr){return this.parent.insertAfter(this,Wr),this},On.toJSON=function(){var Wr={};for(var sa in this)if(this.hasOwnProperty(sa)&&sa!=="parent"){var Gi=this[sa];Gi instanceof Array?Wr[sa]=Gi.map(function(co){return typeof co=="object"&&co.toJSON?co.toJSON():co}):typeof Gi=="object"&&Gi.toJSON?Wr[sa]=Gi.toJSON():Wr[sa]=Gi}return Wr},On.raw=function(Wr,sa){var Gi=new na.default;return Gi.raw(this,Wr,sa)},On.root=function(){for(var Wr=this;Wr.parent;)Wr=Wr.parent;return Wr},On.cleanRaws=function(Wr){delete this.raws.before,delete this.raws.after,Wr||delete this.raws.between},On.positionInside=function(Wr){for(var sa=this.toString(),Gi=this.source.start.column,co=this.source.start.line,Xa=0;Xa<Wr;Xa++)sa[Xa]===`
|
|||
|
`?(Gi=1,co+=1):Gi+=1;return{line:co,column:Gi}},On.positionBy=function(Wr){var sa=this.source.start;if(Wr.index)sa=this.positionInside(Wr.index);else if(Wr.word){var Gi=this.toString().indexOf(Wr.word);Gi!==-1&&(sa=this.positionInside(Gi))}return sa},Fa}(),va=za;Zr.default=va,la.exports=Zr.default}}),ns=qo({"node_modules/postcss/lib/comment.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta=na(Hs());function na(za){return za&&za.__esModule?za:{default:za}}function ma(za,va){za.prototype=Object.create(va.prototype),za.prototype.constructor=za,za.__proto__=va}var Ha=function(za){ma(va,za);function va(Fa){var On;return On=za.call(this,Fa)||this,On.type="comment",On}return va}(ta.default),ka=Ha;Zr.default=ka,la.exports=Zr.default}}),as=qo({"node_modules/postcss/lib/declaration.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta=na(Hs());function na(za){return za&&za.__esModule?za:{default:za}}function ma(za,va){za.prototype=Object.create(va.prototype),za.prototype.constructor=za,za.__proto__=va}var Ha=function(za){ma(va,za);function va(Fa){var On;return On=za.call(this,Fa)||this,On.type="decl",On}return va}(ta.default),ka=Ha;Zr.default=ka,la.exports=Zr.default}}),us=qo({"node_modules/postcss/lib/tokenize.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=lc;var ta=39,na=34,ma=92,Ha=47,ka=10,za=32,va=12,Fa=9,On=13,Wr=91,sa=93,Gi=40,co=41,Xa=123,Po=125,ko=59,Ja=42,ws=58,Is=64,Vs=/[ \n\t\r\f{}()'"\\;/[\]#]/g,Kl=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Tu=/.[\\/("'\n]/,ku=/[a-f0-9]/i;function lc(rc,mc){mc===void 0&&(mc={});var uc=rc.css.valueOf(),ec=mc.ignoreErrors,mu,Dl,hu,Cl,Md,Wc,ld,jc,Rc,ju,_c,gc,Cc,Fs,ol=uc.length,gl=-1,Cu=1,Bs=0,Wu=[],Lu=[];function rp(){return Bs}function Id($d){throw rc.error("Unclosed "+$d,Cu,Bs-gl)}function hd(){return Lu.length===0&&Bs>=ol}function Up($d){if(Lu.length)return Lu.pop();if(!(Bs>=ol)){var Ic=$d?$d.ignoreUnclosed:!1;switch(mu=uc.charCodeAt(Bs),(mu===ka||mu===va||mu===On&&uc.charCodeAt(Bs+1)!==ka)&&(gl=Bs,Cu+=1),mu){case ka:case za:case Fa:case On:case va:Dl=Bs;do Dl+=1,mu=uc.charCodeAt(Dl),mu===ka&&(gl=Dl,Cu+=1);while(mu===za||mu===ka||mu===Fa||mu===On||mu===va);Fs=["space",uc.slice(Bs,Dl)],Bs=Dl-1;break;case Wr:case sa:case Xa:case Po:case ws:case ko:case co:var Bd=String.fromCharCode(mu);Fs=[Bd,Bd,Cu,Bs-gl];break;case Gi:if(gc=Wu.length?Wu.pop()[1]:"",Cc=uc.charCodeAt(Bs+1),gc==="url"&&Cc!==ta&&Cc!==na&&Cc!==za&&Cc!==ka&&Cc!==Fa&&Cc!==va&&Cc!==On){Dl=Bs;do{if(ju=!1,Dl=uc.indexOf(")",Dl+1),Dl===-1)if(ec||Ic){Dl=Bs;break}else Id("bracket");for(_c=Dl;uc.charCodeAt(_c-1)===ma;)_c-=1,ju=!ju}while(ju);Fs=["brackets",uc.slice(Bs,Dl+1),Cu,Bs-gl,Cu,Dl-gl],Bs=Dl}else Dl=uc.indexOf(")",Bs+1),Wc=uc.slice(Bs,Dl+1),Dl===-1||Tu.test(Wc)?Fs=["(","(",Cu,Bs-gl]:(Fs=["brackets",Wc,Cu,Bs-gl,Cu,Dl-gl],Bs=Dl);break;case ta:case na:hu=mu===ta?"'":'"',Dl=Bs;do{if(ju=!1,Dl=uc.indexOf(hu,Dl+1),Dl===-1)if(ec||Ic){Dl=Bs+1;break}else Id("string");for(_c=Dl;uc.charCodeAt(_c-1)===ma;)_c-=1,ju=!ju}while(ju);Wc=uc.slice(Bs,Dl+1),Cl=Wc.split(`
|
|||
|
`),Md=Cl.length-1,Md>0?(jc=Cu+Md,Rc=Dl-Cl[Md].length):(jc=Cu,Rc=gl),Fs=["string",uc.slice(Bs,Dl+1),Cu,Bs-gl,jc,Dl-Rc],gl=Rc,Cu=jc,Bs=Dl;break;case Is:Vs.lastIndex=Bs+1,Vs.test(uc),Vs.lastIndex===0?Dl=uc.length-1:Dl=Vs.lastIndex-2,Fs=["at-word",uc.slice(Bs,Dl+1),Cu,Bs-gl,Cu,Dl-gl],Bs=Dl;break;case ma:for(Dl=Bs,ld=!0;uc.charCodeAt(Dl+1)===ma;)Dl+=1,ld=!ld;if(mu=uc.charCodeAt(Dl+1),ld&&mu!==Ha&&mu!==za&&mu!==ka&&mu!==Fa&&mu!==On&&mu!==va&&(Dl+=1,ku.test(uc.charAt(Dl)))){for(;ku.test(uc.charAt(Dl+1));)Dl+=1;uc.charCodeAt(Dl+1)===za&&(Dl+=1)}Fs=["word",uc.slice(Bs,Dl+1),Cu,Bs-gl,Cu,Dl-gl],Bs=Dl;break;default:mu===Ha&&uc.charCodeAt(Bs+1)===Ja?(Dl=uc.indexOf("*/",Bs+2)+1,Dl===0&&(ec||Ic?Dl=uc.length:Id("comment")),Wc=uc.slice(Bs,Dl+1),Cl=Wc.split(`
|
|||
|
`),Md=Cl.length-1,Md>0?(jc=Cu+Md,Rc=Dl-Cl[Md].length):(jc=Cu,Rc=gl),Fs=["comment",Wc,Cu,Bs-gl,jc,Dl-Rc],gl=Rc,Cu=jc,Bs=Dl):(Kl.lastIndex=Bs+1,Kl.test(uc),Kl.lastIndex===0?Dl=uc.length-1:Dl=Kl.lastIndex-2,Fs=["word",uc.slice(Bs,Dl+1),Cu,Bs-gl,Cu,Dl-gl],Wu.push(Fs),Bs=Dl);break}return Bs++,Fs}}function wp($d){Lu.push($d)}return{back:wp,nextToken:Up,endOfFile:hd,position:rp}}la.exports=Zr.default}}),gs=qo({"node_modules/postcss/lib/parse.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta=ma(Ea()),na=ma(Ts());function ma(za){return za&&za.__esModule?za:{default:za}}function Ha(za,va){var Fa=new na.default(za,va),On=new ta.default(Fa);try{On.parse()}catch(Wr){throw Wr}return On.root}var ka=Ha;Zr.default=ka,la.exports=Zr.default}}),rl=qo({"node_modules/postcss/lib/list.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta={split:function(ma,Ha,ka){for(var za=[],va="",Fa=!1,On=0,Wr=!1,sa=!1,Gi=0;Gi<ma.length;Gi++){var co=ma[Gi];Wr?sa?sa=!1:co==="\\"?sa=!0:co===Wr&&(Wr=!1):co==='"'||co==="'"?Wr=co:co==="("?On+=1:co===")"?On>0&&(On-=1):On===0&&Ha.indexOf(co)!==-1&&(Fa=!0),Fa?(va!==""&&za.push(va.trim()),va="",Fa=!1):va+=co}return(ka||va!=="")&&za.push(va.trim()),za},space:function(ma){var Ha=[" ",`
|
|||
|
`," "];return ta.split(ma,Ha)},comma:function(ma){return ta.split(ma,[","],!0)}},na=ta;Zr.default=na,la.exports=Zr.default}}),sl=qo({"node_modules/postcss/lib/rule.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta=ma(jl()),na=ma(rl());function ma(On){return On&&On.__esModule?On:{default:On}}function Ha(On,Wr){for(var sa=0;sa<Wr.length;sa++){var Gi=Wr[sa];Gi.enumerable=Gi.enumerable||!1,Gi.configurable=!0,"value"in Gi&&(Gi.writable=!0),Object.defineProperty(On,Gi.key,Gi)}}function ka(On,Wr,sa){return Wr&&Ha(On.prototype,Wr),On}function za(On,Wr){On.prototype=Object.create(Wr.prototype),On.prototype.constructor=On,On.__proto__=Wr}var va=function(On){za(Wr,On);function Wr(sa){var Gi;return Gi=On.call(this,sa)||this,Gi.type="rule",Gi.nodes||(Gi.nodes=[]),Gi}return ka(Wr,[{key:"selectors",get:function(){return na.default.comma(this.selector)},set:function(sa){var Gi=this.selector?this.selector.match(/,\s*/):null,co=Gi?Gi[0]:","+this.raw("between","beforeOpen");this.selector=sa.join(co)}}]),Wr}(ta.default),Fa=va;Zr.default=Fa,la.exports=Zr.default}}),jl=qo({"node_modules/postcss/lib/container.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta=Ha(as()),na=Ha(ns()),ma=Ha(Hs());function Ha(Xa){return Xa&&Xa.__esModule?Xa:{default:Xa}}function ka(Xa,Po){var ko;if(typeof Symbol>"u"||Xa[Symbol.iterator]==null){if(Array.isArray(Xa)||(ko=za(Xa))||Po){ko&&(Xa=ko);var Ja=0;return function(){return Ja>=Xa.length?{done:!0}:{done:!1,value:Xa[Ja++]}}}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 ko=Xa[Symbol.iterator](),ko.next.bind(ko)}function za(Xa,Po){if(Xa){if(typeof Xa=="string")return va(Xa,Po);var ko=Object.prototype.toString.call(Xa).slice(8,-1);if(ko==="Object"&&Xa.constructor&&(ko=Xa.constructor.name),ko==="Map"||ko==="Set")return Array.from(Xa);if(ko==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ko))return va(Xa,Po)}}function va(Xa,Po){(Po==null||Po>Xa.length)&&(Po=Xa.length);for(var ko=0,Ja=new Array(Po);ko<Po;ko++)Ja[ko]=Xa[ko];return Ja}function Fa(Xa,Po){for(var ko=0;ko<Po.length;ko++){var Ja=Po[ko];Ja.enumerable=Ja.enumerable||!1,Ja.configurable=!0,"value"in Ja&&(Ja.writable=!0),Object.defineProperty(Xa,Ja.key,Ja)}}function On(Xa,Po,ko){return Po&&Fa(Xa.prototype,Po),Xa}function Wr(Xa,Po){Xa.prototype=Object.create(Po.prototype),Xa.prototype.constructor=Xa,Xa.__proto__=Po}function sa(Xa){return Xa.map(function(Po){return Po.nodes&&(Po.nodes=sa(Po.nodes)),delete Po.source,Po})}var Gi=function(Xa){Wr(Po,Xa);function Po(){return Xa.apply(this,arguments)||this}var ko=Po.prototype;return ko.push=function(Ja){return Ja.parent=this,this.nodes.push(Ja),this},ko.each=function(Ja){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var ws=this.lastEach;if(this.indexes[ws]=0,!!this.nodes){for(var Is,Vs;this.indexes[ws]<this.nodes.length&&(Is=this.indexes[ws],Vs=Ja(this.nodes[Is],Is),Vs!==!1);)this.indexes[ws]+=1;return delete this.indexes[ws],Vs}},ko.walk=function(Ja){return this.each(function(ws,Is){var Vs;try{Vs=Ja(ws,Is)}catch(Tu){if(Tu.postcssNode=ws,Tu.stack&&ws.source&&/\n\s{4}at /.test(Tu.stack)){var Kl=ws.source;Tu.stack=Tu.stack.replace(/\n\s{4}at /,"$&"+Kl.input.from+":"+Kl.start.line+":"+Kl.start.column+"$&")}throw Tu}return Vs!==!1&&ws.walk&&(Vs=ws.walk(Ja)),Vs})},ko.walkDecls=function(Ja,ws){return ws?Ja instanceof RegExp?this.walk(function(Is,Vs){if(Is.type==="decl"&&Ja.test(Is.prop))return ws(Is,Vs)}):this.walk(function(Is,Vs){if(Is.type==="decl"&&Is.prop===Ja)return ws(Is,Vs)}):(ws=Ja,this.walk(function(Is,Vs){if(Is.type==="decl")return ws(Is,Vs)}))},ko.walkRules=function(Ja,ws){return ws?Ja instanceof RegExp?this.walk(function(Is,Vs){if(Is.type==="rule"&&Ja.test(Is.selector))return ws(Is,Vs)}):this.walk(function(Is,Vs){if(Is.type==="rule"&&Is.selector===Ja)return ws(Is,Vs)}):(ws=Ja,this.walk(function(Is,Vs){if(Is.type==="rule")return ws(Is,Vs)}))},ko.walkAtRules=function(Ja,ws){return ws?Ja instanceof RegExp?this.walk(function(Is,Vs){if(Is.type==="atrule"&&Ja.test(Is.name))return ws(Is,Vs)}):this.walk(function(Is,Vs){if(Is.type==="atrule"&&Is.name===Ja)return ws(Is,Vs)}):(ws=Ja,this.walk(function(Is,Vs){if(Is.type==="atrule")return ws(Is,Vs)}))},ko.walkComments=function(Ja){return this.walk(function(ws,Is){if(ws.type==="comment")return Ja(ws,Is)})},ko.append=function(){for(var Ja=arguments.length,ws=new Array(Ja),Is=0;Is<Ja;Is++)ws[Is]=arguments[Is];for(var Vs=0,Kl=ws;Vs<Kl.length;Vs++)for(var Tu=Kl[Vs],ku=this.normalize(Tu,this.last),lc=ka(ku),rc;!(rc=lc()).done;){var mc=rc.value;this.nodes.push(mc)}return this},ko.prepend=function(){for(var Ja=arguments.length,ws=new Array(Ja),Is=0;Is<Ja;Is++)ws[Is]=arguments[Is];ws=ws.reverse();for(var Vs=ka(ws),Kl;!(Kl=Vs()).done;){for(var Tu=Kl.value,ku=this.normalize(Tu,this.first,"prepend").reverse(),lc=ka(ku),rc;!(rc=lc()).done;){var mc=rc.value;this.nodes.unshift(mc)}for(var uc in this.indexes)this.indexes[uc]=this.indexes[uc]+ku.length}return this},ko.cleanRaws=function(Ja){if(Xa.prototype.cleanRaws.call(this,Ja),this.nodes)for(var ws=ka(this.nodes),Is;!(Is=ws()).done;){var Vs=Is.value;Vs.cleanRaws(Ja)}},ko.insertBefore=function(Ja,ws){Ja=this.index(Ja);for(var Is=Ja===0?"prepend":!1,Vs=this.normalize(ws,this.nodes[Ja],Is).reverse(),Kl=ka(Vs),Tu;!(Tu=Kl()).done;){var ku=Tu.value;this.nodes.splice(Ja,0,ku)}var lc;for(var rc in this.indexes)lc=this.indexes[rc],Ja<=lc&&(this.indexes[rc]=lc+Vs.length);return this},ko.insertAfter=function(Ja,ws){Ja=this.index(Ja);for(var Is=this.normalize(ws,this.nodes[Ja]).revers
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return ko=Xa[Symbol.iterator](),ko.next.bind(ko)}function va(Xa,Po){if(Xa){if(typeof Xa=="string")return Fa(Xa,Po);var ko=Object.prototype.toString.call(Xa).slice(8,-1);if(ko==="Object"&&Xa.constructor&&(ko=Xa.constructor.name),ko==="Map"||ko==="Set")return Array.from(Xa);if(ko==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ko))return Fa(Xa,Po)}}function Fa(Xa,Po){(Po==null||Po>Xa.length)&&(Po=Xa.length);for(var ko=0,Ja=new Array(Po);ko<Po;ko++)Ja[ko]=Xa[ko];return Ja}function On(Xa,Po){for(var ko=0;ko<Po.length;ko++){var Ja=Po[ko];Ja.enumerable=Ja.enumerable||!1,Ja.configurable=!0,"value"in Ja&&(Ja.writable=!0),Object.defineProperty(Xa,Ja.key,Ja)}}function Wr(Xa,Po,ko){return Po&&On(Xa.prototype,Po),Xa}function sa(Xa){return typeof Xa=="object"&&typeof Xa.then=="function"}var Gi=function(){function Xa(ko,Ja,ws){this.stringified=!1,this.processed=!1;var Is;if(typeof Ja=="object"&&Ja!==null&&Ja.type==="root")Is=Ja;else if(Ja instanceof Xa||Ja instanceof ma.default)Is=Ja.root,Ja.map&&(typeof ws.map>"u"&&(ws.map={}),ws.map.inline||(ws.map.inline=!1),ws.map.prev=Ja.map);else{var Vs=Ha.default;ws.syntax&&(Vs=ws.syntax.parse),ws.parser&&(Vs=ws.parser),Vs.parse&&(Vs=Vs.parse);try{Is=Vs(Ja,ws)}catch(Kl){this.error=Kl}}this.result=new ma.default(ko,Is,ws)}var Po=Xa.prototype;return Po.warnings=function(){return this.sync().warnings()},Po.toString=function(){return this.css},Po.then=function(ko,Ja){return this.async().then(ko,Ja)},Po.catch=function(ko){return this.async().catch(ko)},Po.finally=function(ko){return this.async().then(ko,ko)},Po.handleError=function(ko,Ja){try{if(this.error=ko,ko.name==="CssSyntaxError"&&!ko.plugin)ko.plugin=Ja.postcssPlugin,ko.setMessage();else if(Ja.postcssVersion&&!1)var ws,Is,Vs,Kl,Tu}catch(ku){console&&console.error&&console.error(ku)}},Po.asyncTick=function(ko,Ja){var ws=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,ko();try{var Is=this.processor.plugins[this.plugin],Vs=this.run(Is);this.plugin+=1,sa(Vs)?Vs.then(function(){ws.asyncTick(ko,Ja)}).catch(function(Kl){ws.handleError(Kl,Is),ws.processed=!0,Ja(Kl)}):this.asyncTick(ko,Ja)}catch(Kl){this.processed=!0,Ja(Kl)}},Po.async=function(){var ko=this;return this.processed?new Promise(function(Ja,ws){ko.error?ws(ko.error):Ja(ko.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(Ja,ws){if(ko.error)return ws(ko.error);ko.plugin=0,ko.asyncTick(Ja,ws)}).then(function(){return ko.processed=!0,ko.stringify()}),this.processing)},Po.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 ko=za(this.result.processor.plugins),Ja;!(Ja=ko()).done;){var ws=Ja.value,Is=this.run(ws);if(sa(Is))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},Po.run=function(ko){this.result.lastPlugin=ko;try{return ko(this.result.root,this.result)}catch(Ja){throw this.handleError(Ja,ko),Ja}},Po.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var ko=this.result.opts,Ja=na.default;ko.syntax&&(Ja=ko.syntax.stringify),ko.stringifier&&(Ja=ko.stringifier),Ja.stringify&&(Ja=Ja.stringify);var ws=new ta.default(Ja,this.result.root,this.result.opts),Is=ws.generate();return this.result.css=Is[0],this.result.map=Is[1],this.result},Wr(Xa,[{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}}]),Xa}(),co=Gi;Zr.default=co,la.exports=Zr.default}}),wu=qo({"node_modules/postcss/lib/processor.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta=na(Vl());functio
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Wr=Fa[Symbol.iterator](),Wr.next.bind(Wr)}function Ha(Fa,On){if(Fa){if(typeof Fa=="string")return ka(Fa,On);var Wr=Object.prototype.toString.call(Fa).slice(8,-1);if(Wr==="Object"&&Fa.constructor&&(Wr=Fa.constructor.name),Wr==="Map"||Wr==="Set")return Array.from(Fa);if(Wr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Wr))return ka(Fa,On)}}function ka(Fa,On){(On==null||On>Fa.length)&&(On=Fa.length);for(var Wr=0,sa=new Array(On);Wr<On;Wr++)sa[Wr]=Fa[Wr];return sa}var za=function(){function Fa(Wr){Wr===void 0&&(Wr=[]),this.version="7.0.39",this.plugins=this.normalize(Wr)}var On=Fa.prototype;return On.use=function(Wr){return this.plugins=this.plugins.concat(this.normalize([Wr])),this},On.process=function(Wr){function sa(Gi){return Wr.apply(this,arguments)}return sa.toString=function(){return Wr.toString()},sa}(function(Wr,sa){return sa===void 0&&(sa={}),this.plugins.length===0&&(sa.parser,sa.stringifier),new ta.default(this,Wr,sa)}),On.normalize=function(Wr){for(var sa=[],Gi=ma(Wr),co;!(co=Gi()).done;){var Xa=co.value;if(Xa.postcss===!0){var Po=Xa();throw new Error("PostCSS plugin "+Po.postcssPlugin+` requires PostCSS 8.
|
|||
|
Migration guide for end-users:
|
|||
|
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(Xa.postcss&&(Xa=Xa.postcss),typeof Xa=="object"&&Array.isArray(Xa.plugins))sa=sa.concat(Xa.plugins);else if(typeof Xa=="function")sa.push(Xa);else if(!(typeof Xa=="object"&&(Xa.parse||Xa.stringify)))throw typeof Xa=="object"&&Xa.postcssPlugin?new Error("PostCSS plugin "+Xa.postcssPlugin+` requires PostCSS 8.
|
|||
|
Migration guide for end-users:
|
|||
|
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(Xa+" is not a PostCSS plugin")}return sa},Fa}(),va=za;Zr.default=va,la.exports=Zr.default}}),Nu=qo({"node_modules/postcss/lib/root.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta=na(jl());function na(On){return On&&On.__esModule?On:{default:On}}function ma(On,Wr){var sa;if(typeof Symbol>"u"||On[Symbol.iterator]==null){if(Array.isArray(On)||(sa=Ha(On))||Wr){sa&&(On=sa);var Gi=0;return function(){return Gi>=On.length?{done:!0}:{done:!1,value:On[Gi++]}}}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 sa=On[Symbol.iterator](),sa.next.bind(sa)}function Ha(On,Wr){if(On){if(typeof On=="string")return ka(On,Wr);var sa=Object.prototype.toString.call(On).slice(8,-1);if(sa==="Object"&&On.constructor&&(sa=On.constructor.name),sa==="Map"||sa==="Set")return Array.from(On);if(sa==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(sa))return ka(On,Wr)}}function ka(On,Wr){(Wr==null||Wr>On.length)&&(Wr=On.length);for(var sa=0,Gi=new Array(Wr);sa<Wr;sa++)Gi[sa]=On[sa];return Gi}function za(On,Wr){On.prototype=Object.create(Wr.prototype),On.prototype.constructor=On,On.__proto__=Wr}var va=function(On){za(Wr,On);function Wr(Gi){var co;return co=On.call(this,Gi)||this,co.type="root",co.nodes||(co.nodes=[]),co}var sa=Wr.prototype;return sa.removeChild=function(Gi,co){var Xa=this.index(Gi);return!co&&Xa===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[Xa].raws.before),On.prototype.removeChild.call(this,Gi)},sa.normalize=function(Gi,co,Xa){var Po=On.prototype.normalize.call(this,Gi);if(co){if(Xa==="prepend")this.nodes.length>1?co.raws.before=this.nodes[1].raws.before:delete co.raws.before;else if(this.first!==co)for(var ko=ma(Po),Ja;!(Ja=ko()).done;){var ws=Ja.value;ws.raws.before=co.raws.before}}return Po},sa.toResult=function(Gi){Gi===void 0&&(Gi={});var co=Vl(),Xa=wu(),Po=new co(new Xa,this,Gi);return Po.stringify()},Wr}(ta.default),Fa=va;Zr.default=Fa,la.exports=Zr.default}}),Ea=qo({"node_modules/postcss/lib/parser.js"(Zr,la){hs(),Zr.__esModule=!0,Zr.default=void 0;var ta=va(as()),na=va(us()),ma=va(ns()),Ha=va(Zs()),ka=va(Nu()),za=va(sl());function va(On){return On&&On.__esModule?On:{default:On}}var Fa=function(){function On(sa){this.input=sa,this.root=new ka.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:sa,start:{line:1,column:1}}}var Wr=On.prototype;return Wr.createTokenizer=function(){this.tokenizer=(0,na.default)(this.input)},Wr.parse=function(){for(var sa;!this.tokenizer.endOfFile();)switch(sa=this.tokenizer.nextToken(),sa[0]){case"space":this.spaces+=sa[1];break;case";":this.freeSemicolon(sa);break;case"}":this.end(sa);break;case"comment":this.comment(sa);break;case"at-word":this.atrule(sa);break;case"{":this.emptyRule(sa);break;default:this.other(sa);break}this.endFile()},Wr.comment=function(sa){var Gi=new ma.default;this.init(Gi,sa[2],sa[3]),Gi.source.end={line:sa[4],column:sa[5]};var co=sa[1].slice(2,-2);if(/^\s*$/.test(co))Gi.text="",Gi.raws.left=co,Gi.raws.right="";else{var Xa=co.match(/^(\s*)([^]*[^\s])(\s*)$/);Gi.text=Xa[2],Gi.raws.left=Xa[1],Gi.raws.right=Xa[3]}},Wr.emptyRule=function(sa){var Gi=new za.default;this.init(Gi,sa[2],sa[3]),Gi.selector="",Gi.raws.between="",this.current=Gi},Wr.other=function(sa){for(var Gi=!1,co=null,Xa=!1,Po=null,ko=[],Ja=[],ws=sa;ws;){if(co=ws[0],Ja.push(ws),co==="("||co==="[")Po||(Po=ws),ko.push(co==="("?")":"]");else if(ko.length===0)if(co===";")if(Xa){this.decl(Ja);return}else break;else if(co==="{"){this.rule(Ja);return}else if(co==="}"){this.tokenizer.back(Ja.pop()),Gi=!0;break}else co===":"&&(Xa=!0);else co===ko[ko.length-1]&&(ko.pop(),ko.length===0&&(Po=null));ws=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(Gi=!0),ko.length>0&&this.unclosedBracket(Po),Gi&&Xa){for(;Ja.length&&(ws=Ja[Ja.length-1][0],!(ws!=="space"&&ws!=="comment"));)this.tokenizer.back(Ja.pop());this.decl(Ja)}else this.unknownWord(Ja)},Wr.rule=function(sa){sa.pop();var Gi=new za.default;this.init(Gi,sa[0][2],sa[0][3]),Gi.raws.between=this.spacesAndCommentsFromEnd(sa),this.raw(Gi,"selector",sa),this.current=Gi},Wr.decl=function(sa){var Gi=new ta.default;this.init(Gi);var co=sa[sa.length-1];for(co[0]===";"&&(this.semicolon=!0,sa.pop()),co[4]?Gi.source.end={line:co[4],column:co[5]}:Gi.source.end={line:co[2],column:co[3]};sa[0][0]!=="word";)sa.length===1&&this.unknownWord(sa),Gi.raws.before+=sa.shift()[1];for(Gi.source.start={line:sa[0][2],column:sa[0][3]},Gi.prop="";sa.length;){var Xa=sa[0][0];if(Xa===":"||Xa==="space"||Xa==="co
|
|||
|
`)));let Fa=ma[1].substring(ma[1].indexOf(`
|
|||
|
`));Fa+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new na(Fa),this.tokenizer=ta(this.input)}else this.tokenizer.back(ma);break}ka.push(ma[1]),za=ma,ma=this.tokenizer.nextToken({ignoreUnclosed:!0})}let va=["comment",ka.join(""),Ha[2],Ha[3],za[2],za[3]];return this.inlineComment(va),!0}else if(ma[1]==="/"){let Ha=this.tokenizer.nextToken({ignoreUnclosed:!0});if(Ha[0]==="comment"&&/^\/\*/.test(Ha[1]))return Ha[0]="word",Ha[1]=Ha[1].slice(1),ma[1]="//",this.tokenizer.back(Ha),la.exports.isInlineComment.bind(this)(ma)}return!1}}}}),Vu=qo({"node_modules/postcss-less/lib/nodes/interpolation.js"(Zr,la){hs(),la.exports={interpolation(ta){let na=ta,ma=[ta],Ha=["word","{","}"];if(ta=this.tokenizer.nextToken(),na[1].length>1||ta[0]!=="{")return this.tokenizer.back(ta),!1;for(;ta&&Ha.includes(ta[0]);)ma.push(ta),ta=this.tokenizer.nextToken();let ka=ma.map(Wr=>Wr[1]);[na]=ma;let za=ma.pop(),va=[na[2],na[3]],Fa=[za[4]||za[2],za[5]||za[3]],On=["word",ka.join("")].concat(va,Fa);return this.tokenizer.back(ta),this.tokenizer.back(On),!0}}}}),Hl=qo({"node_modules/postcss-less/lib/nodes/mixin.js"(Zr,la){hs();var ta=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,na=/\.[0-9]/,ma=Ha=>{let[,ka]=Ha,[za]=ka;return(za==="."||za==="#")&&ta.test(ka)===!1&&na.test(ka)===!1};la.exports={isMixinToken:ma}}}),cl=qo({"node_modules/postcss-less/lib/nodes/import.js"(Zr,la){hs();var ta=us(),na=/^url\((.+)\)/;la.exports=ma=>{let{name:Ha,params:ka=""}=ma;if(Ha==="import"&&ka.length){ma.import=!0;let za=ta({css:ka});for(ma.filename=ka.replace(na,"$1");!za.endOfFile();){let[va,Fa]=za.nextToken();if(va==="word"&&Fa==="url")return;if(va==="brackets"){ma.options=Fa,ma.filename=ka.replace(Fa,"").trim();break}}}}}}),du=qo({"node_modules/postcss-less/lib/nodes/variable.js"(Zr,la){hs();var ta=/:$/,na=/^:(\s+)?/;la.exports=ma=>{let{name:Ha,params:ka=""}=ma;if(ma.name.slice(-1)===":"){if(ta.test(Ha)){let[za]=Ha.match(ta);ma.name=Ha.replace(za,""),ma.raws.afterName=za+(ma.raws.afterName||""),ma.variable=!0,ma.value=ma.params}if(na.test(ka)){let[za]=ka.match(na);ma.value=ka.replace(za,""),ma.raws.afterName=(ma.raws.afterName||"")+za,ma.variable=!0}}}}}),al=qo({"node_modules/postcss-less/lib/LessParser.js"(Zr,la){hs();var ta=ns(),na=Ea(),{isInlineComment:ma}=$l(),{interpolation:Ha}=Vu(),{isMixinToken:ka}=Hl(),za=cl(),va=du(),Fa=/(!\s*important)$/i;la.exports=class extends na{constructor(){super(...arguments),this.lastNode=null}atrule(On){Ha.bind(this)(On)||(super.atrule(On),za(this.lastNode),va(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(On){On[0][1]=` ${On[0][1]}`;let Wr=On.findIndex(Xa=>Xa[0]==="("),sa=On.reverse().find(Xa=>Xa[0]===")"),Gi=On.reverse().indexOf(sa),co=On.splice(Wr,Gi).map(Xa=>Xa[1]).join("");for(let Xa of On.reverse())this.tokenizer.back(Xa);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=co}init(On,Wr,sa){super.init(On,Wr,sa),this.lastNode=On}inlineComment(On){let Wr=new ta,sa=On[1].slice(2);if(this.init(Wr,On[2],On[3]),Wr.source.end={line:On[4],column:On[5]},Wr.inline=!0,Wr.raws.begin="//",/^\s*$/.test(sa))Wr.text="",Wr.raws.left=sa,Wr.raws.right="";else{let Gi=sa.match(/^(\s*)([^]*[^\s])(\s*)$/);[,Wr.raws.left,Wr.text,Wr.raws.right]=Gi}}mixin(On){let[Wr]=On,sa=Wr[1].slice(0,1),Gi=On.findIndex(Ja=>Ja[0]==="brackets"),co=On.findIndex(Ja=>Ja[0]==="("),Xa="";if((Gi<0||Gi>3)&&co>0){let Ja=On.reduce((mc,uc,ec)=>uc[0]===")"?ec:mc),ws=On.slice(co,Ja+co).map(mc=>mc[1]).join(""),[Is]=On.slice(co),Vs=[Is[2],Is[3]],[Kl]=On.slice(Ja,Ja+1),Tu=[Kl[2],Kl[3]],ku=["brackets",ws].concat(Vs,Tu),lc=On.slice(0,co),rc=On.slice(Ja+1);On=lc,On.push(ku),On=On.concat(rc)}let Po=[];for(let Ja of On)if((Ja[1]==="!"||Po.length)&&Po.push(Ja),Ja[1]==="important")break;if(Po.length){let[Ja]=Po,ws=On.indexOf(Ja),Is=Po[Po.length-1],Vs=[Ja[2],Ja[3]],Kl=[Is[4],Is[5]],Tu=["word",Po.map(ku=>ku[1]).join("")].concat(Vs,Kl);On.splice(ws,Po.length,Tu)}let ko=On.findIndex(Ja=>Fa.test(Ja[1]));ko>0&&([,Xa]=On[ko],On.splice(ko,1));for(let Ja of On.reverse())this.t
|
|||
|
`),ld=Wc.length-1,ld>0?(ju=Wu+ld,_c=Cl-Wc[ld].length):(ju=Wu,_c=Bs),ol=["brackets",jc,Wu,Lu-Bs,ju,Cl-_c],Bs=_c,Wu=ju,Lu=Cl}else Cl=mu.indexOf(")",Lu+1),jc=mu.slice(Lu,Cl+1),Cl===-1||lc.test(jc)?ol=["(","(",Wu,Lu-Bs]:(ol=["brackets",jc,Wu,Lu-Bs,Wu,Cl-Bs],Lu=Cl);break;case co:ol=[")",")",Wu,Lu-Bs];break;case ta:case na:for(Md=hu,Cl=Lu,gc=!1;Cl<Cu&&(Cl++,Cl===Cu&&hd("string"),hu=mu.charCodeAt(Cl),Fs=mu.charCodeAt(Cl+1),!(!gc&&hu===Md));)hu===ma?gc=!gc:gc?gc=!1:hu===Kl&&Fs===Xa&&wp();jc=mu.slice(Lu,Cl+1),Wc=jc.split(`
|
|||
|
`),ld=Wc.length-1,ld>0?(ju=Wu+ld,_c=Cl-Wc[ld].length):(ju=Wu,_c=Bs),ol=["string",mu.slice(Lu,Cl+1),Wu,Lu-Bs,ju,Cl-_c],Bs=_c,Wu=ju,Lu=Cl;break;case Is:Tu.lastIndex=Lu+1,Tu.test(mu),Tu.lastIndex===0?Cl=mu.length-1:Cl=Tu.lastIndex-2,ol=["at-word",mu.slice(Lu,Cl+1),Wu,Lu-Bs,Wu,Cl-Bs],Lu=Cl;break;case ma:for(Cl=Lu,Rc=!0;mu.charCodeAt(Cl+1)===ma;)Cl+=1,Rc=!Rc;if(hu=mu.charCodeAt(Cl+1),Rc&&hu!==Ha&&hu!==za&&hu!==ka&&hu!==Fa&&hu!==On&&hu!==va&&(Cl+=1,rc.test(mu.charAt(Cl)))){for(;rc.test(mu.charAt(Cl+1));)Cl+=1;mu.charCodeAt(Cl+1)===za&&(Cl+=1)}ol=["word",mu.slice(Lu,Cl+1),Wu,Lu-Bs,Wu,Cl-Bs],Lu=Cl;break;default:Fs=mu.charCodeAt(Lu+1),hu===Kl&&Fs===Xa?(Cl=Lu,wp(),jc=mu.slice(Lu,Cl+1),Wc=jc.split(`
|
|||
|
`),ld=Wc.length-1,ld>0?(ju=Wu+ld,_c=Cl-Wc[ld].length):(ju=Wu,_c=Bs),ol=["word",jc,Wu,Lu-Bs,ju,Cl-_c],Bs=_c,Wu=ju,Lu=Cl):hu===Ha&&Fs===Ja?(Cl=mu.indexOf("*/",Lu+2)+1,Cl===0&&(Dl?Cl=mu.length:hd("comment")),jc=mu.slice(Lu,Cl+1),Wc=jc.split(`
|
|||
|
`),ld=Wc.length-1,ld>0?(ju=Wu+ld,_c=Cl-Wc[ld].length):(ju=Wu,_c=Bs),ol=["comment",jc,Wu,Lu-Bs,ju,Cl-_c],Bs=_c,Wu=ju,Lu=Cl):hu===Ha&&Fs===Ha?(mc.lastIndex=Lu+1,mc.test(mu),mc.lastIndex===0?Cl=mu.length-1:Cl=mc.lastIndex-2,jc=mu.slice(Lu,Cl+1),ol=["comment",jc,Wu,Lu-Bs,Wu,Cl-Bs,"inline"],Lu=Cl):(ku.lastIndex=Lu+1,ku.test(mu),ku.lastIndex===0?Cl=mu.length-1:Cl=ku.lastIndex-2,ol=["word",mu.slice(Lu,Cl+1),Wu,Lu-Bs,Wu,Cl-Bs],rp.push(ol),Lu=Cl);break}return Lu++,ol}}function Ic(Bd){Id.push(Bd)}return{back:Ic,nextToken:$d,endOfFile:Up}}}}),qc=qo({"node_modules/postcss-scss/lib/scss-parser.js"(Zr,la){hs();function ta(va,Fa){va.prototype=Object.create(Fa.prototype),va.prototype.constructor=va,va.__proto__=Fa}var na=ns(),ma=Ea(),Ha=Ju(),ka=cc(),za=function(va){ta(Fa,va);function Fa(){return va.apply(this,arguments)||this}var On=Fa.prototype;return On.createTokenizer=function(){this.tokenizer=ka(this.input)},On.rule=function(Wr){for(var sa=!1,Gi=0,co="",ko=Wr,Xa=Array.isArray(ko),Po=0,ko=Xa?ko:ko[Symbol.iterator]();;){var Ja;if(Xa){if(Po>=ko.length)break;Ja=ko[Po++]}else{if(Po=ko.next(),Po.done)break;Ja=Po.value}var ws=Ja;if(sa)ws[0]!=="comment"&&ws[0]!=="{"&&(co+=ws[1]);else{if(ws[0]==="space"&&ws[1].indexOf(`
|
|||
|
`)!==-1)break;ws[0]==="("?Gi+=1:ws[0]===")"?Gi-=1:Gi===0&&ws[0]===":"&&(sa=!0)}}if(!sa||co.trim()===""||/^[a-zA-Z-:#]/.test(co))va.prototype.rule.call(this,Wr);else{Wr.pop();var Is=new Ha;this.init(Is);var Vs=Wr[Wr.length-1];for(Vs[4]?Is.source.end={line:Vs[4],column:Vs[5]}:Is.source.end={line:Vs[2],column:Vs[3]};Wr[0][0]!=="word";)Is.raws.before+=Wr.shift()[1];for(Is.source.start={line:Wr[0][2],column:Wr[0][3]},Is.prop="";Wr.length;){var Kl=Wr[0][0];if(Kl===":"||Kl==="space"||Kl==="comment")break;Is.prop+=Wr.shift()[1]}Is.raws.between="";for(var Tu;Wr.length;)if(Tu=Wr.shift(),Tu[0]===":"){Is.raws.between+=Tu[1];break}else Is.raws.between+=Tu[1];(Is.prop[0]==="_"||Is.prop[0]==="*")&&(Is.raws.before+=Is.prop[0],Is.prop=Is.prop.slice(1)),Is.raws.between+=this.spacesAndCommentsFromStart(Wr),this.precheckMissedSemicolon(Wr);for(var ku=Wr.length-1;ku>0;ku--){if(Tu=Wr[ku],Tu[1]==="!important"){Is.important=!0;var lc=this.stringFrom(Wr,ku);lc=this.spacesFromEnd(Wr)+lc,lc!==" !important"&&(Is.raws.important=lc);break}else if(Tu[1]==="important"){for(var rc=Wr.slice(0),mc="",uc=ku;uc>0;uc--){var ec=rc[uc][0];if(mc.trim().indexOf("!")===0&&ec!=="space")break;mc=rc.pop()[1]+mc}mc.trim().indexOf("!")===0&&(Is.important=!0,Is.raws.important=mc,Wr=rc)}if(Tu[0]!=="space"&&Tu[0]!=="comment")break}this.raw(Is,"value",Wr),Is.value.indexOf(":")!==-1&&this.checkMissedSemicolon(Wr),this.current=Is}},On.comment=function(Wr){if(Wr[6]==="inline"){var sa=new na;this.init(sa,Wr[2],Wr[3]),sa.raws.inline=!0,sa.source.end={line:Wr[4],column:Wr[5]};var Gi=Wr[1].slice(2);if(/^\s*$/.test(Gi))sa.text="",sa.raws.left=Gi,sa.raws.right="";else{var co=Gi.match(/^(\s*)([^]*[^\s])(\s*)$/),Xa=co[2].replace(/(\*\/|\/\*)/g,"*//*");sa.text=Xa,sa.raws.left=co[1],sa.raws.right=co[3],sa.raws.text=co[2]}}else va.prototype.comment.call(this,Wr)},On.raw=function(Wr,sa,Gi){if(va.prototype.raw.call(this,Wr,sa,Gi),Wr.raws[sa]){var co=Wr.raws[sa].raw;Wr.raws[sa].raw=Gi.reduce(function(Xa,Po){if(Po[0]==="comment"&&Po[6]==="inline"){var ko=Po[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return Xa+"/*"+ko+"*/"}else return Xa+Po[1]},""),co!==Wr.raws[sa].raw&&(Wr.raws[sa].scss=co)}},Fa}(ma);la.exports=za}}),zu=qo({"node_modules/postcss-scss/lib/scss-parse.js"(Zr,la){hs();var ta=Ts(),na=qc();la.exports=function(ma,Ha){var ka=new ta(ma,Ha),za=new na(ka);return za.parse(),za.root}}}),Td=qo({"node_modules/postcss-scss/lib/scss-syntax.js"(Zr,la){hs();var ta=Ru(),na=zu();la.exports={parse:na,stringify:ta}}});hs();var ap=Eu(),qd=vu(),Dd=vc(),{hasPragma:Ec}=Au(),{locStart:Mc,locEnd:Ep}=Oo(),{calculateLoc:Sp,replaceQuotesInInlineComments:Bp}=Oo(),hp=Ul(),dd=tl(),Rd=bu(),kd=ic(),ed=kc(),rd=Zc(),Ac=Yd(),nd=jp(),Wd=Zr=>{for(;Zr.parent;)Zr=Zr.parent;return Zr};function Xp(Zr,la){let{nodes:ta}=Zr,na={open:null,close:null,groups:[],type:"paren_group"},ma=[na],Ha=na,ka={groups:[],type:"comma_group"},za=[ka];for(let va=0;va<ta.length;++va){let Fa=ta[va];if(kd(la.parser,Fa.value)&&Fa.type==="number"&&Fa.unit===".."&&qd(Fa.value)==="."&&(Fa.value=Fa.value.slice(0,-1),Fa.unit="..."),Fa.type==="func"&&Fa.value==="selector"&&(Fa.group.groups=[Cp(Wd(Zr).text.slice(Fa.group.open.sourceIndex+1,Fa.group.close.sourceIndex))]),Fa.type==="func"&&Fa.value==="url"){let On=Fa.group&&Fa.group.groups||[],Wr=[];for(let sa=0;sa<On.length;sa++){let Gi=On[sa];Gi.type==="comma_group"?Wr=[...Wr,...Gi.groups]:Wr.push(Gi)}if(hp(Wr)||!dd(Wr)&&!rd(Wr[0])){let sa=Ac({groups:Fa.group.groups});Fa.group.groups=[sa.trim()]}}if(Fa.type==="paren"&&Fa.value==="(")na={open:Fa,close:null,groups:[],type:"paren_group"},ma.push(na),ka={groups:[],type:"comma_group"},za.push(ka);else if(Fa.type==="paren"&&Fa.value===")"){if(ka.groups.length>0&&na.groups.push(ka),na.close=Fa,za.length===1)throw new Error("Unbalanced parenthesis");za.pop(),ka=qd(za),ka.groups.push(na),ma.pop(),na=qd(ma)}else Fa.type==="comma"?(na.groups.push(ka),ka={groups:[],type:"comma_group"},za[za.length-1]=ka):ka.groups.push(Fa)}return ka.groups.length>0&&na.groups.push(ka),Ha}function fm(Zr){return Zr.type==="paren_group"&&!Zr.open&&!Zr.close&&Zr.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;)Rs++,Vl=wu,wu=Ls.indexOf(`
|
|||
|
`,wu+1);Vl===-1?Ts+=Ls.length:Ts=Ls.length-Vl,Rs in vo&&(Vl!==-1?Ts+=vo[Rs]:Ts<=vo[Rs]&&(Ts=vo[Rs]+1))}function rl(){var Ls=[],Vl=Rs+1;return function(){for(var wu=Rs+1;Vl<wu;)Ls.push((vo[Vl]||0)+1),Vl++;return Ls}}function sl(){var Ls={line:Rs,column:Ts};return Ls.offset=Aa.toOffset(Ls),Ls}function jl(Ls){this.start=Ls,this.end=sl()}function Zs(Ls){Ma.slice(0,Ls.length)!==Ls&&Aa.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),sl())}function hl(){var Ls=sl();return Vl;function Vl(wu,Nu){var Ea=wu.position,$l=Ea?Ea.start:Ls,Vu=[],Hl=Ea&&Ea.end.line,cl=Ls.line;if(wu.position=new jl($l),Ea&&Nu&&Ea.indent){if(Vu=Ea.indent,Hl<cl){for(;++Hl<cl;)Vu.push((vo[Hl]||0)+1);Vu.push(Ls.column)}Nu=Vu.concat(Nu)}return wu.position.indent=Nu||[],wu}}function Pl(Ls,Vl){var wu=Vl?Vl.children:os,Nu=wu[wu.length-1],Ea;return Nu&&Ls.type===Nu.type&&(Ls.type==="text"||Ls.type==="blockquote")&&ro(Nu)&&ro(Ls)&&(Ea=Ls.type==="text"?to:Ia,Ls=Ea.call(Aa,Nu,Ls)),Ls!==Nu&&wu.push(Ls),Aa.atStart&&os.length!==0&&Aa.exitStart(),Ls}function Wl(Ls){var Vl=rl(),wu=hl(),Nu=sl();return Zs(Ls),Ea.reset=$l,$l.test=Vu,Ea.test=Vu,Ma=Ma.slice(Ls.length),gs(Ls),Vl=Vl(),Ea;function Ea(Hl,cl){return wu(Pl(wu(Hl),cl),Vl)}function $l(){var Hl=Ea.apply(null,arguments);return Rs=Nu.line,Ts=Nu.column,Ma=Ls+Ma,Hl}function Vu(){var Hl=wu({});return Rs=Nu.line,Ts=Nu.column,Ma=Ls+Ma,Hl.position}}}}function ro(Wa){var io,Ma;return Wa.type!=="text"||!Wa.position?!0:(io=Wa.position.start,Ma=Wa.position.end,io.line!==Ma.line||Ma.column-io.column===Wa.value.length)}function to(Wa,io){return Wa.value+=io.value,Wa}function Ia(Wa,io){return this.options.commonmark||this.options.gfm?io:(Wa.children=Wa.children.concat(io.children),Wa)}}}),jp=ki({"node_modules/markdown-escapes/index.js"(ds,Bo){Uo(),Bo.exports=Ia;var Ka=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],ro=Ka.concat(["~","|"]),to=ro.concat([`
|
|||
|
`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);Ia.default=Ka,Ia.gfm=ro,Ia.commonmark=to;function Ia(Wa){var io=Wa||{};return io.commonmark?to:io.gfm?ro:Ka}}}),sc=ki({"node_modules/remark-parse/lib/block-elements.js"(ds,Bo){Uo(),Bo.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"]}}),yd=ki({"node_modules/remark-parse/lib/defaults.js"(ds,Bo){Uo(),Bo.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:sc()}}}),Fc=ki({"node_modules/remark-parse/lib/set-options.js"(ds,Bo){Uo();var Ka=Bl(),ro=jp(),to=yd();Bo.exports=Ia;function Ia(Wa){var io=this,Ma=io.options,To,Aa;if(Wa==null)Wa={};else if(typeof Wa=="object")Wa=Ka(Wa);else throw new Error("Invalid value `"+Wa+"` for setting `options`");for(To in to){if(Aa=Wa[To],Aa==null&&(Aa=Ma[To]),To!=="blocks"&&typeof Aa!="boolean"||To==="blocks"&&typeof Aa!="object")throw new Error("Invalid value `"+Aa+"` for setting `options."+To+"`");Wa[To]=Aa}return io.options=Wa,io.escape=ro(Wa),io}}}),np=ki({"node_modules/unist-util-is/convert.js"(ds,Bo){Uo(),Bo.exports=Ka;function Ka(io){if(io==null)return Wa;if(typeof io=="string")return Ia(io);if(typeof io=="object")return"length"in io?to(io):ro(io);if(typeof io=="function")return io;throw new Error("Expected function, string, or object as test")}function ro(io){return Ma;function Ma(To){var Aa;for(Aa in io)if(To[Aa]!==io[Aa])return!1;return!0}}function to(io){for(var Ma=[],To=-1;++To<io.length;)Ma[To]=Ka(io[To]);return Aa;function Aa(){for(var vo=-1;++vo<Ma.length;)if(Ma[vo].apply(this,arguments))return!0;return!1}}function Ia(io){return Ma;function Ma(To){return!!(To&&To.type===io)}}function Wa(){return!0}}}),Kd=ki({"node_modules/unist-util-visit-parents/color.browser.js"(ds,Bo){Uo(),Bo.exports=Ka;function Ka(ro){return ro}}}),Qp=ki({"node_modules/unist-util-visit-parents/index.js"(ds,Bo){Uo(),Bo.exports=io;var Ka=np(),ro=Kd(),to=!0,Ia="skip",Wa=!1;io.CONTINUE=to,io.SKIP=Ia,io.EXIT=Wa;function io(To,Aa,vo,os){var $o,_s;typeof Aa=="function"&&typeof vo!="function"&&(os=vo,vo=Aa,Aa=null),_s=Ka(Aa),$o=os?-1:1,Rs(To,null,[])();function Rs(Ts,Ks,Io){var Hs=typeof Ts=="object"&&Ts!==null?Ts:{},ns;return typeof Hs.type=="string"&&(ns=typeof Hs.tagName=="string"?Hs.tagName:typeof Hs.name=="string"?Hs.name:void 0,as.displayName="node ("+ro(Hs.type+(ns?"<"+ns+">":""))+")"),as;function as(){var us=Io.concat(Ts),gs=[],rl,sl;if((!Aa||_s(Ts,Ks,Io[Io.length-1]||null))&&(gs=Ma(vo(Ts,Io)),gs[0]===Wa))return gs;if(Ts.children&&gs[0]!==Ia)for(sl=(os?Ts.children.length:-1)+$o;sl>-1&&sl<Ts.children.length;){if(rl=Rs(Ts.children[sl],sl,us)(),rl[0]===Wa)return rl;sl=typeof rl[1]=="number"?rl[1]:sl+$o}return gs}}}function Ma(To){return To!==null&&typeof To=="object"&&"length"in To?To:typeof To=="number"?[to,To]:[To]}}}),sf=ki({"node_modules/unist-util-visit/index.js"(ds,Bo){Uo(),Bo.exports=Wa;var Ka=Qp(),ro=Ka.CONTINUE,to=Ka.SKIP,Ia=Ka.EXIT;Wa.CONTINUE=ro,Wa.SKIP=to,Wa.EXIT=Ia;function Wa(io,Ma,To,Aa){typeof Ma=="function"&&typeof To!="function"&&(Aa=To,To=Ma,Ma=null),Ka(io,Ma,vo,Aa);function vo(os,$o){var _s=$o[$o.length-1],Rs=_s?_s.children.indexOf(os):null;return To(os,Rs,_s)}}}}),Vp=ki({"node_modules/unist-util-remove-position/index.js"(ds,Bo){Uo();var Ka=sf();Bo.exports=ro;function ro(Wa,io){return Ka(Wa,io?to:Ia),Wa}function to(Wa){delete Wa.position}function Ia(Wa){Wa.position=void 0}}}),dp=ki({"node_modules/remark-parse/lib/parse.js"(ds,Bo){Uo();var Ka=Bl(),ro=Vp();Bo.exports=Wa;var to=`
|
|||
|
`,Ia=/\r\n|\r/g;function Wa(){var io=this,Ma=String(io.file),To={line:1,column:1,offset:0},Aa=Ka(To),vo;return Ma=Ma.replace(Ia,to),Ma.charCodeAt(0)===65279&&(Ma=Ma.slice(1),Aa.column++,Aa.offset++),vo={type:"root",children:io.tokenizeBlock(Ma,Aa),position:{start:To,end:io.eof||Ka(To)}},io.options.position||ro(vo,!0),vo}}}),Qf=ki({"node_modules/remark-parse/lib/tokenize/blank-line.js"(ds,Bo){Uo();var Ka=/^[ \t]*(\n|$)/;Bo.exports=ro;function ro(to,Ia,Wa){for(var io,Ma="",To=0,Aa=Ia.length;To<Aa&&(io=Ka.exec(Ia.slice(To)),io!=null);)To+=io[0].length,Ma+=io[0];if(Ma!==""){if(Wa)return!0;to(Ma)}}}}),lf=ki({"node_modules/repeat-string/index.js"(ds,Bo){Uo();var Ka="",ro;Bo.exports=to;function to(Ia,Wa){if(typeof Ia!="string")throw new TypeError("expected a string");if(Wa===1)return Ia;if(Wa===2)return Ia+Ia;var io=Ia.length*Wa;if(ro!==Ia||typeof ro>"u")ro=Ia,Ka="";else if(Ka.length>=io)return Ka.substr(0,io);for(;io>Ka.length&&Wa>1;)Wa&1&&(Ka+=Ia),Wa>>=1,Ia+=Ia;return Ka+=Ia,Ka=Ka.substr(0,io),Ka}}}),tc=ki({"node_modules/trim-trailing-lines/index.js"(ds,Bo){Uo(),Bo.exports=Ka;function Ka(ro){return String(ro).replace(/\n+$/,"")}}}),Tf=ki({"node_modules/remark-parse/lib/tokenize/code-indented.js"(ds,Bo){Uo();var Ka=lf(),ro=tc();Bo.exports=To;var to=`
|
|||
|
`,Ia=" ",Wa=" ",io=4,Ma=Ka(Wa,io);function To(Aa,vo,os){for(var $o=-1,_s=vo.length,Rs="",Ts="",Ks="",Io="",Hs,ns,as;++$o<_s;)if(Hs=vo.charAt($o),as)if(as=!1,Rs+=Ks,Ts+=Io,Ks="",Io="",Hs===to)Ks=Hs,Io=Hs;else for(Rs+=Hs,Ts+=Hs;++$o<_s;){if(Hs=vo.charAt($o),!Hs||Hs===to){Io=Hs,Ks=Hs;break}Rs+=Hs,Ts+=Hs}else if(Hs===Wa&&vo.charAt($o+1)===Hs&&vo.charAt($o+2)===Hs&&vo.charAt($o+3)===Hs)Ks+=Ma,$o+=3,as=!0;else if(Hs===Ia)Ks+=Hs,as=!0;else{for(ns="";Hs===Ia||Hs===Wa;)ns+=Hs,Hs=vo.charAt(++$o);if(Hs!==to)break;Ks+=ns+Hs,Io+=Hs}if(Ts)return os?!0:Aa(Rs)({type:"code",lang:null,meta:null,value:ro(Ts)})}}}),jf=ki({"node_modules/remark-parse/lib/tokenize/code-fenced.js"(ds,Bo){Uo(),Bo.exports=To;var Ka=`
|
|||
|
`,ro=" ",to=" ",Ia="~",Wa="`",io=3,Ma=4;function To(Aa,vo,os){var $o=this,_s=$o.options.gfm,Rs=vo.length+1,Ts=0,Ks="",Io,Hs,ns,as,us,gs,rl,sl,jl,Zs,hl,Pl,Wl;if(_s){for(;Ts<Rs&&(ns=vo.charAt(Ts),!(ns!==to&&ns!==ro));)Ks+=ns,Ts++;if(Pl=Ts,ns=vo.charAt(Ts),!(ns!==Ia&&ns!==Wa)){for(Ts++,Hs=ns,Io=1,Ks+=ns;Ts<Rs&&(ns=vo.charAt(Ts),ns===Hs);)Ks+=ns,Io++,Ts++;if(!(Io<io)){for(;Ts<Rs&&(ns=vo.charAt(Ts),!(ns!==to&&ns!==ro));)Ks+=ns,Ts++;for(as="",rl="";Ts<Rs&&(ns=vo.charAt(Ts),!(ns===Ka||Hs===Wa&&ns===Hs));)ns===to||ns===ro?rl+=ns:(as+=rl+ns,rl=""),Ts++;if(ns=vo.charAt(Ts),!(ns&&ns!==Ka)){if(os)return!0;Wl=Aa.now(),Wl.column+=Ks.length,Wl.offset+=Ks.length,Ks+=as,as=$o.decode.raw($o.unescape(as),Wl),rl&&(Ks+=rl),rl="",Zs="",hl="",sl="",jl="";for(var Ls=!0;Ts<Rs;){if(ns=vo.charAt(Ts),sl+=Zs,jl+=hl,Zs="",hl="",ns!==Ka){sl+=ns,hl+=ns,Ts++;continue}for(Ls?(Ks+=ns,Ls=!1):(Zs+=ns,hl+=ns),rl="",Ts++;Ts<Rs&&(ns=vo.charAt(Ts),ns===to);)rl+=ns,Ts++;if(Zs+=rl,hl+=rl.slice(Pl),!(rl.length>=Ma)){for(rl="";Ts<Rs&&(ns=vo.charAt(Ts),ns===Hs);)rl+=ns,Ts++;if(Zs+=rl,hl+=rl,!(rl.length<Io)){for(rl="";Ts<Rs&&(ns=vo.charAt(Ts),!(ns!==to&&ns!==ro));)Zs+=ns,hl+=ns,Ts++;if(!ns||ns===Ka)break}}}for(Ks+=sl+Zs,Ts=-1,Rs=as.length;++Ts<Rs;)if(ns=as.charAt(Ts),ns===to||ns===ro)us||(us=as.slice(0,Ts));else if(us){gs=as.slice(Ts);break}return Aa(Ks)({type:"code",lang:us||as||null,meta:gs||null,value:jl})}}}}}}}),Hp=ki({"node_modules/trim/index.js"(ds,Bo){Uo(),ds=Bo.exports=Ka;function Ka(ro){return ro.replace(/^\s*|\s*$/g,"")}ds.left=function(ro){return ro.replace(/^\s*/,"")},ds.right=function(ro){return ro.replace(/\s*$/,"")}}}),Cf=ki({"node_modules/remark-parse/lib/util/interrupt.js"(ds,Bo){Uo(),Bo.exports=Ka;function Ka(ro,to,Ia,Wa){for(var io=ro.length,Ma=-1,To,Aa;++Ma<io;)if(To=ro[Ma],Aa=To[1]||{},!(Aa.pedantic!==void 0&&Aa.pedantic!==Ia.options.pedantic)&&!(Aa.commonmark!==void 0&&Aa.commonmark!==Ia.options.commonmark)&&to[To[0]].apply(Ia,Wa))return!0;return!1}}}),Jf=ki({"node_modules/remark-parse/lib/tokenize/blockquote.js"(ds,Bo){Uo();var Ka=Hp(),ro=Cf();Bo.exports=Ma;var to=`
|
|||
|
`,Ia=" ",Wa=" ",io=">";function Ma(To,Aa,vo){for(var os=this,$o=os.offset,_s=os.blockTokenizers,Rs=os.interruptBlockquote,Ts=To.now(),Ks=Ts.line,Io=Aa.length,Hs=[],ns=[],as=[],us,gs=0,rl,sl,jl,Zs,hl,Pl,Wl,Ls;gs<Io&&(rl=Aa.charAt(gs),!(rl!==Wa&&rl!==Ia));)gs++;if(Aa.charAt(gs)===io){if(vo)return!0;for(gs=0;gs<Io;){for(jl=Aa.indexOf(to,gs),Pl=gs,Wl=!1,jl===-1&&(jl=Io);gs<Io&&(rl=Aa.charAt(gs),!(rl!==Wa&&rl!==Ia));)gs++;if(Aa.charAt(gs)===io?(gs++,Wl=!0,Aa.charAt(gs)===Wa&&gs++):gs=Pl,Zs=Aa.slice(gs,jl),!Wl&&!Ka(Zs)){gs=Pl;break}if(!Wl&&(sl=Aa.slice(gs),ro(Rs,_s,os,[To,sl,!0])))break;hl=Pl===gs?Zs:Aa.slice(Pl,jl),as.push(gs-Pl),Hs.push(hl),ns.push(Zs),gs=jl+1}for(gs=-1,Io=as.length,us=To(Hs.join(to));++gs<Io;)$o[Ks]=($o[Ks]||0)+as[gs],Ks++;return Ls=os.enterBlock(),ns=os.tokenizeBlock(ns.join(to),Ts),Ls(),us({type:"blockquote",children:ns})}}}}),wf=ki({"node_modules/remark-parse/lib/tokenize/heading-atx.js"(ds,Bo){Uo(),Bo.exports=io;var Ka=`
|
|||
|
`,ro=" ",to=" ",Ia="#",Wa=6;function io(Ma,To,Aa){for(var vo=this,os=vo.options.pedantic,$o=To.length+1,_s=-1,Rs=Ma.now(),Ts="",Ks="",Io,Hs,ns;++_s<$o;){if(Io=To.charAt(_s),Io!==to&&Io!==ro){_s--;break}Ts+=Io}for(ns=0;++_s<=$o;){if(Io=To.charAt(_s),Io!==Ia){_s--;break}Ts+=Io,ns++}if(!(ns>Wa)&&!(!ns||!os&&To.charAt(_s+1)===Ia)){for($o=To.length+1,Hs="";++_s<$o;){if(Io=To.charAt(_s),Io!==to&&Io!==ro){_s--;break}Hs+=Io}if(!(!os&&Hs.length===0&&Io&&Io!==Ka)){if(Aa)return!0;for(Ts+=Hs,Hs="",Ks="";++_s<$o&&(Io=To.charAt(_s),!(!Io||Io===Ka));){if(Io!==to&&Io!==ro&&Io!==Ia){Ks+=Hs+Io,Hs="";continue}for(;Io===to||Io===ro;)Hs+=Io,Io=To.charAt(++_s);if(!os&&Ks&&!Hs&&Io===Ia){Ks+=Io;continue}for(;Io===Ia;)Hs+=Io,Io=To.charAt(++_s);for(;Io===to||Io===ro;)Hs+=Io,Io=To.charAt(++_s);_s--}return Rs.column+=Ts.length,Rs.offset+=Ts.length,Ts+=Ks+Hs,Ma(Ts)({type:"heading",depth:ns,children:vo.tokenizeInline(Ks,Rs)})}}}}}),Dp=ki({"node_modules/remark-parse/lib/tokenize/thematic-break.js"(ds,Bo){Uo(),Bo.exports=To;var Ka=" ",ro=`
|
|||
|
`,to=" ",Ia="*",Wa="-",io="_",Ma=3;function To(Aa,vo,os){for(var $o=-1,_s=vo.length+1,Rs="",Ts,Ks,Io,Hs;++$o<_s&&(Ts=vo.charAt($o),!(Ts!==Ka&&Ts!==to));)Rs+=Ts;if(!(Ts!==Ia&&Ts!==Wa&&Ts!==io))for(Ks=Ts,Rs+=Ts,Io=1,Hs="";++$o<_s;)if(Ts=vo.charAt($o),Ts===Ks)Io++,Rs+=Hs+Ks,Hs="";else if(Ts===to)Hs+=Ts;else return Io>=Ma&&(!Ts||Ts===ro)?(Rs+=Hs,os?!0:Aa(Rs)({type:"thematicBreak"})):void 0}}}),Zf=ki({"node_modules/remark-parse/lib/util/get-indentation.js"(ds,Bo){Uo(),Bo.exports=Wa;var Ka=" ",ro=" ",to=1,Ia=4;function Wa(io){for(var Ma=0,To=0,Aa=io.charAt(Ma),vo={},os,$o=0;Aa===Ka||Aa===ro;){for(os=Aa===Ka?Ia:to,To+=os,os>1&&(To=Math.floor(To/os)*os);$o<To;)vo[++$o]=Ma;Aa=io.charAt(++Ma)}return{indent:To,stops:vo}}}}),bm=ki({"node_modules/remark-parse/lib/util/remove-indentation.js"(ds,Bo){Uo();var Ka=Hp(),ro=lf(),to=Zf();Bo.exports=Ma;var Ia=`
|
|||
|
`,Wa=" ",io="!";function Ma(To,Aa){var vo=To.split(Ia),os=vo.length+1,$o=1/0,_s=[],Rs,Ts,Ks;for(vo.unshift(ro(Wa,Aa)+io);os--;)if(Ts=to(vo[os]),_s[os]=Ts.stops,Ka(vo[os]).length!==0)if(Ts.indent)Ts.indent>0&&Ts.indent<$o&&($o=Ts.indent);else{$o=1/0;break}if($o!==1/0)for(os=vo.length;os--;){for(Ks=_s[os],Rs=$o;Rs&&!(Rs in Ks);)Rs--;vo[os]=vo[os].slice(Ks[Rs]+1)}return vo.shift(),vo.join(Ia)}}}),uf=ki({"node_modules/remark-parse/lib/tokenize/list.js"(ds,Bo){Uo();var Ka=Hp(),ro=lf(),to=Oo(),Ia=Zf(),Wa=bm(),io=Cf();Bo.exports=rl;var Ma="*",To="_",Aa="+",vo="-",os=".",$o=" ",_s=`
|
|||
|
`,Rs=" ",Ts=")",Ks="x",Io=4,Hs=/\n\n(?!\s*$)/,ns=/^\[([ X\tx])][ \t]/,as=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,us=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,gs=/^( {1,4}|\t)?/gm;function rl(hl,Pl,Wl){for(var Ls=this,Vl=Ls.options.commonmark,wu=Ls.options.pedantic,Nu=Ls.blockTokenizers,Ea=Ls.interruptList,$l=0,Vu=Pl.length,Hl=null,cl,du,al,el,ll,Yl,Ru,Ju,cc,qc,zu,Td,ap,qd,Dd,Ec,Mc,Ep,Sp,Bp=!1,hp,dd,Rd,kd;$l<Vu&&(el=Pl.charAt($l),!(el!==Rs&&el!==$o));)$l++;if(el=Pl.charAt($l),el===Ma||el===Aa||el===vo)ll=el,al=!1;else{for(al=!0,du="";$l<Vu&&(el=Pl.charAt($l),!!to(el));)du+=el,$l++;if(el=Pl.charAt($l),!du||!(el===os||Vl&&el===Ts)||Wl&&du!=="1")return;Hl=parseInt(du,10),ll=el}if(el=Pl.charAt(++$l),!(el!==$o&&el!==Rs&&(wu||el!==_s&&el!==""))){if(Wl)return!0;for($l=0,qd=[],Dd=[],Ec=[];$l<Vu;){for(Yl=Pl.indexOf(_s,$l),Ru=$l,Ju=!1,kd=!1,Yl===-1&&(Yl=Vu),cl=0;$l<Vu;){if(el=Pl.charAt($l),el===Rs)cl+=Io-cl%Io;else if(el===$o)cl++;else break;$l++}if(Mc&&cl>=Mc.indent&&(kd=!0),el=Pl.charAt($l),cc=null,!kd){if(el===Ma||el===Aa||el===vo)cc=el,$l++,cl++;else{for(du="";$l<Vu&&(el=Pl.charAt($l),!!to(el));)du+=el,$l++;el=Pl.charAt($l),$l++,du&&(el===os||Vl&&el===Ts)&&(cc=el,cl+=du.length+1)}if(cc)if(el=Pl.charAt($l),el===Rs)cl+=Io-cl%Io,$l++;else if(el===$o){for(Rd=$l+Io;$l<Rd&&Pl.charAt($l)===$o;)$l++,cl++;$l===Rd&&Pl.charAt($l)===$o&&($l-=Io-1,cl-=Io-1)}else el!==_s&&el!==""&&(cc=null)}if(cc){if(!wu&&ll!==cc)break;Ju=!0}else!Vl&&!kd&&Pl.charAt(Ru)===$o?kd=!0:Vl&&Mc&&(kd=cl>=Mc.indent||cl>Io),Ju=!1,$l=Ru;if(zu=Pl.slice(Ru,Yl),qc=Ru===$l?zu:Pl.slice($l,Yl),(cc===Ma||cc===To||cc===vo)&&Nu.thematicBreak.call(Ls,hl,zu,!0))break;if(Td=ap,ap=!Ju&&!Ka(qc).length,kd&&Mc)Mc.value=Mc.value.concat(Ec,zu),Dd=Dd.concat(Ec,zu),Ec=[];else if(Ju)Ec.length!==0&&(Bp=!0,Mc.value.push(""),Mc.trail=Ec.concat()),Mc={value:[zu],indent:cl,trail:[]},qd.push(Mc),Dd=Dd.concat(Ec,zu),Ec=[];else if(ap){if(Td&&!Vl)break;Ec.push(zu)}else{if(Td||io(Ea,Nu,Ls,[hl,zu,!0]))break;Mc.value=Mc.value.concat(Ec,zu),Dd=Dd.concat(Ec,zu),Ec=[]}$l=Yl+1}for(hp=hl(Dd.join(_s)).reset({type:"list",ordered:al,start:Hl,spread:Bp,children:[]}),Ep=Ls.enterList(),Sp=Ls.enterBlock(),$l=-1,Vu=qd.length;++$l<Vu;)Mc=qd[$l].value.join(_s),dd=hl.now(),hl(Mc)(sl(Ls,Mc,dd),hp),Mc=qd[$l].trail.join(_s),$l!==Vu-1&&(Mc+=_s),hl(Mc);return Ep(),Sp(),hp}}function sl(hl,Pl,Wl){var Ls=hl.offset,Vl=hl.options.pedantic?jl:Zs,wu=null,Nu,Ea;return Pl=Vl.apply(null,arguments),hl.options.gfm&&(Nu=Pl.match(ns),Nu&&(Ea=Nu[0].length,wu=Nu[1].toLowerCase()===Ks,Ls[Wl.line]+=Ea,Pl=Pl.slice(Ea))),{type:"listItem",spread:Hs.test(Pl),checked:wu,children:hl.tokenizeBlock(Pl,Wl)}}function jl(hl,Pl,Wl){var Ls=hl.offset,Vl=Wl.line;return Pl=Pl.replace(us,wu),Vl=Wl.line,Pl.replace(gs,wu);function wu(Nu){return Ls[Vl]=(Ls[Vl]||0)+Nu.length,Vl++,""}}function Zs(hl,Pl,Wl){var Ls=hl.offset,Vl=Wl.line,wu,Nu,Ea,$l,Vu,Hl,cl;for(Pl=Pl.replace(as,du),$l=Pl.split(_s),Vu=Wa(Pl,Ia(wu).indent).split(_s),Vu[0]=Ea,Ls[Vl]=(Ls[Vl]||0)+Nu.length,Vl++,Hl=0,cl=$l.length;++Hl<cl;)Ls[Vl]=(Ls[Vl]||0)+$l[Hl].length-Vu[Hl].length,Vl++;return Vu.join(_s);function du(al,el,ll,Yl,Ru){return Nu=el+ll+Yl,Ea=Ru,Number(ll)<10&&Nu.length%2===1&&(ll=$o+ll),wu=el+ro($o,ll.length)+Yl,wu+Ea}}}}),Ff=ki({"node_modules/remark-parse/lib/tokenize/heading-setext.js"(ds,Bo){Uo(),Bo.exports=Aa;var Ka=`
|
|||
|
`,ro=" ",to=" ",Ia="=",Wa="-",io=3,Ma=1,To=2;function Aa(vo,os,$o){for(var _s=this,Rs=vo.now(),Ts=os.length,Ks=-1,Io="",Hs,ns,as,us,gs;++Ks<Ts;){if(as=os.charAt(Ks),as!==to||Ks>=io){Ks--;break}Io+=as}for(Hs="",ns="";++Ks<Ts;){if(as=os.charAt(Ks),as===Ka){Ks--;break}as===to||as===ro?ns+=as:(Hs+=ns+as,ns="")}if(Rs.column+=Io.length,Rs.offset+=Io.length,Io+=Hs+ns,as=os.charAt(++Ks),us=os.charAt(++Ks),!(as!==Ka||us!==Ia&&us!==Wa)){for(Io+=as,ns=us,gs=us===Ia?Ma:To;++Ks<Ts;){if(as=os.charAt(Ks),as!==us){if(as!==Ka)return;Ks--;break}ns+=as}return $o?!0:vo(Io+ns)({type:"heading",depth:gs,children:_s.tokenizeInline(Hs,Rs)})}}}}),cf=ki({"node_modules/remark-parse/lib/util/html.js"(ds){Uo();var Bo="[a-zA-Z_:][a-zA-Z0-9:._-]*",Ka="[^\"'=<>`\\u0000-\\u0020]+",ro="'[^']*'",to='"[^"]*"',Ia="(?:"+Ka+"|"+ro+"|"+to+")",Wa="(?:\\s+"+Bo+"(?:\\s*=\\s*"+Ia+")?)",io="<[A-Za-z][A-Za-z0-9\\-]*"+Wa+"*\\s*\\/?>",Ma="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",To="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Aa="<[?].*?[?]>",vo="<![A-Za-z]+\\s+[^>]*>",os="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";ds.openCloseTag=new RegExp("^(?:"+io+"|"+Ma+")"),ds.tag=new RegExp("^(?:"+io+"|"+Ma+"|"+To+"|"+Aa+"|"+vo+"|"+os+")")}}),Vm=ki({"node_modules/remark-parse/lib/tokenize/html-block.js"(ds,Bo){Uo();var Ka=cf().openCloseTag;Bo.exports=Hs;var ro=" ",to=" ",Ia=`
|
|||
|
`,Wa="<",io=/^<(script|pre|style)(?=(\s|>|$))/i,Ma=/<\/(script|pre|style)>/i,To=/^<!--/,Aa=/-->/,vo=/^<\?/,os=/\?>/,$o=/^<![A-Za-z]/,_s=/>/,Rs=/^<!\[CDATA\[/,Ts=/]]>/,Ks=/^$/,Io=new RegExp(Ka.source+"\\s*$");function Hs(ns,as,us){for(var gs=this,rl=gs.options.blocks.join("|"),sl=new RegExp("^</?("+rl+")(?=(\\s|/?>|$))","i"),jl=as.length,Zs=0,hl,Pl,Wl,Ls,Vl,wu,Nu,Ea=[[io,Ma,!0],[To,Aa,!0],[vo,os,!0],[$o,_s,!0],[Rs,Ts,!0],[sl,Ks,!0],[Io,Ks,!1]];Zs<jl&&(Ls=as.charAt(Zs),!(Ls!==ro&&Ls!==to));)Zs++;if(as.charAt(Zs)===Wa){for(hl=as.indexOf(Ia,Zs+1),hl=hl===-1?jl:hl,Pl=as.slice(Zs,hl),Wl=-1,Vl=Ea.length;++Wl<Vl;)if(Ea[Wl][0].test(Pl)){wu=Ea[Wl];break}if(wu){if(us)return wu[2];if(Zs=hl,!wu[1].test(Pl))for(;Zs<jl;){if(hl=as.indexOf(Ia,Zs+1),hl=hl===-1?jl:hl,Pl=as.slice(Zs+1,hl),wu[1].test(Pl)){Pl&&(Zs=hl);break}Zs=hl}return Nu=as.slice(0,Zs),ns(Nu)({type:"html",value:Nu})}}}}}),df=ki({"node_modules/is-whitespace-character/index.js"(ds,Bo){Uo(),Bo.exports=to;var Ka=String.fromCharCode,ro=/\s/;function to(Ia){return ro.test(typeof Ia=="number"?Ka(Ia):Ia.charAt(0))}}}),yh=ki({"node_modules/collapse-white-space/index.js"(ds,Bo){Uo(),Bo.exports=Ka;function Ka(ro){return String(ro).replace(/\s+/g," ")}}}),em=ki({"node_modules/remark-parse/lib/util/normalize.js"(ds,Bo){Uo();var Ka=yh();Bo.exports=ro;function ro(to){return Ka(to).toLowerCase()}}}),Om=ki({"node_modules/remark-parse/lib/tokenize/definition.js"(ds,Bo){Uo();var Ka=df(),ro=em();Bo.exports=Ks;var to='"',Ia="'",Wa="\\",io=`
|
|||
|
`,Ma=" ",To=" ",Aa="[",vo="]",os="(",$o=")",_s=":",Rs="<",Ts=">";function Ks(ns,as,us){for(var gs=this,rl=gs.options.commonmark,sl=0,jl=as.length,Zs="",hl,Pl,Wl,Ls,Vl,wu,Nu,Ea;sl<jl&&(Ls=as.charAt(sl),!(Ls!==To&&Ls!==Ma));)Zs+=Ls,sl++;if(Ls=as.charAt(sl),Ls===Aa){for(sl++,Zs+=Ls,Wl="";sl<jl&&(Ls=as.charAt(sl),Ls!==vo);)Ls===Wa&&(Wl+=Ls,sl++,Ls=as.charAt(sl)),Wl+=Ls,sl++;if(!(!Wl||as.charAt(sl)!==vo||as.charAt(sl+1)!==_s)){for(wu=Wl,Zs+=Wl+vo+_s,sl=Zs.length,Wl="";sl<jl&&(Ls=as.charAt(sl),!(Ls!==Ma&&Ls!==To&&Ls!==io));)Zs+=Ls,sl++;if(Ls=as.charAt(sl),Wl="",hl=Zs,Ls===Rs){for(sl++;sl<jl&&(Ls=as.charAt(sl),!!Io(Ls));)Wl+=Ls,sl++;if(Ls=as.charAt(sl),Ls===Io.delimiter)Zs+=Rs+Wl+Ls,sl++;else{if(rl)return;sl-=Wl.length+1,Wl=""}}if(!Wl){for(;sl<jl&&(Ls=as.charAt(sl),!!Hs(Ls));)Wl+=Ls,sl++;Zs+=Wl}if(Wl){for(Nu=Wl,Wl="";sl<jl&&(Ls=as.charAt(sl),!(Ls!==Ma&&Ls!==To&&Ls!==io));)Wl+=Ls,sl++;if(Ls=as.charAt(sl),Vl=null,Ls===to?Vl=to:Ls===Ia?Vl=Ia:Ls===os&&(Vl=$o),!Vl)Wl="",sl=Zs.length;else if(Wl){for(Zs+=Wl+Ls,sl=Zs.length,Wl="";sl<jl&&(Ls=as.charAt(sl),Ls!==Vl);){if(Ls===io){if(sl++,Ls=as.charAt(sl),Ls===io||Ls===Vl)return;Wl+=io}Wl+=Ls,sl++}if(Ls=as.charAt(sl),Ls!==Vl)return;Pl=Zs,Zs+=Wl+Ls,sl++,Ea=Wl,Wl=""}else return;for(;sl<jl&&(Ls=as.charAt(sl),!(Ls!==Ma&&Ls!==To));)Zs+=Ls,sl++;if(Ls=as.charAt(sl),!Ls||Ls===io)return us?!0:(hl=ns(hl).test().end,Nu=gs.decode.raw(gs.unescape(Nu),hl,{nonTerminated:!1}),Ea&&(Pl=ns(Pl).test().end,Ea=gs.decode.raw(gs.unescape(Ea),Pl)),ns(Zs)({type:"definition",identifier:ro(wu),label:wu,title:Ea||null,url:Nu}))}}}}function Io(ns){return ns!==Ts&&ns!==Aa&&ns!==vo}Io.delimiter=Ts;function Hs(ns){return ns!==Aa&&ns!==vo&&!Ka(ns)}}}),Rm=ki({"node_modules/remark-parse/lib/tokenize/table.js"(ds,Bo){Uo();var Ka=df();Bo.exports=Rs;var ro=" ",to=`
|
|||
|
`,Ia=" ",Wa="-",io=":",Ma="\\",To="|",Aa=1,vo=2,os="left",$o="center",_s="right";function Rs(Ts,Ks,Io){var Hs=this,ns,as,us,gs,rl,sl,jl,Zs,hl,Pl,Wl,Ls,Vl,wu,Nu,Ea,$l,Vu,Hl,cl,du,al;if(Hs.options.gfm){for(ns=0,Ea=0,sl=Ks.length+1,jl=[];ns<sl;){if(cl=Ks.indexOf(to,ns),du=Ks.indexOf(To,ns+1),cl===-1&&(cl=Ks.length),du===-1||du>cl){if(Ea<vo)return;break}jl.push(Ks.slice(ns,cl)),Ea++,ns=cl+1}for(gs=jl.join(to),as=jl.splice(1,1)[0]||[],ns=0,sl=as.length,Ea--,us=!1,Wl=[];ns<sl;){if(hl=as.charAt(ns),hl===To){if(Pl=null,us===!1){if(al===!1)return}else Wl.push(us),us=!1;al=!1}else if(hl===Wa)Pl=!0,us=us||null;else if(hl===io)us===os?us=$o:Pl&&us===null?us=_s:us=os;else if(!Ka(hl))return;ns++}if(us!==!1&&Wl.push(us),!(Wl.length<Aa)){if(Io)return!0;for(Nu=-1,Vu=[],Hl=Ts(gs).reset({type:"table",align:Wl,children:Vu});++Nu<Ea;){for($l=jl[Nu],rl={type:"tableRow",children:[]},Nu&&Ts(to),Ts($l).reset(rl,Hl),sl=$l.length+1,ns=0,Zs="",Ls="",Vl=!0;ns<sl;){if(hl=$l.charAt(ns),hl===ro||hl===Ia){Ls?Zs+=hl:Ts(hl),ns++;continue}hl===""||hl===To?Vl?Ts(hl):((Ls||hl)&&!Vl&&(gs=Ls,Zs.length>1&&(hl?(gs+=Zs.slice(0,-1),Zs=Zs.charAt(Zs.length-1)):(gs+=Zs,Zs="")),wu=Ts.now(),Ts(gs)({type:"tableCell",children:Hs.tokenizeInline(Ls,wu)},rl)),Ts(Zs+hl),Zs="",Ls=""):(Zs&&(Ls+=Zs,Zs=""),Ls+=hl,hl===Ma&&ns!==sl-2&&(Ls+=$l.charAt(ns+1),ns++)),Vl=!1,ns++}Nu||Ts(to+as)}return Hl}}}}}),Hc=ki({"node_modules/remark-parse/lib/tokenize/paragraph.js"(ds,Bo){Uo();var Ka=Hp(),ro=tc(),to=Cf();Bo.exports=To;var Ia=" ",Wa=`
|
|||
|
`,io=" ",Ma=4;function To(Aa,vo,os){for(var $o=this,_s=$o.options,Rs=_s.commonmark,Ts=$o.blockTokenizers,Ks=$o.interruptParagraph,Io=vo.indexOf(Wa),Hs=vo.length,ns,as,us,gs,rl;Io<Hs;){if(Io===-1){Io=Hs;break}if(vo.charAt(Io+1)===Wa)break;if(Rs){for(gs=0,ns=Io+1;ns<Hs;){if(us=vo.charAt(ns),us===Ia){gs=Ma;break}else if(us===io)gs++;else break;ns++}if(gs>=Ma&&us!==Wa){Io=vo.indexOf(Wa,Io+1);continue}}if(as=vo.slice(Io+1),to(Ks,Ts,$o,[Aa,as,!0]))break;if(ns=Io,Io=vo.indexOf(Wa,Io+1),Io!==-1&&Ka(vo.slice(ns,Io))===""){Io=ns;break}}return as=vo.slice(0,Io),os?!0:(rl=Aa.now(),as=ro(as),Aa(as)({type:"paragraph",children:$o.tokenizeInline(as,rl)}))}}}),Vc=ki({"node_modules/remark-parse/lib/locate/escape.js"(ds,Bo){Uo(),Bo.exports=Ka;function Ka(ro,to){return ro.indexOf("\\",to)}}}),vp=ki({"node_modules/remark-parse/lib/tokenize/escape.js"(ds,Bo){Uo();var Ka=Vc();Bo.exports=Ia,Ia.locator=Ka;var ro=`
|
|||
|
`,to="\\";function Ia(Wa,io,Ma){var To=this,Aa,vo;if(io.charAt(0)===to&&(Aa=io.charAt(1),To.escape.indexOf(Aa)!==-1))return Ma?!0:(Aa===ro?vo={type:"break"}:vo={type:"text",value:Aa},Wa(to+Aa)(vo))}}}),Gp=ki({"node_modules/remark-parse/lib/locate/tag.js"(ds,Bo){Uo(),Bo.exports=Ka;function Ka(ro,to){return ro.indexOf("<",to)}}}),xc=ki({"node_modules/remark-parse/lib/tokenize/auto-link.js"(ds,Bo){Uo();var Ka=df(),ro=kc(),to=Gp();Bo.exports=vo,vo.locator=to,vo.notInLink=!0;var Ia="<",Wa=">",io="@",Ma="/",To="mailto:",Aa=To.length;function vo(os,$o,_s){var Rs=this,Ts="",Ks=$o.length,Io=0,Hs="",ns=!1,as="",us,gs,rl,sl,jl;if($o.charAt(0)===Ia){for(Io++,Ts=Ia;Io<Ks&&(us=$o.charAt(Io),!(Ka(us)||us===Wa||us===io||us===":"&&$o.charAt(Io+1)===Ma));)Hs+=us,Io++;if(Hs){if(as+=Hs,Hs="",us=$o.charAt(Io),as+=us,Io++,us===io)ns=!0;else{if(us!==":"||$o.charAt(Io+1)!==Ma)return;as+=Ma,Io++}for(;Io<Ks&&(us=$o.charAt(Io),!(Ka(us)||us===Wa));)Hs+=us,Io++;if(us=$o.charAt(Io),!(!Hs||us!==Wa))return _s?!0:(as+=Hs,rl=as,Ts+=as+us,gs=os.now(),gs.column++,gs.offset++,ns&&(as.slice(0,Aa).toLowerCase()===To?(rl=rl.slice(Aa),gs.column+=Aa,gs.offset+=Aa):as=To+as),sl=Rs.inlineTokenizers,Rs.inlineTokenizers={text:sl.text},jl=Rs.enterLink(),rl=Rs.tokenizeInline(rl,gs),Rs.inlineTokenizers=sl,jl(),os(Ts)({type:"link",title:null,url:ro(as,{nonTerminated:!1}),children:rl}))}}}}}),$f=ki({"node_modules/ccount/index.js"(ds,Bo){Uo(),Bo.exports=Ka;function Ka(ro,to){var Ia=String(ro),Wa=0,io;if(typeof to!="string")throw new Error("Expected character");for(io=Ia.indexOf(to);io!==-1;)Wa++,io=Ia.indexOf(to,io+to.length);return Wa}}}),km=ki({"node_modules/remark-parse/lib/locate/url.js"(ds,Bo){Uo(),Bo.exports=ro;var Ka=["www.","http://","https://"];function ro(to,Ia){var Wa=-1,io,Ma,To;if(!this.options.gfm)return Wa;for(Ma=Ka.length,io=-1;++io<Ma;)To=to.indexOf(Ka[io],Ia),To!==-1&&(Wa===-1||To<Wa)&&(Wa=To);return Wa}}}),xf=ki({"node_modules/remark-parse/lib/tokenize/url.js"(ds,Bo){Uo();var Ka=$f(),ro=kc(),to=Oo(),Ia=Ul(),Wa=df(),io=km();Bo.exports=gs,gs.locator=io,gs.notInLink=!0;var Ma=33,To=38,Aa=41,vo=42,os=44,$o=45,_s=46,Rs=58,Ts=59,Ks=63,Io=60,Hs=95,ns=126,as="(",us=")";function gs(rl,sl,jl){var Zs=this,hl=Zs.options.gfm,Pl=Zs.inlineTokenizers,Wl=sl.length,Ls=-1,Vl=!1,wu,Nu,Ea,$l,Vu,Hl,cl,du,al,el,ll,Yl,Ru,Ju;if(hl){if(sl.slice(0,4)==="www.")Vl=!0,$l=4;else if(sl.slice(0,7).toLowerCase()==="http://")$l=7;else if(sl.slice(0,8).toLowerCase()==="https://")$l=8;else return;for(Ls=$l-1,Ea=$l,wu=[];$l<Wl;){if(cl=sl.charCodeAt($l),cl===_s){if(Ls===$l-1)break;wu.push($l),Ls=$l,$l++;continue}if(to(cl)||Ia(cl)||cl===$o||cl===Hs){$l++;continue}break}if(cl===_s&&(wu.pop(),$l--),wu[0]!==void 0&&(Nu=wu.length<2?Ea:wu[wu.length-2]+1,sl.slice(Nu,$l).indexOf("_")===-1)){if(jl)return!0;for(du=$l,Vu=$l;$l<Wl&&(cl=sl.charCodeAt($l),!(Wa(cl)||cl===Io));)$l++,cl===Ma||cl===vo||cl===os||cl===_s||cl===Rs||cl===Ks||cl===Hs||cl===ns||(du=$l);if($l=du,sl.charCodeAt($l-1)===Aa)for(Hl=sl.slice(Vu,$l),al=Ka(Hl,as),el=Ka(Hl,us);el>al;)$l=Vu+Hl.lastIndexOf(us),Hl=sl.slice(Vu,$l),el--;if(sl.charCodeAt($l-1)===Ts&&($l--,Ia(sl.charCodeAt($l-1)))){for(du=$l-2;Ia(sl.charCodeAt(du));)du--;sl.charCodeAt(du)===To&&($l=du)}return ll=sl.slice(0,$l),Ru=ro(ll,{nonTerminated:!1}),Vl&&(Ru="http://"+Ru),Ju=Zs.enterLink(),Zs.inlineTokenizers={text:Pl.text},Yl=Zs.tokenizeInline(ll,rl.now()),Zs.inlineTokenizers=Pl,Ju(),rl(ll)({type:"link",title:null,url:Ru,children:Yl})}}}}}),ym=ki({"node_modules/remark-parse/lib/locate/email.js"(ds,Bo){Uo();var Ka=Oo(),ro=Ul(),to=43,Ia=45,Wa=46,io=95;Bo.exports=Ma;function Ma(Aa,vo){var os=this,$o,_s;if(!this.options.gfm||($o=Aa.indexOf("@",vo),$o===-1))return-1;if(_s=$o,_s===vo||!To(Aa.charCodeAt(_s-1)))return Ma.call(os,Aa,$o+1);for(;_s>vo&&To(Aa.charCodeAt(_s-1));)_s--;return _s}function To(Aa){return Ka(Aa)||ro(Aa)||Aa===to||Aa===Ia||Aa===Wa||Aa===io}}}),Em=ki({"node_modules/remark-parse/lib/tokenize/email.js"(ds,Bo){Uo();var Ka=kc(),ro=Oo(),to=Ul(),Ia=ym();Bo.exports=vo,vo.locator=Ia,vo.notInLink=!0;var Wa=43,io=45,Ma=46,To=64,Aa=95;function vo(os,$o,_s){var Rs=this,Ts=R
|
|||
|
`,Ia="!",Wa='"',io="'",Ma="(",To=")",Aa="<",vo=">",os="[",$o="\\",_s="]",Rs="`";function Ts(Ks,Io,Hs){var ns=this,as="",us=0,gs=Io.charAt(0),rl=ns.options.pedantic,sl=ns.options.commonmark,jl=ns.options.gfm,Zs,hl,Pl,Wl,Ls,Vl,wu,Nu,Ea,$l,Vu,Hl,cl,du,al,el,ll,Yl;if(gs===Ia&&(Nu=!0,as=gs,gs=Io.charAt(++us)),gs===os&&!(!Nu&&ns.inLink)){for(as+=gs,du="",us++,Vu=Io.length,el=Ks.now(),cl=0,el.column+=us,el.offset+=us;us<Vu;){if(gs=Io.charAt(us),Vl=gs,gs===Rs){for(hl=1;Io.charAt(us+1)===Rs;)Vl+=gs,us++,hl++;Pl?hl>=Pl&&(Pl=0):Pl=hl}else if(gs===$o)us++,Vl+=Io.charAt(us);else if((!Pl||jl)&&gs===os)cl++;else if((!Pl||jl)&&gs===_s)if(cl)cl--;else{if(Io.charAt(us+1)!==Ma)return;Vl+=Ma,Zs=!0,us++;break}du+=Vl,Vl="",us++}if(Zs){for(Ea=du,as+=du+Vl,us++;us<Vu&&(gs=Io.charAt(us),!!Ka(gs));)as+=gs,us++;if(gs=Io.charAt(us),du="",Wl=as,gs===Aa){for(us++,Wl+=Aa;us<Vu&&(gs=Io.charAt(us),gs!==vo);){if(sl&&gs===to)return;du+=gs,us++}if(Io.charAt(us)!==vo)return;as+=Aa+du+vo,al=du,us++}else{for(gs=null,Vl="";us<Vu&&(gs=Io.charAt(us),!(Vl&&(gs===Wa||gs===io||sl&&gs===Ma)));){if(Ka(gs)){if(!rl)break;Vl+=gs}else{if(gs===Ma)cl++;else if(gs===To){if(cl===0)break;cl--}du+=Vl,Vl="",gs===$o&&(du+=$o,gs=Io.charAt(++us)),du+=gs}us++}as+=du,al=du,us=as.length}for(du="";us<Vu&&(gs=Io.charAt(us),!!Ka(gs));)du+=gs,us++;if(gs=Io.charAt(us),as+=du,du&&(gs===Wa||gs===io||sl&&gs===Ma))if(us++,as+=gs,du="",$l=gs===Ma?To:gs,Ls=as,sl){for(;us<Vu&&(gs=Io.charAt(us),gs!==$l);)gs===$o&&(du+=$o,gs=Io.charAt(++us)),us++,du+=gs;if(gs=Io.charAt(us),gs!==$l)return;for(Hl=du,as+=du+gs,us++;us<Vu&&(gs=Io.charAt(us),!!Ka(gs));)as+=gs,us++}else for(Vl="";us<Vu;){if(gs=Io.charAt(us),gs===$l)wu&&(du+=$l+Vl,Vl=""),wu=!0;else if(!wu)du+=gs;else if(gs===To){as+=du+$l+Vl,Hl=du;break}else Ka(gs)?Vl+=gs:(du+=$l+Vl+gs,Vl="",wu=!1);us++}if(Io.charAt(us)===To)return Hs?!0:(as+=To,al=ns.decode.raw(ns.unescape(al),Ks(Wl).test().end,{nonTerminated:!1}),Hl&&(Ls=Ks(Ls).test().end,Hl=ns.decode.raw(ns.unescape(Hl),Ls)),Yl={type:Nu?"image":"link",title:Hl||null,url:al},Nu?Yl.alt=ns.decode.raw(ns.unescape(Ea),el)||null:(ll=ns.enterLink(),Yl.children=ns.tokenizeInline(Ea,el),ll()),Ks(as)(Yl))}}}}}),rm=ki({"node_modules/remark-parse/lib/tokenize/reference.js"(ds,Bo){Uo();var Ka=df(),ro=tm(),to=em();Bo.exports=_s,_s.locator=ro;var Ia="link",Wa="image",io="shortcut",Ma="collapsed",To="full",Aa="!",vo="[",os="\\",$o="]";function _s(Rs,Ts,Ks){var Io=this,Hs=Io.options.commonmark,ns=Ts.charAt(0),as=0,us=Ts.length,gs="",rl="",sl=Ia,jl=io,Zs,hl,Pl,Wl,Ls,Vl,wu,Nu;if(ns===Aa&&(sl=Wa,rl=ns,ns=Ts.charAt(++as)),ns===vo){for(as++,rl+=ns,Vl="",Nu=0;as<us;){if(ns=Ts.charAt(as),ns===vo)wu=!0,Nu++;else if(ns===$o){if(!Nu)break;Nu--}ns===os&&(Vl+=os,ns=Ts.charAt(++as)),Vl+=ns,as++}if(gs=Vl,Zs=Vl,ns=Ts.charAt(as),ns===$o){if(as++,gs+=ns,Vl="",!Hs)for(;as<us&&(ns=Ts.charAt(as),!!Ka(ns));)Vl+=ns,as++;if(ns=Ts.charAt(as),ns===vo){for(hl="",Vl+=ns,as++;as<us&&(ns=Ts.charAt(as),!(ns===vo||ns===$o));)ns===os&&(hl+=os,ns=Ts.charAt(++as)),hl+=ns,as++;ns=Ts.charAt(as),ns===$o?(jl=hl?To:Ma,Vl+=hl+ns,as++):hl="",gs+=Vl,Vl=""}else{if(!Zs)return;hl=Zs}if(!(jl!==To&&wu))return gs=rl+gs,sl===Ia&&Io.inLink?null:Ks?!0:(Pl=Rs.now(),Pl.column+=rl.length,Pl.offset+=rl.length,hl=jl===To?hl:Zs,Wl={type:sl+"Reference",identifier:to(hl),label:hl,referenceType:jl},sl===Ia?(Ls=Io.enterLink(),Wl.children=Io.tokenizeInline(Zs,Pl),Ls()):Wl.alt=Io.decode.raw(Io.unescape(Zs),Pl)||null,Rs(gs)(Wl))}}}}}),nm=ki({"node_modules/remark-parse/lib/locate/strong.js"(ds,Bo){Uo(),Bo.exports=Ka;function Ka(ro,to){var Ia=ro.indexOf("**",to),Wa=ro.indexOf("__",to);return Wa===-1?Ia:Ia===-1||Wa<Ia?Wa:Ia}}}),Od=ki({"node_modules/remark-parse/lib/tokenize/strong.js"(ds,Bo){Uo();var Ka=Hp(),ro=df(),to=nm();Bo.exports=Ma,Ma.locator=to;var Ia="\\",Wa="*",io="_";function Ma(To,Aa,vo){var os=this,$o=0,_s=Aa.charAt($o),Rs,Ts,Ks,Io,Hs,ns,as;if(!(_s!==Wa&&_s!==io||Aa.charAt(++$o)!==_s)&&(Ts=os.options.pedantic,Ks=_s,Hs=Ks+Ks,ns=Aa.length,$o++,Io="",_s="",!(Ts&&ro(Aa.charAt($o)))))for(;$o<ns;){if(as=_s,_s=Aa.charAt($o),_s===Ks&&Aa.charAt($o+1)===Ks&&(!Ts||!ro(as))&&(_s=Aa.
|
|||
|
`,to);Ia>to&&ro.charAt(Ia-1)===" ";)Ia--;return Ia}}}),Xd=ki({"node_modules/remark-parse/lib/tokenize/break.js"(ds,Bo){Uo();var Ka=lh();Bo.exports=Wa,Wa.locator=Ka;var ro=" ",to=`
|
|||
|
`,Ia=2;function Wa(io,Ma,To){for(var Aa=Ma.length,vo=-1,os="",$o;++vo<Aa;){if($o=Ma.charAt(vo),$o===to)return vo<Ia?void 0:To?!0:(os+=$o,io(os)({type:"break"}));if($o!==ro)return;os+=$o}}}}),zp=ki({"node_modules/remark-parse/lib/tokenize/text.js"(ds,Bo){Uo(),Bo.exports=Ka;function Ka(ro,to,Ia){var Wa=this,io,Ma,To,Aa,vo,os,$o,_s,Rs,Ts;if(Ia)return!0;for(io=Wa.inlineMethods,Aa=io.length,Ma=Wa.inlineTokenizers,To=-1,Rs=to.length;++To<Aa;)_s=io[To],!(_s==="text"||!Ma[_s])&&($o=Ma[_s].locator,$o||ro.file.fail("Missing locator: `"+_s+"`"),os=$o.call(Wa,to,1),os!==-1&&os<Rs&&(Rs=os));vo=to.slice(0,Rs),Ts=ro.now(),Wa.decode(vo,Ts,Ks);function Ks(Io,Hs,ns){ro(ns||Io)({type:"text",value:Io})}}}}),Vf=ki({"node_modules/remark-parse/lib/parser.js"(ds,Bo){Uo();var Ka=Bl(),ro=Ml(),to=Qu(),Ia=Au(),Wa=Zc(),io=Yd();Bo.exports=Ma;function Ma(vo,os){this.file=os,this.offset={},this.options=Ka(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=to(os).toOffset,this.unescape=Ia(this,"escape"),this.decode=Wa(this)}var To=Ma.prototype;To.setOptions=Fc(),To.parse=dp(),To.options=yd(),To.exitStart=ro("atStart",!0),To.enterList=ro("inList",!1),To.enterLink=ro("inLink",!1),To.enterBlock=ro("inBlock",!1),To.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],To.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],To.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}]],To.blockTokenizers={blankLine:Qf(),indentedCode:Tf(),fencedCode:jf(),blockquote:Jf(),atxHeading:wf(),thematicBreak:Dp(),list:uf(),setextHeading:Ff(),html:Vm(),definition:Om(),table:Rm(),paragraph:Hc()},To.inlineTokenizers={escape:vp(),autoLink:xc(),url:xf(),email:Em(),html:od(),link:pf(),reference:rm(),strong:Od(),emphasis:Nf(),deletion:mf(),code:Hd(),break:Xd(),text:zp()},To.blockMethods=Aa(To.blockTokenizers),To.inlineMethods=Aa(To.inlineTokenizers),To.tokenizeBlock=io("block"),To.tokenizeInline=io("inline"),To.tokenizeFactory=io;function Aa(vo){var os=[],$o;for($o in vo)os.push($o);return os}}}),Af=ki({"node_modules/remark-parse/index.js"(ds,Bo){Uo();var Ka=Zl(),ro=Bl(),to=Vf();Bo.exports=Ia,Ia.Parser=to;function Ia(Wa){var io=this.data("settings"),Ma=Ka(to);Ma.prototype.options=ro(Ma.prototype.options,io,Wa),this.Parser=Ma}}}),am=ki({"node_modules/bail/index.js"(ds,Bo){Uo(),Bo.exports=Ka;function Ka(ro){if(ro)throw ro}}}),om=ki({"node_modules/is-buffer/index.js"(ds,Bo){Uo(),Bo.exports=function(Ka){return Ka!=null&&Ka.constructor!=null&&typeof Ka.constructor.isBuffer=="function"&&Ka.constructor.isBuffer(Ka)}}}),wd=ki({"node_modules/extend/index.js"(ds,Bo){Uo();var Ka=Object.prototype.hasOwnProperty,ro=Object.prototype.toString,to=Object.defineProperty,Ia=Object.getOwnPropertyDescriptor,Wa=function(Aa){return typeof Array.isArray=="function"?Array.isArray(Aa):ro.call(Aa)==="[object Array]"},io=function(Aa){if(!Aa||ro.call(Aa)!=="[object Object]")return!1;var vo=Ka.call(Aa,"constructor"),os=Aa.constructor&&Aa.constructor.prototype&&Ka.call(Aa.constructor.prototype,"isPrototypeOf");if(Aa.constructor&&!vo&&!os)return!1;var $o;for($o in Aa);return typeof $o>"u"||Ka.call(Aa,$o)},Ma=function(Aa,vo){to&&vo.name==="__proto__"?to(Aa,vo.name,{enumerable:!0,configurable:!0,value:vo.newValue,writable:!0}):Aa[vo.name]=vo.newValue},To=function(Aa,vo){if(vo==="__proto__")if(Ka.call(Aa,vo)){if(Ia)return Ia(Aa,vo).value}else return;return Aa[vo]};Bo.exports=function Aa(){var vo,os,$o,_s,Rs,Ts,Ks=arguments[0],Io=1,Hs=arguments.length,ns=!1;for(typeof Ks=="boolean"&&(ns=Ks,Ks=arguments[1]||{},Io=2),(Ks==null||typeof Ks!="object"&&typeof Ks!="function")&&(Ks={});Io<Hs;++Io)if(vo=arguments[Io],vo!=null)for(os in vo)$o=To(Ks,os),_s=To(vo,os),
|
|||
|
`,io="$",Ma=2,To=["math","math-display"];function Aa(){let $o=this.Parser,_s=this.Compiler;Ka.isRemarkParser($o)&&vo($o),Ka.isRemarkCompiler(_s)&&os(_s)}function vo($o){let _s=$o.prototype,Rs=_s.blockMethods,Ts=_s.interruptParagraph,Ks=_s.interruptList,Io=_s.interruptBlockquote;_s.blockTokenizers.math=Hs,Rs.splice(Rs.indexOf("fencedCode")+1,0,"math"),Ts.splice(Ts.indexOf("fencedCode")+1,0,["math"]),Ks.splice(Ks.indexOf("fencedCode")+1,0,["math"]),Io.splice(Io.indexOf("fencedCode")+1,0,["math"]);function Hs(ns,as,us){var gs=as.length,rl=0;let sl,jl,Zs,hl,Pl,Wl,Ls,Vl,wu,Nu,Ea;for(;rl<gs&&as.charCodeAt(rl)===to;)rl++;for(Pl=rl;rl<gs&&as.charCodeAt(rl)===Ia;)rl++;if(Wl=rl-Pl,!(Wl<Ma)){for(;rl<gs&&as.charCodeAt(rl)===to;)rl++;for(Ls=rl;rl<gs;){if(sl=as.charCodeAt(rl),sl===Ia)return;if(sl===ro)break;rl++}if(as.charCodeAt(rl)===ro){if(us)return!0;for(jl=[],Ls!==rl&&jl.push(as.slice(Ls,rl)),rl++,Zs=as.indexOf(Wa,rl+1),Zs=Zs===-1?gs:Zs;rl<gs;){for(Vl=!1,Nu=rl,Ea=Zs,hl=Zs,wu=0;hl>Nu&&as.charCodeAt(hl-1)===to;)hl--;for(;hl>Nu&&as.charCodeAt(hl-1)===Ia;)wu++,hl--;for(Wl<=wu&&as.indexOf(io,Nu)===hl&&(Vl=!0,Ea=hl);Nu<=Ea&&Nu-rl<Pl&&as.charCodeAt(Nu)===to;)Nu++;if(Vl)for(;Ea>Nu&&as.charCodeAt(Ea-1)===to;)Ea--;if((!Vl||Nu!==Ea)&&jl.push(as.slice(Nu,Ea)),Vl)break;rl=Zs+1,Zs=as.indexOf(Wa,rl+1),Zs=Zs===-1?gs:Zs}return jl=jl.join(`
|
|||
|
`),ns(as.slice(0,Zs))({type:"math",value:jl,data:{hName:"div",hProperties:{className:To.concat()},hChildren:[{type:"text",value:jl}]}})}}}}function os($o){let _s=$o.prototype;_s.visitors.math=Rs;function Rs(Ts){return`$$
|
|||
|
`+Ts.value+`
|
|||
|
$$`}}}}),lm=ki({"node_modules/remark-math/index.js"(ds,Bo){Uo();var Ka=Df(),ro=Gm();Bo.exports=to;function to(Ia){var Wa=Ia||{};ro.call(this,Wa),Ka.call(this,Wa)}}}),Sm=ki({"node_modules/remark-footnotes/index.js"(ds,Bo){Uo(),Bo.exports=_s;var Ka=9,ro=10,to=32,Ia=33,Wa=58,io=91,Ma=92,To=93,Aa=94,vo=96,os=4,$o=1024;function _s(as){var us=this.Parser,gs=this.Compiler;Rs(us)&&Ks(us,as),Ts(gs)&&Io(gs)}function Rs(as){return!!(as&&as.prototype&&as.prototype.blockTokenizers)}function Ts(as){return!!(as&&as.prototype&&as.prototype.visitors)}function Ks(as,us){for(var gs=us||{},rl=as.prototype,sl=rl.blockTokenizers,jl=rl.inlineTokenizers,Zs=rl.blockMethods,hl=rl.inlineMethods,Pl=sl.definition,Wl=jl.reference,Ls=[],Vl=-1,wu=Zs.length,Nu;++Vl<wu;)Nu=Zs[Vl],!(Nu==="newline"||Nu==="indentedCode"||Nu==="paragraph"||Nu==="footnoteDefinition")&&Ls.push([Nu]);Ls.push(["footnoteDefinition"]),gs.inlineNotes&&(Hs(hl,"reference","inlineNote"),jl.inlineNote=Vu),Hs(Zs,"definition","footnoteDefinition"),Hs(hl,"reference","footnoteCall"),sl.definition=cl,sl.footnoteDefinition=Ea,jl.footnoteCall=$l,jl.reference=Hl,rl.interruptFootnoteDefinition=Ls,Hl.locator=Wl.locator,$l.locator=du,Vu.locator=al;function Ea(el,ll,Yl){for(var Ru=this,Ju=Ru.interruptFootnoteDefinition,cc=Ru.offset,qc=ll.length+1,zu=0,Td=[],ap,qd,Dd,Ec,Mc,Ep,Sp,Bp,hp,dd,Rd,kd,ed;zu<qc&&(Ec=ll.charCodeAt(zu),!(Ec!==Ka&&Ec!==to));)zu++;if(ll.charCodeAt(zu++)===io&&ll.charCodeAt(zu++)===Aa){for(qd=zu;zu<qc;){if(Ec=ll.charCodeAt(zu),Ec!==Ec||Ec===ro||Ec===Ka||Ec===to)return;if(Ec===To){Dd=zu,zu++;break}zu++}if(!(Dd===void 0||qd===Dd||ll.charCodeAt(zu++)!==Wa)){if(Yl)return!0;for(ap=ll.slice(qd,Dd),Mc=el.now(),hp=0,dd=0,Rd=zu,kd=[];zu<qc;){if(Ec=ll.charCodeAt(zu),Ec!==Ec||Ec===ro)ed={start:hp,contentStart:Rd||zu,contentEnd:zu,end:zu},kd.push(ed),Ec===ro&&(hp=zu+1,dd=0,Rd=void 0,ed.end=hp);else if(dd!==void 0)if(Ec===to||Ec===Ka)dd+=Ec===to?1:os-dd%os,dd>os&&(dd=void 0,Rd=zu);else{if(dd<os&&ed&&(ed.contentStart===ed.contentEnd||ns(Ju,sl,Ru,[el,ll.slice(zu,$o),!0])))break;dd=void 0,Rd=zu}zu++}for(zu=-1,qc=kd.length;qc>0&&(ed=kd[qc-1],ed.contentStart===ed.contentEnd);)qc--;for(Ep=el(ll.slice(0,ed.contentEnd));++zu<qc;)ed=kd[zu],cc[Mc.line+zu]=(cc[Mc.line+zu]||0)+(ed.contentStart-ed.start),Td.push(ll.slice(ed.contentStart,ed.end));return Sp=Ru.enterBlock(),Bp=Ru.tokenizeBlock(Td.join(""),Mc),Sp(),Ep({type:"footnoteDefinition",identifier:ap.toLowerCase(),label:ap,children:Bp})}}}function $l(el,ll,Yl){var Ru=ll.length+1,Ju=0,cc,qc,zu,Td;if(ll.charCodeAt(Ju++)===io&&ll.charCodeAt(Ju++)===Aa){for(qc=Ju;Ju<Ru;){if(Td=ll.charCodeAt(Ju),Td!==Td||Td===ro||Td===Ka||Td===to)return;if(Td===To){zu=Ju,Ju++;break}Ju++}if(!(zu===void 0||qc===zu))return Yl?!0:(cc=ll.slice(qc,zu),el(ll.slice(0,Ju))({type:"footnoteReference",identifier:cc.toLowerCase(),label:cc}))}}function Vu(el,ll,Yl){var Ru=this,Ju=ll.length+1,cc=0,qc=0,zu,Td,ap,qd,Dd,Ec,Mc;if(ll.charCodeAt(cc++)===Aa&&ll.charCodeAt(cc++)===io){for(ap=cc;cc<Ju;){if(Td=ll.charCodeAt(cc),Td!==Td)return;if(Ec===void 0)if(Td===Ma)cc+=2;else if(Td===io)qc++,cc++;else if(Td===To)if(qc===0){qd=cc,cc++;break}else qc--,cc++;else if(Td===vo){for(Dd=cc,Ec=1;ll.charCodeAt(Dd+Ec)===vo;)Ec++;cc+=Ec}else cc++;else if(Td===vo){for(Dd=cc,Mc=1;ll.charCodeAt(Dd+Mc)===vo;)Mc++;cc+=Mc,Ec===Mc&&(Ec=void 0),Mc=void 0}else cc++}if(qd!==void 0)return Yl?!0:(zu=el.now(),zu.column+=2,zu.offset+=2,el(ll.slice(0,cc))({type:"footnote",children:Ru.tokenizeInline(ll.slice(ap,qd),zu)}))}}function Hl(el,ll,Yl){var Ru=0;if(ll.charCodeAt(Ru)===Ia&&Ru++,ll.charCodeAt(Ru)===io&&ll.charCodeAt(Ru+1)!==Aa)return Wl.call(this,el,ll,Yl)}function cl(el,ll,Yl){for(var Ru=0,Ju=ll.charCodeAt(Ru);Ju===to||Ju===Ka;)Ju=ll.charCodeAt(++Ru);if(Ju===io&&ll.charCodeAt(Ru+1)!==Aa)return Pl.call(this,el,ll,Yl)}function du(el,ll){return el.indexOf("[",ll)}function al(el,ll){return el.indexOf("^[",ll)}}function Io(as){var us=as.prototype.visitors,gs=" ";us.footnote=rl,us.footnoteReference=sl,us.footnoteDefinition=jl;function rl(Zs){return"^["+this.all(Zs).join("")+"]"}function sl(Zs){return"[^"+(Zs.label||Z
|
|||
|
|
|||
|
`).split(`
|
|||
|
`),Pl=0,Wl=hl.length,Ls;++Pl<Wl;)Ls=hl[Pl],Ls!==""&&(hl[Pl]=gs+Ls);return"[^"+(Zs.label||Zs.identifier)+"]: "+hl.join(`
|
|||
|
`)}}function Hs(as,us,gs){as.splice(as.indexOf(us),0,gs)}function ns(as,us,gs,rl){for(var sl=as.length,jl=-1;++jl<sl;)if(us[as[jl][0]].apply(gs,rl))return!0;return!1}}}),If=ki({"src/utils/front-matter/parse.js"(ds,Bo){Uo();var Ka=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function ro(to){let Ia=to.match(Ka);if(!Ia)return{content:to};let{startDelimiter:Wa,language:io,value:Ma="",endDelimiter:To}=Ia.groups,Aa=io.trim()||"yaml";if(Wa==="+++"&&(Aa="toml"),Aa!=="yaml"&&Wa!==To)return{content:to};let[vo]=Ia;return{frontMatter:{type:"front-matter",lang:Aa,value:Ma,startDelimiter:Wa,endDelimiter:To,raw:vo.replace(/\n$/,"")},content:vo.replace(/[^\n]/g," ")+to.slice(vo.length)}}Bo.exports=ro}}),Of=ki({"src/language-markdown/pragma.js"(ds,Bo){Uo();var Ka=If(),ro=["format","prettier"];function to(Ia){let Wa=`@(${ro.join("|")})`,io=new RegExp([`<!--\\s*${Wa}\\s*-->`,`{\\s*\\/\\*\\s*${Wa}\\s*\\*\\/\\s*}`,`<!--.*\r?
|
|||
|
[\\s\\S]*(^|
|
|||
|
)[^\\S
|
|||
|
]*${Wa}[^\\S
|
|||
|
]*($|
|
|||
|
)[\\s\\S]*
|
|||
|
.*-->`].join("|"),"m"),Ma=Ia.match(io);return(Ma==null?void 0:Ma.index)===0}Bo.exports={startWithPragma:to,hasPragma:Ia=>to(Ka(Ia).content.trimStart()),insertPragma:Ia=>{let Wa=Ka(Ia),io=`<!-- @${ro[0]} -->`;return Wa.frontMatter?`${Wa.frontMatter.raw}
|
|||
|
|
|||
|
${io}
|
|||
|
|
|||
|
${Wa.content}`:`${io}
|
|||
|
|
|||
|
${Wa.content}`}}}}),hf=ki({"src/language-markdown/loc.js"(ds,Bo){Uo();function Ka(to){return to.position.start.offset}function ro(to){return to.position.end.offset}Bo.exports={locStart:Ka,locEnd:ro}}}),Ip=ki({"src/language-markdown/mdx.js"(ds,Bo){Uo();var Ka=/^import\s/,ro=/^export\s/,to="[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|",Ia=/<!---->|<!---?[^>-](?:-?[^-])*-->/,Wa=/^{\s*\/\*(.*)\*\/\s*}/,io=`
|
|||
|
|
|||
|
`,Ma=$o=>Ka.test($o),To=$o=>ro.test($o),Aa=($o,_s)=>{let Rs=_s.indexOf(io),Ts=_s.slice(0,Rs);if(To(Ts)||Ma(Ts))return $o(Ts)({type:To(Ts)?"export":"import",value:Ts})},vo=($o,_s)=>{let Rs=Wa.exec(_s);if(Rs)return $o(Rs[0])({type:"esComment",value:Rs[1].trim()})};Aa.locator=$o=>To($o)||Ma($o)?-1:1,vo.locator=($o,_s)=>$o.indexOf("{",_s);function os(){let{Parser:$o}=this,{blockTokenizers:_s,blockMethods:Rs,inlineTokenizers:Ts,inlineMethods:Ks}=$o.prototype;_s.esSyntax=Aa,Ts.esComment=vo,Rs.splice(Rs.indexOf("paragraph"),0,"esSyntax"),Ks.splice(Ks.indexOf("text"),0,"esComment")}Bo.exports={esSyntax:os,BLOCKS_REGEX:to,COMMENT_REGEX:Ia}}}),um={};Mo(um,{default:()=>Ad});function Ad(ds){if(typeof ds!="string")throw new TypeError("Expected a string");return ds.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Zp=Ki({"node_modules/escape-string-regexp/index.js"(){Uo()}}),ip=ki({"src/utils/get-last.js"(ds,Bo){Uo();var Ka=ro=>ro[ro.length-1];Bo.exports=Ka}}),yp=ki({"node_modules/semver/internal/debug.js"(ds,Bo){Uo();var Ka=typeof ms=="object"&&ms.env&&ms.env.NODE_DEBUG&&/\bsemver\b/i.test(ms.env.NODE_DEBUG)?function(){for(var ro=arguments.length,to=new Array(ro),Ia=0;Ia<ro;Ia++)to[Ia]=arguments[Ia];return console.error("SEMVER",...to)}:()=>{};Bo.exports=Ka}}),ef=ki({"node_modules/semver/internal/constants.js"(ds,Bo){Uo();var Ka="2.0.0",ro=256,to=Number.MAX_SAFE_INTEGER||9007199254740991,Ia=16;Bo.exports={SEMVER_SPEC_VERSION:Ka,MAX_LENGTH:ro,MAX_SAFE_INTEGER:to,MAX_SAFE_COMPONENT_LENGTH:Ia}}}),Rf=ki({"node_modules/semver/internal/re.js"(ds,Bo){Uo();var{MAX_SAFE_COMPONENT_LENGTH:Ka}=ef(),ro=yp();ds=Bo.exports={};var to=ds.re=[],Ia=ds.src=[],Wa=ds.t={},io=0,Ma=(To,Aa,vo)=>{let os=io++;ro(To,os,Aa),Wa[To]=os,Ia[os]=Aa,to[os]=new RegExp(Aa,vo?"g":void 0)};Ma("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ma("NUMERICIDENTIFIERLOOSE","[0-9]+"),Ma("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Ma("MAINVERSION",`(${Ia[Wa.NUMERICIDENTIFIER]})\\.(${Ia[Wa.NUMERICIDENTIFIER]})\\.(${Ia[Wa.NUMERICIDENTIFIER]})`),Ma("MAINVERSIONLOOSE",`(${Ia[Wa.NUMERICIDENTIFIERLOOSE]})\\.(${Ia[Wa.NUMERICIDENTIFIERLOOSE]})\\.(${Ia[Wa.NUMERICIDENTIFIERLOOSE]})`),Ma("PRERELEASEIDENTIFIER",`(?:${Ia[Wa.NUMERICIDENTIFIER]}|${Ia[Wa.NONNUMERICIDENTIFIER]})`),Ma("PRERELEASEIDENTIFIERLOOSE",`(?:${Ia[Wa.NUMERICIDENTIFIERLOOSE]}|${Ia[Wa.NONNUMERICIDENTIFIER]})`),Ma("PRERELEASE",`(?:-(${Ia[Wa.PRERELEASEIDENTIFIER]}(?:\\.${Ia[Wa.PRERELEASEIDENTIFIER]})*))`),Ma("PRERELEASELOOSE",`(?:-?(${Ia[Wa.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${Ia[Wa.PRERELEASEIDENTIFIERLOOSE]})*))`),Ma("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Ma("BUILD",`(?:\\+(${Ia[Wa.BUILDIDENTIFIER]}(?:\\.${Ia[Wa.BUILDIDENTIFIER]})*))`),Ma("FULLPLAIN",`v?${Ia[Wa.MAINVERSION]}${Ia[Wa.PRERELEASE]}?${Ia[Wa.BUILD]}?`),Ma("FULL",`^${Ia[Wa.FULLPLAIN]}$`),Ma("LOOSEPLAIN",`[v=\\s]*${Ia[Wa.MAINVERSIONLOOSE]}${Ia[Wa.PRERELEASELOOSE]}?${Ia[Wa.BUILD]}?`),Ma("LOOSE",`^${Ia[Wa.LOOSEPLAIN]}$`),Ma("GTLT","((?:<|>)?=?)"),Ma("XRANGEIDENTIFIERLOOSE",`${Ia[Wa.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ma("XRANGEIDENTIFIER",`${Ia[Wa.NUMERICIDENTIFIER]}|x|X|\\*`),Ma("XRANGEPLAIN",`[v=\\s]*(${Ia[Wa.XRANGEIDENTIFIER]})(?:\\.(${Ia[Wa.XRANGEIDENTIFIER]})(?:\\.(${Ia[Wa.XRANGEIDENTIFIER]})(?:${Ia[Wa.PRERELEASE]})?${Ia[Wa.BUILD]}?)?)?`),Ma("XRANGEPLAINLOOSE",`[v=\\s]*(${Ia[Wa.XRANGEIDENTIFIERLOOSE]})(?:\\.(${Ia[Wa.XRANGEIDENTIFIERLOOSE]})(?:\\.(${Ia[Wa.XRANGEIDENTIFIERLOOSE]})(?:${Ia[Wa.PRERELEASELOOSE]})?${Ia[Wa.BUILD]}?)?)?`),Ma("XRANGE",`^${Ia[Wa.GTLT]}\\s*${Ia[Wa.XRANGEPLAIN]}$`),Ma("XRANGELOOSE",`^${Ia[Wa.GTLT]}\\s*${Ia[Wa.XRANGEPLAINLOOSE]}$`),Ma("COERCE",`(^|[^\\d])(\\d{1,${Ka}})(?:\\.(\\d{1,${Ka}}))?(?:\\.(\\d{1,${Ka}}))?(?:$|[^\\d])`),Ma("COERCERTL",Ia[Wa.COERCE],!0),Ma("LONETILDE","(?:~>?)"),Ma("TILDETRIM",`(\\s*)${Ia[Wa.LONETILDE]}\\s+`,!0),ds.tildeTrimReplace="$1~",Ma("TILDE",`^${Ia[Wa.LONETILDE]}${Ia[Wa.XRANGEPLAIN]}$`),Ma("TILDELOOSE",`^${Ia[Wa.LONETILDE]}${Ia[Wa.XRANGEPLAINLOOSE]}$`),Ma("LONECARET","(?:\\^)"),Ma("CARETTRIM",`(\\s*)${Ia[Wa.LONECARET]}\\s+`,!0),ds.caretTrimReplace="$1^",Ma("CARET",`^${Ia[Wa.LONECARET]}${Ia[Wa.XRANGEPLAIN]}$`),Ma
|
|||
|
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:to},endOfLine:{since:"1.15.0",category:Ma,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:Ka`
|
|||
|
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:To,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Wa,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:To,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Wa},parser:{since:"0.0.10",category:Ma,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:vo=>typeof vo=="string"||typeof vo=="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:Ma,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:vo=>typeof vo=="string"||typeof vo=="object",cliName:"plugin",cliCategory:ro},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Ma,description:Ka`
|
|||
|
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:vo=>typeof vo=="string"||typeof vo=="object",cliName:"plugin-search-dir",cliCategory:ro},printWidth:{since:"0.0.0",category:Ma,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:To,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ka`
|
|||
|
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:to},rangeStart:{since:"1.4.0",category:To,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ka`
|
|||
|
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:to},requirePragma:{since:"1.7.0",category:To,type:"boolean",default:!1,description:Ka`
|
|||
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|||
|
in order for it to be formatted.
|
|||
|
`,cliCategory:Wa},tabWidth:{type:"int",category:Ma,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Ma,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Ma,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."}]}};Bo.exports={CATEGORY_CONFIG:ro,CATEGORY_EDITOR:to,CATEGORY_FORMAT:Ia,CATEGORY_OTHER:Wa,CATEGORY_OUTPUT:io,CATEGORY_GLOBAL:Ma,CATEGORY_SPECIAL:To,options:Aa}}}),fp=ki({"src/main/support.js"(ds,Bo){Uo();var Ka={compare:Gf(),lt:Op(),gte:qm()},ro=Wm(),to=Tm().version,Ia=Gd().options;function Wa(){let{plugins:Ma=[],showUnreleased:To=!1,showDeprecated:Aa=!1,showInternal:vo=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},os=to.split("-",1)[0],$o=Ma.flatMap(Io=>Io.languages||[]).filter(Rs),_s=ro(Object.assign({},...Ma.map(Io=>{let{options:Hs}=Io;return Hs}),Ia),"name").filter(Io=>Rs(Io)&&Ts(Io)).sort((Io,Hs)=>Io.name===Hs.name?0:Io.name<Hs.name?-1:1).map(Ks).map(Io=>{Io=Object.assign({},Io),Array.isArray(Io.default)&&(Io.default=Io.default.length===1?Io.default[0].value:Io.default.filter(Rs).sort((ns,as)=>Ka.compare(as.since,ns.since))[0].value),Array.isArray(Io.choices)&&(Io.choices=Io.choices.filter(ns=>Rs(ns)&&Ts(ns)),Io.name==="parser"&&io(Io,$o,Ma));let Hs=Object.fromEntries(Ma.filter(ns=>ns.defaultOptions&&ns.defaultOptions[Io.name]!==void 0).map(ns=>[ns.name,ns.defaultOptions[Io.name]]));return Object.assign(Object.assign({},Io),{},{pluginDefaults:Hs})});return{languages:$o,options:_s};function Rs(Io){return To||!("since"in Io)||Io.since&&Ka.gte(os,Io.since)}function Ts(Io){return Aa||!("deprecated"in Io)||Io.deprecated&&Ka.lt(os,Io.deprecated)}function Ks(Io){return vo?Io:Ds(Io,As)}}function io(Ma,To,Aa){let vo=new Set(Ma.choices.map(os=>os.value));for(let os of To)if(os.parsers){for(let $o of os.parsers)if(!vo.has($o)){vo.add($o);let _s=Aa.find(Ts=>Ts.parsers&&Ts.parsers[$o]),Rs=os.name;_s&&_s.name&&(Rs+=` (plugin: ${_s.name})`),Ma.choices.push({value:$o,description:Rs})}}}Bo.exports={getSupportInfo:Wa}}}),Lm=ki({"src/utils/is-non-empty-array.js"(ds,Bo){Uo();function Ka(ro){return Array.isArray(ro)&&ro.length>0}Bo.exports=Ka}});function Ym(){let{onlyFirst:ds=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Bo=["[\\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(Bo,ds?void 0:"g")}var Ch=Ki({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Uo()}});function cm(ds){if(typeof ds!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof ds}\``);return ds.replace(Ym(),"")}var qp=Ki({"node_modules/strip-ansi/index.js"(){Uo(),Ch()}});function Km(ds){return Number.isInteger(ds)?ds>=4352&&(ds<=4447||ds===9001||ds===9002||11904<=ds&&ds<=12871&&ds!==12351||12880<=ds&&ds<=19903||19968<=ds&&ds<=42182||43360<=ds&&ds<=43388||44032<=ds&&ds<=55203||63744<=ds&&ds<=64255||65040<=ds&&ds<=65049||65072<=ds&&ds<=65131||65281<=ds&&ds<=65376||65504<=ds&&ds<=65510||110592<=ds&&ds<=110593||127488<=ds&&ds<=127569||131072<=ds&&ds<=262141):!1}var Xm=Ki({"node_modules/is-fullwidth-code-point/index.js"(){Uo()}}),dm=ki({"node_modules/emoji-regex/index.js"(ds,Bo){Uo(),Bo.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 to-2;if(io===`
|
|||
|
`||io==="\r"||io==="\u2028"||io==="\u2029")return to-1}else{if(io==="\r"&&ro.charAt(to+1)===`
|
|||
|
`)return to+2;if(io===`
|
|||
|
`||io==="\r"||io==="\u2028"||io==="\u2029")return to+1}return to}Bo.exports=Ka}}),$c=ki({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(ds,Bo){Uo();var Ka=ul(),ro=Hu(),to=Fu(),{skipSpaces:Ia}=_l();function Wa(io,Ma){let To=null,Aa=Ma;for(;Aa!==To;)To=Aa,Aa=Ia(io,Aa),Aa=Ka(io,Aa),Aa=to(io,Aa),Aa=ro(io,Aa);return Aa}Bo.exports=Wa}}),jd=ki({"src/common/util.js"(ds,Bo){Uo();var{default:Ka}=(Zp(),Ss(um)),ro=ip(),{getSupportInfo:to}=fp(),Ia=Lm(),Wa=Ps(),{skipWhitespace:io,skipSpaces:Ma,skipToLineEnd:To,skipEverythingButNewLine:Aa}=_l(),vo=ul(),os=Fu(),$o=Hu(),_s=$c(),Rs=al=>al[al.length-2];function Ts(al){return(el,ll,Yl)=>{let Ru=Yl&&Yl.backwards;if(ll===!1)return!1;let{length:Ju}=el,cc=ll;for(;cc>=0&&cc<Ju;){let qc=el.charAt(cc);if(al instanceof RegExp){if(!al.test(qc))return cc}else if(!al.includes(qc))return cc;Ru?cc--:cc++}return cc===-1||cc===Ju?cc:!1}}function Ks(al,el){let ll=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Yl=Ma(al,ll.backwards?el-1:el,ll),Ru=$o(al,Yl,ll);return Yl!==Ru}function Io(al,el,ll){for(let Yl=el;Yl<ll;++Yl)if(al.charAt(Yl)===`
|
|||
|
`)return!0;return!1}function Hs(al,el,ll){let Yl=ll(el)-1;Yl=Ma(al,Yl,{backwards:!0}),Yl=$o(al,Yl,{backwards:!0}),Yl=Ma(al,Yl,{backwards:!0});let Ru=$o(al,Yl,{backwards:!0});return Yl!==Ru}function ns(al,el){let ll=null,Yl=el;for(;Yl!==ll;)ll=Yl,Yl=To(al,Yl),Yl=vo(al,Yl),Yl=Ma(al,Yl);return Yl=os(al,Yl),Yl=$o(al,Yl),Yl!==!1&&Ks(al,Yl)}function as(al,el,ll){return ns(al,ll(el))}function us(al,el,ll){return _s(al,ll(el))}function gs(al,el,ll){return al.charAt(us(al,el,ll))}function rl(al,el){let ll=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ma(al,ll.backwards?el-1:el,ll)!==el}function sl(al,el){let ll=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Yl=0;for(let Ru=ll;Ru<al.length;++Ru)al[Ru]===" "?Yl=Yl+el-Yl%el:Yl++;return Yl}function jl(al,el){let ll=al.lastIndexOf(`
|
|||
|
`);return ll===-1?0:sl(al.slice(ll+1).match(/^[\t ]*/)[0],el)}function Zs(al,el){let ll={quote:'"',regex:/"/g,escaped:"""},Yl={quote:"'",regex:/'/g,escaped:"'"},Ru=el==="'"?Yl:ll,Ju=Ru===Yl?ll:Yl,cc=Ru;if(al.includes(Ru.quote)||al.includes(Ju.quote)){let qc=(al.match(Ru.regex)||[]).length,zu=(al.match(Ju.regex)||[]).length;cc=qc>zu?Ju:Ru}return cc}function hl(al,el){let ll=al.slice(1,-1),Yl=el.parser==="json"||el.parser==="json5"&&el.quoteProps==="preserve"&&!el.singleQuote?'"':el.__isInHtmlAttribute?"'":Zs(ll,el.singleQuote?"'":'"').quote;return Pl(ll,Yl,!(el.parser==="css"||el.parser==="less"||el.parser==="scss"||el.__embeddedInHtml))}function Pl(al,el,ll){let Yl=el==='"'?"'":'"',Ru=/\\(.)|(["'])/gs,Ju=al.replace(Ru,(cc,qc,zu)=>qc===Yl?qc:zu===el?"\\"+zu:zu||(ll&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(qc)?qc:"\\"+qc));return el+Ju+el}function Wl(al){return al.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function Ls(al,el){let ll=al.match(new RegExp(`(${Ka(el)})+`,"g"));return ll===null?0:ll.reduce((Yl,Ru)=>Math.max(Yl,Ru.length/el.length),0)}function Vl(al,el){let ll=al.match(new RegExp(`(${Ka(el)})+`,"g"));if(ll===null)return 0;let Yl=new Map,Ru=0;for(let Ju of ll){let cc=Ju.length/el.length;Yl.set(cc,!0),cc>Ru&&(Ru=cc)}for(let Ju=1;Ju<Ru;Ju++)if(!Yl.get(Ju))return Ju;return Ru+1}function wu(al,el){(al.comments||(al.comments=[])).push(el),el.printed=!1,el.nodeDescription=du(al)}function Nu(al,el){el.leading=!0,el.trailing=!1,wu(al,el)}function Ea(al,el,ll){el.leading=!1,el.trailing=!1,ll&&(el.marker=ll),wu(al,el)}function $l(al,el){el.leading=!1,el.trailing=!0,wu(al,el)}function Vu(al,el){let{languages:ll}=to({plugins:el.plugins}),Yl=ll.find(Ru=>{let{name:Ju}=Ru;return Ju.toLowerCase()===al})||ll.find(Ru=>{let{aliases:Ju}=Ru;return Array.isArray(Ju)&&Ju.includes(al)})||ll.find(Ru=>{let{extensions:Ju}=Ru;return Array.isArray(Ju)&&Ju.includes(`.${al}`)});return Yl&&Yl.parsers[0]}function Hl(al){return al&&al.type==="front-matter"}function cl(al){let el=new WeakMap;return function(ll){return el.has(ll)||el.set(ll,Symbol(al)),el.get(ll)}}function du(al){let el=al.type||al.kind||"(unknown type)",ll=String(al.name||al.id&&(typeof al.id=="object"?al.id.name:al.id)||al.key&&(typeof al.key=="object"?al.key.name:al.key)||al.value&&(typeof al.value=="object"?"":String(al.value))||al.operator||"");return ll.length>20&&(ll=ll.slice(0,19)+"…"),el+(ll?" "+ll:"")}Bo.exports={inferParserByLanguage:Vu,getStringWidth:Wa,getMaxContinuousCount:Ls,getMinNotPresentContinuousCount:Vl,getPenultimate:Rs,getLast:ro,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:_s,getNextNonSpaceNonCommentCharacterIndex:us,getNextNonSpaceNonCommentCharacter:gs,skip:Ts,skipWhitespace:io,skipSpaces:Ma,skipToLineEnd:To,skipEverythingButNewLine:Aa,skipInlineComment:vo,skipTrailingComment:os,skipNewline:$o,isNextLineEmptyAfterIndex:ns,isNextLineEmpty:as,isPreviousLineEmpty:Hs,hasNewline:Ks,hasNewlineInRange:Io,hasSpaces:rl,getAlignmentSize:sl,getIndentSize:jl,getPreferredQuote:Zs,printString:hl,printNumber:Wl,makeString:Pl,addLeadingComment:Nu,addDanglingComment:Ea,addTrailingComment:$l,isFrontMatterNode:Hl,isNonEmptyArray:Ia,createGroupIdMapper:cl}}}),sd=ki({"src/language-markdown/constants.evaluate.js"(ds,Bo){Bo.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
|
|||
|
(${Ia})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[Zs,hl]of sl.entries()){if(Zs%2===1){rl.push({type:"whitespace",value:/\n/.test(hl)?`
|
|||
|
`:" "});continue}if((Zs===0||Zs===sl.length-1)&&hl==="")continue;let Pl=hl.split(new RegExp(`(${Ia})`));for(let[Wl,Ls]of Pl.entries())if(!((Wl===0||Wl===Pl.length-1)&&Ls==="")){if(Wl%2===0){Ls!==""&&jl({type:"word",value:Ls,kind:ns,hasLeadingPunctuation:vo.test(Ls[0]),hasTrailingPunctuation:vo.test(Ka(Ls))});continue}jl(vo.test(Ls)?{type:"word",value:Ls,kind:gs,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:Ls,kind:Aa.test(Ls)?us:as,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return rl;function jl(Zs){let hl=Ka(rl);hl&&hl.type==="word"&&(hl.kind===ns&&Zs.kind===as&&!hl.hasTrailingPunctuation||hl.kind===as&&Zs.kind===ns&&!Zs.hasLeadingPunctuation?rl.push({type:"whitespace",value:" "}):!Pl(ns,gs)&&![hl.value,Zs.value].some(Wl=>/\u3000/.test(Wl))&&rl.push({type:"whitespace",value:""})),rl.push(Zs);function Pl(Wl,Ls){return hl.kind===Wl&&Zs.kind===Ls||hl.kind===Ls&&Zs.kind===Wl}}}function $o(Io,Hs){let[,ns,as,us]=Hs.slice(Io.position.start.offset,Io.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:ns,marker:as,leadingSpaces:us}}function _s(Io,Hs){if(!Io.ordered||Io.children.length<2)return!1;let ns=Number($o(Io.children[0],Hs.originalText).numberText),as=Number($o(Io.children[1],Hs.originalText).numberText);if(ns===0&&Io.children.length>2){let us=Number($o(Io.children[2],Hs.originalText).numberText);return as===1&&us===1}return as===1}function Rs(Io,Hs){let{value:ns}=Io;return Io.position.end.offset===Hs.length&&ns.endsWith(`
|
|||
|
`)&&Hs.endsWith(`
|
|||
|
`)?ns.slice(0,-1):ns}function Ts(Io,Hs){return function ns(as,us,gs){let rl=Object.assign({},Hs(as,us,gs));return rl.children&&(rl.children=rl.children.map((sl,jl)=>ns(sl,jl,[rl,...gs]))),rl}(Io,null,[])}function Ks(Io){if((Io==null?void 0:Io.type)!=="link"||Io.children.length!==1)return!1;let[Hs]=Io.children;return ro(Io)===ro(Hs)&&to(Io)===to(Hs)}Bo.exports={mapAst:Ts,splitText:os,punctuationPattern:io,getFencedCodeBlockValue:Rs,getOrderedListItemInfo:$o,hasGitDiffFriendlyOrderedList:_s,INLINE_NODE_TYPES:Ma,INLINE_NODE_WRAPPER_TYPES:To,isAutolink:Ks}}}),hh=ki({"src/language-markdown/unified-plugins/html-to-jsx.js"(ds,Bo){Uo();var Ka=Ip(),{mapAst:ro,INLINE_NODE_WRAPPER_TYPES:to}=pm();function Ia(){return Wa=>ro(Wa,(io,Ma,To)=>{let[Aa]=To;return io.type!=="html"||Ka.COMMENT_REGEX.test(io.value)||to.includes(Aa.type)?io:Object.assign(Object.assign({},io),{},{type:"jsx"})})}Bo.exports=Ia}}),Rp=ki({"src/language-markdown/unified-plugins/front-matter.js"(ds,Bo){Uo();var Ka=If();function ro(){let to=this.Parser.prototype;to.blockMethods=["frontMatter",...to.blockMethods],to.blockTokenizers.frontMatter=Ia;function Ia(Wa,io){let Ma=Ka(io);if(Ma.frontMatter)return Wa(Ma.frontMatter.raw)(Ma.frontMatter)}Ia.onlyAtStart=!0}Bo.exports=ro}}),Wp=ki({"src/language-markdown/unified-plugins/liquid.js"(ds,Bo){Uo();function Ka(){let ro=this.Parser.prototype,to=ro.inlineMethods;to.splice(to.indexOf("text"),0,"liquid"),ro.inlineTokenizers.liquid=Ia;function Ia(Wa,io){let Ma=io.match(/^({%.*?%}|{{.*?}})/s);if(Ma)return Wa(Ma[0])({type:"liquidNode",value:Ma[0]})}Ia.locator=function(Wa,io){return Wa.indexOf("{",io)}}Bo.exports=Ka}}),kf=ki({"src/language-markdown/unified-plugins/wiki-link.js"(ds,Bo){Uo();function Ka(){let ro="wikiLink",to=/^\[\[(?<linkContents>.+?)]]/s,Ia=this.Parser.prototype,Wa=Ia.inlineMethods;Wa.splice(Wa.indexOf("link"),0,ro),Ia.inlineTokenizers.wikiLink=io;function io(Ma,To){let Aa=to.exec(To);if(Aa){let vo=Aa.groups.linkContents.trim();return Ma(Aa[0])({type:ro,value:vo})}}io.locator=function(Ma,To){return Ma.indexOf("[",To)}}Bo.exports=Ka}}),kp=ki({"src/language-markdown/unified-plugins/loose-items.js"(ds,Bo){Uo();function Ka(){let ro=this.Parser.prototype,to=ro.blockTokenizers.list;function Ia(Wa,io,Ma){return io.type==="listItem"&&(io.loose=io.spread||Wa.charAt(Wa.length-1)===`
|
|||
|
`,io.loose&&(Ma.loose=!0)),io}ro.blockTokenizers.list=function(Wa,io,Ma){function To(Aa){let vo=Wa(Aa);function os($o,_s){return vo(Ia(Aa,$o,_s),_s)}return os.reset=function($o,_s){return vo.reset(Ia(Aa,$o,_s),_s)},os}return To.now=Wa.now,to.call(this,To,io,Ma)}}Bo.exports=Ka}});Uo();var tf=Af(),zf=Hm(),Uc=lm(),gh=Sm(),zc=Of(),{locStart:mp,locEnd:qf}=hf(),Zd=Ip(),vf=hh(),Yp=Rp(),Kp=Wp(),wm=kf(),xm=kp();function Mp(ds){let{isMDX:Bo}=ds;return Ka=>{let ro=zf().use(tf,Object.assign({commonmark:!0},Bo&&{blocks:[Zd.BLOCKS_REGEX]})).use(gh).use(Yp).use(Uc).use(Bo?Zd.esSyntax:Wf).use(Kp).use(Bo?vf:Wf).use(wm).use(xm);return ro.runSync(ro.parse(Ka))}}function Wf(ds){return ds}var Mf={astFormat:"mdast",hasPragma:zc.hasPragma,locStart:mp,locEnd:qf},rf=Object.assign(Object.assign({},Mf),{},{parse:Mp({isMDX:!1})}),Fm=Object.assign(Object.assign({},Mf),{},{parse:Mp({isMDX:!0})});Yo.exports={parsers:{remark:rf,markdown:rf,mdx:Fm}}});return Uu()})})(parserMarkdown);var parserMarkdownExports=parserMarkdown.exports;const prettierMarkdown=getDefaultExportFromCjs(parserMarkdownExports);function addPrefix(e){return`${prefix}__${e}`}function createCustomTheme(e,t,n=!0){const y=JSON.parse(JSON.stringify(e));return y.block.h1["border-bottom"]=`2px solid ${t}`,y.block.h2.background=t,y.block.h3["border-left"]=`3px solid ${t}`,y.block.h4.color=t,y.inline.strong.color=t,n||(y.block.h3["border-bottom"]=`1px dashed ${t}`,y.block.blockquote["border-left"]=`4px solid ${t}`),y}function setColorWithCustomTemplate(e,t,n=!0){return createCustomTheme(e,t,n)}function setFontSizeWithTemplate(e){return function(t,n=!0){const y=JSON.parse(JSON.stringify(e));return n?(y.block.h1["font-size"]=`${t*1.2}px`,y.block.h2["font-size"]=`${t*1.2}px`,y.block.h3["font-size"]=`${t*1.1}px`,y.block.h4["font-size"]=`${t}px`):(y.block.h1["font-size"]=`${t*1.4}px`,y.block.h2["font-size"]=`${t*1.3}px`,y.block.h3["font-size"]=`${t*1.2}px`,y.block.h4["font-size"]=`${t*1.1}px`),y}}function setTheme(e,t,n,y){return setColorWithCustomTemplate(setFontSizeWithTemplate(e)(t,y),n,y)}function customCssWithTemplate(e,t,n){const y=createCustomTheme(n,t);return y.block.h1=Object.assign(y.block.h1,e.h1),y.block.h2=Object.assign(y.block.h2,e.h2),y.block.h3=Object.assign(y.block.h3,e.h3),y.block.h4=Object.assign(y.block.h4,e.h4),y.block.code=Object.assign(y.block.code,e.code),y.block.p=Object.assign(y.block.p,e.p),y.block.hr=Object.assign(y.block.hr,e.hr),y.block.blockquote=Object.assign(y.block.blockquote,e.blockquote),y.block.blockquote_p=Object.assign(y.block.blockquote_p,e.blockquote_p),y.block.image=Object.assign(y.block.image,e.image),y.inline.strong=Object.assign(y.inline.strong,e.strong),y.inline.codespan=Object.assign(y.inline.codespan,e.codespan),y.inline.link=Object.assign(y.inline.link,e.link),y.inline.wx_link=Object.assign(y.inline.wx_link,e.wx_link),y.block.ul=Object.assign(y.block.ul,e.ul),y.block.ol=Object.assign(y.block.ol,e.ol),y.inline.listitem=Object.assign(y.inline.listitem,e.li),y}function css2json(e){e=e.replace(/\/\*[\s\S]*?\*\//g,"");const t={},n=y=>y.reduce((k,L)=>{const[j,$]=L.split(":").map(V=>V.trim());return j&&(k[j]=$),k},{});for(;e.includes("{")&&e.includes("}");){const y=e.indexOf("{"),k=e.indexOf("}"),L=e.substring(y+1,k).split(";").map(V=>V.trim()).filter(Boolean),j=e.substring(0,y).split(",").map(V=>V.trim()),$=n(L);j.forEach(V=>{t[V]={...t[V]||{},...$}}),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 n=new Blob([e]);t.href=URL.createObjectURL(n),document.body.appendChild(t),t.click(),document.body.removeChild(t)}function exportHTML(){const e=document.querySelector("#output");k(e);const t=e.innerHTML,n=document.createElement("a");n.download="content.html",n.style.display="none";const y=new Blob([`<html><head><meta charset="utf-8" /></head><body><div style="width: 750px; margin: auto;">$
|
|||
|
`}return y}function toBase64(e){return new Promise((t,n)=>{const y=new FileReader;y.readAsDataURL(e),y.onload=()=>t(y.result.split(",").pop()),y.onerror=k=>n(k)})}function checkImage(e){if(!/\.(?:gif|jpe?g|png)$/i.test(e.name))return{ok:!1,msg:"请上传 JPG/PNG/GIF 格式的图片"};const n=10;return e.size>n*1024*1024?{ok:!1,msg:`由于公众号限制,图片大小不能超过 ${n}M`}:{ok:!0}}function removeLeft(e){const t=e.split(`
|
|||
|
`),n=t.filter(y=>y.trim()).map(y=>y.match(/(^\s+)?/)[0].length).sort((y,k)=>y-k)[0];return t.map(y=>y.slice(n)).join(`
|
|||
|
`)}function solveWeChatImage(){const t=document.getElementById("output").getElementsByTagName("img");for(let n=0;n<t.length;n++){const y=t[n],k=y.getAttribute("width"),L=y.getAttribute("height");y.removeAttribute("width"),y.removeAttribute("height"),y.style.width=k,y.style.height=L}}function mergeCss(e){return juice(e,{inlinePseudoElements:!0,preserveImportant:!0})}const defaultKeyMap=CodeMirror.keyMap.default,modPrefix=defaultKeyMap===CodeMirror.keyMap.macDefault?"Cmd":"Ctrl",useStore=defineStore("store",()=>{const e=useDark(),t=useToggle(e),n=useStorage("isMacCodeBlock",!0),y=useToggle(n),k=useStorage("isEditOnLeft",!0),L=useToggle(k),j=useStorage("isCiteStatus",!1),$=useToggle(j),V=ref$1(""),re=useStorage(addPrefix("theme"),themeOptions[0].value),z=useStorage("fonts",fontFamilyOptions[0].value),oe=useStorage("size",fontSizeOptions[2].value),ie=useStorage("color",colorOptions[0].value),le=useStorage("codeBlockTheme",codeBlockThemeOptions[2].value),ue=useStorage("legend",legendOptions[3].value),de=oe.value.replace("px",""),Ne=new WxRenderer({theme:setTheme(themeMap[re.value],de,ie.value,re.value==="default"),fonts:z.value,size:oe.value}),pe=ref$1(null),_e=useStorage("__editor_content",formatDoc(DEFAULT_CONTENT)),he=()=>{const _r=formatDoc(pe.value.getValue());_e.value=_r,pe.value.setValue(_r)},Ce=()=>{const _r=le.value,wr=document.querySelector("#hljs");if(wr)wr.setAttribute("href",_r);else{const Tr=document.createElement("link");Tr.setAttribute("type","text/css"),Tr.setAttribute("rel","stylesheet"),Tr.setAttribute("href",_r),Tr.setAttribute("id","hljs"),document.head.appendChild(Tr)}},Fe=()=>{Ce();const _r=Ne.getRenderer(j.value);marked.setOptions({renderer:_r});let wr=marked.parse(pe.value.getValue(0));wr=wr.replace(/(style=".*?)"/,'$1;margin-top: 0"'),j.value&&(wr+=Ne.buildFootnotes(),wr+=Ne.buildAddition()),n.value&&(wr+=`
|
|||
|
<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=wr},$e=ref$1(null),Lt=_r=>{$e.value.setValue(_r)},Et=useStorage("__css_content",DEFAULT_CSS_CONTENT),Ue=useStorage(addPrefix("css_content_config"),{active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:Et.value||DEFAULT_CSS_CONTENT}]}),qe=()=>Ue.value.tabs.find(_r=>_r.name===Ue.value.active),Ve=_r=>{Ue.value.active=_r;const wr=Ue.value.tabs.find(Tr=>Tr.name===_r).content;Lt(wr)},jt=_r=>{const wr=qe();wr.title=_r,wr.name=_r,Ue.value.active=_r},tr=_r=>{Ue.value.tabs.push({name:_r,title:_r,content:DEFAULT_CSS_CONTENT}),Ue.value.active=_r,Lt(DEFAULT_CSS_CONTENT)},ir=_r=>Ue.value.tabs.every(({name:wr})=>wr!==_r),rr=()=>{const _r=css2json($e.value.getValue());let wr=setTheme(themeMap[re.value],de,ie.value,re.value==="default");wr=customCssWithTemplate(_r,ie.value,wr),Ne.setOptions({theme:wr}),Fe()};onMounted(()=>{const _r=document.querySelector("#cssEditor");_r.value=qe().content,$e.value=markRaw(CodeMirror.fromTextArea(_r,{mode:"css",theme:"style-mirror",lineNumbers:!1,lineWrapping:!0,matchBrackets:!0,autofocus:!0,extraKeys:{[`${modPrefix}-F`]:function(Tr){const $r=formatCss(Tr.getValue());qe().content=$r,Tr.setValue($r)}}})),$e.value.on("keyup",(wr,Tr)=>{(Tr.keyCode>=65&&Tr.keyCode<=90||Tr.keyCode===189)&&wr.showHint(Tr)}),$e.value.on("update",()=>{rr(),qe().content=$e.value.getValue()})});const or=()=>{j.value=!1,n.value=!0,re.value=themeOptions[0].value,z.value=fontFamilyOptions[0].value,z.value=fontFamilyOptions[0].value,oe.value=fontSizeOptions[2].value,ie.value=colorOptions[0].value,le.value=codeBlockThemeOptions[2].value,ue.value=legendOptions[3].value,Ue.value={active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:Et.value||DEFAULT_CSS_CONTENT}]},$e.value.setValue(DEFAULT_CSS_CONTENT),rr(),Fe()},lr=_r=>(...wr)=>{_r(...wr),Fe()},hr=(_r,wr)=>{const Tr=setFontSizeWithTemplate(themeMap[re.value])(_r.replace("px",""),re.value==="default");return setColorWithCustomTemplate(Tr,wr,re.value==="default")},fr=lr(_r=>{Ne.setOptions({theme:setTheme(themeMap[_r],de,ie.value,_r==="default")}),re.value=_r}),vr=lr(_r=>{Ne.setOptions({fonts:_r}),z.value=_r}),Dr=lr(_r=>{const wr=hr(_r,ie.value);Ne.setOptions({size:_r,theme:wr}),oe.value=_r}),Sr=lr(_r=>{const wr=hr(oe.value,_r);Ne.setOptions({theme:wr}),ie.value=_r}),br=lr(_r=>{le.value=_r}),Cr=lr(_r=>{ue.value=_r}),Ir=lr(()=>{y()}),Ar=lr(()=>{$()}),dr=()=>{exportHTML(),document.querySelector("#output").innerHTML=V.value},cr=()=>{downloadMD(pe.value.getValue())},Rr=()=>{const _r=document.body,wr=document.createElement("input");wr.type="file",wr.name="filename",wr.accept=".md",wr.onchange=()=>{const Tr=wr.files[0];if(!Tr)return;const $r=new FileReader;$r.readAsText(Tr),$r.onload=Fr=>{pe.value.setValue(formatDoc(Fr.target.result)),ElMessage.success("文档导入成功")}},_r.appendChild(wr),wr.click(),_r.removeChild(wr)},Pr=()=>{ElMessageBox.confirm("此操作将丢失本地自定义样式,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",center:!0}).then(()=>{or(),ElMessage({type:"success",message:"样式重置成功~"})}).catch(()=>{pe.value.focus()})},Mr=ref$1(!1),jr=useToggle(Mr),mr=ref$1(!1),gr=useToggle(mr),xr=ref$1(!1),pr=useToggle(xr);return{isShowCssEditor:Mr,toggleShowCssEditor:jr,isShowInsertFormDialog:mr,toggleShowInsertFormDialog:gr,isShowUploadImgDialog:xr,toggleShowUploadImgDialog:pr,isDark:e,toggleDark:t,isEditOnLeft:k,toggleEditOnLeft:L,isMacCodeBlock:n,isCiteStatus:j,citeStatusChanged:Ar,output:V,editor:pe,cssEditor:$e,theme:re,fontFamily:z,fontSize:oe,fontColor:ie,codeBlockTheme:le,legend:ue,editorRefresh:Fe,themeChanged:fr,fontChanged:vr,sizeChanged:Dr,colorChanged:Sr,codeBlockThemeChanged:br,legendChanged:Cr,macCodeBlockChanged:Ir,formatContent:he,exportEditorContent2HTML:dr,exportEditorContent2MD:cr,importMarkdownContent:Rr,resetStyleConfirm:Pr,editorContent:_e,cssContentConfig:Ue,addCssContentTab:tr,validatorTabName:ir,setCssEditorValue:Lt,tabChanged:Ve,renameTab:jt}}),Store=createPinia(),ElementPlus={install(e){e.use(installer,{size:"default"}),e.config.globalProperties.$loading
|
|||
|
(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(y){var k=n,L=k.lib,j=L.WordArray,$=L.Hasher,V=k.algo,re=j.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]),z=j.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]),oe=j.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]),ie=j.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]),le=j.create([0,1518500249,1859775393,2400959708,2840853838]),ue=j.create([1352829926,1548603684,1836072691,2053994217,0]),de=V.RIPEMD160=$.extend({_doReset:function(){this._hash=j.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function($e,Lt){for(var Et=0;Et<16;Et++){var Ue=Lt+Et,qe=$e[Ue];$e[Ue]=(qe<<8|qe>>>24)&16711935|(qe<<24|qe>>>8)&4278255360}var Ve=this._hash.words,jt=le.words,tr=ue.words,ir=re.words,rr=z.words,or=oe.words,lr=ie.words,hr,fr,vr,Dr,Sr,br,Cr,Ir,Ar,dr;br=hr=Ve[0],Cr=fr=Ve[1],Ir=vr=Ve[2],Ar=Dr=Ve[3],dr=Sr=Ve[4];for(var cr,Et=0;Et<80;Et+=1)cr=hr+$e[Lt+ir[Et]]|0,Et<16?cr+=Ne(fr,vr,Dr)+jt[0]:Et<32?cr+=pe(fr,vr,Dr)+jt[1]:Et<48?cr+=_e(fr,vr,Dr)+jt[2]:Et<64?cr+=he(fr,vr,Dr)+jt[3]:cr+=Ce(fr,vr,Dr)+jt[4],cr=cr|0,cr=Fe(cr,or[Et]),cr=cr+Sr|0,hr=Sr,Sr=Dr,Dr=Fe(vr,10),vr=fr,fr=cr,cr=br+$e[Lt+rr[Et]]|0,Et<16?cr+=Ce(Cr,Ir,Ar)+tr[0]:Et<32?cr+=he(Cr,Ir,Ar)+tr[1]:Et<48?cr+=_e(Cr,Ir,Ar)+tr[2]:Et<64?cr+=pe(Cr,Ir,Ar)+tr[3]:cr+=Ne(Cr,Ir,Ar)+tr[4],cr=cr|0,cr=Fe(cr,lr[Et]),cr=cr+dr|0,br=dr,dr=Ar,Ar=Fe(Ir,10),Ir=Cr,Cr=cr;cr=Ve[1]+vr+Ar|0,Ve[1]=Ve[2]+Dr+dr|0,Ve[2]=Ve[3]+Sr+br|0,Ve[3]=Ve[4]+hr+Cr|0,Ve[4]=Ve[0]+fr+Ir|0,Ve[0]=cr},_doFinalize:function(){var $e=this._data,Lt=$e.words,Et=this._nDataBytes*8,Ue=$e.sigBytes*8;Lt[Ue>>>5]|=128<<24-Ue%32,Lt[(Ue+64>>>9<<4)+14]=(Et<<8|Et>>>24)&16711935|(Et<<24|Et>>>8)&4278255360,$e.sigBytes=(Lt.length+1)*4,this._process();for(var qe=this._hash,Ve=qe.words,jt=0;jt<5;jt++){var tr=Ve[jt];Ve[jt]=(tr<<8|tr>>>24)&16711935|(tr<<24|tr>>>8)&4278255360}return qe},clone:function(){var $e=$.clone.call(this);return $e._hash=this._hash.clone(),$e}});function Ne($e,Lt,Et){return $e^Lt^Et}function pe($e,Lt,Et){return $e&Lt|~$e&Et}function _e($e,Lt,Et){return($e|~Lt)^Et}function he($e,Lt,Et){return $e&Et|Lt&~Et}function Ce($e,Lt,Et){return $e^(Lt|~Et)}function Fe($e,Lt){return $e<<Lt|$e>>>32-Lt}k.RIPEMD160=$._createHelper(de),k.HmacRIPEMD160=$._createHmacHelper(de)}(),n.RIPEMD160})}(ripemd160)),ripemd160.exports}var hmac={exports:{}},hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,function(e,t){(function(n,y){e.exports=y(requireCore())})(commonjsGlobal,function(n){(function(){var y=n,k=y.lib,L=k.Base,j=y.enc,$=j.Utf8,V=y.algo;V.HMAC=L.extend({init:function(re,z){re=this._hasher=new re.init,typeof z=="string"&&(z=$.parse(z));var oe=re.blockSize,ie=oe*4;z.sigBytes>ie&&(z=re.finalize(z)),z.clamp();for(var le=this._oKey=z.clone(),ue=this._iKey=z.clone(),de=le.words,Ne=ue.words,pe=0;pe<oe;pe++)de[pe]^=1549556828,Ne[pe]^=909522486;le.sigBytes=ue.sigBytes=ie,this.reset()},reset:function(){var re=this._hasher;re.reset(),re.update(this._iKey)},update:function(re){return this._hasher.update(re),this},finalize:function(re){var z=this._hasher,oe=z.finalize(re);z.reset();var ie=z.finalize(this._oKey.clone().concat(oe));return ie}})})()})}(hmac)),hmac.exports}var pbkdf2={exports:{}},hasRequiredPbkdf2;function requirePbkdf2(){return hasRequiredPbkdf2||(hasRequiredPbkdf2=1,function(e,t){(function(n,y,k){e.exports=y(requireCore(),requireSha256(),requireHmac())})(commonjsGlobal,function(n){return function(){var y=n,k=y.lib,L=k.Base,j=k.WordArray,$=y.algo,V=$.SHA256
|
|||
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|||
|
* derived from CryptoJS.mode.CTR
|
|||
|
* Jan Hruby jhruby.web@gmail.com
|
|||
|
*/return n.mode.CTRGladman=function(){var y=n.lib.BlockCipherMode.extend();function k($){if(($>>24&255)===255){var V=$>>16&255,re=$>>8&255,z=$&255;V===255?(V=0,re===255?(re=0,z===255?z=0:++z):++re):++V,$=0,$+=V<<16,$+=re<<8,$+=z}else $+=1<<24;return $}function L($){return($[0]=k($[0]))===0&&($[1]=k($[1])),$}var j=y.Encryptor=y.extend({processBlock:function($,V){var re=this._cipher,z=re.blockSize,oe=this._iv,ie=this._counter;oe&&(ie=this._counter=oe.slice(0),this._iv=void 0),L(ie);var le=ie.slice(0);re.encryptBlock(le,0);for(var ue=0;ue<z;ue++)$[V+ue]^=le[ue]}});return y.Decryptor=j,y}(),n.mode.CTRGladman})}(modeCtrGladman)),modeCtrGladman.exports}var modeOfb={exports:{}},hasRequiredModeOfb;function requireModeOfb(){return hasRequiredModeOfb||(hasRequiredModeOfb=1,function(e,t){(function(n,y,k){e.exports=y(requireCore(),requireCipherCore())})(commonjsGlobal,function(n){return n.mode.OFB=function(){var y=n.lib.BlockCipherMode.extend(),k=y.Encryptor=y.extend({processBlock:function(L,j){var $=this._cipher,V=$.blockSize,re=this._iv,z=this._keystream;re&&(z=this._keystream=re.slice(0),this._iv=void 0),$.encryptBlock(z,0);for(var oe=0;oe<V;oe++)L[j+oe]^=z[oe]}});return y.Decryptor=k,y}(),n.mode.OFB})}(modeOfb)),modeOfb.exports}var modeEcb={exports:{}},hasRequiredModeEcb;function requireModeEcb(){return hasRequiredModeEcb||(hasRequiredModeEcb=1,function(e,t){(function(n,y,k){e.exports=y(requireCore(),requireCipherCore())})(commonjsGlobal,function(n){return n.mode.ECB=function(){var y=n.lib.BlockCipherMode.extend();return y.Encryptor=y.extend({processBlock:function(k,L){this._cipher.encryptBlock(k,L)}}),y.Decryptor=y.extend({processBlock:function(k,L){this._cipher.decryptBlock(k,L)}}),y}(),n.mode.ECB})}(modeEcb)),modeEcb.exports}var padAnsix923={exports:{}},hasRequiredPadAnsix923;function requirePadAnsix923(){return hasRequiredPadAnsix923||(hasRequiredPadAnsix923=1,function(e,t){(function(n,y,k){e.exports=y(requireCore(),requireCipherCore())})(commonjsGlobal,function(n){return n.pad.AnsiX923={pad:function(y,k){var L=y.sigBytes,j=k*4,$=j-L%j,V=L+$-1;y.clamp(),y.words[V>>>2]|=$<<24-V%4*8,y.sigBytes+=$},unpad:function(y){var k=y.words[y.sigBytes-1>>>2]&255;y.sigBytes-=k}},n.pad.Ansix923})}(padAnsix923)),padAnsix923.exports}var padIso10126={exports:{}},hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(e,t){(function(n,y,k){e.exports=y(requireCore(),requireCipherCore())})(commonjsGlobal,function(n){return n.pad.Iso10126={pad:function(y,k){var L=k*4,j=L-y.sigBytes%L;y.concat(n.lib.WordArray.random(j-1)).concat(n.lib.WordArray.create([j<<24],1))},unpad:function(y){var k=y.words[y.sigBytes-1>>>2]&255;y.sigBytes-=k}},n.pad.Iso10126})}(padIso10126)),padIso10126.exports}var padIso97971={exports:{}},hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(e,t){(function(n,y,k){e.exports=y(requireCore(),requireCipherCore())})(commonjsGlobal,function(n){return n.pad.Iso97971={pad:function(y,k){y.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(y,k)},unpad:function(y){n.pad.ZeroPadding.unpad(y),y.sigBytes--}},n.pad.Iso97971})}(padIso97971)),padIso97971.exports}var padZeropadding={exports:{}},hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(e,t){(function(n,y,k){e.exports=y(requireCore(),requireCipherCore())})(commonjsGlobal,function(n){return n.pad.ZeroPadding={pad:function(y,k){var L=k*4;y.clamp(),y.sigBytes+=L-(y.sigBytes%L||L)},unpad:function(y){for(var k=y.words,L=y.sigBytes-1,L=y.sigBytes-1;L>=0;L--)if(k[L>>>2]>>>24-L%4*8&255){y.sigBytes=L+1;break}}},n.pad.ZeroPadding})}(padZeropadding)),padZeropadding.exports}var padNopadding={exports:{}},hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(e,t){(function(n,y,k){e.exports=y(requireCore(),requireCipherCore())})(commonjsGlobal,function(n){return n.pad.NoPadding={pad:function(){},unpad:functi
|
|||
|
<BucketLoggingStatus>
|
|||
|
<LoggingEnabled>
|
|||
|
<TargetBucket>`.concat(_e,`</TargetBucket>
|
|||
|
`),he&&($e+="<TargetPrefix>".concat(he,`</TargetPrefix>
|
|||
|
`)),$e+=`</LoggingEnabled>
|
|||
|
</BucketLoggingStatus>`,Fe.content=$e,Fe.mime="xml",Fe.successStatuses=[200],Ue.next=9,this.request(Fe);case 9:return Lt=Ue.sent,Ue.abrupt("return",{res:Lt.res});case 11:case"end":return Ue.stop()}},pe,this)}));function Ne(pe,_e,he){return de.apply(this,arguments)}return Ne}(),ie.getBucketLogging=function(){var de=(0,V.default)($.default.mark(function pe(_e,he){var Ce,Fe,$e;return $.default.wrap(function(Et){for(;;)switch(Et.prev=Et.next){case 0:return Ce=this._bucketRequestParams("GET",_e,"logging",he),Ce.successStatuses=[200],Ce.xmlResponse=!0,Et.next=5,this.request(Ce);case 5:return Fe=Et.sent,$e=Fe.data.LoggingEnabled,Et.abrupt("return",{enable:!!$e,prefix:$e&&$e.TargetPrefix||null,res:Fe.res});case 8:case"end":return Et.stop()}},pe,this)}));function Ne(pe,_e){return de.apply(this,arguments)}return Ne}(),ie.deleteBucketLogging=function(){var de=(0,V.default)($.default.mark(function pe(_e,he){var Ce,Fe;return $.default.wrap(function(Lt){for(;;)switch(Lt.prev=Lt.next){case 0:return Ce=this._bucketRequestParams("DELETE",_e,"logging",he),Ce.successStatuses=[204,200],Lt.next=4,this.request(Ce);case 4:return Fe=Lt.sent,Lt.abrupt("return",{res:Fe.res});case 6:case"end":return Lt.stop()}},pe,this)}));function Ne(pe,_e){return de.apply(this,arguments)}return Ne}(),ie.putBucketCORS=function(){var de=(0,V.default)($.default.mark(function pe(_e,he,Ce){var Fe,$e,Lt,Et,Ue,qe,Ve,jt,tr,ir;return $.default.wrap(function(or){for(;;)switch(or.prev=or.next){case 0:for(he=he||[],re(he.length,"rules is required"),he.forEach(function(lr){re(lr.allowedOrigin,"allowedOrigin is required"),re(lr.allowedMethod,"allowedMethod is required")}),Fe=this._bucketRequestParams("PUT",_e,"cors",Ce),$e=`<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
<CORSConfiguration>`,Lt=function(hr){$e+="<AllowedOrigin>".concat(hr,"</AllowedOrigin>")},Et=function(hr){$e+="<AllowedMethod>".concat(hr,"</AllowedMethod>")},Ue=function(hr){$e+="<AllowedHeader>".concat(hr,"</AllowedHeader>")},qe=function(hr){$e+="<ExposeHeader>".concat(hr,"</ExposeHeader>")},Ve=0,jt=he.length;Ve<jt;Ve++)tr=he[Ve],$e+="<CORSRule>",ue(tr.allowedOrigin).forEach(Lt),ue(tr.allowedMethod).forEach(Et),ue(tr.allowedHeader).forEach(Ue),ue(tr.exposeHeader).forEach(qe),tr.maxAgeSeconds&&($e+="<MaxAgeSeconds>".concat(tr.maxAgeSeconds,"</MaxAgeSeconds>")),$e+="</CORSRule>";return $e+="</CORSConfiguration>",Fe.content=$e,Fe.mime="xml",Fe.successStatuses=[200],or.next=16,this.request(Fe);case 16:return ir=or.sent,or.abrupt("return",{res:ir.res});case 18:case"end":return or.stop()}},pe,this)}));function Ne(pe,_e,he){return de.apply(this,arguments)}return Ne}(),ie.getBucketCORS=function(){var de=(0,V.default)($.default.mark(function pe(_e,he){var Ce,Fe,$e,Lt;return $.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:return Ce=this._bucketRequestParams("GET",_e,"cors",he),Ce.successStatuses=[200],Ce.xmlResponse=!0,Ue.next=5,this.request(Ce);case 5:return Fe=Ue.sent,$e=[],Fe.data&&Fe.data.CORSRule&&(Lt=Fe.data.CORSRule,le(Lt)||(Lt=[Lt]),Lt.forEach(function(qe){var Ve={};Object.keys(qe).forEach(function(jt){Ve[jt.slice(0,1).toLowerCase()+jt.slice(1,jt.length)]=qe[jt]}),$e.push(Ve)})),Ue.abrupt("return",{rules:$e,res:Fe.res});case 9:case"end":return Ue.stop()}},pe,this)}));function Ne(pe,_e){return de.apply(this,arguments)}return Ne}(),ie.deleteBucketCORS=function(){var de=(0,V.default)($.default.mark(function pe(_e,he){var Ce,Fe;return $.default.wrap(function(Lt){for(;;)switch(Lt.prev=Lt.next){case 0:return Ce=this._bucketRequestParams("DELETE",_e,"cors",he),Ce.successStatuses=[204],Lt.next=4,this.request(Ce);case 4:return Fe=Lt.sent,Lt.abrupt("return",{res:Fe.res});case 6:case"end":return Lt.stop()}},pe,this)}));function Ne(pe,_e){return de.apply(this,arguments)}return Ne}(),ie.putBucketReferer=function(){var de=(0,V.default)($.default.mark(function pe(_e,he,Ce,Fe){var $e,Lt,Et,Ue;return $.default.wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if($e=this._bucketRequestParams("PUT",_e,"referer",Fe),Lt=`<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
<RefererConfiguration>
|
|||
|
`,Lt+=" <AllowEmptyReferer>".concat(he?"true":"false",`</AllowEmptyReferer>
|
|||
|
`),Ce&&Ce.length>0){for(Lt+=` <RefererList>
|
|||
|
`,Et=0;Et<Ce.length;Et++)Lt+=" <Referer>".concat(Ce[Et],`</Referer>
|
|||
|
`);Lt+=` </RefererList>
|
|||
|
`}else Lt+=` <RefererList />
|
|||
|
`;return Lt+="</RefererConfiguration>",$e.content=Lt,$e.mime="xml",$e.successStatuses=[200],Ve.next=10,this.request($e);case 10:return Ue=Ve.sent,Ve.abrupt("return",{res:Ue.res});case 12:case"end":return Ve.stop()}},pe,this)}));function Ne(pe,_e,he,Ce){return de.apply(this,arguments)}return Ne}(),ie.getBucketReferer=function(){var de=(0,V.default)($.default.mark(function pe(_e,he){var Ce,Fe,$e;return $.default.wrap(function(Et){for(;;)switch(Et.prev=Et.next){case 0:return Ce=this._bucketRequestParams("GET",_e,"referer",he),Ce.successStatuses=[200],Ce.xmlResponse=!0,Et.next=5,this.request(Ce);case 5:return Fe=Et.sent,$e=Fe.data.RefererList.Referer||null,$e&&(le($e)||($e=[$e])),Et.abrupt("return",{allowEmpty:Fe.data.AllowEmptyReferer==="true",referers:$e,res:Fe.res});case 9:case"end":return Et.stop()}},pe,this)}));function Ne(pe,_e){return de.apply(this,arguments)}return Ne}(),ie.deleteBucketReferer=function(){var de=(0,V.default)($.default.mark(function pe(_e,he){return $.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return Fe.next=2,this.putBucketReferer(_e,!0,null,he);case 2:return Fe.abrupt("return",Fe.sent);case 3:case"end":return Fe.stop()}},pe,this)}));function Ne(pe,_e){return de.apply(this,arguments)}return Ne}(),ie._bucketRequestParams=function(Ne,pe,_e,he){return{method:Ne,bucket:pe,subres:_e,additionalHeaders:he&&he.additionalHeaders,timeout:he&&he.timeout,ctx:he&&he.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(y,k,L){(function(j,$){(function(){var V=y("@babel/runtime/helpers/interopRequireDefault"),re=V(y("@babel/runtime/regenerator")),z=V(y("@babel/runtime/helpers/asyncToGenerator"));y("core-js/modules/es.function.name.js"),y("core-js/modules/es.object.assign.js"),y("core-js/modules/es.array.includes.js"),y("core-js/modules/es.regexp.exec.js"),y("core-js/modules/es.string.replace.js"),y("core-js/modules/es.array.concat.js"),y("core-js/modules/es.symbol.js"),y("core-js/modules/es.symbol.description.js"),y("core-js/modules/es.array.slice.js"),y("core-js/modules/es.object.to-string.js"),y("core-js/modules/es.promise.js"),y("core-js/modules/es.regexp.to-string.js");var oe=y("debug")("ali-oss"),ie=y("xml2js"),le=y("agentkeepalive"),ue=y("merge-descriptors"),de=y("platform"),Ne=y("utility"),pe=y("urllib"),_e=y("./version"),he=y("bowser"),Ce=y("../common/signUtils"),Fe=y("../common/client/initOptions"),$e=y("../common/utils/createRequest"),Lt=$e.createRequest,Et=y("../common/utils/encoder"),Ue=Et.encoder,qe=y("../common/client/getReqUrl"),Ve=qe.getReqUrl,jt=y("../common/utils/setSTSToken"),tr=jt.setSTSToken,ir=y("../common/utils/retry"),rr=ir.retry,or=y("../common/utils/isFunction"),lr=or.isFunction,hr=y("../common/utils/getStandardRegion"),fr=hr.getStandardRegion,vr=new le;function Dr(){var dr=de.name,cr=de.version;dr&&dr.toLowerCase&&dr.toLowerCase()==="ie"&&cr.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Sr(){return location&&location.protocol==="https:"}function br(dr,cr){if(Dr(),!(this instanceof br))return new br(dr,cr);dr&&dr.inited?this.options=dr:this.options=br.initOptions(dr),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=pe,this.agent=this.options.agent||vr),this.ctx=cr,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}k.exports=br,br.initOptions=function(cr){cr.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var Rr=Object.assign({secure:Sr(),useFetch:!1},cr);return Fe(Rr)};var Cr=br.prototype;Cr.debug=oe,ue(Cr,y("./object")),ue(Cr,y("./bucket")),ue(Cr,y("../common/bucket/getBucketWebsite")),ue(Cr,y("..
|
|||
|
raw xml: `.concat(Fr),Hi.t1.status=Pr.status,Hi.t1.requestId=Pr.headers["x-oss-request-id"],Hi.abrupt("return",Hi.t1);case 16:kr=yr.Message||"unknow request error, status: ".concat(Pr.status),yr.Condition&&(kr+=" (condition: ".concat(yr.Condition,")")),jr=new Error(kr),jr.name=yr.Code?"".concat(yr.Code,"Error"):"UnknownError",jr.status=Pr.status,jr.code=yr.Code,jr.ecCode=yr.EC,jr.requestId=yr.RequestId,jr.hostId=yr.HostId,jr.serverTime=yr.ServerTime;case 26:case"end":return Hi.stop()}},$r,null,[[0,9]])}));return function(Fr){return Tr.apply(this,arguments)}}(),!(!Pr.data||!Pr.data.length)){wr.next=37;break}if(!(Pr.status===-1||Pr.status===-2)){wr.next=10;break}jr=new Error(Pr.message),jr.name=Pr.name,jr.status=Pr.status,jr.code=Pr.name,wr.next=35;break;case 10:if(Pr.status!==404){wr.next=17;break}jr=new Error("Object not exists"),jr.name="NoSuchKeyError",jr.status=404,jr.code="NoSuchKey",wr.next=33;break;case 17:if(Pr.status!==412){wr.next=24;break}jr=new Error("Pre condition failed"),jr.name="PreconditionFailedError",jr.status=412,jr.code="PreconditionFailed",wr.next=33;break;case 24:if(jr=new Error("Unknow error, status: ".concat(Pr.status)),jr.name="UnknownError",jr.status=Pr.status,jr.res=Pr,gr=Pr.headers["x-oss-err"],!gr){wr.next=33;break}return xr=atob(gr),wr.next=33,mr(xr);case 33:jr.requestId=Pr.headers["x-oss-request-id"],jr.host="";case 35:wr.next=41;break;case 37:return pr=String(Pr.data),this.debug("request response error data: %s",pr,"error"),wr.next=41,mr(pr);case 41:return this.debug("generate error %j",jr,"error"),wr.abrupt("return",jr);case 43:case"end":return wr.stop()}},Rr,this)}));function cr(Rr){return dr.apply(this,arguments)}return cr}()}).call(this)}).call(this,{isBuffer:y("../../node_modules/is-buffer/index.js")},y("_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(y,k,L){(function(j){(function(){var $=y("@babel/runtime/helpers/interopRequireDefault"),V=$(y("@babel/runtime/regenerator"));y("core-js/modules/es.function.name.js"),y("core-js/modules/es.object.to-string.js"),y("core-js/modules/es.promise.js"),y("core-js/modules/es.array.from.js"),y("core-js/modules/es.string.iterator.js"),y("core-js/modules/es.array.map.js"),y("core-js/modules/es.ar
|
|||
|
<CompleteMultipartUpload>
|
|||
|
`,jt=0;jt<qe.length;jt++)tr=qe[jt],Ve+=`<Part>
|
|||
|
`,Ve+="<PartNumber>".concat(tr.number,`</PartNumber>
|
|||
|
`),Ve+="<ETag>".concat(tr.etag,`</ETag>
|
|||
|
`),Ve+=`</Part>
|
|||
|
`;return Ve+="</CompleteMultipartUpload>",Ue=Ue||{},ir={},ir=le(Ue,function(vr){if(de(vr))return null}),ir.subres={uploadId:Lt},ir.headers=pe(ir.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),rr=this._objectRequestParams("POST",$e,ir),oe.encodeCallback(rr,ir),rr.mime="xml",rr.content=Ve,rr.headers&&rr.headers["x-oss-callback"]||(rr.xmlResponse=!0),rr.successStatuses=[200],fr.next=17,this.request(rr);case 17:if(or=fr.sent,!Ue.progress){fr.next=21;break}return fr.next=21,Ue.progress(1,null,or.res);case 21:return lr={res:or.res,bucket:rr.bucket,name:$e,etag:or.res.headers.etag},rr.headers&&rr.headers["x-oss-callback"]&&(lr.data=JSON.parse(or.data.toString())),fr.abrupt("return",lr);case 24:case"end":return fr.stop()}},Fe,this)}));function Ce(Fe,$e,Lt,Et){return he.apply(this,arguments)}return Ce}(),_e._uploadPart=function(){var he=(0,re.default)(V.default.mark(function Fe($e,Lt,Et,Ue,qe){var Ve,jt,tr,ir;return V.default.wrap(function(or){for(;;)switch(or.prev=or.next){case 0:return qe=qe||{},Ve={},z(qe).to(Ve),Ve.headers=Ve.headers||{},Ve.headers["Content-Length"]=Ue.size,Ve.headers=pe(Ve.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ve.subres={partNumber:Et,uploadId:Lt},jt=this._objectRequestParams("PUT",$e,Ve),jt.mime=Ve.mime,tr=j&&j.browser,tr?jt.content=Ue.content:jt.stream=Ue.stream,jt.successStatuses=[200],jt.disabledMD5=qe.disabledMD5,or.next=15,this.request(jt);case 15:if(ir=or.sent,ir.res.headers.etag){or.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,jt.stream=null),or.abrupt("return",{name:$e,etag:ir.res.headers.etag,res:ir.res});case 20:case"end":return or.stop()}},Fe,this)}));function Ce(Fe,$e,Lt,Et,Ue){return he.apply(this,arguments)}return Ce}()}).call(this)}).call(this,y("_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(y,k,L){var j=y("@babel/runtime/helpers/interopRequireDefault"),$=j(y("@babel/runtime/regenerator"));y("core-js/modules/es.regexp.exec.js");var V=j(y("@babel/runtime/helpers/asyncToGenerator")),re=y("url"),z=y("utility"),oe=y("copy-to"),ie=y("../../common/signUtils"),le=y("../utils/isIP"),ue=le.isIP,de=y("../utils/setSTSToken"),Ne=de.setSTSToken,pe=y("../utils/isFunction"),_e=pe.isFunction,he=L;he.asyncSignatureUrl=function(){var Ce=(0,V.default)($.default.mark(function $e(Lt,Et){var Ue,qe,Ve,jt,tr,ir,rr=arguments;return $.default.wrap(function(lr){for(;;)switch(lr.prev=lr.next){case 0:if(Ue=rr.length>2&&rr[2]!==void 0?rr[2]:!0,!ue(this.options.endpoint.hostname)){lr.next=3;break}throw new Error("can not get the object URL when endpoint is IP");case 3:if(!(Ue&&/^\?/.test(Lt))){lr.next=5;break}throw new Error("Invalid object name ".concat(Lt));case 5:if(Et=Et||{},Lt=this._objectName(Lt),Et.method=Et.method||"GET",qe=z.timestamp()+(Et.expires||1800),Ve={bucket:this.options.bucket,object:Lt},jt=this._getResource(Ve),!(this.options.stsToken&&_e(this.options.refreshSTSToken))){lr.next=14;break}return lr.next=14,Ne.call(this);case 14:return this.options.stsToken&&(Et["security-token"]=this.options.stsToken),tr=ie._signatureForURL(this.options.accessKeySecret,Et,jt,qe),ir=re.parse(this._getReqUrl(Ve)),ir.query={OSSAccessKeyId:this.options.accessKeyId,Expires:qe,Signature:tr.Signature},oe(tr.subResource).to(ir.query),lr.abrupt("return",ir.format());case 20:case"end":return lr.stop()}},$e,this)}));function Fe($e,Lt){return Ce.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(y,k,L){var j=y("@babel/runtime/helpers/interopRequireDefault"),$=j(y("@babel/runtime/regenerator"));y("core-js/modules/es.object.to-string.js"),y("core-js/modules/web.dom-collections.for-each.js"),y("core-js/modules/es.object.keys.js"),y("core-js/modules/es.array.find.js"),y("core-js/modules/es.array.includes.js"),y("core-js/modules/es.array.concat.js"),y("core-js/modules/es.regexp.exec.js"),y("core-js/modules/es.string.replace.js");var V=j(y("@babel/runtime/helpers/typeof")),re=j(y("@babel/runtime/helpers/asyncToGenerator")),z=y("../utils/checkBucketName"),oe=z.checkBucketName,ie=L,le=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];ie.copy=function(){var ue=(0,re.default)($.default.mark(function Ne(pe,_e,he,Ce){var Fe,$e,Lt;return $.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:return(0,V.default)(he)==="object"&&(Ce=he),Ce=Ce||{},Ce.headers=Ce.headers||{},Object.keys(Ce.headers).forEach(function(qe){Ce.headers["x-oss-copy-source-".concat(qe.toLowerCase())]=Ce.headers[qe]}),(Ce.meta||Object.keys(Ce.headers).find(function(qe){return le.includes(qe.toLowerCase())}))&&(Ce.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(Ce.meta,Ce.headers),_e=this._getSourceName(_e,he),Ce.versionId&&(_e="".concat(_e,"?version
|
|||
|
`)},L.computeSignature=function(pe,_e){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",Ce=re.createHmac("sha1",pe);return Ce.update(j.from(_e,he)).digest("base64")},L.authorization=function(pe,_e,he,Ce){return"OSS ".concat(pe,":").concat(this.computeSignature(_e,he,Ce))},L.fixAdditionalHeaders=function(Ne){if(!Ne)return[];var pe="x-oss-";return(0,V.default)(new Set(Ne.map(function(_e){return _e.toLowerCase()}))).filter(function(_e){return _e!=="content-type"&&_e!=="content-md5"&&!_e.startsWith(pe)}).sort()},L.getCanonicalRequest=function(pe,_e,he,Ce,Fe){var $e=le(_e.headers),Lt=_e.queries||{},Et="x-oss-";if(Ce&&!he)throw Error("Please ensure that bucketName is passed into getCanonicalRequest.");var Ue=[pe.toUpperCase(),de("/".concat(he?"".concat(he,"/"):"").concat(Ce||"")).replace(/%2F/g,"/")];Ue.push(oe.stringify(Lt,{encoder:de,sort:function(tr,ir){return tr.localeCompare(ir)},strictNullHandling:!0})),Fe&&Fe.forEach(function(jt){if(!Object.prototype.hasOwnProperty.call($e,jt))throw Error("Can't find additional header ".concat(jt," in request headers."))});var qe=new Set(Fe);Object.keys($e).forEach(function(jt){(jt==="content-type"||jt==="content-md5"||jt.startsWith(Et))&&qe.add(jt)});var Ve="".concat((0,V.default)(qe).sort().map(function(jt){return"".concat(jt,":").concat(z.string($e[jt])?$e[jt].trim():$e[jt],`
|
|||
|
`)}).join(""));return Ue.push(Ve),Fe.length>0?Ue.push(Fe.join(";")):Ue.push(""),Ue.push($e["x-oss-content-sha256"]||"UNSIGNED-PAYLOAD"),Ue.join(`
|
|||
|
`)},L.getStringToSign=function(pe,_e,he){var Ce=["OSS4-HMAC-SHA256",_e,"".concat(_e.split("T")[0],"/").concat(pe,"/oss/aliyun_v4_request"),re.createHash("sha256").update(he).digest("hex")];return Ce.join(`
|
|||
|
`)},L.getSignatureV4=function(pe,_e,he,Ce){var Fe=re.createHmac("sha256","aliyun_v4".concat(pe)).update(_e).digest(),$e=re.createHmac("sha256",Fe).update(he).digest(),Lt=re.createHmac("sha256",$e).update("oss").digest(),Et=re.createHmac("sha256",Lt).update("aliyun_v4_request").digest(),Ue=re.createHmac("sha256",Et).update(Ce).digest("hex");return Ue},L.authorizationV4=function(pe,_e,he,Ce,Fe,$e,Lt,Et){var Ue=arguments.length>8&&arguments[8]!==void 0?arguments[8]:"utf-8",qe=this.fixAdditionalHeaders(Et),Ve={};Object.entries(Fe.headers).forEach(function(hr){Ve[hr[0]]=z.string(hr[1])?j.from(hr[1],Ue).toString():hr[1]});var jt=Ve["x-oss-date"]||Fe.queries&&Fe.queries["x-oss-date"],tr=this.getCanonicalRequest(Ce,{headers:Ve,queries:Fe.queries},$e,Lt,qe),ir=this.getStringToSign(he,jt,tr),rr=jt.split("T")[0],or=this.getSignatureV4(_e,rr,he,ir),lr=qe.length>0?"AdditionalHeaders=".concat(qe.join(";"),","):"";return"OSS4-HMAC-SHA256 Credential=".concat(pe,"/").concat(rr,"/").concat(he,"/oss/aliyun_v4_request,").concat(lr,"Signature=").concat(or)},L._signatureForURL=function(pe){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=arguments.length>2?arguments[2]:void 0,Ce=arguments.length>3?arguments[3]:void 0,Fe=arguments.length>4?arguments[4]:void 0,$e={},Lt=_e.subResource,Et=Lt===void 0?{}:Lt;if(_e.process){var Ue="x-oss-process";Et[Ue]=_e.process}if(_e.trafficLimit){var qe="x-oss-traffic-limit";Et[qe]=_e.trafficLimit}if(_e.response&&Object.keys(_e.response).forEach(function(ir){var rr="response-".concat(ir.toLowerCase());Et[rr]=_e.response[ir]}),Object.keys(_e).forEach(function(ir){var rr=ir.toLowerCase(),or=_e[ir];rr.indexOf("x-oss-")===0?$e[rr]=or:(rr.indexOf("content-md5")===0||rr.indexOf("content-type")===0)&&($e[ir]=or)}),Object.prototype.hasOwnProperty.call(_e,"security-token")&&(Et["security-token"]=_e["security-token"]),Object.prototype.hasOwnProperty.call(_e,"callback")){var Ve={callbackUrl:encodeURI(_e.callback.url),callbackBody:_e.callback.body};if(_e.callback.host&&(Ve.callbackHost=_e.callback.host),_e.callback.contentType&&(Ve.callbackBodyType=_e.callback.contentType),_e.callback.callbackSNI&&(Ve.callbackSNI=_e.callback.callbackSNI),Et.callback=j.from(JSON.stringify(Ve)).toString("base64"),_e.callback.customValue){var jt={};Object.keys(_e.callback.customValue).forEach(function(ir){jt["x:".concat(ir)]=_e.callback.customValue[ir]}),Et["callback-var"]=j.from(JSON.stringify(jt)).toString("base64")}}var tr=this.buildCanonicalString(_e.method,he,{headers:$e,parameters:Et},Ce.toString());return{Signature:this.computeSignature(pe,tr,Fe),subResource:Et}}}).call(this)}).call(this,y("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(y,k,L){y("core-js/modules/es.regexp.exec.js"),Object.defineProperty(L,"__esModule",{value:!0}),L.checkBucketName=void 0,L.checkBucketName=function(j){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,V=$?/^[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(j))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":340}],53:[fu
|
|||
|
`),z&&z.firstUpperCase&&(re=j.formatObjKey(re,"firstUpperCase")),$(re)==="object"?Object.keys(re).forEach(function(ie){$(re[ie])!=="undefined"&&$(re[ie])!=="null"&&($(re[ie])==="string"||$(re[ie])==="number"?oe+="<".concat(ie,">").concat(re[ie],"</").concat(ie,">"):$(re[ie])==="object"?oe+="<".concat(ie,">").concat(V(re[ie]),"</").concat(ie,">"):$(re[ie])==="array"?oe+=re[ie].map(function(le){return"<".concat(ie,">").concat(V(le),"</").concat(ie,">")}).join(""):oe+="<".concat(ie,">").concat(re[ie].toString(),"</").concat(ie,">"))}):oe+=re.toString(),oe}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(y,k,L){y("core-js/modules/es.array.slice.js"),y("core-js/modules/es.object.to-string.js"),y("core-js/modules/es.regexp.to-string.js"),y("core-js/modules/es.function.name.js"),y("core-js/modules/es.array.from.js"),y("core-js/modules/es.string.iterator.js"),y("core-js/modules/es.regexp.exec.js"),y("core-js/modules/es.symbol.js"),y("core-js/modules/es.symbol.description.js"),y("core-js/modules/es.symbol.iterator.js"),y("core-js/modules/es.array.iterator.js"),y("core-js/modules/web.dom-collections.iterator.js"),y("core-js/modules/es.object.assign.js");function j(z,oe){var ie=typeof Symbol<"u"&&z[Symbol.iterator]||z["@@iterator"];if(!ie){if(Array.isArray(z)||(ie=$(z))||oe){ie&&(z=ie);var le=0,ue=function(){};return{s:ue,n:function(){return le>=z.length?{done:!0}:{done:!1,value:z[le++]}},e:function(he){throw he},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,Ne=!1,pe;return{s:function(){ie=ie.call(z)},n:function(){var he=ie.next();return de=he.done,he},e:function(he){Ne=!0,pe=he},f:function(){try{!de&&ie.return!=null&&ie.return()}finally{if(Ne)throw pe}}}}function $(z,oe){if(z){if(typeof z=="string")return V(z,oe);var ie=Object.prototype.toString.call(z).slice(8,-1);if(ie==="Object"&&z.constructor&&(ie=z.constructor.name),ie==="Map"||ie==="Set")return Array.from(z);if(ie==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ie))return V(z,oe)}}function V(z,oe){(oe==null||oe>z.length)&&(oe=z.length);for(var ie=0,le=new Array(oe);ie<oe;ie++)le[ie]=z[ie];return le}Object.defineProperty(L,"__esModule",{value:!0}),L.omit=void 0;function re(z,oe){var ie=Object.assign({},z),le=j(oe),ue;try{for(le.s();!(ue=le.n()).done;){var de=ue.value;delete ie[de]}}catch(Ne){le.e(Ne)}finally{le.f()}return ie}L.omit=re},{"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(y,k,L){y("core-js/modules/es.object.to-string.js"),y("core-js/modules/es.promise.js"),Object.defineProperty(L,"__esModule",{value:!0}),L.retry=void 0;function j($,V){var re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},z=0,oe=re.retryDelay,ie=oe===void 0?500:oe,le=re.errorHandler,ue=le===void 0?function(){return!0}:le,de=function Ne(){for(var pe=arguments.length,_e=new Array(pe),he=0;he<pe;he++)_e[he]=arguments[he];return new Promise(function(Ce,Fe){$.apply(void 0,_e).then(function($e){z=0,Ce($e)}).catch(function($e){z<V&&ue($e)?(z++,setTimeout(function(){Ce(Ne.apply(void 0,_e))},ie)):(z=0,Fe($e))})})};return de}L.retry=j},{"core-js/modules/es.object.to-string.js":331,"core-js/modules/es.promise.js":335}],78:[function(y,k,L){var j=function(z){return z&&z.__esModule?z:{default:z}};Object.defineProperty(L,"__esModule",{value:!0}),L.setRegion=void 0;var $=j(y("url")),V=y("./checkConfigValid");function re(z){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;V.checkConfigValid(z,"region");var le=ie?"https://":"http://",ue=oe?"-internal.aliyuncs.com":".aliyuncs.com",de="vpc100-oss-cn-";return z.substr(0,de.length)===de&&(ue=".aliyuncs.com"),$.default.parse(le+z+ue)}L.setRegion=re},{"./checkConfigValid":53,url:545}],79:[function(y,k,L){var j=y("@babel/runtime/helpers/interopRequireDefault"),$=j(y("@babel/runtime/regenerator"));y("core-js/modules/es.object.keys.js"),y("core-js/modules/es.object.to-string.js"),y("core-js/modules/es.array.find.js"),y("core-js/modules/es.object.assign.js");var V=j(y("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(L,"__esModule",{value:!0}),L.checkCredentials=L.setSTSToken=void 0;var re=y("./formatObjKey");function z(){return oe.apply(this,arguments)}function oe(){return oe=(0,V.default)($.default.mark(function le(){var ue,de;return $.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(this.options||(this.options={}),ue=new Date,!this.stsTokenFreshTime){pe.next=14;break}if(!(+ue-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){pe.next=12;break}return this.stsTokenFreshTime=ue,pe.next=7,this.options.refreshSTSToken();case 7:de=pe.sent,de=re.formatObjKey(de,"firstLowerCase"),de.securityToken&&(de.stsToken=de.securityToken),ie(de),Object.assign(this.options,de);case 12:pe.next=15;break;case 14:this.stsTokenFreshTime=ue;case 15:return pe.abrupt("return",null);case 16:case"end":return pe.stop()}},le,this)})),oe.apply(this,arguments)}L.setSTSToken=z;function ie(le){
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}k.exports=j,k.exports.__esModule=!0,k.exports.default=k.exports},{}],87:[function(y,k,L){var j=y("./typeof.js").default;function $(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */k.exports=$=function(){return re},k.exports.__esModule=!0,k.exports.default=k.exports;var V,re={},z=Object.prototype,oe=z.hasOwnProperty,ie=Object.defineProperty||function(Cr,Ir,Ar){Cr[Ir]=Ar.value},le=typeof Symbol=="function"?Symbol:{},ue=le.iterator||"@@iterator",de=le.asyncIterator||"@@asyncIterator",Ne=le.toStringTag||"@@toStringTag";function pe(Cr,Ir,Ar){return Object.defineProperty(Cr,Ir,{value:Ar,enumerable:!0,configurable:!0,writable:!0}),Cr[Ir]}try{pe({},"")}catch{pe=function(Ar,dr,cr){return Ar[dr]=cr}}function _e(Cr,Ir,Ar,dr){var cr=Ir&&Ir.prototype instanceof Ue?Ir:Ue,Rr=Object.create(cr.prototype),Pr=new Sr(dr||[]);return ie(Rr,"_invoke",{value:hr(Cr,Ar,Pr)}),Rr}function he(Cr,Ir,Ar){try{return{type:"normal",arg:Cr.call(Ir,Ar)}}catch(dr){return{type:"throw",arg:dr}}}re.wrap=_e;var Ce="suspendedStart",Fe="suspendedYield",$e="executing",Lt="completed",Et={};function Ue(){}function qe(){}function Ve(){}var jt={};pe(jt,ue,function(){return this});var tr=Object.getPrototypeOf,ir=tr&&tr(tr(br([])));ir&&ir!==z&&oe.call(ir,ue)&&(jt=ir);var rr=Ve.prototype=Ue.prototype=Object.create(jt);function or(Cr){["next","throw","return"].forEach(function(Ir){pe(Cr,Ir,function(Ar){return this._invoke(Ir,Ar)})})}function lr(Cr,Ir){function Ar(cr,Rr,Pr,Mr){var jr=he(Cr[cr],Cr,Rr);if(jr.type!=="throw"){var mr=jr.arg,gr=mr.value;return gr&&j(gr)=="object"&&oe.call(gr,"__await")?Ir.resolve(gr.__await).then(function(xr){Ar("next",xr,Pr,Mr)},function(xr){Ar("throw",xr,Pr,Mr)}):Ir.resolve(gr).then(function(xr){mr.value=xr,Pr(mr)},function(xr){return Ar("throw",xr,Pr,Mr)})}Mr(jr.arg)}var dr;ie(this,"_invoke",{value:function(Rr,Pr){function Mr(){return new Ir(function(jr,mr){Ar(Rr,Pr,jr,mr)})}return dr=dr?dr.then(Mr,Mr):Mr()}})}function hr(Cr,Ir,Ar){var dr=Ce;return function(cr,Rr){if(dr===$e)throw new Error("Generator is already running");if(dr===Lt){if(cr==="throw")throw Rr;return{value:V,done:!0}}for(Ar.method=cr,Ar.arg=Rr;;){var Pr=Ar.delegate;if(Pr){var Mr=fr(Pr,Ar);if(Mr){if(Mr===Et)continue;return Mr}}if(Ar.method==="next")Ar.sent=Ar._sent=Ar.arg;else if(Ar.method==="throw"){if(dr===Ce)throw dr=Lt,Ar.arg;Ar.dispatchException(Ar.arg)}else Ar.method==="return"&&Ar.abrupt("return",Ar.arg);dr=$e;var jr=he(Cr,Ir,Ar);if(jr.type==="normal"){if(dr=Ar.done?Lt:Fe,jr.arg===Et)continue;return{value:jr.arg,done:Ar.done}}jr.type==="throw"&&(dr=Lt,Ar.method="throw",Ar.arg=jr.arg)}}}function fr(Cr,Ir){var Ar=Ir.method,dr=Cr.iterator[Ar];if(dr===V)return Ir.delegate=null,Ar==="throw"&&Cr.iterator.return&&(Ir.method="return",Ir.arg=V,fr(Cr,Ir),Ir.method==="throw")||Ar!=="return"&&(Ir.method="throw",Ir.arg=new TypeError("The iterator does not provide a '"+Ar+"' method")),Et;var cr=he(dr,Cr.iterator,Ir.arg);if(cr.type==="throw")return Ir.method="throw",Ir.arg=cr.arg,Ir.delegate=null,Et;var Rr=cr.arg;return Rr?Rr.done?(Ir[Cr.resultName]=Rr.value,Ir.next=Cr.nextLoc,Ir.method!=="return"&&(Ir.method="next",Ir.arg=V),Ir.delegate=null,Et):Rr:(Ir.method="throw",Ir.arg=new TypeError("iterator result is not an object"),Ir.delegate=null,Et)}function vr(Cr){var Ir={tryLoc:Cr[0]};1 in Cr&&(Ir.catchLoc=Cr[1]),2 in Cr&&(Ir.finallyLoc=Cr[2],Ir.afterLoc=Cr[3]),this.tryEntries.push(Ir)}function Dr(Cr){var Ir=Cr.completion||{};Ir.type="normal",delete Ir.arg,Cr.completion=Ir}function Sr(Cr){this.tryEntries=[{tryLoc:"root"}],Cr.forEach(vr,this),this.reset(!0)}function br(Cr){if(Cr||Cr===""){var Ir=Cr[ue];if(Ir)return Ir.call(Cr);if(typeof Cr.next=="function")return Cr;if(!isNaN(Cr.length)){var Ar=-1,dr=function cr(){for(;++Ar<Cr.length;)if(oe.call(Cr,Ar))return cr.value=Cr[Ar],cr.done=!1,cr;return cr.value=V,cr.done=!0,cr};return dr.next=dr}}throw new TypeError(j(Cr)+" is not iterable")}return qe.prototype=Ve
|
|||
|
* The buffer module from node.js, for the browser.
|
|||
|
*
|
|||
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|||
|
* @license MIT
|
|||
|
*/function V(lr,hr){if(lr===hr)return 0;for(var fr=lr.length,vr=hr.length,Dr=0,Sr=Math.min(fr,vr);Dr<Sr;++Dr)if(lr[Dr]!==hr[Dr]){fr=lr[Dr],vr=hr[Dr];break}return fr<vr?-1:vr<fr?1:0}function re(lr){return j.Buffer&&typeof j.Buffer.isBuffer=="function"?j.Buffer.isBuffer(lr):!!(lr!=null&&lr._isBuffer)}var z=y("util/"),oe=Object.prototype.hasOwnProperty,ie=Array.prototype.slice,le=function(){return(function(){}).name==="foo"}();function ue(lr){return Object.prototype.toString.call(lr)}function de(lr){return re(lr)||typeof j.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(lr):lr?!!(lr instanceof DataView||lr.buffer&&lr.buffer instanceof ArrayBuffer):!1}var Ne=k.exports=Lt,pe=/\s*function\s+([^\(\s]*)\s*/;function _e(lr){if(z.isFunction(lr)){if(le)return lr.name;var hr=lr.toString(),fr=hr.match(pe);return fr&&fr[1]}}Ne.AssertionError=function(hr){this.name="AssertionError",this.actual=hr.actual,this.expected=hr.expected,this.operator=hr.operator,hr.message?(this.message=hr.message,this.generatedMessage=!1):(this.message=Fe(this),this.generatedMessage=!0);var fr=hr.stackStartFunction||$e;if(Error.captureStackTrace)Error.captureStackTrace(this,fr);else{var vr=new Error;if(vr.stack){var Dr=vr.stack,Sr=_e(fr),br=Dr.indexOf(`
|
|||
|
`+Sr);if(br>=0){var Cr=Dr.indexOf(`
|
|||
|
`,br+1);Dr=Dr.substring(Cr+1)}this.stack=Dr}}},z.inherits(Ne.AssertionError,Error);function he(lr,hr){return typeof lr=="string"?lr.length<hr?lr:lr.slice(0,hr):lr}function Ce(lr){if(le||!z.isFunction(lr))return z.inspect(lr);var hr=_e(lr),fr=hr?": "+hr:"";return"[Function"+fr+"]"}function Fe(lr){return he(Ce(lr.actual),128)+" "+lr.operator+" "+he(Ce(lr.expected),128)}function $e(lr,hr,fr,vr,Dr){throw new Ne.AssertionError({message:fr,actual:lr,expected:hr,operator:vr,stackStartFunction:Dr})}Ne.fail=$e;function Lt(lr,hr){lr||$e(lr,!0,hr,"==",Ne.ok)}Ne.ok=Lt,Ne.equal=function(hr,fr,vr){hr!=fr&&$e(hr,fr,vr,"==",Ne.equal)},Ne.notEqual=function(hr,fr,vr){hr==fr&&$e(hr,fr,vr,"!=",Ne.notEqual)},Ne.deepEqual=function(hr,fr,vr){Et(hr,fr,!1)||$e(hr,fr,vr,"deepEqual",Ne.deepEqual)},Ne.deepStrictEqual=function(hr,fr,vr){Et(hr,fr,!0)||$e(hr,fr,vr,"deepStrictEqual",Ne.deepStrictEqual)};function Et(lr,hr,fr,vr){if(lr===hr)return!0;if(re(lr)&&re(hr))return V(lr,hr)===0;if(z.isDate(lr)&&z.isDate(hr))return lr.getTime()===hr.getTime();if(z.isRegExp(lr)&&z.isRegExp(hr))return lr.source===hr.source&&lr.global===hr.global&&lr.multiline===hr.multiline&&lr.lastIndex===hr.lastIndex&&lr.ignoreCase===hr.ignoreCase;if((lr===null||typeof lr!="object")&&(hr===null||typeof hr!="object"))return fr?lr===hr:lr==hr;if(de(lr)&&de(hr)&&ue(lr)===ue(hr)&&!(lr instanceof Float32Array||lr instanceof Float64Array))return V(new Uint8Array(lr.buffer),new Uint8Array(hr.buffer))===0;if(re(lr)!==re(hr))return!1;vr=vr||{actual:[],expected:[]};var Dr=vr.actual.indexOf(lr);return Dr!==-1&&Dr===vr.expected.indexOf(hr)?!0:(vr.actual.push(lr),vr.expected.push(hr),qe(lr,hr,fr,vr))}function Ue(lr){return Object.prototype.toString.call(lr)=="[object Arguments]"}function qe(lr,hr,fr,vr){if(lr==null||hr===null||hr===void 0)return!1;if(z.isPrimitive(lr)||z.isPrimitive(hr))return lr===hr;if(fr&&Object.getPrototypeOf(lr)!==Object.getPrototypeOf(hr))return!1;var Dr=Ue(lr),Sr=Ue(hr);if(Dr&&!Sr||!Dr&&Sr)return!1;if(Dr)return lr=ie.call(lr),hr=ie.call(hr),Et(lr,hr,fr);var br=or(lr),Cr=or(hr),Ir,Ar;if(br.length!==Cr.length)return!1;for(br.sort(),Cr.sort(),Ar=br.length-1;Ar>=0;Ar--)if(br[Ar]!==Cr[Ar])return!1;for(Ar=br.length-1;Ar>=0;Ar--)if(Ir=br[Ar],!Et(lr[Ir],hr[Ir],fr,vr))return!1;return!0}Ne.notDeepEqual=function(hr,fr,vr){Et(hr,fr,!1)&&$e(hr,fr,vr,"notDeepEqual",Ne.notDeepEqual)},Ne.notDeepStrictEqual=Ve;function Ve(lr,hr,fr){Et(lr,hr,!0)&&$e(lr,hr,fr,"notDeepStrictEqual",Ve)}Ne.strictEqual=function(hr,fr,vr){hr!==fr&&$e(hr,fr,vr,"===",Ne.strictEqual)},Ne.notStrictEqual=function(hr,fr,vr){hr===fr&&$e(hr,fr,vr,"!==",Ne.notStrictEqual)};function jt(lr,hr){if(!lr||!hr)return!1;if(Object.prototype.toString.call(hr)=="[object RegExp]")return hr.test(lr);try{if(lr instanceof hr)return!0}catch{}return Error.isPrototypeOf(hr)?!1:hr.call({},lr)===!0}function tr(lr){var hr;try{lr()}catch(fr){hr=fr}return hr}function ir(lr,hr,fr,vr){var Dr;if(typeof hr!="function")throw new TypeError('"block" argument must be a function');typeof fr=="string"&&(vr=fr,fr=null),Dr=tr(hr),vr=(fr&&fr.name?" ("+fr.name+").":".")+(vr?" "+vr:"."),lr&&!Dr&&$e(Dr,fr,"Missing expected exception"+vr);var Sr=typeof vr=="string",br=!lr&&z.isError(Dr),Cr=!lr&&Dr&&!fr;if((br&&Sr&&jt(Dr,fr)||Cr)&&$e(Dr,fr,"Got unwanted exception"+vr),lr&&Dr&&fr&&!jt(Dr,fr)||!lr&&Dr)throw Dr}Ne.throws=function(lr,hr,fr){ir(!0,lr,hr,fr)},Ne.doesNotThrow=function(lr,hr,fr){ir(!1,lr,hr,fr)},Ne.ifError=function(lr){if(lr)throw lr};function rr(lr,hr){lr||$e(lr,!0,hr,"==",rr)}Ne.strict=$(rr,Ne,{equal:Ne.strictEqual,deepEqual:Ne.deepStrictEqual,notEqual:Ne.notStrictEqual,notDeepEqual:Ne.notDeepStrictEqual}),Ne.strict.strict=Ne.strict;var or=Object.keys||function(lr){var hr=[];for(var fr in lr)oe.call(lr,fr)&&hr.push(fr);return hr}}).call(this)}).call(this,typeof n<"u"?n:typeof self<"u"?self:typeof window<"u"?window:{})},{"object.assign/polyfill":440,"util/":98}],96:[function(y,k,L){typeof Object.create=="function"?k.exports=function($,V){$.super_=V,$.prototype=Object.create(V.prototype,{constructor:{value:$,enumerable:!1,writable:!0,configurable:!
|
|||
|
`)>-1&&(Rr?Mr=Mr.split(`
|
|||
|
`).map(function(mr){return" "+mr}).join(`
|
|||
|
`).substr(2):Mr=`
|
|||
|
`+Mr.split(`
|
|||
|
`).map(function(mr){return" "+mr}).join(`
|
|||
|
`))):Mr=Cr.stylize("[Circular]","special")),jt(Pr)){if(Rr&&cr.match(/^\d+$/))return Mr;Pr=JSON.stringify(""+cr),Pr.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Pr=Pr.substr(1,Pr.length-2),Pr=Cr.stylize(Pr,"name")):(Pr=Pr.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Pr=Cr.stylize(Pr,"string"))}return Pr+": "+Mr}function Ce(Cr,Ir,Ar){var dr=Cr.reduce(function(cr,Rr){return Rr.indexOf(`
|
|||
|
`)>=0,cr+Rr.replace(/\u001b\[\d\d?m/g,"").length+1},0);return dr>60?Ar[0]+(Ir===""?"":Ir+`
|
|||
|
`)+" "+Cr.join(`,
|
|||
|
`)+" "+Ar[1]:Ar[0]+Ir+" "+Cr.join(", ")+" "+Ar[1]}function Fe(Cr){return Array.isArray(Cr)}L.isArray=Fe;function $e(Cr){return typeof Cr=="boolean"}L.isBoolean=$e;function Lt(Cr){return Cr===null}L.isNull=Lt;function Et(Cr){return Cr==null}L.isNullOrUndefined=Et;function Ue(Cr){return typeof Cr=="number"}L.isNumber=Ue;function qe(Cr){return typeof Cr=="string"}L.isString=qe;function Ve(Cr){return typeof Cr=="symbol"}L.isSymbol=Ve;function jt(Cr){return Cr===void 0}L.isUndefined=jt;function tr(Cr){return ir(Cr)&&fr(Cr)==="[object RegExp]"}L.isRegExp=tr;function ir(Cr){return typeof Cr=="object"&&Cr!==null}L.isObject=ir;function rr(Cr){return ir(Cr)&&fr(Cr)==="[object Date]"}L.isDate=rr;function or(Cr){return ir(Cr)&&(fr(Cr)==="[object Error]"||Cr instanceof Error)}L.isError=or;function lr(Cr){return typeof Cr=="function"}L.isFunction=lr;function hr(Cr){return Cr===null||typeof Cr=="boolean"||typeof Cr=="number"||typeof Cr=="string"||typeof Cr=="symbol"||typeof Cr>"u"}L.isPrimitive=hr,L.isBuffer=y("./support/isBuffer");function fr(Cr){return Object.prototype.toString.call(Cr)}function vr(Cr){return Cr<10?"0"+Cr.toString(10):Cr.toString(10)}var Dr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Sr(){var Cr=new Date,Ir=[vr(Cr.getHours()),vr(Cr.getMinutes()),vr(Cr.getSeconds())].join(":");return[Cr.getDate(),Dr[Cr.getMonth()],Ir].join(" ")}L.log=function(){console.log("%s - %s",Sr(),L.format.apply(L,arguments))},L.inherits=y("inherits"),L._extend=function(Cr,Ir){if(!Ir||!ir(Ir))return Cr;for(var Ar=Object.keys(Ir),dr=Ar.length;dr--;)Cr[Ar[dr]]=Ir[Ar[dr]];return Cr};function br(Cr,Ir){return Object.prototype.hasOwnProperty.call(Cr,Ir)}}).call(this)}).call(this,y("_process"),typeof n<"u"?n:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":97,_process:540,inherits:96}],99:[function(y,k,L){(function(j){(function(){var $=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],V=typeof globalThis>"u"?j:globalThis;k.exports=function(){for(var z=[],oe=0;oe<$.length;oe++)typeof V[$[oe]]=="function"&&(z[z.length]=$[oe]);return z}}).call(this)}).call(this,typeof n<"u"?n:typeof self<"u"?self:typeof window<"u"?window:{})},{}],100:[function(y,k,L){L.byteLength=le,L.toByteArray=de,L.fromByteArray=_e;for(var j=[],$=[],V=typeof Uint8Array<"u"?Uint8Array:Array,re="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",z=0,oe=re.length;z<oe;++z)j[z]=re[z],$[re.charCodeAt(z)]=z;$[45]=62,$[95]=63;function ie(he){var Ce=he.length;if(Ce%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Fe=he.indexOf("=");Fe===-1&&(Fe=Ce);var $e=Fe===Ce?0:4-Fe%4;return[Fe,$e]}function le(he){var Ce=ie(he),Fe=Ce[0],$e=Ce[1];return(Fe+$e)*3/4-$e}function ue(he,Ce,Fe){return(Ce+Fe)*3/4-Fe}function de(he){var Ce,Fe=ie(he),$e=Fe[0],Lt=Fe[1],Et=new V(ue(he,$e,Lt)),Ue=0,qe=Lt>0?$e-4:$e,Ve;for(Ve=0;Ve<qe;Ve+=4)Ce=$[he.charCodeAt(Ve)]<<18|$[he.charCodeAt(Ve+1)]<<12|$[he.charCodeAt(Ve+2)]<<6|$[he.charCodeAt(Ve+3)],Et[Ue++]=Ce>>16&255,Et[Ue++]=Ce>>8&255,Et[Ue++]=Ce&255;return Lt===2&&(Ce=$[he.charCodeAt(Ve)]<<2|$[he.charCodeAt(Ve+1)]>>4,Et[Ue++]=Ce&255),Lt===1&&(Ce=$[he.charCodeAt(Ve)]<<10|$[he.charCodeAt(Ve+1)]<<4|$[he.charCodeAt(Ve+2)]>>2,Et[Ue++]=Ce>>8&255,Et[Ue++]=Ce&255),Et}function Ne(he){return j[he>>18&63]+j[he>>12&63]+j[he>>6&63]+j[he&63]}function pe(he,Ce,Fe){for(var $e,Lt=[],Et=Ce;Et<Fe;Et+=3)$e=(he[Et]<<16&16711680)+(he[Et+1]<<8&65280)+(he[Et+2]&255),Lt.push(Ne($e));return Lt.join("")}function _e(he){for(var Ce,Fe=he.length,$e=Fe%3,Lt=[],Et=16383,Ue=0,qe=Fe-$e;Ue<qe;Ue+=Et)Lt.push(pe(he,Ue,Ue+Et>qe?qe:Ue+Et));return $e===1?(Ce=he[Fe-1],Lt.push(j[Ce>>2]+j[Ce<<4&63]+"==")):$e===2&&(Ce=(he[Fe-2]<<8)+he[Fe-1],Lt.push(j[Ce>>10]+j[Ce>>4&63]+j[Ce<<2&63]+"=")),Lt.join("")}},{}],101:[function(y,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 j=!0;function $(ue){function de(Cr){var Ir=ue.match(Cr);return Ir&&Ir.length>1&&Ir[1]||""}function Ne(Cr){var Ir=ue.match(Cr);return Ir&&Ir.length>1&&Ir[2]||""}var pe=de(/(ipod|iphone|ipad)/i).toLowerCase(),_e=/like android/i.test(ue),he=!_e&&/android/i.test(ue),Ce=/nexus\s*[0-6]\s*/i.test(ue),Fe=!Ce&&/nexus\s*[0-9]+/i.test(ue),$e=/CrOS/.test(ue),Lt=/silk/i.test(ue),Et=/sailfish/i.test(ue),Ue=/tizen/i.test(ue),qe=/(web|hpw)(o|0)s/i.test(ue),Ve=/windows phone/i.test(ue),jt=!Ve&&/windows/i.test(ue),tr=!pe&&!Lt&&/macintosh/i.test(ue),ir=!he&&!Et&&!Ue&&!qe&&/linux/i.test(ue),rr=Ne(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),or=de(/version\/(\d+(\.\d+)?)/i),lr=/tablet/i.test(ue)&&!/tablet pc/i.test(ue),hr=!lr&&/[^-]mobi/i.test(ue),fr=/xbox/i.test(ue),vr;/opera/i.test(ue)?vr={name:"Opera",opera:j,version:or||de(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ue)?vr={name:"Opera",opera:j,version:de(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||or}:/SamsungBrowser/i.test(ue)?vr={name:"Samsung Internet for Android",samsungBrowser:j,version:or||de(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ue)?vr={name:"NAVER Whale browser",whale:j,version:de(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ue)?vr={name:"MZ Browser",mzbrowser:j,version:de(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ue)?vr={name:"Opera Coast",coast:j,version:or||de(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ue)?vr={name:"Focus",focus:j,version:de(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ue)?vr={name:"Yandex Browser",yandexbrowser:j,version:or||de(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ue)?vr={name:"UC Browser",ucbrowser:j,version:de(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ue)?vr={name:"Maxthon",maxthon:j,version:de(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ue)?vr={name:"Epiphany",epiphany:j,version:de(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ue)?vr={name:"Puffin",puffin:j,version:de(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ue)?vr={name:"Sleipnir",sleipnir:j,version:de(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ue)?vr={name:"K-Meleon",kMeleon:j,version:de(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:Ve?(vr={name:"Windows Phone",osname:"Windows Phone",windowsphone:j},rr?(vr.msedge=j,vr.version=rr):(vr.msie=j,vr.version=de(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ue)?vr={name:"Internet Explorer",msie:j,version:de(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:$e?vr={name:"Chrome",osname:"Chrome OS",chromeos:j,chromeBook:j,chrome:j,version:de(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ue)?vr={name:"Microsoft Edge",msedge:j,version:rr}:/vivaldi/i.test(ue)?vr={name:"Vivaldi",vivaldi:j,version:de(/vivaldi\/(\d+(\.\d+)?)/i)||or}:Et?vr={name:"Sailfish",osname:"Sailfish OS",sailfish:j,version:de(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ue)?vr={name:"SeaMonkey",seamonkey:j,version:de(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ue)?(vr={name:"Firefox",firefox:j,version:de(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ue)&&(vr.firefoxos=j,vr.osname="Firefox OS")):Lt?vr={name:"Amazon Silk",silk:j,version:de(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ue)?vr={name:"PhantomJS",phantom:j,version:de(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ue)?vr={name:"SlimerJS",slimer:j,version:de(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ue)||/rim\stablet/i.test(ue)?vr={name:"BlackBerry",osname:"BlackBerry OS",blackberry:j,version:or||de(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:qe?(vr={name:"WebOS",osname:"WebOS",webos:j,version:or||de(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ue)&&(vr.touchpad=j)):/bada/i.test(ue)?vr={name:"Bada",osname:"Bada",bada:j,version:de(/dolfin\/(\d+(\.\d+)?)/i)}:Ue?vr={name:"Tizen",osname:"Tizen",tizen:j,version:de(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||or}:/qupzilla/i.test(ue)?vr={name:"QupZilla",qupzilla:j,version:de(/(?:qupz
|
|||
|
`)&&(dr="(?: "+dr+")",Rr=" "+Rr,cr++),hr=new RegExp("^(?:"+dr+")",Ar)),Ue&&(hr=new RegExp("^"+dr+"$(?!\\s)",Ar)),Lt&&(fr=tr.lastIndex),vr=j(pe,Ir?hr:tr,Rr),Ir?vr?(vr.input=$e(vr.input,cr),vr[0]=$e(vr[0],cr),vr.index=tr.lastIndex,tr.lastIndex+=vr[0].length):tr.lastIndex=0:Lt&&vr&&(tr.lastIndex=tr.global?vr.index+vr[0].length:fr),Ue&&vr&&vr.length>1&&j(Ne,vr[0],hr,function(){for(Dr=1;Dr<arguments.length-2;Dr++)arguments[Dr]===void 0&&(vr[Dr]=void 0)}),vr&&Cr)for(vr.groups=Sr=ie(null),Dr=0;Dr<Cr.length;Dr++)br=Cr[Dr],Sr[br[0]]=vr[br[1]];return vr}),k.exports=_e},{"../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(y,k,L){var j=y("../internals/an-object");k.exports=function(){var $=j(this),V="";return $.hasIndices&&(V+="d"),$.global&&(V+="g"),$.ignoreCase&&(V+="i"),$.multiline&&(V+="m"),$.dotAll&&(V+="s"),$.unicode&&(V+="u"),$.unicodeSets&&(V+="v"),$.sticky&&(V+="y"),V}},{"../internals/an-object":114}],258:[function(y,k,L){var j=y("../internals/function-call"),$=y("../internals/has-own-property"),V=y("../internals/object-is-prototype-of"),re=y("../internals/regexp-flags"),z=RegExp.prototype;k.exports=function(oe){var ie=oe.flags;return ie===void 0&&!("flags"in z)&&!$(oe,"flags")&&V(z,oe)?j(re,oe):ie}},{"../internals/function-call":177,"../internals/has-own-property":189,"../internals/object-is-prototype-of":238,"../internals/regexp-flags":257}],259:[function(y,k,L){var j=y("../internals/fails"),$=y("../internals/global"),V=$.RegExp,re=j(function(){var ie=V("a","y");return ie.lastIndex=2,ie.exec("abcd")!==null}),z=re||j(function(){return!V("a","y").sticky}),oe=re||j(function(){var ie=V("^r","gy");return ie.lastIndex=2,ie.exec("str")!==null});k.exports={BROKEN_CARET:oe,MISSED_STICKY:z,UNSUPPORTED_Y:re}},{"../internals/fails":171,"../internals/global":188}],260:[function(y,k,L){var j=y("../internals/fails"),$=y("../internals/global"),V=$.RegExp;k.exports=j(function(){var re=V(".","s");return!(re.dotAll&&re.test(`
|
|||
|
`)&&re.flags==="s")})},{"../internals/fails":171,"../internals/global":188}],261:[function(y,k,L){var j=y("../internals/fails"),$=y("../internals/global"),V=$.RegExp;k.exports=j(function(){var re=V("(?<a>b)","g");return re.exec("b").groups.a!=="b"||"b".replace(re,"$<a>c")!=="bc"})},{"../internals/fails":171,"../internals/global":188}],262:[function(y,k,L){var j=y("../internals/is-null-or-undefined"),$=TypeError;k.exports=function(V){if(j(V))throw new $("Can't call method on "+V);return V}},{"../internals/is-null-or-undefined":207}],263:[function(y,k,L){var j=y("../internals/global"),$=y("../internals/descriptors"),V=Object.getOwnPropertyDescriptor;k.exports=function(re){if(!$)return j[re];var z=V(j,re);return z&&z.value}},{"../internals/descriptors":153,"../internals/global":188}],264:[function(y,k,L){k.exports=Object.is||function($,V){return $===V?$!==0||1/$===1/V:$!==$&&V!==V}},{}],265:[function(y,k,L){var j=y("../internals/get-built-in"),$=y("../internals/define-built-in-accessor"),V=y("../internals/well-known-symbol"),re=y("../internals/descriptors"),z=V("species");k.exports=function(oe){var ie=j(oe);re&&ie&&!ie[z]&&$(ie,z,{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(y,k,L){var j=y("../internals/object-define-property").f,$=y("../internals/has-own-property"),V=y("../internals/well-known-symbol"),re=V("toStringTag");k.exports=function(z,oe,ie){z&&!ie&&(z=z.prototype),z&&!$(z,re)&&j(z,re,{configurable:!0,value:oe})}},{"../internals/has-own-property":189,"../internals/object-define-property":231,"../internals/well-known-symbol":306}],267:[function(y,k,L){var j=y("../internals/shared"),$=y("../internals/uid"),V=j("keys");k.exports=function(re){return V[re]||(V[re]=$(re))}},{"../internals/shared":269,"../internals/uid":299}],268:[function(y,k,L){var j=y("../internals/global"),$=y("../internals/define-global-property"),V="__core-js_shared__",re=j[V]||$(V,{});k.exports=re},{"../internals/define-global-property":151,"../internals/global":188}],269:[function(y,k,L){var j=y("../internals/is-pure"),$=y("../internals/shared-store");(k.exports=function(V,re){return $[V]||($[V]=re!==void 0?re:{})})("versions",[]).push({version:"3.35.0",mode:j?"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(y,k,L){var j=y("../internals/an-object"),$=y("../internals/a-constructor"),V=y("../internals/is-null-or-undefined"),re=y("../internals/well-known-symbol"),z=re("species");k.exports=function(oe,ie){var le=j(oe).constructor,ue;return le===void 0||V(ue=j(le)[z])?ie:$(ue)}},{"../internals/a-constructor":109,"../internals/an-object":114,"../internals/is-null-or-undefined":207,"../internals/well-known-symbol":306}],271:[function(y,k,L){var j=y("../internals/function-uncurry-this"),$=y("../internals/to-integer-or-infinity"),V=y("../internals/to-string"),re=y("../internals/require-object-coercible"),z=j("".charAt),oe=j("".charCodeAt),ie=j("".slice),le=function(ue){return function(de,Ne){var pe=V(re(de)),_e=$(Ne),he=pe.length,Ce,Fe;return _e<0||_e>=he?ue?"":void 0:(Ce=oe(pe,_e),Ce<55296||Ce>56319||_e+1===he||(Fe=oe(pe,_e+1))<56320||Fe>57343?ue?z(pe,_e):Ce:ue?ie(pe,_e,_e+2):(Ce-55296<<10)+(Fe-56320)+65536)}};k.exports={codeAt:le(!1),charAt:le(!0)}},{"../internals/function-uncurry-this":181,"../internals/require-object-coercible":262,"../internals/to-integer-or-infinity":283,"../internals/to-string":291}],272:[function(y,k,L){var j=y("../internals/function-name").PROPER,$=y("../internals/fails"),V=y("../internals/whitespaces"),re="
";k.exports=function(z){return $(function(){return!!V[z]()||re[z]()!==re||j&&V[z].name!==z})}},{"../internals/fails":171,"../internals/function-name":178,"../internals/whitespaces":307}],273:[function(y,k,L){var j=y("../internals/function-uncurry-th
|
|||
|
\v\f\r \u2028\u2029\uFEFF`},{}],308:[function(y,k,L){var j=y("../internals/export"),$=y("../internals/global"),V=y("../internals/array-buffer"),re=y("../internals/set-species"),z="ArrayBuffer",oe=V[z],ie=$[z];j({global:!0,constructor:!0,forced:ie!==oe},{ArrayBuffer:oe}),re(z)},{"../internals/array-buffer":118,"../internals/export":170,"../internals/global":188,"../internals/set-species":265}],309:[function(y,k,L){var j=y("../internals/export"),$=y("../internals/function-uncurry-this-clause"),V=y("../internals/fails"),re=y("../internals/array-buffer"),z=y("../internals/an-object"),oe=y("../internals/to-absolute-index"),ie=y("../internals/to-length"),le=y("../internals/species-constructor"),ue=re.ArrayBuffer,de=re.DataView,Ne=de.prototype,pe=$(ue.prototype.slice),_e=$(Ne.getUint8),he=$(Ne.setUint8),Ce=V(function(){return!new ue(2).slice(1,void 0).byteLength});j({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:Ce},{slice:function($e,Lt){if(pe&&Lt===void 0)return pe(z(this),$e);for(var Et=z(this).byteLength,Ue=oe($e,Et),qe=oe(Lt===void 0?Et:Lt,Et),Ve=new(le(this,ue))(ie(qe-Ue)),jt=new de(this),tr=new de(Ve),ir=0;Ue<qe;)he(tr,ir++,_e(jt,Ue++));return Ve}})},{"../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(y,k,L){var j=y("../internals/export"),$=y("../internals/fails"),V=y("../internals/is-array"),re=y("../internals/is-object"),z=y("../internals/to-object"),oe=y("../internals/length-of-array-like"),ie=y("../internals/does-not-exceed-safe-integer"),le=y("../internals/create-property"),ue=y("../internals/array-species-create"),de=y("../internals/array-method-has-species-support"),Ne=y("../internals/well-known-symbol"),pe=y("../internals/engine-v8-version"),_e=Ne("isConcatSpreadable"),he=pe>=51||!$(function(){var $e=[];return $e[_e]=!1,$e.concat()[0]!==$e}),Ce=function($e){if(!re($e))return!1;var Lt=$e[_e];return Lt!==void 0?!!Lt:V($e)},Fe=!he||!de("concat");j({target:"Array",proto:!0,arity:1,forced:Fe},{concat:function(Lt){var Et=z(this),Ue=ue(Et,0),qe=0,Ve,jt,tr,ir,rr;for(Ve=-1,tr=arguments.length;Ve<tr;Ve++)if(rr=Ve===-1?Et:arguments[Ve],Ce(rr))for(ir=oe(rr),ie(qe+ir),jt=0;jt<ir;jt++,qe++)jt in rr&&le(Ue,qe,rr[jt]);else ie(qe+1),le(Ue,qe++,rr);return Ue.length=qe,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(y,k,L){var j=y("../internals/export"),$=y("../internals/array-fill"),V=y("../internals/add-to-unscopables");j({target:"Array",proto:!0},{fill:$}),V("fill")},{"../internals/add-to-unscopables":111,"../internals/array-fill":120,"../internals/export":170}],312:[function(y,k,L){var j=y("../internals/export"),$=y("../internals/array-iteration").filter,V=y("../internals/array-method-has-species-support"),re=V("filter");j({target:"Array",proto:!0,forced:!re},{filter:function(oe){return $(this,oe,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":125,"../internals/array-method-has-species-support":127,"../internals/export":170}],313:[function(y,k,L){var j=y("../internals/export"),$=y("../internals/array-iteration").find,V=y("../internals/add-to-unscopables"),re="find",z=!0;re in[]&&Array(1)[re](function(){z=!1}),j({target:"Array",proto:!0,forced:z},{find:function(ie){return $(this,ie,arguments.length>1?arguments[1]:void 0)}}),V(re)},{"../internals/add-to-unscopables":111,"../internals/array-iteration":125,"../internals/export":170}],314:[function(y,k,L){var j=y("../internals/export"),$=y("../internals/array-from"),V=y("../internals/che
|
|||
|
* Determine if an object is a Buffer
|
|||
|
*
|
|||
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|||
|
* @license MIT
|
|||
|
*/k.exports=function(V){return V!=null&&(j(V)||$(V)||!!V._isBuffer)};function j(V){return!!V.constructor&&typeof V.constructor.isBuffer=="function"&&V.constructor.isBuffer(V)}function $(V){return typeof V.readFloatLE=="function"&&typeof V.slice=="function"&&j(V.slice(0,0))}},{}],412:[function(y,k,L){var j=Function.prototype.toString,$=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,V,re;if(typeof $=="function"&&typeof Object.defineProperty=="function")try{V=Object.defineProperty({},"length",{get:function(){throw re}}),re={},$(function(){throw 42},null,V)}catch(Et){Et!==re&&($=null)}else $=null;var z=/^\s*class\b/,oe=function(Ue){try{var qe=j.call(Ue);return z.test(qe)}catch{return!1}},ie=function(Ue){try{return oe(Ue)?!1:(j.call(Ue),!0)}catch{return!1}},le=Object.prototype.toString,ue="[object Object]",de="[object Function]",Ne="[object GeneratorFunction]",pe="[object HTMLAllCollection]",_e="[object HTML document.all class]",he="[object HTMLCollection]",Ce=typeof Symbol=="function"&&!!Symbol.toStringTag,Fe=!(0 in[,]),$e=function(){return!1};if(typeof document=="object"){var Lt=document.all;le.call(Lt)===le.call(document.all)&&($e=function(Ue){if((Fe||!Ue)&&(typeof Ue>"u"||typeof Ue=="object"))try{var qe=le.call(Ue);return(qe===pe||qe===_e||qe===he||qe===ue)&&Ue("")==null}catch{}return!1})}k.exports=$?function(Ue){if($e(Ue))return!0;if(!Ue||typeof Ue!="function"&&typeof Ue!="object")return!1;try{$(Ue,null,V)}catch(qe){if(qe!==re)return!1}return!oe(Ue)&&ie(Ue)}:function(Ue){if($e(Ue))return!0;if(!Ue||typeof Ue!="function"&&typeof Ue!="object")return!1;if(Ce)return ie(Ue);if(oe(Ue))return!1;var qe=le.call(Ue);return qe!==de&&qe!==Ne&&!/^\[object HTML/.test(qe)?!1:ie(Ue)}},{}],413:[function(y,k,L){var j=Object.prototype.toString,$=Function.prototype.toString,V=/^\s*(?:function)?\*/,re=y("has-tostringtag/shams")(),z=Object.getPrototypeOf,oe=function(){if(!re)return!1;try{return Function("return function*() {}")()}catch{}},ie;k.exports=function(ue){if(typeof ue!="function")return!1;if(V.test($.call(ue)))return!0;if(!re){var de=j.call(ue);return de==="[object GeneratorFunction]"}if(!z)return!1;if(typeof ie>"u"){var Ne=oe();ie=Ne?z(Ne):!1}return z(ue)===ie}},{"has-tostringtag/shams":398}],414:[function(y,k,L){var j=y("which-typed-array");k.exports=function(V){return!!j(V)}},{"which-typed-array":492}],415:[function(y,k,L){(function(j){(function(){(function($,V){typeof L=="object"&&typeof k<"u"?k.exports=V($):V($)})(typeof self<"u"?self:typeof window<"u"?window:typeof j<"u"?j:this,function($){$=$||{};var V=$.Base64,re="2.6.4",z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oe=function(fr){for(var vr={},Dr=0,Sr=fr.length;Dr<Sr;Dr++)vr[fr.charAt(Dr)]=Dr;return vr}(z),ie=String.fromCharCode,le=function(fr){if(fr.length<2){var vr=fr.charCodeAt(0);return vr<128?fr:vr<2048?ie(192|vr>>>6)+ie(128|vr&63):ie(224|vr>>>12&15)+ie(128|vr>>>6&63)+ie(128|vr&63)}else{var vr=65536+(fr.charCodeAt(0)-55296)*1024+(fr.charCodeAt(1)-56320);return ie(240|vr>>>18&7)+ie(128|vr>>>12&63)+ie(128|vr>>>6&63)+ie(128|vr&63)}},ue=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,de=function(fr){return fr.replace(ue,le)},Ne=function(fr){var vr=[0,2,1][fr.length%3],Dr=fr.charCodeAt(0)<<16|(fr.length>1?fr.charCodeAt(1):0)<<8|(fr.length>2?fr.charCodeAt(2):0),Sr=[z.charAt(Dr>>>18),z.charAt(Dr>>>12&63),vr>=2?"=":z.charAt(Dr>>>6&63),vr>=1?"=":z.charAt(Dr&63)];return Sr.join("")},pe=$.btoa&&typeof $.btoa=="function"?function(fr){return $.btoa(fr)}:function(fr){if(fr.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return fr.replace(/[\s\S]{1,3}/g,Ne)},_e=function(fr){return pe(de(String(fr)))},he=function(fr){return fr.replace(/[+\/]/g,function(vr){return vr=="+"?"-":"_"}).replace(/=/g,"")},Ce=function(fr,vr){return vr?he(_e(fr)):_e(fr)},Fe=function(fr){return Ce(fr,!0)},$e;$.Uint8Array&&($e=function(fr,vr){for(var Dr="",Sr=0,br=fr.length;Sr<br;Sr+=3){var Cr=fr[Sr],Ir=fr[Sr+1],Ar=fr[Sr+2],dr=Cr<<16|Ir<<8|Ar;Dr+=z.charAt(dr>>>18)+z.charAt(dr>>>12&63)+(typeof Ir<"u"?z.charAt(dr>>>6&63):"=")+(typeof Ar<"u"?z.c
|
|||
|
`)>=0)return!1;return!0}function Ta(Mi,fa){var vs;if(Mi.indent===" ")vs=" ";else if(typeof Mi.indent=="number"&&Mi.indent>0)vs=rr.call(Array(Mi.indent+1)," ");else return null;return{base:vs,prev:rr.call(Array(fa+1),vs)}}function eo(Mi,fa){if(Mi.length===0)return"";var vs=`
|
|||
|
`+fa.prev+fa.base;return vs+rr.call(Mi,","+vs)+`
|
|||
|
`+fa.prev}function ni(Mi,fa){var vs=Mr(Mi),qo=[];if(vs){qo.length=Mi.length;for(var nl=0;nl<Mi.length;nl++)qo[nl]=Fr(Mi,nl)?fa(Mi[nl],Mi):""}var fl=typeof fr=="function"?fr(Mi):[],_u;if(Dr){_u={};for(var hs=0;hs<fl.length;hs++)_u["$"+fl[hs]]=fl[hs]}for(var Eu in Mi)Fr(Mi,Eu)&&(vs&&String(Number(Eu))===Eu&&Eu<Mi.length||Dr&&_u["$"+Eu]instanceof Symbol||(tr.call(/[^\w$]/,Eu)?qo.push(fa(Eu,Mi)+": "+fa(Mi[Eu],Mi)):qo.push(Eu+": "+fa(Mi[Eu],Mi))));if(typeof fr=="function")for(var vu=0;vu<fl.length;vu++)br.call(Mi,fl[vu])&&qo.push("["+fa(fl[vu])+"]: "+fa(Mi[fl[vu]],Mi));return qo}}).call(this)}).call(this,typeof n<"u"?n:typeof self<"u"?self:typeof window<"u"?window:{})},{"./util.inspect":102}],436:[function(y,k,L){var j;if(!Object.keys){var $=Object.prototype.hasOwnProperty,V=Object.prototype.toString,re=y("./isArguments"),z=Object.prototype.propertyIsEnumerable,oe=!z.call({toString:null},"toString"),ie=z.call(function(){},"prototype"),le=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],ue=function(_e){var he=_e.constructor;return he&&he.prototype===_e},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},Ne=function(){if(typeof window>"u")return!1;for(var _e in window)try{if(!de["$"+_e]&&$.call(window,_e)&&window[_e]!==null&&typeof window[_e]=="object")try{ue(window[_e])}catch{return!0}}catch{return!0}return!1}(),pe=function(_e){if(typeof window>"u"||!Ne)return ue(_e);try{return ue(_e)}catch{return!1}};j=function(he){var Ce=he!==null&&typeof he=="object",Fe=V.call(he)==="[object Function]",$e=re(he),Lt=Ce&&V.call(he)==="[object String]",Et=[];if(!Ce&&!Fe&&!$e)throw new TypeError("Object.keys called on a non-object");var Ue=ie&&Fe;if(Lt&&he.length>0&&!$.call(he,0))for(var qe=0;qe<he.length;++qe)Et.push(String(qe));if($e&&he.length>0)for(var Ve=0;Ve<he.length;++Ve)Et.push(String(Ve));else for(var jt in he)!(Ue&&jt==="prototype")&&$.call(he,jt)&&Et.push(String(jt));if(oe)for(var tr=pe(he),ir=0;ir<le.length;++ir)!(tr&&le[ir]==="constructor")&&$.call(he,le[ir])&&Et.push(le[ir]);return Et}}k.exports=j},{"./isArguments":438}],437:[function(y,k,L){var j=Array.prototype.slice,$=y("./isArguments"),V=Object.keys,re=V?function(ie){return V(ie)}:y("./implementation"),z=Object.keys;re.shim=function(){if(Object.keys){var ie=function(){var le=Object.keys(arguments);return le&&le.length===arguments.length}(1,2);ie||(Object.keys=function(ue){return $(ue)?z(j.call(ue)):z(ue)})}else Object.keys=re;return Object.keys||re},k.exports=re},{"./implementation":436,"./isArguments":438}],438:[function(y,k,L){var j=Object.prototype.toString;k.exports=function(V){var re=j.call(V),z=re==="[object Arguments]";return z||(z=re!=="[object Array]"&&V!==null&&typeof V=="object"&&typeof V.length=="number"&&V.length>=0&&j.call(V.callee)==="[object Function]"),z}},{}],439:[function(y,k,L){var j=y("object-keys"),$=y("has-symbols/shams")(),V=y("call-bind/callBound"),re=Object,z=V("Array.prototype.push"),oe=V("Object.prototype.propertyIsEnumerable"),ie=$?Object.getOwnPropertySymbols:null;k.exports=function(ue,de){if(ue==null)throw new TypeError("target must be an object");var Ne=re(ue);if(arguments.length===1)return Ne;for(var pe=1;pe<arguments.length;++pe){var _e=re(arguments[pe]),he=j(_e),Ce=$&&(Object.getOwnPropertySymbols||ie);if(Ce)for(var Fe=Ce(_e),$e=0;$e<Fe.length;++$e){var Lt=Fe[$e];oe(_e,Lt)&&z(he,Lt)}for(var Et=0;Et<he.length;++Et){var Ue=he[Et];if(oe(_e,Ue)){var qe=_e[Ue];Ne[Ue]=qe}}}return Ne}},{"call-bind/callBound":105,"has-symbols/shams":397,"object-keys":437}],440:[function(y,k,L){var j=y("./implementation"),$=function(){if(!Object.assign)return!1;for(var re="abcdefghijklmnopqrst",z=re.split(""),oe={},ie=0;ie<z.length;++ie)oe[z[ie]]=z[ie];var le=Object.assign({},oe),ue="";for(var de in le)
|
|||
|
`||mr==="\r"||mr===" "}function Ve(mr){return mr==='"'||mr==="'"}function jt(mr){return mr===">"||qe(mr)}function tr(mr,gr){return mr.test(gr)}function ir(mr,gr){return!tr(mr,gr)}var rr=0;$.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++},$.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},$.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($.ENTITIES).forEach(function(mr){var gr=$.ENTITIES[mr],xr=typeof gr=="number"?String.fromCharCode(gr):gr;$.ENTITIES[mr]=xr});for(var or in $.STATE)$.STATE[$.STATE[or]]=or;rr=$.STATE;function lr(mr,gr,xr){mr[gr]&&mr[gr](xr)}function hr(mr,gr,xr){mr.textNode&&fr(mr),lr(mr,gr,xr)}function fr(mr){mr.textNode=vr(mr.opt,mr.textNode),mr.textNode&&lr(mr,"ontext",mr.textNode),mr.textNode=""}function vr(mr,gr){return mr.trim&&(gr=gr.trim()),mr.normalize&&(gr=gr.replace(/\s+/g," ")),gr}function Dr(mr,gr){return fr(mr),mr.trackPosition&&(gr+=`
|
|||
|
Line: `+mr.line+`
|
|||
|
Column: `+mr.column+`
|
|||
|
Char: `+mr.c),gr=new Error(gr),mr.error=gr,lr(mr,"onerror",gr),mr}function Sr(mr){return mr.sawRoot&&!mr.closedRoot&&br(mr,"Unclosed root tag"),mr.state!==rr.BEGIN&&mr.state!==rr.BEGIN_WHITESPACE&&mr.state!==rr.TEXT&&Dr(mr,"Unexpected end"),fr(mr),mr.c="",mr.closed=!0,lr(mr,"onend"),re.call(mr,mr.strict,mr.opt),mr}function br(mr,gr){if(typeof mr!="object"||!(mr instanceof re))throw new Error("bad call to strictFail");mr.strict&&Dr(mr,gr)}function Cr(mr){mr.strict||(mr.tagName=mr.tagName[mr.looseCase]());var gr=mr.tags[mr.tags.length-1]||mr,xr=mr.tag={name:mr.tagName,attributes:{}};mr.opt.xmlns&&(xr.ns=gr.ns),mr.attribList.length=0,hr(mr,"onopentagstart",xr)}function Ir(mr,gr){var xr=mr.indexOf(":"),pr=xr<0?["",mr]:mr.split(":"),_r=pr[0],wr=pr[1];return gr&&mr==="xmlns"&&(_r="xmlns",wr=""),{prefix:_r,local:wr}}function Ar(mr){if(mr.strict||(mr.attribName=mr.attribName[mr.looseCase]()),mr.attribList.indexOf(mr.attribName)!==-1||mr.tag.attributes.hasOwnProperty(mr.attribName)){mr.attribName=mr.attribValue="";return}if(mr.opt.xmlns){var gr=Ir(mr.attribName,!0),xr=gr.prefix,pr=gr.local;if(xr==="xmlns")if(pr==="xml"&&mr.attribValue!==he)br(mr,"xml: prefix must be bound to "+he+`
|
|||
|
Actual: `+mr.attribValue);else if(pr==="xmlns"&&mr.attribValue!==Ce)br(mr,"xmlns: prefix must be bound to "+Ce+`
|
|||
|
Actual: `+mr.attribValue);else{var _r=mr.tag,wr=mr.tags[mr.tags.length-1]||mr;_r.ns===wr.ns&&(_r.ns=Object.create(wr.ns)),_r.ns[pr]=mr.attribValue}mr.attribList.push([mr.attribName,mr.attribValue])}else mr.tag.attributes[mr.attribName]=mr.attribValue,hr(mr,"onattribute",{name:mr.attribName,value:mr.attribValue});mr.attribName=mr.attribValue=""}function dr(mr,gr){if(mr.opt.xmlns){var xr=mr.tag,pr=Ir(mr.tagName);xr.prefix=pr.prefix,xr.local=pr.local,xr.uri=xr.ns[pr.prefix]||"",xr.prefix&&!xr.uri&&(br(mr,"Unbound namespace prefix: "+JSON.stringify(mr.tagName)),xr.uri=pr.prefix);var _r=mr.tags[mr.tags.length-1]||mr;xr.ns&&_r.ns!==xr.ns&&Object.keys(xr.ns).forEach(function(Ao){hr(mr,"onopennamespace",{prefix:Ao,uri:xr.ns[Ao]})});for(var wr=0,Tr=mr.attribList.length;wr<Tr;wr++){var $r=mr.attribList[wr],Fr=$r[0],yr=$r[1],kr=Ir(Fr,!0),Ur=kr.prefix,Hi=kr.local,bo=Ur===""?"":xr.ns[Ur]||"",xa={name:Fr,value:yr,prefix:Ur,local:Hi,uri:bo};Ur&&Ur!=="xmlns"&&!bo&&(br(mr,"Unbound namespace prefix: "+JSON.stringify(Ur)),xa.uri=Ur),mr.tag.attributes[Fr]=xa,hr(mr,"onattribute",xa)}mr.attribList.length=0}mr.tag.isSelfClosing=!!gr,mr.sawRoot=!0,mr.tags.push(mr.tag),hr(mr,"onopentag",mr.tag),gr||(!mr.noscript&&mr.tagName.toLowerCase()==="script"?mr.state=rr.SCRIPT:mr.state=rr.TEXT,mr.tag=null,mr.tagName=""),mr.attribName=mr.attribValue="",mr.attribList.length=0}function cr(mr){if(!mr.tagName){br(mr,"Weird empty close tag."),mr.textNode+="</>",mr.state=rr.TEXT;return}if(mr.script){if(mr.tagName!=="script"){mr.script+="</"+mr.tagName+">",mr.tagName="",mr.state=rr.SCRIPT;return}hr(mr,"onscript",mr.script),mr.script=""}var gr=mr.tags.length,xr=mr.tagName;mr.strict||(xr=xr[mr.looseCase]());for(var pr=xr;gr--;){var _r=mr.tags[gr];if(_r.name!==pr)br(mr,"Unexpected close tag");else break}if(gr<0){br(mr,"Unmatched closing tag: "+mr.tagName),mr.textNode+="</"+mr.tagName+">",mr.state=rr.TEXT;return}mr.tagName=xr;for(var wr=mr.tags.length;wr-- >gr;){var Tr=mr.tag=mr.tags.pop();mr.tagName=mr.tag.name,hr(mr,"onclosetag",mr.tagName);var $r={};for(var Fr in Tr.ns)$r[Fr]=Tr.ns[Fr];var yr=mr.tags[mr.tags.length-1]||mr;mr.opt.xmlns&&Tr.ns!==yr.ns&&Object.keys(Tr.ns).forEach(function(kr){var Ur=Tr.ns[kr];hr(mr,"onclosenamespace",{prefix:kr,uri:Ur})})}gr===0&&(mr.closedRoot=!0),mr.tagName=mr.attribValue=mr.attribName="",mr.attribList.length=0,mr.state=rr.TEXT}function Rr(mr){var gr=mr.entity,xr=gr.toLowerCase(),pr,_r="";return mr.ENTITIES[gr]?mr.ENTITIES[gr]:mr.ENTITIES[xr]?mr.ENTITIES[xr]:(gr=xr,gr.charAt(0)==="#"&&(gr.charAt(1)==="x"?(gr=gr.slice(2),pr=parseInt(gr,16),_r=pr.toString(16)):(gr=gr.slice(1),pr=parseInt(gr,10),_r=pr.toString(10))),gr=gr.replace(/^0+/,""),isNaN(pr)||_r.toLowerCase()!==gr?(br(mr,"Invalid character entity"),"&"+mr.entity+";"):String.fromCodePoint(pr))}function Pr(mr,gr){gr==="<"?(mr.state=rr.OPEN_WAKA,mr.startTagPosition=mr.position):qe(gr)||(br(mr,"Non-whitespace before first tag."),mr.textNode=gr,mr.state=rr.TEXT)}function Mr(mr,gr){var xr="";return gr<mr.length&&(xr=mr.charAt(gr)),xr}function jr(mr){var gr=this;if(this.error)throw this.error;if(gr.closed)return Dr(gr,"Cannot write after close. Assign an onready handler.");if(mr===null)return Sr(gr);typeof mr=="object"&&(mr=mr.toString());for(var xr=0,pr="";pr=Mr(mr,xr++),gr.c=pr,!!pr;)switch(gr.trackPosition&&(gr.position++,pr===`
|
|||
|
`?(gr.line++,gr.column=0):gr.column++),gr.state){case rr.BEGIN:if(gr.state=rr.BEGIN_WHITESPACE,pr==="\uFEFF")continue;Pr(gr,pr);continue;case rr.BEGIN_WHITESPACE:Pr(gr,pr);continue;case rr.TEXT:if(gr.sawRoot&&!gr.closedRoot){for(var _r=xr-1;pr&&pr!=="<"&&pr!=="&";)pr=Mr(mr,xr++),pr&&gr.trackPosition&&(gr.position++,pr===`
|
|||
|
`?(gr.line++,gr.column=0):gr.column++);gr.textNode+=mr.substring(_r,xr-1)}pr==="<"&&!(gr.sawRoot&&gr.closedRoot&&!gr.strict)?(gr.state=rr.OPEN_WAKA,gr.startTagPosition=gr.position):(!qe(pr)&&(!gr.sawRoot||gr.closedRoot)&&br(gr,"Text data outside of root node."),pr==="&"?gr.state=rr.TEXT_ENTITY:gr.textNode+=pr);continue;case rr.SCRIPT:pr==="<"?gr.state=rr.SCRIPT_ENDING:gr.script+=pr;continue;case rr.SCRIPT_ENDING:pr==="/"?gr.state=rr.CLOSE_TAG:(gr.script+="<"+pr,gr.state=rr.SCRIPT);continue;case rr.OPEN_WAKA:if(pr==="!")gr.state=rr.SGML_DECL,gr.sgmlDecl="";else if(!qe(pr))if(tr($e,pr))gr.state=rr.OPEN_TAG,gr.tagName=pr;else if(pr==="/")gr.state=rr.CLOSE_TAG,gr.tagName="";else if(pr==="?")gr.state=rr.PROC_INST,gr.procInstName=gr.procInstBody="";else{if(br(gr,"Unencoded <"),gr.startTagPosition+1<gr.position){var wr=gr.position-gr.startTagPosition;pr=new Array(wr).join(" ")+pr}gr.textNode+="<"+pr,gr.state=rr.TEXT}continue;case rr.SGML_DECL:(gr.sgmlDecl+pr).toUpperCase()===pe?(hr(gr,"onopencdata"),gr.state=rr.CDATA,gr.sgmlDecl="",gr.cdata=""):gr.sgmlDecl+pr==="--"?(gr.state=rr.COMMENT,gr.comment="",gr.sgmlDecl=""):(gr.sgmlDecl+pr).toUpperCase()===_e?(gr.state=rr.DOCTYPE,(gr.doctype||gr.sawRoot)&&br(gr,"Inappropriately located doctype declaration"),gr.doctype="",gr.sgmlDecl=""):pr===">"?(hr(gr,"onsgmldeclaration",gr.sgmlDecl),gr.sgmlDecl="",gr.state=rr.TEXT):(Ve(pr)&&(gr.state=rr.SGML_DECL_QUOTED),gr.sgmlDecl+=pr);continue;case rr.SGML_DECL_QUOTED:pr===gr.q&&(gr.state=rr.SGML_DECL,gr.q=""),gr.sgmlDecl+=pr;continue;case rr.DOCTYPE:pr===">"?(gr.state=rr.TEXT,hr(gr,"ondoctype",gr.doctype),gr.doctype=!0):(gr.doctype+=pr,pr==="["?gr.state=rr.DOCTYPE_DTD:Ve(pr)&&(gr.state=rr.DOCTYPE_QUOTED,gr.q=pr));continue;case rr.DOCTYPE_QUOTED:gr.doctype+=pr,pr===gr.q&&(gr.q="",gr.state=rr.DOCTYPE);continue;case rr.DOCTYPE_DTD:gr.doctype+=pr,pr==="]"?gr.state=rr.DOCTYPE:Ve(pr)&&(gr.state=rr.DOCTYPE_DTD_QUOTED,gr.q=pr);continue;case rr.DOCTYPE_DTD_QUOTED:gr.doctype+=pr,pr===gr.q&&(gr.state=rr.DOCTYPE_DTD,gr.q="");continue;case rr.COMMENT:pr==="-"?gr.state=rr.COMMENT_ENDING:gr.comment+=pr;continue;case rr.COMMENT_ENDING:pr==="-"?(gr.state=rr.COMMENT_ENDED,gr.comment=vr(gr.opt,gr.comment),gr.comment&&hr(gr,"oncomment",gr.comment),gr.comment=""):(gr.comment+="-"+pr,gr.state=rr.COMMENT);continue;case rr.COMMENT_ENDED:pr!==">"?(br(gr,"Malformed comment"),gr.comment+="--"+pr,gr.state=rr.COMMENT):gr.state=rr.TEXT;continue;case rr.CDATA:pr==="]"?gr.state=rr.CDATA_ENDING:gr.cdata+=pr;continue;case rr.CDATA_ENDING:pr==="]"?gr.state=rr.CDATA_ENDING_2:(gr.cdata+="]"+pr,gr.state=rr.CDATA);continue;case rr.CDATA_ENDING_2:pr===">"?(gr.cdata&&hr(gr,"oncdata",gr.cdata),hr(gr,"onclosecdata"),gr.cdata="",gr.state=rr.TEXT):pr==="]"?gr.cdata+="]":(gr.cdata+="]]"+pr,gr.state=rr.CDATA);continue;case rr.PROC_INST:pr==="?"?gr.state=rr.PROC_INST_ENDING:qe(pr)?gr.state=rr.PROC_INST_BODY:gr.procInstName+=pr;continue;case rr.PROC_INST_BODY:if(!gr.procInstBody&&qe(pr))continue;pr==="?"?gr.state=rr.PROC_INST_ENDING:gr.procInstBody+=pr;continue;case rr.PROC_INST_ENDING:pr===">"?(hr(gr,"onprocessinginstruction",{name:gr.procInstName,body:gr.procInstBody}),gr.procInstName=gr.procInstBody="",gr.state=rr.TEXT):(gr.procInstBody+="?"+pr,gr.state=rr.PROC_INST_BODY);continue;case rr.OPEN_TAG:tr(Lt,pr)?gr.tagName+=pr:(Cr(gr),pr===">"?dr(gr):pr==="/"?gr.state=rr.OPEN_TAG_SLASH:(qe(pr)||br(gr,"Invalid character in tag name"),gr.state=rr.ATTRIB));continue;case rr.OPEN_TAG_SLASH:pr===">"?(dr(gr,!0),cr(gr)):(br(gr,"Forward-slash in opening tag not followed by >"),gr.state=rr.ATTRIB);continue;case rr.ATTRIB:if(qe(pr))continue;pr===">"?dr(gr):pr==="/"?gr.state=rr.OPEN_TAG_SLASH:tr($e,pr)?(gr.attribName=pr,gr.attribValue="",gr.state=rr.ATTRIB_NAME):br(gr,"Invalid attribute name");continue;case rr.ATTRIB_NAME:pr==="="?gr.state=rr.ATTRIB_VALUE:pr===">"?(br(gr,"Attribute without value"),gr.attribValue=gr.attribName,Ar(gr),dr(gr)):qe(pr)?gr.state=rr.ATTRIB_NAME_SAW_WHITE:tr(Lt,pr)?gr.attribName+=pr:br(gr,"Invalid attribute name");continue;case rr.ATTRIB_NAME_SAW_WHITE:if(pr==="=")gr.state=rr.ATTRI
|
|||
|
`)>-1&&(mr?xr=xr.split(`
|
|||
|
`).map(function(_r){return" "+_r}).join(`
|
|||
|
`).slice(2):xr=`
|
|||
|
`+xr.split(`
|
|||
|
`).map(function(_r){return" "+_r}).join(`
|
|||
|
`))):xr=cr.stylize("[Circular]","special")),tr(gr)){if(mr&&jr.match(/^\d+$/))return xr;gr=JSON.stringify(""+jr),gr.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(gr=gr.slice(1,-1),gr=cr.stylize(gr,"name")):(gr=gr.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),gr=cr.stylize(gr,"string"))}return gr+": "+xr}function Fe(cr,Rr,Pr){var Mr=cr.reduce(function(jr,mr){return mr.indexOf(`
|
|||
|
`)>=0,jr+mr.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Mr>60?Pr[0]+(Rr===""?"":Rr+`
|
|||
|
`)+" "+cr.join(`,
|
|||
|
`)+" "+Pr[1]:Pr[0]+Rr+" "+cr.join(", ")+" "+Pr[1]}L.types=y("./support/types");function $e(cr){return Array.isArray(cr)}L.isArray=$e;function Lt(cr){return typeof cr=="boolean"}L.isBoolean=Lt;function Et(cr){return cr===null}L.isNull=Et;function Ue(cr){return cr==null}L.isNullOrUndefined=Ue;function qe(cr){return typeof cr=="number"}L.isNumber=qe;function Ve(cr){return typeof cr=="string"}L.isString=Ve;function jt(cr){return typeof cr=="symbol"}L.isSymbol=jt;function tr(cr){return cr===void 0}L.isUndefined=tr;function ir(cr){return rr(cr)&&vr(cr)==="[object RegExp]"}L.isRegExp=ir,L.types.isRegExp=ir;function rr(cr){return typeof cr=="object"&&cr!==null}L.isObject=rr;function or(cr){return rr(cr)&&vr(cr)==="[object Date]"}L.isDate=or,L.types.isDate=or;function lr(cr){return rr(cr)&&(vr(cr)==="[object Error]"||cr instanceof Error)}L.isError=lr,L.types.isNativeError=lr;function hr(cr){return typeof cr=="function"}L.isFunction=hr;function fr(cr){return cr===null||typeof cr=="boolean"||typeof cr=="number"||typeof cr=="string"||typeof cr=="symbol"||typeof cr>"u"}L.isPrimitive=fr,L.isBuffer=y("./support/isBuffer");function vr(cr){return Object.prototype.toString.call(cr)}function Dr(cr){return cr<10?"0"+cr.toString(10):cr.toString(10)}var Sr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function br(){var cr=new Date,Rr=[Dr(cr.getHours()),Dr(cr.getMinutes()),Dr(cr.getSeconds())].join(":");return[cr.getDate(),Sr[cr.getMonth()],Rr].join(" ")}L.log=function(){console.log("%s - %s",br(),L.format.apply(L,arguments))},L.inherits=y("inherits"),L._extend=function(cr,Rr){if(!Rr||!rr(Rr))return cr;for(var Pr=Object.keys(Rr),Mr=Pr.length;Mr--;)cr[Pr[Mr]]=Rr[Pr[Mr]];return cr};function Cr(cr,Rr){return Object.prototype.hasOwnProperty.call(cr,Rr)}var Ir=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;L.promisify=function(Rr){if(typeof Rr!="function")throw new TypeError('The "original" argument must be of type Function');if(Ir&&Rr[Ir]){var Pr=Rr[Ir];if(typeof Pr!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Pr,Ir,{value:Pr,enumerable:!1,writable:!1,configurable:!0}),Pr}function Pr(){for(var Mr,jr,mr=new Promise(function(pr,_r){Mr=pr,jr=_r}),gr=[],xr=0;xr<arguments.length;xr++)gr.push(arguments[xr]);gr.push(function(pr,_r){pr?jr(pr):Mr(_r)});try{Rr.apply(this,gr)}catch(pr){jr(pr)}return mr}return Object.setPrototypeOf(Pr,Object.getPrototypeOf(Rr)),Ir&&Object.defineProperty(Pr,Ir,{value:Pr,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Pr,$(Rr))},L.promisify.custom=Ir;function Ar(cr,Rr){if(!cr){var Pr=new Error("Promise was rejected with a falsy value");Pr.reason=cr,cr=Pr}return Rr(cr)}function dr(cr){if(typeof cr!="function")throw new TypeError('The "original" argument must be of type Function');function Rr(){for(var Pr=[],Mr=0;Mr<arguments.length;Mr++)Pr.push(arguments[Mr]);var jr=Pr.pop();if(typeof jr!="function")throw new TypeError("The last argument must be of type Function");var mr=this,gr=function(){return jr.apply(mr,arguments)};cr.apply(this,Pr).then(function(xr){j.nextTick(gr.bind(null,null,xr))},function(xr){j.nextTick(Ar.bind(null,xr,gr))})}return Object.setPrototypeOf(Rr,Object.getPrototypeOf(cr)),Object.defineProperties(Rr,$(cr)),Rr}L.callbackify=dr}).call(this)}).call(this,y("_process"))},{"./support/isBuffer":489,"./support/types":490,_process:540,inherits:409}],492:[function(y,k,L){(function(j){(function(){var $=y("for-each"),V=y("available-typed-arrays"),re=y("call-bind"),z=y("call-bind/callBound"),oe=y("gopd"),ie=z("Object.prototype.toString"),le=y("has-tostringtag/shams")(),ue=typeof globalThis>"u"?j:globalThis,de=V(),Ne=z("String.prototype.slice"),pe=Object.getPrototypeOf,_e=z("Array.prototype.indexOf",!0)||function(Lt,Et){for(var Ue=0;Ue<Lt.length;Ue+=1)if(Lt[Ue]===Et)return Ue;return-1},he={__proto__:null};le&&oe&&pe?$(de,function($e){var Lt=new ue[$e];if(Symbol.toStringTag in Lt){var Et=pe(Lt),Ue=oe(Et,Symbol.toStringTag);if(!Ue){var qe=pe(Et);Ue=oe(qe,Symbol.toStringTag)}he["$"+$e]
|
|||
|
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],496:[function(y,k,L){(function(){var j,$,V,re,z,oe,ie,le,ue,de=function(_e,he){return function(){return _e.apply(he,arguments)}},Ne=function(_e,he){for(var Ce in he)pe.call(he,Ce)&&(_e[Ce]=he[Ce]);function Fe(){this.constructor=_e}return Fe.prototype=he.prototype,_e.prototype=new Fe,_e.__super__=he.prototype,_e},pe={}.hasOwnProperty;le=y("sax"),re=y("events"),j=y("./bom"),ie=y("./processors"),ue=y("timers").setImmediate,$=y("./defaults").defaults,z=function(_e){return typeof _e=="object"&&_e!=null&&Object.keys(_e).length===0},oe=function(_e,he,Ce){var Fe,$e,Lt;for(Fe=0,$e=_e.length;Fe<$e;Fe++)Lt=_e[Fe],he=Lt(he,Ce);return he},V=function(_e,he,Ce){var Fe;return Fe=Object.create(null),Fe.value=Ce,Fe.writable=!0,Fe.enumerable=!0,Fe.configurable=!0,Object.defineProperty(_e,he,Fe)},L.Parser=function(_e){Ne(he,_e);function he(Ce){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,$e,Lt;if(!(this instanceof L.Parser))return new L.Parser(Ce);this.options={},$e=$["0.2"];for(Fe in $e)pe.call($e,Fe)&&(Lt=$e[Fe],this.options[Fe]=Lt);for(Fe in Ce)pe.call(Ce,Fe)&&(Lt=Ce[Fe],this.options[Fe]=Lt);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(ie.normalize)),this.reset()}return he.prototype.processAsync=function(){var Ce,Fe;try{return this.remaining.length<=this.options.chunkSize?(Ce=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(Ce),this.saxParser.close()):(Ce=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(Ce),ue(this.processAsync))}catch($e){if(Fe=$e,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(Fe)}},he.prototype.assignOrPush=function(Ce,Fe,$e){return Fe in Ce?(Ce[Fe]instanceof Array||V(Ce,Fe,[Ce[Fe]]),Ce[Fe].push($e)):this.options.explicitArray?V(Ce,Fe,[$e]):V(Ce,Fe,$e)},he.prototype.reset=function(){var Ce,Fe,$e,Lt;return this.removeAllListeners(),this.saxParser=le.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(Et){return function(Ue){if(Et.saxParser.resume(),!Et.saxParser.errThrown)return Et.saxParser.errThrown=!0,Et.emit("error",Ue)}}(this),this.saxParser.onend=function(Et){return function(){if(!Et.saxParser.ended)return Et.saxParser.ended=!0,Et.emit("end",Et.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,Lt=[],Ce=this.options.attrkey,Fe=this.options.charkey,this.saxParser.onopentag=function(Et){return function(Ue){var qe,Ve,jt,tr,ir;if(jt={},jt[Fe]="",!Et.options.ignoreAttrs){ir=Ue.attributes;for(qe in ir)pe.call(ir,qe)&&(!(Ce in jt)&&!Et.options.mergeAttrs&&(jt[Ce]={}),Ve=Et.options.attrValueProcessors?oe(Et.options.attrValueProcessors,Ue.attributes[qe],qe):Ue.attributes[qe],tr=Et.options.attrNameProcessors?oe(Et.options.attrNameProcessors,qe):qe,Et.options.mergeAttrs?Et.assignOrPush(jt,tr,Ve):V(jt[Ce],tr,Ve))}return jt["#name"]=Et.options.tagNameProcessors?oe(Et.options.tagNameProcessors,Ue.name):Ue.name,Et.options.xmlns&&(jt[Et.options.xmlnskey]={uri:Ue.uri,local:Ue.local}),Lt.push(jt)}}(this),this.saxParser.onclosetag=function(Et){return function(){var Ue,qe,Ve,jt,tr,ir,rr,or,lr,hr;if(ir=Lt.pop(),tr=ir["#name"],(!Et.options.explicitChildren||!Et.options.preserveChildrenOrder)&&delete ir["#name"],ir.cdata===!0&&(Ue=ir.cdata,delete ir.cdata),lr=Lt[Lt.length-1],ir[Fe].match(/^\s*$/)&&!Ue?(qe=ir[Fe],delete ir[Fe]):(Et.options.trim&&(ir[Fe]=ir[Fe].trim()),Et.options.normalize&&(ir[Fe]=ir[Fe].replace(/\s{2,}/g," ").trim()),ir[Fe]=Et.options.valueProcessors?oe(Et.options.valueProcessors,ir[Fe],tr):ir[Fe],Object
|
|||
|
`,ie.offset=(de=oe.offset)!=null?de:0,ie.dontPrettyTextNodes=(Ne=(pe=oe.dontPrettyTextNodes)!=null?pe:oe.dontprettytextnodes)!=null?Ne:0,ie.spaceBeforeSlash=(_e=(he=oe.spaceBeforeSlash)!=null?he:oe.spacebeforeslash)!=null?_e:"",ie.spaceBeforeSlash===!0&&(ie.spaceBeforeSlash=" "),ie.suppressPrettyCount=0,ie.user={},ie.state=$.None,ie},z.prototype.indent=function(oe,ie,le){var ue;return!ie.pretty||ie.suppressPrettyCount?"":ie.pretty&&(ue=(le||0)+ie.offset+1,ue>0)?new Array(ue).join(ie.indent):""},z.prototype.endline=function(oe,ie,le){return!ie.pretty||ie.suppressPrettyCount?"":ie.newline},z.prototype.attribute=function(oe,ie,le){var ue;return this.openAttribute(oe,ie,le),ue=" "+oe.name+'="'+oe.value+'"',this.closeAttribute(oe,ie,le),ue},z.prototype.cdata=function(oe,ie,le){var ue;return this.openNode(oe,ie,le),ie.state=$.OpenTag,ue=this.indent(oe,ie,le)+"<![CDATA[",ie.state=$.InsideTag,ue+=oe.value,ie.state=$.CloseTag,ue+="]]>"+this.endline(oe,ie,le),ie.state=$.None,this.closeNode(oe,ie,le),ue},z.prototype.comment=function(oe,ie,le){var ue;return this.openNode(oe,ie,le),ie.state=$.OpenTag,ue=this.indent(oe,ie,le)+"<!-- ",ie.state=$.InsideTag,ue+=oe.value,ie.state=$.CloseTag,ue+=" -->"+this.endline(oe,ie,le),ie.state=$.None,this.closeNode(oe,ie,le),ue},z.prototype.declaration=function(oe,ie,le){var ue;return this.openNode(oe,ie,le),ie.state=$.OpenTag,ue=this.indent(oe,ie,le)+"<?xml",ie.state=$.InsideTag,ue+=' version="'+oe.version+'"',oe.encoding!=null&&(ue+=' encoding="'+oe.encoding+'"'),oe.standalone!=null&&(ue+=' standalone="'+oe.standalone+'"'),ie.state=$.CloseTag,ue+=ie.spaceBeforeSlash+"?>",ue+=this.endline(oe,ie,le),ie.state=$.None,this.closeNode(oe,ie,le),ue},z.prototype.docType=function(oe,ie,le){var ue,de,Ne,pe,_e;if(le||(le=0),this.openNode(oe,ie,le),ie.state=$.OpenTag,pe=this.indent(oe,ie,le),pe+="<!DOCTYPE "+oe.root().name,oe.pubID&&oe.sysID?pe+=' PUBLIC "'+oe.pubID+'" "'+oe.sysID+'"':oe.sysID&&(pe+=' SYSTEM "'+oe.sysID+'"'),oe.children.length>0){for(pe+=" [",pe+=this.endline(oe,ie,le),ie.state=$.InsideTag,_e=oe.children,de=0,Ne=_e.length;de<Ne;de++)ue=_e[de],pe+=this.writeChildNode(ue,ie,le+1);ie.state=$.CloseTag,pe+="]"}return ie.state=$.CloseTag,pe+=ie.spaceBeforeSlash+">",pe+=this.endline(oe,ie,le),ie.state=$.None,this.closeNode(oe,ie,le),pe},z.prototype.element=function(oe,ie,le){var ue,de,Ne,pe,_e,he,Ce,Fe,$e,Lt,Et,Ue,qe,Ve;le||(le=0),Lt=!1,Et="",this.openNode(oe,ie,le),ie.state=$.OpenTag,Et+=this.indent(oe,ie,le)+"<"+oe.name,Ue=oe.attribs;for($e in Ue)re.call(Ue,$e)&&(ue=Ue[$e],Et+=this.attribute(ue,ie,le));if(Ne=oe.children.length,pe=Ne===0?null:oe.children[0],Ne===0||oe.children.every(function(jt){return(jt.type===j.Text||jt.type===j.Raw)&&jt.value===""}))ie.allowEmpty?(Et+=">",ie.state=$.CloseTag,Et+="</"+oe.name+">"+this.endline(oe,ie,le)):(ie.state=$.CloseTag,Et+=ie.spaceBeforeSlash+"/>"+this.endline(oe,ie,le));else if(ie.pretty&&Ne===1&&(pe.type===j.Text||pe.type===j.Raw)&&pe.value!=null)Et+=">",ie.state=$.InsideTag,ie.suppressPrettyCount++,Lt=!0,Et+=this.writeChildNode(pe,ie,le+1),ie.suppressPrettyCount--,Lt=!1,ie.state=$.CloseTag,Et+="</"+oe.name+">"+this.endline(oe,ie,le);else{if(ie.dontPrettyTextNodes){for(qe=oe.children,_e=0,Ce=qe.length;_e<Ce;_e++)if(de=qe[_e],(de.type===j.Text||de.type===j.Raw)&&de.value!=null){ie.suppressPrettyCount++,Lt=!0;break}}for(Et+=">"+this.endline(oe,ie,le),ie.state=$.InsideTag,Ve=oe.children,he=0,Fe=Ve.length;he<Fe;he++)de=Ve[he],Et+=this.writeChildNode(de,ie,le+1);ie.state=$.CloseTag,Et+=this.indent(oe,ie,le)+"</"+oe.name+">",Lt&&ie.suppressPrettyCount--,Et+=this.endline(oe,ie,le),ie.state=$.None}return this.closeNode(oe,ie,le),Et},z.prototype.writeChildNode=function(oe,ie,le){switch(oe.type){case j.CData:return this.cdata(oe,ie,le);case j.Comment:return this.comment(oe,ie,le);case j.Element:return this.element(oe,ie,le);case j.Raw:return this.raw(oe,ie,le);case j.Text:return this.text(oe,ie,le);case j.ProcessingInstruction:return this.processingInstruction(oe,ie,le);case j.Dummy:return"";case j.Declaration:return this.declaration(oe,ie,le);case j.DocType:return
|
|||
|
`))}L.createHash=function(Ne){return ue(Ne)},L.createHmac=function(Ne,pe){return ue(Ne,pe)},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(y,k,L){y("core-js/modules/es.array.fill.js"),y("core-js/modules/es.array.concat.js");var j=y("buffer").Buffer,$=4,V=j.alloc($);V.fill(0);var re=8;function z(le,ue){if(le.length%$!==0){var de=le.length+($-le.length%$);le=j.concat([le,V],de)}for(var Ne=[],pe=ue?le.readInt32BE:le.readInt32LE,_e=0;_e<le.length;_e+=$)Ne.push(pe.call(le,_e));return Ne}function oe(le,ue,de){for(var Ne=j.alloc(ue),pe=de?Ne.writeInt32BE:Ne.writeInt32LE,_e=0;_e<le.length;_e++)pe.call(Ne,le[_e],_e*4,!0);return Ne}function ie(le,ue,de,Ne){j.isBuffer(le)||(le=j.from(le));var pe=ue(z(le,Ne),le.length*re);return oe(pe,de,Ne)}k.exports={hash:ie}},{buffer:103,"core-js/modules/es.array.concat.js":310,"core-js/modules/es.array.fill.js":311}],535:[function(y,k,L){var j=y("./helpers");function $(de,Ne){de[Ne>>5]|=128<<Ne%32,de[(Ne+64>>>9<<4)+14]=Ne;for(var pe=1732584193,_e=-271733879,he=-1732584194,Ce=271733878,Fe=0;Fe<de.length;Fe+=16){var $e=pe,Lt=_e,Et=he,Ue=Ce;pe=re(pe,_e,he,Ce,de[Fe+0],7,-680876936),Ce=re(Ce,pe,_e,he,de[Fe+1],12,-389564586),he=re(he,Ce,pe,_e,de[Fe+2],17,606105819),_e=re(_e,he,Ce,pe,de[Fe+3],22,-1044525330),pe=re(pe,_e,he,Ce,de[Fe+4],7,-176418897),Ce=re(Ce,pe,_e,he,de[Fe+5],12,1200080426),he=re(he,Ce,pe,_e,de[Fe+6],17,-1473231341),_e=re(_e,he,Ce,pe,de[Fe+7],22,-45705983),pe=re(pe,_e,he,Ce,de[Fe+8],7,1770035416),Ce=re(Ce,pe,_e,he,de[Fe+9],12,-1958414417),he=re(he,Ce,pe,_e,de[Fe+10],17,-42063),_e=re(_e,he,Ce,pe,de[Fe+11],22,-1990404162),pe=re(pe,_e,he,Ce,de[Fe+12],7,1804603682),Ce=re(Ce,pe,_e,he,de[Fe+13],12,-40341101),he=re(he,Ce,pe,_e,de[Fe+14],17,-1502002290),_e=re(_e,he,Ce,pe,de[Fe+15],22,1236535329),pe=z(pe,_e,he,Ce,de[Fe+1],5,-165796510),Ce=z(Ce,pe,_e,he,de[Fe+6],9,-1069501632),he=z(he,Ce,pe,_e,de[Fe+11],14,643717713),_e=z(_e,he,Ce,pe,de[Fe+0],20,-373897302),pe=z(pe,_e,he,Ce,de[Fe+5],5,-701558691),Ce=z(Ce,pe,_e,he,de[Fe+10],9,38016083),he=z(he,Ce,pe,_e,de[Fe+15],14,-660478335),_e=z(_e,he,Ce,pe,de[Fe+4],20,-405537848),pe=z(pe,_e,he,Ce,de[Fe+9],5,568446438),Ce=z(Ce,pe,_e,he,de[Fe+14],9,-1019803690),he=z(he,Ce,pe,_e,de[Fe+3],14,-187363961),_e=z(_e,he,Ce,pe,de[Fe+8],20,1163531501),pe=z(pe,_e,he,Ce,de[Fe+13],5,-1444681467),Ce=z(Ce,pe,_e,he,de[Fe+2],9,-51403784),he=z(he,Ce,pe,_e,de[Fe+7],14,1735328473),_e=z(_e,he,Ce,pe,de[Fe+12],20,-1926607734),pe=oe(pe,_e,he,Ce,de[Fe+5],4,-378558),Ce=oe(Ce,pe,_e,he,de[Fe+8],11,-2022574463),he=oe(he,Ce,pe,_e,de[Fe+11],16,1839030562),_e=oe(_e,he,Ce,pe,de[Fe+14],23,-35309556),pe=oe(pe,_e,he,Ce,de[Fe+1],4,-1530992060),Ce=oe(Ce,pe,_e,he,de[Fe+4],11,1272893353),he=oe(he,Ce,pe,_e,de[Fe+7],16,-155497632),_e=oe(_e,he,Ce,pe,de[Fe+10],23,-1094730640),pe=oe(pe,_e,he,Ce,de[Fe+13],4,681279174),Ce=oe(Ce,pe,_e,he,de[Fe+0],11,-358537222),he=oe(he,Ce,pe,_e,de[Fe+3],16,-722521979),_e=oe(_e,he,Ce,pe,de[Fe+6],23,76029189),pe=oe(pe,_e,he,Ce,de[Fe+9],4,-640364487),Ce=oe(Ce,pe,_e,he,de[Fe+12],11,-421815835),he=oe(he,Ce,pe,_e,de[Fe+15],16,530742520),_e=oe(_e,he,Ce,pe,de[Fe+2],23,-995338651),pe=ie(pe,_e,he,Ce,de[Fe+0],6,-198630844),Ce=ie(Ce,pe
|
|||
|
`," "],de=["{","}","|","\\","^","`"].concat(ue),Ne=["'"].concat(de),pe=["%","/","?",";","#"].concat(Ne),_e=["/","?","#"],he=255,Ce=/^[+a-z0-9A-Z_-]{0,63}$/,Fe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,$e={javascript:!0,"javascript:":!0},Lt={javascript:!0,"javascript:":!0},Et={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Ue=y("querystring");function qe(ir,rr,or){if(ir&&re.isObject(ir)&&ir instanceof z)return ir;var lr=new z;return lr.parse(ir,rr,or),lr}z.prototype.parse=function(ir,rr,or){if(!re.isString(ir))throw new TypeError("Parameter 'url' must be a string, not "+(0,$.default)(ir));var lr=ir.indexOf("?"),hr=lr!==-1&&lr<ir.indexOf("#")?"?":"#",fr=ir.split(hr),vr=/\\/g;fr[0]=fr[0].replace(vr,"/"),ir=fr.join(hr);var Dr=ir;if(Dr=Dr.trim(),!or&&ir.split("#").length===1){var Sr=le.exec(Dr);if(Sr)return this.path=Dr,this.href=Dr,this.pathname=Sr[1],Sr[2]?(this.search=Sr[2],rr?this.query=Ue.parse(this.search.substr(1)):this.query=this.search.substr(1)):rr&&(this.search="",this.query={}),this}var br=oe.exec(Dr);if(br){br=br[0];var Cr=br.toLowerCase();this.protocol=Cr,Dr=Dr.substr(br.length)}if(or||br||Dr.match(/^\/\/[^@\/]+@[^@\/]+/)){var Ir=Dr.substr(0,2)==="//";Ir&&!(br&&Lt[br])&&(Dr=Dr.substr(2),this.slashes=!0)}if(!Lt[br]&&(Ir||br&&!Et[br])){for(var Ar=-1,dr=0;dr<_e.length;dr++){var cr=Dr.indexOf(_e[dr]);cr!==-1&&(Ar===-1||cr<Ar)&&(Ar=cr)}var Rr,Pr;Ar===-1?Pr=Dr.lastIndexOf("@"):Pr=Dr.lastIndexOf("@",Ar),Pr!==-1&&(Rr=Dr.slice(0,Pr),Dr=Dr.slice(Pr+1),this.auth=decodeURIComponent(Rr)),Ar=-1;for(var dr=0;dr<pe.length;dr++){var cr=Dr.indexOf(pe[dr]);cr!==-1&&(Ar===-1||cr<Ar)&&(Ar=cr)}Ar===-1&&(Ar=Dr.length),this.host=Dr.slice(0,Ar),Dr=Dr.slice(Ar),this.parseHost(),this.hostname=this.hostname||"";var Mr=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Mr)for(var jr=this.hostname.split("."),dr=0,mr=jr.length;dr<mr;dr++){var gr=jr[dr];if(gr&&!gr.match(Ce)){for(var xr="",pr=0,_r=gr.length;pr<_r;pr++)gr.charCodeAt(pr)>127?xr+="x":xr+=gr[pr];if(!xr.match(Ce)){var wr=jr.slice(0,dr),Tr=jr.slice(dr+1),$r=gr.match(Fe);$r&&(wr.push($r[1]),Tr.unshift($r[2])),Tr.length&&(Dr="/"+Tr.join(".")+Dr),this.hostname=wr.join(".");break}}}this.hostname.length>he?this.hostname="":this.hostname=this.hostname.toLowerCase(),Mr||(this.hostname=V.toASCII(this.hostname));var Fr=this.port?":"+this.port:"",yr=this.hostname||"";this.host=yr+Fr,this.href+=this.host,Mr&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Dr[0]!=="/"&&(Dr="/"+Dr))}if(!$e[Cr])for(var dr=0,mr=Ne.length;dr<mr;dr++){var kr=Ne[dr];if(Dr.indexOf(kr)!==-1){var Ur=encodeURIComponent(kr);Ur===kr&&(Ur=escape(kr)),Dr=Dr.split(kr).join(Ur)}}var Hi=Dr.indexOf("#");Hi!==-1&&(this.hash=Dr.substr(Hi),Dr=Dr.slice(0,Hi));var bo=Dr.indexOf("?");if(bo!==-1?(this.search=Dr.substr(bo),this.query=Dr.substr(bo+1),rr&&(this.query=Ue.parse(this.query)),Dr=Dr.slice(0,bo)):rr&&(this.search="",this.query={}),Dr&&(this.pathname=Dr),Et[Cr]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Fr=this.pathname||"",xa=this.search||"";this.path=Fr+xa}return this.href=this.format(),this};function Ve(ir){return re.isString(ir)&&(ir=qe(ir)),ir instanceof z?ir.format():z.prototype.format.call(ir)}z.prototype.format=function(){var ir=this.auth||"";ir&&(ir=encodeURIComponent(ir),ir=ir.replace(/%3A/i,":"),ir+="@");var rr=this.protocol||"",or=this.pathname||"",lr=this.hash||"",hr=!1,fr="";this.host?hr=ir+this.host:this.hostname&&(hr=ir+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(hr+=":"+this.port)),this.query&&re.isObject(this.query)&&Object.keys(this.query).length&&(fr=Ue.stringify(this.query));var vr=this.search||fr&&"?"+fr||"";return rr&&rr.substr(-1)!==":"&&(rr+=":"),this.slashes||(!rr||Et[rr])&&hr!==!1?(hr="//"+(hr||""),or&&or.charAt(0)!=="/"&&(or="/"+or)):hr||(hr=""),lr&&lr.charAt(0)!=="#"&&(lr="#"+lr),vr&&vr.charAt(0)!=="?"&&(vr="?"+vr),or=or.replace(/[?#]/g,function(Dr){return encodeURIComponent(Dr)}),vr=vr.replace("#","%23"),rr+hr+or+vr+lr};function jt(ir,rr){return
|
|||
|
stack: %s`,Date(),jt,j.pid,Er.name,Er.message,Er.stack);return}var ra=qe;qe=null;var Fi={};En&&(gr=En.statusCode,Fi=En.headers);var Ta=Date.now()-ir;wr&&(wr.contentDownload=Ta),ue("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Ta,mr,gr,Dr.method,Dr.host,Dr.path,jr,wr);var eo={status:gr,statusCode:gr,headers:Fi,size:mr,aborted:xr,rt:Ta,keepAliveSocket:jr,data:vn,requestUrls:Ue.requestUrls,timing:wr,remoteAddress:pr,remotePort:_r};if(Er){var ni="";fr&&typeof fr.getCurrentStatus=="function"&&(ni=", agent status: "+JSON.stringify(fr.getCurrentStatus())),Er.message+=", "+Dr.method+" "+Et+" "+gr+" (connected: "+Mr+", keepalive socket: "+jr+ni+`)
|
|||
|
headers: `+JSON.stringify(Fi),Er.data=vn,Er.path=Dr.path,Er.status=gr,Er.headers=Fi,Er.res=eo}ra(Er,vn,Ue.streaming?En:eo),Ue.emitter&&(tr.url=Et,tr.socket=Rn&&Rn.connection,tr.options=Dr,tr.size=Ar,Ue.emitter.emit("response",{requestId:jt,error:Er,ctx:Ue.ctx,req:tr,res:eo}))}function yr(Er){var vn=null;if(Ue.followRedirect&&statuses.redirect[Er.statusCode]){Ue._followRedirectCount=(Ue._followRedirectCount||0)+1;var En=Er.headers.location;if(!En)vn=new Error("Got statusCode "+Er.statusCode+" but cannot resolve next location from headers"),vn.name="FollowRedirectError";else if(Ue._followRedirectCount>Ue.maxRedirects)vn=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+Et),vn.name="MaxRedirectError";else{var ra=Ue.formatRedirectUrl?Ue.formatRedirectUrl(Et,En):oe.resolve(Et,En);ue("Request#%d %s: `redirected` from %s to %s",jt,Dr.path,Et,ra),$r(),Ue.headers&&Ue.headers.Host&&_e.test(En)&&(Ue.headers.Host=null);var Fi=qe;return qe=null,L.requestWithCallback(ra,Ue,Fi),{redirect:!0,error:null}}}return{redirect:!1,error:vn}}Ue.gzip&&!Dr.headers["Accept-Encoding"]&&!Dr.headers["accept-encoding"]&&(Dr.headers["Accept-Encoding"]="gzip");function kr(Er,vn,En){var ra=Er.headers["content-encoding"];return En(null,vn,ra)}var Ur=Ue.writeStream;ue("Request#%d %s %s with headers %j, options.path: %s",jt,or,Et,Dr.headers,Dr.path),Ue.requestUrls.push(Et);function Hi(Er){if(wr&&(wr.waiting=Date.now()-ir),ue("Request#%d %s `req response` event emit: status %d, headers: %j",jt,Et,Er.statusCode,Er.headers),Ue.streaming){var vn=yr(Er);if(vn.redirect){Er.resume();return}return vn.error?(Er.resume(),Fr(vn.error,null,Er)):Fr(null,null,Er)}if(Er.on("close",function(){ue("Request#%d %s: `res close` event emit, total size %d",jt,Et,mr)}),Er.on("error",function(){ue("Request#%d %s: `res error` event emit, total size %d",jt,Et,mr)}),Er.on("aborted",function(){xr=!0,ue("Request#%d %s: `res aborted` event emit, total size %d",jt,Et,mr)}),Ur){var En=yr(Er);if(En.redirect){Er.resume();return}return En.error?(Er.resume(),Ur.end(),Fr(En.error,null,Er)):(Ue.consumeWriteStream===!1?Er.on("end",Fr.bind(null,null,null,Er)):Ur.on("close",function(){ue("Request#%d %s: writeStream close event emitted",jt,Et),Fr(Pr||null,null,Er)}),Er.pipe(Ur))}var ra=[];Er.on("data",function(Fi){ue("Request#%d %s: `res data` event emit, size %d",jt,Et,Fi.length),mr+=Fi.length,ra.push(Fi)}),Er.on("end",function(){var Fi=$.concat(ra,mr);if(ue("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",jt,Et,mr,Er._dumped),Pr)return Fr(Pr,Fi,Er);var Ta=yr(Er);if(Ta.error)return Fr(Ta.error,Fi,Er);Ta.redirect||kr(Er,Fi,function(eo,ni,Mi){if(eo)return Fr(eo,Fi,Er);if(!Mi&&$e.indexOf(Ue.dataType)>=0){try{ni=decodeBodyByCharset(ni,Er)}catch(vs){return ue("decodeBodyByCharset error: %s",vs),Fr(null,ni,Er)}if(Ue.dataType==="json")if(mr===0)ni=null;else{var fa=parseJSON(ni,vr);fa.error?eo=fa.error:ni=fa.data}}xr&&ue("Request#%d %s: Remote socket was terminated before `response.end()` was called",jt,Et),Fr(eo,ni,Er)})})}var bo,xa;Array.isArray(Ue.timeout)?(bo=de(Ue.timeout[0]),xa=de(Ue.timeout[1])):bo=xa=de(Ue.timeout),ue("ConnectTimeout: %d, ResponseTimeout: %d",bo,xa);function Ao(){ue("Connect timer ticking, timeout: %d",bo),cr=setTimeout(function(){cr=null,gr===-1&&(gr=-2);var Er="Connect timeout for "+bo+"ms",vn="ConnectionTimeoutError";Rn.socket||(vn="SocketAssignTimeoutError",Er+=", working sockets is full"),Pr=new Error(Er),Pr.name=vn,Pr.requestId=jt,ue("ConnectTimeout: Request#%d %s %s: %s, connected: %s",jt,Et,Pr.name,Er,Mr),Lr()},bo)}function Go(){ue("Response timer ticking, timeout: %d",xa),Rr=setTimeout(function(){Rr=null;var Er="Response timeout for "+xa+"ms",vn="ResponseTimeoutError";Pr=new Error(Er),Pr.name=vn,Pr.requestId=jt,ue("ResponseTimeout: Request#%d %s %s: %s, connected: %s",jt,Et,Pr.name,Er,Mr),Lr()},xa)}var Rn;Dr.mode=Ue.mode?Ue.mode:"";try{Rn=hr.request(Dr,Hi)}catch(Er){return Fr(Er)}typeof window>"u"?Ao():Rn.on("requestTimeout",function(){gr===-1&&(gr=-2);var Er="Connect timeout for "+bo+"ms",vn="ConnectionTimeoutError";Pr=new Error(Er),Pr
|
|||
|
* The buffer module from node.js, for the browser.
|
|||
|
*
|
|||
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|||
|
* @license MIT
|
|||
|
*/(function(e){var t=base64Js,n=ieee754,y=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=$,e.SlowBuffer=_e,e.INSPECT_MAX_BYTES=50;var k=2147483647;e.kMaxLength=k,$.TYPED_ARRAY_SUPPORT=L(),!$.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 pr=new Uint8Array(1),_r={foo:function(){return 42}};return Object.setPrototypeOf(_r,Uint8Array.prototype),Object.setPrototypeOf(pr,_r),pr.foo()===42}catch{return!1}}Object.defineProperty($.prototype,"parent",{enumerable:!0,get:function(){if($.isBuffer(this))return this.buffer}}),Object.defineProperty($.prototype,"offset",{enumerable:!0,get:function(){if($.isBuffer(this))return this.byteOffset}});function j(pr){if(pr>k)throw new RangeError('The value "'+pr+'" is invalid for option "size"');var _r=new Uint8Array(pr);return Object.setPrototypeOf(_r,$.prototype),_r}function $(pr,_r,wr){if(typeof pr=="number"){if(typeof _r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return oe(pr)}return V(pr,_r,wr)}$.poolSize=8192;function V(pr,_r,wr){if(typeof pr=="string")return ie(pr,_r);if(ArrayBuffer.isView(pr))return ue(pr);if(pr==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof pr);if(mr(pr,ArrayBuffer)||pr&&mr(pr.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(mr(pr,SharedArrayBuffer)||pr&&mr(pr.buffer,SharedArrayBuffer)))return de(pr,_r,wr);if(typeof pr=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Tr=pr.valueOf&&pr.valueOf();if(Tr!=null&&Tr!==pr)return $.from(Tr,_r,wr);var $r=Ne(pr);if($r)return $r;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof pr[Symbol.toPrimitive]=="function")return $.from(pr[Symbol.toPrimitive]("string"),_r,wr);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof pr)}$.from=function(pr,_r,wr){return V(pr,_r,wr)},Object.setPrototypeOf($.prototype,Uint8Array.prototype),Object.setPrototypeOf($,Uint8Array);function re(pr){if(typeof pr!="number")throw new TypeError('"size" argument must be of type number');if(pr<0)throw new RangeError('The value "'+pr+'" is invalid for option "size"')}function z(pr,_r,wr){return re(pr),pr<=0?j(pr):_r!==void 0?typeof wr=="string"?j(pr).fill(_r,wr):j(pr).fill(_r):j(pr)}$.alloc=function(pr,_r,wr){return z(pr,_r,wr)};function oe(pr){return re(pr),j(pr<0?0:pe(pr)|0)}$.allocUnsafe=function(pr){return oe(pr)},$.allocUnsafeSlow=function(pr){return oe(pr)};function ie(pr,_r){if((typeof _r!="string"||_r==="")&&(_r="utf8"),!$.isEncoding(_r))throw new TypeError("Unknown encoding: "+_r);var wr=he(pr,_r)|0,Tr=j(wr),$r=Tr.write(pr,_r);return $r!==wr&&(Tr=Tr.slice(0,$r)),Tr}function le(pr){for(var _r=pr.length<0?0:pe(pr.length)|0,wr=j(_r),Tr=0;Tr<_r;Tr+=1)wr[Tr]=pr[Tr]&255;return wr}function ue(pr){if(mr(pr,Uint8Array)){var _r=new Uint8Array(pr);return de(_r.buffer,_r.byteOffset,_r.byteLength)}return le(pr)}function de(pr,_r,wr){if(_r<0||pr.byteLength<_r)throw new RangeError('"offset" is outside of buffer bounds');if(pr.byteLength<_r+(wr||0))throw new RangeError('"length" is outside of buffer bounds');var Tr;return _r===void 0&&wr===void 0?Tr=new Uint8Array(pr):wr===void 0?Tr=new Uint8Array(pr,_r):Tr=new Uint8Array(pr,_r,wr),Object.setPrototypeOf(Tr,$.prototype),Tr}function Ne(pr){if($.isBuffer(pr)){var _r=pe(pr.length)|0,wr=j(_r);return wr.length===0||pr.copy(wr,0,0,_r),wr}if(pr.length!==void 0)return typeof pr.length!="number"||gr(pr.length)?j(0):le(pr);if(pr.type==="Buffer"&&Array.isArray(pr.data))return le(pr.data)}function pe(pr){if(pr>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return pr|0}function _e(pr){return+pr!=pr&&
|
|||
|
`)>-1&&(Rr?Mr=Mr.split(`
|
|||
|
`).map(function(mr){return" "+mr}).join(`
|
|||
|
`).slice(2):Mr=`
|
|||
|
`+Mr.split(`
|
|||
|
`).map(function(mr){return" "+mr}).join(`
|
|||
|
`))):Mr=Cr.stylize("[Circular]","special")),Ue(Pr)){if(Rr&&cr.match(/^\d+$/))return Mr;Pr=JSON.stringify(""+cr),Pr.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Pr=Pr.slice(1,-1),Pr=Cr.stylize(Pr,"name")):(Pr=Pr.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Pr=Cr.stylize(Pr,"string"))}return Pr+": "+Mr}function pe(Cr,Ir,Ar){var dr=Cr.reduce(function(cr,Rr){return Rr.indexOf(`
|
|||
|
`)>=0,cr+Rr.replace(/\u001b\[\d\d?m/g,"").length+1},0);return dr>60?Ar[0]+(Ir===""?"":Ir+`
|
|||
|
`)+" "+Cr.join(`,
|
|||
|
`)+" "+Ar[1]:Ar[0]+Ir+" "+Cr.join(", ")+" "+Ar[1]}e.types=types;function _e(Cr){return Array.isArray(Cr)}e.isArray=_e;function he(Cr){return typeof Cr=="boolean"}e.isBoolean=he;function Ce(Cr){return Cr===null}e.isNull=Ce;function Fe(Cr){return Cr==null}e.isNullOrUndefined=Fe;function $e(Cr){return typeof Cr=="number"}e.isNumber=$e;function Lt(Cr){return typeof Cr=="string"}e.isString=Lt;function Et(Cr){return typeof Cr=="symbol"}e.isSymbol=Et;function Ue(Cr){return Cr===void 0}e.isUndefined=Ue;function qe(Cr){return Ve(Cr)&&or(Cr)==="[object RegExp]"}e.isRegExp=qe,e.types.isRegExp=qe;function Ve(Cr){return typeof Cr=="object"&&Cr!==null}e.isObject=Ve;function jt(Cr){return Ve(Cr)&&or(Cr)==="[object Date]"}e.isDate=jt,e.types.isDate=jt;function tr(Cr){return Ve(Cr)&&(or(Cr)==="[object Error]"||Cr instanceof Error)}e.isError=tr,e.types.isNativeError=tr;function ir(Cr){return typeof Cr=="function"}e.isFunction=ir;function rr(Cr){return Cr===null||typeof Cr=="boolean"||typeof Cr=="number"||typeof Cr=="string"||typeof Cr=="symbol"||typeof Cr>"u"}e.isPrimitive=rr,e.isBuffer=isBufferBrowser;function or(Cr){return Object.prototype.toString.call(Cr)}function lr(Cr){return Cr<10?"0"+Cr.toString(10):Cr.toString(10)}var hr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function fr(){var Cr=new Date,Ir=[lr(Cr.getHours()),lr(Cr.getMinutes()),lr(Cr.getSeconds())].join(":");return[Cr.getDate(),hr[Cr.getMonth()],Ir].join(" ")}e.log=function(){console.log("%s - %s",fr(),e.format.apply(e,arguments))},e.inherits=inherits_browserExports,e._extend=function(Cr,Ir){if(!Ir||!Ve(Ir))return Cr;for(var Ar=Object.keys(Ir),dr=Ar.length;dr--;)Cr[Ar[dr]]=Ir[Ar[dr]];return Cr};function vr(Cr,Ir){return Object.prototype.hasOwnProperty.call(Cr,Ir)}var Dr=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(Ir){if(typeof Ir!="function")throw new TypeError('The "original" argument must be of type Function');if(Dr&&Ir[Dr]){var Ar=Ir[Dr];if(typeof Ar!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Ar,Dr,{value:Ar,enumerable:!1,writable:!1,configurable:!0}),Ar}function Ar(){for(var dr,cr,Rr=new Promise(function(jr,mr){dr=jr,cr=mr}),Pr=[],Mr=0;Mr<arguments.length;Mr++)Pr.push(arguments[Mr]);Pr.push(function(jr,mr){jr?cr(jr):dr(mr)});try{Ir.apply(this,Pr)}catch(jr){cr(jr)}return Rr}return Object.setPrototypeOf(Ar,Object.getPrototypeOf(Ir)),Dr&&Object.defineProperty(Ar,Dr,{value:Ar,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Ar,y(Ir))},e.promisify.custom=Dr;function Sr(Cr,Ir){if(!Cr){var Ar=new Error("Promise was rejected with a falsy value");Ar.reason=Cr,Cr=Ar}return Ir(Cr)}function br(Cr){if(typeof Cr!="function")throw new TypeError('The "original" argument must be of type Function');function Ir(){for(var Ar=[],dr=0;dr<arguments.length;dr++)Ar.push(arguments[dr]);var cr=Ar.pop();if(typeof cr!="function")throw new TypeError("The last argument must be of type Function");var Rr=this,Pr=function(){return cr.apply(Rr,arguments)};Cr.apply(this,Ar).then(function(Mr){t.nextTick(Pr.bind(null,null,Mr))},function(Mr){t.nextTick(Sr.bind(null,Mr,Pr))})}return Object.setPrototypeOf(Ir,Object.getPrototypeOf(Cr)),Object.defineProperties(Ir,y(Cr)),Ir}e.callbackify=br})(util$5);var buffer_list,hasRequiredBuffer_list;function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;hasRequiredBuffer_list=1;function e(ue,de){var Ne=Object.keys(ue);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(ue);de&&(pe=pe.filter(function(_e){return Object.getOwnPropertyDescriptor(ue,_e).enumerable})),Ne.push.apply(Ne,pe)}return Ne}function t(ue){for(var de=1;de<arguments.length;de++){var Ne=arguments[de]!=null?arguments[de]:{};de%2?e(Object(Ne),!0).forEach(function(pe){n(ue,pe,Ne[pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ue,Object.getOwnPropertyDescriptors(Ne)):e(Object(Ne)).forEach(function(pe){Object.defineProperty(ue,pe,Object.getOwnPropertyDescriptor(Ne,pe))})}return ue}function n(ue
|
|||
|
`,n);n=k===-1?e.length:k}else if(y!==-1&&e[n]==="/"&&e[n+1]==="*"){let k=e.indexOf("*/",n);k!==-1?(n=k+2,y=e.indexOf("*/",n)):(t+=e[n],n++)}else t+=e[n],n++;return t}function parseParams(e){const t=stripComments(e.toString());let n=t.match(FN_ARGS);if(n||(n=t.match(ARROW_FN_ARGS)),!n)throw new Error(`could not parse args in autoInject
|
|||
|
Source:
|
|||
|
`+t);let[,y]=n;return y.replace(/\s/g,"").split(FN_ARG_SPLIT).map(k=>k.replace(FN_ARG,"").trim())}function autoInject(e,t){var n={};return Object.keys(e).forEach(y=>{var k=e[y],L,j=isAsync(k),$=!j&&k.length===1||j&&k.length===0;if(Array.isArray(k))L=[...k],k=L.pop(),n[y]=L.concat(L.length>0?V:k);else if($)n[y]=k;else{if(L=parseParams(k),k.length===0&&!j&&L.length===0)throw new Error("autoInject task functions require explicit parameters.");j||L.pop(),n[y]=L.concat(V)}function V(re,z){var oe=L.map(ie=>re[ie]);oe.push(z),wrapAsync(k)(...oe)}}),auto(n,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,n){n.prev=t,n.next=t.next,t.next?t.next.prev=n:this.tail=n,t.next=n,this.length+=1}insertBefore(t,n){n.prev=t.prev,n.next=t,t.prev?t.prev.next=n:this.head=n,t.prev=n,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 n=this.head;n;){var{next:y}=n;t(n)&&this.removeLink(n),n=y}return this}}function setInitial(e,t){e.length=1,e.head=e.tail=t}function queue$1(e,t,n){if(t==null)t=1;else if(t===0)throw new RangeError("Concurrency must not be zero");var y=wrapAsync(e),k=0,L=[];const j={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function $(_e,he){j[_e].push(he)}function V(_e,he){const Ce=(...Fe)=>{re(_e,Ce),he(...Fe)};j[_e].push(Ce)}function re(_e,he){if(!_e)return Object.keys(j).forEach(Ce=>j[Ce]=[]);if(!he)return j[_e]=[];j[_e]=j[_e].filter(Ce=>Ce!==he)}function z(_e,...he){j[_e].forEach(Ce=>Ce(...he))}var oe=!1;function ie(_e,he,Ce,Fe){if(Fe!=null&&typeof Fe!="function")throw new Error("task callback must be a function");pe.started=!0;var $e,Lt;function Et(qe,...Ve){if(qe)return Ce?Lt(qe):$e();if(Ve.length<=1)return $e(Ve[0]);$e(Ve)}var Ue=pe._createTaskItem(_e,Ce?Et:Fe||Et);if(he?pe._tasks.unshift(Ue):pe._tasks.push(Ue),oe||(oe=!0,setImmediate$1$1(()=>{oe=!1,pe.process()})),Ce||!Fe)return new Promise((qe,Ve)=>{$e=qe,Lt=Ve})}function le(_e){return function(he,...Ce){k-=1;for(var Fe=0,$e=_e.length;Fe<$e;Fe++){var Lt=_e[Fe],Et=L.indexOf(Lt);Et===0?L.shift():Et>0&&L.splice(Et,1),Lt.callback(he,...Ce),he!=null&&z("error",he,Lt.data)}k<=pe.concurrency-pe.buffer&&z("unsaturated"),pe.idle()&&z("drain"),pe.process()}}function ue(_e){return _e.length===0&&pe.idle()?(setImmediate$1$1(()=>z("drain")),!0):!1}const de=_e=>he=>{if(!he)return new Promise((Ce,Fe)=>{V(_e,($e,Lt)=>{if($e)return Fe($e);Ce(Lt)})});re(_e),$(_e,he)};var Ne=!1,pe={_tasks:new DLL,_createTaskItem(_e,he){return{data:_e,callback:he}},*[Symbol.iterator](){yield*pe._tasks[Symbol.iterator]()},concurrency:t,payload:n,buffer:t/4,started:!1,paused:!1,push(_e,he){return Array.isArray(_e)?ue(_e)?void 0:_e.map(Ce=>ie(Ce,!1,!1,he)):ie(_e,!1,!1,he)},pushAsync(_e,he){return Array.isArray(_e)?ue(_e)?void 0:_e.map(Ce=>ie(Ce,!1,!0,he)):ie(_e,!1,!0,he)},kill(){re(),pe._tasks.empty()},unshift(_e,he){return Array.isArray(_e)?ue(_e)?void 0:_e.map(Ce=>ie(Ce,!0,!1,he)):ie(_e,!0,!1,he)},unshiftAsync(_e,he){return Array.isArray(_e)?ue(_e)?void 0:_e.map(Ce=>ie(Ce,!0,!0,he)):ie(_e,!0,!0,he)},remove(_e){pe._tasks.remove(_e)},process(){if(!Ne){for(Ne=!0;!pe.paused&&k<pe.concurrency&&pe._tasks.length;){var _e=[],he=[],Ce=pe._tasks.length;pe.payload&&(Ce=Math.min(Ce,pe.payload));for(var Fe=0;Fe<Ce;Fe++){var $e=pe._tasks.shift();_e.push($e),L.push($e),he.push($e.data)}k+=1,pe._tasks.length===0&&z("empty"),k===pe.concurrency&&z("saturated");var Lt=onlyOnce(le(_e));y(he,Lt)}Ne=!1}},length(){return pe._tasks.length},running(){return k},workersList(){return L},idle(){return pe._tasks.length+k===0},pause(){pe.paused=!0},resume(){pe.paused!==!1&&(pe.paused=!1,setImmedia
|
|||
|
* @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 n,y="4.17.21",k=200,L="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",j="Expected a function",$="Invalid `variable` option passed into `_.template`",V="__lodash_hash_undefined__",re=500,z="__lodash_placeholder__",oe=1,ie=2,le=4,ue=1,de=2,Ne=1,pe=2,_e=4,he=8,Ce=16,Fe=32,$e=64,Lt=128,Et=256,Ue=512,qe=30,Ve="...",jt=800,tr=16,ir=1,rr=2,or=3,lr=1/0,hr=9007199254740991,fr=17976931348623157e292,vr=NaN,Dr=4294967295,Sr=Dr-1,br=Dr>>>1,Cr=[["ary",Lt],["bind",Ne],["bindKey",pe],["curry",he],["curryRight",Ce],["flip",Ue],["partial",Fe],["partialRight",$e],["rearg",Et]],Ir="[object Arguments]",Ar="[object Array]",dr="[object AsyncFunction]",cr="[object Boolean]",Rr="[object Date]",Pr="[object DOMException]",Mr="[object Error]",jr="[object Function]",mr="[object GeneratorFunction]",gr="[object Map]",xr="[object Number]",pr="[object Null]",_r="[object Object]",wr="[object Promise]",Tr="[object Proxy]",$r="[object RegExp]",Fr="[object Set]",yr="[object String]",kr="[object Symbol]",Ur="[object Undefined]",Hi="[object WeakMap]",bo="[object WeakSet]",xa="[object ArrayBuffer]",Ao="[object DataView]",Go="[object Float32Array]",Rn="[object Float64Array]",Lr="[object Int8Array]",Er="[object Int16Array]",vn="[object Int32Array]",En="[object Uint8Array]",ra="[object Uint8ClampedArray]",Fi="[object Uint16Array]",Ta="[object Uint32Array]",eo=/\b__p \+= '';/g,ni=/\b(__p \+=) '' \+/g,Mi=/(__e\(.*?\)|\b__t\)) \+\n'';/g,fa=/&(?:amp|lt|gt|quot|#39);/g,vs=/[&<>"']/g,qo=RegExp(fa.source),nl=RegExp(vs.source),fl=/<%-([\s\S]+?)%>/g,_u=/<%([\s\S]+?)%>/g,hs=/<%=([\s\S]+?)%>/g,Eu=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vu=/^\w*$/,vc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dc=/[\\^$.*+?()[\]{}|]/g,Uu=RegExp(dc.source),vl=/^\s+/,Yo=/\s/,As=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ds=/\{\n\/\* \[wrapped with (.+)\] \*/,Os=/,? & /,Nr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fn=/[()=,{}\[\]\/\s]/,Gr=/\\(\\)?/g,xn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Zn=/\w*$/,di=/^[-+]0x[0-9a-f]+$/i,Ki=/^0b[01]+$/i,ki=/^\[object .+?Constructor\]$/,Mo=/^0o[0-7]+$/i,Qa=/^(?:0|[1-9]\d*)$/,Fo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ss=/($^)/,ms=/['\n\r\u2028\u2029\\]/g,Uo="\\ud800-\\udfff",Bl="\\u0300-\\u036f",Eo="\\ufe20-\\ufe2f",Zl="\\u20d0-\\u20ff",Ml=Bl+Eo+Zl,Qu="\\u2700-\\u27bf",Au="a-z\\xdf-\\xf6\\xf8-\\xff",Ou="\\xac\\xb1\\xd7\\xf7",hn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Oo="\\u2000-\\u206f",pl=" \\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",Ul="A-Z\\xc0-\\xd6\\xd8-\\xde",tl="\\ufe0e\\ufe0f",bu=Ou+hn+Oo+pl,ic="['’]",kc="["+Uo+"]",Zc="["+bu+"]",Yd="["+Ml+"]",jp="\\d+",sc="["+Qu+"]",yd="["+Au+"]",Fc="[^"+Uo+bu+jp+Qu+Au+Ul+"]",np="\\ud83c[\\udffb-\\udfff]",Kd="(?:"+Yd+"|"+np+")",Qp="[^"+Uo+"]",sf="(?:\\ud83c[\\udde6-\\uddff]){2}",Vp="[\\ud800-\\udbff][\\udc00-\\udfff]",dp="["+Ul+"]",Qf="\\u200d",lf="(?:"+yd+"|"+Fc+")",tc="(?:"+dp+"|"+Fc+")",Tf="(?:"+ic+"(?:d|ll|m|re|s|t|ve))?",jf="(?:"+ic+"(?:D|LL|M|RE|S|T|VE))?",Hp=Kd+"?",Cf="["+tl+"]?",Jf="(?:"+Qf+"(?:"+[Qp,sf,Vp].join("|")+")"+Cf+Hp+")*",wf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Zf=Cf+Hp+Jf,bm="(?:"+[sc,sf,Vp].join("|")+")"+Zf,uf="(?:"+[Qp+Yd+"?",Yd,sf,Vp,kc].join("|")+")",Ff=RegExp(ic,"g"),cf=RegExp(Yd,"g"),Vm=RegExp(np+"(?="+np+")|"+uf+Zf,"g"),df=RegExp([dp+"?"+yd+"+"+Tf+"(?="+[Zc,dp,"$"].join("|")+")",tc+"+"+jf+"(?="+[Zc,dp+lf,"$"].join("|")+")",dp+"?"+lf+"+"+Tf,dp+"+"+jf,Dp,wf,jp,bm].join("|"),"g"),yh=RegExp("["+Qf+Uo+Ml+tl+"]"),em=/[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 `+ur+`] */
|
|||
|
`)}function kt(nr){return Gc(nr)||Fh(nr)||!!(Fm&&nr&&nr[Fm])}function er(nr,ur){var Br=typeof nr;return ur=ur??hr,!!ur&&(Br=="number"||Br!="symbol"&&Qa.test(nr))&&nr>-1&&nr%1==0&&nr<ur}function ar(nr,ur,Br){if(!gp(Br))return!1;var Hn=typeof ur;return(Hn=="number"?_m(Br)&&er(ur,Br.length):Hn=="string"&&ur in Br)?rh(Br[ur],nr):!1}function sr(nr,ur){if(Gc(nr))return!1;var Br=typeof nr;return Br=="number"||Br=="symbol"||Br=="boolean"||nr==null||Am(nr)?!0:vu.test(nr)||!Eu.test(nr)||ur!=null&&nr in sd(ur)}function Or(nr){var ur=typeof nr;return ur=="string"||ur=="number"||ur=="symbol"||ur=="boolean"?nr!=="__proto__":nr===null}function Vr(nr){var ur=xs(nr),Br=Ea[ur];if(typeof Br!="function"||!(ur in cl.prototype))return!1;if(nr===Br)return!0;var Hn=Vo(Br);return!!Hn&&nr===Hn[0]}function In(nr){return!!zc&&zc in nr}var Ln=tf?Ih:h0;function zi(nr){var ur=nr&&nr.constructor,Br=typeof ur=="function"&&ur.prototype||kp;return nr===Br}function Ba(nr){return nr===nr&&!gp(nr)}function Xo(nr,ur){return function(Br){return Br==null?!1:Br[nr]===ur&&(ur!==n||nr in sd(Br))}}function Qo(nr){var ur=Kh(nr,function(Hn){return Br.size===re&&Br.clear(),Hn}),Br=ur.cache;return ur}function ss(nr,ur){var Br=nr[1],Hn=ur[1],Na=Br|Hn,Ro=Na<(Ne|pe|Lt),Es=Hn==Lt&&Br==he||Hn==Lt&&Br==Et&&nr[7].length<=ur[8]||Hn==(Lt|Et)&&ur[7].length<=ur[8]&&Br==he;if(!(Ro||Es))return nr;Hn&Ne&&(nr[2]=ur[2],Na|=Br&Ne?0:_e);var Ms=ur[3];if(Ms){var il=nr[3];nr[3]=il?zn(il,Ms,ur[4]):Ms,nr[4]=il?Gd(nr[3],z):ur[4]}return Ms=ur[5],Ms&&(il=nr[5],nr[5]=il?ji(il,Ms,ur[6]):Ms,nr[6]=il?Gd(nr[5],z):ur[6]),Ms=ur[7],Ms&&(nr[7]=Ms),Hn&Lt&&(nr[8]=nr[8]==null?ur[8]:_s(nr[8],ur[8])),nr[9]==null&&(nr[9]=ur[9]),nr[0]=ur[0],nr[1]=Na,nr}function js(nr){var ur=[];if(nr!=null)for(var Br in sd(nr))ur.push(Br);return ur}function ml(nr){return mp.call(nr)}function Ws(nr,ur,Br){return ur=$o(ur===n?nr.length-1:ur,0),function(){for(var Hn=arguments,Na=-1,Ro=$o(Hn.length-ur,0),Es=ul(Ro);++Na<Ro;)Es[Na]=Hn[ur+Na];Na=-1;for(var Ms=ul(ur+1);++Na<ur;)Ms[Na]=Hn[Na];return Ms[ur]=Br(Es),Hd(nr,this,Ms)}}function yl(nr,ur){return ur.length<2?nr:Po(nr,_p(ur,0,-1))}function kl(nr,ur){for(var Br=nr.length,Hn=_s(ur.length,Br),Na=oa(nr);Hn--;){var Ro=ur[Hn];nr[Hn]=er(Ro,Br)?Na[Ro]:n}return nr}function Zo(nr,ur){if(!(ur==="constructor"&&typeof nr[ur]=="function")&&ur!="__proto__")return nr[ur]}var Bu=bc(wh),$u=Ia||function(nr,ur){return od.setTimeout(nr,ur)},gu=bc(kh);function Mu(nr,ur,Br){var Hn=ur+"";return gu(nr,Ie(Hn,fc(xo(Hn),Br)))}function bc(nr){var ur=0,Br=0;return function(){var Hn=Rs(),Na=tr-(Hn-Br);if(Br=Hn,Na>0){if(++ur>=jt)return arguments[0]}else ur=0;return nr.apply(n,arguments)}}function id(nr,ur){var Br=-1,Hn=nr.length,Na=Hn-1;for(ur=ur===n?Hn:ur;++Br<ur;){var Ro=Up(Br,Na),Es=nr[Ro];nr[Ro]=nr[Br],nr[Br]=Es}return nr.length=ur,nr}var La=Qo(function(nr){var ur=[];return nr.charCodeAt(0)===46&&ur.push(""),nr.replace(vc,function(Br,Hn,Na,Ro){ur.push(Na?Ro.replace(Gr,"$1"):Hn||Br)}),ur});function Us(nr){if(typeof nr=="string"||Am(nr))return nr;var ur=nr+"";return ur=="0"&&1/nr==-lr?"-0":ur}function xu(nr){if(nr!=null){try{return zf.call(nr)}catch{}try{return nr+""}catch{}}return""}function fc(nr,ur){return Xd(Cr,function(Br){var Hn="_."+Br[0];ur&Br[1]&&!am(nr,Hn)&&nr.push(Hn)}),nr.sort()}function yc(nr){if(nr instanceof cl)return nr.clone();var ur=new Hl(nr.__wrapped__,nr.__chain__);return ur.__actions__=oa(nr.__actions__),ur.__index__=nr.__index__,ur.__values__=nr.__values__,ur}function Ed(nr,ur,Br){(Br?ar(nr,ur,Br):ur===n)?ur=1:ur=$o(Kc(ur),0);var Hn=nr==null?0:nr.length;if(!Hn||ur<1)return[];for(var Na=0,Ro=0,Es=ul(Wa(Hn/ur));Na<Hn;)Es[Ro++]=_p(nr,Na,Na+=ur);return Es}function Lc(nr){for(var ur=-1,Br=nr==null?0:nr.length,Hn=0,Na=[];++ur<Br;){var Ro=nr[ur];Ro&&(Na[Hn++]=Ro)}return Na}function Yc(){var nr=arguments.length;if(!nr)return[];for(var ur=ul(nr-1),Br=arguments[0],Hn=nr;Hn--;)ur[Hn-1]=arguments[Hn];return Jp(Gc(Br)?oa(Br):[Br],On(ur,1))}var Qc=Ic(function(nr,ur){return Pp(nr)?na(nr,On(ur,1,Pp,!0)):[]}),Jc=Ic(function(nr,ur){var Br=$m(ur);return Pp(Br)&&(Br=n),Pp(nr)?na(nr,On(ur,1,Pp,!0),Ns(Br,2
|
|||
|
`;nr.replace(Ku,function(Pc,ud,Sd,Dm,Xf,Im){return Sd||(Sd=Dm),yu+=nr.slice(pu,Im).replace(ms,_f),ud&&(Ms=!0,yu+=`' +
|
|||
|
__e(`+ud+`) +
|
|||
|
'`),Xf&&(il=!0,yu+=`';
|
|||
|
`+Xf+`;
|
|||
|
__p += '`),Sd&&(yu+=`' +
|
|||
|
((__t = (`+Sd+`)) == null ? '' : __t) +
|
|||
|
'`),pu=Im+Pc.length,Pc}),yu+=`';
|
|||
|
`;var Bc=Uc.call(ur,"variable")&&ur.variable;if(!Bc)yu=`with (obj) {
|
|||
|
`+yu+`
|
|||
|
}
|
|||
|
`;else if(Fn.test(Bc))throw new Hu($);yu=(il?yu.replace(eo,""):yu).replace(ni,"$1").replace(Mi,"$1;"),yu="function("+(Bc||"obj")+`) {
|
|||
|
`+(Bc?"":`obj || (obj = {});
|
|||
|
`)+"var __t, __p = ''"+(Ms?", __e = _.escape":"")+(il?`, __j = Array.prototype.join;
|
|||
|
function print() { __p += __j.call(arguments, '') }
|
|||
|
`:`;
|
|||
|
`)+yu+`return __p
|
|||
|
}`;var Xc=W0(function(){return $c(Ro,Nc+"return "+yu).apply(n,Es)});if(Xc.source=yu,a0(Xc))throw Xc;return Xc}function rb(nr){return Ld(nr).toLowerCase()}function nb(nr){return Ld(nr).toUpperCase()}function ib(nr,ur,Br){if(nr=Ld(nr),nr&&(Br||ur===n))return um(nr);if(!nr||!(ur=Sf(ur)))return nr;var Hn=qp(nr),Na=qp(ur),Ro=yp(Hn,Na),Es=ef(Hn,Na)+1;return Sn(Hn,Ro,Es).join("")}function ab(nr,ur,Br){if(nr=Ld(nr),nr&&(Br||ur===n))return nr.slice(0,Km(nr)+1);if(!nr||!(ur=Sf(ur)))return nr;var Hn=qp(nr),Na=ef(Hn,qp(ur))+1;return Sn(Hn,0,Na).join("")}function ob(nr,ur,Br){if(nr=Ld(nr),nr&&(Br||ur===n))return nr.replace(vl,"");if(!nr||!(ur=Sf(ur)))return nr;var Hn=qp(nr),Na=yp(Hn,qp(ur));return Sn(Hn,Na).join("")}function sb(nr,ur){var Br=qe,Hn=Ve;if(gp(ur)){var Na="separator"in ur?ur.separator:Na;Br="length"in ur?Kc(ur.length):Br,Hn="omission"in ur?Sf(ur.omission):Hn}nr=Ld(nr);var Ro=nr.length;if(Op(nr)){var Es=qp(nr);Ro=Es.length}if(Br>=Ro)return nr;var Ms=Br-cm(Hn);if(Ms<1)return Hn;var il=Es?Sn(Es,0,Ms).join(""):nr.slice(0,Ms);if(Na===n)return il+Hn;if(Es&&(Ms+=il.length-Ms),o0(Na)){if(nr.slice(Ms).search(Na)){var pu,fu=il;for(Na.global||(Na=pm(Na.source,Ld(Zn.exec(Na))+"g")),Na.lastIndex=0;pu=Na.exec(fu);)var yu=pu.index;il=il.slice(0,yu===n?Ms:yu)}}else if(nr.indexOf(Sf(Na),Ms)!=Ms){var Ku=il.lastIndexOf(Na);Ku>-1&&(il=il.slice(0,Ku))}return il+Hn}function lb(nr){return nr=Ld(nr),nr&&qo.test(nr)?nr.replace(fa,Xm):nr}var ub=Wn(function(nr,ur,Br){return nr+(Br?" ":"")+ur.toUpperCase()}),u0=ea("toUpperCase");function q0(nr,ur,Br){return nr=Ld(nr),ur=Br?n:ur,ur===n?qm(nr)?mh(nr):Th(nr):nr.match(ur)||[]}var W0=Ic(function(nr,ur){try{return Hd(nr,n,ur)}catch(Br){return a0(Br)?Br:new Hu(Br)}}),cb=Gs(function(nr,ur){return Xd(ur,function(Br){Br=Us(Br),yf(nr,Br,n0(nr[Br],nr))}),nr});function db(nr){var ur=nr==null?0:nr.length,Br=Ns();return nr=ur?wd(nr,function(Hn){if(typeof Hn[1]!="function")throw new Rp(j);return[Br(Hn[0]),Hn[1]]}):[],Ic(function(Hn){for(var Na=-1;++Na<ur;){var Ro=nr[Na];if(Hd(Ro[0],this,Hn))return Hd(Ro[1],this,Hn)}})}function pb(nr){return Zr(sp(nr,oe))}function c0(nr){return function(){return nr}}function fb(nr,ur){return nr==null||nr!==nr?ur:nr}var mb=vi(),hb=vi(!0);function vm(nr){return nr}function d0(nr){return jc(typeof nr=="function"?nr:sp(nr,oe))}function _b(nr){return Cc(sp(nr,oe))}function gb(nr,ur){return Fs(nr,sp(ur,oe))}var vb=Ic(function(nr,ur){return function(Br){return lc(Br,nr,ur)}}),bb=Ic(function(nr,ur){return function(Br){return lc(nr,Br,ur)}});function p0(nr,ur,Br){var Hn=of(ur),Na=Xa(ur,Hn);Br==null&&!(gp(ur)&&(Na.length||!Hn.length))&&(Br=ur,ur=nr,nr=this,Na=Xa(ur,of(ur)));var Ro=!(gp(Br)&&"chain"in Br)||!!Br.chain,Es=Ih(nr);return Xd(Na,function(Ms){var il=ur[Ms];nr[Ms]=il,Es&&(nr.prototype[Ms]=function(){var pu=this.__chain__;if(Ro||pu){var fu=nr(this.__wrapped__),yu=fu.__actions__=oa(this.__actions__);return yu.push({func:il,args:arguments,thisArg:nr}),fu.__chain__=pu,fu}return il.apply(nr,Jp([this.value()],arguments))})}),nr}function yb(){return od._===this&&(od._=Zd),this}function f0(){}function Eb(nr){return nr=Kc(nr),Ic(function(ur){return Cu(ur,nr)})}var Sb=Ra(wd),Tb=Ra(Vf),Cb=Ra(Hf);function Y0(nr){return sr(nr)?Gm(Us(nr)):rp(nr)}function wb(nr){return function(ur){return nr==null?n:Po(nr,ur)}}var xb=fo(),Nb=fo(!0);function m0(){return[]}function h0(){return!1}function Ab(){return{}}function Db(){return""}function Ib(){return!0}function Ob(nr,ur){if(nr=Kc(nr),nr<1||nr>hr)return[];var Br=Dr,Hn=_s(nr,Dr);ur=Ns(ur),nr-=Dr;for(var Na=hf(Hn,ur);++Br<nr;)ur(Br);return Na}function Rb(nr){return Gc(nr)?wd(nr,Us):Am(nr)?[nr]:oa(La(Ld(nr)))}function kb(nr){var ur=++gh;return Ld(nr)+ur}var Mb=aa(function(nr,ur){return nr+ur},0),Bb=ys("ceil"),Pb=aa(function(nr,ur){return nr/ur},1),Lb=ys("floor");function jb(nr){return nr&&nr.length?za(nr,vm,ws):n}function Fb(nr,ur){return nr&&nr.length?za(nr,Ns(ur,2),ws):n}function $b(nr){return Df(nr,vm)}function Ub(nr,ur){return Df(nr,Ns(ur,2))}function Vb(nr){return nr&&nr.length?za(nr,vm,_c):n}function Hb(nr,ur){return nr&&nr.length?za(nr,Ns(ur,2),_c):n}v
|
|||
|
`:"")),n&&n()}function L(j){return j.interrupt?(j.interrupt.append=e,j.interrupt.end=k,j.interrupt=!1,e(!0),!0):!1}if(e(!1,t.indents+(t.name?"<"+t.name:"")+(t.attributes.length?" "+t.attributes.join(" "):"")+(y?t.name?">":"":t.name?"/>":"")+(t.indent&&y>1?`
|
|||
|
`:"")),!y)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,n,y,k,L,j,$=[].slice,V={}.hasOwnProperty;e=function(){var re,z,oe,ie,le,ue;if(ue=arguments[0],le=2<=arguments.length?$.call(arguments,1):[],k(Object.assign))Object.assign.apply(null,arguments);else for(re=0,oe=le.length;re<oe;re++)if(ie=le[re],ie!=null)for(z in ie)V.call(ie,z)&&(ue[z]=ie[z]);return ue},k=function(re){return!!re&&Object.prototype.toString.call(re)==="[object Function]"},L=function(re){var z;return!!re&&((z=typeof re)=="function"||z==="object")},n=function(re){return k(Array.isArray)?Array.isArray(re):Object.prototype.toString.call(re)==="[object Array]"},y=function(re){var z;if(n(re))return!re.length;for(z in re)if(V.call(re,z))return!1;return!0},j=function(re){var z,oe;return L(re)&&(oe=Object.getPrototypeOf(re))&&(z=oe.constructor)&&typeof z=="function"&&z instanceof z&&Function.prototype.toString.call(z)===Function.prototype.toString.call(Object)},t=function(re){return k(re.valueOf)?re.valueOf():re},Utility.assign=e,Utility.isFunction=k,Utility.isObject=L,Utility.isArray=n,Utility.isEmpty=y,Utility.isPlainObject=j,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,n){return!0},e.prototype.createDocumentType=function(t,n,y){throw new Error("This DOM method is not implemented.")},e.prototype.createDocument=function(t,n,y){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,n){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 n(){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(n.prototype,"parameterNames",{get:function(){return new t(Object.keys(this.defaultParams))}}),n.prototype.getParameter=function(y){return this.params.hasOwnProperty(y)?this.params[y]:null},n.prototype.canSetParameter=function(y,k){return!0},n.prototype.setParameter=function(y,k){return k!=null?this.params[y]=k:delete this.params[y]},n}()}).call(commonjsGlobal)),XM
|
|||
|
`,j.offset=(re=L.offset)!=null?re:0,j.dontPrettyTextNodes=(z=(oe=L.dontPrettyTextNodes)!=null?oe:L.dontprettytextnodes)!=null?z:0,j.spaceBeforeSlash=(ie=(le=L.spaceBeforeSlash)!=null?le:L.spacebeforeslash)!=null?ie:"",j.spaceBeforeSlash===!0&&(j.spaceBeforeSlash=" "),j.suppressPrettyCount=0,j.user={},j.state=t.None,j},k.prototype.indent=function(L,j,$){var V;return!j.pretty||j.suppressPrettyCount?"":j.pretty&&(V=($||0)+j.offset+1,V>0)?new Array(V).join(j.indent):""},k.prototype.endline=function(L,j,$){return!j.pretty||j.suppressPrettyCount?"":j.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,$),j.state=t.OpenTag,V=this.indent(L,j,$)+"<![CDATA[",j.state=t.InsideTag,V+=L.value,j.state=t.CloseTag,V+="]]>"+this.endline(L,j,$),j.state=t.None,this.closeNode(L,j,$),V},k.prototype.comment=function(L,j,$){var V;return this.openNode(L,j,$),j.state=t.OpenTag,V=this.indent(L,j,$)+"<!-- ",j.state=t.InsideTag,V+=L.value,j.state=t.CloseTag,V+=" -->"+this.endline(L,j,$),j.state=t.None,this.closeNode(L,j,$),V},k.prototype.declaration=function(L,j,$){var V;return this.openNode(L,j,$),j.state=t.OpenTag,V=this.indent(L,j,$)+"<?xml",j.state=t.InsideTag,V+=' version="'+L.version+'"',L.encoding!=null&&(V+=' encoding="'+L.encoding+'"'),L.standalone!=null&&(V+=' standalone="'+L.standalone+'"'),j.state=t.CloseTag,V+=j.spaceBeforeSlash+"?>",V+=this.endline(L,j,$),j.state=t.None,this.closeNode(L,j,$),V},k.prototype.docType=function(L,j,$){var V,re,z,oe,ie;if($||($=0),this.openNode(L,j,$),j.state=t.OpenTag,oe=this.indent(L,j,$),oe+="<!DOCTYPE "+L.root().name,L.pubID&&L.sysID?oe+=' PUBLIC "'+L.pubID+'" "'+L.sysID+'"':L.sysID&&(oe+=' SYSTEM "'+L.sysID+'"'),L.children.length>0){for(oe+=" [",oe+=this.endline(L,j,$),j.state=t.InsideTag,ie=L.children,re=0,z=ie.length;re<z;re++)V=ie[re],oe+=this.writeChildNode(V,j,$+1);j.state=t.CloseTag,oe+="]"}return j.state=t.CloseTag,oe+=j.spaceBeforeSlash+">",oe+=this.endline(L,j,$),j.state=t.None,this.closeNode(L,j,$),oe},k.prototype.element=function(L,j,$){var V,re,z,oe,ie,le,ue,de,Ne,pe,_e,he,Ce,Fe;$||($=0),pe=!1,_e="",this.openNode(L,j,$),j.state=t.OpenTag,_e+=this.indent(L,j,$)+"<"+L.name,he=L.attribs;for(Ne in he)y.call(he,Ne)&&(V=he[Ne],_e+=this.attribute(V,j,$));if(z=L.children.length,oe=z===0?null:L.children[0],z===0||L.children.every(function($e){return($e.type===e.Text||$e.type===e.Raw)&&$e.value===""}))j.allowEmpty?(_e+=">",j.state=t.CloseTag,_e+="</"+L.name+">"+this.endline(L,j,$)):(j.state=t.CloseTag,_e+=j.spaceBeforeSlash+"/>"+this.endline(L,j,$));else if(j.pretty&&z===1&&(oe.type===e.Text||oe.type===e.Raw)&&oe.value!=null)_e+=">",j.state=t.InsideTag,j.suppressPrettyCount++,pe=!0,_e+=this.writeChildNode(oe,j,$+1),j.suppressPrettyCount--,pe=!1,j.state=t.CloseTag,_e+="</"+L.name+">"+this.endline(L,j,$);else{if(j.dontPrettyTextNodes){for(Ce=L.children,ie=0,ue=Ce.length;ie<ue;ie++)if(re=Ce[ie],(re.type===e.Text||re.type===e.Raw)&&re.value!=null){j.suppressPrettyCount++,pe=!0;break}}for(_e+=">"+this.endline(L,j,$),j.state=t.InsideTag,Fe=L.children,le=0,de=Fe.length;le<de;le++)re=Fe[le],_e+=this.writeChildNode(re,j,$+1);j.state=t.CloseTag,_e+=this.indent(L,j,$)+"</"+L.name+">",pe&&j.suppressPrettyCount--,_e+=this.endline(L,j,$),j.state=t.None}return this.closeNode(L,j,$),_e},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("U
|
|||
|
`||dr==="\r"||dr===" "}function Fe(dr){return dr==='"'||dr==="'"}function $e(dr){return dr===">"||Ce(dr)}function Lt(dr,cr){return dr.test(cr)}function Et(dr,cr){return!Lt(dr,cr)}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(dr){var cr=t.ENTITIES[dr],Rr=typeof cr=="number"?String.fromCharCode(cr):cr;t.ENTITIES[dr]=Rr});for(var qe in t.STATE)t.STATE[t.STATE[qe]]=qe;Ue=t.STATE;function Ve(dr,cr,Rr){dr[cr]&&dr[cr](Rr)}function jt(dr,cr,Rr){dr.textNode&&tr(dr),Ve(dr,cr,Rr)}function tr(dr){dr.textNode=ir(dr.opt,dr.textNode),dr.textNode&&Ve(dr,"ontext",dr.textNode),dr.textNode=""}function ir(dr,cr){return dr.trim&&(cr=cr.trim()),dr.normalize&&(cr=cr.replace(/\s+/g," ")),cr}function rr(dr,cr){return tr(dr),dr.trackPosition&&(cr+=`
|
|||
|
Line: `+dr.line+`
|
|||
|
Column: `+dr.column+`
|
|||
|
Char: `+dr.c),cr=new Error(cr),dr.error=cr,Ve(dr,"onerror",cr),dr}function or(dr){return dr.sawRoot&&!dr.closedRoot&&lr(dr,"Unclosed root tag"),dr.state!==Ue.BEGIN&&dr.state!==Ue.BEGIN_WHITESPACE&&dr.state!==Ue.TEXT&&rr(dr,"Unexpected end"),tr(dr),dr.c="",dr.closed=!0,Ve(dr,"onend"),y.call(dr,dr.strict,dr.opt),dr}function lr(dr,cr){if(typeof dr!="object"||!(dr instanceof y))throw new Error("bad call to strictFail");dr.strict&&rr(dr,cr)}function hr(dr){dr.strict||(dr.tagName=dr.tagName[dr.looseCase]());var cr=dr.tags[dr.tags.length-1]||dr,Rr=dr.tag={name:dr.tagName,attributes:{}};dr.opt.xmlns&&(Rr.ns=cr.ns),dr.attribList.length=0,jt(dr,"onopentagstart",Rr)}function fr(dr,cr){var Rr=dr.indexOf(":"),Pr=Rr<0?["",dr]:dr.split(":"),Mr=Pr[0],jr=Pr[1];return cr&&dr==="xmlns"&&(Mr="xmlns",jr=""),{prefix:Mr,local:jr}}function vr(dr){if(dr.strict||(dr.attribName=dr.attribName[dr.looseCase]()),dr.attribList.indexOf(dr.attribName)!==-1||dr.tag.attributes.hasOwnProperty(dr.attribName)){dr.attribName=dr.attribValue="";return}if(dr.opt.xmlns){var cr=fr(dr.attribName,!0),Rr=cr.prefix,Pr=cr.local;if(Rr==="xmlns")if(Pr==="xml"&&dr.attribValue!==le)lr(dr,"xml: prefix must be bound to "+le+`
|
|||
|
Actual: `+dr.attribValue);else if(Pr==="xmlns"&&dr.attribValue!==ue)lr(dr,"xmlns: prefix must be bound to "+ue+`
|
|||
|
Actual: `+dr.attribValue);else{var Mr=dr.tag,jr=dr.tags[dr.tags.length-1]||dr;Mr.ns===jr.ns&&(Mr.ns=Object.create(jr.ns)),Mr.ns[Pr]=dr.attribValue}dr.attribList.push([dr.attribName,dr.attribValue])}else dr.tag.attributes[dr.attribName]=dr.attribValue,jt(dr,"onattribute",{name:dr.attribName,value:dr.attribValue});dr.attribName=dr.attribValue=""}function Dr(dr,cr){if(dr.opt.xmlns){var Rr=dr.tag,Pr=fr(dr.tagName);Rr.prefix=Pr.prefix,Rr.local=Pr.local,Rr.uri=Rr.ns[Pr.prefix]||"",Rr.prefix&&!Rr.uri&&(lr(dr,"Unbound namespace prefix: "+JSON.stringify(dr.tagName)),Rr.uri=Pr.prefix);var Mr=dr.tags[dr.tags.length-1]||dr;Rr.ns&&Mr.ns!==Rr.ns&&Object.keys(Rr.ns).forEach(function(yr){jt(dr,"onopennamespace",{prefix:yr,uri:Rr.ns[yr]})});for(var jr=0,mr=dr.attribList.length;jr<mr;jr++){var gr=dr.attribList[jr],xr=gr[0],pr=gr[1],_r=fr(xr,!0),wr=_r.prefix,Tr=_r.local,$r=wr===""?"":Rr.ns[wr]||"",Fr={name:xr,value:pr,prefix:wr,local:Tr,uri:$r};wr&&wr!=="xmlns"&&!$r&&(lr(dr,"Unbound namespace prefix: "+JSON.stringify(wr)),Fr.uri=wr),dr.tag.attributes[xr]=Fr,jt(dr,"onattribute",Fr)}dr.attribList.length=0}dr.tag.isSelfClosing=!!cr,dr.sawRoot=!0,dr.tags.push(dr.tag),jt(dr,"onopentag",dr.tag),cr||(!dr.noscript&&dr.tagName.toLowerCase()==="script"?dr.state=Ue.SCRIPT:dr.state=Ue.TEXT,dr.tag=null,dr.tagName=""),dr.attribName=dr.attribValue="",dr.attribList.length=0}function Sr(dr){if(!dr.tagName){lr(dr,"Weird empty close tag."),dr.textNode+="</>",dr.state=Ue.TEXT;return}if(dr.script){if(dr.tagName!=="script"){dr.script+="</"+dr.tagName+">",dr.tagName="",dr.state=Ue.SCRIPT;return}jt(dr,"onscript",dr.script),dr.script=""}var cr=dr.tags.length,Rr=dr.tagName;dr.strict||(Rr=Rr[dr.looseCase]());for(var Pr=Rr;cr--;){var Mr=dr.tags[cr];if(Mr.name!==Pr)lr(dr,"Unexpected close tag");else break}if(cr<0){lr(dr,"Unmatched closing tag: "+dr.tagName),dr.textNode+="</"+dr.tagName+">",dr.state=Ue.TEXT;return}dr.tagName=Rr;for(var jr=dr.tags.length;jr-- >cr;){var mr=dr.tag=dr.tags.pop();dr.tagName=dr.tag.name,jt(dr,"onclosetag",dr.tagName);var gr={};for(var xr in mr.ns)gr[xr]=mr.ns[xr];var pr=dr.tags[dr.tags.length-1]||dr;dr.opt.xmlns&&mr.ns!==pr.ns&&Object.keys(mr.ns).forEach(function(_r){var wr=mr.ns[_r];jt(dr,"onclosenamespace",{prefix:_r,uri:wr})})}cr===0&&(dr.closedRoot=!0),dr.tagName=dr.attribValue=dr.attribName="",dr.attribList.length=0,dr.state=Ue.TEXT}function br(dr){var cr=dr.entity,Rr=cr.toLowerCase(),Pr,Mr="";return dr.ENTITIES[cr]?dr.ENTITIES[cr]:dr.ENTITIES[Rr]?dr.ENTITIES[Rr]:(cr=Rr,cr.charAt(0)==="#"&&(cr.charAt(1)==="x"?(cr=cr.slice(2),Pr=parseInt(cr,16),Mr=Pr.toString(16)):(cr=cr.slice(1),Pr=parseInt(cr,10),Mr=Pr.toString(10))),cr=cr.replace(/^0+/,""),isNaN(Pr)||Mr.toLowerCase()!==cr?(lr(dr,"Invalid character entity"),"&"+dr.entity+";"):String.fromCodePoint(Pr))}function Cr(dr,cr){cr==="<"?(dr.state=Ue.OPEN_WAKA,dr.startTagPosition=dr.position):Ce(cr)||(lr(dr,"Non-whitespace before first tag."),dr.textNode=cr,dr.state=Ue.TEXT)}function Ir(dr,cr){var Rr="";return cr<dr.length&&(Rr=dr.charAt(cr)),Rr}function Ar(dr){var cr=this;if(this.error)throw this.error;if(cr.closed)return rr(cr,"Cannot write after close. Assign an onready handler.");if(dr===null)return or(cr);typeof dr=="object"&&(dr=dr.toString());for(var Rr=0,Pr="";Pr=Ir(dr,Rr++),cr.c=Pr,!!Pr;)switch(cr.trackPosition&&(cr.position++,Pr===`
|
|||
|
`?(cr.line++,cr.column=0):cr.column++),cr.state){case Ue.BEGIN:if(cr.state=Ue.BEGIN_WHITESPACE,Pr==="\uFEFF")continue;Cr(cr,Pr);continue;case Ue.BEGIN_WHITESPACE:Cr(cr,Pr);continue;case Ue.TEXT:if(cr.sawRoot&&!cr.closedRoot){for(var Mr=Rr-1;Pr&&Pr!=="<"&&Pr!=="&";)Pr=Ir(dr,Rr++),Pr&&cr.trackPosition&&(cr.position++,Pr===`
|
|||
|
`?(cr.line++,cr.column=0):cr.column++);cr.textNode+=dr.substring(Mr,Rr-1)}Pr==="<"&&!(cr.sawRoot&&cr.closedRoot&&!cr.strict)?(cr.state=Ue.OPEN_WAKA,cr.startTagPosition=cr.position):(!Ce(Pr)&&(!cr.sawRoot||cr.closedRoot)&&lr(cr,"Text data outside of root node."),Pr==="&"?cr.state=Ue.TEXT_ENTITY:cr.textNode+=Pr);continue;case Ue.SCRIPT:Pr==="<"?cr.state=Ue.SCRIPT_ENDING:cr.script+=Pr;continue;case Ue.SCRIPT_ENDING:Pr==="/"?cr.state=Ue.CLOSE_TAG:(cr.script+="<"+Pr,cr.state=Ue.SCRIPT);continue;case Ue.OPEN_WAKA:if(Pr==="!")cr.state=Ue.SGML_DECL,cr.sgmlDecl="";else if(!Ce(Pr))if(Lt(Ne,Pr))cr.state=Ue.OPEN_TAG,cr.tagName=Pr;else if(Pr==="/")cr.state=Ue.CLOSE_TAG,cr.tagName="";else if(Pr==="?")cr.state=Ue.PROC_INST,cr.procInstName=cr.procInstBody="";else{if(lr(cr,"Unencoded <"),cr.startTagPosition+1<cr.position){var jr=cr.position-cr.startTagPosition;Pr=new Array(jr).join(" ")+Pr}cr.textNode+="<"+Pr,cr.state=Ue.TEXT}continue;case Ue.SGML_DECL:if(cr.sgmlDecl+Pr==="--"){cr.state=Ue.COMMENT,cr.comment="",cr.sgmlDecl="";continue}cr.doctype&&cr.doctype!==!0&&cr.sgmlDecl?(cr.state=Ue.DOCTYPE_DTD,cr.doctype+="<!"+cr.sgmlDecl+Pr,cr.sgmlDecl=""):(cr.sgmlDecl+Pr).toUpperCase()===oe?(jt(cr,"onopencdata"),cr.state=Ue.CDATA,cr.sgmlDecl="",cr.cdata=""):(cr.sgmlDecl+Pr).toUpperCase()===ie?(cr.state=Ue.DOCTYPE,(cr.doctype||cr.sawRoot)&&lr(cr,"Inappropriately located doctype declaration"),cr.doctype="",cr.sgmlDecl=""):Pr===">"?(jt(cr,"onsgmldeclaration",cr.sgmlDecl),cr.sgmlDecl="",cr.state=Ue.TEXT):(Fe(Pr)&&(cr.state=Ue.SGML_DECL_QUOTED),cr.sgmlDecl+=Pr);continue;case Ue.SGML_DECL_QUOTED:Pr===cr.q&&(cr.state=Ue.SGML_DECL,cr.q=""),cr.sgmlDecl+=Pr;continue;case Ue.DOCTYPE:Pr===">"?(cr.state=Ue.TEXT,jt(cr,"ondoctype",cr.doctype),cr.doctype=!0):(cr.doctype+=Pr,Pr==="["?cr.state=Ue.DOCTYPE_DTD:Fe(Pr)&&(cr.state=Ue.DOCTYPE_QUOTED,cr.q=Pr));continue;case Ue.DOCTYPE_QUOTED:cr.doctype+=Pr,Pr===cr.q&&(cr.q="",cr.state=Ue.DOCTYPE);continue;case Ue.DOCTYPE_DTD:Pr==="]"?(cr.doctype+=Pr,cr.state=Ue.DOCTYPE):Pr==="<"?(cr.state=Ue.OPEN_WAKA,cr.startTagPosition=cr.position):Fe(Pr)?(cr.doctype+=Pr,cr.state=Ue.DOCTYPE_DTD_QUOTED,cr.q=Pr):cr.doctype+=Pr;continue;case Ue.DOCTYPE_DTD_QUOTED:cr.doctype+=Pr,Pr===cr.q&&(cr.state=Ue.DOCTYPE_DTD,cr.q="");continue;case Ue.COMMENT:Pr==="-"?cr.state=Ue.COMMENT_ENDING:cr.comment+=Pr;continue;case Ue.COMMENT_ENDING:Pr==="-"?(cr.state=Ue.COMMENT_ENDED,cr.comment=ir(cr.opt,cr.comment),cr.comment&&jt(cr,"oncomment",cr.comment),cr.comment=""):(cr.comment+="-"+Pr,cr.state=Ue.COMMENT);continue;case Ue.COMMENT_ENDED:Pr!==">"?(lr(cr,"Malformed comment"),cr.comment+="--"+Pr,cr.state=Ue.COMMENT):cr.doctype&&cr.doctype!==!0?cr.state=Ue.DOCTYPE_DTD:cr.state=Ue.TEXT;continue;case Ue.CDATA:Pr==="]"?cr.state=Ue.CDATA_ENDING:cr.cdata+=Pr;continue;case Ue.CDATA_ENDING:Pr==="]"?cr.state=Ue.CDATA_ENDING_2:(cr.cdata+="]"+Pr,cr.state=Ue.CDATA);continue;case Ue.CDATA_ENDING_2:Pr===">"?(cr.cdata&&jt(cr,"oncdata",cr.cdata),jt(cr,"onclosecdata"),cr.cdata="",cr.state=Ue.TEXT):Pr==="]"?cr.cdata+="]":(cr.cdata+="]]"+Pr,cr.state=Ue.CDATA);continue;case Ue.PROC_INST:Pr==="?"?cr.state=Ue.PROC_INST_ENDING:Ce(Pr)?cr.state=Ue.PROC_INST_BODY:cr.procInstName+=Pr;continue;case Ue.PROC_INST_BODY:if(!cr.procInstBody&&Ce(Pr))continue;Pr==="?"?cr.state=Ue.PROC_INST_ENDING:cr.procInstBody+=Pr;continue;case Ue.PROC_INST_ENDING:Pr===">"?(jt(cr,"onprocessinginstruction",{name:cr.procInstName,body:cr.procInstBody}),cr.procInstName=cr.procInstBody="",cr.state=Ue.TEXT):(cr.procInstBody+="?"+Pr,cr.state=Ue.PROC_INST_BODY);continue;case Ue.OPEN_TAG:Lt(pe,Pr)?cr.tagName+=Pr:(hr(cr),Pr===">"?Dr(cr):Pr==="/"?cr.state=Ue.OPEN_TAG_SLASH:(Ce(Pr)||lr(cr,"Invalid character in tag name"),cr.state=Ue.ATTRIB));continue;case Ue.OPEN_TAG_SLASH:Pr===">"?(Dr(cr,!0),Sr(cr)):(lr(cr,"Forward-slash in opening tag not followed by >"),cr.state=Ue.ATTRIB);continue;case Ue.ATTRIB:if(Ce(Pr))continue;Pr===">"?Dr(cr):Pr==="/"?cr.state=Ue.OPEN_TAG_SLASH:Lt(Ne,Pr)?(cr.attribName=Pr,cr.attribValue="",cr.state=Ue.ATTRIB_NAME):lr(cr,"Invalid attribute name");continue;case Ue.ATTRIB_NAME:Pr==="="?cr.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 oe;return V.trim().length===0?oe="Invalid space after '<'.":oe="Tag '"+V+"' is an invalid name.",getErrorObject("InvalidTag",oe,getLineNumberForPosition(e,L))}const re=readAttributeStr(e,L);if(re===!1)return getErrorObject("InvalidAttr","Attributes for '"+V+"' have open quote.",getLineNumberForPosition(e,L));let z=re.value;if(L=re.index,z[z.length-1]==="/"){const oe=L-z.length;z=z.substring(0,z.length-1);const ie=validateAttributeString(z,t);if(ie===!0)y=!0;else return getErrorObject(ie.err.code,ie.err.msg,getLineNumberForPosition(e,oe+ie.err.line))}else if($)if(re.tagClosed){if(z.trim().length>0)return getErrorObject("InvalidTag","Closing tag '"+V+"' can't have attributes or invalid starting.",getLineNumberForPosition(e,j));if(n.length===0)return getErrorObject("InvalidTag","Closing tag '"+V+"' has not been opened.",getLineNumberForPosition(e,j));{const oe=n.pop();if(V!==oe.tagName){let ie=getLineNumberForPosition(e,oe.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+oe.tagName+"' (opened in line "+ie.line+", col "+ie.col+") instead of closing tag '"+V+"'.",getLineNumberForPosition(e,j))}n.length==0&&(k=!0)}}else return getErrorObject("InvalidTag","Closing tag '"+V+"' doesn't have proper closing.",getLineNumberForPosition(e,L));else{const oe=validateAttributeString(z,t);if(oe!==!0)return getErrorObject(oe.err.code,oe.err.msg,getLineNumberForPosition(e,L-z.length+oe.err.line));if(k===!0)return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(e,L));t.unpairedTags.indexOf(V)!==-1||n.push({tagName:V,tagStartPos:j}),y=!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 oe=validateAmpersand(e,L);if(oe==-1)return getErrorObject("InvalidChar","char '&' is not expected.",getLineNumberForPosition(e,L));L=oe}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(y){if(n.length==1)return getErrorObject("InvalidTag","Unclosed tag '"+n[0].tagName+"'.",getLineNumberForPosition(e,n[0].tagStartPos));if(n.length>0)return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(n.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 n=t;for(;t<e.length;t++)if(e[t]=="?"||e[t]==" "){const y=e.substr(n,t-n);if(t>5&&y==="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 n=1;for(t+=8;t<e.length;t++)if(e[t]==="<")n++;else if(e[t]===">"&&(n--,n===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 n="",y="",k=!1;for(;t<e.length;t++){if(e[t]===doubleQuote||e[t]===singleQuote)y===""?y=e[t]:y!==e[t]||(y="");else if(e[t]===">"&&y===""){k=!0;break}n+=e[t]}return y!==""?!1:{value:n,index:t,tagClosed:k}}const validAttrStrRegxp=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function validateAttributeString(e,t){const n=util$3.getAllMatches(e,validAttrStrRegxp),y={};for(let k=0;k<n.length;k++){if(n[k][1].length===0)return getErrorObject("InvalidAttr","Attribute '"+n[k][2]+"' has no space in starting.",getPositionFromMatch(n[k]));if(n[k][3]!==void 0&&n[k][4]===void 0)return getErrorObject("InvalidAttr","Attribute '"+n[k][2]+"' is without value.",getPositionFromMatch(n[k]));if(n[k][3]===void 0&&!t.allowBooleanAttributes)return getErrorObject("InvalidAttr","boolean attribute '"+n[k][2]+"' is not allowed.",getPositionFromMatch(n[k]));const L=n[k][2];if(!validateAttrName(L))return getErrorObject("InvalidAttr","Attribute '"+L+"' is an invalid name.",getPositionFromMatch(n[k]));if(!y.hasOwnProperty(L))y[L]=1;else return getErrorObject("InvalidAttr","Attribute '"+L+"' is repeated.",getPositionFromMatch(n[k]))}return!0}function validateNumberAmpersand(e,t){let n=/\d/;for(e[t]==="x"&&(t++,n=/[\da-fA-F]/);t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(n))break}return-1}function validateAmpersand(e,t){if(t++,e[t]===";")return-1;if(e[t]==="#")return t++,validateNumberAmpersand(e,t);let n=0;for(;t<e.length;t++,n++)if(!(e[t].match(/\w/)&&n<20)){if(e[t]===";")break;return-1}return t}function getErrorObject(e,t,n){return{err:{code:e,msg:t,line:n.line||n,col:n.col}}}function validateAttrName(e){return util$3.isName(e)}function validateTagName(e){return util$3.isName(e)}function getLineNumberForPosition(e,t){const n=e.substring(0,t).split(/\r?\n/);return{line:n.length,col:n[n.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,n){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,n){t==="__proto__"&&(t="#__proto__"),this.child.push({[t]:n})}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 n=t,y="",k="";for(let L=0;L<e.length;L++)if(e[L]==="<")if(e[L+1]==="/"){const $=findClosingIndex(e,">",L,"Closing Tag is not closed.");let V=e.substring(L+2,$).trim();if(this.options.removeNSPrefix){const oe=V.indexOf(":");oe!==-1&&(V=V.substr(oe+1))}this.options.transformTagName&&(V=this.options.transformTagName(V)),n&&(y=this.saveTextToParentTag(y,n,k));const re=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 z=0;re&&this.options.unpairedTags.indexOf(re)!==-1?(z=k.lastIndexOf(".",k.lastIndexOf(".")-1),this.tagsNodeStack.pop()):z=k.lastIndexOf("."),k=k.substring(0,z),n=this.tagsNodeStack.pop(),y="",L=$}else if(e[L+1]==="?"){let $=readTagExp(e,L,!1,"?>");if(!$)throw new Error("Pi Tag is not closed.");if(y=this.saveTextToParentTag(y,n,k),!(this.options.ignoreDeclaration&&$.tagName==="?xml"||this.options.ignorePiTags)){const V=new xmlNode($.tagName);V.add(this.options.textNodeName,""),$.tagName!==$.tagExp&&$.attrExpPresent&&(V[":@"]=this.buildAttributesMap($.tagExp,k,$.tagName)),this.addChild(n,V,k)}L=$.closeIndex+1}else if(e.substr(L+1,3)==="!--"){const $=findClosingIndex(e,"-->",L+4,"Comment is not closed.");if(this.options.commentPropName){const V=e.substring(L+4,$-2);y=this.saveTextToParentTag(y,n,k),n.add(this.options.commentPropName,[{[this.options.textNodeName]:V}])}L=$}else if(e.substr(L+1,2)==="!D"){const $=readDocType(e,L);this.docTypeEntities=$.entities,L=$.i}else if(e.substr(L+1,2)==="!["){const $=findClosingIndex(e,"]]>",L,"CDATA is not closed.")-2,V=e.substring(L+9,$);y=this.saveTextToParentTag(y,n,k);let re=this.parseTextData(V,n.tagname,k,!0,!1,!0,!0);re==null&&(re=""),this.options.cdataPropName?n.add(this.options.cdataPropName,[{[this.options.textNodeName]:V}]):n.add(this.options.textNodeName,re),L=$+2}else{let $=readTagExp(e,L,this.options.removeNSPrefix),V=$.tagName;const re=$.rawTagName;let z=$.tagExp,oe=$.attrExpPresent,ie=$.closeIndex;this.options.transformTagName&&(V=this.options.transformTagName(V)),n&&y&&n.tagname!=="!xml"&&(y=this.saveTextToParentTag(y,n,k,!1));const le=n;if(le&&this.options.unpairedTags.indexOf(le.tagname)!==-1&&(n=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(z.length>0&&z.lastIndexOf("/")===z.length-1)V[V.length-1]==="/"?(V=V.substr(0,V.length-1),k=k.substr(0,k.length-1),z=V):z=z.substr(0,z.length-1),L=$.closeIndex;else if(this.options.unpairedTags.indexOf(V)!==-1)L=$.closeIndex;else{const Ne=this.readStopNodeData(e,re,ie+1);if(!Ne)throw new Error(`Unexpected end of ${re}`);L=Ne.i,ue=Ne.tagContent}const de=new xmlNode(V);V!==z&&oe&&(de[":@"]=this.buildAttributesMap(z,k,V)),ue&&(ue=this.parseTextData(ue,V,k,!0,oe,!0,!0)),k=k.substr(0,k.lastIndexOf(".")),de.add(this.options.textNodeName,ue),this.addChild(n,de,k)}else{if(z.length>0&&z.lastIndexOf("/")===z.length-1){V[V.length-1]==="/"?(V=V.substr(0,V.length-1),k=k.substr(0,k.length-1),z=V):z=z.substr(0,z.length-1),this.options.transformTagName&&(V=this.options.transformTagName(V));const ue=new xmlNode(V);V!==z&&oe&&(ue[":@"]=this.buildAttributesMap(z,k,V)),this.addChild(n,ue,k),k=k.substr(0,k.lastIndexOf("."))}else{const ue=new xmlNode(V);this.tagsNodeStack.push(n),V!==z&&oe&&(ue[":@"]=this.buildAttributesMap(z,k,V)),this.addChild(n,ue,k),n=ue}y="",L=ie}}else y+=e[L];return t.child};function addChild(e,t,n){const y=this.options.updateTag(t.tagname,n,t[":@"]);y===!1||(typeof y=="string"&&(t.tagname=y),e.addChild(t))}const replaceEntitiesValue$1=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const n=this.docTypeEntities[t];e=e.replace(n.regx,n.val)}for(let t in this.lastEntities){const n=this.lastEntities[t];e=e.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const n=this.htmlEntities[t];e=e.replace(n.regex,n.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function saveTextToParentTag(e,t,n,y){retu
|
|||
|
`;function toXml(e,t){let n="";return t.format&&t.indentBy.length>0&&(n=EOL),arrToStr(e,t,"",n)}function arrToStr(e,t,n,y){let k="",L=!1;for(let j=0;j<e.length;j++){const $=e[j],V=propName($);if(V===void 0)continue;let re="";if(n.length===0?re=V:re=`${n}.${V}`,V===t.textNodeName){let ue=$[V];isStopNode(re,t)||(ue=t.tagValueProcessor(V,ue),ue=replaceEntitiesValue(ue,t)),L&&(k+=y),k+=ue,L=!1;continue}else if(V===t.cdataPropName){L&&(k+=y),k+=`<![CDATA[${$[V][0][t.textNodeName]}]]>`,L=!1;continue}else if(V===t.commentPropName){k+=y+`<!--${$[V][0][t.textNodeName]}-->`,L=!0;continue}else if(V[0]==="?"){const ue=attr_to_str($[":@"],t),de=V==="?xml"?"":y;let Ne=$[V][0][t.textNodeName];Ne=Ne.length!==0?" "+Ne:"",k+=de+`<${V}${Ne}${ue}?>`,L=!0;continue}let z=y;z!==""&&(z+=t.indentBy);const oe=attr_to_str($[":@"],t),ie=y+`<${V}${oe}`,le=arrToStr($[V],t,re,z);t.unpairedTags.indexOf(V)!==-1?t.suppressUnpairedNode?k+=ie+">":k+=ie+"/>":(!le||le.length===0)&&t.suppressEmptyNode?k+=ie+"/>":le&&le.endsWith(">")?k+=ie+`>${le}${y}</${V}>`:(k+=ie+">",le&&y!==""&&(le.includes("/>")||le.includes("</"))?k+=y+t.indentBy+le+y:k+=le,k+=`</${V}>`),L=!0}return k}function propName(e){const t=Object.keys(e);for(let n=0;n<t.length;n++){const y=t[n];if(e.hasOwnProperty(y)&&y!==":@")return y}}function attr_to_str(e,t){let n="";if(e&&!t.ignoreAttributes)for(let y in e){if(!e.hasOwnProperty(y))continue;let k=t.attributeValueProcessor(y,e[y]);k=replaceEntitiesValue(k,t),k===!0&&t.suppressBooleanAttributes?n+=` ${y.substr(t.attributeNamePrefix.length)}`:n+=` ${y.substr(t.attributeNamePrefix.length)}="${k}"`}return n}function isStopNode(e,t){e=e.substr(0,e.length-t.textNodeName.length-1);let n=e.substr(e.lastIndexOf(".")+1);for(let y in t.stopNodes)if(t.stopNodes[y]===e||t.stopNodes[y]==="*."+n)return!0;return!1}function replaceEntitiesValue(e,t){if(e&&e.length>0&&t.processEntities)for(let n=0;n<t.entities.length;n++){const y=t.entities[n];e=e.replace(y.regex,y.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:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Builder(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 n="",y="";for(let k in e)if(Object.prototype.hasOwnProperty.call(e,k))if(typeof e[k]>"u")this.isAttribute(k)&&(y+="");else if(e[k]===null)this.isAttribute(k)?y+="":k[0]==="?"?y+=this.indentate(t)+"<"+k+"?"+this.tagEndChar:y+=this.indentate(t)+"<"+k+"/"+this.tagEndChar;else if(e[k]instanceof Date)y+=this.buildTextValNode(e[k],k,"",t);else if(typeof e[k]!="object"){const L=this.isAttribute(k);if(L)n+=this.buildAttrPairStr(L,""+e[k]);else if(k===this.options.textNodeName){let j=this.options.tagValueProcessor(k,""+e[k]);y+=this.replaceEntitiesValue(j)}else y+=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 re=e[k][V];if(!(typeof re>"u"))if(re===null)k[0]==="?"?y+=this.indentate(t)+"<"+k+"?"+this.tagEndChar:y+=this.indentate(t)+"<"+k+"/"+this.tagEndChar;else if(typeof re=="object")if(this.options.oneListGroup){const z=this.j2x(re,t+1);j+=z.val,this.options.attributesGroupName&&re.hasOwnProperty(this.options.attributesGroupName)&&($+=z.attrStr)}else j+=this.processTextOrObjNode(re,k,t);else if(this.options.oneListGroup){let z=this.options.tagValueProcessor(k,re);z=this.replaceEntitiesValue(z),j+=z}else j+=this.buildTextValNode(re,k,"",t)}this.options.oneListGroup&&(j=this.buildObjectNode(j,k,$,t)),y+=j}else if(this.options.attributesGroupName&&k===this.options.attributesGroupName){const L=Object.keys(e[k]),j=L.length;for(let $=0;$<j;$++)n+=this.buildAttrPairStr(L[$],""+e[k][L[$]])}else y+=this.processTextOrObjNode(e[k],k,t);return{attrStr:n,val:y}};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,n){const y=this.j2x(e,n+1);return e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],t,y.attrStr,n):this.buildObjectNode(y.val,t,y.attrStr,n)}Builder.prototype.buildObjectNode=function(e,t,n,y){if(e==="")return t[0]==="?"?this.indentate(y)+"<"+t+n+"?"+this.tagEndChar:this.indentate(y)+"<"+t+n+this.closeTag(t)+this.tagEndChar;{let k="</"+t+this.tagEndChar,L="";return t[0]==="?"&&(L="?",k=""),(n||n==="")&&e.indexOf("<")===-1?this.indentate(y)+"<"+t+n+L+">"+e+k:this.options.commentPropName!==!1&&t===this.options.commentPropName&&L.length===0?this.indentate(y)+`<!--${e}-->`+this.newLine:this.indentate(y)+"<"+t+n+L+this.tagEndChar+e+this.indentate(y)+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,n,y){if(this.options.cdataPropName!==!1&&t===this.options.cdataPropName)return this.indentate(y)+`<![CDATA[${e}]]>`+this.newLine;if(this.options.commentPropName!==!1&&t===this.options.commentPropName)return this.indentate(y)+`<!--${e}-->`+this.newLine;if(t[0]==="?")return this.indentate(y)+"<"+t+n+"?"+this.tagEndChar;{let k=this.options.tagValueProcessor(t,e);return k=this.replaceEntitiesValue(k),k===""?this.indentate(y)+"<"+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(y)+"<"+t+n+">"+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 n=this.options.entities[t];e=e.replace(n.regex,n.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=va
|
|||
|
* 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,n=pathBrowserify.extname,y=/^\s*([^;\s]*)(?:;|\s|$)/,k=/^text\//i;e.charset=L,e.charsets={lookup:L},e.contentType=j,e.extension=$,e.extensions=Object.create(null),e.lookup=V,e.types=Object.create(null),re(e.extensions,e.types);function L(z){if(!z||typeof z!="string")return!1;var oe=y.exec(z),ie=oe&&t[oe[1].toLowerCase()];return ie&&ie.charset?ie.charset:oe&&k.test(oe[1])?"UTF-8":!1}function j(z){if(!z||typeof z!="string")return!1;var oe=z.indexOf("/")===-1?e.lookup(z):z;if(!oe)return!1;if(oe.indexOf("charset")===-1){var ie=e.charset(oe);ie&&(oe+="; charset="+ie.toLowerCase())}return oe}function $(z){if(!z||typeof z!="string")return!1;var oe=y.exec(z),ie=oe&&e.extensions[oe[1].toLowerCase()];return!ie||!ie.length?!1:ie[0]}function V(z){if(!z||typeof z!="string")return!1;var oe=n("x."+z).toLowerCase().substr(1);return oe&&e.types[oe]||!1}function re(z,oe){var ie=["nginx","apache",void 0,"iana"];Object.keys(t).forEach(function(ue){var de=t[ue],Ne=de.extensions;if(!(!Ne||!Ne.length)){z[ue]=Ne;for(var pe=0;pe<Ne.length;pe++){var _e=Ne[pe];if(oe[_e]){var he=ie.indexOf(t[oe[_e]].source),Ce=ie.indexOf(de.source);if(oe[_e]!=="application/octet-stream"&&(he>Ce||he===Ce&&oe[_e].substr(0,12)==="application/"))continue}oe[_e]=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,n)=>{const y=Buffer$2.from(n);if(y.length===1&&("A"<=n&&n<="Z"||"a"<=n&&n<="z"||"0"<=n&&n<="9"||n==="_"||n==="."||n==="~"||n==="-"))return t=t+n,t;for(const k of y)t=t+"%"+k.toString(16).toUpperCase();return t},"")}function uriResourceEscape(e){return uriEscape(e).replace(/%2F/g,"/")}function getScope(e,t,n="s3"){return`${makeDateShort(t)}/${e}/${n}/aws4_request`}function isAmazonEndpoint(e){return e==="s3.amazonaws.com"||e==="s3.cn-north-1.amazonaws.com.cn"}function isVirtualHostStyle(e,t,n,y){return t==="https:"&&n.includes(".")?!1:isAmazonEndpoint(e)||!y}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 n of t)if(e.includes(n))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,n)=>(t.on("error",y=>n.emit("error",y)),t.pipe(n)))}function readableStream(e){const t=new streamBrowserify.Readable;return t._read=()
|
|||
|
`)+`
|
|||
|
`,y.join(";").toLowerCase(),k].join(`
|
|||
|
`)}function getCredential(e,t,n,y="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(n))throw new TypeError('requestDate should be of type "object"');return`${e}/${getScope(t,n,y)}`}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(n=>!t.includes(n)).sort()}function getSigningKey(e,t,n,y="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(n))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"+n).update(k).digest()).update(t).digest()).update(y).digest()).update("aws4_request").digest()}function getStringToSign(e,t,n,y="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(n))throw new TypeError('region should be of type "string"');const k=(void 0)("sha256").update(e).digest("hex"),L=getScope(n,t,y);return[signV4Algorithm,makeDateLong(t),L,k].join(`
|
|||
|
`)}function postPresignSignatureV4(e,t,n,y){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(n))throw new TypeError('secretKey should be of type "string"');if(!isString$1(y))throw new TypeError('policyBase64 should be of type "string"');return(void 0)("sha256",getSigningKey(t,e,n)).update(y).digest("hex").toLowerCase()}function signV4(e,t,n,y,k,L,j="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(n))throw new TypeError('secretKey should be of type "string"');if(!isString$1(y))throw new TypeError('region should be of type "string"');if(!t)throw new AccessKeyRequiredError("accessKey is required for signing");if(!n)throw new SecretKeyRequiredError("secretKey is required for signing");const $=getSignedHeaders(e.headers),V=getCanonicalRequest(e.method,e.path,e.headers,$,L),re=j||"s3",z=getStringToSign(V,k,y,re),oe=getSigningKey(k,y,n,re),ie=getCredential(t,y,k,re),le=(void 0)("sha256",oe).update(z).digest("hex").toLowerCase();return`${signV4Algorithm} Credential=${ie}, SignedHeaders=${$.join(";").toLowerCase()}, Signature=${le}`}function presignSignatureV4(e,t,n,y,k,L,j){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(n))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(!n)throw new SecretKeyRequiredError("secretKey is required for presigning");if(!isNumber$2(j))throw new TypeError('expires should be of type "number"');if(j<1)throw new ExpiresParamError("expires param cannot be less than 1 seconds");if(j>604800)throw new ExpiresParamError("expires param cannot be greater than 7 days");const $=makeDateLong(L),V=getSignedHeaders(e.headers),re=getCredential(t,k,L),z="UNSIGNED-PAYLOAD",oe=[];oe.push(`X-Amz-Algorithm=${signV4Algorithm}`),oe.push(`X-Amz-Credential=${uriEscape(re)}`),oe.push(`X-Amz-Date=${$}`),oe.push(`X-Amz-Expires=${j}`),oe.push(`X-Amz-SignedHeaders=${uriEscape(V.join(";").toLowerCase())}`),y&&oe.push(`X-Amz-Security-Token=${uriEscape(y)}`);const ie=e.path.split("?")[0];let le=e.path.split("?")[1];le?le=le+"&"+oe.join("&"):le=oe.join("&");const ue=ie+"?"+le,de=getCanonicalRequest(e.method,ue,e.headers,V,z),Ne=getStringToSign(de,L,k),_e=(void 0)("sha256",getSigningKey(L,k,n)).update(Ne).digest("hex").toLowerCase();return e.protocol+"//"+e.headers.host+ue+`&X-Amz-Signature=${_e}`}async function readAsBuffer(e){return new Promise((t,n)=>{const y=[];e.on("data",k=>y.push(k)).on("error",k=>n(k)).on("end",()=>t(Buffer$2.concat(y)))})}async function readAsString(e){return(await readAsBuffer(e)).toString()}async function drainResponse(e){return new Promise((t,n)=>{e.on("data",()=>{}).on("error",y=>n(y)).on("end",()=>t())})}function parseBucketRegion(e){return parseXml(e).LocationConstraint}const fxp=new fxp$2.XMLParser;function parseError(e,t){let n={};const y=fxp.parse(e);y.Error&&(n=y.Error);const k=new S3Error;return Object.entries(n).forEach(([L,j])=>{k[L.toLowerCase()]=j}),Object.entries(t).forEach(([L,j])=>{k[L]=j}),k}async function parseResponseError(e){const t=e.statusCode;let n,y;t===301?(n="MovedPermanently",y="Moved Permanently"):t===307?(n="TemporaryRedirect",y="Are you using the correct endpoint URL?"):t===403?(n="AccessDenied",y="Valid and authorized credentials required"):t===404?(n="NotFound",y="Not Found"):t===405||t===501?(n="MethodNotAllowed",y="Method Not Allowed"):(n="UnknownError",y=`${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 j=new S3Error(y,{cause:k});throw j.code=n,Object.entries(k).forEach(([$,V])=>{j[$]=V}),j}func
|
|||
|
`)}),k.write(`
|
|||
|
`)};if(k.write(`REQUEST: ${t.method} ${t.path}
|
|||
|
`),L(t.headers),n&&(this.logStream.write(`RESPONSE: ${n.statusCode}
|
|||
|
`),L(n.headers)),y){k.write(`ERROR BODY:
|
|||
|
`);const j=JSON.stringify(y,null," ");k.write(`${j}
|
|||
|
`)}}traceOn(t){t||(t=define_process_default$3.stdout),this.logStream=t}traceOff(){this.logStream=void 0}async makeRequestAsync(t,n="",y=[200],k=""){if(!isObject$1(t))throw new TypeError('options should be of type "object"');if(!isString$1(n)&&!isObject$1(n))throw new TypeError('payload should be of type "string" or "Buffer"');if(y.forEach(j=>{if(!isNumber$2(j))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"]=n.length.toString());const L=this.enableSHA256?toSha256(n):"";return this.makeRequestStreamAsync(t,n,L,y,k)}async makeRequestAsyncOmit(t,n="",y=[200],k=""){const L=await this.makeRequestAsync(t,n,y,k);return await drainResponse(L),L}async makeRequestStreamAsync(t,n,y,k,L){if(!isObject$1(t))throw new TypeError('options should be of type "object"');if(!(Buffer$2.isBuffer(n)||typeof n=="string"||isReadableStream$1(n)))throw new InvalidArgumentError(`stream should be a Buffer, string or readable Stream, got ${typeof n} instead`);if(!isString$1(y))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&&y.length!==0)throw new InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&y.length!==64)throw new InvalidArgumentError(`Invalid sha256sum : ${y}`);await this.checkAndRefreshCreds(),L=L||await this.getBucketRegionAsync(t.bucketName);const j=this.getRequestOptions({...t,region:L});if(!this.anonymous){this.enableSHA256||(y="UNSIGNED-PAYLOAD");const V=new Date;j.headers["x-amz-date"]=makeDateLong(V),j.headers["x-amz-content-sha256"]=y,this.sessionToken&&(j.headers["x-amz-security-token"]=this.sessionToken),j.headers.authorization=signV4(j,this.accessKey,this.secretKey,L,V,y)}const $=await request$1(this.transport,j,n);if(!$.statusCode)throw new Error("BUG: response doesn't have a statusCode");if(!k.includes($.statusCode)){delete this.regionMap[t.bucketName];const V=await parseResponseError($);throw this.logHTTP(j,$,V),V}return this.logHTTP(j,$),$}async getBucketRegionAsync(t){if(!isValidBucketName(t))throw new InvalidBucketNameError(`Invalid bucket name : ${t}`);if(this.region)return this.region;const n=this.regionMap[t];if(n)return n;const y=async re=>{const z=await readAsString(re),oe=parseBucketRegion(z)||DEFAULT_REGION;return this.regionMap[t]=oe,oe},k="GET",L="location",j=this.pathStyle&&!isBrowser_1;let $;try{const re=await this.makeRequestAsync({method:k,bucketName:t,query:L,pathStyle:j},"",[200],DEFAULT_REGION);return y(re)}catch(re){if(re.name!=="AuthorizationHeaderMalformed"||($=re.Region,!$))throw re}const V=await this.makeRequestAsync({method:k,bucketName:t,query:L,pathStyle:j},"",[200],$);return await y(V)}makeRequest(t,n="",y=[200],k="",L,j){let $;L?$=this.makeRequestAsync(t,n,y,k):$=this.makeRequestAsyncOmit(t,n,y,k),$.then(V=>j(null,V),V=>{j(V)})}makeRequestStream(t,n,y,k,L,j,$){(async()=>{const re=await this.makeRequestStreamAsync(t,n,y,k,L);return j||await drainResponse(re),re})().then(re=>$(null,re),re=>$(re))}getBucketRegion(t,n){return this.getBucketRegionAsync(t).then(y=>n(null,y),y=>n(y))}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,n,y={}){if(!isValidBucketName(t))throw new InvalidBucketNameError("Invalid bucket name: "+t);if(!isValidObjectName(n))throw new InvalidObjectNameError(`Invalid object name: ${n}`);if(!isObject$1(y))throw new InvalidArgumentError('statOpts should be of type "object"');const k=queryString.stringify(y),j=await this.makeRequestAsyncOmit({method:"HEAD",bucketName:t,objectName:n,query:k});return{size:parseInt(j.headers["content-length"]),metaData:extractMetad
|
|||
|
`).forEach(function(pe){if(pe){var _e=pe.indexOf(":"),he=pe.substr(0,_e).trim().toLowerCase(),Ce=pe.substr(_e+1).trim();de[he]=Ce}}),{error:ie,statusCode:le.status,statusMessage:le.statusText,headers:de,body:ue}},re=function(ie,le){return!le&&le==="text"?ie.responseText:ie.response},z=function(ie,le){var ue=(ie.method||"GET").toUpperCase(),de=ie.url;if(ie.qs){var Ne=$(ie.qs);Ne&&(de+=(de.indexOf("?")===-1?"?":"&")+Ne)}var pe=new XMLHttpRequest;if(pe.open(ue,de,!0),pe.responseType=ie.dataType||"text",ie.xhrFields)for(var _e in ie.xhrFields)pe[_e]=ie.xhrFields[_e];var he=ie.headers;if(he)for(var Ce in he)he.hasOwnProperty(Ce)&&Ce.toLowerCase()!=="content-length"&&Ce.toLowerCase()!=="user-agent"&&Ce.toLowerCase()!=="origin"&&Ce.toLowerCase()!=="host"&&pe.setRequestHeader(Ce,he[Ce]);return ie.onProgress&&pe.upload&&(pe.upload.onprogress=ie.onProgress),ie.onDownloadProgress&&(pe.onprogress=ie.onDownloadProgress),ie.timeout&&(pe.timeout=ie.timeout),pe.ontimeout=function(Fe){var $e=new Error("timeout");le(V($e,pe))},pe.onload=function(){le(V(null,pe,re(pe,ie.dataType)))},pe.onerror=function(Fe){var $e=re(pe,ie.dataType);if($e)le(V(null,pe,$e));else{var Lt=pe.statusText;!Lt&&pe.status===0&&(Lt=new Error("CORS blocked or network error")),le(V(Lt,pe,$e))}},pe.send(ie.body||""),pe};n.exports=z},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(n,y){function k(L,j){if(!(L instanceof j))throw new TypeError("Cannot call a class as a function")}n.exports=k,n.exports.__esModule=!0,n.exports.default=n.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(n,y,k){var L=k("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function j(V,re){for(var z=0;z<re.length;z++){var oe=re[z];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(V,L(oe.key),oe)}}function $(V,re,z){return re&&j(V.prototype,re),z&&j(V,z),Object.defineProperty(V,"prototype",{writable:!1}),V}n.exports=$,n.exports.__esModule=!0,n.exports.default=n.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":function(n,y,k){var L=k("./node_modules/@babel/runtime/helpers/typeof.js").default;function j($,V){if(L($)!=="object"||$===null)return $;var re=$[Symbol.toPrimitive];if(re!==void 0){var z=re.call($,V||"default");if(L(z)!=="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(V==="string"?String:Number)($)}n.exports=j,n.exports.__esModule=!0,n.exports.default=n.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":function(n,y,k){var L=k("./node_modules/@babel/runtime/helpers/typeof.js").default,j=k("./node_modules/@babel/runtime/helpers/toPrimitive.js");function $(V){var re=j(V,"string");return L(re)==="symbol"?re:String(re)}n.exports=$,n.exports.__esModule=!0,n.exports.default=n.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(n,y){function k(L){"@babel/helpers - typeof";return n.exports=k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},n.exports.__esModule=!0,n.exports.default=n.exports,k(L)}n.exports=k,n.exports.__esModule=!0,n.exports.default=n.exports},"./node_modules/fast-xml-parser/src/fxp.js":function(n,y,k){const L=k("./node_modules/fast-xml-parser/src/validator.js"),j=k("./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"),$=k("./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js");n.exports={XMLParser:j,XMLValidator:L,XMLBuilder:$}},"./node_modules/fast-xml-parser/src/util.js":function(n,y,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",j=L+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",$="["+L+"]["+j+"]*",V=new RegExp("^"+$+"$"),re=function(oe,ie){const le=[];let ue=ie.exec(oe);for(;ue;){const de=[];de.startIndex=ie.lastIndex-ue[0].length;const Ne=ue.length;for(let pe=0;pe<Ne;pe++)de.push(ue[pe]);
|
|||
|
`&&$e[Ve]!=="\r";Ve++)ir+=$e[Ve];if(ir=ir.trim(),ir[ir.length-1]==="/"&&(ir=ir.substring(0,ir.length-1),Ve--),!he(ir)){let lr;return ir.trim().length===0?lr="Invalid space after '<'.":lr="Tag '"+ir+"' is an invalid name.",pe("InvalidTag",lr,Ce($e,Ve))}const rr=ie($e,Ve);if(rr===!1)return pe("InvalidAttr","Attributes for '"+ir+"' have open quote.",Ce($e,Ve));let or=rr.value;if(Ve=rr.index,or[or.length-1]==="/"){const lr=Ve-or.length;or=or.substring(0,or.length-1);const hr=ue(or,Lt);if(hr===!0)Ue=!0;else return pe(hr.err.code,hr.err.msg,Ce($e,lr+hr.err.line))}else if(tr)if(rr.tagClosed){if(or.trim().length>0)return pe("InvalidTag","Closing tag '"+ir+"' can't have attributes or invalid starting.",Ce($e,jt));if(Et.length===0)return pe("InvalidTag","Closing tag '"+ir+"' has not been opened.",Ce($e,jt));{const lr=Et.pop();if(ir!==lr.tagName){let hr=Ce($e,lr.tagStartPos);return pe("InvalidTag","Expected closing tag '"+lr.tagName+"' (opened in line "+hr.line+", col "+hr.col+") instead of closing tag '"+ir+"'.",Ce($e,jt))}Et.length==0&&(qe=!0)}}else return pe("InvalidTag","Closing tag '"+ir+"' doesn't have proper closing.",Ce($e,Ve));else{const lr=ue(or,Lt);if(lr!==!0)return pe(lr.err.code,lr.err.msg,Ce($e,Ve-or.length+lr.err.line));if(qe===!0)return pe("InvalidXml","Multiple possible root nodes found.",Ce($e,Ve));Lt.unpairedTags.indexOf(ir)!==-1||Et.push({tagName:ir,tagStartPos:jt}),Ue=!0}for(Ve++;Ve<$e.length;Ve++)if($e[Ve]==="<")if($e[Ve+1]==="!"){Ve++,Ve=re($e,Ve);continue}else if($e[Ve+1]==="?"){if(Ve=V($e,++Ve),Ve.err)return Ve}else break;else if($e[Ve]==="&"){const lr=Ne($e,Ve);if(lr==-1)return pe("InvalidChar","char '&' is not expected.",Ce($e,Ve));Ve=lr}else if(qe===!0&&!$($e[Ve]))return pe("InvalidXml","Extra text at the end",Ce($e,Ve));$e[Ve]==="<"&&Ve--}}else{if($($e[Ve]))continue;return pe("InvalidChar","char '"+$e[Ve]+"' is not expected.",Ce($e,Ve))}if(Ue){if(Et.length==1)return pe("InvalidTag","Unclosed tag '"+Et[0].tagName+"'.",Ce($e,Et[0].tagStartPos));if(Et.length>0)return pe("InvalidXml","Invalid '"+JSON.stringify(Et.map(Ve=>Ve.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return pe("InvalidXml","Start tag expected.",1);return!0};function $($e){return $e===" "||$e===" "||$e===`
|
|||
|
`||$e==="\r"}function V($e,Lt){const Et=Lt;for(;Lt<$e.length;Lt++)if($e[Lt]=="?"||$e[Lt]==" "){const Ue=$e.substr(Et,Lt-Et);if(Lt>5&&Ue==="xml")return pe("InvalidXml","XML declaration allowed only at the start of the document.",Ce($e,Lt));if($e[Lt]=="?"&&$e[Lt+1]==">"){Lt++;break}else continue}return Lt}function re($e,Lt){if($e.length>Lt+5&&$e[Lt+1]==="-"&&$e[Lt+2]==="-"){for(Lt+=3;Lt<$e.length;Lt++)if($e[Lt]==="-"&&$e[Lt+1]==="-"&&$e[Lt+2]===">"){Lt+=2;break}}else if($e.length>Lt+8&&$e[Lt+1]==="D"&&$e[Lt+2]==="O"&&$e[Lt+3]==="C"&&$e[Lt+4]==="T"&&$e[Lt+5]==="Y"&&$e[Lt+6]==="P"&&$e[Lt+7]==="E"){let Et=1;for(Lt+=8;Lt<$e.length;Lt++)if($e[Lt]==="<")Et++;else if($e[Lt]===">"&&(Et--,Et===0))break}else if($e.length>Lt+9&&$e[Lt+1]==="["&&$e[Lt+2]==="C"&&$e[Lt+3]==="D"&&$e[Lt+4]==="A"&&$e[Lt+5]==="T"&&$e[Lt+6]==="A"&&$e[Lt+7]==="["){for(Lt+=8;Lt<$e.length;Lt++)if($e[Lt]==="]"&&$e[Lt+1]==="]"&&$e[Lt+2]===">"){Lt+=2;break}}return Lt}const z='"',oe="'";function ie($e,Lt){let Et="",Ue="",qe=!1;for(;Lt<$e.length;Lt++){if($e[Lt]===z||$e[Lt]===oe)Ue===""?Ue=$e[Lt]:Ue!==$e[Lt]||(Ue="");else if($e[Lt]===">"&&Ue===""){qe=!0;break}Et+=$e[Lt]}return Ue!==""?!1:{value:Et,index:Lt,tagClosed:qe}}const le=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function ue($e,Lt){const Et=L.getAllMatches($e,le),Ue={};for(let qe=0;qe<Et.length;qe++){if(Et[qe][1].length===0)return pe("InvalidAttr","Attribute '"+Et[qe][2]+"' has no space in starting.",Fe(Et[qe]));if(Et[qe][3]!==void 0&&Et[qe][4]===void 0)return pe("InvalidAttr","Attribute '"+Et[qe][2]+"' is without value.",Fe(Et[qe]));if(Et[qe][3]===void 0&&!Lt.allowBooleanAttributes)return pe("InvalidAttr","boolean attribute '"+Et[qe][2]+"' is not allowed.",Fe(Et[qe]));const Ve=Et[qe][2];if(!_e(Ve))return pe("InvalidAttr","Attribute '"+Ve+"' is an invalid name.",Fe(Et[qe]));if(!Ue.hasOwnProperty(Ve))Ue[Ve]=1;else return pe("InvalidAttr","Attribute '"+Ve+"' is repeated.",Fe(Et[qe]))}return!0}function de($e,Lt){let Et=/\d/;for($e[Lt]==="x"&&(Lt++,Et=/[\da-fA-F]/);Lt<$e.length;Lt++){if($e[Lt]===";")return Lt;if(!$e[Lt].match(Et))break}return-1}function Ne($e,Lt){if(Lt++,$e[Lt]===";")return-1;if($e[Lt]==="#")return Lt++,de($e,Lt);let Et=0;for(;Lt<$e.length;Lt++,Et++)if(!($e[Lt].match(/\w/)&&Et<20)){if($e[Lt]===";")break;return-1}return Lt}function pe($e,Lt,Et){return{err:{code:$e,msg:Lt,line:Et.line||Et,col:Et.col}}}function _e($e){return L.isName($e)}function he($e){return L.isName($e)}function Ce($e,Lt){const Et=$e.substring(0,Lt).split(/\r?\n/);return{line:Et.length,col:Et[Et.length-1].length+1}}function Fe($e){return $e.startIndex+$e[1].length}},"./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js":function(n,y,k){const L=k("./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"),j={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(oe,ie){return ie},attributeValueProcessor:function(oe,ie){return ie},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function $(oe){this.options=Object.assign({},j,oe),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=z),this.processTextOrObjNode=V,this.options.format?(this.indentate=re,this.tagEndChar=`>
|
|||
|
`,this.newLine=`
|
|||
|
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}$.prototype.build=function(oe){return this.options.preserveOrder?L(oe,this.options):(Array.isArray(oe)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(oe={[this.options.arrayNodeName]:oe}),this.j2x(oe,0).val)},$.prototype.j2x=function(oe,ie){let le="",ue="";for(let de in oe)if(Object.prototype.hasOwnProperty.call(oe,de))if(typeof oe[de]>"u")this.isAttribute(de)&&(ue+="");else if(oe[de]===null)this.isAttribute(de)?ue+="":de[0]==="?"?ue+=this.indentate(ie)+"<"+de+"?"+this.tagEndChar:ue+=this.indentate(ie)+"<"+de+"/"+this.tagEndChar;else if(oe[de]instanceof Date)ue+=this.buildTextValNode(oe[de],de,"",ie);else if(typeof oe[de]!="object"){const Ne=this.isAttribute(de);if(Ne)le+=this.buildAttrPairStr(Ne,""+oe[de]);else if(de===this.options.textNodeName){let pe=this.options.tagValueProcessor(de,""+oe[de]);ue+=this.replaceEntitiesValue(pe)}else ue+=this.buildTextValNode(oe[de],de,"",ie)}else if(Array.isArray(oe[de])){const Ne=oe[de].length;let pe="";for(let _e=0;_e<Ne;_e++){const he=oe[de][_e];typeof he>"u"||(he===null?de[0]==="?"?ue+=this.indentate(ie)+"<"+de+"?"+this.tagEndChar:ue+=this.indentate(ie)+"<"+de+"/"+this.tagEndChar:typeof he=="object"?this.options.oneListGroup?pe+=this.j2x(he,ie+1).val:pe+=this.processTextOrObjNode(he,de,ie):pe+=this.buildTextValNode(he,de,"",ie))}this.options.oneListGroup&&(pe=this.buildObjectNode(pe,de,"",ie)),ue+=pe}else if(this.options.attributesGroupName&&de===this.options.attributesGroupName){const Ne=Object.keys(oe[de]),pe=Ne.length;for(let _e=0;_e<pe;_e++)le+=this.buildAttrPairStr(Ne[_e],""+oe[de][Ne[_e]])}else ue+=this.processTextOrObjNode(oe[de],de,ie);return{attrStr:le,val:ue}},$.prototype.buildAttrPairStr=function(oe,ie){return ie=this.options.attributeValueProcessor(oe,""+ie),ie=this.replaceEntitiesValue(ie),this.options.suppressBooleanAttributes&&ie==="true"?" "+oe:" "+oe+'="'+ie+'"'};function V(oe,ie,le){const ue=this.j2x(oe,le+1);return oe[this.options.textNodeName]!==void 0&&Object.keys(oe).length===1?this.buildTextValNode(oe[this.options.textNodeName],ie,ue.attrStr,le):this.buildObjectNode(ue.val,ie,ue.attrStr,le)}$.prototype.buildObjectNode=function(oe,ie,le,ue){if(oe==="")return ie[0]==="?"?this.indentate(ue)+"<"+ie+le+"?"+this.tagEndChar:this.indentate(ue)+"<"+ie+le+this.closeTag(ie)+this.tagEndChar;{let de="</"+ie+this.tagEndChar,Ne="";return ie[0]==="?"&&(Ne="?",de=""),(le||le==="")&&oe.indexOf("<")===-1?this.indentate(ue)+"<"+ie+le+Ne+">"+oe+de:this.options.commentPropName!==!1&&ie===this.options.commentPropName&&Ne.length===0?this.indentate(ue)+`<!--${oe}-->`+this.newLine:this.indentate(ue)+"<"+ie+le+Ne+this.tagEndChar+oe+this.indentate(ue)+de}},$.prototype.closeTag=function(oe){let ie="";return this.options.unpairedTags.indexOf(oe)!==-1?this.options.suppressUnpairedNode||(ie="/"):this.options.suppressEmptyNode?ie="/":ie=`></${oe}`,ie},$.prototype.buildTextValNode=function(oe,ie,le,ue){if(this.options.cdataPropName!==!1&&ie===this.options.cdataPropName)return this.indentate(ue)+`<![CDATA[${oe}]]>`+this.newLine;if(this.options.commentPropName!==!1&&ie===this.options.commentPropName)return this.indentate(ue)+`<!--${oe}-->`+this.newLine;if(ie[0]==="?")return this.indentate(ue)+"<"+ie+le+"?"+this.tagEndChar;{let de=this.options.tagValueProcessor(ie,oe);return de=this.replaceEntitiesValue(de),de===""?this.indentate(ue)+"<"+ie+le+this.closeTag(ie)+this.tagEndChar:this.indentate(ue)+"<"+ie+le+">"+de+"</"+ie+this.tagEndChar}},$.prototype.replaceEntitiesValue=function(oe){if(oe&&oe.length>0&&this.options.processEntities)for(let ie=0;ie<this.options.entities.length;ie++){const le=this.options.entities[ie];oe=oe.replace(le.regex,le.val)}return oe};function re(oe){return this.options.indentBy.repeat(oe)}function z(oe){return oe.startsWith(this.options.attributeNamePrefix)&&oe!==this.options.textNodeName?oe.substr(this.attrPrefixLen):!1}n.exports=$},"./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js":function(n,y){const k=`
|
|||
|
`;function L(oe,ie){let le="";return ie.format&&ie.indentBy.length>0&&(le=k),j(oe,ie,"",le)}function j(oe,ie,le,ue){let de="",Ne=!1;for(let pe=0;pe<oe.length;pe++){const _e=oe[pe],he=$(_e);if(he===void 0)continue;let Ce="";if(le.length===0?Ce=he:Ce=`${le}.${he}`,he===ie.textNodeName){let Ue=_e[he];re(Ce,ie)||(Ue=ie.tagValueProcessor(he,Ue),Ue=z(Ue,ie)),Ne&&(de+=ue),de+=Ue,Ne=!1;continue}else if(he===ie.cdataPropName){Ne&&(de+=ue),de+=`<![CDATA[${_e[he][0][ie.textNodeName]}]]>`,Ne=!1;continue}else if(he===ie.commentPropName){de+=ue+`<!--${_e[he][0][ie.textNodeName]}-->`,Ne=!0;continue}else if(he[0]==="?"){const Ue=V(_e[":@"],ie),qe=he==="?xml"?"":ue;let Ve=_e[he][0][ie.textNodeName];Ve=Ve.length!==0?" "+Ve:"",de+=qe+`<${he}${Ve}${Ue}?>`,Ne=!0;continue}let Fe=ue;Fe!==""&&(Fe+=ie.indentBy);const $e=V(_e[":@"],ie),Lt=ue+`<${he}${$e}`,Et=j(_e[he],ie,Ce,Fe);ie.unpairedTags.indexOf(he)!==-1?ie.suppressUnpairedNode?de+=Lt+">":de+=Lt+"/>":(!Et||Et.length===0)&&ie.suppressEmptyNode?de+=Lt+"/>":Et&&Et.endsWith(">")?de+=Lt+`>${Et}${ue}</${he}>`:(de+=Lt+">",Et&&ue!==""&&(Et.includes("/>")||Et.includes("</"))?de+=ue+ie.indentBy+Et+ue:de+=Et,de+=`</${he}>`),Ne=!0}return de}function $(oe){const ie=Object.keys(oe);for(let le=0;le<ie.length;le++){const ue=ie[le];if(oe.hasOwnProperty(ue)&&ue!==":@")return ue}}function V(oe,ie){let le="";if(oe&&!ie.ignoreAttributes)for(let ue in oe){if(!oe.hasOwnProperty(ue))continue;let de=ie.attributeValueProcessor(ue,oe[ue]);de=z(de,ie),de===!0&&ie.suppressBooleanAttributes?le+=` ${ue.substr(ie.attributeNamePrefix.length)}`:le+=` ${ue.substr(ie.attributeNamePrefix.length)}="${de}"`}return le}function re(oe,ie){oe=oe.substr(0,oe.length-ie.textNodeName.length-1);let le=oe.substr(oe.lastIndexOf(".")+1);for(let ue in ie.stopNodes)if(ie.stopNodes[ue]===oe||ie.stopNodes[ue]==="*."+le)return!0;return!1}function z(oe,ie){if(oe&&oe.length>0&&ie.processEntities)for(let le=0;le<ie.entities.length;le++){const ue=ie.entities[le];oe=oe.replace(ue.regex,ue.val)}return oe}n.exports=L},"./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js":function(n,y,k){const L=k("./node_modules/fast-xml-parser/src/util.js");function j(ue,de){const Ne={};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 pe=1,_e=!1,he=!1,Ce="";for(;de<ue.length;de++)if(ue[de]==="<"&&!he){if(_e&&re(ue,de))de+=7,[entityName,val,de]=$(ue,de+1),val.indexOf("&")===-1&&(Ne[le(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(_e&&z(ue,de))de+=8;else if(_e&&oe(ue,de))de+=8;else if(_e&&ie(ue,de))de+=9;else if(V)he=!0;else throw new Error("Invalid DOCTYPE");pe++,Ce=""}else if(ue[de]===">"){if(he?ue[de-1]==="-"&&ue[de-2]==="-"&&(he=!1,pe--):pe--,pe===0)break}else ue[de]==="["?_e=!0:Ce+=ue[de];if(pe!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:Ne,i:de}}function $(ue,de){let Ne="";for(;de<ue.length&&ue[de]!=="'"&&ue[de]!=='"';de++)Ne+=ue[de];if(Ne=Ne.trim(),Ne.indexOf(" ")!==-1)throw new Error("External entites are not supported");const pe=ue[de++];let _e="";for(;de<ue.length&&ue[de]!==pe;de++)_e+=ue[de];return[Ne,_e,de]}function V(ue,de){return ue[de+1]==="!"&&ue[de+2]==="-"&&ue[de+3]==="-"}function re(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 z(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 oe(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 ie(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 le(ue){if(L.isName(ue))return ue;throw new Error(`Invalid entity name ${ue}`)}n.exports=j},"./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js":function(n,y){const k={preserveOrder:!1,attributeNamePrefix:"@_",at
|
|||
|
`);const qe=new j("!xml");let Ve=qe,jt="",tr="";for(let ir=0;ir<Ue.length;ir++)if(Ue[ir]==="<")if(Ue[ir+1]==="/"){const or=Fe(Ue,">",ir,"Closing Tag is not closed.");let lr=Ue.substring(ir+2,or).trim();if(this.options.removeNSPrefix){const vr=lr.indexOf(":");vr!==-1&&(lr=lr.substr(vr+1))}this.options.transformTagName&&(lr=this.options.transformTagName(lr)),Ve&&(jt=this.saveTextToParentTag(jt,Ve,tr));const hr=tr.substring(tr.lastIndexOf(".")+1);if(lr&&this.options.unpairedTags.indexOf(lr)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${lr}>`);let fr=0;hr&&this.options.unpairedTags.indexOf(hr)!==-1?(fr=tr.lastIndexOf(".",tr.lastIndexOf(".")-1),this.tagsNodeStack.pop()):fr=tr.lastIndexOf("."),tr=tr.substring(0,fr),Ve=this.tagsNodeStack.pop(),jt="",ir=or}else if(Ue[ir+1]==="?"){let or=$e(Ue,ir,!1,"?>");if(!or)throw new Error("Pi Tag is not closed.");if(jt=this.saveTextToParentTag(jt,Ve,tr),!(this.options.ignoreDeclaration&&or.tagName==="?xml"||this.options.ignorePiTags)){const lr=new j(or.tagName);lr.add(this.options.textNodeName,""),or.tagName!==or.tagExp&&or.attrExpPresent&&(lr[":@"]=this.buildAttributesMap(or.tagExp,tr,or.tagName)),this.addChild(Ve,lr,tr)}ir=or.closeIndex+1}else if(Ue.substr(ir+1,3)==="!--"){const or=Fe(Ue,"-->",ir+4,"Comment is not closed.");if(this.options.commentPropName){const lr=Ue.substring(ir+4,or-2);jt=this.saveTextToParentTag(jt,Ve,tr),Ve.add(this.options.commentPropName,[{[this.options.textNodeName]:lr}])}ir=or}else if(Ue.substr(ir+1,2)==="!D"){const or=$(Ue,ir);this.docTypeEntities=or.entities,ir=or.i}else if(Ue.substr(ir+1,2)==="!["){const or=Fe(Ue,"]]>",ir,"CDATA is not closed.")-2,lr=Ue.substring(ir+9,or);jt=this.saveTextToParentTag(jt,Ve,tr);let hr=this.parseTextData(lr,Ve.tagname,tr,!0,!1,!0,!0);hr==null&&(hr=""),this.options.cdataPropName?Ve.add(this.options.cdataPropName,[{[this.options.textNodeName]:lr}]):Ve.add(this.options.textNodeName,hr),ir=or+2}else{let or=$e(Ue,ir,this.options.removeNSPrefix),lr=or.tagName;const hr=or.rawTagName;let fr=or.tagExp,vr=or.attrExpPresent,Dr=or.closeIndex;this.options.transformTagName&&(lr=this.options.transformTagName(lr)),Ve&&jt&&Ve.tagname!=="!xml"&&(jt=this.saveTextToParentTag(jt,Ve,tr,!1));const Sr=Ve;if(Sr&&this.options.unpairedTags.indexOf(Sr.tagname)!==-1&&(Ve=this.tagsNodeStack.pop(),tr=tr.substring(0,tr.lastIndexOf("."))),lr!==qe.tagname&&(tr+=tr?"."+lr:lr),this.isItStopNode(this.options.stopNodes,tr,lr)){let br="";if(fr.length>0&&fr.lastIndexOf("/")===fr.length-1)lr[lr.length-1]==="/"?(lr=lr.substr(0,lr.length-1),tr=tr.substr(0,tr.length-1),fr=lr):fr=fr.substr(0,fr.length-1),ir=or.closeIndex;else if(this.options.unpairedTags.indexOf(lr)!==-1)ir=or.closeIndex;else{const Ir=this.readStopNodeData(Ue,hr,Dr+1);if(!Ir)throw new Error(`Unexpected end of ${hr}`);ir=Ir.i,br=Ir.tagContent}const Cr=new j(lr);lr!==fr&&vr&&(Cr[":@"]=this.buildAttributesMap(fr,tr,lr)),br&&(br=this.parseTextData(br,lr,tr,!0,vr,!0,!0)),tr=tr.substr(0,tr.lastIndexOf(".")),Cr.add(this.options.textNodeName,br),this.addChild(Ve,Cr,tr)}else{if(fr.length>0&&fr.lastIndexOf("/")===fr.length-1){lr[lr.length-1]==="/"?(lr=lr.substr(0,lr.length-1),tr=tr.substr(0,tr.length-1),fr=lr):fr=fr.substr(0,fr.length-1),this.options.transformTagName&&(lr=this.options.transformTagName(lr));const br=new j(lr);lr!==fr&&vr&&(br[":@"]=this.buildAttributesMap(fr,tr,lr)),this.addChild(Ve,br,tr),tr=tr.substr(0,tr.lastIndexOf("."))}else{const br=new j(lr);this.tagsNodeStack.push(Ve),lr!==fr&&vr&&(br[":@"]=this.buildAttributesMap(fr,tr,lr)),this.addChild(Ve,br,tr),Ve=br}jt="",ir=Dr}}else jt+=Ue[ir];return qe.child};function Ne(Ue,qe,Ve){const jt=this.options.updateTag(qe.tagname,Ve,qe[":@"]);jt===!1||(typeof jt=="string"&&(qe.tagname=jt),Ue.addChild(qe))}const pe=function(Ue){if(this.options.processEntities){for(let qe in this.docTypeEntities){const Ve=this.docTypeEntities[qe];Ue=Ue.replace(Ve.regx,Ve.val)}for(let qe in this.lastEntities){const Ve=this.lastEntities[qe];Ue=Ue.replace(Ve.regex,Ve.val)}if(this.options.htmlEntities)for(let qe in this.htmlEntities){const Ve=this.htmlEntit
|
|||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Fi=!0,Ta=!1,eo;return{s:function(){vn=vn.call(Lr)},n:function(){var Mi=vn.next();return Fi=Mi.done,Mi},e:function(Mi){Ta=!0,eo=Mi},f:function(){try{!Fi&&vn.return!=null&&vn.return()}finally{if(Ta)throw eo}}}}function V(Lr,Er){if(Lr){if(typeof Lr=="string")return re(Lr,Er);var vn=Object.prototype.toString.call(Lr).slice(8,-1);if(vn==="Object"&&Lr.constructor&&(vn=Lr.constructor.name),vn==="Map"||vn==="Set")return Array.from(Lr);if(vn==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(vn))return re(Lr,Er)}}function re(Lr,Er){(Er==null||Er>Lr.length)&&(Er=Lr.length);for(var vn=0,En=new Array(Er);vn<Er;vn++)En[vn]=Lr[vn];return En}var z=k("./lib/md5.js"),oe=k("./lib/crypto.js"),ie=k("./node_modules/fast-xml-parser/src/fxp.js"),le=ie.XMLParser,ue=ie.XMLBuilder,de=new le({ignoreDeclaration:!0,ignoreAttributes:!0,parseTagValue:!1}),Ne=new ue,pe=k("./lib/base64.js"),_e=k("./src/tracker.js"),he=function(Er){var vn=de.parse(Er);return vn},Ce=function(Er){var vn=Ne.build(Er);return vn};function Fe(Lr){return encodeURIComponent(Lr).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function $e(Lr,Er){var vn=[];for(var En in Lr)Lr.hasOwnProperty(En)&&vn.push(Er?Fe(En).toLowerCase():En);return vn.sort(function(ra,Fi){return ra=ra.toLowerCase(),Fi=Fi.toLowerCase(),ra===Fi?0:ra>Fi?1:-1})}var Lt=function(Er,vn){var En,ra,Fi,Ta=[],eo=$e(Er);for(En=0;En<eo.length;En++)ra=eo[En],Fi=Er[ra]===void 0||Er[ra]===null?"":""+Er[ra],ra=vn?Fe(ra).toLowerCase():Fe(ra),Fi=Fe(Fi)||"",Ta.push(ra+"="+Fi);return Ta.join("&")},Et=["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(Er){var vn={};for(var En in Er){var ra=En.toLowerCase();(ra.indexOf("x-cos-")>-1||Et.indexOf(ra)>-1)&&(vn[En]=Er[En])}return vn},qe=function(Er){Er=Er||{};var vn=Er.SecretId,En=Er.SecretKey,ra=Er.KeyTime,Fi=(Er.method||Er.Method||"get").toLowerCase(),Ta=br(Er.Query||Er.params||{}),eo=Ue(br(Er.Headers||Er.headers||{})),ni=Er.Key||"",Mi;Er.UseRawKey?Mi=Er.Pathname||Er.pathname||"/"+ni:(Mi=Er.Pathname||Er.pathname||ni,Mi.indexOf("/")!==0&&(Mi="/"+Mi));var fa=Er.ForceSignHost!==!1;if(!eo.Host&&!eo.host&&Er.Bucket&&Er.Region&&fa&&(eo.Host=Er.Bucket+".cos."+Er.Region+".myqcloud.com"),!vn)throw new Error("missing param SecretId");if(!En)throw new Error("missing param SecretKey");var vs=Math.round(Tr(Er.SystemClockOffset)/1e3)-1,qo=vs,nl=Er.Expires||Er.expires;nl===void 0?qo+=900:qo+=nl*1||0;var fl="sha1",_u=vn,hs=ra||vs+";"+qo,Eu=ra||vs+";"+qo,vu=$e(eo,!0).join(";").toLowerCase(),vc=$e(Ta,!0).join(";").toLowerCase(),dc=oe.HmacSHA1(Eu,En).toString(),Uu=[Fi,Mi,Rn.obj2str(Ta,!0),Rn.obj2str(eo,!0),""].join(`
|
|||
|
`),vl=["sha1",hs,oe.SHA1(Uu).toString(),""].join(`
|
|||
|
`),Yo=oe.HmacSHA1(vl,dc).toString(),As=["q-sign-algorithm="+fl,"q-ak="+_u,"q-sign-time="+hs,"q-key-time="+Eu,"q-header-list="+vu,"q-url-param-list="+vc,"q-signature="+Yo].join("&");return As},Ve=function(Er,vn,En){var ra=vn/8,Fi=Er.slice(En,En+ra);return new Uint8Array(Fi).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[vn](Fi)[0]},jt=function(Er,vn,En,ra){var Fi=Er.slice(vn,En),Ta="";return new Uint8Array(Fi).forEach(function(eo){Ta+=String.fromCharCode(eo)}),ra&&(Ta=decodeURIComponent(escape(Ta))),Ta},tr=function(Er){for(var vn={},En=jt(Er),ra={records:[]};Er.byteLength;){var Fi=Ve(Er,32,0),Ta=Ve(Er,32,4),eo=Fi-Ta-16,ni=0,Mi;for(Er=Er.slice(12);ni<Ta;){var fa=Ve(Er,8,ni),vs=jt(Er,ni+1,ni+1+fa),qo=Ve(Er,16,ni+fa+2),nl=jt(Er,ni+fa+4,ni+fa+4+qo);vn[vs]=nl,ni+=fa+4+qo}if(vn[":event-type"]==="Records")Mi=jt(Er,ni,ni+eo,!0),ra.records.push(Mi);else if(vn[":event-type"]==="Stats")Mi=jt(Er,ni,ni+eo,!0),ra.stats=Rn.xml2json(Mi).Stats;else if(vn[":event-type"]==="error"){var fl=vn[":error-code"],_u=vn[":error-message"],hs=new Error(_u);hs.message=_u,hs.name=hs.code=fl,ra.error=hs}Er=Er.slice(ni+eo+4)}return{payload:ra.records.join(""),body:En}},ir=function(Er){var vn=this.options.CopySourceParser;if(vn)return vn(Er);var En=Er.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return En?{Bucket:En[1],Region:En[3],Key:En[7]}:null},rr=function(){},or=function(Er){var vn={};for(var En in Er)Er.hasOwnProperty(En)&&Er[En]!==void 0&&Er[En]!==null&&(vn[En]=Er[En]);return vn},lr=function(Er,vn){var En,ra=new FileReader;FileReader.prototype.readAsBinaryString?(En=FileReader.prototype.readAsBinaryString,ra.onload=function(){vn(this.result)}):FileReader.prototype.readAsArrayBuffer?En=function(Ta){var eo="",ni=new FileReader;ni.onload=function(Mi){for(var fa=new Uint8Array(ni.result),vs=fa.byteLength,qo=0;qo<vs;qo++)eo+=String.fromCharCode(fa[qo]);vn(eo)},ni.readAsArrayBuffer(Ta)}:console.error("FileReader not support readAsBinaryString"),En.call(ra,Er)},hr=function(){var Lr=function(En,ra){En=En.split("."),ra=ra.split(".");for(var Fi=0;Fi<ra.length;Fi++)if(En[Fi]!==ra[Fi])return parseInt(En[Fi])>parseInt(ra[Fi])?1:-1;return 0},Er=function(En){if(!En)return!1;var ra=(En.match(/Chrome\/([.\d]+)/)||[])[1],Fi=(En.match(/QBCore\/([.\d]+)/)||[])[1],Ta=(En.match(/QQBrowser\/([.\d]+)/)||[])[1],eo=ra&&Lr(ra,"53.0.2785.116")<0&&Fi&&Lr(Fi,"3.53.991.400")<0&&Ta&&Lr(Ta,"9.0.2524.400")<=0||!1;return eo};return Er(typeof navigator<"u"&&navigator.userAgent)}(),fr=function(Er,vn,En,ra,Fi){var Ta;if(Er.slice?Ta=Er.slice(vn,En):Er.mozSlice?Ta=Er.mozSlice(vn,En):Er.webkitSlice&&(Ta=Er.webkitSlice(vn,En)),ra&&hr){var eo=new FileReader;eo.onload=function(ni){Ta=null,Fi(new Blob([eo.result]))},eo.readAsArrayBuffer(Ta)}else Fi(Ta)},vr=function(Er,vn,En,ra){En=En||rr,Er?typeof vn=="string"?En(Rn.md5(vn,!0)):Blob&&vn instanceof Blob?Rn.getFileMd5(vn,function(Fi,Ta){En(Ta)},ra):En():En()},Dr=1024*1024,Sr=function(Er,vn,En){var ra=Er.size,Fi=0,Ta=z.getCtx(),eo=function ni(Mi){if(Mi>=ra){var fa=Ta.digest("hex");vn(null,fa);return}var vs=Math.min(ra,Mi+Dr);Rn.fileSlice(Er,Mi,vs,!1,function(qo){lr(qo,function(nl){qo=null,Ta=Ta.update(nl,!0),Fi+=nl.length,nl=null,En&&En({loaded:Fi,total:ra,percent:Math.round(Fi/ra*1e4)/1e4}),ni(Mi+Dr)})})};eo(0)};function br(Lr){return Pr(Lr,function(Er){return j(Er)==="object"&&Er!==null?br(Er):Er})}function Cr(Lr,Er,vn){return Lr&&Er in Lr?Lr[Er]:vn}function Ir(Lr,Er){return Rr(Er,function(vn,En){Lr[En]=Er[En]}),Lr}function Ar(Lr){return Lr instanceof Array}function dr(Lr,Er){for(var vn=!1,En=0;En<Lr.length;En++)if(Er===Lr[En]){vn=!0;break}return vn}function cr(Lr){return Ar(Lr)?Lr:[Lr]}function Rr(Lr,Er){for(var vn in Lr)Lr.hasOwnProperty(vn)&&Er(Lr[vn],vn)}function Pr(Lr,Er){var vn=Ar(Lr)?[]:{};for(var En in Lr)Lr.hasOwnProperty(En)&&(vn[En]=Er(Lr[En],En));return vn}function Mr(Lr,Er){var vn=Ar(Lr),En=vn?[]:{};for(var ra in Lr)Lr.hasOwnProperty(ra)&&Er(Lr[ra],ra)&&(vn?En.push(Lr[ra]):En[ra]=Lr[ra]);return En}var jr=function(Er){var vn,En,ra,Fi="";for(vn=0,En=Er.length/2;v
|
|||
|
`).forEach(function(j){k=j.indexOf(":"),n=j.substring(0,k).trim().toLowerCase(),y=j.substring(k+1).trim(),!(!n||t[n]&&ignoreDuplicateOf[n])&&(n==="set-cookie"?t[n]?t[n].push(y):t[n]=[y]:t[n]=t[n]?t[n]+", "+y:y)}),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),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let y;for(;y=n.exec(e);)t[y[1]]=y[2];return t}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,t,n,y,k){if(utils$1.isFunction(y))return y.call(this,t,n);if(k&&(t=n),!!utils$1.isString(t)){if(utils$1.isString(y))return t.indexOf(y)!==-1;if(utils$1.isRegExp(y))return y.test(t)}}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,y)=>n.toUpperCase()+y)}function buildAccessors(e,t){const n=utils$1.toCamelCase(" "+t);["get","set","has"].forEach(y=>{Object.defineProperty(e,y+n,{value:function(k,L,j){return this[y].call(this,t,k,L,j)},configurable:!0})})}class AxiosHeaders{constructor(t){t&&this.set(t)}set(t,n,y){const k=this;function L($,V,re){const z=normalizeHeader(V);if(!z)throw new Error("header name must be a non-empty string");const oe=utils$1.findKey(k,z);(!oe||k[oe]===void 0||re===!0||re===void 0&&k[oe]!==!1)&&(k[oe||V]=normalizeValue($))}const j=($,V)=>utils$1.forEach($,(re,z)=>L(re,z,V));if(utils$1.isPlainObject(t)||t instanceof this.constructor)j(t,n);else if(utils$1.isString(t)&&(t=t.trim())&&!isValidHeaderName(t))j(parseHeaders(t),n);else if(utils$1.isHeaders(t))for(const[$,V]of t.entries())L(V,$,y);else t!=null&&L(n,t,y);return this}get(t,n){if(t=normalizeHeader(t),t){const y=utils$1.findKey(this,t);if(y){const k=this[y];if(!n)return k;if(n===!0)return parseTokens(k);if(utils$1.isFunction(n))return n.call(this,k,y);if(utils$1.isRegExp(n))return n.exec(k);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=normalizeHeader(t),t){const y=utils$1.findKey(this,t);return!!(y&&this[y]!==void 0&&(!n||matchHeaderValue(this,this[y],y,n)))}return!1}delete(t,n){const y=this;let k=!1;function L(j){if(j=normalizeHeader(j),j){const $=utils$1.findKey(y,j);$&&(!n||matchHeaderValue(y,y[$],$,n))&&(delete y[$],k=!0)}}return utils$1.isArray(t)?t.forEach(L):L(t),k}clear(t){const n=Object.keys(this);let y=n.length,k=!1;for(;y--;){const L=n[y];(!t||matchHeaderValue(this,this[L],L,t,!0))&&(delete this[L],k=!0)}return k}normalize(t){const n=this,y={};return utils$1.forEach(this,(k,L)=>{const j=utils$1.findKey(y,L);if(j){n[j]=normalizeValue(k),delete n[L];return}const $=t?formatHeader(L):String(L).trim();$!==L&&delete n[L],n[$]=normalizeValue(k),y[$]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return utils$1.forEach(this,(y,k)=>{y!=null&&y!==!1&&(n[k]=t&&utils$1.isArray(y)?y.join(", "):y)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|||
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const y=new this(t);return n.forEach(k=>y.set(k)),y}static accessor(t){const y=(this[$internals]=this[$internals]={accessors:{}}).accessors,k=this.prototype;function L(j){const $=normalizeHeader(j);y[$]||(buildAccessors(k,j),y[$]=!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 n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(y){this[n]=y}}});utils$1.freezeMethods(AxiosHeaders);function transformData(e,t){const n=this||defaults,y=t||n,k=AxiosHeaders.from(y.headers);let L=y.data;return utils$1.forEach(e,function($){L=$.call(n,L,k.normalize(),t?t.status:void 0)}),k.normalize(),L}function isCancel(e){return!!(e&&e.__CANCEL__)}function CanceledError(e,t,n){AxiosError.call(this,e??"canceled",AxiosError.ERR_CANCELED,t,n),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(e,t,n){const y=n.config.validateStatus;!n.status||!y||y(n.status)?e(n):t(new AxiosError("Request failed with status code "+n.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function parseProtocol(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function speedometer(e,t){e=e||10;const n=new Array(e),y=new Array(e);let k=0,L=0,j;return t=t!==void 0?t:1e3,function(V){const re=Date.now(),z=y[L];j||(j=re),n[k]=V,y[k]=re;let oe=L,ie=0;for(;oe!==k;)ie+=n[oe++],oe=oe%e;if(k=(k+1)%e,k===L&&(L=(L+1)%e),re-j<t)return;const le=z&&re-z;return le?Math.round(ie*1e3/le):void 0}}function throttle(e,t){let n=0,y=1e3/t,k,L;const j=(re,z=Date.now())=>{n=z,k=null,L&&(clearTimeout(L),L=null),e.apply(null,re)};return[(...re)=>{const z=Date.now(),oe=z-n;oe>=y?j(re,z):(k=re,L||(L=setTimeout(()=>{L=null,j(k)},y-oe)))},()=>k&&j(k)]}const progressEventReducer=(e,t,n=3)=>{let y=0;const k=speedometer(50,250);return throttle(L=>{const j=L.loaded,$=L.lengthComputable?L.total:void 0,V=j-y,re=k(V),z=j<=$;y=j;const oe={loaded:j,total:$,progress:$?j/$:void 0,bytes:V,rate:re||void 0,estimated:re&&$&&z?($-j)/re:void 0,event:L,lengthComputable:$!=null,[t?"download":"upload"]:!0};e(oe)},n)},progressEventDecorator=(e,t)=>{const n=e!=null;return[y=>t[0]({lengthComputable:n,total:e,loaded:y}),t[1]]},asyncDecorator=e=>(...t)=>utils$1.asap(()=>e(...t)),isURLSameOrigin=platform.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let y;function k(L){let j=L;return t&&(n.setAttribute("href",j),j=n.href),n.setAttribute("href",j),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return y=k(window.location.href),function(j){const $=utils$1.isString(j)?k(j):j;return $.protocol===y.protocol&&$.host===y.host}}():function(){return function(){return!0}}(),cookies=platform.hasStandardBrowserEnv?{write(e,t,n,y,k,L){const j=[e+"="+encodeURIComponent(t)];utils$1.isNumber(n)&&j.push("expires="+new Date(n).toGMTString()),utils$1.isString(y)&&j.push("path="+y),utils$1.isString(k)&&j.push("domain="+k),L===!0&&j.push("secure"),document.cookie=j.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 n={};function y(re,z,oe){return ut
|
|||
|
`+L.map(renderReason).join(`
|
|||
|
`):" "+renderReason(L[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+j,"ERR_NOT_SUPPORT")}return y},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(y){return throwIfCancellationRequested(e),y.data=transformData.call(e,e.transformResponse,y),y.headers=AxiosHeaders.from(y.headers),y},function(y){return isCancel(y)||(throwIfCancellationRequested(e),y&&y.response&&(y.response.data=transformData.call(e,e.transformResponse,y.response),y.response.headers=AxiosHeaders.from(y.response.headers))),Promise.reject(y)})}const VERSION="1.7.4",validators$1={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{validators$1[e]=function(y){return typeof y===e||"a"+(t<1?"n ":" ")+e}});const deprecatedWarnings={};validators$1.transitional=function(t,n,y){function k(L,j){return"[Axios v"+VERSION+"] Transitional option '"+L+"'"+j+(y?". "+y:"")}return(L,j,$)=>{if(t===!1)throw new AxiosError(k(j," has been removed"+(n?" in "+n:"")),AxiosError.ERR_DEPRECATED);return n&&!deprecatedWarnings[j]&&(deprecatedWarnings[j]=!0,console.warn(k(j," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(L,j,$):!0}};function assertOptions(e,t,n){if(typeof e!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const y=Object.keys(e);let k=y.length;for(;k-- >0;){const L=y[k],j=t[L];if(j){const $=e[L],V=$===void 0||j($,L,e);if(V!==!0)throw new AxiosError("option "+L+" must be "+V,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(n!==!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,n){try{return await this._request(t,n)}catch(y){if(y instanceof Error){let k;Error.captureStackTrace?Error.captureStackTrace(k={}):k=new Error;const L=k.stack?k.stack.replace(/^.+\n/,""):"";try{y.stack?L&&!String(y.stack).endsWith(L.replace(/^.+\n.+\n/,""))&&(y.stack+=`
|
|||
|
`+L):y.stack=L}catch{}}throw y}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=mergeConfig(this.defaults,n);const{transitional:y,paramsSerializer:k,headers:L}=n;y!==void 0&&validator.assertOptions(y,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),k!=null&&(utils$1.isFunction(k)?n.paramsSerializer={serialize:k}:validator.assertOptions(k,{encode:validators.function,serialize:validators.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let j=L&&utils$1.merge(L.common,L[n.method]);L&&utils$1.forEach(["delete","get","head","post","put","patch","common"],ue=>{delete L[ue]}),n.headers=AxiosHeaders.concat(j,L);const $=[];let V=!0;this.interceptors.request.forEach(function(de){typeof de.runWhen=="function"&&de.runWhen(n)===!1||(V=V&&de.synchronous,$.unshift(de.fulfilled,de.rejected))});const re=[];this.interceptors.response.forEach(function(de){re.push(de.fulfilled,de.rejected)});let z,oe=0,ie;if(!V){const ue=[dispatchRequest.bind(this),void 0];for(ue.unshift.apply(ue,$),ue.push.apply(ue,re),ie=ue.length,z=Promise.resolve(n);oe<ie;)z=z.then(ue[oe++],ue[oe++]);return z}ie=$.length;let le=n;for(oe=0;oe<ie;){const ue=$[oe++],de=$[oe++];try{le=ue(le)}catch(Ne){de.call(this,Ne);break}}try{z=dispatchRequest.call(this,le)}catch(ue){return Promise.reject(ue)}for(oe=0,ie=re.length;oe<ie;)z=z.then(re[oe++],re[oe++]);return z}getUri(t){t=mergeConfig(this.defaults,t);const n=buildFullPath(t.baseURL,t.url);return buildURL(n,t.params,t.paramsSerializer)}}utils$1.forEach(["delete","get","head","options"],function(t){Axios.prototype[t]=function(n,y){return this.request(mergeConfig(y||{},{method:t,url:n,data:(y||{}).data}))}});utils$1.forEach(["post","put","patch"],function(t){function n(y){return function(L,j,$){return this.request(mergeConfig($||{},{method:t,headers:y?{"Content-Type":"multipart/form-data"}:{},url:L,data:j}))}}Axios.prototype[t]=n(),Axios.prototype[t+"Form"]=n(!0)});class CancelToken{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(L){n=L});const y=this;this.promise.then(k=>{if(!y._listeners)return;let L=y._listeners.length;for(;L-- >0;)y._listeners[L](k);y._listeners=null}),this.promise.then=k=>{let L;const j=new Promise($=>{y.subscribe($),L=$}).then(k);return j.cancel=function(){y.unsubscribe(L)},j},t(function(L,j,$){y.reason||(y.reason=new CanceledError(L,j,$),n(y.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new CancelToken(function(k){t=k}),cancel:t}}}function spread(e){return function(n){return e.apply(null,n)}}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,BadGateway
|
|||
|
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 n=localStorage.getItem("imgHost");switch(!n&&localStorage.setItem("imgHost","default"),n){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$q={__name:"PostInfo",setup(e){const t=useStore(),{output:n}=storeToRefs(t),y=ref$1(!1),k=ref$1({title:"",desc:"",thumb:"",content:""});function L(){var V;let $={};try{$={thumb:(V=document.querySelector("#output img"))==null?void 0:V.src,title:[1,2,3,4,5,6].map(re=>document.querySelector(`#output h${re}`)).filter(re=>re)[0].textContent,desc:document.querySelector("#output p").textContent,content:n.value}}catch(re){console.log("error",re)}k.value={...$,auto:$},y.value=!0}function j(){y.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($,V)=>{const re=resolveComponent("el-button"),z=resolveComponent("el-alert"),oe=resolveComponent("el-input"),ie=resolveComponent("el-form-item"),le=resolveComponent("el-form"),ue=resolveComponent("el-dialog");return openBlock(),createElementBlock(Fragment,null,[createVNode(re,{plain:"",type:"primary",onClick:L},{default:withCtx(()=>[createTextVNode(" 发布 ")]),_:1}),createVNode(ue,{title:"发布","model-value":y.value,onClose:V[4]||(V[4]=de=>y.value=!1)},{footer:withCtx(()=>[createVNode(re,{onClick:V[3]||(V[3]=de=>y.value=!1)},{default:withCtx(()=>[createTextVNode(" 取 消 ")]),_:1}),createVNode(re,{type:"primary",onClick:j},{default:withCtx(()=>[createTextVNode(" 确 定 ")]),_:1})]),default:withCtx(()=>[createVNode(z,{class:"mb-4",title:"注:此功能由第三方浏览器插件支持,本平台不保证安全性。",type:"info","show-icon":""}),createVNode(le,{class:"postInfo","label-width":"50",model:k.value},{default:withCtx(()=>[createVNode(ie,{label:"封面"},{default:withCtx(()=>[createVNode(oe,{modelValue:k.value.thumb,"onUpdate:modelValue":V[0]||(V[0]=de=>k.value.thumb=de),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),_:1}),createVNode(ie,{label:"标题"},{default:withCtx(()=>[createVNode(oe,{modelValue:k.value.title,"onUpdate:modelValue":V[1]||(V[1]=de=>k.value.title=de),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),_:1}),createVNode(ie,{label:"描述"},{default:withCtx(()=>[createVNode(oe,{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$2(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 n=unwrapElement(toValue$1(e.element));return n==null?{}:arrow$1({element:n,padding:e.padding}).fn(t)}}}function getDPR(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(e,t){const n=getDPR(e);return Math.round(t*n)/n}function useFloating(e,t,n){n===void 0&&(n={});const y=n.whileElementsMounted,k=computed(()=>{var Lt;return(Lt=toValue$1(n.open))!=null?Lt:!0}),L=computed(()=>toValue$1(n.middleware)),j=computed(()=>{var Lt;return(Lt=toValue$1(n.placement))!=null?Lt:"bottom"}),$=computed(()=>{var Lt;return(Lt=toValue$1(n.strategy))!=null?Lt:"absolute"}),V=
|
|||
|
`)].join(`
|
|||
|
`))}return()=>L.value||k.value||$.value?h$1(t.default({present:$})[0],{ref:z=>{const oe=Be(z);return typeof(oe==null?void 0:oe.hasAttribute)>"u"||(oe!=null&&oe.hasAttribute("data-radix-popper-content-wrapper")?j.value=oe.firstElementChild:j.value=oe),oe}}):null}}),ht=defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=ja();return(n,y)=>unref(t)||n.forceMount?(openBlock(),createBlock(Teleport$1,{key:0,to:n.to,disabled:n.disabled},[renderSlot(n.$slots,"default")],8,["to","disabled"])):createCommentVNode("",!0)}}),qi="dismissableLayer.pointerDownOutside",Yi="dismissableLayer.focusOutside";function Fl(e,t){const n=t.closest("[data-dismissable-layer]"),y=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),k=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&y===n||k.indexOf(y)<k.indexOf(n))}function Nl(e,t){var n;const y=((n=t==null?void 0:t.value)==null?void 0:n.ownerDocument)??(globalThis==null?void 0:globalThis.document),k=ref$1(!1),L=ref$1(()=>{});return watchEffect(j=>{if(!Ze)return;const $=async re=>{const z=re.target;if(t!=null&&t.value){if(Fl(t.value,z)){k.value=!1;return}if(re.target&&!k.value){let oe=function(){zt(qi,e,ie)};const ie={originalEvent:re};re.pointerType==="touch"?(y.removeEventListener("click",L.value),L.value=oe,y.addEventListener("click",L.value,{once:!0})):oe()}else y.removeEventListener("click",L.value);k.value=!1}},V=window.setTimeout(()=>{y.addEventListener("pointerdown",$)},0);j(()=>{window.clearTimeout(V),y.removeEventListener("pointerdown",$),y.removeEventListener("click",L.value)})}),{onPointerDownCapture:()=>k.value=!0}}function Ll(e,t){var n;const y=((n=t==null?void 0:t.value)==null?void 0:n.ownerDocument)??(globalThis==null?void 0:globalThis.document),k=ref$1(!1);return watchEffect(L=>{if(!Ze)return;const j=async $=>{t!=null&&t.value&&(await nextTick$1(),!(!t.value||Fl(t.value,$.target))&&$.target&&!k.value&&zt(Yi,e,{originalEvent:$}))};y.addEventListener("focusin",j),L(()=>y.removeEventListener("focusin",j))}),{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 n=e,y=t,{forwardRef:k,currentElement:L}=T(),j=computed(()=>{var ue;return((ue=L.value)==null?void 0:ue.ownerDocument)??globalThis.document}),$=computed(()=>je.layersRoot),V=computed(()=>L.value?Array.from($.value).indexOf(L.value):-1),re=computed(()=>je.layersWithOutsidePointerEventsDisabled.size>0),z=computed(()=>{const ue=Array.from($.value),[de]=[...je.layersWithOutsidePointerEventsDisabled].slice(-1),Ne=ue.indexOf(de);return V.value>=Ne}),oe=Nl(async ue=>{const de=[...je.branches].some(Ne=>Ne.contains(ue.target));!z.value||de||(y("pointerDownOutside",ue),y("interactOutside",ue),await nextTick$1(),ue.defaultPrevented||y("dismiss"))},L),ie=Ll(ue=>{[...je.branches].some(de=>de.contains(ue.target))||(y("focusOutside",ue),y("interactOutside",ue),ue.defaultPrevented||y("dismiss"))},L);jn("Escape",ue=>{V.value===$.value.size-1&&(y("escapeKeyDown",ue),ue.defaultPrevented||y("dismiss"))});let le;return watchEffect(ue=>{L.value&&(n.disableOutsidePointerEvents&&(je.layersWithOutsidePointerEventsDisabled.size===0&&(le=j.value.body.style.pointerEvents,j.value.body.style.pointerEvents="none"),je.layersWithOutsidePointerEventsDisabled.add(L.value)),$.value.add(L.value),ue(()=>{n.disableOutsidePointerEvents&&je.layersWithOutsidePointerEventsDisabled.size===1&&(j.value.body.style.pointerEvents=le)}))}),watchEffect(ue=>{ue(()=>{L.value&&($.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:n,color:y,iconNode:k,name:L,class:j,...$},{slots:V})=>h$1("svg",{...defaultAttributes,width:e||defaultAttributes.width,height:e||defaultAttributes.height,stroke:y||defaultAttributes.stroke,"stroke-width":n?Number(t)*24/Number(e):t,class:["lucide",`lucide-${toKebabCase(L??"icon")}`],...$},[...k.map(re=>h$1(...re)),...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)=>(n,{slots:y})=>h$1(Icon,{...n,iconNode:t,name:e},y);/**
|
|||
|
* @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$l=defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(e){const t=e;return(n,y)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn)("ml-auto text-xs tracking-widest opacity-60",t.class))},[renderSlot(n.$slots,"default")],2))}}),_sfc_main$k=defineComponent({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=computed(()=>{const{class:y,...k}=t;return k});return(y,k)=>(openBlock(),createBlock(unref(sh),mergeProps(n.value,{class:unref(cn)("-mx-1 my-1 h-px bg-muted",t.class)}),null,16,["class"]))}}),_sfc_main$j=defineComponent({__name:"DropdownMenuSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const k=xe(e,t);return(L,j)=>(openBlock(),createBlock(unref(ph),normalizeProps(guardReactiveProps(unref(k))),{default:withCtx(()=>[renderSlot(L.$slots,"default")]),_:3},16))}}),_sfc_main$i=defineComponent({__name:"DropdownMenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=computed(()=>{const{class:k,...L}=t;return L}),y=Bt(n);return(k,L)=>(openBlock(),createBlock(unref(vh),mergeProps(unref(y),{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$h=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 n=e,y=t,k=computed(()=>{const{class:j,...$}=n;return $}),L=xe(k,y);return(j,$)=>(openBlock(),createBlock(unref(fh),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",n.class)}),{default:withCtx(()=>[renderSlot(j.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$g={__name:"FileDropdown",setup(e){const t=useStore(),{isDark:n,isEditOnLeft:y}=storeToRefs(t),{toggleDark:k,toggleEditOnLeft:L,exportEditorContent2HTML:j,exportEditorContent2MD:$,importMarkdownContent:V}=t;return(re,z)=>{const oe=resolveComponent("ElIconArrowDown"),ie=resolveComponent("el-icon"),le=resolveComponent("ElIconUpload"),ue=resolveComponent("ElIconDownload"),de=resolveComponent("ElIconDocument"),Ne=resolveComponent("ElIconCheck");return openBlock(),createBlock(unref(_sfc_main$p),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$o),null,{default:withCtx(()=>[createTextVNode(" 文件 "),createVNode(ie,{class:"ml-2"},{default:withCtx(()=>[createVNode(oe)]),_:1})]),_:1}),createVNode(unref(_sfc_main$n),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$m),{onClick:z[0]||(z[0]=pe=>unref(V)())},{default:withCtx(()=>[createVNode(ie,{class:"mr-2 h-4 w-4"},{default:withCtx(()=>[createVNode(le)]),_:1}),createTextVNode(" 导入 .md ")]),_:1}),createVNode(unref(_sfc_main$m),{onClick:z[1]||(z[1]=pe=>unref($)())},{default:withCtx(()=>[createVNode(ie,{class:"mr-2 h-4 w-4"},{default:withCtx(()=>[createVNode(ue)]),_:1}),createTextVNode(" 导出 .md ")]),_:1}),createVNode(unref(_sfc_main$m),{onClick:z[2]||(z[2]=pe=>unref(j)())},{default:withCtx(()=>[createV
|
|||
|
${re}
|
|||
|
`,"end")}),t.editorRefresh(),$(),n(),y()}return(re,z)=>{const oe=resolveComponent("el-input-number"),ie=resolveComponent("el-col"),le=resolveComponent("el-row"),ue=resolveComponent("el-input"),de=resolveComponent("el-button"),Ne=resolveComponent("el-dialog");return openBlock(),createBlock(Ne,{title:"插入表格",class:"insert__dialog","model-value":unref(t).isShowInsertFormDialog,onClose:z[3]||(z[3]=pe=>unref(y)(!1))},{footer:withCtx(()=>[createBaseVNode("div",_hoisted_2$1,[createVNode(de,{plain:"",onClick:z[2]||(z[2]=pe=>unref(y)(!1))},{default:withCtx(()=>[createTextVNode(" 取 消 ")]),_:1}),createVNode(de,{type:"primary",plain:"",onClick:V},{default:withCtx(()=>[createTextVNode(" 确 定 ")]),_:1})])]),default:withCtx(()=>[createVNode(le,{class:"tb-options",type:"flex",align:"middle",gutter:10},{default:withCtx(()=>[createVNode(ie,{span:12},{default:withCtx(()=>[createTextVNode(" 行数: "),createVNode(oe,{modelValue:k.value,"onUpdate:modelValue":z[0]||(z[0]=pe=>k.value=pe),"controls-position":"right",min:1,max:100,size:"small"},null,8,["modelValue"])]),_:1}),createVNode(ie,{span:12},{default:withCtx(()=>[createTextVNode(" 列数: "),createVNode(oe,{modelValue:L.value,"onUpdate:modelValue":z[1]||(z[1]=pe=>L.value=pe),"controls-position":"right",min:1,max:100,size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),createBaseVNode("table",_hoisted_1$5,[(openBlock(!0),createElementBlock(Fragment,null,renderList(k.value+1,pe=>(openBlock(),createElementBlock("tr",{key:pe,class:normalizeClass({"head-style":pe===1})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(L.value,_e=>(openBlock(),createElementBlock("td",{key:_e},[createVNode(ue,{modelValue:j.value[`k_${pe-1}_${_e-1}`],"onUpdate:modelValue":he=>j.value[`k_${pe-1}_${_e-1}`]=he,align:"center",placeholder:pe===1?"表头":""},null,8,["modelValue","onUpdate:modelValue","placeholder"])]))),128))],2))),128))])]),_:1},8,["model-value"])}}},InsertFormDialog=_export_sfc(_sfc_main$6,[["__scopeId","data-v-c3933aeb"]]),_hoisted_1$4=["onMousedown"],_sfc_main$5={__name:"RightClickMenu",props:{visible:{type:Boolean,default:!1},top:{type:Number,default:0},left:{type:Number,default:0}},emits:["menuTick","closeMenu"],setup(e,{emit:t}){const n=e,y=t,k=[[{text:"上传图片",key:"insertPic"},{text:"插入表格",key:"insertTable"},{text:"恢复默认样式",key:"resetStyle"}],[{text:"导入 .md 文档",key:"importMarkdown"},{text:"导出 .md 文档",key:"exportMarkdown"},{text:"导出 .html",key:"exportHtml"},{text:"格式化",key:"formatMarkdown"}]];function L(j){y("menuTick",j),y("closeMenu")}return(j,$)=>withDirectives((openBlock(),createElementBlock("div",{id:"menu",class:"menu",style:normalizeStyle({left:`${n.left}px`,top:`${n.top}px`})},[(openBlock(),createElementBlock(Fragment,null,renderList(k,(V,re)=>createBaseVNode("ul",{key:re,class:"menu__group"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(V,({key:z,text:oe})=>(openBlock(),createElementBlock("li",{key:z,class:"menu_item",onMousedown:ie=>L(z)},toDisplayString(oe),41,_hoisted_1$4))),128))])),64))],4)),[[vShow,n.visible]])}},RightClickMenu=_export_sfc(_sfc_main$5,[["__scopeId","data-v-d69dec3e"]]),_withScopeId$2=e=>(pushScopeId("data-v-7a636709"),e=e(),popScopeId(),e),_hoisted_1$3=_withScopeId$2(()=>createBaseVNode("div",{class:"el-upload__text"},[createTextVNode(" 将图片拖到此处,或 "),createBaseVNode("em",null,"点击上传")],-1)),_sfc_main$4={__name:"UploadImgDialog",emits:["uploadImage"],setup(e,{emit:t}){const n=t,y=useStore(),k=ref$1({repo:"",branch:"",accessToken:""}),L=ref$1({accessKeyId:"",accessKeySecret:"",bucket:"",region:"",path:"",cdnHost:""}),j=ref$1({secretId:"",secretKey:"",bucket:"",region:"",path:"",cdnHost:""}),$=ref$1({accessKey:"",secretKey:"",bucket:"",domain:"",region:""}),V=ref$1({endpoint:"",port:"",useSSL:!0,bucket:"",accessKey:"",secretKey:""}),re=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}),z=[{value:"default",label:"默认"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"minio",label:"MinIO"},{value:"formCustom",label:"自定义代码"}],oe=ref$1("default"),ie=ref$1(null),le=ref$1("upload");watch(le,async Lt=>{Lt==="formCustom"&&nextTick$1(()=>{const Et=ie.value.$el.querySelector("textarea");re.value.editor=re.value.editor||CodeMirror.fromTextArea(Et,{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")&&(j.value=JSON.parse(localStorage.getItem("txCOSConfig"))),localStorage.getItem("qiniuConfig")&&($.value=JSON.parse(localStorage.getItem("qiniuConfig"))),localStorage.getItem("minioConfig")&&(V.value=JSON.parse(localStorage.getItem("minioConfig"))),localStorage.getItem("imgHost")&&(oe.value=localStorage.getItem("imgHost"))});function ue(){localStorage.setItem("imgHost",oe.value),ElMessage.success("已成功切换图床")}function de(){if(!(k.value.repo&&k.value.accessToken)){const Lt=k.value.repo?"token":"GitHub 仓库";ElMessage.error(`参数「${Lt}」不能为空`);return}localStorage.setItem("githubConfig",JSON.stringify(k.value)),ElMessage.success("保存成功")}function Ne(){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 pe(){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 _e(){if(!(j.value.secretId&&j.value.secretKey&&j.value.bucket&&j.value.region)){ElMessage.error("腾讯云 COS 参数配置不全");return}localStorage.setItem("txCOSConfig",JSON.stringify(j.value)),ElMessage.success("保存成功")}function he(){if(!($.value.accessKey&&$.value.secretKey&&$.value.bucket&&$.value.domain&&$.value.region)){ElMessage.error("七牛云 Kodo 参数配置不全");return}localStorage.setItem("qiniuConfig",JSON.stringify($.value)),ElMessage.success("保存成功")}function Ce(){const Lt=re.value.editor.getValue();localStorage.setItem("formCustomConfig",Lt),ElMessage.success("保存成功")}function Fe(Lt){const Et=checkImage(Lt);if(!Et.ok)return ElMessage.error(Et.msg),!1;let Ue=localStorage.getItem("imgHost");Ue=Ue||"default",localStorage.setItem("imgHost",Ue);const qe=localStorage.getItem(`${Ue}Config`);return Ue==="default"||qe?!0:(ElMessage.error(`请先配置 ${Ue} 图床参数`),!1)}function $e(Lt){n("uploadImage",Lt.file)}return(Lt,Et)=>{const Ue=resolveComponent("el-option"),qe=resolveComponent("el-select"),Ve=resolveComponent("el-icon"),jt=resolveComponent("el-upload"),tr=resolveComponent("el-tab-pane"),ir=resolveComponent("el-input"),rr=resolveComponent("el-form-item"),or=resolveComponent("el-link"),lr=resolveComponent("el-button"),hr=resolveComponent("el-form"),fr=resolveComponent("el-switch"),vr=resolveComponent("el-tabs"),Dr=resolveComponent("el-dialog");return openBlock(),createBlock(Dr,{title:"本地上传",class:"upload__dialog","model-value":unref(y).isShowUploadImgDialog,onClose:Et[30]||(Et[30]=Sr=>unref(y).toggleShowUploadImgDialog(!1))},{default:withCtx(()=>[createVNode(vr,{modelValue:le.value,"onUpdate:modelValue":Et[29]||(Et[29]=Sr=>le.value=Sr)},{default:withCtx(()=>[createVNode(tr,{class:"upload-panel",label:"选择上传",name:"upload"},{default:withCtx(()=>[createVNode(qe,{modelValue:oe.value,"onUpdate:modelValue":Et[0]||(Et[0]=Sr=>oe.value=Sr),placeholder:"请选择",size:"small",onChange:ue},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(z,Sr=>createVNode(Ue,{key:Sr.value,label:Sr.label,value:Sr.value},null,8,["label","va
|
|||
|
${Ir}
|
|||
|
`,Cr),ElMessage.success("图片上传成功"),oe(),Lt()}function rr(br,Cr){Ne.value=!0,toBase64(br).then(Ir=>{fileApi.fileUpload(Ir,br).then(Ar=>{console.log(Ar),Cr?Cr(Ar):ir(Ar)}).catch(Ar=>{ElMessage.error(Ar.message)})}).catch(Ir=>{ElMessage.error(Ir.message)}),Ne.value=!1}const or=ref$1(0);function lr(){const br=document.querySelector("#editor");br.value||(br.value=j.value),L.value=CodeMirror.fromTextArea(br,{mode:"text/x-markdown",theme:"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{[`${n}-F`]:function(Ir){const Ar=formatDoc(Ir.getValue(0));Ir.setValue(Ar)},[`${n}-B`]:function(Ir){const Ar=Ir.getSelection();Ir.replaceSelection(`**${Ar}**`)},[`${n}-I`]:function(Ir){const Ar=Ir.getSelection();Ir.replaceSelection(`*${Ar}*`)},[`${n}-D`]:function(Ir){const Ar=Ir.getSelection();Ir.replaceSelection(`~~${Ar}~~`)},[`${n}-K`]:function(Ir){const Ar=Ir.getSelection();Ir.replaceSelection(`[${Ar}]()`)},[`${n}-E`]:function(Ir){const Ar=Ir.getSelection();Ir.replaceSelection(`\`${Ar}\``)},[`${n}-L`]:function(Ir){const Ar=Ir.getSelection();Ir.replaceSelection(`\`${Ar}\``)}}}),L.value.on("change",Cr=>{clearTimeout(or.value),or.value=setTimeout(()=>{Lt(),j.value=Cr.getValue()},300)}),L.value.on("paste",(Cr,Ir)=>{if(!(!(Ir.clipboardData&&Ir.clipboardData.items)||Ne.value))for(let Ar=0,dr=Ir.clipboardData.items.length;Ar<dr;++Ar){const cr=Ir.clipboardData.items[Ar];if(cr.kind==="file"){const Rr=cr.getAsFile();if(!tr(Rr))continue;rr(Rr)}}}),L.value.on("mousedown",()=>{Ce.value=!1}),L.value.on("blur",()=>{Ce.value=!1}),L.value.on("scroll",()=>{Ce.value=!1})}const hr=ref$1(null);function fr(br){const Ir=hr.value.getBoundingClientRect().left,dr=hr.value.offsetWidth-105,cr=br.clientX-Ir;_e.value=Math.min(dr,cr),he.value=br.clientY+10,Ce.value=!0}function vr(br){L.value.options.extraKeys[br](L.value)}const Dr=ref$1(null);function Sr(){const br=Dr.value.$el,Cr=async({md:dr,list:cr})=>{const Rr=[...dr.str.matchAll(/!\[(.*?)\]\((.*?)\)/g)||[]].filter(jr=>jr),Pr=dr.path.match(/.+?\//)[0],Mr=await Promise.all(Rr.map(jr=>new Promise(mr=>{let[,,gr]=jr;gr=gr.replace(/^.\//,"");const{file:xr}=cr.find(pr=>pr.path===`${Pr}${gr}`)||{};rr(xr,pr=>{mr({matchStr:gr,url:pr})})})));Mr.forEach(jr=>{dr.str=dr.str.replace(`](./${jr.matchStr})`,`](${jr.url})`).replace(`](${jr.matchStr})`,`](${jr.url})`)}),L.value.setValue(dr.str),console.log("resList",Mr,dr.str)};br.ondragover=dr=>dr.preventDefault(),br.ondrop=async dr=>{dr.preventDefault();for(const cr of dr.dataTransfer.items)cr.getAsFileSystemHandle().then(async Rr=>{if(Rr.kind==="directory"){const Pr=await Ar(Rr),Mr=await Ir({list:Pr});Cr({md:Mr,list:Pr})}else{const Pr=await Rr.getFile();console.log("file",Pr)}})};async function Ir({list:dr}){return new Promise(cr=>{const{path:Rr,file:Pr}=dr.find(jr=>jr.path.match(/\.md$/)),Mr=new FileReader;Mr.readAsText(Pr,"UTF-8"),Mr.onload=jr=>{cr({str:jr.target.result,file:Pr,path:Rr})}})}async function Ar(dr){const cr=[];let Rr="";try{const Pr=[dr];for(const Mr of Pr){Rr+=`${Mr.name}/`;for await(const[,jr]of Mr)jr.kind==="file"?cr.push({path:Rr+jr.name,file:await jr.getFile()}):(cr.push({path:`${Rr+jr.name}/`}),Pr.push(jr))}}catch(Pr){console.error(Pr)}return cr}}return onMounted(()=>{lr(),Lt(),Sr()}),(br,Cr)=>{const Ir=resolveComponent("el-header"),Ar=resolveComponent("el-col"),dr=resolveComponent("el-row"),cr=resolveComponent("el-main"),Rr=resolveComponent("el-container");return openBlock(),createElementBlock("div",{ref_key:"container",ref:hr,class:"container"},[createVNode(Rr,null,{default:withCtx(()=>[createVNode(Ir,{class:"editor__header"},{default:withCtx(()=>[createVNode(EditorHeader,{onAddFormat:vr,onFormatContent:unref(oe),onStartCopy:qe,onEndCopy:Ve},null,8,["onFormatContent"])]),_:1}),createVNode(cr,{class:"container-main"},{default:withCtx(()=>[createVNode(dr,{class:"container-main-section"},{default:withCtx(()=>[createVNode(Ar,{ref_key:"codeMirrorWrapper",ref:Dr,span:unref($)?8:12,class:normalizeClass(["codeMirror-wrapper",{"order-1":!unref(y).isEditOnLeft}]),onContextmenu:withModifiers(fr,["prevent"])},{default:
|
|||
|
`;pe.replaceSelection(Lt+Lt,null),ie(pe,-1),Ce=pe.listSelections();for(var Et=0;Et<Ce.length;Et++){var Ue=Ce[Et].head.line;pe.indentLine(Ue,null,!0),pe.indentLine(Ue+1,null,!0)}})}function ie(pe,_e){for(var he=[],Ce=pe.listSelections(),Fe=0,$e=0;$e<Ce.length;$e++){var Lt=Ce[$e];Lt.head==pe.getCursor()&&(Fe=$e);var Et=Lt.head.ch||_e>0?{line:Lt.head.line,ch:Lt.head.ch+_e}:{line:Lt.head.line-1};he.push({anchor:Et,head:Et})}pe.setSelections(he,Fe)}function le(pe){var _e=n.cmpPos(pe.anchor,pe.head)>0;return{anchor:new k(pe.anchor.line,pe.anchor.ch+(_e?-1:1)),head:new k(pe.head.line,pe.head.ch+(_e?1:-1))}}function ue(pe,_e){var he=re(pe);if(!he||pe.getOption("disableInput"))return n.Pass;var Ce=L(he,"pairs"),Fe=Ce.indexOf(_e);if(Fe==-1)return n.Pass;for(var $e=L(he,"closeBefore"),Lt=L(he,"triples"),Et=Ce.charAt(Fe+1)==_e,Ue=pe.listSelections(),qe=Fe%2==0,Ve,jt=0;jt<Ue.length;jt++){var tr=Ue[jt],ir=tr.head,rr,or=pe.getRange(ir,k(ir.line,ir.ch+1));if(qe&&!tr.empty())rr="surround";else if((Et||!qe)&&or==_e)Et&&Ne(pe,ir)?rr="both":Lt.indexOf(_e)>=0&&pe.getRange(ir,k(ir.line,ir.ch+3))==_e+_e+_e?rr="skipThree":rr="skip";else if(Et&&ir.ch>1&&Lt.indexOf(_e)>=0&&pe.getRange(k(ir.line,ir.ch-2),ir)==_e+_e){if(ir.ch>2&&/\bstring/.test(pe.getTokenTypeAt(k(ir.line,ir.ch-2))))return n.Pass;rr="addFour"}else if(Et){var lr=ir.ch==0?" ":pe.getRange(k(ir.line,ir.ch-1),ir);if(!n.isWordChar(or)&&lr!=_e&&!n.isWordChar(lr))rr="both";else return n.Pass}else if(qe&&(or.length===0||/\s/.test(or)||$e.indexOf(or)>-1))rr="both";else return n.Pass;if(!Ve)Ve=rr;else if(Ve!=rr)return n.Pass}var hr=Fe%2?Ce.charAt(Fe-1):_e,fr=Fe%2?_e:Ce.charAt(Fe+1);pe.operation(function(){if(Ve=="skip")ie(pe,1);else if(Ve=="skipThree")ie(pe,3);else if(Ve=="surround"){for(var vr=pe.getSelections(),Dr=0;Dr<vr.length;Dr++)vr[Dr]=hr+vr[Dr]+fr;pe.replaceSelections(vr,"around"),vr=pe.listSelections().slice();for(var Dr=0;Dr<vr.length;Dr++)vr[Dr]=le(vr[Dr]);pe.setSelections(vr)}else Ve=="both"?(pe.replaceSelection(hr+fr,null),pe.triggerElectric(hr+fr),ie(pe,-1)):Ve=="addFour"&&(pe.replaceSelection(hr+hr+hr+hr,"before"),ie(pe,1))})}function de(pe,_e){var he=pe.getRange(k(_e.line,_e.ch-1),k(_e.line,_e.ch+1));return he.length==2?he:null}function Ne(pe,_e){var he=pe.getTokenAt(k(_e.line,_e.ch+1));return/\bstring/.test(he.type)&&he.start==_e.ch&&(_e.ch==0||!/\bstring/.test(pe.getTokenTypeAt(_e)))}})})();(function(e,t){(function(n){n(requireCodemirror())})(function(n){var y=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),k=n.Pos,L={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function j(ie){return ie&&ie.bracketRegex||/[(){}[\]]/}function $(ie,le,ue){var de=ie.getLineHandle(le.line),Ne=le.ch-1,pe=ue&&ue.afterCursor;pe==null&&(pe=/(^| )cm-fat-cursor($| )/.test(ie.getWrapperElement().className));var _e=j(ue),he=!pe&&Ne>=0&&_e.test(de.text.charAt(Ne))&&L[de.text.charAt(Ne)]||_e.test(de.text.charAt(Ne+1))&&L[de.text.charAt(++Ne)];if(!he)return null;var Ce=he.charAt(1)==">"?1:-1;if(ue&&ue.strict&&Ce>0!=(Ne==le.ch))return null;var Fe=ie.getTokenTypeAt(k(le.line,Ne+1)),$e=V(ie,k(le.line,Ne+(Ce>0?1:0)),Ce,Fe,ue);return $e==null?null:{from:k(le.line,Ne),to:$e&&$e.pos,match:$e&&$e.ch==he.charAt(0),forward:Ce>0}}function V(ie,le,ue,de,Ne){for(var pe=Ne&&Ne.maxScanLineLength||1e4,_e=Ne&&Ne.maxScanLines||1e3,he=[],Ce=j(Ne),Fe=ue>0?Math.min(le.line+_e,ie.lastLine()+1):Math.max(ie.firstLine()-1,le.line-_e),$e=le.line;$e!=Fe;$e+=ue){var Lt=ie.getLine($e);if(Lt){var Et=ue>0?0:Lt.length-1,Ue=ue>0?Lt.length:-1;if(!(Lt.length>pe))for($e==le.line&&(Et=le.ch-(ue<0?1:0));Et!=Ue;Et+=ue){var qe=Lt.charAt(Et);if(Ce.test(qe)&&(de===void 0||(ie.getTokenTypeAt(k($e,Et+1))||"")==(de||""))){var Ve=L[qe];if(Ve&&Ve.charAt(1)==">"==ue>0)he.push(qe);else if(he.length)he.pop();else return{pos:k($e,Et),ch:qe}}}}}return $e-ue==(ue>0?ie.lastLine():ie.firstLine())?!1:null}function re(ie,le,ue){for(var de=ie.state.matchBrackets.maxHighlightLineLength||1e3,Ne=ue&&ue.highlightNonMatching,pe=[],_e=ie.listSelections(),he=0;he<_e.length;he++){var Ce=_e[he].empty
|