@vitejs/devtools-vite 0.0.0-alpha.9 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/{dirs-K_XnRVOr.js → dirs.mjs} +1 -3
  2. package/dist/index.d.mts +101 -0
  3. package/dist/index.mjs +2254 -0
  4. package/dist/nitro.json +3 -3
  5. package/dist/public/200.html +1 -1
  6. package/dist/public/404.html +1 -1
  7. package/dist/public/_nuxt/0fZFclj2.js +2 -0
  8. package/dist/public/_nuxt/457Jr4Pr.js +1 -0
  9. package/dist/public/_nuxt/B1xYalZA.js +1 -0
  10. package/dist/public/_nuxt/BDNMzG2s.js +1 -0
  11. package/dist/public/_nuxt/BJv-YGcz.js +1 -0
  12. package/dist/public/_nuxt/BKuuhLmM.js +1 -0
  13. package/dist/public/_nuxt/BjJFp2QE.js +1 -0
  14. package/dist/public/_nuxt/C3lVFA1Q.js +1 -0
  15. package/dist/public/_nuxt/CAlSLYmJ.js +1 -0
  16. package/dist/public/_nuxt/CHXuaNaj.js +1 -0
  17. package/dist/public/_nuxt/CJwKXY9k.js +1 -0
  18. package/dist/public/_nuxt/CQYaOgKz.js +1 -0
  19. package/dist/public/_nuxt/CWPpjZx6.js +1 -0
  20. package/dist/public/_nuxt/CeVkPjP7.js +12 -0
  21. package/dist/public/_nuxt/D3MExTHO.js +3 -0
  22. package/dist/public/_nuxt/K3CNNOBf.js +2 -0
  23. package/dist/public/_nuxt/NLJpu4QF.js +1 -0
  24. package/dist/public/_nuxt/QSP1yWcH.js +1 -0
  25. package/dist/public/_nuxt/builds/latest.json +1 -1
  26. package/dist/public/_nuxt/builds/meta/d3f7ed61-b5b0-435f-9c70-ecd6f63b3201.json +1 -0
  27. package/dist/public/_nuxt/diff.worker-DFeiLCV8.js +10 -0
  28. package/dist/public/_nuxt/entry.CzwuNVVL.css +1 -0
  29. package/dist/public/_nuxt/error-404.YVLV_SWG.css +1 -0
  30. package/dist/public/_nuxt/error-500.DoVxOHYG.css +1 -0
  31. package/dist/public/_nuxt/filepath.CX8PXv9n.css +1 -0
  32. package/dist/public/_nuxt/graph.qvMalRQi.css +1 -0
  33. package/dist/public/_nuxt/plugins.CtM-Tp_V.css +1 -0
  34. package/dist/public/_nuxt/rpc.CVTFzytL.css +1 -0
  35. package/dist/public/favicon.svg +127 -12
  36. package/dist/public/fonts/dmmono-53a90e28.woff2 +0 -0
  37. package/dist/public/fonts/dmmono-cd6ed524.woff2 +0 -0
  38. package/dist/public/fonts/dmsans-54dbf8a8.woff2 +0 -0
  39. package/dist/public/fonts/dmsans-c55bbe7a.woff2 +0 -0
  40. package/dist/public/index.html +1 -1
  41. package/package.json +30 -51
  42. package/dist/dirs.js +0 -3
  43. package/dist/index.d.ts +0 -146
  44. package/dist/index.js +0 -1508
  45. package/dist/public/_nuxt/17ealR8P.js +0 -1
  46. package/dist/public/_nuxt/2OALqkc2.js +0 -1
  47. package/dist/public/_nuxt/AuXMpmu_.js +0 -1
  48. package/dist/public/_nuxt/B-LCQpq9.js +0 -2
  49. package/dist/public/_nuxt/B-MkobAt.js +0 -1
  50. package/dist/public/_nuxt/BFwdTbGt.js +0 -1
  51. package/dist/public/_nuxt/BQPGP7j8.js +0 -1
  52. package/dist/public/_nuxt/B_mZ82Ef.js +0 -1
  53. package/dist/public/_nuxt/BkcJ9YuP.js +0 -33
  54. package/dist/public/_nuxt/Bs1eUuZt.js +0 -1
  55. package/dist/public/_nuxt/C2Zn9dj_.js +0 -1
  56. package/dist/public/_nuxt/CIZ7KSXz.js +0 -1
  57. package/dist/public/_nuxt/CSwEzrF7.js +0 -11
  58. package/dist/public/_nuxt/CbzAqNxs.js +0 -1
  59. package/dist/public/_nuxt/ChaI2u-J.js +0 -1
  60. package/dist/public/_nuxt/CmZYssbg.js +0 -1
  61. package/dist/public/_nuxt/Cnct9GAr.js +0 -1
  62. package/dist/public/_nuxt/Cq2KqeQT.js +0 -1
  63. package/dist/public/_nuxt/Cql2HFZJ.js +0 -1
  64. package/dist/public/_nuxt/D-ZnEyqr.js +0 -1
  65. package/dist/public/_nuxt/D03ETnho.js +0 -1
  66. package/dist/public/_nuxt/D2Zr4_9a.js +0 -1
  67. package/dist/public/_nuxt/D7AVRXB9.js +0 -1
  68. package/dist/public/_nuxt/DL1ysgP5.js +0 -1
  69. package/dist/public/_nuxt/DP5rIU2b.js +0 -1
  70. package/dist/public/_nuxt/DQtLZa7C.js +0 -1
  71. package/dist/public/_nuxt/DcamI1aQ.js +0 -1
  72. package/dist/public/_nuxt/DnpfwSMy.js +0 -1
  73. package/dist/public/_nuxt/HzvsUJ0F.js +0 -1
  74. package/dist/public/_nuxt/Jdu9jmuG.js +0 -1
  75. package/dist/public/_nuxt/LMGHh3hZ.js +0 -1
  76. package/dist/public/_nuxt/SO3ppn9m.js +0 -1
  77. package/dist/public/_nuxt/VirtualList.lGV_3v2U.css +0 -1
  78. package/dist/public/_nuxt/X7aOo9pb.js +0 -1
  79. package/dist/public/_nuxt/_hSlj5r4.js +0 -1
  80. package/dist/public/_nuxt/_session_.B0BbH92J.css +0 -1
  81. package/dist/public/_nuxt/builds/meta/ef0d166a-8482-442c-9350-f2a451006de7.json +0 -1
  82. package/dist/public/_nuxt/diff.worker-DCsgdfuV.js +0 -10
  83. package/dist/public/_nuxt/entry.D6FiGaDn.css +0 -1
  84. package/dist/public/_nuxt/error-404.CCdr3eE4.css +0 -1
  85. package/dist/public/_nuxt/error-500.D-vBsHK_.css +0 -1
  86. package/dist/public/_nuxt/lxg2Cb0s.js +0 -1
  87. package/dist/public/_nuxt/mIZU4Om9.js +0 -1
  88. package/dist/public/_nuxt/qkzn-X0p.js +0 -1
  89. package/dist/public/_nuxt/vzoJapJG.js +0 -1
  90. package/dist/public/vite-devtools.svg +0 -17
  91. /package/dist/{dirs.d.ts → dirs.d.mts} +0 -0
@@ -0,0 +1,3 @@
1
+ var e=Error.captureStackTrace,t=class t extends Error{name=`Diagnostic`;docs;fix;sources;get why(){return this.message}constructor(n,r=t){super(n.why,{cause:n.cause}),this.fix=n.fix,this.docs=n.docs,this.sources=n.sources,e?.(this,r)}toJSON(){return{name:this.name,why:this.why,fix:this.fix,docs:this.docs,sources:this.sources,cause:this.cause,stack:this.stack}}};function n(e,t){return typeof e==`string`?`${e}/${t.toLowerCase()}`:e?.(t)}function r(e={}){let{docsBase:r,reporters:i=[]}=e;return new Proxy({},{get(e,a){if(typeof a!=`string`)return;let o=(e={},s={})=>{let c=new t({why:a,docs:n(r,a),cause:e.cause,sources:e.sources},o);c.name=a;for(let e of i)e(c,s);return c};return o}})}function i(e){return`https://nuxt.com/docs/4.x/errors/${e.replace(`NUXT_`,``).toLowerCase()}`}var a=[e=>{console.error(`[${e.name}]`)}],o=r({docsBase:i,reporters:a});function s(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var c={},l=[],u=()=>{},d=()=>!1,f=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),p=e=>e.startsWith(`onUpdate:`),m=Object.assign,h=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},g=Object.prototype.hasOwnProperty,_=(e,t)=>g.call(e,t),v=Array.isArray,y=e=>O(e)===`[object Map]`,b=e=>O(e)===`[object Set]`,x=e=>O(e)===`[object Date]`,S=e=>O(e)===`[object RegExp]`,C=e=>typeof e==`function`,w=e=>typeof e==`string`,T=e=>typeof e==`symbol`,E=e=>typeof e==`object`&&!!e,D=e=>(E(e)||C(e))&&C(e.then)&&C(e.catch),ee=Object.prototype.toString,O=e=>ee.call(e),te=e=>O(e).slice(8,-1),ne=e=>O(e)===`[object Object]`,re=e=>w(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,ie=s(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),ae=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},k=/-\w/g,A=ae(e=>e.replace(k,e=>e.slice(1).toUpperCase())),oe=/\B([A-Z])/g,se=ae(e=>e.replace(oe,`-$1`).toLowerCase()),ce=ae(e=>e.charAt(0).toUpperCase()+e.slice(1)),le=ae(e=>e?`on${ce(e)}`:``),j=(e,t)=>!Object.is(e,t),ue=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},de=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},fe=e=>{let t=parseFloat(e);return isNaN(t)?e:t},pe=e=>{let t=w(e)?Number(e):NaN;return isNaN(t)?e:t},me,he=()=>me||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof globalThis<`u`?globalThis:{};function ge(e){if(v(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=w(r)?be(r):ge(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(w(e)||E(e))return e}var _e=/;(?![^(]*\))/g,ve=/:([^]+)/,ye=/\/\*[^]*?\*\//g;function be(e){let t={};return e.replace(ye,``).split(_e).forEach(e=>{if(e){let n=e.split(ve);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function xe(e){let t=``;if(w(e))t=e;else if(v(e))for(let n=0;n<e.length;n++){let r=xe(e[n]);r&&(t+=r+` `)}else if(E(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function Se(e){if(!e)return null;let{class:t,style:n}=e;return t&&!w(t)&&(e.class=xe(t)),n&&(e.style=ge(n)),e}var Ce=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,we=s(Ce);Ce+``;function Te(e){return!!e||e===``}function Ee(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=De(e[r],t[r]);return n}function De(e,t){if(e===t)return!0;let n=x(e),r=x(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=T(e),r=T(t),n||r)return e===t;if(n=v(e),r=v(t),n||r)return n&&r?Ee(e,t):!1;if(n=E(e),r=E(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!De(e[n],t[n]))return!1}}return String(e)===String(t)}var Oe=e=>!!(e&&e.__v_isRef===!0),ke=e=>w(e)?e:e==null?``:v(e)||E(e)&&(e.toString===ee||!C(e.toString))?Oe(e)?ke(e.value):JSON.stringify(e,Ae,2):String(e),Ae=(e,t)=>Oe(t)?Ae(e,t.value):y(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[je(t,r)+` =>`]=n,e),{})}:b(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>je(e))}:T(t)?je(t):E(t)&&!v(t)&&!ne(t)?String(t):t,je=(e,t=``)=>T(e)?`Symbol(${e.description??t})`:e,M,Me=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&&M&&(M.active?(this.parent=M,this.index=(M.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=M;try{return M=this,e()}finally{M=t}}}on(){++this._on===1&&(this.prevScope=M,M=this)}off(){if(this._on>0&&--this._on===0){if(M===this)M=this.prevScope;else{let e=M;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 Ne(e){return new Me(e)}function Pe(){return M}function Fe(e,t=!1){M&&M.cleanups.push(e)}var N,Ie=new WeakSet,Le=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,M&&(M.active?M.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ie.has(this)&&(Ie.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ve(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,et(this),We(this);let e=N,t=Xe;N=this,Xe=!0;try{return this.fn()}finally{Ge(this),N=e,Xe=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Je(e);this.deps=this.depsTail=void 0,et(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ie.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ke(this)&&this.run()}get dirty(){return Ke(this)}},Re=0,ze,Be;function Ve(e,t=!1){if(e.flags|=8,t){e.next=Be,Be=e;return}e.next=ze,ze=e}function He(){Re++}function Ue(){if(--Re>0)return;if(Be){let e=Be;for(Be=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;ze;){let t=ze;for(ze=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 We(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ge(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Je(r),Ye(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Ke(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(qe(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function qe(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===tt)||(e.globalVersion=tt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ke(e))))return;e.flags|=2;let t=e.dep,n=N,r=Xe;N=e,Xe=!0;try{We(e);let n=e.fn(e._value);(t.version===0||j(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{N=n,Xe=r,Ge(e),e.flags&=-3}}function Je(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)Je(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ye(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var Xe=!0,Ze=[];function Qe(){Ze.push(Xe),Xe=!1}function $e(){let e=Ze.pop();Xe=e===void 0||e}function et(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=N;N=void 0;try{t()}finally{N=e}}}var tt=0,nt=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}},rt=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(!N||!Xe||N===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==N)t=this.activeLink=new nt(N,this),N.deps?(t.prevDep=N.depsTail,N.depsTail.nextDep=t,N.depsTail=t):N.deps=N.depsTail=t,it(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=N.depsTail,t.nextDep=void 0,N.depsTail.nextDep=t,N.depsTail=t,N.deps===t&&(N.deps=e)}return t}trigger(e){this.version++,tt++,this.notify(e)}notify(e){He();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ue()}}};function it(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)it(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var at=new WeakMap,ot=Symbol(``),st=Symbol(``),ct=Symbol(``);function P(e,t,n){if(Xe&&N){let t=at.get(e);t||at.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new rt),r.map=t,r.key=n),r.track()}}function lt(e,t,n,r,i,a){let o=at.get(e);if(!o){tt++;return}let s=e=>{e&&e.trigger()};if(He(),t===`clear`)o.forEach(s);else{let i=v(e),a=i&&re(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===ct||!T(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(ct)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(ot)),y(e)&&s(o.get(st)));break;case`delete`:i||(s(o.get(ot)),y(e)&&s(o.get(st)));break;case`set`:y(e)&&s(o.get(ot));break}}Ue()}function ut(e,t){let n=at.get(e);return n&&n.get(t)}function dt(e){let t=I(e);return t===e?t:(P(t,`iterate`,ct),F(e)?t:t.map(L))}function ft(e){return P(e=I(e),`iterate`,ct),e}function pt(e,t){return Qt(e)?tn(Zt(e)?L(t):t):L(t)}var mt={__proto__:null,[Symbol.iterator](){return ht(this,Symbol.iterator,e=>pt(this,e))},concat(...e){return dt(this).concat(...e.map(e=>v(e)?dt(e):e))},entries(){return ht(this,`entries`,e=>(e[1]=pt(this,e[1]),e))},every(e,t){return _t(this,`every`,e,t,void 0,arguments)},filter(e,t){return _t(this,`filter`,e,t,e=>e.map(e=>pt(this,e)),arguments)},find(e,t){return _t(this,`find`,e,t,e=>pt(this,e),arguments)},findIndex(e,t){return _t(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return _t(this,`findLast`,e,t,e=>pt(this,e),arguments)},findLastIndex(e,t){return _t(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return _t(this,`forEach`,e,t,void 0,arguments)},includes(...e){return yt(this,`includes`,e)},indexOf(...e){return yt(this,`indexOf`,e)},join(e){return dt(this).join(e)},lastIndexOf(...e){return yt(this,`lastIndexOf`,e)},map(e,t){return _t(this,`map`,e,t,void 0,arguments)},pop(){return bt(this,`pop`)},push(...e){return bt(this,`push`,e)},reduce(e,...t){return vt(this,`reduce`,e,t)},reduceRight(e,...t){return vt(this,`reduceRight`,e,t)},shift(){return bt(this,`shift`)},some(e,t){return _t(this,`some`,e,t,void 0,arguments)},splice(...e){return bt(this,`splice`,e)},toReversed(){return dt(this).toReversed()},toSorted(e){return dt(this).toSorted(e)},toSpliced(...e){return dt(this).toSpliced(...e)},unshift(...e){return bt(this,`unshift`,e)},values(){return ht(this,`values`,e=>pt(this,e))}};function ht(e,t,n){let r=ft(e),i=r[t]();return r!==e&&!F(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var gt=Array.prototype;function _t(e,t,n,r,i,a){let o=ft(e),s=o!==e&&!F(e),c=o[t];if(c!==gt[t]){let t=c.apply(e,a);return s?L(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,pt(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 vt(e,t,n,r){let i=ft(e),a=i!==e&&!F(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=pt(e,t)),n.call(this,t,pt(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?pt(e,c):c}function yt(e,t,n){let r=I(e);P(r,`iterate`,ct);let i=r[t](...n);return(i===-1||i===!1)&&$t(n[0])?(n[0]=I(n[0]),r[t](...n)):i}function bt(e,t,n=[]){Qe(),He();let r=I(e)[t].apply(e,n);return Ue(),$e(),r}var xt=s(`__proto__,__v_isRef,__isVue`),St=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(T));function Ct(e){T(e)||(e=String(e));let t=I(this);return P(t,`has`,e),t.hasOwnProperty(e)}var wt=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?Wt:Ut:i?Ht:Vt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=v(e);if(!r){let e;if(a&&(e=mt[t]))return e;if(t===`hasOwnProperty`)return Ct}let o=Reflect.get(e,t,R(e)?e:n);if((T(t)?St.has(t):xt(t))||(r||P(e,`get`,t),i))return o;if(R(o)){let e=a&&re(t)?o:o.value;return r&&E(e)?Jt(e):e}return E(o)?r?Jt(o):Kt(o):o}},Tt=class extends wt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=v(e)&&re(t);if(!this._isShallow){let e=Qt(i);if(!F(n)&&!Qt(n)&&(i=I(i),n=I(n)),!a&&R(i)&&!R(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:_(e,t),s=Reflect.set(e,t,n,R(e)?e:r);return e===I(r)&&s&&(o?j(n,i)&&lt(e,`set`,t,n,i):lt(e,`add`,t,n)),s}deleteProperty(e,t){let n=_(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&lt(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!T(t)||!St.has(t))&&P(e,`has`,t),n}ownKeys(e){return P(e,`iterate`,v(e)?`length`:ot),Reflect.ownKeys(e)}},Et=class extends wt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Dt=new Tt,Ot=new Et,kt=new Tt(!0),At=new Et(!0),jt=e=>e,Mt=e=>Reflect.getPrototypeOf(e);function Nt(e,t,n){return function(...r){let i=this.__v_raw,a=I(i),o=y(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,l=i[e](...r),u=n?jt:t?tn:L;return!t&&P(a,`iterate`,c?st:ot),m(Object.create(l),{next(){let{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}}})}}function Pt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Ft(e,t){let n={get(n){let r=this.__v_raw,i=I(r),a=I(n);e||(j(n,a)&&P(i,`get`,n),P(i,`get`,a));let{has:o}=Mt(i),s=t?jt:e?tn:L;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(I(t),`iterate`,ot),t.size},has(t){let n=this.__v_raw,r=I(n),i=I(t);return e||(j(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=I(a),s=t?jt:e?tn:L;return!e&&P(o,`iterate`,ot),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return m(n,e?{add:Pt(`add`),set:Pt(`set`),delete:Pt(`delete`),clear:Pt(`clear`)}:{add(e){let n=I(this),r=Mt(n),i=I(e),a=!t&&!F(e)&&!Qt(e)?i:e;return r.has.call(n,a)||j(e,a)&&r.has.call(n,e)||j(i,a)&&r.has.call(n,i)||(n.add(a),lt(n,`add`,a,a)),this},set(e,n){!t&&!F(n)&&!Qt(n)&&(n=I(n));let r=I(this),{has:i,get:a}=Mt(r),o=i.call(r,e);o||=(e=I(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?j(n,s)&&lt(r,`set`,e,n,s):lt(r,`add`,e,n),this},delete(e){let t=I(this),{has:n,get:r}=Mt(t),i=n.call(t,e);i||=(e=I(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&lt(t,`delete`,e,void 0,a),o},clear(){let e=I(this),t=e.size!==0,n=e.clear();return t&&lt(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Nt(r,e,t)}),n}function It(e,t){let n=Ft(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(_(n,r)&&r in t?n:t,r,i)}var Lt={get:It(!1,!1)},Rt={get:It(!1,!0)},zt={get:It(!0,!1)},Bt={get:It(!0,!0)},Vt=new WeakMap,Ht=new WeakMap,Ut=new WeakMap,Wt=new WeakMap;function Gt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Kt(e){return Qt(e)?e:Xt(e,!1,Dt,Lt,Vt)}function qt(e){return Xt(e,!1,kt,Rt,Ht)}function Jt(e){return Xt(e,!0,Ot,zt,Ut)}function Yt(e){return Xt(e,!0,At,Bt,Wt)}function Xt(e,t,n,r,i){if(!E(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=Gt(te(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Zt(e){return Qt(e)?Zt(e.__v_raw):!!(e&&e.__v_isReactive)}function Qt(e){return!!(e&&e.__v_isReadonly)}function F(e){return!!(e&&e.__v_isShallow)}function $t(e){return e?!!e.__v_raw:!1}function I(e){let t=e&&e.__v_raw;return t?I(t):e}function en(e){return!_(e,`__v_skip`)&&Object.isExtensible(e)&&de(e,`__v_skip`,!0),e}var L=e=>E(e)?Kt(e):e,tn=e=>E(e)?Jt(e):e;function R(e){return e?e.__v_isRef===!0:!1}function nn(e){return an(e,!1)}function rn(e){return an(e,!0)}function an(e,t){return R(e)?e:new on(e,t)}var on=class{constructor(e,t){this.dep=new rt,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:I(e),this._value=t?e:L(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||F(e)||Qt(e);e=n?e:I(e),j(e,t)&&(this._rawValue=e,this._value=n?e:L(e),this.dep.trigger())}};function sn(e){e.dep&&e.dep.trigger()}function cn(e){return R(e)?e.value:e}function ln(e){return C(e)?e():cn(e)}var un={get:(e,t,n)=>t===`__v_raw`?e:cn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return R(i)&&!R(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function dn(e){return Zt(e)?e:new Proxy(e,un)}var fn=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new rt,{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 pn(e){return new fn(e)}function mn(e){let t=v(e)?Array(e.length):{};for(let n in e)t[n]=vn(e,n);return t}var hn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=T(t)?t:String(t),this._raw=I(e);let r=!0,i=e;if(!v(e)||T(this._key)||!re(this._key))do r=!$t(i)||F(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=cn(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&R(this._raw[this._key])){let t=this._object[this._key];if(R(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return ut(this._raw,this._key)}},gn=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 _n(e,t,n){return R(e)?e:C(e)?new gn(e):E(e)&&arguments.length>1?vn(e,t,n):nn(e)}function vn(e,t,n){return new hn(e,t,n)}var yn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new rt(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=tt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&N!==this)return Ve(this,!0),!0}get value(){let e=this.dep.track();return qe(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function bn(e,t,n=!1){let r,i;return C(e)?r=e:(r=e.get,i=e.set),new yn(r,i,n)}var xn={},Sn=new WeakMap,Cn=void 0;function wn(e,t=!1,n=Cn){if(n){let t=Sn.get(n);t||Sn.set(n,t=[]),t.push(e)}}function Tn(e,t,n=c){let{immediate:r,deep:i,once:a,scheduler:o,augmentJob:s,call:l}=n,d=e=>i?e:F(e)||i===!1||i===0?En(e,1):En(e),f,p,m,g,_=!1,y=!1;if(R(e)?(p=()=>e.value,_=F(e)):Zt(e)?(p=()=>d(e),_=!0):v(e)?(y=!0,_=e.some(e=>Zt(e)||F(e)),p=()=>e.map(e=>{if(R(e))return e.value;if(Zt(e))return d(e);if(C(e))return l?l(e,2):e()})):p=C(e)?t?l?()=>l(e,2):e:()=>{if(m){Qe();try{m()}finally{$e()}}let t=Cn;Cn=f;try{return l?l(e,3,[g]):e(g)}finally{Cn=t}}:u,t&&i){let e=p,t=i===!0?1/0:i;p=()=>En(e(),t)}let b=Pe(),x=()=>{f.stop(),b&&b.active&&h(b.effects,f)};if(a&&t){let e=t;t=(...t)=>{let n=e(...t);return x(),n}}let S=y?Array(e.length).fill(xn):xn,w=e=>{if(!(!(f.flags&1)||!f.dirty&&!e))if(t){let n=f.run();if(e||i||_||(y?n.some((e,t)=>j(e,S[t])):j(n,S))){m&&m();let e=Cn;Cn=f;try{let e=[n,S===xn?void 0:y&&S[0]===xn?[]:S,g];S=n,l?l(t,3,e):t(...e)}finally{Cn=e}}}else f.run()};return s&&s(w),f=new Le(p),f.scheduler=o?()=>o(w,!1):w,g=e=>wn(e,!1,f),m=f.onStop=()=>{let e=Sn.get(f);if(e){if(l)l(e,4);else for(let t of e)t();Sn.delete(f)}},t?r?w(!0):S=f.run():o?o(w.bind(null,!0),!0):f.run(),x.pause=f.pause.bind(f),x.resume=f.resume.bind(f),x.stop=x,x}function En(e,t=1/0,n){if(t<=0||!E(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,R(e))En(e.value,t,n);else if(v(e))for(let r=0;r<e.length;r++)En(e[r],t,n);else if(b(e)||y(e))e.forEach(e=>{En(e,t,n)});else if(ne(e)){for(let r in e)En(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&En(e[r],t,n)}return e}function Dn(e,t,n,r){try{return r?e(...r):e()}catch(e){On(e,t,n)}}function z(e,t,n,r){if(C(e)){let i=Dn(e,t,n,r);return i&&D(i)&&i.catch(e=>{On(e,t,n)}),i}if(v(e)){let i=[];for(let a=0;a<e.length;a++)i.push(z(e[a],t,n,r));return i}}function On(e,t,n,r=!0){let i=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||c;if(t){let r=t.parent,i=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,o)===!1)return}r=r.parent}if(a){Qe(),Dn(a,null,10,[e,i,o]),$e();return}}kn(e,n,i,r,o)}function kn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var B=[],An=-1,jn=[],Mn=null,Nn=0,Pn=Promise.resolve(),Fn=null;function In(e){let t=Fn||Pn;return e?t.then(this?e.bind(this):e):t}function Ln(e){let t=An+1,n=B.length;for(;t<n;){let r=t+n>>>1,i=B[r],a=Un(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function Rn(e){if(!(e.flags&1)){let t=Un(e),n=B[B.length-1];!n||!(e.flags&2)&&t>=Un(n)?B.push(e):B.splice(Ln(t),0,e),e.flags|=1,zn()}}function zn(){Fn||=Pn.then(Wn)}function Bn(e){v(e)?jn.push(...e):Mn&&e.id===-1?Mn.splice(Nn+1,0,e):e.flags&1||(jn.push(e),e.flags|=1),zn()}function Vn(e,t,n=An+1){for(;n<B.length;n++){let t=B[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;B.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function Hn(e){if(jn.length){let e=[...new Set(jn)].sort((e,t)=>Un(e)-Un(t));if(jn.length=0,Mn){Mn.push(...e);return}for(Mn=e,Nn=0;Nn<Mn.length;Nn++){let e=Mn[Nn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}Mn=null,Nn=0}}var Un=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Wn(e){try{for(An=0;An<B.length;An++){let e=B[An];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Dn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;An<B.length;An++){let e=B[An];e&&(e.flags&=-2)}An=-1,B.length=0,Hn(e),Fn=null,(B.length||jn.length)&&Wn(e)}}var V=null,Gn=null;function Kn(e){let t=V;return V=e,Gn=e&&e.type.__scopeId||null,t}function qn(e){Gn=e}function Jn(){Gn=null}var Yn=e=>Xn;function Xn(e,t=V,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&wo(-1);let i=Kn(t),a=bo.length,o;try{o=e(...n)}finally{for(let e=bo.length;e>a;e--)So();Kn(i),r._d&&wo(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Zn(e,t){if(V===null)return e;let n=as(V),r=e.dirs||=[];for(let e=0;e<t.length;e++){let[i,a,o,s=c]=t[e];i&&(C(i)&&(i={mounted:i,updated:i}),i.deep&&En(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:o,modifiers:s}))}return e}function Qn(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(),z(c,n,8,[e.el,s,e,t]),$e())}}function $n(e,t){if($){let n=$.provides,r=$.parent&&$.parent.provides;r===n&&(n=$.provides=Object.create(r)),n[e]=t}}function er(e,t,n=!1){let r=Wo();if(r||ma){let i=ma?ma._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&&C(t)?t.call(r&&r.proxy):t}}function tr(){return!!(Wo()||ma)}var nr=Symbol.for(`v-scx`),rr=()=>er(nr);function ir(e,t){return sr(e,null,t)}function ar(e,t){return sr(e,null,{flush:`sync`})}function or(e,t,n){return sr(e,t,n)}function sr(e,t,n=c){let{immediate:r,deep:i,flush:a,once:o}=n,s=m({},n),l=t&&r||!t&&a!==`post`,d;if(Xo){if(a===`sync`){let e=rr();d=e.__watcherHandles||=[]}else if(!l){let e=()=>{};return e.stop=u,e.resume=u,e.pause=u,e}}let f=$;s.call=(e,t,n)=>z(e,f,t,n);let p=!1;a===`post`?s.scheduler=e=>{G(e,f&&f.suspense)}:a!==`sync`&&(p=!0,s.scheduler=(e,t)=>{t?e():Rn(e)}),s.augmentJob=e=>{t&&(e.flags|=4),p&&(e.flags|=2,f&&(e.id=f.uid,e.i=f))};let h=Tn(e,t,s);return Xo&&(d?d.push(h):l&&h()),h}function cr(e,t,n){let r=this.proxy,i=w(e)?e.includes(`.`)?lr(r,e):()=>r[e]:e.bind(r,r),a;C(t)?a=t:(a=t.handler,n=t);let o=qo(this),s=sr(i,a.bind(r),n);return o(),s}function lr(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 ur=new WeakMap,dr=Symbol(`_vte`),fr=e=>e.__isTeleport,pr=e=>e&&(e.disabled||e.disabled===``),mr=e=>e&&(e.defer||e.defer===``),hr=e=>typeof SVGElement<`u`&&e instanceof SVGElement,gr=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,_r=(e,t)=>{let n=e&&e.to;return w(n)?t?t(n):null:n},vr={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=pr(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=pr(e.props),r=e.target=_r(e.props,m),a=Cr(r,e,h,p);r&&(o!==`svg`&&hr(r)?o=`svg`:o!==`mathml`&&gr(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),Sr(e,!1)))},S=e=>{let t=()=>{if(ur.get(e)===t){if(ur.delete(e),pr(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),Sr(e,!0)}x(e)}};ur.set(e,t),G(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),mr(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),Sr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=ur.get(e);if(u){u.flags|=8,ur.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=pr(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||hr(p)?o=`svg`:(o===`mathml`||gr(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),$a(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):yr(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=_r(t.props,m);e&&(t.target=e,yr(t,e,null,l,0))}else g&&yr(t,p,h,l,1);Sr(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=pr(f),m=a||!p,h=ur.get(e);if(h&&(h.flags|=8,ur.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:yr,hydrate:br};function yr(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),!ur.has(e)&&(!d||pr(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function br(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=_r(t.props,c),h=pr(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||Cr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||Cr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),Sr(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var xr=vr;function Sr(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 Cr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[dr]=o,e&&(r(a,e,i),r(o,e,i)),o}var H=Symbol(`_leaveCb`),wr=Symbol(`_enterCb`);function Tr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return bi(()=>{e.isMounted=!0}),Ci(()=>{e.isUnmounting=!0}),e}var U=[Function,Array],Er={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:U,onEnter:U,onAfterEnter:U,onEnterCancelled:U,onBeforeLeave:U,onLeave:U,onAfterLeave:U,onLeaveCancelled:U,onBeforeAppear:U,onAppear:U,onAfterAppear:U,onAppearCancelled:U},Dr=e=>{let t=e.subTree;return t.component?Dr(t.component):t},Or={name:`BaseTransition`,props:Er,setup(e,{slots:t}){let n=Wo(),r=Tr();return()=>{let i=t.default&&Ir(t.default(),!0),a=i&&i.length?kr(i):n.subTree?Lo():void 0;if(!a)return;let o=I(e),{mode:s}=o;if(r.isLeaving)return Nr(a);let c=Pr(a);if(!c)return Nr(a);let l=Mr(c,o,r,n,e=>l=e);c.type!==q&&Fr(c,l);let u=n.subTree&&Pr(n.subTree);if(u&&u.type!==q&&!Y(u,c)&&Dr(n).type!==q){let e=Mr(u,o,r,n);if(Fr(u,e),s===`out-in`&&c.type!==q)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},Nr(a);s===`in-out`&&c.type!==q?e.delayLeave=(e,t,n)=>{let i=jr(r,u);i[String(u.key)]=u,e[H]=()=>{t(),e[H]=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 kr(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==q){t=n;break}}return t}var Ar=Or;function jr(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Mr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:g,onAppear:_,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=jr(n,e),C=(e,t)=>{e&&z(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),v(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=g||c;else return;t[H]&&t[H](!0);let i=S[x];i&&Y(e,i)&&i.el[H]&&i.el[H](),C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=d;if(!n.isMounted)if(a)r=_||l,i=y||u,o=b||d;else return;let s=!1;t[wr]=e=>{s||(s=!0,C(e?o:i,[t]),T.delayedLeave&&T.delayedLeave(),t[wr]=void 0)};let c=t[wr].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[wr]&&t[wr](!0),n.isUnmounting)return r();C(f,[t]);let a=!1;t[H]=n=>{a||(a=!0,r(),C(n?h:m,[t]),t[H]=void 0,S[i]===e&&delete S[i])};let o=t[H].bind(null,!1);S[i]=e,p?w(p,[t,o]):o()},clone(e){let a=Mr(e,t,n,r,i);return i&&i(a),a}};return T}function Nr(e){if(ci(e))return e=Po(e),e.children=null,e}function Pr(e){if(!ci(e))return fr(e.type)&&e.children?kr(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&&C(n.default))return n.default()}}function Fr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Fr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ir(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===K?(o.patchFlag&128&&i++,r=r.concat(Ir(o.children,t,s))):(t||o.type!==q)&&r.push(s==null?o:Po(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function Lr(e,t){return C(e)?m({name:e.name},t,{setup:e}):e}function Rr(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function zr(e){let t=Wo(),n=rn(null);if(t){let r=t.refs===c?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function Br(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Vr=new WeakMap;function Hr(e,t,n,r,i=!1){if(v(e)){e.forEach((e,a)=>Hr(e,t&&(v(t)?t[a]:t),n,r,i));return}if(ai(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Hr(e,t,n,r.component.subTree);return}let a=r.shapeFlag&4?as(r.component):r.el,o=i?null:a,{i:s,r:l}=e,u=t&&t.r,f=s.refs===c?s.refs={}:s.refs,p=s.setupState,m=I(p),g=p===c?d:e=>!Br(f,e)&&_(m,e),y=(e,t)=>!(t&&Br(f,t));if(u!=null&&u!==l){if(Ur(t),w(u))f[u]=null,g(u)&&(p[u]=null);else if(R(u)){let e=t;y(u,e.k)&&(u.value=null),e.k&&(f[e.k]=null)}}if(C(l))Dn(l,s,12,[o,f]);else{let t=w(l),r=R(l);if(t||r){let s=()=>{if(e.f){let n=t?g(l)?p[l]:f[l]:y(l)||!e.k?l.value:f[e.k];if(i)v(n)&&h(n,a);else if(v(n))n.includes(a)||n.push(a);else if(t)f[l]=[a],g(l)&&(p[l]=f[l]);else{let t=[a];y(l,e.k)&&(l.value=t),e.k&&(f[e.k]=t)}}else t?(f[l]=o,g(l)&&(p[l]=o)):r&&(y(l,e.k)&&(l.value=o),e.k&&(f[e.k]=o))};if(o){let t=()=>{s(),Vr.delete(e)};t.id=-1,Vr.set(e,t),G(t,n)}else Ur(e),s()}}}function Ur(e){let t=Vr.get(e);t&&(t.flags|=8,Vr.delete(e))}var Wr=!1,Gr=()=>{Wr||=(console.error(`Hydration completed but contains mismatches.`),!0)},Kr=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,qr=e=>e.namespaceURI.includes(`MathML`),Jr=e=>{if(e.nodeType===1){if(Kr(e))return`svg`;if(qr(e))return`mathml`}},Yr=e=>e.nodeType===8;function Xr(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:s,insert:c,createComment:l}}=e,u=(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),Hn(),t._vnode=e;return}d(t.firstChild,e,null,null,null),Hn(),t._vnode=e},d=(n,r,s,l,u,f=!1)=>{f||=!!r.dynamicChildren;let b=Yr(n)&&n.data===`[`,x=()=>g(n,r,s,l,u,b),{type:S,ref:C,shapeFlag:w,patchFlag:T}=r,E=n.nodeType;r.el=n,T===-2&&(f=!1,r.dynamicChildren=null);let D=null;switch(S){case vo:E===3?(n.data!==r.children&&(Gr(),n.data=r.children),D=a(n)):r.children===``?(c(r.el=i(``),o(n),n),D=n):D=x();break;case q:y(n)?(D=a(n),v(r.el=n.content.firstChild,n,s)):D=E!==8||b?x():a(n);break;case yo:if(b&&(n=a(n),E=n.nodeType),E===1||E===3){D=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=D.nodeType===1?D.outerHTML:D.data),t===r.staticCount-1&&(r.anchor=D),D=a(D);return b?a(D):D}else x();break;case K:D=b?h(n,r,s,l,u,f):x();break;default:if(w&1)D=(E!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!y(n)?x():p(n,r,s,l,u,f);else if(w&6){r.slotScopeIds=u;let e=o(n);if(D=b?_(n):Yr(n)&&n.data===`teleport start`?_(n,n.data,`teleport end`):a(n),t(r,e,null,s,l,Jr(e),f),ai(r)&&!r.type.__asyncResolved){let t;b?(t=X(K),t.anchor=D?D.previousSibling:e.lastChild):t=n.nodeType===3?Fo(``):X(`div`),t.el=n,r.component.subTree=t}}else w&64?D=E===8?r.type.hydrate(n,r,s,l,u,f,e,m):x():w&128&&(D=r.type.hydrate(n,r,s,l,Jr(o(n)),u,f,e,d))}return C!=null&&Hr(C,null,l,r),D},p=(e,t,n,i,a,o)=>{o||=!!t.dynamicChildren;let{type:c,dynamicProps:l,props:u,patchFlag:d,shapeFlag:p,dirs:h,transition:g}=t,_=c===`input`||c===`option`,b=!!l;if(_||b||d!==-1){h&&Qn(t,null,n,`created`);let c=!1;if(y(e)){c=Qa(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(c){let e=r.getAttribute(`class`);e&&(r.$cls=e),g.beforeEnter(r)}v(r,e,n),t.el=e=r}if(p&16&&!(u&&(u.innerHTML||u.textContent))){let r=m(e.firstChild,t,e,n,i,a,o);for(r&&!$r(e,1)&&Gr();r;){let e=r;r=r.nextSibling,s(e)}}else if(p&8){let n=t.children;n[0]===`
2
+ `&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
3
+ `)&&($r(e,0)||Gr(),e.textContent=t.children)}if(u){if(_||b||!o||d&48){let t=e.tagName.includes(`-`),i=e.namespaceURI.includes(`svg`)?`svg`:e.namespaceURI.includes(`MathML`)?`mathml`:void 0;for(let a in u)(_&&(a.endsWith(`value`)||a===`indeterminate`)||f(a)&&!ie(a)||a[0]===`.`||t&&!ie(a)||l&&l.includes(a))&&r(e,a,null,u[a],i,n)}else if(u.onClick)r(e,`onClick`,null,u.onClick,void 0,n);else if(d&4&&Zt(u.style))for(let e in u.style)u.style[e]}let x;(x=u&&u.onVnodeBeforeMount)&&Q(x,n,t),h&&Qn(t,null,n,`beforeMount`),((x=u&&u.onVnodeMounted)||h||c)&&ho(()=>{x&&Q(x,n,t),c&&g.enter(e),h&&Qn(t,null,n,`mounted`)},i)}return e.nextSibling},m=(e,t,r,o,s,l,u)=>{u||=!!t.dynamicChildren;let f=t.children,p=f.length,m=!1;for(let t=0;t<p;t++){let h=u?f[t]:f[t]=Z(f[t]),g=h.type===vo;e?(g&&!u&&t+1<p&&Z(f[t+1]).type===vo&&(c(i(e.data.slice(h.children.length)),r,a(e)),e.data=h.children),e=d(e,h,o,s,l,u)):g&&!h.children?c(h.el=i(``),r):(m||(m=!0,$r(r,1)||Gr()),n(null,h,r,null,o,s,Jr(r),l))}return e},h=(e,t,n,r,i,s)=>{let{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);let d=o(e),f=m(a(e),t,d,n,r,i,s);return f&&Yr(f)&&f.data===`]`?a(t.anchor=f):(Gr(),c(t.anchor=l(`]`),d,f),f)},g=(e,t,r,i,c,l)=>{if(ti(e,t)||Gr(),t.el=null,l){let t=_(e);for(;;){let n=a(e);if(n&&n!==t)s(n);else break}}let u=a(e),d=o(e);return s(e),n(null,t,d,u,r,i,Jr(d),c),r&&(r.vnode.el=t.el,Oa(r,t.el)),u},_=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=a(e),e&&Yr(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},v=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[u,d]}var Zr=`data-allow-mismatch`,Qr={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function $r(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Zr);)e=e.parentElement;return ei(e&&e.getAttribute(Zr),t)}function ei(e,t){if(e==null)return!1;if(e===``)return!0;{let n=e.split(`,`);return t===0&&n.includes(`children`)?!0:n.includes(Qr[t])}}function ti(e,t){return $r(e.parentElement,1)||ni(e)||ri(t)}function ni(e){return e.nodeType===1&&ei(e.getAttribute(Zr),1)}function ri({props:e}){let t=e&&e[Zr];return typeof t==`string`&&ei(t,1)}he().requestIdleCallback,he().cancelIdleCallback;function ii(e,t){if(Yr(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Yr(r))if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++;r=r.nextSibling}}else t(e)}var ai=e=>!!e.type.__asyncLoader;function oi(e){C(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return Lr({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=e.isConnected,i=!1;(t.bu||=[]).push(()=>i=!0);let o=()=>{i||!e.parentNode||r&&!e.isConnected||n()},s=a?()=>{let n=a(o,t=>ii(e,t));n&&(t.bum||=[]).push(n)}:o;u?s():p().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return u},setup(){let e=$;if(Rr(e),u)return()=>si(u,e);let t=t=>{l=null,On(t,e,13,!r)};if(s&&e.suspense||Xo)return p().then(t=>()=>si(t,e)).catch(e=>(t(e),()=>r?X(r,{error:e}):null));let a=nn(!1),c=nn(),d=nn(!!i),f,m;return wi(()=>{f!=null&&clearTimeout(f),m!=null&&clearTimeout(m)}),i&&(m=setTimeout(()=>{e.isUnmounted||(d.value=!1)},i)),o!=null&&(f=setTimeout(()=>{if(!e.isUnmounted&&!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o)),p().then(()=>{e.isUnmounted||(a.value=!0,e.parent&&ci(e.parent.vnode)&&e.parent.update())}).catch(n=>{if(e.isUnmounted){l=null;return}t(n),c.value=n}),()=>{if(a.value&&u)return si(u,e);if(c.value&&r)return X(r,{error:c.value});if(n&&!d.value)return si(n,e)}}})}function si(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=X(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}var ci=e=>e.type.__isKeepAlive,li={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=Wo(),r=n.ctx;if(!r.renderer)return()=>{let e=t.default&&t.default();return e&&e.length===1?e[0]:e};let i=new Map,a=new Set,o=null,s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=r,f=d(`div`);r.activate=(e,t,n,r,i)=>{let a=e.component;l(e,t,n,0,s),c(a.vnode,e,t,n,a,s,r,e.slotScopeIds,i),G(()=>{a.isDeactivated=!1,a.a&&ue(a.a);let t=e.props&&e.props.onVnodeMounted;t&&Q(t,a.parent,e)},s)},r.deactivate=e=>{let t=e.component;no(t.m),no(t.a),l(e,f,null,1,s),G(()=>{t.da&&ue(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&Q(n,t.parent,e),t.isDeactivated=!0},s)};function p(e){hi(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=os(ai(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!Y(t,o))?p(t):o&&hi(o),i.delete(e),a.delete(e)}or(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>ui(e,t)),t&&m(e=>!ui(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{g!=null&&(io(n.subTree.type)?G(()=>{i.set(g,gi(n.subTree))},n.subTree.suspense):i.set(g,gi(n.subTree)))};return bi(_),Si(_),Ci(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=gi(t);if(e.type===i.type&&e.key===i.key){hi(i);let e=i.component.da;e&&G(e,r);return}p(e)})}),()=>{if(g=null,!t.default)return o=null;let n=t.default(),r=n[0];if(n.length>1)return o=null,n;if(!Oo(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=gi(r);if(s.type===q)return o=null,s;let c=s.type,l=os(ai(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!ui(u,l))||d&&l&&ui(d,l))return s.shapeFlag&=-257,o=s,r;let p=s.key==null?c:s.key,m=i.get(p);return s.el&&(s=Po(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&Fr(s,s.transition),s.shapeFlag|=512,a.delete(p),a.add(p)):(a.add(p),f&&a.size>parseInt(f,10)&&h(a.values().next().value)),s.shapeFlag|=256,o=s,io(r.type)?r:s}}};function ui(e,t){return v(e)?e.some(e=>ui(e,t)):w(e)?e.split(`,`).includes(t):S(e)?(e.lastIndex=0,e.test(t)):!1}function di(e,t){pi(e,`a`,t)}function fi(e,t){pi(e,`da`,t)}function pi(e,t,n=$){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(_i(t,r,n),n){let e=n.parent;for(;e&&e.parent;)ci(e.parent.vnode)&&mi(r,t,n,e),e=e.parent}}function mi(e,t,n,r){let i=_i(t,e,r,!0);wi(()=>{h(r[t],i)},n)}function hi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function gi(e){return e.shapeFlag&128?e.ssContent:e}function _i(e,t,n=$,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Qe();let i=qo(n),a=z(t,n,e,r);return i(),$e(),a};return r?i.unshift(a):i.push(a),a}}var vi=e=>(t,n=$)=>{(!Xo||e===`sp`)&&_i(e,(...e)=>t(...e),n)},yi=vi(`bm`),bi=vi(`m`),xi=vi(`bu`),Si=vi(`u`),Ci=vi(`bum`),wi=vi(`um`),Ti=vi(`sp`),Ei=vi(`rtg`),Di=vi(`rtc`);function Oi(e,t=$){_i(`ec`,e,t)}var ki=`components`,Ai=`directives`;function ji(e,t){return Fi(ki,e,!0,t)||e}var Mi=Symbol.for(`v-ndc`);function Ni(e){return w(e)?Fi(ki,e,!1)||e:e||Mi}function Pi(e){return Fi(Ai,e)}function Fi(e,t,n=!0,r=!1){let i=V||$;if(i){let n=i.type;if(e===ki){let e=os(n,!1);if(e&&(e===t||e===A(t)||e===ce(A(t))))return n}let a=Ii(i[e]||n[e],t)||Ii(i.appContext[e],t);return!a&&r?n:a}}function Ii(e,t){return e&&(e[t]||e[A(t)]||e[ce(A(t))])}function Li(e,t,n,r){let i,a=n&&n[r],o=v(e);if(o||w(e)){let n=o&&Zt(e),r=!1,s=!1;n&&(r=!F(e),s=Qt(e),e=ft(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?tn(L(e[n])):L(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(E(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 Ri(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(v(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 zi(e,t,n={},r,i,a){if(V.ce||V.parent&&ai(V.parent)&&V.parent.ce){let e=a!=null&&n.key==null?m({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),xo(),Do(K,null,[X(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let s=bo.length;xo();let c;try{let i=o&&Bi(o(n)),s=n.key||a||i&&i.key;c=Do(K,{key:(s&&!T(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=bo.length;e>s;e--)So();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),c}function Bi(e){return e.some(e=>!Oo(e)||!(e.type===q||e.type===K&&!Bi(e.children)))?e:null}function Vi(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:le(r)]=e[r];return n}var Hi=e=>e?Yo(e)?as(e):Hi(e.parent):null,Ui=m(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=>Hi(e.parent),$root:e=>Hi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>na(e),$forceUpdate:e=>e.f||=()=>{Rn(e.update)},$nextTick:e=>e.n||=In.bind(e.proxy),$watch:e=>cr.bind(e)}),Wi=(e,t)=>e!==c&&!e.__isScriptSetup&&_(e,t),Gi={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:s,appContext:l}=e;if(t[0]!==`$`){let e=o[t];if(e!==void 0)switch(e){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else if(Wi(r,t))return o[t]=1,r[t];else if(i!==c&&_(i,t))return o[t]=2,i[t];else if(_(a,t))return o[t]=3,a[t];else if(n!==c&&_(n,t))return o[t]=4,n[t];else Zi&&(o[t]=0)}let u=Ui[t],d,f;if(u)return t===`$attrs`&&P(e.attrs,`get`,``),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==c&&_(n,t))return o[t]=4,n[t];if(f=l.config.globalProperties,_(f,t))return f[t]},set({_:e},t,n){let{data:r,setupState:i,ctx:a}=e;return Wi(i,t)?(i[t]=n,!0):r!==c&&_(r,t)?(r[t]=n,!0):_(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:a,type:o}},s){let l;return!!(n[s]||e!==c&&s[0]!==`$`&&_(e,s)||Wi(t,s)||_(a,s)||_(r,s)||_(Ui,s)||_(i.config.globalProperties,s)||(l=o.__cssModules)&&l[s])},defineProperty(e,t,n){return n.get==null?_(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function Ki(){return Ji(`useSlots`).slots}function qi(){return Ji(`useAttrs`).attrs}function Ji(e){let t=Wo();return t.setupContext||=is(t)}function Yi(e){return v(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Xi(e,t){return!e||!t?e||t:v(e)&&v(t)?e.concat(t):m({},Yi(e),Yi(t))}var Zi=!0;function Qi(e){let t=na(e),n=e.proxy,r=e.ctx;Zi=!1,t.beforeCreate&&ea(t.beforeCreate,e,`bc`);let{data:i,computed:a,methods:o,watch:s,provide:c,inject:l,created:d,beforeMount:f,mounted:p,beforeUpdate:m,updated:h,activated:g,deactivated:_,beforeDestroy:y,beforeUnmount:b,destroyed:x,unmounted:S,render:w,renderTracked:T,renderTriggered:D,errorCaptured:ee,serverPrefetch:O,expose:te,inheritAttrs:ne,components:re,directives:ie,filters:ae}=t;if(l&&$i(l,r,null),o)for(let e in o){let t=o[e];C(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);E(t)&&(e.data=Kt(t))}if(Zi=!0,a)for(let e in a){let t=a[e],i=cs({get:C(t)?t.bind(n,n):C(t.get)?t.get.bind(n,n):u,set:!C(t)&&C(t.set)?t.set.bind(n):u});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(s)for(let e in s)ta(s[e],r,n,e);if(c){let e=C(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{$n(t,e[t])})}d&&ea(d,e,`c`);function k(e,t){v(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(k(yi,f),k(bi,p),k(xi,m),k(Si,h),k(di,g),k(fi,_),k(Oi,ee),k(Di,T),k(Ei,D),k(Ci,b),k(wi,S),k(Ti,O),v(te))if(te.length){let t=e.exposed||={};te.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};w&&e.render===u&&(e.render=w),ne!=null&&(e.inheritAttrs=ne),re&&(e.components=re),ie&&(e.directives=ie),O&&Rr(e)}function $i(e,t,n=u){v(e)&&(e=sa(e));for(let n in e){let r=e[n],i;i=E(r)?`default`in r?er(r.from||n,r.default,!0):er(r.from||n):er(r),R(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function ea(e,t,n){z(v(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function ta(e,t,n,r){let i=r.includes(`.`)?lr(n,r):()=>n[r];if(w(e)){let n=t[e];C(n)&&or(i,n)}else if(C(e))or(i,e.bind(n));else if(E(e))if(v(e))e.forEach(e=>ta(e,t,n,r));else{let r=C(e.handler)?e.handler.bind(n):t[e.handler];C(r)&&or(i,r,e)}}function na(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=>ra(c,e,o,!0)),ra(c,t,o)),E(t)&&a.set(t,c),c}function ra(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&ra(e,a,n,!0),i&&i.forEach(t=>ra(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=ia[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var ia={data:aa,props:la,emits:la,methods:ca,computed:ca,beforeCreate:W,created:W,beforeMount:W,mounted:W,beforeUpdate:W,updated:W,beforeDestroy:W,beforeUnmount:W,destroyed:W,unmounted:W,activated:W,deactivated:W,errorCaptured:W,serverPrefetch:W,components:ca,directives:ca,watch:ua,provide:aa,inject:oa};function aa(e,t){return t?e?function(){return m(C(e)?e.call(this,this):e,C(t)?t.call(this,this):t)}:t:e}function oa(e,t){return ca(sa(e),sa(t))}function sa(e){if(v(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function W(e,t){return e?[...new Set([].concat(e,t))]:t}function ca(e,t){return e?m(Object.create(null),e,t):t}function la(e,t){return e?v(e)&&v(t)?[...new Set([...e,...t])]:m(Object.create(null),Yi(e),Yi(t??{})):t}function ua(e,t){if(!e)return t;if(!t)return e;let n=m(Object.create(null),e);for(let r in t)n[r]=W(e[r],t[r]);return n}function da(){return{app:null,config:{isNativeTag:d,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 fa=0;function pa(e,t){return function(n,r=null){C(n)||(n=m({},n)),r!=null&&!E(r)&&(r=null);let i=da(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:fa++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:us,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&C(e.install)?(a.add(e),e.install(c,...t)):C(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||X(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,as(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(z(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=ma;ma=c;try{return e()}finally{ma=t}}};return c}}var ma=null;function ha(e,t,n=c){let r=Wo(),i=A(t),a=se(t),o=ga(e,i),s=pn((o,s)=>{let l,u=c,d;return ar(()=>{let t=e[i];j(l,t)&&(l=t,s())}),{get(){return o(),n.get?n.get(l):l},set(e){let o=n.set?n.set(e):e;if(!j(o,l)&&!(u!==c&&j(e,u)))return;let f=r.vnode.props,p=!!(f&&(t in f||i in f||a in f)&&(`onUpdate:${t}`in f||`onUpdate:${i}`in f||`onUpdate:${a}`in f));p||(l=e,s()),r.emit(`update:${t}`,o),j(e,u)&&(j(e,o)&&!j(o,d)||p&&u!==c&&!j(o,l))&&s(),u=e,d=o}}});return s[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?o||c:s,done:!1}:{done:!0}}}},s}var ga=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${A(t)}Modifiers`]||e[`${se(t)}Modifiers`];function _a(e,t,...n){if(e.isUnmounted)return;let r=e.vnode.props||c,i=n,a=t.startsWith(`update:`),o=a&&ga(r,t.slice(7));o&&(o.trim&&(i=n.map(e=>w(e)?e.trim():e)),o.number&&(i=n.map(fe)));let s,l=r[s=le(t)]||r[s=le(A(t))];!l&&a&&(l=r[s=le(se(t))]),l&&z(l,e,6,i);let u=r[s+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,z(u,e,6,i)}}var va=new WeakMap;function ya(e,t,n=!1){let r=n?va:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!C(e)){let r=e=>{let n=ya(e,t,!0);n&&(s=!0,m(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(E(e)&&r.set(e,null),null):(v(a)?a.forEach(e=>o[e]=null):m(o,a),E(e)&&r.set(e,o),o)}function ba(e,t){return!e||!f(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),_(e,t[0].toLowerCase()+t.slice(1))||_(e,se(t))||_(e,t))}function xa(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:c,render:l,renderCache:u,props:d,data:f,setupState:m,ctx:h,inheritAttrs:g}=e,_=Kn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Z(l.call(t,e,u,d,m,f,h)),y=s}else{let e=t;v=Z(e.length>1?e(d,{attrs:s,slots:o,emit:c}):e(d,null)),y=t.props?s:Ca(s)}}catch(t){bo.length=0,On(t,e,1),v=X(q)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(p)&&(y=wa(y,a)),b=Po(b,y,!1,!0))}return n.dirs&&(b=Po(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Fr(b,n.transition),v=b,Kn(_),v}function Sa(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(Oo(r)){if(r.type!==q||r.children===`v-if`){if(n)return;n=r}}else return}return n}var Ca=e=>{let t;for(let n in e)(n===`class`||n===`style`||f(n))&&((t||={})[n]=e[n]);return t},wa=(e,t)=>{let n={};for(let r in e)(!p(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ta(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?Ea(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Da(o,r,n)&&!ba(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||Ea(r,o,l):!!o;return!1}function Ea(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(Da(t,e,a)&&!ba(n,a))return!0}return!1}function Da(e,t,n){let r=e[n],i=t[n];return n===`style`&&E(r)&&E(i)?!De(r,i):r!==i}function Oa({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 ka={},Aa=()=>Object.create(ka),ja=e=>Object.getPrototypeOf(e)===ka;function Ma(e,t,n,r=!1){let i={},a=Aa();e.propsDefaults=Object.create(null),Pa(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:qt(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function Na(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=I(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(ba(e.emitsOptions,o))continue;let u=t[o];if(c)if(_(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=A(o);i[t]=Fa(c,s,t,u,e,!1)}else u!==a[o]&&(a[o]=u,l=!0)}}}else{Pa(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!_(t,a)&&((r=se(a))===a||!_(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Fa(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!_(t,e))&&(delete a[e],l=!0)}l&&lt(e.attrs,`set`,``)}function Pa(e,t,n,r){let[i,a]=e.propsOptions,o=!1,s;if(t)for(let c in t){if(ie(c))continue;let l=t[c],u;i&&_(i,u=A(c))?!a||!a.includes(u)?n[u]=l:(s||={})[u]=l:ba(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,o=!0)}if(a){let t=I(n),r=s||c;for(let o=0;o<a.length;o++){let s=a[o];n[s]=Fa(i,t,s,r[s],e,!_(r,s))}}return o}function Fa(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=_(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&C(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=qo(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===se(n))&&(r=!0))}return r}var Ia=new WeakMap;function La(e,t,n=!1){let r=n?Ia:t.propsCache,i=r.get(e);if(i)return i;let a=e.props,o={},s=[],u=!1;if(!C(e)){let r=e=>{u=!0;let[n,r]=La(e,t,!0);m(o,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!u)return E(e)&&r.set(e,l),l;if(v(a))for(let e=0;e<a.length;e++){let t=A(a[e]);Ra(t)&&(o[t]=c)}else if(a)for(let e in a){let t=A(e);if(Ra(t)){let n=a[e],r=o[t]=v(n)||C(n)?{type:n}:m({},n),i=r.type,c=!1,l=!0;if(v(i))for(let e=0;e<i.length;++e){let t=i[e],n=C(t)&&t.name;if(n===`Boolean`){c=!0;break}else n===`String`&&(l=!1)}else c=C(i)&&i.name===`Boolean`;r[0]=c,r[1]=l,(c||_(r,`default`))&&s.push(t)}}let d=[o,s];return E(e)&&r.set(e,d),d}function Ra(e){return e[0]!==`$`&&!ie(e)}var za=e=>e===`_`||e===`_ctx`||e===`$stable`,Ba=e=>v(e)?e.map(Z):[Z(e)],Va=(e,t,n)=>{if(t._n)return t;let r=Xn((...e)=>Ba(t(...e)),n);return r._c=!1,r},Ha=(e,t,n)=>{let r=e._ctx;for(let n in e){if(za(n))continue;let i=e[n];if(C(i))t[n]=Va(n,i,r);else if(i!=null){let e=Ba(i);t[n]=()=>e}}},Ua=(e,t)=>{let n=Ba(t);e.slots.default=()=>n},Wa=(e,t,n)=>{for(let r in t)(n||!za(r))&&(e[r]=t[r])},Ga=(e,t,n)=>{let r=e.slots=Aa();if(e.vnode.shapeFlag&32){let e=t._;e?(Wa(r,t,n),n&&de(r,`_`,e,!0)):Ha(t,r)}else t&&Ua(e,t)},Ka=(e,t,n)=>{let{vnode:r,slots:i}=e,a=!0,o=c;if(r.shapeFlag&32){let e=t._;e?n&&e===1?a=!1:Wa(i,t,n):(a=!t.$stable,Ha(t,i)),o=t}else t&&(Ua(e,t),o={default:1});if(a)for(let e in i)!za(e)&&o[e]==null&&delete i[e]},G=ho;function qa(e){return Ya(e)}function Ja(e){return Ya(e,Xr)}function Ya(e,t){let n=he();n.__VUE__=!0;let{insert:r,remove:i,patchProp:a,createElement:o,createText:s,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=u,insertStaticContent:_}=e,v=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Y(e,t)&&(r=_e(e),de(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case vo:y(e,t,n,r);break;case q:b(e,t,n,r);break;case yo:e??x(t,n,r,o);break;case K:ne(e,t,n,r,i,a,o,s,c);break;default:d&1?w(e,t,n,r,i,a,o,s,c):d&6?re(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,be)}u!=null&&i?Hr(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&Hr(e.ref,null,a,e,!0)},y=(e,t,n,i)=>{if(e==null)r(t.el=s(t.children),n,i);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,i)=>{e==null?r(t.el=d(t.children||``),n,i):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,i)=>{let a;for(;e&&e!==t;)a=h(e),r(e,n,i),e=a;r(t,n,i)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),i(e),e=n;i(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)T(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ee(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},T=(e,t,n,i,s,c,l,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=o(e.type,c,m&&m.is,m),h&8?p(d,e.children):h&16&&D(e.children,d,null,i,s,Xa(e,c),l,u),_&&Qn(e,null,i,`created`),E(d,e,e.scopeId,l,i),m){for(let e in m)e!==`value`&&!ie(e)&&a(d,e,null,m[e],c,i);`value`in m&&a(d,`value`,null,m.value,c),(f=m.onVnodeBeforeMount)&&Q(f,i,e)}_&&Qn(e,null,i,`beforeMount`);let v=Qa(s,g);v&&g.beforeEnter(d),r(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&G(()=>{try{f&&Q(f,i,e),v&&g.enter(d),_&&Qn(e,null,i,`mounted`)}finally{}},s)},E=(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||io(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;E(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},D=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?Ro(e[l]):Z(e[l]);v(null,c,t,n,r,i,a,o,s)}},ee=(e,t,n,r,i,o,s)=>{let l=t.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=e.patchFlag&16;let m=e.props||c,h=t.props||c,g;if(n&&Za(n,!1),(g=h.onVnodeBeforeUpdate)&&Q(g,n,t,e),f&&Qn(t,e,n,`beforeUpdate`),n&&Za(n,!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?O(e.dynamicChildren,d,l,n,r,Xa(t,i),o):s||se(e,t,l,null,n,r,Xa(t,i),o,!1),u>0){if(u&16)te(l,m,h,n,i);else if(u&2&&m.class!==h.class&&a(l,`class`,null,h.class,i),u&4&&a(l,`style`,m.style,h.style,i),u&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],o=m[r],s=h[r];(s!==o||r===`value`)&&a(l,r,o,s,i,n)}}u&1&&e.children!==t.children&&p(l,t.children)}else!s&&d==null&&te(l,m,h,n,i);((g=h.onVnodeUpdated)||f)&&G(()=>{g&&Q(g,n,t,e),f&&Qn(t,e,n,`updated`)},r)},O=(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===K||!Y(c,l)||c.shapeFlag&198)?m(c.el):n;v(c,l,u,null,r,i,a,o,!0)}},te=(e,t,n,r,i)=>{if(t!==n){if(t!==c)for(let o in t)!ie(o)&&!(o in n)&&a(e,o,t[o],null,i,r);for(let o in n){if(ie(o))continue;let s=n[o],c=t[o];s!==c&&o!==`value`&&a(e,o,c,s,i,r)}`value`in n&&a(e,`value`,t.value,n.value,i)}},ne=(e,t,n,i,a,o,c,l,u)=>{let d=t.el=e?e.el:s(``),f=t.anchor=e?e.anchor:s(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(l=l?l.concat(h):h),e==null?(r(d,n,i),r(f,n,i),D(t.children||[],n,f,a,o,c,l,u)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(O(e.dynamicChildren,m,n,a,o,c,l),(t.key!=null||a&&t===a.subTree)&&$a(e,t,!0)):se(e,t,n,f,a,o,c,l,u)},re=(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):ae(t,n,r,i,a,o,c):k(e,t,c)},ae=(e,t,n,r,i,a,o)=>{let s=e.component=Uo(e,r,i);if(ci(e)&&(s.ctx.renderer=be),Zo(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,A,o),!e.el){let r=s.subTree=X(q);b(null,r,t,n),e.placeholder=r.el}}else A(s,e,t,n,i,a,o)},k=(e,t,n)=>{let r=t.component=e.component;if(Ta(e,t,n))if(r.asyncDep&&!r.asyncResolved){oe(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},A=(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=to(e);if(n){t&&(t.el=c.el,oe(e,t,o)),n.asyncDep.then(()=>{G(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;Za(e,!1),t?(t.el=c.el,oe(e,t,o)):t=c,n&&ue(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Q(d,s,t,c),Za(e,!0);let f=xa(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),_e(p),e,i,a),t.el=f.el,u===null&&Oa(e,f.el),r&&G(r,i),(d=t.props&&t.props.onVnodeUpdated)&&G(()=>Q(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=ai(t);if(Za(e,!1),l&&ue(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Q(o,d,t),Za(e,!0),s&&Se){let t=()=>{e.subTree=xa(e),Se(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=xa(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&G(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;G(()=>Q(o,d,e),i)}(t.shapeFlag&256||d&&ai(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&G(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Le(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=()=>Rn(u),Za(e,!0),l()},oe=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Na(e,t.props,r,n),Ka(e,t.children,n),Qe(),Vn(e),$e()},se=(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){le(l,d,n,r,i,a,o,s,c);return}else if(f&256){ce(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ge(l,i,a),d!==l&&p(n,d)):u&16?m&16?le(l,d,n,r,i,a,o,s,c):ge(l,i,a,!0):(u&8&&p(n,``),m&16&&D(d,n,r,i,a,o,s,c))},ce=(e,t,n,r,i,a,o,s,c)=>{e||=l,t||=l;let u=e.length,d=t.length,f=Math.min(u,d),p;for(p=0;p<f;p++){let r=t[p]=c?Ro(t[p]):Z(t[p]);v(e[p],r,n,null,i,a,o,s,c)}u>d?ge(e,i,a,!0,!1,f):D(t,n,r,i,a,o,s,c,f)},le=(e,t,n,r,i,a,o,s,c)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let r=e[u],l=t[u]=c?Ro(t[u]):Z(t[u]);if(Y(r,l))v(r,l,n,null,i,a,o,s,c);else break;u++}for(;u<=f&&u<=p;){let r=e[f],l=t[p]=c?Ro(t[p]):Z(t[p]);if(Y(r,l))v(r,l,n,null,i,a,o,s,c);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,l=e<d?t[e].el:r;for(;u<=p;)v(null,t[u]=c?Ro(t[u]):Z(t[u]),n,l,i,a,o,s,c),u++}}else if(u>p)for(;u<=f;)de(e[u],i,a,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=c?Ro(t[u]):Z(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 r=e[u];if(y>=b){de(r,i,a,!0);continue}let l;if(r.key!=null)l=g.get(r.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&Y(r,t[_])){l=_;break}l===void 0?de(r,i,a,!0):(C[l-h]=u+1,l>=S?S=l:x=!0,v(r,t[l],n,null,i,a,o,s,c),y++)}let w=x?eo(C):l;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,l=t[e],f=t[e+1],p=e+1<d?f.el||ro(f):r;C[u]===0?v(null,l,n,p,i,a,o,s,c):x&&(_<0||u!==w[_]?j(l,n,p,2):_--)}}},j=(e,t,n,a,o=null)=>{let{el:s,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){j(e.component.subTree,t,n,a);return}if(d&128){e.suspense.move(t,n,a);return}if(d&64){c.move(e,t,n,be);return}if(c===K){r(s,t,n);for(let e=0;e<u.length;e++)j(u[e],t,n,a);r(e.anchor,t,n);return}if(c===yo){S(e,t,n);return}if(a!==2&&d&1&&l)if(a===0)l.persisted&&!s[H]?r(s,t,n):(l.beforeEnter(s),r(s,t,n),G(()=>l.enter(s),o));else{let{leave:a,delayLeave:o,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?i(s):r(s,t,n)},d=()=>{let e=s._isLeaving||!!s[H];s._isLeaving&&s[H](!0),l.persisted&&!e?u():a(s,()=>{u(),c&&c()})};o?o(s,u,d):d()}else r(s,t,n)},de=(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&&(i=!1),s!=null&&(Qe(),Hr(s,null,n,e,!0),$e()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!ai(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Q(_,t,e),u&6)me(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Qn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,be,r):l&&!l.hasOnce&&(a!==K||d>0&&d&64)?ge(l,t,n,!1,!0):(a===K&&d&384||!i&&u&16)&&ge(c,t,n),r&&fe(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&G(()=>{_&&Q(_,t,e),h&&Qn(e,null,t,`unmounted`),v&&(e.el=null)},n)},fe=e=>{let{type:t,el:n,anchor:r,transition:a}=e;if(t===K){pe(n,r);return}if(t===yo){C(e);return}let o=()=>{i(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(e.shapeFlag&1&&a&&!a.persisted){let{leave:t,delayLeave:r}=a,i=()=>t(n,o);r?r(e.el,o,i):i()}else o()},pe=(e,t)=>{let n;for(;e!==t;)n=h(e),i(e),e=n;i(t)},me=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;no(c),no(l),r&&ue(r),i.stop(),a&&(a.flags|=8,de(o,e,t,n)),s&&G(s,t),G(()=>{e.isUnmounted=!0},t)},ge=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)de(e[o],t,n,r,i)},_e=e=>{if(e.shapeFlag&6)return _e(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[dr];return n?h(n):t},ve=!1,ye=(e,t,n)=>{let r;e==null?t._vnode&&(de(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ve||=(ve=!0,Vn(r),Hn(),!1)},be={p:v,um:de,m:j,r:fe,mt:ae,mc:D,pc:se,pbc:O,n:_e,o:e},xe,Se;return t&&([xe,Se]=t(be)),{render:ye,hydrate:xe,createApp:pa(ye,xe)}}function Xa({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 Za({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Qa(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $a(e,t,n=!1){let r=e.children,i=t.children;if(v(r)&&v(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]=Ro(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&$a(t,a)),a.type===vo&&(a.patchFlag===-1&&(a=i[e]=Ro(a)),a.el=t.el),a.type===q&&!a.el&&(a.el=t.el)}}function eo(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 to(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:to(t)}function no(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ro(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?ro(t.subTree):null}var io=e=>e.__isSuspense,ao=0,oo={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)co(t,n,r,i,a,o,s,c,l);else{if(a&&a.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}lo(e,t,n,r,i,o,s,c,l)}},hydrate:fo,normalize:po};function so(e,t){let n=e.props&&e.props[t];C(n)&&n()}function co(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=uo(e,i,r,t,d,n,a,o,s,c);l(null,f.pendingBranch=e.ssContent,d,null,r,f,a,o),f.deps>0?(so(e,`onPending`),so(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),go(f,e.ssFallback)):f.resolve(!1,!0)}function lo(e,t,n,r,i,a,o,s,{p:c,um:l,o:{createElement:u}}){let d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;let f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:_}=d;if(h)d.pendingBranch=f,Y(h,f)?(c(h,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():g&&(_||(c(m,p,n,r,i,null,a,o,s),go(d,p)))):(d.pendingId=ao++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():(c(m,p,n,r,i,null,a,o,s),go(d,p))):m&&Y(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&Y(m,f))c(m,f,n,r,i,d,a,o,s),go(d,f);else if(so(t,`onPending`),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=ao++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):e===0&&d.fallback(p)}}function uo(e,t,n,r,i,a,o,s,c,l,u=!1){let{p:d,m:f,um:p,n:m,o:{parentNode:h,remove:g}}=l,_,v=_o(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?pe(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:ao++,timeout:typeof y==`number`?y:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:o,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=x,g=!1;if(x.isHydrating)x.isHydrating=!1;else if(!e){g=i&&o.transition&&o.transition.mode===`out-in`;let e=!1;g&&(i.transition.afterLeave=()=>{s===x.pendingId&&(f(o,u,a===b&&!e?m(i):a,0),Bn(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),i&&!x.isFallbackMountPending&&(h(i.el)===u&&(a=m(i),e=!0),p(i,l,x,!0),!g&&d&&r.ssFallback&&G(()=>r.ssFallback.el=null,x)),g||f(o,u,a,0)}x.isFallbackMountPending=!1,go(x,o),x.pendingBranch=null,x.isInFallback=!1;let y=x.parent,S=!1;for(;y;){if(y.pendingBranch){y.effects.push(...c),S=!0;break}y=y.parent}!S&&!g&&Bn(c),x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!n&&t.resolve()),so(r,`onResolve`)},fallback(e){if(!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;so(t,`onFallback`);let o=m(n),l=()=>{x.isFallbackMountPending=!1,x.isInFallback&&(d(null,e,i,o,r,null,a,s,c),go(x,e))},u=e.transition&&e.transition.mode===`out-in`;u&&(x.isFallbackMountPending=!0,n.transition.afterLeave=l),x.isInFallback=!0,p(n,r,null,!0),u||l()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t,n){let r=!!x.pendingBranch;r&&x.deps++;let i=e.vnode.el;e.asyncDep.catch(t=>{On(t,e,0)}).then(a=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;Jo(),e.asyncResolved=!0;let{vnode:s}=e;$o(e,a,!1),i&&(s.el=i);let c=!i&&e.subTree.el;t(e,s,h(i||e.subTree.el),i?null:m(e.subTree),x,o,n),c&&(s.placeholder=null,g(c)),Oa(e,s.el),r&&--x.deps===0&&x.resolve()})},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&p(x.pendingBranch,n,e,t)}};return x}function fo(e,t,n,r,i,a,o,s,c){let l=t.suspense=uo(t,r,n,e.parentNode,document.createElement(`div`),null,i,a,o,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,a,o);return l.deps===0&&l.resolve(!1,!0),u}function po(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=mo(r?n.default:n),e.ssFallback=r?mo(n.fallback):X(q)}function mo(e){let t;if(C(e)){let n=Co&&e._c;n&&(e._d=!1,xo()),e=e(),n&&(e._d=!0,t=J,So())}return v(e)&&(e=Sa(e)),e=Z(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function ho(e,t){t&&t.pendingBranch?v(e)?t.effects.push(...e):t.effects.push(e):Bn(e)}function go(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,Oa(r,i))}function _o(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}var K=Symbol.for(`v-fgt`),vo=Symbol.for(`v-txt`),q=Symbol.for(`v-cmt`),yo=Symbol.for(`v-stc`),bo=[],J=null;function xo(e=!1){bo.push(J=e?null:[])}function So(){bo.pop(),J=bo[bo.length-1]||null}var Co=1;function wo(e,t=!1){Co+=e,e<0&&J&&t&&(J.hasOnce=!0)}function To(e){return e.dynamicChildren=Co>0?J||l:null,So(),Co>0&&J&&J.push(e),e}function Eo(e,t,n,r,i,a){return To(jo(e,t,n,r,i,a,!0))}function Do(e,t,n,r,i){return To(X(e,t,n,r,i,!0))}function Oo(e){return e?e.__v_isVNode===!0:!1}function Y(e,t){return e.type===t.type&&e.key===t.key}var ko=({key:e})=>e??null,Ao=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:w(e)||R(e)||C(e)?{i:V,r:e,k:t,f:!!n}:e);function jo(e,t=null,n=null,r=0,i=null,a=e===K?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ko(t),ref:t&&Ao(t),scopeId:Gn,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:V};return s?(zo(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=w(n)?8:16),Co>0&&!o&&J&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&J.push(c),c}var X=Mo;function Mo(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Mi)&&(e=q),Oo(e)){let r=Po(e,t,!0);return n&&zo(r,n),Co>0&&!a&&J&&(r.shapeFlag&6?J[J.indexOf(e)]=r:J.push(r)),r.patchFlag=-2,r}if(ss(e)&&(e=e.__vccOpts),t){t=No(t);let{class:e,style:n}=t;e&&!w(e)&&(t.class=xe(e)),E(n)&&($t(n)&&!v(n)&&(n=m({},n)),t.style=ge(n))}let o=w(e)?1:io(e)?128:fr(e)?64:E(e)?4:C(e)?2:0;return jo(e,t,n,r,i,o,a,!0)}function No(e){return e?$t(e)||ja(e)?m({},e):e:null}function Po(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?Bo(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ko(l),ref:t&&t.ref?n&&a?v(a)?a.concat(Ao(t)):[a,Ao(t)]:Ao(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!==K?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&&Po(e.ssContent),ssFallback:e.ssFallback&&Po(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Fr(u,c.clone(u)),u}function Fo(e=` `,t=0){return X(vo,null,e,t)}function Io(e,t){let n=X(yo,null,e);return n.staticCount=t,n}function Lo(e=``,t=!1){return t?(xo(),Do(q,null,e)):X(q,null,e)}function Z(e){return e==null||typeof e==`boolean`?X(q):v(e)?X(K,null,e.slice()):Oo(e)?Ro(e):X(vo,null,String(e))}function Ro(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Po(e)}function zo(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(v(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),zo(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!ja(t)?t._ctx=V:r===3&&V&&(V.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(C(t)){if(r&65){zo(e,{default:t});return}t={default:t,_ctx:V},n=32}else t=String(t),r&64?(n=16,t=[Fo(t)]):n=8;e.children=t,e.shapeFlag|=n}function Bo(...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=xe([t.class,r.class]));else if(e===`style`)t.style=ge([t.style,r.style]);else if(f(e)){let n=t[e],i=r[e];i&&n!==i&&!(v(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!p(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Q(e,t,n,r=null){z(e,t,7,[n,r])}var Vo=da(),Ho=0;function Uo(e,t,n){let r=e.type,i=(t?t.appContext:e.appContext)||Vo,a={uid:Ho++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Me(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:La(r,i),emitsOptions:ya(r,i),emit:null,emitted:null,propsDefaults:c,inheritAttrs:r.inheritAttrs,ctx:c,data:c,props:c,attrs:c,slots:c,refs:c,setupState:c,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=_a.bind(null,a),e.ce&&e.ce(a),a}var $=null,Wo=()=>$||V,Go,Ko;{let e=he(),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)}};Go=t(`__VUE_INSTANCE_SETTERS__`,e=>$=e),Ko=t(`__VUE_SSR_SETTERS__`,e=>Xo=e)}var qo=e=>{let t=$;return Go(e),e.scope.on(),()=>{e.scope.off(),Go(t)}},Jo=()=>{$&&$.scope.off(),Go(null)};function Yo(e){return e.vnode.shapeFlag&4}var Xo=!1;function Zo(e,t=!1,n=!1){t&&Ko(t);let{props:r,children:i}=e.vnode,a=Yo(e);Ma(e,r,a,t),Ga(e,i,n||t);let o=a?Qo(e,t):void 0;return t&&Ko(!1),o}function Qo(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Gi);let{setup:r}=n;if(r){Qe();let n=e.setupContext=r.length>1?is(e):null,i=qo(e),a=Dn(r,e,0,[e.props,n]),o=D(a);if($e(),i(),(o||e.sp)&&!ai(e)&&Rr(e),o){if(a.then(Jo,Jo),t)return a.then(n=>{$o(e,n,t)}).catch(t=>{On(t,e,0)});e.asyncDep=a}else $o(e,a,t)}else ns(e,t)}function $o(e,t,n){C(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:E(t)&&(e.setupState=dn(t)),ns(e,n)}var es,ts;function ns(e,t,n){let r=e.type;if(!e.render){if(!t&&es&&!r.render){let t=r.template||na(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r;r.render=es(t,m(m({isCustomElement:n,delimiters:a},i),o))}}e.render=r.render||u,ts&&ts(e)}{let t=qo(e);Qe();try{Qi(e)}finally{$e(),t()}}}var rs={get(e,t){return P(e,`get`,``),e[t]}};function is(e){return{attrs:new Proxy(e.attrs,rs),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function as(e){return e.exposed?e.exposeProxy||=new Proxy(dn(en(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 os(e,t=!0){return C(e)?e.displayName||e.name:e.name||t&&e.__name}function ss(e){return C(e)&&`__vccOpts`in e}var cs=(e,t)=>bn(e,t,Xo);function ls(e,t,n){try{wo(-1);let r=arguments.length;return r===2?E(t)&&!v(t)?Oo(t)?X(e,null,[t]):X(e,t):X(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Oo(n)&&(n=[n]),X(e,t,n))}finally{wo(1)}}var us=`3.5.40`;function ds(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?ds(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var fs=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function ps(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>ps(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function ms(e,t,n){if(e.length>0)return ps(e,t,0,fs(n))}function hs(e,t,n){if(e.length>0){let r=fs(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function gs(e,t){for(let n of[...e])n(t)}var _s=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=ds(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=ds(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(ms,e,t)}callHookParallel(e,...t){return this.callHookWith(hs,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&gs(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&gs(this._after,r)}):(this._after&&r&&gs(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function vs(){return new _s}var ys=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(!(!n||n.length===0))return ps(n,t,0)}};function bs(){return globalThis.AsyncLocalStorage||globalThis.process?.getBuiltinModule?.(`node:async_hooks`)?.AsyncLocalStorage}function xs(e={}){let t,n=!1,r=e=>{if(t&&t!==e)throw Error(`Context conflict`)},i;if(e.asyncContext){let t=e.AsyncLocalStorage||bs();t?i=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}let a=e=>i&&typeof e==`object`&&e?{__unctx_weak:new WeakRef(e)}:e,o=e=>e&&e.__unctx_weak?e.__unctx_weak.deref():e,s=()=>{if(i){let e=i.getStore();if(e!==void 0)return o(e)}return t};return{use:()=>{let e=s();if(e===void 0)throw Error(`Context is not available`);return e},tryUse:()=>s(),set:(e,i)=>{i||r(e),t=e,n=!0},unset:()=>{t=void 0,n=!1},call:(e,o)=>{r(e),t=e;try{return i?i.run(a(e),o):o()}finally{n||(t=void 0)}},async callAsync(e,r){t=e;let o=()=>{t=e},s=()=>t===e?o:void 0;Os.add(s);try{let o=i?i.run(a(e),r):r();return n||(t=void 0),await o}finally{Os.delete(s)}}}}function Ss(e={}){let t={};return{get(n,r={}){return t[n]||(t[n]=xs({...e,...r})),t[n]}}}var Cs=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof globalThis<`u`?globalThis:typeof window<`u`?window:{},ws=`__unctx__`,Ts=Cs[ws]||(Cs[ws]=Ss()),Es=(e,t={})=>Ts.get(e,t),Ds=`__unctx_async_handlers__`,Os=Cs[Ds]||(Cs[Ds]=new Set);function ks(e){let t=[];for(let e of Os){let n=e();n&&t.push(n)}let n=()=>{for(let e of t)e()},r=e();return r&&typeof r==`object`&&`catch`in r&&(r=r.catch(e=>{throw n(),e})),[r,n]}var As={meta:[{name:`viewport`,content:`width=device-width,initial-scale=1`},{charset:`utf-8`},{name:`description`,content:`DevTools for Vite`},{property:`og:title`,content:`Vite DevTools`},{property:`og:description`,content:`DevTools for Vite`}],link:[{rel:`icon`,type:`image/svg+xml`,href:`/favicon.svg`}],style:[],script:[],noscript:[],title:`Vite DevTools`,charset:`utf-8`,viewport:`width=device-width,initial-scale=1`,htmlAttrs:{lang:`en`,class:`bg-dots`}},js={id:`__nuxt-loader`},Ms={componentName:`NuxtLink`,prefetch:!0,prefetchOn:{visibility:!0}},Ns=`#__nuxt`,Ps=`nuxt-app`,Fs=36e5,Is=`vite:preloadError`;function Ls(e=`nuxt-app`){return Es(e,{asyncContext:!1})}var Rs=`__nuxt_plugin`;function zs(e){let t=0,n={_id:e.id||`nuxt-app`,_scope:Ne(),provide:void 0,versions:{get nuxt(){return`4.5.0`},get vue(){return n.vueApp.version}},payload:qt({...e.ssrContext?.payload||{},data:qt({}),state:Kt({}),once:new Set,_errors:qt({})}),static:{data:{}},runWithContext(e){return n._scope.active&&!Pe()?n._scope.run(()=>Us(n,e)):Us(n,e)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let e=!1;return()=>{if(!e&&(e=!0,t--,t===0))return n.isHydrating=!1,n.callHook(`app:suspense:resolve`)}},_asyncDataPromises:{},_asyncData:qt({}),_state:qt({}),_payloadRevivers:{},...e};{let e=window.__NUXT__;if(e)for(let t in e)switch(t){case`data`:case`state`:case`_errors`:Object.assign(n.payload[t],e[t]);break;default:n.payload[t]=e[t]}}n.hooks=vs(),n.hook=n.hooks.hook;{let e=n.hooks.callHook;n.hooks.callHook=(t,...n)=>Promise.resolve().then(()=>e(t,...n))}n.callHook=n.hooks.callHook,n.provide=(e,t)=>{let r=`$`+e;qs(n,r,t),qs(n.vueApp.config.globalProperties,r,t)},qs(n.vueApp,`$nuxt`,n),qs(n.vueApp.config.globalProperties,`$nuxt`,n);{window.addEventListener(Is,e=>{n.callHook(`app:chunkError`,{error:e.payload}),e.payload?.message?.includes(`Unable to preload CSS`)&&e.preventDefault()}),window.useNuxtApp||=Gs;let e=n.hook(`app:error`,(...e)=>{o.NUXT_E1005({cause:e.length>1?e:e[0]})});n.hook(`app:mounted`,e)}let r=n.payload.config;return n.provide(`config`,r),n}async function Bs(e,t){if(typeof t==`function`){let{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n==`object`)for(let t in n)e.provide(t,n[t])}}async function Vs(e,t){let n;for(let r of t)try{await Bs(e,r)}catch(t){if(!e.payload.error)throw t;n||=t}if(n)throw e.payload.error||n}function Hs(e){if(typeof e==`function`)return e;let t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Rs]:!0,_name:t})}function Us(e,t,n){return Ls(e._id).set(e),e.vueApp.runWithContext(()=>n?t(...n):t())}function Ws(e){let t;return tr()&&(t=Wo()?.appContext.app.$nuxt),t||=Ls(e).tryUse(),t||null}function Gs(e){let t=Ws(e);if(!t)throw o.NUXT_E1001();return t}function Ks(e){return Gs().$config}function qs(e,t,n){Object.defineProperty(e,t,{get:()=>n})}export{Li as $,i as $t,Fo as A,sn as At,Xi as B,p as Bt,Do as C,nn as Ct,qa as D,_n as Dt,Ja as E,rn as Et,No as F,se as Ft,fi as G,T as Gt,In as H,f as Ht,ls as I,Te as It,wi as J,Se as Jt,Oi as K,fe as Kt,tr as L,ue as Lt,oi as M,A as Mt,Lr as N,ce as Nt,Ri as O,mn as Ot,Wo as P,m as Pt,qn as Q,o as Qt,er as R,v as Rt,jo as S,Jt as St,Eo as T,Yt as Tt,di as U,we as Ut,Bo as V,E as Vt,Ci as W,w as Wt,Jn as X,ke as Xt,xo as Y,ge as Yt,$n as Z,pe as Zt,li as _,Qt as _t,Ks as a,qi as at,z as b,Fe as bt,js as c,zr as ct,Ns as d,Xn as dt,a as en,zi as et,ks as f,Zn as ft,K as g,Pe as gt,Er as h,Ne as ht,Gs as i,Vi as it,X as j,cn as jt,Io as k,ln as kt,Ms as l,or as lt,Ar as m,pn as mt,zs as n,Pi as nt,As as o,ha as ot,ys as p,Yn as pt,bi as q,xe as qt,Hs as r,Ni as rt,Ps as s,Ki as st,Vs as t,r as tn,ji as tt,Fs as u,ir as ut,oo as v,R as vt,Lo as w,qt as wt,cs as x,Kt as xt,xr as y,en as yt,Oo as z,C as zt};
@@ -0,0 +1,2 @@
1
+ import{C as e,Et as t,N as n,S as r,T as i,Xt as a,Y as o,a as s,bt as c,dt as l,et as u,gt as d,j as f,k as p,xt as m}from"./D3MExTHO.js";import{d as h,u as g}from"./NLJpu4QF.js";var _={viewBox:`0 0 1053 86`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`banner-devtools`},v=n({__name:`BannerViteDevTools`,setup(e){return(e,t)=>(o(),i(`svg`,_,[...t[0]||=[p(`<g clip-path="url(#clip0_3_25)"><path d="M32.087 10.9L49.292 57.772L66.218 10.9H89.375L63.707 76H33.947L8.279 10.9H32.087ZM97.094 76V10.9H119.414V76H97.094ZM152.569 76V26.896H127.552V10.9H199.906V26.896H174.889V76H152.569ZM208.076 76V10.9H272.339V26.71H230.396V35.452H271.688V50.797H230.396V60.19H273.548V76H208.076Z" fill="currentColor"></path><path d="M294.792 9.89331C281.775 28.5257 281.698 57.4071 294.792 76.1065H303.586C290.496 57.4071 290.572 28.5257 303.586 9.89331H294.792Z" fill="currentColor"></path><path d="M383.128 9.89314H374.333C387.35 28.5255 387.426 57.4069 374.333 76.1064H383.128C396.218 57.4069 396.142 28.5255 383.128 9.89314Z" fill="currentColor"></path><path d="M406.719 77V11.9H447.639C470.238 11.9 483.165 22.223 483.165 44.45C483.165 66.77 470.145 77 447.546 77H406.719ZM460.287 44.45C460.287 32.267 455.079 27.71 444.477 27.71H429.039V61.19H444.477C455.079 61.19 460.287 56.633 460.287 44.45ZM494.542 77V11.9H558.805V27.71H516.862V36.452H558.154V51.797H516.862V61.19H560.014V77H494.542ZM588.198 11.9L605.403 58.772L622.329 11.9H645.486L619.818 77H590.058L564.39 11.9H588.198ZM673.624 77V27.896H648.607V11.9H720.961V27.896H695.944V77H673.624ZM764.891 78.116C737.456 78.116 723.134 66.584 723.134 44.45C723.134 22.316 737.456 10.784 764.891 10.784C792.326 10.784 806.741 22.316 806.741 44.45C806.741 66.584 792.326 78.116 764.891 78.116ZM764.891 62.027C777.818 62.027 783.863 56.54 783.863 44.45C783.863 32.267 777.818 26.78 764.891 26.78C751.964 26.78 745.919 32.267 745.919 44.45C745.919 56.54 751.964 62.027 764.891 62.027ZM855.802 78.116C828.367 78.116 814.045 66.584 814.045 44.45C814.045 22.316 828.367 10.784 855.802 10.784C883.237 10.784 897.652 22.316 897.652 44.45C897.652 66.584 883.237 78.116 855.802 78.116ZM855.802 62.027C868.729 62.027 874.774 56.54 874.774 44.45C874.774 32.267 868.729 26.78 855.802 26.78C842.875 26.78 836.83 32.267 836.83 44.45C836.83 56.54 842.875 62.027 855.802 62.027ZM908.955 77V11.9H931.275V60.725H970.242V77H908.955ZM1011.9 78.116C985.302 78.116 974.049 71.234 974.049 55.238V55.145H996.648V55.238C996.648 60.632 1000.27 63.515 1011.9 63.515C1023.9 63.515 1026.69 61.283 1026.69 57.842C1026.69 54.773 1024.64 53.378 1020.18 53.006L1001.2 51.518C981.117 49.937 974.979 43.799 974.979 32.081C974.979 17.945 987.255 10.784 1012.27 10.784C1037.85 10.784 1048.17 17.387 1048.17 32.639V32.825H1025.94V32.639C1025.94 27.245 1022.59 25.199 1011.9 25.199C1000.65 25.199 997.206 27.245 997.206 30.872C997.206 34.034 999.717 35.243 1005.58 35.708L1024.36 37.103C1042.03 38.405 1049.29 44.078 1049.29 56.261C1049.29 70.304 1038.78 78.116 1011.9 78.116Z" fill="currentColor"></path><path d="M341.534 73.5459C340.625 74.7024 338.767 74.0592 338.767 72.59V58.4788C338.767 56.7677 337.38 55.3811 335.669 55.3811H320.089C318.829 55.3811 318.094 53.9561 318.829 52.9323L329.072 38.5911C330.538 36.5405 329.072 33.6906 326.55 33.6906H307.695C306.435 33.6906 305.7 32.2657 306.435 31.242L319.714 12.6493C320.006 12.2422 320.475 12.0002 320.974 12.0002H360.546C361.806 12.0002 362.54 13.4252 361.806 14.449L351.562 28.7902C350.096 30.8407 351.562 33.6906 354.085 33.6906H369.665C370.957 33.6906 371.683 35.1806 370.884 36.1984L341.537 73.5488L341.534 73.5459Z" fill="#9135FF"></path><mask id="mask0_3_25" style="mask-type:alpha;" maskUnits="userSpaceOnUse" x="306" y="12" width="66" height="63"><path d="M341.392 73.5457C340.483 74.7021 338.624 74.059 338.624 72.5897V58.4787C338.624 56.7674 337.238 55.3808 335.527 55.3808H319.946C318.686 55.3808 317.952 53.9558 318.686 52.9321L328.93 38.5908C330.396 36.5404 328.93 33.6904 326.407 33.6904H307.552C306.292 33.6904 305.558 32.2655 306.292 31.2417L319.572 12.6491C319.864 12.2419 320.333 12 320.831 12H360.403C361.663 12 362.398 13.425 361.663 14.4487L351.42 28.79C349.953 30.8404 351.42 33.6904 353.942 33.6904H369.523C370.815 33.6904 371.541 35.1803 370.741 36.1982L341.395 73.5485L341.392 73.5457Z" fill="black"></path></mask><g mask="url(#mask0_3_25)"><g filter="url(#filter0_f_3_25)"><path d="M340.18 62.5759C340.194 66.7421 331.189 70.1487 320.066 70.1847C308.944 70.2208 299.917 66.8726 299.904 62.7064C299.89 58.5402 308.895 55.1336 320.017 55.0976C331.14 55.0615 340.167 58.4097 340.18 62.5759Z" fill="#EEE6FF"></path></g><g filter="url(#filter1_f_3_25)"><path d="M333.95 36.7736C333.976 44.6397 315.692 51.0757 293.113 51.1489C270.534 51.222 252.209 44.9047 252.184 37.0387C252.158 29.1726 270.442 22.7366 293.021 22.6634C315.6 22.5902 333.925 28.9076 333.95 36.7736Z" fill="#EEE6FF"></path></g><g filter="url(#filter2_f_3_25)"><path d="M334.109 34.778C334.122 38.9442 315.44 42.3822 292.38 42.4569C269.32 42.5317 250.615 39.2149 250.602 35.0487C250.588 30.8825 269.271 27.4446 292.331 27.3698C315.391 27.2951 334.095 30.6118 334.109 34.778Z" fill="#8900FF"></path></g><g filter="url(#filter3_f_3_25)"><path d="M340.708 59.4281C340.722 63.5943 321.971 67.0325 298.826 67.1075C275.682 67.1825 256.909 63.866 256.895 59.6998C256.882 55.5336 275.633 52.0954 298.777 52.0204C321.922 51.9454 340.695 55.2619 340.708 59.4281Z" fill="#8900FF"></path></g><g filter="url(#filter4_f_3_25)"><path d="M342.807 61.0016C342.82 65.1678 324.069 68.606 300.925 68.681C277.781 68.756 259.007 65.4395 258.994 61.2733C258.98 57.1071 277.732 53.6689 300.876 53.5939C324.02 53.5189 342.793 56.8354 342.807 61.0016Z" fill="#8900FF"></path></g><g filter="url(#filter5_f_3_25)"><path d="M348.58 26.0173C349.202 15.392 363.221 7.56971 379.892 8.54583C396.563 9.52195 409.574 18.9268 408.952 29.5521C408.33 40.1775 394.311 47.9997 377.639 47.0236C360.968 46.0475 347.958 36.6426 348.58 26.0173Z" fill="#EEE6FF"></path></g><g filter="url(#filter6_f_3_25)"><path d="M350.839 33.0047C350.793 30.3802 363.938 28.0245 380.199 27.7432C396.459 27.4619 409.678 29.3614 409.723 31.986C409.769 34.6105 396.624 36.9662 380.363 37.2475C364.102 37.5288 350.884 35.6293 350.839 33.0047Z" fill="#8900FF"></path></g><g filter="url(#filter7_f_3_25)"><path d="M350.839 33.0047C350.793 30.3802 363.938 28.0245 380.199 27.7432C396.459 27.4619 409.678 29.3614 409.723 31.986C409.769 34.6105 396.624 36.9662 380.363 37.2475C364.102 37.5288 350.884 35.6293 350.839 33.0047Z" fill="#8900FF"></path></g><g filter="url(#filter8_f_3_25)"><path d="M281.167 55.0432C283.739 57.1638 297.179 45.113 311.186 28.1269C325.193 11.1408 334.464 -4.34828 331.892 -6.46889C329.321 -8.5895 315.881 3.46136 301.874 20.4475C287.866 37.4336 278.596 52.9226 281.167 55.0432Z" fill="#8900FF"></path></g><g filter="url(#filter9_f_3_25)"><path d="M346.601 35.117C349.232 37.1642 362.326 24.7387 375.848 7.36381C389.37 -10.011 398.2 -25.7557 395.569 -27.8028C392.939 -29.85 379.845 -17.4244 366.323 -0.0495851C352.8 17.3253 343.971 33.0699 346.601 35.117Z" fill="#8900FF"></path></g><g filter="url(#filter10_f_3_25)"><path d="M354.587 31.1204C358.151 33.8946 364.681 31.4665 369.171 25.6972C373.661 19.9279 374.411 13.0021 370.846 10.228C367.282 7.45385 360.753 9.88193 356.262 15.6512C351.772 21.4205 351.022 28.3463 354.587 31.1204Z" fill="#00C2FF"></path></g><g filter="url(#filter11_f_3_25)"><path d="M278.942 95.9583C281.573 98.0054 294.667 85.5799 308.189 68.2051C321.711 50.8302 330.541 35.0856 327.91 33.0384C325.28 30.9913 312.186 43.4168 298.664 60.7917C285.141 78.1665 276.312 93.9111 278.942 95.9583Z" fill="#8900FF"></path></g><g filter="url(#filter12_f_3_25)"><path d="M278.942 95.9583C281.573 98.0054 294.667 85.5799 308.189 68.2051C321.711 50.8302 330.541 35.0856 327.91 33.0384C325.28 30.9913 312.186 43.4168 298.664 60.7917C285.141 78.1665 276.312 93.9111 278.942 95.9583Z" fill="#8900FF"></path></g><g filter="url(#filter13_f_3_25)"><path d="M330.342 84.4194C332.973 86.4665 346.067 74.041 359.589 56.6661C373.111 39.2913 381.941 23.5466 379.311 21.4995C376.68 19.4523 363.586 31.8779 350.064 49.2527C336.542 66.6276 327.712 82.3722 330.342 84.4194Z" fill="#8900FF"></path></g><g filter="url(#filter14_f_3_25)"><path d="M345.748 72.9077C349.313 75.6818 357.963 70.5283 365.07 61.397C372.176 52.2657 375.048 42.6144 371.483 39.8403C367.919 37.0662 359.268 42.2197 352.162 51.351C345.055 60.4823 342.184 70.1335 345.748 72.9077Z" fill="#00C2FF"></path></g></g></g><defs><filter id="filter0_f_3_25" x="278.924" y="34.1176" width="82.2362" height="57.0471" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="10.4899" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter1_f_3_25" x="231.204" y="1.68307" width="123.726" height="70.4461" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="10.4899" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter2_f_3_25" x="238.014" y="14.7807" width="108.683" height="40.2653" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter3_f_3_25" x="244.307" y="39.4313" width="108.989" height="40.2653" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter4_f_3_25" x="246.406" y="41.0048" width="108.989" height="40.2653" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter5_f_3_25" x="327.579" y="-12.5161" width="102.374" height="80.6017" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="10.4899" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter6_f_3_25" x="338.251" y="15.1277" width="84.0606" height="34.7352" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter7_f_3_25" x="338.251" y="15.1277" width="84.0606" height="34.7352" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter8_f_3_25" x="268.151" y="-19.2987" width="76.7577" height="87.1718" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter9_f_3_25" x="333.55" y="-40.6113" width="75.0711" height="88.5369" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter10_f_3_25" x="339.748" y="-3.50744" width="45.9371" height="48.3633" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter11_f_3_25" x="265.891" y="20.2299" width="75.0711" height="88.5369" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter12_f_3_25" x="265.891" y="20.2299" width="75.0711" height="88.5369" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter13_f_3_25" x="317.291" y="8.69097" width="75.0711" height="88.5369" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><filter id="filter14_f_3_25" x="331.629" y="26.5018" width="53.9728" height="59.7445" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="6.29392" result="effect1_foregroundBlur_3_25"></feGaussianBlur></filter><clipPath id="clip0_3_25"><rect width="1053" height="86" fill="white"></rect></clipPath></defs>`,2)]]))}}),y={class:`p10 h-full flex flex-col items-center justify-center`},b={class:`flex gap-2 animate-pulse items-center justify-center`},x=n({__name:`VisualLoading`,props:{text:{}},setup(e){return(t,n)=>(o(),i(`div`,y,[u(t.$slots,`banner`),r(`div`,b,[n[0]||=r(`div`,{class:`i-svg-spinners-8-dots-rotate`},null,-1),r(`span`,null,a(e.text??`Loading...`),1)])]))}}),ee=Object.assign(n({__name:`Loading`,props:{text:{}},setup(t){return(n,r)=>(o(),e(x,{text:t.text},{banner:l(()=>[f(v)]),_:1},8,[`text`]))}}),{__name:`VisualLoading`});function te(e){return typeof e==`string`?`'${e}'`:new ne().serialize(e)}var ne=function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?e.localeCompare(t):n===`number`&&r===`number`?e-t:String.prototype.localeCompare.call(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}return this.serializeObjectEntries(r,Object.entries(e))}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t?.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e}(),re=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],ie=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],ae=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`,S=[],oe=class{_data=new se;_hash=new se([...re]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);let t=this._nDataBytes*8,n=this._data.sigBytes*8;return this._data.words[n>>>5]|=128<<24-n%32,this._data.words[(n+64>>>9<<4)+14]=Math.floor(t/4294967296),this._data.words[(n+64>>>9<<4)+15]=t,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,t){let n=this._hash.words,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7];for(let n=0;n<64;n++){if(n<16)S[n]=e[t+n]|0;else{let e=S[n-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,r=S[n-2],i=(r<<15|r>>>17)^(r<<13|r>>>19)^r>>>10;S[n]=t+S[n-7]+i+S[n-16]}let d=s&c^~s&l,f=r&i^r&a^i&a,p=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),m=(s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25),h=u+m+d+ie[n]+S[n],g=p+f;u=l,l=c,c=s,s=o+h|0,o=a,a=i,i=r,r=h+g|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+l|0,n[7]=n[7]+u|0}_append(e){typeof e==`string`&&(e=se.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let t,n=this._data.sigBytes/64;n=e?Math.ceil(n):Math.max((n|0)-this._minBufferSize,0);let r=n*16,i=Math.min(r*4,this._data.sigBytes);if(r){for(let e=0;e<r;e+=16)this._doProcessBlock(this._data.words,e);t=this._data.words.splice(0,r),this._data.sigBytes-=i}return new se(t,i)}},se=class e{words;sigBytes;constructor(e,t){e=this.words=e||[],this.sigBytes=t===void 0?e.length*4:t}static fromUtf8(t){let n=unescape(encodeURIComponent(t)),r=n.length,i=[];for(let e=0;e<r;e++)i[e>>>2]|=(n.charCodeAt(e)&255)<<24-e%4*8;return new e(i,r)}toBase64(){let e=[];for(let t=0;t<this.sigBytes;t+=3){let n=this.words[t>>>2]>>>24-t%4*8&255,r=this.words[t+1>>>2]>>>24-(t+1)%4*8&255,i=this.words[t+2>>>2]>>>24-(t+2)%4*8&255,a=n<<16|r<<8|i;for(let n=0;n<4&&t*8+n*6<this.sigBytes*8;n++)e.push(ae.charAt(a>>>6*(3-n)&63))}return e.join(``)}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let t=0;t<e.sigBytes;t++){let n=e.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=n<<24-(this.sigBytes+t)%4*8}else for(let t=0;t<e.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=e.words[t>>>2];this.sigBytes+=e.sigBytes}};function ce(e){return new oe().finalize(e).toBase64()}function le(e){return ce(te(e))}function ue(e){return le(e)}function C(e,t){let n=`\x1B[${e}m`,r=`\x1B[${t}m`;return((e,...t)=>{if(Array.isArray(e)&&`raw`in e){let i=e,a=``;for(let e=0;e<i.length;e++)a+=i[e],e<t.length&&(a+=String(t[e]));return`${n}${a}${r}`}return`${n}${String(e)}${r}`})}var de={blue:C(34,39),cyan:C(36,39),gray:C(90,39),green:C(32,39),red:C(31,39),yellow:C(33,39),bold:C(1,22),dim:C(2,22),reset:C(0,0),underline:C(4,24)};function fe(){let e={};function t(t,...n){let r=e[t]||[];for(let e=0,t=r.length;e<t;e++){let t=r[e];t&&t(...n)}}function n(n,...r){t(n,...r),delete e[n]}function r(t,n){return(e[t]||=[]).push(n),()=>{e[t]=e[t]?.filter(e=>n!==e)}}function i(e,t){let n=r(e,((...e)=>(n(),t(...e))));return n}return{_listeners:e,emit:t,emitOnce:n,on:r,once:i}}var pe=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function me(e=21){let t=``,n=e;for(;n--;)t+=pe[Math.random()*64|0];return t}var he=Symbol.for(`immer-nothing`),ge=Symbol.for(`immer-draftable`),w=Symbol.for(`immer-state`),_e=[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},`This object has been frozen and should not be mutated`,function(e){return`Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? `+e},`An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.`,`Immer forbids circular references`,"The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},`Object.defineProperty() cannot be used on an Immer draft`,`Object.setPrototypeOf() cannot be used on an Immer draft`,`Immer only supports deleting array indices`,`Immer only supports setting array indices and the 'length' property`,function(e){return`'original' expects a draft, got: ${e}`}];function T(e,...t){{let n=_e[e],r=P(n)?n.apply(null,t):n;throw Error(`[Immer] ${r}`)}}var E=Object,D=E.getPrototypeOf,ve=`constructor`,ye=`prototype`,be=`configurable`,xe=`enumerable`,Se=`writable`,Ce=`value`,O=e=>!!e&&!!e[w];function k(e){return e?Ee(e)||Ae(e)||!!e[ge]||!!e[ve]?.[ge]||je(e)||Me(e):!1}var we=E[ye][ve].toString(),Te=new WeakMap;function Ee(e){if(!e||!N(e))return!1;let t=D(e);if(t===null||t===E[ye])return!0;let n=E.hasOwnProperty.call(t,ve)&&t[ve];if(n===Object)return!0;if(!P(n))return!1;let r=Te.get(n);return r===void 0&&(r=Function.toString.call(n),Te.set(n,r)),r===we}function De(e,t,n=!0){A(e)===0?(n?Reflect.ownKeys(e):E.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function A(e){let t=e[w];return t?t.type_:Ae(e)?1:je(e)?2:Me(e)?3:0}var j=(e,t,n=A(e))=>n===2?e.has(t):E[ye].hasOwnProperty.call(e,t),M=(e,t,n=A(e))=>n===2?e.get(t):e[t],Oe=(e,t,n,r=A(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function ke(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var Ae=Array.isArray,je=e=>e instanceof Map,Me=e=>e instanceof Set,N=e=>typeof e==`object`,P=e=>typeof e==`function`,Ne=e=>typeof e==`boolean`;function Pe(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Fe=e=>N(e)?e?.[w]:null,F=e=>e.copy_||e.base_,Ie=e=>e.modified_?e.copy_:e.base_;function Le(e,t){if(je(e))return new Map(e);if(Me(e))return new Set(e);if(Ae(e))return Array[ye].slice.call(e);let n=Ee(e);if(t===!0||t===`class_only`&&!n){let t=E.getOwnPropertyDescriptors(e);delete t[w];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[Se]===!1&&(a[Se]=!0,a[be]=!0),(a.get||a.set)&&(t[i]={[be]:!0,[Se]:!0,[xe]:a[xe],[Ce]:e[i]})}return E.create(D(e),t)}else{let t=D(e);if(t!==null&&n)return{...e};let r=E.create(t);return E.assign(r,e)}}function Re(e,t=!1){return Ve(e)||O(e)||!k(e)?e:(A(e)>1&&E.defineProperties(e,{set:Be,add:Be,clear:Be,delete:Be}),E.freeze(e),t&&De(e,(e,t)=>{Re(t,!0)},!1),e)}function ze(){T(2)}var Be={[Ce]:ze};function Ve(e){return e===null||!N(e)||E.isFrozen(e)}var He=`MapSet`,Ue=`Patches`,We=`ArrayMethods`,Ge={};function I(e){let t=Ge[e];return t||T(0,e),t}var Ke=e=>!!Ge[e];function qe(e,t){Ge[e]||(Ge[e]=t)}var Je,Ye=()=>Je,Xe=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Ke(He)?I(He):void 0,arrayMethodsPlugin_:Ke(We)?I(We):void 0});function Ze(e,t){t&&(e.patchPlugin_=I(Ue),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Qe(e){$e(e),e.drafts_.forEach(tt),e.drafts_=null}function $e(e){e===Je&&(Je=e.parent_)}var et=e=>Je=Xe(Je,e);function tt(e){let t=e[w];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function nt(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[w].modified_&&(Qe(t),T(4)),k(e)&&(e=rt(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[w].base_,e,t)}else e=rt(t,n);return it(t,e,!0),Qe(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===he?void 0:e}function rt(e,t){if(Ve(t))return t;let n=t[w];if(!n)return ft(t,e.handledSet_,e);if(!ot(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);ut(n,e)}return n.copy_}function it(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Re(t,n)}function at(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var ot=(e,t)=>e.scope_===t,st=[];function ct(e,t,n,r){let i=F(e),a=e.type_;if(r!==void 0&&M(i,r,a)===t){Oe(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;De(i,(e,n)=>{if(O(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??st;for(let e of o)Oe(i,e,n,a)}function lt(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!ot(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=Ie(i);ct(e,i.draft_??i,a,n),ut(i,r)})}function ut(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}at(e)}}function dt(e,t,n){let{scope_:r}=e;if(O(n)){let i=n[w];ot(i,r)&&i.callbacks_.push(function(){xt(e),ct(e,n,Ie(i),t)})}else k(n)&&e.callbacks_.push(function(){let i=F(e);e.type_===3?i.has(n)&&ft(n,r.handledSet_,r):M(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&ft(M(e.copy_,t,e.type_),r.handledSet_,r)})}function ft(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||O(e)||t.has(e)||!k(e)||Ve(e)?e:(t.add(e),De(e,(r,i)=>{if(O(i)){let t=i[w];ot(t,n)&&(Oe(e,r,Ie(t),e.type_),at(t))}else k(i)&&ft(i,t,n)}),e)}function pt(e,t){let n=Ae(e),r={type_:+!!n,scope_:t?t.scope_:Ye(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=mt;n&&(i=[r],a=ht);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var mt={get(e,t){if(t===w)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=F(e);if(!j(i,t,e.type_))return vt(e,i,t);let a=i[t];if(e.finalized_||!k(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&Pe(t))return a;if(a===gt(e.base_,t)||_t(e,t,a)){xt(e);let n=e.type_===1?+t:t,r=Ct(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in F(e)},ownKeys(e){return Reflect.ownKeys(F(e))},set(e,t,n){let r=yt(F(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=gt(F(e),t),i=r?.[w];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(ke(n,r)&&(n!==void 0||j(e.base_,t,e.type_)))return!0;xt(e),bt(e)}return e.copy_[t]===n&&(n!==void 0||j(e.copy_,t,e.type_))||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),dt(e,t,n),!0)},deleteProperty(e,t){return xt(e),gt(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),bt(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=F(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[Se]:!0,[be]:e.type_!==1||t!==`length`,[xe]:r[xe],[Ce]:n[t]}},defineProperty(){T(11)},getPrototypeOf(e){return D(e.base_)},setPrototypeOf(){T(12)}},ht={};for(let e in mt){let t=mt[e];ht[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}ht.deleteProperty=function(e,t){return isNaN(parseInt(t))&&T(13),ht.set.call(this,e,t,void 0)},ht.set=function(e,t,n){return t!==`length`&&isNaN(parseInt(t))&&T(14),mt.set.call(this,e[0],t,n,e[0])};function gt(e,t){let n=e[w];return(n?F(n):e)[t]}function _t(e,t,n){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!k(n)||n[w]?!1:e.baseRefs_.has(n)}function vt(e,t,n){let r=yt(t,n);return r?Ce in r?r[Ce]:r.get?.call(e.draft_):void 0}function yt(e,t){if(!(t in e))return;let n=D(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=D(n)}}function bt(e){e.modified_||(e.modified_=!0,e.parent_&&bt(e.parent_))}function xt(e){e.copy_||=(e.assigned_=new Map,Le(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var St=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(P(e)&&!P(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}P(t)||T(6),n!==void 0&&!P(n)&&T(7);let r;if(k(e)){let i=et(this),a=Ct(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?Qe(i):$e(i)}return Ze(i,n),nt(r,i)}else if(!e||!N(e)){if(r=t(e),r===void 0&&(r=e),r===he&&(r=void 0),this.autoFreeze_&&Re(r,!0),n){let t=[],i=[];I(Ue).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}else T(1,e)},this.produceWithPatches=(e,t)=>{if(P(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},Ne(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Ne(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Ne(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){k(e)||T(8),O(e)&&(e=wt(e));let t=et(this),n=Ct(t,e,void 0);return n[w].isManual_=!0,$e(t),n}finishDraft(e,t){let n=e&&e[w];(!n||!n.isManual_)&&T(9);let{scope_:r}=n;return Ze(r,t),nt(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=I(Ue).applyPatches_;return O(e)?r(e,t):this.produce(e,e=>r(e,t))}};function Ct(e,t,n,r){let[i,a]=je(t)?I(He).proxyMap_(t,n):Me(t)?I(He).proxySet_(t,n):pt(t,n);return(n?.scope_??Ye()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?lt(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function wt(e){return O(e)||T(10,e),Tt(e)}function Tt(e){if(!k(e)||Ve(e))return e;let t=e[w],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Le(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Le(e,!0);return De(n,(e,t)=>{Oe(n,e,Tt(t))},r),t&&(t.finalized_=!1),n}function Et(){_e.push(`Sets cannot have "replace" patches.`,function(e){return`Unsupported patch operation: `+e},function(e){return`Cannot apply patch, path doesn't resolve: `+e},`Patching reserved attributes like __proto__, prototype and constructor is not allowed`);function e(n,r=[]){if(n.key_!==void 0){let e=n.parent_.copy_??n.parent_.base_,t=Fe(M(e,n.key_)),i=M(e,n.key_);if(i===void 0||i!==n.draft_&&i!==n.base_&&i!==n.copy_||t!=null&&t.base_!==n.base_)return null;let a=n.parent_.type_===3,o;if(a){let e=n.parent_;o=Array.from(e.drafts_.keys()).indexOf(n.key_)}else o=n.key_;if(!(a&&e.size>o||j(e,o)))return null;r.push(o)}if(n.parent_)return e(n.parent_,r);r.reverse();try{t(n.copy_,r)}catch{return null}return r}function t(e,t){let n=e;for(let e=0;e<t.length-1;e++){let r=t[e];if(n=M(n,r),!N(n)||n===null)throw Error(`Cannot resolve path at '${t.join(`/`)}'`)}return n}let n=`replace`,r=`remove`;function i(e,t,n){if(e.scope_.processedForPatches_.has(e))return;e.scope_.processedForPatches_.add(e);let{patches_:r,inversePatches_:i}=n;switch(e.type_){case 0:case 2:return o(e,t,r,i);case 1:return a(e,t,r,i);case 3:return s(e,t,r,i)}}function a(e,t,i,a){let{base_:o,assigned_:s}=e,c=e.copy_;c.length<o.length&&([o,c]=[c,o],[i,a]=[a,i]);let l=e.allIndicesReassigned_===!0;for(let e=0;e<o.length;e++){let r=c[e],u=o[e];if((l||s?.get(e.toString()))&&r!==u){let o=r?.[w];if(o&&o.modified_)continue;let s=t.concat([e]);i.push({op:n,path:s,value:d(r)}),a.push({op:n,path:s,value:d(u)})}}for(let e=o.length;e<c.length;e++){let n=t.concat([e]);i.push({op:`add`,path:n,value:d(c[e])})}for(let e=c.length-1;o.length<=e;--e){let n=t.concat([e]);a.push({op:r,path:n})}}function o(e,t,i,a){let{base_:o,copy_:s,type_:c}=e;De(e.assigned_,(e,l)=>{let u=M(o,e,c),f=M(s,e,c),p=l?j(o,e)?n:`add`:r;if(u===f&&p===n)return;let m=t.concat(e);i.push(p===r?{op:p,path:m}:{op:p,path:m,value:d(f)}),a.push(p===`add`?{op:r,path:m}:p===r?{op:`add`,path:m,value:d(u)}:{op:n,path:m,value:d(u)})})}function s(e,t,n,i){let{base_:a,copy_:o}=e,s=0;a.forEach(e=>{if(!o.has(e)){let a=t.concat([s]);n.push({op:r,path:a,value:e}),i.unshift({op:`add`,path:a,value:e})}s++}),s=0,o.forEach(e=>{if(!a.has(e)){let a=t.concat([s]);n.push({op:`add`,path:a,value:e}),i.unshift({op:r,path:a,value:e})}s++})}function c(e,t,r){let{patches_:i,inversePatches_:a}=r;i.push({op:n,path:[],value:t===he?void 0:t}),a.push({op:n,path:[],value:e})}function l(e,t){return t.forEach(t=>{let{path:i,op:a}=t,o=e;for(let e=0;e<i.length-1;e++){let t=A(o),n=i[e];typeof n!=`string`&&typeof n!=`number`&&(n=``+n),(t===0||t===1)&&(n===`__proto__`||n===ve)&&T(19),P(o)&&n===ye&&T(19),o=M(o,n),(o===null||!N(o))&&T(18,i.join(`/`))}let s=A(o),c=u(t.value),l=i[i.length-1];switch(a){case n:switch(s){case 2:return o.set(l,c);case 3:T(16);default:return o[l]=c}case`add`:switch(s){case 1:return l===`-`?o.push(c):o.splice(l,0,c);case 2:return o.set(l,c);case 3:return o.add(c);default:return o[l]=c}case r:switch(s){case 1:return o.splice(l,1);case 2:return o.delete(l);case 3:return o.delete(t.value);default:return delete o[l]}default:T(17,a)}}),e}function u(e){if(!k(e))return e;if(Ae(e))return e.map(u);if(je(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,u(t)]));if(Me(e))return new Set(Array.from(e).map(u));let t=Object.create(D(e));for(let n in e)t[n]=u(e[n]);return j(e,ge)&&(t[ge]=e[ge]),t}function d(e){return O(e)?u(e):e}qe(Ue,{applyPatches_:l,generatePatches_:i,generateReplacementPatches_:c,getPath:e})}var Dt=new St,Ot=Dt.produce,kt=Dt.produceWithPatches.bind(Dt),At=Dt.applyPatches.bind(Dt),jt=1e3;function Mt(e,t){if(e.add(t),e.size>jt){let t=e.values().next().value;t!==void 0&&e.delete(t)}}function Nt(e){let{enablePatches:t=!1}=e;t&&Et();let n=fe(),r=e.initialValue,i=new Set;return{on:n.on,value:()=>r,patch:(e,t=me())=>{i.has(t)||(Et(),r=At(r,e),Mt(i,t),n.emit(`updated`,r,void 0,t))},mutate:(e,a=me())=>{if(!i.has(a))if(Mt(i,a),t){let[t,i]=kt(r,e);r=t,n.emit(`updated`,r,i,a)}else r=Ot(r,e),n.emit(`updated`,r,void 0,a)},syncIds:i}}var Pt=typeof self==`object`?self:globalThis;function Ft(e,t){let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new Pt[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new Pt[a](o),i)};return r}function It(e){return Ft(new Map,e)(0)}var L=``,{toString:Lt}={},{keys:Rt}=Object;function zt(e){let t=typeof e;if(t!==`object`||!e)return[0,t];let n=Lt.call(e).slice(8,-1);switch(n){case`Array`:return[1,L];case`Object`:return[2,L];case`Date`:return[3,L];case`RegExp`:return[4,L];case`Map`:return[5,L];case`Set`:return[6,L];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]}function Bt([e,t]){return e===0&&(t===`function`||t===`symbol`)}function Vt(e,t,n,r){let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=zt(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize ${s}`);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return s===`DataView`?e=new Uint8Array(r.buffer):s===`ArrayBuffer`&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of Rt(r))(e||!Bt(zt(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(Bt(zt(n))||Bt(zt(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!Bt(zt(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a}function Ht(e,t={}){let n=[];return Vt(!(t.json||t.lossy),!!t.json,new Map,n)(e),n}var{parse:Ut,stringify:Wt}=JSON,Gt={json:!0,lossy:!0};function Kt(e){return It(Ut(e))}function qt(e){return Wt(Ht(e,Gt))}function Jt(e){return It(e)}function Yt(e){return qt(e)}function Xt(e){return Kt(e)}var Zt=256,Qt=class extends Error{name=`StreamClosedError`};function $t(e={}){let t=e.id??me(),n=Math.max(0,e.replayWindow??0),r=fe(),i=new AbortController,a=[],o=!1,s=0;function c(e){if(o)throw new Qt(`Cannot write to a closed stream "${t}"`);s+=1,n>0&&(a.push({seq:s,chunk:e}),a.length>n&&a.splice(0,a.length-n)),r.emit(`chunk`,s,e)}function l(e){if(o)return;o=!0;let t=tn(e);i.abort(e),r.emit(`end`,t)}function u(){o||(o=!0,i.signal.aborted||i.abort(`stream closed`),r.emit(`end`,void 0))}function d(e){o||i.signal.aborted||i.abort(e??`aborted`)}let f=new WritableStream({write(e){c(e)},close(){u()},abort(e){l(e)}});return{id:t,signal:i.signal,get closed(){return o},get lastSeq(){return s},write:c,error:l,close:u,abort:d,writable:f,events:r,buffer:a}}function en(e={}){let t=e.id??me(),n=Math.max(1,e.highWaterMark??Zt),r=[],i=0,a=!1,o=!1,s,c,l,u;function d(){if(c){if(r.length>0){let e=r.shift(),t=c;c=void 0,t.resolve({value:e,done:!1});return}if(a){let e=c;if(c=void 0,s){let t=Error(s.message);t.name=s.name,e.reject(t)}else e.resolve({value:void 0,done:!0})}}}function f(){if(l){for(;r.length>0;){let e=r.shift();try{l.enqueue(e)}catch{break}}if(a&&l){try{if(s){let e=Error(s.message);e.name=s.name,l.error(e)}else l.close()}catch{}l=void 0}}}function p(t,s){if(!(a||o)&&!(t<=i)){if(i=t,r.push(s),r.length>n){let t=r.length-n;r.splice(0,t),e.onOverflow?.(t)}d(),u&&f()}}function m(e){a||(a=!0,s=e,d(),u&&f())}function h(){o||a||(o=!0,e.onCancel?.(),m(void 0))}function g(){return u||(u=new ReadableStream({start(e){l=e,f()},cancel(){h()}}),u)}return{id:t,get cancelled(){return o},get done(){return a},get lastSeenSeq(){return i},get readable(){return g()},cancel:h,_push:p,_end:m,[Symbol.asyncIterator](){return{next(){if(r.length>0)return Promise.resolve({value:r.shift(),done:!1});if(a){if(s){let e=Error(s.message);return e.name=s.name,Promise.reject(e)}return Promise.resolve({value:void 0,done:!0})}return new Promise((e,t)=>{c={resolve:e,reject:t}})},return(){return h(),Promise.resolve({value:void 0,done:!0})}}}}}function tn(e){if(e instanceof Error)return{name:e.name||`Error`,message:e.message};if(typeof e==`string`)return{name:`Error`,message:e};try{return{name:`Error`,message:JSON.stringify(e)}}catch{return{name:`Error`,message:String(e)}}}function nn(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function rn(e){return e.includes(`:`)}function R(e,t){return rn(t)?t:`${e}:${t}`}function an(e,...t){return typeof e==`function`?e(...t):e}var on=Error.captureStackTrace,sn=class e extends Error{name;code;docs;fix;sources;get why(){return this.message}constructor(t,n=e){super(t.why,{cause:t.cause}),this.code=this.name=t.code,this.fix=t.fix,this.docs=t.docs,this.sources=t.sources,on?.(this,n)}toJSON(){return{name:this.name,why:this.why,fix:this.fix,docs:this.docs,sources:this.sources,cause:this.cause,stack:this.stack}}};function cn(e,t){return typeof e==`string`?`${e}/${t.toLowerCase()}`:e?.(t)}function ln(e){let t=e.reporters??[],n={},{docsBase:r}=e;for(let i of Object.keys(e.codes)){let a=e.codes[i],o=a.docs===!1?void 0:a.docs||cn(r,i),s=(e={},n={})=>{let r=new sn({code:i,why:an(a.why,e),fix:an(a.fix,e),docs:o,cause:e.cause,sources:e.sources},s);for(let e of t)e(r,n);return r};n[i]=s}return n}function un(e){return t=>{let n=`${e.bold(e.red(`[${t.name}]`))} ${t.message}`,r=[];return t.fix&&r.push(`${e.dim(`fix:`)} ${t.fix}`),t.sources?.length&&r.push(`${e.dim(`sources:`)} ${t.sources.join(`, `)}`),t.docs&&r.push(`${e.dim(`see:`)} ${e.cyan(t.docs)}`),r.length===0?n:[n,...r.map((t,n)=>`${e.dim(n<r.length-1?`├▶`:`╰▶`)} ${t}`)].join(`
2
+ `)}}var dn=`q`,fn=`s`;function pn(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var mn=Math.random.bind(Math),hn=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function gn(e=21){let t=``,n=e;for(;n--;)t+=hn[mn()*64|0];return t}var _n=6e4,vn=e=>e,yn=vn,{clearTimeout:bn,setTimeout:xn}=globalThis;function Sn(e,t){let{post:n,on:r,off:i=()=>{},eventNames:a=[],serialize:o=vn,deserialize:s=yn,resolver:c,bind:l=`rpc`,timeout:u=_n,proxify:d=!0}=t,f=!1,p=new Map,m,h;async function g(e,r,i,a){if(f)throw Error(`[birpc] rpc is closed, cannot call "${e}"`);let s={m:e,a:r,t:dn};a&&(s.o=!0);let c=async e=>n(o(e));if(i){await c(s);return}if(m)try{await m}finally{m=void 0}let{promise:l,resolve:d,reject:g}=pn(),_=gn();s.i=_;let v;async function y(n=s){return u>=0&&(v=xn(()=>{try{if(t.onTimeoutError?.call(h,e,r)!==!0)throw Error(`[birpc] timeout on calling "${e}"`)}catch(e){g(e)}p.delete(_)},u),typeof v==`object`&&(v=v.unref?.())),p.set(_,{resolve:d,reject:g,timeoutId:v,method:e}),await c(n),l}try{t.onRequest?await t.onRequest.call(h,s,y,d):await y()}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}finally{bn(v),p.delete(_)}return l}let _={$call:(e,...t)=>g(e,t,!1),$callOptional:(e,...t)=>g(e,t,!1,!0),$callEvent:(e,...t)=>g(e,t,!0),$callRaw:e=>g(e.method,e.args,e.event,e.optional),$rejectPendingCalls:y,get $closed(){return f},get $meta(){return t.meta},$close:v,$functions:e};h=d?new Proxy({},{get(t,n){if(Object.prototype.hasOwnProperty.call(_,n))return _[n];if(n===`then`&&!a.includes(`then`)&&!(`then`in e))return;let r=(...e)=>g(n,e,!0);if(a.includes(n))return r.asEvent=r,r;let i=(...e)=>g(n,e,!1);return i.asEvent=r,i}}):_;function v(e){f=!0,p.forEach(({reject:t,method:n})=>{let r=Error(`[birpc] rpc is closed, cannot call "${n}"`);if(e)return e.cause??=r,t(e);t(r)}),p.clear(),i(b)}function y(e){let t=Array.from(p.values()).map(({method:t,reject:n})=>e?e({method:t,reject:n}):n(Error(`[birpc]: rejected pending call "${t}".`)));return p.clear(),t}async function b(r,...i){let a;try{a=s(r)}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}if(a.t===dn){let{m:r,a:s,o:u}=a,d,f,p=await(c?c.call(h,r,e[r]):e[r]);if(u&&(p||=()=>void 0),!p)f=Error(`[birpc] function "${r}" not found`);else try{d=await p.apply(l===`rpc`?h:e,s)}catch(e){f=e}if(a.i){if(f&&t.onFunctionError&&t.onFunctionError.call(h,f,r,s)===!0)return;if(!f)try{await n(o({t:fn,i:a.i,r:d}),...i);return}catch(e){if(f=e,t.onGeneralError?.call(h,e,r,s)!==!0)throw e}try{await n(o({t:fn,i:a.i,e:f}),...i)}catch(e){if(t.onGeneralError?.call(h,e,r,s)!==!0)throw e}}}else{let{i:e,r:t,e:n}=a,r=p.get(e);r&&(bn(r.timeoutId),n?r.reject(n):r.resolve(t)),p.delete(e)}}return m=r(b),h}var Cn=`__connection.json`,wn=`__rpc-dump/index.json`,Tn=`devframe_otp`,En=`devframe_auth_token`,Dn=un(de);function On(e,{method:t=`warn`}={}){console[t](Dn(e))}var z=ln({docsBase:`https://devfra.me/errors`,reporters:[On],codes:{DF0019:{why:e=>`RPC function "${e.name}" has \`agent\` set but \`jsonSerializable\` is not \`true\` — MCP requires JSON-serializable data.`,fix:"Set `jsonSerializable: true` if the payload is JSON-safe, or remove `agent` to keep it RPC-only."},DF0020:{why:e=>`RPC function "${e.name}" declares \`jsonSerializable: true\` but the value at "${e.path}" is a ${e.type}.`,fix:"Either drop `jsonSerializable: true` (falls back to structured-clone) or change the value to a JSON-safe shape."},DF0021:{why:e=>`RPC function "${e.name}" is already registered`,fix:"Use the `force` parameter to overwrite an existing registration."},DF0022:{why:e=>`RPC function "${e.name}" is not registered. Use register() to add new functions.`},DF0023:{why:e=>`RPC function "${e.name}" is not registered`},DF0024:{why:e=>`Either handler or setup function must be provided for RPC function "${e.name}"`},DF0025:{why:e=>`Function "${e.name}" not found in dump store`},DF0026:{why:e=>`No dump match for "${e.name}" with args: ${e.args}`},DF0027:{why:e=>`Function "${e.name}" with type "${e.type}" cannot have dump configuration. Only "static" and "query" types support dumps.`},DF0028:{why:e=>`Function "${e.name}" with type "${e.type}" cannot use \`snapshot: true\`. Only "query" functions support this sugar; "static" functions have equivalent default behavior already.`,fix:"Remove `snapshot: true`, or change the function type to `query`."}}});function kn(e){let t=e.cause instanceof Error?e.cause:An(e.cause)?kn(e.cause):e.cause,n=t===void 0?Error(e.message):Error(e.message,{cause:t});n.name=e.name;for(let t of Object.keys(e))t!==`name`&&t!==`message`&&t!==`cause`&&(n[t]=e[t]);return n}function An(e){return typeof e==`object`&&!!e&&typeof e.message==`string`&&typeof e.name==`string`}async function jn(e,t){if(!e.setup)return{};if(typeof t==`object`&&t){e.__cache??=new WeakMap;let n=e.__cache,r=n.get(t);return r||(r=Promise.resolve(e.setup(t)),r.catch(()=>{n.get(t)===r&&n.delete(t)}),n.set(t,r)),await r}if(!e.__promise){let n=Promise.resolve(e.setup(t));n.catch(()=>{e.__promise===n&&(e.__promise=void 0)}),e.__promise=n}return await e.__promise}async function Mn(e,t){if(e.handler)return e.handler;let n=await jn(e,t);if(!n.handler)throw z.DF0024({name:e.name});return n.handler}var Nn=class{cacheMap=new Map;options;keySerializer;constructor(e){this.options=e,this.keySerializer=e.keySerializer||(e=>ue(e))}updateOptions(e){this.options={...this.options,...e}}cached(e,t){let n=this.cacheMap.get(e);if(n)return n.get(this.keySerializer(t))}has(e,t){return this.cacheMap.get(e)?.has(this.keySerializer(t))??!1}apply(e,t){let n=this.cacheMap.get(e.m)||new Map;n.set(this.keySerializer(e.a),t),this.cacheMap.set(e.m,n)}validate(e){return this.options.functions.includes(e)}clear(e){e?this.cacheMap.delete(e):this.cacheMap.clear()}},Pn=class{context;definitions=new Map;functions;_onChanged=[];constructor(e){this.context=e;let t=this.definitions,n=this;this.functions=new Proxy({},{get(e,r){let i=t.get(r);if(i)return Mn(i,n.context)},has(e,n){return t.has(n)},getOwnPropertyDescriptor(e,n){return{value:t.get(n)?.handler,configurable:!0,enumerable:!0}},ownKeys(){return Array.from(t.keys())}})}register(e,t=!1){if(this.definitions.has(e.name)&&!t)throw z.DF0021({name:e.name});Fn(e),this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}update(e,t=!1){if(!this.definitions.has(e.name)&&!t)throw z.DF0022({name:e.name});Fn(e),this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}onChanged(e){return this._onChanged.push(e),()=>{let t=this._onChanged.indexOf(e);t!==-1&&this._onChanged.splice(t,1)}}async getHandler(e){return await Mn(this.definitions.get(e),this.context)}getSchema(e){let t=this.definitions.get(e);if(!t)throw z.DF0023({name:String(e)});return{args:t.args,returns:t.returns}}has(e){return this.definitions.has(e)}get(e){return this.definitions.get(e)}list(){return Array.from(this.definitions.keys())}};function Fn(e){if(e.agent&&e.jsonSerializable!==!0)throw z.DF0019({name:e.name})}function In(e,t=``){return JSON.stringify(e,function(e,n){let r=this,i=r==null?n:r[e];if(i===void 0){if(Array.isArray(r))throw B(t,`undefined`,r,e);return n}if(i===null)return n;if(typeof i==`bigint`)throw B(t,`BigInt`,r,e);if(typeof i==`object`){if(i instanceof Map)throw B(t,`Map`,r,e);if(i instanceof Set)throw B(t,`Set`,r,e);if(i instanceof Date)throw B(t,`Date`,r,e);if(Array.isArray(i))return n;let a=Object.getPrototypeOf(i);if(a!==null&&a!==Object.prototype)throw B(t,i.constructor?.name??`class instance`,r,e)}return n})}function B(e,t,n,r){let i=Ln(n,r);return z.DF0020({name:e||`<anonymous>`,type:t,path:i})}function Ln(e,t){return Array.isArray(e)?`[${t}]`:t===``?`<root>`:t}function Rn(e=Tn){try{return new URLSearchParams(globalThis.location?.search).get(e)||void 0}catch{return}}function zn(e){try{let t=new URL(globalThis.location.href);if(!t.searchParams.has(e))return;t.searchParams.delete(e),globalThis.history?.replaceState(globalThis.history.state,``,t.href)}catch{}}function Bn(e=Tn){let t=Rn(e);return t&&zn(e),t}async function Vn(e,t={}){let n=Bn(t.param??`devframe_otp`);return n?e.isTrusted?!0:e.requestTrustWithCode(n):!1}function Hn(e){let t=new Map,n=new Map,r=new Map,i=new Set,a=e.connectionMeta.backend===`static`;function o(e,t){let n=r.get(e);return n&&typeof n==`object`&&!Array.isArray(n)&&typeof t==`object`&&!Array.isArray(t)?{...n,...t}:t}e.client.register({name:`devframe:rpc:client-state:updated`,type:`event`,handler:(e,n,r)=>{let i=t.get(e);!i||i.syncIds.has(r)||i.mutate(()=>o(e,n),r)}}),e.client.register({name:`devframe:rpc:client-state:patch`,type:`event`,handler:(e,n,r)=>{let i=t.get(e);!i||i.syncIds.has(r)||i.patch(n,r)}});function s(t,n){let r=[];return r.push(n.on(`updated`,(n,r,i)=>{a||(r?e.callEvent(`devframe:rpc:server-state:patch`,t,r,i):e.callEvent(`devframe:rpc:server-state:set`,t,n,i))})),()=>{for(let e of r)e()}}return{keys:()=>Array.from(t.keys()),onKeyAdded(e){return i.add(e),()=>{i.delete(e)}},delete(e){let i=n.get(e);n.delete(e);let a=t.delete(e);return r.delete(e),i?.(),a},get:async(c,l)=>{if(l?.initialValue!==void 0&&r.set(c,l.initialValue),t.has(c))return t.get(c);let u=Nt({initialValue:l?.initialValue,enablePatches:!1});async function d(){if(a||e.callEvent(`devframe:rpc:server-state:subscribe`,c),l?.initialValue!==void 0){t.set(c,u);for(let e of i)e(c);return e.call(`devframe:rpc:server-state:get`,c).then(e=>{e!==void 0&&u.mutate(()=>o(c,e))}).catch(e=>{console.error(`Error getting server state`,e)}),n.set(c,s(c,u)),u}else{let r=await e.call(`devframe:rpc:server-state:get`,c);u.mutate(()=>o(c,r)),t.set(c,u);for(let e of i)e(c);return n.set(c,s(c,u)),u}}return new Promise(t=>{if(e.isTrusted)d().then(t);else{t(u);let n=!1;e.events.on(`rpc:is-trusted:updated`,e=>{e&&!n&&(n=!0,d())})}})}}}function Un(e){return typeof e==`object`&&!!e&&e.type===`static`&&typeof e.path==`string`}function Wn(e){return typeof e==`object`&&!!e&&e.type===`query`&&typeof e.records==`object`&&e.records!==null}function Gn(e){return typeof e==`object`&&!!e&&(`output`in e||`error`in e)}function Kn(e){if(e.error)throw kn(e.error);return e.output}function qn(e){return e.some(e=>e!=null)}function Jn(e){return typeof e==`object`&&e&&`serialization`in e&&`data`in e?e.data:e}function Yn(e,t){let n=new Map,r=new Map;function i(e,t){return t===`structured-clone`&&Array.isArray(e)?Jt(e):e}function a(e,t){return i(Jn(e),t)}async function o(e){n.has(e.path)||n.set(e.path,t(e.path).then(t=>a(t,e.serialization)));let r=await n.get(e.path);return Gn(r)?Kn(r):r}async function s(e,n){return r.has(e)||r.set(e,t(e).then(e=>a(e,n))),await r.get(e)}async function c(t,n){if(!(t in e))throw Error(`[devframe-rpc] Function "${t}" not found in dump store`);let r=e[t];if(Un(r)){if(qn(n))throw Error(`[devframe-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`);return await o(r)}if(Wn(r)){let e=ue(n),i=r.records[e];if(i)return Kn(await s(i,r.serialization));if(r.fallback)return Kn(await s(r.fallback,r.serialization));throw Error(`[devframe-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}if(!qn(n))return r;throw Error(`[devframe-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}return{call:async(e,t)=>await c(e,t),callOptional:async(t,n)=>{if(t in e)return await c(t,n)},callEvent:async(e,t)=>{}}}async function Xn(e){let t=Yn(await e.fetchJsonFromBases(wn),e.fetchJsonFromBases);return{isTrusted:!0,status:`connected`,connectionError:null,requestTrust:async()=>!0,requestTrustWithToken:async()=>!0,requestTrustWithCode:async()=>null,ensureTrusted:async()=>!0,call:(...e)=>t.call(e[0],e.slice(1)),callEvent:(...e)=>t.callEvent(e[0],e.slice(1)),callOptional:(...e)=>t.callOptional(e[0],e.slice(1))}}var Zn=``;function Qn(e,t){return`${e}${Zn}${t}`}function $n(e){let t=new Map,n=new Map;e.client.register({name:`devframe:streaming:chunk`,type:`event`,handler(e,n,r,i){t.get(Qn(e,n))?._push(r,i)}}),e.client.register({name:`devframe:streaming:end`,type:`event`,handler(e,n,r){let i=Qn(e,n),a=t.get(i);a&&(a._end(r),t.delete(i))}}),e.client.register({name:`devframe:streaming:upload-cancel`,type:`event`,handler(e,t){let r=Qn(e,t),i=n.get(r);i&&(i.abort(`server cancelled upload`),n.delete(r))}}),e.events.on(`rpc:is-trusted:updated`,n=>{if(n)for(let[n,r]of t){if(r.cancelled||r.done)continue;let t=n.indexOf(Zn);if(t<0)continue;let i=n.slice(0,t),a=n.slice(t+1);e.callEvent(`devframe:streaming:subscribe`,i,a,{afterSeq:r.lastSeenSeq})}});function r(n,r,i={}){let a=Qn(n,r),o=t.get(a);if(o)return o;let s=en({id:r,highWaterMark:i.highWaterMark,onOverflow(e){console.warn(`[devframe] DF0029: Stream "${n}#${r}" dropped ${e} chunk(s) after exceeding the client high-water mark.`)},onCancel(){e.callEvent(`devframe:streaming:cancel`,n,r),t.delete(a)}});if(t.set(a,s),e.isTrusted)e.callEvent(`devframe:streaming:subscribe`,n,r,{afterSeq:0});else{let i=e.events.on(`rpc:is-trusted:updated`,o=>{o&&(i(),t.has(a)&&!s.cancelled&&!s.done&&e.callEvent(`devframe:streaming:subscribe`,n,r,{afterSeq:s.lastSeenSeq}))})}return s}function i(t,r){let i=Qn(t,r),a=n.get(i);if(a)return a;let o=$t({id:r});return o.events.on(`chunk`,(n,i)=>{e.callEvent(`devframe:streaming:upload-chunk`,t,r,n,i)}),o.events.on(`end`,a=>{e.callEvent(`devframe:streaming:upload-end`,t,r,a),n.delete(i)}),n.set(i,o),o}return{subscribe:r,upload:i}}function er(e,t){let{channel:n,rpcOptions:r={}}=t;return Sn(e,{...n,timeout:-1,...r,proxify:!1})}function tr(){}var nr=new Map;function rr(e){let t=e.url;e.authToken&&(t=`${t}?${En}=${encodeURIComponent(e.authToken)}`);let n=new WebSocket(t),{onConnected:r=tr,onError:i=tr,onDisconnected:a=tr,definitions:o=nr}=e;n.addEventListener(`open`,e=>{r(e)}),n.addEventListener(`error`,e=>{let t=e instanceof Error?e:Error(e.type);i(t)}),n.addEventListener(`close`,e=>{a(e)});let s=new Map;return{on:e=>{n.addEventListener(`message`,t=>{e(t.data)})},post:e=>{if(n.readyState===WebSocket.OPEN){n.send(e);return}if(n.readyState===WebSocket.CONNECTING){let t=()=>{i(),n.readyState===WebSocket.OPEN&&n.send(e)},r=()=>i();function i(){n.removeEventListener(`open`,t),n.removeEventListener(`close`,r)}n.addEventListener(`open`,t),n.addEventListener(`close`,r);return}i(Error(`Devframe WebSocket is not open; message dropped`))},serialize:e=>{let t;return e.t===`q`?t=e.m:(t=s.get(e.i),s.delete(e.i)),!(e.t===`s`&&`e`in e)&&t&&o.get(t)?.jsonSerializable===!0?In(e,t??``):`s:${Yt(e)}`},deserialize:e=>{let t=e.startsWith(`s:`)?Xt(e.slice(2)):JSON.parse(e);return t.t===`q`&&t.i&&t.m&&s.set(t.i,t.m),t}}}var ir=``,ar=`?`,or=`major`,V=`model`,H=`name`,U=`type`,W=`vendor`,G=`version`,K=`architecture`,sr=`console`,q=`mobile`,J=`tablet`,Y=`smarttv`,X=`wearable`,cr=`embedded`,lr=500,ur=`Amazon`,dr=`Apple`,fr=`ASUS`,pr=`BlackBerry`,Z=`Browser`,mr=`Chrome`,hr=`Edge`,gr=`Firefox`,_r=`Google`,vr=`Huawei`,yr=`LG`,br=`Microsoft`,xr=`Motorola`,Sr=`Opera`,Cr=`Samsung`,wr=`Sharp`,Tr=`Sony`,Er=`Xiaomi`,Dr=`Zebra`,Or=`Facebook`,kr=`Chromium OS`,Ar=`Mac OS`;function jr(e,t={}){let n={};for(let r of Object.keys(e)){let i=t[r];i&&i.length%2==0?n[r]=[...i,...e[r]]:n[r]=e[r]}return n}function Mr(e){let t={};for(let n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t}function Nr(e){return e.toLowerCase()}function Pr(e,t){return typeof e==`string`&&Nr(t).includes(Nr(e))}function Fr(e){return typeof e==`string`?e.replace(/[^\d.]/g,ir).split(`.`)[0]:void 0}function Ir(e,t){let n=e.replace(/^\s+/,ir);return t===void 0?n:n.substring(0,t)}function Lr(e,t,n){let r=n??{};for(let n=0;n<t.length;n+=2){let i=t[n],a=t[n+1];for(let t=0;t<i.length;t++){let n=i[t];if(!n)break;let o=n.exec(e);if(o){for(let e=0;e<a.length;e++){let t=o[e+1],n=a[e];if(Array.isArray(n)){let e=n[0],i=n.length;if(i===2){let i=n[1];typeof i==`function`?r[e]=i(t,void 0,r):r[e]=i}else if(i===3){let i=n[1],a=n[2];typeof i==`function`&&!(`exec`in i)&&!(`test`in i)?r[e]=t?i(t,a,r):void 0:r[e]=t?t.replace(i,a):void 0}else i===4&&(r[e]=t?n[3](t.replace(n[1],n[2]),void 0,r):void 0)}else r[n]=t||void 0}return r}}}return r}function Rr(e,t){for(let n in t){let r=t[n];if(Array.isArray(r)&&r.length>0){for(let t=0;t<r.length;t++)if(Pr(r[t],e))return n===ar?void 0:n}else if(Pr(r,e))return n===ar?void 0:n}return e}var zr={"1.0":`/8`,"1.2":`/1`,"1.3":`/3`,"2.0":`/412`,"2.0.2":`/416`,"2.0.3":`/417`,"2.0.4":`/419`,"?":`/`},Br={ME:`4.90`,"NT 3.11":`NT3.51`,"NT 4.0":`NT4.0`,2e3:`NT 5.0`,XP:[`NT 5.1`,`NT 5.2`],Vista:`NT 6.0`,7:`NT 6.1`,8:`NT 6.2`,"8.1":`NT 6.3`,10:[`NT 6.4`,`NT 10.0`],RT:`ARM`},Vr={browser:[[/\b(?:crmo|crios)\/([\w.]+)/i],[G,[H,`Chrome`]],[/edg(?:e|ios|a)?\/([\w.]+)/i],[G,[H,`Edge`]],[/(opera mini)\/([-\w.]+)/i,/(opera [mobileta]{3,6})\b.+version\/([-\w.]+)/i,/(opera)(?:.+version\/|[/ ]+)([\w.]+)/i],[H,G],[/opios[/ ]+([\w.]+)/i],[G,[H,`${Sr} Mini`]],[/\bop(?:rg)?x\/([\w.]+)/i],[G,[H,`${Sr} GX`]],[/\bopr\/([\w.]+)/i],[G,[H,Sr]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[/ ]?([\w.]+)/i],[G,[H,`Baidu`]],[/(kindle)\/([\w.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[/ ]?([\w.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[/ ]?([\w.]*)/i,/(?:ms|\()(ie) ([\w.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w.]+)/i,/(heytap|ovi)browser\/([\d.]+)/i,/(weibo)__([\d.]+)/i],[H,G],[/\bddg\/([\w.]+)/i],[G,[H,`DuckDuckGo`]],[/(?:\buc? ?browser|juc.+ucweb)[/ ]?([\w.]+)/i],[G,[H,`UC${Z}`]],[/microm.+\bqbcore\/([\w.]+)/i,/\bqbcore\/([\w.]+).+microm/i,/micromessenger\/([\w.]+)/i],[G,[H,`WeChat`]],[/konqueror\/([\w.]+)/i],[G,[H,`Konqueror`]],[/trident.+rv[: ]([\w.]{1,9})\b.+like gecko/i],[G,[H,`IE`]],[/ya(?:search)?browser\/([\w.]+)/i],[G,[H,`Yandex`]],[/slbrowser\/([\w.]+)/i],[G,[H,`Smart Lenovo ${Z}`]],[/(avast|avg)\/([\w.]+)/i],[[H,/(.+)/,`$1 Secure ${Z}`],G],[/\bfocus\/([\w.]+)/i],[G,[H,`${gr} Focus`]],[/\bopt\/([\w.]+)/i],[G,[H,`${Sr} Touch`]],[/coc_coc\w+\/([\w.]+)/i],[G,[H,`Coc Coc`]],[/dolfin\/([\w.]+)/i],[G,[H,`Dolphin`]],[/coast\/([\w.]+)/i],[G,[H,`${Sr} Coast`]],[/miuibrowser\/([\w.]+)/i],[G,[H,`MIUI ${Z}`]],[/fxios\/([-\w.]+)/i],[G,[H,gr]],[/\bqihu|(qi?ho{0,2}|360)browser/i],[[H,`360 ${Z}`]],[/(oculus|sailfish|huawei|vivo)browser\/([\w.]+)/i],[[H,/(.+)/,`$1 ${Z}`],G],[/samsungbrowser\/([\w.]+)/i],[G,[H,`${Cr} Internet`]],[/(comodo_dragon)\/([\w.]+)/i],[[H,/_/g,` `],G],[/metasr[/ ]?([\d.]+)/i],[G,[H,`Sogou Explorer`]],[/(sogou)mo\w+\/([\d.]+)/i],[[H,`Sogou Mobile`],G],[/(electron)\/([\w.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w.]+))/i,/m?(qqbrowser|2345Explorer)[/ ]?([\w.]+)/i],[H,G],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[H],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w.]+);)/i],[[H,Or],G],[/(Klarna)\/([\w.]+)/i,/(kakao(?:talk|story))[/ ]([\w.]+)/i,/(naver)\(.*?(\d+\.[\w.]+).*\)/i,/safari (line)\/([\w.]+)/i,/\b(line)\/([\w.]+)\/iab/i,/(alipay)client\/([\w.]+)/i,/(twitter)(?:and| f.+e\/([\w.]+))/i,/(chromium|instagram|snapchat)[/ ]([-\w.]+)/i],[H,G],[/\bgsa\/([\w.]+) .*safari\//i],[G,[H,`GSA`]],[/musical_ly(?:.+app_?version\/|_)([\w.]+)/i],[G,[H,`TikTok`]],[/headlesschrome(?:\/([\w.]+)| )/i],[G,[H,`${mr} Headless`]],[/ wv\).+(chrome)\/([\w.]+)/i],[[H,`${mr} WebView`],G],[/droid.+ version\/([\w.]+)\b.+(?:mobile safari|safari)/i],[G,[H,`Android ${Z}`]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w.]+)/i],[H,G],[/version\/([\w.,]+) .*mobile\/\w+ (safari)/i],[G,[H,`Mobile Safari`]],[/version\/([\w(.|,)]+) .*(mobile ?safari|safari)/i],[G,H],[/webkit.+?(mobile ?safari|safari)(\/[\w.]+)/i],[H,[G,Rr,zr]],[/(webkit|khtml)\/([\w.]+)/i],[H,G],[/(navigator|netscape\d?)\/([-\w.]+)/i],[[H,`Netscape`],G],[/mobile vr; rv:([\w.]+)\).+firefox/i],[G,[H,`${gr} Reality`]],[/ekiohf.+(flow)\/([\w.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[/ ]?([\w.+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w.]+)$/i,/(firefox)\/([\w.]+)/i,/(mozilla)\/([\w.]+) .+rv:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[. ]?browser)[-/ ]?v?([\w.]+)/i,/(links) \(([\w.]+)/i,/panasonic;(viera)/i],[H,G],[/(cobalt)\/([\w.]+)/i],[H,[G,/master.|lts./,``]]],cpu:[[/(amd|x(?:(?:86|64)[-_])?|wow|win)64[;)]/i],[[K,`amd64`]],[/(ia32(?=;))/i],[[K,Nr]],[/((?:i[346]|x)86)[;)]/i],[[K,`ia32`]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[K,`arm64`]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[K,`armhf`]],[/windows (ce|mobile); ppc;/i],[[K,`arm`]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[K,/ower/,ir,Nr]],[/(sun4\w)[;)]/i],[[K,`sparc`]],[/(avr32|ia64(?=;)|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[K,Nr]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[V,[W,Cr],[U,J]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?\d+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[V,[W,Cr],[U,q]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[V,[W,dr],[U,q]],[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[V,[W,dr],[U,J]],[/(macintosh);/i],[V,[W,dr]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[V,[W,wr],[U,q]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[V,[W,vr],[U,J]],[/(?:huawei|honor)([-\w ]+)[;)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][0-359c][adn]?)\b(?!.+d\/s)/i],[V,[W,vr],[U,q]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?[\w ]+)(?: bui|\))/i,/oid[^)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?\d?\w?[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[V,/_/g,` `],[W,Er],[U,q]],[/oid[^)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?pad[\w ]+)(?: bui|\))/i],[[V,/_/g,` `],[W,Er],[U,J]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[V,[W,`OPPO`],[U,q]],[/\b(opd2\d{3}a?) bui/i],[V,[W,`OPPO`],[U,J]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[V,[W,`Vivo`],[U,q]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[V,[W,`Realme`],[U,q]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w() ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[V,[W,xr],[U,q]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[V,[W,xr],[U,J]],[/((?=lg)?[vl]k-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[V,[W,yr],[U,J]],[/(lm(?:-?f100[nv]?|-[\w.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?(\w+) bui/i],[V,[W,yr],[U,q]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab[\w ]+|yt[-\w]{6}|tb[-\w]{6})/i],[V,[W,`Lenovo`],[U,J]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w.]*)/i],[[V,/_/g,` `],[W,`Nokia`],[U,q]],[/(pixel c)\b/i],[V,[W,_r],[U,J]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[V,[W,_r],[U,q]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]?\d\.))/i],[V,[W,Tr],[U,q]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[V,`Xperia Tablet`],[W,Tr],[U,J]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[V,[W,`OnePlus`],[U,q]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[V,[W,ur],[U,J]],[/((?:sd|kf)[0349hijor-uw]+)( bui|\)).+silk\//i],[[V,/(.+)/g,`Fire Phone $1`],[W,ur],[U,q]],[/(playbook);[-\w),; ]+(rim)/i],[V,W,[U,J]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[V,[W,pr],[U,q]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[V,[W,fr],[U,J]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[V,[W,fr],[U,q]],[/(nexus 9)/i],[V,[W,`HTC`],[U,J]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!;|\.)|sony(?!-bra))[-_ ]?([-\w]*)/i],[W,[V,/_/g,` `],[U,q]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[V,[W,`Acer`],[U,J]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[V,[W,`Meizu`],[U,q]],[/; ((?:power )?armor[\w ]{0,8})(?: bui|\))/i],[V,[W,`Ulefone`],[U,q]],[/(blackberry|benq|palm(?=-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[W,V,[U,q]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[W,V,[U,J]],[/(surface duo)/i],[V,[W,br],[U,J]],[/droid [\d.]+; (fp\du?)(?: b|\))/i],[V,[W,`Fairphone`],[U,q]],[/(u304aa)/i],[V,[W,`AT&T`],[U,q]],[/\bsie-(\w*)/i],[V,[W,`Siemens`],[U,q]],[/\b(rct\w+) b/i],[V,[W,`RCA`],[U,J]],[/\b(venue[\d ]{2,7}) b/i],[V,[W,`Dell`],[U,J]],[/\b(q(?:mv|ta)\w+) b/i],[V,[W,`Verizon`],[U,J]],[/\b(?:barnes[& ]+noble |bn[rt])([\w+ ]*) b/i],[V,[W,`Barnes & Noble`],[U,J]],[/\b(tm\d{3}\w+) b/i],[V,[W,`NuVision`],[U,J]],[/\b(k88) b/i],[V,[W,`ZTE`],[U,J]],[/\b(nx\d{3}j) b/i],[V,[W,`ZTE`],[U,q]],[/\b(gen\d{3}) b.+49h/i],[V,[W,`Swiss`],[U,q]],[/\b(zur\d{3}) b/i],[V,[W,`Swiss`],[U,J]],[/\b((zeki)?tb.*\b) b/i],[V,[W,`Zeki`],[U,J]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[W,`Dragon Touch`],V,[U,J]],[/\b(ns-?\w{0,9}) b/i],[V,[W,`Insignia`],[U,J]],[/\b((nxa|next)-?\w{0,9}) b/i],[V,[W,`NextBook`],[U,J]],[/\b(xtreme_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[W,`Voice`],V,[U,q]],[/\b(lvtel-)?(v1[12]) b/i],[[W,`LvTel`],V,[U,q]],[/\b(ph-1) /i],[V,[W,`Essential`],[U,q]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[V,[W,`Envizen`],[U,J]],[/\b(trio[-\w. ]+) b/i],[V,[W,`MachSpeed`],[U,J]],[/\btu_(1491) b/i],[V,[W,`Rotor`],[U,J]],[/(shield[\w ]+) b/i],[V,[W,`Nvidia`],[U,J]],[/(sprint) (\w+)/i],[W,V,[U,q]],[/(kin\.[onetw]{3})/i],[[V,/\./g,` `],[W,br],[U,q]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[V,[W,Dr],[U,J]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[V,[W,Dr],[U,q]],[/smart-tv.+(samsung)/i],[W,[U,Y]],[/hbbtv.+maple;(\d+)/i],[[V,/^/,`SmartTV`],[W,Cr],[U,Y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[W,yr],[U,Y]],[/(apple) ?tv/i],[W,[V,`${dr} TV`],[U,Y]],[/crkey/i],[[V,`${mr}cast`],[W,_r],[U,Y]],[/droid.+aft(\w+)( bui|\))/i],[V,[W,ur],[U,Y]],[/\(dtv[);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[V,[W,wr],[U,Y]],[/(bravia[\w ]+)( bui|\))/i],[V,[W,Tr],[U,Y]],[/(mitv-\w{5}) bui/i],[V,[W,Er],[U,Y]],[/Hbbtv.*(technisat) (.*);/i],[W,V,[U,Y]],[/\b(roku)[\dx]*[)/]((?:dvp-)?[\d.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w+ ]*; *(\w[^;]*);([^;]*)/i],[[W,Ir],[V,Ir],[U,Y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[U,Y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[W,V,[U,sr]],[/droid.+; (shield) bui/i],[V,[W,`Nvidia`],[U,sr]],[/(playstation [345portablevi]+)/i],[V,[W,Tr],[U,sr]],[/\b(xbox(?: one)?(?!; xbox))[); ]/i],[V,[W,br],[U,sr]],[/((pebble))app/i],[W,V,[U,X]],[/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i],[V,[W,dr],[U,X]],[/droid.+; (glass) \d/i],[V,[W,_r],[U,X]],[/droid.+; (wt63?0{2,3})\)/i],[V,[W,Dr],[U,X]],[/(quest( \d| pro)?)/i],[V,[W,Or],[U,X]],[/(tesla)(?: qtcarbrowser|\/[-\w.]+)/i],[W,[U,cr]],[/(aeobc)\b/i],[V,[W,ur],[U,cr]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[V,[U,q]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[V,[U,J]],[/\b((tablet|tab)[;/]|focus\/\d(?!.+mobile))/i],[[U,J]],[/(phone|mobile(?:[;/]| [ \w/.]*safari)|pda(?=.+windows ce))/i],[[U,q]],[/(android[-\w. ]{0,9});.+buil/i],[V,[W,`Generic`]]],engine:[[/windows.+ edge\/([\w.]+)/i],[G,[H,`${hr}HTML`]],[/webkit\/537\.36.+chrome\/(?!27)([\w.]+)/i],[G,[H,`Blink`]],[/(presto)\/([\w.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w.]+)/i,/ekioh(flow)\/([\w.]+)/i,/(khtml|tasman|links)[/ ]\(?([\w.]+)/i,/(icab)[/ ]([23]\.[\d.]+)/i,/\b(libweb)/i],[H,G],[/rv:([\w.]{1,9})\b.+(gecko)/i],[G,H]],os:[[/microsoft (windows) (vista|xp)/i],[H,G],[/(windows (?:phone(?: os)?|mobile))[/ ]?([.\w ]*)/i],[H,[G,Rr,Br]],[/windows nt 6\.2; (arm)/i,/windows[/ ]?([ntce\d. ]+\w)(?!.+xbox)/i,/(?:win(?=[39n])|win 9x )([nt\d.]+)/i],[[G,Rr,Br],[H,`Windows`]],[/ip[honead]{2,4}\b(?:.*os (\w+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[/ ])([\d.]+)/i,/cfnetwork\/.+darwin/i],[[G,/_/g,`.`],[H,`iOS`]],[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[H,Ar],[G,/_/g,`.`]],[/droid ([\w.]+)\b.+(android[- ]x86|harmonyos)/i],[G,H],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-/ ]?([\w.]*)/i,/(blackberry)\w*\/([\w.]*)/i,/(tizen|kaios)[/ ]([\w.]+)/i,/\((series40);/i],[H,G],[/\(bb(10);/i],[G,[H,pr]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-/ ]?([\w.]*)/i],[G,[H,`Symbian`]],[/mozilla\/[\d.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w.]+)/i],[G,[H,`${gr} OS`]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w.]+)/i],[G,[H,`webOS`]],[/watch(?: ?os[,/]|\d,\d\/)([\d.]+)/i],[G,[H,`watchOS`]],[/crkey\/([\d.]+)/i],[G,[H,`${mr}cast`]],[/(cros) \w+(?:\)| ([\w.]+)\b)/i],[[H,kr],G],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w.]*)/i,/(mint)[/() ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-/ ]?(?!chrom|package)([-\w.]*)/i,/(hurd|linux) ?([\w.]*)/i,/(gnu) ?([\w.]*)/i,/\b([-e-hrntopcs]{0,5}bsd|dragonfly)[/ ]?(?!amd|[ix346]{1,2}86)([\w.]*)/i,/(haiku) (\w+)/i],[H,G],[/(sunos) ?([\w.]*)/i],[[H,`Solaris`],G],[/((?:open)?solaris)[-/ ]?([\w.]*)/i,/(aix) ((\d)(?=[.) ])[\w.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w.]*)/i],[H,G]]};function Hr(e){return typeof e==`object`&&!!e}Object.freeze(Mr([H,G,or])),Object.freeze(Mr([K])),Object.freeze(Mr([V,W,U,sr,q,Y,J,X,cr])),Object.freeze(Mr([H,G])),Object.freeze(Mr([H,G]));function Ur(){if(!(typeof window>`u`||!window.navigator))return window.navigator}function Wr(e){return e.length>lr?Ir(e,lr):e}function Gr(e){if(typeof e==`string`)return{ua:Wr(e),isSelfNavigator:!1,navigator:void 0,userAgentData:void 0,regexMap:Vr};let t=Ur(),n=Wr(t&&t.userAgent?t.userAgent:ir);return{ua:n,isSelfNavigator:!!(t&&t.userAgent===n),navigator:t,userAgentData:t?.userAgentData,regexMap:Vr}}function Kr(e,t){if(!t&&!Hr(e))return Gr(e);let n=Ur(),r=Hr(e)?void 0:e,i=Hr(e)?e:t,a=Wr(r||(n&&n.userAgent?n.userAgent:ir)),o=n?.userAgentData;return{ua:a,isSelfNavigator:!!(n&&n.userAgent===a),navigator:n,userAgentData:o,regexMap:i?jr(Vr,i):Vr}}function qr(e){let t={name:void 0,version:void 0,major:void 0};return Lr(e.ua,e.regexMap.browser,t),t.major=Fr(t.version),e.isSelfNavigator&&e.navigator?.brave&&typeof e.navigator.brave.isBrave==`function`&&(t.name=`Brave`),t}function Jr(e){let t={architecture:void 0};return Lr(e.ua,e.regexMap.cpu,t),t}function Yr(e){let t={vendor:void 0,model:void 0,type:void 0};return Lr(e.ua,e.regexMap.device,t),e.isSelfNavigator&&!t.type&&e.userAgentData?.mobile&&(t.type=q),e.isSelfNavigator&&t.model===`Macintosh`&&e.navigator&&e.navigator.standalone!==void 0&&e.navigator.maxTouchPoints&&e.navigator.maxTouchPoints>2&&(t.model=`iPad`,t.type=J),t}function Xr(e){let t={name:void 0,version:void 0};return Lr(e.ua,e.regexMap.engine,t),t}function Zr(e){let t={name:void 0,version:void 0};return Lr(e.ua,e.regexMap.os,t),e.isSelfNavigator&&!t.name&&e.userAgentData?.platform&&e.userAgentData.platform!==`Unknown`&&(t.name=e.userAgentData.platform.replace(/chrome os/i,kr).replace(/macos/i,Ar)),t}function Qr(e,t){let n,r,i,a,o,s,c=()=>n||=Kr(e,t);return{get ua(){return c().ua},get browser(){return r||=qr(c()),r},get engine(){return i||=Xr(c()),i},get os(){return a||=Zr(c()),a},get device(){return o||=Yr(c()),o},get cpu(){return s||=Jr(c()),s}}}var Q=class extends Error{name=`DevframeConnectionError`;kind;constructor(e,t,n){super(t,n),this.kind=e}};function $r(e,t,n){let r=n.protocol===`https:`?`wss:`:`ws:`,i=(()=>{try{return new URL(t,n.href)}catch{return new URL(n.href)}})();if(e&&typeof e==`object`){if(e.host!=null||e.port!=null){let t=e.host??`${n.hostname}:${e.port}`,i=new URL(e.path??`/`,`${r}//${t}`);return i.protocol=r,i.href}let t=new URL(e.path??``,i);return t.protocol=r,t.href}if(typeof e==`number`)return`${r}//${n.hostname}:${e}`;let a=e??``;if(/^wss?:\/\//i.test(a))return a;if(/^https?:\/\//i.test(a))return h(a,/^https/i.test(a)?`wss://`:`ws://`);let o=new URL(a,i);return o.protocol=r,o.href}function ei(e){let{authToken:t,connectionMeta:n,metaBaseUrl:r,events:i,clientRpc:a,rpcOptions:o={},wsOptions:s={},callTimeout:c=0}=e,l=!1,u=`connecting`,d=null,f=nn(),p=$r(n.websocket,r??`./`,location);function m(e,t=null){if(t?d=t:e===`connected`&&(d=null),e===u)return;let n=u;u=e,i.emit(`connection:status`,e,n)}let h=new Set;function g(e){for(let t of[...h])t.reject(e)}function _(){return u===`disconnected`||u===`error`?new Q(`connection`,`[devframe] Not connected to the devframe server`,{cause:d??void 0}):u===`unauthorized`?new Q(`auth`,`[devframe] Not authorized by the devframe server`,{cause:d??void 0}):null}function v(e,t){return new Promise((n,r)=>{let a=!1,o,s={reject(e){a||(l(),i.emit(`rpc:error`,e,t),r(e))}};function l(){a=!0,h.delete(s),o&&clearTimeout(o)}h.add(s),c>0&&(o=setTimeout(()=>{s.reject(new Q(`timeout`,`[devframe] RPC call "${t}" timed out after ${c}ms`))},c)),e.then(e=>{a||(l(),n(e))},e=>{if(a)return;l();let n=e instanceof Error?e:Error(String(e));i.emit(`rpc:error`,n,t),r(n)})})}let y=new Map;for(let e of n.jsonSerializableMethods??[])y.set(e,{jsonSerializable:!0});let b=er(a.functions,{channel:rr({url:p,authToken:t,definitions:y,...s,onConnected(e){s.onConnected?.(e)},onError(e){m(`error`,e),i.emit(`connection:error`,e),g(new Q(`connection`,`[devframe] Connection to the devframe server failed`,{cause:e})),s.onError?.(e)},onDisconnected(e){u!==`error`&&m(`disconnected`),g(new Q(`connection`,`[devframe] Disconnected from the devframe server`,{cause:d??void 0})),s.onDisconnected?.(e)}}),rpcOptions:o});a.register({name:`devframe:auth:revoked`,type:`event`,handler:()=>{l=!1;let e=new Q(`auth`,`[devframe] The devframe server revoked this client's trust`);m(`unauthorized`,e),i.emit(`connection:error`,e),g(e),i.emit(`rpc:is-trusted:updated`,!1)}});let x=t;function ee(){let e=Qr(navigator.userAgent);return[e.browser.name,e.browser.version,`|`,e.os.name,e.os.version,e.device.type].filter(e=>e).join(` `)}async function te(e){x=e;let t=await b.$call(`anonymous:devframe:auth`,{authToken:e,ua:ee(),origin:location.origin});if(l=t.isTrusted,l)f.resolve(!0),m(`connected`);else{let e=new Q(`auth`,`[devframe] The devframe server refused this client's credentials`);m(`unauthorized`,e),i.emit(`connection:error`,e)}return i.emit(`rpc:is-trusted:updated`,l),t.isTrusted}async function ne(e){let t=(await b.$call(`anonymous:devframe:auth:exchange`,{code:e,ua:ee(),origin:location.origin}))?.authToken??null;return t&&(x=t,l=!0,f.resolve(!0),m(`connected`),i.emit(`rpc:is-trusted:updated`,!0)),t}async function re(){return l?!0:te(x??``)}async function ie(e=6e4){if(l&&f.resolve(!0),e<=0)return f.promise;let t=()=>{};return await Promise.race([f.promise.then(t),new Promise((n,r)=>{let i=setTimeout(()=>{r(Error(`[devframe] Timeout waiting for rpc to be trusted`))},e);t=()=>clearTimeout(i)})]),l}return{get isTrusted(){return l},get status(){return u},get connectionError(){return d},requestTrust:re,requestTrustWithToken:te,requestTrustWithCode:ne,ensureTrusted:ie,call:(...e)=>{let t=String(e[0]),n=_();return n?(i.emit(`rpc:error`,n,t),Promise.reject(n)):v(b.$call(...e),t)},callEvent:(...e)=>{let t=_();if(t){i.emit(`rpc:error`,t,String(e[0]));return}return b.$callEvent(...e)},callOptional:(...e)=>{let t=String(e[0]),n=_();return n?(i.emit(`rpc:error`,n,t),Promise.reject(n)):v(b.$callOptional(...e),t)}}}function ti(e,t,n){let r=`devframe:settings:${n}:${t}`,i;function a(){return i||=e.sharedState.get(r,{initialValue:{}}),i}return{async get(e){return(await a()).value()[e]},async set(e,t){(await a()).mutate(n=>{n[e]=t})},async delete(e){(await a()).mutate(t=>{delete t[e]})},async all(){return(await a()).value()},async onChange(e){return(await a()).on(`updated`,t=>e(t))}}}function ni(e,t){return{global:ti(e,t,`global`),project:ti(e,t,`project`)}}function ri(e,t){return{namespace:t,base:e,rpc:{namespace:t,register(n){if(rn(n.name))throw Error(`[devframe] Scoped client RPC registration for namespace "${t}" received an already-namespaced function name "${n.name}". Pass a bare name without a ":" separator.`);e.client.register({...n,name:`${t}:${n.name}`})},call:((n,...r)=>e.call(R(t,n),...r)),callEvent:((n,...r)=>e.callEvent(R(t,n),...r)),callOptional:((n,...r)=>e.callOptional(R(t,n),...r)),sharedState:((n,r)=>e.sharedState.get(R(t,n),r)),streaming:{subscribe:(n,r,i)=>e.streaming.subscribe(R(t,n),r,i),upload:(n,r)=>e.streaming.upload(R(t,n),r)}},settings:ni(e,t),scope:e.scope}}var ii=`__DEVFRAME_CONNECTION_META__`,ai=`__DEVFRAME_CONNECTION_AUTH_TOKEN__`;function oi(e){let t=[()=>e,()=>localStorage.getItem(ai)??void 0,()=>window?.[ai],()=>globalThis?.[ai],()=>parent.window?.[ai]];for(let e of t)try{let t=e();if(t)return t}catch{}}function si(e){try{localStorage.setItem(ai,e)}catch{}globalThis[ai]=e}function ci(){let e=[()=>window?.[ii],()=>globalThis?.[ii],()=>parent.window?.[ii]];for(let t of e)try{let e=t();if(e)return e}catch{}}async function li(e={}){let{baseURL:t=`./`,rpcOptions:n={},cacheOptions:r=!1}=e,i=fe(),a=Array.isArray(t)?t:[t],o=e.connectionMeta||ci(),s=a[0]??`./`,c=e.connectionMeta?void 0:o?.baseUrl;function l(){if(c)return c;let e=g(Cn,s);try{return new URL(e,globalThis.location?.href).href}catch{return e}}if(!o){let e=[];for(let t of a)try{o=await fetch(g(Cn,t)).then(e=>e.json()),s=t,globalThis[ii]={...o,baseUrl:l()};break}catch(t){e.push(t)}if(!o)throw Error(`Failed to get connection meta from ${a.join(`, `)}`,{cause:e})}let u=new Nn({functions:[],...typeof e.cacheOptions==`object`?e.cacheOptions:{}}),d={rpc:void 0},f=oi(e.authToken||o.authToken);f&&si(f);let p=new Pn(d);async function m(e){let t=[s,...a.filter(e=>e!==s)].filter(e=>e!=null),n=[];for(let r of t)try{return await fetch(g(e,r)).then(t=>{if(!t.ok)throw Error(`Failed to fetch ${e} from ${r}: ${t.status}`);return t.json()})}catch(e){n.push(e)}throw Error(`Failed to load ${e} from ${t.join(`, `)}`,{cause:n})}let h=o.backend===`static`?await Xn({fetchJsonFromBases:m}):ei({authToken:f,connectionMeta:o,metaBaseUrl:l(),events:i,clientRpc:p,callTimeout:e.callTimeout,rpcOptions:{...n,async onRequest(e,t,i){if(await n.onRequest?.call(this,e,t,i),r&&u?.validate(e.m)){if(u.has(e.m,e.a))return i(u.cached(e.m,e.a));let n=await t(e);u.apply(e,n)}else await t(e)}},wsOptions:e.wsOptions}),_;try{_=new BroadcastChannel(`devframe-auth`)}catch{}let v,y=!1;function b(e){return((...t)=>y||!v?e(...t):v.then(()=>e(...t)))}let x={events:i,get isTrusted(){return h.isTrusted},get status(){return h.status},get connectionError(){return h.connectionError},connectionMeta:o,ensureTrusted:h.ensureTrusted,requestTrust:h.requestTrust,requestTrustWithToken:async e=>(si(e),h.requestTrustWithToken(e)),requestTrustWithCode:async e=>{let t=await h.requestTrustWithCode(e);if(!t)return!1;si(t);try{_?.postMessage({type:`auth-update`,authToken:t})}catch{}return!0},call:b(h.call),callEvent:b(h.callEvent),callOptional:b(h.callOptional),client:p,sharedState:void 0,streaming:void 0,cacheManager:u,scope:void 0};x.sharedState=Hn(x),x.streaming=$n(x);let ee=new Map;x.scope=(e=>{if(!e)return x;let t=ee.get(e);return t||(t=ri(x,e),ee.set(e,t)),t}),d.rpc=x;function te(){try{return typeof window<`u`&&window.self===window.top}catch{return!1}}async function ne(){if(!(e.simpleAuth===!1||!te())&&typeof globalThis.prompt==`function`)for(;!x.isTrusted;){let e=globalThis.prompt(`devframe: enter the authentication code shown in your terminal`);if(e==null)return;let t=e.trim();if(t&&await x.requestTrustWithCode(t))return}}async function re(){let t=await h.requestTrust(),n=e.otpParam??`devframe_otp`,r=n?await Vn(x,{param:n}):!1;t||r||x.isTrusted||await ne()}return v=re().then(()=>{y=!0},()=>{y=!0}),_&&(_.onmessage=e=>{e.data?.type===`auth-update`&&e.data.authToken&&x.requestTrustWithToken(e.data.authToken)}),x}function ui(e={}){return li(e)}var di=`/__devtools/`;`${di}`;var $=m({connected:!1,error:null}),fi=t(void 0),pi=fe(),mi;function hi(e={}){pi.emit(`updated`,e)}async function gi(e){mi?.(),mi=(await e.sharedState.get(`vite:inspect:module-updated`,{initialValue:{version:0,ids:null,updatedAt:0}})).on(`updated`,e=>{hi({ids:e.ids??void 0})})}async function _i(){let e=s();try{fi.value=await ui({baseURL:[di,e.app.baseURL],connectionMeta:e.app.connection,wsOptions:{onConnected:()=>{$.connected=!0},onError:e=>{$.error=e},onDisconnected:()=>{$.connected=!1}},rpcOptions:{onGeneralError:(e,t)=>{$.error=e,console.error(`[vite-devtools] RPC error on executing "${t}":`)},onFunctionError:(e,t)=>{$.error=e,console.error(`[vite-devtools] RPC error on executing "${t}":`)}}}),await gi(fi.value),$.connected=!0}catch(e){$.error=e}}function vi(){return fi}function yi(e){let t=pi.on(`updated`,e);return d()&&c(t),t}export{ee as a,vi as i,yi as n,v as o,$ as r,_i as t};
@@ -0,0 +1 @@
1
+ String.fromCharCode;var e=/#/g,t=/&/g,n=/\//g,r=/=/g,i=/\?/g,a=/\+/g,o=/%5e/gi,s=/%60/gi,c=/%7c/gi,l=/%20/gi,u=/%2f/gi,d=/%252f/gi;function f(e){return encodeURI(``+e).replace(c,`|`)}function p(r){return f(typeof r==`string`?r:JSON.stringify(r)).replace(a,`%2B`).replace(l,`+`).replace(e,`%23`).replace(t,`%26`).replace(s,"`").replace(o,`^`).replace(n,`%2F`)}function m(e){return p(e).replace(r,`%3D`)}function h(n){return f(n).replace(e,`%23`).replace(i,`%3F`).replace(d,`%2F`).replace(t,`%26`).replace(a,`%2B`)}function g(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function _(e){return g(e.replace(u,`%252F`))}function v(e){return g(e.replace(a,` `))}function y(e){return g(e.replace(a,` `))}function b(e=``){let t=Object.create(null);e[0]===`?`&&(e=e.slice(1));for(let n of e.split(`&`)){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=v(e[1]);if(r===`__proto__`||r===`constructor`)continue;let i=y(e[2]||``);t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function x(e,t){return(typeof t==`number`||typeof t==`boolean`)&&(t=String(t)),t?Array.isArray(t)?t.map(t=>`${m(e)}=${p(t)}`).join(`&`):`${m(e)}=${p(t)}`:m(e)}function S(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>x(t,e[t])).filter(Boolean).join(`&`)}var C=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,w=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,T=/^([/\\]\s*){2,}[^/\\]/,E=/^[\s\0]*(blob|data|javascript|vbscript):$/i,D=/\/$|\/\?|\/#/,O=/^\.?\//;function k(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?C.test(e):w.test(e)||(t.acceptRelative?T.test(e):!1)}function A(e){return!!e&&E.test(e)}function j(e=``,t){return t?D.test(e):e.endsWith(`/`)}function M(e=``,t){if(!t)return(j(e)?e.slice(0,-1):e)||`/`;if(!j(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function N(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(j(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function P(e,t){if(L(t)||k(e))return e;let n=M(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return z(n,e)}function F(e,t){if(L(t))return e;let n=M(t);if(!e.startsWith(n))return e;let r=e[n.length];return r&&r!==`/`&&r!==`?`?e:`/`+e.slice(n.length).replace(/^\/+/,``)}function I(e,t){let n=W(e);return n.search=S({...b(n.search),...t}),K(n)}function L(e){return!e||e===`/`}function R(e){return e&&e!==`/`}function z(e,...t){let n=e||``;for(let e of t.filter(e=>R(e)))if(n){let t=e.replace(O,``);n=N(n)+t}else n=e;return n}function B(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(!(!e||e===`/`)){for(let[n,a]of e.split(t).entries())if(!(!a||a===`.`)){if(a===`..`){if(r.length===1&&k(r[0]))continue;r.pop(),i--;continue}if(n===1&&r[r.length-1]?.endsWith(`:/`)){r[r.length-1]+=`/`+a;continue}r.push(a),i++}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function V(e,t){let n=e.match(w);return n||=e.match(/^\/{2,}/),n?t+e.slice(n[0].length):t+e}function H(e,t){return g(M(e))===g(M(t))}var U=Symbol.for(`ufo:protocolRelative`);function W(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!k(e,{acceptRelative:!0}))return t?W(t+e):G(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=G(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[U]:!r}}function G(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function K(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[U]?(e.protocol||``)+`//`:``)+i+a+t+n+r}export{A as a,b as c,V as d,I as f,M as h,H as i,W as l,F as m,h as n,B as o,N as p,k as r,z as s,_ as t,P as u};
@@ -0,0 +1 @@
1
+ import{$ as e,A as t,C as n,Ct as r,Et as i,H as a,J as o,N as s,S as c,T as l,Xt as u,Y as d,Yt as f,ct as p,dt as m,et as h,ft as g,g as _,j as v,jt as y,lt as b,nt as x,q as S,qt as C,ut as w,w as T,x as E,xt as D}from"./D3MExTHO.js";import{Z as O,t as k}from"./457Jr4Pr.js";import{f as A,p as j}from"./BJv-YGcz.js";import{a as M,i as N,n as ee}from"./K3CNNOBf.js";import{A as P,C as F,D as I,E as L,O as R,S as z,_ as B,a as V,b as H,c as U,d as W,f as G,g as K,h as q,j as J,k as Y,l as te,m as X,n as Z,o as ne,r as re,s as ie,t as ae,u as oe,v as Q,x as se}from"./B1xYalZA.js";import{t as ce}from"./BDNMzG2s.js";import{C as le,S as ue,a as de,m as fe,n as pe,o as me,w as he,y as ge}from"./C3lVFA1Q.js";var $=s({__name:`DisplayNumberBadge`,props:{number:{},color:{default:`badge-color-gray op75`},icon:{},prefix:{},suffix:{},format:{default:`locale`}},setup(e){let n=e,r=E(()=>n.format===`percent`?Number(n.number).toLocaleString(void 0,{style:`percent`,minimumFractionDigits:2,maximumFractionDigits:2}):Number(n.number).toLocaleString());return(n,i)=>(d(),l(`div`,{class:C([e.color,`px-0.4em py-0.2em font-mono line-height-none flex items-center`])},[e.icon?(d(),l(`div`,{key:0,class:C([e.icon,`mr-1`])},null,2)):T(``,!0),t(` `+u(e.prefix||``)+u(r.value)+u(e.suffix||``)+` `,1),h(n.$slots,`after`)],2))}}),_e={class:`op50 text-xs flex justify-center items-center`},ve=s({__name:`FlowmapNodePluginInfo`,props:{modules:{},calls:{},duration:{}},setup(e){return(t,n)=>(d(),l(`span`,_e,[v($,{number:e.modules,icon:`i-catppuccin-java-class-abstract`,color:`transparent color-scale-neutral`,title:`Module processed: ${e.modules}`},null,8,[`number`,`title`]),n[1]||=c(`span`,{class:`op40`},`|`,-1),v($,{number:e.calls,icon:`i-ph-arrow-counter-clockwise`,color:`transparent color-scale-neutral`,title:`Total calls: ${e.calls}`},null,8,[`number`,`title`]),n[2]||=c(`span`,{class:`op40`},`|`,-1),v(q,{duration:e.duration,class:`flex gap-1 items-center px1`,title:`Total build cost: ${y(B)(e.duration,!0)}`},{default:m(()=>[...n[0]||=[c(`span`,{class:`i-ph-clock-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`])]))}}),ye={class:`flex flex-col`},be={class:`select-none h-full of-auto ws-nowrap w-auto of-visible p4 flex flex-col`},xe={class:`flex`},Se={class:`flex items-center justify-center relative w-60 h14`},Ce={class:`op50 text-xs flex items-center justify-center gap-1 h6`},we=[`datetime`],Te={class:`flex items-center justify-center relative w-60 h14`},Ee={class:`op50 text-xs flex items-center justify-center gap-1 h6`},De=[`datetime`],Oe=Object.assign(s({__name:`PluginFlowTimeline`,props:{buildMetrics:{}},setup(e){let n=e;function r(e){let t={duration:0,calls:e.length,modules:0},n=new Set;return e.forEach(e=>{n.has(e.module)||(n.add(e.module),t.modules++),t.duration+=e.duration}),t}let i=E(()=>r(n.buildMetrics.resolveIdMetrics)),a=E(()=>r(n.buildMetrics.loadMetrics)),o=E(()=>r(n.buildMetrics.transformMetrics)),s=E(()=>{let e=n.buildMetrics.calls;if(e?.length)return e[0].timestamp_start}),f=E(()=>{let e=n.buildMetrics.calls;if(e?.length)return e.at(-1).timestamp_end});return(n,r)=>{let p=oe,g=ve;return d(),l(`div`,ye,[h(n.$slots,`header`),c(`div`,be,[c(`div`,xe,[v(p,{active:!1,"class-node-inner":`w60`},{content:m(()=>[c(`div`,{class:`p2 w-full text-center`,onClick:r[0]||=e=>y(G).pluginDetailSelectedHook=``},[v(X,{name:e.buildMetrics.plugin_name,class:`font-mono text-sm ws-nowrap text-ellipsis line-clamp-1`},null,8,[`name`])])]),_:1})]),c(`div`,Se,[r[5]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-0 border-r z-flowmap-line h4`},null,-1),r[6]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-10 border-r z-flowmap-line h4`},null,-1),c(`span`,Ce,[r[4]||=c(`i`,{class:`i-ph-airplane-takeoff-thin text-4 inline-flex`},null,-1),s.value?(d(),l(`time`,{key:0,datetime:new Date(s.value).toISOString()},u(new Date(s.value).toLocaleString()),9,we)):T(``,!0)])]),v(p,{"class-node-inner":`w60`,"class-node-outer":`${!i.value.modules&&!i.value.calls?`b-dashed!`:``}`,"class-line-bottom":`left-50%! translate-x--1/2`,class:`pb4 w60`,lines:{bottom:!0},active:y(G).pluginDetailSelectedHook===`resolve`},{content:m(()=>[c(`div`,{class:`flex flex-col gap1 w-full`,onClick:r[1]||=e=>y(G).pluginDetailSelectedHook=`resolve`},[r[7]||=c(`span`,{class:`flex items-center justify-center gap-1`},[c(`i`,{class:`i-ph-magnifying-glass-duotone`}),t(` Resolve Id `)],-1),c(`div`,null,[v(g,{modules:i.value.modules,calls:i.value.calls,duration:i.value.duration},null,8,[`modules`,`calls`,`duration`])])])]),_:1},8,[`class-node-outer`,`active`]),v(p,{active:y(G).pluginDetailSelectedHook===`load`,"class-node-inner":`w60`,"class-node-outer":`${!a.value.modules&&!a.value.calls?`b-dashed!`:``}`,"class-line-bottom":`left-50%! translate-x--1/2`,class:`pb4 w60`,lines:{bottom:!0}},{content:m(()=>[c(`div`,{class:`flex flex-col gap1 w-full`,onClick:r[2]||=e=>y(G).pluginDetailSelectedHook=`load`},[r[8]||=c(`span`,{class:`flex items-center justify-center gap-1`},[c(`i`,{class:`i-ph-upload-simple-duotone`}),t(` Load `)],-1),c(`div`,null,[v(g,{modules:a.value.modules,calls:a.value.calls,duration:a.value.duration},null,8,[`modules`,`calls`,`duration`])])])]),_:1},8,[`active`,`class-node-outer`]),v(p,{active:y(G).pluginDetailSelectedHook===`transform`,"class-node-inner":`w60`,"class-node-outer":`${!o.value.modules&&!o.value.calls?`b-dashed!`:``}`},{content:m(()=>[c(`div`,{class:`flex flex-col gap1 w-full`,onClick:r[3]||=e=>y(G).pluginDetailSelectedHook=`transform`},[r[9]||=c(`span`,{class:`flex items-center justify-center gap-1`},[c(`i`,{class:`i-ph-magic-wand-duotone`}),t(` Transform `)],-1),c(`div`,null,[v(g,{modules:o.value.modules,calls:o.value.calls,duration:o.value.duration},null,8,[`modules`,`calls`,`duration`])])])]),_:1},8,[`active`,`class-node-outer`]),c(`div`,Te,[r[11]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-0 border-r z-flowmap-line h4`},null,-1),r[12]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-10 border-r z-flowmap-line h4`},null,-1),r[13]||=c(`div`,{class:`border-flow-line left-50% translate-x--1/2 absolute top-14 w-2 h-2 border-4 rounded-full`},null,-1),c(`span`,Ee,[r[10]||=c(`i`,{class:`i-ph-airplane-landing-thin text-4 inline-flex`},null,-1),f.value?(d(),l(`time`,{key:0,datetime:new Date(f.value).toISOString()},u(new Date(f.value).toLocaleString()),9,De)):T(``,!0)])])])])}}}),{__name:`FlowmapPluginFlowTimeline`}),ke={role:`row`,class:`border-b border-base bg-base flex flex-row`},Ae={key:0,role:`columnheader`,class:`bg-base flex-none w32 ws-nowrap p1 text-center font-600`},je={key:1,role:`columnheader`,class:`bg-base flex-1 min-w100 ws-nowrap p1 text-left font-600`},Me={class:`flex flex-row gap1 items-center w-full`},Ne={class:`w-6 h-6 rounded-full cursor-pointer hover:bg-active flex items-center justify-center`},Pe={class:`p2 flex flex-col gap2`},Fe=[`title`],Ie=[`checked`,`onChange`],Le={class:`text-sm`},Re={key:2,role:`columnheader`,class:`rounded-tr-2 bg-base flex-none ws-nowrap p1 text-center font-600 w-27`},ze={class:`w-6 h-6 rounded-full cursor-pointer hover:bg-active flex items-center justify-center`},Be={key:3,role:`columnheader`,class:`rounded-tr-2 bg-base flex-none min-w52 ws-nowrap p1 text-center font-600`},Ve={key:4,role:`columnheader`,class:`rounded-tr-2 bg-base flex-none min-w52 ws-nowrap p1 text-center font-600`},He={key:0,role:`cell`,class:`flex items-center justify-center flex-none w32 ws-nowrap op80`},Ue={key:1,role:`cell`,class:`flex-1 min-w100 text-left text-ellipsis line-clamp-2`},We={key:2,role:`cell`,class:`flex items-center justify-center flex-none text-center text-sm w-27`},Ge={key:3,role:`cell`,class:`flex items-center justify-center flex-none text-center font-mono text-sm min-w52 op80`},Ke={key:4,role:`cell`,class:`flex items-center justify-center flex-none text-center font-mono text-sm min-w52 op80`},qe={key:1,role:`table`,class:`min-w-max h-full`},Je={class:`p4`},Ye={class:`w-full h-48 flex items-center justify-center op50 italic`},Xe={key:0},Ze={key:1},Qe=Object.assign(ce(s({__name:`PluginDetailsTable`,props:{modules:{},buildMetrics:{},selectedFields:{},root:{}},setup(i){let a=i,o={resolve:`Resolve Id`,load:`Load`,transform:`Transform`},s=E(()=>a.modules.map(e=>({mod:e,type:Y(e.id)}))),f=E(()=>I.filter(e=>s.value.some(t=>e.match.test(t.mod.id)))),p=E(()=>{let e=new Map;for(let{mod:t,type:n}of s.value)e.set(t.id,n.name);return e}),h=r(G.value.pluginDetailsModuleTypes??f.value.map(e=>e.name)),g=E(()=>new Set(h.value)),{state:b,next:x}=me([``,`desc`,`asc`],{initialValue:G.value.pluginDetailsDurationSortType}),S=E(()=>{let e=G.value.pluginDetailSelectedHook,t=G.value.pluginDetailsShowType,n=t!==`all`&&[`load`,`transform`].includes(e),r=new Map(p.value),i=[];for(let o of a.buildMetrics.calls){if(!o.module||e&&o.type!==e||n&&(t===`changed`?o.unchanged:!o.unchanged))continue;let a=r.get(o.module);a||(a=Y(o.module).name,r.set(o.module,a)),g.value.has(a)&&i.push(o)}return b.value&&i.sort((e,t)=>b.value===`asc`?e.duration-t.duration:t.duration-e.duration),i});function w(e){h.value?.includes(e.name)?h.value=h.value?.filter(t=>t!==e.name):h.value?.push(e.name),G.value.pluginDetailsModuleTypes=h.value}function D(){x(),G.value.pluginDetailsDurationSortType=b.value}function O(e){return e?`/graph?module=${encodeURIComponent(e)}`:!1}return(r,a)=>{let s=se;return S.value.length&&i.selectedFields.length?(d(),n(H,{key:0,class:`plugin-details-table min-w-max h-full min-h-0`,role:`table`,items:S.value,"key-prop":`id`,"page-mode":!1,scroller:`fixed`,"item-size":36},{before:m(()=>[c(`div`,ke,[i.selectedFields.includes(`hookName`)?(d(),l(`div`,Ae,` Hook name `)):T(``,!0),i.selectedFields.includes(`module`)?(d(),l(`div`,je,[c(`button`,Me,[a[0]||=t(` Module `,-1),v(y(z),null,{popper:m(()=>[c(`div`,Pe,[(d(!0),l(_,null,e(f.value,e=>(d(),l(`label`,{key:e.name,title:e.description,class:`cursor-pointer module-type-filter border border-base rounded-md px2 py1 flex items-center gap-1 select-none`},[c(`input`,{type:`checkbox`,class:`mr1`,checked:h.value?.includes(e.name),onChange:t=>w(e)},null,40,Ie),c(`div`,{class:C([e.icon,`icon-catppuccin`])},null,2),c(`div`,Le,u(e.description||e.name),1)],8,Fe))),128))])]),default:m(()=>[c(`span`,Ne,[c(`i`,{class:C([`i-ph-funnel-duotone text-xs`,h.value.length===f.value.length?`op50`:`text-primary op100`])},null,2)])]),_:1})])])):T(``,!0),i.selectedFields.includes(`duration`)?(d(),l(`div`,Re,[c(`button`,{class:`flex flex-row gap1 items-center justify-center w-full`,onClick:D},[a[1]||=t(` Duration `,-1),c(`span`,ze,[c(`i`,{class:C([`text-xs`,[y(b)===`asc`?`i-ph-arrow-up-duotone`:`i-ph-arrow-down-duotone`,y(b)?`op100 text-primary`:`op50`]])},null,2)])])])):T(``,!0),i.selectedFields.includes(`startTime`)?(d(),l(`div`,Be,` Start Time `)):T(``,!0),i.selectedFields.includes(`endTime`)?(d(),l(`div`,Ve,` End Time `)):T(``,!0)])]),default:m(({item:e,index:t})=>[c(`div`,{role:`row`,class:C([`border-base border-b border-dashed flex flex-row h-9`,[t===S.value.length-1?`border-b-0`:``]])},[i.selectedFields.includes(`hookName`)?(d(),l(`div`,He,[v(F,{text:o[e.type]},null,8,[`text`])])):T(``,!0),i.selectedFields.includes(`module`)?(d(),l(`div`,Ue,[v(s,{id:e.module,class:`w-full border-none ws-nowrap hover:bg-active border border-base rounded block px2 py1`,cwd:i.root,link:O(e.graphModuleId)},null,8,[`id`,`cwd`,`link`])])):T(``,!0),i.selectedFields.includes(`duration`)?(d(),l(`div`,We,[v(q,{duration:e.duration},null,8,[`duration`])])):T(``,!0),i.selectedFields.includes(`startTime`)?(d(),l(`div`,Ge,u(y(Q)(e.timestamp_start)),1)):T(``,!0),i.selectedFields.includes(`endTime`)?(d(),l(`div`,Ke,u(y(Q)(e.timestamp_end)),1)):T(``,!0)],2)]),_:1},8,[`items`])):(d(),l(`div`,qe,[c(`div`,Je,[c(`div`,Ye,[i.selectedFields.length?(d(),l(`p`,Ze,` No data `)):(d(),l(`p`,Xe,` No columns selected `))])])]))}}}),[[`__scopeId`,`data-v-ba6a4bd9`]]),{__name:`DataPluginDetailsTable`}),$e={class:`p2 h-full w-full`},et={class:`flex border border-base rounded-2 h-full relative of-hidden`},tt={key:0,class:`of-hidden border-r border-base`},nt={class:`px2 h10 border-b border-base bg-base rounded-t-2 flex items-center justify-end`},rt={class:`flex-1 h-full min-h-0 flex flex-col`},it={class:`flex items-center justify-between border-b border-base px2 h10 bg-base rounded-t-2 of-x-auto ws-nowrap`},at={class:`flex items-center h-full`},ot={key:0,class:`flex items-center justify-center gap1 h-full text-xs py1`},st={class:`op50 flex items-center gap-1`},ct=[`title`],lt={class:`text-xs op50`},ut={class:`flex-1 min-h-0 overscroll-contain`},dt=Object.assign(s({__name:`PluginFlow`,props:{modules:{},buildMetrics:{},root:{}},setup(e){let n=e,[i,a]=le(!0),o=[{match:/hookName/,name:`hookName`,description:`Hook name`,icon:`i-ph-function-duotone`},{match:/module/,name:`module`,description:`Module`,icon:`i-ph-package-duotone`},{match:/duration/,name:`duration`,description:`Duration`,icon:`i-ph-clock-countdown-duotone`},{match:/startTime/,name:`startTime`,description:`Start Time`,icon:`i-ph-clock-duotone`},{match:/endTime/,name:`endTime`,description:`End Time`,icon:`i-ph-clock-duotone`}],s=r({selected:G.value.pluginDetailsTableFields,search:!1}),f=E(()=>G.value.pluginDetailsTableFields?G.value.pluginDetailsTableFields:o.map(e=>e.name)),{state:p,next:h}=me([`changed`,`unchanged`,`all`],{initialValue:G.value.pluginDetailsShowType}),g=E(()=>p.value===`all`?`Show Changed`:p.value===`changed`?`Show Unchanged`:`Show All`),_=E(()=>!(![`load`,`transform`].includes(G.value.pluginDetailSelectedHook)||!n.buildMetrics.calls?.filter(e=>e.type===G.value.pluginDetailSelectedHook).filter(e=>e.unchanged).length)),x=E(()=>{let e=n.buildMetrics.calls?.filter(e=>e.type===G.value.pluginDetailSelectedHook).filter(e=>e.unchanged),t=e.reduce((e,t)=>e+t.duration,0);return{count:e.length,duration:t}});b(()=>s.value.selected,e=>{G.value.pluginDetailsTableFields=e});function S(){h(),G.value.pluginDetailsShowType=p.value}return(n,r)=>{let p=Oe,h=Qe;return d(),l(`div`,$e,[c(`div`,et,[y(i)?(d(),l(`div`,tt,[v(p,{"build-metrics":e.buildMetrics},{header:m(()=>[c(`div`,nt,[c(`button`,{class:`w8 h8 rounded-full cursor-pointer hover:bg-active flex items-center justify-center`,onClick:r[0]||=e=>y(a)(!1)},[...r[3]||=[c(`i`,{class:`i-ph-sidebar-simple-duotone inline-flex op50`},null,-1)]])])]),_:1},8,[`build-metrics`])])):T(``,!0),c(`div`,rt,[c(`div`,it,[c(`div`,at,[y(i)?T(``,!0):(d(),l(`button`,{key:0,class:`w8 h8 rounded-full cursor-pointer mr1 hover:bg-active flex items-center justify-center`,onClick:r[1]||=e=>y(a)(!0)},[...r[4]||=[c(`i`,{class:`i-ph-sidebar-duotone inline-flex op50`},null,-1)]])),v(re,{modelValue:s.value,"onUpdate:modelValue":r[2]||=e=>s.value=e,"selected-container-class":`px0! py1 border-none bg-none flex-nowrap! h-full`,rules:o,class:`[&_[icon-catppuccin]]:filter-none! h-full border-none`},null,8,[`modelValue`])]),_.value?(d(),l(`div`,ot,[c(`p`,st,[v($,{number:x.value.count},null,8,[`number`]),r[5]||=t(` module unchanged, but cost `,-1),v(q,{duration:x.value.duration},null,8,[`duration`])]),c(`button`,{class:`rounded-md px2 py1 select-none h-full border border-base rounded-lg hover:bg-active`,title:g.value,onClick:S},[c(`div`,lt,u(g.value),1)],8,ct)])):T(``,!0)]),c(`div`,ut,[v(h,{modules:e.modules,"build-metrics":e.buildMetrics,"selected-fields":f.value,root:e.root},null,8,[`modules`,`build-metrics`,`selected-fields`,`root`])])])])])}}}),{__name:`FlowmapPluginFlow`}),ft={class:`flex gap-1 items-center flex-wrap`},pt={key:0,class:`i-ph-arrow-right-bold text-sm op-fade`},mt=[`onClick`],ht=s({__name:`ChartNavBreadcrumb`,props:{selected:{},options:{}},emits:[`select`],setup(t,{emit:n}){let r=t,i=n,a=E(()=>{let e=[],t=r.selected;for(;t;)e.unshift(t),t=t.parent;return e});return(t,n)=>(d(),l(`div`,ft,[(d(!0),l(_,null,e(a.value,(e,t)=>(d(),l(_,{key:e.id},[t>0?(d(),l(`div`,pt)):T(``,!0),c(`button`,{class:`hover:bg-active rounded px1`,onClick:t=>i(`select`,e)},[c(`span`,null,u(e.text||e.id),1)],8,mt)],64))),128))]))}}),gt={class:`grid grid-cols-[max-content_1fr] gap-2 p4`},_t={class:`flex flex-col gap-4`},vt={key:0,class:`grid grid-cols-[300px_1fr] gap-1`},yt=[`onClick`],bt={key:0,class:`flex gap2 items-center pl2 hover:bg-active`},xt={class:`font-mono text-sm`},St=[`onClick`],Ct=[`title`],wt=s({__name:`PluginsSunburst`,props:{graph:{},selected:{}},emits:[`select`],setup(n,{emit:r}){let i=n,a=r,o=p(`el`);w(()=>o.value?.append(i.graph.el));function s(e){return ne(i.graph.options.getColor?.(e)||`#000`)}return(r,i)=>{let p=x(`tooltip`);return d(),l(`div`,gt,[c(`div`,{ref_key:`el`,ref:o,class:`w-500px`},null,512),c(`div`,_t,[v(ht,{class:`border-b border-base py2`,selected:n.selected,options:n.graph.options,onSelect:i[0]||=e=>a(`select`,e)},null,8,[`selected`,`options`]),n.selected?(d(),l(`div`,vt,[(d(!0),l(_,null,e(n.selected.children,e=>(d(),l(_,{key:e.id},[c(`button`,{class:`ws-nowrap text-nowrap text-left overflow-hidden text-ellipsis text-sm hover:bg-active rounded px2`,onClick:t=>a(`select`,e)},[e.meta?.type===`hook`?(d(),l(`div`,bt,[i[1]||=c(`i`,{class:`i-ph-function-duotone inline-flex`},null,-1),c(`span`,xt,u(e.text),1)])):h(r.$slots,`module`,{child:e},()=>[c(`span`,null,u(e.text||e.id),1)],void 0,1)],8,yt),c(`button`,{class:`relative flex gap-1 items-center hover:bg-active rounded`,onClick:t=>a(`select`,e)},[c(`div`,{class:`h-5 rounded shadow border border-base`,style:f({background:s(e),width:`${e.size/n.selected.size*100}%`})},null,4),v(q,{duration:e.size,class:`text-xs`},null,8,[`duration`]),e.children.length>0&&e.meta?.type!==`hook`?g((d(),l(`div`,{key:0,title:`${e.children.length} dependencies`,class:`text-xs op-fade`},[t(` (`+u(e.children.length)+`) `,1)],8,Ct)),[[p,`${e.children.length} dependencies`]]):T(``,!0)],8,St)],64))),128))])):T(``,!0)])])}}});function Tt(e){let{data:t,nameKey:n,sizeKey:s,rootText:c,nodeType:l,graphOptions:u,onUpdate:d}=e,f=i(void 0),p=i(void 0),m=r(void 0),h=i(void 0),g,_=E(()=>{if(e.tree)return e.tree.value;let r=y(t),i=new Map,a=0,o={id:`~root`,text:c,size:0,sizeSelf:0,children:[]};if(!r?.length)return{map:i,root:o,maxDepth:a};let u=[];u.unshift(()=>{o.size+=o.children.reduce((e,t)=>e+t.size,0),o.subtext=K(o.size).join(` `),o.children.sort((e,t)=>t.size-e.size||e.id.localeCompare(t.id))});function d(e,t,n,r,o){if(i.has(t))return i.get(t);o>a&&(a=o);let s={id:t,text:n,size:0,sizeSelf:0,children:[],meta:{...e,path:n,type:`folder`},parent:r};return i.set(t,s),r.children.push(s),u.unshift(()=>{let t=s.sizeSelf;s.size+=s.children.reduce((e,t)=>e+t.size,0),s.subtext=K(s.size).join(` `),s.children.length&&t/s.size>.1&&s.children.push({id:`${s.id}-self`,text:``,size:t,sizeSelf:t,subtext:K(t).join(` `),children:[],meta:{...e,path:``,type:l},parent:s}),s.children.sort((e,t)=>t.size-e.size||e.id.localeCompare(t.id))}),s}function f(e){let t=e[n].split(`/`).filter(Boolean),r=o,a=``,c=0;t.forEach((o,u)=>{if(a+=(a?`/`:``)+o,c++,u===t.length-1){let t={id:e[n],text:o,size:e[s],sizeSelf:e[s],subtext:K(e[s]).join(` `),children:[],meta:{...e,path:o,type:l}};r.children.push(t),i.set(e[n],t)}else r=d(e,a,o,r,c)})}return r.forEach(f),u.forEach(e=>e()),{map:i,root:o,maxDepth:a}}),v=E(()=>({animate:G.value.chartAnimation,palette:{stroke:J.value?`#222`:`#555`,fg:J.value?`#fff`:`#000`,bg:J.value?`#111`:`#fff`},getColor:ie(_.value.root,J.value?.8:.9,J.value?1:1.1),getSubtext:e=>e.subtext,...u}));function x(e,t){m.value=e?.meta,e?.children.length||(e=e?.parent),h.value?.select(e,t)}function S(){g?.(),p.value=_.value.root,d?.(),a(()=>{let e=m.value&&_.value.map.get(m.value[n])||null;e&&x(e,!1)}),g=()=>{h.value?.dispose(),h.value=void 0,m.value=void 0}}return a(()=>{b(()=>[_.value,v.value],()=>{S()},{deep:!0,immediate:!1}),S()}),o(()=>{g?.()}),{tree:_,chartOptions:v,graph:h,nodeHover:f,nodeSelected:p,selectedNode:m,selectNode:x,buildGraph:S}}var Et={key:1,class:`relative h-full w-full`},Dt={class:`bg-glass absolute left-2 top-2 z-panel-content p2 border border-base rounded-lg flex flex-col gap-2`},Ot={class:`font-mono px1`},kt={class:`text-xs font-mono flex items-center gap-3 ml2`},At={class:`flex gap-2`},jt={class:`of-auto h-full pt-30`},Mt={key:2,class:`flex items-center justify-center w-full h-full`},Nt={key:0,class:`border border-base rounded-lg shadow-lg px3 py2 bg-glass pointer-events-none text-sm max-w-80`},Pt={key:0,class:`flex items-center gap2`},Ft={key:0,class:`flex font-semibold font-mono text-base mb2`},It={key:1,class:`border-t border-base pt2 flex flex-col gap-1.5 min-w-48`},Lt={class:`flex justify-between items-center py1`},Rt=[`datetime`],zt={class:`flex justify-between items-center py1`},Bt=[`datetime`],Vt={class:`flex justify-between items-center py1 border-t border-base border-dashed pt2`},Ht={key:2},Ut=Object.assign(s({__name:`PluginDetailsLoader`,props:{plugin:{},query:{},modules:{},root:{}},emits:[`close`],setup(e,{emit:r}){let i=e,a=r,o=N(),{state:s,isLoading:f,execute:p}=de(async()=>await o.value.call(`vite:inspect:get-plugin-details`,i.query,i.plugin),null),h=ue(()=>{p()},100);b(()=>[i.query.vite,i.query.env,i.plugin],()=>{p()}),ee(()=>{h()});let g=E(()=>{let e=new Set;return s.value?.calls?.filter(t=>e.has(t.module)?!1:(e.add(t.module),!0))??[]}),x=E(()=>s.value?.loadMetrics.reduce((e,t)=>e+t.duration,0)),S=E(()=>s.value?.transformMetrics.reduce((e,t)=>e+t.duration,0)),w=E(()=>s.value?.resolveIdMetrics.reduce((e,t)=>e+t.duration,0)),O=E(()=>s.value?.calls?.reduce((e,t)=>e+t.duration,0)),k=E(()=>i.modules.map(e=>({mod:e,path:ae(e.id,i.root),type:Y(e.id)}))),A=E(()=>I.filter(e=>k.value.some(t=>e.match.test(t.mod.id))));function j(e){return e?`/graph?module=${encodeURIComponent(e)}`:!1}let P=E(()=>{let e=new Map;if(!s.value)return{root:t({id:`~root`,text:`Project`,children:[]}),map:new Map,maxDepth:3};function t(t,n){e.set(t.id,t);let r=U(t,n,(e,t)=>(t?.meta?.duration??0)-(e?.meta?.duration??0));return r.children&&r.children.forEach(e=>{e.parent=r}),r}function n(e,n){let r=n.filter(e=>!A.value.some(t=>Y(e.module).name===t.name));return[...A.value.map((r,i)=>{let a=n.filter(e=>Y(e.module).name===r.name);return t({id:`${e}-${r.name}-${i}`,text:r.description,children:a.map((n,r)=>t({id:`${e}-${r}`,text:n.module,size:n.duration,meta:n})),meta:{type:`module`,title:r.description,id:`${e}-${r.name}-${i}`,duration:a.reduce((e,t)=>e+t.duration,0)}})}),t({id:`${e}-other`,text:`Other`,children:r.map((n,r)=>t({id:`${e}-other-${r}`,text:n.module,size:n.duration,meta:n})),meta:{type:`module`,title:`Other`,id:`${e}-other`,duration:r.reduce((e,t)=>e+t.duration,0)}})]}let r=n(`resolveId`,s.value.resolveIdMetrics),i=n(`loads`,s.value.loadMetrics),a=n(`transforms`,s.value.transformMetrics);function o(e,n,r){return t({id:e,text:n,children:r.sort((e,t)=>t.size-e.size),meta:{id:e,type:`hook`,title:n,duration:{"~loads":x.value,"~resolves":w.value,"~transforms":S.value}[e]}})}return{root:t({id:`~root`,text:`Project`,children:[o(`~resolves`,`Resolve Id`,r),o(`~loads`,`Load`,i),o(`~transforms`,`Transform`,a)]}),map:e,maxDepth:3}}),F=D(fe()),{tree:L,chartOptions:R,graph:z,nodeHover:H,nodeSelected:K,selectedNode:J,selectNode:Z,buildGraph:ne}=Tt({data:[],tree:P,nameKey:`id`,sizeKey:`duration`,rootText:`Project`,graphOptions:{onClick(e){e&&(H.value=e),J.value=e?.meta},onHover(e){e&&(H.value=e),e===null&&(H.value=void 0)},onLeave(){H.value=void 0},onSelect(e){K.value=e||L.value.root,J.value=e?.meta},getSubtext(e){return B(e.size,!0)}},onUpdate(){z.value=new V(L.value.root,R.value)}});return b(()=>G.value.pluginDetailsViewType,()=>{ne()}),(r,i)=>{let o=M,p=dt,h=se,b=te;return d(),l(_,null,[y(f)?(d(),n(o,{key:0})):y(s)?.calls?.length?(d(),l(`div`,Et,[v(W,{class:`absolute right-2 top-1.5`,onClick:i[0]||=e=>a(`close`)}),c(`div`,Dt,[c(`div`,Ot,[v(X,{name:y(s)?.plugin_name},null,8,[`name`])]),c(`div`,kt,[v(q,{duration:w.value,class:`flex gap-1 items-center`,title:`Resolve Id hooks cost: ${y(B)(w.value,!0)}`},{default:m(()=>[...i[3]||=[c(`span`,{class:`i-ph-magnifying-glass-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),v(q,{duration:x.value,class:`flex gap-1 items-center`,title:`Load hooks cost: ${y(B)(x.value,!0)}`},{default:m(()=>[...i[4]||=[c(`span`,{class:`i-ph-upload-simple-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),v(q,{duration:S.value,class:`flex gap-1 items-center`,title:`Transform hooks cost: ${y(B)(S.value,!0)}`},{default:m(()=>[...i[5]||=[c(`span`,{class:`i-ph-magic-wand-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),i[7]||=c(`span`,{class:`op40`},`|`,-1),v(q,{duration:O.value,class:`flex gap-1 items-center`,title:`Total build cost: ${y(B)(O.value,!0)}`},{default:m(()=>[...i[6]||=[c(`span`,{class:`i-ph-clock-duotone inline-block`},null,-1)]]),_:1},8,[`duration`,`title`]),i[8]||=c(`span`,{class:`op40`},`|`,-1),v($,{number:g.value.length,icon:`i-catppuccin-java-class-abstract`,color:`transparent color-scale-neutral`,title:`Module processed: ${g.value.length}`},null,8,[`number`,`title`]),i[9]||=c(`span`,{class:`op40`},`|`,-1),v($,{number:y(s)?.calls?.length??0,icon:`i-ph-arrow-counter-clockwise`,color:`transparent color-scale-neutral`,title:`Total calls: ${y(s)?.calls?.length??0}`},null,8,[`number`,`title`])]),c(`div`,At,[c(`button`,{class:C([y(G).pluginDetailsViewType===`flow`?`text-primary`:``,`flex gap-2 items-center justify-center px2 py1 w-40 border border-base rounded-lg hover:bg-active`]),onClick:i[1]||=e=>y(G).pluginDetailsViewType=`flow`},[...i[10]||=[c(`div`,{class:`i-ph-git-branch-duotone rotate-180`},null,-1),t(` Build Flow `,-1)]],2),c(`button`,{class:C([y(G).pluginDetailsViewType===`sunburst`?`text-primary`:``,`flex gap-2 items-center justify-center px2 py1 w-40 border border-base rounded-lg hover:bg-active`]),onClick:i[2]||=e=>y(G).pluginDetailsViewType=`sunburst`},[...i[11]||=[c(`div`,{"i-ph-chart-sunburst-duotone":``},null,-1),t(` Sunburst `,-1)]],2)])]),c(`div`,jt,[y(G).pluginDetailsViewType===`flow`?(d(),n(p,{key:0,modules:e.modules,"build-metrics":y(s),root:e.root},null,8,[`modules`,`build-metrics`,`root`])):T(``,!0),y(G).pluginDetailsViewType===`sunburst`&&y(z)?(d(),n(wt,{key:1,graph:y(z),selected:y(K),onSelect:y(Z)},{module:m(({child:t})=>[v(h,{id:t.text,class:`w-full border-none ws-nowrap hover:bg-active border border-base rounded block px2 py1`,cwd:e.root,link:j(t.meta?.graphModuleId)},null,8,[`id`,`cwd`,`link`])]),_:1},8,[`graph`,`selected`,`onSelect`])):T(``,!0)])])):(d(),l(`div`,Mt,[...i[12]||=[c(`span`,{class:`italic op50`},` No data `,-1)]])),v(b,{"hover-x":F.x,"hover-y":F.y},{default:m(()=>[y(H)?(d(),l(`div`,Nt,[y(H).meta?.title?(d(),l(`div`,Pt,[t(u(y(H).meta.title)+` `,1),v(q,{duration:y(H).meta.duration},null,8,[`duration`])])):(d(),l(_,{key:1},[y(H).meta?.module?(d(),l(`div`,Ft,[v(h,{id:y(H).meta.module,cwd:e.root,link:!1},null,8,[`id`,`cwd`])])):T(``,!0),y(H).meta?.module?(d(),l(`div`,It,[c(`div`,Lt,[i[13]||=c(`label`,{class:`text-xs opacity-70`},`Start Time`,-1),c(`time`,{datetime:new Date(y(H).meta.timestamp_start).toISOString(),class:`font-mono text-xs px1.5 py0.5 rounded`,bg:`base/10`},u(y(Q)(y(H).meta.timestamp_start)),9,Rt)]),c(`div`,zt,[i[14]||=c(`label`,{class:`text-xs opacity-70`},`End Time`,-1),c(`time`,{datetime:new Date(y(H).meta.timestamp_end).toISOString(),class:`font-mono text-xs px1.5 py0.5 rounded`,bg:`base/10`},u(y(Q)(y(H).meta.timestamp_end)),9,Bt)]),c(`div`,Vt,[i[15]||=c(`label`,{class:`text-xs op70`},`Duration`,-1),v(q,{duration:y(H).meta.duration},null,8,[`duration`])])])):(d(),l(`div`,Ht,[v(q,{duration:y(H).meta?.duration},null,8,[`duration`])]))],64))])):T(``,!0)]),_:1},8,[`hover-x`,`hover-y`])],64)}}}),{__name:`DataPluginDetailsLoader`}),Wt={class:`flex flex-col gap-2 p4`},Gt={class:`flex pb2`},Kt={class:`w-8 text-right text-xs op50`},qt={class:`overflow-hidden text-ellipsis break-all line-clamp-2`},Jt=s({__name:`PluginsFlatList`,props:{plugins:{},itemSize:{},pageMode:{type:Boolean,default:!0},scroller:{default:`dynamic`}},setup(e){let t=A();return(n,r)=>(d(),l(`div`,Wt,[v(H,{items:e.plugins,"key-prop":`plugin_id`,"item-size":e.itemSize,"page-mode":e.pageMode,scroller:e.scroller},{default:m(({item:e})=>[c(`div`,Gt,[v(y(k),{to:{path:y(t).path,query:{plugin:e.plugin_id}},class:`font-mono border rounded border-base w-full px2 py1 text-sm hover:bg-active flex gap-4 items-center`},{default:m(()=>[c(`div`,Kt,` #`+u(e.plugin_id),1),c(`span`,qt,[v(X,{name:e.name},null,8,[`name`])])]),_:2},1032,[`to`])])]),_:1},8,[`items`,`item-size`,`page-mode`,`scroller`])]))}}),Yt={key:1,class:`h-full flex flex-col gap-3 items-center justify-center p8 text-center`},Xt={class:`font-mono text-sm max-w-180 ws-pre-wrap`},Zt={key:2,class:`relative min-h-screen`},Qt={class:`sticky left-4 right-4 top-4 z-panel-nav p-4`},$t={class:`fixed bottom-4 py-1 px-2 bg-glass left-1/2 translate-x--1/2 border border-base rounded-full text-center text-xs`},en={class:`op50`},tn=s({__name:`plugins`,setup(e){let a=N(),o=A(),s=j(),f=i(null),p=i([]),m=r(!0),h=r(null),g=E(()=>typeof o.query.plugin==`string`?o.query.plugin:void 0),_=r({search:o.query.search||``,selected:o.query.plugin_types?W(o.query.plugin_types):null}),y=E(()=>f.value?.instances[0]),b=E(()=>y.value?.environments[0]||``),x=E(()=>y.value?.root||``),C=E(()=>!y.value?.vite||!b.value?null:{vite:y.value.vite,env:b.value}),w=E(()=>y.value?.plugins.map((e,t)=>z(e,t))??[]),D=E(()=>[...R.filter(e=>w.value.some(t=>e.match.test(t.name))),L]),k=E(()=>{let e=w.value;return _.value.selected&&(e=e.filter(e=>{let t=P(e.name);return _.value.selected.includes(t.name)})),e}),F=ge(()=>k.value,()=>new Z(k.value,{includeScore:!0,keys:[`name`],ignoreLocation:!0,threshold:.4})),I=E(()=>_.value.search?F.value.search(_.value.search).map(e=>e.item):k.value);he(_.value,e=>{s.replace({query:G({...o.query,search:e.search||void 0,plugin_types:e.selected||void 0})})},{debounce:500});function z(e,t){let n=e&&typeof e==`object`?e:{};return{plugin_id:t,name:typeof n.name==`string`?n.name:`plugin-${t}`,enforce:n.enforce===`pre`||n.enforce===`post`?n.enforce:void 0}}function B(){g.value&&s.replace({query:{...o.query,plugin:void 0}})}async function V(e={}){e.silent||(m.value=!0),h.value=null;try{f.value=await a.value.call(`vite:inspect:get-metadata`),C.value?p.value=(await a.value.call(`vite:inspect:get-modules-list`,C.value)).map(U):p.value=[]}catch(e){h.value=e}finally{e.silent||(m.value=!1)}}let H=ue(()=>{V({silent:!0})},100);function U(e){return{...e,imports:e.deps.map(e=>({module_id:e}))}}function W(e){return Array.isArray(e)?e.map(String):[String(e)]}function G(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0))}return S(()=>{V()}),ee(()=>{H()}),pe(`Escape`,e=>{e.preventDefault(),!(!e.isTrusted||e.repeat)&&B()}),(e,r)=>{let i=M,a=Ut;return m.value?(d(),n(i,{key:0,text:`Loading plugins...`})):h.value?(d(),l(`div`,Yt,[r[3]||=c(`div`,{class:`i-ph-warning-duotone text-4xl text-amber`},null,-1),c(`div`,Xt,u(h.value.message),1),c(`button`,{class:`btn-action`,onClick:r[0]||=e=>V()},[...r[2]||=[c(`span`,{class:`i-ph-arrow-clockwise-duotone`},null,-1),t(` Retry `,-1)]])])):(d(),l(`div`,Zt,[c(`div`,Qt,[v(re,{modelValue:_.value,"onUpdate:modelValue":r[1]||=e=>_.value=e,rules:D.value},null,8,[`modelValue`,`rules`])]),v(Jt,{plugins:I.value??[],scroller:`window`},null,8,[`plugins`]),c(`div`,$t,[c(`span`,en,u(I.value.length)+` of `+u(w.value.length||0),1)]),g.value&&C.value?(d(),l(`div`,{key:0,class:`fixed inset-0 backdrop-blur-8 backdrop-brightness-95 z-panel-content`,onClick:O(B,[`self`])},[(d(),l(`div`,{key:g.value,class:`fixed right-0 bottom-0 top-20 left-20 z-panel-content bg-glass border-l border-t border-base rounded-tl-xl`},[v(a,{plugin:g.value,query:C.value,modules:p.value,root:x.value,onClose:B},null,8,[`plugin`,`query`,`modules`,`root`])]))])):T(``,!0)]))}}});export{tn as default};
@@ -1 +1 @@
1
- {"id":"ef0d166a-8482-442c-9350-f2a451006de7","timestamp":1762223371650}
1
+ {"id":"d3f7ed61-b5b0-435f-9c70-ecd6f63b3201","timestamp":1784710403214}
@@ -0,0 +1 @@
1
+ {"id":"d3f7ed61-b5b0-435f-9c70-ecd6f63b3201","timestamp":1784710403214,"prerendered":[]}
@@ -0,0 +1,10 @@
1
+ (function(){
2
+ /**
3
+ * @license
4
+ * Copyright 2019 Google LLC
5
+ * SPDX-License-Identifier: Apache-2.0
6
+ */
7
+ let e=Symbol(`Comlink.proxy`),t=Symbol(`Comlink.endpoint`),n=Symbol(`Comlink.releaseProxy`),r=Symbol(`Comlink.finalizer`),i=Symbol(`Comlink.thrown`),a=e=>typeof e==`object`&&!!e||typeof e==`function`,o=new Map([[`proxy`,{canHandle:t=>a(t)&&t[e],serialize(e){let{port1:t,port2:n}=new MessageChannel;return c(e,t),[n,[n]]},deserialize(e){return e.start(),d(e)}}],[`throw`,{canHandle:e=>a(e)&&i in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){throw e.isError?Object.assign(Error(e.value.message),e.value):e.value}}]]);function s(e,t){for(let n of e)if(t===n||n===`*`||n instanceof RegExp&&n.test(t))return!0;return!1}function c(e,t=globalThis,n=[`*`]){t.addEventListener(`message`,function a(o){if(!o||!o.data)return;if(!s(n,o.origin)){console.warn(`Invalid origin '${o.origin}' for comlink proxy`);return}let{id:l,type:d,path:f}=Object.assign({path:[]},o.data),p=(o.data.argumentList||[]).map(T),m;try{let t=f.slice(0,-1).reduce((e,t)=>e[t],e),n=f.reduce((e,t)=>e[t],e);switch(d){case`GET`:m=n;break;case`SET`:t[f.slice(-1)[0]]=T(o.data.value),m=!0;break;case`APPLY`:m=n.apply(t,p);break;case`CONSTRUCT`:m=C(new n(...p));break;case`ENDPOINT`:{let{port1:t,port2:n}=new MessageChannel;c(e,n),m=S(t,[t])}break;case`RELEASE`:m=void 0;break;default:return}}catch(e){m={value:e,[i]:0}}Promise.resolve(m).catch(e=>({value:e,[i]:0})).then(n=>{let[i,o]=w(n);t.postMessage(Object.assign(Object.assign({},i),{id:l}),o),d===`RELEASE`&&(t.removeEventListener(`message`,a),u(t),r in e&&typeof e[r]==`function`&&e[r]())}).catch(e=>{let[n,r]=w({value:TypeError(`Unserializable return value`),[i]:0});t.postMessage(Object.assign(Object.assign({},n),{id:l}),r)})}),t.start&&t.start()}function l(e){return e.constructor.name===`MessagePort`}function u(e){l(e)&&e.close()}function d(e,t){let n=new Map;return e.addEventListener(`message`,function(e){let{data:t}=e;if(!t||!t.id)return;let r=n.get(t.id);if(r)try{r(t)}finally{n.delete(t.id)}}),v(e,n,[],t)}function f(e){if(e)throw Error(`Proxy has been released and is not useable`)}function p(e){return E(e,new Map,{type:`RELEASE`}).then(()=>{u(e)})}let m=new WeakMap,h=`FinalizationRegistry`in globalThis&&new FinalizationRegistry(e=>{let t=(m.get(e)||0)-1;m.set(e,t),t===0&&p(e)});function g(e,t){let n=(m.get(t)||0)+1;m.set(t,n),h&&h.register(e,t,e)}function _(e){h&&h.unregister(e)}function v(e,r,i=[],a=function(){}){let o=!1,s=new Proxy(a,{get(t,a){if(f(o),a===n)return()=>{_(s),p(e),r.clear(),o=!0};if(a===`then`){if(i.length===0)return{then:()=>s};let t=E(e,r,{type:`GET`,path:i.map(e=>e.toString())}).then(T);return t.then.bind(t)}return v(e,r,[...i,a])},set(t,n,a){f(o);let[s,c]=w(a);return E(e,r,{type:`SET`,path:[...i,n].map(e=>e.toString()),value:s},c).then(T)},apply(n,a,s){f(o);let c=i[i.length-1];if(c===t)return E(e,r,{type:`ENDPOINT`}).then(T);if(c===`bind`)return v(e,r,i.slice(0,-1));let[l,u]=b(s);return E(e,r,{type:`APPLY`,path:i.map(e=>e.toString()),argumentList:l},u).then(T)},construct(t,n){f(o);let[a,s]=b(n);return E(e,r,{type:`CONSTRUCT`,path:i.map(e=>e.toString()),argumentList:a},s).then(T)}});return g(s,e),s}function y(e){return Array.prototype.concat.apply([],e)}function b(e){let t=e.map(w);return[t.map(e=>e[0]),y(t.map(e=>e[1]))]}let x=new WeakMap;function S(e,t){return x.set(e,t),e}function C(t){return Object.assign(t,{[e]:!0})}function w(e){for(let[t,n]of o)if(n.canHandle(e)){let[r,i]=n.serialize(e);return[{type:`HANDLER`,name:t,value:r},i]}return[{type:`RAW`,value:e},x.get(e)||[]]}function T(e){switch(e.type){case`HANDLER`:return o.get(e.name).deserialize(e.value);case`RAW`:return e.value}}function E(e,t,n,r){return new Promise(i=>{let a=D();t.set(a,i),e.start&&e.start(),e.postMessage(Object.assign({id:a},n),r)})}function D(){return[,,,,].fill(0).map(()=>Math.floor(Math.random()*(2**53-1)).toString(16)).join(`-`)}let O=Object.freeze({diffTimeout:1,diffEditCost:4,matchThreshold:.5,matchDistance:1e3,patchDeleteThreshold:.5,patchMargin:4,matchMaxBits:32});function k(e){if(e?.__resolved)return e;let t={...O,...e};return Object.defineProperty(t,"__resolved",{value:!0,enumerable:!1}),t}function A(e,t){return[e,t]}function j(e,t,n,r=!0,i){let a=k(n);i===void 0&&(i=a.diffTimeout<=0?Number.MAX_VALUE:Date.now()+a.diffTimeout*1e3);let o=i;if(e==null||t==null)throw Error(`Null input. (diff_main)`);if(e===t)return e?[A(0,e)]:[];let s=r,c=R(e,t),l=e.substring(0,c);e=e.substring(c),t=t.substring(c),c=z(e,t);let u=e.substring(e.length-c);e=e.substring(0,e.length-c),t=t.substring(0,t.length-c);let d=M(e,t,a,s,o);return l&&d.unshift(A(0,l)),u&&d.push(A(0,u)),Y(d),d}function M(e,t,n,r,i){let a;if(!e)return[A(1,t)];if(!t)return[A(-1,e)];let o=e.length>t.length?e:t,s=e.length>t.length?t:e,c=o.indexOf(s);if(c!==-1)return a=[A(1,o.substring(0,c)),A(0,s),A(1,o.substring(c+s.length))],e.length>t.length&&(a[0][0]=a[2][0]=-1),a;if(s.length===1)return[A(-1,e),A(1,t)];let l=V(e,t,n);if(l){let e=l[0],t=l[1],a=l[2],o=l[3],s=l[4],c=j(e,a,n,r,i),u=j(t,o,n,r,i);return c.concat([A(0,s)],u)}return r&&e.length>100&&t.length>100?N(e,t,n,i):P(e,t,n,i)}function N(e,t,n,r){let i=I(e,t);e=i.chars1,t=i.chars2;let a=i.lineArray,o=j(e,t,n,!1,r);L(o,a),H(o),o.push(A(0,``));let s=0,c=0,l=0,u=``,d=``;for(;s<o.length;){switch(o[s][0]){case 1:l++,d+=o[s][1];break;case-1:c++,u+=o[s][1];break;case 0:if(c>=1&&l>=1){o.splice(s-c-l,c+l),s=s-c-l;let e=j(u,d,n,!1,r);for(let t=e.length-1;t>=0;t--)o.splice(s,0,e[t]);s+=e.length}l=0,c=0,u=``,d=``;break}s++}return o.pop(),o}function P(e,t,n,r){let i=e.length,a=t.length,o=Math.ceil((i+a)/2),s=o,c=2*o,l=Array(c),u=Array(c);for(let e=0;e<c;e++)l[e]=-1,u[e]=-1;l[s+1]=0,u[s+1]=0;let d=i-a,f=d%2!=0,p=0,m=0,h=0,g=0;for(let _=0;_<o&&!(Date.now()>r);_++){for(let o=-_+p;o<=_-m;o+=2){let h=s+o,g;g=o===-_||o!==_&&l[h-1]<l[h+1]?l[h+1]:l[h-1]+1;let v=g-o;for(;g<i&&v<a&&e.charAt(g)===t.charAt(v);)g++,v++;if(l[h]=g,g>i)m+=2;else if(v>a)p+=2;else if(f){let a=s+d-o;if(a>=0&&a<c&&u[a]!==-1){let o=i-u[a];if(g>=o)return F(e,t,n,g,v,r)}}}for(let o=-_+h;o<=_-g;o+=2){let p=s+o,m;m=o===-_||o!==_&&u[p-1]<u[p+1]?u[p+1]:u[p-1]+1;let v=m-o;for(;m<i&&v<a&&e.charAt(i-m-1)===t.charAt(a-v-1);)m++,v++;if(u[p]=m,m>i)g+=2;else if(v>a)h+=2;else if(!f){let a=s+d-o;if(a>=0&&a<c&&l[a]!==-1){let o=l[a],c=s+o-a;if(m=i-m,o>=m)return F(e,t,n,o,c,r)}}}}return[A(-1,e),A(1,t)]}function F(e,t,n,r,i,a){let o=e.substring(0,r),s=t.substring(0,i),c=e.substring(r),l=t.substring(i),u=j(o,s,n,!1,a),d=j(c,l,n,!1,a);return u.concat(d)}function I(e,t){let n=[],r={},i=4e4;n[0]=``;function a(e){let t=``,a=0,o=-1,s=n.length;for(;o<e.length-1;){o=e.indexOf(`
8
+ `,a),o===-1&&(o=e.length-1);let c=e.substring(a,o+1);(r.hasOwnProperty?Object.hasOwn(r,c):r[c]!==void 0)?t+=String.fromCharCode(r[c]):(s===i&&(c=e.substring(a),o=e.length),t+=String.fromCharCode(s),r[c]=s,n[s++]=c),a=o+1}return t}let o=a(e);return i=65535,{chars1:o,chars2:a(t),lineArray:n}}function L(e,t){for(let n=0;n<e.length;n++){let r=e[n][1],i=[];for(let e=0;e<r.length;e++)i[e]=t[r.charCodeAt(e)];e[n][1]=i.join(``)}}function R(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let n=0,r=Math.min(e.length,t.length),i=r,a=0;for(;n<i;)e.substring(a,i)===t.substring(a,i)?(n=i,a=n):r=i,i=Math.floor((r-n)/2+n);return i}function z(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let n=0,r=Math.min(e.length,t.length),i=r,a=0;for(;n<i;)e.substring(e.length-i,e.length-a)===t.substring(t.length-i,t.length-a)?(n=i,a=n):r=i,i=Math.floor((r-n)/2+n);return i}function B(e,t){let n=e.length,r=t.length;if(n===0||r===0)return 0;n>r?e=e.substring(n-r):n<r&&(t=t.substring(0,n));let i=Math.min(n,r);if(e===t)return i;let a=0,o=1;for(;;){let n=e.substring(i-o),r=t.indexOf(n);if(r===-1)return a;o+=r,(r===0||e.substring(i-o)===t.substring(0,o))&&(a=o,o++)}}function V(e,t,n){if(n.diffTimeout<=0)return null;let r=e.length>t.length?e:t,i=e.length>t.length?t:e;if(r.length<4||i.length*2<r.length)return null;function a(e,t,n){let r=e.substring(n,n+Math.floor(e.length/4)),i=-1,a=``,o,s,c,l;for(;(i=t.indexOf(r,i+1))!==-1;){let r=R(e.substring(n),t.substring(i)),u=z(e.substring(0,n),t.substring(0,i));a.length<u+r&&(a=t.substring(i-u,i)+t.substring(i,i+r),o=e.substring(0,n-u),s=e.substring(n+r),c=t.substring(0,i-u),l=t.substring(i+r))}return a.length*2>=e.length?[o,s,c,l,a]:null}let o=a(r,i,Math.ceil(r.length/4)),s=a(r,i,Math.ceil(r.length/2)),c;if(!o&&!s)return null;c=s?o&&o[4].length>s[4].length?o:s:o;let l,u,d,f;e.length>t.length?(l=c[0],u=c[1],d=c[2],f=c[3]):(d=c[0],f=c[1],l=c[2],u=c[3]);let p=c[4];return[l,u,d,f,p]}function H(e){let t=!1,n=[],r=0,i=null,a=0,o=0,s=0,c=0,l=0;for(;a<e.length;)e[a][0]===0?(n[r++]=a,o=c,s=l,c=0,l=0,i=e[a][1]):(e[a][0]===1?c+=e[a][1].length:l+=e[a][1].length,i&&i.length<=Math.max(o,s)&&i.length<=Math.max(c,l)&&(e.splice(n[r-1],0,A(-1,i)),e[n[r-1]+1][0]=1,r--,r--,a=r>0?n[r-1]:-1,o=0,s=0,c=0,l=0,i=null,t=!0)),a++;for(t&&Y(e),J(e),a=1;a<e.length;){if(e[a-1][0]===-1&&e[a][0]===1){let t=e[a-1][1],n=e[a][1],r=B(t,n),i=B(n,t);r>=i?(r>=t.length/2||r>=n.length/2)&&(e.splice(a,0,A(0,n.substring(0,r))),e[a-1][1]=t.substring(0,t.length-r),e[a+1][1]=n.substring(r),a++):(i>=t.length/2||i>=n.length/2)&&(e.splice(a,0,A(0,t.substring(0,i))),e[a-1][0]=1,e[a-1][1]=n.substring(0,n.length-i),e[a+1][0]=-1,e[a+1][1]=t.substring(i),a++),a++}a++}}let U=/[^a-z0-9]/i,W=/\s/,G=/[\r\n]/,K=/\n\r?\n$/,q=/^\r?\n\r?\n/;function J(e){function t(e,t){if(!e||!t)return 6;let n=e.charAt(e.length-1),r=t.charAt(0),i=n.match(U),a=r.match(U),o=i&&n.match(W),s=a&&r.match(W),c=o&&n.match(G),l=s&&r.match(G),u=c&&e.match(K),d=l&&t.match(q);return u||d?5:c||l?4:i&&!o&&s?3:o||s?2:i||a?1:0}let n=1;for(;n<e.length-1;){if(e[n-1][0]===0&&e[n+1][0]===0){let r=e[n-1][1],i=e[n][1],a=e[n+1][1],o=z(r,i);if(o){let e=i.substring(i.length-o);r=r.substring(0,r.length-o),i=e+i.substring(0,i.length-o),a=e+a}let s=r,c=i,l=a,u=t(r,i)+t(i,a);for(;i.charAt(0)===a.charAt(0);){r+=i.charAt(0),i=i.substring(1)+a.charAt(0),a=a.substring(1);let e=t(r,i)+t(i,a);e>=u&&(u=e,s=r,c=i,l=a)}e[n-1][1]!==s&&(s?e[n-1][1]=s:(e.splice(n-1,1),n--),e[n][1]=c,l?e[n+1][1]=l:(e.splice(n+1,1),n--))}n++}}function Y(e){e.push(A(0,``));let t=0,n=0,r=0,i=``,a=``,o;for(;t<e.length;)switch(e[t][0]){case 1:r++,a+=e[t][1],t++;break;case-1:n++,i+=e[t][1],t++;break;case 0:n+r>1?(n!==0&&r!==0&&(o=R(a,i),o!==0&&(t-n-r>0&&e[t-n-r-1][0]===0?e[t-n-r-1][1]+=a.substring(0,o):(e.splice(0,0,A(0,a.substring(0,o))),t++),a=a.substring(o),i=i.substring(o)),o=z(a,i),o!==0&&(e[t][1]=a.substring(a.length-o)+e[t][1],a=a.substring(0,a.length-o),i=i.substring(0,i.length-o))),t-=n+r,e.splice(t,n+r),i.length&&(e.splice(t,0,A(-1,i)),t++),a.length&&(e.splice(t,0,A(1,a)),t++),t++):t!==0&&e[t-1][0]===0?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,r=0,n=0,i=``,a=``;break}e[e.length-1][1]===``&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===0&&e[t+1][0]===0&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),s=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),s=!0)),t++;s&&Y(e)}function X(e,t){let n=j(e.replace(/\r\n/g,`
9
+ `),t.replace(/\r\n/g,`
10
+ `));return H(n),n}c({calculateDiff:X})})();