@valaxyjs/devtools 1.1.0 → 1.2.1

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 (63) hide show
  1. package/dist/client/assets/FeedbackEmptyState-CW6pLCXv.js +1 -0
  2. package/dist/client/assets/LayoutCard-CTAguKmh.js +1 -0
  3. package/dist/client/assets/VDCheckbox-d9tAu2AU.js +1 -0
  4. package/dist/client/assets/VDCodeBlock-BuqMD8Bv.js +1 -0
  5. package/dist/client/assets/VDNumberField-Bt_x9HRo.js +1 -0
  6. package/dist/client/assets/VDPostListItem-CJFejG07.js +1 -0
  7. package/dist/client/assets/VDPostPanel-DMEBztnO.js +1 -0
  8. package/dist/client/assets/VDSelect-ChDEUGo2.js +1 -0
  9. package/dist/client/assets/VDToggleGroup-BQoWWZ0_.js +1 -0
  10. package/dist/client/assets/addons-B2opOo6j.js +1 -0
  11. package/dist/client/assets/app-D70151fp.js +1 -0
  12. package/dist/client/assets/archives-DIqlzgIR.js +1 -0
  13. package/dist/client/assets/batch-edit-BtOrcvJN.js +1 -0
  14. package/dist/client/assets/{browser-agent-rpc-BXhoSh1z-Cucy2MLn.js → browser-agent-rpc-BXhoSh1z-C9uEXc-D.js} +1 -1
  15. package/dist/client/assets/categories-BQLJcmW9.js +1 -0
  16. package/dist/client/assets/collections-Dq3KJoOv.js +1 -0
  17. package/dist/client/assets/config-Cf8BnAaf.js +1 -0
  18. package/dist/client/assets/debug-DIB5JKnZ.js +1 -0
  19. package/dist/client/assets/editor-BlhW0hDH.js +1 -0
  20. package/dist/client/assets/index-BJGKneng.js +6 -0
  21. package/dist/client/assets/{index-CWQSP-Yn.css → index-DapGOJyX.css} +1 -1
  22. package/dist/client/assets/pages-COd_YbXC.js +1 -0
  23. package/dist/client/assets/posts-CNnxv37_.js +1 -0
  24. package/dist/client/assets/rpc-Bp_Ufxfr.js +4 -0
  25. package/dist/client/assets/runtime-dom.esm-bundler-DsZABnoH.js +2 -0
  26. package/dist/client/assets/settings-D26r0VTX.js +1 -0
  27. package/dist/client/assets/splitpanes.esm-CUQA4hIN.js +1 -0
  28. package/dist/client/assets/tags-DXSOXqIO.js +1 -0
  29. package/dist/client/index.html +6 -7
  30. package/dist/index.mjs +1 -1
  31. package/dist/node/definition.mjs +1 -1
  32. package/dist/node/mcp.mjs +1 -1
  33. package/dist/shared/{devtools.B8j-R5wD.mjs → devtools.DVqLJqrQ.mjs} +1 -1
  34. package/package.json +14 -14
  35. package/dist/client/assets/FeedbackEmptyState-6lTUwFgn.js +0 -1
  36. package/dist/client/assets/LayoutCard-ZKe9PNVY.js +0 -1
  37. package/dist/client/assets/Teleport-qWljvtqZ.js +0 -3
  38. package/dist/client/assets/VDCheckbox-gxTXLn5b.js +0 -1
  39. package/dist/client/assets/VDCodeBlock-BGKRf2g7.js +0 -1
  40. package/dist/client/assets/VDNumberField-BZ6FcLB3.js +0 -1
  41. package/dist/client/assets/VDPostListItem-BUS63gtf.js +0 -1
  42. package/dist/client/assets/VDPostPanel-WdBbP5dF.js +0 -1
  43. package/dist/client/assets/VDSelect-BtVikUJS.js +0 -1
  44. package/dist/client/assets/VDToggleGroup-78HmJc7e.js +0 -1
  45. package/dist/client/assets/addons-C_-hEQ-2.js +0 -1
  46. package/dist/client/assets/app-djZMc7np.js +0 -3
  47. package/dist/client/assets/archives-BrKuO4-D.js +0 -1
  48. package/dist/client/assets/batch-edit-Dh6nC4Xz.js +0 -1
  49. package/dist/client/assets/categories-DSVLI193.js +0 -1
  50. package/dist/client/assets/collections-OnSIoVHx.js +0 -1
  51. package/dist/client/assets/config-ZZGBYiPW.js +0 -1
  52. package/dist/client/assets/debug-CYsFt79M.js +0 -1
  53. package/dist/client/assets/editor-Bs7ZRgJA.js +0 -1
  54. package/dist/client/assets/index-BRqqPn9F.js +0 -4
  55. package/dist/client/assets/pages-d61NzKRt.js +0 -1
  56. package/dist/client/assets/posts-hNWOfrAz.js +0 -1
  57. package/dist/client/assets/rpc-wZN2D89J.js +0 -4
  58. package/dist/client/assets/runtime-dom.esm-bundler-COvr_-s-.js +0 -2
  59. package/dist/client/assets/settings-7xwOL5Hb.js +0 -1
  60. package/dist/client/assets/splitpanes.esm-CnpdH7BM.js +0 -1
  61. package/dist/client/assets/tags-ASABTV6u.js +0 -1
  62. /package/dist/client/assets/{virtual_intlify-i18n-1-CPnPqlXp.js → en-CPnPqlXp.js} +0 -0
  63. /package/dist/client/assets/{virtual_intlify-i18n-0-BOFXizJp.js → zh-CN-BOFXizJp.js} +0 -0
@@ -0,0 +1 @@
1
+ function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>x(e)===`[object Map]`,p=e=>x(e)===`[object Set]`,m=e=>x(e)===`[object Date]`,h=e=>typeof e==`function`,g=e=>typeof e==`string`,_=e=>typeof e==`symbol`,v=e=>typeof e==`object`&&!!e,y=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,x=e=>b.call(e),S=e=>x(e).slice(8,-1),C=e=>x(e)===`[object Object]`,w=e=>g(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,T=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),ee=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},te=/-\w/g,E=ee(e=>e.replace(te,e=>e.slice(1).toUpperCase())),ne=/\B([A-Z])/g,D=ee(e=>e.replace(ne,`-$1`).toLowerCase()),re=ee(e=>e.charAt(0).toUpperCase()+e.slice(1)),ie=ee(e=>e?`on${re(e)}`:``),O=(e,t)=>!Object.is(e,t),ae=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},k=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},oe=e=>{let t=parseFloat(e);return isNaN(t)?e:t},se=e=>{let t=g(e)?Number(e):NaN;return isNaN(t)?e:t},ce,le=()=>ce||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function ue(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=g(r)?A(r):ue(r);if(i)for(let e in i)t[e]=i[e]}return t}if(g(e)||v(e))return e}var de=/;(?![^(]*\))/g,fe=/:([^]+)/,pe=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function A(e){let t={};return e.replace(pe,e=>e.startsWith(`/*`)?``:e).split(de).forEach(e=>{if(e){let n=e.split(fe);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function me(e){let t=``;if(g(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=me(e[n]);r&&(t+=r+` `)}else if(v(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function he(e){if(!e)return null;let{class:t,style:n}=e;return t&&!g(t)&&(e.class=me(t)),n&&(e.style=ue(n)),e}var ge=e(`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`);function _e(e){return!!e||e===``}function ve(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=Se(e[i],t[i],n);return r}function ye(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&Se(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function be(e,t,n){let r=f(e),i=f(t);if(r||i||(r=p(e),i=p(t),r||i))return r&&i?ye(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(i&&!a||!i&&a||!Se(e[r],t[r],n))return!1}return String(e)===String(t)}function xe(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function Se(e,t,n){if(e===t)return!0;let r=m(e),i=m(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=_(e),i=_(t),r||i?e===t:(r=d(e),i=d(t),r||i?r&&i?xe(e,t,n,ve):!1:(r=v(e),i=v(t),r||i?!r||!i?!1:xe(e,t,n,be):String(e)===String(t))))}function Ce(e,t){return e.findIndex(e=>Se(e,t))}var we=e=>!!(e&&e.__v_isRef===!0),Te=e=>g(e)?e:e==null?``:d(e)||v(e)&&(e.toString===b||!h(e.toString))?we(e)?Te(e.value):JSON.stringify(e,Ee,2):String(e),Ee=(e,t)=>we(t)?Ee(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[De(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>De(e))}:_(t)?De(t):v(t)&&!d(t)&&!C(t)?String(t):t,De=(e,t=``)=>_(e)?`Symbol(${e.description??t})`:e,j,Oe=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&j&&(j.active?(this.parent=j,this.index=(j.scopes||(j.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=j;try{return j=this,e()}finally{j=t}}}on(){++this._on===1&&(this.prevScope=j,j=this)}off(){if(this._on>0&&--this._on===0){if(j===this)j=this.prevScope;else{let e=j;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function ke(e){return new Oe(e)}function Ae(){return j}function je(e,t=!1){j&&j.cleanups.push(e)}var M,Me=new WeakSet,Ne=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,j&&(j.active?j.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Me.has(this)&&(Me.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Le(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ye(this),Be(this);let e=M,t=N;M=this,N=!0;try{return this.fn()}finally{Ve(this),M=e,N=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)We(e);this.deps=this.depsTail=void 0,Ye(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Me.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){He(this)&&this.run()}get dirty(){return He(this)}},Pe=0,Fe,Ie;function Le(e,t=!1){e.flags|=8,t?(e.next=Ie,Ie=e):(e.next=Fe,Fe=e)}function Re(){Pe++}function ze(){if(--Pe>0)return;if(Ie){let e=Ie;for(Ie=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Fe;){let t=Fe;for(Fe=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Be(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ve(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),We(r),Ge(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function He(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ue(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ue(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Xe)||(e.globalVersion=Xe,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!He(e))))return;e.flags|=2;let t=e.dep,n=M,r=N;M=e,N=!0;try{Be(e);let n=e.fn(e._value);(t.version===0||O(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{M=n,N=r,Ve(e),e.flags&=-3}}function We(e,t=!1){let{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 e=n.computed.deps;e;e=e.nextDep)We(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ge(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var N=!0,Ke=[];function qe(){Ke.push(N),N=!1}function Je(){let e=Ke.pop();N=e===void 0||e}function Ye(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=M;M=void 0;try{t()}finally{M=e}}}var Xe=0,Ze=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Qe=class{constructor(e){this.computed=e,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(e){if(!M||!N||M===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==M)t=this.activeLink=new Ze(M,this),M.deps?(t.prevDep=M.depsTail,M.depsTail.nextDep=t,M.depsTail=t):M.deps=M.depsTail=t,$e(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=M.depsTail,t.nextDep=void 0,M.depsTail.nextDep=t,M.depsTail=t,M.deps===t&&(M.deps=e)}return t}trigger(e){this.version++,Xe++,this.notify(e)}notify(e){Re();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{ze()}}};function $e(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)$e(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var et=new WeakMap,tt=Symbol(``),nt=Symbol(``),rt=Symbol(``);function P(e,t,n){if(N&&M){let t=et.get(e);t||et.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Qe),r.map=t,r.key=n),r.track()}}function it(e,t,n,r,i,a){let o=et.get(e);if(!o){Xe++;return}let s=e=>{e&&e.trigger()};if(Re(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&w(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===rt||!_(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(rt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(tt)),f(e)&&s(o.get(nt)));break;case`delete`:i||(s(o.get(tt)),f(e)&&s(o.get(nt)));break;case`set`:f(e)&&s(o.get(tt))}}ze()}function at(e,t){let n=et.get(e);return n&&n.get(t)}function ot(e){let t=R(e);return t===e||(P(t,`iterate`,rt),L(e))?t:I(e)?Gt(e)?t.map(e=>Jt(z(e))):t.map(Jt):t.map(z)}function st(e){return P(e=R(e),`iterate`,rt),e}function F(e,t){return I(e)?Jt(Gt(e)?z(t):t):z(t)}var ct={__proto__:null,[Symbol.iterator](){return lt(this,Symbol.iterator,e=>F(this,e))},concat(...e){return ot(this).concat(...e.map(e=>d(e)?ot(e):e))},entries(){return lt(this,`entries`,e=>(e[1]=F(this,e[1]),e))},every(e,t){return dt(this,`every`,e,t,void 0,arguments)},filter(e,t){return dt(this,`filter`,e,t,e=>e.map(e=>F(this,e)),arguments)},find(e,t){return dt(this,`find`,e,t,e=>F(this,e),arguments)},findIndex(e,t){return dt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return dt(this,`findLast`,e,t,e=>F(this,e),arguments)},findLastIndex(e,t){return dt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return dt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return pt(this,`includes`,e)},indexOf(...e){return pt(this,`indexOf`,e)},join(e){return ot(this).join(e)},lastIndexOf(...e){return pt(this,`lastIndexOf`,e)},map(e,t){return dt(this,`map`,e,t,void 0,arguments)},pop(){return mt(this,`pop`)},push(...e){return mt(this,`push`,e)},reduce(e,...t){return ft(this,`reduce`,e,t)},reduceRight(e,...t){return ft(this,`reduceRight`,e,t)},shift(){return mt(this,`shift`)},some(e,t){return dt(this,`some`,e,t,void 0,arguments)},splice(...e){return mt(this,`splice`,e)},toReversed(){return ot(this).toReversed()},toSorted(e){return ot(this).toSorted(e)},toSpliced(...e){return ot(this).toSpliced(...e)},unshift(...e){return mt(this,`unshift`,e)},values(){return lt(this,`values`,e=>F(this,e))}};function lt(e,t,n){let r=st(e),i=r[t]();return r!==e&&!L(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var ut=Array.prototype;function dt(e,t,n,r,i,a){let o=st(e),s=o!==e&&!L(e),c=o[t];if(c!==ut[t]){let t=c.apply(e,a);return s?z(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,F(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function ft(e,t,n,r){let i=st(e),a=i!==e&&!L(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=F(e,t)),n.call(this,t,F(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?F(e,c):c}function pt(e,t,n){let r=R(e);P(r,`iterate`,rt);let i=r[t](...n);return(i===-1||i===!1)&&Kt(n[0])?(n[0]=R(n[0]),r[t](...n)):i}function mt(e,t,n=[]){qe(),Re();let r=R(e)[t].apply(e,n);return ze(),Je(),r}var ht=e(`__proto__,__v_isRef,__isVue`),gt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(_));function _t(e){_(e)||(e=String(e));let t=R(this);return P(t,`has`,e),t.hasOwnProperty(e)}var vt=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Rt:Lt:i?It:Ft).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=ct[t]))return e;if(t===`hasOwnProperty`)return _t}let o=Reflect.get(e,t,B(e)?e:n);if((_(t)?gt.has(t):ht(t))||(r||P(e,`get`,t),i))return o;if(B(o)){let e=a&&w(t)?o:o.value;return r&&v(e)?Ht(e):e}return v(o)?r?Ht(o):Bt(o):o}},yt=class extends vt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&w(t);if(!this._isShallow){let e=I(i);if(!L(n)&&!I(n)&&(i=R(i),n=R(n)),!a&&B(i)&&!B(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:u(e,t),s=Reflect.set(e,t,n,B(e)?e:r);return e===R(r)&&s&&(o?O(n,i)&&it(e,`set`,t,n,i):it(e,`add`,t,n)),s}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&it(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return _(t)&&gt.has(t)||P(e,`has`,t),n}ownKeys(e){return P(e,`iterate`,d(e)?`length`:tt),Reflect.ownKeys(e)}},bt=class extends vt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},xt=new yt,St=new bt,Ct=new yt(!0),wt=new bt(!0),Tt=e=>e,Et=e=>Reflect.getPrototypeOf(e);function Dt(e,t,n){return function(...r){let i=this.__v_raw,a=R(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?Tt:t?Jt:z;return!t&&P(a,`iterate`,l?nt:tt),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function Ot(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function kt(e,t){let n={get(n){let r=this.__v_raw,i=R(r),a=R(n);e||(O(n,a)&&P(i,`get`,n),P(i,`get`,a));let{has:o}=Et(i),s=t?Tt:e?Jt:z;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&P(R(t),`iterate`,tt),t.size},has(t){let n=this.__v_raw,r=R(n),i=R(t);return e||(O(t,i)&&P(r,`has`,t),P(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=R(a),s=t?Tt:e?Jt:z;return!e&&P(o,`iterate`,tt),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:Ot(`add`),set:Ot(`set`),delete:Ot(`delete`),clear:Ot(`clear`)}:{add(e){let n=R(this),r=Et(n),i=R(e),a=!t&&!L(e)&&!I(e)?i:e;return r.has.call(n,a)||O(e,a)&&r.has.call(n,e)||O(i,a)&&r.has.call(n,i)||(n.add(a),it(n,`add`,a,a)),this},set(e,n){t||L(n)||I(n)||(n=R(n));let r=R(this),{has:i,get:a}=Et(r),o=i.call(r,e);o||=(e=R(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?O(n,s)&&it(r,`set`,e,n,s):it(r,`add`,e,n),this},delete(e){let t=R(this),{has:n,get:r}=Et(t),i=n.call(t,e);i||=(e=R(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&it(t,`delete`,e,void 0,a),o},clear(){let e=R(this),t=e.size!==0,n=e.clear();return t&&it(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Dt(r,e,t)}),n}function At(e,t){let n=kt(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(u(n,r)&&r in t?n:t,r,i)}var jt={get:At(!1,!1)},Mt={get:At(!1,!0)},Nt={get:At(!0,!1)},Pt={get:At(!0,!0)},Ft=new WeakMap,It=new WeakMap,Lt=new WeakMap,Rt=new WeakMap;function zt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Bt(e){return I(e)?e:Wt(e,!1,xt,jt,Ft)}function Vt(e){return Wt(e,!1,Ct,Mt,It)}function Ht(e){return Wt(e,!0,St,Nt,Lt)}function Ut(e){return Wt(e,!0,wt,Pt,Rt)}function Wt(e,t,n,r,i){if(!v(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=zt(S(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Gt(e){return I(e)?Gt(e.__v_raw):!!(e&&e.__v_isReactive)}function I(e){return!!(e&&e.__v_isReadonly)}function L(e){return!!(e&&e.__v_isShallow)}function Kt(e){return e?!!e.__v_raw:!1}function R(e){let t=e&&e.__v_raw;return t?R(t):e}function qt(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&k(e,`__v_skip`,!0),e}var z=e=>v(e)?Bt(e):e,Jt=e=>v(e)?Ht(e):e;function B(e){return e?e.__v_isRef===!0:!1}function Yt(e){return Zt(e,!1)}function Xt(e){return Zt(e,!0)}function Zt(e,t){return B(e)?e:new Qt(e,t)}var Qt=class{constructor(e,t){this.dep=new Qe,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:R(e),this._value=t?e:z(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||L(e)||I(e);e=n?e:R(e),O(e,t)&&(this._rawValue=e,this._value=n?e:z(e),this.dep.trigger())}};function $t(e){e.dep&&e.dep.trigger()}function en(e){return B(e)?e.value:e}function tn(e){return h(e)?e():en(e)}var nn={get:(e,t,n)=>t===`__v_raw`?e:en(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return B(i)&&!B(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function rn(e){return Gt(e)?e:new Proxy(e,nn)}var an=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Qe,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function on(e){return new an(e)}function sn(e){let t=d(e)?Array(e.length):{};for(let n in e)t[n]=dn(e,n);return t}var cn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=_(t)?t:String(t),this._raw=R(e);let r=!0,i=e;if(!d(e)||_(this._key)||!w(this._key))do r=!Kt(i)||L(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=en(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&B(this._raw[this._key])){let t=this._object[this._key];if(B(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return at(this._raw,this._key)}},ln=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function un(e,t,n){return B(e)?e:h(e)?new ln(e):v(e)&&arguments.length>1?dn(e,t,n):Yt(e)}function dn(e,t,n){return new cn(e,t,n)}var fn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Qe(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Xe-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&M!==this)return Le(this,!0),!0}get value(){let e=this.dep.track();return Ue(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function pn(e,t,n=!1){let r,i;return h(e)?r=e:(r=e.get,i=e.set),new fn(r,i,n)}var mn={},hn=new WeakMap,gn=void 0;function _n(e,t=!1,n=gn){if(n){let t=hn.get(n);t||hn.set(n,t=[]),t.push(e)}}function vn(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:L(e)||o===!1||o===0?yn(e,1):yn(e),m,g,_,v,y=!1,b=!1;if(B(e)?(g=()=>e.value,y=L(e)):Gt(e)?(g=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>Gt(e)||L(e)),g=()=>e.map(e=>{if(B(e))return e.value;if(Gt(e))return p(e);if(h(e))return f?f(e,2):e()})):g=h(e)?n?f?()=>f(e,2):e:()=>{if(_){qe();try{_()}finally{Je()}}let t=gn;gn=m;try{return f?f(e,3,[v]):e(v)}finally{gn=t}}:r,n&&o){let e=g,t=o===!0?1/0:o;g=()=>yn(e(),t)}let x=Ae(),S=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{let n=e(...t);return S(),n}}let C=b?Array(e.length).fill(mn):mn,w=e=>{if(m.flags&1&&(m.dirty||e)){if(n){let t=m.run();if(e||o||y||(b?t.some((e,t)=>O(e,C[t])):O(t,C))){_&&_();let e=gn;gn=m;try{let e=[t,C===mn?void 0:b&&C[0]===mn?[]:C,v];C=t,f?f(n,3,e):n(...e)}finally{gn=e}}}else m.run()}};return u&&u(w),m=new Ne(g),m.scheduler=l?()=>l(w,!1):w,v=e=>_n(e,!1,m),_=m.onStop=()=>{let e=hn.get(m);if(e){if(f)f(e,4);else for(let t of e)t();hn.delete(m)}},n?a?w(!0):C=m.run():l?l(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function yn(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,B(e))yn(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)yn(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{yn(e,t,n)});else if(C(e)){for(let r in e)yn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&yn(e[r],t,n)}return e}function bn(e,t,n,r){try{return r?e(...r):e()}catch(e){xn(e,t,n)}}function V(e,t,n,r){if(h(e)){let i=bn(e,t,n,r);return i&&y(i)&&i.catch(e=>{xn(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(V(e[a],t,n,r));return i}}function xn(e,n,r,i=!0){let a=n?n.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n){for(let t=0;t<n.length;t++)if(n[t](e,i,a)===!1)return}t=t.parent}if(o){qe(),bn(o,null,10,[e,i,a]),Je();return}}Sn(e,r,a,i,s)}function Sn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var H=[],U=-1,Cn=[],wn=null,Tn=0,En=Promise.resolve(),Dn=null;function On(e){let t=Dn||En;return e?t.then(this?e.bind(this):e):t}function kn(e){let t=U+1,n=H.length;for(;t<n;){let r=t+n>>>1,i=H[r],a=Fn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function An(e){if(!(e.flags&1)){let t=Fn(e),n=H[H.length-1];!n||!(e.flags&2)&&t>=Fn(n)?H.push(e):H.splice(kn(t),0,e),e.flags|=1,jn()}}function jn(){Dn||=En.then(In)}function Mn(e){if(!d(e))wn&&e.id===-1?wn.splice(Tn+1,0,e):e.flags&1||(Cn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Cn.push(e[t]);jn()}function Nn(e,t,n=U+1){for(;n<H.length;n++){let t=H[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;H.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function Pn(e){if(Cn.length){let e=[...new Set(Cn)].sort((e,t)=>Fn(e)-Fn(t));if(Cn.length=0,wn){for(let t=0;t<e.length;t++)wn.push(e[t]);return}for(wn=e,Tn=0;Tn<wn.length;Tn++){let e=wn[Tn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}wn=null,Tn=0}}var Fn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function In(e){try{for(U=0;U<H.length;U++){let e=H[U];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),bn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;U<H.length;U++){let e=H[U];e&&(e.flags&=-2)}U=-1,H.length=0,Pn(e),Dn=null,(H.length||Cn.length)&&In(e)}}var W=null,Ln=null;function Rn(e){let t=W;return W=e,Ln=e&&e.type.__scopeId||null,t}function zn(e,t=W,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&Ma(-1);let i=Rn(t),a=Oa.length,o;try{o=e(...n)}finally{for(let e=Oa.length;e>a;e--)Aa();Rn(i),r._d&&Ma(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Bn(e,n){if(W===null)return e;let r=mo(W),i=e.dirs||=[];for(let e=0;e<n.length;e++){let[a,o,s,c=t]=n[e];a&&(h(a)&&(a={mounted:a,updated:a}),a.deep&&yn(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function Vn(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(qe(),V(c,n,8,[e.el,s,e,t]),Je())}}function Hn(e,t){if($){let n=$.provides,r=$.parent&&$.parent.provides;r===n&&(n=$.provides=Object.create(r)),n[e]=t}}function Un(e,t,n=!1){let r=eo();if(r||Ii){let i=Ii?Ii._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&&h(t)?t.call(r&&r.proxy):t}}function Wn(){return!!(eo()||Ii)}var Gn=Symbol.for(`v-scx`),Kn=()=>Un(Gn);function qn(e,t){return Zn(e,null,t)}function Jn(e,t){return Zn(e,null,{flush:`post`})}function Yn(e,t){return Zn(e,null,{flush:`sync`})}function Xn(e,t,n){return Zn(e,t,n)}function Zn(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if(oo){if(c===`sync`){let e=Kn();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=$;u.call=(e,t,n)=>V(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{J(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():An(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=vn(e,n,u);return oo&&(f?f.push(h):d&&h()),h}function Qn(e,t,n){let r=this.proxy,i=g(e)?e.includes(`.`)?$n(r,e):()=>r[e]:e.bind(r,r),a;h(t)?a=t:(a=t.handler,n=t);let o=ro(this),s=Zn(i,a.bind(r),n);return o(),s}function $n(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var er=new WeakMap,tr=Symbol(`_vte`),nr=e=>e.__isTeleport,rr=e=>e&&(e.disabled||e.disabled===``),ir=e=>e&&(e.defer||e.defer===``),ar=e=>typeof SVGElement<`u`&&e instanceof SVGElement,or=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,sr=(e,t)=>{let n=e&&e.to;return g(n)?t?t(n):null:n},cr={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=rr(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=rr(e.props),r=e.target=sr(e.props,m),a=pr(r,e,h,p);r&&(o!==`svg`&&ar(r)?o=`svg`:o!==`mathml`&&or(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),fr(e,!1)))},S=e=>{let t=()=>{if(er.get(e)===t){if(er.delete(e),rr(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),fr(e,!0)}x(e)}};er.set(e,t),J(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),ir(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),fr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=er.get(e);if(u){u.flags|=8,er.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=rr(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||ar(p)?o=`svg`:(o===`mathml`||or(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),ya(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):lr(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=sr(t.props,m);e&&(t.target=e,lr(t,e,null,l,0))}else g&&lr(t,p,h,l,1);fr(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=rr(f),m=a||!p,h=er.get(e);if(h&&(h.flags|=8,er.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:lr,hydrate:ur};function lr(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!er.has(e)&&(!d||rr(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function ur(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=sr(t.props,c),h=rr(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||pr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||pr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),fr(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var dr=cr;function fr(e,t){let 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 pr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[tr]=o,e&&(r(a,e,i),r(o,e,i)),o}var G=Symbol(`_leaveCb`),mr=Symbol(`_enterCb`);function hr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ur(()=>{e.isMounted=!0}),Kr(()=>{e.isUnmounting=!0}),e}var K=[Function,Array],gr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:K,onEnter:K,onAfterEnter:K,onEnterCancelled:K,onBeforeLeave:K,onLeave:K,onAfterLeave:K,onLeaveCancelled:K,onBeforeAppear:K,onAppear:K,onAfterAppear:K,onAppearCancelled:K},_r=e=>{let t=e.subTree;return t.component?_r(t.component):t},vr={name:`BaseTransition`,props:gr,setup(e,{slots:t}){let n=eo(),r=hr();return()=>{let i=t.default&&Er(t.default(),!0),a=i&&i.length?yr(i):n.subTree?Ga():void 0;if(!a)return;let o=R(e),{mode:s}=o;if(r.isLeaving)return Cr(a);let c=wr(a);if(!c)return Cr(a);let l=Sr(c,o,r,n,e=>l=e);c.type!==X&&Tr(c,l);let u=n.subTree&&wr(n.subTree);if(u&&u.type!==X&&!La(u,c)&&_r(n).type!==X){let e=Sr(u,o,r,n);if(Tr(u,e),s===`out-in`&&c.type!==X)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},Cr(a);s===`in-out`&&c.type!==X?e.delayLeave=(e,t,n)=>{let i=xr(r,u);i[String(u.key)]=u,e[G]=()=>{t(),e[G]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function yr(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==X){t=n;break}}return t}var br=vr;function xr(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Sr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=xr(n,e),C=(e,t)=>{e&&V(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),d(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted){if(a)r=_||c;else return}t[G]&&t[G](!0);let i=S[x];i&&La(e,i)&&i.el[G]&&i.el[G](),C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=f;if(!n.isMounted){if(a)r=v||l,i=y||u,o=b||f;else return}let s=!1;t[mr]=e=>{s||(s=!0,C(e?o:i,[t]),T.delayedLeave&&T.delayedLeave(),t[mr]=void 0)};let c=t[mr].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[mr]&&t[mr](!0),n.isUnmounting)return r();C(p,[t]);let a=!1;t[G]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[G]=void 0,S[i]===e&&delete S[i])};let o=t[G].bind(null,!1);S[i]=e,m?w(m,[t,o]):o()},clone(e){let a=Sr(e,t,n,r,i);return i&&i(a),a}};return T}function Cr(e){if(Fr(e))return e=Ua(e),e.children=null,e}function wr(e){if(!Fr(e))return nr(e.type)&&e.children?yr(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&h(n.default))return n.default()}}function Tr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;Tr(nr(n.type)&&wr(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Er(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===Y?(o.patchFlag&128&&i++,r=r.concat(Er(o.children,t,s))):(t||o.type!==X)&&r.push(s==null?o:Ua(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function Dr(e,t){return h(e)?s({name:e.name},t,{setup:e}):e}function Or(){let e=eo();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+e.ids[1]++:``}function kr(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function Ar(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var jr=new WeakMap;function Mr(e,n,r,a,o=!1){if(d(e)){e.forEach((e,t)=>Mr(e,n&&(d(n)?n[t]:n),r,a,o));return}if(Pr(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&Mr(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?mo(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,_=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=R(v),b=v===t?i:e=>!Ar(_,e)&&u(y,e),x=(e,t)=>!(t&&Ar(_,t));if(m!=null&&m!==p){if(Nr(n),g(m))_[m]=null,b(m)&&(v[m]=null);else if(B(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(_[e.k]=null)}}if(h(p))bn(p,f,12,[l,_]);else{let t=g(p),n=B(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:_[p]:x(p)||!e.k?p.value:_[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)_[p]=[s],b(p)&&(v[p]=_[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(_[e.k]=t)}}else t?(_[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(_[e.k]=l))};if(l){let t=()=>{i(),jr.delete(e)};t.id=-1,jr.set(e,t),J(t,r)}else Nr(e),i()}}}function Nr(e){let t=jr.get(e);t&&(t.flags|=8,jr.delete(e))}le().requestIdleCallback,le().cancelIdleCallback;var Pr=e=>!!e.type.__asyncLoader,Fr=e=>e.type.__isKeepAlive;function Ir(e,t){Rr(e,`a`,t)}function Lr(e,t){Rr(e,`da`,t)}function Rr(e,t,n=$){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Br(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Fr(e.parent.vnode)&&zr(r,t,n,e),e=e.parent}}function zr(e,t,n,r){let i=Br(t,e,r,!0);qr(()=>{c(r[t],i)},n)}function Br(e,t,n=$,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{qe();let i=ro(n),a=V(t,n,e,r);return i(),Je(),a};return r?i.unshift(a):i.push(a),a}}var Vr=e=>(t,n=$)=>{oo&&e!==`sp`||Br(e,(...e)=>t(...e),n)},Hr=Vr(`bm`),Ur=Vr(`m`),Wr=Vr(`bu`),Gr=Vr(`u`),Kr=Vr(`bum`),qr=Vr(`um`),Jr=Vr(`sp`),Yr=Vr(`rtg`),Xr=Vr(`rtc`);function Zr(e,t=$){Br(`ec`,e,t)}var Qr=`components`;function $r(e,t){return ni(Qr,e,!0,t)||e}var ei=Symbol.for(`v-ndc`);function ti(e){return g(e)?ni(Qr,e,!1)||e:e||ei}function ni(e,t,n=!0,r=!1){let i=W||$;if(i){let n=i.type;if(e===Qr){let e=ho(n,!1);if(e&&(e===t||e===E(t)||e===re(E(t))))return n}let a=ri(i[e]||n[e],t)||ri(i.appContext[e],t);return!a&&r?n:a}}function ri(e,t){return e&&(e[t]||e[E(t)]||e[re(E(t))])}function ii(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||g(e)){let n=o&&Gt(e),r=!1,s=!1;n&&(r=!L(e),s=I(e),e=st(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Jt(z(e[n])):z(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(v(e)){if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}}else i=[];return n&&(n[r]=i),i}function ai(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(d(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function oi(e,t,n,r,i,a){if(n??={},W.ce||W.parent&&Pr(W.parent)&&W.parent.ce){let e=a!=null&&n.key==null?s({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),ka(),Fa(Y,null,[Q(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let c=Oa.length;ka();let l;try{let i=o&&si(o(n)),s=n.key||a||i&&i.key;l=Fa(Y,{key:(s&&!_(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=Oa.length;e>c;e--)Aa();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+`-s`]),l}function si(e){return e.some(e=>!Ia(e)||!(e.type===X||e.type===Y&&!si(e.children)))?e:null}function ci(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ie(r)]=e[r];return n}var li=e=>e?ao(e)?mo(e):li(e.parent):null,ui=s(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=>li(e.parent),$root:e=>li(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>wi(e),$forceUpdate:e=>e.f||=()=>{An(e.update)},$nextTick:e=>e.n||=On.bind(e.proxy),$watch:e=>Qn.bind(e)}),di=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),fi={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(di(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else yi&&(s[n]=0)}let d=ui[n],f,p;if(d)return n===`$attrs`&&P(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return di(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||di(n,c)||u(o,c)||u(i,c)||u(ui,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function pi(){return hi(`useSlots`).slots}function mi(){return hi(`useAttrs`).attrs}function hi(e){let t=eo();return t.setupContext||=po(t)}function gi(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function _i(e,t){let n=gi(e);for(let e in t){if(e.startsWith(`__skip`))continue;let r=n[e];r?d(r)||h(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:r===null&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function vi(e,t){return!e||!t?e||t:d(e)&&d(t)?e.concat(t):s({},gi(e),gi(t))}var yi=!0;function bi(e){let t=wi(e),n=e.proxy,i=e.ctx;yi=!1,t.beforeCreate&&Si(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:g,updated:_,activated:y,deactivated:b,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:T,renderTracked:ee,renderTriggered:te,errorCaptured:E,serverPrefetch:ne,expose:D,inheritAttrs:re,components:ie,directives:O,filters:ae}=t;if(u&&xi(u,i,null),s)for(let e in s){let t=s[e];h(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);v(t)&&(e.data=Bt(t))}if(yi=!0,o)for(let e in o){let t=o[e],a=_o({get:h(t)?t.bind(n,n):h(t.get)?t.get.bind(n,n):r,set:!h(t)&&h(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)Ci(c[e],i,n,e);if(l){let e=h(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{Hn(t,e[t])})}f&&Si(f,e,`c`);function k(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(k(Hr,p),k(Ur,m),k(Wr,g),k(Gr,_),k(Ir,y),k(Lr,b),k(Zr,E),k(Xr,ee),k(Yr,te),k(Kr,S),k(qr,w),k(Jr,ne),d(D)){if(D.length){let t=e.exposed||={};D.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}T&&e.render===r&&(e.render=T),re!=null&&(e.inheritAttrs=re),ie&&(e.components=ie),O&&(e.directives=O),ne&&kr(e)}function xi(e,t,n=r){d(e)&&(e=ki(e));for(let n in e){let r=e[n],i;i=v(r)?`default`in r?Un(r.from||n,r.default,!0):Un(r.from||n):Un(r),B(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Si(e,t,n){V(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ci(e,t,n,r){let i=r.includes(`.`)?$n(n,r):()=>n[r];if(g(e)){let n=t[e];h(n)&&Xn(i,n)}else if(h(e))Xn(i,e.bind(n));else if(v(e)){if(d(e))e.forEach(e=>Ci(e,t,n,r));else{let r=h(e.handler)?e.handler.bind(n):t[e.handler];h(r)&&Xn(i,r,e)}}}function wi(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>Ti(c,e,o,!0)),Ti(c,t,o)),v(t)&&a.set(t,c),c}function Ti(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&Ti(e,a,n,!0),i&&i.forEach(t=>Ti(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Ei[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Ei={data:Di,props:ji,emits:ji,methods:Ai,computed:Ai,beforeCreate:q,created:q,beforeMount:q,mounted:q,beforeUpdate:q,updated:q,beforeDestroy:q,beforeUnmount:q,destroyed:q,unmounted:q,activated:q,deactivated:q,errorCaptured:q,serverPrefetch:q,components:Ai,directives:Ai,watch:Mi,provide:Di,inject:Oi};function Di(e,t){return t?e?function(){return s(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function Oi(e,t){return Ai(ki(e),ki(t))}function ki(e){if(d(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function q(e,t){return e?[...new Set([].concat(e,t))]:t}function Ai(e,t){return e?s(Object.create(null),e,t):t}function ji(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),gi(e),gi(t??{})):t}function Mi(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=q(e[r],t[r]);return n}function Ni(){return{app:null,config:{isNativeTag:i,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}}var Pi=0;function Fi(e,t){return function(n,r=null){h(n)||(n=s({},n)),r!=null&&!v(r)&&(r=null);let i=Ni(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:Pi++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:xo,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&h(e.install)?(a.add(e),e.install(l,...t)):h(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||Q(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,mo(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(V(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=Ii;Ii=l;try{return e()}finally{Ii=t}}};return l}}var Ii=null;function Li(e,n,r=t){let i=eo(),a=E(n),o=D(n),s=Ri(e,a),c=on((s,c)=>{let l,u=t,d;return Yn(()=>{let t=e[a];O(l,t)&&(l=t,c())}),{get(){return s(),r.get?r.get(l):l},set(e){let s=r.set?r.set(e):e;if(!O(s,l)&&!(u!==t&&O(e,u)))return;let f=i.vnode.props,p=!!(f&&(n in f||a in f||o in f)&&(`onUpdate:${n}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f));p||(l=e,c()),i.emit(`update:${n}`,s),O(e,u)&&(O(e,s)&&!O(s,d)||p&&u!==t&&!O(s,l))&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||t:c,done:!1}:{done:!0}}}},c}var Ri=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${E(t)}Modifiers`]||e[`${D(t)}Modifiers`];function zi(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&Ri(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>g(e)?e.trim():e)),s.number&&(a=a.map(oe)));let c,l=i[c=ie(n)]||i[c=ie(E(n))];!l&&o&&(l=i[c=ie(D(n))]),l&&V(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,V(u,e,6,a)}}var Bi=new WeakMap;function Vi(e,t,n=!1){let r=n?Bi:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!h(e)){let r=e=>{let n=Vi(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(v(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),v(e)&&r.set(e,o),o)}function Hi(e,t){return!e||!a(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,D(t))||u(e,t))}function Ui(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Rn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Ka(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=Ka(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:Wi(c)}}catch(t){Oa.length=0,xn(t,e,1),v=Q(X)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=Gi(y,a)),b=Ua(b,y,!1,!0))}return n.dirs&&(b=Ua(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Tr(nr(b.type)&&wr(b)||b,n.transition),v=b,Rn(_),v}var Wi=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},Gi=(e,t)=>{let n={};for(let r in e)o(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Ki(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?qi(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Ji(o,r,n)&&!Hi(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||qi(r,o,l):!!o;return!1}function qi(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(Ji(t,e,a)&&!Hi(n,a))return!0}return!1}function Ji(e,t,n){let r=e[n],i=t[n];return n===`style`&&v(r)&&v(i)?!Se(r,i):r!==i}function Yi({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var Xi={},Zi=()=>Object.create(Xi),Qi=e=>Object.getPrototypeOf(e)===Xi;function $i(e,t,n,r=!1){let i={},a=Zi();e.propsDefaults=Object.create(null),ta(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:Vt(i):e.type.props?i:a,e.attrs=a}function ea(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=R(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Hi(e.emitsOptions,o))continue;let d=t[o];if(c){if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=E(o);i[t]=na(c,s,t,d,e,!1)}}else d!==a[o]&&(a[o]=d,l=!0)}}}else{ta(e,t,i,a)&&(l=!0);let r;for(let a in s)t&&(u(t,a)||(r=D(a))!==a&&u(t,r))||(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=na(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)t&&u(t,e)||(delete a[e],l=!0)}l&&it(e.attrs,`set`,``)}function ta(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(T(t))continue;let l=n[t],d;a&&u(a,d=E(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:Hi(e.emitsOptions,t)||t in i&&l===i[t]||(i[t]=l,s=!0)}if(o){let n=R(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=na(a,n,s,i[s],e,!u(i,s))}}return s}function na(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&h(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=ro(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===D(n))&&(r=!0))}return r}var ra=new WeakMap;function ia(e,r,i=!1){let a=i?ra:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!h(e)){let t=e=>{p=!0;let[t,n]=ia(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return v(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=E(c[e]);aa(n)&&(l[n]=t)}else if(c)for(let e in c){let t=E(e);if(aa(t)){let n=c[e],r=l[t]=d(n)||h(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=h(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=h(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return v(e)&&a.set(e,m),m}function aa(e){return e[0]!==`$`&&!T(e)}var oa=e=>e===`_`||e===`_ctx`||e===`$stable`,sa=e=>d(e)?e.map(Ka):[Ka(e)],ca=(e,t,n)=>{if(t._n)return t;let r=zn((...e)=>sa(t(...e)),n);return r._c=!1,r},la=(e,t,n)=>{let r=e._ctx;for(let n in e){if(oa(n))continue;let i=e[n];if(h(i))t[n]=ca(n,i,r);else if(i!=null){let e=sa(i);t[n]=()=>e}}},ua=(e,t)=>{let n=sa(t);e.slots.default=()=>n},da=(e,t,n)=>{for(let r in t)(n||!oa(r))&&(e[r]=t[r])},fa=(e,t,n)=>{let r=e.slots=Zi();if(e.vnode.shapeFlag&32){let e=t._;e?(da(r,t,n),n&&k(r,`_`,e,!0)):la(t,r)}else t&&ua(e,t)},pa=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:da(a,n,r):(o=!n.$stable,la(n,a)),s=n}else n&&(ua(e,n),s={default:1});if(o)for(let e in a)!oa(e)&&s[e]==null&&delete a[e]},J=Ta;function ma(e){return ha(e)}function ha(e,i){let a=le();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=r,insertStaticContent:_}=e,v=(e,t,r,i=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!La(e,t)&&(i=ve(e),A(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===n&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case Ea:y(e,t,r,i);break;case X:b(e,t,r,i);break;case Da:e??x(t,r,i,s);break;case Y:ie(e,t,r,i,a,o,s,c,l);break;default:f&1?w(e,t,r,i,a,o,s,c,l):f&6?O(e,t,r,i,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,r,i,a,o,s,c,l,xe)}d!=null&&a?Mr(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&Mr(e.ref,null,o,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ee(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ne(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ee=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&E(e.children,d,null,r,i,ga(e,a),s,u),_&&Vn(e,null,r,`created`),te(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!T(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Xa(f,r,e)}_&&Vn(e,null,r,`beforeMount`);let v=va(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&J(()=>{try{f&&Xa(f,r,e),v&&g.enter(d),_&&Vn(e,null,r,`mounted`)}finally{}},i)},te=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||wa(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;te(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},E=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?qa(e[l]):Ka(e[l]);v(null,c,t,n,r,i,a,o,s)}},ne=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&_a(r,!1),(g=h.onVnodeBeforeUpdate)&&Xa(g,r,n,e),f&&Vn(n,e,r,`beforeUpdate`),r&&_a(r,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?D(e.dynamicChildren,d,l,r,i,ga(n,a),o):s||ue(e,n,l,null,r,i,ga(n,a),o,!1),u>0){if(u&16)re(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&p(l,n.children)}else!s&&d==null&&re(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&J(()=>{g&&Xa(g,r,n,e),f&&Vn(n,e,r,`updated`)},i)},D=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el&&(c.type===Y||!La(c,l)||c.shapeFlag&198)?m(c.el):n;v(c,l,u,null,r,i,a,o,!0)}},re=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!T(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(T(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},ie=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),E(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(D(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&ya(e,t,!0)):ue(e,t,n,f,i,a,s,c,l)},O=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):k(t,n,r,i,a,o,c):oe(e,t,c)},k=(e,t,n,r,i,a,o)=>{let s=e.component=$a(e,r,i);if(Fr(e)&&(s.ctx.renderer=xe),so(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,se,o),!e.el){let r=s.subTree=Q(X);b(null,r,t,n),e.placeholder=r.el}}else se(s,e,t,n,i,a,o)},oe=(e,t,n)=>{let r=t.component=e.component;if(Ki(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,ce(r,t,n);return}r.next=t,r.update()}else t.el=e.el,r.vnode=t},se=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=xa(e);if(n){t&&(t.el=c.el,ce(e,t,o)),n.asyncDep.then(()=>{J(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;_a(e,!1),t?(t.el=c.el,ce(e,t,o)):t=c,n&&ae(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Xa(d,s,t,c),_a(e,!0);let f=Ui(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),ve(p),e,i,a),t.el=f.el,u===null&&Yi(e,f.el),r&&J(r,i),(d=t.props&&t.props.onVnodeUpdated)&&J(()=>Xa(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Pr(t);if(_a(e,!1),l&&ae(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Xa(o,d,t),_a(e,!0),s&&Ce){let t=()=>{e.subTree=Ui(e),Ce(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=Ui(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&J(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;J(()=>Xa(o,d,e),i)}(t.shapeFlag&256||d&&Pr(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&J(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Ne(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>An(u),_a(e,!0),l()},ce=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,ea(e,t.props,r,n),pa(e,t.children,n),qe(),Nn(e),Je()},ue=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){fe(l,d,n,r,i,a,o,s,c);return}if(f&256){de(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&_e(l,i,a),d!==l&&p(n,d)):u&16?m&16?fe(l,d,n,r,i,a,o,s,c):_e(l,i,a,!0):(u&8&&p(n,``),m&16&&E(d,n,r,i,a,o,s,c))},de=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let n=t[p]=l?qa(t[p]):Ka(t[p]);v(e[p],n,r,null,a,o,s,c,l)}u>d?_e(e,a,o,!0,!1,f):E(t,r,i,a,o,s,c,l,f)},fe=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?qa(t[u]):Ka(t[u]);if(La(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?qa(t[p]):Ka(t[p]);if(La(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?qa(t[u]):Ka(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)A(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?qa(t[u]):Ka(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let n=e[u];if(y>=b){A(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&La(n,t[_])){i=_;break}i===void 0?A(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let w=x?ba(C):n;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||Ca(f):i;C[u]===0?v(null,n,r,p,a,o,s,c,l):x&&(_<0||u!==w[_]?pe(n,r,p,2):_--)}}},pe=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6)pe(e.component.subTree,t,n,r);else if(d&128)e.suspense.move(t,n,r);else if(d&64)c.move(e,t,n,xe);else if(c===Y){o(a,t,n);for(let e=0;e<u.length;e++)pe(u[e],t,n,r);o(e.anchor,t,n)}else if(c===Da)S(e,t,n);else if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[G]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),J(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[G];a._isLeaving&&a[G](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},A=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&(qe(),Mr(s,null,n,e,!0),Je()),p==null||e.ctx&&e.ctx!==t||(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!Pr(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Xa(_,t,e),u&6)ge(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Vn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,xe,r):l&&!l.hasOnce&&(a!==Y||d>0&&d&64)?_e(l,t,n,!1,!0):(a===Y&&d&384||!i&&u&16)&&_e(c,t,n),r&&me(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&J(()=>{_&&Xa(_,t,e),h&&Vn(e,null,t,`unmounted`),v&&(e.el=null)},n)},me=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===Y){he(n,r);return}if(t===Da){C(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let a=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},he=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},ge=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Sa(c),Sa(l),r&&ae(r),i.stop(),a?(a.flags|=8,A(o,e,t,n)):e.vnode.el&&o&&(o.transition=e.vnode.transition,A(o,e,t,n)),s&&J(s,t),J(()=>{e.isUnmounted=!0},t)},_e=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)A(e[o],t,n,r,i)},ve=e=>{if(e.shapeFlag&6)return ve(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[tr];return n?h(n):t},ye=!1,be=(e,t,n)=>{let r;e==null?t._vnode&&(A(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ye||=(ye=!0,Nn(r),Pn(),!1)},xe={p:v,um:A,m:pe,r:me,mt:k,mc:E,pc:ue,pbc:D,n:ve,o:e},Se,Ce;return i&&([Se,Ce]=i(xe)),{render:be,hydrate:Se,createApp:Fi(be,Se)}}function ga({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 _a({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function va(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ya(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=qa(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&ya(t,a)),a.type===Ea&&(a.patchFlag===-1&&(a=i[e]=qa(a)),a.el=t.el),a.type===X&&!a.el&&(a.el=t.el)}}function ba(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function xa(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:xa(t)}function Sa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ca(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Ca(t.subTree):null}var wa=e=>e.__isSuspense;function Ta(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):Mn(e)}var Y=Symbol.for(`v-fgt`),Ea=Symbol.for(`v-txt`),X=Symbol.for(`v-cmt`),Da=Symbol.for(`v-stc`),Oa=[],Z=null;function ka(e=!1){Oa.push(Z=e?null:[])}function Aa(){Oa.pop(),Z=Oa[Oa.length-1]||null}var ja=1;function Ma(e,t=!1){ja+=e,e<0&&Z&&t&&(Z.hasOnce=!0)}function Na(e){return e.dynamicChildren=ja>0?Z||n:null,Aa(),ja>0&&Z&&Z.push(e),e}function Pa(e,t,n,r,i,a){return Na(Ba(e,t,n,r,i,a,!0))}function Fa(e,t,n,r,i){return Na(Q(e,t,n,r,i,!0))}function Ia(e){return e?e.__v_isVNode===!0:!1}function La(e,t){return e.type===t.type&&e.key===t.key}var Ra=({key:e})=>e??null,za=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:g(e)||B(e)||h(e)?{i:W,r:e,k:t,f:!!n}:e);function Ba(e,t=null,n=null,r=0,i=null,a=e===Y?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ra(t),ref:t&&za(t),scopeId:Ln,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:W};return s?(Ja(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),ja>0&&!o&&Z&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&Z.push(c),c}var Q=Va;function Va(e,t=null,n=null,r=0,i=null,a=!1){if(e&&e!==ei||(e=X),Ia(e)){let r=Ua(e,t,!0);return n&&Ja(r,n),ja>0&&!a&&Z&&(r.shapeFlag&6?Z[Z.indexOf(e)]=r:Z.push(r)),r.patchFlag=-2,r}if(go(e)&&(e=e.__vccOpts),t){t=Ha(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=me(e)),v(n)&&(Kt(n)&&!d(n)&&(n=s({},n)),t.style=ue(n))}let o=g(e)?1:wa(e)?128:nr(e)?64:v(e)?4:h(e)?2:0;return Ba(e,t,n,r,i,o,a,!0)}function Ha(e){return e?Kt(e)||Qi(e)?s({},e):e:null}function Ua(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?Ya(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ra(l),ref:t&&t.ref?n&&a?d(a)?a.concat(za(t)):[a,za(t)]:za(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Y?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ua(e.ssContent),ssFallback:e.ssFallback&&Ua(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&Tr(u,c.clone(u)),u}function Wa(e=` `,t=0){return Q(Ea,null,e,t)}function Ga(e=``,t=!1){return t?(ka(),Fa(X,null,e)):Q(X,null,e)}function Ka(e){return e==null||typeof e==`boolean`?Q(X):d(e)?Q(Y,null,e.slice()):Ia(e)?qa(e):Q(Ea,null,String(e))}function qa(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ua(e)}function Ja(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Ja(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!Qi(t)?t._ctx=W:r===3&&W&&(W.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(h(t)){if(r&65){Ja(e,{default:t});return}t={default:t,_ctx:W},n=32}else t=String(t),r&64?(n=16,t=[Wa(t)]):n=8;e.children=t,e.shapeFlag|=n}function Ya(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=me([t.class,r.class]));else if(e===`style`)t.style=ue([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!o(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Xa(e,t,n,r=null){V(e,t,7,[n,r])}var Za=Ni(),Qa=0;function $a(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||Za,o={uid:Qa++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Oe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ia(i,a),emitsOptions:Vi(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=n?n.root:o,o.emit=zi.bind(null,o),e.ce&&e.ce(o),o}var $=null,eo=()=>$||W,to,no;{let e=le(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};to=t(`__VUE_INSTANCE_SETTERS__`,e=>$=e),no=t(`__VUE_SSR_SETTERS__`,e=>oo=e)}var ro=e=>{let t=$;return to(e),e.scope.on(),()=>{e.scope.off(),to(t)}},io=()=>{$&&$.scope.off(),to(null)};function ao(e){return e.vnode.shapeFlag&4}var oo=!1;function so(e,t=!1,n=!1){t&&no(t);let{props:r,children:i}=e.vnode,a=ao(e);$i(e,r,a,t),fa(e,i,n||t);let o=a?co(e,t):void 0;return t&&no(!1),o}function co(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fi);let{setup:r}=n;if(r){qe();let n=e.setupContext=r.length>1?po(e):null,i=ro(e),a=bn(r,e,0,[e.props,n]),o=y(a);if(Je(),i(),(o||e.sp)&&!Pr(e)&&kr(e),o){if(a.then(io,io),t)return a.then(n=>{no(!0);try{lo(e,n,t)}finally{no(!1)}}).catch(t=>{xn(t,e,0)});e.asyncDep=a}else lo(e,a,t)}else uo(e,t)}function lo(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=rn(t)),uo(e,n)}function uo(e,t,n){let i=e.type;e.render||=i.render||r;{let t=ro(e);qe();try{bi(e)}finally{Je(),t()}}}var fo={get(e,t){return P(e,`get`,``),e[t]}};function po(e){return{attrs:new Proxy(e.attrs,fo),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function mo(e){return e.exposed?e.exposeProxy||=new Proxy(rn(qt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ui)return ui[n](e)},has(e,t){return t in e||t in ui}}):e.proxy}function ho(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.__name}function go(e){return h(e)&&`__vccOpts`in e}var _o=(e,t)=>pn(e,t,oo);function vo(e,t,n){try{Ma(-1);let r=arguments.length;return r===2?v(t)&&!d(t)?Ia(t)?Q(e,null,[t]):Q(e,t):Q(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ia(n)&&(n=[n]),Q(e,t,n))}finally{Ma(1)}}function yo(e,t,n,r){let i=n[r];if(i&&bo(i,e))return i;let a=t();return a.memo=e.slice(),a.cacheIndex=r,n[r]=a}function bo(e,t){let n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(O(n[e],t[e]))return!1;return ja>0&&Z&&Z.push(e),!0}var xo=`3.5.43`,So=Yt({apiVersion:1,plugins:[]}),Co=Yt({userRoot:``}),wo=Yt({posts:[]}),To=Yt([]),Eo=Yt(),Do=Yt(),Oo={editor:``,siteUrl:``,sortOrder:`updated`,sortDirection:`desc`,listDensity:`comfortable`};function ko(){try{let e=localStorage.getItem(`valaxy-devtools-settings`);return e?{...Oo,...JSON.parse(e)}:{...Oo}}catch{return{...Oo}}}var Ao=Yt(ko());Xn(Ao,e=>{localStorage.setItem(`valaxy-devtools-settings`,JSON.stringify(e))},{deep:!0});export{Jn as $,Wn as A,o as At,ka as B,me as Bt,ai as C,re as Ct,eo as D,ae as Dt,Dr as E,_e as Et,On as F,g as Ft,ti as G,se as Gt,ii as H,ue as Ht,Kr as I,_ as It,Or as J,ci as K,Ur as L,Se as Lt,_i as M,a as Mt,vi as N,p as Nt,Ha as O,d as Ot,Ya as P,ge as Pt,qn as Q,qr as R,Ce as Rt,ma as S,E as St,Q as T,D as Tt,oi as U,Te as Ut,Hn as V,he as Vt,$r as W,ie as Wt,pi as X,Li as Y,Xn as Z,_o as _,un as _t,So as a,ke as at,Ga as b,$t as bt,Ao as c,qt as ct,X as d,Ht as dt,Yn as et,Y as f,Yt as ft,Ua as g,R as gt,V as h,Xt as ht,Oo as i,on as it,Un as j,v as jt,vo as k,h as kt,br as l,je as lt,Ea as m,Ut as mt,Eo as n,Bn as nt,Do as o,Ae as ot,dr as p,Vt as pt,mi as q,To as r,yo as rt,wo as s,B as st,Co as t,zn as tt,gr as u,Bt as ut,Ba as v,sn as vt,Wa as w,s as wt,Pa as x,en as xt,Fa as y,tn as yt,Gr as z,oe as zt};
@@ -0,0 +1 @@
1
+ import{t as e}from"./VDPostPanel-DMEBztnO.js";import{B as t,Bt as n,E as r,H as i,T as a,Ut as o,_ as s,b as c,f as l,n as u,s as d,tt as f,v as p,w as m,x as h,xt as g,y as _}from"./app-D70151fp.js";import{$ as v,p as y}from"./index-BJGKneng.js";import{n as b,t as x}from"./splitpanes.esm-CUQA4hIN.js";var S={class:`h-full flex flex-col`},C={class:`flex items-center gap-2 px-3 py-2 border-b border-mute`},w={class:`text-sm font-bold flex-1`},T={class:`text-xs op-50 tabular-nums`},E={class:`flex-1 overflow-auto p-4`},D={class:`flex flex-col`},O={class:`text-base font-bold color-base mb-2 flex items-center gap-2`},k={class:`text-xs font-semibold color-muted mb-1.5`},A={class:`flex flex-col gap-0.5`},j=[`onClick`],M={class:`text-sm truncate flex-1`},N={class:`text-xs op-40 tabular-nums shrink-0`},P={key:0,class:`flex flex-col items-center justify-center py-12 op-40`},F={class:`text-sm`},I={class:`h-full flex flex-col`},L={class:`flex items-center gap-2 px-3 py-2 border-b border-mute`},R={class:`text-sm font-bold flex-1`},z=r({__name:`archives`,setup(r){let z=y(`(max-width: 640px)`),{t:B,locale:V}=v(),H=s(()=>new Intl.DateTimeFormat(V.value,{month:`long`})),U=s(()=>[...d.value.posts].filter(e=>e.frontmatter.date).sort((e,t)=>new Date(t.frontmatter.date).getTime()-new Date(e.frontmatter.date).getTime())),W=s(()=>{let e=new Map;for(let t of U.value){let n=new Date(t.frontmatter.date),r=n.getFullYear(),i=n.getMonth();e.has(r)||e.set(r,new Map);let a=e.get(r);a.has(i)||a.set(i,[]),a.get(i).push(t)}return[...e.entries()].sort((e,t)=>t[0]-e[0]).map(([e,t])=>({year:e,months:[...t.entries()].sort((e,t)=>t[0]-e[0]).map(([e,t])=>({month:e,posts:t}))}))});function G(e){return H.value.format(new Date(2e3,e,1))}function K(e){if(!e)return``;let t=new Date(e);return`${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)}`}function q(e){u.value=e}return(r,s)=>{let d=e;return t(),_(g(b),{horizontal:g(z),class:`h-full`},{default:f(()=>[a(g(x),{"min-size":`20`,size:`33`},{default:f(()=>[p(`div`,S,[p(`div`,C,[s[0]||=p(`div`,{class:`i-ri-archive-line op-60`},null,-1),p(`h3`,w,o(g(B)(`archives.title`)),1),p(`span`,T,o(g(B)(`archives.posts_count`,{count:U.value.length})),1)]),p(`div`,E,[p(`div`,D,[(t(!0),h(l,null,i(W.value,e=>(t(),h(`div`,{key:e.year,class:`mb-5`},[p(`h2`,O,[s[1]||=p(`div`,{class:`w-2.5 h-2.5 rounded-full bg-primary-500 shrink-0`},null,-1),m(` `+o(e.year),1)]),(t(!0),h(l,null,i(e.months,e=>(t(),h(`div`,{key:e.month,class:`ml-1.25 border-l-2 border-base pl-4 mb-3`},[p(`h3`,k,o(G(e.month)),1),p(`ul`,A,[(t(!0),h(l,null,i(e.posts,e=>(t(),h(`li`,{key:e.routePath,class:n([`flex items-center gap-2 py-1 px-2 rounded cursor-pointer transition-colors group`,g(u)?.routePath===e.routePath?`bg-active color-active `:`hover:bg-hover `]),onClick:t=>q(e)},[p(`div`,{class:n([`w-1.5 h-1.5 rounded-full shrink-0 transition-colors`,g(u)?.routePath===e.routePath?`bg-primary-500`:`bg-sunken group-hover:bg-primary-400`])},null,2),p(`span`,M,o(e.frontmatter.title||e.routePath),1),p(`span`,N,o(K(e.frontmatter.date)),1)],10,j))),128))])]))),128))]))),128)),W.value.length===0?(t(),h(`div`,P,[s[2]||=p(`div`,{class:`i-ri-archive-line text-4xl mb-2`},null,-1),p(`span`,F,o(g(B)(`archives.posts_count`,{count:0})),1)])):c(``,!0)])])])]),_:1}),a(g(x),null,{default:f(()=>[p(`div`,I,[p(`div`,L,[p(`h3`,R,o(g(B)(`posts.detail`)),1)]),a(d,{class:`flex-1 overflow-auto`})])]),_:1})]),_:1},8,[`horizontal`])}}});export{z as default};
@@ -0,0 +1 @@
1
+ import{$ as e,A as t,B as n,E as r,F as i,G as a,H as o,J as s,M as c,N as l,O as u,P as d,Q as f,S as p,T as m,V as h,X as g,Y as _,Z as v,b as y,g as b,j as x,k as S,p as ee,q as C,t as w,v as T,w as E,y as D}from"./index-BJGKneng.js";import{B as O,Bt as te,D as k,E as A,F as j,G as M,H as N,K as ne,L as P,N as F,O as I,P as L,R,T as z,U as B,Ut as V,Vt as re,Y as ie,Z as ae,_ as H,b as U,et as oe,f as W,ft as G,rt as se,s as K,st as ce,tt as q,v as J,vt as le,w as Y,x as X,xt as Z,y as Q}from"./app-D70151fp.js";import{a as ue,c as de,d as fe,f as pe,g as me,i as he,l as ge,o as _e,s as ve,t as ye}from"./VDSelect-ChDEUGo2.js";import{n as be,r as xe,t as Se}from"./VDCheckbox-d9tAu2AU.js";import{c as Ce,l as we}from"./runtime-dom.esm-bundler-DsZABnoH.js";import{n as Te,t as Ee}from"./splitpanes.esm-CUQA4hIN.js";import{t as De}from"./i18n-BBTb3XL7.js";import{a as Oe}from"./rpc-Bp_Ufxfr.js";function ke(e,t,n){let r=e.findIndex(e=>me(e,t)),i=e.findIndex(e=>me(e,n));if(r===-1||i===-1)return[];let[a,o]=[r,i].sort((e,t)=>e-t);return e.slice(a,o+1)}function Ae(e){let t=H(()=>Z(e)),n=H(()=>new Intl.Collator(`en`,{usage:`search`,...t.value}));return{startsWith:(e,t)=>t.length===0||(e=e.normalize(`NFC`),t=t.normalize(`NFC`),n.value.compare(e.slice(0,t.length),t)===0),endsWith:(e,t)=>t.length===0||(e=e.normalize(`NFC`),t=t.normalize(`NFC`),n.value.compare(e.slice(-t.length),t)===0),contains:(e,t)=>{if(t.length===0)return!0;if(e=e.normalize(`NFC`),t=t.normalize(`NFC`),t.length>e.length)return!1;let r=n.value.compare;if(e.includes(t))return!0;let i=t.length;for(let n=0;n+i<=e.length;n++)if(r(t,e.slice(n,n+i))===0)return!0;return!1}}}function je(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(e=>Me(e,t,n)):Me(e,t,n)}function Me(e,t,n){return e===void 0||t===void 0?!1:typeof e==`string`?e===t:typeof n==`function`?n(e,t):typeof n==`string`?e?.[n]===t?.[n]:me(e,t)}var[Ne,Pe]=_(`ListboxRoot`),[Fe,Ie]=_(`ListboxHighlightScroll`),Le=A({__name:`ListboxRoot`,props:{modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},multiple:{type:Boolean,required:!1},orientation:{type:String,required:!1,default:`vertical`},dir:{type:String,required:!1},disabled:{type:Boolean,required:!1},selectionBehavior:{type:String,required:!1,default:`toggle`},highlightOnHover:{type:Boolean,required:!1},by:{type:[String,Function],required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`,`highlight`,`entryFocus`,`leave`],setup(e,{expose:t,emit:i}){let a=e,s=i,{multiple:c,highlightOnHover:l,orientation:u,disabled:f,selectionBehavior:p,dir:m}=le(a),{getItems:g,getItem:_}=ve({isProvider:!0}),{handleTypeaheadSearch:v}=ge(),{primitiveElement:y,currentElement:b}=de(),x=be(),S=d(m),ee=Fe(null);Ie({suppressHighlightScroll:G(!1),onHighlightScrollRequest:()=>{}});let C=fe(b),w=G(),T=G(!1),E=G(!0),D=n(a,`modelValue`,s,{defaultValue:a.defaultValue??(c.value?[]:void 0),passive:a.modelValue===void 0,deep:!0});function te(e){if(T.value=!0,a.multiple){let t=Array.isArray(D.value)?[...D.value]:[],n=t.findIndex(t=>Me(t,e,a.by));a.selectionBehavior===`toggle`?(n===-1?t.push(e):t.splice(n,1),D.value=t):(D.value=[e],w.value=e)}else a.selectionBehavior===`toggle`&&Me(D.value,e,a.by)?D.value=void 0:D.value=e;setTimeout(()=>{T.value=!1},1)}let k=G(null),A=G(null),M=G(!1),N=G(!1),ne=h(),P=h(),F=h();function I(){return g().map(e=>e.ref).filter(e=>e.dataset.disabled!==``)}function L(e,t=!0,n){if(!e)return;k.value=e;let r=ee?.suppressHighlightScroll.value??!1;(n??E.value)&&(r?k.value.focus({preventScroll:!0}):k.value.focus()),r?ee?.onHighlightScrollRequest(t?()=>{let e=k.value;e?.isConnected&&e.scrollIntoView({block:`nearest`})}:void 0):t&&k.value.scrollIntoView({block:`nearest`});let i=_(e);s(`highlight`,i)}function R(e){if(M.value)F.trigger(e);else{let t=g().find(t=>Me(t.value,e,a.by));t&&(k.value=t.ref,L(t.ref))}}function z(e){if(k.value&&k.value.isConnected){if(e.ctrlKey||e.metaKey||e.altKey)return;e.preventDefault(),e.stopPropagation(),N.value||k.value.click()}}function V(e){if(E.value){if(T.value=!0,M.value)P.trigger(e);else{let t=e.altKey||e.ctrlKey||e.metaKey;if(t&&e.key===`a`&&c.value){let t=g(),n=t.map(e=>e.value);D.value=[...n],e.preventDefault();let r=t.at(-1);r&&L(r.ref)}else if(!t){let t=v(e.key,g());t&&L(t)}}setTimeout(()=>{T.value=!1},1)}}function re(){N.value=!0}function ie(){j(()=>{N.value=!1})}function H(){j(()=>{se(new KeyboardEvent(`keydown`,{key:`PageUp`}))})}function oe(e){let t=k.value;t?.isConnected&&(A.value=t),k.value=null,s(`leave`,e)}function W(e){let t=new CustomEvent(`listbox.entryFocus`,{bubbles:!1,cancelable:!0});if(e.currentTarget?.dispatchEvent(t),s(`entryFocus`,t),!t.defaultPrevented){if(A.value)L(A.value);else{let e=I()?.[0];L(e)}}}function se(e){let t=ue(e,u.value,S.value);if(!t)return;let n=I();if(k.value){if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let e=n.indexOf(k.value);n=n.slice(e+1)}K(e,n[0])}if(n.length){let e=!k.value&&t===`prev`?n.length-1:0;L(n[e])}if(M.value)return P.trigger(e)}function K(e,t){if(!M.value&&a.selectionBehavior===`replace`&&c.value&&Array.isArray(D.value)&&(!e.altKey&&!e.ctrlKey&&!e.metaKey||e.shiftKey)&&e.shiftKey){let n=g().filter(e=>e.ref.dataset.disabled!==``),r=n.find(e=>e.ref===t)?.value;if(e.key===x.END?r=n.at(-1)?.value:e.key===x.HOME&&(r=n[0]?.value),!r||!w.value)return;let i=ke(n.map(e=>e.value),w.value,r);D.value=i}}async function ce(e,t=!0){if(o){if(await j(),M.value)ne.trigger({event:e,scroll:t});else{let e=I(),n=e.find(e=>e.dataset.state===`checked`),r=t?void 0:!1;n?L(n,t,r):e.length&&L(e[0],t,r)}}}let J=!1;return ae(D,()=>{if(!T.value){let e=J;J=!0,j(()=>{ce(void 0,e)})}},{immediate:!0,deep:!0}),t({highlightedElement:k,highlightItem:R,highlightFirstItem:H,highlightSelected:ce,getItems:g}),Pe({modelValue:D,onValueChange:te,multiple:c,orientation:u,dir:S,disabled:f,highlightOnHover:l,highlightedElement:k,isVirtual:M,virtualFocusHook:ne,virtualKeydownHook:P,virtualHighlightHook:F,by:a.by,firstValue:w,selectionBehavior:p,focusable:E,onLeave:oe,onEnter:W,changeHighlight:L,onKeydownEnter:z,onKeydownNavigation:se,onKeydownTypeAhead:V,onCompositionStart:re,onCompositionEnd:ie,highlightFirstItem:H}),(e,t)=>(O(),Q(Z(r),{ref_key:`primitiveElement`,ref:y,as:e.as,"as-child":e.asChild,dir:Z(S),"data-disabled":Z(f)?``:void 0,onPointerleave:oe,onFocusout:t[0]||=async e=>{let t=e.relatedTarget||e.target;await j(),k.value&&Z(b)&&!Z(b).contains(t)&&oe(e)}},{default:q(()=>[B(e.$slots,`default`,{modelValue:Z(D)}),Z(C)&&e.name?(O(),Q(Z(_e),{key:0,name:e.name,value:Z(D),disabled:Z(f),required:e.required},null,8,[`name`,`value`,`disabled`,`required`])):U(`v-if`,!0)]),_:3},8,[`as`,`as-child`,`dir`,`data-disabled`]))}}),Re=A({__name:`ListboxContent`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let{CollectionSlot:t}=ve(),n=Ne(),i=a(!1,10);return(e,a)=>(O(),Q(Z(t),null,{default:q(()=>[z(Z(r),{role:`listbox`,as:e.as,"as-child":e.asChild,tabindex:Z(n).focusable.value?Z(n).highlightedElement.value?`-1`:`0`:`-1`,"aria-orientation":Z(n).orientation.value,"aria-multiselectable":!!Z(n).multiple.value,"data-orientation":Z(n).orientation.value,onMousedown:a[0]||=we(e=>i.value=!0,[`left`]),onFocus:a[1]||=e=>{Z(i)||Z(n).onEnter(e)},onKeydown:[a[2]||=Ce(e=>{(Z(n).orientation.value!==`vertical`||e.key!==`ArrowLeft`&&e.key!==`ArrowRight`)&&(Z(n).orientation.value!==`horizontal`||e.key!==`ArrowUp`&&e.key!==`ArrowDown`)&&(e.preventDefault(),Z(n).focusable.value&&Z(n).onKeydownNavigation(e))},[`down`,`up`,`left`,`right`,`home`,`end`]),Ce(Z(n).onKeydownEnter,[`enter`]),Z(n).onKeydownTypeAhead]},{default:q(()=>[B(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`tabindex`,`aria-orientation`,`aria-multiselectable`,`data-orientation`,`onKeydown`])]),_:3}))}}),ze=A({__name:`ListboxFilter`,props:{modelValue:{type:String,required:!1},autoFocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`input`}},emits:[`update:modelValue`],setup(e,{emit:t}){let i=e,a=n(i,`modelValue`,t,{defaultValue:``,passive:i.modelValue===void 0}),o=Ne(),{primitiveElement:s,currentElement:c}=de(),l=H(()=>i.disabled||o.disabled.value||!1),u=G();oe(()=>u.value=o.highlightedElement.value?.id),P(()=>{o.focusable.value=!1,setTimeout(()=>{i.autoFocus&&c.value?.focus()},1)}),R(()=>{o.focusable.value=!0});let{isComposing:d,shouldDeferInput:f,handleCompositionStart:p,handleCompositionUpdate:m,handleCompositionEnd:h}=xe(e=>{a.value=e.target.value,o.onCompositionEnd(),o.highlightFirstItem()});function g(){o.onCompositionStart(),p()}function _(e){f.value||(a.value=e.target.value,o.highlightFirstItem())}function v(e){d.value||(e.preventDefault(),o.onKeydownNavigation(e))}function y(e){d.value||o.onKeydownEnter(e)}return(e,t)=>(O(),Q(Z(r),{ref_key:`primitiveElement`,ref:s,as:e.as,"as-child":e.asChild,value:Z(a),disabled:l.value?``:void 0,"data-disabled":l.value?``:void 0,"aria-disabled":l.value??void 0,"aria-activedescendant":u.value,type:`text`,onKeydown:[Ce(v,[`down`,`up`,`home`,`end`]),Ce(y,[`enter`])],onInput:_,onCompositionstart:g,onCompositionupdate:Z(m),onCompositionend:Z(h)},{default:q(()=>[B(e.$slots,`default`,{modelValue:Z(a)})]),_:3},8,[`as`,`as-child`,`value`,`disabled`,`data-disabled`,`aria-disabled`,`aria-activedescendant`,`onCompositionupdate`,`onCompositionend`]))}}),Be=`listbox.select`,[Ve,He]=_(`ListboxItem`),Ue=A({__name:`ListboxItem`,props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`div`}},emits:[`select`],setup(e,{emit:t}){let n=e,i=t,a=S(void 0,`reka-listbox-item`),{CollectionItem:o}=ve(),{forwardRef:s,currentElement:c}=l(),u=Ne(),d=H(()=>c.value!=null&&c.value===u.highlightedElement.value),f=H(()=>je(u.modelValue.value,n.value,u.by)),p=H(()=>u.disabled.value||n.disabled);async function m(e){i(`select`,e),e?.defaultPrevented||!p.value&&e&&(u.onValueChange(n.value),u.changeHighlight(c.value))}function h(e){let t={originalEvent:e,value:n.value};C(Be,m,t)}return He({isSelected:f}),(e,t)=>(O(),Q(Z(o),{value:e.value},{default:q(()=>[se([d.value,f.value,p.value,Z(u).focusable.value,...Object.entries(e.$attrs).flat()],()=>z(Z(r),L({id:Z(a)},e.$attrs,{ref:Z(s),role:`option`,tabindex:Z(u).focusable.value?d.value?`0`:`-1`:-1,"aria-selected":f.value,as:e.as,"as-child":e.asChild,disabled:p.value?``:void 0,"data-disabled":p.value?``:void 0,"data-highlighted":d.value?``:void 0,"data-state":f.value?`checked`:`unchecked`,onClick:h,onKeydown:Ce(we(h,[`prevent`]),[`space`]),onPointermove:t[0]||=()=>{Z(u).highlightedElement.value!==Z(c)&&Z(u).highlightOnHover.value&&Z(u).changeHighlight(Z(c),!1,!1)}}),{default:q(()=>[B(e.$slots,`default`)]),_:3},16,[`id`,`tabindex`,`aria-selected`,`as`,`as-child`,`disabled`,`data-disabled`,`data-highlighted`,`data-state`,`onKeydown`]),t,1)]),_:3},8,[`value`]))}});function We(e){let t=G(`inline`),n=G(!1),r=G(),i=H(()=>t.value===`popper`&&!n.value),a;Ie({suppressHighlightScroll:i,onHighlightScrollRequest(e){a=e}});function o(e,i){(r.value!==e||t.value!==i)&&(n.value=!1,a=void 0),r.value=e,t.value=i}function s(i){if(r.value!==i||t.value!==`popper`||n.value)return;n.value=!0;let o=a;a=void 0,e.value&&o?.()}function c(e){r.value===e&&(r.value=void 0,t.value=`inline`,n.value=!1,a=void 0)}return{onContentPositionChange:o,onContentPlaced:s,onContentUnmount:c}}var[$,Ge]=_(`ComboboxRoot`),Ke=A({__name:`ComboboxRoot`,props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},resetSearchTermOnBlur:{type:Boolean,required:!1,default:!0},resetSearchTermOnSelect:{type:Boolean,required:!1,default:!0},openOnFocus:{type:Boolean,required:!1,default:!1},openOnClick:{type:Boolean,required:!1,default:!1},ignoreFilter:{type:Boolean,required:!1},resetModelValueOnClear:{type:Boolean,required:!1,default:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},multiple:{type:Boolean,required:!1},dir:{type:String,required:!1},disabled:{type:Boolean,required:!1},highlightOnHover:{type:Boolean,required:!1,default:!0},by:{type:[String,Function],required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`,`highlight`,`update:open`],setup(e,{expose:t,emit:r}){let i=e,a=r,{primitiveElement:o,currentElement:s}=de(),{multiple:c,disabled:l,ignoreFilter:u,resetSearchTermOnSelect:f,openOnFocus:p,openOnClick:m,dir:g,resetModelValueOnClear:_,highlightOnHover:v}=le(i),b=d(g),x=n(i,`modelValue`,a,{defaultValue:i.defaultValue??(c.value?[]:void 0),passive:i.modelValue===void 0,deep:!0}),S=n(i,`open`,a,{defaultValue:i.defaultOpen,passive:i.open===void 0});async function ee(e){S.value=e,F.value=``,e?(await j(),o.value?.highlightSelected(),w.value=!0,E.value?.focus()):(w.value=!1,setTimeout(()=>{!e&&i.resetSearchTermOnBlur&&C.trigger()},1))}let C=h(),w=G(!1),T=G(!1),E=G(),D=G(),te=H(()=>o.value?.highlightedElement??void 0),A=We(S),M=G(new Map),N=G(new Map),{contains:ne}=Ae({sensitivity:`base`}),F=G(``),I=H(e=>{if(!F.value||i.ignoreFilter||T.value)return{count:M.value.size,items:e?.items??new Map,groups:e?.groups??new Set(N.value.keys())};let t=0,n=new Map,r=new Set;for(let[e,r]of M.value){let i=ne(r,F.value);n.set(e,+!!i),i&&t++}for(let[e,t]of N.value)for(let i of t)if(n.get(i)>0){r.add(e);break}return{count:t,items:n,groups:r}}),R=k();return P(()=>{R?.exposed&&(R.exposed.highlightItem=o.value?.highlightItem,R.exposed.highlightFirstItem=o.value?.highlightFirstItem,R.exposed.highlightSelected=o.value?.highlightSelected)}),t({filtered:I,highlightedElement:te,highlightItem:o.value?.highlightItem,highlightFirstItem:o.value?.highlightFirstItem,highlightSelected:o.value?.highlightSelected}),Ge({modelValue:x,multiple:c,disabled:l,open:S,onOpenChange:ee,...A,contentId:``,isUserInputted:w,isVirtual:T,inputElement:E,highlightedElement:te,onInputElementChange:e=>E.value=e,triggerElement:D,onTriggerElementChange:e=>D.value=e,parentElement:s,resetSearchTermOnSelect:f,onResetSearchTerm:C.on,allItems:M,allGroups:N,filterSearch:F,filterState:I,ignoreFilter:u,openOnFocus:p,openOnClick:m,resetModelValueOnClear:_}),(e,t)=>(O(),Q(Z(y),null,{default:q(()=>[z(Z(Le),L({ref_key:`primitiveElement`,ref:o},e.$attrs,{modelValue:Z(x),"onUpdate:modelValue":t[0]||=e=>ce(x)?x.value=e:null,style:{pointerEvents:Z(S)?`auto`:void 0},as:e.as,"as-child":e.asChild,dir:Z(b),multiple:Z(c),name:e.name,required:e.required,disabled:Z(l),"highlight-on-hover":Z(v),by:i.by,onHighlight:t[1]||=e=>a(`highlight`,e)}),{default:q(()=>[B(e.$slots,`default`,{open:Z(S),modelValue:Z(x)})]),_:3},16,[`modelValue`,`style`,`as`,`as-child`,`dir`,`multiple`,`name`,`required`,`disabled`,`highlight-on-hover`,`by`])]),_:3}))}}),qe=A({__name:`ComboboxAnchor`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let{forwardRef:t}=l();return(e,n)=>(O(),Q(Z(D),{"as-child":``,reference:e.reference},{default:q(()=>[z(Z(r),L({ref:Z(t),"as-child":e.asChild,as:e.as},e.$attrs),{default:q(()=>[B(e.$slots,`default`)]),_:3},16,[`as-child`,`as`])]),_:3},8,[`reference`]))}}),[Je,Ye]=_(`ComboboxContent`),Xe=A({__name:`ComboboxContentImpl`,props:{position:{type:String,required:!1,default:`inline`},bodyLock:{type:Boolean,required:!1},hideWhenEmpty:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`],setup(e,{emit:n}){let a=e,o=n,{position:u}=le(a),d=$(),f=Symbol(`ComboboxContent`);ae(u,e=>d.onContentPositionChange(f,e),{immediate:!0});let p=H(()=>d.ignoreFilter.value?d.allItems.value.size===0:d.filterState.value.count===0),{forwardRef:h,currentElement:g}=l();i(a.bodyLock),pe(),t(d.parentElement);let _=H(()=>a.position===`popper`?a:{}),v=c(_.value),y={boxSizing:`border-box`,"--reka-combobox-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-combobox-content-available-width":`var(--reka-popper-available-width)`,"--reka-combobox-content-available-height":`var(--reka-popper-available-height)`,"--reka-combobox-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-combobox-trigger-height":`var(--reka-popper-anchor-height)`};Ye({position:u});let b=G(!1);P(()=>{d.inputElement.value&&(b.value=g.value.contains(d.inputElement.value),b.value&&d.inputElement.value.focus())}),R(()=>{d.onContentUnmount(f);let e=s();b.value&&(!e||e===document.body)&&d.triggerElement.value?.focus()});function x(e){if(d.parentElement.value?.contains(e))return!0;let t=(e instanceof Element?e.closest(`label`):null)?.control;return!!t&&!!d.parentElement.value?.contains(t)}let S={placed:()=>d.onContentPlaced(f)};return(e,t)=>(O(),Q(Z(Re),{"as-child":``},{default:q(()=>[z(Z(E),{"as-child":``,onMountAutoFocus:t[5]||=we(()=>{},[`prevent`]),onUnmountAutoFocus:t[6]||=we(()=>{},[`prevent`])},{default:q(()=>[z(Z(m),{"as-child":``,"disable-outside-pointer-events":e.disableOutsidePointerEvents,onDismiss:t[0]||=e=>Z(d).onOpenChange(!1),onFocusOutside:t[1]||=e=>{x(e.target)&&e.preventDefault(),o(`focusOutside`,e)},onInteractOutside:t[2]||=e=>o(`interactOutside`,e),onEscapeKeyDown:t[3]||=e=>o(`escapeKeyDown`,e),onPointerDownOutside:t[4]||=e=>{x(e.target)&&e.preventDefault(),o(`pointerDownOutside`,e)}},{default:q(()=>[(O(),Q(M(Z(u)===`popper`?Z(T):Z(r)),L({...e.$attrs,...Z(v)},{id:Z(d).contentId,ref:Z(h),"memo-dependencies":Z(u)===`popper`?[Z(d).filterSearch.value,Z(d).filterState.value]:void 0,"data-state":Z(d).open.value?`open`:`closed`,"data-empty":p.value?``:void 0,style:{display:a.hideWhenEmpty&&p.value?`none`:`flex`,flexDirection:`column`,outline:`none`,...Z(u)===`popper`?y:{}}},ne(Z(u)===`popper`?S:{})),{default:q(()=>[B(e.$slots,`default`)]),_:3},16,[`id`,`memo-dependencies`,`data-state`,`data-empty`,`style`]))]),_:3},8,[`disable-outside-pointer-events`])]),_:3})]),_:3}))}}),Ze=A({__name:`ComboboxContent`,props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},hideWhenEmpty:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`],setup(e,{emit:t}){let n=x(e,t),{forwardRef:r}=l(),i=$();return i.contentId||=S(void 0,`reka-combobox-content`),(e,t)=>(O(),Q(Z(u),{present:e.forceMount||Z(i).open.value},{default:q(()=>[z(Xe,L({...Z(n),...e.$attrs},{ref:Z(r)}),{default:q(()=>[B(e.$slots,`default`)]),_:3},16)]),_:3},8,[`present`]))}}),Qe=A({__name:`ComboboxEmpty`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=$(),i=H(()=>n.ignoreFilter.value?n.allItems.value.size===0:n.filterState.value.count===0);return(e,n)=>i.value?(O(),Q(Z(r),re(L({key:0},t)),{default:q(()=>[B(e.$slots,`default`,{},()=>[n[0]||=Y(`No options`)])]),_:3},16)):U(`v-if`,!0)}}),[$e,et]=_(`ComboboxGroup`),tt=A({__name:`ComboboxInput`,props:{displayValue:{type:Function,required:!1},modelValue:{type:String,required:!1},autoFocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`input`}},emits:[`update:modelValue`],setup(e,{emit:t}){let r=e,i=t,a=$(),o=Ne(),{primitiveElement:s,currentElement:c}=de(),l=n(r,`modelValue`,i,{passive:r.modelValue===void 0});P(()=>{c.value&&a.onInputElementChange(c.value)});let{isComposing:u,shouldDeferInput:d,handleCompositionStart:f,handleCompositionUpdate:p,handleCompositionEnd:m}=xe(e=>{let t=e.target;t&&g(t.value)});function h(e){u.value||(e.preventDefault(),a.open.value||a.onOpenChange(!0))}function g(e){a.open.value?a.filterSearch.value=e:(a.onOpenChange(!0),j(()=>{e&&(a.filterSearch.value=e,o.highlightFirstItem())}))}function _(e){d.value||g(e.target.value)}function v(){a.openOnFocus.value&&!a.open.value&&a.onOpenChange(!0)}function y(e){if(!a.open.value)return;let t=e.relatedTarget;if(!t)return;let n=a.parentElement.value?.contains(t),r=document.getElementById(a.contentId)?.contains(t);!n&&!r&&requestAnimationFrame(()=>{if(!a.open.value)return;let e=document.activeElement;!a.parentElement.value?.contains(e)&&!document.getElementById(a.contentId)?.contains(e)&&a.onOpenChange(!1)})}function b(){a.openOnClick.value&&!a.open.value&&a.onOpenChange(!0)}function x(){let e=a.modelValue.value;r.displayValue?l.value=r.displayValue(e):!a.multiple.value&&e&&!Array.isArray(e)?typeof e==`object`?l.value=``:l.value=e.toString():l.value=``,j(()=>{l.value=l.value})}return a.onResetSearchTerm(()=>{x()}),ae(a.modelValue,async()=>{!a.isUserInputted.value&&a.resetSearchTermOnSelect.value&&x()},{immediate:!0,deep:!0}),ae(a.filterState,(e,t)=>{!a.isVirtual.value&&t.count===0&&o.highlightFirstItem()}),(e,t)=>(O(),Q(Z(ze),{ref_key:`primitiveElement`,ref:s,modelValue:Z(l),"onUpdate:modelValue":t[0]||=e=>ce(l)?l.value=e:null,as:e.as,"as-child":e.asChild,"auto-focus":e.autoFocus,disabled:e.disabled,"aria-expanded":Z(a).open.value,"aria-controls":Z(a).contentId,"aria-autocomplete":`list`,role:`combobox`,autocomplete:`off`,onClick:b,onInput:_,onKeydown:Ce(h,[`down`,`up`]),onFocus:v,onBlur:y,onCompositionstart:Z(f),onCompositionupdate:Z(p),onCompositionend:Z(m)},{default:q(()=>[B(e.$slots,`default`)]),_:3},8,[`modelValue`,`as`,`as-child`,`auto-focus`,`disabled`,`aria-expanded`,`aria-controls`,`onCompositionstart`,`onCompositionupdate`,`onCompositionend`]))}}),nt=A({__name:`ComboboxItem`,props:{textValue:{type:String,required:!1},value:{type:null,required:!0},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,i=S(void 0,`reka-combobox-item`),a=$(),o=$e(null),{primitiveElement:s,currentElement:c}=de();if(n.value===``)throw Error(`A <ComboboxItem /> must have a value prop that is not an empty string. This is because the Combobox value can be set to an empty string to clear the selection and show the placeholder.`);let l=H(()=>{if(a.isVirtual.value||a.ignoreFilter.value||!a.filterSearch.value)return!0;{let e=a.filterState.value.items.get(i);return e===void 0||e>0}});return P(()=>{a.allItems.value.set(i,n.textValue||c.value.textContent||c.value.innerText);let e=o?.id;e&&(a.allGroups.value.has(e)?a.allGroups.value.get(e)?.add(i):a.allGroups.value.set(e,new Set([i])))}),R(()=>{a.allItems.value.delete(i)}),(e,t)=>l.value?se([l.value,Z(a).filterSearch.value,Z(a).disabled.value,e.disabled,n.value,n.as,n.asChild,...Object.values(e.$attrs)],()=>(O(),Q(Z(Ue),L({key:0},n,{id:Z(i),ref_key:`primitiveElement`,ref:s,disabled:Z(a).disabled.value||e.disabled,onSelect:t[0]||=t=>{r(`select`,t),t.defaultPrevented||(!Z(a).multiple.value&&!e.disabled&&!Z(a).disabled.value?(t.preventDefault(),Z(a).onOpenChange(!1),Z(a).modelValue.value=n.value):Z(a).multiple.value&&Z(a).inputElement.value?.focus())}}),{default:q(()=>[B(e.$slots,`default`,{},()=>[Y(V(e.value),1)])]),_:3},16,[`id`,`disabled`])),t,1):U(`v-if`,!0)}}),rt=A({__name:`ComboboxPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,n)=>(O(),Q(Z(p),re(I(t)),{default:q(()=>[B(e.$slots,`default`)]),_:3},16))}}),it=A({__name:`ComboboxTrigger`,props:{disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,{forwardRef:n,currentElement:i}=l(),a=$(),o=H(()=>t.disabled||a.disabled.value||!1);return P(()=>{i.value&&a.onTriggerElementChange(i.value)}),(e,i)=>(O(),Q(Z(r),L(t,{ref:Z(n),type:e.as===`button`?`button`:void 0,tabindex:`-1`,"aria-label":`Show popup`,"aria-haspopup":`listbox`,"aria-expanded":Z(a).open.value,"aria-controls":Z(a).contentId,"data-state":Z(a).open.value?`open`:`closed`,disabled:o.value,"data-disabled":o.value?``:void 0,"aria-disabled":o.value??void 0,onClick:i[0]||=e=>Z(a).onOpenChange(!Z(a).open.value)}),{default:q(()=>[B(e.$slots,`default`)]),_:3},16,[`type`,`aria-expanded`,`aria-controls`,`data-state`,`disabled`,`data-disabled`,`aria-disabled`]))}}),at=A({__name:`ComboboxViewport`,props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{forwardRef:n}=l(),{nonce:i}=le(t),a=he(i),o=$();return(e,i)=>(O(),X(W,null,[z(Z(r),L({...e.$attrs,...t},{ref:Z(n),"data-reka-combobox-viewport":``,role:`presentation`,style:{position:`relative`,flex:Z(o).isVirtual.value?void 0:1,overflow:`auto`}}),{default:q(()=>[B(e.$slots,`default`)]),_:3},16,[`style`]),z(Z(r),{as:`style`,nonce:Z(a)},{default:q(()=>i[0]||=[Y(` /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-combobox-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-combobox-viewport]::-webkit-scrollbar { display: none; } `)]),_:1,__:[0]},8,[`nonce`])],64))}}),ot={class:`font-mono`},st=w(A({__name:`VDCombobox`,props:F({options:{},placeholder:{},disabled:{type:Boolean}},{modelValue:{default:``},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=ie(e,`modelValue`),n=G(t.value);ae(t,e=>{e!==n.value&&(n.value=e)});function r(e){n.value=e,t.value=e}function i(e){return typeof e==`string`?e:t.value}function a(e){let n=e.target;t.value=n.value}return(t,o)=>(O(),Q(Z(Ke),{modelValue:n.value,"onUpdate:modelValue":[o[0]||=e=>n.value=e,r],"reset-search-term-on-blur":!1,"open-on-focus":!0,disabled:e.disabled,class:`relative`},{default:q(()=>[z(Z(qe),{class:`inline-flex items-center w-full`},{default:q(()=>[z(Z(tt),{placeholder:e.placeholder,"display-value":i,class:te([`vd-combobox-input border border-base bg-base color-base rounded-md text-xs px-2 py-1 pr-5 outline-none transition-colors duration-150 w-full`,[e.disabled?`op-50 cursor-not-allowed`:``]]),onInput:a},null,8,[`placeholder`,`class`]),z(Z(it),{class:`absolute right-1 inline-flex items-center justify-center color-faint hover:color-muted cursor-pointer`},{default:q(()=>[...o[1]||=[J(`div`,{class:`i-ri:arrow-down-s-line text-xs`},null,-1)]]),_:1})]),_:1}),z(Z(rt),null,{default:q(()=>[z(Z(Ze),{class:`z-dropdown bg-base border border-base rounded-lg shadow-lg overflow-hidden max-h-48`,position:`popper`,"side-offset":4},{default:q(()=>[z(Z(at),{class:`p-1`},{default:q(()=>[z(Z(Qe),{class:`px-2 py-1.5 text-xs op-40`},{default:q(()=>[...o[2]||=[Y(` No matching keys `,-1)]]),_:1}),(O(!0),X(W,null,N(e.options,e=>(O(),Q(Z(nt),{key:e,value:e,class:`flex items-center px-2 py-1.5 text-xs rounded cursor-pointer outline-none color-base data-[highlighted]:bg-active data-[highlighted]:color-active`},{default:q(()=>[J(`span`,ot,V(e),1)]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1})]),_:1},8,[`modelValue`,`disabled`]))}}),[[`__scopeId`,`data-v-b5aafe38`]]),ct={class:`h-full flex flex-col`},lt={class:`flex items-center gap-2 px-3 py-2 border-b border-mute`},ut={class:`text-sm font-bold flex-1`},dt={class:`text-xs op-50 tabular-nums`},ft={key:0,class:`flex-1 overflow-auto`,flex:`~ col gap-0`},pt=[`onClick`],mt={class:`truncate text-xs`},ht={key:1,class:`flex-1 flex items-center justify-center op-40 text-sm`},gt={class:`h-full overflow-auto p-4 flex flex-col gap-4`},_t={class:`flex items-center gap-2 mb-2`},vt={class:`text-sm font-bold`},yt={class:`text-xs op-40`},bt={class:`border border-base rounded-lg divide-y divide-[#9992]`},xt={class:`text-xs op-30 w-4 text-right tabular-nums`},St={key:2,class:`flex-1`},Ct=[`onClick`],wt={class:`flex items-center gap-3`},Tt={key:0,class:`text-xs op-50`},Et={class:`flex gap-2 justify-end mt-4`},Dt={key:1,class:`flex-1 min-h-0`},Ot={key:0,class:`text-sm font-bold mb-2 op-70`},kt={key:1,class:`text-sm font-bold mb-2 op-70`},At={class:`overflow-auto border border-base rounded-lg max-h-[calc(100vh-24rem)]`},jt={key:0,class:`text-xs w-full border-collapse`},Mt={class:`bg-secondary`},Nt={class:`border-b border-r border-base px-2 py-1.5 sticky left-0 bg-secondary z-nav text-left font-semibold`},Pt={class:`border-b border-r border-base px-2 py-1 sticky left-0 bg-base z-nav font-medium whitespace-nowrap`},Ft={key:1,class:`text-xs w-full border-collapse`},It={class:`bg-secondary`},Lt={class:`border-b border-r border-base px-2 py-1.5 sticky left-0 bg-secondary z-nav text-left font-semibold`},Rt={class:`border-b border-r border-base px-2 py-1 sticky left-0 bg-base z-nav font-medium whitespace-nowrap`},zt={key:2,class:`flex-1 flex flex-col items-center justify-center gap-2 op-35`},Bt={class:`text-sm`},Vt=A({__name:`batch-edit`,setup(t){let n=ee(`(max-width: 640px)`),{t:r,locale:i}=e(),a=G([]),o=H(()=>K.value.posts.length>0&&a.value.length===K.value.posts.length);function s(){o.value?a.value=[]:a.value=K.value.posts.map(e=>e.filePath)}function c(e){return a.value.includes(e)}function l(e){let t=a.value.indexOf(e);t>=0?a.value.splice(t,1):a.value.push(e)}let u=G([{type:`set`,key:``,value:``,newKey:``}]),d=H(()=>[{label:r(`batchEdit.op_set`),value:`set`},{label:r(`batchEdit.op_delete`),value:`delete`},{label:r(`batchEdit.op_rename`),value:`rename`}]);function p(){u.value.push({type:`set`,key:``,value:``,newKey:``})}function m(e){u.value.splice(e,1)}let h=H(()=>{let e=new Set;for(let t of K.value.posts)for(let n of Object.keys(t.frontmatter))e.add(n);return Array.from(e).sort()}),_=H(()=>{let e=new Set,t=new Set(a.value);for(let n of K.value.posts)if(t.has(n.filePath))for(let t of Object.keys(n.frontmatter))e.add(t);for(let t of u.value)t.key&&e.add(t.key),t.type===`rename`&&t.newKey&&e.add(t.newKey);return Array.from(e).sort()}),y=G(!1),x=H(()=>{let e=new Set(a.value);return K.value.posts.filter(t=>e.has(t.filePath)).map(e=>{let t={...e.frontmatter};for(let e of u.value)if(e.key)switch(e.type){case`set`:t[e.key]=S(e.value);break;case`delete`:delete t[e.key];break;case`rename`:e.key in t&&e.newKey&&(t[e.newKey]=t[e.key],delete t[e.key])}return{title:M(e),filePath:e.filePath,frontmatter:t}})});function S(e){if(e===`true`)return!0;if(e===`false`)return!1;let t=Number(e);return!Number.isNaN(t)&&e.trim()!==``?t:e}let C=G(!1),w=G(!1),T=G(null),E=H(()=>u.value.filter(e=>!(!e.key.trim()||e.type===`rename`&&!e.newKey.trim()))),D=H(()=>E.value.length>0&&a.value.length>0);function k(){D.value&&(w.value=!0)}async function A(){w.value=!1;let e=E.value.map(e=>{let t=e.key.trim();return e.type===`set`?{type:`set`,key:t,value:S(e.value)}:e.type===`rename`?{type:`rename`,key:t,newKey:e.newKey.trim()}:{type:`delete`,key:t}});C.value=!0,T.value=null;try{let t=await Oe.batchUpdateFrontmatter(a.value,e);t.errors.length>0?T.value={severity:`error`,text:r(`batchEdit.result_partial`,{updated:t.updated,total:t.total,errors:t.errors.length})}:T.value={severity:`success`,text:r(`batchEdit.result_success`,{updated:t.updated,total:t.total})},K.value=await Oe.getPostList()}catch(e){T.value={severity:`error`,text:e.message||String(e)}}finally{C.value=!1}}function j(e){if(e==null)return``;if(typeof e==`object`&&e&&!Array.isArray(e)){let t=De(e,i.value);return typeof t==`string`&&t?t:JSON.stringify(e)}return typeof e==`object`?JSON.stringify(e):String(e)}function M(e){let t=e.frontmatter.title;return t?typeof t==`object`?De(t,i.value):String(t):e.routePath||``}function ne(e,t){return j(e.frontmatter[t])}return(e,t)=>{let i=v,S=Se,ee=ye,P=st,F=g,I=b,L=f;return O(),Q(Z(Te),{horizontal:Z(n),class:`h-full`},{default:q(()=>[z(Z(Ee),{"min-size":`20`,size:`33`},{default:q(()=>[J(`div`,ct,[J(`div`,lt,[J(`h3`,ut,V(Z(r)(`batchEdit.select_posts`)),1),J(`span`,dt,V(a.value.length)+`/`+V(Z(K).posts.length),1),z(i,{variant:`ghost`,size:`sm`,onClick:s},{default:q(()=>[Y(V(o.value?Z(r)(`batchEdit.deselect_all`):Z(r)(`batchEdit.select_all`)),1)]),_:1})]),Z(K).posts.length>0?(O(),X(`ul`,ft,[(O(!0),X(W,null,N(Z(K).posts,e=>(O(),X(`li`,{key:e.filePath,class:te([`flex items-center gap-2 text-sm cursor-pointer px-3 py-1.5 border-b border-mute transition-colors`,c(e.filePath)?`bg-active`:`hover:bg-hover `]),onClick:t=>l(e.filePath)},[z(S,{"model-value":c(e.filePath),"aria-label":M(e),onClick:t[0]||=we(()=>{},[`stop`]),"onUpdate:modelValue":t=>l(e.filePath)},null,8,[`model-value`,`aria-label`,`onUpdate:modelValue`]),J(`span`,mt,V(M(e)),1)],10,pt))),128))])):(O(),X(`div`,ht,V(Z(r)(`batchEdit.no_posts`)),1))])]),_:1}),z(Z(Ee),null,{default:q(()=>[J(`div`,gt,[J(`section`,null,[J(`div`,_t,[J(`h3`,vt,V(Z(r)(`batchEdit.operations`)),1),J(`span`,yt,V(u.value.length),1)]),J(`div`,bt,[(O(!0),X(W,null,N(u.value,(e,n)=>(O(),X(`div`,{key:n,class:`flex flex-wrap gap-2 items-center px-3 py-2`},[J(`span`,xt,V(n+1),1),z(ee,{modelValue:e.type,"onUpdate:modelValue":t=>e.type=t,options:d.value,class:`w-28`},null,8,[`modelValue`,`onUpdate:modelValue`,`options`]),z(P,{modelValue:e.key,"onUpdate:modelValue":t=>e.key=t,options:h.value,placeholder:Z(r)(`batchEdit.field_key`),class:`w-32`},null,8,[`modelValue`,`onUpdate:modelValue`,`options`,`placeholder`]),e.type===`set`?(O(),X(W,{key:0},[t[4]||=J(`span`,{class:`text-xs op-40 font-mono`},`=`,-1),z(F,{modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,placeholder:Z(r)(`batchEdit.field_value`),size:`sm`,class:`flex-1`},null,8,[`modelValue`,`onUpdate:modelValue`,`placeholder`])],64)):e.type===`rename`?(O(),X(W,{key:1},[t[5]||=J(`span`,{class:`text-xs op-40 font-mono`},`→`,-1),z(F,{modelValue:e.newKey,"onUpdate:modelValue":t=>e.newKey=t,placeholder:Z(r)(`batchEdit.new_key`),size:`sm`,class:`flex-1`},null,8,[`modelValue`,`onUpdate:modelValue`,`placeholder`])],64)):(O(),X(`div`,St)),u.value.length>1?(O(),X(`button`,{key:3,class:`inline-flex items-center justify-center w-7 h-7 rounded op-40 hover:op-100 hover:bg-hover cursor-pointer transition-colors`,onClick:e=>m(n)},[...t[6]||=[J(`div`,{class:`i-ri:close-line text-sm`},null,-1)]],8,Ct)):U(``,!0)]))),128))]),z(i,{variant:`ghost`,icon:`i-ri:add-line`,size:`sm`,class:`mt-1.5`,onClick:p},{default:q(()=>[Y(V(Z(r)(`batchEdit.add_operation`)),1)]),_:1})]),J(`section`,wt,[z(i,{variant:`warn`,loading:C.value,disabled:!D.value,icon:`i-ri:check-line`,size:`sm`,onClick:k},{default:q(()=>[Y(V(Z(r)(`batchEdit.execute`)),1)]),_:1},8,[`loading`,`disabled`]),z(i,{variant:`secondary`,disabled:a.value.length===0,size:`sm`,icon:y.value?`i-ri:eye-off-line`:`i-ri:eye-line`,onClick:t[1]||=e=>y.value=!y.value},{default:q(()=>[Y(V(y.value?Z(r)(`batchEdit.hide_preview`):Z(r)(`batchEdit.show_preview`)),1)]),_:1},8,[`disabled`,`icon`]),D.value?(O(),X(`span`,Tt,V(Z(r)(`batchEdit.summary`,{ops:E.value.length,posts:a.value.length})),1)):U(``,!0)]),z(I,{open:w.value,"onUpdate:open":t[3]||=e=>w.value=e,title:Z(r)(`batchEdit.execute`),description:Z(r)(`batchEdit.confirm`,{ops:E.value.length,posts:a.value.length})},{default:q(()=>[J(`div`,Et,[z(i,{variant:`secondary`,size:`sm`,onClick:t[2]||=e=>w.value=!1},{default:q(()=>[Y(V(Z(r)(`batchEdit.confirm_no`)),1)]),_:1}),z(i,{variant:`warn`,size:`sm`,onClick:A},{default:q(()=>[Y(V(Z(r)(`batchEdit.confirm_yes`)),1)]),_:1})])]),_:1},8,[`open`,`title`,`description`]),T.value?(O(),Q(L,{key:0,severity:T.value.severity,closable:``},{default:q(()=>[Y(V(T.value.text),1)]),_:1},8,[`severity`])):U(``,!0),a.value.length>0?(O(),X(`section`,Dt,[y.value?(O(),X(`h3`,kt,V(Z(r)(`batchEdit.show_preview`)),1)):(O(),X(`h3`,Ot,V(Z(r)(`batchEdit.current_frontmatter`)),1)),J(`div`,At,[y.value?(O(),X(`table`,jt,[J(`thead`,null,[J(`tr`,Mt,[J(`th`,Nt,V(Z(r)(`batchEdit.post_title`)),1),(O(!0),X(W,null,N(_.value,e=>(O(),X(`th`,{key:e,class:`border-b border-r border-base last:border-r-0 px-2 py-1.5 whitespace-nowrap text-left font-semibold`},V(e),1))),128))])]),J(`tbody`,null,[(O(!0),X(W,null,N(x.value,e=>(O(),X(`tr`,{key:e.filePath,class:`hover:bg-hover transition-colors`},[J(`td`,Pt,V(e.title),1),(O(!0),X(W,null,N(_.value,t=>(O(),X(`td`,{key:t,class:`border-b border-r border-base last:border-r-0 px-2 py-1 max-w-40 truncate font-mono`},V(j(e.frontmatter[t])),1))),128))]))),128))])])):(O(),X(`table`,Ft,[J(`thead`,null,[J(`tr`,It,[J(`th`,Lt,V(Z(r)(`batchEdit.post_title`)),1),(O(!0),X(W,null,N(_.value,e=>(O(),X(`th`,{key:e,class:`border-b border-r border-base last:border-r-0 px-2 py-1.5 whitespace-nowrap text-left font-semibold`},V(e),1))),128))])]),J(`tbody`,null,[(O(!0),X(W,null,N(Z(K).posts.filter(e=>a.value.includes(e.filePath)),e=>(O(),X(`tr`,{key:e.filePath,class:`hover:bg-hover transition-colors`},[J(`td`,Rt,V(M(e)),1),(O(!0),X(W,null,N(_.value,t=>(O(),X(`td`,{key:t,class:`border-b border-r border-base last:border-r-0 px-2 py-1 max-w-40 truncate font-mono`},V(ne(e,t)),1))),128))]))),128))])]))])])):(O(),X(`div`,zt,[t[7]||=J(`div`,{class:`i-ri:file-list-3-line text-3xl`},null,-1),J(`span`,Bt,V(Z(r)(`batchEdit.empty_hint`)),1)]))])]),_:1})]),_:1},8,[`horizontal`])}}});export{Vt as default};
@@ -1 +1 @@
1
- import{t as e}from"./nanoid-Cya-tyvy.js";import{a as t,i as n}from"./index-BRqqPn9F.js";var r=`devframe:client-id`,i;function a(t=globalThis.window){try{let n=t?.sessionStorage;if(n){let t=n.getItem(r);return t||(t=e(),n.setItem(r,t)),t}}catch{}return i??=e(),i}function o(e){e.client.register({name:`devframe:agent:invoke-client-tool`,type:`action`,jsonSerializable:!0,handler:async(e,t)=>{let r=n().find(t=>t.id===e);if(!r)throw Error(`[devframe/agent] browser tool "${e}" not found`);return await r.invoke(t)}});let r=!1,i=!1,o=0,s=()=>{r||i||(r=!0,queueMicrotask(async()=>{if(r=!1,i)return;let t=n().map(({invoke:e,...t})=>t);(t.length!==0||o!==0)&&(o=t.length,await e.callOptional(`devframe:agent:sync-client-tools`,a(),t).catch(()=>{}))}))},c=t(s),l=e.events.on(`connection:status`,e=>{e===`connected`&&s()});return s(),()=>{i=!0,c(),l()}}export{o as setupBrowserAgentRpcBridge};
1
+ import{t as e}from"./nanoid-Cya-tyvy.js";import{a as t,i as n}from"./index-BJGKneng.js";var r=`devframe:client-id`,i;function a(t=globalThis.window){try{let n=t?.sessionStorage;if(n){let t=n.getItem(r);return t||(t=e(),n.setItem(r,t)),t}}catch{}return i??=e(),i}function o(e){e.client.register({name:`devframe:agent:invoke-client-tool`,type:`action`,jsonSerializable:!0,handler:async(e,t)=>{let r=n().find(t=>t.id===e);if(!r)throw Error(`[devframe/agent] browser tool "${e}" not found`);return await r.invoke(t)}});let r=!1,i=!1,o=0,s=()=>{r||i||(r=!0,queueMicrotask(async()=>{if(r=!1,i)return;let t=n().map(({invoke:e,...t})=>t);(t.length!==0||o!==0)&&(o=t.length,await e.callOptional(`devframe:agent:sync-client-tools`,a(),t).catch(()=>{}))}))},c=t(s),l=e.events.on(`connection:status`,e=>{e===`connected`&&s()});return s(),()=>{i=!0,c(),l()}}export{o as setupBrowserAgentRpcBridge};
@@ -0,0 +1 @@
1
+ import{t as e}from"./VDPostListItem-CJFejG07.js";import{B as t,Bt as n,E as r,H as i,Ht as a,T as o,Ut as s,_ as c,f as l,ft as u,s as d,tt as f,v as p,x as m,xt as h,y as g}from"./app-D70151fp.js";import{$ as _,p as v}from"./index-BJGKneng.js";import{n as y,t as b}from"./splitpanes.esm-CUQA4hIN.js";import{t as x}from"./colors-CdKJdJxa.js";var S={class:`h-full flex flex-col`},C={class:`flex items-center gap-2 px-3 py-2 border-b border-mute`},w={class:`text-sm font-bold flex-1`},T={class:`flex-1 overflow-auto`},E=[`onClick`],D={class:`flex-1 truncate`},O={class:`text-xs op-40 tabular-nums`},k=[`onClick`],A={class:`flex-1 truncate`},j={class:`text-xs op-40 tabular-nums`},M={key:1,class:`flex-1 flex items-center justify-center op-40 text-sm py-8`},N={key:0,class:`h-full overflow-auto`},P={class:`px-3 py-2 border-b border-mute`},F={class:`text-sm font-bold`},I={class:`text-xs op-50`},L={class:`px-3 py-2`},R={key:1,class:`flex items-center justify-center h-full op-40 text-sm`},z={class:`flex flex-col items-center gap-2`},B=r({__name:`categories`,setup(r){let B=v(`(max-width: 640px)`),{t:V}=_(),H=c(()=>{let e=new Map;for(let t of d.value.posts){let n=t.frontmatter.categories;if(!n)continue;let r=[];if(typeof n==`string`)r.push([n]);else if(Array.isArray(n)){if(n.length>0&&Array.isArray(n[0]))for(let e of n)Array.isArray(e)&&r.push(e);else r.push(n)}for(let n of r){let r=e;for(let e=0;e<n.length;e++){let i=n[e];r.has(i)||r.set(i,{name:i,count:0,children:new Map,posts:[]});let a=r.get(i);e===n.length-1&&(a.count++,a.posts.push(t)),r=a.children}}}return e}),U=u([]);function W(e){U.value=e}let G=c(()=>{if(U.value.length===0)return[];let e=H.value,t;for(let n of U.value){if(t=e.get(n),!t)return[];e=t.children}if(!t)return[];let n=[];function r(e){n.push(...e.posts);for(let t of e.children.values())r(t)}r(t);let i=new Set;return n.filter(e=>!i.has(e.filePath)&&(i.add(e.filePath),!0))});function K(e){return JSON.stringify(U.value)===JSON.stringify(e)}function q(){return U.value.join(` > `)}return(r,c)=>{let u=e;return t(),g(h(y),{horizontal:h(B),class:`h-full`},{default:f(()=>[o(h(b),{"min-size":`20`,size:`33`},{default:f(()=>[p(`div`,S,[p(`div`,C,[p(`h3`,w,s(h(V)(`categories.title`)),1)]),p(`div`,T,[H.value.size>0?(t(!0),m(l,{key:0},i(H.value,([e,r])=>(t(),m(`div`,{key:e},[p(`div`,{class:n([`flex items-center gap-2 px-3 py-1.5 text-sm cursor-pointer border-b border-mute transition-colors`,K([e])?`bg-active color-active `:`hover:bg-hover `]),onClick:t=>W([e])},[p(`div`,{class:`i-ri:folder-2-line text-sm vd-accent`,style:a(h(x)(e))},null,4),p(`span`,D,s(e),1),p(`span`,O,s(r.count),1)],10,E),(t(!0),m(l,null,i(r.children,([r,i])=>(t(),m(`div`,{key:r,class:n([`flex items-center gap-2 pl-8 pr-3 py-1.5 text-sm cursor-pointer border-b border-mute transition-colors`,K([e,r])?`bg-active color-active `:`hover:bg-hover `]),onClick:t=>W([e,r])},[p(`div`,{class:`i-ri:folder-line text-sm vd-accent`,style:a(h(x)(r))},null,4),p(`span`,A,s(r),1),p(`span`,j,s(i.count),1)],10,k))),128))]))),128)):(t(),m(`div`,M,s(h(V)(`categories.empty`)),1))])])]),_:1}),o(h(b),null,{default:f(()=>[U.value.length>0?(t(),m(`div`,N,[p(`div`,P,[p(`h3`,F,s(q()),1),p(`span`,I,s(h(V)(`categories.posts_count`,{count:G.value.length})),1)]),p(`ul`,L,[(t(!0),m(l,null,i(G.value,e=>(t(),g(u,{key:e.filePath,post:e},null,8,[`post`]))),128))])])):(t(),m(`div`,R,[p(`div`,z,[c[0]||=p(`div`,{class:`i-ri:folder-2-line text-3xl`},null,-1),p(`span`,null,s(h(V)(`categories.all`)),1)])]))]),_:1})]),_:1},8,[`horizontal`])}}});export{B as default};
@@ -0,0 +1 @@
1
+ import{B as e,Bt as t,E as n,H as r,T as i,Ut as a,b as o,f as s,ft as c,r as l,tt as u,v as d,w as f,x as p,xt as m,y as h}from"./app-D70151fp.js";import{p as g}from"./index-BJGKneng.js";import{n as _,t as v}from"./splitpanes.esm-CUQA4hIN.js";var y={class:`h-full overflow-auto`},b=[`onClick`],x={class:`font-bold text-sm`},S={class:`text-xs op-50 mt-1`},C={key:0,class:`text-center op-50 py-8 text-sm`},w={key:0,class:`overflow-auto h-full p-4`},T={class:`flex items-start gap-4 mb-4`},E=[`src`],D={class:`text-lg font-bold`},O={class:`text-xs op-50 mt-1`},k={key:0,class:`text-sm op-70 mt-2`},A={class:`text-xs mt-2`},j={class:`font-bold text-sm mb-2 op-70`},M={class:`border border-base rounded`},N={class:`op-40 text-xs w-6 text-right`},P={class:`flex-1`},F=[`href`],I={key:1,class:`text-xs op-40 font-mono`},L={key:0,class:`text-center op-50 py-4 text-sm`},R={key:1,class:`flex items-center justify-center h-full op-40 text-sm`},z=n({__name:`collections`,setup(n){let z=g(`(max-width: 640px)`),B=c(null);function V(e){B.value=e}return(n,c)=>(e(),h(m(_),{horizontal:m(z),class:`h-full`},{default:u(()=>[i(m(v),{"min-size":`20`,size:`33`},{default:u(()=>[d(`div`,y,[(e(!0),p(s,null,r(m(l),n=>(e(),p(`div`,{key:n.key,class:t([`cursor-pointer p-3 border-b border-mute hover:bg-hover transition`,{"bg-sunken ":B.value?.key===n.key}]),onClick:e=>V(n)},[d(`div`,x,a(n.title||n.key),1),d(`div`,S,a(n.items.length)+` items `,1)],10,b))),128)),m(l).length?o(``,!0):(e(),p(`div`,C,` No collections found `))])]),_:1}),i(m(v),null,{default:u(()=>[B.value?(e(),p(`div`,w,[d(`div`,T,[B.value.cover?(e(),p(`img`,{key:0,src:B.value.cover,class:`max-h-30 rounded shadow`},null,8,E)):o(``,!0),d(`div`,null,[d(`h2`,D,a(B.value.title||B.value.key),1),d(`div`,O,` key: `+a(B.value.key),1),B.value.description?(e(),p(`div`,k,a(B.value.description),1)):o(``,!0),d(`div`,A,[d(`span`,{class:t([`px-1.5 py-0.5 rounded`,B.value.collapse?`bg-active color-active`:`bg-sunken color-muted `])},a(B.value.collapse?`collapsed`:`expanded`),3)])])]),d(`h3`,j,` Items (`+a(B.value.items.length)+`) `,1),d(`div`,M,[(e(!0),p(s,null,r(B.value.items,(t,n)=>(e(),p(`div`,{key:t.key||t.link,class:`flex items-center gap-2 px-3 py-2 text-sm border-b border-base last:border-b-0`},[d(`span`,N,a(n+1),1),d(`span`,P,a(t.title),1),t.link?(e(),p(`a`,{key:0,href:t.link,target:`_blank`,rel:`noopener noreferrer`,class:`text-xs color-active font-mono inline-flex items-center gap-0.5`},[f(a(t.link)+` `,1),c[0]||=d(`span`,{class:`i-ri-external-link-line text-xs`},null,-1)],8,F)):(e(),p(`span`,I,a(t.key),1))]))),128)),B.value.items.length?o(``,!0):(e(),p(`div`,L,` No items `))])])):(e(),p(`div`,R,` Select a collection to view details `))]),_:1})]),_:1},8,[`horizontal`]))}});export{z as default};
@@ -0,0 +1 @@
1
+ import{$ as e,Q as t,X as n,c as r,d as i,h as a,l as o,o as s,p as c,s as l,u}from"./index-BJGKneng.js";import{t as d}from"./VDCheckbox-d9tAu2AU.js";import{B as f,Bt as p,E as m,H as h,T as g,U as _,Ut as v,Z as y,_ as b,b as x,f as S,ft as C,tt as w,v as T,w as E,x as D,xt as O,y as k}from"./app-D70151fp.js";import{t as A}from"./VDNumberField-Bt_x9HRo.js";import{t as j}from"./VDSelect-ChDEUGo2.js";import{n as ee,t as M}from"./splitpanes.esm-CUQA4hIN.js";import{t as N}from"./editor-BlhW0hDH.js";var P={class:`flex items-center gap-2`},te=m({__name:`ConfigFieldCheckbox`,props:{configType:{},field:{},label:{},description:{},modelValue:{type:Boolean}},emits:[`saved`],setup(e,{emit:t}){let n=e,r=t;async function o(){let e=!n.modelValue;await i(n.configType,n.field,e),r(`saved`)}return(t,n)=>{let r=d,i=a;return f(),D(`div`,P,[g(r,{"model-value":e.modelValue??!1,"onUpdate:modelValue":o},null,8,[`model-value`]),T(`label`,{class:`text-sm font-medium cursor-pointer`,onClick:o},v(e.label),1),e.description?(f(),k(i,{key:0,content:e.description,side:`right`},{default:w(()=>[...n[0]||=[T(`div`,{class:`i-ri:information-line text-xs op-40 cursor-help`},null,-1)]]),_:1},8,[`content`])):x(``,!0)])}}}),F={class:`config-field-group`},I={class:`flex items-center gap-2 mb-3`},L={class:`text-sm font-bold color-base`},R={class:`flex flex-col gap-4 pl-1`},z=m({__name:`ConfigFieldGroup`,props:{title:{},icon:{}},setup(e){return(t,n)=>(f(),D(`div`,F,[T(`div`,I,[e.icon?(f(),D(`div`,{key:0,class:p([e.icon,`text-base color-active`])},null,2)):x(``,!0),T(`h4`,L,v(e.title),1)]),T(`div`,R,[_(t.$slots,`default`)])]))}}),B={class:`flex flex-col gap-1.5`},V={class:`flex items-center gap-1.5`},H={class:`text-sm font-medium`},U=m({__name:`ConfigFieldNumber`,props:{configType:{},field:{},label:{},description:{},modelValue:{},min:{},max:{},step:{}},emits:[`saved`],setup(e,{emit:t}){let n=e,r=t,o=C(n.modelValue??0);y(()=>n.modelValue,e=>{o.value=e??0});async function s(){o.value!==(n.modelValue??0)&&(await i(n.configType,n.field,o.value),r(`saved`))}return(t,n)=>{let r=a,i=A;return f(),D(`div`,B,[T(`div`,V,[T(`label`,H,v(e.label),1),e.description?(f(),k(r,{key:0,content:e.description,side:`right`},{default:w(()=>[...n[1]||=[T(`div`,{class:`i-ri:information-line text-xs op-40 cursor-help`},null,-1)]]),_:1},8,[`content`])):x(``,!0)]),g(i,{modelValue:o.value,"onUpdate:modelValue":[n[0]||=e=>o.value=e,s],min:e.min,max:e.max,step:e.step},null,8,[`modelValue`,`min`,`max`,`step`])])}}}),W={class:`flex flex-col gap-1.5`},G={class:`flex items-center gap-1.5`},K={class:`text-sm font-medium`},q=m({__name:`ConfigFieldSelect`,props:{configType:{},field:{},label:{},description:{},modelValue:{},options:{}},emits:[`saved`],setup(e,{emit:t}){let n=e,r=t;async function o(e){e!==void 0&&e!==n.modelValue&&(await i(n.configType,n.field,e),r(`saved`))}return(t,n)=>{let r=a,i=j;return f(),D(`div`,W,[T(`div`,G,[T(`label`,K,v(e.label),1),e.description?(f(),k(r,{key:0,content:e.description,side:`right`},{default:w(()=>[...n[0]||=[T(`div`,{class:`i-ri:information-line text-xs op-40 cursor-help`},null,-1)]]),_:1},8,[`content`])):x(``,!0)]),g(i,{"model-value":e.modelValue,options:e.options,class:`w-48`,"onUpdate:modelValue":o},null,8,[`model-value`,`options`])])}}}),J={class:`flex flex-col gap-1.5`},Y={class:`flex items-center gap-1.5`},X={class:`text-sm font-medium`},Z=m({__name:`ConfigFieldInput`,props:{configType:{},field:{},label:{},description:{},placeholder:{},modelValue:{}},emits:[`saved`],setup(e,{emit:t}){let r=e,o=t,s=C(r.modelValue??``);y(()=>r.modelValue,e=>{s.value=e??``});async function c(){s.value!==(r.modelValue??``)&&(await i(r.configType,r.field,s.value),o(`saved`))}function l(e){e.key===`Enter`&&c()}return(t,r)=>{let i=a,o=n;return f(),D(`div`,J,[T(`div`,Y,[T(`label`,X,v(e.label),1),e.description?(f(),k(i,{key:0,content:e.description,side:`right`},{default:w(()=>[...r[1]||=[T(`div`,{class:`i-ri:information-line text-xs op-40 cursor-help`},null,-1)]]),_:1},8,[`content`])):x(``,!0)]),g(o,{modelValue:s.value,"onUpdate:modelValue":r[0]||=e=>s.value=e,placeholder:e.placeholder,size:`md`,onBlur:c,onKeydown:l},null,8,[`modelValue`,`placeholder`])])}}}),Q={generated:`2026-03-23T00:00:00.000Z`,siteConfig:[{name:`mode`,type:`'light' | 'dark' | 'auto'`,description:`Enable auto light/dark mode`,descriptionZh:`启用自动亮色/暗色模式`,default:`'auto'`},{name:`lang`,type:`string`,description:`Default language`,descriptionZh:`默认语言,设置 'zh-CN' 以改变默认语言为中文`,default:`'en'`},{name:`languages`,type:`string[]`,description:`Alternative languages`,descriptionZh:`可选语言`,default:`['en', 'zh-CN']`},{name:`url`,type:`string`,description:`Site URL in web, required for SSG & RSS`,descriptionZh:`站点的完整 URL,SSG & RSS 需要`,default:`'/'`},{name:`timezone`,type:`string`,description:`Timezone configuration`,descriptionZh:`时区配置,国内推荐使用 'Asia/Shanghai'`,default:`''`},{name:`title`,type:`string`,description:`Site title`,descriptionZh:`站点标题`},{name:`subtitle`,type:`string`,description:`Site subtitle`,descriptionZh:`副标题`},{name:`description`,type:`string`,description:`Site description`,descriptionZh:`站点描述`},{name:`author`,type:`object`,description:`The owner of this blog`,descriptionZh:`博客作者`,children:[{name:`name`,type:`string`,description:`Your name`,descriptionZh:`你的名字`},{name:`email`,type:`string`,description:`Your email`,descriptionZh:`邮箱`},{name:`link`,type:`string`,description:`Your profile link`,descriptionZh:`个人链接`},{name:`avatar`,type:`string`,description:`Avatar URL`,descriptionZh:`头像 URL`},{name:`intro`,type:`string`,description:`Personal introduction`,descriptionZh:`个人简介`},{name:`status`,type:`object`,description:`The status of you`,descriptionZh:`状态`,children:[{name:`emoji`,type:`string`,description:`Emoji representation of your status like '👨‍💻'`,descriptionZh:`你的状态的 Emoji 表示`},{name:`message`,type:`string`,description:`Show when hover emoji`,descriptionZh:`当鼠标悬浮在图标上时显示`}]}]},{name:`favicon`,type:`string`,description:`Icon for your website`,descriptionZh:`站点图标`},{name:`orderBy`,type:`'date' | 'updated'`,description:`Order posts by 'date' or 'updated'`,descriptionZh:`按创建时间或更新时间排序`,default:`'date'`},{name:`lastUpdated`,type:`boolean`,description:`Show last updated time by git/mtime`,descriptionZh:`显示最后更新时间`,default:`false`},{name:`pageSize`,type:`number`,description:`Posts per page`,descriptionZh:`每页显示的文章数`,default:`7`},{name:`search`,type:`object`,description:`Search engine for your site`,descriptionZh:`搜索功能`,children:[{name:`enable`,type:`boolean`,description:`Enable search`,descriptionZh:`是否启用`,default:`false`},{name:`provider`,type:`'algolia' | 'engine' | 'fuse' | 'local'`,description:`Search provider type`,descriptionZh:`搜索提供商类型`,default:`'fuse'`}]},{name:`comment`,type:`object`,description:`Comment system`,descriptionZh:`评论系统`,children:[{name:`enable`,type:`boolean`,description:`Enable comment`,descriptionZh:`启用评论`,default:`false`}]},{name:`feed`,type:`object`,description:`Feed configuration`,descriptionZh:`RSS 订阅配置`,children:[{name:`name`,type:`string`,description:`Feed file name`,descriptionZh:`订阅文件名`,default:`''`},{name:`favicon`,type:`string`,description:`Feed favicon`,descriptionZh:`订阅图标`,default:`'/favicon.svg'`}]},{name:`license`,type:`object`,description:`Post license configuration`,descriptionZh:`文章所使用的协议`,children:[{name:`enabled`,type:`boolean`,description:`Whether to show at the bottom of the article`,descriptionZh:`是否显示在文章底部`,default:`true`},{name:`language`,type:`string`,description:`Creative License Language`,descriptionZh:`协议语言,默认与站点语言相同`,default:`'en'`},{name:`type`,type:`'zero' | 'by-sa' | 'by-nd' | 'by-nc' | 'by-nc-sa' | 'by-nc-nd'`,description:`Type of license`,descriptionZh:`证书类型`,default:`'by-nc-sa'`}]},{name:`sponsor`,type:`object`,description:`Donate/sponsor configuration`,descriptionZh:`打赏/赞助`,children:[{name:`enable`,type:`boolean`,description:`Enable sponsor`,descriptionZh:`启用赞助`,default:`true`},{name:`title`,type:`string`,description:`Donate button title`,descriptionZh:`打赏按钮的 title 属性`},{name:`description`,type:`string`,description:`Donate content description`,descriptionZh:`打赏的描述内容`}]},{name:`excerpt`,type:`object`,description:`Excerpt configuration`,descriptionZh:`全局摘要配置`,children:[{name:`type`,type:`'html' | 'text'`,description:`Default excerpt render type`,descriptionZh:`默认摘要渲染类型`,default:`'html'`},{name:`auto`,type:`boolean`,description:`Auto-generate excerpt from post content`,descriptionZh:`自动从文章内容截取摘要`,default:`false`},{name:`length`,type:`number`,description:`Maximum length of auto-generated excerpt`,descriptionZh:`自动摘要的最大长度(字符数)`,default:`200`}]},{name:`cdn`,type:`object`,description:`CDN configuration for third-party plugins`,descriptionZh:`第三方插件 CDN 配置`,children:[{name:`prefix`,type:`string`,description:`CDN prefix URL`,descriptionZh:`CDN 前缀 URL`,default:`'https://unpkg.com/'`}]},{name:`mediumZoom`,type:`object`,description:`Image preview by medium-zoom`,descriptionZh:`图片预览 (medium-zoom)`,children:[{name:`enable`,type:`boolean`,description:`Enable image preview`,descriptionZh:`启用图片预览`,default:`false`}]},{name:`vanillaLazyload`,type:`object`,description:`Lazyload by vanilla-lazyload`,descriptionZh:`图片懒加载 (vanilla-lazyload)`,children:[{name:`enable`,type:`boolean`,description:`Enable lazy loading`,descriptionZh:`启用懒加载`,default:`false`}]},{name:`statistics`,type:`object`,description:`Statistics: reading time and word count`,descriptionZh:`统计阅读时间和字数`,children:[{name:`enable`,type:`boolean`,description:`Enable statistics`,descriptionZh:`启用统计`,default:`false`},{name:`readTime`,type:`object`,description:`Read time configuration`,descriptionZh:`阅读时间配置`,children:[{name:`speed`,type:`object`,description:`Reading speed`,descriptionZh:`阅读速度`,children:[{name:`cn`,type:`number`,description:`Chinese words per minute`,descriptionZh:`中文每分钟阅读字数`,default:`300`},{name:`en`,type:`number`,description:`English words per minute`,descriptionZh:`英文每分钟阅读字数`,default:`100`}]}]}]},{name:`encrypt`,type:`object`,description:`Encrypt article`,descriptionZh:`加密文章`,children:[{name:`enable`,type:`boolean`,description:`Enable encryption`,descriptionZh:`启用加密`,default:`false`},{name:`algorithm`,type:`string`,description:`Encryption algorithm`,descriptionZh:`加密算法`,default:`'AES-CBC'`}]},{name:`codeHeightLimit`,type:`number`,description:`Limit the height of code blocks in px`,descriptionZh:`限制代码块的高度,单位是 px`},{name:`llms`,type:`object`,description:`llms.txt and raw Markdown file output`,descriptionZh:`llms.txt 及原始 Markdown 文件输出`,children:[{name:`enable`,type:`boolean`,description:`Enable llms.txt and raw .md file output`,descriptionZh:`是否开启 llms.txt 和 .md 原始文件输出`,default:`false`},{name:`fullText`,type:`boolean`,description:`Whether to generate llms-full.txt`,descriptionZh:`是否生成 llms-full.txt`,default:`true`},{name:`files`,type:`boolean`,description:`Whether to generate individual .md files`,descriptionZh:`是否为每篇文章生成独立的 .md 文件`,default:`true`},{name:`prompt`,type:`string`,description:`Custom prompt text for llms.txt`,descriptionZh:`自定义提示词`,default:`''`},{name:`exclude`,type:`string[]`,description:`Globs omitted from llms.txt and llms-full.txt. .md files are still written.`,descriptionZh:`从 llms.txt 和 llms-full.txt 排除的 glob,仍会写出 .md 文件`},{name:`sectionOrder`,type:`string[]`,description:`Section headings to emit first in llms.txt`,descriptionZh:`llms.txt 中优先输出的分组标题`},{name:`locales`,type:`string[]`,description:`URL prefixes treated as languages when grouping llms.txt`,descriptionZh:`分组时视为语言前缀的 URL 片段`},{name:`featured`,type:`LlmsFeatured`,description:`Pages pinned to the start of llms.txt`,descriptionZh:`置顶到 llms.txt 开头的页面`},{name:`collapse`,type:`LlmsCollapse[]`,description:`Replace matching pages with one llms.txt link and omit them from llms-full.txt`,descriptionZh:`把匹配页面收成一条 llms.txt 链接,并且不写入 llms-full.txt`}]}],valaxyConfig:[{name:`theme`,type:`string`,description:`The name of theme`,descriptionZh:`主题名称`},{name:`themeConfig`,type:`object`,description:`Theme-specific configuration`,descriptionZh:`主题配置,请参考对应主题的相关文档`}]},ne={key:0,class:`h-full flex items-center justify-center text-sm op-50`},re={key:1,class:`h-full flex items-center justify-center text-sm op-50`},ie={class:`h-full flex flex-col`},ae={class:`flex items-center gap-2 px-3 py-2 border-b border-mute`},oe={class:`text-sm font-bold flex-1`},se={class:`flex items-center gap-1`},ce=[`disabled`],le={key:0,class:`px-3 pt-2`},ue={class:`flex gap-1 px-3 pt-3 pb-1 flex-wrap`},de=[`onClick`],fe={class:`flex-1 overflow-auto p-3`},pe={key:0,class:`flex flex-col gap-4`},me={key:1,class:`flex flex-col gap-4`},he={key:2,class:`flex flex-col gap-4`},ge={key:3,class:`flex flex-col gap-4`},_e={key:4,class:`flex flex-col gap-4`},ve={key:0,class:`text-sm op-50`},ye={key:3,class:`flex flex-col gap-1.5`},be={class:`text-sm font-medium`},xe={class:`px-2 py-1 bg-secondary rounded text-xs break-all`},Se={class:`h-full flex flex-col`},Ce={class:`flex items-center gap-2 px-3 py-2 border-b border-mute`},we={class:`text-sm font-bold flex-1`},Te={class:`text-xs op-40 tabular-nums`},Ee={class:`px-3 pt-2 pb-1`},De={class:`flex-1 overflow-auto px-2 pb-2`},Oe={class:`flex flex-col gap-1.5 pt-1`},ke=[`onClick`],Ae={class:`text-xs op-50 font-normal`},je={key:0,class:`divide-y divide-[#9992]`},Me={class:`flex items-start gap-1.5`},Ne={class:`flex-1 min-w-0`},Pe={class:`flex items-center gap-1.5 flex-wrap`},Fe={class:`text-xs font-mono color-active`},Ie={class:`text-xs op-40`},Le={key:0,class:`text-xs op-40`},Re={key:0,class:`text-xs op-60 mt-0.5 leading-relaxed`},ze={key:1,class:`mt-0.5`},Be={class:`text-xs bg-sunken px-1 py-0.5 rounded break-all`},Ve={class:`flex items-center gap-0.5 flex-shrink-0`},$=[`onClick`],He=[`onClick`],Ue={key:0,class:`border border-base rounded-lg overflow-hidden`},We={class:`text-xs op-50 font-normal`},Ge={key:0,class:`divide-y divide-[#9992]`},Ke={class:`flex items-start gap-1.5`},qe={class:`flex-1 min-w-0`},Je={class:`flex items-center gap-1.5`},Ye={class:`text-xs font-mono color-active`},Xe={class:`text-xs op-40`},Ze={class:`mt-0.5`},Qe={class:`text-xs bg-sunken px-1 py-0.5 rounded break-all`},$e=m({__name:`config`,setup(i){let d=c(`(max-width: 640px)`),{t:m,locale:_}=e(),y=C(`site`),A=C(``),j=C(new Set);function P(e){j.value.has(e)?j.value.delete(e):j.value.add(e)}function F(e,t){if(!l.value)return;let n=e===`site`?l.value.siteConfig:e===`theme`?l.value.themeConfig:l.value.valaxyConfig,r=t.split(`.`),i=n;for(let e of r){if(i==null)return;i=i[e]}return i}function I(e){return _.value===`zh-CN`&&e.descriptionZh?e.descriptionZh:e.description||``}function L(e,t,n,r){let i=[];for(let a of e){let e=t?`${t}.${a.name}`:a.name;i.push({path:e,name:a.name,type:a.type,description:a.description||``,descriptionZh:a.descriptionZh,default:a.default,section:n,configType:r,value:F(r,e)}),`children`in a&&a.children&&i.push(...L(a.children,e,n,r))}return i}let R=b(()=>{let e=L(Q.siteConfig,``,`SiteConfig`,`site`),t=L(Q.valaxyConfig,``,`ValaxyConfig`,`valaxy`);return[...e,...t]}),B=b(()=>{if(!A.value)return R.value;let e=A.value.toLowerCase();return R.value.filter(t=>t.path.toLowerCase().includes(e)||t.description.toLowerCase().includes(e)||t.descriptionZh&&t.descriptionZh.toLowerCase().includes(e))}),V=b(()=>l.value?.themeConfig?Object.entries(l.value.themeConfig).filter(([e])=>e!==`pkg`):[]);async function H(e){let t=e.value,n=typeof t==`string`?`'${t}'`:JSON.stringify(t),r=`${e.path}: ${n}`;try{await navigator.clipboard.writeText(r)}catch{}}function W(e){if(!l.value)return;let t=e===`site`?l.value.siteConfigPath:l.value.valaxyConfigPath;t&&s({file:t})}let G=b(()=>[{value:`site`,label:m(`config.tab_site`),icon:`i-ri:global-line`},{value:`author`,label:m(`config.tab_author`),icon:`i-ri:user-line`},{value:`features`,label:m(`config.tab_features`),icon:`i-ri:flashlight-line`},{value:`build`,label:m(`config.tab_build`),icon:`i-ri:hammer-line`},{value:`theme`,label:m(`config.tab_theme`),icon:`i-ri:palette-line`}]);return(e,i)=>{let s=a,c=t,_=Z,b=q,C=U,L=z,R=te,K=n;return O(r)&&!O(l)?(f(),D(`div`,ne,v(O(m)(`config.loading`)),1)):O(l)?(f(),k(O(ee),{key:2,horizontal:O(d),class:`h-full`},{default:w(()=>[g(O(M),{"min-size":`30`,size:`45`},{default:w(()=>[T(`div`,ie,[T(`div`,ae,[T(`h3`,oe,v(O(m)(`config.quick_edit`)),1),T(`div`,se,[g(s,{content:O(m)(`config.open_site_config`)},{default:w(()=>[T(`button`,{class:`inline-flex items-center gap-1 px-1.5 py-0.5 text-xs rounded hover:bg-hover color-faint transition-colors`,onClick:i[0]||=e=>W(`site`)},[T(`div`,{class:p([O(N)?.icon||`i-ph:code`,`text-xs`])},null,2),i[6]||=E(` site `,-1)])]),_:1},8,[`content`]),g(s,{content:O(m)(`config.open_valaxy_config`)},{default:w(()=>[T(`button`,{class:`inline-flex items-center gap-1 px-1.5 py-0.5 text-xs rounded hover:bg-hover color-faint transition-colors`,onClick:i[1]||=e=>W(`valaxy`)},[T(`div`,{class:p([O(N)?.icon||`i-ph:code`,`text-xs`])},null,2),i[7]||=E(` valaxy `,-1)])]),_:1},8,[`content`]),T(`button`,{class:`inline-flex items-center justify-center w-6 h-6 text-xs rounded hover:bg-hover color-faint transition-colors`,disabled:O(r),onClick:i[2]||=(...e)=>O(u)&&O(u)(...e)},[T(`div`,{class:p([`i-ri:refresh-line`,{"animate-spin":O(r)}])},null,2)],8,ce)])]),O(o)?(f(),D(`div`,le,[g(c,{severity:O(o).type===`success`?`success`:`error`,closable:``},{default:w(()=>[E(v(O(o).text),1)]),_:1},8,[`severity`])])):x(``,!0),T(`div`,ue,[(f(!0),D(S,null,h(G.value,e=>(f(),D(`button`,{key:e.value,class:p([`inline-flex items-center gap-1 px-2 py-1 text-xs rounded-md border transition-colors`,y.value===e.value?`bg-active border-active color-active `:`border-base color-muted hover:bg-hover `]),onClick:t=>y.value=e.value},[T(`div`,{class:p([e.icon,`text-xs`])},null,2),E(` `+v(e.label),1)],10,de))),128))]),T(`div`,fe,[y.value===`site`?(f(),D(`div`,pe,[g(_,{"config-type":`site`,field:`title`,label:O(m)(`config.field_title`),description:I({description:`Site title`,descriptionZh:`站点标题`}),"model-value":F(`site`,`title`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(_,{"config-type":`site`,field:`subtitle`,label:O(m)(`config.field_subtitle`),description:I({description:`Site subtitle`,descriptionZh:`副标题`}),"model-value":F(`site`,`subtitle`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(_,{"config-type":`site`,field:`description`,label:O(m)(`config.field_description`),description:I({description:`Site description`,descriptionZh:`站点描述`}),"model-value":F(`site`,`description`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(_,{"config-type":`site`,field:`url`,label:O(m)(`config.field_url`),description:I({description:`Site URL, required for SSG & RSS`,descriptionZh:`站点 URL,SSG 和 RSS 需要`}),"model-value":F(`site`,`url`),placeholder:`https://example.com`,onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(b,{"config-type":`site`,field:`mode`,label:O(m)(`config.field_mode`),description:I({description:`Light/Dark mode`,descriptionZh:`亮色/暗色模式`}),"model-value":F(`site`,`mode`)||`auto`,options:[{label:`Auto`,value:`auto`},{label:`Light`,value:`light`},{label:`Dark`,value:`dark`}],onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(_,{"config-type":`site`,field:`lang`,label:O(m)(`config.field_lang`),description:I({description:`Default language`,descriptionZh:`默认语言`}),"model-value":F(`site`,`lang`),placeholder:`en`,onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(_,{"config-type":`site`,field:`favicon`,label:O(m)(`config.field_favicon`),description:I({description:`Website icon`,descriptionZh:`站点图标`}),"model-value":F(`site`,`favicon`),placeholder:`/favicon.svg`,onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(C,{"config-type":`site`,field:`pageSize`,label:O(m)(`config.field_page_size`),description:I({description:`Posts per page`,descriptionZh:`每页显示文章数`}),"model-value":F(`site`,`pageSize`),min:1,max:100,onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`])])):y.value===`author`?(f(),D(`div`,me,[g(_,{"config-type":`site`,field:`author.name`,label:O(m)(`config.field_author_name`),description:I({description:`Your name`,descriptionZh:`你的名字`}),"model-value":F(`site`,`author.name`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(_,{"config-type":`site`,field:`author.email`,label:O(m)(`config.field_author_email`),description:I({description:`Your email`,descriptionZh:`邮箱`}),"model-value":F(`site`,`author.email`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(_,{"config-type":`site`,field:`author.link`,label:O(m)(`config.field_author_link`),description:I({description:`Your profile link`,descriptionZh:`个人链接`}),"model-value":F(`site`,`author.link`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(_,{"config-type":`site`,field:`author.avatar`,label:O(m)(`config.field_author_avatar`),description:I({description:`Avatar URL`,descriptionZh:`头像 URL`}),"model-value":F(`site`,`author.avatar`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(_,{"config-type":`site`,field:`author.intro`,label:O(m)(`config.field_author_intro`),description:I({description:`Personal introduction`,descriptionZh:`个人简介`}),"model-value":F(`site`,`author.intro`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(L,{title:O(m)(`config.field_author_status`),icon:`i-ri:emotion-line`},{default:w(()=>[g(_,{"config-type":`site`,field:`author.status.emoji`,label:O(m)(`config.field_status_emoji`),description:I({description:`Status emoji`,descriptionZh:`状态 Emoji`}),"model-value":F(`site`,`author.status.emoji`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(_,{"config-type":`site`,field:`author.status.message`,label:O(m)(`config.field_status_message`),description:I({description:`Hover message`,descriptionZh:`悬浮消息`}),"model-value":F(`site`,`author.status.message`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`])]),_:1},8,[`title`])])):y.value===`features`?(f(),D(`div`,he,[g(L,{title:O(m)(`config.group_search`),icon:`i-ri:search-line`},{default:w(()=>[g(R,{"config-type":`site`,field:`search.enable`,label:O(m)(`config.field_search_enable`),description:I({description:`Enable search`,descriptionZh:`启用搜索`}),"model-value":F(`site`,`search.enable`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(b,{"config-type":`site`,field:`search.provider`,label:O(m)(`config.field_search_provider`),description:I({description:`Search provider`,descriptionZh:`搜索提供商`}),"model-value":F(`site`,`search.provider`)||`fuse`,options:[{label:`Fuse (Local)`,value:`fuse`},{label:`Algolia`,value:`algolia`},{label:`Engine`,value:`engine`}],onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`])]),_:1},8,[`title`]),g(L,{title:O(m)(`config.group_comment`),icon:`i-ri:chat-3-line`},{default:w(()=>[g(R,{"config-type":`site`,field:`comment.enable`,label:O(m)(`config.field_comment_enable`),description:I({description:`Enable comment`,descriptionZh:`启用评论`}),"model-value":F(`site`,`comment.enable`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`])]),_:1},8,[`title`]),g(L,{title:O(m)(`config.group_license`),icon:`i-ri:copyright-line`},{default:w(()=>[g(R,{"config-type":`site`,field:`license.enabled`,label:O(m)(`config.field_license_enabled`),description:I({description:`Show license`,descriptionZh:`显示协议`}),"model-value":F(`site`,`license.enabled`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(b,{"config-type":`site`,field:`license.type`,label:O(m)(`config.field_license_type`),description:I({description:`License type`,descriptionZh:`协议类型`}),"model-value":F(`site`,`license.type`)||`by-nc-sa`,options:[{label:`CC BY-NC-SA`,value:`by-nc-sa`},{label:`CC BY-SA`,value:`by-sa`},{label:`CC BY-NC`,value:`by-nc`},{label:`CC BY-NC-ND`,value:`by-nc-nd`},{label:`CC BY-ND`,value:`by-nd`},{label:`CC0`,value:`zero`}],onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`])]),_:1},8,[`title`]),g(L,{title:O(m)(`config.group_sponsor`),icon:`i-ri:heart-line`},{default:w(()=>[g(R,{"config-type":`site`,field:`sponsor.enable`,label:O(m)(`config.field_sponsor_enable`),description:I({description:`Enable sponsor`,descriptionZh:`启用赞助`}),"model-value":F(`site`,`sponsor.enable`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`])]),_:1},8,[`title`]),g(L,{title:O(m)(`config.group_general`),icon:`i-ri:settings-3-line`},{default:w(()=>[g(R,{"config-type":`site`,field:`lastUpdated`,label:O(m)(`config.field_last_updated`),description:I({description:`Show last updated time`,descriptionZh:`显示最后更新时间`}),"model-value":F(`site`,`lastUpdated`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(R,{"config-type":`site`,field:`statistics.enable`,label:O(m)(`config.field_statistics_enable`),description:I({description:`Enable reading statistics`,descriptionZh:`启用阅读统计`}),"model-value":F(`site`,`statistics.enable`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(R,{"config-type":`site`,field:`mediumZoom.enable`,label:O(m)(`config.field_medium_zoom`),description:I({description:`Enable image preview`,descriptionZh:`启用图片预览`}),"model-value":F(`site`,`mediumZoom.enable`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`])]),_:1},8,[`title`]),g(L,{title:O(m)(`config.group_llms`),icon:`i-ri:robot-line`},{default:w(()=>[g(R,{"config-type":`site`,field:`llms.enable`,label:O(m)(`config.field_llms_enable`),description:I({description:`Enable llms.txt output`,descriptionZh:`启用 llms.txt 输出`}),"model-value":F(`site`,`llms.enable`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(R,{"config-type":`site`,field:`llms.fullText`,label:O(m)(`config.field_llms_full_text`),description:I({description:`Generate llms-full.txt`,descriptionZh:`生成 llms-full.txt`}),"model-value":F(`site`,`llms.fullText`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`])]),_:1},8,[`title`])])):y.value===`build`?(f(),D(`div`,ge,[g(_,{"config-type":`valaxy`,field:`theme`,label:O(m)(`config.field_theme`),description:I({description:`Theme name`,descriptionZh:`主题名称`}),"model-value":F(`valaxy`,`theme`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(b,{"config-type":`site`,field:`orderBy`,label:O(m)(`config.field_order_by`),description:I({description:`Post ordering`,descriptionZh:`文章排序方式`}),"model-value":F(`site`,`orderBy`)||`date`,options:[{label:`Date`,value:`date`},{label:`Updated`,value:`updated`}],onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(L,{title:O(m)(`config.group_excerpt`),icon:`i-ri:file-text-line`},{default:w(()=>[g(R,{"config-type":`site`,field:`excerpt.auto`,label:O(m)(`config.field_excerpt_auto`),description:I({description:`Auto-generate excerpt`,descriptionZh:`自动生成摘要`}),"model-value":F(`site`,`excerpt.auto`),onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`]),g(C,{"config-type":`site`,field:`excerpt.length`,label:O(m)(`config.field_excerpt_length`),description:I({description:`Max excerpt length`,descriptionZh:`摘要最大长度`}),"model-value":F(`site`,`excerpt.length`),min:50,max:1e3,step:50,onSaved:O(u)},null,8,[`label`,`description`,`model-value`,`onSaved`])]),_:1},8,[`title`])])):y.value===`theme`?(f(),D(`div`,_e,[V.value.length===0?(f(),D(`p`,ve,v(O(m)(`config.no_theme_config`)),1)):x(``,!0),(f(!0),D(S,null,h(V.value,([e,t])=>(f(),D(S,{key:e},[typeof t==`string`?(f(),k(_,{key:0,"config-type":`theme`,field:e,label:e,"model-value":t,onSaved:O(u)},null,8,[`field`,`label`,`model-value`,`onSaved`])):typeof t==`boolean`?(f(),k(R,{key:1,"config-type":`theme`,field:e,label:e,"model-value":t,onSaved:O(u)},null,8,[`field`,`label`,`model-value`,`onSaved`])):typeof t==`number`?(f(),k(C,{key:2,"config-type":`theme`,field:e,label:e,"model-value":t,onSaved:O(u)},null,8,[`field`,`label`,`model-value`,`onSaved`])):(f(),D(`div`,ye,[T(`label`,be,v(e),1),T(`code`,xe,v(JSON.stringify(t)),1)]))],64))),128))])):x(``,!0)])])]),_:1}),g(O(M),null,{default:w(()=>[T(`div`,Se,[T(`div`,Ce,[T(`h3`,we,v(O(m)(`config.all_options`)),1),T(`span`,Te,v(B.value.length),1)]),T(`div`,Ee,[g(K,{modelValue:A.value,"onUpdate:modelValue":i[3]||=e=>A.value=e,placeholder:O(m)(`config.search_placeholder`),size:`sm`,class:`w-full`},null,8,[`modelValue`,`placeholder`])]),T(`div`,De,[T(`div`,Oe,[(f(),D(S,null,h([`SiteConfig`,`ValaxyConfig`],e=>T(`div`,{key:e,class:`border border-base rounded-lg overflow-hidden`},[T(`button`,{class:`w-full flex items-center gap-2 px-3 py-1.5 text-xs font-bold bg-secondary hover:bg-hover transition-colors text-left`,onClick:t=>P(e)},[T(`div`,{class:p([`i-ri:arrow-right-s-line text-xs transition-transform`,{"rotate-90":!j.value.has(e)}])},null,2),E(` `+v(e)+` `,1),T(`span`,Ae,` (`+v(B.value.filter(t=>t.section===e).length)+`) `,1)],8,ke),j.value.has(e)?x(``,!0):(f(),D(`div`,je,[(f(!0),D(S,null,h(B.value.filter(t=>t.section===e),e=>(f(),D(`div`,{key:e.path,class:`px-3 py-1.5 hover:bg-hover transition-colors`},[T(`div`,Me,[T(`div`,Ne,[T(`div`,Pe,[T(`code`,Fe,v(e.path),1),T(`span`,Ie,`(`+v(e.type)+`)`,1),e.default?(f(),D(`span`,Le,` = `+v(e.default),1)):x(``,!0)]),I(e)?(f(),D(`p`,Re,v(I(e)),1)):x(``,!0),e.value===void 0?x(``,!0):(f(),D(`div`,ze,[T(`code`,Be,v(typeof e.value==`object`?JSON.stringify(e.value):String(e.value)),1)]))]),T(`div`,Ve,[g(s,{content:O(m)(`config.copy_snippet`)},{default:w(()=>[T(`button`,{class:`inline-flex items-center justify-center w-5 h-5 rounded hover:bg-hover color-faint hover:color-muted transition-colors`,onClick:t=>H(e)},[...i[8]||=[T(`div`,{class:`i-ri:clipboard-line text-xs`},null,-1)]],8,$)]),_:2},1032,[`content`]),g(s,{content:O(m)(`config.open_in_editor`)},{default:w(()=>[T(`button`,{class:`inline-flex items-center justify-center w-5 h-5 rounded hover:bg-hover color-faint hover:color-muted transition-colors`,onClick:t=>W(e.configType)},[T(`div`,{class:p([O(N)?.icon||`i-ph:code`,`text-xs`])},null,2)],8,He)]),_:2},1032,[`content`])])])]))),128))]))])),64)),V.value.length>0?(f(),D(`div`,Ue,[T(`button`,{class:`w-full flex items-center gap-2 px-3 py-1.5 text-xs font-bold bg-secondary hover:bg-hover transition-colors text-left`,onClick:i[4]||=e=>P(`ThemeConfig`)},[T(`div`,{class:p([`i-ri:arrow-right-s-line text-xs transition-transform`,{"rotate-90":!j.value.has(`ThemeConfig`)}])},null,2),i[9]||=E(` ThemeConfig `,-1),T(`span`,We,` (`+v(V.value.length)+`) `,1)]),j.value.has(`ThemeConfig`)?x(``,!0):(f(),D(`div`,Ge,[(f(!0),D(S,null,h(V.value,([e,t])=>(f(),D(`div`,{key:e,class:`px-3 py-1.5 hover:bg-hover transition-colors`},[T(`div`,Ke,[T(`div`,qe,[T(`div`,Je,[T(`code`,Ye,` themeConfig.`+v(e),1),T(`span`,Xe,`(`+v(typeof t)+`)`,1)]),T(`div`,Ze,[T(`code`,Qe,v(typeof t==`object`?JSON.stringify(t):String(t)),1)])]),g(s,{content:O(m)(`config.open_in_editor`)},{default:w(()=>[T(`button`,{class:`inline-flex items-center justify-center w-5 h-5 rounded hover:bg-hover color-faint hover:color-muted transition-colors`,onClick:i[5]||=e=>W(`valaxy`)},[T(`div`,{class:p([O(N)?.icon||`i-ph:code`,`text-xs`])},null,2)])]),_:1},8,[`content`])])]))),128))]))])):x(``,!0)])])])]),_:1})]),_:1},8,[`horizontal`])):(f(),D(`div`,re,v(O(m)(`config.no_data`)),1))}}});export{$e as default};
@@ -0,0 +1 @@
1
+ import{B as e,Bt as t,E as n,H as r,T as i,Ut as a,_ as o,b as s,f as c,o as l,tt as u,v as d,w as f,x as p,xt as m,y as h}from"./app-D70151fp.js";import{t as g}from"./FeedbackEmptyState-CW6pLCXv.js";import{t as _}from"./LayoutCard-CTAguKmh.js";import{$ as v}from"./index-BJGKneng.js";import{t as y}from"./VDCodeBlock-BuqMD8Bv.js";var b={class:`max-w-6xl mx-auto p-4 sm:p-6 flex flex-col gap-4`},x={class:`flex flex-wrap items-center gap-2`},S={class:`text-lg font-semibold`},C={key:0,class:`text-xs rounded-full px-2 py-0.5 bg-green-500/10 text-green-700 dark:text-green-300`,role:`status`},w={class:`text-sm color-muted`},T={class:`flex flex-wrap items-center justify-between gap-2 mb-3`},E={class:`text-sm font-semibold flex items-center gap-2`},D={class:`text-sm font-mono`,"data-testid":`debug-viewport`},O={class:`flex flex-wrap gap-2`},k=[`aria-label`,`data-active`],A={key:0,class:`i-ph:check inline-block align-middle`,"aria-hidden":`true`},j={class:`grid md:grid-cols-2 gap-4 items-start`},M={open:``},N={class:`cursor-pointer p-4 text-sm font-semibold select-none focus-visible:outline-primary`},P=n({__name:`debug`,setup(n){let{t:P}=v(),F=o(()=>l.value?.debug),I=o(()=>[{id:`route`,title:P(`debug.route`),icon:`i-ph:signpost`,color:`text-blue-600 dark:text-blue-300`,value:F.value?.route},{id:`frontmatter`,title:`Frontmatter`,icon:`i-ph:article`,color:`text-amber-700 dark:text-amber-300`,value:l.value?.frontmatter},{id:`site`,title:P(`debug.site_config`),icon:`i-ph:globe`,color:`text-purple-600 dark:text-purple-300`,value:F.value?{theme:F.value.config.theme,...F.value.config.site}:void 0},{id:`theme`,title:P(`debug.theme_config`),icon:`i-ph:palette`,color:`text-purple-600 dark:text-purple-300`,value:F.value?.config.themeConfig}]);return(n,o)=>(e(),p(`div`,b,[d(`div`,x,[d(`h1`,S,a(m(P)(`nav.debug`)),1),F.value?(e(),p(`span`,C,a(m(P)(`debug.live`)),1)):s(``,!0)]),F.value?(e(),p(c,{key:1},[d(`p`,w,a(m(P)(`debug.description`)),1),i(_,{as:`section`,"aria-label":m(P)(`debug.viewport`)},{default:u(()=>[d(`div`,T,[d(`h2`,E,[o[0]||=d(`span`,{class:`i-ph:devices text-emerald-600 dark:text-emerald-300`,"aria-hidden":`true`},null,-1),f(` `+a(m(P)(`debug.viewport`)),1)]),d(`span`,D,a(F.value.viewport.width)+` × `+a(F.value.viewport.height)+` px`,1)]),d(`div`,O,[(e(!0),p(c,null,r(F.value.viewport.breakpoints,n=>(e(),p(`span`,{key:n.label,class:t([`rounded-md px-2 py-1 text-xs font-mono`,n.active?`bg-emerald-500/10 text-emerald-700 dark:text-emerald-300`:`bg-sunken color-muted`]),"aria-label":`${n.label}: ${m(P)(n.active?`debug.matched`:`debug.unmatched`)}`,"data-active":n.active},[f(a(n.label)+` `,1),n.active?(e(),p(`span`,A)):s(``,!0)],10,k))),128))])]),_:1},8,[`aria-label`]),d(`div`,j,[(e(!0),p(c,null,r(I.value,n=>(e(),h(_,{key:n.id,as:`section`,"aria-label":n.title,padding:!1,class:`min-w-0 overflow-hidden`},{default:u(()=>[d(`details`,M,[d(`summary`,N,[d(`span`,{class:t([[n.icon,n.color],`inline-block align-middle mx-1`]),"aria-hidden":`true`},null,2),f(` `+a(n.title),1)]),i(y,{code:JSON.stringify(n.value,null,2)??``,lang:`json`},null,8,[`code`])])]),_:2},1032,[`aria-label`]))),128))])],64)):(e(),h(g,{key:0,title:m(P)(`debug.no_page`),icon:`i-ph:browser`,class:`py-12`},{hint:u(()=>[f(a(m(P)(`debug.connect_hint`)),1)]),_:1},8,[`title`]))]))}});export{P as default};
@@ -0,0 +1 @@
1
+ import{_ as e,c as t,t as n}from"./app-D70151fp.js";import{r}from"./rpc-Bp_Ufxfr.js";var i=[{commands:[`code`],name:`Visual Studio Code`,icon:`i-vscode-icons:file-type-vscode`},{commands:[`code-insiders`],name:`VS Code Insiders`,icon:`i-vscode-icons:file-type-vscode-insiders`},{commands:[`cursor`],name:`Cursor`,icon:`i-simple-icons:cursor`},{commands:[`zed`],name:`Zed`,icon:`i-simple-icons:zedindustries`},{commands:[`webstorm`,`wstorm`],name:`WebStorm`,icon:`i-simple-icons:webstorm`},{commands:[`codium`,`vscodium`],name:`VSCodium`,icon:`i-simple-icons:vscodium`},{commands:[`subl`,`sublime`,`sublime_text`],name:`Sublime Text`,icon:`i-simple-icons:sublimetext`},{commands:[`idea`],name:`IntelliJ IDEA`,icon:`i-simple-icons:intellijidea`},{commands:[`trae`],name:`Trae`,icon:`i-simple-icons:trae`},{commands:[`atom`],name:`Atom`,icon:`i-simple-icons:atom`},{commands:[`pycharm`,`charm`],name:`PyCharm`,icon:`i-simple-icons:pycharm`},{commands:[`phpstorm`],name:`PhpStorm`,icon:`i-simple-icons:phpstorm`},{commands:[`rubymine`],name:`RubyMine`,icon:`i-simple-icons:rubymine`},{commands:[`clion`],name:`CLion`,icon:`i-simple-icons:clion`},{commands:[`goland`],name:`GoLand`,icon:`i-simple-icons:goland`},{commands:[`rider`],name:`Rider`,icon:`i-simple-icons:rider`},{commands:[`notepad++`],name:`Notepad++`,icon:`i-simple-icons:notepadplusplus`},{commands:[`vim`],name:`Vim`,icon:`i-simple-icons:vim`},{commands:[`mvim`],name:`MacVim`,icon:`i-simple-icons:vim`},{commands:[`gvim`],name:`gVim`,icon:`i-simple-icons:vim`},{commands:[`emacs`],name:`Emacs`,icon:`i-simple-icons:gnuemacs`},{commands:[`emacsclient`],name:`Emacs Client`,icon:`i-simple-icons:gnuemacs`},{commands:[`mate`],name:`TextMate`,icon:`i-ph:code`},{commands:[`rmate`],name:`Remote TextMate`,icon:`i-ph:code`},{commands:[`antigravity`],name:`Antigravity`,icon:`i-ph:code`},{commands:[`appcode`],name:`AppCode`,icon:`i-ph:code`},{commands:[`joe`],name:`JOE`,icon:`i-ph:terminal`}];function a(e){return i.find(t=>e&&t.commands.includes(e))}var o=e(()=>n.value.editors||[]),s=e({get:()=>t.value.editor&&o.value.includes(t.value.editor)?t.value.editor:``,set:e=>t.value.editor=e}),c=e(()=>i.flatMap(e=>{let t=e.commands.find(e=>e===s.value)||e.commands.find(e=>o.value.includes(e));return t?[{...e,command:t}]:[]})),l=e(()=>s.value||n.value.editor),u=e(()=>a(l.value)),d=e(()=>a(n.value.editor));async function f(e){await(await r()).call(`valaxy:service:open:open-in-editor`,{...e,editor:l.value})}export{f as a,s as i,d as n,c as r,u as t};