@vue/compiler-dom 3.2.5 → 3.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,3 @@
1
- import { isReferenced } from '@babel/types';
2
- import { walk as walk$1 } from 'estree-walker';
3
-
4
1
  /**
5
2
  * Make a map and return a function for checking if a key
6
3
  * is in that map.
@@ -2919,75 +2916,14 @@ function genCacheExpression(node, context) {
2919
2916
  }
2920
2917
 
2921
2918
  function walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [], knownIds = Object.create(null)) {
2922
- const rootExp = root.type === 'Program' &&
2923
- root.body[0].type === 'ExpressionStatement' &&
2924
- root.body[0].expression;
2925
- walk$1(root, {
2926
- enter(node, parent) {
2927
- parent && parentStack.push(parent);
2928
- if (parent &&
2929
- parent.type.startsWith('TS') &&
2930
- parent.type !== 'TSAsExpression' &&
2931
- parent.type !== 'TSNonNullExpression' &&
2932
- parent.type !== 'TSTypeAssertion') {
2933
- return this.skip();
2934
- }
2935
- if (node.type === 'Identifier') {
2936
- const isLocal = !!knownIds[node.name];
2937
- const isRefed = isReferencedIdentifier(node, parent, parentStack);
2938
- if (includeAll || (isRefed && !isLocal)) {
2939
- onIdentifier(node, parent, parentStack, isRefed, isLocal);
2940
- }
2941
- }
2942
- else if (node.type === 'ObjectProperty' &&
2943
- parent.type === 'ObjectPattern') {
2944
- node.inPattern = true;
2945
- }
2946
- else if (isFunctionType(node)) {
2947
- // walk function expressions and add its arguments to known identifiers
2948
- // so that we don't prefix them
2949
- walkFunctionParams(node, id => markScopeIdentifier(node, id, knownIds));
2950
- }
2951
- else if (node.type === 'BlockStatement') {
2952
- // #3445 record block-level local variables
2953
- walkBlockDeclarations(node, id => markScopeIdentifier(node, id, knownIds));
2954
- }
2955
- },
2956
- leave(node, parent) {
2957
- parent && parentStack.pop();
2958
- if (node !== rootExp && node.scopeIds) {
2959
- for (const id of node.scopeIds) {
2960
- knownIds[id]--;
2961
- if (knownIds[id] === 0) {
2962
- delete knownIds[id];
2963
- }
2964
- }
2965
- }
2966
- }
2967
- });
2919
+ {
2920
+ return;
2921
+ }
2968
2922
  }
2969
2923
  function isReferencedIdentifier(id, parent, parentStack) {
2970
- if (!parent) {
2971
- return true;
2972
- }
2973
- // is a special keyword but parsed as identifier
2974
- if (id.name === 'arguments') {
2924
+ {
2975
2925
  return false;
2976
2926
  }
2977
- if (isReferenced(id, parent)) {
2978
- return true;
2979
- }
2980
- // babel's isReferenced check returns false for ids being assigned to, so we
2981
- // need to cover those cases here
2982
- switch (parent.type) {
2983
- case 'AssignmentExpression':
2984
- case 'AssignmentPattern':
2985
- return true;
2986
- case 'ObjectPattern':
2987
- case 'ArrayPattern':
2988
- return isInDestructureAssignment(parent, parentStack);
2989
- }
2990
- return false;
2991
2927
  }
2992
2928
  function isInDestructureAssignment(parent, parentStack) {
2993
2929
  if (parent &&
@@ -3068,19 +3004,6 @@ function extractIdentifiers(param, nodes = []) {
3068
3004
  }
3069
3005
  return nodes;
3070
3006
  }
3071
- function markScopeIdentifier(node, child, knownIds) {
3072
- const { name } = child;
3073
- if (node.scopeIds && node.scopeIds.has(name)) {
3074
- return;
3075
- }
3076
- if (name in knownIds) {
3077
- knownIds[name]++;
3078
- }
3079
- else {
3080
- knownIds[name] = 1;
3081
- }
3082
- (node.scopeIds || (node.scopeIds = new Set())).add(name);
3083
- }
3084
3007
  const isFunctionType = (node) => {
3085
3008
  return /Function(?:Expression|Declaration)$|Method$/.test(node.type);
3086
3009
  };
@@ -1 +1 @@
1
- import{isReferenced as e}from"@babel/types";import{walk as t}from"estree-walker";function n(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function o(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let s=0;const i=[];for(let c=0;c<o.length;c++)if(s+=o[c].length+(r[c]&&r[c].length||0),s>=t){for(let e=c-2;e<=c+2||n>s;e++){if(e<0||e>=o.length)continue;const l=e+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[e]}`);const a=o[e].length,p=r[e]&&r[e].length||0;if(e===c){const e=t-(s-(a+p)),o=Math.max(1,n>s?a-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>c){if(n>s){const e=Math.max(Math.min(n-s,a),1);i.push(" | "+"^".repeat(e))}s+=a+p}}break}return i.join("\n")}const r=/;(?![^(]*\))/g,s=/:(.+)/;const i=n("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),c=n("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,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),l=n("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),a={},p=()=>{},u=()=>!1,f=/^on[^a-z]/,d=Object.assign,h=Array.isArray,m=e=>"string"==typeof e,g=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e,v=n(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),b=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},S=/-(\w)/g,x=b((e=>e.replace(S,((e,t)=>t?t.toUpperCase():"")))),k=/\B([A-Z])/g,N=b((e=>e.replace(k,"-$1").toLowerCase())),_=b((e=>e.charAt(0).toUpperCase()+e.slice(1))),T=b((e=>e?`on${_(e)}`:""));function E(e){throw e}function w(e){}function O(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const C=Symbol(""),$=Symbol(""),I=Symbol(""),P=Symbol(""),M=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),A=Symbol(""),j=Symbol(""),B=Symbol(""),F=Symbol(""),D=Symbol(""),H=Symbol(""),W=Symbol(""),J=Symbol(""),U=Symbol(""),z=Symbol(""),G=Symbol(""),K=Symbol(""),q=Symbol(""),Y=Symbol(""),Z=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),fe=Symbol(""),de=Symbol(""),he=Symbol(""),me={[C]:"Fragment",[$]:"Teleport",[I]:"Suspense",[P]:"KeepAlive",[M]:"BaseTransition",[R]:"openBlock",[V]:"createBlock",[L]:"createElementBlock",[A]:"createVNode",[j]:"createElementVNode",[B]:"createCommentVNode",[F]:"createTextVNode",[D]:"createStaticVNode",[H]:"resolveComponent",[W]:"resolveDynamicComponent",[J]:"resolveDirective",[U]:"resolveFilter",[z]:"withDirectives",[G]:"renderList",[K]:"renderSlot",[q]:"createSlots",[Y]:"toDisplayString",[Z]:"mergeProps",[Q]:"normalizeClass",[X]:"normalizeStyle",[ee]:"normalizeProps",[te]:"guardReactiveProps",[ne]:"toHandlers",[oe]:"camelize",[re]:"capitalize",[se]:"toHandlerKey",[ie]:"setBlockTracking",[ce]:"pushScopeId",[le]:"popScopeId",[ae]:"withScopeId",[pe]:"withCtx",[ue]:"unref",[fe]:"isRef",[de]:"withMemo",[he]:"isMemoSame"};function ge(e){Object.getOwnPropertySymbols(e).forEach((t=>{me[t]=e[t]}))}const ye={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ve(e,t=ye){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function be(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=ye){return e&&(c?(e.helper(R),e.helper(rt(e.inSSR,a))):e.helper(ot(e.inSSR,a)),i&&e.helper(z)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function Se(e,t=ye){return{type:17,loc:t,elements:e}}function xe(e,t=ye){return{type:15,loc:t,properties:e}}function ke(e,t){return{type:16,loc:ye,key:m(e)?Ne(e,!0):e,value:t}}function Ne(e,t=!1,n=ye,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function _e(e,t){return{type:5,loc:t,content:m(e)?Ne(e,!1,t):e}}function Te(e,t=ye){return{type:8,loc:t,children:e}}function Ee(e,t=[],n=ye){return{type:14,loc:n,callee:e,arguments:t}}function we(e,t,n=!1,o=!1,r=ye){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Oe(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ye}}function Ce(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ye}}function $e(e){return{type:21,body:e,loc:ye}}function Ie(e){return{type:22,elements:e,loc:ye}}function Pe(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ye}}function Me(e,t){return{type:24,left:e,right:t,loc:ye}}function Re(e){return{type:25,expressions:e,loc:ye}}function Ve(e){return{type:26,returns:e,loc:ye}}const Le=e=>4===e.type&&e.isStatic,Ae=(e,t)=>e===t||e===N(t);function je(e){return Ae(e,"Teleport")?$:Ae(e,"Suspense")?I:Ae(e,"KeepAlive")?P:Ae(e,"BaseTransition")?M:void 0}const Be=/^\d|[^\$\w]/,Fe=e=>!Be.test(e),De=/[A-Za-z_$\xA0-\uFFFF]/,He=/[\.\?\w$\xA0-\uFFFF]/,We=/\s+[.[]\s*|\s*[.[]\s+/g,Je=e=>{e=e.trim().replace(We,(e=>e.trim()));let t=0,n=[],o=0,r=0,s=null;for(let i=0;i<e.length;i++){const c=e.charAt(i);switch(t){case 0:if("["===c)n.push(t),t=1,o++;else if("("===c)n.push(t),t=2,r++;else if(!(0===i?De:He).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(n.push(t),t=3,s=c):"["===c?o++:"]"===c&&(--o||(t=n.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)n.push(t),t=3,s=c;else if("("===c)r++;else if(")"===c){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:c===s&&(t=n.pop(),s=null)}}return!o&&!r};function Ue(e,t,n){const o={source:e.source.substr(t,n),start:ze(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ze(e.start,e.source,t+n)),o}function ze(e,t,n=t.length){return Ge(d({},e),t,n)}function Ge(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Ke(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function qe(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)&&(m(t)?r.name===t:t.test(r.name)))return r}}function Ye(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&Ze(s.arg,t))return s}}function Ze(e,t){return!(!e||!Le(e)||e.content!==t)}function Qe(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Xe(e){return 5===e.type||2===e.type}function et(e){return 7===e.type&&"slot"===e.name}function tt(e){return 1===e.type&&3===e.tagType}function nt(e){return 1===e.type&&2===e.tagType}function ot(e,t){return e||t?A:j}function rt(e,t){return e||t?V:L}const st=new Set([ee,te]);function it(e,t=[]){if(e&&!m(e)&&14===e.type){const n=e.callee;if(!m(n)&&st.has(n))return it(e.arguments[0],t.concat(e))}return[e,t]}function ct(e,t,n){let o;let r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!m(s)&&14===s.type){const e=it(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||m(s))o=xe([t]);else if(14===s.type){const e=s.arguments[0];m(e)||15!==e.type?s.callee===ne?o=Ee(n.helper(Z),[xe([t]),s]):s.arguments.unshift(xe([t])):e.properties.unshift(t),!o&&(o=s)}else if(15===s.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=s.properties.some((e=>4===e.key.type&&e.key.content===n))}e||s.properties.unshift(t),o=s}else o=Ee(n.helper(Z),[xe([t]),s]),r&&r.callee===te&&(r=i[i.length-2]);13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function lt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function at(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&&(at(o.arg,t)||at(o.exp,t)))return!0}return e.children.some((e=>at(e,t)));case 11:return!!at(e.source,t)||e.children.some((e=>at(e,t)));case 9:return e.branches.some((e=>at(e,t)));case 10:return!!at(e.condition,t)||e.children.some((e=>at(e,t)));case 4:return!e.isStatic&&Fe(e.content)&&!!t[e.content];case 8:return e.children.some((e=>y(e)&&at(e,t)));case 5:case 12:return at(e.content,t);case 2:case 3:default:return!1}}function pt(e){return 14===e.type&&e.callee===de?e.arguments[1].returns:e}function ut(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(ot(o,e.isComponent)),t(R),t(rt(o,e.isComponent)))}const ft={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3.vuejs.org/guide/migration/filters.html"}};function dt(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function ht(e,t){const n=dt("MODE",t),o=dt(e,t);return 3===n?!0===o:!1!==o}function mt(e,t,n,...o){return ht(e,t)}function gt(e,t,n,...o){if("suppress-warning"===dt(e,t))return;const{message:r,link:s}=ft[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)}const yt=/&(gt|lt|amp|apos|quot);/g,vt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},bt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:u,isPreTag:u,isCustomElement:u,decodeEntities:e=>e.replace(yt,((e,t)=>vt[t])),onError:E,onWarn:w,comments:!1};function St(e,t={}){const n=function(e,t){const n=d({},bt);let o;for(o in t)n[o]=void 0===t[o]?bt[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=Rt(n);return ve(xt(n,0,[]),Vt(n,o))}function xt(e,t,n){const o=Lt(n),r=o?o.ns:0,s=[];for(;!Dt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&At(i,e.options.delimiters[0]))c=It(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=At(i,"\x3c!--")?_t(e):At(i,"<!DOCTYPE")?Tt(e):At(i,"<![CDATA[")&&0!==r?Nt(e,n):Tt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){jt(e,3);continue}if(/[a-z]/i.test(i[2])){Ot(e,1,o);continue}c=Tt(e)}else/[a-z]/i.test(i[1])?(c=Et(e,n),ht("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&wt(e.name)))&&(c=c.children)):"?"===i[1]&&(c=Tt(e));if(c||(c=Pt(e,t)),h(c))for(let e=0;e<c.length;e++)kt(s,c[e]);else kt(s,c)}let i=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(e.inPre||2!==o.type)3!==o.type||e.options.comments||(i=!0,s[n]=null);else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function kt(e,t){if(2===t.type){const n=Lt(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 Nt(e,t){jt(e,9);const n=xt(e,3,t);return 0===e.source.length||jt(e,3),n}function _t(e){const t=Rt(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));)jt(e,s-r+1),r=s+1;jt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),jt(e,e.source.length);return{type:3,content:n,loc:Vt(e,t)}}function Tt(e){const t=Rt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),jt(e,e.source.length)):(o=e.source.slice(n,r),jt(e,r+1)),{type:3,content:o,loc:Vt(e,t)}}function Et(e,t){const n=e.inPre,o=e.inVPre,r=Lt(t),s=Ot(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),c&&(e.inVPre=!1),s;t.push(s);const l=e.options.getTextMode(s,r),a=xt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&mt("COMPILER_INLINE_TEMPLATE",e)){const n=Vt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Ht(e.source,s.tag))Ot(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&At(e.loc.source,"\x3c!--")}return s.loc=Vt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const wt=n("if,else,else-if,for,slot");function Ot(e,t,n){const o=Rt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);jt(e,r[0].length),Bt(e);const c=Rt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=Ct(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,d(e,c),e.source=l,a=Ct(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=At(e.source,"/>"),jt(e,p?2:1)),1===t)return;let u=0;return e.inVPre||("slot"===s?u=2:"template"===s?a.some((e=>7===e.type&&wt(e.name)))&&(u=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||je(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(mt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Ze(e.arg,"is")&&mt("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,a,e)&&(u=1)),{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:Vt(e,o),codegenNode:void 0}}function Ct(e,t){const n=[],o=new Set;for(;e.source.length>0&&!At(e.source,">")&&!At(e.source,"/>");){if(At(e.source,"/")){jt(e,1),Bt(e);continue}const r=$t(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Bt(e)}return n}function $t(e,t){const n=Rt(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(;t=e.exec(o););}let r;jt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Bt(e),jt(e,1),Bt(e),r=function(e){const t=Rt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){jt(e,1);const t=e.source.indexOf(o);-1===t?n=Mt(e,e.source.length,4):(n=Mt(e,t,4),jt(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=Mt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Vt(e,t)}}(e));const s=Vt(e,n);if(!e.inVPre&&/^(v-|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=At(o,"."),l=t[1]||(c||At(o,":")?"bind":At(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Vt(e,Ft(e,n,s),Ft(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=ze(e.start,r.content),e.source=e.source.slice(1,-1)}const a=t[3]?t[3].substr(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&mt("COMPILER_V_BIND_SYNC",e,0)&&(l="model",a.splice(a.indexOf("sync"),1)),{type:7,name:l,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:a,loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function It(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Rt(e);jt(e,n.length);const i=Rt(e),c=Rt(e),l=r-n.length,a=e.source.slice(0,l),p=Mt(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Ge(i,a,f);return Ge(c,a,l-(p.length-u.length-f)),jt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Vt(e,i,c)},loc:Vt(e,s)}}function Pt(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=Rt(e);return{type:2,content:Mt(e,o,t),loc:Vt(e,r)}}function Mt(e,t,n){const o=e.source.slice(0,t);return jt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Rt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Vt(e,t,n){return{start:t,end:n=n||Rt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Lt(e){return e[e.length-1]}function At(e,t){return e.startsWith(t)}function jt(e,t){const{source:n}=e;Ge(e,n,t),e.source=n.slice(t)}function Bt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&jt(e,t[0].length)}function Ft(e,t,n){return ze(t,e.originalSource.slice(t.offset,n),n)}function Dt(e,t,n){const o=e.source;switch(t){case 0:if(At(o,"</"))for(let e=n.length-1;e>=0;--e)if(Ht(o,n[e].tag))return!0;break;case 1:case 2:{const e=Lt(n);if(e&&Ht(o,e.tag))return!0;break}case 3:if(At(o,"]]>"))return!0}return!o}function Ht(e,t){return At(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Wt(e,t){Ut(e,t,Jt(e,e.children[0]))}function Jt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nt(t)}function Ut(e,t,n=!1){let o=!0;const{children:r}=e,s=r.length;let i=0;for(let c=0;c<r.length;c++){const e=r[c];if(1===e.type&&0===e.tagType){const r=n?0:zt(e,t);if(r>0){if(r<3&&(o=!1),r>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),i++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Zt(n);if((!o||512===o||1===o)&&qt(e,t)>=2){const o=Yt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else if(12===e.type){const n=zt(e.content,t);n>0&&(n<3&&(o=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),i++))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Ut(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Ut(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Ut(e.branches[n],t,1===e.branches[n].children.length)}o&&i&&t.transformHoist&&t.transformHoist(r,t,e),i&&i===s&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&h(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(Se(e.codegenNode.children)))}function zt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(Zt(r))return n.set(e,0),0;{let o=3;const s=qt(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=zt(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=zt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(R),t.removeHelper(rt(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(ot(t.inSSR,r.isComponent))),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return zt(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(m(o)||g(o))continue;const r=zt(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}const Gt=new Set([Q,X,ee,te]);function Kt(e,t){if(14===e.type&&!m(e.callee)&&Gt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return zt(n,t);if(14===n.type)return Kt(n,t)}return 0}function qt(e,t){let n=3;const o=Yt(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=zt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?zt(s,t):14===s.type?Kt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Yt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Zt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Qt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:c=null,isBuiltInComponent:l=p,isCustomElement:u=p,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:b=a,inline:S=!1,isTS:k=!1,onError:N=E,onWarn:T=w,compatConfig:O}){const C=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),$={selfName:C&&_(x(C[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:c,isBuiltInComponent:l,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:b,inline:S,isTS:k,onError:N,onWarn:T,compatConfig:O,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=$.helpers.get(e)||0;return $.helpers.set(e,t+1),e},removeHelper(e){const t=$.helpers.get(e);if(t){const n=t-1;n?$.helpers.set(e,n):$.helpers.delete(e)}},helperString:e=>`_${me[$.helper(e)]}`,replaceNode(e){$.parent.children[$.childIndex]=$.currentNode=e},removeNode(e){const t=e?$.parent.children.indexOf(e):$.currentNode?$.childIndex:-1;e&&e!==$.currentNode?$.childIndex>t&&($.childIndex--,$.onNodeRemoved()):($.currentNode=null,$.onNodeRemoved()),$.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){m(e)&&(e=Ne(e)),$.hoists.push(e);const t=Ne(`_hoisted_${$.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Ce($.cached++,e,t)};return $.filters=new Set,$}function Xt(e,t){const n=Qt(e,t);en(e,n),t.hoistStatic&&Wt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Jt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&ut(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=be(t,n(C),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function en(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(h(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(B);break;case 5:t.ssr||t.helper(Y);break;case 9:for(let n=0;n<e.branches.length;n++)en(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];m(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,en(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function tn(e,t){const n=m(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(et))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 nn(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1,isTS:p=!1,inSSR:u=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,isTS:p,inSSR:u,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${me[e]}`,push(e,t){f.code+=e},indent(){d(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:d(--f.indentLevel)},newline(){d(f.indentLevel)}};function d(e){f.push("\n"+" ".repeat(e))}return f}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${me[e]}: _${me[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[A,j,B,F,D].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),cn(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${me[e]}: _${me[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(on(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(on(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),on(e.filters,"filter",n),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?cn(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function on(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?U:"component"===t?H:J);for(let c=0;c<e.length;c++){let n=e[c];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),o(`const ${lt(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function rn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),sn(e,t,n),n&&t.deindent(),t.push("]")}function sn(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];m(c)?r(c):h(c)?rn(c,t):cn(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function cn(e,t){if(m(e))t.push(e);else if(g(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:cn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:ln(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(Y)}(`),cn(e.content,t),n(")")}(e,t);break;case 12:cn(e.codegenNode,t);break;case 8:an(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(B)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f,isComponent:d}=e;p&&n(o(z)+"(");u&&n(`(${o(R)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");const h=u?rt(t.inSSR,d):ot(t.inSSR,d);n(o(h)+"(",e),sn(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),cn(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=m(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),sn(e.arguments,t),n(")")}(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 l=0;l<i.length;l++){const{key:e,value:o}=i[l];pn(e,t),n(": "),cn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){rn(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,isSlot:a}=e;a&&n(`_${me[pe]}(`);n("(",e),h(s)?sn(s,t):s&&cn(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),h(i)?rn(i,t):cn(i,t)):c&&cn(c,t);(l||c)&&(r(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),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=!Fe(n.content);e&&i("("),ln(n,t),e&&i(")")}else i("("),cn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),cn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;cn(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(ie)}(-1),`),i());n(`_cache[${e.index}] = `),cn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(ie)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:sn(e.body,t,!0,!1)}}function ln(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function an(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];m(o)?t.push(o):cn(o,t)}}function pn(e,t){const{push:n}=t;if(8===e.type)n("["),an(e,t),n("]");else if(e.isStatic){n(Fe(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function un(e,n,o=!1,r=[],s=Object.create(null)){const i="Program"===e.type&&"ExpressionStatement"===e.body[0].type&&e.body[0].expression;t(e,{enter(e,t){if(t&&r.push(t),t&&t.type.startsWith("TS")&&"TSAsExpression"!==t.type&&"TSNonNullExpression"!==t.type&&"TSTypeAssertion"!==t.type)return this.skip();if("Identifier"===e.type){const i=!!s[e.name],c=fn(e,t,r);(o||c&&!i)&&n(e,t,r,c,i)}else"ObjectProperty"===e.type&&"ObjectPattern"===t.type?e.inPattern=!0:vn(e)?hn(e,(t=>yn(e,t,s))):"BlockStatement"===e.type&&mn(e,(t=>yn(e,t,s)))},leave(e,t){if(t&&r.pop(),e!==i&&e.scopeIds)for(const n of e.scopeIds)s[n]--,0===s[n]&&delete s[n]}})}function fn(t,n,o){if(!n)return!0;if("arguments"===t.name)return!1;if(e(t,n))return!0;switch(n.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return dn(n,o)}return!1}function dn(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function hn(e,t){for(const n of e.params)for(const e of gn(n))t(e)}function mn(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of gn(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function gn(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)gn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&gn(e,t)}));break;case"RestElement":gn(e.argument,t);break;case"AssignmentPattern":gn(e.left,t)}return t}function yn(e,t,n){const{name:o}=t;e.scopeIds&&e.scopeIds.has(o)||(o in n?n[o]++:n[o]=1,(e.scopeIds||(e.scopeIds=new Set)).add(o))}const vn=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),bn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,Sn=(e,t)=>bn(t)&&t.key===e,xn=(e,t)=>{if(5===e.type)e.content=kn(e.content);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=kn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=kn(n))}}};function kn(e,t,n=!1,o=!1){return e}const Nn=tn(/^(if|else|else-if)$/,((e,t,n)=>_n(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=En(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=En(t,i+e.branches.length-1,n)}}}))));function _n(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Ne("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Tn(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||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Tn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);en(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function Tn(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||qe(e,"for")?[e]:e.children,userKey:Ye(e,"key")}}function En(e,t,n){return e.condition?Oe(e.condition,wn(e,t,n),Ee(n.helper(B),['""',"true"])):wn(e,t,n)}function wn(e,t,n){const{helper:o}=n,r=ke("key",Ne(`${t}`,!1,ye,2)),{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 ct(e,r,n),e}{let t=64;return be(n,o(C),xe([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=pt(e);return 13===t.type&&ut(t,n),ct(t,r,n),e}}const On=tn("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return Cn(e,t,n,(t=>{const s=Ee(o(G),[t.source]),i=qe(e,"memo"),c=Ye(e,"key"),l=c&&(6===c.type?Ne(c.value.content,!0):c.exp),a=c?ke("key",l):null,p=4===t.source.type&&t.source.constType>0,u=p?64:c?128:256;return t.codegenNode=be(n,o(C),void 0,s,u+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const u=tt(e),{children:f}=t,d=1!==f.length||1!==f[0].type,h=nt(e)?e:u&&1===e.children.length&&nt(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,u&&a&&ct(c,a,n)):d?c=be(n,o(C),a?xe([a]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,u&&a&&ct(c,a,n),c.isBlock!==!p&&(c.isBlock?(r(R),r(rt(n.inSSR,c.isComponent))):r(ot(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(o(R),o(rt(n.inSSR,c.isComponent))):o(ot(n.inSSR,c.isComponent))),i){const e=we(Vn(t.parseResult,[Ne("_cached")]));e.body=$e([Te(["const _memo = (",i.exp,")"]),Te(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(he)}(_cached, _memo)) return _cached`]),Te(["const _item = ",c]),Ne("_item.memo = _memo"),Ne("return _item")]),s.arguments.push(e,Ne("_cache"),Ne(String(n.cached++)))}else s.arguments.push(we(Vn(t.parseResult),c,!0))}}))}));function Cn(e,t,n,o){if(!t.exp)return;const r=Mn(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:tt(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const $n=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,In=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Pn=/^\(|\)$/g;function Mn(e,t){const n=e.loc,o=e.content,r=o.match($n);if(!r)return;const[,s,i]=r,c={source:Rn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Pn,"").trim();const a=s.indexOf(l),p=l.match(In);if(p){l=l.replace(In,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Rn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Rn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Rn(n,l,a)),c}function Rn(e,t,n){return Ne(t,!1,Ue(e,n,t.length))}function Vn({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||Ne("_".repeat(t+1),!1)))}([e,t,n,...o])}const Ln=Ne("undefined",!1),An=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=qe(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},jn=(e,t)=>{let n;if(tt(e)&&e.props.some(et)&&(n=qe(e,"for"))){const e=n.parseResult=Mn(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)}}}},Bn=(e,t,n)=>we(e,t,!1,!0,t.length?t[0].loc:n);function Fn(e,t,n=Bn){t.helper(pe);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=qe(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Le(e)&&(c=!0),s.push(ke(e||Ne("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!tt(e)||!(r=qe(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=Ne("default",!0),exp:y}=r;let v;Le(g)?v=g?g.content:"default":c=!0;const b=n(y,d,h);let S,x,k;if(S=qe(e,"if"))c=!0,i.push(Oe(S.exp,Dn(g,b),Ln));else if(x=qe(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&tt(e)&&qe(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=x.exp?Oe(x.exp,Dn(g,b),Ln):Dn(g,b)}}else if(k=qe(e,"for")){c=!0;const e=k.parseResult||Mn(k.exp);e&&i.push(Ee(t.helper(G),[e.source,we(Vn(e),Dn(g,b),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(ke(g,b))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),ke("default",s)};a?u.length&&u.some((e=>Wn(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:Hn(e.children)?3:1;let h=xe(s.concat(ke("_",Ne(d+"",!1))),r);return i.length&&(h=Ee(t.helper(q),[h,Se(i)])),{slots:h,hasDynamicSlots:c}}function Dn(e,t){return xe([ke("name",e),ke("fn",t)])}function Hn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Hn(n.children))return!0;break;case 9:if(Hn(n.branches))return!0;break;case 10:case 11:if(Hn(n.children))return!0}}return!1}function Wn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Wn(e.content))}const Jn=new WeakMap,Un=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?zn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=y(s)&&s.callee===W||s===$||s===I||!r&&("svg"===n||"foreignObject"===n||Ye(e,"key",!0));if(o.length>0){const n=Gn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?Se(o.map((e=>function(e,t){const n=[],o=Jn.get(e);o?n.push(t.helperString(o)):(t.helper(J),t.directives.add(e.name),n.push(lt(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=Ne("true",!1,r);n.push(xe(e.modifiers.map((e=>ke(e,t))),r))}return Se(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===P&&(d=!0,f|=1024);if(r&&s!==$&&s!==P){const{slots:n,hasDynamicSlots:o}=Fn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==$){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===zt(n,t)&&(f|=1),c=r||2===o?n: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=be(t,s,i,c,l,a,u,!!d,!1,r,e.loc)};function zn(e,t,n=!1){let{tag:o}=e;const r=Yn(o),s=Ye(e,"is");if(s)if(r||ht("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ne(s.value.content,!0):s.exp;if(e)return Ee(t.helper(W),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&qe(e,"is");if(i&&i.exp)return Ee(t.helper(W),[i.exp]);const c=je(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(H),t.components.add(o),lt(o,"component"))}function Gn(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,u=!1,d=!1,h=!1,m=!1,y=!1,b=!1;const S=[],x=({key:e,value:n})=>{if(Le(e)){const o=e.content,r=(e=>f.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||v(o)||(m=!0),r&&v(o)&&(b=!0),20===n.type||(4===n.type||8===n.type)&&zt(n,t)>0)return;"ref"===o?u=!0:"class"===o?d=!0:"style"===o?h=!0:"key"===o||S.includes(o)||S.push(o),!i||"class"!==o&&"style"!==o||S.includes(o)||S.push(o)}else y=!0};for(let f=0;f<n.length;f++){const i=n[f];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(u=!0),"is"===n&&(Yn(r)||o&&o.content.startsWith("vue:")||ht("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(ke(Ne(n,!0,Ue(e,0,n.length)),Ne(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,h="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||d&&Ze(p,"is")&&(Yn(r)||ht("COMPILER_IS_ON_ELEMENT",t)))continue;if(h&&o)continue;if(!p&&(d||h)){if(y=!0,u)if(c.length&&(l.push(xe(Kn(c),s)),c=[]),d){if(ht("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(ne),arguments:[u]});continue}const m=t.directiveTransforms[n];if(m){const{props:n,needRuntime:r}=m(i,e,t);!o&&n.forEach(x),c.push(...n),r&&(a.push(i),g(r)&&Jn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&mt("COMPILER_V_FOR_REF",t)&&c.push(ke(Ne("refInFor",!0),Ne("true",!1)))}let k;if(l.length?(c.length&&l.push(xe(Kn(c),s)),k=l.length>1?Ee(t.helper(Z),l,s):l[0]):c.length&&(k=xe(Kn(c),s)),y?p|=16:(d&&!i&&(p|=2),h&&!i&&(p|=4),S.length&&(p|=8),m&&(p|=32)),0!==p&&32!==p||!(u||b||a.length>0)||(p|=512),!t.inSSR&&k)switch(k.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<k.properties.length;t++){const r=k.properties[t].key;Le(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=k.properties[e],s=k.properties[n];o?k=Ee(t.helper(ee),[k]):(r&&!Le(r.value)&&(r.value=Ee(t.helper(Q),[r.value])),!s||Le(s.value)||!h&&17!==s.value.type||(s.value=Ee(t.helper(X),[s.value])));break;case 14:break;default:k=Ee(t.helper(ee),[Ee(t.helper(te),[k])])}return{props:k,directives:a,patchFlag:p,dynamicPropNames:S}}function Kn(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"))&&qn(i,r):(t.set(s,r),n.push(r))}return n}function qn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Se([e.value,t.value],e.loc)}function Yn(e){return e[0].toLowerCase()+e.slice(1)==="component"}const Zn=(e,t)=>{if(nt(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Qn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(we([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Ee(t.helper(K),i,o)}};function Qn(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=x(t.name),r.push(t))):"bind"===t.name&&Ze(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Le(t.arg)&&(t.arg.content=x(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=Gn(e,t,r);n=o}return{slotName:o,slotProps:n}}const Xn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,eo=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=Ne(T(x(i.content)),!0,i.loc)}else c=Te([`${n.helperString(se)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(se)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=Je(l.content),t=!(e||Xn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Te([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[ke(c,l||Ne("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p.props.forEach((e=>e.key.isHandlerKey=!0)),p},to=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?x(i.content):`${n.helperString(oe)}(${i.content})`:(i.children.unshift(`${n.helperString(oe)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&no(i,"."),r.includes("attr")&&no(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[ke(i,Ne("",!0,s))]}:{props:[ke(i,o)]}},no=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},oo=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Xe(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Xe(s)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(Xe(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==zt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:Ee(t.helper(F),r)}}}}},ro=new WeakSet,so=(e,t)=>{if(1===e.type&&qe(e,"once",!0)){if(ro.has(e)||t.inVOnce)return;return ro.add(e),t.inVOnce=!0,t.helper(ie),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},io=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return co();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!Je(i))return co();const c=r||Ne("modelValue",!0),l=r?Le(r)?`onUpdate:${r.content}`:Te(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=Te([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const p=[ke(c,e.exp),ke(l,a)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Fe(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Le(r)?`${r.content}Modifiers`:Te([r,' + "Modifiers"']):"modelModifiers";p.push(ke(n,Ne(`{ ${t} }`,!1,e.loc,2)))}return co(p)};function co(e=[]){return{props:e}}const lo=/[\w).+\-_$\]]/,ao=(e,t)=>{ht("COMPILER_FILTER",t)&&(5===e.type&&po(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&po(e.exp,t)})))};function po(e,t){if(4===e.type)uo(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?uo(o,t):8===o.type?po(e,t):5===o.type&&po(o.content,t))}}function uo(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&lo.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=fo(i,m[s],t);e.content=i}}function fo(e,t,n){n.helper(U);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${lt(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${lt(r,"filter")}(${e}${")"!==s?","+s:s}`}}const ho=new WeakSet,mo=(e,t)=>{if(1===e.type){const n=qe(e,"memo");if(!n||ho.has(e))return;return ho.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&ut(o,t),e.codegenNode=Ee(t.helper(de),[n.exp,we(void 0,o),"_cache",String(t.cached++)]))}}};function go(e){return[[so,Nn,mo,On,ao,Zn,Un,An,oo],{on:eo,bind:to,model:io}]}function yo(e,t={}){const n=t.onError||E,o="module"===t.mode;!0===t.prefixIdentifiers?n(O(45)):o&&n(O(46));t.cacheHandlers&&n(O(47)),t.scopeId&&!o&&n(O(48));const r=m(e)?St(e,t):e,[s,i]=go();return Xt(r,d({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:d({},i,t.directiveTransforms||{})})),nn(r,d({},t,{prefixIdentifiers:false}))}const vo=()=>({props:[]}),bo=Symbol(""),So=Symbol(""),xo=Symbol(""),ko=Symbol(""),No=Symbol(""),_o=Symbol(""),To=Symbol(""),Eo=Symbol(""),wo=Symbol(""),Oo=Symbol("");let Co;ge({[bo]:"vModelRadio",[So]:"vModelCheckbox",[xo]:"vModelText",[ko]:"vModelSelect",[No]:"vModelDynamic",[_o]:"withModifiers",[To]:"withKeys",[Eo]:"vShow",[wo]:"Transition",[Oo]:"TransitionGroup"});const $o=n("style,iframe,script,noscript",!0),Io={isVoidTag:l,isNativeTag:e=>i(e)||c(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Co||(Co=document.createElement("div")),t?(Co.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Co.children[0].getAttribute("foo")):(Co.innerHTML=e,Co.textContent)},isBuiltInComponent:e=>Ae(e,"Transition")?wo:Ae(e,"TransitionGroup")?Oo: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({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if($o(e))return 2}return 0}},Po=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ne("style",!0,t.loc),exp:Mo(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Mo=(e,t)=>{const n=function(e){const t={};return e.split(r).forEach((e=>{if(e){const n=e.split(s);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return Ne(JSON.stringify(n),!1,t,3)};function Ro(e,t){return O(e,t)}const Vo=n("passive,once,capture"),Lo=n("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Ao=n("left,right"),jo=n("onkeyup,onkeydown,onkeypress",!0),Bo=(e,t)=>Le(e)&&"onclick"===e.content.toLowerCase()?Ne(t,!0):4!==e.type?Te(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Fo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Do=[Po],Ho={cloak:vo,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ke(Ne("innerHTML",!0,r),o||Ne("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ke(Ne("textContent",!0),o?Ee(n.helperString(Y),[o],r):Ne("",!0))]}},model:(e,t,n)=>{const o=io(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=xo,i=!1;if("input"===r||s){const n=Ye(t,"type");if(n){if(7===n.type)e=No;else if(n.value)switch(n.value.content){case"radio":e=bo;break;case"checkbox":e=So;break;case"file":i=!0}}else Qe(t)&&(e=No)}else"select"===r&&(e=ko);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>eo(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,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&mt("COMPILER_V_ON_NATIVE",n)||Vo(o)?i.push(o):Ao(o)?Le(e)?jo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Lo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Bo(r,"onContextmenu")),c.includes("middle")&&(r=Bo(r,"onMouseup")),c.length&&(s=Ee(n.helper(_o),[s,JSON.stringify(c)])),!i.length||Le(r)&&!jo(r.content)||(s=Ee(n.helper(To),[s,JSON.stringify(i)])),l.length){const e=l.map(_).join("");r=Le(r)?Ne(`${r.content}${e}`,!0):Te(["(",r,`) + "${e}"`])}return{props:[ke(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(Eo)})};function Wo(e,t={}){return yo(e,d({},Io,t,{nodeTransforms:[Fo,...Do,...t.nodeTransforms||[]],directiveTransforms:d({},Ho,t.directiveTransforms||{}),transformHoist:null}))}function Jo(e,t={}){return St(e,d({},Io,t))}export{M as BASE_TRANSITION,oe as CAMELIZE,re as CAPITALIZE,V as CREATE_BLOCK,B as CREATE_COMMENT,L as CREATE_ELEMENT_BLOCK,j as CREATE_ELEMENT_VNODE,q as CREATE_SLOTS,D as CREATE_STATIC,F as CREATE_TEXT,A as CREATE_VNODE,Ho as DOMDirectiveTransforms,Do as DOMNodeTransforms,C as FRAGMENT,te as GUARD_REACTIVE_PROPS,he as IS_MEMO_SAME,fe as IS_REF,P as KEEP_ALIVE,Z as MERGE_PROPS,Q as NORMALIZE_CLASS,ee as NORMALIZE_PROPS,X as NORMALIZE_STYLE,R as OPEN_BLOCK,le as POP_SCOPE_ID,ce as PUSH_SCOPE_ID,G as RENDER_LIST,K as RENDER_SLOT,H as RESOLVE_COMPONENT,J as RESOLVE_DIRECTIVE,W as RESOLVE_DYNAMIC_COMPONENT,U as RESOLVE_FILTER,ie as SET_BLOCK_TRACKING,I as SUSPENSE,$ as TELEPORT,Y as TO_DISPLAY_STRING,ne as TO_HANDLERS,se as TO_HANDLER_KEY,wo as TRANSITION,Oo as TRANSITION_GROUP,ue as UNREF,So as V_MODEL_CHECKBOX,No as V_MODEL_DYNAMIC,bo as V_MODEL_RADIO,ko as V_MODEL_SELECT,xo as V_MODEL_TEXT,To as V_ON_WITH_KEYS,_o as V_ON_WITH_MODIFIERS,Eo as V_SHOW,pe as WITH_CTX,z as WITH_DIRECTIVES,de as WITH_MEMO,ae as WITH_SCOPE_ID,ze as advancePositionWithClone,Ge as advancePositionWithMutation,Ke as assert,yo as baseCompile,St as baseParse,Gn as buildProps,Fn as buildSlots,mt as checkCompatEnabled,Wo as compile,Se as createArrayExpression,Me as createAssignmentExpression,$e as createBlockStatement,Ce as createCacheExpression,Ee as createCallExpression,O as createCompilerError,Te as createCompoundExpression,Oe as createConditionalExpression,Ro as createDOMCompilerError,Vn as createForLoopParams,we as createFunctionExpression,Pe as createIfStatement,_e as createInterpolation,xe as createObjectExpression,ke as createObjectProperty,Ve as createReturnStatement,ve as createRoot,Re as createSequenceExpression,Ne as createSimpleExpression,tn as createStructuralDirectiveTransform,Ie as createTemplateLiteral,Qt as createTransformContext,be as createVNodeCall,gn as extractIdentifiers,qe as findDir,Ye as findProp,nn as generate,o as generateCodeFrame,go as getBaseTransformPreset,Ue as getInnerRange,pt as getMemoedVNodeCall,rt as getVNodeBlockHelper,ot as getVNodeHelper,Qe as hasDynamicKeyVBind,at as hasScopeRef,me as helperNameMap,ct as injectProp,Ze as isBindKey,Ae as isBuiltInType,je as isCoreComponent,vn as isFunctionType,dn as isInDestructureAssignment,Je as isMemberExpression,fn as isReferencedIdentifier,Fe as isSimpleIdentifier,nt as isSlotOutlet,Le as isStaticExp,bn as isStaticProperty,Sn as isStaticPropertyKey,tt as isTemplateNode,Xe as isText,et as isVSlot,ye as locStub,ut as makeBlock,vo as noopDirectiveTransform,Jo as parse,Io as parserOptions,kn as processExpression,Cn as processFor,_n as processIf,Qn as processSlotOutlet,ge as registerRuntimeHelpers,zn as resolveComponentType,lt as toValidAssetId,An as trackSlotScopes,jn as trackVForSlotScopes,Xt as transform,to as transformBind,Un as transformElement,xn as transformExpression,io as transformModel,eo as transformOn,Po as transformStyle,en as traverseNode,mn as walkBlockDeclarations,hn as walkFunctionParams,un as walkIdentifiers,gt as warnDeprecation};
1
+ function e(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function t(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let s=0;const i=[];for(let c=0;c<o.length;c++)if(s+=o[c].length+(r[c]&&r[c].length||0),s>=t){for(let e=c-2;e<=c+2||n>s;e++){if(e<0||e>=o.length)continue;const l=e+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[e]}`);const a=o[e].length,p=r[e]&&r[e].length||0;if(e===c){const e=t-(s-(a+p)),o=Math.max(1,n>s?a-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>c){if(n>s){const e=Math.max(Math.min(n-s,a),1);i.push(" | "+"^".repeat(e))}s+=a+p}}break}return i.join("\n")}const n=/;(?![^(]*\))/g,o=/:(.+)/;const r=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),s=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,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},a=()=>!1,p=/^on[^a-z]/,u=Object.assign,f=Array.isArray,d=e=>"string"==typeof e,h=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,g=e(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),y=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v=/-(\w)/g,b=y((e=>e.replace(v,((e,t)=>t?t.toUpperCase():"")))),S=/\B([A-Z])/g,x=y((e=>e.replace(S,"-$1").toLowerCase())),k=y((e=>e.charAt(0).toUpperCase()+e.slice(1))),N=y((e=>e?`on${k(e)}`:""));function _(e){throw e}function T(e){}function E(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const O=Symbol(""),w=Symbol(""),C=Symbol(""),$=Symbol(""),I=Symbol(""),M=Symbol(""),P=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),j=Symbol(""),B=Symbol(""),F=Symbol(""),A=Symbol(""),D=Symbol(""),H=Symbol(""),W=Symbol(""),J=Symbol(""),U=Symbol(""),z=Symbol(""),G=Symbol(""),K=Symbol(""),q=Symbol(""),Y=Symbol(""),Z=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),fe=Symbol(""),de={[O]:"Fragment",[w]:"Teleport",[C]:"Suspense",[$]:"KeepAlive",[I]:"BaseTransition",[M]:"openBlock",[P]:"createBlock",[R]:"createElementBlock",[V]:"createVNode",[L]:"createElementVNode",[j]:"createCommentVNode",[B]:"createTextVNode",[F]:"createStaticVNode",[A]:"resolveComponent",[D]:"resolveDynamicComponent",[H]:"resolveDirective",[W]:"resolveFilter",[J]:"withDirectives",[U]:"renderList",[z]:"renderSlot",[G]:"createSlots",[K]:"toDisplayString",[q]:"mergeProps",[Y]:"normalizeClass",[Z]:"normalizeStyle",[Q]:"normalizeProps",[X]:"guardReactiveProps",[ee]:"toHandlers",[te]:"camelize",[ne]:"capitalize",[oe]:"toHandlerKey",[re]:"setBlockTracking",[se]:"pushScopeId",[ie]:"popScopeId",[ce]:"withScopeId",[le]:"withCtx",[ae]:"unref",[pe]:"isRef",[ue]:"withMemo",[fe]:"isMemoSame"};function he(e){Object.getOwnPropertySymbols(e).forEach((t=>{de[t]=e[t]}))}const me={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ge(e,t=me){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ye(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=me){return e&&(c?(e.helper(M),e.helper(nt(e.inSSR,a))):e.helper(tt(e.inSSR,a)),i&&e.helper(J)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function ve(e,t=me){return{type:17,loc:t,elements:e}}function be(e,t=me){return{type:15,loc:t,properties:e}}function Se(e,t){return{type:16,loc:me,key:d(e)?xe(e,!0):e,value:t}}function xe(e,t=!1,n=me,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function ke(e,t){return{type:5,loc:t,content:d(e)?xe(e,!1,t):e}}function Ne(e,t=me){return{type:8,loc:t,children:e}}function _e(e,t=[],n=me){return{type:14,loc:n,callee:e,arguments:t}}function Te(e,t,n=!1,o=!1,r=me){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Ee(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:me}}function Oe(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:me}}function we(e){return{type:21,body:e,loc:me}}function Ce(e){return{type:22,elements:e,loc:me}}function $e(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:me}}function Ie(e,t){return{type:24,left:e,right:t,loc:me}}function Me(e){return{type:25,expressions:e,loc:me}}function Pe(e){return{type:26,returns:e,loc:me}}const Re=e=>4===e.type&&e.isStatic,Ve=(e,t)=>e===t||e===x(t);function Le(e){return Ve(e,"Teleport")?w:Ve(e,"Suspense")?C:Ve(e,"KeepAlive")?$:Ve(e,"BaseTransition")?I:void 0}const je=/^\d|[^\$\w]/,Be=e=>!je.test(e),Fe=/[A-Za-z_$\xA0-\uFFFF]/,Ae=/[\.\?\w$\xA0-\uFFFF]/,De=/\s+[.[]\s*|\s*[.[]\s+/g,He=e=>{e=e.trim().replace(De,(e=>e.trim()));let t=0,n=[],o=0,r=0,s=null;for(let i=0;i<e.length;i++){const c=e.charAt(i);switch(t){case 0:if("["===c)n.push(t),t=1,o++;else if("("===c)n.push(t),t=2,r++;else if(!(0===i?Fe:Ae).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(n.push(t),t=3,s=c):"["===c?o++:"]"===c&&(--o||(t=n.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)n.push(t),t=3,s=c;else if("("===c)r++;else if(")"===c){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:c===s&&(t=n.pop(),s=null)}}return!o&&!r};function We(e,t,n){const o={source:e.source.substr(t,n),start:Je(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Je(e.start,e.source,t+n)),o}function Je(e,t,n=t.length){return Ue(u({},e),t,n)}function Ue(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function ze(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Ge(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)&&(d(t)?r.name===t:t.test(r.name)))return r}}function Ke(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&qe(s.arg,t))return s}}function qe(e,t){return!(!e||!Re(e)||e.content!==t)}function Ye(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Ze(e){return 5===e.type||2===e.type}function Qe(e){return 7===e.type&&"slot"===e.name}function Xe(e){return 1===e.type&&3===e.tagType}function et(e){return 1===e.type&&2===e.tagType}function tt(e,t){return e||t?V:L}function nt(e,t){return e||t?P:R}const ot=new Set([Q,X]);function rt(e,t=[]){if(e&&!d(e)&&14===e.type){const n=e.callee;if(!d(n)&&ot.has(n))return rt(e.arguments[0],t.concat(e))}return[e,t]}function st(e,t,n){let o;let r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!d(s)&&14===s.type){const e=rt(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||d(s))o=be([t]);else if(14===s.type){const e=s.arguments[0];d(e)||15!==e.type?s.callee===ee?o=_e(n.helper(q),[be([t]),s]):s.arguments.unshift(be([t])):e.properties.unshift(t),!o&&(o=s)}else if(15===s.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=s.properties.some((e=>4===e.key.type&&e.key.content===n))}e||s.properties.unshift(t),o=s}else o=_e(n.helper(q),[be([t]),s]),r&&r.callee===X&&(r=i[i.length-2]);13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function it(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function ct(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&&(ct(o.arg,t)||ct(o.exp,t)))return!0}return e.children.some((e=>ct(e,t)));case 11:return!!ct(e.source,t)||e.children.some((e=>ct(e,t)));case 9:return e.branches.some((e=>ct(e,t)));case 10:return!!ct(e.condition,t)||e.children.some((e=>ct(e,t)));case 4:return!e.isStatic&&Be(e.content)&&!!t[e.content];case 8:return e.children.some((e=>m(e)&&ct(e,t)));case 5:case 12:return ct(e.content,t);case 2:case 3:default:return!1}}function lt(e){return 14===e.type&&e.callee===ue?e.arguments[1].returns:e}function at(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(tt(o,e.isComponent)),t(M),t(nt(o,e.isComponent)))}const pt={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3.vuejs.org/guide/migration/filters.html"}};function ut(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function ft(e,t){const n=ut("MODE",t),o=ut(e,t);return 3===n?!0===o:!1!==o}function dt(e,t,n,...o){return ft(e,t)}function ht(e,t,n,...o){if("suppress-warning"===ut(e,t))return;const{message:r,link:s}=pt[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)}const mt=/&(gt|lt|amp|apos|quot);/g,gt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},yt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(mt,((e,t)=>gt[t])),onError:_,onWarn:T,comments:!1};function vt(e,t={}){const n=function(e,t){const n=u({},yt);let o;for(o in t)n[o]=void 0===t[o]?yt[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=Mt(n);return ge(bt(n,0,[]),Pt(n,o))}function bt(e,t,n){const o=Rt(n),r=o?o.ns:0,s=[];for(;!Ft(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Vt(i,e.options.delimiters[0]))c=Ct(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Vt(i,"\x3c!--")?kt(e):Vt(i,"<!DOCTYPE")?Nt(e):Vt(i,"<![CDATA[")&&0!==r?xt(e,n):Nt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Lt(e,3);continue}if(/[a-z]/i.test(i[2])){Et(e,1,o);continue}c=Nt(e)}else/[a-z]/i.test(i[1])?(c=_t(e,n),ft("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&Tt(e.name)))&&(c=c.children)):"?"===i[1]&&(c=Nt(e));if(c||(c=$t(e,t)),f(c))for(let e=0;e<c.length;e++)St(s,c[e]);else St(s,c)}let i=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(e.inPre||2!==o.type)3!==o.type||e.options.comments||(i=!0,s[n]=null);else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function St(e,t){if(2===t.type){const n=Rt(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 xt(e,t){Lt(e,9);const n=bt(e,3,t);return 0===e.source.length||Lt(e,3),n}function kt(e){const t=Mt(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));)Lt(e,s-r+1),r=s+1;Lt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Lt(e,e.source.length);return{type:3,content:n,loc:Pt(e,t)}}function Nt(e){const t=Mt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Lt(e,e.source.length)):(o=e.source.slice(n,r),Lt(e,r+1)),{type:3,content:o,loc:Pt(e,t)}}function _t(e,t){const n=e.inPre,o=e.inVPre,r=Rt(t),s=Et(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),c&&(e.inVPre=!1),s;t.push(s);const l=e.options.getTextMode(s,r),a=bt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&dt("COMPILER_INLINE_TEMPLATE",e)){const n=Pt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,At(e.source,s.tag))Et(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Vt(e.loc.source,"\x3c!--")}return s.loc=Pt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const Tt=e("if,else,else-if,for,slot");function Et(e,t,n){const o=Mt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Lt(e,r[0].length),jt(e);const c=Mt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=Ot(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,u(e,c),e.source=l,a=Ot(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=Vt(e.source,"/>"),Lt(e,p?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===s?f=2:"template"===s?a.some((e=>7===e.type&&Tt(e.name)))&&(f=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Le(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(dt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&qe(e.arg,"is")&&dt("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,a,e)&&(f=1)),{type:1,ns:i,tag:s,tagType:f,props:a,isSelfClosing:p,children:[],loc:Pt(e,o),codegenNode:void 0}}function Ot(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Vt(e.source,">")&&!Vt(e.source,"/>");){if(Vt(e.source,"/")){Lt(e,1),jt(e);continue}const r=wt(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),jt(e)}return n}function wt(e,t){const n=Mt(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(;t=e.exec(o););}let r;Lt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(jt(e),Lt(e,1),jt(e),r=function(e){const t=Mt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Lt(e,1);const t=e.source.indexOf(o);-1===t?n=It(e,e.source.length,4):(n=It(e,t,4),Lt(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=It(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Pt(e,t)}}(e));const s=Pt(e,n);if(!e.inVPre&&/^(v-|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Vt(o,"."),l=t[1]||(c||Vt(o,":")?"bind":Vt(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Pt(e,Bt(e,n,s),Bt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Je(e.start,r.content),e.source=e.source.slice(1,-1)}const a=t[3]?t[3].substr(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&dt("COMPILER_V_BIND_SYNC",e,0)&&(l="model",a.splice(a.indexOf("sync"),1)),{type:7,name:l,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:a,loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Ct(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Mt(e);Lt(e,n.length);const i=Mt(e),c=Mt(e),l=r-n.length,a=e.source.slice(0,l),p=It(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Ue(i,a,f);return Ue(c,a,l-(p.length-u.length-f)),Lt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Pt(e,i,c)},loc:Pt(e,s)}}function $t(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=Mt(e);return{type:2,content:It(e,o,t),loc:Pt(e,r)}}function It(e,t,n){const o=e.source.slice(0,t);return Lt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Mt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Pt(e,t,n){return{start:t,end:n=n||Mt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Rt(e){return e[e.length-1]}function Vt(e,t){return e.startsWith(t)}function Lt(e,t){const{source:n}=e;Ue(e,n,t),e.source=n.slice(t)}function jt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Lt(e,t[0].length)}function Bt(e,t,n){return Je(t,e.originalSource.slice(t.offset,n),n)}function Ft(e,t,n){const o=e.source;switch(t){case 0:if(Vt(o,"</"))for(let e=n.length-1;e>=0;--e)if(At(o,n[e].tag))return!0;break;case 1:case 2:{const e=Rt(n);if(e&&At(o,e.tag))return!0;break}case 3:if(Vt(o,"]]>"))return!0}return!o}function At(e,t){return Vt(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Dt(e,t){Wt(e,t,Ht(e,e.children[0]))}function Ht(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!et(t)}function Wt(e,t,n=!1){let o=!0;const{children:r}=e,s=r.length;let i=0;for(let c=0;c<r.length;c++){const e=r[c];if(1===e.type&&0===e.tagType){const r=n?0:Jt(e,t);if(r>0){if(r<3&&(o=!1),r>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),i++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=qt(n);if((!o||512===o||1===o)&&Gt(e,t)>=2){const o=Kt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else if(12===e.type){const n=Jt(e.content,t);n>0&&(n<3&&(o=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),i++))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Wt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Wt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Wt(e.branches[n],t,1===e.branches[n].children.length)}o&&i&&t.transformHoist&&t.transformHoist(r,t,e),i&&i===s&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&f(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(ve(e.codegenNode.children)))}function Jt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(qt(r))return n.set(e,0),0;{let o=3;const s=Gt(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=Jt(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=Jt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(M),t.removeHelper(nt(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(tt(t.inSSR,r.isComponent))),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Jt(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(d(o)||h(o))continue;const r=Jt(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}const Ut=new Set([Y,Z,Q,X]);function zt(e,t){if(14===e.type&&!d(e.callee)&&Ut.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Jt(n,t);if(14===n.type)return zt(n,t)}return 0}function Gt(e,t){let n=3;const o=Kt(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=Jt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Jt(s,t):14===s.type?zt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Kt(e){const t=e.codegenNode;if(13===t.type)return t.props}function qt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Yt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:a=null,isBuiltInComponent:p=l,isCustomElement:u=l,expressionPlugins:f=[],scopeId:h=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:S=c,inline:x=!1,isTS:N=!1,onError:E=_,onWarn:O=T,compatConfig:w}){const C=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),$={selfName:C&&k(b(C[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:h,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:S,inline:x,isTS:N,onError:E,onWarn:O,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=$.helpers.get(e)||0;return $.helpers.set(e,t+1),e},removeHelper(e){const t=$.helpers.get(e);if(t){const n=t-1;n?$.helpers.set(e,n):$.helpers.delete(e)}},helperString:e=>`_${de[$.helper(e)]}`,replaceNode(e){$.parent.children[$.childIndex]=$.currentNode=e},removeNode(e){const t=e?$.parent.children.indexOf(e):$.currentNode?$.childIndex:-1;e&&e!==$.currentNode?$.childIndex>t&&($.childIndex--,$.onNodeRemoved()):($.currentNode=null,$.onNodeRemoved()),$.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){d(e)&&(e=xe(e)),$.hoists.push(e);const t=xe(`_hoisted_${$.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Oe($.cached++,e,t)};return $.filters=new Set,$}function Zt(e,t){const n=Yt(e,t);Qt(e,n),t.hoistStatic&&Dt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Ht(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&at(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ye(t,n(O),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Qt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(f(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(j);break;case 5:t.ssr||t.helper(K);break;case 9:for(let n=0;n<e.branches.length;n++)Qt(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];d(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Qt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Xt(e,t){const n=d(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(Qe))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 en(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1,isTS:p=!1,inSSR:u=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,isTS:p,inSSR:u,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${de[e]}`,push(e,t){f.code+=e},indent(){d(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:d(--f.indentLevel)},newline(){d(f.indentLevel)}};function d(e){f.push("\n"+" ".repeat(e))}return f}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${de[e]}: _${de[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[V,L,j,B,F].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),rn(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${de[e]}: _${de[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(tn(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(tn(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),tn(e.filters,"filter",n),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?rn(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function tn(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?W:"component"===t?A:H);for(let c=0;c<e.length;c++){let n=e[c];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),o(`const ${it(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function nn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),on(e,t,n),n&&t.deindent(),t.push("]")}function on(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];d(c)?r(c):f(c)?nn(c,t):rn(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function rn(e,t){if(d(e))t.push(e);else if(h(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:rn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:sn(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(K)}(`),rn(e.content,t),n(")")}(e,t);break;case 12:rn(e.codegenNode,t);break;case 8:cn(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(j)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f,isComponent:d}=e;p&&n(o(J)+"(");u&&n(`(${o(M)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");const h=u?nt(t.inSSR,d):tt(t.inSSR,d);n(o(h)+"(",e),on(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),rn(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=d(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),on(e.arguments,t),n(")")}(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 l=0;l<i.length;l++){const{key:e,value:o}=i[l];ln(e,t),n(": "),rn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){nn(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,isSlot:a}=e;a&&n(`_${de[le]}(`);n("(",e),f(s)?on(s,t):s&&rn(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),f(i)?nn(i,t):rn(i,t)):c&&rn(c,t);(l||c)&&(r(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),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=!Be(n.content);e&&i("("),sn(n,t),e&&i(")")}else i("("),rn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),rn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;rn(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(re)}(-1),`),i());n(`_cache[${e.index}] = `),rn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(re)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:on(e.body,t,!0,!1)}}function sn(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function cn(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];d(o)?t.push(o):rn(o,t)}}function ln(e,t){const{push:n}=t;if(8===e.type)n("["),cn(e,t),n("]");else if(e.isStatic){n(Be(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function an(e,t,n=!1,o=[],r=Object.create(null)){}function pn(e,t,n){return!1}function un(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function fn(e,t){for(const n of e.params)for(const e of hn(n))t(e)}function dn(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of hn(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function hn(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)hn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&hn(e,t)}));break;case"RestElement":hn(e.argument,t);break;case"AssignmentPattern":hn(e.left,t)}return t}const mn=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),gn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,yn=(e,t)=>gn(t)&&t.key===e,vn=(e,t)=>{if(5===e.type)e.content=bn(e.content);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=bn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=bn(n))}}};function bn(e,t,n=!1,o=!1){return e}const Sn=Xt(/^(if|else|else-if)$/,((e,t,n)=>xn(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Nn(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Nn(t,i+e.branches.length-1,n)}}}))));function xn(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=xe("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=kn(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||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=kn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Qt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function kn(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Ge(e,"for")?[e]:e.children,userKey:Ke(e,"key")}}function Nn(e,t,n){return e.condition?Ee(e.condition,_n(e,t,n),_e(n.helper(j),['""',"true"])):_n(e,t,n)}function _n(e,t,n){const{helper:o}=n,r=Se("key",xe(`${t}`,!1,me,2)),{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 st(e,r,n),e}{let t=64;return ye(n,o(O),be([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=lt(e);return 13===t.type&&at(t,n),st(t,r,n),e}}const Tn=Xt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return En(e,t,n,(t=>{const s=_e(o(U),[t.source]),i=Ge(e,"memo"),c=Ke(e,"key"),l=c&&(6===c.type?xe(c.value.content,!0):c.exp),a=c?Se("key",l):null,p=4===t.source.type&&t.source.constType>0,u=p?64:c?128:256;return t.codegenNode=ye(n,o(O),void 0,s,u+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const u=Xe(e),{children:f}=t,d=1!==f.length||1!==f[0].type,h=et(e)?e:u&&1===e.children.length&&et(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,u&&a&&st(c,a,n)):d?c=ye(n,o(O),a?be([a]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,u&&a&&st(c,a,n),c.isBlock!==!p&&(c.isBlock?(r(M),r(nt(n.inSSR,c.isComponent))):r(tt(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(o(M),o(nt(n.inSSR,c.isComponent))):o(tt(n.inSSR,c.isComponent))),i){const e=Te(Mn(t.parseResult,[xe("_cached")]));e.body=we([Ne(["const _memo = (",i.exp,")"]),Ne(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(fe)}(_cached, _memo)) return _cached`]),Ne(["const _item = ",c]),xe("_item.memo = _memo"),xe("return _item")]),s.arguments.push(e,xe("_cache"),xe(String(n.cached++)))}else s.arguments.push(Te(Mn(t.parseResult),c,!0))}}))}));function En(e,t,n,o){if(!t.exp)return;const r=$n(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:Xe(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const On=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,wn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Cn=/^\(|\)$/g;function $n(e,t){const n=e.loc,o=e.content,r=o.match(On);if(!r)return;const[,s,i]=r,c={source:In(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Cn,"").trim();const a=s.indexOf(l),p=l.match(wn);if(p){l=l.replace(wn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=In(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=In(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=In(n,l,a)),c}function In(e,t,n){return xe(t,!1,We(e,n,t.length))}function Mn({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||xe("_".repeat(t+1),!1)))}([e,t,n,...o])}const Pn=xe("undefined",!1),Rn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ge(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Vn=(e,t)=>{let n;if(Xe(e)&&e.props.some(Qe)&&(n=Ge(e,"for"))){const e=n.parseResult=$n(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)}}}},Ln=(e,t,n)=>Te(e,t,!1,!0,t.length?t[0].loc:n);function jn(e,t,n=Ln){t.helper(le);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Ge(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Re(e)&&(c=!0),s.push(Se(e||xe("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!Xe(e)||!(r=Ge(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=xe("default",!0),exp:y}=r;let v;Re(g)?v=g?g.content:"default":c=!0;const b=n(y,d,h);let S,x,k;if(S=Ge(e,"if"))c=!0,i.push(Ee(S.exp,Bn(g,b),Pn));else if(x=Ge(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Xe(e)&&Ge(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=x.exp?Ee(x.exp,Bn(g,b),Pn):Bn(g,b)}}else if(k=Ge(e,"for")){c=!0;const e=k.parseResult||$n(k.exp);e&&i.push(_e(t.helper(U),[e.source,Te(Mn(e),Bn(g,b),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(Se(g,b))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),Se("default",s)};a?u.length&&u.some((e=>An(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:Fn(e.children)?3:1;let h=be(s.concat(Se("_",xe(d+"",!1))),r);return i.length&&(h=_e(t.helper(G),[h,ve(i)])),{slots:h,hasDynamicSlots:c}}function Bn(e,t){return be([Se("name",e),Se("fn",t)])}function Fn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Fn(n.children))return!0;break;case 9:if(Fn(n.branches))return!0;break;case 10:case 11:if(Fn(n.children))return!0}}return!1}function An(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():An(e.content))}const Dn=new WeakMap,Hn=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?Wn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=m(s)&&s.callee===D||s===w||s===C||!r&&("svg"===n||"foreignObject"===n||Ke(e,"key",!0));if(o.length>0){const n=Jn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?ve(o.map((e=>function(e,t){const n=[],o=Dn.get(e);o?n.push(t.helperString(o)):(t.helper(H),t.directives.add(e.name),n.push(it(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=xe("true",!1,r);n.push(be(e.modifiers.map((e=>Se(e,t))),r))}return ve(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===$&&(d=!0,f|=1024);if(r&&s!==w&&s!==$){const{slots:n,hasDynamicSlots:o}=jn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==w){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Jt(n,t)&&(f|=1),c=r||2===o?n: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=ye(t,s,i,c,l,a,u,!!d,!1,r,e.loc)};function Wn(e,t,n=!1){let{tag:o}=e;const r=Gn(o),s=Ke(e,"is");if(s)if(r||ft("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&xe(s.value.content,!0):s.exp;if(e)return _e(t.helper(D),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&Ge(e,"is");if(i&&i.exp)return _e(t.helper(D),[i.exp]);const c=Le(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(A),t.components.add(o),it(o,"component"))}function Jn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let u=0,f=!1,d=!1,m=!1,y=!1,v=!1,b=!1;const S=[],x=({key:e,value:n})=>{if(Re(e)){const o=e.content,r=(e=>p.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||g(o)||(y=!0),r&&g(o)&&(b=!0),20===n.type||(4===n.type||8===n.type)&&Jt(n,t)>0)return;"ref"===o?f=!0:"class"===o?d=!0:"style"===o?m=!0:"key"===o||S.includes(o)||S.push(o),!i||"class"!==o&&"style"!==o||S.includes(o)||S.push(o)}else v=!0};for(let p=0;p<n.length;p++){const i=n[p];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(f=!0),"is"===n&&(Gn(r)||o&&o.content.startsWith("vue:")||ft("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Se(xe(n,!0,We(e,0,n.length)),xe(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||d&&qe(p,"is")&&(Gn(r)||ft("COMPILER_IS_ON_ELEMENT",t)))continue;if(m&&o)continue;if(!p&&(d||m)){if(v=!0,u)if(c.length&&(l.push(be(Un(c),s)),c=[]),d){if(ft("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(ee),arguments:[u]});continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(i,e,t);!o&&n.forEach(x),c.push(...n),r&&(a.push(i),h(r)&&Dn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&dt("COMPILER_V_FOR_REF",t)&&c.push(Se(xe("refInFor",!0),xe("true",!1)))}let k;if(l.length?(c.length&&l.push(be(Un(c),s)),k=l.length>1?_e(t.helper(q),l,s):l[0]):c.length&&(k=be(Un(c),s)),v?u|=16:(d&&!i&&(u|=2),m&&!i&&(u|=4),S.length&&(u|=8),y&&(u|=32)),0!==u&&32!==u||!(f||b||a.length>0)||(u|=512),!t.inSSR&&k)switch(k.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<k.properties.length;t++){const r=k.properties[t].key;Re(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=k.properties[e],s=k.properties[n];o?k=_e(t.helper(Q),[k]):(r&&!Re(r.value)&&(r.value=_e(t.helper(Y),[r.value])),!s||Re(s.value)||!m&&17!==s.value.type||(s.value=_e(t.helper(Z),[s.value])));break;case 14:break;default:k=_e(t.helper(Q),[_e(t.helper(X),[k])])}return{props:k,directives:a,patchFlag:u,dynamicPropNames:S}}function Un(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"))&&zn(i,r):(t.set(s,r),n.push(r))}return n}function zn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ve([e.value,t.value],e.loc)}function Gn(e){return e[0].toLowerCase()+e.slice(1)==="component"}const Kn=(e,t)=>{if(et(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=qn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Te([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=_e(t.helper(z),i,o)}};function qn(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=b(t.name),r.push(t))):"bind"===t.name&&qe(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Re(t.arg)&&(t.arg.content=b(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=Jn(e,t,r);n=o}return{slotName:o,slotProps:n}}const Yn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Zn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=xe(N(b(i.content)),!0,i.loc)}else c=Ne([`${n.helperString(oe)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(oe)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=He(l.content),t=!(e||Yn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Ne([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[Se(c,l||xe("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p.props.forEach((e=>e.key.isHandlerKey=!0)),p},Qn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?b(i.content):`${n.helperString(te)}(${i.content})`:(i.children.unshift(`${n.helperString(te)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Xn(i,"."),r.includes("attr")&&Xn(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[Se(i,xe("",!0,s))]}:{props:[Se(i,o)]}},Xn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},eo=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Ze(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Ze(s)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(Ze(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Jt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(B),r)}}}}},to=new WeakSet,no=(e,t)=>{if(1===e.type&&Ge(e,"once",!0)){if(to.has(e)||t.inVOnce)return;return to.add(e),t.inVOnce=!0,t.helper(re),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},oo=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return ro();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!He(i))return ro();const c=r||xe("modelValue",!0),l=r?Re(r)?`onUpdate:${r.content}`:Ne(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=Ne([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const p=[Se(c,e.exp),Se(l,a)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Be(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Re(r)?`${r.content}Modifiers`:Ne([r,' + "Modifiers"']):"modelModifiers";p.push(Se(n,xe(`{ ${t} }`,!1,e.loc,2)))}return ro(p)};function ro(e=[]){return{props:e}}const so=/[\w).+\-_$\]]/,io=(e,t)=>{ft("COMPILER_FILTER",t)&&(5===e.type&&co(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&co(e.exp,t)})))};function co(e,t){if(4===e.type)lo(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?lo(o,t):8===o.type?co(e,t):5===o.type&&co(o.content,t))}}function lo(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&so.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=ao(i,m[s],t);e.content=i}}function ao(e,t,n){n.helper(W);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${it(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${it(r,"filter")}(${e}${")"!==s?","+s:s}`}}const po=new WeakSet,uo=(e,t)=>{if(1===e.type){const n=Ge(e,"memo");if(!n||po.has(e))return;return po.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&at(o,t),e.codegenNode=_e(t.helper(ue),[n.exp,Te(void 0,o),"_cache",String(t.cached++)]))}}};function fo(e){return[[no,Sn,uo,Tn,io,Kn,Hn,Rn,eo],{on:Zn,bind:Qn,model:oo}]}function ho(e,t={}){const n=t.onError||_,o="module"===t.mode;!0===t.prefixIdentifiers?n(E(45)):o&&n(E(46));t.cacheHandlers&&n(E(47)),t.scopeId&&!o&&n(E(48));const r=d(e)?vt(e,t):e,[s,i]=fo();return Zt(r,u({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:u({},i,t.directiveTransforms||{})})),en(r,u({},t,{prefixIdentifiers:false}))}const mo=()=>({props:[]}),go=Symbol(""),yo=Symbol(""),vo=Symbol(""),bo=Symbol(""),So=Symbol(""),xo=Symbol(""),ko=Symbol(""),No=Symbol(""),_o=Symbol(""),To=Symbol("");let Eo;he({[go]:"vModelRadio",[yo]:"vModelCheckbox",[vo]:"vModelText",[bo]:"vModelSelect",[So]:"vModelDynamic",[xo]:"withModifiers",[ko]:"withKeys",[No]:"vShow",[_o]:"Transition",[To]:"TransitionGroup"});const Oo=e("style,iframe,script,noscript",!0),wo={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Eo||(Eo=document.createElement("div")),t?(Eo.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Eo.children[0].getAttribute("foo")):(Eo.innerHTML=e,Eo.textContent)},isBuiltInComponent:e=>Ve(e,"Transition")?_o:Ve(e,"TransitionGroup")?To: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({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Oo(e))return 2}return 0}},Co=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:xe("style",!0,t.loc),exp:$o(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},$o=(e,t)=>{const r=function(e){const t={};return e.split(n).forEach((e=>{if(e){const n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return xe(JSON.stringify(r),!1,t,3)};function Io(e,t){return E(e,t)}const Mo=e("passive,once,capture"),Po=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Ro=e("left,right"),Vo=e("onkeyup,onkeydown,onkeypress",!0),Lo=(e,t)=>Re(e)&&"onclick"===e.content.toLowerCase()?xe(t,!0):4!==e.type?Ne(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,jo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Bo=[Co],Fo={cloak:mo,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Se(xe("innerHTML",!0,r),o||xe("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Se(xe("textContent",!0),o?_e(n.helperString(K),[o],r):xe("",!0))]}},model:(e,t,n)=>{const o=oo(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=vo,i=!1;if("input"===r||s){const n=Ke(t,"type");if(n){if(7===n.type)e=So;else if(n.value)switch(n.value.content){case"radio":e=go;break;case"checkbox":e=yo;break;case"file":i=!0}}else Ye(t)&&(e=So)}else"select"===r&&(e=bo);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Zn(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,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&dt("COMPILER_V_ON_NATIVE",n)||Mo(o)?i.push(o):Ro(o)?Re(e)?Vo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Po(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Lo(r,"onContextmenu")),c.includes("middle")&&(r=Lo(r,"onMouseup")),c.length&&(s=_e(n.helper(xo),[s,JSON.stringify(c)])),!i.length||Re(r)&&!Vo(r.content)||(s=_e(n.helper(ko),[s,JSON.stringify(i)])),l.length){const e=l.map(k).join("");r=Re(r)?xe(`${r.content}${e}`,!0):Ne(["(",r,`) + "${e}"`])}return{props:[Se(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(No)})};function Ao(e,t={}){return ho(e,u({},wo,t,{nodeTransforms:[jo,...Bo,...t.nodeTransforms||[]],directiveTransforms:u({},Fo,t.directiveTransforms||{}),transformHoist:null}))}function Do(e,t={}){return vt(e,u({},wo,t))}export{I as BASE_TRANSITION,te as CAMELIZE,ne as CAPITALIZE,P as CREATE_BLOCK,j as CREATE_COMMENT,R as CREATE_ELEMENT_BLOCK,L as CREATE_ELEMENT_VNODE,G as CREATE_SLOTS,F as CREATE_STATIC,B as CREATE_TEXT,V as CREATE_VNODE,Fo as DOMDirectiveTransforms,Bo as DOMNodeTransforms,O as FRAGMENT,X as GUARD_REACTIVE_PROPS,fe as IS_MEMO_SAME,pe as IS_REF,$ as KEEP_ALIVE,q as MERGE_PROPS,Y as NORMALIZE_CLASS,Q as NORMALIZE_PROPS,Z as NORMALIZE_STYLE,M as OPEN_BLOCK,ie as POP_SCOPE_ID,se as PUSH_SCOPE_ID,U as RENDER_LIST,z as RENDER_SLOT,A as RESOLVE_COMPONENT,H as RESOLVE_DIRECTIVE,D as RESOLVE_DYNAMIC_COMPONENT,W as RESOLVE_FILTER,re as SET_BLOCK_TRACKING,C as SUSPENSE,w as TELEPORT,K as TO_DISPLAY_STRING,ee as TO_HANDLERS,oe as TO_HANDLER_KEY,_o as TRANSITION,To as TRANSITION_GROUP,ae as UNREF,yo as V_MODEL_CHECKBOX,So as V_MODEL_DYNAMIC,go as V_MODEL_RADIO,bo as V_MODEL_SELECT,vo as V_MODEL_TEXT,ko as V_ON_WITH_KEYS,xo as V_ON_WITH_MODIFIERS,No as V_SHOW,le as WITH_CTX,J as WITH_DIRECTIVES,ue as WITH_MEMO,ce as WITH_SCOPE_ID,Je as advancePositionWithClone,Ue as advancePositionWithMutation,ze as assert,ho as baseCompile,vt as baseParse,Jn as buildProps,jn as buildSlots,dt as checkCompatEnabled,Ao as compile,ve as createArrayExpression,Ie as createAssignmentExpression,we as createBlockStatement,Oe as createCacheExpression,_e as createCallExpression,E as createCompilerError,Ne as createCompoundExpression,Ee as createConditionalExpression,Io as createDOMCompilerError,Mn as createForLoopParams,Te as createFunctionExpression,$e as createIfStatement,ke as createInterpolation,be as createObjectExpression,Se as createObjectProperty,Pe as createReturnStatement,ge as createRoot,Me as createSequenceExpression,xe as createSimpleExpression,Xt as createStructuralDirectiveTransform,Ce as createTemplateLiteral,Yt as createTransformContext,ye as createVNodeCall,hn as extractIdentifiers,Ge as findDir,Ke as findProp,en as generate,t as generateCodeFrame,fo as getBaseTransformPreset,We as getInnerRange,lt as getMemoedVNodeCall,nt as getVNodeBlockHelper,tt as getVNodeHelper,Ye as hasDynamicKeyVBind,ct as hasScopeRef,de as helperNameMap,st as injectProp,qe as isBindKey,Ve as isBuiltInType,Le as isCoreComponent,mn as isFunctionType,un as isInDestructureAssignment,He as isMemberExpression,pn as isReferencedIdentifier,Be as isSimpleIdentifier,et as isSlotOutlet,Re as isStaticExp,gn as isStaticProperty,yn as isStaticPropertyKey,Xe as isTemplateNode,Ze as isText,Qe as isVSlot,me as locStub,at as makeBlock,mo as noopDirectiveTransform,Do as parse,wo as parserOptions,bn as processExpression,En as processFor,xn as processIf,qn as processSlotOutlet,he as registerRuntimeHelpers,Wn as resolveComponentType,it as toValidAssetId,Rn as trackSlotScopes,Vn as trackVForSlotScopes,Zt as transform,Qn as transformBind,Hn as transformElement,vn as transformExpression,oo as transformModel,Zn as transformOn,Co as transformStyle,Qt as traverseNode,dn as walkBlockDeclarations,fn as walkFunctionParams,an as walkIdentifiers,ht as warnDeprecation};
@@ -1,4 +1,4 @@
1
- var VueCompilerDOM = (function (exports, types, estreeWalker) {
1
+ var VueCompilerDOM = (function (exports) {
2
2
  'use strict';
3
3
 
4
4
  /**
@@ -2919,75 +2919,14 @@ var VueCompilerDOM = (function (exports, types, estreeWalker) {
2919
2919
  }
2920
2920
 
2921
2921
  function walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [], knownIds = Object.create(null)) {
2922
- const rootExp = root.type === 'Program' &&
2923
- root.body[0].type === 'ExpressionStatement' &&
2924
- root.body[0].expression;
2925
- estreeWalker.walk(root, {
2926
- enter(node, parent) {
2927
- parent && parentStack.push(parent);
2928
- if (parent &&
2929
- parent.type.startsWith('TS') &&
2930
- parent.type !== 'TSAsExpression' &&
2931
- parent.type !== 'TSNonNullExpression' &&
2932
- parent.type !== 'TSTypeAssertion') {
2933
- return this.skip();
2934
- }
2935
- if (node.type === 'Identifier') {
2936
- const isLocal = !!knownIds[node.name];
2937
- const isRefed = isReferencedIdentifier(node, parent, parentStack);
2938
- if (includeAll || (isRefed && !isLocal)) {
2939
- onIdentifier(node, parent, parentStack, isRefed, isLocal);
2940
- }
2941
- }
2942
- else if (node.type === 'ObjectProperty' &&
2943
- parent.type === 'ObjectPattern') {
2944
- node.inPattern = true;
2945
- }
2946
- else if (isFunctionType(node)) {
2947
- // walk function expressions and add its arguments to known identifiers
2948
- // so that we don't prefix them
2949
- walkFunctionParams(node, id => markScopeIdentifier(node, id, knownIds));
2950
- }
2951
- else if (node.type === 'BlockStatement') {
2952
- // #3445 record block-level local variables
2953
- walkBlockDeclarations(node, id => markScopeIdentifier(node, id, knownIds));
2954
- }
2955
- },
2956
- leave(node, parent) {
2957
- parent && parentStack.pop();
2958
- if (node !== rootExp && node.scopeIds) {
2959
- for (const id of node.scopeIds) {
2960
- knownIds[id]--;
2961
- if (knownIds[id] === 0) {
2962
- delete knownIds[id];
2963
- }
2964
- }
2965
- }
2966
- }
2967
- });
2922
+ {
2923
+ return;
2924
+ }
2968
2925
  }
2969
2926
  function isReferencedIdentifier(id, parent, parentStack) {
2970
- if (!parent) {
2971
- return true;
2972
- }
2973
- // is a special keyword but parsed as identifier
2974
- if (id.name === 'arguments') {
2927
+ {
2975
2928
  return false;
2976
2929
  }
2977
- if (types.isReferenced(id, parent)) {
2978
- return true;
2979
- }
2980
- // babel's isReferenced check returns false for ids being assigned to, so we
2981
- // need to cover those cases here
2982
- switch (parent.type) {
2983
- case 'AssignmentExpression':
2984
- case 'AssignmentPattern':
2985
- return true;
2986
- case 'ObjectPattern':
2987
- case 'ArrayPattern':
2988
- return isInDestructureAssignment(parent, parentStack);
2989
- }
2990
- return false;
2991
2930
  }
2992
2931
  function isInDestructureAssignment(parent, parentStack) {
2993
2932
  if (parent &&
@@ -3068,19 +3007,6 @@ var VueCompilerDOM = (function (exports, types, estreeWalker) {
3068
3007
  }
3069
3008
  return nodes;
3070
3009
  }
3071
- function markScopeIdentifier(node, child, knownIds) {
3072
- const { name } = child;
3073
- if (node.scopeIds && node.scopeIds.has(name)) {
3074
- return;
3075
- }
3076
- if (name in knownIds) {
3077
- knownIds[name]++;
3078
- }
3079
- else {
3080
- knownIds[name] = 1;
3081
- }
3082
- (node.scopeIds || (node.scopeIds = new Set())).add(name);
3083
- }
3084
3010
  const isFunctionType = (node) => {
3085
3011
  return /Function(?:Expression|Declaration)$|Method$/.test(node.type);
3086
3012
  };
@@ -5650,4 +5576,4 @@ var VueCompilerDOM = (function (exports, types, estreeWalker) {
5650
5576
 
5651
5577
  return exports;
5652
5578
 
5653
- }({}, types, estreeWalker));
5579
+ }({}));
@@ -1 +1 @@
1
- var VueCompilerDOM=function(e,t,n){"use strict";function o(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const r=/;(?![^(]*\))/g,s=/:(.+)/;const i=o("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),c=o("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,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),l=o("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),a={},p=()=>{},u=()=>!1,f=/^on[^a-z]/,d=Object.assign,h=Array.isArray,m=e=>"string"==typeof e,g=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e,v=o(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),S=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},b=/-(\w)/g,E=S((e=>e.replace(b,((e,t)=>t?t.toUpperCase():"")))),_=/\B([A-Z])/g,N=S((e=>e.replace(_,"-$1").toLowerCase())),T=S((e=>e.charAt(0).toUpperCase()+e.slice(1))),x=S((e=>e?`on${T(e)}`:""));function O(e){throw e}function k(e){}function C(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const I=Symbol(""),R=Symbol(""),P=Symbol(""),M=Symbol(""),w=Symbol(""),L=Symbol(""),$=Symbol(""),V=Symbol(""),A=Symbol(""),D=Symbol(""),B=Symbol(""),F=Symbol(""),j=Symbol(""),H=Symbol(""),W=Symbol(""),K=Symbol(""),U=Symbol(""),J=Symbol(""),G=Symbol(""),z=Symbol(""),Y=Symbol(""),q=Symbol(""),Z=Symbol(""),X=Symbol(""),Q=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),fe=Symbol(""),de=Symbol(""),he=Symbol(""),me={[I]:"Fragment",[R]:"Teleport",[P]:"Suspense",[M]:"KeepAlive",[w]:"BaseTransition",[L]:"openBlock",[$]:"createBlock",[V]:"createElementBlock",[A]:"createVNode",[D]:"createElementVNode",[B]:"createCommentVNode",[F]:"createTextVNode",[j]:"createStaticVNode",[H]:"resolveComponent",[W]:"resolveDynamicComponent",[K]:"resolveDirective",[U]:"resolveFilter",[J]:"withDirectives",[G]:"renderList",[z]:"renderSlot",[Y]:"createSlots",[q]:"toDisplayString",[Z]:"mergeProps",[X]:"normalizeClass",[Q]:"normalizeStyle",[ee]:"normalizeProps",[te]:"guardReactiveProps",[ne]:"toHandlers",[oe]:"camelize",[re]:"capitalize",[se]:"toHandlerKey",[ie]:"setBlockTracking",[ce]:"pushScopeId",[le]:"popScopeId",[ae]:"withScopeId",[pe]:"withCtx",[ue]:"unref",[fe]:"isRef",[de]:"withMemo",[he]:"isMemoSame"};function ge(e){Object.getOwnPropertySymbols(e).forEach((t=>{me[t]=e[t]}))}const ye={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ve(e,t=ye){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Se(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=ye){return e&&(c?(e.helper(L),e.helper(Ze(e.inSSR,a))):e.helper(qe(e.inSSR,a)),i&&e.helper(J)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function be(e,t=ye){return{type:17,loc:t,elements:e}}function Ee(e,t=ye){return{type:15,loc:t,properties:e}}function _e(e,t){return{type:16,loc:ye,key:m(e)?Ne(e,!0):e,value:t}}function Ne(e,t=!1,n=ye,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Te(e,t=ye){return{type:8,loc:t,children:e}}function xe(e,t=[],n=ye){return{type:14,loc:n,callee:e,arguments:t}}function Oe(e,t,n=!1,o=!1,r=ye){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ke(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ye}}function Ce(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ye}}function Ie(e){return{type:21,body:e,loc:ye}}const Re=e=>4===e.type&&e.isStatic,Pe=(e,t)=>e===t||e===N(t);function Me(e){return Pe(e,"Teleport")?R:Pe(e,"Suspense")?P:Pe(e,"KeepAlive")?M:Pe(e,"BaseTransition")?w:void 0}const we=/^\d|[^\$\w]/,Le=e=>!we.test(e),$e=/[A-Za-z_$\xA0-\uFFFF]/,Ve=/[\.\?\w$\xA0-\uFFFF]/,Ae=/\s+[.[]\s*|\s*[.[]\s+/g,De=e=>{e=e.trim().replace(Ae,(e=>e.trim()));let t=0,n=[],o=0,r=0,s=null;for(let i=0;i<e.length;i++){const c=e.charAt(i);switch(t){case 0:if("["===c)n.push(t),t=1,o++;else if("("===c)n.push(t),t=2,r++;else if(!(0===i?$e:Ve).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(n.push(t),t=3,s=c):"["===c?o++:"]"===c&&(--o||(t=n.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)n.push(t),t=3,s=c;else if("("===c)r++;else if(")"===c){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:c===s&&(t=n.pop(),s=null)}}return!o&&!r};function Be(e,t,n){const o={source:e.source.substr(t,n),start:Fe(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Fe(e.start,e.source,t+n)),o}function Fe(e,t,n=t.length){return je(d({},e),t,n)}function je(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function He(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)&&(m(t)?r.name===t:t.test(r.name)))return r}}function We(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&Ke(s.arg,t))return s}}function Ke(e,t){return!(!e||!Re(e)||e.content!==t)}function Ue(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Je(e){return 5===e.type||2===e.type}function Ge(e){return 7===e.type&&"slot"===e.name}function ze(e){return 1===e.type&&3===e.tagType}function Ye(e){return 1===e.type&&2===e.tagType}function qe(e,t){return e||t?A:D}function Ze(e,t){return e||t?$:V}const Xe=new Set([ee,te]);function Qe(e,t=[]){if(e&&!m(e)&&14===e.type){const n=e.callee;if(!m(n)&&Xe.has(n))return Qe(e.arguments[0],t.concat(e))}return[e,t]}function et(e,t,n){let o;let r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!m(s)&&14===s.type){const e=Qe(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||m(s))o=Ee([t]);else if(14===s.type){const e=s.arguments[0];m(e)||15!==e.type?s.callee===ne?o=xe(n.helper(Z),[Ee([t]),s]):s.arguments.unshift(Ee([t])):e.properties.unshift(t),!o&&(o=s)}else if(15===s.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=s.properties.some((e=>4===e.key.type&&e.key.content===n))}e||s.properties.unshift(t),o=s}else o=xe(n.helper(Z),[Ee([t]),s]),r&&r.callee===te&&(r=i[i.length-2]);13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function tt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function nt(e){return 14===e.type&&e.callee===de?e.arguments[1].returns:e}function ot(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(qe(o,e.isComponent)),t(L),t(Ze(o,e.isComponent)))}const rt={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3.vuejs.org/guide/migration/filters.html"}};function st(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function it(e,t){const n=st("MODE",t),o=st(e,t);return 3===n?!0===o:!1!==o}function ct(e,t,n,...o){return it(e,t)}const lt=/&(gt|lt|amp|apos|quot);/g,at={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},pt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:u,isPreTag:u,isCustomElement:u,decodeEntities:e=>e.replace(lt,((e,t)=>at[t])),onError:O,onWarn:k,comments:!1};function ut(e,t={}){const n=function(e,t){const n=d({},pt);let o;for(o in t)n[o]=void 0===t[o]?pt[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=xt(n);return ve(ft(n,0,[]),Ot(n,o))}function ft(e,t,n){const o=kt(n),r=o?o.ns:0,s=[];for(;!Mt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Ct(i,e.options.delimiters[0]))c=_t(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Ct(i,"\x3c!--")?mt(e):Ct(i,"<!DOCTYPE")?gt(e):Ct(i,"<![CDATA[")&&0!==r?ht(e,n):gt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){It(e,3);continue}if(/[a-z]/i.test(i[2])){St(e,1,o);continue}c=gt(e)}else/[a-z]/i.test(i[1])?(c=yt(e,n),it("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&vt(e.name)))&&(c=c.children)):"?"===i[1]&&(c=gt(e));if(c||(c=Nt(e,t)),h(c))for(let e=0;e<c.length;e++)dt(s,c[e]);else dt(s,c)}let i=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(e.inPre||2!==o.type)3!==o.type||e.options.comments||(i=!0,s[n]=null);else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function dt(e,t){if(2===t.type){const n=kt(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 ht(e,t){It(e,9);const n=ft(e,3,t);return 0===e.source.length||It(e,3),n}function mt(e){const t=xt(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));)It(e,s-r+1),r=s+1;It(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),It(e,e.source.length);return{type:3,content:n,loc:Ot(e,t)}}function gt(e){const t=xt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),It(e,e.source.length)):(o=e.source.slice(n,r),It(e,r+1)),{type:3,content:o,loc:Ot(e,t)}}function yt(e,t){const n=e.inPre,o=e.inVPre,r=kt(t),s=St(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),c&&(e.inVPre=!1),s;t.push(s);const l=e.options.getTextMode(s,r),a=ft(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&ct("COMPILER_INLINE_TEMPLATE",e)){const n=Ot(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,wt(e.source,s.tag))St(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Ct(e.loc.source,"\x3c!--")}return s.loc=Ot(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const vt=o("if,else,else-if,for,slot");function St(e,t,n){const o=xt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);It(e,r[0].length),Rt(e);const c=xt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=bt(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,d(e,c),e.source=l,a=bt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=Ct(e.source,"/>"),It(e,p?2:1)),1===t)return;let u=0;return e.inVPre||("slot"===s?u=2:"template"===s?a.some((e=>7===e.type&&vt(e.name)))&&(u=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Me(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(ct("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Ke(e.arg,"is")&&ct("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,a,e)&&(u=1)),{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:Ot(e,o),codegenNode:void 0}}function bt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Ct(e.source,">")&&!Ct(e.source,"/>");){if(Ct(e.source,"/")){It(e,1),Rt(e);continue}const r=Et(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Rt(e)}return n}function Et(e,t){const n=xt(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(;t=e.exec(o););}let r;It(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Rt(e),It(e,1),Rt(e),r=function(e){const t=xt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){It(e,1);const t=e.source.indexOf(o);-1===t?n=Tt(e,e.source.length,4):(n=Tt(e,t,4),It(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=Tt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Ot(e,t)}}(e));const s=Ot(e,n);if(!e.inVPre&&/^(v-|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Ct(o,"."),l=t[1]||(c||Ct(o,":")?"bind":Ct(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Ot(e,Pt(e,n,s),Pt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Fe(e.start,r.content),e.source=e.source.slice(1,-1)}const a=t[3]?t[3].substr(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&ct("COMPILER_V_BIND_SYNC",e,0)&&(l="model",a.splice(a.indexOf("sync"),1)),{type:7,name:l,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:a,loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function _t(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=xt(e);It(e,n.length);const i=xt(e),c=xt(e),l=r-n.length,a=e.source.slice(0,l),p=Tt(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&je(i,a,f);return je(c,a,l-(p.length-u.length-f)),It(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Ot(e,i,c)},loc:Ot(e,s)}}function Nt(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=xt(e);return{type:2,content:Tt(e,o,t),loc:Ot(e,r)}}function Tt(e,t,n){const o=e.source.slice(0,t);return It(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function xt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Ot(e,t,n){return{start:t,end:n=n||xt(e),source:e.originalSource.slice(t.offset,n.offset)}}function kt(e){return e[e.length-1]}function Ct(e,t){return e.startsWith(t)}function It(e,t){const{source:n}=e;je(e,n,t),e.source=n.slice(t)}function Rt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&It(e,t[0].length)}function Pt(e,t,n){return Fe(t,e.originalSource.slice(t.offset,n),n)}function Mt(e,t,n){const o=e.source;switch(t){case 0:if(Ct(o,"</"))for(let e=n.length-1;e>=0;--e)if(wt(o,n[e].tag))return!0;break;case 1:case 2:{const e=kt(n);if(e&&wt(o,e.tag))return!0;break}case 3:if(Ct(o,"]]>"))return!0}return!o}function wt(e,t){return Ct(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Lt(e,t){Vt(e,t,$t(e,e.children[0]))}function $t(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ye(t)}function Vt(e,t,n=!1){let o=!0;const{children:r}=e,s=r.length;let i=0;for(let c=0;c<r.length;c++){const e=r[c];if(1===e.type&&0===e.tagType){const r=n?0:At(e,t);if(r>0){if(r<3&&(o=!1),r>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),i++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Ht(n);if((!o||512===o||1===o)&&Ft(e,t)>=2){const o=jt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else if(12===e.type){const n=At(e.content,t);n>0&&(n<3&&(o=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),i++))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Vt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Vt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Vt(e.branches[n],t,1===e.branches[n].children.length)}o&&i&&t.transformHoist&&t.transformHoist(r,t,e),i&&i===s&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&h(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(be(e.codegenNode.children)))}function At(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(Ht(r))return n.set(e,0),0;{let o=3;const s=Ft(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=At(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=At(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(L),t.removeHelper(Ze(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(qe(t.inSSR,r.isComponent))),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return At(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(m(o)||g(o))continue;const r=At(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}const Dt=new Set([X,Q,ee,te]);function Bt(e,t){if(14===e.type&&!m(e.callee)&&Dt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return At(n,t);if(14===n.type)return Bt(n,t)}return 0}function Ft(e,t){let n=3;const o=jt(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=At(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?At(s,t):14===s.type?Bt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function jt(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 Wt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:c=null,isBuiltInComponent:l=p,isCustomElement:u=p,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:S=a,inline:b=!1,isTS:_=!1,onError:N=O,onWarn:x=k,compatConfig:C}){const I=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),R={selfName:I&&T(E(I[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:c,isBuiltInComponent:l,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:S,inline:b,isTS:_,onError:N,onWarn:x,compatConfig:C,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=R.helpers.get(e)||0;return R.helpers.set(e,t+1),e},removeHelper(e){const t=R.helpers.get(e);if(t){const n=t-1;n?R.helpers.set(e,n):R.helpers.delete(e)}},helperString:e=>`_${me[R.helper(e)]}`,replaceNode(e){R.parent.children[R.childIndex]=R.currentNode=e},removeNode(e){const t=e?R.parent.children.indexOf(e):R.currentNode?R.childIndex:-1;e&&e!==R.currentNode?R.childIndex>t&&(R.childIndex--,R.onNodeRemoved()):(R.currentNode=null,R.onNodeRemoved()),R.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){m(e)&&(e=Ne(e)),R.hoists.push(e);const t=Ne(`_hoisted_${R.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Ce(R.cached++,e,t)};return R.filters=new Set,R}function Kt(e,t){const n=Wt(e,t);Ut(e,n),t.hoistStatic&&Lt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if($t(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&ot(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=Se(t,n(I),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Ut(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(h(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(B);break;case 5:t.ssr||t.helper(q);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];m(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Ut(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Jt(e,t){const n=m(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(Ge))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}}}const Gt="/*#__PURE__*/";function zt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1,isTS:p=!1,inSSR:u=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,isTS:p,inSSR:u,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${me[e]}`,push(e,t){f.code+=e},indent(){d(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:d(--f.indentLevel)},newline(){d(f.indentLevel)}};function d(e){f.push("\n"+" ".repeat(e))}return f}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${me[e]}: _${me[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[A,D,B,F,j].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),Xt(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${me[e]}: _${me[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Yt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Yt(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Yt(e.filters,"filter",n),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?Xt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Yt(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?U:"component"===t?H:K);for(let c=0;c<e.length;c++){let n=e[c];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),o(`const ${tt(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function qt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Zt(e,t,n),n&&t.deindent(),t.push("]")}function Zt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];m(c)?r(c):h(c)?qt(c,t):Xt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function Xt(e,t){if(m(e))t.push(e);else if(g(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:Xt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Qt(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Gt);n(`${o(q)}(`),Xt(e.content,t),n(")")}(e,t);break;case 12:Xt(e.codegenNode,t);break;case 8:en(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Gt);n(`${o(B)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f,isComponent:d}=e;p&&n(o(J)+"(");u&&n(`(${o(L)}(${f?"true":""}), `);r&&n(Gt);const h=u?Ze(t.inSSR,d):qe(t.inSSR,d);n(o(h)+"(",e),Zt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),Xt(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=m(e.callee)?e.callee:o(e.callee);r&&n(Gt);n(s+"(",e),Zt(e.arguments,t),n(")")}(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 l=0;l<i.length;l++){const{key:e,value:o}=i[l];tn(e,t),n(": "),Xt(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){qt(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,isSlot:a}=e;a&&n(`_${me[pe]}(`);n("(",e),h(s)?Zt(s,t):s&&Xt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),h(i)?qt(i,t):Xt(i,t)):c&&Xt(c,t);(l||c)&&(r(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),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=!Le(n.content);e&&i("("),Qt(n,t),e&&i(")")}else i("("),Xt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),Xt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;Xt(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(ie)}(-1),`),i());n(`_cache[${e.index}] = `),Xt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(ie)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:Zt(e.body,t,!0,!1)}}function Qt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function en(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];m(o)?t.push(o):Xt(o,t)}}function tn(e,t){const{push:n}=t;if(8===e.type)n("["),en(e,t),n("]");else if(e.isStatic){n(Le(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function nn(e,n,o){if(!n)return!0;if("arguments"===e.name)return!1;if(t.isReferenced(e,n))return!0;switch(n.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return on(n,o)}return!1}function on(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function rn(e,t){for(const n of e.params)for(const e of cn(n))t(e)}function sn(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of cn(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function cn(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)cn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&cn(e,t)}));break;case"RestElement":cn(e.argument,t);break;case"AssignmentPattern":cn(e.left,t)}return t}function ln(e,t,n){const{name:o}=t;e.scopeIds&&e.scopeIds.has(o)||(o in n?n[o]++:n[o]=1,(e.scopeIds||(e.scopeIds=new Set)).add(o))}const an=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),pn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed;function un(e,t,n=!1,o=!1){return e}const fn=Jt(/^(if|else|else-if)$/,((e,t,n)=>dn(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=mn(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=mn(t,i+e.branches.length-1,n)}}}))));function dn(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Ne("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=hn(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||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=hn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Ut(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function hn(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||He(e,"for")?[e]:e.children,userKey:We(e,"key")}}function mn(e,t,n){return e.condition?ke(e.condition,gn(e,t,n),xe(n.helper(B),['""',"true"])):gn(e,t,n)}function gn(e,t,n){const{helper:o}=n,r=_e("key",Ne(`${t}`,!1,ye,2)),{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 et(e,r,n),e}{let t=64;return Se(n,o(I),Ee([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=nt(e);return 13===t.type&&ot(t,n),et(t,r,n),e}}const yn=Jt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return vn(e,t,n,(t=>{const s=xe(o(G),[t.source]),i=He(e,"memo"),c=We(e,"key"),l=c&&(6===c.type?Ne(c.value.content,!0):c.exp),a=c?_e("key",l):null,p=4===t.source.type&&t.source.constType>0,u=p?64:c?128:256;return t.codegenNode=Se(n,o(I),void 0,s,u+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const u=ze(e),{children:f}=t,d=1!==f.length||1!==f[0].type,h=Ye(e)?e:u&&1===e.children.length&&Ye(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,u&&a&&et(c,a,n)):d?c=Se(n,o(I),a?Ee([a]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,u&&a&&et(c,a,n),c.isBlock!==!p&&(c.isBlock?(r(L),r(Ze(n.inSSR,c.isComponent))):r(qe(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(o(L),o(Ze(n.inSSR,c.isComponent))):o(qe(n.inSSR,c.isComponent))),i){const e=Oe(Tn(t.parseResult,[Ne("_cached")]));e.body=Ie([Te(["const _memo = (",i.exp,")"]),Te(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(he)}(_cached, _memo)) return _cached`]),Te(["const _item = ",c]),Ne("_item.memo = _memo"),Ne("return _item")]),s.arguments.push(e,Ne("_cache"),Ne(String(n.cached++)))}else s.arguments.push(Oe(Tn(t.parseResult),c,!0))}}))}));function vn(e,t,n,o){if(!t.exp)return;const r=_n(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:ze(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Sn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,bn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,En=/^\(|\)$/g;function _n(e,t){const n=e.loc,o=e.content,r=o.match(Sn);if(!r)return;const[,s,i]=r,c={source:Nn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(En,"").trim();const a=s.indexOf(l),p=l.match(bn);if(p){l=l.replace(bn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Nn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Nn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Nn(n,l,a)),c}function Nn(e,t,n){return Ne(t,!1,Be(e,n,t.length))}function Tn({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||Ne("_".repeat(t+1),!1)))}([e,t,n,...o])}const xn=Ne("undefined",!1),On=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=He(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},kn=(e,t,n)=>Oe(e,t,!1,!0,t.length?t[0].loc:n);function Cn(e,t,n=kn){t.helper(pe);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=He(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Re(e)&&(c=!0),s.push(_e(e||Ne("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!ze(e)||!(r=He(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=Ne("default",!0),exp:y}=r;let v;Re(g)?v=g?g.content:"default":c=!0;const S=n(y,d,h);let b,E,_;if(b=He(e,"if"))c=!0,i.push(ke(b.exp,In(g,S),xn));else if(E=He(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&ze(e)&&He(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=E.exp?ke(E.exp,In(g,S),xn):In(g,S)}}else if(_=He(e,"for")){c=!0;const e=_.parseResult||_n(_.exp);e&&i.push(xe(t.helper(G),[e.source,Oe(Tn(e),In(g,S),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(_e(g,S))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),_e("default",s)};a?u.length&&u.some((e=>Pn(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:Rn(e.children)?3:1;let h=Ee(s.concat(_e("_",Ne(d+"",!1))),r);return i.length&&(h=xe(t.helper(Y),[h,be(i)])),{slots:h,hasDynamicSlots:c}}function In(e,t){return Ee([_e("name",e),_e("fn",t)])}function Rn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Rn(n.children))return!0;break;case 9:if(Rn(n.branches))return!0;break;case 10:case 11:if(Rn(n.children))return!0}}return!1}function Pn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Pn(e.content))}const Mn=new WeakMap,wn=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?Ln(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=y(s)&&s.callee===W||s===R||s===P||!r&&("svg"===n||"foreignObject"===n||We(e,"key",!0));if(o.length>0){const n=$n(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?be(o.map((e=>function(e,t){const n=[],o=Mn.get(e);o?n.push(t.helperString(o)):(t.helper(K),t.directives.add(e.name),n.push(tt(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=Ne("true",!1,r);n.push(Ee(e.modifiers.map((e=>_e(e,t))),r))}return be(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===M&&(d=!0,f|=1024);if(r&&s!==R&&s!==M){const{slots:n,hasDynamicSlots:o}=Cn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==R){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===At(n,t)&&(f|=1),c=r||2===o?n: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=Se(t,s,i,c,l,a,u,!!d,!1,r,e.loc)};function Ln(e,t,n=!1){let{tag:o}=e;const r=Dn(o),s=We(e,"is");if(s)if(r||it("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ne(s.value.content,!0):s.exp;if(e)return xe(t.helper(W),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&He(e,"is");if(i&&i.exp)return xe(t.helper(W),[i.exp]);const c=Me(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(H),t.components.add(o),tt(o,"component"))}function $n(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,u=!1,d=!1,h=!1,m=!1,y=!1,S=!1;const b=[],E=({key:e,value:n})=>{if(Re(e)){const o=e.content,r=(e=>f.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||v(o)||(m=!0),r&&v(o)&&(S=!0),20===n.type||(4===n.type||8===n.type)&&At(n,t)>0)return;"ref"===o?u=!0:"class"===o?d=!0:"style"===o?h=!0:"key"===o||b.includes(o)||b.push(o),!i||"class"!==o&&"style"!==o||b.includes(o)||b.push(o)}else y=!0};for(let f=0;f<n.length;f++){const i=n[f];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(u=!0),"is"===n&&(Dn(r)||o&&o.content.startsWith("vue:")||it("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(_e(Ne(n,!0,Be(e,0,n.length)),Ne(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,h="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||d&&Ke(p,"is")&&(Dn(r)||it("COMPILER_IS_ON_ELEMENT",t)))continue;if(h&&o)continue;if(!p&&(d||h)){if(y=!0,u)if(c.length&&(l.push(Ee(Vn(c),s)),c=[]),d){if(it("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(ne),arguments:[u]});continue}const m=t.directiveTransforms[n];if(m){const{props:n,needRuntime:r}=m(i,e,t);!o&&n.forEach(E),c.push(...n),r&&(a.push(i),g(r)&&Mn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&ct("COMPILER_V_FOR_REF",t)&&c.push(_e(Ne("refInFor",!0),Ne("true",!1)))}let _;if(l.length?(c.length&&l.push(Ee(Vn(c),s)),_=l.length>1?xe(t.helper(Z),l,s):l[0]):c.length&&(_=Ee(Vn(c),s)),y?p|=16:(d&&!i&&(p|=2),h&&!i&&(p|=4),b.length&&(p|=8),m&&(p|=32)),0!==p&&32!==p||!(u||S||a.length>0)||(p|=512),!t.inSSR&&_)switch(_.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<_.properties.length;t++){const r=_.properties[t].key;Re(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=_.properties[e],s=_.properties[n];o?_=xe(t.helper(ee),[_]):(r&&!Re(r.value)&&(r.value=xe(t.helper(X),[r.value])),!s||Re(s.value)||!h&&17!==s.value.type||(s.value=xe(t.helper(Q),[s.value])));break;case 14:break;default:_=xe(t.helper(ee),[xe(t.helper(te),[_])])}return{props:_,directives:a,patchFlag:p,dynamicPropNames:b}}function Vn(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"))&&An(i,r):(t.set(s,r),n.push(r))}return n}function An(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=be([e.value,t.value],e.loc)}function Dn(e){return e[0].toLowerCase()+e.slice(1)==="component"}const Bn=(e,t)=>{if(Ye(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Fn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Oe([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=xe(t.helper(z),i,o)}};function Fn(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=E(t.name),r.push(t))):"bind"===t.name&&Ke(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Re(t.arg)&&(t.arg.content=E(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=$n(e,t,r);n=o}return{slotName:o,slotProps:n}}const jn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Hn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=Ne(x(E(i.content)),!0,i.loc)}else c=Te([`${n.helperString(se)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(se)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=De(l.content),t=!(e||jn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Te([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[_e(c,l||Ne("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p.props.forEach((e=>e.key.isHandlerKey=!0)),p},Wn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?E(i.content):`${n.helperString(oe)}(${i.content})`:(i.children.unshift(`${n.helperString(oe)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Kn(i,"."),r.includes("attr")&&Kn(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[_e(i,Ne("",!0,s))]}:{props:[_e(i,o)]}},Kn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Un=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Je(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Je(s)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(Je(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==At(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:xe(t.helper(F),r)}}}}},Jn=new WeakSet,Gn=(e,t)=>{if(1===e.type&&He(e,"once",!0)){if(Jn.has(e)||t.inVOnce)return;return Jn.add(e),t.inVOnce=!0,t.helper(ie),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},zn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Yn();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!De(i))return Yn();const c=r||Ne("modelValue",!0),l=r?Re(r)?`onUpdate:${r.content}`:Te(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=Te([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const p=[_e(c,e.exp),_e(l,a)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Le(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Re(r)?`${r.content}Modifiers`:Te([r,' + "Modifiers"']):"modelModifiers";p.push(_e(n,Ne(`{ ${t} }`,!1,e.loc,2)))}return Yn(p)};function Yn(e=[]){return{props:e}}const qn=/[\w).+\-_$\]]/,Zn=(e,t)=>{it("COMPILER_FILTER",t)&&(5===e.type&&Xn(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Xn(e.exp,t)})))};function Xn(e,t){if(4===e.type)Qn(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Qn(o,t):8===o.type?Xn(e,t):5===o.type&&Xn(o.content,t))}}function Qn(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&qn.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=eo(i,m[s],t);e.content=i}}function eo(e,t,n){n.helper(U);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${tt(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${tt(r,"filter")}(${e}${")"!==s?","+s:s}`}}const to=new WeakSet,no=(e,t)=>{if(1===e.type){const n=He(e,"memo");if(!n||to.has(e))return;return to.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&ot(o,t),e.codegenNode=xe(t.helper(de),[n.exp,Oe(void 0,o),"_cache",String(t.cached++)]))}}};function oo(e){return[[Gn,fn,no,yn,Zn,Bn,wn,On,Un],{on:Hn,bind:Wn,model:zn}]}function ro(e,t={}){const n=t.onError||O,o="module"===t.mode;!0===t.prefixIdentifiers?n(C(45)):o&&n(C(46));t.cacheHandlers&&n(C(47)),t.scopeId&&!o&&n(C(48));const r=m(e)?ut(e,t):e,[s,i]=oo();return Kt(r,d({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:d({},i,t.directiveTransforms||{})})),zt(r,d({},t,{prefixIdentifiers:false}))}const so=()=>({props:[]}),io=Symbol(""),co=Symbol(""),lo=Symbol(""),ao=Symbol(""),po=Symbol(""),uo=Symbol(""),fo=Symbol(""),ho=Symbol(""),mo=Symbol(""),go=Symbol("");let yo;ge({[io]:"vModelRadio",[co]:"vModelCheckbox",[lo]:"vModelText",[ao]:"vModelSelect",[po]:"vModelDynamic",[uo]:"withModifiers",[fo]:"withKeys",[ho]:"vShow",[mo]:"Transition",[go]:"TransitionGroup"});const vo=o("style,iframe,script,noscript",!0),So={isVoidTag:l,isNativeTag:e=>i(e)||c(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return yo||(yo=document.createElement("div")),t?(yo.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,yo.children[0].getAttribute("foo")):(yo.innerHTML=e,yo.textContent)},isBuiltInComponent:e=>Pe(e,"Transition")?mo:Pe(e,"TransitionGroup")?go: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({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(vo(e))return 2}return 0}},bo=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ne("style",!0,t.loc),exp:Eo(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Eo=(e,t)=>{const n=function(e){const t={};return e.split(r).forEach((e=>{if(e){const n=e.split(s);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return Ne(JSON.stringify(n),!1,t,3)};function _o(e,t){return C(e,t)}const No=o("passive,once,capture"),To=o("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),xo=o("left,right"),Oo=o("onkeyup,onkeydown,onkeypress",!0),ko=(e,t)=>Re(e)&&"onclick"===e.content.toLowerCase()?Ne(t,!0):4!==e.type?Te(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Co=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Io=[bo],Ro={cloak:so,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[_e(Ne("innerHTML",!0,r),o||Ne("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[_e(Ne("textContent",!0),o?xe(n.helperString(q),[o],r):Ne("",!0))]}},model:(e,t,n)=>{const o=zn(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=lo,i=!1;if("input"===r||s){const n=We(t,"type");if(n){if(7===n.type)e=po;else if(n.value)switch(n.value.content){case"radio":e=io;break;case"checkbox":e=co;break;case"file":i=!0}}else Ue(t)&&(e=po)}else"select"===r&&(e=ao);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Hn(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,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&ct("COMPILER_V_ON_NATIVE",n)||No(o)?i.push(o):xo(o)?Re(e)?Oo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):To(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=ko(r,"onContextmenu")),c.includes("middle")&&(r=ko(r,"onMouseup")),c.length&&(s=xe(n.helper(uo),[s,JSON.stringify(c)])),!i.length||Re(r)&&!Oo(r.content)||(s=xe(n.helper(fo),[s,JSON.stringify(i)])),l.length){const e=l.map(T).join("");r=Re(r)?Ne(`${r.content}${e}`,!0):Te(["(",r,`) + "${e}"`])}return{props:[_e(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(ho)})};return e.BASE_TRANSITION=w,e.CAMELIZE=oe,e.CAPITALIZE=re,e.CREATE_BLOCK=$,e.CREATE_COMMENT=B,e.CREATE_ELEMENT_BLOCK=V,e.CREATE_ELEMENT_VNODE=D,e.CREATE_SLOTS=Y,e.CREATE_STATIC=j,e.CREATE_TEXT=F,e.CREATE_VNODE=A,e.DOMDirectiveTransforms=Ro,e.DOMNodeTransforms=Io,e.FRAGMENT=I,e.GUARD_REACTIVE_PROPS=te,e.IS_MEMO_SAME=he,e.IS_REF=fe,e.KEEP_ALIVE=M,e.MERGE_PROPS=Z,e.NORMALIZE_CLASS=X,e.NORMALIZE_PROPS=ee,e.NORMALIZE_STYLE=Q,e.OPEN_BLOCK=L,e.POP_SCOPE_ID=le,e.PUSH_SCOPE_ID=ce,e.RENDER_LIST=G,e.RENDER_SLOT=z,e.RESOLVE_COMPONENT=H,e.RESOLVE_DIRECTIVE=K,e.RESOLVE_DYNAMIC_COMPONENT=W,e.RESOLVE_FILTER=U,e.SET_BLOCK_TRACKING=ie,e.SUSPENSE=P,e.TELEPORT=R,e.TO_DISPLAY_STRING=q,e.TO_HANDLERS=ne,e.TO_HANDLER_KEY=se,e.TRANSITION=mo,e.TRANSITION_GROUP=go,e.UNREF=ue,e.V_MODEL_CHECKBOX=co,e.V_MODEL_DYNAMIC=po,e.V_MODEL_RADIO=io,e.V_MODEL_SELECT=ao,e.V_MODEL_TEXT=lo,e.V_ON_WITH_KEYS=fo,e.V_ON_WITH_MODIFIERS=uo,e.V_SHOW=ho,e.WITH_CTX=pe,e.WITH_DIRECTIVES=J,e.WITH_MEMO=de,e.WITH_SCOPE_ID=ae,e.advancePositionWithClone=Fe,e.advancePositionWithMutation=je,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=ro,e.baseParse=ut,e.buildProps=$n,e.buildSlots=Cn,e.checkCompatEnabled=ct,e.compile=function(e,t={}){return ro(e,d({},So,t,{nodeTransforms:[Co,...Io,...t.nodeTransforms||[]],directiveTransforms:d({},Ro,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=be,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:ye}},e.createBlockStatement=Ie,e.createCacheExpression=Ce,e.createCallExpression=xe,e.createCompilerError=C,e.createCompoundExpression=Te,e.createConditionalExpression=ke,e.createDOMCompilerError=_o,e.createForLoopParams=Tn,e.createFunctionExpression=Oe,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ye}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:m(e)?Ne(e,!1,t):e}},e.createObjectExpression=Ee,e.createObjectProperty=_e,e.createReturnStatement=function(e){return{type:26,returns:e,loc:ye}},e.createRoot=ve,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:ye}},e.createSimpleExpression=Ne,e.createStructuralDirectiveTransform=Jt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:ye}},e.createTransformContext=Wt,e.createVNodeCall=Se,e.extractIdentifiers=cn,e.findDir=He,e.findProp=We,e.generate=zt,e.generateCodeFrame=function(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let s=0;const i=[];for(let c=0;c<o.length;c++)if(s+=o[c].length+(r[c]&&r[c].length||0),s>=t){for(let e=c-2;e<=c+2||n>s;e++){if(e<0||e>=o.length)continue;const l=e+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[e]}`);const a=o[e].length,p=r[e]&&r[e].length||0;if(e===c){const e=t-(s-(a+p)),o=Math.max(1,n>s?a-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>c){if(n>s){const e=Math.max(Math.min(n-s,a),1);i.push(" | "+"^".repeat(e))}s+=a+p}}break}return i.join("\n")},e.getBaseTransformPreset=oo,e.getInnerRange=Be,e.getMemoedVNodeCall=nt,e.getVNodeBlockHelper=Ze,e.getVNodeHelper=qe,e.hasDynamicKeyVBind=Ue,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&&Le(t.content)&&!!n[t.content];case 8:return t.children.some((t=>y(t)&&e(t,n)));case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=me,e.injectProp=et,e.isBindKey=Ke,e.isBuiltInType=Pe,e.isCoreComponent=Me,e.isFunctionType=an,e.isInDestructureAssignment=on,e.isMemberExpression=De,e.isReferencedIdentifier=nn,e.isSimpleIdentifier=Le,e.isSlotOutlet=Ye,e.isStaticExp=Re,e.isStaticProperty=pn,e.isStaticPropertyKey=(e,t)=>pn(t)&&t.key===e,e.isTemplateNode=ze,e.isText=Je,e.isVSlot=Ge,e.locStub=ye,e.makeBlock=ot,e.noopDirectiveTransform=so,e.parse=function(e,t={}){return ut(e,d({},So,t))},e.parserOptions=So,e.processExpression=un,e.processFor=vn,e.processIf=dn,e.processSlotOutlet=Fn,e.registerRuntimeHelpers=ge,e.resolveComponentType=Ln,e.toValidAssetId=tt,e.trackSlotScopes=On,e.trackVForSlotScopes=(e,t)=>{let n;if(ze(e)&&e.props.some(Ge)&&(n=He(e,"for"))){const e=n.parseResult=_n(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=Kt,e.transformBind=Wn,e.transformElement=wn,e.transformExpression=(e,t)=>{if(5===e.type)e.content=un(e.content);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=un(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=un(n))}}},e.transformModel=zn,e.transformOn=Hn,e.transformStyle=bo,e.traverseNode=Ut,e.walkBlockDeclarations=sn,e.walkFunctionParams=rn,e.walkIdentifiers=function(e,t,o=!1,r=[],s=Object.create(null)){const i="Program"===e.type&&"ExpressionStatement"===e.body[0].type&&e.body[0].expression;n.walk(e,{enter(e,n){if(n&&r.push(n),n&&n.type.startsWith("TS")&&"TSAsExpression"!==n.type&&"TSNonNullExpression"!==n.type&&"TSTypeAssertion"!==n.type)return this.skip();if("Identifier"===e.type){const i=!!s[e.name],c=nn(e,n,r);(o||c&&!i)&&t(e,n,r,c,i)}else"ObjectProperty"===e.type&&"ObjectPattern"===n.type?e.inPattern=!0:an(e)?rn(e,(t=>ln(e,t,s))):"BlockStatement"===e.type&&sn(e,(t=>ln(e,t,s)))},leave(e,t){if(t&&r.pop(),e!==i&&e.scopeIds)for(const n of e.scopeIds)s[n]--,0===s[n]&&delete s[n]}})},e.warnDeprecation=function(e,t,n,...o){if("suppress-warning"===st(e,t))return;const{message:r,link:s}=rt[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)},Object.defineProperty(e,"__esModule",{value:!0}),e}({},types,estreeWalker);
1
+ var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n=/;(?![^(]*\))/g,o=/:(.+)/;const r=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),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,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},a=()=>!1,p=/^on[^a-z]/,u=Object.assign,f=Array.isArray,d=e=>"string"==typeof e,h=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,g=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),y=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v=/-(\w)/g,S=y((e=>e.replace(v,((e,t)=>t?t.toUpperCase():"")))),b=/\B([A-Z])/g,E=y((e=>e.replace(b,"-$1").toLowerCase())),_=y((e=>e.charAt(0).toUpperCase()+e.slice(1))),N=y((e=>e?`on${_(e)}`:""));function T(e){throw e}function x(e){}function O(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const k=Symbol(""),C=Symbol(""),I=Symbol(""),R=Symbol(""),M=Symbol(""),P=Symbol(""),w=Symbol(""),L=Symbol(""),$=Symbol(""),V=Symbol(""),A=Symbol(""),D=Symbol(""),B=Symbol(""),F=Symbol(""),j=Symbol(""),H=Symbol(""),W=Symbol(""),K=Symbol(""),U=Symbol(""),J=Symbol(""),G=Symbol(""),z=Symbol(""),Y=Symbol(""),q=Symbol(""),Z=Symbol(""),X=Symbol(""),Q=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),fe=Symbol(""),de={[k]:"Fragment",[C]:"Teleport",[I]:"Suspense",[R]:"KeepAlive",[M]:"BaseTransition",[P]:"openBlock",[w]:"createBlock",[L]:"createElementBlock",[$]:"createVNode",[V]:"createElementVNode",[A]:"createCommentVNode",[D]:"createTextVNode",[B]:"createStaticVNode",[F]:"resolveComponent",[j]:"resolveDynamicComponent",[H]:"resolveDirective",[W]:"resolveFilter",[K]:"withDirectives",[U]:"renderList",[J]:"renderSlot",[G]:"createSlots",[z]:"toDisplayString",[Y]:"mergeProps",[q]:"normalizeClass",[Z]:"normalizeStyle",[X]:"normalizeProps",[Q]:"guardReactiveProps",[ee]:"toHandlers",[te]:"camelize",[ne]:"capitalize",[oe]:"toHandlerKey",[re]:"setBlockTracking",[se]:"pushScopeId",[ie]:"popScopeId",[ce]:"withScopeId",[le]:"withCtx",[ae]:"unref",[pe]:"isRef",[ue]:"withMemo",[fe]:"isMemoSame"};function he(e){Object.getOwnPropertySymbols(e).forEach((t=>{de[t]=e[t]}))}const me={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ge(e,t=me){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ye(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=me){return e&&(c?(e.helper(P),e.helper(Ye(e.inSSR,a))):e.helper(ze(e.inSSR,a)),i&&e.helper(K)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function ve(e,t=me){return{type:17,loc:t,elements:e}}function Se(e,t=me){return{type:15,loc:t,properties:e}}function be(e,t){return{type:16,loc:me,key:d(e)?Ee(e,!0):e,value:t}}function Ee(e,t=!1,n=me,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function _e(e,t=me){return{type:8,loc:t,children:e}}function Ne(e,t=[],n=me){return{type:14,loc:n,callee:e,arguments:t}}function Te(e,t,n=!1,o=!1,r=me){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function xe(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:me}}function Oe(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:me}}function ke(e){return{type:21,body:e,loc:me}}const Ce=e=>4===e.type&&e.isStatic,Ie=(e,t)=>e===t||e===E(t);function Re(e){return Ie(e,"Teleport")?C:Ie(e,"Suspense")?I:Ie(e,"KeepAlive")?R:Ie(e,"BaseTransition")?M:void 0}const Me=/^\d|[^\$\w]/,Pe=e=>!Me.test(e),we=/[A-Za-z_$\xA0-\uFFFF]/,Le=/[\.\?\w$\xA0-\uFFFF]/,$e=/\s+[.[]\s*|\s*[.[]\s+/g,Ve=e=>{e=e.trim().replace($e,(e=>e.trim()));let t=0,n=[],o=0,r=0,s=null;for(let i=0;i<e.length;i++){const c=e.charAt(i);switch(t){case 0:if("["===c)n.push(t),t=1,o++;else if("("===c)n.push(t),t=2,r++;else if(!(0===i?we:Le).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(n.push(t),t=3,s=c):"["===c?o++:"]"===c&&(--o||(t=n.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)n.push(t),t=3,s=c;else if("("===c)r++;else if(")"===c){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:c===s&&(t=n.pop(),s=null)}}return!o&&!r};function Ae(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 Be(u({},e),t,n)}function Be(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Fe(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)&&(d(t)?r.name===t:t.test(r.name)))return r}}function je(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&He(s.arg,t))return s}}function He(e,t){return!(!e||!Ce(e)||e.content!==t)}function We(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Ke(e){return 5===e.type||2===e.type}function Ue(e){return 7===e.type&&"slot"===e.name}function Je(e){return 1===e.type&&3===e.tagType}function Ge(e){return 1===e.type&&2===e.tagType}function ze(e,t){return e||t?$:V}function Ye(e,t){return e||t?w:L}const qe=new Set([X,Q]);function Ze(e,t=[]){if(e&&!d(e)&&14===e.type){const n=e.callee;if(!d(n)&&qe.has(n))return Ze(e.arguments[0],t.concat(e))}return[e,t]}function Xe(e,t,n){let o;let r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!d(s)&&14===s.type){const e=Ze(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||d(s))o=Se([t]);else if(14===s.type){const e=s.arguments[0];d(e)||15!==e.type?s.callee===ee?o=Ne(n.helper(Y),[Se([t]),s]):s.arguments.unshift(Se([t])):e.properties.unshift(t),!o&&(o=s)}else if(15===s.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=s.properties.some((e=>4===e.key.type&&e.key.content===n))}e||s.properties.unshift(t),o=s}else o=Ne(n.helper(Y),[Se([t]),s]),r&&r.callee===Q&&(r=i[i.length-2]);13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function Qe(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function et(e){return 14===e.type&&e.callee===ue?e.arguments[1].returns:e}function tt(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(ze(o,e.isComponent)),t(P),t(Ye(o,e.isComponent)))}const nt={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3.vuejs.org/guide/migration/filters.html"}};function ot(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function rt(e,t){const n=ot("MODE",t),o=ot(e,t);return 3===n?!0===o:!1!==o}function st(e,t,n,...o){return rt(e,t)}const it=/&(gt|lt|amp|apos|quot);/g,ct={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},lt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(it,((e,t)=>ct[t])),onError:T,onWarn:x,comments:!1};function at(e,t={}){const n=function(e,t){const n=u({},lt);let o;for(o in t)n[o]=void 0===t[o]?lt[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=Nt(n);return ge(pt(n,0,[]),Tt(n,o))}function pt(e,t,n){const o=xt(n),r=o?o.ns:0,s=[];for(;!Rt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Ot(i,e.options.delimiters[0]))c=bt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Ot(i,"\x3c!--")?dt(e):Ot(i,"<!DOCTYPE")?ht(e):Ot(i,"<![CDATA[")&&0!==r?ft(e,n):ht(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){kt(e,3);continue}if(/[a-z]/i.test(i[2])){yt(e,1,o);continue}c=ht(e)}else/[a-z]/i.test(i[1])?(c=mt(e,n),rt("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&gt(e.name)))&&(c=c.children)):"?"===i[1]&&(c=ht(e));if(c||(c=Et(e,t)),f(c))for(let e=0;e<c.length;e++)ut(s,c[e]);else ut(s,c)}let i=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(e.inPre||2!==o.type)3!==o.type||e.options.comments||(i=!0,s[n]=null);else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function ut(e,t){if(2===t.type){const n=xt(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 ft(e,t){kt(e,9);const n=pt(e,3,t);return 0===e.source.length||kt(e,3),n}function dt(e){const t=Nt(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));)kt(e,s-r+1),r=s+1;kt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),kt(e,e.source.length);return{type:3,content:n,loc:Tt(e,t)}}function ht(e){const t=Nt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),kt(e,e.source.length)):(o=e.source.slice(n,r),kt(e,r+1)),{type:3,content:o,loc:Tt(e,t)}}function mt(e,t){const n=e.inPre,o=e.inVPre,r=xt(t),s=yt(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),c&&(e.inVPre=!1),s;t.push(s);const l=e.options.getTextMode(s,r),a=pt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&st("COMPILER_INLINE_TEMPLATE",e)){const n=Tt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Mt(e.source,s.tag))yt(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Ot(e.loc.source,"\x3c!--")}return s.loc=Tt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const gt=t("if,else,else-if,for,slot");function yt(e,t,n){const o=Nt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);kt(e,r[0].length),Ct(e);const c=Nt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=vt(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,u(e,c),e.source=l,a=vt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=Ot(e.source,"/>"),kt(e,p?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===s?f=2:"template"===s?a.some((e=>7===e.type&&gt(e.name)))&&(f=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Re(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(st("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&He(e.arg,"is")&&st("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,a,e)&&(f=1)),{type:1,ns:i,tag:s,tagType:f,props:a,isSelfClosing:p,children:[],loc:Tt(e,o),codegenNode:void 0}}function vt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Ot(e.source,">")&&!Ot(e.source,"/>");){if(Ot(e.source,"/")){kt(e,1),Ct(e);continue}const r=St(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Ct(e)}return n}function St(e,t){const n=Nt(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(;t=e.exec(o););}let r;kt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Ct(e),kt(e,1),Ct(e),r=function(e){const t=Nt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){kt(e,1);const t=e.source.indexOf(o);-1===t?n=_t(e,e.source.length,4):(n=_t(e,t,4),kt(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=_t(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Tt(e,t)}}(e));const s=Tt(e,n);if(!e.inVPre&&/^(v-|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Ot(o,"."),l=t[1]||(c||Ot(o,":")?"bind":Ot(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Tt(e,It(e,n,s),It(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:c}}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)}const a=t[3]?t[3].substr(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&st("COMPILER_V_BIND_SYNC",e,0)&&(l="model",a.splice(a.indexOf("sync"),1)),{type:7,name:l,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:a,loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Nt(e);kt(e,n.length);const i=Nt(e),c=Nt(e),l=r-n.length,a=e.source.slice(0,l),p=_t(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Be(i,a,f);return Be(c,a,l-(p.length-u.length-f)),kt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Tt(e,i,c)},loc:Tt(e,s)}}function Et(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=Nt(e);return{type:2,content:_t(e,o,t),loc:Tt(e,r)}}function _t(e,t,n){const o=e.source.slice(0,t);return kt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Nt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Tt(e,t,n){return{start:t,end:n=n||Nt(e),source:e.originalSource.slice(t.offset,n.offset)}}function xt(e){return e[e.length-1]}function Ot(e,t){return e.startsWith(t)}function kt(e,t){const{source:n}=e;Be(e,n,t),e.source=n.slice(t)}function Ct(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&kt(e,t[0].length)}function It(e,t,n){return De(t,e.originalSource.slice(t.offset,n),n)}function Rt(e,t,n){const o=e.source;switch(t){case 0:if(Ot(o,"</"))for(let e=n.length-1;e>=0;--e)if(Mt(o,n[e].tag))return!0;break;case 1:case 2:{const e=xt(n);if(e&&Mt(o,e.tag))return!0;break}case 3:if(Ot(o,"]]>"))return!0}return!o}function Mt(e,t){return Ot(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Pt(e,t){Lt(e,t,wt(e,e.children[0]))}function wt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ge(t)}function Lt(e,t,n=!1){let o=!0;const{children:r}=e,s=r.length;let i=0;for(let c=0;c<r.length;c++){const e=r[c];if(1===e.type&&0===e.tagType){const r=n?0:$t(e,t);if(r>0){if(r<3&&(o=!1),r>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),i++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Ft(n);if((!o||512===o||1===o)&&Dt(e,t)>=2){const o=Bt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else if(12===e.type){const n=$t(e.content,t);n>0&&(n<3&&(o=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),i++))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Lt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Lt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Lt(e.branches[n],t,1===e.branches[n].children.length)}o&&i&&t.transformHoist&&t.transformHoist(r,t,e),i&&i===s&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&f(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(ve(e.codegenNode.children)))}function $t(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(Ft(r))return n.set(e,0),0;{let o=3;const s=Dt(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=$t(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=$t(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(P),t.removeHelper(Ye(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(ze(t.inSSR,r.isComponent))),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return $t(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(d(o)||h(o))continue;const r=$t(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}const Vt=new Set([q,Z,X,Q]);function At(e,t){if(14===e.type&&!d(e.callee)&&Vt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return $t(n,t);if(14===n.type)return At(n,t)}return 0}function Dt(e,t){let n=3;const o=Bt(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=$t(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?$t(s,t):14===s.type?At(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Bt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Ft(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function jt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:a=null,isBuiltInComponent:p=l,isCustomElement:u=l,expressionPlugins:f=[],scopeId:h=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:b=c,inline:E=!1,isTS:N=!1,onError:O=T,onWarn:k=x,compatConfig:C}){const I=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),R={selfName:I&&_(S(I[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:h,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:b,inline:E,isTS:N,onError:O,onWarn:k,compatConfig:C,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=R.helpers.get(e)||0;return R.helpers.set(e,t+1),e},removeHelper(e){const t=R.helpers.get(e);if(t){const n=t-1;n?R.helpers.set(e,n):R.helpers.delete(e)}},helperString:e=>`_${de[R.helper(e)]}`,replaceNode(e){R.parent.children[R.childIndex]=R.currentNode=e},removeNode(e){const t=e?R.parent.children.indexOf(e):R.currentNode?R.childIndex:-1;e&&e!==R.currentNode?R.childIndex>t&&(R.childIndex--,R.onNodeRemoved()):(R.currentNode=null,R.onNodeRemoved()),R.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){d(e)&&(e=Ee(e)),R.hoists.push(e);const t=Ee(`_hoisted_${R.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Oe(R.cached++,e,t)};return R.filters=new Set,R}function Ht(e,t){const n=jt(e,t);Wt(e,n),t.hoistStatic&&Pt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(wt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&tt(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ye(t,n(k),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Wt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(f(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(A);break;case 5:t.ssr||t.helper(z);break;case 9:for(let n=0;n<e.branches.length;n++)Wt(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];d(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Wt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Kt(e,t){const n=d(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(Ue))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}}}const Ut="/*#__PURE__*/";function Jt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1,isTS:p=!1,inSSR:u=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,isTS:p,inSSR:u,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${de[e]}`,push(e,t){f.code+=e},indent(){d(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:d(--f.indentLevel)},newline(){d(f.indentLevel)}};function d(e){f.push("\n"+" ".repeat(e))}return f}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${de[e]}: _${de[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[$,V,A,D,B].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),qt(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${de[e]}: _${de[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Gt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Gt(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Gt(e.filters,"filter",n),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?qt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Gt(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?W:"component"===t?F:H);for(let c=0;c<e.length;c++){let n=e[c];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),o(`const ${Qe(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function zt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Yt(e,t,n),n&&t.deindent(),t.push("]")}function Yt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];d(c)?r(c):f(c)?zt(c,t):qt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function qt(e,t){if(d(e))t.push(e);else if(h(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:qt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Zt(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Ut);n(`${o(z)}(`),qt(e.content,t),n(")")}(e,t);break;case 12:qt(e.codegenNode,t);break;case 8:Xt(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Ut);n(`${o(A)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f,isComponent:d}=e;p&&n(o(K)+"(");u&&n(`(${o(P)}(${f?"true":""}), `);r&&n(Ut);const h=u?Ye(t.inSSR,d):ze(t.inSSR,d);n(o(h)+"(",e),Yt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),qt(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=d(e.callee)?e.callee:o(e.callee);r&&n(Ut);n(s+"(",e),Yt(e.arguments,t),n(")")}(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 l=0;l<i.length;l++){const{key:e,value:o}=i[l];Qt(e,t),n(": "),qt(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){zt(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,isSlot:a}=e;a&&n(`_${de[le]}(`);n("(",e),f(s)?Yt(s,t):s&&qt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),f(i)?zt(i,t):qt(i,t)):c&&qt(c,t);(l||c)&&(r(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),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=!Pe(n.content);e&&i("("),Zt(n,t),e&&i(")")}else i("("),qt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),qt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;qt(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(re)}(-1),`),i());n(`_cache[${e.index}] = `),qt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(re)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:Yt(e.body,t,!0,!1)}}function Zt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Xt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];d(o)?t.push(o):qt(o,t)}}function Qt(e,t){const{push:n}=t;if(8===e.type)n("["),Xt(e,t),n("]");else if(e.isStatic){n(Pe(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function en(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)en("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&en(e,t)}));break;case"RestElement":en(e.argument,t);break;case"AssignmentPattern":en(e.left,t)}return t}const tn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed;function nn(e,t,n=!1,o=!1){return e}const on=Kt(/^(if|else|else-if)$/,((e,t,n)=>rn(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=cn(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=cn(t,i+e.branches.length-1,n)}}}))));function rn(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=sn(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||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=sn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Wt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function sn(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Fe(e,"for")?[e]:e.children,userKey:je(e,"key")}}function cn(e,t,n){return e.condition?xe(e.condition,ln(e,t,n),Ne(n.helper(A),['""',"true"])):ln(e,t,n)}function ln(e,t,n){const{helper:o}=n,r=be("key",Ee(`${t}`,!1,me,2)),{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 Xe(e,r,n),e}{let t=64;return ye(n,o(k),Se([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=et(e);return 13===t.type&&tt(t,n),Xe(t,r,n),e}}const an=Kt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return pn(e,t,n,(t=>{const s=Ne(o(U),[t.source]),i=Fe(e,"memo"),c=je(e,"key"),l=c&&(6===c.type?Ee(c.value.content,!0):c.exp),a=c?be("key",l):null,p=4===t.source.type&&t.source.constType>0,u=p?64:c?128:256;return t.codegenNode=ye(n,o(k),void 0,s,u+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const u=Je(e),{children:f}=t,d=1!==f.length||1!==f[0].type,h=Ge(e)?e:u&&1===e.children.length&&Ge(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,u&&a&&Xe(c,a,n)):d?c=ye(n,o(k),a?Se([a]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,u&&a&&Xe(c,a,n),c.isBlock!==!p&&(c.isBlock?(r(P),r(Ye(n.inSSR,c.isComponent))):r(ze(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(o(P),o(Ye(n.inSSR,c.isComponent))):o(ze(n.inSSR,c.isComponent))),i){const e=Te(gn(t.parseResult,[Ee("_cached")]));e.body=ke([_e(["const _memo = (",i.exp,")"]),_e(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(fe)}(_cached, _memo)) return _cached`]),_e(["const _item = ",c]),Ee("_item.memo = _memo"),Ee("return _item")]),s.arguments.push(e,Ee("_cache"),Ee(String(n.cached++)))}else s.arguments.push(Te(gn(t.parseResult),c,!0))}}))}));function pn(e,t,n,o){if(!t.exp)return;const r=hn(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:Je(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const un=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,fn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,dn=/^\(|\)$/g;function hn(e,t){const n=e.loc,o=e.content,r=o.match(un);if(!r)return;const[,s,i]=r,c={source:mn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(dn,"").trim();const a=s.indexOf(l),p=l.match(fn);if(p){l=l.replace(fn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=mn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=mn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=mn(n,l,a)),c}function mn(e,t,n){return Ee(t,!1,Ae(e,n,t.length))}function gn({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||Ee("_".repeat(t+1),!1)))}([e,t,n,...o])}const yn=Ee("undefined",!1),vn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Fe(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Sn=(e,t,n)=>Te(e,t,!1,!0,t.length?t[0].loc:n);function bn(e,t,n=Sn){t.helper(le);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Fe(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Ce(e)&&(c=!0),s.push(be(e||Ee("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!Je(e)||!(r=Fe(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=Ee("default",!0),exp:y}=r;let v;Ce(g)?v=g?g.content:"default":c=!0;const S=n(y,d,h);let b,E,_;if(b=Fe(e,"if"))c=!0,i.push(xe(b.exp,En(g,S),yn));else if(E=Fe(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Je(e)&&Fe(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=E.exp?xe(E.exp,En(g,S),yn):En(g,S)}}else if(_=Fe(e,"for")){c=!0;const e=_.parseResult||hn(_.exp);e&&i.push(Ne(t.helper(U),[e.source,Te(gn(e),En(g,S),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(be(g,S))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),be("default",s)};a?u.length&&u.some((e=>Nn(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:_n(e.children)?3:1;let h=Se(s.concat(be("_",Ee(d+"",!1))),r);return i.length&&(h=Ne(t.helper(G),[h,ve(i)])),{slots:h,hasDynamicSlots:c}}function En(e,t){return Se([be("name",e),be("fn",t)])}function _n(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||_n(n.children))return!0;break;case 9:if(_n(n.branches))return!0;break;case 10:case 11:if(_n(n.children))return!0}}return!1}function Nn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Nn(e.content))}const Tn=new WeakMap,xn=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?On(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=m(s)&&s.callee===j||s===C||s===I||!r&&("svg"===n||"foreignObject"===n||je(e,"key",!0));if(o.length>0){const n=kn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?ve(o.map((e=>function(e,t){const n=[],o=Tn.get(e);o?n.push(t.helperString(o)):(t.helper(H),t.directives.add(e.name),n.push(Qe(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(Se(e.modifiers.map((e=>be(e,t))),r))}return ve(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===R&&(d=!0,f|=1024);if(r&&s!==C&&s!==R){const{slots:n,hasDynamicSlots:o}=bn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==C){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===$t(n,t)&&(f|=1),c=r||2===o?n: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=ye(t,s,i,c,l,a,u,!!d,!1,r,e.loc)};function On(e,t,n=!1){let{tag:o}=e;const r=Rn(o),s=je(e,"is");if(s)if(r||rt("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ee(s.value.content,!0):s.exp;if(e)return Ne(t.helper(j),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&Fe(e,"is");if(i&&i.exp)return Ne(t.helper(j),[i.exp]);const c=Re(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(F),t.components.add(o),Qe(o,"component"))}function kn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let u=0,f=!1,d=!1,m=!1,y=!1,v=!1,S=!1;const b=[],E=({key:e,value:n})=>{if(Ce(e)){const o=e.content,r=(e=>p.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||g(o)||(y=!0),r&&g(o)&&(S=!0),20===n.type||(4===n.type||8===n.type)&&$t(n,t)>0)return;"ref"===o?f=!0:"class"===o?d=!0:"style"===o?m=!0:"key"===o||b.includes(o)||b.push(o),!i||"class"!==o&&"style"!==o||b.includes(o)||b.push(o)}else v=!0};for(let p=0;p<n.length;p++){const i=n[p];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(f=!0),"is"===n&&(Rn(r)||o&&o.content.startsWith("vue:")||rt("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(be(Ee(n,!0,Ae(e,0,n.length)),Ee(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||d&&He(p,"is")&&(Rn(r)||rt("COMPILER_IS_ON_ELEMENT",t)))continue;if(m&&o)continue;if(!p&&(d||m)){if(v=!0,u)if(c.length&&(l.push(Se(Cn(c),s)),c=[]),d){if(rt("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(ee),arguments:[u]});continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(i,e,t);!o&&n.forEach(E),c.push(...n),r&&(a.push(i),h(r)&&Tn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&st("COMPILER_V_FOR_REF",t)&&c.push(be(Ee("refInFor",!0),Ee("true",!1)))}let _;if(l.length?(c.length&&l.push(Se(Cn(c),s)),_=l.length>1?Ne(t.helper(Y),l,s):l[0]):c.length&&(_=Se(Cn(c),s)),v?u|=16:(d&&!i&&(u|=2),m&&!i&&(u|=4),b.length&&(u|=8),y&&(u|=32)),0!==u&&32!==u||!(f||S||a.length>0)||(u|=512),!t.inSSR&&_)switch(_.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<_.properties.length;t++){const r=_.properties[t].key;Ce(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=_.properties[e],s=_.properties[n];o?_=Ne(t.helper(X),[_]):(r&&!Ce(r.value)&&(r.value=Ne(t.helper(q),[r.value])),!s||Ce(s.value)||!m&&17!==s.value.type||(s.value=Ne(t.helper(Z),[s.value])));break;case 14:break;default:_=Ne(t.helper(X),[Ne(t.helper(Q),[_])])}return{props:_,directives:a,patchFlag:u,dynamicPropNames:b}}function Cn(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"))&&In(i,r):(t.set(s,r),n.push(r))}return n}function In(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ve([e.value,t.value],e.loc)}function Rn(e){return e[0].toLowerCase()+e.slice(1)==="component"}const Mn=(e,t)=>{if(Ge(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Pn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Te([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Ne(t.helper(J),i,o)}};function Pn(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=S(t.name),r.push(t))):"bind"===t.name&&He(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Ce(t.arg)&&(t.arg.content=S(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=kn(e,t,r);n=o}return{slotName:o,slotProps:n}}const wn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Ln=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=Ee(N(S(i.content)),!0,i.loc)}else c=_e([`${n.helperString(oe)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(oe)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=Ve(l.content),t=!(e||wn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=_e([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[be(c,l||Ee("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p.props.forEach((e=>e.key.isHandlerKey=!0)),p},$n=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?S(i.content):`${n.helperString(te)}(${i.content})`:(i.children.unshift(`${n.helperString(te)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Vn(i,"."),r.includes("attr")&&Vn(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[be(i,Ee("",!0,s))]}:{props:[be(i,o)]}},Vn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},An=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Ke(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Ke(s)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(Ke(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==$t(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:Ne(t.helper(D),r)}}}}},Dn=new WeakSet,Bn=(e,t)=>{if(1===e.type&&Fe(e,"once",!0)){if(Dn.has(e)||t.inVOnce)return;return Dn.add(e),t.inVOnce=!0,t.helper(re),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Fn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return jn();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!Ve(i))return jn();const c=r||Ee("modelValue",!0),l=r?Ce(r)?`onUpdate:${r.content}`:_e(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=_e([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const p=[be(c,e.exp),be(l,a)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Pe(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Ce(r)?`${r.content}Modifiers`:_e([r,' + "Modifiers"']):"modelModifiers";p.push(be(n,Ee(`{ ${t} }`,!1,e.loc,2)))}return jn(p)};function jn(e=[]){return{props:e}}const Hn=/[\w).+\-_$\]]/,Wn=(e,t)=>{rt("COMPILER_FILTER",t)&&(5===e.type&&Kn(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Kn(e.exp,t)})))};function Kn(e,t){if(4===e.type)Un(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Un(o,t):8===o.type?Kn(e,t):5===o.type&&Kn(o.content,t))}}function Un(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&Hn.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=Jn(i,m[s],t);e.content=i}}function Jn(e,t,n){n.helper(W);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${Qe(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${Qe(r,"filter")}(${e}${")"!==s?","+s:s}`}}const Gn=new WeakSet,zn=(e,t)=>{if(1===e.type){const n=Fe(e,"memo");if(!n||Gn.has(e))return;return Gn.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&tt(o,t),e.codegenNode=Ne(t.helper(ue),[n.exp,Te(void 0,o),"_cache",String(t.cached++)]))}}};function Yn(e){return[[Bn,on,zn,an,Wn,Mn,xn,vn,An],{on:Ln,bind:$n,model:Fn}]}function qn(e,t={}){const n=t.onError||T,o="module"===t.mode;!0===t.prefixIdentifiers?n(O(45)):o&&n(O(46));t.cacheHandlers&&n(O(47)),t.scopeId&&!o&&n(O(48));const r=d(e)?at(e,t):e,[s,i]=Yn();return Ht(r,u({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:u({},i,t.directiveTransforms||{})})),Jt(r,u({},t,{prefixIdentifiers:false}))}const Zn=()=>({props:[]}),Xn=Symbol(""),Qn=Symbol(""),eo=Symbol(""),to=Symbol(""),no=Symbol(""),oo=Symbol(""),ro=Symbol(""),so=Symbol(""),io=Symbol(""),co=Symbol("");let lo;he({[Xn]:"vModelRadio",[Qn]:"vModelCheckbox",[eo]:"vModelText",[to]:"vModelSelect",[no]:"vModelDynamic",[oo]:"withModifiers",[ro]:"withKeys",[so]:"vShow",[io]:"Transition",[co]:"TransitionGroup"});const ao=t("style,iframe,script,noscript",!0),po={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return lo||(lo=document.createElement("div")),t?(lo.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,lo.children[0].getAttribute("foo")):(lo.innerHTML=e,lo.textContent)},isBuiltInComponent:e=>Ie(e,"Transition")?io:Ie(e,"TransitionGroup")?co: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({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(ao(e))return 2}return 0}},uo=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ee("style",!0,t.loc),exp:fo(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},fo=(e,t)=>{const r=function(e){const t={};return e.split(n).forEach((e=>{if(e){const n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return Ee(JSON.stringify(r),!1,t,3)};function ho(e,t){return O(e,t)}const mo=t("passive,once,capture"),go=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),yo=t("left,right"),vo=t("onkeyup,onkeydown,onkeypress",!0),So=(e,t)=>Ce(e)&&"onclick"===e.content.toLowerCase()?Ee(t,!0):4!==e.type?_e(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,bo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Eo=[uo],_o={cloak:Zn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[be(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:[be(Ee("textContent",!0),o?Ne(n.helperString(z),[o],r):Ee("",!0))]}},model:(e,t,n)=>{const o=Fn(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=eo,i=!1;if("input"===r||s){const n=je(t,"type");if(n){if(7===n.type)e=no;else if(n.value)switch(n.value.content){case"radio":e=Xn;break;case"checkbox":e=Qn;break;case"file":i=!0}}else We(t)&&(e=no)}else"select"===r&&(e=to);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Ln(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,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&st("COMPILER_V_ON_NATIVE",n)||mo(o)?i.push(o):yo(o)?Ce(e)?vo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):go(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=So(r,"onContextmenu")),c.includes("middle")&&(r=So(r,"onMouseup")),c.length&&(s=Ne(n.helper(oo),[s,JSON.stringify(c)])),!i.length||Ce(r)&&!vo(r.content)||(s=Ne(n.helper(ro),[s,JSON.stringify(i)])),l.length){const e=l.map(_).join("");r=Ce(r)?Ee(`${r.content}${e}`,!0):_e(["(",r,`) + "${e}"`])}return{props:[be(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(so)})};return e.BASE_TRANSITION=M,e.CAMELIZE=te,e.CAPITALIZE=ne,e.CREATE_BLOCK=w,e.CREATE_COMMENT=A,e.CREATE_ELEMENT_BLOCK=L,e.CREATE_ELEMENT_VNODE=V,e.CREATE_SLOTS=G,e.CREATE_STATIC=B,e.CREATE_TEXT=D,e.CREATE_VNODE=$,e.DOMDirectiveTransforms=_o,e.DOMNodeTransforms=Eo,e.FRAGMENT=k,e.GUARD_REACTIVE_PROPS=Q,e.IS_MEMO_SAME=fe,e.IS_REF=pe,e.KEEP_ALIVE=R,e.MERGE_PROPS=Y,e.NORMALIZE_CLASS=q,e.NORMALIZE_PROPS=X,e.NORMALIZE_STYLE=Z,e.OPEN_BLOCK=P,e.POP_SCOPE_ID=ie,e.PUSH_SCOPE_ID=se,e.RENDER_LIST=U,e.RENDER_SLOT=J,e.RESOLVE_COMPONENT=F,e.RESOLVE_DIRECTIVE=H,e.RESOLVE_DYNAMIC_COMPONENT=j,e.RESOLVE_FILTER=W,e.SET_BLOCK_TRACKING=re,e.SUSPENSE=I,e.TELEPORT=C,e.TO_DISPLAY_STRING=z,e.TO_HANDLERS=ee,e.TO_HANDLER_KEY=oe,e.TRANSITION=io,e.TRANSITION_GROUP=co,e.UNREF=ae,e.V_MODEL_CHECKBOX=Qn,e.V_MODEL_DYNAMIC=no,e.V_MODEL_RADIO=Xn,e.V_MODEL_SELECT=to,e.V_MODEL_TEXT=eo,e.V_ON_WITH_KEYS=ro,e.V_ON_WITH_MODIFIERS=oo,e.V_SHOW=so,e.WITH_CTX=le,e.WITH_DIRECTIVES=K,e.WITH_MEMO=ue,e.WITH_SCOPE_ID=ce,e.advancePositionWithClone=De,e.advancePositionWithMutation=Be,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=qn,e.baseParse=at,e.buildProps=kn,e.buildSlots=bn,e.checkCompatEnabled=st,e.compile=function(e,t={}){return qn(e,u({},po,t,{nodeTransforms:[bo,...Eo,...t.nodeTransforms||[]],directiveTransforms:u({},_o,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=ve,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:me}},e.createBlockStatement=ke,e.createCacheExpression=Oe,e.createCallExpression=Ne,e.createCompilerError=O,e.createCompoundExpression=_e,e.createConditionalExpression=xe,e.createDOMCompilerError=ho,e.createForLoopParams=gn,e.createFunctionExpression=Te,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:me}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:d(e)?Ee(e,!1,t):e}},e.createObjectExpression=Se,e.createObjectProperty=be,e.createReturnStatement=function(e){return{type:26,returns:e,loc:me}},e.createRoot=ge,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:me}},e.createSimpleExpression=Ee,e.createStructuralDirectiveTransform=Kt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:me}},e.createTransformContext=jt,e.createVNodeCall=ye,e.extractIdentifiers=en,e.findDir=Fe,e.findProp=je,e.generate=Jt,e.generateCodeFrame=function(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let s=0;const i=[];for(let c=0;c<o.length;c++)if(s+=o[c].length+(r[c]&&r[c].length||0),s>=t){for(let e=c-2;e<=c+2||n>s;e++){if(e<0||e>=o.length)continue;const l=e+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[e]}`);const a=o[e].length,p=r[e]&&r[e].length||0;if(e===c){const e=t-(s-(a+p)),o=Math.max(1,n>s?a-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>c){if(n>s){const e=Math.max(Math.min(n-s,a),1);i.push(" | "+"^".repeat(e))}s+=a+p}}break}return i.join("\n")},e.getBaseTransformPreset=Yn,e.getInnerRange=Ae,e.getMemoedVNodeCall=et,e.getVNodeBlockHelper=Ye,e.getVNodeHelper=ze,e.hasDynamicKeyVBind=We,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&&Pe(t.content)&&!!n[t.content];case 8:return t.children.some((t=>m(t)&&e(t,n)));case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=de,e.injectProp=Xe,e.isBindKey=He,e.isBuiltInType=Ie,e.isCoreComponent=Re,e.isFunctionType=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),e.isInDestructureAssignment=function(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1},e.isMemberExpression=Ve,e.isReferencedIdentifier=function(e,t,n){return!1},e.isSimpleIdentifier=Pe,e.isSlotOutlet=Ge,e.isStaticExp=Ce,e.isStaticProperty=tn,e.isStaticPropertyKey=(e,t)=>tn(t)&&t.key===e,e.isTemplateNode=Je,e.isText=Ke,e.isVSlot=Ue,e.locStub=me,e.makeBlock=tt,e.noopDirectiveTransform=Zn,e.parse=function(e,t={}){return at(e,u({},po,t))},e.parserOptions=po,e.processExpression=nn,e.processFor=pn,e.processIf=rn,e.processSlotOutlet=Pn,e.registerRuntimeHelpers=he,e.resolveComponentType=On,e.toValidAssetId=Qe,e.trackSlotScopes=vn,e.trackVForSlotScopes=(e,t)=>{let n;if(Je(e)&&e.props.some(Ue)&&(n=Fe(e,"for"))){const e=n.parseResult=hn(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=Ht,e.transformBind=$n,e.transformElement=xn,e.transformExpression=(e,t)=>{if(5===e.type)e.content=nn(e.content);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=nn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=nn(n))}}},e.transformModel=Fn,e.transformOn=Ln,e.transformStyle=uo,e.traverseNode=Wt,e.walkBlockDeclarations=function(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of en(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}},e.walkFunctionParams=function(e,t){for(const n of e.params)for(const e of en(n))t(e)},e.walkIdentifiers=function(e,t,n=!1,o=[],r=Object.create(null)){},e.warnDeprecation=function(e,t,n,...o){if("suppress-warning"===ot(e,t))return;const{message:r,link:s}=nt[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-dom",
3
- "version": "3.2.5",
3
+ "version": "3.2.6",
4
4
  "description": "@vue/compiler-dom",
5
5
  "main": "index.js",
6
6
  "module": "dist/compiler-dom.esm-bundler.js",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-dom#readme",
39
39
  "dependencies": {
40
- "@vue/shared": "3.2.5",
41
- "@vue/compiler-core": "3.2.5"
40
+ "@vue/shared": "3.2.6",
41
+ "@vue/compiler-core": "3.2.6"
42
42
  }
43
43
  }