GE Lua Documentation

Press F to search!

Definition


-- @/lua/common/extensions/ui/flowgraph/editor_api_luaintf.lua:160
  M.Link = function(id, startPinId, endPinId, color, thickness, isShortcut, shortCutLabel)
    if color == nil then color = im.ImVec4(1, 1, 1, 1) end
    if thickness == nil then thickness = 1.0 end
    if isShortcut == nil then isShortcut = false end
    return fge.Link(id, startPinId, endPinId, color, thickness, isShortcut, shortCutLabel)
  end

Callers

@/lua/ge/extensions/editor/flowgraph/main.lua
            for i,lnk in pairs(lnks) do
               ui_flowgraph_editor.Link(9999999+i, lnk[1],lnk[2], lnk[3] and virtualFlowPinLinkCol or virtualPinLinkCol,15, false, "...")
            end
@/lua/common/extensions/ui/flowgraph/editor_api_luaintf.lua
    if isShortcut == nil then isShortcut = false end
    return fge.Link(id, startPinId, endPinId, color, thickness, isShortcut, shortCutLabel)
  end
@/ui/ui-vue/dist/index.js
var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJSMin=(cb,mod)=>()=>(mod||cb((mod={exports:{}}).exports,mod),mod.exports),__export=all=>{let target={};for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});return target},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==`object`||typeof from==`function`)for(var keys=__getOwnPropNames(from),i=0,n=keys.length,key;ifrom[k]).bind(null,key),enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to},__toESM=(mod,isNodeMode,target)=>(target=mod==null?{}:__create(__getProtoOf(mod)),__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,`default`,{value:mod,enumerable:!0}):target,mod));(function(){let relList=document.createElement(`link`).relList;if(relList&&relList.supports&&relList.supports(`modulepreload`))return;for(let link of document.querySelectorAll(`link[rel="modulepreload"]`))processPreload(link);new MutationObserver(mutations=>{for(let mutation of mutations)if(mutation.type===`childList`)for(let node of mutation.addedNodes)node.tagName===`LINK`&&node.rel===`modulepreload`&&processPreload(node)}).observe(document,{childList:!0,subtree:!0});function getFetchOpts(link){let fetchOpts={};return link.integrity&&(fetchOpts.integrity=link.integrity),link.referrerPolicy&&(fetchOpts.referrerPolicy=link.referrerPolicy),link.crossOrigin===`use-credentials`?fetchOpts.credentials=`include`:link.crossOrigin===`anonymous`?fetchOpts.credentials=`omit`:fetchOpts.credentials=`same-origin`,fetchOpts}function processPreload(link){if(link.ep)return;link.ep=!0;let fetchOpts=getFetchOpts(link);fetch(link.href,fetchOpts)}})();function makeMap(str){let map=Object.create(null);for(let key of str.split(`,`))map[key]=1;return val=>val in map}var EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&(key.charCodeAt(2)>122||key.charCodeAt(2)<97),isModelListener=key=>key.startsWith(`onUpdate:`),extend=Object.assign,remove$2=(arr,el)=>{let i=arr.indexOf(el);i>-1&&arr.splice(i,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(val,key)=>hasOwnProperty$2.call(val,key),isArray$2=Array.isArray,isMap=val=>toTypeString$1(val)===`[object Map]`,isSet=val=>toTypeString$1(val)===`[object Set]`,isDate$1=val=>toTypeString$1(val)===`[object Date]`,isRegExp$1=val=>toTypeString$1(val)===`[object RegExp]`,isFunction$1=val=>typeof val==`function`,isString$1=val=>typeof val==`string`,isSymbol=val=>typeof val==`symbol`,isObject$1=val=>typeof val==`object`&&!!val,isPromise$1=val=>(isObject$1(val)||isFunction$1(val))&&isFunction$1(val.then)&&isFunction$1(val.catch),objectToString$1=Object.prototype.toString,toTypeString$1=value=>objectToString$1.call(value),toRawType=value=>toTypeString$1(value).slice(8,-1),isPlainObject$2=val=>toTypeString$1(val)===`[object Object]`,isIntegerKey=key=>isString$1(key)&&key!==`NaN`&&key[0]!==`-`&&``+parseInt(key,10)===key,isReservedProp=makeMap(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),isBuiltInDirective=makeMap(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),cacheStringFunction=fn=>{let cache$1=Object.create(null);return(str=>cache$1[str]||(cache$1[str]=fn(str)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(str=>str.replace(camelizeRE,c=>c.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(str=>str.replace(hyphenateRE,`-$1`).toLowerCase()),capitalize$1=cacheStringFunction(str=>str.charAt(0).toUpperCase()+str.slice(1)),toHandlerKey=cacheStringFunction(str=>str?`on${capitalize$1(str)}`:``),hasChanged=(value,oldValue)=>!Object.is(value,oldValue),invokeArrayFns=(fns,...arg)=>{for(let i=0;i{Object.defineProperty(obj,key,{configurable:!0,enumerable:!1,writable,value})},looseToNumber=val=>{let n=parseFloat(val);return isNaN(n)?val:n},toNumber=val=>{let n=isString$1(val)?Number(val):NaN;return isNaN(n)?val:n},_globalThis$1,getGlobalThis$1=()=>_globalThis$1||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function genCacheKey(source,options){return source+JSON.stringify(options,(_,val)=>typeof val==`function`?val.toString():val)}var isGloballyAllowed=makeMap(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function normalizeStyle(value){if(isArray$2(value)){let res={};for(let i=0;i{if(item){let tmp=item.split(propertyDelimiterRE);tmp.length>1&&(ret[tmp[0].trim()]=tmp[1].trim())}}),ret}function normalizeClass(value){let res=``;if(isString$1(value))res=value;else if(isArray$2(value))for(let i=0;ilooseEqual(item,val))}var isRef$2=val=>!!(val&&val.__v_isRef===!0),toDisplayString=val=>isString$1(val)?val:val==null?``:isArray$2(val)||isObject$1(val)&&(val.toString===objectToString$1||!isFunction$1(val.toString))?isRef$2(val)?toDisplayString(val.value):JSON.stringify(val,replacer,2):String(val),replacer=(_key,val)=>isRef$2(val)?replacer(_key,val.value):isMap(val)?{[`Map(${val.size})`]:[...val.entries()].reduce((entries,[key,val2],i)=>(entries[stringifySymbol(key,i)+` =>`]=val2,entries),{})}:isSet(val)?{[`Set(${val.size})`]:[...val.values()].map(v=>stringifySymbol(v))}:isSymbol(val)?stringifySymbol(val):isObject$1(val)&&!isArray$2(val)&&!isPlainObject$2(val)?String(val):val,stringifySymbol=(v,i=``)=>{var _a;return isSymbol(v)?`Symbol(${v.description??i})`:v};function normalizeCssVarValue(value){return value==null?`initial`:typeof value==`string`?value===``?` `:value:String(value)}var activeEffectScope,EffectScope=class{constructor(detached=!1){this.detached=detached,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!detached&&activeEffectScope&&(this.index=(activeEffectScope.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,l;if(this.scopes)for(i=0,l=this.scopes.length;i0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(fromParent){if(this._active){this._active=!1;let i,l;for(i=0,l=this.effects.length;i0)return;if(batchedComputed){let e=batchedComputed;for(batchedComputed=void 0;e;){let next=e.next;e.next=void 0,e.flags&=-9,e=next}}let error;for(;batchedSub;){let e=batchedSub;for(batchedSub=void 0;e;){let next=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(err){error||=err}e=next}}if(error)throw error}function prepareDeps(sub){for(let link=sub.deps;link;link=link.nextDep)link.version=-1,link.prevActiveLink=link.dep.activeLink,link.dep.activeLink=link}function cleanupDeps(sub){let head,tail=sub.depsTail,link=tail;for(;link;){let prev=link.prevDep;link.version===-1?(link===tail&&(tail=prev),removeSub(link),removeDep(link)):head=link,link.dep.activeLink=link.prevActiveLink,link.prevActiveLink=void 0,link=prev}sub.deps=head,sub.depsTail=tail}function isDirty(sub){for(let link=sub.deps;link;link=link.nextDep)if(link.dep.version!==link.version||link.dep.computed&&(refreshComputed(link.dep.computed)||link.dep.version!==link.version))return!0;return!!sub._dirty}function refreshComputed(computed$2){if(computed$2.flags&4&&!(computed$2.flags&16)||(computed$2.flags&=-17,computed$2.globalVersion===globalVersion)||(computed$2.globalVersion=globalVersion,!computed$2.isSSR&&computed$2.flags&128&&(!computed$2.deps&&!computed$2._dirty||!isDirty(computed$2))))return;computed$2.flags|=2;let dep=computed$2.dep,prevSub=activeSub,prevShouldTrack=shouldTrack;activeSub=computed$2,shouldTrack=!0;try{prepareDeps(computed$2);let value=computed$2.fn(computed$2._value);(dep.version===0||hasChanged(value,computed$2._value))&&(computed$2.flags|=128,computed$2._value=value,dep.version++)}catch(err){throw dep.version++,err}finally{activeSub=prevSub,shouldTrack=prevShouldTrack,cleanupDeps(computed$2),computed$2.flags&=-3}}function removeSub(link,soft=!1){let{dep,prevSub,nextSub}=link;if(prevSub&&(prevSub.nextSub=nextSub,link.prevSub=void 0),nextSub&&(nextSub.prevSub=prevSub,link.nextSub=void 0),dep.subs===link&&(dep.subs=prevSub,!prevSub&&dep.computed)){dep.computed.flags&=-5;for(let l=dep.computed.deps;l;l=l.nextDep)removeSub(l,!0)}!soft&&!--dep.sc&&dep.map&&dep.map.delete(dep.key)}function removeDep(link){let{prevDep,nextDep}=link;prevDep&&(prevDep.nextDep=nextDep,link.prevDep=void 0),nextDep&&(nextDep.prevDep=prevDep,link.nextDep=void 0)}function effect(fn,options){fn.effect instanceof ReactiveEffect&&(fn=fn.effect.fn);let e=new ReactiveEffect(fn);options&&extend(e,options);try{e.run()}catch(err){throw e.stop(),err}let runner=e.run.bind(e);return runner.effect=e,runner}function stop(runner){runner.effect.stop()}var shouldTrack=!0,trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){let last=trackStack.pop();shouldTrack=last===void 0?!0:last}function cleanupEffect(e){let{cleanup}=e;if(e.cleanup=void 0,cleanup){let prevSub=activeSub;activeSub=void 0;try{cleanup()}finally{activeSub=prevSub}}}var globalVersion=0,Link=class{constructor(sub,dep){this.sub=sub,this.dep=dep,this.version=dep.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Dep=class{constructor(computed$2){this.computed=computed$2,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(debugInfo){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let link=this.activeLink;if(link===void 0||link.sub!==activeSub)link=this.activeLink=new Link(activeSub,this),activeSub.deps?(link.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=link,activeSub.depsTail=link):activeSub.deps=activeSub.depsTail=link,addSub(link);else if(link.version===-1&&(link.version=this.version,link.nextDep)){let next=link.nextDep;next.prevDep=link.prevDep,link.prevDep&&(link.prevDep.nextDep=next),link.prevDep=activeSub.depsTail,link.nextDep=void 0,activeSub.depsTail.nextDep=link,activeSub.depsTail=link,activeSub.deps===link&&(activeSub.deps=next)}return link}trigger(debugInfo){this.version++,globalVersion++,this.notify(debugInfo)}notify(debugInfo){startBatch();try{for(let link=this.subs;link;link=link.prevSub)link.sub.notify()&&link.sub.dep.notify()}finally{endBatch()}}};function addSub(link){if(link.dep.sc++,link.sub.flags&4){let computed$2=link.dep.computed;if(computed$2&&!link.dep.subs){computed$2.flags|=20;for(let l=computed$2.deps;l;l=l.nextDep)addSub(l)}let currentTail=link.dep.subs;currentTail!==link&&(link.prevSub=currentTail,currentTail&&(currentTail.nextSub=link)),link.dep.subs=link}}var targetMap=new WeakMap,ITERATE_KEY=Symbol(``),MAP_KEY_ITERATE_KEY=Symbol(``),ARRAY_ITERATE_KEY=Symbol(``);function track(target,type,key){if(shouldTrack&&activeSub){let depsMap=targetMap.get(target);depsMap||targetMap.set(target,depsMap=new Map);let dep=depsMap.get(key);dep||(depsMap.set(key,dep=new Dep),dep.map=depsMap,dep.key=key),dep.track()}}function trigger$1(target,type,key,newValue,oldValue,oldTarget){let depsMap=targetMap.get(target);if(!depsMap){globalVersion++;return}let run$1=dep=>{dep&&dep.trigger()};if(startBatch(),type===`clear`)depsMap.forEach(run$1);else{let targetIsArray=isArray$2(target),isArrayIndex=targetIsArray&&isIntegerKey(key);if(targetIsArray&&key===`length`){let newLength=Number(newValue);depsMap.forEach((dep,key2)=>{(key2===`length`||key2===ARRAY_ITERATE_KEY||!isSymbol(key2)&&key2>=newLength)&&run$1(dep)})}else switch((key!==void 0||depsMap.has(void 0))&&run$1(depsMap.get(key)),isArrayIndex&&run$1(depsMap.get(ARRAY_ITERATE_KEY)),type){case`add`:targetIsArray?isArrayIndex&&run$1(depsMap.get(`length`)):(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`delete`:targetIsArray||(run$1(depsMap.get(ITERATE_KEY)),isMap(target)&&run$1(depsMap.get(MAP_KEY_ITERATE_KEY)));break;case`set`:isMap(target)&&run$1(depsMap.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(object,key){let depMap=targetMap.get(object);return depMap&&depMap.get(key)}function reactiveReadArray(array){let raw=toRaw(array);return raw===array?raw:(track(raw,`iterate`,ARRAY_ITERATE_KEY),isShallow(array)?raw:raw.map(toReactive))}function shallowReadArray(arr){return track(arr=toRaw(arr),`iterate`,ARRAY_ITERATE_KEY),arr}var arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...args){return reactiveReadArray(this).concat(...args.map(x=>isArray$2(x)?reactiveReadArray(x):x))},entries(){return iterator(this,`entries`,value=>(value[1]=toReactive(value[1]),value))},every(fn,thisArg){return apply(this,`every`,fn,thisArg,void 0,arguments)},filter(fn,thisArg){return apply(this,`filter`,fn,thisArg,v=>v.map(toReactive),arguments)},find(fn,thisArg){return apply(this,`find`,fn,thisArg,toReactive,arguments)},findIndex(fn,thisArg){return apply(this,`findIndex`,fn,thisArg,void 0,arguments)},findLast(fn,thisArg){return apply(this,`findLast`,fn,thisArg,toReactive,arguments)},findLastIndex(fn,thisArg){return apply(this,`findLastIndex`,fn,thisArg,void 0,arguments)},forEach(fn,thisArg){return apply(this,`forEach`,fn,thisArg,void 0,arguments)},includes(...args){return searchProxy(this,`includes`,args)},indexOf(...args){return searchProxy(this,`indexOf`,args)},join(separator){return reactiveReadArray(this).join(separator)},lastIndexOf(...args){return searchProxy(this,`lastIndexOf`,args)},map(fn,thisArg){return apply(this,`map`,fn,thisArg,void 0,arguments)},pop(){return noTracking(this,`pop`)},push(...args){return noTracking(this,`push`,args)},reduce(fn,...args){return reduce(this,`reduce`,fn,args)},reduceRight(fn,...args){return reduce(this,`reduceRight`,fn,args)},shift(){return noTracking(this,`shift`)},some(fn,thisArg){return apply(this,`some`,fn,thisArg,void 0,arguments)},splice(...args){return noTracking(this,`splice`,args)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(comparer){return reactiveReadArray(this).toSorted(comparer)},toSpliced(...args){return reactiveReadArray(this).toSpliced(...args)},unshift(...args){return noTracking(this,`unshift`,args)},values(){return iterator(this,`values`,toReactive)}};function iterator(self$1,method,wrapValue){let arr=shallowReadArray(self$1),iter=arr[method]();return arr!==self$1&&!isShallow(self$1)&&(iter._next=iter.next,iter.next=()=>{let result=iter._next();return result.done||(result.value=wrapValue(result.value)),result}),iter}var arrayProto=Array.prototype;function apply(self$1,method,fn,thisArg,wrappedRetFn,args){let arr=shallowReadArray(self$1),needsWrap=arr!==self$1&&!isShallow(self$1),methodFn=arr[method];if(methodFn!==arrayProto[method]){let result2=methodFn.apply(self$1,args);return needsWrap?toReactive(result2):result2}let wrappedFn=fn;arr!==self$1&&(needsWrap?wrappedFn=function(item,index){return fn.call(this,toReactive(item),index,self$1)}:fn.length>2&&(wrappedFn=function(item,index){return fn.call(this,item,index,self$1)}));let result=methodFn.call(arr,wrappedFn,thisArg);return needsWrap&&wrappedRetFn?wrappedRetFn(result):result}function reduce(self$1,method,fn,args){let arr=shallowReadArray(self$1),wrappedFn=fn;return arr!==self$1&&(isShallow(self$1)?fn.length>3&&(wrappedFn=function(acc,item,index){return fn.call(this,acc,item,index,self$1)}):wrappedFn=function(acc,item,index){return fn.call(this,acc,toReactive(item),index,self$1)}),arr[method](wrappedFn,...args)}function searchProxy(self$1,method,args){let arr=toRaw(self$1);track(arr,`iterate`,ARRAY_ITERATE_KEY);let res=arr[method](...args);return(res===-1||res===!1)&&isProxy(args[0])?(args[0]=toRaw(args[0]),arr[method](...args)):res}function noTracking(self$1,method,args=[]){pauseTracking(),startBatch();let res=toRaw(self$1)[method].apply(self$1,args);return endBatch(),resetTracking(),res}var isNonTrackableKeys=makeMap(`__proto__,__v_isRef,__isVue`),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(key=>key!==`arguments`&&key!==`caller`).map(key=>Symbol[key]).filter(isSymbol));function hasOwnProperty$1(key){isSymbol(key)||(key=String(key));let obj=toRaw(this);return track(obj,`has`,key),obj.hasOwnProperty(key)}var BaseReactiveHandler=class{constructor(_isReadonly=!1,_isShallow=!1){this._isReadonly=_isReadonly,this._isShallow=_isShallow}get(target,key,receiver){if(key===`__v_skip`)return target.__v_skip;let isReadonly2=this._isReadonly,isShallow2=this._isShallow;if(key===`__v_isReactive`)return!isReadonly2;if(key===`__v_isReadonly`)return isReadonly2;if(key===`__v_isShallow`)return isShallow2;if(key===`__v_raw`)return receiver===(isReadonly2?isShallow2?shallowReadonlyMap:readonlyMap:isShallow2?shallowReactiveMap:reactiveMap).get(target)||Object.getPrototypeOf(target)===Object.getPrototypeOf(receiver)?target:void 0;let targetIsArray=isArray$2(target);if(!isReadonly2){let fn;if(targetIsArray&&(fn=arrayInstrumentations[key]))return fn;if(key===`hasOwnProperty`)return hasOwnProperty$1}let res=Reflect.get(target,key,isRef(target)?target:receiver);if((isSymbol(key)?builtInSymbols.has(key):isNonTrackableKeys(key))||(isReadonly2||track(target,`get`,key),isShallow2))return res;if(isRef(res)){let value=targetIsArray&&isIntegerKey(key)?res:res.value;return isReadonly2&&isObject$1(value)?readonly(value):value}return isObject$1(res)?isReadonly2?readonly(res):reactive(res):res}},MutableReactiveHandler=class extends BaseReactiveHandler{constructor(isShallow2=!1){super(!1,isShallow2)}set(target,key,value,receiver){let oldValue=target[key];if(!this._isShallow){let isOldValueReadonly=isReadonly(oldValue);if(!isShallow(value)&&!isReadonly(value)&&(oldValue=toRaw(oldValue),value=toRaw(value)),!isArray$2(target)&&isRef(oldValue)&&!isRef(value))return isOldValueReadonly||(oldValue.value=value),!0}let hadKey=isArray$2(target)&&isIntegerKey(key)?Number(key)value,getProto=v=>Reflect.getPrototypeOf(v);function createIterableMethod(method,isReadonly2,isShallow2){return function(...args){let target=this.__v_raw,rawTarget=toRaw(target),targetIsMap=isMap(rawTarget),isPair=method===`entries`||method===Symbol.iterator&&targetIsMap,isKeyOnly=method===`keys`&&targetIsMap,innerIterator=target[method](...args),wrap=isShallow2?toShallow:isReadonly2?toReadonly:toReactive;return!isReadonly2&&track(rawTarget,`iterate`,isKeyOnly?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){let{value,done}=innerIterator.next();return done?{value,done}:{value:isPair?[wrap(value[0]),wrap(value[1])]:wrap(value),done}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(type){return function(...args){return type===`delete`?!1:type===`clear`?void 0:this}}function createInstrumentations(readonly$1,shallow){let instrumentations={get(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`get`,key),track(rawTarget,`get`,rawKey));let{has:has$1}=getProto(rawTarget),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;if(has$1.call(rawTarget,key))return wrap(target.get(key));if(has$1.call(rawTarget,rawKey))return wrap(target.get(rawKey));target!==rawTarget&&target.get(key)},get size(){let target=this.__v_raw;return!readonly$1&&track(toRaw(target),`iterate`,ITERATE_KEY),target.size},has(key){let target=this.__v_raw,rawTarget=toRaw(target),rawKey=toRaw(key);return readonly$1||(hasChanged(key,rawKey)&&track(rawTarget,`has`,key),track(rawTarget,`has`,rawKey)),key===rawKey?target.has(key):target.has(key)||target.has(rawKey)},forEach(callback,thisArg){let observed$2=this,target=observed$2.__v_raw,rawTarget=toRaw(target),wrap=shallow?toShallow:readonly$1?toReadonly:toReactive;return!readonly$1&&track(rawTarget,`iterate`,ITERATE_KEY),target.forEach((value,key)=>callback.call(thisArg,wrap(value),wrap(key),observed$2))}};return extend(instrumentations,readonly$1?{add:createReadonlyMethod(`add`),set:createReadonlyMethod(`set`),delete:createReadonlyMethod(`delete`),clear:createReadonlyMethod(`clear`)}:{add(value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this);return getProto(target).has.call(target,value)||(target.add(value),trigger$1(target,`add`,value,value)),this},set(key,value){!shallow&&!isShallow(value)&&!isReadonly(value)&&(value=toRaw(value));let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get.call(target,key);return target.set(key,value),hadKey?hasChanged(value,oldValue)&&trigger$1(target,`set`,key,value,oldValue):trigger$1(target,`add`,key,value),this},delete(key){let target=toRaw(this),{has:has$1,get}=getProto(target),hadKey=has$1.call(target,key);hadKey||=(key=toRaw(key),has$1.call(target,key));let oldValue=get?get.call(target,key):void 0,result=target.delete(key);return hadKey&&trigger$1(target,`delete`,key,void 0,oldValue),result},clear(){let target=toRaw(this),hadItems=target.size!==0,oldTarget,result=target.clear();return hadItems&&trigger$1(target,`clear`,void 0,void 0,void 0),result}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(method=>{instrumentations[method]=createIterableMethod(method,readonly$1,shallow)}),instrumentations}function createInstrumentationGetter(isReadonly2,shallow){let instrumentations=createInstrumentations(isReadonly2,shallow);return(target,key,receiver)=>key===`__v_isReactive`?!isReadonly2:key===`__v_isReadonly`?isReadonly2:key===`__v_raw`?target:Reflect.get(hasOwn$1(instrumentations,key)&&key in target?instrumentations:target,key,receiver)}var mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(rawType){switch(rawType){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function getTargetType(value){return value.__v_skip||!Object.isExtensible(value)?0:targetTypeMap(toRawType(value))}function reactive(target){return isReadonly(target)?target:createReactiveObject(target,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(target){return createReactiveObject(target,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(target){return createReactiveObject(target,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(target){return createReactiveObject(target,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(target,isReadonly2,baseHandlers,collectionHandlers,proxyMap){if(!isObject$1(target)||target.__v_raw&&!(isReadonly2&&target.__v_isReactive))return target;let targetType=getTargetType(target);if(targetType===0)return target;let existingProxy=proxyMap.get(target);if(existingProxy)return existingProxy;let proxy=new Proxy(target,targetType===2?collectionHandlers:baseHandlers);return proxyMap.set(target,proxy),proxy}function isReactive(value){return isReadonly(value)?isReactive(value.__v_raw):!!(value&&value.__v_isReactive)}function isReadonly(value){return!!(value&&value.__v_isReadonly)}function isShallow(value){return!!(value&&value.__v_isShallow)}function isProxy(value){return value?!!value.__v_raw:!1}function toRaw(observed$2){let raw=observed$2&&observed$2.__v_raw;return raw?toRaw(raw):observed$2}function markRaw(value){return!hasOwn$1(value,`__v_skip`)&&Object.isExtensible(value)&&def(value,`__v_skip`,!0),value}var toReactive=value=>isObject$1(value)?reactive(value):value,toReadonly=value=>isObject$1(value)?readonly(value):value;function isRef(r){return r?r.__v_isRef===!0:!1}function ref(value){return createRef(value,!1)}function shallowRef(value){return createRef(value,!0)}function createRef(rawValue,shallow){return isRef(rawValue)?rawValue:new RefImpl(rawValue,shallow)}var RefImpl=class{constructor(value,isShallow2){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=isShallow2?value:toRaw(value),this._value=isShallow2?value:toReactive(value),this.__v_isShallow=isShallow2}get value(){return this.dep.track(),this._value}set value(newValue){let oldValue=this._rawValue,useDirectValue=this.__v_isShallow||isShallow(newValue)||isReadonly(newValue);newValue=useDirectValue?newValue:toRaw(newValue),hasChanged(newValue,oldValue)&&(this._rawValue=newValue,this._value=useDirectValue?newValue:toReactive(newValue),this.dep.trigger())}};function triggerRef(ref2){ref2.dep&&ref2.dep.trigger()}function unref(ref2){return isRef(ref2)?ref2.value:ref2}function toValue$1(source){return isFunction$1(source)?source():unref(source)}var shallowUnwrapHandlers={get:(target,key,receiver)=>key===`__v_raw`?target:unref(Reflect.get(target,key,receiver)),set:(target,key,value,receiver)=>{let oldValue=target[key];return isRef(oldValue)&&!isRef(value)?(oldValue.value=value,!0):Reflect.set(target,key,value,receiver)}};function proxyRefs(objectWithRefs){return isReactive(objectWithRefs)?objectWithRefs:new Proxy(objectWithRefs,shallowUnwrapHandlers)}var CustomRefImpl=class{constructor(factory){this.__v_isRef=!0,this._value=void 0;let dep=this.dep=new Dep,{get,set}=factory(dep.track.bind(dep),dep.trigger.bind(dep));this._get=get,this._set=set}get value(){return this._value=this._get()}set value(newVal){this._set(newVal)}};function customRef(factory){return new CustomRefImpl(factory)}function toRefs(object){let ret=isArray$2(object)?Array(object.length):{};for(let key in object)ret[key]=propertyToRef(object,key);return ret}var ObjectRefImpl=class{constructor(_object,_key,_defaultValue){this._object=_object,this._key=_key,this._defaultValue=_defaultValue,this.__v_isRef=!0,this._value=void 0}get value(){let val=this._object[this._key];return this._value=val===void 0?this._defaultValue:val}set value(newVal){this._object[this._key]=newVal}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}},GetterRefImpl=class{constructor(_getter){this._getter=_getter,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function toRef(source,key,defaultValue){return isRef(source)?source:isFunction$1(source)?new GetterRefImpl(source):isObject$1(source)&&arguments.length>1?propertyToRef(source,key,defaultValue):ref(source)}function propertyToRef(source,key,defaultValue){let val=source[key];return isRef(val)?val:new ObjectRefImpl(source,key,defaultValue)}var ComputedRefImpl=class{constructor(fn,setter,isSSR){this.fn=fn,this.setter=setter,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!setter,this.isSSR=isSSR}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){let link=this.dep.track();return refreshComputed(this),link&&(link.version=this.dep.version),this._value}set value(newValue){this.setter&&this.setter(newValue)}};function computed$1(getterOrOptions,debugOptions,isSSR=!1){let getter,setter;return isFunction$1(getterOrOptions)?getter=getterOrOptions:(getter=getterOrOptions.get,setter=getterOrOptions.set),new ComputedRefImpl(getter,setter,isSSR)}var TrackOpTypes={GET:`get`,HAS:`has`,ITERATE:`iterate`},TriggerOpTypes={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap,activeWatcher=void 0;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(cleanupFn,failSilently=!1,owner=activeWatcher){if(owner){let cleanups=cleanupMap.get(owner);cleanups||cleanupMap.set(owner,cleanups=[]),cleanups.push(cleanupFn)}}function watch$1(source,cb,options=EMPTY_OBJ){let{immediate,deep,once,scheduler,augmentJob,call}=options,reactiveGetter=source2=>deep?source2:isShallow(source2)||deep===!1||deep===0?traverse(source2,1):traverse(source2),effect$1,getter,cleanup,boundCleanup,forceTrigger=!1,isMultiSource=!1;if(isRef(source)?(getter=()=>source.value,forceTrigger=isShallow(source)):isReactive(source)?(getter=()=>reactiveGetter(source),forceTrigger=!0):isArray$2(source)?(isMultiSource=!0,forceTrigger=source.some(s=>isReactive(s)||isShallow(s)),getter=()=>source.map(s=>{if(isRef(s))return s.value;if(isReactive(s))return reactiveGetter(s);if(isFunction$1(s))return call?call(s,2):s()})):getter=isFunction$1(source)?cb?call?()=>call(source,2):source:()=>{if(cleanup){pauseTracking();try{cleanup()}finally{resetTracking()}}let currentEffect=activeWatcher;activeWatcher=effect$1;try{return call?call(source,3,[boundCleanup]):source(boundCleanup)}finally{activeWatcher=currentEffect}}:NOOP,cb&&deep){let baseGetter=getter,depth=deep===!0?1/0:deep;getter=()=>traverse(baseGetter(),depth)}let scope$1=getCurrentScope(),watchHandle=()=>{effect$1.stop(),scope$1&&scope$1.active&&remove$2(scope$1.effects,effect$1)};if(once&&cb){let _cb=cb;cb=(...args)=>{_cb(...args),watchHandle()}}let oldValue=isMultiSource?Array(source.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE,job=immediateFirstRun=>{if(!(!(effect$1.flags&1)||!effect$1.dirty&&!immediateFirstRun))if(cb){let newValue=effect$1.run();if(deep||forceTrigger||(isMultiSource?newValue.some((v,i)=>hasChanged(v,oldValue[i])):hasChanged(newValue,oldValue))){cleanup&&cleanup();let currentWatcher=activeWatcher;activeWatcher=effect$1;try{let args=[newValue,oldValue===INITIAL_WATCHER_VALUE?void 0:isMultiSource&&oldValue[0]===INITIAL_WATCHER_VALUE?[]:oldValue,boundCleanup];oldValue=newValue,call?call(cb,3,args):cb(...args)}finally{activeWatcher=currentWatcher}}}else effect$1.run()};return augmentJob&&augmentJob(job),effect$1=new ReactiveEffect(getter),effect$1.scheduler=scheduler?()=>scheduler(job,!1):job,boundCleanup=fn=>onWatcherCleanup(fn,!1,effect$1),cleanup=effect$1.onStop=()=>{let cleanups=cleanupMap.get(effect$1);if(cleanups){if(call)call(cleanups,4);else for(let cleanup2 of cleanups)cleanup2();cleanupMap.delete(effect$1)}},cb?immediate?job(!0):oldValue=effect$1.run():scheduler?scheduler(job.bind(null,!0),!0):effect$1.run(),watchHandle.pause=effect$1.pause.bind(effect$1),watchHandle.resume=effect$1.resume.bind(effect$1),watchHandle.stop=watchHandle,watchHandle}function traverse(value,depth=1/0,seen$3){if(depth<=0||!isObject$1(value)||value.__v_skip||(seen$3||=new Map,(seen$3.get(value)||0)>=depth))return value;if(seen$3.set(value,depth),depth--,isRef(value))traverse(value.value,depth,seen$3);else if(isArray$2(value))for(let i=0;i{traverse(v,depth,seen$3)});else if(isPlainObject$2(value)){for(let key in value)traverse(value[key],depth,seen$3);for(let key of Object.getOwnPropertySymbols(value))Object.prototype.propertyIsEnumerable.call(value,key)&&traverse(value[key],depth,seen$3)}return value}var stack$1=[];function pushWarningContext(vnode){stack$1.push(vnode)}function popWarningContext(){stack$1.pop()}function assertNumber(val,type){}var ErrorCodes={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},ErrorTypeStrings$1={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function callWithErrorHandling(fn,instance$1,type,args){try{return args?fn(...args):fn()}catch(err){handleError(err,instance$1,type)}}function callWithAsyncErrorHandling(fn,instance$1,type,args){if(isFunction$1(fn)){let res=callWithErrorHandling(fn,instance$1,type,args);return res&&isPromise$1(res)&&res.catch(err=>{handleError(err,instance$1,type)}),res}if(isArray$2(fn)){let values=[];for(let i=0;i>>1,middleJob=queue$1[middle],middleJobId=getId(middleJob);middleJobId=getId(lastJob)?queue$1.push(job):queue$1.splice(findInsertionIndex$1(jobId),0,job),job.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||=resolvedPromise.then(flushJobs)}function queuePostFlushCb(cb){isArray$2(cb)?pendingPostFlushCbs.push(...cb):activePostFlushCbs&&cb.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,cb):cb.flags&1||(pendingPostFlushCbs.push(cb),cb.flags|=1),queueFlush()}function flushPreFlushCbs(instance$1,seen$3,i=flushIndex+1){for(;igetId(a$1)-getId(b));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...deduped);return}for(activePostFlushCbs=deduped,postFlushIndex=0;postFlushIndexjob.id==null?job.flags&2?-1:1/0:job.id;function flushJobs(seen$3){try{for(flushIndex=0;flushIndexdevtools$1.emit(event,...args)),buffer=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((target.__VUE_DEVTOOLS_HOOK_REPLAY__=target.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(newHook=>{setDevtoolsHook$1(newHook,target)}),setTimeout(()=>{devtools$1||(target.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}var currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(instance$1){let prev=currentRenderingInstance;return currentRenderingInstance=instance$1,currentScopeId=instance$1&&instance$1.type.__scopeId||null,prev}function pushScopeId(id){currentScopeId=id}function popScopeId(){currentScopeId=null}var withScopeId=_id=>withCtx;function withCtx(fn,ctx=currentRenderingInstance,isNonScopedSlot){if(!ctx||fn._n)return fn;let renderFnWithContext=(...args)=>{renderFnWithContext._d&&setBlockTracking(-1);let prevInstance=setCurrentRenderingInstance(ctx),res;try{res=fn(...args)}finally{setCurrentRenderingInstance(prevInstance),renderFnWithContext._d&&setBlockTracking(1)}return res};return renderFnWithContext._n=!0,renderFnWithContext._c=!0,renderFnWithContext._d=!0,renderFnWithContext}function withDirectives(vnode,directives){if(currentRenderingInstance===null)return vnode;let instance$1=getComponentPublicInstance(currentRenderingInstance),bindings=vnode.dirs||=[];for(let i=0;itype.__isTeleport,isTeleportDisabled=props=>props&&(props.disabled||props.disabled===``),isTeleportDeferred=props=>props&&(props.defer||props.defer===``),isTargetSVG=target=>typeof SVGElement<`u`&&target instanceof SVGElement,isTargetMathML=target=>typeof MathMLElement==`function`&&target instanceof MathMLElement,resolveTarget=(props,select)=>{let targetSelector=props&&props.to;return isString$1(targetSelector)?select?select(targetSelector):null:targetSelector},TeleportImpl={name:`Teleport`,__isTeleport:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals){let{mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,o:{insert,querySelector,createText,createComment}}=internals,disabled=isTeleportDisabled(n2.props),{shapeFlag,children,dynamicChildren}=n2;if(n1==null){let placeholder=n2.el=createText(``),mainAnchor=n2.anchor=createText(``);insert(placeholder,container,anchor),insert(mainAnchor,container,anchor);let mount=(container2,anchor2)=>{shapeFlag&16&&mountChildren(children,container2,anchor2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountToTarget=()=>{let target=n2.target=resolveTarget(n2.props,querySelector),targetAnchor=prepareAnchor(target,n2,createText,insert);target&&(namespace!==`svg`&&isTargetSVG(target)?namespace=`svg`:namespace!==`mathml`&&isTargetMathML(target)&&(namespace=`mathml`),parentComponent&&parentComponent.isCE&&(parentComponent.ce._teleportTargets||(parentComponent.ce._teleportTargets=new Set)).add(target),disabled||(mount(target,targetAnchor),updateCssVars(n2,!1)))};disabled&&(mount(container,mainAnchor),updateCssVars(n2,!0)),isTeleportDeferred(n2.props)?(n2.el.__isMounted=!1,queuePostRenderEffect(()=>{mountToTarget(),delete n2.el.__isMounted},parentSuspense)):mountToTarget()}else{if(isTeleportDeferred(n2.props)&&n1.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)},parentSuspense);return}n2.el=n1.el,n2.targetStart=n1.targetStart;let mainAnchor=n2.anchor=n1.anchor,target=n2.target=n1.target,targetAnchor=n2.targetAnchor=n1.targetAnchor,wasDisabled=isTeleportDisabled(n1.props),currentContainer=wasDisabled?container:target,currentAnchor=wasDisabled?mainAnchor:targetAnchor;if(namespace===`svg`||isTargetSVG(target)?namespace=`svg`:(namespace===`mathml`||isTargetMathML(target))&&(namespace=`mathml`),dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,currentContainer,parentComponent,parentSuspense,namespace,slotScopeIds),traverseStaticChildren(n1,n2,!0)):optimized||patchChildren(n1,n2,currentContainer,currentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,!1),disabled)wasDisabled?n2.props&&n1.props&&n2.props.to!==n1.props.to&&(n2.props.to=n1.props.to):moveTeleport(n2,container,mainAnchor,internals,1);else if((n2.props&&n2.props.to)!==(n1.props&&n1.props.to)){let nextTarget=n2.target=resolveTarget(n2.props,querySelector);nextTarget&&moveTeleport(n2,nextTarget,null,internals,0)}else wasDisabled&&moveTeleport(n2,target,targetAnchor,internals,1);updateCssVars(n2,disabled)}},remove(vnode,parentComponent,parentSuspense,{um:unmount,o:{remove:hostRemove}},doRemove){let{shapeFlag,children,anchor,targetStart,targetAnchor,target,props}=vnode;if(target&&(hostRemove(targetStart),hostRemove(targetAnchor)),doRemove&&hostRemove(anchor),shapeFlag&16){let shouldRemove=doRemove||!isTeleportDisabled(props);for(let i=0;i{state.isMounted=!0}),onBeforeUnmount(()=>{state.isUnmounting=!0}),state}var TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=instance$1=>{let subTree=instance$1.subTree;return subTree.component?recursiveGetSubtree(subTree.component):subTree},BaseTransitionImpl={name:`BaseTransition`,props:BaseTransitionPropsValidators,setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState();return()=>{let children=slots.default&&getTransitionRawChildren(slots.default(),!0);if(!children||!children.length)return;let child=findNonCommentChild(children),rawProps=toRaw(props),{mode}=rawProps;if(state.isLeaving)return emptyPlaceholder(child);let innerChild=getInnerChild$1(child);if(!innerChild)return emptyPlaceholder(child);let enterHooks=resolveTransitionHooks(innerChild,rawProps,state,instance$1,hooks=>enterHooks=hooks);innerChild.type!==Comment&&setTransitionHooks(innerChild,enterHooks);let oldInnerChild=instance$1.subTree&&getInnerChild$1(instance$1.subTree);if(oldInnerChild&&oldInnerChild.type!==Comment&&!isSameVNodeType(oldInnerChild,innerChild)&&recursiveGetSubtree(instance$1).type!==Comment){let leavingHooks=resolveTransitionHooks(oldInnerChild,rawProps,state,instance$1);if(setTransitionHooks(oldInnerChild,leavingHooks),mode===`out-in`&&innerChild.type!==Comment)return state.isLeaving=!0,leavingHooks.afterLeave=()=>{state.isLeaving=!1,instance$1.job.flags&8||instance$1.update(),delete leavingHooks.afterLeave,oldInnerChild=void 0},emptyPlaceholder(child);mode===`in-out`&&innerChild.type!==Comment?leavingHooks.delayLeave=(el,earlyRemove,delayedLeave)=>{let leavingVNodesCache=getLeavingNodesForType(state,oldInnerChild);leavingVNodesCache[String(oldInnerChild.key)]=oldInnerChild,el[leaveCbKey]=()=>{earlyRemove(),el[leaveCbKey]=void 0,delete enterHooks.delayedLeave,oldInnerChild=void 0},enterHooks.delayedLeave=()=>{delayedLeave(),delete enterHooks.delayedLeave,oldInnerChild=void 0}}:oldInnerChild=void 0}else oldInnerChild&&=void 0;return child}}};function findNonCommentChild(children){let child=children[0];if(children.length>1){for(let c of children)if(c.type!==Comment){child=c;break}}return child}var BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(state,vnode){let{leavingVNodes}=state,leavingVNodesCache=leavingVNodes.get(vnode.type);return leavingVNodesCache||(leavingVNodesCache=Object.create(null),leavingVNodes.set(vnode.type,leavingVNodesCache)),leavingVNodesCache}function resolveTransitionHooks(vnode,props,state,instance$1,postClone){let{appear,mode,persisted=!1,onBeforeEnter,onEnter,onAfterEnter,onEnterCancelled,onBeforeLeave,onLeave,onAfterLeave,onLeaveCancelled,onBeforeAppear,onAppear,onAfterAppear,onAppearCancelled}=props,key=String(vnode.key),leavingVNodesCache=getLeavingNodesForType(state,vnode),callHook$2=(hook,args)=>{hook&&callWithAsyncErrorHandling(hook,instance$1,9,args)},callAsyncHook=(hook,args)=>{let done=args[1];callHook$2(hook,args),isArray$2(hook)?hook.every(hook2=>hook2.length<=1)&&done():hook.length<=1&&done()},hooks={mode,persisted,beforeEnter(el){let hook=onBeforeEnter;if(!state.isMounted)if(appear)hook=onBeforeAppear||onBeforeEnter;else return;el[leaveCbKey]&&el[leaveCbKey](!0);let leavingVNode=leavingVNodesCache[key];leavingVNode&&isSameVNodeType(vnode,leavingVNode)&&leavingVNode.el[leaveCbKey]&&leavingVNode.el[leaveCbKey](),callHook$2(hook,[el])},enter(el){let hook=onEnter,afterHook=onAfterEnter,cancelHook=onEnterCancelled;if(!state.isMounted)if(appear)hook=onAppear||onEnter,afterHook=onAfterAppear||onAfterEnter,cancelHook=onAppearCancelled||onEnterCancelled;else return;let called=!1,done=el[enterCbKey$1]=cancelled=>{called||(called=!0,callHook$2(cancelled?cancelHook:afterHook,[el]),hooks.delayedLeave&&hooks.delayedLeave(),el[enterCbKey$1]=void 0)};hook?callAsyncHook(hook,[el,done]):done()},leave(el,remove$3){let key2=String(vnode.key);if(el[enterCbKey$1]&&el[enterCbKey$1](!0),state.isUnmounting)return remove$3();callHook$2(onBeforeLeave,[el]);let called=!1,done=el[leaveCbKey]=cancelled=>{called||(called=!0,remove$3(),callHook$2(cancelled?onLeaveCancelled:onAfterLeave,[el]),el[leaveCbKey]=void 0,leavingVNodesCache[key2]===vnode&&delete leavingVNodesCache[key2])};leavingVNodesCache[key2]=vnode,onLeave?callAsyncHook(onLeave,[el,done]):done()},clone(vnode2){let hooks2=resolveTransitionHooks(vnode2,props,state,instance$1,postClone);return postClone&&postClone(hooks2),hooks2}};return hooks}function emptyPlaceholder(vnode){if(isKeepAlive(vnode))return vnode=cloneVNode(vnode),vnode.children=null,vnode}function getInnerChild$1(vnode){if(!isKeepAlive(vnode))return isTeleport(vnode.type)&&vnode.children?findNonCommentChild(vnode.children):vnode;if(vnode.component)return vnode.component.subTree;let{shapeFlag,children}=vnode;if(children){if(shapeFlag&16)return children[0];if(shapeFlag&32&&isFunction$1(children.default))return children.default()}}function setTransitionHooks(vnode,hooks){vnode.shapeFlag&6&&vnode.component?(vnode.transition=hooks,setTransitionHooks(vnode.component.subTree,hooks)):vnode.shapeFlag&128?(vnode.ssContent.transition=hooks.clone(vnode.ssContent),vnode.ssFallback.transition=hooks.clone(vnode.ssFallback)):vnode.transition=hooks}function getTransitionRawChildren(children,keepComment=!1,parentKey){let ret=[],keyedFragmentCount=0;for(let i=0;i1)for(let i=0;iextend({name:options.name},extraOptions,{setup:options}))():options}function useId(){let i=getCurrentInstance();return i?(i.appContext.config.idPrefix||`v`)+`-`+i.ids[0]+ i.ids[1]++:``}function markAsyncBoundary(instance$1){instance$1.ids=[instance$1.ids[0]+ instance$1.ids[2]+++`-`,0,0]}function useTemplateRef(key){let i=getCurrentInstance(),r=shallowRef(null);if(i){let refs=i.refs===EMPTY_OBJ?i.refs={}:i.refs;Object.defineProperty(refs,key,{enumerable:!0,get:()=>r.value,set:val=>r.value=val})}return r}var pendingSetRefMap=new WeakMap;function setRef(rawRef,oldRawRef,parentSuspense,vnode,isUnmount=!1){if(isArray$2(rawRef)){rawRef.forEach((r,i)=>setRef(r,oldRawRef&&(isArray$2(oldRawRef)?oldRawRef[i]:oldRawRef),parentSuspense,vnode,isUnmount));return}if(isAsyncWrapper(vnode)&&!isUnmount){vnode.shapeFlag&512&&vnode.type.__asyncResolved&&vnode.component.subTree.component&&setRef(rawRef,oldRawRef,parentSuspense,vnode.component.subTree);return}let refValue=vnode.shapeFlag&4?getComponentPublicInstance(vnode.component):vnode.el,value=isUnmount?null:refValue,{i:owner,r:ref$1}=rawRef,oldRef=oldRawRef&&oldRawRef.r,refs=owner.refs===EMPTY_OBJ?owner.refs={}:owner.refs,setupState=owner.setupState,rawSetupState=toRaw(setupState),canSetSetupRef=setupState===EMPTY_OBJ?NO:key=>hasOwn$1(rawSetupState,key),canSetRef=ref2=>!0;if(oldRef!=null&&oldRef!==ref$1){if(invalidatePendingSetRef(oldRawRef),isString$1(oldRef))refs[oldRef]=null,canSetSetupRef(oldRef)&&(setupState[oldRef]=null);else if(isRef(oldRef)){canSetRef(oldRef)&&(oldRef.value=null);let oldRawRefAtom=oldRawRef;oldRawRefAtom.k&&(refs[oldRawRefAtom.k]=null)}}if(isFunction$1(ref$1))callWithErrorHandling(ref$1,owner,12,[value,refs]);else{let _isString=isString$1(ref$1),_isRef=isRef(ref$1);if(_isString||_isRef){let doSet=()=>{if(rawRef.f){let existing=_isString?canSetSetupRef(ref$1)?setupState[ref$1]:refs[ref$1]:canSetRef(ref$1)||!rawRef.k?ref$1.value:refs[rawRef.k];if(isUnmount)isArray$2(existing)&&remove$2(existing,refValue);else if(isArray$2(existing))existing.includes(refValue)||existing.push(refValue);else if(_isString)refs[ref$1]=[refValue],canSetSetupRef(ref$1)&&(setupState[ref$1]=refs[ref$1]);else{let newVal=[refValue];canSetRef(ref$1)&&(ref$1.value=newVal),rawRef.k&&(refs[rawRef.k]=newVal)}}else _isString?(refs[ref$1]=value,canSetSetupRef(ref$1)&&(setupState[ref$1]=value)):_isRef&&(canSetRef(ref$1)&&(ref$1.value=value),rawRef.k&&(refs[rawRef.k]=value))};if(value){let job=()=>{doSet(),pendingSetRefMap.delete(rawRef)};job.id=-1,pendingSetRefMap.set(rawRef,job),queuePostRenderEffect(job,parentSuspense)}else invalidatePendingSetRef(rawRef),doSet()}}}function invalidatePendingSetRef(rawRef){let pendingSetRef=pendingSetRefMap.get(rawRef);pendingSetRef&&(pendingSetRef.flags|=8,pendingSetRefMap.delete(rawRef))}var hasLoggedMismatchError=!1,logMismatchError=()=>{hasLoggedMismatchError||=(console.error(`Hydration completed but contains mismatches.`),!0)},isSVGContainer=container=>container.namespaceURI.includes(`svg`)&&container.tagName!==`foreignObject`,isMathMLContainer=container=>container.namespaceURI.includes(`MathML`),getContainerType=container=>{if(container.nodeType===1){if(isSVGContainer(container))return`svg`;if(isMathMLContainer(container))return`mathml`}},isComment=node=>node.nodeType===8;function createHydrationFunctions(rendererInternals){let{mt:mountComponent,p:patch,o:{patchProp:patchProp$1,createText,nextSibling,parentNode,remove:remove$3,insert,createComment}}=rendererInternals,hydrate$1=(vnode,container)=>{if(!container.hasChildNodes()){patch(null,vnode,container),flushPostFlushCbs(),container._vnode=vnode;return}hydrateNode(container.firstChild,vnode,null,null,null),flushPostFlushCbs(),container._vnode=vnode},hydrateNode=(node,vnode,parentComponent,parentSuspense,slotScopeIds,optimized=!1)=>{optimized||=!!vnode.dynamicChildren;let isFragmentStart=isComment(node)&&node.data===`[`,onMismatch=()=>handleMismatch(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragmentStart),{type,ref:ref$1,shapeFlag,patchFlag}=vnode,domType=node.nodeType;vnode.el=node,patchFlag===-2&&(optimized=!1,vnode.dynamicChildren=null);let nextNode=null;switch(type){case Text:domType===3?(node.data!==vnode.children&&(logMismatchError(),node.data=vnode.children),nextNode=nextSibling(node)):vnode.children===``?(insert(vnode.el=createText(``),parentNode(node),node),nextNode=node):nextNode=onMismatch();break;case Comment:isTemplateNode$1(node)?(nextNode=nextSibling(node),replaceNode(vnode.el=node.content.firstChild,node,parentComponent)):nextNode=domType!==8||isFragmentStart?onMismatch():nextSibling(node);break;case Static:if(isFragmentStart&&(node=nextSibling(node),domType=node.nodeType),domType===1||domType===3){nextNode=node;let needToAdoptContent=!vnode.children.length;for(let i=0;i{optimized||=!!vnode.dynamicChildren;let{type,props,patchFlag,shapeFlag,dirs,transition}=vnode,forcePatch=type===`input`||type===`option`;if(forcePatch||patchFlag!==-1){dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`);let needCallTransitionHooks=!1;if(isTemplateNode$1(el)){needCallTransitionHooks=needTransition(null,transition)&&parentComponent&&parentComponent.vnode.props&&parentComponent.vnode.props.appear;let content=el.content.firstChild;if(needCallTransitionHooks){let cls=content.getAttribute(`class`);cls&&(content.$cls=cls),transition.beforeEnter(content)}replaceNode(content,el,parentComponent),vnode.el=el=content}if(shapeFlag&16&&!(props&&(props.innerHTML||props.textContent))){let next=hydrateChildren(el.firstChild,vnode,el,parentComponent,parentSuspense,slotScopeIds,optimized);for(;next;){isMismatchAllowed(el,1)||logMismatchError();let cur=next;next=next.nextSibling,remove$3(cur)}}else if(shapeFlag&8){let clientText=vnode.children;clientText[0]===`
`&&(el.tagName===`PRE`||el.tagName===`TEXTAREA`)&&(clientText=clientText.slice(1)),el.textContent!==clientText&&(isMismatchAllowed(el,0)||logMismatchError(),el.textContent=vnode.children)}if(props){if(forcePatch||!optimized||patchFlag&48){let isCustomElement=el.tagName.includes(`-`);for(let key in props)(forcePatch&&(key.endsWith(`value`)||key===`indeterminate`)||isOn(key)&&!isReservedProp(key)||key[0]===`.`||isCustomElement)&&patchProp$1(el,key,null,props[key],void 0,parentComponent)}else if(props.onClick)patchProp$1(el,`onClick`,null,props.onClick,void 0,parentComponent);else if(patchFlag&4&&isReactive(props.style))for(let key in props.style)props.style[key]}let vnodeHooks;(vnodeHooks=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`),((vnodeHooks=props&&props.onVnodeMounted)||dirs||needCallTransitionHooks)&&queueEffectWithSuspense(()=>{vnodeHooks&&invokeVNodeHook(vnodeHooks,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)}return el.nextSibling},hydrateChildren=(node,parentVNode,container,parentComponent,parentSuspense,slotScopeIds,optimized)=>{optimized||=!!parentVNode.dynamicChildren;let children=parentVNode.children,l=children.length;for(let i=0;i{let{slotScopeIds:fragmentSlotScopeIds}=vnode;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds);let container=parentNode(node),next=hydrateChildren(nextSibling(node),vnode,container,parentComponent,parentSuspense,slotScopeIds,optimized);return next&&isComment(next)&&next.data===`]`?nextSibling(vnode.anchor=next):(logMismatchError(),insert(vnode.anchor=createComment(`]`),container,next),next)},handleMismatch=(node,vnode,parentComponent,parentSuspense,slotScopeIds,isFragment)=>{if(isMismatchAllowed(node.parentElement,1)||logMismatchError(),vnode.el=null,isFragment){let end=locateClosingAnchor(node);for(;;){let next2=nextSibling(node);if(next2&&next2!==end)remove$3(next2);else break}}let next=nextSibling(node),container=parentNode(node);return remove$3(node),patch(null,vnode,container,next,parentComponent,parentSuspense,getContainerType(container),slotScopeIds),parentComponent&&(parentComponent.vnode.el=vnode.el,updateHOCHostEl(parentComponent,vnode.el)),next},locateClosingAnchor=(node,open$1=`[`,close=`]`)=>{let match=0;for(;node;)if(node=nextSibling(node),node&&isComment(node)&&(node.data===open$1&&match++,node.data===close)){if(match===0)return nextSibling(node);match--}return node},replaceNode=(newNode,oldNode,parentComponent)=>{let parentNode2=oldNode.parentNode;parentNode2&&parentNode2.replaceChild(newNode,oldNode);let parent=parentComponent;for(;parent;)parent.vnode.el===oldNode&&(parent.vnode.el=parent.subTree.el=newNode),parent=parent.parent},isTemplateNode$1=node=>node.nodeType===1&&node.tagName===`TEMPLATE`;return[hydrate$1,hydrateNode]}var allowMismatchAttr=`data-allow-mismatch`,MismatchTypeString={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function isMismatchAllowed(el,allowedType){if(allowedType===0||allowedType===1)for(;el&&!el.hasAttribute(allowMismatchAttr);)el=el.parentElement;let allowedAttr=el&&el.getAttribute(allowMismatchAttr);if(allowedAttr==null)return!1;if(allowedAttr===``)return!0;{let list=allowedAttr.split(`,`);return allowedType===0&&list.includes(`children`)?!0:list.includes(MismatchTypeString[allowedType])}}var requestIdleCallback=getGlobalThis$1().requestIdleCallback||(cb=>setTimeout(cb,1)),cancelIdleCallback=getGlobalThis$1().cancelIdleCallback||(id=>clearTimeout(id)),hydrateOnIdle=(timeout=1e4)=>hydrate$1=>{let id=requestIdleCallback(hydrate$1,{timeout});return()=>cancelIdleCallback(id)};function elementIsVisibleInViewport(el){let{top,left,bottom,right}=el.getBoundingClientRect(),{innerHeight,innerWidth}=window;return(top>0&&top0&&bottom0&&left0&&right(hydrate$1,forEach)=>{let ob=new IntersectionObserver(entries=>{for(let e of entries)if(e.isIntersecting){ob.disconnect(),hydrate$1();break}},opts);return forEach(el=>{if(el instanceof Element){if(elementIsVisibleInViewport(el))return hydrate$1(),ob.disconnect(),!1;ob.observe(el)}}),()=>ob.disconnect()},hydrateOnMediaQuery=query=>hydrate$1=>{if(query){let mql=matchMedia(query);if(mql.matches)hydrate$1();else return mql.addEventListener(`change`,hydrate$1,{once:!0}),()=>mql.removeEventListener(`change`,hydrate$1)}},hydrateOnInteraction=(interactions=[])=>(hydrate$1,forEach)=>{isString$1(interactions)&&(interactions=[interactions]);let hasHydrated=!1,doHydrate=e=>{hasHydrated||(hasHydrated=!0,teardown(),hydrate$1(),e.target.dispatchEvent(new e.constructor(e.type,e)))},teardown=()=>{forEach(el=>{for(let i of interactions)el.removeEventListener(i,doHydrate)})};return forEach(el=>{for(let i of interactions)el.addEventListener(i,doHydrate,{once:!0})}),teardown};function forEachElement(node,cb){if(isComment(node)&&node.data===`[`){let depth=1,next=node.nextSibling;for(;next;){if(next.nodeType===1){if(cb(next)===!1)break}else if(isComment(next))if(next.data===`]`){if(--depth===0)break}else next.data===`[`&&depth++;next=next.nextSibling}}else cb(node)}var isAsyncWrapper=i=>!!i.type.__asyncLoader;function defineAsyncComponent(source){isFunction$1(source)&&(source={loader:source});let{loader,loadingComponent,errorComponent,delay=200,hydrate:hydrateStrategy,timeout,suspensible=!0,onError:userOnError}=source,pendingRequest=null,resolvedComp,retries=0,retry=()=>(retries++,pendingRequest=null,load()),load=()=>{let thisRequest;return pendingRequest||(thisRequest=pendingRequest=loader().catch(err=>{if(err=err instanceof Error?err:Error(String(err)),userOnError)return new Promise((resolve$1,reject)=>{userOnError(err,()=>resolve$1(retry()),()=>reject(err),retries+1)});throw err}).then(comp=>thisRequest!==pendingRequest&&pendingRequest?pendingRequest:(comp&&(comp.__esModule||comp[Symbol.toStringTag]===`Module`)&&(comp=comp.default),resolvedComp=comp,comp)))};return defineComponent({name:`AsyncComponentWrapper`,__asyncLoader:load,__asyncHydrate(el,instance$1,hydrate$1){let patched=!1;(instance$1.bu||=[]).push(()=>patched=!0);let performHydrate=()=>{patched||hydrate$1()},doHydrate=hydrateStrategy?()=>{let teardown=hydrateStrategy(performHydrate,cb=>forEachElement(el,cb));teardown&&(instance$1.bum||=[]).push(teardown)}:performHydrate;resolvedComp?doHydrate():load().then(()=>!instance$1.isUnmounted&&doHydrate())},get __asyncResolved(){return resolvedComp},setup(){let instance$1=currentInstance;if(markAsyncBoundary(instance$1),resolvedComp)return()=>createInnerComp(resolvedComp,instance$1);let onError=err=>{pendingRequest=null,handleError(err,instance$1,13,!errorComponent)};if(suspensible&&instance$1.suspense||isInSSRComponentSetup)return load().then(comp=>()=>createInnerComp(comp,instance$1)).catch(err=>(onError(err),()=>errorComponent?createVNode(errorComponent,{error:err}):null));let loaded=ref(!1),error=ref(),delayed=ref(!!delay);return delay&&setTimeout(()=>{delayed.value=!1},delay),timeout!=null&&setTimeout(()=>{if(!loaded.value&&!error.value){let err=Error(`Async component timed out after ${timeout}ms.`);onError(err),error.value=err}},timeout),load().then(()=>{loaded.value=!0,instance$1.parent&&isKeepAlive(instance$1.parent.vnode)&&instance$1.parent.update()}).catch(err=>{onError(err),error.value=err}),()=>{if(loaded.value&&resolvedComp)return createInnerComp(resolvedComp,instance$1);if(error.value&&errorComponent)return createVNode(errorComponent,{error:error.value});if(loadingComponent&&!delayed.value)return createVNode(loadingComponent)}}})}function createInnerComp(comp,parent){let{ref:ref2,props,children,ce}=parent.vnode,vnode=createVNode(comp,props,children);return vnode.ref=ref2,vnode.ce=ce,delete parent.vnode.ce,vnode}var isKeepAlive=vnode=>vnode.type.__isKeepAlive,KeepAlive={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(props,{slots}){let instance$1=getCurrentInstance(),sharedContext$1=instance$1.ctx;if(!sharedContext$1.renderer)return()=>{let children=slots.default&&slots.default();return children&&children.length===1?children[0]:children};let cache$1=new Map,keys=new Set,current=null,parentSuspense=instance$1.suspense,{renderer:{p:patch,m:move,um:_unmount,o:{createElement}}}=sharedContext$1,storageContainer=createElement(`div`);sharedContext$1.activate=(vnode,container,anchor,namespace,optimized)=>{let instance2=vnode.component;move(vnode,container,anchor,0,parentSuspense),patch(instance2.vnode,vnode,container,anchor,instance2,parentSuspense,namespace,vnode.slotScopeIds,optimized),queuePostRenderEffect(()=>{instance2.isDeactivated=!1,instance2.a&&invokeArrayFns(instance2.a);let vnodeHook=vnode.props&&vnode.props.onVnodeMounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode)},parentSuspense)},sharedContext$1.deactivate=vnode=>{let instance2=vnode.component;invalidateMount(instance2.m),invalidateMount(instance2.a),move(vnode,storageContainer,null,1,parentSuspense),queuePostRenderEffect(()=>{instance2.da&&invokeArrayFns(instance2.da);let vnodeHook=vnode.props&&vnode.props.onVnodeUnmounted;vnodeHook&&invokeVNodeHook(vnodeHook,instance2.parent,vnode),instance2.isDeactivated=!0},parentSuspense)};function unmount(vnode){resetShapeFlag(vnode),_unmount(vnode,instance$1,parentSuspense,!0)}function pruneCache(filter){cache$1.forEach((vnode,key)=>{let name=getComponentName(vnode.type);name&&!filter(name)&&pruneCacheEntry(key)})}function pruneCacheEntry(key){let cached=cache$1.get(key);cached&&(!current||!isSameVNodeType(cached,current))?unmount(cached):current&&resetShapeFlag(current),cache$1.delete(key),keys.delete(key)}watch(()=>[props.include,props.exclude],([include,exclude])=>{include&&pruneCache(name=>matches(include,name)),exclude&&pruneCache(name=>!matches(exclude,name))},{flush:`post`,deep:!0});let pendingCacheKey=null,cacheSubtree=()=>{pendingCacheKey!=null&&(isSuspense(instance$1.subTree.type)?queuePostRenderEffect(()=>{cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree))},instance$1.subTree.suspense):cache$1.set(pendingCacheKey,getInnerChild(instance$1.subTree)))};return onMounted(cacheSubtree),onUpdated(cacheSubtree),onBeforeUnmount(()=>{cache$1.forEach(cached=>{let{subTree,suspense}=instance$1,vnode=getInnerChild(subTree);if(cached.type===vnode.type&&cached.key===vnode.key){resetShapeFlag(vnode);let da=vnode.component.da;da&&queuePostRenderEffect(da,suspense);return}unmount(cached)})}),()=>{if(pendingCacheKey=null,!slots.default)return current=null;let children=slots.default(),rawVNode=children[0];if(children.length>1)return current=null,children;if(!isVNode(rawVNode)||!(rawVNode.shapeFlag&4)&&!(rawVNode.shapeFlag&128))return current=null,rawVNode;let vnode=getInnerChild(rawVNode);if(vnode.type===Comment)return current=null,vnode;let comp=vnode.type,name=getComponentName(isAsyncWrapper(vnode)?vnode.type.__asyncResolved||{}:comp),{include,exclude,max:max$1}=props;if(include&&(!name||!matches(include,name))||exclude&&name&&matches(exclude,name))return vnode.shapeFlag&=-257,current=vnode,rawVNode;let key=vnode.key==null?comp:vnode.key,cachedVNode=cache$1.get(key);return vnode.el&&(vnode=cloneVNode(vnode),rawVNode.shapeFlag&128&&(rawVNode.ssContent=vnode)),pendingCacheKey=key,cachedVNode?(vnode.el=cachedVNode.el,vnode.component=cachedVNode.component,vnode.transition&&setTransitionHooks(vnode,vnode.transition),vnode.shapeFlag|=512,keys.delete(key),keys.add(key)):(keys.add(key),max$1&&keys.size>parseInt(max$1,10)&&pruneCacheEntry(keys.values().next().value)),vnode.shapeFlag|=256,current=vnode,isSuspense(rawVNode.type)?rawVNode:vnode}}};function matches(pattern,name){return isArray$2(pattern)?pattern.some(p$1=>matches(p$1,name)):isString$1(pattern)?pattern.split(`,`).includes(name):isRegExp$1(pattern)?(pattern.lastIndex=0,pattern.test(name)):!1}function onActivated(hook,target){registerKeepAliveHook(hook,`a`,target)}function onDeactivated(hook,target){registerKeepAliveHook(hook,`da`,target)}function registerKeepAliveHook(hook,type,target=currentInstance){let wrappedHook=hook.__wdc||=()=>{let current=target;for(;current;){if(current.isDeactivated)return;current=current.parent}return hook()};if(injectHook(type,wrappedHook,target),target){let current=target.parent;for(;current&¤t.parent;)isKeepAlive(current.parent.vnode)&&injectToKeepAliveRoot(wrappedHook,type,target,current),current=current.parent}}function injectToKeepAliveRoot(hook,type,target,keepAliveRoot){let injected=injectHook(type,hook,keepAliveRoot,!0);onUnmounted(()=>{remove$2(keepAliveRoot[type],injected)},target)}function resetShapeFlag(vnode){vnode.shapeFlag&=-257,vnode.shapeFlag&=-513}function getInnerChild(vnode){return vnode.shapeFlag&128?vnode.ssContent:vnode}function injectHook(type,hook,target=currentInstance,prepend=!1){if(target){let hooks=target[type]||(target[type]=[]),wrappedHook=hook.__weh||=(...args)=>{pauseTracking();let reset$1=setCurrentInstance(target),res=callWithAsyncErrorHandling(hook,target,type,args);return reset$1(),resetTracking(),res};return prepend?hooks.unshift(wrappedHook):hooks.push(wrappedHook),wrappedHook}}var createHook=lifecycle=>(hook,target=currentInstance)=>{(!isInSSRComponentSetup||lifecycle===`sp`)&&injectHook(lifecycle,(...args)=>hook(...args),target)},onBeforeMount=createHook(`bm`),onMounted=createHook(`m`),onBeforeUpdate=createHook(`bu`),onUpdated=createHook(`u`),onBeforeUnmount=createHook(`bum`),onUnmounted=createHook(`um`),onServerPrefetch=createHook(`sp`),onRenderTriggered=createHook(`rtg`),onRenderTracked=createHook(`rtc`);function onErrorCaptured(hook,target=currentInstance){injectHook(`ec`,hook,target)}var COMPONENTS=`components`,DIRECTIVES=`directives`;function resolveComponent(name,maybeSelfReference){return resolveAsset(COMPONENTS,name,!0,maybeSelfReference)||name}var NULL_DYNAMIC_COMPONENT=Symbol.for(`v-ndc`);function resolveDynamicComponent(component){return isString$1(component)?resolveAsset(COMPONENTS,component,!1)||component:component||NULL_DYNAMIC_COMPONENT}function resolveDirective(name){return resolveAsset(DIRECTIVES,name)}function resolveAsset(type,name,warnMissing=!0,maybeSelfReference=!1){let instance$1=currentRenderingInstance||currentInstance;if(instance$1){let Component=instance$1.type;if(type===COMPONENTS){let selfName=getComponentName(Component,!1);if(selfName&&(selfName===name||selfName===camelize(name)||selfName===capitalize$1(camelize(name))))return Component}let res=resolve(instance$1[type]||Component[type],name)||resolve(instance$1.appContext[type],name);return!res&&maybeSelfReference?Component:res}}function resolve(registry$1,name){return registry$1&&(registry$1[name]||registry$1[camelize(name)]||registry$1[capitalize$1(camelize(name))])}function renderList(source,renderItem,cache$1,index){let ret,cached=cache$1&&cache$1[index],sourceIsArray=isArray$2(source);if(sourceIsArray||isString$1(source)){let sourceIsReactiveArray=sourceIsArray&&isReactive(source),needsWrap=!1,isReadonlySource=!1;sourceIsReactiveArray&&(needsWrap=!isShallow(source),isReadonlySource=isReadonly(source),source=shallowReadArray(source)),ret=Array(source.length);for(let i=0,l=source.length;irenderItem(item,i,void 0,cached&&cached[i]));else{let keys=Object.keys(source);ret=Array(keys.length);for(let i=0,l=keys.length;i{let res=slot.fn(...args);return res&&(res.key=slot.key),res}:slot.fn)}return slots}function renderSlot(slots,name,props={},fallback,noSlotted){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){let hasProps=Object.keys(props).length>0;return name!==`default`&&(props.name=name),openBlock(),createBlock(Fragment,null,[createVNode(`slot`,props,fallback&&fallback())],hasProps?-2:64)}let slot=slots[name];slot&&slot._c&&(slot._d=!1),openBlock();let validSlotContent=slot&&ensureValidVNode(slot(props)),slotKey=props.key||validSlotContent&&validSlotContent.key,rendered=createBlock(Fragment,{key:(slotKey&&!isSymbol(slotKey)?slotKey:`_${name}`)+(!validSlotContent&&fallback?`_fb`:``)},validSlotContent||(fallback?fallback():[]),validSlotContent&&slots._===1?64:-2);return!noSlotted&&rendered.scopeId&&(rendered.slotScopeIds=[rendered.scopeId+`-s`]),slot&&slot._c&&(slot._d=!0),rendered}function ensureValidVNode(vnodes){return vnodes.some(child=>isVNode(child)?!(child.type===Comment||child.type===Fragment&&!ensureValidVNode(child.children)):!0)?vnodes:null}function toHandlers(obj,preserveCaseIfNecessary){let ret={};for(let key in obj)ret[preserveCaseIfNecessary&&/[A-Z]/.test(key)?`on:${key}`:toHandlerKey(key)]=obj[key];return ret}var getPublicInstance=i=>i?isStatefulComponent(i)?getComponentPublicInstance(i):getPublicInstance(i.parent):null,publicPropertiesMap=extend(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$host:i=>i.ce,$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||=()=>{queueJob(i.update)},$nextTick:i=>i.n||=nextTick.bind(i.proxy),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(state,key)=>state!==EMPTY_OBJ&&!state.__isScriptSetup&&hasOwn$1(state,key),PublicInstanceProxyHandlers={get({_:instance$1},key){if(key===`__v_skip`)return!0;let{ctx,setupState,data,props,accessCache,type,appContext}=instance$1,normalizedProps;if(key[0]!==`$`){let n=accessCache[key];if(n!==void 0)switch(n){case 1:return setupState[key];case 2:return data[key];case 4:return ctx[key];case 3:return props[key]}else if(hasSetupBinding(setupState,key))return accessCache[key]=1,setupState[key];else if(data!==EMPTY_OBJ&&hasOwn$1(data,key))return accessCache[key]=2,data[key];else if((normalizedProps=instance$1.propsOptions[0])&&hasOwn$1(normalizedProps,key))return accessCache[key]=3,props[key];else if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];else shouldCacheAccess&&(accessCache[key]=0)}let publicGetter=publicPropertiesMap[key],cssModule,globalProperties;if(publicGetter)return key===`$attrs`&&track(instance$1.attrs,`get`,``),publicGetter(instance$1);if((cssModule=type.__cssModules)&&(cssModule=cssModule[key]))return cssModule;if(ctx!==EMPTY_OBJ&&hasOwn$1(ctx,key))return accessCache[key]=4,ctx[key];if(globalProperties=appContext.config.globalProperties,hasOwn$1(globalProperties,key))return globalProperties[key]},set({_:instance$1},key,value){let{data,setupState,ctx}=instance$1;return hasSetupBinding(setupState,key)?(setupState[key]=value,!0):data!==EMPTY_OBJ&&hasOwn$1(data,key)?(data[key]=value,!0):hasOwn$1(instance$1.props,key)||key[0]===`$`&&key.slice(1)in instance$1?!1:(ctx[key]=value,!0)},has({_:{data,setupState,accessCache,ctx,appContext,propsOptions,type}},key){let normalizedProps,cssModules;return!!(accessCache[key]||data!==EMPTY_OBJ&&key[0]!==`$`&&hasOwn$1(data,key)||hasSetupBinding(setupState,key)||(normalizedProps=propsOptions[0])&&hasOwn$1(normalizedProps,key)||hasOwn$1(ctx,key)||hasOwn$1(publicPropertiesMap,key)||hasOwn$1(appContext.config.globalProperties,key)||(cssModules=type.__cssModules)&&cssModules[key])},defineProperty(target,key,descriptor){return descriptor.get==null?hasOwn$1(descriptor,`value`)&&this.set(target,key,descriptor.value,null):target._.accessCache[key]=0,Reflect.defineProperty(target,key,descriptor)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(target,key){if(key!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(target,key,target)},has(_,key){return key[0]!==`_`&&!isGloballyAllowed(key)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(exposed){}function defineOptions(options){}function defineSlots(){return null}function defineModel(){}function withDefaults(props,defaults){return null}function useSlots(){return getContext(`useSlots`).slots}function useAttrs(){return getContext(`useAttrs`).attrs}function getContext(calledFunctionName){let i=getCurrentInstance();return i.setupContext||=createSetupContext(i)}function normalizePropsOrEmits(props){return isArray$2(props)?props.reduce((normalized,p$1)=>(normalized[p$1]=null,normalized),{}):props}function mergeDefaults(raw,defaults){let props=normalizePropsOrEmits(raw);for(let key in defaults){if(key.startsWith(`__skip`))continue;let opt=props[key];opt?isArray$2(opt)||isFunction$1(opt)?opt=props[key]={type:opt,default:defaults[key]}:opt.default=defaults[key]:opt===null&&(opt=props[key]={default:defaults[key]}),opt&&defaults[`__skip_${key}`]&&(opt.skipFactory=!0)}return props}function mergeModels(a$1,b){return!a$1||!b?a$1||b:isArray$2(a$1)&&isArray$2(b)?a$1.concat(b):extend({},normalizePropsOrEmits(a$1),normalizePropsOrEmits(b))}function createPropsRestProxy(props,excludedKeys){let ret={};for(let key in props)excludedKeys.includes(key)||Object.defineProperty(ret,key,{enumerable:!0,get:()=>props[key]});return ret}function withAsyncContext(getAwaitable){let ctx=getCurrentInstance(),awaitable=getAwaitable();return unsetCurrentInstance(),isPromise$1(awaitable)&&(awaitable=awaitable.catch(e=>{throw setCurrentInstance(ctx),e})),[awaitable,()=>setCurrentInstance(ctx)]}var shouldCacheAccess=!0;function applyOptions$1(instance$1){let options=resolveMergedOptions(instance$1),publicThis=instance$1.proxy,ctx=instance$1.ctx;shouldCacheAccess=!1,options.beforeCreate&&callHook$1(options.beforeCreate,instance$1,`bc`);let{data:dataOptions,computed:computedOptions,methods,watch:watchOptions,provide:provideOptions,inject:injectOptions,created,beforeMount:beforeMount$1,mounted:mounted$2,beforeUpdate,updated:updated$2,activated,deactivated,beforeDestroy,beforeUnmount:beforeUnmount$1,destroyed,unmounted:unmounted$1,render:render$1,renderTracked,renderTriggered,errorCaptured,serverPrefetch,expose,inheritAttrs,components,directives,filters}=options,checkDuplicateProperties=null;if(injectOptions&&resolveInjections(injectOptions,ctx,null),methods)for(let key in methods){let methodHandler=methods[key];isFunction$1(methodHandler)&&(ctx[key]=methodHandler.bind(publicThis))}if(dataOptions){let data=dataOptions.call(publicThis,publicThis);isObject$1(data)&&(instance$1.data=reactive(data))}if(shouldCacheAccess=!0,computedOptions)for(let key in computedOptions){let opt=computedOptions[key],c=computed({get:isFunction$1(opt)?opt.bind(publicThis,publicThis):isFunction$1(opt.get)?opt.get.bind(publicThis,publicThis):NOOP,set:!isFunction$1(opt)&&isFunction$1(opt.set)?opt.set.bind(publicThis):NOOP});Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>c.value,set:v=>c.value=v})}if(watchOptions)for(let key in watchOptions)createWatcher(watchOptions[key],ctx,publicThis,key);if(provideOptions){let provides=isFunction$1(provideOptions)?provideOptions.call(publicThis):provideOptions;Reflect.ownKeys(provides).forEach(key=>{provide(key,provides[key])})}created&&callHook$1(created,instance$1,`c`);function registerLifecycleHook(register,hook){isArray$2(hook)?hook.forEach(_hook=>register(_hook.bind(publicThis))):hook&®ister(hook.bind(publicThis))}if(registerLifecycleHook(onBeforeMount,beforeMount$1),registerLifecycleHook(onMounted,mounted$2),registerLifecycleHook(onBeforeUpdate,beforeUpdate),registerLifecycleHook(onUpdated,updated$2),registerLifecycleHook(onActivated,activated),registerLifecycleHook(onDeactivated,deactivated),registerLifecycleHook(onErrorCaptured,errorCaptured),registerLifecycleHook(onRenderTracked,renderTracked),registerLifecycleHook(onRenderTriggered,renderTriggered),registerLifecycleHook(onBeforeUnmount,beforeUnmount$1),registerLifecycleHook(onUnmounted,unmounted$1),registerLifecycleHook(onServerPrefetch,serverPrefetch),isArray$2(expose))if(expose.length){let exposed=instance$1.exposed||={};expose.forEach(key=>{Object.defineProperty(exposed,key,{get:()=>publicThis[key],set:val=>publicThis[key]=val,enumerable:!0})})}else instance$1.exposed||={};render$1&&instance$1.render===NOOP&&(instance$1.render=render$1),inheritAttrs!=null&&(instance$1.inheritAttrs=inheritAttrs),components&&(instance$1.components=components),directives&&(instance$1.directives=directives),serverPrefetch&&markAsyncBoundary(instance$1)}function resolveInjections(injectOptions,ctx,checkDuplicateProperties=NOOP){for(let key in isArray$2(injectOptions)&&(injectOptions=normalizeInject(injectOptions)),injectOptions){let opt=injectOptions[key],injected;injected=isObject$1(opt)?`default`in opt?inject(opt.from||key,opt.default,!0):inject(opt.from||key):inject(opt),isRef(injected)?Object.defineProperty(ctx,key,{enumerable:!0,configurable:!0,get:()=>injected.value,set:v=>injected.value=v}):ctx[key]=injected}}function callHook$1(hook,instance$1,type){callWithAsyncErrorHandling(isArray$2(hook)?hook.map(h$1=>h$1.bind(instance$1.proxy)):hook.bind(instance$1.proxy),instance$1,type)}function createWatcher(raw,ctx,publicThis,key){let getter=key.includes(`.`)?createPathGetter(publicThis,key):()=>publicThis[key];if(isString$1(raw)){let handler$1=ctx[raw];isFunction$1(handler$1)&&watch(getter,handler$1)}else if(isFunction$1(raw))watch(getter,raw.bind(publicThis));else if(isObject$1(raw))if(isArray$2(raw))raw.forEach(r=>createWatcher(r,ctx,publicThis,key));else{let handler$1=isFunction$1(raw.handler)?raw.handler.bind(publicThis):ctx[raw.handler];isFunction$1(handler$1)&&watch(getter,handler$1,raw)}}function resolveMergedOptions(instance$1){let base=instance$1.type,{mixins,extends:extendsOptions}=base,{mixins:globalMixins,optionsCache:cache$1,config:{optionMergeStrategies}}=instance$1.appContext,cached=cache$1.get(base),resolved;return cached?resolved=cached:!globalMixins.length&&!mixins&&!extendsOptions?resolved=base:(resolved={},globalMixins.length&&globalMixins.forEach(m=>mergeOptions$1(resolved,m,optionMergeStrategies,!0)),mergeOptions$1(resolved,base,optionMergeStrategies)),isObject$1(base)&&cache$1.set(base,resolved),resolved}function mergeOptions$1(to,from,strats,asMixin=!1){let{mixins,extends:extendsOptions}=from;for(let key in extendsOptions&&mergeOptions$1(to,extendsOptions,strats,!0),mixins&&mixins.forEach(m=>mergeOptions$1(to,m,strats,!0)),from)if(!(asMixin&&key===`expose`)){let strat=internalOptionMergeStrats[key]||strats&&strats[key];to[key]=strat?strat(to[key],from[key]):from[key]}return to}var internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(to,from){return from?to?function(){return extend(isFunction$1(to)?to.call(this,this):to,isFunction$1(from)?from.call(this,this):from)}:from:to}function mergeInject(to,from){return mergeObjectOptions(normalizeInject(to),normalizeInject(from))}function normalizeInject(raw){if(isArray$2(raw)){let res={};for(let i=0;i1)return treatDefaultAsFactory&&isFunction$1(defaultValue)?defaultValue.call(instance$1&&instance$1.proxy):defaultValue}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}var internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=obj=>Object.getPrototypeOf(obj)===internalObjectProto;function initProps(instance$1,rawProps,isStateful,isSSR=!1){let props={},attrs=createInternalObject();for(let key in instance$1.propsDefaults=Object.create(null),setFullProps(instance$1,rawProps,props,attrs),instance$1.propsOptions[0])key in props||(props[key]=void 0);isStateful?instance$1.props=isSSR?props:shallowReactive(props):instance$1.type.props?instance$1.props=props:instance$1.props=attrs,instance$1.attrs=attrs}function updateProps(instance$1,rawProps,rawPrevProps,optimized){let{props,attrs,vnode:{patchFlag}}=instance$1,rawCurrentProps=toRaw(props),[options]=instance$1.propsOptions,hasAttrsChanged=!1;if((optimized||patchFlag>0)&&!(patchFlag&16)){if(patchFlag&8){let propsToUpdate=instance$1.vnode.dynamicProps;for(let i=0;i{hasExtends=!0;let[props,keys]=normalizePropsOptions(raw2,appContext,!0);extend(normalized,props),keys&&needCastKeys.push(...keys)};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendProps),comp.extends&&extendProps(comp.extends),comp.mixins&&comp.mixins.forEach(extendProps)}if(!raw&&!hasExtends)return isObject$1(comp)&&cache$1.set(comp,EMPTY_ARR),EMPTY_ARR;if(isArray$2(raw))for(let i=0;ikey===`_`||key===`_ctx`||key===`$stable`,normalizeSlotValue=value=>isArray$2(value)?value.map(normalizeVNode):[normalizeVNode(value)],normalizeSlot$1=(key,rawSlot,ctx)=>{if(rawSlot._n)return rawSlot;let normalized=withCtx((...args)=>normalizeSlotValue(rawSlot(...args)),ctx);return normalized._c=!1,normalized},normalizeObjectSlots=(rawSlots,slots,instance$1)=>{let ctx=rawSlots._ctx;for(let key in rawSlots){if(isInternalKey(key))continue;let value=rawSlots[key];if(isFunction$1(value))slots[key]=normalizeSlot$1(key,value,ctx);else if(value!=null){let normalized=normalizeSlotValue(value);slots[key]=()=>normalized}}},normalizeVNodeSlots=(instance$1,children)=>{let normalized=normalizeSlotValue(children);instance$1.slots.default=()=>normalized},assignSlots=(slots,children,optimized)=>{for(let key in children)(optimized||!isInternalKey(key))&&(slots[key]=children[key])},initSlots=(instance$1,children,optimized)=>{let slots=instance$1.slots=createInternalObject();if(instance$1.vnode.shapeFlag&32){let type=children._;type?(assignSlots(slots,children,optimized),optimized&&def(slots,`_`,type,!0)):normalizeObjectSlots(children,slots)}else children&&normalizeVNodeSlots(instance$1,children)},updateSlots=(instance$1,children,optimized)=>{let{vnode,slots}=instance$1,needDeletionCheck=!0,deletionComparisonTarget=EMPTY_OBJ;if(vnode.shapeFlag&32){let type=children._;type?optimized&&type===1?needDeletionCheck=!1:assignSlots(slots,children,optimized):(needDeletionCheck=!children.$stable,normalizeObjectSlots(children,slots)),deletionComparisonTarget=children}else children&&(normalizeVNodeSlots(instance$1,children),deletionComparisonTarget={default:1});if(needDeletionCheck)for(let key in slots)!isInternalKey(key)&&deletionComparisonTarget[key]==null&&delete slots[key]};function initFeatureFlags$2(){}var queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(options){return baseCreateRenderer(options)}function createHydrationRenderer(options){return baseCreateRenderer(options,createHydrationFunctions)}function baseCreateRenderer(options,createHydrationFns){let target=getGlobalThis$1();target.__VUE__=!0;let{insert:hostInsert,remove:hostRemove,patchProp:hostPatchProp,createElement:hostCreateElement,createText:hostCreateText,createComment:hostCreateComment,setText:hostSetText,setElementText:hostSetElementText,parentNode:hostParentNode,nextSibling:hostNextSibling,setScopeId:hostSetScopeId=NOOP,insertStaticContent:hostInsertStaticContent}=options,patch=(n1,n2,container,anchor=null,parentComponent=null,parentSuspense=null,namespace=void 0,slotScopeIds=null,optimized=!!n2.dynamicChildren)=>{if(n1===n2)return;n1&&!isSameVNodeType(n1,n2)&&(anchor=getNextHostNode(n1),unmount(n1,parentComponent,parentSuspense,!0),n1=null),n2.patchFlag===-2&&(optimized=!1,n2.dynamicChildren=null);let{type,ref:ref$1,shapeFlag}=n2;switch(type){case Text:processText(n1,n2,container,anchor);break;case Comment:processCommentNode(n1,n2,container,anchor);break;case Static:n1??mountStaticNode(n2,container,anchor,namespace);break;case Fragment:processFragment(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);break;default:shapeFlag&1?processElement(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):shapeFlag&6?processComponent(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):(shapeFlag&64||shapeFlag&128)&&type.process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,internals)}ref$1!=null&&parentComponent?setRef(ref$1,n1&&n1.ref,parentSuspense,n2||n1,!n2):ref$1==null&&n1&&n1.ref!=null&&setRef(n1.ref,null,parentSuspense,n1,!0)},processText=(n1,n2,container,anchor)=>{if(n1==null)hostInsert(n2.el=hostCreateText(n2.children),container,anchor);else{let el=n2.el=n1.el;n2.children!==n1.children&&hostSetText(el,n2.children)}},processCommentNode=(n1,n2,container,anchor)=>{n1==null?hostInsert(n2.el=hostCreateComment(n2.children||``),container,anchor):n2.el=n1.el},mountStaticNode=(n2,container,anchor,namespace)=>{[n2.el,n2.anchor]=hostInsertStaticContent(n2.children,container,anchor,namespace,n2.el,n2.anchor)},moveStaticNode=({el,anchor},container,nextSibling)=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostInsert(el,container,nextSibling),el=next;hostInsert(anchor,container,nextSibling)},removeStaticNode=({el,anchor})=>{let next;for(;el&&el!==anchor;)next=hostNextSibling(el),hostRemove(el),el=next;hostRemove(anchor)},processElement=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.type===`svg`?namespace=`svg`:n2.type===`math`&&(namespace=`mathml`),n1==null?mountElement(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):patchElement(n1,n2,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},mountElement=(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let el,vnodeHook,{props,shapeFlag,transition,dirs}=vnode;if(el=vnode.el=hostCreateElement(vnode.type,namespace,props&&props.is,props),shapeFlag&8?hostSetElementText(el,vnode.children):shapeFlag&16&&mountChildren(vnode.children,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(vnode,namespace),slotScopeIds,optimized),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`created`),setScopeId(el,vnode,vnode.scopeId,slotScopeIds,parentComponent),props){for(let key in props)key!==`value`&&!isReservedProp(key)&&hostPatchProp(el,key,null,props[key],namespace,parentComponent);`value`in props&&hostPatchProp(el,`value`,null,props.value,namespace),(vnodeHook=props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode)}dirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeMount`);let needCallTransitionHooks=needTransition(parentSuspense,transition);needCallTransitionHooks&&transition.beforeEnter(el),hostInsert(el,container,anchor),((vnodeHook=props&&props.onVnodeMounted)||needCallTransitionHooks||dirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),needCallTransitionHooks&&transition.enter(el),dirs&&invokeDirectiveHook(vnode,null,parentComponent,`mounted`)},parentSuspense)},setScopeId=(el,vnode,scopeId,slotScopeIds,parentComponent)=>{if(scopeId&&hostSetScopeId(el,scopeId),slotScopeIds)for(let i=0;i{for(let i=start;i{let el=n2.el=n1.el,{patchFlag,dynamicChildren,dirs}=n2;patchFlag|=n1.patchFlag&16;let oldProps=n1.props||EMPTY_OBJ,newProps=n2.props||EMPTY_OBJ,vnodeHook;if(parentComponent&&toggleRecurse(parentComponent,!1),(vnodeHook=newProps.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`beforeUpdate`),parentComponent&&toggleRecurse(parentComponent,!0),(oldProps.innerHTML&&newProps.innerHTML==null||oldProps.textContent&&newProps.textContent==null)&&hostSetElementText(el,``),dynamicChildren?patchBlockChildren(n1.dynamicChildren,dynamicChildren,el,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds):optimized||patchChildren(n1,n2,el,null,parentComponent,parentSuspense,resolveChildrenNamespace(n2,namespace),slotScopeIds,!1),patchFlag>0){if(patchFlag&16)patchProps(el,oldProps,newProps,parentComponent,namespace);else if(patchFlag&2&&oldProps.class!==newProps.class&&hostPatchProp(el,`class`,null,newProps.class,namespace),patchFlag&4&&hostPatchProp(el,`style`,oldProps.style,newProps.style,namespace),patchFlag&8){let propsToUpdate=n2.dynamicProps;for(let i=0;i{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,n2,n1),dirs&&invokeDirectiveHook(n2,n1,parentComponent,`updated`)},parentSuspense)},patchBlockChildren=(oldChildren,newChildren,fallbackContainer,parentComponent,parentSuspense,namespace,slotScopeIds)=>{for(let i=0;i{if(oldProps!==newProps){if(oldProps!==EMPTY_OBJ)for(let key in oldProps)!isReservedProp(key)&&!(key in newProps)&&hostPatchProp(el,key,oldProps[key],null,namespace,parentComponent);for(let key in newProps){if(isReservedProp(key))continue;let next=newProps[key],prev=oldProps[key];next!==prev&&key!==`value`&&hostPatchProp(el,key,prev,next,namespace,parentComponent)}`value`in newProps&&hostPatchProp(el,`value`,oldProps.value,newProps.value,namespace)}},processFragment=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let fragmentStartAnchor=n2.el=n1?n1.el:hostCreateText(``),fragmentEndAnchor=n2.anchor=n1?n1.anchor:hostCreateText(``),{patchFlag,dynamicChildren,slotScopeIds:fragmentSlotScopeIds}=n2;fragmentSlotScopeIds&&(slotScopeIds=slotScopeIds?slotScopeIds.concat(fragmentSlotScopeIds):fragmentSlotScopeIds),n1==null?(hostInsert(fragmentStartAnchor,container,anchor),hostInsert(fragmentEndAnchor,container,anchor),mountChildren(n2.children||[],container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)):patchFlag>0&&patchFlag&64&&dynamicChildren&&n1.dynamicChildren?(patchBlockChildren(n1.dynamicChildren,dynamicChildren,container,parentComponent,parentSuspense,namespace,slotScopeIds),(n2.key!=null||parentComponent&&n2===parentComponent.subTree)&&traverseStaticChildren(n1,n2,!0)):patchChildren(n1,n2,container,fragmentEndAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)},processComponent=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{n2.slotScopeIds=slotScopeIds,n1==null?n2.shapeFlag&512?parentComponent.ctx.activate(n2,container,anchor,namespace,optimized):mountComponent(n2,container,anchor,parentComponent,parentSuspense,namespace,optimized):updateComponent(n1,n2,optimized)},mountComponent=(initialVNode,container,anchor,parentComponent,parentSuspense,namespace,optimized)=>{let instance$1=initialVNode.component=createComponentInstance(initialVNode,parentComponent,parentSuspense);if(isKeepAlive(initialVNode)&&(instance$1.ctx.renderer=internals),setupComponent(instance$1,!1,optimized),instance$1.asyncDep){if(parentSuspense&&parentSuspense.registerDep(instance$1,setupRenderEffect,optimized),!initialVNode.el){let placeholder=instance$1.subTree=createVNode(Comment);processCommentNode(null,placeholder,container,anchor),initialVNode.placeholder=placeholder.el}}else setupRenderEffect(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)},updateComponent=(n1,n2,optimized)=>{let instance$1=n2.component=n1.component;if(shouldUpdateComponent(n1,n2,optimized))if(instance$1.asyncDep&&!instance$1.asyncResolved){updateComponentPreRender(instance$1,n2,optimized);return}else instance$1.next=n2,instance$1.update();else n2.el=n1.el,instance$1.vnode=n2},setupRenderEffect=(instance$1,initialVNode,container,anchor,parentSuspense,namespace,optimized)=>{let componentUpdateFn=()=>{if(instance$1.isMounted){let{next,bu,u,parent,vnode}=instance$1;{let nonHydratedAsyncRoot=locateNonHydratedAsyncRoot(instance$1);if(nonHydratedAsyncRoot){next&&(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)),nonHydratedAsyncRoot.asyncDep.then(()=>{instance$1.isUnmounted||componentUpdateFn()});return}}let originNext=next,vnodeHook;toggleRecurse(instance$1,!1),next?(next.el=vnode.el,updateComponentPreRender(instance$1,next,optimized)):next=vnode,bu&&invokeArrayFns(bu),(vnodeHook=next.props&&next.props.onVnodeBeforeUpdate)&&invokeVNodeHook(vnodeHook,parent,next,vnode),toggleRecurse(instance$1,!0);let nextTree=renderComponentRoot(instance$1),prevTree=instance$1.subTree;instance$1.subTree=nextTree,patch(prevTree,nextTree,hostParentNode(prevTree.el),getNextHostNode(prevTree),instance$1,parentSuspense,namespace),next.el=nextTree.el,originNext===null&&updateHOCHostEl(instance$1,nextTree.el),u&&queuePostRenderEffect(u,parentSuspense),(vnodeHook=next.props&&next.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,next,vnode),parentSuspense)}else{let vnodeHook,{el,props}=initialVNode,{bm,m,parent,root,type}=instance$1,isAsyncWrapperVNode=isAsyncWrapper(initialVNode);if(toggleRecurse(instance$1,!1),bm&&invokeArrayFns(bm),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeBeforeMount)&&invokeVNodeHook(vnodeHook,parent,initialVNode),toggleRecurse(instance$1,!0),el&&hydrateNode){let hydrateSubTree=()=>{instance$1.subTree=renderComponentRoot(instance$1),hydrateNode(el,instance$1.subTree,instance$1,parentSuspense,null)};isAsyncWrapperVNode&&type.__asyncHydrate?type.__asyncHydrate(el,instance$1,hydrateSubTree):hydrateSubTree()}else{root.ce&&root.ce._def.shadowRoot!==!1&&root.ce._injectChildStyle(type);let subTree=instance$1.subTree=renderComponentRoot(instance$1);patch(null,subTree,container,anchor,instance$1,parentSuspense,namespace),initialVNode.el=subTree.el}if(m&&queuePostRenderEffect(m,parentSuspense),!isAsyncWrapperVNode&&(vnodeHook=props&&props.onVnodeMounted)){let scopedInitialVNode=initialVNode;queuePostRenderEffect(()=>invokeVNodeHook(vnodeHook,parent,scopedInitialVNode),parentSuspense)}(initialVNode.shapeFlag&256||parent&&isAsyncWrapper(parent.vnode)&&parent.vnode.shapeFlag&256)&&instance$1.a&&queuePostRenderEffect(instance$1.a,parentSuspense),instance$1.isMounted=!0,initialVNode=container=anchor=null}};instance$1.scope.on();let effect$1=instance$1.effect=new ReactiveEffect(componentUpdateFn);instance$1.scope.off();let update$6=instance$1.update=effect$1.run.bind(effect$1),job=instance$1.job=effect$1.runIfDirty.bind(effect$1);job.i=instance$1,job.id=instance$1.uid,effect$1.scheduler=()=>queueJob(job),toggleRecurse(instance$1,!0),update$6()},updateComponentPreRender=(instance$1,nextVNode,optimized)=>{nextVNode.component=instance$1;let prevProps=instance$1.vnode.props;instance$1.vnode=nextVNode,instance$1.next=null,updateProps(instance$1,nextVNode.props,prevProps,optimized),updateSlots(instance$1,nextVNode.children,optimized),pauseTracking(),flushPreFlushCbs(instance$1),resetTracking()},patchChildren=(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized=!1)=>{let c1=n1&&n1.children,prevShapeFlag=n1?n1.shapeFlag:0,c2=n2.children,{patchFlag,shapeFlag}=n2;if(patchFlag>0){if(patchFlag&128){patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}else if(patchFlag&256){patchUnkeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);return}}shapeFlag&8?(prevShapeFlag&16&&unmountChildren(c1,parentComponent,parentSuspense),c2!==c1&&hostSetElementText(container,c2)):prevShapeFlag&16?shapeFlag&16?patchKeyedChildren(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized):unmountChildren(c1,parentComponent,parentSuspense,!0):(prevShapeFlag&8&&hostSetElementText(container,``),shapeFlag&16&&mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized))},patchUnkeyedChildren=(c1,c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{c1||=EMPTY_ARR,c2||=EMPTY_ARR;let oldLength=c1.length,newLength=c2.length,commonLength=Math.min(oldLength,newLength),i;for(i=0;inewLength?unmountChildren(c1,parentComponent,parentSuspense,!0,!1,commonLength):mountChildren(c2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,commonLength)},patchKeyedChildren=(c1,c2,container,parentAnchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized)=>{let i=0,l2=c2.length,e1=c1.length-1,e2=l2-1;for(;i<=e1&&i<=e2;){let n1=c1[i],n2=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;i++}for(;i<=e1&&i<=e2;){let n1=c1[e1],n2=c2[e2]=optimized?cloneIfMounted(c2[e2]):normalizeVNode(c2[e2]);if(isSameVNodeType(n1,n2))patch(n1,n2,container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized);else break;e1--,e2--}if(i>e1){if(i<=e2){let nextPos=e2+1,anchor=nextPose2)for(;i<=e1;)unmount(c1[i],parentComponent,parentSuspense,!0),i++;else{let s1=i,s2=i,keyToNewIndexMap=new Map;for(i=s2;i<=e2;i++){let nextChild=c2[i]=optimized?cloneIfMounted(c2[i]):normalizeVNode(c2[i]);nextChild.key!=null&&keyToNewIndexMap.set(nextChild.key,i)}let j,patched=0,toBePatched=e2-s2+1,moved=!1,maxNewIndexSoFar=0,newIndexToOldIndexMap=Array(toBePatched);for(i=0;i=toBePatched){unmount(prevChild,parentComponent,parentSuspense,!0);continue}let newIndex;if(prevChild.key!=null)newIndex=keyToNewIndexMap.get(prevChild.key);else for(j=s2;j<=e2;j++)if(newIndexToOldIndexMap[j-s2]===0&&isSameVNodeType(prevChild,c2[j])){newIndex=j;break}newIndex===void 0?unmount(prevChild,parentComponent,parentSuspense,!0):(newIndexToOldIndexMap[newIndex-s2]=i+1,newIndex>=maxNewIndexSoFar?maxNewIndexSoFar=newIndex:moved=!0,patch(prevChild,c2[newIndex],container,null,parentComponent,parentSuspense,namespace,slotScopeIds,optimized),patched++)}let increasingNewIndexSequence=moved?getSequence(newIndexToOldIndexMap):EMPTY_ARR;for(j=increasingNewIndexSequence.length-1,i=toBePatched-1;i>=0;i--){let nextIndex=s2+i,nextChild=c2[nextIndex],anchorVNode=c2[nextIndex+1],anchor=nextIndex+1{let{el,type,transition,children,shapeFlag}=vnode;if(shapeFlag&6){move(vnode.component.subTree,container,anchor,moveType);return}if(shapeFlag&128){vnode.suspense.move(container,anchor,moveType);return}if(shapeFlag&64){type.move(vnode,container,anchor,internals);return}if(type===Fragment){hostInsert(el,container,anchor);for(let i=0;itransition.enter(el),parentSuspense);else{let{leave,delayLeave,afterLeave}=transition,remove2=()=>{vnode.ctx.isUnmounted?hostRemove(el):hostInsert(el,container,anchor)},performLeave=()=>{el._isLeaving&&el[leaveCbKey](!0),leave(el,()=>{remove2(),afterLeave&&afterLeave()})};delayLeave?delayLeave(el,remove2,performLeave):performLeave()}else hostInsert(el,container,anchor)},unmount=(vnode,parentComponent,parentSuspense,doRemove=!1,optimized=!1)=>{let{type,props,ref:ref$1,children,dynamicChildren,shapeFlag,patchFlag,dirs,cacheIndex}=vnode;if(patchFlag===-2&&(optimized=!1),ref$1!=null&&(pauseTracking(),setRef(ref$1,null,parentSuspense,vnode,!0),resetTracking()),cacheIndex!=null&&(parentComponent.renderCache[cacheIndex]=void 0),shapeFlag&256){parentComponent.ctx.deactivate(vnode);return}let shouldInvokeDirs=shapeFlag&1&&dirs,shouldInvokeVnodeHook=!isAsyncWrapper(vnode),vnodeHook;if(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeBeforeUnmount)&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shapeFlag&6)unmountComponent(vnode.component,parentSuspense,doRemove);else{if(shapeFlag&128){vnode.suspense.unmount(parentSuspense,doRemove);return}shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`beforeUnmount`),shapeFlag&64?vnode.type.remove(vnode,parentComponent,parentSuspense,internals,doRemove):dynamicChildren&&!dynamicChildren.hasOnce&&(type!==Fragment||patchFlag>0&&patchFlag&64)?unmountChildren(dynamicChildren,parentComponent,parentSuspense,!1,!0):(type===Fragment&&patchFlag&384||!optimized&&shapeFlag&16)&&unmountChildren(children,parentComponent,parentSuspense),doRemove&&remove$3(vnode)}(shouldInvokeVnodeHook&&(vnodeHook=props&&props.onVnodeUnmounted)||shouldInvokeDirs)&&queuePostRenderEffect(()=>{vnodeHook&&invokeVNodeHook(vnodeHook,parentComponent,vnode),shouldInvokeDirs&&invokeDirectiveHook(vnode,null,parentComponent,`unmounted`)},parentSuspense)},remove$3=vnode=>{let{type,el,anchor,transition}=vnode;if(type===Fragment){removeFragment(el,anchor);return}if(type===Static){removeStaticNode(vnode);return}let performRemove=()=>{hostRemove(el),transition&&!transition.persisted&&transition.afterLeave&&transition.afterLeave()};if(vnode.shapeFlag&1&&transition&&!transition.persisted){let{leave,delayLeave}=transition,performLeave=()=>leave(el,performRemove);delayLeave?delayLeave(vnode.el,performRemove,performLeave):performLeave()}else performRemove()},removeFragment=(cur,end)=>{let next;for(;cur!==end;)next=hostNextSibling(cur),hostRemove(cur),cur=next;hostRemove(end)},unmountComponent=(instance$1,parentSuspense,doRemove)=>{let{bum,scope:scope$1,job,subTree,um,m,a:a$1}=instance$1;invalidateMount(m),invalidateMount(a$1),bum&&invokeArrayFns(bum),scope$1.stop(),job&&(job.flags|=8,unmount(subTree,instance$1,parentSuspense,doRemove)),um&&queuePostRenderEffect(um,parentSuspense),queuePostRenderEffect(()=>{instance$1.isUnmounted=!0},parentSuspense)},unmountChildren=(children,parentComponent,parentSuspense,doRemove=!1,optimized=!1,start=0)=>{for(let i=start;i{if(vnode.shapeFlag&6)return getNextHostNode(vnode.component.subTree);if(vnode.shapeFlag&128)return vnode.suspense.next();let el=hostNextSibling(vnode.anchor||vnode.el),teleportEnd=el&&el[TeleportEndKey];return teleportEnd?hostNextSibling(teleportEnd):el},isFlushing=!1,render$1=(vnode,container,namespace)=>{vnode==null?container._vnode&&unmount(container._vnode,null,null,!0):patch(container._vnode||null,vnode,container,null,null,null,namespace),container._vnode=vnode,isFlushing||=(isFlushing=!0,flushPreFlushCbs(),flushPostFlushCbs(),!1)},internals={p:patch,um:unmount,m:move,r:remove$3,mt:mountComponent,mc:mountChildren,pc:patchChildren,pbc:patchBlockChildren,n:getNextHostNode,o:options},hydrate$1,hydrateNode;return createHydrationFns&&([hydrate$1,hydrateNode]=createHydrationFns(internals)),{render:render$1,hydrate:hydrate$1,createApp:createAppAPI(render$1,hydrate$1)}}function resolveChildrenNamespace({type,props},currentNamespace){return currentNamespace===`svg`&&type===`foreignObject`||currentNamespace===`mathml`&&type===`annotation-xml`&&props&&props.encoding&&props.encoding.includes(`html`)?void 0:currentNamespace}function toggleRecurse({effect:effect$1,job},allowed){allowed?(effect$1.flags|=32,job.flags|=4):(effect$1.flags&=-33,job.flags&=-5)}function needTransition(parentSuspense,transition){return(!parentSuspense||parentSuspense&&!parentSuspense.pendingBranch)&&transition&&!transition.persisted}function traverseStaticChildren(n1,n2,shallow=!1){let ch1=n1.children,ch2=n2.children;if(isArray$2(ch1)&&isArray$2(ch2))for(let i=0;i>1,arr[result[c]]0&&(p$1[i]=result[u-1]),result[u]=i)}}for(u=result.length,v=result[u-1];u-- >0;)result[u]=v,v=p$1[v];return result}function locateNonHydratedAsyncRoot(instance$1){let subComponent=instance$1.subTree.component;if(subComponent)return subComponent.asyncDep&&!subComponent.asyncResolved?subComponent:locateNonHydratedAsyncRoot(subComponent)}function invalidateMount(hooks){if(hooks)for(let i=0;iinject(ssrContextKey);function watchEffect(effect$1,options){return doWatch(effect$1,null,options)}function watchPostEffect(effect$1,options){return doWatch(effect$1,null,{flush:`post`})}function watchSyncEffect(effect$1,options){return doWatch(effect$1,null,{flush:`sync`})}function watch(source,cb,options){return doWatch(source,cb,options)}function doWatch(source,cb,options=EMPTY_OBJ){let{immediate,deep,flush,once}=options,baseWatchOptions=extend({},options),runsImmediately=cb&&immediate||!cb&&flush!==`post`,ssrCleanup;if(isInSSRComponentSetup){if(flush===`sync`){let ctx=useSSRContext();ssrCleanup=ctx.__watcherHandles||=[]}else if(!runsImmediately){let watchStopHandle=()=>{};return watchStopHandle.stop=NOOP,watchStopHandle.resume=NOOP,watchStopHandle.pause=NOOP,watchStopHandle}}let instance$1=currentInstance;baseWatchOptions.call=(fn,type,args)=>callWithAsyncErrorHandling(fn,instance$1,type,args);let isPre=!1;flush===`post`?baseWatchOptions.scheduler=job=>{queuePostRenderEffect(job,instance$1&&instance$1.suspense)}:flush!==`sync`&&(isPre=!0,baseWatchOptions.scheduler=(job,isFirstRun)=>{isFirstRun?job():queueJob(job)}),baseWatchOptions.augmentJob=job=>{cb&&(job.flags|=4),isPre&&(job.flags|=2,instance$1&&(job.id=instance$1.uid,job.i=instance$1))};let watchHandle=watch$1(source,cb,baseWatchOptions);return isInSSRComponentSetup&&(ssrCleanup?ssrCleanup.push(watchHandle):runsImmediately&&watchHandle()),watchHandle}function instanceWatch(source,value,options){let publicThis=this.proxy,getter=isString$1(source)?source.includes(`.`)?createPathGetter(publicThis,source):()=>publicThis[source]:source.bind(publicThis,publicThis),cb;isFunction$1(value)?cb=value:(cb=value.handler,options=value);let reset$1=setCurrentInstance(this),res=doWatch(getter,cb.bind(publicThis),options);return reset$1(),res}function createPathGetter(ctx,path){let segments=path.split(`.`);return()=>{let cur=ctx;for(let i=0;i{let localValue,prevSetValue=EMPTY_OBJ,prevEmittedValue;return watchSyncEffect(()=>{let propValue=props[camelizedName];hasChanged(localValue,propValue)&&(localValue=propValue,trigger$2())}),{get(){return track$1(),options.get?options.get(localValue):localValue},set(value){let emittedValue=options.set?options.set(value):value;if(!hasChanged(emittedValue,localValue)&&!(prevSetValue!==EMPTY_OBJ&&hasChanged(value,prevSetValue)))return;let rawProps=i.vnode.props;rawProps&&(name in rawProps||camelizedName in rawProps||hyphenatedName in rawProps)&&(`onUpdate:${name}`in rawProps||`onUpdate:${camelizedName}`in rawProps||`onUpdate:${hyphenatedName}`in rawProps)||(localValue=value,trigger$2()),i.emit(`update:${name}`,emittedValue),hasChanged(value,emittedValue)&&hasChanged(value,prevSetValue)&&!hasChanged(emittedValue,prevEmittedValue)&&trigger$2(),prevSetValue=value,prevEmittedValue=emittedValue}}});return res[Symbol.iterator]=()=>{let i2=0;return{next(){return i2<2?{value:i2++?modifiers||EMPTY_OBJ:res,done:!1}:{done:!0}}}},res}var getModelModifiers=(props,modelName)=>modelName===`modelValue`||modelName===`model-value`?props.modelModifiers:props[`${modelName}Modifiers`]||props[`${camelize(modelName)}Modifiers`]||props[`${hyphenate(modelName)}Modifiers`];function emit(instance$1,event,...rawArgs){if(instance$1.isUnmounted)return;let props=instance$1.vnode.props||EMPTY_OBJ,args=rawArgs,isModelListener$1=event.startsWith(`update:`),modifiers=isModelListener$1&&getModelModifiers(props,event.slice(7));modifiers&&(modifiers.trim&&(args=rawArgs.map(a$1=>isString$1(a$1)?a$1.trim():a$1)),modifiers.number&&(args=rawArgs.map(looseToNumber)));let handlerName,handler$1=props[handlerName=toHandlerKey(event)]||props[handlerName=toHandlerKey(camelize(event))];!handler$1&&isModelListener$1&&(handler$1=props[handlerName=toHandlerKey(hyphenate(event))]),handler$1&&callWithAsyncErrorHandling(handler$1,instance$1,6,args);let onceHandler=props[handlerName+`Once`];if(onceHandler){if(!instance$1.emitted)instance$1.emitted={};else if(instance$1.emitted[handlerName])return;instance$1.emitted[handlerName]=!0,callWithAsyncErrorHandling(onceHandler,instance$1,6,args)}}var mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(comp,appContext,asMixin=!1){let cache$1=asMixin?mixinEmitsCache:appContext.emitsCache,cached=cache$1.get(comp);if(cached!==void 0)return cached;let raw=comp.emits,normalized={},hasExtends=!1;if(!isFunction$1(comp)){let extendEmits=raw2=>{let normalizedFromExtend=normalizeEmitsOptions(raw2,appContext,!0);normalizedFromExtend&&(hasExtends=!0,extend(normalized,normalizedFromExtend))};!asMixin&&appContext.mixins.length&&appContext.mixins.forEach(extendEmits),comp.extends&&extendEmits(comp.extends),comp.mixins&&comp.mixins.forEach(extendEmits)}return!raw&&!hasExtends?(isObject$1(comp)&&cache$1.set(comp,null),null):(isArray$2(raw)?raw.forEach(key=>normalized[key]=null):extend(normalized,raw),isObject$1(comp)&&cache$1.set(comp,normalized),normalized)}function isEmitListener(options,key){return!options||!isOn(key)?!1:(key=key.slice(2).replace(/Once$/,``),hasOwn$1(options,key[0].toLowerCase()+key.slice(1))||hasOwn$1(options,hyphenate(key))||hasOwn$1(options,key))}function renderComponentRoot(instance$1){let{type:Component,vnode,proxy,withProxy,propsOptions:[propsOptions],slots,attrs,emit:emit$1,render:render$1,renderCache,props,data,setupState,ctx,inheritAttrs}=instance$1,prev=setCurrentRenderingInstance(instance$1),result,fallthroughAttrs;try{if(vnode.shapeFlag&4){let proxyToUse=withProxy||proxy,thisProxy=proxyToUse;result=normalizeVNode(render$1.call(thisProxy,proxyToUse,renderCache,props,setupState,data,ctx)),fallthroughAttrs=attrs}else{let render2=Component;result=normalizeVNode(render2.length>1?render2(props,{attrs,slots,emit:emit$1}):render2(props,null)),fallthroughAttrs=Component.props?attrs:getFunctionalFallthrough(attrs)}}catch(err){blockStack.length=0,handleError(err,instance$1,1),result=createVNode(Comment)}let root=result;if(fallthroughAttrs&&inheritAttrs!==!1){let keys=Object.keys(fallthroughAttrs),{shapeFlag}=root;keys.length&&shapeFlag&7&&(propsOptions&&keys.some(isModelListener)&&(fallthroughAttrs=filterModelListeners(fallthroughAttrs,propsOptions)),root=cloneVNode(root,fallthroughAttrs,!1,!0))}return vnode.dirs&&(root=cloneVNode(root,null,!1,!0),root.dirs=root.dirs?root.dirs.concat(vnode.dirs):vnode.dirs),vnode.transition&&setTransitionHooks(root,vnode.transition),result=root,setCurrentRenderingInstance(prev),result}function filterSingleRoot(children,recurse=!0){let singleRoot;for(let i=0;i{let res;for(let key in attrs)(key===`class`||key===`style`||isOn(key))&&((res||={})[key]=attrs[key]);return res},filterModelListeners=(attrs,props)=>{let res={};for(let key in attrs)(!isModelListener(key)||!(key.slice(9)in props))&&(res[key]=attrs[key]);return res};function shouldUpdateComponent(prevVNode,nextVNode,optimized){let{props:prevProps,children:prevChildren,component}=prevVNode,{props:nextProps,children:nextChildren,patchFlag}=nextVNode,emits=component.emitsOptions;if(nextVNode.dirs||nextVNode.transition)return!0;if(optimized&&patchFlag>=0){if(patchFlag&1024)return!0;if(patchFlag&16)return prevProps?hasPropsChanged(prevProps,nextProps,emits):!!nextProps;if(patchFlag&8){let dynamicProps=nextVNode.dynamicProps;for(let i=0;itype.__isSuspense,suspenseId=0,Suspense={name:`Suspense`,__isSuspense:!0,process(n1,n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){if(n1==null)mountSuspense(n2,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals);else{if(parentSuspense&&parentSuspense.deps>0&&!n1.suspense.isInFallback){n2.suspense=n1.suspense,n2.suspense.vnode=n2,n2.el=n1.el;return}patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,rendererInternals)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren};function triggerEvent(vnode,name){let eventListener=vnode.props&&vnode.props[name];isFunction$1(eventListener)&&eventListener()}function mountSuspense(vnode,container,anchor,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals){let{p:patch,o:{createElement}}=rendererInternals,hiddenContainer=createElement(`div`),suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals);patch(null,suspense.pendingBranch=vnode.ssContent,hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds),suspense.deps>0?(triggerEvent(vnode,`onPending`),triggerEvent(vnode,`onFallback`),patch(null,vnode.ssFallback,container,anchor,parentComponent,null,namespace,slotScopeIds),setActiveBranch(suspense,vnode.ssFallback)):suspense.resolve(!1,!0)}function patchSuspense(n1,n2,container,anchor,parentComponent,namespace,slotScopeIds,optimized,{p:patch,um:unmount,o:{createElement}}){let suspense=n2.suspense=n1.suspense;suspense.vnode=n2,n2.el=n1.el;let newBranch=n2.ssContent,newFallback=n2.ssFallback,{activeBranch,pendingBranch,isInFallback,isHydrating}=suspense;if(pendingBranch)suspense.pendingBranch=newBranch,isSameVNodeType(pendingBranch,newBranch)?(patch(pendingBranch,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():isInFallback&&(isHydrating||(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback)))):(suspense.pendingId=suspenseId++,isHydrating?(suspense.isHydrating=!1,suspense.activeBranch=pendingBranch):unmount(pendingBranch,parentComponent,suspense),suspense.deps=0,suspense.effects.length=0,suspense.hiddenContainer=createElement(`div`),isInFallback?(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0?suspense.resolve():(patch(activeBranch,newFallback,container,anchor,parentComponent,null,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newFallback))):activeBranch&&isSameVNodeType(activeBranch,newBranch)?(patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.resolve(!0)):(patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0&&suspense.resolve()));else if(activeBranch&&isSameVNodeType(activeBranch,newBranch))patch(activeBranch,newBranch,container,anchor,parentComponent,suspense,namespace,slotScopeIds,optimized),setActiveBranch(suspense,newBranch);else if(triggerEvent(n2,`onPending`),suspense.pendingBranch=newBranch,newBranch.shapeFlag&512?suspense.pendingId=newBranch.component.suspenseId:suspense.pendingId=suspenseId++,patch(null,newBranch,suspense.hiddenContainer,null,parentComponent,suspense,namespace,slotScopeIds,optimized),suspense.deps<=0)suspense.resolve();else{let{timeout,pendingId}=suspense;timeout>0?setTimeout(()=>{suspense.pendingId===pendingId&&suspense.fallback(newFallback)},timeout):timeout===0&&suspense.fallback(newFallback)}}function createSuspenseBoundary(vnode,parentSuspense,parentComponent,container,hiddenContainer,anchor,namespace,slotScopeIds,optimized,rendererInternals,isHydrating=!1){let{p:patch,m:move,um:unmount,n:next,o:{parentNode,remove:remove$3}}=rendererInternals,parentSuspenseId,isSuspensible=isVNodeSuspensible(vnode);isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&(parentSuspenseId=parentSuspense.pendingId,parentSuspense.deps++);let timeout=vnode.props?toNumber(vnode.props.timeout):void 0,initialAnchor=anchor,suspense={vnode,parent:parentSuspense,parentComponent,namespace,container,hiddenContainer,deps:0,pendingId:suspenseId++,timeout:typeof timeout==`number`?timeout:-1,activeBranch:null,pendingBranch:null,isInFallback:!isHydrating,isHydrating,isUnmounted:!1,effects:[],resolve(resume=!1,sync=!1){let{vnode:vnode2,activeBranch,pendingBranch,pendingId,effects,parentComponent:parentComponent2,container:container2}=suspense,delayEnter=!1;suspense.isHydrating?suspense.isHydrating=!1:resume||(delayEnter=activeBranch&&pendingBranch.transition&&pendingBranch.transition.mode===`out-in`,delayEnter&&(activeBranch.transition.afterLeave=()=>{pendingId===suspense.pendingId&&(move(pendingBranch,container2,anchor===initialAnchor?next(activeBranch):anchor,0),queuePostFlushCb(effects))}),activeBranch&&(parentNode(activeBranch.el)===container2&&(anchor=next(activeBranch)),unmount(activeBranch,parentComponent2,suspense,!0)),delayEnter||move(pendingBranch,container2,anchor,0)),setActiveBranch(suspense,pendingBranch),suspense.pendingBranch=null,suspense.isInFallback=!1;let parent=suspense.parent,hasUnresolvedAncestor=!1;for(;parent;){if(parent.pendingBranch){parent.effects.push(...effects),hasUnresolvedAncestor=!0;break}parent=parent.parent}!hasUnresolvedAncestor&&!delayEnter&&queuePostFlushCb(effects),suspense.effects=[],isSuspensible&&parentSuspense&&parentSuspense.pendingBranch&&parentSuspenseId===parentSuspense.pendingId&&(parentSuspense.deps--,parentSuspense.deps===0&&!sync&&parentSuspense.resolve()),triggerEvent(vnode2,`onResolve`)},fallback(fallbackVNode){if(!suspense.pendingBranch)return;let{vnode:vnode2,activeBranch,parentComponent:parentComponent2,container:container2,namespace:namespace2}=suspense;triggerEvent(vnode2,`onFallback`);let anchor2=next(activeBranch),mountFallback=()=>{suspense.isInFallback&&(patch(null,fallbackVNode,container2,anchor2,parentComponent2,null,namespace2,slotScopeIds,optimized),setActiveBranch(suspense,fallbackVNode))},delayEnter=fallbackVNode.transition&&fallbackVNode.transition.mode===`out-in`;delayEnter&&(activeBranch.transition.afterLeave=mountFallback),suspense.isInFallback=!0,unmount(activeBranch,parentComponent2,null,!0),delayEnter||mountFallback()},move(container2,anchor2,type){suspense.activeBranch&&move(suspense.activeBranch,container2,anchor2,type),suspense.container=container2},next(){return suspense.activeBranch&&next(suspense.activeBranch)},registerDep(instance$1,setupRenderEffect,optimized2){let isInPendingSuspense=!!suspense.pendingBranch;isInPendingSuspense&&suspense.deps++;let hydratedEl=instance$1.vnode.el;instance$1.asyncDep.catch(err=>{handleError(err,instance$1,0)}).then(asyncSetupResult=>{if(instance$1.isUnmounted||suspense.isUnmounted||suspense.pendingId!==instance$1.suspenseId)return;instance$1.asyncResolved=!0;let{vnode:vnode2}=instance$1;handleSetupResult(instance$1,asyncSetupResult,!1),hydratedEl&&(vnode2.el=hydratedEl);let placeholder=!hydratedEl&&instance$1.subTree.el;setupRenderEffect(instance$1,vnode2,parentNode(hydratedEl||instance$1.subTree.el),hydratedEl?null:next(instance$1.subTree),suspense,namespace,optimized2),placeholder&&remove$3(placeholder),updateHOCHostEl(instance$1,vnode2.el),isInPendingSuspense&&--suspense.deps===0&&suspense.resolve()})},unmount(parentSuspense2,doRemove){suspense.isUnmounted=!0,suspense.activeBranch&&unmount(suspense.activeBranch,parentComponent,parentSuspense2,doRemove),suspense.pendingBranch&&unmount(suspense.pendingBranch,parentComponent,parentSuspense2,doRemove)}};return suspense}function hydrateSuspense(node,vnode,parentComponent,parentSuspense,namespace,slotScopeIds,optimized,rendererInternals,hydrateNode){let suspense=vnode.suspense=createSuspenseBoundary(vnode,parentSuspense,parentComponent,node.parentNode,document.createElement(`div`),null,namespace,slotScopeIds,optimized,rendererInternals,!0),result=hydrateNode(node,suspense.pendingBranch=vnode.ssContent,parentComponent,suspense,slotScopeIds,optimized);return suspense.deps===0&&suspense.resolve(!1,!0),result}function normalizeSuspenseChildren(vnode){let{shapeFlag,children}=vnode,isSlotChildren=shapeFlag&32;vnode.ssContent=normalizeSuspenseSlot(isSlotChildren?children.default:children),vnode.ssFallback=isSlotChildren?normalizeSuspenseSlot(children.fallback):createVNode(Comment)}function normalizeSuspenseSlot(s){let block;if(isFunction$1(s)){let trackBlock=isBlockTreeEnabled&&s._c;trackBlock&&(s._d=!1,openBlock()),s=s(),trackBlock&&(s._d=!0,block=currentBlock,closeBlock())}return isArray$2(s)&&(s=filterSingleRoot(s)),s=normalizeVNode(s),block&&!s.dynamicChildren&&(s.dynamicChildren=block.filter(c=>c!==s)),s}function queueEffectWithSuspense(fn,suspense){suspense&&suspense.pendingBranch?isArray$2(fn)?suspense.effects.push(...fn):suspense.effects.push(fn):queuePostFlushCb(fn)}function setActiveBranch(suspense,branch){suspense.activeBranch=branch;let{vnode,parentComponent}=suspense,el=branch.el;for(;!el&&branch.component;)branch=branch.component.subTree,el=branch.el;vnode.el=el,parentComponent&&parentComponent.subTree===vnode&&(parentComponent.vnode.el=el,updateHOCHostEl(parentComponent,el))}function isVNodeSuspensible(vnode){let suspensible=vnode.props&&vnode.props.suspensible;return suspensible!=null&&suspensible!==!1}var Fragment=Symbol.for(`v-fgt`),Text=Symbol.for(`v-txt`),Comment=Symbol.for(`v-cmt`),Static=Symbol.for(`v-stc`),blockStack=[],currentBlock=null;function openBlock(disableTracking=!1){blockStack.push(currentBlock=disableTracking?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}var isBlockTreeEnabled=1;function setBlockTracking(value,inVOnce=!1){isBlockTreeEnabled+=value,value<0&¤tBlock&&inVOnce&&(currentBlock.hasOnce=!0)}function setupBlock(vnode){return vnode.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(vnode),vnode}function createElementBlock(type,props,children,patchFlag,dynamicProps,shapeFlag){return setupBlock(createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,!0))}function createBlock(type,props,children,patchFlag,dynamicProps){return setupBlock(createVNode(type,props,children,patchFlag,dynamicProps,!0))}function isVNode(value){return value?value.__v_isVNode===!0:!1}function isSameVNodeType(n1,n2){return n1.type===n2.type&&n1.key===n2.key}function transformVNodeArgs(transformer){}var normalizeKey=({key})=>key??null,normalizeRef=({ref:ref$1,ref_key,ref_for})=>(typeof ref$1==`number`&&(ref$1=``+ref$1),ref$1==null?null:isString$1(ref$1)||isRef(ref$1)||isFunction$1(ref$1)?{i:currentRenderingInstance,r:ref$1,k:ref_key,f:!!ref_for}:ref$1);function createBaseVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,shapeFlag=type===Fragment?0:1,isBlockNode=!1,needFullChildrenNormalization=!1){let vnode={__v_isVNode:!0,__v_skip:!0,type,props,key:props&&normalizeKey(props),ref:props&&normalizeRef(props),scopeId:currentScopeId,slotScopeIds:null,children,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag,patchFlag,dynamicProps,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return needFullChildrenNormalization?(normalizeChildren(vnode,children),shapeFlag&128&&type.normalize(vnode)):children&&(vnode.shapeFlag|=isString$1(children)?8:16),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(vnode.patchFlag>0||shapeFlag&6)&&vnode.patchFlag!==32&¤tBlock.push(vnode),vnode}var createVNode=_createVNode;function _createVNode(type,props=null,children=null,patchFlag=0,dynamicProps=null,isBlockNode=!1){if((!type||type===NULL_DYNAMIC_COMPONENT)&&(type=Comment),isVNode(type)){let cloned=cloneVNode(type,props,!0);return children&&normalizeChildren(cloned,children),isBlockTreeEnabled>0&&!isBlockNode&¤tBlock&&(cloned.shapeFlag&6?currentBlock[currentBlock.indexOf(type)]=cloned:currentBlock.push(cloned)),cloned.patchFlag=-2,cloned}if(isClassComponent(type)&&(type=type.__vccOpts),props){props=guardReactiveProps(props);let{class:klass,style}=props;klass&&!isString$1(klass)&&(props.class=normalizeClass(klass)),isObject$1(style)&&(isProxy(style)&&!isArray$2(style)&&(style=extend({},style)),props.style=normalizeStyle(style))}let shapeFlag=isString$1(type)?1:isSuspense(type)?128:isTeleport(type)?64:isObject$1(type)?4:isFunction$1(type)?2:0;return createBaseVNode(type,props,children,patchFlag,dynamicProps,shapeFlag,isBlockNode,!0)}function guardReactiveProps(props){return props?isProxy(props)||isInternalObject(props)?extend({},props):props:null}function cloneVNode(vnode,extraProps,mergeRef=!1,cloneTransition=!1){let{props,ref:ref$1,patchFlag,children,transition}=vnode,mergedProps=extraProps?mergeProps(props||{},extraProps):props,cloned={__v_isVNode:!0,__v_skip:!0,type:vnode.type,props:mergedProps,key:mergedProps&&normalizeKey(mergedProps),ref:extraProps&&extraProps.ref?mergeRef&&ref$1?isArray$2(ref$1)?ref$1.concat(normalizeRef(extraProps)):[ref$1,normalizeRef(extraProps)]:normalizeRef(extraProps):ref$1,scopeId:vnode.scopeId,slotScopeIds:vnode.slotScopeIds,children,target:vnode.target,targetStart:vnode.targetStart,targetAnchor:vnode.targetAnchor,staticCount:vnode.staticCount,shapeFlag:vnode.shapeFlag,patchFlag:extraProps&&vnode.type!==Fragment?patchFlag===-1?16:patchFlag|16:patchFlag,dynamicProps:vnode.dynamicProps,dynamicChildren:vnode.dynamicChildren,appContext:vnode.appContext,dirs:vnode.dirs,transition,component:vnode.component,suspense:vnode.suspense,ssContent:vnode.ssContent&&cloneVNode(vnode.ssContent),ssFallback:vnode.ssFallback&&cloneVNode(vnode.ssFallback),placeholder:vnode.placeholder,el:vnode.el,anchor:vnode.anchor,ctx:vnode.ctx,ce:vnode.ce};return transition&&cloneTransition&&setTransitionHooks(cloned,transition.clone(cloned)),cloned}function createTextVNode(text=` `,flag=0){return createVNode(Text,null,text,flag)}function createStaticVNode(content,numberOfNodes){let vnode=createVNode(Static,null,content);return vnode.staticCount=numberOfNodes,vnode}function createCommentVNode(text=``,asBlock=!1){return asBlock?(openBlock(),createBlock(Comment,null,text)):createVNode(Comment,null,text)}function normalizeVNode(child){return child==null||typeof child==`boolean`?createVNode(Comment):isArray$2(child)?createVNode(Fragment,null,child.slice()):isVNode(child)?cloneIfMounted(child):createVNode(Text,null,String(child))}function cloneIfMounted(child){return child.el===null&&child.patchFlag!==-1||child.memo?child:cloneVNode(child)}function normalizeChildren(vnode,children){let type=0,{shapeFlag}=vnode;if(children==null)children=null;else if(isArray$2(children))type=16;else if(typeof children==`object`)if(shapeFlag&65){let slot=children.default;slot&&(slot._c&&(slot._d=!1),normalizeChildren(vnode,slot()),slot._c&&(slot._d=!0));return}else{type=32;let slotFlag=children._;!slotFlag&&!isInternalObject(children)?children._ctx=currentRenderingInstance:slotFlag===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?children._=1:(children._=2,vnode.patchFlag|=1024))}else isFunction$1(children)?(children={default:children,_ctx:currentRenderingInstance},type=32):(children=String(children),shapeFlag&64?(type=16,children=[createTextVNode(children)]):type=8);vnode.children=children,vnode.shapeFlag|=type}function mergeProps(...args){let ret={};for(let i=0;icurrentInstance||currentRenderingInstance,internalSetCurrentInstance,setInSSRSetupState;{let g=getGlobalThis$1(),registerGlobalSetter=(key,setter)=>{let setters;return(setters=g[key])||(setters=g[key]=[]),setters.push(setter),v=>{setters.length>1?setters.forEach(set=>set(v)):setters[0](v)}};internalSetCurrentInstance=registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`,v=>currentInstance=v),setInSSRSetupState=registerGlobalSetter(`__VUE_SSR_SETTERS__`,v=>isInSSRComponentSetup=v)}var setCurrentInstance=instance$1=>{let prev=currentInstance;return internalSetCurrentInstance(instance$1),instance$1.scope.on(),()=>{instance$1.scope.off(),internalSetCurrentInstance(prev)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(instance$1){return instance$1.vnode.shapeFlag&4}var isInSSRComponentSetup=!1;function setupComponent(instance$1,isSSR=!1,optimized=!1){isSSR&&setInSSRSetupState(isSSR);let{props,children}=instance$1.vnode,isStateful=isStatefulComponent(instance$1);initProps(instance$1,props,isStateful,isSSR),initSlots(instance$1,children,optimized||isSSR);let setupResult=isStateful?setupStatefulComponent(instance$1,isSSR):void 0;return isSSR&&setInSSRSetupState(!1),setupResult}function setupStatefulComponent(instance$1,isSSR){let Component=instance$1.type;instance$1.accessCache=Object.create(null),instance$1.proxy=new Proxy(instance$1.ctx,PublicInstanceProxyHandlers);let{setup:setup$3}=Component;if(setup$3){pauseTracking();let setupContext=instance$1.setupContext=setup$3.length>1?createSetupContext(instance$1):null,reset$1=setCurrentInstance(instance$1),setupResult=callWithErrorHandling(setup$3,instance$1,0,[instance$1.props,setupContext]),isAsyncSetup=isPromise$1(setupResult);if(resetTracking(),reset$1(),(isAsyncSetup||instance$1.sp)&&!isAsyncWrapper(instance$1)&&markAsyncBoundary(instance$1),isAsyncSetup){if(setupResult.then(unsetCurrentInstance,unsetCurrentInstance),isSSR)return setupResult.then(resolvedResult=>{handleSetupResult(instance$1,resolvedResult,isSSR)}).catch(e=>{handleError(e,instance$1,0)});instance$1.asyncDep=setupResult}else handleSetupResult(instance$1,setupResult,isSSR)}else finishComponentSetup(instance$1,isSSR)}function handleSetupResult(instance$1,setupResult,isSSR){isFunction$1(setupResult)?instance$1.type.__ssrInlineRender?instance$1.ssrRender=setupResult:instance$1.render=setupResult:isObject$1(setupResult)&&(instance$1.setupState=proxyRefs(setupResult)),finishComponentSetup(instance$1,isSSR)}var compile$2,installWithProxy;function registerRuntimeCompiler(_compile){compile$2=_compile,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}var isRuntimeOnly=()=>!compile$2;function finishComponentSetup(instance$1,isSSR,skipOptions){let Component=instance$1.type;if(!instance$1.render){if(!isSSR&&compile$2&&!Component.render){let template=Component.template||resolveMergedOptions(instance$1).template;if(template){let{isCustomElement,compilerOptions}=instance$1.appContext.config,{delimiters,compilerOptions:componentCompilerOptions}=Component,finalCompilerOptions=extend(extend({isCustomElement,delimiters},compilerOptions),componentCompilerOptions);Component.render=compile$2(template,finalCompilerOptions)}}instance$1.render=Component.render||NOOP,installWithProxy&&installWithProxy(instance$1)}{let reset$1=setCurrentInstance(instance$1);pauseTracking();try{applyOptions$1(instance$1)}finally{resetTracking(),reset$1()}}}var attrsProxyHandlers={get(target,key){return track(target,`get`,``),target[key]}};function createSetupContext(instance$1){return{attrs:new Proxy(instance$1.attrs,attrsProxyHandlers),slots:instance$1.slots,emit:instance$1.emit,expose:exposed=>{instance$1.exposed=exposed||{}}}}function getComponentPublicInstance(instance$1){return instance$1.exposed?instance$1.exposeProxy||=new Proxy(proxyRefs(markRaw(instance$1.exposed)),{get(target,key){if(key in target)return target[key];if(key in publicPropertiesMap)return publicPropertiesMap[key](instance$1)},has(target,key){return key in target||key in publicPropertiesMap}}):instance$1.proxy}function getComponentName(Component,includeInferred=!0){return isFunction$1(Component)?Component.displayName||Component.name:Component.name||includeInferred&&Component.__name}function isClassComponent(value){return isFunction$1(value)&&`__vccOpts`in value}var computed=(getterOrOptions,debugOptions)=>computed$1(getterOrOptions,debugOptions,isInSSRComponentSetup);function h(type,propsOrChildren,children){try{setBlockTracking(-1);let l=arguments.length;return l===2?isObject$1(propsOrChildren)&&!isArray$2(propsOrChildren)?isVNode(propsOrChildren)?createVNode(type,null,[propsOrChildren]):createVNode(type,propsOrChildren):createVNode(type,null,propsOrChildren):(l>3?children=Array.prototype.slice.call(arguments,2):l===3&&isVNode(children)&&(children=[children]),createVNode(type,propsOrChildren,children))}finally{setBlockTracking(1)}}function initCustomFormatter(){return;function isKeyOfType(Comp,key,type){let opts=Comp[type];if(isArray$2(opts)&&opts.includes(key)||isObject$1(opts)&&key in opts||Comp.extends&&isKeyOfType(Comp.extends,key,type)||Comp.mixins&&Comp.mixins.some(m=>isKeyOfType(m,key,type)))return!0}}function withMemo(memo,render$1,cache$1,index){let cached=cache$1[index];if(cached&&isMemoSame(cached,memo))return cached;let ret=render$1();return ret.memo=memo.slice(),ret.cacheIndex=index,cache$1[index]=ret}function isMemoSame(cached,memo){let prev=cached.memo;if(prev.length!=memo.length)return!1;for(let i=0;i0&¤tBlock&¤tBlock.push(cached),!0}var version$1=`3.5.22`,warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},resolveFilter=null,compatUtils=null,DeprecationTypes=null,runtime_dom_esm_bundler_exports=__export({BaseTransition:()=>BaseTransition,BaseTransitionPropsValidators:()=>BaseTransitionPropsValidators,Comment:()=>Comment,DeprecationTypes:()=>null,EffectScope:()=>EffectScope,ErrorCodes:()=>ErrorCodes,ErrorTypeStrings:()=>ErrorTypeStrings,Fragment:()=>Fragment,KeepAlive:()=>KeepAlive,ReactiveEffect:()=>ReactiveEffect,Static:()=>Static,Suspense:()=>Suspense,Teleport:()=>Teleport,Text:()=>Text,TrackOpTypes:()=>TrackOpTypes,Transition:()=>Transition,TransitionGroup:()=>TransitionGroup,TriggerOpTypes:()=>TriggerOpTypes,VueElement:()=>VueElement,assertNumber:()=>assertNumber,callWithAsyncErrorHandling:()=>callWithAsyncErrorHandling,callWithErrorHandling:()=>callWithErrorHandling,camelize:()=>camelize,capitalize:()=>capitalize$1,cloneVNode:()=>cloneVNode,compatUtils:()=>null,computed:()=>computed,createApp:()=>createApp,createBlock:()=>createBlock,createCommentVNode:()=>createCommentVNode,createElementBlock:()=>createElementBlock,createElementVNode:()=>createBaseVNode,createHydrationRenderer:()=>createHydrationRenderer,createPropsRestProxy:()=>createPropsRestProxy,createRenderer:()=>createRenderer,createSSRApp:()=>createSSRApp,createSlots:()=>createSlots,createStaticVNode:()=>createStaticVNode,createTextVNode:()=>createTextVNode,createVNode:()=>createVNode,customRef:()=>customRef,defineAsyncComponent:()=>defineAsyncComponent,defineComponent:()=>defineComponent,defineCustomElement:()=>defineCustomElement,defineEmits:()=>defineEmits,defineExpose:()=>defineExpose,defineModel:()=>defineModel,defineOptions:()=>defineOptions,defineProps:()=>defineProps,defineSSRCustomElement:()=>defineSSRCustomElement,defineSlots:()=>defineSlots,devtools:()=>devtools$2,effect:()=>effect,effectScope:()=>effectScope,getCurrentInstance:()=>getCurrentInstance,getCurrentScope:()=>getCurrentScope,getCurrentWatcher:()=>getCurrentWatcher,getTransitionRawChildren:()=>getTransitionRawChildren,guardReactiveProps:()=>guardReactiveProps,h:()=>h,handleError:()=>handleError,hasInjectionContext:()=>hasInjectionContext,hydrate:()=>hydrate,hydrateOnIdle:()=>hydrateOnIdle,hydrateOnInteraction:()=>hydrateOnInteraction,hydrateOnMediaQuery:()=>hydrateOnMediaQuery,hydrateOnVisible:()=>hydrateOnVisible,initCustomFormatter:()=>initCustomFormatter,initDirectivesForSSR:()=>initDirectivesForSSR,inject:()=>inject,isMemoSame:()=>isMemoSame,isProxy:()=>isProxy,isReactive:()=>isReactive,isReadonly:()=>isReadonly,isRef:()=>isRef,isRuntimeOnly:()=>isRuntimeOnly,isShallow:()=>isShallow,isVNode:()=>isVNode,markRaw:()=>markRaw,mergeDefaults:()=>mergeDefaults,mergeModels:()=>mergeModels,mergeProps:()=>mergeProps,nextTick:()=>nextTick,normalizeClass:()=>normalizeClass,normalizeProps:()=>normalizeProps,normalizeStyle:()=>normalizeStyle,onActivated:()=>onActivated,onBeforeMount:()=>onBeforeMount,onBeforeUnmount:()=>onBeforeUnmount,onBeforeUpdate:()=>onBeforeUpdate,onDeactivated:()=>onDeactivated,onErrorCaptured:()=>onErrorCaptured,onMounted:()=>onMounted,onRenderTracked:()=>onRenderTracked,onRenderTriggered:()=>onRenderTriggered,onScopeDispose:()=>onScopeDispose,onServerPrefetch:()=>onServerPrefetch,onUnmounted:()=>onUnmounted,onUpdated:()=>onUpdated,onWatcherCleanup:()=>onWatcherCleanup,openBlock:()=>openBlock,popScopeId:()=>popScopeId,provide:()=>provide,proxyRefs:()=>proxyRefs,pushScopeId:()=>pushScopeId,queuePostFlushCb:()=>queuePostFlushCb,reactive:()=>reactive,readonly:()=>readonly,ref:()=>ref,registerRuntimeCompiler:()=>registerRuntimeCompiler,render:()=>render,renderList:()=>renderList,renderSlot:()=>renderSlot,resolveComponent:()=>resolveComponent,resolveDirective:()=>resolveDirective,resolveDynamicComponent:()=>resolveDynamicComponent,resolveFilter:()=>null,resolveTransitionHooks:()=>resolveTransitionHooks,setBlockTracking:()=>setBlockTracking,setDevtoolsHook:()=>setDevtoolsHook,setTransitionHooks:()=>setTransitionHooks,shallowReactive:()=>shallowReactive,shallowReadonly:()=>shallowReadonly,shallowRef:()=>shallowRef,ssrContextKey:()=>ssrContextKey,ssrUtils:()=>ssrUtils,stop:()=>stop,toDisplayString:()=>toDisplayString,toHandlerKey:()=>toHandlerKey,toHandlers:()=>toHandlers,toRaw:()=>toRaw,toRef:()=>toRef,toRefs:()=>toRefs,toValue:()=>toValue$1,transformVNodeArgs:()=>transformVNodeArgs,triggerRef:()=>triggerRef,unref:()=>unref,useAttrs:()=>useAttrs,useCssModule:()=>useCssModule,useCssVars:()=>useCssVars,useHost:()=>useHost,useId:()=>useId,useModel:()=>useModel,useSSRContext:()=>useSSRContext,useShadowRoot:()=>useShadowRoot,useSlots:()=>useSlots,useTemplateRef:()=>useTemplateRef,useTransitionState:()=>useTransitionState,vModelCheckbox:()=>vModelCheckbox,vModelDynamic:()=>vModelDynamic,vModelRadio:()=>vModelRadio,vModelSelect:()=>vModelSelect,vModelText:()=>vModelText,vShow:()=>vShow,version:()=>version$1,warn:()=>warn$2,watch:()=>watch,watchEffect:()=>watchEffect,watchPostEffect:()=>watchPostEffect,watchSyncEffect:()=>watchSyncEffect,withAsyncContext:()=>withAsyncContext,withCtx:()=>withCtx,withDefaults:()=>withDefaults,withDirectives:()=>withDirectives,withKeys:()=>withKeys,withMemo:()=>withMemo,withModifiers:()=>withModifiers,withScopeId:()=>withScopeId}),policy=void 0,tt=typeof window<`u`&&window.trustedTypes;if(tt)try{policy=tt.createPolicy(`vue`,{createHTML:val=>val})}catch{}var unsafeToTrustedHTML=policy?val=>policy.createHTML(val):val=>val,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:(child,parent,anchor)=>{parent.insertBefore(child,anchor||null)},remove:child=>{let parent=child.parentNode;parent&&parent.removeChild(child)},createElement:(tag,namespace,is,props)=>{let el=namespace===`svg`?doc.createElementNS(svgNS,tag):namespace===`mathml`?doc.createElementNS(mathmlNS,tag):is?doc.createElement(tag,{is}):doc.createElement(tag);return tag===`select`&&props&&props.multiple!=null&&el.setAttribute(`multiple`,props.multiple),el},createText:text=>doc.createTextNode(text),createComment:text=>doc.createComment(text),setText:(node,text)=>{node.nodeValue=text},setElementText:(el,text)=>{el.textContent=text},parentNode:node=>node.parentNode,nextSibling:node=>node.nextSibling,querySelector:selector=>doc.querySelector(selector),setScopeId(el,id){el.setAttribute(id,``)},insertStaticContent(content,parent,anchor,namespace,start,end){let before=anchor?anchor.previousSibling:parent.lastChild;if(start&&(start===end||start.nextSibling))for(;parent.insertBefore(start.cloneNode(!0),anchor),!(start===end||!(start=start.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(namespace===`svg`?`${content}`:namespace===`mathml`?`${content}`:content);let template=templateContainer.content;if(namespace===`svg`||namespace===`mathml`){let wrapper=template.firstChild;for(;wrapper.firstChild;)template.appendChild(wrapper.firstChild);template.removeChild(wrapper)}parent.insertBefore(template,anchor)}return[before?before.nextSibling:parent.firstChild,anchor?anchor.previousSibling:parent.lastChild]}},TRANSITION$1=`transition`,ANIMATION=`animation`,vtcKey=Symbol(`_vtc`),DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=t=>(t.displayName=`Transition`,t.props=TransitionPropsValidators,t),Transition=decorate$1((props,{slots})=>h(BaseTransition,resolveTransitionProps(props),slots)),callHook=(hook,args=[])=>{isArray$2(hook)?hook.forEach(h2=>h2(...args)):hook&&hook(...args)},hasExplicitCallback=hook=>hook?isArray$2(hook)?hook.some(h2=>h2.length>1):hook.length>1:!1;function resolveTransitionProps(rawProps){let baseProps={};for(let key in rawProps)key in DOMTransitionPropsValidators||(baseProps[key]=rawProps[key]);if(rawProps.css===!1)return baseProps;let{name=`v`,type,duration,enterFromClass=`${name}-enter-from`,enterActiveClass=`${name}-enter-active`,enterToClass=`${name}-enter-to`,appearFromClass=enterFromClass,appearActiveClass=enterActiveClass,appearToClass=enterToClass,leaveFromClass=`${name}-leave-from`,leaveActiveClass=`${name}-leave-active`,leaveToClass=`${name}-leave-to`}=rawProps,durations=normalizeDuration(duration),enterDuration=durations&&durations[0],leaveDuration=durations&&durations[1],{onBeforeEnter,onEnter,onEnterCancelled,onLeave,onLeaveCancelled,onBeforeAppear=onBeforeEnter,onAppear=onEnter,onAppearCancelled=onEnterCancelled}=baseProps,finishEnter=(el,isAppear,done,isCancelled)=>{el._enterCancelled=isCancelled,removeTransitionClass(el,isAppear?appearToClass:enterToClass),removeTransitionClass(el,isAppear?appearActiveClass:enterActiveClass),done&&done()},finishLeave=(el,done)=>{el._isLeaving=!1,removeTransitionClass(el,leaveFromClass),removeTransitionClass(el,leaveToClass),removeTransitionClass(el,leaveActiveClass),done&&done()},makeEnterHook=isAppear=>(el,done)=>{let hook=isAppear?onAppear:onEnter,resolve$1=()=>finishEnter(el,isAppear,done);callHook(hook,[el,resolve$1]),nextFrame(()=>{removeTransitionClass(el,isAppear?appearFromClass:enterFromClass),addTransitionClass(el,isAppear?appearToClass:enterToClass),hasExplicitCallback(hook)||whenTransitionEnds(el,type,enterDuration,resolve$1)})};return extend(baseProps,{onBeforeEnter(el){callHook(onBeforeEnter,[el]),addTransitionClass(el,enterFromClass),addTransitionClass(el,enterActiveClass)},onBeforeAppear(el){callHook(onBeforeAppear,[el]),addTransitionClass(el,appearFromClass),addTransitionClass(el,appearActiveClass)},onEnter:makeEnterHook(!1),onAppear:makeEnterHook(!0),onLeave(el,done){el._isLeaving=!0;let resolve$1=()=>finishLeave(el,done);addTransitionClass(el,leaveFromClass),el._enterCancelled?(addTransitionClass(el,leaveActiveClass),forceReflow(el)):(forceReflow(el),addTransitionClass(el,leaveActiveClass)),nextFrame(()=>{el._isLeaving&&(removeTransitionClass(el,leaveFromClass),addTransitionClass(el,leaveToClass),hasExplicitCallback(onLeave)||whenTransitionEnds(el,type,leaveDuration,resolve$1))}),callHook(onLeave,[el,resolve$1])},onEnterCancelled(el){finishEnter(el,!1,void 0,!0),callHook(onEnterCancelled,[el])},onAppearCancelled(el){finishEnter(el,!0,void 0,!0),callHook(onAppearCancelled,[el])},onLeaveCancelled(el){finishLeave(el),callHook(onLeaveCancelled,[el])}})}function normalizeDuration(duration){if(duration==null)return null;if(isObject$1(duration))return[NumberOf(duration.enter),NumberOf(duration.leave)];{let n=NumberOf(duration);return[n,n]}}function NumberOf(val){return toNumber(val)}function addTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.add(c)),(el[vtcKey]||(el[vtcKey]=new Set)).add(cls)}function removeTransitionClass(el,cls){cls.split(/\s+/).forEach(c=>c&&el.classList.remove(c));let _vtc=el[vtcKey];_vtc&&(_vtc.delete(cls),_vtc.size||(el[vtcKey]=void 0))}function nextFrame(cb){requestAnimationFrame(()=>{requestAnimationFrame(cb)})}var endId=0;function whenTransitionEnds(el,expectedType,explicitTimeout,resolve$1){let id=el._endId=++endId,resolveIfNotStale=()=>{id===el._endId&&resolve$1()};if(explicitTimeout!=null)return setTimeout(resolveIfNotStale,explicitTimeout);let{type,timeout,propCount}=getTransitionInfo(el,expectedType);if(!type)return resolve$1();let endEvent=type+`end`,ended=0,end=()=>{el.removeEventListener(endEvent,onEnd),resolveIfNotStale()},onEnd=e=>{e.target===el&&++ended>=propCount&&end()};setTimeout(()=>{ended(styles[key]||``).split(`, `),transitionDelays=getStyleProperties(`${TRANSITION$1}Delay`),transitionDurations=getStyleProperties(`${TRANSITION$1}Duration`),transitionTimeout=getTimeout(transitionDelays,transitionDurations),animationDelays=getStyleProperties(`${ANIMATION}Delay`),animationDurations=getStyleProperties(`${ANIMATION}Duration`),animationTimeout=getTimeout(animationDelays,animationDurations),type=null,timeout=0,propCount=0;expectedType===TRANSITION$1?transitionTimeout>0&&(type=TRANSITION$1,timeout=transitionTimeout,propCount=transitionDurations.length):expectedType===ANIMATION?animationTimeout>0&&(type=ANIMATION,timeout=animationTimeout,propCount=animationDurations.length):(timeout=Math.max(transitionTimeout,animationTimeout),type=timeout>0?transitionTimeout>animationTimeout?TRANSITION$1:ANIMATION:null,propCount=type?type===TRANSITION$1?transitionDurations.length:animationDurations.length:0);let hasTransform=type===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION$1}Property`).toString());return{type,timeout,propCount,hasTransform}}function getTimeout(delays,durations){for(;delays.lengthtoMs(d)+toMs(delays[i])))}function toMs(s){return s===`auto`?0:Number(s.slice(0,-1).replace(`,`,`.`))*1e3}function forceReflow(el){return(el?el.ownerDocument:document).body.offsetHeight}function patchClass(el,value,isSVG){let transitionClasses=el[vtcKey];transitionClasses&&(value=(value?[value,...transitionClasses]:[...transitionClasses]).join(` `)),value==null?el.removeAttribute(`class`):isSVG?el.setAttribute(`class`,value):el.className=value}var vShowOriginalDisplay=Symbol(`_vod`),vShowHidden=Symbol(`_vsh`),vShow={name:`show`,beforeMount(el,{value},{transition}){el[vShowOriginalDisplay]=el.style.display===`none`?``:el.style.display,transition&&value?transition.beforeEnter(el):setDisplay(el,value)},mounted(el,{value},{transition}){transition&&value&&transition.enter(el)},updated(el,{value,oldValue},{transition}){!value!=!oldValue&&(transition?value?(transition.beforeEnter(el),setDisplay(el,!0),transition.enter(el)):transition.leave(el,()=>{setDisplay(el,!1)}):setDisplay(el,value))},beforeUnmount(el,{value}){setDisplay(el,value)}};function setDisplay(el,value){el.style.display=value?el[vShowOriginalDisplay]:`none`,el[vShowHidden]=!value}function initVShowForSSR(){vShow.getSSRProps=({value})=>{if(!value)return{style:{display:`none`}}}}var CSS_VAR_TEXT=Symbol(``);function useCssVars(getter){let instance$1=getCurrentInstance();if(!instance$1)return;let updateTeleports=instance$1.ut=(vars=getter(instance$1.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${instance$1.uid}"]`)).forEach(node=>setVarsOnNode(node,vars))},setVars=()=>{let vars=getter(instance$1.proxy);instance$1.ce?setVarsOnNode(instance$1.ce,vars):setVarsOnVNode(instance$1.subTree,vars),updateTeleports(vars)};onBeforeUpdate(()=>{queuePostFlushCb(setVars)}),onMounted(()=>{watch(setVars,NOOP,{flush:`post`});let ob=new MutationObserver(setVars);ob.observe(instance$1.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>ob.disconnect())})}function setVarsOnVNode(vnode,vars){if(vnode.shapeFlag&128){let suspense=vnode.suspense;vnode=suspense.activeBranch,suspense.pendingBranch&&!suspense.isHydrating&&suspense.effects.push(()=>{setVarsOnVNode(suspense.activeBranch,vars)})}for(;vnode.component;)vnode=vnode.component.subTree;if(vnode.shapeFlag&1&&vnode.el)setVarsOnNode(vnode.el,vars);else if(vnode.type===Fragment)vnode.children.forEach(c=>setVarsOnVNode(c,vars));else if(vnode.type===Static){let{el,anchor}=vnode;for(;el&&(setVarsOnNode(el,vars),el!==anchor);)el=el.nextSibling}}function setVarsOnNode(el,vars){if(el.nodeType===1){let style=el.style,cssText=``;for(let key in vars){let value=normalizeCssVarValue(vars[key]);style.setProperty(`--${key}`,value),cssText+=`--${key}: ${value};`}style[CSS_VAR_TEXT]=cssText}}var displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(el,prev,next){let style=el.style,isCssString=isString$1(next),hasControlledDisplay=!1;if(next&&!isCssString){if(prev)if(isString$1(prev))for(let prevStyle of prev.split(`;`)){let key=prevStyle.slice(0,prevStyle.indexOf(`:`)).trim();next[key]??setStyle(style,key,``)}else for(let key in prev)next[key]??setStyle(style,key,``);for(let key in next)key===`display`&&(hasControlledDisplay=!0),setStyle(style,key,next[key])}else if(isCssString){if(prev!==next){let cssVarText=style[CSS_VAR_TEXT];cssVarText&&(next+=`;`+cssVarText),style.cssText=next,hasControlledDisplay=displayRE.test(next)}}else prev&&el.removeAttribute(`style`);vShowOriginalDisplay in el&&(el[vShowOriginalDisplay]=hasControlledDisplay?style.display:``,el[vShowHidden]&&(style.display=`none`))}var importantRE=/\s*!important$/;function setStyle(style,name,val){if(isArray$2(val))val.forEach(v=>setStyle(style,name,v));else if(val??=``,name.startsWith(`--`))style.setProperty(name,val);else{let prefixed=autoPrefix(style,name);importantRE.test(val)?style.setProperty(hyphenate(prefixed),val.replace(importantRE,``),`important`):style[prefixed]=val}}var prefixes=[`Webkit`,`Moz`,`ms`],prefixCache={};function autoPrefix(style,rawName){let cached=prefixCache[rawName];if(cached)return cached;let name=camelize(rawName);if(name!==`filter`&&name in style)return prefixCache[rawName]=name;name=capitalize$1(name);for(let i=0;icachedNow||=(p.then(()=>cachedNow=0),Date.now());function createInvoker(initialValue,instance$1){let invoker=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=invoker.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(e,invoker.value),instance$1,5,[e])};return invoker.value=initialValue,invoker.attached=getNow(),invoker}function patchStopImmediatePropagation(e,value){if(isArray$2(value)){let originalStop=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{originalStop.call(e),e._stopped=!0},value.map(fn=>e2=>!e2._stopped&&fn&&fn(e2))}else return value}var isNativeOn=key=>key.charCodeAt(0)===111&&key.charCodeAt(1)===110&&key.charCodeAt(2)>96&&key.charCodeAt(2)<123,patchProp=(el,key,prevValue,nextValue,namespace,parentComponent)=>{let isSVG=namespace===`svg`;key===`class`?patchClass(el,nextValue,isSVG):key===`style`?patchStyle(el,prevValue,nextValue):isOn(key)?isModelListener(key)||patchEvent(el,key,prevValue,nextValue,parentComponent):(key[0]===`.`?(key=key.slice(1),!0):key[0]===`^`?(key=key.slice(1),!1):shouldSetAsProp(el,key,nextValue,isSVG))?(patchDOMProp(el,key,nextValue),!el.tagName.includes(`-`)&&(key===`value`||key===`checked`||key===`selected`)&&patchAttr(el,key,nextValue,isSVG,parentComponent,key!==`value`)):el._isVueCE&&(/[A-Z]/.test(key)||!isString$1(nextValue))?patchDOMProp(el,camelize(key),nextValue,parentComponent,key):(key===`true-value`?el._trueValue=nextValue:key===`false-value`&&(el._falseValue=nextValue),patchAttr(el,key,nextValue,isSVG))};function shouldSetAsProp(el,key,value,isSVG){if(isSVG)return!!(key===`innerHTML`||key===`textContent`||key in el&&isNativeOn(key)&&isFunction$1(value));if(key===`spellcheck`||key===`draggable`||key===`translate`||key===`autocorrect`||key===`form`||key===`list`&&el.tagName===`INPUT`||key===`type`&&el.tagName===`TEXTAREA`)return!1;if(key===`width`||key===`height`){let tag=el.tagName;if(tag===`IMG`||tag===`VIDEO`||tag===`CANVAS`||tag===`SOURCE`)return!1}return isNativeOn(key)&&isString$1(value)?!1:key in el}var REMOVAL={};function defineCustomElement(options,extraOptions,_createApp){let Comp=defineComponent(options,extraOptions);isPlainObject$2(Comp)&&(Comp=extend({},Comp,extraOptions));class VueCustomElement extends VueElement{constructor(initialProps){super(Comp,initialProps,_createApp)}}return VueCustomElement.def=Comp,VueCustomElement}var defineSSRCustomElement=((options,extraOptions)=>defineCustomElement(options,extraOptions,createSSRApp)),BaseClass=typeof HTMLElement<`u`?HTMLElement:class{},VueElement=class VueElement extends BaseClass{constructor(_def,_props={},_createApp=createApp){super(),this._def=_def,this._props=_props,this._createApp=_createApp,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&_createApp!==createApp?this._root=this.shadowRoot:_def.shadowRoot===!1?this._root=this:(this.attachShadow(extend({},_def.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let parent=this;for(;parent&&=parent.parentNode||parent.host;)if(parent instanceof VueElement){this._parent=parent;break}this._instance||(this._resolved?this._mount(this._def):parent&&parent._pendingResolve?this._pendingResolve=parent._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(parent=this._parent){parent&&(this._instance.parent=parent._instance,this._inheritParentContext(parent))}_inheritParentContext(parent=this._parent){parent&&this._app&&Object.setPrototypeOf(this._app._context.provides,parent._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(mutations){for(let m of mutations)this._setAttr(m.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i{this._resolved=!0,this._pendingResolve=void 0;let{props,styles}=def$1,numberProps;if(props&&!isArray$2(props))for(let key in props){let opt=props[key];(opt===Number||opt&&opt.type===Number)&&(key in this._props&&(this._props[key]=toNumber(this._props[key])),(numberProps||=Object.create(null))[camelize(key)]=!0)}this._numberProps=numberProps,this._resolveProps(def$1),this.shadowRoot&&this._applyStyles(styles),this._mount(def$1)},asyncDef=this._def.__asyncLoader;asyncDef?this._pendingResolve=asyncDef().then(def$1=>{def$1.configureApp=this._def.configureApp,resolve$1(this._def=def$1,!0)}):resolve$1(this._def)}_mount(def$1){this._app=this._createApp(def$1),this._inheritParentContext(),def$1.configureApp&&def$1.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let exposed=this._instance&&this._instance.exposed;if(exposed)for(let key in exposed)hasOwn$1(this,key)||Object.defineProperty(this,key,{get:()=>unref(exposed[key])})}_resolveProps(def$1){let{props}=def$1,declaredPropKeys=isArray$2(props)?props:Object.keys(props||{});for(let key of Object.keys(this))key[0]!==`_`&&declaredPropKeys.includes(key)&&this._setProp(key,this[key]);for(let key of declaredPropKeys.map(camelize))Object.defineProperty(this,key,{get(){return this._getProp(key)},set(val){this._setProp(key,val,!0,!0)}})}_setAttr(key){if(key.startsWith(`data-v-`))return;let has$1=this.hasAttribute(key),value=has$1?this.getAttribute(key):REMOVAL,camelKey=camelize(key);has$1&&this._numberProps&&this._numberProps[camelKey]&&(value=toNumber(value)),this._setProp(camelKey,value,!1,!0)}_getProp(key){return this._props[key]}_setProp(key,val,shouldReflect=!0,shouldUpdate=!1){if(val!==this._props[key]&&(val===REMOVAL?delete this._props[key]:(this._props[key]=val,key===`key`&&this._app&&(this._app._ceVNode.key=val)),shouldUpdate&&this._instance&&this._update(),shouldReflect)){let ob=this._ob;ob&&(this._processMutations(ob.takeRecords()),ob.disconnect()),val===!0?this.setAttribute(hyphenate(key),``):typeof val==`string`||typeof val==`number`?this.setAttribute(hyphenate(key),val+``):val||this.removeAttribute(hyphenate(key)),ob&&ob.observe(this,{attributes:!0})}}_update(){let vnode=this._createVNode();this._app&&(vnode.appContext=this._app._context),render(vnode,this._root)}_createVNode(){let baseProps={};this.shadowRoot||(baseProps.onVnodeMounted=baseProps.onVnodeUpdated=this._renderSlots.bind(this));let vnode=createVNode(this._def,extend(baseProps,this._props));return this._instance||(vnode.ce=instance$1=>{this._instance=instance$1,instance$1.ce=this,instance$1.isCE=!0;let dispatch=(event,args)=>{this.dispatchEvent(new CustomEvent(event,isPlainObject$2(args[0])?extend({detail:args},args[0]):{detail:args}))};instance$1.emit=(event,...args)=>{dispatch(event,args),hyphenate(event)!==event&&dispatch(hyphenate(event),args)},this._setParent()}),vnode}_applyStyles(styles,owner){if(!styles)return;if(owner){if(owner===this._def||this._styleChildren.has(owner))return;this._styleChildren.add(owner)}let nonce=this._nonce;for(let i=styles.length-1;i>=0;i--){let s=document.createElement(`style`);nonce&&s.setAttribute(`nonce`,nonce),s.textContent=styles[i],this.shadowRoot.prepend(s)}}_parseSlots(){let slots=this._slots={},n;for(;n=this.firstChild;){let slotName=n.nodeType===1&&n.getAttribute(`slot`)||`default`;(slots[slotName]||(slots[slotName]=[])).push(n),this.removeChild(n)}}_renderSlots(){let outlets=this._getSlots(),scopeId=this._instance.type.__scopeId;for(let i=0;i(res.push(...Array.from(i.querySelectorAll(`slot`))),res),[])}_injectChildStyle(comp){this._applyStyles(comp.styles,comp)}_removeChildStyle(comp){}};function useHost(caller){let instance$1=getCurrentInstance();return instance$1&&instance$1.ce||null}function useShadowRoot(){let el=useHost();return el&&el.shadowRoot}function useCssModule(name=`$style`){{let instance$1=getCurrentInstance();if(!instance$1)return EMPTY_OBJ;let modules=instance$1.type.__cssModules;return modules&&modules[name]||EMPTY_OBJ}}var positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol(`_moveCb`),enterCbKey=Symbol(`_enterCb`),decorate=t=>(delete t.props.mode,t),TransitionGroup=decorate({name:`TransitionGroup`,props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(props,{slots}){let instance$1=getCurrentInstance(),state=useTransitionState(),prevChildren,children;return onUpdated(()=>{if(!prevChildren.length)return;let moveClass=props.moveClass||`${props.name||`v`}-move`;if(!hasCSSTransform(prevChildren[0].el,instance$1.vnode.el,moveClass)){prevChildren=[];return}prevChildren.forEach(callPendingCbs),prevChildren.forEach(recordPosition);let movedChildren=prevChildren.filter(applyTranslation);forceReflow(instance$1.vnode.el),movedChildren.forEach(c=>{let el=c.el,style=el.style;addTransitionClass(el,moveClass),style.transform=style.webkitTransform=style.transitionDuration=``;let cb=el[moveCbKey]=e=>{e&&e.target!==el||(!e||e.propertyName.endsWith(`transform`))&&(el.removeEventListener(`transitionend`,cb),el[moveCbKey]=null,removeTransitionClass(el,moveClass))};el.addEventListener(`transitionend`,cb)}),prevChildren=[]}),()=>{let rawProps=toRaw(props),cssTransitionProps=resolveTransitionProps(rawProps),tag=rawProps.tag||Fragment;if(prevChildren=[],children)for(let i=0;i{cls.split(/\s+/).forEach(c=>c&&clone.classList.remove(c))}),moveClass.split(/\s+/).forEach(c=>c&&clone.classList.add(c)),clone.style.display=`none`;let container=root.nodeType===1?root:root.parentNode;container.appendChild(clone);let{hasTransform}=getTransitionInfo(clone);return container.removeChild(clone),hasTransform}var getModelAssigner=vnode=>{let fn=vnode.props[`onUpdate:modelValue`]||!1;return isArray$2(fn)?value=>invokeArrayFns(fn,value):fn};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){let target=e.target;target.composing&&(target.composing=!1,target.dispatchEvent(new Event(`input`)))}var assignKey=Symbol(`_assign`),vModelText={created(el,{modifiers:{lazy,trim,number}},vnode){el[assignKey]=getModelAssigner(vnode);let castToNumber=number||vnode.props&&vnode.props.type===`number`;addEventListener$1(el,lazy?`change`:`input`,e=>{if(e.target.composing)return;let domValue=el.value;trim&&(domValue=domValue.trim()),castToNumber&&(domValue=looseToNumber(domValue)),el[assignKey](domValue)}),trim&&addEventListener$1(el,`change`,()=>{el.value=el.value.trim()}),lazy||(addEventListener$1(el,`compositionstart`,onCompositionStart),addEventListener$1(el,`compositionend`,onCompositionEnd),addEventListener$1(el,`change`,onCompositionEnd))},mounted(el,{value}){el.value=value??``},beforeUpdate(el,{value,oldValue,modifiers:{lazy,trim,number}},vnode){if(el[assignKey]=getModelAssigner(vnode),el.composing)return;let elValue=(number||el.type===`number`)&&!/^0\d/.test(el.value)?looseToNumber(el.value):el.value,newValue=value??``;elValue!==newValue&&(document.activeElement===el&&el.type!==`range`&&(lazy&&value===oldValue||trim&&el.value.trim()===newValue)||(el.value=newValue))}},vModelCheckbox={deep:!0,created(el,_,vnode){el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{let modelValue=el._modelValue,elementValue=getValue(el),checked=el.checked,assign$3=el[assignKey];if(isArray$2(modelValue)){let index=looseIndexOf(modelValue,elementValue),found=index!==-1;if(checked&&!found)assign$3(modelValue.concat(elementValue));else if(!checked&&found){let filtered=[...modelValue];filtered.splice(index,1),assign$3(filtered)}}else if(isSet(modelValue)){let cloned=new Set(modelValue);checked?cloned.add(elementValue):cloned.delete(elementValue),assign$3(cloned)}else assign$3(getCheckboxValue(el,checked))})},mounted:setChecked,beforeUpdate(el,binding,vnode){el[assignKey]=getModelAssigner(vnode),setChecked(el,binding,vnode)}};function setChecked(el,{value,oldValue},vnode){el._modelValue=value;let checked;if(isArray$2(value))checked=looseIndexOf(value,vnode.props.value)>-1;else if(isSet(value))checked=value.has(vnode.props.value);else{if(value===oldValue)return;checked=looseEqual(value,getCheckboxValue(el,!0))}el.checked!==checked&&(el.checked=checked)}var vModelRadio={created(el,{value},vnode){el.checked=looseEqual(value,vnode.props.value),el[assignKey]=getModelAssigner(vnode),addEventListener$1(el,`change`,()=>{el[assignKey](getValue(el))})},beforeUpdate(el,{value,oldValue},vnode){el[assignKey]=getModelAssigner(vnode),value!==oldValue&&(el.checked=looseEqual(value,vnode.props.value))}},vModelSelect={deep:!0,created(el,{value,modifiers:{number}},vnode){let isSetModel=isSet(value);addEventListener$1(el,`change`,()=>{let selectedVal=Array.prototype.filter.call(el.options,o=>o.selected).map(o=>number?looseToNumber(getValue(o)):getValue(o));el[assignKey](el.multiple?isSetModel?new Set(selectedVal):selectedVal:selectedVal[0]),el._assigning=!0,nextTick(()=>{el._assigning=!1})}),el[assignKey]=getModelAssigner(vnode)},mounted(el,{value}){setSelected(el,value)},beforeUpdate(el,_binding,vnode){el[assignKey]=getModelAssigner(vnode)},updated(el,{value}){el._assigning||setSelected(el,value)}};function setSelected(el,value){let isMultiple=el.multiple,isArrayValue=isArray$2(value);if(!(isMultiple&&!isArrayValue&&!isSet(value))){for(let i=0,l=el.options.length;iString(v)===String(optionValue)):option.selected=looseIndexOf(value,optionValue)>-1}else option.selected=value.has(optionValue);else if(looseEqual(getValue(option),value)){el.selectedIndex!==i&&(el.selectedIndex=i);return}}!isMultiple&&el.selectedIndex!==-1&&(el.selectedIndex=-1)}}function getValue(el){return`_value`in el?el._value:el.value}function getCheckboxValue(el,checked){let key=checked?`_trueValue`:`_falseValue`;return key in el?el[key]:checked}var vModelDynamic={created(el,binding,vnode){callModelHook(el,binding,vnode,null,`created`)},mounted(el,binding,vnode){callModelHook(el,binding,vnode,null,`mounted`)},beforeUpdate(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`beforeUpdate`)},updated(el,binding,vnode,prevVNode){callModelHook(el,binding,vnode,prevVNode,`updated`)}};function resolveDynamicModel(tagName,type){switch(tagName){case`SELECT`:return vModelSelect;case`TEXTAREA`:return vModelText;default:switch(type){case`checkbox`:return vModelCheckbox;case`radio`:return vModelRadio;default:return vModelText}}}function callModelHook(el,binding,vnode,prevVNode,hook){let fn=resolveDynamicModel(el.tagName,vnode.props&&vnode.props.type)[hook];fn&&fn(el,binding,vnode,prevVNode)}function initVModelForSSR(){vModelText.getSSRProps=({value})=>({value}),vModelRadio.getSSRProps=({value},vnode)=>{if(vnode.props&&looseEqual(vnode.props.value,value))return{checked:!0}},vModelCheckbox.getSSRProps=({value},vnode)=>{if(isArray$2(value)){if(vnode.props&&looseIndexOf(value,vnode.props.value)>-1)return{checked:!0}}else if(isSet(value)){if(vnode.props&&value.has(vnode.props.value))return{checked:!0}}else if(value)return{checked:!0}},vModelDynamic.getSSRProps=(binding,vnode)=>{if(typeof vnode.type!=`string`)return;let modelToUse=resolveDynamicModel(vnode.type.toUpperCase(),vnode.props&&vnode.props.type);if(modelToUse.getSSRProps)return modelToUse.getSSRProps(binding,vnode)}}var systemModifiers=[`ctrl`,`shift`,`alt`,`meta`],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,modifiers)=>systemModifiers.some(m=>e[`${m}Key`]&&!modifiers.includes(m))},withModifiers=(fn,modifiers)=>{let cache$1=fn._withMods||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=((event,...args)=>{for(let i=0;i{let cache$1=fn._withKeys||={},cacheKey=modifiers.join(`.`);return cache$1[cacheKey]||(cache$1[cacheKey]=(event=>{if(!(`key`in event))return;let eventKey=hyphenate(event.key);if(modifiers.some(k=>k===eventKey||keyNames[k]===eventKey))return fn(event)}))},rendererOptions=extend({patchProp},nodeOps),renderer,enabledHydration=!1;function ensureRenderer(){return renderer||=createRenderer(rendererOptions)}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}var render=((...args)=>{ensureRenderer().render(...args)}),hydrate=((...args)=>{ensureHydrationRenderer().hydrate(...args)}),createApp=((...args)=>{let app$1=ensureRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(!container)return;let component=app$1._component;!isFunction$1(component)&&!component.render&&!component.template&&(component.template=container.innerHTML),container.nodeType===1&&(container.textContent=``);let proxy=mount(container,!1,resolveRootNamespace(container));return container instanceof Element&&(container.removeAttribute(`v-cloak`),container.setAttribute(`data-v-app`,``)),proxy},app$1}),createSSRApp=((...args)=>{let app$1=ensureHydrationRenderer().createApp(...args),{mount}=app$1;return app$1.mount=containerOrSelector=>{let container=normalizeContainer(containerOrSelector);if(container)return mount(container,!0,resolveRootNamespace(container))},app$1});function resolveRootNamespace(container){if(container instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&container instanceof MathMLElement)return`mathml`}function normalizeContainer(container){return isString$1(container)?document.querySelector(container):container}var ssrDirectiveInitialized=!1,initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},FRAGMENT=Symbol(``),TELEPORT=Symbol(``),SUSPENSE=Symbol(``),KEEP_ALIVE=Symbol(``),BASE_TRANSITION=Symbol(``),OPEN_BLOCK=Symbol(``),CREATE_BLOCK=Symbol(``),CREATE_ELEMENT_BLOCK=Symbol(``),CREATE_VNODE=Symbol(``),CREATE_ELEMENT_VNODE=Symbol(``),CREATE_COMMENT=Symbol(``),CREATE_TEXT=Symbol(``),CREATE_STATIC=Symbol(``),RESOLVE_COMPONENT=Symbol(``),RESOLVE_DYNAMIC_COMPONENT=Symbol(``),RESOLVE_DIRECTIVE=Symbol(``),RESOLVE_FILTER=Symbol(``),WITH_DIRECTIVES=Symbol(``),RENDER_LIST=Symbol(``),RENDER_SLOT=Symbol(``),CREATE_SLOTS=Symbol(``),TO_DISPLAY_STRING=Symbol(``),MERGE_PROPS=Symbol(``),NORMALIZE_CLASS=Symbol(``),NORMALIZE_STYLE=Symbol(``),NORMALIZE_PROPS=Symbol(``),GUARD_REACTIVE_PROPS=Symbol(``),TO_HANDLERS=Symbol(``),CAMELIZE=Symbol(``),CAPITALIZE=Symbol(``),TO_HANDLER_KEY=Symbol(``),SET_BLOCK_TRACKING=Symbol(``),PUSH_SCOPE_ID=Symbol(``),POP_SCOPE_ID=Symbol(``),WITH_CTX=Symbol(``),UNREF=Symbol(``),IS_REF=Symbol(``),WITH_MEMO=Symbol(``),IS_MEMO_SAME=Symbol(``),helperNameMap={[FRAGMENT]:`Fragment`,[TELEPORT]:`Teleport`,[SUSPENSE]:`Suspense`,[KEEP_ALIVE]:`KeepAlive`,[BASE_TRANSITION]:`BaseTransition`,[OPEN_BLOCK]:`openBlock`,[CREATE_BLOCK]:`createBlock`,[CREATE_ELEMENT_BLOCK]:`createElementBlock`,[CREATE_VNODE]:`createVNode`,[CREATE_ELEMENT_VNODE]:`createElementVNode`,[CREATE_COMMENT]:`createCommentVNode`,[CREATE_TEXT]:`createTextVNode`,[CREATE_STATIC]:`createStaticVNode`,[RESOLVE_COMPONENT]:`resolveComponent`,[RESOLVE_DYNAMIC_COMPONENT]:`resolveDynamicComponent`,[RESOLVE_DIRECTIVE]:`resolveDirective`,[RESOLVE_FILTER]:`resolveFilter`,[WITH_DIRECTIVES]:`withDirectives`,[RENDER_LIST]:`renderList`,[RENDER_SLOT]:`renderSlot`,[CREATE_SLOTS]:`createSlots`,[TO_DISPLAY_STRING]:`toDisplayString`,[MERGE_PROPS]:`mergeProps`,[NORMALIZE_CLASS]:`normalizeClass`,[NORMALIZE_STYLE]:`normalizeStyle`,[NORMALIZE_PROPS]:`normalizeProps`,[GUARD_REACTIVE_PROPS]:`guardReactiveProps`,[TO_HANDLERS]:`toHandlers`,[CAMELIZE]:`camelize`,[CAPITALIZE]:`capitalize`,[TO_HANDLER_KEY]:`toHandlerKey`,[SET_BLOCK_TRACKING]:`setBlockTracking`,[PUSH_SCOPE_ID]:`pushScopeId`,[POP_SCOPE_ID]:`popScopeId`,[WITH_CTX]:`withCtx`,[UNREF]:`unref`,[IS_REF]:`isRef`,[WITH_MEMO]:`withMemo`,[IS_MEMO_SAME]:`isMemoSame`};function registerRuntimeHelpers(helpers){Object.getOwnPropertySymbols(helpers).forEach(s=>{helperNameMap[s]=helpers[s]})}var locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function createRoot(children,source=``){return{type:0,source,children,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(context,tag,props,children,patchFlag,dynamicProps,directives,isBlock=!1,disableTracking=!1,isComponent$1=!1,loc=locStub){return context&&(isBlock?(context.helper(OPEN_BLOCK),context.helper(getVNodeBlockHelper(context.inSSR,isComponent$1))):context.helper(getVNodeHelper(context.inSSR,isComponent$1)),directives&&context.helper(WITH_DIRECTIVES)),{type:13,tag,props,children,patchFlag,dynamicProps,directives,isBlock,disableTracking,isComponent:isComponent$1,loc}}function createArrayExpression(elements,loc=locStub){return{type:17,loc,elements}}function createObjectExpression(properties,loc=locStub){return{type:15,loc,properties}}function createObjectProperty(key,value){return{type:16,loc:locStub,key:isString$1(key)?createSimpleExpression(key,!0):key,value}}function createSimpleExpression(content,isStatic=!1,loc=locStub,constType=0){return{type:4,loc,content,isStatic,constType:isStatic?3:constType}}function createCompoundExpression(children,loc=locStub){return{type:8,loc,children}}function createCallExpression(callee,args=[],loc=locStub){return{type:14,loc,callee,arguments:args}}function createFunctionExpression(params,returns=void 0,newline=!1,isSlot=!1,loc=locStub){return{type:18,params,returns,newline,isSlot,loc}}function createConditionalExpression(test,consequent,alternate,newline=!0){return{type:19,test,consequent,alternate,newline,loc:locStub}}function createCacheExpression(index,value,needPauseTracking=!1,inVOnce=!1){return{type:20,index,value,needPauseTracking,inVOnce,needArraySpread:!1,loc:locStub}}function createBlockStatement(body){return{type:21,body,loc:locStub}}function getVNodeHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(ssr,isComponent$1){return ssr||isComponent$1?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(node,{helper,removeHelper,inSSR}){node.isBlock||(node.isBlock=!0,removeHelper(getVNodeHelper(inSSR,node.isComponent)),helper(OPEN_BLOCK),helper(getVNodeBlockHelper(inSSR,node.isComponent)))}var defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(c){return c>=97&&c<=122||c>=65&&c<=90}function isWhitespace(c){return c===32||c===10||c===9||c===12||c===13}function isEndOfTagSection(c){return c===47||c===62||isWhitespace(c)}function toCharCodes(str){let ret=new Uint8Array(str.length);for(let i=0;i=0;i--){let newlineIndex=this.newlines[i];if(index>newlineIndex){line=i+2,column=index-newlineIndex;break}}return{column,line,offset:index}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(c){c===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&c===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(c))}stateInterpolationOpen(c){if(c===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let start=this.index+1-this.delimiterOpen.length;start>this.sectionStart&&this.cbs.ontext(this.sectionStart,start),this.state=3,this.sectionStart=start}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(c)):(this.state=1,this.stateText(c))}stateInterpolation(c){c===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(c))}stateInterpolationClose(c){c===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(c))}stateSpecialStartSequence(c){let isEnd=this.sequenceIndex===this.currentSequence.length;if(!(isEnd?isEndOfTagSection(c):(c|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!isEnd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(c)}stateInRCDATA(c){if(this.sequenceIndex===this.currentSequence.length){if(c===62||isWhitespace(c)){let endOfText=this.index-this.currentSequence.length;if(this.sectionStart=endIndex||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,endIndex):this.cbs.oncomment(this.sectionStart,endIndex):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,endIndex))}emitCodePoint(cp,consumed){}};function getCompatValue(key,{compatConfig}){let value=compatConfig&&compatConfig[key];return key===`MODE`?value||3:value}function isCompatEnabled(key,context){let mode=getCompatValue(`MODE`,context),value=getCompatValue(key,context);return mode===3?value===!0:value!==!1}function checkCompatEnabled(key,context,loc,...args){return isCompatEnabled(key,context)}function defaultOnError$1(error){throw error}function defaultOnWarn(msg){}function createCompilerError(code,loc,messages,additionalMessage){let msg=`https://vuejs.org/error-reference/#compiler-${code}`,error=SyntaxError(String(msg));return error.code=code,error.loc=loc,error}var isStaticExp=p$1=>p$1.type===4&&p$1.isStatic;function isCoreComponent(tag){switch(tag){case`Teleport`:case`teleport`:return TELEPORT;case`Suspense`:case`suspense`:return SUSPENSE;case`KeepAlive`:case`keep-alive`:return KEEP_ALIVE;case`BaseTransition`:case`base-transition`:return BASE_TRANSITION}}var nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=name=>!nonIdentifierRE.test(name),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=exp=>exp.type===4?exp.content:exp.loc.source,isMemberExpressionBrowser=exp=>{let path=getExpSource(exp).trim().replace(whitespaceRE,s=>s.trim()),state=0,stateStack$1=[],currentOpenBracketCount=0,currentOpenParensCount=0,currentStringType=null;for(let i=0;i|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=exp=>fnExpRE.test(getExpSource(exp)),isFnExpression=isFnExpressionBrowser;function findDir(node,name,allowEmpty=!1){for(let i=0;ip$1.type===7&&p$1.name===`bind`&&(!p$1.arg||p$1.arg.type!==4||!p$1.arg.isStatic))}function isText$1(node){return node.type===5||node.type===2}function isVPre(p$1){return p$1.type===7&&p$1.name===`pre`}function isVSlot(p$1){return p$1.type===7&&p$1.name===`slot`}function isTemplateNode(node){return node.type===1&&node.tagType===3}function isSlotOutlet(node){return node.type===1&&node.tagType===2}var propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(props,callPath=[]){if(props&&!isString$1(props)&&props.type===14){let callee=props.callee;if(!isString$1(callee)&&propsHelperSet.has(callee))return getUnnormalizedProps(props.arguments[0],callPath.concat(props))}return[props,callPath]}function injectProp(node,prop,context){let propsWithInjection,props=node.type===13?node.props:node.arguments[2],callPath=[],parentCall;if(props&&!isString$1(props)&&props.type===14){let ret=getUnnormalizedProps(props);props=ret[0],callPath=ret[1],parentCall=callPath[callPath.length-1]}if(props==null||isString$1(props))propsWithInjection=createObjectExpression([prop]);else if(props.type===14){let first=props.arguments[0];!isString$1(first)&&first.type===15?hasProp(prop,first)||first.properties.unshift(prop):props.callee===TO_HANDLERS?propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]):props.arguments.unshift(createObjectExpression([prop])),!propsWithInjection&&(propsWithInjection=props)}else props.type===15?(hasProp(prop,props)||props.properties.unshift(prop),propsWithInjection=props):(propsWithInjection=createCallExpression(context.helper(MERGE_PROPS),[createObjectExpression([prop]),props]),parentCall&&parentCall.callee===GUARD_REACTIVE_PROPS&&(parentCall=callPath[callPath.length-2]));node.type===13?parentCall?parentCall.arguments[0]=propsWithInjection:node.props=propsWithInjection:parentCall?parentCall.arguments[0]=propsWithInjection:node.arguments[2]=propsWithInjection}function hasProp(prop,props){let result=!1;if(prop.key.type===4){let propKeyName=prop.key.content;result=props.properties.some(p$1=>p$1.key.type===4&&p$1.key.content===propKeyName)}return result}function toValidAssetId(name,type){return`_${type}_${name.replace(/[^\w]/g,(searchValue,replaceValue)=>searchValue===`-`?`_`:name.charCodeAt(replaceValue).toString())}`}function getMemoedVNodeCall(node){return node.type===14&&node.callee===WITH_MEMO?node.arguments[1].returns:node}var forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1},currentOptions=defaultParserOptions,currentRoot=null,currentInput=``,currentOpenTag=null,currentProp=null,currentAttrValue=``,currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null,stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(start,end){onText(getSlice(start,end),start,end)},ontextentity(char,start,end){onText(char,start,end)},oninterpolation(start,end){if(inVPre)return onText(getSlice(start,end),start,end);let innerStart=start+tokenizer.delimiterOpen.length,innerEnd=end-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(innerStart));)innerStart++;for(;isWhitespace(currentInput.charCodeAt(innerEnd-1));)innerEnd--;let exp=getSlice(innerStart,innerEnd);exp.includes(`&`)&&(exp=currentOptions.decodeEntities(exp,!1)),addNode({type:5,content:createExp(exp,!1,getLoc(innerStart,innerEnd)),loc:getLoc(start,end)})},onopentagname(start,end){let name=getSlice(start,end);currentOpenTag={type:1,tag:name,ns:currentOptions.getNamespace(name,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(start-1,end),codegenNode:void 0}},onopentagend(end){endOpenTag(end)},onclosetag(start,end){let name=getSlice(start,end);if(!currentOptions.isVoidTag(name)){let found=!1;for(let i=0;i0&&emitError(24,stack[0].loc.start.offset);for(let j=0;j<=i;j++)onCloseTag(stack.shift(),end,j(p$1.type===7?p$1.rawName:p$1.name)===name)&&emitError(2,start)},onattribend(quote,end){if(currentOpenTag&¤tProp){if(setLocEnd(currentProp.loc,end),quote!==0)if(currentAttrValue.includes(`&`)&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name===`class`&&(currentAttrValue=condense(currentAttrValue).trim()),quote===1&&!currentAttrValue&&emitError(13,end),currentProp.value={type:2,content:currentAttrValue,loc:quote===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&¤tOpenTag.tag===`template`&¤tProp.name===`lang`&¤tAttrValue&¤tAttrValue!==`html`&&tokenizer.enterRCDATA(toCharCodes(`mod.content===`sync`))>-1&&checkCompatEnabled(`COMPILER_V_BIND_SYNC`,currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name=`model`,currentProp.modifiers.splice(syncIndex,1))}(currentProp.type!==7||currentProp.name!==`pre`)&¤tOpenTag.props.push(currentProp)}currentAttrValue=``,currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(start,end){currentOptions.comments&&addNode({type:3,content:getSlice(start,end),loc:getLoc(start-4,end+3)})},onend(){let end=currentInput.length;for(let index=0;index{let start=loc.start.offset+offset$2;return createExp(content,!1,getLoc(start,start+content.length),0,asParam?1:0)},result={source:createAliasExpression(RHS.trim(),exp.indexOf(RHS,LHS.length)),value:void 0,key:void 0,index:void 0,finalized:!1},valueContent=LHS.trim().replace(stripParensRE,``).trim(),trimmedOffset=LHS.indexOf(valueContent),iteratorMatch=valueContent.match(forIteratorRE);if(iteratorMatch){valueContent=valueContent.replace(forIteratorRE,``).trim();let keyContent=iteratorMatch[1].trim(),keyOffset;if(keyContent&&(keyOffset=exp.indexOf(keyContent,trimmedOffset+valueContent.length),result.key=createAliasExpression(keyContent,keyOffset,!0)),iteratorMatch[2]){let indexContent=iteratorMatch[2].trim();indexContent&&(result.index=createAliasExpression(indexContent,exp.indexOf(indexContent,result.key?keyOffset+keyContent.length:trimmedOffset+valueContent.length),!0))}}return valueContent&&(result.value=createAliasExpression(valueContent,trimmedOffset,!0)),result}function getSlice(start,end){return currentInput.slice(start,end)}function endOpenTag(end){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(end+1,end+1)),addNode(currentOpenTag);let{tag,ns}=currentOpenTag;ns===0&¤tOptions.isPreTag(tag)&&inPre++,currentOptions.isVoidTag(tag)?onCloseTag(currentOpenTag,end):(stack.unshift(currentOpenTag),(ns===1||ns===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(content,start,end){{let tag=stack[0]&&stack[0].tag;tag!==`script`&&tag!==`style`&&content.includes(`&`)&&(content=currentOptions.decodeEntities(content,!1))}let parent=stack[0]||currentRoot,lastNode=parent.children[parent.children.length-1];lastNode&&lastNode.type===2?(lastNode.content+=content,setLocEnd(lastNode.loc,end)):parent.children.push({type:2,content,loc:getLoc(start,end)})}function onCloseTag(el,end,isImplied=!1){isImplied?setLocEnd(el.loc,backTrack(end,60)):setLocEnd(el.loc,lookAhead(end,62)+1),tokenizer.inSFCRoot&&(el.children.length?el.innerLoc.end=extend({},el.children[el.children.length-1].loc.end):el.innerLoc.end=extend({},el.innerLoc.start),el.innerLoc.source=getSlice(el.innerLoc.start.offset,el.innerLoc.end.offset));let{tag,ns,children}=el;if(inVPre||(tag===`slot`?el.tagType=2:isFragmentTemplate(el)?el.tagType=3:isComponent(el)&&(el.tagType=1)),tokenizer.inRCDATA||(el.children=condenseWhitespace(children)),ns===0&¤tOptions.isIgnoreNewlineTag(tag)){let first=children[0];first&&first.type===2&&(first.content=first.content.replace(/^\r?\n/,``))}ns===0&¤tOptions.isPreTag(tag)&&inPre--,currentVPreBoundary===el&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{let props=el.props;if(!tokenizer.inSFCRoot&&isCompatEnabled(`COMPILER_NATIVE_TEMPLATE`,currentOptions)&&el.tag===`template`&&!isFragmentTemplate(el)){let parent=stack[0]||currentRoot,index=parent.children.indexOf(el);parent.children.splice(index,1,...el.children)}let inlineTemplateProp=props.find(p$1=>p$1.type===6&&p$1.name===`inline-template`);inlineTemplateProp&&checkCompatEnabled(`COMPILER_INLINE_TEMPLATE`,currentOptions,inlineTemplateProp.loc)&&el.children.length&&(inlineTemplateProp.value={type:2,content:getSlice(el.children[0].loc.start.offset,el.children[el.children.length-1].loc.end.offset),loc:inlineTemplateProp.loc})}}function lookAhead(index,c){let i=index;for(;currentInput.charCodeAt(i)!==c&&i=0;)i--;return i}var specialTemplateDir=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function isFragmentTemplate({tag,props}){if(tag===`template`){for(let i=0;i64&&c<91}var windowsNewlineRE=/\r\n/g;function condenseWhitespace(nodes){let shouldCondense=currentOptions.whitespace!==`preserve`,removedWhitespace=!1;for(let i=0;i
@/lua/ge/extensions/flowgraph/link.lua

  ui_flowgraph_editor.Link(self.id, sId, tId, self.color, 2 * im.uiscale[0], drawAsShortcut, label)
  if self._highlight then
  if self._highlight then
    ui_flowgraph_editor.Link(self.hiddenId, sId, tId, im.ImVec4(self.color.x, self.color.y, self.color.z, 0.6), 10, false, label)
    self._highlight = false
@/lua/ge/extensions/editor/missionPlaybook/missionTreeViewer.lua
    local otherPinIn, otherPinOut = pinIds(otherNode.id)
    ui_flowgraph_editor.Link(linkIds, ownPinOut, otherPinIn, im.ImVec4(1,1,1,1), 2 * im.uiscale[0], false, "")
    linkIds = linkIds +1