@vitejs/devtools 0.0.0-alpha.0 → 0.0.0-alpha.10

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 (72) hide show
  1. package/{bin.mjs → bin.js} +1 -1
  2. package/dist/cli-commands-CWESTkWI.js +97 -0
  3. package/dist/cli-commands.d.ts +18 -0
  4. package/dist/cli-commands.js +5 -0
  5. package/dist/cli.js +17 -0
  6. package/dist/client/inject.d.ts +4 -0
  7. package/dist/client/inject.js +33 -0
  8. package/dist/client/standalone/assets/index-BGdE2uyE.css +1 -0
  9. package/dist/client/standalone/assets/index-BXYGGkRo.js +7 -0
  10. package/dist/client/standalone/index.html +14 -0
  11. package/dist/client/webcomponents.d.ts +45 -0
  12. package/dist/client/webcomponents.js +1063 -0
  13. package/dist/dirs-DcSK9l9L.js +9 -0
  14. package/dist/dirs.d.ts +5 -0
  15. package/dist/dirs.js +3 -0
  16. package/dist/dist-B0hQ6r05.js +6779 -0
  17. package/dist/index-C-9eMTqf.d.ts +142 -0
  18. package/dist/index.d.ts +46 -0
  19. package/dist/index.js +4 -0
  20. package/dist/plugins-5VE4Mfdt.js +1365 -0
  21. package/package.json +51 -56
  22. package/dist/cli-CkEkRmBL.mjs +0 -176
  23. package/dist/cli.d.mts +0 -1
  24. package/dist/cli.mjs +0 -3
  25. package/dist/dirs-6LDFDMFM.mjs +0 -7
  26. package/dist/dirs.d.mts +0 -4
  27. package/dist/dirs.mjs +0 -3
  28. package/dist/functions-CKJw6Oxo.mjs +0 -1066
  29. package/dist/functions-peYM_6iz.mjs +0 -3
  30. package/dist/index.d.mts +0 -13
  31. package/dist/index.mjs +0 -7
  32. package/dist/nitro.json +0 -15
  33. package/dist/node/cli.d.mts +0 -1
  34. package/dist/node/cli.mjs +0 -3
  35. package/dist/public/200.html +0 -25
  36. package/dist/public/404.html +0 -25
  37. package/dist/public/_nuxt/B0gvptKi.js +0 -1
  38. package/dist/public/_nuxt/B1XPhBbs.js +0 -4
  39. package/dist/public/_nuxt/B4YzJ31L.js +0 -1
  40. package/dist/public/_nuxt/BHxVjsIi.js +0 -1
  41. package/dist/public/_nuxt/BKXf1uMu.js +0 -1
  42. package/dist/public/_nuxt/BKZ3jkBI.js +0 -1
  43. package/dist/public/_nuxt/Bnn-hxaI.js +0 -1
  44. package/dist/public/_nuxt/BrR0v-Bn.js +0 -1
  45. package/dist/public/_nuxt/BuzEimhA.js +0 -33
  46. package/dist/public/_nuxt/C4K5k6WM.js +0 -1
  47. package/dist/public/_nuxt/COxwzm_n.js +0 -12
  48. package/dist/public/_nuxt/CaCHQCx7.js +0 -1
  49. package/dist/public/_nuxt/CcGHFnjf.js +0 -1
  50. package/dist/public/_nuxt/CmTKMvEX.js +0 -1
  51. package/dist/public/_nuxt/CwDtpcut.js +0 -1
  52. package/dist/public/_nuxt/DKLzMrv9.js +0 -1
  53. package/dist/public/_nuxt/I6F6kbCC.js +0 -1
  54. package/dist/public/_nuxt/WiKH-0vv.js +0 -1
  55. package/dist/public/_nuxt/YnXJxoTD.js +0 -1
  56. package/dist/public/_nuxt/builds/latest.json +0 -1
  57. package/dist/public/_nuxt/builds/meta/4e2f12bf-362f-48e3-9beb-2b83e6e986dc.json +0 -1
  58. package/dist/public/_nuxt/diff.worker-394KunD7.js +0 -4
  59. package/dist/public/_nuxt/entry.DadeTU15.css +0 -1
  60. package/dist/public/_nuxt/error-404.RpxUbdEP.css +0 -1
  61. package/dist/public/_nuxt/error-500.tfCn4Lmz.css +0 -1
  62. package/dist/public/_nuxt/flow.CT0fChr5.css +0 -1
  63. package/dist/public/_nuxt/kgs9XIg8.js +0 -1
  64. package/dist/public/dot-grid-dark.png +0 -0
  65. package/dist/public/dot-grid-light.png +0 -0
  66. package/dist/public/fonts/dmmono-612bc94f.woff2 +0 -0
  67. package/dist/public/fonts/dmmono-cbe07c46.woff2 +0 -0
  68. package/dist/public/fonts/dmsans-b28079ff.woff2 +0 -0
  69. package/dist/public/fonts/dmsans-b4f1d45c.woff2 +0 -0
  70. package/dist/public/index.html +0 -25
  71. /package/{LICENSE.md → LICENSE} +0 -0
  72. /package/dist/{cli-C3YoliaZ.d.mts → cli.d.ts} +0 -0
@@ -1 +0,0 @@
1
- var e=function(exports){function t(e){"@babel/helpers - typeof";return t=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t(e)}function n(e,n){if(t(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,n||`default`);if(t(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(e)}function r(e){var r=n(e,`string`);return t(r)==`symbol`?r:r+``}function i(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}return exports.defineProperty=i,exports}({});let t;var n=(t=Symbol.toStringTag,class{constructor(){e.defineProperty(this,`_map`,void 0),e.defineProperty(this,`_weakMap`,void 0),e.defineProperty(this,t,`MaybeWeakMap`),this._map=new Map,this._weakMap=new WeakMap}delete(e){return this._weakMap.has(e)?this._weakMap.delete(e):this._map.delete(e)}has(e){return this._weakMap.has(e)?!0:this._map.has(e)}set(e,t){return this._weakMap.has(e)?this._weakMap.set(e,t):this._map.set(e,t),this}get(e){return this._weakMap.has(e)?this._weakMap.get(e):this._map.get(e)}clear(){this._map.clear()}}),r=class{constructor(t){e.defineProperty(this,`_mapTree`,void 0),this.length=t,this._mapTree=new Map}_getLastMap(e){let t=this._mapTree;for(let n of e.slice(0,-1))t.has(n)||t.set(n,new Map),t=t.get(n);return t}set(e,t){if(e.length!==this.length)throw Error(`Expect tuple of length ${this.length}, got ${e.length}`);let n=this._getLastMap(e);return n.set(e[e.length-1],t),this}get(e){let t=this._getLastMap(e);return t.get(e[e.length-1])}clear(){this._mapTree.clear()}delete(e){let t=this._getLastMap(e);return t.delete(e[e.length-1])}get size(){return this._mapTree.size}*_traverseMap(){function*e(t,n,r){if(r===0)yield{keys:n,map:t};else for(let[i,a]of t.entries())yield*e(a,[...n,i],r-1)}yield*e(this._mapTree,[],this.length)}},i=class{constructor(){e.defineProperty(this,`_lengthMap`,void 0),this._lengthMap=new Map}get(e){let t=e.length,n=this._lengthMap.get(t);return n?.get(e)}set(e,t){let n=e.length,i=this._lengthMap.get(n);return i||(i=new r(n),this._lengthMap.set(n,i)),i.set(e,t),this}delete(e){let t=e.length,n=this._lengthMap.get(t);return n?.delete(e)??!1}clear(){this._lengthMap.clear()}};function a(e){let t=new i,n=function(...n){let r=t.get(n);return r||(r=e(...n),t.set(n,r),r)};return n.cache=t,n}const o=[{match:/virtual:|^\0/,name:`virtual`,description:`Virtual`,icon:`i-catppuccin-symlink`},{match:/^@?[\w-]+\/?/,name:`package`,description:`Package`,icon:`i-catppuccin-java-class-abstract`},{match:/[\\/]node_modules[\\/]/i,name:`node_modules`,description:`Node Modules`,icon:`i-catppuccin-folder-node-open`},{match:/\.vue$/i,name:`vue`,description:`Vue`,icon:`i-catppuccin-vue`},{match:/\.[cm]?[tj]sx$/i,name:`jsx`,description:`JavaScript React`,icon:`i-catppuccin-javascript-react`},{match:/\.[cm]?ts$/i,name:`ts`,description:`TypeScript`,icon:`i-catppuccin-typescript`},{match:/\.[cm]?js$/i,name:`js`,description:`JavaScript`,icon:`i-catppuccin-javascript`},{match:/\.svelte$/i,name:`svelte`,description:`Svelte`,icon:`i-catppuccin-svelte`},{match:/\.mdx$/i,name:`mdx`,description:`MDX`,icon:`i-catppuccin-mdx`},{match:/\.md$/i,name:`md`,description:`Markdown`,icon:`i-catppuccin-markdown`},{match:/\.astro$/i,name:`astro`,description:`Astro`,icon:`i-catppuccin-astro`},{match:/\.angular$/i,name:`angular`,description:`Angular`,icon:`i-catppuccin-angular`},{match:/\.html?$/i,name:`html`,description:`HTML`,icon:`i-catppuccin-html`},{match:/\.(css|scss|less|postcss)$/i,name:`css`,description:`CSS`,icon:`i-catppuccin-css`},{match:/\.json[c5]?$/i,name:`json`,description:`JSON`,icon:`i-catppuccin-json`},{match:/\.(yaml|yml)$/i,name:`yaml`,description:`YAML`,icon:`i-catppuccin-yaml`},{match:/\.toml$/i,name:`toml`,description:`TOML`,icon:`i-catppuccin-toml`},{match:/\.svg$/i,name:`svg`,description:`SVG`,icon:`i-catppuccin-svg`}],s={name:`file`,match:/.*/,description:`File`,icon:`i-catppuccin-file`};function c(e){return o.find(t=>t.name===e)??s}const l=a(e=>{e=e.replace(/(\?|&)v=[^&]*/,`$1`).replace(/\?$/,``);for(let t of o)if(t.match.test(e))return t;return s});export{l as getFileTypeFromModuleId,c as getFileTypeFromName,a as makeCachedFunction};
@@ -1,12 +0,0 @@
1
- /**
2
- * @vue/shared v3.5.15
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **/
6
- /*! #__NO_SIDE_EFFECTS__ */
7
- function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}const t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>x(e)===`[object Map]`,p=e=>x(e)===`[object Set]`,m=e=>x(e)===`[object RegExp]`,h=e=>typeof e==`function`,g=e=>typeof e==`string`,_=e=>typeof e==`symbol`,v=e=>typeof e==`object`&&!!e,y=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,x=e=>b.call(e),S=e=>x(e).slice(8,-1),C=e=>x(e)===`[object Object]`,w=e=>g(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,T=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),E=e=>{let t=Object.create(null);return n=>{let r=t[n];return r||(t[n]=e(n))}},D=/-(\w)/g,O=E(e=>e.replace(D,(e,t)=>t?t.toUpperCase():``)),ee=/\B([A-Z])/g,k=E(e=>e.replace(ee,`-$1`).toLowerCase()),te=E(e=>e.charAt(0).toUpperCase()+e.slice(1)),ne=E(e=>{let t=e?`on${te(e)}`:``;return t}),A=(e,t)=>!Object.is(e,t),re=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ie=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},j=e=>{let t=parseFloat(e);return isNaN(t)?e:t},ae=e=>{let t=g(e)?Number(e):NaN;return isNaN(t)?e:t};let oe;const se=()=>oe||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof globalThis<`u`?globalThis:{};function ce(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=g(r)?fe(r):ce(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(g(e)||v(e))return e}const le=/;(?![^(]*\))/g,ue=/:([^]+)/,de=/\/\*[^]*?\*\//g;function fe(e){let t={};return e.replace(de,``).split(le).forEach(e=>{if(e){let n=e.split(ue);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function pe(e){let t=``;if(g(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=pe(e[n]);r&&(t+=r+` `)}else if(v(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function me(e){if(!e)return null;let{class:t,style:n}=e;return t&&!g(t)&&(e.class=pe(t)),n&&(e.style=ce(n)),e}const he=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,ge=e(he),_e=e(he+`,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);function ve(e){return!!e||e===``}const ye=e=>!!(e&&e.__v_isRef===!0),be=e=>g(e)?e:e==null?``:d(e)||v(e)&&(e.toString===b||!h(e.toString))?ye(e)?be(e.value):JSON.stringify(e,xe,2):String(e),xe=(e,t)=>ye(t)?xe(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Se(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Se(e))}:_(t)?Se(t):v(t)&&!d(t)&&!C(t)?String(t):t,Se=(e,t=``)=>{var n;return _(e)?`Symbol(${(n=e.description)??t})`:e};function Ce(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let M;var we=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=M,!e&&M&&(this.index=(M.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[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)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[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(){this._on>0&&--this._on===0&&(M=this.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){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[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 Te(e){return new we(e)}function Ee(){return M}function De(e,t=!1){M&&M.cleanups.push(e)}let N;const Oe=new WeakSet;var ke=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)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Oe.has(this)&&(Oe.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ne(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ge(this),Ie(this);let e=N,t=P;N=this,P=!0;try{return this.fn()}finally{Le(this),N=e,P=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Be(e);this.deps=this.depsTail=void 0,Ge(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Oe.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Re(this)&&this.run()}get dirty(){return Re(this)}};let Ae=0,je,Me;function Ne(e,t=!1){if(e.flags|=8,t){e.next=Me,Me=e;return}e.next=je,je=e}function Pe(){Ae++}function Fe(){if(--Ae>0)return;if(Me){let e=Me;for(Me=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;je;){let t=je;for(je=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 Ie(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Le(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Be(r),Ve(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Re(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ze(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ze(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ke)||(e.globalVersion=Ke,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Re(e))))return;e.flags|=2;let t=e.dep,n=N,r=P;N=e,P=!0;try{Ie(e);let n=e.fn(e._value);(t.version===0||A(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{N=n,P=r,Le(e),e.flags&=-3}}function Be(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)Be(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ve(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let P=!0;const He=[];function Ue(){He.push(P),P=!1}function We(){let e=He.pop();P=e===void 0?!0:e}function Ge(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=N;N=void 0;try{t()}finally{N=e}}}let Ke=0;var qe=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}},Je=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}track(e){if(!N||!P||N===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==N)t=this.activeLink=new qe(N,this),N.deps?(t.prevDep=N.depsTail,N.depsTail.nextDep=t,N.depsTail=t):N.deps=N.depsTail=t,Ye(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++,Ke++,this.notify(e)}notify(e){Pe();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Fe()}}};function Ye(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)Ye(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Xe=new WeakMap,Ze=Symbol(``),Qe=Symbol(``),$e=Symbol(``);function F(e,t,n){if(P&&N){let t=Xe.get(e);t||Xe.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Je),r.map=t,r.key=n),r.track()}}function et(e,t,n,r,i,a){let o=Xe.get(e);if(!o){Ke++;return}let s=e=>{e&&e.trigger()};if(Pe(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&w(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===$e||!_(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get($e)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(Ze)),f(e)&&s(o.get(Qe)));break;case`delete`:i||(s(o.get(Ze)),f(e)&&s(o.get(Qe)));break;case`set`:f(e)&&s(o.get(Ze));break}}Fe()}function tt(e,t){let n=Xe.get(e);return n&&n.get(t)}function nt(e){let t=L(e);return t===e?t:(F(t,`iterate`,$e),I(e)?t:t.map(R))}function rt(e){return F(e=L(e),`iterate`,$e),e}const it={__proto__:null,[Symbol.iterator](){return at(this,Symbol.iterator,R)},concat(...e){return nt(this).concat(...e.map(e=>d(e)?nt(e):e))},entries(){return at(this,`entries`,e=>(e[1]=R(e[1]),e))},every(e,t){return st(this,`every`,e,t,void 0,arguments)},filter(e,t){return st(this,`filter`,e,t,e=>e.map(R),arguments)},find(e,t){return st(this,`find`,e,t,R,arguments)},findIndex(e,t){return st(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return st(this,`findLast`,e,t,R,arguments)},findLastIndex(e,t){return st(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return st(this,`forEach`,e,t,void 0,arguments)},includes(...e){return lt(this,`includes`,e)},indexOf(...e){return lt(this,`indexOf`,e)},join(e){return nt(this).join(e)},lastIndexOf(...e){return lt(this,`lastIndexOf`,e)},map(e,t){return st(this,`map`,e,t,void 0,arguments)},pop(){return ut(this,`pop`)},push(...e){return ut(this,`push`,e)},reduce(e,...t){return ct(this,`reduce`,e,t)},reduceRight(e,...t){return ct(this,`reduceRight`,e,t)},shift(){return ut(this,`shift`)},some(e,t){return st(this,`some`,e,t,void 0,arguments)},splice(...e){return ut(this,`splice`,e)},toReversed(){return nt(this).toReversed()},toSorted(e){return nt(this).toSorted(e)},toSpliced(...e){return nt(this).toSpliced(...e)},unshift(...e){return ut(this,`unshift`,e)},values(){return at(this,`values`,R)}};function at(e,t,n){let r=rt(e),i=r[t]();return r!==e&&!I(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.value&&=n(e.value),e}),i}const ot=Array.prototype;function st(e,t,n,r,i,a){let o=rt(e),s=o!==e&&!I(e),c=o[t];if(c!==ot[t]){let t=c.apply(e,a);return s?R(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,R(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 ct(e,t,n,r){let i=rt(e),a=n;return i!==e&&(I(e)?n.length>3&&(a=function(t,r,i){return n.call(this,t,r,i,e)}):a=function(t,r,i){return n.call(this,t,R(r),i,e)}),i[t](a,...r)}function lt(e,t,n){let r=L(e);F(r,`iterate`,$e);let i=r[t](...n);return(i===-1||i===!1)&&Vt(n[0])?(n[0]=L(n[0]),r[t](...n)):i}function ut(e,t,n=[]){Ue(),Pe();let r=L(e)[t].apply(e,n);return Fe(),We(),r}const dt=e(`__proto__,__v_isRef,__isVue`),ft=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(_));function pt(e){_(e)||(e=String(e));let t=L(this);return F(t,`has`,e),t.hasOwnProperty(e)}var mt=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?Mt:jt:i?At:kt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=it[t]))return e;if(t===`hasOwnProperty`)return pt}let o=Reflect.get(e,t,z(e)?e:n);return(_(t)?ft.has(t):dt(t))||(r||F(e,`get`,t),i)?o:z(o)?a&&w(t)?o:o.value:v(o)?r?Lt(o):Ft(o):o}},ht=class extends mt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t];if(!this._isShallow){let t=Bt(i);if(!I(n)&&!Bt(n)&&(i=L(i),n=L(n)),!d(e)&&z(i)&&!z(n))return t?!1:(i.value=n,!0)}let a=d(e)&&w(t)?Number(t)<e.length:u(e,t),o=Reflect.set(e,t,n,z(e)?e:r);return e===L(r)&&(a?A(n,i)&&et(e,`set`,t,n,i):et(e,`add`,t,n)),o}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&et(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!_(t)||!ft.has(t))&&F(e,`has`,t),n}ownKeys(e){return F(e,`iterate`,d(e)?`length`:Ze),Reflect.ownKeys(e)}},gt=class extends mt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}};const _t=new ht,vt=new gt,yt=new ht(!0),bt=e=>e,xt=e=>Reflect.getPrototypeOf(e);function St(e,t,n){return function(...r){let i=this.__v_raw,a=L(i),o=f(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,l=i[e](...r),u=n?bt:t?Ut:R;return!t&&F(a,`iterate`,c?Qe:Ze),{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}},[Symbol.iterator](){return this}}}}function Ct(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function wt(e,t){let n={get(n){let r=this.__v_raw,i=L(r),a=L(n);e||(A(n,a)&&F(i,`get`,n),F(i,`get`,a));let{has:o}=xt(i),s=t?bt:e?Ut:R;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&&F(L(t),`iterate`,Ze),Reflect.get(t,`size`,t)},has(t){let n=this.__v_raw,r=L(n),i=L(t);return e||(A(t,i)&&F(r,`has`,t),F(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=L(a),s=t?bt:e?Ut:R;return!e&&F(o,`iterate`,Ze),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};s(n,e?{add:Ct(`add`),set:Ct(`set`),delete:Ct(`delete`),clear:Ct(`clear`)}:{add(e){!t&&!I(e)&&!Bt(e)&&(e=L(e));let n=L(this),r=xt(n),i=r.has.call(n,e);return i||(n.add(e),et(n,`add`,e,e)),this},set(e,n){!t&&!I(n)&&!Bt(n)&&(n=L(n));let r=L(this),{has:i,get:a}=xt(r),o=i.call(r,e);o||(e=L(e),o=i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?A(n,s)&&et(r,`set`,e,n,s):et(r,`add`,e,n),this},delete(e){let t=L(this),{has:n,get:r}=xt(t),i=n.call(t,e);i||(e=L(e),i=n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&et(t,`delete`,e,void 0,a),o},clear(){let e=L(this),t=e.size!==0,n,r=e.clear();return t&&et(e,`clear`,void 0,void 0,n),r}});let r=[`keys`,`values`,`entries`,Symbol.iterator];return r.forEach(r=>{n[r]=St(r,e,t)}),n}function Tt(e,t){let n=wt(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(u(n,r)&&r in t?n:t,r,i)}const Et={get:Tt(!1,!1)},Dt={get:Tt(!1,!0)},Ot={get:Tt(!0,!1)},kt=new WeakMap,At=new WeakMap,jt=new WeakMap,Mt=new WeakMap;function Nt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Pt(e){return e.__v_skip||!Object.isExtensible(e)?0:Nt(S(e))}function Ft(e){return Bt(e)?e:Rt(e,!1,_t,Et,kt)}function It(e){return Rt(e,!1,yt,Dt,At)}function Lt(e){return Rt(e,!0,vt,Ot,jt)}function Rt(e,t,n,r,i){if(!v(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let a=Pt(e);if(a===0)return e;let o=i.get(e);if(o)return o;let s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function zt(e){return Bt(e)?zt(e.__v_raw):!!(e&&e.__v_isReactive)}function Bt(e){return!!(e&&e.__v_isReadonly)}function I(e){return!!(e&&e.__v_isShallow)}function Vt(e){return e?!!e.__v_raw:!1}function L(e){let t=e&&e.__v_raw;return t?L(t):e}function Ht(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&ie(e,`__v_skip`,!0),e}const R=e=>v(e)?Ft(e):e,Ut=e=>v(e)?Lt(e):e;function z(e){return e?e.__v_isRef===!0:!1}function Wt(e){return Kt(e,!1)}function Gt(e){return Kt(e,!0)}function Kt(e,t){return z(e)?e:new qt(e,t)}var qt=class{constructor(e,t){this.dep=new Je,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:L(e),this._value=t?e:R(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||I(e)||Bt(e);e=n?e:L(e),A(e,t)&&(this._rawValue=e,this._value=n?e:R(e),this.dep.trigger())}};function Jt(e){return z(e)?e.value:e}function Yt(e){return h(e)?e():Jt(e)}const Xt={get:(e,t,n)=>t===`__v_raw`?e:Jt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return z(i)&&!z(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Zt(e){return zt(e)?e:new Proxy(e,Xt)}var Qt=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Je,{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 $t(e){return new Qt(e)}function en(e){let t=d(e)?Array(e.length):{};for(let n in e)t[n]=an(e,n);return t}var tn=class{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){let e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return tt(L(this._object),this._key)}},nn=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 rn(e,t,n){return z(e)?e:h(e)?new nn(e):v(e)&&arguments.length>1?an(e,t,n):Wt(e)}function an(e,t,n){let r=e[t];return z(r)?r:new tn(e,t,n)}var on=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Je(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ke-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 Ne(this,!0),!0}get value(){let e=this.dep.track();return ze(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function sn(e,t,n=!1){let r,i;h(e)?r=e:(r=e.get,i=e.set);let a=new on(r,i,n);return a}const cn={},ln=new WeakMap;let un;function dn(e,t=!1,n=un){if(n){let t=ln.get(n);t||ln.set(n,t=[]),t.push(e)}}function fn(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>{(i.onWarn||Ce)(`Invalid watch source: `,e,`A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`)},m=e=>o?e:I(e)||o===!1||o===0?pn(e,1):pn(e),g,_,v,y,b=!1,x=!1;if(z(e)?(_=()=>e.value,b=I(e)):zt(e)?(_=()=>m(e),b=!0):d(e)?(x=!0,b=e.some(e=>zt(e)||I(e)),_=()=>e.map(e=>{if(z(e))return e.value;if(zt(e))return m(e);if(h(e))return f?f(e,2):e()})):_=h(e)?n?f?()=>f(e,2):e:()=>{if(v){Ue();try{v()}finally{We()}}let t=un;un=g;try{return f?f(e,3,[y]):e(y)}finally{un=t}}:r,n&&o){let e=_,t=o===!0?1/0:o;_=()=>pn(e(),t)}let S=Ee(),C=()=>{g.stop(),S&&S.active&&c(S.effects,g)};if(s&&n){let e=n;n=(...t)=>{e(...t),C()}}let w=x?Array(e.length).fill(cn):cn,T=e=>{if(!(!(g.flags&1)||!g.dirty&&!e))if(n){let e=g.run();if(o||b||(x?e.some((e,t)=>A(e,w[t])):A(e,w))){v&&v();let t=un;un=g;try{let t=[e,w===cn?void 0:x&&w[0]===cn?[]:w,y];w=e,f?f(n,3,t):n(...t)}finally{un=t}}}else g.run()};return u&&u(T),g=new ke(_),g.scheduler=l?()=>l(T,!1):T,y=e=>dn(e,!1,g),v=g.onStop=()=>{let e=ln.get(g);if(e){if(f)f(e,4);else for(let t of e)t();ln.delete(g)}},n?a?T(!0):w=g.run():l?l(T.bind(null,!0),!0):g.run(),C.pause=g.pause.bind(g),C.resume=g.resume.bind(g),C.stop=C,C}function pn(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip||(n||=new Set,n.has(e)))return e;if(n.add(e),t--,z(e))pn(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)pn(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{pn(e,t,n)});else if(C(e)){for(let r in e)pn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&pn(e[r],t,n)}return e}function mn(e,t,n,r){try{return r?e(...r):e()}catch(e){hn(e,t,n)}}function B(e,t,n,r){if(h(e)){let i=mn(e,t,n,r);return i&&y(i)&&i.catch(e=>{hn(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(B(e[a],t,n,r));return i}}function hn(e,n,r,i=!0){let a=n?n.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n){for(let t=0;t<n.length;t++)if(n[t](e,i,a)===!1)return}t=t.parent}if(o){Ue(),mn(o,null,10,[e,i,a]),We();return}}gn(e,r,a,i,s)}function gn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}const V=[];let _n=-1;const vn=[];let yn=null,bn=0;const xn=Promise.resolve();let Sn=null;function Cn(e){let t=Sn||xn;return e?t.then(this?e.bind(this):e):t}function wn(e){let t=_n+1,n=V.length;for(;t<n;){let r=t+n>>>1,i=V[r],a=An(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function Tn(e){if(!(e.flags&1)){let t=An(e),n=V[V.length-1];!n||!(e.flags&2)&&t>=An(n)?V.push(e):V.splice(wn(t),0,e),e.flags|=1,En()}}function En(){Sn||=xn.then(jn)}function Dn(e){d(e)?vn.push(...e):yn&&e.id===-1?yn.splice(bn+1,0,e):e.flags&1||(vn.push(e),e.flags|=1),En()}function On(e,t,n=_n+1){for(;n<V.length;n++){let t=V[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;V.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function kn(e){if(vn.length){let e=[...new Set(vn)].sort((e,t)=>An(e)-An(t));if(vn.length=0,yn){yn.push(...e);return}for(yn=e,bn=0;bn<yn.length;bn++){let e=yn[bn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}yn=null,bn=0}}const An=e=>e.id==null?e.flags&2?-1:1/0:e.id;function jn(e){let t=r;try{for(_n=0;_n<V.length;_n++){let e=V[_n];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),mn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;_n<V.length;_n++){let e=V[_n];e&&(e.flags&=-2)}_n=-1,V.length=0,kn(e),Sn=null,(V.length||vn.length)&&jn(e)}}let H=null,Mn=null;function Nn(e){let t=H;return H=e,Mn=e&&e.type.__scopeId||null,t}function Pn(e){Mn=e}function Fn(){Mn=null}const In=e=>Ln;function Ln(e,t=H,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&Ba(-1);let i=Nn(t),a;try{a=e(...n)}finally{Nn(i),r._d&&Ba(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Rn(e,n){if(H===null)return e;let r=xo(H),i=e.dirs||=[];for(let e=0;e<n.length;e++){let[a,o,s,c=t]=n[e];a&&(h(a)&&(a={mounted:a,updated:a}),a.deep&&pn(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function zn(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&&(Ue(),B(c,n,8,[e.el,s,e,t]),We())}}const Bn=Symbol(`_vte`),Vn=e=>e.__isTeleport,Hn=Symbol(`_leaveCb`),Un=Symbol(`_enterCb`);function Wn(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fr(()=>{e.isMounted=!0}),Rr(()=>{e.isUnmounting=!0}),e}const U=[Function,Array],Gn={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},Kn=e=>{let t=e.subTree;return t.component?Kn(t.component):t},qn={name:`BaseTransition`,props:Gn,setup(e,{slots:t}){let n=ao(),r=Wn();return()=>{let i=t.default&&tr(t.default(),!0);if(!i||!i.length)return;let a=Jn(i),o=L(e),{mode:s}=o;if(r.isLeaving)return Qn(a);let c=$n(a);if(!c)return Qn(a);let l=Zn(c,o,r,n,e=>l=e);c.type!==q&&er(c,l);let u=n.subTree&&$n(n.subTree);if(u&&u.type!==q&&!Y(c,u)&&Kn(n).type!==q){let e=Zn(u,o,r,n);if(er(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},Qn(a);s===`in-out`&&c.type!==q?e.delayLeave=(e,t,n)=>{let i=Xn(r,u);i[String(u.key)]=u,e[Hn]=()=>{t(),e[Hn]=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 Jn(e){let t=e[0];if(e.length>1){let n=!1;for(let r of e)if(r.type!==q){t=r,n=!0;break}}return t}const Yn=qn;function Xn(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Zn(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=Xn(n,e),C=(e,t)=>{e&&B(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),d(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted)if(a)r=_||c;else return;t[Hn]&&t[Hn](!0);let i=S[x];i&&Y(e,i)&&i.el[Hn]&&i.el[Hn](),C(r,[t])},enter(e){let t=l,r=u,i=f;if(!n.isMounted)if(a)t=v||l,r=y||u,i=b||f;else return;let o=!1,s=e[Un]=t=>{o||(o=!0,C(t?i:r,[e]),T.delayedLeave&&T.delayedLeave(),e[Un]=void 0)};t?w(t,[e,s]):s()},leave(t,r){let i=String(e.key);if(t[Un]&&t[Un](!0),n.isUnmounting)return r();C(p,[t]);let a=!1,o=t[Hn]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[Hn]=void 0,S[i]===e&&delete S[i])};S[i]=e,m?w(m,[t,o]):o()},clone(e){let a=Zn(e,t,n,r,i);return i&&i(a),a}};return T}function Qn(e){if(Sr(e))return e=Xa(e),e.children=null,e}function $n(e){if(!Sr(e))return Vn(e.type)&&e.children?Jn(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&h(n.default))return n.default()}}function er(e,t){e.shapeFlag&6&&e.component?(e.transition=t,er(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 tr(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(tr(o.children,t,s))):(t||o.type!==q)&&r.push(s==null?o:Xa(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}
8
- /*! #__NO_SIDE_EFFECTS__ */
9
- function nr(e,t){return h(e)?(()=>s({name:e.name},t,{setup:e}))():e}function rr(e){e.ids=[e.ids[0]+ e.ids[2]+++`-`,0,0]}function ir(e){let n=ao(),r=Gt(null);if(n){let i=n.refs===t?n.refs={}:n.refs,a;Object.defineProperty(i,e,{enumerable:!0,get:()=>r.value,set:e=>r.value=e})}let i=r;return i}function ar(e,n,r,i,a=!1){if(d(e)){e.forEach((e,t)=>ar(e,n&&(d(n)?n[t]:n),r,i,a));return}if(yr(i)&&!a){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&ar(e,n,r,i.component.subTree);return}let o=i.shapeFlag&4?xo(i.component):i.el,s=a?null:o,{i:l,r:f}=e,p=n&&n.r,m=l.refs===t?l.refs={}:l.refs,_=l.setupState,v=L(_),y=_===t?()=>!1:e=>u(v,e);if(p!=null&&p!==f&&(g(p)?(m[p]=null,y(p)&&(_[p]=null)):z(p)&&(p.value=null)),h(f))mn(f,l,12,[s,m]);else{let t=g(f),n=z(f);if(t||n){let i=()=>{if(e.f){let n=t?y(f)?_[f]:m[f]:f.value;a?d(n)&&c(n,o):d(n)?n.includes(o)||n.push(o):t?(m[f]=[o],y(f)&&(_[f]=m[f])):(f.value=[o],e.k&&(m[e.k]=f.value))}else t?(m[f]=s,y(f)&&(_[f]=s)):n&&(f.value=s,e.k&&(m[e.k]=s))};s?(i.id=-1,G(i,r)):i()}}}let or=!1;const sr=()=>{or||(console.error(`Hydration completed but contains mismatches.`),or=!0)},cr=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,lr=e=>e.namespaceURI.includes(`MathML`),ur=e=>{if(e.nodeType===1){if(cr(e))return`svg`;if(lr(e))return`mathml`}},dr=e=>e.nodeType===8;function fr(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:s,remove:c,insert:l,createComment:u}}=e,d=(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),kn(),t._vnode=e;return}f(t.firstChild,e,null,null,null),kn(),t._vnode=e},f=(n,r,a,c,u,d=!1)=>{d||=!!r.dynamicChildren;let b=dr(n)&&n.data===`[`,x=()=>g(n,r,a,c,u,b),{type:S,ref:C,shapeFlag:w,patchFlag:T}=r,E=n.nodeType;r.el=n,T===-2&&(d=!1,r.dynamicChildren=null);let D=null;switch(S){case Pa:E===3?(n.data!==r.children&&(sr(),n.data=r.children),D=o(n)):r.children===``?(l(r.el=i(``),s(n),n),D=n):D=x();break;case q:y(n)?(D=o(n),v(r.el=n.content.firstChild,n,a)):D=E!==8||b?x():o(n);break;case Fa:if(b&&(n=o(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=o(D);return b?o(D):D}else x();break;case K:D=b?h(n,r,a,c,u,d):x();break;default:if(w&1)D=(E!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!y(n)?x():p(n,r,a,c,u,d);else if(w&6){r.slotScopeIds=u;let e=s(n);if(D=b?_(n):dr(n)&&n.data===`teleport start`?_(n,n.data,`teleport end`):o(n),t(r,e,null,a,c,ur(e),d),yr(r)&&!r.type.__asyncResolved){let t;b?(t=X(K),t.anchor=D?D.previousSibling:e.lastChild):t=n.nodeType===3?Za(``):X(`div`),t.el=n,r.component.subTree=t}}else w&64?D=E===8?r.type.hydrate(n,r,a,c,u,d,e,m):x():w&128&&(D=r.type.hydrate(n,r,a,c,ur(s(n)),u,d,e,f))}return C!=null&&ar(C,null,c,r),D},p=(e,t,n,i,o,s)=>{s||=!!t.dynamicChildren;let{type:l,props:u,patchFlag:d,shapeFlag:f,dirs:p,transition:h}=t,g=l===`input`||l===`option`;if(g||d!==-1){p&&zn(t,null,n,`created`);let l=!1;if(y(e)){l=Zi(null,h)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(l){let e=r.getAttribute(`class`);e&&(r.$cls=e),h.beforeEnter(r)}v(r,e,n),t.el=e=r}if(f&16&&!(u&&(u.innerHTML||u.textContent))){let r=m(e.firstChild,t,e,n,i,o,s),a=!1;for(;r;){hr(e,1)||sr();let t=r;r=r.nextSibling,c(t)}}else if(f&8){let n=t.children;n[0]===`
10
- `&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1)),e.textContent!==n&&(hr(e,0)||sr(),e.textContent=t.children)}if(u){if(g||!s||d&48){let t=e.tagName.includes(`-`);for(let i in u)(g&&(i.endsWith(`value`)||i===`indeterminate`)||a(i)&&!T(i)||i[0]===`.`||t)&&r(e,i,null,u[i],void 0,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 _;(_=u&&u.onVnodeBeforeMount)&&Q(_,n,t),p&&zn(t,null,n,`beforeMount`),((_=u&&u.onVnodeMounted)||p||l)&&ja(()=>{_&&Q(_,n,t),l&&h.enter(e),p&&zn(t,null,n,`mounted`)},i)}return e.nextSibling},m=(e,t,r,a,s,c,u)=>{u||=!!t.dynamicChildren;let d=t.children,p=d.length,m=!1;for(let t=0;t<p;t++){let m=u?d[t]:d[t]=Z(d[t]),h=m.type===Pa;e?(h&&!u&&t+1<p&&Z(d[t+1]).type===Pa&&(l(i(e.data.slice(m.children.length)),r,o(e)),e.data=m.children),e=f(e,m,a,s,c,u)):h&&!m.children?l(m.el=i(``),r):(hr(r,1)||sr(),n(null,m,r,null,a,s,ur(r),c))}return e},h=(e,t,n,r,i,a)=>{let{slotScopeIds:c}=t;c&&(i=i?i.concat(c):c);let d=s(e),f=m(o(e),t,d,n,r,i,a);return f&&dr(f)&&f.data===`]`?o(t.anchor=f):(sr(),l(t.anchor=u(`]`),d,f),f)},g=(e,t,r,i,a,l)=>{if(hr(e.parentElement,1)||sr(),t.el=null,l){let t=_(e);for(;;){let n=o(e);if(n&&n!==t)c(n);else break}}let u=o(e),d=s(e);return c(e),n(null,t,d,u,r,i,ur(d),a),r&&(r.vnode.el=t.el,ya(r,t.el)),u},_=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=o(e),e&&dr(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return o(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[d,f]}const pr=`data-allow-mismatch`,mr={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function hr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(pr);)e=e.parentElement;let n=e&&e.getAttribute(pr);if(n==null)return!1;if(n===``)return!0;{let e=n.split(`,`);return t===0&&e.includes(`children`)?!0:n.split(`,`).includes(mr[t])}}const gr=se().requestIdleCallback||(e=>setTimeout(e,1)),_r=se().cancelIdleCallback||(e=>clearTimeout(e));function vr(e,t){if(dr(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){let e=t(r);if(e===!1)break}else if(dr(r))if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++;r=r.nextSibling}}else t(e)}const yr=e=>!!e.type.__asyncLoader;
11
- /*! #__NO_SIDE_EFFECTS__ */
12
- function br(e){h(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)=>{let r=()=>t(f()),i=()=>n(e);c(e,r,i,d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return nr({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=!1,i=a?()=>{let i=()=>{n()},o=a(i,t=>vr(e,t));o&&(t.bum||=[]).push(o),(t.u||=[]).push(()=>r=!0)}:n;u?i():p().then(()=>!t.isUnmounted&&i())},get __asyncResolved(){return u},setup(){let e=$;if(rr(e),u)return()=>xr(u,e);let t=t=>{l=null,hn(t,e,13,!r)};if(s&&e.suspense||fo)return p().then(t=>()=>xr(t,e)).catch(e=>(t(e),()=>r?X(r,{error:e}):null));let a=Wt(!1),c=Wt(),d=Wt(!!i);return i&&setTimeout(()=>{d.value=!1},i),o!=null&&setTimeout(()=>{if(!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o),p().then(()=>{a.value=!0,e.parent&&Sr(e.parent.vnode)&&e.parent.update()}).catch(e=>{t(e),c.value=e}),()=>{if(a.value&&u)return xr(u,e);if(c.value&&r)return X(r,{error:c.value});if(n&&!d.value)return X(n)}}})}function xr(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}const Sr=e=>e.type.__isKeepAlive,Cr={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=ao(),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&&re(a.a);let t=e.props&&e.props.onVnodeMounted;t&&Q(t,a.parent,e)},s)},r.deactivate=e=>{let t=e.component;ta(t.m),ta(t.a),l(e,f,null,1,s),G(()=>{t.da&&re(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&Q(n,t.parent,e),t.isDeactivated=!0},s)};function p(e){Ar(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=So(t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!Y(t,o))?p(t):o&&Ar(o),i.delete(e),a.delete(e)}aa(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>Tr(e,t)),t&&m(e=>!Tr(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{g!=null&&(ba(n.subTree.type)?G(()=>{i.set(g,jr(n.subTree))},n.subTree.suspense):i.set(g,jr(n.subTree)))};return Fr(_),Lr(_),Rr(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=jr(t);if(e.type===i.type&&e.key===i.key){Ar(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(!Wa(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=jr(r);if(s.type===q)return o=null,s;let c=s.type,l=So(yr(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!Tr(u,l))||d&&l&&Tr(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=Xa(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&er(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,ba(r.type)?r:s}}},wr=Cr;function Tr(e,t){return d(e)?e.some(e=>Tr(e,t)):g(e)?e.split(`,`).includes(t):m(e)?(e.lastIndex=0,e.test(t)):!1}function Er(e,t){Or(e,`a`,t)}function Dr(e,t){Or(e,`da`,t)}function Or(e,t,n=$){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Mr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Sr(e.parent.vnode)&&kr(r,t,n,e),e=e.parent}}function kr(e,t,n,r){let i=Mr(t,e,r,!0);zr(()=>{c(r[t],i)},n)}function Ar(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function jr(e){return e.shapeFlag&128?e.ssContent:e}function Mr(e,t,n=$,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ue();let i=co(n),a=B(t,n,e,r);return i(),We(),a};return r?i.unshift(a):i.push(a),a}}const Nr=e=>(t,n=$)=>{(!fo||e===`sp`)&&Mr(e,(...e)=>t(...e),n)},Pr=Nr(`bm`),Fr=Nr(`m`),Ir=Nr(`bu`),Lr=Nr(`u`),Rr=Nr(`bum`),zr=Nr(`um`),Br=Nr(`sp`),Vr=Nr(`rtg`),Hr=Nr(`rtc`);function Ur(e,t=$){Mr(`ec`,e,t)}const Wr=`components`;function Gr(e,t){return Jr(Wr,e,!0,t)||e}const Kr=Symbol.for(`v-ndc`);function qr(e){return g(e)?Jr(Wr,e,!1)||e:e||Kr}function Jr(e,t,n=!0,r=!1){let i=H||$;if(i){let n=i.type;if(e===Wr){let e=So(n,!1);if(e&&(e===t||e===O(t)||e===te(O(t))))return n}let a=Yr(i[e]||n[e],t)||Yr(i.appContext[e],t);return!a&&r?n:a}}function Yr(e,t){return e&&(e[t]||e[O(t)]||e[te(O(t))])}function Xr(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||g(e)){let n=o&&zt(e),r=!1,s=!1;n&&(r=!I(e),s=Bt(e),e=rt(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Ut(R(e[n])):R(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(v(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}else i=[];return n&&(n[r]=i),i}function Zr(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(d(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Qr(e,t,n={},r,i){if(H.ce||H.parent&&yr(H.parent)&&H.parent.ce)return t!==`default`&&(n.name=t),La(),Ua(K,null,[X(`slot`,n,r&&r())],64);let a=e[t];a&&a._c&&(a._d=!1),La();let o=a&&$r(a(n)),s=n.key||o&&o.key,c=Ua(K,{key:(s&&!_(s)?s:`_${t}`)+(!o&&r?`_fb`:``)},o||(r?r():[]),o&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),a&&a._c&&(a._d=!0),c}function $r(e){return e.some(e=>Wa(e)?!(e.type===q||e.type===K&&!$r(e.children)):!0)?e:null}const ei=e=>e?uo(e)?xo(e):ei(e.parent):null,ti=s(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ei(e.parent),$root:e=>ei(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>di(e),$forceUpdate:e=>e.f||=()=>{Tn(e.update)},$nextTick:e=>e.n||=Cn.bind(e.proxy),$watch:e=>sa.bind(e)}),ni=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),ri={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e,d;if(n[0]!==`$`){let c=s[n];if(c!==void 0)switch(c){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(ni(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if((d=e.propsOptions[0])&&u(d,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else oi&&(s[n]=0)}let f=ti[n],p,m;if(f)return n===`$attrs`&&F(e.attrs,`get`,``),f(e);if((p=c.__cssModules)&&(p=p[n]))return p;if(r!==t&&u(r,n))return s[n]=4,r[n];if(m=l.config.globalProperties,u(m,n))return m[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return ni(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,propsOptions:o}},s){let c;return!!r[s]||e!==t&&u(e,s)||ni(n,s)||(c=o[0])&&u(c,s)||u(i,s)||u(ti,s)||u(a.config.globalProperties,s)},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function ii(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function ai(e){let t=ao(),n=e();return lo(),y(n)&&(n=n.catch(e=>{throw co(t),e})),[n,()=>co(t)]}let oi=!0;function si(e){let t=di(e),n=e.proxy,i=e.ctx;oi=!1,t.beforeCreate&&li(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:g,updated:_,activated:y,deactivated:b,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:T,renderTracked:E,renderTriggered:D,errorCaptured:O,serverPrefetch:ee,expose:k,inheritAttrs:te,components:ne,directives:A,filters:re}=t,ie=null;if(u&&ci(u,i,ie),s)for(let e in s){let t=s[e];h(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);v(t)&&(e.data=Ft(t))}if(oi=!0,o)for(let e in o){let t=o[e],a=h(t)?t.bind(n,n):h(t.get)?t.get.bind(n,n):r,s=!h(t)&&h(t.set)?t.set.bind(n):r,c=wo({get:a,set:s});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>c.value,set:e=>c.value=e})}if(c)for(let e in c)ui(c[e],i,n,e);if(l){let e=h(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{wi(t,e[t])})}f&&li(f,e,`c`);function j(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(j(Pr,p),j(Fr,m),j(Ir,g),j(Lr,_),j(Er,y),j(Dr,b),j(Ur,O),j(Hr,E),j(Vr,D),j(Rr,S),j(zr,w),j(Br,ee),d(k))if(k.length){let t=e.exposed||={};k.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||={};T&&e.render===r&&(e.render=T),te!=null&&(e.inheritAttrs=te),ne&&(e.components=ne),A&&(e.directives=A),ee&&rr(e)}function ci(e,t,n=r){for(let n in d(e)&&(e=gi(e)),e){let r=e[n],i;i=v(r)?`default`in r?Ti(r.from||n,r.default,!0):Ti(r.from||n):Ti(r),z(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function li(e,t,n){B(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function ui(e,t,n,r){let i=r.includes(`.`)?ca(n,r):()=>n[r];if(g(e)){let n=t[e];h(n)&&aa(i,n)}else if(h(e))aa(i,e.bind(n));else if(v(e))if(d(e))e.forEach(e=>ui(e,t,n,r));else{let r=h(e.handler)?e.handler.bind(n):t[e.handler];h(r)&&aa(i,r,e)}}function di(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=>fi(c,e,o,!0)),fi(c,t,o)),v(t)&&a.set(t,c),c}function fi(e,t,n,r=!1){let{mixins:i,extends:a}=t;for(let o in a&&fi(e,a,n,!0),i&&i.forEach(t=>fi(e,t,n,!0)),t)if(!(r&&o===`expose`)){let r=pi[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const pi={data:mi,props:vi,emits:vi,methods:_i,computed:_i,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:_i,directives:_i,watch:yi,provide:mi,inject:hi};function mi(e,t){return t?e?function(){return s(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function hi(e,t){return _i(gi(e),gi(t))}function gi(e){if(d(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 _i(e,t){return e?s(Object.create(null),e,t):t}function vi(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),ii(e),ii(t??{})):t}function yi(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=W(e[r],t[r]);return n}function bi(){return{app:null,config:{isNativeTag:i,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let xi=0;function Si(e,t){return function(n,r=null){h(n)||(n=s({},n)),r!=null&&!v(r)&&(r=null);let i=bi(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:xi++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Eo,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&h(e.install)?(a.add(e),e.install(l,...t)):h(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||X(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,xo(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(B(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=Ci;Ci=l;try{return e()}finally{Ci=t}}};return l}}let Ci=null;function wi(e,t){if($){let n=$.provides,r=$.parent&&$.parent.provides;r===n&&(n=$.provides=Object.create(r)),n[e]=t}}function Ti(e,t,n=!1){let r=$||H;if(r||Ci){let i=Ci?Ci._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&h(t)?t.call(r&&r.proxy):t}}function Ei(){return!!($||H||Ci)}const Di={},Oi=()=>Object.create(Di),ki=e=>Object.getPrototypeOf(e)===Di;function Ai(e,t,n,r=!1){let i={},a=Oi();for(let n in e.propsDefaults=Object.create(null),Mi(e,t,i,a),e.propsOptions[0])n in i||(i[n]=void 0);n?e.props=r?i:It(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function ji(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=L(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(fa(e.emitsOptions,o))continue;let d=t[o];if(c)if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=O(o);i[t]=Ni(c,s,t,d,e,!1)}else d!==a[o]&&(a[o]=d,l=!0)}}}else{Mi(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!u(t,a)&&((r=k(a))===a||!u(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Ni(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!u(t,e))&&(delete a[e],l=!0)}l&&et(e.attrs,`set`,``)}function Mi(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(T(t))continue;let l=n[t],d;a&&u(a,d=O(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:fa(e.emitsOptions,t)||(!(t in i)||l!==i[t])&&(i[t]=l,s=!0)}if(o){let n=L(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=Ni(a,n,s,i[s],e,!u(i,s))}}return s}function Ni(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&h(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=co(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===k(n))&&(r=!0))}return r}const Pi=new WeakMap;function Fi(e,r,i=!1){let a=i?Pi:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!h(e)){let t=e=>{p=!0;let[t,n]=Fi(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return v(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=O(c[e]);Ii(n)&&(l[n]=t)}else if(c)for(let e in c){let t=O(e);if(Ii(t)){let n=c[e],r=l[t]=d(n)||h(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=h(t)&&t.name;if(n===`Boolean`){a=!0;break}else n===`String`&&(o=!1)}else a=h(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return v(e)&&a.set(e,m),m}function Ii(e){return e[0]!==`$`&&!T(e)}const Li=e=>e[0]===`_`||e===`$stable`,Ri=e=>d(e)?e.map(Z):[Z(e)],zi=(e,t,n)=>{if(t._n)return t;let r=Ln((...e)=>Ri(t(...e)),n);return r._c=!1,r},Bi=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Li(n))continue;let i=e[n];if(h(i))t[n]=zi(n,i,r);else if(i!=null){let e=Ri(i);t[n]=()=>e}}},Vi=(e,t)=>{let n=Ri(t);e.slots.default=()=>n},Hi=(e,t,n)=>{for(let r in t)(n||!Li(r))&&(e[r]=t[r])},Ui=(e,t,n)=>{let r=e.slots=Oi();if(e.vnode.shapeFlag&32){let e=t._;e?(Hi(r,t,n),n&&ie(r,`_`,e,!0)):Bi(t,r)}else t&&Vi(e,t)},Wi=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:Hi(a,n,r):(o=!n.$stable,Bi(n,a)),s=n}else n&&(Vi(e,n),s={default:1});if(o)for(let e in a)!Li(e)&&s[e]==null&&delete a[e]};function Gi(){let e=[]}const G=ja;function Ki(e){return Ji(e)}function qi(e){return Ji(e,fr)}function Ji(e,i){Gi();let a=se();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:f,setText:p,setElementText:m,parentNode:h,nextSibling:g,setScopeId:_=r,insertStaticContent:v}=e,y=(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=ye(e),me(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 Pa:b(e,t,n,r);break;case q:x(e,t,n,r);break;case Fa:e??S(t,n,r,o);break;case K:ie(e,t,n,r,i,a,o,s,c);break;default:d&1?D(e,t,n,r,i,a,o,s,c):d&6?j(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,Se)}u!=null&&i&&ar(u,e&&e.ref,a,t||e,!t)},b=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&p(n,t.children)}},x=(e,t,n,r)=>{e==null?o(t.el=f(t.children||``),n,r):t.el=e.el},S=(e,t,n,r)=>{[e.el,e.anchor]=v(e.children,t,n,r,e.el,e.anchor)},C=(e,t,n,r)=>{if(t.children!==e.children){let i=g(e.anchor);E(e),[t.el,t.anchor]=v(t.children,n,i,r)}else t.el=e.el,t.anchor=e.anchor},w=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=g(e),o(e,n,r),e=i;o(t,n,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=g(e),s(e),e=n;s(t)},D=(e,t,n,r,i,a,o,s,c)=>{t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null?O(t,n,r,i,a,o,s,c):te(e,t,i,a,o,s,c)},O=(e,t,n,r,i,a,s,u)=>{let d,f,{props:p,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,p&&p.is,p),h&8?m(d,e.children):h&16&&k(e.children,d,null,r,i,Yi(e,a),s,u),_&&zn(e,null,r,`created`),ee(d,e,e.scopeId,s,r),p){for(let e in p)e!==`value`&&!T(e)&&c(d,e,null,p[e],a,r);`value`in p&&c(d,`value`,null,p.value,a),(f=p.onVnodeBeforeMount)&&Q(f,r,e)}_&&zn(e,null,r,`beforeMount`);let v=Zi(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=p&&p.onVnodeMounted)||v||_)&&G(()=>{f&&Q(f,r,e),v&&g.enter(d),_&&zn(e,null,r,`mounted`)},i)},ee=(e,t,n,r,i)=>{if(n&&_(e,n),r)for(let t=0;t<r.length;t++)_(e,r[t]);if(i){let n=i.subTree;if(t===n||ba(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;ee(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},k=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?$a(e[l]):Z(e[l]);y(null,c,t,n,r,i,a,o,s)}},te=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let p=e.props||t,h=n.props||t,g;if(r&&Xi(r,!1),(g=h.onVnodeBeforeUpdate)&&Q(g,r,n,e),f&&zn(n,e,r,`beforeUpdate`),r&&Xi(r,!0),(p.innerHTML&&h.innerHTML==null||p.textContent&&h.textContent==null)&&m(l,``),d?ne(e.dynamicChildren,d,l,r,i,Yi(n,a),o):s||ue(e,n,l,null,r,i,Yi(n,a),o,!1),u>0){if(u&16)A(l,p,h,r,a);else if(u&2&&p.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,p.style,h.style,a),u&8){let e=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=p[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&m(l,n.children)}else !s&&d==null&&A(l,p,h,r,a);((g=h.onVnodeUpdated)||f)&&G(()=>{g&&Q(g,r,n,e),f&&zn(n,e,r,`updated`)},i)},ne=(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)?h(c.el):n;y(c,l,u,null,r,i,a,o,!0)}},A=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!T(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(T(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},ie=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),k(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren?(ne(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&Qi(e,t,!0)):ue(e,t,n,f,i,a,s,c,l)},j=(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):oe(e,t,c)},ae=(e,t,n,r,i,a,o)=>{let s=e.component=io(e,r,i);if(Sr(e)&&(s.ctx.renderer=Se),po(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,ce,o),!e.el){let e=s.subTree=X(q);x(null,e,t,n)}}else ce(s,e,t,n,i,a,o)},oe=(e,t,n)=>{let r=t.component=e.component;if(_a(e,t,n))if(r.asyncDep&&!r.asyncResolved){le(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},ce=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:c,vnode:l}=e;{let n=ea(e);if(n){t&&(t.el=l.el,le(e,t,o)),n.asyncDep.then(()=>{e.isUnmounted||s()});return}}let u=t,d;Xi(e,!1),t?(t.el=l.el,le(e,t,o)):t=l,n&&re(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Q(d,c,t,l),Xi(e,!0);let f=pa(e),p=e.subTree;e.subTree=f,y(p,f,h(p.el),ye(p),e,i,a),t.el=f.el,u===null&&ya(e,f.el),r&&G(r,i),(d=t.props&&t.props.onVnodeUpdated)&&G(()=>Q(d,c,t,l),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=yr(t);if(Xi(e,!1),l&&re(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Q(o,d,t),Xi(e,!0),s&&M){let t=()=>{e.subTree=pa(e),M(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._injectChildStyle(p);let o=e.subTree=pa(e);y(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&&yr(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 ke(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=()=>Tn(u),Xi(e,!0),l()},le=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,ji(e,t.props,r,n),Wi(e,t.children,n),Ue(),On(e),We()},ue=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(f&128){fe(l,d,n,r,i,a,o,s,c);return}else if(f&256){de(l,d,n,r,i,a,o,s,c);return}}p&8?(u&16&&ve(l,i,a),d!==l&&m(n,d)):u&16?p&16?fe(l,d,n,r,i,a,o,s,c):ve(l,i,a,!0):(u&8&&m(n,``),p&16&&k(d,n,r,i,a,o,s,c))},de=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p;for(p=0;p<f;p++){let n=t[p]=l?$a(t[p]):Z(t[p]);y(e[p],n,r,null,a,o,s,c,l)}u>d?ve(e,a,o,!0,!1,f):k(t,r,i,a,o,s,c,l,f)},fe=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?$a(t[u]):Z(t[u]);if(Y(n,i))y(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?$a(t[p]):Z(t[p]);if(Y(n,i))y(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)y(null,t[u]=l?$a(t[u]):Z(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)me(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?$a(t[u]):Z(t[u]);e.key!=null&&g.set(e.key,u)}let _,v=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let n=e[u];if(v>=b){me(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&Y(n,t[_])){i=_;break}i===void 0?me(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,y(n,t[i],r,null,a,o,s,c,l),v++)}let w=x?$i(C):n;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=e+1<d?t[e+1].el:i;C[u]===0?y(null,n,r,f,a,o,s,c,l):x&&(_<0||u!==w[_]?pe(n,r,f,2):_--)}}},pe=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){pe(e.component.subTree,t,n,r);return}if(d&128){e.suspense.move(t,n,r);return}if(d&64){c.move(e,t,n,Se);return}if(c===K){o(a,t,n);for(let e=0;e<u.length;e++)pe(u[e],t,n,r);o(e.anchor,t,n);return}if(c===Fa){w(e,t,n);return}let f=r!==2&&d&1&&l;if(f)if(r===0)l.beforeEnter(a),o(a,t,n),G(()=>l.enter(a),i);else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}else o(a,t,n)},me=(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}=e;if(d===-2&&(i=!1),s!=null&&(Ue(),ar(s,null,n,e,!0),We()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let m=u&1&&f,h=!yr(e),g;if(h&&(g=o&&o.onVnodeBeforeUnmount)&&Q(g,t,e),u&6)_e(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}m&&zn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,Se,r):l&&!l.hasOnce&&(a!==K||d>0&&d&64)?ve(l,t,n,!1,!0):(a===K&&d&384||!i&&u&16)&&ve(c,t,n),r&&he(e)}(h&&(g=o&&o.onVnodeUnmounted)||m)&&G(()=>{g&&Q(g,t,e),m&&zn(e,null,t,`unmounted`)},n)},he=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===K){ge(n,r);return}if(t===Fa){E(e);return}let a=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},ge=(e,t)=>{let n;for(;e!==t;)n=g(e),s(e),e=n;s(t)},_e=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l,parent:u,slots:{__:f}}=e;ta(c),ta(l),r&&re(r),u&&d(f)&&f.forEach(e=>{u.renderCache[e]=void 0}),i.stop(),a&&(a.flags|=8,me(o,e,t,n)),s&&G(s,t),G(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,t.deps===0&&t.resolve())},ve=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)me(e[o],t,n,r,i)},ye=e=>{if(e.shapeFlag&6)return ye(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=g(e.anchor||e.el),n=t&&t[Bn];return n?g(n):t},be=!1,xe=(e,t,n)=>{e==null?t._vnode&&me(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),t._vnode=e,be||(be=!0,On(),kn(),be=!1)},Se={p:y,um:me,m:pe,r:he,mt:ae,mc:k,pc:ue,pbc:ne,n:ye,o:e},Ce,M;return i&&([Ce,M]=i(Se)),{render:xe,hydrate:Ce,createApp:Si(xe,Ce)}}function Yi({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 Xi({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Zi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Qi(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=$a(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Qi(t,a)),a.type===Pa&&(a.el=t.el),a.type===q&&!a.el&&(a.el=t.el)}}function $i(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 ea(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ea(t)}function ta(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const na=Symbol.for(`v-scx`),ra=()=>{{let e=Ti(na);return e}};function ia(e,t){return oa(e,null,t)}function aa(e,t,n){return oa(e,t,n)}function oa(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if(fo){if(c===`sync`){let e=ra();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=$;u.call=(e,t,n)=>B(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{G(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():Tn(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=fn(e,n,u);return fo&&(f?f.push(h):d&&h()),h}function sa(e,t,n){let r=this.proxy,i=g(e)?e.includes(`.`)?ca(r,e):()=>r[e]:e.bind(r,r),a;h(t)?a=t:(a=t.handler,n=t);let o=co(this),s=oa(i,a.bind(r),n);return o(),s}function ca(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}}const la=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${O(t)}Modifiers`]||e[`${k(t)}Modifiers`];function ua(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&la(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>g(e)?e.trim():e)),s.number&&(a=r.map(j)));let c,l=i[c=ne(n)]||i[c=ne(O(n))];!l&&o&&(l=i[c=ne(k(n))]),l&&B(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,B(u,e,6,a)}}function da(e,t,n=!1){let r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!h(e)){let r=e=>{let n=da(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(v(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),v(e)&&r.set(e,o),o)}function fa(e,t){return!e||!a(t)?!1:(t=t.slice(2).replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,k(t))||u(e,t))}function pa(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Nn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Z(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=Z(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:ha(c)}}catch(t){Ia.length=0,hn(t,e,1),v=X(q)}let b=v,x;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=ga(y,a)),b=Xa(b,y,!1,!0))}return n.dirs&&(b=Xa(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&er(b,n.transition),v=b,Nn(_),v}function ma(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(Wa(r)){if(r.type!==q||r.children===`v-if`){if(n)return;n=r}}else return}return n}const ha=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},ga=(e,t)=>{let n={};for(let r in e)(!o(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function _a(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?va(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(o[n]!==r[n]&&!fa(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?o?va(r,o,l):!0:!!o;return!1}function va(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(t[a]!==e[a]&&!fa(n,a))return!0}return!1}function ya({vnode:e,parent:t},n){for(;t;){let r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const ba=e=>e.__isSuspense;let xa=0;const Sa={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)Ta(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}Ea(e,t,n,r,i,o,s,c,l)}},hydrate:Oa,normalize:ka},Ca=Sa;function wa(e,t){let n=e.props&&e.props[t];h(n)&&n()}function Ta(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=Da(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?(wa(e,`onPending`),wa(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),Ma(f,e.ssFallback)):f.resolve(!1,!0)}function Ea(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(f,h)?(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),Ma(d,p)))):(d.pendingId=xa++,_?(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),Ma(d,p))):m&&Y(f,m)?(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(f,m))c(m,f,n,r,i,d,a,o,s),Ma(d,f);else if(wa(t,`onPending`),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=xa++,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 Da(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=Na(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?ae(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:xa++,timeout:typeof y==`number`?y:-1,activeBranch:null,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}=x,d=!1;x.isHydrating?x.isHydrating=!1:e||(d=i&&o.transition&&o.transition.mode===`out-in`,d&&(i.transition.afterLeave=()=>{s===x.pendingId&&(f(o,u,a===b?m(i):a,0),Dn(c))}),i&&(h(i.el)===u&&(a=m(i)),p(i,l,x,!0)),d||f(o,u,a,0)),Ma(x,o),x.pendingBranch=null,x.isInFallback=!1;let g=x.parent,y=!1;for(;g;){if(g.pendingBranch){g.effects.push(...c),y=!0;break}g=g.parent}!y&&!d&&Dn(c),x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!n&&t.resolve()),wa(r,`onResolve`)},fallback(e){if(!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;wa(t,`onFallback`);let o=m(n),l=()=>{x.isInFallback&&(d(null,e,i,o,r,null,a,s,c),Ma(x,e))},u=e.transition&&e.transition.mode===`out-in`;u&&(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=>{hn(t,e,0)}).then(a=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;e.asyncResolved=!0;let{vnode:s}=e;ho(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&&g(c),ya(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 Oa(e,t,n,r,i,a,o,s,c){let l=t.suspense=Da(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 ka(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Aa(r?n.default:n),e.ssFallback=r?Aa(n.fallback):X(q)}function Aa(e){let t;if(h(e)){let n=za&&e._c;n&&(e._d=!1,La()),e=e(),n&&(e._d=!0,t=J,Ra())}if(d(e)){let t=ma(e);e=t}return e=Z(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function ja(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):Dn(e)}function Ma(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,ya(r,i))}function Na(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const K=Symbol.for(`v-fgt`),Pa=Symbol.for(`v-txt`),q=Symbol.for(`v-cmt`),Fa=Symbol.for(`v-stc`),Ia=[];let J=null;function La(e=!1){Ia.push(J=e?null:[])}function Ra(){Ia.pop(),J=Ia[Ia.length-1]||null}let za=1;function Ba(e,t=!1){za+=e,e<0&&J&&t&&(J.hasOnce=!0)}function Va(e){return e.dynamicChildren=za>0?J||n:null,Ra(),za>0&&J&&J.push(e),e}function Ha(e,t,n,r,i,a){return Va(qa(e,t,n,r,i,a,!0))}function Ua(e,t,n,r,i){return Va(X(e,t,n,r,i,!0))}function Wa(e){return e?e.__v_isVNode===!0:!1}function Y(e,t){return e.type===t.type&&e.key===t.key}const Ga=({key:e})=>e??null,Ka=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:g(e)||z(e)||h(e)?{i:H,r:e,k:t,f:!!n}:e);function qa(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&&Ga(t),ref:t&&Ka(t),scopeId:Mn,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:H};return s?(eo(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),za>0&&!o&&J&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&J.push(c),c}const X=Ja;function Ja(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Kr)&&(e=q),Wa(e)){let r=Xa(e,t,!0);return n&&eo(r,n),za>0&&!a&&J&&(r.shapeFlag&6?J[J.indexOf(e)]=r:J.push(r)),r.patchFlag=-2,r}if(Co(e)&&(e=e.__vccOpts),t){t=Ya(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=pe(e)),v(n)&&(Vt(n)&&!d(n)&&(n=s({},n)),t.style=ce(n))}let o=g(e)?1:ba(e)?128:Vn(e)?64:v(e)?4:h(e)?2:0;return qa(e,t,n,r,i,o,a,!0)}function Ya(e){return e?Vt(e)||ki(e)?s({},e):e:null}function Xa(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?to(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ga(l),ref:t&&t.ref?n&&a?d(a)?a.concat(Ka(t)):[a,Ka(t)]:Ka(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&&Xa(e.ssContent),ssFallback:e.ssFallback&&Xa(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&er(u,c.clone(u)),u}function Za(e=` `,t=0){return X(Pa,null,e,t)}function Qa(e=``,t=!1){return t?(La(),Ua(q,null,e)):X(q,null,e)}function Z(e){return e==null||typeof e==`boolean`?X(q):d(e)?X(K,null,e.slice()):Wa(e)?$a(e):X(Pa,null,String(e))}function $a(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Xa(e)}function eo(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),eo(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!ki(t)?t._ctx=H:r===3&&H&&(H.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else h(t)?(t={default:t,_ctx:H},n=32):(t=String(t),r&64?(n=16,t=[Za(t)]):n=8);e.children=t,e.shapeFlag|=n}function to(...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=pe([t.class,r.class]));else if(e===`style`)t.style=ce([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))&&(t[e]=n?[].concat(n,i):i)}else e!==``&&(t[e]=r[e])}return t}function Q(e,t,n,r=null){B(e,t,7,[n,r])}const no=bi();let ro=0;function io(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||no,o={uid:ro++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new we(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Fi(i,a),emitsOptions:da(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=n?n.root:o,o.emit=ua.bind(null,o),e.ce&&e.ce(o),o}let $=null;const ao=()=>$||H;let oo,so;{let e=se(),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)}};oo=t(`__VUE_INSTANCE_SETTERS__`,e=>$=e),so=t(`__VUE_SSR_SETTERS__`,e=>fo=e)}const co=e=>{let t=$;return oo(e),e.scope.on(),()=>{e.scope.off(),oo(t)}},lo=()=>{$&&$.scope.off(),oo(null)};function uo(e){return e.vnode.shapeFlag&4}let fo=!1;function po(e,t=!1,n=!1){t&&so(t);let{props:r,children:i}=e.vnode,a=uo(e);Ai(e,r,a,t),Ui(e,i,n||t);let o=a?mo(e,t):void 0;return t&&so(!1),o}function mo(e,t){var n;let r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ri);let{setup:i}=r;if(i){Ue();let n=e.setupContext=i.length>1?bo(e):null,r=co(e),a=mn(i,e,0,[e.props,n]),o=y(a);if(We(),r(),(o||e.sp)&&!yr(e)&&rr(e),o){if(a.then(lo,lo),t)return a.then(n=>{ho(e,n,t)}).catch(t=>{hn(t,e,0)});e.asyncDep=a}else ho(e,a,t)}else vo(e,t)}function ho(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=Zt(t)),vo(e,n)}let go,_o;function vo(e,t,n){let i=e.type;if(!e.render){if(!t&&go&&!i.render){let t=i.template||di(e).template;if(t){let{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:o}=i,c=s(s({isCustomElement:n,delimiters:a},r),o);i.render=go(t,c)}}e.render=i.render||r,_o&&_o(e)}{let t=co(e);Ue();try{si(e)}finally{We(),t()}}}const yo={get(e,t){return F(e,`get`,``),e[t]}};function bo(e){let t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,yo),slots:e.slots,emit:e.emit,expose:t}}function xo(e){return e.exposed?e.exposeProxy||=new Proxy(Zt(Ht(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ti)return ti[n](e)},has(e,t){return t in e||t in ti}}):e.proxy}function So(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.__name}function Co(e){return h(e)&&`__vccOpts`in e}const wo=(e,t)=>{let n=sn(e,t,fo);return n};function To(e,t,n){let r=arguments.length;return r===2?v(t)&&!d(t)?Wa(t)?X(e,null,[t]):X(e,t):X(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Wa(n)&&(n=[n]),X(e,t,n))}const Eo=`3.5.15`;function Do(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?Do(i,t,a):typeof i==`function`&&(t[a]=i)}return t}const Oo={run:e=>e()},ko=()=>Oo,Ao=console.createTask===void 0?ko:console.createTask;function jo(e,t){let n=t.shift(),r=Ao(n);return e.reduce((e,n)=>e.then(()=>r.run(()=>n(...t))),Promise.resolve())}function Mo(e,t){let n=t.shift(),r=Ao(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}function No(e,t){for(let n of[...e])n(t)}var Po=class{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),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){if(this._hooks[e]){let n=this._hooks[e].indexOf(t);n!==-1&&this._hooks[e].splice(n,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];delete this._hooks[e];for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in Object.assign(this._deprecatedHooks,e),e)this.deprecateHook(t,e[t])}addHooks(e){let t=Do(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n.splice(0,n.length))e()}}removeHooks(e){let t=Do(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){for(let e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(jo,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(Mo,e,...t)}callHookWith(e,t,...n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&No(this._before,r);let i=e(t in this._hooks?[...this._hooks[t]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&r&&No(this._after,r)}):(this._after&&r&&No(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 Fo(){return new Po}function Io(e={}){let t,n=!1,r=e=>{if(t&&t!==e)throw Error(`Context conflict`)},i;if(e.asyncContext){let t=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;t?i=new t:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}let a=()=>{if(i){let e=i.getStore();if(e!==void 0)return e}return t};return{use:()=>{let e=a();if(e===void 0)throw Error(`Context is not available`);return e},tryUse:()=>a(),set:(e,i)=>{i||r(e),t=e,n=!0},unset:()=>{t=void 0,n=!1},call:(e,a)=>{r(e),t=e;try{return i?i.run(e,a):a()}finally{n||(t=void 0)}},async callAsync(e,r){t=e;let a=()=>{t=e},o=()=>t===e?a:void 0;Uo.add(o);try{let a=i?i.run(e,r):r();return n||(t=void 0),await a}finally{Uo.delete(o)}}}}function Lo(e={}){let t={};return{get(n,r={}){return t[n]||(t[n]=Io({...e,...r})),t[n]}}}const Ro=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof globalThis<`u`?globalThis:typeof window<`u`?window:{},zo=`__unctx__`,Bo=Ro[zo]||(Ro[zo]=Lo()),Vo=(e,t={})=>Bo.get(e,t),Ho=`__unctx_async_handlers__`,Uo=Ro[Ho]||(Ro[Ho]=new Set);function Wo(e){let t=[];for(let e of Uo){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]}const Go=!1,Ko=!1,qo={id:`__nuxt-loader`},Jo=!0,Yo=!1,Xo=!0,Zo=!0,Qo={componentName:`NuxtLink`,prefetch:!0,prefetchOn:{visibility:!0}},$o=null,es=`#__nuxt`,ts=`nuxt-app`,ns=36e5,rs=!1,os=`vite:preloadError`,ss=!1,cs=!0;function ls(e=ts||`nuxt-app`){return Vo(e,{asyncContext:!1})}const us=`__nuxt_plugin`;function ds(e){var t;let n=0,r={_id:e.id||ts||`nuxt-app`,_scope:Te(),provide:void 0,globalName:`nuxt`,versions:{get nuxt(){return`3.17.4`},get vue(){return r.vueApp.version}},payload:It({...(t=e.ssrContext)?.payload||{},data:It({}),state:Ft({}),once:new Set,_errors:It({})}),static:{data:{}},runWithContext(e){return r._scope.active&&!Ee()?r._scope.run(()=>gs(r,e)):gs(r,e)},isHydrating:!0,deferHydration(){if(!r.isHydrating)return()=>{};n++;let e=!1;return()=>{if(!e&&(e=!0,n--,n===0))return r.isHydrating=!1,r.callHook(`app:suspense:resolve`)}},_asyncDataPromises:{},_asyncData:It({}),_payloadRevivers:{},...e};{var i;let e=rs?(i=window.__NUXT__)?.[r._id]:window.__NUXT__;if(e)for(let t in e)switch(t){case`data`:case`state`:case`_errors`:Object.assign(r.payload[t],e[t]);break;default:r.payload[t]=e[t]}}r.hooks=Fo(),r.hook=r.hooks.hook,r.callHook=r.hooks.callHook,r.provide=(e,t)=>{let n=`$`+e;bs(r,n,t),bs(r.vueApp.config.globalProperties,n,t)},bs(r.vueApp,`$nuxt`,r),bs(r.vueApp.config.globalProperties,`$nuxt`,r);{var a;os&&window.addEventListener(os,e=>{r.callHook(`app:chunkError`,{error:e.payload}),e.payload.message.includes(`Unable to preload CSS`)&&e.preventDefault()}),(a=window).useNuxtApp||(a.useNuxtApp=vs);let e=r.hook(`app:error`,(...e)=>{console.error(`[nuxt] error caught during app initialization`,...e)});r.hook(`app:mounted`,e)}let o=r.payload.config;return r.provide(`config`,o),r}function fs(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function ps(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 ms(e,t){let n=new Set,r=[],i=[],a=[],o=0;async function s(c){var l;let u=(l=c.dependsOn)?.filter(e=>t.some(t=>t._name===e)&&!n.has(e))??[];if(u.length>0)r.push([new Set(u),c]);else{let t=ps(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(r.map(async([e,t])=>{e.has(c._name)&&(e.delete(c._name),e.size===0&&(o++,await s(t)))})))});c.parallel?i.push(t.catch(e=>a.push(e))):await t}}for(let n of t)fs(e,n);for(let e of t)await s(e);if(await Promise.all(i),o)for(let e=0;e<o;e++)await Promise.all(i);if(a.length)throw a[0]}function hs(e){if(typeof e==`function`)return e;let t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[us]:!0,_name:t})}function gs(e,t,n){let r=()=>n?t(...n):t(),i=ls(e._id);return i.set(e),e.vueApp.runWithContext(r)}function _s(e){var t;let n;return Ei()&&(n=(t=ao())?.appContext.app.$nuxt),n||=ls(e).tryUse(),n||null}function vs(e){let t=_s(e);if(!t)throw Error(`[nuxt] instance unavailable`);return t}function ys(e){return vs().$config}function bs(e,t,n){Object.defineProperty(e,t,{get:()=>n})}export{Yn as BaseTransition,Gn as BaseTransitionPropsValidators,K as Fragment,wr as KeepAlive,Ca as Suspense,ts as appId,Ko as appKeepalive,Zo as appManifest,Go as appPageTransition,qo as appSpaLoaderAttrs,ms as applyPlugins,B as callWithAsyncErrorHandling,O as camelize,te as capitalize,Yo as componentIslands,wo as computed,qa as createBaseVNode,Ua as createBlock,Qa as createCommentVNode,Ha as createElementBlock,Fo as createHooks,qi as createHydrationRenderer,ds as createNuxtApp,Ki as createRenderer,Zr as createSlots,Za as createTextVNode,X as createVNode,$t as customRef,br as defineAsyncComponent,nr as defineComponent,hs as defineNuxtPlugin,Wo as executeAsync,s as extend,ao as getCurrentInstance,Ee as getCurrentScope,Ya as guardReactiveProps,To as h,Ei as hasInjectionContext,k as hyphenate,ve as includeBooleanAttr,Ti as inject,re as invokeArrayFns,d as isArray,h as isFunction,o as isModelListener,v as isObject,a as isOn,Bt as isReadonly,z as isRef,ge as isSpecialBooleanAttr,g as isString,_ as isSymbol,j as looseToNumber,to as mergeProps,rs as multiApp,Cn as nextTick,pe as normalizeClass,me as normalizeProps,ce as normalizeStyle,$o as nuxtDefaultErrorValue,Qo as nuxtLinkDefaults,Er as onActivated,Rr as onBeforeUnmount,Dr as onDeactivated,Ur as onErrorCaptured,Fr as onMounted,De as onScopeDispose,La as openBlock,ns as outdatedBuildInterval,Xo as payloadExtraction,Fn as popScopeId,wi as provide,cs as purgeCachedData,Pn as pushScopeId,Ft as reactive,Lt as readonly,Wt as ref,Jo as renderJsonPayloads,Xr as renderList,Qr as renderSlot,Gr as resolveComponent,qr as resolveDynamicComponent,It as shallowReactive,Gt as shallowRef,ss as spaLoadingTemplateOutside,be as toDisplayString,ae as toNumber,rn as toRef,en as toRefs,Yt as toValue,_s as tryUseNuxtApp,Jt as unref,vs as useNuxtApp,ys as useRuntimeConfig,ir as useTemplateRef,es as vueAppRootContainer,aa as watch,ia as watchEffect,ai as withAsyncContext,Ln as withCtx,Rn as withDirectives,In as withScopeId};
@@ -1 +0,0 @@
1
- var e=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};export{e as __plugin_vue_export_helper_default};
@@ -1 +0,0 @@
1
- import{createBlock as e,defineComponent as t,h as n,openBlock as r,resolveDynamicComponent as i}from"./COxwzm_n.js";import{getPluginColor as a}from"./B4YzJ31L.js";var o=t({__name:`PluginName`,props:{name:{},compact:{type:Boolean},colored:{type:Boolean},hide:{type:Boolean}},setup(t){let o=t,s=[`__load__`,`vite-plugin-`,`vite-`,`rollup-plugin-`,`rollup-`,`unplugin-`],c=[...s,`vite:`];function l(){let e=o.compact?c:s;for(let t of e)if(o.name.startsWith(t))return o.compact?n(`span`,o.name.slice(t.length)):n(`span`,[n(`span`,{class:`op50`},t),n(`span`,o.name.slice(t.length))]);let t=o.name.split(`:`);return t.length>1?n(`span`,[n(`span`,{style:{color:a(t[0])}},`${t[0]}:`),n(`span`,t.slice(1).join(`:`))]):n(`span`,o.name)}return(t,n)=>(r(),e(i(l)))}}),s=o;export{s as PluginName_default};
@@ -1 +0,0 @@
1
- import{createBaseVNode as e,createElementBlock as t,createTextVNode as n,createVNode as r,openBlock as i,toDisplayString as a,withCtx as o}from"./COxwzm_n.js";import"./BKXf1uMu.js";import{useHead as s}from"./DKLzMrv9.js";import"./Bnn-hxaI.js";import{nuxt_link_default as c}from"./I6F6kbCC.js";import{__plugin_vue_export_helper_default as l}from"./CaCHQCx7.js";const u={class:`antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black`},d={class:`max-w-520px text-center z-20`},f=[`textContent`],p=[`textContent`],m={class:`flex items-center justify-center w-full`},h={__name:`error-404`,props:{appName:{type:String,default:`Nuxt`},version:{type:String,default:``},statusCode:{type:Number,default:404},statusMessage:{type:String,default:`Not Found`},description:{type:String,default:`Sorry, the page you are looking for could not be found.`},backHome:{type:String,default:`Go back home`}},setup(l){let h=l;return s({title:`${h.statusCode} - ${h.statusMessage} | ${h.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(s,h)=>{let g=c;return i(),t(`div`,u,[h[0]||=e(`div`,{class:`fixed left-0 right-0 spotlight z-10`},null,-1),e(`div`,d,[e(`h1`,{class:`font-medium mb-8 sm:text-10xl text-8xl`,textContent:a(l.statusCode)},null,8,f),e(`p`,{class:`font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl`,textContent:a(l.description)},null,8,p),e(`div`,m,[r(g,{to:`/`,class:`cursor-pointer gradient-border px-4 py-2 sm:px-6 sm:py-3 sm:text-xl text-md`},{default:o(()=>[n(a(l.backHome),1)]),_:1})])])])}}};var g=l(h,[[`__scopeId`,`data-v-fc292049`]]);export{g as default};
@@ -1 +0,0 @@
1
- import{Fragment as e,computed as t,createBaseVNode as n,createBlock as r,createCommentVNode as i,createElementBlock as a,createVNode as o,customRef as s,defineComponent as c,getCurrentInstance as l,getCurrentScope as u,guardReactiveProps as d,h as f,hasInjectionContext as p,inject as m,isRef as h,mergeProps as g,nextTick as _,normalizeClass as v,normalizeProps as y,normalizeStyle as b,onMounted as x,onScopeDispose as S,openBlock as C,popScopeId as w,pushScopeId as T,readonly as E,ref as D,renderSlot as O,resolveComponent as k,shallowRef as A,toDisplayString as ee,toRef as j,toValue as M,unref as te,watch as N,watchEffect as ne,withCtx as re,withScopeId as ie}from"./COxwzm_n.js";import{createApp as ae,withKeys as oe}from"./BKXf1uMu.js";const se=[`top`,`right`,`bottom`,`left`],ce=[`start`,`end`],le=se.reduce((e,t)=>e.concat(t,t+`-`+ce[0],t+`-`+ce[1]),[]),ue=Math.min,P=Math.max,de={left:`right`,right:`left`,bottom:`top`,top:`bottom`},fe={start:`end`,end:`start`};function pe(e,t,n){return P(e,ue(t,n))}function F(e,t){return typeof e==`function`?e(t):e}function I(e){return e.split(`-`)[0]}function L(e){return e.split(`-`)[1]}function me(e){return e===`x`?`y`:`x`}function he(e){return e===`y`?`height`:`width`}function R(e){return[`top`,`bottom`].includes(I(e))?`y`:`x`}function ge(e){return me(R(e))}function _e(e,t,n){n===void 0&&(n=!1);let r=L(e),i=ge(e),a=he(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Se(o)),[o,Se(o)]}function ve(e){let t=Se(e);return[ye(e),t,ye(t)]}function ye(e){return e.replace(/start|end/g,e=>fe[e])}function be(e,t,n){let r=[`left`,`right`],i=[`right`,`left`],a=[`top`,`bottom`],o=[`bottom`,`top`];switch(e){case`top`:case`bottom`:return n?t?i:r:t?r:i;case`left`:case`right`:return t?a:o;default:return[]}}function xe(e,t,n,r){let i=L(e),a=be(I(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(ye)))),a}function Se(e){return e.replace(/left|right|bottom|top/g,e=>de[e])}function Ce(e){return{top:0,right:0,bottom:0,left:0,...e}}function we(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Ce(e)}function Te(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Ee(e,t,n){let{reference:r,floating:i}=e,a=R(t),o=ge(t),s=he(o),c=I(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(L(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}const De=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Ee(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=Ee(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function Oe(e,t){var n;t===void 0&&(t={});let{x:r,y:i,platform:a,rects:o,elements:s,strategy:c}=e,{boundary:l=`clippingAncestors`,rootBoundary:u=`viewport`,elementContext:d=`floating`,altBoundary:f=!1,padding:p=0}=F(t,e),m=we(p),h=d===`floating`?`reference`:`floating`,g=s[f?h:d],_=Te(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(g)))??!0?g:g.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),v=d===`floating`?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,y=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),b=await(a.isElement==null?void 0:a.isElement(y))&&await(a.getScale==null?void 0:a.getScale(y))||{x:1,y:1},x=Te(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:c}):v);return{top:(_.top-x.top+m.top)/b.y,bottom:(x.bottom-_.bottom+m.bottom)/b.y,left:(_.left-x.left+m.left)/b.x,right:(x.right-_.right+m.right)/b.x}}const ke=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=F(e,t)||{};if(l==null)return{};let d=we(u),f={x:n,y:r},p=ge(i),m=he(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=ue(d[_],T),D=ue(d[v],T),O=E,k=C-h[m]-D,A=C/2-h[m]/2+w,ee=pe(O,A,k),j=!c.arrow&&L(i)!=null&&A!==ee&&a.reference[m]/2-(A<O?E:D)-h[m]/2<0,M=j?A<O?A-O:A-k:0;return{[p]:f[p]+M,data:{[p]:ee,centerOffset:A-ee-M,...j&&{alignmentOffset:M}},reset:j}}});function Ae(e,t,n){let r=e?[...n.filter(t=>L(t)===e),...n.filter(t=>L(t)!==e)]:n.filter(e=>I(e)===e);return r.filter(n=>e?L(n)===e||(t?ye(n)!==n:!1):!0)}const je=function(e){return e===void 0&&(e={}),{name:`autoPlacement`,options:e,async fn(t){var n,r,i;let{rects:a,middlewareData:o,placement:s,platform:c,elements:l}=t,{crossAxis:u=!1,alignment:d,allowedPlacements:f=le,autoAlignment:p=!0,...m}=F(e,t),h=d!==void 0||f===le?Ae(d||null,p,f):f,g=await Oe(t,m),_=(n=o.autoPlacement)?.index||0,v=h[_];if(v==null)return{};let y=_e(v,a,await(c.isRTL==null?void 0:c.isRTL(l.floating)));if(s!==v)return{reset:{placement:h[0]}};let b=[g[I(v)],g[y[0]],g[y[1]]],x=[...(r=o.autoPlacement)?.overflows||[],{placement:v,overflows:b}],S=h[_+1];if(S)return{data:{index:_+1,overflows:x},reset:{placement:S}};let C=x.map(e=>{let t=L(e.placement);return[e.placement,t&&u?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),w=C.filter(e=>e[2].slice(0,L(e[0])?2:3).every(e=>e<=0)),T=(i=w[0])?.[0]||C[0][0];return T===s?{}:{data:{index:_+1,overflows:x},reset:{placement:T}}}}},Me=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n,r;let{placement:i,middlewareData:a,rects:o,initialPlacement:s,platform:c,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p=`bestFit`,fallbackAxisSideDirection:m=`none`,flipAlignment:h=!0,...g}=F(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};let _=I(i),v=R(s),y=I(s)===s,b=await(c.isRTL==null?void 0:c.isRTL(l.floating)),x=f||(y||!h?[Se(s)]:ve(s)),S=m!==`none`;!f&&S&&x.push(...xe(s,h,m,b));let C=[s,...x],w=await Oe(t,g),T=[],E=(r=a.flip)?.overflows||[];if(u&&T.push(w[_]),d){let e=_e(i,o,b);T.push(w[e[0]],w[e[1]])}if(E=[...E,{placement:i,overflows:T}],!T.every(e=>e<=0)){var D,O;let e=((D=a.flip)?.index||0)+1,t=C[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let n=(O=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?.placement;if(!n)switch(p){case`bestFit`:{var k;let e=(k=E.filter(e=>{if(S){let t=R(e.placement);return t===v||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?.[0];e&&(n=e);break}case`initialPlacement`:n=s;break}if(i!==n)return{reset:{placement:n}}}return{}}}};async function Ne(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=I(n),s=L(n),c=R(n)===`y`,l=[`left`,`top`].includes(o)?-1:1,u=a&&c?-1:1,d=F(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}const Pe=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n,r;let{x:i,y:a,placement:o,middlewareData:s}=t,c=await Ne(t,e);return o===(n=s.offset)?.placement&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:i+c.x,y:a+c.y,data:{...c,placement:o}}}}},Fe=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=F(e,t),l={x:n,y:r},u=await Oe(t,c),d=R(I(i)),f=me(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=pe(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=pe(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},Ie=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=F(e,t),u=await Oe(t,l),d=I(i),f=L(i),p=R(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=ue(h-u[g],v),x=ue(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=P(u.left,0),t=P(u.right,0),n=P(u.top,0),r=P(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:P(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:P(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function z(e){var t;return(t=e.ownerDocument)?.defaultView||window}function B(e){return z(e).getComputedStyle(e)}const Le=Math.min,Re=Math.max,ze=Math.round;function Be(e){let t=B(e),n=parseFloat(t.width),r=parseFloat(t.height),i=e.offsetWidth,a=e.offsetHeight,o=ze(n)!==i||ze(r)!==a;return o&&(n=i,r=a),{width:n,height:r,fallback:o}}function V(e){return Ue(e)?(e.nodeName||``).toLowerCase():``}let Ve;function He(){if(Ve)return Ve;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Ve=e.brands.map(e=>e.brand+`/`+e.version).join(` `),Ve):navigator.userAgent}function H(e){return e instanceof z(e).HTMLElement}function U(e){return e instanceof z(e).Element}function Ue(e){return e instanceof z(e).Node}function We(e){return typeof ShadowRoot>`u`?!1:e instanceof z(e).ShadowRoot||e instanceof ShadowRoot}function Ge(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=B(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&![`inline`,`contents`].includes(i)}function Ke(e){return[`table`,`td`,`th`].includes(V(e))}function qe(e){let t=/firefox/i.test(He()),n=B(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!==`none`||n.perspective!==`none`||!!r&&r!==`none`||t&&n.willChange===`filter`||t&&!!n.filter&&n.filter!==`none`||[`transform`,`perspective`].some(e=>n.willChange.includes(e))||[`paint`,`layout`,`strict`,`content`].some(e=>{let t=n.contain;return t!=null&&t.includes(e)})}function Je(){return!/^((?!chrome|android).)*safari/i.test(He())}function Ye(e){return[`html`,`body`,`#document`].includes(V(e))}function Xe(e){return U(e)?e:e.contextElement}const Ze={x:1,y:1};function W(e){let t=Xe(e);if(!H(t))return Ze;let n=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=Be(t),o=(a?ze(n.width):n.width)/r,s=(a?ze(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}function Qe(e,t,n,r){var i,a;t===void 0&&(t=!1),n===void 0&&(n=!1);let o=e.getBoundingClientRect(),s=Xe(e),c=Ze;t&&(r?U(r)&&(c=W(r)):c=W(e));let l=s?z(s):window,u=!Je()&&n,d=(o.left+(u&&(i=l.visualViewport)?.offsetLeft||0))/c.x,f=(o.top+(u&&(a=l.visualViewport)?.offsetTop||0))/c.y,p=o.width/c.x,m=o.height/c.y;if(s){let e=z(s),t=r&&U(r)?z(r):r,n=e.frameElement;for(;n&&r&&t!==e;){let e=W(n),t=n.getBoundingClientRect(),r=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(r.paddingTop))*e.y,d*=e.x,f*=e.y,p*=e.x,m*=e.y,d+=t.x,f+=t.y,n=z(n).frameElement}}return{width:p,height:m,top:f,right:d+p,bottom:f+m,left:d,x:d,y:f}}function G(e){return((Ue(e)?e.ownerDocument:e.document)||window.document).documentElement}function $e(e){return U(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function et(e){return Qe(G(e)).left+$e(e).scrollLeft}function tt(e){if(V(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||We(e)&&e.host||G(e);return We(t)?t.host:t}function nt(e){let t=tt(e);return Ye(t)?t.ownerDocument.body:H(t)&&Ge(t)?t:nt(t)}function rt(e,t){var n;t===void 0&&(t=[]);let r=nt(e),i=r===(n=e.ownerDocument)?.body,a=z(r);return i?t.concat(a,a.visualViewport||[],Ge(r)?r:[]):t.concat(r,rt(r))}function it(e,t,n){return t===`viewport`?Te(function(e,t){let n=z(e),r=G(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Je();(e||!e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s,y:c}}(e,n)):U(t)?Te(function(e,t){let n=Qe(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=H(e)?W(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,n)):Te(function(e){let t=G(e),n=$e(e),r=e.ownerDocument.body,i=Re(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Re(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+et(e),s=-n.scrollTop;return B(r).direction===`rtl`&&(o+=Re(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}(G(e)))}function at(e){return H(e)&&B(e).position!==`fixed`?e.offsetParent:null}function ot(e){let t=z(e),n=at(e);for(;n&&Ke(n)&&B(n).position===`static`;)n=at(n);return n&&(V(n)===`html`||V(n)===`body`&&B(n).position===`static`&&!qe(n))?t:n||function(e){let t=tt(e);for(;H(t)&&!Ye(t);){if(qe(t))return t;t=tt(t)}return null}(e)||t}function st(e,t,n){let r=H(t),i=G(t),a=Qe(e,!0,n===`fixed`,t),o={scrollLeft:0,scrollTop:0},s={x:0,y:0};if(r||!r&&n!==`fixed`)if((V(t)!==`body`||Ge(i))&&(o=$e(t)),H(t)){let e=Qe(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=et(i));return{x:a.left+o.scrollLeft-s.x,y:a.top+o.scrollTop-s.y,width:a.width,height:a.height}}const ct={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=n===`clippingAncestors`?function(e,t){let n=t.get(e);if(n)return n;let r=rt(e).filter(e=>U(e)&&V(e)!==`body`),i=null,a=B(e).position===`fixed`,o=a?tt(e):e;for(;U(o)&&!Ye(o);){let e=B(o),t=qe(o);(a?t||i:t||e.position!==`static`||!i||![`absolute`,`fixed`].includes(i.position))?i=e:r=r.filter(e=>e!==o),o=tt(o)}return t.set(e,r),r}(t,this._c):[].concat(n),o=[...a,r],s=o[0],c=o.reduce((e,n)=>{let r=it(t,n,i);return e.top=Re(r.top,e.top),e.right=Le(r.right,e.right),e.bottom=Le(r.bottom,e.bottom),e.left=Re(r.left,e.left),e},it(t,s,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,i=H(n),a=G(n);if(n===a)return t;let o={scrollLeft:0,scrollTop:0},s={x:1,y:1},c={x:0,y:0};if((i||!i&&r!==`fixed`)&&((V(n)!==`body`||Ge(a))&&(o=$e(n)),H(n))){let e=Qe(n);s=W(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-o.scrollLeft*s.x+c.x,y:t.y*s.y-o.scrollTop*s.y+c.y}},isElement:U,getDimensions:function(e){return H(e)?Be(e):e.getBoundingClientRect()},getOffsetParent:ot,getDocumentElement:G,getScale:W,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e,i=this.getOffsetParent||ot,a=this.getDimensions;return{reference:st(t,await i(n),r),floating:{x:0,y:0,...await a(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>B(e).direction===`rtl`},lt=(e,t,n)=>{let r=new Map,i={platform:ct,...n},a={...i.platform,_c:r};return De(e,t,{...i,platform:a})};function ut(e,t){for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]==`object`&&e[n]?ut(e[n],t[n]):e[n]=t[n])}const K={disabled:!1,distance:5,skidding:0,container:`body`,boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:`absolute`,preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:`top`,triggers:[`hover`,`focus`,`touch`],hideTriggers:e=>[...e,`click`],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:`...`},dropdown:{placement:`bottom`,triggers:[`click`],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:`dropdown`,triggers:[`hover`,`focus`],popperTriggers:[`hover`],delay:{show:0,hide:400}}}};function dt(e,t){let n=K.themes[e]||{},r;do r=n[t],typeof r>`u`?n.$extend?n=K.themes[n.$extend]||{}:(n=null,r=K[t]):n=null;while(n);return r}function ft(e){let t=[e],n=K.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=K.themes[n.$extend]||{}):n=null;while(n);return t.map(e=>`v-popper--theme-${e}`)}function pt(e){let t=[e],n=K.themes[e]||{};do n.$extend?(t.push(n.$extend),n=K.themes[n.$extend]||{}):n=null;while(n);return t}let q=!1;if(typeof window<`u`){q=!1;try{let e=Object.defineProperty({},`passive`,{get(){q=!0}});window.addEventListener(`test`,null,e)}catch{}}let mt=!1;typeof window<`u`&&typeof navigator<`u`&&(mt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ht=[`auto`,`top`,`bottom`,`left`,`right`].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),gt={hover:`mouseenter`,focus:`focus`,click:`click`,touch:`touchstart`,pointer:`pointerdown`},_t={hover:`mouseleave`,focus:`blur`,click:`click`,touch:`touchend`,pointer:`pointerup`};function vt(e,t){let n=e.indexOf(t);n!==-1&&e.splice(n,1)}function yt(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const J=[];let Y=null;const bt={};function xt(e){let t=bt[e];return t||=bt[e]=[],t}let St=function(){};typeof window<`u`&&(St=window.Element);function X(e){return function(t){return dt(t.theme,e)}}const Ct=`__floating-vue__popper`,wt=()=>c({name:`VPopper`,provide(){return{[Ct]:{parentPopper:this}}},inject:{[Ct]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:X(`disabled`)},positioningDisabled:{type:Boolean,default:X(`positioningDisabled`)},placement:{type:String,default:X(`placement`),validator:e=>ht.includes(e)},delay:{type:[String,Number,Object],default:X(`delay`)},distance:{type:[Number,String],default:X(`distance`)},skidding:{type:[Number,String],default:X(`skidding`)},triggers:{type:Array,default:X(`triggers`)},showTriggers:{type:[Array,Function],default:X(`showTriggers`)},hideTriggers:{type:[Array,Function],default:X(`hideTriggers`)},popperTriggers:{type:Array,default:X(`popperTriggers`)},popperShowTriggers:{type:[Array,Function],default:X(`popperShowTriggers`)},popperHideTriggers:{type:[Array,Function],default:X(`popperHideTriggers`)},container:{type:[String,Object,St,Boolean],default:X(`container`)},boundary:{type:[String,St],default:X(`boundary`)},strategy:{type:String,validator:e=>[`absolute`,`fixed`].includes(e),default:X(`strategy`)},autoHide:{type:[Boolean,Function],default:X(`autoHide`)},handleResize:{type:Boolean,default:X(`handleResize`)},instantMove:{type:Boolean,default:X(`instantMove`)},eagerMount:{type:Boolean,default:X(`eagerMount`)},popperClass:{type:[String,Array,Object],default:X(`popperClass`)},computeTransformOrigin:{type:Boolean,default:X(`computeTransformOrigin`)},autoMinSize:{type:Boolean,default:X(`autoMinSize`)},autoSize:{type:[Boolean,String],default:X(`autoSize`)},autoMaxSize:{type:Boolean,default:X(`autoMaxSize`)},autoBoundaryMaxSize:{type:Boolean,default:X(`autoBoundaryMaxSize`)},preventOverflow:{type:Boolean,default:X(`preventOverflow`)},overflowPadding:{type:[Number,String],default:X(`overflowPadding`)},arrowPadding:{type:[Number,String],default:X(`arrowPadding`)},arrowOverflow:{type:Boolean,default:X(`arrowOverflow`)},flip:{type:Boolean,default:X(`flip`)},shift:{type:Boolean,default:X(`shift`)},shiftCrossAxis:{type:Boolean,default:X(`shiftCrossAxis`)},noAutoFocus:{type:Boolean,default:X(`noAutoFocus`)},disposeTimeout:{type:Number,default:X(`disposeTimeout`)}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:``,strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join(`_`)}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId==null?this.randomId:this.ariaId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide==`function`?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Ct])?.parentPopper},hasPopperShowTriggerHover(){var e,t;return(e=this.popperTriggers)?.includes(`hover`)||(t=this.popperShowTriggers)?.includes(`hover`)}},watch:{shown:`$_autoShowHide`,disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:`$_refreshListeners`,deep:!0},positioningDisabled:`$_refreshListeners`,...[`placement`,`distance`,`skidding`,`boundary`,`strategy`,`overflowPadding`,`arrowPadding`,`preventOverflow`,`shift`,`shiftCrossAxis`,`flip`].reduce((e,t)=>(e[t]=`$_computePosition`,e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,i;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&((i=this.parentPopper)?.lockedChild===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit(`show`),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit(`update:shown`,!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}(n=this.parentPopper)?.lockedChild===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit(`hide`),this.$emit(`update:shown`,!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=(e=this.referenceNode)?.call(this)??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(`.v-popper__inner`),this.$_arrowNode=this.$_popperNode.querySelector(`.v-popper__arrow-container`),this.$_swapTargetAttrs(`title`,`data-original-title`),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs(`data-original-title`,`title`))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit(`resize`))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;let e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Pe({mainAxis:this.distance,crossAxis:this.skidding}));let t=this.placement.startsWith(`auto`);if(t?e.middleware.push(je({alignment:this.placement.split(`-`)[1]??``})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Fe({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Me({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(ke({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:`arrowOverflow`,fn:({placement:e,rects:t,middlewareData:n})=>{let r,{centerOffset:i}=n.arrow;return r=e.startsWith(`top`)||e.startsWith(`bottom`)?Math.abs(i)>t.reference.width/2:Math.abs(i)>t.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){let t=this.autoSize?this.autoSize:this.autoMinSize?`min`:null;e.middleware.push({name:`autoSize`,fn:({rects:e,placement:n,middlewareData:r})=>{var i;if((i=r.autoSize)!=null&&i.skip)return{};let a,o;return n.startsWith(`top`)||n.startsWith(`bottom`)?a=e.reference.width:o=e.reference.height,this.$_innerNode.style[t===`min`?`minWidth`:t===`max`?`maxWidth`:`width`]=a==null?null:`${a}px`,this.$_innerNode.style[t===`min`?`minHeight`:t===`max`?`maxHeight`:`height`]=o==null?null:`${o}px`,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Ie({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:e,availableHeight:t})=>{this.$_innerNode.style.maxWidth=e==null?null:`${e}px`,this.$_innerNode.style.maxHeight=t==null?null:`${t}px`}})));let n=await lt(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Y&&this.instantMove&&Y.instantMove&&Y!==this.parentPopper){Y.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay(`show`))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Y=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay(`hide`))},$_computeDelay(e){let t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await yt(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...rt(this.$_referenceNode),...rt(this.$_popperNode)],`scroll`,()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){let e=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(`.v-popper__wrapper`),n=t.parentNode.getBoundingClientRect(),r=e.x+e.width/2-(n.left+t.offsetLeft),i=e.y+e.height/2-(n.top+t.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":``});let e=this.showGroup;if(e){let t;for(let n=0;n<J.length;n++)t=J[n],t.showGroup!==e&&(t.hide(),t.$emit(`close-group`))}J.push(this),document.body.classList.add(`v-popper--some-open`);for(let e of pt(this.theme))xt(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit(`apply-show`),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await yt(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,vt(J,this),J.length===0&&document.body.classList.remove(`v-popper--some-open`);for(let e of pt(this.theme)){let t=xt(e);vt(t,this),t.length===0&&document.body.classList.remove(`v-popper--some-open--${e}`)}Y===this&&(Y=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);let t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners(`scroll`),this.$emit(`apply-hide`),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await yt(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e==`string`?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw Error(`No container for popover: `+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){let e=e=>{this.isShown&&!this.$_hideInProgress||(e.usedByTooltip=!0,!this.$_preventShow&&this.show({event:e}))};this.$_registerTriggerListeners(this.$_targetNodes,gt,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],gt,this.popperTriggers,this.popperShowTriggers,e);let t=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,_t,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],_t,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(e=>e.addEventListener(t,n,q?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,i){let a=n;r!=null&&(a=typeof r==`function`?r(a):r),a.forEach(n=>{let r=t[n];r&&this.$_registerEventListeners(e,r,i)})},$_removeEventListeners(e){let t=[];this.$_events.forEach(n=>{let{targetNodes:r,eventType:i,handler:a}=n;!e||e===i?r.forEach(e=>e.removeEventListener(i,a)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit(`close-directive`):this.$emit(`auto-hide`),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(let n of this.$_targetNodes){let r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(let t of this.$_targetNodes)for(let n in e){let r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){let e=this.$_referenceNode.getBoundingClientRect();if(jt>=e.left&&jt<=e.right&&Mt>=e.top&&Mt<=e.bottom){let e=this.$_popperNode.getBoundingClientRect(),t=jt-Z,n=Mt-Q,r=e.left+e.width/2-Z+(e.top+e.height/2)-Q+e.width+e.height,i=Z+t*r,a=Q+n*r;return Nt(Z,Q,i,a,e.left,e.top,e.left,e.bottom)||Nt(Z,Q,i,a,e.left,e.top,e.right,e.top)||Nt(Z,Q,i,a,e.right,e.top,e.right,e.bottom)||Nt(Z,Q,i,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<`u`&&typeof window<`u`){if(mt){let e=q?{passive:!0,capture:!0}:!0;document.addEventListener(`touchstart`,e=>Tt(e,!0),e),document.addEventListener(`touchend`,e=>Et(e,!0),e)}else window.addEventListener(`mousedown`,e=>Tt(e,!1),!0),window.addEventListener(`click`,e=>Et(e,!1),!0);window.addEventListener(`resize`,At)}function Tt(e,t){if(K.autoHideOnMousedown)Dt(e,t);else for(let t=0;t<J.length;t++){let n=J[t];try{n.mouseDownContains=n.popperNode().contains(e.target)}catch{}}}function Et(e,t){K.autoHideOnMousedown||Dt(e,t)}function Dt(e,t){let n={};for(let r=J.length-1;r>=0;r--){let i=J[r];try{let r=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(e.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&Ot(i,r,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let e=i.parentPopper;for(;e;)n[e.randomId]=!0,e=e.parentPopper;return}let a=i.parentPopper;for(;a&&Ot(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function Ot(e,t,n){return n.closeAllPopover||n.closePopover&&t||kt(e,n)&&!t}function kt(e,t){if(typeof e.autoHide==`function`){let n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function At(){for(let e=0;e<J.length;e++)J[e].$_computePosition()}let Z=0,Q=0,jt=0,Mt=0;typeof window<`u`&&window.addEventListener(`mousemove`,e=>{Z=jt,Q=Mt,jt=e.clientX,Mt=e.clientY},q?{passive:!0}:void 0);function Nt(e,t,n,r,i,a,o,s){let c=((o-i)*(t-a)-(s-a)*(e-i))/((s-a)*(n-e)-(o-i)*(r-t)),l=((n-e)*(t-a)-(r-t)*(e-i))/((s-a)*(n-e)-(o-i)*(r-t));return c>=0&&c<=1&&l>=0&&l<=1}const Pt={extends:wt()},Ft=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};function It(e,t,n,r,i,o){return C(),a(`div`,{ref:`reference`,class:v([`v-popper`,{"v-popper--shown":e.slotData.isShown}])},[O(e.$slots,`default`,y(d(e.slotData)))],2)}const Lt=Ft(Pt,[[`render`,It]]);function Rt(){var e=window.navigator.userAgent,t=e.indexOf(`MSIE `);if(t>0)return parseInt(e.substring(t+5,e.indexOf(`.`,t)),10);var n=e.indexOf(`Trident/`);if(n>0){var r=e.indexOf(`rv:`);return parseInt(e.substring(r+3,e.indexOf(`.`,r)),10)}var i=e.indexOf(`Edge/`);return i>0?parseInt(e.substring(i+5,e.indexOf(`.`,i)),10):-1}let zt;function Bt(){Bt.init||(Bt.init=!0,zt=Rt()!==-1)}var Vt={name:`ResizeObserver`,props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:[`notify`],mounted(){Bt(),_(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});let e=document.createElement(`object`);this._resizeObject=e,e.setAttribute(`aria-hidden`,`true`),e.setAttribute(`tabindex`,-1),e.onload=this.addResizeHandlers,e.type=`text/html`,zt&&this.$el.appendChild(e),e.data=`about:blank`,zt||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit(`notify`,{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener(`resize`,this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!zt&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener(`resize`,this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Ht=ie(`data-v-b329ee4c`);T(`data-v-b329ee4c`);const Ut={class:`resize-observer`,tabindex:`-1`};w();const Wt=Ht((e,t,n,i,a,o)=>(C(),r(`div`,Ut)));Vt.render=Wt,Vt.__scopeId=`data-v-b329ee4c`,Vt.__file=`src/components/ResizeObserver.vue`;const Gt=(e=`theme`)=>({computed:{themeClass(){return ft(this[e])}}}),Kt=c({name:`VPopperContent`,components:{ResizeObserver:Vt},mixins:[Gt()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:[`hide`,`resize`],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),qt=[`id`,`aria-hidden`,`tabindex`,`data-popper-placement`],Jt={ref:`inner`,class:`v-popper__inner`},Yt=n(`div`,{class:`v-popper__arrow-outer`},null,-1),Xt=n(`div`,{class:`v-popper__arrow-inner`},null,-1),Zt=[Yt,Xt];function Qt(t,o,s,c,l,u){let d=k(`ResizeObserver`);return C(),a(`div`,{id:t.popperId,ref:`popover`,class:v([`v-popper__popper`,[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:b(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?`false`:`true`,tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:o[2]||=oe(e=>t.autoHide&&t.$emit(`hide`),[`esc`])},[n(`div`,{class:`v-popper__backdrop`,onClick:o[0]||=e=>t.autoHide&&t.$emit(`hide`)}),n(`div`,{class:`v-popper__wrapper`,style:b(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[n(`div`,Jt,[t.mounted?(C(),a(e,{key:0},[n(`div`,null,[O(t.$slots,`default`)]),t.handleResize?(C(),r(d,{key:0,onNotify:o[1]||=e=>t.$emit(`resize`,e)})):i(``,!0)],64)):i(``,!0)],512),n(`div`,{ref:`arrow`,class:`v-popper__arrow-container`,style:b(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},Zt,4)],4)],46,qt)}const $t=Ft(Kt,[[`render`,Qt]]),en={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let tn=function(){};typeof window<`u`&&(tn=window.Element);const nn=c({name:`VPopperWrapper`,components:{Popper:Lt,PopperContent:$t},mixins:[en,Gt(`finalTheme`)],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,tn,Boolean],default:void 0},boundary:{type:[String,tn],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function rn(e,t,n,i,a,s){let c=k(`PopperContent`),l=k(`Popper`);return C(),r(l,g({ref:`popper`},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||=()=>e.$emit(`show`),onHide:t[1]||=()=>e.$emit(`hide`),"onUpdate:shown":t[2]||=t=>e.$emit(`update:shown`,t),onApplyShow:t[3]||=()=>e.$emit(`apply-show`),onApplyHide:t[4]||=()=>e.$emit(`apply-hide`),onCloseGroup:t[5]||=()=>e.$emit(`close-group`),onCloseDirective:t[6]||=()=>e.$emit(`close-directive`),onAutoHide:t[7]||=()=>e.$emit(`auto-hide`),onResize:t[8]||=()=>e.$emit(`resize`)}),{default:re(({popperId:t,isShown:n,shouldMountContent:r,skipTransition:i,autoHide:a,show:s,hide:l,handleResize:u,onResize:d,classes:f,result:p})=>[O(e.$slots,`default`,{shown:n,show:s,hide:l}),o(c,{ref:`popperContent`,"popper-id":t,theme:e.finalTheme,shown:n,mounted:r,"skip-transition":i,"auto-hide":a,"handle-resize":u,classes:f,result:p,onHide:l,onResize:d},{default:re(()=>[O(e.$slots,`popper`,{shown:n,hide:l})]),_:2},1032,[`popper-id`,`theme`,`shown`,`mounted`,`skip-transition`,`auto-hide`,`handle-resize`,`classes`,`result`,`onHide`,`onResize`])]),_:3},16,[`theme`,`target-nodes`,`popper-node`,`class`])}const an=Ft(nn,[[`render`,rn]]),on={...an,name:`VDropdown`,vPopperTheme:`dropdown`},sn={...an,name:`VMenu`,vPopperTheme:`menu`},cn={...an,name:`VTooltip`,vPopperTheme:`tooltip`},ln=c({name:`VTooltipDirective`,components:{Popper:wt(),PopperContent:$t},mixins:[en],inheritAttrs:!1,props:{theme:{type:String,default:`tooltip`},html:{type:Boolean,default:e=>dt(e.theme,`html`)},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>dt(e.theme,`loadingContent`)},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content==`function`},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content==`function`&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;let e=++this.$_fetchId,t=this.content(this);t.then?t.then(t=>this.onResult(e,t)):this.onResult(e,t)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),un=[`innerHTML`],dn=[`textContent`];function fn(e,t,n,i,s,c){let l=k(`PopperContent`),u=k(`Popper`);return C(),r(u,g({ref:`popper`},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:re(({popperId:t,isShown:n,shouldMountContent:r,skipTransition:i,autoHide:s,hide:c,handleResize:u,onResize:d,classes:f,result:p})=>[o(l,{ref:`popperContent`,class:v({"v-popper--tooltip-loading":e.loading}),"popper-id":t,theme:e.theme,shown:n,mounted:r,"skip-transition":i,"auto-hide":s,"handle-resize":u,classes:f,result:p,onHide:c,onResize:d},{default:re(()=>[e.html?(C(),a(`div`,{key:0,innerHTML:e.finalContent},null,8,un)):(C(),a(`div`,{key:1,textContent:ee(e.finalContent)},null,8,dn))]),_:2},1032,[`class`,`popper-id`,`theme`,`shown`,`mounted`,`skip-transition`,`auto-hide`,`handle-resize`,`classes`,`result`,`onHide`,`onResize`])]),_:1},16,[`theme`,`target-nodes`,`popper-node`,`onApplyShow`,`onApplyHide`])}const pn=Ft(ln,[[`render`,fn]]),mn=`v-popper--has-tooltip`;function hn(e,t){let n=e.placement;if(!n&&t)for(let e of ht)t[e]&&(n=e);return n||=dt(e.theme||`tooltip`,`placement`),n}function gn(e,t,n){let r,i=typeof t;return r=i===`string`?{content:t}:t&&i===`object`?t:{content:!1},r.placement=hn(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let _n,vn,yn=0;function bn(){if(_n)return;vn=D([]),_n=ae({name:`VTooltipDirectiveApp`,setup(){return{directives:vn}},render(){return this.directives.map(e=>f(pn,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});let e=document.createElement(`div`);document.body.appendChild(e),_n.mount(e)}function xn(e,t,n){bn();let r=D(gn(e,t,n)),i=D(!1),a={id:yn++,options:r,shown:i};return vn.value.push(a),e.classList&&e.classList.add(mn),e.$_popper={options:r,item:a,show(){i.value=!0},hide(){i.value=!1}}}function Sn(e){if(e.$_popper){let t=vn.value.indexOf(e.$_popper.item);t!==-1&&vn.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(mn)}function Cn(e,{value:t,modifiers:n}){let r=gn(e,t,n);if(!r.content||dt(r.theme||`tooltip`,`disabled`))Sn(e);else{let i;e.$_popper?(i=e.$_popper,i.options.value=r):i=xn(e,t,n),typeof t.shown<`u`&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?i.show():i.hide())}}const wn={beforeMount:Cn,updated:Cn,beforeUnmount(e){Sn(e)}};function Tn(e){e.addEventListener(`mousedown`,Dn),e.addEventListener(`click`,Dn),e.addEventListener(`touchstart`,On,q?{passive:!0}:!1)}function En(e){e.removeEventListener(`mousedown`,Dn),e.removeEventListener(`click`,Dn),e.removeEventListener(`touchstart`,On),e.removeEventListener(`touchend`,kn),e.removeEventListener(`touchcancel`,An)}function Dn(e){let t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function On(e){if(e.changedTouches.length===1){let t=e.currentTarget;t.$_vclosepopover_touch=!0;let n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener(`touchend`,kn),t.addEventListener(`touchcancel`,An)}}function kn(e){let t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){let n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function An(e){let t=e.currentTarget;t.$_vclosepopover_touch=!1}const jn={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>`u`||t)&&Tn(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>`u`||t?Tn(e):En(e))},beforeUnmount(e){En(e)}},Mn=K,Nn=wn,Pn=wn,Fn=jn,In=jn,Ln=on,Rn=sn,zn=wt,Bn=$t,Vn=en,Hn=an,Un=Gt,Wn=cn,Gn=pn;function Kn(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,ut(K,t),e.directive(`tooltip`,wn),e.directive(`close-popper`,jn),e.component(`VTooltip`,cn),e.component(`VDropdown`,on),e.component(`VMenu`,sn))}const qn={version:`5.2.2`,install:Kn,options:K};function Jn(e,t){let n,r,i,a=A(!0),o=()=>{a.value=!0,i()};N(e,o,{flush:`sync`});let c=typeof t==`function`?t:t.get,l=typeof t==`function`?void 0:t.set,u=s((e,t)=>(r=e,i=t,{get(){return a.value&&(n=c(n),a.value=!1),r(),n},set(e){l?.(e)}}));return Object.isExtensible(u)&&(u.trigger=o),u}function Yn(e){return u()?(S(e),!0):!1}const Xn=new WeakMap,Zn=(...e)=>{var t;let n=e[0],r=(t=l())?.proxy;if(r==null&&!p())throw Error(`injectLocal must be called in setup`);return r&&Xn.has(r)&&n in Xn.get(r)?Xn.get(r)[n]:m(...e)},Qn=typeof window<`u`&&typeof document<`u`,$n=typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope,er=Object.prototype.toString,tr=e=>er.call(e)===`[object Object]`,$=()=>{};function nr(...e){if(e.length!==1)return j(...e);let t=e[0];return typeof t==`function`?E(s(()=>({get:t,set:$}))):D(t)}function rr(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}const ir=e=>e();function ar(e,t={}){let n,r,i=$,a=e=>{clearTimeout(e),i(),i=$},o,s=s=>{let c=M(e),l=M(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&(a(r),r=null),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=null,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=null,e(s())},c)})};return s}function or(e=ir,t={}){let{initialState:n=`active`}=t,r=nr(n===`active`);function i(){r.value=!1}function a(){r.value=!0}let o=(...t)=>{r.value&&e(...t)};return{isActive:E(r),pause:i,resume:a,eventFilter:o}}function sr(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(()=>i(n),e):setTimeout(r,e)})}function cr(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function lr(e){return Array.isArray(e)?e:[e]}function ur(e){let t=Object.create(null);return n=>{let r=t[n];return r||(t[n]=e(n))}}const dr=/\B([A-Z])/g,fr=ur(e=>e.replace(dr,`-$1`).toLowerCase()),pr=/-(\w)/g,mr=ur(e=>e.replace(pr,(e,t)=>t?t.toUpperCase():``));function hr(e){return e||l()}function gr(e,t,n={}){let{eventFilter:r=ir,...i}=n;return N(e,rr(r,t),i)}function _r(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=or(r,{initialState:i}),u=gr(e,t,{...a,eventFilter:o});return{stop:u,pause:s,resume:c,isActive:l}}function vr(e,t=!0,n){let r=hr(n);r?x(e,n):t?e():_(e)}function yr(e,t=!1){function n(n,{flush:r=`sync`,deep:i=!1,timeout:a,throwOnTimeout:o}={}){let s=null,c=new Promise(a=>{s=N(e,e=>{n(e)!==t&&(s?s():_(()=>s?.()),a(e))},{flush:r,deep:i,immediate:!0})}),l=[c];return a!=null&&l.push(sr(a,o).then(()=>M(e)).finally(()=>s?.())),Promise.race(l)}function r(r,i){if(!h(r))return n(e=>e===r,i);let{flush:a=`sync`,deep:o=!1,timeout:s,throwOnTimeout:c}=i??{},l=null,u=new Promise(n=>{l=N([e,r],([e,r])=>{t!==(e===r)&&(l?l():_(()=>l?.()),n(e))},{flush:a,deep:o,immediate:!0})}),d=[u];return s!=null&&d.push(sr(s,c).then(()=>M(e)).finally(()=>(l?.(),M(e)))),Promise.race(d)}function i(e){return n(e=>!!e,e)}function a(e){return r(null,e)}function o(e){return r(void 0,e)}function s(e){return n(Number.isNaN,e)}function c(e,t){return n(t=>{let n=Array.from(t);return n.includes(e)||n.includes(M(e))},t)}function l(e){return u(1,e)}function u(e=1,t){let r=-1;return n(()=>(r+=1,r>=e),t)}if(Array.isArray(M(e))){let r={toMatch:n,toContains:c,changed:l,changedTimes:u,get not(){return yr(e,!t)}};return r}else{let c={toMatch:n,toBe:r,toBeTruthy:i,toBeNull:a,toBeNaN:s,toBeUndefined:o,changed:l,changedTimes:u,get not(){return yr(e,!t)}};return c}}function br(e){return yr(e)}function xr(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return gr(e,t,{...a,eventFilter:ar(r,{maxWait:i})})}function Sr(e,t,n){return N(e,t,{...n,immediate:!0})}function Cr(e,n,r){let i;i=h(r)?{evaluating:r}:r||{};let{lazy:a=!1,flush:o=`pre`,evaluating:s=void 0,shallow:c=!0,onError:l=$}=i,u=A(!a),d=c?A(n):D(n),f=0;return ne(async t=>{if(!u.value)return;f++;let n=f,r=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{let i=await e(e=>{t(()=>{s&&(s.value=!1),r||e()})});n===f&&(d.value=i)}catch(e){l(e)}finally{s&&n===f&&(s.value=!1),r=!0}},{flush:o}),a?t(()=>(u.value=!0,d.value)):d}const wr=Qn?window:void 0,Tr=Qn?window.document:void 0,Er=Qn?window.navigator:void 0,Dr=Qn?window.location:void 0;function Or(e){var t;let n=M(e);return(t=n?.$el)??n}function kr(...e){let n=[],r=()=>{n.forEach(e=>e()),n.length=0},i=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),a=t(()=>{let t=lr(M(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),o=Sr(()=>{var t,n;return[(n=(t=a.value)?.map(e=>Or(e)))??[wr].filter(e=>e!=null),lr(M(a.value?e[1]:e[0])),lr(te(a.value?e[2]:e[1])),M(a.value?e[3]:e[2])]},([e,t,a,o])=>{if(r(),!e?.length||!t?.length||!a?.length)return;let s=tr(o)?{...o}:o;n.push(...e.flatMap(e=>t.flatMap(t=>a.map(n=>i(e,t,n,s)))))},{flush:`post`}),s=()=>{o(),r()};return Yn(r),s}function Ar(){let e=A(!1),t=l();return t&&x(()=>{e.value=!0},t),e}function jr(e){let n=Ar();return t(()=>(n.value,!!e()))}function Mr(e,t,n){let{immediate:r=!0,delay:i=0,onError:a=$,onSuccess:o=$,resetOnExecute:s=!0,shallow:c=!0,throwError:l}=n??{},u=c?A(t):D(t),d=A(!1),f=A(!1),p=A(void 0);async function m(n=0,...r){s&&(u.value=t),p.value=void 0,d.value=!1,f.value=!0,n>0&&await sr(n);let i=typeof e==`function`?e(...r):e;try{let e=await i;u.value=e,d.value=!0,o(e)}catch(e){if(p.value=e,a(e),l)throw e}finally{f.value=!1}return u.value}r&&m(i);let h={state:u,isReady:d,isLoading:f,error:p,execute:m};function g(){return new Promise((e,t)=>{br(f).toBe(!1).then(()=>e(h)).catch(t)})}return{...h,then(e,t){return g().then(e,t)}}}const Nr=Symbol(`vueuse-ssr-width`);function Pr(){let e=p()?Zn(Nr,null):null;return typeof e==`number`?e:void 0}function Fr(e,n={}){let{window:r=wr,ssrWidth:i=Pr()}=n,a=jr(()=>r&&`matchMedia`in r&&typeof r.matchMedia==`function`),o=A(typeof i==`number`),s=A(),c=A(!1),l=e=>{c.value=e.matches};return ne(()=>{if(o.value){o.value=!a.value;let t=M(e).split(`,`);c.value=t.some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),r=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||r);return n&&a&&(a=i>=cr(n[1])),r&&a&&(a=i<=cr(r[1])),t?!a:a});return}a.value&&(s.value=r.matchMedia(M(e)),c.value=s.value.matches)}),kr(s,`change`,l,{passive:!0}),t(()=>c.value)}const Ir=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},Lr=`__vueuse_ssr_handlers__`,Rr=zr();function zr(){return Lr in Ir||(Ir[Lr]=Ir[Lr]||{}),Ir[Lr]}function Br(e,t){return Rr[e]||t}function Vr(e){return Fr(`(prefers-color-scheme: dark)`,e)}function Hr(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}const Ur={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Wr=`vueuse-storage`;function Gr(e,n,r,i={}){var a;let{flush:o=`pre`,deep:s=!0,listenToStorageChanges:c=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:d,window:f=wr,eventFilter:p,onError:m=e=>{console.error(e)},initOnMounted:h}=i,g=(d?A:D)(typeof n==`function`?n():n),v=t(()=>M(e));if(!r)try{r=Br(`getDefaultStorage`,()=>{var e;return(e=wr)?.localStorage})()}catch(e){m(e)}if(!r)return g;let y=M(n),b=Hr(y),x=(a=i.serializer)??Ur[b],{pause:S,resume:C}=_r(g,()=>k(g.value),{flush:o,deep:s,eventFilter:p});N(v,()=>j(),{flush:o});let w=!1,T=e=>{h&&!w||j(e)},E=e=>{h&&!w||te(e)};f&&c&&(r instanceof Storage?kr(f,`storage`,T,{passive:!0}):kr(f,Wr,E)),h?vr(()=>{w=!0,j()}):j();function O(e,t){if(f){let n={key:v.value,oldValue:e,newValue:t,storageArea:r};f.dispatchEvent(r instanceof Storage?new StorageEvent(`storage`,n):new CustomEvent(Wr,{detail:n}))}}function k(e){try{let t=r.getItem(v.value);if(e==null)O(t,null),r.removeItem(v.value);else{let n=x.write(e);t!==n&&(r.setItem(v.value,n),O(t,n))}}catch(e){m(e)}}function ee(e){let t=e?e.newValue:r.getItem(v.value);if(t==null)return l&&y!=null&&r.setItem(v.value,x.write(y)),y;if(!e&&u){let e=x.read(t);return typeof u==`function`?u(e,y):b===`object`&&!Array.isArray(e)?{...y,...e}:e}else if(typeof t!=`string`)return t;else return x.read(t)}function j(e){if(!(e&&e.storageArea!==r)){if(e&&e.key==null){g.value=y;return}if(!(e&&e.key!==v.value)){S();try{e?.newValue!==x.write(g.value)&&(g.value=ee(e))}catch(e){m(e)}finally{e?_(C):C()}}}}function te(e){j(e.detail)}return g}const Kr=`*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function qr(e={}){let{selector:n=`html`,attribute:r=`class`,initialValue:i=`auto`,window:a=wr,storage:o,storageKey:s=`vueuse-color-scheme`,listenToStorageChanges:c=!0,storageRef:l,emitAuto:u,disableTransition:d=!0}=e,f={auto:``,light:`light`,dark:`dark`,...e.modes||{}},p=Vr({window:a}),m=t(()=>p.value?`dark`:`light`),h=l||(s==null?nr(i):Gr(s,i,o,{window:a,listenToStorageChanges:c})),g=t(()=>h.value===`auto`?m.value:h.value),_=Br(`updateHTMLAttrs`,(e,t,n)=>{let r=typeof e==`string`?a?.document.querySelector(e):Or(e);if(!r)return;let i=new Set,o=new Set,s=null;if(t===`class`){let e=n.split(/\s/g);Object.values(f).flatMap(e=>(e||``).split(/\s/g)).filter(Boolean).forEach(t=>{e.includes(t)?i.add(t):o.add(t)})}else s={key:t,value:n};if(i.size===0&&o.size===0&&s===null)return;let c;d&&(c=a.document.createElement(`style`),c.appendChild(document.createTextNode(Kr)),a.document.head.appendChild(c));for(let e of i)r.classList.add(e);for(let e of o)r.classList.remove(e);s&&r.setAttribute(s.key,s.value),d&&(a.getComputedStyle(c).opacity,document.head.removeChild(c))});function v(e){var t;_(n,r,(t=f[e])??e)}function y(t){e.onChanged?e.onChanged(t,v):v(t)}N(g,y,{flush:`post`,immediate:!0}),vr(()=>y(g.value));let b=t({get(){return u?h.value:g.value},set(e){h.value=e}});return Object.assign(b,{store:h,system:m,state:g})}function Jr(e={}){let{valueDark:n=`dark`,valueLight:r=``}=e,i=qr({...e,onChanged:(t,n)=>{var r;e.onChanged?(r=e.onChanged)==null||r.call(e,t===`dark`,n,t):n(t)},modes:{dark:n,light:r}}),a=t(()=>i.system.value),o=t({get(){return i.value===`dark`},set(e){let t=e?`dark`:`light`;a.value===t?i.value=`auto`:i.value=t}});return o}function Yr(e,t,n={}){let{window:r=wr}=n;return Gr(e,t,r?.localStorage,n)}const Xr=[{max:6e4,value:1e3,name:`second`},{max:276e4,value:6e4,name:`minute`},{max:72e6,value:36e5,name:`hour`},{max:5184e5,value:864e5,name:`day`},{max:24192e5,value:6048e5,name:`week`},{max:28512e6,value:2592e6,name:`month`},{max:1/0,value:31536e6,name:`year`}],Zr={justNow:`just now`,past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?`last month`:`next month`:`${e} month${e>1?`s`:``}`,year:(e,t)=>e===1?t?`last year`:`next year`:`${e} year${e>1?`s`:``}`,day:(e,t)=>e===1?t?`yesterday`:`tomorrow`:`${e} day${e>1?`s`:``}`,week:(e,t)=>e===1?t?`last week`:`next week`:`${e} week${e>1?`s`:``}`,hour:e=>`${e} hour${e>1?`s`:``}`,minute:e=>`${e} minute${e>1?`s`:``}`,second:e=>`${e} second${e>1?`s`:``}`,invalid:``};function Qr(e){return e.toISOString().slice(0,10)}function $r(e,t={},n=Date.now()){var r;let{max:i,messages:a=Zr,fullDateFormatter:o=Qr,units:s=Xr,showSecond:c=!1,rounding:l=`round`}=t,u=typeof l==`number`?e=>+e.toFixed(l):Math[l],d=n-+e,f=Math.abs(d);function p(e,t){return u(Math.abs(e)/t.value)}function m(e,t){let n=p(e,t),r=e>0,i=h(t.name,n,r);return h(r?`past`:`future`,i,r)}function h(e,t,n){let r=a[e];return typeof r==`function`?r(t,n):r.replace(`{0}`,t.toString())}if(f<6e4&&!c)return a.justNow;if(typeof i==`number`&&f>i)return o(new Date(e));if(typeof i==`string`){let t=(r=s.find(e=>e.name===i))?.max;if(t&&f>t)return o(new Date(e))}for(let[e,t]of s.entries()){let n=p(d,t);if(n<=0&&s[e-1])return m(d,s[e-1]);if(f<t.max)return m(d,t)}return a.invalid}const ei=Jr({valueLight:`light`});export{qn as Gt,Rn as Lt,Wn as Vt,Cr as computedAsync,Jn as computedWithControl,$r as formatTimeAgo,ei as isDark,Ln as kt,Mr as useAsyncState,kr as useEventListener,Yr as useLocalStorage,xr as watchDebounced};
@@ -1 +0,0 @@
1
- import{getCurrentInstance as e,hasInjectionContext as t,inject as n,isRef as r,onActivated as i,onBeforeUnmount as a,onDeactivated as o,ref as s,toValue as c,tryUseNuxtApp as l,watchEffect as u}from"./COxwzm_n.js";const d=new Set([`link`,`style`,`script`,`noscript`]),f=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),p=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),m=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),h=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),g=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),_=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),v=new Set([`theme-color`,`google-site-verification`,`og`,`article`,`book`,`profile`,`twitter`,`author`]),y=[`name`,`property`,`http-equiv`];function b(e){let t=e.split(`:`);return t.length?v.has(t[1]):!1}function x(e){let{props:t,tag:n}=e;if(h.has(n))return n;if(n===`link`&&t.rel===`canonical`)return`canonical`;if(t.charset)return`charset`;if(e.tag===`meta`){for(let e of y)if(t[e]!==void 0)return`${n}:${t[e]}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(f.has(n)){let t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function S(e){let t=e._h||e._d;if(t)return t;let n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(`,`)}`}function C(e,t,n){let r=typeof e;r===`function`&&(!n||n!==`titleTemplate`&&!(n[0]===`o`&&n[1]===`n`))&&(e=e());let i;if(t&&(i=t(n,e)),Array.isArray(i))return i.map(e=>C(e,t));if(i?.constructor===Object){let e={};for(let n of Object.keys(i))e[n]=C(i[n],t,n);return e}return i}function w(e,t){let n=e===`style`?new Map:new Set;function r(t){let r=t.trim();if(r)if(e===`style`){let[e,...t]=r.split(`:`).map(e=>e.trim());e&&t.length&&n.set(e,t.join(`:`))}else r.split(` `).filter(Boolean).forEach(e=>n.add(e))}return typeof t==`string`?e===`style`?t.split(`;`).forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&typeof t==`object`&&Object.entries(t).forEach(([t,i])=>{i&&i!==`false`&&(e===`style`?n.set(t.trim(),i):r(t))}),n}function T(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n===`class`||n===`style`){e.props[n]=w(n,r);return}if(g.has(n)){if([`textContent`,`innerHTML`].includes(n)&&typeof r==`object`){let i=t.type;if(t.type||(i=`application/json`),!i?.endsWith(`json`)&&i!==`speculationrules`)return;t.type=i,e.props.type=i,e[n]=JSON.stringify(r)}else e[n]=r;return}let i=String(r),a=n.startsWith(`data-`);i===`true`||i===``?e.props[n]=a?i:!0:!r&&a&&i===`false`?e.props[n]=`false`:r!==void 0&&(e.props[n]=r)}),e}function E(e,t){let n=typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t},r=T({tag:e,props:{}},n);return r.key&&d.has(r.tag)&&(r.props[`data-hid`]=r._h=r.key),r.tag===`script`&&typeof r.innerHTML==`object`&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||`application/json`),Array.isArray(r.props.content)?r.props.content.map(e=>({...r,props:{...r.props,content:e}})):r}function D(e,t){if(!e)return[];typeof e==`function`&&(e=e());let n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);let r=[];return e=C(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(t!==void 0)for(let n of Array.isArray(t)?t:[t])r.push(E(e,n))}),r.flat()}const O=(e,t)=>r(t)?c(t):t,k=`usehead`;function A(e){let t={install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(k,e)}};return t.install}function j(){if(t()){let e=n(k);if(!e)throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`);return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function M(e,t={}){let n=t.head||j();return n.ssr?n.push(e||{},t):N(n,e,t)}function N(t,n,r={}){let c=s(!1),l;u(()=>{let e=c.value?{}:C(n,O);l?l.patch(e):l=t.push(e,r)});let d=e();return d&&(a(()=>{l.dispose()}),o(()=>{c.value=!0}),i(()=>{c.value=!1})),l}function P(e){var r;let i=e||l();return(i==null||(r=i.ssrContext)==null?void 0:r.head)||i?.runWithContext(()=>{if(t())return n(k)})}function F(e,t={}){let n=P(t.nuxt);if(n)return M(e,{head:n,...t})}export{p as HasElementTags,_ as UsesMergeStrategy,m as ValidHeadTags,x as dedupeKey,S as hashTag,b as isMetaArrayDupeKey,D as normalizeEntryToTags,T as normalizeProps$1,F as useHead,A as vueInstall};
@@ -1 +0,0 @@
1
- import{computed as e,defineComponent as t,h as n,nuxtLinkDefaults as r,onBeforeUnmount as i,onMounted as a,ref as o,resolveComponent as s,shallowRef as c,useNuxtApp as l,useRuntimeConfig as u}from"./COxwzm_n.js";import{hasProtocol as d,joinURL as f,navigateTo as p,parseQuery as m,resolveRouteObject as h,useRouter as g,withTrailingSlash as _,withoutTrailingSlash as v}from"./BKXf1uMu.js";import{cancelIdleCallback as y,hashMode as b,onNuxtReady as x,preloadRouteComponents as S,requestIdleCallback as C}from"./Bnn-hxaI.js";const w=(...e)=>e.find(e=>e!==void 0),T=Symbol(`nuxt-link-dev-key`);function E(r){let _=r.componentName||`NuxtLink`;function v(e,t,n){}function T(e){return!b&&typeof e==`string`&&e.startsWith(`#`)}function E(e,t,n){let i=n??r.trailingSlash;if(!e||i!==`append`&&i!==`remove`)return e;if(typeof e==`string`)return O(e,i);let a=`path`in e&&e.path!==void 0?e.path:t(e).path,o={...e,name:void 0,path:O(a,i)};return o}function D(t){let n=g(),i=u(),a=e(()=>!!t.target&&t.target!==`_self`),o=e(()=>{let e=t.to||t.href||``;return typeof e==`string`&&d(e,{acceptRelative:!0})}),c=s(`RouterLink`),l=c&&typeof c!=`string`?c.useLink:void 0,m=e(()=>{if(t.external)return!0;let e=t.to||t.href||``;return typeof e==`object`?!1:e===``||o.value}),_=e(()=>{v(t,`to`,`href`);let e=t.to||t.href||``;return m.value?e:E(e,n.resolve,t.trailingSlash)}),y=m.value?void 0:l?.({...t,to:_}),b=e(()=>{var e;let a=t.trailingSlash??r.trailingSlash;if(!_.value||o.value||T(_.value))return _.value;if(m.value){let e=typeof _.value==`object`&&`path`in _.value?h(_.value):_.value,t=typeof e==`object`?n.resolve(e).href:e;return O(t,a)}return typeof _.value==`object`?(e=n.resolve(_.value))?.href??null:O(f(i.app.baseURL,_.value),a)});return{to:_,hasTarget:a,isAbsoluteUrl:o,isExternal:m,href:b,isActive:y?.isActive??e(()=>_.value===n.currentRoute.value.path),isExactActive:y?.isExactActive??e(()=>_.value===n.currentRoute.value.path),route:y?.route??e(()=>n.resolve(_.value)),async navigate(e){await p(b.value,{replace:t.replace,external:m.value||a.value})}}}return t({name:_,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:D,setup(e,{slots:t}){let u=g(),{to:d,href:f,navigate:p,isExternal:_,hasTarget:b,isAbsoluteUrl:E}=D(e),O=c(!1),A=o(null),M=t=>{var n;A.value=e.custom?t==null||(n=t.$el)==null?void 0:n.nextElementSibling:t?.$el};function N(t){var n,i;return!O.value&&(typeof e.prefetchOn==`string`?e.prefetchOn===t:(n=e.prefetchOn)?.[t]??(i=r.prefetchOn)?.[t])&&(e.prefetch??r.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!==`_blank`&&!j()}async function P(e=l()){if(O.value)return;O.value=!0;let t=typeof d.value==`string`?d.value:_.value?h(d.value):u.resolve(d.value).fullPath,n=_.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,n).catch(()=>{}),!_.value&&!b.value&&S(d.value,u).catch(()=>{})])}if(v(e,`prefetch`,`noPrefetch`),N(`visibility`)){let e=l(),t,n=null;a(()=>{let r=k();x(()=>{t=C(()=>{var t;!(A==null||(t=A.value)==null)&&t.tagName&&(n=r.observe(A.value,async()=>{n?.(),n=null,await P(e)}))})})}),i(()=>{t&&y(t),n?.(),n=null})}return()=>{var i;if(!_.value&&!b.value&&!T(d.value)){let i={ref:M,to:d.value,activeClass:e.activeClass||r.activeClass,exactActiveClass:e.exactActiveClass||r.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(N(`interaction`)&&(i.onPointerenter=P.bind(null,void 0),i.onFocus=P.bind(null,void 0)),O.value&&(i.class=e.prefetchedClass||r.prefetchedClass),i.rel=e.rel||void 0),n(s(`RouterLink`),i,t.default)}let a=e.target||null;v(e,`noRel`,`rel`);let o=w(e.noRel?``:e.rel,r.externalRelAttribute,E.value||b.value?`noopener noreferrer`:``)||null;return e.custom?t.default?t.default({href:f.value,navigate:p,prefetch:P,get route(){if(!f.value)return;let e=new URL(f.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return m(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f.value}},rel:o,target:a,isExternal:_.value||b.value,isActive:!1,isExactActive:!1}):null:n(`a`,{ref:A,href:f.value||null,rel:o,target:a},(i=t.default)?.call(t))}}})}var D=E(r);function O(e,t){let n=t===`append`?_:v,r=d(e)&&!e.startsWith(`http`);return r?e:n(e,!0)}function k(){let e=l();if(e._observer)return e._observer;let t=null,n=new Map,r=(e,r)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target),r=t.isIntersecting||t.intersectionRatio>0;r&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),n.size===0&&(t?.disconnect(),t=null)}),i=e._observer={observe:r};return i}const A=/2g/;function j(){let e=navigator.connection;return!!(e&&(e.saveData||A.test(e.effectiveType)))}export{D as nuxt_link_default};
@@ -1 +0,0 @@
1
- import{computed as e,createBlock as t,defineComponent as n,onMounted as r,openBlock as i,reactive as a,shallowRef as o}from"./COxwzm_n.js";import{useRoute as s}from"./BKXf1uMu.js";import{page_default as c}from"./BrR0v-Bn.js";import{backend as l}from"./kgs9XIg8.js";import{getFileTypeFromName as u}from"./C4K5k6WM.js";var d=n({__name:`[session]`,setup(n){let d=s().params,f=a({id:e(()=>d.session),rootDir:``,modulesList:o([])});return r(async()=>{let e=await l.value.functions[`vite:rolldown:get-session-summary`]({session:d.session});f.rootDir=e.rootDir,f.modulesList=e.modules.map(e=>({id:e.id,fileType:u(e.id).name,imports:e.imports??[],importers:e.importers??[]}))}),(e,n)=>{let r=c;return i(),t(r,{session:f},null,8,[`session`])}}}),f=d;export{f as default};
@@ -1 +0,0 @@
1
- import{Fragment as e,computed as t,createBaseVNode as n,createBlock as r,createCommentVNode as i,createElementBlock as a,createTextVNode as o,defineComponent as s,nextTick as c,normalizeClass as l,normalizeStyle as u,onMounted as d,openBlock as f,reactive as p,ref as m,renderList as h,shallowReactive as g,shallowRef as _,toDisplayString as v,unref as y,useTemplateRef as b,watch as x,withDirectives as S}from"./COxwzm_n.js";import{useRoute as C,useRouter as ee,vModelText as w}from"./BKXf1uMu.js";import"./Bnn-hxaI.js";import{computedWithControl as T,watchDebounced as E}from"./CwDtpcut.js";import"./I6F6kbCC.js";import{getFileTypeFromModuleId as D,getFileTypeFromName as O,makeCachedFunction as k}from"./C4K5k6WM.js";import{ModuleId_default as A,relative as j}from"./B4YzJ31L.js";const M={flex:`~ col gap-2`,p4:``};var N=s({__name:`FlatList`,props:{session:{},modules:{}},setup(t){return(t,n)=>{let i=A;return f(),a(`div`,M,[(f(!0),a(e,null,h(t.modules,e=>(f(),r(i,{key:e,id:e.id,session:t.session,hover:`bg-active`,block:``,px2:``,p1:``,border:`~ base rounded`,link:!0},null,8,[`id`,`session`]))),128))])}}}),P=N;function te(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function ne(){return this.eachAfter(te)}function re(e,t){let n=-1;for(let r of this)e.call(t,r,++n,this);return this}function ie(e,t){for(var n=this,r=[n],i,a,o=-1;n=r.pop();)if(e.call(t,n,++o,this),i=n.children)for(a=i.length-1;a>=0;--a)r.push(i[a]);return this}function ae(e,t){for(var n=this,r=[n],i=[],a,o,s,c=-1;n=r.pop();)if(i.push(n),a=n.children)for(o=0,s=a.length;o<s;++o)r.push(a[o]);for(;n=i.pop();)e.call(t,n,++c,this);return this}function oe(e,t){let n=-1;for(let r of this)if(e.call(t,r,++n,this))return r}function se(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n})}function ce(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function le(e){for(var t=this,n=ue(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}function ue(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}function de(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function fe(){return Array.from(this)}function pe(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function me(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function*he(){var e=this,t,n=[e],r,i,a;do for(t=n.reverse(),n=[];e=t.pop();)if(yield e,r=e.children)for(i=0,a=r.length;i<a;++i)n.push(r[i]);while(n.length)}function F(e,t){e instanceof Map?(e=[void 0,e],t===void 0&&(t=ve)):t===void 0&&(t=_e);for(var n=new I(e),r,i=[n],a,o,s,c;r=i.pop();)if((o=t(r.data))&&(c=(o=Array.from(o)).length))for(r.children=o,s=c-1;s>=0;--s)i.push(a=o[s]=new I(o[s])),a.parent=r,a.depth=r.depth+1;return n.eachBefore(be)}function ge(){return F(this).eachBefore(ye)}function _e(e){return e.children}function ve(e){return Array.isArray(e)?e[1]:null}function ye(e){e.data.value!==void 0&&(e.value=e.data.value),e.data=e.data.data}function be(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function I(e){this.data=e,this.depth=this.height=0,this.parent=null}I.prototype=F.prototype={constructor:I,count:ne,each:re,eachAfter:ae,eachBefore:ie,find:oe,sum:se,sort:ce,path:le,ancestors:de,descendants:fe,leaves:pe,links:me,copy:ge,[Symbol.iterator]:he};function xe(e,t){return e.parent===t.parent?1:2}function Se(e){var t=e.children;return t?t[0]:e.t}function Ce(e){var t=e.children;return t?t[t.length-1]:e.t}function we(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function Te(e){for(var t=0,n=0,r=e.children,i=r.length,a;--i>=0;)a=r[i],a.z+=t,a.m+=t,t+=a.s+(n+=a.c)}function Ee(e,t,n){return e.a.parent===t.parent?e.a:n}function L(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}L.prototype=Object.create(I.prototype);function De(e){for(var t=new L(e,0),n,r=[t],i,a,o,s;n=r.pop();)if(a=n._.children)for(n.children=Array(s=a.length),o=s-1;o>=0;--o)r.push(i=n.children[o]=new L(a[o],o)),i.parent=n;return(t.parent=new L(null,0)).children=[t],t}function Oe(){var e=xe,t=1,n=1,r=null;function i(i){var s=De(i);if(s.eachAfter(a),s.parent.m=-s.z,s.eachBefore(o),r)i.eachBefore(c);else{var l=i,u=i,d=i;i.eachBefore(function(e){e.x<l.x&&(l=e),e.x>u.x&&(u=e),e.depth>d.depth&&(d=e)});var f=l===u?1:e(l,u)/2,p=f-l.x,m=t/(u.x+f+p),h=n/(d.depth||1);i.eachBefore(function(e){e.x=(e.x+p)*m,e.y=e.depth*h})}return i}function a(t){var n=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(n){Te(t);var a=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-a):t.z=a}else i&&(t.z=i.z+e(t._,i._));t.parent.A=s(t,i,t.parent.A||r[0])}function o(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(t,n,r){if(n){for(var i=t,a=t,o=n,s=i.parent.children[0],c=i.m,l=a.m,u=o.m,d=s.m,f;o=Ce(o),i=Se(i),o&&i;)s=Se(s),a=Ce(a),a.a=t,f=o.z+u-i.z-c+e(o._,i._),f>0&&(we(Ee(o,t,r),t,f),c+=f,l+=f),u+=o.m,c+=i.m,d+=s.m,l+=a.m;o&&!Ce(a)&&(a.t=o,a.m+=u-l),i&&!Se(s)&&(s.t=i,s.m+=c-d,r=t)}return r}function c(e){e.x*=t,e.y=e.depth*n}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],i):r?null:[t,n]},i.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],i):r?[t,n]:null},i}function ke(e){return function(){return e}}const R=Math.PI,z=2*R,B=1e-6,Ae=z-B;function je(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Me(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return je;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var V=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?je:Me(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>B)if(!(Math.abs(u*s-c*l)>B)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((R-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>B&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>B||Math.abs(this._y1-l)>B)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%z+z),d>Ae?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>B&&this._append`A${n},${n},0,${+(d>=R)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function Ne(){return new V}Ne.prototype=V.prototype;function Pe(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new V(t)}var Fe=Array.prototype.slice;function Ie(e){return e[0]}function Le(e){return e[1]}var Re=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t);break}this._x0=e,this._y0=t}};function ze(e){return new Re(e,!0)}function Be(e){return new Re(e,!1)}function Ve(e){return e.source}function He(e){return e.target}function Ue(e){let t=Ve,n=He,r=Ie,i=Le,a=null,o=null,s=Pe(c);function c(){let c,l=Fe.call(arguments),u=t.apply(this,l),d=n.apply(this,l);if(a??(o=e(c=s())),o.lineStart(),l[0]=u,o.point(+r.apply(this,l),+i.apply(this,l)),l[0]=d,o.point(+r.apply(this,l),+i.apply(this,l)),o.lineEnd(),c)return o=null,c+``||null}return c.source=function(e){return arguments.length?(t=e,c):t},c.target=function(e){return arguments.length?(n=e,c):n},c.x=function(e){return arguments.length?(r=typeof e==`function`?e:ke(+e),c):r},c.y=function(e){return arguments.length?(i=typeof e==`function`?e:ke(+e),c):i},c.context=function(t){return arguments.length?(t==null?a=o=null:o=e(a=t),c):a},c}function We(){return Ue(ze)}function Ge(){return Ue(Be)}const Ke=[`width`,`height`],qe=[`d`];var Je=s({__name:`Graph`,props:{session:{},modules:{}},setup(o){let s=o,v=m(`normal`),S=p({width:t(()=>v.value===`normal`?400:10),height:t(()=>v.value===`normal`?55:20),linkOffset:t(()=>v.value===`normal`?20:0),margin:t(()=>800),gap:t(()=>v.value===`normal`?150:100)}),C=b(`container`),ee=m(!1),w=m(window.innerWidth),T=m(window.innerHeight),E=m(1),D=g(new Map),O=_([]),k=_([]),j=g(new Map),M=g(new Map),N=t(()=>{let e=new Map;for(let t of s.modules)e.set(t.id,t);return e}),P=t(()=>s.modules.filter(e=>e.importers.length===0)),te=We().x(e=>e[0]).y(e=>e[1]),ne=Ge().x(e=>e[0]).y(e=>e[1]);function re(){w.value=window.innerWidth,T.value=window.innerHeight;let e=new Set,t=F({id:`~root`},t=>{if(t.id===`~root`)return P.value.forEach(t=>e.add(t)),P.value;let n=t.imports.map(t=>{let n=N.value.get(t.id);if(n){if(e.has(n))return;e.add(n)}return n}).filter(e=>e!==void 0);return n}),n=Oe().nodeSize([S.height,S.width+S.gap]);n(t);let r=t.descendants();for(let e of r)[e.x,e.y]=[e.y-S.width,e.x];let i=Math.min(...r.map(e=>e.x)),a=Math.min(...r.map(e=>e.y));if(i<S.margin)for(let e of r)e.x+=Math.abs(i)+S.margin;if(a<S.margin)for(let e of r)e.y+=Math.abs(a)+S.margin;O.value=r,j.clear();for(let e of r)j.set(e.data.id,e);let o=t.links().filter(e=>e.source.data.id!==`~root`).map(e=>({...e,id:`${e.source.data.id}|${e.target.data.id}`}));M.clear();for(let e of o)M.set(e.id,e);k.value=o,c(()=>{w.value=C.value.scrollWidth/E.value+S.margin,T.value=C.value.scrollHeight/E.value+S.margin,ie(P.value[0].id,!1)})}function ie(e,t=!0){let n=D.get(e);n?.scrollIntoView({block:`center`,inline:`center`,behavior:t?`smooth`:`instant`})}function ae(e){return e.target.x<=e.source.x?ne({source:[e.source.x+S.width/2-S.linkOffset,e.source.y],target:[e.target.x-S.width/2+S.linkOffset,e.target.y]}):te({source:[e.source.x+S.width/2-S.linkOffset,e.source.y],target:[e.target.x-S.width/2+S.linkOffset,e.target.y]})}function oe(e){return`stroke-#8882`}return d(()=>{x(()=>[s.modules,v.value],re,{immediate:!0})}),(t,o)=>{let s=A;return f(),a(`div`,{ref_key:`container`,ref:C,"w-screen":``,"h-screen":``,"of-scroll":``,relative:``,"select-none":``,class:l(ee.value?`cursor-grabbing`:``)},[(f(),a(`svg`,{"pointer-events-none":``,absolute:``,"left-0":``,"top-0":``,"z-graph-link":``,width:w.value,height:T.value},[n(`g`,null,[(f(!0),a(e,null,h(k.value,e=>(f(),a(`path`,{key:e.id,d:ae(e),class:l(oe(e)),fill:`none`},null,10,qe))),128))])],8,Ke)),(f(!0),a(e,null,h(O.value,n=>(f(),a(e,{key:n.data.id},[n.data.id===`~root`?i(``,!0):(f(),r(s,{key:0,id:n.data.id,ref_for:!0,ref:e=>y(D).set(n.data.id,e?.$el),absolute:``,hover:`bg-active`,block:``,px2:``,p1:``,"bg-glass":``,"z-graph-node":``,border:`~ base rounded`,link:!0,session:t.session,pkg:n.data,minimal:!0,style:u({left:`${n.x}px`,top:`${n.y}px`,minWidth:v.value===`normal`?`${S.width}px`:void 0,transform:`translate(-50%, -50%)`,maxWidth:`400px`,maxHeight:`50px`,overflow:`hidden`})},null,8,[`id`,`session`,`pkg`,`style`]))],64))),128))],2)}}}),Ye=Je;function Xe(e){return Object.keys(e).forEach(t=>e[t]===void 0?delete e[t]:{}),e}const Ze=Symbol(`p-void`);function H(e){return Array.isArray?Array.isArray(e):at(e)===`[object Array]`}const Qe=1/0;function $e(e){if(typeof e==`string`)return e;let t=e+``;return t==`0`&&1/e==-Qe?`-0`:t}function et(e){return e==null?``:$e(e)}function U(e){return typeof e==`string`}function tt(e){return typeof e==`number`}function nt(e){return e===!0||e===!1||it(e)&&at(e)==`[object Boolean]`}function rt(e){return typeof e==`object`}function it(e){return rt(e)&&e!==null}function W(e){return e!=null}function G(e){return!e.trim().length}function at(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}const ot=`Incorrect 'index' type`,st=e=>`Invalid value for key ${e}`,ct=e=>`Pattern length exceeds max of ${e}.`,lt=e=>`Missing ${e} property in key`,ut=e=>`Property 'weight' in key '${e}' must be a positive integer`,dt=Object.prototype.hasOwnProperty;var ft=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=pt(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function pt(e){let t=null,n=null,r=null,i=1,a=null;if(U(e)||H(e))r=e,t=mt(e),n=K(e);else{if(!dt.call(e,`name`))throw Error(lt(`name`));let o=e.name;if(r=o,dt.call(e,`weight`)&&(i=e.weight,i<=0))throw Error(ut(o));t=mt(o),n=K(o),a=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:a}}function mt(e){return H(e)?e:e.split(`.`)}function K(e){return H(e)?e.join(`.`):e}function ht(e,t){let n=[],r=!1,i=(e,t,a)=>{if(W(e))if(!t[a])n.push(e);else{let o=t[a],s=e[o];if(!W(s))return;if(a===t.length-1&&(U(s)||tt(s)||nt(s)))n.push(et(s));else if(H(s)){r=!0;for(let e=0,n=s.length;e<n;e+=1)i(s[e],t,a+1)}else t.length&&i(s,t,a+1)}};return i(e,U(t)?t.split(`.`):t,0),r?n:n[0]}const gt={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},_t={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},vt={location:0,threshold:.6,distance:100},yt={useExtendedSearch:!1,getFn:ht,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var q={..._t,...gt,...vt,...yt};const bt=/[^ ]+/g;function xt(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=t.match(bt).length;if(n.has(i))return n.get(i);let a=1/i**(.5*e),o=parseFloat(Math.round(a*r)/r);return n.set(i,o),o},clear(){n.clear()}}}var St=class{constructor({getFn:e=q.getFn,fieldNormWeight:t=q.fieldNormWeight}={}){this.norm=xt(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,U(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){let t=this.size();U(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)--this.records[t].i}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!W(e)||G(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach((t,r)=>{let i=t.getFn?t.getFn(e):this.getFn(e,t.path);if(W(i)){if(H(i)){let e=[],t=[{nestedArrIndex:-1,value:i}];for(;t.length;){let{nestedArrIndex:n,value:r}=t.pop();if(W(r))if(U(r)&&!G(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else H(r)&&r.forEach((e,n)=>{t.push({nestedArrIndex:n,value:e})})}n.$[r]=e}else if(U(i)&&!G(i)){let e={v:i,n:this.norm.get(i)};n.$[r]=e}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}};function Ct(e,t,{getFn:n=q.getFn,fieldNormWeight:r=q.fieldNormWeight}={}){let i=new St({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(pt)),i.setSources(t),i.create(),i}function wt(e,{getFn:t=q.getFn,fieldNormWeight:n=q.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new St({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function J(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=q.distance,ignoreLocation:a=q.ignoreLocation}={}){let o=t/e.length;if(a)return o;let s=Math.abs(r-n);return i?o+s/i:s?1:o}function Tt(e=[],t=q.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let o=e.length;a<o;a+=1){let o=e[a];o&&r===-1?r=a:!o&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}const Y=32;function Et(e,t,n,{location:r=q.location,distance:i=q.distance,threshold:a=q.threshold,findAllMatches:o=q.findAllMatches,minMatchCharLength:s=q.minMatchCharLength,includeMatches:c=q.includeMatches,ignoreLocation:l=q.ignoreLocation}={}){if(t.length>Y)throw Error(ct(Y));let u=t.length,d=e.length,f=Math.max(0,Math.min(r,d)),p=a,m=f,h=s>1||c,g=h?Array(d):[],_;for(;(_=e.indexOf(t,m))>-1;){let e=J(t,{currentLocation:_,expectedLocation:f,distance:i,ignoreLocation:l});if(p=Math.min(e,p),m=_+u,h){let e=0;for(;e<u;)g[_+e]=1,e+=1}}m=-1;let v=[],y=1,b=u+d,x=1<<u-1;for(let r=0;r<u;r+=1){let a=0,s=b;for(;a<s;){let e=J(t,{errors:r,currentLocation:f+s,expectedLocation:f,distance:i,ignoreLocation:l});e<=p?a=s:b=s,s=Math.floor((b-a)/2+a)}b=s;let c=Math.max(1,f-s+1),_=o?d:Math.min(f+s,d)+u,S=Array(_+2);S[_+1]=(1<<r)-1;for(let a=_;a>=c;--a){let o=a-1,s=n[e.charAt(o)];if(h&&(g[o]=+!!s),S[a]=(S[a+1]<<1|1)&s,r&&(S[a]|=(v[a+1]|v[a])<<1|1|v[a+1]),S[a]&x&&(y=J(t,{errors:r,currentLocation:o,expectedLocation:f,distance:i,ignoreLocation:l}),y<=p)){if(p=y,m=o,m<=f)break;c=Math.max(1,2*f-m)}}let C=J(t,{errors:r+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:l});if(C>p)break;v=S}let S={isMatch:m>=0,score:Math.max(.001,y)};if(h){let e=Tt(g,s);e.length?c&&(S.indices=e):S.isMatch=!1}return S}function Dt(e){let t={};for(let n=0,r=e.length;n<r;n+=1){let i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}const X=String.prototype.normalize?e=>e.normalize(`NFD`).replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,``):e=>e;var Ot=class{constructor(e,{location:t=q.location,threshold:n=q.threshold,distance:r=q.distance,includeMatches:i=q.includeMatches,findAllMatches:a=q.findAllMatches,minMatchCharLength:o=q.minMatchCharLength,isCaseSensitive:s=q.isCaseSensitive,ignoreDiacritics:c=q.ignoreDiacritics,ignoreLocation:l=q.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l},e=s?e:e.toLowerCase(),e=c?X(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:Dt(e),startIndex:t})},d=this.pattern.length;if(d>Y){let e=0,t=d%Y,n=d-t;for(;e<n;)u(this.pattern.substr(e,Y),e),e+=Y;if(t){let e=d-Y;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?X(e):e,this.pattern===e){let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:i,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,ignoreLocation:l}=this.options,u=[],d=0,f=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:p})=>{let{isMatch:m,score:h,indices:g}=Et(e,t,n,{location:i+p,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,includeMatches:r,ignoreLocation:l});m&&(f=!0),d+=h,m&&g&&(u=[...u,...g])});let p={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(p.indices=u),p}},Z=class{constructor(e){this.pattern=e}static isMultiMatch(e){return kt(e,this.multiRegex)}static isSingleMatch(e){return kt(e,this.singleRegex)}search(){}};function kt(e,t){let n=e.match(t);return n?n[1]:null}var At=class extends Z{constructor(e){super(e)}static get type(){return`exact`}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){let t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},jt=class extends Z{constructor(e){super(e)}static get type(){return`inverse-exact`}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=e.indexOf(this.pattern),n=t===-1;return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}},Mt=class extends Z{constructor(e){super(e)}static get type(){return`prefix-exact`}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){let t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Nt=class extends Z{constructor(e){super(e)}static get type(){return`inverse-prefix-exact`}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){let t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Pt=class extends Z{constructor(e){super(e)}static get type(){return`suffix-exact`}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){let t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},Ft=class extends Z{constructor(e){super(e)}static get type(){return`inverse-suffix-exact`}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){let t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},It=class extends Z{constructor(e,{location:t=q.location,threshold:n=q.threshold,distance:r=q.distance,includeMatches:i=q.includeMatches,findAllMatches:a=q.findAllMatches,minMatchCharLength:o=q.minMatchCharLength,isCaseSensitive:s=q.isCaseSensitive,ignoreDiacritics:c=q.ignoreDiacritics,ignoreLocation:l=q.ignoreLocation}={}){super(e),this._bitapSearch=new Ot(e,{location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l})}static get type(){return`fuzzy`}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}},Lt=class extends Z{constructor(e){super(e)}static get type(){return`include`}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t=0,n,r=[],i=this.pattern.length;for(;(n=e.indexOf(this.pattern,t))>-1;)t=n+i,r.push([n,t-1]);let a=!!r.length;return{isMatch:a,score:a?0:1,indices:r}}};const Rt=[At,Lt,Mt,Nt,Ft,Pt,jt,It],zt=Rt.length,Bt=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Vt=`|`;function Ht(e,t={}){return e.split(Vt).map(e=>{let n=e.trim().split(Bt).filter(e=>e&&!!e.trim()),r=[];for(let e=0,i=n.length;e<i;e+=1){let i=n[e],a=!1,o=-1;for(;!a&&++o<zt;){let e=Rt[o],n=e.isMultiMatch(i);n&&(r.push(new e(n,t)),a=!0)}if(!a)for(o=-1;++o<zt;){let e=Rt[o],n=e.isSingleMatch(i);if(n){r.push(new e(n,t));break}}}return r})}const Ut=new Set([It.type,Lt.type]);var Wt=class{constructor(e,{isCaseSensitive:t=q.isCaseSensitive,ignoreDiacritics:n=q.ignoreDiacritics,includeMatches:r=q.includeMatches,minMatchCharLength:i=q.minMatchCharLength,ignoreLocation:a=q.ignoreLocation,findAllMatches:o=q.findAllMatches,location:s=q.location,threshold:c=q.threshold,distance:l=q.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:o,ignoreLocation:a,location:s,threshold:c,distance:l},e=t?e:e.toLowerCase(),e=n?X(e):e,this.pattern=e,this.query=Ht(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?X(e):e;let a=0,o=[],s=0;for(let r=0,i=t.length;r<i;r+=1){let i=t[r];o.length=0,a=0;for(let t=0,r=i.length;t<r;t+=1){let r=i[t],{isMatch:c,indices:l,score:u}=r.search(e);if(c){if(a+=1,s+=u,n){let e=r.constructor.type;Ut.has(e)?o=[...o,...l]:o.push(l)}}else{s=0,a=0,o.length=0;break}}if(a){let e={isMatch:!0,score:s/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}};const Gt=[];function Kt(...e){Gt.push(...e)}function qt(e,t){for(let n=0,r=Gt.length;n<r;n+=1){let r=Gt[n];if(r.condition(e,t))return new r(e,t)}return new Ot(e,t)}const Q={AND:`$and`,OR:`$or`},Jt={PATH:`$path`,PATTERN:`$val`},Yt=e=>!!(e[Q.AND]||e[Q.OR]),Xt=e=>!!e[Jt.PATH],Zt=e=>!H(e)&&rt(e)&&!Yt(e),Qt=e=>({[Q.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function $t(e,t,{auto:n=!0}={}){let r=e=>{let i=Object.keys(e),a=Xt(e);if(!a&&i.length>1&&!Yt(e))return r(Qt(e));if(Zt(e)){let r=a?e[Jt.PATH]:i[0],o=a?e[Jt.PATTERN]:e[r];if(!U(o))throw Error(st(r));let s={keyId:K(r),pattern:o};return n&&(s.searcher=qt(o,t)),s}let o={children:[],operator:i[0]};return i.forEach(t=>{let n=e[t];H(n)&&n.forEach(e=>{o.children.push(r(e))})}),o};return Yt(e)||(e=Qt(e)),r(e)}function en(e,{ignoreFieldNorm:t=q.ignoreFieldNorm}){e.forEach(e=>{let n=1;e.matches.forEach(({key:e,norm:r,score:i})=>{let a=e?e.weight:null;n*=(i===0&&a?2**-52:i)**+((a||1)*(t?1:r))}),e.score=n})}function tn(e,t){let n=e.matches;t.matches=[],W(n)&&n.forEach(e=>{if(!W(e.indices)||!e.indices.length)return;let{indices:n,value:r}=e,i={indices:n,value:r};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)})}function nn(e,t){t.score=e.score}function rn(e,t,{includeMatches:n=q.includeMatches,includeScore:r=q.includeScore}={}){let i=[];return n&&i.push(tn),r&&i.push(nn),e.map(e=>{let{idx:n}=e,r={item:t[n],refIndex:n};return i.length&&i.forEach(t=>{t(e,r)}),r})}var $=class{constructor(e,t={},n){this.options={...q,...t},this.options.useExtendedSearch,this._keyStore=new ft(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof St))throw Error(ot);this._myIndex=t||Ct(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){W(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){let t=[];for(let n=0,r=this._docs.length;n<r;n+=1){let i=this._docs[n];e(i,n)&&(this.removeAt(n),--n,--r,t.push(i))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){let{includeMatches:n,includeScore:r,shouldSort:i,sortFn:a,ignoreFieldNorm:o}=this.options,s=U(e)?U(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return en(s,{ignoreFieldNorm:o}),i&&s.sort(a),tt(t)&&t>-1&&(s=s.slice(0,t)),rn(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){let t=qt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:e,i:n,n:i})=>{if(!W(e))return;let{isMatch:a,score:o,indices:s}=t.searchIn(e);a&&r.push({item:e,idx:n,matches:[{score:o,value:e,norm:i,indices:s}]})}),r}_searchLogical(e){let t=$t(e,this.options),n=(e,t,r)=>{if(!e.children){let{keyId:n,searcher:i}=e,a=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i});return a&&a.length?[{idx:r,item:t,matches:a}]:[]}let i=[];for(let a=0,o=e.children.length;a<o;a+=1){let o=e.children[a],s=n(o,t,r);if(s.length)i.push(...s);else if(e.operator===Q.AND)return[]}return i},r=this._myIndex.records,i={},a=[];return r.forEach(({$:e,i:r})=>{if(W(e)){let o=n(t,e,r);o.length&&(i[r]||(i[r]={idx:r,item:e,matches:[]},a.push(i[r])),o.forEach(({matches:e})=>{i[r].matches.push(...e)}))}}),a}_searchObjectList(e){let t=qt(e,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach(({$:e,i:r})=>{if(!W(e))return;let a=[];n.forEach((n,r)=>{a.push(...this._findMatches({key:n,value:e[r],searcher:t}))}),a.length&&i.push({idx:r,item:e,matches:a})}),i}_findMatches({key:e,value:t,searcher:n}){if(!W(t))return[];let r=[];if(H(t))t.forEach(({v:t,i,n:a})=>{if(!W(t))return;let{isMatch:o,score:s,indices:c}=n.searchIn(t);o&&r.push({score:s,key:e,value:t,idx:i,norm:a,indices:c})});else{let{v:i,n:a}=t,{isMatch:o,score:s,indices:c}=n.searchIn(i);o&&r.push({score:s,key:e,value:i,norm:a,indices:c})}return r}};$.version=`7.1.0`,$.createIndex=Ct,$.parseIndex=wt,$.config=q,$.parseQuery=$t,Kt(Wt);function an(e){return e[0]===`#`||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function on(e){var t;if(an(e))return e;let n=(t=e.replace(/\\/g,`/`).match(/.*\/node_modules\/(.*)$/))?.[1];if(n)return n.startsWith(`@`)?n.split(`/`).slice(0,2).join(`/`):n.split(`/`)[0]}function sn(e){var t;let n=(t=e.match(/.*\/node_modules\/(.*)$/))?.[1];if(n)return n}const cn=k((e,t)=>{if(e=e.replace(/%2F/g,`/`).replace(/\\/g,`/`),an(e)||e.match(/^\w+:/))return{moduleName:e,path:e};let n=on(e),r=sn(e);if(n&&r)return{moduleName:n,path:r};try{let n=j(t,e);return!n.startsWith(`./`)&&!n.startsWith(`../`)&&(n=`./${n}`),n.startsWith(`./.nuxt/`)&&(n=`#build${n.slice(7)}`),{path:n}}catch{return{path:e}}}),ln={flex:`~ col gap-2`,p4:``},un={flex:`col gap-2`,"right-4":``,"top-4":``,border:`~ base rounded-xl`,p2:``,"bg-glass":``,fixed:``,"z-panel-nav":``},dn={key:0,"i-ph-graph-duotone":``},fn={key:1,"i-ph-list-duotone":``},pn={flex:`col gap-2`,"left-4":``,"top-4":``,border:`~ base rounded-xl`,"bg-glass":``,fixed:``,"z-panel-nav":``},mn={border:`b base`},hn={flex:`~ gap-2`,p2:``},gn=[`title`],_n=[`checked`,`onChange`],vn={"text-sm":``},yn={"text-center":``,"text-xs":``,op50:``,m4:``};var bn=s({__name:`index`,props:{session:{}},setup(s){let c=s,u=C(),d=ee(),g=p({search:u.query.search||``,file_types:u.query.file_types||null,node_modules:u.query.node_modules||null});E(g,e=>{let t={...u.query,search:e.search||void 0,file_types:e.file_types||void 0,node_modules:e.node_modules||void 0};d.replace({query:Xe(t)})},{debounce:500});let _=t(()=>c.session.modulesList.map(e=>{let t=cn(e.id,c.session.rootDir),n=D(e.id);return{mod:e,path:t,type:n}})),b=t(()=>{let e=new Set;for(let t of _.value)e.add(t.type.name);return e}),x=t(()=>{let e=_.value;return g.file_types&&(e=e.filter(e=>g.file_types.includes(e.type.name))),g.node_modules&&(e=e.filter(e=>e.path.moduleName&&g.node_modules.includes(e.path.moduleName))),e.map(e=>e.mod)});function k(e){return g.file_types==null||g.file_types.includes(e)}function A(e){g.file_types??=Array.from(b.value),g.file_types.includes(e)?g.file_types=g.file_types.filter(t=>t!==e):g.file_types.push(e),g.file_types.length===b.value.size&&(g.file_types=null)}let j=T(()=>x.value,()=>new $(x.value,{includeScore:!0,keys:[`id`]})),M=t(()=>g.search===``?x.value:j.value.search(g.search).map(e=>e.item)),N=m(`list`);return(t,s)=>{let c=P,u=Ye;return f(),a(`div`,ln,[s[2]||=n(`div`,{"h-20":``},null,-1),n(`div`,un,[n(`button`,{"btn-action":``,onClick:s[0]||=e=>N.value=N.value===`list`?`graph`:`list`},[N.value===`graph`?(f(),a(`div`,dn)):(f(),a(`div`,fn)),o(` `+v(N.value===`list`?`List`:`Graph`),1)])]),n(`div`,pn,[n(`div`,mn,[S(n(`input`,{"onUpdate:modelValue":s[1]||=e=>g.search=e,p2:``,px4:``,"w-full":``,style:{outline:`none`},placeholder:`Search`},null,512),[[w,g.search]])]),n(`div`,hn,[(f(!0),a(e,null,h(b.value,e=>(f(),a(`label`,{key:e,border:`~ base rounded-md`,px2:``,py1:``,flex:`~ items-center gap-1`,"select-none":``,title:e,class:l(k(e)?`bg-active`:`grayscale op50`)},[n(`input`,{type:`checkbox`,checked:k(e),mr1:``,onChange:t=>A(e)},null,40,_n),n(`div`,{class:l(y(O)(e).icon),"icon-catppuccin":``},null,2),n(`div`,vn,v(y(O)(e).description),1)],10,gn))),128))])]),N.value===`list`?(f(),a(e,{key:0},[N.value===`list`?(f(),r(c,{key:0,session:t.session,modules:M.value},null,8,[`session`,`modules`])):i(``,!0),n(`div`,yn,v(x.value.length)+` of `+v(t.session.modulesList.length),1)],64)):(f(),r(u,{key:1,session:t.session,modules:M.value},null,8,[`session`,`modules`]))])}}}),xn=bn;export{xn as default};
@@ -1 +0,0 @@
1
- {"id":"4e2f12bf-362f-48e3-9beb-2b83e6e986dc","timestamp":1748412024723}
@@ -1 +0,0 @@
1
- {"id":"4e2f12bf-362f-48e3-9beb-2b83e6e986dc","timestamp":1748412024723,"matcher":{"static":{"/":{"prerender":true},"/200.html":{"prerender":true},"/404.html":{"prerender":true}},"wildcard":{},"dynamic":{}},"prerendered":[]}
@@ -1,4 +0,0 @@
1
- (function(){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={canHandle:t=>a(t)&&t[e],serialize(e){let{port1:t,port2:n}=new MessageChannel;return u(e,t),[n,[n]]},deserialize(e){return e.start(),p(e)}},s={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}},c=new Map([[`proxy`,o],[`throw`,s]]);function l(e,t){for(let n of e)if(t===n||n===`*`||n instanceof RegExp&&n.test(t))return!0;return!1}function u(e,t=globalThis,n=[`*`]){t.addEventListener(`message`,function a(o){if(!o||!o.data)return;if(!l(n,o.origin)){console.warn(`Invalid origin '${o.origin}' for comlink proxy`);return}let{id:s,type:c,path:d}=Object.assign({path:[]},o.data),p=(o.data.argumentList||[]).map(D),m;try{let t=d.slice(0,-1).reduce((e,t)=>e[t],e),n=d.reduce((e,t)=>e[t],e);switch(c){case`GET`:m=n;break;case`SET`:t[d.slice(-1)[0]]=D(o.data.value),m=!0;break;case`APPLY`:m=n.apply(t,p);break;case`CONSTRUCT`:{let e=new n(...p);m=T(e)}break;case`ENDPOINT`:{let{port1:t,port2:n}=new MessageChannel;u(e,n),m=w(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]=E(n);t.postMessage(Object.assign(Object.assign({},i),{id:s}),o),c===`RELEASE`&&(t.removeEventListener(`message`,a),f(t),r in e&&typeof e[r]==`function`&&e[r]())}).catch(e=>{let[n,r]=E({value:TypeError(`Unserializable return value`),[i]:0});t.postMessage(Object.assign(Object.assign({},n),{id:s}),r)})}),t.start&&t.start()}function d(e){return e.constructor.name===`MessagePort`}function f(e){d(e)&&e.close()}function p(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)}}),b(e,n,[],t)}function m(e){if(e)throw Error(`Proxy has been released and is not useable`)}function h(e){return O(e,new Map,{type:`RELEASE`}).then(()=>{f(e)})}let g=new WeakMap,_=`FinalizationRegistry`in globalThis&&new FinalizationRegistry(e=>{let t=(g.get(e)||0)-1;g.set(e,t),t===0&&h(e)});function v(e,t){let n=(g.get(t)||0)+1;g.set(t,n),_&&_.register(e,t,e)}function y(e){_&&_.unregister(e)}function b(e,r,i=[],a=function(){}){let o=!1,s=new Proxy(a,{get(t,a){if(m(o),a===n)return()=>{y(s),h(e),r.clear(),o=!0};if(a===`then`){if(i.length===0)return{then:()=>s};let t=O(e,r,{type:`GET`,path:i.map(e=>e.toString())}).then(D);return t.then.bind(t)}return b(e,r,[...i,a])},set(t,n,a){m(o);let[s,c]=E(a);return O(e,r,{type:`SET`,path:[...i,n].map(e=>e.toString()),value:s},c).then(D)},apply(n,a,s){m(o);let c=i[i.length-1];if(c===t)return O(e,r,{type:`ENDPOINT`}).then(D);if(c===`bind`)return b(e,r,i.slice(0,-1));let[l,u]=S(s);return O(e,r,{type:`APPLY`,path:i.map(e=>e.toString()),argumentList:l},u).then(D)},construct(t,n){m(o);let[a,s]=S(n);return O(e,r,{type:`CONSTRUCT`,path:i.map(e=>e.toString()),argumentList:a},s).then(D)}});return v(s,e),s}function x(e){return Array.prototype.concat.apply([],e)}function S(e){let t=e.map(E);return[t.map(e=>e[0]),x(t.map(e=>e[1]))]}let C=new WeakMap;function w(e,t){return C.set(e,t),e}function T(t){return Object.assign(t,{[e]:!0})}function E(e){for(let[t,n]of c)if(n.canHandle(e)){let[r,i]=n.serialize(e);return[{type:`HANDLER`,name:t,value:r},i]}return[{type:`RAW`,value:e},C.get(e)||[]]}function D(e){switch(e.type){case`HANDLER`:return c.get(e.name).deserialize(e.value);case`RAW`:return e.value}}function O(e,t,n,r){return new Promise(i=>{let a=k();t.set(a,i),e.start&&e.start(),e.postMessage(Object.assign({id:a},n),r)})}function k(){return[,,,,].fill(0).map(()=>Math.floor(Math.random()*(2**53-1)).toString(16)).join(`-`)}let A=Object.freeze({diffTimeout:1,diffEditCost:4,matchThreshold:.5,matchDistance:1e3,patchDeleteThreshold:.5,patchMargin:4,matchMaxBits:32});function j(e){if(e?.__resolved)return e;let t={...A,...e};return Object.defineProperty(t,`__resolved`,{value:!0,enumerable:!1}),t}let M=-1,N=1,P=0;function F(e,t){return[e,t]}function I(e,t,n,r=!0,i){let a=j(n);i===void 0&&(i=a.diffTimeout<=0?Number.MAX_VALUE:new Date().getTime()+a.diffTimeout*1e3);let o=i;if(e==null||t==null)throw Error(`Null input. (diff_main)`);if(e===t)return e?[F(P,e)]:[];let s=r,c=U(e,t),l=e.substring(0,c);e=e.substring(c),t=t.substring(c),c=W(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=L(e,t,a,s,o);return l&&d.unshift(F(P,l)),u&&d.push(F(P,u)),$(d),d}function L(e,t,n,r,i){let a;if(!e)return[F(N,t)];if(!t)return[F(M,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=[F(N,o.substring(0,c)),F(P,s),F(N,o.substring(c+s.length))],e.length>t.length&&(a[0][0]=a[2][0]=M),a;if(s.length===1)return[F(M,e),F(N,t)];let l=K(e,t,n);if(l){let e=l[0],t=l[1],a=l[2],o=l[3],s=l[4],c=I(e,a,n,r,i),u=I(t,o,n,r,i);return c.concat([F(P,s)],u)}return r&&e.length>100&&t.length>100?R(e,t,n,i):z(e,t,n,i)}function R(e,t,n,r){let i=V(e,t);e=i.chars1,t=i.chars2;let a=i.lineArray,o=I(e,t,n,!1,r);H(o,a),q(o),o.push(F(P,``));let s=0,c=0,l=0,u=``,d=``;for(;s<o.length;){switch(o[s][0]){case N:l++,d+=o[s][1];break;case M:c++,u+=o[s][1];break;case P:if(c>=1&&l>=1){o.splice(s-c-l,c+l),s=s-c-l;let e=I(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 z(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&&!(new Date().getTime()>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 B(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 B(e,t,n,o,c,r)}}}}return[F(M,e),F(N,t)]}function B(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=I(o,s,n,!1,a),d=I(c,l,n,!1,a);return u.concat(d)}function V(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(`
2
- `,a),o===-1&&(o=e.length-1);let c=e.substring(a,o+1);(r.hasOwnProperty?Object.prototype.hasOwnProperty.call(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);i=65535;let s=a(t);return{chars1:o,chars2:s,lineArray:n}}function H(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 U(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 W(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 G(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 K(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=U(e.substring(n),t.substring(i)),u=W(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 q(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]===P?(n[r++]=a,o=c,s=l,c=0,l=0,i=e[a][1]):(e[a][0]===N?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,F(M,i)),e[n[r-1]+1][0]=N,r--,r--,a=r>0?n[r-1]:-1,o=0,s=0,c=0,l=0,i=null,t=!0)),a++;for(t&&$(e),ee(e),a=1;a<e.length;){if(e[a-1][0]===M&&e[a][0]===N){let t=e[a-1][1],n=e[a][1],r=G(t,n),i=G(n,t);r>=i?(r>=t.length/2||r>=n.length/2)&&(e.splice(a,0,F(P,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,F(P,t.substring(0,i))),e[a-1][0]=N,e[a-1][1]=n.substring(0,n.length-i),e[a+1][0]=M,e[a+1][1]=t.substring(i),a++),a++}a++}}let J=/[^a-z0-9]/i,Y=/\s/,X=/[\r\n]/,Z=/\n\r?\n$/,Q=/^\r?\n\r?\n/;function ee(e){function t(e,t){if(!e||!t)return 6;let n=e.charAt(e.length-1),r=t.charAt(0),i=n.match(J),a=r.match(J),o=i&&n.match(Y),s=a&&r.match(Y),c=o&&n.match(X),l=s&&r.match(X),u=c&&e.match(Z),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]===P&&e[n+1][0]===P){let r=e[n-1][1],i=e[n][1],a=e[n+1][1],o=W(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 $(e){e.push(F(P,``));let t=0,n=0,r=0,i=``,a=``,o;for(;t<e.length;)switch(e[t][0]){case N:r++,a+=e[t][1],t++;break;case M:n++,i+=e[t][1],t++;break;case P:n+r>1?(n!==0&&r!==0&&(o=U(a,i),o!==0&&(t-n-r>0&&e[t-n-r-1][0]===P?e[t-n-r-1][1]+=a.substring(0,o):(e.splice(0,0,F(P,a.substring(0,o))),t++),a=a.substring(o),i=i.substring(o)),o=W(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,F(M,i)),t++),a.length&&(e.splice(t,0,F(N,a)),t++),t++):t!==0&&e[t-1][0]===P?(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]===P&&e[t+1][0]===P&&(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&&$(e)}function te(e,t){let n=I(e.replace(/\r\n/g,`
3
- `),t.replace(/\r\n/g,`
4
- `));return q(n),n}let ne={calculateDiff:te};u(ne)})();