Socket
Socket
Sign inDemoInstall

@vue/compiler-dom

Package Overview
Dependencies
4
Maintainers
1
Versions
210
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-alpha.4 to 3.0.0-alpha.5

52

dist/compiler-dom.d.ts
import { CodegenResult } from '@vue/compiler-core';
import { CompilerError } from '@vue/compiler-core';
import { CompilerOptions } from '@vue/compiler-core';
import { DirectiveTransform } from '@vue/compiler-core';
import { NodeTransform } from '@vue/compiler-core';
import { ParserOptions } from '@vue/compiler-core';
import { RootNode } from '@vue/compiler-core';
import { SourceLocation } from '@vue/compiler-core';
export declare function compile(template: string, options?: CompilerOptions): CodegenResult;
export declare function createDOMCompilerError(code: DOMErrorCodes, loc?: SourceLocation): DOMCompilerError;
declare interface DOMCompilerError extends CompilerError {
code: DOMErrorCodes;
}
export declare const DOMDirectiveTransforms: Record<string, DirectiveTransform>;
export declare const enum DOMErrorCodes {
X_V_HTML_NO_EXPRESSION = 55,
X_V_HTML_WITH_CHILDREN = 56,
X_V_TEXT_NO_EXPRESSION = 57,
X_V_TEXT_WITH_CHILDREN = 58,
X_V_MODEL_ON_INVALID_ELEMENT = 59,
X_V_MODEL_ARG_ON_ELEMENT = 60,
X_V_MODEL_ON_FILE_INPUT_ELEMENT = 61,
X_V_MODEL_UNNECESSARY_VALUE = 62,
X_V_SHOW_NO_EXPRESSION = 63,
X_TRANSITION_INVALID_CHILDREN = 64,
__EXTEND_POINT__ = 65
}
export declare const DOMNodeTransforms: NodeTransform[];
export declare function parse(template: string, options?: ParserOptions): RootNode;
export declare const parserOptions: ParserOptions;
export declare const transformStyle: NodeTransform;
export declare const TRANSITION: unique symbol;
export declare const TRANSITION_GROUP: unique symbol;
export declare const V_MODEL_CHECKBOX: unique symbol;
export declare const V_MODEL_DYNAMIC: unique symbol;
export declare const V_MODEL_RADIO: unique symbol;
export declare const V_MODEL_SELECT: unique symbol;
export declare const V_MODEL_TEXT: unique symbol;
export declare const V_ON_WITH_KEYS: unique symbol;
export declare const V_ON_WITH_MODIFIERS: unique symbol;
export declare const V_SHOW: unique symbol;
export * from "@vue/compiler-core";
export { }

251

dist/compiler-dom.esm-bundler.js

@@ -1,2 +0,2 @@

import { createSimpleExpression, createCompilerError, createObjectProperty, registerRuntimeHelpers, transformModel as transformModel$1, findProp, transformOn as transformOn$1, createCallExpression, createObjectExpression, baseCompile, isBuiltInType, baseParse } from '@vue/compiler-core';
import { registerRuntimeHelpers, isBuiltInType, createSimpleExpression, createCompilerError, createObjectProperty, transformModel as transformModel$1, findProp, hasDynamicKeyVBind, transformOn as transformOn$1, createCompoundExpression, createCallExpression, createObjectExpression, noopDirectiveTransform, baseCompile, baseParse } from '@vue/compiler-core';
export * from '@vue/compiler-core';

@@ -49,2 +49,25 @@

const V_MODEL_RADIO = Symbol((process.env.NODE_ENV !== 'production') ? `vModelRadio` : ``);
const V_MODEL_CHECKBOX = Symbol((process.env.NODE_ENV !== 'production') ? `vModelCheckbox` : ``);
const V_MODEL_TEXT = Symbol((process.env.NODE_ENV !== 'production') ? `vModelText` : ``);
const V_MODEL_SELECT = Symbol((process.env.NODE_ENV !== 'production') ? `vModelSelect` : ``);
const V_MODEL_DYNAMIC = Symbol((process.env.NODE_ENV !== 'production') ? `vModelDynamic` : ``);
const V_ON_WITH_MODIFIERS = Symbol((process.env.NODE_ENV !== 'production') ? `vOnModifiersGuard` : ``);
const V_ON_WITH_KEYS = Symbol((process.env.NODE_ENV !== 'production') ? `vOnKeysGuard` : ``);
const V_SHOW = Symbol((process.env.NODE_ENV !== 'production') ? `vShow` : ``);
const TRANSITION = Symbol((process.env.NODE_ENV !== 'production') ? `Transition` : ``);
const TRANSITION_GROUP = Symbol((process.env.NODE_ENV !== 'production') ? `TransitionGroup` : ``);
registerRuntimeHelpers({
[V_MODEL_RADIO]: `vModelRadio`,
[V_MODEL_CHECKBOX]: `vModelCheckbox`,
[V_MODEL_TEXT]: `vModelText`,
[V_MODEL_SELECT]: `vModelSelect`,
[V_MODEL_DYNAMIC]: `vModelDynamic`,
[V_ON_WITH_MODIFIERS]: `withModifiers`,
[V_ON_WITH_KEYS]: `withKeys`,
[V_SHOW]: `vShow`,
[TRANSITION]: `Transition`,
[TRANSITION_GROUP]: `TransitionGroup`
});
const isRawTextContainer = /*#__PURE__*/ makeMap('style,iframe,script,noscript', true);

@@ -55,2 +78,10 @@ const parserOptionsMinimal = {

isPreTag: tag => tag === 'pre',
isBuiltInComponent: (tag) => {
if (isBuiltInType(tag, `Transition`)) {
return TRANSITION;
}
else if (isBuiltInType(tag, `TransitionGroup`)) {
return TRANSITION_GROUP;
}
},
// https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher

@@ -120,4 +151,3 @@ getNamespace(tag, parent) {

// replace p with an expression node
const parsed = JSON.stringify(parseInlineCSS(p.value.content));
const exp = context.hoist(createSimpleExpression(parsed, false, p.loc));
const exp = context.hoist(parseInlineCSS(p.value.content, p.loc));
node.props[i] = {

@@ -137,3 +167,3 @@ type: 7 /* DIRECTIVE */,

const propertyDelimiterRE = /:(.+)/;
function parseInlineCSS(cssText) {
function parseInlineCSS(cssText, loc) {
const res = {};

@@ -146,9 +176,5 @@ cssText.split(listDelimiterRE).forEach(item => {

});
return res;
return createSimpleExpression(JSON.stringify(res), false, loc);
}
const transformCloak = (node, context) => {
return { props: [], needRuntime: false };
};
function createDOMCompilerError(code, loc) {

@@ -165,3 +191,5 @@ return createCompilerError(code, loc, (process.env.NODE_ENV !== 'production') || !true ? DOMErrorMessages : undefined);

[61 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */]: `v-model cannot used on file inputs since they are read-only. Use a v-on:change listener instead.`,
[62 /* X_V_SHOW_NO_EXPRESSION */]: `v-show is missing expression.`
[62 /* X_V_MODEL_UNNECESSARY_VALUE */]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,
[63 /* X_V_SHOW_NO_EXPRESSION */]: `v-show is missing expression.`,
[64 /* X_TRANSITION_INVALID_CHILDREN */]: `<Transition> expects exactly one child element or component.`
};

@@ -181,4 +209,3 @@

createObjectProperty(createSimpleExpression(`innerHTML`, true, loc), exp || createSimpleExpression('', true))
],
needRuntime: false
]
};

@@ -199,81 +226,77 @@ };

createObjectProperty(createSimpleExpression(`textContent`, true, loc), exp || createSimpleExpression('', true))
],
needRuntime: false
]
};
};
const V_MODEL_RADIO = Symbol((process.env.NODE_ENV !== 'production') ? `vModelRadio` : ``);
const V_MODEL_CHECKBOX = Symbol((process.env.NODE_ENV !== 'production') ? `vModelCheckbox` : ``);
const V_MODEL_TEXT = Symbol((process.env.NODE_ENV !== 'production') ? `vModelText` : ``);
const V_MODEL_SELECT = Symbol((process.env.NODE_ENV !== 'production') ? `vModelSelect` : ``);
const V_MODEL_DYNAMIC = Symbol((process.env.NODE_ENV !== 'production') ? `vModelDynamic` : ``);
const V_ON_WITH_MODIFIERS = Symbol((process.env.NODE_ENV !== 'production') ? `vOnModifiersGuard` : ``);
const V_ON_WITH_KEYS = Symbol((process.env.NODE_ENV !== 'production') ? `vOnKeysGuard` : ``);
const V_SHOW = Symbol((process.env.NODE_ENV !== 'production') ? `vShow` : ``);
const TRANSITION = Symbol((process.env.NODE_ENV !== 'production') ? `Transition` : ``);
const TRANSITION_GROUP = Symbol((process.env.NODE_ENV !== 'production') ? `TransitionGroup` : ``);
registerRuntimeHelpers({
[V_MODEL_RADIO]: `vModelRadio`,
[V_MODEL_CHECKBOX]: `vModelCheckbox`,
[V_MODEL_TEXT]: `vModelText`,
[V_MODEL_SELECT]: `vModelSelect`,
[V_MODEL_DYNAMIC]: `vModelDynamic`,
[V_ON_WITH_MODIFIERS]: `withModifiers`,
[V_ON_WITH_KEYS]: `withKeys`,
[V_SHOW]: `vShow`,
[TRANSITION]: `Transition`,
[TRANSITION_GROUP]: `TransitionGroup`
});
const transformModel = (dir, node, context) => {
const baseResult = transformModel$1(dir, node, context);
// base transform has errors
if (!baseResult.props.length) {
// base transform has errors OR component v-model (only need props)
if (!baseResult.props.length || node.tagType === 1 /* COMPONENT */) {
return baseResult;
}
const { tag, tagType } = node;
if (tagType === 0 /* ELEMENT */) {
if (dir.arg) {
context.onError(createDOMCompilerError(60 /* X_V_MODEL_ARG_ON_ELEMENT */, dir.arg.loc));
if (dir.arg) {
context.onError(createDOMCompilerError(60 /* X_V_MODEL_ARG_ON_ELEMENT */, dir.arg.loc));
}
function checkDuplicatedValue() {
const value = findProp(node, 'value');
if (value) {
context.onError(createDOMCompilerError(62 /* X_V_MODEL_UNNECESSARY_VALUE */, value.loc));
}
if (tag === 'input' || tag === 'textarea' || tag === 'select') {
let directiveToUse = V_MODEL_TEXT;
let isInvalidType = false;
if (tag === 'input') {
const type = findProp(node, `type`);
if (type) {
if (type.type === 7 /* DIRECTIVE */) {
// :type="foo"
directiveToUse = V_MODEL_DYNAMIC;
}
const { tag } = node;
if (tag === 'input' || tag === 'textarea' || tag === 'select') {
let directiveToUse = V_MODEL_TEXT;
let isInvalidType = false;
if (tag === 'input') {
const type = findProp(node, `type`);
if (type) {
if (type.type === 7 /* DIRECTIVE */) {
// :type="foo"
directiveToUse = V_MODEL_DYNAMIC;
}
else if (type.value) {
switch (type.value.content) {
case 'radio':
directiveToUse = V_MODEL_RADIO;
break;
case 'checkbox':
directiveToUse = V_MODEL_CHECKBOX;
break;
case 'file':
isInvalidType = true;
context.onError(createDOMCompilerError(61 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */, dir.loc));
break;
default:
// text type
(process.env.NODE_ENV !== 'production') && checkDuplicatedValue();
break;
}
else if (type.value) {
switch (type.value.content) {
case 'radio':
directiveToUse = V_MODEL_RADIO;
break;
case 'checkbox':
directiveToUse = V_MODEL_CHECKBOX;
break;
case 'file':
isInvalidType = true;
context.onError(createDOMCompilerError(61 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */, dir.loc));
break;
}
}
}
}
else if (tag === 'select') {
directiveToUse = V_MODEL_SELECT;
else if (hasDynamicKeyVBind(node)) {
// element has bindings with dynamic keys, which can possibly contain
// "type".
directiveToUse = V_MODEL_DYNAMIC;
}
// inject runtime directive
// by returning the helper symbol via needRuntime
// the import will replaced a resolveDirective call.
if (!isInvalidType) {
baseResult.needRuntime = context.helper(directiveToUse);
else {
// text type
(process.env.NODE_ENV !== 'production') && checkDuplicatedValue();
}
}
else {
context.onError(createDOMCompilerError(59 /* X_V_MODEL_ON_INVALID_ELEMENT */, dir.loc));
else if (tag === 'select') {
directiveToUse = V_MODEL_SELECT;
}
else if (tag === 'textarea') {
(process.env.NODE_ENV !== 'production') && checkDuplicatedValue();
}
// inject runtime directive
// by returning the helper symbol via needRuntime
// the import will replaced a resolveDirective call.
if (!isInvalidType) {
baseResult.needRuntime = context.helper(directiveToUse);
}
}
else {
context.onError(createDOMCompilerError(59 /* X_V_MODEL_ON_INVALID_ELEMENT */, dir.loc));
}
return baseResult;

@@ -317,2 +340,18 @@ };

};
const transformClick = (key, event) => {
const isStaticClick = key.type === 4 /* SIMPLE_EXPRESSION */ &&
key.isStatic &&
key.content.toLowerCase() === 'onclick';
return isStaticClick
? createSimpleExpression(event, true)
: key.type !== 4 /* SIMPLE_EXPRESSION */
? createCompoundExpression([
`(`,
key,
`).toLowerCase() === "onclick" ? "${event}" : (`,
key,
`)`
])
: key;
};
const transformOn = (dir, node, context) => {

@@ -325,2 +364,9 @@ return transformOn$1(dir, node, context, baseResult => {

const { keyModifiers, nonKeyModifiers, eventOptionModifiers } = generateModifiers(modifiers);
// normalize click.right and click.middle since they don't actually fire
if (nonKeyModifiers.includes('right')) {
key = transformClick(key, `onContextmenu`);
}
if (nonKeyModifiers.includes('middle')) {
key = transformClick(key, `onMouseup`);
}
if (nonKeyModifiers.length) {

@@ -349,4 +395,3 @@ handlerExp = createCallExpression(context.helper(V_ON_WITH_MODIFIERS), [

return {
props: [createObjectProperty(key, handlerExp)],
needRuntime: false
props: [createObjectProperty(key, handlerExp)]
};

@@ -359,3 +404,3 @@ });

if (!exp) {
context.onError(createDOMCompilerError(62 /* X_V_SHOW_NO_EXPRESSION */, loc));
context.onError(createDOMCompilerError(63 /* X_V_SHOW_NO_EXPRESSION */, loc));
}

@@ -368,3 +413,31 @@ return {

const parserOptions = parserOptionsMinimal ;
const warnTransitionChildren = (node, context) => {
if (node.type === 1 /* ELEMENT */ &&
node.tagType === 1 /* COMPONENT */) {
const component = context.isBuiltInComponent(node.tag);
if (component === TRANSITION &&
(node.children.length > 1 || node.children[0].type === 11 /* FOR */)) {
context.onError(createDOMCompilerError(64 /* X_TRANSITION_INVALID_CHILDREN */, {
start: node.children[0].loc.start,
end: node.children[node.children.length - 1].loc.end,
source: ''
}));
}
}
};
const parserOptions = parserOptionsMinimal
;
const DOMNodeTransforms = [
transformStyle,
...((process.env.NODE_ENV !== 'production') ? [warnTransitionChildren] : [])
];
const DOMDirectiveTransforms = {
cloak: noopDirectiveTransform,
html: transformVHtml,
text: transformVText,
model: transformModel,
on: transformOn,
show: transformShow
};
function compile(template, options = {}) {

@@ -374,20 +447,8 @@ return baseCompile(template, {

...options,
nodeTransforms: [transformStyle, ...(options.nodeTransforms || [])],
nodeTransforms: [...DOMNodeTransforms, ...(options.nodeTransforms || [])],
directiveTransforms: {
cloak: transformCloak,
html: transformVHtml,
text: transformVText,
model: transformModel,
on: transformOn,
show: transformShow,
...DOMDirectiveTransforms,
...(options.directiveTransforms || {})
},
isBuiltInComponent: tag => {
if (isBuiltInType(tag, `Transition`)) {
return TRANSITION;
}
else if (isBuiltInType(tag, `TransitionGroup`)) {
return TRANSITION_GROUP;
}
}
transformHoist: null
});

@@ -402,2 +463,2 @@ }

export { compile, parse };
export { DOMDirectiveTransforms, DOMNodeTransforms, TRANSITION, TRANSITION_GROUP, V_MODEL_CHECKBOX, V_MODEL_DYNAMIC, V_MODEL_RADIO, V_MODEL_SELECT, V_MODEL_TEXT, V_ON_WITH_KEYS, V_ON_WITH_MODIFIERS, V_SHOW, compile, createDOMCompilerError, parse, parserOptions, transformStyle };

@@ -1,1 +0,1 @@

function e(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",32:"NEED_PATCH",16:"FULL_PROPS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"DYNAMIC_SLOTS",[-1]:"BAIL"};const n=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),o=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,lineGradient,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"),r=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),s=()=>{},c=()=>!1,i=Array.isArray,l=e=>"string"==typeof e,u=e=>"symbol"==typeof e;function p(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const a=/-(\w)/g,f=p(e=>e.replace(a,(e,t)=>t?t.toUpperCase():"")),d=/\B([A-Z])/g,h=p(e=>e.replace(d,"-$1").toLowerCase()),g=p(e=>e.charAt(0).toUpperCase()+e.slice(1));function m(e){throw e}function y(e,t,n){const o=new SyntaxError(String(e));return o.code=e,o.loc=t,o}const v={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function x(e,t=v){return{type:16,loc:t,elements:e}}function b(e,t=v){return{type:14,loc:t,properties:e}}function S(e,t){return{type:15,loc:v,key:l(e)?N(e,!0):e,value:t}}function N(e,t,n=v,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function k(e,t){return{type:5,loc:t,content:l(e)?N(e,!1,t):e}}function T(e,t=v){return{type:8,loc:t,children:e}}function w(e,t=[],n=v){return{type:13,loc:n,callee:e,arguments:t}}function $(e,t,n=!1,o=!1,r=v){return{type:17,params:e,returns:t,newline:n,isSlot:o,loc:r}}function E(e){return{type:18,expressions:e,loc:v}}function C(e,t,n){return{type:19,test:e,consequent:t,alternate:n,loc:v}}function I(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:v}}const O=Symbol(""),M=Symbol(""),_=Symbol(""),L=Symbol(""),P=Symbol(""),A=Symbol(""),R=Symbol(""),B=Symbol(""),j=Symbol(""),D=Symbol(""),F=Symbol(""),V=Symbol(""),J=Symbol(""),z=Symbol(""),G=Symbol(""),W=Symbol(""),K=Symbol(""),U=Symbol(""),H=Symbol(""),q=Symbol(""),Y=Symbol(""),Z=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te={[O]:"Fragment",[M]:"Portal",[_]:"Suspense",[L]:"KeepAlive",[P]:"BaseTransition",[A]:"openBlock",[R]:"createBlock",[B]:"createVNode",[j]:"createCommentVNode",[D]:"createTextVNode",[F]:"resolveComponent",[V]:"resolveDynamicComponent",[J]:"resolveDirective",[z]:"withDirectives",[G]:"renderList",[W]:"renderSlot",[K]:"createSlots",[U]:"toDisplayString",[H]:"mergeProps",[q]:"toHandlers",[Y]:"camelize",[Z]:"setBlockTracking",[Q]:"pushScopeId",[X]:"popScopeId",[ee]:"withScopeId"};function ne(e){Object.getOwnPropertySymbols(e).forEach(t=>{te[t]=e[t]})}const oe=(e,t)=>e===t||e===h(t);function re(e){return oe(e,"Portal")?M:oe(e,"Suspense")?_:oe(e,"KeepAlive")?L:oe(e,"BaseTransition")?P:void 0}let se,ce;function ie(e){return window._deps[e]}const le=(e,t)=>(ye(!1,"Expression AST analysis can only be performed in non-browser builds."),(se||(se=ie("acorn").parse))(e,t)),ue=(e,t)=>(ye(!1,"Expression AST analysis can only be performed in non-browser builds."),(ce||(ce=ie("estree-walker").walk))(e,t)),pe=/^\d|[^\$\w]/,ae=e=>!pe.test(e),fe=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,de=e=>fe.test(e);function he(e,t,n){const o={source:e.source.substr(t,n),start:ge(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ge(e.start,e.source,t+n)),o}function ge(e,t,n=t.length){return me({...e},t,n)}function me(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function ye(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function ve(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(l(t)?r.name===t:t.test(r.name)))return r}}function xe(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(6===r.type){if(n)continue;if(r.name===t&&r.value)return r}else if("bind"===r.name&&r.arg&&4===r.arg.type&&r.arg.isStatic&&r.arg.content===t&&r.exp)return r}}function be(e,t){return E([w(t.helper(A)),e])}function Se(e){return 7===e.type&&"slot"===e.name}function Ne(e){return 1===e.type&&3===e.tagType}function ke(e){return 1===e.type&&2===e.tagType}function Te(e,t,n){let o;const r=e.callee===W?e.arguments[2]:e.arguments[1];if(null==r||l(r))o=b([t]);else if(13===r.type){const e=r.arguments[0];l(e)||14!==e.type?r.arguments.unshift(b([t])):e.properties.unshift(t),o=r}else if(14===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=w(n.helper(H),[b([t]),r]);e.callee===W?e.arguments[2]=o:e.arguments[1]=o}function we(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function $e(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&($e(o.arg,t)||$e(o.exp,t)))return!0}return e.children.some(e=>$e(e,t));case 11:return!!$e(e.source,t)||e.children.some(e=>$e(e,t));case 9:return e.branches.some(e=>$e(e,t));case 10:return!!$e(e.condition,t)||e.children.some(e=>$e(e,t));case 4:return!e.isStatic&&ae(e.content)&&!!t[e.content];case 8:return e.children.some(e=>{return null!==(n=e)&&"object"==typeof n&&$e(e,t);var n});case 5:case 12:return $e(e.content,t);case 2:case 3:default:return!1}}const Ee={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:c,isPreTag:c,isCustomElement:c,namedCharacterReferences:{"gt;":">","lt;":"<","amp;":"&","apos;":"'","quot;":'"'},maxCRNameLength:5,onError:m};function Ce(e,t={}){const n=function(e,t){return{options:{...Ee,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1}}(e,t),o=Ve(n);return{type:0,children:Ie(n,0,[]),helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,codegenNode:void 0,loc:Je(n,o)}}function Ie(e,t,n){const o=ze(n),r=o?o.ns:0,s=[];for(;!qe(e,t,n);){const c=e.source;let l=void 0;if(0===t)if(!e.inPre&&Ge(c,e.options.delimiters[0]))l=je(e,t);else if("<"===c[0])if(1===c.length)He(e,8,1);else if("!"===c[1])Ge(c,"\x3c!--")?l=_e(e):Ge(c,"<!DOCTYPE")?l=Le(e):Ge(c,"<![CDATA[")?0!==r?l=Me(e,n):(He(e,2),l=Le(e)):(He(e,14),l=Le(e));else if("/"===c[1])if(2===c.length)He(e,8,2);else{if(">"===c[2]){He(e,17,2),We(e,3);continue}if(/[a-z]/i.test(c[2])){He(e,31),Ae(e,1,o);continue}He(e,15,2),l=Le(e)}else/[a-z]/i.test(c[1])?l=Pe(e,n):"?"===c[1]?(He(e,28,1),l=Le(e)):He(e,15,1);if(l||(l=De(e,t)),i(l))for(let e=0;e<l.length;e++)Oe(s,l[e]);else Oe(s,l)}let c=!1;if(!(2===t||o&&e.options.isPreTag(o.tag)))for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(t.content.trim())t.content=t.content.replace(/\s+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(c=!0,s[e]=null):t.content=" "}}return c?s.filter(Boolean):s}function Oe(e,t){if(3!==t.type){if(2===t.type){const n=ze(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}}function Me(e,t){We(e,9);const n=Ie(e,3,t);return 0===e.source.length?He(e,9):We(e,3),n}function _e(e){const t=Ve(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){o.index<=3&&He(e,0),o[1]&&He(e,13),n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)We(e,s-r+1),s+4<t.length&&He(e,20),r=s+1;We(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),We(e,e.source.length),He(e,10);return{type:3,content:n,loc:Je(e,t)}}function Le(e){const t=Ve(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),We(e,e.source.length)):(o=e.source.slice(n,r),We(e,r+1)),{type:3,content:o,loc:Je(e,t)}}function Pe(e,t){const n=e.inPre,o=ze(t),r=Ae(e,0,o),s=e.inPre&&!n;if(r.isSelfClosing||e.options.isVoidTag(r.tag))return r;t.push(r);const c=e.options.getTextMode(r.tag,r.ns,o),i=Ie(e,c,t);if(t.pop(),r.children=i,Ye(e.source,r.tag))Ae(e,1,o);else if(He(e,32,0,r.loc.start),0===e.source.length&&"script"===r.tag.toLowerCase()){const t=i[0];t&&Ge(t.loc.source,"\x3c!--")&&He(e,11)}return r.loc=Je(e,r.loc.start),s&&(e.inPre=!1),r}function Ae(e,t,n){const o=Ve(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],c=e.options.getNamespace(s,n);We(e,r[0].length),Ke(e);const i=Ve(e),l=e.source;let u=Re(e,t);!e.inPre&&u.some(e=>7===e.type&&"pre"===e.name)&&(e.inPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,i),e.source=l,u=Re(e,t).filter(e=>"v-pre"!==e.name));let p=!1;0===e.source.length?He(e,12):(p=Ge(e.source,"/>"),1===t&&p&&He(e,7),We(e,p?2:1));let a=0;const f=e.options;return e.inPre||f.isCustomElement(s)||(f.isNativeTag?f.isNativeTag(s)||(a=1):(re(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s))&&(a=1),"slot"===s?a=2:"template"===s&&(a=3)),{type:1,ns:c,tag:s,tagType:a,props:u,isSelfClosing:p,children:[],loc:Je(e,o),codegenNode:void 0}}function Re(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Ge(e.source,">")&&!Ge(e.source,"/>");){if(Ge(e.source,"/")){He(e,29),We(e,1),Ke(e);continue}1===t&&He(e,6);const r=Be(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source)&&He(e,19),Ke(e)}return n}function Be(e,t){const n=Ve(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o)&&He(e,5),t.add(o),"="===o[0]&&He(e,26);{const t=/["'<]/g;let n;for(;null!==(n=t.exec(o));)He(e,24,n.index)}We(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(Ke(e),We(e,1),Ke(e),r=function(e){const t=Ve(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){We(e,1);const t=e.source.indexOf(o);-1===t?n=Fe(e,e.source.length,4):(n=Fe(e,t,4),We(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;let o,r=/["'<=`]/g;for(;null!==(o=r.exec(t[0]));)He(e,25,o.index);n=Fe(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Je(e,t)}}(e),r||He(e,16));const s=Je(e,n);if(!e.inPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let c;if(t[2]){const r=o.indexOf(t[2]),s=Je(e,Ue(e,n,r),Ue(e,n,r+t[2].length));let i=t[2],l=!0;i.startsWith("[")&&(l=!1,i.endsWith("]")||He(e,34),i=i.substr(1,i.length-2)),c={type:4,content:i,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=ge(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(Ge(o,":")?"bind":Ge(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:c,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function je(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return void He(e,33);const s=Ve(e);We(e,n.length);const c=Ve(e),i=Ve(e),l=r-n.length,u=e.source.slice(0,l),p=Fe(e,l,t),a=p.trim(),f=p.indexOf(a);return f>0&&me(c,u,f),me(i,u,l-(p.length-a.length-f)),We(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:a,loc:Je(e,c,i)},loc:Je(e,s)}}function De(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=Ve(e);return{type:2,content:Fe(e,o,t),loc:Je(e,r)}}function Fe(e,t,n){let o=e.source.slice(0,t);if(2===n||3===n||-1===o.indexOf("&"))return We(e,t),o;const r=e.offset+t;let s="";function c(t){We(e,t),o=o.slice(t)}for(;e.offset<r;){const t=/&(?:#x?)?/i.exec(o);if(!t||e.offset+t.index>=r){const t=r-e.offset;s+=o.slice(0,t),c(t);break}if(s+=o.slice(0,t.index),c(t.index),"&"===t[0]){let t="",r=void 0;if(/[0-9a-z]/i.test(o[1])){for(let n=e.options.maxCRNameLength;!r&&n>0;--n)t=o.substr(1,n),r=e.options.namedCharacterReferences[t];if(r){const i=t.endsWith(";");4===n&&!i&&/[=a-z0-9]/i.test(o[1+t.length]||"")?(s+="&"+t,c(1+t.length)):(s+=r,c(1+t.length),i||He(e,18))}else He(e,30),s+="&"+t,c(1+t.length)}else s+="&",c(1)}else{const n="&#x"===t[0],r=(n?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(o);if(r){let t=Number.parseInt(r[1],n?16:10);0===t?(He(e,22),t=65533):t>1114111?(He(e,3),t=65533):t>=55296&&t<=57343?(He(e,23),t=65533):t>=64976&&t<=65007||65534==(65534&t)?He(e,21):(t>=1&&t<=8||11===t||t>=13&&t<=31||t>=127&&t<=159)&&(He(e,4),t=Ze[t]||t),s+=String.fromCodePoint(t),c(r[0].length),r[0].endsWith(";")||He(e,18)}else s+=t[0],He(e,1),c(t[0].length)}}return s}function Ve(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Je(e,t,n){return{start:t,end:n=n||Ve(e),source:e.originalSource.slice(t.offset,n.offset)}}function ze(e){return e[e.length-1]}function Ge(e,t){return e.startsWith(t)}function We(e,t){const{source:n}=e;me(e,n,t),e.source=n.slice(t)}function Ke(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&We(e,t[0].length)}function Ue(e,t,n){return ge(t,e.originalSource.slice(t.offset,n),n)}function He(e,t,n,o=Ve(e)){n&&(o.offset+=n,o.column+=n),e.options.onError(y(t,{start:o,end:o,source:""}))}function qe(e,t,n){const o=e.source;switch(t){case 0:if(Ge(o,"</"))for(let e=n.length-1;e>=0;--e)if(Ye(o,n[e].tag))return!0;break;case 1:case 2:{const e=ze(n);if(e&&Ye(o,e.tag))return!0;break}case 3:if(Ge(o,"]]>"))return!0}return!o}function Ye(e,t){return Ge(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}const Ze={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function Qe(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const c=t[s];if(1===c.type&&0===c.tagType){if(!r&&et(c,o)){c.codegenNode=n.hoist(c.codegenNode);continue}{const e=c.codegenNode;if(13===e.type){const t=ct(e);if(!(t&&32!==t&&1!==t||tt(c)||nt())){const t=ot(c);t&&"null"!==t&&(st(e).arguments[1]=n.hoist(t))}}}}if(1===c.type)e(c.children,n,o);else if(11===c.type)e(c.children,n,o,1===c.children.length);else if(9===c.type)for(let t=0;t<c.branches.length;t++){const r=c.branches[t].children;e(r,n,o,1===r.length)}}}(e.children,t,new Map,Xe(e,e.children[0]))}function Xe(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!ke(t)}function et(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(ct(o)||tt(e)||nt())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!et(e.children[n],t))return t.set(e,!1),!1;return t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:return!1;case 5:case 12:return et(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>l(e)||u(e)||et(e,t));default:return!1}}function tt(e){return!(!xe(e,"key",!0)&&!xe(e,"ref",!0))}function nt(e){return!1}function ot(e){const t=e.codegenNode;if(13===t.type)return rt(t,1)}function rt(e,t){return st(e).arguments[t]}function st(e){return e.callee===z?e.arguments[0]:e}function ct(e){const t=rt(e,3);return t?parseInt(t,10):void 0}function it(e,n){const o=function(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:c={},isBuiltInComponent:i=s,onError:l=m}){const u={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:c,isBuiltInComponent:i,onError:l,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(u.helpers.add(e),e),helperString:e=>(u.prefixIdentifiers?"":"_")+te[u.helper(e)],replaceNode(e){u.parent.children[u.childIndex]=u.currentNode=e},removeNode(e){const t=u.parent.children,n=e?t.indexOf(e):u.currentNode?u.childIndex:-1;e&&e!==u.currentNode?u.childIndex>n&&(u.childIndex--,u.onNodeRemoved()):(u.currentNode=null,u.onNodeRemoved()),u.parent.children.splice(n,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(u.hoists.push(e),N(`_hoisted_${u.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>I(++u.cached,e,t)};return u}(e,n);ut(e,o),n.hoistStatic&&Qe(e,o),function(e,n){const{helper:o}=n,{children:r}=e,s=r[0];if(1===r.length)if(Xe(e,s)&&s.codegenNode){const t=s.codegenNode;20!==t.type?(t.callee===z?t.arguments[0].callee=o(R):t.callee=o(R),e.codegenNode=be(t,n)):e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=be(w(o(R),[o(O),"null",e.children,`64 /* ${t[64]} */`]),n));e.helpers=[...n.helpers],e.components=[...n.components],e.directives=[...n.directives],e.imports=[...n.imports],e.hoists=n.hoists,e.cached=n.cached}(e,o)}function lt(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];l(r)||(t.currentNode=r,t.parent=e,t.childIndex=n,t.onNodeRemoved=o,ut(r,t))}}function ut(e,t){const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(i(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.helper(j);break;case 5:t.helper(U);break;case 9:for(let n=0;n<e.branches.length;n++)lt(e.branches[n],t);break;case 11:case 1:case 0:lt(e,t)}let r=o.length;for(;r--;)o[r]()}function pt(e,t){const n=l(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(Se))return;const s=[];for(let c=0;c<r.length;c++){const i=r[c];if(7===i.type&&n(i.name)){r.splice(c,1),c--;const n=t(e,i,o);n&&s.push(n)}}return s}}}function at(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null}){const c={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper(e){const t=te[e];return n?t:`_${t}`},push(e,t){c.code+=e},indent(){i(++c.indentLevel)},deindent(e=!1){e?--c.indentLevel:i(--c.indentLevel)},newline(){i(c.indentLevel)}};function i(e){c.push("\n"+" ".repeat(e))}return c}(e,t),{mode:o,push:r,helper:s,prefixIdentifiers:c,indent:i,deindent:l,newline:u,scopeId:p}=n,a=e.helpers.length>0,f=!c&&"module"!==o;if("function"===o){if(a)if(c)r(`const { ${e.helpers.map(s).join(", ")} } = Vue\n`);else if(r("const _Vue = Vue\n"),e.hoists.length){r(`const { ${[B,j,D].filter(t=>e.helpers.includes(t)).map(e=>`${te[e]}: _${te[e]}`).join(", ")} } = Vue\n`)}dt(e.hoists,n),u(),r("return ")}else a&&r(`import { ${e.helpers.map(s).join(", ")} } from "vue"\n`),e.imports.length&&(!function(e,t){if(!e.length)return;e.forEach(e=>{t.push("import "),mt(e.exp,t),t.push(` from '${e.path}'`),t.newline()})}(e.imports,n),u()),dt(e.hoists,n),u(),r("export ");return r("function render() {"),i(),f?(r("with (this) {"),i(),a&&(r(`const { ${e.helpers.map(e=>`${te[e]}: _${te[e]}`).join(", ")} } = _Vue`),u(),e.cached>0&&(r("const _cache = $cache"),u()),u())):(r("const _ctx = this"),e.cached>0&&(u(),r("const _cache = _ctx.$cache")),u()),e.components.length&&ft(e.components,"component",n),e.directives.length&&ft(e.directives,"directive",n),(e.components.length||e.directives.length)&&u(),r("return "),e.codegenNode?mt(e.codegenNode,n):r("null"),f&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function ft(e,t,n){const o=n.helper("component"===t?F:J);for(let r=0;r<e.length;r++){const s=e[r];n.push(`const ${we(s,t)} = ${o}(${JSON.stringify(s)})`),n.newline()}}function dt(e,t){if(!e.length)return;const{push:n,newline:o,helper:r,scopeId:s,mode:c}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),mt(e,t),o()})}function ht(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),gt(e,t,n),n&&t.deindent(),t.push("]")}function gt(e,t,n=!1){const{push:o,newline:r}=t;for(let s=0;s<e.length;s++){const c=e[s];l(c)?o(c):i(c)?ht(c,t):mt(c,t),s<e.length-1&&(n?(o(","),r()):o(", "))}}function mt(e,t){if(l(e))t.push(e);else if(u(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:mt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:yt(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(U)}(`),mt(e.content,t),n(")")}(e,t);break;case 12:mt(e.codegenNode,t);break;case 8:vt(e,t);break;case 3:break;case 13:!function(e,t){const n=l(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),gt(e.arguments,t),t.push(")")}(e,t);break;case 14:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:c}=e;if(!c.length)return void n("{}",e);const i=c.length>1||!1;n(i?"{":"{ "),i&&o();for(let e=0;e<c.length;e++){const{key:o,value:r}=c[e];xt(o,t),n(": "),mt(r,t),e<c.length-1&&(n(","),s())}i&&r(),n(i?"}":" }")}(e,t);break;case 16:!function(e,t){ht(e.elements,t)}(e,t);break;case 17:!function(e,t){const{push:n,indent:o,deindent:r,scopeId:s,mode:c}=t,{params:l,returns:u,newline:p,isSlot:a}=e;n("(",e),i(l)?gt(l,t):l&&mt(l,t);n(") => "),p&&(n("{"),o(),n("return "));i(u)?ht(u,t):mt(u,t);p&&(r(),n("}"))}(e,t);break;case 18:!function(e,t){t.push("("),gt(e.expressions,t),t.push(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r}=e,{push:s,indent:c,deindent:i,newline:l}=t;if(4===n.type){const e=!ae(n.content);e&&s("("),yt(n,t),e&&s(")")}else s("("),vt(n,t),s(")");c(),t.indentLevel++,s("? "),mt(o,t),t.indentLevel--,l(),s(": ");const u=19===r.type;u||t.indentLevel++;mt(r,t),u||t.indentLevel--;i(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:c}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Z)}(-1),`),c());n(`_cache[${e.index}] = `),mt(e.value,t),e.isVNode&&(n(","),c(),n(`${o(Z)}(1),`),c(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function yt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function vt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];l(o)?t.push(o):mt(o,t)}}function xt(e,t){const{push:n}=t;if(8===e.type)n("["),vt(e,t),n("]");else if(e.isStatic){n(ae(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const bt=pt(/^(if|else|else-if)$/,(e,t,n)=>{if(!("else"===t.name||t.exp&&t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError(y(35,t.loc)),t.exp=N("true",!1,o)}if("if"===t.name){const o=St(e,t),r=E([w(n.helper(A))]);return n.replaceNode({type:9,loc:e.loc,branches:[o],codegenNode:r}),()=>{r.expressions.push(Nt(o,0,n))}}{const o=n.parent.children;let r=o.indexOf(e);for(;r-- >=-1;){const s=o[r];if(s&&9===s.type){n.removeNode();const o=St(e,t);s.branches.push(o),lt(o,n),n.currentNode=null;let r=s.codegenNode.expressions[1];for(;;){if(19!==r.alternate.type){r.alternate=Nt(o,s.branches.length-1,n);break}r=r.alternate}}else n.onError(y(36,e.loc));break}}});function St(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function Nt(e,t,n){return e.condition?C(e.condition,kt(e,t,n),w(n.helper(j),['""',"true"])):kt(e,t,n)}function kt(e,t,n){const{helper:o}=n,r=S("key",N(t+"",!1)),{children:s}=e,c=s[0];if(1!==s.length||1!==c.type){const e=[o(O),b([r]),s];if(1===s.length&&11===c.type){const t=c.codegenNode.expressions[1].arguments;e[2]=t[2],e[3]=t[3]}return w(o(R),e)}{const e=c.codegenNode;let t=e;return t.callee===z&&(t=t.arguments[0]),t.callee===B&&(t.callee=o(R)),Te(t,r,n),e}}const Tt=pt("for",(e,n,o)=>{if(!n.exp)return void o.onError(y(37,n.loc));const r=Ct(n.exp);if(!r)return void o.onError(y(38,n.loc));const{helper:s,addIdentifiers:c,removeIdentifiers:i,scopes:l}=o,{source:u,value:p,key:a,index:f}=r,d=w(s(G),[u]),h=xe(e,"key"),g=h?128:256,m=E([w(s(A),["false"]),w(s(R),[s(O),"null",d,`${g} /* ${t[g]} */`])]);return o.replaceNode({type:11,loc:n.loc,source:u,valueAlias:p,keyAlias:a,objectIndexAlias:f,children:3===e.tagType?e.children:[e],codegenNode:m}),l.vFor++,()=>{let n;l.vFor--;const c=Ne(e),i=ke(e)?e:c&&1===e.children.length&&ke(e.children[0])?e.children[0]:null,u=h?S("key",6===h.type?N(h.value.content,!0):h.exp):null;if(i)n=i.codegenNode,c&&u&&Te(n,u,o);else if(c)n=be(w(s(R),[s(O),u?b([u]):"null",e.children,`64 /* ${t[64]} */`]),o);else{let t=e.codegenNode;t.callee===z?t.arguments[0].callee=s(R):t.callee=s(R),n=be(t,o)}d.arguments.push($(Ot(r),n,!0))}}),wt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,$t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Et=/^\(|\)$/g;function Ct(e,t){const n=e.loc,o=e.content,r=o.match(wt);if(!r)return;const[,s,c]=r,i={source:It(n,c.trim(),o.indexOf(c,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Et,"").trim();const u=s.indexOf(l),p=l.match($t);if(p){l=l.replace($t,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,u+l.length),i.key=It(n,e,t)),p[2]){const r=p[2].trim();r&&(i.index=It(n,r,o.indexOf(r,i.key?t+e.length:u+l.length)))}}return l&&(i.value=It(n,l,u)),i}function It(e,t,n){return N(t,!1,he(e,n,t.length))}function Ot({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(N("_",!1)),o.push(t)),n&&(t||(e||o.push(N("_",!1)),o.push(N("__",!1))),o.push(n)),o}const Mt=N("undefined",!1),_t=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=ve(e,"slot");if(n){n.exp;return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}};function Lt(e,t,n){return S("default",$(e,t,!1,!0,t.length?t[0].loc:n))}function Pt(e,t){return b([S("name",e),S("fn",t)])}const At=new WeakMap,Rt=(e,t)=>{if(!(1!==e.type||2===e.tagType||3===e.tagType&&e.props.some(Se)))return function(){const{tag:n,tagType:o,props:r}=e,s=re(n)||t.isBuiltInComponent(n),c=1===o;let i,l,u,p=r.length>0,a=0,f=!1;const d=xe(e,"is");if("component"===n&&d)if(6===d.type){const e=d.value&&d.value.content;e&&(t.helper(F),t.components.add(e),u=we(e,"component"))}else d.exp&&(u=w(t.helper(V),[d.exp,t.prefixIdentifiers?"_ctx.$":"$"]));let h;u?h=u:s?h=t.helper(s):c?(t.helper(F),t.components.add(n),h=we(n,"component")):(h=`"${n}"`,f="svg"===n||"foreignObject"===n);const g=[h];if(p){const n=Bt(e,t,d?e.props.filter(e=>e!==d):e.props);a=n.patchFlag,l=n.dynamicPropNames,i=n.directives,n.props?g.push(n.props):p=!1}const m=e.children.length>0;if(m)if(p||g.push("null"),c&&s!==M&&s!==L){const{slots:n,hasDynamicSlots:o}=function(e,t){const{children:n,loc:o}=e,r=[],s=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const i=ve(e,"slot",!0);if(i){const{arg:e,exp:o,loc:s}=i;e&&t.onError(y(42,s)),r.push(Lt(o,n,s))}let l=!1,u=!1;const p=[],a=new Set;for(let e=0;e<n.length;e++){const o=n[e];let d;if(!Ne(o)||!(d=ve(o,"slot",!0))){3!==o.type&&p.push(o);continue}if(i){t.onError(y(43,d.loc));break}l=!0;const{children:h,loc:g}=o,{arg:m=N("default",!0),exp:v,loc:x}=d;let b;4===(f=m).type&&f.isStatic?b=m?m.content:"default":c=!0;const k=$(v,h,!1,!0,h.length?h[0].loc:g);let T,E,I;if(T=ve(o,"if"))c=!0,s.push(C(T.exp,Pt(m,k),Mt));else if(E=ve(o,/^else(-if)?$/,!0)){let o,r=e;for(;r--&&(o=n[r],3===o.type););if(o&&Ne(o)&&ve(o,"if")){n.splice(e,1),e--;let t=s[s.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=E.exp?C(E.exp,Pt(m,k),Mt):Pt(m,k)}else t.onError(y(36,E.loc))}else if(I=ve(o,"for")){c=!0;const e=I.parseResult||Ct(I.exp);e?s.push(w(t.helper(G),[e.source,$(Ot(e),Pt(m,k),!0)])):t.onError(y(38,I.loc))}else{if(b){if(a.has(b)){t.onError(y(44,x));continue}a.add(b),"default"===b&&(u=!0)}r.push(S(m,k))}}var f;i||(l?p.length&&(u?t.onError(y(45,p[0].loc)):r.push(Lt(void 0,p,o))):r.push(Lt(void 0,n,o)));let d=b(r.concat(S("_compiled",N("true",!1))),o);return s.length&&(d=w(t.helper(K),[d,x(s)])),{slots:d,hasDynamicSlots:c}}(e,t);g.push(n),o&&(a|=512)}else if(1===e.children.length){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!et(t)&&(a|=1),o||2===n?g.push(t):g.push(e.children)}else g.push(e.children);0!==a&&(m||(p||g.push("null"),g.push("null")),g.push(a+""),l&&l.length&&g.push(function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(l)));const{loc:v}=e,k=f?E([w(t.helper(A)),w(t.helper(R),g,v)]):w(t.helper(B),g,v);i&&i.length?e.codegenNode=w(t.helper(z),[k,x(i.map(e=>function(e,t){const n=[],o=At.get(e);o?(t.helper(o),n.push(t.helperString(o))):(t.helper(J),t.directives.add(e.name),n.push(we(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=N("true",!1,r);n.push(b(e.modifiers.map(e=>S(e,t)),r))}return x(n,e.loc)}(e,t)),v)],v):e.codegenNode=k}};function Bt(e,t,n=e.props){const o=e.loc,r=1===e.tagType;let s=[];const c=[],i=[];let l=0,p=!1,a=!1,f=!1,d=!1;const h=[],g=({key:e,value:t})=>{if(4===e.type&&e.isStatic){if(20===t.type||(4===t.type||8===t.type)&&et(t))return;const n=e.content;"ref"===n?p=!0:"class"===n?a=!0:"style"===n?f=!0:"key"!==n&&h.push(n)}else d=!0};for(let l=0;l<n.length;l++){const a=n[l];if(6===a.type){const{loc:e,name:t,value:n}=a;"ref"===t&&(p=!0),s.push(S(N(t,!0,he(e,0,t.length)),N(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:l,exp:p,loc:f}=a;if("slot"===n){r||t.onError(y(46,f));continue}if("once"===n)continue;const h="bind"===n,m="on"===n;if(!l&&(h||m)){d=!0,p?(s.length&&(c.push(b(jt(s),o)),s=[]),h?c.push(p):c.push({type:13,loc:f,callee:t.helper(q),arguments:[p]})):t.onError(y(h?39:40,f));continue}const v=t.directiveTransforms[n];if(v){const{props:n,needRuntime:o}=v(a,e,t);n.forEach(g),s.push(...n),o&&(i.push(a),u(o)&&At.set(a,o))}else i.push(a)}}let m=void 0;return c.length?(s.length&&c.push(b(jt(s),o)),m=c.length>1?w(t.helper(H),c,o):c[0]):s.length&&(m=b(jt(s),o)),d?l|=16:(a&&(l|=2),f&&(l|=4),h.length&&(l|=8)),0===l&&(p||i.length>0)&&(l|=32),{props:m,directives:i,patchFlag:l,dynamicPropNames:h}}function jt(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,c=t.get(s);c?("style"===s||"class"===s||s.startsWith("on")||s.startsWith("vnode"))&&Dt(c,r):(t.set(s,r),n.push(r))}return n}function Dt(e,t){16===e.value.type?e.value.elements.push(t.value):e.value=x([e.value,t.value],e.loc)}const Ft=(e,t)=>{if(ke(e)){const{props:n,children:o,loc:r}=e,s=t.prefixIdentifiers?"_ctx.$slots":"$slots";let c='"default"',i=-1;for(let e=0;e<n.length;e++){const t=n[e];if(6===t.type){if("name"===t.name&&t.value){c=JSON.stringify(t.value.content),i=e;break}}else if("bind"===t.name){const{arg:n,exp:o}=t;if(n&&o&&4===n.type&&n.isStatic&&"name"===n.content){c=o,i=e;break}}}const l=[s,c],u=i>-1?n.slice(0,i).concat(n.slice(i+1)):n;let p=u.length>0;if(p){const{props:n,directives:o}=Bt(e,t,u);o.length&&t.onError(y(41,o[0].loc)),n?l.push(n):p=!1}o.length&&(p||l.push("{}"),l.push(o)),e.codegenNode=w(t.helper(W),l,r)}},Vt=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Jt=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:c}=e;let i;e.exp||s.length||n.onError(y(40,r)),4===c.type?i=c.isStatic?N(`on${g(c.content)}`,!0,c.loc):T(['"on" + (',c,")"]):(i=c,i.children.unshift('"on" + ('),i.children.push(")"));let l=e.exp,u=!l;if(l){const e=de(l.content),t=!(e||Vt.test(l.content)),n=l.content.includes(";");(t||u&&e)&&(l=T([`$event => ${n?"{":"("}`,...4===l.type?[l]:l.children,n?"}":")"]))}let p={props:[S(i,l||N("() => {}",!1,r))],needRuntime:!1};return o&&(p=o(p)),u&&(p.props[0].value=n.cache(p.props[0].value)),p},zt=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,c=e.arg;return o||n.onError(y(39,s)),r.includes("camel")&&(4===c.type?c.isStatic?c.content=f(c.content):c.content=`${n.helperString(Y)}(${c.content})`:(c.children.unshift(`${n.helperString(Y)}(`),c.children.push(")"))),{props:[S(c,o||N("",!0,s))],needRuntime:!1}},Gt=e=>5===e.type||2===e.type,Wt=(e,n)=>{if(0===e.type||1===e.type||11===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Gt(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Gt(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Gt(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),2!==r.type&&s.push(`1 /* ${t[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:w(n.helper(D),s)}}}}},Kt=(e,t)=>{if(1===e.type&&ve(e,"once",!0))return t.helper(Z),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},Ut=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError(y(47,e.loc)),Ht();const s=4===o.type?o.content:o.loc.source;if(!de(s))return n.onError(y(48,o.loc)),Ht();const c=r||N("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:T(['"onUpdate:" + ',...4===r.type?[r]:r.children]):"onUpdate:modelValue",l=[S(c,e.exp),S(i,T(["$event => (",...4===o.type?[o]:o.children," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(ae(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:T([...4===r.type?[r]:r.children,' + "Modifiers"']):"modelModifiers";l.push(S(n,N(`{ ${t} }`,!1,e.loc,!0)))}return Ht(l)};function Ht(e=[]){return{props:e,needRuntime:!1}}function qt(e,t={}){const n=t.onError||m,o="module"===t.mode;!0===t.prefixIdentifiers?n(y(51)):o&&n(y(52));t.cacheHandlers&&n(y(53)),t.scopeId&&!o&&n(y(54));const r=l(e)?Ce(e,t):e;return it(r,{...t,prefixIdentifiers:!1,nodeTransforms:[Kt,bt,Tt,Ft,Rt,_t,Wt,...t.nodeTransforms||[]],directiveTransforms:{on:Jt,bind:zt,model:Ut,...t.directiveTransforms||{}}}),at(r,{...t,prefixIdentifiers:!1})}const Yt=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let c=e-2;c<=e+2||n>r;c++){if(c<0||c>=o.length)continue;const i=c+1;s.push(`${i}${" ".repeat(3-String(i).length)}| ${o[c]}`);const l=o[c].length;if(c===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(c>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},Zt=e("style,iframe,script,noscript",!0),Qt={isVoidTag:r,isNativeTag:e=>n(e)||o(e),isPreTag:e=>"pre"===e,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(Zt(e))return 2}return 0}},Xt=(e,t)=>{1===e.type&&e.props.forEach((n,o)=>{if(6===n.type&&"style"===n.name&&n.value){const r=JSON.stringify(function(e){const t={};return e.split(en).forEach(e=>{if(e){const n=e.split(tn);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(n.value.content)),s=t.hoist(N(r,!1,n.loc));e.props[o]={type:7,name:"bind",arg:N("style",!0,n.loc),exp:s,modifiers:[],loc:n.loc}}})},en=/;(?![^(]*\))/g,tn=/:(.+)/;const nn=(e,t)=>({props:[],needRuntime:!1});function on(e,t){return y(e,t)}const rn=(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(on(55,r)),t.children.length&&(n.onError(on(56,r)),t.children.length=0),{props:[S(N("innerHTML",!0,r),o||N("",!0))],needRuntime:!1}},sn=(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(on(57,r)),t.children.length&&(n.onError(on(58,r)),t.children.length=0),{props:[S(N("textContent",!0,r),o||N("",!0))],needRuntime:!1}},cn=Symbol(""),ln=Symbol(""),un=Symbol(""),pn=Symbol(""),an=Symbol(""),fn=Symbol(""),dn=Symbol(""),hn=Symbol(""),gn=Symbol(""),mn=Symbol("");ne({[cn]:"vModelRadio",[ln]:"vModelCheckbox",[un]:"vModelText",[pn]:"vModelSelect",[an]:"vModelDynamic",[fn]:"withModifiers",[dn]:"withKeys",[hn]:"vShow",[gn]:"Transition",[mn]:"TransitionGroup"});const yn=(e,t,n)=>{const o=Ut(e,t,n);if(!o.props.length)return o;const{tag:r,tagType:s}=t;if(0===s)if(e.arg&&n.onError(on(60,e.arg.loc)),"input"===r||"textarea"===r||"select"===r){let s=un,c=!1;if("input"===r){const o=xe(t,"type");if(o)if(7===o.type)s=an;else if(o.value)switch(o.value.content){case"radio":s=cn;break;case"checkbox":s=ln;break;case"file":c=!0,n.onError(on(61,e.loc))}}else"select"===r&&(s=pn);c||(o.needRuntime=n.helper(s))}else n.onError(on(59,e.loc));return o},vn=e("passive,once,capture"),xn=e("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),bn=e("onkeyup,onkeydown,onkeypress",!0),Sn=(e,t,n)=>Jt(e,0,n,t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:c,nonKeyModifiers:i,eventOptionModifiers:l}=(e=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];vn(s)?o.push(s):xn(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return i.length&&(s=w(n.helper(fn),[s,JSON.stringify(i)])),!c.length||8!==r.type&&r.isStatic&&!bn(r.content)||(s=w(n.helper(dn),[s,JSON.stringify(c)])),l.length&&(s=b([S("handler",s),S("options",b(l.map(e=>S(e,N("true",!1)))))])),{props:[S(r,s)],needRuntime:!1}}),Nn=(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(on(62,r)),{props:[],needRuntime:n.helper(hn)}},kn=Qt;function Tn(e,t={}){return qt(e,{...kn,...t,nodeTransforms:[Xt,...t.nodeTransforms||[]],directiveTransforms:{cloak:nn,html:rn,text:sn,model:yn,on:Sn,show:Nn,...t.directiveTransforms||{}},isBuiltInComponent:e=>oe(e,"Transition")?gn:oe(e,"TransitionGroup")?mn:void 0})}function wn(e,t={}){return Ce(e,{...kn,...t})}export{ge as advancePositionWithClone,me as advancePositionWithMutation,ye as assert,qt as baseCompile,Ce as baseParse,Tn as compile,x as createArrayExpression,be as createBlockExpression,I as createCacheExpression,w as createCallExpression,y as createCompilerError,T as createCompoundExpression,C as createConditionalExpression,$ as createFunctionExpression,k as createInterpolation,b as createObjectExpression,S as createObjectProperty,E as createSequenceExpression,N as createSimpleExpression,pt as createStructuralDirectiveTransform,ve as findDir,xe as findProp,at as generate,Yt as generateCodeFrame,he as getInnerRange,$e as hasScopeRef,Te as injectProp,oe as isBuiltInType,re as isCoreComponent,de as isMemberExpression,ae as isSimpleIdentifier,ke as isSlotOutlet,Ne as isTemplateNode,Se as isVSlot,ie as loadDep,v as locStub,wn as parse,le as parseJS,ne as registerRuntimeHelpers,we as toValidAssetId,it as transform,Ut as transformModel,Jt as transformOn,ue as walkJS};
function e(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},n=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const o=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),r=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,lineGradient,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"),s=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),i=()=>{},c=()=>!1,l=Array.isArray,p=e=>"string"==typeof e,a=e=>"symbol"==typeof e,u=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},f=/-(\w)/g,d=u(e=>e.replace(f,(e,t)=>t?t.toUpperCase():"")),h=/\B([A-Z])/g,m=u(e=>e.replace(h,"-$1").toLowerCase()),g=u(e=>e.charAt(0).toUpperCase()+e.slice(1));function y(e){throw e}function v(e,t,n){const o=new SyntaxError(String(e));return o.code=e,o.loc=t,o}const x=Symbol(""),b=Symbol(""),S=Symbol(""),N=Symbol(""),k=Symbol(""),T=Symbol(""),$=Symbol(""),w=Symbol(""),I=Symbol(""),C=Symbol(""),O=Symbol(""),M=Symbol(""),_=Symbol(""),E=Symbol(""),P=Symbol(""),L=Symbol(""),A=Symbol(""),B=Symbol(""),R=Symbol(""),F=Symbol(""),D=Symbol(""),j=Symbol(""),V=Symbol(""),H=Symbol(""),G=Symbol(""),J=Symbol(""),U={[x]:"Fragment",[b]:"Portal",[S]:"Suspense",[N]:"KeepAlive",[k]:"BaseTransition",[T]:"openBlock",[$]:"createBlock",[w]:"createVNode",[I]:"createCommentVNode",[C]:"createTextVNode",[O]:"createStaticVNode",[M]:"resolveComponent",[_]:"resolveDynamicComponent",[E]:"resolveDirective",[P]:"withDirectives",[L]:"renderList",[A]:"renderSlot",[B]:"createSlots",[R]:"toDisplayString",[F]:"mergeProps",[D]:"toHandlers",[j]:"camelize",[V]:"setBlockTracking",[H]:"pushScopeId",[G]:"popScopeId",[J]:"withScopeId"};function z(e){Object.getOwnPropertySymbols(e).forEach(t=>{U[t]=e[t]})}const W={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function q(e,t=W){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function K(e,t,n,o,r,s,i,c=!1,l=!1,p=W){return e&&(c?(e.helper(T),e.helper($)):e.helper(w),i&&e.helper(P)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:p}}function Y(e,t=W){return{type:17,loc:t,elements:e}}function Z(e,t=W){return{type:15,loc:t,properties:e}}function Q(e,t){return{type:16,loc:W,key:p(e)?X(e,!0):e,value:t}}function X(e,t,n=W,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function ee(e,t){return{type:5,loc:t,content:p(e)?X(e,!1,t):e}}function te(e,t=W){return{type:8,loc:t,children:e}}function ne(e,t=[],n=W){return{type:14,loc:n,callee:e,arguments:t}}function oe(e,t,n=!1,o=!1,r=W){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function re(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:W}}function se(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:W}}function ie(e){return{type:21,body:e,loc:W}}function ce(e){return{type:22,elements:e,loc:W}}function le(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:W}}function pe(e,t){return{type:24,left:e,right:t,loc:W}}function ae(e){return{type:25,returns:e,loc:W}}const ue=(e,t)=>e===t||e===m(t);function fe(e){return ue(e,"Portal")?b:ue(e,"Suspense")?S:ue(e,"KeepAlive")?N:ue(e,"BaseTransition")?k:void 0}let de,he;function me(e){return window._deps[e]}const ge=(e,t)=>($e(!1,"Expression AST analysis can only be performed in non-browser builds."),(de||(de=me("acorn").parse))(e,t)),ye=(e,t)=>($e(!1,"Expression AST analysis can only be performed in non-browser builds."),(he||(he=me("estree-walker").walk))(e,t)),ve=/^\d|[^\$\w]/,xe=e=>!ve.test(e),be=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,Se=e=>be.test(e);function Ne(e,t,n){const o={source:e.source.substr(t,n),start:ke(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ke(e.start,e.source,t+n)),o}function ke(e,t,n=t.length){return Te({...e},t,n)}function Te(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function $e(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function we(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(p(t)?r.name===t:t.test(r.name)))return r}}function Ie(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(6===r.type){if(n)continue;if(r.name===t&&r.value)return r}else if("bind"===r.name&&r.exp&&Ce(r.arg,t))return r}}function Ce(e,t){return!(!e||4!==e.type||!e.isStatic||e.content!==t)}function Oe(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function Me(e){return 5===e.type||2===e.type}function _e(e){return 7===e.type&&"slot"===e.name}function Ee(e){return 1===e.type&&3===e.tagType}function Pe(e){return 1===e.type&&2===e.tagType}function Le(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||p(r))o=Z([t]);else if(14===r.type){const e=r.arguments[0];p(e)||15!==e.type?r.arguments.unshift(Z([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=ne(n.helper(F),[Z([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function Ae(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function Be(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&(Be(o.arg,t)||Be(o.exp,t)))return!0}return e.children.some(e=>Be(e,t));case 11:return!!Be(e.source,t)||e.children.some(e=>Be(e,t));case 9:return e.branches.some(e=>Be(e,t));case 10:return!!Be(e.condition,t)||e.children.some(e=>Be(e,t));case 4:return!e.isStatic&&xe(e.content)&&!!t[e.content];case 8:return e.children.some(e=>{return null!==(n=e)&&"object"==typeof n&&Be(e,t);var n});case 5:case 12:return Be(e.content,t);case 2:case 3:default:return!1}}const Re={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:c,isPreTag:c,isCustomElement:c,namedCharacterReferences:{"gt;":">","lt;":"<","amp;":"&","apos;":"'","quot;":'"'},maxCRNameLength:5,onError:y};function Fe(e,t={}){const n=function(e,t){return{options:{...Re,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1}}(e,t),o=Qe(n);return q(De(n,0,[]),Xe(n,o))}function De(e,t,n){const o=et(n),r=o?o.ns:0,s=[];for(;!st(e,t,n);){const i=e.source;let c=void 0;if(0===t)if(!e.inPre&&tt(i,e.options.delimiters[0]))c=Ke(e,t);else if("<"===i[0])if(1===i.length);else if("!"===i[1])c=tt(i,"\x3c!--")?He(e):tt(i,"<!DOCTYPE")?Ge(e):tt(i,"<![CDATA[")&&0!==r?Ve(e,n):Ge(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){nt(e,3);continue}if(/[a-z]/i.test(i[2])){ze(e,1,o);continue}c=Ge(e)}else/[a-z]/i.test(i[1])?c=Je(e,n):"?"===i[1]&&(c=Ge(e));if(c||(c=Ye(e,t)),l(c))for(let e=0;e<c.length;e++)je(s,c[e]);else je(s,c)}let i=!1;if(!(2===t||o&&e.options.isPreTag(o.tag)))for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(t.content.trim())t.content=t.content.replace(/\s+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function je(e,t){if(3!==t.type){if(2===t.type){const n=et(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}}function Ve(e,t){nt(e,9);const n=De(e,3,t);return 0===e.source.length||nt(e,3),n}function He(e){const t=Qe(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)nt(e,s-r+1),r=s+1;nt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),nt(e,e.source.length);return{type:3,content:n,loc:Xe(e,t)}}function Ge(e){const t=Qe(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),nt(e,e.source.length)):(o=e.source.slice(n,r),nt(e,r+1)),{type:3,content:o,loc:Xe(e,t)}}function Je(e,t){const n=e.inPre,o=et(t),r=ze(e,0,o),s=e.inPre&&!n;if(r.isSelfClosing||e.options.isVoidTag(r.tag))return r;t.push(r);const i=e.options.getTextMode(r.tag,r.ns,o),c=De(e,i,t);if(t.pop(),r.children=c,it(e.source,r.tag))ze(e,1,o);else if(0===e.source.length&&"script"===r.tag.toLowerCase()){const e=c[0];e&&tt(e.loc.source,"\x3c!--")}return r.loc=Xe(e,r.loc.start),s&&(e.inPre=!1),r}const Ue=e("if,else,else-if,for,slot");function ze(e,t,n){const o=Qe(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);nt(e,r[0].length),ot(e);const c=Qe(e),l=e.source;let p=We(e,t);!e.inPre&&p.some(e=>7===e.type&&"pre"===e.name)&&(e.inPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,p=We(e,t).filter(e=>"v-pre"!==e.name));let a=!1;0===e.source.length||(a=tt(e.source,"/>"),nt(e,a?2:1));let u=0;const f=e.options;return e.inPre||f.isCustomElement(s)||(f.isNativeTag?f.isNativeTag(s)||(u=1):(fe(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&p.some(e=>7===e.type&&Ue(e.name))&&(u=3)),{type:1,ns:i,tag:s,tagType:u,props:p,isSelfClosing:a,children:[],loc:Xe(e,o),codegenNode:void 0}}function We(e,t){const n=[],o=new Set;for(;e.source.length>0&&!tt(e.source,">")&&!tt(e.source,"/>");){if(tt(e.source,"/")){nt(e,1),ot(e);continue}const r=qe(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),ot(e)}return n}function qe(e,t){const n=Qe(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;null!==(t=e.exec(o)););}nt(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(ot(e),nt(e,1),ot(e),r=function(e){const t=Qe(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){nt(e,1);const t=e.source.indexOf(o);-1===t?n=Ze(e,e.source.length,4):(n=Ze(e,t,4),nt(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;let o,r=/["'<=`]/g;for(;null!==(o=r.exec(t[0])););n=Ze(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Xe(e,t)}}(e));const s=Xe(e,n);if(!e.inPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=Xe(e,rt(e,n,r),rt(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=ke(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(tt(o,":")?"bind":tt(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Ke(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Qe(e);nt(e,n.length);const i=Qe(e),c=Qe(e),l=r-n.length,p=e.source.slice(0,l),a=Ze(e,l,t),u=a.trim(),f=a.indexOf(u);return f>0&&Te(i,p,f),Te(c,p,l-(a.length-u.length-f)),nt(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:Xe(e,i,c)},loc:Xe(e,s)}}function Ye(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=Qe(e);return{type:2,content:Ze(e,o,t),loc:Xe(e,r)}}function Ze(e,t,n){let o=e.source.slice(0,t);if(2===n||3===n||-1===o.indexOf("&"))return nt(e,t),o;const r=e.offset+t;let s="";function i(t){nt(e,t),o=o.slice(t)}for(;e.offset<r;){const t=/&(?:#x?)?/i.exec(o);if(!t||e.offset+t.index>=r){const t=r-e.offset;s+=o.slice(0,t),i(t);break}if(s+=o.slice(0,t.index),i(t.index),"&"===t[0]){let t="",r=void 0;if(/[0-9a-z]/i.test(o[1])){for(let n=e.options.maxCRNameLength;!r&&n>0;--n)t=o.substr(1,n),r=e.options.namedCharacterReferences[t];if(r){const e=t.endsWith(";");4===n&&!e&&/[=a-z0-9]/i.test(o[t.length+1]||"")?(s+="&"+t,i(1+t.length)):(s+=r,i(1+t.length))}else s+="&"+t,i(1+t.length)}else s+="&",i(1)}else{const e="&#x"===t[0],n=(e?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(o);if(n){let t=Number.parseInt(n[1],e?16:10);0===t?t=65533:t>1114111?t=65533:t>=55296&&t<=57343?t=65533:t>=64976&&t<=65007||65534==(65534&t)||(t>=1&&t<=8||11===t||t>=13&&t<=31||t>=127&&t<=159)&&(t=ct[t]||t),s+=String.fromCodePoint(t),i(n[0].length),n[0].endsWith(";")}else s+=t[0],i(t[0].length)}}return s}function Qe(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Xe(e,t,n){return{start:t,end:n=n||Qe(e),source:e.originalSource.slice(t.offset,n.offset)}}function et(e){return e[e.length-1]}function tt(e,t){return e.startsWith(t)}function nt(e,t){const{source:n}=e;Te(e,n,t),e.source=n.slice(t)}function ot(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&nt(e,t[0].length)}function rt(e,t,n){return ke(t,e.originalSource.slice(t.offset,n),n)}function st(e,t,n){const o=e.source;switch(t){case 0:if(tt(o,"</"))for(let e=n.length-1;e>=0;--e)if(it(o,n[e].tag))return!0;break;case 1:case 2:{const e=et(n);if(e&&it(o,e.tag))return!0;break}case 3:if(tt(o,"]]>"))return!0}return!o}function it(e,t){return tt(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}const ct={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function lt(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&at(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=ht(e);if(!(t&&512!==t&&1!==t||ut(i)||ft())){const t=dt(i);t&&(e.props=n.hoist(t))}}}}if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}else 12===i.type&&at(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode))}}(e.children,t,new Map,pt(e,e.children[0]))}function pt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Pe(t)}function at(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(ht(o)||ut(e)||ft())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!at(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return at(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>p(e)||a(e)||at(e,t));default:return!1}}function ut(e){return!(!Ie(e,"key",!0)&&!Ie(e,"ref",!0))}function ft(e){return!1}function dt(e){const t=e.codegenNode;if(13===t.type)return t.props}function ht(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function mt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:c=null,isBuiltInComponent:l=i,scopeId:p=null,ssr:a=!1,onError:u=y}){const f={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:c,isBuiltInComponent:l,scopeId:p,ssr:a,onError:u,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(f.helpers.add(e),e),helperString:e=>(f.prefixIdentifiers?"":"_")+U[f.helper(e)],replaceNode(e){f.parent.children[f.childIndex]=f.currentNode=e},removeNode(e){const t=e?f.parent.children.indexOf(e):f.currentNode?f.childIndex:-1;e&&e!==f.currentNode?f.childIndex>t&&(f.childIndex--,f.onNodeRemoved()):(f.currentNode=null,f.onNodeRemoved()),f.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(f.hoists.push(e),X(`_hoisted_${f.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>se(++f.cached,e,t)};return f}function gt(e,n){const o=mt(e,n);yt(e,o),n.hoistStatic&&lt(e,o),n.ssr||function(e,n){const{helper:o}=n,{children:r}=e,s=r[0];if(1===r.length)if(pt(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o(T),o($)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=K(n,o(x),void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function yt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(l(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(I);break;case 5:t.ssr||t.helper(R);break;case 9:for(let n=0;n<e.branches.length;n++)yt(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];p(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,yt(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function vt(e,t){const n=p(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(_e))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}function xt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:p=!1}){const a={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper:e=>`_${U[e]}`,push(e,t){a.code+=e},indent(){u(++a.indentLevel)},deindent(e=!1){e?--a.indentLevel:u(--a.indentLevel)},newline(){u(a.indentLevel)}};function u(e){a.push("\n"+" ".repeat(e))}return a}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:p}=n,a=e.helpers.length>0,u=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${U[e]}: _${U[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[w,I,C,O].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _Vue\n`)}(function(e,t){if(!e.length)return;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),kt(e,t),o()})})(e.hoists,t),o(),n("return ")}(e,n),r(p?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),u&&(r("with (_ctx) {"),i(),a&&(r(`const { ${e.helpers.map(e=>`${U[e]}: _${U[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(bt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(bt(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),p||r("return "),e.codegenNode?kt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function bt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?M:E);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Ae(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function St(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Nt(e,t,n),n&&t.deindent(),t.push("]")}function Nt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];p(c)?r(c):l(c)?St(c,t):kt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function kt(e,t){if(p(e))t.push(e);else if(a(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:kt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Tt(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(R)}(`),kt(e.content,t),n(")")}(e,t);break;case 12:kt(e.codegenNode,t);break;case 8:$t(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o}=t,{tag:r,props:s,children:i,patchFlag:c,dynamicProps:l,directives:p,isBlock:a,isForBlock:u}=e;p&&n(o(P)+"(");a&&n(`(${o(T)}(${u?"true":""}), `);n(o(a?$:w)+"(",e),Nt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([r,s,i,c,l]),t),n(")"),a&&n(")");p&&(n(", "),kt(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const n=p(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),Nt(e.arguments,t),t.push(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let e=0;e<i.length;e++){const{key:o,value:r}=i[e];wt(o,t),n(": "),kt(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){St(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:p}=e;n("(",e),l(s)?Nt(s,t):s&&kt(s,t);n(") => "),(p||c)&&(n("{"),o());i?(p&&n("return "),l(i)?St(i,t):kt(i,t)):c&&kt(c,t);(p||c)&&(r(),n("}"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:p}=t;if(4===n.type){const e=!xe(n.content);e&&i("("),Tt(n,t),e&&i(")")}else i("("),kt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),kt(o,t),t.indentLevel--,s&&p(),s||i(" "),i(": ");const a=19===r.type;a||t.indentLevel++;kt(r,t),a||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(V)}(-1),`),i());n(`_cache[${e.index}] = `),kt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(V)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Tt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function $t(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];p(o)?t.push(o):kt(o,t)}}function wt(e,t){const{push:n}=t;if(8===e.type)n("["),$t(e,t),n("]");else if(e.isStatic){n(xe(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const It=e("true,false,null,this"),Ct=(e,t)=>{if(5===e.type)e.content=Ot(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Ot(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Ot(n,t))}}};function Ot(e,t,o=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(xe(s))return o||t.identifiers[s]||n(s)||It(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;const l=r?` ${s} `:`(${s})${o?"=>{}":""}`;try{c=ge(l,{ranges:!0})}catch(t){return e}const p=[],a=Object.create(t.identifiers);ye(c,{enter(e,t){if("Identifier"===e.type){if(!p.includes(e)){const o=function(e,t){if((!Mt(t)||t.id!==e&&!t.params.includes(e))&&!Pt(e,t)&&("MemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!n(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!a[e.name]&&o?(Et(e,t)&&(e.prefix=`${e.name}: `),e.name=`_ctx.${e.name}`,p.push(e)):Pt(e,t)||(o&&a[e.name]||i||(e.isConstant=!0),p.push(e))}}else Mt(e)&&e.params.forEach(t=>ye(t,{enter(t,n){if(!("Identifier"!==t.type||Pt(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in a?a[n]++:a[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==c.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{a[e]--,0===a[e]&&delete a[e]})}});const u=[];let f;return p.sort((e,t)=>e.start-t.start),p.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=p[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&u.push(c+(t.prefix||""));const l=s.slice(o,r);u.push(X(t.name,!1,{source:l,start:ke(e.loc.start,l,o),end:ke(e.loc.start,l,r)},t.isConstant)),n===p.length-1&&r<s.length&&u.push(s.slice(r))}),u.length?f=te(u,e.loc):(f=e,f.isConstant=!i),f.identifiers=Object.keys(a),f}const Mt=e=>/Function(Expression|Declaration)$/.test(e.type),_t=(e,t)=>t&&"Property"===t.type&&t.key===e&&!t.computed,Et=(e,t)=>_t(e,t)&&t.value===e,Pt=(e,t)=>_t(e,t)&&t.value!==e;const Lt=vt(/^(if|else|else-if)$/,(e,t,n)=>At(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=Rt(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=Rt(t,e.branches.length-1,n)}}));function At(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=X("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Bt(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(i&&9===i.type){n.removeNode();const r=Bt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);yt(r,n),s&&s(),n.currentNode=null}break}}}function Bt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function Rt(e,t,n){return e.condition?re(e.condition,Ft(e,t,n),ne(n.helper(I),['""',"true"])):Ft(e,t,n)}function Ft(e,t,n){const{helper:o}=n,r=Q("key",X(t+"",!1)),{children:s}=e,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const e=i.codegenNode;return Le(e,r,n),e}return K(n,o(x),Z([r]),s,void 0,void 0,void 0,!0,!1,e.loc)}{const e=i.codegenNode;return 13===e.type&&(e.isBlock=!0,o(T),o($)),Le(e,r,n),e}}const Dt=vt("for",(e,n,o)=>{const{helper:r}=o;return jt(e,n,o,n=>{const s=ne(r(L),[n.source]),i=Ie(e,"key"),c=i?128:256;return n.codegenNode=K(o,r(x),void 0,s,`${c} /* ${t[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=Ee(e),{children:p}=n,a=p.length>1||1!==p[0].type,u=Pe(e)?e:l&&1===e.children.length&&Pe(e.children[0])?e.children[0]:null,f=i?Q("key",6===i.type?X(i.value.content,!0):i.exp):null;u?(c=u.codegenNode,l&&f&&Le(c,f,o)):a?c=K(o,r(x),f?Z([f]):void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0):(c=p[0].codegenNode,c.isBlock=!0,r(T),r($)),s.arguments.push(oe(zt(n.parseResult),c,!0))}})});function jt(e,t,n,o){if(!t.exp)return;const r=Jt(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:p}=r,a={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:p,parseResult:r,children:3===e.tagType?e.children:[e]};n.replaceNode(a),s.vFor++;const u=o&&o(a);return()=>{s.vFor--,u&&u()}}const Vt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ht=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Gt=/^\(|\)$/g;function Jt(e,t){const n=e.loc,o=e.content,r=o.match(Vt);if(!r)return;const[,s,i]=r,c={source:Ut(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Gt,"").trim();const p=s.indexOf(l),a=l.match(Ht);if(a){l=l.replace(Ht,"").trim();const e=a[1].trim();let t;if(e&&(t=o.indexOf(e,p+l.length),c.key=Ut(n,e,t)),a[2]){const r=a[2].trim();r&&(c.index=Ut(n,r,o.indexOf(r,c.key?t+e.length:p+l.length)))}}return l&&(c.value=Ut(n,l,p)),c}function Ut(e,t,n){return X(t,!1,Ne(e,n,t.length))}function zt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(X("_",!1)),o.push(t)),n&&(t||(e||o.push(X("_",!1)),o.push(X("__",!1))),o.push(n)),o}const Wt=X("undefined",!1),qt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=we(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},Kt=(e,t)=>{let n;if(Ee(e)&&e.props.some(_e)&&(n=we(e,"for"))){const e=n.parseResult=Jt(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},Yt=(e,t,n)=>oe(e,t,!1,!0,t.length?t[0].loc:n);function Zt(e,t,n=Yt){const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>Q("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const p=we(e,"slot",!0);if(p){const{exp:e}=p;s.push(c(e,o))}let a=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Ee(r)||!(c=we(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(p)break;a=!0;const{children:m,loc:g}=r,{arg:y=X("default",!0),exp:v}=c;let x;4===(h=y).type&&h.isStatic?x=y?y.content:"default":l=!0;const b=n(v,m,g);let S,N,k;if(S=we(r,"if"))l=!0,i.push(re(S.exp,Qt(y,b),Wt));else if(N=we(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Ee(t)&&we(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=N.exp?re(N.exp,Qt(y,b),Wt):Qt(y,b)}}else if(k=we(r,"for")){l=!0;const e=k.parseResult||Jt(k.exp);e&&i.push(ne(t.helper(L),[e.source,oe(zt(e),Qt(y,b),!0)]))}else{if(x){if(d.has(x))continue;d.add(x),"default"===x&&(u=!0)}s.push(Q(y,b))}}var h;p||(a?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));let m=Z(s.concat(Q("_",X("1",!1))),r);return i.length&&(m=ne(t.helper(B),[m,Y(i)])),{slots:m,hasDynamicSlots:l}}function Qt(e,t){return Z([Q("name",e),Q("fn",t)])}const Xt=new WeakMap,en=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?tn(e,t):`"${n}"`;let i,c,l,p,a,u,f=0,d=!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=nn(e,t);i=n.props,f=n.patchFlag,a=n.dynamicPropNames;const o=n.directives;u=o&&o.length?Y(o.map(e=>function(e,t){const n=[],o=Xt.get(e);o?(t.helper(o),n.push(t.helperString(o))):(t.helper(E),t.directives.add(e.name),n.push(Ae(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=X("true",!1,r);n.push(Z(e.modifiers.map(e=>Q(e,t)),r))}return Y(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===N&&(d=!0,f|=1024),r&&s!==b&&s!==N){const{slots:n,hasDynamicSlots:o}=Zt(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!at(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),a&&a.length&&(p=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(a))),e.codegenNode=K(t,s,i,c,l,p,u,d,!1,e.loc)}};function tn(e,t,n=!1){const{tag:o}=e,r="component"===e.tag&&Ie(e,"is");if(r)if(6===r.type){const e=r.value&&r.value.content;if(e)return t.helper(M),t.components.add(e),Ae(e,"component")}else if(r.exp)return ne(t.helper(_),[r.exp,t.prefixIdentifiers?"_ctx.$":"$"]);const s=fe(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper(M),t.components.add(o),Ae(o,"component"))}function nn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],p=[];let u=0,f=!1,d=!1,h=!1,m=!1,g=!1;const y=[],v=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>"o"===e[0]&&"n"===e[1])(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(m=!0),20===t.type||(4===t.type||8===t.type)&&at(t))return;"ref"===n?f=!0:"class"===n?d=!0:"style"===n?h=!0:"key"===n||y.includes(n)||y.push(n)}else g=!0};for(let i=0;i<n.length;i++){const u=n[i];if(6===u.type){const{loc:e,name:t,value:n}=u;if("ref"===t&&(f=!0),"is"===t&&"component"===r)continue;c.push(Q(X(t,!0,Ne(e,0,t.length)),X(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:f,loc:d}=u,h="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if(h&&"component"===r&&Ce(i,"is"))continue;if(m&&o)continue;if(!i&&(h||m)){g=!0,f&&(c.length&&(l.push(Z(on(c),s)),c=[]),l.push(h?f:{type:14,loc:d,callee:t.helper(D),arguments:[f]}));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:r}=y(u,e,t);!o&&n.forEach(v),c.push(...n),r&&(p.push(u),a(r)&&Xt.set(u,r))}else p.push(u)}}let x=void 0;return l.length?(c.length&&l.push(Z(on(c),s)),x=l.length>1?ne(t.helper(F),l,s):l[0]):c.length&&(x=Z(on(c),s)),g?u|=16:(d&&(u|=2),h&&(u|=4),y.length&&(u|=8),m&&(u|=32)),0!==u&&32!==u||!(f||p.length>0)||(u|=512),{props:x,directives:p,patchFlag:u,dynamicPropNames:y}}function on(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||s.startsWith("on"))&&rn(i,r):(t.set(s,r),n.push(r))}return n}function rn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Y([e.value,t.value],e.loc)}const sn=(e,t)=>{if(Pe(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=cn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(n)),e.codegenNode=ne(t.helper(A),i,o)}};function cn(e,t){let n='"default"',o=void 0;const r=Ie(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=nn(e,t,s);o=n}return{slotName:n,slotProps:o}}const ln=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,pn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=X(`on${e.startsWith("vnode")?g(d(e)):g(e)}`,!0,i.loc)}else c=te(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let p=!l;if(l){const e=Se(l.content),t=!(e||ln.test(l.content)),n=l.content.includes(";");(t||p&&e)&&(l=te([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let a={props:[Q(c,l||X("() => {}",!1,r))]};return o&&(a=o(a)),p&&(a.props[0].value=n.cache(a.props[0].value)),a},an=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?d(i.content):`${n.helperString(j)}(${i.content})`:(i.children.unshift(`${n.helperString(j)}(`),i.children.push(")"))),{props:[Q(i,o||X("",!0,s))]}},un=(e,n)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Me(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Me(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Me(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),n.ssr||2===r.type||s.push(`1 /* ${t[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:ne(n.helper(C),s)}}}}},fn=(e,t)=>{if(1===e.type&&we(e,"once",!0))return t.helper(V),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},dn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return hn();if(!Se(4===o.type?o.content:o.loc.source))return hn();const s=r||X("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:te(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[Q(s,e.exp),Q(i,te(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(xe(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:te([r,' + "Modifiers"']):"modelModifiers";c.push(Q(n,X(`{ ${t} }`,!1,e.loc,!0)))}return hn(c)};function hn(e=[]){return{props:e}}function mn(e){return[[fn,Lt,Dt,sn,en,qt,un],{on:pn,bind:an,model:dn}]}function gn(e,t={}){const n=t.onError||y,o="module"===t.mode;!0===t.prefixIdentifiers?n(v(51)):o&&n(v(52));t.cacheHandlers&&n(v(53)),t.scopeId&&!o&&n(v(54));const r=p(e)?Fe(e,t):e,[s,i]=mn();return gt(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),xt(r,{...t,prefixIdentifiers:!1})}const yn=()=>({props:[]}),vn=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},xn=Symbol(""),bn=Symbol(""),Sn=Symbol(""),Nn=Symbol(""),kn=Symbol(""),Tn=Symbol(""),$n=Symbol(""),wn=Symbol(""),In=Symbol(""),Cn=Symbol("");z({[xn]:"vModelRadio",[bn]:"vModelCheckbox",[Sn]:"vModelText",[Nn]:"vModelSelect",[kn]:"vModelDynamic",[Tn]:"withModifiers",[$n]:"withKeys",[wn]:"vShow",[In]:"Transition",[Cn]:"TransitionGroup"});const On=e("style,iframe,script,noscript",!0),Mn={isVoidTag:s,isNativeTag:e=>o(e)||r(e),isPreTag:e=>"pre"===e,isBuiltInComponent:e=>ue(e,"Transition")?In:ue(e,"TransitionGroup")?Cn:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(On(e))return 2}return 0}},_n=(e,t)=>{1===e.type&&e.props.forEach((n,o)=>{if(6===n.type&&"style"===n.name&&n.value){const r=t.hoist(function(e,t){const n={};return e.split(En).forEach(e=>{if(e){const t=e.split(Pn);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),X(JSON.stringify(n),!1,t)}(n.value.content,n.loc));e.props[o]={type:7,name:"bind",arg:X("style",!0,n.loc),exp:r,modifiers:[],loc:n.loc}}})},En=/;(?![^(]*\))/g,Pn=/:(.+)/;function Ln(e,t){return v(e,t)}const An=e("passive,once,capture"),Bn=e("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),Rn=e("onkeyup,onkeydown,onkeypress",!0),Fn=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?X(t,!0):4!==e.type?te(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,Dn=Mn,jn=[_n],Vn={cloak:yn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Q(X("innerHTML",!0,r),o||X("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Q(X("textContent",!0,r),o||X("",!0))]}},model:(e,t,n)=>{const o=dn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=Sn,s=!1;if("input"===r){const n=Ie(t,"type");if(n){if(7===n.type)e=kn;else if(n.value)switch(n.value.content){case"radio":e=xn;break;case"checkbox":e=bn;break;case"file":s=!0}}else Oe(t)&&(e=kn)}else"select"===r&&(e=Nn);s||(o.needRuntime=n.helper(e))}return o},on:(e,t,n)=>pn(e,0,n,t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=(e=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];An(s)?o.push(s):Bn(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=Fn(r,"onContextmenu")),c.includes("middle")&&(r=Fn(r,"onMouseup")),c.length&&(s=ne(n.helper(Tn),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!Rn(r.content)||(s=ne(n.helper($n),[s,JSON.stringify(i)])),l.length&&(s=Z([Q("handler",s),Q("options",Z(l.map(e=>Q(e,X("true",!1)))))])),{props:[Q(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(wn)})};function Hn(e,t={}){return gn(e,{...Dn,...t,nodeTransforms:[...jn,...t.nodeTransforms||[]],directiveTransforms:{...Vn,...t.directiveTransforms||{}},transformHoist:null})}function Gn(e,t={}){return Fe(e,{...Dn,...t})}export{k as BASE_TRANSITION,j as CAMELIZE,$ as CREATE_BLOCK,I as CREATE_COMMENT,B as CREATE_SLOTS,O as CREATE_STATIC,C as CREATE_TEXT,w as CREATE_VNODE,Vn as DOMDirectiveTransforms,jn as DOMNodeTransforms,x as FRAGMENT,N as KEEP_ALIVE,F as MERGE_PROPS,T as OPEN_BLOCK,G as POP_SCOPE_ID,b as PORTAL,H as PUSH_SCOPE_ID,L as RENDER_LIST,A as RENDER_SLOT,M as RESOLVE_COMPONENT,E as RESOLVE_DIRECTIVE,_ as RESOLVE_DYNAMIC_COMPONENT,V as SET_BLOCK_TRACKING,S as SUSPENSE,R as TO_DISPLAY_STRING,D as TO_HANDLERS,In as TRANSITION,Cn as TRANSITION_GROUP,bn as V_MODEL_CHECKBOX,kn as V_MODEL_DYNAMIC,xn as V_MODEL_RADIO,Nn as V_MODEL_SELECT,Sn as V_MODEL_TEXT,$n as V_ON_WITH_KEYS,Tn as V_ON_WITH_MODIFIERS,wn as V_SHOW,P as WITH_DIRECTIVES,J as WITH_SCOPE_ID,ke as advancePositionWithClone,Te as advancePositionWithMutation,$e as assert,gn as baseCompile,Fe as baseParse,nn as buildProps,Zt as buildSlots,Hn as compile,Y as createArrayExpression,pe as createAssignmentExpression,ie as createBlockStatement,se as createCacheExpression,ne as createCallExpression,v as createCompilerError,te as createCompoundExpression,re as createConditionalExpression,Ln as createDOMCompilerError,zt as createForLoopParams,oe as createFunctionExpression,le as createIfStatement,ee as createInterpolation,Z as createObjectExpression,Q as createObjectProperty,ae as createReturnStatement,q as createRoot,X as createSimpleExpression,vt as createStructuralDirectiveTransform,ce as createTemplateLiteral,mt as createTransformContext,K as createVNodeCall,we as findDir,Ie as findProp,xt as generate,vn as generateCodeFrame,mn as getBaseTransformPreset,Ne as getInnerRange,Oe as hasDynamicKeyVBind,Be as hasScopeRef,U as helperNameMap,Le as injectProp,Ce as isBindKey,ue as isBuiltInType,fe as isCoreComponent,Se as isMemberExpression,xe as isSimpleIdentifier,Pe as isSlotOutlet,Ee as isTemplateNode,Me as isText,_e as isVSlot,me as loadDep,W as locStub,yn as noopDirectiveTransform,Gn as parse,ge as parseJS,Dn as parserOptions,Ot as processExpression,jt as processFor,At as processIf,cn as processSlotOutlet,z as registerRuntimeHelpers,tn as resolveComponentType,Ae as toValidAssetId,qt as trackSlotScopes,Kt as trackVForSlotScopes,gt as transform,an as transformBind,Ct as transformExpression,dn as transformModel,pn as transformOn,_n as transformStyle,yt as traverseNode,ye as walkJS};

@@ -1,1 +0,1 @@

var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",32:"NEED_PATCH",16:"FULL_PROPS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"DYNAMIC_SLOTS",[-1]:"BAIL"};const o=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),r=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,lineGradient,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"),s=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c=()=>{},i=()=>!1,l=Array.isArray,a=e=>"string"==typeof e,p=e=>"symbol"==typeof e;function u(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const f=/-(\w)/g,d=u(e=>e.replace(f,(e,t)=>t?t.toUpperCase():"")),h=/\B([A-Z])/g,g=u(e=>e.replace(h,"-$1").toLowerCase()),m=u(e=>e.charAt(0).toUpperCase()+e.slice(1));function y(e){throw e}function v(e,t,n){const o=new SyntaxError(String(e));return o.code=e,o.loc=t,o}const x={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function b(e,t=x){return{type:16,loc:t,elements:e}}function S(e,t=x){return{type:14,loc:t,properties:e}}function N(e,t){return{type:15,loc:x,key:a(e)?k(e,!0):e,value:t}}function k(e,t,n=x,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function T(e,t=x){return{type:8,loc:t,children:e}}function w(e,t=[],n=x){return{type:13,loc:n,callee:e,arguments:t}}function E(e,t,n=!1,o=!1,r=x){return{type:17,params:e,returns:t,newline:n,isSlot:o,loc:r}}function $(e){return{type:18,expressions:e,loc:x}}function C(e,t,n){return{type:19,test:e,consequent:t,alternate:n,loc:x}}function I(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:x}}const O=Symbol(""),M=Symbol(""),_=Symbol(""),P=Symbol(""),L=Symbol(""),R=Symbol(""),A=Symbol(""),D=Symbol(""),j=Symbol(""),B=Symbol(""),V=Symbol(""),F=Symbol(""),J=Symbol(""),W=Symbol(""),z=Symbol(""),G=Symbol(""),H=Symbol(""),K=Symbol(""),U=Symbol(""),q=Symbol(""),Y=Symbol(""),Z=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te={[O]:"Fragment",[M]:"Portal",[_]:"Suspense",[P]:"KeepAlive",[L]:"BaseTransition",[R]:"openBlock",[A]:"createBlock",[D]:"createVNode",[j]:"createCommentVNode",[B]:"createTextVNode",[V]:"resolveComponent",[F]:"resolveDynamicComponent",[J]:"resolveDirective",[W]:"withDirectives",[z]:"renderList",[G]:"renderSlot",[H]:"createSlots",[K]:"toDisplayString",[U]:"mergeProps",[q]:"toHandlers",[Y]:"camelize",[Z]:"setBlockTracking",[Q]:"pushScopeId",[X]:"popScopeId",[ee]:"withScopeId"};function ne(e){Object.getOwnPropertySymbols(e).forEach(t=>{te[t]=e[t]})}const oe=(e,t)=>e===t||e===g(t);function re(e){return oe(e,"Portal")?M:oe(e,"Suspense")?_:oe(e,"KeepAlive")?P:oe(e,"BaseTransition")?L:void 0}let se,ce;function ie(e){return window._deps[e]}const le=/^\d|[^\$\w]/,ae=e=>!le.test(e),pe=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,ue=e=>pe.test(e);function fe(e,t,n){const o={source:e.source.substr(t,n),start:de(e.start,e.source,t),end:e.end};return null!=n&&(o.end=de(e.start,e.source,t+n)),o}function de(e,t,n=t.length){return he({...e},t,n)}function he(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function ge(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function me(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(a(t)?r.name===t:t.test(r.name)))return r}}function ye(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(6===r.type){if(n)continue;if(r.name===t&&r.value)return r}else if("bind"===r.name&&r.arg&&4===r.arg.type&&r.arg.isStatic&&r.arg.content===t&&r.exp)return r}}function ve(e,t){return $([w(t.helper(R)),e])}function xe(e){return 7===e.type&&"slot"===e.name}function be(e){return 1===e.type&&3===e.tagType}function Se(e){return 1===e.type&&2===e.tagType}function Ne(e,t,n){let o;const r=e.callee===G?e.arguments[2]:e.arguments[1];if(null==r||a(r))o=S([t]);else if(13===r.type){const e=r.arguments[0];a(e)||14!==e.type?r.arguments.unshift(S([t])):e.properties.unshift(t),o=r}else if(14===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=w(n.helper(U),[S([t]),r]);e.callee===G?e.arguments[2]=o:e.arguments[1]=o}function ke(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Te={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:i,isPreTag:i,isCustomElement:i,namedCharacterReferences:{"gt;":">","lt;":"<","amp;":"&","apos;":"'","quot;":'"'},maxCRNameLength:5,onError:y};function we(e,t={}){const n=function(e,t){return{options:{...Te,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1}}(e,t),o=je(n);return{type:0,children:Ee(n,0,[]),helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,codegenNode:void 0,loc:Be(n,o)}}function Ee(e,t,n){const o=Ve(n),r=o?o.ns:0,s=[];for(;!He(e,t,n);){const c=e.source;let i=void 0;if(0===t)if(!e.inPre&&Fe(c,e.options.delimiters[0]))i=Re(e,t);else if("<"===c[0])if(1===c.length)Ge(e,8,1);else if("!"===c[1])Fe(c,"\x3c!--")?i=Ie(e):Fe(c,"<!DOCTYPE")?i=Oe(e):Fe(c,"<![CDATA[")?0!==r?i=Ce(e,n):(Ge(e,2),i=Oe(e)):(Ge(e,14),i=Oe(e));else if("/"===c[1])if(2===c.length)Ge(e,8,2);else{if(">"===c[2]){Ge(e,17,2),Je(e,3);continue}if(/[a-z]/i.test(c[2])){Ge(e,31),_e(e,1,o);continue}Ge(e,15,2),i=Oe(e)}else/[a-z]/i.test(c[1])?i=Me(e,n):"?"===c[1]?(Ge(e,28,1),i=Oe(e)):Ge(e,15,1);if(i||(i=Ae(e,t)),l(i))for(let e=0;e<i.length;e++)$e(s,i[e]);else $e(s,i)}let c=!1;if(!(2===t||o&&e.options.isPreTag(o.tag)))for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(t.content.trim())t.content=t.content.replace(/\s+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(c=!0,s[e]=null):t.content=" "}}return c?s.filter(Boolean):s}function $e(e,t){if(3!==t.type){if(2===t.type){const n=Ve(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}}function Ce(e,t){Je(e,9);const n=Ee(e,3,t);return 0===e.source.length?Ge(e,9):Je(e,3),n}function Ie(e){const t=je(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){o.index<=3&&Ge(e,0),o[1]&&Ge(e,13),n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Je(e,s-r+1),s+4<t.length&&Ge(e,20),r=s+1;Je(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Je(e,e.source.length),Ge(e,10);return{type:3,content:n,loc:Be(e,t)}}function Oe(e){const t=je(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Je(e,e.source.length)):(o=e.source.slice(n,r),Je(e,r+1)),{type:3,content:o,loc:Be(e,t)}}function Me(e,t){const n=e.inPre,o=Ve(t),r=_e(e,0,o),s=e.inPre&&!n;if(r.isSelfClosing||e.options.isVoidTag(r.tag))return r;t.push(r);const c=e.options.getTextMode(r.tag,r.ns,o),i=Ee(e,c,t);if(t.pop(),r.children=i,Ke(e.source,r.tag))_e(e,1,o);else if(Ge(e,32,0,r.loc.start),0===e.source.length&&"script"===r.tag.toLowerCase()){const t=i[0];t&&Fe(t.loc.source,"\x3c!--")&&Ge(e,11)}return r.loc=Be(e,r.loc.start),s&&(e.inPre=!1),r}function _e(e,t,n){const o=je(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],c=e.options.getNamespace(s,n);Je(e,r[0].length),We(e);const i=je(e),l=e.source;let a=Pe(e,t);!e.inPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,i),e.source=l,a=Pe(e,t).filter(e=>"v-pre"!==e.name));let p=!1;0===e.source.length?Ge(e,12):(p=Fe(e.source,"/>"),1===t&&p&&Ge(e,7),Je(e,p?2:1));let u=0;const f=e.options;return e.inPre||f.isCustomElement(s)||(f.isNativeTag?f.isNativeTag(s)||(u=1):(re(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s))&&(u=1),"slot"===s?u=2:"template"===s&&(u=3)),{type:1,ns:c,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:Be(e,o),codegenNode:void 0}}function Pe(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Fe(e.source,">")&&!Fe(e.source,"/>");){if(Fe(e.source,"/")){Ge(e,29),Je(e,1),We(e);continue}1===t&&Ge(e,6);const r=Le(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source)&&Ge(e,19),We(e)}return n}function Le(e,t){const n=je(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o)&&Ge(e,5),t.add(o),"="===o[0]&&Ge(e,26);{const t=/["'<]/g;let n;for(;null!==(n=t.exec(o));)Ge(e,24,n.index)}Je(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(We(e),Je(e,1),We(e),r=function(e){const t=je(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Je(e,1);const t=e.source.indexOf(o);-1===t?n=De(e,e.source.length,4):(n=De(e,t,4),Je(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;let o,r=/["'<=`]/g;for(;null!==(o=r.exec(t[0]));)Ge(e,25,o.index);n=De(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Be(e,t)}}(e),r||Ge(e,16));const s=Be(e,n);if(!e.inPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let c;if(t[2]){const r=o.indexOf(t[2]),s=Be(e,ze(e,n,r),ze(e,n,r+t[2].length));let i=t[2],l=!0;i.startsWith("[")&&(l=!1,i.endsWith("]")||Ge(e,34),i=i.substr(1,i.length-2)),c={type:4,content:i,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=de(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(Fe(o,":")?"bind":Fe(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:c,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Re(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return void Ge(e,33);const s=je(e);Je(e,n.length);const c=je(e),i=je(e),l=r-n.length,a=e.source.slice(0,l),p=De(e,l,t),u=p.trim(),f=p.indexOf(u);return f>0&&he(c,a,f),he(i,a,l-(p.length-u.length-f)),Je(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:Be(e,c,i)},loc:Be(e,s)}}function Ae(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=je(e);return{type:2,content:De(e,o,t),loc:Be(e,r)}}function De(e,t,n){let o=e.source.slice(0,t);if(2===n||3===n||-1===o.indexOf("&"))return Je(e,t),o;const r=e.offset+t;let s="";function c(t){Je(e,t),o=o.slice(t)}for(;e.offset<r;){const t=/&(?:#x?)?/i.exec(o);if(!t||e.offset+t.index>=r){const t=r-e.offset;s+=o.slice(0,t),c(t);break}if(s+=o.slice(0,t.index),c(t.index),"&"===t[0]){let t="",r=void 0;if(/[0-9a-z]/i.test(o[1])){for(let n=e.options.maxCRNameLength;!r&&n>0;--n)t=o.substr(1,n),r=e.options.namedCharacterReferences[t];if(r){const i=t.endsWith(";");4===n&&!i&&/[=a-z0-9]/i.test(o[1+t.length]||"")?(s+="&"+t,c(1+t.length)):(s+=r,c(1+t.length),i||Ge(e,18))}else Ge(e,30),s+="&"+t,c(1+t.length)}else s+="&",c(1)}else{const n="&#x"===t[0],r=(n?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(o);if(r){let t=Number.parseInt(r[1],n?16:10);0===t?(Ge(e,22),t=65533):t>1114111?(Ge(e,3),t=65533):t>=55296&&t<=57343?(Ge(e,23),t=65533):t>=64976&&t<=65007||65534==(65534&t)?Ge(e,21):(t>=1&&t<=8||11===t||t>=13&&t<=31||t>=127&&t<=159)&&(Ge(e,4),t=Ue[t]||t),s+=String.fromCodePoint(t),c(r[0].length),r[0].endsWith(";")||Ge(e,18)}else s+=t[0],Ge(e,1),c(t[0].length)}}return s}function je(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Be(e,t,n){return{start:t,end:n=n||je(e),source:e.originalSource.slice(t.offset,n.offset)}}function Ve(e){return e[e.length-1]}function Fe(e,t){return e.startsWith(t)}function Je(e,t){const{source:n}=e;he(e,n,t),e.source=n.slice(t)}function We(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Je(e,t[0].length)}function ze(e,t,n){return de(t,e.originalSource.slice(t.offset,n),n)}function Ge(e,t,n,o=je(e)){n&&(o.offset+=n,o.column+=n),e.options.onError(v(t,{start:o,end:o,source:""}))}function He(e,t,n){const o=e.source;switch(t){case 0:if(Fe(o,"</"))for(let e=n.length-1;e>=0;--e)if(Ke(o,n[e].tag))return!0;break;case 1:case 2:{const e=Ve(n);if(e&&Ke(o,e.tag))return!0;break}case 3:if(Fe(o,"]]>"))return!0}return!o}function Ke(e,t){return Fe(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}const Ue={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function qe(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const c=t[s];if(1===c.type&&0===c.tagType){if(!r&&Ze(c,o)){c.codegenNode=n.hoist(c.codegenNode);continue}{const e=c.codegenNode;if(13===e.type){const t=ot(e);if(!(t&&32!==t&&1!==t||Qe(c)||Xe())){const t=et(c);t&&"null"!==t&&(nt(e).arguments[1]=n.hoist(t))}}}}if(1===c.type)e(c.children,n,o);else if(11===c.type)e(c.children,n,o,1===c.children.length);else if(9===c.type)for(let t=0;t<c.branches.length;t++){const r=c.branches[t].children;e(r,n,o,1===r.length)}}}(e.children,t,new Map,Ye(e,e.children[0]))}function Ye(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Se(t)}function Ze(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(ot(o)||Qe(e)||Xe())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!Ze(e.children[n],t))return t.set(e,!1),!1;return t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:return!1;case 5:case 12:return Ze(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>a(e)||p(e)||Ze(e,t));default:return!1}}function Qe(e){return!(!ye(e,"key",!0)&&!ye(e,"ref",!0))}function Xe(e){return!1}function et(e){const t=e.codegenNode;if(13===t.type)return tt(t,1)}function tt(e,t){return nt(e).arguments[t]}function nt(e){return e.callee===W?e.arguments[0]:e}function ot(e){const t=tt(e,3);return t?parseInt(t,10):void 0}function rt(e,t){const o=function(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},isBuiltInComponent:i=c,onError:l=y}){const a={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,isBuiltInComponent:i,onError:l,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(a.helpers.add(e),e),helperString:e=>(a.prefixIdentifiers?"":"_")+te[a.helper(e)],replaceNode(e){a.parent.children[a.childIndex]=a.currentNode=e},removeNode(e){const t=a.parent.children,n=e?t.indexOf(e):a.currentNode?a.childIndex:-1;e&&e!==a.currentNode?a.childIndex>n&&(a.childIndex--,a.onNodeRemoved()):(a.currentNode=null,a.onNodeRemoved()),a.parent.children.splice(n,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(a.hoists.push(e),k(`_hoisted_${a.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>I(++a.cached,e,t)};return a}(e,t);ct(e,o),t.hoistStatic&&qe(e,o),function(e,t){const{helper:o}=t,{children:r}=e,s=r[0];if(1===r.length)if(Ye(e,s)&&s.codegenNode){const n=s.codegenNode;20!==n.type?(n.callee===W?n.arguments[0].callee=o(A):n.callee=o(A),e.codegenNode=ve(n,t)):e.codegenNode=n}else e.codegenNode=s;else r.length>1&&(e.codegenNode=ve(w(o(A),[o(O),"null",e.children,`64 /* ${n[64]} */`]),t));e.helpers=[...t.helpers],e.components=[...t.components],e.directives=[...t.directives],e.imports=[...t.imports],e.hoists=t.hoists,e.cached=t.cached}(e,o)}function st(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];a(r)||(t.currentNode=r,t.parent=e,t.childIndex=n,t.onNodeRemoved=o,ct(r,t))}}function ct(e,t){const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(l(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.helper(j);break;case 5:t.helper(K);break;case 9:for(let n=0;n<e.branches.length;n++)st(e.branches[n],t);break;case 11:case 1:case 0:st(e,t)}let r=o.length;for(;r--;)o[r]()}function it(e,t){const n=a(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(xe))return;const s=[];for(let c=0;c<r.length;c++){const i=r[c];if(7===i.type&&n(i.name)){r.splice(c,1),c--;const n=t(e,i,o);n&&s.push(n)}}return s}}}function lt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null}){const c={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper(e){const t=te[e];return n?t:`_${t}`},push(e,t){c.code+=e},indent(){i(++c.indentLevel)},deindent(e=!1){e?--c.indentLevel:i(--c.indentLevel)},newline(){i(c.indentLevel)}};function i(e){c.push("\n"+" ".repeat(e))}return c}(e,t),{mode:o,push:r,helper:s,prefixIdentifiers:c,indent:i,deindent:l,newline:a,scopeId:p}=n,u=e.helpers.length>0,f=!c&&"module"!==o;if("function"===o){if(u)if(c)r(`const { ${e.helpers.map(s).join(", ")} } = Vue\n`);else if(r("const _Vue = Vue\n"),e.hoists.length){r(`const { ${[D,j,B].filter(t=>e.helpers.includes(t)).map(e=>`${te[e]}: _${te[e]}`).join(", ")} } = Vue\n`)}pt(e.hoists,n),a(),r("return ")}else u&&r(`import { ${e.helpers.map(s).join(", ")} } from "vue"\n`),e.imports.length&&(!function(e,t){if(!e.length)return;e.forEach(e=>{t.push("import "),dt(e.exp,t),t.push(` from '${e.path}'`),t.newline()})}(e.imports,n),a()),pt(e.hoists,n),a(),r("export ");return r("function render() {"),i(),f?(r("with (this) {"),i(),u&&(r(`const { ${e.helpers.map(e=>`${te[e]}: _${te[e]}`).join(", ")} } = _Vue`),a(),e.cached>0&&(r("const _cache = $cache"),a()),a())):(r("const _ctx = this"),e.cached>0&&(a(),r("const _cache = _ctx.$cache")),a()),e.components.length&&at(e.components,"component",n),e.directives.length&&at(e.directives,"directive",n),(e.components.length||e.directives.length)&&a(),r("return "),e.codegenNode?dt(e.codegenNode,n):r("null"),f&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function at(e,t,n){const o=n.helper("component"===t?V:J);for(let r=0;r<e.length;r++){const s=e[r];n.push(`const ${ke(s,t)} = ${o}(${JSON.stringify(s)})`),n.newline()}}function pt(e,t){if(!e.length)return;const{push:n,newline:o,helper:r,scopeId:s,mode:c}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),dt(e,t),o()})}function ut(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),ft(e,t,n),n&&t.deindent(),t.push("]")}function ft(e,t,n=!1){const{push:o,newline:r}=t;for(let s=0;s<e.length;s++){const c=e[s];a(c)?o(c):l(c)?ut(c,t):dt(c,t),s<e.length-1&&(n?(o(","),r()):o(", "))}}function dt(e,t){if(a(e))t.push(e);else if(p(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:dt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:ht(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(K)}(`),dt(e.content,t),n(")")}(e,t);break;case 12:dt(e.codegenNode,t);break;case 8:gt(e,t);break;case 3:break;case 13:!function(e,t){const n=a(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),ft(e.arguments,t),t.push(")")}(e,t);break;case 14:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:c}=e;if(!c.length)return void n("{}",e);const i=c.length>1||!1;n(i?"{":"{ "),i&&o();for(let e=0;e<c.length;e++){const{key:o,value:r}=c[e];mt(o,t),n(": "),dt(r,t),e<c.length-1&&(n(","),s())}i&&r(),n(i?"}":" }")}(e,t);break;case 16:!function(e,t){ut(e.elements,t)}(e,t);break;case 17:!function(e,t){const{push:n,indent:o,deindent:r,scopeId:s,mode:c}=t,{params:i,returns:a,newline:p,isSlot:u}=e;n("(",e),l(i)?ft(i,t):i&&dt(i,t);n(") => "),p&&(n("{"),o(),n("return "));l(a)?ut(a,t):dt(a,t);p&&(r(),n("}"))}(e,t);break;case 18:!function(e,t){t.push("("),ft(e.expressions,t),t.push(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r}=e,{push:s,indent:c,deindent:i,newline:l}=t;if(4===n.type){const e=!ae(n.content);e&&s("("),ht(n,t),e&&s(")")}else s("("),gt(n,t),s(")");c(),t.indentLevel++,s("? "),dt(o,t),t.indentLevel--,l(),s(": ");const a=19===r.type;a||t.indentLevel++;dt(r,t),a||t.indentLevel--;i(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:c}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Z)}(-1),`),c());n(`_cache[${e.index}] = `),dt(e.value,t),e.isVNode&&(n(","),c(),n(`${o(Z)}(1),`),c(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function ht(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function gt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];a(o)?t.push(o):dt(o,t)}}function mt(e,t){const{push:n}=t;if(8===e.type)n("["),gt(e,t),n("]");else if(e.isStatic){n(ae(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const yt=it(/^(if|else|else-if)$/,(e,t,n)=>{if(!("else"===t.name||t.exp&&t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError(v(35,t.loc)),t.exp=k("true",!1,o)}if("if"===t.name){const o=vt(e,t),r=$([w(n.helper(R))]);return n.replaceNode({type:9,loc:e.loc,branches:[o],codegenNode:r}),()=>{r.expressions.push(xt(o,0,n))}}{const o=n.parent.children;let r=o.indexOf(e);for(;r-- >=-1;){const s=o[r];if(s&&9===s.type){n.removeNode();const o=vt(e,t);s.branches.push(o),st(o,n),n.currentNode=null;let r=s.codegenNode.expressions[1];for(;;){if(19!==r.alternate.type){r.alternate=xt(o,s.branches.length-1,n);break}r=r.alternate}}else n.onError(v(36,e.loc));break}}});function vt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function xt(e,t,n){return e.condition?C(e.condition,bt(e,t,n),w(n.helper(j),['""',"true"])):bt(e,t,n)}function bt(e,t,n){const{helper:o}=n,r=N("key",k(t+"",!1)),{children:s}=e,c=s[0];if(1!==s.length||1!==c.type){const e=[o(O),S([r]),s];if(1===s.length&&11===c.type){const t=c.codegenNode.expressions[1].arguments;e[2]=t[2],e[3]=t[3]}return w(o(A),e)}{const e=c.codegenNode;let t=e;return t.callee===W&&(t=t.arguments[0]),t.callee===D&&(t.callee=o(A)),Ne(t,r,n),e}}const St=it("for",(e,t,o)=>{if(!t.exp)return void o.onError(v(37,t.loc));const r=wt(t.exp);if(!r)return void o.onError(v(38,t.loc));const{helper:s,addIdentifiers:c,removeIdentifiers:i,scopes:l}=o,{source:a,value:p,key:u,index:f}=r,d=w(s(z),[a]),h=ye(e,"key"),g=h?128:256,m=$([w(s(R),["false"]),w(s(A),[s(O),"null",d,`${g} /* ${n[g]} */`])]);return o.replaceNode({type:11,loc:t.loc,source:a,valueAlias:p,keyAlias:u,objectIndexAlias:f,children:3===e.tagType?e.children:[e],codegenNode:m}),l.vFor++,()=>{let t;l.vFor--;const c=be(e),i=Se(e)?e:c&&1===e.children.length&&Se(e.children[0])?e.children[0]:null,a=h?N("key",6===h.type?k(h.value.content,!0):h.exp):null;if(i)t=i.codegenNode,c&&a&&Ne(t,a,o);else if(c)t=ve(w(s(A),[s(O),a?S([a]):"null",e.children,`64 /* ${n[64]} */`]),o);else{let n=e.codegenNode;n.callee===W?n.arguments[0].callee=s(A):n.callee=s(A),t=ve(n,o)}d.arguments.push(E($t(r),t,!0))}}),Nt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,kt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Tt=/^\(|\)$/g;function wt(e,t){const n=e.loc,o=e.content,r=o.match(Nt);if(!r)return;const[,s,c]=r,i={source:Et(n,c.trim(),o.indexOf(c,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Tt,"").trim();const a=s.indexOf(l),p=l.match(kt);if(p){l=l.replace(kt,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),i.key=Et(n,e,t)),p[2]){const r=p[2].trim();r&&(i.index=Et(n,r,o.indexOf(r,i.key?t+e.length:a+l.length)))}}return l&&(i.value=Et(n,l,a)),i}function Et(e,t,n){return k(t,!1,fe(e,n,t.length))}function $t({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(k("_",!1)),o.push(t)),n&&(t||(e||o.push(k("_",!1)),o.push(k("__",!1))),o.push(n)),o}const Ct=k("undefined",!1),It=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=me(e,"slot");if(n){n.exp;return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}};function Ot(e,t,n){return N("default",E(e,t,!1,!0,t.length?t[0].loc:n))}function Mt(e,t){return S([N("name",e),N("fn",t)])}const _t=new WeakMap,Pt=(e,t)=>{if(!(1!==e.type||2===e.tagType||3===e.tagType&&e.props.some(xe)))return function(){const{tag:n,tagType:o,props:r}=e,s=re(n)||t.isBuiltInComponent(n),c=1===o;let i,l,a,p=r.length>0,u=0,f=!1;const d=ye(e,"is");if("component"===n&&d)if(6===d.type){const e=d.value&&d.value.content;e&&(t.helper(V),t.components.add(e),a=ke(e,"component"))}else d.exp&&(a=w(t.helper(F),[d.exp,t.prefixIdentifiers?"_ctx.$":"$"]));let h;a?h=a:s?h=t.helper(s):c?(t.helper(V),t.components.add(n),h=ke(n,"component")):(h=`"${n}"`,f="svg"===n||"foreignObject"===n);const g=[h];if(p){const n=Lt(e,t,d?e.props.filter(e=>e!==d):e.props);u=n.patchFlag,l=n.dynamicPropNames,i=n.directives,n.props?g.push(n.props):p=!1}const m=e.children.length>0;if(m)if(p||g.push("null"),c&&s!==M&&s!==P){const{slots:n,hasDynamicSlots:o}=function(e,t){const{children:n,loc:o}=e,r=[],s=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const i=me(e,"slot",!0);if(i){const{arg:e,exp:o,loc:s}=i;e&&t.onError(v(42,s)),r.push(Ot(o,n,s))}let l=!1,a=!1;const p=[],u=new Set;for(let e=0;e<n.length;e++){const o=n[e];let d;if(!be(o)||!(d=me(o,"slot",!0))){3!==o.type&&p.push(o);continue}if(i){t.onError(v(43,d.loc));break}l=!0;const{children:h,loc:g}=o,{arg:m=k("default",!0),exp:y,loc:x}=d;let b;4===(f=m).type&&f.isStatic?b=m?m.content:"default":c=!0;const S=E(y,h,!1,!0,h.length?h[0].loc:g);let T,$,I;if(T=me(o,"if"))c=!0,s.push(C(T.exp,Mt(m,S),Ct));else if($=me(o,/^else(-if)?$/,!0)){let o,r=e;for(;r--&&(o=n[r],3===o.type););if(o&&be(o)&&me(o,"if")){n.splice(e,1),e--;let t=s[s.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=$.exp?C($.exp,Mt(m,S),Ct):Mt(m,S)}else t.onError(v(36,$.loc))}else if(I=me(o,"for")){c=!0;const e=I.parseResult||wt(I.exp);e?s.push(w(t.helper(z),[e.source,E($t(e),Mt(m,S),!0)])):t.onError(v(38,I.loc))}else{if(b){if(u.has(b)){t.onError(v(44,x));continue}u.add(b),"default"===b&&(a=!0)}r.push(N(m,S))}}var f;i||(l?p.length&&(a?t.onError(v(45,p[0].loc)):r.push(Ot(void 0,p,o))):r.push(Ot(void 0,n,o)));let d=S(r.concat(N("_compiled",k("true",!1))),o);return s.length&&(d=w(t.helper(H),[d,b(s)])),{slots:d,hasDynamicSlots:c}}(e,t);g.push(n),o&&(u|=512)}else if(1===e.children.length){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!Ze(t)&&(u|=1),o||2===n?g.push(t):g.push(e.children)}else g.push(e.children);0!==u&&(m||(p||g.push("null"),g.push("null")),g.push(u+""),l&&l.length&&g.push(function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(l)));const{loc:y}=e,x=f?$([w(t.helper(R)),w(t.helper(A),g,y)]):w(t.helper(D),g,y);i&&i.length?e.codegenNode=w(t.helper(W),[x,b(i.map(e=>function(e,t){const n=[],o=_t.get(e);o?(t.helper(o),n.push(t.helperString(o))):(t.helper(J),t.directives.add(e.name),n.push(ke(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=k("true",!1,r);n.push(S(e.modifiers.map(e=>N(e,t)),r))}return b(n,e.loc)}(e,t)),y)],y):e.codegenNode=x}};function Lt(e,t,n=e.props){const o=e.loc,r=1===e.tagType;let s=[];const c=[],i=[];let l=0,a=!1,u=!1,f=!1,d=!1;const h=[],g=({key:e,value:t})=>{if(4===e.type&&e.isStatic){if(20===t.type||(4===t.type||8===t.type)&&Ze(t))return;const n=e.content;"ref"===n?a=!0:"class"===n?u=!0:"style"===n?f=!0:"key"!==n&&h.push(n)}else d=!0};for(let l=0;l<n.length;l++){const u=n[l];if(6===u.type){const{loc:e,name:t,value:n}=u;"ref"===t&&(a=!0),s.push(N(k(t,!0,fe(e,0,t.length)),k(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:l,exp:a,loc:f}=u;if("slot"===n){r||t.onError(v(46,f));continue}if("once"===n)continue;const h="bind"===n,m="on"===n;if(!l&&(h||m)){d=!0,a?(s.length&&(c.push(S(Rt(s),o)),s=[]),h?c.push(a):c.push({type:13,loc:f,callee:t.helper(q),arguments:[a]})):t.onError(v(h?39:40,f));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:o}=y(u,e,t);n.forEach(g),s.push(...n),o&&(i.push(u),p(o)&&_t.set(u,o))}else i.push(u)}}let m=void 0;return c.length?(s.length&&c.push(S(Rt(s),o)),m=c.length>1?w(t.helper(U),c,o):c[0]):s.length&&(m=S(Rt(s),o)),d?l|=16:(u&&(l|=2),f&&(l|=4),h.length&&(l|=8)),0===l&&(a||i.length>0)&&(l|=32),{props:m,directives:i,patchFlag:l,dynamicPropNames:h}}function Rt(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,c=t.get(s);c?("style"===s||"class"===s||s.startsWith("on")||s.startsWith("vnode"))&&At(c,r):(t.set(s,r),n.push(r))}return n}function At(e,t){16===e.value.type?e.value.elements.push(t.value):e.value=b([e.value,t.value],e.loc)}const Dt=(e,t)=>{if(Se(e)){const{props:n,children:o,loc:r}=e,s=t.prefixIdentifiers?"_ctx.$slots":"$slots";let c='"default"',i=-1;for(let e=0;e<n.length;e++){const t=n[e];if(6===t.type){if("name"===t.name&&t.value){c=JSON.stringify(t.value.content),i=e;break}}else if("bind"===t.name){const{arg:n,exp:o}=t;if(n&&o&&4===n.type&&n.isStatic&&"name"===n.content){c=o,i=e;break}}}const l=[s,c],a=i>-1?n.slice(0,i).concat(n.slice(i+1)):n;let p=a.length>0;if(p){const{props:n,directives:o}=Lt(e,t,a);o.length&&t.onError(v(41,o[0].loc)),n?l.push(n):p=!1}o.length&&(p||l.push("{}"),l.push(o)),e.codegenNode=w(t.helper(G),l,r)}},jt=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Bt=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:c}=e;let i;e.exp||s.length||n.onError(v(40,r)),4===c.type?i=c.isStatic?k(`on${m(c.content)}`,!0,c.loc):T(['"on" + (',c,")"]):(i=c,i.children.unshift('"on" + ('),i.children.push(")"));let l=e.exp,a=!l;if(l){const e=ue(l.content),t=!(e||jt.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=T([`$event => ${n?"{":"("}`,...4===l.type?[l]:l.children,n?"}":")"]))}let p={props:[N(i,l||k("() => {}",!1,r))],needRuntime:!1};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},Vt=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,c=e.arg;return o||n.onError(v(39,s)),r.includes("camel")&&(4===c.type?c.isStatic?c.content=d(c.content):c.content=`${n.helperString(Y)}(${c.content})`:(c.children.unshift(`${n.helperString(Y)}(`),c.children.push(")"))),{props:[N(c,o||k("",!0,s))],needRuntime:!1}},Ft=e=>5===e.type||2===e.type,Jt=(e,t)=>{if(0===e.type||1===e.type||11===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Ft(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Ft(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Ft(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),2!==r.type&&s.push(`1 /* ${n[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:w(t.helper(B),s)}}}}},Wt=(e,t)=>{if(1===e.type&&me(e,"once",!0))return t.helper(Z),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},zt=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError(v(47,e.loc)),Gt();const s=4===o.type?o.content:o.loc.source;if(!ue(s))return n.onError(v(48,o.loc)),Gt();const c=r||k("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:T(['"onUpdate:" + ',...4===r.type?[r]:r.children]):"onUpdate:modelValue",l=[N(c,e.exp),N(i,T(["$event => (",...4===o.type?[o]:o.children," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(ae(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:T([...4===r.type?[r]:r.children,' + "Modifiers"']):"modelModifiers";l.push(N(n,k(`{ ${t} }`,!1,e.loc,!0)))}return Gt(l)};function Gt(e=[]){return{props:e,needRuntime:!1}}function Ht(e,t={}){const n=t.onError||y,o="module"===t.mode;!0===t.prefixIdentifiers?n(v(51)):o&&n(v(52));t.cacheHandlers&&n(v(53)),t.scopeId&&!o&&n(v(54));const r=a(e)?we(e,t):e;return rt(r,{...t,prefixIdentifiers:!1,nodeTransforms:[Wt,yt,St,Dt,Pt,It,Jt,...t.nodeTransforms||[]],directiveTransforms:{on:Bt,bind:Vt,model:zt,...t.directiveTransforms||{}}}),lt(r,{...t,prefixIdentifiers:!1})}const Kt=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let c=e-2;c<=e+2||n>r;c++){if(c<0||c>=o.length)continue;const i=c+1;s.push(`${i}${" ".repeat(3-String(i).length)}| ${o[c]}`);const l=o[c].length;if(c===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(c>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},Ut=t("style,iframe,script,noscript",!0),qt={isVoidTag:s,isNativeTag:e=>o(e)||r(e),isPreTag:e=>"pre"===e,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(Ut(e))return 2}return 0}},Yt=(e,t)=>{1===e.type&&e.props.forEach((n,o)=>{if(6===n.type&&"style"===n.name&&n.value){const r=JSON.stringify(function(e){const t={};return e.split(Zt).forEach(e=>{if(e){const n=e.split(Qt);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(n.value.content)),s=t.hoist(k(r,!1,n.loc));e.props[o]={type:7,name:"bind",arg:k("style",!0,n.loc),exp:s,modifiers:[],loc:n.loc}}})},Zt=/;(?![^(]*\))/g,Qt=/:(.+)/;const Xt=(e,t)=>({props:[],needRuntime:!1});function en(e,t){return v(e,t)}const tn=(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(en(55,r)),t.children.length&&(n.onError(en(56,r)),t.children.length=0),{props:[N(k("innerHTML",!0,r),o||k("",!0))],needRuntime:!1}},nn=(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(en(57,r)),t.children.length&&(n.onError(en(58,r)),t.children.length=0),{props:[N(k("textContent",!0,r),o||k("",!0))],needRuntime:!1}},on=Symbol(""),rn=Symbol(""),sn=Symbol(""),cn=Symbol(""),ln=Symbol(""),an=Symbol(""),pn=Symbol(""),un=Symbol(""),fn=Symbol(""),dn=Symbol("");ne({[on]:"vModelRadio",[rn]:"vModelCheckbox",[sn]:"vModelText",[cn]:"vModelSelect",[ln]:"vModelDynamic",[an]:"withModifiers",[pn]:"withKeys",[un]:"vShow",[fn]:"Transition",[dn]:"TransitionGroup"});const hn=(e,t,n)=>{const o=zt(e,t,n);if(!o.props.length)return o;const{tag:r,tagType:s}=t;if(0===s)if(e.arg&&n.onError(en(60,e.arg.loc)),"input"===r||"textarea"===r||"select"===r){let s=sn,c=!1;if("input"===r){const o=ye(t,"type");if(o)if(7===o.type)s=ln;else if(o.value)switch(o.value.content){case"radio":s=on;break;case"checkbox":s=rn;break;case"file":c=!0,n.onError(en(61,e.loc))}}else"select"===r&&(s=cn);c||(o.needRuntime=n.helper(s))}else n.onError(en(59,e.loc));return o},gn=t("passive,once,capture"),mn=t("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),yn=t("onkeyup,onkeydown,onkeypress",!0),vn=(e,t,n)=>Bt(e,0,n,t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:c,nonKeyModifiers:i,eventOptionModifiers:l}=(e=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];gn(s)?o.push(s):mn(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return i.length&&(s=w(n.helper(an),[s,JSON.stringify(i)])),!c.length||8!==r.type&&r.isStatic&&!yn(r.content)||(s=w(n.helper(pn),[s,JSON.stringify(c)])),l.length&&(s=S([N("handler",s),N("options",S(l.map(e=>N(e,k("true",!1)))))])),{props:[N(r,s)],needRuntime:!1}}),xn=(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(en(62,r)),{props:[],needRuntime:n.helper(un)}},bn=qt;return e.advancePositionWithClone=de,e.advancePositionWithMutation=he,e.assert=ge,e.baseCompile=Ht,e.baseParse=we,e.compile=function(e,t={}){return Ht(e,{...bn,...t,nodeTransforms:[Yt,...t.nodeTransforms||[]],directiveTransforms:{cloak:Xt,html:tn,text:nn,model:hn,on:vn,show:xn,...t.directiveTransforms||{}},isBuiltInComponent:e=>oe(e,"Transition")?fn:oe(e,"TransitionGroup")?dn:void 0})},e.createArrayExpression=b,e.createBlockExpression=ve,e.createCacheExpression=I,e.createCallExpression=w,e.createCompilerError=v,e.createCompoundExpression=T,e.createConditionalExpression=C,e.createFunctionExpression=E,e.createInterpolation=function(e,t){return{type:5,loc:t,content:a(e)?k(e,!1,t):e}},e.createObjectExpression=S,e.createObjectProperty=N,e.createSequenceExpression=$,e.createSimpleExpression=k,e.createStructuralDirectiveTransform=it,e.findDir=me,e.findProp=ye,e.generate=lt,e.generateCodeFrame=Kt,e.getInnerRange=fe,e.hasScopeRef=function e(t,n){if(!t||0===Object.keys(n).length)return!1;switch(t.type){case 1:for(let o=0;o<t.props.length;o++){const r=t.props[o];if(7===r.type&&(e(r.arg,n)||e(r.exp,n)))return!0}return t.children.some(t=>e(t,n));case 11:return!!e(t.source,n)||t.children.some(t=>e(t,n));case 9:return t.branches.some(t=>e(t,n));case 10:return!!e(t.condition,n)||t.children.some(t=>e(t,n));case 4:return!t.isStatic&&ae(t.content)&&!!n[t.content];case 8:return t.children.some(t=>{return null!==(o=t)&&"object"==typeof o&&e(t,n);var o});case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.injectProp=Ne,e.isBuiltInType=oe,e.isCoreComponent=re,e.isMemberExpression=ue,e.isSimpleIdentifier=ae,e.isSlotOutlet=Se,e.isTemplateNode=be,e.isVSlot=xe,e.loadDep=ie,e.locStub=x,e.parse=function(e,t={}){return we(e,{...bn,...t})},e.parseJS=(e,t)=>(ge(!1,"Expression AST analysis can only be performed in non-browser builds."),(se||(se=ie("acorn").parse))(e,t)),e.registerRuntimeHelpers=ne,e.toValidAssetId=ke,e.transform=rt,e.transformModel=zt,e.transformOn=Bt,e.walkJS=(e,t)=>(ge(!1,"Expression AST analysis can only be performed in non-browser builds."),(ce||(ce=ie("estree-walker").walk))(e,t)),e}({});
var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},o=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const r=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),s=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,lineGradient,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"),i=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c=()=>{},l=()=>!1,a=Array.isArray,p=e=>"string"==typeof e,u=e=>"symbol"==typeof e,f=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},d=/-(\w)/g,h=f(e=>e.replace(d,(e,t)=>t?t.toUpperCase():"")),m=/\B([A-Z])/g,g=f(e=>e.replace(m,"-$1").toLowerCase()),y=f(e=>e.charAt(0).toUpperCase()+e.slice(1));function v(e){throw e}function S(e,t,n){const o=new SyntaxError(String(e));return o.code=e,o.loc=t,o}const x=Symbol(""),b=Symbol(""),N=Symbol(""),T=Symbol(""),E=Symbol(""),O=Symbol(""),k=Symbol(""),I=Symbol(""),C=Symbol(""),_=Symbol(""),w=Symbol(""),$=Symbol(""),M=Symbol(""),R=Symbol(""),P=Symbol(""),L=Symbol(""),A=Symbol(""),D=Symbol(""),B=Symbol(""),V=Symbol(""),F=Symbol(""),H=Symbol(""),j=Symbol(""),G=Symbol(""),K=Symbol(""),U=Symbol(""),W={[x]:"Fragment",[b]:"Portal",[N]:"Suspense",[T]:"KeepAlive",[E]:"BaseTransition",[O]:"openBlock",[k]:"createBlock",[I]:"createVNode",[C]:"createCommentVNode",[_]:"createTextVNode",[w]:"createStaticVNode",[$]:"resolveComponent",[M]:"resolveDynamicComponent",[R]:"resolveDirective",[P]:"withDirectives",[L]:"renderList",[A]:"renderSlot",[D]:"createSlots",[B]:"toDisplayString",[V]:"mergeProps",[F]:"toHandlers",[H]:"camelize",[j]:"setBlockTracking",[G]:"pushScopeId",[K]:"popScopeId",[U]:"withScopeId"};function J(e){Object.getOwnPropertySymbols(e).forEach(t=>{W[t]=e[t]})}const z={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Y(e,t=z){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function q(e,t,n,o,r,s,i,c=!1,l=!1,a=z){return e&&(c?(e.helper(O),e.helper(k)):e.helper(I),i&&e.helper(P)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:a}}function Z(e,t=z){return{type:17,loc:t,elements:e}}function X(e,t=z){return{type:15,loc:t,properties:e}}function Q(e,t){return{type:16,loc:z,key:p(e)?ee(e,!0):e,value:t}}function ee(e,t,n=z,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function te(e,t=z){return{type:8,loc:t,children:e}}function ne(e,t=[],n=z){return{type:14,loc:n,callee:e,arguments:t}}function oe(e,t,n=!1,o=!1,r=z){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function re(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:z}}function se(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:z}}const ie=(e,t)=>e===t||e===g(t);function ce(e){return ie(e,"Portal")?b:ie(e,"Suspense")?N:ie(e,"KeepAlive")?T:ie(e,"BaseTransition")?E:void 0}let le,ae;function pe(e){return window._deps[e]}const ue=(e,t)=>(xe(!1,"Expression AST analysis can only be performed in non-browser builds."),(le||(le=pe("acorn").parse))(e,t)),fe=(e,t)=>(xe(!1,"Expression AST analysis can only be performed in non-browser builds."),(ae||(ae=pe("estree-walker").walk))(e,t)),de=/^\d|[^\$\w]/,he=e=>!de.test(e),me=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,ge=e=>me.test(e);function ye(e,t,n){const o={source:e.source.substr(t,n),start:ve(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ve(e.start,e.source,t+n)),o}function ve(e,t,n=t.length){return Se({...e},t,n)}function Se(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function xe(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function be(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(p(t)?r.name===t:t.test(r.name)))return r}}function Ne(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(6===r.type){if(n)continue;if(r.name===t&&r.value)return r}else if("bind"===r.name&&r.exp&&Te(r.arg,t))return r}}function Te(e,t){return!(!e||4!==e.type||!e.isStatic||e.content!==t)}function Ee(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function Oe(e){return 5===e.type||2===e.type}function ke(e){return 7===e.type&&"slot"===e.name}function Ie(e){return 1===e.type&&3===e.tagType}function Ce(e){return 1===e.type&&2===e.tagType}function _e(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||p(r))o=X([t]);else if(14===r.type){const e=r.arguments[0];p(e)||15!==e.type?r.arguments.unshift(X([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=ne(n.helper(V),[X([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function we(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const $e={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,namedCharacterReferences:{"gt;":">","lt;":"<","amp;":"&","apos;":"'","quot;":'"'},maxCRNameLength:5,onError:v};function Me(e,t={}){const n=function(e,t){return{options:{...$e,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1}}(e,t),o=We(n);return Y(Re(n,0,[]),Je(n,o))}function Re(e,t,n){const o=ze(n),r=o?o.ns:0,s=[];for(;!Qe(e,t,n);){const i=e.source;let c=void 0;if(0===t)if(!e.inPre&&Ye(i,e.options.delimiters[0]))c=Ge(e,t);else if("<"===i[0])if(1===i.length);else if("!"===i[1])c=Ye(i,"\x3c!--")?Ae(e):Ye(i,"<!DOCTYPE")?De(e):Ye(i,"<![CDATA[")&&0!==r?Le(e,n):De(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){qe(e,3);continue}if(/[a-z]/i.test(i[2])){Fe(e,1,o);continue}c=De(e)}else/[a-z]/i.test(i[1])?c=Be(e,n):"?"===i[1]&&(c=De(e));if(c||(c=Ke(e,t)),a(c))for(let e=0;e<c.length;e++)Pe(s,c[e]);else Pe(s,c)}let i=!1;if(!(2===t||o&&e.options.isPreTag(o.tag)))for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(t.content.trim())t.content=t.content.replace(/\s+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function Pe(e,t){if(3!==t.type){if(2===t.type){const n=ze(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}}function Le(e,t){qe(e,9);const n=Re(e,3,t);return 0===e.source.length||qe(e,3),n}function Ae(e){const t=We(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)qe(e,s-r+1),r=s+1;qe(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),qe(e,e.source.length);return{type:3,content:n,loc:Je(e,t)}}function De(e){const t=We(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),qe(e,e.source.length)):(o=e.source.slice(n,r),qe(e,r+1)),{type:3,content:o,loc:Je(e,t)}}function Be(e,t){const n=e.inPre,o=ze(t),r=Fe(e,0,o),s=e.inPre&&!n;if(r.isSelfClosing||e.options.isVoidTag(r.tag))return r;t.push(r);const i=e.options.getTextMode(r.tag,r.ns,o),c=Re(e,i,t);if(t.pop(),r.children=c,et(e.source,r.tag))Fe(e,1,o);else if(0===e.source.length&&"script"===r.tag.toLowerCase()){const e=c[0];e&&Ye(e.loc.source,"\x3c!--")}return r.loc=Je(e,r.loc.start),s&&(e.inPre=!1),r}const Ve=t("if,else,else-if,for,slot");function Fe(e,t,n){const o=We(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);qe(e,r[0].length),Ze(e);const c=We(e),l=e.source;let a=He(e,t);!e.inPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,a=He(e,t).filter(e=>"v-pre"!==e.name));let p=!1;0===e.source.length||(p=Ye(e.source,"/>"),qe(e,p?2:1));let u=0;const f=e.options;return e.inPre||f.isCustomElement(s)||(f.isNativeTag?f.isNativeTag(s)||(u=1):(ce(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&a.some(e=>7===e.type&&Ve(e.name))&&(u=3)),{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:Je(e,o),codegenNode:void 0}}function He(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Ye(e.source,">")&&!Ye(e.source,"/>");){if(Ye(e.source,"/")){qe(e,1),Ze(e);continue}const r=je(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Ze(e)}return n}function je(e,t){const n=We(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;null!==(t=e.exec(o)););}qe(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(Ze(e),qe(e,1),Ze(e),r=function(e){const t=We(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){qe(e,1);const t=e.source.indexOf(o);-1===t?n=Ue(e,e.source.length,4):(n=Ue(e,t,4),qe(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;let o,r=/["'<=`]/g;for(;null!==(o=r.exec(t[0])););n=Ue(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Je(e,t)}}(e));const s=Je(e,n);if(!e.inPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=Je(e,Xe(e,n,r),Xe(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=ve(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(Ye(o,":")?"bind":Ye(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Ge(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=We(e);qe(e,n.length);const i=We(e),c=We(e),l=r-n.length,a=e.source.slice(0,l),p=Ue(e,l,t),u=p.trim(),f=p.indexOf(u);return f>0&&Se(i,a,f),Se(c,a,l-(p.length-u.length-f)),qe(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:Je(e,i,c)},loc:Je(e,s)}}function Ke(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=We(e);return{type:2,content:Ue(e,o,t),loc:Je(e,r)}}function Ue(e,t,n){let o=e.source.slice(0,t);if(2===n||3===n||-1===o.indexOf("&"))return qe(e,t),o;const r=e.offset+t;let s="";function i(t){qe(e,t),o=o.slice(t)}for(;e.offset<r;){const t=/&(?:#x?)?/i.exec(o);if(!t||e.offset+t.index>=r){const t=r-e.offset;s+=o.slice(0,t),i(t);break}if(s+=o.slice(0,t.index),i(t.index),"&"===t[0]){let t="",r=void 0;if(/[0-9a-z]/i.test(o[1])){for(let n=e.options.maxCRNameLength;!r&&n>0;--n)t=o.substr(1,n),r=e.options.namedCharacterReferences[t];if(r){const e=t.endsWith(";");4===n&&!e&&/[=a-z0-9]/i.test(o[t.length+1]||"")?(s+="&"+t,i(1+t.length)):(s+=r,i(1+t.length))}else s+="&"+t,i(1+t.length)}else s+="&",i(1)}else{const e="&#x"===t[0],n=(e?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(o);if(n){let t=Number.parseInt(n[1],e?16:10);0===t?t=65533:t>1114111?t=65533:t>=55296&&t<=57343?t=65533:t>=64976&&t<=65007||65534==(65534&t)||(t>=1&&t<=8||11===t||t>=13&&t<=31||t>=127&&t<=159)&&(t=tt[t]||t),s+=String.fromCodePoint(t),i(n[0].length),n[0].endsWith(";")}else s+=t[0],i(t[0].length)}}return s}function We(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Je(e,t,n){return{start:t,end:n=n||We(e),source:e.originalSource.slice(t.offset,n.offset)}}function ze(e){return e[e.length-1]}function Ye(e,t){return e.startsWith(t)}function qe(e,t){const{source:n}=e;Se(e,n,t),e.source=n.slice(t)}function Ze(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&qe(e,t[0].length)}function Xe(e,t,n){return ve(t,e.originalSource.slice(t.offset,n),n)}function Qe(e,t,n){const o=e.source;switch(t){case 0:if(Ye(o,"</"))for(let e=n.length-1;e>=0;--e)if(et(o,n[e].tag))return!0;break;case 1:case 2:{const e=ze(n);if(e&&et(o,e.tag))return!0;break}case 3:if(Ye(o,"]]>"))return!0}return!o}function et(e,t){return Ye(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}const tt={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function nt(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&rt(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=lt(e);if(!(t&&512!==t&&1!==t||st(i)||it())){const t=ct(i);t&&(e.props=n.hoist(t))}}}}if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}else 12===i.type&&rt(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode))}}(e.children,t,new Map,ot(e,e.children[0]))}function ot(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ce(t)}function rt(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(lt(o)||st(e)||it())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!rt(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return rt(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>p(e)||u(e)||rt(e,t));default:return!1}}function st(e){return!(!Ne(e,"key",!0)&&!Ne(e,"ref",!0))}function it(e){return!1}function ct(e){const t=e.codegenNode;if(13===t.type)return t.props}function lt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function at(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:l=c,scopeId:a=null,ssr:p=!1,onError:u=v}){const f={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:l,scopeId:a,ssr:p,onError:u,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(f.helpers.add(e),e),helperString:e=>(f.prefixIdentifiers?"":"_")+W[f.helper(e)],replaceNode(e){f.parent.children[f.childIndex]=f.currentNode=e},removeNode(e){const t=e?f.parent.children.indexOf(e):f.currentNode?f.childIndex:-1;e&&e!==f.currentNode?f.childIndex>t&&(f.childIndex--,f.onNodeRemoved()):(f.currentNode=null,f.onNodeRemoved()),f.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(f.hoists.push(e),ee(`_hoisted_${f.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>se(++f.cached,e,t)};return f}function pt(e,t){const o=at(e,t);ut(e,o),t.hoistStatic&&nt(e,o),t.ssr||function(e,t){const{helper:o}=t,{children:r}=e,s=r[0];if(1===r.length)if(ot(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o(O),o(k)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=q(t,o(x),void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function ut(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(a(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(C);break;case 5:t.ssr||t.helper(B);break;case 9:for(let n=0;n<e.branches.length;n++)ut(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];p(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,ut(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function ft(e,t){const n=p(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(ke))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}function dt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper:e=>`_${W[e]}`,push(e,t){p.code+=e},indent(){u(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:u(--p.indentLevel)},newline(){u(p.indentLevel)}};function u(e){p.push("\n"+" ".repeat(e))}return p}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${W[e]}: _${W[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[I,C,_,w].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _Vue\n`)}(function(e,t){if(!e.length)return;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),yt(e,t),o()})})(e.hoists,t),o(),n("return ")}(e,n),r(a?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map(e=>`${W[e]}: _${W[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(ht(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(ht(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?yt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function ht(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?$:R);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${we(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function mt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),gt(e,t,n),n&&t.deindent(),t.push("]")}function gt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];p(c)?r(c):a(c)?mt(c,t):yt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function yt(e,t){if(p(e))t.push(e);else if(u(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:yt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:vt(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(B)}(`),yt(e.content,t),n(")")}(e,t);break;case 12:yt(e.codegenNode,t);break;case 8:St(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o}=t,{tag:r,props:s,children:i,patchFlag:c,dynamicProps:l,directives:a,isBlock:p,isForBlock:u}=e;a&&n(o(P)+"(");p&&n(`(${o(O)}(${u?"true":""}), `);n(o(p?k:I)+"(",e),gt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([r,s,i,c,l]),t),n(")"),p&&n(")");a&&(n(", "),yt(a,t),n(")"))}(e,t);break;case 14:!function(e,t){const n=p(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),gt(e.arguments,t),t.push(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let e=0;e<i.length;e++){const{key:o,value:r}=i[e];xt(o,t),n(": "),yt(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){mt(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l}=e;n("(",e),a(s)?gt(s,t):s&&yt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),a(i)?mt(i,t):yt(i,t)):c&&yt(c,t);(l||c)&&(r(),n("}"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!he(n.content);e&&i("("),vt(n,t),e&&i(")")}else i("("),yt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),yt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;yt(r,t),p||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(j)}(-1),`),i());n(`_cache[${e.index}] = `),yt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(j)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function vt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function St(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];p(o)?t.push(o):yt(o,t)}}function xt(e,t){const{push:n}=t;if(8===e.type)n("["),St(e,t),n("]");else if(e.isStatic){n(he(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const bt=t("true,false,null,this");function Nt(e,t,n=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(he(s))return n||t.identifiers[s]||o(s)||bt(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;const l=r?` ${s} `:`(${s})${n?"=>{}":""}`;try{c=ue(l,{ranges:!0})}catch(t){return e}const a=[],p=Object.create(t.identifiers);fe(c,{enter(e,t){if("Identifier"===e.type){if(!a.includes(e)){const n=function(e,t){if((!Tt(t)||t.id!==e&&!t.params.includes(e))&&!kt(e,t)&&("MemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!o(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!p[e.name]&&n?(Ot(e,t)&&(e.prefix=`${e.name}: `),e.name=`_ctx.${e.name}`,a.push(e)):kt(e,t)||(n&&p[e.name]||i||(e.isConstant=!0),a.push(e))}}else Tt(e)&&e.params.forEach(t=>fe(t,{enter(t,n){if(!("Identifier"!==t.type||kt(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in p?p[n]++:p[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==c.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{p[e]--,0===p[e]&&delete p[e]})}});const u=[];let f;return a.sort((e,t)=>e.start-t.start),a.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=a[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&u.push(c+(t.prefix||""));const l=s.slice(o,r);u.push(ee(t.name,!1,{source:l,start:ve(e.loc.start,l,o),end:ve(e.loc.start,l,r)},t.isConstant)),n===a.length-1&&r<s.length&&u.push(s.slice(r))}),u.length?f=te(u,e.loc):(f=e,f.isConstant=!i),f.identifiers=Object.keys(p),f}const Tt=e=>/Function(Expression|Declaration)$/.test(e.type),Et=(e,t)=>t&&"Property"===t.type&&t.key===e&&!t.computed,Ot=(e,t)=>Et(e,t)&&t.value===e,kt=(e,t)=>Et(e,t)&&t.value!==e;const It=ft(/^(if|else|else-if)$/,(e,t,n)=>Ct(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=wt(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=wt(t,e.branches.length-1,n)}}));function Ct(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=ee("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=_t(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(i&&9===i.type){n.removeNode();const r=_t(e,t);i.branches.push(r);const s=o&&o(i,r,!1);ut(r,n),s&&s(),n.currentNode=null}break}}}function _t(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function wt(e,t,n){return e.condition?re(e.condition,$t(e,t,n),ne(n.helper(C),['""',"true"])):$t(e,t,n)}function $t(e,t,n){const{helper:o}=n,r=Q("key",ee(t+"",!1)),{children:s}=e,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const e=i.codegenNode;return _e(e,r,n),e}return q(n,o(x),X([r]),s,void 0,void 0,void 0,!0,!1,e.loc)}{const e=i.codegenNode;return 13===e.type&&(e.isBlock=!0,o(O),o(k)),_e(e,r,n),e}}const Mt=ft("for",(e,t,o)=>{const{helper:r}=o;return Rt(e,t,o,t=>{const s=ne(r(L),[t.source]),i=Ne(e,"key"),c=i?128:256;return t.codegenNode=q(o,r(x),void 0,s,`${c} /* ${n[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=Ie(e),{children:a}=t,p=a.length>1||1!==a[0].type,u=Ce(e)?e:l&&1===e.children.length&&Ce(e.children[0])?e.children[0]:null,f=i?Q("key",6===i.type?ee(i.value.content,!0):i.exp):null;u?(c=u.codegenNode,l&&f&&_e(c,f,o)):p?c=q(o,r(x),f?X([f]):void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0):(c=a[0].codegenNode,c.isBlock=!0,r(O),r(k)),s.arguments.push(oe(Vt(t.parseResult),c,!0))}})});function Rt(e,t,n,o){if(!t.exp)return;const r=Dt(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:a}=r,p={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:a,parseResult:r,children:3===e.tagType?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Pt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Lt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,At=/^\(|\)$/g;function Dt(e,t){const n=e.loc,o=e.content,r=o.match(Pt);if(!r)return;const[,s,i]=r,c={source:Bt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(At,"").trim();const a=s.indexOf(l),p=l.match(Lt);if(p){l=l.replace(Lt,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Bt(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Bt(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Bt(n,l,a)),c}function Bt(e,t,n){return ee(t,!1,ye(e,n,t.length))}function Vt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(ee("_",!1)),o.push(t)),n&&(t||(e||o.push(ee("_",!1)),o.push(ee("__",!1))),o.push(n)),o}const Ft=ee("undefined",!1),Ht=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=be(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},jt=(e,t,n)=>oe(e,t,!1,!0,t.length?t[0].loc:n);function Gt(e,t,n=jt){const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>Q("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=be(e,"slot",!0);if(a){const{exp:e}=a;s.push(c(e,o))}let p=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Ie(r)||!(c=be(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(a)break;p=!0;const{children:m,loc:g}=r,{arg:y=ee("default",!0),exp:v}=c;let S;4===(h=y).type&&h.isStatic?S=y?y.content:"default":l=!0;const x=n(v,m,g);let b,N,T;if(b=be(r,"if"))l=!0,i.push(re(b.exp,Kt(y,x),Ft));else if(N=be(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Ie(t)&&be(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=N.exp?re(N.exp,Kt(y,x),Ft):Kt(y,x)}}else if(T=be(r,"for")){l=!0;const e=T.parseResult||Dt(T.exp);e&&i.push(ne(t.helper(L),[e.source,oe(Vt(e),Kt(y,x),!0)]))}else{if(S){if(d.has(S))continue;d.add(S),"default"===S&&(u=!0)}s.push(Q(y,x))}}var h;a||(p?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));let m=X(s.concat(Q("_",ee("1",!1))),r);return i.length&&(m=ne(t.helper(D),[m,Z(i)])),{slots:m,hasDynamicSlots:l}}function Kt(e,t){return X([Q("name",e),Q("fn",t)])}const Ut=new WeakMap,Wt=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?Jt(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=zt(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?Z(o.map(e=>function(e,t){const n=[],o=Ut.get(e);o?(t.helper(o),n.push(t.helperString(o))):(t.helper(R),t.directives.add(e.name),n.push(we(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=ee("true",!1,r);n.push(X(e.modifiers.map(e=>Q(e,t)),r))}return Z(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===T&&(d=!0,f|=1024),r&&s!==b&&s!==T){const{slots:n,hasDynamicSlots:o}=Gt(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!rt(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=q(t,s,i,c,l,a,u,d,!1,e.loc)}};function Jt(e,t,n=!1){const{tag:o}=e,r="component"===e.tag&&Ne(e,"is");if(r)if(6===r.type){const e=r.value&&r.value.content;if(e)return t.helper($),t.components.add(e),we(e,"component")}else if(r.exp)return ne(t.helper(M),[r.exp,t.prefixIdentifiers?"_ctx.$":"$"]);const s=ce(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper($),t.components.add(o),we(o,"component"))}function zt(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let p=0,f=!1,d=!1,h=!1,m=!1,g=!1;const y=[],v=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>"o"===e[0]&&"n"===e[1])(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(m=!0),20===t.type||(4===t.type||8===t.type)&&rt(t))return;"ref"===n?f=!0:"class"===n?d=!0:"style"===n?h=!0:"key"===n||y.includes(n)||y.push(n)}else g=!0};for(let i=0;i<n.length;i++){const p=n[i];if(6===p.type){const{loc:e,name:t,value:n}=p;if("ref"===t&&(f=!0),"is"===t&&"component"===r)continue;c.push(Q(ee(t,!0,ye(e,0,t.length)),ee(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:f,loc:d}=p,h="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if(h&&"component"===r&&Te(i,"is"))continue;if(m&&o)continue;if(!i&&(h||m)){g=!0,f&&(c.length&&(l.push(X(Yt(c),s)),c=[]),l.push(h?f:{type:14,loc:d,callee:t.helper(F),arguments:[f]}));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:r}=y(p,e,t);!o&&n.forEach(v),c.push(...n),r&&(a.push(p),u(r)&&Ut.set(p,r))}else a.push(p)}}let S=void 0;return l.length?(c.length&&l.push(X(Yt(c),s)),S=l.length>1?ne(t.helper(V),l,s):l[0]):c.length&&(S=X(Yt(c),s)),g?p|=16:(d&&(p|=2),h&&(p|=4),y.length&&(p|=8),m&&(p|=32)),0!==p&&32!==p||!(f||a.length>0)||(p|=512),{props:S,directives:a,patchFlag:p,dynamicPropNames:y}}function Yt(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||s.startsWith("on"))&&qt(i,r):(t.set(s,r),n.push(r))}return n}function qt(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Z([e.value,t.value],e.loc)}const Zt=(e,t)=>{if(Ce(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Xt(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(n)),e.codegenNode=ne(t.helper(A),i,o)}};function Xt(e,t){let n='"default"',o=void 0;const r=Ne(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=zt(e,t,s);o=n}return{slotName:n,slotProps:o}}const Qt=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,en=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=ee(`on${e.startsWith("vnode")?y(h(e)):y(e)}`,!0,i.loc)}else c=te(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=!l;if(l){const e=ge(l.content),t=!(e||Qt.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=te([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[Q(c,l||ee("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},tn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?h(i.content):`${n.helperString(H)}(${i.content})`:(i.children.unshift(`${n.helperString(H)}(`),i.children.push(")"))),{props:[Q(i,o||ee("",!0,s))]}},nn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Oe(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Oe(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Oe(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),t.ssr||2===r.type||s.push(`1 /* ${n[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:ne(t.helper(_),s)}}}}},on=(e,t)=>{if(1===e.type&&be(e,"once",!0))return t.helper(j),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},rn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return sn();if(!ge(4===o.type?o.content:o.loc.source))return sn();const s=r||ee("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:te(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[Q(s,e.exp),Q(i,te(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(he(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:te([r,' + "Modifiers"']):"modelModifiers";c.push(Q(n,ee(`{ ${t} }`,!1,e.loc,!0)))}return sn(c)};function sn(e=[]){return{props:e}}function cn(e){return[[on,It,Mt,Zt,Wt,Ht,nn],{on:en,bind:tn,model:rn}]}function ln(e,t={}){const n=t.onError||v,o="module"===t.mode;!0===t.prefixIdentifiers?n(S(51)):o&&n(S(52));t.cacheHandlers&&n(S(53)),t.scopeId&&!o&&n(S(54));const r=p(e)?Me(e,t):e,[s,i]=cn();return pt(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),dt(r,{...t,prefixIdentifiers:!1})}const an=()=>({props:[]}),pn=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},un=Symbol(""),fn=Symbol(""),dn=Symbol(""),hn=Symbol(""),mn=Symbol(""),gn=Symbol(""),yn=Symbol(""),vn=Symbol(""),Sn=Symbol(""),xn=Symbol("");J({[un]:"vModelRadio",[fn]:"vModelCheckbox",[dn]:"vModelText",[hn]:"vModelSelect",[mn]:"vModelDynamic",[gn]:"withModifiers",[yn]:"withKeys",[vn]:"vShow",[Sn]:"Transition",[xn]:"TransitionGroup"});const bn=t("style,iframe,script,noscript",!0),Nn={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,isBuiltInComponent:e=>ie(e,"Transition")?Sn:ie(e,"TransitionGroup")?xn:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(bn(e))return 2}return 0}},Tn=(e,t)=>{1===e.type&&e.props.forEach((n,o)=>{if(6===n.type&&"style"===n.name&&n.value){const r=t.hoist(function(e,t){const n={};return e.split(En).forEach(e=>{if(e){const t=e.split(On);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),ee(JSON.stringify(n),!1,t)}(n.value.content,n.loc));e.props[o]={type:7,name:"bind",arg:ee("style",!0,n.loc),exp:r,modifiers:[],loc:n.loc}}})},En=/;(?![^(]*\))/g,On=/:(.+)/;function kn(e,t){return S(e,t)}const In=t("passive,once,capture"),Cn=t("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),_n=t("onkeyup,onkeydown,onkeypress",!0),wn=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?ee(t,!0):4!==e.type?te(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,$n=Nn,Mn=[Tn],Rn={cloak:an,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Q(ee("innerHTML",!0,r),o||ee("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Q(ee("textContent",!0,r),o||ee("",!0))]}},model:(e,t,n)=>{const o=rn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=dn,s=!1;if("input"===r){const n=Ne(t,"type");if(n){if(7===n.type)e=mn;else if(n.value)switch(n.value.content){case"radio":e=un;break;case"checkbox":e=fn;break;case"file":s=!0}}else Ee(t)&&(e=mn)}else"select"===r&&(e=hn);s||(o.needRuntime=n.helper(e))}return o},on:(e,t,n)=>en(e,0,n,t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=(e=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];In(s)?o.push(s):Cn(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=wn(r,"onContextmenu")),c.includes("middle")&&(r=wn(r,"onMouseup")),c.length&&(s=ne(n.helper(gn),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!_n(r.content)||(s=ne(n.helper(yn),[s,JSON.stringify(i)])),l.length&&(s=X([Q("handler",s),Q("options",X(l.map(e=>Q(e,ee("true",!1)))))])),{props:[Q(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(vn)})};return e.BASE_TRANSITION=E,e.CAMELIZE=H,e.CREATE_BLOCK=k,e.CREATE_COMMENT=C,e.CREATE_SLOTS=D,e.CREATE_STATIC=w,e.CREATE_TEXT=_,e.CREATE_VNODE=I,e.DOMDirectiveTransforms=Rn,e.DOMNodeTransforms=Mn,e.FRAGMENT=x,e.KEEP_ALIVE=T,e.MERGE_PROPS=V,e.OPEN_BLOCK=O,e.POP_SCOPE_ID=K,e.PORTAL=b,e.PUSH_SCOPE_ID=G,e.RENDER_LIST=L,e.RENDER_SLOT=A,e.RESOLVE_COMPONENT=$,e.RESOLVE_DIRECTIVE=R,e.RESOLVE_DYNAMIC_COMPONENT=M,e.SET_BLOCK_TRACKING=j,e.SUSPENSE=N,e.TO_DISPLAY_STRING=B,e.TO_HANDLERS=F,e.TRANSITION=Sn,e.TRANSITION_GROUP=xn,e.V_MODEL_CHECKBOX=fn,e.V_MODEL_DYNAMIC=mn,e.V_MODEL_RADIO=un,e.V_MODEL_SELECT=hn,e.V_MODEL_TEXT=dn,e.V_ON_WITH_KEYS=yn,e.V_ON_WITH_MODIFIERS=gn,e.V_SHOW=vn,e.WITH_DIRECTIVES=P,e.WITH_SCOPE_ID=U,e.advancePositionWithClone=ve,e.advancePositionWithMutation=Se,e.assert=xe,e.baseCompile=ln,e.baseParse=Me,e.buildProps=zt,e.buildSlots=Gt,e.compile=function(e,t={}){return ln(e,{...$n,...t,nodeTransforms:[...Mn,...t.nodeTransforms||[]],directiveTransforms:{...Rn,...t.directiveTransforms||{}},transformHoist:null})},e.createArrayExpression=Z,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:z}},e.createBlockStatement=function(e){return{type:21,body:e,loc:z}},e.createCacheExpression=se,e.createCallExpression=ne,e.createCompilerError=S,e.createCompoundExpression=te,e.createConditionalExpression=re,e.createDOMCompilerError=kn,e.createForLoopParams=Vt,e.createFunctionExpression=oe,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:z}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:p(e)?ee(e,!1,t):e}},e.createObjectExpression=X,e.createObjectProperty=Q,e.createReturnStatement=function(e){return{type:25,returns:e,loc:z}},e.createRoot=Y,e.createSimpleExpression=ee,e.createStructuralDirectiveTransform=ft,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:z}},e.createTransformContext=at,e.createVNodeCall=q,e.findDir=be,e.findProp=Ne,e.generate=dt,e.generateCodeFrame=pn,e.getBaseTransformPreset=cn,e.getInnerRange=ye,e.hasDynamicKeyVBind=Ee,e.hasScopeRef=function e(t,n){if(!t||0===Object.keys(n).length)return!1;switch(t.type){case 1:for(let o=0;o<t.props.length;o++){const r=t.props[o];if(7===r.type&&(e(r.arg,n)||e(r.exp,n)))return!0}return t.children.some(t=>e(t,n));case 11:return!!e(t.source,n)||t.children.some(t=>e(t,n));case 9:return t.branches.some(t=>e(t,n));case 10:return!!e(t.condition,n)||t.children.some(t=>e(t,n));case 4:return!t.isStatic&&he(t.content)&&!!n[t.content];case 8:return t.children.some(t=>{return null!==(o=t)&&"object"==typeof o&&e(t,n);var o});case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=W,e.injectProp=_e,e.isBindKey=Te,e.isBuiltInType=ie,e.isCoreComponent=ce,e.isMemberExpression=ge,e.isSimpleIdentifier=he,e.isSlotOutlet=Ce,e.isTemplateNode=Ie,e.isText=Oe,e.isVSlot=ke,e.loadDep=pe,e.locStub=z,e.noopDirectiveTransform=an,e.parse=function(e,t={}){return Me(e,{...$n,...t})},e.parseJS=ue,e.parserOptions=$n,e.processExpression=Nt,e.processFor=Rt,e.processIf=Ct,e.processSlotOutlet=Xt,e.registerRuntimeHelpers=J,e.resolveComponentType=Jt,e.toValidAssetId=we,e.trackSlotScopes=Ht,e.trackVForSlotScopes=(e,t)=>{let n;if(Ie(e)&&e.props.some(ke)&&(n=be(e,"for"))){const e=n.parseResult=Dt(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},e.transform=pt,e.transformBind=tn,e.transformExpression=(e,t)=>{if(5===e.type)e.content=Nt(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Nt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Nt(n,t))}}},e.transformModel=rn,e.transformOn=en,e.transformStyle=Tn,e.traverseNode=ut,e.walkJS=fe,e}({});
{
"name": "@vue/compiler-dom",
"version": "3.0.0-alpha.4",
"version": "3.0.0-alpha.5",
"description": "@vue/compiler-dom",

@@ -37,4 +37,4 @@ "main": "index.js",

"dependencies": {
"@vue/compiler-core": "3.0.0-alpha.4"
"@vue/compiler-core": "3.0.0-alpha.5"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc