Files
client/node_modules/vue/dist/vue.esm-browser.prod.js
T

12 lines
177 KiB
JavaScript
Raw Normal View History

2026-10-07 18:56:27 +02:00
/**
* vue v3.6.0-rc.10
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};function n(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}const r={},i=[],a=()=>{},o=()=>!1,s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,l=e=>e.startsWith(`onUpdate:`),u=Object.assign,d=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},f=Object.prototype.hasOwnProperty,p=(e,t)=>f.call(e,t),m=Array.isArray,h=e=>T(e)===`[object Map]`,g=e=>T(e)===`[object Set]`,_=e=>T(e)===`[object Date]`,v=e=>T(e)===`[object RegExp]`,y=e=>typeof e==`function`,b=e=>typeof e==`string`,x=e=>typeof e==`symbol`,S=e=>typeof e==`object`&&!!e,C=e=>(S(e)||y(e))&&y(e.then)&&y(e.catch),w=Object.prototype.toString,T=e=>w.call(e),E=e=>T(e).slice(8,-1),D=e=>T(e)===`[object Object]`,O=e=>b(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,ee=n(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),te=n(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),ne=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},re=/-(\w)/g,ie=(e,t)=>t?t.toUpperCase():``,k=ne(e=>e.replace(re,ie)),ae=/\B([A-Z])/g,oe=ne(e=>e.replace(ae,`-$1`).toLowerCase()),se=ne(e=>e.charAt(0).toUpperCase()+e.slice(1)),ce=ne(e=>e?`on${se(e)}`:``),le=e=>`${e===`modelValue`||e===`model-value`?`model`:e}Modifiers${e===`model`?`$`:``}`,A=(e,t)=>!Object.is(e,t),ue=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},de=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},fe=e=>{let t=parseFloat(e);return isNaN(t)?e:t},pe=e=>{let t=b(e)?Number(e):NaN;return isNaN(t)?e:t};let me;const he=()=>me||(me=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{});function ge(e,t){return e+JSON.stringify(t,(e,t)=>typeof t==`function`?t.toString():t)}function _e(e){return e!==`PROGRESS`&&!e.includes(`-`)}const ve=n(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function ye(e){if(m(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=b(r)?Ce(r):ye(r);if(i)for(let e in i)t[e]=i[e]}return t}if(b(e)||S(e))return e}const be=/;(?![^(]*\))/g,xe=/:([^]+)/,Se=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function Ce(e){let t={};return e.replace(Se,e=>e.startsWith(`/*`)?``:e).split(be).forEach(e=>{if(e){let n=e.split(xe);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function we(e){let t=``;if(b(e))t=e;else if(m(e))for(let n=0;n<e.length;n++){let r=we(e[n]);r&&(t+=r+` `)}else if(S(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function Te(e){if(!e)return null;let{class:t,style:n}=e;return t&&!b(t)&&(e.class=we(t)),n&&(e.style=ye(n)),e}const Ee=n(`html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot`),De=n(`svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbu
`&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
`)&&(Ji(e,0)||Li(),e.textContent=t.children)}if(d){if(_||y||!o||f&48){let t=e.tagName.includes(`-`),i=e.namespaceURI.includes(`svg`)?`svg`:e.namespaceURI.includes(`MathML`)?`mathml`:void 0;for(let a in d)if(_&&(a.endsWith(`value`)||a===`indeterminate`)||s(a)&&!ee(a)||a[0]===`.`||t&&!ee(a)||u&&u.includes(a)){if(Gi(e,a,d[a]))continue;r(e,a,null,d[a],i,n)}}else if(d.onClick)r(e,`onClick`,null,d.onClick,void 0,n);else if(f&4&&on(d.style))for(let e in d.style)d.style[e]}let b;(b=d&&d.onVnodeBeforeMount)&&Sc(b,n,t),h&&Ar(t,null,n,`beforeMount`),((b=d&&d.onVnodeMounted)||h||l)&&Gs(()=>{b&&Sc(b,n,t),l&&g.enter(e),h&&Ar(t,null,n,`mounted`)},void 0,i)}return e.nextSibling},m=(e,t,r,o,s,c,u)=>{u=u||!!t.dynamicChildren;let d=t.children,p=d.length,m=!1;for(let t=0;t<p;t++){let h=u?d[t]:d[t]=vc(d[t]),g=h.type===Js;e?(g&&!u&&t+1<p&&vc(d[t+1]).type===Js&&(l(i(e.data.slice(h.children.length)),r,a(e)),e.data=h.children),e=f(e,h,o,s,c,u)):g&&!h.children?l(h.el=i(``),r):(m||(m=!0,Ji(r,1)||Li()),n(null,h,r,null,o,s,Bi(r),c))}return e},h=(e,t,n,r,i,s)=>{let{slotScopeIds:c}=t;c&&(i=i?i.concat(c):c);let d=o(e),f=a(e),p=t.vo&&e.data===`(`?js(n,t).hydrateSlotOutlet(t,e,n,r,i):m(f,t,d,n,r,i,s);return p&&Vi(p)&&p.data===(e.data===`(`?`)`:`]`)?a(t.anchor=p):(Li(),l(t.anchor=u(`]`),d,p),p)},g=(e,t,r,i,s,l)=>{if(Xi(e,t)||Li(),t.el=null,l){let t=_(e);for(;;){let n=a(e);if(n&&n!==t)c(n);else break}}let u=a(e),d=o(e);return c(e),n(null,t,d,u,r,i,Bi(d),s),r&&r.vnode&&(r.vnode.el=t.el,Qo(r,t.el)),u},_=(e,t=e&&Vi(e)&&e.data===`(`?`(`:`[`,n=t===`(`?`)`:`]`)=>{let r=0;for(;e;)if(e=a(e),e&&Vi(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},v=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode&&i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent};return[d,f]}const Ui=e=>e.nodeType===1&&e.tagName===`TEMPLATE`,Wi=new Set([`src`,`srcset`,`href`,`poster`]);function Gi(e,t,n){return Wi.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}const Ki=`data-allow-mismatch`,qi={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function Ji(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ki);)e=e.parentElement;return Yi(e&&e.getAttribute(Ki),t)}function Yi(e,t){if(e==null)return!1;if(e===``)return!0;{let n=e.split(`,`);return t===0&&n.includes(`children`)?!0:n.includes(qi[t])}}function Xi(e,t){return Ji(e.parentElement,1)||Zi(e)||Qi(t)}function Zi(e){return e.nodeType===1&&Yi(e.getAttribute(Ki),1)}function Qi({props:e}){let t=e&&e[Ki];return typeof t==`string`&&Yi(t,1)}let $i,ea;function ta(){if(!$i){let e=he();$i=e.requestIdleCallback||(e=>setTimeout(e,1)),ea=e.cancelIdleCallback||(e=>clearTimeout(e))}}const na=(e=1e4)=>t=>{ta();let n=$i(t,{timeout:e});return()=>ea(n)};function ra(e){let{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:o}=window;return(t>0&&t<a||r>0&&r<a)&&(n>0&&n<o||i>0&&i<o)}const ia=e=>(t,n)=>{let r=new IntersectionObserver(e=>{for(let n of e)if(n.isIntersecting){r.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element){if(ra(e))return t(),r.disconnect(),!1;r.observe(e)}}),()=>r.disconnect()},aa=e=>t=>{if(e){let n=matchMedia(e);if(n.matches)t();else return n.addEventListener(`change`,t,{once:!0}),()=>n.removeEventListener(`change`,t)}},oa=(e=[])=>(t,n)=>{b(e)&&(e=[e]);let r=!1,i=e=>{r||(r=!0,a(),t(),`$evt${e.type}`in e.target||e.target.dispatchEvent(new e.constructor(e.type,e)))},a=()=>{n(t=>{for(let n of e)t.removeEventListener(n,i)})};return n(t=>{for(let n of e)t.addEventListener(n,i,{once:!0})}),a};function sa(e,t){if(Vi(e)&&(e.data===`[`||e.data===`(`)){let n=e.data,r=n===`[`?`]`:`)`,i=1,a=e.nextSibling;for(;a;){if(a.nodeType===1){if(t(a)===!1)break}else if(Vi(a)){if(a.data===r){if(--i===0)break}else a.data===n&&i++}a=a.nextSibling}}else t(e)}const ca=e=>!!e.type.__asyncLoader;function la(e){let{load:t,getResolvedComp:n,setPendingRequest:r,source:{loadingComponent:i,errorComponent:a,delay:o,hydrate:s,timeout:c,suspensible:l=!0}}=da(e);return Ti({name:`AsyncComponentWrapper`,__asyncLoader:t,__asyncHydrate(e,r,i){pa(e,r,i,n,t,s,!0)},get __asyncResolved(){r
`))),e[Bu]=Lu(i),Wu(e,n,r||!!(i.props&&i.props.type===`number`),t)},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t==null?``:t,a=e[Vu];delete e[Vu],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[Bu](Uu(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){e[Bu]=Lu(o),Gu(e,n,t,i,a,r)}};function Uu(e,t,n){return t&&(e=e.trim()),n&&(e=fe(e)),e}const Wu=(e,t,n,r,i)=>{nu(e,r?`change`:`input`,r=>{r.target.composing||(i||e[Bu])(Uu(e.value,t,n||e.type===`number`))}),(t||n)&&nu(e,`change`,()=>{e.value=Uu(e.value,t,n||e.type===`number`)}),r||(nu(e,`compositionstart`,Ru),nu(e,`compositionend`,zu),nu(e,`change`,zu))},Gu=(e,t,n,r,i,a)=>{if(e.composing)return;let o=(i||e.type===`number`)&&!/^0\d/.test(e.value)?fe(e.value):e.value,s=n==null?``:n;if(o===s)return;let c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!==`range`&&(a&&n===t||r&&e.value.trim()===s)||(e.value=s)},Ku={deep:!0,created(e,t,n){e[Bu]=Lu(n),qu(e)},mounted(e,t,n){Ju(e,t.oldValue,t.value,n.props.value)},beforeUpdate(e,t,n){e[Bu]=Lu(n),Ju(e,t.oldValue,t.value,n.props.value)}},qu=(e,t)=>{nu(e,`change`,()=>{let n=t||e[Bu],r=e._modelValue,i=td(e),a=e.checked;if(m(r)){let e=Re(r,i),t=e!==-1;if(a&&!t)n(r.concat(i));else if(!a&&t){let t=[...r];t.splice(e,1),n(t)}}else if(g(r)){let e=new Set(r);a?e.add(i):e.delete(i),n(e)}else n(nd(e,a))})},Ju=(e,t,n,r=td(e))=>{e._modelValue=n;let i;if(m(n))i=Re(n,r)>-1;else if(g(n))i=n.has(r);else{if(n===t)return;i=Le(n,nd(e,!0))}e.checked!==i&&(e.checked=i)},Yu={created(e,{value:t},n){e.checked=Le(t,n.props.value),e[Bu]=Lu(n),nu(e,`change`,()=>{e[Bu](td(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Bu]=Lu(r),t!==n&&(e.checked=Le(t,r.props.value))}},Xu={deep:!0,created(e,{value:t,modifiers:{number:n}},r){Zu(e,t,n),e[Bu]=Lu(r)},mounted(e,{value:t}){$u(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Bu]=Lu(n)},updated(e,{value:t}){$u(e,t)}},Zu=(e,t,n,r)=>{e._modelValue=t,nu(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?fe(td(e)):td(e)),i=e.multiple,a=i?g(e._modelValue)?new Set(t):t:t[0],o=e._pendingValue=[i,i?m(a)?t.slice():t:a];try{(r||e[Bu])(a)}finally{dr(()=>{e._pendingValue===o&&(e._pendingValue=void 0)})}})};function Qu(e,t,n){if(!n||m(e))return Le(e,t);if(g(e)){if(e.size!==t.length)return!1;for(let n of t)if(!e.has(n))return!1;return!0}return!1}const $u=(e,t)=>{e._modelValue=t;let n=e._pendingValue;e._pendingValue=void 0,!(n&&n[0]===e.multiple&&Qu(t,n[1],n[0]))&&ed(e,t)};function ed(e,t){let n=e.multiple,r=m(t);if(!(n&&!r&&!g(t))){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=td(a);if(n){if(r){let e=typeof o;a.selected=e===`string`||e===`number`?t.some(e=>String(e)===String(o)):Re(t,o)>-1}else a.selected=t.has(o)}else if(Le(td(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function td(e){return`_value`in e?e._value:e.value}function nd(e,t){let n=t?`_trueValue`:`_falseValue`;if(n in e)return e[n];let r=t?`true-value`:`false-value`;return e.hasAttribute(r)?e.getAttribute(r):t}const rd={created(e,t,n){ad(e,t,n,null,`created`)},mounted(e,t,n){ad(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){ad(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){ad(e,t,n,r,`updated`)}};function id(e,t){switch(e){case`SELECT`:return Xu;case`TEXTAREA`:return Hu;default:switch(t){case`checkbox`:return Ku;case`radio`:return Yu;default:return Hu}}}function ad(e,t,n,r,i){let a=id(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}const od=[`ctrl`,`shift`,`alt`,`meta`],sd={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>od.some(n=>e[`${n}Key`]&&!t.includes(n))},cd=(e,t)=>{if(!e)return e;let n=e._withMods||(e._withMods={}),r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=sd[t[e]];
`);else if(cp(i.content)){let a=e[r-1]&&e[r-1].type,o=e[r+1]&&e[r+1].type;!a||!o||t&&(a===3&&(o===3||o===1)||a===1&&(o===3||o===1&&Pp(i.content)))?(n=!0,e[r]=null):i.content=` `}else t&&(i.content=Fp(i.content))}}return n?e.filter(Boolean):e}function Pp(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function Fp(e){let t=``,n=!1;for(let r=0;r<e.length;r++)Of(e.charCodeAt(r))?n||(t+=` `,n=!0):(t+=e[r],n=!1);return t}function Ip(e){(Y[0]||fp).children.push(e)}function Q(e,t){return{start:X.getPos(e),end:t==null?t:X.getPos(t),source:t==null?t:Z(e,t)}}function Lp(e){return Q(e.start.offset,e.end.offset)}function Rp(e,t){e.end=X.getPos(t),e.source=Z(e.start.offset,t)}function zp(e){let t={type:6,name:e.rawName,nameLoc:Q(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){let n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function Bp(e,t=!1,n,r=0,i=0){return H(e,t,n,r)}function Vp(e,t,n){K.onError(G(e,Q(t,t),void 0,n))}function Hp(){X.reset(),q=null,J=null,mp=``,hp=-1,gp=-1,Y.length=0}function Up(e,t){if(Hp(),pp=e,K=u({},dp),t){let e;for(e in t)t[e]!=null&&(K[e]=t[e])}X.mode=K.parseMode===`html`?1:K.parseMode===`sfc`?2:0,X.inXML=K.ns===1||K.ns===2;let n=t&&t.delimiters;n&&(X.delimiterOpen=Af(n[0]),X.delimiterClose=Af(n[1]));let r=fp=pf([],e);return X.parse(pp),r.loc=Q(0,e.length),r.children=Np(r.children),fp=null,r}function Wp(e,t){Kp(e,void 0,t,!!Gp(e))}function Gp(e){let t=e.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!$f(t[0])?t[0]:null}function Kp(e,t,n,r=!1,i=!1){let{children:a}=e,o=[];for(let t=0;t<a.length;t++){let s=a[t];if(s.type===1&&s.tagType===0){let e=r?0:qp(s,n);if(e>0){if(e>=2){s.codegenNode.patchFlag=-1,o.push(s);continue}}else{let e=s.codegenNode;if(e.type===13){let t=e.patchFlag;if((t===void 0||t===512||t===1)&&Xp(s,n)>=2){let t=Zp(s);t&&(e.props=n.hoist(t))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(s.type===12&&(r?0:qp(s,n))>=2){s.codegenNode.type===14&&s.codegenNode.arguments.length>0&&s.codegenNode.arguments.push(`-1`),o.push(s);continue}if(s.type===1){let t=s.tagType===1;t&&n.scopes.vSlot++,Kp(s,e,n,!1,i),t&&n.scopes.vSlot--}else if(s.type===11)Kp(s,e,n,s.children.length===1,!0);else if(s.type===9)for(let t=0;t<s.branches.length;t++)Kp(s.branches[t],e,n,s.branches[t].children.length===1,i)}let s=!1;if(o.length===a.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&m(e.codegenNode.children))e.codegenNode.children=c(hf(e.codegenNode.children)),s=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!m(e.codegenNode.children)&&e.codegenNode.children.type===15){let t=l(e.codegenNode,`default`);t&&(t.returns=c(hf(t.returns)),s=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!m(t.codegenNode.children)&&t.codegenNode.children.type===15){let n=Gf(e,`slot`,!0),r=n&&n.arg&&l(t.codegenNode,n.arg);r&&(r.returns=c(hf(r.returns)),s=!0)}}if(!s)for(let e of o)e.codegenNode=n.cache(e.codegenNode);function c(e){let t=n.cache(e);return t.needArraySpread=!0,t}function l(e,t){if(e.children&&!m(e.children)&&e.children.type===15){let n=e.children.properties.find(e=>e.key===t||e.key.content===t);return n&&n.value}}o.length&&n.transformHoist&&n.transformHoist(a,n,e)}function qp(e,t){let{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;let r=n.get(e);if(r!==void 0)return r;let i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!==`svg`&&e.tag!==`foreignObject`&&e.tag!==`math`)return 0;if(i.patchFlag===void 0){let r=3,a=Xp(e,t);if(a===0)return n.set(e,0),0;a<r&&(r=a);for(let i=0;i<e.children.length;i++){let a=qp(e.children[i],t);if(a===0)return n.set(e,0),0;a<r&&(r=a)}if(r>1)for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===7&&a.name===`bind`&&a.exp){let i=qp(a.exp,t);if(i===0)return n.set(e,0),0;i<r&&(r=i)}}if(i.isBlock){for(let t
`+` `.repeat(e),0)}return p}function cm(e,t={}){let n=sm(e,t);t.onContextCreated&&t.onContextCreated(n);let{mode:r,push:i,prefixIdentifiers:a,indent:o,deindent:s,newline:c,scopeId:l,ssr:u}=n,d=Array.from(e.helpers),f=d.length>0,p=!a&&r!==`module`;if(lm(e,n),i(`function ${u?`ssrRender`:`render`}(${(u?[`_ctx`,`_push`,`_parent`,`_attrs`]:[`_ctx`,`_cache`]).join(`, `)}) {`),o(),p&&(i(`with (_ctx) {`),o(),f&&(i(`const { ${d.map(om).join(`, `)} } = _Vue\n`,-1),c())),e.components.length&&(um(e.components,`component`,n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(um(e.directives,`directive`,n),e.temps>0&&c()),e.temps>0){i(`let `);for(let t=0;t<e.temps;t++)i(`${t>0?`, `:``}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
`,0),c()),u||i(`return `),e.codegenNode?$(e.codegenNode,n):i(`null`),p&&(s(),i(`}`)),s(),i(`}`),{ast:e,code:n.code,preamble:``,map:n.map?n.map.toJSON():void 0,helpers:e.helpers}}function lm(e,t){let{ssr:n,prefixIdentifiers:r,push:i,newline:a,runtimeModuleName:o,runtimeGlobalName:s,ssrRuntimeModuleName:c}=t,l=s,u=Array.from(e.helpers);u.length>0&&(i(`const _Vue = ${l}\n`,-1),e.hoists.length&&i(`const { ${[Md,Nd,Pd,Fd,Id].filter(e=>u.includes(e)).map(om).join(`, `)} } = _Vue\n`,-1)),dm(e.hoists,t),a(),i(`return `)}function um(e,t,{helper:n,push:r,newline:i,isTS:a}){let o=n(t===`component`?Ld:zd);for(let n=0;n<e.length;n++){let s=e[n],c=s.endsWith(`__self`);c&&(s=s.slice(0,-6)),r(`const ${ap(s,t)} = ${o}(${JSON.stringify(s)}${c?`, true`:``})${a?`!`:``}`),n<e.length-1&&i()}}function dm(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){let a=e[i];a&&(n(`const _hoisted_${i+1} = `),$(a,t),r())}t.pure=!1}function fm(e,t){let n=e.length>3||!1;t.push(`[`),n&&t.indent(),pm(e,t,n),n&&t.deindent(),t.push(`]`)}function pm(e,t,n=!1,r=!0){let{push:i,newline:a}=t;for(let o=0;o<e.length;o++){let s=e[o];b(s)?i(s,-3):m(s)?fm(s,t):$(s,t),o<e.length-1&&(n?(r&&i(`,`),a()):r&&i(`, `))}}function $(e,t){if(b(e)){t.push(e,-3);return}if(x(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:$(e.codegenNode,t);break;case 2:mm(e,t);break;case 4:hm(e,t);break;case 5:gm(e,t);break;case 12:$(e.codegenNode,t);break;case 8:_m(e,t);break;case 3:ym(e,t);break;case 13:bm(e,t);break;case 14:Sm(e,t);break;case 15:Cm(e,t);break;case 17:wm(e,t);break;case 18:Tm(e,t);break;case 19:Em(e,t);break;case 20:Dm(e,t);break;case 21:pm(e.body,t,!0,!1)}}function mm(e,t){t.push(JSON.stringify(e.content),-3,e)}function hm(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function gm(e,t){let{push:n,helper:r,pure:i}=t;i&&n(am),n(`${r(Gd)}(`),$(e.content,t),n(`)`)}function _m(e,t){for(let n=0;n<e.children.length;n++){let r=e.children[n];b(r)?t.push(r,-3):$(r,t)}}function vm(e,t){let{push:n}=t;e.type===8?(n(`[`),_m(e,t),n(`]`)):e.isStatic?n(Lf(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}function ym(e,t){let{push:n,helper:r,pure:i}=t;i&&n(am),n(`${r(Pd)}(${JSON.stringify(e.content)})`,-3,e)}function bm(e,t){let{push:n,helper:r,pure:i}=t,{tag:a,props:o,children:s,patchFlag:c,dynamicProps:l,directives:u,isBlock:d,disableTracking:f,isComponent:p}=e,m;c&&(m=String(c)),u&&n(r(Vd)+`(`),d&&n(`(${r(kd)}(${f?`true`:``}), `),i&&n(am),n(r(d?Cf(t.inSSR,p):Sf(t.inSSR,p))+`(`,-2,e),pm(xm([a,o,s,m,l]),t),n(`)`),d&&n(`)`),u&&(n(`, `),$(u,t),n(`)`))}function xm(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(e=>e||`null`)}function Sm(e,t){let{push:n,helper:r,pure:i}=t,a=b(e.callee)?e.callee:r(e.callee);i&&n(am),n(a+`(`,-2,e),pm(e.arguments,t),n(`)`)}function Cm(e,t){let{push:n,indent:r,deindent:i,newline:a}=t,{properties:o}=e;if(!o.length){n(`{}`,-2,e);return}let s=o.length>1||!1;n(s?`{`:`{ `),s&&r();for(let e=0;e<o.length;e++){let{key:r,value:i}=o[e];vm(r,t),n(`: `),$(i,t),e<o.length-1&&(n(`,`),a())}s&&i(),n(s?`}`:` }`)}function wm(e,t){fm(e.elements,t)}function Tm(e,t){let{push:n,indent:r,deindent:i}=t,{params:a,returns:o,body:s,newline:c,isSlot:l}=e;l&&n(`_${uf[af]}(`),n(`(`,-2,e),m(a)?pm(a,t):a&&$(a,t),n(`) => `),(c||s)&&(n(`{`),r()),o?(c&&n(`return `),m(o)?fm(o,t):$(o,t)):s&&$(s,t),(c||s)&&(i(),n(`}`)),l&&n(`)`)}function Em(e,t){let{test:n,consequent:r,alternate:i,newline:a}=e,{push:o,indent:s,deindent:c,newline:l}=t;if(n.type===4){let e=!Lf(n.content);e&&o(`(`),hm(n,t),e&&o(`)`)}else o(`(`),$(n,t),o(`)`);a&&s(),t.indentLevel++,a||o(` `),o(`? `),$(r,t),t.indentLevel--,a&&l(),a||o(` `),o(`: `);let u=i.type===19;u||t.indentLevel++,$(i,t),u||t.indentLevel--,a&&c(!0)}function Dm(e,t){let{push:n,helper:r,indent:i,deindent:a,newline:o}=t,{needPauseTracking:s,needArraySpread:c}=e;c&&n(`[...(`),n(`_cache[${e.index}] || (`),s&&(i(),n(`${r(tf)}(-1`),e.inVOnce&&n(`, true`),n(`),`),o(),n(`(`)),n(`_cache[${e.index}] = `),$(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),o(),n(`$