@heybox/hb-sdk 0.9.6-alpha.10 → 0.9.6-alpha.13
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 +32 -0
- package/README.md +8 -1
- package/dist/cli-chunks/{artifact-BaZzEQjq.cjs → artifact-CUNeWo4O.cjs} +6 -5
- package/dist/cli-chunks/{build-Ykhw1sz9.cjs → build-BnUonzjX.cjs} +6 -5
- package/dist/cli-chunks/{create-BEjKsD1y.cjs → create-BbpSkT6L.cjs} +322 -4
- package/dist/cli-chunks/{dev-DpkBN4ir.cjs → dev-Bj4ll4KS.cjs} +16 -15
- package/dist/cli-chunks/{dev-context-B3Y_EcXC.cjs → dev-context-zGJh3bl_.cjs} +22 -14
- package/dist/cli-chunks/{doctor-DPELjB83.cjs → doctor-CJm6yLwg.cjs} +1 -1
- package/dist/cli-chunks/{games-D2hnnWKY.cjs → games-M21dEyxU.cjs} +1 -1
- package/dist/cli-chunks/{index-DIgSsTuu.cjs → index-C29Bsipw.cjs} +73 -20
- package/dist/cli-chunks/{index-DCj9vtVv.cjs → index-DOEadJGe.cjs} +1 -1
- package/dist/cli-chunks/{index.esm-t29GC7yg.cjs → index.esm-BDnn3rPW.cjs} +7 -6
- package/dist/cli-chunks/index.esm-CvMA_ppV.cjs +7977 -0
- package/dist/cli-chunks/{login-C5XmcbRa.cjs → login-sznH9Tub.cjs} +1 -1
- package/dist/cli-chunks/{project-vite-B12EMgRq.cjs → project-vite-C3XGMxuI.cjs} +1 -1
- package/dist/cli-chunks/{remote-lFAA88Zl.cjs → remote-ZN1aTL2_.cjs} +13 -8
- package/dist/cli-chunks/{runtime-permission-env-CYbLBtWo.cjs → runtime-permission-env-CubbhSAi.cjs} +52 -6990
- package/dist/cli-chunks/{skill-AilHsggi.cjs → skill-MQLZiQHF.cjs} +2 -2
- package/dist/cli-chunks/{version-KZTUyIiC.cjs → version-d8xCNdNj.cjs} +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/devtools/browser-dev-host/assets/browser-dev-host-OjGtNPTW.js +228 -0
- package/dist/devtools/browser-dev-host/assets/desktop-app-launch-Dmzm0ERX.js +6 -0
- package/dist/devtools/browser-dev-host/assets/index-BkmmmW8K.css +1 -0
- package/dist/devtools/browser-dev-host/assets/index-Dp6vGvaS.js +586 -0
- package/dist/devtools/browser-dev-host/index.html +3 -3
- 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 +1074 -133
- package/dist/vite.esm.js +1074 -133
- package/package.json +6 -6
- package/skill/SKILL.md +4 -0
- package/skill/skill.json +5 -5
- package/types/index.d.ts +439 -9
- package/types/miniapp-publish/index.d.ts +18 -2
- package/types/protocol.d.ts +1 -1
- package/dist/devtools/browser-dev-host/assets/browser-dev-host-C0_lx52X.js +0 -100
- package/dist/devtools/browser-dev-host/assets/desktop-app-launch-CPk4dD63.js +0 -6
- package/dist/devtools/browser-dev-host/assets/index-BzOC7Q8l.js +0 -586
- package/dist/devtools/browser-dev-host/assets/index-CHYEXFEg.css +0 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
function xs(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const z={},Et=[],je=()=>{},Vi=()=>!1,Ns=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Hs=e=>e.startsWith("onUpdate:"),pe=Object.assign,Us=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Ya=Object.prototype.hasOwnProperty,Y=(e,t)=>Ya.call(e,t),H=Array.isArray,bt=e=>tr(e)==="[object Map]",ji=e=>tr(e)==="[object Set]",ai=e=>tr(e)==="[object Date]",W=e=>typeof e=="function",le=e=>typeof e=="string",ke=e=>typeof e=="symbol",J=e=>e!==null&&typeof e=="object",$i=e=>(J(e)||W(e))&&W(e.then)&&W(e.catch),Ki=Object.prototype.toString,tr=e=>Ki.call(e),Ja=e=>tr(e).slice(8,-1),qi=e=>tr(e)==="[object Object]",Or=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=xs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dr=e=>{const t=Object.create(null);return(r=>t[r]||(t[r]=e(r)))},Xa=/-\w/g,Re=Dr(e=>e.replace(Xa,t=>t.slice(1).toUpperCase())),Qa=/\B([A-Z])/g,It=Dr(e=>e.replace(Qa,"-$1").toLowerCase()),Fs=Dr(e=>e.charAt(0).toUpperCase()+e.slice(1)),pr=Dr(e=>e?`on${Fs(e)}`:""),de=(e,t)=>!Object.is(e,t),Qr=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},Gi=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},Za=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$f=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let li;const Rr=()=>li||(li=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Mr(e){if(H(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],s=le(n)?nl(n):Mr(n);if(s)for(const i in s)t[i]=s[i]}return t}else if(le(e)||J(e))return e}const el=/;(?![^(]*\))/g,tl=/:([^]+)/,rl=/\/\*[^]*?\*\//g;function nl(e){const t={};return e.replace(rl,"").split(el).forEach(r=>{if(r){const n=r.split(tl);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Pr(e){let t="";if(le(e))t=e;else if(H(e))for(let r=0;r<e.length;r++){const n=Pr(e[r]);n&&(t+=n+" ")}else if(J(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function Kf(e){if(!e)return null;let{class:t,style:r}=e;return t&&!le(t)&&(e.class=Pr(t)),r&&(e.style=Mr(r)),e}const sl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",qf=xs(sl);function Gf(e){return!!e||e===""}function il(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=Cr(e[n],t[n]);return r}function Cr(e,t){if(e===t)return!0;let r=ai(e),n=ai(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=ke(e),n=ke(t),r||n)return e===t;if(r=H(e),n=H(t),r||n)return r&&n?il(e,t):!1;if(r=J(e),n=J(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||!Cr(e[o],t[o]))return!1}}return String(e)===String(t)}function zf(e,t){return e.findIndex(r=>Cr(r,t))}const zi=e=>!!(e&&e.__v_isRef===!0),ol=e=>le(e)?e:e==null?"":H(e)||J(e)&&(e.toString===Ki||!W(e.toString))?zi(e)?ol(e.value):JSON.stringify(e,Yi,2):String(e),Yi=(e,t)=>zi(t)?Yi(e,t.value):bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,s],i)=>(r[Zr(n,i)+" =>"]=s,r),{})}:ji(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Zr(r))}:ke(t)?Zr(t):J(t)&&!H(t)&&!qi(t)?String(t):t,Zr=(e,t="")=>{var r;return ke(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};let ie;class Ji{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 Yf(e){return new Ji(e)}function al(){return ie}function Jf(e,t=!1){ie&&ie.cleanups.push(e)}let ee;const en=new WeakSet;class Xi{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,en.has(this)&&(en.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Zi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ci(this),eo(this);const t=ee,r=De;ee=this,De=!0;try{return this.fn()}finally{to(this),ee=t,De=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Vs(t);this.deps=this.depsTail=void 0,ci(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?en.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){hn(this)&&this.run()}get dirty(){return hn(this)}}let Qi=0,Wt,Bt;function Zi(e,t=!1){if(e.flags|=8,t){e.next=Bt,Bt=e;return}e.next=Wt,Wt=e}function Ws(){Qi++}function Bs(){if(--Qi>0)return;if(Bt){let t=Bt;for(Bt=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 eo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function to(e){let t,r=e.depsTail,n=r;for(;n;){const s=n.prevDep;n.version===-1?(n===r&&(r=s),Vs(n),ll(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=r}function hn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ro(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ro(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===qt)||(e.globalVersion=qt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!hn(e))))return;e.flags|=2;const t=e.dep,r=ee,n=De;ee=e,De=!0;try{eo(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,De=n,to(e),e.flags&=-3}}function Vs(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)Vs(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function ll(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let De=!0;const no=[];function Ye(){no.push(De),De=!1}function Je(){const e=no.pop();De=e===void 0?!0:e}function ci(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=ee;ee=void 0;try{t()}finally{ee=r}}}let qt=0;class cl{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 Lr{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||!De||ee===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==ee)r=this.activeLink=new cl(ee,this),ee.deps?(r.prevDep=ee.depsTail,ee.depsTail.nextDep=r,ee.depsTail=r):ee.deps=ee.depsTail=r,so(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++,qt++,this.notify(t)}notify(t){Ws();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{Bs()}}}function so(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)so(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const _r=new WeakMap,ht=Symbol(""),pn=Symbol(""),Gt=Symbol("");function me(e,t,r){if(De&&ee){let n=_r.get(e);n||_r.set(e,n=new Map);let s=n.get(r);s||(n.set(r,s=new Lr),s.map=n,s.key=r),s.track()}}function Ge(e,t,r,n,s,i){const o=_r.get(e);if(!o){qt++;return}const a=l=>{l&&l.trigger()};if(Ws(),t==="clear")o.forEach(a);else{const l=H(e),f=l&&Or(r);if(l&&r==="length"){const c=Number(n);o.forEach((h,p)=>{(p==="length"||p===Gt||!ke(p)&&p>=c)&&a(h)})}else switch((r!==void 0||o.has(void 0))&&a(o.get(r)),f&&a(o.get(Gt)),t){case"add":l?f&&a(o.get("length")):(a(o.get(ht)),bt(e)&&a(o.get(pn)));break;case"delete":l||(a(o.get(ht)),bt(e)&&a(o.get(pn)));break;case"set":bt(e)&&a(o.get(ht));break}}Bs()}function ul(e,t){const r=_r.get(e);return r&&r.get(t)}function gt(e){const t=K(e);return t===e?t:(me(t,"iterate",Gt),Ie(e)?t:t.map(Me))}function xr(e){return me(e=K(e),"iterate",Gt),e}function We(e,t){return Xe(e)?St(pt(e)?Me(t):t):Me(t)}const fl={__proto__:null,[Symbol.iterator](){return tn(this,Symbol.iterator,e=>We(this,e))},concat(...e){return gt(this).concat(...e.map(t=>H(t)?gt(t):t))},entries(){return tn(this,"entries",e=>(e[1]=We(this,e[1]),e))},every(e,t){return Ke(this,"every",e,t,void 0,arguments)},filter(e,t){return Ke(this,"filter",e,t,r=>r.map(n=>We(this,n)),arguments)},find(e,t){return Ke(this,"find",e,t,r=>We(this,r),arguments)},findIndex(e,t){return Ke(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ke(this,"findLast",e,t,r=>We(this,r),arguments)},findLastIndex(e,t){return Ke(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ke(this,"forEach",e,t,void 0,arguments)},includes(...e){return rn(this,"includes",e)},indexOf(...e){return rn(this,"indexOf",e)},join(e){return gt(this).join(e)},lastIndexOf(...e){return rn(this,"lastIndexOf",e)},map(e,t){return Ke(this,"map",e,t,void 0,arguments)},pop(){return Rt(this,"pop")},push(...e){return Rt(this,"push",e)},reduce(e,...t){return ui(this,"reduce",e,t)},reduceRight(e,...t){return ui(this,"reduceRight",e,t)},shift(){return Rt(this,"shift")},some(e,t){return Ke(this,"some",e,t,void 0,arguments)},splice(...e){return Rt(this,"splice",e)},toReversed(){return gt(this).toReversed()},toSorted(e){return gt(this).toSorted(e)},toSpliced(...e){return gt(this).toSpliced(...e)},unshift(...e){return Rt(this,"unshift",e)},values(){return tn(this,"values",e=>We(this,e))}};function tn(e,t,r){const n=xr(e),s=n[t]();return n!==e&&!Ie(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=r(i.value)),i}),s}const dl=Array.prototype;function Ke(e,t,r,n,s,i){const o=xr(e),a=o!==e&&!Ie(e),l=o[t];if(l!==dl[t]){const h=l.apply(e,i);return a?Me(h):h}let f=r;o!==e&&(a?f=function(h,p){return r.call(this,We(e,h),p,e)}:r.length>2&&(f=function(h,p){return r.call(this,h,p,e)}));const c=l.call(o,f,n);return a&&s?s(c):c}function ui(e,t,r,n){const s=xr(e),i=s!==e&&!Ie(e);let o=r,a=!1;s!==e&&(i?(a=n.length===0,o=function(f,c,h){return a&&(a=!1,f=We(e,f)),r.call(this,f,We(e,c),h,e)}):r.length>3&&(o=function(f,c,h){return r.call(this,f,c,h,e)}));const l=s[t](o,...n);return a?We(e,l):l}function rn(e,t,r){const n=K(e);me(n,"iterate",Gt);const s=n[t](...r);return(s===-1||s===!1)&&Fr(r[0])?(r[0]=K(r[0]),n[t](...r)):s}function Rt(e,t,r=[]){Ye(),Ws();const n=K(e)[t].apply(e,r);return Bs(),Je(),n}const hl=xs("__proto__,__v_isRef,__isVue"),io=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ke));function pl(e){ke(e)||(e=String(e));const t=K(this);return me(t,"has",e),t.hasOwnProperty(e)}class oo{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?ho:fo:i?uo:co).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=H(t);if(!s){let l;if(o&&(l=fl[r]))return l;if(r==="hasOwnProperty")return pl}const a=Reflect.get(t,r,ae(t)?t:n);if((ke(r)?io.has(r):hl(r))||(s||me(t,"get",r),i))return a;if(ae(a)){const l=o&&Or(r)?a:a.value;return s&&J(l)?gn(l):l}return J(a)?s?gn(a):Hr(a):a}}class ao extends oo{constructor(t=!1){super(!1,t)}set(t,r,n,s){let i=t[r];const o=H(t)&&Or(r);if(!this._isShallow){const f=Xe(i);if(!Ie(n)&&!Xe(n)&&(i=K(i),n=K(n)),!o&&ae(i)&&!ae(n))return f||(i.value=n),!0}const a=o?Number(r)<t.length:Y(t,r),l=Reflect.set(t,r,n,ae(t)?t:s);return t===K(s)&&(a?de(n,i)&&Ge(t,"set",r,n):Ge(t,"add",r,n)),l}deleteProperty(t,r){const n=Y(t,r);t[r];const s=Reflect.deleteProperty(t,r);return s&&n&&Ge(t,"delete",r,void 0),s}has(t,r){const n=Reflect.has(t,r);return(!ke(r)||!io.has(r))&&me(t,"has",r),n}ownKeys(t){return me(t,"iterate",H(t)?"length":ht),Reflect.ownKeys(t)}}class lo extends oo{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const ml=new ao,gl=new lo,_l=new ao(!0),El=new lo(!0),mn=e=>e,cr=e=>Reflect.getPrototypeOf(e);function bl(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,f=s[e](...n),c=r?mn:t?St:Me;return!t&&me(i,"iterate",l?pn:ht),pe(Object.create(f),{next(){const{value:h,done:p}=f.next();return p?{value:h,done:p}:{value:a?[c(h[0]),c(h[1])]:c(h),done:p}}})}}function ur(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function yl(e,t){const r={get(s){const i=this.__v_raw,o=K(i),a=K(s);e||(de(s,a)&&me(o,"get",s),me(o,"get",a));const{has:l}=cr(o),f=t?mn:e?St:Me;if(l.call(o,s))return f(i.get(s));if(l.call(o,a))return f(i.get(a));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&me(K(s),"iterate",ht),s.size},has(s){const i=this.__v_raw,o=K(i),a=K(s);return e||(de(s,a)&&me(o,"has",s),me(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),f=t?mn:e?St:Me;return!e&&me(l,"iterate",ht),a.forEach((c,h)=>s.call(i,f(c),f(h),o))}};return pe(r,e?{add:ur("add"),set:ur("set"),delete:ur("delete"),clear:ur("clear")}:{add(s){const i=K(this),o=cr(i),a=K(s),l=!t&&!Ie(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),Ge(i,"add",l,l)),this},set(s,i){!t&&!Ie(i)&&!Xe(i)&&(i=K(i));const o=K(this),{has:a,get:l}=cr(o);let f=a.call(o,s);f||(s=K(s),f=a.call(o,s));const c=l.call(o,s);return o.set(s,i),f?de(i,c)&&Ge(o,"set",s,i):Ge(o,"add",s,i),this},delete(s){const i=K(this),{has:o,get:a}=cr(i);let l=o.call(i,s);l||(s=K(s),l=o.call(i,s)),a&&a.call(i,s);const f=i.delete(s);return l&&Ge(i,"delete",s,void 0),f},clear(){const s=K(this),i=s.size!==0,o=s.clear();return i&&Ge(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{r[s]=bl(s,e,t)}),r}function Nr(e,t){const r=yl(e,t);return(n,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(Y(r,s)&&s in n?r:n,s,i)}const wl={get:Nr(!1,!1)},vl={get:Nr(!1,!0)},Sl={get:Nr(!0,!1)},Tl={get:Nr(!0,!0)},co=new WeakMap,uo=new WeakMap,fo=new WeakMap,ho=new WeakMap;function Il(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Al(e){return e.__v_skip||!Object.isExtensible(e)?0:Il(Ja(e))}function Hr(e){return Xe(e)?e:Ur(e,!1,ml,wl,co)}function kl(e){return Ur(e,!1,_l,vl,uo)}function gn(e){return Ur(e,!0,gl,Sl,fo)}function Xf(e){return Ur(e,!0,El,Tl,ho)}function Ur(e,t,r,n,s){if(!J(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Al(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 pt(e){return Xe(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function Xe(e){return!!(e&&e.__v_isReadonly)}function Ie(e){return!!(e&&e.__v_isShallow)}function Fr(e){return e?!!e.__v_raw:!1}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function Ol(e){return!Y(e,"__v_skip")&&Object.isExtensible(e)&&Gi(e,"__v_skip",!0),e}const Me=e=>J(e)?Hr(e):e,St=e=>J(e)?gn(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function Dl(e){return po(e,!1)}function js(e){return po(e,!0)}function po(e,t){return ae(e)?e:new Rl(e,t)}class Rl{constructor(t,r){this.dep=new Lr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:K(t),this._value=r?t:Me(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,n=this.__v_isShallow||Ie(t)||Xe(t);t=n?t:K(t),de(t,r)&&(this._rawValue=t,this._value=n?t:Me(t),this.dep.trigger())}}function Qf(e){e.dep&&e.dep.trigger()}function $s(e){return ae(e)?e.value:e}function Zf(e){return W(e)?e():$s(e)}const Ml={get:(e,t,r)=>t==="__v_raw"?e:$s(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 mo(e){return pt(e)?e:new Proxy(e,Ml)}class Pl{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new Lr,{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 Cl(e){return new Pl(e)}function ed(e){const t=H(e)?new Array(e.length):{};for(const r in e)t[r]=go(e,r);return t}class Ll{constructor(t,r,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=ke(r)?r:String(r),this._raw=K(t);let s=!0,i=t;if(!H(t)||ke(this._key)||!Or(this._key))do s=!Fr(i)||Ie(i);while(s&&(i=i.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=$s(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 ul(this._raw,this._key)}}class xl{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 td(e,t,r){return ae(e)?e:W(e)?new xl(e):J(e)&&arguments.length>1?go(e,t,r):Dl(e)}function go(e,t,r){return new Ll(e,t,r)}class Nl{constructor(t,r,n){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Lr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=qt-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 Zi(this,!0),!0}get value(){const t=this.dep.track();return ro(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Hl(e,t,r=!1){let n,s;return W(e)?n=e:(n=e.get,s=e.set),new Nl(n,s,r)}const fr={},Er=new WeakMap;let ct;function Ul(e,t=!1,r=ct){if(r){let n=Er.get(r);n||Er.set(r,n=[]),n.push(e)}}function Fl(e,t,r=z){const{immediate:n,deep:s,once:i,scheduler:o,augmentJob:a,call:l}=r,f=L=>s?L:Ie(L)||s===!1||s===0?ze(L,1):ze(L);let c,h,p,_,v=!1,S=!1;if(ae(e)?(h=()=>e.value,v=Ie(e)):pt(e)?(h=()=>f(e),v=!0):H(e)?(S=!0,v=e.some(L=>pt(L)||Ie(L)),h=()=>e.map(L=>{if(ae(L))return L.value;if(pt(L))return f(L);if(W(L))return l?l(L,2):L()})):W(e)?t?h=l?()=>l(e,2):e:h=()=>{if(p){Ye();try{p()}finally{Je()}}const L=ct;ct=c;try{return l?l(e,3,[_]):e(_)}finally{ct=L}}:h=je,t&&s){const L=h,q=s===!0?1/0:s;h=()=>ze(L(),q)}const O=al(),U=()=>{c.stop(),O&&O.active&&Us(O.effects,c)};if(i&&t){const L=t;t=(...q)=>{L(...q),U()}}let C=S?new Array(e.length).fill(fr):fr;const j=L=>{if(!(!(c.flags&1)||!c.dirty&&!L))if(t){const q=c.run();if(s||v||(S?q.some((te,B)=>de(te,C[B])):de(q,C))){p&&p();const te=ct;ct=c;try{const B=[q,C===fr?void 0:S&&C[0]===fr?[]:C,_];C=q,l?l(t,3,B):t(...B)}finally{ct=te}}}else c.run()};return a&&a(j),c=new Xi(h),c.scheduler=o?()=>o(j,!1):j,_=L=>Ul(L,!1,c),p=c.onStop=()=>{const L=Er.get(c);if(L){if(l)l(L,4);else for(const q of L)q();Er.delete(c)}},t?n?j(!0):C=c.run():o?o(j.bind(null,!0),!0):c.run(),U.pause=c.pause.bind(c),U.resume=c.resume.bind(c),U.stop=U,U}function ze(e,t=1/0,r){if(t<=0||!J(e)||e.__v_skip||(r=r||new Map,(r.get(e)||0)>=t))return e;if(r.set(e,t),t--,ae(e))ze(e.value,t,r);else if(H(e))for(let n=0;n<e.length;n++)ze(e[n],t,r);else if(ji(e)||bt(e))e.forEach(n=>{ze(n,t,r)});else if(qi(e)){for(const n in e)ze(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&ze(e[n],t,r)}return e}function rr(e,t,r,n){try{return n?e(...n):e()}catch(s){Wr(s,t,r)}}function $e(e,t,r,n){if(W(e)){const s=rr(e,t,r,n);return s&&$i(s)&&s.catch(i=>{Wr(i,t,r)}),s}if(H(e)){const s=[];for(let i=0;i<e.length;i++)s.push($e(e[i],t,r,n));return s}}function Wr(e,t,r,n=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||z;if(t){let a=t.parent;const l=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${r}`;for(;a;){const c=a.ec;if(c){for(let h=0;h<c.length;h++)if(c[h](e,l,f)===!1)return}a=a.parent}if(i){Ye(),rr(i,null,10,[e,l,f]),Je();return}}Wl(e,r,s,n,o)}function Wl(e,t,r,n=!0,s=!1){if(s)throw e;console.error(e)}const ye=[];let Ue=-1;const yt=[];let tt=null,_t=0;const _o=Promise.resolve();let br=null;function Bl(e){const t=br||_o;return e?t.then(this?e.bind(this):e):t}function Vl(e){let t=Ue+1,r=ye.length;for(;t<r;){const n=t+r>>>1,s=ye[n],i=zt(s);i<e||i===e&&s.flags&2?t=n+1:r=n}return t}function Ks(e){if(!(e.flags&1)){const t=zt(e),r=ye[ye.length-1];!r||!(e.flags&2)&&t>=zt(r)?ye.push(e):ye.splice(Vl(t),0,e),e.flags|=1,Eo()}}function Eo(){br||(br=_o.then(yo))}function jl(e){H(e)?yt.push(...e):tt&&e.id===-1?tt.splice(_t+1,0,e):e.flags&1||(yt.push(e),e.flags|=1),Eo()}function fi(e,t,r=Ue+1){for(;r<ye.length;r++){const n=ye[r];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;ye.splice(r,1),r--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function bo(e){if(yt.length){const t=[...new Set(yt)].sort((r,n)=>zt(r)-zt(n));if(yt.length=0,tt){tt.push(...t);return}for(tt=t,_t=0;_t<tt.length;_t++){const r=tt[_t];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}tt=null,_t=0}}const zt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function yo(e){try{for(Ue=0;Ue<ye.length;Ue++){const t=ye[Ue];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),rr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ue<ye.length;Ue++){const t=ye[Ue];t&&(t.flags&=-2)}Ue=-1,ye.length=0,bo(),br=null,(ye.length||yt.length)&&yo()}}let he=null,wo=null;function yr(e){const t=he;return he=e,wo=e&&e.type.__scopeId||null,t}function $l(e,t=he,r){if(!t||e._n)return e;const n=(...s)=>{n._d&&Sr(-1);const i=yr(t);let o;try{o=e(...s)}finally{yr(i),n._d&&Sr(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function rd(e,t){if(he===null)return e;const r=Kr(he),n=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,o,a,l=z]=t[s];i&&(W(i)&&(i={mounted:i,updated:i}),i.deep&&ze(o),n.push({dir:i,instance:r,value:o,oldValue:void 0,arg:a,modifiers:l}))}return e}function at(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(),$e(l,r,8,[e.el,a,e,t]),Je())}}function Kl(e,t){if(_e){let r=_e.provides;const n=_e.parent&&_e.parent.provides;n===r&&(r=_e.provides=Object.create(n)),r[e]=t}}function mr(e,t,r=!1){const n=sr();if(n||vt){let s=vt?vt._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&&W(t)?t.call(n&&n.proxy):t}}const ql=Symbol.for("v-scx"),Gl=()=>mr(ql);function nd(e,t){return nr(e,null,t)}function sd(e,t){return nr(e,null,{flush:"post"})}function zl(e,t){return nr(e,null,{flush:"sync"})}function nn(e,t,r){return nr(e,t,r)}function nr(e,t,r=z){const{immediate:n,deep:s,flush:i,once:o}=r,a=pe({},r),l=t&&n||!t&&i!=="post";let f;if(Qt){if(i==="sync"){const _=Gl();f=_.__watcherHandles||(_.__watcherHandles=[])}else if(!l){const _=()=>{};return _.stop=je,_.resume=je,_.pause=je,_}}const c=_e;a.call=(_,v,S)=>$e(_,c,v,S);let h=!1;i==="post"?a.scheduler=_=>{be(_,c&&c.suspense)}:i!=="sync"&&(h=!0,a.scheduler=(_,v)=>{v?_():Ks(_)}),a.augmentJob=_=>{t&&(_.flags|=4),h&&(_.flags|=2,c&&(_.id=c.uid,_.i=c))};const p=Fl(e,t,a);return Qt&&(f?f.push(p):l&&p()),p}function Yl(e,t,r){const n=this.proxy,s=le(e)?e.includes(".")?vo(n,e):()=>n[e]:e.bind(n,n);let i;W(t)?i=t:(i=t.handler,r=t);const o=ir(this),a=nr(s,i.bind(n),r);return o(),a}function vo(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 et=new WeakMap,So=Symbol("_vte"),To=e=>e.__isTeleport,ft=e=>e&&(e.disabled||e.disabled===""),Jl=e=>e&&(e.defer||e.defer===""),di=e=>typeof SVGElement<"u"&&e instanceof SVGElement,hi=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,_n=(e,t)=>{const r=e&&e.to;return le(r)?t?t(r):null:r},Xl={name:"Teleport",__isTeleport:!0,process(e,t,r,n,s,i,o,a,l,f){const{mc:c,pc:h,pbc:p,o:{insert:_,querySelector:v,createText:S,createComment:O,parentNode:U}}=f,C=ft(t.props);let{dynamicChildren:j}=t;const L=(B,I,g)=>{B.shapeFlag&16&&c(B.children,I,g,s,i,o,a,l)},q=(B=t)=>{const I=ft(B.props),g=B.target=_n(B.props,v),k=En(g,B,S,_);g&&(o!=="svg"&&di(g)?o="svg":o!=="mathml"&&hi(g)&&(o="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(g),I||(L(B,g,k),Lt(B,!1)))},te=B=>{const I=()=>{if(et.get(B)===I){if(et.delete(B),ft(B.props)){const g=U(B.el)||r;L(B,g,B.anchor),Lt(B,!0)}q(B)}};et.set(B,I),be(I,i)};if(e==null){const B=t.el=S(""),I=t.anchor=S("");if(_(B,r,n),_(I,r,n),Jl(t.props)||i&&i.pendingBranch){te(t);return}C&&(L(t,r,I),Lt(t,!0)),q()}else{t.el=e.el;const B=t.anchor=e.anchor,I=et.get(e);if(I){I.flags|=8,et.delete(e),te(t);return}t.targetStart=e.targetStart;const g=t.target=e.target,k=t.targetAnchor=e.targetAnchor,M=ft(e.props),V=M?r:g,ce=M?B:k;if(o==="svg"||di(g)?o="svg":(o==="mathml"||hi(g))&&(o="mathml"),j?(p(e.dynamicChildren,j,V,s,i,o,a),zs(e,t,!0)):l||h(e,t,V,ce,s,i,o,a,!1),C)M?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):dr(t,r,B,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ue=t.target=_n(t.props,v);ue&&dr(t,ue,null,f,0)}else M&&dr(t,g,k,f,1);Lt(t,C)}},remove(e,t,r,{um:n,o:{remove:s}},i){const{shapeFlag:o,children:a,anchor:l,targetStart:f,targetAnchor:c,target:h,props:p}=e;let _=i||!ft(p);const v=et.get(e);if(v&&(v.flags|=8,et.delete(e),_=!1),h&&(s(f),s(c)),i&&s(l),o&16)for(let S=0;S<a.length;S++){const O=a[S];n(O,t,r,_,!!O.dynamicChildren)}},move:dr,hydrate:Ql};function dr(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:f,props:c}=e,h=i===2;if(h&&n(o,t,r),!et.has(e)&&(!h||ft(c))&&l&16)for(let p=0;p<f.length;p++)s(f[p],t,r,2);h&&n(a,t,r)}function Ql(e,t,r,n,s,i,{o:{nextSibling:o,parentNode:a,querySelector:l,insert:f,createText:c}},h){function p(O,U){let C=U;for(;C;){if(C&&C.nodeType===8){if(C.data==="teleport start anchor")t.targetStart=C;else if(C.data==="teleport anchor"){t.targetAnchor=C,O._lpa=t.targetAnchor&&o(t.targetAnchor);break}}C=o(C)}}function _(O,U){U.anchor=h(o(O),U,a(O),r,n,s,i)}const v=t.target=_n(t.props,l),S=ft(t.props);if(v){const O=v._lpa||v.firstChild;t.shapeFlag&16&&(S?(_(e,t),p(v,O),t.targetAnchor||En(v,t,c,f,a(e)===v?e:null)):(t.anchor=o(e),p(v,O),t.targetAnchor||En(v,t,c,f),h(O&&o(O),t,v,r,n,s,i))),Lt(t,S)}else S&&t.shapeFlag&16&&(_(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const id=Xl;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 En(e,t,r,n,s=null){const i=t.targetStart=r(""),o=t.targetAnchor=r("");return i[So]=o,e&&(n(i,e,s),n(o,e,s)),o}const Fe=Symbol("_leaveCb"),Mt=Symbol("_enterCb");function Zl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Mo(()=>{e.isMounted=!0}),Po(()=>{e.isUnmounting=!0}),e}const Ae=[Function,Array],ec={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ae,onEnter:Ae,onAfterEnter:Ae,onEnterCancelled:Ae,onBeforeLeave:Ae,onLeave:Ae,onAfterLeave:Ae,onLeaveCancelled:Ae,onBeforeAppear:Ae,onAppear:Ae,onAfterAppear:Ae,onAppearCancelled:Ae},Io=e=>{const t=e.subTree;return t.component?Io(t.component):t},tc={name:"BaseTransition",props:ec,setup(e,{slots:t}){const r=sr(),n=Zl();return()=>{const s=t.default&&Oo(t.default(),!0),i=s&&s.length?Ao(s):r.subTree?Vc():void 0;if(!i)return;const o=K(e),{mode:a}=o;if(n.isLeaving)return sn(i);const l=pi(i);if(!l)return sn(i);let f=bn(l,o,n,r,h=>f=h);l.type!==ge&&Yt(l,f);let c=r.subTree&&pi(r.subTree);if(c&&c.type!==ge&&!dt(c,l)&&Io(r).type!==ge){let h=bn(c,o,n,r);if(Yt(c,h),a==="out-in"&&l.type!==ge)return n.isLeaving=!0,h.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete h.afterLeave,c=void 0},sn(i);a==="in-out"&&l.type!==ge?h.delayLeave=(p,_,v)=>{const S=ko(n,c);S[String(c.key)]=c,p[Fe]=()=>{_(),p[Fe]=void 0,delete f.delayedLeave,c=void 0},f.delayedLeave=()=>{v(),delete f.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Ao(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==ge){t=r;break}}return t}const od=tc;function ko(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 bn(e,t,r,n,s){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:f,onAfterEnter:c,onEnterCancelled:h,onBeforeLeave:p,onLeave:_,onAfterLeave:v,onLeaveCancelled:S,onBeforeAppear:O,onAppear:U,onAfterAppear:C,onAppearCancelled:j}=t,L=String(e.key),q=ko(r,e),te=(g,k)=>{g&&$e(g,n,9,k)},B=(g,k)=>{const M=k[1];te(g,k),H(g)?g.every(V=>V.length<=1)&&M():g.length<=1&&M()},I={mode:o,persisted:a,beforeEnter(g){let k=l;if(!r.isMounted)if(i)k=O||l;else return;g[Fe]&&g[Fe](!0);const M=q[L];M&&dt(e,M)&&M.el[Fe]&&M.el[Fe](),te(k,[g])},enter(g){if(q[L]===e)return;let k=f,M=c,V=h;if(!r.isMounted)if(i)k=U||f,M=C||c,V=j||h;else return;let ce=!1;g[Mt]=mt=>{ce||(ce=!0,mt?te(V,[g]):te(M,[g]),I.delayedLeave&&I.delayedLeave(),g[Mt]=void 0)};const ue=g[Mt].bind(null,!1);k?B(k,[g,ue]):ue()},leave(g,k){const M=String(e.key);if(g[Mt]&&g[Mt](!0),r.isUnmounting)return k();te(p,[g]);let V=!1;g[Fe]=ue=>{V||(V=!0,k(),ue?te(S,[g]):te(v,[g]),g[Fe]=void 0,q[M]===e&&delete q[M])};const ce=g[Fe].bind(null,!1);q[M]=e,_?B(_,[g,ce]):ce()},clone(g){const k=bn(g,t,r,n,s);return s&&s(k),k}};return I}function sn(e){if(Br(e))return e=rt(e),e.children=null,e}function pi(e){if(!Br(e))return To(e.type)&&e.children?Ao(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&&W(r.default))return r.default()}}function Yt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Yt(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 Oo(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===Te?(o.patchFlag&128&&s++,n=n.concat(Oo(o.children,t,a))):(t||o.type!==ge)&&n.push(a!=null?rt(o,{key:a}):o)}if(s>1)for(let i=0;i<n.length;i++)n[i].patchFlag=-2;return n}function ad(e,t){return W(e)?pe({name:e.name},t,{setup:e}):e}function ld(){const e=sr();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Do(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function mi(e,t){let r;return!!((r=Object.getOwnPropertyDescriptor(e,t))&&!r.configurable)}const wr=new WeakMap;function Vt(e,t,r,n,s=!1){if(H(e)){e.forEach((S,O)=>Vt(S,t&&(H(t)?t[O]:t),r,n,s));return}if(wt(n)&&!s){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Vt(e,t,r,n.component.subTree);return}const i=n.shapeFlag&4?Kr(n.component):n.el,o=s?null:i,{i:a,r:l}=e,f=t&&t.r,c=a.refs===z?a.refs={}:a.refs,h=a.setupState,p=K(h),_=h===z?Vi:S=>mi(c,S)?!1:Y(p,S),v=(S,O)=>!(O&&mi(c,O));if(f!=null&&f!==l){if(gi(t),le(f))c[f]=null,_(f)&&(h[f]=null);else if(ae(f)){const S=t;v(f,S.k)&&(f.value=null),S.k&&(c[S.k]=null)}}if(W(l))rr(l,a,12,[o,c]);else{const S=le(l),O=ae(l);if(S||O){const U=()=>{if(e.f){const C=S?_(l)?h[l]:c[l]:v()||!e.k?l.value:c[e.k];if(s)H(C)&&Us(C,i);else if(H(C))C.includes(i)||C.push(i);else if(S)c[l]=[i],_(l)&&(h[l]=c[l]);else{const j=[i];v(l,e.k)&&(l.value=j),e.k&&(c[e.k]=j)}}else S?(c[l]=o,_(l)&&(h[l]=o)):O&&(v(l,e.k)&&(l.value=o),e.k&&(c[e.k]=o))};if(o){const C=()=>{U(),wr.delete(e)};C.id=-1,wr.set(e,C),be(C,r)}else gi(e),U()}}}function gi(e){const t=wr.get(e);t&&(t.flags|=8,wr.delete(e))}Rr().requestIdleCallback;Rr().cancelIdleCallback;const wt=e=>!!e.type.__asyncLoader,Br=e=>e.type.__isKeepAlive;function rc(e,t){Ro(e,"a",t)}function nc(e,t){Ro(e,"da",t)}function Ro(e,t,r=_e){const n=e.__wdc||(e.__wdc=()=>{let s=r;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Vr(t,n,r),r){let s=r.parent;for(;s&&s.parent;)Br(s.parent.vnode)&&sc(n,t,r,s),s=s.parent}}function sc(e,t,r,n){const s=Vr(t,e,n,!0);Co(()=>{Us(n[t],s)},r)}function Vr(e,t,r=_e,n=!1){if(r){const s=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ye();const a=ir(r),l=$e(t,r,e,o);return a(),Je(),l});return n?s.unshift(i):s.push(i),i}}const Qe=e=>(t,r=_e)=>{(!Qt||e==="sp")&&Vr(e,(...n)=>t(...n),r)},ic=Qe("bm"),Mo=Qe("m"),oc=Qe("bu"),ac=Qe("u"),Po=Qe("bum"),Co=Qe("um"),lc=Qe("sp"),cc=Qe("rtg"),uc=Qe("rtc");function fc(e,t=_e){Vr("ec",e,t)}const dc="components",Lo=Symbol.for("v-ndc");function cd(e){return le(e)?hc(dc,e,!1)||e:e||Lo}function hc(e,t,r=!0,n=!1){const s=he||_e;if(s){const i=s.type;{const a=Jc(i,!1);if(a&&(a===t||a===Re(t)||a===Fs(Re(t))))return i}const o=_i(s[e]||i[e],t)||_i(s.appContext[e],t);return!o&&n?i:o}}function _i(e,t){return e&&(e[t]||e[Re(t)]||e[Fs(Re(t))])}function ud(e,t,r,n){let s;const i=r,o=H(e);if(o||le(e)){const a=o&&pt(e);let l=!1,f=!1;a&&(l=!Ie(e),f=Xe(e),e=xr(e)),s=new Array(e.length);for(let c=0,h=e.length;c<h;c++)s[c]=t(l?f?St(Me(e[c])):Me(e[c]):e[c],c,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(J(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,f=a.length;l<f;l++){const c=a[l];s[l]=t(e[c],c,l,i)}}else s=[];return s}function fd(e,t,r={},n,s){if(he.ce||he.parent&&wt(he.parent)&&he.parent.ce){const f=Object.keys(r).length>0;return t!=="default"&&(r.name=t),Tn(),In(Te,null,[ve("slot",r,n&&n())],f?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),Tn();const o=i&&xo(i(r)),a=r.key||o&&o.key,l=In(Te,{key:(a&&!ke(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 xo(e){return e.some(t=>Xt(t)?!(t.type===ge||t.type===Te&&!xo(t.children)):!0)?e:null}function dd(e,t){const r={};for(const n in e)r[pr(n)]=e[n];return r}const yn=e=>e?na(e)?Kr(e):yn(e.parent):null,jt=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=>yn(e.parent),$root:e=>yn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Uo(e),$forceUpdate:e=>e.f||(e.f=()=>{Ks(e.update)}),$nextTick:e=>e.n||(e.n=Bl.bind(e.proxy)),$watch:e=>Yl.bind(e)}),on=(e,t)=>e!==z&&!e.__isScriptSetup&&Y(e,t),pc={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 p=o[t];if(p!==void 0)switch(p){case 1:return n[t];case 2:return s[t];case 4:return r[t];case 3:return i[t]}else{if(on(n,t))return o[t]=1,n[t];if(s!==z&&Y(s,t))return o[t]=2,s[t];if(Y(i,t))return o[t]=3,i[t];if(r!==z&&Y(r,t))return o[t]=4,r[t];wn&&(o[t]=0)}}const f=jt[t];let c,h;if(f)return t==="$attrs"&&me(e.attrs,"get",""),f(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(r!==z&&Y(r,t))return o[t]=4,r[t];if(h=l.config.globalProperties,Y(h,t))return h[t]},set({_:e},t,r){const{data:n,setupState:s,ctx:i}=e;return on(s,t)?(s[t]=r,!0):n!==z&&Y(n,t)?(n[t]=r,!0):Y(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!==z&&a[0]!=="$"&&Y(e,a)||on(t,a)||Y(i,a)||Y(n,a)||Y(jt,a)||Y(s.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:Y(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function hd(){return No().slots}function pd(){return No().attrs}function No(e){const t=sr();return t.setupContext||(t.setupContext=ia(t))}function Jt(e){return H(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function md(e,t){const r=Jt(e);for(const n in t){if(n.startsWith("__skip"))continue;let s=r[n];s?H(s)||W(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 gd(e,t){return!e||!t?e||t:H(e)&&H(t)?e.concat(t):pe({},Jt(e),Jt(t))}let wn=!0;function mc(e){const t=Uo(e),r=e.proxy,n=e.ctx;wn=!1,t.beforeCreate&&Ei(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:f,created:c,beforeMount:h,mounted:p,beforeUpdate:_,updated:v,activated:S,deactivated:O,beforeDestroy:U,beforeUnmount:C,destroyed:j,unmounted:L,render:q,renderTracked:te,renderTriggered:B,errorCaptured:I,serverPrefetch:g,expose:k,inheritAttrs:M,components:V,directives:ce,filters:ue}=t;if(f&&gc(f,n,null),o)for(const G in o){const Q=o[G];W(Q)&&(n[G]=Q.bind(r))}if(s){const G=s.call(r,r);J(G)&&(e.data=Hr(G))}if(wn=!0,i)for(const G in i){const Q=i[G],it=W(Q)?Q.bind(r,r):W(Q.get)?Q.get.bind(r,r):je,ar=!W(Q)&&W(Q.set)?Q.set.bind(r):je,ot=Ze({get:it,set:ar});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>ot.value,set:Pe=>ot.value=Pe})}if(a)for(const G in a)Ho(a[G],n,r,G);if(l){const G=W(l)?l.call(r):l;Reflect.ownKeys(G).forEach(Q=>{Kl(Q,G[Q])})}c&&Ei(c,e,"c");function re(G,Q){H(Q)?Q.forEach(it=>G(it.bind(r))):Q&&G(Q.bind(r))}if(re(ic,h),re(Mo,p),re(oc,_),re(ac,v),re(rc,S),re(nc,O),re(fc,I),re(uc,te),re(cc,B),re(Po,C),re(Co,L),re(lc,g),H(k))if(k.length){const G=e.exposed||(e.exposed={});k.forEach(Q=>{Object.defineProperty(G,Q,{get:()=>r[Q],set:it=>r[Q]=it,enumerable:!0})})}else e.exposed||(e.exposed={});q&&e.render===je&&(e.render=q),M!=null&&(e.inheritAttrs=M),V&&(e.components=V),ce&&(e.directives=ce),g&&Do(e)}function gc(e,t,r=je){H(e)&&(e=vn(e));for(const n in e){const s=e[n];let i;J(s)?"default"in s?i=mr(s.from||n,s.default,!0):i=mr(s.from||n):i=mr(s),ae(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function Ei(e,t,r){$e(H(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function Ho(e,t,r,n){let s=n.includes(".")?vo(r,n):()=>r[n];if(le(e)){const i=t[e];W(i)&&nn(s,i)}else if(W(e))nn(s,e.bind(r));else if(J(e))if(H(e))e.forEach(i=>Ho(i,t,r,n));else{const i=W(e.handler)?e.handler.bind(r):t[e.handler];W(i)&&nn(s,i,e)}}function Uo(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(f=>vr(l,f,o,!0)),vr(l,t,o)),J(t)&&i.set(t,l),l}function vr(e,t,r,n=!1){const{mixins:s,extends:i}=t;i&&vr(e,i,r,!0),s&&s.forEach(o=>vr(e,o,r,!0));for(const o in t)if(!(n&&o==="expose")){const a=_c[o]||r&&r[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const _c={data:bi,props:yi,emits:yi,methods:xt,computed:xt,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:xt,directives:xt,watch:bc,provide:bi,inject:Ec};function bi(e,t){return t?e?function(){return pe(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Ec(e,t){return xt(vn(e),vn(t))}function vn(e){if(H(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function Ee(e,t){return e?[...new Set([].concat(e,t))]:t}function xt(e,t){return e?pe(Object.create(null),e,t):t}function yi(e,t){return e?H(e)&&H(t)?[...new Set([...e,...t])]:pe(Object.create(null),Jt(e),Jt(t??{})):t}function bc(e,t){if(!e)return t;if(!t)return e;const r=pe(Object.create(null),e);for(const n in t)r[n]=Ee(e[n],t[n]);return r}function Fo(){return{app:null,config:{isNativeTag:Vi,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 yc=0;function wc(e,t){return function(n,s=null){W(n)||(n=pe({},n)),s!=null&&!J(s)&&(s=null);const i=Fo(),o=new WeakSet,a=[];let l=!1;const f=i.app={_uid:yc++,_component:n,_props:s,_container:null,_context:i,_instance:null,version:Zc,get config(){return i.config},set config(c){},use(c,...h){return o.has(c)||(c&&W(c.install)?(o.add(c),c.install(f,...h)):W(c)&&(o.add(c),c(f,...h))),f},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),f},component(c,h){return h?(i.components[c]=h,f):i.components[c]},directive(c,h){return h?(i.directives[c]=h,f):i.directives[c]},mount(c,h,p){if(!l){const _=f._ceVNode||ve(n,s);return _.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(_,c,p),l=!0,f._container=c,c.__vue_app__=f,Kr(_.component)}},onUnmount(c){a.push(c)},unmount(){l&&($e(a,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(c,h){return i.provides[c]=h,f},runWithContext(c){const h=vt;vt=f;try{return c()}finally{vt=h}}};return f}}let vt=null;function _d(e,t,r=z){const n=sr(),s=Re(t),i=It(t),o=Wo(e,s),a=Cl((l,f)=>{let c,h=z,p;return zl(()=>{const _=e[s];de(c,_)&&(c=_,f())}),{get(){return l(),r.get?r.get(c):c},set(_){const v=r.set?r.set(_):_;if(!de(v,c)&&!(h!==z&&de(_,h)))return;const S=n.vnode.props;S&&(t in S||s in S||i in S)&&(`onUpdate:${t}`in S||`onUpdate:${s}`in S||`onUpdate:${i}`in S)||(c=_,f()),n.emit(`update:${t}`,v),de(_,v)&&de(_,h)&&!de(v,p)&&f(),h=_,p=v}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||z:a,done:!1}:{done:!0}}}},a}const Wo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Re(t)}Modifiers`]||e[`${It(t)}Modifiers`];function vc(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||z;let s=r;const i=t.startsWith("update:"),o=i&&Wo(n,t.slice(7));o&&(o.trim&&(s=r.map(c=>le(c)?c.trim():c)),o.number&&(s=r.map(Za)));let a,l=n[a=pr(t)]||n[a=pr(Re(t))];!l&&i&&(l=n[a=pr(It(t))]),l&&$e(l,e,6,s);const f=n[a+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,$e(f,e,6,s)}}const Sc=new WeakMap;function Bo(e,t,r=!1){const n=r?Sc:t.emitsCache,s=n.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!W(e)){const l=f=>{const c=Bo(f,t,!0);c&&(a=!0,pe(o,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(J(e)&&n.set(e,null),null):(H(i)?i.forEach(l=>o[l]=null):pe(o,i),J(e)&&n.set(e,o),o)}function jr(e,t){return!e||!Ns(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,It(t))||Y(e,t))}function wi(e){const{type:t,vnode:r,proxy:n,withProxy:s,propsOptions:[i],slots:o,attrs:a,emit:l,render:f,renderCache:c,props:h,data:p,setupState:_,ctx:v,inheritAttrs:S}=e,O=yr(e);let U,C;try{if(r.shapeFlag&4){const L=s||n,q=L;U=Be(f.call(q,L,c,h,_,p,v)),C=a}else{const L=t;U=Be(L.length>1?L(h,{attrs:a,slots:o,emit:l}):L(h,null)),C=t.props?a:Tc(a)}}catch(L){$t.length=0,Wr(L,e,1),U=ve(ge)}let j=U;if(C&&S!==!1){const L=Object.keys(C),{shapeFlag:q}=j;L.length&&q&7&&(i&&L.some(Hs)&&(C=Ic(C,i)),j=rt(j,C,!1,!0))}return r.dirs&&(j=rt(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(r.dirs):r.dirs),r.transition&&Yt(j,r.transition),U=j,yr(O),U}const Tc=e=>{let t;for(const r in e)(r==="class"||r==="style"||Ns(r))&&((t||(t={}))[r]=e[r]);return t},Ic=(e,t)=>{const r={};for(const n in e)(!Hs(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function Ac(e,t,r){const{props:n,children:s,component:i}=e,{props:o,children:a,patchFlag:l}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?vi(n,o,f):!!o;if(l&8){const c=t.dynamicProps;for(let h=0;h<c.length;h++){const p=c[h];if(Vo(o,n,p)&&!jr(f,p))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:n===o?!1:n?o?vi(n,o,f):!0:!!o;return!1}function vi(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(Vo(t,e,i)&&!jr(r,i))return!0}return!1}function Vo(e,t,r){const n=e[r],s=t[r];return r==="style"&&J(n)&&J(s)?!Cr(n,s):n!==s}function kc({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 jo={},$o=()=>Object.create(jo),Ko=e=>Object.getPrototypeOf(e)===jo;function Oc(e,t,r,n=!1){const s={},i=$o();e.propsDefaults=Object.create(null),qo(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);r?e.props=n?s:kl(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Dc(e,t,r,n){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=K(s),[l]=e.propsOptions;let f=!1;if((n||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let h=0;h<c.length;h++){let p=c[h];if(jr(e.emitsOptions,p))continue;const _=t[p];if(l)if(Y(i,p))_!==i[p]&&(i[p]=_,f=!0);else{const v=Re(p);s[v]=Sn(l,a,v,_,e,!1)}else _!==i[p]&&(i[p]=_,f=!0)}}}else{qo(e,t,s,i)&&(f=!0);let c;for(const h in a)(!t||!Y(t,h)&&((c=It(h))===h||!Y(t,c)))&&(l?r&&(r[h]!==void 0||r[c]!==void 0)&&(s[h]=Sn(l,a,h,void 0,e,!0)):delete s[h]);if(i!==a)for(const h in i)(!t||!Y(t,h))&&(delete i[h],f=!0)}f&&Ge(e.attrs,"set","")}function qo(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 f=t[l];let c;s&&Y(s,c=Re(l))?!i||!i.includes(c)?r[c]=f:(a||(a={}))[c]=f:jr(e.emitsOptions,l)||(!(l in n)||f!==n[l])&&(n[l]=f,o=!0)}if(i){const l=K(r),f=a||z;for(let c=0;c<i.length;c++){const h=i[c];r[h]=Sn(s,l,h,f[h],e,!Y(f,h))}}return o}function Sn(e,t,r,n,s,i){const o=e[r];if(o!=null){const a=Y(o,"default");if(a&&n===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&W(l)){const{propsDefaults:f}=s;if(r in f)n=f[r];else{const c=ir(s);n=f[r]=l.call(null,t),c()}}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 Rc=new WeakMap;function Go(e,t,r=!1){const n=r?Rc:t.propsCache,s=n.get(e);if(s)return s;const i=e.props,o={},a=[];let l=!1;if(!W(e)){const c=h=>{l=!0;const[p,_]=Go(h,t,!0);pe(o,p),_&&a.push(..._)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return J(e)&&n.set(e,Et),Et;if(H(i))for(let c=0;c<i.length;c++){const h=Re(i[c]);Si(h)&&(o[h]=z)}else if(i)for(const c in i){const h=Re(c);if(Si(h)){const p=i[c],_=o[h]=H(p)||W(p)?{type:p}:pe({},p),v=_.type;let S=!1,O=!0;if(H(v))for(let U=0;U<v.length;++U){const C=v[U],j=W(C)&&C.name;if(j==="Boolean"){S=!0;break}else j==="String"&&(O=!1)}else S=W(v)&&v.name==="Boolean";_[0]=S,_[1]=O,(S||Y(_,"default"))&&a.push(h)}}const f=[o,a];return J(e)&&n.set(e,f),f}function Si(e){return e[0]!=="$"&&!Ft(e)}const qs=e=>e==="_"||e==="_ctx"||e==="$stable",Gs=e=>H(e)?e.map(Be):[Be(e)],Mc=(e,t,r)=>{if(t._n)return t;const n=$l((...s)=>Gs(t(...s)),r);return n._c=!1,n},zo=(e,t,r)=>{const n=e._ctx;for(const s in e){if(qs(s))continue;const i=e[s];if(W(i))t[s]=Mc(s,i,n);else if(i!=null){const o=Gs(i);t[s]=()=>o}}},Yo=(e,t)=>{const r=Gs(t);e.slots.default=()=>r},Jo=(e,t,r)=>{for(const n in t)(r||!qs(n))&&(e[n]=t[n])},Pc=(e,t,r)=>{const n=e.slots=$o();if(e.vnode.shapeFlag&32){const s=t._;s?(Jo(n,t,r),r&&Gi(n,"_",s,!0)):zo(t,n)}else t&&Yo(e,t)},Cc=(e,t,r)=>{const{vnode:n,slots:s}=e;let i=!0,o=z;if(n.shapeFlag&32){const a=t._;a?r&&a===1?i=!1:Jo(s,t,r):(i=!t.$stable,zo(t,s)),o=t}else t&&(Yo(e,t),o={default:1});if(i)for(const a in s)!qs(a)&&o[a]==null&&delete s[a]},be=Hc;function Ed(e){return Lc(e)}function Lc(e,t){const r=Rr();r.__VUE__=!0;const{insert:n,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:f,setElementText:c,parentNode:h,nextSibling:p,setScopeId:_=je,insertStaticContent:v}=e,S=(u,d,m,w=null,E=null,b=null,D=void 0,A=null,T=!!d.dynamicChildren)=>{if(u===d)return;u&&!dt(u,d)&&(w=lr(u),Pe(u,E,b,!0),u=null),d.patchFlag===-2&&(T=!1,d.dynamicChildren=null);const{type:y,ref:N,shapeFlag:R}=d;switch(y){case $r:O(u,d,m,w);break;case ge:U(u,d,m,w);break;case ln:u==null&&C(d,m,w,D);break;case Te:V(u,d,m,w,E,b,D,A,T);break;default:R&1?q(u,d,m,w,E,b,D,A,T):R&6?ce(u,d,m,w,E,b,D,A,T):(R&64||R&128)&&y.process(u,d,m,w,E,b,D,A,T,Ot)}N!=null&&E?Vt(N,u&&u.ref,b,d||u,!d):N==null&&u&&u.ref!=null&&Vt(u.ref,null,b,u,!0)},O=(u,d,m,w)=>{if(u==null)n(d.el=a(d.children),m,w);else{const E=d.el=u.el;d.children!==u.children&&f(E,d.children)}},U=(u,d,m,w)=>{u==null?n(d.el=l(d.children||""),m,w):d.el=u.el},C=(u,d,m,w)=>{[u.el,u.anchor]=v(u.children,d,m,w,u.el,u.anchor)},j=({el:u,anchor:d},m,w)=>{let E;for(;u&&u!==d;)E=p(u),n(u,m,w),u=E;n(d,m,w)},L=({el:u,anchor:d})=>{let m;for(;u&&u!==d;)m=p(u),s(u),u=m;s(d)},q=(u,d,m,w,E,b,D,A,T)=>{if(d.type==="svg"?D="svg":d.type==="math"&&(D="mathml"),u==null)te(d,m,w,E,b,D,A,T);else{const y=u.el&&u.el._isVueCE?u.el:null;try{y&&y._beginPatch(),g(u,d,E,b,D,A,T)}finally{y&&y._endPatch()}}},te=(u,d,m,w,E,b,D,A)=>{let T,y;const{props:N,shapeFlag:R,transition:x,dirs:F}=u;if(T=u.el=o(u.type,b,N&&N.is,N),R&8?c(T,u.children):R&16&&I(u.children,T,null,w,E,an(u,b),D,A),F&&at(u,null,w,"created"),B(T,u,u.scopeId,D,w),N){for(const X in N)X!=="value"&&!Ft(X)&&i(T,X,null,N[X],b,w);"value"in N&&i(T,"value",null,N.value,b),(y=N.onVnodeBeforeMount)&&Ne(y,w,u)}F&&at(u,null,w,"beforeMount");const $=xc(E,x);$&&x.beforeEnter(T),n(T,d,m),((y=N&&N.onVnodeMounted)||$||F)&&be(()=>{y&&Ne(y,w,u),$&&x.enter(T),F&&at(u,null,w,"mounted")},E)},B=(u,d,m,w,E)=>{if(m&&_(u,m),w)for(let b=0;b<w.length;b++)_(u,w[b]);if(E){let b=E.subTree;if(d===b||Zo(b.type)&&(b.ssContent===d||b.ssFallback===d)){const D=E.vnode;B(u,D,D.scopeId,D.slotScopeIds,E.parent)}}},I=(u,d,m,w,E,b,D,A,T=0)=>{for(let y=T;y<u.length;y++){const N=u[y]=A?qe(u[y]):Be(u[y]);S(null,N,d,m,w,E,b,D,A)}},g=(u,d,m,w,E,b,D)=>{const A=d.el=u.el;let{patchFlag:T,dynamicChildren:y,dirs:N}=d;T|=u.patchFlag&16;const R=u.props||z,x=d.props||z;let F;if(m&<(m,!1),(F=x.onVnodeBeforeUpdate)&&Ne(F,m,d,u),N&&at(d,u,m,"beforeUpdate"),m&<(m,!0),(R.innerHTML&&x.innerHTML==null||R.textContent&&x.textContent==null)&&c(A,""),y?k(u.dynamicChildren,y,A,m,w,an(d,E),b):D||Q(u,d,A,null,m,w,an(d,E),b,!1),T>0){if(T&16)M(A,R,x,m,E);else if(T&2&&R.class!==x.class&&i(A,"class",null,x.class,E),T&4&&i(A,"style",R.style,x.style,E),T&8){const $=d.dynamicProps;for(let X=0;X<$.length;X++){const Z=$[X],se=R[Z],fe=x[Z];(fe!==se||Z==="value")&&i(A,Z,se,fe,E,m)}}T&1&&u.children!==d.children&&c(A,d.children)}else!D&&y==null&&M(A,R,x,m,E);((F=x.onVnodeUpdated)||N)&&be(()=>{F&&Ne(F,m,d,u),N&&at(d,u,m,"updated")},w)},k=(u,d,m,w,E,b,D)=>{for(let A=0;A<d.length;A++){const T=u[A],y=d[A],N=T.el&&(T.type===Te||!dt(T,y)||T.shapeFlag&198)?h(T.el):m;S(T,y,N,null,w,E,b,D,!0)}},M=(u,d,m,w,E)=>{if(d!==m){if(d!==z)for(const b in d)!Ft(b)&&!(b in m)&&i(u,b,d[b],null,E,w);for(const b in m){if(Ft(b))continue;const D=m[b],A=d[b];D!==A&&b!=="value"&&i(u,b,A,D,E,w)}"value"in m&&i(u,"value",d.value,m.value,E)}},V=(u,d,m,w,E,b,D,A,T)=>{const y=d.el=u?u.el:a(""),N=d.anchor=u?u.anchor:a("");let{patchFlag:R,dynamicChildren:x,slotScopeIds:F}=d;F&&(A=A?A.concat(F):F),u==null?(n(y,m,w),n(N,m,w),I(d.children||[],m,N,E,b,D,A,T)):R>0&&R&64&&x&&u.dynamicChildren&&u.dynamicChildren.length===x.length?(k(u.dynamicChildren,x,m,E,b,D,A),(d.key!=null||E&&d===E.subTree)&&zs(u,d,!0)):Q(u,d,m,N,E,b,D,A,T)},ce=(u,d,m,w,E,b,D,A,T)=>{d.slotScopeIds=A,u==null?d.shapeFlag&512?E.ctx.activate(d,m,w,D,T):ue(d,m,w,E,b,D,T):mt(u,d,T)},ue=(u,d,m,w,E,b,D)=>{const A=u.component=qc(u,w,E);if(Br(u)&&(A.ctx.renderer=Ot),Gc(A,!1,D),A.asyncDep){if(E&&E.registerDep(A,re,D),!u.el){const T=A.subTree=ve(ge);U(null,T,d,m),u.placeholder=T.el}}else re(A,u,d,m,E,b,D)},mt=(u,d,m)=>{const w=d.component=u.component;if(Ac(u,d,m))if(w.asyncDep&&!w.asyncResolved){G(w,d,m);return}else w.next=d,w.update();else d.el=u.el,w.vnode=d},re=(u,d,m,w,E,b,D)=>{const A=()=>{if(u.isMounted){let{next:R,bu:x,u:F,parent:$,vnode:X}=u;{const Le=Xo(u);if(Le){R&&(R.el=X.el,G(u,R,D)),Le.asyncDep.then(()=>{be(()=>{u.isUnmounted||y()},E)});return}}let Z=R,se;lt(u,!1),R?(R.el=X.el,G(u,R,D)):R=X,x&&Qr(x),(se=R.props&&R.props.onVnodeBeforeUpdate)&&Ne(se,$,R,X),lt(u,!0);const fe=wi(u),Ce=u.subTree;u.subTree=fe,S(Ce,fe,h(Ce.el),lr(Ce),u,E,b),R.el=fe.el,Z===null&&kc(u,fe.el),F&&be(F,E),(se=R.props&&R.props.onVnodeUpdated)&&be(()=>Ne(se,$,R,X),E)}else{let R;const{el:x,props:F}=d,{bm:$,m:X,parent:Z,root:se,type:fe}=u,Ce=wt(d);lt(u,!1),$&&Qr($),!Ce&&(R=F&&F.onVnodeBeforeMount)&&Ne(R,Z,d),lt(u,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(fe,u.parent?u.parent.type:void 0);const Le=u.subTree=wi(u);S(null,Le,m,w,u,E,b),d.el=Le.el}if(X&&be(X,E),!Ce&&(R=F&&F.onVnodeMounted)){const Le=d;be(()=>Ne(R,Z,Le),E)}(d.shapeFlag&256||Z&&wt(Z.vnode)&&Z.vnode.shapeFlag&256)&&u.a&&be(u.a,E),u.isMounted=!0,d=m=w=null}};u.scope.on();const T=u.effect=new Xi(A);u.scope.off();const y=u.update=T.run.bind(T),N=u.job=T.runIfDirty.bind(T);N.i=u,N.id=u.uid,T.scheduler=()=>Ks(N),lt(u,!0),y()},G=(u,d,m)=>{d.component=u;const w=u.vnode.props;u.vnode=d,u.next=null,Dc(u,d.props,w,m),Cc(u,d.children,m),Ye(),fi(u),Je()},Q=(u,d,m,w,E,b,D,A,T=!1)=>{const y=u&&u.children,N=u?u.shapeFlag:0,R=d.children,{patchFlag:x,shapeFlag:F}=d;if(x>0){if(x&128){ar(y,R,m,w,E,b,D,A,T);return}else if(x&256){it(y,R,m,w,E,b,D,A,T);return}}F&8?(N&16&&kt(y,E,b),R!==y&&c(m,R)):N&16?F&16?ar(y,R,m,w,E,b,D,A,T):kt(y,E,b,!0):(N&8&&c(m,""),F&16&&I(R,m,w,E,b,D,A,T))},it=(u,d,m,w,E,b,D,A,T)=>{u=u||Et,d=d||Et;const y=u.length,N=d.length,R=Math.min(y,N);let x;for(x=0;x<R;x++){const F=d[x]=T?qe(d[x]):Be(d[x]);S(u[x],F,m,null,E,b,D,A,T)}y>N?kt(u,E,b,!0,!1,R):I(d,m,w,E,b,D,A,T,R)},ar=(u,d,m,w,E,b,D,A,T)=>{let y=0;const N=d.length;let R=u.length-1,x=N-1;for(;y<=R&&y<=x;){const F=u[y],$=d[y]=T?qe(d[y]):Be(d[y]);if(dt(F,$))S(F,$,m,null,E,b,D,A,T);else break;y++}for(;y<=R&&y<=x;){const F=u[R],$=d[x]=T?qe(d[x]):Be(d[x]);if(dt(F,$))S(F,$,m,null,E,b,D,A,T);else break;R--,x--}if(y>R){if(y<=x){const F=x+1,$=F<N?d[F].el:w;for(;y<=x;)S(null,d[y]=T?qe(d[y]):Be(d[y]),m,$,E,b,D,A,T),y++}}else if(y>x)for(;y<=R;)Pe(u[y],E,b,!0),y++;else{const F=y,$=y,X=new Map;for(y=$;y<=x;y++){const Se=d[y]=T?qe(d[y]):Be(d[y]);Se.key!=null&&X.set(Se.key,y)}let Z,se=0;const fe=x-$+1;let Ce=!1,Le=0;const Dt=new Array(fe);for(y=0;y<fe;y++)Dt[y]=0;for(y=F;y<=R;y++){const Se=u[y];if(se>=fe){Pe(Se,E,b,!0);continue}let xe;if(Se.key!=null)xe=X.get(Se.key);else for(Z=$;Z<=x;Z++)if(Dt[Z-$]===0&&dt(Se,d[Z])){xe=Z;break}xe===void 0?Pe(Se,E,b,!0):(Dt[xe-$]=y+1,xe>=Le?Le=xe:Ce=!0,S(Se,d[xe],m,null,E,b,D,A,T),se++)}const si=Ce?Nc(Dt):Et;for(Z=si.length-1,y=fe-1;y>=0;y--){const Se=$+y,xe=d[Se],ii=d[Se+1],oi=Se+1<N?ii.el||Qo(ii):w;Dt[y]===0?S(null,xe,m,oi,E,b,D,A,T):Ce&&(Z<0||y!==si[Z]?ot(xe,m,oi,2):Z--)}}},ot=(u,d,m,w,E=null)=>{const{el:b,type:D,transition:A,children:T,shapeFlag:y}=u;if(y&6){ot(u.component.subTree,d,m,w);return}if(y&128){u.suspense.move(d,m,w);return}if(y&64){D.move(u,d,m,Ot);return}if(D===Te){n(b,d,m);for(let R=0;R<T.length;R++)ot(T[R],d,m,w);n(u.anchor,d,m);return}if(D===ln){j(u,d,m);return}if(w!==2&&y&1&&A)if(w===0)A.beforeEnter(b),n(b,d,m),be(()=>A.enter(b),E);else{const{leave:R,delayLeave:x,afterLeave:F}=A,$=()=>{u.ctx.isUnmounted?s(b):n(b,d,m)},X=()=>{b._isLeaving&&b[Fe](!0),R(b,()=>{$(),F&&F()})};x?x(b,$,X):X()}else n(b,d,m)},Pe=(u,d,m,w=!1,E=!1)=>{const{type:b,props:D,ref:A,children:T,dynamicChildren:y,shapeFlag:N,patchFlag:R,dirs:x,cacheIndex:F,memo:$}=u;if(R===-2&&(E=!1),A!=null&&(Ye(),Vt(A,null,m,u,!0),Je()),F!=null&&(d.renderCache[F]=void 0),N&256){d.ctx.deactivate(u);return}const X=N&1&&x,Z=!wt(u);let se;if(Z&&(se=D&&D.onVnodeBeforeUnmount)&&Ne(se,d,u),N&6)za(u.component,m,w);else{if(N&128){u.suspense.unmount(m,w);return}X&&at(u,null,d,"beforeUnmount"),N&64?u.type.remove(u,d,m,Ot,w):y&&!y.hasOnce&&(b!==Te||R>0&&R&64)?kt(y,d,m,!1,!0):(b===Te&&R&384||!E&&N&16)&&kt(T,d,m),w&&ri(u)}const fe=$!=null&&F==null;(Z&&(se=D&&D.onVnodeUnmounted)||X||fe)&&be(()=>{se&&Ne(se,d,u),X&&at(u,null,d,"unmounted"),fe&&(u.el=null)},m)},ri=u=>{const{type:d,el:m,anchor:w,transition:E}=u;if(d===Te){Ga(m,w);return}if(d===ln){L(u);return}const b=()=>{s(m),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(u.shapeFlag&1&&E&&!E.persisted){const{leave:D,delayLeave:A}=E,T=()=>D(m,b);A?A(u.el,b,T):T()}else b()},Ga=(u,d)=>{let m;for(;u!==d;)m=p(u),s(u),u=m;s(d)},za=(u,d,m)=>{const{bum:w,scope:E,job:b,subTree:D,um:A,m:T,a:y}=u;Ti(T),Ti(y),w&&Qr(w),E.stop(),b&&(b.flags|=8,Pe(D,u,d,m)),A&&be(A,d),be(()=>{u.isUnmounted=!0},d)},kt=(u,d,m,w=!1,E=!1,b=0)=>{for(let D=b;D<u.length;D++)Pe(u[D],d,m,w,E)},lr=u=>{if(u.shapeFlag&6)return lr(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=p(u.anchor||u.el),m=d&&d[So];return m?p(m):d};let Xr=!1;const ni=(u,d,m)=>{let w;u==null?d._vnode&&(Pe(d._vnode,null,null,!0),w=d._vnode.component):S(d._vnode||null,u,d,null,null,null,m),d._vnode=u,Xr||(Xr=!0,fi(w),bo(),Xr=!1)},Ot={p:S,um:Pe,m:ot,r:ri,mt:ue,mc:I,pc:Q,pbc:k,n:lr,o:e};return{render:ni,hydrate:void 0,createApp:wc(ni)}}function an({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 lt({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function xc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function zs(e,t,r=!1){const n=e.children,s=t.children;if(H(n)&&H(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]=qe(s[i]),a.el=o.el),!r&&a.patchFlag!==-2&&zs(o,a)),a.type===$r&&(a.patchFlag===-1&&(a=s[i]=qe(a)),a.el=o.el),a.type===ge&&!a.el&&(a.el=o.el)}}function Nc(e){const t=e.slice(),r=[0];let n,s,i,o,a;const l=e.length;for(n=0;n<l;n++){const f=e[n];if(f!==0){if(s=r[r.length-1],e[s]<f){t[n]=s,r.push(n);continue}for(i=0,o=r.length-1;i<o;)a=i+o>>1,e[r[a]]<f?i=a+1:o=a;f<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 Xo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Xo(t)}function Ti(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Qo(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Qo(t.subTree):null}const Zo=e=>e.__isSuspense;function Hc(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):jl(e)}const Te=Symbol.for("v-fgt"),$r=Symbol.for("v-txt"),ge=Symbol.for("v-cmt"),ln=Symbol.for("v-stc"),$t=[];let we=null;function Tn(e=!1){$t.push(we=e?null:[])}function Uc(){$t.pop(),we=$t[$t.length-1]||null}let Tt=1;function Sr(e,t=!1){Tt+=e,e<0&&we&&t&&(we.hasOnce=!0)}function ea(e){return e.dynamicChildren=Tt>0?we||Et:null,Uc(),Tt>0&&we&&we.push(e),e}function bd(e,t,r,n,s,i){return ea(ra(e,t,r,n,s,i,!0))}function In(e,t,r,n,s){return ea(ve(e,t,r,n,s,!0))}function Xt(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const ta=({key:e})=>e??null,gr=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?le(e)||ae(e)||W(e)?{i:he,r:e,k:t,f:!!r}:e:null);function ra(e,t=null,r=null,n=0,s=null,i=e===Te?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ta(t),ref:t&&gr(t),scopeId:wo,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?(Ys(l,r),i&128&&e.normalize(l)):r&&(l.shapeFlag|=le(r)?8:16),Tt>0&&!o&&we&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&we.push(l),l}const ve=Fc;function Fc(e,t=null,r=null,n=0,s=null,i=!1){if((!e||e===Lo)&&(e=ge),Xt(e)){const a=rt(e,t,!0);return r&&Ys(a,r),Tt>0&&!i&&we&&(a.shapeFlag&6?we[we.indexOf(e)]=a:we.push(a)),a.patchFlag=-2,a}if(Xc(e)&&(e=e.__vccOpts),t){t=Wc(t);let{class:a,style:l}=t;a&&!le(a)&&(t.class=Pr(a)),J(l)&&(Fr(l)&&!H(l)&&(l=pe({},l)),t.style=Mr(l))}const o=le(e)?1:Zo(e)?128:To(e)?64:J(e)?4:W(e)?2:0;return ra(e,t,r,n,s,o,i,!0)}function Wc(e){return e?Fr(e)||Ko(e)?pe({},e):e:null}function rt(e,t,r=!1,n=!1){const{props:s,ref:i,patchFlag:o,children:a,transition:l}=e,f=t?jc(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&ta(f),ref:t&&t.ref?r&&i?H(i)?i.concat(gr(t)):[i,gr(t)]:gr(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!==Te?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&&rt(e.ssContent),ssFallback:e.ssFallback&&rt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Yt(c,l.clone(c)),c}function Bc(e=" ",t=0){return ve($r,null,e,t)}function Vc(e="",t=!1){return t?(Tn(),In(ge,null,e)):ve(ge,null,e)}function Be(e){return e==null||typeof e=="boolean"?ve(ge):H(e)?ve(Te,null,e.slice()):Xt(e)?qe(e):ve($r,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:rt(e)}function Ys(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(H(t))r=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),Ys(e,s()),s._c&&(s._d=!0));return}else{r=32;const s=t._;!s&&!Ko(t)?t._ctx=he:s===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:he},r=32):(t=String(t),n&64?(r=16,t=[Bc(t)]):r=8);e.children=t,e.shapeFlag|=r}function jc(...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=Mr([t.style,n.style]);else if(Ns(s)){const i=t[s],o=n[s];o&&i!==o&&!(H(i)&&i.includes(o))?t[s]=i?[].concat(i,o):o:o==null&&i==null&&!Hs(s)&&(t[s]=o)}else s!==""&&(t[s]=n[s])}return t}function Ne(e,t,r,n=null){$e(e,t,7,[r,n])}const $c=Fo();let Kc=0;function qc(e,t,r){const n=e.type,s=(t?t.appContext:e.appContext)||$c,i={uid:Kc++,vnode:e,type:n,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ji(!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:Go(n,s),emitsOptions:Bo(n,s),emit:null,emitted:null,propsDefaults:z,inheritAttrs:n.inheritAttrs,ctx:z,data:z,props:z,attrs:z,slots:z,refs:z,setupState:z,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=vc.bind(null,i),e.ce&&e.ce(i),i}let _e=null;const sr=()=>_e||he;let Tr,An;{const e=Rr(),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)}};Tr=t("__VUE_INSTANCE_SETTERS__",r=>_e=r),An=t("__VUE_SSR_SETTERS__",r=>Qt=r)}const ir=e=>{const t=_e;return Tr(e),e.scope.on(),()=>{e.scope.off(),Tr(t)}},Ii=()=>{_e&&_e.scope.off(),Tr(null)};function na(e){return e.vnode.shapeFlag&4}let Qt=!1;function Gc(e,t=!1,r=!1){t&&An(t);const{props:n,children:s}=e.vnode,i=na(e);Oc(e,n,i,t),Pc(e,s,r||t);const o=i?zc(e,t):void 0;return t&&An(!1),o}function zc(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pc);const{setup:n}=r;if(n){Ye();const s=e.setupContext=n.length>1?ia(e):null,i=ir(e),o=rr(n,e,0,[e.props,s]),a=$i(o);if(Je(),i(),(a||e.sp)&&!wt(e)&&Do(e),a){if(o.then(Ii,Ii),t)return o.then(l=>{Ai(e,l)}).catch(l=>{Wr(l,e,0)});e.asyncDep=o}else Ai(e,o)}else sa(e)}function Ai(e,t,r){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:J(t)&&(e.setupState=mo(t)),sa(e)}function sa(e,t,r){const n=e.type;e.render||(e.render=n.render||je);{const s=ir(e);Ye();try{mc(e)}finally{Je(),s()}}}const Yc={get(e,t){return me(e,"get",""),e[t]}};function ia(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,Yc),slots:e.slots,emit:e.emit,expose:t}}function Kr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(mo(Ol(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in jt)return jt[r](e)},has(t,r){return r in t||r in jt}})):e.proxy}function Jc(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function Xc(e){return W(e)&&"__vccOpts"in e}const Ze=(e,t)=>Hl(e,t,Qt);function yd(e,t,r){try{Sr(-1);const n=arguments.length;return n===2?J(t)&&!H(t)?Xt(t)?ve(e,null,[t]):ve(e,t):ve(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Xt(r)&&(r=[r]),ve(e,t,r))}finally{Sr(1)}}function wd(e,t,r,n){const s=r[n];if(s&&Qc(s,e))return s;const i=t();return i.memo=e.slice(),i.cacheIndex=n,r[n]=i}function Qc(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 Tt>0&&we&&we.push(e),!0}const Zc="3.5.34",vd="0.9.6-alpha.13",Pt={orientation:"portrait",capsuleHidden:!1};function nt(){return new DOMException("方向请求已取消","AbortError")}let Kt;function Sd(e){return Kt=e,()=>{Kt===e&&(Kt=void 0)}}function Td(e){if(e.aborted)return Promise.reject(nt());if(!Kt)return Promise.resolve();const t=Kt();return new Promise((r,n)=>{const s=()=>n(nt());e.addEventListener("abort",s,{once:!0}),t.then(()=>{e.removeEventListener("abort",s),r()},i=>{e.removeEventListener("abort",s),n(i)})})}function eu(e){return new Promise((t,r)=>{if(e.aborted){r(nt());return}let n=requestAnimationFrame(()=>{n=requestAnimationFrame(s)});function s(){e.removeEventListener("abort",i),t()}function i(){cancelAnimationFrame(n),r(nt())}e.addEventListener("abort",i,{once:!0})})}function Id(e,t){if(t.aborted)return Promise.reject(nt());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(nt());t.addEventListener("abort",i,{once:!0}),Promise.allSettled(r.map(o=>o.finished)).then(()=>{t.removeEventListener("abort",i),n()})}):Promise.resolve()}function Ad(e){const t=e.waitForLayout??eu,r=new Set;let n=Pt,s=0;function i(){for(const o of[...r])try{o()}catch{}}return{async applyDisplay(o,a){if(a.aborted)throw nt();const l=++s,f={orientation:o.mode,capsuleHidden:o.hideCapsule},c=()=>{l===s&&(s+=1,e.apply(n),i())};a.addEventListener("abort",c,{once:!0});try{if(e.apply(f),await t(a),a.aborted||l!==s)throw nt();n=f,i()}finally{a.removeEventListener("abort",c)}},reset(){s+=1;const o=n.orientation!==Pt.orientation||n.capsuleHidden!==Pt.capsuleHidden;n=Pt,e.apply(Pt),o&&i()},onViewportChange(o){return r.add(o),()=>{r.delete(o)}},notifyViewportChange:i}}const tu="[data-hb-sdk-fullscreen-exit]";function kd(e){const t=()=>{const n=e();if(n)for(const s of[...document.body.children])s.matches(tu)&&n.append(s)},r=new MutationObserver(t);return r.observe(document.body,{childList:!0}),t(),()=>r.disconnect()}const Zt=500,ru=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"]),nu=/(authorization|cookie|password|passwd|secret|token|pkey|private[_-]?key|access[_-]?key|client[_-]?secret|api[_-]?key|apikey|session|jwt|refresh[_-]?token|csrf)/i;function kn(e){if(!e)return e;try{const t=new URL(e);if(t.username="",t.password="",ki(t.searchParams),t.hash&&t.hash.length>1){const r=t.hash.slice(1);if(r.includes("=")){const n=new URLSearchParams(r);ki(n)&&(t.hash=n.toString())}}return t.toString()}catch{return aa(e)}}function su(e){return e?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,ou(t)?"[redacted]":r])):{}}function On(e){if(e!==void 0){if(typeof e=="string")return oa(e);if(typeof e=="number"||typeof e=="boolean"||e===null)return e;try{const t=Dn(e),r=JSON.stringify(t);return r===void 0?"[unserializable]":r.length<=Zt?t:Js(r,Zt)}catch{return"[unserializable]"}}}function er(e){return Array.isArray(e)?e.slice(0,20).map(t=>er(t)):typeof e=="string"?au(e)?kn(e):oa(e):typeof e=="number"||typeof e=="boolean"||e===null||e===void 0?e:Rn(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>{const n=t.trim().toLowerCase();return At(t)?[t,"[redacted]"]:n==="headers"&&Rn(r)?[t,su(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,kn(r)]:[t,er(r)]})):On(e)}function iu(e){return e&&e.replace(/https?:\/\/[^\s]+/gi,t=>kn(t.replace(/[),.;]+$/g,"")))}function ou(e){const t=e.trim().toLowerCase();return ru.has(t)||At(t)||t.startsWith("x-heybox-")||t.startsWith("x-xhh-")}function At(e){return nu.test(e.trim())}function oa(e){const t=e.trim();if(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]"))try{return On(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,At(s)?"[redacted]":i]));return On(n)}}catch{}return Js(aa(e),Zt)}function Dn(e){return Array.isArray(e)?e.slice(0,20).map(t=>Dn(t)):Rn(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,At(t)?"[redacted]":Dn(r)])):typeof e=="string"?Js(e,Zt):e}function ki(e){let t=!1;for(const r of[...e.keys()])At(r)&&(e.set(r,"[redacted]"),t=!0);return t}function aa(e){return e.replace(/([?&#]|^|[?&])([^=&#\s]+)=([^&#\s]*)/g,(t,r,n)=>At(n)?`${r}${n}=[redacted]`:t)}function au(e){return/^https?:\/\//i.test(e.trim())||/^[a-z][a-z0-9+.-]*:\/\//i.test(e.trim())}function Js(e,t){return e.length<=t?e:`${e.slice(0,t)}…(truncated, total=${e.length})`}function Rn(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ct(e,t){return iu(String(er(e))).slice(0,t)}function lu(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:Ct(t.method,100),startedAt:t.startedAt,...typeof t.callId=="string"?{callId:Ct(t.callId,100)}:{},...typeof t.message=="string"?{message:Ct(t.message,512)}:{},...typeof t.title=="string"?{title:Ct(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=>Ct(r,40))}:{}}}const cu="/__hb_sdk__/diagnostics",Od="/__hb_sdk__/resources",uu=16;let st={instanceId:null,controller:new AbortController,records:new Map};const Mn=new Set;function Dd(e,t){const r=st,n={instanceId:e,emit:t,controller:new AbortController,records:new Map};return st=n,Oi(r,"宿主呈现实例已替换"),{snapshot:()=>la(n),dispose:()=>Oi(n,"宿主呈现实例已结束")}}function Oi(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 Xs(){return st.controller.signal}function Rd(){return st.controller.signal.aborted?{instanceId:null,interactions:[]}:la(st)}function la(e){return{instanceId:e.instanceId,interactions:[...e.records.values()].map(t=>ca(t.value))}}function ca(e){return lu(e)}function fu(e){return Mn.add(e),()=>{Mn.delete(e)}}function Di(){for(const e of[...Mn])try{e()}catch{}}function Qs(e,t){const r=st;if(r.controller.signal.aborted)throw new Error("宿主呈现实例已结束");if(r.records.size>=uu)throw new Error("待处理宿主交互过多");const n={...e,interactionId:crypto.randomUUID(),startedAt:Date.now()},s=o=>{const a=r.emit;if(a)try{const l=ca(n),f=Date.now();a({source:"host",phase:"presentation",method:e.method,callId:e.callId,interaction:{...l,state:o},level:"info",timestamp:f,startedAt:n.startedAt,durationMs:Math.max(0,f-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),Di()}};return r.records.set(n.interactionId,{value:n,finish:i}),s("shown"),r.records.has(n.interactionId)&&Di(),{interactionId:n.interactionId,get active(){return r.records.has(n.interactionId)},finish:i}}function Ri(){for(const e of st.records.values())if(e.value.kind==="toast"||e.value.kind==="loading")return e.value}function qr(e,t){for(const r of[...st.records.values()])(r.value.kind==="toast"||r.value.kind==="loading")&&(!t||r.value.kind===t)&&r.finish(e)}const Mi="hb-sdk-feedback-style",du=2e3,hu={light:20,medium:40,heavy:80},pu=120,mu=`
|
|
3
|
+
.host-overlay-layer.hb-sdk-feedback-vibrate-flash {
|
|
4
|
+
background: rgba(255, 255, 255, 0.22);
|
|
5
|
+
}
|
|
6
|
+
`;let Nt;const Pn=new Set;function Md(e){let t=Ri();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=fu(()=>{const s=Ri();s!==t&&(t=s,r(s))});try{t&&r(t)}catch(s){throw n(),s}return n}function Pd(e,t){const r=Xs();if(qr("replaced"),r.aborted)return Promise.resolve();let n;const s=Qs({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"),du)),Promise.resolve()}function Cd(e,t){const r=Xs();return qr("replaced"),r.aborted||Qs({kind:"loading",mode:"simulated",method:"ui.showLoading",dismissible:e?.dismissible===!0,...t?.requestId?{callId:t.requestId}:{}}),Promise.resolve()}function Ld(){return qr("hidden","loading"),Promise.resolve()}function xd(){qr("closed");for(const e of[...Pn])e();Nt?.finish("closed")}async function Nd(e,t){gu();const r=AbortSignal.any([Xs(),...t?.signal?[t.signal]:[]]);if(!await bu(Math.max(0,e.delay),r)||r.aborted||!_u(r,t?.requestId))return;const s=navigator.vibrate;if(typeof s=="function")try{s.call(navigator,hu[e.intensity])}catch{}}function Hd(e){document.documentElement.dataset.screenshotChromeHidden=e?"true":"false"}function gu(){if(document.getElementById(Mi))return;const e=document.createElement("style");e.id=Mi,e.textContent=mu,document.head.appendChild(e)}function _u(e,t){if(Nt?.finish("replaced"),e.aborted)return!1;const r=Eu();let n,s;return s=Qs({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"),Nt===s&&(Nt=void 0)}),s.active?(Nt=s,r.classList.add("hb-sdk-feedback-vibrate-flash"),n=window.setTimeout(()=>s?.finish("completed"),pu),!0):!1}function Eu(){return document.querySelector("#host-overlay-layer")??document.body}function bu(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),Pn.delete(a),r(l))},o=()=>i(!1),a=()=>i(!1);n=window.setTimeout(()=>i(!0),e),Pn.add(a),t.addEventListener("abort",o,{once:!0})})}const or="desktop";function yu(e){return e===or}const cn={width:440,height:956},Pi={top:1.32,right:3.4,bottom:1.32,left:3.4},un={width:410,height:914},Ci={top:2.05,right:4.8,bottom:1.8,left:4.1};function Li(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 Zs=[{id:"iphone-16-pro-max",label:"iPhone 16 Pro Max",screenWidth:cn.width,screenHeight:cn.height,...Li(cn,Pi,{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:Pi,toolbarLeft:53.67,platform:"ios"},{id:"pixel-9-pro",label:"Pixel 9 Pro",screenWidth:un.width,screenHeight:un.height,...Li(un,Ci,{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:Ci,toolbarLeft:44.69,platform:"android"}],wu=Zs[0];function Gr(e){return Zs.find(t=>t.id===e)??wu}function vu(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 Su(){let e;const t=[],r=crypto.randomUUID();let n=0,s=!1,i,o=!1;const a=new Set;let l=0,f=0;const c=256;let h=!1,p,_,v=!1;const S=I=>new TextEncoder().encode(JSON.stringify(I)).length,O=(I,g)=>{if(new TextEncoder().encode(I).length<=g)return I;let k=0,M=I.length;for(;k<M;){const V=Math.ceil((k+M)/2);new TextEncoder().encode(I.slice(0,V)).length<=g?k=V:M=V-1}return I.slice(0,k)};function U(){const I=navigator.userAgent,g=/Edg\//.test(I)?"Edge":/Chrome\//.test(I)?"Chrome":/Firefox\//.test(I)?"Firefox":/Safari\//.test(I)?"Safari":void 0,M=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}:{},...M?{os:M}:{}}}async function C(I){if(!e)throw new Error("诊断尚未配置");const g=I.operation==="attach"?I:{...I,targetId:p.targetId,ownerId:p.ownerId},k=await fetch(cu,{method:"POST",headers:{"content-type":"application/json","x-hb-sdk-csrf":e.csrfToken,"x-hb-sdk-diagnostics":e.diagnosticsToken,..._?{"x-hb-sdk-preview-owner":_}:{}},body:JSON.stringify(g),signal:AbortSignal.any([e.signal,AbortSignal.timeout(5e3)]),keepalive:h});if(!k.ok)throw Object.assign(new Error(`诊断请求失败 (${k.status})`),{status:k.status});return k.json()}function j(I){return new Promise(g=>{const k=e.signal,M=()=>{clearTimeout(V),k.removeEventListener("abort",M),g()},V=setTimeout(M,I);k.addEventListener("abort",M,{once:!0}),k.aborted&&M()})}async function L(){if(s||!e||!p)return;s=!0;let I=250;try{for(;t.length&&!e.signal.aborted;){const g=t[0];i=g;try{if(await C(g),t.shift(),i=void 0,I=250,f){const k=f;f=0,t.push({operation:"events",producerId:r,sequence:++n,events:[{source:"host",level:"warn",method:"diagnostics.dropped",message:`Host 发送缓冲已丢弃 ${k} 条诊断,存在采集缺口`,timestamp:Date.now(),outcome:"dropped"}]})}}catch(k){const M=k.status;if(M===403&&q(),M&&M>=400&&M<500&&M!==408&&M!==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 q(){v||(v=!0,e?.onOwnershipLost?.())}function te(I){l+=I,f+=I,e?.onDropped(l)}function B(I){if(I.operation==="update"){const g=I.error;I={...I,...g?{error:{code:O(g.code,100),message:O(g.message,4096),...g.name?{name:O(g.name,100)}:{},...g.stack?{stack:O(g.stack,8192)}:{},...g.cause?{cause:O(g.cause,2048)}:{},...g.phase?{phase:O(g.phase,100)}:{}}}:{},...I.reason?{reason:O(I.reason,200)}:{}}}if(I.operation==="update"){const g=t.findIndex(k=>k!==i&&k.operation==="update"&&k.instanceId===I.instanceId&&k.state===I.state);if(g>=0){t[g]={...t[g],...I};return}}if(t.length>=c){const g=t.findIndex(k=>k!==i&&k.operation==="events");if(g>=0){const k=t.splice(g,1)[0];k.operation==="events"&&te(k.events.length)}else{const k=t.find(M=>M!==i&&M.operation==="register");if(k?.operation==="register")for(let M=t.length-1;M>=0;M--){const V=t[M];V!==i&&"instanceId"in V&&V.instanceId===k.instanceId&&(t.splice(M,1),te(1))}else{te(1);return}}}t.push(I),L()}return{async configure(I){e=I;const g=new URL(location.href),k=new URLSearchParams(g.hash.slice(1)),M=k.get("hb-sdk-owner")??"";k.has("hb-sdk-owner")&&(k.delete("hb-sdk-owner"),g.hash=k.toString(),history.replaceState(history.state,"",g.href));const V="__HB_SDK_PREVIEW_OWNER__",ce=Object.getOwnPropertyDescriptor(window,V);let ue;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("预览页面授权格式无效,请重新打开预览");ue=G}else{if(M&&!/^[a-f0-9]{64}$/.test(M))throw new Error("预览页面授权格式无效,请重新打开预览");ue={token:M,pageId:crypto.randomUUID()},Object.defineProperty(window,V,{value:ue,configurable:!0})}_=ue.token||void 0;const mt=ue.pageId,re=await C({operation:"attach",pageId:mt,metadata:U()});if(!re.target?.targetId||!re.target.ownerId||typeof re.ownerToken!="string")throw new Error("调试目标授权不完整,请重新打开预览");return p=re.target,_=re.ownerToken,L(),p},send:B,close(){h=!0},event(I,g){const M=[{...g,message:O(g.message,4096),truncated:g.truncated===!0||new TextEncoder().encode(g.message).length>4096,...g.method?{method:O(g.method,100)}:{},...g.callId?{callId:O(g.callId,100)}:{},...g.phase?{phase:O(g.phase,100)}:{},...g.errorCode?{errorCode:O(g.errorCode,100)}:{},...g.network?{network:{...g.network.method?{method:O(g.network.method,32)}:{},...g.network.origin?{origin:O(g.network.origin,512)}:{},...g.network.pathname?{pathname:O(g.network.pathname,1024)}:{},...g.network.responseStatus===void 0?{}:{responseStatus:g.network.responseStatus}}}:{}}],V=t.at(-1);V!==i&&V?.operation==="events"&&V.instanceId===I&&V.events.length+M.length<=50&&S({...V,events:[...V.events,...M]})<=32e3?V.events.push(...M):B({operation:"events",instanceId:I,producerId:r,sequence:++n,events:M})},async poll(){if(!(!e||!p||v||o||e.signal.aborted)){o=!0;try{const{tasks:I}=await C({operation:"poll"});for(const g of I)a.has(g.requestId)||(a.add(g.requestId),(async()=>{let k;try{k=await e.query(g)}catch{k={code:"closed",error:"实例查询已结束"}}try{S(k)>32e3&&(k={code:"invalid",error:"诊断结果超出 32 KiB 输出上限"})}catch{k={code:"invalid",error:"诊断结果不可序列化"}}e.signal.aborted||await C({operation:"result",requestId:g.requestId,instanceId:g.instanceId,result:k}).catch(()=>{})})().finally(()=>a.delete(g.requestId)))}catch(I){I.status===403&&q()}finally{o=!1}}}}}const Ud=Su();class oe extends Error{constructor(t,r){super(r),this.code=t,this.name="BrowserDevHostPreviewError"}}function Fd(e){const t=new Map;let r,n=!1;return{bridge:{version:1,async run(i){let o,a;try{Tu(i);const l=Math.min(i.deadlineAt,Date.now()+(i.timeoutMs??25e3)),f=()=>{if(Date.now()>=l){const v=new oe("PREVIEW_TIMEOUT","调试台预览操作超时");throw o?.abort(v),v}o?.signal.throwIfAborted()};if(f(),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 c=e.observe(),h=i.preset??c.preset;if(i.orientation&&h===or)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 p=o.signal;return{ok:!0,value:await Au((async()=>(f(),i.command==="reload"?await e.reload(p):(i.preset&&await e.selectPreset(i.preset,p),f(),i.orientation&&await e.applyOrientation(i.orientation,p)),f(),await e.waitForLayout(p),f(),e.observe()))(),p)}}catch(l){return{ok:!1,error:Iu(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 Wd(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 Tu(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!==or&&!Zs.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 Iu(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 Au(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 Bd=48,Ht=16384,Oe=Object.freeze({width:414,height:780,minWidth:320,minHeight:480,resizable:!0});function xi(e,t,r){return Math.min(Math.max(e,t),r)}function ua(e){return{width:e?.defaultWidth??Oe.width,height:e?.defaultHeight??Oe.height}}function zr(e,t){return{minWidth:e?.minWidth??Oe.minWidth,minHeight:e?.minHeight??Oe.minHeight,widthLimit:t?Math.min(t.width,Ht):Ht,heightLimit:t?Math.min(t.height,Ht):Ht}}function Yr(e,t){return{...e.width===void 0?{}:{width:xi(e.width,t.minWidth,Math.max(t.minWidth,t.widthLimit))},...e.height===void 0?{}:{height:xi(e.height,t.minHeight,Math.max(t.minHeight,t.heightLimit))}}}function ku(e,t){const r=ua(t);return e.defaultsAtWrite.width!==r.width||e.defaultsAtWrite.height!==r.height}function Ou(e){const t=Oe,r=e.declared,n=zr(r),s=e.memory&&!ku(e.memory,r)?e.memory:void 0,i=Yr({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 Vd=js();function jd(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 fa=[{id:"app",label:"App"},{id:"sdk",label:"SDK"},{id:"network",label:"Network"},{id:"runtime",label:"Runtime"},{id:"host",label:"Host"}],da=[{id:"log",label:"普通"},{id:"info",label:"信息"},{id:"warn",label:"警告"},{id:"error",label:"错误"}],ha=new Set(["bridge_response","bridge_started","src_resolved","location_probe"]),Du=new Set(["auth","cloud","companion","device","directory","file","files","navigation","share","storage","ui","user","viewport"]);function Ru(e,t,r=Date.now(),n){const s=er(t),i=Jr(s),o=Number.isFinite(r)?r:Date.now(),a=Wu(i?.outcome),l=Cu(e,i),f=Lu(l,i?.source),c=n??xu(e,a),h=Nu(s,i,e),p=Ve(i?.callId),_=Ve(i?.errorCode)??Ve(i?.code),v=pa(i?.durationMs),S=ma(i?.generation);return{method:e,detail:s,timestamp:o,level:c,source:f,category:l,summary:h,...a?{outcome:a}:{},...v===void 0?{}:{durationMs:v},...p?{callId:p}:{},..._?{errorCode:_}:{},...S===void 0?{}:{generation:S},...l==="console"&&(c==="log"||c==="info")?{dedupeKey:`${f}\0${c}\0${e}\0${h}`}:{}}}function Mu(e,t){if(ha.has(e.type))return;const r=Uu(e),n=er({...e,generation:t}),s=Jr(n),i=Fu(e),o=e.type==="error"?"error":e.type==="security_violation"?"denied":void 0,a=[s?.errorCode,s?.message,s?.reason,s?.launchUrlType].map(l=>Ve(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 $d(e){if(e.source==="runtime"&&e.phase&&ha.has(e.phase))return;let t;if(e.source==="runtime"&&e.phase)try{const n=Jr(JSON.parse(e.message));if(n?.type===e.phase&&typeof n.runtimeId=="string"&&typeof n.timestamp=="number"){const s=ma(n.generation);t=Mu(n,s??0),t&&s===void 0&&delete t.generation}}catch{}const r=t??Ru(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 Pu(e){return[e.source,e.category,e.level,e.method,e.summary,e.outcome,e.errorCode,e.callId,ei(e.detail)].filter(Boolean).join(" ").toLocaleLowerCase()}function ei(e){try{return JSON.stringify(e,null,2)??""}catch{return"[无法序列化]"}}function Cu(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"||Du.has(e.split(".")[0]??"")?"capability":"tooling"}function Lu(e,t){return e==="console"&&(t==="app"||t==="host")?t:e==="network"?"network":e==="capability"?"sdk":e==="lifecycle"||e==="security"?"runtime":"host"}function xu(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 Nu(e,t,r){const n=t?.message;if(typeof n=="string"&&n.trim())return n.trim();if(n!==void 0&&typeof n!="string")return Ni(n);const s=Jr(t?.network);if(s){const a=Ve(s.method),l=Ve(s.origin),f=Ve(s.pathname),c=pa(s.responseStatus),h=Hu(l,f),p=[a,h,c===void 0?void 0:String(c)].filter(Boolean).join(" ");if(p)return p}const i=Ve(t?.errorCode)??Ve(t?.code);if(i)return i;if(!t)return Ni(e);const o=Ve(t.outcome);return o?`${r} · ${o}`:""}function Hu(e,t){return e?t?e.replace(/\/$/,"")+(t.startsWith("/")?t:"/"+t):e:t}function Uu(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 Fu(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 Wu(e){return e==="success"||e==="error"||e==="dropped"||e==="denied"?e:void 0}function Ve(e){return typeof e=="string"&&e.trim()?e.trim():void 0}function pa(e){return typeof e=="number"&&Number.isFinite(e)?e:void 0}function ma(e){return Number.isSafeInteger(e)?e:void 0}function Ni(e){const t=ei(e).replace(/\s+/g," ").trim();return t==="{}"||t==="[]"?"":t}function Jr(e){return Object.prototype.toString.call(e)==="[object Object]"?e:void 0}function Bu(){return{declaration:void 0,initialized:!1,width:Oe.width,height:Oe.height,minWidth:Oe.minWidth,minHeight:Oe.minHeight,resizable:Oe.resizable,maximized:!1,minimized:!1,closed:!1,availableWidth:0,availableHeight:0}}function ga(e){return yu(e)?or:Gr(e).id}function _a(e){return e===or?"desktop":"mobile"}const Ea="hb-sdk:browser-dev-host:device",ba="hb-sdk:browser-dev-host:diagnostics-width",ya="hb-sdk:browser-dev-host:desktop-app",wa="hb-sdk:browser-dev-host:desktop-window",Vu=new URL(location.href).searchParams.get("device"),fn=ga(Vu??Gu()),P=Hr({activeTab:"logs",selectedUploadSession:"",uploadSessions:[],devicePresetId:Gr(fn).id,deviceSelectOpen:!1,deviceSelectionId:fn,previewMode:_a(fn),hostPlatform:"unknown",desktopWindow:Bu(),logs:[],diagnosticTargetId:"",diagnosticOwnerId:"",diagnosticPrimaryTargetId:null,diagnosticOwnershipLost:!1,diagnosticTargetName:"",diagnosticInstances:[],diagnosticTargets:[],diagnosticsDropped:0,diagnosticsStale:!1,diagnosticsGap:!1,storage:[],storageError:"",queries:{logs:"",storage:"",sandbox:"","user-data":"",problems:""},followLogs:!0,pausedLogCount:0,problemClearWatermark:0,logFilters:{levels:Fi(da),sources:Fi(fa)},diagnosticsWidth:zu(),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:Yu(),address:void 0,workspaceCardsEnabled:!1,devSessionId:"",miniProgramId:"",miniProgramManifestToken:"",ready:!1,unavailableReason:"正在等待桌面调试配置"}});let Ir=0,Cn;const ju=Ze(()=>Gr(P.devicePresetId)),Kd=Ze(()=>vu(ju.value,P.display.orientation,P.display.capsuleHidden)),qd=Ze(()=>{const e=P.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=zr(e.declaration,{width:e.availableWidth,height:e.availableHeight}),r=Yr({width:e.availableWidth,height:e.availableHeight},t);return{width:r.width??e.width,height:r.height??e.height}}),Gd=Ze(()=>{const e=P.queries.logs.trim().toLocaleLowerCase();return P.logs.filter(t=>(!P.selectedUploadSession||t.uploadSessionId===P.selectedUploadSession)&&P.logFilters.sources[t.source]&&P.logFilters.levels[t.level]&&(!e||Pu(t).includes(e)))}),zd=Ze(()=>(P.selectedUploadSession?1:0)+Object.values(P.logFilters.sources).filter(e=>!e).length+Object.values(P.logFilters.levels).filter(e=>!e).length),$u=Ze(()=>{const e=new Map;for(const t of P.logs){if(t.id<=P.problemClearWatermark||!Ku(t))continue;const r=qu(t),n=e.get(r);if(n){n.count+=t.repeatCount;continue}e.set(r,{...t,count:t.repeatCount})}return[...e.values()]}),Yd=Ze(()=>Sa(P.storage,P.queries.storage,e=>`${e.key} ${e.area} ${e.serializedValue}`)),Jd=Ze(()=>Sa($u.value,P.queries.problems,e=>`${e.method} ${ei(e.detail)}`));function Xd(e){const t=ga(e);P.deviceSelectionId=t,P.previewMode=_a(t),P.devicePresetId=Gr(t).id;try{localStorage.setItem(Ea,t)}catch{}}function Qd(e){const t=P.desktopWindow,r=zr(e);if(t.declaration=e,t.minWidth=r.minWidth,t.minHeight=r.minHeight,!t.initialized){const s=Ou({declared:e,memory:Ju()});t.width=s.width,t.height=s.height,t.resizable=s.resizable,t.initialized=!0;return}t.resizable=e?.resizable??Oe.resizable;const n=Yr({width:t.width,height:t.height},r);n.width!==void 0&&(t.width=n.width),n.height!==void 0&&(t.height=n.height)}function Zd(e,t){P.desktopWindow.availableWidth=Ui(e),P.desktopWindow.availableHeight=Ui(t)}function eh(e,t,r={}){const n=P.desktopWindow;if(n.maximized)return;const s=Yr({width:e,height:t},zr(n.declaration));s.width!==void 0&&(n.width=s.width),s.height!==void 0&&(n.height=s.height),r.persist&&Xu(n)}function th(e){P.desktopWindow.maximized=e===!0}function rh(e){P.desktopWindow.minimized=e===!0}function nh(e){P.desktopWindow.closed=e===!0}function sh(e){P.hostPlatform=e}function ih(e){P.navigationBarStyle=e}function oh(e){P.display.orientation=e.orientation,P.display.capsuleHidden=e.capsuleHidden}function ah(e){P.desktopLaunch.target=e;try{localStorage.setItem(ya,e)}catch{}}function lh(e){P.desktopLaunch.address=e.address,P.desktopLaunch.workspaceCardsEnabled=e.workspaceCardsEnabled===!0,P.desktopLaunch.devSessionId=e.devSessionId??"",P.desktopLaunch.miniProgramId=e.miniProgramId??"",P.desktopLaunch.miniProgramManifestToken=e.miniProgramManifestToken??"",P.desktopLaunch.ready=e.ready,P.desktopLaunch.unavailableReason=e.unavailableReason??""}const Hi=500;function ch(e,t){if(!Number.isSafeInteger(t)||t<1)throw new Error("服务端日志游标无效");P.logs.some(r=>r.id===t)||va(e,t)}function uh(e){va(e,Ir+1)}function va(e,t){Ir=Math.max(Ir,t);const r=P.logs.at(-1);if(e.dedupeKey&&r&&r.uploadSessionId===e.uploadSessionId&&Cn===e.dedupeKey){const{dedupeKey:n,...s}=e;Object.assign(r,s,{id:t,repeatCount:r.repeatCount+1})}else{const{dedupeKey:n,...s}=e;P.logs.push({...s,id:t,firstTimestamp:s.timestamp,repeatCount:1}),Cn=n}P.followLogs||(P.pausedLogCount+=1),P.logs.length>Hi&&P.logs.splice(0,P.logs.length-Hi)}function fh(){P.logs.length=0,P.pausedLogCount=0,Cn=void 0}function dh(){P.problemClearWatermark=Ir}function hh(e){P.followLogs=e,e&&(P.pausedLogCount=0)}function ph(e){P.logFilters.levels[e]=!P.logFilters.levels[e]}function mh(e){P.logFilters.sources[e]=!P.logFilters.sources[e]}function gh(){P.selectedUploadSession="";for(const e of da)P.logFilters.levels[e.id]=!0;for(const e of fa)P.logFilters.sources[e.id]=!0}function _h(e){const t=Math.min(560,Math.max(320,Math.round(e)));P.diagnosticsWidth=t;try{localStorage.setItem(ba,String(t))}catch{}}function Ku(e){return/error|failed|security|violation|blocked/i.test(e.method)?!0:e.outcome==="error"||e.outcome==="denied"}function qu(e){const t=Ar(e.detail)?e.detail:void 0,r=Ar(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 Ar(e){return Object.prototype.toString.call(e)==="[object Object]"}function Gu(){try{return localStorage.getItem(Ea)}catch{return null}}function zu(){try{const e=Number(localStorage.getItem(ba));return Number.isFinite(e)&&e>0?Math.min(560,Math.max(320,e)):400}catch{return 400}}function Yu(){try{return localStorage.getItem(ya)==="debug"?"debug":"production"}catch{return"production"}}function Ui(e){return Number.isFinite(e)?Math.max(0,Math.round(e)):0}function hr(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>0&&e<=Ht?e:void 0}function Ju(){let e;try{e=localStorage.getItem(wa)}catch{return}if(!e)return;let t;try{t=JSON.parse(e)}catch{return}if(!Ar(t))return;const r=hr(t.width),n=hr(t.height),s=Ar(t.defaultsAtWrite)?t.defaultsAtWrite:void 0,i=s?hr(s.width):void 0,o=s?hr(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 Xu(e){const t={width:e.width,height:e.height,defaultsAtWrite:ua(e.declaration),updatedAt:Date.now()};try{localStorage.setItem(wa,JSON.stringify(t))}catch{}}function Fi(e){return Object.fromEntries(e.map(t=>[t.id,!0]))}function Sa(e,t,r){const n=t.trim().toLocaleLowerCase();return n?e.filter(s=>r(s).toLocaleLowerCase().includes(n)):e}const Qu="METHOD_FORBIDDEN";function Zu(e){const t=new Error(`小程序能力已禁用: ${e}`);return t.name="MethodForbiddenError",t.code=Qu,t}class Eh extends Error{code="HOST_REQUEST_UNSUPPORTED";constructor(t="当前 Host 不支持该请求形状",r){super(t),this.name="HostRequestUnsupportedError",r&&"cause"in r&&Object.defineProperty(this,"cause",{configurable:!0,enumerable:!1,value:r.cause}),Object.setPrototypeOf(this,new.target.prototype)}}const ef=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function tf(e){const t=new TextEncoder().encode(e),r=Math.ceil((t.length+9)/64)*64,n=new Uint8Array(r);n.set(t),n[t.length]=128,new DataView(n.buffer).setUint32(r-4,t.length*8,!1);const s=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),i=new Uint32Array(64),o=new DataView(n.buffer);for(let a=0;a<r;a+=64){for(let O=0;O<16;O+=1)i[O]=o.getUint32(a+O*4,!1);for(let O=16;O<64;O+=1){const U=i[O-15],C=i[O-2],j=He(U,7)^He(U,18)^U>>>3,L=He(C,17)^He(C,19)^C>>>10;i[O]=i[O-16]+j+i[O-7]+L>>>0}let[l,f,c,h,p,_,v,S]=s;for(let O=0;O<64;O+=1){const U=S+(He(p,6)^He(p,11)^He(p,25))+(p&_^~p&v)+ef[O]+i[O]>>>0,C=(He(l,2)^He(l,13)^He(l,22))+(l&f^l&c^f&c);S=v,v=_,_=p,p=h+U>>>0,h=c,c=f,f=l,l=U+C>>>0}[l,f,c,h,p,_,v,S].forEach((O,U)=>{s[U]=s[U]+O>>>0})}return Array.from(s,a=>a.toString(16).padStart(8,"0")).join("")}function He(e,t){return e>>>t|e<<32-t}const rf=Object.freeze({upload:"你允许读取的数据可能会被上传至开发者服务器。",no_network:"此小程序未获准将你允许读取的数据上传至开发者服务器。"});function bh(e){if(e===void 0||e==="")return;let t;try{t=JSON.parse(e)}catch{return}if(typeof t!="object"||t===null||Array.isArray(t))return;const r=t;if(r.schema_version!==1||typeof r.records!="object"||r.records===null||Array.isArray(r.records))return;const n={};for(const[s,i]of Object.entries(r.records)){if(typeof i!="object"||i===null||Array.isArray(i))return;const o=i;if(o.decision!=="ask"&&o.decision!=="allow"&&o.decision!=="deny"||typeof o.revision!="number"||!Number.isSafeInteger(o.revision)||o.revision<1||o.consentFingerprint!==void 0&&!nf(o.consentFingerprint))return;n[s]={decision:o.decision,revision:o.revision,...o.decision==="allow"&&o.consentFingerprint!==void 0?{consentFingerprint:o.consentFingerprint}:{}}}return{schema_version:1,records:n}}function yh(e){return tf(`${e.miniProgramId}\0${e.userId}\0${e.environment}`).slice(0,32)}function wh(e){const t=e.miniProgramId?.trim(),r=e.userId?.trim(),n=e.environment?.trim();if(!t||!r||!n)throw Object.assign(new Error("无法确定用户数据许可作用域"),{code:"INVALID_STATE"});return Object.freeze({miniProgramId:t,userId:r,environment:n})}function nf(e){return typeof e=="string"&&/^[0-9a-f]{64}$/.test(e)}function Ln(e,t,r){return{code:e,message:t,data:r}}function vh(e){return sf(e)?{code:e.code,message:e.message,data:e.data}:e instanceof Error?Ln("RUNTIME_ERROR",e.message):Ln("UNKNOWN_ERROR","小程序运行时异常",e)}function sf(e){return!!e&&typeof e=="object"&&typeof e.code=="string"&&typeof e.message=="string"}const Ta="user.games.getOverview",Ia="user.data.query",Aa="user.data.sync",ka="user.data.file",Oa="user.dataPermission.request",Da="user.dataPermission.get",Ra="user.dataPermission.set",Ma="user.dataPermission.openSettings",Pa="user.dataPermission.revokeSession",of=[Ta,Ia,Aa,ka,Oa,Da,Ra,Ma,Pa],xn="workspaceCards.requestRefresh",Nn="auth.getAccountState",Hn="auth.login",Un="user.getFollowStatus",Fn="user.requestFollowAuthor",af="gameSaves.list",lf="gameSaves.sync",cf="gameSaves.getFile",uf="gameSaves.readParsedData",Wn="user.getInfo",Bn="user.revokeAuthorization",Vn="user.getSteamGameList",kr="user.showAppreciation",jn="share.copyLink",$n="share.showShareMenu",Kn="share.screenshot",qn="share.screenshotLong",Gn="viewport.setDisplay",zn="viewport.getWindowInfo",Yn="viewport.setNavigationBarStyle",Jn="storage.getStorage",Xn="storage.setStorage",Qn="network.request",Zn="network.download",es="network.upload",ts="files.pickFiles",rs="files.pickDirectory",ns="files.saveFile",ss="file.create",is="file.remove",os="file.exists",as="file.readText",ls="file.writeText",cs="file.readBytes",us="file.writeBytes",fs="file.stat",ds="directory.create",hs="directory.remove",ps="directory.exists",ms="directory.list",gs="media.pick",_s="ui.showToast",Es="ui.showLoading",bs="ui.hideLoading",ys="device.vibrate",ws="device.setClipboard",vs="device.executeProtocol",Ss="navigation.close",Ts="navigation.reload",Is="navigation.openAppPage",As="cloud.leaderboard.submit",ks="cloud.leaderboard.getList",Os="cloud.leaderboard.getCurrentUserEntry",Ds="cloud.leaderboard.deleteCurrentUserEntry",Rs="cloud.leaderboard.getInfo",Ms="cloud.storage.getStorage",Ps="cloud.storage.setStorage",Cs="cloud.storage.removeItem",Ls="cloud.storage.getKeys",Ca="companion.getInfo",La="companion.getPreparationStatus",xa="companion.prepare",Na="companion.cancelPreparation",Ha="companion.getActiveSession",Ua="companion.launch",Fa="companion.session.write",Wa="companion.session.closeStdin",Ba="companion.session.terminate",Va="companion.session.ackOutput",ja="companion.openAttachment",$a="companion.showNotification",Sh=[...[af,lf,cf,uf].map(e=>({method:e,module:"gameSaves",capability:e,requirement:{kind:"all",permissions:["gameSaves"]},risk:"high"})),...of.map(e=>({method:e,module:"userGameData",capability:e,requirement:{kind:"all",permissions:["user_game_data"]},risk:"high"})),{method:xn,module:"workspaceCards",capability:xn,requirement:{kind:"all",permissions:["workspaceCards"]},risk:"high"},{method:Nn,module:"auth",capability:Nn,requirement:{kind:"none"},risk:"low"},{method:Hn,module:"auth",capability:Hn,requirement:{kind:"all",permissions:["userInfo"]},risk:"medium"},{method:Un,module:"user",capability:Un,requirement:{kind:"none"},risk:"low"},{method:Fn,module:"user",capability:Fn,requirement:{kind:"none"},risk:"high"},{method:Wn,module:"user",capability:Wn,requirement:{kind:"all",permissions:["userInfo"]},risk:"medium"},{method:Bn,module:"user",capability:Bn,requirement:{kind:"none"},risk:"high"},{method:Vn,module:"user",capability:Vn,requirement:{kind:"all",permissions:["steamLibrary"]},risk:"high"},{method:kr,module:"user",capability:kr,requirement:{kind:"none"},risk:"medium"},{method:jn,module:"share",capability:jn,requirement:{kind:"all",permissions:["share"]},risk:"medium"},{method:$n,module:"share",capability:$n,requirement:{kind:"all",permissions:["share"]},risk:"low"},{method:Kn,module:"share",capability:Kn,requirement:{kind:"all",permissions:["share"]},risk:"medium"},{method:qn,module:"share",capability:qn,requirement:{kind:"all",permissions:["share"]},risk:"medium"},{method:zn,module:"viewport",capability:zn,requirement:{kind:"none"},risk:"low"},{method:Yn,module:"viewport",capability:Yn,requirement:{kind:"none"},risk:"low"},{method:Gn,module:"viewport",capability:Gn,requirement:{kind:"none"},risk:"low"},{method:Jn,module:"storage",capability:Jn,requirement:{kind:"all",permissions:["storage"]},risk:"low"},{method:Xn,module:"storage",capability:Xn,requirement:{kind:"all",permissions:["storage"]},risk:"medium"},{method:Qn,module:"network",capability:Qn,requirement:{kind:"all",permissions:["network"]},risk:"high"},{method:Zn,module:"network",capability:Zn,requirement:{kind:"all",permissions:["network","filesystem"]},risk:"high"},{method:es,module:"network",capability:es,requirement:{kind:"all",permissions:["network","filesystem"]},risk:"high"},{method:ts,module:"files",capability:ts,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:rs,module:"files",capability:rs,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:ns,module:"files",capability:ns,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:ss,module:"file",capability:ss,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:is,module:"file",capability:is,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:os,module:"file",capability:os,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:as,module:"file",capability:as,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:ls,module:"file",capability:ls,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:cs,module:"file",capability:cs,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:us,module:"file",capability:us,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:fs,module:"file",capability:fs,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:ds,module:"directory",capability:ds,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:hs,module:"directory",capability:hs,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:ps,module:"directory",capability:ps,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:ms,module:"directory",capability:ms,requirement:{kind:"all",permissions:["filesystem"]},risk:"high"},{method:gs,module:"media",capability:gs,requirement:{kind:"all",permissions:["media"]},risk:"high"},{method:_s,module:"ui",capability:_s,requirement:{kind:"none"},risk:"low"},{method:Es,module:"ui",capability:Es,requirement:{kind:"none"},risk:"low"},{method:bs,module:"ui",capability:bs,requirement:{kind:"none"},risk:"low"},{method:ys,module:"device",capability:ys,requirement:{kind:"none"},risk:"low"},{method:ws,module:"device",capability:ws,requirement:{kind:"all",permissions:["clipboard"]},risk:"medium"},{method:vs,module:"device",capability:vs,requirement:{kind:"all",permissions:["appProtocol"]},risk:"high"},{method:Ss,module:"navigation",capability:Ss,requirement:{kind:"none"},risk:"medium"},{method:Ts,module:"navigation",capability:Ts,requirement:{kind:"none"},risk:"medium"},{method:Is,module:"navigation",capability:Is,requirement:{kind:"none"},risk:"medium"},{method:As,module:"cloud",capability:As,requirement:{kind:"all",permissions:["leaderboard"]},risk:"medium"},{method:ks,module:"cloud",capability:ks,requirement:{kind:"all",permissions:["leaderboard"]},risk:"low"},{method:Os,module:"cloud",capability:Os,requirement:{kind:"all",permissions:["leaderboard"]},risk:"medium"},{method:Ds,module:"cloud",capability:Ds,requirement:{kind:"all",permissions:["leaderboard"]},risk:"medium"},{method:Rs,module:"cloud",capability:Rs,requirement:{kind:"all",permissions:["leaderboard"]},risk:"low"},{method:Ms,module:"cloud",capability:Ms,requirement:{kind:"all",permissions:["cloud_storage"]},risk:"low"},{method:Ps,module:"cloud",capability:Ps,requirement:{kind:"all",permissions:["cloud_storage"]},risk:"medium"},{method:Cs,module:"cloud",capability:Cs,requirement:{kind:"all",permissions:["cloud_storage"]},risk:"medium"},{method:Ls,module:"cloud",capability:Ls,requirement:{kind:"all",permissions:["cloud_storage"]},risk:"low"},...[Ca,La,xa,Na,Ha,Ua,Fa,Wa,Ba,Va,ja,$a].map(e=>({method:e,module:"companion",capability:e,requirement:{kind:"all",permissions:["companion"]},risk:"high"}))],ff={ark:"明日方舟",black_myth_wukong:"黑神话悟空",task_bar_hero:"任务栏英雄",phantom_blade_zero:"影之刃零"},df=Object.keys(ff),ti=[{key:"game.ark.profile",game:"ark",family:"profile",name:"明日方舟角色与养成资料",disclosureRevision:1,queries:{get:{schema:"ark.profile",version:1}},sync:!1,file:!1},{key:"game.ark.gacha",game:"ark",family:"gacha",name:"明日方舟抽卡记录与分析",disclosureRevision:1,queries:{get:{schema:"ark.gacha-analysis",version:1},list:{schema:"ark.gacha-record-page",version:1,page:{defaultSize:50,maxSize:100}}},sync:!1,file:!1},{key:"game.black_myth_wukong.save_analysis",game:"black_myth_wukong",family:"save_analysis",name:"黑神话悟空存档解析结果",disclosureRevision:1,queries:{get:{schema:"black_myth_wukong.save",version:1}},sync:!0,file:!1},{key:"game.black_myth_wukong.save_files",game:"black_myth_wukong",family:"save_files",name:"黑神话悟空云存档文件",disclosureRevision:1,queries:{list:{schema:"save-file-page",version:1}},sync:!0,file:!0},{key:"game.task_bar_hero.save_analysis",game:"task_bar_hero",family:"save_analysis",name:"任务栏英雄存档解析结果",disclosureRevision:1,queries:{get:{schema:"task_bar_hero.save",version:1}},sync:!0,file:!1},{key:"game.task_bar_hero.save_files",game:"task_bar_hero",family:"save_files",name:"任务栏英雄云存档文件",disclosureRevision:1,queries:{list:{schema:"save-file-page",version:1}},sync:!0,file:!0},{key:"game.phantom_blade_zero.save_analysis",game:"phantom_blade_zero",family:"save_analysis",name:"影之刃零存档解析结果",disclosureRevision:1,queries:{get:{schema:"phantom_blade_zero.save",version:1}},sync:!0,file:!1},{key:"game.phantom_blade_zero.save_files",game:"phantom_blade_zero",family:"save_files",name:"影之刃零云存档文件",disclosureRevision:1,queries:{list:{schema:"save-file-page",version:1}},sync:!0,file:!0}],Ka=ti.map(e=>e.key),hf=new Set(Ka),pf=new Set(df);function Th(e){return hf.has(e)}function Ih(e){return pf.has(e)}function Ah(e){const t=ti.find(s=>s.key===e);if(!t)return;const r=t.queries,n=Object.keys(r);return t.sync&&n.push("sync"),t.file&&n.push("file"),{key:t.key,game:t.game,name:t.name,family:t.family,disclosureRevision:t.disclosureRevision,queries:r,operations:n}}const kh="同步时,原始存档将上传至小黑盒;向小程序提供原始文件仍需单独许可。",ut=["account.getCurrentUserId","account.onChange","storage.getRaw","storage.setRaw"],dn=[...ut,"network.request"],Oh={"gameSaves.list":["account.getCurrentUserId","account.onChange","network.request"],"gameSaves.sync":["account.getCurrentUserId","account.onChange","network.request"],"gameSaves.readParsedData":["account.getCurrentUserId","account.onChange","network.request"],"gameSaves.getFile":["account.getCurrentUserId","account.onChange","network.request","network.stream","files.transfer","files.access"],[xn]:["workspaceCards.requestRefresh"],[Nn]:["account.getCurrentUserId","account.getAccountKey","account.onChange"],[Hn]:["account.getCurrentUserId","account.ensureAuthenticated","account.onChange","network.request"],[Un]:["account.getCurrentUserId","account.onChange","network.request"],[Fn]:["account.getCurrentUserId","account.ensureAuthenticated","account.onChange","network.request"],[Wn]:["account.getCurrentUserId","account.onChange","network.request"],[Bn]:["account.getCurrentUserId","account.onChange","network.request"],[Vn]:["account.getCurrentUserId","account.onChange","network.request"],[jn]:["presentation.setClipboard"],[$n]:["presentation.showShareMenu"],[Kn]:["presentation.getViewportMetrics","presentation.captureAndShare"],[qn]:["presentation.getViewportMetrics","presentation.captureAndShare"],[Gn]:["presentation.applyOrientation"],[zn]:["presentation.getViewportMetrics","presentation.getNavigationBarHeight"],[Yn]:["presentation.setNavigationBarStyle"],[Jn]:["storage.getRaw"],[Xn]:["storage.setRaw"],[Qn]:["network.request"],[Zn]:["network.stream","files.transfer","files.access"],[es]:["network.upload","files.access"],[ts]:["files.external"],[rs]:["files.external"],[ns]:["files.save"],[ss]:["files.access"],[is]:["files.removeFile"],[os]:["files.access"],[as]:["files.access"],[ls]:["files.access"],[cs]:["files.access"],[us]:["files.access"],[fs]:["files.access"],[ds]:["files.access"],[hs]:["files.removeDirectory"],[ps]:["files.access"],[ms]:["files.access"],[gs]:["media.pick"],[kr]:["presentation.showAppreciation"],[_s]:["presentation.showToast"],[Es]:["presentation.showLoading"],[bs]:["presentation.hideLoading"],[ys]:["presentation.vibrate"],[ws]:["presentation.setClipboard"],[vs]:["protocol.invoke"],[Ss]:["presentation.close"],[Ts]:["presentation.reload"],[Is]:["presentation.openAppPage"],[As]:["account.getCurrentUserId","account.onChange","network.request"],[ks]:["account.onChange","network.request"],[Os]:["account.getCurrentUserId","account.onChange","network.request"],[Ds]:["account.getCurrentUserId","account.onChange","network.request"],[Rs]:["account.onChange","network.request"],[Ms]:["account.getCurrentUserId","account.onChange","network.request"],[Ps]:["account.getCurrentUserId","account.onChange","network.request"],[Cs]:["account.getCurrentUserId","account.onChange","network.request"],[Ls]:["account.getCurrentUserId","account.onChange","network.request"],[Ca]:["companion.getInfo"],[La]:["companion.getPreparationStatus"],[xa]:["companion.getInfo","companion.getPreparationStatus","companion.prepare"],[Na]:["companion.cancelPreparation"],[Ha]:["companion.getActiveSession"],[Ua]:["companion.getInfo","companion.launch"],[Fa]:["companion.session.write"],[Wa]:["companion.session.closeStdin"],[Ba]:["companion.session.terminate"],[Va]:["companion.session.ackOutput"],[ja]:["companion.openAttachment"],[$a]:["companion.showNotification"],[Ta]:ut,[Ia]:dn,[Aa]:dn,[ka]:[...dn,"files.sandbox","files.removeFile","network.stream","files.transfer"],[Oa]:[...ut,"presentation.confirmDataPermission"],[Da]:ut,[Ra]:ut,[Ma]:[...ut,"presentation.openDataPermissions"],[Pa]:ut},mf=new Set([kr]);function Dh(e,t){if(t[e]!==!0)throw mf.has(e)?Ln("REQUEST_UNSUPPORTED","当前宿主不支持该能力"):Zu(e)}const gf=["ready","no_data","updating","user_login","source_invalid","source_link_required","unavailable","failed","unknown"],Rh=Object.freeze({ready:"已许可且有摘要",empty:"无数据",updating:"更新中",blocked:"需要来源操作",unavailable:"来源不可用",unknown:"未知/不支持"});function _f(e){switch(e){case"ready":return"ready";case"no_data":return"empty";case"updating":return"updating";case"user_login":case"source_invalid":case"source_link_required":return"blocked";case"unavailable":case"failed":return"unavailable";case"unknown":return"unknown"}}const Mh=Object.freeze([{id:"undecided",kind:"decision",label:"未决定",description:"没有持久记录,显式请求许可时展示可信弹窗。"},{id:"denied",kind:"decision",label:"拒绝",description:"全部资源持久拒绝,只能进入管理。"},{id:"session",kind:"decision",label:"本次允许",description:"只在当前实例内存允许,关闭实例即失效。"},{id:"persistent",kind:"decision",label:"持久允许",description:"全部资源持久允许,刷新后仍生效。"},{id:"cancelled",kind:"decision",label:"取消",description:"关闭弹窗、不写入任何决定。"},{id:"revoked",kind:"decision",label:"撤销本次许可",description:"清除本次许可,保留持久决定。"},{id:"reset",kind:"decision",label:"重置权限",description:"全部资源回到询问并保留许可版本。"},{id:"ready",kind:"data",label:"有数据",description:"Host 返回固定 fixture 的 ready 结果。"},{id:"no_data",kind:"data",label:"无数据",description:"Host 返回 empty(no_data)。"},{id:"updating",kind:"data",label:"更新中",description:"Host 返回 empty(not_ready) 并标记 updating。"},{id:"user_login",kind:"data",label:"需要登录",description:"Host 返回 blocked(user_login)。"},{id:"source_invalid",kind:"data",label:"来源失效",description:"Host 返回 blocked(source_login)。"},{id:"source_link_required",kind:"data",label:"来源未关联",description:"Host 返回 blocked(source_link)。"},{id:"unavailable",kind:"data",label:"能力不可用",description:"Host 抛标准 CAPABILITY_UNAVAILABLE。"},{id:"failed",kind:"data",label:"请求失败",description:"Host 抛标准 UPSTREAM_FAILED。"},{id:"unknown",kind:"data",label:"未获可信回传",description:"没有可信真机/线上回传:逐资源来源状态显示「未知/不支持」,不从本地配置推断已授权。"}]);function Ph(e){let t,r,n="",s="undecided",i="ready",o;const a=new Set,l=new Set,f=()=>{for(const p of l)p()},c=async()=>{const p=t,_=JSON.stringify(e.resolveScope());if(!p){r=void 0,f();return}try{const v=await p.getSnapshot();if(t!==p||_!==JSON.stringify(e.resolveScope()))return;r=v,n=_,o=void 0}catch(v){if(t!==p)return;o=v instanceof Error?v.message:"许可状态不可用"}f()},h=async p=>{if(t)try{await p(t),await c()}catch(_){o=_ instanceof Error?_.message:"许可设置失败",f()}};return{bind(p){t=p,r=void 0,c()},refresh:c,snapshot(){const p=e.declared?.()??{resources:Ka,source:"mock-default"},_=JSON.stringify(e.resolveScope());return{scenario:s,dataScenario:i,egressTier:e.egressTier(),declaredSource:p.source,stateError:o,simulatedSession:[...a].filter(v=>r?.resources.find(S=>S.resource===v)?.sessionAllowed),resources:ti.map(v=>{const S=(n===_?r:void 0)?.resources.find(U=>U.resource===v.key),O=S?.allowed===!0;return{resource:v.key,name:v.name,declared:p.resources.includes(v.key),decision:S?.decision??"ask",revision:S?.revision??0,sessionAllowed:S?.sessionAllowed??!1,sessionSimulated:a.has(v.key)&&S?.sessionAllowed===!0,licensed:O,...O?{sourceStatus:_f(i)}:{}}})}},subscribe(p){return l.add(p),()=>l.delete(p)},setScenario(p){if(s=p,gf.includes(p)){i=p,f();return}if(p==="cancelled"){f();return}if(p==="revoked"){a.clear(),h(v=>v.revokeSession());return}if(p==="reset"||p==="undecided"){a.clear(),h(v=>v.resetAll());return}const _=p;a.clear(),h(async v=>{_==="session"&&await v.resetAll();for(const S of e.declared?.().resources??[])await v.setDecision({resource:S,decision:_==="denied"?"deny":"allow",scope:_==="session"?"session":"persistent"}),_==="session"&&a.add(S)})},revokeSession(){h(p=>p.revokeSession())},clearSession(){a.clear(),t=void 0,r=void 0,f()},resetAll(){h(p=>p.resetAll())},dispose(){a.clear(),t=void 0,r=void 0,l.clear()}}}const Ch={upload:"可上传",no_network:"无网络权限"},Lh=rf,Ef=js(),bf={};function xh(e){Object.assign(bf,e)}function Nh(e){Ef.value=e}const yf=js([]);function Hh(e){yf.value=e}const Uh="/__hb_sdk__/preview",Fh={device:'[data-preview-target="device"]',screen:'[data-preview-target="screen"]',app:"#device iframe",workbench:'[data-testid="workbench-root"]'},Wh=["normal","cancel","system-permission-denied","prepare-failure","preview-unavailable"],Bh={normal:"正常选择",cancel:"模拟取消","system-permission-denied":"模拟系统拒绝","prepare-failure":"模拟准备失败","preview-unavailable":"模拟预览不可用"};function Vh(e={}){const t=e.source??Af(e.document??document),r=e.readMetadata??kf,n=e.createPreviewUrl??(f=>URL.createObjectURL(f)),s=e.revokePreviewUrl??(f=>URL.revokeObjectURL(f)),i=new WeakMap,o=new Set,a=f=>{if(!(!f||!o.has(f))){o.delete(f);try{s(f)}catch{}}},l=()=>{for(const f of[...o])a(f)};return e.signal?.addEventListener("abort",l,{once:!0}),{async pick(f,c){switch(Ut(c.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=f.source==="camera"?[await t.capture({mediaType:f.mediaType})]:await wf(t,f);if(Ut(c.signal),f.source==="camera"&&h.length!==1)throw ne("MEDIA_PREPARE_FAILED","相机模拟必须恰好返回 1 项");const p=[];try{for(const _ of h)Ut(c.signal),p.push(await Sf(_,f,c.signal,r,n,i,o));Ut(c.signal)}catch(_){for(const v of p)a(i.get(v.file));throw _}return p},release(f){for(const c of f)a(i.get(c.file))}}}async function wf(e,t){const r=await e.pickAlbum({accept:vf(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 vf(e){switch(e){case"image":return"image/*";case"video":return"video/*";default:return"image/*,video/*"}}async function Sf(e,t,r,n,s,i,o){const a=Tf(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);Ut(r);const f=Wi(l.width),c=Wi(l.height);if(f===void 0||c===void 0)throw ne("MEDIA_PREPARE_FAILED",`无法读取 ${e.name} 的显示尺寸`);if(a==="video"){if(Bi(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 p=If(e);i.set(p,h),o.add(h);const _={type:a,mimeType:e.type,size:e.size,width:f,height:c,previewUrl:h,file:p};return a==="video"?{..._,durationMs:Bi(l.durationMs)}:_}function Tf(e){if(e.startsWith("image/"))return"image";if(e.startsWith("video/"))return"video"}function If(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 Af(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=f=>{s||(s=!0,i(),r(f))},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"?Pf():Mf()}}}async function kf(e){return e.type.startsWith("video/")?Df(e):Of(e)}async function Of(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 Df(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 Rf(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 Rf(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 Mf(){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 Pf(){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:Cf(n)}),o=[],a=new Promise((c,h)=>{i.ondataavailable=p=>{p.data.size>0&&o.push(p.data)},i.onstop=()=>c(),i.onerror=()=>h(ne("MEDIA_PREPARE_FAILED","模拟拍摄录制失败"))});i.start();const l=Date.now();await Lf(t,e,()=>Date.now()-l<900),i.stop(),await a;for(const c of s.getTracks())c.stop();const f=new Blob(o,{type:i.mimeType||"video/webm"});if(f.size===0)throw ne("MEDIA_PREPARE_FAILED","模拟拍摄未生成视频数据");return new File([f],"browser-dev-camera.webm",{type:f.type})}function Cf(e){for(const t of["video/webm;codecs=vp8","video/webm","video/mp4"])if(e.isTypeSupported?.(t))return t;return"video/webm"}async function Lf(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 Ut(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 Wi(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>0?e:void 0}function Bi(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:void 0}const xf=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/,Nf="ai-desktop.heybox-user-miniprogram",Hf="open",Uf=2048,Ff="hb_sdk_manifest_token",Wf=/^[A-Za-z0-9_-]{43}$/,Bf=/^[a-f0-9]{32}$/;function jh(e){const t=Vf(e.miniProgramId);if(e.devSessionId!==void 0&&!Bf.test(e.devSessionId))throw new TypeError("Desktop dev session id is invalid");const r=qa(e.address.appUrl),n=e.miniProgramManifestToken?.trim();if(n&&!Wf.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/${Nf}/${Hf}`);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(Ff,n),i.href}function $h(e){return{address:"127.0.0.1",appUrl:qa(e),id:"loopback",name:"本机"}}function qa(e){if(typeof e!="string"||e!==e.trim()||new TextEncoder().encode(e).byteLength>Uf)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 Vf(e){const t=e.trim().toLowerCase();if(!xf.test(t))throw new TypeError("Desktop mini-program id is invalid");return t}export{is as $,Nn as A,Bh as B,Ds as C,Wa as D,Ba as E,Fa as F,$a as G,ge as H,or as I,Bd as J,vs as K,Zs as L,ws as M,ys as N,cu as O,Od as P,ds as Q,ps as R,ms as S,hs as T,rs as U,ts as V,ns as W,ss as X,os as Y,cs as Z,as as _,Hn as a,Dh as a$,fs as a0,us as a1,ls as a2,Te as a3,ti as a4,vd as a5,Oh as a6,Eh as a7,gs as a8,Qu as a9,Ia as aA,Aa as aB,Ta as aC,of as aD,ff as aE,df as aF,Ka as aG,kh as aH,Un as aI,Wn as aJ,Vn as aK,Fn as aL,Bn as aM,kr as aN,zn as aO,Gn as aP,Yn as aQ,da as aR,fa as aS,xn as aT,qd as aU,Kd as aV,ju as aW,zd as aX,uh as aY,ch as aZ,Qd as a_,Sh as aa,Ss as ab,Is as ac,Ts as ad,Zn as ae,Qn as af,es as ag,Uh as ah,Fh as ai,jn as aj,qn as ak,Kn as al,$n as am,Jn as an,Xn as ao,id as ap,bs as aq,Es as ar,_s as as,rf as at,ka as au,Da as av,Ma as aw,Oa as ax,Pa as ay,Ra as az,Wh as b,Bl as b$,Qs as b0,Ud as b1,$e as b2,Re as b3,Fs as b4,fh as b5,dh as b6,rt as b7,Ze as b8,Dd as b9,Ah as bA,Wc as bB,yd as bC,Ld as bD,It as bE,Gf as bF,mr as bG,Qr as bH,H as bI,W as bJ,Hs as bK,J as bL,Ns as bM,ae as bN,ji as bO,qf as bP,le as bQ,ke as bR,Ih as bS,Th as bT,Cr as bU,zf as bV,Za as bW,Ol as bX,md as bY,gd as bZ,jc as b_,ra as ba,In as bb,Ln as bc,Ad as bd,Fd as be,Vh as bf,Ph as bg,Vc as bh,jh as bi,$h as bj,bd as bk,Zu as bl,Ed as bm,Bc as bn,ve as bo,Cl as bp,ad as bq,Yf as br,pe as bs,Gd as bt,Jd as bu,Yd as bv,Vd as bw,jd as bx,sr as by,al as bz,gf as c,$s as c$,Pr as c0,Kf as c1,Mr as c2,Ru as c3,ic as c4,Po as c5,Mo as c6,Jf as c7,Co as c8,ac as c9,Zd as cA,nh as cB,th as cC,rh as cD,eh as cE,Xd as cF,_h as cG,hh as cH,sh as cI,oh as cJ,ih as cK,tf as cL,Xf as cM,js as cN,Cd as cO,Pd as cP,vh as cQ,ol as cR,pr as cS,dd as cT,$f as cU,td as cV,ed as cW,Zf as cX,ph as cY,mh as cZ,Qf as c_,Tn as ca,bh as cb,$u as cc,$d as cd,Kl as ce,Nh as cf,Hh as cg,Hr as ch,Rd as ci,er as cj,Dl as ck,Md as cl,Sd as cm,xh as cn,kd as co,ud as cp,fd as cq,xd as cr,gh as cs,cd as ct,wh as cu,Wd as cv,ei as cw,Hd as cx,ah as cy,lh as cz,Ch as d,pd as d0,ld as d1,_d as d2,hd as d3,yh as d4,bf as d5,Ef as d6,yf as d7,Nd as d8,eu as d9,Td as da,Id as db,nn as dc,nd as dd,sd as de,$l as df,rd as dg,wd as dh,P as di,Lh as e,Mh as f,Rh as g,od as h,ec as i,oe as j,Os as k,Rs as l,ks as m,As as n,Ls as o,Ms as p,Cs as q,Ps as r,Na as s,Ha as t,Ca as u,La as v,Ua as w,ja as x,xa as y,Va as z};
|
|
@@ -0,0 +1 @@
|
|
|
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)}}.user-data-permission[data-v-af92615c]{display:grid;gap:12px;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}.user-data-permission .user-data-permission__section[data-v-af92615c]{display:grid;gap:6px;padding-bottom:12px;border-bottom:1px solid var(--hb-color-border-muted)}.user-data-permission .user-data-permission__section[data-v-af92615c]:last-of-type{border-bottom:none;padding-bottom:0}.user-data-permission .user-data-permission__row[data-v-af92615c]{display:flex;justify-content:space-between;gap:8px;color:var(--hb-color-text-primary);overflow-wrap:anywhere}.user-data-permission .user-data-permission__row>span[data-v-af92615c]:first-child{color:var(--hb-color-text-tertiary);white-space:nowrap}.user-data-permission .user-data-permission__field[data-v-af92615c]{display:grid;gap:4px;color:var(--hb-color-text-primary)}.user-data-permission .user-data-permission__field select[data-v-af92615c]{width:100%;min-height:30px;border:1px solid var(--hb-color-border-muted);border-radius:6px;padding:0 8px;background:var(--hb-color-bg-surface);color:var(--hb-color-text-primary)}.user-data-permission .user-data-permission__hint[data-v-af92615c]{margin:0;color:var(--hb-color-text-tertiary);line-height:1.6;overflow-wrap:anywhere}.user-data-permission .user-data-permission__warning[data-v-af92615c]{margin:0;color:var(--hb-color-status-danger);line-height:1.6}.user-data-permission .user-data-permission__resource[data-v-af92615c]{display:grid;gap:2px;padding-top:8px;border-top:1px solid var(--hb-color-border-muted)}.user-data-permission .user-data-permission__resource[data-v-af92615c]:first-child{border-top:none;padding-top:0}.user-data-permission .user-data-permission__resource-heading[data-v-af92615c]{display:flex;justify-content:space-between;gap:8px;color:var(--hb-color-text-primary);overflow-wrap:anywhere}.user-data-permission .user-data-permission__decision[data-v-af92615c]{white-space:nowrap;color:var(--hb-color-text-secondary)}.user-data-permission .user-data-permission__meta[data-v-af92615c],.user-data-permission .user-data-permission__key-line[data-v-af92615c]{margin:0;color:var(--hb-color-text-tertiary);overflow-wrap:anywhere}.user-data-permission .user-data-permission__source-status[data-v-af92615c]{margin:0;color:var(--hb-color-text-secondary);overflow-wrap:anywhere}.user-data-permission .user-data-permission__simulated[data-v-af92615c]{margin:0;color:var(--hb-color-brand-primary);overflow-wrap:anywhere}.user-data-permission .user-data-permission__telemetry[data-v-af92615c]{display:grid;gap:4px;margin:0;padding-left:18px;color:var(--hb-color-text-tertiary)}.user-data-permission .user-data-permission__telemetry-row[data-v-af92615c]{overflow-wrap:anywhere}.user-data-permission .user-data-permission__telemetry-name[data-v-af92615c]{color:var(--hb-color-text-primary);margin-right:6px}.user-data-permission .user-data-permission__telemetry-fields[data-v-af92615c]{color:var(--hb-color-text-tertiary)}.user-data-permission .user-data-permission__actions[data-v-af92615c]{display:flex;flex-wrap:wrap;gap:8px}.user-data-permission .user-data-permission__actions button[data-v-af92615c]{min-height:30px;border:1px solid var(--hb-color-border-muted);border-radius:6px;padding:0 10px;background:var(--hb-color-bg-surface);color:var(--hb-color-text-primary);cursor:pointer}.user-data-permission .user-data-permission__actions .danger[data-v-af92615c]{border-color:var(--hb-color-status-danger);color:var(--hb-color-status-danger)}.user-data-permission .user-data-permission__empty[data-v-af92615c]{margin:0;color:var(--hb-color-text-tertiary)}.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,.user-data-panel{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}}
|