nuxt-email-renderer 2.2.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/dist/client/200.html +1 -1
  2. package/dist/client/404.html +1 -1
  3. package/dist/client/_nuxt/{OctAxTSL.js → 2tRuyRz6.js} +1 -1
  4. package/dist/client/_nuxt/5X7smno1.js +1 -0
  5. package/dist/client/_nuxt/{Cp2bjttb.js → 83L43bj1.js} +1 -1
  6. package/dist/client/_nuxt/B7c-h3xW.js +1 -0
  7. package/dist/client/_nuxt/{1DNp92w6.js → B93PlW-d.js} +1 -1
  8. package/dist/client/_nuxt/BBf5iR-q.js +1 -0
  9. package/dist/client/_nuxt/BGHnOYBU.js +1 -0
  10. package/dist/client/_nuxt/BH7IYjvW.js +1 -0
  11. package/dist/client/_nuxt/BJDFO7_C.js +1 -0
  12. package/dist/client/_nuxt/{Xi2tawMN.js → BLmx8bSh.js} +1 -1
  13. package/dist/client/_nuxt/{DlfHMoPT.js → BPQ3VLAy.js} +1 -1
  14. package/dist/client/_nuxt/{BBGuKPBd.js → BR5kRUq4.js} +1 -1
  15. package/dist/client/_nuxt/BTifaqeh.js +1 -0
  16. package/dist/client/_nuxt/BUw7H-hv.js +1 -0
  17. package/dist/client/_nuxt/{DRprw4p4.js → BVQ-GDCI.js} +1 -1
  18. package/dist/client/_nuxt/{BbQj0Z2C.js → BYV0-3_D.js} +1 -1
  19. package/dist/client/_nuxt/BZvkOJ9d.js +1 -0
  20. package/dist/client/_nuxt/Ba13S78F.js +1 -0
  21. package/dist/client/_nuxt/BcVCzyr7.js +1 -0
  22. package/dist/client/_nuxt/BhRPY-oY.js +1 -0
  23. package/dist/client/_nuxt/{uMbE6_td.js → Bhrxn6JZ.js} +1 -1
  24. package/dist/client/_nuxt/Bmn6On1c.js +1 -0
  25. package/dist/client/_nuxt/{BIAuTxu3.js → Br6cN0cg.js} +1 -1
  26. package/dist/client/_nuxt/{CUEJCptM.js → BrzmwbiE.js} +1 -1
  27. package/dist/client/_nuxt/{D32k8WzR.js → BtvRca6l.js} +1 -1
  28. package/dist/client/_nuxt/BuoEiOhd.js +53 -0
  29. package/dist/client/_nuxt/Bv_4Rxtq.js +1 -0
  30. package/dist/client/_nuxt/BvzEVeQv.js +1 -0
  31. package/dist/client/_nuxt/BxgE0vQu.js +1 -0
  32. package/dist/client/_nuxt/{COI20M4I.js → BzTr9Aqm.js} +1 -1
  33. package/dist/client/_nuxt/{CXu1NL6O.js → C-HG3fhB.js} +1 -1
  34. package/dist/client/_nuxt/C-sUppwS.js +1 -0
  35. package/dist/client/_nuxt/C3Wv6jpd.js +1 -0
  36. package/dist/client/_nuxt/C47S-Tmv.js +1 -0
  37. package/dist/client/_nuxt/C4EeE6gA.js +1 -0
  38. package/dist/client/_nuxt/{C-Jbm3Hp.js → C4gqWexZ.js} +1 -1
  39. package/dist/client/_nuxt/{DTMYz4Jt.js → C5YyOfLZ.js} +1 -1
  40. package/dist/client/_nuxt/C7zT0LnQ.js +1 -0
  41. package/dist/client/_nuxt/C9dUb6Cb.js +1 -0
  42. package/dist/client/_nuxt/{DS1LvVMU.js → C9oPPf7i.js} +1 -1
  43. package/dist/client/_nuxt/{D1uDOp7C.js → CFHQjOhq.js} +1 -1
  44. package/dist/client/_nuxt/{Dtc2v4kS.js → CGscLIrv.js} +1 -1
  45. package/dist/client/_nuxt/{DKzvysjW.js → CH1njM8p.js} +1 -1
  46. package/dist/client/_nuxt/CLZrNe3w.js +1 -0
  47. package/dist/client/_nuxt/CMTm3GFP.js +1 -0
  48. package/dist/client/_nuxt/CMjwMIkn.js +1 -0
  49. package/dist/client/_nuxt/COcwbKMJ.js +1 -0
  50. package/dist/client/_nuxt/CQ8jqdy-.js +1 -0
  51. package/dist/client/_nuxt/{CcyOm34o.js → CVdnzihN.js} +1 -1
  52. package/dist/client/_nuxt/CW8IKDeL.js +1 -0
  53. package/dist/client/_nuxt/{pkIJ47B4.js → CXZktZb0.js} +1 -1
  54. package/dist/client/_nuxt/CYsAdtH9.js +1 -0
  55. package/dist/client/_nuxt/{BUyGWigt.js → CZhp0h8q.js} +1 -1
  56. package/dist/client/_nuxt/{oTG82Wo1.js → CenWIFCC.js} +1 -1
  57. package/dist/client/_nuxt/CjoLj4QM.js +1 -0
  58. package/dist/client/_nuxt/{BtsDLbAf.js → Cl0AqbOI.js} +1 -1
  59. package/dist/client/_nuxt/{DUSGQflk.js → Cm3UrAx6.js} +1 -1
  60. package/dist/client/_nuxt/{BGHREFWD.js → CmIQRyeF.js} +1 -1
  61. package/dist/client/_nuxt/{f7oK2omx.js → Cn7AkR1O.js} +1 -1
  62. package/dist/client/_nuxt/{JhPuU2gP.js → CnnebwVN.js} +1 -1
  63. package/dist/client/_nuxt/CnsnAmq5.js +1 -0
  64. package/dist/client/_nuxt/CoDkCxhg.js +1 -0
  65. package/dist/client/_nuxt/{B-hkwWGT.js → CpOuai2O.js} +1 -1
  66. package/dist/client/_nuxt/{BDzgwa52.js → CufHLc7y.js} +1 -1
  67. package/dist/client/_nuxt/CwoSXNpI.js +1 -0
  68. package/dist/client/_nuxt/CxLEBnE3.js +1 -0
  69. package/dist/client/_nuxt/{DNrj_gVY.js → CxbxFI8M.js} +1 -1
  70. package/dist/client/_nuxt/{NleAzG8P.js → D4_iv3hh.js} +1 -1
  71. package/dist/client/_nuxt/D53aC0YG.js +1 -0
  72. package/dist/client/_nuxt/D87Tk5Gz.js +1 -0
  73. package/dist/client/_nuxt/D8_7TLub.js +1 -0
  74. package/dist/client/_nuxt/{uijQiXVx.js → DDWDunuf.js} +1 -1
  75. package/dist/client/_nuxt/DEthMvLe.js +1 -0
  76. package/dist/client/_nuxt/DFWUc33u.js +1 -0
  77. package/dist/client/_nuxt/{5bLW0GMw.js → DGP4VlC8.js} +1 -1
  78. package/dist/client/_nuxt/{CnK8MTSM.js → DHQR4-dF.js} +1 -1
  79. package/dist/client/_nuxt/DJjDtW9f.js +1 -0
  80. package/dist/client/_nuxt/DMwsHuHA.js +1 -0
  81. package/dist/client/_nuxt/{B5ZR69Tn.js → DQwYQDb2.js} +1 -1
  82. package/dist/client/_nuxt/DQyhUUbL.js +1 -0
  83. package/dist/client/_nuxt/{DPcUKYIF.js → DRw_LuNl.js} +1 -1
  84. package/dist/client/_nuxt/DV7GczEv.js +1 -0
  85. package/dist/client/_nuxt/DYoxhk2S.js +1 -0
  86. package/dist/client/_nuxt/DZf3V79B.js +1 -0
  87. package/dist/client/_nuxt/{BPzJO5Oe.js → DZu-aV2c.js} +1 -1
  88. package/dist/client/_nuxt/{Cdx7mHEO.js → DhmSosst.js} +1 -1
  89. package/dist/client/_nuxt/{CA7CTBwS.js → Dph4kLrZ.js} +1 -1
  90. package/dist/client/_nuxt/DqQDbK_p.js +1 -0
  91. package/dist/client/_nuxt/Dspwwk_N.js +1 -0
  92. package/dist/client/_nuxt/DsumFeuD.js +1 -0
  93. package/dist/client/_nuxt/{D7ScPSBf.js → DxNHbxmM.js} +1 -1
  94. package/dist/client/_nuxt/{CLvts2aQ.js → DxSwrfjg.js} +1 -1
  95. package/dist/client/_nuxt/{COEtLSDF.js → Dzze3sRP.js} +1 -1
  96. package/dist/client/_nuxt/{DkhsQLT2.js → GsRaNv29.js} +1 -1
  97. package/dist/client/_nuxt/IF9eRakj.js +1 -0
  98. package/dist/client/_nuxt/{Cb0HU5_O.js → RNghxpo_.js} +1 -1
  99. package/dist/client/_nuxt/{B8ROHVmM.js → TsXTqZ29.js} +1 -1
  100. package/dist/client/_nuxt/VCDPK7BO.js +1 -0
  101. package/dist/client/_nuxt/{CU27uY9n.js → W9tJ9s81.js} +1 -1
  102. package/dist/client/_nuxt/{DeWFVDHI.js → YqXBG_HV.js} +1 -1
  103. package/dist/client/_nuxt/builds/latest.json +1 -1
  104. package/dist/client/_nuxt/builds/meta/568aba2d-003d-4680-977b-9584b7b85406.json +1 -0
  105. package/dist/client/_nuxt/{entry.UxnbISu-.css → entry.B1LMZcFd.css} +1 -1
  106. package/dist/client/_nuxt/error-404.C8vuFzCq.css +1 -0
  107. package/dist/client/_nuxt/error-500.DJdvoZMd.css +1 -0
  108. package/dist/client/_nuxt/{DrZfEa88.js → fKv21gyL.js} +1 -1
  109. package/dist/client/_nuxt/{CGqH5EJj.js → hJgmCMqR.js} +1 -1
  110. package/dist/client/_nuxt/{BoKiGodi.js → k_qm7-4y.js} +1 -1
  111. package/dist/client/_nuxt/{IvJ92aGK.js → m17aaUwq.js} +1 -1
  112. package/dist/client/_nuxt/mWjccvbQ.js +1 -0
  113. package/dist/client/_nuxt/{BXY8tDGw.js → mjskCLCv.js} +1 -1
  114. package/dist/client/_nuxt/n2N0HUVH.js +1 -0
  115. package/dist/client/_nuxt/{BHrmToEH.js → qdsjHGoJ.js} +1 -1
  116. package/dist/client/_nuxt/{BbcW6ACK.js → rGO070M0.js} +1 -1
  117. package/dist/client/_nuxt/u5AG7uiY.js +1 -0
  118. package/dist/client/_nuxt/uYugtg8r.js +1 -0
  119. package/dist/client/_nuxt/{BMMyXqK5.js → wDzz0qaB.js} +1 -1
  120. package/dist/client/index.html +1 -1
  121. package/dist/module.json +1 -1
  122. package/package.json +1 -1
  123. package/dist/client/_nuxt/6nHXG8SA.js +0 -1
  124. package/dist/client/_nuxt/A0BVE2cA.js +0 -52
  125. package/dist/client/_nuxt/BBxmzUt6.js +0 -1
  126. package/dist/client/_nuxt/BE2KfCdU.js +0 -1
  127. package/dist/client/_nuxt/BQvybpQq.js +0 -1
  128. package/dist/client/_nuxt/BU7Cl-8B.js +0 -1
  129. package/dist/client/_nuxt/BepWV7mh.js +0 -1
  130. package/dist/client/_nuxt/Bl2oy6fF.js +0 -1
  131. package/dist/client/_nuxt/BvAqAH-y.js +0 -1
  132. package/dist/client/_nuxt/C7Pw0Ztw.js +0 -1
  133. package/dist/client/_nuxt/C8-UwF3o.js +0 -1
  134. package/dist/client/_nuxt/CHadp7IV.js +0 -1
  135. package/dist/client/_nuxt/CHh-QcGE.js +0 -1
  136. package/dist/client/_nuxt/CIUZ1G5V.js +0 -1
  137. package/dist/client/_nuxt/CTWiQX6C.js +0 -1
  138. package/dist/client/_nuxt/CZlF05X6.js +0 -1
  139. package/dist/client/_nuxt/CfeIJUat.js +0 -1
  140. package/dist/client/_nuxt/ChH_ziBE.js +0 -1
  141. package/dist/client/_nuxt/Cv9koXgw.js +0 -1
  142. package/dist/client/_nuxt/D08WgyRC.js +0 -1
  143. package/dist/client/_nuxt/D22FLkUw.js +0 -1
  144. package/dist/client/_nuxt/D2CYqzqI.js +0 -1
  145. package/dist/client/_nuxt/DKYwYmdq.js +0 -1
  146. package/dist/client/_nuxt/DMDPKkZ0.js +0 -1
  147. package/dist/client/_nuxt/DNEoBllO.js +0 -1
  148. package/dist/client/_nuxt/Df68jz8_.js +0 -1
  149. package/dist/client/_nuxt/DiinP2Uv.js +0 -1
  150. package/dist/client/_nuxt/DljmTZ5-.js +0 -1
  151. package/dist/client/_nuxt/Dn2_MT6a.js +0 -1
  152. package/dist/client/_nuxt/Don94nLk.js +0 -1
  153. package/dist/client/_nuxt/Dr8Zlu6v.js +0 -1
  154. package/dist/client/_nuxt/Drp5UXmf.js +0 -1
  155. package/dist/client/_nuxt/DyJlTyXw.js +0 -1
  156. package/dist/client/_nuxt/Jep7L2Wt.js +0 -1
  157. package/dist/client/_nuxt/NBseiqgx.js +0 -1
  158. package/dist/client/_nuxt/PoHY5YXO.js +0 -1
  159. package/dist/client/_nuxt/SdwduGaY.js +0 -1
  160. package/dist/client/_nuxt/UInuXPgp.js +0 -1
  161. package/dist/client/_nuxt/builds/meta/7e8897a9-0b59-41de-9417-e82523ea995e.json +0 -1
  162. package/dist/client/_nuxt/dglhsJpM.js +0 -1
  163. package/dist/client/_nuxt/error-404.DipglWnt.css +0 -1
  164. package/dist/client/_nuxt/error-500.B-gpWPps.css +0 -1
  165. package/dist/client/_nuxt/qliWkHmV.js +0 -1
@@ -1,52 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./D7ScPSBf.js","./JhPuU2gP.js","./BMMyXqK5.js","./DPfMkruS.js","./BtsDLbAf.js","./2EtD6e53.js","./f7oK2omx.js","./BGJmEYvX.js","./CylS5w8V.js","./Cp-IABpG.js","./CLvts2aQ.js","./DlfHMoPT.js","./CXtECtnM.js","./COt5Ahok.js","./UInuXPgp.js","./5bLW0GMw.js","./BLtJtn59.js","./CquLrc37.js","./DVxCFoDh.js","./CO1LY3CK.js","./B6aJPvgy.js","./BbQj0Z2C.js","./DNrj_gVY.js","./Bp3cYrEr.js","./CDVJQ6XC.js","./DZxFcAj9.js","./BIGW1oBm.js","./DrZfEa88.js","./Yzrsuije.js","./BPzJO5Oe.js","./B-hkwWGT.js","./CeZK1NFH.js","./Dtc2v4kS.js","./uMbE6_td.js","./BGHREFWD.js","./DS1LvVMU.js","./g9-lgVsj.js","./BE2KfCdU.js","./Buea-lGh.js","./CuPHTKiy.js","./Cvjx9yec.js","./CZlF05X6.js","./D22FLkUw.js","./Don94nLk.js","./oTG82Wo1.js","./DkwncUOv.js","./DTMYz4Jt.js","./CxGSJlkm.js","./D97Zzqfu.js","./CSXwinHm.js","./DeWFVDHI.js","./BBGuKPBd.js","./CTWiQX6C.js","./IvJ92aGK.js","./BDzgwa52.js","./DWrx1Km3.js","./CzTSHFRz.js","./pkIJ47B4.js","./BIAuTxu3.js","./CU27uY9n.js","./DiinP2Uv.js","./SdwduGaY.js","./BQvybpQq.js","./BXY8tDGw.js","./Cp2bjttb.js","./B1dDrJ26.js","./B8ROHVmM.js","./CA7CTBwS.js","./Cdx7mHEO.js","./COI20M4I.js","./C8-UwF3o.js","./Xi2tawMN.js","./DRprw4p4.js","./dglhsJpM.js","./CHadp7IV.js","./B5ZR69Tn.js","./D1j8_8rp.js","./CG8Ifv2g.js","./BqTXFGrv.js","./D3lLCCz7.js","./Cq5zzVJU.js","./COEtLSDF.js","./BRZ36xJF.js","./BsS91CYL.js","./DM8c43g1.js","./DMDPKkZ0.js","./BUyGWigt.js","./Dn2_MT6a.js","./DUSGQflk.js","./Cb0HU5_O.js","./BU7Cl-8B.js","./Dr8Zlu6v.js","./Drp5UXmf.js","./BEDo0Tqx.js","./yv6CvBhz.js","./OctAxTSL.js","./n57rOy2v.js","./error-404.DipglWnt.css","./uijQiXVx.js","./error-500.B-gpWPps.css"])))=>i.map(i=>d[i]);
2
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/**
3
- * @vue/shared v3.5.21
4
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
- * @license MIT
6
- **/function Cs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ee={},Nn=[],It=()=>{},oc=()=>!1,Pr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ks=e=>e.startsWith("onUpdate:"),Qe=Object.assign,Ls=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},sd=Object.prototype.hasOwnProperty,_e=(e,t)=>sd.call(e,t),re=Array.isArray,Mn=e=>Cr(e)==="[object Map]",Yn=e=>Cr(e)==="[object Set]",ba=e=>Cr(e)==="[object Date]",ae=e=>typeof e=="function",ke=e=>typeof e=="string",Tt=e=>typeof e=="symbol",Se=e=>e!==null&&typeof e=="object",xs=e=>(Se(e)||ae(e))&&ae(e.then)&&ae(e.catch),ic=Object.prototype.toString,Cr=e=>ic.call(e),ad=e=>Cr(e).slice(8,-1),sc=e=>Cr(e)==="[object Object]",Os=e=>ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Vn=Cs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zo=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ld=/-\w/g,vt=zo(e=>e.replace(ld,t=>t.slice(1).toUpperCase())),cd=/\B([A-Z])/g,En=zo(e=>e.replace(cd,"-$1").toLowerCase()),Go=zo(e=>e.charAt(0).toUpperCase()+e.slice(1)),mi=zo(e=>e?`on${Go(e)}`:""),Qt=(e,t)=>!Object.is(e,t),Zr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ac=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},co=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ud=e=>{const t=ke(e)?Number(e):NaN;return isNaN(t)?e:t};let wa;const Wo=()=>wa||(wa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _n(e){if(re(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ke(r)?hd(r):_n(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(ke(e)||Se(e))return e}const fd=/;(?![^(]*\))/g,dd=/:([^]+)/,pd=/\/\*[^]*?\*\//g;function hd(e){const t={};return e.replace(pd,"").split(fd).forEach(n=>{if(n){const r=n.split(dd);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ue(e){let t="";if(ke(e))t=e;else if(re(e))for(let n=0;n<e.length;n++){const r=Ue(e[n]);r&&(t+=r+" ")}else if(Se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function md(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ke(t)&&(e.class=Ue(t)),n&&(e.style=_n(n)),e}const gd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_d=Cs(gd);function lc(e){return!!e||e===""}function yd(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=yn(e[r],t[r]);return n}function yn(e,t){if(e===t)return!0;let n=ba(e),r=ba(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Tt(e),r=Tt(t),n||r)return e===t;if(n=re(e),r=re(t),n||r)return n&&r?yd(e,t):!1;if(n=Se(e),r=Se(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const a=e.hasOwnProperty(s),l=t.hasOwnProperty(s);if(a&&!l||!a&&l||!yn(e[s],t[s]))return!1}}return String(e)===String(t)}function Is(e,t){return e.findIndex(n=>yn(n,t))}const cc=e=>!!(e&&e.__v_isRef===!0),Rt=e=>ke(e)?e:e==null?"":re(e)||Se(e)&&(e.toString===ic||!ae(e.toString))?cc(e)?Rt(e.value):JSON.stringify(e,uc,2):String(e),uc=(e,t)=>cc(t)?uc(e,t.value):Mn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[gi(r,i)+" =>"]=o,n),{})}:Yn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>gi(n))}:Tt(t)?gi(t):Se(t)&&!re(t)&&!sc(t)?String(t):t,gi=(e,t="")=>{var n;return Tt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7
- * @vue/reactivity v3.5.21
8
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
9
- * @license MIT
10
- **/let Ke;class fc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ke,!t&&Ke&&(this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ke;try{return Ke=this,t()}finally{Ke=n}}}on(){++this._on===1&&(this.prevScope=Ke,Ke=this)}off(){this._on>0&&--this._on===0&&(Ke=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function vd(e){return new fc(e)}function kr(){return Ke}function Ds(e,t=!1){Ke&&Ke.cleanups.push(e)}let Ae;const _i=new WeakSet;class dc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ke&&Ke.active&&Ke.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,_i.has(this)&&(_i.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||hc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ea(this),mc(this);const t=Ae,n=Et;Ae=this,Et=!0;try{return this.fn()}finally{gc(this),Ae=t,Et=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Vs(t);this.deps=this.depsTail=void 0,Ea(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?_i.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ui(this)&&this.run()}get dirty(){return Ui(this)}}let pc=0,ur,fr;function hc(e,t=!1){if(e.flags|=8,t){e.next=fr,fr=e;return}e.next=ur,ur=e}function Ns(){pc++}function Ms(){if(--pc>0)return;if(fr){let t=fr;for(fr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ur;){let t=ur;for(ur=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function mc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function gc(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Vs(r),bd(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Ui(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(_c(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function _c(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===yr)||(e.globalVersion=yr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ui(e))))return;e.flags|=2;const t=e.dep,n=Ae,r=Et;Ae=e,Et=!0;try{mc(e);const o=e.fn(e._value);(t.version===0||Qt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ae=n,Et=r,gc(e),e.flags&=-3}}function Vs(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Vs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function bd(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Et=!0;const yc=[];function zt(){yc.push(Et),Et=!1}function Gt(){const e=yc.pop();Et=e===void 0?!0:e}function Ea(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ae;Ae=void 0;try{t()}finally{Ae=n}}}let yr=0;class wd{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class qo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ae||!Et||Ae===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ae)n=this.activeLink=new wd(Ae,this),Ae.deps?(n.prevDep=Ae.depsTail,Ae.depsTail.nextDep=n,Ae.depsTail=n):Ae.deps=Ae.depsTail=n,vc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ae.depsTail,n.nextDep=void 0,Ae.depsTail.nextDep=n,Ae.depsTail=n,Ae.deps===n&&(Ae.deps=r)}return n}trigger(t){this.version++,yr++,this.notify(t)}notify(t){Ns();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ms()}}}function vc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)vc(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const uo=new WeakMap,fn=Symbol(""),zi=Symbol(""),vr=Symbol("");function Je(e,t,n){if(Et&&Ae){let r=uo.get(e);r||uo.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new qo),o.map=r,o.key=n),o.track()}}function Ft(e,t,n,r,o,i){const s=uo.get(e);if(!s){yr++;return}const a=l=>{l&&l.trigger()};if(Ns(),t==="clear")s.forEach(a);else{const l=re(e),u=l&&Os(n);if(l&&n==="length"){const c=Number(r);s.forEach((f,p)=>{(p==="length"||p===vr||!Tt(p)&&p>=c)&&a(f)})}else switch((n!==void 0||s.has(void 0))&&a(s.get(n)),u&&a(s.get(vr)),t){case"add":l?u&&a(s.get("length")):(a(s.get(fn)),Mn(e)&&a(s.get(zi)));break;case"delete":l||(a(s.get(fn)),Mn(e)&&a(s.get(zi)));break;case"set":Mn(e)&&a(s.get(fn));break}}Ms()}function Ed(e,t){const n=uo.get(e);return n&&n.get(t)}function Rn(e){const t=ge(e);return t===e?t:(Je(t,"iterate",vr),_t(e)?t:t.map(Be))}function Ko(e){return Je(e=ge(e),"iterate",vr),e}const Sd={__proto__:null,[Symbol.iterator](){return yi(this,Symbol.iterator,Be)},concat(...e){return Rn(this).concat(...e.map(t=>re(t)?Rn(t):t))},entries(){return yi(this,"entries",e=>(e[1]=Be(e[1]),e))},every(e,t){return $t(this,"every",e,t,void 0,arguments)},filter(e,t){return $t(this,"filter",e,t,n=>n.map(Be),arguments)},find(e,t){return $t(this,"find",e,t,Be,arguments)},findIndex(e,t){return $t(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return $t(this,"findLast",e,t,Be,arguments)},findLastIndex(e,t){return $t(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return $t(this,"forEach",e,t,void 0,arguments)},includes(...e){return vi(this,"includes",e)},indexOf(...e){return vi(this,"indexOf",e)},join(e){return Rn(this).join(e)},lastIndexOf(...e){return vi(this,"lastIndexOf",e)},map(e,t){return $t(this,"map",e,t,void 0,arguments)},pop(){return rr(this,"pop")},push(...e){return rr(this,"push",e)},reduce(e,...t){return Sa(this,"reduce",e,t)},reduceRight(e,...t){return Sa(this,"reduceRight",e,t)},shift(){return rr(this,"shift")},some(e,t){return $t(this,"some",e,t,void 0,arguments)},splice(...e){return rr(this,"splice",e)},toReversed(){return Rn(this).toReversed()},toSorted(e){return Rn(this).toSorted(e)},toSpliced(...e){return Rn(this).toSpliced(...e)},unshift(...e){return rr(this,"unshift",e)},values(){return yi(this,"values",Be)}};function yi(e,t,n){const r=Ko(e),o=r[t]();return r!==e&&!_t(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const Td=Array.prototype;function $t(e,t,n,r,o,i){const s=Ko(e),a=s!==e&&!_t(e),l=s[t];if(l!==Td[t]){const f=l.apply(e,i);return a?Be(f):f}let u=n;s!==e&&(a?u=function(f,p){return n.call(this,Be(f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const c=l.call(s,u,r);return a&&o?o(c):c}function Sa(e,t,n,r){const o=Ko(e);let i=n;return o!==e&&(_t(e)?n.length>3&&(i=function(s,a,l){return n.call(this,s,a,l,e)}):i=function(s,a,l){return n.call(this,s,Be(a),l,e)}),o[t](i,...r)}function vi(e,t,n){const r=ge(e);Je(r,"iterate",vr);const o=r[t](...n);return(o===-1||o===!1)&&$s(n[0])?(n[0]=ge(n[0]),r[t](...n)):o}function rr(e,t,n=[]){zt(),Ns();const r=ge(e)[t].apply(e,n);return Ms(),Gt(),r}const Rd=Cs("__proto__,__v_isRef,__isVue"),bc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Tt));function Ad(e){Tt(e)||(e=String(e));const t=ge(this);return Je(t,"has",e),t.hasOwnProperty(e)}class wc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Pc:Ac:i?Rc:Tc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=re(t);if(!o){let l;if(s&&(l=Sd[n]))return l;if(n==="hasOwnProperty")return Ad}const a=Reflect.get(t,n,we(t)?t:r);return(Tt(n)?bc.has(n):Rd(n))||(o||Je(t,"get",n),i)?a:we(a)?s&&Os(n)?a:a.value:Se(a)?o?Xo(a):Dt(a):a}}class Ec extends wc{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const l=Wt(i);if(!_t(r)&&!Wt(r)&&(i=ge(i),r=ge(r)),!re(t)&&we(i)&&!we(r))return l||(i.value=r),!0}const s=re(t)&&Os(n)?Number(n)<t.length:_e(t,n),a=Reflect.set(t,n,r,we(t)?t:o);return t===ge(o)&&(s?Qt(r,i)&&Ft(t,"set",n,r):Ft(t,"add",n,r)),a}deleteProperty(t,n){const r=_e(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Ft(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Tt(n)||!bc.has(n))&&Je(t,"has",n),r}ownKeys(t){return Je(t,"iterate",re(t)?"length":fn),Reflect.ownKeys(t)}}class Sc extends wc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Pd=new Ec,Cd=new Sc,kd=new Ec(!0),Ld=new Sc(!0),Gi=e=>e,Nr=e=>Reflect.getPrototypeOf(e);function xd(e,t,n){return function(...r){const o=this.__v_raw,i=ge(o),s=Mn(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=o[e](...r),c=n?Gi:t?fo:Be;return!t&&Je(i,"iterate",l?zi:fn),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:a?[c(f[0]),c(f[1])]:c(f),done:p}},[Symbol.iterator](){return this}}}}function Mr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Od(e,t){const n={get(o){const i=this.__v_raw,s=ge(i),a=ge(o);e||(Qt(o,a)&&Je(s,"get",o),Je(s,"get",a));const{has:l}=Nr(s),u=t?Gi:e?fo:Be;if(l.call(s,o))return u(i.get(o));if(l.call(s,a))return u(i.get(a));i!==s&&i.get(o)},get size(){const o=this.__v_raw;return!e&&Je(ge(o),"iterate",fn),o.size},has(o){const i=this.__v_raw,s=ge(i),a=ge(o);return e||(Qt(o,a)&&Je(s,"has",o),Je(s,"has",a)),o===a?i.has(o):i.has(o)||i.has(a)},forEach(o,i){const s=this,a=s.__v_raw,l=ge(a),u=t?Gi:e?fo:Be;return!e&&Je(l,"iterate",fn),a.forEach((c,f)=>o.call(i,u(c),u(f),s))}};return Qe(n,e?{add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear")}:{add(o){!t&&!_t(o)&&!Wt(o)&&(o=ge(o));const i=ge(this);return Nr(i).has.call(i,o)||(i.add(o),Ft(i,"add",o,o)),this},set(o,i){!t&&!_t(i)&&!Wt(i)&&(i=ge(i));const s=ge(this),{has:a,get:l}=Nr(s);let u=a.call(s,o);u||(o=ge(o),u=a.call(s,o));const c=l.call(s,o);return s.set(o,i),u?Qt(i,c)&&Ft(s,"set",o,i):Ft(s,"add",o,i),this},delete(o){const i=ge(this),{has:s,get:a}=Nr(i);let l=s.call(i,o);l||(o=ge(o),l=s.call(i,o)),a&&a.call(i,o);const u=i.delete(o);return l&&Ft(i,"delete",o,void 0),u},clear(){const o=ge(this),i=o.size!==0,s=o.clear();return i&&Ft(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=xd(o,e,t)}),n}function Jo(e,t){const n=Od(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(_e(n,o)&&o in r?n:r,o,i)}const Id={get:Jo(!1,!1)},Dd={get:Jo(!1,!0)},Nd={get:Jo(!0,!1)},Md={get:Jo(!0,!0)},Tc=new WeakMap,Rc=new WeakMap,Ac=new WeakMap,Pc=new WeakMap;function Vd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $d(e){return e.__v_skip||!Object.isExtensible(e)?0:Vd(ad(e))}function Dt(e){return Wt(e)?e:Yo(e,!1,Pd,Id,Tc)}function Ln(e){return Yo(e,!1,kd,Dd,Rc)}function Xo(e){return Yo(e,!0,Cd,Nd,Ac)}function jd(e){return Yo(e,!0,Ld,Md,Pc)}function Yo(e,t,n,r,o){if(!Se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=$d(e);if(i===0)return e;const s=o.get(e);if(s)return s;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function dn(e){return Wt(e)?dn(e.__v_raw):!!(e&&e.__v_isReactive)}function Wt(e){return!!(e&&e.__v_isReadonly)}function _t(e){return!!(e&&e.__v_isShallow)}function $s(e){return e?!!e.__v_raw:!1}function ge(e){const t=e&&e.__v_raw;return t?ge(t):e}function Bd(e){return!_e(e,"__v_skip")&&Object.isExtensible(e)&&ac(e,"__v_skip",!0),e}const Be=e=>Se(e)?Dt(e):e,fo=e=>Se(e)?Xo(e):e;function we(e){return e?e.__v_isRef===!0:!1}function me(e){return Cc(e,!1)}function ze(e){return Cc(e,!0)}function Cc(e,t){return we(e)?e:new Fd(e,t)}class Fd{constructor(t,n){this.dep=new qo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ge(t),this._value=n?t:Be(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||_t(t)||Wt(t);t=r?t:ge(t),Qt(t,n)&&(this._rawValue=t,this._value=r?t:Be(t),this.dep.trigger())}}function Q(e){return we(e)?e.value:e}function Ce(e){return ae(e)?e():Q(e)}const Hd={get:(e,t,n)=>t==="__v_raw"?e:Q(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return we(o)&&!we(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function kc(e){return dn(e)?e:new Proxy(e,Hd)}class Ud{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new qo,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function zd(e){return new Ud(e)}class Gd{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ed(ge(this._object),this._key)}}class Wd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function js(e,t,n){return we(e)?e:ae(e)?new Wd(e):Se(e)&&arguments.length>1?qd(e,t,n):me(e)}function qd(e,t,n){const r=e[t];return we(r)?r:new Gd(e,t,n)}class Kd{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new qo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=yr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ae!==this)return hc(this,!0),!0}get value(){const t=this.dep.track();return _c(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Jd(e,t,n=!1){let r,o;return ae(e)?r=e:(r=e.get,o=e.set),new Kd(r,o,n)}const Vr={},po=new WeakMap;let sn;function Xd(e,t=!1,n=sn){if(n){let r=po.get(n);r||po.set(n,r=[]),r.push(e)}}function Yd(e,t,n=Ee){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:a,call:l}=n,u=E=>o?E:_t(E)||o===!1||o===0?Ht(E,1):Ht(E);let c,f,p,d,h=!1,_=!1;if(we(e)?(f=()=>e.value,h=_t(e)):dn(e)?(f=()=>u(e),h=!0):re(e)?(_=!0,h=e.some(E=>dn(E)||_t(E)),f=()=>e.map(E=>{if(we(E))return E.value;if(dn(E))return u(E);if(ae(E))return l?l(E,2):E()})):ae(e)?t?f=l?()=>l(e,2):e:f=()=>{if(p){zt();try{p()}finally{Gt()}}const E=sn;sn=c;try{return l?l(e,3,[d]):e(d)}finally{sn=E}}:f=It,t&&o){const E=f,T=o===!0?1/0:o;f=()=>Ht(E(),T)}const y=kr(),b=()=>{c.stop(),y&&y.active&&Ls(y.effects,c)};if(i&&t){const E=t;t=(...T)=>{E(...T),b()}}let w=_?new Array(e.length).fill(Vr):Vr;const m=E=>{if(!(!(c.flags&1)||!c.dirty&&!E))if(t){const T=c.run();if(o||h||(_?T.some((L,j)=>Qt(L,w[j])):Qt(T,w))){p&&p();const L=sn;sn=c;try{const j=[T,w===Vr?void 0:_&&w[0]===Vr?[]:w,d];w=T,l?l(t,3,j):t(...j)}finally{sn=L}}}else c.run()};return a&&a(m),c=new dc(f),c.scheduler=s?()=>s(m,!1):m,d=E=>Xd(E,!1,c),p=c.onStop=()=>{const E=po.get(c);if(E){if(l)l(E,4);else for(const T of E)T();po.delete(c)}},t?r?m(!0):w=c.run():s?s(m.bind(null,!0),!0):c.run(),b.pause=c.pause.bind(c),b.resume=c.resume.bind(c),b.stop=b,b}function Ht(e,t=1/0,n){if(t<=0||!Se(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,we(e))Ht(e.value,t,n);else if(re(e))for(let r=0;r<e.length;r++)Ht(e[r],t,n);else if(Yn(e)||Mn(e))e.forEach(r=>{Ht(r,t,n)});else if(sc(e)){for(const r in e)Ht(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ht(e[r],t,n)}return e}/**
11
- * @vue/runtime-core v3.5.21
12
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
13
- * @license MIT
14
- **/function Lr(e,t,n,r){try{return r?e(...r):e()}catch(o){Qn(o,t,n)}}function Nt(e,t,n,r){if(ae(e)){const o=Lr(e,t,n,r);return o&&xs(o)&&o.catch(i=>{Qn(i,t,n)}),o}if(re(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Nt(e[i],t,n,r));return o}}function Qn(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||Ee;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(i){zt(),Lr(i,null,10,[e,l,u]),Gt();return}}Qd(e,n,o,r,s)}function Qd(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const nt=[];let xt=-1;const $n=[];let Jt=null,Cn=0;const Lc=Promise.resolve();let ho=null;function St(e){const t=ho||Lc;return e?t.then(this?e.bind(this):e):t}function Zd(e){let t=xt+1,n=nt.length;for(;t<n;){const r=t+n>>>1,o=nt[r],i=br(o);i<e||i===e&&o.flags&2?t=r+1:n=r}return t}function Bs(e){if(!(e.flags&1)){const t=br(e),n=nt[nt.length-1];!n||!(e.flags&2)&&t>=br(n)?nt.push(e):nt.splice(Zd(t),0,e),e.flags|=1,xc()}}function xc(){ho||(ho=Lc.then(Oc))}function Wi(e){re(e)?$n.push(...e):Jt&&e.id===-1?Jt.splice(Cn+1,0,e):e.flags&1||($n.push(e),e.flags|=1),xc()}function Ta(e,t,n=xt+1){for(;n<nt.length;n++){const r=nt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;nt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function mo(e){if($n.length){const t=[...new Set($n)].sort((n,r)=>br(n)-br(r));if($n.length=0,Jt){Jt.push(...t);return}for(Jt=t,Cn=0;Cn<Jt.length;Cn++){const n=Jt[Cn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Jt=null,Cn=0}}const br=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Oc(e){try{for(xt=0;xt<nt.length;xt++){const t=nt[xt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Lr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;xt<nt.length;xt++){const t=nt[xt];t&&(t.flags&=-2)}xt=-1,nt.length=0,mo(),ho=null,(nt.length||$n.length)&&Oc()}}let He=null,Ic=null;function go(e){const t=He;return He=e,Ic=e&&e.type.__scopeId||null,t}function Pe(e,t=He,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&vo(-1);const i=go(t);let s;try{s=e(...o)}finally{go(i),r._d&&vo(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Qo(e,t){if(He===null)return e;const n=ni(He),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,a,l=Ee]=t[o];i&&(ae(i)&&(i={mounted:i,updated:i}),i.deep&&Ht(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function Ot(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let l=a.dir[r];l&&(zt(),Nt(l,n,8,[e.el,a,e,t]),Gt())}}const Dc=Symbol("_vte"),ep=e=>e.__isTeleport,dr=e=>e&&(e.disabled||e.disabled===""),Ra=e=>e&&(e.defer||e.defer===""),Aa=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Pa=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,qi=(e,t)=>{const n=e&&e.to;return ke(n)?t?t(n):null:n},Nc={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,u){const{mc:c,pc:f,pbc:p,o:{insert:d,querySelector:h,createText:_,createComment:y}}=u,b=dr(t.props);let{shapeFlag:w,children:m,dynamicChildren:E}=t;if(e==null){const T=t.el=_(""),L=t.anchor=_("");d(T,n,r),d(L,n,r);const j=(q,H)=>{w&16&&(o&&o.isCE&&(o.ce._teleportTarget=q),c(m,q,H,o,i,s,a,l))},K=()=>{const q=t.target=qi(t.props,h),H=Mc(q,t,_,d);q&&(s!=="svg"&&Aa(q)?s="svg":s!=="mathml"&&Pa(q)&&(s="mathml"),b||(j(q,H),eo(t,!1)))};b&&(j(n,L),eo(t,!0)),Ra(t.props)?(t.el.__isMounted=!1,tt(()=>{K(),delete t.el.__isMounted},i)):K()}else{if(Ra(t.props)&&e.el.__isMounted===!1){tt(()=>{Nc.process(e,t,n,r,o,i,s,a,l,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,L=t.target=e.target,j=t.targetAnchor=e.targetAnchor,K=dr(e.props),q=K?n:L,H=K?T:j;if(s==="svg"||Aa(L)?s="svg":(s==="mathml"||Pa(L))&&(s="mathml"),E?(p(e.dynamicChildren,E,q,o,i,s,a),Ks(e,t,!0)):l||f(e,t,q,H,o,i,s,a,!1),b)K?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):$r(t,n,T,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const se=t.target=qi(t.props,h);se&&$r(t,se,null,u,0)}else K&&$r(t,L,j,u,1);eo(t,b)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:p}=e;if(f&&(o(u),o(c)),i&&o(l),s&16){const d=i||!dr(p);for(let h=0;h<a.length;h++){const _=a[h];r(_,t,n,d,!!_.dynamicChildren)}}},move:$r,hydrate:tp};function $r(e,t,n,{o:{insert:r},m:o},i=2){i===0&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:u,props:c}=e,f=i===2;if(f&&r(s,t,n),(!f||dr(c))&&l&16)for(let p=0;p<u.length;p++)o(u[p],t,n,2);f&&r(a,t,n)}function tp(e,t,n,r,o,i,{o:{nextSibling:s,parentNode:a,querySelector:l,insert:u,createText:c}},f){function p(_,y,b,w){y.anchor=f(s(_),y,a(_),n,r,o,i),y.targetStart=b,y.targetAnchor=w}const d=t.target=qi(t.props,l),h=dr(t.props);if(d){const _=d._lpa||d.firstChild;if(t.shapeFlag&16)if(h)p(e,t,_,_&&s(_));else{t.anchor=s(e);let y=_;for(;y;){if(y&&y.nodeType===8){if(y.data==="teleport start anchor")t.targetStart=y;else if(y.data==="teleport anchor"){t.targetAnchor=y,d._lpa=t.targetAnchor&&s(t.targetAnchor);break}}y=s(y)}t.targetAnchor||Mc(d,t,c,u),f(_&&s(_),t,d,n,r,o,i)}eo(t,h)}else h&&t.shapeFlag&16&&p(e,t,e,s(e));return t.anchor&&s(t.anchor)}const np=Nc;function eo(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Mc(e,t,n,r){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Dc]=i,e&&(r(o,e),r(i,e)),i}const rp=Symbol("_leaveCb");function Fs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Fs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ht(e,t){return ae(e)?Qe({name:e.name},t,{setup:e}):e}function Hs(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const _o=new WeakMap;function jn(e,t,n,r,o=!1){if(re(e)){e.forEach((h,_)=>jn(h,t&&(re(t)?t[_]:t),n,r,o));return}if(pn(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&jn(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?ni(r.component):r.el,s=o?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Ee?a.refs={}:a.refs,f=a.setupState,p=ge(f),d=f===Ee?oc:h=>_e(p,h);if(u!=null&&u!==l){if(Ca(t),ke(u))c[u]=null,d(u)&&(f[u]=null);else if(we(u)){u.value=null;const h=t;h.k&&(c[h.k]=null)}}if(ae(l))Lr(l,a,12,[s,c]);else{const h=ke(l),_=we(l);if(h||_){const y=()=>{if(e.f){const b=h?d(l)?f[l]:c[l]:l.value;if(o)re(b)&&Ls(b,i);else if(re(b))b.includes(i)||b.push(i);else if(h)c[l]=[i],d(l)&&(f[l]=c[l]);else{const w=[i];l.value=w,e.k&&(c[e.k]=w)}}else h?(c[l]=s,d(l)&&(f[l]=s)):_&&(l.value=s,e.k&&(c[e.k]=s))};if(s){const b=()=>{y(),_o.delete(e)};b.id=-1,_o.set(e,b),tt(b,n)}else Ca(e),y()}}}function Ca(e){const t=_o.get(e);t&&(t.flags|=8,_o.delete(e))}let ka=!1;const An=()=>{ka||(console.error("Hydration completed but contains mismatches."),ka=!0)},op=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ip=e=>e.namespaceURI.includes("MathML"),jr=e=>{if(e.nodeType===1){if(op(e))return"svg";if(ip(e))return"mathml"}},xn=e=>e.nodeType===8;function sp(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:u}}=e,c=(m,E)=>{if(!E.hasChildNodes()){n(null,m,E),mo(),E._vnode=m;return}f(E.firstChild,m,null,null,null),mo(),E._vnode=m},f=(m,E,T,L,j,K=!1)=>{K=K||!!E.dynamicChildren;const q=xn(m)&&m.data==="[",H=()=>_(m,E,T,L,j,q),{type:se,ref:X,shapeFlag:A,patchFlag:R}=E;let D=m.nodeType;E.el=m,R===-2&&(K=!1,E.dynamicChildren=null);let k=null;switch(se){case mn:D!==3?E.children===""?(l(E.el=o(""),s(m),m),k=m):k=H():(m.data!==E.children&&(An(),m.data=E.children),k=i(m));break;case bt:w(m)?(k=i(m),b(E.el=m.content.firstChild,m,T)):D!==8||q?k=H():k=i(m);break;case to:if(q&&(m=i(m),D=m.nodeType),D===1||D===3){k=m;const J=!E.children.length;for(let B=0;B<E.staticCount;B++)J&&(E.children+=k.nodeType===1?k.outerHTML:k.data),B===E.staticCount-1&&(E.anchor=k),k=i(k);return q?i(k):k}else H();break;case $e:q?k=h(m,E,T,L,j,K):k=H();break;default:if(A&1)(D!==1||E.type.toLowerCase()!==m.tagName.toLowerCase())&&!w(m)?k=H():k=p(m,E,T,L,j,K);else if(A&6){E.slotScopeIds=j;const J=s(m);if(q?k=y(m):xn(m)&&m.data==="teleport start"?k=y(m,m.data,"teleport end"):k=i(m),t(E,J,null,T,L,jr(J),K),pn(E)&&!E.type.__asyncResolved){let B;q?(B=ie($e),B.anchor=k?k.previousSibling:J.lastChild):B=m.nodeType===3?rt(""):ie("div"),B.el=m,E.component.subTree=B}}else A&64?D!==8?k=H():k=E.type.hydrate(m,E,T,L,j,K,e,d):A&128&&(k=E.type.hydrate(m,E,T,L,jr(s(m)),j,K,e,f))}return X!=null&&jn(X,null,L,E),k},p=(m,E,T,L,j,K)=>{K=K||!!E.dynamicChildren;const{type:q,props:H,patchFlag:se,shapeFlag:X,dirs:A,transition:R}=E,D=q==="input"||q==="option";if(D||se!==-1){A&&Ot(E,null,T,"created");let k=!1;if(w(m)){k=su(null,R)&&T&&T.vnode.props&&T.vnode.props.appear;const B=m.content.firstChild;if(k){const ee=B.getAttribute("class");ee&&(B.$cls=ee),R.beforeEnter(B)}b(B,m,T),E.el=m=B}if(X&16&&!(H&&(H.innerHTML||H.textContent))){let B=d(m.firstChild,E,m,T,L,j,K);for(;B;){Br(m,1)||An();const ee=B;B=B.nextSibling,a(ee)}}else if(X&8){let B=E.children;B[0]===`
15
- `&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&(B=B.slice(1)),m.textContent!==B&&(Br(m,0)||An(),m.textContent=E.children)}if(H){if(D||!K||se&48){const B=m.tagName.includes("-");for(const ee in H)(D&&(ee.endsWith("value")||ee==="indeterminate")||Pr(ee)&&!Vn(ee)||ee[0]==="."||B)&&r(m,ee,null,H[ee],void 0,T)}else if(H.onClick)r(m,"onClick",null,H.onClick,void 0,T);else if(se&4&&dn(H.style))for(const B in H.style)H.style[B]}let J;(J=H&&H.onVnodeBeforeMount)&&gt(J,T,E),A&&Ot(E,null,T,"beforeMount"),((J=H&&H.onVnodeMounted)||A||k)&&pu(()=>{J&&gt(J,T,E),k&&R.enter(m),A&&Ot(E,null,T,"mounted")},L)}return m.nextSibling},d=(m,E,T,L,j,K,q)=>{q=q||!!E.dynamicChildren;const H=E.children,se=H.length;for(let X=0;X<se;X++){const A=q?H[X]:H[X]=pt(H[X]),R=A.type===mn;m?(R&&!q&&X+1<se&&pt(H[X+1]).type===mn&&(l(o(m.data.slice(A.children.length)),T,i(m)),m.data=A.children),m=f(m,A,L,j,K,q)):R&&!A.children?l(A.el=o(""),T):(Br(T,1)||An(),n(null,A,T,null,L,j,jr(T),K))}return m},h=(m,E,T,L,j,K)=>{const{slotScopeIds:q}=E;q&&(j=j?j.concat(q):q);const H=s(m),se=d(i(m),E,H,T,L,j,K);return se&&xn(se)&&se.data==="]"?i(E.anchor=se):(An(),l(E.anchor=u("]"),H,se),se)},_=(m,E,T,L,j,K)=>{if(Br(m.parentElement,1)||An(),E.el=null,K){const se=y(m);for(;;){const X=i(m);if(X&&X!==se)a(X);else break}}const q=i(m),H=s(m);return a(m),n(null,E,H,q,T,L,jr(H),j),T&&(T.vnode.el=E.el,ti(T,E.el)),q},y=(m,E="[",T="]")=>{let L=0;for(;m;)if(m=i(m),m&&xn(m)&&(m.data===E&&L++,m.data===T)){if(L===0)return i(m);L--}return m},b=(m,E,T)=>{const L=E.parentNode;L&&L.replaceChild(m,E);let j=T;for(;j;)j.vnode.el===E&&(j.vnode.el=j.subTree.el=m),j=j.parent},w=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[c,f]}const La="data-allow-mismatch",ap={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Br(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(La);)e=e.parentElement;const n=e&&e.getAttribute(La);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(ap[t])}}Wo().requestIdleCallback;Wo().cancelIdleCallback;function lp(e,t){if(xn(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(xn(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const pn=e=>!!e.type.__asyncLoader;function xa(e){ae(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const p=()=>(f++,u=null,d()),d=()=>{let h;return u||(h=u=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((y,b)=>{l(_,()=>y(p()),()=>b(_),f+1)});throw _}).then(_=>h!==u&&u?u:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),c=_,_)))};return ht({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(h,_,y){let b=!1;(_.bu||(_.bu=[])).push(()=>b=!0);const w=()=>{b||y()},m=i?()=>{const E=i(w,T=>lp(h,T));E&&(_.bum||(_.bum=[])).push(E)}:w;c?m():d().then(()=>!_.isUnmounted&&m())},get __asyncResolved(){return c},setup(){const h=Fe;if(Hs(h),c)return()=>bi(c,h);const _=m=>{u=null,Qn(m,h,13,!r)};if(a&&h.suspense||qn)return d().then(m=>()=>bi(m,h)).catch(m=>(_(m),()=>r?ie(r,{error:m}):null));const y=me(!1),b=me(),w=me(!!o);return o&&setTimeout(()=>{w.value=!1},o),s!=null&&setTimeout(()=>{if(!y.value&&!b.value){const m=new Error(`Async component timed out after ${s}ms.`);_(m),b.value=m}},s),d().then(()=>{y.value=!0,h.parent&&Us(h.parent.vnode)&&h.parent.update()}).catch(m=>{_(m),b.value=m}),()=>{if(y.value&&c)return bi(c,h);if(b.value&&r)return ie(r,{error:b.value});if(n&&!w.value)return ie(n)}}})}function bi(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=ie(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Us=e=>e.type.__isKeepAlive;function Vc(e,t){jc(e,"a",t)}function $c(e,t){jc(e,"da",t)}function jc(e,t,n=Fe){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Zo(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Us(o.parent.vnode)&&cp(r,t,n,o),o=o.parent}}function cp(e,t,n,r){const o=Zo(t,e,r,!0);zs(()=>{Ls(r[t],o)},n)}function Zo(e,t,n=Fe,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{zt();const a=vn(n),l=Nt(t,n,e,s);return a(),Gt(),l});return r?o.unshift(i):o.push(i),i}}const qt=e=>(t,n=Fe)=>{(!qn||e==="sp")&&Zo(e,(...r)=>t(...r),n)},Bc=qt("bm"),Zn=qt("m"),up=qt("bu"),fp=qt("u"),xr=qt("bum"),zs=qt("um"),dp=qt("sp"),pp=qt("rtg"),hp=qt("rtc");function Fc(e,t=Fe){Zo("ec",e,t)}const Hc="components";function Oa(e,t){return Gc(Hc,e,!0,t)||e}const Uc=Symbol.for("v-ndc");function zc(e){return ke(e)?Gc(Hc,e,!1)||e:e||Uc}function Gc(e,t,n=!0,r=!1){const o=He||Fe;if(o){const i=o.type;{const a=ih(i,!1);if(a&&(a===t||a===vt(t)||a===Go(vt(t))))return i}const s=Ia(o[e]||i[e],t)||Ia(o.appContext[e],t);return!s&&r?i:s}}function Ia(e,t){return e&&(e[t]||e[vt(t)]||e[Go(vt(t))])}function Wc(e,t,n,r){let o;const i=n,s=re(e);if(s||ke(e)){const a=s&&dn(e);let l=!1,u=!1;a&&(l=!_t(e),u=Wt(e),e=Ko(e)),o=new Array(e.length);for(let c=0,f=e.length;c<f;c++)o[c]=t(l?u?fo(Be(e[c])):Be(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,i)}else if(Se(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,i));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];o[l]=t(e[c],c,l,i)}}else o=[];return o}function Ze(e,t,n={},r,o){if(He.ce||He.parent&&pn(He.parent)&&He.parent.ce)return t!=="default"&&(n.name=t),Z(),Le($e,null,[ie("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),Z();const s=i&&qc(i(n)),a=n.key||s&&s.key,l=Le($e,{key:(a&&!Tt(a)?a:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function qc(e){return e.some(t=>Gn(t)?!(t.type===bt||t.type===$e&&!qc(t.children)):!0)?e:null}const Ki=e=>e?yu(e)?ni(e):Ki(e.parent):null,pr=Qe(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=>Ki(e.parent),$root:e=>Ki(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Jc(e),$forceUpdate:e=>e.f||(e.f=()=>{Bs(e.update)}),$nextTick:e=>e.n||(e.n=St.bind(e.proxy)),$watch:e=>Vp.bind(e)}),wi=(e,t)=>e!==Ee&&!e.__isScriptSetup&&_e(e,t),mp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const d=s[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(wi(r,t))return s[t]=1,r[t];if(o!==Ee&&_e(o,t))return s[t]=2,o[t];if((u=e.propsOptions[0])&&_e(u,t))return s[t]=3,i[t];if(n!==Ee&&_e(n,t))return s[t]=4,n[t];Ji&&(s[t]=0)}}const c=pr[t];let f,p;if(c)return t==="$attrs"&&Je(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ee&&_e(n,t))return s[t]=4,n[t];if(p=l.config.globalProperties,_e(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return wi(o,t)?(o[t]=n,!0):r!==Ee&&_e(r,t)?(r[t]=n,!0):_e(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i,type:s}},a){let l,u;return!!(n[a]||e!==Ee&&a[0]!=="$"&&_e(e,a)||wi(t,a)||(l=i[0])&&_e(l,a)||_e(r,a)||_e(pr,a)||_e(o.config.globalProperties,a)||(u=s.__cssModules)&&u[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:_e(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gp(){return _p().slots}function _p(e){const t=At();return t.setupContext||(t.setupContext=bu(t))}function Da(e){return re(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function yp(e){const t=At();let n=e();return es(),xs(n)&&(n=n.catch(r=>{throw vn(t),r})),[n,()=>vn(t)]}let Ji=!0;function vp(e){const t=Jc(e),n=e.proxy,r=e.ctx;Ji=!1,t.beforeCreate&&Na(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:p,beforeUpdate:d,updated:h,activated:_,deactivated:y,beforeDestroy:b,beforeUnmount:w,destroyed:m,unmounted:E,render:T,renderTracked:L,renderTriggered:j,errorCaptured:K,serverPrefetch:q,expose:H,inheritAttrs:se,components:X,directives:A,filters:R}=t;if(u&&bp(u,r,null),s)for(const J in s){const B=s[J];ae(B)&&(r[J]=B.bind(n))}if(o){const J=o.call(n,n);Se(J)&&(e.data=Dt(J))}if(Ji=!0,i)for(const J in i){const B=i[J],ee=ae(B)?B.bind(n,n):ae(B.get)?B.get.bind(n,n):It,ve=!ae(B)&&ae(B.set)?B.set.bind(n):It,be=ue({get:ee,set:ve});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>be.value,set:Oe=>be.value=Oe})}if(a)for(const J in a)Kc(a[J],r,n,J);if(l){const J=ae(l)?l.call(n):l;Reflect.ownKeys(J).forEach(B=>{jt(B,J[B])})}c&&Na(c,e,"c");function k(J,B){re(B)?B.forEach(ee=>J(ee.bind(n))):B&&J(B.bind(n))}if(k(Bc,f),k(Zn,p),k(up,d),k(fp,h),k(Vc,_),k($c,y),k(Fc,K),k(hp,L),k(pp,j),k(xr,w),k(zs,E),k(dp,q),re(H))if(H.length){const J=e.exposed||(e.exposed={});H.forEach(B=>{Object.defineProperty(J,B,{get:()=>n[B],set:ee=>n[B]=ee,enumerable:!0})})}else e.exposed||(e.exposed={});T&&e.render===It&&(e.render=T),se!=null&&(e.inheritAttrs=se),X&&(e.components=X),A&&(e.directives=A),q&&Hs(e)}function bp(e,t,n=It){re(e)&&(e=Xi(e));for(const r in e){const o=e[r];let i;Se(o)?"default"in o?i=dt(o.from||r,o.default,!0):i=dt(o.from||r):i=dt(o),we(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function Na(e,t,n){Nt(re(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Kc(e,t,n,r){let o=r.includes(".")?cu(n,r):()=>n[r];if(ke(e)){const i=t[e];ae(i)&&je(o,i)}else if(ae(e))je(o,e.bind(n));else if(Se(e))if(re(e))e.forEach(i=>Kc(i,t,n,r));else{const i=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(i)&&je(o,i,e)}}function Jc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>yo(l,u,s,!0)),yo(l,t,s)),Se(t)&&i.set(t,l),l}function yo(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&yo(e,i,n,!0),o&&o.forEach(s=>yo(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=wp[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const wp={data:Ma,props:Va,emits:Va,methods:lr,computed:lr,beforeCreate:et,created:et,beforeMount:et,mounted:et,beforeUpdate:et,updated:et,beforeDestroy:et,beforeUnmount:et,destroyed:et,unmounted:et,activated:et,deactivated:et,errorCaptured:et,serverPrefetch:et,components:lr,directives:lr,watch:Sp,provide:Ma,inject:Ep};function Ma(e,t){return t?e?function(){return Qe(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function Ep(e,t){return lr(Xi(e),Xi(t))}function Xi(e){if(re(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function et(e,t){return e?[...new Set([].concat(e,t))]:t}function lr(e,t){return e?Qe(Object.create(null),e,t):t}function Va(e,t){return e?re(e)&&re(t)?[...new Set([...e,...t])]:Qe(Object.create(null),Da(e),Da(t??{})):t}function Sp(e,t){if(!e)return t;if(!t)return e;const n=Qe(Object.create(null),e);for(const r in t)n[r]=et(e[r],t[r]);return n}function Xc(){return{app:null,config:{isNativeTag:oc,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Tp=0;function Rp(e,t){return function(r,o=null){ae(r)||(r=Qe({},r)),o!=null&&!Se(o)&&(o=null);const i=Xc(),s=new WeakSet,a=[];let l=!1;const u=i.app={_uid:Tp++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:ah,get config(){return i.config},set config(c){},use(c,...f){return s.has(c)||(c&&ae(c.install)?(s.add(c),c.install(u,...f)):ae(c)&&(s.add(c),c(u,...f))),u},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),u},component(c,f){return f?(i.components[c]=f,u):i.components[c]},directive(c,f){return f?(i.directives[c]=f,u):i.directives[c]},mount(c,f,p){if(!l){const d=u._ceVNode||ie(r,o);return d.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),f&&t?t(d,c):e(d,c,p),l=!0,u._container=c,c.__vue_app__=u,ni(d.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Nt(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return i.provides[c]=f,u},runWithContext(c){const f=hn;hn=u;try{return c()}finally{hn=f}}};return u}}let hn=null;function jt(e,t){if(Fe){let n=Fe.provides;const r=Fe.parent&&Fe.parent.provides;r===n&&(n=Fe.provides=Object.create(r)),n[e]=t}}function dt(e,t,n=!1){const r=At();if(r||hn){let o=hn?hn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ae(t)?t.call(r&&r.proxy):t}}function Gs(){return!!(At()||hn)}const Yc={},Qc=()=>Object.create(Yc),Zc=e=>Object.getPrototypeOf(e)===Yc;function Ap(e,t,n,r=!1){const o={},i=Qc();e.propsDefaults=Object.create(null),eu(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:Ln(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Pp(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=ge(o),[l]=e.propsOptions;let u=!1;if((r||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let p=c[f];if(ei(e.emitsOptions,p))continue;const d=t[p];if(l)if(_e(i,p))d!==i[p]&&(i[p]=d,u=!0);else{const h=vt(p);o[h]=Yi(l,a,h,d,e,!1)}else d!==i[p]&&(i[p]=d,u=!0)}}}else{eu(e,t,o,i)&&(u=!0);let c;for(const f in a)(!t||!_e(t,f)&&((c=En(f))===f||!_e(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(o[f]=Yi(l,a,f,void 0,e,!0)):delete o[f]);if(i!==a)for(const f in i)(!t||!_e(t,f))&&(delete i[f],u=!0)}u&&Ft(e.attrs,"set","")}function eu(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,a;if(t)for(let l in t){if(Vn(l))continue;const u=t[l];let c;o&&_e(o,c=vt(l))?!i||!i.includes(c)?n[c]=u:(a||(a={}))[c]=u:ei(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,s=!0)}if(i){const l=ge(n),u=a||Ee;for(let c=0;c<i.length;c++){const f=i[c];n[f]=Yi(o,l,f,u[f],e,!_e(u,f))}}return s}function Yi(e,t,n,r,o,i){const s=e[n];if(s!=null){const a=_e(s,"default");if(a&&r===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&ae(l)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const c=vn(o);r=u[n]=l.call(null,t),c()}}else r=l;o.ce&&o.ce._setProp(n,r)}s[0]&&(i&&!a?r=!1:s[1]&&(r===""||r===En(n))&&(r=!0))}return r}const Cp=new WeakMap;function tu(e,t,n=!1){const r=n?Cp:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},a=[];let l=!1;if(!ae(e)){const c=f=>{l=!0;const[p,d]=tu(f,t,!0);Qe(s,p),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return Se(e)&&r.set(e,Nn),Nn;if(re(i))for(let c=0;c<i.length;c++){const f=vt(i[c]);$a(f)&&(s[f]=Ee)}else if(i)for(const c in i){const f=vt(c);if($a(f)){const p=i[c],d=s[f]=re(p)||ae(p)?{type:p}:Qe({},p),h=d.type;let _=!1,y=!0;if(re(h))for(let b=0;b<h.length;++b){const w=h[b],m=ae(w)&&w.name;if(m==="Boolean"){_=!0;break}else m==="String"&&(y=!1)}else _=ae(h)&&h.name==="Boolean";d[0]=_,d[1]=y,(_||_e(d,"default"))&&a.push(f)}}const u=[s,a];return Se(e)&&r.set(e,u),u}function $a(e){return e[0]!=="$"&&!Vn(e)}const Ws=e=>e==="_"||e==="_ctx"||e==="$stable",qs=e=>re(e)?e.map(pt):[pt(e)],kp=(e,t,n)=>{if(t._n)return t;const r=Pe((...o)=>qs(t(...o)),n);return r._c=!1,r},nu=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Ws(o))continue;const i=e[o];if(ae(i))t[o]=kp(o,i,r);else if(i!=null){const s=qs(i);t[o]=()=>s}}},ru=(e,t)=>{const n=qs(t);e.slots.default=()=>n},ou=(e,t,n)=>{for(const r in t)(n||!Ws(r))&&(e[r]=t[r])},Lp=(e,t,n)=>{const r=e.slots=Qc();if(e.vnode.shapeFlag&32){const o=t._;o?(ou(r,t,n),n&&ac(r,"_",o,!0)):nu(t,r)}else t&&ru(e,t)},xp=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=Ee;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:ou(o,t,n):(i=!t.$stable,nu(t,o)),s=t}else t&&(ru(e,t),s={default:1});if(i)for(const a in o)!Ws(a)&&s[a]==null&&delete o[a]},tt=pu;function Op(e){return iu(e)}function Ip(e){return iu(e,sp)}function iu(e,t){const n=Wo();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:p,setScopeId:d=It,insertStaticContent:h}=e,_=(v,S,P,N=null,x=null,O=null,W=void 0,z=null,F=!!S.dynamicChildren)=>{if(v===S)return;v&&!Yt(v,S)&&(N=I(v),Oe(v,x,O,!0),v=null),S.patchFlag===-2&&(F=!1,S.dynamicChildren=null);const{type:M,ref:oe,shapeFlag:Y}=S;switch(M){case mn:y(v,S,P,N);break;case bt:b(v,S,P,N);break;case to:v==null&&w(S,P,N,W);break;case $e:X(v,S,P,N,x,O,W,z,F);break;default:Y&1?T(v,S,P,N,x,O,W,z,F):Y&6?A(v,S,P,N,x,O,W,z,F):(Y&64||Y&128)&&M.process(v,S,P,N,x,O,W,z,F,G)}oe!=null&&x?jn(oe,v&&v.ref,O,S||v,!S):oe==null&&v&&v.ref!=null&&jn(v.ref,null,O,v,!0)},y=(v,S,P,N)=>{if(v==null)r(S.el=a(S.children),P,N);else{const x=S.el=v.el;S.children!==v.children&&u(x,S.children)}},b=(v,S,P,N)=>{v==null?r(S.el=l(S.children||""),P,N):S.el=v.el},w=(v,S,P,N)=>{[v.el,v.anchor]=h(v.children,S,P,N,v.el,v.anchor)},m=({el:v,anchor:S},P,N)=>{let x;for(;v&&v!==S;)x=p(v),r(v,P,N),v=x;r(S,P,N)},E=({el:v,anchor:S})=>{let P;for(;v&&v!==S;)P=p(v),o(v),v=P;o(S)},T=(v,S,P,N,x,O,W,z,F)=>{S.type==="svg"?W="svg":S.type==="math"&&(W="mathml"),v==null?L(S,P,N,x,O,W,z,F):q(v,S,x,O,W,z,F)},L=(v,S,P,N,x,O,W,z)=>{let F,M;const{props:oe,shapeFlag:Y,transition:te,dirs:le}=v;if(F=v.el=s(v.type,O,oe&&oe.is,oe),Y&8?c(F,v.children):Y&16&&K(v.children,F,null,N,x,Ei(v,O),W,z),le&&Ot(v,null,N,"created"),j(F,v,v.scopeId,W,N),oe){for(const Te in oe)Te!=="value"&&!Vn(Te)&&i(F,Te,null,oe[Te],O,N);"value"in oe&&i(F,"value",null,oe.value,O),(M=oe.onVnodeBeforeMount)&&gt(M,N,v)}le&&Ot(v,null,N,"beforeMount");const he=su(x,te);he&&te.beforeEnter(F),r(F,S,P),((M=oe&&oe.onVnodeMounted)||he||le)&&tt(()=>{M&&gt(M,N,v),he&&te.enter(F),le&&Ot(v,null,N,"mounted")},x)},j=(v,S,P,N,x)=>{if(P&&d(v,P),N)for(let O=0;O<N.length;O++)d(v,N[O]);if(x){let O=x.subTree;if(S===O||fu(O.type)&&(O.ssContent===S||O.ssFallback===S)){const W=x.vnode;j(v,W,W.scopeId,W.slotScopeIds,x.parent)}}},K=(v,S,P,N,x,O,W,z,F=0)=>{for(let M=F;M<v.length;M++){const oe=v[M]=z?Xt(v[M]):pt(v[M]);_(null,oe,S,P,N,x,O,W,z)}},q=(v,S,P,N,x,O,W)=>{const z=S.el=v.el;let{patchFlag:F,dynamicChildren:M,dirs:oe}=S;F|=v.patchFlag&16;const Y=v.props||Ee,te=S.props||Ee;let le;if(P&&nn(P,!1),(le=te.onVnodeBeforeUpdate)&&gt(le,P,S,v),oe&&Ot(S,v,P,"beforeUpdate"),P&&nn(P,!0),(Y.innerHTML&&te.innerHTML==null||Y.textContent&&te.textContent==null)&&c(z,""),M?H(v.dynamicChildren,M,z,P,N,Ei(S,x),O):W||B(v,S,z,null,P,N,Ei(S,x),O,!1),F>0){if(F&16)se(z,Y,te,P,x);else if(F&2&&Y.class!==te.class&&i(z,"class",null,te.class,x),F&4&&i(z,"style",Y.style,te.style,x),F&8){const he=S.dynamicProps;for(let Te=0;Te<he.length;Te++){const ye=he[Te],it=Y[ye],We=te[ye];(We!==it||ye==="value")&&i(z,ye,it,We,x,P)}}F&1&&v.children!==S.children&&c(z,S.children)}else!W&&M==null&&se(z,Y,te,P,x);((le=te.onVnodeUpdated)||oe)&&tt(()=>{le&&gt(le,P,S,v),oe&&Ot(S,v,P,"updated")},N)},H=(v,S,P,N,x,O,W)=>{for(let z=0;z<S.length;z++){const F=v[z],M=S[z],oe=F.el&&(F.type===$e||!Yt(F,M)||F.shapeFlag&198)?f(F.el):P;_(F,M,oe,null,N,x,O,W,!0)}},se=(v,S,P,N,x)=>{if(S!==P){if(S!==Ee)for(const O in S)!Vn(O)&&!(O in P)&&i(v,O,S[O],null,x,N);for(const O in P){if(Vn(O))continue;const W=P[O],z=S[O];W!==z&&O!=="value"&&i(v,O,z,W,x,N)}"value"in P&&i(v,"value",S.value,P.value,x)}},X=(v,S,P,N,x,O,W,z,F)=>{const M=S.el=v?v.el:a(""),oe=S.anchor=v?v.anchor:a("");let{patchFlag:Y,dynamicChildren:te,slotScopeIds:le}=S;le&&(z=z?z.concat(le):le),v==null?(r(M,P,N),r(oe,P,N),K(S.children||[],P,oe,x,O,W,z,F)):Y>0&&Y&64&&te&&v.dynamicChildren?(H(v.dynamicChildren,te,P,x,O,W,z),(S.key!=null||x&&S===x.subTree)&&Ks(v,S,!0)):B(v,S,P,oe,x,O,W,z,F)},A=(v,S,P,N,x,O,W,z,F)=>{S.slotScopeIds=z,v==null?S.shapeFlag&512?x.ctx.activate(S,P,N,W,F):R(S,P,N,x,O,W,F):D(v,S,F)},R=(v,S,P,N,x,O,W)=>{const z=v.component=th(v,N,x);if(Us(v)&&(z.ctx.renderer=G),nh(z,!1,W),z.asyncDep){if(x&&x.registerDep(z,k,W),!v.el){const F=z.subTree=ie(bt);b(null,F,S,P),v.placeholder=F.el}}else k(z,v,S,P,x,O,W)},D=(v,S,P)=>{const N=S.component=v.component;if(zp(v,S,P))if(N.asyncDep&&!N.asyncResolved){J(N,S,P);return}else N.next=S,N.update();else S.el=v.el,N.vnode=S},k=(v,S,P,N,x,O,W)=>{const z=()=>{if(v.isMounted){let{next:Y,bu:te,u:le,parent:he,vnode:Te}=v;{const lt=au(v);if(lt){Y&&(Y.el=Te.el,J(v,Y,W)),lt.asyncDep.then(()=>{v.isUnmounted||z()});return}}let ye=Y,it;nn(v,!1),Y?(Y.el=Te.el,J(v,Y,W)):Y=Te,te&&Zr(te),(it=Y.props&&Y.props.onVnodeBeforeUpdate)&&gt(it,he,Y,Te),nn(v,!0);const We=Si(v),wt=v.subTree;v.subTree=We,_(wt,We,f(wt.el),I(wt),v,x,O),Y.el=We.el,ye===null&&ti(v,We.el),le&&tt(le,x),(it=Y.props&&Y.props.onVnodeUpdated)&&tt(()=>gt(it,he,Y,Te),x)}else{let Y;const{el:te,props:le}=S,{bm:he,m:Te,parent:ye,root:it,type:We}=v,wt=pn(S);if(nn(v,!1),he&&Zr(he),!wt&&(Y=le&&le.onVnodeBeforeMount)&&gt(Y,ye,S),nn(v,!0),te&&de){const lt=()=>{v.subTree=Si(v),de(te,v.subTree,v,x,null)};wt&&We.__asyncHydrate?We.__asyncHydrate(te,v,lt):lt()}else{it.ce&&it.ce._def.shadowRoot!==!1&&it.ce._injectChildStyle(We);const lt=v.subTree=Si(v);_(null,lt,P,N,v,x,O),S.el=lt.el}if(Te&&tt(Te,x),!wt&&(Y=le&&le.onVnodeMounted)){const lt=S;tt(()=>gt(Y,ye,lt),x)}(S.shapeFlag&256||ye&&pn(ye.vnode)&&ye.vnode.shapeFlag&256)&&v.a&&tt(v.a,x),v.isMounted=!0,S=P=N=null}};v.scope.on();const F=v.effect=new dc(z);v.scope.off();const M=v.update=F.run.bind(F),oe=v.job=F.runIfDirty.bind(F);oe.i=v,oe.id=v.uid,F.scheduler=()=>Bs(oe),nn(v,!0),M()},J=(v,S,P)=>{S.component=v;const N=v.vnode.props;v.vnode=S,v.next=null,Pp(v,S.props,N,P),xp(v,S.children,P),zt(),Ta(v),Gt()},B=(v,S,P,N,x,O,W,z,F=!1)=>{const M=v&&v.children,oe=v?v.shapeFlag:0,Y=S.children,{patchFlag:te,shapeFlag:le}=S;if(te>0){if(te&128){ve(M,Y,P,N,x,O,W,z,F);return}else if(te&256){ee(M,Y,P,N,x,O,W,z,F);return}}le&8?(oe&16&&C(M,x,O),Y!==M&&c(P,Y)):oe&16?le&16?ve(M,Y,P,N,x,O,W,z,F):C(M,x,O,!0):(oe&8&&c(P,""),le&16&&K(Y,P,N,x,O,W,z,F))},ee=(v,S,P,N,x,O,W,z,F)=>{v=v||Nn,S=S||Nn;const M=v.length,oe=S.length,Y=Math.min(M,oe);let te;for(te=0;te<Y;te++){const le=S[te]=F?Xt(S[te]):pt(S[te]);_(v[te],le,P,null,x,O,W,z,F)}M>oe?C(v,x,O,!0,!1,Y):K(S,P,N,x,O,W,z,F,Y)},ve=(v,S,P,N,x,O,W,z,F)=>{let M=0;const oe=S.length;let Y=v.length-1,te=oe-1;for(;M<=Y&&M<=te;){const le=v[M],he=S[M]=F?Xt(S[M]):pt(S[M]);if(Yt(le,he))_(le,he,P,null,x,O,W,z,F);else break;M++}for(;M<=Y&&M<=te;){const le=v[Y],he=S[te]=F?Xt(S[te]):pt(S[te]);if(Yt(le,he))_(le,he,P,null,x,O,W,z,F);else break;Y--,te--}if(M>Y){if(M<=te){const le=te+1,he=le<oe?S[le].el:N;for(;M<=te;)_(null,S[M]=F?Xt(S[M]):pt(S[M]),P,he,x,O,W,z,F),M++}}else if(M>te)for(;M<=Y;)Oe(v[M],x,O,!0),M++;else{const le=M,he=M,Te=new Map;for(M=he;M<=te;M++){const ct=S[M]=F?Xt(S[M]):pt(S[M]);ct.key!=null&&Te.set(ct.key,M)}let ye,it=0;const We=te-he+1;let wt=!1,lt=0;const nr=new Array(We);for(M=0;M<We;M++)nr[M]=0;for(M=le;M<=Y;M++){const ct=v[M];if(it>=We){Oe(ct,x,O,!0);continue}let Ct;if(ct.key!=null)Ct=Te.get(ct.key);else for(ye=he;ye<=te;ye++)if(nr[ye-he]===0&&Yt(ct,S[ye])){Ct=ye;break}Ct===void 0?Oe(ct,x,O,!0):(nr[Ct-he]=M+1,Ct>=lt?lt=Ct:wt=!0,_(ct,S[Ct],P,null,x,O,W,z,F),it++)}const _a=wt?Dp(nr):Nn;for(ye=_a.length-1,M=We-1;M>=0;M--){const ct=he+M,Ct=S[ct],ya=S[ct+1],va=ct+1<oe?ya.el||ya.placeholder:N;nr[M]===0?_(null,Ct,P,va,x,O,W,z,F):wt&&(ye<0||M!==_a[ye]?be(Ct,P,va,2):ye--)}}},be=(v,S,P,N,x=null)=>{const{el:O,type:W,transition:z,children:F,shapeFlag:M}=v;if(M&6){be(v.component.subTree,S,P,N);return}if(M&128){v.suspense.move(S,P,N);return}if(M&64){W.move(v,S,P,G);return}if(W===$e){r(O,S,P);for(let Y=0;Y<F.length;Y++)be(F[Y],S,P,N);r(v.anchor,S,P);return}if(W===to){m(v,S,P);return}if(N!==2&&M&1&&z)if(N===0)z.beforeEnter(O),r(O,S,P),tt(()=>z.enter(O),x);else{const{leave:Y,delayLeave:te,afterLeave:le}=z,he=()=>{v.ctx.isUnmounted?o(O):r(O,S,P)},Te=()=>{O._isLeaving&&O[rp](!0),Y(O,()=>{he(),le&&le()})};te?te(O,he,Te):Te()}else r(O,S,P)},Oe=(v,S,P,N=!1,x=!1)=>{const{type:O,props:W,ref:z,children:F,dynamicChildren:M,shapeFlag:oe,patchFlag:Y,dirs:te,cacheIndex:le}=v;if(Y===-2&&(x=!1),z!=null&&(zt(),jn(z,null,P,v,!0),Gt()),le!=null&&(S.renderCache[le]=void 0),oe&256){S.ctx.deactivate(v);return}const he=oe&1&&te,Te=!pn(v);let ye;if(Te&&(ye=W&&W.onVnodeBeforeUnmount)&&gt(ye,S,v),oe&6)Vt(v.component,P,N);else{if(oe&128){v.suspense.unmount(P,N);return}he&&Ot(v,null,S,"beforeUnmount"),oe&64?v.type.remove(v,S,P,G,N):M&&!M.hasOnce&&(O!==$e||Y>0&&Y&64)?C(M,S,P,!1,!0):(O===$e&&Y&384||!x&&oe&16)&&C(F,S,P),N&&Pt(v)}(Te&&(ye=W&&W.onVnodeUnmounted)||he)&&tt(()=>{ye&&gt(ye,S,v),he&&Ot(v,null,S,"unmounted")},P)},Pt=v=>{const{type:S,el:P,anchor:N,transition:x}=v;if(S===$e){ot(P,N);return}if(S===to){E(v);return}const O=()=>{o(P),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(v.shapeFlag&1&&x&&!x.persisted){const{leave:W,delayLeave:z}=x,F=()=>W(P,O);z?z(v.el,O,F):F()}else O()},ot=(v,S)=>{let P;for(;v!==S;)P=p(v),o(v),v=P;o(S)},Vt=(v,S,P)=>{const{bum:N,scope:x,job:O,subTree:W,um:z,m:F,a:M}=v;ja(F),ja(M),N&&Zr(N),x.stop(),O&&(O.flags|=8,Oe(W,v,S,P)),z&&tt(z,S),tt(()=>{v.isUnmounted=!0},S)},C=(v,S,P,N=!1,x=!1,O=0)=>{for(let W=O;W<v.length;W++)Oe(v[W],S,P,N,x)},I=v=>{if(v.shapeFlag&6)return I(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const S=p(v.anchor||v.el),P=S&&S[Dc];return P?p(P):S};let U=!1;const V=(v,S,P)=>{v==null?S._vnode&&Oe(S._vnode,null,null,!0):_(S._vnode||null,v,S,null,null,null,P),S._vnode=v,U||(U=!0,Ta(),mo(),U=!1)},G={p:_,um:Oe,m:be,r:Pt,mt:R,mc:K,pc:B,pbc:H,n:I,o:e};let ne,de;return t&&([ne,de]=t(G)),{render:V,hydrate:ne,createApp:Rp(V,ne)}}function Ei({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 nn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function su(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ks(e,t,n=!1){const r=e.children,o=t.children;if(re(r)&&re(o))for(let i=0;i<r.length;i++){const s=r[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=Xt(o[i]),a.el=s.el),!n&&a.patchFlag!==-2&&Ks(s,a)),a.type===mn&&a.patchFlag!==-1&&(a.el=s.el),a.type===bt&&!a.el&&(a.el=s.el)}}function Dp(e){const t=e.slice(),n=[0];let r,o,i,s,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(o=n[n.length-1],e[o]<u){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<u?i=a+1:s=a;u<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function au(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:au(t)}function ja(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Np=Symbol.for("v-scx"),Mp=()=>dt(Np);function lu(e,t){return Js(e,null,t)}function je(e,t,n){return Js(e,t,n)}function Js(e,t,n=Ee){const{immediate:r,deep:o,flush:i,once:s}=n,a=Qe({},n),l=t&&r||!t&&i!=="post";let u;if(qn){if(i==="sync"){const d=Mp();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=It,d.resume=It,d.pause=It,d}}const c=Fe;a.call=(d,h,_)=>Nt(d,c,h,_);let f=!1;i==="post"?a.scheduler=d=>{tt(d,c&&c.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(d,h)=>{h?d():Bs(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const p=Yd(e,t,a);return qn&&(u?u.push(p):l&&p()),p}function Vp(e,t,n){const r=this.proxy,o=ke(e)?e.includes(".")?cu(r,e):()=>r[e]:e.bind(r,r);let i;ae(t)?i=t:(i=t.handler,n=t);const s=vn(this),a=Js(o,i.bind(r),n);return s(),a}function cu(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const $p=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${vt(t)}Modifiers`]||e[`${En(t)}Modifiers`];function jp(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ee;let o=n;const i=t.startsWith("update:"),s=i&&$p(r,t.slice(7));s&&(s.trim&&(o=n.map(c=>ke(c)?c.trim():c)),s.number&&(o=n.map(co)));let a,l=r[a=mi(t)]||r[a=mi(vt(t))];!l&&i&&(l=r[a=mi(En(t))]),l&&Nt(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Nt(u,e,6,o)}}const Bp=new WeakMap;function uu(e,t,n=!1){const r=n?Bp:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!ae(e)){const l=u=>{const c=uu(u,t,!0);c&&(a=!0,Qe(s,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(Se(e)&&r.set(e,null),null):(re(i)?i.forEach(l=>s[l]=null):Qe(s,i),Se(e)&&r.set(e,s),s)}function ei(e,t){return!e||!Pr(t)?!1:(t=t.slice(2).replace(/Once$/,""),_e(e,t[0].toLowerCase()+t.slice(1))||_e(e,En(t))||_e(e,t))}function Si(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:u,renderCache:c,props:f,data:p,setupState:d,ctx:h,inheritAttrs:_}=e,y=go(e);let b,w;try{if(n.shapeFlag&4){const E=o||r,T=E;b=pt(u.call(T,E,c,f,d,p,h)),w=a}else{const E=t;b=pt(E.length>1?E(f,{attrs:a,slots:s,emit:l}):E(f,null)),w=t.props?a:Hp(a)}}catch(E){hr.length=0,Qn(E,e,1),b=ie(bt)}let m=b;if(w&&_!==!1){const E=Object.keys(w),{shapeFlag:T}=m;E.length&&T&7&&(i&&E.some(ks)&&(w=Up(w,i)),m=Wn(m,w,!1,!0))}return n.dirs&&(m=Wn(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&Fs(m,n.transition),b=m,go(y),b}function Fp(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Gn(o)){if(o.type!==bt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Hp=e=>{let t;for(const n in e)(n==="class"||n==="style"||Pr(n))&&((t||(t={}))[n]=e[n]);return t},Up=(e,t)=>{const n={};for(const r in e)(!ks(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function zp(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ba(r,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const p=c[f];if(s[p]!==r[p]&&!ei(u,p))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?Ba(r,s,u):!0:!!s;return!1}function Ba(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!ei(n,i))return!0}return!1}function ti({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const fu=e=>e.__isSuspense;let Qi=0;const Gp={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,u){if(e==null)qp(t,n,r,o,i,s,a,l,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Kp(e,t,n,r,o,s,a,l,u)}},hydrate:Jp,normalize:Xp},Wp=Gp;function wr(e,t){const n=e.props&&e.props[t];ae(n)&&n()}function qp(e,t,n,r,o,i,s,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),p=e.suspense=du(e,o,r,t,f,n,i,s,a,l);u(null,p.pendingBranch=e.ssContent,f,null,r,p,i,s),p.deps>0?(wr(e,"onPending"),wr(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,s),Bn(p,e.ssFallback)):p.resolve(!1,!0)}function Kp(e,t,n,r,o,i,s,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:y,isHydrating:b}=f;if(_)f.pendingBranch=p,Yt(_,p)?(l(_,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():y&&(b||(l(h,d,n,r,o,null,i,s,a),Bn(f,d)))):(f.pendingId=Qi++,b?(f.isHydrating=!1,f.activeBranch=_):u(_,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),y?(l(null,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():(l(h,d,n,r,o,null,i,s,a),Bn(f,d))):h&&Yt(h,p)?(l(h,p,n,r,o,f,i,s,a),f.resolve(!0)):(l(null,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0&&f.resolve()));else if(h&&Yt(h,p))l(h,p,n,r,o,f,i,s,a),Bn(f,p);else if(wr(t,"onPending"),f.pendingBranch=p,p.shapeFlag&512?f.pendingId=p.component.suspenseId:f.pendingId=Qi++,l(null,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:w,pendingId:m}=f;w>0?setTimeout(()=>{f.pendingId===m&&f.fallback(d)},w):w===0&&f.fallback(d)}}function du(e,t,n,r,o,i,s,a,l,u,c=!1){const{p:f,m:p,um:d,n:h,o:{parentNode:_,remove:y}}=u;let b;const w=Yp(e);w&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const m=e.props?ud(e.props.timeout):void 0,E=i,T={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:Qi++,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(L=!1,j=!1){const{vnode:K,activeBranch:q,pendingBranch:H,pendingId:se,effects:X,parentComponent:A,container:R}=T;let D=!1;T.isHydrating?T.isHydrating=!1:L||(D=q&&H.transition&&H.transition.mode==="out-in",D&&(q.transition.afterLeave=()=>{se===T.pendingId&&(p(H,R,i===E?h(q):i,0),Wi(X))}),q&&(_(q.el)===R&&(i=h(q)),d(q,A,T,!0)),D||p(H,R,i,0)),Bn(T,H),T.pendingBranch=null,T.isInFallback=!1;let k=T.parent,J=!1;for(;k;){if(k.pendingBranch){k.effects.push(...X),J=!0;break}k=k.parent}!J&&!D&&Wi(X),T.effects=[],w&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!j&&t.resolve()),wr(K,"onResolve")},fallback(L){if(!T.pendingBranch)return;const{vnode:j,activeBranch:K,parentComponent:q,container:H,namespace:se}=T;wr(j,"onFallback");const X=h(K),A=()=>{T.isInFallback&&(f(null,L,H,X,q,null,se,a,l),Bn(T,L))},R=L.transition&&L.transition.mode==="out-in";R&&(K.transition.afterLeave=A),T.isInFallback=!0,d(K,q,null,!0),R||A()},move(L,j,K){T.activeBranch&&p(T.activeBranch,L,j,K),T.container=L},next(){return T.activeBranch&&h(T.activeBranch)},registerDep(L,j,K){const q=!!T.pendingBranch;q&&T.deps++;const H=L.vnode.el;L.asyncDep.catch(se=>{Qn(se,L,0)}).then(se=>{if(L.isUnmounted||T.isUnmounted||T.pendingId!==L.suspenseId)return;L.asyncResolved=!0;const{vnode:X}=L;ts(L,se),H&&(X.el=H);const A=!H&&L.subTree.el;j(L,X,_(H||L.subTree.el),H?null:h(L.subTree),T,s,K),A&&y(A),ti(L,X.el),q&&--T.deps===0&&T.resolve()})},unmount(L,j){T.isUnmounted=!0,T.activeBranch&&d(T.activeBranch,n,L,j),T.pendingBranch&&d(T.pendingBranch,n,L,j)}};return T}function Jp(e,t,n,r,o,i,s,a,l){const u=t.suspense=du(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,i,s);return u.deps===0&&u.resolve(!1,!0),c}function Xp(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Fa(r?n.default:n),e.ssFallback=r?Fa(n.fallback):ie(bt)}function Fa(e){let t;if(ae(e)){const n=zn&&e._c;n&&(e._d=!1,Z()),e=e(),n&&(e._d=!0,t=st,hu())}return re(e)&&(e=Fp(e)),e=pt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function pu(e,t){t&&t.pendingBranch?re(e)?t.effects.push(...e):t.effects.push(e):Wi(e)}function Bn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,ti(r,o))}function Yp(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const $e=Symbol.for("v-fgt"),mn=Symbol.for("v-txt"),bt=Symbol.for("v-cmt"),to=Symbol.for("v-stc"),hr=[];let st=null;function Z(e=!1){hr.push(st=e?null:[])}function hu(){hr.pop(),st=hr[hr.length-1]||null}let zn=1;function vo(e,t=!1){zn+=e,e<0&&st&&t&&(st.hasOnce=!0)}function mu(e){return e.dynamicChildren=zn>0?st||Nn:null,hu(),zn>0&&st&&st.push(e),e}function pe(e,t,n,r,o,i){return mu(fe(e,t,n,r,o,i,!0))}function Le(e,t,n,r,o){return mu(ie(e,t,n,r,o,!0))}function Gn(e){return e?e.__v_isVNode===!0:!1}function Yt(e,t){return e.type===t.type&&e.key===t.key}const gu=({key:e})=>e??null,no=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ke(e)||we(e)||ae(e)?{i:He,r:e,k:t,f:!!n}:e:null);function fe(e,t=null,n=null,r=0,o=null,i=e===$e?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gu(t),ref:t&&no(t),scopeId:Ic,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:He};return a?(Xs(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ke(n)?8:16),zn>0&&!s&&st&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&st.push(l),l}const ie=Qp;function Qp(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Uc)&&(e=bt),Gn(e)){const a=Wn(e,t,!0);return n&&Xs(a,n),zn>0&&!i&&st&&(a.shapeFlag&6?st[st.indexOf(e)]=a:st.push(a)),a.patchFlag=-2,a}if(sh(e)&&(e=e.__vccOpts),t){t=_u(t);let{class:a,style:l}=t;a&&!ke(a)&&(t.class=Ue(a)),Se(l)&&($s(l)&&!re(l)&&(l=Qe({},l)),t.style=_n(l))}const s=ke(e)?1:fu(e)?128:ep(e)?64:Se(e)?4:ae(e)?2:0;return fe(e,t,n,r,o,s,i,!0)}function _u(e){return e?$s(e)||Zc(e)?Qe({},e):e:null}function Wn(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,u=t?Ys(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&gu(u),ref:t&&t.ref?n&&i?re(i)?i.concat(no(t)):[i,no(t)]:no(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==$e?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wn(e.ssContent),ssFallback:e.ssFallback&&Wn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Fs(c,l.clone(c)),c}function rt(e=" ",t=0){return ie(mn,null,e,t)}function Ye(e="",t=!1){return t?(Z(),Le(bt,null,e)):ie(bt,null,e)}function pt(e){return e==null||typeof e=="boolean"?ie(bt):re(e)?ie($e,null,e.slice()):Gn(e)?Xt(e):ie(mn,null,String(e))}function Xt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wn(e)}function Xs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(re(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Xs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Zc(t)?t._ctx=He:o===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:He},n=32):(t=String(t),r&64?(n=16,t=[rt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ys(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Ue([t.class,r.class]));else if(o==="style")t.style=_n([t.style,r.style]);else if(Pr(o)){const i=t[o],s=r[o];s&&i!==s&&!(re(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function gt(e,t,n,r=null){Nt(e,t,7,[n,r])}const Zp=Xc();let eh=0;function th(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Zp,i={uid:eh++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new fc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:tu(r,o),emitsOptions:uu(r,o),emit:null,emitted:null,propsDefaults:Ee,inheritAttrs:r.inheritAttrs,ctx:Ee,data:Ee,props:Ee,attrs:Ee,slots:Ee,refs:Ee,setupState:Ee,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=jp.bind(null,i),e.ce&&e.ce(i),i}let Fe=null;const At=()=>Fe||He;let bo,Zi;{const e=Wo(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};bo=t("__VUE_INSTANCE_SETTERS__",n=>Fe=n),Zi=t("__VUE_SSR_SETTERS__",n=>qn=n)}const vn=e=>{const t=Fe;return bo(e),e.scope.on(),()=>{e.scope.off(),bo(t)}},es=()=>{Fe&&Fe.scope.off(),bo(null)};function yu(e){return e.vnode.shapeFlag&4}let qn=!1;function nh(e,t=!1,n=!1){t&&Zi(t);const{props:r,children:o}=e.vnode,i=yu(e);Ap(e,r,i,t),Lp(e,o,n||t);const s=i?rh(e,t):void 0;return t&&Zi(!1),s}function rh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,mp);const{setup:r}=n;if(r){zt();const o=e.setupContext=r.length>1?bu(e):null,i=vn(e),s=Lr(r,e,0,[e.props,o]),a=xs(s);if(Gt(),i(),(a||e.sp)&&!pn(e)&&Hs(e),a){if(s.then(es,es),t)return s.then(l=>{ts(e,l)}).catch(l=>{Qn(l,e,0)});e.asyncDep=s}else ts(e,s)}else vu(e)}function ts(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Se(t)&&(e.setupState=kc(t)),vu(e)}function vu(e,t,n){const r=e.type;e.render||(e.render=r.render||It);{const o=vn(e);zt();try{vp(e)}finally{Gt(),o()}}}const oh={get(e,t){return Je(e,"get",""),e[t]}};function bu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,oh),slots:e.slots,emit:e.emit,expose:t}}function ni(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(kc(Bd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in pr)return pr[n](e)},has(t,n){return n in t||n in pr}})):e.proxy}function ih(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function sh(e){return ae(e)&&"__vccOpts"in e}const ue=(e,t)=>Jd(e,t,qn);function bn(e,t,n){const r=(i,s,a)=>{vo(-1);try{return ie(i,s,a)}finally{vo(1)}},o=arguments.length;return o===2?Se(t)&&!re(t)?Gn(t)?r(e,null,[t]):r(e,t):r(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Gn(n)&&(n=[n]),r(e,t,n))}const ah="3.5.21";/**
16
- * @vue/runtime-dom v3.5.21
17
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
18
- * @license MIT
19
- **/let ns;const Ha=typeof window<"u"&&window.trustedTypes;if(Ha)try{ns=Ha.createPolicy("vue",{createHTML:e=>e})}catch{}const wu=ns?e=>ns.createHTML(e):e=>e,lh="http://www.w3.org/2000/svg",ch="http://www.w3.org/1998/Math/MathML",Bt=typeof document<"u"?document:null,Ua=Bt&&Bt.createElement("template"),uh={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Bt.createElementNS(lh,e):t==="mathml"?Bt.createElementNS(ch,e):n?Bt.createElement(e,{is:n}):Bt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Bt.createTextNode(e),createComment:e=>Bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Ua.innerHTML=wu(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Ua.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},fh=Symbol("_vtc");function dh(e,t,n){const r=e[fh];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wo=Symbol("_vod"),Eu=Symbol("_vsh"),ph={name:"show",beforeMount(e,{value:t},{transition:n}){e[wo]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):or(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),or(e,!0),r.enter(e)):r.leave(e,()=>{or(e,!1)}):or(e,t))},beforeUnmount(e,{value:t}){or(e,t)}};function or(e,t){e.style.display=t?e[wo]:"none",e[Eu]=!t}const hh=Symbol(""),mh=/(?:^|;)\s*display\s*:/;function gh(e,t,n){const r=e.style,o=ke(n);let i=!1;if(n&&!o){if(t)if(ke(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&ro(r,a,"")}else for(const s in t)n[s]==null&&ro(r,s,"");for(const s in n)s==="display"&&(i=!0),ro(r,s,n[s])}else if(o){if(t!==n){const s=r[hh];s&&(n+=";"+s),r.cssText=n,i=mh.test(n)}}else t&&e.removeAttribute("style");wo in e&&(e[wo]=i?r.display:"",e[Eu]&&(r.display="none"))}const za=/\s*!important$/;function ro(e,t,n){if(re(n))n.forEach(r=>ro(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=_h(e,t);za.test(n)?e.setProperty(En(r),n.replace(za,""),"important"):e[r]=n}}const Ga=["Webkit","Moz","ms"],Ti={};function _h(e,t){const n=Ti[t];if(n)return n;let r=vt(t);if(r!=="filter"&&r in e)return Ti[t]=r;r=Go(r);for(let o=0;o<Ga.length;o++){const i=Ga[o]+r;if(i in e)return Ti[t]=i}return t}const Wa="http://www.w3.org/1999/xlink";function qa(e,t,n,r,o,i=_d(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Wa,t.slice(6,t.length)):e.setAttributeNS(Wa,t,n):n==null||i&&!lc(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Tt(n)?String(n):n)}function Ka(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?wu(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=lc(n):n==null&&a==="string"?(n="",s=!0):a==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(o||t)}function Ut(e,t,n,r){e.addEventListener(t,n,r)}function yh(e,t,n,r){e.removeEventListener(t,n,r)}const Ja=Symbol("_vei");function vh(e,t,n,r,o=null){const i=e[Ja]||(e[Ja]={}),s=i[t];if(r&&s)s.value=r;else{const[a,l]=bh(t);if(r){const u=i[t]=Sh(r,o);Ut(e,a,u,l)}else s&&(yh(e,a,s,l),i[t]=void 0)}}const Xa=/(?:Once|Passive|Capture)$/;function bh(e){let t;if(Xa.test(e)){t={};let r;for(;r=e.match(Xa);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):En(e.slice(2)),t]}let Ri=0;const wh=Promise.resolve(),Eh=()=>Ri||(wh.then(()=>Ri=0),Ri=Date.now());function Sh(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Nt(Th(r,n.value),t,5,[r])};return n.value=e,n.attached=Eh(),n}function Th(e,t){if(re(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Ya=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Rh=(e,t,n,r,o,i)=>{const s=o==="svg";t==="class"?dh(e,r,s):t==="style"?gh(e,n,r):Pr(t)?ks(t)||vh(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ah(e,t,r,s))?(Ka(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&qa(e,t,r,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ke(r))?Ka(e,vt(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),qa(e,t,r,s))};function Ah(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ya(t)&&ae(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ya(t)&&ke(n)?!1:t in e}const en=e=>{const t=e.props["onUpdate:modelValue"]||!1;return re(t)?n=>Zr(t,n):t};function Ph(e){e.target.composing=!0}function Qa(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const yt=Symbol("_assign"),Za={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[yt]=en(o);const i=r||o.props&&o.props.type==="number";Ut(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=co(a)),e[yt](a)}),n&&Ut(e,"change",()=>{e.value=e.value.trim()}),t||(Ut(e,"compositionstart",Ph),Ut(e,"compositionend",Qa),Ut(e,"change",Qa))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},s){if(e[yt]=en(s),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?co(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},Ch={deep:!0,created(e,t,n){e[yt]=en(n),Ut(e,"change",()=>{const r=e._modelValue,o=Kn(e),i=e.checked,s=e[yt];if(re(r)){const a=Is(r,o),l=a!==-1;if(i&&!l)s(r.concat(o));else if(!i&&l){const u=[...r];u.splice(a,1),s(u)}}else if(Yn(r)){const a=new Set(r);i?a.add(o):a.delete(o),s(a)}else s(Ru(e,i))})},mounted:el,beforeUpdate(e,t,n){e[yt]=en(n),el(e,t,n)}};function el(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(re(t))o=Is(t,r.props.value)>-1;else if(Yn(t))o=t.has(r.props.value);else{if(t===n)return;o=yn(t,Ru(e,!0))}e.checked!==o&&(e.checked=o)}const Su={created(e,{value:t},n){e.checked=yn(t,n.props.value),e[yt]=en(n),Ut(e,"change",()=>{e[yt](Kn(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[yt]=en(r),t!==n&&(e.checked=yn(t,r.props.value))}},Tu={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Yn(t);Ut(e,"change",()=>{const i=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>n?co(Kn(s)):Kn(s));e[yt](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,St(()=>{e._assigning=!1})}),e[yt]=en(r)},mounted(e,{value:t}){tl(e,t)},beforeUpdate(e,t,n){e[yt]=en(n)},updated(e,{value:t}){e._assigning||tl(e,t)}};function tl(e,t){const n=e.multiple,r=re(t);if(!(n&&!r&&!Yn(t))){for(let o=0,i=e.options.length;o<i;o++){const s=e.options[o],a=Kn(s);if(n)if(r){const l=typeof a;l==="string"||l==="number"?s.selected=t.some(u=>String(u)===String(a)):s.selected=Is(t,a)>-1}else s.selected=t.has(a);else if(yn(Kn(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Kn(e){return"_value"in e?e._value:e.value}function Ru(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const kh={created(e,t,n){Fr(e,t,n,null,"created")},mounted(e,t,n){Fr(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Fr(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Fr(e,t,n,r,"updated")}};function Lh(e,t){switch(e){case"SELECT":return Tu;case"TEXTAREA":return Za;default:switch(t){case"checkbox":return Ch;case"radio":return Su;default:return Za}}}function Fr(e,t,n,r,o){const s=Lh(e.tagName,n.props&&n.props.type)[o];s&&s(e,t,n,r)}const Au=Qe({patchProp:Rh},uh);let mr,nl=!1;function xh(){return mr||(mr=Op(Au))}function Oh(){return mr=nl?mr:Ip(Au),nl=!0,mr}const Ih=((...e)=>{const t=xh().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Cu(r);if(!o)return;const i=t._component;!ae(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,Pu(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t}),Dh=((...e)=>{const t=Oh().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Cu(r);if(o)return n(o,!0,Pu(o))},t});function Pu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Cu(e){return ke(e)?document.querySelector(e):e}const Nh=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Mh=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Vh=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function $h(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){jh(e);return}return t}function jh(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Eo(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Vh.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Nh.test(e)||Mh.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,$h)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const Bh=/#/g,Fh=/&/g,Hh=/\//g,Uh=/=/g,Qs=/\+/g,zh=/%5e/gi,Gh=/%60/gi,Wh=/%7c/gi,qh=/%20/gi;function Kh(e){return encodeURI(""+e).replace(Wh,"|")}function rs(e){return Kh(typeof e=="string"?e:JSON.stringify(e)).replace(Qs,"%2B").replace(qh,"+").replace(Bh,"%23").replace(Fh,"%26").replace(Gh,"`").replace(zh,"^").replace(Hh,"%2F")}function Ai(e){return rs(e).replace(Uh,"%3D")}function So(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Jh(e){return So(e.replace(Qs," "))}function Xh(e){return So(e.replace(Qs," "))}function ri(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=Jh(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=Xh(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function Yh(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ai(e)}=${rs(n)}`).join("&"):`${Ai(e)}=${rs(t)}`:Ai(e)}function ku(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Yh(t,e[t])).filter(Boolean).join("&")}const Qh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Zh=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,em=/^([/\\]\s*){2,}[^/\\]/,tm=/^[\s\0]*(blob|data|javascript|vbscript):$/i,nm=/\/$|\/\?|\/#/,rm=/^\.?\//;function tn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Qh.test(e):Zh.test(e)||(t.acceptRelative?em.test(e):!1)}function om(e){return!!e&&tm.test(e)}function os(e="",t){return t?nm.test(e):e.endsWith("/")}function oi(e="",t){if(!t)return(os(e)?e.slice(0,-1):e)||"/";if(!os(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o!==-1&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function To(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(os(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o!==-1&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function im(e=""){return e.startsWith("/")}function rl(e=""){return im(e)?e:"/"+e}function sm(e,t){if(xu(t)||tn(e))return e;const n=oi(t);return e.startsWith(n)?e:Or(n,e)}function am(e,t){if(xu(t))return e;const n=oi(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Lu(e,t){const n=Du(e),r={...ri(n.search),...t};return n.search=ku(r),Nu(n)}function xu(e){return!e||e==="/"}function lm(e){return e&&e!=="/"}function Or(e,...t){let n=e||"";for(const r of t.filter(o=>lm(o)))if(n){const o=r.replace(rm,"");n=To(n)+o}else n=r;return n}function Ou(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const s of n)if(!(!s||s==="/")){for(const[a,l]of s.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&tn(r[0]))continue;r.pop(),o--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),o++}}let i=r.join("/");return o>=0?n[0]?.startsWith("/")&&!i.startsWith("/")?i="/"+i:n[0]?.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,n[n.length-1]?.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function cm(e,t,n={}){return n.trailingSlash||(e=To(e),t=To(t)),n.leadingSlash||(e=rl(e),t=rl(t)),n.encoding||(e=So(e),t=So(t)),e===t}const Iu=Symbol.for("ufo:protocolRelative");function Du(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,p=""]=n;return{protocol:f.toLowerCase(),pathname:p,href:f+p,auth:"",host:"",search:"",hash:""}}if(!tn(e,{acceptRelative:!0}))return ol(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=ol(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:l,search:u,hash:c,[Iu]:!r}}function ol(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Nu(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Iu]?(e.protocol||"")+"//":"")+o+i+t+n+r}class um extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function fm(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,a=new um(s,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[u]}});return a}const dm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function il(e="GET"){return dm.has(e.toUpperCase())}function pm(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const hm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),mm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function gm(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return mm.test(t)?"json":hm.has(t)||t.startsWith("text/")?"text":"blob"}function _m(e,t,n,r){const o=ym(t?.headers??e?.headers,n?.headers,r);let i;return(n?.query||n?.params||t?.params||t?.query)&&(i={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:i,params:i,headers:o}}function ym(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,i);return r}async function Hr(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const vm=new Set([408,409,425,429,500,502,503,504]),bm=new Set([101,204,205,304]);function Mu(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=il(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):vm.has(f))){const p=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return p>0&&await new Promise(d=>setTimeout(d,p)),i(a.request,{...a.options,retry:c-1})}}const u=fm(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(l,u={}){const c={request:l,options:_m(l,u,e.defaults,n),response:void 0,error:void 0};c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&await Hr(c,c.options.onRequest),typeof c.request=="string"&&(c.options.baseURL&&(c.request=sm(c.request,c.options.baseURL)),c.options.query&&(c.request=Lu(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&il(c.options.method)&&(pm(c.options.body)?(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half")));let f;if(!c.options.signal&&c.options.timeout){const d=new r;f=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,d.abort(h)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await Hr(c,c.options.onRequestError),await o(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!bm.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||gm(c.response.headers.get("content-type")||"");switch(d){case"json":{const h=await c.response.text(),_=c.options.parseResponse||Eo;c.response._data=_(h);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await Hr(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Hr(c,c.options.onResponseError),await o(c)):c.response},s=async function(l,u){return(await i(l,u))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={},l={})=>Mu({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),s}const Ro=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),wm=Ro.fetch?(...e)=>Ro.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Em=Ro.Headers,Sm=Ro.AbortController,Tm=Mu({fetch:wm,Headers:Em,AbortController:Sm}),Rm=Tm,Am=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,Zs=()=>Am().app,Pm=()=>Zs().baseURL,Cm=()=>Zs().buildAssetsDir,ea=(...e)=>Ou(Vu(),Cm(),...e),Vu=(...e)=>{const t=Zs(),n=t.cdnURL||t.baseURL;return e.length?Ou(n,...e):n};globalThis.__buildAssetsURL=ea,globalThis.__publicAssetsURL=Vu;globalThis.$fetch||(globalThis.$fetch=Rm.create({baseURL:Pm()}));"global"in globalThis||(globalThis.global=globalThis);function is(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?is(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const km={run:e=>e()},Lm=()=>km,$u=typeof console.createTask<"u"?console.createTask:Lm;function xm(e,t){const n=t.shift(),r=$u(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Om(e,t){const n=t.shift(),r=$u(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Pi(e,t){for(const n of[...e])n(t)}class Im{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=is(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=is(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(xm,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Om,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Pi(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&Pi(this._after,o)}):(this._after&&o&&Pi(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function ju(){return new Im}function Dm(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,a)=>{r(s),t=s;try{return o?o.run(s,a):a()}finally{n||(t=void 0)}},async callAsync(s,a){t=s;const l=()=>{t=s},u=()=>t===s?l:void 0;ss.add(u);try{const c=o?o.run(s,a):a();return n||(t=void 0),await c}finally{ss.delete(u)}}}}function Nm(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Dm({...e,...r})),t[n]}}}const Ao=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},sl="__unctx__",Mm=Ao[sl]||(Ao[sl]=Nm()),Vm=(e,t={})=>Mm.get(e,t),al="__unctx_async_handlers__",ss=Ao[al]||(Ao[al]=new Set);function Bu(e){const t=[];for(const o of ss){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const ll={id:"__nuxt-loader"},$m={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},jm={deep:!1},Bm={},Fm="#__nuxt",Fu="nuxt-app",cl=36e5,Hm="vite:preloadError";function Hu(e=Fu){return Vm(e,{asyncContext:!1})}const Um="__nuxt_plugin";function zm(e){let t=0;const n={_id:e.id||Fu||"nuxt-app",_scope:vd(),provide:void 0,versions:{get nuxt(){return"4.1.2"},get vue(){return n.vueApp.version}},payload:Ln({...e.ssrContext?.payload||{},data:Ln({}),state:Dt({}),once:new Set,_errors:Ln({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!kr()?n._scope.run(()=>ul(n,o)):ul(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Ln({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const i in o)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],o[i]);break;default:n.payload[i]=o[i]}}n.hooks=ju(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Ur(n,s,i),Ur(n.vueApp.config.globalProperties,s,i)},Ur(n.vueApp,"$nuxt",n),Ur(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(Hm,i=>{n.callHook("app:chunkError",{error:i.payload}),i.payload.message.includes("Unable to preload CSS")&&i.preventDefault()}),window.useNuxtApp||=xe;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function Gm(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Wm(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function qm(e,t){const n=new Set,r=[],o=[];let i,s=0;async function a(l){const u=l.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!n.has(c))??[];if(u.length>0)r.push([new Set(u),l]);else{const c=Wm(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([f,p])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(s++,await a(p)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;i||=f});l.parallel?o.push(c):await c}}for(const l of t)Gm(e,l);for(const l of t)await a(l);if(await Promise.all(o),s)for(let l=0;l<s;l++)await Promise.all(o);if(i)throw e.payload.error||i}function Kt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Um]:!0,_name:t})}function ul(e,t,n){const r=()=>t();return Hu(e._id).set(e),e.vueApp.runWithContext(r)}function Km(e){let t;return Gs()&&(t=At()?.appContext.app.$nuxt),t||=Hu(e).tryUse(),t||null}function xe(e){const t=Km(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Jn(e){return xe().$config}function Ur(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Jm(e,t){return{ctx:{table:e},matchAll:n=>zu(n,e)}}function Uu(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Uu(o)])):new Map(Object.entries(e[n]));return t}function Xm(e){return Jm(Uu(e))}function zu(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of fl(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of fl(t.dynamic))if(e.startsWith(i+"/")){const a="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...zu(a,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function fl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Ci(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function as(e,t,n=".",r){if(!Ci(t))return as(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:Ci(s)&&Ci(o[i])?o[i]=as(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function Ym(e){return(...t)=>t.reduce((n,r)=>as(n,r,"",e),{})}const Qm=Ym();function Zm(e,t){try{return t in e}catch{return!1}}class dl extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:ls(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Gu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function eg(e){if(typeof e=="string")return new dl(e);if(tg(e))return e;const t=new dl(e.message??e.statusMessage??"",{cause:e.cause||e});if(Zm(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=ls(e.statusCode,t.statusCode):e.status&&(t.statusCode=ls(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Gu(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function tg(e){return e?.constructor?.__h3_error__===!0}const ng=/[^\u0009\u0020-\u007E]/g;function Gu(e=""){return e.replace(ng,"")}function ls(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Wu=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Mt=()=>xe()?.$router,qu=()=>Gs()?dt(Wu,xe()._route):xe()._route;const rg=()=>{try{if(xe()._processingMiddleware)return!0}catch{return!1}return!1},Ku=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?cs(e):Mt().resolve(e).href;if(t?.open){const{target:l="_blank",windowFeatures:u={}}=t.open,c=[];for(const[f,p]of Object.entries(u))p!==void 0&&c.push(`${f.toLowerCase()}=${p}`);return open(n,l,c.join(", ")),Promise.resolve()}const r=tn(n,{acceptRelative:!0}),o=t?.external||r;if(o){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&om(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const i=rg();if(!o&&i){if(t?.replace){if(typeof e=="string"){const{pathname:l,search:u,hash:c}=Du(e);return{path:l,...u&&{query:ri(u)},...c&&{hash:c},replace:!0}}return{...e,replace:!0}}return e}const s=Mt(),a=xe();return o?(a._scope.stop(),t?.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?s.replace(e):s.push(e)};function cs(e){return Lu(e.path||"",e.query||{})+(e.hash||"")}const Ju="__nuxt_error",ta=()=>js(xe().payload,"error"),og=e=>{const t=ii(e);try{const n=xe(),r=ta();n.hooks.callHook("app:error",t),r.value||=t}catch{throw t}return t},ig=async(e={})=>{const t=xe(),n=ta();t.callHook("app:error:cleared",e),e.redirect&&await Mt().replace(e.redirect),n.value=void 0},sg=e=>!!e&&typeof e=="object"&&Ju in e,ii=e=>{const t=eg(e);return Object.defineProperty(t,Ju,{value:!0,configurable:!1,writable:!1}),t};function ag(e){const t=cg(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let o=0;o<n.byteLength;o++)r.setUint8(o,t.charCodeAt(o));return n}const lg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function cg(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let o=0;o<e.length;o++)n<<=6,n|=lg.indexOf(e[o]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const ug=-1,fg=-2,dg=-3,pg=-4,hg=-5,mg=-6;function gg(e,t){return _g(JSON.parse(e),t)}function _g(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(i,s=!1){if(i===ug)return;if(i===dg)return NaN;if(i===pg)return 1/0;if(i===hg)return-1/0;if(i===mg)return-0;if(s||typeof i!="number")throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],u=t?.[l];if(u)return r[i]=u(o(a[1]));switch(l){case"Date":r[i]=new Date(a[1]);break;case"Set":const c=new Set;r[i]=c;for(let d=1;d<a.length;d+=1)c.add(o(a[d]));break;case"Map":const f=new Map;r[i]=f;for(let d=1;d<a.length;d+=2)f.set(o(a[d]),o(a[d+1]));break;case"RegExp":r[i]=new RegExp(a[1],a[2]);break;case"Object":r[i]=Object(a[1]);break;case"BigInt":r[i]=BigInt(a[1]);break;case"null":const p=Object.create(null);r[i]=p;for(let d=1;d<a.length;d+=2)p[a[d]]=o(a[d+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const d=globalThis[l],h=new d(o(a[1]));r[i]=a[2]!==void 0?h.subarray(a[2],a[3]):h;break}case"ArrayBuffer":{const d=a[1],h=ag(d);r[i]=h;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const d=l.slice(9);r[i]=Temporal[d].from(a[1]);break}case"URL":{const d=new URL(a[1]);r[i]=d;break}case"URLSearchParams":{const d=new URLSearchParams(a[1]);r[i]=d;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[i]=l;for(let u=0;u<a.length;u+=1){const c=a[u];c!==fg&&(l[u]=o(c))}}else{const l={};r[i]=l;for(const u in a){if(u==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const c=a[u];l[u]=o(c)}}return r[i]}return o(0)}const yg=new Set(["link","style","script","noscript"]),vg=new Set(["title","titleTemplate","script","style","noscript"]),pl=new Set(["base","meta","link","style","script","noscript"]),bg=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),wg=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Eg=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Sg=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Tg=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Rg=["name","property","http-equiv"],Ag=new Set(["viewport","description","keywords","robots"]);function Xu(e){const t=e.split(":");return t.length?Tg.has(t[1]):!1}function us(e){const{props:t,tag:n}=e;if(wg.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of Rg)if(t[r]!==void 0){const o=t[r],i=o.includes(":"),s=Ag.has(o),l=!(i||s)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(vg.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function hl(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`}function Po(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let o;if(t&&(o=t(n,e)),Array.isArray(o))return o.map(i=>Po(i,t));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=Po(o[s],t,s);return i}return o}function Pg(e,t){const n=e==="style"?new Map:new Set;function r(o){const i=o.trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(l=>l.trim());s&&a.length&&n.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>n.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?n.set(o.trim(),i):r(o))}),n}function Yu(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=Pg(n,r);return}if(Eg.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let s=t.type;if(t.type||(s="application/json"),!s?.endsWith("json")&&s!=="speculationrules")return;t.type=s,e.props.type=s,e[n]=JSON.stringify(r)}else e[n]=r;return}const o=String(r),i=n.startsWith("data-");o==="true"||o===""?e.props[n]=i?o:!0:!r&&i&&o==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function Cg(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Yu({tag:e,props:{}},n);return r.key&&yg.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function kg(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,i)=>{for(let s=0;s<t.length;s++)i=t[s](o,i);return i};e=n(void 0,e);const r=[];return e=Po(e,n),Object.entries(e||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])r.push(Cg(o,s))}),r.flat()}const ml=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,gl={base:-10,title:10},Lg={critical:-8,high:-1,low:2},_l={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},xg=/@import/,ir=e=>e===""||e===!0;function Og(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Lg[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:_l;if(t.tag in gl)n=gl[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=_l.meta[i])}else t.tag==="link"&&t.props.rel?n=o.link[t.props.rel]:t.tag==="script"?ir(t.props.async)?n=o.script.async:t.props.src&&!ir(t.props.defer)&&!ir(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=o.script.sync:ir(t.props.defer)&&t.props.src&&!ir(t.props.async)&&(n=o.script.defer):t.tag==="style"&&(n=t.innerHTML&&xg.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function yl(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Ig(e={}){const t=ju();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,i=new Set,s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>yl(s,a),push(a,l){const u={...l||{}};delete u.head;const c=u._index??s._entryCount++,f={_i:c,input:a,options:u},p={_poll(d=!1){s.dirty=!0,!d&&i.add(c),t.callHook("entries:updated",s)},dispose(){r.delete(c)&&s.invalidate()},patch(d){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=d,r.set(c,f),p._poll())}};return p.patch(a),p},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const p=i.values().next().value;i.delete(p);const d=r.get(p);if(d){const h={tags:kg(d.input,e.propResolvers||[]).map(_=>Object.assign(_,d.options)),entry:d};await t.callHook("entries:normalize",h),d._tags=h.tags.map((_,y)=>(_._w=Og(s,_),_._p=(d._i<<10)+y,_._d=us(_),_))}}let l=!1;a.entries.flatMap(p=>(p._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(ml).reduce((p,d)=>{const h=String(d._d||d._p);if(!p.has(h))return p.set(h,d);const _=p.get(h);if((d?.tagDuplicateStrategy||(Sg.has(d.tag)?"merge":null)||(d.key&&d.key===_.key?"merge":null))==="merge"){const b={..._.props};Object.entries(d.props).forEach(([w,m])=>b[w]=w==="style"?new Map([..._.props.style||new Map,...m]):w==="class"?new Set([..._.props.class||new Set,...m]):m),p.set(h,{...d,props:b})}else d._p>>10===_._p>>10&&d.tag==="meta"&&Xu(h)?(p.set(h,Object.assign([...Array.isArray(_)?_:[_],d],d)),l=!0):(d._w===_._w?d._p>_._p:d?._w<_?._w)&&p.set(h,d);return p},a.tagMap);const u=a.tagMap.get("title"),c=a.tagMap.get("titleTemplate");if(s._title=u?.textContent,c){const p=c?.textContent;if(s._titleTemplate=p,p){let d=typeof p=="function"?p(u?.textContent):p;typeof d=="string"&&!s.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:d}):(c.tag="title",c.textContent=d)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(ml)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const p of a.tags){const{innerHTML:d,tag:h,props:_}=p;if(bg.has(h)&&!(Object.keys(_).length===0&&!p.innerHTML&&!p.textContent)&&!(h==="meta"&&!_.content&&!_["http-equiv"]&&!_.charset)){if(h==="script"&&d){if(_.type?.endsWith("json")){const y=typeof d=="string"?d:JSON.stringify(d);p.innerHTML=y.replace(/</g,"\\u003C")}else typeof d=="string"&&(p.innerHTML=d.replace(new RegExp(`</${h}`,"g"),`<\\/${h}`));p._d=us(p)}f.push(p)}}return f},invalidate(){for(const a of r.values())i.add(a._i);s.dirty=!0,t.callHook("entries:updated",s)}};return(e?.plugins||[]).forEach(a=>yl(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}const Dg=(e,t)=>we(t)?Ce(t):t,Qu="usehead";function Ng(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Qu,e)}}.install}function Mg(){if(Gs()){const e=dt(Qu);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function IE(e,t={}){const n=t.head||Mg();return n.ssr?n.push(e||{},t):Vg(n,e,t)}function Vg(e,t,n={}){const r=me(!1);let o;return lu(()=>{const s=r.value?{}:Po(t,Dg);o?o.patch(s):o=e.push(s,n)}),At()&&(xr(()=>{o.dispose()}),$c(()=>{r.value=!0}),Vc(()=>{r.value=!1})),o}const $g="modulepreload",jg=function(e,t){return new URL(e,t).href},vl={},g=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");o=u(n.map(c=>{if(c=jg(c,r),c in vl)return;vl[c]=!0;const f=c.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(!!r)for(let _=s.length-1;_>=0;_--){const y=s[_];if(y.href===c&&(!f||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${p}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":$g,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((_,y)=>{h.addEventListener("load",_),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};let oo,io;function Bg(){return oo=$fetch(ea(`builds/meta/${Jn().app.buildId}.json`),{responseType:"json"}),oo.then(e=>{io=Xm(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),oo}function si(){return oo||Bg()}async function na(e){const t=typeof e=="string"?e:e.path;if(await si(),!io)return console.error("[nuxt] Error creating app manifest matcher.",io),{};try{return Qm({},...io.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function bl(e,t={}){if(!await ef(e))return null;const r=await Hg(e,t);return await Zu(r)||null}const Fg="_payload.json";async function Hg(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||tn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Jn(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await ef(e)?i:r.app.baseURL;return Or(s,n.pathname,Fg+(o?`?${o}`:""))}async function Zu(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(tf));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function ef(e=qu().path){const t=xe();return e=oi(e),(await si()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await na({path:e});return!!r.prerender&&!r.redirect})}let rn=null;async function Ug(){if(rn)return rn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await tf(e.textContent||""),n=e.dataset.src?await Zu(e.dataset.src):void 0;return rn={...t,...n,...window.__NUXT__},rn.config?.public&&(rn.config.public=Dt(rn.config.public)),rn}async function tf(e){return await gg(e,xe()._payloadRevivers)}function zg(e,t){xe()._payloadRevivers[e]=t}const Gg=[["NuxtError",e=>ii(e)],["EmptyShallowRef",e=>ze(e==="_"?void 0:e==="0n"?BigInt(0):Eo(e))],["EmptyRef",e=>me(e==="_"?void 0:e==="0n"?BigInt(0):Eo(e))],["ShallowRef",e=>ze(e)],["ShallowReactive",e=>Ln(e)],["Ref",e=>me(e)],["Reactive",e=>Dt(e)]],Wg=Kt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of Gg)zg(r,o);Object.assign(e.payload,([t,n]=Bu(()=>e.runWithContext(Ug)),t=await t,n(),t)),delete window.__NUXT__}});async function ra(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const i=new Map,s=new Promise(d=>{e.resolveTags().then(h=>{d(h.map(_=>{const y=i.get(_._d)||0,b={tag:_,id:(y?`${_._d}:${y}`:_._d)||hl(_),shouldRender:!0};return _._d&&Xu(_._d)&&i.set(_._d,y+1),b}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const h=n[d]?.children;for(const _ of h){const y=_.tagName.toLowerCase();if(!pl.has(y))continue;const b=Yu({tag:y,props:{}},{innerHTML:_.innerHTML,..._.getAttributeNames().reduce((w,m)=>(w[m]=_.getAttribute(m),w),{})||{}});if(b.key=_.getAttribute("data-hid")||void 0,b._d=us(b)||hl(b),a.elMap.has(b._d)){let w=1,m=b._d;for(;a.elMap.has(m);)m=`${b._d}:${w++}`;a.elMap.set(m,_)}else a.elMap.set(b._d,_)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(d,h,_){const y=`${d}:${h}`;a.sideEffects[y]=_,delete a.pendingSideEffects[y]}function u({id:d,$el:h,tag:_}){const y=_.tag.endsWith("Attrs");a.elMap.set(d,h),y||(_.textContent&&_.textContent!==h.textContent&&(h.textContent=_.textContent),_.innerHTML&&_.innerHTML!==h.innerHTML&&(h.innerHTML=_.innerHTML),l(d,"el",()=>{h?.remove(),a.elMap.delete(d)}));for(const b in _.props){if(!Object.prototype.hasOwnProperty.call(_.props,b))continue;const w=_.props[b];if(b.startsWith("on")&&typeof w=="function"){const E=h?.dataset;if(E&&E[`${b}fired`]){const T=b.slice(0,-5);w.call(h,new Event(T.substring(2)))}h.getAttribute(`data-${b}`)!==""&&((_.tag==="bodyAttrs"?n.defaultView:h).addEventListener(b.substring(2),w.bind(h)),h.setAttribute(`data-${b}`,""));continue}const m=`attr:${b}`;if(b==="class"){if(!w)continue;for(const E of w)y&&l(d,`${m}:${E}`,()=>h.classList.remove(E)),!h.classList.contains(E)&&h.classList.add(E)}else if(b==="style"){if(!w)continue;for(const[E,T]of w)l(d,`${m}:${E}`,()=>{h.style.removeProperty(E)}),h.style.setProperty(E,T)}else w!==!1&&w!==null&&(h.getAttribute(b)!==w&&h.setAttribute(b,w===!0?"":String(w)),y&&l(d,m,()=>h.removeAttribute(b)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await s;for(const d of p){const{tag:h,shouldRender:_,id:y}=d;if(_){if(h.tag==="title"){n.title=h.textContent,l("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(y),d.$el?u(d):pl.has(h.tag)&&c.push(d)}}for(const d of c){const h=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[h]=f[h]||n.createDocumentFragment(),f[h].appendChild(d.$el)}for(const d of p)await e.hooks.callHook("dom:renderTag",d,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:p}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function qg(e={}){const t=e.domOptions?.render||ra;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Ig({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Kg(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function Jg(e={}){const t=qg({domOptions:{render:Kg(()=>ra(t),n=>setTimeout(n,0))},...e});return t.install=Ng(t),t}const Xg={disableDefaults:!0},Yg=Kt({name:"nuxt:head",enforce:"pre",setup(e){const t=Jg(Xg);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await ra(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}}),Qg=async e=>{let t,n;const r=([t,n]=Bu(()=>na({path:e.path})),t=await t,n(),t);if(r.redirect)return tn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Zg=[Qg];function ki(e){const t=e&&typeof e=="object"?e:{};typeof e=="object"&&(e=Nu({pathname:e.path||"",search:ku(e.query||{}),hash:e.hash||""}));const n=new URL(e.toString(),window.location.href);return{path:n.pathname,fullPath:e,query:ri(n.search),hash:n.hash,params:t.params||{},name:void 0,matched:t.matched||[],redirectedFrom:void 0,meta:t.meta||{},href:e}}const e_=Kt({name:"nuxt:router",enforce:"pre",setup(e){const t=am(window.location.pathname,Jn().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,p)=>(r[f].push(p),()=>r[f].splice(r[f].indexOf(p),1)),i=Jn().app.baseURL,s=Dt(ki(t));async function a(f,p){try{const d=ki(f);for(const h of r["navigate:before"]){const _=await h(d,s);if(_===!1||_ instanceof Error)return;if(typeof _=="string"&&_.length)return a(_,!0)}for(const h of r["resolve:before"])await h(d,s);Object.assign(s,d),window.history[p?"replaceState":"pushState"]({},"",Or(i,d.fullPath)),e.isHydrating||await e.runWithContext(ig);for(const h of r["navigate:after"])await h(d,s)}catch(d){for(const h of r.error)await h(d)}}const u={currentRoute:ue(()=>s),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>a(f,!1),replace:f=>a(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>o("resolve:before",f),beforeEach:f=>o("navigate:before",f),afterEach:f=>o("navigate:after",f),onError:f=>o("error",f),resolve:ki,addRoute:(f,p)=>{n.push(p)},getRoutes:()=>n,hasRoute:f=>n.some(p=>p.name===f),removeRoute:f=>{const p=n.findIndex(d=>d.name===f);p!==-1&&n.splice(p,1)}};e.vueApp.component("RouterLink",ht({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:p})=>{const d=()=>a(f.to,f.replace);return()=>{const h=u.resolve(f.to);return f.custom?p.default?.({href:f.to,navigate:d,route:h}):bn("a",{href:f.to,onClick:_=>(_.preventDefault(),d())},p)}}})),window.addEventListener("popstate",f=>{const p=f.target.location;u.replace(p.href.replace(p.origin,""))}),e._route=s,e._middleware||={global:[],named:{}};const c=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{u.beforeEach(async(f,p)=>{f.meta=Dt(f.meta||{}),e.isHydrating&&c&&!Wt(f.meta.layout)&&(f.meta.layout=c),e._processingMiddleware=!0;{const d=new Set([...Zg,...e._middleware.global]);{const h=await e.runWithContext(()=>na({path:f.path}));if(h.appMiddleware)for(const _ in h.appMiddleware){const y=e._middleware.named[_];if(!y)return;h.appMiddleware[_]?d.add(y):d.delete(y)}}for(const h of d){const _=await e.runWithContext(()=>h(f,p));if(_!==!0&&(_||_===!1))return _}}}),u.afterEach(()=>{delete e._processingMiddleware}),await u.replace(t),cm(s.fullPath,t)||await e.runWithContext(()=>Ku(s.fullPath))}),{provide:{route:s,router:u}}}}),fs=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),t_=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),ai=e=>{const t=xe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{fs(()=>e())}):fs(()=>e())},n_=Kt({name:"nuxt:payload",setup(e){const t=new Set;Mt().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const o=await bl(n.path);if(o){for(const i of t)delete e.static.data[i];for(const i in o.data)i in e.static.data||t.add(i),e.static.data[i]=o.data[i]}}),ai(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await bl(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(si,1e3)})}}),r_=Kt(()=>{const e=Mt();ai(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),o_=Kt(e=>{let t;async function n(){let r;try{r=await si()}catch(o){const i=o;if(!("status"in i&&(i.status===404||i.status===403)))throw i}t&&clearTimeout(t),t=setTimeout(n,cl);try{const o=await $fetch(ea("builds/latest.json")+`?${Date.now()}`);o.id!==r?.id&&(e.hooks.callHook("app:manifest:update",o),t&&clearTimeout(t))}catch{}}ai(()=>{t=setTimeout(n,cl)})});function i_(e={}){const t=e.path||window.location.pathname;let n={};try{n=Eo(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:xe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const s_=Kt({name:"nuxt:chunk-reload",setup(e){const t=Mt(),n=Jn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const s=Or(n.app.baseURL,i.fullPath);i_({path:s,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),a_=Kt({name:"nuxt:global-components"}),l_=Kt(()=>{}),c_=[Wg,Yg,e_,n_,r_,o_,s_,a_,l_];function u_(e,t){const n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function f_(e={}){const{duration:t=2e3,throttle:n=200,hideDelay:r=500,resetDelay:o=400}=e,i=e.estimatedProgress||u_,s=xe(),a=ze(0),l=ze(!1),u=ze(!1);let c=!1,f,p,d,h;const _=(j={})=>{m(),u.value=!1,y(0,j)};function y(j=0,K={}){if(s.isHydrating)return;if(j>=100)return w({force:K.force});E(),a.value=j<0?0:j;const q=K.force?0:n;q?p=setTimeout(()=>{l.value=!0,T()},q):(l.value=!0,T())}function b(){d=setTimeout(()=>{l.value=!1,h=setTimeout(()=>{a.value=0},o)},r)}function w(j={}){a.value=100,c=!0,E(),m(),j.error&&(u.value=!0),j.force?(a.value=0,l.value=!1):b()}function m(){clearTimeout(d),clearTimeout(h)}function E(){clearTimeout(p),cancelAnimationFrame(f)}function T(){c=!1;let j;function K(q){if(c)return;j??=q;const H=q-j;a.value=Math.max(0,Math.min(100,i(t,H))),f=requestAnimationFrame(K)}f=requestAnimationFrame(K)}let L=()=>{};{const j=s.hook("page:loading:start",()=>{_()}),K=s.hook("page:loading:end",()=>{w()}),q=s.hook("vue:error",()=>w());L=()=>{q(),j(),K(),E()}}return{_cleanup:L,progress:ue(()=>a.value),isLoading:ue(()=>l.value),error:ue(()=>u.value),start:_,set:y,finish:w,clear:E}}function d_(e={}){const t=xe(),n=t._loadingIndicator||=f_(e);return kr()&&(t._loadingIndicatorDeps||=0,t._loadingIndicatorDeps++,Ds(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}const p_=ht({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},hideDelay:{type:Number,default:500},resetDelay:{type:Number,default:400},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"},errorColor:{type:String,default:"repeating-linear-gradient(to right,#f87171 0%,#ef4444 100%)"},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){const{progress:r,isLoading:o,error:i,start:s,finish:a,clear:l}=d_({duration:e.duration,throttle:e.throttle,hideDelay:e.hideDelay,resetDelay:e.resetDelay,estimatedProgress:e.estimatedProgress});return n({progress:r,isLoading:o,error:i,start:s,finish:a,clear:l}),()=>bn("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:o.value?1:0,background:i.value?e.errorColor:e.color||void 0,backgroundSize:`${r.value>0?100/r.value*100:0}% auto`,transform:`scaleX(${r.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});let nf;function Fn(e){nf?.(e)}function h_(e){nf=e}const m_={__name:"NNotification",setup(e){const t=me(!1),n=me(),r=me(),o=me(),i=me("top-center");return h_(s=>{r.value=s.message,n.value=s.icon,o.value=s.classes??"text-primary border-primary",n.value=s.icon,t.value=!0,i.value=s.position??"top-center",setTimeout(()=>{t.value=!1},s.duration??1500)}),(s,a)=>(Z(),pe("div",{fixed:"","left-0":"","right-0":"","z-999":"","text-center":"",class:Ue([{"pointer-events-none overflow-hidden":!t.value},{"top-0":i.value.startsWith("top")},{"bottom-0":i.value.startsWith("bottom")}])},[fe("div",{flex:"",style:_n({justifyContent:i.value.includes("right")?"right":i.value.includes("left")?"left":"center"})},[fe("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","bg-base":"","px-4":"","py-1":"","transition-all":"","duration-300":"",style:_n(t.value?{}:{transform:`translateY(${i.value.startsWith("top")?"-":""}300%)`}),class:Ue([t.value?"shadow":"shadow-none",o.value])},[n.value?(Z(),pe("div",{key:0,class:Ue(n.value)},null,2)):Ye("",!0),fe("div",null,Rt(r.value),1)],6)],4)],2))}},Sn={__name:"NIcon",props:{icon:{type:String,required:!1}},setup(e){return(t,n)=>(Z(),pe("div",{class:Ue(["n-icon",e.icon])},null,2))}};async function rf(e,t=Mt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const o=t._preloadPromises||=[];if(o.length>4)return Promise.all(o).then(()=>rf(e,t));t._routePreloaded.add(n);for(const i of r){const s=i.components?.default;if(typeof s!="function")continue;const a=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const g_=(...e)=>e.find(t=>t!==void 0);function __(e){const t=e.componentName||"NuxtLink";function n(i){return typeof i=="string"&&i.startsWith("#")}function r(i,s,a){const l=a??e.trailingSlash;if(!i||l!=="append"&&l!=="remove")return i;if(typeof i=="string")return zr(i,l);const u="path"in i&&i.path!==void 0?i.path:s(i).path;return{...i,name:void 0,path:zr(u,l)}}function o(i){const s=Mt(),a=Jn(),l=ue(()=>!!i.target&&i.target!=="_self"),u=ue(()=>{const y=i.to||i.href||"";return typeof y=="string"&&tn(y,{acceptRelative:!0})}),c=Oa("RouterLink"),f=typeof c!="string"?c.useLink:void 0,p=ue(()=>{if(i.external)return!0;const y=i.to||i.href||"";return typeof y=="object"?!1:y===""||u.value}),d=ue(()=>{const y=i.to||i.href||"";return p.value?y:r(y,s.resolve,i.trailingSlash)}),h=p.value?void 0:f?.({...i,to:d}),_=ue(()=>{const y=i.trailingSlash??e.trailingSlash;if(!d.value||u.value||n(d.value))return d.value;if(p.value){const b=typeof d.value=="object"&&"path"in d.value?cs(d.value):d.value,w=typeof b=="object"?s.resolve(b).href:b;return zr(w,y)}return typeof d.value=="object"?s.resolve(d.value)?.href??null:zr(Or(a.app.baseURL,d.value),y)});return{to:d,hasTarget:l,isAbsoluteUrl:u,isExternal:p,href:_,isActive:h?.isActive??ue(()=>d.value===s.currentRoute.value.path),isExactActive:h?.isExactActive??ue(()=>d.value===s.currentRoute.value.path),route:h?.route??ue(()=>s.resolve(d.value)),async navigate(y){await Ku(_.value,{replace:i.replace,external:p.value||l.value})}}}return ht({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:o,setup(i,{slots:s}){const a=Mt(),{to:l,href:u,navigate:c,isExternal:f,hasTarget:p,isAbsoluteUrl:d}=o(i),h=ze(!1),_=me(null),y=m=>{_.value=i.custom?m?.$el?.nextElementSibling:m?.$el};function b(m){return!h.value&&(typeof i.prefetchOn=="string"?i.prefetchOn===m:i.prefetchOn?.[m]??e.prefetchOn?.[m])&&(i.prefetch??e.prefetch)!==!1&&i.noPrefetch!==!0&&i.target!=="_blank"&&!w_()}async function w(m=xe()){if(h.value)return;h.value=!0;const E=typeof l.value=="string"?l.value:f.value?cs(l.value):a.resolve(l.value).fullPath,T=f.value?new URL(E,window.location.href).href:E;await Promise.all([m.hooks.callHook("link:prefetch",T).catch(()=>{}),!f.value&&!p.value&&rf(l.value,a).catch(()=>{})])}if(b("visibility")){const m=xe();let E,T=null;Zn(()=>{const L=v_();ai(()=>{E=fs(()=>{_?.value?.tagName&&(T=L.observe(_.value,async()=>{T?.(),T=null,await w(m)}))})})}),xr(()=>{E&&t_(E),T?.(),T=null})}return()=>{if(!f.value&&!p.value&&!n(l.value)){const T={ref:y,to:l.value,activeClass:i.activeClass||e.activeClass,exactActiveClass:i.exactActiveClass||e.exactActiveClass,replace:i.replace,ariaCurrentValue:i.ariaCurrentValue,custom:i.custom};return i.custom||(b("interaction")&&(T.onPointerenter=w.bind(null,void 0),T.onFocus=w.bind(null,void 0)),h.value&&(T.class=i.prefetchedClass||e.prefetchedClass),T.rel=i.rel||void 0),bn(Oa("RouterLink"),T,s.default)}const m=i.target||null,E=g_(i.noRel?"":i.rel,e.externalRelAttribute,d.value||p.value?"noopener noreferrer":"")||null;return i.custom?s.default?s.default({href:u.value,navigate:c,prefetch:w,get route(){if(!u.value)return;const T=new URL(u.value,window.location.href);return{path:T.pathname,fullPath:T.pathname,get query(){return ri(T.search)},hash:T.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:E,target:m,isExternal:f.value||p.value,isActive:!1,isExactActive:!1}):null:bn("a",{ref:_,href:u.value||null,rel:E,target:m,onClick:T=>{if(!(f.value||p.value))return T.preventDefault(),i.replace?a.replace(u.value):a.push(u.value)}},s.default?.())}}})}const y_=__($m);function zr(e,t){const n=t==="append"?To:oi;return tn(e)&&!e.startsWith("http")?e:n(e,!0)}function v_(){const e=xe();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||=new IntersectionObserver(a=>{for(const l of a){const u=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&u&&u()}}),n.set(i,s),t.observe(i),()=>{n.delete(i),t?.unobserve(i),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const b_=/2g/;function w_(){const e=navigator.connection;return!!(e&&(e.saveData||b_.test(e.effectiveType)))}const oa=ht({name:"NButton",props:{to:String,icon:String,border:{type:Boolean,default:!0},disabled:Boolean,type:{type:String,default:"button"}},setup(e,{attrs:t,slots:n}){return()=>bn(e.to?y_:"button",{to:e.to,...t,...!e.to&&{type:e.type},...e.disabled?{disabled:!0}:{tabindex:0},class:[e.border?"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":"",n.default?"":"n-icon-button","n-button n-transition n-disabled:n-disabled"].join(" ")},{default:()=>[Ze(n,"icon",{},()=>e.icon?[bn(Sn,{icon:e.icon,class:n.default?"n-button-icon":""})]:[]),Ze(n,"default")]})}}),ia=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},E_={},S_={class:"n-loading n-panel-grids-center"},T_={class:"flex flex-col animate-pulse items-center text-lg"};function R_(e,t){return Z(),pe("div",S_,[fe("div",T_,[t[1]||(t[1]=fe("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1)),Ze(e.$slots,"default",{},()=>[t[0]||(t[0]=rt(" Loading... ",-1))])])])}const of=Object.assign(ia(E_,[["render",R_]]),{__name:"NLoading"}),A_={class:"n-tip n-tip-base"},sf={__name:"NTip",props:{icon:{type:String,required:!1}},setup(e){return(t,n)=>{const r=Sn;return Z(),pe("div",A_,[Ze(t.$slots,"icon",{},()=>[e.icon?(Z(),Le(r,{key:0,icon:e.icon,class:"n-tip-icon"},null,8,["icon"])):Ye("",!0)]),fe("div",null,[Ze(t.$slots,"default")])])}}},P_={},C_={class:"n-card n-card-base"};function k_(e,t){return Z(),pe("div",C_,[Ze(e.$slots,"default")])}const li=Object.assign(ia(P_,[["render",k_]]),{__name:"NCard"}),L_={flex:"~ gap-3","items-center":""},x_={__name:"NIconTitle",props:{icon:{type:String,required:!1},text:{type:String,required:!1}},setup(e){return(t,n)=>(Z(),pe("div",L_,[e.icon?(Z(),pe("div",{key:0,class:Ue(e.icon)},null,2)):Ye("",!0),Ze(t.$slots,"default",{},()=>[fe("div",null,Rt(e.text),1)])]))}},O_={},I_={class:"n-badge"};function D_(e,t){return Z(),pe("span",I_,[Ze(e.$slots,"default")])}const af=Object.assign(ia(O_,[["render",D_]]),{__name:"NBadge"});function sa(e){return kr()?(Ds(e),!0):!1}const ci=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const N_=e=>typeof e<"u",M_=e=>e!=null,V_=Object.prototype.toString,$_=e=>V_.call(e)==="[object Object]",an=()=>{},j_=B_();function B_(){var e,t;return ci&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function F_(...e){if(e.length!==1)return js(...e);const t=e[0];return typeof t=="function"?Xo(zd(()=>({get:t,set:an}))):me(t)}function H_(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const lf=e=>e();function U_(e=lf,t={}){const{initialState:n="active"}=t,r=F_(n==="active");function o(){r.value=!1}function i(){r.value=!0}const s=(...a)=>{r.value&&e(...a)};return{isActive:Xo(r),pause:o,resume:i,eventFilter:s}}function z_(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function so(e){return Array.isArray(e)?e:[e]}function G_(e){return At()}function W_(e,t,n={}){const{eventFilter:r=lf,...o}=n;return je(e,H_(r,t),o)}function q_(e,t,n={}){const{eventFilter:r,initialState:o="active",...i}=n,{eventFilter:s,pause:a,resume:l,isActive:u}=U_(r,{initialState:o});return{stop:W_(e,t,{...i,eventFilter:s}),pause:a,resume:l,isActive:u}}function K_(e,t=!0,n){G_()?Zn(e,n):t?e():St(e)}function J_(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,i=ze(!1);let s;function a(){s&&(clearTimeout(s),s=void 0)}function l(){i.value=!1,a()}function u(...c){o&&e(),a(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,e(...c)},Ce(t))}return r&&(i.value=!0,ci&&u()),sa(l),{isPending:jd(i),start:u,stop:l}}function X_(e,t,n){return je(e,t,{...n,immediate:!0})}const Er=ci?window:void 0,cf=ci?window.navigator:void 0;function On(e){var t;const n=Ce(e);return(t=n?.$el)!=null?t:n}function gn(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},r=(a,l,u,c)=>(a.addEventListener(l,u,c),()=>a.removeEventListener(l,u,c)),o=ue(()=>{const a=so(Ce(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=X_(()=>{var a,l;return[(l=(a=o.value)==null?void 0:a.map(u=>On(u)))!=null?l:[Er].filter(u=>u!=null),so(Ce(o.value?e[1]:e[0])),so(Q(o.value?e[2]:e[1])),Ce(o.value?e[3]:e[2])]},([a,l,u,c])=>{if(n(),!a?.length||!l?.length||!u?.length)return;const f=$_(c)?{...c}:c;t.push(...a.flatMap(p=>l.flatMap(d=>u.map(h=>r(p,d,h,f)))))},{flush:"post"}),s=()=>{i(),n()};return sa(n),s}let wl=!1;function Y_(e,t,n={}){const{window:r=Er,ignore:o=[],capture:i=!0,detectIframe:s=!1,controls:a=!1}=n;if(!r)return a?{stop:an,cancel:an,trigger:an}:an;if(j_&&!wl){wl=!0;const y={passive:!0};Array.from(r.document.body.children).forEach(b=>b.addEventListener("click",an,y)),r.document.documentElement.addEventListener("click",an,y)}let l=!0;const u=y=>Ce(o).some(b=>{if(typeof b=="string")return Array.from(r.document.querySelectorAll(b)).some(w=>w===y.target||y.composedPath().includes(w));{const w=On(b);return w&&(y.target===w||y.composedPath().includes(w))}});function c(y){const b=Ce(y);return b&&b.$.subTree.shapeFlag===16}function f(y,b){const w=Ce(y),m=w.$.subTree&&w.$.subTree.children;return m==null||!Array.isArray(m)?!1:m.some(E=>E.el===b.target||b.composedPath().includes(E.el))}const p=y=>{const b=On(e);if(y.target!=null&&!(!(b instanceof Element)&&c(e)&&f(e,y))&&!(!b||b===y.target||y.composedPath().includes(b))){if("detail"in y&&y.detail===0&&(l=!u(y)),!l){l=!0;return}t(y)}};let d=!1;const h=[gn(r,"click",y=>{d||(d=!0,setTimeout(()=>{d=!1},0),p(y))},{passive:!0,capture:i}),gn(r,"pointerdown",y=>{const b=On(e);l=!u(y)&&!!(b&&!y.composedPath().includes(b))},{passive:!0}),s&&gn(r,"blur",y=>{setTimeout(()=>{var b;const w=On(e);((b=r.document.activeElement)==null?void 0:b.tagName)==="IFRAME"&&!w?.contains(r.document.activeElement)&&t(y)},0)},{passive:!0})].filter(Boolean),_=()=>h.forEach(y=>y());return a?{stop:_,cancel:()=>{l=!1},trigger:y=>{l=!0,p(y),l=!1}}:_}function Q_(){const e=ze(!1),t=At();return t&&Zn(()=>{e.value=!0},t),e}function uf(e){const t=Q_();return ue(()=>(t.value,!!e()))}function El(e,t={}){const{controls:n=!1,navigator:r=cf}=t,o=uf(()=>r&&"permissions"in r),i=ze(),s=typeof e=="string"?{name:e}:e,a=ze(),l=()=>{var c,f;a.value=(f=(c=i.value)==null?void 0:c.state)!=null?f:"prompt"};gn(i,"change",l,{passive:!0});const u=z_(async()=>{if(o.value){if(!i.value)try{i.value=await r.permissions.query(s)}catch{i.value=void 0}finally{l()}if(n)return ge(i.value)}});return u(),n?{state:a,isSupported:o,query:u}:a}function Z_(e={}){const{navigator:t=cf,read:n=!1,source:r,copiedDuring:o=1500,legacy:i=!1}=e,s=uf(()=>t&&"clipboard"in t),a=El("clipboard-read"),l=El("clipboard-write"),u=ue(()=>s.value||i),c=ze(""),f=ze(!1),p=J_(()=>f.value=!1,o,{immediate:!1});async function d(){let w=!(s.value&&b(a.value));if(!w)try{c.value=await t.clipboard.readText()}catch{w=!0}w&&(c.value=y())}u.value&&n&&gn(["copy","cut"],d,{passive:!0});async function h(w=Ce(r)){if(u.value&&w!=null){let m=!(s.value&&b(l.value));if(!m)try{await t.clipboard.writeText(w)}catch{m=!0}m&&_(w),c.value=w,f.value=!0,p.start()}}function _(w){const m=document.createElement("textarea");m.value=w??"",m.style.position="absolute",m.style.opacity="0",document.body.appendChild(m),m.select(),document.execCommand("copy"),m.remove()}function y(){var w,m,E;return(E=(m=(w=document?.getSelection)==null?void 0:w.call(document))==null?void 0:m.toString())!=null?E:""}function b(w){return w==="granted"||w==="prompt"}return{isSupported:u,text:c,copied:f,copy:h}}function ey(e){return JSON.parse(JSON.stringify(e))}const Gr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Wr="__vueuse_ssr_handlers__",ty=ny();function ny(){return Wr in Gr||(Gr[Wr]=Gr[Wr]||{}),Gr[Wr]}function ry(e,t){return ty[e]||t}function oy(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const iy={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Sl="vueuse-storage";function sy(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:f=Er,eventFilter:p,onError:d=R=>{console.error(R)},initOnMounted:h}=r,_=(c?ze:me)(typeof t=="function"?t():t),y=ue(()=>Ce(e));if(!n)try{n=ry("getDefaultStorage",()=>{var R;return(R=Er)==null?void 0:R.localStorage})()}catch(R){d(R)}if(!n)return _;const b=Ce(t),w=oy(b),m=(o=r.serializer)!=null?o:iy[w],{pause:E,resume:T}=q_(_,R=>H(R),{flush:i,deep:s,eventFilter:p});je(y,()=>X(),{flush:i});let L=!1;const j=R=>{h&&!L||X(R)},K=R=>{h&&!L||A(R)};f&&a&&(n instanceof Storage?gn(f,"storage",j,{passive:!0}):gn(f,Sl,K)),h?K_(()=>{L=!0,X()}):X();function q(R,D){if(f){const k={key:y.value,oldValue:R,newValue:D,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",k):new CustomEvent(Sl,{detail:k}))}}function H(R){try{const D=n.getItem(y.value);if(R==null)q(D,null),n.removeItem(y.value);else{const k=m.write(R);D!==k&&(n.setItem(y.value,k),q(D,k))}}catch(D){d(D)}}function se(R){const D=R?R.newValue:n.getItem(y.value);if(D==null)return l&&b!=null&&n.setItem(y.value,m.write(b)),b;if(!R&&u){const k=m.read(D);return typeof u=="function"?u(k,b):w==="object"&&!Array.isArray(k)?{...b,...k}:k}else return typeof D!="string"?D:m.read(D)}function X(R){if(!(R&&R.storageArea!==n)){if(R&&R.key==null){_.value=b;return}if(!(R&&R.key!==y.value)){E();try{const D=m.write(_.value);(R===void 0||R?.newValue!==D)&&(_.value=se(R))}catch(D){d(D)}finally{R?St(T):T()}}}}function A(R){X(R.detail)}return _}function ay(e,t,n={}){const{window:r=Er}=n;return sy(e,t,r?.localStorage,n)}function ui(e,t,n,r={}){var o,i,s;const{clone:a=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:f,shouldEmit:p}=r,d=At(),h=n||d?.emit||((o=d?.$emit)==null?void 0:o.bind(d))||((s=(i=d?.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(d?.proxy));let _=u;_=_||`update:${t.toString()}`;const y=m=>a?typeof a=="function"?a(m):ey(m):m,b=()=>N_(e[t])?y(e[t]):f,w=m=>{p?p(m)&&h(_,m):h(_,m)};if(l){const m=b(),E=me(m);let T=!1;return je(()=>e[t],L=>{T||(T=!0,E.value=y(L),St(()=>T=!1))}),je(E,L=>{!T&&(L!==e[t]||c)&&w(L)},{deep:c}),E}else return ue({get(){return b()},set(m){w(m)}})}const ly=["disabled"],cy={key:0,value:"",disabled:"",hidden:""},uy={__name:"NSelect",props:{modelValue:{type:null,required:!1,default:void 0},placeholder:{type:String,required:!1,default:""},icon:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1}},emits:[],setup(e,{emit:t}){const o=ui(e,"modelValue",t,{passive:!0});return(i,s)=>{const a=Sn;return Z(),pe("div",{class:Ue(["n-select flex flex items-center border rounded n-bg-base px-2 py-1 focus-within:border-context focus-within:n-focus-base",e.disabled?"border-gray:10":"n-border-base"])},[Ze(i.$slots,"icon",{},()=>[e.icon?(Z(),Le(a,{key:0,icon:e.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):Ye("",!0)]),Qo(fe("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>we(o)?o.value=l:null),disabled:e.disabled,class:Ue(["w-full flex-auto n-bg-base !outline-none",e.disabled?"appearance-none":""])},[e.placeholder?(Z(),pe("option",cy,Rt(e.placeholder),1)):Ye("",!0),Ze(i.$slots,"default")],10,ly),[[Tu,Q(o)]])],2)}}},fy={class:"space-y-2"},dy={class:"flex items-center justify-between"},py=["value"],hy=ht({__name:"EmailTemplateSelector",props:{emailTemplates:{},selectedTemplate:{}},emits:["select"],setup(e){return(t,n)=>{const r=x_,o=af,i=uy,s=li;return Z(),pe("div",fy,[fe("div",dy,[ie(r,{text:"Select a template:",icon:"carbon:list"}),ie(o,null,{default:Pe(()=>[rt(Rt(t.emailTemplates.length)+" templates ",1)]),_:1})]),t.emailTemplates.length>0?(Z(),Le(s,{key:0,class:"grid gap-3"},{default:Pe(()=>[ie(i,{"model-value":t.selectedTemplate,"onUpdate:modelValue":n[0]||(n[0]=a=>t.$emit("select",a))},{default:Pe(()=>[(Z(!0),pe($e,null,Wc(t.emailTemplates,a=>(Z(),pe("option",{key:a.filename,value:a},Rt(a.filename),9,py))),128))]),_:1},8,["model-value"])]),_:1})):Ye("",!0)])}}}),my=Object.assign(hy,{__name:"EmailTemplateSelector"}),gy={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded n-bg-base"},_y=["disabled","title"],yy=["disabled","value","title"],vy={__name:"NSelectTabs",props:{modelValue:{type:null,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:!1},options:{type:Array,required:!0}},emits:[],setup(e,{emit:t}){const o=ui(e,"modelValue",t,{passive:!0});return(i,s)=>(Z(),pe("fieldset",gy,[(Z(!0),pe($e,null,Wc(e.options,(a,l)=>(Z(),pe("label",{key:a.label,disabled:e.disabled,class:Ue(["relative n-border-base px-0.5em py-0.1em hover:n-bg-active",[l?"border-l n-border-base ml--1px":"",a.value===Q(o)?"n-bg-active":""]]),title:a.label},[fe("div",{class:Ue([a.value===Q(o)?"":"op35"])},Rt(a.label),3),Qo(fe("input",{"onUpdate:modelValue":s[0]||(s[0]=u=>we(o)?o.value=u:null),type:"radio",disabled:e.disabled,value:a.value,title:a.label,class:"absolute inset-0 op-0.1"},null,8,yy),[[Su,Q(o)]])],10,_y))),128))]))}},by=ht({__name:"BaseButton",props:{isLoading:{type:Boolean},isDisabled:{type:Boolean},icon:{}},setup(e){return(t,n)=>{const r=Sn,o=oa;return Z(),Le(o,{disabled:t.isLoading||t.isDisabled},{icon:Pe(()=>[ie(r,{icon:t.isLoading?"carbon:circle-dash":t.icon,class:Ue({"animate-spin":t.isLoading})},null,8,["icon","class"])]),default:Pe(()=>[Ze(t.$slots,"default")]),_:3},8,["disabled"])}}}),ds=Object.assign(by,{__name:"BaseButton"}),wy={class:"n-text-input flex flex items-center border n-border-base rounded n-bg-base py-1 pl-1 pr-2 focus-within:border-context focus-within:n-focus-base"},Ey={__name:"NTextInput",props:{modelValue:{type:[String,Number],required:!1,default:""},icon:{type:String,required:!1},placeholder:{type:String,required:!1},disabled:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},readonly:{type:Boolean,required:!1},type:{type:String,required:!1,default:"text"}},emits:["keydown","keyup","change"],setup(e,{emit:t}){const o=ui(e,"modelValue",t,{passive:!0});return(i,s)=>{const a=Sn;return Z(),pe("div",wy,[Ze(i.$slots,"icon",{},()=>[e.icon?(Z(),Le(a,{key:0,icon:e.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Ye("",!0)]),Qo(fe("input",Ys({"onUpdate:modelValue":s[0]||(s[0]=l=>we(o)?o.value=l:null)},i.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[kh,Q(o)]])])}}};/*!
20
- * tabbable 6.2.0
21
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
22
- */var ff=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Co=ff.join(","),df=typeof Element>"u",wn=df?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ko=!df&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},Lo=function e(t,n){var r;n===void 0&&(n=!0);var o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),i=o===""||o==="true",s=i||n&&t&&e(t.parentNode);return s},Sy=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},pf=function(t,n,r){if(Lo(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Co));return n&&wn.call(t,Co)&&o.unshift(t),o=o.filter(r),o},hf=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var s=i.shift();if(!Lo(s,!1))if(s.tagName==="SLOT"){var a=s.assignedElements(),l=a.length?a:s.children,u=e(l,!0,r);r.flatten?o.push.apply(o,u):o.push({scopeParent:s,candidates:u})}else{var c=wn.call(s,Co);c&&r.filter(s)&&(n||!t.includes(s))&&o.push(s);var f=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),p=!Lo(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(s));if(f&&p){var d=e(f===!0?s.children:f.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:s,candidates:d})}else i.unshift.apply(i,s.children)}}return o},mf=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},cn=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Sy(t))&&!mf(t)?0:t.tabIndex},Ty=function(t,n){var r=cn(t);return r<0&&n&&!mf(t)?0:r},Ry=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},gf=function(t){return t.tagName==="INPUT"},Ay=function(t){return gf(t)&&t.type==="hidden"},Py=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},Cy=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},ky=function(t){if(!t.name)return!0;var n=t.form||ko(t),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(t.name));else try{o=r(t.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var i=Cy(o,t.form);return!i||i===t},Ly=function(t){return gf(t)&&t.type==="radio"},xy=function(t){return Ly(t)&&!ky(t)},Oy=function(t){var n,r=t&&ko(t),o=(n=r)===null||n===void 0?void 0:n.host,i=!1;if(r&&r!==t){var s,a,l;for(i=!!((s=o)!==null&&s!==void 0&&(a=s.ownerDocument)!==null&&a!==void 0&&a.contains(o)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!i&&o;){var u,c,f;r=ko(o),o=(u=r)===null||u===void 0?void 0:u.host,i=!!((c=o)!==null&&c!==void 0&&(f=c.ownerDocument)!==null&&f!==void 0&&f.contains(o))}}return i},Tl=function(t){var n=t.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},Iy=function(t,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var i=wn.call(t,"details>summary:first-of-type"),s=i?t.parentElement:t;if(wn.call(s,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof o=="function"){for(var a=t;t;){var l=t.parentElement,u=ko(t);if(l&&!l.shadowRoot&&o(l)===!0)return Tl(t);t.assignedSlot?t=t.assignedSlot:!l&&u!==t.ownerDocument?t=u.host:t=l}t=a}if(Oy(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Tl(t);return!1},Dy=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var o=n.children.item(r);if(o.tagName==="LEGEND")return wn.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},xo=function(t,n){return!(n.disabled||Lo(n)||Ay(n)||Iy(n,t)||Py(n)||Dy(n))},ps=function(t,n){return!(xy(n)||cn(n)<0||!xo(t,n))},Ny=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},My=function e(t){var n=[],r=[];return t.forEach(function(o,i){var s=!!o.scopeParent,a=s?o.scopeParent:o,l=Ty(a,s),u=s?e(o.candidates):a;l===0?s?n.push.apply(n,u):n.push(a):r.push({documentOrder:i,tabIndex:l,item:o,isScope:s,content:u})}),r.sort(Ry).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},Vy=function(t,n){n=n||{};var r;return n.getShadowRoot?r=hf([t],n.includeContainer,{filter:ps.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Ny}):r=pf(t,n.includeContainer,ps.bind(null,n)),My(r)},$y=function(t,n){n=n||{};var r;return n.getShadowRoot?r=hf([t],n.includeContainer,{filter:xo.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=pf(t,n.includeContainer,xo.bind(null,n)),r},Pn=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return wn.call(t,Co)===!1?!1:ps(n,t)},jy=ff.concat("iframe").join(","),Li=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return wn.call(t,jy)===!1?!1:xo(n,t)};/*!
23
- * focus-trap 7.6.5
24
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
25
- */function hs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function By(e){if(Array.isArray(e))return hs(e)}function Fy(e,t,n){return(t=Wy(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hy(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Uy(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
26
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Al(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rl(Object(n),!0).forEach(function(r){Fy(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function zy(e){return By(e)||Hy(e)||qy(e)||Uy()}function Gy(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wy(e){var t=Gy(e,"string");return typeof t=="symbol"?t:t+""}function qy(e,t){if(e){if(typeof e=="string")return hs(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hs(e,t):void 0}}var Pl={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r._setPausedState(!0)}var o=t.indexOf(n);o===-1||t.splice(o,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&!t[t.length-1]._isManuallyPaused()&&t[t.length-1]._setPausedState(!1)}},Ky=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Jy=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},gr=function(t){return t?.key==="Tab"||t?.keyCode===9},Xy=function(t){return gr(t)&&!t.shiftKey},Yy=function(t){return gr(t)&&t.shiftKey},Cl=function(t){return setTimeout(t,0)},sr=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return typeof t=="function"?t.apply(void 0,r):t},qr=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},Qy=[],Zy=function(t,n){var r=n?.document||document,o=n?.trapStack||Qy,i=Al({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Xy,isKeyBackward:Yy},n),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function(A,R,D){return A&&A[R]!==void 0?A[R]:i[D||R]},u=function(A,R){var D=typeof R?.composedPath=="function"?R.composedPath():void 0;return s.containerGroups.findIndex(function(k){var J=k.container,B=k.tabbableNodes;return J.contains(A)||D?.includes(J)||B.find(function(ee){return ee===A})})},c=function(A){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D=R.hasFallback,k=D===void 0?!1:D,J=R.params,B=J===void 0?[]:J,ee=i[A];if(typeof ee=="function"&&(ee=ee.apply(void 0,zy(B))),ee===!0&&(ee=void 0),!ee){if(ee===void 0||ee===!1)return ee;throw new Error("`".concat(A,"` was specified but was not a node, or did not return a node"))}var ve=ee;if(typeof ee=="string"){try{ve=r.querySelector(ee)}catch(be){throw new Error("`".concat(A,'` appears to be an invalid selector; error="').concat(be.message,'"'))}if(!ve&&!k)throw new Error("`".concat(A,"` as selector refers to no known node"))}return ve},f=function(){var A=c("initialFocus",{hasFallback:!0});if(A===!1)return!1;if(A===void 0||A&&!Li(A,i.tabbableOptions))if(u(r.activeElement)>=0)A=r.activeElement;else{var R=s.tabbableGroups[0],D=R&&R.firstTabbableNode;A=D||c("fallbackFocus")}else A===null&&(A=c("fallbackFocus"));if(!A)throw new Error("Your focus-trap needs to have at least one focusable element");return A},p=function(){if(s.containerGroups=s.containers.map(function(A){var R=Vy(A,i.tabbableOptions),D=$y(A,i.tabbableOptions),k=R.length>0?R[0]:void 0,J=R.length>0?R[R.length-1]:void 0,B=D.find(function(be){return Pn(be)}),ee=D.slice().reverse().find(function(be){return Pn(be)}),ve=!!R.find(function(be){return cn(be)>0});return{container:A,tabbableNodes:R,focusableNodes:D,posTabIndexesFound:ve,firstTabbableNode:k,lastTabbableNode:J,firstDomTabbableNode:B,lastDomTabbableNode:ee,nextTabbableNode:function(Oe){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ot=R.indexOf(Oe);return ot<0?Pt?D.slice(D.indexOf(Oe)+1).find(function(Vt){return Pn(Vt)}):D.slice(0,D.indexOf(Oe)).reverse().find(function(Vt){return Pn(Vt)}):R[ot+(Pt?1:-1)]}}}),s.tabbableGroups=s.containerGroups.filter(function(A){return A.tabbableNodes.length>0}),s.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(s.containerGroups.find(function(A){return A.posTabIndexesFound})&&s.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},d=function(A){var R=A.activeElement;if(R)return R.shadowRoot&&R.shadowRoot.activeElement!==null?d(R.shadowRoot):R},h=function(A){if(A!==!1&&A!==d(document)){if(!A||!A.focus){h(f());return}A.focus({preventScroll:!!i.preventScroll}),s.mostRecentlyFocusedNode=A,Ky(A)&&A.select()}},_=function(A){var R=c("setReturnFocus",{params:[A]});return R||(R===!1?!1:A)},y=function(A){var R=A.target,D=A.event,k=A.isBackward,J=k===void 0?!1:k;R=R||qr(D),p();var B=null;if(s.tabbableGroups.length>0){var ee=u(R,D),ve=ee>=0?s.containerGroups[ee]:void 0;if(ee<0)J?B=s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:B=s.tabbableGroups[0].firstTabbableNode;else if(J){var be=s.tabbableGroups.findIndex(function(I){var U=I.firstTabbableNode;return R===U});if(be<0&&(ve.container===R||Li(R,i.tabbableOptions)&&!Pn(R,i.tabbableOptions)&&!ve.nextTabbableNode(R,!1))&&(be=ee),be>=0){var Oe=be===0?s.tabbableGroups.length-1:be-1,Pt=s.tabbableGroups[Oe];B=cn(R)>=0?Pt.lastTabbableNode:Pt.lastDomTabbableNode}else gr(D)||(B=ve.nextTabbableNode(R,!1))}else{var ot=s.tabbableGroups.findIndex(function(I){var U=I.lastTabbableNode;return R===U});if(ot<0&&(ve.container===R||Li(R,i.tabbableOptions)&&!Pn(R,i.tabbableOptions)&&!ve.nextTabbableNode(R))&&(ot=ee),ot>=0){var Vt=ot===s.tabbableGroups.length-1?0:ot+1,C=s.tabbableGroups[Vt];B=cn(R)>=0?C.firstTabbableNode:C.firstDomTabbableNode}else gr(D)||(B=ve.nextTabbableNode(R))}}else B=c("fallbackFocus");return B},b=function(A){var R=qr(A);if(!(u(R,A)>=0)){if(sr(i.clickOutsideDeactivates,A)){a.deactivate({returnFocus:i.returnFocusOnDeactivate});return}sr(i.allowOutsideClick,A)||A.preventDefault()}},w=function(A){var R=qr(A),D=u(R,A)>=0;if(D||R instanceof Document)D&&(s.mostRecentlyFocusedNode=R);else{A.stopImmediatePropagation();var k,J=!0;if(s.mostRecentlyFocusedNode)if(cn(s.mostRecentlyFocusedNode)>0){var B=u(s.mostRecentlyFocusedNode),ee=s.containerGroups[B].tabbableNodes;if(ee.length>0){var ve=ee.findIndex(function(be){return be===s.mostRecentlyFocusedNode});ve>=0&&(i.isKeyForward(s.recentNavEvent)?ve+1<ee.length&&(k=ee[ve+1],J=!1):ve-1>=0&&(k=ee[ve-1],J=!1))}}else s.containerGroups.some(function(be){return be.tabbableNodes.some(function(Oe){return cn(Oe)>0})})||(J=!1);else J=!1;J&&(k=y({target:s.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(s.recentNavEvent)})),h(k||s.mostRecentlyFocusedNode||f())}s.recentNavEvent=void 0},m=function(A){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;s.recentNavEvent=A;var D=y({event:A,isBackward:R});D&&(gr(A)&&A.preventDefault(),h(D))},E=function(A){(i.isKeyForward(A)||i.isKeyBackward(A))&&m(A,i.isKeyBackward(A))},T=function(A){Jy(A)&&sr(i.escapeDeactivates,A)!==!1&&(A.preventDefault(),a.deactivate())},L=function(A){var R=qr(A);u(R,A)>=0||sr(i.clickOutsideDeactivates,A)||sr(i.allowOutsideClick,A)||(A.preventDefault(),A.stopImmediatePropagation())},j=function(){if(s.active)return Pl.activateTrap(o,a),s.delayInitialFocusTimer=i.delayInitialFocus?Cl(function(){h(f())}):h(f()),r.addEventListener("focusin",w,!0),r.addEventListener("mousedown",b,{capture:!0,passive:!1}),r.addEventListener("touchstart",b,{capture:!0,passive:!1}),r.addEventListener("click",L,{capture:!0,passive:!1}),r.addEventListener("keydown",E,{capture:!0,passive:!1}),r.addEventListener("keydown",T),a},K=function(){if(s.active)return r.removeEventListener("focusin",w,!0),r.removeEventListener("mousedown",b,!0),r.removeEventListener("touchstart",b,!0),r.removeEventListener("click",L,!0),r.removeEventListener("keydown",E,!0),r.removeEventListener("keydown",T),a},q=function(A){var R=A.some(function(D){var k=Array.from(D.removedNodes);return k.some(function(J){return J===s.mostRecentlyFocusedNode})});R&&h(f())},H=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(q):void 0,se=function(){H&&(H.disconnect(),s.active&&!s.paused&&s.containers.map(function(A){H.observe(A,{subtree:!0,childList:!0})}))};return a={get active(){return s.active},get paused(){return s.paused},activate:function(A){if(s.active)return this;var R=l(A,"onActivate"),D=l(A,"onPostActivate"),k=l(A,"checkCanFocusTrap");k||p(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=d(r),R?.();var J=function(){k&&p(),j(),se(),D?.()};return k?(k(s.containers.concat()).then(J,J),this):(J(),this)},deactivate:function(A){if(!s.active)return this;var R=Al({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},A);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,K(),s.active=!1,s.paused=!1,se(),Pl.deactivateTrap(o,a);var D=l(R,"onDeactivate"),k=l(R,"onPostDeactivate"),J=l(R,"checkCanReturnFocus"),B=l(R,"returnFocus","returnFocusOnDeactivate");D?.();var ee=function(){Cl(function(){B&&h(_(s.nodeFocusedBeforeActivation)),k?.()})};return B&&J?(J(_(s.nodeFocusedBeforeActivation)).then(ee,ee),this):(ee(),this)},pause:function(A){return s.active?(s.manuallyPaused=!0,this._setPausedState(!0,A)):this},unpause:function(A){return s.active?(s.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,A)):this},updateContainerElements:function(A){var R=[].concat(A).filter(Boolean);return s.containers=R.map(function(D){return typeof D=="string"?r.querySelector(D):D}),s.active&&p(),se(),this}},Object.defineProperties(a,{_isManuallyPaused:{value:function(){return s.manuallyPaused}},_setPausedState:{value:function(A,R){if(s.paused===A)return this;if(s.paused=A,A){var D=l(R,"onPause"),k=l(R,"onPostPause");D?.(),K(),se(),k?.()}else{var J=l(R,"onUnpause"),B=l(R,"onPostUnpause");J?.(),p(),j(),se(),B?.()}return this}}}),a.updateContainerElements(t),a};function ev(e,t={}){let n;const{immediate:r,...o}=t,i=ze(!1),s=ze(!1),a=p=>n&&n.activate(p),l=p=>n&&n.deactivate(p),u=()=>{n&&(n.pause(),s.value=!0)},c=()=>{n&&(n.unpause(),s.value=!1)},f=ue(()=>{const p=Ce(e);return so(p).map(d=>{const h=Ce(d);return typeof h=="string"?h:On(h)}).filter(M_)});return je(f,p=>{if(p.length)if(!n)n=Zy(p,{...o,onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a();else{const d=n?.active;n?.updateContainerElements(p),!d&&r&&a()}},{flush:"post"}),sa(()=>l()),{hasFocus:i,isPaused:s,activate:a,deactivate:l,pause:u,unpause:c}}const tv={inheritAttrs:!1},nv=Object.assign(tv,{__name:"NDialog",props:{modelValue:{type:Boolean,required:!1,default:!1},dim:{type:Boolean,required:!1,default:!0},autoClose:{type:Boolean,required:!1,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=ui(n,"modelValue",r,{passive:!0}),i=me(null),s=me(!1),{activate:a,deactivate:l}=ev(ue(()=>i.value||document.body),{immediate:!1});return lu(()=>{!s.value&&o.value&&(s.value=!0),o.value&&i.value?St(a):l()}),Y_(i,()=>{n.modelValue&&n.autoClose&&(o.value=!1,r("close"))},{ignore:["a","button","summary"]}),(u,c)=>{const f=li;return s.value?(Z(),Le(np,{key:0,to:"body"},[Qo(fe("div",{class:Ue(["fixed inset-0 z-100 flex items-center justify-center n-glass-effect n-transition",[Q(o)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[fe("div",{class:Ue(["absolute inset-0 -z-1",[e.dim?"glass-effect":""]])},null,2),ie(f,Ys(u.$attrs,{ref_key:"card",ref:i,class:"max-h-screen of-auto"}),{default:Pe(()=>[Ze(u.$slots,"default")]),_:3},16)],2),[[ph,Q(o)]])])):Ye("",!0)}}}),ut={fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY},kl={silent:{level:-1},fatal:{level:ut.fatal},error:{level:ut.error},warn:{level:ut.warn},log:{level:ut.log},info:{level:ut.info},success:{level:ut.success},fail:{level:ut.fail},ready:{level:ut.info},start:{level:ut.info},box:{level:ut.info},debug:{level:ut.debug},trace:{level:ut.trace},verbose:{level:ut.verbose}};function xi(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function ms(e,t,n=".",r){if(!xi(t))return ms(e,{},n);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:xi(s)&&xi(o[i])?o[i]=ms(s,o[i],(n?`${n}.`:"")+i.toString()):o[i]=s)}return o}function rv(e){return(...t)=>t.reduce((n,r)=>ms(n,r,""),{})}const ov=rv();function iv(e){return Object.prototype.toString.call(e)==="[object Object]"}function sv(e){return!(!iv(e)||!e.message&&!e.args||e.stack)}let Oi=!1;const Ll=[];class Ge{options;_lastLog;_mockFn;constructor(t={}){const n=t.types||kl;this.options=ov({...t,defaults:{...t.defaults},level:Ii(t.level,n),reporters:[...t.reporters||[]]},{types:kl,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}});for(const r in n){const o={type:r,...this.options.defaults,...n[r]};this[r]=this._wrapLogFn(o),this[r].raw=this._wrapLogFn(o,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(t){this.options.level=Ii(t,this.options.types,this.options.level)}prompt(t,n){if(!this.options.prompt)throw new Error("prompt is not supported!");return this.options.prompt(t,n)}create(t){const n=new Ge({...this.options,...t});return this._mockFn&&n.mockTypes(this._mockFn),n}withDefaults(t){return this.create({...this.options,defaults:{...this.options.defaults,...t}})}withTag(t){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+t:t})}addReporter(t){return this.options.reporters.push(t),this}removeReporter(t){if(t){const n=this.options.reporters.indexOf(t);if(n!==-1)return this.options.reporters.splice(n,1)}else this.options.reporters.splice(0);return this}setReporters(t){return this.options.reporters=Array.isArray(t)?t:[t],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const t in this.options.types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}restoreConsole(){for(const t in this.options.types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(t,n){t&&(t.__write||(t.__write=t.write),t.write=r=>{this[n].raw(String(r).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}pauseLogs(){Oi=!0}resumeLogs(){Oi=!1;const t=Ll.splice(0);for(const n of t)n[0]._logFn(n[1],n[2])}mockTypes(t){const n=t||this.options.mockFn;if(this._mockFn=n,typeof n=="function")for(const r in this.options.types)this[r]=n(r,this.options.types[r])||this[r],this[r].raw=this[r]}_wrapLogFn(t,n){return(...r)=>{if(Oi){Ll.push([this,t,r,n]);return}return this._logFn(t,r,n)}}_logFn(t,n,r){if((t.level||0)>this.level)return!1;const o={date:new Date,args:[],...t,level:Ii(t.level,this.options.types)};!r&&n.length===1&&sv(n[0])?Object.assign(o,n[0]):o.args=[...n],o.message&&(o.args.unshift(o.message),delete o.message),o.additional&&(Array.isArray(o.additional)||(o.additional=o.additional.split(`
27
- `)),o.args.push(`
28
- `+o.additional.join(`
29
- `)),delete o.additional),o.type=typeof o.type=="string"?o.type.toLowerCase():"log",o.tag=typeof o.tag=="string"?o.tag:"";const i=(a=!1)=>{const l=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&l>0){const u=[...this._lastLog.object.args];l>1&&u.push(`(repeated ${l} times)`),this._log({...this._lastLog.object,args:u}),this._lastLog.count=1}a&&(this._lastLog.object=o,this._log(o))};clearTimeout(this._lastLog.timeout);const s=this._lastLog.time&&o.date?o.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=o.date,s<this.options.throttle)try{const a=JSON.stringify([o.type,o.tag,o.args]),l=this._lastLog.serialized===a;if(this._lastLog.serialized=a,l&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin)){this._lastLog.timeout=setTimeout(i,this.options.throttle);return}}catch{}i(!0)}_log(t){for(const n of this.options.reporters)n.log(t,{options:this.options})}}function Ii(e,t={},n=3){return e===void 0?n:typeof e=="number"?e:t[e]&&t[e].level!==void 0?t[e].level:n}Ge.prototype.add=Ge.prototype.addReporter;Ge.prototype.remove=Ge.prototype.removeReporter;Ge.prototype.clear=Ge.prototype.removeReporter;Ge.prototype.withScope=Ge.prototype.withTag;Ge.prototype.mock=Ge.prototype.mockTypes;Ge.prototype.pause=Ge.prototype.pauseLogs;Ge.prototype.resume=Ge.prototype.resumeLogs;function av(e={}){return new Ge(e)}class lv{options;defaultColor;levelColorMap;typeColorMap;constructor(t){this.options={...t},this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}_getLogFn(t){return t<1?console.__error||console.error:t===1?console.__warn||console.warn:console.__log||console.log}log(t){const n=this._getLogFn(t.level),r=t.type==="log"?"":t.type,o=t.tag||"",s=`
30
- background: ${this.typeColorMap[t.type]||this.levelColorMap[t.level]||this.defaultColor};
31
- border-radius: 0.5em;
32
- color: white;
33
- font-weight: bold;
34
- padding: 2px 0.5em;
35
- `,a=`%c${[o,r].filter(Boolean).join(":")}`;typeof t.args[0]=="string"?n(`${a}%c ${t.args[0]}`,s,"",...t.args.slice(1)):n(a,s,...t.args)}}function cv(e={}){return av({reporters:e.reporters||[new lv({})],prompt(n,r={}){return r.type==="confirm"?Promise.resolve(confirm(n)):Promise.resolve(prompt(n))},...e})}const Oo=cv(),uv={class:"flex flex-col gap-2"},fv=ht({__name:"EmailSendButton",props:{html:{}},setup(e){const t=e,n=me(!1),r=me(!1),o=me(""),i=async()=>{n.value=!0;try{if(!o.value)return;const s=await fetch("https://react.email/api/send/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({to:o.value,subject:"Test Email from Nuxt Email Renderer",html:t.html})});if(s.status===429){const{error:a}=await s.json();Oo.error(`Error sending test email: ${a}`),r.value=!1,Fn({message:"Too many requests",icon:"i-carbon-warning",classes:"text-red"})}s.status===200&&(r.value=!1,Fn({message:"Email sent successfully",icon:"i-carbon-checkmark",classes:"text-green"}))}catch(s){Oo.error("Error sending test email:",s),r.value=!1,Fn({message:"Something went wrong. Please try again.",icon:"i-carbon-warning",classes:"text-red"})}finally{n.value=!1}};return(s,a)=>{const l=Ey,u=nv;return Z(),pe($e,null,[fe("div",uv,[ie(ds,{"is-loading":Q(n),icon:"carbon:email",onClick:a[0]||(a[0]=c=>r.value=!0)},{default:Pe(()=>[...a[3]||(a[3]=[rt(" Send ",-1)])]),_:1},8,["is-loading"])]),ie(u,{modelValue:Q(r),"onUpdate:modelValue":a[2]||(a[2]=c=>we(r)?r.value=c:null),class:"min-w-100 flex flex-col gap-4 p4"},{default:Pe(()=>[a[5]||(a[5]=fe("h1",{"text-xl":""}," Send Test Email ",-1)),ie(l,{modelValue:Q(o),"onUpdate:modelValue":a[1]||(a[1]=c=>we(o)?o.value=c:null),placeholder:"you@email.com",type:"email"},null,8,["modelValue"]),fe("div",null,[ie(ds,{"is-loading":Q(n),icon:"carbon:send",onClick:i},{default:Pe(()=>[...a[4]||(a[4]=[rt(" Send ",-1)])]),_:1},8,["is-loading"])])]),_:1},8,["modelValue"])],64)}}}),dv=Object.assign(fv,{__name:"EmailSendButton"}),pv={class:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4"},hv={class:"flex flex-col sm:flex-row sm:items-center gap-4"},mv={class:"flex items-center gap-3"},gv={class:"flex items-center gap-3"},_v={class:"flex items-center gap-4"},yv={class:"flex items-center gap-2"},vv=ht({__name:"EmailViewerToolbar",props:{viewMode:{},contentMode:{},renderedHtml:{},sourceCode:{}},emits:["update:viewMode","update:contentMode","refresh"],setup(e,{emit:t}){const n=e,r=t,o=[{value:"desktop",label:"Desktop"},{value:"mobile",label:"Mobile"}],i=[{value:"preview",label:"Preview"},{value:"html",label:"HTML"},{value:"source",label:"Source Code"}],s=ue({get:()=>n.viewMode,set:d=>r("update:viewMode",d)}),a=ue({get:()=>n.contentMode,set:d=>r("update:contentMode",d)}),{copy:l,copied:u,isSupported:c}=Z_(),f=async()=>{try{n.contentMode==="source"&&n.sourceCode?(await l(n.sourceCode),Fn({message:"Copied source code to clipboard",icon:"i-carbon-checkmark",classes:"text-green"})):(n.contentMode==="preview"||n.contentMode==="html")&&n.renderedHtml&&(await l(n.renderedHtml),Fn({message:"Copied HTML to clipboard",icon:"i-carbon-checkmark",classes:"text-green"}))}catch(d){Oo.error("Error copying to clipboard:",d),Fn({message:"Failed to copy to clipboard",icon:"i-carbon-warning",classes:"text-red"})}},p=()=>{r("refresh")};return(d,h)=>{const _=vy,y=af,b=ds,w=oa;return Z(),pe("div",pv,[fe("div",hv,[fe("div",mv,[h[2]||(h[2]=fe("span",{class:"text-sm font-medium text-gray-700 dark:text-gray-300"}," View: ",-1)),ie(_,{modelValue:Q(a),"onUpdate:modelValue":h[0]||(h[0]=m=>we(a)?a.value=m:null),options:i},null,8,["modelValue"])]),d.contentMode==="preview"?(Z(),pe($e,{key:0},[h[4]||(h[4]=fe("div",{class:"hidden sm:block w-px h-8 bg-gray-200 dark:bg-gray-700"},null,-1)),fe("div",gv,[h[3]||(h[3]=fe("span",{class:"text-sm font-medium text-gray-700 dark:text-gray-300"}," Viewport: ",-1)),ie(_,{modelValue:Q(s),"onUpdate:modelValue":h[1]||(h[1]=m=>we(s)?s.value=m:null),options:o},null,8,["modelValue"]),ie(y,{class:"hidden sm:inline-flex"},{default:Pe(()=>[rt(Rt(d.viewMode==="desktop"?"800px":"375px"),1)]),_:1})])],64)):Ye("",!0)]),fe("div",_v,[fe("div",yv,[d.contentMode==="preview"&&d.renderedHtml?(Z(),Le(b,{key:0,icon:"carbon:rotate-360",onClick:p},{default:Pe(()=>[...h[5]||(h[5]=[rt(" Re-render ",-1)])]),_:1})):Ye("",!0),Q(c)?(Z(),Le(w,{key:1,icon:Q(u)?"carbon:checkmark-outline":"carbon:copy",onClick:f},{default:Pe(()=>[rt(Rt(Q(u)?"Copied":"Copy"),1)]),_:1},8,["icon"])):Ye("",!0),d.renderedHtml?(Z(),Le(dv,{key:2,html:d.renderedHtml},null,8,["html"])):Ye("",!0)])])])}}}),bv=Object.assign(vv,{__name:"EmailViewerToolbar"}),wv={class:"border rounded-lg overflow-hidden bg-white shadow-sm"},Ev=["srcdoc"],Sv=ht({__name:"EmailPreviewPane",props:{renderedHtml:{},viewMode:{}},setup(e){const t=e,n=ue(()=>t.viewMode==="mobile"?"max-w-[375px] mx-auto":"max-w-[800px] mx-auto");return(r,o)=>(Z(),pe("div",null,[fe("div",wv,[r.renderedHtml?(Z(),pe("iframe",{key:0,srcdoc:r.renderedHtml,class:Ue(["w-full h-screen border-0",Q(n)]),width:"100%",height:"100%",sandbox:"allow-same-origin allow-scripts"},null,10,Ev)):Ye("",!0)])]))}}),Tv=Object.assign(Sv,{__name:"EmailPreviewPane"});let De=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Rv(e){return aa(e)}function aa(e){return Array.isArray(e)?Av(e):e instanceof RegExp?e:typeof e=="object"?Pv(e):e}function Av(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=aa(e[n]);return t}function Pv(e){let t={};for(let n in e)t[n]=aa(e[n]);return t}function _f(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function yf(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?yf(e.substring(0,e.length-1)):e.substr(~t+1)}var Di=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Kr=class{static hasCaptures(e){return e===null?!1:(Di.lastIndex=0,Di.test(e))}static replaceCaptures(e,t,n){return e.replace(Di,(r,o,i,s)=>{let a=n[parseInt(o||i,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(s){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function vf(e,t){return e<t?-1:e>t?1:0}function bf(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let o=0;o<n;o++){let i=vf(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function xl(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function wf(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Ef=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},Io=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(Lv(e),t)}static createFromParsedTheme(e,t){return Ov(e,t)}_cachedMatchRoot=new Ef(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(o=>Cv(e.parent,o.parentScopes));return r?new Sf(r.fontStyle,r.foreground,r.background):null}},Ni=class ao{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new ao(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new ao(n,t[r]);return n}push(t){return new ao(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function Cv(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],o=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],o=!0}for(;e&&!kv(e.scopeName,r);){if(o)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function kv(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var Sf=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function Lv(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let s=t[o];if(!s.settings)continue;let a;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(s.scope)?a=s.scope:a=[""];let l=-1;if(typeof s.settings.fontStyle=="string"){l=0;let f=s.settings.fontStyle.split(" ");for(let p=0,d=f.length;p<d;p++)switch(f[p]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let u=null;typeof s.settings.foreground=="string"&&xl(s.settings.foreground)&&(u=s.settings.foreground);let c=null;typeof s.settings.background=="string"&&xl(s.settings.background)&&(c=s.settings.background);for(let f=0,p=a.length;f<p;f++){let h=a[f].trim().split(" "),_=h[h.length-1],y=null;h.length>1&&(y=h.slice(0,h.length-1),y.reverse()),n[r++]=new xv(_,y,o,l,u,c)}}return n}var xv=class{constructor(e,t,n,r,o,i){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=o,this.background=i}},Xe=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(Xe||{});function Ov(e,t){e.sort((l,u)=>{let c=vf(l.scope,u.scope);return c!==0||(c=bf(l.parentScopes,u.parentScopes),c!==0)?c:l.index-u.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(o=l.background)}let i=new Iv(t),s=new Sf(n,i.getId(r),i.getId(o)),a=new Nv(new gs(0,null,-1,0,0),[]);for(let l=0,u=e.length;l<u;l++){let c=e[l];a.insert(0,c.scope,c.parentScopes,c.fontStyle,i.getId(c.foreground),i.getId(c.background))}return new Io(i,s,a)}var Iv=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},Dv=Object.freeze([]),gs=class Tf{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,o,i){this.scopeDepth=t,this.parentScopes=n||Dv,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new Tf(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,o=t.length;r<o;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,o){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),o!==0&&(this.background=o)}},Nv=class _s{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,o=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[o]===">"&&o++,!(r>=t.parentScopes.length||o>=n.parentScopes.length);){const i=n.parentScopes[o].length-t.parentScopes[r].length;if(i!==0)return i;r++,o++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),o,i;if(r===-1?(o=t,i=""):(o=t.substring(0,r),i=t.substring(r+1)),this._children.hasOwnProperty(o))return this._children[o].match(i)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(_s._cmpBySpecificity),n}insert(t,n,r,o,i,s){if(n===""){this._doInsertHere(t,r,o,i,s);return}let a=n.indexOf("."),l,u;a===-1?(l=n,u=""):(l=n.substring(0,a),u=n.substring(a+1));let c;this._children.hasOwnProperty(l)?c=this._children[l]:(c=new _s(this._mainRule.clone(),gs.cloneArr(this._rulesWithParentScopes)),this._children[l]=c),c.insert(t+1,u,r,o,i,s)}_doInsertHere(t,n,r,o,i){if(n===null){this._mainRule.acceptOverwrite(t,r,o,i);return}for(let s=0,a=this._rulesWithParentScopes.length;s<a;s++){let l=this._rulesWithParentScopes[s];if(bf(l.parentScopes,n)===0){l.acceptOverwrite(t,r,o,i);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new gs(t,n,r,o,i))}},Xn=class mt{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=mt.getLanguageId(t),r=mt.getTokenType(t),o=mt.getFontStyle(t),i=mt.getForeground(t),s=mt.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:o,foreground:i,background:s})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,o,i,s,a){let l=mt.getLanguageId(t),u=mt.getTokenType(t),c=mt.containsBalancedBrackets(t)?1:0,f=mt.getFontStyle(t),p=mt.getForeground(t),d=mt.getBackground(t);return n!==0&&(l=n),r!==8&&(u=r),o!==null&&(c=o?1:0),i!==-1&&(f=i),s!==0&&(p=s),a!==0&&(d=a),(l<<0|u<<8|c<<10|f<<11|p<<15|d<<24)>>>0}};function Do(e,t){const n=[],r=Mv(e);let o=r.next();for(;o!==null;){let l=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let u=s();if(n.push({matcher:u,priority:l}),o!==",")break;o=r.next()}return n;function i(){if(o==="-"){o=r.next();const l=i();return u=>!!l&&!l(u)}if(o==="("){o=r.next();const l=a();return o===")"&&(o=r.next()),l}if(Ol(o)){const l=[];do l.push(o),o=r.next();while(Ol(o));return u=>t(l,u)}return null}function s(){const l=[];let u=i();for(;u;)l.push(u),u=i();return c=>l.every(f=>f(c))}function a(){const l=[];let u=s();for(;u&&(l.push(u),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");u=s()}return c=>l.some(f=>f(c))}}function Ol(e){return!!e&&!!e.match(/[\w\.:]+/)}function Mv(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function Rf(e){typeof e.dispose=="function"&&e.dispose()}var Sr=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},Vv=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},$v=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},jv=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Sr(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new $v;for(const n of e)Bv(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Sr){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function Bv(e,t,n,r){const o=n.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=n.lookup(t);e instanceof Sr?lo({baseGrammar:i,selfGrammar:o},r):ys(e.ruleName,{baseGrammar:i,selfGrammar:o,repository:o.repository},r);const s=n.injections(e.scopeName);if(s)for(const a of s)r.add(new Sr(a))}function ys(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];No([r],t,n)}}function lo(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&No(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&No(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function No(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?_f({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&No(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=Af(i);switch(s.kind){case 0:lo({...t,selfGrammar:t.baseGrammar},n);break;case 1:lo(t,n);break;case 2:ys(s.ruleName,{...t,repository:o},n);break;case 3:case 4:const a=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:o};s.kind===4?ys(s.ruleName,l,n):lo(l,n)}else s.kind===4?n.add(new Vv(s.scopeName,s.ruleName)):n.add(new Sr(s.scopeName));break}}}var Fv=class{kind=0},Hv=class{kind=1},Uv=class{constructor(e){this.ruleName=e}kind=2},zv=class{constructor(e){this.scopeName=e}kind=3},Gv=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function Af(e){if(e==="$base")return new Fv;if(e==="$self")return new Hv;const t=e.indexOf("#");if(t===-1)return new zv(e);if(t===0)return new Uv(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new Gv(n,r)}}var Wv=/\\(\d+)/,Il=/\\(\d+)/g,qv=-1,Pf=-2;var Ir=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Kr.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Kr.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${yf(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Kr.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Kr.replaceCaptures(this._contentName,e,t)}},Kv=class extends Ir{retokenizeCapturedWithRuleId;constructor(e,t,n,r,o){super(e,t,n,r),this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},Jv=class extends Ir{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,o){super(e,t,n,null),this._match=new Tr(r,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Rr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Dl=class extends Ir{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,o){super(e,t,n,r),this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Rr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},vs=class extends Ir{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,o,i,s,a,l,u){super(e,t,n,r),this._begin=new Tr(o,this.id),this.beginCaptures=i,this._end=new Tr(s||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=l||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Rr;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Mo=class extends Ir{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,o,i,s,a,l){super(e,t,n,r),this._begin=new Tr(o,this.id),this.beginCaptures=i,this.whileCaptures=a,this._while=new Tr(s,Pf),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Rr;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Rr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}},Cf=class qe{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new Kv(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new Jv(t.$vscodeTextmateLocation,t.id,t.name,t.match,qe._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=_f({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new Dl(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,qe._compilePatterns(i,n,r))}return t.while?new Mo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,qe._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,qe._compileCaptures(t.whileCaptures||t.captures,n,r),qe._compilePatterns(t.patterns,n,r)):new vs(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,qe._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,qe._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,qe._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let i=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const a=parseInt(s,10);a>i&&(i=a)}for(let s=0;s<=i;s++)o[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const a=parseInt(s,10);let l=0;t[s].patterns&&(l=qe.getCompiledRuleId(t[s],n,r)),o[a]=qe.createCaptureRule(n,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,l)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let i=0,s=t.length;i<s;i++){const a=t[i];let l=-1;if(a.include){const u=Af(a.include);switch(u.kind){case 0:case 1:l=qe.getCompiledRuleId(r[a.include],n,r);break;case 2:let c=r[u.ruleName];c&&(l=qe.getCompiledRuleId(c,n,r));break;case 3:case 4:const f=u.scopeName,p=u.kind===4?u.ruleName:null,d=n.getExternalGrammar(f,r);if(d)if(p){let h=d.repository[p];h&&(l=qe.getCompiledRuleId(h,n,d.repository))}else l=qe.getCompiledRuleId(d.repository.$self,n,d.repository);break}}else l=qe.getCompiledRuleId(a,n,r);if(l!==-1){const u=n.getRule(l);let c=!1;if((u instanceof Dl||u instanceof vs||u instanceof Mo)&&u.hasMissingPatterns&&u.patterns.length===0&&(c=!0),c)continue;o.push(l)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}},Tr=class kf{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const r=t.length;let o=0,i=[],s=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const u=t.charAt(a+1);u==="z"?(i.push(t.substring(o,a)),i.push("$(?!\\n)(?<!\\n)"),o=a+2):(u==="A"||u==="G")&&(s=!0),a++}this.hasAnchor=s,o===0?this.source=t:(i.push(t.substring(o,r)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=Wv.test(this.source):this.hasBackReferences=!1}clone(){return new kf(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(o=>t.substring(o.start,o.end));return Il.lastIndex=0,this.source.replace(Il,(o,i)=>wf(r[parseInt(i,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],o=[],i,s,a,l;for(i=0,s=this.source.length;i<s;i++)a=this.source.charAt(i),t[i]=a,n[i]=a,r[i]=a,o[i]=a,a==="\\"&&i+1<s&&(l=this.source.charAt(i+1),l==="A"?(t[i+1]="￿",n[i+1]="￿",r[i+1]="A",o[i+1]="A"):l==="G"?(t[i+1]="￿",n[i+1]="G",r[i+1]="￿",o[i+1]="G"):(t[i+1]=l,n[i+1]=l,r[i+1]=l,o[i+1]=l),i++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Rr=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new Nl(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(o=>o.resolveAnchors(t,n));return new Nl(e,r,this._items.map(o=>o.ruleId))}},Nl=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
36
- `)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Mi=class{constructor(e,t){this.languageId=e,this.tokenType=t}},Xv=class bs{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new Mi(t,8),this._embeddedLanguagesMatcher=new Yv(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?bs._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Mi(0,0);_getBasicScopeAttributes=new Ef(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new Mi(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(bs.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},Yv=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>wf(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},Ml=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function Lf(e,t,n,r,o,i,s,a){const l=t.content.length;let u=!1,c=-1;if(s){const d=Qv(e,t,n,r,o,i);o=d.stack,r=d.linePos,n=d.isFirstLine,c=d.anchorPosition}const f=Date.now();for(;!u;){if(a!==0&&Date.now()-f>a)return new Ml(o,!0);p()}return new Ml(o,!1);function p(){const d=Zv(e,t,n,r,o,c);if(!d){i.produce(o,l),u=!0;return}const h=d.captureIndices,_=d.matchedRuleId,y=h&&h.length>0?h[0].end>r:!1;if(_===qv){const b=o.getRule(e);i.produce(o,h[0].start),o=o.withContentNameScopesList(o.nameScopesList),cr(e,t,n,o,i,b.endCaptures,h),i.produce(o,h[0].end);const w=o;if(o=o.parent,c=w.getAnchorPos(),!y&&w.getEnterPos()===r){o=w,i.produce(o,l),u=!0;return}}else{const b=e.getRule(_);i.produce(o,h[0].start);const w=o,m=b.getName(t.content,h),E=o.contentNameScopesList.pushAttributed(m,e);if(o=o.push(_,r,c,h[0].end===l,null,E,E),b instanceof vs){const T=b;cr(e,t,n,o,i,T.beginCaptures,h),i.produce(o,h[0].end),c=h[0].end;const L=T.getContentName(t.content,h),j=E.pushAttributed(L,e);if(o=o.withContentNameScopesList(j),T.endHasBackReferences&&(o=o.withEndRule(T.getEndWithResolvedBackReferences(t.content,h))),!y&&w.hasSameRuleAs(o)){o=o.pop(),i.produce(o,l),u=!0;return}}else if(b instanceof Mo){const T=b;cr(e,t,n,o,i,T.beginCaptures,h),i.produce(o,h[0].end),c=h[0].end;const L=T.getContentName(t.content,h),j=E.pushAttributed(L,e);if(o=o.withContentNameScopesList(j),T.whileHasBackReferences&&(o=o.withEndRule(T.getWhileWithResolvedBackReferences(t.content,h))),!y&&w.hasSameRuleAs(o)){o=o.pop(),i.produce(o,l),u=!0;return}}else if(cr(e,t,n,o,i,b.captures,h),i.produce(o,h[0].end),o=o.pop(),!y){o=o.safePop(),i.produce(o,l),u=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function Qv(e,t,n,r,o,i){let s=o.beginRuleCapturedEOL?0:-1;const a=[];for(let l=o;l;l=l.pop()){const u=l.getRule(e);u instanceof Mo&&a.push({rule:u,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:u,findOptions:c}=nb(l.rule,e,l.stack.endRule,n,r===s),f=u.findNextMatchSync(t,r,c);if(f){if(f.ruleId!==Pf){o=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(l.stack,f.captureIndices[0].start),cr(e,t,n,l.stack,i,l.rule.whileCaptures,f.captureIndices),i.produce(l.stack,f.captureIndices[0].end),s=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{o=l.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:s,isFirstLine:n}}function Zv(e,t,n,r,o,i){const s=eb(e,t,n,r,o,i),a=e.getInjections();if(a.length===0)return s;const l=tb(a,e,t,n,r,o,i);if(!l)return s;if(!s)return l;const u=s.captureIndices[0].start,c=l.captureIndices[0].start;return c<u||l.priorityMatch&&c===u?l:s}function eb(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:a,findOptions:l}=xf(s,e,o.endRule,n,r===i),u=a.findNextMatchSync(t,r,l);return u?{captureIndices:u.captureIndices,matchedRuleId:u.ruleId}:null}function tb(e,t,n,r,o,i,s){let a=Number.MAX_VALUE,l=null,u,c=0;const f=i.contentNameScopesList.getScopeNames();for(let p=0,d=e.length;p<d;p++){const h=e[p];if(!h.matcher(f))continue;const _=t.getRule(h.ruleId),{ruleScanner:y,findOptions:b}=xf(_,t,null,r,o===s),w=y.findNextMatchSync(n,o,b);if(!w)continue;const m=w.captureIndices[0].start;if(!(m>=a)&&(a=m,l=w.captureIndices,u=w.ruleId,c=h.priority,a===o))break}return l?{priorityMatch:c===-1,captureIndices:l,matchedRuleId:u}:null}function xf(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function nb(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function cr(e,t,n,r,o,i,s){if(i.length===0)return;const a=t.content,l=Math.min(i.length,s.length),u=[],c=s[0].end;for(let f=0;f<l;f++){const p=i[f];if(p===null)continue;const d=s[f];if(d.length===0)continue;if(d.start>c)break;for(;u.length>0&&u[u.length-1].endPos<=d.start;)o.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?o.produceFromScopes(u[u.length-1].scopes,d.start):o.produce(r,d.start),p.retokenizeCapturedWithRuleId){const _=p.getName(a,s),y=r.contentNameScopesList.pushAttributed(_,e),b=p.getContentName(a,s),w=y.pushAttributed(b,e),m=r.push(p.retokenizeCapturedWithRuleId,d.start,-1,!1,null,y,w),E=e.createOnigString(a.substring(0,d.end));Lf(e,E,n&&d.start===0,d.start,m,o,!1,0),Rf(E);continue}const h=p.getName(a,s);if(h!==null){const y=(u.length>0?u[u.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);u.push(new rb(y,d.end))}}for(;u.length>0;)o.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var rb=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function ob(e,t,n,r,o,i,s,a){return new sb(e,t,n,r,o,i,s,a)}function Vl(e,t,n,r,o){const i=Do(t,Vo),s=Cf.getCompiledRuleId(n,r,o.repository);for(const a of i)e.push({debugSelector:t,matcher:a.matcher,ruleId:s,grammar:o,priority:a.priority})}function Vo(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let o=n;o<t.length;o++)if(ib(t[o],r))return n=o+1,!0;return!1})}function ib(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}var sb=class{constructor(e,t,n,r,o,i,s,a){if(this._rootScopeName=e,this.balancedBracketSelectors=i,this._onigLib=a,this._basicScopeAttributesProvider=new Xv(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=$l(t,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const l of Object.keys(o)){const u=Do(l,Vo);for(const c of u)this._tokenTypeMatchers.push({matcher:c.matcher,type:o[l]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:o=>o===this._rootScopeName?this._grammar:this.getExternalGrammar(o),injections:o=>this._grammarRepository.injections(o)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const o=r.injections;if(o)for(let s in o)Vl(t,s,o[s],this,r);const i=this._grammarRepository.injections(n);i&&i.forEach(s=>{const a=this.getExternalGrammar(s);if(a){const l=a.injectionSelector;l&&Vl(t,l,a,this,a)}})}return t.sort((o,i)=>o.priority-i.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=$l(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=Cf.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!t||t===ws.NULL){o=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),c=this.themeProvider.getDefaults(),f=Xn.set(0,u.languageId,u.tokenType,null,c.fontStyle,c.foregroundId,c.backgroundId),p=this.getRule(this._rootId).getName(null,null);let d;p?d=_r.createRootAndLookUpScopeName(p,f,this):d=_r.createRoot("unknown",f),t=new ws(null,this._rootId,-1,-1,!1,null,d,d)}else o=!1,t.reset();e=e+`
37
- `;const i=this.createOnigString(e),s=i.content.length,a=new lb(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=Lf(this,i,o,0,t,a,!0,r);return Rf(i),{lineLength:s,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function $l(e,t){return e=Rv(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var _r=class kt{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,o=t?.scopePath??null;for(const i of n)o=Ni.push(o,i.scopeNames),r=new kt(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new kt(null,new Ni(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new Ni(null,t),s=r.themeProvider.themeMatch(i),a=kt.mergeAttributes(n,o,s);return new kt(null,i,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return kt.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let o=-1,i=0,s=0;return r!==null&&(o=r.fontStyle,i=r.foregroundId,s=r.backgroundId),Xn.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return kt._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=kt._pushAttributed(o,i,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),i=t.scopePath.push(n),s=r.themeProvider.themeMatch(i),a=kt.mergeAttributes(t.tokenAttributes,o,s);return new kt(t,i,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}},ws=class ln{constructor(t,n,r,o,i,s,a,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}_stackElementBrand=void 0;static NULL=new ln(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:ln._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?_r.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){ln._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,a){return new ln(this,t,n,r,o,i,s,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new ln(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=_r.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new ln(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,_r.fromExtension(r,n.contentNameScopesList))}},ab=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):Do(n,Vo).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>Do(n,Vo).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},lb=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let r=e?.tokenAttributes??0,o=!1;if(this.balancedBracketSelectors?.matchesAlways&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=e?.getScopeNames()??[];for(const s of this._tokenTypeOverrides)s.matcher(i)&&(r=Xn.set(r,0,s.type,null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(i))}if(o&&(r=Xn.set(r,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=t;return}const n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,o=this._binaryTokens.length;r<o;r++)n[r]=this._binaryTokens[r];return n}},cb=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,o){if(!this._grammars.has(e)){let i=this._rawGrammars.get(e);if(!i)return null;this._grammars.set(e,ob(e,i,t,n,r,o,this,this._onigLib))}return this._grammars.get(e)}},ub=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new cb(Io.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Io.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new ab(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,o,i){const s=new jv(this._syncRegistry,t);for(;s.Q.length>0;)s.Q.map(a=>this._loadSingleGrammar(a.scopeName)),s.processQueue();return this._grammarForScopeName(t,n,r,o,i)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,i)}},Es=ws.NULL;const fb=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Dr{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Dr.prototype.normal={};Dr.prototype.property={};Dr.prototype.space=void 0;function Of(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new Dr(n,r,t)}function Ss(e){return e.toLowerCase()}class at{constructor(t,n){this.attribute=n,this.property=t}}at.prototype.attribute="";at.prototype.booleanish=!1;at.prototype.boolean=!1;at.prototype.commaOrSpaceSeparated=!1;at.prototype.commaSeparated=!1;at.prototype.defined=!1;at.prototype.mustUseProperty=!1;at.prototype.number=!1;at.prototype.overloadedBoolean=!1;at.prototype.property="";at.prototype.spaceSeparated=!1;at.prototype.space=void 0;let db=0;const ce=Tn(),Ie=Tn(),Ts=Tn(),$=Tn(),Re=Tn(),Hn=Tn(),ft=Tn();function Tn(){return 2**++db}const Rs=Object.freeze(Object.defineProperty({__proto__:null,boolean:ce,booleanish:Ie,commaOrSpaceSeparated:ft,commaSeparated:Hn,number:$,overloadedBoolean:Ts,spaceSeparated:Re},Symbol.toStringTag,{value:"Module"})),Vi=Object.keys(Rs);class la extends at{constructor(t,n,r,o){let i=-1;if(super(t,n),jl(this,"space",o),typeof r=="number")for(;++i<Vi.length;){const s=Vi[i];jl(this,Vi[i],(r&Rs[s])===Rs[s])}}}la.prototype.defined=!0;function jl(e,t,n){n&&(e[t]=n)}function er(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const i=new la(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Ss(r)]=r,n[Ss(i.attribute)]=r}return new Dr(t,n,e.space)}const If=er({properties:{ariaActiveDescendant:null,ariaAtomic:Ie,ariaAutoComplete:null,ariaBusy:Ie,ariaChecked:Ie,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:Re,ariaCurrent:null,ariaDescribedBy:Re,ariaDetails:null,ariaDisabled:Ie,ariaDropEffect:Re,ariaErrorMessage:null,ariaExpanded:Ie,ariaFlowTo:Re,ariaGrabbed:Ie,ariaHasPopup:null,ariaHidden:Ie,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Re,ariaLevel:$,ariaLive:null,ariaModal:Ie,ariaMultiLine:Ie,ariaMultiSelectable:Ie,ariaOrientation:null,ariaOwns:Re,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:Ie,ariaReadOnly:Ie,ariaRelevant:null,ariaRequired:Ie,ariaRoleDescription:Re,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:Ie,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Df(e,t){return t in e?e[t]:t}function Nf(e,t){return Df(e,t.toLowerCase())}const pb=er({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Hn,acceptCharset:Re,accessKey:Re,action:null,allow:null,allowFullScreen:ce,allowPaymentRequest:ce,allowUserMedia:ce,alt:null,as:null,async:ce,autoCapitalize:null,autoComplete:Re,autoFocus:ce,autoPlay:ce,blocking:Re,capture:null,charSet:null,checked:ce,cite:null,className:Re,cols:$,colSpan:null,content:null,contentEditable:Ie,controls:ce,controlsList:Re,coords:$|Hn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ce,defer:ce,dir:null,dirName:null,disabled:ce,download:Ts,draggable:Ie,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ce,formTarget:null,headers:Re,height:$,hidden:Ts,high:$,href:null,hrefLang:null,htmlFor:Re,httpEquiv:Re,id:null,imageSizes:null,imageSrcSet:null,inert:ce,inputMode:null,integrity:null,is:null,isMap:ce,itemId:null,itemProp:Re,itemRef:Re,itemScope:ce,itemType:Re,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ce,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:ce,muted:ce,name:null,nonce:null,noModule:ce,noValidate:ce,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ce,optimum:$,pattern:null,ping:Re,placeholder:null,playsInline:ce,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ce,referrerPolicy:null,rel:Re,required:ce,reversed:ce,rows:$,rowSpan:$,sandbox:Re,scope:null,scoped:ce,seamless:ce,selected:ce,shadowRootClonable:ce,shadowRootDelegatesFocus:ce,shadowRootMode:null,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:Ie,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:ce,useMap:null,value:Ie,width:$,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Re,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ce,declare:ce,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:ce,noHref:ce,noShade:ce,noWrap:ce,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:Ie,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ce,disableRemotePlayback:ce,prefix:null,property:null,results:$,security:null,unselectable:null},space:"html",transform:Nf}),hb=er({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ft,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:Re,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:ce,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Hn,g2:Hn,glyphName:Hn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:ft,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:$,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Re,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ft,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ft,rev:ft,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ft,requiredFeatures:ft,requiredFonts:ft,requiredFormats:ft,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:ft,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ft,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ft,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Df}),Mf=er({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Vf=er({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Nf}),$f=er({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),mb=/[A-Z]/g,Bl=/-[a-z]/g,gb=/^data[-\w.:]+$/i;function _b(e,t){const n=Ss(t);let r=t,o=at;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&gb.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Bl,vb);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Bl.test(i)){let s=i.replace(mb,yb);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=la}return new o(r,t)}function yb(e){return"-"+e.toLowerCase()}function vb(e){return e.charAt(1).toUpperCase()}const bb=Of([If,pb,Mf,Vf,$f],"html"),jf=Of([If,hb,Mf,Vf,$f],"svg"),Fl={}.hasOwnProperty;function wb(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const a=r.handlers;if(o&&Fl.call(o,e)){const l=String(o[e]);s=Fl.call(a,l)?a[l]:r.unknown}if(s)return s.call(this,o,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Eb=/["&'<>`]/g,Sb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tb=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Rb=/[|\\{}()[\]^$+*?.]/g,Hl=new WeakMap;function Ab(e,t){if(e=e.replace(t.subset?Pb(t.subset):Eb,r),t.subset||t.escapeOnly)return e;return e.replace(Sb,n).replace(Tb,r);function n(o,i,s){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),t)}function r(o,i,s){return t.format(o.charCodeAt(0),s.charCodeAt(i+1),t)}}function Pb(e){let t=Hl.get(e);return t||(t=Cb(e),Hl.set(e,t)),t}function Cb(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Rb,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const kb=/[\dA-Fa-f]/;function Lb(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!kb.test(String.fromCharCode(t))?r:r+";"}const xb=/\d/;function Ob(e,t,n){const r="&#"+String(e);return n&&t&&!xb.test(String.fromCharCode(t))?r:r+";"}const Ib=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],$i={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Db=["cent","copy","divide","gt","lt","not","para","times"],Bf={}.hasOwnProperty,As={};let Jr;for(Jr in $i)Bf.call($i,Jr)&&(As[$i[Jr]]=Jr);const Nb=/[^\dA-Za-z]/;function Mb(e,t,n,r){const o=String.fromCharCode(e);if(Bf.call(As,o)){const i=As[o],s="&"+i;return n&&Ib.includes(i)&&!Db.includes(i)&&(!r||t&&t!==61&&Nb.test(String.fromCharCode(t)))?s:s+";"}return""}function Vb(e,t,n){let r=Lb(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=Mb(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=Ob(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function Un(e,t){return Ab(e,Object.assign({format:Vb},t))}const $b=/^>|^->|<!--|-->|--!>|<!-$/g,jb=[">"],Bb=["<",">"];function Fb(e,t,n,r){return r.settings.bogusComments?"<?"+Un(e.value,Object.assign({},r.settings.characterReferences,{subset:jb}))+">":"<!--"+e.value.replace($b,o)+"-->";function o(i){return Un(i,Object.assign({},r.settings.characterReferences,{subset:Bb}))}}function Hb(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Ul(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;o!==-1;)r++,o=n.indexOf(t,o+t.length);return r}function Ub(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function zb(e){return e.join(" ").trim()}const Gb=/[ \t\n\f\r]/g;function ca(e){return typeof e=="object"?e.type==="text"?zl(e.value):!1:zl(e)}function zl(e){return e.replace(Gb,"")===""}const Me=Hf(1),Ff=Hf(-1),Wb=[];function Hf(e){return t;function t(n,r,o){const i=n?n.children:Wb;let s=(r||0)+e,a=i[s];if(!o)for(;a&&ca(a);)s+=e,a=i[s];return a}}const qb={}.hasOwnProperty;function Uf(e){return t;function t(n,r,o){return qb.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const ua=Uf({body:Jb,caption:ji,colgroup:ji,dd:Zb,dt:Qb,head:ji,html:Kb,li:Yb,optgroup:e0,option:t0,p:Xb,rp:Gl,rt:Gl,tbody:r0,td:Wl,tfoot:o0,th:Wl,thead:n0,tr:i0});function ji(e,t,n){const r=Me(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&ca(r.value.charAt(0)))}function Kb(e,t,n){const r=Me(n,t);return!r||r.type!=="comment"}function Jb(e,t,n){const r=Me(n,t);return!r||r.type!=="comment"}function Xb(e,t,n){const r=Me(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function Yb(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Qb(e,t,n){const r=Me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Zb(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Gl(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function e0(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function t0(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function n0(e,t,n){const r=Me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function r0(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function o0(e,t,n){return!Me(n,t)}function i0(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Wl(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const s0=Uf({body:c0,colgroup:u0,head:l0,html:a0,tbody:f0});function a0(e){const t=Me(e,-1);return!t||t.type!=="comment"}function l0(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function c0(e){const t=Me(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&ca(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function u0(e,t,n){const r=Ff(n,t),o=Me(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&ua(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function f0(e,t,n){const r=Ff(n,t),o=Me(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&ua(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Xr={name:[[`
38
- \f\r &/=>`.split(""),`
39
- \f\r "&'/=>\``.split("")],[`\0
40
- \f\r "&'/<=>`.split(""),`\0
41
- \f\r "&'/<=>\``.split("")]],unquoted:[[`
42
- \f\r &>`.split(""),`\0
43
- \f\r "&'<=>\``.split("")],[`\0
44
- \f\r "&'<=>\``.split(""),`\0
45
- \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function d0(e,t,n,r){const o=r.schema,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let s=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;o.space==="html"&&e.tagName==="svg"&&(r.schema=jf);const u=p0(r,e.properties),c=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,c&&(s=!1),(u||!i||!s0(e,t,n))&&(a.push("<",e.tagName,u?" "+u:""),s&&(o.space==="svg"||r.settings.closeSelfClosing)&&(l=u.charAt(u.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(c),!s&&(!i||!ua(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function p0(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=h0(e,o,t[o]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function h0(e,t,n){const r=_b(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let s=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=Un(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Xr.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Ub:zb)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=Un(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Xr.unquoted[o][i]}))),a!==n&&(e.settings.quoteSmart&&Ul(n,s)>Ul(n,e.alternative)&&(s=e.alternative),a=s+Un(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Xr.single:Xr.double)[o][i],attribute:!0}))+s),l+(a&&"="+a))}const m0=["<","&"];function zf(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Un(e.value,Object.assign({},r.settings.characterReferences,{subset:m0}))}function g0(e,t,n,r){return r.settings.allowDangerousHtml?e.value:zf(e,t,n,r)}function _0(e,t,n,r){return r.all(e)}const y0=wb("type",{invalid:v0,unknown:b0,handlers:{comment:Fb,doctype:Hb,element:d0,raw:g0,root:_0,text:zf}});function v0(e){throw new Error("Expected node, not `"+e+"`")}function b0(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const w0={},E0={},S0=[];function T0(e,t){const n=t||w0,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:R0,all:A0,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||fb,characterReferences:n.characterReferences||E0,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?jf:bb,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function R0(e,t,n){return y0(e,t,n,this)}function A0(e){const t=[],n=e&&e.children||S0;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function $o(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[o,i]of Object.entries(t?.colorReplacements||{}))typeof i=="string"?n[o]=i:o===r&&Object.assign(n,i);return n}function Zt(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function P0(e){return Array.isArray(e)?e:[e]}async function Gf(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function fa(e){return!e||["plaintext","txt","text","plain"].includes(e)}function Wf(e){return e==="ansi"||fa(e)}function da(e){return e==="none"}function qf(e){return da(e)}function Kf(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}function fi(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let i=0;i<n.length;i+=2){const s=t?n[i]+(n[i+1]||""):n[i];o.push([s,r]),r+=n[i].length,r+=n[i+1]?.length||0}return o}function C0(e){const t=fi(e,!0).map(([o])=>o);function n(o){if(o===e.length)return{line:t.length-1,character:t[t.length-1].length};let i=o,s=0;for(const a of t){if(i<a.length)break;i-=a.length,s++}return{line:s,character:i}}function r(o,i){let s=0;for(let a=0;a<o;a++)s+=t[a].length;return s+=i,s}return{lines:t,indexToPos:n,posToIndex:r}}function k0(e,t,n){const r=new Set;for(const i of e.matchAll(/lang=["']([\w-]+)["']/g))r.add(i[1]);for(const i of e.matchAll(/(?:```|~~~)([\w-]+)/g))r.add(i[1]);for(const i of e.matchAll(/\\begin\{([\w-]+)\}/g))r.add(i[1]);if(!n)return Array.from(r);const o=n.getBundledLanguages();return Array.from(r).filter(i=>i&&o[i])}const pa="light-dark()",L0=["color","background-color"];function x0(e,t){let n=0;const r=[];for(const o of t)o>n&&r.push({...e,content:e.content.slice(n,o),offset:e.offset+n}),n=o;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function O0(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,o)=>r-o);return n.length?e.map(r=>r.flatMap(o=>{const i=n.filter(s=>o.offset<s&&s<o.offset+o.content.length).map(s=>s-o.offset).sort((s,a)=>s-a);return i.length?x0(o,i):o})):e}function I0(e,t,n,r,o="css-vars"){const i={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(c=>jo(e.variants[c])),a=new Set(s.flatMap(c=>Object.keys(c))),l={},u=(c,f)=>{const p=f==="color"?"":f==="background-color"?"-bg":`-${f}`;return n+t[c]+(f==="color"?"":p)};return s.forEach((c,f)=>{for(const p of a){const d=c[p]||"inherit";if(f===0&&r&&L0.includes(p))if(r===pa&&s.length>1){const h=t.findIndex(w=>w==="light"),_=t.findIndex(w=>w==="dark");if(h===-1||_===-1)throw new De('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const y=s[h][p]||"inherit",b=s[_][p]||"inherit";l[p]=`light-dark(${y}, ${b})`,o==="css-vars"&&(l[u(f,p)]=d)}else l[p]=d;else o==="css-vars"&&(l[u(f,p)]=d)}}),i.htmlStyle=l,i}function jo(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&Xe.Italic&&(t["font-style"]="italic"),e.fontStyle&Xe.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&Xe.Underline&&n.push("underline"),e.fontStyle&Xe.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function Ps(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}const Jf=new WeakMap;function di(e,t){Jf.set(e,t)}function Ar(e){return Jf.get(e)}class tr{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new tr(Object.fromEntries(P0(n).map(r=>[r,Es])),t)}constructor(...t){if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,o]=t;this.lang=r,this._stacks={[o]:n}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return D0(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function D0(e){const t=[],n=new Set;function r(o){if(n.has(o))return;n.add(o);const i=o?.nameScopesList?.scopeName;i&&t.push(i),o.parent&&r(o.parent)}return r(e),t}function N0(e,t){if(!(e instanceof tr))throw new De("Invalid grammar state");return e.getInternalStack(t)}function M0(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(s){if(typeof s=="number"){if(s<0||s>n.source.length)throw new De(`Invalid decoration offset: ${s}. Code length: ${n.source.length}`);return{...o.indexToPos(s),offset:s}}else{const a=o.lines[s.line];if(a===void 0)throw new De(`Invalid decoration position ${JSON.stringify(s)}. Lines length: ${o.lines.length}`);let l=s.character;if(l<0&&(l=a.length+l),l<0||l>a.length)throw new De(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${a.length}`);return{...s,character:l,offset:o.posToIndex(s.line,l)}}};const o=C0(n.source),i=(n.options.decorations||[]).map(s=>({...s,start:r(s.start),end:r(s.end)}));V0(i),e.set(n.meta,{decorations:i,converter:o,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(!this.options.decorations?.length)return;const o=t(this).decorations.flatMap(s=>[s.start.offset,s.end.offset]);return O0(n,o)},code(n){if(!this.options.decorations?.length)return;const r=t(this),o=Array.from(n.children).filter(c=>c.type==="element"&&c.tagName==="span");if(o.length!==r.converter.lines.length)throw new De(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function i(c,f,p,d){const h=o[c];let _="",y=-1,b=-1;if(f===0&&(y=0),p===0&&(b=0),p===Number.POSITIVE_INFINITY&&(b=h.children.length),y===-1||b===-1)for(let m=0;m<h.children.length;m++)_+=Xf(h.children[m]),y===-1&&_.length===f&&(y=m+1),b===-1&&_.length===p&&(b=m+1);if(y===-1)throw new De(`Failed to find start index for decoration ${JSON.stringify(d.start)}`);if(b===-1)throw new De(`Failed to find end index for decoration ${JSON.stringify(d.end)}`);const w=h.children.slice(y,b);if(!d.alwaysWrap&&w.length===h.children.length)a(h,d,"line");else if(!d.alwaysWrap&&w.length===1&&w[0].type==="element")a(w[0],d,"token");else{const m={type:"element",tagName:"span",properties:{},children:w};a(m,d,"wrapper"),h.children.splice(y,w.length,m)}}function s(c,f){o[c]=a(o[c],f,"line")}function a(c,f,p){const d=f.properties||{},h=f.transform||(_=>_);return c.tagName=f.tagName||"span",c.properties={...c.properties,...d,class:c.properties.class},f.properties?.class&&Kf(c,f.properties.class),c=h(c,p)||c,c}const l=[],u=r.decorations.sort((c,f)=>f.start.offset-c.start.offset||c.end.offset-f.end.offset);for(const c of u){const{start:f,end:p}=c;if(f.line===p.line)i(f.line,f.character,p.character,c);else if(f.line<p.line){i(f.line,f.character,Number.POSITIVE_INFINITY,c);for(let d=f.line+1;d<p.line;d++)l.unshift(()=>s(d,c));i(p.line,0,p.character,c)}}l.forEach(c=>c())}}}function V0(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new De(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const o=e[r],i=n.start.offset<=o.start.offset&&o.start.offset<n.end.offset,s=n.start.offset<o.end.offset&&o.end.offset<=n.end.offset,a=o.start.offset<=n.start.offset&&n.start.offset<o.end.offset,l=o.start.offset<n.end.offset&&n.end.offset<=o.end.offset;if(i||s||a||l){if(i&&s||a&&l||a&&n.start.offset===n.end.offset||s&&o.start.offset===o.end.offset)continue;throw new De(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(o.start)} intersect.`)}}}}function Xf(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(Xf).join(""):""}const $0=[M0()];function Bo(e){const t=j0(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...$0]}function j0(e){const t=[],n=[],r=[];for(const o of e)switch(o.enforce){case"pre":t.push(o);break;case"post":n.push(o);break;default:r.push(o)}return{pre:t,post:n,normal:r}}var un=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Bi={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function B0(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function ql(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function F0(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)Bi[r]&&t.push({type:"setDecoration",value:Bi[r]});else if(r<=29){const o=Bi[r-20];o&&(t.push({type:"resetDecoration",value:o}),o==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:un[r-30]}});else if(r===38){const o=ql(e);o&&t.push({type:"setForegroundColor",value:o})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:un[r-40]}});else if(r===48){const o=ql(e);o&&t.push({type:"setBackgroundColor",value:o})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:un[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:un[r-100+8]}})}return t}function H0(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=B0(r,i),a=s.sequence?r.substring(i,s.startPosition):r.substring(i);if(a.length>0&&o.push({value:a,foreground:e,background:t,decorations:new Set(n)}),s.sequence){const l=F0(s.sequence);for(const u of l)u.type==="resetAll"?(e=null,t=null,n.clear()):u.type==="resetForegroundColor"?e=null:u.type==="resetBackgroundColor"?t=null:u.type==="resetDecoration"&&n.delete(u.value);for(const u of l)u.type==="setForegroundColor"?e=u.value:u.type==="setBackgroundColor"?t=u.value:u.type==="setDecoration"&&n.add(u.value)}i=s.position}while(i<r.length);return o}}}var U0={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function z0(e=U0){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let u=0;u<un.length;u++)r.push(t(un[u]));let a=[0,95,135,175,215,255];for(let u=0;u<6;u++)for(let c=0;c<6;c++)for(let f=0;f<6;f++)r.push(n([a[u],a[c],a[f]]));let l=8;for(let u=0;u<24;u++,l+=10)r.push(n([l,l,l]));return r}function i(a){return o()[a]}function s(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return i(a.index)}}return{value:s}}function G0(e,t,n){const r=$o(e,n),o=fi(t),i=z0(Object.fromEntries(un.map(a=>[a,e.colors?.[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]))),s=H0();return o.map(a=>s.parse(a[0]).map(l=>{let u,c;l.decorations.has("reverse")?(u=l.background?i.value(l.background):e.bg,c=l.foreground?i.value(l.foreground):e.fg):(u=l.foreground?i.value(l.foreground):e.fg,c=l.background?i.value(l.background):void 0),u=Zt(u,r),c=Zt(c,r),l.decorations.has("dim")&&(u=W0(u));let f=Xe.None;return l.decorations.has("bold")&&(f|=Xe.Bold),l.decorations.has("italic")&&(f|=Xe.Italic),l.decorations.has("underline")&&(f|=Xe.Underline),l.decorations.has("strikethrough")&&(f|=Xe.Strikethrough),{content:l.value,offset:a[1],color:u,bgColor:c,fontStyle:f}}))}function W0(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function ha(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(fa(r)||da(o))return fi(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return G0(i,t,n);const a=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==a.name)throw new De(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${a.name}"`);if(!n.grammarState.themes.includes(i.name))throw new De(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return K0(t,a,i,s,n)}function q0(...e){if(e.length===2)return Ar(e[1]);const[t,n,r={}]=e,{lang:o="text",theme:i=t.getLoadedThemes()[0]}=r;if(fa(o)||da(i))throw new De("Plain language does not have grammar state");if(o==="ansi")throw new De("ANSI language does not have grammar state");const{theme:s,colorMap:a}=t.setTheme(i),l=t.getLanguage(o);return new tr(Fo(n,l,s,a,r).stateStack,l.name,s.name)}function K0(e,t,n,r,o){const i=Fo(e,t,n,r,o),s=new tr(Fo(e,t,n,r,o).stateStack,t.name,n.name);return di(i.tokens,s),i.tokens}function Fo(e,t,n,r,o){const i=$o(n,o),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:a=500}=o,l=fi(e);let u=o.grammarState?N0(o.grammarState,n.name)??Es:o.grammarContextCode!=null?Fo(o.grammarContextCode,t,n,r,{...o,grammarState:void 0,grammarContextCode:void 0}).stateStack:Es,c=[];const f=[];for(let p=0,d=l.length;p<d;p++){const[h,_]=l[p];if(h===""){c=[],f.push([]);continue}if(s>0&&h.length>=s){c=[],f.push([{content:h,offset:_,color:"",fontStyle:0}]);continue}let y,b,w;o.includeExplanation&&(y=t.tokenizeLine(h,u,a),b=y.tokens,w=0);const m=t.tokenizeLine2(h,u,a),E=m.tokens.length/2;for(let T=0;T<E;T++){const L=m.tokens[2*T],j=T+1<E?m.tokens[2*T+2]:h.length;if(L===j)continue;const K=m.tokens[2*T+1],q=Zt(r[Xn.getForeground(K)],i),H=Xn.getFontStyle(K),se={content:h.substring(L,j),offset:_+L,color:q,fontStyle:H};if(o.includeExplanation){const X=[];if(o.includeExplanation!=="scopeName")for(const R of n.settings){let D;switch(typeof R.scope){case"string":D=R.scope.split(/,/).map(k=>k.trim());break;case"object":D=R.scope;break;default:continue}X.push({settings:R,selectors:D.map(k=>k.split(/ /))})}se.explanation=[];let A=0;for(;L+A<j;){const R=b[w],D=h.substring(R.startIndex,R.endIndex);A+=D.length,se.explanation.push({content:D,scopes:o.includeExplanation==="scopeName"?J0(R.scopes):X0(X,R.scopes)}),w+=1}}c.push(se)}f.push(c),c=[],u=m.ruleStack}return{tokens:f,stateStack:u}}function J0(e){return e.map(t=>({scopeName:t}))}function X0(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const i=t[r];n[r]={scopeName:i,themeMatches:Q0(e,i,t.slice(0,r))}}return n}function Kl(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function Y0(e,t,n){if(!Kl(e[e.length-1],t))return!1;let r=e.length-2,o=n.length-1;for(;r>=0&&o>=0;)Kl(e[r],n[o])&&(r-=1),o-=1;return r===-1}function Q0(e,t,n){const r=[];for(const{selectors:o,settings:i}of e)for(const s of o)if(Y0(s,t,n)){r.push(i);break}return r}function Yf(e,t,n){const r=Object.entries(n.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),o=r.map(l=>{const u=ha(e,t,{...n,theme:l.theme}),c=Ar(u),f=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:u,state:c,theme:f}}),i=Z0(...o.map(l=>l.tokens)),s=i[0].map((l,u)=>l.map((c,f)=>{const p={content:c.content,variants:{},offset:c.offset};return"includeExplanation"in n&&n.includeExplanation&&(p.explanation=c.explanation),i.forEach((d,h)=>{const{content:_,explanation:y,offset:b,...w}=d[u][f];p.variants[r[h].color]=w}),p})),a=o[0].state?new tr(Object.fromEntries(o.map(l=>[l.theme,l.state?.getInternalStack(l.theme)])),o[0].state.lang):void 0;return a&&di(s,a),s}function Z0(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(l=>l[r]),i=t.map(()=>[]);t.forEach((l,u)=>l.push(i[u]));const s=o.map(()=>0),a=o.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(u=>u.content.length));for(let u=0;u<n;u++){const c=a[u];c.content.length===l?(i[u].push(c),s[u]+=1,a[u]=o[u][s[u]]):(i[u].push({...c,content:c.content.slice(0,l)}),a[u]={...c,content:c.content.slice(l),offset:c.offset+l})}}}return t}function Ho(e,t,n){let r,o,i,s,a,l;if("themes"in n){const{defaultColor:u="light",cssVariablePrefix:c="--shiki-",colorsRendering:f="css-vars"}=n,p=Object.entries(n.themes).filter(b=>b[1]).map(b=>({color:b[0],theme:b[1]})).sort((b,w)=>b.color===u?-1:w.color===u?1:0);if(p.length===0)throw new De("`themes` option must not be empty");const d=Yf(e,t,n);if(l=Ar(d),u&&pa!==u&&!p.find(b=>b.color===u))throw new De(`\`themes\` option must contain the defaultColor key \`${u}\``);const h=p.map(b=>e.getTheme(b.theme)),_=p.map(b=>b.color);i=d.map(b=>b.map(w=>I0(w,_,c,u,f))),l&&di(i,l);const y=p.map(b=>$o(b.theme,n));o=Jl(p,h,y,c,u,"fg",f),r=Jl(p,h,y,c,u,"bg",f),s=`shiki-themes ${h.map(b=>b.name).join(" ")}`,a=u?void 0:[o,r].join(";")}else if("theme"in n){const u=$o(n.theme,n);i=ha(e,t,n);const c=e.getTheme(n.theme);r=Zt(c.bg,u),o=Zt(c.fg,u),s=c.name,l=Ar(i)}else throw new De("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:a,grammarState:l}}function Jl(e,t,n,r,o,i,s){return e.map((a,l)=>{const u=Zt(t[l][i],n[l])||"inherit",c=`${r+a.color}${i==="bg"?"-bg":""}:${u}`;if(l===0&&o){if(o===pa&&e.length>1){const f=e.findIndex(_=>_.color==="light"),p=e.findIndex(_=>_.color==="dark");if(f===-1||p===-1)throw new De('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const d=Zt(t[f][i],n[f])||"inherit",h=Zt(t[p][i],n[p])||"inherit";return`light-dark(${d}, ${h});${c}`}return u}return s==="css-vars"?c:null}).filter(a=>!!a).join(";")}function Uo(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>Uo(e,o,i),codeToTokens:(o,i)=>Ho(e,o,i)}){let o=t;for(const h of Bo(n))o=h.preprocess?.call(r,o,n)||o;let{tokens:i,fg:s,bg:a,themeName:l,rootStyle:u,grammarState:c}=Ho(e,o,n);const{mergeWhitespaces:f=!0,mergeSameStyleTokens:p=!1}=n;f===!0?i=tw(i):f==="never"&&(i=nw(i)),p&&(i=rw(i));const d={...r,get source(){return o}};for(const h of Bo(n))i=h.tokens?.call(d,i)||i;return ew(i,{...n,fg:s,bg:a,themeName:l,rootStyle:u},d,c)}function ew(e,t,n,r=Ar(e)){const o=Bo(t),i=[],s={type:"root",children:[]},{structure:a="classic",tabindex:l="0"}=t;let u={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...l!==!1&&l!=null?{tabindex:l.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([h])=>!h.startsWith("_")))},children:[]},c={type:"element",tagName:"code",properties:{},children:i};const f=[],p={...n,structure:a,addClassToHast:Kf,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return u},get code(){return c},get lines(){return f}};if(e.forEach((h,_)=>{_&&(a==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&i.push({type:"text",value:`
46
- `}));let y={type:"element",tagName:"span",properties:{class:"line"},children:[]},b=0;for(const w of h){let m={type:"element",tagName:"span",properties:{...w.htmlAttrs},children:[{type:"text",value:w.content}]};const E=Ps(w.htmlStyle||jo(w));E&&(m.properties.style=E);for(const T of o)m=T?.span?.call(p,m,_+1,b,y,w)||m;a==="inline"?s.children.push(m):a==="classic"&&y.children.push(m),b+=w.content.length}if(a==="classic"){for(const w of o)y=w?.line?.call(p,y,_+1)||y;f.push(y),i.push(y)}}),a==="classic"){for(const h of o)c=h?.code?.call(p,c)||c;u.children.push(c);for(const h of o)u=h?.pre?.call(p,u)||u;s.children.push(u)}let d=s;for(const h of o)d=h?.root?.call(p,d)||d;return r&&di(d,r),d}function tw(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const l=!(i.fontStyle&&(i.fontStyle&Xe.Underline||i.fontStyle&Xe.Strikethrough));l&&i.content.match(/^\s+$/)&&t[s+1]?(o||(o=i.offset),r+=i.content):r?(l?n.push({...i,offset:o,content:r+i.content}):n.push({content:r,offset:o},i),o=0,r=""):n.push(i)}),n})}function nw(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,o,i,s]=r;if(!o&&!s)return n;const a=[{...n,offset:n.offset+o.length,content:i}];return o&&a.unshift({content:o,offset:n.offset}),s&&a.push({content:s,offset:n.offset+o.length+i.length}),a}))}function rw(e){return e.map(t=>{const n=[];for(const r of t){if(n.length===0){n.push({...r});continue}const o=n[n.length-1],i=Ps(o.htmlStyle||jo(o)),s=Ps(r.htmlStyle||jo(r)),a=o.fontStyle&&(o.fontStyle&Xe.Underline||o.fontStyle&Xe.Strikethrough),l=r.fontStyle&&(r.fontStyle&Xe.Underline||r.fontStyle&Xe.Strikethrough);!a&&!l&&i===s?o.content+=r.content:n.push({...r})}return n})}const ow=T0;function iw(e,t,n){const r={meta:{},options:n,codeToHast:(i,s)=>Uo(e,i,s),codeToTokens:(i,s)=>Ho(e,i,s)};let o=ow(Uo(e,t,n,r));for(const i of Bo(n))o=i.postprocess?.call(r,o,n)||o;return o}const Xl={light:"#333333",dark:"#bbbbbb"},Yl={light:"#fffffe",dark:"#1e1e1e"},Ql="__shiki_resolved";function ma(e){if(e?.[Ql])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const a=t.settings?t.settings.find(l=>!l.name&&!l.scope):void 0;a?.settings?.foreground&&(r=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Xl.light:Xl.dark),n||(n=t.type==="light"?Yl.light:Yl.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const i=new Map;function s(a){if(i.has(a))return i.get(a);o+=1;const l=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${l}`]?s(a):(i.set(a,l),l)}t.settings=t.settings.map(a=>{const l=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),u=a.settings?.background&&!a.settings.background.startsWith("#");if(!l&&!u)return a;const c={...a,settings:{...a.settings}};if(l){const f=s(a.settings.foreground);t.colorReplacements[f]=a.settings.foreground,c.settings.foreground=f}if(u){const f=s(a.settings.background);t.colorReplacements[f]=a.settings.background,c.settings.background=f}return c});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const l=s(t.colors[a]);t.colorReplacements[l]=t.colors[a],t.colors[a]=l}return Object.defineProperty(t,Ql,{enumerable:!1,writable:!1,value:!0}),t}async function Qf(e){return Array.from(new Set((await Promise.all(e.filter(t=>!Wf(t)).map(async t=>await Gf(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function Zf(e){return(await Promise.all(e.map(async n=>qf(n)?null:ma(await Gf(n))))).filter(n=>!!n)}let sw=3;function aw(e,t=3){t>sw||console.trace(`[SHIKI DEPRECATE]: ${e}`)}let In=class extends Error{constructor(t){super(t),this.name="ShikiError"}};class lw extends ub{constructor(t,n,r,o={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=o,this._themes.map(i=>this.loadTheme(i)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const n=ma(t);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=Io.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new In(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars.get(t)}loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set([...this._langMap.values()].filter(i=>i.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const o=this.loadGrammarWithConfiguration(t.scopeName,1,r);if(o.name=t.name,this._resolvedGrammars.set(t.name,o),t.aliases&&t.aliases.forEach(i=>{this._alias[i]=t.name}),this._loadedLanguagesCache=null,n.size)for(const i of n)this._resolvedGrammars.delete(i.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(i.scopeName),this._syncRegistry?._grammars?.delete(i.scopeName),this.loadLanguage(this._langMap.get(i.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const o of t)this.resolveEmbeddedLanguages(o);const n=Array.from(this._langGraph.entries()),r=n.filter(([o,i])=>!i);if(r.length){const o=n.filter(([i,s])=>s&&s.embeddedLangs?.some(a=>r.map(([l])=>l).includes(a))).filter(i=>!r.includes(i));throw new In(`Missing languages ${r.map(([i])=>`\`${i}\``).join(", ")}, required by ${o.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[o,i]of n)this._resolver.addLanguage(i);for(const[o,i]of n)this.loadLanguage(i)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap.set(t.name,t),this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap.get(n))}}class cw{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(t,n){this._onigLib={createOnigScanner:r=>t.createScanner(r),createOnigString:r=>t.createString(r)},n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let o=1;o<=n.length;o++){const i=n.slice(0,o).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let ar=0;function uw(e){ar+=1,e.warnings!==!1&&ar>=10&&ar%10===0&&console.warn(`[Shiki] ${ar} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new In("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(ma),o=new cw(e.engine,n),i=new lw(o,r,n,e.langAlias);let s;function a(w){y();const m=i.getGrammar(typeof w=="string"?w:w.name);if(!m)throw new In(`Language \`${w}\` not found, you may need to load it first`);return m}function l(w){if(w==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};y();const m=i.getTheme(w);if(!m)throw new In(`Theme \`${w}\` not found, you may need to load it first`);return m}function u(w){y();const m=l(w);s!==w&&(i.setTheme(m),s=w);const E=i.getColorMap();return{theme:m,colorMap:E}}function c(){return y(),i.getLoadedThemes()}function f(){return y(),i.getLoadedLanguages()}function p(...w){y(),i.loadLanguages(w.flat(1))}async function d(...w){return p(await Qf(w))}function h(...w){y();for(const m of w.flat(1))i.loadTheme(m)}async function _(...w){return y(),h(await Zf(w))}function y(){if(t)throw new In("Shiki instance has been disposed")}function b(){t||(t=!0,i.dispose(),ar-=1)}return{setTheme:u,getTheme:l,getLanguage:a,getLoadedThemes:c,getLoadedLanguages:f,loadLanguage:d,loadLanguageSync:p,loadTheme:_,loadThemeSync:h,dispose:b,[Symbol.dispose]:b}}async function fw(e){e.engine||aw("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([Zf(e.themes||[]),Qf(e.langs||[]),e.engine]);return uw({...e,themes:t,langs:n,engine:r})}async function dw(e){const t=await fw(e);return{getLastGrammarState:(...n)=>q0(t,...n),codeToTokensBase:(n,r)=>ha(t,n,r),codeToTokensWithThemes:(n,r)=>Yf(t,n,r),codeToTokens:(n,r)=>Ho(t,n,r),codeToHast:(n,r)=>Uo(t,n,r),codeToHtml:(n,r)=>iw(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function pw(e){const t=e.langs,n=e.themes,r=e.engine;async function o(i){function s(f){if(typeof f=="string"){if(Wf(f))return[];f=i.langAlias?.[f]||f;const p=t[f];if(!p)throw new De(`Language \`${f}\` is not included in this bundle. You may want to load it from external source.`);return p}return f}function a(f){if(qf(f))return"none";if(typeof f=="string"){const p=n[f];if(!p)throw new De(`Theme \`${f}\` is not included in this bundle. You may want to load it from external source.`);return p}return f}const l=(i.themes??[]).map(f=>a(f)),u=(i.langs??[]).map(f=>s(f)),c=await dw({engine:i.engine??r(),...i,themes:l,langs:u});return{...c,loadLanguage(...f){return c.loadLanguage(...f.map(s))},loadTheme(...f){return c.loadTheme(...f.map(a))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return o}function hw(e){let t;async function n(r={}){if(t){const o=await t;return await Promise.all([o.loadTheme(...r.themes||[]),o.loadLanguage(...r.langs||[])]),o}else return t=e({...r,themes:r.themes||[],langs:r.langs||[]}),t}return n}function mw(e,t){const n=hw(e);async function r(o,i){const s=await n({langs:[i.lang],themes:"theme"in i?[i.theme]:Object.values(i.themes)}),a=await t?.guessEmbeddedLanguages?.(o,i.lang,s);return a&&await s.loadLanguage(...a),s}return{getSingletonHighlighter(o){return n(o)},async codeToHtml(o,i){return(await r(o,i)).codeToHtml(o,i)},async codeToHast(o,i){return(await r(o,i)).codeToHast(o,i)},async codeToTokens(o,i){return(await r(o,i)).codeToTokens(o,i)},async codeToTokensBase(o,i){return(await r(o,i)).codeToTokensBase(o,i)},async codeToTokensWithThemes(o,i){return(await r(o,i)).codeToTokensWithThemes(o,i)},async getLastGrammarState(o,i){return(await n({langs:[i.lang],themes:[i.theme]})).getLastGrammarState(o,i)}}}const ed=[{id:"abap",name:"ABAP",import:(()=>g(()=>import("./BdImnpbu.js"),[],import.meta.url))},{id:"actionscript-3",name:"ActionScript",import:(()=>g(()=>import("./CfeIJUat.js"),[],import.meta.url))},{id:"ada",name:"Ada",import:(()=>g(()=>import("./bCR0ucgS.js"),[],import.meta.url))},{id:"angular-html",name:"Angular HTML",import:(()=>g(()=>import("./D7ScPSBf.js").then(e=>e.f),__vite__mapDeps([0,1,2,3]),import.meta.url))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>g(()=>import("./BtsDLbAf.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url))},{id:"apache",name:"Apache Conf",import:(()=>g(()=>import("./Pmp26Uib.js"),[],import.meta.url))},{id:"apex",name:"Apex",import:(()=>g(()=>import("./C7Pw0Ztw.js"),[],import.meta.url))},{id:"apl",name:"APL",import:(()=>g(()=>import("./f7oK2omx.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url))},{id:"applescript",name:"AppleScript",import:(()=>g(()=>import("./Co6uUVPk.js"),[],import.meta.url))},{id:"ara",name:"Ara",import:(()=>g(()=>import("./BRHolxvo.js"),[],import.meta.url))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>g(()=>import("./Dv7Oe6Be.js"),[],import.meta.url))},{id:"asm",name:"Assembly",import:(()=>g(()=>import("./D_Q5rh1f.js"),[],import.meta.url))},{id:"astro",name:"Astro",import:(()=>g(()=>import("./CLvts2aQ.js"),__vite__mapDeps([10,9,2,11,3,12,13]),import.meta.url))},{id:"awk",name:"AWK",import:(()=>g(()=>import("./DMzUqQB5.js"),[],import.meta.url))},{id:"ballerina",name:"Ballerina",import:(()=>g(()=>import("./BFfxhgS-.js"),[],import.meta.url))},{id:"bat",name:"Batch File",aliases:["batch"],import:(()=>g(()=>import("./BkioyH1T.js"),[],import.meta.url))},{id:"beancount",name:"Beancount",import:(()=>g(()=>import("./BoKiGodi.js"),[],import.meta.url))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>g(()=>import("./D08WgyRC.js"),[],import.meta.url))},{id:"bibtex",name:"BibTeX",import:(()=>g(()=>import("./CHM0blh-.js"),[],import.meta.url))},{id:"bicep",name:"Bicep",import:(()=>g(()=>import("./6nHXG8SA.js"),[],import.meta.url))},{id:"blade",name:"Blade",import:(()=>g(()=>import("./UInuXPgp.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9]),import.meta.url))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>g(()=>import("./CquLrc37.js"),__vite__mapDeps([17,18]),import.meta.url))},{id:"c",name:"C",import:(()=>g(()=>import("./BIGW1oBm.js"),[],import.meta.url))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>g(()=>import("./D2CYqzqI.js"),[],import.meta.url))},{id:"cairo",name:"Cairo",import:(()=>g(()=>import("./CO1LY3CK.js"),__vite__mapDeps([19,20]),import.meta.url))},{id:"clarity",name:"Clarity",import:(()=>g(()=>import("./CHh-QcGE.js"),[],import.meta.url))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>g(()=>import("./P80f7IUj.js"),[],import.meta.url))},{id:"cmake",name:"CMake",import:(()=>g(()=>import("./D1j8_8rp.js"),[],import.meta.url))},{id:"cobol",name:"COBOL",import:(()=>g(()=>import("./BbQj0Z2C.js"),__vite__mapDeps([21,1,2,3,8]),import.meta.url))},{id:"codeowners",name:"CODEOWNERS",import:(()=>g(()=>import("./Bp6g37R7.js"),[],import.meta.url))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>g(()=>import("./DsOJ9woJ.js"),[],import.meta.url))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>g(()=>import("./DNrj_gVY.js"),__vite__mapDeps([22,2]),import.meta.url))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>g(()=>import("./Cg-RD9OK.js"),[],import.meta.url))},{id:"coq",name:"Coq",import:(()=>g(()=>import("./DkFqJrB1.js"),[],import.meta.url))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>g(()=>import("./Bp3cYrEr.js"),__vite__mapDeps([23,24,25,26,16]),import.meta.url))},{id:"crystal",name:"Crystal",import:(()=>g(()=>import("./DrZfEa88.js"),__vite__mapDeps([27,1,2,3,16,26,28]),import.meta.url))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>g(()=>import("./CHadp7IV.js"),[],import.meta.url))},{id:"css",name:"CSS",import:(()=>g(()=>import("./DPfMkruS.js"),[],import.meta.url))},{id:"csv",name:"CSV",import:(()=>g(()=>import("./fuZLfV_i.js"),[],import.meta.url))},{id:"cue",name:"CUE",import:(()=>g(()=>import("./D82EKSYY.js"),[],import.meta.url))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>g(()=>import("./COkxafJQ.js"),[],import.meta.url))},{id:"d",name:"D",import:(()=>g(()=>import("./85-TOEBH.js"),[],import.meta.url))},{id:"dart",name:"Dart",import:(()=>g(()=>import("./CF10PKvl.js"),[],import.meta.url))},{id:"dax",name:"DAX",import:(()=>g(()=>import("./CEL-wOlO.js"),[],import.meta.url))},{id:"desktop",name:"Desktop",import:(()=>g(()=>import("./BmXAJ9_W.js"),[],import.meta.url))},{id:"diff",name:"Diff",import:(()=>g(()=>import("./D97Zzqfu.js"),[],import.meta.url))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>g(()=>import("./BcOcwvcX.js"),[],import.meta.url))},{id:"dotenv",name:"dotEnv",import:(()=>g(()=>import("./Da5cRb03.js"),[],import.meta.url))},{id:"dream-maker",name:"Dream Maker",import:(()=>g(()=>import("./BtqSS_iP.js"),[],import.meta.url))},{id:"edge",name:"Edge",import:(()=>g(()=>import("./BPzJO5Oe.js"),__vite__mapDeps([29,11,1,2,3,15]),import.meta.url))},{id:"elixir",name:"Elixir",import:(()=>g(()=>import("./B-hkwWGT.js"),__vite__mapDeps([30,1,2,3]),import.meta.url))},{id:"elm",name:"Elm",import:(()=>g(()=>import("./CeZK1NFH.js"),__vite__mapDeps([31,25,26]),import.meta.url))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>g(()=>import("./C9XAeP06.js"),[],import.meta.url))},{id:"erb",name:"ERB",import:(()=>g(()=>import("./Dtc2v4kS.js"),__vite__mapDeps([32,1,2,3,33,34,7,8,16,35,11,36,13,23,24,25,26,28,37,38]),import.meta.url))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>g(()=>import("./CuPHTKiy.js"),__vite__mapDeps([39,40]),import.meta.url))},{id:"fennel",name:"Fennel",import:(()=>g(()=>import("./BYunw83y.js"),[],import.meta.url))},{id:"fish",name:"Fish",import:(()=>g(()=>import("./Bl2oy6fF.js"),[],import.meta.url))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>g(()=>import("./C4IJs8-o.js"),[],import.meta.url))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>g(()=>import("./CZlF05X6.js"),__vite__mapDeps([41,42]),import.meta.url))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>g(()=>import("./D22FLkUw.js"),[],import.meta.url))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>g(()=>import("./Don94nLk.js"),__vite__mapDeps([43,40]),import.meta.url))},{id:"gdresource",name:"GDResource",import:(()=>g(()=>import("./oTG82Wo1.js"),__vite__mapDeps([44,45,46]),import.meta.url))},{id:"gdscript",name:"GDScript",import:(()=>g(()=>import("./DTMYz4Jt.js"),[],import.meta.url))},{id:"gdshader",name:"GDShader",import:(()=>g(()=>import("./DkwncUOv.js"),[],import.meta.url))},{id:"genie",name:"Genie",import:(()=>g(()=>import("./D0YGMca9.js"),[],import.meta.url))},{id:"gherkin",name:"Gherkin",import:(()=>g(()=>import("./DyxjwDmM.js"),[],import.meta.url))},{id:"git-commit",name:"Git Commit Message",import:(()=>g(()=>import("./CxGSJlkm.js"),__vite__mapDeps([47,48]),import.meta.url))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>g(()=>import("./CSXwinHm.js"),__vite__mapDeps([49,28]),import.meta.url))},{id:"gleam",name:"Gleam",import:(()=>g(()=>import("./BspZqrRM.js"),[],import.meta.url))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>g(()=>import("./DeWFVDHI.js"),__vite__mapDeps([50,2,11,3,1]),import.meta.url))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>g(()=>import("./BBGuKPBd.js"),__vite__mapDeps([51,11,3,2,1]),import.meta.url))},{id:"glsl",name:"GLSL",import:(()=>g(()=>import("./DZxFcAj9.js"),__vite__mapDeps([25,26]),import.meta.url))},{id:"gnuplot",name:"Gnuplot",import:(()=>g(()=>import("./DdkO51Og.js"),[],import.meta.url))},{id:"go",name:"Go",import:(()=>g(()=>import("./Dn2_MT6a.js"),[],import.meta.url))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>g(()=>import("./DS1LvVMU.js"),__vite__mapDeps([35,2,11,36,13]),import.meta.url))},{id:"groovy",name:"Groovy",import:(()=>g(()=>import("./gcz8RCvz.js"),[],import.meta.url))},{id:"hack",name:"Hack",import:(()=>g(()=>import("./CTWiQX6C.js"),__vite__mapDeps([52,1,2,3,16]),import.meta.url))},{id:"haml",name:"Ruby Haml",import:(()=>g(()=>import("./BGHREFWD.js"),__vite__mapDeps([34,2,3]),import.meta.url))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>g(()=>import("./IvJ92aGK.js"),__vite__mapDeps([53,1,2,3,38]),import.meta.url))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>g(()=>import("./Df6bDoY_.js"),[],import.meta.url))},{id:"haxe",name:"Haxe",import:(()=>g(()=>import("./CzTSHFRz.js"),[],import.meta.url))},{id:"hcl",name:"HashiCorp HCL",import:(()=>g(()=>import("./BWvSN4gD.js"),[],import.meta.url))},{id:"hjson",name:"Hjson",import:(()=>g(()=>import("./D5-asLiD.js"),[],import.meta.url))},{id:"hlsl",name:"HLSL",import:(()=>g(()=>import("./D3lLCCz7.js"),[],import.meta.url))},{id:"html",name:"HTML",import:(()=>g(()=>import("./JhPuU2gP.js"),__vite__mapDeps([1,2,3]),import.meta.url))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>g(()=>import("./5bLW0GMw.js"),__vite__mapDeps([15,1,2,3]),import.meta.url))},{id:"http",name:"HTTP",import:(()=>g(()=>import("./BDzgwa52.js"),__vite__mapDeps([54,28,9,7,8,35,2,11,36,13]),import.meta.url))},{id:"hxml",name:"HXML",import:(()=>g(()=>import("./DWrx1Km3.js"),__vite__mapDeps([55,56]),import.meta.url))},{id:"hy",name:"Hy",import:(()=>g(()=>import("./DFXneXwc.js"),[],import.meta.url))},{id:"imba",name:"Imba",import:(()=>g(()=>import("./DGztddWO.js"),[],import.meta.url))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>g(()=>import("./BEwlwnbL.js"),[],import.meta.url))},{id:"java",name:"Java",import:(()=>g(()=>import("./CylS5w8V.js"),[],import.meta.url))},{id:"javascript",name:"JavaScript",aliases:["js"],import:(()=>g(()=>import("./BMMyXqK5.js"),[],import.meta.url))},{id:"jinja",name:"Jinja",import:(()=>g(()=>import("./pkIJ47B4.js"),__vite__mapDeps([57,1,2,3]),import.meta.url))},{id:"jison",name:"Jison",import:(()=>g(()=>import("./BIAuTxu3.js"),__vite__mapDeps([58,2]),import.meta.url))},{id:"json",name:"JSON",import:(()=>g(()=>import("./Cp-IABpG.js"),[],import.meta.url))},{id:"json5",name:"JSON5",import:(()=>g(()=>import("./C9tS-k6U.js"),[],import.meta.url))},{id:"jsonc",name:"JSON with Comments",import:(()=>g(()=>import("./Des-eS-w.js"),[],import.meta.url))},{id:"jsonl",name:"JSON Lines",import:(()=>g(()=>import("./DcaNXYhu.js"),[],import.meta.url))},{id:"jsonnet",name:"Jsonnet",import:(()=>g(()=>import("./DFQXde-d.js"),[],import.meta.url))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>g(()=>import("./C2t-YnRu.js"),[],import.meta.url))},{id:"jsx",name:"JSX",import:(()=>g(()=>import("./g9-lgVsj.js"),[],import.meta.url))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>g(()=>import("./CU27uY9n.js"),__vite__mapDeps([59,23,24,25,26,16,20,2,60]),import.meta.url))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>g(()=>import("./BdnUsdx6.js"),[],import.meta.url))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>g(()=>import("./BvAqAH-y.js"),[],import.meta.url))},{id:"latex",name:"LaTeX",import:(()=>g(()=>import("./SdwduGaY.js"),__vite__mapDeps([61,62,60]),import.meta.url))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>g(()=>import("./qliWkHmV.js"),[],import.meta.url))},{id:"less",name:"Less",import:(()=>g(()=>import("./B1dDrJ26.js"),[],import.meta.url))},{id:"liquid",name:"Liquid",import:(()=>g(()=>import("./BXY8tDGw.js"),__vite__mapDeps([63,1,2,3,9]),import.meta.url))},{id:"llvm",name:"LLVM IR",import:(()=>g(()=>import("./D32k8WzR.js"),[],import.meta.url))},{id:"log",name:"Log file",import:(()=>g(()=>import("./2UxHyX5q.js"),[],import.meta.url))},{id:"logo",name:"Logo",import:(()=>g(()=>import("./BtOb2qkB.js"),[],import.meta.url))},{id:"lua",name:"Lua",import:(()=>g(()=>import("./BE2KfCdU.js"),__vite__mapDeps([37,26]),import.meta.url))},{id:"luau",name:"Luau",import:(()=>g(()=>import("./CXu1NL6O.js"),[],import.meta.url))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>g(()=>import("./CHLpvVh8.js"),[],import.meta.url))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>g(()=>import("./Cvjx9yec.js"),[],import.meta.url))},{id:"marko",name:"Marko",import:(()=>g(()=>import("./Cp2bjttb.js"),__vite__mapDeps([64,3,65,5,11]),import.meta.url))},{id:"matlab",name:"MATLAB",import:(()=>g(()=>import("./D7o27uSR.js"),[],import.meta.url))},{id:"mdc",name:"MDC",import:(()=>g(()=>import("./B8ROHVmM.js"),__vite__mapDeps([66,40,38,15,1,2,3]),import.meta.url))},{id:"mdx",name:"MDX",import:(()=>g(()=>import("./Cmh6b_Ma.js"),[],import.meta.url))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>g(()=>import("./DKYwYmdq.js"),[],import.meta.url))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>g(()=>import("./CKIfxQSi.js"),[],import.meta.url))},{id:"mojo",name:"Mojo",import:(()=>g(()=>import("./1DNp92w6.js"),[],import.meta.url))},{id:"move",name:"Move",import:(()=>g(()=>import("./DNEoBllO.js"),[],import.meta.url))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>g(()=>import("./DRg8JJMk.js"),[],import.meta.url))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>g(()=>import("./CUEJCptM.js"),[],import.meta.url))},{id:"nginx",name:"Nginx",import:(()=>g(()=>import("./CA7CTBwS.js"),__vite__mapDeps([67,37,26]),import.meta.url))},{id:"nim",name:"Nim",import:(()=>g(()=>import("./Cdx7mHEO.js"),__vite__mapDeps([68,26,1,2,3,7,8,25,40]),import.meta.url))},{id:"nix",name:"Nix",import:(()=>g(()=>import("./BepWV7mh.js"),[],import.meta.url))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>g(()=>import("./ChH_ziBE.js"),[],import.meta.url))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>g(()=>import("./DXmwc3jG.js"),[],import.meta.url))},{id:"objective-cpp",name:"Objective-C++",import:(()=>g(()=>import("./CLxacb5B.js"),[],import.meta.url))},{id:"ocaml",name:"OCaml",import:(()=>g(()=>import("./C0hk2d4L.js"),[],import.meta.url))},{id:"pascal",name:"Pascal",import:(()=>g(()=>import("./D93ZcfNL.js"),[],import.meta.url))},{id:"perl",name:"Perl",import:(()=>g(()=>import("./COI20M4I.js"),__vite__mapDeps([69,1,2,3,7,8,16]),import.meta.url))},{id:"php",name:"PHP",import:(()=>g(()=>import("./C8-UwF3o.js"),__vite__mapDeps([70,1,2,3,7,8,16,9]),import.meta.url))},{id:"plsql",name:"PL/SQL",import:(()=>g(()=>import("./ChMvpjG-.js"),[],import.meta.url))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>g(()=>import("./BTJTHyun.js"),[],import.meta.url))},{id:"polar",name:"Polar",import:(()=>g(()=>import("./C0HS_06l.js"),[],import.meta.url))},{id:"postcss",name:"PostCSS",import:(()=>g(()=>import("./CXtECtnM.js"),[],import.meta.url))},{id:"powerquery",name:"PowerQuery",import:(()=>g(()=>import("./CEu0bR-o.js"),[],import.meta.url))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:(()=>g(()=>import("./Dpen1YoG.js"),[],import.meta.url))},{id:"prisma",name:"Prisma",import:(()=>g(()=>import("./Dd19v3D-.js"),[],import.meta.url))},{id:"prolog",name:"Prolog",import:(()=>g(()=>import("./CbFg5uaA.js"),[],import.meta.url))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>g(()=>import("./DyJlTyXw.js"),[],import.meta.url))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>g(()=>import("./Xi2tawMN.js"),__vite__mapDeps([71,2,3,1]),import.meta.url))},{id:"puppet",name:"Puppet",import:(()=>g(()=>import("./BMWR74SV.js"),[],import.meta.url))},{id:"purescript",name:"PureScript",import:(()=>g(()=>import("./CklMAg4u.js"),[],import.meta.url))},{id:"python",name:"Python",aliases:["py"],import:(()=>g(()=>import("./B6aJPvgy.js"),[],import.meta.url))},{id:"qml",name:"QML",import:(()=>g(()=>import("./DRprw4p4.js"),__vite__mapDeps([72,2]),import.meta.url))},{id:"qmldir",name:"QML Directory",import:(()=>g(()=>import("./C8lEn-DE.js"),[],import.meta.url))},{id:"qss",name:"Qt Style Sheets",import:(()=>g(()=>import("./IeuSbFQv.js"),[],import.meta.url))},{id:"r",name:"R",import:(()=>g(()=>import("./DiinP2Uv.js"),[],import.meta.url))},{id:"racket",name:"Racket",import:(()=>g(()=>import("./BqYA7rlc.js"),[],import.meta.url))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>g(()=>import("./DXvB9xmW.js"),[],import.meta.url))},{id:"razor",name:"ASP.NET Razor",import:(()=>g(()=>import("./dglhsJpM.js"),__vite__mapDeps([73,1,2,3,74]),import.meta.url))},{id:"reg",name:"Windows Registry Script",import:(()=>g(()=>import("./C-SQnVFl.js"),[],import.meta.url))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>g(()=>import("./CDVJQ6XC.js"),[],import.meta.url))},{id:"rel",name:"Rel",import:(()=>g(()=>import("./C3B-1QV4.js"),[],import.meta.url))},{id:"riscv",name:"RISC-V",import:(()=>g(()=>import("./BM1_JUlF.js"),[],import.meta.url))},{id:"rst",name:"reStructuredText",import:(()=>g(()=>import("./B5ZR69Tn.js"),__vite__mapDeps([75,15,1,2,3,23,24,25,26,16,20,28,38,76,33,34,7,8,35,11,36,13,37]),import.meta.url))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>g(()=>import("./uMbE6_td.js"),__vite__mapDeps([33,1,2,3,34,7,8,16,35,11,36,13,23,24,25,26,28,37,38]),import.meta.url))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>g(()=>import("./B1yitclQ.js"),[],import.meta.url))},{id:"sas",name:"SAS",import:(()=>g(()=>import("./CG8Ifv2g.js"),__vite__mapDeps([77,16]),import.meta.url))},{id:"sass",name:"Sass",import:(()=>g(()=>import("./Cj5Yp3dK.js"),[],import.meta.url))},{id:"scala",name:"Scala",import:(()=>g(()=>import("./C151Ov-r.js"),[],import.meta.url))},{id:"scheme",name:"Scheme",import:(()=>g(()=>import("./C98Dy4si.js"),[],import.meta.url))},{id:"scss",name:"SCSS",import:(()=>g(()=>import("./2EtD6e53.js"),__vite__mapDeps([5,3]),import.meta.url))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>g(()=>import("./DVxCFoDh.js"),[],import.meta.url))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>g(()=>import("./BqTXFGrv.js"),__vite__mapDeps([78,79]),import.meta.url))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>g(()=>import("./Yzrsuije.js"),[],import.meta.url))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>g(()=>import("./Cq5zzVJU.js"),__vite__mapDeps([80,28]),import.meta.url))},{id:"smalltalk",name:"Smalltalk",import:(()=>g(()=>import("./BERRCDM3.js"),[],import.meta.url))},{id:"solidity",name:"Solidity",import:(()=>g(()=>import("./BbcW6ACK.js"),[],import.meta.url))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>g(()=>import("./COEtLSDF.js"),__vite__mapDeps([81,1,2,3]),import.meta.url))},{id:"sparql",name:"SPARQL",import:(()=>g(()=>import("./BRZ36xJF.js"),__vite__mapDeps([82,83]),import.meta.url))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>g(()=>import("./BtCnVYZw.js"),[],import.meta.url))},{id:"sql",name:"SQL",import:(()=>g(()=>import("./BLtJtn59.js"),[],import.meta.url))},{id:"ssh-config",name:"SSH Config",import:(()=>g(()=>import("./_ykCGR6B.js"),[],import.meta.url))},{id:"stata",name:"Stata",import:(()=>g(()=>import("./DM8c43g1.js"),__vite__mapDeps([84,16]),import.meta.url))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>g(()=>import("./BEDo0Tqx.js"),[],import.meta.url))},{id:"svelte",name:"Svelte",import:(()=>g(()=>import("./DMDPKkZ0.js"),__vite__mapDeps([85,2,11,3,12]),import.meta.url))},{id:"swift",name:"Swift",import:(()=>g(()=>import("./Dg5xB15N.js"),[],import.meta.url))},{id:"system-verilog",name:"SystemVerilog",import:(()=>g(()=>import("./CnnmHF94.js"),[],import.meta.url))},{id:"systemd",name:"Systemd Units",import:(()=>g(()=>import("./4A_iFExJ.js"),[],import.meta.url))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>g(()=>import("./CkByrt1z.js"),[],import.meta.url))},{id:"tasl",name:"Tasl",import:(()=>g(()=>import("./QIJgUcNo.js"),[],import.meta.url))},{id:"tcl",name:"Tcl",import:(()=>g(()=>import("./dwOrl1Do.js"),[],import.meta.url))},{id:"templ",name:"Templ",import:(()=>g(()=>import("./BUyGWigt.js"),__vite__mapDeps([86,87,2,3]),import.meta.url))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>g(()=>import("./BETggiCN.js"),[],import.meta.url))},{id:"tex",name:"TeX",import:(()=>g(()=>import("./BQvybpQq.js"),__vite__mapDeps([62,60]),import.meta.url))},{id:"toml",name:"TOML",import:(()=>g(()=>import("./vGWfd6FD.js"),[],import.meta.url))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>g(()=>import("./DUSGQflk.js"),__vite__mapDeps([88,11,3,2,25,26,1,16,7,8]),import.meta.url))},{id:"tsv",name:"TSV",import:(()=>g(()=>import("./B_m7g4N7.js"),[],import.meta.url))},{id:"tsx",name:"TSX",import:(()=>g(()=>import("./COt5Ahok.js"),[],import.meta.url))},{id:"turtle",name:"Turtle",import:(()=>g(()=>import("./BsS91CYL.js"),[],import.meta.url))},{id:"twig",name:"Twig",import:(()=>g(()=>import("./Cb0HU5_O.js"),__vite__mapDeps([89,3,2,5,70,1,7,8,16,9,20,33,34,35,11,36,13,23,24,25,26,28,37,38]),import.meta.url))},{id:"typescript",name:"TypeScript",aliases:["ts"],import:(()=>g(()=>import("./DlfHMoPT.js"),[],import.meta.url))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>g(()=>import("./Df68jz8_.js"),[],import.meta.url))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>g(()=>import("./DHCkPAjA.js"),[],import.meta.url))},{id:"v",name:"V",import:(()=>g(()=>import("./DljmTZ5-.js"),[],import.meta.url))},{id:"vala",name:"Vala",import:(()=>g(()=>import("./CsfeWuGM.js"),[],import.meta.url))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:(()=>g(()=>import("./D17OF-Vu.js"),[],import.meta.url))},{id:"verilog",name:"Verilog",import:(()=>g(()=>import("./BQ8w6xss.js"),[],import.meta.url))},{id:"vhdl",name:"VHDL",import:(()=>g(()=>import("./CeAyd5Ju.js"),[],import.meta.url))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>g(()=>import("./CJc9bBzg.js"),[],import.meta.url))},{id:"vue",name:"Vue",import:(()=>g(()=>import("./BU7Cl-8B.js"),__vite__mapDeps([90,3,2,11,9,15,1]),import.meta.url))},{id:"vue-html",name:"Vue HTML",import:(()=>g(()=>import("./Dr8Zlu6v.js"),__vite__mapDeps([91,90,3,2,11,9,15,1]),import.meta.url))},{id:"vue-vine",name:"Vue Vine",import:(()=>g(()=>import("./Drp5UXmf.js"),__vite__mapDeps([92,3,5,65,93,12,90,2,11,9,15,1]),import.meta.url))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>g(()=>import("./CDx5xZoG.js"),[],import.meta.url))},{id:"wasm",name:"WebAssembly",import:(()=>g(()=>import("./MzD3tlZU.js"),[],import.meta.url))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>g(()=>import("./BV7otONQ.js"),[],import.meta.url))},{id:"wgsl",name:"WGSL",import:(()=>g(()=>import("./Dx-B1_4e.js"),[],import.meta.url))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>g(()=>import("./BhOHFoWU.js"),[],import.meta.url))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>g(()=>import("./5i3qLPDT.js"),[],import.meta.url))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>g(()=>import("./lXgVvXCa.js"),[],import.meta.url))},{id:"xml",name:"XML",import:(()=>g(()=>import("./BGJmEYvX.js"),__vite__mapDeps([7,8]),import.meta.url))},{id:"xsl",name:"XSL",import:(()=>g(()=>import("./yv6CvBhz.js"),__vite__mapDeps([94,7,8]),import.meta.url))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>g(()=>import("./Buea-lGh.js"),[],import.meta.url))},{id:"zenscript",name:"ZenScript",import:(()=>g(()=>import("./DVFEvuxE.js"),[],import.meta.url))},{id:"zig",name:"Zig",import:(()=>g(()=>import("./VOosw3JB.js"),[],import.meta.url))}],gw=Object.fromEntries(ed.map(e=>[e.id,e.import])),_w=Object.fromEntries(ed.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),yw={...gw,..._w},vw=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>g(()=>import("./C-Jbm3Hp.js"),[],import.meta.url))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>g(()=>import("./D-2ljcwZ.js"),[],import.meta.url))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>g(()=>import("./Cv9koXgw.js"),[],import.meta.url))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>g(()=>import("./BBxmzUt6.js"),[],import.meta.url))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>g(()=>import("./Jep7L2Wt.js"),[],import.meta.url))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>g(()=>import("./CIUZ1G5V.js"),[],import.meta.url))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>g(()=>import("./NBseiqgx.js"),[],import.meta.url))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>g(()=>import("./C3mMm8J8.js"),[],import.meta.url))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>g(()=>import("./BzJJZx-M.js"),[],import.meta.url))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>g(()=>import("./BXkSAIEj.js"),[],import.meta.url))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>g(()=>import("./BgDCqdQA.js"),[],import.meta.url))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>g(()=>import("./C8M2exoo.js"),[],import.meta.url))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>g(()=>import("./DHJKELXO.js"),[],import.meta.url))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>g(()=>import("./Cuk6v7N8.js"),[],import.meta.url))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>g(()=>import("./DH5Ifo-i.js"),[],import.meta.url))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>g(()=>import("./E3gJ1_iC.js"),[],import.meta.url))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>g(()=>import("./DAi9KRSo.js"),[],import.meta.url))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>g(()=>import("./D7oLnXFd.js"),[],import.meta.url))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>g(()=>import("./BfjtVDDH.js"),[],import.meta.url))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>g(()=>import("./D1uDOp7C.js"),[],import.meta.url))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>g(()=>import("./DkhsQLT2.js"),[],import.meta.url))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>g(()=>import("./CcyOm34o.js"),[],import.meta.url))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>g(()=>import("./DKzvysjW.js"),[],import.meta.url))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>g(()=>import("./DPcUKYIF.js"),[],import.meta.url))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>g(()=>import("./CGqH5EJj.js"),[],import.meta.url))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>g(()=>import("./DnULxvSX.js"),[],import.meta.url))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>g(()=>import("./CkXjmgJE.js"),[],import.meta.url))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>g(()=>import("./CfQXZHmo.js"),[],import.meta.url))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>g(()=>import("./DWedfzmr.js"),[],import.meta.url))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>g(()=>import("./DUszq2jm.js"),[],import.meta.url))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>g(()=>import("./B7mTdjB0.js"),[],import.meta.url))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>g(()=>import("./D5KoaKCx.js"),[],import.meta.url))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>g(()=>import("./BfHTSMKl.js"),[],import.meta.url))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>g(()=>import("./B0m2ddpp.js"),[],import.meta.url))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>g(()=>import("./CyktbL80.js"),[],import.meta.url))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>g(()=>import("./Csfq5Kiy.js"),[],import.meta.url))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>g(()=>import("./CafNBF8u.js"),[],import.meta.url))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>g(()=>import("./CTRr51gU.js"),[],import.meta.url))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>g(()=>import("./D4h5O-jR.js"),[],import.meta.url))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>g(()=>import("./C39BiMTA.js"),[],import.meta.url))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>g(()=>import("./Ddv68eIx.js"),[],import.meta.url))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>g(()=>import("./DVMEJ2y_.js"),[],import.meta.url))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>g(()=>import("./PoHY5YXO.js"),[],import.meta.url))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>g(()=>import("./3e1v2bzS.js"),[],import.meta.url))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>g(()=>import("./CS3Unz2-.js"),[],import.meta.url))},{id:"red",displayName:"Red",type:"dark",import:(()=>g(()=>import("./bN70gL4F.js"),[],import.meta.url))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>g(()=>import("./BHrmToEH.js"),[],import.meta.url))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>g(()=>import("./CnK8MTSM.js"),[],import.meta.url))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>g(()=>import("./NleAzG8P.js"),[],import.meta.url))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>g(()=>import("./BthQWCQV.js"),[],import.meta.url))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>g(()=>import("./DqwNpetd.js"),[],import.meta.url))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>g(()=>import("./Bw305WKR.js"),[],import.meta.url))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>g(()=>import("./DXbdFlpD.js"),[],import.meta.url))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>g(()=>import("./L9t79GZl.js"),[],import.meta.url))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>g(()=>import("./CbfX1IO0.js"),[],import.meta.url))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>g(()=>import("./hegEt444.js"),[],import.meta.url))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>g(()=>import("./DU1UobuO.js"),[],import.meta.url))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>g(()=>import("./Bkuqu6BP.js"),[],import.meta.url))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>g(()=>import("./D0r3Knsf.js"),[],import.meta.url))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>g(()=>import("./CVO1_9PV.js"),[],import.meta.url))}],bw=Object.fromEntries(vw.map(e=>[e.id,e.import]));class ga extends Error{constructor(t){super(t),this.name="ShikiError"}}function ww(){return 2147483648}function Ew(){return typeof performance<"u"?performance.now():Date.now()}const Sw=(e,t)=>e+(t-e%t)%t;async function Tw(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function i(d,h,_){r.HEAPU8.copyWithin(d,h,h+_)}function s(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function a(d){const h=r.HEAPU8.length;d=d>>>0;const _=ww();if(d>_)return!1;for(let y=1;y<=4;y*=2){let b=h*(1+.2/y);b=Math.min(b,d+100663296);const w=Math.min(_,Sw(Math.max(d,b),65536));if(s(w))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function u(d,h,_=1024){const y=h+_;let b=h;for(;d[b]&&!(b>=y);)++b;if(b-h>16&&d.buffer&&l)return l.decode(d.subarray(h,b));let w="";for(;h<b;){let m=d[h++];if(!(m&128)){w+=String.fromCharCode(m);continue}const E=d[h++]&63;if((m&224)===192){w+=String.fromCharCode((m&31)<<6|E);continue}const T=d[h++]&63;if((m&240)===224?m=(m&15)<<12|E<<6|T:m=(m&7)<<18|E<<12|T<<6|d[h++]&63,m<65536)w+=String.fromCharCode(m);else{const L=m-65536;w+=String.fromCharCode(55296|L>>10,56320|L&1023)}}return w}function c(d,h){return d?u(r.HEAPU8,d,h):""}const f={emscripten_get_now:Ew,emscripten_memcpy_big:i,emscripten_resize_heap:a,fd_write:()=>0};async function p(){const h=await e({env:f,wasi_snapshot_preview1:f});t=h.memory,o(t.buffer),Object.assign(r,h),r.UTF8ToString=c}return await p(),r}var Rw=Object.defineProperty,Aw=(e,t,n)=>t in e?Rw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ne=(e,t,n)=>Aw(e,typeof t!="symbol"?t+"":t,n);let Ve=null;function Pw(e){throw new ga(e.UTF8ToString(e.getLastOnigError()))}class pi{constructor(t){Ne(this,"utf16Length"),Ne(this,"utf8Length"),Ne(this,"utf16Value"),Ne(this,"utf8Value"),Ne(this,"utf16OffsetToUtf8"),Ne(this,"utf8OffsetToUtf16");const n=t.length,r=pi._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[r]=n);const a=new Uint8Array(r);let l=0;for(let u=0;u<n;u++){const c=t.charCodeAt(u);let f=c,p=!1;if(c>=55296&&c<=56319&&u+1<n){const d=t.charCodeAt(u+1);d>=56320&&d<=57343&&(f=(c-55296<<10)+65536|d-56320,p=!0)}o&&(i[u]=l,p&&(i[u+1]=l),f<=127?s[l+0]=u:f<=2047?(s[l+0]=u,s[l+1]=u):f<=65535?(s[l+0]=u,s[l+1]=u,s[l+2]=u):(s[l+0]=u,s[l+1]=u,s[l+2]=u,s[l+3]=u)),f<=127?a[l++]=f:f<=2047?(a[l++]=192|(f&1984)>>>6,a[l++]=128|(f&63)>>>0):f<=65535?(a[l++]=224|(f&61440)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0):(a[l++]=240|(f&1835008)>>>18,a[l++]=128|(f&258048)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0),p&&u++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,a=!1;if(i>=55296&&i<=56319&&r+1<o){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(s=(i-55296<<10)+65536|l-56320,a=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,a&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const hi=class Lt{constructor(t){if(Ne(this,"id",++Lt.LAST_ID),Ne(this,"_onigBinding"),Ne(this,"content"),Ne(this,"utf16Length"),Ne(this,"utf8Length"),Ne(this,"utf16OffsetToUtf8"),Ne(this,"utf8OffsetToUtf16"),Ne(this,"ptr"),!Ve)throw new ga("Must invoke loadWasm first.");this._onigBinding=Ve,this.content=t;const n=new pi(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Lt._sharedPtrInUse?(Lt._sharedPtr||(Lt._sharedPtr=Ve.omalloc(1e4)),Lt._sharedPtrInUse=!0,Ve.HEAPU8.set(n.utf8Value,Lt._sharedPtr),this.ptr=Lt._sharedPtr):this.ptr=n.createString(Ve)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Lt._sharedPtr?Lt._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Ne(hi,"LAST_ID",0);Ne(hi,"_sharedPtr",0);Ne(hi,"_sharedPtrInUse",!1);let td=hi;class Cw{constructor(t){if(Ne(this,"_onigBinding"),Ne(this,"_ptr"),!Ve)throw new ga("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const u=new pi(t[a]);n[a]=u.createString(Ve),r[a]=u.utf8Length}const o=Ve.omalloc(4*t.length);Ve.HEAPU32.set(n,o/4);const i=Ve.omalloc(4*t.length);Ve.HEAPU32.set(r,i/4);const s=Ve.createOnigScanner(o,i,t.length);for(let a=0,l=t.length;a<l;a++)Ve.ofree(n[a]);Ve.ofree(i),Ve.ofree(o),s===0&&Pw(Ve),this._onigBinding=Ve,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=0;if(typeof r=="number"&&(o=r),typeof t=="string"){t=new td(t);const i=this._findNextMatchSync(t,n,!1,o);return t.dispose(),i}return this._findNextMatchSync(t,n,!1,o)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding,s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o);if(s===0)return null;const a=i.HEAPU32;let l=s/4;const u=a[l++],c=a[l++],f=[];for(let p=0;p<c;p++){const d=t.convertUtf8OffsetToUtf16(a[l++]),h=t.convertUtf8OffsetToUtf16(a[l++]);f[p]={start:d,end:h,length:h-d}}return{index:u,captureIndices:f}}}function kw(e){return typeof e.instantiator=="function"}function Lw(e){return typeof e.default=="function"}function xw(e){return typeof e.data<"u"}function Ow(e){return typeof Response<"u"&&e instanceof Response}function Iw(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Yr;function Dw(e){if(Yr)return Yr;async function t(){Ve=await Tw(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),kw(r)?r=await r.instantiator(n):Lw(r)?r=await r.default(n):(xw(r)&&(r=r.data),Ow(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await Nw(r)(n):r=await Mw(r)(n):Iw(r)?r=await Fi(r)(n):r instanceof WebAssembly.Module?r=await Fi(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Fi(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Yr=t(),Yr}function Fi(e){return t=>WebAssembly.instantiate(e,t)}function Nw(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Mw(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}async function Vw(e){return e&&await Dw(e),{createScanner(t){return new Cw(t.map(n=>typeof n=="string"?n:n.source))},createString(t){return new td(t)}}}const $w=pw({langs:yw,themes:bw,engine:()=>Vw(g(()=>import("./CG6Dc4jp.js"),[],import.meta.url))}),{getSingletonHighlighter:jw}=mw($w,{guessEmbeddedLanguages:k0}),Hi=me(),Bw=()=>(Hi.value||jw({themes:["vitesse-dark"],langs:["html","vue"]}).then(e=>{Hi.value=e}).catch(e=>{Oo.error("Error creating highlighter",e)}),{highlighter:Hi}),Fw=["innerHTML"],Hw=ht({__name:"EmailSourceCodeViewer",props:{sourceCode:{},contentMode:{}},setup(e){const{highlighter:t}=Bw(),n=me(e.sourceCode);return je([()=>e.sourceCode,t],async([r,o])=>{if(!o){n.value=e.sourceCode;return}if(r)try{n.value=await o.codeToHtml(r,{lang:(e.contentMode==="source","html"),theme:"vitesse-dark"})}catch{n.value=e.sourceCode}else n.value="Missing source code"},{immediate:!0}),(r,o)=>{const i=li;return Z(),Le(i,{class:"p-4 overflow-auto max-h-full"},{default:Pe(()=>[fe("div",{innerHTML:Q(n)},null,8,Fw)]),_:1})}}}),Uw=Object.assign(Hw,{__name:"EmailSourceCodeViewer"});function nd(e){return new URL(globalThis.location.href)}const zw={trailing:!0};function Gw(e,t=25,n={}){if(n={...zw,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,i=[],s,a;const l=(f,p)=>(s=Ww(e,f,p),s.finally(()=>{if(s=null,n.trailing&&a&&!o){const d=l(f,a);return a=null,d}}),s),u=function(...f){return n.trailing&&(a=f),s||new Promise(p=>{const d=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const h=n.leading?r:l(this,f);a=null;for(const _ of i)_(h);i=[]},t),d?(r=l(this,f),p(r)):i.push(p)})},c=f=>{f&&(clearTimeout(f),o=null)};return u.isPending=()=>!!o,u.cancel=()=>{c(o),i=[],a=null},u.flush=()=>{if(c(o),!a||s)return;const f=a;return a=null,l(this,f)},u}async function Ww(e,t,n){return await e.apply(t,n)}function qw(e){return typeof e=="string"?`'${e}'`:new Kw().serialize(e)}const Kw=(function(){class e{#e=new Map;compare(n,r){const o=typeof n,i=typeof r;return o==="string"&&i==="string"?n.localeCompare(r):o==="number"&&i==="number"?n-r:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(r,!0))}serialize(n,r){if(n===null)return"null";switch(typeof n){case"string":return r?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const r=Object.prototype.toString.call(n);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),n);const o=n.constructor,i=o===Object||o===void 0?"":o.name;if(i!==""&&globalThis[i]===o)return this.serializeBuiltInType(i,n);if(typeof n.toJSON=="function"){const s=n.toJSON();return i+(s!==null&&typeof s=="object"?this.$object(s):`(${this.serialize(s)})`)}return this.serializeObjectEntries(i,Object.entries(n))}serializeBuiltInType(n,r){const o=this["$"+n];if(o)return o.call(this,r);if(typeof r?.entries=="function")return this.serializeObjectEntries(n,r.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,r){const o=Array.from(r).sort((s,a)=>this.compare(s[0],a[0]));let i=`${n}{`;for(let s=0;s<o.length;s++){const[a,l]=o[s];i+=`${this.serialize(a,!0)}:${this.serialize(l)}`,s<o.length-1&&(i+=",")}return i+"}"}$object(n){let r=this.#e.get(n);return r===void 0&&(this.#e.set(n,`#${this.#e.size}`),r=this.serializeObject(n),this.#e.set(n,r)),r}$function(n){const r=Function.prototype.toString.call(n);return r.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(n){let r="[";for(let o=0;o<n.length;o++)r+=this.serialize(n[o]),o<n.length-1&&(r+=",");return r+"]"}$Date(n){try{return`Date(${n.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(n){return`ArrayBuffer[${new Uint8Array(n).join(",")}]`}$Set(n){return`Set${this.$Array(Array.from(n).sort((r,o)=>this.compare(r,o)))}`}$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})(),Jw=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Xw=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Yw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",on=[];class Qw{_data=new Dn;_hash=new Dn([...Jw]);_nDataBytes=0;_minBufferSize=0;finalize(t){t&&this._append(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(t,n){const r=this._hash.words;let o=r[0],i=r[1],s=r[2],a=r[3],l=r[4],u=r[5],c=r[6],f=r[7];for(let p=0;p<64;p++){if(p<16)on[p]=t[n+p]|0;else{const m=on[p-15],E=(m<<25|m>>>7)^(m<<14|m>>>18)^m>>>3,T=on[p-2],L=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;on[p]=E+on[p-7]+L+on[p-16]}const d=l&u^~l&c,h=o&i^o&s^i&s,_=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),y=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),b=f+y+d+Xw[p]+on[p],w=_+h;f=c,c=u,u=l,l=a+b|0,a=s,s=i,i=o,o=b+w|0}r[0]=r[0]+o|0,r[1]=r[1]+i|0,r[2]=r[2]+s|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+u|0,r[6]=r[6]+c|0,r[7]=r[7]+f|0}_append(t){typeof t=="string"&&(t=Dn.fromUtf8(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(t){let n,r=this._data.sigBytes/64;t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const o=r*16,i=Math.min(o*4,this._data.sigBytes);if(o){for(let s=0;s<o;s+=16)this._doProcessBlock(this._data.words,s);n=this._data.words.splice(0,o),this._data.sigBytes-=i}return new Dn(n,i)}}class Dn{words;sigBytes;constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}static fromUtf8(t){const n=unescape(encodeURIComponent(t)),r=n.length,o=[];for(let i=0;i<r;i++)o[i>>>2]|=(n.charCodeAt(i)&255)<<24-i%4*8;return new Dn(o,r)}toBase64(){const t=[];for(let n=0;n<this.sigBytes;n+=3){const r=this.words[n>>>2]>>>24-n%4*8&255,o=this.words[n+1>>>2]>>>24-(n+1)%4*8&255,i=this.words[n+2>>>2]>>>24-(n+2)%4*8&255,s=r<<16|o<<8|i;for(let a=0;a<4&&n*8+a*6<this.sigBytes*8;a++)t.push(Yw.charAt(s>>>6*(3-a)&63))}return t.join("")}concat(t){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];this.sigBytes+=t.sigBytes}}function Zw(e){return new Qw().finalize(e).toBase64()}function kn(e){return Zw(qw(e))}/**
47
- * @vue/shared v3.5.22
48
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
49
- * @license MIT
50
- **/const eE=Object.prototype.toString,tE=e=>eE.call(e),nE=e=>tE(e)==="[object Object]",rE=Symbol.for("nuxt:client-only");function rd(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;oE(e[0],e[1])&&e.unshift(t);let[n,r,o={}]=e;const i=ue(()=>Ce(n));if(typeof i.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const s=xe();o.server??=!0,o.default??=sE,o.getCachedData??=id,o.lazy??=!1,o.immediate??=!0,o.deep??=jm.deep,o.dedupe??="cancel",o._functionName,s._asyncData[i.value];const a={cause:"initial",dedupe:o.dedupe};s._asyncData[i.value]?._init||(a.cachedData=o.getCachedData(i.value,s,{cause:"initial"}),s._asyncData[i.value]=Zl(s,i.value,r,o,a.cachedData));const l=s._asyncData[i.value];l._deps++;const u=()=>s._asyncData[i.value].execute(a),c=o.server!==!1&&s.payload.serverRendered;{let d=function(m){const E=s._asyncData[m];E?._deps&&(E._deps--,E._deps===0&&E?._off())};const h=At();if(h&&c&&o.immediate&&!h.sp&&(h.sp=[]),h&&!h._nuxtOnBeforeMountCbs){h._nuxtOnBeforeMountCbs=[];const m=h._nuxtOnBeforeMountCbs;Bc(()=>{m.forEach(E=>{E()}),m.splice(0,m.length)}),zs(()=>m.splice(0,m.length))}const _=h&&(h._nuxtClientOnly||dt(rE,!1));c&&s.isHydrating&&(l.error.value||l.data.value!==void 0)?l.status.value=l.error.value?"error":"success":h&&(!_&&s.payload.serverRendered&&s.isHydrating||o.lazy)&&o.immediate?h._nuxtOnBeforeMountCbs.push(u):o.immediate&&l.status.value!=="success"&&u();const y=kr(),b=je(i,(m,E)=>{if((m||E)&&m!==E){const T=s._asyncData[E]?.data.value!==void 0,L=s._asyncDataPromises[E]!==void 0;E&&d(E);const j={cause:"initial",dedupe:o.dedupe};if(!s._asyncData[m]?._init){let K;E&&T?K=s._asyncData[E]?.data.value:(K=o.getCachedData(m,s,{cause:"initial"}),j.cachedData=K),s._asyncData[m]=Zl(s,m,r,o,K)}s._asyncData[m]._deps++,(o.immediate||T||L)&&s._asyncData[m].execute(j)}},{flush:"sync"}),w=o.watch?je(o.watch,()=>{l._execute({cause:"watch",dedupe:o.dedupe})}):()=>{};y&&Ds(()=>{b(),w(),d(i.value)})}const f={data:Qr(()=>s._asyncData[i.value]?.data),pending:Qr(()=>s._asyncData[i.value]?.pending),status:Qr(()=>s._asyncData[i.value]?.status),error:Qr(()=>s._asyncData[i.value]?.error),refresh:(...d)=>s._asyncData[i.value].execute(...d),execute:(...d)=>s._asyncData[i.value].execute(...d),clear:()=>od(s,i.value)},p=Promise.resolve(s._asyncDataPromises[i.value]).then(()=>f);return Object.assign(p,f),p}function Qr(e){return ue({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function oE(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function od(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=void 0),e._asyncData[t]&&(e._asyncData[t].data.value=Q(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function iE(e,t){const n={};for(const r of t)n[r]=e[r];return n}function Zl(e,t,n,r,o){e.payload._errors[t]??=void 0;const i=r.getCachedData!==id,s=n,a=r.deep?me:ze,l=o!==void 0,u=e.hook("app:data:refresh",async f=>{(!f||f.includes(t))&&await c.execute({cause:"refresh:hook"})}),c={data:a(l?o:r.default()),pending:ue(()=>c.status.value==="pending"),error:js(e.payload._errors,t),status:ze("idle"),execute:(...f)=>{const[p,d=void 0]=f,h=p&&d===void 0&&typeof p=="object"?p:{};if(e._asyncDataPromises[t]){if((h.dedupe??r.dedupe)==="defer")return e._asyncDataPromises[t];e._asyncDataPromises[t].cancelled=!0}{const y="cachedData"in h?h.cachedData:r.getCachedData(t,e,{cause:h.cause??"refresh:manual"});if(y!==void 0)return e.payload.data[t]=c.data.value=y,c.error.value=void 0,c.status.value="success",Promise.resolve(y)}c.status.value="pending";const _=new Promise((y,b)=>{try{y(s(e))}catch(w){b(w)}}).then(async y=>{if(_.cancelled)return e._asyncDataPromises[t];let b=y;r.transform&&(b=await r.transform(y)),r.pick&&(b=iE(b,r.pick)),e.payload.data[t]=b,c.data.value=b,c.error.value=void 0,c.status.value="success"}).catch(y=>{if(_.cancelled)return e._asyncDataPromises[t];c.error.value=ii(y),c.data.value=Q(r.default()),c.status.value="error"}).finally(()=>{_.cancelled||delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=_,e._asyncDataPromises[t]},_execute:Gw((...f)=>c.execute(...f),0,{leading:!0}),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{u(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),i||St(()=>{e._asyncData[t]?._init||(od(e,t),c.execute=()=>Promise.resolve())})}};return c}const sE=()=>{},id=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]},aE={class:"space-y-2"},lE={key:0,class:"flex mt-8"},cE={key:1,class:"flex flex-col"},uE={key:2,class:"flex items-center justify-center h-64"},fE={class:"text-center"},dE={key:3,class:"space-y-6"},pE={class:"space-y-4"},hE={key:0},mE={key:1},gE={key:2},_E=ht({__name:"EmailTemplateViewer",props:{template:{}},setup(e){const t=e,n=me("desktop"),r=me("preview"),o=nd(),{data:i,error:s,pending:a,refresh:l}=rd(async()=>{if(!t.template)return{html:null,sourceCode:null};const f=await $fetch(`${o.origin}/api/emails/render`,{method:"POST",body:{name:t.template.filename,pretty:!0}}),d=(await $fetch(`${o.origin}/api/emails/source`,{method:"POST",body:{name:t.template.filename}})).sourceCode;return{html:f,sourceCode:d}},{watch:[()=>t.template]},"$XdfX-fxT8q"),u=ue(()=>i.value?.sourceCode??null),c=ue(()=>i.value?.html??null);return(f,p)=>{const d=of,h=sf,_=Sn,y=bv,b=Tv,w=Uw;return Z(),pe("div",aE,[Q(a)?(Z(),pe("div",lE,[ie(d,null,{default:Pe(()=>[...p[2]||(p[2]=[rt("Loading email template...",-1)])]),_:1})])):Q(s)?(Z(),pe("div",cE,[ie(h,{n:"red6 dark:red5",icon:"carbon:warning-alt"},{default:Pe(()=>[...p[3]||(p[3]=[rt(" Error! ",-1)])]),_:1}),ie(h,{n:"red6 dark:red5"},{default:Pe(()=>[rt(Rt(Q(s)),1)]),_:1})])):f.template?(Z(),pe("div",dE,[ie(y,{"view-mode":Q(n),"onUpdate:viewMode":p[0]||(p[0]=m=>we(n)?n.value=m:null),"content-mode":Q(r),"onUpdate:contentMode":p[1]||(p[1]=m=>we(r)?r.value=m:null),"rendered-html":Q(c),"source-code":Q(u),onRefresh:Q(l)},null,8,["view-mode","content-mode","rendered-html","source-code","onRefresh"]),fe("div",pE,[Q(r)==="preview"?(Z(),pe("div",hE,[ie(b,{"rendered-html":Q(c),"view-mode":Q(n)},null,8,["rendered-html","view-mode"])])):Q(r)==="html"?(Z(),pe("div",mE,[ie(w,{"source-code":Q(c),"content-mode":Q(r)},null,8,["source-code","content-mode"])])):Q(r)==="source"?(Z(),pe("div",gE,[ie(w,{"source-code":Q(u),"content-mode":Q(r)},null,8,["source-code","content-mode"])])):Ye("",!0)])])):(Z(),pe("div",uE,[fe("div",fE,[ie(_,{icon:"carbon:email",class:"w-12 h-12 text-gray-400 mx-auto mb-4"}),p[4]||(p[4]=fe("p",{class:"text-gray-500 dark:text-gray-400"}," Select an email template to preview ",-1))])]))])}}}),yE=Object.assign(_E,{__name:"EmailTemplateViewer"}),vE={__name:"splitpanes",props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],setup(e,{emit:t}){const n=t,r=e,o=gp(),i=me([]),s=ue(()=>i.value.reduce((C,I)=>(C[~~I.id]=I)&&C,{})),a=ue(()=>i.value.length),l=me(null),u=me(!1),c=me({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),f=me({splitter:null,timeoutId:null}),p=ue(()=>({[`splitpanes splitpanes--${r.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":c.value.dragging})),d=()=>{document.addEventListener("mousemove",y,{passive:!1}),document.addEventListener("mouseup",b),"ontouchstart"in window&&(document.addEventListener("touchmove",y,{passive:!1}),document.addEventListener("touchend",b))},h=()=>{document.removeEventListener("mousemove",y,{passive:!1}),document.removeEventListener("mouseup",b),"ontouchstart"in window&&(document.removeEventListener("touchmove",y,{passive:!1}),document.removeEventListener("touchend",b))},_=(C,I)=>{const U=C.target.closest(".splitpanes__splitter");if(U){const{left:V,top:G}=U.getBoundingClientRect(),{clientX:ne,clientY:de}="ontouchstart"in window&&C.touches?C.touches[0]:C;c.value.cursorOffset=r.horizontal?de-G:ne-V}d(),c.value.mouseDown=!0,c.value.activeSplitter=I},y=C=>{c.value.mouseDown&&(C.preventDefault(),c.value.dragging=!0,requestAnimationFrame(()=>{j(T(C)),n("resize",i.value.map(I=>({min:I.min,max:I.max,size:I.size})))}))},b=()=>{c.value.dragging&&n("resized",i.value.map(C=>({min:C.min,max:C.max,size:C.size}))),c.value.mouseDown=!1,setTimeout(()=>{c.value.dragging=!1,h()},100)},w=(C,I)=>{"ontouchstart"in window&&(C.preventDefault(),r.dblClickSplitter&&(f.value.splitter===I?(clearTimeout(f.value.timeoutId),f.value.timeoutId=null,m(C,I),f.value.splitter=null):(f.value.splitter=I,f.value.timeoutId=setTimeout(()=>f.value.splitter=null,500)))),c.value.dragging||n("splitter-click",i.value[I])},m=(C,I)=>{let U=0;i.value=i.value.map((V,G)=>(V.size=G===I?V.max:V.min,G!==I&&(U+=V.min),V)),i.value[I].size-=U,n("pane-maximize",i.value[I]),n("resized",i.value.map(V=>({min:V.min,max:V.max,size:V.size})))},E=(C,I)=>{n("pane-click",s.value[I])},T=C=>{const I=l.value.getBoundingClientRect(),{clientX:U,clientY:V}="ontouchstart"in window&&C.touches?C.touches[0]:C;return{x:U-(r.horizontal?0:c.value.cursorOffset)-I.left,y:V-(r.horizontal?c.value.cursorOffset:0)-I.top}},L=C=>{C=C[r.horizontal?"y":"x"];const I=l.value[r.horizontal?"clientHeight":"clientWidth"];return r.rtl&&!r.horizontal&&(C=I-C),C*100/I},j=C=>{const I=c.value.activeSplitter;let U={prevPanesSize:q(I),nextPanesSize:H(I),prevReachedMinPanes:0,nextReachedMinPanes:0};const V=0+(r.pushOtherPanes?0:U.prevPanesSize),G=100-(r.pushOtherPanes?0:U.nextPanesSize),ne=Math.max(Math.min(L(C),G),V);let de=[I,I+1],v=i.value[de[0]]||null,S=i.value[de[1]]||null;const P=v.max<100&&ne>=v.max+U.prevPanesSize,N=S.max<100&&ne<=100-(S.max+H(I+1));if(P||N){P?(v.size=v.max,S.size=Math.max(100-v.max-U.prevPanesSize-U.nextPanesSize,0)):(v.size=Math.max(100-S.max-U.prevPanesSize-H(I+1),0),S.size=S.max);return}if(r.pushOtherPanes){const x=K(U,ne);if(!x)return;({sums:U,panesToResize:de}=x),v=i.value[de[0]]||null,S=i.value[de[1]]||null}v!==null&&(v.size=Math.min(Math.max(ne-U.prevPanesSize-U.prevReachedMinPanes,v.min),v.max)),S!==null&&(S.size=Math.min(Math.max(100-ne-U.nextPanesSize-U.nextReachedMinPanes,S.min),S.max))},K=(C,I)=>{const U=c.value.activeSplitter,V=[U,U+1];return I<C.prevPanesSize+i.value[V[0]].min&&(V[0]=se(U).index,C.prevReachedMinPanes=0,V[0]<U&&i.value.forEach((G,ne)=>{ne>V[0]&&ne<=U&&(G.size=G.min,C.prevReachedMinPanes+=G.min)}),C.prevPanesSize=q(V[0]),V[0]===void 0)?(C.prevReachedMinPanes=0,i.value[0].size=i.value[0].min,i.value.forEach((G,ne)=>{ne>0&&ne<=U&&(G.size=G.min,C.prevReachedMinPanes+=G.min)}),i.value[V[1]].size=100-C.prevReachedMinPanes-i.value[0].min-C.prevPanesSize-C.nextPanesSize,null):I>100-C.nextPanesSize-i.value[V[1]].min&&(V[1]=X(U).index,C.nextReachedMinPanes=0,V[1]>U+1&&i.value.forEach((G,ne)=>{ne>U&&ne<V[1]&&(G.size=G.min,C.nextReachedMinPanes+=G.min)}),C.nextPanesSize=H(V[1]-1),V[1]===void 0)?(C.nextReachedMinPanes=0,i.value.forEach((G,ne)=>{ne<a.value-1&&ne>=U+1&&(G.size=G.min,C.nextReachedMinPanes+=G.min)}),i.value[V[0]].size=100-C.prevPanesSize-H(V[0]-1),null):{sums:C,panesToResize:V}},q=C=>i.value.reduce((I,U,V)=>I+(V<C?U.size:0),0),H=C=>i.value.reduce((I,U,V)=>I+(V>C+1?U.size:0),0),se=C=>[...i.value].reverse().find(I=>I.index<C&&I.size>I.min)||{},X=C=>i.value.find(I=>I.index>C+1&&I.size>I.min)||{},A=()=>{var C;Array.from(((C=l.value)==null?void 0:C.children)||[]).forEach(I=>{const U=I.classList.contains("splitpanes__pane"),V=I.classList.contains("splitpanes__splitter");!U&&!V&&(I.remove(),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},R=(C,I,U=!1)=>{const V=C-1,G=document.createElement("div");G.classList.add("splitpanes__splitter"),U||(G.onmousedown=ne=>_(ne,V),typeof window<"u"&&"ontouchstart"in window&&(G.ontouchstart=ne=>_(ne,V)),G.onclick=ne=>w(ne,V+1)),r.dblClickSplitter&&(G.ondblclick=ne=>m(ne,V+1)),I.parentNode.insertBefore(G,I)},D=C=>{C.onmousedown=void 0,C.onclick=void 0,C.ondblclick=void 0,C.remove()},k=()=>{var C;const I=Array.from(((C=l.value)==null?void 0:C.children)||[]);I.forEach(V=>{V.className.includes("splitpanes__splitter")&&D(V)});let U=0;I.forEach(V=>{V.className.includes("splitpanes__pane")&&(!U&&r.firstSplitter?R(U,V,!0):U&&R(U,V),U++)})},J=({uid:C,...I})=>{const U=s.value[C];Object.entries(I).forEach(([V,G])=>U[V]=G)},B=C=>{var I;let U=-1;Array.from(((I=l.value)==null?void 0:I.children)||[]).some(V=>(V.className.includes("splitpanes__pane")&&U++,V.isSameNode(C.el))),i.value.splice(U,0,{...C,index:U}),i.value.forEach((V,G)=>V.index=G),u.value&&St(()=>{k(),ve({addedPane:i.value[U]}),n("pane-add",{index:U,panes:i.value.map(V=>({min:V.min,max:V.max,size:V.size}))})})},ee=C=>{const I=i.value.findIndex(V=>V.id===C),U=i.value.splice(I,1)[0];i.value.forEach((V,G)=>V.index=G),St(()=>{k(),ve({removedPane:{...U}}),n("pane-remove",{removed:U,panes:i.value.map(V=>({min:V.min,max:V.max,size:V.size}))})})},ve=(C={})=>{!C.addedPane&&!C.removedPane?Oe():i.value.some(I=>I.givenSize!==null||I.min||I.max<100)?Pt(C):be(),u.value&&n("resized",i.value.map(I=>({min:I.min,max:I.max,size:I.size})))},be=()=>{const C=100/a.value;let I=0;const U=[],V=[];i.value.forEach(G=>{G.size=Math.max(Math.min(C,G.max),G.min),I-=G.size,G.size>=G.max&&U.push(G.id),G.size<=G.min&&V.push(G.id)}),I>.1&&ot(I,U,V)},Oe=()=>{let C=100;const I=[],U=[];let V=0;i.value.forEach(ne=>{C-=ne.size,ne.givenSize!==null&&V++,ne.size>=ne.max&&I.push(ne.id),ne.size<=ne.min&&U.push(ne.id)});let G=100;C>.1&&(i.value.forEach(ne=>{ne.givenSize===null&&(ne.size=Math.max(Math.min(C/(a.value-V),ne.max),ne.min)),G-=ne.size}),G>.1&&ot(G,I,U))},Pt=({addedPane:C,removedPane:I}={})=>{let U=100/a.value,V=0;const G=[],ne=[];(C?.givenSize??null)!==null&&(U=(100-C.givenSize)/(a.value-1).value),i.value.forEach(de=>{V-=de.size,de.size>=de.max&&G.push(de.id),de.size<=de.min&&ne.push(de.id)}),!(Math.abs(V)<.1)&&(i.value.forEach(de=>{C?.givenSize!==null&&C?.id===de.id||(de.size=Math.max(Math.min(U,de.max),de.min)),V-=de.size,de.size>=de.max&&G.push(de.id),de.size<=de.min&&ne.push(de.id)}),V>.1&&ot(V,G,ne))},ot=(C,I,U)=>{let V;C>0?V=C/(a.value-I.length):V=C/(a.value-U.length),i.value.forEach((G,ne)=>{if(C>0&&!I.includes(G.id)){const de=Math.max(Math.min(G.size+V,G.max),G.min),v=de-G.size;C-=v,G.size=de}else if(!U.includes(G.id)){const de=Math.max(Math.min(G.size+V,G.max),G.min),v=de-G.size;C-=v,G.size=de}}),Math.abs(C)>.1&&St(()=>{u.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})};je(()=>r.firstSplitter,()=>k()),je(()=>r.dblClickSplitter,C=>{[...l.value.querySelectorAll(".splitpanes__splitter")].forEach((I,U)=>{I.ondblclick=C?V=>m(V,U):void 0})}),xr(()=>u.value=!1),Zn(()=>{A(),k(),ve(),n("ready"),u.value=!0});const Vt=()=>{var C;return bn("div",{ref:l,class:p.value},(C=o.default)==null?void 0:C.call(o))};return jt("panes",i),jt("indexedPanes",s),jt("horizontal",ue(()=>r.horizontal)),jt("requestUpdate",J),jt("onPaneAdd",B),jt("onPaneRemove",ee),jt("onPaneClick",E),(C,I)=>(Z(),Le(zc(Vt)))}},ec={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(e){var t;const n=e,r=dt("requestUpdate"),o=dt("onPaneAdd"),i=dt("horizontal"),s=dt("onPaneRemove"),a=dt("onPaneClick"),l=(t=At())==null?void 0:t.uid,u=dt("indexedPanes"),c=ue(()=>u.value[l]),f=me(null),p=ue(()=>{const y=isNaN(n.size)||n.size===void 0?0:parseFloat(n.size);return Math.max(Math.min(y,h.value),d.value)}),d=ue(()=>{const y=parseFloat(n.minSize);return isNaN(y)?0:y}),h=ue(()=>{const y=parseFloat(n.maxSize);return isNaN(y)?100:y}),_=ue(()=>{var y;return`${i.value?"height":"width"}: ${(y=c.value)==null?void 0:y.size}%`});return Zn(()=>{o({id:l,el:f.value,min:d.value,max:h.value,givenSize:n.size===void 0?null:p.value,size:p.value})}),je(()=>p.value,y=>r({uid:l,size:y})),je(()=>d.value,y=>r({uid:l,min:y})),je(()=>h.value,y=>r({uid:l,max:y})),xr(()=>s(l)),(y,b)=>(Z(),pe("div",{ref_key:"paneEl",ref:f,class:"splitpanes__pane",onClick:b[0]||(b[0]=w=>Q(a)(w,y._.uid)),style:_n(_.value)},[Ze(y.$slots,"default")],4))}},tc=30,bE={__name:"NSplitPane",props:{storageKey:{type:String,required:!1},stateKey:{type:String,required:!1,default:"nuxt-devtools-panels-state"},leftSize:{type:Number,required:!1},minSize:{type:Number,required:!1},horizontal:{type:Boolean,required:!1}},setup(e){const t=e,n=ay(t.stateKey,{},{listenToStorageChanges:!1}),r=t.storageKey,o=r?ue({get:()=>n.value[r]||t.leftSize||tc,set:i=>{n.value[r]=i}}):me(t.leftSize||tc);return(i,s)=>(Z(),Le(Q(vE),{horizontal:e.horizontal,"h-full":"","of-hidden":"",onResize:s[0]||(s[0]=a=>o.value=a[0].size)},{default:Pe(()=>[ie(Q(ec),{"h-full":"",class:"of-auto!",size:Q(o),"min-size":i.$slots.right?e.minSize||10:100},{default:Pe(()=>[Ze(i.$slots,"left")]),_:3},8,["size","min-size"]),i.$slots.right?(Z(),Le(Q(ec),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":e.minSize||10},{default:Pe(()=>[Ze(i.$slots,"right")]),_:3},8,["min-size"])):Ye("",!0)]),_:3},8,["horizontal"]))}};function wE(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n],i=ue(()=>Ce(e)),s=ue(()=>Ce(r.key)||"$f"+kn([o,typeof i.value=="string"?i.value:"",...EE(r)]));if(!r.baseURL&&typeof i.value=="string"&&i.value[0]==="/"&&i.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:a,lazy:l,default:u,transform:c,pick:f,watch:p,immediate:d,getCachedData:h,deep:_,dedupe:y,...b}=r,w=Dt({...Bm,...b,cache:typeof r.cache=="boolean"?void 0:r.cache}),m={server:a,lazy:l,default:u,transform:c,pick:f,immediate:d,getCachedData:h,deep:_,dedupe:y,watch:p===!1?[]:[...p||[],w]};let E;return rd(p===!1?s.value:s,()=>{E?.abort?.(new DOMException("Request aborted as another request to the same endpoint was initiated.","AbortError")),E=typeof AbortController<"u"?new AbortController:{};const L=Ce(r.timeout);let j;return L&&(j=setTimeout(()=>E.abort(new DOMException("Request aborted due to timeout.","AbortError")),L),E.signal.onabort=()=>clearTimeout(j)),(r.$fetch||globalThis.$fetch)(i.value,{signal:E.signal,...w}).finally(()=>{clearTimeout(j)})},m)}function EE(e){const t=[Ce(e.method)?.toUpperCase()||"GET",Ce(e.baseURL)];for(const n of[e.params||e.query]){const r=Ce(n);if(!r)continue;const o={};for(const[i,s]of Object.entries(r))o[Ce(i)]=Ce(s);t.push(o)}if(e.body){const n=Ce(e.body);if(!n)t.push(kn(n));else if(n instanceof ArrayBuffer)t.push(kn(Object.fromEntries([...new Uint8Array(n).entries()].map(([r,o])=>[r,o.toString()]))));else if(n instanceof FormData){const r={};for(const o of n.entries()){const[i,s]=o;r[i]=s instanceof File?s.name:s}t.push(kn(r))}else if(nE(n))t.push(kn(Dt(n)));else try{t.push(kn(n))}catch{console.warn("[useFetch] Failed to hash body",n)}}return t}const SE={fixed:"","inset-0":"","h-screen":"","w-screen":"","font-sans":""},TE={class:"mb-8 flex justify-between"},RE={class:"flex items-center gap-2"},AE={key:0,class:"flex mt-8"},PE={key:1,class:"flex flex-col"},CE={key:3,class:"flex flex-col h-full"},kE={class:"mt-8"},LE=ht({__name:"app",async setup(e){let t,n;const r=nd(),{data:o,pending:i,error:s}=([t,n]=yp(()=>wE(`${r.origin}/api/emails`,{default:()=>[]},"$3oRWNoOsuN")),t=await t,n(),t),a=me(null);function l(u){a.value=u}return je(o,u=>{u.length>0&&!a.value&&(a.value=u[0])},{immediate:!0}),(u,c)=>{const f=p_,p=m_,d=oa,h=of,_=sf,y=Sn,b=li,w=my,m=yE,E=bE;return Z(),pe("div",SE,[ie(f),ie(p),ie(E,{"storage-key":"devtools:nuxt-email-renderer",class:"!h-screen p-4","min-size":30,horizontal:!1},{left:Pe(()=>[fe("div",TE,[c[0]||(c[0]=fe("h1",{class:"text-xl font-bold text-gray-900 dark:text-white mb-2"}," Nuxt Email Renderer ",-1)),fe("div",RE,[ie(d,{icon:"carbon:logo-github",to:"https://github.com/Mokkapps/nuxt-email-renderer",target:"_blank"}),ie(d,{icon:"carbon:earth",to:"https://nuxtemail.com",target:"_blank"})])]),Q(i)?(Z(),pe("div",AE,[ie(h,null,{default:Pe(()=>[...c[1]||(c[1]=[rt("Loading email templates...",-1)])]),_:1})])):Q(s)?(Z(),pe("div",PE,[ie(_,{n:"red6 dark:red5",icon:"carbon:warning-alt"},{default:Pe(()=>[...c[2]||(c[2]=[rt(" Error! ",-1)])]),_:1}),ie(_,{n:"red6 dark:red5"},{default:Pe(()=>[rt(Rt(Q(s)),1)]),_:1})])):Ye("",!0),Q(o).length===0?(Z(),Le(b,{key:2,class:"text-center py-12"},{default:Pe(()=>[ie(y,{icon:"carbon:email",class:"w-16 h-16 text-gray-300 dark:text-gray-600 mx-auto mb-4"}),c[3]||(c[3]=fe("h3",{class:"text-lg font-medium text-gray-900 dark:text-white mb-2"}," No email templates found ",-1)),c[4]||(c[4]=fe("p",{class:"text-gray-500 dark:text-gray-400 mb-6 max-w-sm mx-auto"}," Create your first email template by adding a .vue file to the emails directory. ",-1))]),_:1})):(Z(),pe("div",CE,[ie(w,{"email-templates":Q(o),"selected-template":Q(a),onSelect:l},null,8,["email-templates","selected-template"]),fe("div",kE,[ie(m,{template:Q(a)},null,8,["template"])])]))]),_:1})])}}}),xE={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
51
- `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
52
- `);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),a=void 0,c=o?xa(()=>g(()=>import("./OctAxTSL.js"),__vite__mapDeps([95,96,97]),import.meta.url)):xa(()=>g(()=>import("./uijQiXVx.js"),__vite__mapDeps([98,96,99]),import.meta.url));return(f,p)=>(Z(),Le(Q(c),md(_u({statusCode:Q(r),statusMessage:Q(i),description:Q(s),stack:Q(a)})),null,16))}},OE={key:0},nc={__name:"nuxt-root",setup(e){const t=()=>null,n=xe(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);Mt().beforeEach(u)}const o=!1;jt(Wu,qu()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const i=ta(),s=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Fc((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,f).catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(sg(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>og(u)),!1});const l=!1;return(u,c)=>(Z(),Le(Wp,{onResolve:Q(r)},{default:Pe(()=>[Q(s)?(Z(),pe("div",OE)):Q(i)?(Z(),Le(Q(xE),{key:1,error:Q(i)},null,8,["error"])):Q(l)?(Z(),Le(Q(t),{key:2,context:Q(l)},null,8,["context"])):Q(o)?(Z(),Le(zc(Q(o)),{key:3})):(Z(),Le(Q(LE),{key:4}))]),_:1},8,["onResolve"]))}};let rc;{let e;rc=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?Dh(nc):Ih(nc),o=zm({vueApp:r});async function i(s){await o.callHook("app:error",s),o.payload.error||=ii(s)}r.config.errorHandler=i,o.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)}),!n&&ll.id&&o.hook("app:suspense:resolve",()=>{document.getElementById(ll.id)?.remove()});try{await qm(o,c_)}catch(s){i(s)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(Fm),await o.hooks.callHook("app:mounted",r),await St()}catch(s){i(s)}return r},e=rc().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{ia as _,fe as a,ie as b,pe as c,rt as d,y_ as e,xe as f,Qu as g,Gs as h,dt as i,Z as o,Rt as t,IE as u,Pe as w};