@heybox/hb-sdk 0.9.3-alpha.6 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -0
- package/dist/cli-chunks/{build-B1YssPNl.cjs → build-DrFbb0V-.cjs} +5 -5
- package/dist/cli-chunks/{context-Deob2IZ5.cjs → context-CTlwLbwn.cjs} +2 -2
- package/dist/cli-chunks/{create-BWzY1CVT.cjs → create-Ccse2SW7.cjs} +1 -1
- package/dist/cli-chunks/{deploy-lock-ClcPcaSW.cjs → deploy-lock-DaGpgsU7.cjs} +1 -1
- package/dist/cli-chunks/{dev-wVCyeUOb.cjs → dev-BHsCFm4O.cjs} +8 -8
- package/dist/cli-chunks/{doctor-DHd5eYBr.cjs → doctor-BhTTMupn.cjs} +1 -1
- package/dist/cli-chunks/{games-DNhP1Om4.cjs → games-BOP_ZDp6.cjs} +2 -2
- package/dist/cli-chunks/{index-DfYr8g3I.cjs → index-CF6qh9ll.cjs} +17 -17
- package/dist/cli-chunks/{index-BOd8ouDY.cjs → index-DMall69X.cjs} +1 -1
- package/dist/cli-chunks/{index.esm-PlHUr780.cjs → index.esm-Cau47g22.cjs} +6 -6
- package/dist/cli-chunks/{login-D-iG6Um2.cjs → login-BGDovscU.cjs} +1 -1
- package/dist/cli-chunks/{project-vite-DyKHpc6h.cjs → project-vite-Dnev8Z34.cjs} +1 -1
- package/dist/cli-chunks/{remote-CyynHOcj.cjs → remote--MDcbz4m.cjs} +7 -7
- package/dist/cli-chunks/{runtime-gate-DPXnKdQ4.cjs → runtime-gate-BgWB2U5f.cjs} +2 -2
- package/dist/cli-chunks/{runtime-permission-env-BjO2KzGl.cjs → runtime-permission-env-DmJ1zEpa.cjs} +13 -2
- package/dist/cli-chunks/{skill-BOLOEDrj.cjs → skill-Bm1MmMN5.cjs} +2 -2
- package/dist/cli-chunks/{version-DX2glIk7.cjs → version-C6b3tkax.cjs} +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/devtools/browser-dev-host/assets/browser-dev-host-BHtf4WWG.js +102 -0
- package/dist/devtools/browser-dev-host/assets/desktop-app-launch-Dl4RfM9z.js +6 -0
- package/dist/devtools/browser-dev-host/assets/{index-Br7UpHGt.js → index-DFLYLAXj.js} +4 -4
- package/dist/devtools/browser-dev-host/assets/{index-7Cq8iNcD.css → index-h-fYisyX.css} +1 -1
- package/dist/devtools/browser-dev-host/index.html +3 -3
- package/dist/index.cjs.js +314 -28
- package/dist/index.esm.js +314 -29
- package/dist/miniapp-publish.cjs.js +11 -0
- package/dist/miniapp-publish.esm.js +11 -0
- package/dist/protocol.cjs.js +172 -0
- package/dist/protocol.esm.js +169 -1
- package/dist/vite.cjs.js +17 -3
- package/dist/vite.esm.js +17 -3
- package/package.json +7 -7
- package/skill/skill.json +4 -4
- package/types/index.d.ts +80 -2
- package/types/miniapp-publish/index.d.ts +1 -1
- package/types/protocol.d.ts +77 -2
- package/dist/devtools/browser-dev-host/assets/browser-dev-host-CD6Ado2B.js +0 -102
- package/dist/devtools/browser-dev-host/assets/desktop-app-launch-CFl6m8k-.js +0 -6
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
function gs(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const B={},ht=[],He=()=>{},_n=()=>!1,ms=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),_s=e=>e.startsWith("onUpdate:"),ce=Object.assign,ys=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},zi=Object.prototype.hasOwnProperty,U=(e,t)=>zi.call(e,t),L=Array.isArray,pt=e=>Gt(e)==="[object Map]",yn=e=>Gt(e)==="[object Set]",$s=e=>Gt(e)==="[object Date]",M=e=>typeof e=="function",ne=e=>typeof e=="string",Te=e=>typeof e=="symbol",K=e=>e!==null&&typeof e=="object",bn=e=>(K(e)||M(e))&&M(e.then)&&M(e.catch),vn=Object.prototype.toString,Gt=e=>vn.call(e),Gi=e=>Gt(e).slice(8,-1),wn=e=>Gt(e)==="[object Object]",br=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,It=gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vr=e=>{const t=Object.create(null);return(r=>t[r]||(t[r]=e(r)))},Yi=/-\w/g,Ce=vr(e=>e.replace(Yi,t=>t.slice(1).toUpperCase())),Ji=/\B([A-Z])/g,vt=vr(e=>e.replace(Ji,"-$1").toLowerCase()),bs=vr(e=>e.charAt(0).toUpperCase()+e.slice(1)),or=vr(e=>e?`on${bs(e)}`:""),oe=(e,t)=>!Object.is(e,t),Nr=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},xn=(e,t,r,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:r})},Xi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qc=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Bs;const wr=()=>Bs||(Bs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xr(e){if(L(e)){const t={};for(let r=0;r<e.length;r++){const s=e[r],n=ne(s)?to(s):xr(s);if(n)for(const i in n)t[i]=n[i]}return t}else if(ne(e)||K(e))return e}const Qi=/;(?![^(]*\))/g,Zi=/:([^]+)/,eo=/\/\*[^]*?\*\//g;function to(e){const t={};return e.replace(eo,"").split(Qi).forEach(r=>{if(r){const s=r.split(Zi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Sr(e){let t="";if(ne(e))t=e;else if(L(e))for(let r=0;r<e.length;r++){const s=Sr(e[r]);s&&(t+=s+" ")}else if(K(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function zc(e){if(!e)return null;let{class:t,style:r}=e;return t&&!ne(t)&&(e.class=Sr(t)),r&&(e.style=xr(r)),e}const ro="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Gc=gs(ro);function Yc(e){return!!e||e===""}function so(e,t){if(e.length!==t.length)return!1;let r=!0;for(let s=0;r&&s<e.length;s++)r=vs(e[s],t[s]);return r}function vs(e,t){if(e===t)return!0;let r=$s(e),s=$s(t);if(r||s)return r&&s?e.getTime()===t.getTime():!1;if(r=Te(e),s=Te(t),r||s)return e===t;if(r=L(e),s=L(t),r||s)return r&&s?so(e,t):!1;if(r=K(e),s=K(t),r||s){if(!r||!s)return!1;const n=Object.keys(e).length,i=Object.keys(t).length;if(n!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!vs(e[o],t[o]))return!1}}return String(e)===String(t)}const Sn=e=>!!(e&&e.__v_isRef===!0),no=e=>ne(e)?e:e==null?"":L(e)||K(e)&&(e.toString===vn||!M(e.toString))?Sn(e)?no(e.value):JSON.stringify(e,Tn,2):String(e),Tn=(e,t)=>Sn(t)?Tn(e,t.value):pt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[s,n],i)=>(r[Hr(s,i)+" =>"]=n,r),{})}:yn(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Hr(r))}:Te(t)?Hr(t):K(t)&&!L(t)&&!wn(t)?String(t):t,Hr=(e,t="")=>{var r;return Te(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};let re;class En{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&re&&(re.active?(this.parent=re,this.index=(re.scopes||(re.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].pause();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].resume();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].resume()}}run(t){if(this._active){const r=re;try{return re=this,t()}finally{re=r}}}on(){++this._on===1&&(this.prevScope=re,re=this)}off(){if(this._on>0&&--this._on===0){if(re===this)re=this.prevScope;else{let t=re;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let r,s;for(r=0,s=this.effects.length;r<s;r++)this.effects[r].stop();for(this.effects.length=0,r=0,s=this.cleanups.length;r<s;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,s=this.scopes.length;r<s;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0}}}function Jc(e){return new En(e)}function io(){return re}function Xc(e,t=!1){re&&re.cleanups.push(e)}let X;const jr=new WeakSet;class Pn{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,re&&(re.active?re.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,jr.has(this)&&(jr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||kn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ws(this),An(this);const t=X,r=Pe;X=this,Pe=!0;try{return this.fn()}finally{In(this),X=t,Pe=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ss(t);this.deps=this.depsTail=void 0,Ws(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?jr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Yr(this)&&this.run()}get dirty(){return Yr(this)}}let Cn=0,Rt,Lt;function kn(e,t=!1){if(e.flags|=8,t){e.next=Lt,Lt=e;return}e.next=Rt,Rt=e}function ws(){Cn++}function xs(){if(--Cn>0)return;if(Lt){let t=Lt;for(Lt=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;Rt;){let t=Rt;for(Rt=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=r}}if(e)throw e}function An(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function In(e){let t,r=e.depsTail,s=r;for(;s;){const n=s.prevDep;s.version===-1?(s===r&&(r=n),Ss(s),oo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=n}e.deps=t,e.depsTail=r}function Yr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Rn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Rn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ht)||(e.globalVersion=Ht,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Yr(e))))return;e.flags|=2;const t=e.dep,r=X,s=Pe;X=e,Pe=!0;try{An(e);const n=e.fn(e._value);(t.version===0||oe(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(n){throw t.version++,n}finally{X=r,Pe=s,In(e),e.flags&=-3}}function Ss(e,t=!1){const{dep:r,prevSub:s,nextSub:n}=e;if(s&&(s.nextSub=n,e.prevSub=void 0),n&&(n.prevSub=s,e.nextSub=void 0),r.subs===e&&(r.subs=s,!s&&r.computed)){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)Ss(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function oo(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let Pe=!0;const Ln=[];function Ke(){Ln.push(Pe),Pe=!1}function qe(){const e=Ln.pop();Pe=e===void 0?!0:e}function Ws(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=X;X=void 0;try{t()}finally{X=r}}}let Ht=0;class lo{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Tr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!X||!Pe||X===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==X)r=this.activeLink=new lo(X,this),X.deps?(r.prevDep=X.depsTail,X.depsTail.nextDep=r,X.depsTail=r):X.deps=X.depsTail=r,On(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const s=r.nextDep;s.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=s),r.prevDep=X.depsTail,r.nextDep=void 0,X.depsTail.nextDep=r,X.depsTail=r,X.deps===r&&(X.deps=s)}return r}trigger(t){this.version++,Ht++,this.notify(t)}notify(t){ws();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{xs()}}}function On(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)On(s)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const fr=new WeakMap,at=Symbol(""),Jr=Symbol(""),jt=Symbol("");function ae(e,t,r){if(Pe&&X){let s=fr.get(e);s||fr.set(e,s=new Map);let n=s.get(r);n||(s.set(r,n=new Tr),n.map=s,n.key=r),n.track()}}function We(e,t,r,s,n,i){const o=fr.get(e);if(!o){Ht++;return}const l=c=>{c&&c.trigger()};if(ws(),t==="clear")o.forEach(l);else{const c=L(e),d=c&&br(r);if(c&&r==="length"){const f=Number(s);o.forEach((h,b)=>{(b==="length"||b===jt||!Te(b)&&b>=f)&&l(h)})}else switch((r!==void 0||o.has(void 0))&&l(o.get(r)),d&&l(o.get(jt)),t){case"add":c?d&&l(o.get("length")):(l(o.get(at)),pt(e)&&l(o.get(Jr)));break;case"delete":c||(l(o.get(at)),pt(e)&&l(o.get(Jr)));break;case"set":pt(e)&&l(o.get(at));break}}xs()}function co(e,t){const r=fr.get(e);return r&&r.get(t)}function ut(e){const t=$(e);return t===e?t:(ae(t,"iterate",jt),we(e)?t:t.map(ke))}function Er(e){return ae(e=$(e),"iterate",jt),e}function Fe(e,t){return ze(e)?yt(ft(e)?ke(t):t):ke(t)}const ao={__proto__:null,[Symbol.iterator](){return $r(this,Symbol.iterator,e=>Fe(this,e))},concat(...e){return ut(this).concat(...e.map(t=>L(t)?ut(t):t))},entries(){return $r(this,"entries",e=>(e[1]=Fe(this,e[1]),e))},every(e,t){return $e(this,"every",e,t,void 0,arguments)},filter(e,t){return $e(this,"filter",e,t,r=>r.map(s=>Fe(this,s)),arguments)},find(e,t){return $e(this,"find",e,t,r=>Fe(this,r),arguments)},findIndex(e,t){return $e(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return $e(this,"findLast",e,t,r=>Fe(this,r),arguments)},findLastIndex(e,t){return $e(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return $e(this,"forEach",e,t,void 0,arguments)},includes(...e){return Br(this,"includes",e)},indexOf(...e){return Br(this,"indexOf",e)},join(e){return ut(this).join(e)},lastIndexOf(...e){return Br(this,"lastIndexOf",e)},map(e,t){return $e(this,"map",e,t,void 0,arguments)},pop(){return Et(this,"pop")},push(...e){return Et(this,"push",e)},reduce(e,...t){return Vs(this,"reduce",e,t)},reduceRight(e,...t){return Vs(this,"reduceRight",e,t)},shift(){return Et(this,"shift")},some(e,t){return $e(this,"some",e,t,void 0,arguments)},splice(...e){return Et(this,"splice",e)},toReversed(){return ut(this).toReversed()},toSorted(e){return ut(this).toSorted(e)},toSpliced(...e){return ut(this).toSpliced(...e)},unshift(...e){return Et(this,"unshift",e)},values(){return $r(this,"values",e=>Fe(this,e))}};function $r(e,t,r){const s=Er(e),n=s[t]();return s!==e&&!we(e)&&(n._next=n.next,n.next=()=>{const i=n._next();return i.done||(i.value=r(i.value)),i}),n}const fo=Array.prototype;function $e(e,t,r,s,n,i){const o=Er(e),l=o!==e&&!we(e),c=o[t];if(c!==fo[t]){const h=c.apply(e,i);return l?ke(h):h}let d=r;o!==e&&(l?d=function(h,b){return r.call(this,Fe(e,h),b,e)}:r.length>2&&(d=function(h,b){return r.call(this,h,b,e)}));const f=c.call(o,d,s);return l&&n?n(f):f}function Vs(e,t,r,s){const n=Er(e),i=n!==e&&!we(e);let o=r,l=!1;n!==e&&(i?(l=s.length===0,o=function(d,f,h){return l&&(l=!1,d=Fe(e,d)),r.call(this,d,Fe(e,f),h,e)}):r.length>3&&(o=function(d,f,h){return r.call(this,d,f,h,e)}));const c=n[t](o,...s);return l?Fe(e,c):c}function Br(e,t,r){const s=$(e);ae(s,"iterate",jt);const n=s[t](...r);return(n===-1||n===!1)&&Ar(r[0])?(r[0]=$(r[0]),s[t](...r)):n}function Et(e,t,r=[]){Ke(),ws();const s=$(e)[t].apply(e,r);return xs(),qe(),s}const uo=gs("__proto__,__v_isRef,__isVue"),Dn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Te));function ho(e){Te(e)||(e=String(e));const t=$(this);return ae(t,"has",e),t.hasOwnProperty(e)}class Mn{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,s){if(r==="__v_skip")return t.__v_skip;const n=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!n;if(r==="__v_isReadonly")return n;if(r==="__v_isShallow")return i;if(r==="__v_raw")return s===(n?i?Bn:$n:i?jn:Hn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=L(t);if(!n){let c;if(o&&(c=ao[r]))return c;if(r==="hasOwnProperty")return ho}const l=Reflect.get(t,r,se(t)?t:s);if((Te(r)?Dn.has(r):uo(r))||(n||ae(t,"get",r),i))return l;if(se(l)){const c=o&&br(r)?l:l.value;return n&&K(c)?Qr(c):c}return K(l)?n?Qr(l):Cr(l):l}}class Fn extends Mn{constructor(t=!1){super(!1,t)}set(t,r,s,n){let i=t[r];const o=L(t)&&br(r);if(!this._isShallow){const d=ze(i);if(!we(s)&&!ze(s)&&(i=$(i),s=$(s)),!o&&se(i)&&!se(s))return d||(i.value=s),!0}const l=o?Number(r)<t.length:U(t,r),c=Reflect.set(t,r,s,se(t)?t:n);return t===$(n)&&(l?oe(s,i)&&We(t,"set",r,s):We(t,"add",r,s)),c}deleteProperty(t,r){const s=U(t,r);t[r];const n=Reflect.deleteProperty(t,r);return n&&s&&We(t,"delete",r,void 0),n}has(t,r){const s=Reflect.has(t,r);return(!Te(r)||!Dn.has(r))&&ae(t,"has",r),s}ownKeys(t){return ae(t,"iterate",L(t)?"length":at),Reflect.ownKeys(t)}}class Nn extends Mn{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const po=new Fn,go=new Nn,mo=new Fn(!0),_o=new Nn(!0),Xr=e=>e,rr=e=>Reflect.getPrototypeOf(e);function yo(e,t,r){return function(...s){const n=this.__v_raw,i=$(n),o=pt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,d=n[e](...s),f=r?Xr:t?yt:ke;return!t&&ae(i,"iterate",c?Jr:at),ce(Object.create(d),{next(){const{value:h,done:b}=d.next();return b?{value:h,done:b}:{value:l?[f(h[0]),f(h[1])]:f(h),done:b}}})}}function sr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bo(e,t){const r={get(n){const i=this.__v_raw,o=$(i),l=$(n);e||(oe(n,l)&&ae(o,"get",n),ae(o,"get",l));const{has:c}=rr(o),d=t?Xr:e?yt:ke;if(c.call(o,n))return d(i.get(n));if(c.call(o,l))return d(i.get(l));i!==o&&i.get(n)},get size(){const n=this.__v_raw;return!e&&ae($(n),"iterate",at),n.size},has(n){const i=this.__v_raw,o=$(i),l=$(n);return e||(oe(n,l)&&ae(o,"has",n),ae(o,"has",l)),n===l?i.has(n):i.has(n)||i.has(l)},forEach(n,i){const o=this,l=o.__v_raw,c=$(l),d=t?Xr:e?yt:ke;return!e&&ae(c,"iterate",at),l.forEach((f,h)=>n.call(i,d(f),d(h),o))}};return ce(r,e?{add:sr("add"),set:sr("set"),delete:sr("delete"),clear:sr("clear")}:{add(n){const i=$(this),o=rr(i),l=$(n),c=!t&&!we(n)&&!ze(n)?l:n;return o.has.call(i,c)||oe(n,c)&&o.has.call(i,n)||oe(l,c)&&o.has.call(i,l)||(i.add(c),We(i,"add",c,c)),this},set(n,i){!t&&!we(i)&&!ze(i)&&(i=$(i));const o=$(this),{has:l,get:c}=rr(o);let d=l.call(o,n);d||(n=$(n),d=l.call(o,n));const f=c.call(o,n);return o.set(n,i),d?oe(i,f)&&We(o,"set",n,i):We(o,"add",n,i),this},delete(n){const i=$(this),{has:o,get:l}=rr(i);let c=o.call(i,n);c||(n=$(n),c=o.call(i,n)),l&&l.call(i,n);const d=i.delete(n);return c&&We(i,"delete",n,void 0),d},clear(){const n=$(this),i=n.size!==0,o=n.clear();return i&&We(n,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(n=>{r[n]=yo(n,e,t)}),r}function Pr(e,t){const r=bo(e,t);return(s,n,i)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?s:Reflect.get(U(r,n)&&n in s?r:s,n,i)}const vo={get:Pr(!1,!1)},wo={get:Pr(!1,!0)},xo={get:Pr(!0,!1)},So={get:Pr(!0,!0)},Hn=new WeakMap,jn=new WeakMap,$n=new WeakMap,Bn=new WeakMap;function To(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Eo(e){return e.__v_skip||!Object.isExtensible(e)?0:To(Gi(e))}function Cr(e){return ze(e)?e:kr(e,!1,po,vo,Hn)}function Po(e){return kr(e,!1,mo,wo,jn)}function Qr(e){return kr(e,!0,go,xo,$n)}function Qc(e){return kr(e,!0,_o,So,Bn)}function kr(e,t,r,s,n){if(!K(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Eo(e);if(i===0)return e;const o=n.get(e);if(o)return o;const l=new Proxy(e,i===2?s:r);return n.set(e,l),l}function ft(e){return ze(e)?ft(e.__v_raw):!!(e&&e.__v_isReactive)}function ze(e){return!!(e&&e.__v_isReadonly)}function we(e){return!!(e&&e.__v_isShallow)}function Ar(e){return e?!!e.__v_raw:!1}function $(e){const t=e&&e.__v_raw;return t?$(t):e}function Co(e){return!U(e,"__v_skip")&&Object.isExtensible(e)&&xn(e,"__v_skip",!0),e}const ke=e=>K(e)?Cr(e):e,yt=e=>K(e)?Qr(e):e;function se(e){return e?e.__v_isRef===!0:!1}function ko(e){return Wn(e,!1)}function Zc(e){return Wn(e,!0)}function Wn(e,t){return se(e)?e:new Ao(e,t)}class Ao{constructor(t,r){this.dep=new Tr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:$(t),this._value=r?t:ke(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,s=this.__v_isShallow||we(t)||ze(t);t=s?t:$(t),oe(t,r)&&(this._rawValue=t,this._value=s?t:ke(t),this.dep.trigger())}}function ea(e){e.dep&&e.dep.trigger()}function Ts(e){return se(e)?e.value:e}function ta(e){return M(e)?e():Ts(e)}const Io={get:(e,t,r)=>t==="__v_raw"?e:Ts(Reflect.get(e,t,r)),set:(e,t,r,s)=>{const n=e[t];return se(n)&&!se(r)?(n.value=r,!0):Reflect.set(e,t,r,s)}};function Vn(e){return ft(e)?e:new Proxy(e,Io)}class Ro{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new Tr,{get:s,set:n}=t(r.track.bind(r),r.trigger.bind(r));this._get=s,this._set=n}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Lo(e){return new Ro(e)}function ra(e){const t=L(e)?new Array(e.length):{};for(const r in e)t[r]=Un(e,r);return t}class Oo{constructor(t,r,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Te(r)?r:String(r),this._raw=$(t);let n=!0,i=t;if(!L(t)||Te(this._key)||!br(this._key))do n=!Ar(i)||we(i);while(n&&(i=i.__v_raw));this._shallow=n}get value(){let t=this._object[this._key];return this._shallow&&(t=Ts(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&se(this._raw[this._key])){const r=this._object[this._key];if(se(r)){r.value=t;return}}this._object[this._key]=t}get dep(){return co(this._raw,this._key)}}class Do{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function sa(e,t,r){return se(e)?e:M(e)?new Do(e):K(e)&&arguments.length>1?Un(e,t,r):ko(e)}function Un(e,t,r){return new Oo(e,t,r)}class Mo{constructor(t,r,s){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Tr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ht-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&X!==this)return kn(this,!0),!0}get value(){const t=this.dep.track();return Rn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Fo(e,t,r=!1){let s,n;return M(e)?s=e:(s=e.get,n=e.set),new Mo(s,n,r)}const nr={},ur=new WeakMap;let it;function No(e,t=!1,r=it){if(r){let s=ur.get(r);s||ur.set(r,s=[]),s.push(e)}}function Ho(e,t,r=B){const{immediate:s,deep:n,once:i,scheduler:o,augmentJob:l,call:c}=r,d=k=>n?k:we(k)||n===!1||n===0?Ve(k,1):Ve(k);let f,h,b,v,P=!1,T=!1;if(se(e)?(h=()=>e.value,P=we(e)):ft(e)?(h=()=>d(e),P=!0):L(e)?(T=!0,P=e.some(k=>ft(k)||we(k)),h=()=>e.map(k=>{if(se(k))return k.value;if(ft(k))return d(k);if(M(k))return c?c(k,2):k()})):M(e)?t?h=c?()=>c(e,2):e:h=()=>{if(b){Ke();try{b()}finally{qe()}}const k=it;it=f;try{return c?c(e,3,[v]):e(v)}finally{it=k}}:h=He,t&&n){const k=h,q=n===!0?1/0:n;h=()=>Ve(k(),q)}const N=io(),H=()=>{f.stop(),N&&N.active&&ys(N.effects,f)};if(i&&t){const k=t;t=(...q)=>{k(...q),H()}}let O=T?new Array(e.length).fill(nr):nr;const W=k=>{if(!(!(f.flags&1)||!f.dirty&&!k))if(t){const q=f.run();if(n||P||(T?q.some((te,F)=>oe(te,O[F])):oe(q,O))){b&&b();const te=it;it=f;try{const F=[q,O===nr?void 0:T&&O[0]===nr?[]:O,v];O=q,c?c(t,3,F):t(...F)}finally{it=te}}}else f.run()};return l&&l(W),f=new Pn(h),f.scheduler=o?()=>o(W,!1):W,v=k=>No(k,!1,f),b=f.onStop=()=>{const k=ur.get(f);if(k){if(c)c(k,4);else for(const q of k)q();ur.delete(f)}},t?s?W(!0):O=f.run():o?o(W.bind(null,!0),!0):f.run(),H.pause=f.pause.bind(f),H.resume=f.resume.bind(f),H.stop=H,H}function Ve(e,t=1/0,r){if(t<=0||!K(e)||e.__v_skip||(r=r||new Map,(r.get(e)||0)>=t))return e;if(r.set(e,t),t--,se(e))Ve(e.value,t,r);else if(L(e))for(let s=0;s<e.length;s++)Ve(e[s],t,r);else if(yn(e)||pt(e))e.forEach(s=>{Ve(s,t,r)});else if(wn(e)){for(const s in e)Ve(e[s],t,r);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ve(e[s],t,r)}return e}function Yt(e,t,r,s){try{return s?e(...s):e()}catch(n){Ir(n,t,r)}}function je(e,t,r,s){if(M(e)){const n=Yt(e,t,r,s);return n&&bn(n)&&n.catch(i=>{Ir(i,t,r)}),n}if(L(e)){const n=[];for(let i=0;i<e.length;i++)n.push(je(e[i],t,r,s));return n}}function Ir(e,t,r,s=!0){const n=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||B;if(t){let l=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${r}`;for(;l;){const f=l.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,c,d)===!1)return}l=l.parent}if(i){Ke(),Yt(i,null,10,[e,c,d]),qe();return}}jo(e,r,n,s,o)}function jo(e,t,r,s=!0,n=!1){if(n)throw e;console.error(e)}const me=[];let De=-1;const gt=[];let Je=null,dt=0;const Kn=Promise.resolve();let dr=null;function $o(e){const t=dr||Kn;return e?t.then(this?e.bind(this):e):t}function Bo(e){let t=De+1,r=me.length;for(;t<r;){const s=t+r>>>1,n=me[s],i=$t(n);i<e||i===e&&n.flags&2?t=s+1:r=s}return t}function Es(e){if(!(e.flags&1)){const t=$t(e),r=me[me.length-1];!r||!(e.flags&2)&&t>=$t(r)?me.push(e):me.splice(Bo(t),0,e),e.flags|=1,qn()}}function qn(){dr||(dr=Kn.then(Gn))}function Wo(e){L(e)?gt.push(...e):Je&&e.id===-1?Je.splice(dt+1,0,e):e.flags&1||(gt.push(e),e.flags|=1),qn()}function Us(e,t,r=De+1){for(;r<me.length;r++){const s=me[r];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;me.splice(r,1),r--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function zn(e){if(gt.length){const t=[...new Set(gt)].sort((r,s)=>$t(r)-$t(s));if(gt.length=0,Je){Je.push(...t);return}for(Je=t,dt=0;dt<Je.length;dt++){const r=Je[dt];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}Je=null,dt=0}}const $t=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Gn(e){try{for(De=0;De<me.length;De++){const t=me[De];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Yt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;De<me.length;De++){const t=me[De];t&&(t.flags&=-2)}De=-1,me.length=0,zn(),dr=null,(me.length||gt.length)&&Gn()}}let le=null,Yn=null;function hr(e){const t=le;return le=e,Yn=e&&e.type.__scopeId||null,t}function Vo(e,t=le,r){if(!t||e._n)return e;const s=(...n)=>{s._d&&mr(-1);const i=hr(t);let o;try{o=e(...n)}finally{hr(i),s._d&&mr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function na(e,t){if(le===null)return e;const r=Mr(le),s=e.dirs||(e.dirs=[]);for(let n=0;n<t.length;n++){let[i,o,l,c=B]=t[n];i&&(M(i)&&(i={mounted:i,updated:i}),i.deep&&Ve(o),s.push({dir:i,instance:r,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function st(e,t,r,s){const n=e.dirs,i=t&&t.dirs;for(let o=0;o<n.length;o++){const l=n[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(Ke(),je(c,r,8,[e.el,l,e,t]),qe())}}function Uo(e,t){if(ue){let r=ue.provides;const s=ue.parent&&ue.parent.provides;s===r&&(r=ue.provides=Object.create(s)),r[e]=t}}function lr(e,t,r=!1){const s=Xt();if(s||_t){let n=_t?_t._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(n&&e in n)return n[e];if(arguments.length>1)return r&&M(t)?t.call(s&&s.proxy):t}}const Ko=Symbol.for("v-scx"),qo=()=>lr(Ko);function ia(e,t){return Jt(e,null,t)}function oa(e,t){return Jt(e,null,{flush:"post"})}function zo(e,t){return Jt(e,null,{flush:"sync"})}function Wr(e,t,r){return Jt(e,t,r)}function Jt(e,t,r=B){const{immediate:s,deep:n,flush:i,once:o}=r,l=ce({},r),c=t&&s||!t&&i!=="post";let d;if(Ut){if(i==="sync"){const v=qo();d=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=He,v.resume=He,v.pause=He,v}}const f=ue;l.call=(v,P,T)=>je(v,f,P,T);let h=!1;i==="post"?l.scheduler=v=>{ge(v,f&&f.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(v,P)=>{P?v():Es(v)}),l.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,f&&(v.id=f.uid,v.i=f))};const b=Ho(e,t,l);return Ut&&(d?d.push(b):c&&b()),b}function Go(e,t,r){const s=this.proxy,n=ne(e)?e.includes(".")?Jn(s,e):()=>s[e]:e.bind(s,s);let i;M(t)?i=t:(i=t.handler,r=t);const o=Qt(this),l=Jt(n,i.bind(s),r);return o(),l}function Jn(e,t){const r=t.split(".");return()=>{let s=e;for(let n=0;n<r.length&&s;n++)s=s[r[n]];return s}}const Ye=new WeakMap,Xn=Symbol("_vte"),Qn=e=>e.__isTeleport,ot=e=>e&&(e.disabled||e.disabled===""),Yo=e=>e&&(e.defer||e.defer===""),Ks=e=>typeof SVGElement<"u"&&e instanceof SVGElement,qs=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Zr=(e,t)=>{const r=e&&e.to;return ne(r)?t?t(r):null:r},Jo={name:"Teleport",__isTeleport:!0,process(e,t,r,s,n,i,o,l,c,d){const{mc:f,pc:h,pbc:b,o:{insert:v,querySelector:P,createText:T,createComment:N,parentNode:H}}=d,O=ot(t.props);let{dynamicChildren:W}=t;const k=(F,G,A)=>{F.shapeFlag&16&&f(F.children,G,A,n,i,o,l,c)},q=(F=t)=>{const G=ot(F.props),A=F.target=Zr(F.props,P),V=es(A,F,T,v);A&&(o!=="svg"&&Ks(A)?o="svg":o!=="mathml"&&qs(A)&&(o="mathml"),n&&n.isCE&&(n.ce._teleportTargets||(n.ce._teleportTargets=new Set)).add(A),G||(k(F,A,V),kt(F,!1)))},te=F=>{const G=()=>{if(Ye.get(F)===G){if(Ye.delete(F),ot(F.props)){const A=H(F.el)||r;k(F,A,F.anchor),kt(F,!0)}q(F)}};Ye.set(F,G),ge(G,i)};if(e==null){const F=t.el=T(""),G=t.anchor=T("");if(v(F,r,s),v(G,r,s),Yo(t.props)||i&&i.pendingBranch){te(t);return}O&&(k(t,r,G),kt(t,!0)),q()}else{t.el=e.el;const F=t.anchor=e.anchor,G=Ye.get(e);if(G){G.flags|=8,Ye.delete(e),te(t);return}t.targetStart=e.targetStart;const A=t.target=e.target,V=t.targetAnchor=e.targetAnchor,Q=ot(e.props),de=Q?r:A,xe=Q?F:V;if(o==="svg"||Ks(A)?o="svg":(o==="mathml"||qs(A))&&(o="mathml"),W?(b(e.dynamicChildren,W,de,n,i,o,l),ks(e,t,!0)):c||h(e,t,de,xe,n,i,o,l,!1),O)Q?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ir(t,r,F,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Ee=t.target=Zr(t.props,P);Ee&&ir(t,Ee,null,d,0)}else Q&&ir(t,A,V,d,1);kt(t,O)}},remove(e,t,r,{um:s,o:{remove:n}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:d,targetAnchor:f,target:h,props:b}=e;let v=i||!ot(b);const P=Ye.get(e);if(P&&(P.flags|=8,Ye.delete(e),v=!1),h&&(n(d),n(f)),i&&n(c),o&16)for(let T=0;T<l.length;T++){const N=l[T];s(N,t,r,v,!!N.dynamicChildren)}},move:ir,hydrate:Xo};function ir(e,t,r,{o:{insert:s},m:n},i=2){i===0&&s(e.targetAnchor,t,r);const{el:o,anchor:l,shapeFlag:c,children:d,props:f}=e,h=i===2;if(h&&s(o,t,r),!Ye.has(e)&&(!h||ot(f))&&c&16)for(let b=0;b<d.length;b++)n(d[b],t,r,2);h&&s(l,t,r)}function Xo(e,t,r,s,n,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:d,createText:f}},h){function b(N,H){let O=H;for(;O;){if(O&&O.nodeType===8){if(O.data==="teleport start anchor")t.targetStart=O;else if(O.data==="teleport anchor"){t.targetAnchor=O,N._lpa=t.targetAnchor&&o(t.targetAnchor);break}}O=o(O)}}function v(N,H){H.anchor=h(o(N),H,l(N),r,s,n,i)}const P=t.target=Zr(t.props,c),T=ot(t.props);if(P){const N=P._lpa||P.firstChild;t.shapeFlag&16&&(T?(v(e,t),b(P,N),t.targetAnchor||es(P,t,f,d,l(e)===P?e:null)):(t.anchor=o(e),b(P,N),t.targetAnchor||es(P,t,f,d),h(N&&o(N),t,P,r,s,n,i))),kt(t,T)}else T&&t.shapeFlag&16&&(v(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const la=Jo;function kt(e,t){const r=e.ctx;if(r&&r.ut){let s,n;for(t?(s=e.el,n=e.anchor):(s=e.targetStart,n=e.targetAnchor);s&&s!==n;)s.nodeType===1&&s.setAttribute("data-v-owner",r.uid),s=s.nextSibling;r.ut()}}function es(e,t,r,s,n=null){const i=t.targetStart=r(""),o=t.targetAnchor=r("");return i[Xn]=o,e&&(s(i,e,n),s(o,e,n)),o}const Me=Symbol("_leaveCb"),Pt=Symbol("_enterCb");function Qo(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ii(()=>{e.isMounted=!0}),oi(()=>{e.isUnmounting=!0}),e}const Se=[Function,Array],Zo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Se,onEnter:Se,onAfterEnter:Se,onEnterCancelled:Se,onBeforeLeave:Se,onLeave:Se,onAfterLeave:Se,onLeaveCancelled:Se,onBeforeAppear:Se,onAppear:Se,onAfterAppear:Se,onAppearCancelled:Se},Zn=e=>{const t=e.subTree;return t.component?Zn(t.component):t},el={name:"BaseTransition",props:Zo,setup(e,{slots:t}){const r=Xt(),s=Qo();return()=>{const n=t.default&&ri(t.default(),!0),i=n&&n.length?ei(n):r.subTree?Bl():void 0;if(!i)return;const o=$(e),{mode:l}=o;if(s.isLeaving)return Vr(i);const c=zs(i);if(!c)return Vr(i);let d=ts(c,o,s,r,h=>d=h);c.type!==fe&&Bt(c,d);let f=r.subTree&&zs(r.subTree);if(f&&f.type!==fe&&!lt(f,c)&&Zn(r).type!==fe){let h=ts(f,o,s,r);if(Bt(f,h),l==="out-in"&&c.type!==fe)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,r.job.flags&8||r.update(),delete h.afterLeave,f=void 0},Vr(i);l==="in-out"&&c.type!==fe?h.delayLeave=(b,v,P)=>{const T=ti(s,f);T[String(f.key)]=f,b[Me]=()=>{v(),b[Me]=void 0,delete d.delayedLeave,f=void 0},d.delayedLeave=()=>{P(),delete d.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return i}}};function ei(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==fe){t=r;break}}return t}const ca=el;function ti(e,t){const{leavingVNodes:r}=e;let s=r.get(t.type);return s||(s=Object.create(null),r.set(t.type,s)),s}function ts(e,t,r,s,n){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:b,onLeave:v,onAfterLeave:P,onLeaveCancelled:T,onBeforeAppear:N,onAppear:H,onAfterAppear:O,onAppearCancelled:W}=t,k=String(e.key),q=ti(r,e),te=(A,V)=>{A&&je(A,s,9,V)},F=(A,V)=>{const Q=V[1];te(A,V),L(A)?A.every(de=>de.length<=1)&&Q():A.length<=1&&Q()},G={mode:o,persisted:l,beforeEnter(A){let V=c;if(!r.isMounted)if(i)V=N||c;else return;A[Me]&&A[Me](!0);const Q=q[k];Q&<(e,Q)&&Q.el[Me]&&Q.el[Me](),te(V,[A])},enter(A){if(q[k]===e)return;let V=d,Q=f,de=h;if(!r.isMounted)if(i)V=H||d,Q=O||f,de=W||h;else return;let xe=!1;A[Pt]=Zt=>{xe||(xe=!0,Zt?te(de,[A]):te(Q,[A]),G.delayedLeave&&G.delayedLeave(),A[Pt]=void 0)};const Ee=A[Pt].bind(null,!1);V?F(V,[A,Ee]):Ee()},leave(A,V){const Q=String(e.key);if(A[Pt]&&A[Pt](!0),r.isUnmounting)return V();te(b,[A]);let de=!1;A[Me]=Ee=>{de||(de=!0,V(),Ee?te(T,[A]):te(P,[A]),A[Me]=void 0,q[Q]===e&&delete q[Q])};const xe=A[Me].bind(null,!1);q[Q]=e,v?F(v,[A,xe]):xe()},clone(A){const V=ts(A,t,r,s,n);return n&&n(V),V}};return G}function Vr(e){if(Rr(e))return e=Qe(e),e.children=null,e}function zs(e){if(!Rr(e))return Qn(e.type)&&e.children?ei(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&M(r.default))return r.default()}}function Bt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Bt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ri(e,t=!1,r){let s=[],n=0;for(let i=0;i<e.length;i++){let o=e[i];const l=r==null?o.key:String(r)+String(o.key!=null?o.key:i);o.type===ve?(o.patchFlag&128&&n++,s=s.concat(ri(o.children,t,l))):(t||o.type!==fe)&&s.push(l!=null?Qe(o,{key:l}):o)}if(n>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function aa(e,t){return M(e)?ce({name:e.name},t,{setup:e}):e}function fa(){const e=Xt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function si(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Gs(e,t){let r;return!!((r=Object.getOwnPropertyDescriptor(e,t))&&!r.configurable)}const pr=new WeakMap;function Ot(e,t,r,s,n=!1){if(L(e)){e.forEach((T,N)=>Ot(T,t&&(L(t)?t[N]:t),r,s,n));return}if(mt(s)&&!n){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Ot(e,t,r,s.component.subTree);return}const i=s.shapeFlag&4?Mr(s.component):s.el,o=n?null:i,{i:l,r:c}=e,d=t&&t.r,f=l.refs===B?l.refs={}:l.refs,h=l.setupState,b=$(h),v=h===B?_n:T=>Gs(f,T)?!1:U(b,T),P=(T,N)=>!(N&&Gs(f,N));if(d!=null&&d!==c){if(Ys(t),ne(d))f[d]=null,v(d)&&(h[d]=null);else if(se(d)){const T=t;P(d,T.k)&&(d.value=null),T.k&&(f[T.k]=null)}}if(M(c))Yt(c,l,12,[o,f]);else{const T=ne(c),N=se(c);if(T||N){const H=()=>{if(e.f){const O=T?v(c)?h[c]:f[c]:P()||!e.k?c.value:f[e.k];if(n)L(O)&&ys(O,i);else if(L(O))O.includes(i)||O.push(i);else if(T)f[c]=[i],v(c)&&(h[c]=f[c]);else{const W=[i];P(c,e.k)&&(c.value=W),e.k&&(f[e.k]=W)}}else T?(f[c]=o,v(c)&&(h[c]=o)):N&&(P(c,e.k)&&(c.value=o),e.k&&(f[e.k]=o))};if(o){const O=()=>{H(),pr.delete(e)};O.id=-1,pr.set(e,O),ge(O,r)}else Ys(e),H()}}}function Ys(e){const t=pr.get(e);t&&(t.flags|=8,pr.delete(e))}wr().requestIdleCallback;wr().cancelIdleCallback;const mt=e=>!!e.type.__asyncLoader,Rr=e=>e.type.__isKeepAlive;function tl(e,t){ni(e,"a",t)}function rl(e,t){ni(e,"da",t)}function ni(e,t,r=ue){const s=e.__wdc||(e.__wdc=()=>{let n=r;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Lr(t,s,r),r){let n=r.parent;for(;n&&n.parent;)Rr(n.parent.vnode)&&sl(s,t,r,n),n=n.parent}}function sl(e,t,r,s){const n=Lr(t,e,s,!0);li(()=>{ys(s[t],n)},r)}function Lr(e,t,r=ue,s=!1){if(r){const n=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ke();const l=Qt(r),c=je(t,r,e,o);return l(),qe(),c});return s?n.unshift(i):n.push(i),i}}const Ge=e=>(t,r=ue)=>{(!Ut||e==="sp")&&Lr(e,(...s)=>t(...s),r)},nl=Ge("bm"),ii=Ge("m"),il=Ge("bu"),ol=Ge("u"),oi=Ge("bum"),li=Ge("um"),ll=Ge("sp"),cl=Ge("rtg"),al=Ge("rtc");function fl(e,t=ue){Lr("ec",e,t)}const ul="components",ci=Symbol.for("v-ndc");function ua(e){return ne(e)?dl(ul,e,!1)||e:e||ci}function dl(e,t,r=!0,s=!1){const n=le||ue;if(n){const i=n.type;{const l=Yl(i,!1);if(l&&(l===t||l===Ce(t)||l===bs(Ce(t))))return i}const o=Js(n[e]||i[e],t)||Js(n.appContext[e],t);return!o&&s?i:o}}function Js(e,t){return e&&(e[t]||e[Ce(t)]||e[bs(Ce(t))])}function da(e,t,r,s){let n;const i=r,o=L(e);if(o||ne(e)){const l=o&&ft(e);let c=!1,d=!1;l&&(c=!we(e),d=ze(e),e=Er(e)),n=new Array(e.length);for(let f=0,h=e.length;f<h;f++)n[f]=t(c?d?yt(ke(e[f])):ke(e[f]):e[f],f,void 0,i)}else if(typeof e=="number"){n=new Array(e);for(let l=0;l<e;l++)n[l]=t(l+1,l,void 0,i)}else if(K(e))if(e[Symbol.iterator])n=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);n=new Array(l.length);for(let c=0,d=l.length;c<d;c++){const f=l[c];n[c]=t(e[f],f,c,i)}}else n=[];return n}function ha(e,t,r={},s,n){if(le.ce||le.parent&&mt(le.parent)&&le.parent.ce){const d=Object.keys(r).length>0;return t!=="default"&&(r.name=t),os(),ls(ve,null,[ye("slot",r,s&&s())],d?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),os();const o=i&&ai(i(r)),l=r.key||o&&o.key,c=ls(ve,{key:(l&&!Te(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function ai(e){return e.some(t=>Vt(t)?!(t.type===fe||t.type===ve&&!ai(t.children)):!0)?e:null}function pa(e,t){const r={};for(const s in e)r[or(s)]=e[s];return r}const rs=e=>e?Ri(e)?Mr(e):rs(e.parent):null,Dt=ce(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=>rs(e.parent),$root:e=>rs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>di(e),$forceUpdate:e=>e.f||(e.f=()=>{Es(e.update)}),$nextTick:e=>e.n||(e.n=$o.bind(e.proxy)),$watch:e=>Go.bind(e)}),Ur=(e,t)=>e!==B&&!e.__isScriptSetup&&U(e,t),hl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:s,data:n,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return s[t];case 2:return n[t];case 4:return r[t];case 3:return i[t]}else{if(Ur(s,t))return o[t]=1,s[t];if(n!==B&&U(n,t))return o[t]=2,n[t];if(U(i,t))return o[t]=3,i[t];if(r!==B&&U(r,t))return o[t]=4,r[t];ss&&(o[t]=0)}}const d=Dt[t];let f,h;if(d)return t==="$attrs"&&ae(e.attrs,"get",""),d(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(r!==B&&U(r,t))return o[t]=4,r[t];if(h=c.config.globalProperties,U(h,t))return h[t]},set({_:e},t,r){const{data:s,setupState:n,ctx:i}=e;return Ur(n,t)?(n[t]=r,!0):s!==B&&U(s,t)?(s[t]=r,!0):U(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:s,appContext:n,props:i,type:o}},l){let c;return!!(r[l]||e!==B&&l[0]!=="$"&&U(e,l)||Ur(t,l)||U(i,l)||U(s,l)||U(Dt,l)||U(n.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:U(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function ga(){return fi().slots}function ma(){return fi().attrs}function fi(e){const t=Xt();return t.setupContext||(t.setupContext=Oi(t))}function Wt(e){return L(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function _a(e,t){const r=Wt(e);for(const s in t){if(s.startsWith("__skip"))continue;let n=r[s];n?L(n)||M(n)?n=r[s]={type:n,default:t[s]}:n.default=t[s]:n===null&&(n=r[s]={default:t[s]}),n&&t[`__skip_${s}`]&&(n.skipFactory=!0)}return r}function ya(e,t){return!e||!t?e||t:L(e)&&L(t)?e.concat(t):ce({},Wt(e),Wt(t))}let ss=!0;function pl(e){const t=di(e),r=e.proxy,s=e.ctx;ss=!1,t.beforeCreate&&Xs(t.beforeCreate,e,"bc");const{data:n,computed:i,methods:o,watch:l,provide:c,inject:d,created:f,beforeMount:h,mounted:b,beforeUpdate:v,updated:P,activated:T,deactivated:N,beforeDestroy:H,beforeUnmount:O,destroyed:W,unmounted:k,render:q,renderTracked:te,renderTriggered:F,errorCaptured:G,serverPrefetch:A,expose:V,inheritAttrs:Q,components:de,directives:xe,filters:Ee}=t;if(d&&gl(d,s,null),o)for(const Z in o){const Y=o[Z];M(Y)&&(s[Z]=Y.bind(r))}if(n){const Z=n.call(r,r);K(Z)&&(e.data=Cr(Z))}if(ss=!0,i)for(const Z in i){const Y=i[Z],tt=M(Y)?Y.bind(r,r):M(Y.get)?Y.get.bind(r,r):He,er=!M(Y)&&M(Y.set)?Y.set.bind(r):He,rt=et({get:tt,set:er});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>rt.value,set:Ae=>rt.value=Ae})}if(l)for(const Z in l)ui(l[Z],s,r,Z);if(c){const Z=M(c)?c.call(r):c;Reflect.ownKeys(Z).forEach(Y=>{Uo(Y,Z[Y])})}f&&Xs(f,e,"c");function he(Z,Y){L(Y)?Y.forEach(tt=>Z(tt.bind(r))):Y&&Z(Y.bind(r))}if(he(nl,h),he(ii,b),he(il,v),he(ol,P),he(tl,T),he(rl,N),he(fl,G),he(al,te),he(cl,F),he(oi,O),he(li,k),he(ll,A),L(V))if(V.length){const Z=e.exposed||(e.exposed={});V.forEach(Y=>{Object.defineProperty(Z,Y,{get:()=>r[Y],set:tt=>r[Y]=tt,enumerable:!0})})}else e.exposed||(e.exposed={});q&&e.render===He&&(e.render=q),Q!=null&&(e.inheritAttrs=Q),de&&(e.components=de),xe&&(e.directives=xe),A&&si(e)}function gl(e,t,r=He){L(e)&&(e=ns(e));for(const s in e){const n=e[s];let i;K(n)?"default"in n?i=lr(n.from||s,n.default,!0):i=lr(n.from||s):i=lr(n),se(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Xs(e,t,r){je(L(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,r)}function ui(e,t,r,s){let n=s.includes(".")?Jn(r,s):()=>r[s];if(ne(e)){const i=t[e];M(i)&&Wr(n,i)}else if(M(e))Wr(n,e.bind(r));else if(K(e))if(L(e))e.forEach(i=>ui(i,t,r,s));else{const i=M(e.handler)?e.handler.bind(r):t[e.handler];M(i)&&Wr(n,i,e)}}function di(e){const t=e.type,{mixins:r,extends:s}=t,{mixins:n,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!n.length&&!r&&!s?c=t:(c={},n.length&&n.forEach(d=>gr(c,d,o,!0)),gr(c,t,o)),K(t)&&i.set(t,c),c}function gr(e,t,r,s=!1){const{mixins:n,extends:i}=t;i&&gr(e,i,r,!0),n&&n.forEach(o=>gr(e,o,r,!0));for(const o in t)if(!(s&&o==="expose")){const l=ml[o]||r&&r[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const ml={data:Qs,props:Zs,emits:Zs,methods:At,computed:At,beforeCreate:pe,created:pe,beforeMount:pe,mounted:pe,beforeUpdate:pe,updated:pe,beforeDestroy:pe,beforeUnmount:pe,destroyed:pe,unmounted:pe,activated:pe,deactivated:pe,errorCaptured:pe,serverPrefetch:pe,components:At,directives:At,watch:yl,provide:Qs,inject:_l};function Qs(e,t){return t?e?function(){return ce(M(e)?e.call(this,this):e,M(t)?t.call(this,this):t)}:t:e}function _l(e,t){return At(ns(e),ns(t))}function ns(e){if(L(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function pe(e,t){return e?[...new Set([].concat(e,t))]:t}function At(e,t){return e?ce(Object.create(null),e,t):t}function Zs(e,t){return e?L(e)&&L(t)?[...new Set([...e,...t])]:ce(Object.create(null),Wt(e),Wt(t??{})):t}function yl(e,t){if(!e)return t;if(!t)return e;const r=ce(Object.create(null),e);for(const s in t)r[s]=pe(e[s],t[s]);return r}function hi(){return{app:null,config:{isNativeTag:_n,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 bl=0;function vl(e,t){return function(s,n=null){M(s)||(s=ce({},s)),n!=null&&!K(n)&&(n=null);const i=hi(),o=new WeakSet,l=[];let c=!1;const d=i.app={_uid:bl++,_component:s,_props:n,_container:null,_context:i,_instance:null,version:Ql,get config(){return i.config},set config(f){},use(f,...h){return o.has(f)||(f&&M(f.install)?(o.add(f),f.install(d,...h)):M(f)&&(o.add(f),f(d,...h))),d},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),d},component(f,h){return h?(i.components[f]=h,d):i.components[f]},directive(f,h){return h?(i.directives[f]=h,d):i.directives[f]},mount(f,h,b){if(!c){const v=d._ceVNode||ye(s,n);return v.appContext=i,b===!0?b="svg":b===!1&&(b=void 0),e(v,f,b),c=!0,d._container=f,f.__vue_app__=d,Mr(v.component)}},onUnmount(f){l.push(f)},unmount(){c&&(je(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,h){return i.provides[f]=h,d},runWithContext(f){const h=_t;_t=d;try{return f()}finally{_t=h}}};return d}}let _t=null;function ba(e,t,r=B){const s=Xt(),n=Ce(t),i=vt(t),o=pi(e,n),l=Lo((c,d)=>{let f,h=B,b;return zo(()=>{const v=e[n];oe(f,v)&&(f=v,d())}),{get(){return c(),r.get?r.get(f):f},set(v){const P=r.set?r.set(v):v;if(!oe(P,f)&&!(h!==B&&oe(v,h)))return;const T=s.vnode.props;T&&(t in T||n in T||i in T)&&(`onUpdate:${t}`in T||`onUpdate:${n}`in T||`onUpdate:${i}`in T)||(f=v,d()),s.emit(`update:${t}`,P),oe(v,P)&&oe(v,h)&&!oe(P,b)&&d(),h=v,b=P}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||B:l,done:!1}:{done:!0}}}},l}const pi=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ce(t)}Modifiers`]||e[`${vt(t)}Modifiers`];function wl(e,t,...r){if(e.isUnmounted)return;const s=e.vnode.props||B;let n=r;const i=t.startsWith("update:"),o=i&&pi(s,t.slice(7));o&&(o.trim&&(n=r.map(f=>ne(f)?f.trim():f)),o.number&&(n=r.map(Xi)));let l,c=s[l=or(t)]||s[l=or(Ce(t))];!c&&i&&(c=s[l=or(vt(t))]),c&&je(c,e,6,n);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,je(d,e,6,n)}}const xl=new WeakMap;function gi(e,t,r=!1){const s=r?xl:t.emitsCache,n=s.get(e);if(n!==void 0)return n;const i=e.emits;let o={},l=!1;if(!M(e)){const c=d=>{const f=gi(d,t,!0);f&&(l=!0,ce(o,f))};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(K(e)&&s.set(e,null),null):(L(i)?i.forEach(c=>o[c]=null):ce(o,i),K(e)&&s.set(e,o),o)}function Or(e,t){return!e||!ms(t)?!1:(t=t.slice(2).replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,vt(t))||U(e,t))}function en(e){const{type:t,vnode:r,proxy:s,withProxy:n,propsOptions:[i],slots:o,attrs:l,emit:c,render:d,renderCache:f,props:h,data:b,setupState:v,ctx:P,inheritAttrs:T}=e,N=hr(e);let H,O;try{if(r.shapeFlag&4){const k=n||s,q=k;H=Ne(d.call(q,k,f,h,v,b,P)),O=l}else{const k=t;H=Ne(k.length>1?k(h,{attrs:l,slots:o,emit:c}):k(h,null)),O=t.props?l:Sl(l)}}catch(k){Mt.length=0,Ir(k,e,1),H=ye(fe)}let W=H;if(O&&T!==!1){const k=Object.keys(O),{shapeFlag:q}=W;k.length&&q&7&&(i&&k.some(_s)&&(O=Tl(O,i)),W=Qe(W,O,!1,!0))}return r.dirs&&(W=Qe(W,null,!1,!0),W.dirs=W.dirs?W.dirs.concat(r.dirs):r.dirs),r.transition&&Bt(W,r.transition),H=W,hr(N),H}const Sl=e=>{let t;for(const r in e)(r==="class"||r==="style"||ms(r))&&((t||(t={}))[r]=e[r]);return t},Tl=(e,t)=>{const r={};for(const s in e)(!_s(s)||!(s.slice(9)in t))&&(r[s]=e[s]);return r};function El(e,t,r){const{props:s,children:n,component:i}=e,{props:o,children:l,patchFlag:c}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&c>=0){if(c&1024)return!0;if(c&16)return s?tn(s,o,d):!!o;if(c&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const b=f[h];if(mi(o,s,b)&&!Or(d,b))return!0}}}else return(n||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?tn(s,o,d):!0:!!o;return!1}function tn(e,t,r){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let n=0;n<s.length;n++){const i=s[n];if(mi(t,e,i)&&!Or(r,i))return!0}return!1}function mi(e,t,r){const s=e[r],n=t[r];return r==="style"&&K(s)&&K(n)?!vs(s,n):s!==n}function Pl({vnode:e,parent:t,suspense:r},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=s,e=n),n===e)(e=t.vnode).el=s,t=t.parent;else break}r&&r.activeBranch===e&&(r.vnode.el=s)}const _i={},yi=()=>Object.create(_i),bi=e=>Object.getPrototypeOf(e)===_i;function Cl(e,t,r,s=!1){const n={},i=yi();e.propsDefaults=Object.create(null),vi(e,t,n,i);for(const o in e.propsOptions[0])o in n||(n[o]=void 0);r?e.props=s?n:Po(n):e.type.props?e.props=n:e.props=i,e.attrs=i}function kl(e,t,r,s){const{props:n,attrs:i,vnode:{patchFlag:o}}=e,l=$(n),[c]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let b=f[h];if(Or(e.emitsOptions,b))continue;const v=t[b];if(c)if(U(i,b))v!==i[b]&&(i[b]=v,d=!0);else{const P=Ce(b);n[P]=is(c,l,P,v,e,!1)}else v!==i[b]&&(i[b]=v,d=!0)}}}else{vi(e,t,n,i)&&(d=!0);let f;for(const h in l)(!t||!U(t,h)&&((f=vt(h))===h||!U(t,f)))&&(c?r&&(r[h]!==void 0||r[f]!==void 0)&&(n[h]=is(c,l,h,void 0,e,!0)):delete n[h]);if(i!==l)for(const h in i)(!t||!U(t,h))&&(delete i[h],d=!0)}d&&We(e.attrs,"set","")}function vi(e,t,r,s){const[n,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(It(c))continue;const d=t[c];let f;n&&U(n,f=Ce(c))?!i||!i.includes(f)?r[f]=d:(l||(l={}))[f]=d:Or(e.emitsOptions,c)||(!(c in s)||d!==s[c])&&(s[c]=d,o=!0)}if(i){const c=$(r),d=l||B;for(let f=0;f<i.length;f++){const h=i[f];r[h]=is(n,c,h,d[h],e,!U(d,h))}}return o}function is(e,t,r,s,n,i){const o=e[r];if(o!=null){const l=U(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&M(c)){const{propsDefaults:d}=n;if(r in d)s=d[r];else{const f=Qt(n);s=d[r]=c.call(null,t),f()}}else s=c;n.ce&&n.ce._setProp(r,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===vt(r))&&(s=!0))}return s}const Al=new WeakMap;function wi(e,t,r=!1){const s=r?Al:t.propsCache,n=s.get(e);if(n)return n;const i=e.props,o={},l=[];let c=!1;if(!M(e)){const f=h=>{c=!0;const[b,v]=wi(h,t,!0);ce(o,b),v&&l.push(...v)};!r&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return K(e)&&s.set(e,ht),ht;if(L(i))for(let f=0;f<i.length;f++){const h=Ce(i[f]);rn(h)&&(o[h]=B)}else if(i)for(const f in i){const h=Ce(f);if(rn(h)){const b=i[f],v=o[h]=L(b)||M(b)?{type:b}:ce({},b),P=v.type;let T=!1,N=!0;if(L(P))for(let H=0;H<P.length;++H){const O=P[H],W=M(O)&&O.name;if(W==="Boolean"){T=!0;break}else W==="String"&&(N=!1)}else T=M(P)&&P.name==="Boolean";v[0]=T,v[1]=N,(T||U(v,"default"))&&l.push(h)}}const d=[o,l];return K(e)&&s.set(e,d),d}function rn(e){return e[0]!=="$"&&!It(e)}const Ps=e=>e==="_"||e==="_ctx"||e==="$stable",Cs=e=>L(e)?e.map(Ne):[Ne(e)],Il=(e,t,r)=>{if(t._n)return t;const s=Vo((...n)=>Cs(t(...n)),r);return s._c=!1,s},xi=(e,t,r)=>{const s=e._ctx;for(const n in e){if(Ps(n))continue;const i=e[n];if(M(i))t[n]=Il(n,i,s);else if(i!=null){const o=Cs(i);t[n]=()=>o}}},Si=(e,t)=>{const r=Cs(t);e.slots.default=()=>r},Ti=(e,t,r)=>{for(const s in t)(r||!Ps(s))&&(e[s]=t[s])},Rl=(e,t,r)=>{const s=e.slots=yi();if(e.vnode.shapeFlag&32){const n=t._;n?(Ti(s,t,r),r&&xn(s,"_",n,!0)):xi(t,s)}else t&&Si(e,t)},Ll=(e,t,r)=>{const{vnode:s,slots:n}=e;let i=!0,o=B;if(s.shapeFlag&32){const l=t._;l?r&&l===1?i=!1:Ti(n,t,r):(i=!t.$stable,xi(t,n)),o=t}else t&&(Si(e,t),o={default:1});if(i)for(const l in n)!Ps(l)&&o[l]==null&&delete n[l]},ge=Fl;function va(e){return Ol(e)}function Ol(e,t){const r=wr();r.__VUE__=!0;const{insert:s,remove:n,patchProp:i,createElement:o,createText:l,createComment:c,setText:d,setElementText:f,parentNode:h,nextSibling:b,setScopeId:v=He,insertStaticContent:P}=e,T=(a,u,p,y=null,g=null,m=null,S=void 0,x=null,w=!!u.dynamicChildren)=>{if(a===u)return;a&&!lt(a,u)&&(y=tr(a),Ae(a,g,m,!0),a=null),u.patchFlag===-2&&(w=!1,u.dynamicChildren=null);const{type:_,ref:I,shapeFlag:E}=u;switch(_){case Dr:N(a,u,p,y);break;case fe:H(a,u,p,y);break;case qr:a==null&&O(u,p,y,S);break;case ve:de(a,u,p,y,g,m,S,x,w);break;default:E&1?q(a,u,p,y,g,m,S,x,w):E&6?xe(a,u,p,y,g,m,S,x,w):(E&64||E&128)&&_.process(a,u,p,y,g,m,S,x,w,St)}I!=null&&g?Ot(I,a&&a.ref,m,u||a,!u):I==null&&a&&a.ref!=null&&Ot(a.ref,null,m,a,!0)},N=(a,u,p,y)=>{if(a==null)s(u.el=l(u.children),p,y);else{const g=u.el=a.el;u.children!==a.children&&d(g,u.children)}},H=(a,u,p,y)=>{a==null?s(u.el=c(u.children||""),p,y):u.el=a.el},O=(a,u,p,y)=>{[a.el,a.anchor]=P(a.children,u,p,y,a.el,a.anchor)},W=({el:a,anchor:u},p,y)=>{let g;for(;a&&a!==u;)g=b(a),s(a,p,y),a=g;s(u,p,y)},k=({el:a,anchor:u})=>{let p;for(;a&&a!==u;)p=b(a),n(a),a=p;n(u)},q=(a,u,p,y,g,m,S,x,w)=>{if(u.type==="svg"?S="svg":u.type==="math"&&(S="mathml"),a==null)te(u,p,y,g,m,S,x,w);else{const _=a.el&&a.el._isVueCE?a.el:null;try{_&&_._beginPatch(),A(a,u,g,m,S,x,w)}finally{_&&_._endPatch()}}},te=(a,u,p,y,g,m,S,x)=>{let w,_;const{props:I,shapeFlag:E,transition:C,dirs:D}=a;if(w=a.el=o(a.type,m,I&&I.is,I),E&8?f(w,a.children):E&16&&G(a.children,w,null,y,g,Kr(a,m),S,x),D&&st(a,null,y,"created"),F(w,a,a.scopeId,S,y),I){for(const z in I)z!=="value"&&!It(z)&&i(w,z,null,I[z],m,y);"value"in I&&i(w,"value",null,I.value,m),(_=I.onVnodeBeforeMount)&&Oe(_,y,a)}D&&st(a,null,y,"beforeMount");const j=Dl(g,C);j&&C.beforeEnter(w),s(w,u,p),((_=I&&I.onVnodeMounted)||j||D)&&ge(()=>{_&&Oe(_,y,a),j&&C.enter(w),D&&st(a,null,y,"mounted")},g)},F=(a,u,p,y,g)=>{if(p&&v(a,p),y)for(let m=0;m<y.length;m++)v(a,y[m]);if(g){let m=g.subTree;if(u===m||Ci(m.type)&&(m.ssContent===u||m.ssFallback===u)){const S=g.vnode;F(a,S,S.scopeId,S.slotScopeIds,g.parent)}}},G=(a,u,p,y,g,m,S,x,w=0)=>{for(let _=w;_<a.length;_++){const I=a[_]=x?Be(a[_]):Ne(a[_]);T(null,I,u,p,y,g,m,S,x)}},A=(a,u,p,y,g,m,S)=>{const x=u.el=a.el;let{patchFlag:w,dynamicChildren:_,dirs:I}=u;w|=a.patchFlag&16;const E=a.props||B,C=u.props||B;let D;if(p&&nt(p,!1),(D=C.onVnodeBeforeUpdate)&&Oe(D,p,u,a),I&&st(u,a,p,"beforeUpdate"),p&&nt(p,!0),(E.innerHTML&&C.innerHTML==null||E.textContent&&C.textContent==null)&&f(x,""),_?V(a.dynamicChildren,_,x,p,y,Kr(u,g),m):S||Y(a,u,x,null,p,y,Kr(u,g),m,!1),w>0){if(w&16)Q(x,E,C,p,g);else if(w&2&&E.class!==C.class&&i(x,"class",null,C.class,g),w&4&&i(x,"style",E.style,C.style,g),w&8){const j=u.dynamicProps;for(let z=0;z<j.length;z++){const J=j[z],ee=E[J],ie=C[J];(ie!==ee||J==="value")&&i(x,J,ee,ie,g,p)}}w&1&&a.children!==u.children&&f(x,u.children)}else!S&&_==null&&Q(x,E,C,p,g);((D=C.onVnodeUpdated)||I)&&ge(()=>{D&&Oe(D,p,u,a),I&&st(u,a,p,"updated")},y)},V=(a,u,p,y,g,m,S)=>{for(let x=0;x<u.length;x++){const w=a[x],_=u[x],I=w.el&&(w.type===ve||!lt(w,_)||w.shapeFlag&198)?h(w.el):p;T(w,_,I,null,y,g,m,S,!0)}},Q=(a,u,p,y,g)=>{if(u!==p){if(u!==B)for(const m in u)!It(m)&&!(m in p)&&i(a,m,u[m],null,g,y);for(const m in p){if(It(m))continue;const S=p[m],x=u[m];S!==x&&m!=="value"&&i(a,m,x,S,g,y)}"value"in p&&i(a,"value",u.value,p.value,g)}},de=(a,u,p,y,g,m,S,x,w)=>{const _=u.el=a?a.el:l(""),I=u.anchor=a?a.anchor:l("");let{patchFlag:E,dynamicChildren:C,slotScopeIds:D}=u;D&&(x=x?x.concat(D):D),a==null?(s(_,p,y),s(I,p,y),G(u.children||[],p,I,g,m,S,x,w)):E>0&&E&64&&C&&a.dynamicChildren&&a.dynamicChildren.length===C.length?(V(a.dynamicChildren,C,p,g,m,S,x),(u.key!=null||g&&u===g.subTree)&&ks(a,u,!0)):Y(a,u,p,I,g,m,S,x,w)},xe=(a,u,p,y,g,m,S,x,w)=>{u.slotScopeIds=x,a==null?u.shapeFlag&512?g.ctx.activate(u,p,y,S,w):Ee(u,p,y,g,m,S,w):Zt(a,u,w)},Ee=(a,u,p,y,g,m,S)=>{const x=a.component=Kl(a,y,g);if(Rr(a)&&(x.ctx.renderer=St),ql(x,!1,S),x.asyncDep){if(g&&g.registerDep(x,he,S),!a.el){const w=x.subTree=ye(fe);H(null,w,u,p),a.placeholder=w.el}}else he(x,a,u,p,g,m,S)},Zt=(a,u,p)=>{const y=u.component=a.component;if(El(a,u,p))if(y.asyncDep&&!y.asyncResolved){Z(y,u,p);return}else y.next=u,y.update();else u.el=a.el,y.vnode=u},he=(a,u,p,y,g,m,S)=>{const x=()=>{if(a.isMounted){let{next:E,bu:C,u:D,parent:j,vnode:z}=a;{const Re=Ei(a);if(Re){E&&(E.el=z.el,Z(a,E,S)),Re.asyncDep.then(()=>{ge(()=>{a.isUnmounted||_()},g)});return}}let J=E,ee;nt(a,!1),E?(E.el=z.el,Z(a,E,S)):E=z,C&&Nr(C),(ee=E.props&&E.props.onVnodeBeforeUpdate)&&Oe(ee,j,E,z),nt(a,!0);const ie=en(a),Ie=a.subTree;a.subTree=ie,T(Ie,ie,h(Ie.el),tr(Ie),a,g,m),E.el=ie.el,J===null&&Pl(a,ie.el),D&&ge(D,g),(ee=E.props&&E.props.onVnodeUpdated)&&ge(()=>Oe(ee,j,E,z),g)}else{let E;const{el:C,props:D}=u,{bm:j,m:z,parent:J,root:ee,type:ie}=a,Ie=mt(u);nt(a,!1),j&&Nr(j),!Ie&&(E=D&&D.onVnodeBeforeMount)&&Oe(E,J,u),nt(a,!0);{ee.ce&&ee.ce._hasShadowRoot()&&ee.ce._injectChildStyle(ie,a.parent?a.parent.type:void 0);const Re=a.subTree=en(a);T(null,Re,p,y,a,g,m),u.el=Re.el}if(z&&ge(z,g),!Ie&&(E=D&&D.onVnodeMounted)){const Re=u;ge(()=>Oe(E,J,Re),g)}(u.shapeFlag&256||J&&mt(J.vnode)&&J.vnode.shapeFlag&256)&&a.a&&ge(a.a,g),a.isMounted=!0,u=p=y=null}};a.scope.on();const w=a.effect=new Pn(x);a.scope.off();const _=a.update=w.run.bind(w),I=a.job=w.runIfDirty.bind(w);I.i=a,I.id=a.uid,w.scheduler=()=>Es(I),nt(a,!0),_()},Z=(a,u,p)=>{u.component=a;const y=a.vnode.props;a.vnode=u,a.next=null,kl(a,u.props,y,p),Ll(a,u.children,p),Ke(),Us(a),qe()},Y=(a,u,p,y,g,m,S,x,w=!1)=>{const _=a&&a.children,I=a?a.shapeFlag:0,E=u.children,{patchFlag:C,shapeFlag:D}=u;if(C>0){if(C&128){er(_,E,p,y,g,m,S,x,w);return}else if(C&256){tt(_,E,p,y,g,m,S,x,w);return}}D&8?(I&16&&xt(_,g,m),E!==_&&f(p,E)):I&16?D&16?er(_,E,p,y,g,m,S,x,w):xt(_,g,m,!0):(I&8&&f(p,""),D&16&&G(E,p,y,g,m,S,x,w))},tt=(a,u,p,y,g,m,S,x,w)=>{a=a||ht,u=u||ht;const _=a.length,I=u.length,E=Math.min(_,I);let C;for(C=0;C<E;C++){const D=u[C]=w?Be(u[C]):Ne(u[C]);T(a[C],D,p,null,g,m,S,x,w)}_>I?xt(a,g,m,!0,!1,E):G(u,p,y,g,m,S,x,w,E)},er=(a,u,p,y,g,m,S,x,w)=>{let _=0;const I=u.length;let E=a.length-1,C=I-1;for(;_<=E&&_<=C;){const D=a[_],j=u[_]=w?Be(u[_]):Ne(u[_]);if(lt(D,j))T(D,j,p,null,g,m,S,x,w);else break;_++}for(;_<=E&&_<=C;){const D=a[E],j=u[C]=w?Be(u[C]):Ne(u[C]);if(lt(D,j))T(D,j,p,null,g,m,S,x,w);else break;E--,C--}if(_>E){if(_<=C){const D=C+1,j=D<I?u[D].el:y;for(;_<=C;)T(null,u[_]=w?Be(u[_]):Ne(u[_]),p,j,g,m,S,x,w),_++}}else if(_>C)for(;_<=E;)Ae(a[_],g,m,!0),_++;else{const D=_,j=_,z=new Map;for(_=j;_<=C;_++){const be=u[_]=w?Be(u[_]):Ne(u[_]);be.key!=null&&z.set(be.key,_)}let J,ee=0;const ie=C-j+1;let Ie=!1,Re=0;const Tt=new Array(ie);for(_=0;_<ie;_++)Tt[_]=0;for(_=D;_<=E;_++){const be=a[_];if(ee>=ie){Ae(be,g,m,!0);continue}let Le;if(be.key!=null)Le=z.get(be.key);else for(J=j;J<=C;J++)if(Tt[J-j]===0&<(be,u[J])){Le=J;break}Le===void 0?Ae(be,g,m,!0):(Tt[Le-j]=_+1,Le>=Re?Re=Le:Ie=!0,T(be,u[Le],p,null,g,m,S,x,w),ee++)}const Ns=Ie?Ml(Tt):ht;for(J=Ns.length-1,_=ie-1;_>=0;_--){const be=j+_,Le=u[be],Hs=u[be+1],js=be+1<I?Hs.el||Pi(Hs):y;Tt[_]===0?T(null,Le,p,js,g,m,S,x,w):Ie&&(J<0||_!==Ns[J]?rt(Le,p,js,2):J--)}}},rt=(a,u,p,y,g=null)=>{const{el:m,type:S,transition:x,children:w,shapeFlag:_}=a;if(_&6){rt(a.component.subTree,u,p,y);return}if(_&128){a.suspense.move(u,p,y);return}if(_&64){S.move(a,u,p,St);return}if(S===ve){s(m,u,p);for(let E=0;E<w.length;E++)rt(w[E],u,p,y);s(a.anchor,u,p);return}if(S===qr){W(a,u,p);return}if(y!==2&&_&1&&x)if(y===0)x.beforeEnter(m),s(m,u,p),ge(()=>x.enter(m),g);else{const{leave:E,delayLeave:C,afterLeave:D}=x,j=()=>{a.ctx.isUnmounted?n(m):s(m,u,p)},z=()=>{m._isLeaving&&m[Me](!0),E(m,()=>{j(),D&&D()})};C?C(m,j,z):z()}else s(m,u,p)},Ae=(a,u,p,y=!1,g=!1)=>{const{type:m,props:S,ref:x,children:w,dynamicChildren:_,shapeFlag:I,patchFlag:E,dirs:C,cacheIndex:D,memo:j}=a;if(E===-2&&(g=!1),x!=null&&(Ke(),Ot(x,null,p,a,!0),qe()),D!=null&&(u.renderCache[D]=void 0),I&256){u.ctx.deactivate(a);return}const z=I&1&&C,J=!mt(a);let ee;if(J&&(ee=S&&S.onVnodeBeforeUnmount)&&Oe(ee,u,a),I&6)qi(a.component,p,y);else{if(I&128){a.suspense.unmount(p,y);return}z&&st(a,null,u,"beforeUnmount"),I&64?a.type.remove(a,u,p,St,y):_&&!_.hasOnce&&(m!==ve||E>0&&E&64)?xt(_,u,p,!1,!0):(m===ve&&E&384||!g&&I&16)&&xt(w,u,p),y&&Ms(a)}const ie=j!=null&&D==null;(J&&(ee=S&&S.onVnodeUnmounted)||z||ie)&&ge(()=>{ee&&Oe(ee,u,a),z&&st(a,null,u,"unmounted"),ie&&(a.el=null)},p)},Ms=a=>{const{type:u,el:p,anchor:y,transition:g}=a;if(u===ve){Ki(p,y);return}if(u===qr){k(a);return}const m=()=>{n(p),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(a.shapeFlag&1&&g&&!g.persisted){const{leave:S,delayLeave:x}=g,w=()=>S(p,m);x?x(a.el,m,w):w()}else m()},Ki=(a,u)=>{let p;for(;a!==u;)p=b(a),n(a),a=p;n(u)},qi=(a,u,p)=>{const{bum:y,scope:g,job:m,subTree:S,um:x,m:w,a:_}=a;sn(w),sn(_),y&&Nr(y),g.stop(),m&&(m.flags|=8,Ae(S,a,u,p)),x&&ge(x,u),ge(()=>{a.isUnmounted=!0},u)},xt=(a,u,p,y=!1,g=!1,m=0)=>{for(let S=m;S<a.length;S++)Ae(a[S],u,p,y,g)},tr=a=>{if(a.shapeFlag&6)return tr(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const u=b(a.anchor||a.el),p=u&&u[Xn];return p?b(p):u};let Fr=!1;const Fs=(a,u,p)=>{let y;a==null?u._vnode&&(Ae(u._vnode,null,null,!0),y=u._vnode.component):T(u._vnode||null,a,u,null,null,null,p),u._vnode=a,Fr||(Fr=!0,Us(y),zn(),Fr=!1)},St={p:T,um:Ae,m:rt,r:Ms,mt:Ee,mc:G,pc:Y,pbc:V,n:tr,o:e};return{render:Fs,hydrate:void 0,createApp:vl(Fs)}}function Kr({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function nt({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Dl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ks(e,t,r=!1){const s=e.children,n=t.children;if(L(s)&&L(n))for(let i=0;i<s.length;i++){const o=s[i];let l=n[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=n[i]=Be(n[i]),l.el=o.el),!r&&l.patchFlag!==-2&&ks(o,l)),l.type===Dr&&(l.patchFlag===-1&&(l=n[i]=Be(l)),l.el=o.el),l.type===fe&&!l.el&&(l.el=o.el)}}function Ml(e){const t=e.slice(),r=[0];let s,n,i,o,l;const c=e.length;for(s=0;s<c;s++){const d=e[s];if(d!==0){if(n=r[r.length-1],e[n]<d){t[s]=n,r.push(s);continue}for(i=0,o=r.length-1;i<o;)l=i+o>>1,e[r[l]]<d?i=l+1:o=l;d<e[r[i]]&&(i>0&&(t[s]=r[i-1]),r[i]=s)}}for(i=r.length,o=r[i-1];i-- >0;)r[i]=o,o=t[o];return r}function Ei(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ei(t)}function sn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Pi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Pi(t.subTree):null}const Ci=e=>e.__isSuspense;function Fl(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):Wo(e)}const ve=Symbol.for("v-fgt"),Dr=Symbol.for("v-txt"),fe=Symbol.for("v-cmt"),qr=Symbol.for("v-stc"),Mt=[];let _e=null;function os(e=!1){Mt.push(_e=e?null:[])}function Nl(){Mt.pop(),_e=Mt[Mt.length-1]||null}let bt=1;function mr(e,t=!1){bt+=e,e<0&&_e&&t&&(_e.hasOnce=!0)}function ki(e){return e.dynamicChildren=bt>0?_e||ht:null,Nl(),bt>0&&_e&&_e.push(e),e}function wa(e,t,r,s,n,i){return ki(Ii(e,t,r,s,n,i,!0))}function ls(e,t,r,s,n){return ki(ye(e,t,r,s,n,!0))}function Vt(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const Ai=({key:e})=>e??null,cr=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||se(e)||M(e)?{i:le,r:e,k:t,f:!!r}:e:null);function Ii(e,t=null,r=null,s=0,n=null,i=e===ve?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ai(t),ref:t&&cr(t),scopeId:Yn,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:le};return l?(As(c,r),i&128&&e.normalize(c)):r&&(c.shapeFlag|=ne(r)?8:16),bt>0&&!o&&_e&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&_e.push(c),c}const ye=Hl;function Hl(e,t=null,r=null,s=0,n=null,i=!1){if((!e||e===ci)&&(e=fe),Vt(e)){const l=Qe(e,t,!0);return r&&As(l,r),bt>0&&!i&&_e&&(l.shapeFlag&6?_e[_e.indexOf(e)]=l:_e.push(l)),l.patchFlag=-2,l}if(Jl(e)&&(e=e.__vccOpts),t){t=jl(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=Sr(l)),K(c)&&(Ar(c)&&!L(c)&&(c=ce({},c)),t.style=xr(c))}const o=ne(e)?1:Ci(e)?128:Qn(e)?64:K(e)?4:M(e)?2:0;return Ii(e,t,r,s,n,o,i,!0)}function jl(e){return e?Ar(e)||bi(e)?ce({},e):e:null}function Qe(e,t,r=!1,s=!1){const{props:n,ref:i,patchFlag:o,children:l,transition:c}=e,d=t?Wl(n||{},t):n,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Ai(d),ref:t&&t.ref?r&&i?L(i)?i.concat(cr(t)):[i,cr(t)]:cr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ve?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qe(e.ssContent),ssFallback:e.ssFallback&&Qe(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Bt(f,c.clone(f)),f}function $l(e=" ",t=0){return ye(Dr,null,e,t)}function Bl(e="",t=!1){return t?(os(),ls(fe,null,e)):ye(fe,null,e)}function Ne(e){return e==null||typeof e=="boolean"?ye(fe):L(e)?ye(ve,null,e.slice()):Vt(e)?Be(e):ye(Dr,null,String(e))}function Be(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qe(e)}function As(e,t){let r=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(L(t))r=16;else if(typeof t=="object")if(s&65){const n=t.default;n&&(n._c&&(n._d=!1),As(e,n()),n._c&&(n._d=!0));return}else{r=32;const n=t._;!n&&!bi(t)?t._ctx=le:n===3&&le&&(le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else M(t)?(t={default:t,_ctx:le},r=32):(t=String(t),s&64?(r=16,t=[$l(t)]):r=8);e.children=t,e.shapeFlag|=r}function Wl(...e){const t={};for(let r=0;r<e.length;r++){const s=e[r];for(const n in s)if(n==="class")t.class!==s.class&&(t.class=Sr([t.class,s.class]));else if(n==="style")t.style=xr([t.style,s.style]);else if(ms(n)){const i=t[n],o=s[n];o&&i!==o&&!(L(i)&&i.includes(o))?t[n]=i?[].concat(i,o):o:o==null&&i==null&&!_s(n)&&(t[n]=o)}else n!==""&&(t[n]=s[n])}return t}function Oe(e,t,r,s=null){je(e,t,7,[r,s])}const Vl=hi();let Ul=0;function Kl(e,t,r){const s=e.type,n=(t?t.appContext:e.appContext)||Vl,i={uid:Ul++,vnode:e,type:s,parent:t,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new En(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(n.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wi(s,n),emitsOptions:gi(s,n),emit:null,emitted:null,propsDefaults:B,inheritAttrs:s.inheritAttrs,ctx:B,data:B,props:B,attrs:B,slots:B,refs:B,setupState:B,setupContext:null,suspense:r,suspenseId:r?r.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 i.ctx={_:i},i.root=t?t.root:i,i.emit=wl.bind(null,i),e.ce&&e.ce(i),i}let ue=null;const Xt=()=>ue||le;let _r,cs;{const e=wr(),t=(r,s)=>{let n;return(n=e[r])||(n=e[r]=[]),n.push(s),i=>{n.length>1?n.forEach(o=>o(i)):n[0](i)}};_r=t("__VUE_INSTANCE_SETTERS__",r=>ue=r),cs=t("__VUE_SSR_SETTERS__",r=>Ut=r)}const Qt=e=>{const t=ue;return _r(e),e.scope.on(),()=>{e.scope.off(),_r(t)}},nn=()=>{ue&&ue.scope.off(),_r(null)};function Ri(e){return e.vnode.shapeFlag&4}let Ut=!1;function ql(e,t=!1,r=!1){t&&cs(t);const{props:s,children:n}=e.vnode,i=Ri(e);Cl(e,s,i,t),Rl(e,n,r||t);const o=i?zl(e,t):void 0;return t&&cs(!1),o}function zl(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,hl);const{setup:s}=r;if(s){Ke();const n=e.setupContext=s.length>1?Oi(e):null,i=Qt(e),o=Yt(s,e,0,[e.props,n]),l=bn(o);if(qe(),i(),(l||e.sp)&&!mt(e)&&si(e),l){if(o.then(nn,nn),t)return o.then(c=>{on(e,c)}).catch(c=>{Ir(c,e,0)});e.asyncDep=o}else on(e,o)}else Li(e)}function on(e,t,r){M(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:K(t)&&(e.setupState=Vn(t)),Li(e)}function Li(e,t,r){const s=e.type;e.render||(e.render=s.render||He);{const n=Qt(e);Ke();try{pl(e)}finally{qe(),n()}}}const Gl={get(e,t){return ae(e,"get",""),e[t]}};function Oi(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,Gl),slots:e.slots,emit:e.emit,expose:t}}function Mr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Vn(Co(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Dt)return Dt[r](e)},has(t,r){return r in t||r in Dt}})):e.proxy}function Yl(e,t=!0){return M(e)?e.displayName||e.name:e.name||t&&e.__name}function Jl(e){return M(e)&&"__vccOpts"in e}const et=(e,t)=>Fo(e,t,Ut);function xa(e,t,r){try{mr(-1);const s=arguments.length;return s===2?K(t)&&!L(t)?Vt(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(s>3?r=Array.prototype.slice.call(arguments,2):s===3&&Vt(r)&&(r=[r]),ye(e,t,r))}finally{mr(1)}}function Sa(e,t,r,s){const n=r[s];if(n&&Xl(n,e))return n;const i=t();return i.memo=e.slice(),i.cacheIndex=s,r[s]=i}function Xl(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let s=0;s<r.length;s++)if(oe(r[s],t[s]))return!1;return bt>0&&_e&&_e.push(e),!0}const Ql="3.5.34",Ta="0.9.3-alpha.6",Ct={orientation:"portrait",capsuleHidden:!1};function Ze(){return new DOMException("方向请求已取消","AbortError")}let Ft;function Ea(e){return Ft=e,()=>{Ft===e&&(Ft=void 0)}}function Pa(e){if(e.aborted)return Promise.reject(Ze());if(!Ft)return Promise.resolve();const t=Ft();return new Promise((r,s)=>{const n=()=>s(Ze());e.addEventListener("abort",n,{once:!0}),t.then(()=>{e.removeEventListener("abort",n),r()},i=>{e.removeEventListener("abort",n),s(i)})})}function Zl(e){return new Promise((t,r)=>{if(e.aborted){r(Ze());return}let s=requestAnimationFrame(()=>{s=requestAnimationFrame(n)});function n(){e.removeEventListener("abort",i),t()}function i(){cancelAnimationFrame(s),r(Ze())}e.addEventListener("abort",i,{once:!0})})}function Ca(e,t){if(t.aborted)return Promise.reject(Ze());const r=e.flatMap(s=>s&&typeof s.getAnimations=="function"?s.getAnimations().filter(n=>n.effect?.getComputedTiming().iterations!==1/0):[]);return r.length?new Promise((s,n)=>{const i=()=>n(Ze());t.addEventListener("abort",i,{once:!0}),Promise.allSettled(r.map(o=>o.finished)).then(()=>{t.removeEventListener("abort",i),s()})}):Promise.resolve()}function ka(e){const t=e.waitForLayout??Zl,r=new Set;let s=Ct,n=0;function i(){for(const o of[...r])try{o()}catch{}}return{async applyDisplay(o,l){if(l.aborted)throw Ze();const c=++n,d={orientation:o.mode,capsuleHidden:o.hideCapsule},f=()=>{c===n&&(n+=1,e.apply(s),i())};l.addEventListener("abort",f,{once:!0});try{if(e.apply(d),await t(l),l.aborted||c!==n)throw Ze();s=d,i()}finally{l.removeEventListener("abort",f)}},reset(){n+=1;const o=s.orientation!==Ct.orientation||s.capsuleHidden!==Ct.capsuleHidden;s=Ct,e.apply(Ct),o&&i()},onViewportChange(o){return r.add(o),()=>{r.delete(o)}},notifyViewportChange:i}}const ec="[data-hb-sdk-fullscreen-exit]";function Aa(e){const t=()=>{const s=e();if(s)for(const n of[...document.body.children])n.matches(ec)&&s.append(n)},r=new MutationObserver(t);return r.observe(document.body,{childList:!0}),t(),()=>r.disconnect()}const ln="hb-sdk-feedback-style",tc=2e3,rc={light:20,medium:40,heavy:80},sc=120,nc=`
|
|
2
|
-
.host-overlay-layer.hb-sdk-feedback-vibrate-flash {
|
|
3
|
-
background: rgba(255, 255, 255, 0.22);
|
|
4
|
-
}
|
|
5
|
-
`;let ar,Kt,Nt,Xe,ct;const as=new Set;function Ia(e){return ar=e,Kt&&e(Kt),()=>{ar===e&&(ar=void 0)}}function qt(e){Kt=e,ar?.(e)}function Is(){Nt!==void 0&&(window.clearTimeout(Nt),Nt=void 0)}function Ra(e){return Is(),qt({kind:"toast",...e}),Nt=window.setTimeout(()=>{Nt=void 0,Kt?.kind==="toast"&&qt(void 0)},tc),Promise.resolve()}function La(e){return Is(),qt({kind:"loading",dismissible:e?.dismissible===!0}),Promise.resolve()}function Oa(){return Kt?.kind==="loading"&&qt(void 0),Promise.resolve()}function Da(){Is(),qt(void 0);for(const e of[...as])e();ct!==void 0&&(window.clearTimeout(ct),ct=void 0),Xe?.classList.remove("hb-sdk-feedback-vibrate-flash"),Xe=void 0}async function Ma(e,t){ic();const r=t?.signal;if(!await cc(Math.max(0,e.delay),r)||r?.aborted)return;oc();const n=navigator.vibrate;if(typeof n=="function")try{n.call(navigator,rc[e.intensity])}catch{}}function Fa(e){document.documentElement.dataset.screenshotChromeHidden=e?"true":"false"}function ic(){if(document.getElementById(ln))return;const e=document.createElement("style");e.id=ln,e.textContent=nc,document.head.appendChild(e)}function oc(){const e=lc();ct!==void 0&&window.clearTimeout(ct),Xe&&Xe!==e&&Xe.classList.remove("hb-sdk-feedback-vibrate-flash"),Xe=e,e.classList.add("hb-sdk-feedback-vibrate-flash"),ct=window.setTimeout(()=>{e.classList.remove("hb-sdk-feedback-vibrate-flash"),Xe===e&&(Xe=void 0),ct=void 0},sc)}function lc(){return document.querySelector("#host-overlay-layer")??document.body}function cc(e,t){return t?.aborted?Promise.resolve(!1):e<=0?Promise.resolve(!0):new Promise(r=>{let s,n=!1;const i=c=>{n||(n=!0,s!==void 0&&window.clearTimeout(s),t?.removeEventListener("abort",o),as.delete(l),r(c))},o=()=>i(!1),l=()=>i(!1);s=window.setTimeout(()=>i(!0),e),as.add(l),t?.addEventListener("abort",o,{once:!0})})}const zr={width:440,height:956},cn={top:1.32,right:3.4,bottom:1.32,left:3.4},Gr={width:410,height:914},an={top:2.05,right:4.8,bottom:1.8,left:4.1};function fn(e,t,r){const s=e.width/(1-(t.left+t.right)/100),n=e.height/(1-(t.top+t.bottom)/100),i=r.width*r.radiusWidthRatio;return{frameWidth:s,frameHeight:n,frameAssetWidth:r.width,frameAssetHeight:r.height,screenRadius:{x:i*(s/r.width),y:i*(n/r.height)}}}const Di=[{id:"iphone-16-pro-max",label:"iPhone 16 Pro Max",screenWidth:zr.width,screenHeight:zr.height,...fn(zr,cn,{width:415,height:843,radiusWidthRatio:.122126436781609}),maxPresentationScale:1,pixelRatio:3,statusBarHeight:55,safeAreaInsets:{top:55,right:0,bottom:34,left:0},landscape:{statusBarHeight:0,safeAreaInsets:{top:0,right:62,bottom:21,left:62}},screenRect:cn,toolbarLeft:53.67,platform:"ios"},{id:"pixel-9-pro",label:"Pixel 9 Pro",screenWidth:Gr.width,screenHeight:Gr.height,...fn(Gr,an,{width:353,height:745,radiusWidthRatio:.126666666666667}),maxPresentationScale:1,pixelRatio:2.625,statusBarHeight:50,safeAreaInsets:{top:50,right:0,bottom:24,left:0},landscape:{statusBarHeight:0,safeAreaInsets:{top:0,right:0,bottom:24,left:50}},screenRect:an,toolbarLeft:44.69,platform:"android"}],ac=Di[0];function Rs(e){return Di.find(t=>t.id===e)??ac}function fc(e,t,r=!1){return t==="portrait"?{screenWidth:e.screenWidth,screenHeight:e.screenHeight,pixelRatio:e.pixelRatio,statusBarHeight:r?0:e.statusBarHeight,safeAreaInsets:{...e.safeAreaInsets}}:{screenWidth:e.screenHeight,screenHeight:e.screenWidth,pixelRatio:e.pixelRatio,statusBarHeight:e.landscape.statusBarHeight,safeAreaInsets:{...e.landscape.safeAreaInsets}}}const zt=500,uc=new Set(["authorization","cookie","proxy-authorization","set-cookie","token","x-pkey","api-key","apikey","x-api-key","x-auth-token","x-access-token","session","session-id","jwt","refresh-token","x-csrf-token"]),dc=/(authorization|cookie|password|passwd|secret|token|pkey|private[_-]?key|access[_-]?key|client[_-]?secret|api[_-]?key|apikey|session|jwt|refresh[_-]?token|csrf)/i;function un(e){if(!e)return e;try{const t=new URL(e);if(t.username="",t.password="",dn(t.searchParams),t.hash&&t.hash.length>1){const r=t.hash.slice(1);if(r.includes("=")){const s=new URLSearchParams(r);dn(s)&&(t.hash=s.toString())}}return t.toString()}catch{return Fi(e)}}function hc(e){return e?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,pc(t)?"[redacted]":r])):{}}function fs(e){if(e!==void 0){if(typeof e=="string")return Mi(e);if(typeof e=="number"||typeof e=="boolean"||e===null)return e;try{const t=us(e),r=JSON.stringify(t);return r===void 0?"[unserializable]":r.length<=zt?t:Ls(r,zt)}catch{return"[unserializable]"}}}function yr(e){return Array.isArray(e)?e.slice(0,20).map(t=>yr(t)):typeof e=="string"?gc(e)?un(e):Mi(e):typeof e=="number"||typeof e=="boolean"||e===null||e===void 0?e:ds(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>{const s=t.trim().toLowerCase();return wt(t)?[t,"[redacted]"]:s==="headers"&&ds(r)?[t,hc(Object.fromEntries(Object.entries(r).flatMap(([n,i])=>typeof i=="string"?[[n,i]]:[])))]:(s==="url"||s.endsWith("_url")||s.endsWith("url"))&&typeof r=="string"?[t,un(r)]:[t,yr(r)]})):fs(e)}function pc(e){const t=e.trim().toLowerCase();return uc.has(t)||wt(t)||t.startsWith("x-heybox-")||t.startsWith("x-xhh-")}function wt(e){return dc.test(e.trim())}function Mi(e){const t=e.trim();if(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]"))try{return fs(JSON.parse(t))}catch{}if(t.includes("=")&&!t.includes(`
|
|
6
|
-
`)&&t.length<=zt*2)try{const r=new URLSearchParams(t);if([...r.keys()].length>0){const s=Object.fromEntries([...r.entries()].map(([n,i])=>[n,wt(n)?"[redacted]":i]));return fs(s)}}catch{}return Ls(Fi(e),zt)}function us(e){return Array.isArray(e)?e.slice(0,20).map(t=>us(t)):ds(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,wt(t)?"[redacted]":us(r)])):typeof e=="string"?Ls(e,zt):e}function dn(e){let t=!1;for(const r of[...e.keys()])wt(r)&&(e.set(r,"[redacted]"),t=!0);return t}function Fi(e){return e.replace(/([?&#]|^|[?&])([^=&#\s]+)=([^&#\s]*)/g,(t,r,s,n)=>wt(s)?`${r}${s}=[redacted]`:t)}function gc(e){return/^https?:\/\//i.test(e.trim())||/^[a-z][a-z0-9+.-]*:\/\//i.test(e.trim())}function Ls(e,t){return e.length<=t?e:`${e.slice(0,t)}…(truncated, total=${e.length})`}function ds(e){return Object.prototype.toString.call(e)==="[object Object]"}const Ni=[{id:"app",label:"App"},{id:"sdk",label:"SDK"},{id:"network",label:"Network"},{id:"runtime",label:"Runtime"},{id:"host",label:"Host"}],Hi=[{id:"log",label:"普通"},{id:"info",label:"信息"},{id:"warn",label:"警告"},{id:"error",label:"错误"}],mc=new Set(["auth","cloud","companion","device","directory","file","files","navigation","share","storage","ui","user","viewport"]);function _c(e,t,r=Date.now(),s){const n=yr(t),i=Ds(n),o=Number.isFinite(r)?r:Date.now(),l=Pc(i?.outcome),c=bc(e,i),d=vc(c,i?.source),f=s??wc(e,l),h=xc(n,i),b=Ue(i?.callId),v=Ue(i?.errorCode)??Ue(i?.code),P=ji(i?.durationMs),T=Cc(i?.generation);return{method:e,detail:n,timestamp:o,level:f,source:d,category:c,summary:h,...l?{outcome:l}:{},...P===void 0?{}:{durationMs:P},...b?{callId:b}:{},...v?{errorCode:v}:{},...T===void 0?{}:{generation:T},...c==="console"&&(f==="log"||f==="info")?{dedupeKey:`${d}\0${f}\0${e}\0${h}`}:{}}}function Na(e,t){if(e.type==="bridge_response"||e.type==="bridge_started"||e.type==="src_resolved"||e.type==="location_probe")return;const r=Tc(e),s=yr({...e,generation:t}),n=Ds(s),i=Ec(e),o=e.type==="error"?"error":e.type==="security_violation"?"denied":void 0,l=[n?.errorCode,n?.message,n?.reason,n?.launchUrlType].map(c=>Ue(c)).filter(c=>!!c).join(" · ");return{method:r,detail:s,timestamp:e.timestamp,level:i,source:"runtime",category:e.type==="security_violation"||e.type==="security"?"security":"lifecycle",summary:l,generation:t,...e.errorCode?{errorCode:e.errorCode}:{},...o?{outcome:o}:{},...e.type==="duplicate_handshake"||e.type==="status"?{dedupeKey:`runtime\0${t}\0${r}\0${l}`}:{}}}function yc(e){return[e.source,e.category,e.level,e.method,e.summary,e.outcome,e.errorCode,e.callId,Os(e.detail)].filter(Boolean).join(" ").toLocaleLowerCase()}function Os(e){try{return JSON.stringify(e,null,2)??""}catch{return"[无法序列化]"}}function bc(e,t){return e.startsWith("console.")?"console":e==="network.request"?"network":/security|violation|blocked/i.test(e)?"security":e.startsWith("runtime.")||e.startsWith("lifecycle.")?"lifecycle":t?.type==="capability"||mc.has(e.split(".")[0]??"")?"capability":"tooling"}function vc(e,t){return e==="console"&&(t==="app"||t==="host")?t:e==="network"?"network":e==="capability"?"sdk":e==="lifecycle"||e==="security"?"runtime":"host"}function wc(e,t){return t==="error"||/error|failed/i.test(e)?"error":t==="denied"||t==="dropped"||/warn|security|violation|blocked/i.test(e)?"warn":"info"}function xc(e,t){const r=t?.message;if(typeof r=="string"&&r.trim())return r.trim();if(r!==void 0)return hn(r);const s=Ds(t?.network);if(s){const i=Ue(s.method),o=Ue(s.origin),l=Ue(s.pathname),c=ji(s.responseStatus),d=Sc(o,l);return[i,d,c===void 0?void 0:String(c)].filter(Boolean).join(" ")}const n=Ue(t?.errorCode)??Ue(t?.code);return n||(t?"":hn(e))}function Sc(e,t){return e?t?e.replace(/\/$/,"")+(t.startsWith("/")?t:"/"+t):e:t}function Tc(e){return e.type==="status"?`runtime.${e.status??"status"}`:e.type==="lifecycle"?`lifecycle.${e.method??e.event??"event"}`:e.type==="lifecycle_ignored"?`lifecycle.${e.event??"event"}.ignored`:e.type==="security_violation"?"runtime.security":e.type==="error"?"runtime.error":`runtime.${e.type.replaceAll("_",".")}`}function Ec(e){return e.type==="error"?"error":e.type==="security_violation"||e.type==="handshake_timeout"||e.type.endsWith("_ignored")?"warn":e.type==="duplicate_handshake"||e.type==="launch_cancelled"?"log":"info"}function Pc(e){return e==="success"||e==="error"||e==="dropped"||e==="denied"?e:void 0}function Ue(e){return typeof e=="string"&&e.trim()?e.trim():void 0}function ji(e){return typeof e=="number"&&Number.isFinite(e)?e:void 0}function Cc(e){return Number.isSafeInteger(e)?e:void 0}function hn(e){const t=Os(e).replace(/\s+/g," ").trim();return t==="{}"||t==="[]"?"":t}function Ds(e){return Object.prototype.toString.call(e)==="[object Object]"?e:void 0}const $i="hb-sdk:browser-dev-host:device",Bi="hb-sdk:browser-dev-host:diagnostics-width",Wi="hb-sdk:browser-dev-host:desktop-app",kc=new URL(location.href).searchParams.get("device"),R=Cr({activeTab:"logs",selectedLogDevice:"",logDevices:[],devicePresetId:Rs(kc??Dc()).id,logs:[],storage:[],storageError:"",queries:{logs:"",storage:"",sandbox:"",problems:""},followLogs:!0,pausedLogCount:0,problemClearWatermark:0,logFilters:{levels:mn(Hi),sources:mn(Ni)},diagnosticsWidth:Mc(),miniProgram:{bound:!1,id:"",iconUrl:"",name:"未绑定小程序",detail:""},miniProgramSupportsDesktop:!1,account:{authenticated:!1,avatar:"",nickname:"未登录"},navigationBarStyle:"dark",display:{orientation:"portrait",capsuleHidden:!1},screenshotChromeHidden:!1,runtimeStatus:"idle",qrOpen:!1,devReadiness:void 0,localPermissions:[],openPlatformBaseUrl:void 0,devContextWarning:"",desktopLaunch:{target:Fc(),address:void 0,workspaceCardsEnabled:!1,devSessionId:"",miniProgramId:"",miniProgramManifestToken:"",ready:!1,unavailableReason:"正在等待桌面调试配置"}});let hs=0,ps;const Ac=et(()=>Rs(R.devicePresetId)),Ha=et(()=>fc(Ac.value,R.display.orientation,R.display.capsuleHidden)),ja=et(()=>{const e=R.queries.logs.trim().toLocaleLowerCase();return R.logs.filter(t=>(!R.selectedLogDevice||t.deviceSessionId===R.selectedLogDevice)&&R.logFilters.sources[t.source]&&R.logFilters.levels[t.level]&&(!e||yc(t).includes(e)))}),$a=et(()=>(R.selectedLogDevice?1:0)+Object.values(R.logFilters.sources).filter(e=>!e).length+Object.values(R.logFilters.levels).filter(e=>!e).length),Ic=et(()=>{const e=new Map;for(const t of R.logs){if(t.id<=R.problemClearWatermark||!Lc(t))continue;const r=Oc(t),s=e.get(r);if(s){s.count+=t.repeatCount;continue}e.set(r,{...t,count:t.repeatCount})}return[...e.values()]}),Ba=et(()=>Vi(R.storage,R.queries.storage,e=>`${e.key} ${e.area} ${e.serializedValue}`)),Wa=et(()=>Vi(Ic.value,R.queries.problems,e=>`${e.method} ${Os(e.detail)}`));function Va(e){R.devicePresetId=Rs(e).id;try{localStorage.setItem($i,e)}catch{}}function Ua(e){R.navigationBarStyle=e}function Ka(e){R.display.orientation=e.orientation,R.display.capsuleHidden=e.capsuleHidden}function qa(e){R.desktopLaunch.target=e;try{localStorage.setItem(Wi,e)}catch{}}function za(e){R.desktopLaunch.address=e.address,R.desktopLaunch.workspaceCardsEnabled=e.workspaceCardsEnabled===!0,R.desktopLaunch.devSessionId=e.devSessionId??"",R.desktopLaunch.miniProgramId=e.miniProgramId??"",R.desktopLaunch.miniProgramManifestToken=e.miniProgramManifestToken??"",R.desktopLaunch.ready=e.ready,R.desktopLaunch.unavailableReason=e.unavailableReason??""}const pn=500;function Ga(e,t,r=Date.now(),s){Rc(_c(e,t,r,s))}function Rc(e){const t=R.logs.at(-1);if(e.dedupeKey&&t&&t.deviceSessionId===e.deviceSessionId&&ps===e.dedupeKey){const{dedupeKey:r,...s}=e;Object.assign(t,s,{id:++hs,repeatCount:t.repeatCount+1})}else{const{dedupeKey:r,...s}=e;R.logs.push({...s,id:++hs,firstTimestamp:s.timestamp,repeatCount:1}),ps=r}R.followLogs||(R.pausedLogCount+=1),R.logs.length>pn&&R.logs.splice(0,R.logs.length-pn)}function Ya(){R.logs.length=0,R.pausedLogCount=0,ps=void 0}function Ja(){R.problemClearWatermark=hs}function Xa(e){R.followLogs=e,e&&(R.pausedLogCount=0)}function Qa(e){R.logFilters.levels[e]=!R.logFilters.levels[e]}function Za(e){R.logFilters.sources[e]=!R.logFilters.sources[e]}function ef(){R.selectedLogDevice="";for(const e of Hi)R.logFilters.levels[e.id]=!0;for(const e of Ni)R.logFilters.sources[e.id]=!0}function tf(e){const t=Math.min(560,Math.max(320,Math.round(e)));R.diagnosticsWidth=t;try{localStorage.setItem(Bi,String(t))}catch{}}function Lc(e){return/error|failed|security|violation|blocked/i.test(e.method)?!0:e.outcome==="error"||e.outcome==="denied"}function Oc(e){const t=gn(e.detail)?e.detail:void 0,r=gn(t?.network)?t.network:void 0,s=[r?.method,r?.origin,r?.pathname,t?.origin,t?.sanitizedPathname].find(n=>typeof n=="string");return`${e.method}\0${e.errorCode??""}\0${s??""}`}function gn(e){return Object.prototype.toString.call(e)==="[object Object]"}function Dc(){try{return localStorage.getItem($i)}catch{return null}}function Mc(){try{const e=Number(localStorage.getItem(Bi));return Number.isFinite(e)&&e>0?Math.min(560,Math.max(320,e)):400}catch{return 400}}function Fc(){try{return localStorage.getItem(Wi)==="debug"?"debug":"production"}catch{return"production"}}function mn(e){return Object.fromEntries(e.map(t=>[t.id,!0]))}function Vi(e,t,r){const s=t.trim().toLocaleLowerCase();return s?e.filter(n=>r(n).toLocaleLowerCase().includes(s)):e}const Nc=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/,Hc="ai-desktop.heybox-user-miniprogram",jc="open",$c=2048,Bc="hb_sdk_manifest_token",Wc=/^[A-Za-z0-9_-]{43}$/,Vc=/^[a-f0-9]{32}$/;function rf(e){const t=Uc(e.miniProgramId);if(e.devSessionId!==void 0&&!Vc.test(e.devSessionId))throw new TypeError("Desktop dev session id is invalid");const r=Ui(e.address.appUrl),s=e.miniProgramManifestToken?.trim();if(s&&!Wc.test(s))throw new TypeError("Desktop mini-program manifest token is invalid");const n=e.target==="debug"?"heybox-debug":"heybox",i=new URL(`${n}://v1/extensions/${Hc}/${jc}`);return i.searchParams.set("mini_program_id",t),i.searchParams.set("mini_url",r),e.devSessionId!==void 0&&i.searchParams.set("dev_session_id",e.devSessionId),s&&i.searchParams.set(Bc,s),i.href}function sf(e){return{address:"127.0.0.1",appUrl:Ui(e),id:"loopback",name:"本机"}}function Ui(e){if(typeof e!="string"||e!==e.trim()||new TextEncoder().encode(e).byteLength>$c)throw new TypeError("Desktop mini-program URL is invalid");let t;try{t=new URL(e)}catch{throw new TypeError("Desktop mini-program URL is invalid")}if(t.protocol!=="http:"||t.hostname!=="127.0.0.1"||!t.port||t.username||t.password||t.search||t.hash||t.href!==e)throw new TypeError("Desktop mini-program URL is invalid");return t.href}function Uc(e){const t=e.trim().toLowerCase();if(!Nc.test(t))throw new TypeError("Desktop mini-program id is invalid");return t}export{Te as $,ja as A,ca as B,fe as C,Di as D,Wa as E,ve as F,Ba as G,Ta as H,Xt as I,io as J,jl as K,xa as L,Oa as M,vt as N,Yc as O,lr as P,Nr as Q,L as R,M as S,la as T,_s as U,K as V,Hi as W,ms as X,se as Y,Gc as Z,ne as _,Zo as a,Ca as a$,Xi as a0,Co as a1,_a as a2,ya as a3,Wl as a4,$o as a5,Sr as a6,zc as a7,Na as a8,xr as a9,Va as aA,tf as aB,Xa as aC,Ka as aD,Ua as aE,Qc as aF,Zc as aG,La as aH,Ra as aI,no as aJ,or as aK,pa as aL,qc as aM,sa as aN,ra as aO,ta as aP,Qa as aQ,Za as aR,ea as aS,Ts as aT,ma as aU,fa as aV,ba as aW,ga as aX,Ma as aY,Zl as aZ,Pa as a_,_c as aa,oi as ab,ii as ac,Xc as ad,li as ae,ol as af,os as ag,Ic as ah,Uo as ai,Ga as aj,Rc as ak,Cr as al,yr as am,ko as an,Ia as ao,Ea as ap,Aa as aq,da as ar,ha as as,Da as at,ef as au,ua as av,Os as aw,Fa as ax,qa as ay,za as az,Ni as b,Wr as b0,ia as b1,oa as b2,Vo as b3,na as b4,Sa as b5,R as b6,Ha as c,Ac as d,$a as e,je as f,Ce as g,bs as h,Ya as i,Ja as j,Qe as k,et as l,Ii as m,ls as n,ka as o,Bl as p,rf as q,sf as r,wa as s,va as t,$l as u,ye as v,Lo as w,aa as x,Jc as y,ce as z};
|