@heybox/hb-sdk 0.9.8 → 0.9.9-alpha.0

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cli-chunks/bindings-B9HSKhmy.cjs +84 -0
  3. package/dist/cli-chunks/{build-BuYvQeZO.cjs → build-Vi5Zyplz.cjs} +6 -5
  4. package/dist/cli-chunks/{create-4XrYdjC0.cjs → create-Cfz1IcYf.cjs} +2 -2
  5. package/dist/cli-chunks/{dev-BIxJPUFK.cjs → dev-C2dtgF42.cjs} +56 -14
  6. package/dist/cli-chunks/{doctor-XhNbYYVj.cjs → doctor-D-zMCLIA.cjs} +1 -1
  7. package/dist/cli-chunks/game-binding-guide-z3X6h8ck.cjs +273 -0
  8. package/dist/cli-chunks/game-bindings-DiVP8PdD.cjs +51 -0
  9. package/dist/cli-chunks/{games-Cd9fgl6N.cjs → games-THhcga6y.cjs} +2 -2
  10. package/dist/cli-chunks/{index-aGcX-ULf.cjs → index-BuYCoach.cjs} +1 -1
  11. package/dist/cli-chunks/{index-Cr8tP0XZ.cjs → index-H9U6-mLY.cjs} +33 -17
  12. package/dist/cli-chunks/{index.esm-CvMA_ppV.cjs → index.esm-D8lqHXUQ.cjs} +1 -0
  13. package/dist/cli-chunks/{index.esm-UetP1FSl.cjs → index.esm-XiyiK7eH.cjs} +13 -10
  14. package/dist/cli-chunks/{login-Dd55F6qr.cjs → login-Bw_1UJ8i.cjs} +1 -1
  15. package/dist/cli-chunks/{project-vite-quIPuubf.cjs → project-vite-CFfq-fV7.cjs} +1 -1
  16. package/dist/cli-chunks/{remote-BfI4Ag6B.cjs → remote-CU88U8t8.cjs} +22 -112
  17. package/dist/cli-chunks/{runtime-permission-env-C1e5q2m5.cjs → runtime-permission-env-BtxzR-dv.cjs} +6 -86
  18. package/dist/cli-chunks/{skill-DY7-DQPL.cjs → skill-7RZJxGDO.cjs} +2 -2
  19. package/dist/cli-chunks/{version-D4jIw125.cjs → version-COTSItDf.cjs} +1 -1
  20. package/dist/cli.cjs +1 -1
  21. package/dist/devtools/browser-dev-host/assets/{browser-dev-host-x4xuSDs_.js → browser-dev-host-CHdD15qt.js} +1 -1
  22. package/dist/devtools/browser-dev-host/assets/desktop-app-launch-az2quV7I.js +13 -0
  23. package/dist/devtools/browser-dev-host/assets/index-D0XGMYIr.css +1 -0
  24. package/dist/devtools/browser-dev-host/assets/index-o5r5oqtq.js +567 -0
  25. package/dist/devtools/browser-dev-host/index.html +3 -3
  26. package/dist/index.cjs.js +1 -1
  27. package/dist/index.esm.js +1 -1
  28. package/dist/miniapp-publish.cjs.js +1 -1
  29. package/dist/miniapp-publish.esm.js +1 -1
  30. package/dist/templates/vanilla-vite-js/README.md.ejs +1 -1
  31. package/dist/vite.cjs.js +2 -2
  32. package/dist/vite.esm.js +2 -2
  33. package/package.json +6 -6
  34. package/skill/SKILL.md +3 -2
  35. package/skill/skill.json +5 -5
  36. package/dist/devtools/browser-dev-host/assets/desktop-app-launch-C1gCwbuV.js +0 -13
  37. package/dist/devtools/browser-dev-host/assets/index-Bk5RxHO3.css +0 -1
  38. package/dist/devtools/browser-dev-host/assets/index-C6l2jsZT.js +0 -567
@@ -0,0 +1,13 @@
1
+ function _i(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Q={},kt=[],qe=()=>{},Qs=()=>!1,vi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ei=e=>e.startsWith("onUpdate:"),pe=Object.assign,Ii=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Oa=Object.prototype.hasOwnProperty,X=(e,t)=>Oa.call(e,t),K=Array.isArray,Dt=e=>Ft(e)==="[object Map]",Xs=e=>Ft(e)==="[object Set]",zi=e=>Ft(e)==="[object Date]",Ba=e=>Ft(e)==="[object RegExp]",q=e=>typeof e=="function",oe=e=>typeof e=="string",xe=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Zs=e=>(Z(e)||q(e))&&q(e.then)&&q(e.catch),eo=Object.prototype.toString,Ft=e=>eo.call(e),Fa=e=>Ft(e).slice(8,-1),to=e=>Ft(e)==="[object Object]",zn=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,en=_i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ha=/-\w/g,Oe=qn(e=>e.replace(Ha,t=>t.slice(1).toUpperCase())),Wa=/\B([A-Z])/g,Ht=qn(e=>e.replace(Wa,"-$1").toLowerCase()),Si=qn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Pn=qn(e=>e?`on${Si(e)}`:""),de=(e,t)=>!Object.is(e,t),tn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},no=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ua=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Sf=e=>{const t=oe(e)?Number(e):NaN;return isNaN(t)?e:t};let qi;const Jn=()=>qi||(qi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Gn(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=oe(r)?Ka(r):Gn(r);if(i)for(const s in i)t[s]=i[s]}return t}else if(oe(e)||Z(e))return e}const Va=/;(?![^(]*\))/g,ja=/:([^]+)/,$a=/\/\*[^]*?\*\//g;function Ka(e){const t={};return e.replace($a,"").split(Va).forEach(n=>{if(n){const r=n.split(ja);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Yn(e){let t="";if(oe(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const r=Yn(e[n]);r&&(t+=r+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Tf(e){if(!e)return null;let{class:t,style:n}=e;return t&&!oe(t)&&(e.class=Yn(t)),n&&(e.style=Gn(n)),e}const za="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Cf=_i(za);function Af(e){return!!e||e===""}function qa(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Qn(e[r],t[r]);return n}function Qn(e,t){if(e===t)return!0;let n=zi(e),r=zi(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=xe(e),r=xe(t),n||r)return e===t;if(n=K(e),r=K(t),n||r)return n&&r?qa(e,t):!1;if(n=Z(e),r=Z(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,s=Object.keys(t).length;if(i!==s)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!Qn(e[o],t[o]))return!1}}return String(e)===String(t)}function Pf(e,t){return e.findIndex(n=>Qn(n,t))}const ro=e=>!!(e&&e.__v_isRef===!0),Ja=e=>oe(e)?e:e==null?"":K(e)||Z(e)&&(e.toString===eo||!q(e.toString))?ro(e)?Ja(e.value):JSON.stringify(e,io,2):String(e),io=(e,t)=>ro(t)?io(e,t.value):Dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[br(r,s)+" =>"]=i,n),{})}:Xs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>br(n))}:xe(t)?br(t):Z(t)&&!K(t)&&!to(t)?String(t):t,br=(e,t="")=>{var n;return xe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ae;class so{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&&ae&&(ae.active?(this.parent=ae,this.index=(ae.scopes||(ae.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ae;try{return ae=this,t()}finally{ae=n}}}on(){++this._on===1&&(this.prevScope=ae,ae=this)}off(){if(this._on>0&&--this._on===0){if(ae===this)ae=this.prevScope;else{let t=ae;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 n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function kf(e){return new so(e)}function Ga(){return ae}function Df(e,t=!1){ae&&ae.cleanups.push(e)}let ie;const wr=new WeakSet;class oo{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,ae&&(ae.active?ae.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,wr.has(this)&&(wr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||lo(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ji(this),co(this);const t=ie,n=Ne;ie=this,Ne=!0;try{return this.fn()}finally{uo(this),ie=t,Ne=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ai(t);this.deps=this.depsTail=void 0,Ji(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?wr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Zr(this)&&this.run()}get dirty(){return Zr(this)}}let ao=0,nn,rn;function lo(e,t=!1){if(e.flags|=8,t){e.next=rn,rn=e;return}e.next=nn,nn=e}function Ti(){ao++}function Ci(){if(--ao>0)return;if(rn){let t=rn;for(rn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;nn;){let t=nn;for(nn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function co(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function uo(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),Ai(r),Ya(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function Zr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(fo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function fo(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===un)||(e.globalVersion=un,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Zr(e))))return;e.flags|=2;const t=e.dep,n=ie,r=Ne;ie=e,Ne=!0;try{co(e);const i=e.fn(e._value);(t.version===0||de(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{ie=n,Ne=r,uo(e),e.flags&=-3}}function Ai(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Ai(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ya(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const ho=[];function nt(){ho.push(Ne),Ne=!1}function rt(){const e=ho.pop();Ne=e===void 0?!0:e}function Ji(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ie;ie=void 0;try{t()}finally{ie=n}}}let un=0;class Qa{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Xn{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(!ie||!Ne||ie===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ie)n=this.activeLink=new Qa(ie,this),ie.deps?(n.prevDep=ie.depsTail,ie.depsTail.nextDep=n,ie.depsTail=n):ie.deps=ie.depsTail=n,go(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ie.depsTail,n.nextDep=void 0,ie.depsTail.nextDep=n,ie.depsTail=n,ie.deps===n&&(ie.deps=r)}return n}trigger(t){this.version++,un++,this.notify(t)}notify(t){Ti();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ci()}}}function go(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)go(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const xn=new WeakMap,_t=Symbol(""),ei=Symbol(""),fn=Symbol("");function me(e,t,n){if(Ne&&ie){let r=xn.get(e);r||xn.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new Xn),i.map=r,i.key=n),i.track()}}function et(e,t,n,r,i,s){const o=xn.get(e);if(!o){un++;return}const a=l=>{l&&l.trigger()};if(Ti(),t==="clear")o.forEach(a);else{const l=K(e),u=l&&zn(n);if(l&&n==="length"){const c=Number(r);o.forEach((d,p)=>{(p==="length"||p===fn||!xe(p)&&p>=c)&&a(d)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),u&&a(o.get(fn)),t){case"add":l?u&&a(o.get("length")):(a(o.get(_t)),Dt(e)&&a(o.get(ei)));break;case"delete":l||(a(o.get(_t)),Dt(e)&&a(o.get(ei)));break;case"set":Dt(e)&&a(o.get(_t));break}}Ci()}function Xa(e,t){const n=xn.get(e);return n&&n.get(t)}function Ct(e){const t=Y(e);return t===e?t:(me(t,"iterate",fn),ke(e)?t:t.map(Be))}function Zn(e){return me(e=Y(e),"iterate",fn),e}function $e(e,t){return it(e)?xt(vt(e)?Be(t):t):Be(t)}const Za={__proto__:null,[Symbol.iterator](){return _r(this,Symbol.iterator,e=>$e(this,e))},concat(...e){return Ct(this).concat(...e.map(t=>K(t)?Ct(t):t))},entries(){return _r(this,"entries",e=>(e[1]=$e(this,e[1]),e))},every(e,t){return Xe(this,"every",e,t,void 0,arguments)},filter(e,t){return Xe(this,"filter",e,t,n=>n.map(r=>$e(this,r)),arguments)},find(e,t){return Xe(this,"find",e,t,n=>$e(this,n),arguments)},findIndex(e,t){return Xe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Xe(this,"findLast",e,t,n=>$e(this,n),arguments)},findLastIndex(e,t){return Xe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Xe(this,"forEach",e,t,void 0,arguments)},includes(...e){return vr(this,"includes",e)},indexOf(...e){return vr(this,"indexOf",e)},join(e){return Ct(this).join(e)},lastIndexOf(...e){return vr(this,"lastIndexOf",e)},map(e,t){return Xe(this,"map",e,t,void 0,arguments)},pop(){return $t(this,"pop")},push(...e){return $t(this,"push",e)},reduce(e,...t){return Gi(this,"reduce",e,t)},reduceRight(e,...t){return Gi(this,"reduceRight",e,t)},shift(){return $t(this,"shift")},some(e,t){return Xe(this,"some",e,t,void 0,arguments)},splice(...e){return $t(this,"splice",e)},toReversed(){return Ct(this).toReversed()},toSorted(e){return Ct(this).toSorted(e)},toSpliced(...e){return Ct(this).toSpliced(...e)},unshift(...e){return $t(this,"unshift",e)},values(){return _r(this,"values",e=>$e(this,e))}};function _r(e,t,n){const r=Zn(e),i=r[t]();return r!==e&&!ke(e)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=n(s.value)),s}),i}const el=Array.prototype;function Xe(e,t,n,r,i,s){const o=Zn(e),a=o!==e&&!ke(e),l=o[t];if(l!==el[t]){const d=l.apply(e,s);return a?Be(d):d}let u=n;o!==e&&(a?u=function(d,p){return n.call(this,$e(e,d),p,e)}:n.length>2&&(u=function(d,p){return n.call(this,d,p,e)}));const c=l.call(o,u,r);return a&&i?i(c):c}function Gi(e,t,n,r){const i=Zn(e),s=i!==e&&!ke(e);let o=n,a=!1;i!==e&&(s?(a=r.length===0,o=function(u,c,d){return a&&(a=!1,u=$e(e,u)),n.call(this,u,$e(e,c),d,e)}):n.length>3&&(o=function(u,c,d){return n.call(this,u,c,d,e)}));const l=i[t](o,...r);return a?$e(e,l):l}function vr(e,t,n){const r=Y(e);me(r,"iterate",fn);const i=r[t](...n);return(i===-1||i===!1)&&rr(n[0])?(n[0]=Y(n[0]),r[t](...n)):i}function $t(e,t,n=[]){nt(),Ti();const r=Y(e)[t].apply(e,n);return Ci(),rt(),r}const tl=_i("__proto__,__v_isRef,__isVue"),po=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xe));function nl(e){xe(e)||(e=String(e));const t=Y(this);return me(t,"has",e),t.hasOwnProperty(e)}class mo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?Eo:vo:s?_o:wo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=K(t);if(!i){let l;if(o&&(l=Za[n]))return l;if(n==="hasOwnProperty")return nl}const a=Reflect.get(t,n,ue(t)?t:r);if((xe(n)?po.has(n):tl(n))||(i||me(t,"get",n),s))return a;if(ue(a)){const l=o&&zn(n)?a:a.value;return i&&Z(l)?ni(l):l}return Z(a)?i?ni(a):tr(a):a}}class yo extends mo{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];const o=K(t)&&zn(n);if(!this._isShallow){const u=it(s);if(!ke(r)&&!it(r)&&(s=Y(s),r=Y(r)),!o&&ue(s)&&!ue(r))return u||(s.value=r),!0}const a=o?Number(n)<t.length:X(t,n),l=Reflect.set(t,n,r,ue(t)?t:i);return t===Y(i)&&(a?de(r,s)&&et(t,"set",n,r):et(t,"add",n,r)),l}deleteProperty(t,n){const r=X(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&et(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!xe(n)||!po.has(n))&&me(t,"has",n),r}ownKeys(t){return me(t,"iterate",K(t)?"length":_t),Reflect.ownKeys(t)}}class bo extends mo{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const rl=new yo,il=new bo,sl=new yo(!0),ol=new bo(!0),ti=e=>e,vn=e=>Reflect.getPrototypeOf(e);function al(e,t,n){return function(...r){const i=this.__v_raw,s=Y(i),o=Dt(s),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=i[e](...r),c=n?ti:t?xt:Be;return!t&&me(s,"iterate",l?ei:_t),pe(Object.create(u),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:a?[c(d[0]),c(d[1])]:c(d),done:p}}})}}function En(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ll(e,t){const n={get(i){const s=this.__v_raw,o=Y(s),a=Y(i);e||(de(i,a)&&me(o,"get",i),me(o,"get",a));const{has:l}=vn(o),u=t?ti:e?xt:Be;if(l.call(o,i))return u(s.get(i));if(l.call(o,a))return u(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!e&&me(Y(i),"iterate",_t),i.size},has(i){const s=this.__v_raw,o=Y(s),a=Y(i);return e||(de(i,a)&&me(o,"has",i),me(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,l=Y(a),u=t?ti:e?xt:Be;return!e&&me(l,"iterate",_t),a.forEach((c,d)=>i.call(s,u(c),u(d),o))}};return pe(n,e?{add:En("add"),set:En("set"),delete:En("delete"),clear:En("clear")}:{add(i){const s=Y(this),o=vn(s),a=Y(i),l=!t&&!ke(i)&&!it(i)?a:i;return o.has.call(s,l)||de(i,l)&&o.has.call(s,i)||de(a,l)&&o.has.call(s,a)||(s.add(l),et(s,"add",l,l)),this},set(i,s){!t&&!ke(s)&&!it(s)&&(s=Y(s));const o=Y(this),{has:a,get:l}=vn(o);let u=a.call(o,i);u||(i=Y(i),u=a.call(o,i));const c=l.call(o,i);return o.set(i,s),u?de(s,c)&&et(o,"set",i,s):et(o,"add",i,s),this},delete(i){const s=Y(this),{has:o,get:a}=vn(s);let l=o.call(s,i);l||(i=Y(i),l=o.call(s,i)),a&&a.call(s,i);const u=s.delete(i);return l&&et(s,"delete",i,void 0),u},clear(){const i=Y(this),s=i.size!==0,o=i.clear();return s&&et(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=al(i,e,t)}),n}function er(e,t){const n=ll(e,t);return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(X(n,i)&&i in r?n:r,i,s)}const cl={get:er(!1,!1)},ul={get:er(!1,!0)},fl={get:er(!0,!1)},dl={get:er(!0,!0)},wo=new WeakMap,_o=new WeakMap,vo=new WeakMap,Eo=new WeakMap;function hl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gl(e){return e.__v_skip||!Object.isExtensible(e)?0:hl(Fa(e))}function tr(e){return it(e)?e:nr(e,!1,rl,cl,wo)}function Io(e){return nr(e,!1,sl,ul,_o)}function ni(e){return nr(e,!0,il,fl,vo)}function Rf(e){return nr(e,!0,ol,dl,Eo)}function nr(e,t,n,r,i){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=gl(e);if(s===0)return e;const o=i.get(e);if(o)return o;const a=new Proxy(e,s===2?r:n);return i.set(e,a),a}function vt(e){return it(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function it(e){return!!(e&&e.__v_isReadonly)}function ke(e){return!!(e&&e.__v_isShallow)}function rr(e){return e?!!e.__v_raw:!1}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function pl(e){return!X(e,"__v_skip")&&Object.isExtensible(e)&&no(e,"__v_skip",!0),e}const Be=e=>Z(e)?tr(e):e,xt=e=>Z(e)?ni(e):e;function ue(e){return e?e.__v_isRef===!0:!1}function ml(e){return So(e,!1)}function ir(e){return So(e,!0)}function So(e,t){return ue(e)?e:new yl(e,t)}class yl{constructor(t,n){this.dep=new Xn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Y(t),this._value=n?t:Be(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ke(t)||it(t);t=r?t:Y(t),de(t,n)&&(this._rawValue=t,this._value=r?t:Be(t),this.dep.trigger())}}function Mf(e){e.dep&&e.dep.trigger()}function Pi(e){return ue(e)?e.value:e}function xf(e){return q(e)?e():Pi(e)}const bl={get:(e,t,n)=>t==="__v_raw"?e:Pi(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return ue(i)&&!ue(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function To(e){return vt(e)?e:new Proxy(e,bl)}class wl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Xn,{get:r,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function _l(e){return new wl(e)}function Lf(e){const t=K(e)?new Array(e.length):{};for(const n in e)t[n]=Co(e,n);return t}class vl{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=xe(n)?n:String(n),this._raw=Y(t);let i=!0,s=t;if(!K(t)||xe(this._key)||!zn(this._key))do i=!rr(s)||ke(s);while(i&&(s=s.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=Pi(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ue(this._raw[this._key])){const n=this._object[this._key];if(ue(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Xa(this._raw,this._key)}}class El{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 Nf(e,t,n){return ue(e)?e:q(e)?new El(e):Z(e)&&arguments.length>1?Co(e,t,n):ml(e)}function Co(e,t,n){return new vl(e,t,n)}class Il{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Xn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=un-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ie!==this)return lo(this,!0),!0}get value(){const t=this.dep.track();return fo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Sl(e,t,n=!1){let r,i;return q(e)?r=e:(r=e.get,i=e.set),new Il(r,i,n)}const In={},Ln=new WeakMap;let bt;function Tl(e,t=!1,n=bt){if(n){let r=Ln.get(n);r||Ln.set(n,r=[]),r.push(e)}}function Cl(e,t,n=Q){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:l}=n,u=y=>i?y:ke(y)||i===!1||i===0?tt(y,1):tt(y);let c,d,p,m,T=!1,I=!1;if(ue(e)?(d=()=>e.value,T=ke(e)):vt(e)?(d=()=>u(e),T=!0):K(e)?(I=!0,T=e.some(y=>vt(y)||ke(y)),d=()=>e.map(y=>{if(ue(y))return y.value;if(vt(y))return u(y);if(q(y))return l?l(y,2):y()})):q(e)?t?d=l?()=>l(e,2):e:d=()=>{if(p){nt();try{p()}finally{rt()}}const y=bt;bt=c;try{return l?l(e,3,[m]):e(m)}finally{bt=y}}:d=qe,t&&i){const y=d,U=i===!0?1/0:i;d=()=>tt(y(),U)}const N=Ga(),x=()=>{c.stop(),N&&N.active&&Ii(N.effects,c)};if(s&&t){const y=t;t=(...U)=>{y(...U),x()}}let w=I?new Array(e.length).fill(In):In;const S=y=>{if(!(!(c.flags&1)||!c.dirty&&!y))if(t){const U=c.run();if(i||T||(I?U.some((R,A)=>de(R,w[A])):de(U,w))){p&&p();const R=bt;bt=c;try{const A=[U,w===In?void 0:I&&w[0]===In?[]:w,m];w=U,l?l(t,3,A):t(...A)}finally{bt=R}}}else c.run()};return a&&a(S),c=new oo(d),c.scheduler=o?()=>o(S,!1):S,m=y=>Tl(y,!1,c),p=c.onStop=()=>{const y=Ln.get(c);if(y){if(l)l(y,4);else for(const U of y)U();Ln.delete(c)}},t?r?S(!0):w=c.run():o?o(S.bind(null,!0),!0):c.run(),x.pause=c.pause.bind(c),x.resume=c.resume.bind(c),x.stop=x,x}function tt(e,t=1/0,n){if(t<=0||!Z(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ue(e))tt(e.value,t,n);else if(K(e))for(let r=0;r<e.length;r++)tt(e[r],t,n);else if(Xs(e)||Dt(e))e.forEach(r=>{tt(r,t,n)});else if(to(e)){for(const r in e)tt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&tt(e[r],t,n)}return e}function yn(e,t,n,r){try{return r?e(...r):e()}catch(i){sr(i,t,n)}}function Je(e,t,n,r){if(q(e)){const i=yn(e,t,n,r);return i&&Zs(i)&&i.catch(s=>{sr(s,t,n)}),i}if(K(e)){const i=[];for(let s=0;s<e.length;s++)i.push(Je(e[s],t,n,r));return i}}function sr(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Q;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,l,u)===!1)return}a=a.parent}if(s){nt(),yn(s,null,10,[e,l,u]),rt();return}}Al(e,n,i,r,o)}function Al(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}const _e=[];let Ve=-1;const Rt=[];let ft=null,Pt=0;const Ao=Promise.resolve();let Nn=null;function Pl(e){const t=Nn||Ao;return e?t.then(this?e.bind(this):e):t}function kl(e){let t=Ve+1,n=_e.length;for(;t<n;){const r=t+n>>>1,i=_e[r],s=dn(i);s<e||s===e&&i.flags&2?t=r+1:n=r}return t}function ki(e){if(!(e.flags&1)){const t=dn(e),n=_e[_e.length-1];!n||!(e.flags&2)&&t>=dn(n)?_e.push(e):_e.splice(kl(t),0,e),e.flags|=1,Po()}}function Po(){Nn||(Nn=Ao.then(Do))}function Dl(e){K(e)?Rt.push(...e):ft&&e.id===-1?ft.splice(Pt+1,0,e):e.flags&1||(Rt.push(e),e.flags|=1),Po()}function Yi(e,t,n=Ve+1){for(;n<_e.length;n++){const r=_e[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;_e.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function ko(e){if(Rt.length){const t=[...new Set(Rt)].sort((n,r)=>dn(n)-dn(r));if(Rt.length=0,ft){ft.push(...t);return}for(ft=t,Pt=0;Pt<ft.length;Pt++){const n=ft[Pt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ft=null,Pt=0}}const dn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Do(e){try{for(Ve=0;Ve<_e.length;Ve++){const t=_e[Ve];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),yn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ve<_e.length;Ve++){const t=_e[Ve];t&&(t.flags&=-2)}Ve=-1,_e.length=0,ko(),Nn=null,(_e.length||Rt.length)&&Do()}}let ge=null,Ro=null;function On(e){const t=ge;return ge=e,Ro=e&&e.type.__scopeId||null,t}function Rl(e,t=ge,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Un(-1);const s=On(t);let o;try{o=e(...i)}finally{On(s),r._d&&Un(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Of(e,t){if(ge===null)return e;const n=ur(ge),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[s,o,a,l=Q]=t[i];s&&(q(s)&&(s={mounted:s,updated:s}),s.deep&&tt(o),r.push({dir:s,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return e}function mt(e,t,n,r){const i=e.dirs,s=t&&t.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let l=a.dir[r];l&&(nt(),Je(l,n,8,[e.el,a,e,t]),rt())}}function Ml(e,t){if(ye){let n=ye.provides;const r=ye.parent&&ye.parent.provides;r===n&&(n=ye.provides=Object.create(r)),n[e]=t}}function kn(e,t,n=!1){const r=Wt();if(r||Mt){let i=Mt?Mt._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&q(t)?t.call(r&&r.proxy):t}}const xl=Symbol.for("v-scx"),Ll=()=>kn(xl);function Bf(e,t){return bn(e,null,t)}function Ff(e,t){return bn(e,null,{flush:"post"})}function Nl(e,t){return bn(e,null,{flush:"sync"})}function Dn(e,t,n){return bn(e,t,n)}function bn(e,t,n=Q){const{immediate:r,deep:i,flush:s,once:o}=n,a=pe({},n),l=t&&r||!t&&s!=="post";let u;if(gn){if(s==="sync"){const m=Ll();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=qe,m.resume=qe,m.pause=qe,m}}const c=ye;a.call=(m,T,I)=>Je(m,c,T,I);let d=!1;s==="post"?a.scheduler=m=>{le(m,c&&c.suspense)}:s!=="sync"&&(d=!0,a.scheduler=(m,T)=>{T?m():ki(m)}),a.augmentJob=m=>{t&&(m.flags|=4),d&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const p=Cl(e,t,a);return gn&&(u?u.push(p):l&&p()),p}function Ol(e,t,n){const r=this.proxy,i=oe(e)?e.includes(".")?Mo(r,e):()=>r[e]:e.bind(r,r);let s;q(t)?s=t:(s=t.handler,n=t);const o=wn(this),a=bn(i,s.bind(r),n);return o(),a}function Mo(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const ut=new WeakMap,xo=Symbol("_vte"),Lo=e=>e.__isTeleport,wt=e=>e&&(e.disabled||e.disabled===""),Bl=e=>e&&(e.defer||e.defer===""),Qi=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Xi=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ri=(e,t)=>{const n=e&&e.to;return oe(n)?t?t(n):null:n},Fl={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,s,o,a,l,u){const{mc:c,pc:d,pbc:p,o:{insert:m,querySelector:T,createText:I,createComment:N,parentNode:x}}=u,w=wt(t.props);let{dynamicChildren:S}=t;const y=(A,b,g)=>{A.shapeFlag&16&&c(A.children,b,g,i,s,o,a,l)},U=(A=t)=>{const b=wt(A.props),g=A.target=ri(A.props,T),_=ii(g,A,I,m);g&&(o!=="svg"&&Qi(g)?o="svg":o!=="mathml"&&Xi(g)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(g),b||(y(A,g,_),Gt(A,!1)))},R=A=>{const b=()=>{if(ut.get(A)===b){if(ut.delete(A),wt(A.props)){const g=x(A.el)||n;y(A,g,A.anchor),Gt(A,!0)}U(A)}};ut.set(A,b),le(b,s)};if(e==null){const A=t.el=I(""),b=t.anchor=I("");if(m(A,n,r),m(b,n,r),Bl(t.props)||s&&s.pendingBranch){R(t);return}w&&(y(t,n,b),Gt(t,!0)),U()}else{t.el=e.el;const A=t.anchor=e.anchor,b=ut.get(e);if(b){b.flags|=8,ut.delete(e),R(t);return}t.targetStart=e.targetStart;const g=t.target=e.target,_=t.targetAnchor=e.targetAnchor,E=wt(e.props),M=E?n:g,W=E?A:_;if(o==="svg"||Qi(g)?o="svg":(o==="mathml"||Xi(g))&&(o="mathml"),S?(p(e.dynamicChildren,S,M,i,s,o,a),Li(e,t,!0)):l||d(e,t,M,W,i,s,o,a,!1),w)E?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Sn(t,n,A,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const V=t.target=ri(t.props,T);V&&Sn(t,V,null,u,0)}else E&&Sn(t,g,_,u,1);Gt(t,w)}},remove(e,t,n,{um:r,o:{remove:i}},s){const{shapeFlag:o,children:a,anchor:l,targetStart:u,targetAnchor:c,target:d,props:p}=e;let m=s||!wt(p);const T=ut.get(e);if(T&&(T.flags|=8,ut.delete(e),m=!1),d&&(i(u),i(c)),s&&i(l),o&16)for(let I=0;I<a.length;I++){const N=a[I];r(N,t,n,m,!!N.dynamicChildren)}},move:Sn,hydrate:Hl};function Sn(e,t,n,{o:{insert:r},m:i},s=2){s===0&&r(e.targetAnchor,t,n);const{el:o,anchor:a,shapeFlag:l,children:u,props:c}=e,d=s===2;if(d&&r(o,t,n),!ut.has(e)&&(!d||wt(c))&&l&16)for(let p=0;p<u.length;p++)i(u[p],t,n,2);d&&r(a,t,n)}function Hl(e,t,n,r,i,s,{o:{nextSibling:o,parentNode:a,querySelector:l,insert:u,createText:c}},d){function p(N,x){let w=x;for(;w;){if(w&&w.nodeType===8){if(w.data==="teleport start anchor")t.targetStart=w;else if(w.data==="teleport anchor"){t.targetAnchor=w,N._lpa=t.targetAnchor&&o(t.targetAnchor);break}}w=o(w)}}function m(N,x){x.anchor=d(o(N),x,a(N),n,r,i,s)}const T=t.target=ri(t.props,l),I=wt(t.props);if(T){const N=T._lpa||T.firstChild;t.shapeFlag&16&&(I?(m(e,t),p(T,N),t.targetAnchor||ii(T,t,c,u,a(e)===T?e:null)):(t.anchor=o(e),p(T,N),t.targetAnchor||ii(T,t,c,u),d(N&&o(N),t,T,n,r,i,s))),Gt(t,I)}else I&&t.shapeFlag&16&&(m(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const Hf=Fl;function Gt(e,t){const n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function ii(e,t,n,r,i=null){const s=t.targetStart=n(""),o=t.targetAnchor=n("");return s[xo]=o,e&&(r(s,e,i),r(o,e,i)),o}const je=Symbol("_leaveCb"),Kt=Symbol("_enterCb");function Wl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Di(()=>{e.isMounted=!0}),Ri(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],Ul={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},No=e=>{const t=e.subTree;return t.component?No(t.component):t},Vl={name:"BaseTransition",props:Ul,setup(e,{slots:t}){const n=Wt(),r=Wl();return()=>{const i=t.default&&Fo(t.default(),!0),s=i&&i.length?Oo(i):n.subTree?kc():void 0;if(!s)return;const o=Y(e),{mode:a}=o;if(r.isLeaving)return Er(s);const l=Zi(s);if(!l)return Er(s);let u=si(l,o,r,n,d=>u=d);l.type!==he&&Lt(l,u);let c=n.subTree&&Zi(n.subTree);if(c&&c.type!==he&&!dt(c,l)&&No(n).type!==he){let d=si(c,o,r,n);if(Lt(c,d),a==="out-in"&&l.type!==he)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,c=void 0},Er(s);a==="in-out"&&l.type!==he?d.delayLeave=(p,m,T)=>{const I=Bo(r,c);I[String(c.key)]=c,p[je]=()=>{m(),p[je]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{T(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function Oo(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==he){t=n;break}}return t}const Wf=Vl;function Bo(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function si(e,t,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:p,onLeave:m,onAfterLeave:T,onLeaveCancelled:I,onBeforeAppear:N,onAppear:x,onAfterAppear:w,onAppearCancelled:S}=t,y=String(e.key),U=Bo(n,e),R=(g,_)=>{g&&Je(g,r,9,_)},A=(g,_)=>{const E=_[1];R(g,_),K(g)?g.every(M=>M.length<=1)&&E():g.length<=1&&E()},b={mode:o,persisted:a,beforeEnter(g){let _=l;if(!n.isMounted)if(s)_=N||l;else return;g[je]&&g[je](!0);const E=U[y];E&&dt(e,E)&&E.el[je]&&E.el[je](),R(_,[g])},enter(g){if(U[y]===e)return;let _=u,E=c,M=d;if(!n.isMounted)if(s)_=x||u,E=w||c,M=S||d;else return;let W=!1;g[Kt]=be=>{W||(W=!0,be?R(M,[g]):R(E,[g]),b.delayedLeave&&b.delayedLeave(),g[Kt]=void 0)};const V=g[Kt].bind(null,!1);_?A(_,[g,V]):V()},leave(g,_){const E=String(e.key);if(g[Kt]&&g[Kt](!0),n.isUnmounting)return _();R(p,[g]);let M=!1;g[je]=V=>{M||(M=!0,_(),V?R(I,[g]):R(T,[g]),g[je]=void 0,U[E]===e&&delete U[E])};const W=g[je].bind(null,!1);U[E]=e,m?A(m,[g,W]):W()},clone(g){const _=si(g,t,n,r,i);return i&&i(_),_}};return b}function Er(e){if(or(e))return e=st(e),e.children=null,e}function Zi(e){if(!or(e))return Lo(e.type)&&e.children?Oo(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&q(n.default))return n.default()}}function Lt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Lt(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 Fo(e,t=!1,n){let r=[],i=0;for(let s=0;s<e.length;s++){let o=e[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===Pe?(o.patchFlag&128&&i++,r=r.concat(Fo(o.children,t,a))):(t||o.type!==he)&&r.push(a!=null?st(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function Uf(e,t){return q(e)?pe({name:e.name},t,{setup:e}):e}function Vf(){const e=Wt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Ho(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function es(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Bn=new WeakMap;function sn(e,t,n,r,i=!1){if(K(e)){e.forEach((I,N)=>sn(I,t&&(K(t)?t[N]:t),n,r,i));return}if(ht(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&sn(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?ur(r.component):r.el,o=i?null:s,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Q?a.refs={}:a.refs,d=a.setupState,p=Y(d),m=d===Q?Qs:I=>es(c,I)?!1:X(p,I),T=(I,N)=>!(N&&es(c,N));if(u!=null&&u!==l){if(ts(t),oe(u))c[u]=null,m(u)&&(d[u]=null);else if(ue(u)){const I=t;T(u,I.k)&&(u.value=null),I.k&&(c[I.k]=null)}}if(q(l))yn(l,a,12,[o,c]);else{const I=oe(l),N=ue(l);if(I||N){const x=()=>{if(e.f){const w=I?m(l)?d[l]:c[l]:T()||!e.k?l.value:c[e.k];if(i)K(w)&&Ii(w,s);else if(K(w))w.includes(s)||w.push(s);else if(I)c[l]=[s],m(l)&&(d[l]=c[l]);else{const S=[s];T(l,e.k)&&(l.value=S),e.k&&(c[e.k]=S)}}else I?(c[l]=o,m(l)&&(d[l]=o)):N&&(T(l,e.k)&&(l.value=o),e.k&&(c[e.k]=o))};if(o){const w=()=>{x(),Bn.delete(e)};w.id=-1,Bn.set(e,w),le(w,n)}else ts(e),x()}}}function ts(e){const t=Bn.get(e);t&&(t.flags|=8,Bn.delete(e))}Jn().requestIdleCallback;Jn().cancelIdleCallback;const ht=e=>!!e.type.__asyncLoader,or=e=>e.type.__isKeepAlive,jl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Wt(),r=n.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const i=new Map,s=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:d}}}=r,p=d("div");r.activate=(w,S,y,U,R)=>{const A=w.component;u(w,S,y,0,a),l(A.vnode,w,S,y,A,a,U,w.slotScopeIds,R),le(()=>{A.isDeactivated=!1,A.a&&tn(A.a);const b=w.props&&w.props.onVnodeMounted;b&&Me(b,A.parent,w)},a)},r.deactivate=w=>{const S=w.component;Hn(S.m),Hn(S.a),u(w,p,null,1,a),le(()=>{S.da&&tn(S.da);const y=w.props&&w.props.onVnodeUnmounted;y&&Me(y,S.parent,w),S.isDeactivated=!0},a)};function m(w){Ir(w),c(w,n,a,!0)}function T(w){i.forEach((S,y)=>{const U=hi(ht(S)?S.type.__asyncResolved||{}:S.type);U&&!w(U)&&I(y)})}function I(w){const S=i.get(w);S&&(!o||!dt(S,o))?m(S):o&&Ir(o),i.delete(w),s.delete(w)}Dn(()=>[e.include,e.exclude],([w,S])=>{w&&T(y=>Yt(w,y)),S&&T(y=>!Yt(S,y))},{flush:"post",deep:!0});let N=null;const x=()=>{N!=null&&(Wn(n.subTree.type)?le(()=>{i.set(N,Tn(n.subTree))},n.subTree.suspense):i.set(N,Tn(n.subTree)))};return Di(x),Uo(x),Ri(()=>{i.forEach(w=>{const{subTree:S,suspense:y}=n,U=Tn(S);if(w.type===U.type&&w.key===U.key){Ir(U);const R=U.component.da;R&&le(R,y);return}m(w)})}),()=>{if(N=null,!t.default)return o=null;const w=t.default(),S=w[0];if(w.length>1)return o=null,w;if(!Ot(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return o=null,S;let y=Tn(S);if(y.type===he)return o=null,y;const U=y.type,R=hi(ht(y)?y.type.__asyncResolved||{}:U),{include:A,exclude:b,max:g}=e;if(A&&(!R||!Yt(A,R))||b&&R&&Yt(b,R))return y.shapeFlag&=-257,o=y,S;const _=y.key==null?U:y.key,E=i.get(_);return y.el&&(y=st(y),S.shapeFlag&128&&(S.ssContent=y)),N=_,E?(y.el=E.el,y.component=E.component,y.transition&&Lt(y,y.transition),y.shapeFlag|=512,s.delete(_),s.add(_)):(s.add(_),g&&s.size>parseInt(g,10)&&I(s.values().next().value)),y.shapeFlag|=256,o=y,Wn(S.type)?S:y}}},jf=jl;function Yt(e,t){return K(e)?e.some(n=>Yt(n,t)):oe(e)?e.split(",").includes(t):Ba(e)?(e.lastIndex=0,e.test(t)):!1}function $l(e,t){Wo(e,"a",t)}function Kl(e,t){Wo(e,"da",t)}function Wo(e,t,n=ye){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(ar(t,r,n),n){let i=n.parent;for(;i&&i.parent;)or(i.parent.vnode)&&zl(r,t,n,i),i=i.parent}}function zl(e,t,n,r){const i=ar(t,e,r,!0);Vo(()=>{Ii(r[t],i)},n)}function Ir(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Tn(e){return e.shapeFlag&128?e.ssContent:e}function ar(e,t,n=ye,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{nt();const a=wn(n),l=Je(t,n,e,o);return a(),rt(),l});return r?i.unshift(s):i.push(s),s}}const ot=e=>(t,n=ye)=>{(!gn||e==="sp")&&ar(e,(...r)=>t(...r),n)},ql=ot("bm"),Di=ot("m"),Jl=ot("bu"),Uo=ot("u"),Ri=ot("bum"),Vo=ot("um"),Gl=ot("sp"),Yl=ot("rtg"),Ql=ot("rtc");function Xl(e,t=ye){ar("ec",e,t)}const Zl="components",jo=Symbol.for("v-ndc");function $f(e){return oe(e)?ec(Zl,e,!1)||e:e||jo}function ec(e,t,n=!0,r=!1){const i=ge||ye;if(i){const s=i.type;{const a=hi(s,!1);if(a&&(a===t||a===Oe(t)||a===Si(Oe(t))))return s}const o=ns(i[e]||s[e],t)||ns(i.appContext[e],t);return!o&&r?s:o}}function ns(e,t){return e&&(e[t]||e[Oe(t)]||e[Si(Oe(t))])}function Kf(e,t,n,r){let i;const s=n,o=K(e);if(o||oe(e)){const a=o&&vt(e);let l=!1,u=!1;a&&(l=!ke(e),u=it(e),e=Zn(e)),i=new Array(e.length);for(let c=0,d=e.length;c<d;c++)i[c]=t(l?u?xt(Be(e[c])):Be(e[c]):e[c],c,void 0,s)}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,s)}else if(Z(e))if(e[Symbol.iterator])i=Array.from(e,(a,l)=>t(a,l,void 0,s));else{const a=Object.keys(e);i=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];i[l]=t(e[c],c,l,s)}}else i=[];return i}function zf(e,t,n={},r,i){if(ge.ce||ge.parent&&ht(ge.parent)&&ge.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),ui(),fi(Pe,null,[Se("slot",n,r&&r())],u?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),ui();const o=s&&$o(s(n)),a=n.key||o&&o.key,l=fi(Pe,{key:(a&&!xe(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function $o(e){return e.some(t=>Ot(t)?!(t.type===he||t.type===Pe&&!$o(t.children)):!0)?e:null}function qf(e,t){const n={};for(const r in e)n[Pn(r)]=e[r];return n}const oi=e=>e?fa(e)?ur(e):oi(e.parent):null,on=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=>oi(e.parent),$root:e=>oi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>qo(e),$forceUpdate:e=>e.f||(e.f=()=>{ki(e.update)}),$nextTick:e=>e.n||(e.n=Pl.bind(e.proxy)),$watch:e=>Ol.bind(e)}),Sr=(e,t)=>e!==Q&&!e.__isScriptSetup&&X(e,t),tc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=e;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Sr(r,t))return o[t]=1,r[t];if(i!==Q&&X(i,t))return o[t]=2,i[t];if(X(s,t))return o[t]=3,s[t];if(n!==Q&&X(n,t))return o[t]=4,n[t];ai&&(o[t]=0)}}const u=on[t];let c,d;if(u)return t==="$attrs"&&me(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Q&&X(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,X(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Sr(i,t)?(i[t]=n,!0):r!==Q&&X(r,t)?(r[t]=n,!0):X(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:s,type:o}},a){let l;return!!(n[a]||e!==Q&&a[0]!=="$"&&X(e,a)||Sr(t,a)||X(s,a)||X(r,a)||X(on,a)||X(i.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:X(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Jf(){return Ko().slots}function Gf(){return Ko().attrs}function Ko(e){const t=Wt();return t.setupContext||(t.setupContext=ha(t))}function hn(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Yf(e,t){const n=hn(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?K(i)||q(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function Qf(e,t){return!e||!t?e||t:K(e)&&K(t)?e.concat(t):pe({},hn(e),hn(t))}let ai=!0;function nc(e){const t=qo(e),n=e.proxy,r=e.ctx;ai=!1,t.beforeCreate&&rs(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:d,mounted:p,beforeUpdate:m,updated:T,activated:I,deactivated:N,beforeDestroy:x,beforeUnmount:w,destroyed:S,unmounted:y,render:U,renderTracked:R,renderTriggered:A,errorCaptured:b,serverPrefetch:g,expose:_,inheritAttrs:E,components:M,directives:W,filters:V}=t;if(u&&rc(u,r,null),o)for(const J in o){const ee=o[J];q(ee)&&(r[J]=ee.bind(n))}if(i){const J=i.call(n,n);Z(J)&&(e.data=tr(J))}if(ai=!0,s)for(const J in s){const ee=s[J],Ge=q(ee)?ee.bind(n,n):q(ee.get)?ee.get.bind(n,n):qe,at=!q(ee)&&q(ee.set)?ee.set.bind(n):qe,De=Ee({get:Ge,set:at});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>De.value,set:Te=>De.value=Te})}if(a)for(const J in a)zo(a[J],r,n,J);if(l){const J=q(l)?l.call(n):l;Reflect.ownKeys(J).forEach(ee=>{Ml(ee,J[ee])})}c&&rs(c,e,"c");function te(J,ee){K(ee)?ee.forEach(Ge=>J(Ge.bind(n))):ee&&J(ee.bind(n))}if(te(ql,d),te(Di,p),te(Jl,m),te(Uo,T),te($l,I),te(Kl,N),te(Xl,b),te(Ql,R),te(Yl,A),te(Ri,w),te(Vo,y),te(Gl,g),K(_))if(_.length){const J=e.exposed||(e.exposed={});_.forEach(ee=>{Object.defineProperty(J,ee,{get:()=>n[ee],set:Ge=>n[ee]=Ge,enumerable:!0})})}else e.exposed||(e.exposed={});U&&e.render===qe&&(e.render=U),E!=null&&(e.inheritAttrs=E),M&&(e.components=M),W&&(e.directives=W),g&&Ho(e)}function rc(e,t,n=qe){K(e)&&(e=li(e));for(const r in e){const i=e[r];let s;Z(i)?"default"in i?s=kn(i.from||r,i.default,!0):s=kn(i.from||r):s=kn(i),ue(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[r]=s}}function rs(e,t,n){Je(K(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function zo(e,t,n,r){let i=r.includes(".")?Mo(n,r):()=>n[r];if(oe(e)){const s=t[e];q(s)&&Dn(i,s)}else if(q(e))Dn(i,e.bind(n));else if(Z(e))if(K(e))e.forEach(s=>zo(s,t,n,r));else{const s=q(e.handler)?e.handler.bind(n):t[e.handler];q(s)&&Dn(i,s,e)}}function qo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let l;return a?l=a:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>Fn(l,u,o,!0)),Fn(l,t,o)),Z(t)&&s.set(t,l),l}function Fn(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&Fn(e,s,n,!0),i&&i.forEach(o=>Fn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=ic[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const ic={data:is,props:ss,emits:ss,methods:Qt,computed:Qt,beforeCreate:we,created:we,beforeMount:we,mounted:we,beforeUpdate:we,updated:we,beforeDestroy:we,beforeUnmount:we,destroyed:we,unmounted:we,activated:we,deactivated:we,errorCaptured:we,serverPrefetch:we,components:Qt,directives:Qt,watch:oc,provide:is,inject:sc};function is(e,t){return t?e?function(){return pe(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function sc(e,t){return Qt(li(e),li(t))}function li(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function we(e,t){return e?[...new Set([].concat(e,t))]:t}function Qt(e,t){return e?pe(Object.create(null),e,t):t}function ss(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:pe(Object.create(null),hn(e),hn(t??{})):t}function oc(e,t){if(!e)return t;if(!t)return e;const n=pe(Object.create(null),e);for(const r in t)n[r]=we(e[r],t[r]);return n}function Jo(){return{app:null,config:{isNativeTag:Qs,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 ac=0;function lc(e,t){return function(r,i=null){q(r)||(r=pe({},r)),i!=null&&!Z(i)&&(i=null);const s=Jo(),o=new WeakSet,a=[];let l=!1;const u=s.app={_uid:ac++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:Hc,get config(){return s.config},set config(c){},use(c,...d){return o.has(c)||(c&&q(c.install)?(o.add(c),c.install(u,...d)):q(c)&&(o.add(c),c(u,...d))),u},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),u},component(c,d){return d?(s.components[c]=d,u):s.components[c]},directive(c,d){return d?(s.directives[c]=d,u):s.directives[c]},mount(c,d,p){if(!l){const m=u._ceVNode||Se(r,i);return m.appContext=s,p===!0?p="svg":p===!1&&(p=void 0),e(m,c,p),l=!0,u._container=c,c.__vue_app__=u,ur(m.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Je(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,d){return s.provides[c]=d,u},runWithContext(c){const d=Mt;Mt=u;try{return c()}finally{Mt=d}}};return u}}let Mt=null;function Xf(e,t,n=Q){const r=Wt(),i=Oe(t),s=Ht(t),o=Go(e,i),a=_l((l,u)=>{let c,d=Q,p;return Nl(()=>{const m=e[i];de(c,m)&&(c=m,u())}),{get(){return l(),n.get?n.get(c):c},set(m){const T=n.set?n.set(m):m;if(!de(T,c)&&!(d!==Q&&de(m,d)))return;const I=r.vnode.props;I&&(t in I||i in I||s in I)&&(`onUpdate:${t}`in I||`onUpdate:${i}`in I||`onUpdate:${s}`in I)||(c=m,u()),r.emit(`update:${t}`,T),de(m,T)&&de(m,d)&&!de(T,p)&&u(),d=m,p=T}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||Q:a,done:!1}:{done:!0}}}},a}const Go=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Oe(t)}Modifiers`]||e[`${Ht(t)}Modifiers`];function cc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Q;let i=n;const s=t.startsWith("update:"),o=s&&Go(r,t.slice(7));o&&(o.trim&&(i=n.map(c=>oe(c)?c.trim():c)),o.number&&(i=n.map(Ua)));let a,l=r[a=Pn(t)]||r[a=Pn(Oe(t))];!l&&s&&(l=r[a=Pn(Ht(t))]),l&&Je(l,e,6,i);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Je(u,e,6,i)}}const uc=new WeakMap;function Yo(e,t,n=!1){const r=n?uc:t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!q(e)){const l=u=>{const c=Yo(u,t,!0);c&&(a=!0,pe(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Z(e)&&r.set(e,null),null):(K(s)?s.forEach(l=>o[l]=null):pe(o,s),Z(e)&&r.set(e,o),o)}function lr(e,t){return!e||!vi(t)?!1:(t=t.slice(2).replace(/Once$/,""),X(e,t[0].toLowerCase()+t.slice(1))||X(e,Ht(t))||X(e,t))}function os(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:d,data:p,setupState:m,ctx:T,inheritAttrs:I}=e,N=On(e);let x,w;try{if(n.shapeFlag&4){const y=i||r,U=y;x=Ke(u.call(U,y,c,d,m,p,T)),w=a}else{const y=t;x=Ke(y.length>1?y(d,{attrs:a,slots:o,emit:l}):y(d,null)),w=t.props?a:fc(a)}}catch(y){an.length=0,sr(y,e,1),x=Se(he)}let S=x;if(w&&I!==!1){const y=Object.keys(w),{shapeFlag:U}=S;y.length&&U&7&&(s&&y.some(Ei)&&(w=dc(w,s)),S=st(S,w,!1,!0))}return n.dirs&&(S=st(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&Lt(S,n.transition),x=S,On(N),x}const fc=e=>{let t;for(const n in e)(n==="class"||n==="style"||vi(n))&&((t||(t={}))[n]=e[n]);return t},dc=(e,t)=>{const n={};for(const r in e)(!Ei(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function hc(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:a,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?as(r,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const p=c[d];if(Qo(o,r,p)&&!lr(u,p))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?as(r,o,u):!0:!!o;return!1}function as(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(Qo(t,e,s)&&!lr(n,s))return!0}return!1}function Qo(e,t,n){const r=e[n],i=t[n];return n==="style"&&Z(r)&&Z(i)?!Qn(r,i):r!==i}function gc({vnode:e,parent:t,suspense:n},r){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=r,e=i),i===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const Xo={},Zo=()=>Object.create(Xo),ea=e=>Object.getPrototypeOf(e)===Xo;function pc(e,t,n,r=!1){const i={},s=Zo();e.propsDefaults=Object.create(null),ta(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:Io(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function mc(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=Y(i),[l]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let p=c[d];if(lr(e.emitsOptions,p))continue;const m=t[p];if(l)if(X(s,p))m!==s[p]&&(s[p]=m,u=!0);else{const T=Oe(p);i[T]=ci(l,a,T,m,e,!1)}else m!==s[p]&&(s[p]=m,u=!0)}}}else{ta(e,t,i,s)&&(u=!0);let c;for(const d in a)(!t||!X(t,d)&&((c=Ht(d))===d||!X(t,c)))&&(l?n&&(n[d]!==void 0||n[c]!==void 0)&&(i[d]=ci(l,a,d,void 0,e,!0)):delete i[d]);if(s!==a)for(const d in s)(!t||!X(t,d))&&(delete s[d],u=!0)}u&&et(e.attrs,"set","")}function ta(e,t,n,r){const[i,s]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(en(l))continue;const u=t[l];let c;i&&X(i,c=Oe(l))?!s||!s.includes(c)?n[c]=u:(a||(a={}))[c]=u:lr(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,o=!0)}if(s){const l=Y(n),u=a||Q;for(let c=0;c<s.length;c++){const d=s[c];n[d]=ci(i,l,d,u[d],e,!X(u,d))}}return o}function ci(e,t,n,r,i,s){const o=e[n];if(o!=null){const a=X(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&q(l)){const{propsDefaults:u}=i;if(n in u)r=u[n];else{const c=wn(i);r=u[n]=l.call(null,t),c()}}else r=l;i.ce&&i.ce._setProp(n,r)}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===Ht(n))&&(r=!0))}return r}const yc=new WeakMap;function na(e,t,n=!1){const r=n?yc:t.propsCache,i=r.get(e);if(i)return i;const s=e.props,o={},a=[];let l=!1;if(!q(e)){const c=d=>{l=!0;const[p,m]=na(d,t,!0);pe(o,p),m&&a.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return Z(e)&&r.set(e,kt),kt;if(K(s))for(let c=0;c<s.length;c++){const d=Oe(s[c]);ls(d)&&(o[d]=Q)}else if(s)for(const c in s){const d=Oe(c);if(ls(d)){const p=s[c],m=o[d]=K(p)||q(p)?{type:p}:pe({},p),T=m.type;let I=!1,N=!0;if(K(T))for(let x=0;x<T.length;++x){const w=T[x],S=q(w)&&w.name;if(S==="Boolean"){I=!0;break}else S==="String"&&(N=!1)}else I=q(T)&&T.name==="Boolean";m[0]=I,m[1]=N,(I||X(m,"default"))&&a.push(d)}}const u=[o,a];return Z(e)&&r.set(e,u),u}function ls(e){return e[0]!=="$"&&!en(e)}const Mi=e=>e==="_"||e==="_ctx"||e==="$stable",xi=e=>K(e)?e.map(Ke):[Ke(e)],bc=(e,t,n)=>{if(t._n)return t;const r=Rl((...i)=>xi(t(...i)),n);return r._c=!1,r},ra=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Mi(i))continue;const s=e[i];if(q(s))t[i]=bc(i,s,r);else if(s!=null){const o=xi(s);t[i]=()=>o}}},ia=(e,t)=>{const n=xi(t);e.slots.default=()=>n},sa=(e,t,n)=>{for(const r in t)(n||!Mi(r))&&(e[r]=t[r])},wc=(e,t,n)=>{const r=e.slots=Zo();if(e.vnode.shapeFlag&32){const i=t._;i?(sa(r,t,n),n&&no(r,"_",i,!0)):ra(t,r)}else t&&ia(e,t)},_c=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=Q;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:sa(i,t,n):(s=!t.$stable,ra(t,i)),o=t}else t&&(ia(e,t),o={default:1});if(s)for(const a in i)!Mi(a)&&o[a]==null&&delete i[a]},le=Sc;function Zf(e){return vc(e)}function vc(e,t){const n=Jn();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:p,setScopeId:m=qe,insertStaticContent:T}=e,I=(f,h,v,D=null,C=null,P=null,F=void 0,O=null,L=!!h.dynamicChildren)=>{if(f===h)return;f&&!dt(f,h)&&(D=Ie(f),Te(f,C,P,!0),f=null),h.patchFlag===-2&&(L=!1,h.dynamicChildren=null);const{type:k,ref:$,shapeFlag:H}=h;switch(k){case cr:N(f,h,v,D);break;case he:x(f,h,v,D);break;case Cr:f==null&&w(h,v,D,F);break;case Pe:M(f,h,v,D,C,P,F,O,L);break;default:H&1?U(f,h,v,D,C,P,F,O,L):H&6?W(f,h,v,D,C,P,F,O,L):(H&64||H&128)&&k.process(f,h,v,D,C,P,F,O,L,Qe)}$!=null&&C?sn($,f&&f.ref,P,h||f,!h):$==null&&f&&f.ref!=null&&sn(f.ref,null,P,f,!0)},N=(f,h,v,D)=>{if(f==null)r(h.el=a(h.children),v,D);else{const C=h.el=f.el;h.children!==f.children&&u(C,h.children)}},x=(f,h,v,D)=>{f==null?r(h.el=l(h.children||""),v,D):h.el=f.el},w=(f,h,v,D)=>{[f.el,f.anchor]=T(f.children,h,v,D,f.el,f.anchor)},S=({el:f,anchor:h},v,D)=>{let C;for(;f&&f!==h;)C=p(f),r(f,v,D),f=C;r(h,v,D)},y=({el:f,anchor:h})=>{let v;for(;f&&f!==h;)v=p(f),i(f),f=v;i(h)},U=(f,h,v,D,C,P,F,O,L)=>{if(h.type==="svg"?F="svg":h.type==="math"&&(F="mathml"),f==null)R(h,v,D,C,P,F,O,L);else{const k=f.el&&f.el._isVueCE?f.el:null;try{k&&k._beginPatch(),g(f,h,C,P,F,O,L)}finally{k&&k._endPatch()}}},R=(f,h,v,D,C,P,F,O)=>{let L,k;const{props:$,shapeFlag:H,transition:j,dirs:z}=f;if(L=f.el=o(f.type,P,$&&$.is,$),H&8?c(L,f.children):H&16&&b(f.children,L,null,D,C,Tr(f,P),F,O),z&&mt(f,null,D,"created"),A(L,f,f.scopeId,F,D),$){for(const ne in $)ne!=="value"&&!en(ne)&&s(L,ne,null,$[ne],P,D);"value"in $&&s(L,"value",null,$.value,P),(k=$.onVnodeBeforeMount)&&Me(k,D,f)}z&&mt(f,null,D,"beforeMount");const G=Ec(C,j);G&&j.beforeEnter(L),r(L,h,v),((k=$&&$.onVnodeMounted)||G||z)&&le(()=>{k&&Me(k,D,f),G&&j.enter(L),z&&mt(f,null,D,"mounted")},C)},A=(f,h,v,D,C)=>{if(v&&m(f,v),D)for(let P=0;P<D.length;P++)m(f,D[P]);if(C){let P=C.subTree;if(h===P||Wn(P.type)&&(P.ssContent===h||P.ssFallback===h)){const F=C.vnode;A(f,F,F.scopeId,F.slotScopeIds,C.parent)}}},b=(f,h,v,D,C,P,F,O,L=0)=>{for(let k=L;k<f.length;k++){const $=f[k]=O?Ze(f[k]):Ke(f[k]);I(null,$,h,v,D,C,P,F,O)}},g=(f,h,v,D,C,P,F)=>{const O=h.el=f.el;let{patchFlag:L,dynamicChildren:k,dirs:$}=h;L|=f.patchFlag&16;const H=f.props||Q,j=h.props||Q;let z;if(v&&yt(v,!1),(z=j.onVnodeBeforeUpdate)&&Me(z,v,h,f),$&&mt(h,f,v,"beforeUpdate"),v&&yt(v,!0),(H.innerHTML&&j.innerHTML==null||H.textContent&&j.textContent==null)&&c(O,""),k?_(f.dynamicChildren,k,O,v,D,Tr(h,C),P):F||ee(f,h,O,null,v,D,Tr(h,C),P,!1),L>0){if(L&16)E(O,H,j,v,C);else if(L&2&&H.class!==j.class&&s(O,"class",null,j.class,C),L&4&&s(O,"style",H.style,j.style,C),L&8){const G=h.dynamicProps;for(let ne=0;ne<G.length;ne++){const re=G[ne],se=H[re],fe=j[re];(fe!==se||re==="value")&&s(O,re,se,fe,C,v)}}L&1&&f.children!==h.children&&c(O,h.children)}else!F&&k==null&&E(O,H,j,v,C);((z=j.onVnodeUpdated)||$)&&le(()=>{z&&Me(z,v,h,f),$&&mt(h,f,v,"updated")},D)},_=(f,h,v,D,C,P,F)=>{for(let O=0;O<h.length;O++){const L=f[O],k=h[O],$=L.el&&(L.type===Pe||!dt(L,k)||L.shapeFlag&198)?d(L.el):v;I(L,k,$,null,D,C,P,F,!0)}},E=(f,h,v,D,C)=>{if(h!==v){if(h!==Q)for(const P in h)!en(P)&&!(P in v)&&s(f,P,h[P],null,C,D);for(const P in v){if(en(P))continue;const F=v[P],O=h[P];F!==O&&P!=="value"&&s(f,P,O,F,C,D)}"value"in v&&s(f,"value",h.value,v.value,C)}},M=(f,h,v,D,C,P,F,O,L)=>{const k=h.el=f?f.el:a(""),$=h.anchor=f?f.anchor:a("");let{patchFlag:H,dynamicChildren:j,slotScopeIds:z}=h;z&&(O=O?O.concat(z):z),f==null?(r(k,v,D),r($,v,D),b(h.children||[],v,$,C,P,F,O,L)):H>0&&H&64&&j&&f.dynamicChildren&&f.dynamicChildren.length===j.length?(_(f.dynamicChildren,j,v,C,P,F,O),(h.key!=null||C&&h===C.subTree)&&Li(f,h,!0)):ee(f,h,v,$,C,P,F,O,L)},W=(f,h,v,D,C,P,F,O,L)=>{h.slotScopeIds=O,f==null?h.shapeFlag&512?C.ctx.activate(h,v,D,F,L):V(h,v,D,C,P,F,L):be(f,h,L)},V=(f,h,v,D,C,P,F)=>{const O=f.component=xc(f,D,C);if(or(f)&&(O.ctx.renderer=Qe),Lc(O,!1,F),O.asyncDep){if(C&&C.registerDep(O,te,F),!f.el){const L=O.subTree=Se(he);x(null,L,h,v),f.placeholder=L.el}}else te(O,f,h,v,C,P,F)},be=(f,h,v)=>{const D=h.component=f.component;if(hc(f,h,v))if(D.asyncDep&&!D.asyncResolved){J(D,h,v);return}else D.next=h,D.update();else h.el=f.el,D.vnode=h},te=(f,h,v,D,C,P,F)=>{const O=()=>{if(f.isMounted){let{next:H,bu:j,u:z,parent:G,vnode:ne}=f;{const He=oa(f);if(He){H&&(H.el=ne.el,J(f,H,F)),He.asyncDep.then(()=>{le(()=>{f.isUnmounted||k()},C)});return}}let re=H,se;yt(f,!1),H?(H.el=ne.el,J(f,H,F)):H=ne,j&&tn(j),(se=H.props&&H.props.onVnodeBeforeUpdate)&&Me(se,G,H,ne),yt(f,!0);const fe=os(f),Fe=f.subTree;f.subTree=fe,I(Fe,fe,d(Fe.el),Ie(Fe),f,C,P),H.el=fe.el,re===null&&gc(f,fe.el),z&&le(z,C),(se=H.props&&H.props.onVnodeUpdated)&&le(()=>Me(se,G,H,ne),C)}else{let H;const{el:j,props:z}=h,{bm:G,m:ne,parent:re,root:se,type:fe}=f,Fe=ht(h);yt(f,!1),G&&tn(G),!Fe&&(H=z&&z.onVnodeBeforeMount)&&Me(H,re,h),yt(f,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(fe,f.parent?f.parent.type:void 0);const He=f.subTree=os(f);I(null,He,v,D,f,C,P),h.el=He.el}if(ne&&le(ne,C),!Fe&&(H=z&&z.onVnodeMounted)){const He=h;le(()=>Me(H,re,He),C)}(h.shapeFlag&256||re&&ht(re.vnode)&&re.vnode.shapeFlag&256)&&f.a&&le(f.a,C),f.isMounted=!0,h=v=D=null}};f.scope.on();const L=f.effect=new oo(O);f.scope.off();const k=f.update=L.run.bind(L),$=f.job=L.runIfDirty.bind(L);$.i=f,$.id=f.uid,L.scheduler=()=>ki($),yt(f,!0),k()},J=(f,h,v)=>{h.component=f;const D=f.vnode.props;f.vnode=h,f.next=null,mc(f,h.props,D,v),_c(f,h.children,v),nt(),Yi(f),rt()},ee=(f,h,v,D,C,P,F,O,L=!1)=>{const k=f&&f.children,$=f?f.shapeFlag:0,H=h.children,{patchFlag:j,shapeFlag:z}=h;if(j>0){if(j&128){at(k,H,v,D,C,P,F,O,L);return}else if(j&256){Ge(k,H,v,D,C,P,F,O,L);return}}z&8?($&16&&lt(k,C,P),H!==k&&c(v,H)):$&16?z&16?at(k,H,v,D,C,P,F,O,L):lt(k,C,P,!0):($&8&&c(v,""),z&16&&b(H,v,D,C,P,F,O,L))},Ge=(f,h,v,D,C,P,F,O,L)=>{f=f||kt,h=h||kt;const k=f.length,$=h.length,H=Math.min(k,$);let j;for(j=0;j<H;j++){const z=h[j]=L?Ze(h[j]):Ke(h[j]);I(f[j],z,v,null,C,P,F,O,L)}k>$?lt(f,C,P,!0,!1,H):b(h,v,D,C,P,F,O,L,H)},at=(f,h,v,D,C,P,F,O,L)=>{let k=0;const $=h.length;let H=f.length-1,j=$-1;for(;k<=H&&k<=j;){const z=f[k],G=h[k]=L?Ze(h[k]):Ke(h[k]);if(dt(z,G))I(z,G,v,null,C,P,F,O,L);else break;k++}for(;k<=H&&k<=j;){const z=f[H],G=h[j]=L?Ze(h[j]):Ke(h[j]);if(dt(z,G))I(z,G,v,null,C,P,F,O,L);else break;H--,j--}if(k>H){if(k<=j){const z=j+1,G=z<$?h[z].el:D;for(;k<=j;)I(null,h[k]=L?Ze(h[k]):Ke(h[k]),v,G,C,P,F,O,L),k++}}else if(k>j)for(;k<=H;)Te(f[k],C,P,!0),k++;else{const z=k,G=k,ne=new Map;for(k=G;k<=j;k++){const Ae=h[k]=L?Ze(h[k]):Ke(h[k]);Ae.key!=null&&ne.set(Ae.key,k)}let re,se=0;const fe=j-G+1;let Fe=!1,He=0;const jt=new Array(fe);for(k=0;k<fe;k++)jt[k]=0;for(k=z;k<=H;k++){const Ae=f[k];if(se>=fe){Te(Ae,C,P,!0);continue}let We;if(Ae.key!=null)We=ne.get(Ae.key);else for(re=G;re<=j;re++)if(jt[re-G]===0&&dt(Ae,h[re])){We=re;break}We===void 0?Te(Ae,C,P,!0):(jt[We-G]=k+1,We>=He?He=We:Fe=!0,I(Ae,h[We],v,null,C,P,F,O,L),se++)}const ji=Fe?Ic(jt):kt;for(re=ji.length-1,k=fe-1;k>=0;k--){const Ae=G+k,We=h[Ae],$i=h[Ae+1],Ki=Ae+1<$?$i.el||aa($i):D;jt[k]===0?I(null,We,v,Ki,C,P,F,O,L):Fe&&(re<0||k!==ji[re]?De(We,v,Ki,2):re--)}}},De=(f,h,v,D,C=null)=>{const{el:P,type:F,transition:O,children:L,shapeFlag:k}=f;if(k&6){De(f.component.subTree,h,v,D);return}if(k&128){f.suspense.move(h,v,D);return}if(k&64){F.move(f,h,v,Qe);return}if(F===Pe){r(P,h,v);for(let H=0;H<L.length;H++)De(L[H],h,v,D);r(f.anchor,h,v);return}if(F===Cr){S(f,h,v);return}if(D!==2&&k&1&&O)if(D===0)O.beforeEnter(P),r(P,h,v),le(()=>O.enter(P),C);else{const{leave:H,delayLeave:j,afterLeave:z}=O,G=()=>{f.ctx.isUnmounted?i(P):r(P,h,v)},ne=()=>{P._isLeaving&&P[je](!0),H(P,()=>{G(),z&&z()})};j?j(P,G,ne):ne()}else r(P,h,v)},Te=(f,h,v,D=!1,C=!1)=>{const{type:P,props:F,ref:O,children:L,dynamicChildren:k,shapeFlag:$,patchFlag:H,dirs:j,cacheIndex:z,memo:G}=f;if(H===-2&&(C=!1),O!=null&&(nt(),sn(O,null,v,f,!0),rt()),z!=null&&(h.renderCache[z]=void 0),$&256){h.ctx.deactivate(f);return}const ne=$&1&&j,re=!ht(f);let se;if(re&&(se=F&&F.onVnodeBeforeUnmount)&&Me(se,h,f),$&6)Vt(f.component,v,D);else{if($&128){f.suspense.unmount(v,D);return}ne&&mt(f,null,h,"beforeUnmount"),$&64?f.type.remove(f,h,v,Qe,D):k&&!k.hasOnce&&(P!==Pe||H>0&&H&64)?lt(k,h,v,!1,!0):(P===Pe&&H&384||!C&&$&16)&&lt(L,h,v),D&&Tt(f)}const fe=G!=null&&z==null;(re&&(se=F&&F.onVnodeUnmounted)||ne||fe)&&le(()=>{se&&Me(se,h,f),ne&&mt(f,null,h,"unmounted"),fe&&(f.el=null)},v)},Tt=f=>{const{type:h,el:v,anchor:D,transition:C}=f;if(h===Pe){yr(v,D);return}if(h===Cr){y(f);return}const P=()=>{i(v),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(f.shapeFlag&1&&C&&!C.persisted){const{leave:F,delayLeave:O}=C,L=()=>F(v,P);O?O(f.el,P,L):L()}else P()},yr=(f,h)=>{let v;for(;f!==h;)v=p(f),i(f),f=v;i(h)},Vt=(f,h,v)=>{const{bum:D,scope:C,job:P,subTree:F,um:O,m:L,a:k}=f;Hn(L),Hn(k),D&&tn(D),C.stop(),P&&(P.flags|=8,Te(F,f,h,v)),O&&le(O,h),le(()=>{f.isUnmounted=!0},h)},lt=(f,h,v,D=!1,C=!1,P=0)=>{for(let F=P;F<f.length;F++)Te(f[F],h,v,D,C)},Ie=f=>{if(f.shapeFlag&6)return Ie(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=p(f.anchor||f.el),v=h&&h[xo];return v?p(v):h};let Ce=!1;const Ye=(f,h,v)=>{let D;f==null?h._vnode&&(Te(h._vnode,null,null,!0),D=h._vnode.component):I(h._vnode||null,f,h,null,null,null,v),h._vnode=f,Ce||(Ce=!0,Yi(D),ko(),Ce=!1)},Qe={p:I,um:Te,m:De,r:Tt,mt:V,mc:b,pc:ee,pbc:_,n:Ie,o:e};return{render:Ye,hydrate:void 0,createApp:lc(Ye)}}function Tr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function yt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ec(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Li(e,t,n=!1){const r=e.children,i=t.children;if(K(r)&&K(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=Ze(i[s]),a.el=o.el),!n&&a.patchFlag!==-2&&Li(o,a)),a.type===cr&&(a.patchFlag===-1&&(a=i[s]=Ze(a)),a.el=o.el),a.type===he&&!a.el&&(a.el=o.el)}}function Ic(e){const t=e.slice(),n=[0];let r,i,s,o,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(i=n[n.length-1],e[i]<u){t[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,e[n[a]]<u?s=a+1:o=a;u<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function oa(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:oa(t)}function Hn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function aa(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?aa(t.subTree):null}const Wn=e=>e.__isSuspense;function Sc(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):Dl(e)}const Pe=Symbol.for("v-fgt"),cr=Symbol.for("v-txt"),he=Symbol.for("v-cmt"),Cr=Symbol.for("v-stc"),an=[];let ve=null;function ui(e=!1){an.push(ve=e?null:[])}function Tc(){an.pop(),ve=an[an.length-1]||null}let Nt=1;function Un(e,t=!1){Nt+=e,e<0&&ve&&t&&(ve.hasOnce=!0)}function la(e){return e.dynamicChildren=Nt>0?ve||kt:null,Tc(),Nt>0&&ve&&ve.push(e),e}function ed(e,t,n,r,i,s){return la(ua(e,t,n,r,i,s,!0))}function fi(e,t,n,r,i){return la(Se(e,t,n,r,i,!0))}function Ot(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const ca=({key:e})=>e??null,Rn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||ue(e)||q(e)?{i:ge,r:e,k:t,f:!!n}:e:null);function ua(e,t=null,n=null,r=0,i=null,s=e===Pe?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ca(t),ref:t&&Rn(t),scopeId:Ro,slotScopeIds:null,children:n,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:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ge};return a?(Ni(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=oe(n)?8:16),Nt>0&&!o&&ve&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&ve.push(l),l}const Se=Cc;function Cc(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===jo)&&(e=he),Ot(e)){const a=st(e,t,!0);return n&&Ni(a,n),Nt>0&&!s&&ve&&(a.shapeFlag&6?ve[ve.indexOf(e)]=a:ve.push(a)),a.patchFlag=-2,a}if(Bc(e)&&(e=e.__vccOpts),t){t=Ac(t);let{class:a,style:l}=t;a&&!oe(a)&&(t.class=Yn(a)),Z(l)&&(rr(l)&&!K(l)&&(l=pe({},l)),t.style=Gn(l))}const o=oe(e)?1:Wn(e)?128:Lo(e)?64:Z(e)?4:q(e)?2:0;return ua(e,t,n,r,i,o,s,!0)}function Ac(e){return e?rr(e)||ea(e)?pe({},e):e:null}function st(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=e,u=t?Dc(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ca(u),ref:t&&t.ref?n&&s?K(s)?s.concat(Rn(t)):[s,Rn(t)]:Rn(t):s,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!==Pe?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&&st(e.ssContent),ssFallback:e.ssFallback&&st(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Lt(c,l.clone(c)),c}function Pc(e=" ",t=0){return Se(cr,null,e,t)}function kc(e="",t=!1){return t?(ui(),fi(he,null,e)):Se(he,null,e)}function Ke(e){return e==null||typeof e=="boolean"?Se(he):K(e)?Se(Pe,null,e.slice()):Ot(e)?Ze(e):Se(cr,null,String(e))}function Ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:st(e)}function Ni(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Ni(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!ea(t)?t._ctx=ge:i===3&&ge&&(ge.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:ge},n=32):(t=String(t),r&64?(n=16,t=[Pc(t)]):n=8);e.children=t,e.shapeFlag|=n}function Dc(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=Yn([t.class,r.class]));else if(i==="style")t.style=Gn([t.style,r.style]);else if(vi(i)){const s=t[i],o=r[i];o&&s!==o&&!(K(s)&&s.includes(o))?t[i]=s?[].concat(s,o):o:o==null&&s==null&&!Ei(i)&&(t[i]=o)}else i!==""&&(t[i]=r[i])}return t}function Me(e,t,n,r=null){Je(e,t,7,[n,r])}const Rc=Jo();let Mc=0;function xc(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Rc,s={uid:Mc++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new so(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:na(r,i),emitsOptions:Yo(r,i),emit:null,emitted:null,propsDefaults:Q,inheritAttrs:r.inheritAttrs,ctx:Q,data:Q,props:Q,attrs:Q,slots:Q,refs:Q,setupState:Q,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=cc.bind(null,s),e.ce&&e.ce(s),s}let ye=null;const Wt=()=>ye||ge;let Vn,di;{const e=Jn(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};Vn=t("__VUE_INSTANCE_SETTERS__",n=>ye=n),di=t("__VUE_SSR_SETTERS__",n=>gn=n)}const wn=e=>{const t=ye;return Vn(e),e.scope.on(),()=>{e.scope.off(),Vn(t)}},cs=()=>{ye&&ye.scope.off(),Vn(null)};function fa(e){return e.vnode.shapeFlag&4}let gn=!1;function Lc(e,t=!1,n=!1){t&&di(t);const{props:r,children:i}=e.vnode,s=fa(e);pc(e,r,s,t),wc(e,i,n||t);const o=s?Nc(e,t):void 0;return t&&di(!1),o}function Nc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,tc);const{setup:r}=n;if(r){nt();const i=e.setupContext=r.length>1?ha(e):null,s=wn(e),o=yn(r,e,0,[e.props,i]),a=Zs(o);if(rt(),s(),(a||e.sp)&&!ht(e)&&Ho(e),a){if(o.then(cs,cs),t)return o.then(l=>{us(e,l)}).catch(l=>{sr(l,e,0)});e.asyncDep=o}else us(e,o)}else da(e)}function us(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=To(t)),da(e)}function da(e,t,n){const r=e.type;e.render||(e.render=r.render||qe);{const i=wn(e);nt();try{nc(e)}finally{rt(),i()}}}const Oc={get(e,t){return me(e,"get",""),e[t]}};function ha(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Oc),slots:e.slots,emit:e.emit,expose:t}}function ur(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(To(pl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in on)return on[n](e)},has(t,n){return n in t||n in on}})):e.proxy}function hi(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Bc(e){return q(e)&&"__vccOpts"in e}const Ee=(e,t)=>Sl(e,t,gn);function td(e,t,n){try{Un(-1);const r=arguments.length;return r===2?Z(t)&&!K(t)?Ot(t)?Se(e,null,[t]):Se(e,t):Se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ot(n)&&(n=[n]),Se(e,t,n))}finally{Un(1)}}function nd(e,t,n,r){const i=n[r];if(i&&Fc(i,e))return i;const s=t();return s.memo=e.slice(),s.cacheIndex=r,n[r]=s}function Fc(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(de(n[r],t[r]))return!1;return Nt>0&&ve&&ve.push(e),!0}const Hc="3.5.34",rd="0.9.9-alpha.0",zt={orientation:"portrait",capsuleHidden:!1};function gt(){return new DOMException("方向请求已取消","AbortError")}let ln;function id(e){return ln=e,()=>{ln===e&&(ln=void 0)}}function sd(e){if(e.aborted)return Promise.reject(gt());if(!ln)return Promise.resolve();const t=ln();return new Promise((n,r)=>{const i=()=>r(gt());e.addEventListener("abort",i,{once:!0}),t.then(()=>{e.removeEventListener("abort",i),n()},s=>{e.removeEventListener("abort",i),r(s)})})}function Wc(e){return new Promise((t,n)=>{if(e.aborted){n(gt());return}let r=requestAnimationFrame(()=>{r=requestAnimationFrame(i)});function i(){e.removeEventListener("abort",s),t()}function s(){cancelAnimationFrame(r),n(gt())}e.addEventListener("abort",s,{once:!0})})}function od(e,t){if(t.aborted)return Promise.reject(gt());const n=e.flatMap(r=>r&&typeof r.getAnimations=="function"?r.getAnimations().filter(i=>i.effect?.getComputedTiming().iterations!==1/0):[]);return n.length?new Promise((r,i)=>{const s=()=>i(gt());t.addEventListener("abort",s,{once:!0}),Promise.allSettled(n.map(o=>o.finished)).then(()=>{t.removeEventListener("abort",s),r()})}):Promise.resolve()}function ad(e){const t=e.waitForLayout??Wc,n=new Set;let r=zt,i=0;function s(){for(const o of[...n])try{o()}catch{}}return{async applyDisplay(o,a){if(a.aborted)throw gt();const l=++i,u={orientation:o.mode,capsuleHidden:o.hideCapsule},c=()=>{l===i&&(i+=1,e.apply(r),s())};a.addEventListener("abort",c,{once:!0});try{if(e.apply(u),await t(a),a.aborted||l!==i)throw gt();r=u,s()}finally{a.removeEventListener("abort",c)}},reset(){i+=1;const o=r.orientation!==zt.orientation||r.capsuleHidden!==zt.capsuleHidden;r=zt,e.apply(zt),o&&s()},onViewportChange(o){return n.add(o),()=>{n.delete(o)}},notifyViewportChange:s}}const Uc="[data-hb-sdk-fullscreen-exit]";function ld(e){const t=()=>{const r=e();if(r)for(const i of[...document.body.children])i.matches(Uc)&&r.append(i)},n=new MutationObserver(t);return n.observe(document.body,{childList:!0}),t(),()=>n.disconnect()}const pn=500,Vc=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"]),jc=/(authorization|cookie|password|passwd|secret|token|pkey|private[_-]?key|access[_-]?key|client[_-]?secret|api[_-]?key|apikey|session|jwt|refresh[_-]?token|csrf)/i;function gi(e){if(!e)return e;try{const t=new URL(e);if(t.username="",t.password="",fs(t.searchParams),t.hash&&t.hash.length>1){const n=t.hash.slice(1);if(n.includes("=")){const r=new URLSearchParams(n);fs(r)&&(t.hash=r.toString())}}return t.toString()}catch{return pa(e)}}function $c(e){return e?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,zc(t)?"[redacted]":n])):{}}function pi(e){if(e!==void 0){if(typeof e=="string")return ga(e);if(typeof e=="number"||typeof e=="boolean"||e===null)return e;try{const t=mi(e),n=JSON.stringify(t);return n===void 0?"[unserializable]":n.length<=pn?t:Oi(n,pn)}catch{return"[unserializable]"}}}function mn(e){return Array.isArray(e)?e.slice(0,20).map(t=>mn(t)):typeof e=="string"?qc(e)?gi(e):ga(e):typeof e=="number"||typeof e=="boolean"||e===null||e===void 0?e:yi(e)?Object.fromEntries(Object.entries(e).map(([t,n])=>{const r=t.trim().toLowerCase();return Ut(t)?[t,"[redacted]"]:r==="headers"&&yi(n)?[t,$c(Object.fromEntries(Object.entries(n).flatMap(([i,s])=>typeof s=="string"?[[i,s]]:[])))]:(r==="url"||r.endsWith("_url")||r.endsWith("url"))&&typeof n=="string"?[t,gi(n)]:[t,mn(n)]})):pi(e)}function Kc(e){return e&&e.replace(/https?:\/\/[^\s]+/gi,t=>gi(t.replace(/[),.;]+$/g,"")))}function zc(e){const t=e.trim().toLowerCase();return Vc.has(t)||Ut(t)||t.startsWith("x-heybox-")||t.startsWith("x-xhh-")}function Ut(e){return jc.test(e.trim())}function ga(e){const t=e.trim();if(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]"))try{return pi(JSON.parse(t))}catch{}if(t.includes("=")&&!t.includes(`
2
+ `)&&t.length<=pn*2)try{const n=new URLSearchParams(t);if([...n.keys()].length>0){const r=Object.fromEntries([...n.entries()].map(([i,s])=>[i,Ut(i)?"[redacted]":s]));return pi(r)}}catch{}return Oi(pa(e),pn)}function mi(e){return Array.isArray(e)?e.slice(0,20).map(t=>mi(t)):yi(e)?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,Ut(t)?"[redacted]":mi(n)])):typeof e=="string"?Oi(e,pn):e}function fs(e){let t=!1;for(const n of[...e.keys()])Ut(n)&&(e.set(n,"[redacted]"),t=!0);return t}function pa(e){return e.replace(/([?&#]|^|[?&])([^=&#\s]+)=([^&#\s]*)/g,(t,n,r)=>Ut(r)?`${n}${r}=[redacted]`:t)}function qc(e){return/^https?:\/\//i.test(e.trim())||/^[a-z][a-z0-9+.-]*:\/\//i.test(e.trim())}function Oi(e,t){return e.length<=t?e:`${e.slice(0,t)}…(truncated, total=${e.length})`}function yi(e){return Object.prototype.toString.call(e)==="[object Object]"}function qt(e,t){return Kc(String(mn(e))).slice(0,t)}function Jc(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:qt(t.method,100),startedAt:t.startedAt,...typeof t.callId=="string"?{callId:qt(t.callId,100)}:{},...typeof t.message=="string"?{message:qt(t.message,512)}:{},...typeof t.title=="string"?{title:qt(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(n=>typeof n=="string").map(n=>qt(n,40))}:{}}}const Gc="/__hb_sdk__/diagnostics",Yc="/__hb_sdk__/resources",Qc=16;let pt={instanceId:null,controller:new AbortController,records:new Map};const bi=new Set;function cd(e,t){const n=pt,r={instanceId:e,emit:t,controller:new AbortController,records:new Map};return pt=r,ds(n,"宿主呈现实例已替换"),{snapshot:()=>ma(r),dispose:()=>ds(r,"宿主呈现实例已结束")}}function ds(e,t){if(!e.controller.signal.aborted){e.controller.abort(new DOMException(t,"AbortError"));for(const n of[...e.records.values()])try{n.finish("closed")}catch{}}}function Bi(){return pt.controller.signal}function ud(){return pt.controller.signal.aborted?{instanceId:null,interactions:[]}:ma(pt)}function ma(e){return{instanceId:e.instanceId,interactions:[...e.records.values()].map(t=>ya(t.value))}}function ya(e){return Jc(e)}function Xc(e){return bi.add(e),()=>{bi.delete(e)}}function hs(){for(const e of[...bi])try{e()}catch{}}function Fi(e,t){const n=pt;if(n.controller.signal.aborted)throw new Error("宿主呈现实例已结束");if(n.records.size>=Qc)throw new Error("待处理宿主交互过多");const r={...e,interactionId:crypto.randomUUID(),startedAt:Date.now()},i=o=>{const a=n.emit;if(a)try{const l=ya(r),u=Date.now();a({source:"host",phase:"presentation",method:e.method,callId:e.callId,interaction:{...l,state:o},level:"info",timestamp:u,startedAt:r.startedAt,durationMs:Math.max(0,u-r.startedAt),message:[e.method,o,l.message,l.title].filter(Boolean).join(" · ")})}catch{}},s=o=>{if(n.records.delete(r.interactionId))try{t?.(o)}finally{i(o),hs()}};return n.records.set(r.interactionId,{value:r,finish:s}),i("shown"),n.records.has(r.interactionId)&&hs(),{interactionId:r.interactionId,get active(){return n.records.has(r.interactionId)},finish:s}}function gs(){for(const e of pt.records.values())if(e.value.kind==="toast"||e.value.kind==="loading")return e.value}function fr(e,t){for(const n of[...pt.records.values()])(n.value.kind==="toast"||n.value.kind==="loading")&&(!t||n.value.kind===t)&&n.finish(e)}const ps="hb-sdk-feedback-style",Zc=2e3,eu={light:20,medium:40,heavy:80},tu=120,nu=`
3
+ .host-overlay-layer.hb-sdk-feedback-vibrate-flash {
4
+ background: rgba(255, 255, 255, 0.22);
5
+ }
6
+ `;let Xt;const wi=new Set;function fd(e){let t=gs();const n=i=>{i?i.kind==="toast"?e({kind:"toast",message:i.message??"",...i.status?{status:i.status}:{}}):e({kind:"loading",dismissible:i.dismissible===!0}):e(void 0)},r=Xc(()=>{const i=gs();i!==t&&(t=i,n(i))});try{t&&n(t)}catch(i){throw r(),i}return r}function dd(e,t){const n=Bi();if(fr("replaced"),n.aborted)return Promise.resolve();let r;const i=Fi({kind:"toast",mode:"simulated",method:"ui.showToast",...e,...t?.requestId?{callId:t.requestId}:{}},()=>{r!==void 0&&window.clearTimeout(r)});return i.active&&(r=window.setTimeout(()=>i.finish("expired"),Zc)),Promise.resolve()}function hd(e,t){const n=Bi();return fr("replaced"),n.aborted||Fi({kind:"loading",mode:"simulated",method:"ui.showLoading",dismissible:e?.dismissible===!0,...t?.requestId?{callId:t.requestId}:{}}),Promise.resolve()}function gd(){return fr("hidden","loading"),Promise.resolve()}function pd(){fr("closed");for(const e of[...wi])e();Xt?.finish("closed")}async function md(e,t){ru();const n=AbortSignal.any([Bi(),...t?.signal?[t.signal]:[]]);if(!await ou(Math.max(0,e.delay),n)||n.aborted||!iu(n,t?.requestId))return;const i=navigator.vibrate;if(typeof i=="function")try{i.call(navigator,eu[e.intensity])}catch{}}function yd(e){document.documentElement.dataset.screenshotChromeHidden=e?"true":"false"}function ru(){if(document.getElementById(ps))return;const e=document.createElement("style");e.id=ps,e.textContent=nu,document.head.appendChild(e)}function iu(e,t){if(Xt?.finish("replaced"),e.aborted)return!1;const n=su();let r,i;return i=Fi({kind:"effect",mode:"simulated",method:"device.vibrate",title:"震动预览",...t?{callId:t}:{}},()=>{r!==void 0&&window.clearTimeout(r),n.classList.remove("hb-sdk-feedback-vibrate-flash"),Xt===i&&(Xt=void 0)}),i.active?(Xt=i,n.classList.add("hb-sdk-feedback-vibrate-flash"),r=window.setTimeout(()=>i?.finish("completed"),tu),!0):!1}function su(){return document.querySelector("#host-overlay-layer")??document.body}function ou(e,t){return t.aborted?Promise.resolve(!1):e<=0?Promise.resolve(!0):new Promise(n=>{let r,i=!1;const s=l=>{i||(i=!0,r!==void 0&&window.clearTimeout(r),t.removeEventListener("abort",o),wi.delete(a),n(l))},o=()=>s(!1),a=()=>s(!1);r=window.setTimeout(()=>s(!0),e),wi.add(a),t.addEventListener("abort",o,{once:!0})})}const _n="desktop";function au(e){return e===_n}const Ar={width:440,height:956},ms={top:1.32,right:3.4,bottom:1.32,left:3.4},Pr={width:410,height:914},ys={top:2.05,right:4.8,bottom:1.8,left:4.1};function bs(e,t,n){const r=e.width/(1-(t.left+t.right)/100),i=e.height/(1-(t.top+t.bottom)/100),s=n.width*n.radiusWidthRatio;return{frameWidth:r,frameHeight:i,frameAssetWidth:n.width,frameAssetHeight:n.height,screenRadius:{x:s*(r/n.width),y:s*(i/n.height)}}}const Hi=[{id:"iphone-16-pro-max",label:"iPhone 16 Pro Max",screenWidth:Ar.width,screenHeight:Ar.height,...bs(Ar,ms,{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:ms,toolbarLeft:53.67,platform:"ios"},{id:"pixel-9-pro",label:"Pixel 9 Pro",screenWidth:Pr.width,screenHeight:Pr.height,...bs(Pr,ys,{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:ys,toolbarLeft:44.69,platform:"android"}],lu=Hi[0];function dr(e){return Hi.find(t=>t.id===e)??lu}function cu(e,t,n=!1){return t==="portrait"?{screenWidth:e.screenWidth,screenHeight:e.screenHeight,pixelRatio:e.pixelRatio,statusBarHeight:n?0:e.statusBarHeight,safeAreaInsets:{...e.safeAreaInsets}}:{screenWidth:e.screenHeight,screenHeight:e.screenWidth,pixelRatio:e.pixelRatio,statusBarHeight:e.landscape.statusBarHeight,safeAreaInsets:{...e.landscape.safeAreaInsets}}}function uu(){let e;const t=[],n=crypto.randomUUID();let r=0,i=!1,s,o=!1;const a=new Set;let l=0,u=0;const c=256;let d=!1,p,m,T=!1;const I=b=>new TextEncoder().encode(JSON.stringify(b)).length,N=(b,g)=>{if(new TextEncoder().encode(b).length<=g)return b;let _=0,E=b.length;for(;_<E;){const M=Math.ceil((_+E)/2);new TextEncoder().encode(b.slice(0,M)).length<=g?_=M:E=M-1}return b.slice(0,_)};function x(){const b=navigator.userAgent,g=/Edg\//.test(b)?"Edge":/Chrome\//.test(b)?"Chrome":/Firefox\//.test(b)?"Firefox":/Safari\//.test(b)?"Safari":void 0,E=navigator.userAgentData?.platform||(/Windows/.test(b)?"Windows":/Android/.test(b)?"Android":/iPhone|iPad/.test(b)?"iOS":/Macintosh|Mac OS X/.test(b)?"macOS":/Linux/.test(b)?"Linux":void 0);return{...g?{browser:g}:{},...E?{os:E}:{}}}async function w(b){if(!e)throw new Error("诊断尚未配置");const g=b.operation==="attach"?b:{...b,targetId:p.targetId,ownerId:p.ownerId},_=await fetch(Gc,{method:"POST",headers:{"content-type":"application/json","x-hb-sdk-csrf":e.csrfToken,"x-hb-sdk-diagnostics":e.diagnosticsToken,...m?{"x-hb-sdk-preview-owner":m}:{}},body:JSON.stringify(g),signal:AbortSignal.any([e.signal,AbortSignal.timeout(5e3)]),keepalive:d});if(!_.ok)throw Object.assign(new Error(`诊断请求失败 (${_.status})`),{status:_.status});return _.json()}function S(b){return new Promise(g=>{const _=e.signal,E=()=>{clearTimeout(M),_.removeEventListener("abort",E),g()},M=setTimeout(E,b);_.addEventListener("abort",E,{once:!0}),_.aborted&&E()})}async function y(){if(i||!e||!p)return;i=!0;let b=250;try{for(;t.length&&!e.signal.aborted;){const g=t[0];s=g;try{if(await w(g),t.shift(),s=void 0,b=250,u){const _=u;u=0,t.push({operation:"events",producerId:n,sequence:++r,events:[{source:"host",level:"warn",method:"diagnostics.dropped",message:`Host 发送缓冲已丢弃 ${_} 条诊断,存在采集缺口`,timestamp:Date.now(),outcome:"dropped"}]})}}catch(_){const E=_.status;if(E===403&&U(),E&&E>=400&&E<500&&E!==408&&E!==429){g.operation==="events"&&g.events.every(W=>W.method==="diagnostics.dropped")||R(g.operation==="events"?g.events.length:1),t.shift(),s=void 0;continue}await S(b),b=Math.min(8e3,b*2)}}}finally{s=void 0,i=!1}}function U(){T||(T=!0,e?.onOwnershipLost?.())}function R(b){l+=b,u+=b,e?.onDropped(l)}function A(b){if(b.operation==="update"){const g=b.error;b={...b,...g?{error:{code:N(g.code,100),message:N(g.message,4096),...g.name?{name:N(g.name,100)}:{},...g.stack?{stack:N(g.stack,8192)}:{},...g.cause?{cause:N(g.cause,2048)}:{},...g.phase?{phase:N(g.phase,100)}:{}}}:{},...b.reason?{reason:N(b.reason,200)}:{}}}if(b.operation==="update"){const g=t.findIndex(_=>_!==s&&_.operation==="update"&&_.instanceId===b.instanceId&&_.state===b.state);if(g>=0){t[g]={...t[g],...b};return}}if(t.length>=c){const g=t.findIndex(_=>_!==s&&_.operation==="events");if(g>=0){const _=t.splice(g,1)[0];_.operation==="events"&&R(_.events.length)}else{const _=t.find(E=>E!==s&&E.operation==="register");if(_?.operation==="register")for(let E=t.length-1;E>=0;E--){const M=t[E];M!==s&&"instanceId"in M&&M.instanceId===_.instanceId&&(t.splice(E,1),R(1))}else{R(1);return}}}t.push(b),y()}return{async configure(b){e=b;const g=new URL(location.href),_=new URLSearchParams(g.hash.slice(1)),E=_.get("hb-sdk-owner")??"";_.has("hb-sdk-owner")&&(_.delete("hb-sdk-owner"),g.hash=_.toString(),history.replaceState(history.state,"",g.href));const M="__HB_SDK_PREVIEW_OWNER__",W=Object.getOwnPropertyDescriptor(window,M);let V;if(W){const J=W.value;if(!J||typeof J.token!="string"||J.token&&!/^[a-f0-9]{64}$/.test(J.token)||typeof J.pageId!="string"||!/^[A-Za-z0-9_-]{1,100}$/.test(J.pageId))throw new Error("预览页面授权格式无效,请重新打开预览");V=J}else{if(E&&!/^[a-f0-9]{64}$/.test(E))throw new Error("预览页面授权格式无效,请重新打开预览");V={token:E,pageId:crypto.randomUUID()},Object.defineProperty(window,M,{value:V,configurable:!0})}m=V.token||void 0;const be=V.pageId,te=await w({operation:"attach",pageId:be,metadata:x()});if(!te.target?.targetId||!te.target.ownerId||typeof te.ownerToken!="string")throw new Error("调试目标授权不完整,请重新打开预览");return p=te.target,m=te.ownerToken,y(),p},send:A,close(){d=!0},event(b,g){const E=[{...g,message:N(g.message,4096),truncated:g.truncated===!0||new TextEncoder().encode(g.message).length>4096,...g.method?{method:N(g.method,100)}:{},...g.callId?{callId:N(g.callId,100)}:{},...g.phase?{phase:N(g.phase,100)}:{},...g.errorCode?{errorCode:N(g.errorCode,100)}:{},...g.network?{network:{...g.network.method?{method:N(g.network.method,32)}:{},...g.network.origin?{origin:N(g.network.origin,512)}:{},...g.network.pathname?{pathname:N(g.network.pathname,1024)}:{},...g.network.responseStatus===void 0?{}:{responseStatus:g.network.responseStatus}}}:{}}],M=t.at(-1);M!==s&&M?.operation==="events"&&M.instanceId===b&&M.events.length+E.length<=50&&I({...M,events:[...M.events,...E]})<=32e3?M.events.push(...E):A({operation:"events",instanceId:b,producerId:n,sequence:++r,events:E})},async poll(){if(!(!e||!p||T||o||e.signal.aborted)){o=!0;try{const{tasks:b}=await w({operation:"poll"});for(const g of b)a.has(g.requestId)||(a.add(g.requestId),(async()=>{let _;try{_=await e.query(g)}catch{_={code:"closed",error:"实例查询已结束"}}try{I(_)>32e3&&(_={code:"invalid",error:"诊断结果超出 32 KiB 输出上限"})}catch{_={code:"invalid",error:"诊断结果不可序列化"}}e.signal.aborted||await w({operation:"result",requestId:g.requestId,instanceId:g.instanceId,result:_}).catch(()=>{})})().finally(()=>a.delete(g.requestId)))}catch(b){b.status===403&&U()}finally{o=!1}}}}}const bd=uu();class ce extends Error{constructor(t,n){super(n),this.code=t,this.name="BrowserDevHostPreviewError"}}function wd(e){const t=new Map;let n,r=!1;return{bridge:{version:1,async run(s){let o,a;try{fu(s);const l=Math.min(s.deadlineAt,Date.now()+(s.timeoutMs??25e3)),u=()=>{if(Date.now()>=l){const T=new ce("PREVIEW_TIMEOUT","调试台预览操作超时");throw o?.abort(T),T}o?.signal.throwIfAborted()};if(u(),r)throw new ce("SESSION_CLOSED","调试台已关闭");if(t.has(s.operationId))throw new ce("OPERATION_EXISTS","预览操作 ID 已在使用");if(s.command==="observe")return{ok:!0,value:e.observe()};const c=e.observe(),d=s.preset??c.preset;if(s.orientation&&d===_n)throw new ce("ORIENTATION_UNSUPPORTED","桌面预览方向由窗口尺寸决定,请先选择手机预设");n?.abort(new ce("PREVIEW_SUPERSEDED","预览操作已被更新的操作取代")),o=new AbortController,n=o,t.set(s.operationId,o),a=setTimeout(()=>o.abort(new ce("PREVIEW_TIMEOUT","调试台预览操作超时")),Math.max(0,l-Date.now()));const p=o.signal;return{ok:!0,value:await hu((async()=>(u(),s.command==="reload"?await e.reload(p):(s.preset&&await e.selectPreset(s.preset,p),u(),s.orientation&&await e.applyOrientation(s.orientation,p)),u(),await e.waitForLayout(p),u(),e.observe()))(),p)}}catch(l){return{ok:!1,error:du(l)}}finally{clearTimeout(a),o&&t.get(s.operationId)===o&&t.delete(s.operationId),n===o&&(n=void 0)}},cancel(s){const o=t.get(s);o&&o.abort(new ce("PREVIEW_CANCELLED","预览操作已取消;已生效的变更请读取当前状态确认"))}},dispose(){r=!0;for(const s of t.values())s.abort(new ce("SESSION_CLOSED","调试台已关闭"));t.clear()}}}async function _d(e){const t=window.__HB_SDK_PREVIEW__;if(!t)throw new ce("PREVIEW_NOT_READY","调试台尚未就绪");const n=await t.run({...e,operationId:crypto.randomUUID(),deadlineAt:Date.now()+(e.timeoutMs??25e3)});if(!n.ok)throw new ce(n.error.code,n.error.message);return n.value}function fu(e){if(!e||typeof e!="object"||typeof e.operationId!="string"||!/^[\w-]{1,128}$/.test(e.operationId))throw new ce("INVALID_OPERATION","预览操作 ID 无效");if(!Number.isFinite(e.deadlineAt)||e.deadlineAt<=0)throw new ce("INVALID_DEADLINE","预览操作绝对期限无效");if(!["observe","select","reload"].includes(e.command))throw new ce("INVALID_COMMAND","未知调试台动作");if(e.timeoutMs!==void 0&&(!Number.isInteger(e.timeoutMs)||e.timeoutMs<1||e.timeoutMs>3e4))throw new ce("INVALID_TIMEOUT","预览操作期限必须为 1 到 30000 毫秒");if(e.command!=="select"&&(e.preset!==void 0||e.orientation!==void 0))throw new ce("INVALID_OPTIONS","当前动作不接受设备或方向选项");if(e.command==="select"&&e.preset===void 0&&e.orientation===void 0)throw new ce("SELECT_REQUIRED","至少指定设备预设或方向");if(e.preset!==void 0&&e.preset!==_n&&!Hi.some(t=>t.id===e.preset))throw new ce("INVALID_PRESET","未知设备预设");if(e.orientation!==void 0&&!["portrait","landscape"].includes(e.orientation))throw new ce("INVALID_ORIENTATION","方向必须为 portrait 或 landscape")}function du(e){return e instanceof ce?{code:e.code,message:e.message}:e instanceof Error&&e.name==="AbortError"?{code:"PREVIEW_CANCELLED",message:"预览操作已取消"}:{code:"PREVIEW_FAILED",message:"调试台动作失败,请检查当前 Runtime 状态"}}function hu(e,t){return new Promise((n,r)=>{const i=()=>r(t.reason);t.addEventListener("abort",i,{once:!0}),e.then(n,r).finally(()=>t.removeEventListener("abort",i)),t.aborted&&i()})}function gu(e){const t=Ee(()=>{const a=e.selectedDiagnosticTargetId||e.diagnosticTargetId;return a.startsWith("upload:")?e.diagnosticInstances.find(l=>l.uploadSessionId===a.slice(7))?.targetId??a:a}),n=Ee(()=>e.diagnosticTargets.find(a=>a.targetId===t.value)),r=Ee(()=>n.value?.currentInstanceId??""),i=Ee(()=>{const a=e.diagnosticTargets.map(d=>({value:d.targetId,label:(d.targetId===e.diagnosticTargetId?"当前预览":d.metadata.deviceModel||d.metadata.displayName)+(d.targetId===e.diagnosticTargetId?` · ${e.previewMode==="desktop"?"桌面":"手机"}`:"")+(d.stale||d.state!=="attached"?" · 离线":"")})),l=new Set(e.diagnosticInstances.map(d=>d.uploadSessionId).filter(Boolean)),u=e.uploadSessions.filter(d=>!l.has(d.id)).map(d=>({value:`upload:${d.id}`,label:d.name+(d.online?" · 日志连接":" · 离线")}));!a.some(d=>d.value===e.diagnosticTargetId)&&e.diagnosticTargetId&&a.unshift({value:e.diagnosticTargetId,label:"当前预览"});const c=[...a,...u];return t.value&&!c.some(d=>d.value===t.value)&&c.push({value:t.value,label:"所选设备 · 离线"}),c});function s(a){if(!t.value)return"";const l=n.value;return l?l.stale||l.state!=="attached"?"当前设备已离线":l.currentInstanceId?l.capabilities[a]?"":a==="storage"?"当前设备不支持存储诊断":"当前设备不支持沙箱浏览":"当前设备没有运行中的小程序":t.value===e.diagnosticTargetId?"":"当前连接仅支持日志上报,无法读取此类数据"}function o(a){const l=t.value;if(!l)return!0;if(l.startsWith("upload:"))return a.uploadSessionId===l.slice(7);const u=e.diagnosticInstances.find(d=>d.instanceId===a.instanceId||a.uploadSessionId&&d.uploadSessionId===a.uploadSessionId),c=a.targetId||u?.targetId;return c?c===l:!a.uploadSessionId&&l===e.diagnosticTargetId}return{selectedDiagnosticKey:t,selectedDiagnosticTarget:n,selectedDiagnosticInstanceId:r,diagnosticDeviceOptions:i,diagnosticResourceReason:s,matchesDiagnosticDevice:o}}const vd=48,Zt=16384,Le=Object.freeze({width:414,height:780,minWidth:320,minHeight:480,resizable:!0});function ws(e,t,n){return Math.min(Math.max(e,t),n)}function ba(e){return{width:e?.defaultWidth??Le.width,height:e?.defaultHeight??Le.height}}function hr(e,t){return{minWidth:e?.minWidth??Le.minWidth,minHeight:e?.minHeight??Le.minHeight,widthLimit:t?Math.min(t.width,Zt):Zt,heightLimit:t?Math.min(t.height,Zt):Zt}}function gr(e,t){return{...e.width===void 0?{}:{width:ws(e.width,t.minWidth,Math.max(t.minWidth,t.widthLimit))},...e.height===void 0?{}:{height:ws(e.height,t.minHeight,Math.max(t.minHeight,t.heightLimit))}}}function pu(e,t){const n=ba(t);return e.defaultsAtWrite.width!==n.width||e.defaultsAtWrite.height!==n.height}function mu(e){const t=Le,n=e.declared,r=hr(n),i=e.memory&&!pu(e.memory,n)?e.memory:void 0,s=gr({width:i?.width??n?.defaultWidth??t.width,height:i?.height??n?.defaultHeight??t.height},r);return{width:s.width??t.width,height:s.height??t.height,minWidth:r.minWidth,minHeight:r.minHeight,resizable:n?.resizable??t.resizable}}const yu=[{id:"app",label:"App"},{id:"sdk",label:"SDK"},{id:"network",label:"Network"},{id:"runtime",label:"Runtime"},{id:"host",label:"Host"}],wa=new Set(["bridge_response","bridge_started","src_resolved","location_probe"]),bu=new Set(["auth","cloud","companion","device","directory","file","files","navigation","share","storage","ui","user","viewport"]);function wu(e,t,n=Date.now(),r){const i=mn(t),s=pr(i),o=Number.isFinite(n)?n:Date.now(),a=ku(s?.outcome),l=Eu(e,s),u=Iu(l,s?.source),c=r??Su(e,a),d=Tu(i,s,e),p=ze(s?.callId),m=ze(s?.errorCode)??ze(s?.code),T=_a(s?.durationMs),I=va(s?.generation);return{method:e,detail:i,timestamp:o,level:c,source:u,category:l,summary:d,...a?{outcome:a}:{},...T===void 0?{}:{durationMs:T},...p?{callId:p}:{},...m?{errorCode:m}:{},...I===void 0?{}:{generation:I},...l==="console"&&(c==="log"||c==="info")?{dedupeKey:`${u}\0${c}\0${e}\0${d}`}:{}}}function _u(e,t){if(wa.has(e.type))return;const n=Au(e),r=mn({...e,generation:t}),i=pr(r),s=Pu(e),o=e.type==="error"?"error":e.type==="security_violation"?"denied":void 0,a=[i?.errorCode,i?.message,i?.reason,i?.launchUrlType].map(l=>ze(l)).filter(l=>!!l).join(" · ");return{method:n,detail:r,timestamp:e.timestamp,level:s,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${n}\0${a}`}:{}}}function Ed(e){if(e.source==="runtime"&&e.phase&&wa.has(e.phase))return;let t;if(e.source==="runtime"&&e.phase)try{const r=pr(JSON.parse(e.message));if(r?.type===e.phase&&typeof r.runtimeId=="string"&&typeof r.timestamp=="number"){const i=va(r.generation);t=_u(r,i??0),t&&i===void 0&&delete t.generation}}catch{}const n=t??wu(e.method||`console.${e.level}`,e,e.timestamp,e.level==="debug"?"log":e.level);return n.targetId=e.targetId,n.instanceId=e.instanceId,n.source=e.source,n.summary=t?.summary||e.message,n.detail=e,n.dedupeKey=void 0,n}function vu(e){return[e.source,e.category,e.level,e.method,e.summary,e.outcome,e.errorCode,e.callId,Wi(e.detail)].filter(Boolean).join(" ").toLocaleLowerCase()}function Wi(e){try{return JSON.stringify(e,null,2)??""}catch{return"[无法序列化]"}}function Eu(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"||bu.has(e.split(".")[0]??"")?"capability":"tooling"}function Iu(e,t){return e==="console"&&(t==="app"||t==="host")?t:e==="network"?"network":e==="capability"?"sdk":e==="lifecycle"||e==="security"?"runtime":"host"}function Su(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 Tu(e,t,n){const r=t?.message;if(typeof r=="string"&&r.trim())return r.trim();if(r!==void 0&&typeof r!="string")return _s(r);const i=pr(t?.network);if(i){const a=ze(i.method),l=ze(i.origin),u=ze(i.pathname),c=_a(i.responseStatus),d=Cu(l,u),p=[a,d,c===void 0?void 0:String(c)].filter(Boolean).join(" ");if(p)return p}const s=ze(t?.errorCode)??ze(t?.code);if(s)return s;if(!t)return _s(e);const o=ze(t.outcome);return o?`${n} · ${o}`:""}function Cu(e,t){return e?t?e.replace(/\/$/,"")+(t.startsWith("/")?t:"/"+t):e:t}function Au(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 Pu(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 ku(e){return e==="success"||e==="error"||e==="dropped"||e==="denied"?e:void 0}function ze(e){return typeof e=="string"&&e.trim()?e.trim():void 0}function _a(e){return typeof e=="number"&&Number.isFinite(e)?e:void 0}function va(e){return Number.isSafeInteger(e)?e:void 0}function _s(e){const t=Wi(e).replace(/\s+/g," ").trim();return t==="{}"||t==="[]"?"":t}function pr(e){return Object.prototype.toString.call(e)==="[object Object]"?e:void 0}function Du(){return{declaration:void 0,initialized:!1,width:Le.width,height:Le.height,minWidth:Le.minWidth,minHeight:Le.minHeight,resizable:Le.resizable,maximized:!1,minimized:!1,closed:!1,availableWidth:0,availableHeight:0}}function Ea(e){return au(e)?_n:dr(e).id}function Ia(e){return e===_n?"desktop":"mobile"}const Sa="hb-sdk:browser-dev-host:device",Ta="hb-sdk:browser-dev-host:diagnostics-width",Ca="hb-sdk:browser-dev-host:desktop-app",Aa="hb-sdk:browser-dev-host:desktop-window",Ru=new URL(location.href).searchParams.get("device"),kr=Ea(Ru??Bu()),B=tr({activeTab:"logs",uploadSessions:[],devicePresetId:dr(kr).id,deviceSelectOpen:!1,deviceSelectionId:kr,previewMode:Ia(kr),hostPlatform:"unknown",desktopWindow:Du(),logs:[],diagnosticTargetId:"",selectedDiagnosticTargetId:"",diagnosticOwnerId:"",diagnosticPrimaryTargetId:null,diagnosticOwnershipLost:!1,diagnosticTargetName:"",diagnosticInstances:[],diagnosticTargets:[],diagnosticsDropped:0,diagnosticsStale:!1,diagnosticsGap:!1,storage:[],storageError:"",queries:{logs:"",storage:"",sandbox:"",problems:"","game-bindings":""},followLogs:!0,pausedLogCount:0,problemClearWatermark:0,problemClearWatermarks:{},logFilters:{level:"all",source:"all"},diagnosticsWidth:Fu(),miniProgram:{bound:!1,id:"",iconUrl:"",name:"未绑定小程序",detail:"",description:"",version:""},miniProgramSupportsDesktop:!1,miniProgramPlatforms:[],account:{authenticated:!1,avatar:"",nickname:"未登录"},navigationBarStyle:"dark",display:{orientation:"portrait",capsuleHidden:!1},screenshotChromeHidden:!1,runtimeStatus:"idle",mediaSimulation:"normal",qrOpen:!1,qrMode:"local",mobileQr:{status:"idle",expiresAt:0},devReadiness:void 0,localPermissions:[],openPlatformBaseUrl:void 0,devContextWarning:"",desktopLaunch:{target:Hu(),address:void 0,workspaceCardsEnabled:!1,devSessionId:"",miniProgramId:"",miniProgramManifestToken:"",ready:!1,unavailableReason:"正在等待桌面调试配置"}});let Bt=0,jn;const Mu=Ee(()=>dr(B.devicePresetId)),Id=Ee(()=>cu(Mu.value,B.display.orientation,B.display.capsuleHidden)),Sd=Ee(()=>{const e=B.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=hr(e.declaration,{width:e.availableWidth,height:e.availableHeight}),n=gr({width:e.availableWidth,height:e.availableHeight},t);return{width:n.width??e.width,height:n.height??e.height}}),{selectedDiagnosticKey:Et,selectedDiagnosticTarget:Td,selectedDiagnosticInstanceId:Cd,diagnosticDeviceOptions:xu,diagnosticResourceReason:Ad,matchesDiagnosticDevice:mr}=gu(B);function Pd(e){e!==Et.value&&xu.value.some(t=>t.value===e)&&(B.selectedDiagnosticTargetId=e,B.storage=[],B.storageError="",B.pausedLogCount=0)}const kd=Ee(()=>{const e=B.queries.logs.trim().toLocaleLowerCase();return B.logs.filter(t=>mr(t)&&(B.logFilters.source==="all"||t.source===B.logFilters.source)&&(B.logFilters.level==="all"||t.level==="error"||B.logFilters.level==="warnings"&&t.level==="warn")&&(!e||vu(t).includes(e)))}),Dd=Ee(()=>(B.logFilters.source==="all"?0:1)+(B.logFilters.level==="all"?0:1)),Lu=Ee(()=>{const e=new Map;for(const t of B.logs){if(!mr(t)||t.id<=(B.problemClearWatermarks[Et.value]??B.problemClearWatermark)||!Nu(t))continue;const n=Ou(t),r=e.get(n);if(r){r.count+=t.repeatCount;continue}e.set(n,{...t,count:t.repeatCount})}return[...e.values()]}),Rd=Ee(()=>ka(B.storage,B.queries.storage,e=>`${e.key} ${e.area} ${e.serializedValue}`)),Md=Ee(()=>ka(Lu.value,B.queries.problems,e=>`${e.method} ${Wi(e.detail)}`));function xd(e){const t=Ea(e);B.deviceSelectionId=t,B.previewMode=Ia(t),B.devicePresetId=dr(t).id;try{localStorage.setItem(Sa,t)}catch{}}function Ld(e){const t=B.desktopWindow,n=hr(e);if(t.declaration=e,t.minWidth=n.minWidth,t.minHeight=n.minHeight,!t.initialized){const i=mu({declared:e,memory:Wu()});t.width=i.width,t.height=i.height,t.resizable=i.resizable,t.initialized=!0;return}t.resizable=e?.resizable??Le.resizable;const r=gr({width:t.width,height:t.height},n);r.width!==void 0&&(t.width=r.width),r.height!==void 0&&(t.height=r.height)}function Nd(e,t){B.desktopWindow.availableWidth=Es(e),B.desktopWindow.availableHeight=Es(t)}function Od(e,t,n={}){const r=B.desktopWindow;if(r.maximized)return;const i=gr({width:e,height:t},hr(r.declaration));i.width!==void 0&&(r.width=i.width),i.height!==void 0&&(r.height=i.height),n.persist&&Uu(r)}function Bd(e){B.desktopWindow.maximized=e===!0}function Fd(e){B.desktopWindow.minimized=e===!0}function Hd(e){B.desktopWindow.closed=e===!0}function Wd(e){B.hostPlatform=e}function Ud(e){B.navigationBarStyle=e}function Vd(e){B.display.orientation=e.orientation,B.display.capsuleHidden=e.capsuleHidden}function jd(e){B.desktopLaunch.target=e;try{localStorage.setItem(Ca,e)}catch{}}function $d(e){B.desktopLaunch.address=e.address,B.desktopLaunch.workspaceCardsEnabled=e.workspaceCardsEnabled===!0,B.desktopLaunch.devSessionId=e.devSessionId??"",B.desktopLaunch.miniProgramId=e.miniProgramId??"",B.desktopLaunch.miniProgramManifestToken=e.miniProgramManifestToken??"",B.desktopLaunch.ready=e.ready,B.desktopLaunch.unavailableReason=e.unavailableReason??""}const vs=500;function Kd(e,t){if(!Number.isSafeInteger(t)||t<1)throw new Error("服务端日志游标无效");B.logs.some(n=>n.id===t)||Pa(e,t)}function zd(){B.logs=[],B.problemClearWatermark=0,B.problemClearWatermarks={},B.pausedLogCount=0,B.diagnosticsGap=!1,B.diagnosticsDropped=0,Bt=0,jn=void 0}function qd(e){Pa(e,Bt+1)}function Pa(e,t){Bt=Math.max(Bt,t);const n=B.logs.at(-1),{dedupeKey:r,...i}=e;r&&n&&n.targetId===e.targetId&&n.instanceId===e.instanceId&&n.uploadSessionId===e.uploadSessionId&&jn===r?Object.assign(n,i,{id:t,repeatCount:n.repeatCount+1}):(B.logs.push({...i,id:t,firstTimestamp:i.timestamp,repeatCount:1}),jn=r),!B.followLogs&&mr(B.logs.at(-1))&&(B.pausedLogCount+=1),B.logs.length>vs&&B.logs.splice(0,B.logs.length-vs)}function Jd(){B.logs=B.logs.filter(e=>!mr(e)),B.pausedLogCount=0,jn=void 0}function Gd(){Et.value?B.problemClearWatermarks[Et.value]=Bt:(B.problemClearWatermark=Bt,B.problemClearWatermarks={})}function Yd(e){B.followLogs=e,e&&(B.pausedLogCount=0)}function Qd(e){(e==="all"||e==="warnings"||e==="errors")&&(B.logFilters.level=e)}function Xd(e){(e==="all"||yu.some(t=>t.id===e))&&(B.logFilters.source=e)}function Zd(){B.logFilters.level="all",B.logFilters.source="all"}function eh(e){const t=Math.min(560,Math.max(320,Math.round(e)));B.diagnosticsWidth=t;try{localStorage.setItem(Ta,String(t))}catch{}}function Nu(e){return/error|failed|security|violation|blocked/i.test(e.method)?!0:e.outcome==="error"||e.outcome==="denied"}function Ou(e){const t=$n(e.detail)?e.detail:void 0,n=$n(t?.network)?t.network:void 0,r=[n?.method,n?.origin,n?.pathname,t?.origin,t?.sanitizedPathname].find(i=>typeof i=="string");return`${e.method}\0${e.errorCode??""}\0${r??""}`}function $n(e){return Object.prototype.toString.call(e)==="[object Object]"}function Bu(){try{return localStorage.getItem(Sa)}catch{return null}}function Fu(){try{const e=Number(localStorage.getItem(Ta));return Number.isFinite(e)&&e>0?Math.min(560,Math.max(320,e)):400}catch{return 400}}function Hu(){try{return localStorage.getItem(Ca)==="debug"?"debug":"production"}catch{return"production"}}function Es(e){return Number.isFinite(e)?Math.max(0,Math.round(e)):0}function Cn(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>0&&e<=Zt?e:void 0}function Wu(){let e;try{e=localStorage.getItem(Aa)}catch{return}if(!e)return;let t;try{t=JSON.parse(e)}catch{return}if(!$n(t))return;const n=Cn(t.width),r=Cn(t.height),i=$n(t.defaultsAtWrite)?t.defaultsAtWrite:void 0,s=i?Cn(i.width):void 0,o=i?Cn(i.height):void 0;if(!(n===void 0||r===void 0||s===void 0||o===void 0))return{width:n,height:r,defaultsAtWrite:{width:s,height:o},updatedAt:typeof t.updatedAt=="number"&&Number.isFinite(t.updatedAt)?t.updatedAt:0}}function Uu(e){const t={width:e.width,height:e.height,defaultsAtWrite:ba(e.declaration),updatedAt:Date.now()};try{localStorage.setItem(Aa,JSON.stringify(t))}catch{}}function ka(e,t,n){const r=t.trim().toLocaleLowerCase();return r?e.filter(i=>n(i).toLocaleLowerCase().includes(r)):e}function Vu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var At={},Dr,Is;function ju(){return Is||(Is=1,Dr=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Dr}var Rr={},ct={},Ss;function It(){if(Ss)return ct;Ss=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return ct.getSymbolSize=function(r){if(!r)throw new Error('"version" cannot be null or undefined');if(r<1||r>40)throw new Error('"version" should be in range from 1 to 40');return r*4+17},ct.getSymbolTotalCodewords=function(r){return t[r]},ct.getBCHDigit=function(n){let r=0;for(;n!==0;)r++,n>>>=1;return r},ct.setToSJISFunction=function(r){if(typeof r!="function")throw new Error('"toSJISFunc" is not a valid function.');e=r},ct.isKanjiModeEnabled=function(){return typeof e<"u"},ct.toSJIS=function(r){return e(r)},ct}var Mr={},Ts;function Ui(){return Ts||(Ts=1,(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,i){if(e.isValid(r))return r;try{return t(r)}catch{return i}}})(Mr)),Mr}var xr,Cs;function $u(){if(Cs)return xr;Cs=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let r=0;r<n;r++)this.putBit((t>>>n-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},xr=e,xr}var Lr,As;function Ku(){if(As)return Lr;As=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,r,i){const s=t*this.size+n;this.data[s]=r,i&&(this.reservedBit[s]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,r){this.data[t*this.size+n]^=r},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},Lr=e,Lr}var Nr={},Ps;function zu(){return Ps||(Ps=1,(function(e){const t=It().getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const i=Math.floor(r/7)+2,s=t(r),o=s===145?26:Math.ceil((s-13)/(2*i-2))*2,a=[s-7];for(let l=1;l<i-1;l++)a[l]=a[l-1]-o;return a.push(6),a.reverse()},e.getPositions=function(r){const i=[],s=e.getRowColCoords(r),o=s.length;for(let a=0;a<o;a++)for(let l=0;l<o;l++)a===0&&l===0||a===0&&l===o-1||a===o-1&&l===0||i.push([s[a],s[l]]);return i}})(Nr)),Nr}var Or={},ks;function qu(){if(ks)return Or;ks=1;const e=It().getSymbolSize,t=7;return Or.getPositions=function(r){const i=e(r);return[[0,0],[i-t,0],[0,i-t]]},Or}var Br={},Ds;function Ju(){return Ds||(Ds=1,(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(i){return i!=null&&i!==""&&!isNaN(i)&&i>=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const s=i.size;let o=0,a=0,l=0,u=null,c=null;for(let d=0;d<s;d++){a=l=0,u=c=null;for(let p=0;p<s;p++){let m=i.get(d,p);m===u?a++:(a>=5&&(o+=t.N1+(a-5)),u=m,a=1),m=i.get(p,d),m===c?l++:(l>=5&&(o+=t.N1+(l-5)),c=m,l=1)}a>=5&&(o+=t.N1+(a-5)),l>=5&&(o+=t.N1+(l-5))}return o},e.getPenaltyN2=function(i){const s=i.size;let o=0;for(let a=0;a<s-1;a++)for(let l=0;l<s-1;l++){const u=i.get(a,l)+i.get(a,l+1)+i.get(a+1,l)+i.get(a+1,l+1);(u===4||u===0)&&o++}return o*t.N2},e.getPenaltyN3=function(i){const s=i.size;let o=0,a=0,l=0;for(let u=0;u<s;u++){a=l=0;for(let c=0;c<s;c++)a=a<<1&2047|i.get(u,c),c>=10&&(a===1488||a===93)&&o++,l=l<<1&2047|i.get(c,u),c>=10&&(l===1488||l===93)&&o++}return o*t.N3},e.getPenaltyN4=function(i){let s=0;const o=i.data.length;for(let l=0;l<o;l++)s+=i.data[l];return Math.abs(Math.ceil(s*100/o/5)-10)*t.N4};function n(r,i,s){switch(r){case e.Patterns.PATTERN000:return(i+s)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return s%3===0;case e.Patterns.PATTERN011:return(i+s)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(s/3))%2===0;case e.Patterns.PATTERN101:return i*s%2+i*s%3===0;case e.Patterns.PATTERN110:return(i*s%2+i*s%3)%2===0;case e.Patterns.PATTERN111:return(i*s%3+(i+s)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}e.applyMask=function(i,s){const o=s.size;for(let a=0;a<o;a++)for(let l=0;l<o;l++)s.isReserved(l,a)||s.xor(l,a,n(i,l,a))},e.getBestMask=function(i,s){const o=Object.keys(e.Patterns).length;let a=0,l=1/0;for(let u=0;u<o;u++){s(u),e.applyMask(u,i);const c=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(u,i),c<l&&(l=c,a=u)}return a}})(Br)),Br}var An={},Rs;function Da(){if(Rs)return An;Rs=1;const e=Ui(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return An.getBlocksCount=function(i,s){switch(s){case e.L:return t[(i-1)*4+0];case e.M:return t[(i-1)*4+1];case e.Q:return t[(i-1)*4+2];case e.H:return t[(i-1)*4+3];default:return}},An.getTotalCodewordsCount=function(i,s){switch(s){case e.L:return n[(i-1)*4+0];case e.M:return n[(i-1)*4+1];case e.Q:return n[(i-1)*4+2];case e.H:return n[(i-1)*4+3];default:return}},An}var Fr={},Jt={},Ms;function Gu(){if(Ms)return Jt;Ms=1;const e=new Uint8Array(512),t=new Uint8Array(256);return(function(){let r=1;for(let i=0;i<255;i++)e[i]=r,t[r]=i,r<<=1,r&256&&(r^=285);for(let i=255;i<512;i++)e[i]=e[i-255]})(),Jt.log=function(r){if(r<1)throw new Error("log("+r+")");return t[r]},Jt.exp=function(r){return e[r]},Jt.mul=function(r,i){return r===0||i===0?0:e[t[r]+t[i]]},Jt}var xs;function Yu(){return xs||(xs=1,(function(e){const t=Gu();e.mul=function(r,i){const s=new Uint8Array(r.length+i.length-1);for(let o=0;o<r.length;o++)for(let a=0;a<i.length;a++)s[o+a]^=t.mul(r[o],i[a]);return s},e.mod=function(r,i){let s=new Uint8Array(r);for(;s.length-i.length>=0;){const o=s[0];for(let l=0;l<i.length;l++)s[l]^=t.mul(i[l],o);let a=0;for(;a<s.length&&s[a]===0;)a++;s=s.slice(a)}return s},e.generateECPolynomial=function(r){let i=new Uint8Array([1]);for(let s=0;s<r;s++)i=e.mul(i,new Uint8Array([1,t.exp(s)]));return i}})(Fr)),Fr}var Hr,Ls;function Qu(){if(Ls)return Hr;Ls=1;const e=Yu();function t(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(r){this.degree=r,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(r){if(!this.genPoly)throw new Error("Encoder not initialized");const i=new Uint8Array(r.length+this.degree);i.set(r);const s=e.mod(i,this.genPoly),o=this.degree-s.length;if(o>0){const a=new Uint8Array(this.degree);return a.set(s,o),a}return s},Hr=t,Hr}var Wr={},Ur={},Vr={},Ns;function Ra(){return Ns||(Ns=1,Vr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),Vr}var Ue={},Os;function Ma(){if(Os)return Ue;Os=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const r="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
7
+ ]))+`;Ue.KANJI=new RegExp(n,"g"),Ue.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Ue.BYTE=new RegExp(r,"g"),Ue.NUMERIC=new RegExp(e,"g"),Ue.ALPHANUMERIC=new RegExp(t,"g");const i=new RegExp("^"+n+"$"),s=new RegExp("^"+e+"$"),o=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Ue.testKanji=function(l){return i.test(l)},Ue.testNumeric=function(l){return s.test(l)},Ue.testAlphanumeric=function(l){return o.test(l)},Ue}var Bs;function St(){return Bs||(Bs=1,(function(e){const t=Ra(),n=Ma();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(s,o){if(!s.ccBits)throw new Error("Invalid mode: "+s);if(!t.isValid(o))throw new Error("Invalid version: "+o);return o>=1&&o<10?s.ccBits[0]:o<27?s.ccBits[1]:s.ccBits[2]},e.getBestModeForData=function(s){return n.testNumeric(s)?e.NUMERIC:n.testAlphanumeric(s)?e.ALPHANUMERIC:n.testKanji(s)?e.KANJI:e.BYTE},e.toString=function(s){if(s&&s.id)return s.id;throw new Error("Invalid mode")},e.isValid=function(s){return s&&s.bit&&s.ccBits};function r(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+i)}}e.from=function(s,o){if(e.isValid(s))return s;try{return r(s)}catch{return o}}})(Ur)),Ur}var Fs;function Xu(){return Fs||(Fs=1,(function(e){const t=It(),n=Da(),r=Ui(),i=St(),s=Ra(),o=7973,a=t.getBCHDigit(o);function l(p,m,T){for(let I=1;I<=40;I++)if(m<=e.getCapacity(I,T,p))return I}function u(p,m){return i.getCharCountIndicator(p,m)+4}function c(p,m){let T=0;return p.forEach(function(I){const N=u(I.mode,m);T+=N+I.getBitsLength()}),T}function d(p,m){for(let T=1;T<=40;T++)if(c(p,T)<=e.getCapacity(T,m,i.MIXED))return T}e.from=function(m,T){return s.isValid(m)?parseInt(m,10):T},e.getCapacity=function(m,T,I){if(!s.isValid(m))throw new Error("Invalid QR Code version");typeof I>"u"&&(I=i.BYTE);const N=t.getSymbolTotalCodewords(m),x=n.getTotalCodewordsCount(m,T),w=(N-x)*8;if(I===i.MIXED)return w;const S=w-u(I,m);switch(I){case i.NUMERIC:return Math.floor(S/10*3);case i.ALPHANUMERIC:return Math.floor(S/11*2);case i.KANJI:return Math.floor(S/13);case i.BYTE:default:return Math.floor(S/8)}},e.getBestVersionForData=function(m,T){let I;const N=r.from(T,r.M);if(Array.isArray(m)){if(m.length>1)return d(m,N);if(m.length===0)return 1;I=m[0]}else I=m;return l(I.mode,I.getLength(),N)},e.getEncodedBits=function(m){if(!s.isValid(m)||m<7)throw new Error("Invalid QR Code version");let T=m<<12;for(;t.getBCHDigit(T)-a>=0;)T^=o<<t.getBCHDigit(T)-a;return m<<12|T}})(Wr)),Wr}var jr={},Hs;function Zu(){if(Hs)return jr;Hs=1;const e=It(),t=1335,n=21522,r=e.getBCHDigit(t);return jr.getEncodedBits=function(s,o){const a=s.bit<<3|o;let l=a<<10;for(;e.getBCHDigit(l)-r>=0;)l^=t<<e.getBCHDigit(l)-r;return(a<<10|l)^n},jr}var $r={},Kr,Ws;function ef(){if(Ws)return Kr;Ws=1;const e=St();function t(n){this.mode=e.NUMERIC,this.data=n.toString()}return t.getBitsLength=function(r){return 10*Math.floor(r/3)+(r%3?r%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(r){let i,s,o;for(i=0;i+3<=this.data.length;i+=3)s=this.data.substr(i,3),o=parseInt(s,10),r.put(o,10);const a=this.data.length-i;a>0&&(s=this.data.substr(i),o=parseInt(s,10),r.put(o,a*3+1))},Kr=t,Kr}var zr,Us;function tf(){if(Us)return zr;Us=1;const e=St(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(r){this.mode=e.ALPHANUMERIC,this.data=r}return n.getBitsLength=function(i){return 11*Math.floor(i/2)+6*(i%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(i){let s;for(s=0;s+2<=this.data.length;s+=2){let o=t.indexOf(this.data[s])*45;o+=t.indexOf(this.data[s+1]),i.put(o,11)}this.data.length%2&&i.put(t.indexOf(this.data[s]),6)},zr=n,zr}var qr,Vs;function nf(){if(Vs)return qr;Vs=1;const e=St();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(r){return r*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let r=0,i=this.data.length;r<i;r++)n.put(this.data[r],8)},qr=t,qr}var Jr,js;function rf(){if(js)return Jr;js=1;const e=St(),t=It();function n(r){this.mode=e.KANJI,this.data=r}return n.getBitsLength=function(i){return i*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let i;for(i=0;i<this.data.length;i++){let s=t.toSJIS(this.data[i]);if(s>=33088&&s<=40956)s-=33088;else if(s>=57408&&s<=60351)s-=49472;else throw new Error("Invalid SJIS character: "+this.data[i]+`
8
+ Make sure your charset is UTF-8`);s=(s>>>8&255)*192+(s&255),r.put(s,13)}},Jr=n,Jr}var Gr={exports:{}},$s;function sf(){return $s||($s=1,(function(e){var t={single_source_shortest_paths:function(n,r,i){var s={},o={};o[r]=0;var a=t.PriorityQueue.make();a.push(r,0);for(var l,u,c,d,p,m,T,I,N;!a.empty();){l=a.pop(),u=l.value,d=l.cost,p=n[u]||{};for(c in p)p.hasOwnProperty(c)&&(m=p[c],T=d+m,I=o[c],N=typeof o[c]>"u",(N||I>T)&&(o[c]=T,a.push(c,T),s[c]=u))}if(typeof i<"u"&&typeof o[i]>"u"){var x=["Could not find a path from ",r," to ",i,"."].join("");throw new Error(x)}return s},extract_shortest_path_from_predecessor_list:function(n,r){for(var i=[],s=r;s;)i.push(s),n[s],s=n[s];return i.reverse(),i},find_path:function(n,r,i){var s=t.single_source_shortest_paths(n,r,i);return t.extract_shortest_path_from_predecessor_list(s,i)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,i={},s;n=n||{};for(s in r)r.hasOwnProperty(s)&&(i[s]=r[s]);return i.queue=[],i.sorter=n.sorter||r.default_sorter,i},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var i={value:n,cost:r};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Gr)),Gr.exports}var Ks;function of(){return Ks||(Ks=1,(function(e){const t=St(),n=ef(),r=tf(),i=nf(),s=rf(),o=Ma(),a=It(),l=sf();function u(x){return unescape(encodeURIComponent(x)).length}function c(x,w,S){const y=[];let U;for(;(U=x.exec(S))!==null;)y.push({data:U[0],index:U.index,mode:w,length:U[0].length});return y}function d(x){const w=c(o.NUMERIC,t.NUMERIC,x),S=c(o.ALPHANUMERIC,t.ALPHANUMERIC,x);let y,U;return a.isKanjiModeEnabled()?(y=c(o.BYTE,t.BYTE,x),U=c(o.KANJI,t.KANJI,x)):(y=c(o.BYTE_KANJI,t.BYTE,x),U=[]),w.concat(S,y,U).sort(function(A,b){return A.index-b.index}).map(function(A){return{data:A.data,mode:A.mode,length:A.length}})}function p(x,w){switch(w){case t.NUMERIC:return n.getBitsLength(x);case t.ALPHANUMERIC:return r.getBitsLength(x);case t.KANJI:return s.getBitsLength(x);case t.BYTE:return i.getBitsLength(x)}}function m(x){return x.reduce(function(w,S){const y=w.length-1>=0?w[w.length-1]:null;return y&&y.mode===S.mode?(w[w.length-1].data+=S.data,w):(w.push(S),w)},[])}function T(x){const w=[];for(let S=0;S<x.length;S++){const y=x[S];switch(y.mode){case t.NUMERIC:w.push([y,{data:y.data,mode:t.ALPHANUMERIC,length:y.length},{data:y.data,mode:t.BYTE,length:y.length}]);break;case t.ALPHANUMERIC:w.push([y,{data:y.data,mode:t.BYTE,length:y.length}]);break;case t.KANJI:w.push([y,{data:y.data,mode:t.BYTE,length:u(y.data)}]);break;case t.BYTE:w.push([{data:y.data,mode:t.BYTE,length:u(y.data)}])}}return w}function I(x,w){const S={},y={start:{}};let U=["start"];for(let R=0;R<x.length;R++){const A=x[R],b=[];for(let g=0;g<A.length;g++){const _=A[g],E=""+R+g;b.push(E),S[E]={node:_,lastCount:0},y[E]={};for(let M=0;M<U.length;M++){const W=U[M];S[W]&&S[W].node.mode===_.mode?(y[W][E]=p(S[W].lastCount+_.length,_.mode)-p(S[W].lastCount,_.mode),S[W].lastCount+=_.length):(S[W]&&(S[W].lastCount=_.length),y[W][E]=p(_.length,_.mode)+4+t.getCharCountIndicator(_.mode,w))}}U=b}for(let R=0;R<U.length;R++)y[U[R]].end=0;return{map:y,table:S}}function N(x,w){let S;const y=t.getBestModeForData(x);if(S=t.from(w,y),S!==t.BYTE&&S.bit<y.bit)throw new Error('"'+x+'" cannot be encoded with mode '+t.toString(S)+`.
9
+ Suggested mode is: `+t.toString(y));switch(S===t.KANJI&&!a.isKanjiModeEnabled()&&(S=t.BYTE),S){case t.NUMERIC:return new n(x);case t.ALPHANUMERIC:return new r(x);case t.KANJI:return new s(x);case t.BYTE:return new i(x)}}e.fromArray=function(w){return w.reduce(function(S,y){return typeof y=="string"?S.push(N(y,null)):y.data&&S.push(N(y.data,y.mode)),S},[])},e.fromString=function(w,S){const y=d(w,a.isKanjiModeEnabled()),U=T(y),R=I(U,S),A=l.find_path(R.map,"start","end"),b=[];for(let g=1;g<A.length-1;g++)b.push(R.table[A[g]].node);return e.fromArray(m(b))},e.rawSplit=function(w){return e.fromArray(d(w,a.isKanjiModeEnabled()))}})($r)),$r}var zs;function af(){if(zs)return Rr;zs=1;const e=It(),t=Ui(),n=$u(),r=Ku(),i=zu(),s=qu(),o=Ju(),a=Da(),l=Qu(),u=Xu(),c=Zu(),d=St(),p=of();function m(R,A){const b=R.size,g=s.getPositions(A);for(let _=0;_<g.length;_++){const E=g[_][0],M=g[_][1];for(let W=-1;W<=7;W++)if(!(E+W<=-1||b<=E+W))for(let V=-1;V<=7;V++)M+V<=-1||b<=M+V||(W>=0&&W<=6&&(V===0||V===6)||V>=0&&V<=6&&(W===0||W===6)||W>=2&&W<=4&&V>=2&&V<=4?R.set(E+W,M+V,!0,!0):R.set(E+W,M+V,!1,!0))}}function T(R){const A=R.size;for(let b=8;b<A-8;b++){const g=b%2===0;R.set(b,6,g,!0),R.set(6,b,g,!0)}}function I(R,A){const b=i.getPositions(A);for(let g=0;g<b.length;g++){const _=b[g][0],E=b[g][1];for(let M=-2;M<=2;M++)for(let W=-2;W<=2;W++)M===-2||M===2||W===-2||W===2||M===0&&W===0?R.set(_+M,E+W,!0,!0):R.set(_+M,E+W,!1,!0)}}function N(R,A){const b=R.size,g=u.getEncodedBits(A);let _,E,M;for(let W=0;W<18;W++)_=Math.floor(W/3),E=W%3+b-8-3,M=(g>>W&1)===1,R.set(_,E,M,!0),R.set(E,_,M,!0)}function x(R,A,b){const g=R.size,_=c.getEncodedBits(A,b);let E,M;for(E=0;E<15;E++)M=(_>>E&1)===1,E<6?R.set(E,8,M,!0):E<8?R.set(E+1,8,M,!0):R.set(g-15+E,8,M,!0),E<8?R.set(8,g-E-1,M,!0):E<9?R.set(8,15-E-1+1,M,!0):R.set(8,15-E-1,M,!0);R.set(g-8,8,1,!0)}function w(R,A){const b=R.size;let g=-1,_=b-1,E=7,M=0;for(let W=b-1;W>0;W-=2)for(W===6&&W--;;){for(let V=0;V<2;V++)if(!R.isReserved(_,W-V)){let be=!1;M<A.length&&(be=(A[M]>>>E&1)===1),R.set(_,W-V,be),E--,E===-1&&(M++,E=7)}if(_+=g,_<0||b<=_){_-=g,g=-g;break}}}function S(R,A,b){const g=new n;b.forEach(function(V){g.put(V.mode.bit,4),g.put(V.getLength(),d.getCharCountIndicator(V.mode,R)),V.write(g)});const _=e.getSymbolTotalCodewords(R),E=a.getTotalCodewordsCount(R,A),M=(_-E)*8;for(g.getLengthInBits()+4<=M&&g.put(0,4);g.getLengthInBits()%8!==0;)g.putBit(0);const W=(M-g.getLengthInBits())/8;for(let V=0;V<W;V++)g.put(V%2?17:236,8);return y(g,R,A)}function y(R,A,b){const g=e.getSymbolTotalCodewords(A),_=a.getTotalCodewordsCount(A,b),E=g-_,M=a.getBlocksCount(A,b),W=g%M,V=M-W,be=Math.floor(g/M),te=Math.floor(E/M),J=te+1,ee=be-te,Ge=new l(ee);let at=0;const De=new Array(M),Te=new Array(M);let Tt=0;const yr=new Uint8Array(R.buffer);for(let Ye=0;Ye<M;Ye++){const Qe=Ye<V?te:J;De[Ye]=yr.slice(at,at+Qe),Te[Ye]=Ge.encode(De[Ye]),at+=Qe,Tt=Math.max(Tt,Qe)}const Vt=new Uint8Array(g);let lt=0,Ie,Ce;for(Ie=0;Ie<Tt;Ie++)for(Ce=0;Ce<M;Ce++)Ie<De[Ce].length&&(Vt[lt++]=De[Ce][Ie]);for(Ie=0;Ie<ee;Ie++)for(Ce=0;Ce<M;Ce++)Vt[lt++]=Te[Ce][Ie];return Vt}function U(R,A,b,g){let _;if(Array.isArray(R))_=p.fromArray(R);else if(typeof R=="string"){let be=A;if(!be){const te=p.rawSplit(R);be=u.getBestVersionForData(te,b)}_=p.fromString(R,be||40)}else throw new Error("Invalid data");const E=u.getBestVersionForData(_,b);if(!E)throw new Error("The amount of data is too big to be stored in a QR Code");if(!A)A=E;else if(A<E)throw new Error(`
10
+ The chosen QR Code version cannot contain this amount of data.
11
+ Minimum version required to store current data is: `+E+`.
12
+ `);const M=S(A,b,_),W=e.getSymbolSize(A),V=new r(W);return m(V,A),T(V),I(V,A),x(V,b,0),A>=7&&N(V,A),w(V,M),isNaN(g)&&(g=o.getBestMask(V,x.bind(null,V,b))),o.applyMask(g,V),x(V,b,g),{modules:V,version:A,errorCorrectionLevel:b,maskPattern:g,segments:_}}return Rr.create=function(A,b){if(typeof A>"u"||A==="")throw new Error("No input text");let g=t.M,_,E;return typeof b<"u"&&(g=t.from(b.errorCorrectionLevel,t.M),_=u.from(b.version),E=o.from(b.maskPattern),b.toSJISFunc&&e.setToSJISFunction(b.toSJISFunc)),U(A,_,g,E)},Rr}var Yr={},Qr={},qs;function xa(){return qs||(qs=1,(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(s){return[s,s]}))),r.length===6&&r.push("F","F");const i=parseInt(r.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const i=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,s=r.width&&r.width>=21?r.width:void 0,o=r.scale||4;return{width:s,scale:s?4:o,margin:i,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,i){return i.width&&i.width>=r+i.margin*2?i.width/(r+i.margin*2):i.scale},e.getImageWidth=function(r,i){const s=e.getScale(r,i);return Math.floor((r+i.margin*2)*s)},e.qrToImageData=function(r,i,s){const o=i.modules.size,a=i.modules.data,l=e.getScale(o,s),u=Math.floor((o+s.margin*2)*l),c=s.margin*l,d=[s.color.light,s.color.dark];for(let p=0;p<u;p++)for(let m=0;m<u;m++){let T=(p*u+m)*4,I=s.color.light;if(p>=c&&m>=c&&p<u-c&&m<u-c){const N=Math.floor((p-c)/l),x=Math.floor((m-c)/l);I=d[a[N*o+x]?1:0]}r[T++]=I.r,r[T++]=I.g,r[T++]=I.b,r[T]=I.a}}})(Qr)),Qr}var Js;function lf(){return Js||(Js=1,(function(e){const t=xa();function n(i,s,o){i.clearRect(0,0,s.width,s.height),s.style||(s.style={}),s.height=o,s.width=o,s.style.height=o+"px",s.style.width=o+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(s,o,a){let l=a,u=o;typeof l>"u"&&(!o||!o.getContext)&&(l=o,o=void 0),o||(u=r()),l=t.getOptions(l);const c=t.getImageWidth(s.modules.size,l),d=u.getContext("2d"),p=d.createImageData(c,c);return t.qrToImageData(p.data,s,l),n(d,u,c),d.putImageData(p,0,0),u},e.renderToDataURL=function(s,o,a){let l=a;typeof l>"u"&&(!o||!o.getContext)&&(l=o,o=void 0),l||(l={});const u=e.render(s,o,l),c=l.type||"image/png",d=l.rendererOpts||{};return u.toDataURL(c,d.quality)}})(Yr)),Yr}var Xr={},Gs;function cf(){if(Gs)return Xr;Gs=1;const e=xa();function t(i,s){const o=i.a/255,a=s+'="'+i.hex+'"';return o<1?a+" "+s+'-opacity="'+o.toFixed(2).slice(1)+'"':a}function n(i,s,o){let a=i+s;return typeof o<"u"&&(a+=" "+o),a}function r(i,s,o){let a="",l=0,u=!1,c=0;for(let d=0;d<i.length;d++){const p=Math.floor(d%s),m=Math.floor(d/s);!p&&!u&&(u=!0),i[d]?(c++,d>0&&p>0&&i[d-1]||(a+=u?n("M",p+o,.5+m+o):n("m",l,0),l=0,u=!1),p+1<s&&i[d+1]||(a+=n("h",c),c=0)):l++}return a}return Xr.render=function(s,o,a){const l=e.getOptions(o),u=s.modules.size,c=s.modules.data,d=u+l.margin*2,p=l.color.light.a?"<path "+t(l.color.light,"fill")+' d="M0 0h'+d+"v"+d+'H0z"/>':"",m="<path "+t(l.color.dark,"stroke")+' d="'+r(c,u,l.margin)+'"/>',T='viewBox="0 0 '+d+" "+d+'"',N='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+T+' shape-rendering="crispEdges">'+p+m+`</svg>
13
+ `;return typeof a=="function"&&a(null,N),N},Xr}var Ys;function uf(){if(Ys)return At;Ys=1;const e=ju(),t=af(),n=lf(),r=cf();function i(s,o,a,l,u){const c=[].slice.call(arguments,1),d=c.length,p=typeof c[d-1]=="function";if(!p&&!e())throw new Error("Callback required as last argument");if(p){if(d<2)throw new Error("Too few arguments provided");d===2?(u=a,a=o,o=l=void 0):d===3&&(o.getContext&&typeof u>"u"?(u=l,l=void 0):(u=l,l=a,a=o,o=void 0))}else{if(d<1)throw new Error("Too few arguments provided");return d===1?(a=o,o=l=void 0):d===2&&!o.getContext&&(l=a,a=o,o=void 0),new Promise(function(m,T){try{const I=t.create(a,l);m(s(I,o,l))}catch(I){T(I)}})}try{const m=t.create(a,l);u(null,s(m,o,l))}catch(m){u(m)}}return At.create=t.create,At.toCanvas=i.bind(null,n.render),At.toDataURL=i.bind(null,n.renderToDataURL),At.toString=i.bind(null,function(s,o,a){return r.render(s,a)}),At}var ff=uf();const th=Vu(ff),Vi=ir(),La=Io({});function nh(e){Object.assign(La,e)}function rh(e){Vi.value=e}const Mn=ir(),Kn=ir();let df=0;function cn(){const e=Vi.value;return JSON.stringify([Et.value,e?.targetId,e?.instanceId])}const hf=Ee(()=>Mn.value?.scope===cn()),ih=Ee(()=>Kn.value?.scope===cn()?Kn.value.message:"");async function sh(e){const t=Vi.value,n=B.diagnosticTargetId;if(Et.value&&Et.value!==n||t?.targetId&&t.targetId!==n||e!=="refresh"&&(t?.permissionStateReady!==!0||t.declaredSource!=="manifest"||t.stateError))return!1;const r=La[e];if(!r||hf.value)return!1;const i=cn(),s=++df;Mn.value={scope:i,sequence:s},Kn.value=void 0;try{return await r(),i===cn()}catch(o){return i===cn()&&(Kn.value={scope:i,message:o instanceof Error?o.message:"授权操作失败,请重试"}),!1}finally{Mn.value?.sequence===s&&(Mn.value=void 0)}}const oh=ir();function ah(e){const t=e.split(/[\\/]/).at(-1)?.replace(/[<>:"|?*\u0000-\u001f\u007f]/g,"_").replace(/[. ]+$/,"")||"game-save",n=Array.from(t).slice(0,180).join("").replace(/[. ]+$/,"")||"game-save";return`${/^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/i.test(n)?"_":""}${n}${/\.zip$/i.test(n)?"":".zip"}`}const gf={storage:{failed:"Storage 诊断查询失败",stale:"当前设备的存储快照已失效,请重试"},sandbox:{failed:"目录查询失败",stale:"当前设备的沙箱快照已失效,请重试"}};async function lh(e,t){const n=new Headers({"content-type":"application/json"});t.csrfToken&&n.set("x-hb-sdk-csrf",t.csrfToken);const r=await fetch(Yc,{method:"POST",headers:n,body:JSON.stringify(e),signal:AbortSignal.any([t.signal,AbortSignal.timeout(12e3)]),cache:"no-store",credentials:"same-origin",redirect:"error"}),i=gf[e.resource];if(!r.ok){const o=await r.json().catch(()=>{});throw new Error(typeof o?.error=="string"?o.error:`${i.failed}(HTTP ${r.status})`)}const s=await r.json();if(s.stale||s.instanceId&&s.instanceId!==e.instanceId)throw new Error(i.stale);return s}const pf=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/,mf="ai-desktop.heybox-user-miniprogram",yf="open",bf=2048,wf="hb_sdk_manifest_token",_f=/^[A-Za-z0-9_-]{43}$/,vf=/^[a-f0-9]{32}$/;function ch(e){const t=Ef(e.miniProgramId);if(e.devSessionId!==void 0&&!vf.test(e.devSessionId))throw new TypeError("Desktop dev session id is invalid");const n=Na(e.address.appUrl),r=e.miniProgramManifestToken?.trim();if(r&&!_f.test(r))throw new TypeError("Desktop mini-program manifest token is invalid");const i=e.target==="debug"?"heybox-debug":"heybox",s=new URL(`${i}://v1/extensions/${mf}/${yf}`);return s.searchParams.set("mini_program_id",t),s.searchParams.set("mini_url",n),e.devSessionId!==void 0&&s.searchParams.set("dev_session_id",e.devSessionId),r&&s.searchParams.set(wf,r),s.href}function uh(e){return{address:"127.0.0.1",appUrl:Na(e),id:"loopback",name:"本机"}}function Na(e){if(typeof e!="string"||e!==e.trim()||new TextEncoder().encode(e).byteLength>bf)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 Ef(e){const t=e.trim().toLowerCase();if(!pf.test(t))throw new TypeError("Desktop mini-program id is invalid");return t}export{oh as $,wd as A,Wf as B,he as C,_n as D,kc as E,Pe as F,ch as G,rd as H,uh as I,ed as J,jf as K,Zf as L,Pc as M,Se as N,_l as O,Uf as P,th as Q,xu as R,Ad as S,Hf as T,kf as U,pe as V,yu as W,lh as X,kd as Y,Md as Z,Rd as _,Ul as a,Td as a$,ah as a0,Wt as a1,Ga as a2,Ac as a3,td as a4,gd as a5,Ht as a6,Af as a7,kn as a8,tn as a9,Df as aA,Vo as aB,Uo as aC,ui as aD,Lu as aE,Ed as aF,Ml as aG,rh as aH,tr as aI,ud as aJ,mn as aK,ml as aL,fd as aM,id as aN,nh as aO,ld as aP,Kf as aQ,zf as aR,pd as aS,zd as aT,Zd as aU,$f as aV,_d as aW,sh as aX,Wi as aY,Cd as aZ,Et as a_,K as aa,q as ab,Ei as ac,Z as ad,vi as ae,ue as af,Xs as ag,Cf as ah,oe as ai,xe as aj,Qn as ak,Pf as al,Ua as am,pl as an,Yf as ao,Qf as ap,Dc as aq,Pl as ar,Yn as as,Tf as at,Gn as au,wu as av,$l as aw,ql as ax,Ri as ay,Di as az,ce as b,yd as b0,jd as b1,$d as b2,Nd as b3,Hd as b4,Bd as b5,Fd as b6,Od as b7,xd as b8,Pd as b9,La as bA,Vi as bB,md as bC,Wc as bD,sd as bE,od as bF,Dn as bG,Bf as bH,Ff as bI,Rl as bJ,Of as bK,nd as bL,B as bM,eh as ba,Yd as bb,Wd as bc,Vd as bd,Qd as be,Xd as bf,Ud as bg,Rf as bh,ir as bi,hd as bj,dd as bk,Ja as bl,Pn as bm,qf as bn,Sf as bo,Nf as bp,Lf as bq,xf as br,Mf as bs,Pi as bt,Gf as bu,Vf as bv,Xf as bw,Jf as bx,hf as by,ih as bz,vd as c,Hi as d,Gc as e,Sd as f,Id as g,Mu as h,Dd as i,qd as j,Kd as k,Ld as l,Fi as m,bd as n,ff as o,Je as p,Oe as q,Si as r,Jd as s,Gd as t,st as u,Ee as v,cd as w,ua as x,fi as y,ad 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;color:#ffffffa6;background:transparent;cursor:pointer}.desktop-window .desktop-window__control:hover,.desktop-window .desktop-window__control[data-state=open]{color:#fff}.desktop-window .desktop-window__control .workbench-icon{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__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__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 .workbench-icon{color:#fff}.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}.publish-panel[data-v-0687295f]{display:grid;min-width:0;overflow-wrap:anywhere;gap:var(--hb-sdk-workbench-space-3)}.publish-panel p[data-v-0687295f]{margin:0}.publish-panel a[data-v-0687295f]{color:var(--hb-color-text-primary);display:flex;align-items:center;gap:var(--hb-sdk-workbench-space-1)}.publish-panel .publish-panel__note[data-v-0687295f]{display:grid;gap:var(--hb-sdk-workbench-space-2)}.publish-panel textarea[data-v-0687295f]{width:100%;box-sizing:border-box;resize:vertical;padding:var(--hb-sdk-workbench-space-2);border:1px solid var(--hb-color-border-muted);border-radius:var(--hb-sdk-workbench-control-radius);background:var(--hb-color-bg-page);color:var(--hb-color-text-primary);font:inherit}.publish-panel textarea[data-v-0687295f]:focus-visible{outline:1px solid var(--hb-color-brand-primary)}.publish-panel .publish-panel__policy[data-v-0687295f]{display:flex;align-items:center;gap:var(--hb-sdk-workbench-space-1)}.publish-panel .publish-panel__error[data-v-0687295f]{color:var(--hb-color-status-danger)}.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-125e8085]{display:grid;max-height:min(70vh,640px);overflow:auto;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}.local-permissions .local-permissions__summary[data-v-125e8085]{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--hb-color-text-tertiary);white-space:nowrap}.local-permissions .local-permissions__preview[data-v-125e8085]{padding:2px 5px;border-radius:4px;background:var(--hb-color-bg-subtle);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}.local-permissions .local-permissions__context[data-v-125e8085]{margin:0;padding:8px 10px;border-radius:6px;background:var(--hb-color-bg-subtle);line-height:1.6;overflow-wrap:anywhere}.local-permissions .local-permissions__entries[data-v-125e8085]{display:grid;gap:8px}.local-permissions .local-permissions__entry+.local-permissions__entry[data-v-125e8085]{padding-top:8px;border-top:1px solid var(--hb-color-border-muted)}.local-permissions .local-permissions__entry-heading[data-v-125e8085]{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--hb-color-text-primary)}.local-permissions .local-permissions__name[data-v-125e8085]{min-width:0;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:12px;line-height:16px;letter-spacing:0px}.local-permissions .local-permissions__state[data-v-125e8085]{flex:none;padding:2px 6px;border-radius:4px;color:var(--hb-color-text-secondary);background:var(--hb-color-bg-subtle);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}.local-permissions .local-permissions__entry[data-attention=false] .local-permissions__state[data-v-125e8085]{color:var(--hb-color-status-success);background:#16865b14}.local-permissions .local-permissions__entry[data-attention=true] .local-permissions__state[data-v-125e8085]{color:var(--hb-color-game-price-coupon);background:#d97a0614}.local-permissions .local-permissions__entry-status[data-v-125e8085]{display:flex;min-height:16px;align-items:flex-start;justify-content:space-between;margin-top:5px;gap:8px}.local-permissions .local-permissions__risk[data-v-125e8085]{margin:4px 0;color:var(--hb-color-status-danger)}.local-permissions .local-permissions__reason[data-v-125e8085]{flex:1;min-width:0;margin:0;color:var(--hb-color-text-secondary);line-height:1.5;overflow-wrap:anywhere}.local-permissions .local-permissions__apply[data-v-125e8085],.local-permissions .local-permissions__docs[data-v-125e8085]{display:inline-flex;align-items:center;width:fit-content;gap:2px;color:var(--hb-color-brand-primary);text-decoration:none;white-space:nowrap}.local-permissions .local-permissions__apply[data-v-125e8085]{flex:none;margin-left:auto}.local-permissions .local-permissions__footer[data-v-125e8085]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid var(--hb-color-border-muted)}.local-permissions .local-permissions__apply[data-v-125e8085]:hover,.local-permissions .local-permissions__docs[data-v-125e8085]:hover{text-decoration:underline;text-underline-offset:2px}.user-data-permission[data-v-789bef02]{display:grid;gap:8px;min-width:0;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__resource[data-v-789bef02]{display:flex;align-items:start;justify-content:space-between;gap:12px}.user-data-permission__name[data-v-789bef02]{min-width:0;color:var(--hb-color-text-primary);line-height:1.5;overflow-wrap:anywhere}.user-data-permission__decision[data-v-789bef02]{flex:none;color:var(--hb-color-text-secondary);line-height:1.5}.user-data-permission__decision[data-allowed=true][data-v-789bef02]{color:var(--hb-color-status-success)}.user-data-permission__error[data-v-789bef02]{margin:0;color:var(--hb-color-status-danger);line-height:1.5;overflow-wrap:anywhere}.user-data-permission__actions[data-v-789bef02]{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px}.user-authorization[data-v-08835c6f]{display:grid;gap:12px;max-height:min(60vh,480px);overflow:auto}.user-authorization__device[data-v-08835c6f]{display:inline-flex;align-items:center;min-width:0;max-width:165px;gap:4px;padding:3px 6px;border-radius:4px;color:var(--hb-color-text-secondary);background:var(--hb-color-bg-subtle);overflow:hidden;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}.user-authorization__device .user-authorization__device-label[data-v-08835c6f]{flex:none;color:var(--hb-color-text-tertiary)}.user-authorization__device .user-authorization__device-name[data-v-08835c6f]{min-width:0;overflow:hidden;text-overflow:ellipsis}.sandbox-panel[data-v-6bd52bf8]{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-6bd52bf8]{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-6bd52bf8]{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-6bd52bf8]{display:flex;align-items:center;gap:8px}.sandbox-panel__entry[data-v-6bd52bf8]{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-6bd52bf8]:hover:not(:disabled){background:var(--hb-color-bg-subtle)}.sandbox-panel__entry[data-v-6bd52bf8]:disabled{color:var(--hb-color-text-secondary);cursor:default}.sandbox-panel__entry-name[data-v-6bd52bf8]{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sandbox-panel__entry-chevron[data-v-6bd52bf8]{color:var(--hb-color-text-tertiary)}.sandbox-panel__notice[data-v-6bd52bf8]{margin:8px;color:var(--hb-color-text-tertiary)}.sandbox-panel__spin[data-v-6bd52bf8]{animation:sandbox-spin-6bd52bf8 .9s linear infinite}@keyframes sandbox-spin-6bd52bf8{to{transform:rotate(360deg)}}.game-bindings__game-copy[data-v-4964fc5d]{display:flex;flex:1;align-items:center;min-width:0;gap:var(--hb-sdk-workbench-space-3)}.game-bindings__game-copy img[data-v-4964fc5d],.game-bindings__game-copy .game-bindings__cover-missing[data-v-4964fc5d]{width:calc(var(--hb-sdk-workbench-control-size) * 2);aspect-ratio:16/9;flex:none;object-fit:cover;background:var(--hb-color-bg-subtle);border-radius:var(--hb-sdk-workbench-space-1)}.game-bindings__game-copy .game-bindings__cover-missing[data-v-4964fc5d]{display:grid;place-items:center;color:var(--hb-color-text-tertiary)}.game-bindings__game-copy .game-bindings__game-name[data-v-4964fc5d]{display:grid;gap:var(--hb-sdk-workbench-space-1);min-width:0;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:12px;line-height:16px;letter-spacing:0px}.game-bindings__game-copy .game-bindings__game-name[data-v-4964fc5d],.game-bindings__game-copy .game-bindings__game-name small[data-v-4964fc5d]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.game-bindings__game-copy .game-bindings__game-name small[data-v-4964fc5d]{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}.game-bindings[data-v-fd6dee3a]{display:flex;flex:1;flex-direction:column;min-height:0}.game-bindings .game-bindings__selection[data-v-fd6dee3a]{flex:none;border-bottom:1px solid var(--hb-color-border-muted)}.game-bindings .game-bindings__search[data-v-fd6dee3a]{display:flex;flex:1;flex-direction:column;min-height:0}.game-bindings .diagnostics__toolbar[data-v-fd6dee3a]{flex:none}.game-bindings .search-field input[data-v-fd6dee3a]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.game-bindings .game-bindings__content[data-v-fd6dee3a]{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.game-bindings .game-bindings__list-header[data-v-fd6dee3a]{display:flex;flex:none;align-items:center;justify-content:space-between;gap:var(--hb-sdk-workbench-space-2);min-height:36px;padding:0 var(--hb-sdk-workbench-space-3);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}.game-bindings .game-bindings__list-header>span[data-v-fd6dee3a]:first-child{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.game-bindings .game-bindings__total[data-v-fd6dee3a]{margin-left:var(--hb-sdk-workbench-space-1);color:var(--hb-color-text-tertiary);font-variant-numeric:tabular-nums}.game-bindings .game-bindings__selected-list[data-v-fd6dee3a]{display:grid;gap:var(--hb-sdk-workbench-space-1);max-height:200px;margin:0;padding:0 var(--hb-sdk-workbench-space-3) var(--hb-sdk-workbench-space-2);overflow:auto;overscroll-behavior:contain;list-style:none}.game-bindings .game-bindings__selected-row[data-v-fd6dee3a]{display:flex;align-items:center;justify-content:space-between;gap:var(--hb-sdk-workbench-space-2);min-height:60px;padding:var(--hb-sdk-workbench-space-3) 0}.game-bindings .game-bindings__selected-row>button[data-v-fd6dee3a]{flex:none}.game-bindings .game-bindings__selection-empty[data-v-fd6dee3a],.game-bindings .game-bindings__limit[data-v-fd6dee3a]{margin:0;padding:0 var(--hb-sdk-workbench-space-3) var(--hb-sdk-workbench-space-3);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:11px;line-height:16px;letter-spacing:0px}.game-bindings .game-bindings__list[data-v-fd6dee3a]{display:grid;align-content:start;gap:var(--hb-sdk-workbench-space-2);padding:0 var(--hb-sdk-workbench-space-2) var(--hb-sdk-workbench-space-2)}.game-bindings .game-bindings__suggestions[data-v-fd6dee3a]{display:flex;align-items:center;flex-wrap:wrap;gap:var(--hb-sdk-workbench-space-2);padding:var(--hb-sdk-workbench-space-3);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:11px;line-height:16px;letter-spacing:0px}.game-bindings .game-bindings__suggestions .workbench-text-button[data-v-fd6dee3a]{display:inline-flex;align-items:center;gap:var(--hb-sdk-workbench-space-1)}.game-bindings .game-bindings__list[data-v-fd6dee3a] .workbench-menu-item__label{flex:1}.game-bindings .game-bindings__list[data-v-fd6dee3a] .workbench-menu-item{min-height:60px;padding:var(--hb-sdk-workbench-space-3) var(--hb-sdk-workbench-space-2);gap:var(--hb-sdk-workbench-space-3)}.game-bindings .game-bindings__result[data-v-fd6dee3a]{display:flex;align-items:center;gap:var(--hb-sdk-workbench-space-2)}.game-bindings .game-bindings__add-label[data-v-fd6dee3a]{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;flex:none}.workbench-log-filters[data-v-88e01d8a]{display:grid;gap:10px}.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:var(--hb-color-status-success)}.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__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-space-1: 4px;--hb-sdk-workbench-space-2: 8px;--hb-sdk-workbench-space-3: 12px;--hb-sdk-workbench-header-height: 52px;--hb-sdk-workbench-footer-height: 28px;--hb-sdk-workbench-identity-height: 76px;--hb-sdk-workbench-tabs-height: 44px;--hb-sdk-workbench-toolbar-height: 48px;--hb-sdk-workbench-control-size: 32px;--hb-sdk-workbench-row-height: 34px;--hb-sdk-workbench-control-radius: 8px;--hb-sdk-workbench-menu-radius: 10px;--hb-sdk-workbench-empty-height: 120px;--hb-sdk-workbench-popover-width: 270px;--hb-sdk-workbench-popover-compact-width: 220px;--hb-sdk-workbench-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace}.workbench-icon{display:inline-block;flex:none;align-self:center;vertical-align:middle;background-color:currentColor;-webkit-mask-image:var(--workbench-icon-source);mask-image:var(--workbench-icon-source);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;pointer-events:none}.workbench-icon--spin{animation:workbench-icon-spin 1s linear infinite}@keyframes workbench-icon-spin{to{transform:rotate(360deg)}}.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=ghost]:hover,.workbench-icon-button[data-variant=ghost][data-state=open]{background:var(--hb-color-bg-subtle)}.workbench-icon-button[data-variant=ghost]:focus-visible{border-color:var(--hb-color-brand-primary)}.workbench-icon-button[data-variant=glass]{flex:none;border-color:var(--hb-color-border-muted);border-radius:50%;background:var(--hb-color-bg-surface);box-shadow:0 7px 22px #1f232924;-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:var(--hb-sdk-workbench-popover-width);padding:14px;border:1px solid var(--hb-color-border-muted);border-radius:var(--hb-sdk-workbench-menu-radius);gap:10px;color:var(--hb-color-text-primary);background:var(--hb-color-bg-surface);box-shadow:0 8px 24px #1f23291f;outline: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-popover--compact{width:var(--hb-sdk-workbench-popover-compact-width);padding:var(--hb-sdk-workbench-space-2);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-popover__header{display:flex;align-items:center;justify-content:space-between;min-width:0;gap:12px}.workbench-text-button{min-height:24px;padding:0 var(--hb-sdk-workbench-space-1);border:0;border-radius:5px;color:var(--hb-color-text-secondary);background:transparent;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-text-button:hover:not(:disabled){color:var(--hb-color-text-primary);background:var(--hb-color-bg-subtle)}.workbench-text-button:disabled{color:var(--hb-color-text-tertiary);cursor:default}.workbench-text-button:focus-visible{outline:2px solid var(--hb-color-brand-primary);outline-offset:2px}.workbench-field{display:grid;min-width:0;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:8px}.workbench-field .workbench-field__label{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}.workbench-field .workbench-field__control{min-width:0}.workbench-popover__description{margin:0;color:var(--hb-color-text-secondary);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-menu-item{display:flex;min-width:0;min-height:var(--hb-sdk-workbench-row-height);align-items:center;justify-content:space-between;padding:0 var(--hb-sdk-workbench-space-2);border:0;border-radius:6px;color:var(--hb-color-text-primary);background:transparent;cursor:pointer;outline:none;text-decoration:none;text-align:left;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 var(--hb-sdk-workbench-space-2);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 var(--hb-color-border-muted);border-radius:14px;background:var(--hb-color-bg-surface);box-shadow:0 7px 24px #1f23291f;-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 8px 24px #1f23291f;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:var(--hb-sdk-workbench-row-height);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 var(--hb-sdk-workbench-space-2);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:var(--hb-sdk-workbench-space-1);padding:0 var(--hb-sdk-workbench-space-1);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}.workbench-icon-button--text{display:inline-flex;width:auto;align-items:center;justify-content:center;padding:0 var(--hb-sdk-workbench-space-2);gap:var(--hb-sdk-workbench-space-1);white-space:nowrap;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}.workbench-icon-button[data-variant=primary]{color:var(--hb-color-text-inverse);background:var(--hb-color-text-primary);border-color:var(--hb-color-text-primary)}.workbench-icon-button[data-variant=primary]:hover,.workbench-icon-button[data-variant=primary][data-state=open]{background:var(--hb-color-text-secondary);border-color:var(--hb-color-text-secondary)}.workbench-empty-state{display:grid;min-height:var(--hb-sdk-workbench-empty-height);align-content:center;justify-items:center;gap:8px;padding:var(--hb-sdk-workbench-space-3);text-align:center}.workbench-empty-state .workbench-empty-state__icon{color:var(--hb-color-text-tertiary)}.workbench-empty-state .workbench-empty-state__title{margin:0;color:var(--hb-color-text-secondary);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}.workbench-empty-state .workbench-empty-state__description{display:-webkit-box;max-width:260px;margin:0;overflow:hidden;color:var(--hb-color-text-tertiary);-webkit-box-orient:vertical;-webkit-line-clamp:3;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-empty-state .workbench-empty-state__action{min-height:28px;margin-top:4px;padding:0 var(--hb-sdk-workbench-space-2);border:1px solid var(--hb-color-border-muted);border-radius:6px;color:var(--hb-color-text-primary);background:var(--hb-color-bg-surface);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-empty-state .workbench-empty-state__action:hover{background:var(--hb-color-bg-subtle)}.workbench-empty-state .workbench-empty-state__action:focus-visible{outline:2px solid var(--hb-color-brand-primary);outline-offset:2px}: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:var(--hb-sdk-workbench-header-height) minmax(0,1fr) var(--hb-sdk-workbench-footer-height);height:100%;background:var(--hb-color-bg-subtle)}.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)}.brand{display:flex;align-items:center;min-width:0;gap:16px}.brand__logo{display:block;width:54px;height:16px;flex:0 0 54px;color:var(--hb-color-text-primary);background-color:currentColor;-webkit-mask-image:var(--heybox-logo-source);mask-image:var(--heybox-logo-source);-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.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}.workbench__header-actions{display:flex;align-items:center;gap:8px}.client-launch{display:grid;gap:var(--hb-sdk-workbench-space-2)}.workbench__identity{position:relative;display:flex;align-items:center;gap:10px}.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:76px 44px 44px 48px minmax(0,1fr);min-width:0;min-height:0;background:var(--hb-color-bg-page)}.diagnostics--game-bindings{grid-template-rows:76px 44px 44px minmax(0,1fr)}.mini-program-summary{display:flex;height:76px;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__heading{display:flex;align-items:center;gap:8px;min-width:0}.mini-program-summary__heading strong{min-width:0}.mini-program-summary__copy .mini-program-summary__platforms{display:inline-flex;flex:none;align-items:center;gap:0;color:var(--hb-color-text-secondary)}.mini-program-summary__platforms>span{display:inline-flex;width:var(--platform-slot-width, 18px);height:18px;flex:none;align-items:center;justify-content:center}.mini-program-summary__platforms>span+span{margin-left:var(--platform-gap, 4px)}.mini-program-summary__platform-icon{display:block;width:var(--platform-glyph-size);height:var(--platform-glyph-size);flex:none;background:var(--platform-color);-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.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__device{padding:4px 12px 8px;min-width:0}.diagnostics__device .workbench-select__prefix{gap:6px}.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:var(--hb-color-text-secondary);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:var(--hb-color-text-inverse);background:var(--hb-color-text-primary)}.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{display:flex;flex-direction:column;width:100%;min-height:0;overflow:hidden}.log-list,.storage-list,.problem-list{flex:1;min-height:0;height:100%;padding:8px;overflow:auto;overscroll-behavior:contain}.storage-list{padding:0}.storage-table{width:100%;min-width:480px;table-layout:fixed;border-spacing:0;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}.storage-table__key-col{width:25%}.storage-table__area-col{width:90px}.storage-table__size-col{width:54px}.storage-table__action-col{width:40px}.storage-table th,.storage-table td{height:38px;padding:4px 8px;border-bottom:1px solid var(--hb-color-border-muted);text-align:left;vertical-align:middle;line-height:18px}.storage-table thead th{position:sticky;top:0;z-index:1;height:32px;line-height:24px;color:var(--hb-color-text-secondary);background:var(--hb-color-bg-subtle);font-weight:400}.storage-table tbody tr:hover{background:var(--hb-color-bg-subtle)}.storage-table__key{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;font-family:var(--hb-sdk-workbench-font-mono)}.storage-table__area{color:var(--hb-color-text-secondary);white-space:nowrap}.storage-table .storage-table__size{text-align:right;color:var(--hb-color-text-secondary);white-space:nowrap;font-variant-numeric:tabular-nums}.storage-table__action .workbench-icon-button{width:30px;height:30px}.storage-table__value{max-height:72px;margin:0;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:18px;color:var(--hb-color-text-primary);font-family:var(--hb-sdk-workbench-font-mono);font-size:inherit}.storage-table__sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.problem-row{display:grid;width:100%;min-width:0;max-width:100%;grid-template-columns:3px minmax(0,1fr) 32px;min-height:38px;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}.diagnostics__notice{margin:0;padding:8px 12px;border-bottom:1px solid var(--hb-color-border-muted);color:var(--hb-color-text-secondary);background:var(--hb-color-bg-subtle);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}.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:4px;max-width:calc(100% - 24px);padding:3px;border:1px solid var(--hb-color-border-muted);border-radius:var(--hb-sdk-workbench-control-radius);background:var(--hb-color-bg-surface);transform:none}.device-stage__toolbar .workbench-select{width:176px;max-width:calc(100% - 68px);border-color:transparent;border-radius:5px;background:transparent;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}.device-stage__toolbar .workbench-select:hover,.device-stage__toolbar .workbench-select[data-state=open]{background:var(--hb-color-bg-subtle)}.device-stage__toolbar .workbench-select:focus-visible{border-color:var(--hb-color-brand-primary)}.device-stage__toolbar .workbench-icon-button{flex:none;border-radius:5px;color:var(--hb-color-text-secondary)}.device-stage__toolbar-grip{display:grid;width:20px;height:var(--hb-sdk-workbench-control-size);flex:none;padding:0;place-items:center;border:0;border-radius:5px;color:var(--hb-color-text-tertiary);background:transparent;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.device-stage__toolbar-grip:hover{color:var(--hb-color-text-primary);background:var(--hb-color-bg-subtle)}.device-stage__toolbar-grip:focus-visible{outline:2px solid var(--hb-color-brand-primary);outline-offset:-2px}.device-stage__toolbar--dragging .device-stage__toolbar-grip{cursor:grabbing}.device-stage__toolbar-divider{width:1px;height:16px;flex:none;background:var(--hb-color-border-muted)}.device-stage--compact .device-stage__toolbar{top:12px;left:50%;transform:translate(-50%)}.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{background:#fff;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding-bottom:120px;color:#14191e;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 var(--hb-color-border-muted);border-radius:12px;background:var(--hb-color-bg-surface);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:var(--hb-color-bg-page);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__preview{position:relative;display:grid;aspect-ratio:1;place-items:center;background:var(--hb-color-bg-subtle);border-radius:var(--hb-sdk-workbench-control-radius)}.qr-popover__placeholder{display:grid;justify-items:center;gap:var(--hb-sdk-workbench-space-2);color:var(--hb-color-text-secondary)}.qr-popover__image{width:100%;height:auto;justify-self:center;border-radius:6px;background:var(--hb-color-bg-subtle)}.qr-popover__image:not([src]){display:none}.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;min-width:0;gap:8px}.activity-version{max-width:150px;overflow:hidden;color:var(--hb-color-text-tertiary);text-overflow:ellipsis;white-space:nowrap}.activity-environment{color:var(--hb-color-text-tertiary);white-space:nowrap}.activity-account{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-account>*{flex:none}@media(max-width:780px){.activity-environment{display:none}.activity-version{max-width:110px}}@media(max-width:560px){.activity-version{display:none}}.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}}.search-field>.workbench-icon{color:var(--hb-color-text-tertiary)}.scan-preview-tabs{display:flex;gap:var(--hb-sdk-workbench-space-1)}.scan-preview-tab{flex:1;height:var(--hb-sdk-workbench-control-size);border:0;border-radius:var(--hb-sdk-workbench-control-radius);background:var(--hb-color-bg-subtle);color:var(--hb-color-text-secondary);cursor:pointer;font:inherit}.scan-preview-tab[data-state=active]{background:var(--hb-color-text-primary);color:var(--hb-color-text-inverse)}.scan-preview-tab:focus-visible{outline:2px solid var(--hb-color-brand-primary)}.scan-preview-content[data-state=inactive]{display:none}