litepaseo 0.9.2 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/server/cli.mjs +88 -45
  3. package/dist/server/{worker-Cq2Lf-Zo.mjs → worker-DGJKY8oy.mjs} +3843 -3225
  4. package/dist/web/assets/ChangesPanel-BoK2DoH7.js +2 -0
  5. package/dist/web/assets/ChangesPanel-BoK2DoH7.js.br +0 -0
  6. package/dist/web/assets/ChangesPanel-BoK2DoH7.js.gz +0 -0
  7. package/dist/web/assets/CodeBlockNode-Cc9RfSyt.js +3 -0
  8. package/dist/web/assets/CodeBlockNode-Cc9RfSyt.js.br +0 -0
  9. package/dist/web/assets/CodeBlockNode-Cc9RfSyt.js.gz +0 -0
  10. package/dist/web/assets/ConversationSearch-C6rI4eKl.css +1 -0
  11. package/dist/web/assets/ConversationSearch-C6rI4eKl.css.br +0 -0
  12. package/dist/web/assets/ConversationSearch-C6rI4eKl.css.gz +0 -0
  13. package/dist/web/assets/ConversationSearch-UTLVRA29.js +1 -0
  14. package/dist/web/assets/ConversationSearch-UTLVRA29.js.br +0 -0
  15. package/dist/web/assets/ConversationSearch-UTLVRA29.js.gz +0 -0
  16. package/dist/web/assets/FileViewer-CH2EOqbv.js +2 -0
  17. package/dist/web/assets/FileViewer-CH2EOqbv.js.br +0 -0
  18. package/dist/web/assets/FileViewer-CH2EOqbv.js.gz +0 -0
  19. package/dist/web/assets/FileViewer-DK0Fgglf.css +1 -0
  20. package/dist/web/assets/FileViewer-DK0Fgglf.css.br +0 -0
  21. package/dist/web/assets/FileViewer-DK0Fgglf.css.gz +0 -0
  22. package/dist/web/assets/FilesPanel-DPju0s0J.js +1 -0
  23. package/dist/web/assets/FilesPanel-DPju0s0J.js.br +0 -0
  24. package/dist/web/assets/FilesPanel-DPju0s0J.js.gz +0 -0
  25. package/dist/web/assets/FilesPanel-DmPAJwih.css +1 -0
  26. package/dist/web/assets/FilesPanel-DmPAJwih.css.br +0 -0
  27. package/dist/web/assets/FilesPanel-DmPAJwih.css.gz +0 -0
  28. package/dist/web/assets/HostSettings--0Jl-MlL.css +1 -0
  29. package/dist/web/assets/HostSettings--0Jl-MlL.css.br +0 -0
  30. package/dist/web/assets/HostSettings--0Jl-MlL.css.gz +0 -0
  31. package/dist/web/assets/HostSettings-DaKieQVu.js +5 -0
  32. package/dist/web/assets/HostSettings-DaKieQVu.js.br +0 -0
  33. package/dist/web/assets/HostSettings-DaKieQVu.js.gz +0 -0
  34. package/dist/web/assets/KanbanPage-CMqgoPRS.js +1 -0
  35. package/dist/web/assets/KanbanPage-CMqgoPRS.js.br +0 -0
  36. package/dist/web/assets/KanbanPage-CMqgoPRS.js.gz +0 -0
  37. package/dist/web/assets/{MarkdownMessage-DbSS5ULZ.js → MarkdownMessage-Bu5kpyO8.js} +13 -13
  38. package/dist/web/assets/MarkdownMessage-Bu5kpyO8.js.br +0 -0
  39. package/dist/web/assets/MarkdownMessage-Bu5kpyO8.js.gz +0 -0
  40. package/dist/web/assets/{PreCodeBlock-B-6jTSFa.js → PreCodeBlock-BouSjY25.js} +1 -1
  41. package/dist/web/assets/{PreCodeBlock.vue_vue_type_style_index_0_lang-CunCuyah.js → PreCodeBlock.vue_vue_type_style_index_0_lang-CMM-1vYO.js} +1 -1
  42. package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-CMM-1vYO.js.br +0 -0
  43. package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-CMM-1vYO.js.gz +0 -0
  44. package/dist/web/assets/SubagentsPanel--Nf3-Pka.js +1 -0
  45. package/dist/web/assets/SubagentsPanel--Nf3-Pka.js.br +0 -0
  46. package/dist/web/assets/SubagentsPanel--Nf3-Pka.js.gz +0 -0
  47. package/dist/web/assets/{SubagentsPanel-iAwY_tlt.css → SubagentsPanel-BwR5tVCn.css} +1 -1
  48. package/dist/web/assets/SubagentsPanel-BwR5tVCn.css.br +0 -0
  49. package/dist/web/assets/SubagentsPanel-BwR5tVCn.css.gz +0 -0
  50. package/dist/web/assets/TerminalPanel-C4mTYDXp.js +3 -0
  51. package/dist/web/assets/TerminalPanel-C4mTYDXp.js.br +0 -0
  52. package/dist/web/assets/TerminalPanel-C4mTYDXp.js.gz +0 -0
  53. package/dist/web/assets/{TerminalPanel-BzfVCEVB.css → TerminalPanel-CgwrWov9.css} +1 -1
  54. package/dist/web/assets/TerminalPanel-CgwrWov9.css.br +0 -0
  55. package/dist/web/assets/TerminalPanel-CgwrWov9.css.gz +0 -0
  56. package/dist/web/assets/Tooltip-MUbA-aNp.js +1 -0
  57. package/dist/web/assets/Tooltip-MUbA-aNp.js.br +0 -0
  58. package/dist/web/assets/Tooltip-MUbA-aNp.js.gz +0 -0
  59. package/dist/web/assets/index-CFtzqoeO.js +36 -0
  60. package/dist/web/assets/index-CFtzqoeO.js.br +0 -0
  61. package/dist/web/assets/index-CFtzqoeO.js.gz +0 -0
  62. package/dist/web/assets/index-DP1jZ3Bw.css +1 -0
  63. package/dist/web/assets/index-DP1jZ3Bw.css.br +0 -0
  64. package/dist/web/assets/index-DP1jZ3Bw.css.gz +0 -0
  65. package/dist/web/assets/index10-BM6euQrz.js +6 -0
  66. package/dist/web/assets/index10-BM6euQrz.js.br +0 -0
  67. package/dist/web/assets/index10-BM6euQrz.js.gz +0 -0
  68. package/dist/web/assets/index3-VcT3f2Ah.js +1 -0
  69. package/dist/web/assets/index4-BeD3bELj.js +1 -0
  70. package/dist/web/assets/{index5-Bp-1tRh4.js → index5-a5MPca78.js} +1 -1
  71. package/dist/web/assets/index5-a5MPca78.js.br +0 -0
  72. package/dist/web/assets/index5-a5MPca78.js.gz +0 -0
  73. package/dist/web/assets/{index6-B8l4-gzx.js → index6-DVfUz1XH.js} +1 -1
  74. package/dist/web/assets/index6-DVfUz1XH.js.br +0 -0
  75. package/dist/web/assets/index6-DVfUz1XH.js.gz +0 -0
  76. package/dist/web/assets/index7-BHUwD_xE.js +2 -0
  77. package/dist/web/assets/index7-BHUwD_xE.js.br +0 -0
  78. package/dist/web/assets/index7-BHUwD_xE.js.gz +0 -0
  79. package/dist/web/assets/index8-Dml5qiIG.js +2 -0
  80. package/dist/web/assets/index8-Dml5qiIG.js.br +0 -0
  81. package/dist/web/assets/index8-Dml5qiIG.js.gz +0 -0
  82. package/dist/web/assets/{index9-B_ZyF9x1.js → index9-Bo-NUtnY.js} +1 -1
  83. package/dist/web/assets/index9-Bo-NUtnY.js.br +0 -0
  84. package/dist/web/assets/index9-Bo-NUtnY.js.gz +0 -0
  85. package/dist/web/assets/{vue.runtime.esm-bundler-4XjPOHMM.js → vue.runtime.esm-bundler-DmQNwI70.js} +1 -1
  86. package/dist/web/assets/vue.runtime.esm-bundler-DmQNwI70.js.br +0 -0
  87. package/dist/web/assets/{vue.runtime.esm-bundler-4XjPOHMM.js.gz → vue.runtime.esm-bundler-DmQNwI70.js.gz} +0 -0
  88. package/dist/web/index.html +8 -6
  89. package/dist/web/index.html.br +0 -0
  90. package/dist/web/index.html.gz +0 -0
  91. package/dist/web/sw.js +9 -2
  92. package/dist/web/sw.js.br +0 -0
  93. package/dist/web/sw.js.gz +0 -0
  94. package/package.json +1 -1
  95. package/dist/web/assets/ChangesPanel-BXtRMTqp.js +0 -2
  96. package/dist/web/assets/ChangesPanel-BXtRMTqp.js.br +0 -0
  97. package/dist/web/assets/ChangesPanel-BXtRMTqp.js.gz +0 -0
  98. package/dist/web/assets/CodeBlockNode-B9X7WZtj.js +0 -3
  99. package/dist/web/assets/CodeBlockNode-B9X7WZtj.js.br +0 -0
  100. package/dist/web/assets/CodeBlockNode-B9X7WZtj.js.gz +0 -0
  101. package/dist/web/assets/ConversationSearch-BD_oQkce.css +0 -1
  102. package/dist/web/assets/ConversationSearch-DgRoYzWP.js +0 -1
  103. package/dist/web/assets/ConversationSearch-DgRoYzWP.js.br +0 -0
  104. package/dist/web/assets/ConversationSearch-DgRoYzWP.js.gz +0 -0
  105. package/dist/web/assets/FileViewer-B-N8t-A2.js +0 -2
  106. package/dist/web/assets/FileViewer-B-N8t-A2.js.br +0 -0
  107. package/dist/web/assets/FileViewer-B-N8t-A2.js.gz +0 -0
  108. package/dist/web/assets/FileViewer-D0xXViyr.css +0 -1
  109. package/dist/web/assets/FileViewer-D0xXViyr.css.br +0 -0
  110. package/dist/web/assets/FileViewer-D0xXViyr.css.gz +0 -0
  111. package/dist/web/assets/FilesPanel-B0AM9mBQ.css +0 -1
  112. package/dist/web/assets/FilesPanel-B0AM9mBQ.css.br +0 -0
  113. package/dist/web/assets/FilesPanel-B0AM9mBQ.css.gz +0 -0
  114. package/dist/web/assets/FilesPanel-By85fwCy.js +0 -1
  115. package/dist/web/assets/FilesPanel-By85fwCy.js.br +0 -0
  116. package/dist/web/assets/FilesPanel-By85fwCy.js.gz +0 -0
  117. package/dist/web/assets/HostSettings-Bzv1FBbL.js +0 -5
  118. package/dist/web/assets/HostSettings-Bzv1FBbL.js.br +0 -0
  119. package/dist/web/assets/HostSettings-Bzv1FBbL.js.gz +0 -0
  120. package/dist/web/assets/HostSettings-DmJrFVbt.css +0 -1
  121. package/dist/web/assets/HostSettings-DmJrFVbt.css.br +0 -0
  122. package/dist/web/assets/HostSettings-DmJrFVbt.css.gz +0 -0
  123. package/dist/web/assets/MarkdownMessage-DbSS5ULZ.js.br +0 -0
  124. package/dist/web/assets/MarkdownMessage-DbSS5ULZ.js.gz +0 -0
  125. package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-CunCuyah.js.br +0 -0
  126. package/dist/web/assets/PreCodeBlock.vue_vue_type_style_index_0_lang-CunCuyah.js.gz +0 -0
  127. package/dist/web/assets/SubagentsPanel-CdZce3Xr.js +0 -1
  128. package/dist/web/assets/SubagentsPanel-CdZce3Xr.js.br +0 -0
  129. package/dist/web/assets/SubagentsPanel-CdZce3Xr.js.gz +0 -0
  130. package/dist/web/assets/SubagentsPanel-iAwY_tlt.css.br +0 -0
  131. package/dist/web/assets/SubagentsPanel-iAwY_tlt.css.gz +0 -0
  132. package/dist/web/assets/TerminalPanel-BzfVCEVB.css.br +0 -0
  133. package/dist/web/assets/TerminalPanel-BzfVCEVB.css.gz +0 -0
  134. package/dist/web/assets/TerminalPanel-iBK2wpI0.js +0 -3
  135. package/dist/web/assets/TerminalPanel-iBK2wpI0.js.br +0 -0
  136. package/dist/web/assets/TerminalPanel-iBK2wpI0.js.gz +0 -0
  137. package/dist/web/assets/Tooltip-DLPAOJ1c.js +0 -1
  138. package/dist/web/assets/Tooltip-DLPAOJ1c.js.br +0 -0
  139. package/dist/web/assets/Tooltip-DLPAOJ1c.js.gz +0 -0
  140. package/dist/web/assets/index-CwWokVo4.css +0 -1
  141. package/dist/web/assets/index-CwWokVo4.css.br +0 -0
  142. package/dist/web/assets/index-CwWokVo4.css.gz +0 -0
  143. package/dist/web/assets/index-DV5BdS_U.js +0 -35
  144. package/dist/web/assets/index-DV5BdS_U.js.br +0 -0
  145. package/dist/web/assets/index-DV5BdS_U.js.gz +0 -0
  146. package/dist/web/assets/index10-DgcnbLc5.js +0 -6
  147. package/dist/web/assets/index10-DgcnbLc5.js.br +0 -0
  148. package/dist/web/assets/index10-DgcnbLc5.js.gz +0 -0
  149. package/dist/web/assets/index3-BdNVIlGK.js +0 -1
  150. package/dist/web/assets/index4-DnuPr-1i.js +0 -1
  151. package/dist/web/assets/index5-Bp-1tRh4.js.br +0 -0
  152. package/dist/web/assets/index5-Bp-1tRh4.js.gz +0 -0
  153. package/dist/web/assets/index6-B8l4-gzx.js.br +0 -0
  154. package/dist/web/assets/index6-B8l4-gzx.js.gz +0 -0
  155. package/dist/web/assets/index7-CIxLf3CP.js +0 -2
  156. package/dist/web/assets/index7-CIxLf3CP.js.br +0 -0
  157. package/dist/web/assets/index7-CIxLf3CP.js.gz +0 -0
  158. package/dist/web/assets/index8-CnHhIOzI.js +0 -2
  159. package/dist/web/assets/index8-CnHhIOzI.js.br +0 -0
  160. package/dist/web/assets/index8-CnHhIOzI.js.gz +0 -0
  161. package/dist/web/assets/index9-B_ZyF9x1.js.br +0 -0
  162. package/dist/web/assets/index9-B_ZyF9x1.js.gz +0 -0
  163. package/dist/web/assets/vue.runtime.esm-bundler-4XjPOHMM.js.br +0 -0
@@ -1,4 +1,4 @@
1
1
  import{n as e}from"./rolldown-runtime-XKyaHtl9.js";function t(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var n={},r=[],i=()=>{},a=()=>!1,o=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),s=e=>e.startsWith(`onUpdate:`),c=Object.assign,l=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,d=(e,t)=>u.call(e,t),f=Array.isArray,p=e=>C(e)===`[object Map]`,m=e=>C(e)===`[object Set]`,h=e=>C(e)===`[object Date]`,g=e=>C(e)===`[object RegExp]`,_=e=>typeof e==`function`,v=e=>typeof e==`string`,y=e=>typeof e==`symbol`,b=e=>typeof e==`object`&&!!e,x=e=>(b(e)||_(e))&&_(e.then)&&_(e.catch),S=Object.prototype.toString,C=e=>S.call(e),w=e=>C(e).slice(8,-1),ee=e=>C(e)===`[object Object]`,T=e=>v(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,E=t(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),te=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ne=/-\w/g,D=te(e=>e.replace(ne,e=>e.slice(1).toUpperCase())),re=/\B([A-Z])/g,O=te(e=>e.replace(re,`-$1`).toLowerCase()),ie=te(e=>e.charAt(0).toUpperCase()+e.slice(1)),ae=te(e=>e?`on${ie(e)}`:``),k=(e,t)=>!Object.is(e,t),oe=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},se=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ce=e=>{let t=parseFloat(e);return isNaN(t)?e:t},le=e=>{let t=v(e)?Number(e):NaN;return isNaN(t)?e:t},ue,de=()=>ue||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{},fe=t(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function pe(e){if(f(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=v(r)?_e(r):pe(r);if(i)for(let e in i)t[e]=i[e]}return t}if(v(e)||b(e))return e}var me=/;(?![^(]*\))/g,he=/:([^]+)/,ge=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function _e(e){let t={};return e.replace(ge,e=>e.startsWith(`/*`)?``:e).split(me).forEach(e=>{if(e){let n=e.split(he);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ve(e){let t=``;if(v(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){let r=ve(e[n]);r&&(t+=r+` `)}else if(b(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function ye(e){if(!e)return null;let{class:t,style:n}=e;return t&&!v(t)&&(e.class=ve(t)),n&&(e.style=pe(n)),e}var be=t(`itemscope,allowfullscreen,disablepictureinpicture,disableremoteplayback,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`);function xe(e){return!!e||e===``}function Se(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=Ee(e[i],t[i],n);return r}function Ce(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&Ee(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function we(e,t,n){let r=p(e),i=p(t);if(r||i||(r=m(e),i=m(t),r||i))return r&&i?Ce(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(i&&!a||!i&&a||!Ee(e[r],t[r],n))return!1}return String(e)===String(t)}function Te(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function Ee(e,t,n){if(e===t)return!0;let r=h(e),i=h(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=y(e),i=y(t),r||i?e===t:(r=f(e),i=f(t),r||i?r&&i?Te(e,t,n,Se):!1:(r=b(e),i=b(t),r||i?!r||!i?!1:Te(e,t,n,we):String(e)===String(t))))}function De(e,t){return e.findIndex(e=>Ee(e,t))}var Oe=e=>!!(e&&e.__v_isRef===!0),ke=e=>v(e)?e:e==null?``:f(e)||b(e)&&(e.toString===S||!_(e.toString))?Oe(e)?ke(e.value):JSON.stringify(e,Ae,2):String(e),Ae=(e,t)=>Oe(t)?Ae(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[je(t,r)+` =>`]=n,e),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>je(e))}:y(t)?je(t):b(t)&&!f(t)&&!ee(t)?String(t):t,je=(e,t=``)=>y(e)?`Symbol(${e.description??t})`:e;function Me(e){return e==null?`initial`:typeof e==`string`?e===``?` `:e:String(e)}var A,Ne=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&A&&(A.active?(this.parent=A,this.index=(A.scopes||(A.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=A;try{return A=this,e()}finally{A=t}}}on(){++this._on===1&&(this.prevScope=A,A=this)}off(){if(this._on>0&&--this._on===0){if(A===this)A=this.prevScope;else{let e=A;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Pe(e){return new Ne(e)}function Fe(){return A}function Ie(e,t=!1){A&&(A.active?A.cleanups.push(e):e())}var j,Le=new WeakSet,Re=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,A&&(A.active?A.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Le.has(this)&&(Le.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||He(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,rt(this),Ge(this);let e=j,t=$e;j=this,$e=!0;try{return this.fn()}finally{Ke(this),j=e,$e=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Ye(e);this.deps=this.depsTail=void 0,rt(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Le.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){qe(this)&&this.run()}get dirty(){return qe(this)}},ze=0,Be,Ve;function He(e,t=!1){e.flags|=8,t?(e.next=Ve,Ve=e):(e.next=Be,Be=e)}function Ue(){ze++}function We(){if(--ze>0)return;if(Ve){let e=Ve;for(Ve=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Be;){let t=Be;for(Be=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 Ge(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ke(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Ye(r),Xe(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function qe(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Je(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Je(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===it)||(e.globalVersion=it,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!qe(e))))return;e.flags|=2;let t=e.dep,n=j,r=$e;j=e,$e=!0;try{Ge(e);let n=e.fn(e._value);(t.version===0||k(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{j=n,$e=r,Ke(e),e.flags&=-3}}function Ye(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)Ye(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Xe(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Ze(e,t){e.effect instanceof Re&&(e=e.effect.fn);let n=new Re(e);t&&c(n,t);try{n.run()}catch(e){throw n.stop(),e}let r=n.run.bind(n);return r.effect=n,r}function Qe(e){e.effect.stop()}var $e=!0,et=[];function tt(){et.push($e),$e=!1}function nt(){let e=et.pop();$e=e===void 0||e}function rt(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=j;j=void 0;try{t()}finally{j=e}}}var it=0,at=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}},ot=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!j||!$e||j===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==j)t=this.activeLink=new at(j,this),j.deps?(t.prevDep=j.depsTail,j.depsTail.nextDep=t,j.depsTail=t):j.deps=j.depsTail=t,st(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=j.depsTail,t.nextDep=void 0,j.depsTail.nextDep=t,j.depsTail=t,j.deps===t&&(j.deps=e)}return t}trigger(e){this.version++,it++,this.notify(e)}notify(e){Ue();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{We()}}};function st(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)st(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var ct=new WeakMap,lt=Symbol(``),ut=Symbol(``),dt=Symbol(``);function M(e,t,n){if($e&&j){let t=ct.get(e);t||ct.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new ot),r.map=t,r.key=n),r.track()}}function ft(e,t,n,r,i,a){let o=ct.get(e);if(!o){it++;return}let s=e=>{e&&e.trigger()};if(Ue(),t===`clear`)o.forEach(s);else{let i=f(e),a=i&&T(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===dt||!y(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(dt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(lt)),p(e)&&s(o.get(ut)));break;case`delete`:i||(s(o.get(lt)),p(e)&&s(o.get(ut)));break;case`set`:p(e)&&s(o.get(lt))}}We()}function pt(e,t){let n=ct.get(e);return n&&n.get(t)}function mt(e){let t=P(e);return t===e||(M(t,`iterate`,dt),N(e))?t:nn(e)?tn(e)?t.map(e=>on(F(e))):t.map(on):t.map(F)}function ht(e){return M(e=P(e),`iterate`,dt),e}function gt(e,t){return nn(e)?on(tn(e)?F(t):t):F(t)}var _t={__proto__:null,[Symbol.iterator](){return vt(this,Symbol.iterator,e=>gt(this,e))},concat(...e){return mt(this).concat(...e.map(e=>f(e)?mt(e):e))},entries(){return vt(this,`entries`,e=>(e[1]=gt(this,e[1]),e))},every(e,t){return xt(this,`every`,e,t,void 0,arguments)},filter(e,t){return xt(this,`filter`,e,t,e=>e.map(e=>gt(this,e)),arguments)},find(e,t){return xt(this,`find`,e,t,e=>gt(this,e),arguments)},findIndex(e,t){return xt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return xt(this,`findLast`,e,t,e=>gt(this,e),arguments)},findLastIndex(e,t){return xt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return xt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return Ct(this,`includes`,e)},indexOf(...e){return Ct(this,`indexOf`,e)},join(e){return mt(this).join(e)},lastIndexOf(...e){return Ct(this,`lastIndexOf`,e)},map(e,t){return xt(this,`map`,e,t,void 0,arguments)},pop(){return wt(this,`pop`)},push(...e){return wt(this,`push`,e)},reduce(e,...t){return St(this,`reduce`,e,t)},reduceRight(e,...t){return St(this,`reduceRight`,e,t)},shift(){return wt(this,`shift`)},some(e,t){return xt(this,`some`,e,t,void 0,arguments)},splice(...e){return wt(this,`splice`,e)},toReversed(){return mt(this).toReversed()},toSorted(e){return mt(this).toSorted(e)},toSpliced(...e){return mt(this).toSpliced(...e)},unshift(...e){return wt(this,`unshift`,e)},values(){return vt(this,`values`,e=>gt(this,e))}};function vt(e,t,n){let r=ht(e),i=r[t],a=i.call(r);if(r!==e&&!N(e)){if(a[Symbol.toStringTag]===`Array Iterator`){let e=Object.create(Object.getPrototypeOf(a));return e.next=()=>yt(a.next(),n),i!==bt[t]&&Object.defineProperties(e,{return:{get(){let e=a.return;return typeof e==`function`?e.bind(a):e}},throw:{get(){let e=a.throw;return typeof e==`function`?e.bind(a):e}}}),e}a._next=a.next,a.next=()=>yt(a._next(),n)}return a}function yt(e,t){return e.done||(e.value=t(e.value)),e}var bt=Array.prototype;function xt(e,t,n,r,i,a){let o=ht(e),s=o!==e&&!N(e),c=o[t];if(c!==bt[t]){let t=c.apply(e,a);return s?F(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,gt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function St(e,t,n,r){let i=ht(e),a=i!==e&&!N(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=gt(e,t)),n.call(this,t,gt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?gt(e,c):c}function Ct(e,t,n){let r=P(e);M(r,`iterate`,dt);let i=r[t](...n);return(i===-1||i===!1)&&rn(n[0])?(n[0]=P(n[0]),r[t](...n)):i}function wt(e,t,n=[]){tt(),Ue();let r=P(e)[t].apply(e,n);return We(),nt(),r}var Tt=t(`__proto__,__v_isRef,__isVue`),Et=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(y));function Dt(e){y(e)||(e=String(e));let t=P(this);return M(t,`has`,e),t.hasOwnProperty(e)}var Ot=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?Jt:qt:i?Kt:Gt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=f(e);if(!r){let e;if(a&&(e=_t[t]))return e;if(t===`hasOwnProperty`)return Dt}let o=Reflect.get(e,t,I(e)?e:n);if((y(t)?Et.has(t):Tt(t))||(r||M(e,`get`,t),i))return o;if(I(o)){let e=a&&T(t)?o:o.value;return r&&b(e)?Qt(e):e}return b(o)?r?Qt(o):Xt(o):o}},kt=class extends Ot{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=f(e)&&T(t);if(!this._isShallow){let e=nn(i);if(!N(n)&&!nn(n)&&(i=P(i),n=P(n)),!a&&I(i)&&!I(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:d(e,t),s=Reflect.set(e,t,n,I(e)?e:r);return e===P(r)&&s&&(o?k(n,i)&&ft(e,`set`,t,n,i):ft(e,`add`,t,n)),s}deleteProperty(e,t){let n=d(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&ft(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return y(t)&&Et.has(t)||M(e,`has`,t),n}ownKeys(e){return M(e,`iterate`,f(e)?`length`:lt),Reflect.ownKeys(e)}},At=class extends Ot{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},jt=new kt,Mt=new At,Nt=new kt(!0),Pt=new At(!0),Ft=e=>e,It=e=>Reflect.getPrototypeOf(e);function Lt(e,t,n){return function(...r){let i=this.__v_raw,a=P(i),o=p(a),s=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?Ft:t?on:F;return!t&&M(a,`iterate`,l?ut:lt),c(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:s?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function Rt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function zt(e,t){let n={get(n){let r=this.__v_raw,i=P(r),a=P(n);e||(k(n,a)&&M(i,`get`,n),M(i,`get`,a));let{has:o}=It(i),s=t?Ft:e?on:F;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&&M(P(t),`iterate`,lt),t.size},has(t){let n=this.__v_raw,r=P(n),i=P(t);return e||(k(t,i)&&M(r,`has`,t),M(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=P(a),s=t?Ft:e?on:F;return!e&&M(o,`iterate`,lt),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return c(n,e?{add:Rt(`add`),set:Rt(`set`),delete:Rt(`delete`),clear:Rt(`clear`)}:{add(e){let n=P(this),r=It(n),i=P(e),a=!t&&!N(e)&&!nn(e)?i:e;return r.has.call(n,a)||k(e,a)&&r.has.call(n,e)||k(i,a)&&r.has.call(n,i)||(n.add(a),ft(n,`add`,a,a)),this},set(e,n){t||N(n)||nn(n)||(n=P(n));let r=P(this),{has:i,get:a}=It(r),o=i.call(r,e);o||=(e=P(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?k(n,s)&&ft(r,`set`,e,n,s):ft(r,`add`,e,n),this},delete(e){let t=P(this),{has:n,get:r}=It(t),i=n.call(t,e);i||=(e=P(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&ft(t,`delete`,e,void 0,a),o},clear(){let e=P(this),t=e.size!==0,n=e.clear();return t&&ft(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Lt(r,e,t)}),n}function Bt(e,t){let n=zt(e,t);return(r,i,a)=>i===`__v_isReactive`?!e:i===`__v_isReadonly`?e:i===`__v_isShallow`?t:i===`__v_raw`?r:Reflect.get(d(n,i)&&i in r?n:r,i,a)}var Vt={get:Bt(!1,!1)},Ht={get:Bt(!1,!0)},Ut={get:Bt(!0,!1)},Wt={get:Bt(!0,!0)},Gt=new WeakMap,Kt=new WeakMap,qt=new WeakMap,Jt=new WeakMap;function Yt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Xt(e){return nn(e)?e:en(e,!1,jt,Vt,Gt)}function Zt(e){return en(e,!1,Nt,Ht,Kt)}function Qt(e){return en(e,!0,Mt,Ut,qt)}function $t(e){return en(e,!0,Pt,Wt,Jt)}function en(e,t,n,r,i){if(!b(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Yt(w(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function tn(e){return nn(e)?tn(e.__v_raw):!!(e&&e.__v_isReactive)}function nn(e){return!!(e&&e.__v_isReadonly)}function N(e){return!!(e&&e.__v_isShallow)}function rn(e){return e?!!e.__v_raw:!1}function P(e){let t=e&&e.__v_raw;return t?P(t):e}function an(e){return!d(e,`__v_skip`)&&Object.isExtensible(e)&&se(e,`__v_skip`,!0),e}var F=e=>b(e)?Xt(e):e,on=e=>b(e)?Qt(e):e;function I(e){return e?e.__v_isRef===!0:!1}function sn(e){return ln(e,!1)}function cn(e){return ln(e,!0)}function ln(e,t){return I(e)?e:new un(e,t)}var un=class{constructor(e,t){this.dep=new ot,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:P(e),this._value=t?e:F(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||N(e)||nn(e);e=n?e:P(e),k(e,t)&&(this._rawValue=e,this._value=n?e:F(e),this.dep.trigger())}};function dn(e){e.dep&&e.dep.trigger()}function fn(e){return I(e)?e.value:e}function pn(e){return _(e)?e():fn(e)}var mn={get:(e,t,n)=>t===`__v_raw`?e:fn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return I(i)&&!I(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function hn(e){return tn(e)?e:new Proxy(e,mn)}var gn=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new ot,{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 _n(e){return new gn(e)}function vn(e){let t=f(e)?Array(e.length):{};for(let n in e)t[n]=Sn(e,n);return t}var yn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=y(t)?t:String(t),this._raw=P(e);let r=!0,i=e;if(!f(e)||y(this._key)||!T(this._key))do r=!rn(i)||N(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=fn(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&I(this._raw[this._key])){let t=this._object[this._key];if(I(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return pt(this._raw,this._key)}},bn=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 xn(e,t,n){return I(e)?e:_(e)?new bn(e):b(e)&&arguments.length>1?Sn(e,t,n):sn(e)}function Sn(e,t,n){return new yn(e,t,n)}var Cn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new ot(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=it-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&j!==this)return He(this,!0),!0}get value(){let e=this.dep.track();return Je(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function wn(e,t,n=!1){let r,i;return _(e)?r=e:(r=e.get,i=e.set),new Cn(r,i,n)}var Tn={GET:`get`,HAS:`has`,ITERATE:`iterate`},En={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},Dn={},On=new WeakMap,kn=void 0;function An(){return kn}function jn(e,t=!1,n=kn){if(n){let t=On.get(n);t||On.set(n,t=[]),t.push(e)}}function Mn(e,t,r=n){let{immediate:a,deep:o,once:s,scheduler:c,augmentJob:u,call:d}=r,p=e=>o?e:N(e)||o===!1||o===0?Nn(e,1):Nn(e),m,h,g,v,y=!1,b=!1;if(I(e)?(h=()=>e.value,y=N(e)):tn(e)?(h=()=>p(e),y=!0):f(e)?(b=!0,y=e.some(e=>tn(e)||N(e)),h=()=>e.map(e=>{if(I(e))return e.value;if(tn(e))return p(e);if(_(e))return d?d(e,2):e()})):h=_(e)?t?d?()=>d(e,2):e:()=>{if(g){tt();try{g()}finally{nt()}}let t=kn;kn=m;try{return d?d(e,3,[v]):e(v)}finally{kn=t}}:i,t&&o){let e=h,t=o===!0?1/0:o;h=()=>Nn(e(),t)}let x=Fe(),S=()=>{m.stop(),x&&x.active&&l(x.effects,m)};if(s&&t){let e=t;t=(...t)=>{try{return e(...t)}finally{S()}}}let C=b?Array(e.length).fill(Dn):Dn,w=e=>{if(m.flags&1&&(m.dirty||e)){if(t){let n=m.run();if(e||o||y||(b?n.some((e,t)=>k(e,C[t])):k(n,C))){let e=kn;tt();try{g&&g(),kn=m;let e=[n,C===Dn?void 0:b&&C[0]===Dn?[]:C,v];C=n,d?d(t,3,e):t(...e)}finally{kn=e,nt()}}}else m.run()}};return u&&u(w),m=new Re(h),m.scheduler=c?()=>c(w,!1):w,v=e=>jn(e,!1,m),g=m.onStop=()=>{let e=On.get(m);if(e){if(d)d(e,4);else for(let t of e)t();On.delete(m)}},t?a?w(!0):C=m.run():c?c(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function Nn(e,t=1/0,n){if(t<=0||!b(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,I(e))Nn(e.value,t,n);else if(f(e))for(let r=0;r<e.length;r++)Nn(e[r],t,n);else if(m(e)||p(e))e.forEach(e=>{Nn(e,t,n)});else if(ee(e)){for(let r in e)Nn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Nn(e[r],t,n)}return e}var Pn=[];function Fn(e){Pn.push(e)}function In(){Pn.pop()}function Ln(e,t){}var Rn={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},zn={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function Bn(e,t,n,r){try{return r?e(...r):e()}catch(e){Vn(e,t,n)}}function L(e,t,n,r){if(_(e)){let i=Bn(e,t,n,r);return i&&x(i)&&i.catch(e=>{Vn(e,t,n,void 0,!0)}),i}if(f(e)){let i=[];for(let a=0;a<e.length;a++)i.push(L(e[a],t,n,r));return i}}function Vn(e,t,r,i=!0,a=!1){let o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:c}=t&&t.appContext.config||n;if(t){let n=t.parent,i=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${r}`;for(;n;){let t=n.ec;if(t&&!n.isUnmounted&&(!a||n.scope.active)){for(let n=0;n<t.length;n++)if(t[n](e,i,o)===!1)return}n=n.parent}if(s){tt(),Bn(s,null,10,[e,i,o]),nt();return}}Hn(e,r,o,i,c)}function Hn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var R=[],Un=-1,Wn=[],Gn=null,Kn=0,qn=Promise.resolve(),Jn=null;function Yn(e){let t=Jn||qn;return e?t.then(this?e.bind(this):e):t}function Xn(e){let t=Un+1,n=R.length;for(;t<n;){let r=t+n>>>1,i=R[r],a=ir(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function Zn(e){if(!(e.flags&1)){let t=ir(e),n=R[R.length-1];!n||!(e.flags&2)&&t>=ir(n)?R.push(e):R.splice(Xn(t),0,e),e.flags|=1,Qn()}}function Qn(){Jn||=qn.then(ar)}function $n(e){if(!f(e))Gn&&e.id===-1?Gn.splice(Kn+1,0,e):e.flags&1||(Wn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Wn.push(e[t]);Qn()}function er(e,t,n,r=Un+1){for(;r<R.length;r++){let n=R[r];if(n&&n.flags&2){if(e&&n.id!==e.uid||t!==void 0&&!(n.id>=t))continue;R.splice(r,1),r=e?r-1:Un,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function tr(e,t,n=0){if(Wn.length){let e=Wn,r=0;if(t){e=[];for(let i=0;i<Wn.length;i++){let a=Wn[i];(a.i===void 0?t.has(a):!a.i||a.i.uid<n)?Wn[r++]=a:e.push(a)}}let i=[...new Set(e)].sort((e,t)=>ir(e)-ir(t));if(Wn.length=r,Gn){for(let e=0;e<i.length;e++)Gn.push(i[e]);return}for(Gn=i,Kn=0;Kn<Gn.length;Kn++){let e=Gn[Kn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}Gn=null,Kn=0}}var nr=!1;function rr(e,t){if(nr){e();return}let n=t===void 0?void 0:new Set(Wn);e(),nr=!0;try{er(void 0,t),tr(void 0,n,t)}finally{nr=!1}}var ir=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ar(e){try{for(Un=0;Un<R.length;Un++){let e=R[Un];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Bn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Un<R.length;Un++){let e=R[Un];e&&(e.flags&=-2)}Un=-1,R.length=0,tr(e),Jn=null,(R.length||Wn.length)&&ar(e)}}var or,sr=[];function cr(e,t){or=e,or?(or.enabled=!0,sr.forEach(({event:e,args:t})=>or.emit(e,...t)),sr=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(e=>{cr(e,t)}),setTimeout(()=>{or||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,sr=[])},3e3)):sr=[]}var z=null,lr=null;function ur(e){let t=z;return z=e,lr=e&&e.type.__scopeId||null,t}function dr(e){lr=e}function fr(){lr=null}var pr=e=>mr;function mr(e,t=z,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&ms(-1);let i=ur(t),a=us.length,o;try{o=e(...n)}finally{for(let e=us.length;e>a;e--)fs();ur(i),r._d&&ms(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function hr(e,t){if(z===null)return e;let r=$s(z),i=e.dirs||=[];for(let e=0;e<t.length;e++){let[a,o,s,c=n]=t[e];a&&(_(a)&&(a={mounted:a,updated:a}),a.deep&&Nn(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function gr(e,t,n,r){let i=e;if(r===`beforeMount`)e._mount=e;else if(r===`beforeUpdate`){let n=t&&t._mount;n&&(n._latest=e,e._mount=n)}else if(r===`mounted`){let t=e._latest;e._mount=e._latest=void 0,t&&(i=t,t._mount=void 0)}let a=i.dirs,o=t&&t.dirs;for(let s=0;s<a.length;s++){let l=a[s];o?l.oldValue=o[s].value:r===`mounted`&&l.oldValue!==void 0&&(l=c({},l,{oldValue:void 0}));let u=l.dir[r];u&&(tt(),L(u,n,8,[e.el,l,i,t]),nt())}}function _r(e,t){if(Z){let n=Z.provides,r=Z.parent&&Z.parent.provides;r===n&&(n=Z.provides=Object.create(r)),n[e]=t}}function vr(e,t,n=!1){let r=Q();if(r||eo){let i=eo?eo._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&&_(t)?t.call(r&&r.proxy):t}}function yr(){return!!(Q()||eo)}var br=Symbol.for(`v-scx`),xr=()=>vr(br);function Sr(e,t){return Er(e,null,t)}function Cr(e,t){return Er(e,null,{flush:`post`})}function wr(e,t){return Er(e,null,{flush:`sync`})}function Tr(e,t,n){return Er(e,t,n)}function Er(e,t,r=n){let{immediate:a,deep:o,flush:s,once:l}=r,u=c({},r),d=t&&a||!t&&s!==`post`,f;if(Vs){if(s===`sync`){let e=xr();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=i,e.resume=i,e.pause=i,e}}let p=Z;u.call=(e,t,n)=>L(e,p,t,n);let m=!1;s===`post`?u.scheduler=e=>{e.i=p,U(e,p&&p.suspense)}:s!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():Zn(e)}),u.augmentJob=e=>{t&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=Mn(e,t,u);return Vs&&(f?f.push(h):d&&h()),h}function Dr(e,t,n){let r=this.proxy,i=v(e)?e.includes(`.`)?Or(r,e):()=>r[e]:e.bind(r,r),a;_(t)?a=t:(a=t.handler,n=t);let o=Rs(this),s=Er(i,a.bind(r),n);return o(),s}function Or(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var kr=new WeakMap,Ar=Symbol(`_vte`),jr=e=>e.__isTeleport,Mr=e=>e&&(e.disabled||e.disabled===``),Nr=e=>e&&(e.defer||e.defer===``),Pr=e=>typeof SVGElement<`u`&&e instanceof SVGElement,Fr=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,Ir=(e,t)=>{let n=e&&e.to;return v(n)?t?t(n):null:n},Lr={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=Mr(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=Mr(e.props),r=e.target=Ir(e.props,m),a=Hr(r,e,h,p);r&&(o!==`svg`&&Pr(r)?o=`svg`:o!==`mathml`&&Fr(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),Vr(e,!1)))},S=e=>{let t=()=>{if(kr.get(e)===t){if(kr.delete(e),Mr(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),Vr(e,!0)}x(e)}};kr.set(e,t),U(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),Nr(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),Vr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=kr.get(e);if(u){u.flags|=8,kr.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=Mr(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||Pr(p)?o=`svg`:(o===`mathml`||Fr(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),Bo(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Rr(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=Ir(t.props,m);e&&(t.target=e,Rr(t,e,null,l,0))}else g&&Rr(t,p,h,l,1);Vr(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=Mr(f),m=a||!p,h=kr.get(e);if(h&&(h.flags|=8,kr.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:Rr,hydrate:zr};function Rr(e,t,n,{o:{insert:r},m:i},a=2){a===0&&(e.targetStart&&r(e.targetStart,t,n),r(e.targetAnchor,t,n),n=e.targetAnchor);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!kr.has(e)&&(!d||Mr(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function zr(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=Ir(t.props,c),h=Mr(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||Hr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||Hr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),Vr(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var Br=Lr;function Vr(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function Hr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[Ar]=o,e&&(r(a,e,i),r(o,e,i)),o}var B=Symbol(`_leaveCb`),Ur=Symbol(`_enterCb`);function Wr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Yi(()=>{e.isMounted=!0}),Qi(()=>{e.isUnmounting=!0}),e}var V=[Function,Array],Gr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:V,onEnter:V,onAfterEnter:V,onEnterCancelled:V,onBeforeLeave:V,onLeave:V,onAfterLeave:V,onLeaveCancelled:V,onBeforeAppear:V,onAppear:V,onAfterAppear:V,onAppearCancelled:V},Kr={name:`BaseTransition`,props:Gr,setup(e,{slots:t}){let n=Q(),r=Wr();return()=>{let i=t.default&&ei(t.default(),!0),a=i&&i.length?qr(i):n.subTree?Os():void 0;if(!a)return;let o=P(e),{mode:s}=o;if(r.isLeaving)return Zr(a);let c=Qr(a);if(!c)return Zr(a);let l=Xr(c,o,r,n);c.type!==G&&$r(c,l);let u=n.subTree&&Qr(n.subTree);if(u&&u.type!==G&&!q(u,c)&&ti(n.subTree)){let e=Xr(u,o,r,n);if($r(u,e),s===`out-in`&&c.type!==G)return r.isLeaving=!0,e.afterLeave=()=>{if(r.isLeaving=!1,!(n.job.flags&8)){if(n.effect.flags&2){let e=()=>{n.job.flags&8||n.update()};e.i=n,Zn(e)}else n.update()}delete e.afterLeave,u=void 0},Zr(a);s===`in-out`&&c.type!==G?e.delayLeave=(e,t,n)=>{let i=Yr(r,u);i[String(u.key)]=u,e[B]=()=>{t(),e[B]=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 qr(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==G){t=n;break}}return t}var Jr=Kr;function Yr(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Xr(e,t,n,r){let{appear:i,mode:a,persisted:o=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:g,onAppear:_,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),x=Yr(n,e),S=(e,t)=>{e&&L(e,r,9,t)},C=(e,t)=>{let n=t[1];S(e,t),f(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},w={mode:a,persisted:o,beforeEnter(t){let r=s;if(!n.isMounted){if(i)r=g||s;else return}t[B]&&t[B](!0);let a=x[b];if(a&&q(e,a)){let e=a.el[B];if(!e){let t=ti(a);e=t&&t.el[B]}e&&e()}S(r,[t])},enter(t){if(x[b]===e)return;let r=c,a=l,o=u;if(!n.isMounted){if(i)r=_||c,a=v||l,o=y||u;else return}let s=!1;t[Ur]=e=>{s||(s=!0,S(e?o:a,[t]),w.delayedLeave&&w.delayedLeave(),t[Ur]=void 0)};let d=t[Ur].bind(null,!1);r?C(r,[t,d]):d()},leave(t,r){let i=String(e.key);if(t[Ur]&&t[Ur](!0),n.isUnmounting)return r();S(d,[t]);let a=!1;t[B]=n=>{a||(a=!0,r(),S(n?h:m,[t]),t[B]=void 0,x[i]===e&&delete x[i])};let o=t[B].bind(null,!1);x[i]=e,p?C(p,[t,o]):o()},clone(e){let i=Xr(e,t,n,r);return i.afterLeave=()=>{w.afterLeave&&w.afterLeave()},i.delayLeave=(e,t,n)=>{w.delayLeave?w.delayLeave(e,t,n):n()},i.delayedLeave=()=>{w.delayedLeave&&w.delayedLeave()},i}};return w}function Zr(e){if(Li(e))return e=Ts(e),e.children=null,e}function Qr(e){if(!Li(e))return jr(e.type)&&e.children?qr(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&&_(n.default))return n.default()}}function $r(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;$r(jr(n.type)&&Qr(n)||n,t)}else if(e.shapeFlag&128){let n=e.suspense;if(n){let e=n.isHydrating?n.pendingBranch:n.activeBranch;e&&$r(e,t.clone(e))}else e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)}else if(e.transition=t,e.type===W&&f(e.children)){let n=co(e.children,!1);n&&$r(n,t)}}function ei(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===W?(o.patchFlag&128&&i++,r=r.concat(ei(o.children,t,s))):(t||o.type!==G)&&r.push(s==null?o:Ts(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function ti(e){if(e.component)return ti(e.component.subTree);if(e.type===W){let t=f(e.children)&&co(e.children,!1);return t?ti(t):void 0}if(e.type!==G)return e}function ni(e,t){return _(e)?c({name:e.name},t,{setup:e}):e}function ri(){let e=Q();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+e.ids[1]++:``}function ii(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function ai(e){let t=Q(),r=cn(null);if(t){let i=t.refs===n?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>r.value,set:e=>r.value=e})}return r}function oi(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var si=new WeakMap;function ci(e,t,r,i,o=!1){if(f(e)){e.forEach((e,n)=>ci(e,t&&(f(t)?t[n]:t),r,i,o));return}if(Pi(i)&&!o){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&ci(e,t,r,i.component.subTree);return}let s=i.shapeFlag&4?$s(i.component):i.el,c=o?null:s,{i:u,r:p}=e,m=t&&t.r,h=u.refs===n?u.refs={}:u.refs,g=u.setupState,y=P(g),b=g===n?a:e=>!oi(h,e)&&d(y,e),x=(e,t)=>!(t&&oi(h,t));if(m!=null&&m!==p){if(li(t),v(m))h[m]=null,b(m)&&(g[m]=null);else if(I(m)){let e=t;x(m,e.k)&&(m.value=null),e.k&&(h[e.k]=null)}}if(_(p))Bn(p,u,12,[c,h]);else{let t=v(p),n=I(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?g[p]:h[p]:x(p)||!e.k?p.value:h[e.k];if(o)f(n)&&l(n,s);else if(f(n))n.includes(s)||n.push(s);else if(t)h[p]=[s],b(p)&&(g[p]=h[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(h[e.k]=t)}}else t?(h[p]=c,b(p)&&(g[p]=c)):n&&(x(p,e.k)&&(p.value=c),e.k&&(h[e.k]=c))};if(c){let t=()=>{i(),si.delete(e)};t.id=-1,si.set(e,t),U(t,r)}else li(e),i()}}}function li(e){let t=si.get(e);t&&(t.flags|=8,si.delete(e))}var ui=!1,di=()=>{ui||=(console.error(`Hydration completed but contains mismatches.`),!0)},fi=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,pi=e=>e.namespaceURI.includes(`MathML`),mi=e=>{if(e.nodeType===1){if(fi(e))return`svg`;if(pi(e))return`mathml`}},hi=e=>e.nodeType===8;function gi(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:s,remove:c,insert:l,createComment:u}}=e,d=(e,t)=>{t.hasChildNodes()?(f(t.firstChild,e,null,null,null),tr(),t._vnode=e):(n(null,e,t),tr(),t._vnode=e)},f=(n,r,o,c,u,d=!1)=>{d||=!!r.dynamicChildren;let b=hi(n)&&n.data===`[`,x=()=>g(n,r,o,c,u,b),{type:S,ref:C,shapeFlag:w,patchFlag:ee}=r,T=n.nodeType;r.el=n,ee===-2&&(d=!1,r.dynamicChildren=null);let E=null;switch(S){case cs:T===3?(n.data!==r.children&&(di(),n.data=r.children),E=a(n)):r.children===``?(l(r.el=i(``),s(n),n),E=n):E=x();break;case G:y(n)?(E=a(n),v(r.el=n.content.firstChild,n,o)):E=T!==8||b?x():a(n);break;case ls:if(b&&(n=a(n),T=n.nodeType),T===1||T===3){E=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=E.nodeType===1?E.outerHTML:E.data),t===r.staticCount-1&&(r.anchor=E),E=a(E);return b?a(E):E}x();break;case W:E=b?h(n,r,o,c,u,d):x();break;default:if(w&1)E=(T!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!y(n)?x():p(n,r,o,c,u,d);else if(w&6){r.slotScopeIds=u;let e=s(n);if(E=b?_(n):hi(n)&&n.data===`teleport start`?_(n,n.data,`teleport end`):a(n),t(r,e,null,o,c,mi(e),d),(Pi(r)||r.component.asyncDep)&&!r.component.subTree){let t;b?(t=J(ls),t.anchor=E?E.previousSibling:e.lastChild):t=n.nodeType===3?Es(``):J(n.nodeType===8?G:`div`),t.el=n,r.component.subTree=t}}else w&64?E=T===8?r.type.hydrate(n,r,o,c,u,d,e,m):x():w&128&&(E=r.type.hydrate(n,r,o,c,mi(s(n)),u,d,e,f))}return C!=null&&ci(C,null,c,r),E},p=(e,t,n,i,a,s)=>{s||=!!t.dynamicChildren;let{type:l,dynamicProps:u,props:d,patchFlag:f,shapeFlag:p,dirs:h,transition:g}=t,_=l===`input`||l===`option`,b=!!u;if(_||b||f!==-1){h&&gr(t,null,n,`created`);let l=!1;if(y(e)){l=zo(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(l){let e=r.getAttribute(`class`);e&&(r.$cls=e),g.beforeEnter(r)}v(r,e,n),t.el=e=r}if(p&16&&!(d&&(d.innerHTML||d.textContent))){let r=m(e.firstChild,t,e,n,i,a,s);for(r&&!xi(e,1)&&di();r;){let e=r;r=r.nextSibling,c(e)}}else if(p&8){let n=t.children;n[0]===`
2
2
  `&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
3
3
  `)&&(xi(e,0)||di(),e.textContent=t.children)}if(d){if(_||b||!s||f&48){let t=e.tagName.includes(`-`),i=e.namespaceURI.includes(`svg`)?`svg`:e.namespaceURI.includes(`MathML`)?`mathml`:void 0;for(let a in d)if(_&&(a.endsWith(`value`)||a===`indeterminate`)||o(a)&&!E(a)||a[0]===`.`||t&&!E(a)||u&&u.includes(a)){if(vi(e,a,d[a]))continue;r(e,a,null,d[a],i,n)}}else if(d.onClick)r(e,`onClick`,null,d.onClick,void 0,n);else if(f&4&&tn(d.style))for(let e in d.style)d.style[e]}let x;(x=d&&d.onVnodeBeforeMount)&&X(x,n,t),h&&gr(t,null,n,`beforeMount`),((x=d&&d.onVnodeMounted)||h||l)&&as(()=>{x&&X(x,n,t),l&&g.enter(e),h&&gr(t,null,n,`mounted`)},i)}return e.nextSibling},m=(e,t,r,o,s,c,u)=>{u||=!!t.dynamicChildren;let d=t.children,p=d.length,m=!1;for(let t=0;t<p;t++){let h=u?d[t]:d[t]=Y(d[t]),g=h.type===cs;e?(g&&!u&&t+1<p&&Y(d[t+1]).type===cs&&(l(i(e.data.slice(h.children.length)),r,a(e)),e.data=h.children),e=f(e,h,o,s,c,u)):g&&!h.children?l(h.el=i(``),r):(m||(m=!0,xi(r,1)||di()),n(null,h,r,null,o,s,mi(r),c))}return e},h=(e,t,n,r,i,o)=>{let{slotScopeIds:c}=t;c&&(i=i?i.concat(c):c);let d=s(e),f=m(a(e),t,d,n,r,i,o);return f&&hi(f)&&f.data===`]`?a(t.anchor=f):(di(),l(t.anchor=u(`]`),d,f),f)},g=(e,t,r,i,o,l)=>{if(Ci(e,t)||di(),t.el=null,l){let t=_(e);for(;;){let n=a(e);if(n&&n!==t)c(n);else break}}let u=a(e),d=s(e);return c(e),n(null,t,d,u,r,i,mi(d),o),r&&r.vnode.el===e&&(r.vnode.el=t.el,ho(r,t.el)),u},_=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=a(e),e&&hi(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},v=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[d,f]}var _i=new Set([`src`,`srcset`,`href`,`poster`]);function vi(e,t,n){return _i.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}var yi=`data-allow-mismatch`,bi={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function xi(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(yi);)e=e.parentElement;return Si(e&&e.getAttribute(yi),t)}function Si(e,t){if(e==null)return!1;if(e===``)return!0;{let n=e.split(`,`);return t===0&&n.includes(`children`)?!0:n.includes(bi[t])}}function Ci(e,t){return xi(e.parentElement,1)||wi(e)||Ti(t)}function wi(e){return e.nodeType===1&&Si(e.getAttribute(yi),1)}function Ti({props:e}){let t=e&&e[yi];return typeof t==`string`&&Si(t,1)}var Ei=de().requestIdleCallback||(e=>setTimeout(e,1)),Di=de().cancelIdleCallback||(e=>clearTimeout(e)),Oi=(e=1e4)=>t=>{let n=Ei(t,{timeout:e});return()=>Di(n)};function ki(e){let{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:o}=window;return(t>0&&t<a||r>0&&r<a)&&(n>0&&n<o||i>0&&i<o)}var Ai=e=>(t,n)=>{let r=new IntersectionObserver(e=>{for(let n of e)if(n.isIntersecting){r.disconnect(),t();break}},e),i=e=>{if(ki(e))return t(),r.disconnect(),!1;if(getComputedStyle(e).display===`contents`){for(let t=0;t<e.children.length;t++)if(i(e.children[t])===!1)return!1}r.observe(e)};return n(e=>{if(e instanceof Element)return i(e)}),()=>r.disconnect()},ji=e=>t=>{if(e){let n=matchMedia(e);if(n.matches)t();else return n.addEventListener(`change`,t,{once:!0}),()=>n.removeEventListener(`change`,t)}},Mi=(e=[])=>(t,n)=>{v(e)&&(e=[e]);let r=!1,i=e=>{r||(r=!0,a(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},a=()=>{n(t=>{for(let n of e)t.removeEventListener(n,i)})};return n(t=>{for(let n of e)t.addEventListener(n,i,{once:!0})}),a};function Ni(e,t){if(hi(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(hi(r)){if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++}r=r.nextSibling}}else t(e)}var Pi=e=>!!e.type.__asyncLoader;function Fi(e){_(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return ni({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=e.isConnected,i=!1;(t.bu||=[]).push(()=>i=!0);let o=()=>{i||!e.parentNode||r&&!e.isConnected||n()},s=a?()=>{let n=a(o,t=>Ni(e,t));n&&(t.bum||=[]).push(n)}:o;u?s():p().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return u},setup(){let e=Z;if(ii(e),u)return()=>Ii(u,e);let t=t=>{l=null,Vn(t,e,13,!r,!0)};if(s&&e.suspense||Vs)return p().then(t=>()=>Ii(t,e)).catch(e=>(t(e),()=>r?J(r,{error:e}):null));let a=sn(!1),c=sn(),d=sn(!!i),f,m;return Ie(()=>{f!=null&&clearTimeout(f),m!=null&&clearTimeout(m)}),i&&(m=setTimeout(()=>{e.isUnmounted||(d.value=!1)},i)),o!=null&&(f=setTimeout(()=>{if(!e.isUnmounted&&!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o)),p().then(()=>{e.isUnmounted||(a.value=!0,e.parent&&Li(e.parent.vnode)&&e.parent.update())}).catch(n=>{e.isUnmounted?l=null:(t(n),c.value=n)}),()=>{if(a.value&&u)return Ii(u,e);if(c.value&&r)return J(r,{error:c.value});if(n&&!d.value)return Ii(n,e)}}})}function Ii(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=J(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}var Li=e=>e.type.__isKeepAlive,Ri={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=Q(),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),U(()=>{a.isDeactivated=!1,a.a&&oe(a.a);let t=e.props&&e.props.onVnodeMounted;t&&X(t,a.parent,e)},s)},r.deactivate=e=>{let t=i.get(e.key==null?e.type:e.key);if(!t||t.component!==e.component)return!1;let n=e.component;return Uo(n.m),Uo(n.a),l(e,f,null,1,s),U(()=>{n.da&&oe(n.da);let t=e.props&&e.props.onVnodeUnmounted;t&&X(t,n.parent,e),n.isDeactivated=!0},s),!0};function p(e){Wi(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=ec(Pi(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!q(t,o))?p(t):o&&(Wi(o),t&&Wi(t)),i.delete(e),a.delete(e)}Tr(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>zi(e,t)),t&&m(e=>!zi(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{if(g!=null){if(Go(n.subTree.type)){let e=()=>{let e=Gi(n.subTree);e.component&&i.set(g,e)};n.subTree.suspense.pendingBranch?U(e,n.subTree.suspense):e()}else i.set(g,Gi(n.subTree))}};return Yi(_),Zi(_),Qi(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=Gi(t);if(e.type===i.type&&e.key===i.key){Wi(i);let e=i.component.da;e&&U(e,r)}else 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(!vs(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=Gi(r);if(s.type===G)return o=null,s;let c=s.type,l=ec(Pi(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!zi(u,l))||d&&l&&zi(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=Ts(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&$r(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,Go(r.type)?r:s}}};function zi(e,t){return f(e)?e.some(e=>zi(e,t)):v(e)?e.split(`,`).includes(t):g(e)?(e.lastIndex=0,e.test(t)):!1}function Bi(e,t){Hi(e,`a`,t)}function Vi(e,t){Hi(e,`da`,t)}function Hi(e,t,n=Z){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Ki(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Li(e.parent.vnode)&&Ui(r,t,n,e),e=e.parent}}function Ui(e,t,n,r){let i=Ki(t,e,r,!0),a=Ki(`um`,()=>l(r[t],i),n);a.flags=16}function Wi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Gi(e){return e.shapeFlag&128?e.ssContent:e}function Ki(e,t,n=Z,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{tt();let i=Rs(n),a=L(t,n,e,r);return i(),nt(),a};return r?i.unshift(a):i.push(a),a}}var qi=e=>(t,n=Z)=>{Vs&&e!==`sp`||Ki(e,(...e)=>t(...e),n)},Ji=qi(`bm`),Yi=qi(`m`),Xi=qi(`bu`),Zi=qi(`u`),Qi=qi(`bum`),$i=qi(`um`),ea=qi(`sp`),ta=qi(`rtg`),na=qi(`rtc`);function ra(e,t=Z){Ki(`ec`,e,t)}var ia=`components`,aa=`directives`;function oa(e,t){return ua(ia,e,!0,t)||e}var sa=Symbol.for(`v-ndc`);function ca(e){return v(e)?ua(ia,e,!1)||e:e||sa}function la(e){return ua(aa,e)}function ua(e,t,n=!0,r=!1){let i=z||Z;if(i){let n=i.type;if(e===ia){let e=ec(n,!1);if(e&&(e===t||e===D(t)||e===ie(D(t))))return n}let a=da(i[e]||n[e],t)||da(i.appContext[e],t);return!a&&r?n:a}}function da(e,t){return e&&(e[t]||e[D(t)]||e[ie(D(t))])}function fa(e,t,n,r){let i,a=n&&n[r],o=f(e);if(o||v(e)){let n=o&&tn(e),r=!1,s=!1;n&&(r=!N(e),s=nn(e),e=ht(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?on(F(e[n])):F(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){if(!Number.isInteger(e)||e<0)i=[];else{i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}}else if(b(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 pa(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(f(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 ma(e,t,n,r,i,a){if(n??={},z.ce||z.parent&&Pi(z.parent)&&z.parent.ce){let e=a!=null&&n.key==null?c({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),ds(),_s(W,null,[J(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let s=us.length;ds();let l;try{let i=o&&ha(o(n)),s=n.key||a||i&&i.key;l=_s(W,{key:(s&&!y(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=us.length;e>s;e--)fs();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+`-s`]),l}function ha(e){return e.some(e=>!vs(e)||!(e.type===G||e.type===W&&!ha(e.children)))?e:null}function ga(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ae(r)]=e[r];return n}var _a=e=>e?Bs(e)?$s(e):_a(e.parent):null,va=c(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=>_a(e.parent),$root:e=>_a(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ha(e),$forceUpdate:e=>e.f||=()=>{Zn(e.update)},$nextTick:e=>e.n||=Yn.bind(e.proxy),$watch:e=>Dr.bind(e)}),ya=(e,t)=>e!==n&&!e.__isScriptSetup&&d(e,t),ba={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(t[0]!==`$`){let e=s[t];if(e!==void 0)switch(e){case 1:return i[t];case 2:return a[t];case 4:return r[t];case 3:return o[t]}else if(ya(i,t))return s[t]=1,i[t];else if(a!==n&&d(a,t))return s[t]=2,a[t];else if(d(o,t))return s[t]=3,o[t];else if(r!==n&&d(r,t))return s[t]=4,r[t];else La&&(s[t]=0)}let u=va[t],f,p;if(u)return t===`$attrs`&&M(e.attrs,`get`,``),u(e);if((f=c.__cssModules)&&(f=f[t]))return f;if(r!==n&&d(r,t))return s[t]=4,r[t];if(p=l.config.globalProperties,d(p,t))return p[t]},set({_:e},t,r){let{data:i,setupState:a,ctx:o}=e;return ya(a,t)?(a[t]=r,!0):i!==n&&d(i,t)?(i[t]=r,!0):d(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(o[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==n&&c[0]!==`$`&&d(e,c)||ya(t,c)||d(o,c)||d(i,c)||d(va,c)||d(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?d(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}},xa=c({},ba,{get(e,t){if(t!==Symbol.unscopables)return ba.get(e,t,e)},has(e,t){return t[0]!==`_`&&!fe(t)}});function Sa(){return null}function Ca(){return null}function wa(e){}function Ta(e){}function Ea(){return null}function Da(){}function Oa(e,t){return null}function ka(){return ja(`useSlots`).slots}function Aa(){return ja(`useAttrs`).attrs}function ja(e){let t=Q();return t.setupContext||=Qs(t)}function Ma(e){return f(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Na(e,t){let n=Ma(e);for(let e in t){if(e.startsWith(`__skip`))continue;let r=n[e];r?f(r)||_(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:r===null&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function Pa(e,t){return!e||!t?e||t:f(e)&&f(t)?e.concat(t):c({},Ma(e),Ma(t))}function Fa(e,t){let n={};for(let r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Ia(e){let t=Q(),n=Vs,r=e();zs(),n&&Ls(!1);let i=()=>{Rs(t),n&&Ls(!0)},a=()=>{Q()!==t&&t.scope.off(),zs(),n&&Ls(!1)};return x(r)&&(r=r.catch(e=>{throw i(),Promise.resolve().then(()=>Promise.resolve().then(a)),e})),[r,()=>{i(),Promise.resolve().then(a)}]}var La=!0;function Ra(e){let t=Ha(e),n=e.proxy,r=e.ctx;La=!1,t.beforeCreate&&Ba(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:d,beforeMount:p,mounted:m,beforeUpdate:h,updated:g,activated:v,deactivated:y,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:ee,renderTracked:T,renderTriggered:E,errorCaptured:te,serverPrefetch:ne,expose:D,inheritAttrs:re,components:O,directives:ie,filters:ae}=t;if(u&&za(u,r,null),s)for(let e in s){let t=s[e];_(t)&&(r[e]=t.bind(n))}if(a){let t=a.call(n,n);b(t)&&(e.data=Xt(t))}if(La=!0,o)for(let e in o){let t=o[e],a=nc({get:_(t)?t.bind(n,n):_(t.get)?t.get.bind(n,n):i,set:!_(t)&&_(t.set)?t.set.bind(n):i});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)Va(c[e],r,n,e);if(l){let e=_(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{_r(t,e[t])})}d&&Ba(d,e,`c`);function k(e,t){f(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(k(Ji,p),k(Yi,m),k(Xi,h),k(Zi,g),k(Bi,v),k(Vi,y),k(ra,te),k(na,T),k(ta,E),k(Qi,S),k($i,w),k(ea,ne),f(D)){if(D.length){let t=e.exposed||={};D.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}ee&&e.render===i&&(e.render=ee),re!=null&&(e.inheritAttrs=re),O&&(e.components=O),ie&&(e.directives=ie),ne&&ii(e)}function za(e,t,n=i){f(e)&&(e=qa(e));for(let n in e){let r=e[n],i;i=b(r)?`default`in r?vr(r.from||n,r.default,!0):vr(r.from||n):vr(r),I(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Ba(e,t,n){L(f(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Va(e,t,n,r){let i=r.includes(`.`)?Or(n,r):()=>n[r];if(v(e)){let n=t[e];_(n)&&Tr(i,n)}else if(_(e))Tr(i,e.bind(n));else if(b(e)){if(f(e))e.forEach(e=>Va(e,t,n,r));else{let r=_(e.handler)?e.handler.bind(n):t[e.handler];_(r)&&Tr(i,r,e)}}}function Ha(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=>Ua(c,e,o,!0)),Ua(c,t,o)),b(t)&&a.set(t,c),c}function Ua(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&Ua(e,a,n,!0),i&&i.forEach(t=>Ua(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Wa[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Wa={data:Ga,props:Ya,emits:Ya,methods:Ja,computed:Ja,beforeCreate:H,created:H,beforeMount:H,mounted:H,beforeUpdate:H,updated:H,beforeDestroy:H,beforeUnmount:H,destroyed:H,unmounted:H,activated:H,deactivated:H,errorCaptured:H,serverPrefetch:H,components:Ja,directives:Ja,watch:Xa,provide:Ga,inject:Ka};function Ga(e,t){return t?e?function(){return c(_(e)?e.call(this,this):e,_(t)?t.call(this,this):t)}:t:e}function Ka(e,t){return Ja(qa(e),qa(t))}function qa(e){if(f(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function H(e,t){return e?[...new Set([].concat(e,t))]:t}function Ja(e,t){return e?c(Object.create(null),e,t):t}function Ya(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:c(Object.create(null),Ma(e),Ma(t??{})):t}function Xa(e,t){if(!e)return t;if(!t)return e;let n=c(Object.create(null),e);for(let r in t)n[r]=H(e[r],t[r]);return n}function Za(){return{app:null,config:{isNativeTag:a,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var Qa=0;function $a(e,t){return function(n,r=null){_(n)||(n=c({},n)),r!=null&&!b(r)&&(r=null);let i=Za(),a=new WeakSet,o=[],s=!1,l=i.app={_uid:Qa++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:sc,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&_(e.install)?(a.add(e),e.install(l,...t)):_(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,c){if(!s){let u=l._ceVNode||J(n,r);return u.appContext=i,c===!0?c=`svg`:c===!1&&(c=void 0),o&&t?t(u,a):e(u,a,c),s=!0,l._container=a,a.__vue_app__=l,$s(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(L(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=eo;eo=l;try{return e()}finally{eo=t}}};return l}}var eo=null;function to(e,t,r=n){let i=Q(),a=D(t),o=O(t),s=no(e,a),c=_n((s,c)=>{let l,u=n,d;return wr(()=>{let t=e[a];k(l,t)&&(l=t,c())}),{get(){return s(),r.get?r.get(l):l},set(e){let s=r.set?r.set(e):e;if(!k(s,l)&&!(u!==n&&k(e,u)))return;let f=i.vnode.props,p=!!(f&&(t in f||a in f||o in f)&&(`onUpdate:${t}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f));p||(l=e,c()),i.emit(`update:${t}`,s),k(e,u)&&(k(e,s)&&!k(s,d)||p&&u!==n&&!k(s,l))&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||n:c,done:!1}:{done:!0}}}},c}var no=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${D(t)}Modifiers`]||e[`${O(t)}Modifiers`];function ro(e,t,...r){if(e.isUnmounted)return;let i=e.vnode.props||n,a=r,o=t.startsWith(`update:`),s=o&&no(i,t.slice(7));s&&(s.trim&&(a=r.map(e=>v(e)?e.trim():e)),s.number&&(a=a.map(ce)));let c,l=i[c=ae(t)]||i[c=ae(D(t))];!l&&o&&(l=i[c=ae(O(t))]),l&&L(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,L(u,e,6,a)}}var io=new WeakMap;function ao(e,t,n=!1){let r=n?io:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!_(e)){let r=e=>{let n=ao(e,t,!0);n&&(s=!0,c(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(b(e)&&r.set(e,null),null):(f(a)?a.forEach(e=>o[e]=null):c(o,a),b(e)&&r.set(e,o),o)}function oo(e,t){return!e||!o(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),d(e,t[0].toLowerCase()+t.slice(1))||d(e,O(t))||d(e,t))}function so(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=ur(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Y(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=Y(e.length>1?e(f,{attrs:c,slots:o,emit:l}):e(f,null)),y=t.props?c:lo(c)}}catch(t){us.length=0,Vn(t,e,1),v=J(G)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(s)&&(y=uo(y,a)),b=Ts(b,y,!1,!0))}return n.dirs&&(b=Ts(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&$r(jr(b.type)&&Qr(b)||b,n.transition),v=b,ur(_),v}function co(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(vs(r)){if(r.type!==G||r.children===`v-if`){if(n)return;n=r}}else return}return n}var lo=e=>{let t;for(let n in e)(n===`class`||n===`style`||o(n))&&((t||={})[n]=e[n]);return t},uo=(e,t)=>{let n={};for(let r in e)s(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function fo(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?po(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(mo(o,r,n)&&!oo(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||po(r,o,l):!!o;return!1}function po(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(!d(e,a)||mo(t,e,a)&&!oo(n,a))return!0}return!1}function mo(e,t,n){let r=e[n],i=t[n];return n===`style`&&b(r)&&b(i)?!Ee(r,i):r!==i}function ho({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var go={},_o=()=>Object.create(go),vo=e=>Object.getPrototypeOf(e)===go;function yo(e,t,n,r=!1){let i={},a=_o();e.propsDefaults=Object.create(null),xo(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:Zt(i):e.type.props?i:a,e.attrs=a}function bo(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=P(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(oo(e.emitsOptions,o))continue;let u=t[o];if(c){if(d(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=D(o);i[t]=So(c,s,t,u,e,!1)}}else u!==a[o]&&(a[o]=u,l=!0)}}}else{xo(e,t,i,a)&&(l=!0);let r;for(let a in s)t&&(d(t,a)||(r=O(a))!==a&&d(t,r))||(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=So(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)t&&d(t,e)||(delete a[e],l=!0)}l&&ft(e.attrs,`set`,``)}function xo(e,t,r,i){let[a,o]=e.propsOptions,s=!1,c;if(t)for(let n in t){if(E(n))continue;let l=t[n],u;a&&d(a,u=D(n))?!o||!o.includes(u)?r[u]=l:(c||={})[u]=l:oo(e.emitsOptions,n)||n in i&&l===i[n]||(i[n]=l,s=!0)}if(o){let t=P(r),i=c||n;for(let n=0;n<o.length;n++){let s=o[n];r[s]=So(a,t,s,i[s],e,!d(i,s))}}return s}function So(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=d(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&_(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Rs(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===O(n))&&(r=!0))}return r}var Co=new WeakMap;function wo(e,t,i=!1){let a=i?Co:t.propsCache,o=a.get(e);if(o)return o;let s=e.props,l={},u=[],p=!1;if(!_(e)){let n=e=>{p=!0;let[n,r]=wo(e,t,!0);c(l,n),r&&u.push(...r)};!i&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}if(!s&&!p)return b(e)&&a.set(e,r),r;if(f(s))for(let e=0;e<s.length;e++){let t=D(s[e]);To(t)&&(l[t]=n)}else if(s)for(let e in s){let t=D(e);if(To(t)){let n=s[e],r=l[t]=f(n)||_(n)?{type:n}:c({},n),i=r.type,a=!1,o=!0;if(f(i))for(let e=0;e<i.length;++e){let t=i[e],n=_(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=_(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||d(r,`default`))&&u.push(t)}}let m=[l,u];return b(e)&&a.set(e,m),m}function To(e){return e[0]!==`$`&&!E(e)}var Eo=e=>e===`_`||e===`_ctx`||e===`$stable`,Do=e=>f(e)?e.map(Y):[Y(e)],Oo=(e,t,n)=>{if(t._n)return t;let r=mr((...e)=>Do(t(...e)),n);return r._c=!1,r},ko=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Eo(n))continue;let i=e[n];if(_(i))t[n]=Oo(n,i,r);else if(i!=null){let e=Do(i);t[n]=()=>e}}},Ao=(e,t)=>{let n=Do(t);e.slots.default=()=>n},jo=(e,t,n)=>{for(let r in t)(n||!Eo(r))&&(e[r]=t[r])},Mo=(e,t,n)=>{let r=e.slots=_o();if(e.vnode.shapeFlag&32){let e=t._;e?(jo(r,t,n),n&&se(r,`_`,e,!0)):ko(t,r)}else t&&Ao(e,t)},No=(e,t,r)=>{let{vnode:i,slots:a}=e,o=!0,s=n;if(i.shapeFlag&32){let e=t._;e?r&&e===1?o=!1:jo(a,t,r):(o=!t.$stable,ko(t,a)),s=t}else t&&(Ao(e,t),s={default:1});if(o)for(let e in a)!Eo(e)&&s[e]==null&&delete a[e]},U=as;function Po(e){return Io(e)}function Fo(e){return Io(e,gi)}function Io(e,t){let a=de();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=i,insertStaticContent:_}=e,v=(e,t,n,i=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!q(e,t)&&(i=ye(e),me(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===r&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case cs:y(e,t,n,i);break;case G:b(e,t,n,i);break;case ls:e??x(t,n,i,s);break;case W:O(e,t,n,i,a,o,s,c,l);break;default:f&1?w(e,t,n,i,a,o,s,c,l):f&6?ie(e,t,n,i,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,n,i,a,o,s,c,l,xe)}d!=null&&a?ci(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&ci(e.ref,null,o,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ee(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ne(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ee=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&te(e.children,d,null,r,i,Lo(e,a),s,u),_&&gr(e,null,r,`created`),T(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!E(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&X(f,r,e)}_&&gr(e,null,r,`beforeMount`);let v=zo(i,g);v?g.beforeEnter(d):g&&!g.persisted&&(d[qo]=!0),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&U(()=>{try{f&&X(f,r,e),v&&g.enter(d),_&&gr(e,null,r,`mounted`)}finally{}},i)},T=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||Go(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;T(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},te=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?ks(e[l]):Y(e[l]);v(null,c,t,n,r,i,a,o,s)}},ne=(e,t,r,i,a,o,s)=>{let l=t.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=e.patchFlag&16;let m=e.props||n,h=t.props||n,g;if(r&&Ro(r,!1),(g=h.onVnodeBeforeUpdate)&&X(g,r,t,e),f&&gr(t,e,r,`beforeUpdate`),r&&Ro(r,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?D(e.dynamicChildren,d,l,r,i,Lo(t,a),o):s||le(e,t,l,null,r,i,Lo(t,a),o,!1),u>0){if(u&16)re(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==t.children&&p(l,t.children)}else!s&&d==null&&re(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&U(()=>{g&&X(g,r,t,e),f&&gr(t,e,r,`updated`)},i)},D=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el||Wo(c),d=u&&(c.type===W||!q(c,l)||c.shapeFlag&198)?m(u):n;v(c,l,d,null,r,i,a,o,!0)}},re=(e,t,r,i,a)=>{if(t!==r){if(t!==n)for(let n in t)!E(n)&&!(n in r)&&c(e,n,t[n],null,a,i);for(let n in r){if(E(n))continue;let o=r[n],s=t[n];o!==s&&n!==`value`&&c(e,n,s,o,a,i)}`value`in r&&c(e,`value`,t.value,r.value,a)}},O=(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),te(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(D(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&Bo(e,t,!0)):le(e,t,n,f,i,a,s,c,l)},ie=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):ae(t,n,r,i,a,o,c):k(e,t,c)},ae=(e,t,n,r,i,a,o)=>{let s=e.component=Fs(e,r,i);if(Li(e)&&(s.ctx.renderer=xe),Hs(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,se,o,a),!e.el){let r=s.subTree=J(G);b(null,r,t,n),e.placeholder=r.el}}else se(s,e,t,n,i,a,o)},k=(e,t,n)=>{let r=t.component=e.component;if(fo(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,t.placeholder=e.placeholder,ce(r,t,n);return}r.next=t,r.update()}else t.el=e.el,t.placeholder=e.placeholder,r.vnode=t},se=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Ho(e);if(n){t&&(t.el=c.el,ce(e,t,o)),n.asyncDep.then(()=>{let t=()=>{e.job.flags&8||(i&&i.pendingBranch?U(t,i):l())};t.flags=48,U(t,i)});return}}let u=t,d;Ro(e,!1),t?(t.el=c.el,ce(e,t,o)):t=c,n&&oe(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&X(d,s,t,c),Ro(e,!0);let f=so(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el||Wo(p)),ye(p),e,i,a),t.el=f.el,u===null&&ho(e,f.el),r&&U(r,i),(d=t.props&&t.props.onVnodeUpdated)&&U(()=>X(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Pi(t);if(Ro(e,!1),l&&oe(l),!m&&(o=c&&c.onVnodeBeforeMount)&&X(o,d,t),Ro(e,!0),s&&Ce){let t=()=>{e.subTree=so(e),Ce(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=so(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&U(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;U(()=>X(o,d,e),i)}(t.shapeFlag&256||d&&Pi(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&U(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Re(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=()=>Zn(u),Ro(e,!0),l()},ce=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,bo(e,t.props,r,n),No(e,t.children,n),tt(),er(e),nt()},le=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){fe(l,d,n,r,i,a,o,s,c);return}if(f&256){ue(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ve(l,i,a),d!==l&&p(n,d)):u&16?m&16?fe(l,d,n,r,i,a,o,s,c):ve(l,i,a,!0):(u&8&&p(n,``),m&16&&te(d,n,r,i,a,o,s,c))},ue=(e,t,n,i,a,o,s,c,l)=>{e||=r,t||=r;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let r=t[p]=l?ks(t[p]):Y(t[p]);v(e[p],r,n,null,a,o,s,c,l)}u>d?ve(e,a,o,!0,!1,f):te(t,n,i,a,o,s,c,l,f)},fe=(e,t,n,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 r=e[u],i=t[u]=l?ks(t[u]):Y(t[u]);if(q(r,i))v(r,i,n,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let r=e[f],i=t[p]=l?ks(t[p]):Y(t[p]);if(q(r,i))v(r,i,n,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,r=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?ks(t[u]):Y(t[u]),n,r,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?ks(t[u]):Y(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let r=e[u];if(y>=b){me(r,a,o,!0);continue}let i;if(r.key!=null)i=g.get(r.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&q(r,t[_])){i=_;break}i===void 0?me(r,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(r,t[i],n,null,a,o,s,c,l),y++)}let w=x?Vo(C):r;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,r=t[e],f=t[e+1],p=e+1<d?f.el||Wo(f):i;C[u]===0?v(null,r,n,p,a,o,s,c,l):x&&(_<0||u!==w[_]?pe(r,n,p,2):_--)}}},pe=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6)pe(e.component.subTree,t,n,r);else if(d&128)e.suspense.move(t,n,r);else if(d&64)c.move(e,t,n,xe);else if(c===W){o(a,t,n);for(let e=0;e<u.length;e++)pe(u[e],t,n,r);o(e.anchor,t,n)}else if(c===ls)S(e,t,n);else if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[B]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),U(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[B];a._isLeaving&&a[B](!0),l.persisted&&!e?u():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,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&(tt(),ci(s,null,n,e,!0),nt()),p==null||e.ctx&&e.ctx!==t||(t.renderCache[p]=void 0),u&256&&t.ctx.deactivate(e))return;let h=u&1&&f,g=!Pi(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&X(_,t,e),u&6)_e(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&gr(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,xe,r):l&&!l.hasOnce&&(a!==W||d>0&&d&64)?ve(l,t,n,!1,!0):(a===W&&d&384||!i&&u&16)&&ve(c,t,n),r&&he(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&U(()=>{_&&X(_,t,e),h&&gr(e,null,t,`unmounted`),v&&(e.el=null)},n)},he=e=>{let{type:t,el:n,anchor:r,transition:i}=e,a=t===W;if(a&&!i){ge(n,r);return}if(t===ls){C(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let o=a?ti(e):e,c=()=>{a?m(n)&&ge(n,r):s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(o&&o.shapeFlag&1&&i&&!i.persisted){let{leave:e,delayLeave:t}=i,n=o.el,r=()=>e(n,c);t?t(n,c,r):r()}else c()},ge=(e,t)=>{let n;for(;e!==t;)n=h(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}=e;Uo(c),Uo(l),r&&oe(r),i.stop(),a?(a.flags|=8,me(o,e,t,n)):o&&(o.transition=e.vnode.transition,me(o,e,t,n)),s&&U(s,t);let u=()=>{e.isUnmounted=!0};u.flags=16,U(u,t)},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=h(e.anchor||e.el),n=t&&t[Ar];return n?h(n):t},be=(e,t,n)=>{rr(()=>{e==null?t._vnode&&me(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e},e&&t._vnode?void 0:e&&e.component?e.component.uid:Ps())},xe={p:v,um:me,m:pe,r:he,mt:ae,mc:te,pc:le,pbc:D,n:ye,o:e},Se,Ce;return t&&([Se,Ce]=t(xe)),{render:be,hydrate:Se,createApp:$a(be,Se)}}function Lo({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 Ro({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function zo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bo(e,t,n=!1){let r=e.children,i=t.children;if(f(r)&&f(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]=ks(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Bo(t,a)),a.type===cs&&(a.patchFlag===-1&&(a=i[e]=ks(a)),a.el=t.el),a.type===G&&!a.el&&(a.el=t.el)}}function Vo(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 Ho(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ho(t)}function Uo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Wo(e){if(e.placeholder)return e.placeholder;let t=e.component;if(t)return Wo(t.subTree);let n=e.suspense;return n&&n.activeBranch?Wo(n.activeBranch):null}var Go=e=>e.__isSuspense,Ko=0,qo=Symbol(`_deferredEnter`),Jo={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)Qo(t,n,r,i,a,o,s,c,l);else{let u=e.suspense;if(a&&a.deps>0&&!a.isHydrating){let n=u.parentComponent;if(n&&n.suspense===a&&n.suspenseId!==a.pendingId?a.pendingBranch&&!q(t.ssContent,u.pendingBranch||u.activeBranch):!u.isInFallback){t.suspense=u,u.vnode=t,t.el=e.el;return}}$o(e,t,n,r,i,o,s,c,l)}},hydrate:ts,normalize:ns};function Yo(e,t){let n=e.props&&e.props[t];_(n)&&n()}function Xo(e){let t=[];Zo(e,t,!0),t.length&&$n(t)}function Zo(e,t,n){let{el:r,transition:i,children:a,shapeFlag:o}=e;if(o&6)Zo(e.component.subTree,t,n);else if(!(o&192)&&(o&1&&(!n&&r&&r[qo]&&(r[qo]=void 0,i&&!i.persisted&&(i.beforeEnter(r),t.push(()=>i.enter(r)))),n=!1),o&16))for(let e=0;e<a.length;e++)Zo(a[e],t,n)}function Qo(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=es(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?(Yo(e,`onPending`),Yo(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),os(f,e.ssFallback)):f.resolve(!1,!0)}function $o(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,q(h,f)?(d.deps++,c(h,f,_?n:d.hiddenContainer,null,i,d,a,o,s),d.deps--,d.deps<=0?d.resolve():g&&!_&&!d.isFallbackMountPending&&(c(m,p,n,r,i,null,a,o,s),os(d,p))):(d.pendingId=Ko++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,is(d),d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():d.isFallbackMountPending||(c(m,p,n,r,i,null,a,o,s),os(d,p))):m&&q(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&q(m,f))c(m,f,n,r,i,d,a,o,s),os(d,f);else if(Yo(t,`onPending`),d.pendingBranch=f,d.pendingId=Ko++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e}=d;e>0?d.timeoutTimer=setTimeout(()=>{d.timeoutTimer=void 0,d.fallback(d.vnode.ssFallback)},e):e===0&&d.fallback(p)}}function es(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=ss(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?le(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:Ko++,timeout:typeof y==`number`?y:-1,timeoutTimer:void 0,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:o,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=x,g=!1;if(x.isHydrating)x.isHydrating=!1;else if(!e){g=i&&o.transition&&o.transition.mode===`out-in`;let e=!1;g&&(i.transition.afterLeave=()=>{s===x.pendingId&&!x.isUnmounted&&(Xo(o),f(o,u,a===b&&!e?m(i):a,0),$n(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),i&&!x.isFallbackMountPending&&(h(i.el||Wo(i))===u&&(a=m(i),e=!0),p(i,l,x,!0),!g&&d&&r.ssFallback&&U(()=>r.ssFallback.el=null,x)),g||(Xo(o),f(o,u,a,0))}clearTimeout(x.timeoutTimer),x.timeoutTimer=void 0,x.isFallbackMountPending=!1,os(x,o),x.pendingBranch=null,x.isInFallback=!1;let y=0;for(let e=0;e<c.length;e++){let t=c[e];t.flags&32?$n(t):c[y++]=t}c.length=y;let S=x.parent,C=!1;for(;S;){if(S.pendingBranch){for(let e=0;e<c.length;e++)S.effects.push(c[e]);C=!0;break}S=S.parent}!C&&!g&&$n(c),x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(_=void 0,t.deps--,t.deps===0&&!n&&t.resolve()),Yo(r,`onResolve`)},fallback(e){if(x.isUnmounted||!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;Yo(t,`onFallback`);let o=m(n),l=()=>{if(x.isFallbackMountPending=!1,x.isUnmounted||!x.isInFallback)return;let e=x.vnode.ssFallback;d(null,e,i,o,r,null,a,s,c),os(x,e)},u=e.transition&&e.transition.mode===`out-in`;u&&(x.isFallbackMountPending=!0,n.transition.afterLeave=l),x.isInFallback=!0,p(n,r,null,!0),u||l()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t,n,r){let i=!!x.pendingBranch;i&&x.deps++;let a=e.vnode.el,o=i=>{e.asyncResolved=!0;let{vnode:o}=e;Ws(e,i,!1),a&&(o.el=a);let s=!a&&e.subTree.el;t(e,o,h(a||e.subTree.el),a?null:m(e.subTree),x,r,n),s&&(o.placeholder=null,g(s)),ho(e,o.el)};e.asyncDep.catch(t=>(Vn(t,e,0,!1,!0),()=>null)).then(t=>{if(e.isUnmounted||x.isUnmounted)return;let n=i&&x.pendingId===e.suspenseId;if(zs(),!e.scope.active)n&&--x.deps===0&&x.resolve();else if(!n&&x.pendingBranch){let n=()=>{e.isUnmounted||x.isUnmounted||!e.scope.active||(x.pendingBranch?as(n,x):o(t))};n.flags=48,as(n,x)}else o(t),n&&--x.deps===0&&x.resolve()})},unmount(e,t){if(x.isUnmounted=!0,clearTimeout(x.timeoutTimer),x.timeoutTimer=void 0,_!==void 0){let e=x.parent,t=_;_=void 0,$n(()=>{e.pendingId===t&&!e.isUnmounted&&--e.deps===0&&e.resolve()})}x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&(p(x.pendingBranch,n,x,t),is(x))}};return x}function ts(e,t,n,r,i,a,o,s,c){let l=t.suspense=es(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 ns(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=rs(r?n.default:n),e.ssFallback=r?rs(n.fallback):J(G)}function rs(e){let t;if(_(e)){let n=ps&&e._c;n&&(e._d=!1,ds()),e=e(),n&&(e._d=!0,t=K,fs())}return f(e)&&(e=co(e)),e=Y(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function is(e){let{effects:t}=e;for(let e=0;e<t.length;e++){let n=t[e];n.flags&16&&$n(n)}t.length=0}function as(e,t){t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):$n(e)}function os(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,ho(r,i))}function ss(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}var W=Symbol.for(`v-fgt`),cs=Symbol.for(`v-txt`),G=Symbol.for(`v-cmt`),ls=Symbol.for(`v-stc`),us=[],K=null;function ds(e=!1){us.push(K=e?null:[])}function fs(){us.pop(),K=us[us.length-1]||null}var ps=1;function ms(e,t=!1){ps+=e,e<0&&K&&t&&(K.hasOnce=!0)}function hs(e){return e.dynamicChildren=ps>0?K||r:null,fs(),ps>0&&K&&K.push(e),e}function gs(e,t,n,r,i,a){return hs(Ss(e,t,n,r,i,a,!0))}function _s(e,t,n,r,i){return hs(J(e,t,n,r,i,!0))}function vs(e){return e?e.__v_isVNode===!0:!1}function q(e,t){return e.type===t.type&&e.key===t.key}function ys(e){}var bs=({key:e})=>e??null,xs=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:v(e)||I(e)||_(e)?{i:z,r:e,k:t,f:!!n}:e);function Ss(e,t=null,n=null,r=0,i=null,a=e===W?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&bs(t),ref:t&&xs(t),scopeId:lr,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:z};return s?(As(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=v(n)?8:16),ps>0&&!o&&K&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&K.push(c),c}var J=Cs;function Cs(e,t=null,n=null,r=0,i=null,a=!1){if(e&&e!==sa||(e=G),vs(e)){let r=Ts(e,t,!0);return n&&As(r,n),ps>0&&!a&&K&&(r.shapeFlag&6?K[K.indexOf(e)]=r:K.push(r)),r.patchFlag=-2,r}if(tc(e)&&(e=e.__vccOpts),t){t=ws(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=ve(e)),b(n)&&(rn(n)&&!f(n)&&(n=c({},n)),t.style=pe(n))}let o=v(e)?1:Go(e)?128:jr(e)?64:b(e)?4:_(e)?2:0;return Ss(e,t,n,r,i,o,a,!0)}function ws(e){return e?rn(e)?c({},e):vo(e)?c({},e[Xs]||e):e:null}function Ts(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?js(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&bs(l),ref:t&&t.ref?n&&a?f(a)?a.concat(xs(t)):[a,xs(t)]:xs(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!==W?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&&Ts(e.ssContent),ssFallback:e.ssFallback&&Ts(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&$r(u,c.clone(u)),u}function Es(e=` `,t=0){return J(cs,null,e,t)}function Ds(e,t){let n=J(ls,null,e);return n.staticCount=t,n}function Os(e=``,t=!1){return t?(ds(),_s(G,null,e)):J(G,null,e)}function Y(e){return e==null||typeof e==`boolean`?J(G):f(e)?J(W,null,e.slice()):vs(e)?ks(e):J(cs,null,String(e))}function ks(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ts(e)}function As(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(f(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),As(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!vo(t)?t._ctx=z:r===3&&z&&(z.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(_(t)){if(r&65){As(e,{default:t});return}t={default:t,_ctx:z},n=32}else t=String(t),r&64?(n=16,t=[Es(t)]):n=8;e.children=t,e.shapeFlag|=n}function js(...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=ve([t.class,r.class]));else if(e===`style`)t.style=pe([t.style,r.style]);else if(o(e)){let n=t[e],i=r[e];i&&n!==i&&!(f(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!s(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function X(e,t,n,r=null){L(e,t,7,[n,r])}var Ms=Za(),Ns=0;function Ps(){return Ns}function Fs(e,t,r){let i=e.type,a=(t?t.appContext:e.appContext)||Ms,o={uid:Ns++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ne(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wo(i,a),emitsOptions:ao(i,a),emit:null,emitted:null,propsDefaults:n,inheritAttrs:i.inheritAttrs,ctx:n,data:n,props:n,attrs:n,slots:n,refs:n,setupState:n,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=t?t.root:o,o.emit=ro.bind(null,o),e.ce&&e.ce(o),o}var Z=null,Q=()=>Z||z,Is,Ls;{let e=de(),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)}};Is=t(`__VUE_INSTANCE_SETTERS__`,e=>Z=e),Ls=t(`__VUE_SSR_SETTERS__`,e=>Vs=e)}var Rs=e=>{let t=Z;return Is(e),e.scope.on(),()=>{e.scope.off(),Is(t)}},zs=()=>{Z&&Z.scope.off(),Is(null)};function Bs(e){return e.vnode.shapeFlag&4}var Vs=!1;function Hs(e,t=!1,n=!1){t&&Ls(t);let{props:r,children:i}=e.vnode,a=Bs(e);yo(e,r,a,t),Mo(e,i,n||t);let o=a?Us(e,t):void 0;return t&&Ls(!1),o}function Us(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ba);let{setup:r}=n;if(r){tt();let n=e.setupContext=r.length>1?Qs(e):null,i=Rs(e),a=Bn(r,e,0,[e.props,n]),o=x(a);if(nt(),i(),(o||e.sp)&&!Pi(e)&&ii(e),o){if(a.then(zs,zs),t)return a.then(n=>{Ls(!0);try{Ws(e,n,t)}finally{Ls(!1)}}).catch(t=>{Vn(t,e,0,void 0,!0),e.ssrRender=(e,t)=>t(`<!---->`)});e.asyncDep=a}else Ws(e,a,t)}else Ys(e,t)}function Ws(e,t,n){_(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=hn(t)),Ys(e,n)}var Gs,Ks;function qs(e){Gs=e,Ks=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,xa))}}var Js=()=>!Gs;function Ys(e,t,n){let r=e.type;if(!e.render){if(!t&&Gs&&!r.render){let t=r.template||Ha(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r,s=c(c({isCustomElement:n,delimiters:a},i),o);r.render=Gs(t,s)}}e.render=r.render||i,Ks&&Ks(e)}{let t=Rs(e);tt();try{Ra(e)}finally{nt(),t()}}}var Xs=Symbol(),Zs={get(e,t){return M(e,`get`,``),t===Xs?e:e[t]}};function Qs(e){return{attrs:new Proxy(e.attrs,Zs),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function $s(e){return e.exposed?e.exposeProxy||=new Proxy(hn(an(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in va)return va[n](e)},has(e,t){return t in e||t in va}}):e.proxy}function ec(e,t=!0){return _(e)?e.displayName||e.name:e.name||t&&e.__name}function tc(e){return _(e)&&`__vccOpts`in e}var nc=(e,t)=>wn(e,t,Vs);function rc(e,t,n){try{ms(-1);let r=arguments.length;return r===2?b(t)&&!f(t)?vs(t)?J(e,null,[t]):J(e,t):J(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&vs(n)&&(n=[n]),J(e,t,n))}finally{ms(1)}}function ic(){}function ac(e,t,n,r){let i=n[r];if(i&&oc(i,e))return i;let a=t();return a.memo=e.slice(),a.cacheIndex=r,n[r]=a}function oc(e,t){let n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(k(n[e],t[e]))return!1;return ps>0&&K&&K.push(e),!0}var sc=`3.5.45`,cc=i,lc=zn,uc=or,dc=cr,fc={createComponentInstance:Fs,setupComponent:Hs,renderComponentRoot:so,setCurrentRenderingInstance:ur,isVNode:vs,normalizeVNode:Y,getComponentPublicInstance:$s,ensureValidVNode:ha,pushWarningContext:Fn,popWarningContext:In},pc=void 0,mc=typeof window<`u`&&window.trustedTypes;if(mc)try{pc=mc.createPolicy(`vue`,{createHTML:e=>e})}catch{}var hc=pc?e=>pc.createHTML(e):e=>e,gc=`http://www.w3.org/2000/svg`,_c=`http://www.w3.org/1998/Math/MathML`,vc=typeof document<`u`?document:null,yc=vc&&vc.createElement(`template`),bc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?vc.createElementNS(gc,e):t===`mathml`?vc.createElementNS(_c,e):n?vc.createElement(e,{is:n}):vc.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>vc.createTextNode(e),createComment:e=>vc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vc.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{yc.innerHTML=hc(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=yc.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xc=`transition`,Sc=`animation`,Cc=Symbol(`_vtc`),wc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Tc=c({},Gr,wc),Ec=(e=>(e.displayName=`Transition`,e.props=Tc,e))((e,{slots:t})=>rc(Jr,kc(e),t)),Dc=(e,t=[])=>{f(e)?e.forEach(e=>e(...t)):e&&e(...t)},Oc=e=>e?f(e)?e.some(e=>e.length>1):e.length>1:!1;function kc(e){let t={};for(let n in e)n in wc||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:u=o,appearToClass:d=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=Ac(i),g=h&&h[0],_=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=v,onAppear:w=y,onAppearCancelled:ee=b}=t,T=(e,t,n,r)=>{e._enterCancelled=r,Nc(e,t?d:s),Nc(e,t?u:o),n&&n()},E=(e,t)=>{e._isLeaving=!1,Nc(e,f),Nc(e,m),Nc(e,p),t&&t()},te=e=>(t,n)=>{let i=e?w:y,o=()=>T(t,e,n);Dc(i,[t,o]),Pc(()=>{Nc(t,e?l:a),Mc(t,e?d:s),Oc(i)||Ic(t,r,g,o)})};return c(t,{onBeforeEnter(e){Dc(v,[e]),Mc(e,a),Mc(e,o)},onBeforeAppear(e){Dc(C,[e]),Mc(e,l),Mc(e,u)},onEnter:te(!1),onAppear:te(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>E(e,t);Mc(e,f),e._enterCancelled?(Mc(e,p),Bc(e)):(Bc(e),Mc(e,p)),Pc(()=>{e._isLeaving&&(Nc(e,f),Mc(e,m),Oc(x)||Ic(e,r,_,n))}),Dc(x,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),Dc(b,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),Dc(ee,[e])},onLeaveCancelled(e){E(e),Dc(S,[e])}})}function Ac(e){if(e==null)return null;if(b(e))return[jc(e.enter),jc(e.leave)];{let t=jc(e);return[t,t]}}function jc(e){return le(e)}function Mc(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Cc]||(e[Cc]=new Set)).add(t)}function Nc(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[Cc];n&&(n.delete(t),n.size||(e[Cc]=void 0))}function Pc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var Fc=0;function Ic(e,t,n,r){let i=e._endId=++Fc,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Lc(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function Lc(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${xc}Delay`),a=r(`${xc}Duration`),o=Rc(i,a),s=r(`${Sc}Delay`),c=r(`${Sc}Duration`),l=Rc(s,c),u=null,d=0,f=0;t===xc?o>0&&(u=xc,d=o,f=a.length):t===Sc?l>0&&(u=Sc,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?xc:Sc:null,f=u?u===xc?a.length:c.length:0);let p=u===xc&&/\b(?:transform|all)(?:,|$)/.test(r(`${xc}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Rc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>zc(t)+zc(e[n])))}function zc(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Bc(e){return(e?e.ownerDocument:document).body.offsetHeight}function Vc(e,t,n){let r=e[Cc];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Hc=Symbol(`_vod`),Uc=Symbol(`_vsh`),Wc={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Hc]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Gc(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Gc(e,!0),r.enter(e)):r.leave(e,()=>{Gc(e,!1)}):Gc(e,t))},beforeUnmount(e,{value:t}){Gc(e,t)}};function Gc(e,t){e.style.display=t?e[Hc]:`none`,e[Uc]=!t}function Kc(){Wc.getSSRProps=({value:e})=>{if(!e)return{style:{display:`none`}}}}var qc=Symbol(``);function Jc(e){let t=Q();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>Xc(e,n))},r=()=>{let r=e(t.proxy);t.ce?Xc(t.ce,r):Yc(t.subTree,r),n(r)};Xi(()=>{$n(r)}),Yi(()=>{Tr(r,i,{flush:`post`});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),$i(()=>e.disconnect())})}function Yc(e,t){if(e.shapeFlag&128){let n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Yc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Xc(e.el,t);else if(e.type===W)e.children.forEach(e=>Yc(e,t));else if(e.type===ls){let{el:n,anchor:r}=e;for(;n&&(Xc(n,t),n!==r);)n=n.nextSibling}}function Xc(e,t){if(e.nodeType===1){let n=e.style,r=``;for(let e in t){let i=Me(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[qc]=r}}var Zc=/(?:^|;)\s*display\s*:/;function Qc(e,t,n){let r=e.style,i=v(n),a=!1;if(n&&!i){if(t){if(v(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??el(r,t,``)}else for(let e in t)n[e]??el(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?el(r,i,``):il(e,i,!v(t)&&t?t[i]:void 0,o)||el(r,i,o)}}else if(i){if(t!==n){let e=r[qc];e&&(n+=`;`+e),r.cssText=n,a=Zc.test(n)}}else t&&e.removeAttribute(`style`);Hc in e&&(i&&t===n||(e[Hc]=a?r.display:``),e[Uc]&&(r.display=`none`))}var $c=/\s*!important$/;function el(e,t,n){if(f(n))n.forEach(n=>el(e,t,n));else if(n??=``,t.startsWith(`--`))$c.test(n)?e.setProperty(t,n.replace($c,``),`important`):e.setProperty(t,n);else{let r=rl(e,t);$c.test(n)?e.setProperty(O(r),n.replace($c,``),`important`):e[r]=n}}var tl=[`Webkit`,`Moz`,`ms`],nl={};function rl(e,t){let n=nl[t];if(n)return n;let r=D(t);if(r!==`filter`&&r in e)return nl[t]=r;r=ie(r);for(let n=0;n<tl.length;n++){let i=tl[n]+r;if(i in e)return nl[t]=i}return t}function il(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&v(r)&&n===r}var al=`http://www.w3.org/1999/xlink`;function ol(e,t,n,r,i,a=be(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(al,t.slice(6,t.length)):e.setAttributeNS(al,t,n):n==null||a&&!xe(n)?e.removeAttribute(t):e.setAttribute(t,a?``:y(n)?String(n):n)}function sl(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?hc(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);r===i&&`_value`in e||(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=xe(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function cl(e,t,n,r){e.addEventListener(t,n,r)}function ll(e,t,n,r){e.removeEventListener(t,n,r)}var ul=Symbol(`_vei`);function dl(e,t,n,r,i=null){let a=e[ul]||(e[ul]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=ml(t);r?cl(e,n,a[t]=vl(r,i),s):o&&(ll(e,n,o,s),a[t]=void 0)}}var fl=/(Once|Passive|Capture)$/,pl=/^on:?(?:Once|Passive|Capture)$/;function ml(e){let t,n;for(;(n=e.match(fl))&&!pl.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):O(e.slice(2)),t]}var hl=0,gl=Promise.resolve(),_l=()=>hl||=(gl.then(()=>hl=0),Date.now());function vl(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(f(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&L(e,t,5,a)}}else L(r,t,5,[e])};return n.value=e,n.attached=_l(),n}var yl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bl=(e,t,n,r,i,a)=>{let c=i===`svg`;t===`class`?Vc(e,r,c):t===`style`?Qc(e,n,r):o(t)?s(t)||dl(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):xl(e,t,r,c))?(sl(e,t,r),e.tagName.includes(`-`)||t!==`value`&&t!==`checked`&&t!==`selected`||ol(e,t,r,c,a,t!==`value`)):e._isVueCE&&(Sl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!v(r)))?sl(e,D(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),ol(e,t,r,c))};function xl(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&yl(t)&&_(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return yl(t)&&v(n)?!1:t in e}function Sl(e,t){let n=e._def.props;if(!n)return!1;let r=D(t);return Array.isArray(n)?n.some(e=>D(e)===r):Object.keys(n).some(e=>D(e)===r)}var Cl={};function wl(e,t,n){let r=ni(e,t);ee(r)&&(r=c({},r,t));class i extends Dl{constructor(e){super(r,e,n)}}return i.def=r,i}var Tl=((e,t)=>wl(e,t,Cu)),El=typeof HTMLElement<`u`?HTMLElement:class{},Dl=class e extends El{constructor(e,t={},n=Su){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==Su?this._root=this.shadowRoot:e.shadowRoot===!1?this._root=this:(this.attachShadow(c({},e.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t&&=t.assignedSlot||t.parentNode||t.host;)if(t instanceof e){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,Yn(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});let e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;let{props:n,styles:r}=e,i;if(n&&!f(n))for(let e in n){let t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=le(this._props[e])),(i||=Object.create(null))[D(e)]=!0)}this._numberProps=i,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._connected&&this._mount(e)},t=this._def.__asyncLoader;if(t)return this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}),this._pendingResolve;e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let t=this._instance&&this._instance.exposed;if(t)for(let e in t)d(this,e)||Object.defineProperty(this,e,{get:()=>fn(t[e])})}_resolveProps(e){let{props:t}=e,n=f(t)?t:Object.keys(t||{});for(let e of Object.keys(this))e[0]!==`_`&&n.includes(e)&&this._setProp(e,this[e]);for(let e of n.map(D))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith(`data-v-`))return;let t=this.hasAttribute(e),n=t?this.getAttribute(e):Cl,r=D(e);t&&this._numberProps&&this._numberProps[r]&&(n=le(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===Cl?delete this._props[e]:(this._props[e]=t,e===`key`&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){let n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),t===!0?this.setAttribute(O(e),``):typeof t==`string`||typeof t==`number`?this.setAttribute(O(e),t+``):t||this.removeAttribute(O(e)),n&&n.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),bu(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let t=J(this._def,c(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;let t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,ee(t[0])?c({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),O(e)!==e&&t(O(e),n)},this._setParent()}),t}_applyStyles(e,t,n){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let r=this._nonce,i=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i),o=null;for(let s=e.length-1;s>=0;s--){let c=document.createElement(`style`);r&&c.setAttribute(`nonce`,r),c.textContent=e[s],i.insertBefore(c,o||a),o=c,s===0&&(n||this._styleAnchors.set(this._def,c),t&&this._styleAnchors.set(t,c))}}_getStyleAnchor(e){if(!e)return null;let t=this._styleAnchors.get(e);return t&&t.parentNode===this.shadowRoot?t:(t&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){let e=this._slots={},t;for(;t=this.firstChild;){let n=t.nodeType===1&&t.getAttribute(`slot`)||`default`;(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){let e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){let r=e[n],i=r.getAttribute(`name`)||`default`,a=this._slots[i],o=r.parentNode;if(a)for(let e of a){if(t&&e.nodeType===1){let n=t+`-s`,r=document.createTreeWalker(e,1);e.setAttribute(n,``);let i;for(;i=r.nextNode();)i.setAttribute(n,``)}o.insertBefore(e,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_getSlots(){let e=[this];this._teleportTargets&&e.push(...this._teleportTargets);let t=new Set;for(let n of e){let e=n.querySelectorAll(`slot`);for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e,t){this._applyStyles(e.styles,e,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}};function Ol(e){let t=Q();return t&&t.ce||null}function kl(){let e=Ol();return e&&e.shadowRoot}function Al(e=`$style`){{let t=Q();if(!t)return n;let r=t.type.__cssModules;return r&&r[e]||n}}var jl=new WeakMap,Ml=new WeakMap,Nl=Symbol(`_moveCb`),Pl=Symbol(`_enterCb`),Fl=new WeakMap,Il=(e=>(delete e.props.mode,e))({name:`TransitionGroup`,props:c({},Tc,{tag:String,moveClass:String}),setup(e,{slots:t}){let n=Q(),r=Wr(),i,a,o,s,c=()=>(s===void 0&&(s=i.length>0&&Gl(i[0].el,n.vnode.el,Rl(e))),s);return Zi(()=>{if(Fl.delete(n),!c()){i=[],o=void 0;return}let t=Rl(e);i.forEach(Ll);let r=o&&Wl(o,n.vnode.el);o=void 0,i.forEach(e=>zl(e,r));let a=i.filter(Bl);Bc(n.vnode.el),a.forEach(e=>{let n=e.el,r=n.style;Mc(n,t),r.transform=r.webkitTransform=r.transitionDuration=``;let i=n[Nl]=e=>{e&&e.target!==n||(!e||e.propertyName.endsWith(`transform`))&&(n.removeEventListener(`transitionend`,i),n[Nl]=null,Nc(n,t))};n.addEventListener(`transitionend`,i)}),i=[]}),()=>{let l=P(e),u=kc(l),d=l.tag||W;if(i=[],s=void 0,a)for(let e=0;e<a.length;e++){let t=a[e];t.el&&t.el instanceof Element&&!t.el[Uc]&&(i.push(t),$r(t,Xr(t,u,r,n)),jl.set(t,Vl(t.el)))}a=t.default?ei(t.default()):[];for(let e=0;e<a.length;e++){let t=a[e];t.key!=null&&$r(t,Xr(t,u,r,n))}return i.length&&(o=Hl(n),Fl.set(n,c)),J(d,null,a)}}});function Ll(e){let t=e.el;t[Nl]&&t[Nl](),t[Pl]&&t[Pl]()}function Rl(e){return e.moveClass||`${e.name||`v`}-move`}function zl(e,t){Ml.set(e,Vl(e.el,t))}function Bl(e){let t=jl.get(e),n=Ml.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){let t=e.el,n=t.style,a=t.getBoundingClientRect(),o=1,s=1;return t.offsetWidth&&(o=a.width/t.offsetWidth),t.offsetHeight&&(s=a.height/t.offsetHeight),Number.isFinite(o)&&o!==0||(o=1),Number.isFinite(s)&&s!==0||(s=1),Math.abs(o-1)<.01&&(o=1),Math.abs(s-1)<.01&&(s=1),n.transform=n.webkitTransform=`translate(${r/o}px,${i/s}px)`,n.transitionDuration=`0s`,e}}function Vl(e,t){let n=e.getBoundingClientRect();return{left:n.left-(t?t.left:0),top:n.top-(t?t.top:0)}}function Hl(e){let t;for(let n=e.parent;n;n=n.parent){let r=Fl.get(n);if(r){let i=Ul(n.vnode.el,e.vnode.el);i&&(t||=[]).push(c(Vl(i),{item:i,willMove:r}))}}return t}function Ul(e,t){let n=e.nodeType===1?e:e.parentNode;for(;t&&t.parentNode!==n;)t=t.parentNode;if(t&&t.nodeType===1)return t}function Wl(e,t){let n=e.find(e=>e.willMove()&&e.item.contains(t));return n&&Vl(n.item,n)}function Gl(e,t,n){let r=e.cloneNode(),i=e[Cc];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display=`none`;let a=t.nodeType===1?t:t.parentNode;a.appendChild(r);let{hasTransform:o}=Lc(r);return a.removeChild(r),o}var Kl=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return f(t)?e=>oe(t,e):t};function ql(e){e.target.composing=!0}function Jl(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var $=Symbol(`_assign`),Yl=Symbol(`_initialValue`);function Xl(e,t,n){return t&&(e=e.trim()),n&&(e=ce(e)),e}var Zl={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type===`text`?e[Yl]=e.defaultValue.replace(/[\r\n]/g,``):e.type===`textarea`&&(e[Yl]=e.defaultValue.replace(/\r\n?/g,`
4
- `))),e[$]=Kl(i);let a=r||i.props&&i.props.type===`number`;cl(e,t?`change`:`input`,t=>{t.target.composing||e[$](Xl(e.value,n,a))}),(n||a)&&cl(e,`change`,()=>{e.value=Xl(e.value,n,a)}),t||(cl(e,`compositionstart`,ql),cl(e,`compositionend`,Jl),cl(e,`change`,Jl))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[Yl];delete e[Yl],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[$](Xl(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[$]=Kl(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?ce(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},Ql={deep:!0,created(e,t,n){e[$]=Kl(n),cl(e,`change`,()=>{let t=e._modelValue,n=iu(e),r=e.checked,i=e[$];if(f(t)){let e=De(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(m(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(au(e,r))})},mounted:$l,beforeUpdate(e,t,n){e[$]=Kl(n),$l(e,t,n)}};function $l(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(f(t))i=De(t,r.props.value)>-1;else if(m(t))i=t.has(r.props.value);else{if(t===n)return;i=Ee(t,au(e,!0))}e.checked!==i&&(e.checked=i)}var eu={created(e,{value:t},n){e.checked=Ee(t,n.props.value),e[$]=Kl(n),cl(e,`change`,()=>{e[$](iu(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[$]=Kl(r),t!==n&&(e.checked=Ee(t,r.props.value))}},tu={deep:!0,created(e,{value:t,modifiers:{number:n}},r){e._modelValue=t,cl(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?ce(iu(e)):iu(e)),r=e.multiple,i=r?m(e._modelValue)?new Set(t):t:t[0],a=e._pendingValue=[r,r?f(i)?t.slice():t:i];try{e[$](i)}finally{Yn(()=>{e._pendingValue===a&&(e._pendingValue=void 0)})}}),e[$]=Kl(r)},mounted(e,{value:t,modifiers:{number:n}}){ru(e,t,n)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[$]=Kl(n)},updated(e,{value:t,modifiers:{number:n}}){let r=e._pendingValue;e._pendingValue=void 0,r&&r[0]===e.multiple&&nu(t,r[1],r[0])||ru(e,t,n)}};function nu(e,t,n){if(!n||f(e))return Ee(e,t);if(m(e)){if(e.size!==t.length)return!1;for(let n of t)if(!e.has(n))return!1;return!0}return!1}function ru(e,t,n=!1){let r=e.multiple,i=f(t);if(!r||i||m(t)){for(let a=0,o=e.options.length;a<o;a++){let o=e.options[a],s=iu(o);if(r){if(i){let e=typeof s;o.selected=e===`string`||e===`number`?t.some(e=>String(e)===String(s)):De(t,s)>-1}else o.selected=t.has(s)||n&&typeof s==`string`&&t.has(ce(s))}else if(Ee(iu(o),t)){e.selectedIndex!==a&&(e.selectedIndex=a);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function iu(e){return`_value`in e?e._value:e.value}function au(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var ou={created(e,t,n){cu(e,t,n,null,`created`)},mounted(e,t,n){cu(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){cu(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){cu(e,t,n,r,`updated`)}};function su(e,t){switch(e){case`SELECT`:return tu;case`TEXTAREA`:return Zl;default:switch(t){case`checkbox`:return Ql;case`radio`:return eu;default:return Zl}}}function cu(e,t,n,r,i){let a=su(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function lu(){Zl.getSSRProps=({value:e})=>({value:e}),eu.getSSRProps=({value:e},t)=>{if(t.props&&Ee(t.props.value,e))return{checked:!0}},Ql.getSSRProps=({value:e},t)=>{if(f(e)){if(t.props&&De(e,t.props.value)>-1)return{checked:!0}}else if(m(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},ou.getSSRProps=(e,t)=>{if(typeof t.type!=`string`)return;let n=su(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}var uu=[`ctrl`,`shift`,`alt`,`meta`],du={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>uu.some(n=>e[`${n}Key`]&&!t.includes(n))},fu=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=du[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},pu={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},mu=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=O(n.key);if(t.some(e=>e===r||pu[e]===r))return e(n)}))},hu=c({patchProp:bl},bc),gu,_u=!1;function vu(){return gu||=Po(hu)}function yu(){return gu=_u?gu:Fo(hu),_u=!0,gu}var bu=((...e)=>{vu().render(...e)}),xu=((...e)=>{yu().hydrate(...e)}),Su=((...e)=>{let t=vu().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Tu(e);if(!r)return;let i=t._component;_(i)||i.render||i.template||(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,wu(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),Cu=((...e)=>{let t=yu().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Tu(e);if(t)return n(t,!0,wu(t))},t});function wu(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Tu(e){return v(e)?document.querySelector(e):e}var Eu=!1,Du=()=>{Eu||(Eu=!0,lu(),Kc())},Ou=e({BaseTransition:()=>Jr,BaseTransitionPropsValidators:()=>Gr,Comment:()=>G,DeprecationTypes:()=>null,EffectScope:()=>Ne,ErrorCodes:()=>Rn,ErrorTypeStrings:()=>lc,Fragment:()=>W,KeepAlive:()=>Ri,ReactiveEffect:()=>Re,Static:()=>ls,Suspense:()=>Jo,Teleport:()=>Br,Text:()=>cs,TrackOpTypes:()=>Tn,Transition:()=>Ec,TransitionGroup:()=>Il,TriggerOpTypes:()=>En,VueElement:()=>Dl,assertNumber:()=>Ln,callWithAsyncErrorHandling:()=>L,callWithErrorHandling:()=>Bn,camelize:()=>D,capitalize:()=>ie,cloneVNode:()=>Ts,compatUtils:()=>null,compile:()=>ku,computed:()=>nc,createApp:()=>Su,createBlock:()=>_s,createCommentVNode:()=>Os,createElementBlock:()=>gs,createElementVNode:()=>Ss,createHydrationRenderer:()=>Fo,createPropsRestProxy:()=>Fa,createRenderer:()=>Po,createSSRApp:()=>Cu,createSlots:()=>pa,createStaticVNode:()=>Ds,createTextVNode:()=>Es,createVNode:()=>J,customRef:()=>_n,defineAsyncComponent:()=>Fi,defineComponent:()=>ni,defineCustomElement:()=>wl,defineEmits:()=>Ca,defineExpose:()=>wa,defineModel:()=>Da,defineOptions:()=>Ta,defineProps:()=>Sa,defineSSRCustomElement:()=>Tl,defineSlots:()=>Ea,devtools:()=>uc,effect:()=>Ze,effectScope:()=>Pe,getCurrentInstance:()=>Q,getCurrentScope:()=>Fe,getCurrentWatcher:()=>An,getTransitionRawChildren:()=>ei,guardReactiveProps:()=>ws,h:()=>rc,handleError:()=>Vn,hasInjectionContext:()=>yr,hydrate:()=>xu,hydrateOnIdle:()=>Oi,hydrateOnInteraction:()=>Mi,hydrateOnMediaQuery:()=>ji,hydrateOnVisible:()=>Ai,initCustomFormatter:()=>ic,initDirectivesForSSR:()=>Du,inject:()=>vr,isMemoSame:()=>oc,isProxy:()=>rn,isReactive:()=>tn,isReadonly:()=>nn,isRef:()=>I,isRuntimeOnly:()=>Js,isShallow:()=>N,isVNode:()=>vs,markRaw:()=>an,mergeDefaults:()=>Na,mergeModels:()=>Pa,mergeProps:()=>js,nextTick:()=>Yn,nodeOps:()=>bc,normalizeClass:()=>ve,normalizeProps:()=>ye,normalizeStyle:()=>pe,onActivated:()=>Bi,onBeforeMount:()=>Ji,onBeforeUnmount:()=>Qi,onBeforeUpdate:()=>Xi,onDeactivated:()=>Vi,onErrorCaptured:()=>ra,onMounted:()=>Yi,onRenderTracked:()=>na,onRenderTriggered:()=>ta,onScopeDispose:()=>Ie,onServerPrefetch:()=>ea,onUnmounted:()=>$i,onUpdated:()=>Zi,onWatcherCleanup:()=>jn,openBlock:()=>ds,patchProp:()=>bl,popScopeId:()=>fr,provide:()=>_r,proxyRefs:()=>hn,pushScopeId:()=>dr,queuePostFlushCb:()=>$n,reactive:()=>Xt,readonly:()=>Qt,ref:()=>sn,registerRuntimeCompiler:()=>qs,render:()=>bu,renderList:()=>fa,renderSlot:()=>ma,resolveComponent:()=>oa,resolveDirective:()=>la,resolveDynamicComponent:()=>ca,resolveFilter:()=>null,resolveTransitionHooks:()=>Xr,setBlockTracking:()=>ms,setDevtoolsHook:()=>dc,setTransitionHooks:()=>$r,shallowReactive:()=>Zt,shallowReadonly:()=>$t,shallowRef:()=>cn,ssrContextKey:()=>br,ssrUtils:()=>fc,stop:()=>Qe,toDisplayString:()=>ke,toHandlerKey:()=>ae,toHandlers:()=>ga,toRaw:()=>P,toRef:()=>xn,toRefs:()=>vn,toValue:()=>pn,transformVNodeArgs:()=>ys,triggerRef:()=>dn,unref:()=>fn,useAttrs:()=>Aa,useCssModule:()=>Al,useCssVars:()=>Jc,useHost:()=>Ol,useId:()=>ri,useModel:()=>to,useSSRContext:()=>xr,useShadowRoot:()=>kl,useSlots:()=>ka,useTemplateRef:()=>ai,useTransitionState:()=>Wr,vModelCheckbox:()=>Ql,vModelDynamic:()=>ou,vModelRadio:()=>eu,vModelSelect:()=>tu,vModelText:()=>Zl,vShow:()=>Wc,version:()=>sc,warn:()=>cc,watch:()=>Tr,watchEffect:()=>Sr,watchPostEffect:()=>Cr,watchSyncEffect:()=>wr,withAsyncContext:()=>Ia,withCtx:()=>mr,withDefaults:()=>Oa,withDirectives:()=>hr,withKeys:()=>mu,withMemo:()=>ac,withModifiers:()=>fu,withScopeId:()=>pr}),ku=()=>{};export{Ie as $,js as A,$n as B,J as C,ws as D,Q as E,Yi as F,ga as G,ma as H,$i as I,Sr as J,Aa as K,Zi as L,Bi as M,Qi as N,rc as O,Vi as P,an as Q,ds as R,Es as S,ni as T,oa as U,fa as V,ca as W,hr as X,mr as Y,Fe as Z,_s as _,Ql as a,ve as at,pa as b,Zl as c,ke as ct,fu as d,Xt as et,W as f,Ss as g,nc as h,Jc as i,fn as it,Yn as j,vr as k,Wc as l,Br as m,Ec as n,cn as nt,ou as o,ye as ot,Ri as p,Tr as q,Su as r,dn as rt,tu as s,pe as st,Ou as t,sn as tt,mu as u,Os as v,Fi as w,Ds as x,gs as y,_r as z};
4
+ `))),e[$]=Kl(i);let a=r||i.props&&i.props.type===`number`;cl(e,t?`change`:`input`,t=>{t.target.composing||e[$](Xl(e.value,n,a))}),(n||a)&&cl(e,`change`,()=>{e.value=Xl(e.value,n,a)}),t||(cl(e,`compositionstart`,ql),cl(e,`compositionend`,Jl),cl(e,`change`,Jl))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[Yl];delete e[Yl],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[$](Xl(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[$]=Kl(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?ce(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},Ql={deep:!0,created(e,t,n){e[$]=Kl(n),cl(e,`change`,()=>{let t=e._modelValue,n=iu(e),r=e.checked,i=e[$];if(f(t)){let e=De(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(m(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(au(e,r))})},mounted:$l,beforeUpdate(e,t,n){e[$]=Kl(n),$l(e,t,n)}};function $l(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(f(t))i=De(t,r.props.value)>-1;else if(m(t))i=t.has(r.props.value);else{if(t===n)return;i=Ee(t,au(e,!0))}e.checked!==i&&(e.checked=i)}var eu={created(e,{value:t},n){e.checked=Ee(t,n.props.value),e[$]=Kl(n),cl(e,`change`,()=>{e[$](iu(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[$]=Kl(r),t!==n&&(e.checked=Ee(t,r.props.value))}},tu={deep:!0,created(e,{value:t,modifiers:{number:n}},r){e._modelValue=t,cl(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?ce(iu(e)):iu(e)),r=e.multiple,i=r?m(e._modelValue)?new Set(t):t:t[0],a=e._pendingValue=[r,r?f(i)?t.slice():t:i];try{e[$](i)}finally{Yn(()=>{e._pendingValue===a&&(e._pendingValue=void 0)})}}),e[$]=Kl(r)},mounted(e,{value:t,modifiers:{number:n}}){ru(e,t,n)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[$]=Kl(n)},updated(e,{value:t,modifiers:{number:n}}){let r=e._pendingValue;e._pendingValue=void 0,r&&r[0]===e.multiple&&nu(t,r[1],r[0])||ru(e,t,n)}};function nu(e,t,n){if(!n||f(e))return Ee(e,t);if(m(e)){if(e.size!==t.length)return!1;for(let n of t)if(!e.has(n))return!1;return!0}return!1}function ru(e,t,n=!1){let r=e.multiple,i=f(t);if(!r||i||m(t)){for(let a=0,o=e.options.length;a<o;a++){let o=e.options[a],s=iu(o);if(r){if(i){let e=typeof s;o.selected=e===`string`||e===`number`?t.some(e=>String(e)===String(s)):De(t,s)>-1}else o.selected=t.has(s)||n&&typeof s==`string`&&t.has(ce(s))}else if(Ee(iu(o),t)){e.selectedIndex!==a&&(e.selectedIndex=a);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function iu(e){return`_value`in e?e._value:e.value}function au(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var ou={created(e,t,n){cu(e,t,n,null,`created`)},mounted(e,t,n){cu(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){cu(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){cu(e,t,n,r,`updated`)}};function su(e,t){switch(e){case`SELECT`:return tu;case`TEXTAREA`:return Zl;default:switch(t){case`checkbox`:return Ql;case`radio`:return eu;default:return Zl}}}function cu(e,t,n,r,i){let a=su(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function lu(){Zl.getSSRProps=({value:e})=>({value:e}),eu.getSSRProps=({value:e},t)=>{if(t.props&&Ee(t.props.value,e))return{checked:!0}},Ql.getSSRProps=({value:e},t)=>{if(f(e)){if(t.props&&De(e,t.props.value)>-1)return{checked:!0}}else if(m(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},ou.getSSRProps=(e,t)=>{if(typeof t.type!=`string`)return;let n=su(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}var uu=[`ctrl`,`shift`,`alt`,`meta`],du={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>uu.some(n=>e[`${n}Key`]&&!t.includes(n))},fu=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=du[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},pu={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},mu=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=O(n.key);if(t.some(e=>e===r||pu[e]===r))return e(n)}))},hu=c({patchProp:bl},bc),gu,_u=!1;function vu(){return gu||=Po(hu)}function yu(){return gu=_u?gu:Fo(hu),_u=!0,gu}var bu=((...e)=>{vu().render(...e)}),xu=((...e)=>{yu().hydrate(...e)}),Su=((...e)=>{let t=vu().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Tu(e);if(!r)return;let i=t._component;_(i)||i.render||i.template||(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,wu(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),Cu=((...e)=>{let t=yu().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Tu(e);if(t)return n(t,!0,wu(t))},t});function wu(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Tu(e){return v(e)?document.querySelector(e):e}var Eu=!1,Du=()=>{Eu||(Eu=!0,lu(),Kc())},Ou=e({BaseTransition:()=>Jr,BaseTransitionPropsValidators:()=>Gr,Comment:()=>G,DeprecationTypes:()=>null,EffectScope:()=>Ne,ErrorCodes:()=>Rn,ErrorTypeStrings:()=>lc,Fragment:()=>W,KeepAlive:()=>Ri,ReactiveEffect:()=>Re,Static:()=>ls,Suspense:()=>Jo,Teleport:()=>Br,Text:()=>cs,TrackOpTypes:()=>Tn,Transition:()=>Ec,TransitionGroup:()=>Il,TriggerOpTypes:()=>En,VueElement:()=>Dl,assertNumber:()=>Ln,callWithAsyncErrorHandling:()=>L,callWithErrorHandling:()=>Bn,camelize:()=>D,capitalize:()=>ie,cloneVNode:()=>Ts,compatUtils:()=>null,compile:()=>ku,computed:()=>nc,createApp:()=>Su,createBlock:()=>_s,createCommentVNode:()=>Os,createElementBlock:()=>gs,createElementVNode:()=>Ss,createHydrationRenderer:()=>Fo,createPropsRestProxy:()=>Fa,createRenderer:()=>Po,createSSRApp:()=>Cu,createSlots:()=>pa,createStaticVNode:()=>Ds,createTextVNode:()=>Es,createVNode:()=>J,customRef:()=>_n,defineAsyncComponent:()=>Fi,defineComponent:()=>ni,defineCustomElement:()=>wl,defineEmits:()=>Ca,defineExpose:()=>wa,defineModel:()=>Da,defineOptions:()=>Ta,defineProps:()=>Sa,defineSSRCustomElement:()=>Tl,defineSlots:()=>Ea,devtools:()=>uc,effect:()=>Ze,effectScope:()=>Pe,getCurrentInstance:()=>Q,getCurrentScope:()=>Fe,getCurrentWatcher:()=>An,getTransitionRawChildren:()=>ei,guardReactiveProps:()=>ws,h:()=>rc,handleError:()=>Vn,hasInjectionContext:()=>yr,hydrate:()=>xu,hydrateOnIdle:()=>Oi,hydrateOnInteraction:()=>Mi,hydrateOnMediaQuery:()=>ji,hydrateOnVisible:()=>Ai,initCustomFormatter:()=>ic,initDirectivesForSSR:()=>Du,inject:()=>vr,isMemoSame:()=>oc,isProxy:()=>rn,isReactive:()=>tn,isReadonly:()=>nn,isRef:()=>I,isRuntimeOnly:()=>Js,isShallow:()=>N,isVNode:()=>vs,markRaw:()=>an,mergeDefaults:()=>Na,mergeModels:()=>Pa,mergeProps:()=>js,nextTick:()=>Yn,nodeOps:()=>bc,normalizeClass:()=>ve,normalizeProps:()=>ye,normalizeStyle:()=>pe,onActivated:()=>Bi,onBeforeMount:()=>Ji,onBeforeUnmount:()=>Qi,onBeforeUpdate:()=>Xi,onDeactivated:()=>Vi,onErrorCaptured:()=>ra,onMounted:()=>Yi,onRenderTracked:()=>na,onRenderTriggered:()=>ta,onScopeDispose:()=>Ie,onServerPrefetch:()=>ea,onUnmounted:()=>$i,onUpdated:()=>Zi,onWatcherCleanup:()=>jn,openBlock:()=>ds,patchProp:()=>bl,popScopeId:()=>fr,provide:()=>_r,proxyRefs:()=>hn,pushScopeId:()=>dr,queuePostFlushCb:()=>$n,reactive:()=>Xt,readonly:()=>Qt,ref:()=>sn,registerRuntimeCompiler:()=>qs,render:()=>bu,renderList:()=>fa,renderSlot:()=>ma,resolveComponent:()=>oa,resolveDirective:()=>la,resolveDynamicComponent:()=>ca,resolveFilter:()=>null,resolveTransitionHooks:()=>Xr,setBlockTracking:()=>ms,setDevtoolsHook:()=>dc,setTransitionHooks:()=>$r,shallowReactive:()=>Zt,shallowReadonly:()=>$t,shallowRef:()=>cn,ssrContextKey:()=>br,ssrUtils:()=>fc,stop:()=>Qe,toDisplayString:()=>ke,toHandlerKey:()=>ae,toHandlers:()=>ga,toRaw:()=>P,toRef:()=>xn,toRefs:()=>vn,toValue:()=>pn,transformVNodeArgs:()=>ys,triggerRef:()=>dn,unref:()=>fn,useAttrs:()=>Aa,useCssModule:()=>Al,useCssVars:()=>Jc,useHost:()=>Ol,useId:()=>ri,useModel:()=>to,useSSRContext:()=>xr,useShadowRoot:()=>kl,useSlots:()=>ka,useTemplateRef:()=>ai,useTransitionState:()=>Wr,vModelCheckbox:()=>Ql,vModelDynamic:()=>ou,vModelRadio:()=>eu,vModelSelect:()=>tu,vModelText:()=>Zl,vShow:()=>Wc,version:()=>sc,warn:()=>cc,watch:()=>Tr,watchEffect:()=>Sr,watchPostEffect:()=>Cr,watchSyncEffect:()=>wr,withAsyncContext:()=>Ia,withCtx:()=>mr,withDefaults:()=>Oa,withDirectives:()=>hr,withKeys:()=>mu,withMemo:()=>ac,withModifiers:()=>fu,withScopeId:()=>pr}),ku=()=>{};export{Fe as $,Pa as A,_r as B,J as C,ws as D,Q as E,Vi as F,ca as G,fa as H,Yi as I,to as J,ga as K,$i as L,Yn as M,Bi as N,rc as O,Qi as P,hr as Q,Zi as R,Es as S,ni as T,ma as U,$n as V,oa as W,Sr as X,Tr as Y,mr as Z,_s as _,Ql as a,cn as at,pa as b,Zl as c,ve as ct,fu as d,ke as dt,I as et,W as f,Ss as g,nc as h,Jc as i,sn as it,js as j,vr as k,Wc as l,ye as lt,Br as m,Ec as n,Ie as nt,ou as o,dn as ot,Ri as p,Aa as q,Su as r,Xt as rt,tu as s,fn as st,Ou as t,an as tt,mu as u,pe as ut,Os as v,Fi as w,Ds as x,gs as y,ds as z};
@@ -2,9 +2,11 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover" />
6
- <meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
7
- <meta name="theme-color" content="#141517" media="(prefers-color-scheme: dark)" />
5
+ <meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover,interactive-widget=resizes-content" />
6
+ <meta name="theme-color" content="#f6f6f7" media="(prefers-color-scheme: light)" />
7
+ <meta name="theme-color" content="#21252b" media="(prefers-color-scheme: dark)" />
8
+ <!-- Pin a chosen light or dark theme before first paint (no flash). The server admits this script by its hash. -->
9
+ <script>try{var t=localStorage.getItem("litepaseo-theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}</script>
8
10
  <meta name="apple-mobile-web-app-capable" content="yes" />
9
11
  <meta name="mobile-web-app-capable" content="yes" />
10
12
  <meta name="apple-mobile-web-app-status-bar-style" content="default" />
@@ -14,10 +16,10 @@
14
16
  <link rel="icon" type="image/png" href="/icons/icon-192.png" />
15
17
  <link rel="apple-touch-icon" href="/icons/apple-touch-icon.png" />
16
18
  <title>LitePaseo</title>
17
- <script type="module" crossorigin src="/assets/index-DV5BdS_U.js"></script>
19
+ <script type="module" crossorigin src="/assets/index-CFtzqoeO.js"></script>
18
20
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-XKyaHtl9.js">
19
- <link rel="modulepreload" crossorigin href="/assets/vue.runtime.esm-bundler-4XjPOHMM.js">
20
- <link rel="stylesheet" crossorigin href="/assets/index-CwWokVo4.css">
21
+ <link rel="modulepreload" crossorigin href="/assets/vue.runtime.esm-bundler-DmQNwI70.js">
22
+ <link rel="stylesheet" crossorigin href="/assets/index-DP1jZ3Bw.css">
21
23
  </head>
22
24
  <body>
23
25
  <div id="app"></div>
Binary file
Binary file
package/dist/web/sw.js CHANGED
@@ -17,7 +17,7 @@ self.addEventListener("push", (event) => {
17
17
  if (typeof message.badge === "number" && self.navigator.setAppBadge) {
18
18
  await (message.badge > 0 ? self.navigator.setAppBadge(message.badge) : self.navigator.clearAppBadge()).catch(() => {});
19
19
  }
20
- await self.registration.showNotification(message.title, {
20
+ await self.registration.showNotification(typeof message.title === "string" && message.title ? message.title : "LitePaseo", {
21
21
  body: message.body,
22
22
  tag: message.tag,
23
23
  renotify: true,
@@ -32,7 +32,14 @@ self.addEventListener("push", (event) => {
32
32
 
33
33
  self.addEventListener("notificationclick", (event) => {
34
34
  event.notification.close();
35
- const url = new URL(event.notification.data?.url || "/", self.location.origin);
35
+ let url;
36
+ try {
37
+ url = new URL(event.notification.data?.url || "/", self.location.origin);
38
+ } catch {
39
+ url = new URL("/", self.location.origin);
40
+ }
41
+ // Only ever open this console: a notification must not be able to send the reader elsewhere.
42
+ if (url.origin !== self.location.origin) url = new URL("/", self.location.origin);
36
43
  const key = url.searchParams.get("session");
37
44
  event.waitUntil(
38
45
  (async () => {
package/dist/web/sw.js.br CHANGED
Binary file
package/dist/web/sw.js.gz CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "litepaseo",
3
- "version": "0.9.2",
3
+ "version": "0.11.0",
4
4
  "description": "A resource-conscious web console for your Paseo agents",
5
5
  "bin": {
6
6
  "litepaseo": "dist/server/cli.mjs"
@@ -1,2 +0,0 @@
1
- import{I as e,R as t,S as n,T as r,V as i,at as a,ct as o,f as s,g as c,q as l,tt as u,v as d,y as f}from"./vue.runtime.esm-bundler-4XjPOHMM.js";import{p}from"./index-DV5BdS_U.js";var m={class:`changes-panel`},h=[`disabled`],g={key:0,role:`alert`},_={key:1},v={key:2},y=[`onToggle`],b=[`onClick`],x={key:0},S={key:1},C={class:`hunk`},w=p(r({__name:`ChangesPanel`,props:{hostId:{},cwd:{},api:{type:Function}},setup(r){let p=r,w=u([]),T=u(``),E=u(!1),D=u(!1),O=0,k=u(new Set);e(()=>O++);async function A(){let e=++O;E.value=!0,T.value=``,w.value=[],D.value=!1,k.value=new Set;try{let t=await p.api(`/hosts/${encodeURIComponent(p.hostId)}/changes?cwd=${encodeURIComponent(p.cwd)}`);if(e!==O)return;w.value=t.files,D.value=!!t.diffTooLarge}catch(t){e===O&&(T.value=t.message)}finally{e===O&&(E.value=!1)}}async function j(e){try{await navigator.clipboard.writeText(e)}catch{T.value=`Could not copy path.`}}return l(()=>[p.hostId,p.cwd],()=>{w.value=[],A()},{immediate:!0}),(e,r)=>(t(),f(`section`,m,[r[0]||=c(`p`,null,`Workspace uncommitted changes · includes changes from all contributors.`,-1),c(`button`,{class:`btn`,disabled:E.value,onClick:A},o(E.value?`Loading…`:`Refresh changes`),9,h),T.value?(t(),f(`p`,g,o(T.value),1)):d(``,!0),D.value?(t(),f(`p`,_,`Diff exceeds the host limit; some changes are omitted.`)):d(``,!0),!E.value&&!T.value&&!w.value.length?(t(),f(`p`,v,`No uncommitted changes.`)):d(``,!0),(t(!0),f(s,null,i(w.value,e=>(t(),f(`details`,{key:e.path,onToggle:t=>t.target.open?k.value.add(e.path):k.value.delete(e.path)},[c(`summary`,null,[n(o(e.oldPath?e.oldPath+` → `:``)+o(e.path)+` `,1),c(`span`,null,`+`+o(e.additions)+` −`+o(e.deletions),1)]),c(`button`,{class:`btn btn-ghost`,onClick:t=>j(e.path)},`Copy path`,8,b),e.status===`binary`?(t(),f(`p`,x,`Binary file changed.`)):e.status===`too_large`?(t(),f(`p`,S,`File diff is too large to display.`)):d(``,!0),k.value.has(e.path)?(t(!0),f(s,{key:2},i(e.hunks,(e,n)=>(t(),f(`pre`,{key:n},[c(`code`,null,[c(`span`,C,`@@ −`+o(e.oldStart)+`,`+o(e.oldCount)+` +`+o(e.newStart)+`,`+o(e.newCount)+` @@
2
- `,1),(t(!0),f(s,null,i(e.lines,(e,n)=>(t(),f(`span`,{key:n,class:a(e.type)},o(e.type===`add`?`+`:e.type===`remove`?`−`:` `)+o(e.content),3))),128))])]))),128)):d(``,!0)],40,y))),128))]))}}),[[`__scopeId`,`data-v-4de9f4ce`]]);export{w as default};
@@ -1,3 +0,0 @@
1
- import{C as e,E as t,F as n,H as r,I as i,K as a,N as o,R as s,T as c,X as l,Y as u,_ as d,at as f,b as p,ct as ee,d as m,g as h,h as g,it as te,j as _,k as ne,l as re,m as v,nt as ie,q as y,st as ae,tt as b,v as oe,y as se}from"./vue.runtime.esm-bundler-4XjPOHMM.js";import{E as ce,G as le,U as ue,W as de,X as fe,Y as pe,Z as me,a as he,at as ge,b as _e,c as ve,d as ye,et as be,ft as xe,g as Se,it as Ce,lt as we,n as Te,nt as Ee,ot as De,rt as Oe,ut as ke,v as Ae,w as je,x as Me}from"./MarkdownMessage-DbSS5ULZ.js";import{n as Ne,r as Pe,t as Fe}from"./PreCodeBlock.vue_vue_type_style_index_0_lang-CunCuyah.js";import{n as Ie,t as x}from"./safeRaf-BDp3SJMs.js";import{o as Le}from"./index-DV5BdS_U.js";var S=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),Re=!1,ze=null,Be=null,Ve=null;function He(){return S(this,null,function*(){if(Ve)return Ve;Ve=S(null,null,function*(){if(!Be)try{if(Be=function(e){let t=e,n=typeof t?.createCodeBlockRuntime==`function`||typeof t?.useMonaco==`function`?t:e?.default,r=n?.createCodeBlockRuntime??n?.useMonaco;return typeof r==`function`?{createCodeBlockRuntime:e=>r.call(n,e),detectLanguage:(n?.detectLanguage)?.bind(n),preloadStreamDiffs:(n?.preloadStreamDiffs)?.bind(n)}:null}(yield Le(()=>import(`./markstream_markstream-vue-Bj0UewdV.js`),[])),!Be)return null}catch{return null}try{return yield function(e){return S(this,null,function*(){if(!Re)return ze||(ze=S(null,null,function*(){let t=e?.preloadStreamDiffs;typeof t==`function`&&(yield t()),Re=!0}).finally(()=>{ze=null}),ze)})}(Be),de(),Be}catch{return null}});try{return yield Ve}finally{Ve=null}})}var Ue=Object.defineProperty,We=Object.defineProperties,C=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,Ke=(e,t,n)=>t in e?Ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t)=>{for(var n in t||={})Ge.call(t,n)&&Ke(e,n,t[n]);if(w)for(var n of w(t))T.call(t,n)&&Ke(e,n,t[n]);return e},qe=(e,t)=>We(e,C(t)),D=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),O={class:`html-preview-frame__header`},Je={class:`html-preview-frame__title`},Ye={class:`html-preview-frame__label`},k=[`sandbox`,`srcdoc`],Xe=Ae(c({__name:`HtmlPreviewFrame`,props:{code:{},isDark:{type:Boolean},htmlPreviewAllowScripts:{type:Boolean},htmlPreviewSandbox:{},onClose:{type:Function},title:{}},setup(e){let t=e,{t:r}=Me(),a=g(()=>{let e=t.code||``,n=e.trim().toLowerCase();return n.startsWith(`<!doctype`)||n.startsWith(`<html`)||n.startsWith(`<body`)?e:`<!doctype html>\n<html lang="en">\n <head>\n <meta charset="utf-8" />\n <meta name="viewport" content="width=device-width, initial-scale=1" />\n <style>\n html, body {\n margin: 0;\n padding: 0;\n height: 100%;\n background-color: ${t.isDark?`#020617`:`#ffffff`};\n color: ${t.isDark?`#e5e7eb`:`#020617`};\n }\n body {\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text', ui-sans-serif, sans-serif;\n }\n </style>\n </head>\n <body>\n ${e}\n </body>\n</html>`}),o=g(()=>{return e=t.htmlPreviewSandbox,n=t.htmlPreviewAllowScripts,typeof e==`string`?e:e===void 0&&!0===n?`allow-scripts`:``;var e,n});function c(e){var n;e.key!==`Escape`&&e.key!==`Esc`||(n=t.onClose)==null||n.call(t)}return n(()=>{typeof window<`u`&&window.addEventListener(`keydown`,c)}),i(()=>{typeof window<`u`&&window.removeEventListener(`keydown`,c)}),(e,n)=>(s(),d(v,{to:`body`},[h(`div`,{class:f([`markstream-vue`,{dark:t.isDark}])},[h(`div`,{class:`html-preview-frame__backdrop`,onClick:n[2]||=e=>t.onClose?.call(t)},[h(`div`,{class:`html-preview-frame`,onClick:n[1]||=m(()=>{},[`stop`])},[h(`div`,O,[h(`div`,Je,[n[3]||=h(`span`,{class:`html-preview-frame__dot`},null,-1),h(`span`,Ye,ee(t.title||te(r)(`common.preview`)||`Preview`),1)]),h(`button`,{type:`button`,class:`html-preview-frame__close`,onClick:n[0]||=e=>t.onClose?.call(t)},` × `)]),h(`iframe`,{class:`html-preview-frame__iframe`,sandbox:o.value,referrerpolicy:`no-referrer`,srcdoc:a.value},null,8,k)])])],2)]))}}),[[`__scopeId`,`data-v-24e66176`]]),Ze=[`data-markstream-enhanced`,`data-markstream-enhancement-state`,`data-markstream-code-block-state`,`data-markstream-pending`,`data-markstream-viewport-pending`],Qe={class:`code-header-main`},$e=[`innerHTML`],et={class:`code-header-copy`},tt={class:`code-header-title`},nt={key:0,class:`code-header-caption`},rt=[`data-markstream-host-hidden`],A=Ae(c({__name:`CodeBlockNode`,props:{node:{},codeBlockOptions:{},clipboardWriter:{},showLineNumbers:{type:Boolean,default:void 0},isDark:{type:Boolean,default:!1},loading:{type:Boolean,default:!0},stream:{type:Boolean,default:!0},theme:{},darkTheme:{default:void 0},lightTheme:{default:void 0},isShowPreview:{type:Boolean,default:!0},enableFontSizeControl:{type:Boolean,default:!0},minWidth:{default:void 0},maxWidth:{default:void 0},themes:{},showPreviewButton:{type:Boolean,default:!0},showCollapseButton:{type:Boolean,default:!0},showFontSizeButtons:{type:Boolean,default:!0},showTooltips:{type:Boolean},htmlPreviewAllowScripts:{type:Boolean},htmlPreviewSandbox:{},customId:{},showHeader:{type:Boolean,default:!0},showCopyButton:{type:Boolean,default:!0},showExpandButton:{type:Boolean,default:!0},estimatedHeightPx:{},estimatedContentHeightPx:{},estimatedDiffInline:{type:Boolean}},emits:[`previewCode`,`copy`],setup(c,{emit:m}){let v=c,de=m,Ae=g(()=>v.showLineNumbers??!0!==v.codeBlockOptions?.disableLineNumbers),Le=a(),S=ne(fe,null),Re=ne(`markstreamHostScrollManaged`,null),ze=ne(Se,void 0),Be=g(()=>ve(v,Le)),Ve=t(),Ue=g(()=>{let e=Ve?.vnode.props;return!(!e||!e.onPreviewCode&&!e[`onPreview-code`])}),{t:We}=Me(),C=b(null),w=b(null),Ge=b(!1),T=b(Hr(v.node.language,v.node.code,Vr())),Ke=g(()=>me(T.value)),O=g(()=>Ke.value===`plaintext`?`text`:Ke.value),Je=g(()=>Ke.value===`plaintext`),Ye=b(!1),k=b(!1),A=b(!1),j=b(!1),M=b(!1),it=b(!1),N=!1,at=!1,ot=null,st=null,ct=null,lt=0,ut=!1,dt=``,ft=b(null),pt=0,mt=!1,ht=Te(),gt=ce(),_t=ye(),vt=ie(null),P=b(typeof window>`u`||!_t.value),yt=t()?.vnode.el?.textContent??``,bt=typeof window<`u`&&String(v.node.code??``).length>0&&yt.includes(String(v.node.code)),xt=b(!bt);n(()=>{xt.value=!0}),typeof window<`u`&&y([()=>w.value,_t],([e,t],n,r)=>{var i;if((i=vt.value)==null||i.destroy(),vt.value=null,!t||P.value)return void(P.value=!0);if(!e)return void(P.value=!1);let a=!0,o=gt?.value.heavyBlockMargin??gt?.value.rootMargin??`0px`,s=ht(e,{rootMargin:o,allowIdle:!1});vt.value=s,P.value=P.value||s.isVisible.value,s.whenVisible.then(()=>{a&&vt.value===s&&(P.value=!0)}).catch(()=>{}),r(()=>{a=!1,s.destroy(),vt.value===s&&(vt.value=null)})},{immediate:!0}),o(()=>{var e;N=!0,function(){let e=dt;S&&e&&(dt=``,S.markSettled(e))}(),(e=vt.value)==null||e.destroy(),vt.value=null});let F=null,St=null,Ct=()=>{},wt=()=>{},Tt=()=>{},Et=()=>{},Dt=()=>null,I=()=>({getModel:()=>({getLineCount:()=>1}),getOption:()=>14,updateOptions:()=>{}}),L=()=>({getModel:()=>({getLineCount:()=>1}),getOption:()=>14,updateOptions:()=>{}}),Ot=()=>{},kt=()=>{},At=()=>{},jt=null,R=null,Mt=null,Nt=null,Pt=()=>String(v.node.language??`plaintext`),Ft=()=>D(null,null,function*(){}),It=!1,Lt=null,Rt=[],zt=[],Bt=null,Vt=null,z=g(()=>Oe(v.node)),Ht=b({removed:0,added:0}),Ut=g(()=>`-${Ht.value.removed} +${Ht.value.added}`);function Wt(e,t){return{original:e,updated:t}}function Gt(e){return String(e??``).replace(/\r\n$|\n$|\r$/,``)}function Kt(e){return String(e?.message??e).includes(`no diff result available`)}function qt(){if(!$())try{let e=At();e&&typeof e.catch==`function`&&e.catch(e=>{Kt(e)})}catch(e){Kt(e)}}let Jt=g(()=>{let e=E({},v.codeBlockOptions||{});for(let t of[`theme`,`themes`,`themeType`,`language`,`languages`,`stream`,`disableFileHeader`,`onThemeChange`,`renderCustomHeader`,`renderHeaderMetadata`,`renderHeaderPrefix`,`maxHeight`,`padding`,`tabSize`])delete e[t];if(!z.value)return e;let t=e.parseDiffOptions&&typeof e.parseDiffOptions==`object`?e.parseDiffOptions:{},n={diffStyle:`split`,expandUnchanged:!1,collapsedContextThreshold:5,hunkSeparators:`line-info`,parseDiffOptions:{context:2}};return qe(E(E({},n),e),{parseDiffOptions:E(E({},n.parseDiffOptions),t)})}),Yt=g(()=>{return(v.theme===void 0?!fi(v.darkTheme,v.lightTheme):(e=v.theme)&&typeof e==`object`&&`light`in e&&`dark`in e)?!!v.isDark:function(e){let t=di(e)??``;return Ce(t,!0===v.isDark)}(pi());var e}),Xt=g(()=>(z.value,Yt.value?`dark`:`light`)),Zt=g(()=>z.value?Xt.value===`dark`:Yt.value),B=g(()=>ke({darkTheme:v.darkTheme,isDark:v.isDark,lightTheme:v.lightTheme,theme:v.theme,themes:v.themes})),Qt=g(()=>z.value?`diff`:`single`),$t=b(Qt.value),V=b(!1),H=b(!1),en=b(!1),U=b(!1),tn=b(null),nn=b(0),rn=b(0),an=b(!1),on=null,sn=!1,cn=null,ln=!1,un=g(()=>!!z.value&&Jt.value?.diffStyle===`unified`),dn=g(()=>De(Jt.value));function fn(e){return!0===Re?.value||!!e&&(!!e.closest(`[data-markstream-virtual-timeline="1"], .markstream-virtual-timeline`)||!!e.closest(`.vue-recycle-scroller, [data-virtualizer], [data-virtual-scroll-root]`))}let pn=g(()=>fn(w.value)),mn=g(()=>!(V.value||!U.value&&H.value)),hn=g(()=>mn.value),gn=g(()=>mn.value&&!en.value),_n=g(()=>!V.value&&!U.value&&mn.value),vn=g(()=>H.value&&!V.value?`ready`:U.value?`fallback`:`pending`),yn=b(!1),W=g(()=>Gt(v.node.code)),bn=g(()=>z.value?!0===v.node.diff?v.node:qe(E({},v.node),{diff:!0}):W.value===v.node.code?v.node:qe(E({},v.node),{code:W.value}));function xn(e){let t=e.detectLanguage;typeof t==`function`&&(Pt=t),Vt=e,Bt=gi();let n=e.createCodeBlockRuntime(Bt);return!!n&&(F=n.createEditor||F,St=n.createDiffEditor||St,Ct=n.updateCode||Ct,wt=n.updateDiff||wt,Tt=n.finalizeCode||Tt,Et=n.finalizeDiff||Et,Dt=n.getEditor||Dt,I=n.getEditorView||I,L=n.getDiffEditorView||L,Ot=n.cleanupEditor||Ot,kt=n.safeClean||n.cleanupEditor||kt,At=n.refreshDiffPresentation||At,Ft=n.setTheme||Ft,jt=n.whenVisualReady||null,it.value=!0,!0)}let G=b(typeof v.codeBlockOptions?.fontSize==`number`?v.codeBlockOptions.fontSize:NaN),K=b(G.value),Sn=b(null),Cn=b(null),wn=b(null),Tn=b(null),En=g(()=>{let e=G.value,t=K.value;return typeof e==`number`&&Number.isFinite(e)&&e>0&&typeof t==`number`&&Number.isFinite(t)&&t>0}),Dn=g(()=>{let e=v.codeBlockOptions?.fontSize;if(typeof e==`number`&&Number.isFinite(e)&&e>0)return e;let t=K.value;return typeof t==`number`&&Number.isFinite(t)&&t>0?t:12}),On=g(()=>{let e=v.codeBlockOptions?.lineHeight;return typeof e==`number`&&Number.isFinite(e)&&e>0?e:Dn.value===12?18:Math.max(12,Math.round(1.5*Dn.value))}),kn=g(()=>On.value),An=g(()=>{let e=v.codeBlockOptions?.tabSize;return typeof e==`number`&&Number.isFinite(e)&&e>0?e:4}),jn=g(()=>{let e=v.codeBlockOptions?.padding,t=typeof e==`number`&&Number.isFinite(e)&&e>=0?e:8;return{top:t,bottom:t}}),Mn=g(()=>qe(E({},xe(v.codeBlockOptions)),{fontSize:Dn.value,lineHeight:kn.value,maxHeight:zr(),padding:jn.value.top,paddingBottom:jn.value.bottom,tabSize:An.value})),Nn=g(()=>{let e=v.estimatedContentHeightPx;return typeof e==`number`&&Number.isFinite(e)&&e>0?e:null});function Pn(e){if(e==null)return null;let t=Math.ceil(e);return!Number.isFinite(t)||t<=0?null:Math.min(t,Math.ceil(zr()))}function Fn(){return!z.value&&!1!==v.stream&&!1!==v.loading}let In=b(Fn());function Ln(){return Fn()||In.value}let Rn=g(()=>z.value?null:Nn.value==null||Ln()?Math.ceil((e=>{let t=String(e??``);if(!t)return 1;let n=1;for(let e=0;e<t.length;e++)t[e]===`
2
- `?n++:t[e]===`\r`&&(n++,t[e+1]===`
3
- `&&e++);return n})(W.value)*kn.value+1):null),zn=g(()=>{if(z.value)return null;let e=Nn.value;return e==null||Ln()?Pn(Rn.value):Pn(e)}),Bn=g(()=>{let e=v.estimatedHeightPx;return typeof e==`number`&&Number.isFinite(e)&&e>0?e:null}),Vn=b(null);function Hn(){let e=Vn.value;return typeof e==`number`&&Number.isFinite(e)&&e>0?Math.round(e):null}let Un=g(()=>Hn()??(!z.value&&an.value?null:mn.value||!H.value?zn.value:null));function Wn(e){let t=e?`hsl(152 42% 60%)`:`var(--diff-added-fg)`,n=e?`hsl(0 58% 58%)`:`var(--diff-removed-fg)`,r=e?`color-mix(in lab, #121212 80%, #4d9375)`:`color-mix(in lab, #ffffff 88%, #1e754f)`,i=e?`color-mix(in lab, #121212 80%, #cb7676)`:`color-mix(in lab, #ffffff 88%, #ab5959)`;return{"--markstream-diff-line-number-bg":`var(--markstream-diff-editor-bg)`,"--markstream-diff-added-fg":t,"--markstream-diff-removed-fg":n,"--markstream-diff-added-line":r,"--markstream-diff-removed-line":i,"--markstream-diff-added-line-fill":r,"--markstream-diff-added-number-fill":e?`color-mix(in lab, #121212 85%, #4d9375)`:`color-mix(in lab, #ffffff 91%, #1e754f)`,"--markstream-diff-removed-line-fill":i,"--markstream-diff-removed-number-fill":e?`color-mix(in lab, #121212 85%, #cb7676)`:`color-mix(in lab, #ffffff 91%, #ab5959)`,"--markstream-diff-added-gutter":`linear-gradient(90deg, ${t} 0 4px, transparent 4px 100%)`,"--markstream-diff-removed-gutter":`linear-gradient(90deg, ${n} 0 4px, transparent 4px 100%)`,"--markstream-diff-added-inline":e?`hsl(152 42% 60% / 0.28)`:`var(--diff-added-inline-bg)`,"--markstream-diff-removed-inline":e?`hsl(0 58% 58% / 0.28)`:`var(--diff-removed-inline-bg)`}}let Gn=g(()=>{let e=Pn(Nn.value),t=Pn(Rn.value),n=Ln(),r=E({},z.value||e==null||n?z.value||t==null?{}:{minHeight:`${t}px`}:{height:`${e}px`,minHeight:`${e}px`});if(r[`--markstream-code-fallback-bg`]=B.value.background,r[`--markstream-code-fallback-fg`]=B.value.foreground,B.value.builtin&&(r[`--markstream-code-theme-bg`]=B.value.background,r[`--markstream-code-theme-fg`]=B.value.foreground,r[`--markstream-code-theme-line-number`]=B.value.lineNumber),r[`--markstream-pre-line-number-top`]=`${jn.value.top}px`,r[`--markstream-pre-line-number-left`]=`0px`,r[`--markstream-pre-line-number-padding-left`]=`2ch`,r[`--markstream-pre-line-number-padding-right`]=`1ch`,r[`--markstream-pre-line-number-separator-width`]=`2px`,z.value){r[`--markstream-pre-diff-line-height`]=`${kn.value}px`,r[`--markstream-pre-diff-pane-bottom-padding`]=(un.value,`0px`);let e=Tn.value;e!=null&&e>0&&(r.height=`${e}px`,r.minHeight=`${e}px`,r.maxHeight=`${e}px`),Object.assign(r,Wn(Zt.value))}return r}),Kn=g(()=>Un.value!=null&&(!H.value||Hn()!=null)),qn=g(()=>{let e=Un.value;if(e==null)return null;if(z.value)return Math.ceil(e);let t=Bn.value,n=Nn.value;if(t==null||n==null)return Math.ceil(e);let r=Math.max(0,Math.ceil(t)-Math.ceil(n));return Math.ceil(e+r)}),Jn=g(()=>{if(z.value&&mn.value)return{};let e=Un.value;return Kn.value&&e!=null?{minHeight:`${e}px`}:{}});function Yn(){Vn.value=null}function Xn(){var e,t,n,r;let i=w.value?.querySelector(`pre.code-pre-fallback`),a=L(),o=i?.scrollTop??0;(t=(e=(a?.getOriginalEditor)?.call(a))?.setScrollTop)==null||t.call(e,o),(r=(n=(a?.getModifiedEditor)?.call(a))?.setScrollTop)==null||r.call(n,o)}function Zn(){return D(this,null,function*(){return z.value?(vr(),er(),X(!0),Xn(),Z(),en.value=!0,yield _(),X(!0),yield q(),X(!0),gr(),er(),!!(yield function(){return D(this,null,function*(){if(!z.value)return!0;for(let e=0;e<4;e++){let e=er();X(!0),Qn(e),$n(e),yield _(),yield q();let t=w.value?.querySelector(`pre.code-pre-fallback`);if(!t)return!1;if(e==null)return jr();let n=t.getBoundingClientRect().height;if(n>0&&Math.abs(n-e)<=2)return!0}return!1})}())&&(H.value=!0,yield _(),er(),X(!0),gr(),Z(),x(()=>{N||x(()=>{N||(function(){let e=w.value?.querySelector(`.code-block-shell-content`),t=w.value?.querySelector(`.code-editor-layer`);e&&t&&(t.style.removeProperty(`height`),t.style.removeProperty(`min-height`),e.style.removeProperty(`height`),e.style.removeProperty(`min-height`))}(),Q(!0))})}),Q(),!0)):!(jt&&!(yield jt())||(en.value=!0,yield _(),X(!0),H.value=!0,yield _(),Q(),0))})}function Qn(e){if(!z.value)return;let t=C.value,n=w.value?.querySelector(`pre.code-pre-fallback`);if(!t||!n)return;let r=e??Number.parseFloat(t.style.height||``);if(!Number.isFinite(r)||r<=0)return;let i=Math.ceil(r),a=`${i}px`;Tn.value=i;let o=w.value;o&&(o.dataset.markstreamDiffHandoffHeight=a),n.dataset.markstreamDiffHandoffHeight=a,n.style.setProperty(`height`,a),n.style.setProperty(`min-height`,a)}function $n(e){if(!z.value)return;let t=w.value?.querySelector(`.code-block-shell-content`),n=w.value?.querySelector(`.code-editor-layer`);if(!t||!n)return;let r=typeof e==`number`&&Number.isFinite(e)&&e>0?Math.ceil(e):Number.parseFloat(C.value?.style.height||``);if(!Number.isFinite(r)||r<=0)return;let i=`${r}px`;n.style.height=i,n.style.minHeight=i,t.style.height=i,t.style.minHeight=i}function er(){let e=C.value;if(e&&jr(e)){Z();let t=mr(e);if(t!=null&&t>0){let n=Math.ceil(t),r=Math.ceil(zr()),i=Math.min(n,r),a=`${i}px`;return e.style.height=a,e.style.minHeight=`0px`,e.style.maxHeight=`${r}px`,e.style.overflow=n>r+1?`auto`:`hidden`,mn.value&&(Tn.value=i,Qn(i)),Dr(),i}return Y({preferModelDiffHeight:!0}),Qn(),Dr(),Number.parseFloat(e.style.height||``)||null}return vr()}function tr(e,t=!1,n={}){let r=Math.ceil(e),i=Hn();if(i==null)return r;let a=!0===n.allowBelowEstimatedFloor;return r>=i||a?((t||a)&&M.value&&Yn(),r):i}function q(){return new Promise(e=>{let t=!1,n=null,r=null,i=()=>{t||(t=!0,r!=null&&globalThis.clearTimeout(r),n!=null&&Ie(n),e())};r=globalThis.setTimeout(i,50),n=x(i)})}function nr(){try{let e=C.value;if(!e)return null;let t=e.querySelector(`.stream-diffs-shell .stream-diffs-surface`)??e.querySelector(`.stream-diffs-shell`);if(t){let e=Math.ceil(t.getBoundingClientRect().height);if(e>0)return e}}catch{}return null}function rr(){var e;try{let t=z.value?((e=L())?.getModifiedEditor)?.call(e)??L():I(),n=Dt()?.EditorOption?.fontInfo;if(t&&n!=null){let e=t.getOption?.call(t,n)?.fontSize;if(typeof e==`number`&&Number.isFinite(e)&&e>0)return e}}catch{}try{let e=C.value;if(e){let t=e.querySelector(`.stream-diffs-shell .stream-diffs-surface`)??e.querySelector(`.stream-diffs-shell`);if(t)try{if(typeof window<`u`&&typeof window.getComputedStyle==`function`){let e=window.getComputedStyle(t).fontSize,n=e&&e.match(/^(\d+(?:\.\d+)?)/);if(n)return Number.parseFloat(n[1])}}catch{}}}catch{}return null}function ir(e){try{let t=Dt()?.EditorOption?.lineHeight;if(t!=null){let n=(e?.getOption)?.call(e,t);if(typeof n==`number`&&n>0)return n}}catch{}let t=nr();if(t&&t>0)return t;let n=Number.isFinite(K.value)&&K.value>0?K.value:14;return Math.max(12,Math.round(1.35*n))}function ar(){let e=v.codeBlockOptions?.padding;return typeof e==`number`&&Number.isFinite(e)?2*Math.max(0,e):z.value?24:0}function or(e){return!!Je.value||!!e&&($(e)||jt!=null)}function sr(){z.value?Ht.value=Ee(String(v.node.originalCode??``),String(v.node.updatedCode??``)):Ht.value={removed:0,added:0}}function cr(){if(Number.isFinite(K.value)&&K.value>0&&Number.isFinite(G.value))return K.value;if(typeof v.codeBlockOptions?.fontSize==`number`)return G.value=v.codeBlockOptions.fontSize,K.value=v.codeBlockOptions.fontSize,v.codeBlockOptions.fontSize;let e=rr();return e&&e>0?(G.value=e,K.value=e,e):(G.value=12,K.value=12,12)}function lr(){let e=cr(),t=Math.min(36,e+1);K.value=t}function ur(){let e=cr(),t=Math.max(10,e-1);K.value=t}function dr(){cr(),Number.isFinite(G.value)&&(K.value=G.value)}function fr(){var e,t,n,r,i;try{let a=z.value?L():null,o=z.value?a:I();if(!o)return null;if(a?.getOriginalEditor&&a?.getModifiedEditor){let i=a.getOriginalEditor?.call(a),o=a.getModifiedEditor?.call(a);(e=i?.layout)==null||e.call(i),(t=o?.layout)==null||t.call(o);let s=(i?.getContentHeight)?.call(i)||0,c=(o?.getContentHeight)?.call(o)||0,l=Math.max(s,c);if(l>0)return Math.ceil(l);let u=((n=(i?.getModel)?.call(i))?.getLineCount)?.call(n)||1,d=((r=(o?.getModel)?.call(o))?.getLineCount)?.call(r)||1,f=Math.max(u,d),p=Math.max(ir(i),ir(o)),ee=ar();return Math.ceil(f*p+ee+0)}if(o?.getContentHeight){(i=o?.layout)==null||i.call(o);let e=o.getContentHeight();if(e>0)return z.value||(an.value=!0),Math.ceil(e)}let s=(o?.getModel)?.call(o),c=1;s&&typeof s.getLineCount==`function`&&(c=s.getLineCount());let l=ir(o);return Math.ceil(c*(l+1.5)+0)}catch{return null}}function pr(){var e;if(z.value)return!1;try{let t=((e=I())?.getContentHeight)?.call(e),n=typeof t==`number`&&Number.isFinite(t)&&t>0;return n&&(an.value=!0),n}catch{return!1}}function mr(e){if(typeof window>`u`)return null;try{if(window.getComputedStyle(e).display===`none`)return null;let t=e.querySelector(`diffs-container`);if(t instanceof HTMLElement){let e=t.getBoundingClientRect();if(e.height>0)return Math.ceil(e.height)}let n=e.querySelector(`.stream-diffs-shell`);if(n){let e=n.getBoundingClientRect();if(e.height>0)return Math.ceil(e.height)}return null}catch{return null}}function hr(e){let t=String(e??``).trim(),n=t.match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i)?.[1];if(n){let e=n.length===3?n.split(``).map(e=>`${e}${e}`).join(``):n;return .2126*Number.parseInt(e.slice(0,2),16)+.7152*Number.parseInt(e.slice(2,4),16)+.0722*Number.parseInt(e.slice(4,6),16)}let r=t.match(/\d+(?:\.\d+)?/g);if(!r||r.length<3)return null;let[i,a,o]=r.slice(0,3).map(Number);return .2126*i+.7152*a+.0722*o}function gr(){var e;if(_r())return;let t=rr();t&&t>0&&(Sn.value=t,K.value=t,G.value=t);try{let t=ir(z.value?((e=L())?.getModifiedEditor)?.call(e)??L():I());t&&t>0&&(Cn.value=t)}catch{}try{let e=nr();e&&e>0&&(Cn.value=e)}catch{}}function _r(){return z.value&&hn.value}function vr(){if(!mn.value)return null;let e=C.value,t=w.value?.querySelector(`pre.code-pre-fallback`);if(!e||!t)return null;let n=Math.ceil(t.getBoundingClientRect().height),r=z.value?mr(e):null,i=Math.max(n,r!=null&&r>0?Math.ceil(r):0),a=Math.ceil(zr()),o=Math.min(i,a);return!Number.isFinite(o)||o<=0?null:(z.value&&o>n&&(Tn.value=o),e.style.height=`${o}px`,e.style.minHeight=`${o}px`,e.style.maxHeight=`${a}px`,e.style.overflow=i>a+1?`auto`:`hidden`,o)}function yr(){let e=C.value,t=w.value;if(!e||!t)return;let n=e;n.style.setProperty(`--markstream-diff-metadata-bg`,B.value.background),n.style.setProperty(`--markstream-diff-metadata-fg`,B.value.lineNumber),n.style.setProperty(`--diffs-tab-size`,String(An.value)),n.style.setProperty(`--diffs-scrollbar-gutter-override`,`0px`),typeof v.codeBlockOptions?.padding==`number`?n.style.setProperty(`--diffs-gap-block`,`${jn.value.top}px`):n.style.removeProperty(`--diffs-gap-block`);let r=e.querySelector(`.stream-diffs-shell`)||e,i=r,a=r,o=null,s=null,c=null;try{typeof window<`u`&&typeof window.getComputedStyle==`function`&&(o=window.getComputedStyle(r),s=i===r?o:window.getComputedStyle(i),c=a===r?o:window.getComputedStyle(a))}catch{o=null,s=null,c=null}let l=String(o?.getPropertyValue(`--vscode-editor-foreground`)??``).trim(),u=String(o?.getPropertyValue(`--vscode-editor-background`)??``).trim(),d=String(o?.getPropertyValue(`--vscode-editor-selectionBackground`)??o?.getPropertyValue(`--vscode-editor-hoverHighlightBackground`)??``).trim(),f=l||String(c?.color??o?.color??``).trim(),p=u||String(s?.backgroundColor??o?.backgroundColor??``).trim(),ee=function(){var e;try{let t=z.value?((e=L())?.getModifiedEditor)?.call(e)??L():I(),n=Dt()?.EditorOption?.fontInfo;if(t&&n!=null){let e=t.getOption?.call(t,n)?.typicalHalfwidthCharacterWidth;if(typeof e==`number`&&Number.isFinite(e)&&e>0)return e}}catch{}return null}();if(ee!=null&&(wn.value=ee),z.value){let e=(e,r)=>{r?(t.style.setProperty(e,r),n.style.setProperty(e,r)):(t.style.removeProperty(e),n.style.removeProperty(e))};for(let[n,r]of Object.entries(Wn(t.classList.contains(`is-dark`))))e(n,r);f?(t.style.setProperty(`--markstream-diff-editor-fg`,f),n.style.setProperty(`--vscode-editor-foreground`,f)):(t.style.removeProperty(`--markstream-diff-editor-fg`),n.style.removeProperty(`--vscode-editor-foreground`)),p?(t.style.setProperty(`--markstream-diff-editor-bg`,p),t.style.setProperty(`--markstream-diff-panel-bg`,p),t.style.setProperty(`--markstream-diff-panel-bg-soft`,p),t.style.setProperty(`--markstream-diff-panel-bg-strong`,p),n.style.setProperty(`--vscode-editor-background`,p),n.style.backgroundColor=p):(t.style.removeProperty(`--markstream-diff-editor-bg`),t.style.removeProperty(`--markstream-diff-panel-bg`),t.style.removeProperty(`--markstream-diff-panel-bg-soft`),t.style.removeProperty(`--markstream-diff-panel-bg-strong`),n.style.removeProperty(`--vscode-editor-background`),n.style.backgroundColor=``),d?n.style.setProperty(`--vscode-editor-selectionBackground`,d):n.style.removeProperty(`--vscode-editor-selectionBackground`)}else{if(function(e,t,n){if(!Je.value)return!1;let r=hr(e),i=hr(t);return n?r!=null&&r>170||i!=null&&i<110:r!=null&&r<85||i!=null&&i>190}(p,f,t.classList.contains(`is-dark`)))return n.style.removeProperty(`--vscode-editor-foreground`),n.style.removeProperty(`--vscode-editor-background`),void n.style.removeProperty(`--vscode-editor-selectionBackground`);f&&n.style.setProperty(`--vscode-editor-foreground`,f),p&&n.style.setProperty(`--vscode-editor-background`,p),d&&n.style.setProperty(`--vscode-editor-selectionBackground`,d)}}y(()=>[v.stream,v.loading,v.node.loading,z.value],([e,t,n,r])=>{r||!1===e||!1===t||In.value?(r||!1===e)&&In.value&&(In.value=!1):(In.value=!0,Yn())},{immediate:!0});let br=0,xr=0,Sr=/auto|scroll|overlay/i;function J(e,t,n){if(typeof window>`u`||z.value||function(e){return pn.value||fn(e)}(e))return;let r=Math.ceil(n)-Math.ceil(t);if(Math.abs(r)<=1)return;let i=function(e){if(typeof window>`u`)return null;let t=e?.ownerDocument??document,n=t.scrollingElement||t.documentElement||t.body,r=e?.parentElement??null;for(;r&&r!==t.body&&r!==n;){let e=window.getComputedStyle(r),t=(e.overflowY||``).toLowerCase(),n=(e.overflow||``).toLowerCase();if(Sr.test(t)||Sr.test(n))return r;r=r.parentElement}return n}(e);if(!i)return;let a=e.ownerDocument??document,o=i===a.body||i===a.documentElement||i===a.scrollingElement,s=o?0:i.getBoundingClientRect().top;e.getBoundingClientRect().top-s>=0||(o&&typeof window.scrollBy==`function`?window.scrollBy(0,r):i.scrollTop+=r)}function Cr(){try{let e=C.value;if(!e)return;let t=e.getBoundingClientRect().height,n=fr();if(n!=null&&n>0){let r=tr(n,!0,{allowBelowEstimatedFloor:!z.value&&M.value&&pr()}),i=Hn();e.style.minHeight=i==null?`0px`:`${i}px`,e.style.height=`${r}px`,e.style.maxHeight=`none`,e.style.overflow=`visible`,J(e,t,r);return}let r=Hn();r!=null&&(e.style.minHeight=`${r}px`,e.style.height=`${r}px`,e.style.maxHeight=`none`,e.style.overflow=`visible`,J(e,t,r))}catch{}}function wr(){for(var e,t;Rt.length>0;)try{(t=(e=Rt.pop())?.dispose)==null||t.call(e)}catch{}ot!=null&&(Ie(ot),ot=null),st!=null&&(Ie(st),st=null),ct!=null&&(Ie(ct),ct=null),lt=0,ut=!1}function Tr(){for(var e;zt.length>0;)try{(e=zt.pop())==null||e()}catch{}}function Y(e=!1){k.value||(Ye.value?Cr():function(e={}){try{let t=C.value;if(!t)return;let n=t.getBoundingClientRect().height,r=Math.ceil(n||0),i=zr(),a=r,o=Number.parseFloat(t.style.height||``),s=a>0?a:Number.isFinite(o)&&o>0?Math.ceil(o):0,c=z.value?function(){var e,t;if($())return null;try{let n=L(),r=(n?.getOriginalEditor)?.call(n),i=(n?.getModifiedEditor)?.call(n);if(!r||!i)return null;let a=((e=r.getModel?.call(r))?.getLineCount)?.call(e)||1,o=((t=i.getModel?.call(i))?.getLineCount)?.call(t)||1,s=Math.max(a,o),c=Math.max(ir(r),ir(i)),l=ar(),u=Math.max(r.getContentHeight?.call(r)??0,i.getContentHeight?.call(i)??0);return Math.ceil(Math.max(u,s*c+l+0))}catch{return null}}():null,l=z.value&&jr(t);if(pt>0&&(pt--,ft.value!=null))return void J(t,n,Or(t,ft.value,i,{preserveScrollableOverflow:Ar(t)}));if(z.value&&!l&&mn.value){let e=vr();if(e!=null){let r=Or(t,e,i,{allowBelowEstimatedFloor:!0});X(!0),J(t,n,r);return}}let u=z.value&&!0===e.preferModelDiffHeight,d=z.value?mr(t):null,f=!z.value&&M.value&&pr(),p=z.value&&!1!==v.loading&&(d!=null||c!=null&&a>0&&c<a-1),ee=c!=null,m;if(z.value){if(u){let e=c!=null&&!1===v.loading&&s>0&&c<s-1;m=!1===v.loading&&d!=null?c==null?d:Math.max(d,c):e?c:d!=null&&c!=null?Math.max(d,c,!1===v.loading?0:s):Math.max(d??0,c??0,!1===v.loading?0:s)||null}else m=un.value&&d!=null||d!=null?ee?Math.max(d,c):d:z.value&&!1!==v.loading?c!=null&&s>0&&c<s-1?c:s>0?s:null:c}else m=fr();if(z.value&&m!=null&&s>0&&(!1!==v.loading||!0===e.holdCurrentDiffHeight)&&(m=Math.max(m,s)),m!=null&&m>0)return void J(t,n,Or(t,m,i,{clearEstimatedFloor:!0,allowBelowEstimatedFloor:f||p,preserveScrollableOverflow:Ar(t),renderedStreamingDiffHeight:d}));if(ft.value!=null)return void J(t,n,Or(t,ft.value,i,{preserveScrollableOverflow:Ar(t)}));let h=z.value&&!1!==v.loading?a:Math.max(a,c!=null&&c>0?c:0);if(h>0)return void J(t,n,Or(t,h,i));let g=Hn();if(!(g==null||z.value&&!1!==v.loading&&l))return void J(t,n,Or(t,g,i));let te=Number.parseFloat(t.style.height);!Number.isNaN(te)&&te>0?J(t,n,Or(t,te,i)):z.value||J(t,n,Or(t,i,i))}catch{}}(typeof e==`object`?e:{}))}function Er(){br=0,xr=0}function X(e=!1){if(k.value)return;let t=C.value;if(!t)return;let n=z.value?L():I();if(n&&typeof n.layout==`function`)try{let r=t.getBoundingClientRect?.call(t),i=Math.ceil((r?.width??0)||t.clientWidth||0),a=Math.ceil((r?.height??0)||t.clientHeight||Number.parseFloat(t.style.height||``)||0);if(i>0&&a>0){if(!e&&i===br&&a===xr)return;br=i,xr=a,n.layout({width:i,height:a})}else Er(),n.layout()}catch{}}function Z(){Tr()}function Q(e=!1){if(N||ot!=null)return;let t=()=>{N||(Z(),Y(e),X())};ot=x(()=>{ot=null,t(),st=x(()=>{st=null,t()})}),Dr()}function Dr(e=!1){if(!z.value||N||!e&&!1===v.loading||(ut||=e,lt=Math.max(lt,e?18:6),ct!=null))return;let t=()=>{if(ct=null,!z.value||N||lt<=0||!ut&&!1===v.loading)return lt=0,void(ut=!1);lt--,Z(),Y({preferModelDiffHeight:!0,holdCurrentDiffHeight:ut}),X(),lt>0?ct=x(t):ut=!1};ct=x(t)}function Or(e,t,n,r={}){var i;let a=z.value&&!1!==v.loading,o=`renderedStreamingDiffHeight`in r?a&&(i=r.renderedStreamingDiffHeight)!=null?i:null:a?mr(e):null,s=o!=null&&o>t+1?o:t,c=Math.min(s,n),l=!0===r.allowBelowEstimatedFloor,u=tr(c,!0===r.clearEstimatedFloor,{allowBelowEstimatedFloor:l}),d=Hn();e.style.minHeight=d==null||l?`0px`:`${Math.min(d,Math.ceil(n))}px`,e.style.height=`${u}px`,e.style.maxHeight=`${Math.ceil(n)}px`;let f=!0===r.preserveScrollableOverflow||s>n+1||kr(e,u);return e.style.overflow=f?`auto`:`hidden`,u}function kr(e,t=0){let n=Math.ceil(e.getBoundingClientRect?.call(e).height||0),r=Math.max(t,e.clientHeight||0,n);return r>0&&e.scrollHeight>r+1}function Ar(e){return mt||kr(e,ft.value??0)}function jr(e=C.value){return $(e)}function Mr(e=C.value){return $(e)}function Nr(){var e;if($())return!0;let t=((e=I())?.getModel)?.call(e);return typeof t?.getValue==`function`&&t.getValue()===W.value}function $(e=C.value){return!!e?.querySelector(`diffs-container`)}function Pr(){return!1!==v.loading||H.value}function Fr(){let e=L();return typeof e?.getOriginalEditor==`function`||typeof e?.getModifiedEditor==`function`||typeof e?.getLineChanges==`function`}function Ir(){return D(this,null,function*(){if(!z.value)return!0;for(let e=0;e<30;e++){if(N)return!1;if($())return yield _(),yield q(),!N&&$();yield _(),yield q()}return!1})}let Lr=``;function Rr(e,t,n){return D(this,null,function*(){let r=`${e}\0${t}\0${n}`;if(Lr!==r){try{yield wt(e,t,n),Lr=r;return}catch(e){if(!Kt(e))throw e}if(yield _(),yield q(),!N&&z.value)try{yield wt(e,t,n),Lr=r}catch(e){if(!Kt(e))throw e}}})}function zr(){return v.codeBlockOptions?.maxHeight??500}let Br=g(()=>v.isShowPreview&&(T.value===`html`||T.value===`svg`));function Vr(){return typeof v.node.loading==`boolean`?v.node.loading:!0===v.loading}function Hr(e,t,n){return!n||function(){if(!Vr())return!0;let e=String(v.node.raw??``),t=e.split(/\r\n|\n|\r/,1)[0]?.trimStart()??``;return!/^(?:`{3,}|~{3,})/.test(t)||/\r\n|\n|\r/.test(e)}()&&String(t??``)?ue(String(e??``)):`plain`}function Ur(){return Vr()}let Wr=null,Gr=!1,Kr=0;function qr(){Wr=null,Kr++}function Jr(){return D(this,arguments,function*(e=Kr){if(!Gr){Gr=!0;try{for(;Wr&&!N&&!z.value&&e===Kr;){let e=Wr;Wr=null;try{yield Promise.resolve(Ct(e.code,e.language)),yield _(),N||z.value||(Y(!1),X())}catch{}}}finally{Gr=!1,!Wr||N||z.value||Jr()}}})}function Yr(e,t){Wr={code:e,language:t},Jr(Kr)}y(()=>[v.node.language,v.node.code,v.node.raw,v.node.loading,v.loading],([e,t,n,r,i])=>{T.value=Hr(e,t,typeof r==`boolean`?r:!0===i)}),y(()=>[v.node.originalCode,v.node.updatedCode,z.value],()=>{x(()=>sr())},{immediate:!0});let Xr=0;y(()=>[v.node.originalCode,v.node.updatedCode,O.value,z.value,v.stream],e=>D(null,[e],function*([,,,e,t]){let n=++Xr;if(!e||Vr()||!1===t&&!A.value)return;if(!1!==t&&F&&!A.value&&C.value)try{yield ci(C.value)}catch{}let r=Mt;if(r&&!j.value){try{yield r}catch{}if(N||!z.value||n!==Xr)return}if(n!==Xr)return;let i=Wt(String(v.node.originalCode??``),String(v.node.updatedCode??``)),a=!1===v.loading;a&&_i();try{if(yield Rr(i.original,i.updated,O.value),N||!z.value||n!==Xr)return;yield _(),X(!0),Z(),Y(!1===v.loading||{preferModelDiffHeight:!0}),X(!0),Q(!0)}catch{return}if(a){if(N||!z.value)return;qt(),Z(),sr(),Q(),Dr(!0)}Ye.value&&x(()=>Cr())})),y(()=>v.node.code,e=>D(null,null,function*(){if(Vr()||!1===v.stream||(T.value||=ue(Pt(e)),z.value))return;let t=Mt;if(t&&!j.value){try{yield t}catch{}if(N||z.value)return}if(F&&!A.value&&C.value)try{yield ci(C.value)}catch{}Yr(Gt(v.node.code),O.value),Ye.value&&x(()=>Cr())}));let Zr=g(()=>{let e=T.value;return e?pe[e]||e.charAt(0).toUpperCase()+e.slice(1):pe[``]||`Plain Text`}),Qr=g(()=>ge(String(v.node.raw??``),Zr.value,z.value)),$r=g(()=>Qr.value.title),ei=g(()=>Qr.value.caption),ti=g(()=>(le.value,Pe(T.value||``,ze))),ni=g(()=>{let e={};e[`--markstream-code-layout-character-width`]=wn.value==null?`1ch`:`${wn.value}px`,e[`--markstream-code-fallback-bg`]=B.value.background,e[`--markstream-code-fallback-fg`]=B.value.foreground,B.value.builtin&&(e[`--markstream-code-theme-bg`]=B.value.background,e[`--markstream-code-theme-fg`]=B.value.foreground,e[`--markstream-code-theme-line-number`]=B.value.lineNumber),e[`--markstream-diff-added-line-fill`]=B.value.diffAddedLine,e[`--markstream-diff-added-number-fill`]=B.value.diffAddedNumber,e[`--markstream-diff-editor-bg`]=B.value.background,e[`--markstream-diff-removed-line-fill`]=B.value.diffRemovedLine,e[`--markstream-diff-removed-number-fill`]=B.value.diffRemovedNumber,e[`--markstream-diff-shell-bg`]=B.value.background,e[`--markstream-pre-resolved-theme-bg`]=B.value.background,e[`--markstream-pre-resolved-theme-fg`]=B.value.foreground,e[`--markstream-pre-resolved-theme-line-number`]=B.value.lineNumber;let t=e=>{if(e!=null)return typeof e==`number`?`${e}px`:String(e)},n=t(v.minWidth),r=t(v.maxWidth);if(n&&(e.minWidth=n),r&&(e.maxWidth=r),Kn.value&&!z.value&&!k.value){let t=qn.value;t!=null&&(e.minHeight=`${t}px`)}return e.color=`var(--markstream-code-fallback-fg, var(--markstream-code-theme-fg, var(--markstream-pre-resolved-theme-fg)))`,e.backgroundColor=`var(--markstream-code-fallback-bg, var(--markstream-code-theme-bg, var(--markstream-pre-resolved-theme-bg)))`,z.value||(e.borderColor=`var(--markstream-code-border-color, var(--code-border))`),e}),ri=g(()=>!1!==v.showTooltips);function ii(){return D(this,null,function*(){let e=v.node.code;try{v.clipboardWriter?yield v.clipboardWriter(e):typeof navigator<`u`&&navigator.clipboard&&typeof navigator.clipboard.writeText==`function`&&(yield navigator.clipboard.writeText(e)),Ge.value=!0,de(`copy`,e),setTimeout(()=>{Ge.value=!1},1e3)}catch(e){console.error(`复制失败:`,e)}})}function ai(){Ye.value=!Ye.value;let e=z.value?L():I(),t=C.value;e&&t&&(Ye.value?(t.style.maxHeight=`none`,t.style.overflow=`visible`,Y(!0)):(t.style.overflow=`auto`,Y(!0)))}function oi(){var e;if(k.value=!k.value,k.value){if(mt=!1,C.value){let t=Math.ceil((e=C.value).getBoundingClientRect?.call(e).height||0);mt=kr(C.value,t)||C.value.style.overflow===`auto`||C.value.style.overflowY===`auto`,t>0&&(ft.value=t)}}else C.value&&ft.value!=null&&(C.value.style.height=`${ft.value}px`),pt=2,_(()=>{k.value||N||(Y(!0),X(!0))})}function si(){if(!Br.value)return;let e=T.value;if(Ue.value){let t=e===`html`?`text/html`:`image/svg+xml`,n=e===`html`?We(`artifacts.htmlPreviewTitle`)||`HTML Preview`:We(`artifacts.svgPreviewTitle`)||`SVG Preview`;de(`previewCode`,{node:v.node,artifactType:t,artifactTitle:n,id:`temp-${e}-${Date.now()}`})}else e===`html`&&(yn.value=!yn.value)}function ci(e,t={}){if(!F||N||!1===v.stream&&!1!==v.loading||(Ci(),wi())||V.value||C.value!==e||Ur())return null;if(R)return R;if(A.value&&M.value)return Promise.resolve();let n=xi(),r=nn.value,i=!1;A.value=!0,function(){let e=Be.value;S&&e&&dt!==e&&(dt&&S.markSettled(dt),dt=e,S.markPending(e))}();let a=D(null,null,function*(){try{yield function(e){return D(this,null,function*(){var t;if(!F||N)return;at=!1;let n=Qt.value;if(ln=!1,U.value=!1,tn.value=null,j.value=!1,H.value=!1,en.value=!1,Sn.value=null,Cn.value=null,wn.value=null,Tn.value=null,Er(),function(){if(an.value=!1,Ln())return void(Vn.value=null);let e=zn.value;Vn.value=M.value||e==null?null:e}(),wr(),Tr(),function(e){e.replaceChildren()}(e),_i(),yield _e(hi()),N)return;let r=D(null,null,function*(){if(n===`diff`){(function(){if(It||typeof window>`u`)return;It=!0;let e=e=>{Kt(`reason`in e?e.reason:e.error??e.message)&&(e.preventDefault(),e.stopImmediatePropagation())};window.addEventListener(`error`,e,!0),window.addEventListener(`unhandledrejection`,e,!0),Lt=()=>{window.removeEventListener(`error`,e,!0),window.removeEventListener(`unhandledrejection`,e,!0),It=!1,Lt=null}})(),kt();let t=Wt(String(v.node.originalCode??``),String(v.node.updatedCode??``));St?yield St(e,t.original,t.updated,O.value):yield F(e,v.node.code,O.value)}else yield F(e,W.value,O.value);j.value=!0}).finally(()=>{Mt===r&&(Mt=null)});if(Mt=r,yield function(e){return D(this,null,function*(){if(!z.value)return void(yield e);let t,n=!1;for(e.then(()=>{n=!0},e=>{n=!0,t=e});;){if(N)return;if(n){if(t)throw t;return}if(jr()&&Fr())return;yield _(),yield q()}})}(r),N||Qt.value!==n)return;j.value=!0;let i=v.codeBlockOptions?.fontSize;if(typeof i==`number`&&Number.isFinite(i)&&i>0){let e=n===`diff`?L():I();(t=e?.updateOptions)==null||t.call(e,{fontSize:i}),G.value=i,K.value=i}else if(!_r()){let e=rr();e&&e>0?(G.value=e,K.value=e):(G.value=12,K.value=12)}for(gr();at;)if(at=!1,yield mi(),N)return;Ye.value||k.value||Y(!1),M.value=!0,$t.value=n,function(){if(wr(),z.value){let e=L(),t=(e?.getOriginalEditor)?.call(e),n=(e?.getModifiedEditor)?.call(e),r=(e,t)=>{try{let n=e?.[t];if(typeof n!=`function`)return;let r=n.call(e,()=>Q());r&&Rt.push(r)}catch{}};try{let t=(e?.onDidUpdateDiff)?.call(e,()=>{Q(),x(()=>sr())});t&&Rt.push(t)}catch{}r(t,`onDidContentSizeChange`),r(n,`onDidContentSizeChange`);let i=C.value;if(i&&typeof MutationObserver<`u`){let e=`diffs-container,.stream-diffs-shell,.stream-diffs-surface`,t=t=>{let n=t instanceof HTMLElement?t:t.parentElement;return!!(n?.closest)?.call(n,e)},n=t=>{let n=t instanceof HTMLElement?t:t.parentElement;return!!((n?.closest)?.call(n,e)||(n?.querySelector)?.call(n,e))},r=new MutationObserver(e=>{z.value&&Pr()&&e.some(e=>t(e.target)||Array.from(e.addedNodes).some(n)||Array.from(e.removedNodes).some(t))&&(Z(),Y({preferModelDiffHeight:!0}),X(),Dr())});r.observe(i,{attributeFilter:[`class`],attributes:!0,childList:!0,characterData:!0,subtree:!0}),Rt.push({dispose:()=>r.disconnect()})}if(i&&typeof ResizeObserver<`u`){let e=new ResizeObserver(()=>{if(!z.value||(X(),!Pr()))return;let e=mr(i);e!=null&&(Math.ceil(i.getBoundingClientRect().height||0)<=e+1||(Z(),Y({preferModelDiffHeight:!0}),X()))});e.observe(i),Rt.push({dispose:()=>e.disconnect()})}return}let e=I();try{let t=(e?.onDidContentSizeChange)?.call(e,()=>Q());t&&Rt.push(t)}catch{}try{let t=(e?.onDidLayoutChange)?.call(e,()=>Q());t&&Rt.push(t)}catch{}}(),yr(),gr(),Z(),sr(),Q(),yield _();let a=null;jt&&(a=yield jt(),a&&(yield _(),yield q()));let o=a??(n===`diff`?yield Ir():yield function(){return D(this,null,function*(){if($())return yield _(),yield q(),$();for(let e=0;e<30;e++){if(N||z.value)return!1;let e=C.value,t=Nr(),n=Mr(e),r=!W.value.trim()||or(e);if(t&&n&&r&&(yield _(),yield q(),!N&&!z.value&&Nr()&&Mr(C.value)&&(!W.value.trim()||or(C.value))))return!0;yield _(),yield q()}return!1})}());N||(o?(gr(),er(),(yield Zn())||Ti()):Ti())})}(e),on=null}catch(e){let a=xi(),o=r!==nn.value,s=!1!==t.allowStaleContentRetry&&o&&on!==a;if(n!==a||s)return s&&(on=a),i=!0,A.value=!1,M.value=!1,j.value=!1,void(H.value=!1);throw Ti(n),e}}).finally(()=>{R===a&&(R=null),function(){let e=dt;S&&e&&(dt=``,_(()=>{if(!N){let t=w.value?.offsetHeight??0;t>0&&S.reportHeight(e,t)}S.markSettled(e)}))}(),i&&!N&&queueMicrotask(()=>{var e;let t=C.value;t&&!N&&((e=ci(t))==null||e.catch(e=>{M.value=!1,H.value=!1,Ti()}))})});return R=a,a}y(ri,e=>{e||je()}),y(()=>K.value,(e,t)=>{var n;let r=z.value?L():I();r&&typeof e==`number`&&Number.isFinite(e)&&e>0&&((n=r.updateOptions)==null||n.call(r,{fontSize:e}),k.value||Y(!0))},{flush:`post`,immediate:!1});let li=0,ui=y(()=>[C.value,z.value,v.stream,v.loading,it.value,P.value,v.node.language,v.node.raw,v.node.code,v.node.loading],e=>D(null,[e],function*([e,t,n,r,i,a]){let o=++li;if(!e||!a||Vr()||sn||!1===n&&!1!==r||!F&&(yield function(){return D(this,null,function*(){if(typeof window>`u`||N||it.value||V.value)return;if(Nt)return Nt;let e=D(null,null,function*(){try{let e=yield He();if(N)return;if(!e)return void(V.value=!0);xn(e)}catch{if(N)return;V.value=!0}}).finally(()=>{Nt===e&&(Nt=null)});return Nt=e,e})}(),o!==li||!1===v.stream&&!1!==v.loading||Ur()||!P.value||!F||V.value||A.value||wi()||N||C.value!==e)||Ur())return;let s=ci(e);if(s){try{yield s}catch{M.value=!1,H.value=!1,Ti()}M.value&&H.value&&ui()}}));function di(e){return typeof e==`string`?e:null}function fi(e,t){if(e===t)return!0;let n=di(e),r=di(t);return!!n&&n===r}function pi(){return we({darkTheme:v.darkTheme,isDark:v.isDark,lightTheme:v.lightTheme,theme:v.theme,themes:v.themes})}function mi(){return D(this,arguments,function*(e={}){_i();let t=()=>{z.value&&qt(),x(()=>{yr(),Q()})};if(e.appearanceOnly)return void t();let n=pi();if(n)try{yield _e(hi()),yield Ft(n),t()}catch{}else t()})}function hi(){let e=v.themes;return e&&typeof e[0]==`string`&&typeof e[1]==`string`?{dark:e[0],light:e[1]}:pi()}function gi(){let e=Mn.value,t=qe(E({},Jt.value||{}),{wordWrap:e.overflow===`wrap`?`on`:`off`,overflow:e.overflow,themes:v.themes,stream:!1,MAX_HEIGHT:v.codeBlockOptions?.maxHeight??500,fontSize:Dn.value,lineHeight:kn.value,theme:pi(),themeType:v.isDark?`dark`:`light`,disableLineNumbers:!Ae.value,disableFileHeader:!0,workerManager:Jt.value?.workerManager??he()??void 0,onThemeChange(){yr()}}),n=function(){let e=Jt.value?.fontFamily;return typeof e==`string`&&e.trim()?e.trim():z.value?function(){if(typeof window>`u`)return;let e=w.value?.querySelector(`pre.code-pre-fallback`);if(e)return window.getComputedStyle(e).fontFamily.trim()||void 0}():void 0}();n&&(t.fontFamily??=n);let r=typeof t.unsafeCSS==`string`?t.unsafeCSS:``;return t.unsafeCSS=be(e.overflow,r),t}function _i(){let e=gi();if(!Bt)return Bt=e,Bt;for(let t of Object.keys(Bt))t in e||delete Bt[t];return Object.assign(Bt,e),Bt}y(Qt,(e,t)=>D(null,null,function*(){if(e===t||U.value||sn||(qr(),!F||!C.value)||!A.value||!1===v.stream&&!1!==v.loading||!P.value)return;let n=R;if(n){try{yield n}catch{}if(N||!C.value)return}if($t.value!==e||!A.value||!M.value)try{M.value=!1,H.value=!1,A.value=!1,j.value=!1,wr(),Tr(),kt(),yield _(),yield ci(C.value)}catch{M.value=!1,H.value=!1,Ti()}}));let vi=b(0),yi=g(()=>String(vi.value)),bi=!1;function xi(){let e=pi();return JSON.stringify({kind:Qt.value,language:O.value,structural:yi.value,optionsRevision:vi.value,settledContentGeneration:rn.value,theme:di(e)??(e==null?null:`custom`),isDark:v.isDark})}y(()=>v.codeBlockOptions?.fontSize,e=>{let t=typeof e==`number`&&Number.isFinite(e)&&e>0?e:12;G.value=t,K.value=t,Sn.value=null,Cn.value=null,wn.value=null}),y(()=>[v.codeBlockOptions,v.showLineNumbers],()=>{vi.value+=1,!1===v.stream&&!1!==v.loading&&(bi=!0)},{deep:!0}),y(()=>[W.value,v.node.originalCode,v.node.updatedCode],()=>{nn.value+=1,Vr()||(rn.value+=1)});let Si=g(()=>xi());function Ci(){U.value&&tn.value!==Si.value&&(U.value=!1,tn.value=null,on=null,cn=null,A.value=!1,M.value=!1,j.value=!1,H.value=!1,en.value=!1)}function wi(){return Ci(),U.value&&tn.value===Si.value}function Ti(e=Si.value){tn.value=e,U.value=!0,en.value=!1}return y(Si,()=>D(null,null,function*(){if(sn||!U.value||tn.value===Si.value||!F||!C.value||V.value||N||!P.value||!1===v.stream&&!1!==v.loading||Ur())return;let e=Si.value;sn=!0;try{if(Ci(),U.value)return;yield ci(C.value)}catch{M.value=!1,H.value=!1,Ti()}finally{cn=e,yield _(),sn=!1}})),y(()=>[v.codeBlockOptions,P.value],()=>{var e;if(_i(),!F||!P.value)return;let t=z.value?L():I(),n=typeof v.codeBlockOptions?.fontSize==`number`?v.codeBlockOptions.fontSize:Number.isFinite(K.value)?K.value:void 0;typeof n==`number`&&Number.isFinite(n)&&n>0&&((e=t?.updateOptions)==null||e.call(t,{fontSize:n})),Y(!1)},{deep:!0}),y(()=>[pi(),Xt.value,it.value,A.value,P.value],([e,t],n)=>{if(!it.value||!P.value)return;let r=n!=null&&fi(e,n[0]),i=n!=null&&t!==n[1];M.value?(at=!1,mi({appearanceOnly:r})):r&&!i||(at=!0)},{flush:`post`}),y(()=>[yi.value,it.value,P.value],(e,t)=>D(null,[e,t],function*([e,t,n],[r]){if(_i(),!t||!n||!F||!C.value||!A.value||e===r)return;if(!1===v.stream&&!1!==v.loading)return void(bi=!0);bi=!1;let i=R;if(i){try{yield i}catch{}if(N||!C.value)return}try{M.value=!1,H.value=!1,A.value=!1,j.value=!1,wr(),Tr(),kt(),Vt&&xn(Vt),yield _(),yield ci(C.value,{allowStaleContentRetry:!1})}catch{M.value=!1,H.value=!1,Ti()}}),{flush:`post`}),y(()=>[v.loading,P.value],([e,t])=>{!1===e&&t&&bi&&(bi=!1,vi.value+=1)},{flush:`post`}),y(()=>[v.loading,P.value],(e,t)=>D(null,[e,t],function*([e,t],n){if(!t)return;let r=n?.[0];if(!1===r&&!1!==e&&z.value&&A.value&&(yield _(),x(()=>{D(null,null,function*(){let e=R;if(e)try{yield e}catch{}!N&&z.value&&!1!==v.loading&&(_i(),qt(),Q())})})),e)return;let i=r!==void 0&&!1!==r;yield _(),x(()=>{D(null,null,function*(){try{if(i&&(yield function(){return D(this,null,function*(){if(!U.value||!F||!C.value||V.value||N||!P.value)return!1;if(cn===Si.value)return!0;sn=!0;try{U.value=!1,tn.value=null,on=null,A.value=!1,M.value=!1,j.value=!1,H.value=!1,wr(),Tr(),kt(),Vt&&xn(Vt),yield _();try{yield ci(C.value)}catch{M.value=!1,H.value=!1,Ti()}}finally{yield _(),sn=!1}return!0})}()))return void Y(!1);if(i&&z.value&&A.value&&ln&&C.value)return ln=!1,M.value=!1,H.value=!1,A.value=!1,j.value=!1,wr(),Tr(),kt(),yield _(),yield ci(C.value,{allowStaleContentRetry:!1}),void Dr(!0);if(i&&A.value){if(z.value&&C.value){let e=R;if(e)try{yield e}catch{}_i();let t=Wt(String(v.node.originalCode??``),String(v.node.updatedCode??``));if(yield Rr(t.original,t.updated,O.value),N||!z.value)return;yield Promise.resolve(Et()),qt(),X(!0),Xn(),Z(),sr();let n=yield Ir();N||!n||H.value||(yield Zn()),Q(),Dr(!0)}else qr(),Yr(W.value,O.value),yield new Promise(e=>{let t=()=>{N?e():Gr||Wr?setTimeout(t,16):e()};t()}),N||z.value||(yield Promise.resolve(Tt()))}i&&z.value?(Y({preferModelDiffHeight:!0,holdCurrentDiffHeight:!0}),Dr(!0)):Y(!1)}catch{}})})}),{immediate:!0,flush:`post`}),i(()=>{wr(),Tr(),Ot(),Lt?.()}),(t,n)=>{var i;return V.value?(s(),d(Fe,{key:0,style:ae(Gn.value),node:bn.value,loading:v.loading,"show-line-numbers":Ae.value,"diff-inline":un.value,"diff-hide-unchanged-regions":dn.value,"code-block-options":v.codeBlockOptions,"resolved-visual-options":Mn.value,"reserved-height-px":z.value&&(i=Tn.value)!=null?i:void 0,"is-dark":v.isDark,theme:v.theme,"dark-theme":v.darkTheme,"light-theme":v.lightTheme,themes:v.themes,"show-header":v.showHeader,"show-copy-button":v.showCopyButton,"clipboard-writer":v.clipboardWriter,"show-tooltips":v.showTooltips,onCopy:n[0]||=e=>de(`copy`,e)},p({_:2},[t.$slots[`header-left`]?{name:`header-left`,fn:u(()=>[r(t.$slots,`header-left`,{},void 0,!0)]),key:`0`}:void 0,t.$slots[`header-right`]?{name:`header-right`,fn:u(()=>[r(t.$slots,`header-right`,{},void 0,!0)]),key:`1`}:void 0]),1032,[`style`,`node`,`loading`,`show-line-numbers`,`diff-inline`,`diff-hide-unchanged-regions`,`code-block-options`,`resolved-visual-options`,`reserved-height-px`,`is-dark`,`theme`,`dark-theme`,`light-theme`,`themes`,`show-header`,`show-copy-button`,`clipboard-writer`,`show-tooltips`])):(s(),se(`div`,{key:1,ref_key:`container`,ref:w,style:ae(ni.value),class:f([`code-block-container rounded-lg border`,[{dark:v.isDark,"is-rendering":v.loading,"is-dark":Zt.value,"is-diff":z.value,"is-plain-text":Je.value}]]),"data-markstream-code-block":`1`,"data-markstream-enhanced":H.value&&!V.value?`true`:`false`,"data-markstream-enhancement-state":vn.value,"data-markstream-code-block-state":Vr()?`streaming`:`settled`,"data-markstream-pending":_n.value?`true`:void 0,"data-markstream-viewport-pending":xt.value&&te(_t)&&!P.value?`true`:void 0},[e(Ne,{"show-header":v.showHeader,"show-collapse-button":v.showCollapseButton,"show-font-size-buttons":v.showFontSizeButtons,"enable-font-size-control":v.enableFontSizeControl,"show-copy-button":v.showCopyButton,"show-expand-button":v.showExpandButton,"show-preview-button":v.showPreviewButton,"show-tooltips":v.showTooltips,"is-dark":v.isDark,loading:v.loading,stream:c.stream,"is-collapsed":k.value,"is-expanded":Ye.value,"copy-text":Ge.value,"is-previewable":Br.value,"code-font-size":K.value,"code-font-min":10,"code-font-max":36,"default-code-font-size":G.value,"font-baseline-ready":En.value,"diff-stats":z.value?Ht.value:null,"diff-stats-aria-label":Ut.value,onToggleCollapse:oi,onDecreaseFont:ur,onResetFont:dr,onIncreaseFont:lr,onCopy:ii,onToggleExpand:ai,onPreview:si},p({"header-left":u(()=>[r(t.$slots,`header-left`,{},()=>[h(`div`,Qe,[h(`span`,{class:`icon-slot h-4 w-4 flex-shrink-0`,innerHTML:ti.value},null,8,$e),h(`div`,et,[h(`div`,tt,ee($r.value),1),ei.value?(s(),se(`div`,nt,ee(ei.value),1)):oe(``,!0)])])],!0)]),loading:u(()=>[r(t.$slots,`loading`,{loading:c.loading,stream:c.stream},()=>[n[1]||=h(`div`,{class:`loading-skeleton`},[h(`div`,{class:`skeleton-line`}),h(`div`,{class:`skeleton-line`}),h(`div`,{class:`skeleton-line short`})],-1)],!0)]),default:u(()=>{var e;return[l(h(`div`,{class:f([`code-editor-layer`,{"code-editor-layer--collapsed":k.value}])},[h(`div`,{ref_key:`codeEditor`,ref:C,class:f([`code-editor-container`,c.stream?``:`code-height-placeholder`]),"data-markstream-host-hidden":gn.value?`true`:void 0,style:ae(Jn.value)},null,14,rt),hn.value?(s(),d(Fe,{key:0,style:ae(Gn.value),node:bn.value,loading:v.loading,"show-line-numbers":Ae.value,"diff-inline":un.value,"diff-hide-unchanged-regions":dn.value,"code-block-options":v.codeBlockOptions,"resolved-visual-options":Mn.value,"reserved-height-px":z.value&&(e=Tn.value)!=null?e:void 0,"is-dark":v.isDark,theme:v.theme,"dark-theme":v.darkTheme,"light-theme":v.lightTheme,themes:v.themes,"show-toolbar":!1},null,8,[`style`,`node`,`loading`,`show-line-numbers`,`diff-inline`,`diff-hide-unchanged-regions`,`code-block-options`,`resolved-visual-options`,`reserved-height-px`,`is-dark`,`theme`,`dark-theme`,`light-theme`,`themes`])):oe(``,!0)],2),[[re,!!c.stream||!c.loading]]),yn.value&&!Ue.value&&Br.value&&T.value===`html`?(s(),d(Xe,{key:0,code:v.node.code,"html-preview-allow-scripts":v.htmlPreviewAllowScripts,"html-preview-sandbox":v.htmlPreviewSandbox,"is-dark":v.isDark,"on-close":()=>yn.value=!1},null,8,[`code`,`html-preview-allow-scripts`,`html-preview-sandbox`,`is-dark`,`on-close`])):oe(``,!0)]}),_:2},[t.$slots[`header-right`]?{name:`header-right`,fn:u(()=>[r(t.$slots,`header-right`,{},void 0,!0)]),key:`0`}:void 0]),1032,[`show-header`,`show-collapse-button`,`show-font-size-buttons`,`enable-font-size-control`,`show-copy-button`,`show-expand-button`,`show-preview-button`,`show-tooltips`,`is-dark`,`loading`,`stream`,`is-collapsed`,`is-expanded`,`copy-text`,`is-previewable`,`code-font-size`,`default-code-font-size`,`font-baseline-ready`,`diff-stats`,`diff-stats-aria-label`])],14,Ze))}}}),[[`__scopeId`,`data-v-f293a87c`]]);export{A as default};
@@ -1 +0,0 @@
1
- .conversation-search[data-v-c9855449]{padding:12px;overflow:auto}form[data-v-c9855449]{gap:6px;display:flex}input[data-v-c9855449]{width:100%;min-width:0}.result[data-v-c9855449]{text-align:left;width:100%;margin:8px 0;display:block}
@@ -1 +0,0 @@
1
- import{I as e,R as t,T as n,V as r,X as i,c as a,ct as o,d as s,f as c,g as l,q as u,tt as d,v as f,y as p}from"./vue.runtime.esm-bundler-4XjPOHMM.js";import{p as m}from"./index-DV5BdS_U.js";var h={class:`conversation-search`},g=[`disabled`],_={key:0,role:`alert`},v={key:1},y={key:2},b=[`onClick`],x=[`disabled`],S=m(n({__name:`ConversationSearch`,props:{base:{},api:{type:Function}},emits:[`jump`],setup(n,{emit:m}){let S=n,C=m,w=d(``),T=d(``),E=d(!1),D=d(!1),O=d([]),k=d(null),A=d(``),j=0,M=``;e(()=>j++);function N(){j++,O.value=[],k.value=null,D.value=!1,E.value=!1,T.value=``}u(w,N),u(()=>S.base,()=>{w.value=``,N()});async function P(e=!1){if(E.value||!w.value.trim())return;let t=++j;e||(O.value=[],k.value=null,M=w.value.trim()),E.value=!0,T.value=``;try{let n=await S.api(S.base+`/search?q=`+encodeURIComponent(M)+(e&&k.value!==null?`&cursor=`+k.value:``));if(t!==j)return;if(e&&A.value!==n.epoch)throw Error(`Conversation changed. Search again.`);A.value=n.epoch,O.value=[...new Map((e?[...O.value,...n.locations]:n.locations).map(e=>[e.seq,e])).values()],k.value=n.nextCursor,D.value=!0}catch(e){t===j&&(T.value=e.message)}finally{t===j&&(E.value=!1)}}return(e,n)=>(t(),p(`section`,h,[n[3]||=l(`p`,null,`Search user and agent messages across the full conversation history. Select a result to read it in context.`,-1),l(`form`,{onSubmit:n[1]||=s(e=>P(!1),[`prevent`])},[i(l(`input`,{"onUpdate:modelValue":n[0]||=e=>w.value=e,type:`search`,maxlength:`500`,"aria-label":`Search conversation content`,placeholder:`Search all messages…`},null,512),[[a,w.value]]),l(`button`,{class:`btn`,disabled:E.value||!w.value.trim()},`Search`,8,g)],32),T.value?(t(),p(`p`,_,o(T.value),1)):f(``,!0),D.value&&!O.value.length&&!E.value?(t(),p(`p`,v,`No matching messages.`)):f(``,!0),E.value?(t(),p(`p`,y,`Searching…`)):f(``,!0),(t(!0),p(c,null,r(O.value,e=>(t(),p(`button`,{key:e.seq,class:`btn result`,onClick:t=>C(`jump`,e.seq,A.value)},o(e.role===`assistant`?`Agent reply`:`Your message`)+` · #`+o(e.seq)+o(e.count?` · ${e.count} matches`:``)+` →`,9,b))),128)),k.value===null?f(``,!0):(t(),p(`button`,{key:3,class:`btn`,disabled:E.value,onClick:n[2]||=e=>P(!0)},`More results`,8,x))]))}}),[[`__scopeId`,`data-v-c9855449`]]);export{S as default};
@@ -1,2 +0,0 @@
1
- import{C as e,N as t,R as n,S as r,T as i,W as a,_ as o,ct as s,f as ee,g as c,h as l,it as u,j as d,q as f,st as p,tt as m,v as h,y as g}from"./vue.runtime.esm-bundler-4XjPOHMM.js";import{a as _,d as te,i as v,l as y,m as b,p as x,u as S}from"./index-DV5BdS_U.js";import{n as C,t as ne}from"./highlight-BnTrj1LT.js";var re={class:`file-view`},ie={class:`file-bar`},ae=[`title`],w={key:0,class:`file-bar-meta`},T=[`title`],E=[`title`],D={key:0,class:`timeline-empty`},O={key:1,class:`file-error`},oe=[`src`,`alt`],se={key:0,class:`file-link-notice`,role:`status`},ce={key:2,class:`file-text wrap`},le={class:`code-wrap`},ue={class:`code-gutter`,"aria-hidden":`true`},de=[`innerHTML`],k={key:2,class:`file-text`},A={key:0,class:`file-note`},j={key:5,class:`file-note`},M=x(i({__name:`FileViewer`,props:{hostId:{},cwd:{},path:{},api:{type:Function},session:{},jump:{},view:{},viewKey:{}},emits:[`open`,`reveal`,`view`],setup(i,{emit:x}){let M=i,N=x,P=m(null),F=m(``),I=m(!1),L=m(M.view?.rendered??!0),R=l(()=>`/hosts/${encodeURIComponent(M.hostId)}/fs`),z=l(()=>`cwd=${encodeURIComponent(M.cwd)}&path=${encodeURIComponent(M.path)}`),B=l(()=>/\.(png|jpe?g|webp|gif|bmp|avif)$/i.test(M.path)),V=l(()=>/\.(md|markdown|mdx)$/i.test(M.path)&&P.value?.text!==void 0);async function H(){I.value=!0,F.value=``;try{P.value=await M.api(`${R.value}/read?${z.value}`),V.value&&v()}catch(e){F.value=e.message}finally{I.value=!1}}f(()=>[M.hostId,M.cwd,M.path],H,{immediate:!0});let U=l(()=>M.path.startsWith(`/`)||M.path.startsWith(`~`)?M.path:`${M.cwd.replace(/\/$/,``)}/${M.path}`),fe=l(()=>{let e=P.value?.text??``;if(!M.session)return e;let t=U.value.slice(0,U.value.lastIndexOf(`/`))||`/`,n={session:M.session,cwd:t,workspace:M.cwd};return te(S(e,{...n,rawBase:`/api${R.value}`}),n)}),W=m(``),G;function K(e){W.value=e,clearTimeout(G),G=setTimeout(()=>W.value=``,4e3)}function pe(e){let t=e.target?.closest?.(`a`),n=y(t?.getAttribute(`href`));if(n){if(n.kind===`copy`){e.preventDefault();let t=()=>K(`Can't open this here. Path: ${n.path}`);navigator.clipboard?navigator.clipboard.writeText(n.path).then(()=>K(`Copied path: ${n.path}`),t):t()}else e.ctrlKey||e.metaKey||e.shiftKey||e.altKey||(e.preventDefault(),n.kind===`reveal`?N(`reveal`,n.path):N(`open`,n.path,n))}}let q=m(null),J=m(M.view?.mark??null),Y=M.view?.jumped??0,X=!1,Z=l(()=>{let e=P.value?.text??``,t=1;for(let n=0;n<e.length;n++)e.charCodeAt(n)===10&&t++;return t});f([()=>M.jump?.seq,()=>P.value],async()=>{if(!P.value)return;let e=M.jump;if(e&&e.seq!==Y&&P.value.text!==void 0){Y=e.seq,X=!0,/\.(md|markdown|mdx)$/i.test(M.path)&&(L.value=!1),await d();let t=q.value?.querySelector(`.code-gutter`);if(!q.value||!t)return;let n=getComputedStyle(t),r=parseFloat(n.lineHeight)||20,i=Math.min(e.line,Z.value),a=Math.min(Math.max(e.end??i,i),Z.value);J.value={top:parseFloat(n.paddingTop)+(i-1)*r,height:(a-i+1)*r},q.value.scrollTop=Math.max(0,J.value.top-q.value.clientHeight/3);return}if(X)return;X=!0;let t=M.view?.scrollTop??0;t&&(await d(),q.value&&(q.value.scrollTop=t),requestAnimationFrame(()=>{q.value&&q.value.scrollTop<t&&(q.value.scrollTop=t)}))},{immediate:!0}),t(()=>{M.viewKey&&N(`view`,M.viewKey,{rendered:L.value,scrollTop:q.value?.scrollTop??0,mark:J.value,jumped:Y})});let me=l(()=>`/api${R.value}/raw?${z.value}`),he=l(()=>Array.from({length:Z.value},(e,t)=>t+1).join(`
2
- `)),Q=l(()=>P.value?.text===void 0?null:ne(P.value.text,C(M.path))),ge=e=>e<1024?`${e} B`:e<1048576?`${(e/1024).toFixed(1)} KB`:`${(e/1024/1024).toFixed(1)} MB`,$=m(!1);async function _e(){await navigator.clipboard?.writeText(U.value).catch(()=>{}),$.value=!0,setTimeout(()=>$.value=!1,1200)}return(t,l)=>(n(),g(`div`,re,[c(`div`,ie,[e(b,{name:`file`,size:14,class:`file-bar-icon`}),c(`span`,{class:`file-bar-path`,title:i.path},s(i.path),9,ae),P.value?(n(),g(`span`,w,s(ge(P.value.size)),1)):h(``,!0),V.value?(n(),g(`button`,{key:1,class:`icon-btn`,title:L.value?`Show source`:`Show rendered`,onClick:l[0]||=e=>L.value=!L.value},[e(b,{name:L.value?`terminal`:`eye`,size:14},null,8,[`name`])],8,T)):h(``,!0),c(`button`,{class:`icon-btn`,title:`Reload`,"aria-label":`Reload file`,onClick:H},[e(b,{name:`refresh`,size:14})]),c(`button`,{class:`icon-btn`,title:$.value?`Copied`:`Copy path`,"aria-label":`Copy path`,onClick:_e},[e(b,{name:$.value?`check`:`copy`,size:14},null,8,[`name`])],8,E)]),c(`div`,{ref_key:`body`,ref:q,class:`file-body`},[I.value&&!P.value?(n(),g(`div`,D,[...l[1]||=[c(`span`,{class:`spinner`},null,-1)]])):F.value?(n(),g(`p`,O,[e(b,{name:`alert`,size:13}),r(s(F.value),1)])):B.value?(n(),g(`img`,{key:2,src:me.value,alt:i.path,class:`file-image`},null,8,oe)):V.value&&L.value?(n(),g(`div`,{key:3,class:`file-markdown`,onClick:pe},[W.value?(n(),g(`p`,se,s(W.value),1)):h(``,!0),u(_)?(n(),o(a(u(_)),{key:1,content:fe.value,final:!0},null,8,[`content`])):(n(),g(`pre`,ce,s(P.value?.text),1))])):P.value?.text===void 0?P.value?(n(),g(`p`,j,s(P.value.mime||P.value.kind)+` · not shown as text`,1)):h(``,!0):(n(),g(ee,{key:4},[c(`div`,le,[J.value?(n(),g(`div`,{key:0,class:`line-mark`,style:p({top:J.value.top+`px`,height:J.value.height+`px`}),"aria-hidden":`true`},null,4)):h(``,!0),c(`pre`,ue,s(he.value),1),Q.value===null?(n(),g(`pre`,k,s(P.value.text),1)):(n(),g(`pre`,{key:1,class:`file-text hljs`,innerHTML:Q.value},null,8,de))]),P.value.truncated?(n(),g(`p`,A,`Showing the first 1 MB.`)):h(``,!0)],64))],512)]))}}),[[`__scopeId`,`data-v-b6228f15`]]);export{M as default};