@yuhufe/wtool-vdiff 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +140 -41
- package/dist/DiffFiles/DiffFiles.vue.d.ts +12 -0
- package/dist/DiffFiles/DiffList/DiffList.vue.d.ts +94 -0
- package/dist/DiffFiles/FileExplore/FileExplore.vue.d.ts +510 -0
- package/dist/DiffFiles/FileExplore/FileSearch.vue.d.ts +11 -0
- package/dist/DiffFiles/FileExplore/fileTree.d.ts +17 -0
- package/dist/DiffFiles/createDiffFiles.d.ts +13 -0
- package/dist/DiffFiles/index.d.ts +3 -0
- package/dist/DiffFiles/types.d.ts +12 -0
- package/dist/DiffFiles/useDiffFiles.d.ts +23 -0
- package/dist/DiffViewer/DiffViewer.vue.d.ts +15 -4
- package/dist/DiffViewer/MonacoDiffViewer.vue.d.ts +1 -1
- package/dist/DiffViewer/TopBar.vue.d.ts +2 -0
- package/dist/DiffViewer/const.d.ts +8 -0
- package/dist/DiffViewer/utils/autoHeight.d.ts +4 -1
- package/dist/DiffViewer/utils/patch2Pair.d.ts +9 -14
- package/dist/index.d.ts +1 -0
- package/dist/types.d.ts +16 -0
- package/dist/utils/patch.d.ts +20 -0
- package/dist/wtool-vdiff.cjs.js +45 -36
- package/dist/wtool-vdiff.es.js +9535 -5984
- package/package.json +10 -9
- package/src/DiffFiles/DiffFiles.vue +126 -0
- package/src/DiffFiles/DiffList/DiffList.vue +125 -0
- package/src/DiffFiles/FileExplore/FileExplore.vue +181 -0
- package/src/DiffFiles/FileExplore/FileSearch.vue +81 -0
- package/src/DiffFiles/FileExplore/fileTree.ts +102 -0
- package/src/DiffFiles/createDiffFiles.ts +70 -0
- package/src/DiffFiles/index.ts +11 -0
- package/src/DiffFiles/types.ts +15 -0
- package/src/DiffFiles/useDiffFiles.ts +56 -0
- package/src/DiffViewer/DiffViewer.vue +28 -7
- package/src/DiffViewer/MonacoDiffViewer.vue +21 -2
- package/src/DiffViewer/TopBar.vue +25 -6
- package/src/DiffViewer/const.ts +11 -0
- package/src/DiffViewer/utils/autoHeight.ts +159 -43
- package/src/DiffViewer/utils/patch2Pair.ts +37 -56
- package/src/assets/file.svg +4 -0
- package/src/assets/folder.svg +4 -0
- package/src/index.ts +1 -0
- package/src/types.ts +19 -0
- package/src/utils/patch.ts +74 -0
package/dist/wtool-vdiff.cjs.js
CHANGED
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".m-loading-parent--relative{position:relative}.m-loading-mask[data-v-ad861b5c]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff9}@keyframes widgetLoading-ad861b5c{0%{opacity:.2;transform:translateY(var(--column-height)) scaleY(1)}50%{opacity:1;transform:translateY(calc(var(--column-height) / 2)) scaleY(2)}to{opacity:.2;transform:translateY(var(--column-height)) scaleY(1)}}.loading-animate[data-v-ad861b5c]{height:30px;position:relative}.loading-animate .loading-animate-column[data-v-ad861b5c]{position:absolute;width:var(--column-width);height:var(--column-height);opacity:.2;animation:.6s ease-in-out 0s infinite widgetLoading-ad861b5c;transform:translateY(var(--column-height)) scaleY(1);transform-origin:top}.xfade-enter[data-v-ad861b5c],.xfade-enter-from[data-v-ad861b5c]{opacity:0}.xfade-enter-active[data-v-ad861b5c]{transition:opacity .4s ease}.xfade-leave-active[data-v-ad861b5c]{transition:opacity .4s ease;opacity:0}.monaco-editor-container[data-v-cfbdfd35]{width:100%;height:100%}.monaco-editor-container.hide-unchanged-actions .diff-hidden-lines-widget{cursor:not-allowed}.monaco-editor-container.hide-unchanged-actions .diff-hidden-lines-widget .diff-hidden-lines{pointer-events:none;opacity:.75}.top-bar-wrap[data-v-937915eb]{box-sizing:border-box;height:32px;display:flex;overflow:hidden;align-items:center;background-color:#f7f7f7;padding:4px 8px}.top-bar-wrap .title-area[data-v-937915eb]{flex:1;display:flex;align-items:center;overflow:hidden}.top-bar-wrap .title-area .filename[data-v-937915eb]{font-size:14px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-bar-wrap .title-area .diff-line-num[data-v-937915eb]{flex-shrink:0;display:inline-flex;font-size:12px;font-weight:700;margin-left:4px}.top-bar-wrap .title-area .diff-line-num .add[data-v-937915eb]{color:#1a7f37}.top-bar-wrap .title-area .diff-line-num .del[data-v-937915eb]{color:#d1242f;margin-left:4px}.top-bar-wrap .toolbar[data-v-937915eb]{font-size:12px;flex-shrink:0;display:flex;align-items:center;gap:4px}.top-bar-wrap .toolbar label[data-v-937915eb]{display:inline-flex;align-items:center;cursor:pointer;margin-right:4px}.top-bar-wrap .toolbar label.disabled[data-v-937915eb]{opacity:.4;cursor:not-allowed;pointer-events:none}.top-bar-wrap .toolbar label input[data-v-937915eb]{margin-right:2px}.diff-type-tag[data-v-937915eb]{flex-shrink:0;display:block;font-size:10px;font-weight:600;padding:2px 4px;border-radius:2px;margin-left:4px}.diff-type-tag.changed[data-v-937915eb]{background-color:#ddf4ff;color:#0969da}.diff-type-tag.add[data-v-937915eb]{background-color:#dafbe1;color:#1a7f37}.diff-type-tag.del[data-v-937915eb]{background-color:#ffebe9;color:#d1242f}.diff-type-tag.rename[data-v-937915eb]{background-color:#fff8c5;color:#9a6700}.diff-viewer-wrap[data-v-1a08d1d2]{width:var(--viewer-width);border:1px solid #ddd}.diff-viewer-wrap .top-bar[data-v-1a08d1d2]{flex-shrink:0}.diff-viewer-wrap .content-wrap[data-v-1a08d1d2]{height:var(--viewer-height);overflow:hidden}")),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
3
|
-
`)}function Rt(e){if(H(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=Y(s)?Ra(s):Rt(s);if(i)for(const r in i)t[r]=i[r]}return t}else if(Y(e)||se(e))return e}const ld=/;(?![^(]*\))/g,cd=/:([^]+)/,ad=/\/\*[^]*?\*\//g;function Ra(e){const t={};return e.replace(ad,"").split(ld).forEach(n=>{if(n){const s=n.split(cd);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ud(e){if(!e)return"";if(Y(e))return e;let t="";for(const n in e){const s=e[n];if(Y(s)||typeof s=="number"){const i=n.startsWith("--")?n:Me(n);t+=`${i}:${s};`}}return t}function tn(e){let t="";if(Y(e))t=e;else if(H(e))for(let n=0;n<e.length;n++){const s=tn(e[n]);s&&(t+=s+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function fd(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Y(t)&&(e.class=tn(t)),n&&(e.style=Rt(n)),e}const pd="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",dd="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",hd="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",md="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Ma=Ve(pd),$a=Ve(dd),La=Ve(hd),gd=Ve(md),Fa="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",vd=Ve(Fa),rc=Ve(Fa+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Qo(e){return!!e||e===""}const Ed=Ve("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),yd=Ve("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function _d(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const Nd=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function bd(e,t){return e.replace(Nd,n=>`\\${n}`)}function Od(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=En(e[s],t[s]);return n}function En(e,t){if(e===t)return!0;let n=nc(e),s=nc(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=et(e),s=et(t),n||s)return e===t;if(n=H(e),s=H(t),n||s)return n&&s?Od(e,t):!1;if(n=se(e),s=se(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!En(e[o],t[o]))return!1}}return String(e)===String(t)}function Nr(e,t){return e.findIndex(n=>En(n,t))}const ja=e=>!!(e&&e.__v_isRef===!0),Tn=e=>Y(e)?e:e==null?"":H(e)||se(e)&&(e.toString===ka||!z(e.toString))?ja(e)?Tn(e.value):JSON.stringify(e,Ha,2):String(e),Ha=(e,t)=>ja(t)?Ha(e,t.value):xn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[Yr(s,r)+" =>"]=i,n),{})}:Bn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Yr(n))}:et(t)?Yr(t):se(t)&&!H(t)&&!vr(t)?String(t):t,Yr=(e,t="")=>{var n;return et(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Ba(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:((typeof e!="number"||!Number.isFinite(e))&&process.env.NODE_ENV!=="production"&&console.warn("[Vue warn] Invalid value used for CSS binding. Expected a string or a finite number but received:",e),String(e))}function rt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Pe;class el{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Pe,!t&&Pe&&(this.index=(Pe.scopes||(Pe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Pe;try{return Pe=this,t()}finally{Pe=n}}else process.env.NODE_ENV!=="production"&&rt("cannot run an inactive effect scope.")}on(){++this._on===1&&(this.prevScope=Pe,Pe=this)}off(){this._on>0&&--this._on===0&&(Pe=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Sd(e){return new el(e)}function Ua(){return Pe}function wd(e,t=!1){Pe?Pe.cleanups.push(e):process.env.NODE_ENV!=="production"&&!t&&rt("onScopeDispose() is called when there is no active effect scope to be associated with.")}let ae;const Xr=new WeakSet;class Ks{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Pe&&Pe.active&&Pe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Xr.has(this)&&(Xr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Wa(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,oc(this),qa(this);const t=ae,n=St;ae=this,St=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&ae!==this&&rt("Active effect was not restored correctly - this is likely a Vue internal bug."),Ga(this),ae=t,St=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)sl(t);this.deps=this.depsTail=void 0,oc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Xr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){vo(this)&&this.run()}get dirty(){return vo(this)}}let Ka=0,Rs,Ms;function Wa(e,t=!1){if(e.flags|=8,t){e.next=Ms,Ms=e;return}e.next=Rs,Rs=e}function tl(){Ka++}function nl(){if(--Ka>0)return;if(Ms){let t=Ms;for(Ms=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Rs;){let t=Rs;for(Rs=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function qa(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ga(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),sl(s),Cd(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function vo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(za(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function za(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ws)||(e.globalVersion=Ws,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!vo(e))))return;e.flags|=2;const t=e.dep,n=ae,s=St;ae=e,St=!0;try{qa(e);const i=e.fn(e._value);(t.version===0||Ue(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{ae=n,St=s,Ga(e),e.flags&=-3}}function sl(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=i),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)sl(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Cd(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Td(e,t){e.effect instanceof Ks&&(e=e.effect.fn);const n=new Ks(e);t&&ee(n,t);try{n.run()}catch(i){throw n.stop(),i}const s=n.run.bind(n);return s.effect=n,s}function Dd(e){e.effect.stop()}let St=!0;const Ja=[];function Ct(){Ja.push(St),St=!1}function Tt(){const e=Ja.pop();St=e===void 0?!0:e}function oc(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ae;ae=void 0;try{t()}finally{ae=n}}}let Ws=0;class Vd{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class br{constructor(t){this.computed=t,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,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!ae||!St||ae===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ae)n=this.activeLink=new Vd(ae,this),ae.deps?(n.prevDep=ae.depsTail,ae.depsTail.nextDep=n,ae.depsTail=n):ae.deps=ae.depsTail=n,Ya(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ae.depsTail,n.nextDep=void 0,ae.depsTail.nextDep=n,ae.depsTail=n,ae.deps===n&&(ae.deps=s)}return process.env.NODE_ENV!=="production"&&ae.onTrack&&ae.onTrack(ee({effect:ae},t)),n}trigger(t){this.version++,Ws++,this.notify(t)}notify(t){tl();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(ee({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{nl()}}}function Ya(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Ya(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Bi=new WeakMap,An=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),Eo=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),qs=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function Te(e,t,n){if(St&&ae){let s=Bi.get(e);s||Bi.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new br),i.map=s,i.key=n),process.env.NODE_ENV!=="production"?i.track({target:e,type:t,key:n}):i.track()}}function Pt(e,t,n,s,i,r){const o=Bi.get(e);if(!o){Ws++;return}const l=c=>{c&&(process.env.NODE_ENV!=="production"?c.trigger({target:e,type:t,key:n,newValue:s,oldValue:i,oldTarget:r}):c.trigger())};if(tl(),t==="clear")o.forEach(l);else{const c=H(e),f=c&&Er(n);if(c&&n==="length"){const u=Number(s);o.forEach((a,p)=>{(p==="length"||p===qs||!et(p)&&p>=u)&&l(a)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(qs)),t){case"add":c?f&&l(o.get("length")):(l(o.get(An)),xn(e)&&l(o.get(Eo)));break;case"delete":c||(l(o.get(An)),xn(e)&&l(o.get(Eo)));break;case"set":xn(e)&&l(o.get(An));break}}nl()}function xd(e,t){const n=Bi.get(e);return n&&n.get(t)}function zn(e){const t=Q(e);return t===e?t:(Te(t,"iterate",qs),Ie(e)?t:t.map(Dt))}function Or(e){return Te(e=Q(e),"iterate",qs),e}function cn(e,t){return ht(e)?cs(Mt(e)?Dt(t):t):Dt(t)}const Ad={__proto__:null,[Symbol.iterator](){return Zr(this,Symbol.iterator,e=>cn(this,e))},concat(...e){return zn(this).concat(...e.map(t=>H(t)?zn(t):t))},entries(){return Zr(this,"entries",e=>(e[1]=cn(this,e[1]),e))},every(e,t){return Ht(this,"every",e,t,void 0,arguments)},filter(e,t){return Ht(this,"filter",e,t,n=>n.map(s=>cn(this,s)),arguments)},find(e,t){return Ht(this,"find",e,t,n=>cn(this,n),arguments)},findIndex(e,t){return Ht(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ht(this,"findLast",e,t,n=>cn(this,n),arguments)},findLastIndex(e,t){return Ht(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ht(this,"forEach",e,t,void 0,arguments)},includes(...e){return Qr(this,"includes",e)},indexOf(...e){return Qr(this,"indexOf",e)},join(e){return zn(this).join(e)},lastIndexOf(...e){return Qr(this,"lastIndexOf",e)},map(e,t){return Ht(this,"map",e,t,void 0,arguments)},pop(){return Ss(this,"pop")},push(...e){return Ss(this,"push",e)},reduce(e,...t){return lc(this,"reduce",e,t)},reduceRight(e,...t){return lc(this,"reduceRight",e,t)},shift(){return Ss(this,"shift")},some(e,t){return Ht(this,"some",e,t,void 0,arguments)},splice(...e){return Ss(this,"splice",e)},toReversed(){return zn(this).toReversed()},toSorted(e){return zn(this).toSorted(e)},toSpliced(...e){return zn(this).toSpliced(...e)},unshift(...e){return Ss(this,"unshift",e)},values(){return Zr(this,"values",e=>cn(this,e))}};function Zr(e,t,n){const s=Or(e),i=s[t]();return s!==e&&!Ie(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=n(r.value)),r}),i}const Id=Array.prototype;function Ht(e,t,n,s,i,r){const o=Or(e),l=o!==e&&!Ie(e),c=o[t];if(c!==Id[t]){const a=c.apply(e,r);return l?Dt(a):a}let f=n;o!==e&&(l?f=function(a,p){return n.call(this,cn(e,a),p,e)}:n.length>2&&(f=function(a,p){return n.call(this,a,p,e)}));const u=c.call(o,f,s);return l&&i?i(u):u}function lc(e,t,n,s){const i=Or(e);let r=n;return i!==e&&(Ie(e)?n.length>3&&(r=function(o,l,c){return n.call(this,o,l,c,e)}):r=function(o,l,c){return n.call(this,o,cn(e,l),c,e)}),i[t](r,...s)}function Qr(e,t,n){const s=Q(e);Te(s,"iterate",qs);const i=s[t](...n);return(i===-1||i===!1)&&$n(n[0])?(n[0]=Q(n[0]),s[t](...n)):i}function Ss(e,t,n=[]){Ct(),tl();const s=Q(e)[t].apply(e,n);return nl(),Tt(),s}const kd=Ve("__proto__,__v_isRef,__isVue"),Xa=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(et));function Pd(e){et(e)||(e=String(e));const t=Q(this);return Te(t,"has",e),t.hasOwnProperty(e)}class Za{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?iu:su:r?nu:tu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=H(t);if(!i){let c;if(o&&(c=Ad[n]))return c;if(n==="hasOwnProperty")return Pd}const l=Reflect.get(t,n,ye(t)?t:s);if((et(n)?Xa.has(n):kd(n))||(i||Te(t,"get",n),r))return l;if(ye(l)){const c=o&&Er(n)?l:l.value;return i&&se(c)?Gs(c):c}return se(l)?i?Gs(l):wr(l):l}}class Qa extends Za{constructor(t=!1){super(!1,t)}set(t,n,s,i){let r=t[n];const o=H(t)&&Er(n);if(!this._isShallow){const f=ht(r);if(!Ie(s)&&!ht(s)&&(r=Q(r),s=Q(s)),!o&&ye(r)&&!ye(s))return f?(process.env.NODE_ENV!=="production"&&rt(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(r.value=s,!0)}const l=o?Number(n)<t.length:re(t,n),c=Reflect.set(t,n,s,ye(t)?t:i);return t===Q(i)&&(l?Ue(s,r)&&Pt(t,"set",n,s,r):Pt(t,"add",n,s)),c}deleteProperty(t,n){const s=re(t,n),i=t[n],r=Reflect.deleteProperty(t,n);return r&&s&&Pt(t,"delete",n,void 0,i),r}has(t,n){const s=Reflect.has(t,n);return(!et(n)||!Xa.has(n))&&Te(t,"has",n),s}ownKeys(t){return Te(t,"iterate",H(t)?"length":An),Reflect.ownKeys(t)}}class eu extends Za{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&rt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&rt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Rd=new Qa,Md=new eu,$d=new Qa(!0),Ld=new eu(!0),yo=e=>e,yi=e=>Reflect.getPrototypeOf(e);function Fd(e,t,n){return function(...s){const i=this.__v_raw,r=Q(i),o=xn(r),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=i[e](...s),u=n?yo:t?cs:Dt;return!t&&Te(r,"iterate",c?Eo:An),ee(Object.create(f),{next(){const{value:a,done:p}=f.next();return p?{value:a,done:p}:{value:l?[u(a[0]),u(a[1])]:u(a),done:p}}})}}function _i(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";rt(`${Ft(e)} operation ${n}failed: target is readonly.`,Q(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function jd(e,t){const n={get(i){const r=this.__v_raw,o=Q(r),l=Q(i);e||(Ue(i,l)&&Te(o,"get",i),Te(o,"get",l));const{has:c}=yi(o),f=t?yo:e?cs:Dt;if(c.call(o,i))return f(r.get(i));if(c.call(o,l))return f(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&Te(Q(i),"iterate",An),i.size},has(i){const r=this.__v_raw,o=Q(r),l=Q(i);return e||(Ue(i,l)&&Te(o,"has",i),Te(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,c=Q(l),f=t?yo:e?cs:Dt;return!e&&Te(c,"iterate",An),l.forEach((u,a)=>i.call(r,f(u),f(a),o))}};return ee(n,e?{add:_i("add"),set:_i("set"),delete:_i("delete"),clear:_i("clear")}:{add(i){!t&&!Ie(i)&&!ht(i)&&(i=Q(i));const r=Q(this);return yi(r).has.call(r,i)||(r.add(i),Pt(r,"add",i,i)),this},set(i,r){!t&&!Ie(r)&&!ht(r)&&(r=Q(r));const o=Q(this),{has:l,get:c}=yi(o);let f=l.call(o,i);f?process.env.NODE_ENV!=="production"&&cc(o,l,i):(i=Q(i),f=l.call(o,i));const u=c.call(o,i);return o.set(i,r),f?Ue(r,u)&&Pt(o,"set",i,r,u):Pt(o,"add",i,r),this},delete(i){const r=Q(this),{has:o,get:l}=yi(r);let c=o.call(r,i);c?process.env.NODE_ENV!=="production"&&cc(r,o,i):(i=Q(i),c=o.call(r,i));const f=l?l.call(r,i):void 0,u=r.delete(i);return c&&Pt(r,"delete",i,void 0,f),u},clear(){const i=Q(this),r=i.size!==0,o=process.env.NODE_ENV!=="production"?xn(i)?new Map(i):new Set(i):void 0,l=i.clear();return r&&Pt(i,"clear",void 0,void 0,o),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Fd(i,e,t)}),n}function Sr(e,t){const n=jd(e,t);return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(re(n,i)&&i in s?n:s,i,r)}const Hd={get:Sr(!1,!1)},Bd={get:Sr(!1,!0)},Ud={get:Sr(!0,!1)},Kd={get:Sr(!0,!0)};function cc(e,t,n){const s=Q(n);if(s!==n&&t.call(e,s)){const i=Zo(e);rt(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const tu=new WeakMap,nu=new WeakMap,su=new WeakMap,iu=new WeakMap;function Wd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qd(e){return e.__v_skip||!Object.isExtensible(e)?0:Wd(Zo(e))}function wr(e){return ht(e)?e:Cr(e,!1,Rd,Hd,tu)}function ru(e){return Cr(e,!1,$d,Bd,nu)}function Gs(e){return Cr(e,!0,Md,Ud,su)}function Nt(e){return Cr(e,!0,Ld,Kd,iu)}function Cr(e,t,n,s,i){if(!se(e))return process.env.NODE_ENV!=="production"&&rt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=qd(e);if(r===0)return e;const o=i.get(e);if(o)return o;const l=new Proxy(e,r===2?s:n);return i.set(e,l),l}function Mt(e){return ht(e)?Mt(e.__v_raw):!!(e&&e.__v_isReactive)}function ht(e){return!!(e&&e.__v_isReadonly)}function Ie(e){return!!(e&&e.__v_isShallow)}function $n(e){return e?!!e.__v_raw:!1}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function ou(e){return!re(e,"__v_skip")&&Object.isExtensible(e)&&ls(e,"__v_skip",!0),e}const Dt=e=>se(e)?wr(e):e,cs=e=>se(e)?Gs(e):e;function ye(e){return e?e.__v_isRef===!0:!1}function $e(e){return lu(e,!1)}function Qn(e){return lu(e,!0)}function lu(e,t){return ye(e)?e:new Gd(e,t)}class Gd{constructor(t,n){this.dep=new br,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Q(t),this._value=n?t:Dt(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ie(t)||ht(t);t=s?t:Q(t),Ue(t,n)&&(this._rawValue=t,this._value=s?t:Dt(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function zd(e){e.dep&&(process.env.NODE_ENV!=="production"?e.dep.trigger({target:e,type:"set",key:"value",newValue:e._value}):e.dep.trigger())}function $t(e){return ye(e)?e.value:e}function Jd(e){return z(e)?e():$t(e)}const Yd={get:(e,t,n)=>t==="__v_raw"?e:$t(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return ye(i)&&!ye(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function il(e){return Mt(e)?e:new Proxy(e,Yd)}class Xd{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new br,{get:s,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function cu(e){return new Xd(e)}function Zd(e){process.env.NODE_ENV!=="production"&&!$n(e)&&rt("toRefs() expects a reactive object but received a plain one.");const t=H(e)?new Array(e.length):{};for(const n in e)t[n]=au(e,n);return t}class Qd{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=Q(t);let i=!0,r=t;if(!H(t)||!Er(String(n)))do i=!$n(r)||Ie(r);while(i&&(r=r.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=$t(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ye(this._raw[this._key])){const n=this._object[this._key];if(ye(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return xd(this._raw,this._key)}}class eh{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function th(e,t,n){return ye(e)?e:z(e)?new eh(e):se(e)&&arguments.length>1?au(e,t,n):$e(e)}function au(e,t,n){return new Qd(e,t,n)}class nh{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new br(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ws-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ae!==this)return Wa(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return za(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&rt("Write operation failed: computed value is readonly")}}function sh(e,t,n=!1){let s,i;z(e)?s=e:(s=e.get,i=e.set);const r=new nh(s,i,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(r.onTrack=t.onTrack,r.onTrigger=t.onTrigger),r}const ih={GET:"get",HAS:"has",ITERATE:"iterate"},rh={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Ni={},Ui=new WeakMap;let an;function oh(){return an}function uu(e,t=!1,n=an){if(n){let s=Ui.get(n);s||Ui.set(n,s=[]),s.push(e)}else process.env.NODE_ENV!=="production"&&!t&&rt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function lh(e,t,n=ne){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:l,call:c}=n,f=y=>{(n.onWarn||rt)("Invalid watch source: ",y,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=y=>i?y:Ie(y)||i===!1||i===0?zt(y,1):zt(y);let a,p,m,g,v=!1,x=!1;if(ye(e)?(p=()=>e.value,v=Ie(e)):Mt(e)?(p=()=>u(e),v=!0):H(e)?(x=!0,v=e.some(y=>Mt(y)||Ie(y)),p=()=>e.map(y=>{if(ye(y))return y.value;if(Mt(y))return u(y);if(z(y))return c?c(y,2):y();process.env.NODE_ENV!=="production"&&f(y)})):z(e)?t?p=c?()=>c(e,2):e:p=()=>{if(m){Ct();try{m()}finally{Tt()}}const y=an;an=a;try{return c?c(e,3,[g]):e(g)}finally{an=y}}:(p=ge,process.env.NODE_ENV!=="production"&&f(e)),t&&i){const y=p,T=i===!0?1/0:i;p=()=>zt(y(),T)}const D=Ua(),b=()=>{a.stop(),D&&D.active&&Xo(D.effects,a)};if(r&&t){const y=t;t=(...T)=>{y(...T),b()}}let h=x?new Array(e.length).fill(Ni):Ni;const _=y=>{if(!(!(a.flags&1)||!a.dirty&&!y))if(t){const T=a.run();if(i||v||(x?T.some((j,V)=>Ue(j,h[V])):Ue(T,h))){m&&m();const j=an;an=a;try{const V=[T,h===Ni?void 0:x&&h[0]===Ni?[]:h,g];h=T,c?c(t,3,V):t(...V)}finally{an=j}}}else a.run()};return l&&l(_),a=new Ks(p),a.scheduler=o?()=>o(_,!1):_,g=y=>uu(y,!1,a),m=a.onStop=()=>{const y=Ui.get(a);if(y){if(c)c(y,4);else for(const T of y)T();Ui.delete(a)}},process.env.NODE_ENV!=="production"&&(a.onTrack=n.onTrack,a.onTrigger=n.onTrigger),t?s?_(!0):h=a.run():o?o(_.bind(null,!0),!0):a.run(),b.pause=a.pause.bind(a),b.resume=a.resume.bind(a),b.stop=b,b}function zt(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ye(e))zt(e.value,t,n);else if(H(e))for(let s=0;s<e.length;s++)zt(e[s],t,n);else if(Bn(e)||xn(e))e.forEach(s=>{zt(s,t,n)});else if(vr(e)){for(const s in e)zt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&zt(e[s],t,n)}return e}const In=[];function ts(e){In.push(e)}function ns(){In.pop()}let eo=!1;function C(e,...t){if(eo)return;eo=!0,Ct();const n=In.length?In[In.length-1].component:null,s=n&&n.appContext.config.warnHandler,i=ch();if(s)Un(s,n,11,[e+t.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),n&&n.proxy,i.map(({vnode:r})=>`at <${di(n,r.type)}>`).join(`
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.m-loading-parent--relative{position:relative}.m-loading-mask[data-v-da721280]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff9}@keyframes widgetLoading-da721280{0%{opacity:.2;transform:translateY(var(--column-height)) scaleY(1)}50%{opacity:1;transform:translateY(calc(var(--column-height) / 2)) scaleY(2)}to{opacity:.2;transform:translateY(var(--column-height)) scaleY(1)}}.loading-animate[data-v-da721280]{height:30px;position:relative}.loading-animate .loading-animate-column[data-v-da721280]{position:absolute;width:var(--column-width);height:var(--column-height);opacity:.2;animation:.6s ease-in-out 0s infinite widgetLoading-da721280;transform:translateY(var(--column-height)) scaleY(1);transform-origin:top}.xfade-enter[data-v-da721280],.xfade-enter-from[data-v-da721280]{opacity:0}.xfade-enter-active[data-v-da721280]{transition:opacity .4s ease}.xfade-leave-active[data-v-da721280]{transition:opacity .4s ease;opacity:0}.scroll-wrapper[data-v-2acac909]{overflow-y:auto;scrollbar-width:thin}.scroll-wrapper .virtual-item[data-v-2acac909]{width:100%;position:absolute;top:0;left:0}.monaco-editor-container[data-v-715fa2d2]{width:100%;height:100%}.context-view.monaco-component .workbench-hover-container .hover-contents{white-space:nowrap!important}.monaco-editor-container .codicon.codicon-widget-close{box-sizing:content-box!important}.monaco-editor-container.hide-unchanged-actions .diff-hidden-lines-widget{cursor:not-allowed}.monaco-editor-container.hide-unchanged-actions .diff-hidden-lines-widget .diff-hidden-lines{pointer-events:none;opacity:.75}.top-bar-wrap[data-v-e0325530]{box-sizing:border-box;display:flex;overflow:hidden;align-items:center;background-color:#f7f7f7;padding:4px 8px}.top-bar-wrap .title-area[data-v-e0325530]{flex:1;display:flex;align-items:center;overflow:hidden}.top-bar-wrap .title-area .filename[data-v-e0325530]{font-size:14px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-bar-wrap .title-area .diff-line-num[data-v-e0325530]{flex-shrink:0;display:inline-flex;font-size:12px;font-weight:700;margin-left:4px}.top-bar-wrap .title-area .diff-line-num .add[data-v-e0325530]{color:#1a7f37}.top-bar-wrap .title-area .diff-line-num .del[data-v-e0325530]{color:#d1242f;margin-left:4px}.top-bar-wrap .toolbar[data-v-e0325530]{font-size:12px;flex-shrink:0;display:flex;align-items:center;gap:4px}.top-bar-wrap .toolbar label[data-v-e0325530]{display:inline-flex;align-items:center;cursor:pointer;margin-right:4px}.top-bar-wrap .toolbar label.disabled[data-v-e0325530]{opacity:.4;cursor:not-allowed;pointer-events:none}.top-bar-wrap .toolbar label input[data-v-e0325530]{margin-right:2px}.diff-type-tag[data-v-e0325530]{flex-shrink:0;display:block;font-size:10px;font-weight:600;padding:2px 4px;border-radius:2px;margin-left:4px}.diff-type-tag.changed[data-v-e0325530]{background-color:#ddf4ff;color:#0969da}.diff-type-tag.add[data-v-e0325530]{background-color:#dafbe1;color:#1a7f37}.diff-type-tag.del[data-v-e0325530]{background-color:#ffebe9;color:#d1242f}.diff-type-tag.rename[data-v-e0325530]{background-color:#fff8c5;color:#9a6700}.diff-viewer-wrap[data-v-cfac6974]{width:var(--viewer-width);border:1px solid #ddd}.diff-viewer-wrap .top-bar[data-v-cfac6974]{flex-shrink:0}.diff-viewer-wrap .content-wrap[data-v-cfac6974]{height:var(--viewer-height);overflow:hidden}body{-webkit-tap-highlight-color:transparent}@-webkit-keyframes vtree-animation-spin{0%{-webkit-transform:rotate(0deg) translate3d(0,0,0);transform:rotate(0) translateZ(0)}to{-webkit-transform:rotate(360deg) translate3d(0,0,0);transform:rotate(360deg) translateZ(0)}}@keyframes vtree-animation-spin{0%{-webkit-transform:rotate(0deg) translate3d(0,0,0);transform:rotate(0) translateZ(0)}to{-webkit-transform:rotate(360deg) translate3d(0,0,0);transform:rotate(360deg) translateZ(0)}}@-webkit-keyframes vtree-animation-svg-circle-spin{0%{stroke-dasharray:1 130;stroke-dashoffset:0}50%{stroke-dasharray:90 130;stroke-dashoffset:-30}to{stroke-dasharray:90 130;stroke-dashoffset:-124}}@keyframes vtree-animation-svg-circle-spin{0%{stroke-dasharray:1 130;stroke-dashoffset:0}50%{stroke-dasharray:90 130;stroke-dashoffset:-30}to{stroke-dasharray:90 130;stroke-dashoffset:-124}}.vtree-tree__wrapper{width:100%;height:100%;position:relative}.vtree-tree__scroll-area{width:100%;height:100%;overflow:auto;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.vtree-tree__block-area{-webkit-box-flex:1;-ms-flex:1;flex:1}.vtree-tree__empty{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0}.vtree-tree__empty-text_default{width:100%;text-align:center}.vtree-tree__loading{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0;background-color:#fffffff2}.vtree-tree__loading-wrapper{width:100%;text-align:center}.vtree-tree__loading-icon{display:inline-block;width:30px;height:30px;-webkit-animation:vtree-animation-spin 2s linear infinite;animation:vtree-animation-spin 2s linear infinite}.vtree-tree__loading-icon .vtree-loading-icon__circle{stroke:#2d8cf0;stroke-linecap:round;-webkit-animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite;animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite}.vtree-tree__iframe{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0;display:block;border:none;padding:0;margin:0;opacity:0;z-index:-1000;pointer-events:none}.vtree-tree-node__indent-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.vtree-tree-node__wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.vtree-tree-node__drop{width:100%;height:2px}.vtree-tree-node__drop_active{background-color:#5cadff}.vtree-tree-node__node-body{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vtree-tree-node__square{position:relative;width:20px;height:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vtree-tree-node__expand i{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;width:16px;height:16px;position:relative;-webkit-transition:-webkit-transform .2s linear;transition:-webkit-transform .2s linear;transition:transform .2s linear;transition:transform .2s linear,-webkit-transform .2s linear}.vtree-tree-node__expand i:after{content:"";display:block;width:0;height:0;position:absolute;border:5px solid transparent;border-left:5px solid #515a6e}.vtree-tree-node__expand_active i{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.vtree-tree-node__loading-icon{display:inline-block;width:14px;height:14px;-webkit-animation:vtree-animation-spin 2s linear infinite;animation:vtree-animation-spin 2s linear infinite}.vtree-tree-node__loading-icon .vtree-loading-icon__circle{stroke:#515a6e;stroke-linecap:round;-webkit-animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite;animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite}.vtree-tree-node__checkbox{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;width:14px;height:14px;position:absolute;border:1px solid;border-color:#dcdee2;border-radius:2px;background-color:#fff;-webkit-transition:border-color .2s ease-in-out,background-color .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.vtree-tree-node__checkbox:after{content:"";display:table;position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;border:2px solid #fff;border-top:0;border-left:0;width:4px;height:8px;top:1px;left:4px;-webkit-transform:rotate(45deg) scale(0);transform:rotate(45deg) scale(0);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}@media(any-hover:hover){.vtree-tree-node__checkbox:hover{border-color:#c5c8ce}}.vtree-tree-node__checkbox:focus{-webkit-box-shadow:0 0 0 2px #5cadff;box-shadow:0 0 0 2px #5cadff}.vtree-tree-node__checkbox_checked{border-color:#2d8cf0;background-color:#2d8cf0}.vtree-tree-node__checkbox_checked:after{width:4px;height:8px;top:1px;left:4px;-webkit-transform:rotate(45deg) scale(1);transform:rotate(45deg) scale(1)}@media(any-hover:hover){.vtree-tree-node__checkbox_checked:hover{border-color:#2d8cf0;background-color:#2d8cf0}}.vtree-tree-node__checkbox_indeterminate{border-color:#2d8cf0;background-color:#2d8cf0}.vtree-tree-node__checkbox_indeterminate:after{width:8px;height:1px;top:5px;left:2px;-webkit-transform:scale(1);transform:scale(1)}@media(any-hover:hover){.vtree-tree-node__checkbox_indeterminate:hover{border-color:#2d8cf0;background-color:#2d8cf0}}.vtree-tree-node__checkbox_disabled{cursor:not-allowed;border-color:#dcdee2;background-color:#e8eaec}@media(any-hover:hover){.vtree-tree-node__checkbox_disabled:hover{border-color:#dcdee2;background-color:#e8eaec}}.vtree-tree-node__checkbox_disabled:after{border-color:#c5c8ce}.vtree-tree-node__title{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-flex:1;-ms-flex:1;flex:1;height:26px;line-height:26px;margin-left:5px;padding-left:5px;background-color:transparent;word-break:keep-all;white-space:nowrap;word-wrap:none}@media(any-hover:hover){.vtree-tree-node__title:hover{background-color:#ebf5ff}}.vtree-tree-node__title_selected{background-color:#d4e7fc}@media(any-hover:hover){.vtree-tree-node__title_selected:hover{background-color:#d4e7fc}}.vtree-tree-node__title_disabled{cursor:not-allowed;color:#c5c8ce}.vtree-expand-animation-enter-from,.vtree-expand-animation-leave-to{opacity:0;grid-template-rows:0fr}.vtree-expand-animation-enter-to,.vtree-expand-animation-leave-from{opacity:1;grid-template-rows:1fr}.vtree-expand-animation-enter-active,.vtree-expand-animation-leave-active{-webkit-transition:opacity .2s,grid-template-rows .2s;transition:opacity .2s,grid-template-rows .2s;transition:opacity .2s,grid-template-rows .2s,-ms-grid-rows .2s}.vtree-tree-search__wrapper{width:100%;height:100%;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.vtree-tree-search__search{height:42px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box}.vtree-tree-search__check-all-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-pack:initial;-ms-flex-pack:initial;justify-content:initial;width:40px}.vtree-tree-search__check-all{margin-left:23px}.vtree-tree-search__input-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-left:5px;-webkit-box-flex:1;-ms-flex:1;flex:1}.vtree-tree-search__input{color:#515a6e;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:32px;border:1px solid #dcdee2;border-radius:4px;padding:4px 7px;outline:none;-webkit-transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.vtree-tree-search__input::-webkit-input-placeholder{color:#c5c8ce}.vtree-tree-search__input::-moz-placeholder{color:#c5c8ce}.vtree-tree-search__input:-ms-input-placeholder{color:#c5c8ce}.vtree-tree-search__input::-ms-input-placeholder{color:#c5c8ce}.vtree-tree-search__input::placeholder{color:#c5c8ce}@media(any-hover:hover){.vtree-tree-search__input:hover{border-color:#57a3f3}}.vtree-tree-search__input:focus{border-color:#57a3f3;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px #2d8cf033}.vtree-tree-search__input_disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}@media(any-hover:hover){.vtree-tree-search__input_disabled:hover{border-color:#dcdee2}}.vtree-tree-search__action-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 10px}.vtree-tree-search__checked-button{cursor:pointer}@media(any-hover:hover){.vtree-tree-search__checked-button:hover{color:#5cadff}}.vtree-tree-search__checked-button_active{color:#2d8cf0}.vtree-tree-search__tree-wrapper{width:100%;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto}.vtree-tree-search__footer{padding:5px}.vtree-tree-drop__wrapper{position:relative}.vtree-tree-drop__reference{cursor:pointer}.vtree-tree-drop__display-input{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-right:20px}.vtree-tree-drop__display-input-text{display:block;height:100%;line-height:22px}.vtree-tree-drop__display-input-placeholder{color:#c5c8ce}.vtree-tree-drop__display-input_focus{border-color:#57a3f3;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px #2d8cf033}.vtree-tree-drop__display-icon-drop{position:absolute;top:8px;right:3px;width:14px;height:14px;-webkit-box-sizing:border-box;box-sizing:border-box;border:3px solid #808695;border-top:none;border-left:none;-webkit-transform:rotate(45deg) scale(.5) translateX(-3.5px) translateY(-3.5px);transform:rotate(45deg) scale(.5) translate(-3.5px) translateY(-3.5px);-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.vtree-tree-drop__display-icon-drop_active{-webkit-transform:rotate(225deg) scale(.5) translateX(-3.5px) translateY(-3.5px);transform:rotate(225deg) scale(.5) translate(-3.5px) translateY(-3.5px)}.vtree-tree-drop__display-icon-clear{position:absolute;top:8px;right:3px;width:14px;height:14px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:50%;background-color:#808695;overflow:hidden;-webkit-transform:scale(.9) rotate(45deg);transform:scale(.9) rotate(45deg);display:none}.vtree-tree-drop__display-icon-clear:before{content:"";width:1px;height:7px;display:block;background-color:#fff;position:absolute;top:3.5px;left:6.5px}.vtree-tree-drop__display-icon-clear:after{content:"";width:1px;height:7px;display:block;background-color:#fff;position:absolute;top:3.5px;left:6.5px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}@media(any-hover:hover){.vtree-tree-drop__display-input:hover .vtree-tree-drop__display-icon-clear{display:block}}.vtree-tree-drop__dropdown{position:absolute;top:-999px;left:-999px;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px #0003;border-radius:4px;margin:5px 0;padding:5px 0;-webkit-transform-origin:center top 0px;transform-origin:center top 0px;background-color:#fff;z-index:9999}.vtree-tree-drop__dropdown .vtree-tree-search__search{border-bottom:1px solid #dcdee2;padding-bottom:5px;height:38px}.vtree-tree-drop__dropdown .vtree-tree-search__tree-wrapper{padding-top:5px}.vtree-dropdown-enter-from,.vtree-dropdown-leave-to{opacity:0;-webkit-transform:scaleY(.8);transform:scaleY(.8)}.vtree-dropdown-enter-active,.vtree-dropdown-leave-active{-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s}.file-search[data-v-035db611]{flex:0 0 auto;padding:8px 9px;border-bottom:1px solid #dfe3e8;box-sizing:border-box;background:#fff}.file-search__input[data-v-035db611]{width:100%;height:32px;padding:4px 9px;border:1px solid #cbd2d9;border-radius:4px;box-sizing:border-box;color:#252a31;background:#fff;font:inherit;font-size:13px;letter-spacing:0;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.file-search__input[data-v-035db611]::placeholder{color:#8a929c}.file-search__input[data-v-035db611]:hover{border-color:#7aaed8}.file-search__input[data-v-035db611]:focus{border-color:#2979b8;box-shadow:0 0 0 2px #2979b829}.file-search__input[data-v-035db611]::-webkit-search-cancel-button{cursor:pointer}.file-explore-wrap[data-v-70ab28a6]{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:#fff}.file-tree[data-v-70ab28a6]{flex:1 1 0;width:100%;height:0;min-height:0;overflow:hidden;color:#252a31;font-size:13px}.file-tree-node[data-v-70ab28a6]{display:flex;align-items:center;width:100%;min-width:0;padding-right:8px;box-sizing:border-box;font-size:14px}.file-tree-node .file-tree-node__icon[data-v-70ab28a6]{width:16px;height:16px;margin-right:7px;flex:0 0 16px}.file-tree-node .file-tree-node__label[data-v-70ab28a6]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree-node__title{min-width:0;flex:1;overflow:hidden;cursor:pointer;margin-left:0;padding-left:2px}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree-node__title_selected{color:#1261a6;background:#e7f2fc}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree__empty-text_default{color:#747b85;font-size:13px}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree__scroll-area{scrollbar-width:thin}.diff-list-wrap[data-v-9f37abdf]{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-gutter:stable;padding:8px;box-sizing:border-box}.diff-list-wrap .file-wrap[data-v-9f37abdf]{height:100%;box-sizing:border-box}.diff-list-wrap .file-wrap--selected[data-v-9f37abdf] .diff-viewer-wrap{border-color:#1677ff}.diff-files-wrap[data-v-1a22123f]{width:100%;height:100%;display:flex;flex-direction:column}.diff-files-wrap .content-wrap[data-v-1a22123f]{flex:1;min-height:0;display:flex;overflow:hidden}.diff-files-wrap .content-wrap .file-explore[data-v-1a22123f]{width:300px;min-width:220px;max-width:40%;flex:0 0 300px;border-right:1px solid #dfe3e8;box-sizing:border-box}.diff-files-wrap .content-wrap .filelist-viewer-wrap[data-v-1a22123f]{min-width:0;flex:1;overflow:hidden}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function et(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ue=process.env.NODE_ENV!=="production"?Object.freeze({}):{},Ls=process.env.NODE_ENV!=="production"?Object.freeze([]):[],ke=()=>{},Ms=()=>!1,xn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Or=e=>e.startsWith("onUpdate:"),oe=Object.assign,Pl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lp=Object.prototype.hasOwnProperty,ve=(e,t)=>lp.call(e,t),K=Array.isArray,cs=e=>si(e)==="[object Map]",Ss=e=>si(e)==="[object Set]",Wa=e=>si(e)==="[object Date]",ap=e=>si(e)==="[object RegExp]",Q=e=>typeof e=="function",te=e=>typeof e=="string",wt=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",to=e=>(he(e)||Q(e))&&Q(e.then)&&Q(e.catch),Tu=Object.prototype.toString,si=e=>Tu.call(e),Ll=e=>si(e).slice(8,-1),no=e=>si(e)==="[object Object]",so=e=>te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,On=et(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vu=et("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),io=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},cp=/-\w/g,De=io(e=>e.replace(cp,t=>t.slice(1).toUpperCase())),up=/\B([A-Z])/g,ut=io(e=>e.replace(up,"-$1").toLowerCase()),an=io(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qt=io(e=>e?`on${an(e)}`:""),gt=(e,t)=>!Object.is(e,t),Hn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Us=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ro=e=>{const t=parseFloat(e);return isNaN(t)?e:t},wr=e=>{const t=te(e)?Number(e):NaN;return isNaN(t)?e:t};let za;const Ui=()=>za||(za=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fp(e,t){return e+JSON.stringify(t,(n,s)=>typeof s=="function"?s.toString():s)}const yi={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"CACHED",[-2]:"BAIL"},dp={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},hp="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",pp=et(hp),qa=2;function mp(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let s=e.split(/(\r?\n)/);const i=s.filter((l,a)=>a%2===1);s=s.filter((l,a)=>a%2===0);let r=0;const o=[];for(let l=0;l<s.length;l++)if(r+=s[l].length+(i[l]&&i[l].length||0),r>=t){for(let a=l-qa;a<=l+qa||n>r;a++){if(a<0||a>=s.length)continue;const c=a+1;o.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${s[a]}`);const u=s[a].length,f=i[a]&&i[a].length||0;if(a===l){const d=t-(r-(u+f)),h=Math.max(1,n>r?u-d:n-t);o.push(" | "+" ".repeat(d)+"^".repeat(h))}else if(a>l){if(n>r){const d=Math.max(Math.min(n-r,u),1);o.push(" | "+"^".repeat(d))}r+=u+f}}break}return o.join(`
|
|
3
|
+
`)}function qe(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=te(s)?ku(s):qe(s);if(i)for(const r in i)t[r]=i[r]}return t}else if(te(e)||he(e))return e}const gp=/;(?![^(]*\))/g,vp=/:([^]+)/,yp=/\/\*[^]*?\*\//g;function ku(e){const t={};return e.replace(yp,"").split(gp).forEach(n=>{if(n){const s=n.split(vp);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ep(e){if(!e)return"";if(te(e))return e;let t="";for(const n in e){const s=e[n];if(te(s)||typeof s=="number"){const i=n.startsWith("--")?n:ut(n);t+=`${i}:${s};`}}return t}function xe(e){let t="";if(te(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=xe(e[n]);s&&(t+=s+" ")}else if(he(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function _p(e){if(!e)return null;let{class:t,style:n}=e;return t&&!te(t)&&(e.class=xe(t)),n&&(e.style=qe(n)),e}const bp="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Np="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Sp="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",Op="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Au=et(bp),Iu=et(Np),Mu=et(Sp),wp=et(Op),Pu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Cp=et(Pu),Ga=et(Pu+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Fl(e){return!!e||e===""}const Dp=et("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),xp=et("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function Tp(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const Vp=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function kp(e,t){return e.replace(Vp,n=>`\\${n}`)}function Ap(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Yn(e[s],t[s]);return n}function Yn(e,t){if(e===t)return!0;let n=Wa(e),s=Wa(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=wt(e),s=wt(t),n||s)return e===t;if(n=K(e),s=K(t),n||s)return n&&s?Ap(e,t):!1;if(n=he(e),s=he(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(l&&!a||!l&&a||!Yn(e[o],t[o]))return!1}}return String(e)===String(t)}function oo(e,t){return e.findIndex(n=>Yn(n,t))}const Lu=e=>!!(e&&e.__v_isRef===!0),sn=e=>te(e)?e:e==null?"":K(e)||he(e)&&(e.toString===Tu||!Q(e.toString))?Lu(e)?sn(e.value):JSON.stringify(e,Fu,2):String(e),Fu=(e,t)=>Lu(t)?Fu(e,t.value):cs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[ko(s,r)+" =>"]=i,n),{})}:Ss(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ko(n))}:wt(t)?ko(t):he(t)&&!K(t)&&!no(t)?String(t):t,ko=(e,t="")=>{var n;return wt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Ru(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:((typeof e!="number"||!Number.isFinite(e))&&process.env.NODE_ENV!=="production"&&console.warn("[Vue warn] Invalid value used for CSS binding. Expected a string or a finite number but received:",e),String(e))}function xt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let at;class Rl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=at,!t&&at&&(this.index=(at.scopes||(at.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=at;try{return at=this,t()}finally{at=n}}else process.env.NODE_ENV!=="production"&&xt("cannot run an inactive effect scope.")}on(){++this._on===1&&(this.prevScope=at,at=this)}off(){this._on>0&&--this._on===0&&(at=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Ip(e){return new Rl(e)}function $u(){return at}function ju(e,t=!1){at?at.cleanups.push(e):process.env.NODE_ENV!=="production"&&!t&&xt("onScopeDispose() is called when there is no active effect scope to be associated with.")}let Ne;const Ao=new WeakSet;class Di{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,at&&at.active&&at.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ao.has(this)&&(Ao.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Bu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ja(this),Ku(this);const t=Ne,n=Ut;Ne=this,Ut=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&Ne!==this&&xt("Active effect was not restored correctly - this is likely a Vue internal bug."),Uu(this),Ne=t,Ut=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Hl(t);this.deps=this.depsTail=void 0,Ja(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ao.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Qo(this)&&this.run()}get dirty(){return Qo(this)}}let Hu=0,Ei,_i;function Bu(e,t=!1){if(e.flags|=8,t){e.next=_i,_i=e;return}e.next=Ei,Ei=e}function $l(){Hu++}function jl(){if(--Hu>0)return;if(_i){let t=_i;for(_i=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ei;){let t=Ei;for(Ei=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Ku(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Uu(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),Hl(s),Mp(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function Qo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Wu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Wu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xi)||(e.globalVersion=xi,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Qo(e))))return;e.flags|=2;const t=e.dep,n=Ne,s=Ut;Ne=e,Ut=!0;try{Ku(e);const i=e.fn(e._value);(t.version===0||gt(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Ne=n,Ut=s,Uu(e),e.flags&=-3}}function Hl(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=i),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Hl(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Mp(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Pp(e,t){e.effect instanceof Di&&(e=e.effect.fn);const n=new Di(e);t&&oe(n,t);try{n.run()}catch(i){throw n.stop(),i}const s=n.run.bind(n);return s.effect=n,s}function Lp(e){e.effect.stop()}let Ut=!0;const zu=[];function qt(){zu.push(Ut),Ut=!1}function Gt(){const e=zu.pop();Ut=e===void 0?!0:e}function Ja(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ne;Ne=void 0;try{t()}finally{Ne=n}}}let xi=0;class Fp{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class lo{constructor(t){this.computed=t,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,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!Ne||!Ut||Ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ne)n=this.activeLink=new Fp(Ne,this),Ne.deps?(n.prevDep=Ne.depsTail,Ne.depsTail.nextDep=n,Ne.depsTail=n):Ne.deps=Ne.depsTail=n,qu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Ne.depsTail,n.nextDep=void 0,Ne.depsTail.nextDep=n,Ne.depsTail=n,Ne.deps===n&&(Ne.deps=s)}return process.env.NODE_ENV!=="production"&&Ne.onTrack&&Ne.onTrack(oe({effect:Ne},t)),n}trigger(t){this.version++,xi++,this.notify(t)}notify(t){$l();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(oe({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{jl()}}}function qu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)qu(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Cr=new WeakMap,us=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),el=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Ti=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function Ue(e,t,n){if(Ut&&Ne){let s=Cr.get(e);s||Cr.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new lo),i.map=s,i.key=n),process.env.NODE_ENV!=="production"?i.track({target:e,type:t,key:n}):i.track()}}function nn(e,t,n,s,i,r){const o=Cr.get(e);if(!o){xi++;return}const l=a=>{a&&(process.env.NODE_ENV!=="production"?a.trigger({target:e,type:t,key:n,newValue:s,oldValue:i,oldTarget:r}):a.trigger())};if($l(),t==="clear")o.forEach(l);else{const a=K(e),c=a&&so(n);if(a&&n==="length"){const u=Number(s);o.forEach((f,d)=>{(d==="length"||d===Ti||!wt(d)&&d>=u)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),c&&l(o.get(Ti)),t){case"add":a?c&&l(o.get("length")):(l(o.get(us)),cs(e)&&l(o.get(el)));break;case"delete":a||(l(o.get(us)),cs(e)&&l(o.get(el)));break;case"set":cs(e)&&l(o.get(us));break}}jl()}function Rp(e,t){const n=Cr.get(e);return n&&n.get(t)}function Ts(e){const t=re(e);return t===e?t:(Ue(t,"iterate",Ti),ot(e)?t:t.map(Jt))}function ao(e){return Ue(e=re(e),"iterate",Ti),e}function Ln(e,t){return Pt(e)?Ws(on(e)?Jt(t):t):Jt(t)}const $p={__proto__:null,[Symbol.iterator](){return Io(this,Symbol.iterator,e=>Ln(this,e))},concat(...e){return Ts(this).concat(...e.map(t=>K(t)?Ts(t):t))},entries(){return Io(this,"entries",e=>(e[1]=Ln(this,e[1]),e))},every(e,t){return pn(this,"every",e,t,void 0,arguments)},filter(e,t){return pn(this,"filter",e,t,n=>n.map(s=>Ln(this,s)),arguments)},find(e,t){return pn(this,"find",e,t,n=>Ln(this,n),arguments)},findIndex(e,t){return pn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return pn(this,"findLast",e,t,n=>Ln(this,n),arguments)},findLastIndex(e,t){return pn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return pn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Mo(this,"includes",e)},indexOf(...e){return Mo(this,"indexOf",e)},join(e){return Ts(this).join(e)},lastIndexOf(...e){return Mo(this,"lastIndexOf",e)},map(e,t){return pn(this,"map",e,t,void 0,arguments)},pop(){return li(this,"pop")},push(...e){return li(this,"push",e)},reduce(e,...t){return Za(this,"reduce",e,t)},reduceRight(e,...t){return Za(this,"reduceRight",e,t)},shift(){return li(this,"shift")},some(e,t){return pn(this,"some",e,t,void 0,arguments)},splice(...e){return li(this,"splice",e)},toReversed(){return Ts(this).toReversed()},toSorted(e){return Ts(this).toSorted(e)},toSpliced(...e){return Ts(this).toSpliced(...e)},unshift(...e){return li(this,"unshift",e)},values(){return Io(this,"values",e=>Ln(this,e))}};function Io(e,t,n){const s=ao(e),i=s[t]();return s!==e&&!ot(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=n(r.value)),r}),i}const jp=Array.prototype;function pn(e,t,n,s,i,r){const o=ao(e),l=o!==e&&!ot(e),a=o[t];if(a!==jp[t]){const f=a.apply(e,r);return l?Jt(f):f}let c=n;o!==e&&(l?c=function(f,d){return n.call(this,Ln(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=a.call(o,c,s);return l&&i?i(u):u}function Za(e,t,n,s){const i=ao(e);let r=n;return i!==e&&(ot(e)?n.length>3&&(r=function(o,l,a){return n.call(this,o,l,a,e)}):r=function(o,l,a){return n.call(this,o,Ln(e,l),a,e)}),i[t](r,...s)}function Mo(e,t,n){const s=re(e);Ue(s,"iterate",Ti);const i=s[t](...n);return(i===-1||i===!1)&&vs(n[0])?(n[0]=re(n[0]),s[t](...n)):i}function li(e,t,n=[]){qt(),$l();const s=re(e)[t].apply(e,n);return jl(),Gt(),s}const Hp=et("__proto__,__v_isRef,__isVue"),Gu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(wt));function Bp(e){wt(e)||(e=String(e));const t=re(this);return Ue(t,"has",e),t.hasOwnProperty(e)}class Ju{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?tf:ef:r?Qu:Xu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=K(t);if(!i){let a;if(o&&(a=$p[n]))return a;if(n==="hasOwnProperty")return Bp}const l=Reflect.get(t,n,Ie(t)?t:s);if((wt(n)?Gu.has(n):Hp(n))||(i||Ue(t,"get",n),r))return l;if(Ie(l)){const a=o&&so(n)?l:l.value;return i&&he(a)?Vi(a):a}return he(l)?i?Vi(l):ii(l):l}}class Zu extends Ju{constructor(t=!1){super(!1,t)}set(t,n,s,i){let r=t[n];const o=K(t)&&so(n);if(!this._isShallow){const c=Pt(r);if(!ot(s)&&!Pt(s)&&(r=re(r),s=re(s)),!o&&Ie(r)&&!Ie(s))return c?(process.env.NODE_ENV!=="production"&&xt(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(r.value=s,!0)}const l=o?Number(n)<t.length:ve(t,n),a=Reflect.set(t,n,s,Ie(t)?t:i);return t===re(i)&&(l?gt(s,r)&&nn(t,"set",n,s,r):nn(t,"add",n,s)),a}deleteProperty(t,n){const s=ve(t,n),i=t[n],r=Reflect.deleteProperty(t,n);return r&&s&&nn(t,"delete",n,void 0,i),r}has(t,n){const s=Reflect.has(t,n);return(!wt(n)||!Gu.has(n))&&Ue(t,"has",n),s}ownKeys(t){return Ue(t,"iterate",K(t)?"length":us),Reflect.ownKeys(t)}}class Yu extends Ju{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&xt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&xt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Kp=new Zu,Up=new Yu,Wp=new Zu(!0),zp=new Yu(!0),tl=e=>e,nr=e=>Reflect.getPrototypeOf(e);function qp(e,t,n){return function(...s){const i=this.__v_raw,r=re(i),o=cs(r),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=i[e](...s),u=n?tl:t?Ws:Jt;return!t&&Ue(r,"iterate",a?el:us),oe(Object.create(c),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function sr(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";xt(`${an(e)} operation ${n}failed: target is readonly.`,re(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Gp(e,t){const n={get(i){const r=this.__v_raw,o=re(r),l=re(i);e||(gt(i,l)&&Ue(o,"get",i),Ue(o,"get",l));const{has:a}=nr(o),c=t?tl:e?Ws:Jt;if(a.call(o,i))return c(r.get(i));if(a.call(o,l))return c(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&Ue(re(i),"iterate",us),i.size},has(i){const r=this.__v_raw,o=re(r),l=re(i);return e||(gt(i,l)&&Ue(o,"has",i),Ue(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,a=re(l),c=t?tl:e?Ws:Jt;return!e&&Ue(a,"iterate",us),l.forEach((u,f)=>i.call(r,c(u),c(f),o))}};return oe(n,e?{add:sr("add"),set:sr("set"),delete:sr("delete"),clear:sr("clear")}:{add(i){!t&&!ot(i)&&!Pt(i)&&(i=re(i));const r=re(this);return nr(r).has.call(r,i)||(r.add(i),nn(r,"add",i,i)),this},set(i,r){!t&&!ot(r)&&!Pt(r)&&(r=re(r));const o=re(this),{has:l,get:a}=nr(o);let c=l.call(o,i);c?process.env.NODE_ENV!=="production"&&Ya(o,l,i):(i=re(i),c=l.call(o,i));const u=a.call(o,i);return o.set(i,r),c?gt(r,u)&&nn(o,"set",i,r,u):nn(o,"add",i,r),this},delete(i){const r=re(this),{has:o,get:l}=nr(r);let a=o.call(r,i);a?process.env.NODE_ENV!=="production"&&Ya(r,o,i):(i=re(i),a=o.call(r,i));const c=l?l.call(r,i):void 0,u=r.delete(i);return a&&nn(r,"delete",i,void 0,c),u},clear(){const i=re(this),r=i.size!==0,o=process.env.NODE_ENV!=="production"?cs(i)?new Map(i):new Set(i):void 0,l=i.clear();return r&&nn(i,"clear",void 0,void 0,o),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=qp(i,e,t)}),n}function co(e,t){const n=Gp(e,t);return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(ve(n,i)&&i in s?n:s,i,r)}const Jp={get:co(!1,!1)},Zp={get:co(!1,!0)},Yp={get:co(!0,!1)},Xp={get:co(!0,!0)};function Ya(e,t,n){const s=re(n);if(s!==n&&t.call(e,s)){const i=Ll(e);xt(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Xu=new WeakMap,Qu=new WeakMap,ef=new WeakMap,tf=new WeakMap;function Qp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function em(e){return e.__v_skip||!Object.isExtensible(e)?0:Qp(Ll(e))}function ii(e){return Pt(e)?e:uo(e,!1,Kp,Jp,Xu)}function nf(e){return uo(e,!1,Wp,Zp,Qu)}function Vi(e){return uo(e,!0,Up,Yp,ef)}function Bt(e){return uo(e,!0,zp,Xp,tf)}function uo(e,t,n,s,i){if(!he(e))return process.env.NODE_ENV!=="production"&&xt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=em(e);if(r===0)return e;const o=i.get(e);if(o)return o;const l=new Proxy(e,r===2?s:n);return i.set(e,l),l}function on(e){return Pt(e)?on(e.__v_raw):!!(e&&e.__v_isReactive)}function Pt(e){return!!(e&&e.__v_isReadonly)}function ot(e){return!!(e&&e.__v_isShallow)}function vs(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function sf(e){return!ve(e,"__v_skip")&&Object.isExtensible(e)&&Us(e,"__v_skip",!0),e}const Jt=e=>he(e)?ii(e):e,Ws=e=>he(e)?Vi(e):e;function Ie(e){return e?e.__v_isRef===!0:!1}function ne(e){return rf(e,!1)}function Un(e){return rf(e,!0)}function rf(e,t){return Ie(e)?e:new tm(e,t)}class tm{constructor(t,n){this.dep=new lo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:re(t),this._value=n?t:Jt(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||ot(t)||Pt(t);t=s?t:re(t),gt(t,n)&&(this._rawValue=t,this._value=s?t:Jt(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function nl(e){e.dep&&(process.env.NODE_ENV!=="production"?e.dep.trigger({target:e,type:"set",key:"value",newValue:e._value}):e.dep.trigger())}function Y(e){return Ie(e)?e.value:e}function nm(e){return Q(e)?e():Y(e)}const sm={get:(e,t,n)=>t==="__v_raw"?e:Y(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Ie(i)&&!Ie(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Bl(e){return on(e)?e:new Proxy(e,sm)}class im{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new lo,{get:s,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function of(e){return new im(e)}function lf(e){process.env.NODE_ENV!=="production"&&!vs(e)&&xt("toRefs() expects a reactive object but received a plain one.");const t=K(e)?new Array(e.length):{};for(const n in e)t[n]=af(e,n);return t}class rm{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=re(t);let i=!0,r=t;if(!K(t)||!so(String(n)))do i=!vs(r)||ot(r);while(i&&(r=r.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=Y(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ie(this._raw[this._key])){const n=this._object[this._key];if(Ie(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Rp(this._raw,this._key)}}class om{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function lm(e,t,n){return Ie(e)?e:Q(e)?new om(e):he(e)&&arguments.length>1?af(e,t,n):ne(e)}function af(e,t,n){return new rm(e,t,n)}class am{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new lo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Ne!==this)return Bu(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Wu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&xt("Write operation failed: computed value is readonly")}}function cm(e,t,n=!1){let s,i;Q(e)?s=e:(s=e.get,i=e.set);const r=new am(s,i,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(r.onTrack=t.onTrack,r.onTrigger=t.onTrigger),r}const um={GET:"get",HAS:"has",ITERATE:"iterate"},fm={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},ir={},Dr=new WeakMap;let Fn;function dm(){return Fn}function cf(e,t=!1,n=Fn){if(n){let s=Dr.get(n);s||Dr.set(n,s=[]),s.push(e)}else process.env.NODE_ENV!=="production"&&!t&&xt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function hm(e,t,n=ue){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:l,call:a}=n,c=y=>{(n.onWarn||xt)("Invalid watch source: ",y,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=y=>i?y:ot(y)||i===!1||i===0?Nn(y,1):Nn(y);let f,d,h,m,p=!1,S=!1;if(Ie(e)?(d=()=>e.value,p=ot(e)):on(e)?(d=()=>u(e),p=!0):K(e)?(S=!0,p=e.some(y=>on(y)||ot(y)),d=()=>e.map(y=>{if(Ie(y))return y.value;if(on(y))return u(y);if(Q(y))return a?a(y,2):y();process.env.NODE_ENV!=="production"&&c(y)})):Q(e)?t?d=a?()=>a(e,2):e:d=()=>{if(h){qt();try{h()}finally{Gt()}}const y=Fn;Fn=f;try{return a?a(e,3,[m]):e(m)}finally{Fn=y}}:(d=ke,process.env.NODE_ENV!=="production"&&c(e)),t&&i){const y=d,w=i===!0?1/0:i;d=()=>Nn(y(),w)}const N=$u(),E=()=>{f.stop(),N&&N.active&&Pl(N.effects,f)};if(r&&t){const y=t;t=(...w)=>{y(...w),E()}}let g=S?new Array(e.length).fill(ir):ir;const _=y=>{if(!(!(f.flags&1)||!f.dirty&&!y))if(t){const w=f.run();if(i||p||(S?w.some((P,T)=>gt(P,g[T])):gt(w,g))){h&&h();const P=Fn;Fn=f;try{const T=[w,g===ir?void 0:S&&g[0]===ir?[]:g,m];g=w,a?a(t,3,T):t(...T)}finally{Fn=P}}}else f.run()};return l&&l(_),f=new Di(d),f.scheduler=o?()=>o(_,!1):_,m=y=>cf(y,!1,f),h=f.onStop=()=>{const y=Dr.get(f);if(y){if(a)a(y,4);else for(const w of y)w();Dr.delete(f)}},process.env.NODE_ENV!=="production"&&(f.onTrack=n.onTrack,f.onTrigger=n.onTrigger),t?s?_(!0):g=f.run():o?o(_.bind(null,!0),!0):f.run(),E.pause=f.pause.bind(f),E.resume=f.resume.bind(f),E.stop=E,E}function Nn(e,t=1/0,n){if(t<=0||!he(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ie(e))Nn(e.value,t,n);else if(K(e))for(let s=0;s<e.length;s++)Nn(e[s],t,n);else if(Ss(e)||cs(e))e.forEach(s=>{Nn(s,t,n)});else if(no(e)){for(const s in e)Nn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Nn(e[s],t,n)}return e}const fs=[];function Fs(e){fs.push(e)}function Rs(){fs.pop()}let Po=!1;function k(e,...t){if(Po)return;Po=!0,qt();const n=fs.length?fs[fs.length-1].component:null,s=n&&n.appContext.config.warnHandler,i=pm();if(s)Os(s,n,11,[e+t.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),n&&n.proxy,i.map(({vnode:r})=>`at <${Gi(n,r.type)}>`).join(`
|
|
4
4
|
`),i]);else{const r=[`[Vue warn]: ${e}`,...t];i.length&&r.push(`
|
|
5
|
-
`,...
|
|
6
|
-
`],...uh(n))}),t}function uh({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,i=` at <${di(e.component,e.type,s)}`,r=">"+n;return e.props?[i,...fh(e.props),r]:[i+r]}function fh(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...fu(s,e[s]))}),n.length>3&&t.push(" ..."),t}function fu(e,t,n){return Y(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ye(t)?(t=fu(e,Q(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):z(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Q(t),n?t:[`${e}=`,t])}function rl(e,t){process.env.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?C(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&C(`${t} is NaN - the duration expression might be incorrect.`))}const ph={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"},Tr={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 Un(e,t,n,s){try{return s?e(...s):e()}catch(i){_n(i,t,n)}}function mt(e,t,n,s){if(z(e)){const i=Un(e,t,n,s);return i&&gr(i)&&i.catch(r=>{_n(r,t,n)}),i}if(H(e)){const i=[];for(let r=0;r<e.length;r++)i.push(mt(e[r],t,n,s));return i}else process.env.NODE_ENV!=="production"&&C(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function _n(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ne;if(t){let l=t.parent;const c=t.proxy,f=process.env.NODE_ENV!=="production"?Tr[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let a=0;a<u.length;a++)if(u[a](e,c,f)===!1)return}l=l.parent}if(r){Ct(),Un(r,null,10,[e,c,f]),Tt();return}}dh(e,n,i,s,o)}function dh(e,t,n,s=!0,i=!1){if(process.env.NODE_ENV!=="production"){const r=Tr[t];if(n&&ts(n),C(`Unhandled error${r?` during execution of ${r}`:""}`),n&&ns(),s)throw e;console.error(e)}else{if(i)throw e;console.error(e)}}const Ke=[];let At=-1;const ss=[];let un=null,Xn=0;const pu=Promise.resolve();let Ki=null;const hh=100;function Dr(e){const t=Ki||pu;return e?t.then(this?e.bind(this):e):t}function mh(e){let t=At+1,n=Ke.length;for(;t<n;){const s=t+n>>>1,i=Ke[s],r=zs(i);r<e||r===e&&i.flags&2?t=s+1:n=s}return t}function Vr(e){if(!(e.flags&1)){const t=zs(e),n=Ke[Ke.length-1];!n||!(e.flags&2)&&t>=zs(n)?Ke.push(e):Ke.splice(mh(t),0,e),e.flags|=1,du()}}function du(){Ki||(Ki=pu.then(hu))}function as(e){H(e)?ss.push(...e):un&&e.id===-1?un.splice(Xn+1,0,e):e.flags&1||(ss.push(e),e.flags|=1),du()}function ac(e,t,n=At+1){for(process.env.NODE_ENV!=="production"&&(t=t||new Map);n<Ke.length;n++){const s=Ke[n];if(s&&s.flags&2){if(e&&s.id!==e.uid||process.env.NODE_ENV!=="production"&&ol(t,s))continue;Ke.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Wi(e){if(ss.length){const t=[...new Set(ss)].sort((n,s)=>zs(n)-zs(s));if(ss.length=0,un){un.push(...t);return}for(un=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Xn=0;Xn<un.length;Xn++){const n=un[Xn];process.env.NODE_ENV!=="production"&&ol(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}un=null,Xn=0}}const zs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function hu(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>ol(e,n):ge;try{for(At=0;At<Ke.length;At++){const n=Ke[At];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Un(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;At<Ke.length;At++){const n=Ke[At];n&&(n.flags&=-2)}At=-1,Ke.length=0,Wi(e),Ki=null,(Ke.length||ss.length)&&hu(e)}}function ol(e,t){const n=e.get(t)||0;if(n>hh){const s=t.i,i=s&&ps(s.type);return _n(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}let ut=!1;const Ai=new Map;process.env.NODE_ENV!=="production"&&(ci().__VUE_HMR_RUNTIME__={createRecord:to(mu),rerender:to(Eh),reload:to(yh)});const Ln=new Map;function gh(e){const t=e.type.__hmrId;let n=Ln.get(t);n||(mu(t,e.type),n=Ln.get(t)),n.instances.add(e)}function vh(e){Ln.get(e.type.__hmrId).instances.delete(e)}function mu(e,t){return Ln.has(e)?!1:(Ln.set(e,{initialDef:qi(t),instances:new Set}),!0)}function qi(e){return Sf(e)?e.__vccOpts:e}function Eh(e,t){const n=Ln.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,qi(s.type).render=t),s.renderCache=[],ut=!0,s.job.flags&8||s.update(),ut=!1}))}function yh(e,t){const n=Ln.get(e);if(!n)return;t=qi(t),uc(n.initialDef,t);const s=[...n.instances];for(let i=0;i<s.length;i++){const r=s[i],o=qi(r.type);let l=Ai.get(o);l||(o!==n.initialDef&&uc(o,t),Ai.set(o,l=new Set)),l.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(l.add(r),r.ceReload(t.styles),l.delete(r)):r.parent?Vr(()=>{r.job.flags&8||(ut=!0,r.parent.update(),ut=!1,l.delete(r))}):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(o)}as(()=>{Ai.clear()})}function uc(e,t){ee(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function to(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Et,Vs=[],_o=!1;function ai(e,...t){Et?Et.emit(e,...t):_o||Vs.push({event:e,args:t})}function ll(e,t){var n,s;Et=e,Et?(Et.enabled=!0,Vs.forEach(({event:i,args:r})=>Et.emit(i,...r)),Vs=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{ll(r,t)}),setTimeout(()=>{Et||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,_o=!0,Vs=[])},3e3)):(_o=!0,Vs=[])}function _h(e,t){ai("app:init",e,t,{Fragment:Ne,Text:Lt,Comment:ve,Static:mn})}function Nh(e){ai("app:unmount",e)}const No=cl("component:added"),gu=cl("component:updated"),bh=cl("component:removed"),Oh=e=>{Et&&typeof Et.cleanupBuffer=="function"&&!Et.cleanupBuffer(e)&&bh(e)};function cl(e){return t=>{ai(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Sh=vu("perf:start"),wh=vu("perf:end");function vu(e){return(t,n,s)=>{ai(e,t.appContext.app,t.uid,t,n,s)}}function Ch(e,t,n){ai("component:emit",e.appContext.app,e,t,n)}let Se=null,xr=null;function Js(e){const t=Se;return Se=e,xr=e&&e.type.__scopeId||null,t}function Th(e){xr=e}function Dh(){xr=null}const Vh=e=>Ar;function Ar(e,t=Se,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&Zs(-1);const r=Js(t);let o;try{o=e(...i)}finally{Js(r),s._d&&Zs(1)}return process.env.NODE_ENV!=="production"&&gu(t),o};return s._n=!0,s._c=!0,s._d=!0,s}function Eu(e){Pa(e)&&C("Do not use built-in directive ids as custom directive id: "+e)}function al(e,t){if(Se===null)return process.env.NODE_ENV!=="production"&&C("withDirectives can only be used inside render functions."),e;const n=pi(Se),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,l,c=ne]=t[i];r&&(z(r)&&(r={mounted:r,updated:r}),r.deep&&zt(o),s.push({dir:r,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function It(e,t,n,s){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let c=l.dir[s];c&&(Ct(),mt(c,n,8,[e.el,l,e,t]),Tt())}}function ul(e,t){if(process.env.NODE_ENV!=="production"&&(!Oe||Oe.isMounted)&&C("provide() can only be used inside setup()."),Oe){let n=Oe.provides;const s=Oe.parent&&Oe.parent.provides;s===n&&(n=Oe.provides=Object.create(s)),n[e]=t}}function is(e,t,n=!1){const s=qe();if(s||Rn){let i=Rn?Rn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&z(t)?t.call(s&&s.proxy):t;process.env.NODE_ENV!=="production"&&C(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&C("inject() can only be used inside setup() or functional components.")}function xh(){return!!(qe()||Rn)}const yu=Symbol.for("v-scx"),_u=()=>{{const e=is(yu);return e||process.env.NODE_ENV!=="production"&&C("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Ah(e,t){return ui(e,null,t)}function Ih(e,t){return ui(e,null,process.env.NODE_ENV!=="production"?ee({},t,{flush:"post"}):{flush:"post"})}function Nu(e,t){return ui(e,null,process.env.NODE_ENV!=="production"?ee({},t,{flush:"sync"}):{flush:"sync"})}function yt(e,t,n){return process.env.NODE_ENV!=="production"&&!z(t)&&C("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),ui(e,t,n)}function ui(e,t,n=ne){const{immediate:s,deep:i,flush:r,once:o}=n;process.env.NODE_ENV!=="production"&&!t&&(s!==void 0&&C('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&C('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&C('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=ee({},n);process.env.NODE_ENV!=="production"&&(l.onWarn=C);const c=t&&s||!t&&r!=="post";let f;if(fs){if(r==="sync"){const m=_u();f=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=ge,m.resume=ge,m.pause=ge,m}}const u=Oe;l.call=(m,g,v)=>mt(m,u,g,v);let a=!1;r==="post"?l.scheduler=m=>{we(m,u&&u.suspense)}:r!=="sync"&&(a=!0,l.scheduler=(m,g)=>{g?m():Vr(m)}),l.augmentJob=m=>{t&&(m.flags|=4),a&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const p=lh(e,t,l);return fs&&(f?f.push(p):c&&p()),p}function kh(e,t,n){const s=this.proxy,i=Y(e)?e.includes(".")?bu(s,e):()=>s[e]:e.bind(s,s);let r;z(t)?r=t:(r=t.handler,n=t);const o=jn(this),l=ui(i,r.bind(s),n);return o(),l}function bu(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const Ou=Symbol("_vte"),Su=e=>e.__isTeleport,kn=e=>e&&(e.disabled||e.disabled===""),fc=e=>e&&(e.defer||e.defer===""),pc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,dc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,bo=(e,t)=>{const n=e&&e.to;if(Y(n))if(t){const s=t(n);return process.env.NODE_ENV!=="production"&&!s&&!kn(e)&&C(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),s}else return process.env.NODE_ENV!=="production"&&C("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return process.env.NODE_ENV!=="production"&&!n&&!kn(e)&&C(`Invalid Teleport target: ${n}`),n},wu={name:"Teleport",__isTeleport:!0,process(e,t,n,s,i,r,o,l,c,f){const{mc:u,pc:a,pbc:p,o:{insert:m,querySelector:g,createText:v,createComment:x}}=f,D=kn(t.props);let{shapeFlag:b,children:h,dynamicChildren:_}=t;if(process.env.NODE_ENV!=="production"&&ut&&(c=!1,_=null),e==null){const y=t.el=process.env.NODE_ENV!=="production"?x("teleport start"):v(""),T=t.anchor=process.env.NODE_ENV!=="production"?x("teleport end"):v("");m(y,n,s),m(T,n,s);const j=(N,w)=>{b&16&&u(h,N,w,i,r,o,l,c)},V=()=>{const N=t.target=bo(t.props,g),w=Cu(N,t,v,m);N?(o!=="svg"&&pc(N)?o="svg":o!=="mathml"&&dc(N)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(N),D||(j(N,w),Ii(t,!1))):process.env.NODE_ENV!=="production"&&!D&&C("Invalid Teleport target on mount:",N,`(${typeof N})`)};D&&(j(n,T),Ii(t,!0)),fc(t.props)?(t.el.__isMounted=!1,we(()=>{V(),delete t.el.__isMounted},r)):V()}else{if(fc(t.props)&&e.el.__isMounted===!1){we(()=>{wu.process(e,t,n,s,i,r,o,l,c,f)},r);return}t.el=e.el,t.targetStart=e.targetStart;const y=t.anchor=e.anchor,T=t.target=e.target,j=t.targetAnchor=e.targetAnchor,V=kn(e.props),N=V?n:T,w=V?y:j;if(o==="svg"||pc(T)?o="svg":(o==="mathml"||dc(T))&&(o="mathml"),_?(p(e.dynamicChildren,_,N,i,r,o,l),Ls(e,t,process.env.NODE_ENV==="production")):c||a(e,t,N,w,i,r,o,l,!1),D)V?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):bi(t,n,y,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const R=t.target=bo(t.props,g);R?bi(t,R,null,f,0):process.env.NODE_ENV!=="production"&&C("Invalid Teleport target on update:",T,`(${typeof T})`)}else V&&bi(t,T,j,f,1);Ii(t,D)}},remove(e,t,n,{um:s,o:{remove:i}},r){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:u,target:a,props:p}=e;if(a&&(i(f),i(u)),r&&i(c),o&16){const m=r||!kn(p);for(let g=0;g<l.length;g++){const v=l[g];s(v,t,n,m,!!v.dynamicChildren)}}},move:bi,hydrate:Ph};function bi(e,t,n,{o:{insert:s},m:i},r=2){r===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:f,props:u}=e,a=r===2;if(a&&s(o,t,n),(!a||kn(u))&&c&16)for(let p=0;p<f.length;p++)i(f[p],t,n,2);a&&s(l,t,n)}function Ph(e,t,n,s,i,r,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:f,createText:u}},a){function p(v,x,D,b){x.anchor=a(o(v),x,l(v),n,s,i,r),x.targetStart=D,x.targetAnchor=b}const m=t.target=bo(t.props,c),g=kn(t.props);if(m){const v=m._lpa||m.firstChild;if(t.shapeFlag&16)if(g)p(e,t,v,v&&o(v));else{t.anchor=o(e);let x=v;for(;x;){if(x&&x.nodeType===8){if(x.data==="teleport start anchor")t.targetStart=x;else if(x.data==="teleport anchor"){t.targetAnchor=x,m._lpa=t.targetAnchor&&o(t.targetAnchor);break}}x=o(x)}t.targetAnchor||Cu(m,t,u,f),a(v&&o(v),t,m,n,s,i,r)}Ii(t,g)}else g&&t.shapeFlag&16&&p(e,t,e,o(e));return t.anchor&&o(t.anchor)}const Rh=wu;function Ii(e,t){const n=e.ctx;if(n&&n.ut){let s,i;for(t?(s=e.el,i=e.anchor):(s=e.targetStart,i=e.targetAnchor);s&&s!==i;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function Cu(e,t,n,s){const i=t.targetStart=n(""),r=t.targetAnchor=n("");return i[Ou]=r,e&&(s(i,e),s(r,e)),r}const qt=Symbol("_leaveCb"),Oi=Symbol("_enterCb");function fl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Wn(()=>{e.isMounted=!0}),fi(()=>{e.isUnmounting=!0}),e}const at=[Function,Array],pl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:at,onEnter:at,onAfterEnter:at,onEnterCancelled:at,onBeforeLeave:at,onLeave:at,onAfterLeave:at,onLeaveCancelled:at,onBeforeAppear:at,onAppear:at,onAfterAppear:at,onAppearCancelled:at},Tu=e=>{const t=e.subTree;return t.component?Tu(t.component):t},Mh={name:"BaseTransition",props:pl,setup(e,{slots:t}){const n=qe(),s=fl();return()=>{const i=t.default&&Ir(t.default(),!0);if(!i||!i.length)return;const r=Du(i),o=Q(e),{mode:l}=o;if(process.env.NODE_ENV!=="production"&&l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&C(`invalid <transition> mode: ${l}`),s.isLeaving)return no(r);const c=hc(r);if(!c)return no(r);let f=us(c,o,s,n,a=>f=a);c.type!==ve&&en(c,f);let u=n.subTree&&hc(n.subTree);if(u&&u.type!==ve&&!_t(u,c)&&Tu(n).type!==ve){let a=us(u,o,s,n);if(en(u,a),l==="out-in"&&c.type!==ve)return s.isLeaving=!0,a.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete a.afterLeave,u=void 0},no(r);l==="in-out"&&c.type!==ve?a.delayLeave=(p,m,g)=>{const v=xu(s,u);v[String(u.key)]=u,p[qt]=()=>{m(),p[qt]=void 0,delete f.delayedLeave,u=void 0},f.delayedLeave=()=>{g(),delete f.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Du(e){let t=e[0];if(e.length>1){let n=!1;for(const s of e)if(s.type!==ve){if(process.env.NODE_ENV!=="production"&&n){C("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=s,n=!0,process.env.NODE_ENV==="production")break}}return t}const Vu=Mh;function xu(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function us(e,t,n,s,i){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:p,onLeave:m,onAfterLeave:g,onLeaveCancelled:v,onBeforeAppear:x,onAppear:D,onAfterAppear:b,onAppearCancelled:h}=t,_=String(e.key),y=xu(n,e),T=(N,w)=>{N&&mt(N,s,9,w)},j=(N,w)=>{const R=w[1];T(N,w),H(N)?N.every(O=>O.length<=1)&&R():N.length<=1&&R()},V={mode:o,persisted:l,beforeEnter(N){let w=c;if(!n.isMounted)if(r)w=x||c;else return;N[qt]&&N[qt](!0);const R=y[_];R&&_t(e,R)&&R.el[qt]&&R.el[qt](),T(w,[N])},enter(N){let w=f,R=u,O=a;if(!n.isMounted)if(r)w=D||f,R=b||u,O=h||a;else return;let L=!1;const q=N[Oi]=J=>{L||(L=!0,J?T(O,[N]):T(R,[N]),V.delayedLeave&&V.delayedLeave(),N[Oi]=void 0)};w?j(w,[N,q]):q()},leave(N,w){const R=String(e.key);if(N[Oi]&&N[Oi](!0),n.isUnmounting)return w();T(p,[N]);let O=!1;const L=N[qt]=q=>{O||(O=!0,w(),q?T(v,[N]):T(g,[N]),N[qt]=void 0,y[R]===e&&delete y[R])};y[R]=e,m?j(m,[N,L]):L()},clone(N){const w=us(N,t,n,s,i);return i&&i(w),w}};return V}function no(e){if(Ns(e))return e=gt(e),e.children=null,e}function hc(e){if(!Ns(e))return Su(e.type)&&e.children?Du(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&z(n.default))return n.default()}}function en(e,t){e.shapeFlag&6&&e.component?(e.transition=t,en(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ir(e,t=!1,n){let s=[],i=0;for(let r=0;r<e.length;r++){let o=e[r];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:r);o.type===Ne?(o.patchFlag&128&&i++,s=s.concat(Ir(o.children,t,l))):(t||o.type!==ve)&&s.push(l!=null?gt(o,{key:l}):o)}if(i>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function Kn(e,t){return z(e)?ee({name:e.name},t,{setup:e}):e}function $h(){const e=qe();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:(process.env.NODE_ENV!=="production"&&C("useId() is called when there is no active component instance to be associated with."),"")}function dl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Oo=new WeakSet;function Lh(e){const t=qe(),n=Qn(null);if(t){const i=t.refs===ne?t.refs={}:t.refs;let r;process.env.NODE_ENV!=="production"&&(r=Object.getOwnPropertyDescriptor(i,e))&&!r.configurable?C(`useTemplateRef('${e}') already exists.`):Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}else process.env.NODE_ENV!=="production"&&C("useTemplateRef() is called when there is no active component instance to be associated with.");const s=process.env.NODE_ENV!=="production"?Gs(n):n;return process.env.NODE_ENV!=="production"&&Oo.add(s),s}const Gi=new WeakMap;function rs(e,t,n,s,i=!1){if(H(e)){e.forEach((v,x)=>rs(v,t&&(H(t)?t[x]:t),n,s,i));return}if(Xt(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&rs(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?pi(s.component):s.el,o=i?null:r,{i:l,r:c}=e;if(process.env.NODE_ENV!=="production"&&!l){C("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const f=t&&t.r,u=l.refs===ne?l.refs={}:l.refs,a=l.setupState,p=Q(a),m=a===ne?Zn:v=>process.env.NODE_ENV!=="production"&&(re(p,v)&&!ye(p[v])&&C(`Template ref "${v}" used on a non-ref value. It will not work in the production build.`),Oo.has(p[v]))?!1:re(p,v),g=v=>process.env.NODE_ENV==="production"||!Oo.has(v);if(f!=null&&f!==c){if(mc(t),Y(f))u[f]=null,m(f)&&(a[f]=null);else if(ye(f)){g(f)&&(f.value=null);const v=t;v.k&&(u[v.k]=null)}}if(z(c))Un(c,l,12,[o,u]);else{const v=Y(c),x=ye(c);if(v||x){const D=()=>{if(e.f){const b=v?m(c)?a[c]:u[c]:g(c)||!e.k?c.value:u[e.k];if(i)H(b)&&Xo(b,r);else if(H(b))b.includes(r)||b.push(r);else if(v)u[c]=[r],m(c)&&(a[c]=u[c]);else{const h=[r];g(c)&&(c.value=h),e.k&&(u[e.k]=h)}}else v?(u[c]=o,m(c)&&(a[c]=o)):x?(g(c)&&(c.value=o),e.k&&(u[e.k]=o)):process.env.NODE_ENV!=="production"&&C("Invalid template ref type:",c,`(${typeof c})`)};if(o){const b=()=>{D(),Gi.delete(e)};b.id=-1,Gi.set(e,b),we(b,n)}else mc(e),D()}else process.env.NODE_ENV!=="production"&&C("Invalid template ref type:",c,`(${typeof c})`)}}function mc(e){const t=Gi.get(e);t&&(t.flags|=8,Gi.delete(e))}let gc=!1;const Nn=()=>{gc||(console.error("Hydration completed but contains mismatches."),gc=!0)},Fh=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",jh=e=>e.namespaceURI.includes("MathML"),Si=e=>{if(e.nodeType===1){if(Fh(e))return"svg";if(jh(e))return"mathml"}},Cn=e=>e.nodeType===8;function Hh(e){const{mt:t,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:l,insert:c,createComment:f}}=e,u=(h,_)=>{if(!_.hasChildNodes()){process.env.NODE_ENV!=="production"&&C("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,h,_),Wi(),_._vnode=h;return}a(_.firstChild,h,null,null,null),Wi(),_._vnode=h},a=(h,_,y,T,j,V=!1)=>{V=V||!!_.dynamicChildren;const N=Cn(h)&&h.data==="[",w=()=>v(h,_,y,T,j,N),{type:R,ref:O,shapeFlag:L,patchFlag:q}=_;let J=h.nodeType;_.el=h,process.env.NODE_ENV!=="production"&&(ls(h,"__vnode",_,!0),ls(h,"__vueParentComponent",y,!0)),q===-2&&(V=!1,_.dynamicChildren=null);let K=null;switch(R){case Lt:J!==3?_.children===""?(c(_.el=i(""),o(h),h),K=h):K=w():(h.data!==_.children&&(process.env.NODE_ENV!=="production"&&C("Hydration text mismatch in",h.parentNode,`
|
|
7
|
-
- rendered on server: ${JSON.stringify(
|
|
8
|
-
- expected on client: ${JSON.stringify(_.children)}`),
|
|
9
|
-
Server rendered element contains more child nodes than client vdom.`),le=!0),
|
|
10
|
-
`&&(
|
|
11
|
-
`)&&(
|
|
5
|
+
`,...mm(i)),console.warn(...r)}Gt(),Po=!1}function pm(){let e=fs[fs.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function mm(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[`
|
|
6
|
+
`],...gm(n))}),t}function gm({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,i=` at <${Gi(e.component,e.type,s)}`,r=">"+n;return e.props?[i,...vm(e.props),r]:[i+r]}function vm(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...uf(s,e[s]))}),n.length>3&&t.push(" ..."),t}function uf(e,t,n){return te(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ie(t)?(t=uf(e,re(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Q(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=re(t),n?t:[`${e}=`,t])}function Kl(e,t){process.env.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?k(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&k(`${t} is NaN - the duration expression might be incorrect.`))}const ym={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"},fo={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 Os(e,t,n,s){try{return s?e(...s):e()}catch(i){es(i,t,n)}}function Lt(e,t,n,s){if(Q(e)){const i=Os(e,t,n,s);return i&&to(i)&&i.catch(r=>{es(r,t,n)}),i}if(K(e)){const i=[];for(let r=0;r<e.length;r++)i.push(Lt(e[r],t,n,s));return i}else process.env.NODE_ENV!=="production"&&k(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function es(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ue;if(t){let l=t.parent;const a=t.proxy,c=process.env.NODE_ENV!=="production"?fo[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,a,c)===!1)return}l=l.parent}if(r){qt(),Os(r,null,10,[e,a,c]),Gt();return}}Em(e,n,i,s,o)}function Em(e,t,n,s=!0,i=!1){if(process.env.NODE_ENV!=="production"){const r=fo[t];if(n&&Fs(n),k(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Rs(),s)throw e;console.error(e)}else{if(i)throw e;console.error(e)}}const vt=[];let Yt=-1;const $s=[];let Rn=null,Is=0;const ff=Promise.resolve();let xr=null;const _m=100;function Xn(e){const t=xr||ff;return e?t.then(this?e.bind(this):e):t}function bm(e){let t=Yt+1,n=vt.length;for(;t<n;){const s=t+n>>>1,i=vt[s],r=ki(i);r<e||r===e&&i.flags&2?t=s+1:n=s}return t}function ho(e){if(!(e.flags&1)){const t=ki(e),n=vt[vt.length-1];!n||!(e.flags&2)&&t>=ki(n)?vt.push(e):vt.splice(bm(t),0,e),e.flags|=1,df()}}function df(){xr||(xr=ff.then(hf))}function zs(e){K(e)?$s.push(...e):Rn&&e.id===-1?Rn.splice(Is+1,0,e):e.flags&1||($s.push(e),e.flags|=1),df()}function Xa(e,t,n=Yt+1){for(process.env.NODE_ENV!=="production"&&(t=t||new Map);n<vt.length;n++){const s=vt[n];if(s&&s.flags&2){if(e&&s.id!==e.uid||process.env.NODE_ENV!=="production"&&Ul(t,s))continue;vt.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Tr(e){if($s.length){const t=[...new Set($s)].sort((n,s)=>ki(n)-ki(s));if($s.length=0,Rn){Rn.push(...t);return}for(Rn=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Is=0;Is<Rn.length;Is++){const n=Rn[Is];process.env.NODE_ENV!=="production"&&Ul(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}Rn=null,Is=0}}const ki=e=>e.id==null?e.flags&2?-1:1/0:e.id;function hf(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Ul(e,n):ke;try{for(Yt=0;Yt<vt.length;Yt++){const n=vt[Yt];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Os(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;Yt<vt.length;Yt++){const n=vt[Yt];n&&(n.flags&=-2)}Yt=-1,vt.length=0,Tr(e),xr=null,(vt.length||$s.length)&&hf(e)}}function Ul(e,t){const n=e.get(t)||0;if(n>_m){const s=t.i,i=s&&Js(s.type);return es(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}let At=!1;const pr=new Map;process.env.NODE_ENV!=="production"&&(Ui().__VUE_HMR_RUNTIME__={createRecord:Lo(pf),rerender:Lo(Om),reload:Lo(wm)});const ys=new Map;function Nm(e){const t=e.type.__hmrId;let n=ys.get(t);n||(pf(t,e.type),n=ys.get(t)),n.instances.add(e)}function Sm(e){ys.get(e.type.__hmrId).instances.delete(e)}function pf(e,t){return ys.has(e)?!1:(ys.set(e,{initialDef:Vr(t),instances:new Set}),!0)}function Vr(e){return bd(e)?e.__vccOpts:e}function Om(e,t){const n=ys.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,Vr(s.type).render=t),s.renderCache=[],At=!0,s.job.flags&8||s.update(),At=!1}))}function wm(e,t){const n=ys.get(e);if(!n)return;t=Vr(t),Qa(n.initialDef,t);const s=[...n.instances];for(let i=0;i<s.length;i++){const r=s[i],o=Vr(r.type);let l=pr.get(o);l||(o!==n.initialDef&&Qa(o,t),pr.set(o,l=new Set)),l.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(l.add(r),r.ceReload(t.styles),l.delete(r)):r.parent?ho(()=>{r.job.flags&8||(At=!0,r.parent.update(),At=!1,l.delete(r))}):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(o)}zs(()=>{pr.clear()})}function Qa(e,t){oe(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Lo(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let jt,hi=[],sl=!1;function Wi(e,...t){jt?jt.emit(e,...t):sl||hi.push({event:e,args:t})}function Wl(e,t){var n,s;jt=e,jt?(jt.enabled=!0,hi.forEach(({event:i,args:r})=>jt.emit(i,...r)),hi=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{Wl(r,t)}),setTimeout(()=>{jt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,sl=!0,hi=[])},3e3)):(sl=!0,hi=[])}function Cm(e,t){Wi("app:init",e,t,{Fragment:we,Text:ln,Comment:Ae,Static:qn})}function Dm(e){Wi("app:unmount",e)}const il=zl("component:added"),mf=zl("component:updated"),xm=zl("component:removed"),Tm=e=>{jt&&typeof jt.cleanupBuffer=="function"&&!jt.cleanupBuffer(e)&&xm(e)};function zl(e){return t=>{Wi(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Vm=gf("perf:start"),km=gf("perf:end");function gf(e){return(t,n,s)=>{Wi(e,t.appContext.app,t.uid,t,n,s)}}function Am(e,t,n){Wi("component:emit",e.appContext.app,e,t,n)}let Re=null,po=null;function Ai(e){const t=Re;return Re=e,po=e&&e.type.__scopeId||null,t}function Im(e){po=e}function Mm(){po=null}const Pm=e=>rn;function rn(e,t=Re,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&Pi(-1);const r=Ai(t);let o;try{o=e(...i)}finally{Ai(r),s._d&&Pi(1)}return process.env.NODE_ENV!=="production"&&mf(t),o};return s._n=!0,s._c=!0,s._d=!0,s}function vf(e){Vu(e)&&k("Do not use built-in directive ids as custom directive id: "+e)}function zn(e,t){if(Re===null)return process.env.NODE_ENV!=="production"&&k("withDirectives can only be used inside render functions."),e;const n=qi(Re),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,l,a=ue]=t[i];r&&(Q(r)&&(r={mounted:r,updated:r}),r.deep&&Nn(o),s.push({dir:r,instance:n,value:o,oldValue:void 0,arg:l,modifiers:a}))}return e}function Xt(e,t,n,s){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let a=l.dir[s];a&&(qt(),Lt(a,n,8,[e.el,l,e,t]),Gt())}}function ql(e,t){if(process.env.NODE_ENV!=="production"&&(!Fe||Fe.isMounted)&&k("provide() can only be used inside setup()."),Fe){let n=Fe.provides;const s=Fe.parent&&Fe.parent.provides;s===n&&(n=Fe.provides=Object.create(s)),n[e]=t}}function js(e,t,n=!1){const s=ze();if(s||ms){let i=ms?ms._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Q(t)?t.call(s&&s.proxy):t;process.env.NODE_ENV!=="production"&&k(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&k("inject() can only be used inside setup() or functional components.")}function Lm(){return!!(ze()||ms)}const yf=Symbol.for("v-scx"),Ef=()=>{{const e=js(yf);return e||process.env.NODE_ENV!=="production"&&k("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Fm(e,t){return zi(e,null,t)}function Rm(e,t){return zi(e,null,process.env.NODE_ENV!=="production"?oe({},t,{flush:"post"}):{flush:"post"})}function _f(e,t){return zi(e,null,process.env.NODE_ENV!=="production"?oe({},t,{flush:"sync"}):{flush:"sync"})}function ft(e,t,n){return process.env.NODE_ENV!=="production"&&!Q(t)&&k("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),zi(e,t,n)}function zi(e,t,n=ue){const{immediate:s,deep:i,flush:r,once:o}=n;process.env.NODE_ENV!=="production"&&!t&&(s!==void 0&&k('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&k('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&k('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=oe({},n);process.env.NODE_ENV!=="production"&&(l.onWarn=k);const a=t&&s||!t&&r!=="post";let c;if(Gs){if(r==="sync"){const h=Ef();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=ke,h.resume=ke,h.pause=ke,h}}const u=Fe;l.call=(h,m,p)=>Lt(h,u,m,p);let f=!1;r==="post"?l.scheduler=h=>{He(h,u&&u.suspense)}:r!=="sync"&&(f=!0,l.scheduler=(h,m)=>{m?h():ho(h)}),l.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=hm(e,t,l);return Gs&&(c?c.push(d):a&&d()),d}function $m(e,t,n){const s=this.proxy,i=te(e)?e.includes(".")?bf(s,e):()=>s[e]:e.bind(s,s);let r;Q(t)?r=t:(r=t.handler,n=t);const o=bs(this),l=zi(i,r.bind(s),n);return o(),l}function bf(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const Nf=Symbol("_vte"),Sf=e=>e.__isTeleport,ds=e=>e&&(e.disabled||e.disabled===""),ec=e=>e&&(e.defer||e.defer===""),tc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,nc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,rl=(e,t)=>{const n=e&&e.to;if(te(n))if(t){const s=t(n);return process.env.NODE_ENV!=="production"&&!s&&!ds(e)&&k(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),s}else return process.env.NODE_ENV!=="production"&&k("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return process.env.NODE_ENV!=="production"&&!n&&!ds(e)&&k(`Invalid Teleport target: ${n}`),n},Of={name:"Teleport",__isTeleport:!0,process(e,t,n,s,i,r,o,l,a,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:m,createText:p,createComment:S}}=c,N=ds(t.props);let{shapeFlag:E,children:g,dynamicChildren:_}=t;if(process.env.NODE_ENV!=="production"&&At&&(a=!1,_=null),e==null){const y=t.el=process.env.NODE_ENV!=="production"?S("teleport start"):p(""),w=t.anchor=process.env.NODE_ENV!=="production"?S("teleport end"):p("");h(y,n,s),h(w,n,s);const P=(O,D)=>{E&16&&u(g,O,D,i,r,o,l,a)},T=()=>{const O=t.target=rl(t.props,m),D=wf(O,t,p,h);O?(o!=="svg"&&tc(O)?o="svg":o!=="mathml"&&nc(O)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(O),N||(P(O,D),mr(t,!1))):process.env.NODE_ENV!=="production"&&!N&&k("Invalid Teleport target on mount:",O,`(${typeof O})`)};N&&(P(n,w),mr(t,!0)),ec(t.props)?(t.el.__isMounted=!1,He(()=>{T(),delete t.el.__isMounted},r)):T()}else{if(ec(t.props)&&e.el.__isMounted===!1){He(()=>{Of.process(e,t,n,s,i,r,o,l,a,c)},r);return}t.el=e.el,t.targetStart=e.targetStart;const y=t.anchor=e.anchor,w=t.target=e.target,P=t.targetAnchor=e.targetAnchor,T=ds(e.props),O=T?n:w,D=T?y:P;if(o==="svg"||tc(w)?o="svg":(o==="mathml"||nc(w))&&(o="mathml"),_?(d(e.dynamicChildren,_,O,i,r,o,l),Ni(e,t,process.env.NODE_ENV==="production")):a||f(e,t,O,D,i,r,o,l,!1),N)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rr(t,n,y,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=rl(t.props,m);I?rr(t,I,null,c,0):process.env.NODE_ENV!=="production"&&k("Invalid Teleport target on update:",w,`(${typeof w})`)}else T&&rr(t,w,P,c,1);mr(t,N)}},remove(e,t,n,{um:s,o:{remove:i}},r){const{shapeFlag:o,children:l,anchor:a,targetStart:c,targetAnchor:u,target:f,props:d}=e;if(f&&(i(c),i(u)),r&&i(a),o&16){const h=r||!ds(d);for(let m=0;m<l.length;m++){const p=l[m];s(p,t,n,h,!!p.dynamicChildren)}}},move:rr,hydrate:jm};function rr(e,t,n,{o:{insert:s},m:i},r=2){r===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:a,children:c,props:u}=e,f=r===2;if(f&&s(o,t,n),(!f||ds(u))&&a&16)for(let d=0;d<c.length;d++)i(c[d],t,n,2);f&&s(l,t,n)}function jm(e,t,n,s,i,r,{o:{nextSibling:o,parentNode:l,querySelector:a,insert:c,createText:u}},f){function d(p,S,N,E){S.anchor=f(o(p),S,l(p),n,s,i,r),S.targetStart=N,S.targetAnchor=E}const h=t.target=rl(t.props,a),m=ds(t.props);if(h){const p=h._lpa||h.firstChild;if(t.shapeFlag&16)if(m)d(e,t,p,p&&o(p));else{t.anchor=o(e);let S=p;for(;S;){if(S&&S.nodeType===8){if(S.data==="teleport start anchor")t.targetStart=S;else if(S.data==="teleport anchor"){t.targetAnchor=S,h._lpa=t.targetAnchor&&o(t.targetAnchor);break}}S=o(S)}t.targetAnchor||wf(h,t,u,c),f(p&&o(p),t,h,n,s,i,r)}mr(t,m)}else m&&t.shapeFlag&16&&d(e,t,e,o(e));return t.anchor&&o(t.anchor)}const Hm=Of;function mr(e,t){const n=e.ctx;if(n&&n.ut){let s,i;for(t?(s=e.el,i=e.anchor):(s=e.targetStart,i=e.targetAnchor);s&&s!==i;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function wf(e,t,n,s){const i=t.targetStart=n(""),r=t.targetAnchor=n("");return i[Nf]=r,e&&(s(i,e),s(r,e)),r}const _n=Symbol("_leaveCb"),or=Symbol("_enterCb");function Gl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return un(()=>{e.isMounted=!0}),ws(()=>{e.isUnmounting=!0}),e}const kt=[Function,Array],Jl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},Cf=e=>{const t=e.subTree;return t.component?Cf(t.component):t},Bm={name:"BaseTransition",props:Jl,setup(e,{slots:t}){const n=ze(),s=Gl();return()=>{const i=t.default&&mo(t.default(),!0);if(!i||!i.length)return;const r=Df(i),o=re(e),{mode:l}=o;if(process.env.NODE_ENV!=="production"&&l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&k(`invalid <transition> mode: ${l}`),s.isLeaving)return Fo(r);const a=sc(r);if(!a)return Fo(r);let c=qs(a,o,s,n,f=>c=f);a.type!==Ae&&Tn(a,c);let u=n.subTree&&sc(n.subTree);if(u&&u.type!==Ae&&!Ht(u,a)&&Cf(n).type!==Ae){let f=qs(u,o,s,n);if(Tn(u,f),l==="out-in"&&a.type!==Ae)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Fo(r);l==="in-out"&&a.type!==Ae?f.delayLeave=(d,h,m)=>{const p=Tf(s,u);p[String(u.key)]=u,d[_n]=()=>{h(),d[_n]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Df(e){let t=e[0];if(e.length>1){let n=!1;for(const s of e)if(s.type!==Ae){if(process.env.NODE_ENV!=="production"&&n){k("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=s,n=!0,process.env.NODE_ENV==="production")break}}return t}const xf=Bm;function Tf(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function qs(e,t,n,s,i){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:m,onLeaveCancelled:p,onBeforeAppear:S,onAppear:N,onAfterAppear:E,onAppearCancelled:g}=t,_=String(e.key),y=Tf(n,e),w=(O,D)=>{O&&Lt(O,s,9,D)},P=(O,D)=>{const I=D[1];w(O,D),K(O)?O.every(C=>C.length<=1)&&I():O.length<=1&&I()},T={mode:o,persisted:l,beforeEnter(O){let D=a;if(!n.isMounted)if(r)D=S||a;else return;O[_n]&&O[_n](!0);const I=y[_];I&&Ht(e,I)&&I.el[_n]&&I.el[_n](),w(D,[O])},enter(O){let D=c,I=u,C=f;if(!n.isMounted)if(r)D=N||c,I=E||u,C=g||f;else return;let R=!1;const G=O[or]=z=>{R||(R=!0,z?w(C,[O]):w(I,[O]),T.delayedLeave&&T.delayedLeave(),O[or]=void 0)};D?P(D,[O,G]):G()},leave(O,D){const I=String(e.key);if(O[or]&&O[or](!0),n.isUnmounting)return D();w(d,[O]);let C=!1;const R=O[_n]=G=>{C||(C=!0,D(),G?w(p,[O]):w(m,[O]),O[_n]=void 0,y[I]===e&&delete y[I])};y[I]=e,h?P(h,[O,R]):R()},clone(O){const D=qs(O,t,n,s,i);return i&&i(D),D}};return T}function Fo(e){if(ri(e))return e=Ft(e),e.children=null,e}function sc(e){if(!ri(e))return Sf(e.type)&&e.children?Df(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Q(n.default))return n.default()}}function Tn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Tn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function mo(e,t=!1,n){let s=[],i=0;for(let r=0;r<e.length;r++){let o=e[r];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:r);o.type===we?(o.patchFlag&128&&i++,s=s.concat(mo(o.children,t,l))):(t||o.type!==Ae)&&s.push(l!=null?Ft(o,{key:l}):o)}if(i>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function pt(e,t){return Q(e)?oe({name:e.name},t,{setup:e}):e}function Km(){const e=ze();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:(process.env.NODE_ENV!=="production"&&k("useId() is called when there is no active component instance to be associated with."),"")}function Zl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const ol=new WeakSet;function Um(e){const t=ze(),n=Un(null);if(t){const i=t.refs===ue?t.refs={}:t.refs;let r;process.env.NODE_ENV!=="production"&&(r=Object.getOwnPropertyDescriptor(i,e))&&!r.configurable?k(`useTemplateRef('${e}') already exists.`):Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}else process.env.NODE_ENV!=="production"&&k("useTemplateRef() is called when there is no active component instance to be associated with.");const s=process.env.NODE_ENV!=="production"?Vi(n):n;return process.env.NODE_ENV!=="production"&&ol.add(s),s}const kr=new WeakMap;function Hs(e,t,n,s,i=!1){if(K(e)){e.forEach((p,S)=>Hs(p,t&&(K(t)?t[S]:t),n,s,i));return}if(wn(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Hs(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?qi(s.component):s.el,o=i?null:r,{i:l,r:a}=e;if(process.env.NODE_ENV!=="production"&&!l){k("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=t&&t.r,u=l.refs===ue?l.refs={}:l.refs,f=l.setupState,d=re(f),h=f===ue?Ms:p=>process.env.NODE_ENV!=="production"&&(ve(d,p)&&!Ie(d[p])&&k(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),ol.has(d[p]))?!1:ve(d,p),m=p=>process.env.NODE_ENV==="production"||!ol.has(p);if(c!=null&&c!==a){if(ic(t),te(c))u[c]=null,h(c)&&(f[c]=null);else if(Ie(c)){m(c)&&(c.value=null);const p=t;p.k&&(u[p.k]=null)}}if(Q(a))Os(a,l,12,[o,u]);else{const p=te(a),S=Ie(a);if(p||S){const N=()=>{if(e.f){const E=p?h(a)?f[a]:u[a]:m(a)||!e.k?a.value:u[e.k];if(i)K(E)&&Pl(E,r);else if(K(E))E.includes(r)||E.push(r);else if(p)u[a]=[r],h(a)&&(f[a]=u[a]);else{const g=[r];m(a)&&(a.value=g),e.k&&(u[e.k]=g)}}else p?(u[a]=o,h(a)&&(f[a]=o)):S?(m(a)&&(a.value=o),e.k&&(u[e.k]=o)):process.env.NODE_ENV!=="production"&&k("Invalid template ref type:",a,`(${typeof a})`)};if(o){const E=()=>{N(),kr.delete(e)};E.id=-1,kr.set(e,E),He(E,n)}else ic(e),N()}else process.env.NODE_ENV!=="production"&&k("Invalid template ref type:",a,`(${typeof a})`)}}function ic(e){const t=kr.get(e);t&&(t.flags|=8,kr.delete(e))}let rc=!1;const ts=()=>{rc||(console.error("Hydration completed but contains mismatches."),rc=!0)},Wm=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",zm=e=>e.namespaceURI.includes("MathML"),lr=e=>{if(e.nodeType===1){if(Wm(e))return"svg";if(zm(e))return"mathml"}},os=e=>e.nodeType===8;function qm(e){const{mt:t,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:l,insert:a,createComment:c}}=e,u=(g,_)=>{if(!_.hasChildNodes()){process.env.NODE_ENV!=="production"&&k("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,g,_),Tr(),_._vnode=g;return}f(_.firstChild,g,null,null,null),Tr(),_._vnode=g},f=(g,_,y,w,P,T=!1)=>{T=T||!!_.dynamicChildren;const O=os(g)&&g.data==="[",D=()=>p(g,_,y,w,P,O),{type:I,ref:C,shapeFlag:R,patchFlag:G}=_;let z=g.nodeType;_.el=g,process.env.NODE_ENV!=="production"&&(Us(g,"__vnode",_,!0),Us(g,"__vueParentComponent",y,!0)),G===-2&&(T=!1,_.dynamicChildren=null);let W=null;switch(I){case ln:z!==3?_.children===""?(a(_.el=i(""),o(g),g),W=g):W=D():(g.data!==_.children&&(process.env.NODE_ENV!=="production"&&k("Hydration text mismatch in",g.parentNode,`
|
|
7
|
+
- rendered on server: ${JSON.stringify(g.data)}
|
|
8
|
+
- expected on client: ${JSON.stringify(_.children)}`),ts(),g.data=_.children),W=r(g));break;case Ae:E(g)?(W=r(g),N(_.el=g.content.firstChild,g,y)):z!==8||O?W=D():W=r(g);break;case qn:if(O&&(g=r(g),z=g.nodeType),z===1||z===3){W=g;const J=!_.children.length;for(let H=0;H<_.staticCount;H++)J&&(_.children+=W.nodeType===1?W.outerHTML:W.data),H===_.staticCount-1&&(_.anchor=W),W=r(W);return O?r(W):W}else D();break;case we:O?W=m(g,_,y,w,P,T):W=D();break;default:if(R&1)(z!==1||_.type.toLowerCase()!==g.tagName.toLowerCase())&&!E(g)?W=D():W=d(g,_,y,w,P,T);else if(R&6){_.slotScopeIds=P;const J=o(g);if(O?W=S(g):os(g)&&g.data==="teleport start"?W=S(g,g.data,"teleport end"):W=r(g),t(_,J,null,y,w,lr(J),T),wn(_)&&!_.type.__asyncResolved){let H;O?(H=_e(we),H.anchor=W?W.previousSibling:J.lastChild):H=g.nodeType===3?_s(""):_e("div"),H.el=g,_.component.subTree=H}}else R&64?z!==8?W=D():W=_.type.hydrate(g,_,y,w,P,T,e,h):R&128?W=_.type.hydrate(g,_,y,w,lr(o(g)),P,T,e,f):process.env.NODE_ENV!=="production"&&k("Invalid HostVNode type:",I,`(${typeof I})`)}return C!=null&&Hs(C,null,w,_),W},d=(g,_,y,w,P,T)=>{T=T||!!_.dynamicChildren;const{type:O,props:D,patchFlag:I,shapeFlag:C,dirs:R,transition:G}=_,z=O==="input"||O==="option";if(process.env.NODE_ENV!=="production"||z||I!==-1){R&&Xt(_,null,y,"created");let W=!1;if(E(g)){W=id(null,G)&&y&&y.vnode.props&&y.vnode.props.appear;const H=g.content.firstChild;if(W){const le=H.getAttribute("class");le&&(H.$cls=le),G.beforeEnter(H)}N(H,g,y),_.el=g=H}if(C&16&&!(D&&(D.innerHTML||D.textContent))){let H=h(g.firstChild,_,g,y,w,P,T),le=!1;for(;H;){pi(g,1)||(process.env.NODE_ENV!=="production"&&!le&&(k("Hydration children mismatch on",g,`
|
|
9
|
+
Server rendered element contains more child nodes than client vdom.`),le=!0),ts());const $e=H;H=H.nextSibling,l($e)}}else if(C&8){let H=_.children;H[0]===`
|
|
10
|
+
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(H=H.slice(1));const{textContent:le}=g;le!==H&&le!==H.replace(/\r\n|\r/g,`
|
|
11
|
+
`)&&(pi(g,0)||(process.env.NODE_ENV!=="production"&&k("Hydration text content mismatch on",g,`
|
|
12
12
|
- rendered on server: ${le}
|
|
13
|
-
- expected on client: ${
|
|
14
|
-
Server rendered element contains fewer child nodes than client vdom.`),
|
|
15
|
-
- rendered on server:`,
|
|
16
|
-
- expected on client:`,_.type),
|
|
17
|
-
- rendered on server: ${
|
|
18
|
-
- expected on client: ${
|
|
13
|
+
- expected on client: ${H}`),ts()),g.textContent=_.children)}if(D){if(process.env.NODE_ENV!=="production"||z||!T||I&48){const H=g.tagName.includes("-");for(const le in D)process.env.NODE_ENV!=="production"&&!(R&&R.some($e=>$e.dir.created))&&Gm(g,le,D[le],_,y)&&ts(),(z&&(le.endsWith("value")||le==="indeterminate")||xn(le)&&!On(le)||le[0]==="."||H&&!On(le))&&s(g,le,null,D[le],void 0,y)}else if(D.onClick)s(g,"onClick",null,D.onClick,void 0,y);else if(I&4&&on(D.style))for(const H in D.style)D.style[H]}let J;(J=D&&D.onVnodeBeforeMount)&&Nt(J,y,_),R&&Xt(_,null,y,"beforeMount"),((J=D&&D.onVnodeMounted)||R||W)&&ad(()=>{J&&Nt(J,y,_),W&&G.enter(g),R&&Xt(_,null,y,"mounted")},w)}return g.nextSibling},h=(g,_,y,w,P,T,O)=>{O=O||!!_.dynamicChildren;const D=_.children,I=D.length;let C=!1;for(let R=0;R<I;R++){const G=O?D[R]:D[R]=yt(D[R]),z=G.type===ln;g?(z&&!O&&R+1<I&&yt(D[R+1]).type===ln&&(a(i(g.data.slice(G.children.length)),y,r(g)),g.data=G.children),g=f(g,G,w,P,T,O)):z&&!G.children?a(G.el=i(""),y):(pi(y,1)||(process.env.NODE_ENV!=="production"&&!C&&(k("Hydration children mismatch on",y,`
|
|
14
|
+
Server rendered element contains fewer child nodes than client vdom.`),C=!0),ts()),n(null,G,y,null,w,P,lr(y),T))}return g},m=(g,_,y,w,P,T)=>{const{slotScopeIds:O}=_;O&&(P=P?P.concat(O):O);const D=o(g),I=h(r(g),_,D,y,w,P,T);return I&&os(I)&&I.data==="]"?r(_.anchor=I):(ts(),a(_.anchor=c("]"),D,I),I)},p=(g,_,y,w,P,T)=>{if(pi(g.parentElement,1)||(process.env.NODE_ENV!=="production"&&k(`Hydration node mismatch:
|
|
15
|
+
- rendered on server:`,g,g.nodeType===3?"(text)":os(g)&&g.data==="["?"(start of fragment)":"",`
|
|
16
|
+
- expected on client:`,_.type),ts()),_.el=null,T){const I=S(g);for(;;){const C=r(g);if(C&&C!==I)l(C);else break}}const O=r(g),D=o(g);return l(g),n(null,_,D,O,y,w,lr(D),P),y&&(y.vnode.el=_.el,bo(y,_.el)),O},S=(g,_="[",y="]")=>{let w=0;for(;g;)if(g=r(g),g&&os(g)&&(g.data===_&&w++,g.data===y)){if(w===0)return r(g);w--}return g},N=(g,_,y)=>{const w=_.parentNode;w&&w.replaceChild(g,_);let P=y;for(;P;)P.vnode.el===_&&(P.vnode.el=P.subTree.el=g),P=P.parent},E=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,f]}function Gm(e,t,n,s,i){let r,o,l,a;if(t==="class")e.$cls?(l=e.$cls,delete e.$cls):l=e.getAttribute("class"),a=xe(n),Jm(oc(l||""),oc(a))||(r=2,o="class");else if(t==="style"){l=e.getAttribute("style")||"",a=te(n)?n:Ep(qe(n));const c=lc(l),u=lc(a);if(s.dirs)for(const{dir:f,value:d}of s.dirs)f.name==="show"&&!d&&u.set("display","none");i&&Vf(i,s,u),Zm(c,u)||(r=3,o="style")}else(e instanceof SVGElement&&xp(t)||e instanceof HTMLElement&&(Ga(t)||Dp(t)))&&(Ga(t)?(l=e.hasAttribute(t),a=Fl(n)):n==null?(l=e.hasAttribute(t),a=!1):(e.hasAttribute(t)?l=e.getAttribute(t):t==="value"&&e.tagName==="TEXTAREA"?l=e.value:l=!1,a=Tp(n)?String(n):!1),l!==a&&(r=4,o=t));if(r!=null&&!pi(e,r)){const c=d=>d===!1?"(not rendered)":`${o}="${d}"`,u=`Hydration ${kf[r]} mismatch on`,f=`
|
|
17
|
+
- rendered on server: ${c(l)}
|
|
18
|
+
- expected on client: ${c(a)}
|
|
19
19
|
Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.
|
|
20
|
-
You should fix the source of the mismatch.`;return
|
|
21
|
-
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";C(`Failed to resolve ${e.slice(0,-1)}: ${t}${l}`)}return o}else process.env.NODE_ENV!=="production"&&C(`resolve${Ft(e.slice(0,-1))} can only be used in render() or setup().`)}function _c(e,t){return e&&(e[t]||e[pe(t)]||e[Ft(pe(t))])}function Hu(e,t,n,s){let i;const r=n&&n[s],o=H(e);if(o||Y(e)){const l=o&&Mt(e);let c=!1,f=!1;l&&(c=!Ie(e),f=ht(e),e=Or(e)),i=new Array(e.length);for(let u=0,a=e.length;u<a;u++)i[u]=t(c?f?cs(Dt(e[u])):Dt(e[u]):e[u],u,void 0,r&&r[u])}else if(typeof e=="number"){process.env.NODE_ENV!=="production"&&!Number.isInteger(e)&&C(`The v-for range expect an integer value but got ${e}.`),i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r&&r[l])}else if(se(e))if(e[Symbol.iterator])i=Array.from(e,(l,c)=>t(l,c,void 0,r&&r[c]));else{const l=Object.keys(e);i=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const u=l[c];i[c]=t(e[u],u,c,r&&r[c])}}else i=[];return n&&(n[s]=i),i}function lm(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(H(s))for(let i=0;i<s.length;i++)e[s[i].name]=s[i].fn;else s&&(e[s.name]=s.key?(...i)=>{const r=s.fn(...i);return r&&(r.key=s.key),r}:s.fn)}return e}function cm(e,t,n={},s,i){if(Se.ce||Se.parent&&Xt(Se.parent)&&Se.parent.ce){const f=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Fe(),Qs(Ne,null,[me("slot",n,s&&s())],f?-2:64)}let r=e[t];process.env.NODE_ENV!=="production"&&r&&r.length>1&&(C("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),r=()=>[]),r&&r._c&&(r._d=!1),Fe();const o=r&&vl(r(n)),l=n.key||o&&o.key,c=Qs(Ne,{key:(l&&!et(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),r&&r._c&&(r._d=!0),c}function vl(e){return e.some(t=>jt(t)?!(t.type===ve||t.type===Ne&&!vl(t.children)):!0)?e:null}function am(e,t){const n={};if(process.env.NODE_ENV!=="production"&&!se(e))return C("v-on with no argument expects an object value."),n;for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:kt(s)]=e[s];return n}const So=e=>e?yf(e)?pi(e):So(e.parent):null,Pn=ee(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Nt(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Nt(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Nt(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Nt(e.refs):e.refs,$parent:e=>So(e.parent),$root:e=>So(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>yl(e),$forceUpdate:e=>e.f||(e.f=()=>{Vr(e.update)}),$nextTick:e=>e.n||(e.n=Dr.bind(e.proxy)),$watch:e=>kh.bind(e)}),El=e=>e==="_"||e==="$",io=(e,t)=>e!==ne&&!e.__isScriptSetup&&re(e,t),$s={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:l,appContext:c}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(io(s,t))return o[t]=1,s[t];if(i!==ne&&re(i,t))return o[t]=2,i[t];if(re(r,t))return o[t]=3,r[t];if(n!==ne&&re(n,t))return o[t]=4,n[t];wo&&(o[t]=0)}}const f=Pn[t];let u,a;if(f)return t==="$attrs"?(Te(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&Yi()):process.env.NODE_ENV!=="production"&&t==="$slots"&&Te(e,"get",t),f(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==ne&&re(n,t))return o[t]=4,n[t];if(a=c.config.globalProperties,re(a,t))return a[t];process.env.NODE_ENV!=="production"&&Se&&(!Y(t)||t.indexOf("__v")!==0)&&(i!==ne&&El(t[0])&&re(i,t)?C(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Se&&C(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return io(i,t)?(i[t]=n,!0):process.env.NODE_ENV!=="production"&&i.__isScriptSetup&&re(i,t)?(C(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==ne&&re(s,t)?(s[t]=n,!0):re(e.props,t)?(process.env.NODE_ENV!=="production"&&C(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&C(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:n}):r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:r,type:o}},l){let c;return!!(n[l]||e!==ne&&l[0]!=="$"&&re(e,l)||io(t,l)||re(r,l)||re(s,l)||re(Pn,l)||re(i.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&($s.ownKeys=e=>(C("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));const um=ee({},$s,{get(e,t){if(t!==Symbol.unscopables)return $s.get(e,t,e)},has(e,t){const n=t[0]!=="_"&&!rd(t);return process.env.NODE_ENV!=="production"&&!n&&$s.has(e,t)&&C(`Property ${JSON.stringify(t)} should not start with _ which is a reserved prefix for Vue internals.`),n}});function fm(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(Pn).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>Pn[n](e),set:ge})}),t}function pm(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e.props[s],set:ge})})}function dm(e){const{ctx:t,setupState:n}=e;Object.keys(Q(n)).forEach(s=>{if(!n.__isScriptSetup){if(El(s[0])){C(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n[s],set:ge})}})}const qn=e=>C(`${e}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);function hm(){return process.env.NODE_ENV!=="production"&&qn("defineProps"),null}function mm(){return process.env.NODE_ENV!=="production"&&qn("defineEmits"),null}function gm(e){process.env.NODE_ENV!=="production"&&qn("defineExpose")}function vm(e){process.env.NODE_ENV!=="production"&&qn("defineOptions")}function Em(){return process.env.NODE_ENV!=="production"&&qn("defineSlots"),null}function ym(){process.env.NODE_ENV!=="production"&&qn("defineModel")}function _m(e,t){return process.env.NODE_ENV!=="production"&&qn("withDefaults"),null}function Nm(){return Bu("useSlots").slots}function bm(){return Bu("useAttrs").attrs}function Bu(e){const t=qe();return process.env.NODE_ENV!=="production"&&!t&&C(`${e}() called without active instance.`),t.setupContext||(t.setupContext=Of(t))}function Ys(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Om(e,t){const n=Ys(e);for(const s in t){if(s.startsWith("__skip"))continue;let i=n[s];i?H(i)||z(i)?i=n[s]={type:i,default:t[s]}:i.default=t[s]:i===null?i=n[s]={default:t[s]}:process.env.NODE_ENV!=="production"&&C(`props default key "${s}" has no corresponding declaration.`),i&&t[`__skip_${s}`]&&(i.skipFactory=!0)}return n}function Sm(e,t){return!e||!t?e||t:H(e)&&H(t)?e.concat(t):ee({},Ys(e),Ys(t))}function wm(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function Cm(e){const t=qe();process.env.NODE_ENV!=="production"&&!t&&C("withAsyncContext called without active current instance. This is likely a bug.");let n=e();return ko(),gr(n)&&(n=n.catch(s=>{throw jn(t),s})),[n,()=>jn(t)]}function Tm(){const e=Object.create(null);return(t,n)=>{e[n]?C(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let wo=!0;function Dm(e){const t=yl(e),n=e.proxy,s=e.ctx;wo=!1,t.beforeCreate&&Nc(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:c,inject:f,created:u,beforeMount:a,mounted:p,beforeUpdate:m,updated:g,activated:v,deactivated:x,beforeDestroy:D,beforeUnmount:b,destroyed:h,unmounted:_,render:y,renderTracked:T,renderTriggered:j,errorCaptured:V,serverPrefetch:N,expose:w,inheritAttrs:R,components:O,directives:L,filters:q}=t,J=process.env.NODE_ENV!=="production"?Tm():null;if(process.env.NODE_ENV!=="production"){const[W]=e.propsOptions;if(W)for(const U in W)J("Props",U)}if(f&&Vm(f,s,J),o)for(const W in o){const U=o[W];z(U)?(process.env.NODE_ENV!=="production"?Object.defineProperty(s,W,{value:U.bind(n),configurable:!0,enumerable:!0,writable:!0}):s[W]=U.bind(n),process.env.NODE_ENV!=="production"&&J("Methods",W)):process.env.NODE_ENV!=="production"&&C(`Method "${W}" has type "${typeof U}" in the component definition. Did you reference the function correctly?`)}if(i){process.env.NODE_ENV!=="production"&&!z(i)&&C("The data option must be a function. Plain object usage is no longer supported.");const W=i.call(n,n);if(process.env.NODE_ENV!=="production"&&gr(W)&&C("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!se(W))process.env.NODE_ENV!=="production"&&C("data() should return an object.");else if(e.data=wr(W),process.env.NODE_ENV!=="production")for(const U in W)J("Data",U),El(U[0])||Object.defineProperty(s,U,{configurable:!0,enumerable:!0,get:()=>W[U],set:ge})}if(wo=!0,r)for(const W in r){const U=r[W],le=z(U)?U.bind(n,n):z(U.get)?U.get.bind(n,n):ge;process.env.NODE_ENV!=="production"&&le===ge&&C(`Computed property "${W}" has no getter.`);const Ge=!z(U)&&z(U.set)?U.set.bind(n):process.env.NODE_ENV!=="production"?()=>{C(`Write operation failed: computed property "${W}" is readonly.`)}:ge,lt=ft({get:le,set:Ge});Object.defineProperty(s,W,{enumerable:!0,configurable:!0,get:()=>lt.value,set:ct=>lt.value=ct}),process.env.NODE_ENV!=="production"&&J("Computed",W)}if(l)for(const W in l)Uu(l[W],s,n,W);if(c){const W=z(c)?c.call(n):c;Reflect.ownKeys(W).forEach(U=>{ul(U,W[U])})}u&&Nc(u,e,"c");function K(W,U){H(U)?U.forEach(le=>W(le.bind(n))):U&&W(U.bind(n))}if(K(Mu,a),K(Wn,p),K(hl,m),K(Pr,g),K(ku,v),K(Pu,x),K(ju,V),K(Fu,T),K(Lu,j),K(fi,b),K(Rr,_),K($u,N),H(w))if(w.length){const W=e.exposed||(e.exposed={});w.forEach(U=>{Object.defineProperty(W,U,{get:()=>n[U],set:le=>n[U]=le,enumerable:!0})})}else e.exposed||(e.exposed={});y&&e.render===ge&&(e.render=y),R!=null&&(e.inheritAttrs=R),O&&(e.components=O),L&&(e.directives=L),N&&dl(e)}function Vm(e,t,n=ge){H(e)&&(e=Co(e));for(const s in e){const i=e[s];let r;se(i)?"default"in i?r=is(i.from||s,i.default,!0):r=is(i.from||s):r=is(i),ye(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[s]=r,process.env.NODE_ENV!=="production"&&n("Inject",s)}}function Nc(e,t,n){mt(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Uu(e,t,n,s){let i=s.includes(".")?bu(n,s):()=>n[s];if(Y(e)){const r=t[e];z(r)?yt(i,r):process.env.NODE_ENV!=="production"&&C(`Invalid watch handler specified by key "${e}"`,r)}else if(z(e))yt(i,e.bind(n));else if(se(e))if(H(e))e.forEach(r=>Uu(r,t,n,s));else{const r=z(e.handler)?e.handler.bind(n):t[e.handler];z(r)?yt(i,r,e):process.env.NODE_ENV!=="production"&&C(`Invalid watch handler specified by key "${e.handler}"`,r)}else process.env.NODE_ENV!=="production"&&C(`Invalid watch option: "${s}"`,e)}function yl(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let c;return l?c=l:!i.length&&!n&&!s?c=t:(c={},i.length&&i.forEach(f=>Ji(c,f,o,!0)),Ji(c,t,o)),se(t)&&r.set(t,c),c}function Ji(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&Ji(e,r,n,!0),i&&i.forEach(o=>Ji(e,o,n,!0));for(const o in t)if(s&&o==="expose")process.env.NODE_ENV!=="production"&&C('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=xm[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const xm={data:bc,props:Oc,emits:Oc,methods:Is,computed:Is,beforeCreate:Be,created:Be,beforeMount:Be,mounted:Be,beforeUpdate:Be,updated:Be,beforeDestroy:Be,beforeUnmount:Be,destroyed:Be,unmounted:Be,activated:Be,deactivated:Be,errorCaptured:Be,serverPrefetch:Be,components:Is,directives:Is,watch:Im,provide:bc,inject:Am};function bc(e,t){return t?e?function(){return ee(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function Am(e,t){return Is(Co(e),Co(t))}function Co(e){if(H(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Be(e,t){return e?[...new Set([].concat(e,t))]:t}function Is(e,t){return e?ee(Object.create(null),e,t):t}function Oc(e,t){return e?H(e)&&H(t)?[...new Set([...e,...t])]:ee(Object.create(null),Ys(e),Ys(t??{})):t}function Im(e,t){if(!e)return t;if(!t)return e;const n=ee(Object.create(null),e);for(const s in t)n[s]=Be(e[s],t[s]);return n}function Ku(){return{app:null,config:{isNativeTag:Zn,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let km=0;function Pm(e,t){return function(s,i=null){z(s)||(s=ee({},s)),i!=null&&!se(i)&&(process.env.NODE_ENV!=="production"&&C("root props passed to app.mount() must be an object."),i=null);const r=Ku(),o=new WeakSet,l=[];let c=!1;const f=r.app={_uid:km++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:$o,get config(){return r.config},set config(u){process.env.NODE_ENV!=="production"&&C("app.config cannot be replaced. Modify individual options instead.")},use(u,...a){return o.has(u)?process.env.NODE_ENV!=="production"&&C("Plugin has already been applied to target app."):u&&z(u.install)?(o.add(u),u.install(f,...a)):z(u)?(o.add(u),u(f,...a)):process.env.NODE_ENV!=="production"&&C('A plugin must either be a function or an object with an "install" function.'),f},mixin(u){return r.mixins.includes(u)?process.env.NODE_ENV!=="production"&&C("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):r.mixins.push(u),f},component(u,a){return process.env.NODE_ENV!=="production"&&Po(u,r.config),a?(process.env.NODE_ENV!=="production"&&r.components[u]&&C(`Component "${u}" has already been registered in target app.`),r.components[u]=a,f):r.components[u]},directive(u,a){return process.env.NODE_ENV!=="production"&&Eu(u),a?(process.env.NODE_ENV!=="production"&&r.directives[u]&&C(`Directive "${u}" has already been registered in target app.`),r.directives[u]=a,f):r.directives[u]},mount(u,a,p){if(c)process.env.NODE_ENV!=="production"&&C("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&u.__vue_app__&&C("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const m=f._ceVNode||me(s,i);return m.appContext=r,p===!0?p="svg":p===!1&&(p=void 0),process.env.NODE_ENV!=="production"&&(r.reload=()=>{const g=gt(m);g.el=null,e(g,u,p)}),a&&t?t(m,u):e(m,u,p),c=!0,f._container=u,u.__vue_app__=f,process.env.NODE_ENV!=="production"&&(f._instance=m.component,_h(f,$o)),pi(m.component)}},onUnmount(u){process.env.NODE_ENV!=="production"&&typeof u!="function"&&C(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),l.push(u)},unmount(){c?(mt(l,f._instance,16),e(null,f._container),process.env.NODE_ENV!=="production"&&(f._instance=null,Nh(f)),delete f._container.__vue_app__):process.env.NODE_ENV!=="production"&&C("Cannot unmount an app that is not mounted.")},provide(u,a){return process.env.NODE_ENV!=="production"&&u in r.provides&&(re(r.provides,u)?C(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`):C(`App already provides property with key "${String(u)}" inherited from its parent element. It will be overwritten with the new value.`)),r.provides[u]=a,f},runWithContext(u){const a=Rn;Rn=f;try{return u()}finally{Rn=a}}};return f}}let Rn=null;function Rm(e,t,n=ne){const s=qe();if(process.env.NODE_ENV!=="production"&&!s)return C("useModel() called without active instance."),$e();const i=pe(t);if(process.env.NODE_ENV!=="production"&&!s.propsOptions[0][i])return C(`useModel() called with prop "${t}" which is not declared.`),$e();const r=Me(t),o=Wu(e,i),l=cu((c,f)=>{let u,a=ne,p;return Nu(()=>{const m=e[i];Ue(u,m)&&(u=m,f())}),{get(){return c(),n.get?n.get(u):u},set(m){const g=n.set?n.set(m):m;if(!Ue(g,u)&&!(a!==ne&&Ue(m,a)))return;const v=s.vnode.props;v&&(t in v||i in v||r in v)&&(`onUpdate:${t}`in v||`onUpdate:${i}`in v||`onUpdate:${r}`in v)||(u=m,f()),s.emit(`update:${t}`,g),Ue(m,g)&&Ue(m,a)&&!Ue(g,p)&&f(),a=m,p=g}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||ne:l,done:!1}:{done:!0}}}},l}const Wu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${pe(t)}Modifiers`]||e[`${Me(t)}Modifiers`];function Mm(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ne;if(process.env.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[a]}=e;if(u)if(!(t in u))(!a||!(kt(pe(t))in a))&&C(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${kt(pe(t))}" prop.`);else{const p=u[t];z(p)&&(p(...n)||C(`Invalid event arguments: event validation failed for event "${t}".`))}}let i=n;const r=t.startsWith("update:"),o=r&&Wu(s,t.slice(7));if(o&&(o.trim&&(i=n.map(u=>Y(u)?u.trim():u)),o.number&&(i=n.map(_r))),process.env.NODE_ENV!=="production"&&Ch(e,t,i),process.env.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&s[kt(u)]&&C(`Event "${u}" is emitted in component ${di(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Me(t)}" instead of "${t}".`)}let l,c=s[l=kt(t)]||s[l=kt(pe(t))];!c&&r&&(c=s[l=kt(Me(t))]),c&&mt(c,e,6,i);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,mt(f,e,6,i)}}const $m=new WeakMap;function qu(e,t,n=!1){const s=n?$m:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!z(e)){const c=f=>{const u=qu(f,t,!0);u&&(l=!0,ee(o,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!l?(se(e)&&s.set(e,null),null):(H(r)?r.forEach(c=>o[c]=null):ee(o,r),se(e)&&s.set(e,o),o)}function Mr(e,t){return!e||!Qt(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Me(t))||re(e,t))}let To=!1;function Yi(){To=!0}function ki(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:c,render:f,renderCache:u,props:a,data:p,setupState:m,ctx:g,inheritAttrs:v}=e,x=Js(e);let D,b;process.env.NODE_ENV!=="production"&&(To=!1);try{if(n.shapeFlag&4){const y=i||s,T=process.env.NODE_ENV!=="production"&&m.__isScriptSetup?new Proxy(y,{get(j,V,N){return C(`Property '${String(V)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(j,V,N)}}):y;D=We(f.call(T,y,u,process.env.NODE_ENV!=="production"?Nt(a):a,m,p,g)),b=l}else{const y=t;process.env.NODE_ENV!=="production"&&l===a&&Yi(),D=We(y.length>1?y(process.env.NODE_ENV!=="production"?Nt(a):a,process.env.NODE_ENV!=="production"?{get attrs(){return Yi(),Nt(l)},slots:o,emit:c}:{attrs:l,slots:o,emit:c}):y(process.env.NODE_ENV!=="production"?Nt(a):a,null)),b=t.props?l:Lm(l)}}catch(y){Fs.length=0,_n(y,e,1),D=me(ve)}let h=D,_;if(process.env.NODE_ENV!=="production"&&D.patchFlag>0&&D.patchFlag&2048&&([h,_]=Gu(D)),b&&v!==!1){const y=Object.keys(b),{shapeFlag:T}=h;if(y.length){if(T&7)r&&y.some(ji)&&(b=Fm(b,r)),h=gt(h,b,!1,!0);else if(process.env.NODE_ENV!=="production"&&!To&&h.type!==ve){const j=Object.keys(l),V=[],N=[];for(let w=0,R=j.length;w<R;w++){const O=j[w];Qt(O)?ji(O)||V.push(O[2].toLowerCase()+O.slice(3)):N.push(O)}N.length&&C(`Extraneous non-props attributes (${N.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),V.length&&C(`Extraneous non-emits event listeners (${V.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(process.env.NODE_ENV!=="production"&&!Sc(h)&&C("Runtime directive used on component with non-element root node. The directives will not function as intended."),h=gt(h,null,!1,!0),h.dirs=h.dirs?h.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!Sc(h)&&C("Component inside <Transition> renders non-element root node that cannot be animated."),en(h,n.transition)),process.env.NODE_ENV!=="production"&&_?_(h):D=h,Js(x),D}const Gu=e=>{const t=e.children,n=e.dynamicChildren,s=$r(t,!1);if(s){if(process.env.NODE_ENV!=="production"&&s.patchFlag>0&&s.patchFlag&2048)return Gu(s)}else return[e,void 0];const i=t.indexOf(s),r=n?n.indexOf(s):-1,o=l=>{t[i]=l,n&&(r>-1?n[r]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[We(s),o]};function $r(e,t=!0){let n;for(let s=0;s<e.length;s++){const i=e[s];if(jt(i)){if(i.type!==ve||i.children==="v-if"){if(n)return;if(n=i,process.env.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return $r(n.children)}}else return}return n}const Lm=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qt(n))&&((t||(t={}))[n]=e[n]);return t},Fm=(e,t)=>{const n={};for(const s in e)(!ji(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},Sc=e=>e.shapeFlag&7||e.type===ve;function jm(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:l,patchFlag:c}=t,f=r.emitsOptions;if(process.env.NODE_ENV!=="production"&&(i||l)&&ut||t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?wc(s,o,f):!!o;if(c&8){const u=t.dynamicProps;for(let a=0;a<u.length;a++){const p=u[a];if(o[p]!==s[p]&&!Mr(f,p))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?wc(s,o,f):!0:!!o;return!1}function wc(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const r=s[i];if(t[r]!==e[r]&&!Mr(n,r))return!0}return!1}function Lr({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const zu={},Ju=()=>Object.create(zu),Yu=e=>Object.getPrototypeOf(e)===zu;function Hm(e,t,n,s=!1){const i={},r=Ju();e.propsDefaults=Object.create(null),Xu(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);process.env.NODE_ENV!=="production"&&Qu(t||{},i,e),n?e.props=s?i:ru(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Bm(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function Um(e,t,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=Q(i),[c]=e.propsOptions;let f=!1;if(!(process.env.NODE_ENV!=="production"&&Bm(e))&&(s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let a=0;a<u.length;a++){let p=u[a];if(Mr(e.emitsOptions,p))continue;const m=t[p];if(c)if(re(r,p))m!==r[p]&&(r[p]=m,f=!0);else{const g=pe(p);i[g]=Do(c,l,g,m,e,!1)}else m!==r[p]&&(r[p]=m,f=!0)}}}else{Xu(e,t,i,r)&&(f=!0);let u;for(const a in l)(!t||!re(t,a)&&((u=Me(a))===a||!re(t,u)))&&(c?n&&(n[a]!==void 0||n[u]!==void 0)&&(i[a]=Do(c,l,a,void 0,e,!0)):delete i[a]);if(r!==l)for(const a in r)(!t||!re(t,a))&&(delete r[a],f=!0)}f&&Pt(e.attrs,"set",""),process.env.NODE_ENV!=="production"&&Qu(t||{},i,e)}function Xu(e,t,n,s){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Yt(c))continue;const f=t[c];let u;i&&re(i,u=pe(c))?!r||!r.includes(u)?n[u]=f:(l||(l={}))[u]=f:Mr(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,o=!0)}if(r){const c=Q(n),f=l||ne;for(let u=0;u<r.length;u++){const a=r[u];n[a]=Do(i,c,a,f[a],e,!re(f,a))}}return o}function Do(e,t,n,s,i,r){const o=e[n];if(o!=null){const l=re(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&z(c)){const{propsDefaults:f}=i;if(n in f)s=f[n];else{const u=jn(i);s=f[n]=c.call(null,t),u()}}else s=c;i.ce&&i.ce._setProp(n,s)}o[0]&&(r&&!l?s=!1:o[1]&&(s===""||s===Me(n))&&(s=!0))}return s}const Km=new WeakMap;function Zu(e,t,n=!1){const s=n?Km:t.propsCache,i=s.get(e);if(i)return i;const r=e.props,o={},l=[];let c=!1;if(!z(e)){const u=a=>{c=!0;const[p,m]=Zu(a,t,!0);ee(o,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!c)return se(e)&&s.set(e,es),es;if(H(r))for(let u=0;u<r.length;u++){process.env.NODE_ENV!=="production"&&!Y(r[u])&&C("props must be strings when using array syntax.",r[u]);const a=pe(r[u]);Cc(a)&&(o[a]=ne)}else if(r){process.env.NODE_ENV!=="production"&&!se(r)&&C("invalid props options",r);for(const u in r){const a=pe(u);if(Cc(a)){const p=r[u],m=o[a]=H(p)||z(p)?{type:p}:ee({},p),g=m.type;let v=!1,x=!0;if(H(g))for(let D=0;D<g.length;++D){const b=g[D],h=z(b)&&b.name;if(h==="Boolean"){v=!0;break}else h==="String"&&(x=!1)}else v=z(g)&&g.name==="Boolean";m[0]=v,m[1]=x,(v||re(m,"default"))&&l.push(a)}}}const f=[o,l];return se(e)&&s.set(e,f),f}function Cc(e){return e[0]!=="$"&&!Yt(e)?!0:(process.env.NODE_ENV!=="production"&&C(`Invalid prop name: "${e}" is a reserved property.`),!1)}function Wm(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Qu(e,t,n){const s=Q(t),i=n.propsOptions[0],r=Object.keys(e).map(o=>pe(o));for(const o in i){let l=i[o];l!=null&&qm(o,s[o],l,process.env.NODE_ENV!=="production"?Nt(s):s,!r.includes(o))}}function qm(e,t,n,s,i){const{type:r,required:o,validator:l,skipCheck:c}=n;if(o&&i){C('Missing required prop: "'+e+'"');return}if(!(t==null&&!o)){if(r!=null&&r!==!0&&!c){let f=!1;const u=H(r)?r:[r],a=[];for(let p=0;p<u.length&&!f;p++){const{valid:m,expectedType:g}=zm(t,u[p]);a.push(g||""),f=m}if(!f){C(Jm(e,t,a));return}}l&&!l(t,s)&&C('Invalid prop: custom validator check failed for prop "'+e+'".')}}const Gm=Ve("String,Number,Boolean,Function,Symbol,BigInt");function zm(e,t){let n;const s=Wm(t);if(s==="null")n=e===null;else if(Gm(s)){const i=typeof e;n=i===s.toLowerCase(),!n&&i==="object"&&(n=e instanceof t)}else s==="Object"?n=se(e):s==="Array"?n=H(e):n=e instanceof t;return{valid:n,expectedType:s}}function Jm(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let s=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(Ft).join(" | ")}`;const i=n[0],r=Zo(t),o=Tc(t,i),l=Tc(t,r);return n.length===1&&Dc(i)&&!Ym(i,r)&&(s+=` with value ${o}`),s+=`, got ${r} `,Dc(r)&&(s+=`with value ${l}.`),s}function Tc(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function Dc(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function Ym(...e){return e.some(t=>t.toLowerCase()==="boolean")}const _l=e=>e==="_"||e==="_ctx"||e==="$stable",Nl=e=>H(e)?e.map(We):[We(e)],Xm=(e,t,n)=>{if(t._n)return t;const s=Ar((...i)=>(process.env.NODE_ENV!=="production"&&Oe&&!(n===null&&Se)&&!(n&&n.root!==Oe.root)&&C(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),Nl(t(...i))),n);return s._c=!1,s},ef=(e,t,n)=>{const s=e._ctx;for(const i in e){if(_l(i))continue;const r=e[i];if(z(r))t[i]=Xm(i,r,s);else if(r!=null){process.env.NODE_ENV!=="production"&&C(`Non-function value encountered for slot "${i}". Prefer function slots for better performance.`);const o=Nl(r);t[i]=()=>o}}},tf=(e,t)=>{process.env.NODE_ENV!=="production"&&!Ns(e.vnode)&&C("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=Nl(t);e.slots.default=()=>n},Vo=(e,t,n)=>{for(const s in t)(n||!_l(s))&&(e[s]=t[s])},Zm=(e,t,n)=>{const s=e.slots=Ju();if(e.vnode.shapeFlag&32){const i=t._;i?(Vo(s,t,n),n&&ls(s,"_",i,!0)):ef(t,s)}else t&&tf(e,t)},Qm=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=ne;if(s.shapeFlag&32){const l=t._;l?process.env.NODE_ENV!=="production"&&ut?(Vo(i,t,n),Pt(e,"set","$slots")):n&&l===1?r=!1:Vo(i,t,n):(r=!t.$stable,ef(t,i)),o=t}else t&&(tf(e,t),o={default:1});if(r)for(const l in i)!_l(l)&&o[l]==null&&delete i[l]};let ws,Gt;function Bt(e,t){e.appContext.config.performance&&Xi()&&Gt.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&Sh(e,t,Xi()?Gt.now():Date.now())}function Ut(e,t){if(e.appContext.config.performance&&Xi()){const n=`vue-${t}-${e.uid}`,s=n+":end",i=`<${di(e,e.type)}> ${t}`;Gt.mark(s),Gt.measure(i,n,s),Gt.clearMeasures(i),Gt.clearMarks(n),Gt.clearMarks(s)}process.env.NODE_ENV!=="production"&&wh(e,t,Xi()?Gt.now():Date.now())}function Xi(){return ws!==void 0||(typeof window<"u"&&window.performance?(ws=!0,Gt=window.performance):ws=!1),ws}function eg(){const e=[];if(process.env.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
20
|
+
You should fix the source of the mismatch.`;return k(u,e,f),!0}return!1}function oc(e){return new Set(e.trim().split(/\s+/))}function Jm(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function lc(e){const t=new Map;for(const n of e.split(";")){let[s,i]=n.split(":");s=s.trim(),i=i&&i.trim(),s&&i&&t.set(s,i)}return t}function Zm(e,t){if(e.size!==t.size)return!1;for(const[n,s]of e)if(s!==t.get(n))return!1;return!0}function Vf(e,t,n){const s=e.subTree;if(e.getCssVars&&(t===s||s&&s.type===we&&s.children.includes(t))){const i=e.getCssVars();for(const r in i){const o=Ru(i[r]);n.set(`--${kp(r)}`,o)}}t===s&&e.parent&&Vf(e.parent,e.vnode,n)}const ac="data-allow-mismatch",kf={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function pi(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ac);)e=e.parentElement;const n=e&&e.getAttribute(ac);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(kf[t])}}const Ym=Ui().requestIdleCallback||(e=>setTimeout(e,1)),Xm=Ui().cancelIdleCallback||(e=>clearTimeout(e)),Qm=(e=1e4)=>t=>{const n=Ym(t,{timeout:e});return()=>Xm(n)};function eg(e){const{top:t,left:n,bottom:s,right:i}=e.getBoundingClientRect(),{innerHeight:r,innerWidth:o}=window;return(t>0&&t<r||s>0&&s<r)&&(n>0&&n<o||i>0&&i<o)}const tg=e=>(t,n)=>{const s=new IntersectionObserver(i=>{for(const r of i)if(r.isIntersecting){s.disconnect(),t();break}},e);return n(i=>{if(i instanceof Element){if(eg(i))return t(),s.disconnect(),!1;s.observe(i)}}),()=>s.disconnect()},ng=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},sg=(e=[])=>(t,n)=>{te(e)&&(e=[e]);let s=!1;const i=o=>{s||(s=!0,r(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},r=()=>{n(o=>{for(const l of e)o.removeEventListener(l,i)})};return n(o=>{for(const l of e)o.addEventListener(l,i,{once:!0})}),r};function ig(e,t){if(os(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(os(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const wn=e=>!!e.type.__asyncLoader;function rg(e){Q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:i=200,hydrate:r,timeout:o,suspensible:l=!0,onError:a}=e;let c=null,u,f=0;const d=()=>(f++,c=null,h()),h=()=>{let m;return c||(m=c=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((S,N)=>{a(p,()=>S(d()),()=>N(p),f+1)});throw p}).then(p=>{if(m!==c&&c)return c;if(process.env.NODE_ENV!=="production"&&!p&&k("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),process.env.NODE_ENV!=="production"&&p&&!he(p)&&!Q(p))throw new Error(`Invalid async component load result: ${p}`);return u=p,p}))};return pt({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(m,p,S){let N=!1;(p.bu||(p.bu=[])).push(()=>N=!0);const E=()=>{if(N){process.env.NODE_ENV!=="production"&&k(`Skipping lazy hydration for component '${Js(u)||u.__file}': it was updated before lazy hydration performed.`);return}S()},g=r?()=>{const _=r(E,y=>ig(m,y));_&&(p.bum||(p.bum=[])).push(_)}:E;u?g():h().then(()=>!p.isUnmounted&&g())},get __asyncResolved(){return u},setup(){const m=Fe;if(Zl(m),u)return()=>ar(u,m);const p=g=>{c=null,es(g,m,13,!s)};if(l&&m.suspense||Gs)return h().then(g=>()=>ar(g,m)).catch(g=>(p(g),()=>s?_e(s,{error:g}):null));const S=ne(!1),N=ne(),E=ne(!!i);return i&&setTimeout(()=>{E.value=!1},i),o!=null&&setTimeout(()=>{if(!S.value&&!N.value){const g=new Error(`Async component timed out after ${o}ms.`);p(g),N.value=g}},o),h().then(()=>{S.value=!0,m.parent&&ri(m.parent.vnode)&&m.parent.update()}).catch(g=>{p(g),N.value=g}),()=>{if(S.value&&u)return ar(u,m);if(N.value&&s)return _e(s,{error:N.value});if(n&&!E.value)return ar(n,m)}}})}function ar(e,t){const{ref:n,props:s,children:i,ce:r}=t.vnode,o=_e(e,s,i);return o.ref=n,o.ce=r,delete t.vnode.ce,o}const ri=e=>e.type.__isKeepAlive,og={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ze(),s=n.ctx;if(!s.renderer)return()=>{const E=t.default&&t.default();return E&&E.length===1?E[0]:E};const i=new Map,r=new Set;let o=null;process.env.NODE_ENV!=="production"&&(n.__v_cache=i);const l=n.suspense,{renderer:{p:a,m:c,um:u,o:{createElement:f}}}=s,d=f("div");s.activate=(E,g,_,y,w)=>{const P=E.component;c(E,g,_,0,l),a(P.vnode,E,g,_,P,l,y,E.slotScopeIds,w),He(()=>{P.isDeactivated=!1,P.a&&Hn(P.a);const T=E.props&&E.props.onVnodeMounted;T&&Nt(T,P.parent,E)},l),process.env.NODE_ENV!=="production"&&il(P)},s.deactivate=E=>{const g=E.component;Lr(g.m),Lr(g.a),c(E,d,null,1,l),He(()=>{g.da&&Hn(g.da);const _=E.props&&E.props.onVnodeUnmounted;_&&Nt(_,g.parent,E),g.isDeactivated=!0},l),process.env.NODE_ENV!=="production"&&il(g),process.env.NODE_ENV!=="production"&&(g.__keepAliveStorageContainer=d)};function h(E){Ro(E),u(E,n,l,!0)}function m(E){i.forEach((g,_)=>{const y=Js(wn(g)?g.type.__asyncResolved||{}:g.type);y&&!E(y)&&p(_)})}function p(E){const g=i.get(E);g&&(!o||!Ht(g,o))?h(g):o&&Ro(o),i.delete(E),r.delete(E)}ft(()=>[e.include,e.exclude],([E,g])=>{E&&m(_=>mi(E,_)),g&&m(_=>!mi(g,_))},{flush:"post",deep:!0});let S=null;const N=()=>{S!=null&&(Fr(n.subTree.type)?He(()=>{i.set(S,cr(n.subTree))},n.subTree.suspense):i.set(S,cr(n.subTree)))};return un(N),vo(N),ws(()=>{i.forEach(E=>{const{subTree:g,suspense:_}=n,y=cr(g);if(E.type===y.type&&E.key===y.key){Ro(y);const w=y.component.da;w&&He(w,_);return}h(E)})}),()=>{if(S=null,!t.default)return o=null;const E=t.default(),g=E[0];if(E.length>1)return process.env.NODE_ENV!=="production"&&k("KeepAlive should contain exactly one component child."),o=null,E;if(!cn(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let _=cr(g);if(_.type===Ae)return o=null,_;const y=_.type,w=Js(wn(_)?_.type.__asyncResolved||{}:y),{include:P,exclude:T,max:O}=e;if(P&&(!w||!mi(P,w))||T&&w&&mi(T,w))return _.shapeFlag&=-257,o=_,g;const D=_.key==null?y:_.key,I=i.get(D);return _.el&&(_=Ft(_),g.shapeFlag&128&&(g.ssContent=_)),S=D,I?(_.el=I.el,_.component=I.component,_.transition&&Tn(_,_.transition),_.shapeFlag|=512,r.delete(D),r.add(D)):(r.add(D),O&&r.size>parseInt(O,10)&&p(r.values().next().value)),_.shapeFlag|=256,o=_,Fr(g.type)?g:_}}},lg=og;function mi(e,t){return K(e)?e.some(n=>mi(n,t)):te(e)?e.split(",").includes(t):ap(e)?(e.lastIndex=0,e.test(t)):!1}function Af(e,t){Mf(e,"a",t)}function If(e,t){Mf(e,"da",t)}function Mf(e,t,n=Fe){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(go(t,s,n),n){let i=n.parent;for(;i&&i.parent;)ri(i.parent.vnode)&&ag(s,t,n,i),i=i.parent}}function ag(e,t,n,s){const i=go(t,e,s,!0);yo(()=>{Pl(s[t],i)},n)}function Ro(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function cr(e){return e.shapeFlag&128?e.ssContent:e}function go(e,t,n=Fe,s=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{qt();const l=bs(n),a=Lt(t,n,e,o);return l(),Gt(),a});return s?i.unshift(r):i.push(r),r}else if(process.env.NODE_ENV!=="production"){const i=Qt(fo[e].replace(/ hook$/,""));k(`${i} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Vn=e=>(t,n=Fe)=>{(!Gs||e==="sp")&&go(e,(...s)=>t(...s),n)},Yl=Vn("bm"),un=Vn("m"),Xl=Vn("bu"),vo=Vn("u"),ws=Vn("bum"),yo=Vn("um"),Pf=Vn("sp"),Lf=Vn("rtg"),Ff=Vn("rtc");function Rf(e,t=Fe){go("ec",e,t)}const Ar="components",cg="directives";function ug(e,t){return ea(Ar,e,!0,t)||e}const Ql=Symbol.for("v-ndc");function $f(e){return te(e)?ea(Ar,e,!1)||e:e||Ql}function fg(e){return ea(cg,e)}function ea(e,t,n=!0,s=!1){const i=Re||Fe;if(i){const r=i.type;if(e===Ar){const l=Js(r,!1);if(l&&(l===t||l===De(t)||l===an(De(t))))return r}const o=cc(i[e]||r[e],t)||cc(i.appContext[e],t);if(!o&&s)return r;if(process.env.NODE_ENV!=="production"&&n&&!o){const l=e===Ar?`
|
|
21
|
+
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";k(`Failed to resolve ${e.slice(0,-1)}: ${t}${l}`)}return o}else process.env.NODE_ENV!=="production"&&k(`resolve${an(e.slice(0,-1))} can only be used in render() or setup().`)}function cc(e,t){return e&&(e[t]||e[De(t)]||e[an(De(t))])}function hs(e,t,n,s){let i;const r=n&&n[s],o=K(e);if(o||te(e)){const l=o&&on(e);let a=!1,c=!1;l&&(a=!ot(e),c=Pt(e),e=ao(e)),i=new Array(e.length);for(let u=0,f=e.length;u<f;u++)i[u]=t(a?c?Ws(Jt(e[u])):Jt(e[u]):e[u],u,void 0,r&&r[u])}else if(typeof e=="number"){process.env.NODE_ENV!=="production"&&!Number.isInteger(e)&&k(`The v-for range expect an integer value but got ${e}.`),i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r&&r[l])}else if(he(e))if(e[Symbol.iterator])i=Array.from(e,(l,a)=>t(l,a,void 0,r&&r[a]));else{const l=Object.keys(e);i=new Array(l.length);for(let a=0,c=l.length;a<c;a++){const u=l[a];i[a]=t(e[u],u,a,r&&r[a])}}else i=[];return n&&(n[s]=i),i}function dg(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(K(s))for(let i=0;i<s.length;i++)e[s[i].name]=s[i].fn;else s&&(e[s.name]=s.key?(...i)=>{const r=s.fn(...i);return r&&(r.key=s.key),r}:s.fn)}return e}function Bn(e,t,n={},s,i){if(Re.ce||Re.parent&&wn(Re.parent)&&Re.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),fe(),Wt(we,null,[_e("slot",n,s&&s())],c?-2:64)}let r=e[t];process.env.NODE_ENV!=="production"&&r&&r.length>1&&(k("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),r=()=>[]),r&&r._c&&(r._d=!1),fe();const o=r&&ta(r(n)),l=n.key||o&&o.key,a=Wt(we,{key:(l&&!wt(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function ta(e){return e.some(t=>cn(t)?!(t.type===Ae||t.type===we&&!ta(t.children)):!0)?e:null}function Bs(e,t){const n={};if(process.env.NODE_ENV!=="production"&&!he(e))return k("v-on with no argument expects an object value."),n;for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Qt(s)]=e[s];return n}const ll=e=>e?gd(e)?qi(e):ll(e.parent):null,ps=oe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Bt(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Bt(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Bt(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Bt(e.refs):e.refs,$parent:e=>ll(e.parent),$root:e=>ll(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>sa(e),$forceUpdate:e=>e.f||(e.f=()=>{ho(e.update)}),$nextTick:e=>e.n||(e.n=Xn.bind(e.proxy)),$watch:e=>$m.bind(e)}),na=e=>e==="_"||e==="$",$o=(e,t)=>e!==ue&&!e.__isScriptSetup&&ve(e,t),bi={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:l,appContext:a}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;if(t[0]!=="$"){const d=o[t];if(d!==void 0)switch(d){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if($o(s,t))return o[t]=1,s[t];if(i!==ue&&ve(i,t))return o[t]=2,i[t];if(ve(r,t))return o[t]=3,r[t];if(n!==ue&&ve(n,t))return o[t]=4,n[t];al&&(o[t]=0)}}const c=ps[t];let u,f;if(c)return t==="$attrs"?(Ue(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&Mr()):process.env.NODE_ENV!=="production"&&t==="$slots"&&Ue(e,"get",t),c(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==ue&&ve(n,t))return o[t]=4,n[t];if(f=a.config.globalProperties,ve(f,t))return f[t];process.env.NODE_ENV!=="production"&&Re&&(!te(t)||t.indexOf("__v")!==0)&&(i!==ue&&na(t[0])&&ve(i,t)?k(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Re&&k(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return $o(i,t)?(i[t]=n,!0):process.env.NODE_ENV!=="production"&&i.__isScriptSetup&&ve(i,t)?(k(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==ue&&ve(s,t)?(s[t]=n,!0):ve(e.props,t)?(process.env.NODE_ENV!=="production"&&k(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&k(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:n}):r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:r,type:o}},l){let a;return!!(n[l]||e!==ue&&l[0]!=="$"&&ve(e,l)||$o(t,l)||ve(r,l)||ve(s,l)||ve(ps,l)||ve(i.config.globalProperties,l)||(a=o.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(bi.ownKeys=e=>(k("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));const hg=oe({},bi,{get(e,t){if(t!==Symbol.unscopables)return bi.get(e,t,e)},has(e,t){const n=t[0]!=="_"&&!pp(t);return process.env.NODE_ENV!=="production"&&!n&&bi.has(e,t)&&k(`Property ${JSON.stringify(t)} should not start with _ which is a reserved prefix for Vue internals.`),n}});function pg(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(ps).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>ps[n](e),set:ke})}),t}function mg(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e.props[s],set:ke})})}function gg(e){const{ctx:t,setupState:n}=e;Object.keys(re(n)).forEach(s=>{if(!n.__isScriptSetup){if(na(s[0])){k(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n[s],set:ke})}})}const Cs=e=>k(`${e}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);function vg(){return process.env.NODE_ENV!=="production"&&Cs("defineProps"),null}function yg(){return process.env.NODE_ENV!=="production"&&Cs("defineEmits"),null}function Eg(e){process.env.NODE_ENV!=="production"&&Cs("defineExpose")}function _g(e){process.env.NODE_ENV!=="production"&&Cs("defineOptions")}function bg(){return process.env.NODE_ENV!=="production"&&Cs("defineSlots"),null}function Ng(){process.env.NODE_ENV!=="production"&&Cs("defineModel")}function Sg(e,t){return process.env.NODE_ENV!=="production"&&Cs("withDefaults"),null}function Og(){return jf("useSlots").slots}function wg(){return jf("useAttrs").attrs}function jf(e){const t=ze();return process.env.NODE_ENV!=="production"&&!t&&k(`${e}() called without active instance.`),t.setupContext||(t.setupContext=_d(t))}function Ii(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Hf(e,t){const n=Ii(e);for(const s in t){if(s.startsWith("__skip"))continue;let i=n[s];i?K(i)||Q(i)?i=n[s]={type:i,default:t[s]}:i.default=t[s]:i===null?i=n[s]={default:t[s]}:process.env.NODE_ENV!=="production"&&k(`props default key "${s}" has no corresponding declaration.`),i&&t[`__skip_${s}`]&&(i.skipFactory=!0)}return n}function Cg(e,t){return!e||!t?e||t:K(e)&&K(t)?e.concat(t):oe({},Ii(e),Ii(t))}function Dg(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function xg(e){const t=ze();process.env.NODE_ENV!=="production"&&!t&&k("withAsyncContext called without active current instance. This is likely a bug.");let n=e();return gl(),to(n)&&(n=n.catch(s=>{throw bs(t),s})),[n,()=>bs(t)]}function Tg(){const e=Object.create(null);return(t,n)=>{e[n]?k(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let al=!0;function Vg(e){const t=sa(e),n=e.proxy,s=e.ctx;al=!1,t.beforeCreate&&uc(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:m,activated:p,deactivated:S,beforeDestroy:N,beforeUnmount:E,destroyed:g,unmounted:_,render:y,renderTracked:w,renderTriggered:P,errorCaptured:T,serverPrefetch:O,expose:D,inheritAttrs:I,components:C,directives:R,filters:G}=t,z=process.env.NODE_ENV!=="production"?Tg():null;if(process.env.NODE_ENV!=="production"){const[J]=e.propsOptions;if(J)for(const H in J)z("Props",H)}if(c&&kg(c,s,z),o)for(const J in o){const H=o[J];Q(H)?(process.env.NODE_ENV!=="production"?Object.defineProperty(s,J,{value:H.bind(n),configurable:!0,enumerable:!0,writable:!0}):s[J]=H.bind(n),process.env.NODE_ENV!=="production"&&z("Methods",J)):process.env.NODE_ENV!=="production"&&k(`Method "${J}" has type "${typeof H}" in the component definition. Did you reference the function correctly?`)}if(i){process.env.NODE_ENV!=="production"&&!Q(i)&&k("The data option must be a function. Plain object usage is no longer supported.");const J=i.call(n,n);if(process.env.NODE_ENV!=="production"&&to(J)&&k("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!he(J))process.env.NODE_ENV!=="production"&&k("data() should return an object.");else if(e.data=ii(J),process.env.NODE_ENV!=="production")for(const H in J)z("Data",H),na(H[0])||Object.defineProperty(s,H,{configurable:!0,enumerable:!0,get:()=>J[H],set:ke})}if(al=!0,r)for(const J in r){const H=r[J],le=Q(H)?H.bind(n,n):Q(H.get)?H.get.bind(n,n):ke;process.env.NODE_ENV!=="production"&&le===ke&&k(`Computed property "${J}" has no getter.`);const $e=!Q(H)&&Q(H.set)?H.set.bind(n):process.env.NODE_ENV!=="production"?()=>{k(`Write operation failed: computed property "${J}" is readonly.`)}:ke,Ge=ie({get:le,set:$e});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:Je=>Ge.value=Je}),process.env.NODE_ENV!=="production"&&z("Computed",J)}if(l)for(const J in l)Bf(l[J],s,n,J);if(a){const J=Q(a)?a.call(n):a;Reflect.ownKeys(J).forEach(H=>{ql(H,J[H])})}u&&uc(u,e,"c");function W(J,H){K(H)?H.forEach(le=>J(le.bind(n))):H&&J(H.bind(n))}if(W(Yl,f),W(un,d),W(Xl,h),W(vo,m),W(Af,p),W(If,S),W(Rf,T),W(Ff,w),W(Lf,P),W(ws,E),W(yo,_),W(Pf,O),K(D))if(D.length){const J=e.exposed||(e.exposed={});D.forEach(H=>{Object.defineProperty(J,H,{get:()=>n[H],set:le=>n[H]=le,enumerable:!0})})}else e.exposed||(e.exposed={});y&&e.render===ke&&(e.render=y),I!=null&&(e.inheritAttrs=I),C&&(e.components=C),R&&(e.directives=R),O&&Zl(e)}function kg(e,t,n=ke){K(e)&&(e=cl(e));for(const s in e){const i=e[s];let r;he(i)?"default"in i?r=js(i.from||s,i.default,!0):r=js(i.from||s):r=js(i),Ie(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[s]=r,process.env.NODE_ENV!=="production"&&n("Inject",s)}}function uc(e,t,n){Lt(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Bf(e,t,n,s){let i=s.includes(".")?bf(n,s):()=>n[s];if(te(e)){const r=t[e];Q(r)?ft(i,r):process.env.NODE_ENV!=="production"&&k(`Invalid watch handler specified by key "${e}"`,r)}else if(Q(e))ft(i,e.bind(n));else if(he(e))if(K(e))e.forEach(r=>Bf(r,t,n,s));else{const r=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(r)?ft(i,r,e):process.env.NODE_ENV!=="production"&&k(`Invalid watch handler specified by key "${e.handler}"`,r)}else process.env.NODE_ENV!=="production"&&k(`Invalid watch option: "${s}"`,e)}function sa(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let a;return l?a=l:!i.length&&!n&&!s?a=t:(a={},i.length&&i.forEach(c=>Ir(a,c,o,!0)),Ir(a,t,o)),he(t)&&r.set(t,a),a}function Ir(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&Ir(e,r,n,!0),i&&i.forEach(o=>Ir(e,o,n,!0));for(const o in t)if(s&&o==="expose")process.env.NODE_ENV!=="production"&&k('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=Ag[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ag={data:fc,props:dc,emits:dc,methods:gi,computed:gi,beforeCreate:mt,created:mt,beforeMount:mt,mounted:mt,beforeUpdate:mt,updated:mt,beforeDestroy:mt,beforeUnmount:mt,destroyed:mt,unmounted:mt,activated:mt,deactivated:mt,errorCaptured:mt,serverPrefetch:mt,components:gi,directives:gi,watch:Mg,provide:fc,inject:Ig};function fc(e,t){return t?e?function(){return oe(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function Ig(e,t){return gi(cl(e),cl(t))}function cl(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mt(e,t){return e?[...new Set([].concat(e,t))]:t}function gi(e,t){return e?oe(Object.create(null),e,t):t}function dc(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:oe(Object.create(null),Ii(e),Ii(t??{})):t}function Mg(e,t){if(!e)return t;if(!t)return e;const n=oe(Object.create(null),e);for(const s in t)n[s]=mt(e[s],t[s]);return n}function Kf(){return{app:null,config:{isNativeTag:Ms,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Pg=0;function Lg(e,t){return function(s,i=null){Q(s)||(s=oe({},s)),i!=null&&!he(i)&&(process.env.NODE_ENV!=="production"&&k("root props passed to app.mount() must be an object."),i=null);const r=Kf(),o=new WeakSet,l=[];let a=!1;const c=r.app={_uid:Pg++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:_l,get config(){return r.config},set config(u){process.env.NODE_ENV!=="production"&&k("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return o.has(u)?process.env.NODE_ENV!=="production"&&k("Plugin has already been applied to target app."):u&&Q(u.install)?(o.add(u),u.install(c,...f)):Q(u)?(o.add(u),u(c,...f)):process.env.NODE_ENV!=="production"&&k('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return r.mixins.includes(u)?process.env.NODE_ENV!=="production"&&k("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):r.mixins.push(u),c},component(u,f){return process.env.NODE_ENV!=="production"&&vl(u,r.config),f?(process.env.NODE_ENV!=="production"&&r.components[u]&&k(`Component "${u}" has already been registered in target app.`),r.components[u]=f,c):r.components[u]},directive(u,f){return process.env.NODE_ENV!=="production"&&vf(u),f?(process.env.NODE_ENV!=="production"&&r.directives[u]&&k(`Directive "${u}" has already been registered in target app.`),r.directives[u]=f,c):r.directives[u]},mount(u,f,d){if(a)process.env.NODE_ENV!=="production"&&k("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&u.__vue_app__&&k("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const h=c._ceVNode||_e(s,i);return h.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),process.env.NODE_ENV!=="production"&&(r.reload=()=>{const m=Ft(h);m.el=null,e(m,u,d)}),f&&t?t(h,u):e(h,u,d),a=!0,c._container=u,u.__vue_app__=c,process.env.NODE_ENV!=="production"&&(c._instance=h.component,Cm(c,_l)),qi(h.component)}},onUnmount(u){process.env.NODE_ENV!=="production"&&typeof u!="function"&&k(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),l.push(u)},unmount(){a?(Lt(l,c._instance,16),e(null,c._container),process.env.NODE_ENV!=="production"&&(c._instance=null,Dm(c)),delete c._container.__vue_app__):process.env.NODE_ENV!=="production"&&k("Cannot unmount an app that is not mounted.")},provide(u,f){return process.env.NODE_ENV!=="production"&&u in r.provides&&(ve(r.provides,u)?k(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`):k(`App already provides property with key "${String(u)}" inherited from its parent element. It will be overwritten with the new value.`)),r.provides[u]=f,c},runWithContext(u){const f=ms;ms=c;try{return u()}finally{ms=f}}};return c}}let ms=null;function Fg(e,t,n=ue){const s=ze();if(process.env.NODE_ENV!=="production"&&!s)return k("useModel() called without active instance."),ne();const i=De(t);if(process.env.NODE_ENV!=="production"&&!s.propsOptions[0][i])return k(`useModel() called with prop "${t}" which is not declared.`),ne();const r=ut(t),o=Uf(e,i),l=of((a,c)=>{let u,f=ue,d;return _f(()=>{const h=e[i];gt(u,h)&&(u=h,c())}),{get(){return a(),n.get?n.get(u):u},set(h){const m=n.set?n.set(h):h;if(!gt(m,u)&&!(f!==ue&>(h,f)))return;const p=s.vnode.props;p&&(t in p||i in p||r in p)&&(`onUpdate:${t}`in p||`onUpdate:${i}`in p||`onUpdate:${r}`in p)||(u=h,c()),s.emit(`update:${t}`,m),gt(h,m)&>(h,f)&&!gt(m,d)&&c(),f=h,d=m}}});return l[Symbol.iterator]=()=>{let a=0;return{next(){return a<2?{value:a++?o||ue:l,done:!1}:{done:!0}}}},l}const Uf=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${De(t)}Modifiers`]||e[`${ut(t)}Modifiers`];function Rg(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ue;if(process.env.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=e;if(u)if(!(t in u))(!f||!(Qt(De(t))in f))&&k(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Qt(De(t))}" prop.`);else{const d=u[t];Q(d)&&(d(...n)||k(`Invalid event arguments: event validation failed for event "${t}".`))}}let i=n;const r=t.startsWith("update:"),o=r&&Uf(s,t.slice(7));if(o&&(o.trim&&(i=n.map(u=>te(u)?u.trim():u)),o.number&&(i=n.map(ro))),process.env.NODE_ENV!=="production"&&Am(e,t,i),process.env.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&s[Qt(u)]&&k(`Event "${u}" is emitted in component ${Gi(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ut(t)}" instead of "${t}".`)}let l,a=s[l=Qt(t)]||s[l=Qt(De(t))];!a&&r&&(a=s[l=Qt(ut(t))]),a&&Lt(a,e,6,i);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Lt(c,e,6,i)}}const $g=new WeakMap;function Wf(e,t,n=!1){const s=n?$g:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!Q(e)){const a=c=>{const u=Wf(c,t,!0);u&&(l=!0,oe(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(he(e)&&s.set(e,null),null):(K(r)?r.forEach(a=>o[a]=null):oe(o,r),he(e)&&s.set(e,o),o)}function Eo(e,t){return!e||!xn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,ut(t))||ve(e,t))}let ul=!1;function Mr(){ul=!0}function gr(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:a,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:m,inheritAttrs:p}=e,S=Ai(e);let N,E;process.env.NODE_ENV!=="production"&&(ul=!1);try{if(n.shapeFlag&4){const y=i||s,w=process.env.NODE_ENV!=="production"&&h.__isScriptSetup?new Proxy(y,{get(P,T,O){return k(`Property '${String(T)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(P,T,O)}}):y;N=yt(c.call(w,y,u,process.env.NODE_ENV!=="production"?Bt(f):f,h,d,m)),E=l}else{const y=t;process.env.NODE_ENV!=="production"&&l===f&&Mr(),N=yt(y.length>1?y(process.env.NODE_ENV!=="production"?Bt(f):f,process.env.NODE_ENV!=="production"?{get attrs(){return Mr(),Bt(l)},slots:o,emit:a}:{attrs:l,slots:o,emit:a}):y(process.env.NODE_ENV!=="production"?Bt(f):f,null)),E=t.props?l:jg(l)}}catch(y){Si.length=0,es(y,e,1),N=_e(Ae)}let g=N,_;if(process.env.NODE_ENV!=="production"&&N.patchFlag>0&&N.patchFlag&2048&&([g,_]=zf(N)),E&&p!==!1){const y=Object.keys(E),{shapeFlag:w}=g;if(y.length){if(w&7)r&&y.some(Or)&&(E=Hg(E,r)),g=Ft(g,E,!1,!0);else if(process.env.NODE_ENV!=="production"&&!ul&&g.type!==Ae){const P=Object.keys(l),T=[],O=[];for(let D=0,I=P.length;D<I;D++){const C=P[D];xn(C)?Or(C)||T.push(C[2].toLowerCase()+C.slice(3)):O.push(C)}O.length&&k(`Extraneous non-props attributes (${O.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),T.length&&k(`Extraneous non-emits event listeners (${T.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(process.env.NODE_ENV!=="production"&&!hc(g)&&k("Runtime directive used on component with non-element root node. The directives will not function as intended."),g=Ft(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!hc(g)&&k("Component inside <Transition> renders non-element root node that cannot be animated."),Tn(g,n.transition)),process.env.NODE_ENV!=="production"&&_?_(g):N=g,Ai(S),N}const zf=e=>{const t=e.children,n=e.dynamicChildren,s=_o(t,!1);if(s){if(process.env.NODE_ENV!=="production"&&s.patchFlag>0&&s.patchFlag&2048)return zf(s)}else return[e,void 0];const i=t.indexOf(s),r=n?n.indexOf(s):-1,o=l=>{t[i]=l,n&&(r>-1?n[r]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[yt(s),o]};function _o(e,t=!0){let n;for(let s=0;s<e.length;s++){const i=e[s];if(cn(i)){if(i.type!==Ae||i.children==="v-if"){if(n)return;if(n=i,process.env.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return _o(n.children)}}else return}return n}const jg=e=>{let t;for(const n in e)(n==="class"||n==="style"||xn(n))&&((t||(t={}))[n]=e[n]);return t},Hg=(e,t)=>{const n={};for(const s in e)(!Or(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},hc=e=>e.shapeFlag&7||e.type===Ae;function Bg(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:l,patchFlag:a}=t,c=r.emitsOptions;if(process.env.NODE_ENV!=="production"&&(i||l)&&At||t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?pc(s,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(o[d]!==s[d]&&!Eo(c,d))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?pc(s,o,c):!0:!!o;return!1}function pc(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const r=s[i];if(t[r]!==e[r]&&!Eo(n,r))return!0}return!1}function bo({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const qf={},Gf=()=>Object.create(qf),Jf=e=>Object.getPrototypeOf(e)===qf;function Kg(e,t,n,s=!1){const i={},r=Gf();e.propsDefaults=Object.create(null),Zf(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);process.env.NODE_ENV!=="production"&&Xf(t||{},i,e),n?e.props=s?i:nf(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Ug(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function Wg(e,t,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=re(i),[a]=e.propsOptions;let c=!1;if(!(process.env.NODE_ENV!=="production"&&Ug(e))&&(s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Eo(e.emitsOptions,d))continue;const h=t[d];if(a)if(ve(r,d))h!==r[d]&&(r[d]=h,c=!0);else{const m=De(d);i[m]=fl(a,l,m,h,e,!1)}else h!==r[d]&&(r[d]=h,c=!0)}}}else{Zf(e,t,i,r)&&(c=!0);let u;for(const f in l)(!t||!ve(t,f)&&((u=ut(f))===f||!ve(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(i[f]=fl(a,l,f,void 0,e,!0)):delete i[f]);if(r!==l)for(const f in r)(!t||!ve(t,f))&&(delete r[f],c=!0)}c&&nn(e.attrs,"set",""),process.env.NODE_ENV!=="production"&&Xf(t||{},i,e)}function Zf(e,t,n,s){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(On(a))continue;const c=t[a];let u;i&&ve(i,u=De(a))?!r||!r.includes(u)?n[u]=c:(l||(l={}))[u]=c:Eo(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,o=!0)}if(r){const a=re(n),c=l||ue;for(let u=0;u<r.length;u++){const f=r[u];n[f]=fl(i,a,f,c[f],e,!ve(c,f))}}return o}function fl(e,t,n,s,i,r){const o=e[n];if(o!=null){const l=ve(o,"default");if(l&&s===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&Q(a)){const{propsDefaults:c}=i;if(n in c)s=c[n];else{const u=bs(i);s=c[n]=a.call(null,t),u()}}else s=a;i.ce&&i.ce._setProp(n,s)}o[0]&&(r&&!l?s=!1:o[1]&&(s===""||s===ut(n))&&(s=!0))}return s}const zg=new WeakMap;function Yf(e,t,n=!1){const s=n?zg:t.propsCache,i=s.get(e);if(i)return i;const r=e.props,o={},l=[];let a=!1;if(!Q(e)){const u=f=>{a=!0;const[d,h]=Yf(f,t,!0);oe(o,d),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return he(e)&&s.set(e,Ls),Ls;if(K(r))for(let u=0;u<r.length;u++){process.env.NODE_ENV!=="production"&&!te(r[u])&&k("props must be strings when using array syntax.",r[u]);const f=De(r[u]);mc(f)&&(o[f]=ue)}else if(r){process.env.NODE_ENV!=="production"&&!he(r)&&k("invalid props options",r);for(const u in r){const f=De(u);if(mc(f)){const d=r[u],h=o[f]=K(d)||Q(d)?{type:d}:oe({},d),m=h.type;let p=!1,S=!0;if(K(m))for(let N=0;N<m.length;++N){const E=m[N],g=Q(E)&&E.name;if(g==="Boolean"){p=!0;break}else g==="String"&&(S=!1)}else p=Q(m)&&m.name==="Boolean";h[0]=p,h[1]=S,(p||ve(h,"default"))&&l.push(f)}}}const c=[o,l];return he(e)&&s.set(e,c),c}function mc(e){return e[0]!=="$"&&!On(e)?!0:(process.env.NODE_ENV!=="production"&&k(`Invalid prop name: "${e}" is a reserved property.`),!1)}function qg(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Xf(e,t,n){const s=re(t),i=n.propsOptions[0],r=Object.keys(e).map(o=>De(o));for(const o in i){let l=i[o];l!=null&&Gg(o,s[o],l,process.env.NODE_ENV!=="production"?Bt(s):s,!r.includes(o))}}function Gg(e,t,n,s,i){const{type:r,required:o,validator:l,skipCheck:a}=n;if(o&&i){k('Missing required prop: "'+e+'"');return}if(!(t==null&&!o)){if(r!=null&&r!==!0&&!a){let c=!1;const u=K(r)?r:[r],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:h,expectedType:m}=Zg(t,u[d]);f.push(m||""),c=h}if(!c){k(Yg(e,t,f));return}}l&&!l(t,s)&&k('Invalid prop: custom validator check failed for prop "'+e+'".')}}const Jg=et("String,Number,Boolean,Function,Symbol,BigInt");function Zg(e,t){let n;const s=qg(t);if(s==="null")n=e===null;else if(Jg(s)){const i=typeof e;n=i===s.toLowerCase(),!n&&i==="object"&&(n=e instanceof t)}else s==="Object"?n=he(e):s==="Array"?n=K(e):n=e instanceof t;return{valid:n,expectedType:s}}function Yg(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let s=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(an).join(" | ")}`;const i=n[0],r=Ll(t),o=gc(t,i),l=gc(t,r);return n.length===1&&vc(i)&&!Xg(i,r)&&(s+=` with value ${o}`),s+=`, got ${r} `,vc(r)&&(s+=`with value ${l}.`),s}function gc(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function vc(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function Xg(...e){return e.some(t=>t.toLowerCase()==="boolean")}const ia=e=>e==="_"||e==="_ctx"||e==="$stable",ra=e=>K(e)?e.map(yt):[yt(e)],Qg=(e,t,n)=>{if(t._n)return t;const s=rn((...i)=>(process.env.NODE_ENV!=="production"&&Fe&&!(n===null&&Re)&&!(n&&n.root!==Fe.root)&&k(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),ra(t(...i))),n);return s._c=!1,s},Qf=(e,t,n)=>{const s=e._ctx;for(const i in e){if(ia(i))continue;const r=e[i];if(Q(r))t[i]=Qg(i,r,s);else if(r!=null){process.env.NODE_ENV!=="production"&&k(`Non-function value encountered for slot "${i}". Prefer function slots for better performance.`);const o=ra(r);t[i]=()=>o}}},ed=(e,t)=>{process.env.NODE_ENV!=="production"&&!ri(e.vnode)&&k("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=ra(t);e.slots.default=()=>n},dl=(e,t,n)=>{for(const s in t)(n||!ia(s))&&(e[s]=t[s])},ev=(e,t,n)=>{const s=e.slots=Gf();if(e.vnode.shapeFlag&32){const i=t._;i?(dl(s,t,n),n&&Us(s,"_",i,!0)):Qf(t,s)}else t&&ed(e,t)},tv=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=ue;if(s.shapeFlag&32){const l=t._;l?process.env.NODE_ENV!=="production"&&At?(dl(i,t,n),nn(e,"set","$slots")):n&&l===1?r=!1:dl(i,t,n):(r=!t.$stable,Qf(t,i)),o=t}else t&&(ed(e,t),o={default:1});if(r)for(const l in i)!ia(l)&&o[l]==null&&delete i[l]};let ai,bn;function gn(e,t){e.appContext.config.performance&&Pr()&&bn.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&Vm(e,t,Pr()?bn.now():Date.now())}function vn(e,t){if(e.appContext.config.performance&&Pr()){const n=`vue-${t}-${e.uid}`,s=n+":end",i=`<${Gi(e,e.type)}> ${t}`;bn.mark(s),bn.measure(i,n,s),bn.clearMeasures(i),bn.clearMarks(n),bn.clearMarks(s)}process.env.NODE_ENV!=="production"&&km(e,t,Pr()?bn.now():Date.now())}function Pr(){return ai!==void 0||(typeof window<"u"&&window.performance?(ai=!0,bn=window.performance):ai=!1),ai}function nv(){const e=[];if(process.env.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
22
22
|
|
|
23
|
-
For more details, see https://link.vuejs.org/feature-flags.`)}}const we=uf;function nf(e){return rf(e)}function sf(e){return rf(e,Hh)}function rf(e,t){eg();const n=ci();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&ll(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:s,remove:i,patchProp:r,createElement:o,createText:l,createComment:c,setText:f,setElementText:u,parentNode:a,nextSibling:p,setScopeId:m=ge,insertStaticContent:g}=e,v=(d,E,S,P=null,I=null,A=null,F=void 0,M=null,$=process.env.NODE_ENV!=="production"&&ut?!1:!!E.dynamicChildren)=>{if(d===E)return;d&&!_t(d,E)&&(P=Ei(d),sn(d,I,A,!0),d=null),E.patchFlag===-2&&($=!1,E.dynamicChildren=null);const{type:k,ref:X,shapeFlag:B}=E;switch(k){case Lt:x(d,E,S,P);break;case ve:D(d,E,S,P);break;case mn:d==null?b(E,S,P,F):process.env.NODE_ENV!=="production"&&h(d,E,S,F);break;case Ne:L(d,E,S,P,I,A,F,M,$);break;default:B&1?T(d,E,S,P,I,A,F,M,$):B&6?q(d,E,S,P,I,A,F,M,$):B&64||B&128?k.process(d,E,S,P,I,A,F,M,$,Gn):process.env.NODE_ENV!=="production"&&C("Invalid VNode type:",k,`(${typeof k})`)}X!=null&&I?rs(X,d&&d.ref,A,E||d,!E):X==null&&d&&d.ref!=null&&rs(d.ref,null,A,d,!0)},x=(d,E,S,P)=>{if(d==null)s(E.el=l(E.children),S,P);else{const I=E.el=d.el;if(E.children!==d.children)if(process.env.NODE_ENV!=="production"&&ut&&E.patchFlag===-1&&"__elIndex"in d){const A=S.childNodes,F=l(E.children),M=A[E.__elIndex=d.__elIndex];s(F,S,M),i(M)}else f(I,E.children)}},D=(d,E,S,P)=>{d==null?s(E.el=c(E.children||""),S,P):E.el=d.el},b=(d,E,S,P)=>{[d.el,d.anchor]=g(d.children,E,S,P,d.el,d.anchor)},h=(d,E,S,P)=>{if(E.children!==d.children){const I=p(d.anchor);y(d),[E.el,E.anchor]=g(E.children,S,I,P)}else E.el=d.el,E.anchor=d.anchor},_=({el:d,anchor:E},S,P)=>{let I;for(;d&&d!==E;)I=p(d),s(d,S,P),d=I;s(E,S,P)},y=({el:d,anchor:E})=>{let S;for(;d&&d!==E;)S=p(d),i(d),d=S;i(E)},T=(d,E,S,P,I,A,F,M,$)=>{if(E.type==="svg"?F="svg":E.type==="math"&&(F="mathml"),d==null)j(E,S,P,I,A,F,M,$);else{const k=d.el&&d.el._isVueCE?d.el:null;try{k&&k._beginPatch(),w(d,E,I,A,F,M,$)}finally{k&&k._endPatch()}}},j=(d,E,S,P,I,A,F,M)=>{let $,k;const{props:X,shapeFlag:B,transition:G,dirs:Z}=d;if($=d.el=o(d.type,A,X&&X.is,X),B&8?u($,d.children):B&16&&N(d.children,$,null,P,I,ro(d,A),F,M),Z&&It(d,null,P,"created"),V($,d,d.scopeId,F,P),X){for(const de in X)de!=="value"&&!Yt(de)&&r($,de,null,X[de],A,P);"value"in X&&r($,"value",null,X.value,A),(k=X.onVnodeBeforeMount)&&Xe(k,P,d)}process.env.NODE_ENV!=="production"&&(ls($,"__vnode",d,!0),ls($,"__vueParentComponent",P,!0)),Z&&It(d,null,P,"beforeMount");const ce=of(I,G);ce&&G.beforeEnter($),s($,E,S),((k=X&&X.onVnodeMounted)||ce||Z)&&we(()=>{k&&Xe(k,P,d),ce&&G.enter($),Z&&It(d,null,P,"mounted")},I)},V=(d,E,S,P,I)=>{if(S&&m(d,S),P)for(let A=0;A<P.length;A++)m(d,P[A]);if(I){let A=I.subTree;if(process.env.NODE_ENV!=="production"&&A.patchFlag>0&&A.patchFlag&2048&&(A=$r(A.children)||A),E===A||Qi(A.type)&&(A.ssContent===E||A.ssFallback===E)){const F=I.vnode;V(d,F,F.scopeId,F.slotScopeIds,I.parent)}}},N=(d,E,S,P,I,A,F,M,$=0)=>{for(let k=$;k<d.length;k++){const X=d[k]=M?fn(d[k]):We(d[k]);v(null,X,E,S,P,I,A,F,M)}},w=(d,E,S,P,I,A,F)=>{const M=E.el=d.el;process.env.NODE_ENV!=="production"&&(M.__vnode=E);let{patchFlag:$,dynamicChildren:k,dirs:X}=E;$|=d.patchFlag&16;const B=d.props||ne,G=E.props||ne;let Z;if(S&&bn(S,!1),(Z=G.onVnodeBeforeUpdate)&&Xe(Z,S,E,d),X&&It(E,d,S,"beforeUpdate"),S&&bn(S,!0),process.env.NODE_ENV!=="production"&&ut&&($=0,F=!1,k=null),(B.innerHTML&&G.innerHTML==null||B.textContent&&G.textContent==null)&&u(M,""),k?(R(d.dynamicChildren,k,M,S,P,ro(E,I),A),process.env.NODE_ENV!=="production"&&Ls(d,E)):F||le(d,E,M,null,S,P,ro(E,I),A,!1),$>0){if($&16)O(M,B,G,S,I);else if($&2&&B.class!==G.class&&r(M,"class",null,G.class,I),$&4&&r(M,"style",B.style,G.style,I),$&8){const ce=E.dynamicProps;for(let de=0;de<ce.length;de++){const fe=ce[de],ze=B[fe],ke=G[fe];(ke!==ze||fe==="value")&&r(M,fe,ze,ke,I,S)}}$&1&&d.children!==E.children&&u(M,E.children)}else!F&&k==null&&O(M,B,G,S,I);((Z=G.onVnodeUpdated)||X)&&we(()=>{Z&&Xe(Z,S,E,d),X&&It(E,d,S,"updated")},P)},R=(d,E,S,P,I,A,F)=>{for(let M=0;M<E.length;M++){const $=d[M],k=E[M],X=$.el&&($.type===Ne||!_t($,k)||$.shapeFlag&198)?a($.el):S;v($,k,X,null,P,I,A,F,!0)}},O=(d,E,S,P,I)=>{if(E!==S){if(E!==ne)for(const A in E)!Yt(A)&&!(A in S)&&r(d,A,E[A],null,I,P);for(const A in S){if(Yt(A))continue;const F=S[A],M=E[A];F!==M&&A!=="value"&&r(d,A,M,F,I,P)}"value"in S&&r(d,"value",E.value,S.value,I)}},L=(d,E,S,P,I,A,F,M,$)=>{const k=E.el=d?d.el:l(""),X=E.anchor=d?d.anchor:l("");let{patchFlag:B,dynamicChildren:G,slotScopeIds:Z}=E;process.env.NODE_ENV!=="production"&&(ut||B&2048)&&(B=0,$=!1,G=null),Z&&(M=M?M.concat(Z):Z),d==null?(s(k,S,P),s(X,S,P),N(E.children||[],S,X,I,A,F,M,$)):B>0&&B&64&&G&&d.dynamicChildren&&d.dynamicChildren.length===G.length?(R(d.dynamicChildren,G,S,I,A,F,M),process.env.NODE_ENV!=="production"?Ls(d,E):(E.key!=null||I&&E===I.subTree)&&Ls(d,E,!0)):le(d,E,S,X,I,A,F,M,$)},q=(d,E,S,P,I,A,F,M,$)=>{E.slotScopeIds=M,d==null?E.shapeFlag&512?I.ctx.activate(E,S,P,F,$):J(E,S,P,I,A,F,$):K(d,E,$)},J=(d,E,S,P,I,A,F)=>{const M=d.component=Ef(d,P,I);if(process.env.NODE_ENV!=="production"&&M.type.__hmrId&&gh(M),process.env.NODE_ENV!=="production"&&(ts(d),Bt(M,"mount")),Ns(d)&&(M.ctx.renderer=Gn),process.env.NODE_ENV!=="production"&&Bt(M,"init"),_f(M,!1,F),process.env.NODE_ENV!=="production"&&Ut(M,"init"),process.env.NODE_ENV!=="production"&&ut&&(d.el=null),M.asyncDep){if(I&&I.registerDep(M,W,F),!d.el){const $=M.subTree=me(ve);D(null,$,E,S),d.placeholder=$.el}}else W(M,d,E,S,I,A,F);process.env.NODE_ENV!=="production"&&(ns(),Ut(M,"mount"))},K=(d,E,S)=>{const P=E.component=d.component;if(jm(d,E,S))if(P.asyncDep&&!P.asyncResolved){process.env.NODE_ENV!=="production"&&ts(E),U(P,E,S),process.env.NODE_ENV!=="production"&&ns();return}else P.next=E,P.update();else E.el=d.el,P.vnode=E},W=(d,E,S,P,I,A,F)=>{const M=()=>{if(d.isMounted){let{next:B,bu:G,u:Z,parent:ce,vnode:de}=d;{const tt=lf(d);if(tt){B&&(B.el=de.el,U(d,B,F)),tt.asyncDep.then(()=>{d.isUnmounted||M()});return}}let fe=B,ze;process.env.NODE_ENV!=="production"&&ts(B||d.vnode),bn(d,!1),B?(B.el=de.el,U(d,B,F)):B=de,G&&dn(G),(ze=B.props&&B.props.onVnodeBeforeUpdate)&&Xe(ze,ce,B,de),bn(d,!0),process.env.NODE_ENV!=="production"&&Bt(d,"render");const ke=ki(d);process.env.NODE_ENV!=="production"&&Ut(d,"render");const vt=d.subTree;d.subTree=ke,process.env.NODE_ENV!=="production"&&Bt(d,"patch"),v(vt,ke,a(vt.el),Ei(vt),d,I,A),process.env.NODE_ENV!=="production"&&Ut(d,"patch"),B.el=ke.el,fe===null&&Lr(d,ke.el),Z&&we(Z,I),(ze=B.props&&B.props.onVnodeUpdated)&&we(()=>Xe(ze,ce,B,de),I),process.env.NODE_ENV!=="production"&&gu(d),process.env.NODE_ENV!=="production"&&ns()}else{let B;const{el:G,props:Z}=E,{bm:ce,m:de,parent:fe,root:ze,type:ke}=d,vt=Xt(E);if(bn(d,!1),ce&&dn(ce),!vt&&(B=Z&&Z.onVnodeBeforeMount)&&Xe(B,fe,E),bn(d,!0),G&&Jr){const tt=()=>{process.env.NODE_ENV!=="production"&&Bt(d,"render"),d.subTree=ki(d),process.env.NODE_ENV!=="production"&&Ut(d,"render"),process.env.NODE_ENV!=="production"&&Bt(d,"hydrate"),Jr(G,d.subTree,d,I,null),process.env.NODE_ENV!=="production"&&Ut(d,"hydrate")};vt&&ke.__asyncHydrate?ke.__asyncHydrate(G,d,tt):tt()}else{ze.ce&&ze.ce._def.shadowRoot!==!1&&ze.ce._injectChildStyle(ke),process.env.NODE_ENV!=="production"&&Bt(d,"render");const tt=d.subTree=ki(d);process.env.NODE_ENV!=="production"&&Ut(d,"render"),process.env.NODE_ENV!=="production"&&Bt(d,"patch"),v(null,tt,S,P,d,I,A),process.env.NODE_ENV!=="production"&&Ut(d,"patch"),E.el=tt.el}if(de&&we(de,I),!vt&&(B=Z&&Z.onVnodeMounted)){const tt=E;we(()=>Xe(B,fe,tt),I)}(E.shapeFlag&256||fe&&Xt(fe.vnode)&&fe.vnode.shapeFlag&256)&&d.a&&we(d.a,I),d.isMounted=!0,process.env.NODE_ENV!=="production"&&No(d),E=S=P=null}};d.scope.on();const $=d.effect=new Ks(M);d.scope.off();const k=d.update=$.run.bind($),X=d.job=$.runIfDirty.bind($);X.i=d,X.id=d.uid,$.scheduler=()=>Vr(X),bn(d,!0),process.env.NODE_ENV!=="production"&&($.onTrack=d.rtc?B=>dn(d.rtc,B):void 0,$.onTrigger=d.rtg?B=>dn(d.rtg,B):void 0),k()},U=(d,E,S)=>{E.component=d;const P=d.vnode.props;d.vnode=E,d.next=null,Um(d,E.props,P,S),Qm(d,E.children,S),Ct(),ac(d),Tt()},le=(d,E,S,P,I,A,F,M,$=!1)=>{const k=d&&d.children,X=d?d.shapeFlag:0,B=E.children,{patchFlag:G,shapeFlag:Z}=E;if(G>0){if(G&128){lt(k,B,S,P,I,A,F,M,$);return}else if(G&256){Ge(k,B,S,P,I,A,F,M,$);return}}Z&8?(X&16&&bs(k,I,A),B!==k&&u(S,B)):X&16?Z&16?lt(k,B,S,P,I,A,F,M,$):bs(k,I,A,!0):(X&8&&u(S,""),Z&16&&N(B,S,P,I,A,F,M,$))},Ge=(d,E,S,P,I,A,F,M,$)=>{d=d||es,E=E||es;const k=d.length,X=E.length,B=Math.min(k,X);let G;for(G=0;G<B;G++){const Z=E[G]=$?fn(E[G]):We(E[G]);v(d[G],Z,S,null,I,A,F,M,$)}k>X?bs(d,I,A,!0,!1,B):N(E,S,P,I,A,F,M,$,B)},lt=(d,E,S,P,I,A,F,M,$)=>{let k=0;const X=E.length;let B=d.length-1,G=X-1;for(;k<=B&&k<=G;){const Z=d[k],ce=E[k]=$?fn(E[k]):We(E[k]);if(_t(Z,ce))v(Z,ce,S,null,I,A,F,M,$);else break;k++}for(;k<=B&&k<=G;){const Z=d[B],ce=E[G]=$?fn(E[G]):We(E[G]);if(_t(Z,ce))v(Z,ce,S,null,I,A,F,M,$);else break;B--,G--}if(k>B){if(k<=G){const Z=G+1,ce=Z<X?E[Z].el:P;for(;k<=G;)v(null,E[k]=$?fn(E[k]):We(E[k]),S,ce,I,A,F,M,$),k++}}else if(k>G)for(;k<=B;)sn(d[k],I,A,!0),k++;else{const Z=k,ce=k,de=new Map;for(k=ce;k<=G;k++){const He=E[k]=$?fn(E[k]):We(E[k]);He.key!=null&&(process.env.NODE_ENV!=="production"&&de.has(He.key)&&C("Duplicate keys found during update:",JSON.stringify(He.key),"Make sure keys are unique."),de.set(He.key,k))}let fe,ze=0;const ke=G-ce+1;let vt=!1,tt=0;const Os=new Array(ke);for(k=0;k<ke;k++)Os[k]=0;for(k=Z;k<=B;k++){const He=d[k];if(ze>=ke){sn(He,I,A,!0);continue}let Vt;if(He.key!=null)Vt=de.get(He.key);else for(fe=ce;fe<=G;fe++)if(Os[fe-ce]===0&&_t(He,E[fe])){Vt=fe;break}Vt===void 0?sn(He,I,A,!0):(Os[Vt-ce]=k+1,Vt>=tt?tt=Vt:vt=!0,v(He,E[Vt],S,null,I,A,F,M,$),ze++)}const Ql=vt?tg(Os):es;for(fe=Ql.length-1,k=ke-1;k>=0;k--){const He=ce+k,Vt=E[He],ec=E[He+1],tc=He+1<X?ec.el||cf(ec):P;Os[k]===0?v(null,Vt,S,tc,I,A,F,M,$):vt&&(fe<0||k!==Ql[fe]?ct(Vt,S,tc,2):fe--)}}},ct=(d,E,S,P,I=null)=>{const{el:A,type:F,transition:M,children:$,shapeFlag:k}=d;if(k&6){ct(d.component.subTree,E,S,P);return}if(k&128){d.suspense.move(E,S,P);return}if(k&64){F.move(d,E,S,Gn);return}if(F===Ne){s(A,E,S);for(let B=0;B<$.length;B++)ct($[B],E,S,P);s(d.anchor,E,S);return}if(F===mn){_(d,E,S);return}if(P!==2&&k&1&&M)if(P===0)M.beforeEnter(A),s(A,E,S),we(()=>M.enter(A),I);else{const{leave:B,delayLeave:G,afterLeave:Z}=M,ce=()=>{d.ctx.isUnmounted?i(A):s(A,E,S)},de=()=>{A._isLeaving&&A[qt](!0),B(A,()=>{ce(),Z&&Z()})};G?G(A,ce,de):de()}else s(A,E,S)},sn=(d,E,S,P=!1,I=!1)=>{const{type:A,props:F,ref:M,children:$,dynamicChildren:k,shapeFlag:X,patchFlag:B,dirs:G,cacheIndex:Z}=d;if(B===-2&&(I=!1),M!=null&&(Ct(),rs(M,null,S,d,!0),Tt()),Z!=null&&(E.renderCache[Z]=void 0),X&256){E.ctx.deactivate(d);return}const ce=X&1&&G,de=!Xt(d);let fe;if(de&&(fe=F&&F.onVnodeBeforeUnmount)&&Xe(fe,E,d),X&6)Xp(d.component,S,P);else{if(X&128){d.suspense.unmount(S,P);return}ce&&It(d,null,E,"beforeUnmount"),X&64?d.type.remove(d,E,S,Gn,P):k&&!k.hasOnce&&(A!==Ne||B>0&&B&64)?bs(k,E,S,!1,!0):(A===Ne&&B&384||!I&&X&16)&&bs($,E,S),P&&qr(d)}(de&&(fe=F&&F.onVnodeUnmounted)||ce)&&we(()=>{fe&&Xe(fe,E,d),ce&&It(d,null,E,"unmounted")},S)},qr=d=>{const{type:E,el:S,anchor:P,transition:I}=d;if(E===Ne){process.env.NODE_ENV!=="production"&&d.patchFlag>0&&d.patchFlag&2048&&I&&!I.persisted?d.children.forEach(F=>{F.type===ve?i(F.el):qr(F)}):Yp(S,P);return}if(E===mn){y(d);return}const A=()=>{i(S),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(d.shapeFlag&1&&I&&!I.persisted){const{leave:F,delayLeave:M}=I,$=()=>F(S,A);M?M(d.el,A,$):$()}else A()},Yp=(d,E)=>{let S;for(;d!==E;)S=p(d),i(d),d=S;i(E)},Xp=(d,E,S)=>{process.env.NODE_ENV!=="production"&&d.type.__hmrId&&vh(d);const{bum:P,scope:I,job:A,subTree:F,um:M,m:$,a:k}=d;Zi($),Zi(k),P&&dn(P),I.stop(),A&&(A.flags|=8,sn(F,d,E,S)),M&&we(M,E),we(()=>{d.isUnmounted=!0},E),process.env.NODE_ENV!=="production"&&Oh(d)},bs=(d,E,S,P=!1,I=!1,A=0)=>{for(let F=A;F<d.length;F++)sn(d[F],E,S,P,I)},Ei=d=>{if(d.shapeFlag&6)return Ei(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const E=p(d.anchor||d.el),S=E&&E[Ou];return S?p(S):E};let Gr=!1;const Zl=(d,E,S)=>{let P;d==null?E._vnode&&(sn(E._vnode,null,null,!0),P=E._vnode.component):v(E._vnode||null,d,E,null,null,null,S),E._vnode=d,Gr||(Gr=!0,ac(P),Wi(),Gr=!1)},Gn={p:v,um:sn,m:ct,r:qr,mt:J,mc:N,pc:le,pbc:R,n:Ei,o:e};let zr,Jr;return t&&([zr,Jr]=t(Gn)),{render:Zl,hydrate:zr,createApp:Pm(Zl,zr)}}function ro({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function bn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function of(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ls(e,t,n=!1){const s=e.children,i=t.children;if(H(s)&&H(i))for(let r=0;r<s.length;r++){const o=s[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=fn(i[r]),l.el=o.el),!n&&l.patchFlag!==-2&&Ls(o,l)),l.type===Lt&&(l.patchFlag!==-1?l.el=o.el:l.__elIndex=r+(e.type===Ne?1:0)),l.type===ve&&!l.el&&(l.el=o.el),process.env.NODE_ENV!=="production"&&l.el&&(l.el.__vnode=l)}}function tg(e){const t=e.slice(),n=[0];let s,i,r,o,l;const c=e.length;for(s=0;s<c;s++){const f=e[s];if(f!==0){if(i=n[n.length-1],e[i]<f){t[s]=i,n.push(s);continue}for(r=0,o=n.length-1;r<o;)l=r+o>>1,e[n[l]]<f?r=l+1:o=l;f<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function lf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:lf(t)}function Zi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function cf(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?cf(t.subTree):null}const Qi=e=>e.__isSuspense;let xo=0;const ng={name:"Suspense",__isSuspense:!0,process(e,t,n,s,i,r,o,l,c,f){if(e==null)ig(t,n,s,i,r,o,l,c,f);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}rg(e,t,n,s,i,o,l,c,f)}},hydrate:og,normalize:lg},sg=ng;function Xs(e,t){const n=e.props&&e.props[t];z(n)&&n()}function ig(e,t,n,s,i,r,o,l,c){const{p:f,o:{createElement:u}}=c,a=u("div"),p=e.suspense=af(e,i,s,t,a,n,r,o,l,c);f(null,p.pendingBranch=e.ssContent,a,null,s,p,r,o),p.deps>0?(Xs(e,"onPending"),Xs(e,"onFallback"),f(null,e.ssFallback,t,n,s,null,r,o),os(p,e.ssFallback)):p.resolve(!1,!0)}function rg(e,t,n,s,i,r,o,l,{p:c,um:f,o:{createElement:u}}){const a=t.suspense=e.suspense;a.vnode=t,t.el=e.el;const p=t.ssContent,m=t.ssFallback,{activeBranch:g,pendingBranch:v,isInFallback:x,isHydrating:D}=a;if(v)a.pendingBranch=p,_t(v,p)?(c(v,p,a.hiddenContainer,null,i,a,r,o,l),a.deps<=0?a.resolve():x&&(D||(c(g,m,n,s,i,null,r,o,l),os(a,m)))):(a.pendingId=xo++,D?(a.isHydrating=!1,a.activeBranch=v):f(v,i,a),a.deps=0,a.effects.length=0,a.hiddenContainer=u("div"),x?(c(null,p,a.hiddenContainer,null,i,a,r,o,l),a.deps<=0?a.resolve():(c(g,m,n,s,i,null,r,o,l),os(a,m))):g&&_t(g,p)?(c(g,p,n,s,i,a,r,o,l),a.resolve(!0)):(c(null,p,a.hiddenContainer,null,i,a,r,o,l),a.deps<=0&&a.resolve()));else if(g&&_t(g,p))c(g,p,n,s,i,a,r,o,l),os(a,p);else if(Xs(t,"onPending"),a.pendingBranch=p,p.shapeFlag&512?a.pendingId=p.component.suspenseId:a.pendingId=xo++,c(null,p,a.hiddenContainer,null,i,a,r,o,l),a.deps<=0)a.resolve();else{const{timeout:b,pendingId:h}=a;b>0?setTimeout(()=>{a.pendingId===h&&a.fallback(m)},b):b===0&&a.fallback(m)}}let Vc=!1;function af(e,t,n,s,i,r,o,l,c,f,u=!1){process.env.NODE_ENV!=="production"&&!Vc&&(Vc=!0,console[console.info?"info":"log"]("<Suspense> is an experimental feature and its API will likely change."));const{p:a,m:p,um:m,n:g,o:{parentNode:v,remove:x}}=f;let D;const b=cg(e);b&&t&&t.pendingBranch&&(D=t.pendingId,t.deps++);const h=e.props?Hi(e.props.timeout):void 0;process.env.NODE_ENV!=="production"&&rl(h,"Suspense timeout");const _=r,y={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:xo++,timeout:typeof h=="number"?h:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(T=!1,j=!1){if(process.env.NODE_ENV!=="production"){if(!T&&!y.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(y.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:V,activeBranch:N,pendingBranch:w,pendingId:R,effects:O,parentComponent:L,container:q,isInFallback:J}=y;let K=!1;y.isHydrating?y.isHydrating=!1:T||(K=N&&w.transition&&w.transition.mode==="out-in",K&&(N.transition.afterLeave=()=>{R===y.pendingId&&(p(w,q,r===_?g(N):r,0),as(O),J&&V.ssFallback&&(V.ssFallback.el=null))}),N&&(v(N.el)===q&&(r=g(N)),m(N,L,y,!0),!K&&J&&V.ssFallback&&we(()=>V.ssFallback.el=null,y)),K||p(w,q,r,0)),os(y,w),y.pendingBranch=null,y.isInFallback=!1;let W=y.parent,U=!1;for(;W;){if(W.pendingBranch){W.effects.push(...O),U=!0;break}W=W.parent}!U&&!K&&as(O),y.effects=[],b&&t&&t.pendingBranch&&D===t.pendingId&&(t.deps--,t.deps===0&&!j&&t.resolve()),Xs(V,"onResolve")},fallback(T){if(!y.pendingBranch)return;const{vnode:j,activeBranch:V,parentComponent:N,container:w,namespace:R}=y;Xs(j,"onFallback");const O=g(V),L=()=>{y.isInFallback&&(a(null,T,w,O,N,null,R,l,c),os(y,T))},q=T.transition&&T.transition.mode==="out-in";q&&(V.transition.afterLeave=L),y.isInFallback=!0,m(V,N,null,!0),q||L()},move(T,j,V){y.activeBranch&&p(y.activeBranch,T,j,V),y.container=T},next(){return y.activeBranch&&g(y.activeBranch)},registerDep(T,j,V){const N=!!y.pendingBranch;N&&y.deps++;const w=T.vnode.el;T.asyncDep.catch(R=>{_n(R,T,0)}).then(R=>{if(T.isUnmounted||y.isUnmounted||y.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:O}=T;process.env.NODE_ENV!=="production"&&ts(O),Ro(T,R,!1),w&&(O.el=w);const L=!w&&T.subTree.el;j(T,O,v(w||T.subTree.el),w?null:g(T.subTree),y,o,V),L&&(O.placeholder=null,x(L)),Lr(T,O.el),process.env.NODE_ENV!=="production"&&ns(),N&&--y.deps===0&&y.resolve()})},unmount(T,j){y.isUnmounted=!0,y.activeBranch&&m(y.activeBranch,n,T,j),y.pendingBranch&&m(y.pendingBranch,n,T,j)}};return y}function og(e,t,n,s,i,r,o,l,c){const f=t.suspense=af(t,s,n,e.parentNode,document.createElement("div"),null,i,r,o,l,!0),u=c(e,f.pendingBranch=t.ssContent,n,f,r,o);return f.deps===0&&f.resolve(!1,!0),u}function lg(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=xc(s?n.default:n),e.ssFallback=s?xc(n.fallback):me(ve)}function xc(e){let t;if(z(e)){const n=Fn&&e._c;n&&(e._d=!1,Fe()),e=e(),n&&(e._d=!0,t=Le,ff())}if(H(e)){const n=$r(e);process.env.NODE_ENV!=="production"&&!n&&e.filter(s=>s!==ml).length>0&&C("<Suspense> slots expect a single root node."),e=n}return e=We(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function uf(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):as(e)}function os(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,Lr(s,i))}function cg(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ne=Symbol.for("v-fgt"),Lt=Symbol.for("v-txt"),ve=Symbol.for("v-cmt"),mn=Symbol.for("v-stc"),Fs=[];let Le=null;function Fe(e=!1){Fs.push(Le=e?null:[])}function ff(){Fs.pop(),Le=Fs[Fs.length-1]||null}let Fn=1;function Zs(e,t=!1){Fn+=e,e<0&&Le&&t&&(Le.hasOnce=!0)}function pf(e){return e.dynamicChildren=Fn>0?Le||es:null,ff(),Fn>0&&Le&&Le.push(e),e}function bt(e,t,n,s,i,r){return pf(nt(e,t,n,s,i,r,!0))}function Qs(e,t,n,s,i){return pf(me(e,t,n,s,i,!0))}function jt(e){return e?e.__v_isVNode===!0:!1}function _t(e,t){if(process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=Ai.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}let Ao;function ag(e){Ao=e}const ug=(...e)=>hf(...Ao?Ao(e,Se):e),df=({key:e})=>e??null,Pi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Y(e)||ye(e)||z(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function nt(e,t=null,n=null,s=0,i=null,r=e===Ne?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&df(t),ref:t&&Pi(t),scopeId:xr,slotScopeIds:null,children:n,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:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Se};return l?(bl(c,n),r&128&&e.normalize(c)):n&&(c.shapeFlag|=Y(n)?8:16),process.env.NODE_ENV!=="production"&&c.key!==c.key&&C("VNode created with invalid key (NaN). VNode type:",c.type),Fn>0&&!o&&Le&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&Le.push(c),c}const me=process.env.NODE_ENV!=="production"?ug:hf;function hf(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===ml)&&(process.env.NODE_ENV!=="production"&&!e&&C(`Invalid vnode type when creating vnode: ${e}.`),e=ve),jt(e)){const l=gt(e,t,!0);return n&&bl(l,n),Fn>0&&!r&&Le&&(l.shapeFlag&6?Le[Le.indexOf(e)]=l:Le.push(l)),l.patchFlag=-2,l}if(Sf(e)&&(e=e.__vccOpts),t){t=mf(t);let{class:l,style:c}=t;l&&!Y(l)&&(t.class=tn(l)),se(c)&&($n(c)&&!H(c)&&(c=ee({},c)),t.style=Rt(c))}const o=Y(e)?1:Qi(e)?128:Su(e)?64:se(e)?4:z(e)?2:0;return process.env.NODE_ENV!=="production"&&o&4&&$n(e)&&(e=Q(e),C("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
24
|
-
Component that was made reactive: `,e)),nt(e,t,n,s,i,o,r,!0)}function mf(e){return e?$n(e)||Yu(e)?ee({},e):e:null}function gt(e,t,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:c}=e,f=t?vf(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&df(f),ref:t&&t.ref?n&&r?H(r)?r.concat(Pi(t)):[r,Pi(t)]:Pi(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&o===-1&&H(l)?l.map(gf):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ne?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&>(e.ssContent),ssFallback:e.ssFallback&>(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&en(u,c.clone(u)),u}function gf(e){const t=gt(e);return H(e.children)&&(t.children=e.children.map(gf)),t}function ei(e=" ",t=0){return me(Lt,null,e,t)}function fg(e,t){const n=me(mn,null,e);return n.staticCount=t,n}function js(e="",t=!1){return t?(Fe(),Qs(ve,null,e)):me(ve,null,e)}function We(e){return e==null||typeof e=="boolean"?me(ve):H(e)?me(Ne,null,e.slice()):jt(e)?fn(e):me(Lt,null,String(e))}function fn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:gt(e)}function bl(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),bl(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Yu(t)?t._ctx=Se:i===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else z(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),s&64?(n=16,t=[ei(t)]):n=8);e.children=t,e.shapeFlag|=n}function vf(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=tn([t.class,s.class]));else if(i==="style")t.style=Rt([t.style,s.style]);else if(Qt(i)){const r=t[i],o=s[i];o&&r!==o&&!(H(r)&&r.includes(o))&&(t[i]=r?[].concat(r,o):o)}else i!==""&&(t[i]=s[i])}return t}function Xe(e,t,n,s=null){mt(e,t,7,[n,s])}const pg=Ku();let dg=0;function Ef(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||pg,r={uid:dg++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new el(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Zu(s,i),emitsOptions:qu(s,i),emit:null,emitted:null,propsDefaults:ne,inheritAttrs:s.inheritAttrs,ctx:ne,data:ne,props:ne,attrs:ne,slots:ne,refs:ne,setupState:ne,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return process.env.NODE_ENV!=="production"?r.ctx=fm(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=Mm.bind(null,r),e.ce&&e.ce(r),r}let Oe=null;const qe=()=>Oe||Se;let er,Io;{const e=ci(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};er=t("__VUE_INSTANCE_SETTERS__",n=>Oe=n),Io=t("__VUE_SSR_SETTERS__",n=>fs=n)}const jn=e=>{const t=Oe;return er(e),e.scope.on(),()=>{e.scope.off(),er(t)}},ko=()=>{Oe&&Oe.scope.off(),er(null)},hg=Ve("slot,component");function Po(e,{isNativeTag:t}){(hg(e)||t(e))&&C("Do not use built-in or reserved HTML elements as component id: "+e)}function yf(e){return e.vnode.shapeFlag&4}let fs=!1;function _f(e,t=!1,n=!1){t&&Io(t);const{props:s,children:i}=e.vnode,r=yf(e);Hm(e,s,r,t),Zm(e,i,n||t);const o=r?mg(e,t):void 0;return t&&Io(!1),o}function mg(e,t){const n=e.type;if(process.env.NODE_ENV!=="production"){if(n.name&&Po(n.name,e.appContext.config),n.components){const i=Object.keys(n.components);for(let r=0;r<i.length;r++)Po(i[r],e.appContext.config)}if(n.directives){const i=Object.keys(n.directives);for(let r=0;r<i.length;r++)Eu(i[r])}n.compilerOptions&&Ol()&&C('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,$s),process.env.NODE_ENV!=="production"&&pm(e);const{setup:s}=n;if(s){Ct();const i=e.setupContext=s.length>1?Of(e):null,r=jn(e),o=Un(s,e,0,[process.env.NODE_ENV!=="production"?Nt(e.props):e.props,i]),l=gr(o);if(Tt(),r(),(l||e.sp)&&!Xt(e)&&dl(e),l){if(o.then(ko,ko),t)return o.then(c=>{Ro(e,c,t)}).catch(c=>{_n(c,e,0)});if(e.asyncDep=o,process.env.NODE_ENV!=="production"&&!e.suspense){const c=di(e,n);C(`Component <${c}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Ro(e,o,t)}else bf(e,t)}function Ro(e,t,n){z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)?(process.env.NODE_ENV!=="production"&&jt(t)&&C("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=il(t),process.env.NODE_ENV!=="production"&&dm(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&C(`setup() should return an object. Received: ${t===null?"null":typeof t}`),bf(e,n)}let Hs,Mo;function Nf(e){Hs=e,Mo=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,um))}}const Ol=()=>!Hs;function bf(e,t,n){const s=e.type;if(!e.render){if(!t&&Hs&&!s.render){const i=s.template||yl(e).template;if(i){process.env.NODE_ENV!=="production"&&Bt(e,"compile");const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ee(ee({isCustomElement:r,delimiters:l},o),c);s.render=Hs(i,f),process.env.NODE_ENV!=="production"&&Ut(e,"compile")}}e.render=s.render||ge,Mo&&Mo(e)}{const i=jn(e);Ct();try{Dm(e)}finally{Tt(),i()}}process.env.NODE_ENV!=="production"&&!s.render&&e.render===ge&&!t&&(!Hs&&s.template?C('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):C("Component is missing template or render function: ",s))}const Ac=process.env.NODE_ENV!=="production"?{get(e,t){return Yi(),Te(e,"get",""),e[t]},set(){return C("setupContext.attrs is readonly."),!1},deleteProperty(){return C("setupContext.attrs is readonly."),!1}}:{get(e,t){return Te(e,"get",""),e[t]}};function gg(e){return new Proxy(e.slots,{get(t,n){return Te(e,"get","$slots"),t[n]}})}function Of(e){const t=n=>{if(process.env.NODE_ENV!=="production"&&(e.exposed&&C("expose() should be called only once per setup()."),n!=null)){let s=typeof n;s==="object"&&(H(n)?s="array":ye(n)&&(s="ref")),s!=="object"&&C(`expose() should be passed a plain object, received ${s}.`)}e.exposed=n||{}};if(process.env.NODE_ENV!=="production"){let n,s;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,Ac))},get slots(){return s||(s=gg(e))},get emit(){return(i,...r)=>e.emit(i,...r)},expose:t})}else return{attrs:new Proxy(e.attrs,Ac),slots:e.slots,emit:e.emit,expose:t}}function pi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(il(ou(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Pn)return Pn[n](e)},has(t,n){return n in t||n in Pn}})):e.proxy}const vg=/(?:^|[-_])\w/g,Eg=e=>e.replace(vg,t=>t.toUpperCase()).replace(/[-_]/g,"");function ps(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function di(e,t,n=!1){let s=ps(t);if(!s&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(s=i[1])}if(!s&&e){const i=r=>{for(const o in r)if(r[o]===t)return o};s=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return s?Eg(s):n?"App":"Anonymous"}function Sf(e){return z(e)&&"__vccOpts"in e}const ft=(e,t)=>{const n=sh(e,t,fs);if(process.env.NODE_ENV!=="production"){const s=qe();s&&s.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function wf(e,t,n){try{Zs(-1);const s=arguments.length;return s===2?se(t)&&!H(t)?jt(t)?me(e,null,[t]):me(e,t):me(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&jt(n)&&(n=[n]),me(e,t,n))}finally{Zs(1)}}function Cf(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},s={style:"color:#eb2f96"},i={__vue_custom_formatter:!0,header(a){if(!se(a))return null;if(a.__isVue)return["div",e,"VueInstance"];if(ye(a)){Ct();const p=a.value;return Tt(),["div",{},["span",e,u(a)],"<",l(p),">"]}else{if(Mt(a))return["div",{},["span",e,Ie(a)?"ShallowReactive":"Reactive"],"<",l(a),`>${ht(a)?" (readonly)":""}`];if(ht(a))return["div",{},["span",e,Ie(a)?"ShallowReadonly":"Readonly"],"<",l(a),">"]}return null},hasBody(a){return a&&a.__isVue},body(a){if(a&&a.__isVue)return["div",{},...r(a.$)]}};function r(a){const p=[];a.type.props&&a.props&&p.push(o("props",Q(a.props))),a.setupState!==ne&&p.push(o("setup",a.setupState)),a.data!==ne&&p.push(o("data",Q(a.data)));const m=c(a,"computed");m&&p.push(o("computed",m));const g=c(a,"inject");return g&&p.push(o("injected",g)),p.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:a}]]),p}function o(a,p){return p=ee({},p),Object.keys(p).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},a],["div",{style:"padding-left:1.25em"},...Object.keys(p).map(m=>["div",{},["span",s,m+": "],l(p[m],!1)])]]:["span",{}]}function l(a,p=!0){return typeof a=="number"?["span",t,a]:typeof a=="string"?["span",n,JSON.stringify(a)]:typeof a=="boolean"?["span",s,a]:se(a)?["object",{object:p?Q(a):a}]:["span",n,String(a)]}function c(a,p){const m=a.type;if(z(m))return;const g={};for(const v in a.ctx)f(m,v,p)&&(g[v]=a.ctx[v]);return g}function f(a,p,m){const g=a[m];if(H(g)&&g.includes(p)||se(g)&&p in g||a.extends&&f(a.extends,p,m)||a.mixins&&a.mixins.some(v=>f(v,p,m)))return!0}function u(a){return Ie(a)?"ShallowRef":a.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(i):window.devtoolsFormatters=[i]}function yg(e,t,n,s){const i=n[s];if(i&&Tf(i,e))return i;const r=t();return r.memo=e.slice(),r.cacheIndex=s,n[s]=r}function Tf(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(Ue(n[s],t[s]))return!1;return Fn>0&&Le&&Le.push(e),!0}const $o="3.5.27",_e=process.env.NODE_ENV!=="production"?C:ge,_g=Tr,Ng=(process.env.NODE_ENV,Et),bg=(process.env.NODE_ENV,ll),Og={createComponentInstance:Ef,setupComponent:_f,renderComponentRoot:ki,setCurrentRenderingInstance:Js,isVNode:jt,normalizeVNode:We,getComponentPublicInstance:pi,ensureValidVNode:vl,pushWarningContext:ts,popWarningContext:ns},Sg=Og,wg=null,Cg=null,Tg=null;let Lo;const Ic=typeof window<"u"&&window.trustedTypes;if(Ic)try{Lo=Ic.createPolicy("vue",{createHTML:e=>e})}catch(e){process.env.NODE_ENV!=="production"&&_e(`Error creating trusted types policy: ${e}`)}const Df=Lo?e=>Lo.createHTML(e):e=>e,Dg="http://www.w3.org/2000/svg",Vg="http://www.w3.org/1998/Math/MathML",Wt=typeof document<"u"?document:null,kc=Wt&&Wt.createElement("template"),Vf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?Wt.createElementNS(Dg,e):t==="mathml"?Wt.createElementNS(Vg,e):n?Wt.createElement(e,{is:n}):Wt.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>Wt.createTextNode(e),createComment:e=>Wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{kc.innerHTML=Df(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=kc.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},rn="transition",Cs="animation",ds=Symbol("_vtc"),xf={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},Af=ee({},pl,xf),xg=e=>(e.displayName="Transition",e.props=Af,e),If=xg((e,{slots:t})=>wf(Vu,kf(e),t)),On=(e,t=[])=>{H(e)?e.forEach(n=>n(...t)):e&&e(...t)},Pc=e=>e?H(e)?e.some(t=>t.length>1):e.length>1:!1;function kf(e){const t={};for(const O in e)O in xf||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=r,appearActiveClass:f=o,appearToClass:u=l,leaveFromClass:a=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,g=Ag(i),v=g&&g[0],x=g&&g[1],{onBeforeEnter:D,onEnter:b,onEnterCancelled:h,onLeave:_,onLeaveCancelled:y,onBeforeAppear:T=D,onAppear:j=b,onAppearCancelled:V=h}=t,N=(O,L,q,J)=>{O._enterCancelled=J,ln(O,L?u:l),ln(O,L?f:o),q&&q()},w=(O,L)=>{O._isLeaving=!1,ln(O,a),ln(O,m),ln(O,p),L&&L()},R=O=>(L,q)=>{const J=O?j:b,K=()=>N(L,O,q);On(J,[L,K]),Rc(()=>{ln(L,O?c:r),xt(L,O?u:l),Pc(J)||Mc(L,s,v,K)})};return ee(t,{onBeforeEnter(O){On(D,[O]),xt(O,r),xt(O,o)},onBeforeAppear(O){On(T,[O]),xt(O,c),xt(O,f)},onEnter:R(!1),onAppear:R(!0),onLeave(O,L){O._isLeaving=!0;const q=()=>w(O,L);xt(O,a),O._enterCancelled?(xt(O,p),Fo(O)):(Fo(O),xt(O,p)),Rc(()=>{O._isLeaving&&(ln(O,a),xt(O,m),Pc(_)||Mc(O,s,x,q))}),On(_,[O,q])},onEnterCancelled(O){N(O,!1,void 0,!0),On(h,[O])},onAppearCancelled(O){N(O,!0,void 0,!0),On(V,[O])},onLeaveCancelled(O){w(O),On(y,[O])}})}function Ag(e){if(e==null)return null;if(se(e))return[oo(e.enter),oo(e.leave)];{const t=oo(e);return[t,t]}}function oo(e){const t=Hi(e);return process.env.NODE_ENV!=="production"&&rl(t,"<transition> explicit duration"),t}function xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ds]||(e[ds]=new Set)).add(t)}function ln(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ds];n&&(n.delete(t),n.size||(e[ds]=void 0))}function Rc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ig=0;function Mc(e,t,n,s){const i=e._endId=++Ig,r=()=>{i===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:l,propCount:c}=Pf(e,t);if(!o)return s();const f=o+"end";let u=0;const a=()=>{e.removeEventListener(f,p),r()},p=m=>{m.target===e&&++u>=c&&a()};setTimeout(()=>{u<c&&a()},l+1),e.addEventListener(f,p)}function Pf(e,t){const n=window.getComputedStyle(e),s=g=>(n[g]||"").split(", "),i=s(`${rn}Delay`),r=s(`${rn}Duration`),o=$c(i,r),l=s(`${Cs}Delay`),c=s(`${Cs}Duration`),f=$c(l,c);let u=null,a=0,p=0;t===rn?o>0&&(u=rn,a=o,p=r.length):t===Cs?f>0&&(u=Cs,a=f,p=c.length):(a=Math.max(o,f),u=a>0?o>f?rn:Cs:null,p=u?u===rn?r.length:c.length:0);const m=u===rn&&/\b(?:transform|all)(?:,|$)/.test(s(`${rn}Property`).toString());return{type:u,timeout:a,propCount:p,hasTransform:m}}function $c(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Lc(n)+Lc(e[s])))}function Lc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Fo(e){return(e?e.ownerDocument:document).body.offsetHeight}function kg(e,t,n){const s=e[ds];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const tr=Symbol("_vod"),Rf=Symbol("_vsh"),Fr={name:"show",beforeMount(e,{value:t},{transition:n}){e[tr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ts(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Ts(e,!0),s.enter(e)):s.leave(e,()=>{Ts(e,!1)}):Ts(e,t))},beforeUnmount(e,{value:t}){Ts(e,t)}};function Ts(e,t){e.style.display=t?e[tr]:"none",e[Rf]=!t}function Pg(){Fr.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Mf=Symbol(process.env.NODE_ENV!=="production"?"CSS_VAR_TEXT":"");function Rg(e){const t=qe();if(!t){process.env.NODE_ENV!=="production"&&_e("useCssVars is called without current active component instance.");return}const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>nr(r,i))};process.env.NODE_ENV!=="production"&&(t.getCssVars=()=>e(t.proxy));const s=()=>{const i=e(t.proxy);t.ce?nr(t.ce,i):jo(t.subTree,i),n(i)};hl(()=>{as(s)}),Wn(()=>{yt(s,ge,{flush:"post"});const i=new MutationObserver(s);i.observe(t.subTree.el.parentNode,{childList:!0}),Rr(()=>i.disconnect())})}function jo(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{jo(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)nr(e.el,t);else if(e.type===Ne)e.children.forEach(n=>jo(n,t));else if(e.type===mn){let{el:n,anchor:s}=e;for(;n&&(nr(n,t),n!==s);)n=n.nextSibling}}function nr(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const i in t){const r=Ba(t[i]);n.setProperty(`--${i}`,r),s+=`--${i}: ${r};`}n[Mf]=s}}const Mg=/(?:^|;)\s*display\s*:/;function $g(e,t,n){const s=e.style,i=Y(n);let r=!1;if(n&&!i){if(t)if(Y(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Ri(s,l,"")}else for(const o in t)n[o]==null&&Ri(s,o,"");for(const o in n)o==="display"&&(r=!0),Ri(s,o,n[o])}else if(i){if(t!==n){const o=s[Mf];o&&(n+=";"+o),s.cssText=n,r=Mg.test(n)}}else t&&e.removeAttribute("style");tr in e&&(e[tr]=r?s.display:"",e[Rf]&&(s.display="none"))}const Lg=/[^\\];\s*$/,Fc=/\s*!important$/;function Ri(e,t,n){if(H(n))n.forEach(s=>Ri(e,t,s));else if(n==null&&(n=""),process.env.NODE_ENV!=="production"&&Lg.test(n)&&_e(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const s=Fg(e,t);Fc.test(n)?e.setProperty(Me(s),n.replace(Fc,""),"important"):e[s]=n}}const jc=["Webkit","Moz","ms"],lo={};function Fg(e,t){const n=lo[t];if(n)return n;let s=pe(t);if(s!=="filter"&&s in e)return lo[t]=s;s=Ft(s);for(let i=0;i<jc.length;i++){const r=jc[i]+s;if(r in e)return lo[t]=r}return t}const Hc="http://www.w3.org/1999/xlink";function Bc(e,t,n,s,i,r=vd(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Hc,t.slice(6,t.length)):e.setAttributeNS(Hc,t,n):n==null||r&&!Qo(n)?e.removeAttribute(t):e.setAttribute(t,r?"":et(n)?String(n):n)}function Uc(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Df(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Qo(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch(l){process.env.NODE_ENV!=="production"&&!o&&_e(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${n} is invalid.`,l)}o&&e.removeAttribute(i||t)}function Jt(e,t,n,s){e.addEventListener(t,n,s)}function jg(e,t,n,s){e.removeEventListener(t,n,s)}const Kc=Symbol("_vei");function Hg(e,t,n,s,i=null){const r=e[Kc]||(e[Kc]={}),o=r[t];if(s&&o)o.value=process.env.NODE_ENV!=="production"?qc(s,t):s;else{const[l,c]=Bg(t);if(s){const f=r[t]=Wg(process.env.NODE_ENV!=="production"?qc(s,t):s,i);Jt(e,l,f,c)}else o&&(jg(e,l,o,c),r[t]=void 0)}}const Wc=/(?:Once|Passive|Capture)$/;function Bg(e){let t;if(Wc.test(e)){t={};let s;for(;s=e.match(Wc);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Me(e.slice(2)),t]}let co=0;const Ug=Promise.resolve(),Kg=()=>co||(Ug.then(()=>co=0),co=Date.now());function Wg(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;mt(qg(s,n.value),t,5,[s])};return n.value=e,n.attached=Kg(),n}function qc(e,t){return z(e)||H(e)?e:(_e(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
25
|
-
Expected function or array of functions, received type ${typeof e}.`),ge)}function qg(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Gc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,$f=(e,t,n,s,i,r)=>{const o=i==="svg";t==="class"?kg(e,s,o):t==="style"?$g(e,n,s):Qt(t)?ji(t)||Hg(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gg(e,t,s,o))?(Uc(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Bc(e,t,s,o,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Y(s))?Uc(e,pe(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Bc(e,t,s,o))};function Gg(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Gc(t)&&z(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Gc(t)&&Y(n)?!1:t in e}const zc={};function Sl(e,t,n){let s=Kn(e,t);vr(s)&&(s=ee({},s,t));class i extends jr{constructor(o){super(s,o,n)}}return i.def=s,i}const zg=((e,t)=>Sl(e,t,zf)),Jg=typeof HTMLElement<"u"?HTMLElement:class{};class jr extends Jg{constructor(t,n={},s=rr){super(),this._def=t,this._props=n,this._createApp=s,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&s!==rr?this._root=this.shadowRoot:(process.env.NODE_ENV!=="production"&&this.shadowRoot&&_e("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow(ee({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof jr){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Dr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(s,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=s;let l;if(r&&!H(r))for(const c in r){const f=r[c];(f===Number||f&&f.type===Number)&&(c in this._props&&(this._props[c]=Hi(this._props[c])),(l||(l=Object.create(null)))[pe(c)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot?this._applyStyles(o):process.env.NODE_ENV!=="production"&&o&&_e("Custom element style injection is not supported when using shadowRoot: false"),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,t(this._def=s,!0)}):t(this._def)}_mount(t){process.env.NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)re(this,s)?process.env.NODE_ENV!=="production"&&_e(`Exposed property "${s}" already exists on custom element.`):Object.defineProperty(this,s,{get:()=>$t(n[s])})}_resolveProps(t){const{props:n}=t,s=H(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i]);for(const i of s.map(pe))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):zc;const i=pe(t);n&&this._numberProps&&this._numberProps[i]&&(s=Hi(s)),this._setProp(i,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,i=!1){if(n!==this._props[t]&&(this._dirty=!0,n===zc?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),s)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),n===!0?this.setAttribute(Me(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Me(t),n+""):n||this.removeAttribute(Me(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Gf(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=me(this._def,ee(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0,process.env.NODE_ENV!=="production"&&(s.ceReload=r=>{this._styles&&(this._styles.forEach(o=>this._root.removeChild(o)),this._styles.length=0),this._applyStyles(r),this._instance=null,this._update()});const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,vr(o[0])?ee({detail:o},o[0]):{detail:o}))};s.emit=(r,...o)=>{i(r,o),Me(r)!==r&&i(Me(r),o)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce;for(let i=t.length-1;i>=0;i--){const r=document.createElement("style");if(s&&r.setAttribute("nonce",s),r.textContent=t[i],this.shadowRoot.prepend(r),process.env.NODE_ENV!=="production")if(n){if(n.__hmrId){this._childStyles||(this._childStyles=new Map);let o=this._childStyles.get(n.__hmrId);o||this._childStyles.set(n.__hmrId,o=[]),o.push(r)}}else(this._styles||(this._styles=[])).push(r)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const s=n.nodeType===1&&n.getAttribute("slot")||"default";(t[s]||(t[s]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let s=0;s<t.length;s++){const i=t[s],r=i.getAttribute("name")||"default",o=this._slots[r],l=i.parentNode;if(o)for(const c of o){if(n&&c.nodeType===1){const f=n+"-s",u=document.createTreeWalker(c,1);c.setAttribute(f,"");let a;for(;a=u.nextNode();)a.setAttribute(f,"")}l.insertBefore(c,i)}else for(;i.firstChild;)l.insertBefore(i.firstChild,i);l.removeChild(i)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const s of t){const i=s.querySelectorAll("slot");for(let r=0;r<i.length;r++)n.add(i[r])}return Array.from(n)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){if(process.env.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const n=this._childStyles.get(t.__hmrId);n&&(n.forEach(s=>this._root.removeChild(s)),n.length=0)}}}function Ho(e){const t=qe(),n=t&&t.ce;return n||(process.env.NODE_ENV!=="production"&&_e(t?`${e||"useHost"} can only be used in components defined via defineCustomElement.`:`${e||"useHost"} called without an active component instance.`),null)}function Yg(){const e=process.env.NODE_ENV!=="production"?Ho("useShadowRoot"):Ho();return e&&e.shadowRoot}function Xg(e="$style"){{const t=qe();if(!t)return process.env.NODE_ENV!=="production"&&_e("useCssModule must be called inside setup()"),ne;const n=t.type.__cssModules;if(!n)return process.env.NODE_ENV!=="production"&&_e("Current instance does not have CSS modules injected."),ne;const s=n[e];return s||(process.env.NODE_ENV!=="production"&&_e(`Current instance does not have CSS module named "${e}".`),ne)}}const Lf=new WeakMap,Ff=new WeakMap,sr=Symbol("_moveCb"),Jc=Symbol("_enterCb"),Zg=e=>(delete e.props.mode,e),Qg=Zg({name:"TransitionGroup",props:ee({},Af,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=qe(),s=fl();let i,r;return Pr(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!iv(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(tv),i.forEach(nv);const l=i.filter(sv);Fo(n.vnode.el),l.forEach(c=>{const f=c.el,u=f.style;xt(f,o),u.transform=u.webkitTransform=u.transitionDuration="";const a=f[sr]=p=>{p&&p.target!==f||(!p||p.propertyName.endsWith("transform"))&&(f.removeEventListener("transitionend",a),f[sr]=null,ln(f,o))};f.addEventListener("transitionend",a)}),i=[]}),()=>{const o=Q(e),l=kf(o);let c=o.tag||Ne;if(i=[],r)for(let f=0;f<r.length;f++){const u=r[f];u.el&&u.el instanceof Element&&(i.push(u),en(u,us(u,l,s,n)),Lf.set(u,{left:u.el.offsetLeft,top:u.el.offsetTop}))}r=t.default?Ir(t.default()):[];for(let f=0;f<r.length;f++){const u=r[f];u.key!=null?en(u,us(u,l,s,n)):process.env.NODE_ENV!=="production"&&u.type!==Lt&&_e("<TransitionGroup> children must be keyed.")}return me(c,null,r)}}}),ev=Qg;function tv(e){const t=e.el;t[sr]&&t[sr](),t[Jc]&&t[Jc]()}function nv(e){Ff.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function sv(e){const t=Lf.get(e),n=Ff.get(e),s=t.left-n.left,i=t.top-n.top;if(s||i){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${i}px)`,r.transitionDuration="0s",e}}function iv(e,t,n){const s=e.cloneNode(),i=e[ds];i&&i.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=Pf(s);return r.removeChild(s),o}const yn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>dn(t,n):t};function rv(e){e.target.composing=!0}function Yc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const dt=Symbol("_assign");function Xc(e,t,n){return t&&(e=e.trim()),n&&(e=_r(e)),e}const ir={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[dt]=yn(i);const r=s||i.props&&i.props.type==="number";Jt(e,t?"change":"input",o=>{o.target.composing||e[dt](Xc(e.value,n,r))}),(n||r)&&Jt(e,"change",()=>{e.value=Xc(e.value,n,r)}),t||(Jt(e,"compositionstart",rv),Jt(e,"compositionend",Yc),Jt(e,"change",Yc))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(e[dt]=yn(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?_r(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===c)||(e.value=c))}},wl={deep:!0,created(e,t,n){e[dt]=yn(n),Jt(e,"change",()=>{const s=e._modelValue,i=hs(e),r=e.checked,o=e[dt];if(H(s)){const l=Nr(s,i),c=l!==-1;if(r&&!c)o(s.concat(i));else if(!r&&c){const f=[...s];f.splice(l,1),o(f)}}else if(Bn(s)){const l=new Set(s);r?l.add(i):l.delete(i),o(l)}else o(Hf(e,r))})},mounted:Zc,beforeUpdate(e,t,n){e[dt]=yn(n),Zc(e,t,n)}};function Zc(e,{value:t,oldValue:n},s){e._modelValue=t;let i;if(H(t))i=Nr(t,s.props.value)>-1;else if(Bn(t))i=t.has(s.props.value);else{if(t===n)return;i=En(t,Hf(e,!0))}e.checked!==i&&(e.checked=i)}const Cl={created(e,{value:t},n){e.checked=En(t,n.props.value),e[dt]=yn(n),Jt(e,"change",()=>{e[dt](hs(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[dt]=yn(s),t!==n&&(e.checked=En(t,s.props.value))}},jf={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Bn(t);Jt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?_r(hs(o)):hs(o));e[dt](e.multiple?i?new Set(r):r:r[0]),e._assigning=!0,Dr(()=>{e._assigning=!1})}),e[dt]=yn(s)},mounted(e,{value:t}){Qc(e,t)},beforeUpdate(e,t,n){e[dt]=yn(n)},updated(e,{value:t}){e._assigning||Qc(e,t)}};function Qc(e,t){const n=e.multiple,s=H(t);if(n&&!s&&!Bn(t)){process.env.NODE_ENV!=="production"&&_e(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(t).slice(8,-1)}.`);return}for(let i=0,r=e.options.length;i<r;i++){const o=e.options[i],l=hs(o);if(n)if(s){const c=typeof l;c==="string"||c==="number"?o.selected=t.some(f=>String(f)===String(l)):o.selected=Nr(t,l)>-1}else o.selected=t.has(l);else if(En(hs(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function hs(e){return"_value"in e?e._value:e.value}function Hf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Bf={created(e,t,n){Ti(e,t,n,null,"created")},mounted(e,t,n){Ti(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Ti(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Ti(e,t,n,s,"updated")}};function Uf(e,t){switch(e){case"SELECT":return jf;case"TEXTAREA":return ir;default:switch(t){case"checkbox":return wl;case"radio":return Cl;default:return ir}}}function Ti(e,t,n,s,i){const o=Uf(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,s)}function ov(){ir.getSSRProps=({value:e})=>({value:e}),Cl.getSSRProps=({value:e},t)=>{if(t.props&&En(t.props.value,e))return{checked:!0}},wl.getSSRProps=({value:e},t)=>{if(H(e)){if(t.props&&Nr(e,t.props.value)>-1)return{checked:!0}}else if(Bn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Bf.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Uf(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const lv=["ctrl","shift","alt","meta"],cv={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,t)=>lv.some(n=>e[`${n}Key`]&&!t.includes(n))},av=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((i,...r)=>{for(let o=0;o<t.length;o++){const l=cv[t[o]];if(l&&l(i,t))return}return e(i,...r)}))},uv={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},fv=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(i=>{if(!("key"in i))return;const r=Me(i.key);if(t.some(o=>o===r||uv[o]===r))return e(i)}))},Kf=ee({patchProp:$f},Vf);let Bs,ea=!1;function Wf(){return Bs||(Bs=nf(Kf))}function qf(){return Bs=ea?Bs:sf(Kf),ea=!0,Bs}const Gf=((...e)=>{Wf().render(...e)}),pv=((...e)=>{qf().hydrate(...e)}),rr=((...e)=>{const t=Wf().createApp(...e);process.env.NODE_ENV!=="production"&&(Yf(t),Xf(t));const{mount:n}=t;return t.mount=s=>{const i=Zf(s);if(!i)return;const r=t._component;!z(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Jf(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t}),zf=((...e)=>{const t=qf().createApp(...e);process.env.NODE_ENV!=="production"&&(Yf(t),Xf(t));const{mount:n}=t;return t.mount=s=>{const i=Zf(s);if(i)return n(i,!0,Jf(i))},t});function Jf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Yf(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>Ma(t)||$a(t)||La(t),writable:!1})}function Xf(e){if(Ol()){const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){_e("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,s='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return _e(s),n},set(){_e(s)}})}}function Zf(e){if(Y(e)){const t=document.querySelector(e);return process.env.NODE_ENV!=="production"&&!t&&_e(`Failed to mount app: mount target selector "${e}" returned null.`),t}return process.env.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&_e('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}let ta=!1;const dv=()=>{ta||(ta=!0,ov(),Pg())},hv=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Vu,BaseTransitionPropsValidators:pl,Comment:ve,DeprecationTypes:Tg,EffectScope:el,ErrorCodes:ph,ErrorTypeStrings:_g,Fragment:Ne,KeepAlive:tm,ReactiveEffect:Ks,Static:mn,Suspense:sg,Teleport:Rh,Text:Lt,TrackOpTypes:ih,Transition:If,TransitionGroup:ev,TriggerOpTypes:rh,VueElement:jr,assertNumber:rl,callWithAsyncErrorHandling:mt,callWithErrorHandling:Un,camelize:pe,capitalize:Ft,cloneVNode:gt,compatUtils:Cg,computed:ft,createApp:rr,createBlock:Qs,createCommentVNode:js,createElementBlock:bt,createElementVNode:nt,createHydrationRenderer:sf,createPropsRestProxy:wm,createRenderer:nf,createSSRApp:zf,createSlots:lm,createStaticVNode:fg,createTextVNode:ei,createVNode:me,customRef:cu,defineAsyncComponent:Qh,defineComponent:Kn,defineCustomElement:Sl,defineEmits:mm,defineExpose:gm,defineModel:ym,defineOptions:vm,defineProps:hm,defineSSRCustomElement:zg,defineSlots:Em,devtools:Ng,effect:Td,effectScope:Sd,getCurrentInstance:qe,getCurrentScope:Ua,getCurrentWatcher:oh,getTransitionRawChildren:Ir,guardReactiveProps:mf,h:wf,handleError:_n,hasInjectionContext:xh,hydrate:pv,hydrateOnIdle:Gh,hydrateOnInteraction:Xh,hydrateOnMediaQuery:Yh,hydrateOnVisible:Jh,initCustomFormatter:Cf,initDirectivesForSSR:dv,inject:is,isMemoSame:Tf,isProxy:$n,isReactive:Mt,isReadonly:ht,isRef:ye,isRuntimeOnly:Ol,isShallow:Ie,isVNode:jt,markRaw:ou,mergeDefaults:Om,mergeModels:Sm,mergeProps:vf,nextTick:Dr,nodeOps:Vf,normalizeClass:tn,normalizeProps:fd,normalizeStyle:Rt,onActivated:ku,onBeforeMount:Mu,onBeforeUnmount:fi,onBeforeUpdate:hl,onDeactivated:Pu,onErrorCaptured:ju,onMounted:Wn,onRenderTracked:Fu,onRenderTriggered:Lu,onScopeDispose:wd,onServerPrefetch:$u,onUnmounted:Rr,onUpdated:Pr,onWatcherCleanup:uu,openBlock:Fe,patchProp:$f,popScopeId:Dh,provide:ul,proxyRefs:il,pushScopeId:Th,queuePostFlushCb:as,reactive:wr,readonly:Gs,ref:$e,registerRuntimeCompiler:Nf,render:Gf,renderList:Hu,renderSlot:cm,resolveComponent:im,resolveDirective:om,resolveDynamicComponent:rm,resolveFilter:wg,resolveTransitionHooks:us,setBlockTracking:Zs,setDevtoolsHook:bg,setTransitionHooks:en,shallowReactive:ru,shallowReadonly:Nt,shallowRef:Qn,ssrContextKey:yu,ssrUtils:Sg,stop:Dd,toDisplayString:Tn,toHandlerKey:kt,toHandlers:am,toRaw:Q,toRef:th,toRefs:Zd,toValue:Jd,transformVNodeArgs:ag,triggerRef:zd,unref:$t,useAttrs:bm,useCssModule:Xg,useCssVars:Rg,useHost:Ho,useId:$h,useModel:Rm,useSSRContext:_u,useShadowRoot:Yg,useSlots:Nm,useTemplateRef:Lh,useTransitionState:fl,vModelCheckbox:wl,vModelDynamic:Bf,vModelRadio:Cl,vModelSelect:jf,vModelText:ir,vShow:Fr,version:$o,warn:_e,watch:yt,watchEffect:Ah,watchPostEffect:Ih,watchSyncEffect:Nu,withAsyncContext:Cm,withCtx:Ar,withDefaults:_m,withDirectives:al,withKeys:fv,withMemo:yg,withModifiers:av,withScopeId:Vh},Symbol.toStringTag,{value:"Module"}));const ti=Symbol(process.env.NODE_ENV!=="production"?"Fragment":""),Us=Symbol(process.env.NODE_ENV!=="production"?"Teleport":""),Tl=Symbol(process.env.NODE_ENV!=="production"?"Suspense":""),or=Symbol(process.env.NODE_ENV!=="production"?"KeepAlive":""),Qf=Symbol(process.env.NODE_ENV!=="production"?"BaseTransition":""),Hn=Symbol(process.env.NODE_ENV!=="production"?"openBlock":""),ep=Symbol(process.env.NODE_ENV!=="production"?"createBlock":""),tp=Symbol(process.env.NODE_ENV!=="production"?"createElementBlock":""),Dl=Symbol(process.env.NODE_ENV!=="production"?"createVNode":""),Vl=Symbol(process.env.NODE_ENV!=="production"?"createElementVNode":""),hi=Symbol(process.env.NODE_ENV!=="production"?"createCommentVNode":""),xl=Symbol(process.env.NODE_ENV!=="production"?"createTextVNode":""),np=Symbol(process.env.NODE_ENV!=="production"?"createStaticVNode":""),Al=Symbol(process.env.NODE_ENV!=="production"?"resolveComponent":""),Il=Symbol(process.env.NODE_ENV!=="production"?"resolveDynamicComponent":""),kl=Symbol(process.env.NODE_ENV!=="production"?"resolveDirective":""),Pl=Symbol(process.env.NODE_ENV!=="production"?"resolveFilter":""),Rl=Symbol(process.env.NODE_ENV!=="production"?"withDirectives":""),Ml=Symbol(process.env.NODE_ENV!=="production"?"renderList":""),sp=Symbol(process.env.NODE_ENV!=="production"?"renderSlot":""),ip=Symbol(process.env.NODE_ENV!=="production"?"createSlots":""),Hr=Symbol(process.env.NODE_ENV!=="production"?"toDisplayString":""),lr=Symbol(process.env.NODE_ENV!=="production"?"mergeProps":""),$l=Symbol(process.env.NODE_ENV!=="production"?"normalizeClass":""),Ll=Symbol(process.env.NODE_ENV!=="production"?"normalizeStyle":""),ni=Symbol(process.env.NODE_ENV!=="production"?"normalizeProps":""),mi=Symbol(process.env.NODE_ENV!=="production"?"guardReactiveProps":""),Fl=Symbol(process.env.NODE_ENV!=="production"?"toHandlers":""),Bo=Symbol(process.env.NODE_ENV!=="production"?"camelize":""),mv=Symbol(process.env.NODE_ENV!=="production"?"capitalize":""),Uo=Symbol(process.env.NODE_ENV!=="production"?"toHandlerKey":""),cr=Symbol(process.env.NODE_ENV!=="production"?"setBlockTracking":""),gv=Symbol(process.env.NODE_ENV!=="production"?"pushScopeId":""),vv=Symbol(process.env.NODE_ENV!=="production"?"popScopeId":""),jl=Symbol(process.env.NODE_ENV!=="production"?"withCtx":""),Ev=Symbol(process.env.NODE_ENV!=="production"?"unref":""),yv=Symbol(process.env.NODE_ENV!=="production"?"isRef":""),Hl=Symbol(process.env.NODE_ENV!=="production"?"withMemo":""),rp=Symbol(process.env.NODE_ENV!=="production"?"isMemoSame":""),ms={[ti]:"Fragment",[Us]:"Teleport",[Tl]:"Suspense",[or]:"KeepAlive",[Qf]:"BaseTransition",[Hn]:"openBlock",[ep]:"createBlock",[tp]:"createElementBlock",[Dl]:"createVNode",[Vl]:"createElementVNode",[hi]:"createCommentVNode",[xl]:"createTextVNode",[np]:"createStaticVNode",[Al]:"resolveComponent",[Il]:"resolveDynamicComponent",[kl]:"resolveDirective",[Pl]:"resolveFilter",[Rl]:"withDirectives",[Ml]:"renderList",[sp]:"renderSlot",[ip]:"createSlots",[Hr]:"toDisplayString",[lr]:"mergeProps",[$l]:"normalizeClass",[Ll]:"normalizeStyle",[ni]:"normalizeProps",[mi]:"guardReactiveProps",[Fl]:"toHandlers",[Bo]:"camelize",[mv]:"capitalize",[Uo]:"toHandlerKey",[cr]:"setBlockTracking",[gv]:"pushScopeId",[vv]:"popScopeId",[jl]:"withCtx",[Ev]:"unref",[yv]:"isRef",[Hl]:"withMemo",[rp]:"isMemoSame"};function _v(e){Object.getOwnPropertySymbols(e).forEach(t=>{ms[t]=e[t]})}const ot={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Nv(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:ot}}function si(e,t,n,s,i,r,o,l=!1,c=!1,f=!1,u=ot){return e&&(l?(e.helper(Hn),e.helper(Es(e.inSSR,f))):e.helper(vs(e.inSSR,f)),o&&e.helper(Rl)),{type:13,tag:t,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:l,disableTracking:c,isComponent:f,loc:u}}function Mn(e,t=ot){return{type:17,loc:t,elements:e}}function pt(e,t=ot){return{type:15,loc:t,properties:e}}function Ce(e,t){return{type:16,loc:ot,key:Y(e)?te(e,!0):e,value:t}}function te(e,t=!1,n=ot,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function wt(e,t=ot){return{type:8,loc:t,children:e}}function De(e,t=[],n=ot){return{type:14,loc:n,callee:e,arguments:t}}function gs(e,t=void 0,n=!1,s=!1,i=ot){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:i}}function Ko(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:ot}}function bv(e,t,n=!1,s=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:ot}}function Ov(e){return{type:21,body:e,loc:ot}}function vs(e,t){return e||t?Dl:Vl}function Es(e,t){return e||t?ep:tp}function Bl(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(vs(s,e.isComponent)),t(Hn),t(Es(s,e.isComponent)))}const na=new Uint8Array([123,123]),sa=new Uint8Array([125,125]);function ia(e){return e>=97&&e<=122||e>=65&&e<=90}function st(e){return e===32||e===10||e===9||e===12||e===13}function on(e){return e===47||e===62||st(e)}function ar(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const xe={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Sv{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=na,this.delimiterClose=sa,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=na,this.delimiterClose=sa}getPos(t){let n=1,s=t+1;const i=this.newlines.length;let r=-1;if(i>100){let o=-1,l=i;for(;o+1<l;){const c=o+l>>>1;this.newlines[c]<t?o=c:l=c}r=o}else for(let o=i-1;o>=0;o--)if(t>this.newlines[o]){r=o;break}return r>=0&&(n=r+2,s=t-this.newlines[r]),{column:s,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===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(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?on(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||st(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const s=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=s}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===xe.TitleEnd||this.currentSequence===xe.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===xe.Cdata[this.sequenceIndex]?++this.sequenceIndex===xe.Cdata.length&&(this.state=28,this.currentSequence=xe.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===xe.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):ia(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){on(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(on(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(ar("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){st(t)||(t===62?(process.env.NODE_ENV!=="production"&&this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=ia(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||st(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?(this.state=7,process.env.NODE_ENV!=="production"&&this.peek()!==62&&this.cbs.onerr(22,this.index)):t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):st(t)||(process.env.NODE_ENV!=="production"&&t===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(t))}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):st(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){t===61||on(t)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):process.env.NODE_ENV!=="production"&&(t===34||t===39||t===60)&&this.cbs.onerr(17,this.index)}stateInDirName(t){t===61||on(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||on(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||on(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t),process.env.NODE_ENV!=="production"&&this.cbs.onerr(27,this.index))}stateInDirModifier(t){t===61||on(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):st(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):st(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){st(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(process.env.NODE_ENV!=="production"&&t===34||t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=xe.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===xe.ScriptEnd[3]?this.startSpecial(xe.ScriptEnd,4):t===xe.StyleEnd[3]?this.startSpecial(xe.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===xe.TitleEnd[3]?this.startSpecial(xe.TitleEnd,4):t===xe.TextareaEnd[3]?this.startSpecial(xe.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===xe.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):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,t))}emitCodePoint(t,n){}}const wv={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function Wo(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function gn(e,t){const n=Wo("MODE",t),s=Wo(e,t);return n===3?s===!0:s!==!1}function ys(e,t,n,...s){const i=gn(e,t);return process.env.NODE_ENV!=="production"&&i&&ur(e,t,n,...s),i}function ur(e,t,n,...s){if(Wo(e,t)==="suppress-warning")return;const{message:r,link:o}=wv[e],l=`(deprecation ${e}) ${typeof r=="function"?r(...s):r}${o?`
|
|
26
|
-
Details: ${o}`:""}`,
|
|
27
|
-
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""},Qe=e=>e.type===4&&e.isStatic;function lp(e){switch(e){case"Teleport":case"teleport":return Us;case"Suspense":case"suspense":return Tl;case"KeepAlive":case"keep-alive":return or;case"BaseTransition":case"base-transition":return Qf}}const Tv=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Kl=e=>!Tv.test(e),cp=/[A-Za-z_$\xA0-\uFFFF]/,Dv=/[\.\?\w$\xA0-\uFFFF]/,Vv=/\s+[.[]\s*|\s*[.[]\s+/g,ap=e=>e.type===4?e.content:e.loc.source,xv=e=>{const t=ap(e).trim().replace(Vv,l=>l.trim());let n=0,s=[],i=0,r=0,o=null;for(let l=0;l<t.length;l++){const c=t.charAt(l);switch(n){case 0:if(c==="[")s.push(n),n=1,i++;else if(c==="(")s.push(n),n=2,r++;else if(!(l===0?cp:Dv).test(c))return!1;break;case 1:c==="'"||c==='"'||c==="`"?(s.push(n),n=3,o=c):c==="["?i++:c==="]"&&(--i||(n=s.pop()));break;case 2:if(c==="'"||c==='"'||c==="`")s.push(n),n=3,o=c;else if(c==="(")r++;else if(c===")"){if(l===t.length-1)return!1;--r||(n=s.pop())}break;case 3:c===o&&(n=s.pop(),o=null);break}}return!i&&!r},up=xv,Av=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Iv=e=>Av.test(ap(e)),kv=Iv;function ra(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Ze(e,t,n=!1){for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&(n||i.exp)&&(Y(t)?i.name===t:t.test(i.name)))return i}}function ii(e,t,n=!1,s=!1){for(let i=0;i<e.props.length;i++){const r=e.props[i];if(r.type===6){if(n)continue;if(r.name===t&&(r.value||s))return r}else if(r.name==="bind"&&(r.exp||s)&&hn(r.arg,t))return r}}function hn(e,t){return!!(e&&Qe(e)&&e.content===t)}function Pv(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function ao(e){return e.type===5||e.type===2}function oa(e){return e.type===7&&e.name==="pre"}function Rv(e){return e.type===7&&e.name==="slot"}function fr(e){return e.type===1&&e.tagType===3}function pr(e){return e.type===1&&e.tagType===2}const Mv=new Set([ni,mi]);function fp(e,t=[]){if(e&&!Y(e)&&e.type===14){const n=e.callee;if(!Y(n)&&Mv.has(n))return fp(e.arguments[0],t.concat(e))}return[e,t]}function dr(e,t,n){let s,i=e.type===13?e.props:e.arguments[2],r=[],o;if(i&&!Y(i)&&i.type===14){const l=fp(i);i=l[0],r=l[1],o=r[r.length-1]}if(i==null||Y(i))s=pt([t]);else if(i.type===14){const l=i.arguments[0];!Y(l)&&l.type===15?la(t,l)||l.properties.unshift(t):i.callee===Fl?s=De(n.helper(lr),[pt([t]),i]):i.arguments.unshift(pt([t])),!s&&(s=i)}else i.type===15?(la(t,i)||i.properties.unshift(t),s=i):(s=De(n.helper(lr),[pt([t]),i]),o&&o.callee===mi&&(o=r[r.length-2]));e.type===13?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function la(e,t){let n=!1;if(e.key.type===4){const s=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===s)}return n}function ri(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function $v(e){return e.type===14&&e.callee===Hl?e.arguments[1].returns:e}const Lv=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function pp(e){for(let t=0;t<e.length;t++)if(!st(e.charCodeAt(t)))return!1;return!0}function Wl(e){return e.type===2&&pp(e.content)||e.type===12&&Wl(e.content)}function ql(e){return e.type===3||Wl(e)}const dp={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Zn,isPreTag:Zn,isIgnoreNewlineTag:Zn,isCustomElement:Zn,onError:Ul,onWarn:op,comments:process.env.NODE_ENV!=="production",prefixIdentifiers:!1};let oe=dp,oi=null,Zt="",Re=null,ie=null,Ye="",Kt=-1,Sn=-1,Gl=0,pn=!1,qo=null;const Ee=[],he=new Sv(Ee,{onerr:Je,ontext(e,t){Di(Ae(e,t),e,t)},ontextentity(e,t,n){Di(e,t,n)},oninterpolation(e,t){if(pn)return Di(Ae(e,t),e,t);let n=e+he.delimiterOpen.length,s=t-he.delimiterClose.length;for(;st(Zt.charCodeAt(n));)n++;for(;st(Zt.charCodeAt(s-1));)s--;let i=Ae(n,s);i.includes("&")&&(i=oe.decodeEntities(i,!1)),Go({type:5,content:$i(i,!1,be(n,s)),loc:be(e,t)})},onopentagname(e,t){const n=Ae(e,t);Re={type:1,tag:n,ns:oe.getNamespace(n,Ee[0],oe.ns),tagType:0,props:[],children:[],loc:be(e-1,t),codegenNode:void 0}},onopentagend(e){aa(e)},onclosetag(e,t){const n=Ae(e,t);if(!oe.isVoidTag(n)){let s=!1;for(let i=0;i<Ee.length;i++)if(Ee[i].tag.toLowerCase()===n.toLowerCase()){s=!0,i>0&&Je(24,Ee[0].loc.start.offset);for(let o=0;o<=i;o++){const l=Ee.shift();Mi(l,t,o<i)}break}s||Je(23,hp(e,60))}},onselfclosingtag(e){const t=Re.tag;Re.isSelfClosing=!0,aa(e),Ee[0]&&Ee[0].tag===t&&Mi(Ee.shift(),e)},onattribname(e,t){ie={type:6,name:Ae(e,t),nameLoc:be(e,t),value:void 0,loc:be(e)}},ondirname(e,t){const n=Ae(e,t),s=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!pn&&s===""&&Je(26,e),pn||s==="")ie={type:6,name:n,nameLoc:be(e,t),value:void 0,loc:be(e)};else if(ie={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[te("prop")]:[],loc:be(e)},s==="pre"){pn=he.inVPre=!0,qo=Re;const i=Re.props;for(let r=0;r<i.length;r++)i[r].type===7&&(i[r]=zv(i[r]))}},ondirarg(e,t){if(e===t)return;const n=Ae(e,t);if(pn&&!oa(ie))ie.name+=n,Dn(ie.nameLoc,t);else{const s=n[0]!=="[";ie.arg=$i(s?n:n.slice(1,-1),s,be(e,t),s?3:0)}},ondirmodifier(e,t){const n=Ae(e,t);if(pn&&!oa(ie))ie.name+="."+n,Dn(ie.nameLoc,t);else if(ie.name==="slot"){const s=ie.arg;s&&(s.content+="."+n,Dn(s.loc,t))}else{const s=te(n,!0,be(e,t));ie.modifiers.push(s)}},onattribdata(e,t){Ye+=Ae(e,t),Kt<0&&(Kt=e),Sn=t},onattribentity(e,t,n){Ye+=e,Kt<0&&(Kt=t),Sn=n},onattribnameend(e){const t=ie.loc.start.offset,n=Ae(t,e);ie.type===7&&(ie.rawName=n),Re.props.some(s=>(s.type===7?s.rawName:s.name)===n)&&Je(2,t)},onattribend(e,t){if(Re&&ie){if(Dn(ie.loc,t),e!==0)if(Ye.includes("&")&&(Ye=oe.decodeEntities(Ye,!0)),ie.type===6)ie.name==="class"&&(Ye=gp(Ye).trim()),e===1&&!Ye&&Je(13,t),ie.value={type:2,content:Ye,loc:e===1?be(Kt,Sn):be(Kt-1,Sn+1)},he.inSFCRoot&&Re.tag==="template"&&ie.name==="lang"&&Ye&&Ye!=="html"&&he.enterRCDATA(ar("</template"),0);else{let n=0;ie.exp=$i(Ye,!1,be(Kt,Sn),0,n),ie.name==="for"&&(ie.forParseResult=jv(ie.exp));let s=-1;ie.name==="bind"&&(s=ie.modifiers.findIndex(i=>i.content==="sync"))>-1&&ys("COMPILER_V_BIND_SYNC",oe,ie.loc,ie.arg.loc.source)&&(ie.name="model",ie.modifiers.splice(s,1))}(ie.type!==7||ie.name!=="pre")&&Re.props.push(ie)}Ye="",Kt=Sn=-1},oncomment(e,t){oe.comments&&Go({type:3,content:Ae(e,t),loc:be(e-4,t+3)})},onend(){const e=Zt.length;if(process.env.NODE_ENV!=="production"&&he.state!==1)switch(he.state){case 5:case 8:Je(5,e);break;case 3:case 4:Je(25,he.sectionStart);break;case 28:he.currentSequence===xe.CdataEnd?Je(6,e):Je(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:Je(9,e);break}for(let t=0;t<Ee.length;t++)Mi(Ee[t],e-1),Je(24,Ee[t].loc.start.offset)},oncdata(e,t){Ee[0].ns!==0?Di(Ae(e,t),e,t):Je(1,e-9)},onprocessinginstruction(e){(Ee[0]?Ee[0].ns:oe.ns)===0&&Je(21,e-1)}}),ca=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Fv=/^\(|\)$/g;function jv(e){const t=e.loc,n=e.content,s=n.match(Lv);if(!s)return;const[,i,r]=s,o=(a,p,m=!1)=>{const g=t.start.offset+p,v=g+a.length;return $i(a,!1,be(g,v),0,m?1:0)},l={source:o(r.trim(),n.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let c=i.trim().replace(Fv,"").trim();const f=i.indexOf(c),u=c.match(ca);if(u){c=c.replace(ca,"").trim();const a=u[1].trim();let p;if(a&&(p=n.indexOf(a,f+c.length),l.key=o(a,p,!0)),u[2]){const m=u[2].trim();m&&(l.index=o(m,n.indexOf(m,l.key?p+a.length:f+c.length),!0))}}return c&&(l.value=o(c,f,!0)),l}function Ae(e,t){return Zt.slice(e,t)}function aa(e){he.inSFCRoot&&(Re.innerLoc=be(e+1,e+1)),Go(Re);const{tag:t,ns:n}=Re;n===0&&oe.isPreTag(t)&&Gl++,oe.isVoidTag(t)?Mi(Re,e):(Ee.unshift(Re),(n===1||n===2)&&(he.inXML=!0)),Re=null}function Di(e,t,n){{const r=Ee[0]&&Ee[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=oe.decodeEntities(e,!1))}const s=Ee[0]||oi,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=e,Dn(i.loc,n)):s.children.push({type:2,content:e,loc:be(t,n)})}function Mi(e,t,n=!1){n?Dn(e.loc,hp(t,60)):Dn(e.loc,Hv(t,62)+1),he.inSFCRoot&&(e.children.length?e.innerLoc.end=ee({},e.children[e.children.length-1].loc.end):e.innerLoc.end=ee({},e.innerLoc.start),e.innerLoc.source=Ae(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:i,children:r}=e;if(pn||(s==="slot"?e.tagType=2:ua(e)?e.tagType=3:Uv(e)&&(e.tagType=1)),he.inRCDATA||(e.children=mp(r)),i===0&&oe.isIgnoreNewlineTag(s)){const o=r[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&oe.isPreTag(s)&&Gl--,qo===e&&(pn=he.inVPre=!1,qo=null),he.inXML&&(Ee[0]?Ee[0].ns:oe.ns)===0&&(he.inXML=!1);{const o=e.props;if(process.env.NODE_ENV!=="production"&&gn("COMPILER_V_IF_V_FOR_PRECEDENCE",oe)){let c=!1,f=!1;for(let u=0;u<o.length;u++){const a=o[u];if(a.type===7&&(a.name==="if"?c=!0:a.name==="for"&&(f=!0)),c&&f){ur("COMPILER_V_IF_V_FOR_PRECEDENCE",oe,e.loc);break}}}if(!he.inSFCRoot&&gn("COMPILER_NATIVE_TEMPLATE",oe)&&e.tag==="template"&&!ua(e)){process.env.NODE_ENV!=="production"&&ur("COMPILER_NATIVE_TEMPLATE",oe,e.loc);const c=Ee[0]||oi,f=c.children.indexOf(e);c.children.splice(f,1,...e.children)}const l=o.find(c=>c.type===6&&c.name==="inline-template");l&&ys("COMPILER_INLINE_TEMPLATE",oe,l.loc)&&e.children.length&&(l.value={type:2,content:Ae(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function Hv(e,t){let n=e;for(;Zt.charCodeAt(n)!==t&&n<Zt.length-1;)n++;return n}function hp(e,t){let n=e;for(;Zt.charCodeAt(n)!==t&&n>=0;)n--;return n}const Bv=new Set(["if","else","else-if","for","slot"]);function ua({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&Bv.has(t[n].name))return!0}return!1}function Uv({tag:e,props:t}){if(oe.isCustomElement(e))return!1;if(e==="component"||Kv(e.charCodeAt(0))||lp(e)||oe.isBuiltInComponent&&oe.isBuiltInComponent(e)||oe.isNativeTag&&!oe.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const s=t[n];if(s.type===6){if(s.name==="is"&&s.value){if(s.value.content.startsWith("vue:"))return!0;if(ys("COMPILER_IS_ON_ELEMENT",oe,s.loc))return!0}}else if(s.name==="bind"&&hn(s.arg,"is")&&ys("COMPILER_IS_ON_ELEMENT",oe,s.loc))return!0}return!1}function Kv(e){return e>64&&e<91}const Wv=/\r\n/g;function mp(e){const t=oe.whitespace!=="preserve";let n=!1;for(let s=0;s<e.length;s++){const i=e[s];if(i.type===2)if(Gl)i.content=i.content.replace(Wv,`
|
|
28
|
-
`);else if(
|
|
29
|
-
`+" ".repeat(
|
|
30
|
-
`,-1),
|
|
31
|
-
`,0),
|
|
32
|
-
`,-1),e.hoists.length)){const
|
|
33
|
-
`,-1)}oE(e.hoists,t),r(),i("return ")}function uo(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?Pl:t==="component"?Al:kl);for(let l=0;l<e.length;l++){let c=e[l];const f=c.endsWith("__self");f&&(c=c.slice(0,-6)),s(`const ${ri(c,t)} = ${o}(${JSON.stringify(c)}${f?", true":""})${r?"!":""}`),l<e.length-1&&i()}}function oE(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let i=0;i<e.length;i++){const r=e[i];r&&(n(`const _hoisted_${i+1} = `),je(r,t),s())}t.pure=!1}function lE(e){return Y(e)||e.type===4||e.type===2||e.type===5||e.type===8}function zl(e,t){const n=e.length>3||process.env.NODE_ENV!=="production"&&e.some(s=>H(s)||!lE(s));t.push("["),n&&t.indent(),gi(e,t,n),n&&t.deindent(),t.push("]")}function gi(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;o<e.length;o++){const l=e[o];Y(l)?i(l,-3):H(l)?zl(l,t):je(l,t),o<e.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function je(e,t){if(Y(e)){t.push(e,-3);return}if(et(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:process.env.NODE_ENV!=="production"&&ra(e.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),je(e.codegenNode,t);break;case 2:cE(e,t);break;case 4:Op(e,t);break;case 5:aE(e,t);break;case 12:je(e.codegenNode,t);break;case 8:Sp(e,t);break;case 3:fE(e,t);break;case 13:pE(e,t);break;case 14:hE(e,t);break;case 15:mE(e,t);break;case 17:gE(e,t);break;case 18:vE(e,t);break;case 19:EE(e,t);break;case 20:yE(e,t);break;case 21:gi(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:if(process.env.NODE_ENV!=="production")return ra(!1,`unhandled codegen node type: ${e.type}`),e}}function cE(e,t){t.push(JSON.stringify(e.content),-3,e)}function Op(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function aE(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Ur),n(`${s(Hr)}(`),je(e.content,t),n(")")}function Sp(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];Y(s)?t.push(s,-3):je(s,t)}}function uE(e,t){const{push:n}=t;if(e.type===8)n("["),Sp(e,t),n("]");else if(e.isStatic){const s=Kl(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function fE(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Ur),n(`${s(hi)}(${JSON.stringify(e.content)})`,-3,e)}function pE(e,t){const{push:n,helper:s,pure:i}=t,{tag:r,props:o,children:l,patchFlag:c,dynamicProps:f,directives:u,isBlock:a,disableTracking:p,isComponent:m}=e;let g;if(c)if(process.env.NODE_ENV!=="production")if(c<0)g=c+` /* ${Ps[c]} */`;else{const x=Object.keys(Ps).map(Number).filter(D=>D>0&&c&D).map(D=>Ps[D]).join(", ");g=c+` /* ${x} */`}else g=String(c);u&&n(s(Rl)+"("),a&&n(`(${s(Hn)}(${p?"true":""}), `),i&&n(Ur);const v=a?Es(t.inSSR,m):vs(t.inSSR,m);n(s(v)+"(",-2,e),gi(dE([r,o,l,g,f]),t),n(")"),a&&n(")"),u&&(n(", "),je(u,t),n(")"))}function dE(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function hE(e,t){const{push:n,helper:s,pure:i}=t,r=Y(e.callee)?e.callee:s(e.callee);i&&n(Ur),n(r+"(",-2,e),gi(e.arguments,t),n(")")}function mE(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||process.env.NODE_ENV!=="production"&&o.some(c=>c.value.type!==4);n(l?"{":"{ "),l&&s();for(let c=0;c<o.length;c++){const{key:f,value:u}=o[c];uE(f,t),n(": "),je(u,t),c<o.length-1&&(n(","),r())}l&&i(),n(l?"}":" }")}function gE(e,t){zl(e.elements,t)}function vE(e,t){const{push:n,indent:s,deindent:i}=t,{params:r,returns:o,body:l,newline:c,isSlot:f}=e;f&&n(`_${ms[jl]}(`),n("(",-2,e),H(r)?gi(r,t):r&&je(r,t),n(") => "),(c||l)&&(n("{"),s()),o?(c&&n("return "),H(o)?zl(o,t):je(o,t)):l&&je(l,t),(c||l)&&(i(),n("}")),f&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function EE(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:c,newline:f}=t;if(n.type===4){const a=!Kl(n.content);a&&o("("),Op(n,t),a&&o(")")}else o("("),je(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),je(s,t),t.indentLevel--,r&&f(),r||o(" "),o(": ");const u=i.type===19;u||t.indentLevel++,je(i,t),u||t.indentLevel--,r&&c(!0)}function yE(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:c}=e;c&&n("[...("),n(`_cache[${e.index}] || (`),l&&(i(),n(`${s(cr)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),je(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(cr)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")"),c&&n(")]")}const _E=new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b"),NE=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function Vn(e,t,n=!1,s=!1){const i=e.content;if(i.trim())try{new Function(s?` ${i} `:`return ${n?`(${i}) => {}`:`(${i})`}`)}catch(r){let o=r.message;const l=i.replace(NE,"").match(_E);l&&(o=`avoid using JavaScript keyword as property name: "${l[0]}"`),t.onError(ue(46,e.loc,void 0,o))}}const bE=(e,t)=>{if(e.type===5)e.content=fo(e.content,t);else if(e.type===1){const n=Ze(e,"memo");for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&i.name!=="for"){const r=i.exp,o=i.arg;r&&r.type===4&&!(i.name==="on"&&o)&&!(n&&o&&o.type===4&&o.content==="key")&&(i.exp=fo(r,t,i.name==="slot")),o&&o.type===4&&!o.isStatic&&(i.arg=fo(o,t))}}}};function fo(e,t,n=!1,s=!1,i=Object.create(t.identifiers)){return process.env.NODE_ENV!=="production"&&Vn(e,t,n,s),e}const OE=Np(/^(?:if|else|else-if)$/,(e,t,n)=>SE(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),c=0;for(;l-->=0;){const f=o[l];f&&f.type===9&&(c+=f.branches.length)}return()=>{if(r)s.codegenNode=pa(i,c,n);else{const f=CE(s.codegenNode);f.alternate=pa(i,c+s.branches.length-1,n)}}}));function SE(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(ue(28,t.loc)),t.exp=te("true",!1,i)}if(process.env.NODE_ENV!=="production"&&t.exp&&Vn(t.exp,n),t.name==="if"){const i=fa(e,t),r={type:9,loc:Gv(e.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children,r=[];let o=i.indexOf(e);for(;o-->=-1;){const l=i[o];if(l&&ql(l)){n.removeNode(l),process.env.NODE_ENV!=="production"&&l.type===3&&r.unshift(l);continue}if(l&&l.type===9){(t.name==="else-if"||t.name==="else")&&l.branches[l.branches.length-1].condition===void 0&&n.onError(ue(30,e.loc)),n.removeNode();const c=fa(e,t);if(process.env.NODE_ENV!=="production"&&r.length&&!(n.parent&&n.parent.type===1&&(n.parent.tag==="transition"||n.parent.tag==="Transition"))&&(c.children=[...r,...c.children]),process.env.NODE_ENV!=="production"){const u=c.userKey;u&&l.branches.forEach(({userKey:a})=>{wE(a,u)&&n.onError(ue(29,c.userKey.loc))})}l.branches.push(c);const f=s&&s(l,c,!1);Br(c,n),f&&f(),n.currentNode=null}else n.onError(ue(30,e.loc));break}}}function fa(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!Ze(e,"for")?e.children:[e],userKey:ii(e,"key"),isTemplateIf:n}}function pa(e,t,n){return e.condition?Ko(e.condition,da(e,t,n),De(n.helper(hi),[process.env.NODE_ENV!=="production"?'"v-if"':'""',"true"])):da(e,t,n)}function da(e,t,n){const{helper:s}=n,i=Ce("key",te(`${t}`,!1,ot,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const c=o.codegenNode;return dr(c,i,n),c}else{let c=64;return process.env.NODE_ENV!=="production"&&!e.isTemplateIf&&r.filter(f=>f.type!==3).length===1&&(c|=2048),si(n,s(ti),pt([i]),r,c,void 0,void 0,!0,!1,!1,e.loc)}else{const c=o.codegenNode,f=$v(c);return f.type===13&&Bl(f,n),dr(f,i,n),c}}function wE(e,t){if(!e||e.type!==t.type)return!1;if(e.type===6){if(e.value.content!==t.value.content)return!1}else{const n=e.exp,s=t.exp;if(n.type!==s.type||n.type!==4||n.isStatic!==s.isStatic||n.content!==s.content)return!1}return!0}function CE(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const TE=Np("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return DE(e,t,n,r=>{const o=De(s(Ml),[r.source]),l=fr(e),c=Ze(e,"memo"),f=ii(e,"key",!1,!0);f&&f.type;let u=f&&(f.type===6?f.value?te(f.value.content,!0):void 0:f.exp);const a=f&&u?Ce("key",u):null,p=r.source.type===4&&r.source.constType>0,m=p?64:f?128:256;return r.codegenNode=si(n,s(ti),void 0,o,m,void 0,void 0,!0,!p,!1,e.loc),()=>{let g;const{children:v}=r;process.env.NODE_ENV!=="production"&&l&&e.children.some(b=>{if(b.type===1){const h=ii(b,"key");if(h)return n.onError(ue(33,h.loc)),!0}});const x=v.length!==1||v[0].type!==1,D=pr(e)?e:l&&e.children.length===1&&pr(e.children[0])?e.children[0]:null;if(D?(g=D.codegenNode,l&&a&&dr(g,a,n)):x?g=si(n,s(ti),a?pt([a]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(g=v[0].codegenNode,l&&a&&dr(g,a,n),g.isBlock!==!p&&(g.isBlock?(i(Hn),i(Es(n.inSSR,g.isComponent))):i(vs(n.inSSR,g.isComponent))),g.isBlock=!p,g.isBlock?(s(Hn),s(Es(n.inSSR,g.isComponent))):s(vs(n.inSSR,g.isComponent))),c){const b=gs(zo(r.parseResult,[te("_cached")]));b.body=Ov([wt(["const _memo = (",c.exp,")"]),wt(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(rp)}(_cached, _memo)) return _cached`]),wt(["const _item = ",g]),te("_item.memo = _memo"),te("return _item")]),o.arguments.push(b,te("_cache"),te(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(gs(zo(r.parseResult),g,!0))}})});function DE(e,t,n,s){if(!t.exp){n.onError(ue(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(ue(32,t.loc));return}wp(i,n);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:c,value:f,key:u,index:a}=i,p={type:11,loc:t.loc,source:c,valueAlias:f,keyAlias:u,objectIndexAlias:a,parseResult:i,children:fr(e)?e.children:[e]};n.replaceNode(p),l.vFor++;const m=s&&s(p);return()=>{l.vFor--,m&&m()}}function wp(e,t){e.finalized||(process.env.NODE_ENV!=="production"&&(Vn(e.source,t),e.key&&Vn(e.key,t,!0),e.index&&Vn(e.index,t,!0),e.value&&Vn(e.value,t,!0)),e.finalized=!0)}function zo({value:e,key:t,index:n},s=[]){return VE([e,t,n,...s])}function VE(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||te("_".repeat(s+1),!1))}const ha=te("undefined",!1),xE=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=Ze(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},AE=(e,t,n,s)=>gs(e,n,!1,!0,n.length?n[0].loc:s);function IE(e,t,n=AE){t.helper(jl);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const c=Ze(e,"slot",!0);if(c){const{arg:x,exp:D}=c;x&&!Qe(x)&&(l=!0),r.push(Ce(x||te("default",!0),n(D,void 0,s,i)))}let f=!1,u=!1;const a=[],p=new Set;let m=0;for(let x=0;x<s.length;x++){const D=s[x];let b;if(!fr(D)||!(b=Ze(D,"slot",!0))){D.type!==3&&a.push(D);continue}if(c){t.onError(ue(37,b.loc));break}f=!0;const{children:h,loc:_}=D,{arg:y=te("default",!0),exp:T,loc:j}=b;let V;Qe(y)?V=y?y.content:"default":l=!0;const N=Ze(D,"for"),w=n(T,N,h,_);let R,O;if(R=Ze(D,"if"))l=!0,o.push(Ko(R.exp,Vi(y,w,m++),ha));else if(O=Ze(D,/^else(?:-if)?$/,!0)){let L=x,q;for(;L--&&(q=s[L],!!ql(q)););if(q&&fr(q)&&Ze(q,/^(?:else-)?if$/)){let J=o[o.length-1];for(;J.alternate.type===19;)J=J.alternate;J.alternate=O.exp?Ko(O.exp,Vi(y,w,m++),ha):Vi(y,w,m++)}else t.onError(ue(30,O.loc))}else if(N){l=!0;const L=N.forParseResult;L?(wp(L,t),o.push(De(t.helper(Ml),[L.source,gs(zo(L),Vi(y,w),!0)]))):t.onError(ue(32,N.loc))}else{if(V){if(p.has(V)){t.onError(ue(38,j));continue}p.add(V),V==="default"&&(u=!0)}r.push(Ce(y,w))}}if(!c){const x=(D,b)=>{const h=n(D,void 0,b,i);return t.compatConfig&&(h.isNonScopedSlot=!0),Ce("default",h)};f?a.length&&!a.every(Wl)&&(u?t.onError(ue(39,a[0].loc)):r.push(x(void 0,a))):r.push(x(void 0,s))}const g=l?2:Fi(e.children)?3:1;let v=pt(r.concat(Ce("_",te(g+(process.env.NODE_ENV!=="production"?` /* ${sd[g]} */`:""),!1))),i);return o.length&&(v=De(t.helper(ip),[v,Mn(o)])),{slots:v,hasDynamicSlots:l}}function Vi(e,t,n){const s=[Ce("name",e),Ce("fn",t)];return n!=null&&s.push(Ce("key",te(String(n),!0))),pt(s)}function Fi(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Fi(n.children))return!0;break;case 9:if(Fi(n.branches))return!0;break;case 10:case 11:if(Fi(n.children))return!0;break}}return!1}const Cp=new WeakMap,kE=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?PE(e,t):`"${s}"`;const l=se(o)&&o.callee===Il;let c,f,u=0,a,p,m,g=l||o===Us||o===Tl||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const v=Tp(e,t,void 0,r,l);c=v.props,u=v.patchFlag,p=v.dynamicPropNames;const x=v.directives;m=x&&x.length?Mn(x.map(D=>ME(D,t))):void 0,v.shouldUseBlock&&(g=!0)}if(e.children.length>0)if(o===or&&(g=!0,u|=1024,process.env.NODE_ENV!=="production"&&e.children.length>1&&t.onError(ue(47,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))),r&&o!==Us&&o!==or){const{slots:x,hasDynamicSlots:D}=IE(e,t);f=x,D&&(u|=1024)}else if(e.children.length===1&&o!==Us){const x=e.children[0],D=x.type,b=D===5||D===8;b&&it(x,t)===0&&(u|=1),b||D===2?f=x:f=e.children}else f=e.children;p&&p.length&&(a=$E(p)),e.codegenNode=si(t,o,c,f,u===0?void 0:u,a,m,!!g,!1,r,e.loc)};function PE(e,t,n=!1){let{tag:s}=e;const i=Jo(s),r=ii(e,"is",!1,!0);if(r)if(i||gn("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&te(r.value.content,!0):(l=r.exp,l||(l=te("is",!1,r.arg.loc))),l)return De(t.helper(Il),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=lp(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(Al),t.components.add(s),ri(s,"component"))}function Tp(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:c}=e;let f=[];const u=[],a=[],p=c.length>0;let m=!1,g=0,v=!1,x=!1,D=!1,b=!1,h=!1,_=!1;const y=[],T=w=>{f.length&&(u.push(pt(ma(f),l)),f=[]),w&&u.push(w)},j=()=>{t.scopes.vFor>0&&f.push(Ce(te("ref_for",!0),te("true")))},V=({key:w,value:R})=>{if(Qe(w)){const O=w.content,L=Qt(O);if(L&&(!s||i)&&O.toLowerCase()!=="onclick"&&O!=="onUpdate:modelValue"&&!Yt(O)&&(b=!0),L&&Yt(O)&&(_=!0),L&&R.type===14&&(R=R.arguments[0]),R.type===20||(R.type===4||R.type===8)&&it(R,t)>0)return;O==="ref"?v=!0:O==="class"?x=!0:O==="style"?D=!0:O!=="key"&&!y.includes(O)&&y.push(O),s&&(O==="class"||O==="style")&&!y.includes(O)&&y.push(O)}else h=!0};for(let w=0;w<n.length;w++){const R=n[w];if(R.type===6){const{loc:O,name:L,nameLoc:q,value:J}=R;let K=!0;if(L==="ref"&&(v=!0,j()),L==="is"&&(Jo(o)||J&&J.content.startsWith("vue:")||gn("COMPILER_IS_ON_ELEMENT",t)))continue;f.push(Ce(te(L,!0,q),te(J?J.content:"",K,J?J.loc:O)))}else{const{name:O,arg:L,exp:q,loc:J,modifiers:K}=R,W=O==="bind",U=O==="on";if(O==="slot"){s||t.onError(ue(40,J));continue}if(O==="once"||O==="memo"||O==="is"||W&&hn(L,"is")&&(Jo(o)||gn("COMPILER_IS_ON_ELEMENT",t))||U&&r)continue;if((W&&hn(L,"key")||U&&p&&hn(L,"vue:before-update"))&&(m=!0),W&&hn(L,"ref")&&j(),!L&&(W||U)){if(h=!0,q)if(W){if(T(),process.env.NODE_ENV!=="production"&&u.some(lt=>lt.type===15?lt.properties.some(({key:ct})=>ct.type!==4||!ct.isStatic?!0:ct.content!=="class"&&ct.content!=="style"&&!Qt(ct.content)):!0)&&ys("COMPILER_V_BIND_OBJECT_ORDER",t,J),gn("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(q);continue}j(),T(),u.push(q)}else T({type:14,loc:J,callee:t.helper(Fl),arguments:s?[q]:[q,"true"]});else t.onError(ue(W?34:35,J));continue}W&&K.some(Ge=>Ge.content==="prop")&&(g|=32);const le=t.directiveTransforms[O];if(le){const{props:Ge,needRuntime:lt}=le(R,e,t);!r&&Ge.forEach(V),U&&L&&!Qe(L)?T(pt(Ge,l)):f.push(...Ge),lt&&(a.push(R),et(lt)&&Cp.set(R,lt))}else Pa(O)||(a.push(R),p&&(m=!0))}}let N;if(u.length?(T(),u.length>1?N=De(t.helper(lr),u,l):N=u[0]):f.length&&(N=pt(ma(f),l)),h?g|=16:(x&&!s&&(g|=2),D&&!s&&(g|=4),y.length&&(g|=8),b&&(g|=32)),!m&&(g===0||g===32)&&(v||_||a.length>0)&&(g|=512),!t.inSSR&&N)switch(N.type){case 15:let w=-1,R=-1,O=!1;for(let J=0;J<N.properties.length;J++){const K=N.properties[J].key;Qe(K)?K.content==="class"?w=J:K.content==="style"&&(R=J):K.isHandlerKey||(O=!0)}const L=N.properties[w],q=N.properties[R];O?N=De(t.helper(ni),[N]):(L&&!Qe(L.value)&&(L.value=De(t.helper($l),[L.value])),q&&(D||q.value.type===4&&q.value.content.trim()[0]==="["||q.value.type===17)&&(q.value=De(t.helper(Ll),[q.value])));break;case 14:break;default:N=De(t.helper(ni),[De(t.helper(mi),[N])]);break}return{props:N,directives:a,patchFlag:g,dynamicPropNames:y,shouldUseBlock:m}}function ma(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const r=i.key.content,o=t.get(r);o?(r==="style"||r==="class"||Qt(r))&&RE(o,i):(t.set(r,i),n.push(i))}return n}function RE(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Mn([e.value,t.value],e.loc)}function ME(e,t){const n=[],s=Cp.get(e);s?n.push(t.helperString(s)):(t.helper(kl),t.directives.add(e.name),n.push(ri(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const r=te("true",!1,i);n.push(pt(e.modifiers.map(o=>Ce(o,r)),i))}return Mn(n,e.loc)}function $E(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function Jo(e){return e==="component"||e==="Component"}const LE=(e,t)=>{if(pr(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=FE(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=gs([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=De(t.helper(sp),o,s)}};function FE(e,t){let n='"default"',s;const i=[];for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=pe(o.name),i.push(o)));else if(o.name==="bind"&&hn(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const l=pe(o.arg.content);n=o.exp=te(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Qe(o.arg)&&(o.arg.content=pe(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=Tp(e,t,i,!1,!1);s=r,o.length&&t.onError(ue(36,o[0].loc))}return{slotName:n,slotProps:s}}const Dp=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(ue(35,i));let l;if(o.type===4)if(o.isStatic){let a=o.content;process.env.NODE_ENV!=="production"&&a.startsWith("vnode")&&n.onError(ue(52,o.loc)),a.startsWith("vue:")&&(a=`vnode-${a.slice(4)}`);const p=t.tagType!==0||a.startsWith("vnode")||!/[A-Z]/.test(a)?kt(pe(a)):`on:${a}`;l=te(p,!0,o.loc)}else l=wt([`${n.helperString(Uo)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Uo)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let f=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const a=up(c),p=!(a||kv(c)),m=c.content.includes(";");process.env.NODE_ENV!=="production"&&Vn(c,n,!1,m),(p||f&&a)&&(c=wt([`${p?"$event":"(...args)"} => ${m?"{":"("}`,c,m?"}":")"]))}let u={props:[Ce(l,c||te("() => {}",!1,i))]};return s&&(u=s(u)),f&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(a=>a.key.isHandlerKey=!0),u},jE=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),s.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=pe(r.content):r.content=`${n.helperString(Bo)}(${r.content})`:(r.children.unshift(`${n.helperString(Bo)}(`),r.children.push(")"))),n.inSSR||(s.some(l=>l.content==="prop")&&ga(r,"."),s.some(l=>l.content==="attr")&&ga(r,"^")),{props:[Ce(r,o)]}},ga=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},HE=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;r<n.length;r++){const o=n[r];if(ao(o)){i=!0;for(let l=r+1;l<n.length;l++){const c=n[l];if(ao(c))s||(s=n[r]=wt([o],o.loc)),s.children.push(" + ",c),n.splice(l,1),l--;else{s=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<n.length;r++){const o=n[r];if(ao(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&it(o,t)===0&&l.push(1+(process.env.NODE_ENV!=="production"?` /* ${Ps[1]} */`:"")),n[r]={type:12,content:o,loc:o.loc,codegenNode:De(t.helper(xl),l)}}}}},va=new WeakSet,BE=(e,t)=>{if(e.type===1&&Ze(e,"once",!0))return va.has(e)||t.inVOnce||t.inSSR?void 0:(va.add(e),t.inVOnce=!0,t.helper(cr),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},Vp=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(ue(41,e.loc)),Ds();const r=s.loc.source.trim(),o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(ue(44,s.loc)),Ds();if(l==="literal-const"||l==="setup-const")return n.onError(ue(45,s.loc)),Ds();if(!o.trim()||!up(s))return n.onError(ue(42,s.loc)),Ds();const c=i||te("modelValue",!0),f=i?Qe(i)?`onUpdate:${pe(i.content)}`:wt(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const a=n.isTS?"($event: any)":"$event";u=wt([`${a} => ((`,s,") = $event)"]);const p=[Ce(c,e.exp),Ce(f,u)];if(e.modifiers.length&&t.tagType===1){const m=e.modifiers.map(v=>v.content).map(v=>(Kl(v)?v:JSON.stringify(v))+": true").join(", "),g=i?Qe(i)?`${i.content}Modifiers`:wt([i,' + "Modifiers"']):"modelModifiers";p.push(Ce(g,te(`{ ${m} }`,!1,e.loc,2)))}return Ds(p)};function Ds(e=[]){return{props:e}}const UE=/[\w).+\-_$\]]/,KE=(e,t)=>{gn("COMPILER_FILTERS",t)&&(e.type===5?hr(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&hr(n.exp,t)}))};function hr(e,t){if(e.type===4)Ea(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?Ea(s,t):s.type===8?hr(e,t):s.type===5&&hr(s.content,t))}}function Ea(e,t){const n=e.content;let s=!1,i=!1,r=!1,o=!1,l=0,c=0,f=0,u=0,a,p,m,g,v=[];for(m=0;m<n.length;m++)if(p=a,a=n.charCodeAt(m),s)a===39&&p!==92&&(s=!1);else if(i)a===34&&p!==92&&(i=!1);else if(r)a===96&&p!==92&&(r=!1);else if(o)a===47&&p!==92&&(o=!1);else if(a===124&&n.charCodeAt(m+1)!==124&&n.charCodeAt(m-1)!==124&&!l&&!c&&!f)g===void 0?(u=m+1,g=n.slice(0,m).trim()):x();else{switch(a){case 34:i=!0;break;case 39:s=!0;break;case 96:r=!0;break;case 40:f++;break;case 41:f--;break;case 91:c++;break;case 93:c--;break;case 123:l++;break;case 125:l--;break}if(a===47){let D=m-1,b;for(;D>=0&&(b=n.charAt(D),b===" ");D--);(!b||!UE.test(b))&&(o=!0)}}g===void 0?g=n.slice(0,m).trim():u!==0&&x();function x(){v.push(n.slice(u,m).trim()),u=m+1}if(v.length){for(process.env.NODE_ENV!=="production"&&ur("COMPILER_FILTERS",t,e.loc),m=0;m<v.length;m++)g=WE(g,v[m],t);e.content=g,e.ast=void 0}}function WE(e,t,n){n.helper(Pl);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${ri(t,"filter")}(${e})`;{const i=t.slice(0,s),r=t.slice(s+1);return n.filters.add(i),`${ri(i,"filter")}(${e}${r!==")"?","+r:r}`}}const ya=new WeakSet,qE=(e,t)=>{if(e.type===1){const n=Ze(e,"memo");return!n||ya.has(e)||t.inSSR?void 0:(ya.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&Bl(s,t),e.codegenNode=De(t.helper(Hl),[n.exp,gs(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}},GE=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const s=n.arg;if(s.type!==4||!s.isStatic)t.onError(ue(53,s.loc)),n.exp=te("",!0,s.loc);else{const i=pe(s.content);(cp.test(i[0])||i[0]==="-")&&(n.exp=te(i,!1,s.loc))}}}};function zE(e){return[[GE,BE,OE,qE,TE,KE,...process.env.NODE_ENV!=="production"?[bE]:[],LE,kE,xE,HE],{on:Dp,bind:jE,model:Vp}]}function JE(e,t={}){const n=t.onError||Ul,s=t.mode==="module";t.prefixIdentifiers===!0?n(ue(48)):s&&n(ue(49));const i=!1;t.cacheHandlers&&n(ue(50)),t.scopeId&&!s&&n(ue(51));const r=ee({},t,{prefixIdentifiers:i}),o=Y(e)?Yv(e,r):e,[l,c]=zE();return eE(o,ee({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:ee({},c,t.directiveTransforms||{})})),iE(o,r)}const YE=()=>({props:[]});const xp=Symbol(process.env.NODE_ENV!=="production"?"vModelRadio":""),Ap=Symbol(process.env.NODE_ENV!=="production"?"vModelCheckbox":""),Ip=Symbol(process.env.NODE_ENV!=="production"?"vModelText":""),kp=Symbol(process.env.NODE_ENV!=="production"?"vModelSelect":""),Yo=Symbol(process.env.NODE_ENV!=="production"?"vModelDynamic":""),Pp=Symbol(process.env.NODE_ENV!=="production"?"vOnModifiersGuard":""),Rp=Symbol(process.env.NODE_ENV!=="production"?"vOnKeysGuard":""),Mp=Symbol(process.env.NODE_ENV!=="production"?"vShow":""),Jl=Symbol(process.env.NODE_ENV!=="production"?"Transition":""),$p=Symbol(process.env.NODE_ENV!=="production"?"TransitionGroup":"");_v({[xp]:"vModelRadio",[Ap]:"vModelCheckbox",[Ip]:"vModelText",[kp]:"vModelSelect",[Yo]:"vModelDynamic",[Pp]:"withModifiers",[Rp]:"withKeys",[Mp]:"vShow",[Jl]:"Transition",[$p]:"TransitionGroup"});let Jn;function XE(e,t=!1){return Jn||(Jn=document.createElement("div")),t?(Jn.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Jn.children[0].getAttribute("foo")):(Jn.innerHTML=e,Jn.textContent)}const ZE={parseMode:"html",isVoidTag:gd,isNativeTag:e=>Ma(e)||$a(e)||La(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:XE,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return Jl;if(e==="TransitionGroup"||e==="transition-group")return $p},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},QE=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:te("style",!0,t.loc),exp:ey(t.value.content,t.loc),modifiers:[],loc:t.loc})})},ey=(e,t)=>{const n=Ra(e);return te(JSON.stringify(n),!1,t,3)};function Ot(e,t){return ue(e,t,process.env.NODE_ENV!=="production"?ty:void 0)}const ty={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},ny=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Ot(54,i)),t.children.length&&(n.onError(Ot(55,i)),t.children.length=0),{props:[Ce(te("innerHTML",!0,i),s||te("",!0))]}},sy=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Ot(56,i)),t.children.length&&(n.onError(Ot(57,i)),t.children.length=0),{props:[Ce(te("textContent",!0),s?it(s,n)>0?s:De(n.helperString(Hr),[s],i):te("",!0))]}},iy=(e,t,n)=>{const s=Vp(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(Ot(59,e.arg.loc));function i(){const l=Ze(t,"bind");l&&hn(l.arg,"value")&&n.onError(Ot(61,l.loc))}const{tag:r}=t,o=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||o){let l=Ip,c=!1;if(r==="input"||o){const f=ii(t,"type");if(f){if(f.type===7)l=Yo;else if(f.value)switch(f.value.content){case"radio":l=xp;break;case"checkbox":l=Ap;break;case"file":c=!0,n.onError(Ot(60,e.loc));break;default:process.env.NODE_ENV!=="production"&&i();break}}else Pv(t)?l=Yo:process.env.NODE_ENV!=="production"&&i()}else r==="select"?l=kp:process.env.NODE_ENV!=="production"&&i();c||(s.needRuntime=n.helper(l))}else n.onError(Ot(58,e.loc));return s.props=s.props.filter(l=>!(l.key.type===4&&l.key.content==="modelValue")),s},ry=Ve("passive,once,capture"),oy=Ve("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ly=Ve("left,right"),Lp=Ve("onkeyup,onkeydown,onkeypress"),cy=(e,t,n,s)=>{const i=[],r=[],o=[];for(let l=0;l<t.length;l++){const c=t[l].content;c==="native"&&ys("COMPILER_V_ON_NATIVE",n,s)||ry(c)?o.push(c):ly(c)?Qe(e)?Lp(e.content.toLowerCase())?i.push(c):r.push(c):(i.push(c),r.push(c)):oy(c)?r.push(c):i.push(c)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}},_a=(e,t)=>Qe(e)&&e.content.toLowerCase()==="onclick"?te(t,!0):e.type!==4?wt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,ay=(e,t,n)=>Dp(e,t,n,s=>{const{modifiers:i}=e;if(!i.length)return s;let{key:r,value:o}=s.props[0];const{keyModifiers:l,nonKeyModifiers:c,eventOptionModifiers:f}=cy(r,i,n,e.loc);if(c.includes("right")&&(r=_a(r,"onContextmenu")),c.includes("middle")&&(r=_a(r,"onMouseup")),c.length&&(o=De(n.helper(Pp),[o,JSON.stringify(c)])),l.length&&(!Qe(r)||Lp(r.content.toLowerCase()))&&(o=De(n.helper(Rp),[o,JSON.stringify(l)])),f.length){const u=f.map(Ft).join("");r=Qe(r)?te(`${r.content}${u}`,!0):wt(["(",r,`) + "${u}"`])}return{props:[Ce(r,o)]}}),uy=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Ot(62,i)),{props:[],needRuntime:n.helper(Mp)}},fy=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===Jl)return()=>{if(!e.children.length)return;Fp(e)&&t.onError(Ot(63,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}));const s=e.children[0];if(s.type===1)for(const i of s.props)i.type===7&&i.name==="show"&&e.props.push({type:6,name:"persisted",nameLoc:e.loc,value:void 0,loc:e.loc})}};function Fp(e){const t=e.children=e.children.filter(s=>!ql(s)),n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some(Fp)}const py=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&(process.env.NODE_ENV!=="production"&&t.onError(Ot(64,e.loc)),t.removeNode())};function dy(e,t){return e==="template"?!0:e in Na?Na[e].has(t):t in ba?ba[t].has(e):!(e in Oa&&Oa[e].has(t)||t in Sa&&Sa[t].has(e))}const Yn=new Set(["h1","h2","h3","h4","h5","h6"]),wn=new Set([]),Na={head:new Set(["base","basefront","bgsound","link","meta","title","noscript","noframes","style","script","template"]),optgroup:new Set(["option"]),select:new Set(["optgroup","option","hr"]),table:new Set(["caption","colgroup","tbody","tfoot","thead"]),tr:new Set(["td","th"]),colgroup:new Set(["col"]),tbody:new Set(["tr"]),thead:new Set(["tr"]),tfoot:new Set(["tr"]),script:wn,iframe:wn,option:wn,textarea:wn,style:wn,title:wn},ba={html:wn,body:new Set(["html"]),head:new Set(["html"]),td:new Set(["tr"]),colgroup:new Set(["table"]),caption:new Set(["table"]),tbody:new Set(["table"]),tfoot:new Set(["table"]),col:new Set(["colgroup"]),th:new Set(["tr"]),thead:new Set(["table"]),tr:new Set(["tbody","thead","tfoot"]),dd:new Set(["dl","div"]),dt:new Set(["dl","div"]),figcaption:new Set(["figure"]),summary:new Set(["details"]),area:new Set(["map"])},Oa={p:new Set(["address","article","aside","blockquote","center","details","dialog","dir","div","dl","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","menu","ol","p","pre","section","table","ul"]),svg:new Set(["b","blockquote","br","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","hr","i","img","li","menu","meta","ol","p","pre","ruby","s","small","span","strong","sub","sup","table","u","ul","var"])},Sa={a:new Set(["a"]),button:new Set(["button"]),dd:new Set(["dd","dt"]),dt:new Set(["dd","dt"]),form:new Set(["form"]),li:new Set(["li"]),h1:Yn,h2:Yn,h3:Yn,h4:Yn,h5:Yn,h6:Yn},hy=(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!dy(t.parent.tag,e.tag)){const n=new SyntaxError(`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);n.loc=e.loc,t.onWarn(n)}},my=[QE,...process.env.NODE_ENV!=="production"?[fy,hy]:[]],gy={cloak:YE,html:ny,text:sy,model:iy,on:ay,show:uy};function vy(e,t={}){return JE(e,ee({},ZE,t,{nodeTransforms:[py,...my,...t.nodeTransforms||[]],directiveTransforms:ee({},gy,t.directiveTransforms||{}),transformHoist:null}))}function Ey(){Cf()}process.env.NODE_ENV!=="production"&&Ey();const wa=Object.create(null);function yy(e,t){if(!Y(e))if(e.nodeType)e=e.innerHTML;else return process.env.NODE_ENV!=="production"&&_e("invalid template option: ",e),ge;const n=nd(e,t),s=wa[n];if(s)return s;if(e[0]==="#"){const c=document.querySelector(e);process.env.NODE_ENV!=="production"&&!c&&_e(`Template element not found or is empty: ${e}`),e=c?c.innerHTML:""}const i=ee({hoistStatic:!0,onError:process.env.NODE_ENV!=="production"?o:void 0,onWarn:process.env.NODE_ENV!=="production"?c=>o(c,!0):ge},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=c=>!!customElements.get(c));const{code:r}=vy(e,i);function o(c,f=!1){const u=f?c.message:`Template compilation error: ${c.message}`,a=c.loc&&od(e,c.loc.start.offset,c.loc.end.offset);_e(a?`${u}
|
|
34
|
-
${
|
|
35
|
-
|
|
23
|
+
For more details, see https://link.vuejs.org/feature-flags.`)}}const He=ad;function td(e){return sd(e)}function nd(e){return sd(e,qm)}function sd(e,t){nv();const n=Ui();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&Wl(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:s,remove:i,patchProp:r,createElement:o,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=ke,insertStaticContent:m}=e,p=(v,b,x,F=null,M=null,A=null,B=void 0,$=null,j=process.env.NODE_ENV!=="production"&&At?!1:!!b.dynamicChildren)=>{if(v===b)return;v&&!Ht(v,b)&&(F=Ze(v),Et(v,M,A,!0),v=null),b.patchFlag===-2&&(j=!1,b.dynamicChildren=null);const{type:L,ref:ee,shapeFlag:U}=b;switch(L){case ln:S(v,b,x,F);break;case Ae:N(v,b,x,F);break;case qn:v==null?E(b,x,F,B):process.env.NODE_ENV!=="production"&&g(v,b,x,B);break;case we:R(v,b,x,F,M,A,B,$,j);break;default:U&1?w(v,b,x,F,M,A,B,$,j):U&6?G(v,b,x,F,M,A,B,$,j):U&64||U&128?L.process(v,b,x,F,M,A,B,$,j,tt):process.env.NODE_ENV!=="production"&&k("Invalid VNode type:",L,`(${typeof L})`)}ee!=null&&M?Hs(ee,v&&v.ref,A,b||v,!b):ee==null&&v&&v.ref!=null&&Hs(v.ref,null,A,v,!0)},S=(v,b,x,F)=>{if(v==null)s(b.el=l(b.children),x,F);else{const M=b.el=v.el;if(b.children!==v.children)if(process.env.NODE_ENV!=="production"&&At&&b.patchFlag===-1&&"__elIndex"in v){const A=x.childNodes,B=l(b.children),$=A[b.__elIndex=v.__elIndex];s(B,x,$),i($)}else c(M,b.children)}},N=(v,b,x,F)=>{v==null?s(b.el=a(b.children||""),x,F):b.el=v.el},E=(v,b,x,F)=>{[v.el,v.anchor]=m(v.children,b,x,F,v.el,v.anchor)},g=(v,b,x,F)=>{if(b.children!==v.children){const M=d(v.anchor);y(v),[b.el,b.anchor]=m(b.children,x,M,F)}else b.el=v.el,b.anchor=v.anchor},_=({el:v,anchor:b},x,F)=>{let M;for(;v&&v!==b;)M=d(v),s(v,x,F),v=M;s(b,x,F)},y=({el:v,anchor:b})=>{let x;for(;v&&v!==b;)x=d(v),i(v),v=x;i(b)},w=(v,b,x,F,M,A,B,$,j)=>{if(b.type==="svg"?B="svg":b.type==="math"&&(B="mathml"),v==null)P(b,x,F,M,A,B,$,j);else{const L=v.el&&v.el._isVueCE?v.el:null;try{L&&L._beginPatch(),D(v,b,M,A,B,$,j)}finally{L&&L._endPatch()}}},P=(v,b,x,F,M,A,B,$)=>{let j,L;const{props:ee,shapeFlag:U,transition:X,dirs:se}=v;if(j=v.el=o(v.type,A,ee&&ee.is,ee),U&8?u(j,v.children):U&16&&O(v.children,j,null,F,M,jo(v,A),B,$),se&&Xt(v,null,F,"created"),T(j,v,v.scopeId,B,F),ee){for(const Oe in ee)Oe!=="value"&&!On(Oe)&&r(j,Oe,null,ee[Oe],A,F);"value"in ee&&r(j,"value",null,ee.value,A),(L=ee.onVnodeBeforeMount)&&Nt(L,F,v)}process.env.NODE_ENV!=="production"&&(Us(j,"__vnode",v,!0),Us(j,"__vueParentComponent",F,!0)),se&&Xt(v,null,F,"beforeMount");const pe=id(M,X);pe&&X.beforeEnter(j),s(j,b,x),((L=ee&&ee.onVnodeMounted)||pe||se)&&He(()=>{L&&Nt(L,F,v),pe&&X.enter(j),se&&Xt(v,null,F,"mounted")},M)},T=(v,b,x,F,M)=>{if(x&&h(v,x),F)for(let A=0;A<F.length;A++)h(v,F[A]);if(M){let A=M.subTree;if(process.env.NODE_ENV!=="production"&&A.patchFlag>0&&A.patchFlag&2048&&(A=_o(A.children)||A),b===A||Fr(A.type)&&(A.ssContent===b||A.ssFallback===b)){const B=M.vnode;T(v,B,B.scopeId,B.slotScopeIds,M.parent)}}},O=(v,b,x,F,M,A,B,$,j=0)=>{for(let L=j;L<v.length;L++){const ee=v[L]=$?$n(v[L]):yt(v[L]);p(null,ee,b,x,F,M,A,B,$)}},D=(v,b,x,F,M,A,B)=>{const $=b.el=v.el;process.env.NODE_ENV!=="production"&&($.__vnode=b);let{patchFlag:j,dynamicChildren:L,dirs:ee}=b;j|=v.patchFlag&16;const U=v.props||ue,X=b.props||ue;let se;if(x&&ns(x,!1),(se=X.onVnodeBeforeUpdate)&&Nt(se,x,b,v),ee&&Xt(b,v,x,"beforeUpdate"),x&&ns(x,!0),process.env.NODE_ENV!=="production"&&At&&(j=0,B=!1,L=null),(U.innerHTML&&X.innerHTML==null||U.textContent&&X.textContent==null)&&u($,""),L?(I(v.dynamicChildren,L,$,x,F,jo(b,M),A),process.env.NODE_ENV!=="production"&&Ni(v,b)):B||le(v,b,$,null,x,F,jo(b,M),A,!1),j>0){if(j&16)C($,U,X,x,M);else if(j&2&&U.class!==X.class&&r($,"class",null,X.class,M),j&4&&r($,"style",U.style,X.style,M),j&8){const pe=b.dynamicProps;for(let Oe=0;Oe<pe.length;Oe++){const Ee=pe[Oe],Ye=U[Ee],Xe=X[Ee];(Xe!==Ye||Ee==="value")&&r($,Ee,Ye,Xe,M,x)}}j&1&&v.children!==b.children&&u($,b.children)}else!B&&L==null&&C($,U,X,x,M);((se=X.onVnodeUpdated)||ee)&&He(()=>{se&&Nt(se,x,b,v),ee&&Xt(b,v,x,"updated")},F)},I=(v,b,x,F,M,A,B)=>{for(let $=0;$<b.length;$++){const j=v[$],L=b[$],ee=j.el&&(j.type===we||!Ht(j,L)||j.shapeFlag&198)?f(j.el):x;p(j,L,ee,null,F,M,A,B,!0)}},C=(v,b,x,F,M)=>{if(b!==x){if(b!==ue)for(const A in b)!On(A)&&!(A in x)&&r(v,A,b[A],null,M,F);for(const A in x){if(On(A))continue;const B=x[A],$=b[A];B!==$&&A!=="value"&&r(v,A,$,B,M,F)}"value"in x&&r(v,"value",b.value,x.value,M)}},R=(v,b,x,F,M,A,B,$,j)=>{const L=b.el=v?v.el:l(""),ee=b.anchor=v?v.anchor:l("");let{patchFlag:U,dynamicChildren:X,slotScopeIds:se}=b;process.env.NODE_ENV!=="production"&&(At||U&2048)&&(U=0,j=!1,X=null),se&&($=$?$.concat(se):se),v==null?(s(L,x,F),s(ee,x,F),O(b.children||[],x,ee,M,A,B,$,j)):U>0&&U&64&&X&&v.dynamicChildren&&v.dynamicChildren.length===X.length?(I(v.dynamicChildren,X,x,M,A,B,$),process.env.NODE_ENV!=="production"?Ni(v,b):(b.key!=null||M&&b===M.subTree)&&Ni(v,b,!0)):le(v,b,x,ee,M,A,B,$,j)},G=(v,b,x,F,M,A,B,$,j)=>{b.slotScopeIds=$,v==null?b.shapeFlag&512?M.ctx.activate(b,x,F,B,j):z(b,x,F,M,A,B,j):W(v,b,j)},z=(v,b,x,F,M,A,B)=>{const $=v.component=md(v,F,M);if(process.env.NODE_ENV!=="production"&&$.type.__hmrId&&Nm($),process.env.NODE_ENV!=="production"&&(Fs(v),gn($,"mount")),ri(v)&&($.ctx.renderer=tt),process.env.NODE_ENV!=="production"&&gn($,"init"),vd($,!1,B),process.env.NODE_ENV!=="production"&&vn($,"init"),process.env.NODE_ENV!=="production"&&At&&(v.el=null),$.asyncDep){if(M&&M.registerDep($,J,B),!v.el){const j=$.subTree=_e(Ae);N(null,j,b,x),v.placeholder=j.el}}else J($,v,b,x,M,A,B);process.env.NODE_ENV!=="production"&&(Rs(),vn($,"mount"))},W=(v,b,x)=>{const F=b.component=v.component;if(Bg(v,b,x))if(F.asyncDep&&!F.asyncResolved){process.env.NODE_ENV!=="production"&&Fs(b),H(F,b,x),process.env.NODE_ENV!=="production"&&Rs();return}else F.next=b,F.update();else b.el=v.el,F.vnode=b},J=(v,b,x,F,M,A,B)=>{const $=()=>{if(v.isMounted){let{next:U,bu:X,u:se,parent:pe,vnode:Oe}=v;{const st=rd(v);if(st){U&&(U.el=Oe.el,H(v,U,B)),st.asyncDep.then(()=>{v.isUnmounted||$()});return}}let Ee=U,Ye;process.env.NODE_ENV!=="production"&&Fs(U||v.vnode),ns(v,!1),U?(U.el=Oe.el,H(v,U,B)):U=Oe,X&&Hn(X),(Ye=U.props&&U.props.onVnodeBeforeUpdate)&&Nt(Ye,pe,U,Oe),ns(v,!0),process.env.NODE_ENV!=="production"&&gn(v,"render");const Xe=gr(v);process.env.NODE_ENV!=="production"&&vn(v,"render");const nt=v.subTree;v.subTree=Xe,process.env.NODE_ENV!=="production"&&gn(v,"patch"),p(nt,Xe,f(nt.el),Ze(nt),v,M,A),process.env.NODE_ENV!=="production"&&vn(v,"patch"),U.el=Xe.el,Ee===null&&bo(v,Xe.el),se&&He(se,M),(Ye=U.props&&U.props.onVnodeUpdated)&&He(()=>Nt(Ye,pe,U,Oe),M),process.env.NODE_ENV!=="production"&&mf(v),process.env.NODE_ENV!=="production"&&Rs()}else{let U;const{el:X,props:se}=b,{bm:pe,m:Oe,parent:Ee,root:Ye,type:Xe}=v,nt=wn(b);if(ns(v,!1),pe&&Hn(pe),!nt&&(U=se&&se.onVnodeBeforeMount)&&Nt(U,Ee,b),ns(v,!0),X&&oi){const st=()=>{process.env.NODE_ENV!=="production"&&gn(v,"render"),v.subTree=gr(v),process.env.NODE_ENV!=="production"&&vn(v,"render"),process.env.NODE_ENV!=="production"&&gn(v,"hydrate"),oi(X,v.subTree,v,M,null),process.env.NODE_ENV!=="production"&&vn(v,"hydrate")};nt&&Xe.__asyncHydrate?Xe.__asyncHydrate(X,v,st):st()}else{Ye.ce&&Ye.ce._def.shadowRoot!==!1&&Ye.ce._injectChildStyle(Xe),process.env.NODE_ENV!=="production"&&gn(v,"render");const st=v.subTree=gr(v);process.env.NODE_ENV!=="production"&&vn(v,"render"),process.env.NODE_ENV!=="production"&&gn(v,"patch"),p(null,st,x,F,v,M,A),process.env.NODE_ENV!=="production"&&vn(v,"patch"),b.el=st.el}if(Oe&&He(Oe,M),!nt&&(U=se&&se.onVnodeMounted)){const st=b;He(()=>Nt(U,Ee,st),M)}(b.shapeFlag&256||Ee&&wn(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&v.a&&He(v.a,M),v.isMounted=!0,process.env.NODE_ENV!=="production"&&il(v),b=x=F=null}};v.scope.on();const j=v.effect=new Di($);v.scope.off();const L=v.update=j.run.bind(j),ee=v.job=j.runIfDirty.bind(j);ee.i=v,ee.id=v.uid,j.scheduler=()=>ho(ee),ns(v,!0),process.env.NODE_ENV!=="production"&&(j.onTrack=v.rtc?U=>Hn(v.rtc,U):void 0,j.onTrigger=v.rtg?U=>Hn(v.rtg,U):void 0),L()},H=(v,b,x)=>{b.component=v;const F=v.vnode.props;v.vnode=b,v.next=null,Wg(v,b.props,F,x),tv(v,b.children,x),qt(),Xa(v),Gt()},le=(v,b,x,F,M,A,B,$,j=!1)=>{const L=v&&v.children,ee=v?v.shapeFlag:0,U=b.children,{patchFlag:X,shapeFlag:se}=b;if(X>0){if(X&128){Ge(L,U,x,F,M,A,B,$,j);return}else if(X&256){$e(L,U,x,F,M,A,B,$,j);return}}se&8?(ee&16&&be(L,M,A),U!==L&&u(x,U)):ee&16?se&16?Ge(L,U,x,F,M,A,B,$,j):be(L,M,A,!0):(ee&8&&u(x,""),se&16&&O(U,x,F,M,A,B,$,j))},$e=(v,b,x,F,M,A,B,$,j)=>{v=v||Ls,b=b||Ls;const L=v.length,ee=b.length,U=Math.min(L,ee);let X;for(X=0;X<U;X++){const se=b[X]=j?$n(b[X]):yt(b[X]);p(v[X],se,x,null,M,A,B,$,j)}L>ee?be(v,M,A,!0,!1,U):O(b,x,F,M,A,B,$,j,U)},Ge=(v,b,x,F,M,A,B,$,j)=>{let L=0;const ee=b.length;let U=v.length-1,X=ee-1;for(;L<=U&&L<=X;){const se=v[L],pe=b[L]=j?$n(b[L]):yt(b[L]);if(Ht(se,pe))p(se,pe,x,null,M,A,B,$,j);else break;L++}for(;L<=U&&L<=X;){const se=v[U],pe=b[X]=j?$n(b[X]):yt(b[X]);if(Ht(se,pe))p(se,pe,x,null,M,A,B,$,j);else break;U--,X--}if(L>U){if(L<=X){const se=X+1,pe=se<ee?b[se].el:F;for(;L<=X;)p(null,b[L]=j?$n(b[L]):yt(b[L]),x,pe,M,A,B,$,j),L++}}else if(L>X)for(;L<=U;)Et(v[L],M,A,!0),L++;else{const se=L,pe=L,Oe=new Map;for(L=pe;L<=X;L++){const Ke=b[L]=j?$n(b[L]):yt(b[L]);Ke.key!=null&&(process.env.NODE_ENV!=="production"&&Oe.has(Ke.key)&&k("Duplicate keys found during update:",JSON.stringify(Ke.key),"Make sure keys are unique."),Oe.set(Ke.key,L))}let Ee,Ye=0;const Xe=X-pe+1;let nt=!1,st=0;const dn=new Array(Xe);for(L=0;L<Xe;L++)dn[L]=0;for(L=se;L<=U;L++){const Ke=v[L];if(Ye>=Xe){Et(Ke,M,A,!0);continue}let Vt;if(Ke.key!=null)Vt=Oe.get(Ke.key);else for(Ee=pe;Ee<=X;Ee++)if(dn[Ee-pe]===0&&Ht(Ke,b[Ee])){Vt=Ee;break}Vt===void 0?Et(Ke,M,A,!0):(dn[Vt-pe]=L+1,Vt>=st?st=Vt:nt=!0,p(Ke,b[Vt],x,null,M,A,B,$,j),Ye++)}const Ds=nt?sv(dn):Ls;for(Ee=Ds.length-1,L=Xe-1;L>=0;L--){const Ke=pe+L,Vt=b[Ke],Qi=b[Ke+1],er=Ke+1<ee?Qi.el||od(Qi):F;dn[L]===0?p(null,Vt,x,er,M,A,B,$,j):nt&&(Ee<0||L!==Ds[Ee]?Je(Vt,x,er,2):Ee--)}}},Je=(v,b,x,F,M=null)=>{const{el:A,type:B,transition:$,children:j,shapeFlag:L}=v;if(L&6){Je(v.component.subTree,b,x,F);return}if(L&128){v.suspense.move(b,x,F);return}if(L&64){B.move(v,b,x,tt);return}if(B===we){s(A,b,x);for(let U=0;U<j.length;U++)Je(j[U],b,x,F);s(v.anchor,b,x);return}if(B===qn){_(v,b,x);return}if(F!==2&&L&1&&$)if(F===0)$.beforeEnter(A),s(A,b,x),He(()=>$.enter(A),M);else{const{leave:U,delayLeave:X,afterLeave:se}=$,pe=()=>{v.ctx.isUnmounted?i(A):s(A,b,x)},Oe=()=>{A._isLeaving&&A[_n](!0),U(A,()=>{pe(),se&&se()})};X?X(A,pe,Oe):Oe()}else s(A,b,x)},Et=(v,b,x,F=!1,M=!1)=>{const{type:A,props:B,ref:$,children:j,dynamicChildren:L,shapeFlag:ee,patchFlag:U,dirs:X,cacheIndex:se}=v;if(U===-2&&(M=!1),$!=null&&(qt(),Hs($,null,x,v,!0),Gt()),se!=null&&(b.renderCache[se]=void 0),ee&256){b.ctx.deactivate(v);return}const pe=ee&1&&X,Oe=!wn(v);let Ee;if(Oe&&(Ee=B&&B.onVnodeBeforeUnmount)&&Nt(Ee,b,v),ee&6)Z(v.component,x,F);else{if(ee&128){v.suspense.unmount(x,F);return}pe&&Xt(v,null,b,"beforeUnmount"),ee&64?v.type.remove(v,b,x,tt,F):L&&!L.hasOnce&&(A!==we||U>0&&U&64)?be(L,b,x,!1,!0):(A===we&&U&384||!M&&ee&16)&&be(j,b,x),F&&fn(v)}(Oe&&(Ee=B&&B.onVnodeUnmounted)||pe)&&He(()=>{Ee&&Nt(Ee,b,v),pe&&Xt(v,null,b,"unmounted")},x)},fn=v=>{const{type:b,el:x,anchor:F,transition:M}=v;if(b===we){process.env.NODE_ENV!=="production"&&v.patchFlag>0&&v.patchFlag&2048&&M&&!M.persisted?v.children.forEach(B=>{B.type===Ae?i(B.el):fn(B)}):V(x,F);return}if(b===qn){y(v);return}const A=()=>{i(x),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(v.shapeFlag&1&&M&&!M.persisted){const{leave:B,delayLeave:$}=M,j=()=>B(x,A);$?$(v.el,A,j):j()}else A()},V=(v,b)=>{let x;for(;v!==b;)x=d(v),i(v),v=x;i(b)},Z=(v,b,x)=>{process.env.NODE_ENV!=="production"&&v.type.__hmrId&&Sm(v);const{bum:F,scope:M,job:A,subTree:B,um:$,m:j,a:L}=v;Lr(j),Lr(L),F&&Hn(F),M.stop(),A&&(A.flags|=8,Et(B,v,b,x)),$&&He($,b),He(()=>{v.isUnmounted=!0},b),process.env.NODE_ENV!=="production"&&Tm(v)},be=(v,b,x,F=!1,M=!1,A=0)=>{for(let B=A;B<v.length;B++)Et(v[B],b,x,F,M)},Ze=v=>{if(v.shapeFlag&6)return Ze(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const b=d(v.anchor||v.el),x=b&&b[Nf];return x?d(x):b};let lt=!1;const Rt=(v,b,x)=>{let F;v==null?b._vnode&&(Et(b._vnode,null,null,!0),F=b._vnode.component):p(b._vnode||null,v,b,null,null,null,x),b._vnode=v,lt||(lt=!0,Xa(F),Tr(),lt=!1)},tt={p,um:Et,m:Je,r:fn,mt:z,mc:O,pc:le,pbc:I,n:Ze,o:e};let $t,oi;return t&&([$t,oi]=t(tt)),{render:Rt,hydrate:$t,createApp:Lg(Rt,$t)}}function jo({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ns({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function id(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ni(e,t,n=!1){const s=e.children,i=t.children;if(K(s)&&K(i))for(let r=0;r<s.length;r++){const o=s[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=$n(i[r]),l.el=o.el),!n&&l.patchFlag!==-2&&Ni(o,l)),l.type===ln&&(l.patchFlag!==-1?l.el=o.el:l.__elIndex=r+(e.type===we?1:0)),l.type===Ae&&!l.el&&(l.el=o.el),process.env.NODE_ENV!=="production"&&l.el&&(l.el.__vnode=l)}}function sv(e){const t=e.slice(),n=[0];let s,i,r,o,l;const a=e.length;for(s=0;s<a;s++){const c=e[s];if(c!==0){if(i=n[n.length-1],e[i]<c){t[s]=i,n.push(s);continue}for(r=0,o=n.length-1;r<o;)l=r+o>>1,e[n[l]]<c?r=l+1:o=l;c<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function rd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:rd(t)}function Lr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function od(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?od(t.subTree):null}const Fr=e=>e.__isSuspense;let hl=0;const iv={name:"Suspense",__isSuspense:!0,process(e,t,n,s,i,r,o,l,a,c){if(e==null)ov(t,n,s,i,r,o,l,a,c);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}lv(e,t,n,s,i,o,l,a,c)}},hydrate:av,normalize:cv},rv=iv;function Mi(e,t){const n=e.props&&e.props[t];Q(n)&&n()}function ov(e,t,n,s,i,r,o,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=ld(e,i,s,t,f,n,r,o,l,a);c(null,d.pendingBranch=e.ssContent,f,null,s,d,r,o),d.deps>0?(Mi(e,"onPending"),Mi(e,"onFallback"),c(null,e.ssFallback,t,n,s,null,r,o),Ks(d,e.ssFallback)):d.resolve(!1,!0)}function lv(e,t,n,s,i,r,o,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:m,pendingBranch:p,isInFallback:S,isHydrating:N}=f;if(p)f.pendingBranch=d,Ht(p,d)?(a(p,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0?f.resolve():S&&(N||(a(m,h,n,s,i,null,r,o,l),Ks(f,h)))):(f.pendingId=hl++,N?(f.isHydrating=!1,f.activeBranch=p):c(p,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),S?(a(null,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0?f.resolve():(a(m,h,n,s,i,null,r,o,l),Ks(f,h))):m&&Ht(m,d)?(a(m,d,n,s,i,f,r,o,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0&&f.resolve()));else if(m&&Ht(m,d))a(m,d,n,s,i,f,r,o,l),Ks(f,d);else if(Mi(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=hl++,a(null,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0)f.resolve();else{const{timeout:E,pendingId:g}=f;E>0?setTimeout(()=>{f.pendingId===g&&f.fallback(h)},E):E===0&&f.fallback(h)}}let yc=!1;function ld(e,t,n,s,i,r,o,l,a,c,u=!1){process.env.NODE_ENV!=="production"&&!yc&&(yc=!0,console[console.info?"info":"log"]("<Suspense> is an experimental feature and its API will likely change."));const{p:f,m:d,um:h,n:m,o:{parentNode:p,remove:S}}=c;let N;const E=uv(e);E&&t&&t.pendingBranch&&(N=t.pendingId,t.deps++);const g=e.props?wr(e.props.timeout):void 0;process.env.NODE_ENV!=="production"&&Kl(g,"Suspense timeout");const _=r,y={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:hl++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(w=!1,P=!1){if(process.env.NODE_ENV!=="production"){if(!w&&!y.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(y.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:T,activeBranch:O,pendingBranch:D,pendingId:I,effects:C,parentComponent:R,container:G,isInFallback:z}=y;let W=!1;y.isHydrating?y.isHydrating=!1:w||(W=O&&D.transition&&D.transition.mode==="out-in",W&&(O.transition.afterLeave=()=>{I===y.pendingId&&(d(D,G,r===_?m(O):r,0),zs(C),z&&T.ssFallback&&(T.ssFallback.el=null))}),O&&(p(O.el)===G&&(r=m(O)),h(O,R,y,!0),!W&&z&&T.ssFallback&&He(()=>T.ssFallback.el=null,y)),W||d(D,G,r,0)),Ks(y,D),y.pendingBranch=null,y.isInFallback=!1;let J=y.parent,H=!1;for(;J;){if(J.pendingBranch){J.effects.push(...C),H=!0;break}J=J.parent}!H&&!W&&zs(C),y.effects=[],E&&t&&t.pendingBranch&&N===t.pendingId&&(t.deps--,t.deps===0&&!P&&t.resolve()),Mi(T,"onResolve")},fallback(w){if(!y.pendingBranch)return;const{vnode:P,activeBranch:T,parentComponent:O,container:D,namespace:I}=y;Mi(P,"onFallback");const C=m(T),R=()=>{y.isInFallback&&(f(null,w,D,C,O,null,I,l,a),Ks(y,w))},G=w.transition&&w.transition.mode==="out-in";G&&(T.transition.afterLeave=R),y.isInFallback=!0,h(T,O,null,!0),G||R()},move(w,P,T){y.activeBranch&&d(y.activeBranch,w,P,T),y.container=w},next(){return y.activeBranch&&m(y.activeBranch)},registerDep(w,P,T){const O=!!y.pendingBranch;O&&y.deps++;const D=w.vnode.el;w.asyncDep.catch(I=>{es(I,w,0)}).then(I=>{if(w.isUnmounted||y.isUnmounted||y.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:C}=w;process.env.NODE_ENV!=="production"&&Fs(C),yl(w,I,!1),D&&(C.el=D);const R=!D&&w.subTree.el;P(w,C,p(D||w.subTree.el),D?null:m(w.subTree),y,o,T),R&&(C.placeholder=null,S(R)),bo(w,C.el),process.env.NODE_ENV!=="production"&&Rs(),O&&--y.deps===0&&y.resolve()})},unmount(w,P){y.isUnmounted=!0,y.activeBranch&&h(y.activeBranch,n,w,P),y.pendingBranch&&h(y.pendingBranch,n,w,P)}};return y}function av(e,t,n,s,i,r,o,l,a){const c=t.suspense=ld(t,s,n,e.parentNode,document.createElement("div"),null,i,r,o,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,r,o);return c.deps===0&&c.resolve(!1,!0),u}function cv(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Ec(s?n.default:n),e.ssFallback=s?Ec(n.fallback):_e(Ae)}function Ec(e){let t;if(Q(e)){const n=Es&&e._c;n&&(e._d=!1,fe()),e=e(),n&&(e._d=!0,t=dt,cd())}if(K(e)){const n=_o(e);process.env.NODE_ENV!=="production"&&!n&&e.filter(s=>s!==Ql).length>0&&k("<Suspense> slots expect a single root node."),e=n}return e=yt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ad(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):zs(e)}function Ks(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,bo(s,i))}function uv(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const we=Symbol.for("v-fgt"),ln=Symbol.for("v-txt"),Ae=Symbol.for("v-cmt"),qn=Symbol.for("v-stc"),Si=[];let dt=null;function fe(e=!1){Si.push(dt=e?null:[])}function cd(){Si.pop(),dt=Si[Si.length-1]||null}let Es=1;function Pi(e,t=!1){Es+=e,e<0&&dt&&t&&(dt.hasOnce=!0)}function ud(e){return e.dynamicChildren=Es>0?dt||Ls:null,cd(),Es>0&&dt&&dt.push(e),e}function Ce(e,t,n,s,i,r){return ud(ae(e,t,n,s,i,r,!0))}function Wt(e,t,n,s,i){return ud(_e(e,t,n,s,i,!0))}function cn(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){if(process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=pr.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}let pl;function fv(e){pl=e}const dv=(...e)=>dd(...pl?pl(e,Re):e),fd=({key:e})=>e??null,vr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?te(e)||Ie(e)||Q(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function ae(e,t=null,n=null,s=0,i=null,r=e===we?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fd(t),ref:t&&vr(t),scopeId:po,slotScopeIds:null,children:n,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:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Re};return l?(oa(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=te(n)?8:16),process.env.NODE_ENV!=="production"&&a.key!==a.key&&k("VNode created with invalid key (NaN). VNode type:",a.type),Es>0&&!o&&dt&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&dt.push(a),a}const _e=process.env.NODE_ENV!=="production"?dv:dd;function dd(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===Ql)&&(process.env.NODE_ENV!=="production"&&!e&&k(`Invalid vnode type when creating vnode: ${e}.`),e=Ae),cn(e)){const l=Ft(e,t,!0);return n&&oa(l,n),Es>0&&!r&&dt&&(l.shapeFlag&6?dt[dt.indexOf(e)]=l:dt.push(l)),l.patchFlag=-2,l}if(bd(e)&&(e=e.__vccOpts),t){t=hd(t);let{class:l,style:a}=t;l&&!te(l)&&(t.class=xe(l)),he(a)&&(vs(a)&&!K(a)&&(a=oe({},a)),t.style=qe(a))}const o=te(e)?1:Fr(e)?128:Sf(e)?64:he(e)?4:Q(e)?2:0;return process.env.NODE_ENV!=="production"&&o&4&&vs(e)&&(e=re(e),k("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
24
|
+
Component that was made reactive: `,e)),ae(e,t,n,s,i,o,r,!0)}function hd(e){return e?vs(e)||Jf(e)?oe({},e):e:null}function Ft(e,t,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:a}=e,c=t?en(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&fd(c),ref:t&&t.ref?n&&r?K(r)?r.concat(vr(t)):[r,vr(t)]:vr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&o===-1&&K(l)?l.map(pd):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ft(e.ssContent),ssFallback:e.ssFallback&&Ft(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&Tn(u,a.clone(u)),u}function pd(e){const t=Ft(e);return K(e.children)&&(t.children=e.children.map(pd)),t}function _s(e=" ",t=0){return _e(ln,null,e,t)}function hv(e,t){const n=_e(qn,null,e);return n.staticCount=t,n}function Cn(e="",t=!1){return t?(fe(),Wt(Ae,null,e)):_e(Ae,null,e)}function yt(e){return e==null||typeof e=="boolean"?_e(Ae):K(e)?_e(we,null,e.slice()):cn(e)?$n(e):_e(ln,null,String(e))}function $n(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ft(e)}function oa(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),oa(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Jf(t)?t._ctx=Re:i===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),s&64?(n=16,t=[_s(t)]):n=8);e.children=t,e.shapeFlag|=n}function en(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=xe([t.class,s.class]));else if(i==="style")t.style=qe([t.style,s.style]);else if(xn(i)){const r=t[i],o=s[i];o&&r!==o&&!(K(r)&&r.includes(o))&&(t[i]=r?[].concat(r,o):o)}else i!==""&&(t[i]=s[i])}return t}function Nt(e,t,n,s=null){Lt(e,t,7,[n,s])}const pv=Kf();let mv=0;function md(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||pv,r={uid:mv++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Rl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Yf(s,i),emitsOptions:Wf(s,i),emit:null,emitted:null,propsDefaults:ue,inheritAttrs:s.inheritAttrs,ctx:ue,data:ue,props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return process.env.NODE_ENV!=="production"?r.ctx=pg(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=Rg.bind(null,r),e.ce&&e.ce(r),r}let Fe=null;const ze=()=>Fe||Re;let Rr,ml;{const e=Ui(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Rr=t("__VUE_INSTANCE_SETTERS__",n=>Fe=n),ml=t("__VUE_SSR_SETTERS__",n=>Gs=n)}const bs=e=>{const t=Fe;return Rr(e),e.scope.on(),()=>{e.scope.off(),Rr(t)}},gl=()=>{Fe&&Fe.scope.off(),Rr(null)},gv=et("slot,component");function vl(e,{isNativeTag:t}){(gv(e)||t(e))&&k("Do not use built-in or reserved HTML elements as component id: "+e)}function gd(e){return e.vnode.shapeFlag&4}let Gs=!1;function vd(e,t=!1,n=!1){t&&ml(t);const{props:s,children:i}=e.vnode,r=gd(e);Kg(e,s,r,t),ev(e,i,n||t);const o=r?vv(e,t):void 0;return t&&ml(!1),o}function vv(e,t){const n=e.type;if(process.env.NODE_ENV!=="production"){if(n.name&&vl(n.name,e.appContext.config),n.components){const i=Object.keys(n.components);for(let r=0;r<i.length;r++)vl(i[r],e.appContext.config)}if(n.directives){const i=Object.keys(n.directives);for(let r=0;r<i.length;r++)vf(i[r])}n.compilerOptions&&la()&&k('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,bi),process.env.NODE_ENV!=="production"&&mg(e);const{setup:s}=n;if(s){qt();const i=e.setupContext=s.length>1?_d(e):null,r=bs(e),o=Os(s,e,0,[process.env.NODE_ENV!=="production"?Bt(e.props):e.props,i]),l=to(o);if(Gt(),r(),(l||e.sp)&&!wn(e)&&Zl(e),l){if(o.then(gl,gl),t)return o.then(a=>{yl(e,a,t)}).catch(a=>{es(a,e,0)});if(e.asyncDep=o,process.env.NODE_ENV!=="production"&&!e.suspense){const a=Gi(e,n);k(`Component <${a}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else yl(e,o,t)}else Ed(e,t)}function yl(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)?(process.env.NODE_ENV!=="production"&&cn(t)&&k("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Bl(t),process.env.NODE_ENV!=="production"&&gg(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&k(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Ed(e,n)}let Oi,El;function yd(e){Oi=e,El=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,hg))}}const la=()=>!Oi;function Ed(e,t,n){const s=e.type;if(!e.render){if(!t&&Oi&&!s.render){const i=s.template||sa(e).template;if(i){process.env.NODE_ENV!=="production"&&gn(e,"compile");const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,c=oe(oe({isCustomElement:r,delimiters:l},o),a);s.render=Oi(i,c),process.env.NODE_ENV!=="production"&&vn(e,"compile")}}e.render=s.render||ke,El&&El(e)}{const i=bs(e);qt();try{Vg(e)}finally{Gt(),i()}}process.env.NODE_ENV!=="production"&&!s.render&&e.render===ke&&!t&&(!Oi&&s.template?k('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):k("Component is missing template or render function: ",s))}const _c=process.env.NODE_ENV!=="production"?{get(e,t){return Mr(),Ue(e,"get",""),e[t]},set(){return k("setupContext.attrs is readonly."),!1},deleteProperty(){return k("setupContext.attrs is readonly."),!1}}:{get(e,t){return Ue(e,"get",""),e[t]}};function yv(e){return new Proxy(e.slots,{get(t,n){return Ue(e,"get","$slots"),t[n]}})}function _d(e){const t=n=>{if(process.env.NODE_ENV!=="production"&&(e.exposed&&k("expose() should be called only once per setup()."),n!=null)){let s=typeof n;s==="object"&&(K(n)?s="array":Ie(n)&&(s="ref")),s!=="object"&&k(`expose() should be passed a plain object, received ${s}.`)}e.exposed=n||{}};if(process.env.NODE_ENV!=="production"){let n,s;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,_c))},get slots(){return s||(s=yv(e))},get emit(){return(i,...r)=>e.emit(i,...r)},expose:t})}else return{attrs:new Proxy(e.attrs,_c),slots:e.slots,emit:e.emit,expose:t}}function qi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Bl(sf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ps)return ps[n](e)},has(t,n){return n in t||n in ps}})):e.proxy}const Ev=/(?:^|[-_])\w/g,_v=e=>e.replace(Ev,t=>t.toUpperCase()).replace(/[-_]/g,"");function Js(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Gi(e,t,n=!1){let s=Js(t);if(!s&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(s=i[1])}if(!s&&e){const i=r=>{for(const o in r)if(r[o]===t)return o};s=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return s?_v(s):n?"App":"Anonymous"}function bd(e){return Q(e)&&"__vccOpts"in e}const ie=(e,t)=>{const n=cm(e,t,Gs);if(process.env.NODE_ENV!=="production"){const s=ze();s&&s.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function aa(e,t,n){try{Pi(-1);const s=arguments.length;return s===2?he(t)&&!K(t)?cn(t)?_e(e,null,[t]):_e(e,t):_e(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&cn(n)&&(n=[n]),_e(e,t,n))}finally{Pi(1)}}function Nd(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},s={style:"color:#eb2f96"},i={__vue_custom_formatter:!0,header(f){if(!he(f))return null;if(f.__isVue)return["div",e,"VueInstance"];if(Ie(f)){qt();const d=f.value;return Gt(),["div",{},["span",e,u(f)],"<",l(d),">"]}else{if(on(f))return["div",{},["span",e,ot(f)?"ShallowReactive":"Reactive"],"<",l(f),`>${Pt(f)?" (readonly)":""}`];if(Pt(f))return["div",{},["span",e,ot(f)?"ShallowReadonly":"Readonly"],"<",l(f),">"]}return null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...r(f.$)]}};function r(f){const d=[];f.type.props&&f.props&&d.push(o("props",re(f.props))),f.setupState!==ue&&d.push(o("setup",f.setupState)),f.data!==ue&&d.push(o("data",re(f.data)));const h=a(f,"computed");h&&d.push(o("computed",h));const m=a(f,"inject");return m&&d.push(o("injected",m)),d.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),d}function o(f,d){return d=oe({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",s,h+": "],l(d[h],!1)])]]:["span",{}]}function l(f,d=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",n,JSON.stringify(f)]:typeof f=="boolean"?["span",s,f]:he(f)?["object",{object:d?re(f):f}]:["span",n,String(f)]}function a(f,d){const h=f.type;if(Q(h))return;const m={};for(const p in f.ctx)c(h,p,d)&&(m[p]=f.ctx[p]);return m}function c(f,d,h){const m=f[h];if(K(m)&&m.includes(d)||he(m)&&d in m||f.extends&&c(f.extends,d,h)||f.mixins&&f.mixins.some(p=>c(p,d,h)))return!0}function u(f){return ot(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(i):window.devtoolsFormatters=[i]}function bv(e,t,n,s){const i=n[s];if(i&&Sd(i,e))return i;const r=t();return r.memo=e.slice(),r.cacheIndex=s,n[s]=r}function Sd(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(gt(n[s],t[s]))return!1;return Es>0&&dt&&dt.push(e),!0}const _l="3.5.27",Pe=process.env.NODE_ENV!=="production"?k:ke,Nv=fo,Sv=(process.env.NODE_ENV,jt),Ov=(process.env.NODE_ENV,Wl),wv={createComponentInstance:md,setupComponent:vd,renderComponentRoot:gr,setCurrentRenderingInstance:Ai,isVNode:cn,normalizeVNode:yt,getComponentPublicInstance:qi,ensureValidVNode:ta,pushWarningContext:Fs,popWarningContext:Rs},Cv=wv,Dv=null,xv=null,Tv=null;let bl;const bc=typeof window<"u"&&window.trustedTypes;if(bc)try{bl=bc.createPolicy("vue",{createHTML:e=>e})}catch(e){process.env.NODE_ENV!=="production"&&Pe(`Error creating trusted types policy: ${e}`)}const Od=bl?e=>bl.createHTML(e):e=>e,Vv="http://www.w3.org/2000/svg",kv="http://www.w3.org/1998/Math/MathML",En=typeof document<"u"?document:null,Nc=En&&En.createElement("template"),wd={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?En.createElementNS(Vv,e):t==="mathml"?En.createElementNS(kv,e):n?En.createElement(e,{is:n}):En.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>En.createTextNode(e),createComment:e=>En.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>En.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Nc.innerHTML=Od(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Nc.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},An="transition",ci="animation",Zs=Symbol("_vtc"),Cd={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},Dd=oe({},Jl,Cd),Av=e=>(e.displayName="Transition",e.props=Dd,e),ca=Av((e,{slots:t})=>aa(xf,xd(e),t)),ss=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},Sc=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function xd(e){const t={};for(const C in e)C in Cd||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=Iv(i),p=m&&m[0],S=m&&m[1],{onBeforeEnter:N,onEnter:E,onEnterCancelled:g,onLeave:_,onLeaveCancelled:y,onBeforeAppear:w=N,onAppear:P=E,onAppearCancelled:T=g}=t,O=(C,R,G,z)=>{C._enterCancelled=z,Pn(C,R?u:l),Pn(C,R?c:o),G&&G()},D=(C,R)=>{C._isLeaving=!1,Pn(C,f),Pn(C,h),Pn(C,d),R&&R()},I=C=>(R,G)=>{const z=C?P:E,W=()=>O(R,C,G);ss(z,[R,W]),Oc(()=>{Pn(R,C?a:r),Zt(R,C?u:l),Sc(z)||wc(R,s,p,W)})};return oe(t,{onBeforeEnter(C){ss(N,[C]),Zt(C,r),Zt(C,o)},onBeforeAppear(C){ss(w,[C]),Zt(C,a),Zt(C,c)},onEnter:I(!1),onAppear:I(!0),onLeave(C,R){C._isLeaving=!0;const G=()=>D(C,R);Zt(C,f),C._enterCancelled?(Zt(C,d),Nl(C)):(Nl(C),Zt(C,d)),Oc(()=>{C._isLeaving&&(Pn(C,f),Zt(C,h),Sc(_)||wc(C,s,S,G))}),ss(_,[C,G])},onEnterCancelled(C){O(C,!1,void 0,!0),ss(g,[C])},onAppearCancelled(C){O(C,!0,void 0,!0),ss(T,[C])},onLeaveCancelled(C){D(C),ss(y,[C])}})}function Iv(e){if(e==null)return null;if(he(e))return[Ho(e.enter),Ho(e.leave)];{const t=Ho(e);return[t,t]}}function Ho(e){const t=wr(e);return process.env.NODE_ENV!=="production"&&Kl(t,"<transition> explicit duration"),t}function Zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Zs]||(e[Zs]=new Set)).add(t)}function Pn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Zs];n&&(n.delete(t),n.size||(e[Zs]=void 0))}function Oc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mv=0;function wc(e,t,n,s){const i=e._endId=++Mv,r=()=>{i===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:l,propCount:a}=Td(e,t);if(!o)return s();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,d),r()},d=h=>{h.target===e&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},l+1),e.addEventListener(c,d)}function Td(e,t){const n=window.getComputedStyle(e),s=m=>(n[m]||"").split(", "),i=s(`${An}Delay`),r=s(`${An}Duration`),o=Cc(i,r),l=s(`${ci}Delay`),a=s(`${ci}Duration`),c=Cc(l,a);let u=null,f=0,d=0;t===An?o>0&&(u=An,f=o,d=r.length):t===ci?c>0&&(u=ci,f=c,d=a.length):(f=Math.max(o,c),u=f>0?o>c?An:ci:null,d=u?u===An?r.length:a.length:0);const h=u===An&&/\b(?:transform|all)(?:,|$)/.test(s(`${An}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Cc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Dc(n)+Dc(e[s])))}function Dc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Nl(e){return(e?e.ownerDocument:document).body.offsetHeight}function Pv(e,t,n){const s=e[Zs];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $r=Symbol("_vod"),Vd=Symbol("_vsh"),Gn={name:"show",beforeMount(e,{value:t},{transition:n}){e[$r]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ui(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),ui(e,!0),s.enter(e)):s.leave(e,()=>{ui(e,!1)}):ui(e,t))},beforeUnmount(e,{value:t}){ui(e,t)}};function ui(e,t){e.style.display=t?e[$r]:"none",e[Vd]=!t}function Lv(){Gn.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const kd=Symbol(process.env.NODE_ENV!=="production"?"CSS_VAR_TEXT":"");function Fv(e){const t=ze();if(!t){process.env.NODE_ENV!=="production"&&Pe("useCssVars is called without current active component instance.");return}const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>jr(r,i))};process.env.NODE_ENV!=="production"&&(t.getCssVars=()=>e(t.proxy));const s=()=>{const i=e(t.proxy);t.ce?jr(t.ce,i):Sl(t.subTree,i),n(i)};Xl(()=>{zs(s)}),un(()=>{ft(s,ke,{flush:"post"});const i=new MutationObserver(s);i.observe(t.subTree.el.parentNode,{childList:!0}),yo(()=>i.disconnect())})}function Sl(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Sl(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)jr(e.el,t);else if(e.type===we)e.children.forEach(n=>Sl(n,t));else if(e.type===qn){let{el:n,anchor:s}=e;for(;n&&(jr(n,t),n!==s);)n=n.nextSibling}}function jr(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const i in t){const r=Ru(t[i]);n.setProperty(`--${i}`,r),s+=`--${i}: ${r};`}n[kd]=s}}const Rv=/(?:^|;)\s*display\s*:/;function $v(e,t,n){const s=e.style,i=te(n);let r=!1;if(n&&!i){if(t)if(te(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&yr(s,l,"")}else for(const o in t)n[o]==null&&yr(s,o,"");for(const o in n)o==="display"&&(r=!0),yr(s,o,n[o])}else if(i){if(t!==n){const o=s[kd];o&&(n+=";"+o),s.cssText=n,r=Rv.test(n)}}else t&&e.removeAttribute("style");$r in e&&(e[$r]=r?s.display:"",e[Vd]&&(s.display="none"))}const jv=/[^\\];\s*$/,xc=/\s*!important$/;function yr(e,t,n){if(K(n))n.forEach(s=>yr(e,t,s));else if(n==null&&(n=""),process.env.NODE_ENV!=="production"&&jv.test(n)&&Pe(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const s=Hv(e,t);xc.test(n)?e.setProperty(ut(s),n.replace(xc,""),"important"):e[s]=n}}const Tc=["Webkit","Moz","ms"],Bo={};function Hv(e,t){const n=Bo[t];if(n)return n;let s=De(t);if(s!=="filter"&&s in e)return Bo[t]=s;s=an(s);for(let i=0;i<Tc.length;i++){const r=Tc[i]+s;if(r in e)return Bo[t]=r}return t}const Vc="http://www.w3.org/1999/xlink";function kc(e,t,n,s,i,r=Cp(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Vc,t.slice(6,t.length)):e.setAttributeNS(Vc,t,n):n==null||r&&!Fl(n)?e.removeAttribute(t):e.setAttribute(t,r?"":wt(n)?String(n):n)}function Ac(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Od(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Fl(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch(l){process.env.NODE_ENV!=="production"&&!o&&Pe(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${n} is invalid.`,l)}o&&e.removeAttribute(i||t)}function Sn(e,t,n,s){e.addEventListener(t,n,s)}function Bv(e,t,n,s){e.removeEventListener(t,n,s)}const Ic=Symbol("_vei");function Kv(e,t,n,s,i=null){const r=e[Ic]||(e[Ic]={}),o=r[t];if(s&&o)o.value=process.env.NODE_ENV!=="production"?Pc(s,t):s;else{const[l,a]=Uv(t);if(s){const c=r[t]=qv(process.env.NODE_ENV!=="production"?Pc(s,t):s,i);Sn(e,l,c,a)}else o&&(Bv(e,l,o,a),r[t]=void 0)}}const Mc=/(?:Once|Passive|Capture)$/;function Uv(e){let t;if(Mc.test(e)){t={};let s;for(;s=e.match(Mc);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ut(e.slice(2)),t]}let Ko=0;const Wv=Promise.resolve(),zv=()=>Ko||(Wv.then(()=>Ko=0),Ko=Date.now());function qv(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Lt(Gv(s,n.value),t,5,[s])};return n.value=e,n.attached=zv(),n}function Pc(e,t){return Q(e)||K(e)?e:(Pe(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
25
|
+
Expected function or array of functions, received type ${typeof e}.`),ke)}function Gv(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Lc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ad=(e,t,n,s,i,r)=>{const o=i==="svg";t==="class"?Pv(e,s,o):t==="style"?$v(e,n,s):xn(t)?Or(t)||Kv(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jv(e,t,s,o))?(Ac(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&kc(e,t,s,o,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!te(s))?Ac(e,De(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),kc(e,t,s,o))};function Jv(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Lc(t)&&Q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Lc(t)&&te(n)?!1:t in e}const Fc={};function No(e,t,n){let s=pt(e,t);no(s)&&(s=oe({},s,t));class i extends So{constructor(o){super(s,o,n)}}return i.def=s,i}const Zv=((e,t)=>No(e,t,Ud)),Yv=typeof HTMLElement<"u"?HTMLElement:class{};class So extends Yv{constructor(t,n={},s=Br){super(),this._def=t,this._props=n,this._createApp=s,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&s!==Br?this._root=this.shadowRoot:(process.env.NODE_ENV!=="production"&&this.shadowRoot&&Pe("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow(oe({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof So){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Xn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(s,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=s;let l;if(r&&!K(r))for(const a in r){const c=r[a];(c===Number||c&&c.type===Number)&&(a in this._props&&(this._props[a]=wr(this._props[a])),(l||(l=Object.create(null)))[De(a)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot?this._applyStyles(o):process.env.NODE_ENV!=="production"&&o&&Pe("Custom element style injection is not supported when using shadowRoot: false"),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,t(this._def=s,!0)}):t(this._def)}_mount(t){process.env.NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)ve(this,s)?process.env.NODE_ENV!=="production"&&Pe(`Exposed property "${s}" already exists on custom element.`):Object.defineProperty(this,s,{get:()=>Y(n[s])})}_resolveProps(t){const{props:n}=t,s=K(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i]);for(const i of s.map(De))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):Fc;const i=De(t);n&&this._numberProps&&this._numberProps[i]&&(s=wr(s)),this._setProp(i,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,i=!1){if(n!==this._props[t]&&(this._dirty=!0,n===Fc?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),s)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),n===!0?this.setAttribute(ut(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ut(t),n+""):n||this.removeAttribute(ut(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Kd(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=_e(this._def,oe(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0,process.env.NODE_ENV!=="production"&&(s.ceReload=r=>{this._styles&&(this._styles.forEach(o=>this._root.removeChild(o)),this._styles.length=0),this._applyStyles(r),this._instance=null,this._update()});const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,no(o[0])?oe({detail:o},o[0]):{detail:o}))};s.emit=(r,...o)=>{i(r,o),ut(r)!==r&&i(ut(r),o)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce;for(let i=t.length-1;i>=0;i--){const r=document.createElement("style");if(s&&r.setAttribute("nonce",s),r.textContent=t[i],this.shadowRoot.prepend(r),process.env.NODE_ENV!=="production")if(n){if(n.__hmrId){this._childStyles||(this._childStyles=new Map);let o=this._childStyles.get(n.__hmrId);o||this._childStyles.set(n.__hmrId,o=[]),o.push(r)}}else(this._styles||(this._styles=[])).push(r)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const s=n.nodeType===1&&n.getAttribute("slot")||"default";(t[s]||(t[s]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let s=0;s<t.length;s++){const i=t[s],r=i.getAttribute("name")||"default",o=this._slots[r],l=i.parentNode;if(o)for(const a of o){if(n&&a.nodeType===1){const c=n+"-s",u=document.createTreeWalker(a,1);a.setAttribute(c,"");let f;for(;f=u.nextNode();)f.setAttribute(c,"")}l.insertBefore(a,i)}else for(;i.firstChild;)l.insertBefore(i.firstChild,i);l.removeChild(i)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const s of t){const i=s.querySelectorAll("slot");for(let r=0;r<i.length;r++)n.add(i[r])}return Array.from(n)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){if(process.env.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const n=this._childStyles.get(t.__hmrId);n&&(n.forEach(s=>this._root.removeChild(s)),n.length=0)}}}function Ol(e){const t=ze(),n=t&&t.ce;return n||(process.env.NODE_ENV!=="production"&&Pe(t?`${e||"useHost"} can only be used in components defined via defineCustomElement.`:`${e||"useHost"} called without an active component instance.`),null)}function Xv(){const e=process.env.NODE_ENV!=="production"?Ol("useShadowRoot"):Ol();return e&&e.shadowRoot}function Qv(e="$style"){{const t=ze();if(!t)return process.env.NODE_ENV!=="production"&&Pe("useCssModule must be called inside setup()"),ue;const n=t.type.__cssModules;if(!n)return process.env.NODE_ENV!=="production"&&Pe("Current instance does not have CSS modules injected."),ue;const s=n[e];return s||(process.env.NODE_ENV!=="production"&&Pe(`Current instance does not have CSS module named "${e}".`),ue)}}const Id=new WeakMap,Md=new WeakMap,Hr=Symbol("_moveCb"),Rc=Symbol("_enterCb"),ey=e=>(delete e.props.mode,e),ty=ey({name:"TransitionGroup",props:oe({},Dd,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ze(),s=Gl();let i,r;return vo(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!oy(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(sy),i.forEach(iy);const l=i.filter(ry);Nl(n.vnode.el),l.forEach(a=>{const c=a.el,u=c.style;Zt(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Hr]=d=>{d&&d.target!==c||(!d||d.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[Hr]=null,Pn(c,o))};c.addEventListener("transitionend",f)}),i=[]}),()=>{const o=re(e),l=xd(o);let a=o.tag||we;if(i=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(i.push(u),Tn(u,qs(u,l,s,n)),Id.set(u,{left:u.el.offsetLeft,top:u.el.offsetTop}))}r=t.default?mo(t.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null?Tn(u,qs(u,l,s,n)):process.env.NODE_ENV!=="production"&&u.type!==ln&&Pe("<TransitionGroup> children must be keyed.")}return _e(a,null,r)}}}),ny=ty;function sy(e){const t=e.el;t[Hr]&&t[Hr](),t[Rc]&&t[Rc]()}function iy(e){Md.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function ry(e){const t=Id.get(e),n=Md.get(e),s=t.left-n.left,i=t.top-n.top;if(s||i){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${i}px)`,r.transitionDuration="0s",e}}function oy(e,t,n){const s=e.cloneNode(),i=e[Zs];i&&i.forEach(l=>{l.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=Td(s);return r.removeChild(s),o}const Qn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>Hn(t,n):t};function ly(e){e.target.composing=!0}function $c(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Mt=Symbol("_assign");function jc(e,t,n){return t&&(e=e.trim()),n&&(e=ro(e)),e}const Li={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[Mt]=Qn(i);const r=s||i.props&&i.props.type==="number";Sn(e,t?"change":"input",o=>{o.target.composing||e[Mt](jc(e.value,n,r))}),(n||r)&&Sn(e,"change",()=>{e.value=jc(e.value,n,r)}),t||(Sn(e,"compositionstart",ly),Sn(e,"compositionend",$c),Sn(e,"change",$c))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(e[Mt]=Qn(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?ro(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===a)||(e.value=a))}},ua={deep:!0,created(e,t,n){e[Mt]=Qn(n),Sn(e,"change",()=>{const s=e._modelValue,i=Ys(e),r=e.checked,o=e[Mt];if(K(s)){const l=oo(s,i),a=l!==-1;if(r&&!a)o(s.concat(i));else if(!r&&a){const c=[...s];c.splice(l,1),o(c)}}else if(Ss(s)){const l=new Set(s);r?l.add(i):l.delete(i),o(l)}else o(Ld(e,r))})},mounted:Hc,beforeUpdate(e,t,n){e[Mt]=Qn(n),Hc(e,t,n)}};function Hc(e,{value:t,oldValue:n},s){e._modelValue=t;let i;if(K(t))i=oo(t,s.props.value)>-1;else if(Ss(t))i=t.has(s.props.value);else{if(t===n)return;i=Yn(t,Ld(e,!0))}e.checked!==i&&(e.checked=i)}const fa={created(e,{value:t},n){e.checked=Yn(t,n.props.value),e[Mt]=Qn(n),Sn(e,"change",()=>{e[Mt](Ys(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Mt]=Qn(s),t!==n&&(e.checked=Yn(t,s.props.value))}},Pd={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Ss(t);Sn(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?ro(Ys(o)):Ys(o));e[Mt](e.multiple?i?new Set(r):r:r[0]),e._assigning=!0,Xn(()=>{e._assigning=!1})}),e[Mt]=Qn(s)},mounted(e,{value:t}){Bc(e,t)},beforeUpdate(e,t,n){e[Mt]=Qn(n)},updated(e,{value:t}){e._assigning||Bc(e,t)}};function Bc(e,t){const n=e.multiple,s=K(t);if(n&&!s&&!Ss(t)){process.env.NODE_ENV!=="production"&&Pe(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(t).slice(8,-1)}.`);return}for(let i=0,r=e.options.length;i<r;i++){const o=e.options[i],l=Ys(o);if(n)if(s){const a=typeof l;a==="string"||a==="number"?o.selected=t.some(c=>String(c)===String(l)):o.selected=oo(t,l)>-1}else o.selected=t.has(l);else if(Yn(Ys(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function Ys(e){return"_value"in e?e._value:e.value}function Ld(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Fd={created(e,t,n){ur(e,t,n,null,"created")},mounted(e,t,n){ur(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){ur(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){ur(e,t,n,s,"updated")}};function Rd(e,t){switch(e){case"SELECT":return Pd;case"TEXTAREA":return Li;default:switch(t){case"checkbox":return ua;case"radio":return fa;default:return Li}}}function ur(e,t,n,s,i){const o=Rd(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,s)}function ay(){Li.getSSRProps=({value:e})=>({value:e}),fa.getSSRProps=({value:e},t)=>{if(t.props&&Yn(t.props.value,e))return{checked:!0}},ua.getSSRProps=({value:e},t)=>{if(K(e)){if(t.props&&oo(e,t.props.value)>-1)return{checked:!0}}else if(Ss(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Fd.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Rd(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const cy=["ctrl","shift","alt","meta"],uy={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,t)=>cy.some(n=>e[`${n}Key`]&&!t.includes(n))},$d=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((i,...r)=>{for(let o=0;o<t.length;o++){const l=uy[t[o]];if(l&&l(i,t))return}return e(i,...r)}))},fy={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},dy=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(i=>{if(!("key"in i))return;const r=ut(i.key);if(t.some(o=>o===r||fy[o]===r))return e(i)}))},jd=oe({patchProp:Ad},wd);let wi,Kc=!1;function Hd(){return wi||(wi=td(jd))}function Bd(){return wi=Kc?wi:nd(jd),Kc=!0,wi}const Kd=((...e)=>{Hd().render(...e)}),hy=((...e)=>{Bd().hydrate(...e)}),Br=((...e)=>{const t=Hd().createApp(...e);process.env.NODE_ENV!=="production"&&(zd(t),qd(t));const{mount:n}=t;return t.mount=s=>{const i=Gd(s);if(!i)return;const r=t._component;!Q(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Wd(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t}),Ud=((...e)=>{const t=Bd().createApp(...e);process.env.NODE_ENV!=="production"&&(zd(t),qd(t));const{mount:n}=t;return t.mount=s=>{const i=Gd(s);if(i)return n(i,!0,Wd(i))},t});function Wd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function zd(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>Au(t)||Iu(t)||Mu(t),writable:!1})}function qd(e){if(la()){const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){Pe("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,s='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return Pe(s),n},set(){Pe(s)}})}}function Gd(e){if(te(e)){const t=document.querySelector(e);return process.env.NODE_ENV!=="production"&&!t&&Pe(`Failed to mount app: mount target selector "${e}" returned null.`),t}return process.env.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&Pe('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}let Uc=!1;const py=()=>{Uc||(Uc=!0,ay(),Lv())},my=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:xf,BaseTransitionPropsValidators:Jl,Comment:Ae,DeprecationTypes:Tv,EffectScope:Rl,ErrorCodes:ym,ErrorTypeStrings:Nv,Fragment:we,KeepAlive:lg,ReactiveEffect:Di,Static:qn,Suspense:rv,Teleport:Hm,Text:ln,TrackOpTypes:um,Transition:ca,TransitionGroup:ny,TriggerOpTypes:fm,VueElement:So,assertNumber:Kl,callWithAsyncErrorHandling:Lt,callWithErrorHandling:Os,camelize:De,capitalize:an,cloneVNode:Ft,compatUtils:xv,computed:ie,createApp:Br,createBlock:Wt,createCommentVNode:Cn,createElementBlock:Ce,createElementVNode:ae,createHydrationRenderer:nd,createPropsRestProxy:Dg,createRenderer:td,createSSRApp:Ud,createSlots:dg,createStaticVNode:hv,createTextVNode:_s,createVNode:_e,customRef:of,defineAsyncComponent:rg,defineComponent:pt,defineCustomElement:No,defineEmits:yg,defineExpose:Eg,defineModel:Ng,defineOptions:_g,defineProps:vg,defineSSRCustomElement:Zv,defineSlots:bg,devtools:Sv,effect:Pp,effectScope:Ip,getCurrentInstance:ze,getCurrentScope:$u,getCurrentWatcher:dm,getTransitionRawChildren:mo,guardReactiveProps:hd,h:aa,handleError:es,hasInjectionContext:Lm,hydrate:hy,hydrateOnIdle:Qm,hydrateOnInteraction:sg,hydrateOnMediaQuery:ng,hydrateOnVisible:tg,initCustomFormatter:Nd,initDirectivesForSSR:py,inject:js,isMemoSame:Sd,isProxy:vs,isReactive:on,isReadonly:Pt,isRef:Ie,isRuntimeOnly:la,isShallow:ot,isVNode:cn,markRaw:sf,mergeDefaults:Hf,mergeModels:Cg,mergeProps:en,nextTick:Xn,nodeOps:wd,normalizeClass:xe,normalizeProps:_p,normalizeStyle:qe,onActivated:Af,onBeforeMount:Yl,onBeforeUnmount:ws,onBeforeUpdate:Xl,onDeactivated:If,onErrorCaptured:Rf,onMounted:un,onRenderTracked:Ff,onRenderTriggered:Lf,onScopeDispose:ju,onServerPrefetch:Pf,onUnmounted:yo,onUpdated:vo,onWatcherCleanup:cf,openBlock:fe,patchProp:Ad,popScopeId:Mm,provide:ql,proxyRefs:Bl,pushScopeId:Im,queuePostFlushCb:zs,reactive:ii,readonly:Vi,ref:ne,registerRuntimeCompiler:yd,render:Kd,renderList:hs,renderSlot:Bn,resolveComponent:ug,resolveDirective:fg,resolveDynamicComponent:$f,resolveFilter:Dv,resolveTransitionHooks:qs,setBlockTracking:Pi,setDevtoolsHook:Ov,setTransitionHooks:Tn,shallowReactive:nf,shallowReadonly:Bt,shallowRef:Un,ssrContextKey:yf,ssrUtils:Cv,stop:Lp,toDisplayString:sn,toHandlerKey:Qt,toHandlers:Bs,toRaw:re,toRef:lm,toRefs:lf,toValue:nm,transformVNodeArgs:fv,triggerRef:nl,unref:Y,useAttrs:wg,useCssModule:Qv,useCssVars:Fv,useHost:Ol,useId:Km,useModel:Fg,useSSRContext:Ef,useShadowRoot:Xv,useSlots:Og,useTemplateRef:Um,useTransitionState:Gl,vModelCheckbox:ua,vModelDynamic:Fd,vModelRadio:fa,vModelSelect:Pd,vModelText:Li,vShow:Gn,version:_l,warn:Pe,watch:ft,watchEffect:Fm,watchPostEffect:Rm,watchSyncEffect:_f,withAsyncContext:xg,withCtx:rn,withDefaults:Sg,withDirectives:zn,withKeys:dy,withMemo:bv,withModifiers:$d,withScopeId:Pm},Symbol.toStringTag,{value:"Module"}));const Fi=Symbol(process.env.NODE_ENV!=="production"?"Fragment":""),Ci=Symbol(process.env.NODE_ENV!=="production"?"Teleport":""),da=Symbol(process.env.NODE_ENV!=="production"?"Suspense":""),Kr=Symbol(process.env.NODE_ENV!=="production"?"KeepAlive":""),Jd=Symbol(process.env.NODE_ENV!=="production"?"BaseTransition":""),Ns=Symbol(process.env.NODE_ENV!=="production"?"openBlock":""),Zd=Symbol(process.env.NODE_ENV!=="production"?"createBlock":""),Yd=Symbol(process.env.NODE_ENV!=="production"?"createElementBlock":""),ha=Symbol(process.env.NODE_ENV!=="production"?"createVNode":""),pa=Symbol(process.env.NODE_ENV!=="production"?"createElementVNode":""),Ji=Symbol(process.env.NODE_ENV!=="production"?"createCommentVNode":""),ma=Symbol(process.env.NODE_ENV!=="production"?"createTextVNode":""),Xd=Symbol(process.env.NODE_ENV!=="production"?"createStaticVNode":""),ga=Symbol(process.env.NODE_ENV!=="production"?"resolveComponent":""),va=Symbol(process.env.NODE_ENV!=="production"?"resolveDynamicComponent":""),ya=Symbol(process.env.NODE_ENV!=="production"?"resolveDirective":""),Ea=Symbol(process.env.NODE_ENV!=="production"?"resolveFilter":""),_a=Symbol(process.env.NODE_ENV!=="production"?"withDirectives":""),ba=Symbol(process.env.NODE_ENV!=="production"?"renderList":""),Qd=Symbol(process.env.NODE_ENV!=="production"?"renderSlot":""),eh=Symbol(process.env.NODE_ENV!=="production"?"createSlots":""),Oo=Symbol(process.env.NODE_ENV!=="production"?"toDisplayString":""),Ur=Symbol(process.env.NODE_ENV!=="production"?"mergeProps":""),Na=Symbol(process.env.NODE_ENV!=="production"?"normalizeClass":""),Sa=Symbol(process.env.NODE_ENV!=="production"?"normalizeStyle":""),Ri=Symbol(process.env.NODE_ENV!=="production"?"normalizeProps":""),Zi=Symbol(process.env.NODE_ENV!=="production"?"guardReactiveProps":""),Oa=Symbol(process.env.NODE_ENV!=="production"?"toHandlers":""),wl=Symbol(process.env.NODE_ENV!=="production"?"camelize":""),gy=Symbol(process.env.NODE_ENV!=="production"?"capitalize":""),Cl=Symbol(process.env.NODE_ENV!=="production"?"toHandlerKey":""),Wr=Symbol(process.env.NODE_ENV!=="production"?"setBlockTracking":""),vy=Symbol(process.env.NODE_ENV!=="production"?"pushScopeId":""),yy=Symbol(process.env.NODE_ENV!=="production"?"popScopeId":""),wa=Symbol(process.env.NODE_ENV!=="production"?"withCtx":""),Ey=Symbol(process.env.NODE_ENV!=="production"?"unref":""),_y=Symbol(process.env.NODE_ENV!=="production"?"isRef":""),Ca=Symbol(process.env.NODE_ENV!=="production"?"withMemo":""),th=Symbol(process.env.NODE_ENV!=="production"?"isMemoSame":""),Xs={[Fi]:"Fragment",[Ci]:"Teleport",[da]:"Suspense",[Kr]:"KeepAlive",[Jd]:"BaseTransition",[Ns]:"openBlock",[Zd]:"createBlock",[Yd]:"createElementBlock",[ha]:"createVNode",[pa]:"createElementVNode",[Ji]:"createCommentVNode",[ma]:"createTextVNode",[Xd]:"createStaticVNode",[ga]:"resolveComponent",[va]:"resolveDynamicComponent",[ya]:"resolveDirective",[Ea]:"resolveFilter",[_a]:"withDirectives",[ba]:"renderList",[Qd]:"renderSlot",[eh]:"createSlots",[Oo]:"toDisplayString",[Ur]:"mergeProps",[Na]:"normalizeClass",[Sa]:"normalizeStyle",[Ri]:"normalizeProps",[Zi]:"guardReactiveProps",[Oa]:"toHandlers",[wl]:"camelize",[gy]:"capitalize",[Cl]:"toHandlerKey",[Wr]:"setBlockTracking",[vy]:"pushScopeId",[yy]:"popScopeId",[wa]:"withCtx",[Ey]:"unref",[_y]:"isRef",[Ca]:"withMemo",[th]:"isMemoSame"};function by(e){Object.getOwnPropertySymbols(e).forEach(t=>{Xs[t]=e[t]})}const Tt={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Ny(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Tt}}function $i(e,t,n,s,i,r,o,l=!1,a=!1,c=!1,u=Tt){return e&&(l?(e.helper(Ns),e.helper(ti(e.inSSR,c))):e.helper(ei(e.inSSR,c)),o&&e.helper(_a)),{type:13,tag:t,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:l,disableTracking:a,isComponent:c,loc:u}}function gs(e,t=Tt){return{type:17,loc:t,elements:e}}function It(e,t=Tt){return{type:15,loc:t,properties:e}}function Be(e,t){return{type:16,loc:Tt,key:te(e)?ce(e,!0):e,value:t}}function ce(e,t=!1,n=Tt,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function zt(e,t=Tt){return{type:8,loc:t,children:e}}function We(e,t=[],n=Tt){return{type:14,loc:n,callee:e,arguments:t}}function Qs(e,t=void 0,n=!1,s=!1,i=Tt){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:i}}function Dl(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:Tt}}function Sy(e,t,n=!1,s=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:Tt}}function Oy(e){return{type:21,body:e,loc:Tt}}function ei(e,t){return e||t?ha:pa}function ti(e,t){return e||t?Zd:Yd}function Da(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(ei(s,e.isComponent)),t(Ns),t(ti(s,e.isComponent)))}const Wc=new Uint8Array([123,123]),zc=new Uint8Array([125,125]);function qc(e){return e>=97&&e<=122||e>=65&&e<=90}function Ct(e){return e===32||e===10||e===9||e===12||e===13}function In(e){return e===47||e===62||Ct(e)}function zr(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const it={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class wy{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Wc,this.delimiterClose=zc,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Wc,this.delimiterClose=zc}getPos(t){let n=1,s=t+1;const i=this.newlines.length;let r=-1;if(i>100){let o=-1,l=i;for(;o+1<l;){const a=o+l>>>1;this.newlines[a]<t?o=a:l=a}r=o}else for(let o=i-1;o>=0;o--)if(t>this.newlines[o]){r=o;break}return r>=0&&(n=r+2,s=t-this.newlines[r]),{column:s,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===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(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?In(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Ct(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const s=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=s}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===it.TitleEnd||this.currentSequence===it.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===it.Cdata[this.sequenceIndex]?++this.sequenceIndex===it.Cdata.length&&(this.state=28,this.currentSequence=it.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===it.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):qc(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){In(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(In(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(zr("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){Ct(t)||(t===62?(process.env.NODE_ENV!=="production"&&this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=qc(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||Ct(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?(this.state=7,process.env.NODE_ENV!=="production"&&this.peek()!==62&&this.cbs.onerr(22,this.index)):t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Ct(t)||(process.env.NODE_ENV!=="production"&&t===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(t))}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Ct(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){t===61||In(t)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):process.env.NODE_ENV!=="production"&&(t===34||t===39||t===60)&&this.cbs.onerr(17,this.index)}stateInDirName(t){t===61||In(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||In(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||In(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t),process.env.NODE_ENV!=="production"&&this.cbs.onerr(27,this.index))}stateInDirModifier(t){t===61||In(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):Ct(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):Ct(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){Ct(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(process.env.NODE_ENV!=="production"&&t===34||t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=it.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===it.ScriptEnd[3]?this.startSpecial(it.ScriptEnd,4):t===it.StyleEnd[3]?this.startSpecial(it.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===it.TitleEnd[3]?this.startSpecial(it.TitleEnd,4):t===it.TextareaEnd[3]?this.startSpecial(it.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===it.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):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,t))}emitCodePoint(t,n){}}const Cy={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function xl(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function Jn(e,t){const n=xl("MODE",t),s=xl(e,t);return n===3?s===!0:s!==!1}function ni(e,t,n,...s){const i=Jn(e,t);return process.env.NODE_ENV!=="production"&&i&&qr(e,t,n,...s),i}function qr(e,t,n,...s){if(xl(e,t)==="suppress-warning")return;const{message:r,link:o}=Cy[e],l=`(deprecation ${e}) ${typeof r=="function"?r(...s):r}${o?`
|
|
26
|
+
Details: ${o}`:""}`,a=new SyntaxError(l);a.code=e,n&&(a.loc=n),t.onWarn(a)}function xa(e){throw e}function nh(e){process.env.NODE_ENV!=="production"&&console.warn(`[Vue warn] ${e.message}`)}function Se(e,t,n,s){const i=process.env.NODE_ENV!=="production"?(n||Dy)[e]+(s||""):`https://vuejs.org/error-reference/#compiler-${e}`,r=new SyntaxError(String(i));return r.code=e,r.loc=t,r}const Dy={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",53:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
27
|
+
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""},Ot=e=>e.type===4&&e.isStatic;function sh(e){switch(e){case"Teleport":case"teleport":return Ci;case"Suspense":case"suspense":return da;case"KeepAlive":case"keep-alive":return Kr;case"BaseTransition":case"base-transition":return Jd}}const xy=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Ta=e=>!xy.test(e),ih=/[A-Za-z_$\xA0-\uFFFF]/,Ty=/[\.\?\w$\xA0-\uFFFF]/,Vy=/\s+[.[]\s*|\s*[.[]\s+/g,rh=e=>e.type===4?e.content:e.loc.source,ky=e=>{const t=rh(e).trim().replace(Vy,l=>l.trim());let n=0,s=[],i=0,r=0,o=null;for(let l=0;l<t.length;l++){const a=t.charAt(l);switch(n){case 0:if(a==="[")s.push(n),n=1,i++;else if(a==="(")s.push(n),n=2,r++;else if(!(l===0?ih:Ty).test(a))return!1;break;case 1:a==="'"||a==='"'||a==="`"?(s.push(n),n=3,o=a):a==="["?i++:a==="]"&&(--i||(n=s.pop()));break;case 2:if(a==="'"||a==='"'||a==="`")s.push(n),n=3,o=a;else if(a==="(")r++;else if(a===")"){if(l===t.length-1)return!1;--r||(n=s.pop())}break;case 3:a===o&&(n=s.pop(),o=null);break}}return!i&&!r},oh=ky,Ay=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Iy=e=>Ay.test(rh(e)),My=Iy;function Gc(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function St(e,t,n=!1){for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&(n||i.exp)&&(te(t)?i.name===t:t.test(i.name)))return i}}function ji(e,t,n=!1,s=!1){for(let i=0;i<e.props.length;i++){const r=e.props[i];if(r.type===6){if(n)continue;if(r.name===t&&(r.value||s))return r}else if(r.name==="bind"&&(r.exp||s)&&Wn(r.arg,t))return r}}function Wn(e,t){return!!(e&&Ot(e)&&e.content===t)}function Py(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Uo(e){return e.type===5||e.type===2}function Jc(e){return e.type===7&&e.name==="pre"}function Ly(e){return e.type===7&&e.name==="slot"}function Gr(e){return e.type===1&&e.tagType===3}function Jr(e){return e.type===1&&e.tagType===2}const Fy=new Set([Ri,Zi]);function lh(e,t=[]){if(e&&!te(e)&&e.type===14){const n=e.callee;if(!te(n)&&Fy.has(n))return lh(e.arguments[0],t.concat(e))}return[e,t]}function Zr(e,t,n){let s,i=e.type===13?e.props:e.arguments[2],r=[],o;if(i&&!te(i)&&i.type===14){const l=lh(i);i=l[0],r=l[1],o=r[r.length-1]}if(i==null||te(i))s=It([t]);else if(i.type===14){const l=i.arguments[0];!te(l)&&l.type===15?Zc(t,l)||l.properties.unshift(t):i.callee===Oa?s=We(n.helper(Ur),[It([t]),i]):i.arguments.unshift(It([t])),!s&&(s=i)}else i.type===15?(Zc(t,i)||i.properties.unshift(t),s=i):(s=We(n.helper(Ur),[It([t]),i]),o&&o.callee===Zi&&(o=r[r.length-2]));e.type===13?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function Zc(e,t){let n=!1;if(e.key.type===4){const s=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===s)}return n}function Hi(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function Ry(e){return e.type===14&&e.callee===Ca?e.arguments[1].returns:e}const $y=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function ah(e){for(let t=0;t<e.length;t++)if(!Ct(e.charCodeAt(t)))return!1;return!0}function Va(e){return e.type===2&&ah(e.content)||e.type===12&&Va(e.content)}function ka(e){return e.type===3||Va(e)}const ch={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Ms,isPreTag:Ms,isIgnoreNewlineTag:Ms,isCustomElement:Ms,onError:xa,onWarn:nh,comments:process.env.NODE_ENV!=="production",prefixIdentifiers:!1};let ye=ch,Bi=null,Dn="",ct=null,ge=null,bt="",yn=-1,is=-1,Aa=0,jn=!1,Tl=null;const Me=[],Ve=new wy(Me,{onerr:_t,ontext(e,t){fr(rt(e,t),e,t)},ontextentity(e,t,n){fr(e,t,n)},oninterpolation(e,t){if(jn)return fr(rt(e,t),e,t);let n=e+Ve.delimiterOpen.length,s=t-Ve.delimiterClose.length;for(;Ct(Dn.charCodeAt(n));)n++;for(;Ct(Dn.charCodeAt(s-1));)s--;let i=rt(n,s);i.includes("&")&&(i=ye.decodeEntities(i,!1)),Vl({type:5,content:_r(i,!1,Le(n,s)),loc:Le(e,t)})},onopentagname(e,t){const n=rt(e,t);ct={type:1,tag:n,ns:ye.getNamespace(n,Me[0],ye.ns),tagType:0,props:[],children:[],loc:Le(e-1,t),codegenNode:void 0}},onopentagend(e){Xc(e)},onclosetag(e,t){const n=rt(e,t);if(!ye.isVoidTag(n)){let s=!1;for(let i=0;i<Me.length;i++)if(Me[i].tag.toLowerCase()===n.toLowerCase()){s=!0,i>0&&_t(24,Me[0].loc.start.offset);for(let o=0;o<=i;o++){const l=Me.shift();Er(l,t,o<i)}break}s||_t(23,uh(e,60))}},onselfclosingtag(e){const t=ct.tag;ct.isSelfClosing=!0,Xc(e),Me[0]&&Me[0].tag===t&&Er(Me.shift(),e)},onattribname(e,t){ge={type:6,name:rt(e,t),nameLoc:Le(e,t),value:void 0,loc:Le(e)}},ondirname(e,t){const n=rt(e,t),s=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!jn&&s===""&&_t(26,e),jn||s==="")ge={type:6,name:n,nameLoc:Le(e,t),value:void 0,loc:Le(e)};else if(ge={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[ce("prop")]:[],loc:Le(e)},s==="pre"){jn=Ve.inVPre=!0,Tl=ct;const i=ct.props;for(let r=0;r<i.length;r++)i[r].type===7&&(i[r]=Jy(i[r]))}},ondirarg(e,t){if(e===t)return;const n=rt(e,t);if(jn&&!Jc(ge))ge.name+=n,ls(ge.nameLoc,t);else{const s=n[0]!=="[";ge.arg=_r(s?n:n.slice(1,-1),s,Le(e,t),s?3:0)}},ondirmodifier(e,t){const n=rt(e,t);if(jn&&!Jc(ge))ge.name+="."+n,ls(ge.nameLoc,t);else if(ge.name==="slot"){const s=ge.arg;s&&(s.content+="."+n,ls(s.loc,t))}else{const s=ce(n,!0,Le(e,t));ge.modifiers.push(s)}},onattribdata(e,t){bt+=rt(e,t),yn<0&&(yn=e),is=t},onattribentity(e,t,n){bt+=e,yn<0&&(yn=t),is=n},onattribnameend(e){const t=ge.loc.start.offset,n=rt(t,e);ge.type===7&&(ge.rawName=n),ct.props.some(s=>(s.type===7?s.rawName:s.name)===n)&&_t(2,t)},onattribend(e,t){if(ct&&ge){if(ls(ge.loc,t),e!==0)if(bt.includes("&")&&(bt=ye.decodeEntities(bt,!0)),ge.type===6)ge.name==="class"&&(bt=dh(bt).trim()),e===1&&!bt&&_t(13,t),ge.value={type:2,content:bt,loc:e===1?Le(yn,is):Le(yn-1,is+1)},Ve.inSFCRoot&&ct.tag==="template"&&ge.name==="lang"&&bt&&bt!=="html"&&Ve.enterRCDATA(zr("</template"),0);else{let n=0;ge.exp=_r(bt,!1,Le(yn,is),0,n),ge.name==="for"&&(ge.forParseResult=Hy(ge.exp));let s=-1;ge.name==="bind"&&(s=ge.modifiers.findIndex(i=>i.content==="sync"))>-1&&ni("COMPILER_V_BIND_SYNC",ye,ge.loc,ge.arg.loc.source)&&(ge.name="model",ge.modifiers.splice(s,1))}(ge.type!==7||ge.name!=="pre")&&ct.props.push(ge)}bt="",yn=is=-1},oncomment(e,t){ye.comments&&Vl({type:3,content:rt(e,t),loc:Le(e-4,t+3)})},onend(){const e=Dn.length;if(process.env.NODE_ENV!=="production"&&Ve.state!==1)switch(Ve.state){case 5:case 8:_t(5,e);break;case 3:case 4:_t(25,Ve.sectionStart);break;case 28:Ve.currentSequence===it.CdataEnd?_t(6,e):_t(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:_t(9,e);break}for(let t=0;t<Me.length;t++)Er(Me[t],e-1),_t(24,Me[t].loc.start.offset)},oncdata(e,t){Me[0].ns!==0?fr(rt(e,t),e,t):_t(1,e-9)},onprocessinginstruction(e){(Me[0]?Me[0].ns:ye.ns)===0&&_t(21,e-1)}}),Yc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,jy=/^\(|\)$/g;function Hy(e){const t=e.loc,n=e.content,s=n.match($y);if(!s)return;const[,i,r]=s,o=(f,d,h=!1)=>{const m=t.start.offset+d,p=m+f.length;return _r(f,!1,Le(m,p),0,h?1:0)},l={source:o(r.trim(),n.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(jy,"").trim();const c=i.indexOf(a),u=a.match(Yc);if(u){a=a.replace(Yc,"").trim();const f=u[1].trim();let d;if(f&&(d=n.indexOf(f,c+a.length),l.key=o(f,d,!0)),u[2]){const h=u[2].trim();h&&(l.index=o(h,n.indexOf(h,l.key?d+f.length:c+a.length),!0))}}return a&&(l.value=o(a,c,!0)),l}function rt(e,t){return Dn.slice(e,t)}function Xc(e){Ve.inSFCRoot&&(ct.innerLoc=Le(e+1,e+1)),Vl(ct);const{tag:t,ns:n}=ct;n===0&&ye.isPreTag(t)&&Aa++,ye.isVoidTag(t)?Er(ct,e):(Me.unshift(ct),(n===1||n===2)&&(Ve.inXML=!0)),ct=null}function fr(e,t,n){{const r=Me[0]&&Me[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=ye.decodeEntities(e,!1))}const s=Me[0]||Bi,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=e,ls(i.loc,n)):s.children.push({type:2,content:e,loc:Le(t,n)})}function Er(e,t,n=!1){n?ls(e.loc,uh(t,60)):ls(e.loc,By(t,62)+1),Ve.inSFCRoot&&(e.children.length?e.innerLoc.end=oe({},e.children[e.children.length-1].loc.end):e.innerLoc.end=oe({},e.innerLoc.start),e.innerLoc.source=rt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:i,children:r}=e;if(jn||(s==="slot"?e.tagType=2:Qc(e)?e.tagType=3:Uy(e)&&(e.tagType=1)),Ve.inRCDATA||(e.children=fh(r)),i===0&&ye.isIgnoreNewlineTag(s)){const o=r[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&ye.isPreTag(s)&&Aa--,Tl===e&&(jn=Ve.inVPre=!1,Tl=null),Ve.inXML&&(Me[0]?Me[0].ns:ye.ns)===0&&(Ve.inXML=!1);{const o=e.props;if(process.env.NODE_ENV!=="production"&&Jn("COMPILER_V_IF_V_FOR_PRECEDENCE",ye)){let a=!1,c=!1;for(let u=0;u<o.length;u++){const f=o[u];if(f.type===7&&(f.name==="if"?a=!0:f.name==="for"&&(c=!0)),a&&c){qr("COMPILER_V_IF_V_FOR_PRECEDENCE",ye,e.loc);break}}}if(!Ve.inSFCRoot&&Jn("COMPILER_NATIVE_TEMPLATE",ye)&&e.tag==="template"&&!Qc(e)){process.env.NODE_ENV!=="production"&&qr("COMPILER_NATIVE_TEMPLATE",ye,e.loc);const a=Me[0]||Bi,c=a.children.indexOf(e);a.children.splice(c,1,...e.children)}const l=o.find(a=>a.type===6&&a.name==="inline-template");l&&ni("COMPILER_INLINE_TEMPLATE",ye,l.loc)&&e.children.length&&(l.value={type:2,content:rt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function By(e,t){let n=e;for(;Dn.charCodeAt(n)!==t&&n<Dn.length-1;)n++;return n}function uh(e,t){let n=e;for(;Dn.charCodeAt(n)!==t&&n>=0;)n--;return n}const Ky=new Set(["if","else","else-if","for","slot"]);function Qc({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&Ky.has(t[n].name))return!0}return!1}function Uy({tag:e,props:t}){if(ye.isCustomElement(e))return!1;if(e==="component"||Wy(e.charCodeAt(0))||sh(e)||ye.isBuiltInComponent&&ye.isBuiltInComponent(e)||ye.isNativeTag&&!ye.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const s=t[n];if(s.type===6){if(s.name==="is"&&s.value){if(s.value.content.startsWith("vue:"))return!0;if(ni("COMPILER_IS_ON_ELEMENT",ye,s.loc))return!0}}else if(s.name==="bind"&&Wn(s.arg,"is")&&ni("COMPILER_IS_ON_ELEMENT",ye,s.loc))return!0}return!1}function Wy(e){return e>64&&e<91}const zy=/\r\n/g;function fh(e){const t=ye.whitespace!=="preserve";let n=!1;for(let s=0;s<e.length;s++){const i=e[s];if(i.type===2)if(Aa)i.content=i.content.replace(zy,`
|
|
28
|
+
`);else if(ah(i.content)){const r=e[s-1]&&e[s-1].type,o=e[s+1]&&e[s+1].type;!r||!o||t&&(r===3&&(o===3||o===1)||r===1&&(o===3||o===1&&qy(i.content)))?(n=!0,e[s]=null):i.content=" "}else t&&(i.content=dh(i.content))}return n?e.filter(Boolean):e}function qy(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function dh(e){let t="",n=!1;for(let s=0;s<e.length;s++)Ct(e.charCodeAt(s))?n||(t+=" ",n=!0):(t+=e[s],n=!1);return t}function Vl(e){(Me[0]||Bi).children.push(e)}function Le(e,t){return{start:Ve.getPos(e),end:t==null?t:Ve.getPos(t),source:t==null?t:rt(e,t)}}function Gy(e){return Le(e.start.offset,e.end.offset)}function ls(e,t){e.end=Ve.getPos(t),e.source=rt(e.start.offset,t)}function Jy(e){const t={type:6,name:e.rawName,nameLoc:Le(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function _r(e,t=!1,n,s=0,i=0){return ce(e,t,n,s)}function _t(e,t,n){ye.onError(Se(e,Le(t,t),void 0,n))}function Zy(){Ve.reset(),ct=null,ge=null,bt="",yn=-1,is=-1,Me.length=0}function Yy(e,t){if(Zy(),Dn=e,ye=oe({},ch),t){let i;for(i in t)t[i]!=null&&(ye[i]=t[i])}if(process.env.NODE_ENV!=="production"&&!ye.decodeEntities)throw new Error("[@vue/compiler-core] decodeEntities option is required in browser builds.");Ve.mode=ye.parseMode==="html"?1:ye.parseMode==="sfc"?2:0,Ve.inXML=ye.ns===1||ye.ns===2;const n=t&&t.delimiters;n&&(Ve.delimiterOpen=zr(n[0]),Ve.delimiterClose=zr(n[1]));const s=Bi=Ny([],e);return Ve.parse(Dn),s.loc=Le(0,e.length),s.children=fh(s.children),Bi=null,s}function Xy(e,t){br(e,void 0,t,!!hh(e))}function hh(e){const t=e.children.filter(n=>n.type!==3);return t.length===1&&t[0].type===1&&!Jr(t[0])?t[0]:null}function br(e,t,n,s=!1,i=!1){const{children:r}=e,o=[];for(let u=0;u<r.length;u++){const f=r[u];if(f.type===1&&f.tagType===0){const d=s?0:Dt(f,n);if(d>0){if(d>=2){f.codegenNode.patchFlag=-1,o.push(f);continue}}else{const h=f.codegenNode;if(h.type===13){const m=h.patchFlag;if((m===void 0||m===512||m===1)&&mh(f,n)>=2){const p=gh(f);p&&(h.props=n.hoist(p))}h.dynamicProps&&(h.dynamicProps=n.hoist(h.dynamicProps))}}}else if(f.type===12&&(s?0:Dt(f,n))>=2){f.codegenNode.type===14&&f.codegenNode.arguments.length>0&&f.codegenNode.arguments.push(-1+(process.env.NODE_ENV!=="production"?` /* ${yi[-1]} */`:"")),o.push(f);continue}if(f.type===1){const d=f.tagType===1;d&&n.scopes.vSlot++,br(f,e,n,!1,i),d&&n.scopes.vSlot--}else if(f.type===11)br(f,e,n,f.children.length===1,!0);else if(f.type===9)for(let d=0;d<f.branches.length;d++)br(f.branches[d],e,n,f.branches[d].children.length===1,i)}let l=!1;if(o.length===r.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&K(e.codegenNode.children))e.codegenNode.children=a(gs(e.codegenNode.children)),l=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!K(e.codegenNode.children)&&e.codegenNode.children.type===15){const u=c(e.codegenNode,"default");u&&(u.returns=a(gs(u.returns)),l=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!K(t.codegenNode.children)&&t.codegenNode.children.type===15){const u=St(e,"slot",!0),f=u&&u.arg&&c(t.codegenNode,u.arg);f&&(f.returns=a(gs(f.returns)),l=!0)}}if(!l)for(const u of o)u.codegenNode=n.cache(u.codegenNode);function a(u){const f=n.cache(u);return f.needArraySpread=!0,f}function c(u,f){if(u.children&&!K(u.children)&&u.children.type===15){const d=u.children.properties.find(h=>h.key===f||h.key.content===f);return d&&d.value}}o.length&&n.transformHoist&&n.transformHoist(r,n,e)}function Dt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const s=n.get(e);if(s!==void 0)return s;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let o=3;const l=mh(e,t);if(l===0)return n.set(e,0),0;l<o&&(o=l);for(let a=0;a<e.children.length;a++){const c=Dt(e.children[a],t);if(c===0)return n.set(e,0),0;c<o&&(o=c)}if(o>1)for(let a=0;a<e.props.length;a++){const c=e.props[a];if(c.type===7&&c.name==="bind"&&c.exp){const u=Dt(c.exp,t);if(u===0)return n.set(e,0),0;u<o&&(o=u)}}if(i.isBlock){for(let a=0;a<e.props.length;a++)if(e.props[a].type===7)return n.set(e,0),0;t.removeHelper(Ns),t.removeHelper(ti(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(ei(t.inSSR,i.isComponent))}return n.set(e,o),o}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Dt(e.content,t);case 4:return e.constType;case 8:let r=3;for(let o=0;o<e.children.length;o++){const l=e.children[o];if(te(l)||wt(l))continue;const a=Dt(l,t);if(a===0)return 0;a<r&&(r=a)}return r;case 20:return 2;default:return process.env.NODE_ENV,0}}const Qy=new Set([Na,Sa,Ri,Zi]);function ph(e,t){if(e.type===14&&!te(e.callee)&&Qy.has(e.callee)){const n=e.arguments[0];if(n.type===4)return Dt(n,t);if(n.type===14)return ph(n,t)}return 0}function mh(e,t){let n=3;const s=gh(e);if(s&&s.type===15){const{properties:i}=s;for(let r=0;r<i.length;r++){const{key:o,value:l}=i[r],a=Dt(o,t);if(a===0)return a;a<n&&(n=a);let c;if(l.type===4?c=Dt(l,t):l.type===14?c=ph(l,t):c=0,c===0)return c;c<n&&(n=c)}}return n}function gh(e){const t=e.codegenNode;if(t.type===13)return t.props}function e0(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:s=!1,hmr:i=!1,cacheHandlers:r=!1,nodeTransforms:o=[],directiveTransforms:l={},transformHoist:a=null,isBuiltInComponent:c=ke,isCustomElement:u=ke,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:m=!1,inSSR:p=!1,ssrCssVars:S="",bindingMetadata:N=ue,inline:E=!1,isTS:g=!1,onError:_=xa,onWarn:y=nh,compatConfig:w}){const P=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),T={filename:t,selfName:P&&an(De(P[1])),prefixIdentifiers:n,hoistStatic:s,hmr:i,cacheHandlers:r,nodeTransforms:o,directiveTransforms:l,transformHoist:a,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:m,inSSR:p,ssrCssVars:S,bindingMetadata:N,inline:E,isTS:g,onError:_,onWarn:y,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(O){const D=T.helpers.get(O)||0;return T.helpers.set(O,D+1),O},removeHelper(O){const D=T.helpers.get(O);if(D){const I=D-1;I?T.helpers.set(O,I):T.helpers.delete(O)}},helperString(O){return`_${Xs[T.helper(O)]}`},replaceNode(O){if(process.env.NODE_ENV!=="production"){if(!T.currentNode)throw new Error("Node being replaced is already removed.");if(!T.parent)throw new Error("Cannot replace root node.")}T.parent.children[T.childIndex]=T.currentNode=O},removeNode(O){if(process.env.NODE_ENV!=="production"&&!T.parent)throw new Error("Cannot remove root node.");const D=T.parent.children,I=O?D.indexOf(O):T.currentNode?T.childIndex:-1;if(process.env.NODE_ENV!=="production"&&I<0)throw new Error("node being removed is not a child of current parent");!O||O===T.currentNode?(T.currentNode=null,T.onNodeRemoved()):T.childIndex>I&&(T.childIndex--,T.onNodeRemoved()),T.parent.children.splice(I,1)},onNodeRemoved:ke,addIdentifiers(O){},removeIdentifiers(O){},hoist(O){te(O)&&(O=ce(O)),T.hoists.push(O);const D=ce(`_hoisted_${T.hoists.length}`,!1,O.loc,2);return D.hoisted=O,D},cache(O,D=!1,I=!1){const C=Sy(T.cached.length,O,D,I);return T.cached.push(C),C}};return T.filters=new Set,T}function t0(e,t){const n=e0(e,t);wo(e,n),t.hoistStatic&&Xy(e,n),t.ssr||n0(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function n0(e,t){const{helper:n}=t,{children:s}=e;if(s.length===1){const i=hh(e);if(i&&i.codegenNode){const r=i.codegenNode;r.type===13&&Da(r,t),e.codegenNode=r}else e.codegenNode=s[0]}else if(s.length>1){let i=64;process.env.NODE_ENV!=="production"&&s.filter(r=>r.type!==3).length===1&&(i|=2048),e.codegenNode=$i(t,n(Fi),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function s0(e,t){let n=0;const s=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];te(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=s,wo(i,t))}}function wo(e,t){t.currentNode=e;const{nodeTransforms:n}=t,s=[];for(let r=0;r<n.length;r++){const o=n[r](e,t);if(o&&(K(o)?s.push(...o):s.push(o)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Ji);break;case 5:t.ssr||t.helper(Oo);break;case 9:for(let r=0;r<e.branches.length;r++)wo(e.branches[r],t);break;case 10:case 11:case 1:case 0:s0(e,t);break}t.currentNode=e;let i=s.length;for(;i--;)s[i]()}function vh(e,t){const n=te(e)?s=>s===e:s=>e.test(s);return(s,i)=>{if(s.type===1){const{props:r}=s;if(s.tagType===3&&r.some(Ly))return;const o=[];for(let l=0;l<r.length;l++){const a=r[l];if(a.type===7&&n(a.name)){r.splice(l,1),l--;const c=t(s,a,i);c&&o.push(c)}}return o}}}const Co="/*@__PURE__*/",yh=e=>`${Xs[e]}: _${Xs[e]}`;function i0(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:s=!1,filename:i="template.vue.html",scopeId:r=null,optimizeImports:o=!1,runtimeGlobalName:l="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:d=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:s,filename:i,scopeId:r,optimizeImports:o,runtimeGlobalName:l,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:u,isTS:f,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(p){return`_${Xs[p]}`},push(p,S=-2,N){h.code+=p},indent(){m(++h.indentLevel)},deindent(p=!1){p?--h.indentLevel:m(--h.indentLevel)},newline(){m(h.indentLevel)}};function m(p){h.push(`
|
|
29
|
+
`+" ".repeat(p),0)}return h}function r0(e,t={}){const n=i0(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:s,push:i,prefixIdentifiers:r,indent:o,deindent:l,newline:a,scopeId:c,ssr:u}=n,f=Array.from(e.helpers),d=f.length>0,h=!r&&s!=="module";o0(e,n);const p=u?"ssrRender":"render",N=(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${p}(${N}) {`),o(),h&&(i("with (_ctx) {"),o(),d&&(i(`const { ${f.map(yh).join(", ")} } = _Vue
|
|
30
|
+
`,-1),a())),e.components.length&&(Wo(e.components,"component",n),(e.directives.length||e.temps>0)&&a()),e.directives.length&&(Wo(e.directives,"directive",n),e.temps>0&&a()),e.filters&&e.filters.length&&(a(),Wo(e.filters,"filter",n),a()),e.temps>0){i("let ");for(let E=0;E<e.temps;E++)i(`${E>0?", ":""}_temp${E}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
|
|
31
|
+
`,0),a()),u||i("return "),e.codegenNode?ht(e.codegenNode,n):i("null"),h&&(l(),i("}")),l(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function o0(e,t){const{ssr:n,prefixIdentifiers:s,push:i,newline:r,runtimeModuleName:o,runtimeGlobalName:l,ssrRuntimeModuleName:a}=t,c=l,u=Array.from(e.helpers);if(u.length>0&&(i(`const _Vue = ${c}
|
|
32
|
+
`,-1),e.hoists.length)){const f=[ha,pa,Ji,ma,Xd].filter(d=>u.includes(d)).map(yh).join(", ");i(`const { ${f} } = _Vue
|
|
33
|
+
`,-1)}l0(e.hoists,t),r(),i("return ")}function Wo(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?Ea:t==="component"?ga:ya);for(let l=0;l<e.length;l++){let a=e[l];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),s(`const ${Hi(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${r?"!":""}`),l<e.length-1&&i()}}function l0(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let i=0;i<e.length;i++){const r=e[i];r&&(n(`const _hoisted_${i+1} = `),ht(r,t),s())}t.pure=!1}function a0(e){return te(e)||e.type===4||e.type===2||e.type===5||e.type===8}function Ia(e,t){const n=e.length>3||process.env.NODE_ENV!=="production"&&e.some(s=>K(s)||!a0(s));t.push("["),n&&t.indent(),Yi(e,t,n),n&&t.deindent(),t.push("]")}function Yi(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;o<e.length;o++){const l=e[o];te(l)?i(l,-3):K(l)?Ia(l,t):ht(l,t),o<e.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function ht(e,t){if(te(e)){t.push(e,-3);return}if(wt(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:process.env.NODE_ENV!=="production"&&Gc(e.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),ht(e.codegenNode,t);break;case 2:c0(e,t);break;case 4:Eh(e,t);break;case 5:u0(e,t);break;case 12:ht(e.codegenNode,t);break;case 8:_h(e,t);break;case 3:d0(e,t);break;case 13:h0(e,t);break;case 14:m0(e,t);break;case 15:g0(e,t);break;case 17:v0(e,t);break;case 18:y0(e,t);break;case 19:E0(e,t);break;case 20:_0(e,t);break;case 21:Yi(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:if(process.env.NODE_ENV!=="production")return Gc(!1,`unhandled codegen node type: ${e.type}`),e}}function c0(e,t){t.push(JSON.stringify(e.content),-3,e)}function Eh(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function u0(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Co),n(`${s(Oo)}(`),ht(e.content,t),n(")")}function _h(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];te(s)?t.push(s,-3):ht(s,t)}}function f0(e,t){const{push:n}=t;if(e.type===8)n("["),_h(e,t),n("]");else if(e.isStatic){const s=Ta(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function d0(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Co),n(`${s(Ji)}(${JSON.stringify(e.content)})`,-3,e)}function h0(e,t){const{push:n,helper:s,pure:i}=t,{tag:r,props:o,children:l,patchFlag:a,dynamicProps:c,directives:u,isBlock:f,disableTracking:d,isComponent:h}=e;let m;if(a)if(process.env.NODE_ENV!=="production")if(a<0)m=a+` /* ${yi[a]} */`;else{const S=Object.keys(yi).map(Number).filter(N=>N>0&&a&N).map(N=>yi[N]).join(", ");m=a+` /* ${S} */`}else m=String(a);u&&n(s(_a)+"("),f&&n(`(${s(Ns)}(${d?"true":""}), `),i&&n(Co);const p=f?ti(t.inSSR,h):ei(t.inSSR,h);n(s(p)+"(",-2,e),Yi(p0([r,o,l,m,c]),t),n(")"),f&&n(")"),u&&(n(", "),ht(u,t),n(")"))}function p0(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function m0(e,t){const{push:n,helper:s,pure:i}=t,r=te(e.callee)?e.callee:s(e.callee);i&&n(Co),n(r+"(",-2,e),Yi(e.arguments,t),n(")")}function g0(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||process.env.NODE_ENV!=="production"&&o.some(a=>a.value.type!==4);n(l?"{":"{ "),l&&s();for(let a=0;a<o.length;a++){const{key:c,value:u}=o[a];f0(c,t),n(": "),ht(u,t),a<o.length-1&&(n(","),r())}l&&i(),n(l?"}":" }")}function v0(e,t){Ia(e.elements,t)}function y0(e,t){const{push:n,indent:s,deindent:i}=t,{params:r,returns:o,body:l,newline:a,isSlot:c}=e;c&&n(`_${Xs[wa]}(`),n("(",-2,e),K(r)?Yi(r,t):r&&ht(r,t),n(") => "),(a||l)&&(n("{"),s()),o?(a&&n("return "),K(o)?Ia(o,t):ht(o,t)):l&&ht(l,t),(a||l)&&(i(),n("}")),c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function E0(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:a,newline:c}=t;if(n.type===4){const f=!Ta(n.content);f&&o("("),Eh(n,t),f&&o(")")}else o("("),ht(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),ht(s,t),t.indentLevel--,r&&c(),r||o(" "),o(": ");const u=i.type===19;u||t.indentLevel++,ht(i,t),u||t.indentLevel--,r&&a(!0)}function _0(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:a}=e;a&&n("[...("),n(`_cache[${e.index}] || (`),l&&(i(),n(`${s(Wr)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),ht(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(Wr)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")"),a&&n(")]")}const b0=new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b"),N0=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function as(e,t,n=!1,s=!1){const i=e.content;if(i.trim())try{new Function(s?` ${i} `:`return ${n?`(${i}) => {}`:`(${i})`}`)}catch(r){let o=r.message;const l=i.replace(N0,"").match(b0);l&&(o=`avoid using JavaScript keyword as property name: "${l[0]}"`),t.onError(Se(46,e.loc,void 0,o))}}const S0=(e,t)=>{if(e.type===5)e.content=zo(e.content,t);else if(e.type===1){const n=St(e,"memo");for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&i.name!=="for"){const r=i.exp,o=i.arg;r&&r.type===4&&!(i.name==="on"&&o)&&!(n&&o&&o.type===4&&o.content==="key")&&(i.exp=zo(r,t,i.name==="slot")),o&&o.type===4&&!o.isStatic&&(i.arg=zo(o,t))}}}};function zo(e,t,n=!1,s=!1,i=Object.create(t.identifiers)){return process.env.NODE_ENV!=="production"&&as(e,t,n,s),e}const O0=vh(/^(?:if|else|else-if)$/,(e,t,n)=>w0(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),a=0;for(;l-->=0;){const c=o[l];c&&c.type===9&&(a+=c.branches.length)}return()=>{if(r)s.codegenNode=tu(i,a,n);else{const c=D0(s.codegenNode);c.alternate=tu(i,a+s.branches.length-1,n)}}}));function w0(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(Se(28,t.loc)),t.exp=ce("true",!1,i)}if(process.env.NODE_ENV!=="production"&&t.exp&&as(t.exp,n),t.name==="if"){const i=eu(e,t),r={type:9,loc:Gy(e.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children,r=[];let o=i.indexOf(e);for(;o-->=-1;){const l=i[o];if(l&&ka(l)){n.removeNode(l),process.env.NODE_ENV!=="production"&&l.type===3&&r.unshift(l);continue}if(l&&l.type===9){(t.name==="else-if"||t.name==="else")&&l.branches[l.branches.length-1].condition===void 0&&n.onError(Se(30,e.loc)),n.removeNode();const a=eu(e,t);if(process.env.NODE_ENV!=="production"&&r.length&&!(n.parent&&n.parent.type===1&&(n.parent.tag==="transition"||n.parent.tag==="Transition"))&&(a.children=[...r,...a.children]),process.env.NODE_ENV!=="production"){const u=a.userKey;u&&l.branches.forEach(({userKey:f})=>{C0(f,u)&&n.onError(Se(29,a.userKey.loc))})}l.branches.push(a);const c=s&&s(l,a,!1);wo(a,n),c&&c(),n.currentNode=null}else n.onError(Se(30,e.loc));break}}}function eu(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!St(e,"for")?e.children:[e],userKey:ji(e,"key"),isTemplateIf:n}}function tu(e,t,n){return e.condition?Dl(e.condition,nu(e,t,n),We(n.helper(Ji),[process.env.NODE_ENV!=="production"?'"v-if"':'""',"true"])):nu(e,t,n)}function nu(e,t,n){const{helper:s}=n,i=Be("key",ce(`${t}`,!1,Tt,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const a=o.codegenNode;return Zr(a,i,n),a}else{let a=64;return process.env.NODE_ENV!=="production"&&!e.isTemplateIf&&r.filter(c=>c.type!==3).length===1&&(a|=2048),$i(n,s(Fi),It([i]),r,a,void 0,void 0,!0,!1,!1,e.loc)}else{const a=o.codegenNode,c=Ry(a);return c.type===13&&Da(c,n),Zr(c,i,n),a}}function C0(e,t){if(!e||e.type!==t.type)return!1;if(e.type===6){if(e.value.content!==t.value.content)return!1}else{const n=e.exp,s=t.exp;if(n.type!==s.type||n.type!==4||n.isStatic!==s.isStatic||n.content!==s.content)return!1}return!0}function D0(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const x0=vh("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return T0(e,t,n,r=>{const o=We(s(ba),[r.source]),l=Gr(e),a=St(e,"memo"),c=ji(e,"key",!1,!0);c&&c.type;let u=c&&(c.type===6?c.value?ce(c.value.content,!0):void 0:c.exp);const f=c&&u?Be("key",u):null,d=r.source.type===4&&r.source.constType>0,h=d?64:c?128:256;return r.codegenNode=$i(n,s(Fi),void 0,o,h,void 0,void 0,!0,!d,!1,e.loc),()=>{let m;const{children:p}=r;process.env.NODE_ENV!=="production"&&l&&e.children.some(E=>{if(E.type===1){const g=ji(E,"key");if(g)return n.onError(Se(33,g.loc)),!0}});const S=p.length!==1||p[0].type!==1,N=Jr(e)?e:l&&e.children.length===1&&Jr(e.children[0])?e.children[0]:null;if(N?(m=N.codegenNode,l&&f&&Zr(m,f,n)):S?m=$i(n,s(Fi),f?It([f]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(m=p[0].codegenNode,l&&f&&Zr(m,f,n),m.isBlock!==!d&&(m.isBlock?(i(Ns),i(ti(n.inSSR,m.isComponent))):i(ei(n.inSSR,m.isComponent))),m.isBlock=!d,m.isBlock?(s(Ns),s(ti(n.inSSR,m.isComponent))):s(ei(n.inSSR,m.isComponent))),a){const E=Qs(kl(r.parseResult,[ce("_cached")]));E.body=Oy([zt(["const _memo = (",a.exp,")"]),zt(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(th)}(_cached, _memo)) return _cached`]),zt(["const _item = ",m]),ce("_item.memo = _memo"),ce("return _item")]),o.arguments.push(E,ce("_cache"),ce(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Qs(kl(r.parseResult),m,!0))}})});function T0(e,t,n,s){if(!t.exp){n.onError(Se(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(Se(32,t.loc));return}bh(i,n);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:a,value:c,key:u,index:f}=i,d={type:11,loc:t.loc,source:a,valueAlias:c,keyAlias:u,objectIndexAlias:f,parseResult:i,children:Gr(e)?e.children:[e]};n.replaceNode(d),l.vFor++;const h=s&&s(d);return()=>{l.vFor--,h&&h()}}function bh(e,t){e.finalized||(process.env.NODE_ENV!=="production"&&(as(e.source,t),e.key&&as(e.key,t,!0),e.index&&as(e.index,t,!0),e.value&&as(e.value,t,!0)),e.finalized=!0)}function kl({value:e,key:t,index:n},s=[]){return V0([e,t,n,...s])}function V0(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||ce("_".repeat(s+1),!1))}const su=ce("undefined",!1),k0=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=St(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},A0=(e,t,n,s)=>Qs(e,n,!1,!0,n.length?n[0].loc:s);function I0(e,t,n=A0){t.helper(wa);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=St(e,"slot",!0);if(a){const{arg:S,exp:N}=a;S&&!Ot(S)&&(l=!0),r.push(Be(S||ce("default",!0),n(N,void 0,s,i)))}let c=!1,u=!1;const f=[],d=new Set;let h=0;for(let S=0;S<s.length;S++){const N=s[S];let E;if(!Gr(N)||!(E=St(N,"slot",!0))){N.type!==3&&f.push(N);continue}if(a){t.onError(Se(37,E.loc));break}c=!0;const{children:g,loc:_}=N,{arg:y=ce("default",!0),exp:w,loc:P}=E;let T;Ot(y)?T=y?y.content:"default":l=!0;const O=St(N,"for"),D=n(w,O,g,_);let I,C;if(I=St(N,"if"))l=!0,o.push(Dl(I.exp,dr(y,D,h++),su));else if(C=St(N,/^else(?:-if)?$/,!0)){let R=S,G;for(;R--&&(G=s[R],!!ka(G)););if(G&&Gr(G)&&St(G,/^(?:else-)?if$/)){let z=o[o.length-1];for(;z.alternate.type===19;)z=z.alternate;z.alternate=C.exp?Dl(C.exp,dr(y,D,h++),su):dr(y,D,h++)}else t.onError(Se(30,C.loc))}else if(O){l=!0;const R=O.forParseResult;R?(bh(R,t),o.push(We(t.helper(ba),[R.source,Qs(kl(R),dr(y,D),!0)]))):t.onError(Se(32,O.loc))}else{if(T){if(d.has(T)){t.onError(Se(38,P));continue}d.add(T),T==="default"&&(u=!0)}r.push(Be(y,D))}}if(!a){const S=(N,E)=>{const g=n(N,void 0,E,i);return t.compatConfig&&(g.isNonScopedSlot=!0),Be("default",g)};c?f.length&&!f.every(Va)&&(u?t.onError(Se(39,f[0].loc)):r.push(S(void 0,f))):r.push(S(void 0,s))}const m=l?2:Nr(e.children)?3:1;let p=It(r.concat(Be("_",ce(m+(process.env.NODE_ENV!=="production"?` /* ${dp[m]} */`:""),!1))),i);return o.length&&(p=We(t.helper(eh),[p,gs(o)])),{slots:p,hasDynamicSlots:l}}function dr(e,t,n){const s=[Be("name",e),Be("fn",t)];return n!=null&&s.push(Be("key",ce(String(n),!0))),It(s)}function Nr(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Nr(n.children))return!0;break;case 9:if(Nr(n.branches))return!0;break;case 10:case 11:if(Nr(n.children))return!0;break}}return!1}const Nh=new WeakMap,M0=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?P0(e,t):`"${s}"`;const l=he(o)&&o.callee===va;let a,c,u=0,f,d,h,m=l||o===Ci||o===da||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const p=Sh(e,t,void 0,r,l);a=p.props,u=p.patchFlag,d=p.dynamicPropNames;const S=p.directives;h=S&&S.length?gs(S.map(N=>F0(N,t))):void 0,p.shouldUseBlock&&(m=!0)}if(e.children.length>0)if(o===Kr&&(m=!0,u|=1024,process.env.NODE_ENV!=="production"&&e.children.length>1&&t.onError(Se(47,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))),r&&o!==Ci&&o!==Kr){const{slots:S,hasDynamicSlots:N}=I0(e,t);c=S,N&&(u|=1024)}else if(e.children.length===1&&o!==Ci){const S=e.children[0],N=S.type,E=N===5||N===8;E&&Dt(S,t)===0&&(u|=1),E||N===2?c=S:c=e.children}else c=e.children;d&&d.length&&(f=R0(d)),e.codegenNode=$i(t,o,a,c,u===0?void 0:u,f,h,!!m,!1,r,e.loc)};function P0(e,t,n=!1){let{tag:s}=e;const i=Al(s),r=ji(e,"is",!1,!0);if(r)if(i||Jn("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&ce(r.value.content,!0):(l=r.exp,l||(l=ce("is",!1,r.arg.loc))),l)return We(t.helper(va),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=sh(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(ga),t.components.add(s),Hi(s,"component"))}function Sh(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:a}=e;let c=[];const u=[],f=[],d=a.length>0;let h=!1,m=0,p=!1,S=!1,N=!1,E=!1,g=!1,_=!1;const y=[],w=D=>{c.length&&(u.push(It(iu(c),l)),c=[]),D&&u.push(D)},P=()=>{t.scopes.vFor>0&&c.push(Be(ce("ref_for",!0),ce("true")))},T=({key:D,value:I})=>{if(Ot(D)){const C=D.content,R=xn(C);if(R&&(!s||i)&&C.toLowerCase()!=="onclick"&&C!=="onUpdate:modelValue"&&!On(C)&&(E=!0),R&&On(C)&&(_=!0),R&&I.type===14&&(I=I.arguments[0]),I.type===20||(I.type===4||I.type===8)&&Dt(I,t)>0)return;C==="ref"?p=!0:C==="class"?S=!0:C==="style"?N=!0:C!=="key"&&!y.includes(C)&&y.push(C),s&&(C==="class"||C==="style")&&!y.includes(C)&&y.push(C)}else g=!0};for(let D=0;D<n.length;D++){const I=n[D];if(I.type===6){const{loc:C,name:R,nameLoc:G,value:z}=I;let W=!0;if(R==="ref"&&(p=!0,P()),R==="is"&&(Al(o)||z&&z.content.startsWith("vue:")||Jn("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Be(ce(R,!0,G),ce(z?z.content:"",W,z?z.loc:C)))}else{const{name:C,arg:R,exp:G,loc:z,modifiers:W}=I,J=C==="bind",H=C==="on";if(C==="slot"){s||t.onError(Se(40,z));continue}if(C==="once"||C==="memo"||C==="is"||J&&Wn(R,"is")&&(Al(o)||Jn("COMPILER_IS_ON_ELEMENT",t))||H&&r)continue;if((J&&Wn(R,"key")||H&&d&&Wn(R,"vue:before-update"))&&(h=!0),J&&Wn(R,"ref")&&P(),!R&&(J||H)){if(g=!0,G)if(J){if(w(),process.env.NODE_ENV!=="production"&&u.some(Ge=>Ge.type===15?Ge.properties.some(({key:Je})=>Je.type!==4||!Je.isStatic?!0:Je.content!=="class"&&Je.content!=="style"&&!xn(Je.content)):!0)&&ni("COMPILER_V_BIND_OBJECT_ORDER",t,z),Jn("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(G);continue}P(),w(),u.push(G)}else w({type:14,loc:z,callee:t.helper(Oa),arguments:s?[G]:[G,"true"]});else t.onError(Se(J?34:35,z));continue}J&&W.some($e=>$e.content==="prop")&&(m|=32);const le=t.directiveTransforms[C];if(le){const{props:$e,needRuntime:Ge}=le(I,e,t);!r&&$e.forEach(T),H&&R&&!Ot(R)?w(It($e,l)):c.push(...$e),Ge&&(f.push(I),wt(Ge)&&Nh.set(I,Ge))}else Vu(C)||(f.push(I),d&&(h=!0))}}let O;if(u.length?(w(),u.length>1?O=We(t.helper(Ur),u,l):O=u[0]):c.length&&(O=It(iu(c),l)),g?m|=16:(S&&!s&&(m|=2),N&&!s&&(m|=4),y.length&&(m|=8),E&&(m|=32)),!h&&(m===0||m===32)&&(p||_||f.length>0)&&(m|=512),!t.inSSR&&O)switch(O.type){case 15:let D=-1,I=-1,C=!1;for(let z=0;z<O.properties.length;z++){const W=O.properties[z].key;Ot(W)?W.content==="class"?D=z:W.content==="style"&&(I=z):W.isHandlerKey||(C=!0)}const R=O.properties[D],G=O.properties[I];C?O=We(t.helper(Ri),[O]):(R&&!Ot(R.value)&&(R.value=We(t.helper(Na),[R.value])),G&&(N||G.value.type===4&&G.value.content.trim()[0]==="["||G.value.type===17)&&(G.value=We(t.helper(Sa),[G.value])));break;case 14:break;default:O=We(t.helper(Ri),[We(t.helper(Zi),[O])]);break}return{props:O,directives:f,patchFlag:m,dynamicPropNames:y,shouldUseBlock:h}}function iu(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const r=i.key.content,o=t.get(r);o?(r==="style"||r==="class"||xn(r))&&L0(o,i):(t.set(r,i),n.push(i))}return n}function L0(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=gs([e.value,t.value],e.loc)}function F0(e,t){const n=[],s=Nh.get(e);s?n.push(t.helperString(s)):(t.helper(ya),t.directives.add(e.name),n.push(Hi(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const r=ce("true",!1,i);n.push(It(e.modifiers.map(o=>Be(o,r)),i))}return gs(n,e.loc)}function R0(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function Al(e){return e==="component"||e==="Component"}const $0=(e,t)=>{if(Jr(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=j0(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=Qs([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=We(t.helper(Qd),o,s)}};function j0(e,t){let n='"default"',s;const i=[];for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=De(o.name),i.push(o)));else if(o.name==="bind"&&Wn(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const l=De(o.arg.content);n=o.exp=ce(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Ot(o.arg)&&(o.arg.content=De(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=Sh(e,t,i,!1,!1);s=r,o.length&&t.onError(Se(36,o[0].loc))}return{slotName:n,slotProps:s}}const Oh=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(Se(35,i));let l;if(o.type===4)if(o.isStatic){let f=o.content;process.env.NODE_ENV!=="production"&&f.startsWith("vnode")&&n.onError(Se(52,o.loc)),f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const d=t.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?Qt(De(f)):`on:${f}`;l=ce(d,!0,o.loc)}else l=zt([`${n.helperString(Cl)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Cl)}(`),l.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const f=oh(a),d=!(f||My(a)),h=a.content.includes(";");process.env.NODE_ENV!=="production"&&as(a,n,!1,h),(d||c&&f)&&(a=zt([`${d?"$event":"(...args)"} => ${h?"{":"("}`,a,h?"}":")"]))}let u={props:[Be(l,a||ce("() => {}",!1,i))]};return s&&(u=s(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(f=>f.key.isHandlerKey=!0),u},H0=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),s.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=De(r.content):r.content=`${n.helperString(wl)}(${r.content})`:(r.children.unshift(`${n.helperString(wl)}(`),r.children.push(")"))),n.inSSR||(s.some(l=>l.content==="prop")&&ru(r,"."),s.some(l=>l.content==="attr")&&ru(r,"^")),{props:[Be(r,o)]}},ru=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},B0=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;r<n.length;r++){const o=n[r];if(Uo(o)){i=!0;for(let l=r+1;l<n.length;l++){const a=n[l];if(Uo(a))s||(s=n[r]=zt([o],o.loc)),s.children.push(" + ",a),n.splice(l,1),l--;else{s=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<n.length;r++){const o=n[r];if(Uo(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&Dt(o,t)===0&&l.push(1+(process.env.NODE_ENV!=="production"?` /* ${yi[1]} */`:"")),n[r]={type:12,content:o,loc:o.loc,codegenNode:We(t.helper(ma),l)}}}}},ou=new WeakSet,K0=(e,t)=>{if(e.type===1&&St(e,"once",!0))return ou.has(e)||t.inVOnce||t.inSSR?void 0:(ou.add(e),t.inVOnce=!0,t.helper(Wr),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},wh=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(Se(41,e.loc)),fi();const r=s.loc.source.trim(),o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(Se(44,s.loc)),fi();if(l==="literal-const"||l==="setup-const")return n.onError(Se(45,s.loc)),fi();if(!o.trim()||!oh(s))return n.onError(Se(42,s.loc)),fi();const a=i||ce("modelValue",!0),c=i?Ot(i)?`onUpdate:${De(i.content)}`:zt(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const f=n.isTS?"($event: any)":"$event";u=zt([`${f} => ((`,s,") = $event)"]);const d=[Be(a,e.exp),Be(c,u)];if(e.modifiers.length&&t.tagType===1){const h=e.modifiers.map(p=>p.content).map(p=>(Ta(p)?p:JSON.stringify(p))+": true").join(", "),m=i?Ot(i)?`${i.content}Modifiers`:zt([i,' + "Modifiers"']):"modelModifiers";d.push(Be(m,ce(`{ ${h} }`,!1,e.loc,2)))}return fi(d)};function fi(e=[]){return{props:e}}const U0=/[\w).+\-_$\]]/,W0=(e,t)=>{Jn("COMPILER_FILTERS",t)&&(e.type===5?Yr(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Yr(n.exp,t)}))};function Yr(e,t){if(e.type===4)lu(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?lu(s,t):s.type===8?Yr(e,t):s.type===5&&Yr(s.content,t))}}function lu(e,t){const n=e.content;let s=!1,i=!1,r=!1,o=!1,l=0,a=0,c=0,u=0,f,d,h,m,p=[];for(h=0;h<n.length;h++)if(d=f,f=n.charCodeAt(h),s)f===39&&d!==92&&(s=!1);else if(i)f===34&&d!==92&&(i=!1);else if(r)f===96&&d!==92&&(r=!1);else if(o)f===47&&d!==92&&(o=!1);else if(f===124&&n.charCodeAt(h+1)!==124&&n.charCodeAt(h-1)!==124&&!l&&!a&&!c)m===void 0?(u=h+1,m=n.slice(0,h).trim()):S();else{switch(f){case 34:i=!0;break;case 39:s=!0;break;case 96:r=!0;break;case 40:c++;break;case 41:c--;break;case 91:a++;break;case 93:a--;break;case 123:l++;break;case 125:l--;break}if(f===47){let N=h-1,E;for(;N>=0&&(E=n.charAt(N),E===" ");N--);(!E||!U0.test(E))&&(o=!0)}}m===void 0?m=n.slice(0,h).trim():u!==0&&S();function S(){p.push(n.slice(u,h).trim()),u=h+1}if(p.length){for(process.env.NODE_ENV!=="production"&&qr("COMPILER_FILTERS",t,e.loc),h=0;h<p.length;h++)m=z0(m,p[h],t);e.content=m,e.ast=void 0}}function z0(e,t,n){n.helper(Ea);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${Hi(t,"filter")}(${e})`;{const i=t.slice(0,s),r=t.slice(s+1);return n.filters.add(i),`${Hi(i,"filter")}(${e}${r!==")"?","+r:r}`}}const au=new WeakSet,q0=(e,t)=>{if(e.type===1){const n=St(e,"memo");return!n||au.has(e)||t.inSSR?void 0:(au.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&Da(s,t),e.codegenNode=We(t.helper(Ca),[n.exp,Qs(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}},G0=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const s=n.arg;if(s.type!==4||!s.isStatic)t.onError(Se(53,s.loc)),n.exp=ce("",!0,s.loc);else{const i=De(s.content);(ih.test(i[0])||i[0]==="-")&&(n.exp=ce(i,!1,s.loc))}}}};function J0(e){return[[G0,K0,O0,q0,x0,W0,...process.env.NODE_ENV!=="production"?[S0]:[],$0,M0,k0,B0],{on:Oh,bind:H0,model:wh}]}function Z0(e,t={}){const n=t.onError||xa,s=t.mode==="module";t.prefixIdentifiers===!0?n(Se(48)):s&&n(Se(49));const i=!1;t.cacheHandlers&&n(Se(50)),t.scopeId&&!s&&n(Se(51));const r=oe({},t,{prefixIdentifiers:i}),o=te(e)?Yy(e,r):e,[l,a]=J0();return t0(o,oe({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:oe({},a,t.directiveTransforms||{})})),r0(o,r)}const Y0=()=>({props:[]});const Ch=Symbol(process.env.NODE_ENV!=="production"?"vModelRadio":""),Dh=Symbol(process.env.NODE_ENV!=="production"?"vModelCheckbox":""),xh=Symbol(process.env.NODE_ENV!=="production"?"vModelText":""),Th=Symbol(process.env.NODE_ENV!=="production"?"vModelSelect":""),Il=Symbol(process.env.NODE_ENV!=="production"?"vModelDynamic":""),Vh=Symbol(process.env.NODE_ENV!=="production"?"vOnModifiersGuard":""),kh=Symbol(process.env.NODE_ENV!=="production"?"vOnKeysGuard":""),Ah=Symbol(process.env.NODE_ENV!=="production"?"vShow":""),Ma=Symbol(process.env.NODE_ENV!=="production"?"Transition":""),Ih=Symbol(process.env.NODE_ENV!=="production"?"TransitionGroup":"");by({[Ch]:"vModelRadio",[Dh]:"vModelCheckbox",[xh]:"vModelText",[Th]:"vModelSelect",[Il]:"vModelDynamic",[Vh]:"withModifiers",[kh]:"withKeys",[Ah]:"vShow",[Ma]:"Transition",[Ih]:"TransitionGroup"});let Vs;function X0(e,t=!1){return Vs||(Vs=document.createElement("div")),t?(Vs.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Vs.children[0].getAttribute("foo")):(Vs.innerHTML=e,Vs.textContent)}const Q0={parseMode:"html",isVoidTag:wp,isNativeTag:e=>Au(e)||Iu(e)||Mu(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:X0,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return Ma;if(e==="TransitionGroup"||e==="transition-group")return Ih},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},eE=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:ce("style",!0,t.loc),exp:tE(t.value.content,t.loc),modifiers:[],loc:t.loc})})},tE=(e,t)=>{const n=ku(e);return ce(JSON.stringify(n),!1,t,3)};function Kt(e,t){return Se(e,t,process.env.NODE_ENV!=="production"?nE:void 0)}const nE={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},sE=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Kt(54,i)),t.children.length&&(n.onError(Kt(55,i)),t.children.length=0),{props:[Be(ce("innerHTML",!0,i),s||ce("",!0))]}},iE=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Kt(56,i)),t.children.length&&(n.onError(Kt(57,i)),t.children.length=0),{props:[Be(ce("textContent",!0),s?Dt(s,n)>0?s:We(n.helperString(Oo),[s],i):ce("",!0))]}},rE=(e,t,n)=>{const s=wh(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(Kt(59,e.arg.loc));function i(){const l=St(t,"bind");l&&Wn(l.arg,"value")&&n.onError(Kt(61,l.loc))}const{tag:r}=t,o=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||o){let l=xh,a=!1;if(r==="input"||o){const c=ji(t,"type");if(c){if(c.type===7)l=Il;else if(c.value)switch(c.value.content){case"radio":l=Ch;break;case"checkbox":l=Dh;break;case"file":a=!0,n.onError(Kt(60,e.loc));break;default:process.env.NODE_ENV!=="production"&&i();break}}else Py(t)?l=Il:process.env.NODE_ENV!=="production"&&i()}else r==="select"?l=Th:process.env.NODE_ENV!=="production"&&i();a||(s.needRuntime=n.helper(l))}else n.onError(Kt(58,e.loc));return s.props=s.props.filter(l=>!(l.key.type===4&&l.key.content==="modelValue")),s},oE=et("passive,once,capture"),lE=et("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),aE=et("left,right"),Mh=et("onkeyup,onkeydown,onkeypress"),cE=(e,t,n,s)=>{const i=[],r=[],o=[];for(let l=0;l<t.length;l++){const a=t[l].content;a==="native"&&ni("COMPILER_V_ON_NATIVE",n,s)||oE(a)?o.push(a):aE(a)?Ot(e)?Mh(e.content.toLowerCase())?i.push(a):r.push(a):(i.push(a),r.push(a)):lE(a)?r.push(a):i.push(a)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}},cu=(e,t)=>Ot(e)&&e.content.toLowerCase()==="onclick"?ce(t,!0):e.type!==4?zt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,uE=(e,t,n)=>Oh(e,t,n,s=>{const{modifiers:i}=e;if(!i.length)return s;let{key:r,value:o}=s.props[0];const{keyModifiers:l,nonKeyModifiers:a,eventOptionModifiers:c}=cE(r,i,n,e.loc);if(a.includes("right")&&(r=cu(r,"onContextmenu")),a.includes("middle")&&(r=cu(r,"onMouseup")),a.length&&(o=We(n.helper(Vh),[o,JSON.stringify(a)])),l.length&&(!Ot(r)||Mh(r.content.toLowerCase()))&&(o=We(n.helper(kh),[o,JSON.stringify(l)])),c.length){const u=c.map(an).join("");r=Ot(r)?ce(`${r.content}${u}`,!0):zt(["(",r,`) + "${u}"`])}return{props:[Be(r,o)]}}),fE=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Kt(62,i)),{props:[],needRuntime:n.helper(Ah)}},dE=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===Ma)return()=>{if(!e.children.length)return;Ph(e)&&t.onError(Kt(63,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}));const s=e.children[0];if(s.type===1)for(const i of s.props)i.type===7&&i.name==="show"&&e.props.push({type:6,name:"persisted",nameLoc:e.loc,value:void 0,loc:e.loc})}};function Ph(e){const t=e.children=e.children.filter(s=>!ka(s)),n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some(Ph)}const hE=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&(process.env.NODE_ENV!=="production"&&t.onError(Kt(64,e.loc)),t.removeNode())};function pE(e,t){return e==="template"?!0:e in uu?uu[e].has(t):t in fu?fu[t].has(e):!(e in du&&du[e].has(t)||t in hu&&hu[t].has(e))}const ks=new Set(["h1","h2","h3","h4","h5","h6"]),rs=new Set([]),uu={head:new Set(["base","basefront","bgsound","link","meta","title","noscript","noframes","style","script","template"]),optgroup:new Set(["option"]),select:new Set(["optgroup","option","hr"]),table:new Set(["caption","colgroup","tbody","tfoot","thead"]),tr:new Set(["td","th"]),colgroup:new Set(["col"]),tbody:new Set(["tr"]),thead:new Set(["tr"]),tfoot:new Set(["tr"]),script:rs,iframe:rs,option:rs,textarea:rs,style:rs,title:rs},fu={html:rs,body:new Set(["html"]),head:new Set(["html"]),td:new Set(["tr"]),colgroup:new Set(["table"]),caption:new Set(["table"]),tbody:new Set(["table"]),tfoot:new Set(["table"]),col:new Set(["colgroup"]),th:new Set(["tr"]),thead:new Set(["table"]),tr:new Set(["tbody","thead","tfoot"]),dd:new Set(["dl","div"]),dt:new Set(["dl","div"]),figcaption:new Set(["figure"]),summary:new Set(["details"]),area:new Set(["map"])},du={p:new Set(["address","article","aside","blockquote","center","details","dialog","dir","div","dl","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","menu","ol","p","pre","section","table","ul"]),svg:new Set(["b","blockquote","br","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","hr","i","img","li","menu","meta","ol","p","pre","ruby","s","small","span","strong","sub","sup","table","u","ul","var"])},hu={a:new Set(["a"]),button:new Set(["button"]),dd:new Set(["dd","dt"]),dt:new Set(["dd","dt"]),form:new Set(["form"]),li:new Set(["li"]),h1:ks,h2:ks,h3:ks,h4:ks,h5:ks,h6:ks},mE=(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!pE(t.parent.tag,e.tag)){const n=new SyntaxError(`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);n.loc=e.loc,t.onWarn(n)}},gE=[eE,...process.env.NODE_ENV!=="production"?[dE,mE]:[]],vE={cloak:Y0,html:sE,text:iE,model:rE,on:uE,show:fE};function yE(e,t={}){return Z0(e,oe({},Q0,t,{nodeTransforms:[hE,...gE,...t.nodeTransforms||[]],directiveTransforms:oe({},vE,t.directiveTransforms||{}),transformHoist:null}))}function EE(){Nd()}process.env.NODE_ENV!=="production"&&EE();const pu=Object.create(null);function _E(e,t){if(!te(e))if(e.nodeType)e=e.innerHTML;else return process.env.NODE_ENV!=="production"&&Pe("invalid template option: ",e),ke;const n=fp(e,t),s=pu[n];if(s)return s;if(e[0]==="#"){const a=document.querySelector(e);process.env.NODE_ENV!=="production"&&!a&&Pe(`Template element not found or is empty: ${e}`),e=a?a.innerHTML:""}const i=oe({hoistStatic:!0,onError:process.env.NODE_ENV!=="production"?o:void 0,onWarn:process.env.NODE_ENV!=="production"?a=>o(a,!0):ke},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=a=>!!customElements.get(a));const{code:r}=yE(e,i);function o(a,c=!1){const u=c?a.message:`Template compilation error: ${a.message}`,f=a.loc&&mp(e,a.loc.start.offset,a.loc.end.offset);Pe(f?`${u}
|
|
34
|
+
${f}`:u)}const l=new Function("Vue",r)(my);return l._rc=!0,pu[n]=l}yd(_E);const bE=pt({name:"kx-loading",props:{text:String,customClass:{type:String,default:""},customStyle:{default:()=>({})},size:{type:String,default:"medium"}},setup(e,{emit:t}){const n=ne(!1),s=ne([{id:0,delay:0},{id:1,delay:.15},{id:2,delay:.3}]),i=c=>`${c}px`,r=ie(()=>({medium:{width:4,height:10},mini:{width:2,height:6}})[e.size]),o=ie(()=>{const c=r.value;return{"--column-width":i(c.width),"--column-height":i(c.height),width:i(c.width*2*3)}}),l=function(c){return{left:i(c*r.value.width*2),backgroundColor:"#327dff",animationDelay:`${.15*c}s`}};function a(){t("after-leave")}return{visible:n,animateOptions:s,getColumnStyle:l,handleAfterLeave:a,containerStyle:o}}}),kn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},NE={key:0,class:"m-loading-text"};function SE(e,t,n,s,i,r){return fe(),Wt(ca,{name:"xfade",onAfterLeave:e.handleAfterLeave},{default:rn(()=>[zn(ae("div",{class:xe(["m-loading-mask",[e.customClass]]),style:qe(e.customStyle)},[ae("div",{class:"loading-animate",style:qe(e.containerStyle)},[(fe(!0),Ce(we,null,hs(e.animateOptions,(o,l)=>(fe(),Ce("div",{key:o.id,class:"loading-animate-column",style:qe(e.getColumnStyle(l))},null,4))),128))],4),e.text?(fe(),Ce("p",NE,sn(e.text),1)):Cn("",!0)],6),[[Gn,e.visible]])]),_:1},8,["onAfterLeave"])}const OE=kn(bE,[["render",SE],["__scopeId","data-v-da721280"]]),qo={create(e,t){const n=document.createElement("div"),s=Br(OE,t),i=s.mount(n);e._loadingInstance={app:s,vm:i,dom:n}},destroy(e){const t=e._loadingInstance;t&&(t.app.unmount(),t.dom.remove(),delete e._loadingInstance)},getLoadingDom(e){return e._loadingInstance?.dom}},Go=(e,t)=>{const n=e._loadingInstance;n&&(n.vm.visible=t)},wE=(e,t)=>{if(!e||!t)return null;try{const n=document.defaultView?.getComputedStyle(e,"");return(e.style[t]||n?.[t])??null}catch{return e.style[t]}},CE={mounted(e,t){const n=wE(e,"position"),{modifiers:s}=t;!s?.fullscreen&&(!n||n==="static")&&e.classList.add("m-loading-parent--relative");const i={};s?.mini&&(i.size="mini"),qo.create(e,i);const r=qo.getLoadingDom(e);s?.fullscreen?document.body.appendChild(r):e.appendChild(r),t.value&&Go(e,!0)},updated(e,t){t.oldValue!==t.value&&Go(e,!!t.value)},unmounted(e,t){Go(e,!1),qo.destroy(e)}},Pa=function({isMaster:e=!0,key:t="compExp"}={}){if(e){const n={},s=function(i){Object.assign(n,i)};return ql(t,{funcs:n,registerFunc:s}),{funcs:n,registerFunc:s}}else{const{funcs:n,registerFunc:s}=js(t,{funcs:{},registerFunc:(...i)=>{}});return{funcs:n,registerFunc:s}}};function DE(e,t,n){const s=new Array(e);return new Proxy(s,{get(i,r,o){if(typeof r=="string"){const l=r.charCodeAt(0);if(l>=48&&l<=57){const a=+r;if(Number.isInteger(a)&&a>=0&&a<e){let c=i[a];if(!c){const u=t[a*2];c=i[a]={index:a,key:n(a),start:u,size:t[a*2+1],end:u+t[a*2+1],lane:0}}return c}}if(r==="length")return e}return Reflect.get(i,r,o)}})}function As(e,t,n){let s=n.initialDeps??[],i,r=!0;function o(){var l;const a=process.env.NODE_ENV!=="production"&&!!n.key&&!!((l=n.debug)!=null&&l.call(n));let c=0;a&&(c=Date.now());const u=e();if(!(u.length!==s.length||u.some((h,m)=>s[m]!==h)))return i;s=u;let d=0;if(a&&(d=Date.now()),i=t(...u),a){const h=Math.round((Date.now()-c)*100)/100,m=Math.round((Date.now()-d)*100)/100,p=m/16,S=(N,E)=>{for(N=String(N);N.length<E;)N=" "+N;return N};console.info(`%c⏱ ${S(m,5)} /${S(h,5)} ms`,`
|
|
35
|
+
font-size: .6rem;
|
|
36
|
+
font-weight: bold;
|
|
37
|
+
color: hsl(${Math.max(0,Math.min(120-120*p,120))}deg 100% 31%);`,n?.key)}return n?.onChange&&!(r&&n.skipInitialOnChange)&&n.onChange(i),r=!1,i}return o.updateDeps=l=>{s=l},o}function mu(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const xE=(e,t)=>Math.abs(e-t)<1.01,TE=(e,t,n)=>{let s;return function(...i){e.clearTimeout(s),s=e.setTimeout(()=>t.apply(this,i),n)}};let di;const Jo=()=>{if(di!==void 0)return di;if(typeof navigator>"u")return di=!1;if(/iP(hone|od|ad)/.test(navigator.userAgent))return di=!0;const e=navigator.maxTouchPoints;return di=navigator.platform==="MacIntel"&&e!==void 0&&e>0},gu=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},VE=e=>e,kE=e=>{const t=Math.max(e.startIndex-e.overscan,0),s=Math.min(e.endIndex+e.overscan,e.count-1)-t+1,i=new Array(s);for(let r=0;r<s;r++)i[r]=t+r;return i},AE=(e,t)=>{const n=e.scrollElement;if(!n)return;const s=e.targetWindow;if(!s)return;const i=o=>{const{width:l,height:a}=o;t({width:Math.round(l),height:Math.round(a)})};if(i(gu(n)),!s.ResizeObserver)return()=>{};const r=new s.ResizeObserver(o=>{const l=()=>{const a=o[0];if(a?.borderBoxSize){const c=a.borderBoxSize[0];if(c){i({width:c.inlineSize,height:c.blockSize});return}}i(gu(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(l):l()});return r.observe(n,{box:"border-box"}),()=>{r.unobserve(n)}},Xr={passive:!0},IE=typeof window>"u"?!0:"onscrollend"in window,ME=(e,t,n)=>{const s=e.scrollElement;if(!s)return;const i=e.targetWindow;if(!i)return;const r=e.options.useScrollendEvent&&IE;let o=0;const l=r?null:TE(i,()=>t(o,!1),e.options.isScrollingResetDelay),a=f=>()=>{o=n(s),l?.(),t(o,f)},c=a(!0),u=a(!1);return s.addEventListener("scroll",c,Xr),r&&s.addEventListener("scrollend",u,Xr),()=>{s.removeEventListener("scroll",c),r&&s.removeEventListener("scrollend",u)}},PE=(e,t)=>ME(e,t,n=>{const{horizontal:s,isRtl:i}=e.options;return s?n.scrollLeft*(i&&-1||1):n.scrollTop}),LE=(e,t,n)=>{if(n.options.useCachedMeasurements){const s=n.indexFromElement(e),i=n.options.getItemKey(s);return n.itemSizeCache.get(i)??n.options.estimateSize(s)}if(t?.borderBoxSize){const s=t.borderBoxSize[0];if(s)return Math.round(s[n.options.horizontal?"inlineSize":"blockSize"])}if(!t){const s=n.indexFromElement(e),i=n.options.getItemKey(s),r=n.itemSizeCache.get(i);if(r!==void 0)return r}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},FE=(e,{adjustments:t=0,behavior:n},s)=>{var i,r;(r=(i=s.scrollElement)==null?void 0:i.scrollTo)==null||r.call(i,{[s.options.horizontal?"left":"top"]:e+t,behavior:n})},RE=FE;class $E{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this._flatMeasurements=null,this.itemSizeCache=new Map,this.itemSizeCacheVersion=0,this.laneAssignments=new Map,this.pendingMin=null,this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.pendingScrollAnchor=null,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._intendedScrollOffset=null,this.elementsCache=new Map,this.now=()=>{var n,s,i;return((i=(s=(n=this.targetWindow)==null?void 0:n.performance)==null?void 0:s.now)==null?void 0:i.call(s))??Date.now()},this.observer=(()=>{let n=null;const s=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(i=>{i.forEach(r=>{const o=()=>{const l=r.target,a=this.indexFromElement(l);if(!l.isConnected){this.observer.unobserve(l);for(const[c,u]of this.elementsCache)if(u===l){this.elementsCache.delete(c);break}return}this.shouldMeasureDuringScroll(a)&&this.resizeItem(a,this.options.measureElement(l,r,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(o):o()})}));return{disconnect:()=>{var i;(i=s())==null||i.disconnect(),n=null},observe:i=>{var r;return(r=s())==null?void 0:r.observe(i,{box:"border-box"})},unobserve:i=>{var r;return(r=s())==null?void 0:r.unobserve(i)}}})(),this.range=null,this.setOptions=n=>{var s,i;const r={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:VE,rangeExtractor:kE,onChange:()=>{},measureElement:LE,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,anchorTo:"start",followOnAppend:!1,scrollEndThreshold:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:"estimate",useCachedMeasurements:!1};for(const d in n){const h=n[d];h!==void 0&&(r[d]=h)}const o=this.options;let l=null,a=null,c=!1;if(o!==void 0&&o.enabled&&r.enabled&&r.anchorTo==="end"&&this.scrollElement!==null){const d=o.count,h=r.count,m=this.getMeasurements(),p=d>0?((s=m[0])==null?void 0:s.key)??o.getItemKey(0):null,S=d>0?((i=m[d-1])==null?void 0:i.key)??o.getItemKey(d-1):null;if(h!==d||d>0&&h>0&&(r.getItemKey(0)!==p||r.getItemKey(h-1)!==S)){c=!0;const g=d>0?this.getVirtualItemForOffset(this.getScrollOffset())??m[0]:null;g&&(l=[g.key,this.getScrollOffset()-g.start]);const _=r.followOnAppend===!0?"auto":r.followOnAppend||null;_&&h>d&&this.isAtEnd(o.scrollEndThreshold)&&(d===0||r.getItemKey(h-1)!==S)&&(a=_)}}this.options=r,c&&(this.pendingMin=0,this.itemSizeCacheVersion++);let u=!1,f=0;if(l&&this.scrollOffset!==null){const[d,h]=l,m=this.getMeasurements(),{count:p,getItemKey:S}=this.options;let N=0;for(;N<p&&S(N)!==d;)N++;if(N<p){const E=m[N];if(E){const g=E.start+h;g!==this.scrollOffset&&(f=g-this.scrollOffset,this.scrollOffset=g,u=!0)}}}(u||a)&&(this.pendingScrollAnchor=[u?l[0]:null,u?l[1]:0,a,f])},this.notify=n=>{var s,i;(i=(s=this.options).onChange)==null||i.call(s,this,n)},this.maybeNotify=As(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:process.env.NODE_ENV!=="production"&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.maybeNotify();return}if(this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(r=>{this.observer.observe(r)}),this.unsubs.push(this.options.observeElementRect(this,r=>{this.scrollRect=r,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(r,o)=>{if(o&&this._intendedScrollOffset===null&&r===this.scrollOffset)return;this._intendedScrollOffset!==null&&Math.abs(r-this._intendedScrollOffset)<1.5&&(r=this._intendedScrollOffset),this._intendedScrollOffset=null,this.scrollAdjustments=0;const l=this.getScrollOffset();this.scrollDirection=o?l===r?this.scrollDirection:l<r?"forward":"backward":null,this.scrollOffset=r,this.isScrolling=o,this._flushIosDeferredIfReady(),this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),"addEventListener"in this.scrollElement){const r=this.scrollElement,o=()=>{this._iosTouching=!0,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)},l=()=>{this._iosTouching=!1,!(!Jo()||this.targetWindow==null)&&(this._iosJustTouchEnded=!0,this._iosTouchEndTimerId=this.targetWindow.setTimeout(()=>{this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._flushIosDeferredIfReady()},150))};r.addEventListener("touchstart",o,Xr),r.addEventListener("touchend",l,Xr),this.unsubs.push(()=>{r.removeEventListener("touchstart",o),r.removeEventListener("touchend",l),this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)})}this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}const i=this.pendingScrollAnchor;if(this.pendingScrollAnchor=null,i&&this.scrollElement&&this.options.enabled){const[r,o,l,a]=i;r!==null&&!l&&(Jo()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?a!==0&&(this._iosDeferredAdjustment+=a):this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})),l&&this.scrollToEnd({behavior:l})}},this._flushIosDeferredIfReady=()=>{if(this._iosDeferredAdjustment===0||this.isScrolling||this._iosTouching||this._iosJustTouchEnded)return;const n=this.getScrollOffset(),s=this.getMaxScrollOffset();if(n<0||n>s)return;const i=this._iosDeferredAdjustment;this._iosDeferredAdjustment=0,this._scrollToOffset(n,{adjustments:this.scrollAdjustments+=i,behavior:void 0})},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getMeasurementOptions=As(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode,this.options.gap],(n,s,i,r,o,l,a,c)=>(this.prevLanes!==void 0&&this.prevLanes!==l&&(this.lanesChangedFlag=!0),this.prevLanes=l,this.pendingMin=null,{count:n,paddingStart:s,scrollMargin:i,getItemKey:r,enabled:o,lanes:l,laneAssignmentMode:a,gap:c}),{key:!1}),this.getMeasurements=As(()=>[this.getMeasurementOptions(),this.itemSizeCacheVersion],({count:n,paddingStart:s,scrollMargin:i,getItemKey:r,enabled:o,lanes:l,laneAssignmentMode:a,gap:c},u)=>{const f=this.itemSizeCache;if(!o)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>n)for(const N of this.laneAssignments.keys())N>=n&&this.laneAssignments.delete(N);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMin=null),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(N=>{this.itemSizeCache.set(N.key,N.size)}));const d=this.lanesSettling?0:this.pendingMin??0;if(this.pendingMin=null,this.lanesSettling&&this.measurementsCache.length===n&&(this.lanesSettling=!1),l===1){const N=n*2;let E=this._flatMeasurements;if(!E||E.length<N){const y=new Float64Array(N);E&&d>0&&y.set(E.subarray(0,d*2)),E=y,this._flatMeasurements=E}let g;if(d===0)g=s+i;else{const y=d-1;g=E[y*2]+E[y*2+1]+c}for(let y=d;y<n;y++){const w=r(y),P=f.get(w),T=typeof P=="number"?P:this.options.estimateSize(y);E[y*2]=g,E[y*2+1]=T,g+=T+c}const _=DE(n,E,r);return this.measurementsCache=_,_}const h=this.measurementsCache.slice(0,d),m=new Array(l).fill(void 0),p=new Float64Array(l);let S=0;for(let N=0;N<d;N++){const E=h[N];E&&(m[E.lane]===void 0&&S++,m[E.lane]=N,p[E.lane]=E.end)}for(let N=d;N<n;N++){const E=r(N),g=this.laneAssignments.get(N);let _,y;const w=a==="estimate"||f.has(E);if(g!==void 0&&this.options.lanes>1){_=g;const D=m[_],I=D!==void 0?h[D]:void 0;y=I?I.end+c:s+i}else if(S===l){let D=0,I=p[0],C=m[0];for(let R=1;R<l;R++){const G=p[R];(G<I||G===I&&m[R]<C)&&(D=R,I=G,C=m[R])}_=D,y=I+c,w&&this.laneAssignments.set(N,_)}else _=N%this.options.lanes,y=s+i,w&&this.laneAssignments.set(N,_);const P=f.get(E),T=typeof P=="number"?P:this.options.estimateSize(N),O=y+T;h[N]={index:N,start:y,size:T,end:O,key:E,lane:_},m[_]===void 0&&S++,m[_]=N,p[_]=O}return this.measurementsCache=h,h},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=As(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,s,i,r)=>n.length===0||s===0?(this.range=null,null):(this.range=HE(n,s,i,r,r===1&&this._flatMeasurements!=null?this._flatMeasurements:null),this.range),{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=As(()=>{let n=null,s=null;const i=this.calculateRange();return i&&(n=i.startIndex,s=i.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,s]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,s]},(n,s,i,r,o)=>r===null||o===null?[]:n({startIndex:r,endIndex:o,overscan:s,count:i}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=n=>{const s=this.options.indexAttribute,i=n.getAttribute(s);return i?parseInt(i,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=n=>{var s;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const i=this.scrollState.index??((s=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:s.index);if(i!==void 0&&this.range){const r=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),o=Math.max(0,i-r),l=Math.min(this.options.count-1,i+r);return n>=o&&n<=l}return!0},this.measureElement=n=>{if(!n){this.elementsCache.forEach((o,l)=>{o.isConnected||(this.observer.unobserve(o),this.elementsCache.delete(l))});return}const s=this.indexFromElement(n),i=this.options.getItemKey(s),r=this.elementsCache.get(i);r!==n&&(r&&this.observer.unobserve(r),this.observer.observe(n),this.elementsCache.set(i,n)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(s)&&this.resizeItem(s,this.options.measureElement(n,void 0,this))},this.resizeItem=(n,s)=>{var i,r;if(n<0||n>=this.options.count)return;let o,l,a;const c=this._flatMeasurements;if(this.options.lanes===1&&c!==null)a=this.options.getItemKey(n),l=c[n*2],o=c[n*2+1];else{const d=this.measurementsCache[n];if(!d)return;a=d.key,l=d.start,o=d.size}const u=this.itemSizeCache.get(a)??o,f=s-u;if(f!==0){const d=this.options.anchorTo==="end"&&((i=this.scrollState)==null?void 0:i.behavior)!=="smooth"&&this.getVirtualDistanceFromEnd()<=this.options.scrollEndThreshold,h=d?this.getTotalSize():0,m=((r=this.scrollState)==null?void 0:r.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(this.measurementsCache[n]??{index:n,key:a,start:l,size:o,end:l+o,lane:0},f,this):l<this.getScrollOffset()+this.scrollAdjustments&&(!this.itemSizeCache.has(a)||this.scrollDirection!=="backward"));(this.pendingMin===null||n<this.pendingMin)&&(this.pendingMin=n),this.itemSizeCache.set(a,s),this.itemSizeCacheVersion++,d?this.applyScrollAdjustment(this.getTotalSize()-h):m&&this.applyScrollAdjustment(f),this.notify(!1)}},this.getVirtualItems=As(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,s)=>{const i=[];for(let r=0,o=n.length;r<o;r++){const l=n[r],a=s[l];i.push(a)}return i},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const s=this.getMeasurements();if(s.length===0)return;const i=this._flatMeasurements,r=this.options.lanes===1&&i!=null,o=Lh(0,s.length-1,r?l=>i[l*2]:l=>mu(s[l]).start,n);return mu(s[o])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const n=this.scrollElement.document.documentElement;return this.options.horizontal?n.scrollWidth-this.scrollElement.innerWidth:n.scrollHeight-this.scrollElement.innerHeight}},this.getVirtualDistanceFromEnd=()=>Math.max(this.getTotalSize()-this.getSize()-this.getScrollOffset(),0),this.getDistanceFromEnd=()=>Math.max(this.getMaxScrollOffset()-this.getScrollOffset(),0),this.isAtEnd=(n=this.options.scrollEndThreshold)=>this.getDistanceFromEnd()<=n,this.getOffsetForAlignment=(n,s,i=0)=>{if(!this.scrollElement)return 0;const r=this.getSize(),o=this.getScrollOffset();s==="auto"&&(s=n>=o+r?"end":"start"),s==="center"?n+=(i-r)/2:s==="end"&&(n-=r);const l=this.getMaxScrollOffset();return Math.max(Math.min(l,n),0)},this.getOffsetForIndex=(n,s="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const i=this.getSize(),r=this.getScrollOffset(),o=this.measurementsCache[n];if(!o)return;if(s==="auto")if(o.end>=r+i-this.options.scrollPaddingEnd)s="end";else if(o.start<=r+this.options.scrollPaddingStart)s="start";else return[r,s];if(s==="end"&&n===this.options.count-1)return[this.getMaxScrollOffset(),s];const l=s==="end"?o.end+this.options.scrollPaddingEnd:o.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(l,s,o.size),s]},this.scrollToOffset=(n,{align:s="start",behavior:i="auto"}={})=>{const r=this.getOffsetForAlignment(n,s),o=this.now();this.scrollState={index:null,align:s,behavior:i,startedAt:o,lastTargetOffset:r,stableFrames:0},this._scrollToOffset(r,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollToIndex=(n,{align:s="auto",behavior:i="auto"}={})=>{n=Math.max(0,Math.min(n,this.options.count-1));const r=this.getOffsetForIndex(n,s);if(!r)return;const[o,l]=r,a=this.now();this.scrollState={index:n,align:l,behavior:i,startedAt:a,lastTargetOffset:o,stableFrames:0},this._scrollToOffset(o,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollBy=(n,{behavior:s="auto"}={})=>{const i=this.getScrollOffset()+n,r=this.now();this.scrollState={index:null,align:"start",behavior:s,startedAt:r,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:s}),this.scheduleScrollReconcile()},this.scrollToEnd=({behavior:n="auto"}={})=>{if(this.options.count>0){this.scrollToIndex(this.options.count-1,{align:"end",behavior:n});return}this.scrollToOffset(Math.max(this.getTotalSize()-this.getSize(),0),{behavior:n})},this.getTotalSize=()=>{var n;const s=this.getMeasurements();let i;if(s.length===0)i=this.options.paddingStart;else if(this.options.lanes===1){const r=s.length-1,o=this._flatMeasurements;o!=null?i=o[r*2]+o[r*2+1]:i=((n=s[r])==null?void 0:n.end)??0}else{const r=Array(this.options.lanes).fill(null);let o=s.length-1;for(;o>=0&&r.some(l=>l===null);){const l=s[o];r[l.lane]===null&&(r[l.lane]=l.end),o--}i=Math.max(...r.filter(l=>l!==null))}return Math.max(i-this.options.scrollMargin+this.options.paddingEnd,0)},this.takeSnapshot=()=>{const n=[];if(this.itemSizeCache.size===0)return n;const s=this.getMeasurements();for(const i of s)i&&this.itemSizeCache.has(i.key)&&n.push({index:i.index,key:i.key,start:i.start,size:i.size,end:i.end,lane:i.lane});return n},this._scrollToOffset=(n,{adjustments:s,behavior:i})=>{this._intendedScrollOffset=n+(s??0),this.options.scrollToFn(n,{behavior:i,adjustments:s},this)},this.measure=()=>{this.pendingMin=null,this.itemSizeCache.clear(),this.laneAssignments.clear(),this.itemSizeCacheVersion++,this.notify(!1)},this.setOptions(t)}applyScrollAdjustment(t,n){t!==0&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",t),Jo()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?this._iosDeferredAdjustment+=t:(this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=t,behavior:n}),this.scrollOffset!==null&&(this.scrollOffset+=this.scrollAdjustments,this.scrollAdjustments=0)))}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const s=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,i=s?s[0]:this.scrollState.lastTargetOffset,r=1,o=i!==this.scrollState.lastTargetOffset;if(!o&&xE(i,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=r){this.getScrollOffset()!==i&&this._scrollToOffset(i,{adjustments:void 0,behavior:"auto"}),this.scrollState=null;return}}else if(this.scrollState.stableFrames=0,o){const l=this.getSize()||600,a=Math.abs(i-this.getScrollOffset()),c=this.scrollState.behavior==="smooth"&&a>l;this.scrollState.lastTargetOffset=i,c||(this.scrollState.behavior="auto"),this._scrollToOffset(i,{adjustments:void 0,behavior:c?"smooth":"auto"})}this.scheduleScrollReconcile()}}const Lh=(e,t,n,s)=>{for(;e<=t;){const i=(e+t)/2|0,r=n(i);if(r<s)e=i+1;else if(r>s)t=i-1;else return i}return e>0?e-1:0};function jE(e,t,n){let s=0;for(;s<=t;){const i=(s+t)/2|0,r=e[i*2];if(r<n)s=i+1;else if(r>n)t=i-1;else return i}return s>0?s-1:0}function HE(e,t,n,s,i){const r=e.length-1;if(e.length<=s)return{startIndex:0,endIndex:r};if(s===1&&i!==null){const c=jE(i,r,n);let u=c;const f=n+t;for(;u<r&&i[u*2]+i[u*2+1]<f;)u++;return{startIndex:c,endIndex:u}}let l=Lh(0,r,c=>e[c].start,n),a=l;if(s===1)for(;a<r&&e[a].end<n+t;)a++;else if(s>1){const c=Array(s).fill(0);for(;a<r&&c.some(f=>f<n+t);){const f=e[a];c[f.lane]=f.end,a++}const u=Array(s).fill(n+t);for(;l>=0&&u.some(f=>f>=n);){const f=e[l];u[f.lane]=f.start,l--}l=Math.max(0,l-l%s),a=Math.min(r,a+(s-1-a%s))}return{startIndex:l,endIndex:a}}function BE(e){const t=new $E(Y(e)),n=Un(t),s=t._didMount();return ft(()=>Y(e).getScrollElement(),i=>{i&&t._willUpdate()},{immediate:!0}),ft(()=>Y(e),i=>{t.setOptions({...i,onChange:(r,o)=>{var l;nl(n),(l=i.onChange)==null||l.call(i,r,o)}}),t._willUpdate(),nl(n)},{immediate:!0}),ju(s),n}function KE(e){return BE(ie(()=>({observeElementRect:AE,observeElementOffset:PE,scrollToFn:RE,...Y(e)})))}const Fh=function({isMaster:e=!0}={}){return{...Pa({isMaster:e,key:"virtualExp"})}},UE=pt({name:"VirtualScroll",props:{items:{required:!0,type:Array},itemSize:{required:!0,type:[Number,Function]},keyField:{default:"key",type:String},overscan:{default:5,type:Number}},setup(e,{emit:t}){const n=ne(null),s=ie(()=>({count:e.items.length||0,getScrollElement:()=>n.value,estimateSize:d=>{const h=typeof e.itemSize=="function"?e.itemSize(e.items[d],d):e.itemSize;return Math.max(0,Number(h)||0)},getItemKey:d=>e.items[d]?.[e.keyField]??d,overscan:e.overscan})),i=KE(s),r=ie(()=>i.value?.getTotalSize()||0),o=ie(()=>(i.value?.getVirtualItems()||[]).map(h=>{const m=e.items[h.index];return{...h,key:m?.[e.keyField]??h.key}})),l=()=>i.value,{registerFunc:a}=Fh({isMaster:!1});a({virtualer:i,resizeItem(d,h){const m=e.items.findIndex(p=>p[e.keyField]===d);i.value.resizeItem(m,h)}});let c=0,u=0;function f(d){const{scrollTop:h,scrollLeft:m}=d.target;h!==c&&(c=h,t("scrollY",{scrollTop:h,evt:d})),m!==u&&(u=m,t("scrollX",{scrollLeft:m,evt:d}))}return{scrollCtn:n,onScroll:f,totalHeight:r,virtualItems:o,getVirtualer:l}}});function WE(e,t,n,s,i,r){return fe(),Ce("div",{class:"scroll-wrapper",ref:"scrollCtn",onScroll:t[0]||(t[0]=(...o)=>e.onScroll&&e.onScroll(...o))},[ae("div",{class:"scroll-inner-wrapper",style:qe({height:e.totalHeight+"px",position:"relative"})},[(fe(!0),Ce(we,null,hs(e.virtualItems,o=>(fe(),Ce("div",{class:"virtual-item",key:o.key,style:qe({height:`${o.size}px`,transform:`translateY(${o.start}px)`})},[Bn(e.$slots,"default",{item:e.items[o.index],index:o.index},void 0,!0)],4))),128))],4)],544)}const zE=kn(UE,[["render",WE],["__scopeId","data-v-2acac909"]]),qE={like(e,t){return t?e?String(e).trim().toLowerCase().includes(String(t).trim().toLowerCase()):!1:!0}},GE=globalThis.crypto.randomUUID?()=>crypto.randomUUID():()=>`${Date.now()}-${Math.random().toString(16).slice(2)}`,vu=typeof globalThis=="object"&&globalThis||typeof window=="object"&&window||typeof self=="object"&&self||typeof global=="object"&&global||(function(){return this})();function JE(e,t,{signal:n,edges:s}={}){let i,r=null;const o=s!=null&&s.includes("leading"),l=s==null||s.includes("trailing"),a=()=>{r!==null&&(e.apply(i,r),i=void 0,r=null)},c=()=>{l&&a(),h()};let u=null;const f=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,c()},t)},d=()=>{u!==null&&(clearTimeout(u),u=null)},h=()=>{d(),i=void 0,r=null},m=()=>{a()},p=function(...S){if(n?.aborted)return;i=this,r=S;const N=u==null;f(),o&&N&&a()};return p.schedule=f,p.cancel=h,p.flush=m,n?.addEventListener("abort",h,{once:!0}),p}function ZE(e){return e==null||typeof e!="object"&&typeof e!="function"}function YE(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function XE(e){return typeof vu.Buffer<"u"&&vu.Buffer.isBuffer(e)}function QE(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function e_(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const t_="[object RegExp]",n_="[object String]",s_="[object Number]",i_="[object Boolean]",r_="[object Arguments]",o_="[object Symbol]",l_="[object Date]",a_="[object Map]",c_="[object Set]",u_="[object Array]",f_="[object ArrayBuffer]",d_="[object Object]",h_="[object DataView]",p_="[object Uint8Array]",m_="[object Uint8ClampedArray]",g_="[object Uint16Array]",v_="[object Uint32Array]",y_="[object Int8Array]",E_="[object Int16Array]",__="[object Int32Array]",b_="[object Float32Array]",N_="[object Float64Array]";function Ps(e,t,n,s=new Map,i=void 0){const r=i?.(e,t,n,s);if(r!==void 0)return r;if(ZE(e))return e;if(s.has(e))return s.get(e);if(Array.isArray(e)){const o=new Array(e.length);s.set(e,o);for(let l=0;l<e.length;l++)o[l]=Ps(e[l],l,n,s,i);return Object.hasOwn(e,"index")&&(o.index=e.index),Object.hasOwn(e,"input")&&(o.input=e.input),o}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){const o=new RegExp(e.source,e.flags);return o.lastIndex=e.lastIndex,o}if(e instanceof Map){const o=new Map;s.set(e,o);for(const[l,a]of e)o.set(l,Ps(a,l,n,s,i));return o}if(e instanceof Set){const o=new Set;s.set(e,o);for(const l of e)o.add(Ps(l,void 0,n,s,i));return o}if(XE(e))return e.subarray();if(YE(e)){const o=new(Object.getPrototypeOf(e)).constructor(e.length);s.set(e,o);for(let l=0;l<e.length;l++)o[l]=Ps(e[l],l,n,s,i);return o}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){const o=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return s.set(e,o),Mn(o,e,n,s,i),o}if(typeof File<"u"&&e instanceof File){const o=new File([e],e.name,{type:e.type});return s.set(e,o),Mn(o,e,n,s,i),o}if(typeof Blob<"u"&&e instanceof Blob){const o=new Blob([e],{type:e.type});return s.set(e,o),Mn(o,e,n,s,i),o}if(e instanceof Error){const o=structuredClone(e);return s.set(e,o),o.message=e.message,o.name=e.name,o.stack=e.stack,o.cause=e.cause,o.constructor=e.constructor,Mn(o,e,n,s,i),o}if(e instanceof Boolean){const o=new Boolean(e.valueOf());return s.set(e,o),Mn(o,e,n,s,i),o}if(e instanceof Number){const o=new Number(e.valueOf());return s.set(e,o),Mn(o,e,n,s,i),o}if(e instanceof String){const o=new String(e.valueOf());return s.set(e,o),Mn(o,e,n,s,i),o}if(typeof e=="object"&&S_(e)){const o=Object.create(Object.getPrototypeOf(e));return s.set(e,o),Mn(o,e,n,s,i),o}return e}function Mn(e,t,n=e,s,i){const r=[...Object.keys(t),...QE(t)];for(let o=0;o<r.length;o++){const l=r[o],a=Object.getOwnPropertyDescriptor(e,l);(a==null||a.writable)&&(e[l]=Ps(t[l],l,n,s,i))}}function S_(e){switch(e_(e)){case r_:case u_:case f_:case h_:case i_:case l_:case b_:case N_:case y_:case E_:case __:case a_:case s_:case d_:case t_:case c_:case n_:case o_:case p_:case m_:case g_:case v_:return!0;default:return!1}}function O_(e){return Ps(e,void 0,e,new Map,void 0)}const w_={tranverse(e,t){if(!e)return;function n(s,i){if(t(s,i)===!1)return;const o=s.children||[];for(let l=0,a=o.length;l<a;l++){const c={...i};n(o[l],{...i,parent:s}),i=c}}Array.isArray(e)?e.forEach(s=>n(s,{parent:null})):n(e,{parent:null})},search(e,t,n="node"){if(!e)return null;Array.isArray(e)&&(e={__fake:!0,children:e});const s=[];function i(o){const l=o.children||[];if(!o.__fake&&s.push(o),!o.__fake&&(s.push(o),t(o)))return o;for(let a=0,c=l.length;a<c;a++){const u=i(l[a]);if(u)return u}return!o.__fake&&s.pop(),!1}const r=i(e);return r?n==="node"?r:s:!1},filter(e,t,n="node"){if(!e)return e;Array.isArray(e)&&(e={_fake:!0,children:e}),e=O_(e);function s(i,r){const o={...r};return i.children=i.children?.filter(l=>s(l,r)),r=o,t(i,r)}return e.children=e.children?.filter(i=>s(i,{})),e._fake?e.children:e}};function yu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=Array(t);n<t;n++)s[n]=e[n];return s}function C_(e){if(Array.isArray(e))return e}function D_(e,t,n){return(t=M_(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x_(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var s,i,r,o,l=[],a=!0,c=!1;try{if(r=(n=n.call(e)).next,t!==0)for(;!(a=(s=r.call(n)).done)&&(l.push(s.value),l.length!==t);a=!0);}catch(u){c=!0,i=u}finally{try{if(!a&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function T_(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
38
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Eu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,s)}return n}function _u(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Eu(Object(n),!0).forEach(function(s){D_(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eu(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function V_(e,t){if(e==null)return{};var n,s,i=k_(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(s=0;s<r.length;s++)n=r[s],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function k_(e,t){if(e==null)return{};var n={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(t.indexOf(s)!==-1)continue;n[s]=e[s]}return n}function A_(e,t){return C_(e)||x_(e,t)||P_(e,t)||T_()}function I_(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var s=n.call(e,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function M_(e){var t=I_(e,"string");return typeof t=="symbol"?t:t+""}function P_(e,t){if(e){if(typeof e=="string")return yu(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yu(e,t):void 0}}function L_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,s)}return n}function Nu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bu(Object(n),!0).forEach(function(s){L_(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bu(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function F_(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(s){return t.reduceRight(function(i,r){return r(i)},s)}}function vi(e){return function t(){for(var n=this,s=arguments.length,i=new Array(s),r=0;r<s;r++)i[r]=arguments[r];return i.length>=e.length?e.apply(this,i):function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return t.apply(n,[].concat(i,l))}}}function Qr(e){return{}.toString.call(e).includes("Object")}function R_(e){return!Object.keys(e).length}function Ki(e){return typeof e=="function"}function $_(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function j_(e,t){return Qr(t)||Zn("changeType"),Object.keys(t).some(function(n){return!$_(e,n)})&&Zn("changeField"),t}function H_(e){Ki(e)||Zn("selectorType")}function B_(e){Ki(e)||Qr(e)||Zn("handlerType"),Qr(e)&&Object.values(e).some(function(t){return!Ki(t)})&&Zn("handlersType")}function K_(e){e||Zn("initialIsRequired"),Qr(e)||Zn("initialType"),R_(e)&&Zn("initialContent")}function U_(e,t){throw new Error(e[t]||e.default)}var W_={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},Zn=vi(U_)(W_),hr={changes:j_,selector:H_,handler:B_,initial:K_};function z_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hr.initial(e),hr.handler(t);var n={current:e},s=vi(J_)(n,t),i=vi(G_)(n),r=vi(hr.changes)(e),o=vi(q_)(n);function l(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(u){return u};return hr.selector(c),c(n.current)}function a(c){F_(s,i,r,o)(c)}return[l,a]}function q_(e,t){return Ki(t)?t(e.current):t}function G_(e,t){return e.current=Nu(Nu({},e.current),t),t}function J_(e,t,n){return Ki(t)?t(e.current):Object.keys(n).forEach(function(s){var i;return(i=t[s])===null||i===void 0?void 0:i.call(t,e.current[s])}),n}var Z_={create:z_},Y_={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs"}};function X_(e){return function t(){for(var n=this,s=arguments.length,i=new Array(s),r=0;r<s;r++)i[r]=arguments[r];return i.length>=e.length?e.apply(this,i):function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return t.apply(n,[].concat(i,l))}}}function Q_(e){return{}.toString.call(e).includes("Object")}function eb(e){return e||Su("configIsRequired"),Q_(e)||Su("configType"),e.urls?(tb(),{paths:{vs:e.urls.monacoBase}}):e}function tb(){console.warn(Rh.deprecation)}function nb(e,t){throw new Error(e[t]||e.default)}var Rh={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
|
|
36
39
|
You are using deprecated way of configuration.
|
|
37
40
|
|
|
38
41
|
Instead of using
|
|
@@ -41,9 +44,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41
44
|
monaco.config({ paths: { vs: '...' } })
|
|
42
45
|
|
|
43
46
|
For more please check the link https://github.com/suren-atoyan/monaco-loader#config
|
|
44
|
-
`},
|
|
45
|
-
|
|
47
|
+
`},Su=X_(nb)(Rh),sb={config:eb},ib=function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return function(i){return n.reduceRight(function(r,o){return o(r)},i)}};function $h(e,t){return Object.keys(t).forEach(function(n){t[n]instanceof Object&&e[n]&&Object.assign(t[n],$h(e[n],t[n]))}),_u(_u({},e),t)}var rb={type:"cancelation",msg:"operation is manually canceled"};function Zo(e){var t=!1,n=new Promise(function(s,i){e.then(function(r){return t?i(rb):s(r)}),e.catch(i)});return n.cancel=function(){return t=!0},n}var ob=["monaco"],lb=Z_.create({config:Y_,isInitialized:!1,resolve:null,reject:null,monaco:null}),jh=A_(lb,2),Xi=jh[0],Do=jh[1];function ab(e){var t=sb.config(e),n=t.monaco,s=V_(t,ob);Do(function(i){return{config:$h(i.config,s),monaco:n}})}function cb(){var e=Xi(function(t){var n=t.monaco,s=t.isInitialized,i=t.resolve;return{monaco:n,isInitialized:s,resolve:i}});if(!e.isInitialized){if(Do({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),Zo(Yo);if(window.monaco&&window.monaco.editor)return Hh(window.monaco),e.resolve(window.monaco),Zo(Yo);ib(ub,db)(hb)}return Zo(Yo)}function ub(e){return document.body.appendChild(e)}function fb(e){var t=document.createElement("script");return e&&(t.src=e),t}function db(e){var t=Xi(function(s){var i=s.config,r=s.reject;return{config:i,reject:r}}),n=fb("".concat(t.config.paths.vs,"/loader.js"));return n.onload=function(){return e()},n.onerror=t.reject,n}function hb(){var e=Xi(function(n){var s=n.config,i=n.resolve,r=n.reject;return{config:s,resolve:i,reject:r}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(n){var s=n.m||n;Hh(s),e.resolve(s)},function(n){e.reject(n)})}function Hh(e){Xi().monaco||Do({monaco:e})}function pb(){return Xi(function(e){var t=e.monaco;return t})}var Yo=new Promise(function(e,t){return Do({resolve:e,reject:t})}),Bh={config:ab,init:cb,__getMonacoInstance:pb};const La=function({isMaster:e=!1}={}){return{...Pa({isMaster:e,key:"diffViewer"})}},Kh=32,Fa=18,mb=24,Ra=8,gb=pt({__name:"MonacoDiffViewer",props:{originalCode:{default:""},modifiedCode:{default:""},language:{default:"plaintext"},options:{default:()=>({})},modelOptions:{default:()=>({})}},emits:["renderComplete"],setup(e,{emit:t}){const n=e,s=t,{funcs:i}=La(),r=i.canUnchangeVisible,o=ne(null),l=Un(null),a=Un(null),c=Un(null),u=Un(null);let f=!1;return un(()=>{f=!1,(async()=>{const h=await Bh.init();if(f||!o.value)return;l.value=h,c.value=h.editor.createModel(n.originalCode,n.language),u.value=h.editor.createModel(n.modifiedCode,n.language),a.value=h.editor.createDiffEditor(o.value,{automaticLayout:!0,readOnly:!0,renderSideBySide:!0,useInlineViewWhenSpaceIsLimited:!1,scrollBeyondLastLine:!1,lineHeight:Fa,hideUnchangedRegions:{enabled:!0,contextLineCount:3},...n.options,scrollbar:{verticalScrollbarSize:8,horizontalScrollbarSize:Ra,alwaysConsumeMouseWheel:!1,...n.options.scrollbar}}),a.value.setModel({original:c.value,modified:u.value}),Object.keys(n.modelOptions).length>0&&(c.value.updateOptions(n.modelOptions),u.value.updateOptions(n.modelOptions));const m=a.value.onDidUpdateDiff(()=>{const p=a.value?.getLineChanges()??[],S=(g,_)=>_===0?0:_-g+1,N=p.reduce((g,_)=>g+S(_.modifiedStartLineNumber,_.modifiedEndLineNumber),0),E=p.reduce((g,_)=>g+S(_.originalStartLineNumber,_.originalEndLineNumber),0);i.updateChangedLines?.({added:N,removed:E}),s("renderComplete"),m.dispose()})})()}),ws(()=>{f=!0,a.value?.dispose(),c.value?.dispose(),u.value?.dispose(),a.value=null,c.value=null,u.value=null,l.value=null}),ft(()=>n.options,d=>{a.value&&a.value.updateOptions(d)},{deep:!0}),ft(()=>n.originalCode,d=>{c.value&&c.value.getValue()!==d&&c.value.setValue(d)}),ft(()=>n.modifiedCode,d=>{u.value&&u.value.getValue()!==d&&u.value.setValue(d)}),ft(()=>n.language,d=>{const h=l.value,m=c.value,p=u.value;!h||!m||!p||(h.editor.setModelLanguage(m,d),h.editor.setModelLanguage(p,d))}),ft(()=>n.modelOptions,d=>{!c.value||!u.value||(c.value.updateOptions(d),u.value.updateOptions(d))},{deep:!0}),(d,h)=>(fe(),Ce("div",{ref_key:"containerEl",ref:o,class:xe(["monaco-editor-container",{"hide-unchanged-actions":!Y(r)}])},null,2))}}),vb=kn(gb,[["__scopeId","data-v-715fa2d2"]]);function Uh(e){let t="",n="",s=0;for(;s<e.length;){const i=e.indexOf(`
|
|
48
|
+
`,s),r=i===-1?e.slice(s):e.slice(s,i);if(s=i===-1?e.length:i+1,r.startsWith("--- ")){if(t=r.slice(4).trim(),t&&n)break;continue}if(r.startsWith("+++ ")){if(n=r.slice(4).trim(),t&&n)break;continue}if(r.startsWith("@@"))break}return{origFilename:t,modFilename:n}}function Wh(e){const t=e.split(`
|
|
49
|
+
`),n=[];let s=null;for(const i of t){const r=i.match(/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);if(r){s={origStart:parseInt(r[1],10),origCount:r[2]!==void 0?parseInt(r[2],10):1,modStart:parseInt(r[3],10),modCount:r[4]!==void 0?parseInt(r[4],10):1,lines:[]},n.push(s);continue}if(s){if(i.startsWith("\\"))continue;s.lines.push(i)}}return n}const yb={class:"title-area"},Eb={class:"filename"},_b={class:"diff-line-num"},bb={key:0,class:"add"},Nb={key:1,class:"del"},Sb={class:"toolbar"},Ob=["checked"],wb={key:0},Cb=["checked"],Db=pt({__name:"TopBar",props:{diffPair:{default:()=>[]},diffPatch:{default:""}},setup(e){const{funcs:t,registerFunc:n}=La(),s=e,i=ie(()=>{const[S,N]=s.diffPair;if(!S||!N)return"changed";const E=S.content===null,g=N.content===null;return E&&!g?"add":!E&&g?"del":S.filename!==N.filename?"rename":"changed"}),r=ie(()=>({changed:"changed",add:"added",del:"deleted",rename:"renamed"})[i.value]),o=ie(()=>{const[S,N]=s.diffPair;return S?i.value==="rename"?`${S.filename} → ${N.filename}`:S.filename:""}),{viewed:l,rawed:a,canUnchangeVisible:c}=t,u=function(S){const N=S.target.checked;t.updateViewed(N)},f=function(S){const N=S.target.checked;t.updateRawed(N)};un(()=>{});const d=ne({added:0,removed:0}),h=ie(()=>{const S={added:0,removed:0};for(const N of Wh(s.diffPatch))for(const E of N.lines)E.startsWith("+")?S.added++:E.startsWith("-")&&S.removed++;return S}),m=ie(()=>s.diffPatch?h.value:d.value);function p(S){Object.assign(d.value,S)}return n({viewed:l,rawed:a,updateChangedLines:p}),(S,N)=>(fe(),Ce("div",{class:"top-bar-wrap",style:qe({height:`${Y(Kh)}px`})},[ae("div",yb,[ae("div",Eb,sn(o.value),1),ae("span",{class:xe(["diff-type-tag",i.value])},sn(r.value),3),ae("div",_b,[i.value!=="del"?(fe(),Ce("div",bb,"+"+sn(m.value.added),1)):Cn("",!0),i.value!=="add"?(fe(),Ce("div",Nb,"-"+sn(m.value.removed),1)):Cn("",!0)])]),ae("div",Sb,[ae("label",null,[ae("input",{type:"checkbox",checked:Y(l),onChange:u},null,40,Ob),N[0]||(N[0]=_s(" viewed ",-1))]),Y(c)?(fe(),Ce("label",wb,[ae("input",{type:"checkbox",checked:Y(a),onChange:f},null,40,Cb),N[1]||(N[1]=_s(" raw ",-1))])):Cn("",!0)])],4))}}),xb=kn(Db,[["__scopeId","data-v-e0325530"]]),zh=function(e){if(!e)return{pair:[{filename:"",content:""},{filename:"",content:""}],changedLineBlocks:[],totalLines:1};const{origFilename:t,modFilename:n}=Uh(e),s=Wh(e),i=[],r=[],o=[],l=[],a=[],c=()=>{const d=Math.max(l.length,a.length);if(d>0){const h=Math.max(i.length,r.length)+1;o.push({start:h,end:h+d-1})}for(let h=0;h<d;h++)i.push(l[h]??""),r.push(a[h]??"");l.length=0,a.length=0};let u=1,f=1;for(const d of s){for(;u<d.origStart;)i.push(""),u++;for(;f<d.modStart;)r.push(""),f++;for(const h of d.lines){const m=h[0],p=h.slice(1);m===" "?(c(),i.push(p),r.push(p),u++,f++):m==="-"?(l.push(p),u++):m==="+"&&(a.push(p),f++)}c()}return{pair:[{filename:t,content:i.join(`
|
|
46
50
|
`)},{filename:n,content:r.join(`
|
|
47
|
-
`)}]},
|
|
48
|
-
`)
|
|
49
|
-
`)
|
|
51
|
+
`)}],changedLineBlocks:o,totalLines:Math.max(i.length,r.length)}},Tb=function(e){return zh(e).pair};class Vb{diff(t,n,s={}){let i;typeof s=="function"?(i=s,s={}):"callback"in s&&(i=s.callback);const r=this.castInput(t,s),o=this.castInput(n,s),l=this.removeEmpty(this.tokenize(r,s)),a=this.removeEmpty(this.tokenize(o,s));return this.diffWithOptionsObj(l,a,s,i)}diffWithOptionsObj(t,n,s,i){var r;const o=E=>{if(E=this.postProcess(E,s),i){setTimeout(function(){i(E)},0);return}else return E},l=n.length,a=t.length;let c=1,u=l+a;s.maxEditLength!=null&&(u=Math.min(u,s.maxEditLength));const f=(r=s.timeout)!==null&&r!==void 0?r:1/0,d=Date.now()+f,h=[{oldPos:-1,lastComponent:void 0}];let m=this.extractCommon(h[0],n,t,0,s);if(h[0].oldPos+1>=a&&m+1>=l)return o(this.buildValues(h[0].lastComponent,n,t));let p=-1/0,S=1/0;const N=()=>{for(let E=Math.max(p,-c);E<=Math.min(S,c);E+=2){let g;const _=h[E-1],y=h[E+1];_&&(h[E-1]=void 0);let w=!1;if(y){const T=y.oldPos-E;w=y&&0<=T&&T<l}const P=_&&_.oldPos+1<a;if(!w&&!P){h[E]=void 0;continue}if(!P||w&&_.oldPos<y.oldPos?g=this.addToPath(y,!0,!1,0,s):g=this.addToPath(_,!1,!0,1,s),m=this.extractCommon(g,n,t,E,s),g.oldPos+1>=a&&m+1>=l)return o(this.buildValues(g.lastComponent,n,t))||!0;h[E]=g,g.oldPos+1>=a&&(S=Math.min(S,E-1)),m+1>=l&&(p=Math.max(p,E+1))}c++};if(i)(function E(){setTimeout(function(){if(c>u||Date.now()>d)return i(void 0);N()||E()},0)})();else for(;c<=u&&Date.now()<=d;){const E=N();if(E)return E}}addToPath(t,n,s,i,r){const o=t.lastComponent;return o&&!r.oneChangePerToken&&o.added===n&&o.removed===s?{oldPos:t.oldPos+i,lastComponent:{count:o.count+1,added:n,removed:s,previousComponent:o.previousComponent}}:{oldPos:t.oldPos+i,lastComponent:{count:1,added:n,removed:s,previousComponent:o}}}extractCommon(t,n,s,i,r){const o=n.length,l=s.length;let a=t.oldPos,c=a-i,u=0;for(;c+1<o&&a+1<l&&this.equals(s[a+1],n[c+1],r);)c++,a++,u++,r.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return u&&!r.oneChangePerToken&&(t.lastComponent={count:u,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=a,c}equals(t,n,s){return s.comparator?s.comparator(t,n):t===n||!!s.ignoreCase&&t.toLowerCase()===n.toLowerCase()}removeEmpty(t){const n=[];for(let s=0;s<t.length;s++)t[s]&&n.push(t[s]);return n}castInput(t,n){return t}tokenize(t,n){return Array.from(t)}join(t){return t.join("")}postProcess(t,n){return t}get useLongestToken(){return!1}buildValues(t,n,s){const i=[];let r;for(;t;)i.push(t),r=t.previousComponent,delete t.previousComponent,t=r;i.reverse();const o=i.length;let l=0,a=0,c=0;for(;l<o;l++){const u=i[l];if(u.removed)u.value=this.join(s.slice(c,c+u.count)),c+=u.count;else{if(!u.added&&this.useLongestToken){let f=n.slice(a,a+u.count);f=f.map(function(d,h){const m=s[c+h];return m.length>d.length?m:d}),u.value=this.join(f)}else u.value=this.join(n.slice(a,a+u.count));a+=u.count,u.added||(c+=u.count)}}return i}}class kb extends Vb{constructor(){super(...arguments),this.tokenize=Mb}equals(t,n,s){return s.ignoreWhitespace?((!s.newlineIsToken||!t.includes(`
|
|
52
|
+
`))&&(t=t.trim()),(!s.newlineIsToken||!n.includes(`
|
|
53
|
+
`))&&(n=n.trim())):s.ignoreNewlineAtEof&&!s.newlineIsToken&&(t.endsWith(`
|
|
54
|
+
`)&&(t=t.slice(0,-1)),n.endsWith(`
|
|
55
|
+
`)&&(n=n.slice(0,-1))),super.equals(t,n,s)}}const Ab=new kb;function Ib(e,t,n){return Ab.diff(e,t,n)}function Mb(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
|
|
56
|
+
`));const n=[],s=e.split(/(\n|\r\n)/);s[s.length-1]||s.pop();for(let i=0;i<s.length;i++){const r=s[i];i%2&&!t.newlineIsToken?n[n.length-1]+=r:n.push(r)}return n}const Ou=new Map;function Pb(e,t){const n=Ib(e,t),s=[];let i=1,r=0,o=0;const l=()=>{const a=Math.max(r,o);a>0&&(s.push({start:i,end:i+a-1}),i+=a,r=0,o=0)};for(const a of n){const c=a.count??0;a.removed?r+=c:a.added?o+=c:(l(),i+=c)}return l(),{blocks:s,totalLines:Math.max(0,i-1)}}function qh(e,t,n,s){let i=0,r=0,o=-1,l=-1;const a=()=>i*Fa+r*mb+Ra,c=()=>{o!==-1&&(o>1&&(r+=1),i+=l-o+1,o=-1,l=-1)};return{feed(u,f){let d=Math.max(1,u-t);const h=Math.min(e,f+t);if(l===-1){d-1<n&&(d=1),o=d,l=h;return}const m=d-l-1;m>0&&m>=n?(c(),o=d,l=h):l=Math.max(l,h)},flush(){const u=l;c();const f=e-u;return i>0&&f>0&&(f>=n?r+=1:i+=f),a()},get usedPx(){return a()},get gaps(){return r},get maxReached(){return a()>=s}}}const Lb=function({patch:e,minPx:t,maxPx:n,unchangedCtxLineNum:s,unchangedMinLineNum:i}){const{changedLineBlocks:r,totalLines:o}=zh(e);if(r.length===0)return t;const l=qh(o,s,i,n);for(const a of r)if(l.feed(a.start,a.end),l.maxReached)return n;return Math.min(n,Math.max(t,l.flush()))},Fb=function({pair:e,minPx:t,maxPx:n,unchangedVisiable:s,unchangedCtxLineNum:i,unchangedMinLineNum:r}){if(!e||e.length<2)return t;const o=e[0].content??"",l=e[1].content??"",a=o.split(`
|
|
57
|
+
`),c=l.split(`
|
|
58
|
+
`),u=Math.max(a.length,c.length);if(s){const p=u*Fa+Ra;return Math.max(t,Math.min(p,n))}const{blocks:f,totalLines:d}=Pb(o,l);if(f.length===0)return t;const h=qh(d,i,r,n);for(const p of f)if(h.feed(p.start,p.end),h.maxReached)return n;let m=h.flush();return m=Math.max(t,m),m=Math.min(n,m),m},Gh=e=>{if(e.endsWith("vh")){const t=parseFloat(e);return Math.round(t/100*document.documentElement.clientHeight)}return Math.round(parseFloat(e))},Jh=function({id:e,patch:t,pair:n,maxHeight:s,minHeight:i,unchangedVisiable:r,unchangedCtxLineNum:o,unchangedMinLineNum:l=1}){const a=r?"visible":"hidden",[c,u]=[i,s].map(Gh),f=n?.[0]?.content,d=n?.[1]?.content,h=Ou.get(e),m=h?.patch===t&&h?.origContent===f&&h?.modContent===d&&h?.minPx===c&&h?.maxPx===u&&h?.unchangedCtxLineNum===o&&h?.unchangedMinLineNum===l,p=m?h.heights[a]:void 0;if(p!==void 0)return p;const S={minPx:c,maxPx:u,unchangedVisiable:r,unchangedCtxLineNum:o,unchangedMinLineNum:l},N=t?Lb({patch:t,...S}):Fb({pair:n,...S});return Ou.set(e,{patch:t,origContent:f,modContent:d,minPx:c,maxPx:u,unchangedCtxLineNum:o,unchangedMinLineNum:l,heights:{...m?h.heights:{},[a]:N}}),N},Rb={class:"content-wrap"},$b=pt({__name:"DiffViewer",props:{fileId:{default:""},diffPair:{default:()=>[]},diffPatch:{default:""},language:{default:"plaintext"},options:{default:()=>({})},modelOptions:{default:()=>({})},viewerStyle:{}},emits:["viewStateChange"],setup(e,{emit:t}){const n=t,s=CE,i=ne(!0),r=performance.now(),o=async()=>{const _=performance.now()-r;console.log(`[DiffViewer] 渲染耗时: ${_.toFixed(2)} ms`),i.value=!1},l=e,a=ne(l.diffPair||null);(function(){a.value?.length||(a.value=Tb(l.diffPatch))})(),console.log(`[DiffViewer] patch耗时: ${(performance.now()-r).toFixed(2)} ms`);const u=ie(()=>a.value[0]?.content??""),f=ie(()=>a.value[1]?.content??""),{funcs:d,registerFunc:h}=La({isMaster:!0}),m=ie(()=>{const _=!N.value;let y=l.options.hideUnchangedRegions||{};return!_&&S.value?y={enabled:!1,...y}:y={enabled:!0,contextLineCount:3,minimumLineCount:1,...y},{...l.options,hideUnchangedRegions:y}}),p=ne(l.viewerStyle?.viewed??!1),S=ne(l.viewerStyle?.rawed??!1),N=ne(!l.diffPatch),E=ie(()=>{if(l.viewerStyle?.height)return l.viewerStyle.height;const _={minHeight:"100px",maxHeight:"250px",...l.viewerStyle||{}},y=l.fileId||GE();return`${Jh({id:y,patch:l.diffPatch,pair:l.diffPair,..._,unchangedVisiable:d.rawed.value,unchangedCtxLineNum:m.value.hideUnchangedRegions.contextLineCount??3,unchangedMinLineNum:m.value.hideUnchangedRegions.minimumLineCount??1})}px`}),g=ie(()=>({"--viewer-width":l.viewerStyle?.width||"100%","--viewer-height":E.value}));return h({viewed:p,updateViewed(_){p.value=_,n("viewStateChange",{rawed:S.value,viewed:_})},rawed:S,updateRawed(_){S.value=_,n("viewStateChange",{rawed:_,viewed:p.value})},canUnchangeVisible:N}),(_,y)=>(fe(),Ce("div",{class:"diff-viewer-wrap",style:qe(g.value),"on:viewStateChange":y[0]||(y[0]=()=>{})},[_e(xb,{class:"top-bar",diffPair:a.value,diffPatch:e.diffPatch},null,8,["diffPair","diffPatch"]),zn((fe(),Ce("div",Rb,[_e(vb,{class:"monaco-container",style:qe({opacity:i.value?0:1}),originalCode:u.value,modifiedCode:f.value,language:e.language,options:m.value,modelOptions:e.modelOptions,onRenderComplete:o},null,8,["style","originalCode","modifiedCode","language","options","modelOptions"])])),[[Gn,!p.value],[Y(s),i.value]])],36))}}),Zh=kn($b,[["__scopeId","data-v-cfac6974"]]),Yh="wtool-diff-viewer",$a=No(Zh,{shadowRoot:!1});function Xh(e=Yh){customElements.get(e)||customElements.define(e,$a)}function wu(e,t){const n=e;for(const s of Object.keys(t)){const i=t[s];i!==void 0&&(n[s]=i)}}function jb(e,t={}){Xh();const n=new $a;return wu(n,t),e.appendChild(n),{update(s){wu(n,s)},destroy(){n.remove()}}}var Hb=Object.defineProperty,Bb=(e,t,n)=>t in e?Hb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,je=(e,t,n)=>(Bb(e,typeof t!="symbol"?t+"":t,n),n);const Kb=["_level","_filterVisible","_parent","_loading","_loaded","_remote","_keyField","children","setChildren"];class Kn{constructor(t,n=null,s="id",i=!1){je(this,"_level",0),je(this,"checked",!1),je(this,"selected",!1),je(this,"indeterminate",!1),je(this,"disabled",!1),je(this,"expand",!1),je(this,"visible",!0),je(this,"_filterVisible",!0),je(this,"_parent",null),je(this,"children",[]),je(this,"isLeaf",!1),je(this,"_loading",!1),je(this,"_loaded",!1),this._keyField=s,this._remote=i;for(let r in t)Kb.indexOf(r)===-1&&(this[r]=t[r]);this[s]==null&&(this[s]=Math.random().toString(36).substring(2)),this._parent=n,this._parent&&(this._level=this._parent._level+1),this.visible=this._parent===null||this._parent.expand&&this._parent.visible,Array.isArray(t.children)&&this.setChildren(t.children),this.children.length&&(this._loaded=!0),this._remote||(this.isLeaf=!this.children.length)}setChildren(t){this.children=t.map(n=>new Kn(Object.assign({},n),this,this._keyField,this._remote))}}var eo=(e=>(e.none="none",e.parents="parents",e.children="children",e))(eo||{}),Qh=(e=>(e["bottom-start"]="bottom-start",e["bottom-end"]="bottom-end",e.bottom="bottom",e["top-start"]="top-start",e["top-end"]="top-end",e.top="top",e))(Qh||{}),Sr=(e=>(e.top="top",e.center="center",e.bottom="bottom",e))(Sr||{}),tn=(e=>(e.before="before",e.body="body",e.after="after",e))(tn||{}),Ml=(e=>(e.dashed="dashed",e.solid="solid",e))(Ml||{});class Ub{constructor(){je(this,"listenersMap",{})}on(t,n){this.listenersMap[t]||(this.listenersMap[t]=[]);let s=[];Array.isArray(n)?s=n:s=[n],s.forEach(i=>{this.listenersMap[t].indexOf(i)===-1&&this.listenersMap[t].push(i)})}off(t,n){if(this.listenersMap[t])if(!n)this.listenersMap[t]=[];else{const s=this.listenersMap[t].indexOf(n);s>-1&&this.listenersMap[t].splice(s,1)}}emit(t,...n){if(!this.listenersMap[t])return;const s=this.listenersMap[t].length;for(let i=0;i<s;i++)this.listenersMap[t][i](...n)}disposeListeners(){for(const t in this.listenersMap)this.listenersMap[t]=[]}}class Wb extends Ub{constructor(t){super(),je(this,"data",[]),je(this,"flatData",[]),je(this,"mapData",Object.create(null)),je(this,"unloadCheckedKeys",[]),je(this,"unloadSelectedKey",null),je(this,"currentSelectedKey",null),this.options=t}insertIntoFlatData(t,n){this.flatData=this.flatData.slice(0,t).concat(n,this.flatData.slice(t))}setData(t,n=null,s=null){this.data=t.map(i=>new Kn(i,null,this.options.keyField,!!this.options.load));for(let i in this.mapData)delete this.mapData[i];this.currentSelectedKey=null,this.flatData=this.flattenData(this.data),this.setUnloadCheckedKeys(s||[]),n&&(this.currentSelectedKey=null,this.setUnloadSelectedKey(n)),this.emit("visible-data-change"),this.emit("set-data")}setChecked(t,n,s=!0,i=!0,r=!1){const o=this.mapData[t];if(!o)return this.setUnloadChecked(t,n,s,i);o.disabled||o.checked&&n||!o.checked&&!o.indeterminate&&!n||(this.options.cascade?(this.checkNodeDownward(o,n,r),this.checkNodeUpward(o)):o.checked=n,s&&(o.checked?this.emit("check",o):this.emit("uncheck",o)),this.triggerCheckedChange(s,i))}setUnloadChecked(t,n,s=!0,i=!0){const r=this.findIndex(t,this.unloadCheckedKeys);n?r===-1&&this.unloadCheckedKeys.push(t):r!==-1&&this.unloadCheckedKeys.splice(r,1),this.triggerCheckedChange(s,i)}setCheckedKeys(t,n,s=!0,i=!0){t.forEach(r=>{this.setChecked(r,n,!1,!1)}),this.triggerCheckedChange(s,i)}checkAll(t=!0,n=!0){if(this.options.cascade){const s=i=>{i.forEach(r=>{r.disabled?s(r.children):this.setChecked(r[this.options.keyField],!0,!1,!1)})};s(this.data)}else{const s=this.flatData.length;for(let i=0;i<s;i++){const r=this.flatData[i];this.setChecked(r[this.options.keyField],!0,!1,!1)}}this.triggerCheckedChange(t,n)}clearChecked(t=!0,n=!0){this.getCheckedNodes().forEach(s=>{this.setChecked(s[this.options.keyField],!1,!1,!1)}),this.unloadCheckedKeys=[],this.triggerCheckedChange(t,n)}triggerCheckedChange(t=!0,n=!0){t&&this.emit("checked-change",this.getCheckedNodes(),this.getCheckedKeys()),n&&this.emit("render-data-change")}triggerSelectedChange(t=!0,n=!0){t&&this.emit("selected-change",this.getSelectedNode(),this.getSelectedKey()),n&&this.emit("render-data-change")}setSelected(t,n,s=!0,i=!0){const r=this.mapData[t];if(!r)return this.setUnloadSelected(t,n,s,i);r.disabled||r.selected!==n&&(t===this.currentSelectedKey?n||(r.selected=n,this.currentSelectedKey=null):n&&(this.currentSelectedKey!==null&&this.mapData[this.currentSelectedKey]&&(this.mapData[this.currentSelectedKey].selected=!1),r.selected=n,this.currentSelectedKey=r[this.options.keyField],this.unloadSelectedKey=null),s&&(r.selected?this.emit("select",r):this.emit("unselect",r)),this.triggerSelectedChange(s,i))}setUnloadSelected(t,n,s=!0,i=!0){n?(this.currentSelectedKey=null,this.unloadSelectedKey=t):this.unloadSelectedKey===t&&(this.unloadSelectedKey=null),this.triggerSelectedChange(s,i)}clearSelected(t=!0,n=!0){this.currentSelectedKey&&this.mapData[this.currentSelectedKey]?this.setSelected(this.currentSelectedKey,!1,t,n):this.unloadSelectedKey!==null&&(this.unloadSelectedKey=null,this.triggerSelectedChange(t,n))}setExpand(t,n,s=!1,i=!0,r=!0){const o=this.mapData[t];if(!(!o||!s&&o.isLeaf)&&o.expand!==n){if(!o.isLeaf){if(typeof this.options.load=="function"){if(!o._loaded&&!o._loading&&n){o._loading=!0,r&&this.emit("visible-data-change"),new Promise((a,c)=>{const u=this.options.load;u(o,a,c)}).then(a=>{Array.isArray(a)&&(this.loadChildren(o,a,n),this.emit("set-data"))}).catch(a=>{let c=a;a instanceof Error||(c=new Error(a)),console.error("[VTree] load tree nodes error.",c)}).then(()=>{o._loading=!1,i&&this.emit("expand",o),r&&this.emit("visible-data-change")});return}else if(o._loading)return}o.expand=n;let l=o.children.concat();for(;l.length;){const a=l.pop();a&&(a.expand&&a.children.length&&(l=a.children.concat(l)),a._filterVisible===!1?a.visible=!1:a.visible=a._parent===null||a._parent.expand&&a._parent.visible)}i&&this.emit("expand",o),r&&this.emit("visible-data-change")}s&&o._parent&&n&&this.setExpand(o._parent[this.options.keyField],n,s,!1,r)}}setExpandKeys(t,n,s=!0){t.forEach(i=>{this.setExpand(i,n,!1,!1,!1)}),s&&this.emit("visible-data-change")}setExpandAll(t,n=!0){this.flatData.forEach(s=>{(!this.options.load||s._loaded)&&this.setExpand(s[this.options.keyField],t,!1,!1,!1)}),n&&this.emit("visible-data-change")}isChildrenChanged(t,n){var s;return"children"in n&&(!!t.children.length||!!((s=n.children)!=null&&s.length))}updateNode(t,n,s=!0,i=!0){var r;const o=this.mapData[t];if(!o)return;const l={},a=[this.options.keyField,"indeterminate","visible","isLeaf"];Object.keys(n).forEach(m=>{!m.startsWith("_")&&!a.includes(m)&&(l[m]=n[m])});const c=this.getCheckedKeys(),u=this.getSelectedKey();let f=this.isChildrenChanged(o,l);"children"in l&&(o.children.length||(r=l.children)!=null&&r.length)&&(this.removeChildren(t,!1,!1),Array.isArray(l.children)&&this.loadChildren(o,l.children,o.expand),delete l.children),"checked"in l&&(this.setChecked(t,l.checked,!1,!1),delete l.checked),"selected"in l&&(this.setSelected(t,l.selected,!1,!1),delete l.selected),"expand"in l&&(this.setExpand(t,l.expand,!1,!1,!1),delete l.expand),Object.keys(l).forEach(m=>{o[m]=l[m]});const d=this.getCheckedKeys(),h=this.getSelectedKey();s&&(JSON.stringify(d.sort())!==JSON.stringify(c.sort())&&this.triggerCheckedChange(!0,!1),h!==u&&this.triggerSelectedChange(!0,!1)),i&&(f&&this.emit("set-data"),this.emit("visible-data-change"))}updateNodes(t){const n=t.filter(a=>a[this.options.keyField]!=null);if(!n.length)return;const s=this.getCheckedKeys(),i=this.getSelectedKey();let r=!1;n.forEach(a=>{const c=a[this.options.keyField],u=this.mapData[c];u&&(r=r||this.isChildrenChanged(u,a),this.updateNode(c,a,!1,!1))});const o=this.getCheckedKeys(),l=this.getSelectedKey();JSON.stringify(o.sort())!==JSON.stringify(s.sort())&&this.triggerCheckedChange(!0,!1),l!==i&&this.triggerSelectedChange(!0,!1),r&&this.emit("set-data"),this.emit("visible-data-change")}getCheckedNodes(t=this.options.ignoreMode){if(t===eo.children){const n=[],s=i=>{i.forEach(r=>{r.checked?n.push(r):!r.isLeaf&&r.indeterminate&&s(r.children)})};return s(this.data),n}else return this.flatData.filter(n=>t===eo.parents?n.checked&&n.isLeaf:n.checked)}getCheckedKeys(t=this.options.ignoreMode){return this.getCheckedNodes(t).map(n=>n[this.options.keyField]).concat(this.unloadCheckedKeys)}getIndeterminateNodes(){return this.flatData.filter(t=>t.indeterminate)}getSelectedNode(){return this.currentSelectedKey===null?null:this.mapData[this.currentSelectedKey]||null}getSelectedKey(){return this.currentSelectedKey||this.unloadSelectedKey||null}getUnloadCheckedKeys(){return this.unloadCheckedKeys}getExpandNodes(){return this.flatData.filter(t=>!t.isLeaf&&t.expand)}getExpandKeys(){return this.getExpandNodes().map(t=>t[this.options.keyField])}getNode(t){return this.mapData[t]||null}insertBefore(t,n,s=!0,i=!0){const r=this.getInsertedNode(t,n);if(!r)return null;this.remove(r[this.options.keyField],!1,!1);const o=this.mapData[n]._parent,l=this.findIndex(n,o&&o.children),a=this.findIndex(n),c=o&&-1||this.findIndex(n,this.data);return this.insertIntoStore(r,o,l,a,c,s,i),i&&this.emit("visible-data-change"),r}insertAfter(t,n,s=!0,i=!0){const r=this.getInsertedNode(t,n);if(!r)return null;this.remove(r[this.options.keyField],!1,!1);const o=this.mapData[n],l=o._parent,a=this.findIndex(n,l&&l.children)+1,c=this.flatData.length,u=this.findIndex(n);let f=u+1;for(let h=u+1;h<=c;h++){if(h===c){f=h;break}if(this.flatData[h]._level<=o._level){f=h;break}}const d=l&&-1||this.findIndex(n,this.data)+1;return this.insertIntoStore(r,l,a,f,d,s,i),i&&this.emit("visible-data-change"),r}append(t,n,s=!0,i=!0){const r=this.mapData[n];if(!r.isLeaf){const a=r.children.length;return this.insertAfter(t,r.children[a-1][this.options.keyField],s,i)}const o=this.getInsertedNode(t,n,!0);if(!o)return null;this.remove(o[this.options.keyField],!1,!1);const l=this.findIndex(n)+1;return this.insertIntoStore(o,r,0,l,void 0,s,i),i&&this.emit("visible-data-change"),o}prepend(t,n,s=!0,i=!0){const r=this.mapData[n];if(!r.isLeaf)return this.insertBefore(t,r.children[0][this.options.keyField],s,i);const o=this.getInsertedNode(t,n,!0);if(!o)return null;this.remove(o[this.options.keyField],!1,!1);const l=this.findIndex(n)+1;return this.insertIntoStore(o,r,0,l,void 0,s,i),i&&this.emit("visible-data-change"),o}remove(t,n=!0,s=!0){const i=this.mapData[t];if(!i)return null;const r=this.findIndex(i);if(r===-1)return null;let o=1;const l=this.flatData.length;for(let c=r+1;c<l&&this.flatData[c]._level>i._level;c++)o++;this.flatData.splice(r,o);const a=c=>{const u=this.mapData[c];delete this.mapData[c],u.children.forEach(f=>a(f[this.options.keyField]))};if(a(t),!i._parent){const c=this.findIndex(i,this.data);c>-1&&this.data.splice(c,1)}if(i._parent){const c=this.findIndex(i,i._parent.children);c!==-1&&i._parent.children.splice(c,1),i._parent.isLeaf=!i._parent.children.length,i._parent.isLeaf&&(i._parent.expand=!1,i._parent.indeterminate=!1),this.updateMovingNodeStatus(i,n,s)}return s&&this.emit("visible-data-change"),i}removeChildren(t,n=!0,s=!0){const i=this.mapData[t];if(!i||!i.children.length)return null;let r=i.children[0];const o=this.findIndex(i);if(o===-1)return null;let l=0;const a=this.flatData.length;for(let c=o+1;c<a&&this.flatData[c]._level>i._level;c++)delete this.mapData[this.flatData[c][this.options.keyField]],l++,this.flatData[c].selected&&(r=this.flatData[c]);return this.flatData.splice(o+1,l),i.children.splice(0,i.children.length),i.isLeaf=!0,i.indeterminate=!1,this.updateMovingNodeStatus(r,n,s),s&&this.emit("visible-data-change"),i}loadChildren(t,n,s){const i=this.findIndex(t);if(i===-1)return;t._loaded=!0,t.expand=s,t.setChildren(n),t.isLeaf=!t.children.length;const r=this.getCheckedKeys(),o=this.flattenData(t.children,this.getSelectedKey()===null);this.insertIntoFlatData(i+1,o),this.setUnloadCheckedKeys(r),this.unloadSelectedKey!==null&&this.setUnloadSelectedKey(this.unloadSelectedKey),this.checkNodeUpward(t,!0)}getInsertedNode(t,n,s=!1){const i=this.mapData[n];if(!i)return null;const r=s?i:i._parent;return t instanceof Kn?t[this.options.keyField]===n?null:t:typeof t=="object"?t[this.options.keyField]===n?null:this.mapData[t[this.options.keyField]]||new Kn(t,r,this.options.keyField,!!this.options.load):!this.mapData[t]||t===n?null:this.mapData[t]}insertIntoStore(t,n,s,i,r,o=!0,l=!0){if(i===-1)return;s!==-1&&n&&n.children.splice(s,0,t),t._parent=n,n?(n.isLeaf=!1,this.setExpand(n[this.options.keyField],!0,!1,!1,!1)):typeof r=="number"&&r>-1&&this.data.splice(r,0,t);const a=this.flattenData([t]);t._level=n?n._level+1:0,a.forEach(c=>c._level=c._parent?c._parent._level+1:0),this.insertIntoFlatData(i,a),this.updateMovingNodeStatus(t,o,l)}updateMovingNodeStatus(t,n=!0,s=!0){this.checkNodeUpward(t),this.triggerCheckedChange(n,s),t.selected&&this.setSelected(t[this.options.keyField],!0,n,s)}filter(t,n){const s=[];this.flatData.forEach(i=>{i._filterVisible=i._parent&&i._parent._filterVisible||n(t,i),i.visible=i._filterVisible,i._filterVisible&&s.push(i)}),s.forEach(i=>{const r=[];let o=i._parent;for(;o;)r.unshift(o),o=o._parent;r.forEach(l=>{l._filterVisible=!0,l.visible=(l._parent===null||l._parent.expand&&l._parent.visible)&&l._filterVisible,this.options.expandOnFilter&&this.setExpand(l[this.options.keyField],!0,!1,!1,!1)}),i.visible=i._parent===null||i._parent.expand&&i._parent.visible}),this.emit("visible-data-change")}setUnloadCheckedKeys(t){this.unloadCheckedKeys=t;const n=t.concat(),s=this.unloadCheckedKeys.length;for(let r=s-1;r>=0;r--){const o=this.unloadCheckedKeys[r];this.mapData[o]&&(this.setChecked(o,!0,!1,!1),this.unloadCheckedKeys.splice(r,1))}const i=this.getCheckedKeys();i.length===n.length&&i.every(r=>n.some(o=>o===r))||this.emit("checked-change",this.getCheckedNodes(),i)}setUnloadSelectedKey(t){const n=this.getSelectedKey();this.mapData[t]?(this.setSelected(t,!0,!1),this.unloadSelectedKey=null):(this.currentSelectedKey&&this.setSelected(this.currentSelectedKey,!1,!1),this.unloadSelectedKey=t);const s=this.getSelectedKey();s!==n&&this.emit("selected-change",this.getSelectedNode(),s)}flattenData(t,n=!0,s=[]){const i=t.length;for(let r=0;r<i;r++){const o=t[r],l=o[this.options.keyField];if(s.push(o),this.mapData[l])throw new Error("[VTree] Duplicate tree node key.");this.mapData[l]=o,o.checked&&this.options.cascade&&this.checkNodeDownward(o,!0),o.selected&&n&&(this.clearSelected(!1,!1),this.currentSelectedKey=o[this.options.keyField],this.emit("selected-change",o,this.currentSelectedKey)),(this.options.defaultExpandAll||o.expand)&&!this.options.load&&!o.isLeaf&&(o.expand=!1,this.setExpand(o[this.options.keyField],!0,!1,!1,!1)),o.children.length&&this.flattenData(o.children,n,s)}return this.options.cascade&&i&&this.checkNodeUpward(t[0]),s}checkNodeDownward(t,n,s=!1){if(t.children.forEach(i=>{this.checkNodeDownward(i,n,s)}),t.isLeaf||this.options.load&&!t.children.length){if(!t.disabled){if(s&&!this.options.filteredNodeCheckable&&!t._filterVisible)return;t.checked=n,t.indeterminate=!1}}else this.checkParentNode(t)}checkNodeUpward(t,n=!1){let s=n?t:t._parent;for(;s;)this.checkParentNode(s),s=s._parent}checkParentNode(t){const n=t.children.length;if(!n)return;let s=!1,i=!1,r=!1;for(let o=0;o<n;o++){const l=t.children[o];if(l.checked?s=!0:i=!0,s&&i||l.indeterminate){r=!0,t.checked=!1,t.indeterminate=!0;break}}r||(t.checked=s,t.indeterminate=!1)}findIndex(t,n=this.flatData){if(n!==null){let s=t instanceof Kn?t[this.options.keyField]:t;const i=n.length;for(let r=0;r<i;r++)if(n[0]instanceof Kn){if(s===n[r][this.options.keyField])return r}else if(s===n[r])return r}return-1}}const zb=pt({name:"CLoadingIcon"}),qb=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},Gb={viewBox:"0 0 50 50"},Jb=ae("circle",{class:"vtree-loading-icon__circle",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5","stroke-miterlimit":"10"},null,-1),Zb=[Jb];function Yb(e,t,n,s,i,r){return fe(),Ce("svg",Gb,Zb)}const ep=qb(zb,[["render",Yb]]),ja=["expand","check","click","select","node-dblclick","node-right-click","node-dragstart","node-dragenter","node-dragover","node-dragleave","node-drop"],tp=["expand","select","unselect","selected-change","check","uncheck","checked-change","set-data"],Xb=[...ja,...tp],Te="vtree-tree-node",Qb=(e,t)=>{const{dragoverBody:n,dragoverBefore:s,dragoverAfter:i}=t,r=ie(()=>[`${Te}__indent-wrapper`]),o=ie(()=>{var p,S,N,E,g;return[`${Te}__wrapper`,{[`${Te}__wrapper_is-leaf`]:(p=e.data)==null?void 0:p.isLeaf,[`${Te}_disabled`]:e.disableAll||((S=e.data)==null?void 0:S.disabled)},{[`${Te}_checked`]:e.checkable&&((N=e.data)==null?void 0:N.checked),[`${Te}_indeterminate`]:e.checkable&&((E=e.data)==null?void 0:E.indeterminate)},{[`${Te}_selected`]:(g=e.data)==null?void 0:g.selected}]}),l=ie(()=>[`${Te}__node-body`,{[`${Te}__drop_active`]:n.value}]),a=ie(()=>[`${Te}__drop`,{[`${Te}__drop_active`]:s.value}]),c=ie(()=>[`${Te}__drop`,{[`${Te}__drop_active`]:i.value}]),u=ie(()=>[`${Te}__square`,`${Te}__checkbox_wrapper`]),f=ie(()=>{var p;return[`${Te}__square`,`${Te}__expand`,{[`${Te}__expand_active`]:(p=e.data)==null?void 0:p.expand}]}),d=ie(()=>[`${Te}__loading-icon`]),h=ie(()=>{var p,S,N;return[`${Te}__checkbox`,{[`${Te}__checkbox_checked`]:(p=e.data)==null?void 0:p.checked,[`${Te}__checkbox_indeterminate`]:(S=e.data)==null?void 0:S.indeterminate,[`${Te}__checkbox_disabled`]:e.disableAll||((N=e.data)==null?void 0:N.disabled)}]}),m=ie(()=>{var p,S;return[`${Te}__title`,{[`${Te}__title_selected`]:(p=e.data)==null?void 0:p.selected,[`${Te}__title_disabled`]:e.disableAll||((S=e.data)==null?void 0:S.disabled)}]});return{indentWrapperCls:r,wrapperCls:o,nodeBodyCls:l,dropBeforeCls:a,dropAfterCls:c,checkboxWrapperCls:u,expandCls:f,loadingIconCls:d,checkboxCls:h,titleCls:m}},eN=["d","stroke-width","stroke","stroke-dasharray"],tN=["draggable"],Xo=pt({name:"VTreeNode",__name:"TreeNode",props:{titleField:{},keyField:{},checkable:{type:Boolean},selectable:{type:Boolean},unselectOnClick:{type:Boolean},disableAll:{type:Boolean},draggable:{type:Boolean},droppable:{type:Boolean},nodeIndent:{},render:{type:Function},showLine:{type:[Boolean,Object]},data:{},getNode:{type:Function},noSiblingNodeMap:{}},emits:[...ja],setup(e,{emit:t}){var n;const s=e,i=t,r=ne(!1),o=ne(!1),l=ne(!1),a=ie(()=>{const V={width:1,type:Ml.solid,color:"#D3D3D3",polyline:!1,dashDensity:3};let Z=V;if(typeof s.showLine=="object"){let be=V.dashDensity;typeof s.showLine.dashDensity=="number"&&s.showLine.dashDensity>=1&&s.showLine.dashDensity<=10&&(be=s.showLine.dashDensity),Z={width:s.showLine.width??V.width,type:s.showLine.type??V.type,color:s.showLine.color??V.color,polyline:s.showLine.polyline??V.polyline,dashDensity:be}}return Z}),c=ie(()=>a.value.width*100/s.nodeIndent),u=ie(()=>a.value.type===Ml.dashed?100/(a.value.dashDensity*2):"none"),f=V=>{var Z;if(!a.value.polyline||!V)return"M50,0 L50,100";const be=(Z=s.getNode(s.data[s.keyField]))==null?void 0:Z._parent;return be&&s.noSiblingNodeMap[be[s.keyField]]&&s.noSiblingNodeMap[s.data[s.keyField]]?"M50,0 L50,50 M100,50 L50,50":"M50,0 L50,100 M100,50 L50,50"},{indentWrapperCls:d,wrapperCls:h,nodeBodyCls:m,dropBeforeCls:p,dropAfterCls:S,checkboxWrapperCls:N,expandCls:E,loadingIconCls:g,checkboxCls:_,titleCls:y}=Qb(s,{dragoverBody:r,dragoverBefore:o,dragoverAfter:l}),w=ie(()=>s.getNode(s.data?s.data[s.keyField]:"")||s.data||{}),P=ie(()=>s.checkable),T=((n=s.data)==null?void 0:n.render)||s.render||null,O=ie(()=>pt({name:"Render",functional:!0,render(){return typeof T!="function"?aa("div"):T(w.value)}})),D=ie(()=>{var V;let Z={};return s.draggable&&!s.disableAll&&!((V=s.data)!=null&&V.disabled)&&(Z={dragstart:$e}),Z}),I=ie(()=>{let V={};return s.droppable&&(V={dragenter:Ge.bind(ze()),dragover:Je.bind(ze()),dragleave:Et.bind(ze()),drop:fn.bind(ze())}),V});function C(){var V;(V=s.data)!=null&&V.isLeaf||i("expand",w.value)}function R(){var V;s.disableAll||(V=s.data)!=null&&V.disabled||!s.checkable||i("check",w.value)}function G(V){var Z,be;if(i("click",w.value,V),s.selectable){if(s.disableAll||(Z=s.data)!=null&&Z.disabled||(be=s.data)!=null&&be.selected&&!s.unselectOnClick)return;i("select",w.value)}else s.checkable?R():C()}function z(V){i("node-dblclick",w.value,V)}function W(V){i("node-right-click",w.value,V)}const J=ne();function H(V){const Z=J.value.getBoundingClientRect(),be=Z.height,Ze=V.clientY-Z.top;return Ze<=be*.3?tn.before:Ze<=be*(.3+.4)?tn.body:tn.after}function le(V,Z=!1){o.value=!1,r.value=!1,l.value=!1,Z||(V===tn.before?o.value=!0:V===tn.body?r.value=!0:V===tn.after&&(l.value=!0))}function $e(V){var Z;V.dataTransfer&&V.dataTransfer.setData("node",JSON.stringify(s.data)),(Z=s.data)!=null&&Z.expand&&C(),i("node-dragstart",w.value,V)}function Ge(V){V.preventDefault();const Z=H(V);le(Z),i("node-dragenter",w.value,V,Z)}function Je(V){V.preventDefault();const Z=H(V);le(Z),i("node-dragover",w.value,V,Z)}function Et(V){const Z=H(V);le(Z,!0),i("node-dragleave",w.value,V,Z)}function fn(V){const Z=H(V);le(Z,!0),i("node-drop",w.value,V,Z)}return(V,Z)=>{var be,Ze,lt,Rt;return fe(),Ce("div",{class:xe(Y(d))},[V.showLine?(fe(!0),Ce(we,{key:0},hs(V.data._level,(tt,$t)=>(fe(),Ce("svg",{key:tt,viewBox:"0 0 100 100",preserveAspectRatio:"none",style:qe({alignSelf:"stretch",width:`${V.nodeIndent}px`})},[ae("path",{fill:"none",d:f($t===V.data._level-1),"stroke-width":c.value,stroke:a.value.color,"stroke-dasharray":u.value},null,8,eN)],4))),128)):Cn("",!0),ae("div",{class:xe(Y(h)),style:qe({paddingLeft:V.showLine?"none":`${V.data._level*V.nodeIndent}px`})},[ae("div",{class:xe(Y(p))},null,2),ae("div",en({ref_key:"nodeBody",ref:J,class:Y(m)},Bs(I.value,!0)),[ae("div",{class:xe(Y(E))},[zn(ae("i",{onClick:C},null,512),[[Gn,!((be=V.data)!=null&&be.isLeaf)&&!((Ze=V.data)!=null&&Ze._loading)]]),(lt=V.data)!=null&<._loading?(fe(),Wt(ep,{key:0,class:xe(Y(g))},null,8,["class"])):Cn("",!0)],2),P.value?(fe(),Ce("div",{key:0,class:xe(Y(N))},[ae("div",{class:xe(Y(_)),onClick:R},null,2)],2)):Cn("",!0),ae("div",en({class:Y(y),onClick:G,onDblclick:z,onContextmenu:W},Bs(D.value,!0),{draggable:V.draggable&&!V.disableAll&&!((Rt=V.data)!=null&&Rt.disabled)}),[Bn(V.$slots,"default",{node:w.value},()=>[Y(T)?(fe(),Wt($f(O.value),{key:0})):(fe(),Ce(we,{key:1},[_s(sn(V.data?V.data[V.titleField]:""),1)],64))])],16,tN)],16),ae("div",{class:xe(Y(S))},null,2)],6)],2)}}}),mn="vtree-tree",nN=()=>{const e=ie(()=>[`${mn}__wrapper`]),t=ie(()=>[`${mn}__scroll-area`]),n=ie(()=>[`${mn}__block-area`]),s=ie(()=>[`${mn}__empty`]),i=ie(()=>[`${mn}__empty-text_default`]),r=ie(()=>[`${mn}__loading`]),o=ie(()=>[`${mn}__loading-wrapper`]),l=ie(()=>[`${mn}__loading-icon`]),a=ie(()=>[`${mn}__iframe`]);return{wrapperCls:e,scrollAreaCls:t,blockAreaCls:n,emptyCls:s,emptyTextDefaultCls:i,loadingCls:r,loadingWrapperCls:o,loadingIconCls:l,iframeCls:a}},sN=(e,t)=>{const n=ne(),s=ne([]),i=ne(0),r=ne(0),o=ne(0),l=ne(0),a=ne(0),c=ne(0),u=ne(0),f=ne(0),d=ne(void 0),h=()=>{o.value=0,l.value=0,n.value&&(n.value.scrollTop=0)},m=()=>{const g=n.value.clientHeight;a.value=Math.max(t.renderNodeAmount,Math.ceil(g/t.nodeMinHeight)+t.bufferNodeAmount)},p=(g=!1)=>{if(i.value>a.value){const _=Math.max(n.value.scrollTop,0),y=Math.floor(_/t.nodeMinHeight);u.value=Math.floor(y/t.bufferNodeAmount)*t.bufferNodeAmount}else u.value=0;g&&c.value===a.value&&f.value===u.value||(s.value=e.blockNodes.slice(u.value,u.value+a.value).map(_=>Object.assign({},_,{_parent:null,children:[]})),o.value=u.value*t.nodeMinHeight,l.value=r.value-(o.value+s.value.length*t.nodeMinHeight))},S=()=>{m(),p()},N=()=>{e.blockNodes=e.store.flatData.filter(g=>g.visible),E(),S()},E=()=>{i.value=e.blockNodes.length,r.value=t.nodeMinHeight*i.value};return{scrollArea:n,renderNodes:s,blockLength:i,blockAreaHeight:r,topSpaceHeight:o,bottomSpaceHeight:l,renderAmount:a,renderAmountCache:c,renderStart:u,renderStartCache:f,resetSpaceHeights:h,updateRenderAmount:m,updateRenderNodes:p,updateRender:S,updateBlockNodes:N,updateBlockData:E,handleTreeScroll:()=>{d.value&&window.cancelAnimationFrame(d.value),c.value=a.value,f.value=u.value,d.value=window.requestAnimationFrame(p.bind(null,!0))},scrollTo:(g,_=Sr.top)=>{const y=e.store.mapData[g];if(!y||!y.visible)return;let w=-1;for(let T=0;T<i.value;T++)if(e.blockNodes[T][t.keyField]===g){w=T;break}if(w===-1)return;let P=w*t.nodeMinHeight;if(_===Sr.center){const T=n.value.clientHeight;P=P-(T-t.nodeMinHeight)/2}else if(_===Sr.bottom){const T=n.value.clientHeight;P=P-(T-t.nodeMinHeight)}else typeof _=="number"&&(P=P-_);n.value&&(n.value.scrollTop=P)}}},iN=e=>{const t=ne();un(()=>{const n=t.value;n!=null&&n.contentWindow&&n.contentWindow.addEventListener("resize",e)}),ws(()=>{const n=t.value;n!=null&&n.contentWindow&&n.contentWindow.removeEventListener("resize",e)})},rN=(e,t,n)=>{const{resetSpaceHeights:s,updateExpandedKeys:i,updateBlockData:r,updateRender:o}=n,l=ne([]),a=ne(!1);function c(V){s();let Z=null,be=null;t.checkable?Array.isArray(t.modelValue)?Z=t.modelValue.concat():typeof t.modelValue=="string"&&(Z=t.modelValue===""?[]:t.modelValue.split(t.separator)):t.selectable&&!Array.isArray(t.modelValue)&&(be=t.modelValue),e.store.setData(V,be,Z),i()}function u(V,Z){e.store.setChecked(V,Z)}function f(V,Z){e.store.setCheckedKeys(V,Z)}function d(){e.store.checkAll()}function h(){e.store.clearChecked()}function m(V,Z){e.store.setSelected(V,Z)}function p(){e.store.clearSelected()}function S(V,Z,be=!0){e.store.setExpand(V,Z,be)}function N(V,Z){e.store.setExpandKeys(V,Z)}function E(V){e.store.setExpandAll(V)}function g(V){return V=V||t.ignoreMode,e.store.getCheckedNodes(V)}function _(V){return V=V||t.ignoreMode,e.store.getCheckedKeys(V)}function y(){return e.store.getIndeterminateNodes()}function w(){return e.store.getSelectedNode()}function P(){return e.store.getSelectedKey()}function T(){return e.store.getExpandNodes()}function O(){return e.store.getExpandKeys()}function D(){return e.store.flatData.filter(V=>V._filterVisible)}function I(V){return e.store.getNode(V)}function C(){return e.store.data}function R(){return e.store.flatData}function G(){return e.store.flatData.length}function z(V,Z){return e.store.insertBefore(V,Z)}function W(V,Z){return e.store.insertAfter(V,Z)}function J(V,Z){return e.store.append(V,Z)}function H(V,Z){return e.store.prepend(V,Z)}function le(V){return e.store.remove(V)}function $e(V,Z){const be=(lt,Rt)=>{const tt=Rt[t.titleField];return tt==null||!tt.toString?!1:tt.toString().toLowerCase().indexOf(lt.toLowerCase())>-1},Ze=Z||t.filterMethod||be;e.store.filter(V,Ze)}function Ge(V){if(!t.checkable)return;V=V??t.showUnloadCheckedNodes;const Z=e.store.getCheckedNodes();if(e.store.filter("",(Ze,lt)=>lt.checked),!V)return;const be=e.store.getUnloadCheckedKeys();if(be.length){const Ze=be.map(lt=>{const Rt=t.unloadDataList.concat(Z);let tt=lt;return Rt.some($t=>$t[t.keyField]===lt&&$t[t.titleField]!=null?(tt=$t[t.titleField],!0):!1),new Kn({[t.keyField]:lt,[t.titleField]:tt,checked:!0,isLeaf:!0},null,t.keyField,!!t.load)});l.value=Ze,e.blockNodes=e.blockNodes.concat(Ze),r(),o()}}function Je(){return a.value=!0,new Promise((V,Z)=>{t.load&&t.load(null,V,Z)}).then(V=>{Array.isArray(V)&&c(V)}).catch(()=>{}).then(()=>{a.value=!1})}function Et(V,Z){return e.store.updateNode(V,Z)}function fn(V){return e.store.updateNodes(V)}return{unloadCheckedNodes:l,isRootLoading:a,setData:c,setChecked:u,setCheckedKeys:f,checkAll:d,clearChecked:h,setSelected:m,clearSelected:p,setExpand:S,setExpandKeys:N,setExpandAll:E,getCheckedNodes:g,getCheckedKeys:_,getIndeterminateNodes:y,getSelectedNode:w,getSelectedKey:P,getExpandNodes:T,getExpandKeys:O,getCurrentVisibleNodes:D,getNode:I,getTreeData:C,getFlatData:R,getNodesCount:G,insertBefore:z,insertAfter:W,append:J,prepend:H,remove:le,filter:$e,showCheckedNodes:Ge,loadRootNodes:Je,updateNode:Et,updateNodes:fn}},oN=(e,...t)=>{const n={};return t.forEach(s=>{e.hasOwnProperty(s)&&(n[s]=e[s])}),n},lN=(e,t,n)=>{const s=ne(!1),i=ne(!1),r=ne(-1),o=ne(-1),l=ne(!1),a=ne(!1),c=ne(0),u=ne([]),f=ne([]),d=ne([]),h=()=>{s.value=!1,i.value=!1,r.value=-1,o.value=-1,c.value=0,u.value=[],f.value=[],d.value=[]},m=()=>{const p=o.value,S=[],N=e.value.length,E=t.value-c.value;for(let g=r.value-E+1;g<N&&e.value[g]._level>p;g++)S.push(e.value[g]);f.value=S};return{ready:i,currentExpandState:l,topNodes:u,middleNodes:f,bottomNodes:d,updateBeforeExpand:p=>{if(!n.animation)return;h();const S=p[n.keyField],N=e.value.findIndex(E=>E[n.keyField]===S);N>-1&&(r.value=N,o.value=p._level,s.value=!0,l.value=p.expand,a.value=!p.expand,c.value=t.value,a.value?d.value=e.value.slice(r.value+1):m())},updateAfterExpand:()=>{if(n.animation){if(!s.value){s.value=!1;return}r.value!==-1&&Xn(()=>{const p=t.value-c.value;u.value=e.value.slice(0,r.value-p+1),a.value?m():d.value=e.value.slice(r.value-p+1),i.value=!0,Xn(()=>{l.value=!l.value})})}},onExpandAnimationFinish:()=>{h()}}},aN={style:{display:"grid"}},cN={style:{overflow:"hidden"}},np={data:()=>[],unloadDataList:()=>[],showUnloadCheckedNodes:!0,emptyText:"暂无数据",titleField:"title",keyField:"id",separator:",",checkable:!1,selectable:!1,filteredNodeCheckable:!1,cascade:!0,enableLeafOnly:!1,disableAll:!1,defaultExpandAll:!1,defaultExpandedKeys:()=>[],expandedKeys:()=>[],draggable:!1,droppable:!1,beforeDropMethod:()=>()=>!0,ignoreMode:eo.none,autoLoad:!0,expandOnFilter:!0,unselectOnClick:!0,loading:!1,nodeMinHeight:30,nodeIndent:20,renderNodeAmount:100,bufferNodeAmount:20},uN=pt({name:"VTree",inheritAttrs:!1,__name:"Tree",props:Hf({data:{},emptyText:{},modelValue:{},selectable:{type:Boolean},checkable:{type:Boolean},separator:{},ignoreMode:{},titleField:{},keyField:{},filterMethod:{type:Function},showUnloadCheckedNodes:{type:Boolean},unloadDataList:{},load:{type:Function},filteredNodeCheckable:{type:Boolean},cascade:{type:Boolean},enableLeafOnly:{type:Boolean},disableAll:{type:Boolean},defaultExpandAll:{type:Boolean},defaultExpandedKeys:{},expandedKeys:{},draggable:{type:Boolean},droppable:{type:Boolean},beforeDropMethod:{type:Function},autoLoad:{type:Boolean},render:{type:Function},expandOnFilter:{type:Boolean},unselectOnClick:{type:Boolean},loading:{type:Boolean},nodeClassName:{type:[String,Object,Array,Function]},showLine:{type:[Boolean,Object]},animation:{type:Boolean},nodeIndent:{},renderNodeAmount:{},nodeMinHeight:{},bufferNodeAmount:{}},np),emits:["update:modelValue",...Xb],setup(e,{expose:t,emit:n}){const s=e,i=n,r=["node-drop","check","select","expand"],o=ja.reduce((q,me)=>(r.indexOf(me)<0&&(q[me]=(...de)=>{i(me,...de)}),q),{}),l=()=>({store:new Wb({keyField:s.keyField,ignoreMode:s.ignoreMode,filteredNodeCheckable:s.filteredNodeCheckable,cascade:s.cascade,defaultExpandAll:s.defaultExpandAll,load:s.load,expandOnFilter:s.expandOnFilter}),blockNodes:[]});let a=l();tp.forEach(q=>{a.store.on(q,(...me)=>{i(q,...me)})});const c=()=>{s.expandedKeys.length&&(a.store.setExpandAll(!1,!1),a.store.setExpandKeys(s.expandedKeys,!0))},{wrapperCls:u,scrollAreaCls:f,blockAreaCls:d,emptyCls:h,emptyTextDefaultCls:m,loadingCls:p,loadingWrapperCls:S,loadingIconCls:N,iframeCls:E}=nN(),{scrollArea:g,renderNodes:_,blockLength:y,topSpaceHeight:w,bottomSpaceHeight:P,renderStart:T,resetSpaceHeights:O,updateRender:D,updateBlockNodes:I,updateBlockData:C,handleTreeScroll:R,scrollTo:G}=sN(a,s),z=lN(_,T,s),{unloadCheckedNodes:W,isRootLoading:J,setData:H,setChecked:le,setCheckedKeys:$e,checkAll:Ge,clearChecked:Je,setSelected:Et,clearSelected:fn,setExpand:V,setExpandKeys:Z,setExpandAll:be,getCheckedNodes:Ze,getCheckedKeys:lt,getIndeterminateNodes:Rt,getSelectedNode:tt,getSelectedKey:$t,getExpandNodes:oi,getExpandKeys:v,getCurrentVisibleNodes:b,getNode:x,getTreeData:F,getFlatData:M,getNodesCount:A,insertBefore:B,insertAfter:$,append:j,prepend:L,remove:ee,filter:U,showCheckedNodes:X,loadRootNodes:se,updateNode:pe,updateNodes:Oe}=rN(a,s,{resetSpaceHeights:O,updateExpandedKeys:c,updateBlockData:C,updateRender:D}),Ee=q=>typeof s.nodeClassName=="function"?s.nodeClassName(q):s.nodeClassName,Ye=ie(()=>{var q;const me=[];let de=(q=_.value[0])==null?void 0:q._parent;for(;de;)me.push(de),de=de._parent;const Qe=me.concat(_.value),hn={},xs=[];return Qe.forEach(tr=>{const Ba=tr._level;let Vo=xs.length;for(;Vo;){const Ka=xs[Vo-1],Ua=Ka._level;if(Ua>Ba)hn[Ka[s.keyField]]=!0,xs.pop();else if(Ua===Ba){xs.pop();break}else break;Vo--}xs.push(tr)}),xs.forEach(tr=>{hn[tr[s.keyField]]=!0}),hn}),Xe=(q,me)=>{if(Array.isArray(q)&&Array.isArray(me)){if(q.length===me.length&&q.every(de=>me.some(Qe=>Qe===de)))return!0}else if(q===me)return!0;return!1},nt=ne(Array.isArray(s.modelValue)?s.modelValue.concat():s.modelValue),st=q=>{!s.cascade&&s.enableLeafOnly&&!q.isLeaf||a.store.setChecked(q[s.keyField],q.indeterminate?!0:!q.checked,!0,!0,!0)},dn=q=>{s.enableLeafOnly&&!q.isLeaf||a.store.setSelected(q[s.keyField],!q.selected)},Ds=q=>{z.updateBeforeExpand(q),a.store.setExpand(q[s.keyField],!q.expand)},Ke=(q,me,de)=>{if(s.droppable&&me.dataTransfer)try{const Qe=JSON.parse(me.dataTransfer.getData("node"))[s.keyField],hn=q[s.keyField];if(s.beforeDropMethod(Qe,hn,de)){if(Qe===hn)return;de===tn.before?a.store.insertBefore(Qe,hn):de===tn.body||!q.isLeaf&&q.expand?a.store.prepend(Qe,hn):de===tn.after&&a.store.insertAfter(Qe,hn),i("node-drop",q,me,de,x(Qe))}}catch(Qe){throw new Error(Qe)}};ft(()=>s.modelValue,q=>{if(s.checkable){if(Xe(q,nt.value))return;let me=[];Array.isArray(q)?me=q.concat():typeof q=="string"&&(me=q===""?[]:q.split(s.separator)),a.store.clearChecked(!1,!1),a.store.setCheckedKeys(me,!0)}else if(s.selectable){if(q===nt.value)return;const me=a.store.getSelectedKey();q!==""&&q!=null?a.store.setSelected(q,!0):(q===""||q==null)&&me&&a.store.setSelected(me,!1)}}),ft(()=>s.data,q=>{H(q)}),ft(()=>s.expandedKeys,()=>{c()});const Vt=()=>{if(W.value.length){const q=a.store.getUnloadCheckedKeys();W.value.forEach(me=>{me.checked=q.indexOf(me[s.keyField])>-1})}},Qi=(q,me)=>{if(s.checkable){let de=me;Array.isArray(s.modelValue)||(de=de.join(s.separator)),Array.isArray(de)?nt.value=de.concat():nt.value=de,i("update:modelValue",de)}},er=(q,me)=>{if(s.selectable&&!s.checkable){const de=me||"";nt.value=de,i("update:modelValue",de)}};un(()=>{a.store.on("expand",z.updateAfterExpand),a.store.on("visible-data-change",I),a.store.on("render-data-change",D),a.store.on("checked-change",(q,me)=>{Qi(q,me),Vt()}),a.store.on("selected-change",er),s.data.length?(H(s.data),s.defaultExpandedKeys.length&&a.store.setExpandKeys(s.defaultExpandedKeys,!0)):typeof s.load=="function"&&s.autoLoad&&((s.modelValue||s.unloadDataList)&&H([]),se())}),ws(()=>{a.store.disposeListeners();const q=l();a.store=q.store,a.blockNodes=q.blockNodes}),iN(D);const op=["titleField","keyField","checkable","selectable","unselectOnClick","disableAll","draggable","droppable","render","nodeIndent","showLine"],To=ii(oN(lf(s),...op));return t({setData:H,setChecked:le,setCheckedKeys:$e,checkAll:Ge,clearChecked:Je,setSelected:Et,clearSelected:fn,setExpand:V,setExpandKeys:Z,setExpandAll:be,getCheckedNodes:Ze,getCheckedKeys:lt,getIndeterminateNodes:Rt,getSelectedNode:tt,getSelectedKey:$t,getExpandNodes:oi,getExpandKeys:v,getCurrentVisibleNodes:b,getNode:x,getTreeData:F,getFlatData:M,getNodesCount:A,insertBefore:B,insertAfter:$,append:j,prepend:L,remove:ee,filter:U,showCheckedNodes:X,loadRootNodes:se,updateNode:pe,updateNodes:Oe,scrollTo:G}),(q,me)=>(fe(),Ce("div",{class:xe(Y(u))},[ae("div",{ref_key:"scrollArea",ref:g,class:xe(Y(f)),onScrollPassive:me[0]||(me[0]=$d((...de)=>Y(R)&&Y(R)(...de),["stop"]))},[ae("div",{class:xe(Y(d))},[ae("div",{style:qe({height:`${Y(w)}px`})},null,4),(fe(!0),Ce(we,null,hs(Y(z).ready.value?Y(z).topNodes.value:Y(_),de=>(fe(),Wt(Xo,en({ref_for:!0},To,{key:de[q.keyField],data:de,getNode:Y(x),noSiblingNodeMap:Ye.value},Bs(Y(o)),{class:Ee(de),style:{minHeight:`${q.nodeMinHeight}px`},onCheck:st,onSelect:dn,onExpand:Ds,onNodeDrop:Ke}),{default:rn(Qe=>[Bn(q.$slots,"node",en({ref_for:!0},Qe))]),_:2},1040,["data","getNode","noSiblingNodeMap","class","style"]))),128)),Y(z).ready.value?(fe(),Ce(we,{key:0},[_e(ca,{name:"vtree-expand-animation",onAfterEnter:Y(z).onExpandAnimationFinish,onAfterLeave:Y(z).onExpandAnimationFinish},{default:rn(()=>[zn(ae("div",aN,[ae("div",cN,[(fe(!0),Ce(we,null,hs(Y(z).middleNodes.value,de=>(fe(),Wt(Xo,en({ref_for:!0},To,{key:de[q.keyField],data:de,getNode:Y(x),noSiblingNodeMap:Ye.value},Bs(Y(o)),{class:Ee(de),style:{minHeight:`${q.nodeMinHeight}px`},onCheck:st,onSelect:dn,onExpand:Ds,onNodeDrop:Ke}),{default:rn(Qe=>[Bn(q.$slots,"node",en({ref_for:!0},Qe))]),_:2},1040,["data","getNode","noSiblingNodeMap","class","style"]))),128))])],512),[[Gn,Y(z).currentExpandState.value]])]),_:3},8,["onAfterEnter","onAfterLeave"]),(fe(!0),Ce(we,null,hs(Y(z).bottomNodes.value,de=>(fe(),Wt(Xo,en({ref_for:!0},To,{key:de[q.keyField],data:de,getNode:Y(x),noSiblingNodeMap:Ye.value},Bs(Y(o)),{class:Ee(de),style:{minHeight:`${q.nodeMinHeight}px`},onCheck:st,onSelect:dn,onExpand:Ds,onNodeDrop:Ke}),{default:rn(Qe=>[Bn(q.$slots,"node",en({ref_for:!0},Qe))]),_:2},1040,["data","getNode","noSiblingNodeMap","class","style"]))),128))],64)):Cn("",!0),ae("div",{style:qe({height:`${Y(P)}px`})},null,4)],2)],34),zn(ae("div",{class:xe(Y(h))},[ae("span",{class:xe(Y(m))},[Bn(q.$slots,"empty",{},()=>[_s(sn(q.emptyText),1)])],2)],2),[[Gn,!Y(y)]]),zn(ae("div",{class:xe(Y(p))},[ae("div",{class:xe(Y(S))},[Bn(q.$slots,"loading",{},()=>[_e(ep,{class:xe(Y(N))},null,8,["class"])])],2)],2),[[Gn,q.loading||Y(J)]]),ae("iframe",{ref:"iframe",class:xe(Y(E))},null,2)],2))}}),fN={...np,searchPlaceholder:"搜索关键字",showCheckAll:!0,showCheckedButton:!0,checkedButtonText:"已选",showFooter:!0,searchLength:1,searchDisabled:!1,searchRemote:!1,searchDebounceTime:300};({...fN,placement:Qh["bottom-start"]});const dN="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13%203L13.7071%202.29289C13.5196%202.10536%2013.2652%202%2013%202V3ZM19%209H20C20%208.73478%2019.8946%208.48043%2019.7071%208.29289L19%209ZM13.109%208.45399L14%208V8L13.109%208.45399ZM13.546%208.89101L14%208L13.546%208.89101ZM10%2013C10%2012.4477%209.55228%2012%209%2012C8.44772%2012%208%2012.4477%208%2013H10ZM8%2016C8%2016.5523%208.44772%2017%209%2017C9.55228%2017%2010%2016.5523%2010%2016H8ZM8.5%209C7.94772%209%207.5%209.44772%207.5%2010C7.5%2010.5523%207.94772%2011%208.5%2011V9ZM9.5%2011C10.0523%2011%2010.5%2010.5523%2010.5%2010C10.5%209.44772%2010.0523%209%209.5%209V11ZM8.5%206C7.94772%206%207.5%206.44772%207.5%207C7.5%207.55228%207.94772%208%208.5%208V6ZM9.5%208C10.0523%208%2010.5%207.55228%2010.5%207C10.5%206.44772%2010.0523%206%209.5%206V8ZM17.908%2020.782L17.454%2019.891L17.454%2019.891L17.908%2020.782ZM18.782%2019.908L19.673%2020.362L18.782%2019.908ZM5.21799%2019.908L4.32698%2020.362H4.32698L5.21799%2019.908ZM6.09202%2020.782L6.54601%2019.891L6.54601%2019.891L6.09202%2020.782ZM6.09202%203.21799L5.63803%202.32698L5.63803%202.32698L6.09202%203.21799ZM5.21799%204.09202L4.32698%203.63803L4.32698%203.63803L5.21799%204.09202ZM12%203V7.4H14V3H12ZM14.6%2010H19V8H14.6V10ZM12%207.4C12%207.66353%2011.9992%207.92131%2012.0169%208.13823C12.0356%208.36682%2012.0797%208.63656%2012.218%208.90798L14%208C14.0293%208.05751%2014.0189%208.08028%2014.0103%207.97537C14.0008%207.85878%2014%207.69653%2014%207.4H12ZM14.6%208C14.3035%208%2014.1412%207.99922%2014.0246%207.9897C13.9197%207.98113%2013.9425%207.9707%2014%208L13.092%209.78201C13.3634%209.92031%2013.6332%209.96438%2013.8618%209.98305C14.0787%2010.0008%2014.3365%2010%2014.6%2010V8ZM12.218%208.90798C12.4097%209.2843%2012.7157%209.59027%2013.092%209.78201L14%208V8L12.218%208.90798ZM8%2013V16H10V13H8ZM8.5%2011H9.5V9H8.5V11ZM8.5%208H9.5V6H8.5V8ZM13%202H8.2V4H13V2ZM4%206.2V17.8H6V6.2H4ZM8.2%2022H15.8V20H8.2V22ZM20%2017.8V9H18V17.8H20ZM19.7071%208.29289L13.7071%202.29289L12.2929%203.70711L18.2929%209.70711L19.7071%208.29289ZM15.8%2022C16.3436%2022%2016.8114%2022.0008%2017.195%2021.9694C17.5904%2021.9371%2017.9836%2021.8658%2018.362%2021.673L17.454%2019.891C17.4045%2019.9162%2017.3038%2019.9539%2017.0322%2019.9761C16.7488%2019.9992%2016.3766%2020%2015.8%2020V22ZM18%2017.8C18%2018.3766%2017.9992%2018.7488%2017.9761%2019.0322C17.9539%2019.3038%2017.9162%2019.4045%2017.891%2019.454L19.673%2020.362C19.8658%2019.9836%2019.9371%2019.5904%2019.9694%2019.195C20.0008%2018.8114%2020%2018.3436%2020%2017.8H18ZM18.362%2021.673C18.9265%2021.3854%2019.3854%2020.9265%2019.673%2020.362L17.891%2019.454C17.7951%2019.6422%2017.6422%2019.7951%2017.454%2019.891L18.362%2021.673ZM4%2017.8C4%2018.3436%203.99922%2018.8114%204.03057%2019.195C4.06287%2019.5904%204.13419%2019.9836%204.32698%2020.362L6.10899%2019.454C6.0838%2019.4045%206.04612%2019.3038%206.02393%2019.0322C6.00078%2018.7488%206%2018.3766%206%2017.8H4ZM8.2%2020C7.62345%2020%207.25117%2019.9992%206.96784%2019.9761C6.69617%2019.9539%206.59545%2019.9162%206.54601%2019.891L5.63803%2021.673C6.01641%2021.8658%206.40963%2021.9371%206.80497%2021.9694C7.18864%2022.0008%207.65645%2022%208.2%2022V20ZM4.32698%2020.362C4.6146%2020.9265%205.07354%2021.3854%205.63803%2021.673L6.54601%2019.891C6.35785%2019.7951%206.20487%2019.6422%206.10899%2019.454L4.32698%2020.362ZM8.2%202C7.65645%202%207.18864%201.99922%206.80497%202.03057C6.40963%202.06287%206.01641%202.13419%205.63803%202.32698L6.54601%204.10899C6.59545%204.0838%206.69617%204.04612%206.96784%204.02393C7.25117%204.00078%207.62345%204%208.2%204V2ZM6%206.2C6%205.62345%206.00078%205.25117%206.02393%204.96784C6.04612%204.69617%206.0838%204.59545%206.10899%204.54601L4.32698%203.63803C4.13419%204.01641%204.06287%204.40963%204.03057%204.80497C3.99922%205.18864%204%205.65645%204%206.2H6ZM5.63803%202.32698C5.07354%202.6146%204.6146%203.07354%204.32698%203.63803L6.10899%204.54601C6.20487%204.35785%206.35785%204.20487%206.54601%204.10899L5.63803%202.32698Z'%20fill='%23000000'/%3e%3c/svg%3e",hN="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%201H6L9%204H16V14H0V1Z'%20fill='%2354aeff'/%3e%3c/svg%3e",xo=function({isMaster:e=!1}={}){return{...Pa({isMaster:e,key:"diffFiles"})}};function pN(e){function t(i){return i.fullPath?i.fullPath:i.diffPair?i.diffPair[1]?.filename||i.diffPair[0]?.filename:typeof i.diffPatch=="string"?Uh(i.diffPatch).modFilename:""}const n=e.map((i,r)=>{const o=t(i),l=o.split("/"),a=l.at(-1)||"",c=a.split(".").at(-1);return{...i,fullPath:o,name:a,folderPath:l.slice(0,-1).join("/"),type:c?.toLowerCase()}});n.sort((i,r)=>i.fullPath===r.fullPath?0:i.fullPath>r.fullPath?1:-1);const s=Object.fromEntries(n.map(i=>[i.fullPath,i]));return{files:n,fileMap:s}}const mN={class:"file-search"},gN=["placeholder"],vN=pt({__name:"FileSearch",props:{placeholder:{default:"Search files"}},emits:["update:modelValue"],setup(e,{emit:t}){const{funcs:n}=xo(),{searchKeyword:s}=n,i=JE(r=>{n.filterTree(r.target.value)},300);return(r,o)=>(fe(),Ce("div",mN,[zn(ae("input",{class:"file-search__input",type:"search","onUpdate:modelValue":o[0]||(o[0]=l=>Ie(s)?s.value=l:null),placeholder:e.placeholder,autocomplete:"off",spellcheck:"false",onInput:o[1]||(o[1]=(...l)=>Y(i)&&Y(i)(...l))},null,40,gN),[[Li,Y(s)]])]))}}),yN=kn(vN,[["__scopeId","data-v-035db611"]]);function Cu(e,t){return{id:t,title:e,name:e,fullPath:t,isDirectory:!0,children:[]}}function sp(e){const t=e.children?.map(s=>s.isDirectory?sp(s):s)||[];let n={id:e.id,title:e.title,name:e.name,fullPath:e.fullPath,isDirectory:!0,children:t};for(;n.children?.length===1&&n.children[0].isDirectory;){const s=n.children[0],i=`${n.name}/${s.name}`;n={id:s.id,title:i,name:i,fullPath:s.fullPath,isDirectory:!0,children:s.children}}return n}function EN(e){const t=Cu("","");return e.forEach(n=>{const{fullPath:s,folderPath:i="",name:r}=n,o=i.split("/").filter(Boolean);let l=t,a="";o.forEach(c=>{a=a?`${a}/${c}`:c;let u=l.children?.find(f=>f.isDirectory&&f.name===c);u||(u=Cu(c,a),l.children?.push(u)),l=u}),l.children?.push({...n,id:s,title:r||"",name:r,fullPath:s,isDirectory:!1})}),t.children.map(n=>n.isDirectory?sp(n):n)}function _N(e,t){return t?.trim()?w_.filter(e,s=>[s.title,s.fullPath].find(r=>qE.like(r,t))||!!s.children?.length)||[]:e}const bN={class:"file-explore-wrap"},NN={class:"file-tree"},SN=["title","onClick"],ON=["src"],wN={class:"file-tree-node__label"},CN=pt({__name:"FileExplore",props:{diffFiles:{default:()=>[]}},emits:["select-file"],setup(e,{emit:t}){const n=e,s=t,{funcs:i,registerFunc:r}=xo(),o=ne(null),l=Un([]),a=ne(""),c=ne(""),u=p=>{const S=_N(l.value,p);o.value?.setData(S)};r({searchKeyword:a,selectedFileKey:c,filterTree:u});const f=async()=>{l.value=EN(n.diffFiles),await Xn(),o.value?.clearSelected(),u(a.value)},d=p=>{i.selectFile?.(p),s("select-file",{fullPath:p})},h=p=>{if(p=p,p.isDirectory){o.value?.setExpand(p.id,!p.expand,!1);return}d(p.fullPath)},m=p=>{!p||p.isDirectory||i.selectedFileKey.value===p.fullPath||d(p.fullPath)};return un(()=>{f()}),(p,S)=>(fe(),Ce("div",bN,[_e(yN),ae("div",NN,[_e(Y(uN),{ref_key:"treeRef",ref:o,selectable:"","enable-leaf-only":"","unselect-on-click":!1,"default-expand-all":!0,animation:!1,"node-min-height":32,"node-indent":8,"render-node-amount":60,"buffer-node-amount":20,"empty-text":"No changed files",onSelectedChange:m},{node:rn(({node:N})=>[ae("div",{class:"file-tree-node",title:N.fullPath||N.title,onClick:E=>h(N)},[ae("img",{class:"file-tree-node__icon",src:N.isDirectory?Y(hN):Y(dN),alt:""},null,8,ON),ae("span",wN,sn(N.title),1)],8,SN)]),_:1},512)])]))}}),DN=kn(CN,[["__scopeId","data-v-70ab28a6"]]),Du=12,xN=2,TN=pt({__name:"DiffList",props:{diffFiles:{default:()=>[]},fileOverScan:{default:30},fileViewMap:{default:()=>({})},viewerStyle:{default:()=>({})}},emits:["view-state-change"],setup(e,{emit:t}){const n=Kh+xN+Du,s=e,i=t,r=ne(null),{funcs:o}=Fh(),{funcs:l,registerFunc:a}=xo(),{selectedFileKey:c}=l;a({selectFile:async m=>{const p=s.diffFiles.findIndex(S=>S.fullPath===m);if(p<0){c.value="";return}c.value=m,await Xn(),o.virtualer?.value.scrollToIndex(p,{align:"start"})}});const f=m=>{const p=s.fileViewMap[m.fullPath];return{...s.viewerStyle,height:`${p?.height||0}px`,viewed:p?.viewed??!1,rawed:p?.rawed??!1}},d=m=>{let{height:p,viewed:S}=s.fileViewMap[m.fullPath];return S&&(p=0),p+n},h=(m,p)=>{i("view-state-change",m,p),o.resizeItem(m.fullPath,d(m))};return(m,p)=>(fe(),Wt(Y(zE),{ref_key:"virtualScrollRef",ref:r,class:"diff-list-wrap",items:e.diffFiles,itemSize:d,keyField:"fullPath",overscan:e.fileOverScan},{default:rn(({item:S})=>[ae("div",{class:xe(["file-wrap",{"file-wrap--selected":Y(c)===S.fullPath}]),style:qe({paddingBottom:`${Du}px`})},[_e(Zh,{fileId:S.fullPath,diffPair:S.diffPair,diffPatch:S.diffPatch,viewerStyle:f(S),onViewStateChange:N=>h(S,N)},null,8,["fileId","diffPair","diffPatch","viewerStyle","onViewStateChange"])],6)]),_:1},8,["items","overscan"]))}}),VN=kn(TN,[["__scopeId","data-v-9f37abdf"]]),kN={class:"diff-files-wrap"},AN={class:"content-wrap"},IN={class:"filelist-viewer-wrap"},MN=3,PN=pt({__name:"DiffFiles",props:{diffFiles:{default:()=>[]},fileOverScan:{default:30},viewerStyle:{default:()=>({})}},emits:["select-file"],setup(e,{emit:t}){const n=e,{files:s,fileMap:i}=pN(n.diffFiles),r=c=>{const u=o[c.fullPath];return n.viewerStyle.height?Gh(n.viewerStyle.height):(()=>{const d={minHeight:"0px",maxHeight:"500px",...n.viewerStyle};return Jh({id:c.fullPath,patch:c.diffPatch,pair:c.diffPair,minHeight:d.minHeight,maxHeight:d.maxHeight,unchangedVisiable:u.rawed,unchangedCtxLineNum:MN,unchangedMinLineNum:1})})()},o=ii(Object.fromEntries(s.map(c=>[c.fullPath,{height:0,viewed:!1,rawed:!1}])));Yl(()=>{Object.entries(o).forEach(([c,u])=>{a(i[c])})});const l=t;xo({isMaster:!0});const a=(c,u={})=>{const f=o[c.fullPath];Object.assign(f,u),f.height=r(c)};return(c,u)=>(fe(),Ce("div",kN,[ae("div",AN,[_e(DN,{class:"file-explore",diffFiles:Y(s),onSelectFile:u[0]||(u[0]=f=>l("select-file",f))},null,8,["diffFiles"]),ae("div",IN,[_e(VN,{diffFiles:Y(s),fileOverScan:e.fileOverScan,fileViewMap:o,viewerStyle:e.viewerStyle,onViewStateChange:a},null,8,["diffFiles","fileOverScan","fileViewMap","viewerStyle"])])])]))}}),LN=kn(PN,[["__scopeId","data-v-1a22123f"]]),ip="wtool-diff-files",Ha=No(LN,{shadowRoot:!1});function rp(e=ip){customElements.get(e)||customElements.define(e,Ha)}function xu(e,t){const n=e;for(const s of Object.keys(t)){const i=t[s];i!==void 0&&(n[s]=i)}}function FN(e,t={}){rp();const n=new Ha,s=new Set;return xu(n,t),e.appendChild(n),{update(i){xu(n,i)},onSelectFile(i){const r=o=>{const[l]=o.detail;i(l)};return s.add(r),n.addEventListener("select-file",r),()=>{s.delete(r),n.removeEventListener("select-file",r)}},destroy(){s.forEach(i=>{n.removeEventListener("select-file",i)}),s.clear(),n.remove()}}}exports.WTOOL_DIFF_FILES_TAG=ip;exports.WTOOL_DIFF_VIEWER_TAG=Yh;exports.WtoolDiffFiles=Ha;exports.WtoolDiffViewer=$a;exports.createDiffFiles=FN;exports.createDiffViewer=jb;exports.loader=Bh;exports.registerDiffFiles=rp;exports.registerDiffViewer=Xh;
|