mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2024-12-28 20:47:43 +00:00
2 lines
56 KiB
JavaScript
2 lines
56 KiB
JavaScript
function e(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function t(e){if(E(e)){const n={};for(let r=0;r<e.length;r++){const o=e[r],l=N(o)?s(o):t(o);if(l)for(const e in l)n[e]=l[e]}return n}return N(e)||U(e)?e:void 0}const n=/;(?![^(]*\))/g,r=/:([^]+)/,o=/\/\*.*?\*\//gs;function s(e){const t={};return e.replace(o,"").split(n).forEach((e=>{if(e){const n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function l(e){let t="";if(N(e))t=e;else if(E(e))for(let n=0;n<e.length;n++){const r=l(e[n]);r&&(t+=r+" ")}else if(U(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const i=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"),c=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),u="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",a=e(u),f=e(u+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function p(e){return!!e||""===e}const d=/[>/="'\u0009\u000a\u000c\u0020]/,h={};const g={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},m=/["'&<>]/;function v(e){const t=""+e,n=m.exec(t);if(!n)return t;let r,o,s="",l=0;for(o=n.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}l!==o&&(s+=t.slice(l,o)),l=o+1,s+=r}return l!==o?s+t.slice(l,o):s}const y=/^-?>|<!--|-->|--!>|<!-$/g;function _(e,t){if(e===t)return!0;let n=A(e),r=A(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=V(e),r=V(t),n||r)return e===t;if(n=E(e),r=E(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=_(e[r],t[r]);return n}(e,t);if(n=U(e),r=U(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!_(e[n],t[n]))return!1}}return String(e)===String(t)}const b=(e,t)=>t&&t.__v_isRef?b(e,t.value):M(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:j(t)?{[`Set(${t.size})`]:[...t.values()]}:!U(t)||E(t)||D(t)?t:String(t),x={},w=[],S=()=>{},C=()=>!1,k=/^on[^a-z]/,O=e=>k.test(e),T=e=>e.startsWith("onUpdate:"),P=Object.assign,R=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},F=Object.prototype.hasOwnProperty,$=(e,t)=>F.call(e,t),E=Array.isArray,M=e=>"[object Map]"===W(e),j=e=>"[object Set]"===W(e),A=e=>"[object Date]"===W(e),I=e=>"function"==typeof e,N=e=>"string"==typeof e,V=e=>"symbol"==typeof e,U=e=>null!==e&&"object"==typeof e,B=e=>U(e)&&I(e.then)&&I(e.catch),L=Object.prototype.toString,W=e=>L.call(e),D=e=>"[object Object]"===W(e),H=e=>N(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,z=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),q=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},G=/-(\w)/g,K=q((e=>e.replace(G,((e,t)=>t?t.toUpperCase():"")))),J=/\B([A-Z])/g,X=q((e=>e.replace(J,"-$1").toLowerCase())),Z=q((e=>e.charAt(0).toUpperCase()+e.slice(1))),Q=q((e=>e?`on${Z(e)}`:"")),Y=(e,t)=>!Object.is(e,t),ee=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},te=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ne=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let re;let oe;class se{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=oe,!e&&oe&&(this.index=(oe.scopes||(oe.scopes=[])).push(this)-1)}run(e){if(this.active){const t=oe;try{return oe=this,e()}finally{oe=t}}}on(){oe=this}off(){oe=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this.active=!1}}}const le=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ie=e=>(e.w&fe)>0,ce=e=>(e.n&fe)>0,ue=new WeakMap;let ae=0,fe=1;let pe;const de=Symbol(""),he=Symbol("");class ge{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=oe){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=pe,t=ve;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=pe,pe=this,ve=!0,fe=1<<++ae,ae<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=fe})(this):me(this),this.fn()}finally{ae<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];ie(o)&&!ce(o)?o.delete(e):t[n++]=o,o.w&=~fe,o.n&=~fe}t.length=n}})(this),fe=1<<--ae,pe=this.parent,ve=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){pe===this?this.deferStop=!0:this.active&&(me(this),this.onStop&&this.onStop(),this.active=!1)}}function me(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let ve=!0;const ye=[];function _e(){ye.push(ve),ve=!1}function be(){const e=ye.pop();ve=void 0===e||e}function xe(e,t,n){if(ve&&pe){let t=ue.get(e);t||ue.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=le()),we(r)}}function we(e,t){let n=!1;ae<=30?ce(e)||(e.n|=fe,n=!ie(e)):n=!e.has(pe),n&&(e.add(pe),pe.deps.push(e))}function Se(e,t,n,r,o,s){const l=ue.get(e);if(!l)return;let i=[];if("clear"===t)i=[...l.values()];else if("length"===n&&E(e)){const e=ne(r);l.forEach(((t,n)=>{("length"===n||n>=e)&&i.push(t)}))}else switch(void 0!==n&&i.push(l.get(n)),t){case"add":E(e)?H(n)&&i.push(l.get("length")):(i.push(l.get(de)),M(e)&&i.push(l.get(he)));break;case"delete":E(e)||(i.push(l.get(de)),M(e)&&i.push(l.get(he)));break;case"set":M(e)&&i.push(l.get(de))}if(1===i.length)i[0]&&Ce(i[0]);else{const e=[];for(const t of i)t&&e.push(...t);Ce(le(e))}}function Ce(e,t){const n=E(e)?e:[...e];for(const r of n)r.computed&&ke(r);for(const r of n)r.computed||ke(r)}function ke(e,t){(e!==pe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Oe=e("__proto__,__v_isRef,__isVue"),Te=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(V)),Pe=Me(),Re=Me(!1,!0),Fe=Me(!0),$e=Ee();function Ee(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=vt(this);for(let t=0,o=this.length;t<o;t++)xe(n,0,t+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(vt)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){_e();const n=vt(this)[t].apply(this,e);return be(),n}})),e}function Me(e=!1,t=!1){return function(n,r,o){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_isShallow"===r)return t;if("__v_raw"===r&&o===(e?t?ct:it:t?lt:st).get(n))return n;const s=E(n);if(!e&&s&&$($e,r))return Reflect.get($e,r,o);const l=Reflect.get(n,r,o);return(V(r)?Te.has(r):Oe(r))?l:(e||xe(n,0,r),t?l:xt(l)?s&&H(r)?l:l.value:U(l)?e?ft(l):at(l):l)}}function je(e=!1){return function(t,n,r,o){let s=t[n];if(ht(s)&&xt(s)&&!xt(r))return!1;if(!e&&(gt(r)||ht(r)||(s=vt(s),r=vt(r)),!E(t)&&xt(s)&&!xt(r)))return s.value=r,!0;const l=E(t)&&H(n)?Number(n)<t.length:$(t,n),i=Reflect.set(t,n,r,o);return t===vt(o)&&(l?Y(r,s)&&Se(t,"set",n,r):Se(t,"add",n,r)),i}}const Ae={get:Pe,set:je(),deleteProperty:function(e,t){const n=$(e,t),r=Reflect.deleteProperty(e,t);return r&&n&&Se(e,"delete",t,void 0),r},has:function(e,t){const n=Reflect.has(e,t);return V(t)&&Te.has(t)||xe(e,0,t),n},ownKeys:function(e){return xe(e,0,E(e)?"length":de),Reflect.ownKeys(e)}},Ie={get:Fe,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},Ne=P({},Ae,{get:Re,set:je(!0)}),Ve=e=>e,Ue=e=>Reflect.getPrototypeOf(e);function Be(e,t,n=!1,r=!1){const o=vt(e=e.__v_raw),s=vt(t);n||(t!==s&&xe(o,0,t),xe(o,0,s));const{has:l}=Ue(o),i=r?Ve:n?bt:_t;return l.call(o,t)?i(e.get(t)):l.call(o,s)?i(e.get(s)):void(e!==o&&e.get(t))}function Le(e,t=!1){const n=this.__v_raw,r=vt(n),o=vt(e);return t||(e!==o&&xe(r,0,e),xe(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function We(e,t=!1){return e=e.__v_raw,!t&&xe(vt(e),0,de),Reflect.get(e,"size",e)}function De(e){e=vt(e);const t=vt(this);return Ue(t).has.call(t,e)||(t.add(e),Se(t,"add",e,e)),this}function He(e,t){t=vt(t);const n=vt(this),{has:r,get:o}=Ue(n);let s=r.call(n,e);s||(e=vt(e),s=r.call(n,e));const l=o.call(n,e);return n.set(e,t),s?Y(t,l)&&Se(n,"set",e,t):Se(n,"add",e,t),this}function ze(e){const t=vt(this),{has:n,get:r}=Ue(t);let o=n.call(t,e);o||(e=vt(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&Se(t,"delete",e,void 0),s}function qe(){const e=vt(this),t=0!==e.size,n=e.clear();return t&&Se(e,"clear",void 0,void 0),n}function Ge(e,t){return function(n,r){const o=this,s=o.__v_raw,l=vt(s),i=t?Ve:e?bt:_t;return!e&&xe(l,0,de),s.forEach(((e,t)=>n.call(r,i(e),i(t),o)))}}function Ke(e,t,n){return function(...r){const o=this.__v_raw,s=vt(o),l=M(s),i="entries"===e||e===Symbol.iterator&&l,c="keys"===e&&l,u=o[e](...r),a=n?Ve:t?bt:_t;return!t&&xe(s,0,c?he:de),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:i?[a(e[0]),a(e[1])]:a(e),done:t}},[Symbol.iterator](){return this}}}}function Je(e){return function(...t){return"delete"!==e&&this}}function Xe(){const e={get(e){return Be(this,e)},get size(){return We(this)},has:Le,add:De,set:He,delete:ze,clear:qe,forEach:Ge(!1,!1)},t={get(e){return Be(this,e,!1,!0)},get size(){return We(this)},has:Le,add:De,set:He,delete:ze,clear:qe,forEach:Ge(!1,!0)},n={get(e){return Be(this,e,!0)},get size(){return We(this,!0)},has(e){return Le.call(this,e,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:Ge(!0,!1)},r={get(e){return Be(this,e,!0,!0)},get size(){return We(this,!0)},has(e){return Le.call(this,e,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:Ge(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=Ke(o,!1,!1),n[o]=Ke(o,!0,!1),t[o]=Ke(o,!1,!0),r[o]=Ke(o,!0,!0)})),[e,n,t,r]}const[Ze,Qe,Ye,et]=Xe();function tt(e,t){const n=t?e?et:Ye:e?Qe:Ze;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get($(n,r)&&r in t?n:t,r,o)}const nt={get:tt(!1,!1)},rt={get:tt(!1,!0)},ot={get:tt(!0,!1)},st=new WeakMap,lt=new WeakMap,it=new WeakMap,ct=new WeakMap;function ut(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>W(e).slice(8,-1))(e))}function at(e){return ht(e)?e:pt(e,!1,Ae,nt,st)}function ft(e){return pt(e,!0,Ie,ot,it)}function pt(e,t,n,r,o){if(!U(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const l=ut(e);if(0===l)return e;const i=new Proxy(e,2===l?r:n);return o.set(e,i),i}function dt(e){return ht(e)?dt(e.__v_raw):!(!e||!e.__v_isReactive)}function ht(e){return!(!e||!e.__v_isReadonly)}function gt(e){return!(!e||!e.__v_isShallow)}function mt(e){return dt(e)||ht(e)}function vt(e){const t=e&&e.__v_raw;return t?vt(t):e}function yt(e){return te(e,"__v_skip",!0),e}const _t=e=>U(e)?at(e):e,bt=e=>U(e)?ft(e):e;function xt(e){return!(!e||!0!==e.__v_isRef)}const wt={get:(e,t,n)=>{return xt(r=Reflect.get(e,t,n))?r.value:r;var r},set:(e,t,n,r)=>{const o=e[t];return xt(o)&&!xt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function St(e){return dt(e)?e:new Proxy(e,wt)}var Ct;class kt{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Ct]=!1,this._dirty=!0,this.effect=new ge(e,(()=>{var e;this._dirty||(this._dirty=!0,(e=vt(e=this)).dep&&Ce(e.dep))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=vt(this);var t;return t=e,ve&&pe&&we((t=vt(t)).dep||(t.dep=le())),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Ot(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){Pt(s,t,n)}return o}function Tt(e,t,n,r){if(I(e)){const o=Ot(e,t,n,r);return o&&B(o)&&o.catch((e=>{Pt(e,t,n)})),o}const o=[];for(let s=0;s<e.length;s++)o.push(Tt(e[s],t,n,r));return o}function Pt(e,t,n,r=!0){if(t){let r=t.parent;const o=t.proxy,s=n;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,s))return;r=r.parent}const l=t.appContext.config.errorHandler;if(l)return void Ot(l,null,10,[e,o,s])}!function(e,t,n,r=!0){console.error(e)}(e,0,0,r)}Ct="__v_isReadonly";let Rt=!1,Ft=!1;const $t=[];let Et=0;const Mt=[];let jt=null,At=0;const It=Promise.resolve();let Nt=null;function Vt(e){const t=Nt||It;return e?t.then(this?e.bind(this):e):t}function Ut(e){$t.length&&$t.includes(e,Rt&&e.allowRecurse?Et+1:Et)||(null==e.id?$t.push(e):$t.splice(function(e){let t=Et+1,n=$t.length;for(;t<n;){const r=t+n>>>1;Dt($t[r])<e?t=r+1:n=r}return t}(e.id),0,e),Bt())}function Bt(){Rt||Ft||(Ft=!0,Nt=It.then(zt))}function Lt(e,t=(Rt?Et+1:0)){for(;t<$t.length;t++){const e=$t[t];e&&e.pre&&($t.splice(t,1),t--,e())}}function Wt(e){if(Mt.length){const e=[...new Set(Mt)];if(Mt.length=0,jt)return void jt.push(...e);for(jt=e,jt.sort(((e,t)=>Dt(e)-Dt(t))),At=0;At<jt.length;At++)jt[At]();jt=null,At=0}}const Dt=e=>null==e.id?1/0:e.id,Ht=(e,t)=>{const n=Dt(e)-Dt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function zt(e){Ft=!1,Rt=!0,$t.sort(Ht);try{for(Et=0;Et<$t.length;Et++){const e=$t[Et];e&&!1!==e.active&&Ot(e,null,14)}}finally{Et=0,$t.length=0,Wt(),Rt=!1,Nt=null,($t.length||Mt.length)&&zt()}}function qt(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||x;let o=n;const s=t.startsWith("update:"),l=s&&t.slice(7);if(l&&l in r){const e=`${"modelValue"===l?"model":l}Modifiers`,{number:t,trim:s}=r[e]||x;s&&(o=n.map((e=>N(e)?e.trim():e))),t&&(o=n.map(ne))}let i,c=r[i=Q(t)]||r[i=Q(K(t))];!c&&s&&(c=r[i=Q(X(t))]),c&&Tt(c,e,6,o);const u=r[i+"Once"];if(u){if(e.emitted){if(e.emitted[i])return}else e.emitted={};e.emitted[i]=!0,Tt(u,e,6,o)}}function Gt(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const s=e.emits;let l={},i=!1;if(!I(e)){const r=e=>{const n=Gt(e,t,!0);n&&(i=!0,P(l,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return s||i?(E(s)?s.forEach((e=>l[e]=null)):P(l,s),U(e)&&r.set(e,l),l):(U(e)&&r.set(e,null),null)}function Kt(e,t){return!(!e||!O(t))&&(t=t.slice(2).replace(/Once$/,""),$(e,t[0].toLowerCase()+t.slice(1))||$(e,X(t))||$(e,t))}let Jt=null,Xt=null;function Zt(e){const t=Jt;return Jt=e,Xt=e&&e.type.__scopeId||null,t}function Qt(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[l],slots:i,attrs:c,emit:u,render:a,renderCache:f,data:p,setupState:d,ctx:h,inheritAttrs:g}=e;let m,v;const y=Zt(e);try{if(4&n.shapeFlag){const e=o||r;m=Tr(a.call(e,e,f,s,d,p,h)),v=c}else{const e=t;0,m=Tr(e(s,e.length>1?{attrs:c,slots:i,emit:u}:null)),v=t.props?c:Yt(c)}}catch(b){mr.length=0,Pt(b,e,1),m=Cr(hr)}let _=m;if(v&&!1!==g){const e=Object.keys(v),{shapeFlag:t}=_;e.length&&7&t&&(l&&e.some(T)&&(v=en(v,l)),_=kr(_,v))}return n.dirs&&(_=kr(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),m=_,Zt(y),m}const Yt=e=>{let t;for(const n in e)("class"===n||"style"===n||O(n))&&((t||(t={}))[n]=e[n]);return t},en=(e,t)=>{const n={};for(const r in e)T(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function tn(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!Kt(n,s))return!0}return!1}function nn(e,t,n=!1){const r=Ar||Jt;if(r){const o=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&I(t)?t.call(r.proxy):t}}const rn={};function on(e,t,n){return sn(e,t,n)}function sn(e,t,{immediate:n,deep:r,flush:o}=x){const s=Ar;let l,i,c=!1,u=!1;if(xt(e)?(l=()=>e.value,c=gt(e)):dt(e)?(l=()=>e,r=!0):E(e)?(u=!0,c=e.some((e=>dt(e)||gt(e))),l=()=>e.map((e=>xt(e)?e.value:dt(e)?un(e):I(e)?Ot(e,s,2):void 0))):l=I(e)?t?()=>Ot(e,s,2):()=>{if(!s||!s.isUnmounted)return i&&i(),Tt(e,s,3,[f])}:S,t&&r){const e=l;l=()=>un(e())}let a,f=e=>{i=g.onStop=()=>{Ot(e,s,4)}};if(Ur){if(f=S,t?n&&Tt(t,s,3,[l(),u?[]:void 0,f]):l(),"sync"!==o)return S;{const e=qr();a=e.__watcherHandles||(e.__watcherHandles=[])}}let p=u?new Array(e.length).fill(rn):rn;const d=()=>{if(g.active)if(t){const e=g.run();(r||c||(u?e.some(((e,t)=>Y(e,p[t]))):Y(e,p)))&&(i&&i(),Tt(t,s,3,[e,p===rn?void 0:u&&p[0]===rn?[]:p,f]),p=e)}else g.run()};let h;d.allowRecurse=!!t,"sync"===o?h=d:"post"===o?h=()=>cr(d,s&&s.suspense):(d.pre=!0,s&&(d.id=s.uid),h=()=>Ut(d));const g=new ge(l,h);t?n?d():p=g.run():"post"===o?cr(g.run.bind(g),s&&s.suspense):g.run();const m=()=>{g.stop(),s&&s.scope&&R(s.scope.effects,g)};return a&&a.push(m),m}function ln(e,t,n){const r=this.proxy,o=N(e)?e.includes(".")?cn(r,e):()=>r[e]:e.bind(r,r);let s;I(t)?s=t:(s=t.handler,n=t);const l=Ar;Ir(this);const i=sn(o,s.bind(r),n);return l?Ir(l):Nr(),i}function cn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function un(e,t){if(!U(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),xt(e))un(e.value,t);else if(E(e))for(let n=0;n<e.length;n++)un(e[n],t);else if(j(e)||M(e))e.forEach((e=>{un(e,t)}));else if(D(e))for(const n in e)un(e[n],t);return e}const an=e=>!!e.type.__asyncLoader,fn=e=>e.type.__isKeepAlive;function pn(e,t){hn(e,"a",t)}function dn(e,t){hn(e,"da",t)}function hn(e,t,n=Ar){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(mn(t,r,n),n){let e=n.parent;for(;e&&e.parent;)fn(e.parent.vnode)&&gn(r,t,n,e),e=e.parent}}function gn(e,t,n,r){const o=mn(t,e,r,!0);Sn((()=>{R(r[t],o)}),n)}function mn(e,t,n=Ar,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;_e(),Ir(n);const o=Tt(t,n,e,r);return Nr(),be(),o});return r?o.unshift(s):o.push(s),s}}const vn=e=>(t,n=Ar)=>(!Ur||"sp"===e)&&mn(e,((...e)=>t(...e)),n),yn=vn("bm"),_n=vn("m"),bn=vn("bu"),xn=vn("u"),wn=vn("bum"),Sn=vn("um"),Cn=vn("sp"),kn=vn("rtg"),On=vn("rtc");function Tn(e,t=Ar){mn("ec",e,t)}function Pn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let l=0;l<o.length;l++){const i=o[l];s&&(i.oldValue=s[l].value);let c=i.dir[r];c&&(_e(),Tt(c,n,8,[e.el,i,e,t]),be())}}const Rn=Symbol(),Fn=e=>e?Vr(e)?Dr(e)||e.proxy:Fn(e.parent):null,$n=P(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Fn(e.parent),$root:e=>Fn(e.root),$emit:e=>e.emit,$options:e=>Vn(e),$forceUpdate:e=>e.f||(e.f=()=>Ut(e.update)),$nextTick:e=>e.n||(e.n=Vt.bind(e.proxy)),$watch:e=>ln.bind(e)}),En=(e,t)=>e!==x&&!e.__isScriptSetup&&$(e,t),Mn={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:l,type:i,appContext:c}=e;let u;if("$"!==t[0]){const i=l[t];if(void 0!==i)switch(i){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(En(r,t))return l[t]=1,r[t];if(o!==x&&$(o,t))return l[t]=2,o[t];if((u=e.propsOptions[0])&&$(u,t))return l[t]=3,s[t];if(n!==x&&$(n,t))return l[t]=4,n[t];jn&&(l[t]=0)}}const a=$n[t];let f,p;return a?("$attrs"===t&&xe(e,0,t),a(e)):(f=i.__cssModules)&&(f=f[t])?f:n!==x&&$(n,t)?(l[t]=4,n[t]):(p=c.config.globalProperties,$(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return En(o,t)?(o[t]=n,!0):r!==x&&$(r,t)?(r[t]=n,!0):!$(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},l){let i;return!!n[l]||e!==x&&$(e,l)||En(t,l)||(i=s[0])&&$(i,l)||$(r,l)||$($n,l)||$(o.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:$(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let jn=!0;function An(e){const t=Vn(e),n=e.proxy,r=e.ctx;jn=!1,t.beforeCreate&&In(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:l,watch:i,provide:c,inject:u,created:a,beforeMount:f,mounted:p,beforeUpdate:d,updated:h,activated:g,deactivated:m,beforeUnmount:v,unmounted:y,render:_,renderTracked:b,renderTriggered:x,errorCaptured:w,serverPrefetch:C,expose:k,inheritAttrs:O,components:T,directives:P}=t;if(u&&function(e,t,n=S,r=!1){E(e)&&(e=Wn(e));for(const o in e){const n=e[o];let s;s=U(n)?"default"in n?nn(n.from||o,n.default,!0):nn(n.from||o):nn(n),xt(s)&&r?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[o]=s}}(u,r,null,e.appContext.config.unwrapInjectedRef),l)for(const S in l){const e=l[S];I(e)&&(r[S]=e.bind(n))}if(o){const t=o.call(n,n);U(t)&&(e.data=at(t))}if(jn=!0,s)for(const F in s){const e=s[F],t=I(e)?e.bind(n,n):I(e.get)?e.get.bind(n,n):S,o=!I(e)&&I(e.set)?e.set.bind(n):S,l=Hr({get:t,set:o});Object.defineProperty(r,F,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(i)for(const S in i)Nn(i[S],r,n,S);if(c){const e=I(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{!function(e,t){if(Ar){let n=Ar.provides;const r=Ar.parent&&Ar.parent.provides;r===n&&(n=Ar.provides=Object.create(r)),n[e]=t}}(t,e[t])}))}function R(e,t){E(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(a&&In(a,e,"c"),R(yn,f),R(_n,p),R(bn,d),R(xn,h),R(pn,g),R(dn,m),R(Tn,w),R(On,b),R(kn,x),R(wn,v),R(Sn,y),R(Cn,C),E(k))if(k.length){const t=e.exposed||(e.exposed={});k.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});_&&e.render===S&&(e.render=_),null!=O&&(e.inheritAttrs=O),T&&(e.components=T),P&&(e.directives=P)}function In(e,t,n){Tt(E(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Nn(e,t,n,r){const o=r.includes(".")?cn(n,r):()=>n[r];if(N(e)){const n=t[e];I(n)&&on(o,n)}else if(I(e))on(o,e.bind(n));else if(U(e))if(E(e))e.forEach((e=>Nn(e,t,n,r)));else{const r=I(e.handler)?e.handler.bind(n):t[e.handler];I(r)&&on(o,r,e)}}function Vn(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:l}}=e.appContext,i=s.get(t);let c;return i?c=i:o.length||n||r?(c={},o.length&&o.forEach((e=>Un(c,e,l,!0))),Un(c,t,l)):c=t,U(t)&&s.set(t,c),c}function Un(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Un(e,s,n,!0),o&&o.forEach((t=>Un(e,t,n,!0)));for(const l in t)if(r&&"expose"===l);else{const r=Bn[l]||n&&n[l];e[l]=r?r(e[l],t[l]):t[l]}return e}const Bn={data:Ln,props:Hn,emits:Hn,methods:Hn,computed:Hn,beforeCreate:Dn,created:Dn,beforeMount:Dn,mounted:Dn,beforeUpdate:Dn,updated:Dn,beforeDestroy:Dn,beforeUnmount:Dn,destroyed:Dn,unmounted:Dn,activated:Dn,deactivated:Dn,errorCaptured:Dn,serverPrefetch:Dn,components:Hn,directives:Hn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=P(Object.create(null),e);for(const r in t)n[r]=Dn(e[r],t[r]);return n},provide:Ln,inject:function(e,t){return Hn(Wn(e),Wn(t))}};function Ln(e,t){return t?e?function(){return P(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function Wn(e){if(E(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Dn(e,t){return e?[...new Set([].concat(e,t))]:t}function Hn(e,t){return e?P(P(Object.create(null),e),t):t}function zn(e,t,n,r=!1){const o={},s={};te(s,xr,1),e.propsDefaults=Object.create(null),qn(e,t,o,s);for(const l in e.propsOptions[0])l in o||(o[l]=void 0);e.props=n?r?o:pt(o,!1,Ne,rt,lt):e.type.props?o:s,e.attrs=s}function qn(e,t,n,r){const[o,s]=e.propsOptions;let l,i=!1;if(t)for(let c in t){if(z(c))continue;const u=t[c];let a;o&&$(o,a=K(c))?s&&s.includes(a)?(l||(l={}))[a]=u:n[a]=u:Kt(e.emitsOptions,c)||c in r&&u===r[c]||(r[c]=u,i=!0)}if(s){const t=vt(n),r=l||x;for(let l=0;l<s.length;l++){const i=s[l];n[i]=Gn(o,t,i,r[i],e,!$(r,i))}}return i}function Gn(e,t,n,r,o,s){const l=e[n];if(null!=l){const e=$(l,"default");if(e&&void 0===r){const e=l.default;if(l.type!==Function&&I(e)){const{propsDefaults:s}=o;n in s?r=s[n]:(Ir(o),r=s[n]=e.call(null,t),Nr())}else r=e}l[0]&&(s&&!e?r=!1:!l[1]||""!==r&&r!==X(n)||(r=!0))}return r}function Kn(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,l={},i=[];let c=!1;if(!I(e)){const r=e=>{c=!0;const[n,r]=Kn(e,t,!0);P(l,n),r&&i.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!c)return U(e)&&r.set(e,w),w;if(E(s))for(let a=0;a<s.length;a++){const e=K(s[a]);Jn(e)&&(l[e]=x)}else if(s)for(const a in s){const e=K(a);if(Jn(e)){const t=s[a],n=l[e]=E(t)||I(t)?{type:t}:{...t};if(n){const t=Qn(Boolean,n.type),r=Qn(String,n.type);n[0]=t>-1,n[1]=r<0||t<r,(t>-1||$(n,"default"))&&i.push(e)}}}const u=[l,i];return U(e)&&r.set(e,u),u}function Jn(e){return"$"!==e[0]}function Xn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function Zn(e,t){return Xn(e)===Xn(t)}function Qn(e,t){return E(t)?t.findIndex((t=>Zn(t,e))):I(t)&&Zn(t,e)?0:-1}const Yn=e=>"_"===e[0]||"$stable"===e,er=e=>E(e)?e.map(Tr):[Tr(e)],tr=(e,t,n)=>{if(t._n)return t;const r=function(e,t=Jt,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&yr(-1);const o=Zt(t);let s;try{s=e(...n)}finally{Zt(o),r._d&&yr(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}(((...e)=>er(t(...e))),n);return r._c=!1,r},nr=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Yn(o))continue;const n=e[o];if(I(n))t[o]=tr(0,n,r);else if(null!=n){const e=er(n);t[o]=()=>e}}},rr=(e,t)=>{const n=er(t);e.slots.default=()=>n};function or(){return{app:null,config:{isNativeTag:C,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let sr=0;function lr(e,t){return function(n,r=null){I(n)||(n={...n}),null==r||U(r)||(r=null);const o=or(),s=new Set;let l=!1;const i=o.app={_uid:sr++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:Gr,get config(){return o.config},set config(e){},use:(e,...t)=>(s.has(e)||(e&&I(e.install)?(s.add(e),e.install(i,...t)):I(e)&&(s.add(e),e(i,...t))),i),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),i),component:(e,t)=>t?(o.components[e]=t,i):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,i):o.directives[e],mount(s,c,u){if(!l){const a=Cr(n,r);return a.appContext=o,c&&t?t(a,s):e(a,s,u),l=!0,i._container=s,s.__vue_app__=i,Dr(a.component)||a.component.proxy}},unmount(){l&&(e(null,i._container),delete i._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,i)};return i}}function ir(e,t,n,r,o=!1){if(E(e))return void e.forEach(((e,s)=>ir(e,t&&(E(t)?t[s]:t),n,r,o)));if(an(r)&&!o)return;const s=4&r.shapeFlag?Dr(r.component)||r.component.proxy:r.el,l=o?null:s,{i:i,r:c}=e,u=t&&t.r,a=i.refs===x?i.refs={}:i.refs,f=i.setupState;if(null!=u&&u!==c&&(N(u)?(a[u]=null,$(f,u)&&(f[u]=null)):xt(u)&&(u.value=null)),I(c))Ot(c,i,12,[l,a]);else{const t=N(c),r=xt(c);if(t||r){const i=()=>{if(e.f){const n=t?$(f,c)?f[c]:a[c]:c.value;o?E(n)&&R(n,s):E(n)?n.includes(s)||n.push(s):t?(a[c]=[s],$(f,c)&&(f[c]=a[c])):(c.value=[s],e.k&&(a[e.k]=c.value))}else t?(a[c]=l,$(f,c)&&(f[c]=l)):r&&(c.value=l,e.k&&(a[e.k]=l))};l?(i.id=-1,cr(i,n)):i()}}}const cr=function(e,t){var n;t&&t.pendingBranch?E(e)?t.effects.push(...e):t.effects.push(e):(E(n=e)?Mt.push(...n):jt&&jt.includes(n,n.allowRecurse?At+1:At)||Mt.push(n),Bt())};function ur(e){return function(e,t){(re||(re="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})).__VUE__=!0;const{insert:n,remove:r,patchProp:o,createElement:s,createText:l,createComment:i,setText:c,setElementText:u,parentNode:a,nextSibling:f,setScopeId:p=S,insertStaticContent:d}=e,h=(e,t,n,r=null,o=null,s=null,l=!1,i=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!br(e,t)&&(r=J(e),W(e,o,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:u,ref:a,shapeFlag:f}=t;switch(u){case dr:g(e,t,n,r);break;case hr:m(e,t,n,r);break;case gr:null==e&&v(t,n,r,l);break;case pr:E(e,t,n,r,o,s,l,i,c);break;default:1&f?b(e,t,n,r,o,s,l,i,c):6&f?M(e,t,n,r,o,s,l,i,c):(64&f||128&f)&&u.process(e,t,n,r,o,s,l,i,c,Q)}null!=a&&o&&ir(a,e&&e.ref,s,t||e,!t)},g=(e,t,r,o)=>{if(null==e)n(t.el=l(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},m=(e,t,r,o)=>{null==e?n(t.el=i(t.children||""),r,o):t.el=e.el},v=(e,t,n,r)=>{[e.el,e.anchor]=d(e.children,t,n,r,e.el,e.anchor)},y=({el:e,anchor:t},r,o)=>{let s;for(;e&&e!==t;)s=f(e),n(e,r,o),e=s;n(t,r,o)},_=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),r(e),e=n;r(t)},b=(e,t,n,r,o,s,l,i,c)=>{l=l||"svg"===t.type,null==e?C(t,n,r,o,s,l,i,c):T(e,t,o,s,l,i,c)},C=(e,t,r,l,i,c,a,f)=>{let p,d;const{type:h,props:g,shapeFlag:m,transition:v,dirs:y}=e;if(p=e.el=s(e.type,c,g&&g.is,g),8&m?u(p,e.children):16&m&&O(e.children,p,null,l,i,c&&"foreignObject"!==h,a,f),y&&Pn(e,null,l,"created"),g){for(const t in g)"value"===t||z(t)||o(p,t,null,g[t],c,e.children,l,i,G);"value"in g&&o(p,"value",null,g.value),(d=g.onVnodeBeforeMount)&&$r(d,l,e)}k(p,e,e.scopeId,a,l),y&&Pn(e,null,l,"beforeMount");const _=(!i||i&&!i.pendingBranch)&&v&&!v.persisted;_&&v.beforeEnter(p),n(p,t,r),((d=g&&g.onVnodeMounted)||_||y)&&cr((()=>{d&&$r(d,l,e),_&&v.enter(p),y&&Pn(e,null,l,"mounted")}),i)},k=(e,t,n,r,o)=>{if(n&&p(e,n),r)for(let s=0;s<r.length;s++)p(e,r[s]);if(o){if(t===o.subTree){const t=o.vnode;k(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},O=(e,t,n,r,o,s,l,i,c=0)=>{for(let u=c;u<e.length;u++){const c=e[u]=i?Pr(e[u]):Tr(e[u]);h(null,c,t,n,r,o,s,l,i)}},T=(e,t,n,r,s,l,i)=>{const c=t.el=e.el;let{patchFlag:a,dynamicChildren:f,dirs:p}=t;a|=16&e.patchFlag;const d=e.props||x,h=t.props||x;let g;n&&ar(n,!1),(g=h.onVnodeBeforeUpdate)&&$r(g,n,t,e),p&&Pn(t,e,n,"beforeUpdate"),n&&ar(n,!0);const m=s&&"foreignObject"!==t.type;if(f?R(e.dynamicChildren,f,c,n,r,m,l):i||V(e,t,c,null,n,r,m,l,!1),a>0){if(16&a)F(c,t,d,h,n,r,s);else if(2&a&&d.class!==h.class&&o(c,"class",null,h.class,s),4&a&&o(c,"style",d.style,h.style,s),8&a){const l=t.dynamicProps;for(let t=0;t<l.length;t++){const i=l[t],u=d[i],a=h[i];a===u&&"value"!==i||o(c,i,u,a,s,e.children,n,r,G)}}1&a&&e.children!==t.children&&u(c,t.children)}else i||null!=f||F(c,t,d,h,n,r,s);((g=h.onVnodeUpdated)||p)&&cr((()=>{g&&$r(g,n,t,e),p&&Pn(t,e,n,"updated")}),r)},R=(e,t,n,r,o,s,l)=>{for(let i=0;i<t.length;i++){const c=e[i],u=t[i],f=c.el&&(c.type===pr||!br(c,u)||70&c.shapeFlag)?a(c.el):n;h(c,u,f,null,r,o,s,l,!0)}},F=(e,t,n,r,s,l,i)=>{if(n!==r){if(n!==x)for(const c in n)z(c)||c in r||o(e,c,n[c],null,i,t.children,s,l,G);for(const c in r){if(z(c))continue;const u=r[c],a=n[c];u!==a&&"value"!==c&&o(e,c,a,u,i,t.children,s,l,G)}"value"in r&&o(e,"value",n.value,r.value)}},E=(e,t,r,o,s,i,c,u,a)=>{const f=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:g}=t;g&&(u=u?u.concat(g):g),null==e?(n(f,r,o),n(p,r,o),O(t.children,r,p,s,i,c,u,a)):d>0&&64&d&&h&&e.dynamicChildren?(R(e.dynamicChildren,h,r,s,i,c,u),(null!=t.key||s&&t===s.subTree)&&fr(e,t,!0)):V(e,t,r,p,s,i,c,u,a)},M=(e,t,n,r,o,s,l,i,c)=>{t.slotScopeIds=i,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,l,c):j(t,n,r,o,s,l,c):A(e,t,c)},j=(e,t,n,r,o,s,l)=>{const i=e.component=jr(e,r,o);if(fn(e)&&(i.ctx.renderer=Q),Br(i),i.asyncDep){if(o&&o.registerDep(i,I),!e.el){const e=i.subTree=Cr(hr);m(null,e,t,n)}}else I(i,e,t,n,o,s,l)},A=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:s}=e,{props:l,children:i,patchFlag:c}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!o&&!i||i&&i.$stable)||r!==l&&(r?!l||tn(r,l,u):!!l);if(1024&c)return!0;if(16&c)return r?tn(r,l,u):!!l;if(8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(l[n]!==r[n]&&!Kt(u,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void N(r,t,n);r.next=t,function(e){const t=$t.indexOf(e);t>Et&&$t.splice(t,1)}(r.update),r.update()}else t.el=e.el,r.vnode=t},I=(e,t,n,r,o,s,l)=>{const i=()=>{if(e.isMounted){let t,{next:n,bu:r,u:i,parent:c,vnode:u}=e,f=n;ar(e,!1),n?(n.el=u.el,N(e,n,l)):n=u,r&&ee(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&$r(t,c,n,u),ar(e,!0);const p=Qt(e),d=e.subTree;e.subTree=p,h(d,p,a(d.el),J(d),e,o,s),n.el=p.el,null===f&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,p.el),i&&cr(i,o),(t=n.props&&n.props.onVnodeUpdated)&&cr((()=>$r(t,c,n,u)),o)}else{let l;const{el:i,props:c}=t,{bm:u,m:a,parent:f}=e,p=an(t);if(ar(e,!1),u&&ee(u),!p&&(l=c&&c.onVnodeBeforeMount)&&$r(l,f,t),ar(e,!0),i&&te){const n=()=>{e.subTree=Qt(e),te(i,e.subTree,e,o,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const l=e.subTree=Qt(e);h(null,l,n,r,e,o,s),t.el=l.el}if(a&&cr(a,o),!p&&(l=c&&c.onVnodeMounted)){const e=t;cr((()=>$r(l,f,e)),o)}(256&t.shapeFlag||f&&an(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&cr(e.a,o),e.isMounted=!0,t=n=r=null}},c=e.effect=new ge(i,(()=>Ut(u)),e.scope),u=e.update=()=>c.run();u.id=e.uid,ar(e,!0),u()},N=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:l}}=e,i=vt(o),[c]=e.propsOptions;let u=!1;if(!(r||l>0)||16&l){let r;qn(e,t,o,s)&&(u=!0);for(const s in i)t&&($(t,s)||(r=X(s))!==s&&$(t,r))||(c?!n||void 0===n[s]&&void 0===n[r]||(o[s]=Gn(c,i,s,void 0,e,!0)):delete o[s]);if(s!==i)for(const e in s)t&&$(t,e)||(delete s[e],u=!0)}else if(8&l){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let l=n[r];if(Kt(e.emitsOptions,l))continue;const a=t[l];if(c)if($(s,l))a!==s[l]&&(s[l]=a,u=!0);else{const t=K(l);o[t]=Gn(c,i,t,a,e,!1)}else a!==s[l]&&(s[l]=a,u=!0)}}u&&Se(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,l=x;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(P(o,t),n||1!==e||delete o._):(s=!t.$stable,nr(t,o)),l=t}else t&&(rr(e,t),l={default:1});if(s)for(const i in o)Yn(i)||i in l||delete o[i]})(e,t.children,n),_e(),Lt(),be()},V=(e,t,n,r,o,s,l,i,c=!1)=>{const a=e&&e.children,f=e?e.shapeFlag:0,p=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void B(a,p,n,r,o,s,l,i,c);if(256&d)return void U(a,p,n,r,o,s,l,i,c)}8&h?(16&f&&G(a,o,s),p!==a&&u(n,p)):16&f?16&h?B(a,p,n,r,o,s,l,i,c):G(a,o,s,!0):(8&f&&u(n,""),16&h&&O(p,n,r,o,s,l,i,c))},U=(e,t,n,r,o,s,l,i,c)=>{const u=(e=e||w).length,a=(t=t||w).length,f=Math.min(u,a);let p;for(p=0;p<f;p++){const r=t[p]=c?Pr(t[p]):Tr(t[p]);h(e[p],r,n,null,o,s,l,i,c)}u>a?G(e,o,s,!0,!1,f):O(t,n,r,o,s,l,i,c,f)},B=(e,t,n,r,o,s,l,i,c)=>{let u=0;const a=t.length;let f=e.length-1,p=a-1;for(;u<=f&&u<=p;){const r=e[u],a=t[u]=c?Pr(t[u]):Tr(t[u]);if(!br(r,a))break;h(r,a,n,null,o,s,l,i,c),u++}for(;u<=f&&u<=p;){const r=e[f],u=t[p]=c?Pr(t[p]):Tr(t[p]);if(!br(r,u))break;h(r,u,n,null,o,s,l,i,c),f--,p--}if(u>f){if(u<=p){const e=p+1,f=e<a?t[e].el:r;for(;u<=p;)h(null,t[u]=c?Pr(t[u]):Tr(t[u]),n,f,o,s,l,i,c),u++}}else if(u>p)for(;u<=f;)W(e[u],o,s,!0),u++;else{const d=u,g=u,m=new Map;for(u=g;u<=p;u++){const e=t[u]=c?Pr(t[u]):Tr(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const _=p-g+1;let b=!1,x=0;const S=new Array(_);for(u=0;u<_;u++)S[u]=0;for(u=d;u<=f;u++){const r=e[u];if(y>=_){W(r,o,s,!0);continue}let a;if(null!=r.key)a=m.get(r.key);else for(v=g;v<=p;v++)if(0===S[v-g]&&br(r,t[v])){a=v;break}void 0===a?W(r,o,s,!0):(S[a-g]=u+1,a>=x?x=a:b=!0,h(r,t[a],n,null,o,s,l,i,c),y++)}const C=b?function(e){const t=e.slice(),n=[0];let r,o,s,l,i;const c=e.length;for(r=0;r<c;r++){const c=e[r];if(0!==c){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,l=n.length-1;s<l;)i=s+l>>1,e[n[i]]<c?s=i+1:l=i;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}s=n.length,l=n[s-1];for(;s-- >0;)n[s]=l,l=t[l];return n}(S):w;for(v=C.length-1,u=_-1;u>=0;u--){const e=g+u,f=t[e],p=e+1<a?t[e+1].el:r;0===S[u]?h(null,f,n,p,o,s,l,i,c):b&&(v<0||u!==C[v]?L(f,n,p,2):v--)}}},L=(e,t,r,o,s=null)=>{const{el:l,type:i,transition:c,children:u,shapeFlag:a}=e;if(6&a)return void L(e.component.subTree,t,r,o);if(128&a)return void e.suspense.move(t,r,o);if(64&a)return void i.move(e,t,r,Q);if(i===pr){n(l,t,r);for(let e=0;e<u.length;e++)L(u[e],t,r,o);return void n(e.anchor,t,r)}if(i===gr)return void y(e,t,r);if(2!==o&&1&a&&c)if(0===o)c.beforeEnter(l),n(l,t,r),cr((()=>c.enter(l)),s);else{const{leave:e,delayLeave:o,afterLeave:s}=c,i=()=>n(l,t,r),u=()=>{e(l,(()=>{i(),s&&s()}))};o?o(l,i,u):u()}else n(l,t,r)},W=(e,t,n,r=!1,o=!1)=>{const{type:s,props:l,ref:i,children:c,dynamicChildren:u,shapeFlag:a,patchFlag:f,dirs:p}=e;if(null!=i&&ir(i,null,n,e,!0),256&a)return void t.ctx.deactivate(e);const d=1&a&&p,h=!an(e);let g;if(h&&(g=l&&l.onVnodeBeforeUnmount)&&$r(g,t,e),6&a)q(e.component,n,r);else{if(128&a)return void e.suspense.unmount(n,r);d&&Pn(e,null,t,"beforeUnmount"),64&a?e.type.remove(e,t,n,o,Q,r):u&&(s!==pr||f>0&&64&f)?G(u,t,n,!1,!0):(s===pr&&384&f||!o&&16&a)&&G(c,t,n),r&&D(e)}(h&&(g=l&&l.onVnodeUnmounted)||d)&&cr((()=>{g&&$r(g,t,e),d&&Pn(e,null,t,"unmounted")}),n)},D=e=>{const{type:t,el:n,anchor:o,transition:s}=e;if(t===pr)return void H(n,o);if(t===gr)return void _(e);const l=()=>{r(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:r}=s,o=()=>t(n,l);r?r(e.el,l,o):o()}else l()},H=(e,t)=>{let n;for(;e!==t;)n=f(e),r(e),e=n;r(t)},q=(e,t,n)=>{const{bum:r,scope:o,update:s,subTree:l,um:i}=e;r&&ee(r),o.stop(),s&&(s.active=!1,W(l,e,t,n)),i&&cr(i,t),cr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},G=(e,t,n,r=!1,o=!1,s=0)=>{for(let l=s;l<e.length;l++)W(e[l],t,n,r,o)},J=e=>6&e.shapeFlag?J(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),Z=(e,t,n)=>{null==e?t._vnode&&W(t._vnode,null,null,!0):h(t._vnode||null,e,t,null,null,null,n),Lt(),Wt(),t._vnode=e},Q={p:h,um:W,m:L,r:D,mt:j,mc:O,pc:V,pbc:R,n:J,o:e};let Y,te;t&&([Y,te]=t(Q));return{render:Z,hydrate:Y,createApp:lr(Z,Y)}}(e)}function ar({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function fr(e,t,n=!1){const r=e.children,o=t.children;if(E(r)&&E(o))for(let s=0;s<r.length;s++){const e=r[s];let t=o[s];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[s]=Pr(o[s]),t.el=e.el),n||fr(e,t)),t.type===dr&&(t.el=e.el)}}const pr=Symbol(void 0),dr=Symbol(void 0),hr=Symbol(void 0),gr=Symbol(void 0),mr=[];let vr=1;function yr(e){vr+=e}function _r(e){return!!e&&!0===e.__v_isVNode}function br(e,t){return e.type===t.type&&e.key===t.key}const xr="__vInternal",wr=({key:e})=>null!=e?e:null,Sr=({ref:e,ref_key:t,ref_for:n})=>null!=e?N(e)||xt(e)||I(e)?{i:Jt,r:e,k:t,f:!!n}:e:null;const Cr=function(e,n=null,r=null,o=0,s=null,i=!1){e&&e!==Rn||(e=hr);if(_r(e)){const t=kr(e,n,!0);return r&&Rr(t,r),t.patchFlag|=-2,t}c=e,I(c)&&"__vccOpts"in c&&(e=e.__vccOpts);var c;if(n){n=function(e){return e?mt(e)||xr in e?P({},e):e:null}(n);let{class:e,style:r}=n;e&&!N(e)&&(n.class=l(e)),U(r)&&(mt(r)&&!E(r)&&(r=P({},r)),n.style=t(r))}const u=N(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:U(e)?4:I(e)?2:0;return function(e,t=null,n=null,r=0,o=null,s=(e===pr?0:1),l=!1,i=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wr(t),ref:t&&Sr(t),scopeId:Xt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Jt};return i?(Rr(c,n),128&s&&e.normalize(c)):n&&(c.shapeFlag|=N(n)?8:16),c}(e,n,r,o,s,u,i,!0)};function kr(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:l}=e,i=t?Fr(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&wr(i),ref:t&&t.ref?n&&o?E(o)?o.concat(Sr(t)):[o,Sr(t)]:Sr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pr?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&kr(e.ssContent),ssFallback:e.ssFallback&&kr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function Or(e=" ",t=0){return Cr(dr,null,e,t)}function Tr(e){return null==e||"boolean"==typeof e?Cr(hr):E(e)?Cr(pr,null,e.slice()):"object"==typeof e?Pr(e):Cr(dr,null,String(e))}function Pr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:kr(e)}function Rr(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(E(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Rr(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||xr in t?3===r&&Jt&&(1===Jt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Jt}}else I(t)?(t={default:t,_ctx:Jt},n=32):(t=String(t),64&r?(n=16,t=[Or(t)]):n=8);e.children=t,e.shapeFlag|=n}function Fr(...e){const n={};for(let r=0;r<e.length;r++){const o=e[r];for(const e in o)if("class"===e)n.class!==o.class&&(n.class=l([n.class,o.class]));else if("style"===e)n.style=t([n.style,o.style]);else if(O(e)){const t=n[e],r=o[e];!r||t===r||E(t)&&t.includes(r)||(n[e]=t?[].concat(t,r):r)}else""!==e&&(n[e]=o[e])}return n}function $r(e,t,n,r=null){Tt(e,t,7,[n,r])}const Er=or();let Mr=0;function jr(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Er,s={uid:Mr++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new se(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Kn(r,o),emitsOptions:Gt(r,o),emit:null,emitted:null,propsDefaults:x,inheritAttrs:r.inheritAttrs,ctx:x,data:x,props:x,attrs:x,slots:x,refs:x,setupState:x,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=qt.bind(null,s),e.ce&&e.ce(s),s}let Ar=null;const Ir=e=>{Ar=e,e.scope.on()},Nr=()=>{Ar&&Ar.scope.off(),Ar=null};function Vr(e){return 4&e.vnode.shapeFlag}let Ur=!1;function Br(e,t=!1){Ur=t;const{props:n,children:r}=e.vnode,o=Vr(e);zn(e,n,o,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=vt(t),te(t,"_",n)):nr(t,e.slots={})}else e.slots={},t&&rr(e,t);te(e.slots,xr,1)})(e,r);const s=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=yt(new Proxy(e.ctx,Mn));const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?function(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(xe(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;Ir(e),_e();const o=Ot(r,e,0,[e.props,n]);if(be(),Nr(),B(o)){if(o.then(Nr,Nr),t)return o.then((n=>{Lr(e,n,t)})).catch((t=>{Pt(t,e,0)}));e.asyncDep=o}else Lr(e,o,t)}else Wr(e,t)}(e,t):void 0;return Ur=!1,s}function Lr(e,t,n){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:U(t)&&(e.setupState=St(t)),Wr(e,n)}function Wr(e,t,n){const r=e.type;e.render||(e.render=r.render||S),Ir(e),_e(),An(e),be(),Nr()}function Dr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(St(yt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in $n?$n[n](e):void 0,has:(e,t)=>t in e||t in $n}))}const Hr=(e,t)=>function(e,t,n=!1){let r,o;const s=I(e);return s?(r=e,o=S):(r=e.get,o=e.set),new kt(r,o,s||!o,n)}(e,0,Ur),zr=Symbol(""),qr=()=>nn(zr),Gr="3.2.45",Kr={createComponentInstance:jr,setupComponent:Br,renderComponentRoot:Qt,setCurrentRenderingInstance:Zt,isVNode:_r,normalizeVNode:Tr},Jr="undefined"!=typeof document?document:null,Xr=Jr&&Jr.createElement("template"),Zr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?Jr.createElementNS("http://www.w3.org/2000/svg",e):Jr.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>Jr.createTextNode(e),createComment:e=>Jr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Jr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const l=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==s&&(o=o.nextSibling););else{Xr.innerHTML=r?`<svg>${e}</svg>`:e;const o=Xr.content;if(r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const Qr=/\s*!important$/;function Yr(e,t,n){if(E(n))n.forEach((n=>Yr(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=to[t];if(n)return n;let r=K(t);if("filter"!==r&&r in e)return to[t]=r;r=Z(r);for(let o=0;o<eo.length;o++){const n=eo[o]+r;if(n in e)return to[t]=n}return t}(e,t);Qr.test(n)?e.setProperty(X(r),n.replace(Qr,""),"important"):e[r]=n}}const eo=["Webkit","Moz","ms"],to={};const no="http://www.w3.org/1999/xlink";function ro(e,t,n,r,o=null){const s=e._vei||(e._vei={}),l=s[t];if(r&&l)l.value=r;else{const[n,i]=function(e){let t;if(oo.test(e)){let n;for(t={};n=e.match(oo);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):X(e.slice(2)),t]}(t);if(r){const l=s[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Tt(function(e,t){if(E(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>so||(lo.then((()=>so=0)),so=Date.now()))(),n}(r,o);!function(e,t,n,r){e.addEventListener(t,n,r)}(e,n,l,i)}else l&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,l,i),s[t]=void 0)}}const oo=/(?:Once|Passive|Capture)$/;let so=0;const lo=Promise.resolve();const io=/^on[a-z]/;const co=P({patchProp:(e,t,n,r,o=!1,s,l,i,c)=>{"class"===t?function(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,o):"style"===t?function(e,t,n){const r=e.style,o=N(n);if(n&&!o){for(const e in n)Yr(r,e,n[e]);if(t&&!N(t))for(const e in t)null==n[e]&&Yr(r,e,"")}else{const s=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}(e,n,r):O(t)?T(t)||ro(e,t,0,r,l):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&io.test(t)&&I(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(io.test(t)&&N(n))return!1;return t in e}(e,t,r,o))?function(e,t,n,r,o,s,l){if("innerHTML"===t||"textContent"===t)return r&&l(r,o,s),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const r=null==n?"":n;return e.value===r&&"OPTION"!==e.tagName||(e.value=r),void(null==n&&e.removeAttribute(t))}let i=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=p(n):null==n&&"string"===r?(n="",i=!0):"number"===r&&(n=0,i=!0)}try{e[t]=n}catch(c){}i&&e.removeAttribute(t)}(e,t,r,s,l,i,c):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r,o){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(no,t.slice(6,t.length)):e.setAttributeNS(no,t,n);else{const r=a(t);null==n||r&&!p(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,o))}},Zr);let uo;const ao=(...e)=>{const t=(uo||(uo=ur(co))).createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){if(N(e)){return document.querySelector(e)}return e}(e);if(!r)return;const o=t._component;I(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";const s=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t};const fo=e(",key,ref,innerHTML,textContent,ref_key,ref_for");function po(e,t){let n="";for(const r in e){if(fo(r)||O(r)||"textarea"===t&&"value"===r)continue;const o=e[r];n+="class"===r?` class="${vo(o)}"`:"style"===r?` style="${yo(o)}"`:ho(r,o,t)}return n}function ho(e,t,n){if(!mo(t))return"";const r=n&&(n.indexOf("-")>0||i(n))?e:g[e]||e.toLowerCase();return f(r)?p(t)?` ${r}`:"":function(e){if(h.hasOwnProperty(e))return h[e];const t=d.test(e);return t&&console.error(`unsafe attribute name: ${e}`),h[e]=!t}(r)?""===t?` ${r}`:` ${r}="${v(t)}"`:(console.warn(`[@vue/server-renderer] Skipped rendering unsafe attribute name: ${r}`),"")}function go(e,t){return mo(t)?` ${e}="${v(t)}"`:""}function mo(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}function vo(e){return v(l(e))}function yo(e){if(!e)return"";if(N(e))return v(e);return v(function(e){let t="";if(!e||N(e))return t;for(const n in e){const r=e[n],o=n.startsWith("--")?n:X(n);(N(r)||"number"==typeof r)&&(t+=`${o}:${r};`)}return t}(t(e)))}function _o(e,t,n,r,o){e("\x3c!--teleport start--\x3e");const s=o.appContext.provides[zr],l=s.__teleportBuffers||(s.__teleportBuffers={}),i=l[n]||(l[n]=[]),c=i.length;let u;if(r)t(e),u="\x3c!--teleport anchor--\x3e";else{const{getBuffer:e,push:n}=ko();t(n),n("\x3c!--teleport anchor--\x3e"),u=e()}i.splice(c,0,u),e("\x3c!--teleport end--\x3e")}const{createComponentInstance:bo,setCurrentRenderingInstance:xo,setupComponent:wo,renderComponentRoot:So,normalizeVNode:Co}=Kr;function ko(){let e=!1;const t=[];return{getBuffer:()=>t,push(n){const r=N(n);e&&r?t[t.length-1]+=n:t.push(n),e=r,(B(n)||E(n)&&n.hasAsync)&&(t.hasAsync=!0)}}}function Oo(e,t=null,n){const r=bo(e,t,null),o=wo(r,!0),s=B(o),l=r.sp;if(s||l){let e=s?o:Promise.resolve();return l&&(e=e.then((()=>Promise.all(l.map((e=>e.call(r.proxy)))))).catch((()=>{}))),e.then((()=>To(r,n)))}return To(r,n)}function To(e,t){const n=e.type,{getBuffer:r,push:o}=ko();if(I(n)){let r=So(e);if(!n.props)for(const t in e.attrs)t.startsWith("data-v-")&&((r.props||(r.props={}))[t]="");Po(o,e.subTree=r,e,t)}else{e.render&&e.render!==S||e.ssrRender||n.ssrRender||!N(n.template)||(n.ssrRender=function(e,t){throw new Error("On-the-fly template compilation is not supported in the ESM build of @vue/server-renderer. All templates must be pre-compiled into render functions.")}());for(const t of e.scope.effects)t.computed&&(t.computed._cacheable=!0);const r=e.ssrRender||n.ssrRender;if(r){let n=!1!==e.inheritAttrs?e.attrs:void 0,s=!1,l=e;for(;;){const e=l.vnode.scopeId;e&&(s||(n={...n},s=!0),n[e]="");const t=l.parent;if(!t||!t.subTree||t.subTree!==l.vnode)break;l=t}t&&(s||(n={...n}),n[t.trim()]="");const i=xo(e);try{r(e.proxy,o,e,n,e.props,e.setupState,e.data,e.ctx)}finally{xo(i)}}else e.render&&e.render!==S?Po(o,e.subTree=So(e),e,t):o("\x3c!----\x3e")}return r()}function Po(e,t,n,r){const{type:o,shapeFlag:s,children:l}=t;switch(o){case dr:e(v(l));break;case hr:e(l?`\x3c!--${i=l,i.replace(y,"")}--\x3e`:"\x3c!----\x3e");break;case gr:e(l);break;case pr:t.slotScopeIds&&(r=(r?r+" ":"")+t.slotScopeIds.join(" ")),e("\x3c!--[--\x3e"),Ro(e,l,n,r),e("\x3c!--]--\x3e");break;default:1&s?function(e,t,n,r){const o=t.type;let{props:s,children:l,shapeFlag:i,scopeId:u,dirs:a}=t,f=`<${o}`;a&&(s=function(e,t,n){const r=[];for(let o=0;o<n.length;o++){const t=n[o],{dir:{getSSRProps:s}}=t;if(s){const n=s(t,e);n&&r.push(n)}}return Fr(t||{},...r)}(t,s,a));s&&(f+=po(s,o));u&&(f+=` ${u}`);let p=n,d=t;for(;p&&d===p.subTree;)d=p.vnode,d.scopeId&&(f+=` ${d.scopeId}`),p=p.parent;r&&(f+=` ${r}`);if(e(f+">"),!c(o)){let t=!1;s&&(s.innerHTML?(t=!0,e(s.innerHTML)):s.textContent?(t=!0,e(v(s.textContent))):"textarea"===o&&s.value&&(t=!0,e(v(s.value)))),t||(8&i?e(v(l)):16&i&&Ro(e,l,n,r)),e(`</${o}>`)}}(e,t,n,r):6&s?e(Oo(t,n,r)):64&s?function(e,t,n,r){const o=t.props&&t.props.to,s=t.props&&t.props.disabled;if(!o)return[];if(!N(o))return[];_o(e,(e=>{Ro(e,t.children,n,r)}),o,s||""===s,n)}(e,t,n,r):128&s&&Po(e,t.ssContent,n,r)}var i}function Ro(e,t,n,r){for(let o=0;o<t.length;o++)Po(e,Co(t[o]),n,r)}const{isVNode:Fo}=Kr;async function $o(e){if(e.hasAsync){let t="";for(let n=0;n<e.length;n++){let r=e[n];B(r)&&(r=await r),N(r)?t+=r:t+=await $o(r)}return t}return Eo(e)}function Eo(e){let t="";for(let n=0;n<e.length;n++){let r=e[n];N(r)?t+=r:t+=Eo(r)}return t}async function Mo(e,t={}){if(Fo(e))return Mo(ao({render:()=>e}),t);const n=Cr(e._component,e._props);n.appContext=e._context,e.provide(zr,t);const r=await Oo(n),o=await $o(r);if(await jo(t),t.__watcherHandles)for(const s of t.__watcherHandles)s();return o}async function jo(e){if(e.__teleportBuffers){e.teleports=e.teleports||{};for(const t in e.__teleportBuffers)e.teleports[t]=await $o(await Promise.all([e.__teleportBuffers[t]]))}}const{isVNode:Ao}=Kr;async function Io(e,t){if(e.hasAsync)for(let n=0;n<e.length;n++){let r=e[n];B(r)&&(r=await r),N(r)?t.push(r):await Io(r,t)}else No(e,t)}function No(e,t){for(let n=0;n<e.length;n++){let r=e[n];N(r)?t.push(r):No(r,t)}}function Vo(e,t,n){if(Ao(e))return Vo(ao({render:()=>e}),t,n);const r=Cr(e._component,e._props);return r.appContext=e._context,e.provide(zr,t),Promise.resolve(Oo(r)).then((e=>Io(e,n))).then((()=>jo(t))).then((()=>{if(t.__watcherHandles)for(const e of t.__watcherHandles)e()})).then((()=>n.push(null))).catch((e=>{n.destroy(e)})),n}function Uo(e,t={}){return console.warn("[@vue/server-renderer] renderToStream is deprecated - use renderToNodeStream instead."),Bo(e,t)}function Bo(e,t={}){throw new Error("ESM build of renderToStream() does not support renderToNodeStream(). Use pipeToNodeWritable() with an existing Node.js Writable stream instance instead.")}function Lo(e,t={},n){Vo(e,t,{push(e){null!=e?n.write(e):n.end()},destroy(e){n.destroy(e)}})}function Wo(e,t={}){if("function"!=typeof ReadableStream)throw new Error("ReadableStream constructor is not available in the global scope. If the target environment does support web streams, consider using pipeToWebWritable() with an existing WritableStream instance instead.");const n=new TextEncoder;let r=!1;return new ReadableStream({start(o){Vo(e,t,{push(e){r||(null!=e?o.enqueue(n.encode(e)):o.close())},destroy(e){o.error(e)}})},cancel(){r=!0}})}function Do(e,t={},n){const r=n.getWriter(),o=new TextEncoder;let s=!1;try{s=B(r.ready)}catch(l){}Vo(e,t,{push:async e=>(s&&await r.ready,null!=e?r.write(o.encode(e)):r.close()),destroy(e){console.log(e),r.close()}})}function Ho(e,t=null,n=null,r=null,o){return Oo(Cr(e,t,n),r,o)}function zo(e,t,n,r,o,s,l){o("\x3c!--[--\x3e"),qo(e,t,n,r,o,s,l),o("\x3c!--]--\x3e")}function qo(e,t,n,r,o,s,l,i){const c=e[t];if(c){const e=[],t=c(n,(t=>{e.push(t)}),s,l?" "+l:"");if(E(t))Ro(o,t,s,l);else{let t=!0;if(i)t=!1;else for(let n=0;n<e.length;n++)if(!Jo(e[n])){t=!1;break}if(t)r&&r();else for(let n=0;n<e.length;n++)o(e[n])}}else r&&r()}const Go=/^<!--.*-->$/s,Ko=/<!--[^]*?-->/gm;function Jo(e){return!("string"!=typeof e||!Go.test(e))&&(e.length<=8||!e.replace(Ko,"").trim())}function Xo(e){return v(N(t=e)?t:null==t?"":E(t)||U(t)&&(t.toString===L||!I(t.toString))?JSON.stringify(t,b,2):String(t));var t}function Zo(e,t){if(E(e)||N(e))for(let n=0,r=e.length;n<r;n++)t(e[n],n);else if("number"==typeof e)for(let n=0;n<e;n++)t(n+1,n);else if(U(e))if(e[Symbol.iterator]){const n=Array.from(e);for(let e=0,r=n.length;e<r;e++)t(n[e],e)}else{const n=Object.keys(e);for(let r=0,o=n.length;r<o;r++){const o=n[r];t(e[o],o,r)}}}async function Qo(e,{default:t}){t?t():e("\x3c!----\x3e")}function Yo(e,t,n,r,o={}){return"function"!=typeof t&&t.getSSRProps&&t.getSSRProps({dir:t,instance:e,value:n,oldValue:void 0,arg:r,modifiers:o},null)||{}}const es=_;function ts(e,t){return function(e,t){return e.findIndex((e=>_(e,t)))}(e,t)>-1}function ns(e,t,n){switch(e){case"radio":return _(t,n)?" checked":"";case"checkbox":return(E(t)?ts(t,n):t)?" checked":"";default:return go("value",t)}}function rs(e={},t){const{type:n,value:r}=e;switch(n){case"radio":return _(t,r)?{checked:!0}:null;case"checkbox":return(E(t)?ts(t,r):t)?{checked:!0}:null;default:return{value:t}}}export{Lo as pipeToNodeWritable,Do as pipeToWebWritable,Bo as renderToNodeStream,Vo as renderToSimpleStream,Uo as renderToStream,Mo as renderToString,Wo as renderToWebStream,Yo as ssrGetDirectiveProps,rs as ssrGetDynamicModelProps,p as ssrIncludeBooleanAttr,Xo as ssrInterpolate,ts as ssrLooseContain,es as ssrLooseEqual,go as ssrRenderAttr,po as ssrRenderAttrs,vo as ssrRenderClass,Ho as ssrRenderComponent,ho as ssrRenderDynamicAttr,ns as ssrRenderDynamicModel,Zo as ssrRenderList,zo as ssrRenderSlot,qo as ssrRenderSlotInner,yo as ssrRenderStyle,Qo as ssrRenderSuspense,_o as ssrRenderTeleport,Po as ssrRenderVNode};
|