@heybox/hb-sdk 0.9.6-alpha.9 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +75 -0
- package/README.md +8 -1
- package/THIRD_PARTY_NOTICES.md +472 -48
- package/dist/cli-chunks/{artifact-BPntCpxe.cjs → artifact-D63EGQx9.cjs} +6 -5
- package/dist/cli-chunks/{build-C-u_43nO.cjs → build-fyHfi216.cjs} +6 -5
- package/dist/cli-chunks/{create-HUynjFAz.cjs → create-B-EnCHjU.cjs} +322 -4
- package/dist/cli-chunks/{dev-Dpg4MIoV.cjs → dev-Zb0pMdzr.cjs} +309 -39
- package/dist/cli-chunks/{dev-context-BBInsRLS.cjs → dev-context-DYFBVQ_C.cjs} +22 -14
- package/dist/cli-chunks/{doctor-qjPdtMIj.cjs → doctor-DmkHu1Hk.cjs} +1 -1
- package/dist/cli-chunks/{games-B7ckiLkr.cjs → games-CeCLFeTt.cjs} +1 -1
- package/dist/cli-chunks/{index-SB2iukXP.cjs → index-C696i2DY.cjs} +1 -1
- package/dist/cli-chunks/{index-D0fPJhtR.cjs → index-It90_ScC.cjs} +210 -38
- package/dist/cli-chunks/index.esm-CvMA_ppV.cjs +7977 -0
- package/dist/cli-chunks/{index.esm-jOc0zgE7.cjs → index.esm-YDTVatz_.cjs} +7 -6
- package/dist/cli-chunks/{login-DDKJA4pj.cjs → login-BGJz7JZV.cjs} +1 -1
- package/dist/cli-chunks/{project-vite-B_yd6m3R.cjs → project-vite-DybH-3Qp.cjs} +1 -1
- package/dist/cli-chunks/{remote-CSmfJpqd.cjs → remote-D9-2nonN.cjs} +13 -8
- package/dist/cli-chunks/{runtime-permission-env-Bbc5KS3u.cjs → runtime-permission-env-BrSofQNz.cjs} +52 -6990
- package/dist/cli-chunks/{skill-BTKQpM8e.cjs → skill-D6ebJn5J.cjs} +2 -2
- package/dist/cli-chunks/{version-Blqp4J3r.cjs → version-CtGTgNGb.cjs} +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/devtools/browser-dev-host/assets/browser-dev-host-DsmreI9p.js +228 -0
- package/dist/devtools/browser-dev-host/assets/desktop-app-launch-CLikLiNS.js +6 -0
- package/dist/devtools/browser-dev-host/assets/index-1VVyBeMq.js +567 -0
- package/dist/devtools/browser-dev-host/assets/index-ophYZqpX.css +1 -0
- package/dist/devtools/browser-dev-host/assets/linux-DwJAcUeD.svg +1 -0
- package/dist/devtools/browser-dev-host/index.html +6 -4
- package/dist/index.cjs.js +1201 -156
- package/dist/index.esm.js +1201 -156
- package/dist/miniapp-publish.cjs.js +1072 -131
- package/dist/miniapp-publish.esm.js +1072 -131
- package/dist/protocol.cjs.js +732 -158
- package/dist/protocol.esm.js +716 -159
- package/dist/templates/vanilla-vite-js/README.md.ejs +27 -0
- package/dist/templates/vanilla-vite-js/package.json.ejs +1 -1
- package/dist/templates/vanilla-vite-js/src/user-game-data.js.ejs +1 -0
- package/dist/vite.cjs.js +1087 -150
- package/dist/vite.esm.js +1087 -150
- package/docs/appreciation-code.md +4 -8
- package/package.json +8 -9
- package/skill/SKILL.md +4 -0
- package/skill/skill.json +5 -5
- package/types/index.d.ts +492 -77
- package/types/miniapp-publish/index.d.ts +18 -2
- package/types/protocol.d.ts +1 -1
- package/types/vite/index.d.ts +10 -16
- package/dist/devtools/browser-dev-host/assets/browser-dev-host-sU7AkNvZ.js +0 -100
- package/dist/devtools/browser-dev-host/assets/desktop-app-launch-CRHmhFwH.js +0 -6
- package/dist/devtools/browser-dev-host/assets/index-CHYEXFEg.css +0 -1
- package/dist/devtools/browser-dev-host/assets/index-yw_35zwq.js +0 -586
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
function kn(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const Y={},mt=[],$e=()=>{},Cs=()=>!1,Rn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ln=e=>e.startsWith("onUpdate:"),pe=Object.assign,Mn=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},wo=Object.prototype.hasOwnProperty,J=(e,t)=>wo.call(e,t),F=Array.isArray,bt=e=>qt(e)==="[object Map]",Ns=e=>qt(e)==="[object Set]",es=e=>qt(e)==="[object Date]",H=e=>typeof e=="function",le=e=>typeof e=="string",De=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Fs=e=>(X(e)||H(e))&&H(e.then)&&H(e.catch),Ws=Object.prototype.toString,qt=e=>Ws.call(e),vo=e=>qt(e).slice(8,-1),Hs=e=>qt(e)==="[object Object]",Ar=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=kn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tr=e=>{const t=Object.create(null);return(r=>t[r]||(t[r]=e(r)))},Eo=/-\w/g,ke=Tr(e=>e.replace(Eo,t=>t.slice(1).toUpperCase())),Io=/\B([A-Z])/g,It=Tr(e=>e.replace(Io,"-$1").toLowerCase()),On=Tr(e=>e.charAt(0).toUpperCase()+e.slice(1)),dr=Tr(e=>e?`on${On(e)}`:""),de=(e,t)=>!Object.is(e,t),Jr=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},Bs=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},So=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Gc=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let ts;const Dr=()=>ts||(ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xr(e){if(F(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],s=le(n)?xo(n):xr(n);if(s)for(const i in s)t[i]=s[i]}return t}else if(le(e)||X(e))return e}const Ao=/;(?![^(]*\))/g,To=/:([^]+)/,Do=/\/\*[^]*?\*\//g;function xo(e){const t={};return e.replace(Do,"").split(Ao).forEach(r=>{if(r){const n=r.split(To);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Pr(e){let t="";if(le(e))t=e;else if(F(e))for(let r=0;r<e.length;r++){const n=Pr(e[r]);n&&(t+=n+" ")}else if(X(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function Yc(e){if(!e)return null;let{class:t,style:r}=e;return t&&!le(t)&&(e.class=Pr(t)),r&&(e.style=xr(r)),e}const Po="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Jc=kn(Po);function Xc(e){return!!e||e===""}function ko(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=kr(e[n],t[n]);return r}function kr(e,t){if(e===t)return!0;let r=es(e),n=es(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=De(e),n=De(t),r||n)return e===t;if(r=F(e),n=F(t),r||n)return r&&n?ko(e,t):!1;if(r=X(e),n=X(t),r||n){if(!r||!n)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!kr(e[o],t[o]))return!1}}return String(e)===String(t)}function Zc(e,t){return e.findIndex(r=>kr(r,t))}const Us=e=>!!(e&&e.__v_isRef===!0),Ro=e=>le(e)?e:e==null?"":F(e)||X(e)&&(e.toString===Ws||!H(e.toString))?Us(e)?Ro(e.value):JSON.stringify(e,$s,2):String(e),$s=(e,t)=>Us(t)?$s(e,t.value):bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,s],i)=>(r[Xr(n,i)+" =>"]=s,r),{})}:Ns(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Xr(r))}:De(t)?Xr(t):X(t)&&!F(t)&&!Hs(t)?String(t):t,Xr=(e,t="")=>{var r;return De(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};let ie;class js{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&&ie&&(ie.active?(this.parent=ie,this.index=(ie.scopes||(ie.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=ie;try{return ie=this,t()}finally{ie=r}}}on(){++this._on===1&&(this.prevScope=ie,ie=this)}off(){if(this._on>0&&--this._on===0){if(ie===this)ie=this.prevScope;else{let t=ie;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,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(this.effects.length=0,r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Qc(e){return new js(e)}function Lo(){return ie}function qc(e,t=!1){ie&&ie.cleanups.push(e)}let ee;const Zr=new WeakSet;class Vs{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,ie&&(ie.active?ie.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Zr.has(this)&&(Zr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||zs(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,rs(this),Gs(this);const t=ee,r=Pe;ee=this,Pe=!0;try{return this.fn()}finally{Ys(this),ee=t,Pe=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Fn(t);this.deps=this.depsTail=void 0,rs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Zr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){cn(this)&&this.run()}get dirty(){return cn(this)}}let Ks=0,Wt,Ht;function zs(e,t=!1){if(e.flags|=8,t){e.next=Ht,Ht=e;return}e.next=Wt,Wt=e}function Cn(){Ks++}function Nn(){if(--Ks>0)return;if(Ht){let t=Ht;for(Ht=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;Wt;){let t=Wt;for(Wt=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function Gs(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ys(e){let t,r=e.depsTail,n=r;for(;n;){const s=n.prevDep;n.version===-1?(n===r&&(r=s),Fn(n),Mo(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=r}function cn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Js(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Js(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Vt)||(e.globalVersion=Vt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!cn(e))))return;e.flags|=2;const t=e.dep,r=ee,n=Pe;ee=e,Pe=!0;try{Gs(e);const s=e.fn(e._value);(t.version===0||de(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ee=r,Pe=n,Ys(e),e.flags&=-3}}function Fn(e,t=!1){const{dep:r,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)Fn(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function Mo(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 Xs=[];function Ye(){Xs.push(Pe),Pe=!1}function Je(){const e=Xs.pop();Pe=e===void 0?!0:e}function rs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=ee;ee=void 0;try{t()}finally{ee=r}}}let Vt=0;class Oo{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 Rr{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(!ee||!Pe||ee===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==ee)r=this.activeLink=new Oo(ee,this),ee.deps?(r.prevDep=ee.depsTail,ee.depsTail.nextDep=r,ee.depsTail=r):ee.deps=ee.depsTail=r,Zs(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=ee.depsTail,r.nextDep=void 0,ee.depsTail.nextDep=r,ee.depsTail=r,ee.deps===r&&(ee.deps=n)}return r}trigger(t){this.version++,Vt++,this.notify(t)}notify(t){Cn();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{Nn()}}}function Zs(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Zs(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const gr=new WeakMap,ut=Symbol(""),fn=Symbol(""),Kt=Symbol("");function ge(e,t,r){if(Pe&&ee){let n=gr.get(e);n||gr.set(e,n=new Map);let s=n.get(r);s||(n.set(r,s=new Rr),s.map=n,s.key=r),s.track()}}function ze(e,t,r,n,s,i){const o=gr.get(e);if(!o){Vt++;return}const a=l=>{l&&l.trigger()};if(Cn(),t==="clear")o.forEach(a);else{const l=F(e),u=l&&Ar(r);if(l&&r==="length"){const f=Number(n);o.forEach((h,m)=>{(m==="length"||m===Kt||!De(m)&&m>=f)&&a(h)})}else switch((r!==void 0||o.has(void 0))&&a(o.get(r)),u&&a(o.get(Kt)),t){case"add":l?u&&a(o.get("length")):(a(o.get(ut)),bt(e)&&a(o.get(fn)));break;case"delete":l||(a(o.get(ut)),bt(e)&&a(o.get(fn)));break;case"set":bt(e)&&a(o.get(ut));break}}Nn()}function Co(e,t){const r=gr.get(e);return r&&r.get(t)}function pt(e){const t=K(e);return t===e?t:(ge(t,"iterate",Kt),Ae(e)?t:t.map(Re))}function Lr(e){return ge(e=K(e),"iterate",Kt),e}function He(e,t){return Xe(e)?vt(dt(e)?Re(t):t):Re(t)}const No={__proto__:null,[Symbol.iterator](){return Qr(this,Symbol.iterator,e=>He(this,e))},concat(...e){return pt(this).concat(...e.map(t=>F(t)?pt(t):t))},entries(){return Qr(this,"entries",e=>(e[1]=He(this,e[1]),e))},every(e,t){return Ve(this,"every",e,t,void 0,arguments)},filter(e,t){return Ve(this,"filter",e,t,r=>r.map(n=>He(this,n)),arguments)},find(e,t){return Ve(this,"find",e,t,r=>He(this,r),arguments)},findIndex(e,t){return Ve(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ve(this,"findLast",e,t,r=>He(this,r),arguments)},findLastIndex(e,t){return Ve(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ve(this,"forEach",e,t,void 0,arguments)},includes(...e){return qr(this,"includes",e)},indexOf(...e){return qr(this,"indexOf",e)},join(e){return pt(this).join(e)},lastIndexOf(...e){return qr(this,"lastIndexOf",e)},map(e,t){return Ve(this,"map",e,t,void 0,arguments)},pop(){return xt(this,"pop")},push(...e){return xt(this,"push",e)},reduce(e,...t){return ns(this,"reduce",e,t)},reduceRight(e,...t){return ns(this,"reduceRight",e,t)},shift(){return xt(this,"shift")},some(e,t){return Ve(this,"some",e,t,void 0,arguments)},splice(...e){return xt(this,"splice",e)},toReversed(){return pt(this).toReversed()},toSorted(e){return pt(this).toSorted(e)},toSpliced(...e){return pt(this).toSpliced(...e)},unshift(...e){return xt(this,"unshift",e)},values(){return Qr(this,"values",e=>He(this,e))}};function Qr(e,t,r){const n=Lr(e),s=n[t]();return n!==e&&!Ae(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=r(i.value)),i}),s}const Fo=Array.prototype;function Ve(e,t,r,n,s,i){const o=Lr(e),a=o!==e&&!Ae(e),l=o[t];if(l!==Fo[t]){const h=l.apply(e,i);return a?Re(h):h}let u=r;o!==e&&(a?u=function(h,m){return r.call(this,He(e,h),m,e)}:r.length>2&&(u=function(h,m){return r.call(this,h,m,e)}));const f=l.call(o,u,n);return a&&s?s(f):f}function ns(e,t,r,n){const s=Lr(e),i=s!==e&&!Ae(e);let o=r,a=!1;s!==e&&(i?(a=n.length===0,o=function(u,f,h){return a&&(a=!1,u=He(e,u)),r.call(this,u,He(e,f),h,e)}):r.length>3&&(o=function(u,f,h){return r.call(this,u,f,h,e)}));const l=s[t](o,...n);return a?He(e,l):l}function qr(e,t,r){const n=K(e);ge(n,"iterate",Kt);const s=n[t](...r);return(s===-1||s===!1)&&Nr(r[0])?(r[0]=K(r[0]),n[t](...r)):s}function xt(e,t,r=[]){Ye(),Cn();const n=K(e)[t].apply(e,r);return Nn(),Je(),n}const Wo=kn("__proto__,__v_isRef,__isVue"),Qs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(De));function Ho(e){De(e)||(e=String(e));const t=K(this);return ge(t,"has",e),t.hasOwnProperty(e)}class qs{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){if(r==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!s;if(r==="__v_isReadonly")return s;if(r==="__v_isShallow")return i;if(r==="__v_raw")return n===(s?i?ii:si:i?ni:ri).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=F(t);if(!s){let l;if(o&&(l=No[r]))return l;if(r==="hasOwnProperty")return Ho}const a=Reflect.get(t,r,ae(t)?t:n);if((De(r)?Qs.has(r):Wo(r))||(s||ge(t,"get",r),i))return a;if(ae(a)){const l=o&&Ar(r)?a:a.value;return s&&X(l)?dn(l):l}return X(a)?s?dn(a):Or(a):a}}class ei extends qs{constructor(t=!1){super(!1,t)}set(t,r,n,s){let i=t[r];const o=F(t)&&Ar(r);if(!this._isShallow){const u=Xe(i);if(!Ae(n)&&!Xe(n)&&(i=K(i),n=K(n)),!o&&ae(i)&&!ae(n))return u||(i.value=n),!0}const a=o?Number(r)<t.length:J(t,r),l=Reflect.set(t,r,n,ae(t)?t:s);return t===K(s)&&(a?de(n,i)&&ze(t,"set",r,n):ze(t,"add",r,n)),l}deleteProperty(t,r){const n=J(t,r);t[r];const s=Reflect.deleteProperty(t,r);return s&&n&&ze(t,"delete",r,void 0),s}has(t,r){const n=Reflect.has(t,r);return(!De(r)||!Qs.has(r))&&ge(t,"has",r),n}ownKeys(t){return ge(t,"iterate",F(t)?"length":ut),Reflect.ownKeys(t)}}class ti extends qs{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const Bo=new ei,Uo=new ti,$o=new ei(!0),jo=new ti(!0),un=e=>e,ar=e=>Reflect.getPrototypeOf(e);function Vo(e,t,r){return function(...n){const s=this.__v_raw,i=K(s),o=bt(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=s[e](...n),f=r?un:t?vt:Re;return!t&&ge(i,"iterate",l?fn:ut),pe(Object.create(u),{next(){const{value:h,done:m}=u.next();return m?{value:h,done:m}:{value:a?[f(h[0]),f(h[1])]:f(h),done:m}}})}}function lr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ko(e,t){const r={get(s){const i=this.__v_raw,o=K(i),a=K(s);e||(de(s,a)&&ge(o,"get",s),ge(o,"get",a));const{has:l}=ar(o),u=t?un:e?vt:Re;if(l.call(o,s))return u(i.get(s));if(l.call(o,a))return u(i.get(a));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&ge(K(s),"iterate",ut),s.size},has(s){const i=this.__v_raw,o=K(i),a=K(s);return e||(de(s,a)&&ge(o,"has",s),ge(o,"has",a)),s===a?i.has(s):i.has(s)||i.has(a)},forEach(s,i){const o=this,a=o.__v_raw,l=K(a),u=t?un:e?vt:Re;return!e&&ge(l,"iterate",ut),a.forEach((f,h)=>s.call(i,u(f),u(h),o))}};return pe(r,e?{add:lr("add"),set:lr("set"),delete:lr("delete"),clear:lr("clear")}:{add(s){const i=K(this),o=ar(i),a=K(s),l=!t&&!Ae(s)&&!Xe(s)?a:s;return o.has.call(i,l)||de(s,l)&&o.has.call(i,s)||de(a,l)&&o.has.call(i,a)||(i.add(l),ze(i,"add",l,l)),this},set(s,i){!t&&!Ae(i)&&!Xe(i)&&(i=K(i));const o=K(this),{has:a,get:l}=ar(o);let u=a.call(o,s);u||(s=K(s),u=a.call(o,s));const f=l.call(o,s);return o.set(s,i),u?de(i,f)&&ze(o,"set",s,i):ze(o,"add",s,i),this},delete(s){const i=K(this),{has:o,get:a}=ar(i);let l=o.call(i,s);l||(s=K(s),l=o.call(i,s)),a&&a.call(i,s);const u=i.delete(s);return l&&ze(i,"delete",s,void 0),u},clear(){const s=K(this),i=s.size!==0,o=s.clear();return i&&ze(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{r[s]=Vo(s,e,t)}),r}function Mr(e,t){const r=Ko(e,t);return(n,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(J(r,s)&&s in n?r:n,s,i)}const zo={get:Mr(!1,!1)},Go={get:Mr(!1,!0)},Yo={get:Mr(!0,!1)},Jo={get:Mr(!0,!0)},ri=new WeakMap,ni=new WeakMap,si=new WeakMap,ii=new WeakMap;function Xo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Zo(e){return e.__v_skip||!Object.isExtensible(e)?0:Xo(vo(e))}function Or(e){return Xe(e)?e:Cr(e,!1,Bo,zo,ri)}function Qo(e){return Cr(e,!1,$o,Go,ni)}function dn(e){return Cr(e,!0,Uo,Yo,si)}function ef(e){return Cr(e,!0,jo,Jo,ii)}function Cr(e,t,r,n,s){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Zo(e);if(i===0)return e;const o=s.get(e);if(o)return o;const a=new Proxy(e,i===2?n:r);return s.set(e,a),a}function dt(e){return Xe(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function Xe(e){return!!(e&&e.__v_isReadonly)}function Ae(e){return!!(e&&e.__v_isShallow)}function Nr(e){return e?!!e.__v_raw:!1}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function qo(e){return!J(e,"__v_skip")&&Object.isExtensible(e)&&Bs(e,"__v_skip",!0),e}const Re=e=>X(e)?Or(e):e,vt=e=>X(e)?dn(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function ea(e){return oi(e,!1)}function ta(e){return oi(e,!0)}function oi(e,t){return ae(e)?e:new ra(e,t)}class ra{constructor(t,r){this.dep=new Rr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:K(t),this._value=r?t:Re(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,n=this.__v_isShallow||Ae(t)||Xe(t);t=n?t:K(t),de(t,r)&&(this._rawValue=t,this._value=n?t:Re(t),this.dep.trigger())}}function tf(e){e.dep&&e.dep.trigger()}function Wn(e){return ae(e)?e.value:e}function rf(e){return H(e)?e():Wn(e)}const na={get:(e,t,r)=>t==="__v_raw"?e:Wn(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const s=e[t];return ae(s)&&!ae(r)?(s.value=r,!0):Reflect.set(e,t,r,n)}};function ai(e){return dt(e)?e:new Proxy(e,na)}class sa{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new Rr,{get:n,set:s}=t(r.track.bind(r),r.trigger.bind(r));this._get=n,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function ia(e){return new sa(e)}function nf(e){const t=F(e)?new Array(e.length):{};for(const r in e)t[r]=li(e,r);return t}class oa{constructor(t,r,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=De(r)?r:String(r),this._raw=K(t);let s=!0,i=t;if(!F(t)||De(this._key)||!Ar(this._key))do s=!Nr(i)||Ae(i);while(s&&(i=i.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=Wn(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ae(this._raw[this._key])){const r=this._object[this._key];if(ae(r)){r.value=t;return}}this._object[this._key]=t}get dep(){return Co(this._raw,this._key)}}class aa{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 sf(e,t,r){return ae(e)?e:H(e)?new aa(e):X(e)&&arguments.length>1?li(e,t,r):ea(e)}function li(e,t,r){return new oa(e,t,r)}class la{constructor(t,r,n){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Rr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Vt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ee!==this)return zs(this,!0),!0}get value(){const t=this.dep.track();return Js(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ca(e,t,r=!1){let n,s;return H(e)?n=e:(n=e.get,s=e.set),new la(n,s,r)}const cr={},mr=new WeakMap;let lt;function fa(e,t=!1,r=lt){if(r){let n=mr.get(r);n||mr.set(r,n=[]),n.push(e)}}function ua(e,t,r=Y){const{immediate:n,deep:s,once:i,scheduler:o,augmentJob:a,call:l}=r,u=L=>s?L:Ae(L)||s===!1||s===0?Ge(L,1):Ge(L);let f,h,m,w,P=!1,T=!1;if(ae(e)?(h=()=>e.value,P=Ae(e)):dt(e)?(h=()=>u(e),P=!0):F(e)?(T=!0,P=e.some(L=>dt(L)||Ae(L)),h=()=>e.map(L=>{if(ae(L))return L.value;if(dt(L))return u(L);if(H(L))return l?l(L,2):L()})):H(e)?t?h=l?()=>l(e,2):e:h=()=>{if(m){Ye();try{m()}finally{Je()}}const L=lt;lt=f;try{return l?l(e,3,[w]):e(w)}finally{lt=L}}:h=$e,t&&s){const L=h,z=s===!0?1/0:s;h=()=>Ge(L(),z)}const C=Lo(),$=()=>{f.stop(),C&&C.active&&Mn(C.effects,f)};if(i&&t){const L=t;t=(...z)=>{L(...z),$()}}let M=T?new Array(e.length).fill(cr):cr;const j=L=>{if(!(!(f.flags&1)||!f.dirty&&!L))if(t){const z=f.run();if(s||P||(T?z.some((te,B)=>de(te,M[B])):de(z,M))){m&&m();const te=lt;lt=f;try{const B=[z,M===cr?void 0:T&&M[0]===cr?[]:M,w];M=z,l?l(t,3,B):t(...B)}finally{lt=te}}}else f.run()};return a&&a(j),f=new Vs(h),f.scheduler=o?()=>o(j,!1):j,w=L=>fa(L,!1,f),m=f.onStop=()=>{const L=mr.get(f);if(L){if(l)l(L,4);else for(const z of L)z();mr.delete(f)}},t?n?j(!0):M=f.run():o?o(j.bind(null,!0),!0):f.run(),$.pause=f.pause.bind(f),$.resume=f.resume.bind(f),$.stop=$,$}function Ge(e,t=1/0,r){if(t<=0||!X(e)||e.__v_skip||(r=r||new Map,(r.get(e)||0)>=t))return e;if(r.set(e,t),t--,ae(e))Ge(e.value,t,r);else if(F(e))for(let n=0;n<e.length;n++)Ge(e[n],t,r);else if(Ns(e)||bt(e))e.forEach(n=>{Ge(n,t,r)});else if(Hs(e)){for(const n in e)Ge(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Ge(e[n],t,r)}return e}function er(e,t,r,n){try{return n?e(...n):e()}catch(s){Fr(s,t,r)}}function je(e,t,r,n){if(H(e)){const s=er(e,t,r,n);return s&&Fs(s)&&s.catch(i=>{Fr(i,t,r)}),s}if(F(e)){const s=[];for(let i=0;i<e.length;i++)s.push(je(e[i],t,r,n));return s}}function Fr(e,t,r,n=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Y;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${r}`;for(;a;){const f=a.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,l,u)===!1)return}a=a.parent}if(i){Ye(),er(i,null,10,[e,l,u]),Je();return}}da(e,r,s,n,o)}function da(e,t,r,n=!0,s=!1){if(s)throw e;console.error(e)}const we=[];let Fe=-1;const _t=[];let et=null,gt=0;const ci=Promise.resolve();let br=null;function ha(e){const t=br||ci;return e?t.then(this?e.bind(this):e):t}function pa(e){let t=Fe+1,r=we.length;for(;t<r;){const n=t+r>>>1,s=we[n],i=zt(s);i<e||i===e&&s.flags&2?t=n+1:r=n}return t}function Hn(e){if(!(e.flags&1)){const t=zt(e),r=we[we.length-1];!r||!(e.flags&2)&&t>=zt(r)?we.push(e):we.splice(pa(t),0,e),e.flags|=1,fi()}}function fi(){br||(br=ci.then(di))}function ga(e){F(e)?_t.push(...e):et&&e.id===-1?et.splice(gt+1,0,e):e.flags&1||(_t.push(e),e.flags|=1),fi()}function ss(e,t,r=Fe+1){for(;r<we.length;r++){const n=we[r];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;we.splice(r,1),r--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function ui(e){if(_t.length){const t=[...new Set(_t)].sort((r,n)=>zt(r)-zt(n));if(_t.length=0,et){et.push(...t);return}for(et=t,gt=0;gt<et.length;gt++){const r=et[gt];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}et=null,gt=0}}const zt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function di(e){try{for(Fe=0;Fe<we.length;Fe++){const t=we[Fe];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),er(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Fe<we.length;Fe++){const t=we[Fe];t&&(t.flags&=-2)}Fe=-1,we.length=0,ui(),br=null,(we.length||_t.length)&&di()}}let he=null,hi=null;function _r(e){const t=he;return he=e,hi=e&&e.type.__scopeId||null,t}function ma(e,t=he,r){if(!t||e._n)return e;const n=(...s)=>{n._d&&vr(-1);const i=_r(t);let o;try{o=e(...s)}finally{_r(i),n._d&&vr(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function of(e,t){if(he===null)return e;const r=$r(he),n=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,o,a,l=Y]=t[s];i&&(H(i)&&(i={mounted:i,updated:i}),i.deep&&Ge(o),n.push({dir:i,instance:r,value:o,oldValue:void 0,arg:a,modifiers:l}))}return e}function ot(e,t,r,n){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const a=s[o];i&&(a.oldValue=i[o].value);let l=a.dir[n];l&&(Ye(),je(l,r,8,[e.el,a,e,t]),Je())}}function ba(e,t){if(be){let r=be.provides;const n=be.parent&&be.parent.provides;n===r&&(r=be.provides=Object.create(n)),r[e]=t}}function hr(e,t,r=!1){const n=rr();if(n||wt){let s=wt?wt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return r&&H(t)?t.call(n&&n.proxy):t}}const _a=Symbol.for("v-scx"),ya=()=>hr(_a);function af(e,t){return tr(e,null,t)}function lf(e,t){return tr(e,null,{flush:"post"})}function wa(e,t){return tr(e,null,{flush:"sync"})}function en(e,t,r){return tr(e,t,r)}function tr(e,t,r=Y){const{immediate:n,deep:s,flush:i,once:o}=r,a=pe({},r),l=t&&n||!t&&i!=="post";let u;if(Xt){if(i==="sync"){const w=ya();u=w.__watcherHandles||(w.__watcherHandles=[])}else if(!l){const w=()=>{};return w.stop=$e,w.resume=$e,w.pause=$e,w}}const f=be;a.call=(w,P,T)=>je(w,f,P,T);let h=!1;i==="post"?a.scheduler=w=>{ye(w,f&&f.suspense)}:i!=="sync"&&(h=!0,a.scheduler=(w,P)=>{P?w():Hn(w)}),a.augmentJob=w=>{t&&(w.flags|=4),h&&(w.flags|=2,f&&(w.id=f.uid,w.i=f))};const m=ua(e,t,a);return Xt&&(u?u.push(m):l&&m()),m}function va(e,t,r){const n=this.proxy,s=le(e)?e.includes(".")?pi(n,e):()=>n[e]:e.bind(n,n);let i;H(t)?i=t:(i=t.handler,r=t);const o=nr(this),a=tr(s,i.bind(n),r);return o(),a}function pi(e,t){const r=t.split(".");return()=>{let n=e;for(let s=0;s<r.length&&n;s++)n=n[r[s]];return n}}const qe=new WeakMap,gi=Symbol("_vte"),mi=e=>e.__isTeleport,ct=e=>e&&(e.disabled||e.disabled===""),Ea=e=>e&&(e.defer||e.defer===""),is=e=>typeof SVGElement<"u"&&e instanceof SVGElement,os=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,hn=(e,t)=>{const r=e&&e.to;return le(r)?t?t(r):null:r},Ia={name:"Teleport",__isTeleport:!0,process(e,t,r,n,s,i,o,a,l,u){const{mc:f,pc:h,pbc:m,o:{insert:w,querySelector:P,createText:T,createComment:C,parentNode:$}}=u,M=ct(t.props);let{dynamicChildren:j}=t;const L=(B,I,g)=>{B.shapeFlag&16&&f(B.children,I,g,s,i,o,a,l)},z=(B=t)=>{const I=ct(B.props),g=B.target=hn(B.props,P),A=pn(g,B,T,w);g&&(o!=="svg"&&is(g)?o="svg":o!=="mathml"&&os(g)&&(o="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(g),I||(L(B,g,A),Lt(B,!1)))},te=B=>{const I=()=>{if(qe.get(B)===I){if(qe.delete(B),ct(B.props)){const g=$(B.el)||r;L(B,g,B.anchor),Lt(B,!0)}z(B)}};qe.set(B,I),ye(I,i)};if(e==null){const B=t.el=T(""),I=t.anchor=T("");if(w(B,r,n),w(I,r,n),Ea(t.props)||i&&i.pendingBranch){te(t);return}M&&(L(t,r,I),Lt(t,!0)),z()}else{t.el=e.el;const B=t.anchor=e.anchor,I=qe.get(e);if(I){I.flags|=8,qe.delete(e),te(t);return}t.targetStart=e.targetStart;const g=t.target=e.target,A=t.targetAnchor=e.targetAnchor,k=ct(e.props),U=k?r:g,ce=k?B:A;if(o==="svg"||is(g)?o="svg":(o==="mathml"||os(g))&&(o="mathml"),j?(m(e.dynamicChildren,j,U,s,i,o,a),$n(e,t,!0)):l||h(e,t,U,ce,s,i,o,a,!1),M)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fr(t,r,B,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const fe=t.target=hn(t.props,P);fe&&fr(t,fe,null,u,0)}else k&&fr(t,g,A,u,1);Lt(t,M)}},remove(e,t,r,{um:n,o:{remove:s}},i){const{shapeFlag:o,children:a,anchor:l,targetStart:u,targetAnchor:f,target:h,props:m}=e;let w=i||!ct(m);const P=qe.get(e);if(P&&(P.flags|=8,qe.delete(e),w=!1),h&&(s(u),s(f)),i&&s(l),o&16)for(let T=0;T<a.length;T++){const C=a[T];n(C,t,r,w,!!C.dynamicChildren)}},move:fr,hydrate:Sa};function fr(e,t,r,{o:{insert:n},m:s},i=2){i===0&&n(e.targetAnchor,t,r);const{el:o,anchor:a,shapeFlag:l,children:u,props:f}=e,h=i===2;if(h&&n(o,t,r),!qe.has(e)&&(!h||ct(f))&&l&16)for(let m=0;m<u.length;m++)s(u[m],t,r,2);h&&n(a,t,r)}function Sa(e,t,r,n,s,i,{o:{nextSibling:o,parentNode:a,querySelector:l,insert:u,createText:f}},h){function m(C,$){let M=$;for(;M;){if(M&&M.nodeType===8){if(M.data==="teleport start anchor")t.targetStart=M;else if(M.data==="teleport anchor"){t.targetAnchor=M,C._lpa=t.targetAnchor&&o(t.targetAnchor);break}}M=o(M)}}function w(C,$){$.anchor=h(o(C),$,a(C),r,n,s,i)}const P=t.target=hn(t.props,l),T=ct(t.props);if(P){const C=P._lpa||P.firstChild;t.shapeFlag&16&&(T?(w(e,t),m(P,C),t.targetAnchor||pn(P,t,f,u,a(e)===P?e:null)):(t.anchor=o(e),m(P,C),t.targetAnchor||pn(P,t,f,u),h(C&&o(C),t,P,r,n,s,i))),Lt(t,T)}else T&&t.shapeFlag&16&&(w(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const cf=Ia;function Lt(e,t){const r=e.ctx;if(r&&r.ut){let n,s;for(t?(n=e.el,s=e.anchor):(n=e.targetStart,s=e.targetAnchor);n&&n!==s;)n.nodeType===1&&n.setAttribute("data-v-owner",r.uid),n=n.nextSibling;r.ut()}}function pn(e,t,r,n,s=null){const i=t.targetStart=r(""),o=t.targetAnchor=r("");return i[gi]=o,e&&(n(i,e,s),n(o,e,s)),o}const We=Symbol("_leaveCb"),Pt=Symbol("_enterCb");function Aa(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ii(()=>{e.isMounted=!0}),Si(()=>{e.isUnmounting=!0}),e}const Te=[Function,Array],Ta={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Te,onEnter:Te,onAfterEnter:Te,onEnterCancelled:Te,onBeforeLeave:Te,onLeave:Te,onAfterLeave:Te,onLeaveCancelled:Te,onBeforeAppear:Te,onAppear:Te,onAfterAppear:Te,onAppearCancelled:Te},bi=e=>{const t=e.subTree;return t.component?bi(t.component):t},Da={name:"BaseTransition",props:Ta,setup(e,{slots:t}){const r=rr(),n=Aa();return()=>{const s=t.default&&wi(t.default(),!0),i=s&&s.length?_i(s):r.subTree?pl():void 0;if(!i)return;const o=K(e),{mode:a}=o;if(n.isLeaving)return tn(i);const l=as(i);if(!l)return tn(i);let u=gn(l,o,n,r,h=>u=h);l.type!==me&&Gt(l,u);let f=r.subTree&&as(r.subTree);if(f&&f.type!==me&&!ft(f,l)&&bi(r).type!==me){let h=gn(f,o,n,r);if(Gt(f,h),a==="out-in"&&l.type!==me)return n.isLeaving=!0,h.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete h.afterLeave,f=void 0},tn(i);a==="in-out"&&l.type!==me?h.delayLeave=(m,w,P)=>{const T=yi(n,f);T[String(f.key)]=f,m[We]=()=>{w(),m[We]=void 0,delete u.delayedLeave,f=void 0},u.delayedLeave=()=>{P(),delete u.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return i}}};function _i(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==me){t=r;break}}return t}const ff=Da;function yi(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function gn(e,t,r,n,s){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:m,onLeave:w,onAfterLeave:P,onLeaveCancelled:T,onBeforeAppear:C,onAppear:$,onAfterAppear:M,onAppearCancelled:j}=t,L=String(e.key),z=yi(r,e),te=(g,A)=>{g&&je(g,n,9,A)},B=(g,A)=>{const k=A[1];te(g,A),F(g)?g.every(U=>U.length<=1)&&k():g.length<=1&&k()},I={mode:o,persisted:a,beforeEnter(g){let A=l;if(!r.isMounted)if(i)A=C||l;else return;g[We]&&g[We](!0);const k=z[L];k&&ft(e,k)&&k.el[We]&&k.el[We](),te(A,[g])},enter(g){if(z[L]===e)return;let A=u,k=f,U=h;if(!r.isMounted)if(i)A=$||u,k=M||f,U=j||h;else return;let ce=!1;g[Pt]=ht=>{ce||(ce=!0,ht?te(U,[g]):te(k,[g]),I.delayedLeave&&I.delayedLeave(),g[Pt]=void 0)};const fe=g[Pt].bind(null,!1);A?B(A,[g,fe]):fe()},leave(g,A){const k=String(e.key);if(g[Pt]&&g[Pt](!0),r.isUnmounting)return A();te(m,[g]);let U=!1;g[We]=fe=>{U||(U=!0,A(),fe?te(T,[g]):te(P,[g]),g[We]=void 0,z[k]===e&&delete z[k])};const ce=g[We].bind(null,!1);z[k]=e,w?B(w,[g,ce]):ce()},clone(g){const A=gn(g,t,r,n,s);return s&&s(A),A}};return I}function tn(e){if(Wr(e))return e=tt(e),e.children=null,e}function as(e){if(!Wr(e))return mi(e.type)&&e.children?_i(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&&H(r.default))return r.default()}}function Gt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Gt(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 wi(e,t=!1,r){let n=[],s=0;for(let i=0;i<e.length;i++){let o=e[i];const a=r==null?o.key:String(r)+String(o.key!=null?o.key:i);o.type===Se?(o.patchFlag&128&&s++,n=n.concat(wi(o.children,t,a))):(t||o.type!==me)&&n.push(a!=null?tt(o,{key:a}):o)}if(s>1)for(let i=0;i<n.length;i++)n[i].patchFlag=-2;return n}function uf(e,t){return H(e)?pe({name:e.name},t,{setup:e}):e}function df(){const e=rr();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function vi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ls(e,t){let r;return!!((r=Object.getOwnPropertyDescriptor(e,t))&&!r.configurable)}const yr=new WeakMap;function Bt(e,t,r,n,s=!1){if(F(e)){e.forEach((T,C)=>Bt(T,t&&(F(t)?t[C]:t),r,n,s));return}if(yt(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Bt(e,t,r,n.component.subTree);return}const i=n.shapeFlag&4?$r(n.component):n.el,o=s?null:i,{i:a,r:l}=e,u=t&&t.r,f=a.refs===Y?a.refs={}:a.refs,h=a.setupState,m=K(h),w=h===Y?Cs:T=>ls(f,T)?!1:J(m,T),P=(T,C)=>!(C&&ls(f,C));if(u!=null&&u!==l){if(cs(t),le(u))f[u]=null,w(u)&&(h[u]=null);else if(ae(u)){const T=t;P(u,T.k)&&(u.value=null),T.k&&(f[T.k]=null)}}if(H(l))er(l,a,12,[o,f]);else{const T=le(l),C=ae(l);if(T||C){const $=()=>{if(e.f){const M=T?w(l)?h[l]:f[l]:P()||!e.k?l.value:f[e.k];if(s)F(M)&&Mn(M,i);else if(F(M))M.includes(i)||M.push(i);else if(T)f[l]=[i],w(l)&&(h[l]=f[l]);else{const j=[i];P(l,e.k)&&(l.value=j),e.k&&(f[e.k]=j)}}else T?(f[l]=o,w(l)&&(h[l]=o)):C&&(P(l,e.k)&&(l.value=o),e.k&&(f[e.k]=o))};if(o){const M=()=>{$(),yr.delete(e)};M.id=-1,yr.set(e,M),ye(M,r)}else cs(e),$()}}}function cs(e){const t=yr.get(e);t&&(t.flags|=8,yr.delete(e))}Dr().requestIdleCallback;Dr().cancelIdleCallback;const yt=e=>!!e.type.__asyncLoader,Wr=e=>e.type.__isKeepAlive;function xa(e,t){Ei(e,"a",t)}function Pa(e,t){Ei(e,"da",t)}function Ei(e,t,r=be){const n=e.__wdc||(e.__wdc=()=>{let s=r;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Hr(t,n,r),r){let s=r.parent;for(;s&&s.parent;)Wr(s.parent.vnode)&&ka(n,t,r,s),s=s.parent}}function ka(e,t,r,n){const s=Hr(t,e,n,!0);Ai(()=>{Mn(n[t],s)},r)}function Hr(e,t,r=be,n=!1){if(r){const s=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ye();const a=nr(r),l=je(t,r,e,o);return a(),Je(),l});return n?s.unshift(i):s.push(i),i}}const Ze=e=>(t,r=be)=>{(!Xt||e==="sp")&&Hr(e,(...n)=>t(...n),r)},Ra=Ze("bm"),Ii=Ze("m"),La=Ze("bu"),Ma=Ze("u"),Si=Ze("bum"),Ai=Ze("um"),Oa=Ze("sp"),Ca=Ze("rtg"),Na=Ze("rtc");function Fa(e,t=be){Hr("ec",e,t)}const Wa="components",Ti=Symbol.for("v-ndc");function hf(e){return le(e)?Ha(Wa,e,!1)||e:e||Ti}function Ha(e,t,r=!0,n=!1){const s=he||be;if(s){const i=s.type;{const a=El(i,!1);if(a&&(a===t||a===ke(t)||a===On(ke(t))))return i}const o=fs(s[e]||i[e],t)||fs(s.appContext[e],t);return!o&&n?i:o}}function fs(e,t){return e&&(e[t]||e[ke(t)]||e[On(ke(t))])}function pf(e,t,r,n){let s;const i=r,o=F(e);if(o||le(e)){const a=o&&dt(e);let l=!1,u=!1;a&&(l=!Ae(e),u=Xe(e),e=Lr(e)),s=new Array(e.length);for(let f=0,h=e.length;f<h;f++)s[f]=t(l?u?vt(Re(e[f])):Re(e[f]):e[f],f,void 0,i)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,i)}else if(X(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,i));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const f=a[l];s[l]=t(e[f],f,l,i)}}else s=[];return s}function gf(e,t,r={},n,s){if(he.ce||he.parent&&yt(he.parent)&&he.parent.ce){const u=Object.keys(r).length>0;return t!=="default"&&(r.name=t),wn(),vn(Se,null,[Ee("slot",r,n&&n())],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),wn();const o=i&&Di(i(r)),a=r.key||o&&o.key,l=vn(Se,{key:(a&&!De(a)?a:`_${t}`)+(!o&&n?"_fb":"")},o||(n?n():[]),o&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Di(e){return e.some(t=>Jt(t)?!(t.type===me||t.type===Se&&!Di(t.children)):!0)?e:null}function mf(e,t){const r={};for(const n in e)r[dr(n)]=e[n];return r}const mn=e=>e?Ji(e)?$r(e):mn(e.parent):null,Ut=pe(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=>mn(e.parent),$root:e=>mn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ki(e),$forceUpdate:e=>e.f||(e.f=()=>{Hn(e.update)}),$nextTick:e=>e.n||(e.n=ha.bind(e.proxy)),$watch:e=>va.bind(e)}),rn=(e,t)=>e!==Y&&!e.__isScriptSetup&&J(e,t),Ba={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:s,props:i,accessCache:o,type:a,appContext:l}=e;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return n[t];case 2:return s[t];case 4:return r[t];case 3:return i[t]}else{if(rn(n,t))return o[t]=1,n[t];if(s!==Y&&J(s,t))return o[t]=2,s[t];if(J(i,t))return o[t]=3,i[t];if(r!==Y&&J(r,t))return o[t]=4,r[t];bn&&(o[t]=0)}}const u=Ut[t];let f,h;if(u)return t==="$attrs"&&ge(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(r!==Y&&J(r,t))return o[t]=4,r[t];if(h=l.config.globalProperties,J(h,t))return h[t]},set({_:e},t,r){const{data:n,setupState:s,ctx:i}=e;return rn(s,t)?(s[t]=r,!0):n!==Y&&J(n,t)?(n[t]=r,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:s,props:i,type:o}},a){let l;return!!(r[a]||e!==Y&&a[0]!=="$"&&J(e,a)||rn(t,a)||J(i,a)||J(n,a)||J(Ut,a)||J(s.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:J(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function bf(){return xi().slots}function _f(){return xi().attrs}function xi(e){const t=rr();return t.setupContext||(t.setupContext=Zi(t))}function Yt(e){return F(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function yf(e,t){const r=Yt(e);for(const n in t){if(n.startsWith("__skip"))continue;let s=r[n];s?F(s)||H(s)?s=r[n]={type:s,default:t[n]}:s.default=t[n]:s===null&&(s=r[n]={default:t[n]}),s&&t[`__skip_${n}`]&&(s.skipFactory=!0)}return r}function wf(e,t){return!e||!t?e||t:F(e)&&F(t)?e.concat(t):pe({},Yt(e),Yt(t))}let bn=!0;function Ua(e){const t=ki(e),r=e.proxy,n=e.ctx;bn=!1,t.beforeCreate&&us(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:u,created:f,beforeMount:h,mounted:m,beforeUpdate:w,updated:P,activated:T,deactivated:C,beforeDestroy:$,beforeUnmount:M,destroyed:j,unmounted:L,render:z,renderTracked:te,renderTriggered:B,errorCaptured:I,serverPrefetch:g,expose:A,inheritAttrs:k,components:U,directives:ce,filters:fe}=t;if(u&&$a(u,n,null),o)for(const G in o){const Q=o[G];H(Q)&&(n[G]=Q.bind(r))}if(s){const G=s.call(r,r);X(G)&&(e.data=Or(G))}if(bn=!0,i)for(const G in i){const Q=i[G],st=H(Q)?Q.bind(r,r):H(Q.get)?Q.get.bind(r,r):$e,ir=!H(Q)&&H(Q.set)?Q.set.bind(r):$e,it=Qe({get:st,set:ir});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>it.value,set:Le=>it.value=Le})}if(a)for(const G in a)Pi(a[G],n,r,G);if(l){const G=H(l)?l.call(r):l;Reflect.ownKeys(G).forEach(Q=>{ba(Q,G[Q])})}f&&us(f,e,"c");function re(G,Q){F(Q)?Q.forEach(st=>G(st.bind(r))):Q&&G(Q.bind(r))}if(re(Ra,h),re(Ii,m),re(La,w),re(Ma,P),re(xa,T),re(Pa,C),re(Fa,I),re(Na,te),re(Ca,B),re(Si,M),re(Ai,L),re(Oa,g),F(A))if(A.length){const G=e.exposed||(e.exposed={});A.forEach(Q=>{Object.defineProperty(G,Q,{get:()=>r[Q],set:st=>r[Q]=st,enumerable:!0})})}else e.exposed||(e.exposed={});z&&e.render===$e&&(e.render=z),k!=null&&(e.inheritAttrs=k),U&&(e.components=U),ce&&(e.directives=ce),g&&vi(e)}function $a(e,t,r=$e){F(e)&&(e=_n(e));for(const n in e){const s=e[n];let i;X(s)?"default"in s?i=hr(s.from||n,s.default,!0):i=hr(s.from||n):i=hr(s),ae(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function us(e,t,r){je(F(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function Pi(e,t,r,n){let s=n.includes(".")?pi(r,n):()=>r[n];if(le(e)){const i=t[e];H(i)&&en(s,i)}else if(H(e))en(s,e.bind(r));else if(X(e))if(F(e))e.forEach(i=>Pi(i,t,r,n));else{const i=H(e.handler)?e.handler.bind(r):t[e.handler];H(i)&&en(s,i,e)}}function ki(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!s.length&&!r&&!n?l=t:(l={},s.length&&s.forEach(u=>wr(l,u,o,!0)),wr(l,t,o)),X(t)&&i.set(t,l),l}function wr(e,t,r,n=!1){const{mixins:s,extends:i}=t;i&&wr(e,i,r,!0),s&&s.forEach(o=>wr(e,o,r,!0));for(const o in t)if(!(n&&o==="expose")){const a=ja[o]||r&&r[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const ja={data:ds,props:hs,emits:hs,methods:Mt,computed:Mt,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:Mt,directives:Mt,watch:Ka,provide:ds,inject:Va};function ds(e,t){return t?e?function(){return pe(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function Va(e,t){return Mt(_n(e),_n(t))}function _n(e){if(F(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function _e(e,t){return e?[...new Set([].concat(e,t))]:t}function Mt(e,t){return e?pe(Object.create(null),e,t):t}function hs(e,t){return e?F(e)&&F(t)?[...new Set([...e,...t])]:pe(Object.create(null),Yt(e),Yt(t??{})):t}function Ka(e,t){if(!e)return t;if(!t)return e;const r=pe(Object.create(null),e);for(const n in t)r[n]=_e(e[n],t[n]);return r}function Ri(){return{app:null,config:{isNativeTag:Cs,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 za=0;function Ga(e,t){return function(n,s=null){H(n)||(n=pe({},n)),s!=null&&!X(s)&&(s=null);const i=Ri(),o=new WeakSet,a=[];let l=!1;const u=i.app={_uid:za++,_component:n,_props:s,_container:null,_context:i,_instance:null,version:Al,get config(){return i.config},set config(f){},use(f,...h){return o.has(f)||(f&&H(f.install)?(o.add(f),f.install(u,...h)):H(f)&&(o.add(f),f(u,...h))),u},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),u},component(f,h){return h?(i.components[f]=h,u):i.components[f]},directive(f,h){return h?(i.directives[f]=h,u):i.directives[f]},mount(f,h,m){if(!l){const w=u._ceVNode||Ee(n,s);return w.appContext=i,m===!0?m="svg":m===!1&&(m=void 0),e(w,f,m),l=!0,u._container=f,f.__vue_app__=u,$r(w.component)}},onUnmount(f){a.push(f)},unmount(){l&&(je(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(f,h){return i.provides[f]=h,u},runWithContext(f){const h=wt;wt=u;try{return f()}finally{wt=h}}};return u}}let wt=null;function vf(e,t,r=Y){const n=rr(),s=ke(t),i=It(t),o=Li(e,s),a=ia((l,u)=>{let f,h=Y,m;return wa(()=>{const w=e[s];de(f,w)&&(f=w,u())}),{get(){return l(),r.get?r.get(f):f},set(w){const P=r.set?r.set(w):w;if(!de(P,f)&&!(h!==Y&&de(w,h)))return;const T=n.vnode.props;T&&(t in T||s in T||i in T)&&(`onUpdate:${t}`in T||`onUpdate:${s}`in T||`onUpdate:${i}`in T)||(f=w,u()),n.emit(`update:${t}`,P),de(w,P)&&de(w,h)&&!de(P,m)&&u(),h=w,m=P}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||Y:a,done:!1}:{done:!0}}}},a}const Li=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ke(t)}Modifiers`]||e[`${It(t)}Modifiers`];function Ya(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||Y;let s=r;const i=t.startsWith("update:"),o=i&&Li(n,t.slice(7));o&&(o.trim&&(s=r.map(f=>le(f)?f.trim():f)),o.number&&(s=r.map(So)));let a,l=n[a=dr(t)]||n[a=dr(ke(t))];!l&&i&&(l=n[a=dr(It(t))]),l&&je(l,e,6,s);const u=n[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,je(u,e,6,s)}}const Ja=new WeakMap;function Mi(e,t,r=!1){const n=r?Ja:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!H(e)){const l=u=>{const f=Mi(u,t,!0);f&&(a=!0,pe(o,f))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(X(e)&&n.set(e,null),null):(F(i)?i.forEach(l=>o[l]=null):pe(o,i),X(e)&&n.set(e,o),o)}function Br(e,t){return!e||!Rn(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,It(t))||J(e,t))}function ps(e){const{type:t,vnode:r,proxy:n,withProxy:s,propsOptions:[i],slots:o,attrs:a,emit:l,render:u,renderCache:f,props:h,data:m,setupState:w,ctx:P,inheritAttrs:T}=e,C=_r(e);let $,M;try{if(r.shapeFlag&4){const L=s||n,z=L;$=Be(u.call(z,L,f,h,w,m,P)),M=a}else{const L=t;$=Be(L.length>1?L(h,{attrs:a,slots:o,emit:l}):L(h,null)),M=t.props?a:Xa(a)}}catch(L){$t.length=0,Fr(L,e,1),$=Ee(me)}let j=$;if(M&&T!==!1){const L=Object.keys(M),{shapeFlag:z}=j;L.length&&z&7&&(i&&L.some(Ln)&&(M=Za(M,i)),j=tt(j,M,!1,!0))}return r.dirs&&(j=tt(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(r.dirs):r.dirs),r.transition&&Gt(j,r.transition),$=j,_r(C),$}const Xa=e=>{let t;for(const r in e)(r==="class"||r==="style"||Rn(r))&&((t||(t={}))[r]=e[r]);return t},Za=(e,t)=>{const r={};for(const n in e)(!Ln(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function Qa(e,t,r){const{props:n,children:s,component:i}=e,{props:o,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?gs(n,o,u):!!o;if(l&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const m=f[h];if(Oi(o,n,m)&&!Br(u,m))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:n===o?!1:n?o?gs(n,o,u):!0:!!o;return!1}function gs(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let s=0;s<n.length;s++){const i=n[s];if(Oi(t,e,i)&&!Br(r,i))return!0}return!1}function Oi(e,t,r){const n=e[r],s=t[r];return r==="style"&&X(n)&&X(s)?!kr(n,s):n!==s}function qa({vnode:e,parent:t,suspense:r},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=n,e=s),s===e)(e=t.vnode).el=n,t=t.parent;else break}r&&r.activeBranch===e&&(r.vnode.el=n)}const Ci={},Ni=()=>Object.create(Ci),Fi=e=>Object.getPrototypeOf(e)===Ci;function el(e,t,r,n=!1){const s={},i=Ni();e.propsDefaults=Object.create(null),Wi(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);r?e.props=n?s:Qo(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function tl(e,t,r,n){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=K(s),[l]=e.propsOptions;let u=!1;if((n||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let m=f[h];if(Br(e.emitsOptions,m))continue;const w=t[m];if(l)if(J(i,m))w!==i[m]&&(i[m]=w,u=!0);else{const P=ke(m);s[P]=yn(l,a,P,w,e,!1)}else w!==i[m]&&(i[m]=w,u=!0)}}}else{Wi(e,t,s,i)&&(u=!0);let f;for(const h in a)(!t||!J(t,h)&&((f=It(h))===h||!J(t,f)))&&(l?r&&(r[h]!==void 0||r[f]!==void 0)&&(s[h]=yn(l,a,h,void 0,e,!0)):delete s[h]);if(i!==a)for(const h in i)(!t||!J(t,h))&&(delete i[h],u=!0)}u&&ze(e.attrs,"set","")}function Wi(e,t,r,n){const[s,i]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(Ft(l))continue;const u=t[l];let f;s&&J(s,f=ke(l))?!i||!i.includes(f)?r[f]=u:(a||(a={}))[f]=u:Br(e.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,o=!0)}if(i){const l=K(r),u=a||Y;for(let f=0;f<i.length;f++){const h=i[f];r[h]=yn(s,l,h,u[h],e,!J(u,h))}}return o}function yn(e,t,r,n,s,i){const o=e[r];if(o!=null){const a=J(o,"default");if(a&&n===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&H(l)){const{propsDefaults:u}=s;if(r in u)n=u[r];else{const f=nr(s);n=u[r]=l.call(null,t),f()}}else n=l;s.ce&&s.ce._setProp(r,n)}o[0]&&(i&&!a?n=!1:o[1]&&(n===""||n===It(r))&&(n=!0))}return n}const rl=new WeakMap;function Hi(e,t,r=!1){const n=r?rl:t.propsCache,s=n.get(e);if(s)return s;const i=e.props,o={},a=[];let l=!1;if(!H(e)){const f=h=>{l=!0;const[m,w]=Hi(h,t,!0);pe(o,m),w&&a.push(...w)};!r&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!l)return X(e)&&n.set(e,mt),mt;if(F(i))for(let f=0;f<i.length;f++){const h=ke(i[f]);ms(h)&&(o[h]=Y)}else if(i)for(const f in i){const h=ke(f);if(ms(h)){const m=i[f],w=o[h]=F(m)||H(m)?{type:m}:pe({},m),P=w.type;let T=!1,C=!0;if(F(P))for(let $=0;$<P.length;++$){const M=P[$],j=H(M)&&M.name;if(j==="Boolean"){T=!0;break}else j==="String"&&(C=!1)}else T=H(P)&&P.name==="Boolean";w[0]=T,w[1]=C,(T||J(w,"default"))&&a.push(h)}}const u=[o,a];return X(e)&&n.set(e,u),u}function ms(e){return e[0]!=="$"&&!Ft(e)}const Bn=e=>e==="_"||e==="_ctx"||e==="$stable",Un=e=>F(e)?e.map(Be):[Be(e)],nl=(e,t,r)=>{if(t._n)return t;const n=ma((...s)=>Un(t(...s)),r);return n._c=!1,n},Bi=(e,t,r)=>{const n=e._ctx;for(const s in e){if(Bn(s))continue;const i=e[s];if(H(i))t[s]=nl(s,i,n);else if(i!=null){const o=Un(i);t[s]=()=>o}}},Ui=(e,t)=>{const r=Un(t);e.slots.default=()=>r},$i=(e,t,r)=>{for(const n in t)(r||!Bn(n))&&(e[n]=t[n])},sl=(e,t,r)=>{const n=e.slots=Ni();if(e.vnode.shapeFlag&32){const s=t._;s?($i(n,t,r),r&&Bs(n,"_",s,!0)):Bi(t,n)}else t&&Ui(e,t)},il=(e,t,r)=>{const{vnode:n,slots:s}=e;let i=!0,o=Y;if(n.shapeFlag&32){const a=t._;a?r&&a===1?i=!1:$i(s,t,r):(i=!t.$stable,Bi(t,s)),o=t}else t&&(Ui(e,t),o={default:1});if(i)for(const a in s)!Bn(a)&&o[a]==null&&delete s[a]},ye=cl;function Ef(e){return ol(e)}function ol(e,t){const r=Dr();r.__VUE__=!0;const{insert:n,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:u,setElementText:f,parentNode:h,nextSibling:m,setScopeId:w=$e,insertStaticContent:P}=e,T=(c,d,p,v=null,b=null,_=null,D=void 0,S=null,E=!!d.dynamicChildren)=>{if(c===d)return;c&&!ft(c,d)&&(v=or(c),Le(c,b,_,!0),c=null),d.patchFlag===-2&&(E=!1,d.dynamicChildren=null);const{type:y,ref:N,shapeFlag:x}=d;switch(y){case Ur:C(c,d,p,v);break;case me:$(c,d,p,v);break;case sn:c==null&&M(d,p,v,D);break;case Se:U(c,d,p,v,b,_,D,S,E);break;default:x&1?z(c,d,p,v,b,_,D,S,E):x&6?ce(c,d,p,v,b,_,D,S,E):(x&64||x&128)&&y.process(c,d,p,v,b,_,D,S,E,Tt)}N!=null&&b?Bt(N,c&&c.ref,_,d||c,!d):N==null&&c&&c.ref!=null&&Bt(c.ref,null,_,c,!0)},C=(c,d,p,v)=>{if(c==null)n(d.el=a(d.children),p,v);else{const b=d.el=c.el;d.children!==c.children&&u(b,d.children)}},$=(c,d,p,v)=>{c==null?n(d.el=l(d.children||""),p,v):d.el=c.el},M=(c,d,p,v)=>{[c.el,c.anchor]=P(c.children,d,p,v,c.el,c.anchor)},j=({el:c,anchor:d},p,v)=>{let b;for(;c&&c!==d;)b=m(c),n(c,p,v),c=b;n(d,p,v)},L=({el:c,anchor:d})=>{let p;for(;c&&c!==d;)p=m(c),s(c),c=p;s(d)},z=(c,d,p,v,b,_,D,S,E)=>{if(d.type==="svg"?D="svg":d.type==="math"&&(D="mathml"),c==null)te(d,p,v,b,_,D,S,E);else{const y=c.el&&c.el._isVueCE?c.el:null;try{y&&y._beginPatch(),g(c,d,b,_,D,S,E)}finally{y&&y._endPatch()}}},te=(c,d,p,v,b,_,D,S)=>{let E,y;const{props:N,shapeFlag:x,transition:O,dirs:W}=c;if(E=c.el=o(c.type,_,N&&N.is,N),x&8?f(E,c.children):x&16&&I(c.children,E,null,v,b,nn(c,_),D,S),W&&ot(c,null,v,"created"),B(E,c,c.scopeId,D,v),N){for(const Z in N)Z!=="value"&&!Ft(Z)&&i(E,Z,null,N[Z],_,v);"value"in N&&i(E,"value",null,N.value,_),(y=N.onVnodeBeforeMount)&&Ne(y,v,c)}W&&ot(c,null,v,"beforeMount");const V=al(b,O);V&&O.beforeEnter(E),n(E,d,p),((y=N&&N.onVnodeMounted)||V||W)&&ye(()=>{y&&Ne(y,v,c),V&&O.enter(E),W&&ot(c,null,v,"mounted")},b)},B=(c,d,p,v,b)=>{if(p&&w(c,p),v)for(let _=0;_<v.length;_++)w(c,v[_]);if(b){let _=b.subTree;if(d===_||Ki(_.type)&&(_.ssContent===d||_.ssFallback===d)){const D=b.vnode;B(c,D,D.scopeId,D.slotScopeIds,b.parent)}}},I=(c,d,p,v,b,_,D,S,E=0)=>{for(let y=E;y<c.length;y++){const N=c[y]=S?Ke(c[y]):Be(c[y]);T(null,N,d,p,v,b,_,D,S)}},g=(c,d,p,v,b,_,D)=>{const S=d.el=c.el;let{patchFlag:E,dynamicChildren:y,dirs:N}=d;E|=c.patchFlag&16;const x=c.props||Y,O=d.props||Y;let W;if(p&&at(p,!1),(W=O.onVnodeBeforeUpdate)&&Ne(W,p,d,c),N&&ot(d,c,p,"beforeUpdate"),p&&at(p,!0),(x.innerHTML&&O.innerHTML==null||x.textContent&&O.textContent==null)&&f(S,""),y?A(c.dynamicChildren,y,S,p,v,nn(d,b),_):D||Q(c,d,S,null,p,v,nn(d,b),_,!1),E>0){if(E&16)k(S,x,O,p,b);else if(E&2&&x.class!==O.class&&i(S,"class",null,O.class,b),E&4&&i(S,"style",x.style,O.style,b),E&8){const V=d.dynamicProps;for(let Z=0;Z<V.length;Z++){const q=V[Z],se=x[q],ue=O[q];(ue!==se||q==="value")&&i(S,q,se,ue,b,p)}}E&1&&c.children!==d.children&&f(S,d.children)}else!D&&y==null&&k(S,x,O,p,b);((W=O.onVnodeUpdated)||N)&&ye(()=>{W&&Ne(W,p,d,c),N&&ot(d,c,p,"updated")},v)},A=(c,d,p,v,b,_,D)=>{for(let S=0;S<d.length;S++){const E=c[S],y=d[S],N=E.el&&(E.type===Se||!ft(E,y)||E.shapeFlag&198)?h(E.el):p;T(E,y,N,null,v,b,_,D,!0)}},k=(c,d,p,v,b)=>{if(d!==p){if(d!==Y)for(const _ in d)!Ft(_)&&!(_ in p)&&i(c,_,d[_],null,b,v);for(const _ in p){if(Ft(_))continue;const D=p[_],S=d[_];D!==S&&_!=="value"&&i(c,_,S,D,b,v)}"value"in p&&i(c,"value",d.value,p.value,b)}},U=(c,d,p,v,b,_,D,S,E)=>{const y=d.el=c?c.el:a(""),N=d.anchor=c?c.anchor:a("");let{patchFlag:x,dynamicChildren:O,slotScopeIds:W}=d;W&&(S=S?S.concat(W):W),c==null?(n(y,p,v),n(N,p,v),I(d.children||[],p,N,b,_,D,S,E)):x>0&&x&64&&O&&c.dynamicChildren&&c.dynamicChildren.length===O.length?(A(c.dynamicChildren,O,p,b,_,D,S),(d.key!=null||b&&d===b.subTree)&&$n(c,d,!0)):Q(c,d,p,N,b,_,D,S,E)},ce=(c,d,p,v,b,_,D,S,E)=>{d.slotScopeIds=S,c==null?d.shapeFlag&512?b.ctx.activate(d,p,v,D,E):fe(d,p,v,b,_,D,E):ht(c,d,E)},fe=(c,d,p,v,b,_,D)=>{const S=c.component=_l(c,v,b);if(Wr(c)&&(S.ctx.renderer=Tt),yl(S,!1,D),S.asyncDep){if(b&&b.registerDep(S,re,D),!c.el){const E=S.subTree=Ee(me);$(null,E,d,p),c.placeholder=E.el}}else re(S,c,d,p,b,_,D)},ht=(c,d,p)=>{const v=d.component=c.component;if(Qa(c,d,p))if(v.asyncDep&&!v.asyncResolved){G(v,d,p);return}else v.next=d,v.update();else d.el=c.el,v.vnode=d},re=(c,d,p,v,b,_,D)=>{const S=()=>{if(c.isMounted){let{next:x,bu:O,u:W,parent:V,vnode:Z}=c;{const Oe=ji(c);if(Oe){x&&(x.el=Z.el,G(c,x,D)),Oe.asyncDep.then(()=>{ye(()=>{c.isUnmounted||y()},b)});return}}let q=x,se;at(c,!1),x?(x.el=Z.el,G(c,x,D)):x=Z,O&&Jr(O),(se=x.props&&x.props.onVnodeBeforeUpdate)&&Ne(se,V,x,Z),at(c,!0);const ue=ps(c),Me=c.subTree;c.subTree=ue,T(Me,ue,h(Me.el),or(Me),c,b,_),x.el=ue.el,q===null&&qa(c,ue.el),W&&ye(W,b),(se=x.props&&x.props.onVnodeUpdated)&&ye(()=>Ne(se,V,x,Z),b)}else{let x;const{el:O,props:W}=d,{bm:V,m:Z,parent:q,root:se,type:ue}=c,Me=yt(d);at(c,!1),V&&Jr(V),!Me&&(x=W&&W.onVnodeBeforeMount)&&Ne(x,q,d),at(c,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(ue,c.parent?c.parent.type:void 0);const Oe=c.subTree=ps(c);T(null,Oe,p,v,c,b,_),d.el=Oe.el}if(Z&&ye(Z,b),!Me&&(x=W&&W.onVnodeMounted)){const Oe=d;ye(()=>Ne(x,q,Oe),b)}(d.shapeFlag&256||q&&yt(q.vnode)&&q.vnode.shapeFlag&256)&&c.a&&ye(c.a,b),c.isMounted=!0,d=p=v=null}};c.scope.on();const E=c.effect=new Vs(S);c.scope.off();const y=c.update=E.run.bind(E),N=c.job=E.runIfDirty.bind(E);N.i=c,N.id=c.uid,E.scheduler=()=>Hn(N),at(c,!0),y()},G=(c,d,p)=>{d.component=c;const v=c.vnode.props;c.vnode=d,c.next=null,tl(c,d.props,v,p),il(c,d.children,p),Ye(),ss(c),Je()},Q=(c,d,p,v,b,_,D,S,E=!1)=>{const y=c&&c.children,N=c?c.shapeFlag:0,x=d.children,{patchFlag:O,shapeFlag:W}=d;if(O>0){if(O&128){ir(y,x,p,v,b,_,D,S,E);return}else if(O&256){st(y,x,p,v,b,_,D,S,E);return}}W&8?(N&16&&At(y,b,_),x!==y&&f(p,x)):N&16?W&16?ir(y,x,p,v,b,_,D,S,E):At(y,b,_,!0):(N&8&&f(p,""),W&16&&I(x,p,v,b,_,D,S,E))},st=(c,d,p,v,b,_,D,S,E)=>{c=c||mt,d=d||mt;const y=c.length,N=d.length,x=Math.min(y,N);let O;for(O=0;O<x;O++){const W=d[O]=E?Ke(d[O]):Be(d[O]);T(c[O],W,p,null,b,_,D,S,E)}y>N?At(c,b,_,!0,!1,x):I(d,p,v,b,_,D,S,E,x)},ir=(c,d,p,v,b,_,D,S,E)=>{let y=0;const N=d.length;let x=c.length-1,O=N-1;for(;y<=x&&y<=O;){const W=c[y],V=d[y]=E?Ke(d[y]):Be(d[y]);if(ft(W,V))T(W,V,p,null,b,_,D,S,E);else break;y++}for(;y<=x&&y<=O;){const W=c[x],V=d[O]=E?Ke(d[O]):Be(d[O]);if(ft(W,V))T(W,V,p,null,b,_,D,S,E);else break;x--,O--}if(y>x){if(y<=O){const W=O+1,V=W<N?d[W].el:v;for(;y<=O;)T(null,d[y]=E?Ke(d[y]):Be(d[y]),p,V,b,_,D,S,E),y++}}else if(y>O)for(;y<=x;)Le(c[y],b,_,!0),y++;else{const W=y,V=y,Z=new Map;for(y=V;y<=O;y++){const Ie=d[y]=E?Ke(d[y]):Be(d[y]);Ie.key!=null&&Z.set(Ie.key,y)}let q,se=0;const ue=O-V+1;let Me=!1,Oe=0;const Dt=new Array(ue);for(y=0;y<ue;y++)Dt[y]=0;for(y=W;y<=x;y++){const Ie=c[y];if(se>=ue){Le(Ie,b,_,!0);continue}let Ce;if(Ie.key!=null)Ce=Z.get(Ie.key);else for(q=V;q<=O;q++)if(Dt[q-V]===0&&ft(Ie,d[q])){Ce=q;break}Ce===void 0?Le(Ie,b,_,!0):(Dt[Ce-V]=y+1,Ce>=Oe?Oe=Ce:Me=!0,T(Ie,d[Ce],p,null,b,_,D,S,E),se++)}const Zn=Me?ll(Dt):mt;for(q=Zn.length-1,y=ue-1;y>=0;y--){const Ie=V+y,Ce=d[Ie],Qn=d[Ie+1],qn=Ie+1<N?Qn.el||Vi(Qn):v;Dt[y]===0?T(null,Ce,p,qn,b,_,D,S,E):Me&&(q<0||y!==Zn[q]?it(Ce,p,qn,2):q--)}}},it=(c,d,p,v,b=null)=>{const{el:_,type:D,transition:S,children:E,shapeFlag:y}=c;if(y&6){it(c.component.subTree,d,p,v);return}if(y&128){c.suspense.move(d,p,v);return}if(y&64){D.move(c,d,p,Tt);return}if(D===Se){n(_,d,p);for(let x=0;x<E.length;x++)it(E[x],d,p,v);n(c.anchor,d,p);return}if(D===sn){j(c,d,p);return}if(v!==2&&y&1&&S)if(v===0)S.beforeEnter(_),n(_,d,p),ye(()=>S.enter(_),b);else{const{leave:x,delayLeave:O,afterLeave:W}=S,V=()=>{c.ctx.isUnmounted?s(_):n(_,d,p)},Z=()=>{_._isLeaving&&_[We](!0),x(_,()=>{V(),W&&W()})};O?O(_,V,Z):Z()}else n(_,d,p)},Le=(c,d,p,v=!1,b=!1)=>{const{type:_,props:D,ref:S,children:E,dynamicChildren:y,shapeFlag:N,patchFlag:x,dirs:O,cacheIndex:W,memo:V}=c;if(x===-2&&(b=!1),S!=null&&(Ye(),Bt(S,null,p,c,!0),Je()),W!=null&&(d.renderCache[W]=void 0),N&256){d.ctx.deactivate(c);return}const Z=N&1&&O,q=!yt(c);let se;if(q&&(se=D&&D.onVnodeBeforeUnmount)&&Ne(se,d,c),N&6)yo(c.component,p,v);else{if(N&128){c.suspense.unmount(p,v);return}Z&&ot(c,null,d,"beforeUnmount"),N&64?c.type.remove(c,d,p,Tt,v):y&&!y.hasOnce&&(_!==Se||x>0&&x&64)?At(y,d,p,!1,!0):(_===Se&&x&384||!b&&N&16)&&At(E,d,p),v&&Jn(c)}const ue=V!=null&&W==null;(q&&(se=D&&D.onVnodeUnmounted)||Z||ue)&&ye(()=>{se&&Ne(se,d,c),Z&&ot(c,null,d,"unmounted"),ue&&(c.el=null)},p)},Jn=c=>{const{type:d,el:p,anchor:v,transition:b}=c;if(d===Se){_o(p,v);return}if(d===sn){L(c);return}const _=()=>{s(p),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(c.shapeFlag&1&&b&&!b.persisted){const{leave:D,delayLeave:S}=b,E=()=>D(p,_);S?S(c.el,_,E):E()}else _()},_o=(c,d)=>{let p;for(;c!==d;)p=m(c),s(c),c=p;s(d)},yo=(c,d,p)=>{const{bum:v,scope:b,job:_,subTree:D,um:S,m:E,a:y}=c;bs(E),bs(y),v&&Jr(v),b.stop(),_&&(_.flags|=8,Le(D,c,d,p)),S&&ye(S,d),ye(()=>{c.isUnmounted=!0},d)},At=(c,d,p,v=!1,b=!1,_=0)=>{for(let D=_;D<c.length;D++)Le(c[D],d,p,v,b)},or=c=>{if(c.shapeFlag&6)return or(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const d=m(c.anchor||c.el),p=d&&d[gi];return p?m(p):d};let Yr=!1;const Xn=(c,d,p)=>{let v;c==null?d._vnode&&(Le(d._vnode,null,null,!0),v=d._vnode.component):T(d._vnode||null,c,d,null,null,null,p),d._vnode=c,Yr||(Yr=!0,ss(v),ui(),Yr=!1)},Tt={p:T,um:Le,m:it,r:Jn,mt:fe,mc:I,pc:Q,pbc:A,n:or,o:e};return{render:Xn,hydrate:void 0,createApp:Ga(Xn)}}function nn({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 at({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function al(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $n(e,t,r=!1){const n=e.children,s=t.children;if(F(n)&&F(s))for(let i=0;i<n.length;i++){const o=n[i];let a=s[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[i]=Ke(s[i]),a.el=o.el),!r&&a.patchFlag!==-2&&$n(o,a)),a.type===Ur&&(a.patchFlag===-1&&(a=s[i]=Ke(a)),a.el=o.el),a.type===me&&!a.el&&(a.el=o.el)}}function ll(e){const t=e.slice(),r=[0];let n,s,i,o,a;const l=e.length;for(n=0;n<l;n++){const u=e[n];if(u!==0){if(s=r[r.length-1],e[s]<u){t[n]=s,r.push(n);continue}for(i=0,o=r.length-1;i<o;)a=i+o>>1,e[r[a]]<u?i=a+1:o=a;u<e[r[i]]&&(i>0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,o=r[i-1];i-- >0;)r[i]=o,o=t[o];return r}function ji(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ji(t)}function bs(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Vi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Vi(t.subTree):null}const Ki=e=>e.__isSuspense;function cl(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):ga(e)}const Se=Symbol.for("v-fgt"),Ur=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),sn=Symbol.for("v-stc"),$t=[];let ve=null;function wn(e=!1){$t.push(ve=e?null:[])}function fl(){$t.pop(),ve=$t[$t.length-1]||null}let Et=1;function vr(e,t=!1){Et+=e,e<0&&ve&&t&&(ve.hasOnce=!0)}function zi(e){return e.dynamicChildren=Et>0?ve||mt:null,fl(),Et>0&&ve&&ve.push(e),e}function If(e,t,r,n,s,i){return zi(Yi(e,t,r,n,s,i,!0))}function vn(e,t,r,n,s){return zi(Ee(e,t,r,n,s,!0))}function Jt(e){return e?e.__v_isVNode===!0:!1}function ft(e,t){return e.type===t.type&&e.key===t.key}const Gi=({key:e})=>e??null,pr=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?le(e)||ae(e)||H(e)?{i:he,r:e,k:t,f:!!r}:e:null);function Yi(e,t=null,r=null,n=0,s=null,i=e===Se?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gi(t),ref:t&&pr(t),scopeId:hi,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:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:he};return a?(jn(l,r),i&128&&e.normalize(l)):r&&(l.shapeFlag|=le(r)?8:16),Et>0&&!o&&ve&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&ve.push(l),l}const Ee=ul;function ul(e,t=null,r=null,n=0,s=null,i=!1){if((!e||e===Ti)&&(e=me),Jt(e)){const a=tt(e,t,!0);return r&&jn(a,r),Et>0&&!i&&ve&&(a.shapeFlag&6?ve[ve.indexOf(e)]=a:ve.push(a)),a.patchFlag=-2,a}if(Il(e)&&(e=e.__vccOpts),t){t=dl(t);let{class:a,style:l}=t;a&&!le(a)&&(t.class=Pr(a)),X(l)&&(Nr(l)&&!F(l)&&(l=pe({},l)),t.style=xr(l))}const o=le(e)?1:Ki(e)?128:mi(e)?64:X(e)?4:H(e)?2:0;return Yi(e,t,r,n,s,o,i,!0)}function dl(e){return e?Nr(e)||Fi(e)?pe({},e):e:null}function tt(e,t,r=!1,n=!1){const{props:s,ref:i,patchFlag:o,children:a,transition:l}=e,u=t?gl(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Gi(u),ref:t&&t.ref?r&&i?F(i)?i.concat(pr(t)):[i,pr(t)]:pr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&tt(e.ssContent),ssFallback:e.ssFallback&&tt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Gt(f,l.clone(f)),f}function hl(e=" ",t=0){return Ee(Ur,null,e,t)}function pl(e="",t=!1){return t?(wn(),vn(me,null,e)):Ee(me,null,e)}function Be(e){return e==null||typeof e=="boolean"?Ee(me):F(e)?Ee(Se,null,e.slice()):Jt(e)?Ke(e):Ee(Ur,null,String(e))}function Ke(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:tt(e)}function jn(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(F(t))r=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),jn(e,s()),s._c&&(s._d=!0));return}else{r=32;const s=t._;!s&&!Fi(t)?t._ctx=he:s===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:he},r=32):(t=String(t),n&64?(r=16,t=[hl(t)]):r=8);e.children=t,e.shapeFlag|=r}function gl(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=Pr([t.class,n.class]));else if(s==="style")t.style=xr([t.style,n.style]);else if(Rn(s)){const i=t[s],o=n[s];o&&i!==o&&!(F(i)&&i.includes(o))?t[s]=i?[].concat(i,o):o:o==null&&i==null&&!Ln(s)&&(t[s]=o)}else s!==""&&(t[s]=n[s])}return t}function Ne(e,t,r,n=null){je(e,t,7,[r,n])}const ml=Ri();let bl=0;function _l(e,t,r){const n=e.type,s=(t?t.appContext:e.appContext)||ml,i={uid:bl++,vnode:e,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new js(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Hi(n,s),emitsOptions:Mi(n,s),emit:null,emitted:null,propsDefaults:Y,inheritAttrs:n.inheritAttrs,ctx:Y,data:Y,props:Y,attrs:Y,slots:Y,refs:Y,setupState:Y,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=Ya.bind(null,i),e.ce&&e.ce(i),i}let be=null;const rr=()=>be||he;let Er,En;{const e=Dr(),t=(r,n)=>{let s;return(s=e[r])||(s=e[r]=[]),s.push(n),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Er=t("__VUE_INSTANCE_SETTERS__",r=>be=r),En=t("__VUE_SSR_SETTERS__",r=>Xt=r)}const nr=e=>{const t=be;return Er(e),e.scope.on(),()=>{e.scope.off(),Er(t)}},_s=()=>{be&&be.scope.off(),Er(null)};function Ji(e){return e.vnode.shapeFlag&4}let Xt=!1;function yl(e,t=!1,r=!1){t&&En(t);const{props:n,children:s}=e.vnode,i=Ji(e);el(e,n,i,t),sl(e,s,r||t);const o=i?wl(e,t):void 0;return t&&En(!1),o}function wl(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ba);const{setup:n}=r;if(n){Ye();const s=e.setupContext=n.length>1?Zi(e):null,i=nr(e),o=er(n,e,0,[e.props,s]),a=Fs(o);if(Je(),i(),(a||e.sp)&&!yt(e)&&vi(e),a){if(o.then(_s,_s),t)return o.then(l=>{ys(e,l)}).catch(l=>{Fr(l,e,0)});e.asyncDep=o}else ys(e,o)}else Xi(e)}function ys(e,t,r){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=ai(t)),Xi(e)}function Xi(e,t,r){const n=e.type;e.render||(e.render=n.render||$e);{const s=nr(e);Ye();try{Ua(e)}finally{Je(),s()}}}const vl={get(e,t){return ge(e,"get",""),e[t]}};function Zi(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,vl),slots:e.slots,emit:e.emit,expose:t}}function $r(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ai(qo(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Ut)return Ut[r](e)},has(t,r){return r in t||r in Ut}})):e.proxy}function El(e,t=!0){return H(e)?e.displayName||e.name:e.name||t&&e.__name}function Il(e){return H(e)&&"__vccOpts"in e}const Qe=(e,t)=>ca(e,t,Xt);function Sf(e,t,r){try{vr(-1);const n=arguments.length;return n===2?X(t)&&!F(t)?Jt(t)?Ee(e,null,[t]):Ee(e,t):Ee(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Jt(r)&&(r=[r]),Ee(e,t,r))}finally{vr(1)}}function Af(e,t,r,n){const s=r[n];if(s&&Sl(s,e))return s;const i=t();return i.memo=e.slice(),i.cacheIndex=n,r[n]=i}function Sl(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let n=0;n<r.length;n++)if(de(r[n],t[n]))return!1;return Et>0&&ve&&ve.push(e),!0}const Al="3.5.34",Tf="0.9.6-alpha.9",kt={orientation:"portrait",capsuleHidden:!1};function rt(){return new DOMException("方向请求已取消","AbortError")}let jt;function Df(e){return jt=e,()=>{jt===e&&(jt=void 0)}}function xf(e){if(e.aborted)return Promise.reject(rt());if(!jt)return Promise.resolve();const t=jt();return new Promise((r,n)=>{const s=()=>n(rt());e.addEventListener("abort",s,{once:!0}),t.then(()=>{e.removeEventListener("abort",s),r()},i=>{e.removeEventListener("abort",s),n(i)})})}function Tl(e){return new Promise((t,r)=>{if(e.aborted){r(rt());return}let n=requestAnimationFrame(()=>{n=requestAnimationFrame(s)});function s(){e.removeEventListener("abort",i),t()}function i(){cancelAnimationFrame(n),r(rt())}e.addEventListener("abort",i,{once:!0})})}function Pf(e,t){if(t.aborted)return Promise.reject(rt());const r=e.flatMap(n=>n&&typeof n.getAnimations=="function"?n.getAnimations().filter(s=>s.effect?.getComputedTiming().iterations!==1/0):[]);return r.length?new Promise((n,s)=>{const i=()=>s(rt());t.addEventListener("abort",i,{once:!0}),Promise.allSettled(r.map(o=>o.finished)).then(()=>{t.removeEventListener("abort",i),n()})}):Promise.resolve()}function kf(e){const t=e.waitForLayout??Tl,r=new Set;let n=kt,s=0;function i(){for(const o of[...r])try{o()}catch{}}return{async applyDisplay(o,a){if(a.aborted)throw rt();const l=++s,u={orientation:o.mode,capsuleHidden:o.hideCapsule},f=()=>{l===s&&(s+=1,e.apply(n),i())};a.addEventListener("abort",f,{once:!0});try{if(e.apply(u),await t(a),a.aborted||l!==s)throw rt();n=u,i()}finally{a.removeEventListener("abort",f)}},reset(){s+=1;const o=n.orientation!==kt.orientation||n.capsuleHidden!==kt.capsuleHidden;n=kt,e.apply(kt),o&&i()},onViewportChange(o){return r.add(o),()=>{r.delete(o)}},notifyViewportChange:i}}const Dl="[data-hb-sdk-fullscreen-exit]";function Rf(e){const t=()=>{const n=e();if(n)for(const s of[...document.body.children])s.matches(Dl)&&n.append(s)},r=new MutationObserver(t);return r.observe(document.body,{childList:!0}),t(),()=>r.disconnect()}const Zt=500,xl=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"]),Pl=/(authorization|cookie|password|passwd|secret|token|pkey|private[_-]?key|access[_-]?key|client[_-]?secret|api[_-]?key|apikey|session|jwt|refresh[_-]?token|csrf)/i;function In(e){if(!e)return e;try{const t=new URL(e);if(t.username="",t.password="",ws(t.searchParams),t.hash&&t.hash.length>1){const r=t.hash.slice(1);if(r.includes("=")){const n=new URLSearchParams(r);ws(n)&&(t.hash=n.toString())}}return t.toString()}catch{return qi(e)}}function kl(e){return e?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,Ll(t)?"[redacted]":r])):{}}function Sn(e){if(e!==void 0){if(typeof e=="string")return Qi(e);if(typeof e=="number"||typeof e=="boolean"||e===null)return e;try{const t=An(e),r=JSON.stringify(t);return r===void 0?"[unserializable]":r.length<=Zt?t:Vn(r,Zt)}catch{return"[unserializable]"}}}function Qt(e){return Array.isArray(e)?e.slice(0,20).map(t=>Qt(t)):typeof e=="string"?Ml(e)?In(e):Qi(e):typeof e=="number"||typeof e=="boolean"||e===null||e===void 0?e:Tn(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>{const n=t.trim().toLowerCase();return St(t)?[t,"[redacted]"]:n==="headers"&&Tn(r)?[t,kl(Object.fromEntries(Object.entries(r).flatMap(([s,i])=>typeof i=="string"?[[s,i]]:[])))]:(n==="url"||n.endsWith("_url")||n.endsWith("url"))&&typeof r=="string"?[t,In(r)]:[t,Qt(r)]})):Sn(e)}function Rl(e){return e&&e.replace(/https?:\/\/[^\s]+/gi,t=>In(t.replace(/[),.;]+$/g,"")))}function Ll(e){const t=e.trim().toLowerCase();return xl.has(t)||St(t)||t.startsWith("x-heybox-")||t.startsWith("x-xhh-")}function St(e){return Pl.test(e.trim())}function Qi(e){const t=e.trim();if(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]"))try{return Sn(JSON.parse(t))}catch{}if(t.includes("=")&&!t.includes(`
|
|
2
|
-
`)&&t.length<=Zt*2)try{const r=new URLSearchParams(t);if([...r.keys()].length>0){const n=Object.fromEntries([...r.entries()].map(([s,i])=>[s,St(s)?"[redacted]":i]));return Sn(n)}}catch{}return Vn(qi(e),Zt)}function An(e){return Array.isArray(e)?e.slice(0,20).map(t=>An(t)):Tn(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,St(t)?"[redacted]":An(r)])):typeof e=="string"?Vn(e,Zt):e}function ws(e){let t=!1;for(const r of[...e.keys()])St(r)&&(e.set(r,"[redacted]"),t=!0);return t}function qi(e){return e.replace(/([?&#]|^|[?&])([^=&#\s]+)=([^&#\s]*)/g,(t,r,n)=>St(n)?`${r}${n}=[redacted]`:t)}function Ml(e){return/^https?:\/\//i.test(e.trim())||/^[a-z][a-z0-9+.-]*:\/\//i.test(e.trim())}function Vn(e,t){return e.length<=t?e:`${e.slice(0,t)}…(truncated, total=${e.length})`}function Tn(e){return Object.prototype.toString.call(e)==="[object Object]"}function Rt(e,t){return Rl(String(Qt(e))).slice(0,t)}function Ol(e){if(!e||typeof e!="object")return;const t=e;if(!(typeof t.interactionId!="string"||!/^[a-zA-Z0-9_-]{1,100}$/.test(t.interactionId)||typeof t.kind!="string"||!["toast","loading","dialog","effect"].includes(t.kind)||typeof t.mode!="string"||!["simulated","browser"].includes(t.mode)||typeof t.method!="string"||!Number.isFinite(t.startedAt)))return{interactionId:t.interactionId,kind:t.kind,mode:t.mode,method:Rt(t.method,100),startedAt:t.startedAt,...typeof t.callId=="string"?{callId:Rt(t.callId,100)}:{},...typeof t.message=="string"?{message:Rt(t.message,512)}:{},...typeof t.title=="string"?{title:Rt(t.title,120)}:{},...t.status==="success"||t.status==="error"?{status:t.status}:{},...typeof t.dismissible=="boolean"?{dismissible:t.dismissible}:{},...Array.isArray(t.actions)?{actions:t.actions.slice(0,4).filter(r=>typeof r=="string").map(r=>Rt(r,40))}:{}}}const Cl="/__hb_sdk__/diagnostics",Lf="/__hb_sdk__/resources",Nl=16;let nt={instanceId:null,controller:new AbortController,records:new Map};const Dn=new Set;function Mf(e,t){const r=nt,n={instanceId:e,emit:t,controller:new AbortController,records:new Map};return nt=n,vs(r,"宿主呈现实例已替换"),{snapshot:()=>eo(n),dispose:()=>vs(n,"宿主呈现实例已结束")}}function vs(e,t){if(!e.controller.signal.aborted){e.controller.abort(new DOMException(t,"AbortError"));for(const r of[...e.records.values()])try{r.finish("closed")}catch{}}}function Kn(){return nt.controller.signal}function Of(){return nt.controller.signal.aborted?{instanceId:null,interactions:[]}:eo(nt)}function eo(e){return{instanceId:e.instanceId,interactions:[...e.records.values()].map(t=>to(t.value))}}function to(e){return Ol(e)}function Fl(e){return Dn.add(e),()=>{Dn.delete(e)}}function Es(){for(const e of[...Dn])try{e()}catch{}}function zn(e,t){const r=nt;if(r.controller.signal.aborted)throw new Error("宿主呈现实例已结束");if(r.records.size>=Nl)throw new Error("待处理宿主交互过多");const n={...e,interactionId:crypto.randomUUID(),startedAt:Date.now()},s=o=>{const a=r.emit;if(a)try{const l=to(n),u=Date.now();a({source:"host",phase:"presentation",method:e.method,callId:e.callId,interaction:{...l,state:o},level:"info",timestamp:u,startedAt:n.startedAt,durationMs:Math.max(0,u-n.startedAt),message:[e.method,o,l.message,l.title].filter(Boolean).join(" · ")})}catch{}},i=o=>{if(r.records.delete(n.interactionId))try{t?.(o)}finally{s(o),Es()}};return r.records.set(n.interactionId,{value:n,finish:i}),s("shown"),r.records.has(n.interactionId)&&Es(),{interactionId:n.interactionId,get active(){return r.records.has(n.interactionId)},finish:i}}function Is(){for(const e of nt.records.values())if(e.value.kind==="toast"||e.value.kind==="loading")return e.value}function jr(e,t){for(const r of[...nt.records.values()])(r.value.kind==="toast"||r.value.kind==="loading")&&(!t||r.value.kind===t)&&r.finish(e)}const Ss="hb-sdk-feedback-style",Wl=2e3,Hl={light:20,medium:40,heavy:80},Bl=120,Ul=`
|
|
3
|
-
.host-overlay-layer.hb-sdk-feedback-vibrate-flash {
|
|
4
|
-
background: rgba(255, 255, 255, 0.22);
|
|
5
|
-
}
|
|
6
|
-
`;let Ot;const xn=new Set;function Cf(e){let t=Is();const r=s=>{s?s.kind==="toast"?e({kind:"toast",message:s.message??"",...s.status?{status:s.status}:{}}):e({kind:"loading",dismissible:s.dismissible===!0}):e(void 0)},n=Fl(()=>{const s=Is();s!==t&&(t=s,r(s))});try{t&&r(t)}catch(s){throw n(),s}return n}function Nf(e,t){const r=Kn();if(jr("replaced"),r.aborted)return Promise.resolve();let n;const s=zn({kind:"toast",mode:"simulated",method:"ui.showToast",...e,...t?.requestId?{callId:t.requestId}:{}},()=>{n!==void 0&&window.clearTimeout(n)});return s.active&&(n=window.setTimeout(()=>s.finish("expired"),Wl)),Promise.resolve()}function Ff(e,t){const r=Kn();return jr("replaced"),r.aborted||zn({kind:"loading",mode:"simulated",method:"ui.showLoading",dismissible:e?.dismissible===!0,...t?.requestId?{callId:t.requestId}:{}}),Promise.resolve()}function Wf(){return jr("hidden","loading"),Promise.resolve()}function Hf(){jr("closed");for(const e of[...xn])e();Ot?.finish("closed")}async function Bf(e,t){$l();const r=AbortSignal.any([Kn(),...t?.signal?[t.signal]:[]]);if(!await Kl(Math.max(0,e.delay),r)||r.aborted||!jl(r,t?.requestId))return;const s=navigator.vibrate;if(typeof s=="function")try{s.call(navigator,Hl[e.intensity])}catch{}}function Uf(e){document.documentElement.dataset.screenshotChromeHidden=e?"true":"false"}function $l(){if(document.getElementById(Ss))return;const e=document.createElement("style");e.id=Ss,e.textContent=Ul,document.head.appendChild(e)}function jl(e,t){if(Ot?.finish("replaced"),e.aborted)return!1;const r=Vl();let n,s;return s=zn({kind:"effect",mode:"simulated",method:"device.vibrate",title:"震动预览",...t?{callId:t}:{}},()=>{n!==void 0&&window.clearTimeout(n),r.classList.remove("hb-sdk-feedback-vibrate-flash"),Ot===s&&(Ot=void 0)}),s.active?(Ot=s,r.classList.add("hb-sdk-feedback-vibrate-flash"),n=window.setTimeout(()=>s?.finish("completed"),Bl),!0):!1}function Vl(){return document.querySelector("#host-overlay-layer")??document.body}function Kl(e,t){return t.aborted?Promise.resolve(!1):e<=0?Promise.resolve(!0):new Promise(r=>{let n,s=!1;const i=l=>{s||(s=!0,n!==void 0&&window.clearTimeout(n),t.removeEventListener("abort",o),xn.delete(a),r(l))},o=()=>i(!1),a=()=>i(!1);n=window.setTimeout(()=>i(!0),e),xn.add(a),t.addEventListener("abort",o,{once:!0})})}const sr="desktop";function zl(e){return e===sr}const on={width:440,height:956},As={top:1.32,right:3.4,bottom:1.32,left:3.4},an={width:410,height:914},Ts={top:2.05,right:4.8,bottom:1.8,left:4.1};function Ds(e,t,r){const n=e.width/(1-(t.left+t.right)/100),s=e.height/(1-(t.top+t.bottom)/100),i=r.width*r.radiusWidthRatio;return{frameWidth:n,frameHeight:s,frameAssetWidth:r.width,frameAssetHeight:r.height,screenRadius:{x:i*(n/r.width),y:i*(s/r.height)}}}const Gn=[{id:"iphone-16-pro-max",label:"iPhone 16 Pro Max",screenWidth:on.width,screenHeight:on.height,...Ds(on,As,{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:As,toolbarLeft:53.67,platform:"ios"},{id:"pixel-9-pro",label:"Pixel 9 Pro",screenWidth:an.width,screenHeight:an.height,...Ds(an,Ts,{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:Ts,toolbarLeft:44.69,platform:"android"}],Gl=Gn[0];function Vr(e){return Gn.find(t=>t.id===e)??Gl}function Yl(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}}}function Jl(){let e;const t=[],r=crypto.randomUUID();let n=0,s=!1,i,o=!1;const a=new Set;let l=0,u=0;const f=256;let h=!1,m,w,P=!1;const T=I=>new TextEncoder().encode(JSON.stringify(I)).length,C=(I,g)=>{if(new TextEncoder().encode(I).length<=g)return I;let A=0,k=I.length;for(;A<k;){const U=Math.ceil((A+k)/2);new TextEncoder().encode(I.slice(0,U)).length<=g?A=U:k=U-1}return I.slice(0,A)};function $(){const I=navigator.userAgent,g=/Edg\//.test(I)?"Edge":/Chrome\//.test(I)?"Chrome":/Firefox\//.test(I)?"Firefox":/Safari\//.test(I)?"Safari":void 0,k=navigator.userAgentData?.platform||(/Windows/.test(I)?"Windows":/Android/.test(I)?"Android":/iPhone|iPad/.test(I)?"iOS":/Macintosh|Mac OS X/.test(I)?"macOS":/Linux/.test(I)?"Linux":void 0);return{...g?{browser:g}:{},...k?{os:k}:{}}}async function M(I){if(!e)throw new Error("诊断尚未配置");const g=I.operation==="attach"?I:{...I,targetId:m.targetId,ownerId:m.ownerId},A=await fetch(Cl,{method:"POST",headers:{"content-type":"application/json","x-hb-sdk-csrf":e.csrfToken,"x-hb-sdk-diagnostics":e.diagnosticsToken,...w?{"x-hb-sdk-preview-owner":w}:{}},body:JSON.stringify(g),signal:AbortSignal.any([e.signal,AbortSignal.timeout(5e3)]),keepalive:h});if(!A.ok)throw Object.assign(new Error(`诊断请求失败 (${A.status})`),{status:A.status});return A.json()}function j(I){return new Promise(g=>{const A=e.signal,k=()=>{clearTimeout(U),A.removeEventListener("abort",k),g()},U=setTimeout(k,I);A.addEventListener("abort",k,{once:!0}),A.aborted&&k()})}async function L(){if(s||!e||!m)return;s=!0;let I=250;try{for(;t.length&&!e.signal.aborted;){const g=t[0];i=g;try{if(await M(g),t.shift(),i=void 0,I=250,u){const A=u;u=0,t.push({operation:"events",producerId:r,sequence:++n,events:[{source:"host",level:"warn",method:"diagnostics.dropped",message:`Host 发送缓冲已丢弃 ${A} 条诊断,存在采集缺口`,timestamp:Date.now(),outcome:"dropped"}]})}}catch(A){const k=A.status;if(k===403&&z(),k&&k>=400&&k<500&&k!==408&&k!==429){g.operation==="events"&&g.events.every(ce=>ce.method==="diagnostics.dropped")||te(g.operation==="events"?g.events.length:1),t.shift(),i=void 0;continue}await j(I),I=Math.min(8e3,I*2)}}}finally{i=void 0,s=!1}}function z(){P||(P=!0,e?.onOwnershipLost?.())}function te(I){l+=I,u+=I,e?.onDropped(l)}function B(I){if(I.operation==="update"){const g=I.error;I={...I,...g?{error:{code:C(g.code,100),message:C(g.message,4096),...g.name?{name:C(g.name,100)}:{},...g.stack?{stack:C(g.stack,8192)}:{},...g.cause?{cause:C(g.cause,2048)}:{},...g.phase?{phase:C(g.phase,100)}:{}}}:{},...I.reason?{reason:C(I.reason,200)}:{}}}if(I.operation==="update"){const g=t.findIndex(A=>A!==i&&A.operation==="update"&&A.instanceId===I.instanceId&&A.state===I.state);if(g>=0){t[g]={...t[g],...I};return}}if(t.length>=f){const g=t.findIndex(A=>A!==i&&A.operation==="events");if(g>=0){const A=t.splice(g,1)[0];A.operation==="events"&&te(A.events.length)}else{const A=t.find(k=>k!==i&&k.operation==="register");if(A?.operation==="register")for(let k=t.length-1;k>=0;k--){const U=t[k];U!==i&&"instanceId"in U&&U.instanceId===A.instanceId&&(t.splice(k,1),te(1))}else{te(1);return}}}t.push(I),L()}return{async configure(I){e=I;const g=new URL(location.href),A=new URLSearchParams(g.hash.slice(1)),k=A.get("hb-sdk-owner")??"";A.has("hb-sdk-owner")&&(A.delete("hb-sdk-owner"),g.hash=A.toString(),history.replaceState(history.state,"",g.href));const U="__HB_SDK_PREVIEW_OWNER__",ce=Object.getOwnPropertyDescriptor(window,U);let fe;if(ce){const G=ce.value;if(!G||typeof G.token!="string"||G.token&&!/^[a-f0-9]{64}$/.test(G.token)||typeof G.pageId!="string"||!/^[A-Za-z0-9_-]{1,100}$/.test(G.pageId))throw new Error("预览页面授权格式无效,请重新打开预览");fe=G}else{if(k&&!/^[a-f0-9]{64}$/.test(k))throw new Error("预览页面授权格式无效,请重新打开预览");fe={token:k,pageId:crypto.randomUUID()},Object.defineProperty(window,U,{value:fe,configurable:!0})}w=fe.token||void 0;const ht=fe.pageId,re=await M({operation:"attach",pageId:ht,metadata:$()});if(!re.target?.targetId||!re.target.ownerId||typeof re.ownerToken!="string")throw new Error("调试目标授权不完整,请重新打开预览");return m=re.target,w=re.ownerToken,L(),m},send:B,close(){h=!0},event(I,g){const k=[{...g,message:C(g.message,4096),truncated:g.truncated===!0||new TextEncoder().encode(g.message).length>4096,...g.method?{method:C(g.method,100)}:{},...g.callId?{callId:C(g.callId,100)}:{},...g.phase?{phase:C(g.phase,100)}:{},...g.errorCode?{errorCode:C(g.errorCode,100)}:{},...g.network?{network:{...g.network.method?{method:C(g.network.method,32)}:{},...g.network.origin?{origin:C(g.network.origin,512)}:{},...g.network.pathname?{pathname:C(g.network.pathname,1024)}:{},...g.network.responseStatus===void 0?{}:{responseStatus:g.network.responseStatus}}}:{}}],U=t.at(-1);U!==i&&U?.operation==="events"&&U.instanceId===I&&U.events.length+k.length<=50&&T({...U,events:[...U.events,...k]})<=32e3?U.events.push(...k):B({operation:"events",instanceId:I,producerId:r,sequence:++n,events:k})},async poll(){if(!(!e||!m||P||o||e.signal.aborted)){o=!0;try{const{tasks:I}=await M({operation:"poll"});for(const g of I)a.has(g.requestId)||(a.add(g.requestId),(async()=>{let A;try{A=await e.query(g)}catch{A={code:"closed",error:"实例查询已结束"}}try{T(A)>32e3&&(A={code:"invalid",error:"诊断结果超出 32 KiB 输出上限"})}catch{A={code:"invalid",error:"诊断结果不可序列化"}}e.signal.aborted||await M({operation:"result",requestId:g.requestId,instanceId:g.instanceId,result:A}).catch(()=>{})})().finally(()=>a.delete(g.requestId)))}catch(I){I.status===403&&z()}finally{o=!1}}}}}const $f=Jl();class oe extends Error{constructor(t,r){super(r),this.code=t,this.name="BrowserDevHostPreviewError"}}function jf(e){const t=new Map;let r,n=!1;return{bridge:{version:1,async run(i){let o,a;try{Xl(i);const l=Math.min(i.deadlineAt,Date.now()+(i.timeoutMs??25e3)),u=()=>{if(Date.now()>=l){const P=new oe("PREVIEW_TIMEOUT","调试台预览操作超时");throw o?.abort(P),P}o?.signal.throwIfAborted()};if(u(),n)throw new oe("SESSION_CLOSED","调试台已关闭");if(t.has(i.operationId))throw new oe("OPERATION_EXISTS","预览操作 ID 已在使用");if(i.command==="observe")return{ok:!0,value:e.observe()};const f=e.observe(),h=i.preset??f.preset;if(i.orientation&&h===sr)throw new oe("ORIENTATION_UNSUPPORTED","桌面预览方向由窗口尺寸决定,请先选择手机预设");r?.abort(new oe("PREVIEW_SUPERSEDED","预览操作已被更新的操作取代")),o=new AbortController,r=o,t.set(i.operationId,o),a=setTimeout(()=>o.abort(new oe("PREVIEW_TIMEOUT","调试台预览操作超时")),Math.max(0,l-Date.now()));const m=o.signal;return{ok:!0,value:await Ql((async()=>(u(),i.command==="reload"?await e.reload(m):(i.preset&&await e.selectPreset(i.preset,m),u(),i.orientation&&await e.applyOrientation(i.orientation,m)),u(),await e.waitForLayout(m),u(),e.observe()))(),m)}}catch(l){return{ok:!1,error:Zl(l)}}finally{clearTimeout(a),o&&t.get(i.operationId)===o&&t.delete(i.operationId),r===o&&(r=void 0)}},cancel(i){const o=t.get(i);o&&o.abort(new oe("PREVIEW_CANCELLED","预览操作已取消;已生效的变更请读取当前状态确认"))}},dispose(){n=!0;for(const i of t.values())i.abort(new oe("SESSION_CLOSED","调试台已关闭"));t.clear()}}}async function Vf(e){const t=window.__HB_SDK_PREVIEW__;if(!t)throw new oe("PREVIEW_NOT_READY","调试台尚未就绪");const r=await t.run({...e,operationId:crypto.randomUUID(),deadlineAt:Date.now()+(e.timeoutMs??25e3)});if(!r.ok)throw new oe(r.error.code,r.error.message);return r.value}function Xl(e){if(!e||typeof e!="object"||typeof e.operationId!="string"||!/^[\w-]{1,128}$/.test(e.operationId))throw new oe("INVALID_OPERATION","预览操作 ID 无效");if(!Number.isFinite(e.deadlineAt)||e.deadlineAt<=0)throw new oe("INVALID_DEADLINE","预览操作绝对期限无效");if(!["observe","select","reload"].includes(e.command))throw new oe("INVALID_COMMAND","未知调试台动作");if(e.timeoutMs!==void 0&&(!Number.isInteger(e.timeoutMs)||e.timeoutMs<1||e.timeoutMs>3e4))throw new oe("INVALID_TIMEOUT","预览操作期限必须为 1 到 30000 毫秒");if(e.command!=="select"&&(e.preset!==void 0||e.orientation!==void 0))throw new oe("INVALID_OPTIONS","当前动作不接受设备或方向选项");if(e.command==="select"&&e.preset===void 0&&e.orientation===void 0)throw new oe("SELECT_REQUIRED","至少指定设备预设或方向");if(e.preset!==void 0&&e.preset!==sr&&!Gn.some(t=>t.id===e.preset))throw new oe("INVALID_PRESET","未知设备预设");if(e.orientation!==void 0&&!["portrait","landscape"].includes(e.orientation))throw new oe("INVALID_ORIENTATION","方向必须为 portrait 或 landscape")}function Zl(e){return e instanceof oe?{code:e.code,message:e.message}:e instanceof Error&&e.name==="AbortError"?{code:"PREVIEW_CANCELLED",message:"预览操作已取消"}:{code:"PREVIEW_FAILED",message:"调试台动作失败,请检查当前 Runtime 状态"}}function Ql(e,t){return new Promise((r,n)=>{const s=()=>n(t.reason);t.addEventListener("abort",s,{once:!0}),e.then(r,n).finally(()=>t.removeEventListener("abort",s)),t.aborted&&s()})}const Kf=48,Ct=16384,xe=Object.freeze({width:414,height:780,minWidth:320,minHeight:480,resizable:!0});function xs(e,t,r){return Math.min(Math.max(e,t),r)}function ro(e){return{width:e?.defaultWidth??xe.width,height:e?.defaultHeight??xe.height}}function Kr(e,t){return{minWidth:e?.minWidth??xe.minWidth,minHeight:e?.minHeight??xe.minHeight,widthLimit:t?Math.min(t.width,Ct):Ct,heightLimit:t?Math.min(t.height,Ct):Ct}}function zr(e,t){return{...e.width===void 0?{}:{width:xs(e.width,t.minWidth,Math.max(t.minWidth,t.widthLimit))},...e.height===void 0?{}:{height:xs(e.height,t.minHeight,Math.max(t.minHeight,t.heightLimit))}}}function ql(e,t){const r=ro(t);return e.defaultsAtWrite.width!==r.width||e.defaultsAtWrite.height!==r.height}function ec(e){const t=xe,r=e.declared,n=Kr(r),s=e.memory&&!ql(e.memory,r)?e.memory:void 0,i=zr({width:s?.width??r?.defaultWidth??t.width,height:s?.height??r?.defaultHeight??t.height},n);return{width:i.width??t.width,height:i.height??t.height,minWidth:n.minWidth,minHeight:n.minHeight,resizable:r?.resizable??t.resizable}}const zf=ta();function Gf(e){const t=e.split(/[\\/]/).at(-1)?.replace(/[<>:"|?*\u0000-\u001f\u007f]/g,"_").replace(/[. ]+$/,"")||"game-save",r=Array.from(t).slice(0,180).join("").replace(/[. ]+$/,"")||"game-save";return`${/^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/i.test(r)?"_":""}${r}${/\.zip$/i.test(r)?"":".zip"}`}const no=[{id:"app",label:"App"},{id:"sdk",label:"SDK"},{id:"network",label:"Network"},{id:"runtime",label:"Runtime"},{id:"host",label:"Host"}],so=[{id:"log",label:"普通"},{id:"info",label:"信息"},{id:"warn",label:"警告"},{id:"error",label:"错误"}],io=new Set(["bridge_response","bridge_started","src_resolved","location_probe"]),tc=new Set(["auth","cloud","companion","device","directory","file","files","navigation","share","storage","ui","user","viewport"]);function rc(e,t,r=Date.now(),n){const s=Qt(t),i=Gr(s),o=Number.isFinite(r)?r:Date.now(),a=dc(i?.outcome),l=ic(e,i),u=oc(l,i?.source),f=n??ac(e,a),h=lc(s,i,e),m=Ue(i?.callId),w=Ue(i?.errorCode)??Ue(i?.code),P=oo(i?.durationMs),T=ao(i?.generation);return{method:e,detail:s,timestamp:o,level:f,source:u,category:l,summary:h,...a?{outcome:a}:{},...P===void 0?{}:{durationMs:P},...m?{callId:m}:{},...w?{errorCode:w}:{},...T===void 0?{}:{generation:T},...l==="console"&&(f==="log"||f==="info")?{dedupeKey:`${u}\0${f}\0${e}\0${h}`}:{}}}function nc(e,t){if(io.has(e.type))return;const r=fc(e),n=Qt({...e,generation:t}),s=Gr(n),i=uc(e),o=e.type==="error"?"error":e.type==="security_violation"?"denied":void 0,a=[s?.errorCode,s?.message,s?.reason,s?.launchUrlType].map(l=>Ue(l)).filter(l=>!!l).join(" · ");return{method:r,detail:n,timestamp:e.timestamp,level:i,source:"runtime",category:e.type==="security_violation"||e.type==="security"?"security":"lifecycle",summary:a,generation:t,...e.errorCode?{errorCode:e.errorCode}:{},...o?{outcome:o}:{},...e.type==="duplicate_handshake"||e.type==="status"?{dedupeKey:`runtime\0${t}\0${r}\0${a}`}:{}}}function Yf(e){if(e.source==="runtime"&&e.phase&&io.has(e.phase))return;let t;if(e.source==="runtime"&&e.phase)try{const n=Gr(JSON.parse(e.message));if(n?.type===e.phase&&typeof n.runtimeId=="string"&&typeof n.timestamp=="number"){const s=ao(n.generation);t=nc(n,s??0),t&&s===void 0&&delete t.generation}}catch{}const r=t??rc(e.method||`console.${e.level}`,e,e.timestamp,e.level==="debug"?"log":e.level);return r.source=e.source,r.summary=t?.summary||e.message,r.detail=e,r.dedupeKey=void 0,r}function sc(e){return[e.source,e.category,e.level,e.method,e.summary,e.outcome,e.errorCode,e.callId,Yn(e.detail)].filter(Boolean).join(" ").toLocaleLowerCase()}function Yn(e){try{return JSON.stringify(e,null,2)??""}catch{return"[无法序列化]"}}function ic(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"||tc.has(e.split(".")[0]??"")?"capability":"tooling"}function oc(e,t){return e==="console"&&(t==="app"||t==="host")?t:e==="network"?"network":e==="capability"?"sdk":e==="lifecycle"||e==="security"?"runtime":"host"}function ac(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 lc(e,t,r){const n=t?.message;if(typeof n=="string"&&n.trim())return n.trim();if(n!==void 0&&typeof n!="string")return Ps(n);const s=Gr(t?.network);if(s){const a=Ue(s.method),l=Ue(s.origin),u=Ue(s.pathname),f=oo(s.responseStatus),h=cc(l,u),m=[a,h,f===void 0?void 0:String(f)].filter(Boolean).join(" ");if(m)return m}const i=Ue(t?.errorCode)??Ue(t?.code);if(i)return i;if(!t)return Ps(e);const o=Ue(t.outcome);return o?`${r} · ${o}`:""}function cc(e,t){return e?t?e.replace(/\/$/,"")+(t.startsWith("/")?t:"/"+t):e:t}function fc(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 uc(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 dc(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 oo(e){return typeof e=="number"&&Number.isFinite(e)?e:void 0}function ao(e){return Number.isSafeInteger(e)?e:void 0}function Ps(e){const t=Yn(e).replace(/\s+/g," ").trim();return t==="{}"||t==="[]"?"":t}function Gr(e){return Object.prototype.toString.call(e)==="[object Object]"?e:void 0}function hc(){return{declaration:void 0,initialized:!1,width:xe.width,height:xe.height,minWidth:xe.minWidth,minHeight:xe.minHeight,resizable:xe.resizable,maximized:!1,minimized:!1,closed:!1,availableWidth:0,availableHeight:0}}function lo(e){return zl(e)?sr:Vr(e).id}function co(e){return e===sr?"desktop":"mobile"}const fo="hb-sdk:browser-dev-host:device",uo="hb-sdk:browser-dev-host:diagnostics-width",ho="hb-sdk:browser-dev-host:desktop-app",po="hb-sdk:browser-dev-host:desktop-window",pc=new URL(location.href).searchParams.get("device"),ln=lo(pc??yc()),R=Or({activeTab:"logs",selectedUploadSession:"",uploadSessions:[],devicePresetId:Vr(ln).id,deviceSelectOpen:!1,deviceSelectionId:ln,previewMode:co(ln),hostPlatform:"unknown",desktopWindow:hc(),logs:[],diagnosticTargetId:"",diagnosticOwnerId:"",diagnosticPrimaryTargetId:null,diagnosticOwnershipLost:!1,diagnosticTargetName:"",diagnosticInstances:[],diagnosticTargets:[],diagnosticsDropped:0,diagnosticsStale:!1,diagnosticsGap:!1,storage:[],storageError:"",queries:{logs:"",storage:"",sandbox:"",problems:""},followLogs:!0,pausedLogCount:0,problemClearWatermark:0,logFilters:{levels:Ls(so),sources:Ls(no)},diagnosticsWidth:wc(),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",mediaSimulation:"normal",qrOpen:!1,devReadiness:void 0,localPermissions:[],openPlatformBaseUrl:void 0,devContextWarning:"",desktopLaunch:{target:vc(),address:void 0,workspaceCardsEnabled:!1,devSessionId:"",miniProgramId:"",miniProgramManifestToken:"",ready:!1,unavailableReason:"正在等待桌面调试配置"}});let Ir=0,Pn;const gc=Qe(()=>Vr(R.devicePresetId)),Jf=Qe(()=>Yl(gc.value,R.display.orientation,R.display.capsuleHidden)),Xf=Qe(()=>{const e=R.desktopWindow;if(!e.maximized)return{width:e.width,height:e.height};if(!(e.availableWidth>0)||!(e.availableHeight>0))return{width:e.width,height:e.height};const t=Kr(e.declaration,{width:e.availableWidth,height:e.availableHeight}),r=zr({width:e.availableWidth,height:e.availableHeight},t);return{width:r.width??e.width,height:r.height??e.height}}),Zf=Qe(()=>{const e=R.queries.logs.trim().toLocaleLowerCase();return R.logs.filter(t=>(!R.selectedUploadSession||t.uploadSessionId===R.selectedUploadSession)&&R.logFilters.sources[t.source]&&R.logFilters.levels[t.level]&&(!e||sc(t).includes(e)))}),Qf=Qe(()=>(R.selectedUploadSession?1:0)+Object.values(R.logFilters.sources).filter(e=>!e).length+Object.values(R.logFilters.levels).filter(e=>!e).length),mc=Qe(()=>{const e=new Map;for(const t of R.logs){if(t.id<=R.problemClearWatermark||!bc(t))continue;const r=_c(t),n=e.get(r);if(n){n.count+=t.repeatCount;continue}e.set(r,{...t,count:t.repeatCount})}return[...e.values()]}),qf=Qe(()=>mo(R.storage,R.queries.storage,e=>`${e.key} ${e.area} ${e.serializedValue}`)),eu=Qe(()=>mo(mc.value,R.queries.problems,e=>`${e.method} ${Yn(e.detail)}`));function tu(e){const t=lo(e);R.deviceSelectionId=t,R.previewMode=co(t),R.devicePresetId=Vr(t).id;try{localStorage.setItem(fo,t)}catch{}}function ru(e){const t=R.desktopWindow,r=Kr(e);if(t.declaration=e,t.minWidth=r.minWidth,t.minHeight=r.minHeight,!t.initialized){const s=ec({declared:e,memory:Ec()});t.width=s.width,t.height=s.height,t.resizable=s.resizable,t.initialized=!0;return}t.resizable=e?.resizable??xe.resizable;const n=zr({width:t.width,height:t.height},r);n.width!==void 0&&(t.width=n.width),n.height!==void 0&&(t.height=n.height)}function nu(e,t){R.desktopWindow.availableWidth=Rs(e),R.desktopWindow.availableHeight=Rs(t)}function su(e,t,r={}){const n=R.desktopWindow;if(n.maximized)return;const s=zr({width:e,height:t},Kr(n.declaration));s.width!==void 0&&(n.width=s.width),s.height!==void 0&&(n.height=s.height),r.persist&&Ic(n)}function iu(e){R.desktopWindow.maximized=e===!0}function ou(e){R.desktopWindow.minimized=e===!0}function au(e){R.desktopWindow.closed=e===!0}function lu(e){R.hostPlatform=e}function cu(e){R.navigationBarStyle=e}function fu(e){R.display.orientation=e.orientation,R.display.capsuleHidden=e.capsuleHidden}function uu(e){R.desktopLaunch.target=e;try{localStorage.setItem(ho,e)}catch{}}function du(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 ks=500;function hu(e,t){if(!Number.isSafeInteger(t)||t<1)throw new Error("服务端日志游标无效");R.logs.some(r=>r.id===t)||go(e,t)}function pu(e){go(e,Ir+1)}function go(e,t){Ir=Math.max(Ir,t);const r=R.logs.at(-1);if(e.dedupeKey&&r&&r.uploadSessionId===e.uploadSessionId&&Pn===e.dedupeKey){const{dedupeKey:n,...s}=e;Object.assign(r,s,{id:t,repeatCount:r.repeatCount+1})}else{const{dedupeKey:n,...s}=e;R.logs.push({...s,id:t,firstTimestamp:s.timestamp,repeatCount:1}),Pn=n}R.followLogs||(R.pausedLogCount+=1),R.logs.length>ks&&R.logs.splice(0,R.logs.length-ks)}function gu(){R.logs.length=0,R.pausedLogCount=0,Pn=void 0}function mu(){R.problemClearWatermark=Ir}function bu(e){R.followLogs=e,e&&(R.pausedLogCount=0)}function _u(e){R.logFilters.levels[e]=!R.logFilters.levels[e]}function yu(e){R.logFilters.sources[e]=!R.logFilters.sources[e]}function wu(){R.selectedUploadSession="";for(const e of so)R.logFilters.levels[e.id]=!0;for(const e of no)R.logFilters.sources[e.id]=!0}function vu(e){const t=Math.min(560,Math.max(320,Math.round(e)));R.diagnosticsWidth=t;try{localStorage.setItem(uo,String(t))}catch{}}function bc(e){return/error|failed|security|violation|blocked/i.test(e.method)?!0:e.outcome==="error"||e.outcome==="denied"}function _c(e){const t=Sr(e.detail)?e.detail:void 0,r=Sr(t?.network)?t.network:void 0,n=[r?.method,r?.origin,r?.pathname,t?.origin,t?.sanitizedPathname].find(s=>typeof s=="string");return`${e.method}\0${e.errorCode??""}\0${n??""}`}function Sr(e){return Object.prototype.toString.call(e)==="[object Object]"}function yc(){try{return localStorage.getItem(fo)}catch{return null}}function wc(){try{const e=Number(localStorage.getItem(uo));return Number.isFinite(e)&&e>0?Math.min(560,Math.max(320,e)):400}catch{return 400}}function vc(){try{return localStorage.getItem(ho)==="debug"?"debug":"production"}catch{return"production"}}function Rs(e){return Number.isFinite(e)?Math.max(0,Math.round(e)):0}function ur(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>0&&e<=Ct?e:void 0}function Ec(){let e;try{e=localStorage.getItem(po)}catch{return}if(!e)return;let t;try{t=JSON.parse(e)}catch{return}if(!Sr(t))return;const r=ur(t.width),n=ur(t.height),s=Sr(t.defaultsAtWrite)?t.defaultsAtWrite:void 0,i=s?ur(s.width):void 0,o=s?ur(s.height):void 0;if(!(r===void 0||n===void 0||i===void 0||o===void 0))return{width:r,height:n,defaultsAtWrite:{width:i,height:o},updatedAt:typeof t.updatedAt=="number"&&Number.isFinite(t.updatedAt)?t.updatedAt:0}}function Ic(e){const t={width:e.width,height:e.height,defaultsAtWrite:ro(e.declaration),updatedAt:Date.now()};try{localStorage.setItem(po,JSON.stringify(t))}catch{}}function Ls(e){return Object.fromEntries(e.map(t=>[t.id,!0]))}function mo(e,t,r){const n=t.trim().toLocaleLowerCase();return n?e.filter(s=>r(s).toLocaleLowerCase().includes(n)):e}const Eu="/__hb_sdk__/preview",Iu={device:'[data-preview-target="device"]',screen:'[data-preview-target="screen"]',app:"#device iframe",workbench:'[data-testid="workbench-root"]'},Su=["normal","cancel","system-permission-denied","prepare-failure","preview-unavailable"],Au={normal:"正常选择",cancel:"模拟取消","system-permission-denied":"模拟系统拒绝","prepare-failure":"模拟准备失败","preview-unavailable":"模拟预览不可用"};function Tu(e={}){const t=e.source??Pc(e.document??document),r=e.readMetadata??kc,n=e.createPreviewUrl??(u=>URL.createObjectURL(u)),s=e.revokePreviewUrl??(u=>URL.revokeObjectURL(u)),i=new WeakMap,o=new Set,a=u=>{if(!(!u||!o.has(u))){o.delete(u);try{s(u)}catch{}}},l=()=>{for(const u of[...o])a(u)};return e.signal?.addEventListener("abort",l,{once:!0}),{async pick(u,f){switch(Nt(f.signal),e.getMode?.()??"normal"){case"cancel":throw ne("MEDIA_PICKER_CANCELLED","用户取消了媒体选择");case"system-permission-denied":throw ne("MEDIA_SYSTEM_PERMISSION_DENIED","系统未授予相机或相册权限");case"prepare-failure":throw ne("MEDIA_PREPARE_FAILED","媒体准备失败,未保留部分结果");case"preview-unavailable":throw ne("MEDIA_PREVIEW_UNAVAILABLE","当前 Host 无法提供受控媒体预览")}const h=u.source==="camera"?[await t.capture({mediaType:u.mediaType})]:await Sc(t,u);if(Nt(f.signal),u.source==="camera"&&h.length!==1)throw ne("MEDIA_PREPARE_FAILED","相机模拟必须恰好返回 1 项");const m=[];try{for(const w of h)Nt(f.signal),m.push(await Tc(w,u,f.signal,r,n,i,o));Nt(f.signal)}catch(w){for(const P of m)a(i.get(P.file));throw w}return m},release(u){for(const f of u)a(i.get(f.file))}}}async function Sc(e,t){const r=await e.pickAlbum({accept:Ac(t.mediaType),maxCount:t.maxCount,multiple:t.maxCount>1});if(!r||r.length===0)throw ne("MEDIA_PICKER_CANCELLED","用户取消了媒体选择");if(r.length>t.maxCount)throw ne("MEDIA_PREPARE_FAILED",`本次选择 ${r.length} 项,超过 maxCount ${t.maxCount}`);return r}function Ac(e){switch(e){case"image":return"image/*";case"video":return"video/*";default:return"image/*,video/*"}}async function Tc(e,t,r,n,s,i,o){const a=Dc(e.type);if(!a)throw ne("MEDIA_PREPARE_FAILED",`浏览器未提供可识别的媒体类型: ${e.name}`);if(t.mediaType!=="all"&&t.mediaType!==a)throw ne("MEDIA_PREPARE_FAILED",`所选媒体 ${e.name} 与 mediaType 不匹配`);const l=await n(e);Nt(r);const u=Ms(l.width),f=Ms(l.height);if(u===void 0||f===void 0)throw ne("MEDIA_PREPARE_FAILED",`无法读取 ${e.name} 的显示尺寸`);if(a==="video"){if(Os(l.durationMs)===void 0)throw ne("MEDIA_PREPARE_FAILED",`无法读取 ${e.name} 的视频时长`)}else if(l.durationMs!==void 0)throw ne("MEDIA_PREPARE_FAILED",`图片 ${e.name} 不应携带视频时长`);const h=s(e);if(!h)throw ne("MEDIA_PREVIEW_UNAVAILABLE","无法提供受控媒体预览");const m=xc(e);i.set(m,h),o.add(h);const w={type:a,mimeType:e.type,size:e.size,width:u,height:f,previewUrl:h,file:m};return a==="video"?{...w,durationMs:Os(l.durationMs)}:w}function Dc(e){if(e.startsWith("image/"))return"image";if(e.startsWith("video/"))return"video"}function xc(e){const t=()=>Promise.reject(Object.assign(new Error("Browser Dev Host 媒体句柄只读"),{code:"FILE_ACCESS_DENIED"}));return{kind:"file",name:e.name,mode:"read",create:t,read:async()=>new Uint8Array(await e.arrayBuffer()),write:t,stat:async()=>({kind:"file",size:e.size,...e.lastModified?{modifiedAt:e.lastModified}:{}})}}function Pc(e=document){return{pickAlbum(t){return new Promise(r=>{const n=e.createElement("input");n.type="file",n.accept=t.accept,n.multiple=t.multiple,n.style.display="none";let s=!1;const i=()=>{n.removeEventListener("change",a),n.removeEventListener("cancel",l),n.remove()},o=u=>{s||(s=!0,i(),r(u))},a=()=>o(n.files?Array.from(n.files):[]),l=()=>o(void 0);n.addEventListener("change",a),n.addEventListener("cancel",l),e.body.append(n),n.click()})},capture(t){return t.mediaType==="video"?Cc():Oc()}}}async function kc(e){return e.type.startsWith("video/")?Lc(e):Rc(e)}async function Rc(e){if(typeof globalThis.createImageBitmap=="function"){const r=await globalThis.createImageBitmap(e),n={width:r.width,height:r.height};return r.close?.(),n}const t=URL.createObjectURL(e);try{const r=new Image;return await new Promise((n,s)=>{r.onload=()=>n(),r.onerror=()=>s(ne("MEDIA_PREPARE_FAILED","无法解码所选图片")),r.src=t}),{width:r.naturalWidth,height:r.naturalHeight}}finally{URL.revokeObjectURL(t)}}async function Lc(e){const t=URL.createObjectURL(e),r=document.createElement("video");r.preload="metadata";try{await new Promise((s,i)=>{r.onloadedmetadata=()=>s(),r.onerror=()=>i(ne("MEDIA_PREPARE_FAILED","无法读取所选视频元数据")),r.src=t});let n=r.duration;return Number.isFinite(n)||(n=await Mc(r)),{width:r.videoWidth,height:r.videoHeight,durationMs:Number.isFinite(n)?Math.max(0,Math.round(n*1e3)):0}}finally{r.removeAttribute("src"),URL.revokeObjectURL(t)}}function Mc(e){return new Promise(t=>{const r=()=>{e.removeEventListener("durationchange",r),e.removeEventListener("timeupdate",r),t(e.duration)};e.addEventListener("durationchange",r),e.addEventListener("timeupdate",r),e.currentTime=1e101})}async function Oc(){const e=document.createElement("canvas");e.width=640,e.height=480;const t=e.getContext("2d");if(!t)throw ne("MEDIA_PREPARE_FAILED","当前浏览器不支持 2D 画布");const r=t.createLinearGradient(0,0,e.width,e.height);r.addColorStop(0,"#2b2b3a"),r.addColorStop(1,"#0f7b6c"),t.fillStyle=r,t.fillRect(0,0,e.width,e.height),t.fillStyle="#ffffff",t.font="28px sans-serif",t.fillText("Browser Dev Host 模拟拍摄",40,e.height/2);const n=await new Promise(s=>e.toBlob(s,"image/png"));if(!n)throw ne("MEDIA_PREPARE_FAILED","无法生成测试图片");return new File([n],"browser-dev-camera.png",{type:"image/png"})}async function Cc(){const e=document.createElement("canvas");e.width=320,e.height=240;const t=e.getContext("2d");if(!t)throw ne("MEDIA_PREPARE_FAILED","当前浏览器不支持 2D 画布");const r=e.captureStream?.bind(e),n=globalThis.MediaRecorder;if(!r||!n)throw ne("MEDIA_PREPARE_FAILED","当前浏览器不支持 MediaRecorder 视频模拟");const s=r.call(e,12),i=new n(s,{mimeType:Nc(n)}),o=[],a=new Promise((f,h)=>{i.ondataavailable=m=>{m.data.size>0&&o.push(m.data)},i.onstop=()=>f(),i.onerror=()=>h(ne("MEDIA_PREPARE_FAILED","模拟拍摄录制失败"))});i.start();const l=Date.now();await Fc(t,e,()=>Date.now()-l<900),i.stop(),await a;for(const f of s.getTracks())f.stop();const u=new Blob(o,{type:i.mimeType||"video/webm"});if(u.size===0)throw ne("MEDIA_PREPARE_FAILED","模拟拍摄未生成视频数据");return new File([u],"browser-dev-camera.webm",{type:u.type})}function Nc(e){for(const t of["video/webm;codecs=vp8","video/webm","video/mp4"])if(e.isTypeSupported?.(t))return t;return"video/webm"}async function Fc(e,t,r){for(;r();){const n=Math.min(1,Date.now()%900/900);e.fillStyle="#101820",e.fillRect(0,0,t.width,t.height),e.fillStyle=`rgb(${Math.round(40+n*180)}, 120, ${Math.round(200-n*120)})`,e.fillRect(0,t.height*(1-n),t.width,8),e.fillStyle="#ffffff",e.font="18px sans-serif",e.fillText("模拟拍摄中",24,t.height/2),await new Promise(s=>setTimeout(s,60))}}function Nt(e){if(e.aborted){const t=new Error("Browser Dev Host 媒体选择已取消");throw t.name="AbortError",t}}function ne(e,t){const r=new Error(t);return r.name="BrowserDevMediaError",r.code=e,r}function Ms(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>0?e:void 0}function Os(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:void 0}const Wc=/^[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",Bc="open",Uc=2048,$c="hb_sdk_manifest_token",jc=/^[A-Za-z0-9_-]{43}$/,Vc=/^[a-f0-9]{32}$/;function Du(e){const t=Kc(e.miniProgramId);if(e.devSessionId!==void 0&&!Vc.test(e.devSessionId))throw new TypeError("Desktop dev session id is invalid");const r=bo(e.address.appUrl),n=e.miniProgramManifestToken?.trim();if(n&&!jc.test(n))throw new TypeError("Desktop mini-program manifest token is invalid");const s=e.target==="debug"?"heybox-debug":"heybox",i=new URL(`${s}://v1/extensions/${Hc}/${Bc}`);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),n&&i.searchParams.set($c,n),i.href}function xu(e){return{address:"127.0.0.1",appUrl:bo(e),id:"loopback",name:"本机"}}function bo(e){if(typeof e!="string"||e!==e.trim()||new TextEncoder().encode(e).byteLength>Uc)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 Kc(e){const t=e.trim().toLowerCase();if(!Wc.test(t))throw new TypeError("Desktop mini-program id is invalid");return t}export{qf as $,Mf as A,Au as B,me as C,sr as D,Yi as E,Se as F,vn as G,Tf as H,kf as I,jf as J,Tu as K,pl as L,Du as M,xu as N,If as O,Eu as P,Ef as Q,hl as R,Ee as S,cf as T,ia as U,uf as V,so as W,Qc as X,pe as Y,Zf as Z,eu as _,Su as a,ou as a$,zf as a0,Gf as a1,rr as a2,Lo as a3,dl as a4,Sf as a5,Wf as a6,It as a7,Xc as a8,hr as a9,qc as aA,Ai as aB,Ma as aC,wn as aD,mc as aE,Yf as aF,ba as aG,Or as aH,Of as aI,Qt as aJ,ea as aK,Cf as aL,Df as aM,Rf as aN,pf as aO,gf as aP,Hf as aQ,wu as aR,hf as aS,Vf as aT,Yn as aU,Uf as aV,uu as aW,du as aX,nu as aY,au as aZ,iu as a_,Jr as aa,F as ab,H as ac,Ln as ad,X as ae,Rn as af,ae as ag,Ns as ah,Jc as ai,le as aj,De as ak,kr as al,Zc as am,So as an,qo as ao,yf as ap,wf as aq,gl as ar,ha as as,Pr as at,Yc as au,xr as av,rc as aw,Ra as ax,Si as ay,Ii as az,ff as b,su as b0,tu as b1,vu as b2,bu as b3,lu as b4,fu as b5,cu as b6,ef as b7,ta as b8,Ff as b9,R as bA,Nf as ba,Ro as bb,dr as bc,mf as bd,Gc as be,sf as bf,nf as bg,rf as bh,_u as bi,yu as bj,tf as bk,Wn as bl,_f as bm,df as bn,vf as bo,bf as bp,Bf as bq,Tl as br,xf as bs,Pf as bt,en as bu,af as bv,lf as bw,ma as bx,of as by,Af as bz,Ta as c,oe as d,Kf as e,Gn as f,Cl as g,Lf as h,Iu as i,no as j,Xf as k,Jf as l,gc as m,Qf as n,pu as o,hu as p,ru as q,zn as r,$f as s,je as t,ke as u,On as v,gu as w,mu as x,tt as y,Qe as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.hb-avatar{position:relative;box-sizing:border-box;display:inline-flex;flex-shrink:0}.hb-avatar__clip{display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden;background:var(--hb-color-bg-surface);border-radius:50%}.hb-avatar__img{display:block;width:100%;height:100%;object-fit:cover}.hb-avatar__fallback{width:66%;height:66%;fill:var(--hb-color-icon-tertiary)}.hb-avatar--logged-out .hb-avatar__fallback{fill:var(--hb-color-icon-disabled)}.hb-avatar__frame{position:absolute;top:50%;left:50%;width:135.3%;height:135.3%;object-fit:contain;pointer-events:none;transform:translate(-50%,-50%)}.splitpanes{width:100%;height:100%;display:flex}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging .splitpanes__pane{-webkit-user-select:none;user-select:none;pointer-events:none}:has(.splitpanes--dragging){-webkit-user-select:none;user-select:none;pointer-events:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--ready .splitpanes__pane{will-change:width,height;transition:width .2s ease-out,height .2s ease-out}.splitpanes--ready.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes__splitter:focus{outline:none}.splitpanes--vertical>.splitpanes__splitter{cursor:col-resize;min-width:1px}.splitpanes--horizontal>.splitpanes__splitter{cursor:row-resize;min-height:1px}.default-theme.splitpanes .splitpanes__pane{background-color:#f2f2f2}.default-theme.splitpanes .splitpanes__splitter{box-sizing:border-box;background-color:#fff;flex-shrink:0;position:relative}.default-theme.splitpanes .splitpanes__splitter:focus-visible{outline-offset:-2px;outline:2px solid #3b82f6}.default-theme.splitpanes .splitpanes__splitter:before,.default-theme.splitpanes .splitpanes__splitter:after{content:"";background-color:#00000026;transition:background-color .3s;position:absolute;top:50%;left:50%}.default-theme.splitpanes .splitpanes__splitter:hover:before,.default-theme.splitpanes .splitpanes__splitter:hover:after{background-color:#00000040}.default-theme.splitpanes .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{border-left:1px solid #eee;width:7px;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{width:1px;height:30px;transform:translateY(-50%)}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{border-top:1px solid #eee;height:7px;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{width:30px;height:1px;transform:translate(-50%)}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.desktop-window{position:relative;flex:none;overflow:hidden;border-radius:8px;background:var(--hb-color-bg-surface);box-shadow:0 0 0 1px #ffffff26,0 3px 24px #0000004d}.desktop-window.desktop-window--resizing{-webkit-user-select:none;user-select:none}.desktop-window .desktop-window__surface{display:flex;flex-direction:column;overflow:hidden;transform-origin:top left}.desktop-window .desktop-window__titlebar{position:relative;display:flex;flex:none;align-items:center;justify-content:space-between;box-sizing:border-box;padding:8px 6px 8px 16px;gap:8px;background:linear-gradient(#ffffff08,#ffffff08),#2a2d33;box-shadow:inset 0 -1px #ffffff0d;-webkit-user-select:none;user-select:none}.desktop-window .desktop-window__identity{display:flex;flex:1 1 0;min-width:0;height:32px;align-items:center;gap:8px;overflow:hidden}.desktop-window .desktop-window__app-icon{position:relative;display:grid;width:24px;height:24px;flex:none;overflow:hidden;place-items:center;border-radius:4px;color:#fff;background:#ffffff1a;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:14px;line-height:normal;letter-spacing:0px}.desktop-window .desktop-window__app-icon img{width:100%;height:100%;object-fit:cover}.desktop-window .desktop-window__app-icon.desktop-window__app-icon--large{width:46px;height:46px}.desktop-window .desktop-window__title{max-width:180px;min-width:0;overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:14px;line-height:normal;letter-spacing:0px}.desktop-window .desktop-window__watermark{position:absolute;left:50%;display:grid;width:56px;height:16px;place-items:center;transform:translate(-50%);pointer-events:none}.desktop-window .desktop-window__watermark img{display:block}.desktop-window .desktop-window__controls{position:relative;display:flex;width:132px;height:32px;flex:none;align-items:center;padding:0 2px;overflow:hidden;border-radius:16px;box-shadow:inset 0 0 0 1px #ffffff1a}.desktop-window .desktop-window__control{position:relative;display:grid;width:32px;height:32px;flex:none;padding:0;place-items:center;border:0;background:transparent;cursor:pointer}.desktop-window .desktop-window__control img{position:relative;z-index:1;display:block;grid-area:1/1;pointer-events:none}.desktop-window .desktop-window__control+.desktop-window__control:before{position:absolute;top:8px;left:-1.25px;width:.5px;height:16px;background:#ffffff26;content:""}.desktop-window .desktop-window__control:after{position:absolute;inset:0;content:""}.desktop-window .desktop-window__control:first-child:after{left:-2px;border-radius:16px 0 0 16px}.desktop-window .desktop-window__control:last-child:after{right:-2px;border-radius:0 16px 16px 0}.desktop-window .desktop-window__control:hover:after{background:#ffffff0d}.desktop-window .desktop-window__control[data-state=open]:after,.desktop-window .desktop-window__control:active:after{background:#ffffff1a}.desktop-window .desktop-window__control:focus-visible{outline:none}.desktop-window .desktop-window__control:focus-visible:after{box-shadow:inset 0 0 0 1px var(--hb-color-brand-primary)}.desktop-window .desktop-window__control .desktop-window__close-active{display:none}.desktop-window .desktop-window__control.desktop-window__control--close:hover:after{background:var(--hb-color-status-danger)}.desktop-window .desktop-window__control.desktop-window__control--close:active:after{background:linear-gradient(#ffffff26,#ffffff26),var(--hb-color-status-danger)}.desktop-window .desktop-window__control.desktop-window__control--close:hover .desktop-window__close-idle{display:none}.desktop-window .desktop-window__control.desktop-window__control--close:hover .desktop-window__close-active{display:block}.desktop-window .desktop-window__more{z-index:5;width:min(334px,var(--desktop-window-width) - 16px);overflow:hidden;border-radius:8px;background:#0f1214e6;box-shadow:0 2px 15px #0000004d;outline:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.desktop-window .desktop-window__more .desktop-window__more-header{position:relative;display:flex;height:78px;align-items:center;gap:12px;padding:16px;overflow:hidden;background:#ffffff0d}.desktop-window .desktop-window__more .desktop-window__spotlight{position:absolute;top:-118px;left:-92px;pointer-events:none}.desktop-window .desktop-window__more .desktop-window__more-info{position:relative;display:grid;min-width:0;gap:4px}.desktop-window .desktop-window__more .desktop-window__more-info strong,.desktop-window .desktop-window__more .desktop-window__more-info span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desktop-window .desktop-window__more .desktop-window__more-info strong{color:#d5d7d9;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:14px;line-height:normal;letter-spacing:0px}.desktop-window .desktop-window__more .desktop-window__more-info span{color:#888a8e;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:12px;line-height:16px;letter-spacing:0px;line-height:18px}.desktop-window .desktop-window__more .desktop-window__more-actions{display:flex;align-items:center;justify-content:center;gap:16px;padding:20px 16px}.desktop-window .desktop-window__more .desktop-window__more-action{display:grid;width:62px;flex:none;justify-items:center;gap:8px;padding:0;border:0;color:#9b9fa2;background:transparent;cursor:pointer;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:12px;line-height:16px;letter-spacing:0px;line-height:18px;white-space:nowrap}.desktop-window .desktop-window__more .desktop-window__more-action:hover .desktop-window__action-icon{background:#373a40}.desktop-window .desktop-window__more .desktop-window__more-action:active .desktop-window__action-icon{background:#41454b}.desktop-window .desktop-window__more .desktop-window__more-action:focus-visible{outline:none}.desktop-window .desktop-window__more .desktop-window__more-action:focus-visible .desktop-window__action-icon{box-shadow:inset 0 0 0 1px var(--hb-color-brand-primary)}.desktop-window .desktop-window__more .desktop-window__action-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:50%;background:#26282d}.desktop-window .desktop-window__more .desktop-window__action-icon img{display:block}.desktop-window__content{position:relative;display:grid;flex:1 1 auto;grid-template-rows:minmax(0,1fr);min-height:0;overflow:hidden;background:var(--hb-color-bg-surface)}.desktop-window__resize{position:absolute;z-index:4;touch-action:none}.desktop-window__resize--n,.desktop-window__resize--s{right:10px;left:10px;height:8px;cursor:ns-resize}.desktop-window__resize--n{top:0}.desktop-window__resize--s{bottom:0}.desktop-window__resize--e,.desktop-window__resize--w{top:10px;bottom:10px;width:8px;cursor:ew-resize}.desktop-window__resize--e{right:0}.desktop-window__resize--w{left:0}.desktop-window__resize--ne,.desktop-window__resize--nw,.desktop-window__resize--se,.desktop-window__resize--sw{width:10px;height:10px}.desktop-window__resize--ne{top:0;right:0;cursor:nesw-resize}.desktop-window__resize--nw{top:0;left:0;cursor:nwse-resize}.desktop-window__resize--se{right:0;bottom:0;cursor:nwse-resize}.desktop-window__resize--sw{bottom:0;left:0;cursor:nesw-resize}.hb-v2-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:1em;height:1em;line-height:1;color:inherit;vertical-align:-.125em}.hb-v2-icon svg{display:block;width:1em;height:1em;fill:currentColor;vertical-align:0}.hb-v2-icon svg [stroke]:not([stroke=none]){stroke:currentColor}.hb-v2-icon svg [fill]:not([fill=none]){fill:currentColor}.hb-v2-icon--spin svg{animation:hb-v2-icon-spin 1s linear infinite}@keyframes hb-v2-icon-spin{to{transform:rotate(1turn)}}.hb-v2-toast__wrapper{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none}.hb-v2-toast{display:flex;align-items:center;justify-content:center;box-sizing:border-box;margin:0;font-family:PingFang SC,Helvetica Neue,Arial,sans-serif;font-size:13px;font-weight:400;line-height:17px;letter-spacing:0;text-align:center;pointer-events:auto}.hb-v2-toast__wrapper-click-through .hb-v2-toast{pointer-events:none}.hb-v2-toast-default,.hb-v2-toast-loading{flex-direction:column;gap:10px;min-width:92px;min-height:91px;max-width:220px;padding:20px;color:var(--hb-color-text-inverse);background:var(--hb-color-bg-toast);border-radius:12px;-webkit-backdrop-filter:blur(12.5px);backdrop-filter:blur(12.5px)}.hb-v2-toast-loading{min-height:101px}.hb-v2-toast-loading-icon-only{gap:0;min-width:0;min-height:0;width:74px;height:74px;padding:20px}.hb-v2-toast__icon{font-size:24px;line-height:24px}.hb-v2-toast__text{position:relative;z-index:1;max-width:180px;color:inherit;overflow-wrap:break-word}.hb-v2-toast__spinner{display:flex;align-items:center;justify-content:center;width:34px;height:34px}.hb-v2-toast__spinner-circular{display:block;width:34px;height:34px;animation:hb-v2-toast-loading-rotate 2s linear infinite}.hb-v2-toast__spinner-bg{stroke:var(--hb-color-game-record-white-30);stroke-width:2.5}.hb-v2-toast__spinner-path{stroke:var(--hb-color-game-record-white-100);stroke-linecap:round;stroke-width:2.5;animation:hb-v2-toast-spin-round 1.5s linear infinite}.hb-v2-toast-fade-enter-active,.hb-v2-toast-fade-leave-active{transition:opacity .16s cubic-bezier(0,0,.58,1)}.hb-v2-toast-fade-enter-from,.hb-v2-toast-fade-leave-to{opacity:0}@keyframes hb-v2-toast-loading-rotate{to{transform:rotate(1turn)}}@keyframes hb-v2-toast-spin-round{0%{stroke-dasharray:20,132;stroke-dashoffset:0}50%{stroke-dasharray:90,62;stroke-dashoffset:-60px}to{stroke-dasharray:20,132;stroke-dashoffset:-152px}}.local-permissions[data-v-de523d18]{color:var(--hb-color-text-secondary);font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.local-permissions .local-permissions__warning[data-v-de523d18]{margin:0 0 10px;line-height:1.6;overflow-wrap:anywhere}.local-permissions .local-permissions__entries[data-v-de523d18]{display:grid;gap:10px}.local-permissions .local-permissions__entry[data-v-de523d18]{padding-top:10px;border-top:1px solid var(--hb-color-border-muted)}.local-permissions .local-permissions__entry-heading[data-v-de523d18]{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--hb-color-text-primary)}.local-permissions .local-permissions__state[data-v-de523d18]{color:var(--hb-color-text-secondary)}.local-permissions .local-permissions__reason[data-v-de523d18]{margin:4px 0;color:var(--hb-color-text-tertiary);overflow-wrap:anywhere}.local-permissions .local-permissions__apply[data-v-de523d18]{display:inline-block;margin-top:4px;color:var(--hb-color-brand-primary);text-decoration:none;white-space:nowrap}.local-permissions .local-permissions__apply[data-v-de523d18]:hover{text-decoration:underline;text-underline-offset:2px}.sandbox-panel[data-v-a21e7810]{height:100%;overflow:auto;padding:12px;color:var(--hb-color-text-primary);font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.sandbox-panel__toolbar[data-v-a21e7810]{display:flex;height:40px;align-items:center;gap:4px;margin:8px 0 4px;border-bottom:1px solid var(--hb-color-border-muted)}.sandbox-panel__path[data-v-a21e7810]{display:flex;min-width:0;flex:1;align-items:center;gap:6px;overflow:hidden;color:var(--hb-color-text-secondary);text-overflow:ellipsis;white-space:nowrap}.sandbox-panel__row[data-v-a21e7810]{display:flex;align-items:center;gap:8px}.sandbox-panel__entry[data-v-a21e7810]{display:flex;width:100%;min-height:34px;align-items:center;gap:8px;padding:6px 8px;border:0;border-radius:6px;color:var(--hb-color-text-primary);background:transparent;text-align:left;cursor:pointer}.sandbox-panel__entry[data-v-a21e7810]:hover:not(:disabled){background:var(--hb-color-bg-subtle)}.sandbox-panel__entry[data-v-a21e7810]:disabled{color:var(--hb-color-text-secondary);cursor:default}.sandbox-panel__entry-name[data-v-a21e7810]{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sandbox-panel__entry-chevron[data-v-a21e7810]{color:var(--hb-color-text-tertiary)}.sandbox-panel__empty[data-v-a21e7810]{display:grid;min-height:120px;place-content:center;justify-items:center;gap:8px;color:var(--hb-color-text-tertiary)}.sandbox-panel__notice[data-v-a21e7810]{margin:8px;color:var(--hb-color-text-tertiary)}.sandbox-panel__spin[data-v-a21e7810]{animation:sandbox-spin-a21e7810 .9s linear infinite}@keyframes sandbox-spin-a21e7810{to{transform:rotate(360deg)}}.preview-connection[data-v-16a48ddc]{display:grid;min-width:0;gap:6px;color:var(--hb-color-text-primary);font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.preview-connection .preview-connection__fields[data-v-16a48ddc]{display:grid;margin:0 0 6px;gap:7px}.preview-connection .preview-connection__field[data-v-16a48ddc]{display:grid;grid-template-columns:74px minmax(0,1fr);gap:8px}.preview-connection .preview-connection__field dt[data-v-16a48ddc]{color:var(--hb-color-text-secondary)}.preview-connection .preview-connection__field dd[data-v-16a48ddc]{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-connection .preview-connection__message[data-v-16a48ddc]{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-connection .preview-connection__message--error[data-v-16a48ddc]{color:var(--hb-color-status-danger)}.preview-connection .preview-connection__hint[data-v-16a48ddc]{margin:0;overflow:hidden;color:var(--hb-color-text-tertiary);text-overflow:ellipsis;white-space:nowrap}.workbench-log-filters{display:grid;gap:9px}.workbench-log-filters .workbench-select{flex:1}.workbench-log-filters fieldset{display:grid;grid-template-columns:1fr 1fr;margin:0;padding:0;border:0;gap:2px 6px}.workbench-log-filters legend{grid-column:1/-1;width:100%;padding:2px 4px 4px;color:var(--hb-color-text-tertiary);font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:10px;line-height:13px;letter-spacing:0px}.workbench-log-filters label{display:flex;min-width:0;min-height:28px;align-items:center;padding:0 4px;border-radius:5px;color:var(--hb-color-text-secondary);gap:6px;cursor:pointer;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.workbench-log-filters label:hover{background:var(--hb-color-bg-subtle)}.workbench-log-filters input{width:14px;height:14px;margin:0;accent-color:var(--hb-color-brand-primary)}.workbench-log-filters__reset{justify-self:end;min-height:28px;padding:0 7px;border:0;border-radius:5px;color:var(--hb-color-brand-primary);background:transparent;cursor:pointer;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:11px;line-height:16px;letter-spacing:0px}.workbench-log-filters__reset:hover:not(:disabled){background:var(--hb-color-bg-subtle)}.workbench-log-filters__reset:disabled{color:var(--hb-color-text-tertiary);cursor:default}.workbench-log-row{border-left:2px solid transparent}.workbench-log-row:hover,.workbench-log-row[open]{background:var(--hb-color-bg-subtle)}.workbench-log-row[data-level=warn]{border-left-color:#d97a06;background:#d97a0614}.workbench-log-row[data-level=error]{border-left-color:var(--hb-color-status-danger);background:#da2a2a14}.workbench-log-row__summary{display:grid;grid-template-columns:minmax(0,1fr) 13px;align-items:start;padding:6px 8px;gap:6px;cursor:pointer;list-style:none}.workbench-log-row__summary::-webkit-details-marker{display:none}.workbench-log-row__indicator{width:6px;height:6px;margin-top:5px;border-radius:50%;background:var(--hb-color-text-tertiary)}.workbench-log-row[data-level=info] .workbench-log-row__indicator{background:#2679d9}.workbench-log-row[data-level=warn] .workbench-log-row__indicator{background:#d97a06}.workbench-log-row[data-level=error] .workbench-log-row__indicator{background:var(--hb-color-status-danger)}.workbench-log-row__content{display:grid;min-width:0;gap:3px}.workbench-log-row__primary,.workbench-log-row__secondary{display:flex;min-width:0;align-items:center;gap:6px}.workbench-log-row__source{flex:0 0 auto;color:var(--hb-color-text-tertiary);font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:10px;line-height:13px;letter-spacing:0px}.workbench-log-row__method{flex:1 1 auto;min-width:0;overflow:hidden;color:var(--hb-color-text-tertiary);text-overflow:ellipsis;white-space:nowrap;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:10px;line-height:13px;letter-spacing:0px}.workbench-log-row__message{flex:1 1 auto;min-width:0;color:var(--hb-color-text-primary);white-space:pre-wrap;overflow-wrap:anywhere;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.workbench-log-row__outcome,.workbench-log-row__duration,.workbench-log-row__repeat{flex:0 0 auto;color:var(--hb-color-text-tertiary);font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:10px;line-height:13px;letter-spacing:0px}.workbench-log-row__outcome[data-outcome=success]{color:#16865b}.workbench-log-row__outcome[data-outcome=error],.workbench-log-row__outcome[data-outcome=denied]{color:var(--hb-color-status-danger)}.workbench-log-row__time{margin-top:1px;color:var(--hb-color-text-tertiary);white-space:nowrap;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:10px;line-height:13px;letter-spacing:0px}.workbench-log-row__chevron{margin-top:2px;color:var(--hb-color-text-tertiary);transition:transform .15s ease}.workbench-log-row[open] .workbench-log-row__chevron{transform:rotate(90deg)}.workbench-log-row__details{position:relative;padding:0 8px 8px}.workbench-log-row__metadata{display:flex;min-height:24px;align-items:center;padding-right:36px;color:var(--hb-color-text-tertiary);gap:10px;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:10px;line-height:13px;letter-spacing:0px}.workbench-log-row__details pre{max-height:220px;margin:0;overflow:auto;padding:8px 10px;border:1px solid var(--hb-color-border-muted);border-radius:6px;color:var(--hb-color-text-secondary);background:var(--hb-color-bg-surface);white-space:pre-wrap;overflow-wrap:anywhere;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:10px;line-height:13px;letter-spacing:0px}.workbench-log-row__details .workbench-icon-button{position:absolute;top:0;right:5px}.workbench-log-row__source,.workbench-log-row__method,.workbench-log-row__message,.workbench-log-row__outcome,.workbench-log-row__duration,.workbench-log-row__repeat,.workbench-log-row__time,.workbench-log-row__metadata,.workbench-log-row__details pre{font-family:var(--hb-sdk-workbench-font-mono);font-variant-numeric:tabular-nums}:root{--hb-sdk-workbench-control-size: 32px;--hb-sdk-workbench-control-radius: 8px;--hb-sdk-workbench-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;--hb-sdk-workbench-menu-radius: 10px}.workbench-icon-button{position:relative;display:grid;width:var(--hb-sdk-workbench-control-size);height:var(--hb-sdk-workbench-control-size);padding:0;place-items:center;border:1px solid var(--hb-color-border-muted);border-radius:var(--hb-sdk-workbench-control-radius);color:var(--hb-color-text-primary);background:var(--hb-color-bg-page);box-shadow:none;cursor:pointer;outline:none;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.workbench-icon-button:hover,.workbench-icon-button[data-state=open]{background:var(--hb-color-bg-subtle)}.workbench-icon-button:focus-visible{border-color:var(--hb-color-brand-primary);box-shadow:0 0 0 2px #006ef429}.workbench-icon-button:disabled,.workbench-icon-button[aria-disabled=true]{color:var(--hb-color-text-tertiary);cursor:not-allowed}.workbench-icon-button[data-variant=ghost]{border-color:transparent;background:transparent}.workbench-icon-button[data-variant=glass]{flex:none;border-color:#ffffffbf;border-radius:50%;background:#ffffff9e;box-shadow:0 7px 22px #1f232924,inset 0 0 0 .5px #fffc;-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4)}.workbench-tooltip{z-index:50;padding:5px 7px;border-radius:5px;color:#fff;background:#191b1feb;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:10px;line-height:13px;letter-spacing:0px}.workbench-popover{z-index:30;display:grid;width:270px;padding:14px;border:1px solid rgba(31,35,41,.09);border-radius:var(--hb-sdk-workbench-menu-radius);gap:10px;background:#fffffff5;box-shadow:0 18px 48px #1f23292e;outline:none;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.workbench-popover--compact{width:220px;padding:10px;gap:4px}.workbench-popover__heading{padding:0 2px;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:13px;line-height:17px;letter-spacing:0px}.workbench-menu-item{display:flex;min-width:0;min-height:34px;align-items:center;justify-content:space-between;padding:0 8px;border:0;border-radius:6px;color:var(--hb-color-text-primary);background:transparent;cursor:pointer;outline:none;text-decoration:none;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:12px;line-height:16px;letter-spacing:0px}.workbench-menu-item:hover,.workbench-menu-item:focus-visible,.workbench-menu-item[data-selected=true]{background:var(--hb-color-bg-subtle)}.workbench-menu-item:focus-visible{box-shadow:inset 0 0 0 1px var(--hb-color-brand-primary)}.workbench-menu-item[aria-disabled=true]{color:var(--hb-color-text-tertiary);cursor:not-allowed}.workbench-menu-item__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-select{display:flex;width:100%;min-width:0;height:var(--hb-sdk-workbench-control-size);align-items:center;gap:8px;padding:0 8px;border:1px solid var(--hb-color-border-muted);border-radius:var(--hb-sdk-workbench-control-radius);color:var(--hb-color-text-primary);background:var(--hb-color-bg-page);text-align:left;cursor:pointer;outline:none;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.workbench-select:hover,.workbench-select[data-state=open]{background:var(--hb-color-bg-subtle)}.workbench-select:focus-visible{border-color:var(--hb-color-brand-primary);box-shadow:0 0 0 2px #006ef429}.workbench-select .workbench-select__prefix{display:flex;flex:none;align-items:center;color:var(--hb-color-text-secondary)}.workbench-select .workbench-select__value{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-select[data-placeholder]{color:var(--hb-color-text-secondary)}.workbench-select--glass{border:1px solid rgba(255,255,255,.76);border-radius:14px;background:#ffffffad;box-shadow:0 7px 24px #1f23291f,inset 0 0 0 .5px #ffffffdb;-webkit-backdrop-filter:blur(18px) saturate(1.35);backdrop-filter:blur(18px) saturate(1.35)}.workbench-select-menu{z-index:50;min-width:var(--reka-select-trigger-width);max-width:min(420px,100vw - 24px);max-height:var(--reka-select-content-available-height);overflow:auto;padding:4px;border:1px solid var(--hb-color-border-muted);border-radius:var(--hb-sdk-workbench-menu-radius);color:var(--hb-color-text-primary);background:var(--hb-color-bg-surface);box-shadow:0 14px 36px #1f232929;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.workbench-select-menu .workbench-select-menu__empty{padding:9px;color:var(--hb-color-text-tertiary)}.workbench-select-item{display:grid;min-height:34px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 9px;border-radius:6px;outline:none;cursor:pointer}.workbench-select-item>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-select-item[data-highlighted]{background:var(--hb-color-bg-subtle)}.workbench-icon-button--status{display:flex;width:auto;min-width:0;height:24px;gap:5px;padding:0 6px;border-color:transparent;border-radius:5px;color:var(--hb-color-text-secondary);background:transparent;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.workbench-icon-button--status>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:root{--hb-radius-xs: 2px;--hb-radius-s: 3px;--hb-radius-m: 5px;--hb-radius-l: 8px;--hb-radius-xl: 12px;--hb-space-4: 4px;--hb-space-8: 8px;--hb-space-10: 10px;--hb-space-page-gutter: 12px;--hb-color-icon-primary: #14191e;--hb-color-icon-secondary: #64696e;--hb-color-icon-tertiary: #8c9196;--hb-color-icon-disabled: #c8cdd2;--hb-color-icon-inverse: #ffffff;--hb-color-text-primary: #14191e;--hb-color-text-secondary: #64696e;--hb-color-text-tertiary: #8c9196;--hb-color-text-placeholder: #c8cdd2;--hb-color-text-inverse: #ffffff;--hb-color-border-default: #f3f4f5;--hb-color-border-muted: #f1f2f3;--hb-color-border-strong: #dadde0;--hb-color-border-section: #fafbfc;--hb-color-border-inverse: #ffffff;--hb-color-bg-page: #ffffff;--hb-color-bg-surface: #fafbfc;--hb-color-bg-subtle: #f7f8f9;--hb-color-bg-muted: #f3f4f5;--hb-color-bg-raised: #f1f2f3;--hb-color-bg-chat: #f1f2f3;--hb-color-bg-control-secondary: #e7e8e9;--hb-color-bg-chat-bubble: #c4e4fc;--hb-color-bg-toast: rgba(57, 61, 64, .8980392157);--hb-color-bg-popmask: rgba(0, 0, 0, .5019607843);--hb-color-action-link: #004b96;--hb-color-action-link-subtle: rgba(0, 75, 150, .1019607843);--hb-color-brand-primary: #006ef4;--hb-color-status-danger: #fa3c4b;--hb-color-status-success: #32b846;--hb-color-game-price-coupon: #f67010;--hb-color-game-price-low: #32b846;--hb-color-game-price-new-low: #009015;--hb-color-platform-playstation: #0071ce;--hb-color-platform-steam: #021930;--hb-color-platform-switch: #e70012;--hb-color-platform-windows: #81bc0d;--hb-color-platform-xbox: #0f7c10;--hb-color-game-record-white-01: rgba(255, 255, 255, .01);--hb-color-game-record-black-01: rgba(0, 0, 0, .01);--hb-color-game-record-white-02: rgba(255, 255, 255, .02);--hb-color-game-record-black-02: rgba(0, 0, 0, .02);--hb-color-game-record-white-03: rgba(255, 255, 255, .03);--hb-color-game-record-black-03: rgba(0, 0, 0, .03);--hb-color-game-record-white-05: rgba(255, 255, 255, .05);--hb-color-game-record-black-05: rgba(0, 0, 0, .05);--hb-color-game-record-white-08: rgba(255, 255, 255, .08);--hb-color-game-record-black-08: rgba(0, 0, 0, .08);--hb-color-game-record-white-10: rgba(255, 255, 255, .1);--hb-color-game-record-black-10: rgba(0, 0, 0, .1);--hb-color-game-record-white-15: rgba(255, 255, 255, .15);--hb-color-game-record-black-15: rgba(0, 0, 0, .15);--hb-color-game-record-white-20: rgba(255, 255, 255, .2);--hb-color-game-record-black-20: rgba(0, 0, 0, .2);--hb-color-game-record-white-30: rgba(255, 255, 255, .3);--hb-color-game-record-black-30: rgba(0, 0, 0, .3);--hb-color-game-record-white-40: rgba(255, 255, 255, .4);--hb-color-game-record-black-40: rgba(0, 0, 0, .4);--hb-color-game-record-white-50: rgba(255, 255, 255, .5);--hb-color-game-record-black-50: rgba(0, 0, 0, .5);--hb-color-game-record-white-60: rgba(255, 255, 255, .6);--hb-color-game-record-black-60: rgba(0, 0, 0, .6);--hb-color-game-record-white-70: rgba(255, 255, 255, .7);--hb-color-game-record-black-70: rgba(0, 0, 0, .7);--hb-color-game-record-white-80: rgba(255, 255, 255, .8);--hb-color-game-record-black-80: rgba(0, 0, 0, .8);--hb-color-game-record-white-85: rgba(255, 255, 255, .85);--hb-color-game-record-black-85: rgba(0, 0, 0, .85);--hb-color-game-record-white-90: rgba(255, 255, 255, .9);--hb-color-game-record-black-90: rgba(0, 0, 0, .9);--hb-color-game-record-white-100: #ffffff;--hb-color-game-record-black-100: #000000;color-scheme:light}:root[data-hb-theme=light]{--hb-color-icon-primary: #14191e;--hb-color-icon-secondary: #64696e;--hb-color-icon-tertiary: #8c9196;--hb-color-icon-disabled: #c8cdd2;--hb-color-icon-inverse: #ffffff;--hb-color-text-primary: #14191e;--hb-color-text-secondary: #64696e;--hb-color-text-tertiary: #8c9196;--hb-color-text-placeholder: #c8cdd2;--hb-color-text-inverse: #ffffff;--hb-color-border-default: #f3f4f5;--hb-color-border-muted: #f1f2f3;--hb-color-border-strong: #dadde0;--hb-color-border-section: #fafbfc;--hb-color-border-inverse: #ffffff;--hb-color-bg-page: #ffffff;--hb-color-bg-surface: #fafbfc;--hb-color-bg-subtle: #f7f8f9;--hb-color-bg-muted: #f3f4f5;--hb-color-bg-raised: #f1f2f3;--hb-color-bg-chat: #f1f2f3;--hb-color-bg-control-secondary: #e7e8e9;--hb-color-bg-chat-bubble: #c4e4fc;--hb-color-bg-toast: rgba(57, 61, 64, .8980392157);--hb-color-bg-popmask: rgba(0, 0, 0, .5019607843);--hb-color-action-link: #004b96;--hb-color-action-link-subtle: rgba(0, 75, 150, .1019607843);--hb-color-brand-primary: #006ef4;--hb-color-status-danger: #fa3c4b;--hb-color-status-success: #32b846;--hb-color-game-price-coupon: #f67010;--hb-color-game-price-low: #32b846;--hb-color-game-price-new-low: #009015;--hb-color-platform-playstation: #0071ce;--hb-color-platform-steam: #021930;--hb-color-platform-switch: #e70012;--hb-color-platform-windows: #81bc0d;--hb-color-platform-xbox: #0f7c10;--hb-color-game-record-white-01: rgba(255, 255, 255, .01);--hb-color-game-record-black-01: rgba(0, 0, 0, .01);--hb-color-game-record-white-02: rgba(255, 255, 255, .02);--hb-color-game-record-black-02: rgba(0, 0, 0, .02);--hb-color-game-record-white-03: rgba(255, 255, 255, .03);--hb-color-game-record-black-03: rgba(0, 0, 0, .03);--hb-color-game-record-white-05: rgba(255, 255, 255, .05);--hb-color-game-record-black-05: rgba(0, 0, 0, .05);--hb-color-game-record-white-08: rgba(255, 255, 255, .08);--hb-color-game-record-black-08: rgba(0, 0, 0, .08);--hb-color-game-record-white-10: rgba(255, 255, 255, .1);--hb-color-game-record-black-10: rgba(0, 0, 0, .1);--hb-color-game-record-white-15: rgba(255, 255, 255, .15);--hb-color-game-record-black-15: rgba(0, 0, 0, .15);--hb-color-game-record-white-20: rgba(255, 255, 255, .2);--hb-color-game-record-black-20: rgba(0, 0, 0, .2);--hb-color-game-record-white-30: rgba(255, 255, 255, .3);--hb-color-game-record-black-30: rgba(0, 0, 0, .3);--hb-color-game-record-white-40: rgba(255, 255, 255, .4);--hb-color-game-record-black-40: rgba(0, 0, 0, .4);--hb-color-game-record-white-50: rgba(255, 255, 255, .5);--hb-color-game-record-black-50: rgba(0, 0, 0, .5);--hb-color-game-record-white-60: rgba(255, 255, 255, .6);--hb-color-game-record-black-60: rgba(0, 0, 0, .6);--hb-color-game-record-white-70: rgba(255, 255, 255, .7);--hb-color-game-record-black-70: rgba(0, 0, 0, .7);--hb-color-game-record-white-80: rgba(255, 255, 255, .8);--hb-color-game-record-black-80: rgba(0, 0, 0, .8);--hb-color-game-record-white-85: rgba(255, 255, 255, .85);--hb-color-game-record-black-85: rgba(0, 0, 0, .85);--hb-color-game-record-white-90: rgba(255, 255, 255, .9);--hb-color-game-record-black-90: rgba(0, 0, 0, .9);--hb-color-game-record-white-100: #ffffff;--hb-color-game-record-black-100: #000000;color-scheme:light}:root[data-hb-theme=dark]{--hb-color-icon-primary: #cccdce;--hb-color-icon-secondary: #9b9fa2;--hb-color-icon-tertiary: #858687;--hb-color-icon-disabled: #4f5459;--hb-color-icon-inverse: #101112;--hb-color-text-primary: #cccdce;--hb-color-text-secondary: #9b9fa2;--hb-color-text-tertiary: #858687;--hb-color-text-placeholder: #4f5459;--hb-color-text-inverse: #101112;--hb-color-border-default: #242628;--hb-color-border-muted: #2e3031;--hb-color-border-strong: #424547;--hb-color-border-section: #0b0c0e;--hb-color-border-inverse: #101112;--hb-color-bg-page: #101112;--hb-color-bg-surface: #151617;--hb-color-bg-subtle: #1e1f21;--hb-color-bg-muted: #242628;--hb-color-bg-raised: #2e3031;--hb-color-bg-chat: #1e1f21;--hb-color-bg-control-secondary: #373839;--hb-color-bg-chat-bubble: #1f2e4d;--hb-color-bg-toast: rgba(187, 191, 194, .8980392157);--hb-color-bg-popmask: rgba(21, 21, 21, .5019607843);--hb-color-action-link: #66b3ff;--hb-color-action-link-subtle: rgba(102, 179, 255, .1019607843);--hb-color-brand-primary: #006ef4;--hb-color-status-danger: #fa3c4b;--hb-color-status-success: #4cd964;--hb-color-game-price-coupon: #f67010;--hb-color-game-price-low: #32b846;--hb-color-game-price-new-low: #009015;--hb-color-platform-playstation: #0071ce;--hb-color-platform-steam: #234c75;--hb-color-platform-switch: #e70012;--hb-color-platform-windows: #81bc0d;--hb-color-platform-xbox: #0f7c10;--hb-color-game-record-white-01: rgba(0, 0, 0, .01);--hb-color-game-record-black-01: rgba(255, 255, 255, .01);--hb-color-game-record-white-02: rgba(0, 0, 0, .02);--hb-color-game-record-black-02: rgba(255, 255, 255, .02);--hb-color-game-record-white-03: rgba(0, 0, 0, .03);--hb-color-game-record-black-03: rgba(255, 255, 255, .03);--hb-color-game-record-white-05: rgba(0, 0, 0, .05);--hb-color-game-record-black-05: rgba(255, 255, 255, .05);--hb-color-game-record-white-08: rgba(0, 0, 0, .08);--hb-color-game-record-black-08: rgba(255, 255, 255, .08);--hb-color-game-record-white-10: rgba(0, 0, 0, .1);--hb-color-game-record-black-10: rgba(255, 255, 255, .1);--hb-color-game-record-white-15: rgba(0, 0, 0, .15);--hb-color-game-record-black-15: rgba(255, 255, 255, .15);--hb-color-game-record-white-20: rgba(0, 0, 0, .2);--hb-color-game-record-black-20: rgba(255, 255, 255, .2);--hb-color-game-record-white-30: rgba(0, 0, 0, .3);--hb-color-game-record-black-30: rgba(255, 255, 255, .3);--hb-color-game-record-white-40: rgba(0, 0, 0, .4);--hb-color-game-record-black-40: rgba(255, 255, 255, .4);--hb-color-game-record-white-50: rgba(0, 0, 0, .5);--hb-color-game-record-black-50: rgba(255, 255, 255, .5);--hb-color-game-record-white-60: rgba(0, 0, 0, .6);--hb-color-game-record-black-60: rgba(255, 255, 255, .6);--hb-color-game-record-white-70: rgba(0, 0, 0, .7);--hb-color-game-record-black-70: rgba(255, 255, 255, .7);--hb-color-game-record-white-80: rgba(0, 0, 0, .8);--hb-color-game-record-black-80: rgba(255, 255, 255, .8);--hb-color-game-record-white-85: rgba(0, 0, 0, .85);--hb-color-game-record-black-85: rgba(255, 255, 255, .85);--hb-color-game-record-white-90: rgba(0, 0, 0, .9);--hb-color-game-record-black-90: rgba(255, 255, 255, .9);--hb-color-game-record-white-100: #000000;--hb-color-game-record-black-100: #ffffff;color-scheme:dark}:root[data-hb-theme=auto]{--hb-color-icon-primary: #14191e;--hb-color-icon-secondary: #64696e;--hb-color-icon-tertiary: #8c9196;--hb-color-icon-disabled: #c8cdd2;--hb-color-icon-inverse: #ffffff;--hb-color-text-primary: #14191e;--hb-color-text-secondary: #64696e;--hb-color-text-tertiary: #8c9196;--hb-color-text-placeholder: #c8cdd2;--hb-color-text-inverse: #ffffff;--hb-color-border-default: #f3f4f5;--hb-color-border-muted: #f1f2f3;--hb-color-border-strong: #dadde0;--hb-color-border-section: #fafbfc;--hb-color-border-inverse: #ffffff;--hb-color-bg-page: #ffffff;--hb-color-bg-surface: #fafbfc;--hb-color-bg-subtle: #f7f8f9;--hb-color-bg-muted: #f3f4f5;--hb-color-bg-raised: #f1f2f3;--hb-color-bg-chat: #f1f2f3;--hb-color-bg-control-secondary: #e7e8e9;--hb-color-bg-chat-bubble: #c4e4fc;--hb-color-bg-toast: rgba(57, 61, 64, .8980392157);--hb-color-bg-popmask: rgba(0, 0, 0, .5019607843);--hb-color-action-link: #004b96;--hb-color-action-link-subtle: rgba(0, 75, 150, .1019607843);--hb-color-brand-primary: #006ef4;--hb-color-status-danger: #fa3c4b;--hb-color-status-success: #32b846;--hb-color-game-price-coupon: #f67010;--hb-color-game-price-low: #32b846;--hb-color-game-price-new-low: #009015;--hb-color-platform-playstation: #0071ce;--hb-color-platform-steam: #021930;--hb-color-platform-switch: #e70012;--hb-color-platform-windows: #81bc0d;--hb-color-platform-xbox: #0f7c10;--hb-color-game-record-white-01: rgba(255, 255, 255, .01);--hb-color-game-record-black-01: rgba(0, 0, 0, .01);--hb-color-game-record-white-02: rgba(255, 255, 255, .02);--hb-color-game-record-black-02: rgba(0, 0, 0, .02);--hb-color-game-record-white-03: rgba(255, 255, 255, .03);--hb-color-game-record-black-03: rgba(0, 0, 0, .03);--hb-color-game-record-white-05: rgba(255, 255, 255, .05);--hb-color-game-record-black-05: rgba(0, 0, 0, .05);--hb-color-game-record-white-08: rgba(255, 255, 255, .08);--hb-color-game-record-black-08: rgba(0, 0, 0, .08);--hb-color-game-record-white-10: rgba(255, 255, 255, .1);--hb-color-game-record-black-10: rgba(0, 0, 0, .1);--hb-color-game-record-white-15: rgba(255, 255, 255, .15);--hb-color-game-record-black-15: rgba(0, 0, 0, .15);--hb-color-game-record-white-20: rgba(255, 255, 255, .2);--hb-color-game-record-black-20: rgba(0, 0, 0, .2);--hb-color-game-record-white-30: rgba(255, 255, 255, .3);--hb-color-game-record-black-30: rgba(0, 0, 0, .3);--hb-color-game-record-white-40: rgba(255, 255, 255, .4);--hb-color-game-record-black-40: rgba(0, 0, 0, .4);--hb-color-game-record-white-50: rgba(255, 255, 255, .5);--hb-color-game-record-black-50: rgba(0, 0, 0, .5);--hb-color-game-record-white-60: rgba(255, 255, 255, .6);--hb-color-game-record-black-60: rgba(0, 0, 0, .6);--hb-color-game-record-white-70: rgba(255, 255, 255, .7);--hb-color-game-record-black-70: rgba(0, 0, 0, .7);--hb-color-game-record-white-80: rgba(255, 255, 255, .8);--hb-color-game-record-black-80: rgba(0, 0, 0, .8);--hb-color-game-record-white-85: rgba(255, 255, 255, .85);--hb-color-game-record-black-85: rgba(0, 0, 0, .85);--hb-color-game-record-white-90: rgba(255, 255, 255, .9);--hb-color-game-record-black-90: rgba(0, 0, 0, .9);--hb-color-game-record-white-100: #ffffff;--hb-color-game-record-black-100: #000000;color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-hb-theme]){--hb-color-icon-primary: #cccdce;--hb-color-icon-secondary: #9b9fa2;--hb-color-icon-tertiary: #858687;--hb-color-icon-disabled: #4f5459;--hb-color-icon-inverse: #101112;--hb-color-text-primary: #cccdce;--hb-color-text-secondary: #9b9fa2;--hb-color-text-tertiary: #858687;--hb-color-text-placeholder: #4f5459;--hb-color-text-inverse: #101112;--hb-color-border-default: #242628;--hb-color-border-muted: #2e3031;--hb-color-border-strong: #424547;--hb-color-border-section: #0b0c0e;--hb-color-border-inverse: #101112;--hb-color-bg-page: #101112;--hb-color-bg-surface: #151617;--hb-color-bg-subtle: #1e1f21;--hb-color-bg-muted: #242628;--hb-color-bg-raised: #2e3031;--hb-color-bg-chat: #1e1f21;--hb-color-bg-control-secondary: #373839;--hb-color-bg-chat-bubble: #1f2e4d;--hb-color-bg-toast: rgba(187, 191, 194, .8980392157);--hb-color-bg-popmask: rgba(21, 21, 21, .5019607843);--hb-color-action-link: #66b3ff;--hb-color-action-link-subtle: rgba(102, 179, 255, .1019607843);--hb-color-brand-primary: #006ef4;--hb-color-status-danger: #fa3c4b;--hb-color-status-success: #4cd964;--hb-color-game-price-coupon: #f67010;--hb-color-game-price-low: #32b846;--hb-color-game-price-new-low: #009015;--hb-color-platform-playstation: #0071ce;--hb-color-platform-steam: #234c75;--hb-color-platform-switch: #e70012;--hb-color-platform-windows: #81bc0d;--hb-color-platform-xbox: #0f7c10;--hb-color-game-record-white-01: rgba(0, 0, 0, .01);--hb-color-game-record-black-01: rgba(255, 255, 255, .01);--hb-color-game-record-white-02: rgba(0, 0, 0, .02);--hb-color-game-record-black-02: rgba(255, 255, 255, .02);--hb-color-game-record-white-03: rgba(0, 0, 0, .03);--hb-color-game-record-black-03: rgba(255, 255, 255, .03);--hb-color-game-record-white-05: rgba(0, 0, 0, .05);--hb-color-game-record-black-05: rgba(255, 255, 255, .05);--hb-color-game-record-white-08: rgba(0, 0, 0, .08);--hb-color-game-record-black-08: rgba(255, 255, 255, .08);--hb-color-game-record-white-10: rgba(0, 0, 0, .1);--hb-color-game-record-black-10: rgba(255, 255, 255, .1);--hb-color-game-record-white-15: rgba(0, 0, 0, .15);--hb-color-game-record-black-15: rgba(255, 255, 255, .15);--hb-color-game-record-white-20: rgba(0, 0, 0, .2);--hb-color-game-record-black-20: rgba(255, 255, 255, .2);--hb-color-game-record-white-30: rgba(0, 0, 0, .3);--hb-color-game-record-black-30: rgba(255, 255, 255, .3);--hb-color-game-record-white-40: rgba(0, 0, 0, .4);--hb-color-game-record-black-40: rgba(255, 255, 255, .4);--hb-color-game-record-white-50: rgba(0, 0, 0, .5);--hb-color-game-record-black-50: rgba(255, 255, 255, .5);--hb-color-game-record-white-60: rgba(0, 0, 0, .6);--hb-color-game-record-black-60: rgba(255, 255, 255, .6);--hb-color-game-record-white-70: rgba(0, 0, 0, .7);--hb-color-game-record-black-70: rgba(255, 255, 255, .7);--hb-color-game-record-white-80: rgba(0, 0, 0, .8);--hb-color-game-record-black-80: rgba(255, 255, 255, .8);--hb-color-game-record-white-85: rgba(0, 0, 0, .85);--hb-color-game-record-black-85: rgba(255, 255, 255, .85);--hb-color-game-record-white-90: rgba(0, 0, 0, .9);--hb-color-game-record-black-90: rgba(255, 255, 255, .9);--hb-color-game-record-white-100: #000000;--hb-color-game-record-black-100: #ffffff;color-scheme:dark}:root[data-hb-theme=auto]{--hb-color-icon-primary: #cccdce;--hb-color-icon-secondary: #9b9fa2;--hb-color-icon-tertiary: #858687;--hb-color-icon-disabled: #4f5459;--hb-color-icon-inverse: #101112;--hb-color-text-primary: #cccdce;--hb-color-text-secondary: #9b9fa2;--hb-color-text-tertiary: #858687;--hb-color-text-placeholder: #4f5459;--hb-color-text-inverse: #101112;--hb-color-border-default: #242628;--hb-color-border-muted: #2e3031;--hb-color-border-strong: #424547;--hb-color-border-section: #0b0c0e;--hb-color-border-inverse: #101112;--hb-color-bg-page: #101112;--hb-color-bg-surface: #151617;--hb-color-bg-subtle: #1e1f21;--hb-color-bg-muted: #242628;--hb-color-bg-raised: #2e3031;--hb-color-bg-chat: #1e1f21;--hb-color-bg-control-secondary: #373839;--hb-color-bg-chat-bubble: #1f2e4d;--hb-color-bg-toast: rgba(187, 191, 194, .8980392157);--hb-color-bg-popmask: rgba(21, 21, 21, .5019607843);--hb-color-action-link: #66b3ff;--hb-color-action-link-subtle: rgba(102, 179, 255, .1019607843);--hb-color-brand-primary: #006ef4;--hb-color-status-danger: #fa3c4b;--hb-color-status-success: #4cd964;--hb-color-game-price-coupon: #f67010;--hb-color-game-price-low: #32b846;--hb-color-game-price-new-low: #009015;--hb-color-platform-playstation: #0071ce;--hb-color-platform-steam: #234c75;--hb-color-platform-switch: #e70012;--hb-color-platform-windows: #81bc0d;--hb-color-platform-xbox: #0f7c10;--hb-color-game-record-white-01: rgba(0, 0, 0, .01);--hb-color-game-record-black-01: rgba(255, 255, 255, .01);--hb-color-game-record-white-02: rgba(0, 0, 0, .02);--hb-color-game-record-black-02: rgba(255, 255, 255, .02);--hb-color-game-record-white-03: rgba(0, 0, 0, .03);--hb-color-game-record-black-03: rgba(255, 255, 255, .03);--hb-color-game-record-white-05: rgba(0, 0, 0, .05);--hb-color-game-record-black-05: rgba(255, 255, 255, .05);--hb-color-game-record-white-08: rgba(0, 0, 0, .08);--hb-color-game-record-black-08: rgba(255, 255, 255, .08);--hb-color-game-record-white-10: rgba(0, 0, 0, .1);--hb-color-game-record-black-10: rgba(255, 255, 255, .1);--hb-color-game-record-white-15: rgba(0, 0, 0, .15);--hb-color-game-record-black-15: rgba(255, 255, 255, .15);--hb-color-game-record-white-20: rgba(0, 0, 0, .2);--hb-color-game-record-black-20: rgba(255, 255, 255, .2);--hb-color-game-record-white-30: rgba(0, 0, 0, .3);--hb-color-game-record-black-30: rgba(255, 255, 255, .3);--hb-color-game-record-white-40: rgba(0, 0, 0, .4);--hb-color-game-record-black-40: rgba(255, 255, 255, .4);--hb-color-game-record-white-50: rgba(0, 0, 0, .5);--hb-color-game-record-black-50: rgba(255, 255, 255, .5);--hb-color-game-record-white-60: rgba(0, 0, 0, .6);--hb-color-game-record-black-60: rgba(255, 255, 255, .6);--hb-color-game-record-white-70: rgba(0, 0, 0, .7);--hb-color-game-record-black-70: rgba(255, 255, 255, .7);--hb-color-game-record-white-80: rgba(0, 0, 0, .8);--hb-color-game-record-black-80: rgba(255, 255, 255, .8);--hb-color-game-record-white-85: rgba(0, 0, 0, .85);--hb-color-game-record-black-85: rgba(255, 255, 255, .85);--hb-color-game-record-white-90: rgba(0, 0, 0, .9);--hb-color-game-record-black-90: rgba(255, 255, 255, .9);--hb-color-game-record-white-100: #000000;--hb-color-game-record-black-100: #ffffff;color-scheme:dark}}*,*:before,*:after{box-sizing:border-box}html{min-height:100%;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;color:var(--hb-color-text-primary, #14191e);background:var(--hb-page-background, var(--hb-color-bg-page, #ffffff));text-size-adjust:100%;-webkit-text-size-adjust:100%}body{min-height:100%;margin:0;color:inherit;background-color:inherit}button,input,select,textarea{font:inherit;color:inherit}img,picture,video,canvas{display:block;max-width:100%}[hidden]{display:none!important}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0}body{overflow:hidden;background:var(--hb-color-bg-page);color:var(--hb-color-text-primary)}button,input,select{font:inherit;letter-spacing:0}button{color:inherit}.workbench{display:grid;grid-template-rows:52px minmax(0,1fr) 28px;height:100%;background:#f3f4f6}.workbench__header{z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border:1px solid var(--hb-color-border-muted);background:var(--hb-color-bg-surface)}.workbench__header:before{position:absolute;top:0;right:0;left:0;height:2px;background:#006ef4;content:""}.brand{display:flex;align-items:center;min-width:0;gap:16px}.brand__logo{display:block;width:54px;height:16px;flex:0 0 54px}.brand__title{color:var(--hb-color-text-primary);white-space:nowrap;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:14px;line-height:normal;letter-spacing:0px}.brand__target{color:var(--hb-color-text-secondary);white-space:nowrap;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.workbench__header-actions{display:flex;align-items:center;gap:8px}.media-simulation{display:flex;align-items:center;gap:6px;font-size:12px;color:#8b93a1}.media-simulation select{height:26px;padding:0 6px;border:1px solid #d8dce3;border-radius:6px;background:#fff;color:#1f2430;font-size:12px}.desktop-launch{position:relative}.workbench__identity{position:relative;display:flex;align-items:center;gap:10px}.toolbar-asset{display:block;flex:0 0 auto;object-fit:contain;pointer-events:none}.toolbar-asset--12{width:12px;height:12px}.toolbar-asset--16{width:16px;height:16px}.toolbar-asset--18{width:18px;height:18px}.workbench__main{min-width:0;min-height:0}.splitpanes{height:100%}.splitpanes__pane{min-width:0;min-height:0;overflow:hidden}.splitpanes__splitter{position:relative;width:5px;flex:0 0 5px;margin:0 -2px;z-index:8;background:transparent;cursor:col-resize}.splitpanes__splitter:after{position:absolute;top:0;bottom:0;left:2px;width:1px;background:var(--hb-color-border-muted);content:"";transition:background .15s}.splitpanes__splitter:hover:after,.splitpanes__splitter:focus:after{background:var(--hb-color-brand-primary)}.diagnostics{display:grid;height:100%;grid-template-rows:60px 44px 48px minmax(0,1fr);min-width:0;min-height:0;background:#fff}.mini-program-summary{display:flex;height:60px;align-items:center;gap:10px;min-width:0;padding:0 16px}.mini-program-summary__icon{display:grid;width:36px;height:36px;flex:0 0 auto;overflow:hidden;place-items:center;border:0;border-radius:10px;background:#e5f2ff;color:#006ef4}.mini-program-summary__icon img{width:100%;height:100%;object-fit:cover}.mini-program-summary__fallback{font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:14px;line-height:normal;letter-spacing:0px}.mini-program-summary__copy{display:grid;min-width:0;gap:4px}.mini-program-summary__copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:14px;line-height:normal;letter-spacing:0px}.mini-program-summary__copy span{overflow:hidden;color:var(--hb-color-text-secondary);text-overflow:ellipsis;white-space:nowrap;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.diagnostics__tabs{display:flex;height:44px;align-items:center;padding:6px 12px;gap:4px}.diagnostics__tabs button{position:relative;display:flex;height:28px;align-items:center;justify-content:center;padding:4px 12px;border:0;border-radius:8px;color:#1f2126c7;background:var(--hb-color-bg-muted);cursor:pointer;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:11px;line-height:16px;letter-spacing:0px}.diagnostics__tabs button.active{color:#fff;background:linear-gradient(23deg,#464b50 .9%,#14191e 100.9%)}.diagnostics__tabs button.diagnostics__tab--logs{width:46px}.diagnostics__tabs button.diagnostics__tab--storage{width:56px}.diagnostics__tabs button.diagnostics__tab--problems{width:46px}.diagnostics__count{position:absolute;top:-6px;right:-8px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;color:#fff;background:var(--hb-color-status-danger);text-align:center;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:10px;line-height:13px;letter-spacing:0px}.diagnostics__toolbar{display:flex;height:48px;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid var(--hb-color-border-muted);gap:8px}.search-field{display:flex;width:auto;height:32px;flex:1 1 auto;align-items:center;gap:4px;padding:4px 8px;border:1px solid var(--hb-color-border-muted);border-radius:8px;color:var(--hb-color-text-placeholder);background:var(--hb-color-bg-page)}.search-field:focus-within{border-color:var(--hb-color-border-strong);background:var(--hb-color-bg-surface)}.search-field input{width:100%;min-width:0;border:0;outline:0;color:var(--hb-color-text-primary);background:transparent;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.diagnostics__toolbar-actions{display:flex;flex:0 0 auto;margin-left:auto;align-items:center;gap:8px}.diagnostics__content{width:100%;min-height:0;overflow:hidden}.log-list,.storage-list,.problem-list{height:100%;padding:8px;overflow:auto;overscroll-behavior:contain}.storage-row{width:100%;min-width:0;max-width:100%;margin-bottom:2px;border:1px solid var(--hb-color-border-muted);border-radius:8px;background:var(--hb-color-bg-page)}.storage-row summary{display:flex;height:38px;min-height:38px;align-items:center;justify-content:space-between;padding:4px 8px 4px 12px;list-style:none;cursor:pointer}.storage-row summary::-webkit-details-marker{display:none}.storage-row summary>span{display:grid;min-width:0;flex:1;grid-template-columns:minmax(96px,35%) minmax(0,1fr);align-items:center;gap:8px}.storage-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:11px;line-height:16px;letter-spacing:0px}.storage-row small{overflow:hidden;color:var(--hb-color-text-secondary);text-align:right;text-overflow:ellipsis;white-space:nowrap;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:10px;line-height:13px;letter-spacing:0px}.storage-row code{display:block;max-height:160px;overflow:auto;padding:8px 12px;border-top:1px solid var(--hb-color-border-muted);color:var(--hb-color-text-secondary);background:var(--hb-color-bg-subtle);white-space:pre-wrap;overflow-wrap:anywhere;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:10px;line-height:13px;letter-spacing:0px}.problem-row{display:grid;width:100%;min-width:0;max-width:100%;grid-template-columns:3px minmax(0,1fr) 32px;min-height:40px;align-items:center;margin-bottom:2px;padding:0 8px 0 12px;border:1px solid var(--hb-color-border-muted);border-radius:8px;color:var(--hb-color-text-primary);gap:10px}.problem-row__indicator{width:3px;height:24px;border-radius:2px;background:var(--hb-color-status-danger)}.problem-row__content{display:grid;min-width:0;grid-template-columns:minmax(96px,35%) minmax(0,1fr);align-items:center;gap:8px}.problem-row__content strong,.problem-row__content small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.problem-row__content strong{font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:11px;line-height:16px;letter-spacing:0px}.problem-row__content small{color:var(--hb-color-text-secondary);text-align:right;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:10px;line-height:13px;letter-spacing:0px}.empty-state{display:grid;height:180px;margin:0;place-items:center;color:var(--hb-color-text-tertiary);font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:12px;line-height:16px;letter-spacing:0px}.empty-state--error{color:var(--hb-color-status-danger)}.csp-violations{padding:10px 12px;color:var(--hb-color-status-danger);background:#eb4b4b0f;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:11px;line-height:16px;letter-spacing:0px}.csp-violations[hidden]{display:none}.device-stage{position:relative;display:grid;width:100%;height:100%;min-width:0;min-height:0;place-items:center;overflow:hidden;padding:0;background:var(--hb-color-bg-muted)}.desktop-preview{position:relative;display:flex;width:100%;height:100%;min-width:0;min-height:0;align-items:center;justify-content:center;overflow:hidden}.desktop-preview .desktop-window__content{position:relative}.desktop-preview__device{min-height:0}.desktop-preview__placeholder{display:flex;flex-direction:column;align-items:center;color:var(--hb-color-text-secondary);gap:12px;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:13px;line-height:17px;letter-spacing:0px}.desktop-preview__action{height:32px;padding:0 16px;border:1px solid var(--hb-color-border-muted);border-radius:var(--hb-radius-m);background:var(--hb-color-bg-surface);color:var(--hb-color-text-primary);cursor:pointer}.desktop-preview__action:hover{background:var(--hb-color-bg-subtle)}.device-stage__toolbar{position:absolute;top:28px;left:var(--device-toolbar-left);z-index:10;display:flex;align-items:center;gap:12px;transform:none}.device-stage--compact .device-stage__toolbar{top:12px;left:50%;transform:translate(-50%)}.device-select{width:220px}.device-presentation{position:relative;flex:none}.device-shell{position:absolute;top:0;left:0;transform-origin:center}.device-presentation--rotating,.device-presentation--rotating .device-shell{transition-duration:var(--device-rotation-duration, .4s);transition-timing-function:cubic-bezier(.4,0,.2,1)}.device-presentation--rotating{transition-property:width,height}.device-presentation--rotating .device-shell{transition-property:transform}@media(prefers-reduced-motion:reduce){.device-presentation--rotating,.device-presentation--rotating .device-shell{transition:none}}.device-screen{position:absolute;z-index:1;overflow:hidden;background:#fff}.device-viewport{position:absolute;top:0;left:0;display:grid;grid-template-rows:minmax(0,1fr);width:100%;height:100%;transform:rotate(0);transform-origin:center}.host-fullscreen-exit-mount{display:contents}.device-frame{position:absolute;inset:0;z-index:3;display:block;width:var(--device-frame-asset-width);height:var(--device-frame-asset-height);transform:scale(var(--device-frame-scale-x),var(--device-frame-scale-y));transform-origin:top left;pointer-events:none}.mini-program-capsule{position:absolute;top:var(--mini-program-actions-top);right:var(--mini-program-actions-right);z-index:4;display:block;width:87px;height:32px;pointer-events:none}.mini-program-capsule--light{filter:invert(1)}.device-system-navigation{position:absolute;left:50%;z-index:9;display:block;border-radius:999px;transform:translate(-50%);pointer-events:none}.device-system-navigation--ios{bottom:8px;width:157px;height:5px;background:#0d0d0e}.device-system-navigation--android{bottom:10px;width:108px;height:4px;background:#222227}.device-content{position:relative;width:100%;min-width:0;min-height:0;overflow:hidden}.device-content iframe{display:block;width:100%;min-width:0;max-width:none;height:100%;border:0;background:#fff}.browser-mock-preview{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding-bottom:120px;color:var(--hb-color-text-primary);gap:7px}.browser-mock-preview__icon{display:grid;width:38px;height:38px;place-items:center;border-radius:7px;color:#fff;background:#006ef4;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:14px;line-height:normal;letter-spacing:0px}.browser-mock-preview strong{font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:13px;line-height:17px;letter-spacing:0px}.browser-mock-preview small{color:var(--hb-color-text-secondary);font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:10px;line-height:13px;letter-spacing:0px}.placeholder,.error{display:grid;height:100%;place-items:center;padding:24px;color:var(--hb-color-text-tertiary);text-align:center;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:13px;line-height:17px;letter-spacing:0px}.error{color:var(--hb-color-status-danger)}.host-overlay-layer{position:absolute;inset:0;z-index:8;overflow:hidden;pointer-events:none}.host-overlay-layer>*{pointer-events:auto}.host-overlay-layer .hb-v2-toast__wrapper{position:absolute}.host-overlay-layer>.hb-v2-toast__wrapper{pointer-events:none}.host-feedback-loading-mask{position:absolute;inset:0;z-index:30;background:transparent;pointer-events:auto;touch-action:none}.hb-sdk-auth-dialog{position:absolute;inset:0;display:grid;place-items:center;padding:20px;background:#14161a6b}.hb-sdk-auth-dialog__panel{width:min(320px,100%);padding:18px;border:1px solid rgba(255,255,255,.72);border-radius:12px;background:#fffffff5;box-shadow:0 18px 42px #0003}.hb-sdk-auth-dialog__panel h2{margin:0 0 7px;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:16px;line-height:normal;letter-spacing:0px}.hb-sdk-auth-dialog__app,.hb-sdk-auth-dialog__profile{margin:0 0 10px;color:var(--hb-color-text-secondary);font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:12px;line-height:16px;letter-spacing:0px}.hb-sdk-auth-dialog__scopes{margin:0 0 14px;padding-left:18px;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:12px;line-height:16px;letter-spacing:0px}.hb-sdk-auth-dialog__actions{display:flex;justify-content:flex-end;gap:8px}.hb-sdk-auth-dialog__actions button{height:32px;padding:0 12px;border:1px solid var(--hb-color-border-muted);border-radius:7px;background:#fff;cursor:pointer;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:12px;line-height:16px;letter-spacing:0px}.hb-sdk-auth-dialog__actions .primary{border-color:#f1c232;color:#1f1f1f;background:#f7cb45}.qr-popover__image{width:180px;height:180px;justify-self:center;border-radius:6px;background:var(--hb-color-bg-subtle)}.qr-popover__field{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;color:var(--hb-color-text-tertiary);gap:8px;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.qr-popover__field select{min-width:0;height:28px;border:1px solid var(--hb-color-border-muted);border-radius:6px;padding:0 7px;background:#fff;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.workbench--chrome-hidden .workbench__header,.workbench--chrome-hidden .diagnostics,.workbench--chrome-hidden .device-stage__toolbar{display:none}.workbench--chrome-hidden{grid-template-rows:minmax(0,1fr)}.workbench--chrome-hidden .splitpanes__pane:first-child,.workbench--chrome-hidden .splitpanes__splitter,.workbench--chrome-hidden .activity-bar{display:none}.workbench--chrome-hidden .splitpanes__pane:last-child{width:100%!important}html[data-screenshot-chrome-hidden=true] .workbench__header,html[data-screenshot-chrome-hidden=true] .diagnostics,html[data-screenshot-chrome-hidden=true] .device-stage__toolbar{display:none}html[data-screenshot-chrome-hidden=true] .workbench{grid-template-rows:minmax(0,1fr)}html[data-screenshot-chrome-hidden=true] .splitpanes__pane:first-child,html[data-screenshot-chrome-hidden=true] .splitpanes__splitter,html[data-screenshot-chrome-hidden=true] .activity-bar{display:none}html[data-screenshot-chrome-hidden=true] .splitpanes__pane:last-child{width:100%!important}.activity-bar{z-index:15;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-top:1px solid var(--hb-color-border-muted);background:var(--hb-color-bg-surface);color:var(--hb-color-text-secondary);font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:400;font-size:11px;line-height:16px;letter-spacing:0px}.activity-bar>div{display:flex;align-items:center;gap:12px}.activity-account,.activity-status{display:flex;align-items:center;color:var(--hb-color-text-primary);gap:12px}.activity-status{font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:11px;line-height:16px;letter-spacing:0px}.activity-status i{width:6px;height:6px;border-radius:50%;background:var(--hb-color-text-tertiary)}.activity-status .activity-status--ready{background:var(--hb-color-status-success)}.activity-status .activity-status--loading{background:#d69e16}.activity-status .activity-status--error{background:var(--hb-color-status-danger)}.toolbar-badge{position:absolute;top:-4px;right:-4px;min-width:15px;height:15px;padding:0 3px;border-radius:8px;color:#fff;background:var(--hb-color-status-danger);text-align:center;font-family:PingFang SC,Noto Sans CJK SC,xiaomi,BlinkMacSystemFont,Microsoft YaHei,sans-serif;font-weight:500;font-size:10px;line-height:13px;letter-spacing:0px}@media(max-width:780px){.device-stage{padding-right:12px;padding-left:12px}}
|