vue-pure-admin/node_modules/@vue/compiler-dom/dist/compiler-dom.global.prod.js
2021-03-01 15:06:11 +08:00

2 lines
44 KiB
JavaScript

var VueCompilerDOM=function(e,t,n){"use strict";function o(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const r={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},s=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const i=/;(?![^(]*\))/g,c=/:(.+)/;const l=o("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),a=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"),p=o("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),u=["bigInt","optionalChaining","nullishCoalescingOperator"],f=()=>{},d=()=>!1,h=/^on[^a-z]/,m=Object.assign,g=Object.prototype.hasOwnProperty,y=Array.isArray,S=e=>"string"==typeof e,v=e=>"symbol"==typeof e,x=e=>null!==e&&"object"==typeof e,b=o(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},N=/-(\w)/g,E=T(e=>e.replace(N,(e,t)=>t?t.toUpperCase():"")),O=/\B([A-Z])/g,C=T(e=>e.replace(O,"-$1").toLowerCase()),k=T(e=>e.charAt(0).toUpperCase()+e.slice(1)),I=T(e=>e?"on"+k(e):"");function _(e){throw e}function M(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const $=Symbol(""),P=Symbol(""),w=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),A=Symbol(""),D=Symbol(""),B=Symbol(""),F=Symbol(""),j=Symbol(""),H=Symbol(""),U=Symbol(""),K=Symbol(""),G=Symbol(""),W=Symbol(""),J=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={[$]:"Fragment",[P]:"Teleport",[w]:"Suspense",[R]:"KeepAlive",[V]:"BaseTransition",[L]:"openBlock",[A]:"createBlock",[D]:"createVNode",[B]:"createCommentVNode",[F]:"createTextVNode",[j]:"createStaticVNode",[H]:"resolveComponent",[U]:"resolveDynamicComponent",[K]:"resolveDirective",[G]:"withDirectives",[W]:"renderList",[J]:"renderSlot",[z]:"createSlots",[Y]:"toDisplayString",[q]:"mergeProps",[Z]:"toHandlers",[X]:"camelize",[Q]:"capitalize",[ee]:"toHandlerKey",[te]:"setBlockTracking",[ne]:"pushScopeId",[oe]:"popScopeId",[re]:"withScopeId",[se]:"withCtx"};function ce(e){Object.getOwnPropertySymbols(e).forEach(t=>{ie[t]=e[t]})}const le={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ae(e,t=le){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function pe(e,t,n,o,r,s,i,c=!1,l=!1,a=le){return e&&(c?(e.helper(L),e.helper(A)):e.helper(D),i&&e.helper(G)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,loc:a}}function ue(e,t=le){return{type:17,loc:t,elements:e}}function fe(e,t=le){return{type:15,loc:t,properties:e}}function de(e,t){return{type:16,loc:le,key:S(e)?he(e,!0):e,value:t}}function he(e,t,n=le,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function me(e,t=le){return{type:8,loc:t,children:e}}function ge(e,t=[],n=le){return{type:14,loc:n,callee:e,arguments:t}}function ye(e,t,n=!1,o=!1,r=le){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Se(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:le}}function ve(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:le}}const xe=e=>4===e.type&&e.isStatic,be=(e,t)=>e===t||e===C(t);function Te(e){return be(e,"Teleport")?P:be(e,"Suspense")?w:be(e,"KeepAlive")?R:be(e,"BaseTransition")?V:void 0}const Ne=/^\d|[^\$\w]/,Ee=e=>!Ne.test(e),Oe=/^[A-Za-z_$][\w$]*(?:\s*\.\s*[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,Ce=e=>!!e&&Oe.test(e.trim());function ke(e,t,n){const o={source:e.source.substr(t,n),start:Ie(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Ie(e.start,e.source,t+n)),o}function Ie(e,t,n=t.length){return _e(m({},e),t,n)}function _e(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Me(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(S(t)?r.name===t:t.test(r.name)))return r}}function $e(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)&&Pe(s.arg,t))return s}}function Pe(e,t){return!(!e||!xe(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 Re(e){return 5===e.type||2===e.type}function Ve(e){return 7===e.type&&"slot"===e.name}function Le(e){return 1===e.type&&3===e.tagType}function Ae(e){return 1===e.type&&2===e.tagType}function De(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||S(r))o=fe([t]);else if(14===r.type){const e=r.arguments[0];S(e)||15!==e.type?r.callee===Z?o=ge(n.helper(q),[fe([t]),r]):r.arguments.unshift(fe([t])):e.properties.unshift(t),!o&&(o=r)}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=ge(n.helper(q),[fe([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function Be(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Fe=/&(gt|lt|amp|apos|quot);/g,je={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},He={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:d,isPreTag:d,isCustomElement:d,decodeEntities:e=>e.replace(Fe,(e,t)=>je[t]),onError:_,comments:!1};function Ue(e,t={}){const n=function(e,t){const n=m({},He);for(const e in t)n[e]=t[e]||He[e];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=ot(n);return ae(Ke(n,0,[]),rt(n,o))}function Ke(e,t,n){const o=st(n),r=o?o.ns:0,s=[];for(;!pt(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&it(i,e.options.delimiters[0]))c=et(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=it(i,"\x3c!--")?Je(e):it(i,"<!DOCTYPE")?ze(e):it(i,"<![CDATA[")&&0!==r?We(e,n):ze(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){ct(e,3);continue}if(/[a-z]/i.test(i[2])){Ze(e,1,o);continue}c=ze(e)}else/[a-z]/i.test(i[1])?c=Ye(e,n):"?"===i[1]&&(c=ze(e));if(c||(c=tt(e,t)),y(c))for(let e=0;e<c.length;e++)Ge(s,c[e]);else Ge(s,c)}let i=!1;if(2!==t){for(let t=0;t<s.length;t++){const n=s[t];if(!e.inPre&&2===n.type)if(/[^\t\r\n\f ]/.test(n.content))n.content=n.content.replace(/[\t\r\n\f ]+/g," ");else{const e=s[t-1],o=s[t+1];!e||!o||3===e.type||3===o.type||1===e.type&&1===o.type&&/[\r\n]/.test(n.content)?(i=!0,s[t]=null):n.content=" "}3!==n.type||e.options.comments||(i=!0,s[t]=null)}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 Ge(e,t){if(2===t.type){const n=st(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 We(e,t){ct(e,9);const n=Ke(e,3,t);return 0===e.source.length||ct(e,3),n}function Je(e){const t=ot(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));)ct(e,s-r+1),r=s+1;ct(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),ct(e,e.source.length);return{type:3,content:n,loc:rt(e,t)}}function ze(e){const t=ot(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),ct(e,e.source.length)):(o=e.source.slice(n,r),ct(e,r+1)),{type:3,content:o,loc:rt(e,t)}}function Ye(e,t){const n=e.inPre,o=e.inVPre,r=st(t),s=Ze(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const l=e.options.getTextMode(s,r),a=Ke(e,l,t);if(t.pop(),s.children=a,ut(e.source,s.tag))Ze(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&it(e.loc.source,"\x3c!--")}return s.loc=rt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const qe=o("if,else,else-if,for,slot");function Ze(e,t,n){const o=ot(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);ct(e,r[0].length),lt(e);const c=ot(e),l=e.source;let a=Xe(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,m(e,c),e.source=l,a=Xe(e,t).filter(e=>"v-pre"!==e.name));let p=!1;0===e.source.length||(p=it(e.source,"/>"),ct(e,p?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(u=1):(e||Te(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&a.some(e=>7===e.type&&qe(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:rt(e,o),codegenNode:void 0}}function Xe(e,t){const n=[],o=new Set;for(;e.source.length>0&&!it(e.source,">")&&!it(e.source,"/>");){if(it(e.source,"/")){ct(e,1),lt(e);continue}const r=Qe(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),lt(e)}return n}function Qe(e,t){const n=ot(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););}ct(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(lt(e),ct(e,1),lt(e),r=function(e){const t=ot(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){ct(e,1);const t=e.source.indexOf(o);-1===t?n=nt(e,e.source.length,4):(n=nt(e,t,4),ct(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=nt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:rt(e,t)}}(e));const s=rt(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(it(o,":")?"bind":it(o,"@")?"on":"slot");let c;if(t[2]){const r="slot"===i,s=o.indexOf(t[2]),l=rt(e,at(e,n,s),at(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]||""),c={type:4,content:a,isStatic:p,isConstant:p,loc:l}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Ie(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:c,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function et(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=ot(e);ct(e,n.length);const i=ot(e),c=ot(e),l=r-n.length,a=e.source.slice(0,l),p=nt(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&_e(i,a,f);return _e(c,a,l-(p.length-u.length-f)),ct(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:rt(e,i,c)},loc:rt(e,s)}}function tt(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=ot(e);return{type:2,content:nt(e,o,t),loc:rt(e,r)}}function nt(e,t,n){const o=e.source.slice(0,t);return ct(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function ot(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function rt(e,t,n){return{start:t,end:n=n||ot(e),source:e.originalSource.slice(t.offset,n.offset)}}function st(e){return e[e.length-1]}function it(e,t){return e.startsWith(t)}function ct(e,t){const{source:n}=e;_e(e,n,t),e.source=n.slice(t)}function lt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&ct(e,t[0].length)}function at(e,t,n){return Ie(t,e.originalSource.slice(t.offset,n),n)}function pt(e,t,n){const o=e.source;switch(t){case 0:if(it(o,"</"))for(let e=n.length-1;e>=0;--e)if(ut(o,n[e].tag))return!0;break;case 1:case 2:{const e=st(n);if(e&&ut(o,e.tag))return!0;break}case 3:if(it(o,"]]>"))return!0}return!o}function ut(e,t){return it(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function ft(e,t){ht(e,t,new Map,dt(e,e.children[0]))}function dt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ae(t)}function ht(e,t,n,o=!1){let r=!1,s=!1;const{children:i}=e;for(let e=0;e<i.length;e++){const c=i[e];if(1===c.type&&0===c.tagType){let e;if(!o&&(e=mt(c,n))>0){2===e&&(s=!0),c.codegenNode.patchFlag="-1",c.codegenNode=t.hoist(c.codegenNode),r=!0;continue}{const e=c.codegenNode;if(13===e.type){const n=St(e);if(!(n&&512!==n&&1!==n||gt(c))){const n=yt(c);n&&(e.props=t.hoist(n))}}}}else if(12===c.type){const e=mt(c.content,n);e>0&&(2===e&&(s=!0),c.codegenNode=t.hoist(c.codegenNode),r=!0)}if(1===c.type)ht(c,t,n);else if(11===c.type)ht(c,t,n,1===c.children.length);else if(9===c.type)for(let e=0;e<c.branches.length;e++)ht(c.branches[e],t,n,1===c.branches[e].children.length)}!s&&r&&t.transformHoist&&t.transformHoist(i,t,e)}function mt(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return 0;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return 0;if(St(o)||gt(e))return t.set(e,0),0;{let n=1;for(let o=0;o<e.children.length;o++){const r=mt(e.children[o],t);if(0===r)return t.set(e,0),0;2===r&&(n=2)}if(2!==n)for(let t=0;t<e.props.length;t++){const o=e.props[t];7===o.type&&"bind"===o.name&&o.exp&&(8===o.exp.type||o.exp.isRuntimeConstant)&&(n=2)}return o.isBlock&&(o.isBlock=!1),t.set(e,n),n}case 2:case 3:return 1;case 9:case 11:case 10:return 0;case 5:case 12:return mt(e.content,t);case 4:return e.isConstant?e.isRuntimeConstant?2:1:0;case 8:let r=1;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(S(o)||v(o))continue;const s=mt(o,t);if(0===s)return 0;2===s&&(r=2)}return r;default:return 0}}function gt(e){const t=yt(e);if(t&&15===t.type){const{properties:e}=t;for(let t=0;t<e.length;t++){const{key:n,value:o}=e[t];if(4!==n.type||!n.isStatic||4!==o.type||!o.isStatic&&!o.isConstant)return!0}}return!1}function yt(e){const t=e.codegenNode;if(13===t.type)return t.props}function St(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function vt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:c=f,isCustomElement:l=f,expressionPlugins:a=[],scopeId:p=null,ssr:u=!1,ssrCssVars:d="",bindingMetadata:h={},onError:m=_}){const g={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:c,isCustomElement:l,expressionPlugins:a,scopeId:p,ssr:u,ssrCssVars:d,bindingMetadata:h,onError:m,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(g.helpers.add(e),e),helperString:e=>"_"+ie[g.helper(e)],replaceNode(e){g.parent.children[g.childIndex]=g.currentNode=e},removeNode(e){const t=e?g.parent.children.indexOf(e):g.currentNode?g.childIndex:-1;e&&e!==g.currentNode?g.childIndex>t&&(g.childIndex--,g.onNodeRemoved()):(g.currentNode=null,g.onNodeRemoved()),g.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){g.hoists.push(e);const t=he("_hoisted_"+g.hoists.length,!1,e.loc,!0);return t.hoisted=e,t},cache:(e,t=!1)=>ve(++g.cached,e,t)};return g}function xt(e,t){const n=vt(e,t);bt(e,n),t.hoistStatic&&ft(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const t=o[0];if(dt(e,t)&&t.codegenNode){const o=t.codegenNode;13===o.type&&(o.isBlock=!0,n(L),n(A)),e.codegenNode=o}else e.codegenNode=t}else o.length>1&&(e.codegenNode=pe(t,n($),void 0,e.children,`64 /* ${r[64]} */`,void 0,void 0,!0))}(e,n),e.helpers=[...n.helpers],e.components=[...n.components],e.directives=[...n.directives],e.imports=[...n.imports],e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function bt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(y(s)?o.push(...s):o.push(s)),!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++)bt(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];S(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,bt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Tt(e,t){const n=S(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(Ve))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 Nt="/*#__PURE__*/";function Et(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}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>"_"+ie[e],push(e,t){p.code+=e},indent(){u(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:u(--p.indentLevel)},newline(){u(p.indentLevel)}};function u(e){p.push("\n"+" ".repeat(e))}return p}(e,t);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=>`${ie[e]}: _${ie[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[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} = `),It(e,t),o())}),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);const f=t.bindingMetadata?", $props, $setup, $data, $options":"";if(r(a?`function ssrRender(_ctx, _push, _parent, _attrs${f}) {`:`function render(_ctx, _cache${f}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map(e=>`${ie[e]}: _${ie[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Ot(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Ot(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?It(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function Ot(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?H:K);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Be(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function Ct(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),kt(e,t,n),n&&t.deindent(),t.push("]")}function kt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];S(c)?r(c):y(c)?Ct(c,t):It(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function It(e,t){if(S(e))t.push(e);else if(v(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:It(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:_t(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Nt);n(o(Y)+"("),It(e.content,t),n(")")}(e,t);break;case 12:It(e.codegenNode,t);break;case 8:Mt(e,t);break;case 3: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}=e;p&&n(o(G)+"(");u&&n(`(${o(L)}(${f?"true":""}), `);r&&n(Nt);n(o(u?A:D)+"(",e),kt(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(", "),It(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=S(e.callee)?e.callee:o(e.callee);r&&n(Nt);n(s+"(",e),kt(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 e=0;e<i.length;e++){const{key:o,value:r}=i[e];$t(o,t),n(": "),It(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){Ct(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(`_${ie[se]}(`);n("(",e),y(s)?kt(s,t):s&&It(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),y(i)?Ct(i,t):It(i,t)):c&&It(c,t);(l||c)&&(r(),n("}"));a&&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=!Ee(n.content);e&&i("("),_t(n,t),e&&i(")")}else i("("),It(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),It(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;It(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(te)+"(-1),"),i());n(`_cache[${e.index}] = `),It(e.value,t),e.isVNode&&(n(","),i(),n(o(te)+"(1),"),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function _t(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Mt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];S(o)?t.push(o):It(o,t)}}function $t(e,t){const{push:n}=t;if(8===e.type)n("["),Mt(e,t),n("]");else if(e.isStatic){n(Ee(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Pt=o("true,false,null,this");function wt(e,o,r=!1,i=!1){if(!o.prefixIdentifiers||!e.content.trim())return e;const{bindingMetadata:c}=o,l=e=>`${g.call(c,e)?"$"+c[e]:"_ctx"}.${e}`,a=e.content,p=a.indexOf("(")>-1;if(Ee(a))return r||o.identifiers[a]||s(a)||Pt(a)?o.identifiers[a]||p||(e.isConstant=!0):e.content=l(a),e;let f;const d=i?` ${a} `:`(${a})${r?"=>{}":""}`;try{f=t.parse(d,{plugins:[...o.expressionPlugins,...u]}).program}catch(t){return e}const h=[],m=Object.create(o.identifiers);n.walk(f,{enter(e,t){if("Identifier"===e.type){if(!(e=>h.some(t=>t.start===e.start))(e)){const n=function(e,t){if((!Rt(t)||t.id!==e&&!t.params.includes(e))&&!At(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!s(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!m[e.name]&&n?(Lt(e,t)&&(e.prefix=e.name+": "),e.name=l(e.name),h.push(e)):At(e,t)||(n&&m[e.name]||p||(e.isConstant=!0),h.push(e))}}else Rt(e)&&e.params.forEach(t=>n.walk(t,{enter(t,n){if(!("Identifier"!==t.type||At(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in m?m[n]++:m[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==f.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{m[e]--,0===m[e]&&delete m[e]})}});const y=[];let S;return h.sort((e,t)=>e.start-t.start),h.forEach((t,n)=>{const o=t.start-1,r=t.end-1,s=h[n-1],i=a.slice(s?s.end-1:0,o);(i.length||t.prefix)&&y.push(i+(t.prefix||""));const c=a.slice(o,r);y.push(he(t.name,!1,{source:c,start:Ie(e.loc.start,c,o),end:Ie(e.loc.start,c,r)},t.isConstant)),n===h.length-1&&r<a.length&&y.push(a.slice(r))}),y.length?S=me(y,e.loc):(S=e,S.isConstant=!p),S.identifiers=Object.keys(m),S}const Rt=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Vt=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,Lt=(e,t)=>Vt(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,At=(e,t)=>Vt(t)&&t.key===e;const Dt=Tt(/^(if|else|else-if)$/,(e,t,n)=>Bt(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=jt(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=jt(t,i+e.branches.length-1,n)}}}));function Bt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=he("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Ft(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=Ft(e,t);i.branches.push(r);const s=o&&o(i,r,!1);bt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function Ft(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Me(e,"for")?[e]:e.children,userKey:$e(e,"key")}}function jt(e,t,n){return e.condition?Se(e.condition,Ht(e,t,n),ge(n.helper(B),['""',"true"])):Ht(e,t,n)}function Ht(e,t,n){const{helper:o}=n,s=de("key",he(""+t,!1,le,!0)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return De(e,s,n),e}return pe(n,o($),fe([s]),i,`64 /* ${r[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13===e.type&&(e.isBlock=!0,o(L),o(A)),De(e,s,n),e}}const Ut=Tt("for",(e,t,n)=>{const{helper:o}=n;return Kt(e,t,n,t=>{const s=ge(o(W),[t.source]),i=$e(e,"key"),c=i?de("key",6===i.type?he(i.value.content,!0):i.exp):null,l=4===t.source.type&&t.source.isConstant,a=l?64:i?128:256;return t.codegenNode=pe(n,o($),void 0,s,`${a} /* ${r[a]} */`,void 0,void 0,!0,!l,e.loc),()=>{let i;const a=Le(e),{children:p}=t,u=1!==p.length||1!==p[0].type,f=Ae(e)?e:a&&1===e.children.length&&Ae(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&c&&De(i,c,n)):u?i=pe(n,o($),c?fe([c]):void 0,e.children,`64 /* ${r[64]} */`,void 0,void 0,!0):(i=p[0].codegenNode,a&&c&&De(i,c,n),i.isBlock=!l,i.isBlock&&(o(L),o(A))),s.arguments.push(ye(qt(t.parseResult),i,!0))}})});function Kt(e,t,n,o){if(!t.exp)return;const r=zt(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:Le(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Gt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Wt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Jt=/^\(|\)$/g;function zt(e,t){const n=e.loc,o=e.content,r=o.match(Gt);if(!r)return;const[,s,i]=r,c={source:Yt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Jt,"").trim();const a=s.indexOf(l),p=l.match(Wt);if(p){l=l.replace(Wt,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Yt(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Yt(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Yt(n,l,a)),c}function Yt(e,t,n){return he(t,!1,ke(e,n,t.length))}function qt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(he("_",!1)),o.push(t)),n&&(t||(e||o.push(he("_",!1)),o.push(he("__",!1))),o.push(n)),o}const Zt=he("undefined",!1),Xt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Me(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},Qt=(e,t,n)=>ye(e,t,!1,!0,t.length?t[0].loc:n);function en(e,t,n=Qt){t.helper(se);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>de("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Me(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!xe(e)&&(l=!0),s.push(de(e||he("default",!0),n(t,o,r)))}let p=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Le(r)||!(c=Me(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(a)break;p=!0;const{children:h,loc:m}=r,{arg:g=he("default",!0),exp:y}=c;let S;xe(g)?S=g?g.content:"default":l=!0;const v=n(y,h,m);let x,b,T;if(x=Me(r,"if"))l=!0,i.push(Se(x.exp,tn(g,v),Zt));else if(b=Me(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Le(t)&&Me(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=b.exp?Se(b.exp,tn(g,v),Zt):tn(g,v)}}else if(T=Me(r,"for")){l=!0;const e=T.parseResult||zt(T.exp);e&&i.push(ge(t.helper(W),[e.source,ye(qt(e),tn(g,v),!0)]))}else{if(S){if(d.has(S))continue;d.add(S),"default"===S&&(u=!0)}s.push(de(g,v))}}a||(p?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));const h=l?2:nn(e.children)?3:1;let m=fe(s.concat(de("_",he(""+h,!1))),r);return i.length&&(m=ge(t.helper(z),[m,ue(i)])),{slots:m,hasDynamicSlots:l}}function tn(e,t){return fe([de("name",e),de("fn",t)])}function nn(e){for(let t=0;t<e.length;t++){const n=e[t];if(1===n.type&&(2===n.tagType||0===n.tagType&&nn(n.children)))return!0}return!1}const on=new WeakMap,rn=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?sn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=x(s)&&s.callee===U||s===P||s===w||!r&&("svg"===n||"foreignObject"===n||$e(e,"key",!0));if(o.length>0){const n=cn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?ue(o.map(e=>function(e,t){const n=[],o=on.get(e);o?n.push(t.helperString(o)):(t.helper(K),t.directives.add(e.name),n.push(Be(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=he("true",!1,r);n.push(fe(e.modifiers.map(e=>de(e,t)),r))}return ue(n,e.loc)}(e,t))):void 0}if(e.children.length>0){s===R&&(d=!0,f|=1024);if(r&&s!==P&&s!==R){const{slots:n,hasDynamicSlots:o}=en(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==P){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!mt(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=pe(t,s,i,c,l,a,u,!!d,!1,e.loc)}};function sn(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?$e(e,"is"):Me(e,"is");if(r){const e=6===r.type?r.value&&he(r.value.content,!0):r.exp;if(e)return ge(t.helper(U),[e])}const s=Te(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):"setup"===t.bindingMetadata[o]?`$setup[${JSON.stringify(o)}]`:(t.helper(H),t.components.add(o),Be(o,"component"))}function cn(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,f=!1,d=!1,m=!1,g=!1,y=!1;const S=[],x=({key:e,value:t})=>{if(xe(e)){const n=e.content,o=(e=>h.test(e))(n);if(i||!o||"onclick"===n.toLowerCase()||"onUpdate:modelValue"===n||b(n)||(m=!0),o&&b(n)&&(y=!0),20===t.type||(4===t.type||8===t.type)&&mt(t)>0)return;"ref"===n?u=!0:"class"!==n||i?"style"!==n||i?"key"===n||S.includes(n)||S.push(n):d=!0:f=!0}else g=!0};for(let i=0;i<n.length;i++){const p=n[i];if(6===p.type){const{loc:e,name:t,value:n}=p;if("ref"===t&&(u=!0),"is"===t&&"component"===r)continue;c.push(de(he(t,!0,ke(e,0,t.length)),he(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:u,loc:f}=p,d="bind"===n,h="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||d&&"component"===r&&Pe(i,"is"))continue;if(h&&o)continue;if(!i&&(d||h)){g=!0,u&&(c.length&&(l.push(fe(ln(c),s)),c=[]),l.push(d?u:{type:14,loc:f,callee:t.helper(Z),arguments:[u]}));continue}const m=t.directiveTransforms[n];if(m){const{props:n,needRuntime:r}=m(p,e,t);!o&&n.forEach(x),c.push(...n),r&&(a.push(p),v(r)&&on.set(p,r))}else a.push(p)}}let T=void 0;return l.length?(c.length&&l.push(fe(ln(c),s)),T=l.length>1?ge(t.helper(q),l,s):l[0]):c.length&&(T=fe(ln(c),s)),g?p|=16:(f&&(p|=2),d&&(p|=4),S.length&&(p|=8),m&&(p|=32)),0!==p&&32!==p||!(u||y||a.length>0)||(p|=512),{props:T,directives:a,patchFlag:p,dynamicPropNames:S}}function ln(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=ue([e.value,t.value],e.loc)}const pn=(e,t)=>{if(Ae(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=un(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(ye([],n,!1,!1,o))),e.codegenNode=ge(t.helper(J),i,o)}};function un(e,t){let n='"default"',o=void 0;const r=$e(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=cn(e,t,s);o=n}return{slotName:n,slotProps:o}}const fn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,dn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=he(I(E(i.content)),!0,i.loc)}else c=me([n.helperString(ee)+"(",i,")"]);else c=i,c.children.unshift(n.helperString(ee)+"("),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l;if(l){const e=Ce(l.content),t=!(e||fn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=me([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[de(c,l||he("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},hn=(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(X)}(${i.content})`:(i.children.unshift(n.helperString(X)+"("),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[de(i,he("",!0,s))]}:{props:[de(i,o)]}},mn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o=void 0,s=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Re(t)){s=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Re(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(s&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<n.length;e++){const o=n[e];if(Re(o)||8===o.type){const s=[];2===o.type&&" "===o.content||s.push(o),t.ssr||2===o.type||s.push(`1 /* ${r[1]} */`),n[e]={type:12,content:o,loc:o.loc,codegenNode:ge(t.helper(F),s)}}}}},gn=new WeakSet,yn=(e,t)=>{if(1===e.type&&Me(e,"once",!0)){if(gn.has(e))return;return gn.add(e),t.helper(te),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Sn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return vn();if(!Ce(4===o.type?o.content:o.loc.source))return vn();const s=r||he("modelValue",!0),i=r?xe(r)?"onUpdate:"+r.content:me(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[de(s,e.exp),de(i,me(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Ee(e)?e:JSON.stringify(e))+": true").join(", "),n=r?xe(r)?r.content+"Modifiers":me([r,' + "Modifiers"']):"modelModifiers";c.push(de(n,he(`{ ${t} }`,!1,e.loc,!0)))}return vn(c)};function vn(e=[]){return{props:e}}function xn(e){return[[yn,Dt,Ut,pn,rn,Xt,mn],{on:dn,bind:hn,model:Sn}]}function bn(e,t={}){const n=t.onError||_,o="module"===t.mode;!0===t.prefixIdentifiers?n(M(45)):o&&n(M(46));t.cacheHandlers&&n(M(47)),t.scopeId&&!o&&n(M(48));const r=S(e)?Ue(e,t):e,[s,i]=xn();return xt(r,m({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:m({},i,t.directiveTransforms||{})})),Et(r,m({},t,{prefixIdentifiers:false}))}const Tn=()=>({props:[]}),Nn=Symbol(""),En=Symbol(""),On=Symbol(""),Cn=Symbol(""),kn=Symbol(""),In=Symbol(""),_n=Symbol(""),Mn=Symbol(""),$n=Symbol(""),Pn=Symbol("");let wn;ce({[Nn]:"vModelRadio",[En]:"vModelCheckbox",[On]:"vModelText",[Cn]:"vModelSelect",[kn]:"vModelDynamic",[In]:"withModifiers",[_n]:"withKeys",[Mn]:"vShow",[$n]:"Transition",[Pn]:"TransitionGroup"});const Rn=o("style,iframe,script,noscript",!0),Vn={isVoidTag:p,isNativeTag:e=>l(e)||a(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(wn||(wn=document.createElement("div"))).innerHTML=e,wn.textContent},isBuiltInComponent:e=>be(e,"Transition")?$n:be(e,"TransitionGroup")?Pn: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(Rn(e))return 2}return 0}},Ln=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:he("style",!0,t.loc),exp:An(t.value.content,t.loc),modifiers:[],loc:t.loc})})},An=(e,t)=>{const n=function(e){const t={};return e.split(i).forEach(e=>{if(e){const n=e.split(c);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(e);return he(JSON.stringify(n),!1,t,!0)};function Dn(e,t){return M(e,t)}const Bn=o("passive,once,capture"),Fn=o("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),jn=o("left,right"),Hn=o("onkeyup,onkeydown,onkeypress",!0),Un=(e,t)=>xe(e)&&"onclick"===e.content.toLowerCase()?he(t,!0):4!==e.type?me(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Kn=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Gn=[Ln],Wn={cloak:Tn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[de(he("innerHTML",!0,r),o||he("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[de(he("textContent",!0),o?ge(n.helperString(Y),[o],r):he("",!0))]}},model:(e,t,n)=>{const o=Sn(e,t);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=On,i=!1;if("input"===r||s){const n=$e(t,"type");if(n){if(7===n.type)e=kn;else if(n.value)switch(n.value.content){case"radio":e=Nn;break;case"checkbox":e=En;break;case"file":i=!0}}else we(t)&&(e=kn)}else"select"===r&&(e=Cn);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)=>dn(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)=>{const n=[],o=[],r=[];for(let s=0;s<t.length;s++){const i=t[s];Bn(i)?r.push(i):jn(i)?xe(e)?Hn(e.content)?n.push(i):o.push(i):(n.push(i),o.push(i)):Fn(i)?o.push(i):n.push(i)}return{keyModifiers:n,nonKeyModifiers:o,eventOptionModifiers:r}})(r,o);if(c.includes("right")&&(r=Un(r,"onContextmenu")),c.includes("middle")&&(r=Un(r,"onMouseup")),c.length&&(s=ge(n.helper(In),[s,JSON.stringify(c)])),!i.length||xe(r)&&!Hn(r.content)||(s=ge(n.helper(_n),[s,JSON.stringify(i)])),l.length){const e=l.map(k).join("");r=xe(r)?he(`${r.content}${e}`,!0):me(["(",r,`) + "${e}"`])}return{props:[de(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(Mn)})};return e.BASE_TRANSITION=V,e.CAMELIZE=X,e.CAPITALIZE=Q,e.CREATE_BLOCK=A,e.CREATE_COMMENT=B,e.CREATE_SLOTS=z,e.CREATE_STATIC=j,e.CREATE_TEXT=F,e.CREATE_VNODE=D,e.DOMDirectiveTransforms=Wn,e.DOMNodeTransforms=Gn,e.FRAGMENT=$,e.KEEP_ALIVE=R,e.MERGE_PROPS=q,e.OPEN_BLOCK=L,e.POP_SCOPE_ID=oe,e.PUSH_SCOPE_ID=ne,e.RENDER_LIST=W,e.RENDER_SLOT=J,e.RESOLVE_COMPONENT=H,e.RESOLVE_DIRECTIVE=K,e.RESOLVE_DYNAMIC_COMPONENT=U,e.SET_BLOCK_TRACKING=te,e.SUSPENSE=w,e.TELEPORT=P,e.TO_DISPLAY_STRING=Y,e.TO_HANDLERS=Z,e.TO_HANDLER_KEY=ee,e.TRANSITION=$n,e.TRANSITION_GROUP=Pn,e.V_MODEL_CHECKBOX=En,e.V_MODEL_DYNAMIC=kn,e.V_MODEL_RADIO=Nn,e.V_MODEL_SELECT=Cn,e.V_MODEL_TEXT=On,e.V_ON_WITH_KEYS=_n,e.V_ON_WITH_MODIFIERS=In,e.V_SHOW=Mn,e.WITH_CTX=se,e.WITH_DIRECTIVES=G,e.WITH_SCOPE_ID=re,e.advancePositionWithClone=Ie,e.advancePositionWithMutation=_e,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=bn,e.baseParse=Ue,e.buildProps=cn,e.buildSlots=en,e.compile=function(e,t={}){return bn(e,m({},Vn,t,{nodeTransforms:[Kn,...Gn,...t.nodeTransforms||[]],directiveTransforms:m({},Wn,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=ue,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:le}},e.createBlockStatement=function(e){return{type:21,body:e,loc:le}},e.createCacheExpression=ve,e.createCallExpression=ge,e.createCompilerError=M,e.createCompoundExpression=me,e.createConditionalExpression=Se,e.createDOMCompilerError=Dn,e.createForLoopParams=qt,e.createFunctionExpression=ye,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:le}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:S(e)?he(e,!1,t):e}},e.createObjectExpression=fe,e.createObjectProperty=de,e.createReturnStatement=function(e){return{type:26,returns:e,loc:le}},e.createRoot=ae,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:le}},e.createSimpleExpression=he,e.createStructuralDirectiveTransform=Tt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:le}},e.createTransformContext=vt,e.createVNodeCall=pe,e.findDir=Me,e.findProp=$e,e.generate=Et,e.generateCodeFrame=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},e.getBaseTransformPreset=xn,e.getInnerRange=ke,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&&Ee(t.content)&&!!n[t.content];case 8:return t.children.some(t=>x(t)&&e(t,n));case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=ie,e.injectProp=De,e.isBindKey=Pe,e.isBuiltInType=be,e.isCoreComponent=Te,e.isMemberExpression=Ce,e.isSimpleIdentifier=Ee,e.isSlotOutlet=Ae,e.isStaticExp=xe,e.isTemplateNode=Le,e.isText=Re,e.isVSlot=Ve,e.locStub=le,e.noopDirectiveTransform=Tn,e.parse=function(e,t={}){return Ue(e,m({},Vn,t))},e.parserOptions=Vn,e.processExpression=wt,e.processFor=Kt,e.processIf=Bt,e.processSlotOutlet=un,e.registerRuntimeHelpers=ce,e.resolveComponentType=sn,e.toValidAssetId=Be,e.trackSlotScopes=Xt,e.trackVForSlotScopes=(e,t)=>{let n;if(Le(e)&&e.props.some(Ve)&&(n=Me(e,"for"))){const e=n.parseResult=zt(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=xt,e.transformBind=hn,e.transformElement=rn,e.transformExpression=(e,t)=>{if(5===e.type)e.content=wt(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=wt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=wt(n,t))}}},e.transformModel=Sn,e.transformOn=dn,e.transformStyle=Ln,e.traverseNode=bt,e}({},parser,estreeWalker);