@tequila99/githuman 0.3.0 → 0.4.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 (178) hide show
  1. package/README.md +8 -1
  2. package/dist/cli/config.js +4 -2
  3. package/dist/cli/server-runtime.js +1 -0
  4. package/dist/server/app.js +10 -0
  5. package/dist/server/config/openapi.js +29 -0
  6. package/dist/server/repositories/review.repo.js +31 -5
  7. package/dist/server/routes/agent.js +145 -18
  8. package/dist/server/routes/app-info.js +8 -1
  9. package/dist/server/routes/comments.js +73 -27
  10. package/dist/server/routes/diff.js +76 -15
  11. package/dist/server/routes/events.js +14 -1
  12. package/dist/server/routes/export.js +22 -5
  13. package/dist/server/routes/git.js +52 -21
  14. package/dist/server/routes/health.js +8 -1
  15. package/dist/server/routes/openapi.js +4 -0
  16. package/dist/server/routes/reviews.js +59 -33
  17. package/dist/server/services/agent/agent-session.js +5 -3
  18. package/dist/server/services/diff.service.js +119 -1
  19. package/dist/server/services/git.service.js +104 -3
  20. package/dist/shared/agents/schemas.js +120 -31
  21. package/dist/shared/app/schemas.js +7 -0
  22. package/dist/shared/comments/schemas.js +48 -0
  23. package/dist/shared/diff/schemas.js +77 -0
  24. package/dist/shared/diff/types.js +0 -3
  25. package/dist/shared/events/schemas.js +4 -0
  26. package/dist/shared/git/schemas.js +59 -0
  27. package/dist/shared/http/schemas.js +23 -0
  28. package/dist/shared/reviews/schemas.js +96 -0
  29. package/dist/shared/reviews/summary.js +5 -0
  30. package/dist/shared/utils/schemas.js +9 -0
  31. package/dist/web/assets/AppPage-BSvF7ik1.js +1 -0
  32. package/dist/web/assets/CreateReviewFabButton-M0od1QEZ.js +1 -0
  33. package/dist/web/assets/{ErrorNotFound-B5uYICL4.js → ErrorNotFound-BAP3n0aC.js} +1 -1
  34. package/dist/web/assets/IndexPage-CztuM7ha.css +1 -0
  35. package/dist/web/assets/IndexPage-Do-EZOBf.js +1 -0
  36. package/dist/web/assets/MainLayout-daEN-VtX.js +7 -0
  37. package/dist/web/assets/QBtn-BDbJU6_B.js +1 -0
  38. package/dist/web/assets/{QMenu-BZ1eK_rS.js → QMenu-DXgFwoTJ.js} +1 -1
  39. package/dist/web/assets/QSelect-DzYPZHrW.js +1 -0
  40. package/dist/web/assets/ReviewDetailPage-CP6YqXPT.css +1 -0
  41. package/dist/web/assets/ReviewDetailPage-DEtNg2UN.js +1 -0
  42. package/dist/web/assets/ReviewsPage-Dg-iCxsQ.js +1 -0
  43. package/dist/web/assets/StatusSwitcher-BpebV47C.js +4 -0
  44. package/dist/web/assets/{StatusSwitcher-CZYtI0ID.css → StatusSwitcher-Ca5k9Tjx.css} +1 -1
  45. package/dist/web/assets/{abnfDiagram-O67JEVCF-DkOrqZLn.js → abnfDiagram-O67JEVCF-BUX560Qb.js} +1 -1
  46. package/dist/web/assets/agent-icon-BJbyp2DP.js +17 -0
  47. package/dist/web/assets/agent-store-B9E-aiz3.js +1 -0
  48. package/dist/web/assets/{app-info-store-CIqmSeWK.js → app-info-store-xZiQfdgO.js} +1 -1
  49. package/dist/web/assets/{arc-BALAYY3f.js → arc-dElW-85p.js} +1 -1
  50. package/dist/web/assets/architecture-7GRP2DOG-bgxww3gY.js +1 -0
  51. package/dist/web/assets/{architectureDiagram-NJMV4G6O-C-xtrMea.js → architectureDiagram-NJMV4G6O-CUUKpxro.js} +1 -1
  52. package/dist/web/assets/{blockDiagram-BEXU5L5S-DYo9Os-m.js → blockDiagram-BEXU5L5S-D4r5wIie.js} +1 -1
  53. package/dist/web/assets/{c4Diagram-YGBWAQC7-BpSFjUAX.js → c4Diagram-YGBWAQC7-ww04LJhe.js} +1 -1
  54. package/dist/web/assets/channel-CdThk9yc.js +1 -0
  55. package/dist/web/assets/{chunk-3FUC2YCW-DtUqbu5K.js → chunk-3FUC2YCW-9i3K5FXP.js} +1 -1
  56. package/dist/web/assets/{chunk-5DYCD2WN-DeYTIM8k.js → chunk-5DYCD2WN-BmtGl0Xn.js} +1 -1
  57. package/dist/web/assets/{chunk-742MDFTN-8BfKAsu6.js → chunk-742MDFTN-5p0wX5Yc.js} +1 -1
  58. package/dist/web/assets/{chunk-7INBJB4K-PXK092EZ.js → chunk-7INBJB4K-CWFVY0jp.js} +1 -1
  59. package/dist/web/assets/{chunk-7M6MHVWA-Db9reT-V.js → chunk-7M6MHVWA-DUgZIYj4.js} +1 -1
  60. package/dist/web/assets/{chunk-7PRAP22T-CNFpjNaH.js → chunk-7PRAP22T-BrhA6Tm7.js} +1 -1
  61. package/dist/web/assets/{chunk-GTNCS2PH-C5gqOp1W.js → chunk-GTNCS2PH-B83nsnuR.js} +1 -1
  62. package/dist/web/assets/{chunk-GWA4HPMP-BquHLG8L.js → chunk-GWA4HPMP-cewRmL7f.js} +1 -1
  63. package/dist/web/assets/{chunk-MBY4JIJT-DyOEFgCh.js → chunk-MBY4JIJT-D18SeqyB.js} +1 -1
  64. package/dist/web/assets/{chunk-NETBCI7D-Bd3ij3-b.js → chunk-NETBCI7D-5SjiRygT.js} +1 -1
  65. package/dist/web/assets/{chunk-O7XYJQB3-DQvIvDe6.js → chunk-O7XYJQB3-H6mLYErS.js} +1 -1
  66. package/dist/web/assets/{chunk-UA2S7LBM-BDIHwgCZ.js → chunk-UA2S7LBM-C5VQVDlC.js} +1 -1
  67. package/dist/web/assets/{chunk-WEXAMYUT-DwQKTsK-.js → chunk-WEXAMYUT-CrOcvEcH.js} +1 -1
  68. package/dist/web/assets/{chunk-XXDRQBXY-DTdiON6C.js → chunk-XXDRQBXY-BuVPxQhc.js} +1 -1
  69. package/dist/web/assets/{chunk-Z7XXMR3K-CIvnaGnU.js → chunk-Z7XXMR3K-BVP3f1-g.js} +1 -1
  70. package/dist/web/assets/{chunk-ZIGJFQKS-BdT_T5CV.js → chunk-ZIGJFQKS-CF-OzGXH.js} +1 -1
  71. package/dist/web/assets/{classDiagram-v2-NBCMYWYE-BUoclHlO.js → classDiagram-v2-NBCMYWYE-Bd3VDNaV.js} +1 -1
  72. package/dist/web/assets/{core-B8kUiZoM.js → core-DiiZIGCg.js} +1 -1
  73. package/dist/web/assets/{cose-bilkent-JH36ORCC-C16eW6pc.js → cose-bilkent-JH36ORCC-ifMLrEkd.js} +1 -1
  74. package/dist/web/assets/create-BkZH2Q0U.js +1 -0
  75. package/dist/web/assets/{cynefin-OW5HDTMX-1mS7ZeoM.js → cynefin-OW5HDTMX-6l9c0yRf.js} +1 -1
  76. package/dist/web/assets/{cynefinDiagram-VND7K2PF-D1PC4YT4.js → cynefinDiagram-VND7K2PF-u9Gy0Odz.js} +1 -1
  77. package/dist/web/assets/{dagre-6A5THRUB-amODOP74.js → dagre-6A5THRUB-D1jsEBl4.js} +1 -1
  78. package/dist/web/assets/{diagram-22UHCM2B-wUvcsN_B.js → diagram-22UHCM2B-DpyH5n1y.js} +1 -1
  79. package/dist/web/assets/{diagram-3UASUU5V-CLiOVs2l.js → diagram-3UASUU5V-3X1RJV9-.js} +1 -1
  80. package/dist/web/assets/{diagram-ATOU4E4O-Cs5cFGgz.js → diagram-ATOU4E4O-B_bvvAua.js} +1 -1
  81. package/dist/web/assets/{diagram-CDSNMT55-C8Jb-YeE.js → diagram-CDSNMT55-DheqAuOA.js} +1 -1
  82. package/dist/web/assets/{diagram-MLGK6HIB-DA6C9fVB.js → diagram-MLGK6HIB-CYwe9zYy.js} +1 -1
  83. package/dist/web/assets/{diagram-MPIPVDR6-BOaFKuUi.js → diagram-MPIPVDR6-CVd9i23e.js} +1 -1
  84. package/dist/web/assets/{dist-DuFVAX6Y.js → dist-BzuUT3GV.js} +1 -1
  85. package/dist/web/assets/{ebnfDiagram-ZINNZB2B-e5jvn-EE.js → ebnfDiagram-ZINNZB2B-B5vtXULf.js} +1 -1
  86. package/dist/web/assets/{elk-276RUBZZ-D7Gcu17D.js → elk-276RUBZZ-BmMM0tV5.js} +1 -1
  87. package/dist/web/assets/{engine-oniguruma-HbxpIAu4.js → engine-oniguruma-D6DCTEub.js} +1 -1
  88. package/dist/web/assets/{erDiagram-OPXOYQCR-Cn1bBUF8.js → erDiagram-OPXOYQCR-1ORPVLQR.js} +1 -1
  89. package/dist/web/assets/eventmodeling-NTZA5JFV-BH97sTDs.js +1 -0
  90. package/dist/web/assets/flowDiagram-KWPJA3E3-CRwhE8ka.js +1 -0
  91. package/dist/web/assets/{ganttDiagram-FUAMR5RP-C3U8jeJB.js → ganttDiagram-FUAMR5RP-CAWNdy1S.js} +1 -1
  92. package/dist/web/assets/{gitGraph-4MIJSDKK-C165DC0H.js → gitGraph-4MIJSDKK-CXCCnZ1j.js} +1 -1
  93. package/dist/web/assets/{gitGraphDiagram-X574FWY7-CVHdT1OC.js → gitGraphDiagram-X574FWY7-DPDrqSt6.js} +1 -1
  94. package/dist/web/assets/i18n-D5wmXwHr.js +1 -0
  95. package/dist/web/assets/{index-C6ArNnKs.css → index-CgeU6Wuu.css} +1 -1
  96. package/dist/web/assets/index-DWi4DKrl.js +2 -0
  97. package/dist/web/assets/{info-A6RAGUB7-cbWtF3FJ.js → info-A6RAGUB7-CGg3Xa4X.js} +1 -1
  98. package/dist/web/assets/{infoDiagram-VRGFBTTK-C_kWn3Ai.js → infoDiagram-VRGFBTTK-vx9EUrdV.js} +1 -1
  99. package/dist/web/assets/init-app-CgDkvlRb.js +1 -0
  100. package/dist/web/assets/is-BB7rJzdU.js +1 -0
  101. package/dist/web/assets/{ishikawaDiagram-OU5B5YK6-Xb9cDRr7.js → ishikawaDiagram-OU5B5YK6-DL7T0J63.js} +1 -1
  102. package/dist/web/assets/{journeyDiagram-ZHPQQLJL-6eZcefap.js → journeyDiagram-ZHPQQLJL-D45T1Pj5.js} +1 -1
  103. package/dist/web/assets/{kanban-definition-PNTS6WVX-D_z_AsKR.js → kanban-definition-PNTS6WVX-C9ZnTE1l.js} +1 -1
  104. package/dist/web/assets/{line-v7JtZ-Za.js → line-CLBEcmiH.js} +1 -1
  105. package/dist/web/assets/{linear-hp1KWmiC.js → linear-B5bBEu0i.js} +1 -1
  106. package/dist/web/assets/{mermaid-parser.core-Cwwk5NqO.js → mermaid-parser.core-Dj-n65Ou.js} +3 -3
  107. package/dist/web/assets/{mermaid.core-BjPJhwW0.js → mermaid.core-CmPsESsw.js} +4 -4
  108. package/dist/web/assets/{mindmap-definition-NLK3R4M7-lQohhDXq.js → mindmap-definition-NLK3R4M7-ZX638ce_.js} +1 -1
  109. package/dist/web/assets/{packet-AYTQ26CC-DxiGe6nt.js → packet-AYTQ26CC-D-XZHUq_.js} +1 -1
  110. package/dist/web/assets/{pegDiagram-GJSIUBJH-XZRpQTLx.js → pegDiagram-GJSIUBJH-sE-EOKNL.js} +1 -1
  111. package/dist/web/assets/{pie-WAS4IAKB-fxN0O90k.js → pie-WAS4IAKB-DMkVggJA.js} +1 -1
  112. package/dist/web/assets/{pieDiagram-5QR66LMP-M_bBKE-n.js → pieDiagram-5QR66LMP-DSdIEQyS.js} +1 -1
  113. package/dist/web/assets/pinia-BMN9Drn3.js +1 -0
  114. package/dist/web/assets/pinia-DmTi2T44.js +1 -0
  115. package/dist/web/assets/{quadrantDiagram-O4NWA36T-BNxVPrq3.js → quadrantDiagram-O4NWA36T-BReXSVss.js} +1 -1
  116. package/dist/web/assets/{radar-RG4KPBEZ-Cd-5aokk.js → radar-RG4KPBEZ-CJzPwlj6.js} +1 -1
  117. package/dist/web/assets/{railroad-74A4TZTK-BvSKL8Ze.js → railroad-74A4TZTK-CkhRuR3N.js} +1 -1
  118. package/dist/web/assets/railroad-abnf-HS5TGJTU-CcS8fVgm.js +1 -0
  119. package/dist/web/assets/railroad-ebnf-LZEXJU2U-BlpYA103.js +1 -0
  120. package/dist/web/assets/railroad-peg-WCYAUIDC-C2EznudM.js +1 -0
  121. package/dist/web/assets/{railroadDiagram-XR7U4H2S-D664lPSL.js → railroadDiagram-XR7U4H2S-DCoF4AEN.js} +1 -1
  122. package/dist/web/assets/{requirementDiagram-PLB6GJNP-B_1Dl0-3.js → requirementDiagram-PLB6GJNP-B15aXZXI.js} +1 -1
  123. package/dist/web/assets/runtime-core.esm-bundler-CUpq88z7.js +1 -0
  124. package/dist/web/assets/{safe-storage-CWaD6Dq3.js → safe-storage-ak36tVRO.js} +1 -1
  125. package/dist/web/assets/{sankeyDiagram-IPEJSGJF-BvFmMC_F.js → sankeyDiagram-IPEJSGJF-DcWsnYYP.js} +1 -1
  126. package/dist/web/assets/{sequenceDiagram-PO4LG4MO-DMK1ey4g.js → sequenceDiagram-PO4LG4MO-CXWUNmSl.js} +1 -1
  127. package/dist/web/assets/{src-Cy0hT8a0.js → src-CB-shhJB.js} +1 -1
  128. package/dist/web/assets/{stateDiagram-v2-GCMORJYK-VVElU-_E.js → stateDiagram-v2-GCMORJYK-M9PkKdix.js} +1 -1
  129. package/dist/web/assets/{swimlanes-2SLR337P-DyfYJvHL.js → swimlanes-2SLR337P-B13LpAqh.js} +1 -1
  130. package/dist/web/assets/swimlanesDiagram-TC7HE7FX-BmCQPnJC.js +8 -0
  131. package/dist/web/assets/theme-BMaTNJdz.js +1 -0
  132. package/dist/web/assets/{timeline-definition-EJHVYXUP-DBoRb7uC.js → timeline-definition-EJHVYXUP-Dli0jMaX.js} +1 -1
  133. package/dist/web/assets/{treeView-Q6P3EWNA-D8AoZg1Y.js → treeView-Q6P3EWNA-BwBFpWIC.js} +1 -1
  134. package/dist/web/assets/{treemap-WGGIJYW6-DhcVtZsu.js → treemap-WGGIJYW6-DYGjPuTv.js} +1 -1
  135. package/dist/web/assets/use-app-theme-C9HTPdVu.js +1 -0
  136. package/dist/web/assets/use-panel-width-DGbjs_T8.js +1 -0
  137. package/dist/web/assets/use-virtual-scroll-BVHTKnoC.js +1 -0
  138. package/dist/web/assets/{usecaseDiagram-POWQR4AR-BCfvWOH4.js → usecaseDiagram-POWQR4AR-Chs4O-o-.js} +1 -1
  139. package/dist/web/assets/{vennDiagram-UO4OBE2U-BIk6-FLo.js → vennDiagram-UO4OBE2U-D3GVZcIr.js} +1 -1
  140. package/dist/web/assets/{vue-i18n.runtime-BQwnBdmC.js → vue-i18n.runtime-D0pkhc7g.js} +2 -2
  141. package/dist/web/assets/{wardley-WFR3VGLG-BMHH70A3.js → wardley-WFR3VGLG-B5YUEVo5.js} +1 -1
  142. package/dist/web/assets/{wardleyDiagram-VNRHLVJA-DB-cxlSq.js → wardleyDiagram-VNRHLVJA-liqH-4lm.js} +1 -1
  143. package/dist/web/assets/{xychartDiagram-PMCCYNJV-BejE-3gi.js → xychartDiagram-PMCCYNJV-C63N6ZvA.js} +1 -1
  144. package/dist/web/index.html +6 -6
  145. package/package.json +2 -2
  146. package/dist/web/assets/AppPage-CSb8txs5.js +0 -1
  147. package/dist/web/assets/CreateReviewFabButton-B18DLuH6.js +0 -1
  148. package/dist/web/assets/IndexPage-B-hkrnvt.css +0 -1
  149. package/dist/web/assets/IndexPage-Cm_ssBeC.js +0 -1
  150. package/dist/web/assets/MainLayout-ClBPF545.js +0 -7
  151. package/dist/web/assets/QBtn-E32fUOKx.js +0 -1
  152. package/dist/web/assets/QItemLabel-Co6oCEUr.js +0 -1
  153. package/dist/web/assets/QSelect-D1V4tbDr.js +0 -1
  154. package/dist/web/assets/ReviewDetailPage-BWa3EEkv.css +0 -1
  155. package/dist/web/assets/ReviewDetailPage-Ct0hXwZL.js +0 -1
  156. package/dist/web/assets/ReviewsPage-CbLAU6OM.js +0 -1
  157. package/dist/web/assets/StatusSwitcher-C0k4efwK.js +0 -4
  158. package/dist/web/assets/agent-icon-BKoq2a6T.js +0 -17
  159. package/dist/web/assets/agent-store-CEQ6MmTC.js +0 -1
  160. package/dist/web/assets/architecture-7GRP2DOG-CTkghkmX.js +0 -1
  161. package/dist/web/assets/channel-f9cE6NV9.js +0 -1
  162. package/dist/web/assets/create-B9ZqyTxV.js +0 -1
  163. package/dist/web/assets/eventmodeling-NTZA5JFV-BjGpd42n.js +0 -1
  164. package/dist/web/assets/flowDiagram-KWPJA3E3-a3N8MVB8.js +0 -1
  165. package/dist/web/assets/i18n-CyUPETur.js +0 -1
  166. package/dist/web/assets/index-C_B6Z2lc.js +0 -2
  167. package/dist/web/assets/init-app-DnfYD-0k.js +0 -1
  168. package/dist/web/assets/is-ChHvR1Z-.js +0 -1
  169. package/dist/web/assets/pinia-0B8sIOgD.js +0 -1
  170. package/dist/web/assets/pinia-DbmXdZbT.js +0 -1
  171. package/dist/web/assets/railroad-abnf-HS5TGJTU-CB32K25L.js +0 -1
  172. package/dist/web/assets/railroad-ebnf-LZEXJU2U-CqQR3zRl.js +0 -1
  173. package/dist/web/assets/railroad-peg-WCYAUIDC-DRSdB-oL.js +0 -1
  174. package/dist/web/assets/runtime-core.esm-bundler-Carm8LUR.js +0 -1
  175. package/dist/web/assets/swimlanesDiagram-TC7HE7FX-BQ0mK2BI.js +0 -8
  176. package/dist/web/assets/theme-BFceB3b9.js +0 -1
  177. package/dist/web/assets/use-app-theme-DxZW-eOR.js +0 -1
  178. package/dist/web/assets/use-panel-width-CY75Fomr.js +0 -1
@@ -0,0 +1,17 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/mermaid.core-CmPsESsw.js","assets/index-DWi4DKrl.js","assets/runtime-core.esm-bundler-CUpq88z7.js","assets/QBtn-BDbJU6_B.js","assets/event-rR76ioXz.js","assets/create-BkZH2Q0U.js","assets/is-BB7rJzdU.js","assets/debounce-CDIE7CV6.js","assets/index-CgeU6Wuu.css","assets/chunk-Y2CYZVJY-DsF7k-Jl.js","assets/src-CB-shhJB.js","assets/chunk-O7XYJQB3-H6mLYErS.js","assets/chunk-ZIGJFQKS-CF-OzGXH.js","assets/dist-BzuUT3GV.js","assets/chunk-742MDFTN-5p0wX5Yc.js","assets/chunk-MBY4JIJT-D18SeqyB.js","assets/chunk-DUW6YSOI-Dgx8z5s3.js","assets/chunk-7PRAP22T-BrhA6Tm7.js","assets/chunk-7INBJB4K-CWFVY0jp.js","assets/chunk-J5ZVWO5B-oDCd-gWO.js","assets/rough.esm-Dy-Kn_BL.js","assets/chunk-5DYCD2WN-BmtGl0Xn.js","assets/chunk-Z7XXMR3K-BVP3f1-g.js","assets/line-CLBEcmiH.js","assets/path-fybaL0A-.js","assets/array-BifhSqXX.js","assets/chunk-UA2S7LBM-C5VQVDlC.js"])))=>i.map(i=>d[i]);
2
+ import{Ct as e,D as t,G as n,H as r,I as i,J as a,N as o,S as s,Tt as c,U as l,_ as u,c as d,ct as f,d as p,g as m,h,it as g,k as _,l as v,lt as y,nt as b,q as x,s as S,y as C}from"./runtime-core.esm-bundler-CUpq88z7.js";import{D as ee,E as w,H as T,R as te,_ as ne,t as re}from"./QBtn-BDbJU6_B.js";import{n as ie,o as ae,t as oe}from"./event-rR76ioXz.js";import{t as se}from"./create-BkZH2Q0U.js";import{t as ce}from"./debounce-CDIE7CV6.js";import{D as le,E as ue,G as E,J as de,K as fe,R as D,T as O,W as pe,X as me,Y as he,Z as ge,_ as _e,d as ve,g as ye,nt as be,q as k,v as xe,w as A,y as j}from"./index-DWi4DKrl.js";import{n as M}from"./vue-i18n.runtime-D0pkhc7g.js";import{i as Se}from"./single-flight-r8B7stt1.js";import{a as Ce,c as we,i as Te,l as Ee,m as De,n as Oe,r as N,y as ke}from"./QMenu-DXgFwoTJ.js";var P=Object.create,Ae=Object.defineProperty,je=Object.getOwnPropertyDescriptor,Me=Object.getOwnPropertyNames,Ne=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Fe=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),Ie=(e,t)=>{let n={};for(var r in e)Ae(n,r,{get:e[r],enumerable:!0});return t||Ae(n,Symbol.toStringTag,{value:`Module`}),n},Le=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=Me(t),a=0,o=i.length,s;a<o;a++)s=i[a],!Pe.call(e,s)&&s!==n&&Ae(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=je(t,s))||r.enumerable});return e},Re=(e,t,n)=>(n=e==null?{}:P(Ne(e)),Le(t||!e||!e.__esModule||!Pe.call(e,`default`)?Ae(n,`default`,{value:e,enumerable:!0}):n,e)),ze=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});function Be(e,t){this.v=e,this.k=t}function Ve(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 He(e){if(Array.isArray(e))return e}function Ue(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function We(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ge(e,t){return He(e)||Ue(e,t)||Ke(e,t)||We()}function Ke(e,t){if(e){if(typeof e==`string`)return Ve(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)?Ve(e,t):void 0}}function qe(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof Be;Promise.resolve(s?o.v:o).then(function(n){if(s){var c=t===`return`&&o.k?t:`next`;if(!o.k||n.done)return r(c,n);n=e[c](n).value}i(!!a.done,n)},function(e){r(`throw`,e)})}catch(e){i(2,e)}}function i(e,i){e===2?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(a,o){var s={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},typeof e.return!=`function`&&(this.return=void 0)}qe.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},qe.prototype.next=function(e){return this._invoke(`next`,e)},qe.prototype.throw=function(e){return this._invoke(`throw`,e)},qe.prototype.return=function(e){return this._invoke(`return`,e)};var Je=Object.entries,Ye=Object.setPrototypeOf,Xe=Object.isFrozen,Ze=Object.getPrototypeOf,F=Object.getOwnPropertyDescriptor,I=Object.freeze,L=Object.seal,Qe=Object.create,$e=typeof Reflect<`u`&&Reflect,et=$e.apply,tt=$e.construct;I||=function(e){return e},L||=function(e){return e},et||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},tt||=function(e){return new e(...[...arguments].slice(1))};var nt=B(Array.prototype.forEach);Array.prototype.indexOf;var rt=B(Array.prototype.lastIndexOf),it=B(Array.prototype.pop),at=B(Array.prototype.push);Array.prototype.slice;var ot=B(Array.prototype.splice),st=Array.isArray,ct=B(String.prototype.toLowerCase),lt=B(String.prototype.toString),ut=B(String.prototype.match),dt=B(String.prototype.replace),ft=B(String.prototype.indexOf),pt=B(String.prototype.trim),mt=B(Number.prototype.toString),ht=B(Boolean.prototype.toString),gt=typeof BigInt>`u`?null:B(BigInt.prototype.toString),_t=typeof Symbol>`u`?null:B(Symbol.prototype.toString),R=B(Object.prototype.hasOwnProperty),vt=B(Object.prototype.toString),z=B(RegExp.prototype.test),yt=bt(TypeError);function B(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return et(e,t,n)}}function bt(e){return function(){return tt(e,[...arguments])}}function V(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ct;if(Ye&&Ye(e,null),!st(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Xe(t)||(t[r]=e),i=e)}e[i]=!0}return e}function xt(e){for(let t=0;t<e.length;t++)R(e,t)||(e[t]=null);return e}function H(e){let t=Qe(null);for(let r of Je(e)){var n=Ge(r,2);let i=n[0],a=n[1];R(e,i)&&(t[i]=st(a)?xt(a):a&&typeof a==`object`&&a.constructor===Object?H(a):a)}return t}function St(e){switch(typeof e){case`string`:return e;case`number`:return mt(e);case`boolean`:return ht(e);case`bigint`:return gt?gt(e):`0`;case`symbol`:return _t?_t(e):`Symbol()`;case`undefined`:return vt(e);case`function`:case`object`:{if(e===null)return vt(e);let t=e,n=U(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:vt(e)}return vt(e)}default:return vt(e)}}function U(e,t){for(;e!==null;){let n=F(e,t);if(n){if(n.get)return B(n.get);if(typeof n.value==`function`)return B(n.value)}e=Ze(e)}function n(){return null}return n}function Ct(e){try{return z(e,``),!0}catch{return!1}}var wt=I(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),Tt=I(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),Et=I([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),Dt=I([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),Ot=I(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),kt=I([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),At=I([`#text`]),jt=I(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),Mt=I(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),Nt=I(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),Pt=I([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Ft=L(/{{[\w\W]*|^[\w\W]*}}/g),It=L(/<%[\w\W]*|^[\w\W]*%>/g),Lt=L(/\${[\w\W]*/g),Rt=L(/^data-[\-\w.\u00B7-\uFFFF]+$/),zt=L(/^aria-[\-\w]+$/),Bt=L(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Vt=L(/^(?:\w+script|data):/i),Ht=L(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ut=L(/^html$/i),Wt=L(/^[a-z][.\w]*(-[.\w]+)+$/i),Gt=L(/<[/\w!]/g),Kt=L(/<[/\w]/g),qt=L(/<\/no(script|embed|frames)/i),Jt=L(/\/>/i),W={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},G=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],Yt=I(V({},G)),Xt=function(){let e={};return nt(G,t=>{e[t]=L(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),I(e)}(),Zt=function(){return typeof window>`u`?null:window},Qt=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},$t=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},en=function(e,t,n,r){return R(e,t)&&st(e[t])?V(r.base?H(r.base):{},e[t],r.transform):n},tn=function(e,t,n){let r=R(e,t)?e[t]:void 0;return r&&typeof r==`object`?H(r):n()};function nn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Zt(),t=e=>nn(e);if(t.version=`3.4.16`,t.removed=[],!e||!e.document||e.document.nodeType!==W.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=U(d,`cloneNode`),p=U(d,`remove`),m=U(d,`removeAttributeNode`),h=U(d,`nextSibling`),g=U(d,`childNodes`),_=U(d,`parentNode`),v=U(d,`shadowRoot`),y=U(d,`attributes`),b=o&&o.prototype?U(o.prototype,`nodeType`):null,x=o&&o.prototype?U(o.prototype,`nodeName`):null,S=o&&o.prototype?U(o.prototype,`ownerDocument`):null,C=function(e){return b?b(e):e.nodeType},ee=function(e){return x?x(e):e.nodeName};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let w,T=``,te,ne=!1,re=0,ie=function(){if(re>0)throw yt(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},ae=function(e){ie(),re++;try{return w.createHTML(e)}finally{re--}},oe=function(e){ie(),re++;try{return w.createScriptURL(e)}finally{re--}},se=function(){return ne||=(te=Qt(u,i),!0),te},ce=n,le=ce.implementation,ue=ce.createNodeIterator,E=ce.createDocumentFragment,de=ce.getElementsByTagName,fe=r.importNode,D=$t();t.isSupported=typeof Je==`function`&&typeof _==`function`&&le&&le.createHTMLDocument!==void 0;let O=Ft,pe=It,me=Lt,he=Rt,ge=zt,_e=Vt,ve=Ht,ye=Wt,be=Bt,k=null,xe=V({},[...wt,...Tt,...Et,...Ot,...At]),A=null,j=V({},[...jt,...Mt,...Nt,...Pt]),M=Object.seal(Qe(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,Ce=null,we=Object.seal(Qe(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Te=!0,Ee=!0,De=!1,Oe=!0,N=!1,ke=!0,P=!1,Ae=!1,je=null,Me=null,Ne=!1,Pe=!1,Fe=!1,Ie=!1,Le=!0,Re=!1,ze=`user-content-`,Be=!0,Ve=!1,He={},Ue=null,We=V({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),Ge=null,Ke=V({},[`audio`,`video`,`img`,`source`,`image`,`track`]),qe=null,Ye=V({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Xe=`http://www.w3.org/1998/Math/MathML`,Ze=`http://www.w3.org/2000/svg`,F=`http://www.w3.org/1999/xhtml`,$e=F,et=!1,tt=null,mt=V({},[Xe,Ze,F],lt),ht=I([`mi`,`mo`,`mn`,`ms`,`mtext`]),gt=V({},ht),_t=I([`annotation-xml`]),vt=V({},_t),B=V({},[`title`,`style`,`font`,`a`,`script`]),bt=null,xt=[`application/xhtml+xml`,`text/html`],G=null,rn=null,an=n.createElement(`form`),on=function(e){return e instanceof RegExp||e instanceof Function},sn=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(rn&&rn===e)return;(!e||typeof e!=`object`)&&(e={}),e=H(e),bt=xt.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,G=bt===`application/xhtml+xml`?lt:ct,k=en(e,`ALLOWED_TAGS`,xe,{transform:G}),A=en(e,`ALLOWED_ATTR`,j,{transform:G}),tt=en(e,`ALLOWED_NAMESPACES`,mt,{transform:lt}),qe=en(e,`ADD_URI_SAFE_ATTR`,Ye,{transform:G,base:Ye}),Ge=en(e,`ADD_DATA_URI_TAGS`,Ke,{transform:G,base:Ke}),Ue=en(e,`FORBID_CONTENTS`,We,{transform:G}),Se=en(e,`FORBID_TAGS`,H({}),{transform:G}),Ce=en(e,`FORBID_ATTR`,H({}),{transform:G}),He=R(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?H(e.USE_PROFILES):e.USE_PROFILES:!1,Te=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,De=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Oe=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,N=e.SAFE_FOR_TEMPLATES||!1,ke=e.SAFE_FOR_XML!==!1,P=e.WHOLE_DOCUMENT||!1,Pe=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Ne=e.FORCE_BODY||!1,Le=e.SANITIZE_DOM!==!1,Re=e.SANITIZE_NAMED_PROPS||!1,Be=e.KEEP_CONTENT!==!1,Ve=e.IN_PLACE||!1,be=Ct(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Bt,$e=typeof e.NAMESPACE==`string`?e.NAMESPACE:F,gt=tn(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>V({},ht)),vt=tn(e,`HTML_INTEGRATION_POINTS`,()=>V({},_t));let t=tn(e,`CUSTOM_ELEMENT_HANDLING`,()=>Qe(null));if(M=Qe(null),R(t,`tagNameCheck`)&&on(t.tagNameCheck)&&(M.tagNameCheck=t.tagNameCheck),R(t,`attributeNameCheck`)&&on(t.attributeNameCheck)&&(M.attributeNameCheck=t.attributeNameCheck),R(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(M.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),L(M),N&&(Ee=!1),Fe&&(Pe=!0),He&&(k=V({},At),A=Qe(null),He.html===!0&&(V(k,wt),V(A,jt)),He.svg===!0&&(V(k,Tt),V(A,Mt),V(A,Pt)),He.svgFilters===!0&&(V(k,Et),V(A,Mt),V(A,Pt)),He.mathMl===!0&&(V(k,Ot),V(A,Nt),V(A,Pt))),we.tagCheck=null,we.attributeCheck=null,R(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?we.tagCheck=e.ADD_TAGS:st(e.ADD_TAGS)&&(k===xe&&(k=H(k)),V(k,e.ADD_TAGS,G))),R(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?we.attributeCheck=e.ADD_ATTR:st(e.ADD_ATTR)&&(A===j&&(A=H(A)),V(A,e.ADD_ATTR,G))),R(e,`ADD_FORBID_CONTENTS`)&&st(e.ADD_FORBID_CONTENTS)&&(Ue===We&&(Ue=H(Ue)),V(Ue,e.ADD_FORBID_CONTENTS,G)),Be&&(k[`#text`]=!0),P&&V(k,[`html`,`head`,`body`]),k.table&&(V(k,[`tbody`]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw yt(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw yt(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=w;w=e.TRUSTED_TYPES_POLICY;try{T=ae(``)}catch(e){throw w=t,e}}else e.TRUSTED_TYPES_POLICY===null?(w=void 0,T=``):(w===void 0&&(w=se()),w&&typeof T==`string`&&(T=ae(``)));I&&I(e),rn=e},cn=V({},[...Tt,...Et,...Dt]),ln=V({},[...Ot,...kt]),un=function(e,t,n){return t.namespaceURI===F?e===`svg`:t.namespaceURI===Xe?e===`svg`&&(n===`annotation-xml`||gt[n]):!!cn[e]},dn=function(e,t,n){return t.namespaceURI===F?e===`math`:t.namespaceURI===Ze?e===`math`&&vt[n]:!!ln[e]},fn=function(e,t,n){return t.namespaceURI===Ze&&!vt[n]||t.namespaceURI===Xe&&!gt[n]?!1:!ln[e]&&(B[e]||!cn[e])},pn=function(e){let t=_(e);(!t||!t.tagName)&&(t={namespaceURI:$e,tagName:`template`});let n=ct(e.tagName),r=ct(t.tagName);return tt[e.namespaceURI]?e.namespaceURI===Ze?un(n,t,r):e.namespaceURI===Xe?dn(n,t,r):e.namespaceURI===F?fn(n,t,r):!!(bt===`application/xhtml+xml`&&tt[e.namespaceURI]):!1},mn=function(e){at(t.removed,{element:e});try{_(e).removeChild(e)}catch{if(p(e),!_(e))throw yt(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},hn=function(e,t,n){try{m(e,t)}catch{try{e.removeAttribute(n)}catch{}}},gn=function(e){yn(e);let t=g(e);if(t){let e=[];nt(t,t=>{at(e,t)}),nt(e,e=>{try{p(e)}catch{}})}let n=y(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&hn(e,r,i)}},_n=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}at(t.removed,{attribute:r||null,from:n});try{r?m(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`){if(Pe||Fe)try{mn(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},vn=function(e){let t=y(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||A[G(i)]||hn(e,r,i)}},yn=function(e){let t=[e];for(;t.length>0;){let e=t.pop();C(e)===W.element&&vn(e);let n=g(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},bn=function(e,t){return ke?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},xn=function(e){if(!ke)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=C(e);if(n===W.processingInstruction||n===W.comment&&z(Kt,e.data)){try{p(e)}catch{}continue}if(n===W.element){let t=e,n=G(ee(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&bn(`for`,n)&&t.removeAttribute(`for`)}catch{}}let r=g(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},Sn=function(e){let t=null,r=null;if(Ne)e=`<remove></remove>`+e;else{let t=ut(e,/^[\r\n\t ]+/);r=t&&t[0]}bt===`application/xhtml+xml`&&$e===F&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=w?ae(e):e;if($e===F)try{t=new l().parseFromString(i,bt)}catch{}if(!t||!t.documentElement){t=le.createDocument($e,`template`,null);try{t.documentElement.innerHTML=et?T:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),$e===F?de.call(t,P?`html`:`body`)[0]:P?t.documentElement:a},Cn=function(e){let t=S?S(e):e.ownerDocument;return ue.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},wn=function(e){return e=dt(e,O,` `),e=dt(e,pe,` `),e=dt(e,me,` `),e},Tn=function(e){e.normalize();let t=S?S(e):e.ownerDocument,n=ue.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=wn(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&nt(i,e=>{En(e.content)&&Tn(e.content)})},K=function(e){let t=x?x(e):null;return typeof t!=`string`||G(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==y(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==b(e)||e.childNodes!==g(e)},En=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return b(e)===W.documentFragment}catch{return!1}},Dn=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return typeof b(e)==`number`}catch{return!1}};function q(e,n,r){e.length!==0&&nt(e,e=>{e.call(t,n,r,rn)})}let On=function(e,t){return!!(ke&&e.hasChildNodes()&&!Dn(e.firstElementChild)&&z(Gt,e.textContent)&&z(Gt,e.innerHTML)||ke&&e.namespaceURI===F&&Yt[t]&&(Dn(e.firstElementChild)||typeof e.textContent==`string`&&z(Xt[t],e.textContent))||e.nodeType===W.processingInstruction||ke&&e.nodeType===W.comment&&z(Kt,e.data))},kn=function(e,t){return e instanceof RegExp?z(e,t):e instanceof Function&&!!e(t,...[...arguments].slice(2))},An=function(e,t,n){if(!Se[t]&&In(t)&&kn(M.tagNameCheck,t))return!1;if(Be&&!Ue[t]){let t=_(e),r=g(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,h(e))}}}return mn(e),!0},jn=function(e,t,n,r){return e.length===0?t:t===n||t===r?H(t):t},Mn=function(e,t){return e===t||_(e)!==null?!1:(Ve&&yn(e),!0)},Nn=function(e,n){if(q(D.beforeSanitizeElements,e,null),Mn(e,n))return!0;if(K(e))return mn(e),!0;let r=G(ee(e));if(k=jn(D.uponSanitizeElement,k,xe,je),q(D.uponSanitizeElement,e,{tagName:r,allowedTags:k}),Mn(e,n))return!0;if(On(e,r))return mn(e),!0;if(Se[r]||!(we.tagCheck instanceof Function&&we.tagCheck(r))&&!k[r]){let t=An(e,r,n);return t===!1&&(q(D.afterSanitizeElements,e,null),Mn(e,n))?!0:t}if(C(e)===W.element&&!pn(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&z(qt,e.innerHTML))return mn(e),!0;if(N&&e.nodeType===W.text){let n=wn(e.textContent);e.textContent!==n&&(at(t.removed,{element:e.cloneNode()}),e.textContent=n)}return q(D.afterSanitizeElements,e,null),Mn(e,n)},Pn=function(e,t,r){if(Ce[t]||bn(t,e)||Le&&(t===`id`||t===`name`)&&(r in n||r in an))return!1;let i=A[t]||we.attributeCheck instanceof Function&&we.attributeCheck(t,e);return Ee&&z(he,t)||Te&&z(ge,t)?!0:i?qe[t]||z(be,dt(r,ve,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&ft(r,`data:`)===0&&Ge[e]||De&&!z(_e,dt(r,ve,``))?!0:!r:In(e)&&kn(M.tagNameCheck,e)&&kn(M.attributeNameCheck,t,e)||t===`is`&&M.allowCustomizedBuiltInElements&&kn(M.tagNameCheck,r)},Fn=V({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),In=function(e){return!Fn[ct(e)]&&z(ye,e)},Ln=function(e,t,n,r){if(w&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return ae(r);case`TrustedScriptURL`:return oe(r)}return r},Rn=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),!K(e)||(mn(e),!1)}catch{return _n(t,e),!1}},zn=function(e,n){if(q(D.beforeSanitizeAttributes,e,null),Mn(e,n))return;let r=e.attributes;if(!r||K(e))return;A=jn(D.uponSanitizeAttribute,A,j,Me);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:A,forceKeepAttr:void 0},a=r.length,o=G(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=G(s),d=l,f=s===`value`?d:pt(d),p=!1;if(i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,q(D.uponSanitizeAttribute,e,i),f=i.attrValue,Re&&(u===`id`||u===`name`)&&ft(f,ze)!==0&&(_n(s,e,n),f=ze+f,p=!0),ke&&z(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){_n(s,e,n);continue}if(u===`attributename`&&ut(f,`href`)){_n(s,e,n);continue}if(!i.forceKeepAttr){if(!i.keepAttr){_n(s,e,n);continue}if(!Oe&&z(Jt,f)){_n(s,e,n);continue}if(N&&(f=wn(f)),!Pn(o,u,f)){_n(s,e,n);continue}f=Ln(o,u,c,f),f!==d&&Rn(e,s,c,f)&&p&&it(t.removed)}}q(D.afterSanitizeAttributes,e,null),Mn(e,n)},Bn=function(e){let t=null,n=Cn(e);for(q(D.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(q(D.uponSanitizeShadowNode,t,null),Nn(t,e),zn(t,e),En(t.content)&&Bn(t.content),C(t)===W.element){let e=v(t);En(e)&&(Vn(e),Bn(e))}q(D.afterSanitizeShadowDOM,e,null)},Vn=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Bn(e.shadow);continue}let n=e.node,r=C(n)===W.element,i=g(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=x?x(n):null;if(typeof e==`string`&&G(e)===`template`){let e=n.content;En(e)&&t.push({node:e,shadow:null})}}if(r){let e=v(n);En(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(et=!e,et&&(e=`<!-->`),typeof e!=`string`&&!Dn(e)&&(e=St(e),typeof e!=`string`))throw yt(`dirty is not a string, aborting`);if(!t.isSupported)return e;Ae?(k=je,A=Me):sn(n),(D.uponSanitizeElement.length>0||D.uponSanitizeAttribute.length>0)&&(k=H(k)),D.uponSanitizeAttribute.length>0&&(A=H(A)),t.removed=[];let c=Ve&&typeof e!=`string`&&Dn(e);if(c){xn(e);let t=ee(e);if(typeof t==`string`){let n=G(t);if(!k[n]||Se[n])throw gn(e),yt(`root node is forbidden and cannot be sanitized in-place`)}if(K(e))throw gn(e),yt(`root node is clobbered and cannot be sanitized in-place`);try{Vn(e)}catch(t){throw gn(e),t}}else if(Dn(e))i=Sn(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===W.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Vn(i);else{if(!Pe&&!N&&!P&&e.indexOf(`<`)===-1)return w&&Ie?ae(e):e;if(i=Sn(e),!i)return Pe?null:Ie?T:``}i&&Ne&&mn(i.firstChild);let l=c?e:i;try{let e=Cn(l);for(;o=e.nextNode();)Nn(o,l),zn(o,l),En(o.content)&&Bn(o.content)}catch(n){throw c&&(gn(e),nt(t.removed,e=>{e.element&&yn(e.element)})),n}if(c){let n=!1;if(nt(t.removed,t=>{t.element&&(t.element===e&&(n=!0),yn(t.element))}),n)throw yt(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return N&&Tn(e),e}if(Pe){if(N&&Tn(i),Fe)for(s=E.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(A.shadowroot||A.shadowrootmode)&&(s=fe.call(r,s,!0)),s}let u=P?i.outerHTML:i.innerHTML;return P&&k[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&z(Ut,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
4
+ `+u),N&&(u=wn(u)),w&&Ie?ae(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};sn(e),Ae=!0,je=k,Me=A},t.clearConfig=function(){rn=null,Ae=!1,je=null,Me=null,w=te,T=``},t.isValidAttribute=function(e,t,n){rn||sn({});let r=G(e),i=G(t);return Pn(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&R(D,e)&&at(D[e],t)},t.removeHook=function(e,t){if(R(D,e)){if(t!==void 0){let n=rt(D[e],t);return n===-1?void 0:ot(D[e],n,1)[0]}return it(D[e])}},t.removeHooks=function(e){R(D,e)&&(D[e]=[])},t.removeAllHooks=function(){D=$t()},t}var rn=nn(),an=se({name:`QBanner`,props:{...xe,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){let n=w(),r=_e(e,n),i=S(()=>`q-banner row items-center`+(e.dense?` q-banner--dense`:``)+(r()?` q-banner--dark q-dark`:``)+(e.rounded?` rounded-borders`:``)),a=S(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions?`auto`:`all`}`);return()=>{let n=[C(`div`,{class:`q-banner__avatar col-auto row items-center self-start`},ne(t.avatar)),C(`div`,{class:`q-banner__content col text-body2`},ne(t.default))],r=ne(t.action);return r!==void 0&&n.push(C(`div`,{class:a.value},r)),C(`div`,{class:i.value+(!e.inlineActions&&r!==void 0?` q-banner--top-padding`:``),role:`alert`},n)}}}),on=se({name:`QSpace`,setup(){let e=C(`div`,{class:`q-space`});return()=>e}}),sn={class:`preview-dialog__head row no-wrap items-center`},cn=[`title`],ln={class:`preview-dialog__body col`},un=ee(m({__name:`PreviewDialog`,props:s({title:{},size:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:s([`before-show`,`hide`],[`update:modelValue`]),setup(t,{emit:n}){let s=n,l=r(t,`modelValue`),{t:u}=M();return(n,r)=>(o(),v(j,{modelValue:l.value,"onUpdate:modelValue":r[0]||=e=>l.value=e,onBeforeShow:r[1]||=e=>s(`before-show`),onHide:r[2]||=e=>s(`hide`)},{default:x(()=>[h(ye,{bordered:``,class:e([`preview-dialog column no-wrap`,`preview-dialog--${t.size??`fit`}`])},{default:x(()=>[d(`div`,sn,[d(`span`,{class:`preview-dialog__title ellipsis`,title:t.title},c(t.title),9,cn),h(on),a(h(re,{flat:``,round:``,dense:``,icon:`close`,"aria-label":y(u)(`changes.closePreview`)},null,8,[`aria-label`]),[[De]])]),d(`div`,ln,[i(n.$slots,`default`,{},void 0,!0)])]),_:3},8,[`class`])]),_:3},8,[`modelValue`]))}}),[[`__scopeId`,`data-v-f11a5876`]]);function dn(e){let t=document.createElement(`textarea`);t.value=e,t.contentEditable=`true`,t.style.position=`fixed`;let n=()=>{};A(n),document.body.append(t),t.focus(),t.select();let r=document.execCommand(`copy`);return t.remove(),O(n),r}function fn(e){if(navigator.clipboard)return navigator.clipboard.writeText(e);let t=dn(e);return t?Promise.resolve(!0):Promise.reject(t)}var pn=1500;function mn(e=fn){let t=new Map,n=0;function r(){n++;for(let e of t.values())e.cancel(),e.restore();t.clear()}async function i(r,i){let a=n,o=r.closest(`.agent-code`)?.querySelector(`pre`)?.textContent;try{await e(o??``)}catch{return!1}if(a!==n)return!0;let s=t.get(r);s&&s.cancel(),r.dataset.copied=`true`,r.setAttribute(`aria-label`,i.copied);let c=()=>{delete r.dataset.copied,r.setAttribute(`aria-label`,i.copy)},l=ce(()=>{t.delete(r),c()},pn);return t.set(r,{cancel:()=>l.cancel(),restore:c}),l(),!0}return{copyCodeBlock:i,reset:r}}function hn(e){let r=mn();return n(e,r.reset,{flush:`sync`}),t(r.reset),_(r.reset),r}var gn=50;function _n(e){let t=new Map,n=Promise.resolve(),r=null,i=0;async function a(t,n){let a=await e(),o=n?`dark`:`default`;r!==o&&(a.initialize({startOnLoad:!1,securityLevel:`strict`,suppressErrorRendering:!0,theme:o,look:`classic`,fontSize:12,themeVariables:{fontSize:`12px`},themeCSS:`.label div, .label span, .label p { line-height: 1.25 !important; }`}),r=o),i+=1;let{svg:s}=await a.render(`agent-mermaid-${i}`,t);return s}return{render(e,r){let i=`${r?`dark`:`light`}\n${e}`,o=t.get(i);if(o)return t.delete(i),t.set(i,o),o;let s=n.then(()=>a(e,r));if(n=s.catch(()=>void 0),t.set(i,s),t.size>gn){let e=t.keys().next();e.done||t.delete(e.value)}return s}}}async function vn(){let{default:e}=await be(async()=>{let{default:e}=await import(`./mermaid.core-CmPsESsw.js`);return{default:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]));return{initialize:t=>e.initialize(t),async render(t,n){try{return await e.render(t,n)}catch(e){throw document.getElementById(`d${t}`)?.remove(),e}}}}var yn=_n(vn);function bn(e){return rn.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0,html:!0},ADD_TAGS:[`foreignObject`],FORBID_TAGS:[`img`,`picture`,`source`,`video`,`audio`,`iframe`,`form`,`input`,`button`,`a`],HTML_INTEGRATION_POINTS:{foreignobject:!0}})}function xn(e){let t=e.querySelector(`svg`),n=t?.getAttribute(`viewBox`)?.split(/[\s,]+/).map(Number)?.[2];!t||n===void 0||!Number.isFinite(n)||n<=0||(t.style.maxWidth=`none`,t.style.width=`${Math.round(n)}px`,t.style.height=`auto`)}async function Sn(e,t,n=yn,r=`Could not draw the diagram`,i=()=>!0){let a=t?`dark`:`light`,o=[];for(let t of e.querySelectorAll(`pre > code.language-mermaid`)){let e=t.parentElement;e&&o.push({el:e,source:t.textContent??``})}for(let t of e.querySelectorAll(`.agent-mermaid`))t.dataset.theme!==a&&o.push({el:t,source:t.dataset.source??``});await Promise.all(o.map(async({el:o,source:s})=>{if(s.trim()!==``)try{let r=await n.render(s,t);if(!o.isConnected||!e.contains(o)||!i())return;let c=document.createElement(`div`);c.className=`agent-mermaid`,c.dataset.source=s,c.dataset.theme=a,c.innerHTML=bn(r),xn(c),c.tabIndex=0,c.setAttribute(`role`,`button`),o.replaceWith(c)}catch(t){if(!o.isConnected||!e.contains(o)||!i())return;if(o.classList.add(`agent-mermaid--invalid`),!o.nextElementSibling?.classList.contains(`agent-mermaid-error`)){let e=document.createElement(`div`);e.className=`agent-mermaid-error`;let n=t instanceof Error?t.message.split(`
5
+ `)[0]:``;e.textContent=n?`${r}: ${n.slice(0,200)}`:r,o.after(e)}}}))}function Cn(e,t,r,i,a=0){let{registerTimeout:o,removeTimeout:s}=ge();n(()=>[f(e),f(t),f(r),f(i),f(a)],([n,i,a,c,l],u,d)=>{s();let p=!0;d(()=>{p=!1,s()}),n&&(i.includes(`language-mermaid`)||n.querySelector(`.agent-mermaid`))&&o(()=>{Sn(n,a,void 0,c,()=>p&&f(e)===n&&f(t)===i&&f(r)===a)},l)},{flush:`post`,immediate:!0})}var wn={};function Tn(e){let t=wn[e];if(t)return t;t=wn[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[r]=`%`+(`0`+r.toString(16).toUpperCase()).slice(-2)}return t}function K(e,t){typeof t!=`string`&&(t=K.defaultChars);let n=Tn(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t=``;for(let r=0,i=e.length;r<i;r+=3){let a=parseInt(e.slice(r+1,r+3),16);if(a<128){t+=n[a];continue}if((a&224)==192&&r+3<i){let n=parseInt(e.slice(r+4,r+6),16);if((n&192)==128){let e=a<<6&1984|n&63;t+=e<128?`��`:String.fromCharCode(e),r+=3;continue}}if((a&240)==224&&r+6<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if((n&192)==128&&(i&192)==128){let e=a<<12&61440|n<<6&4032|i&63;t+=e<2048||e>=55296&&e<=57343?`���`:String.fromCharCode(e),r+=6;continue}}if((a&248)==240&&r+9<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),o=parseInt(e.slice(r+10,r+12),16);if((n&192)==128&&(i&192)==128&&(o&192)==128){let e=a<<18&1835008|n<<12&258048|i<<6&4032|o&63;e<65536||e>1114111?t+=`����`:(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(e&1023))),r+=9;continue}}t+=`�`}return t})}K.defaultChars=`;/?:@&=+$,#`,K.componentChars=``;var En={};function Dn(e){let t=En[e];if(t)return t;t=En[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push(`%`+(`0`+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function q(e,t,n){typeof t!=`string`&&(n=t,t=q.defaultChars),n===void 0&&(n=!0);let r=Dn(t),i=``;for(let t=0,a=e.length;t<a;t++){let o=e.charCodeAt(t);if(n&&o===37&&t+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3))){i+=e.slice(t,t+3),t+=2;continue}if(o<128){i+=r[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1<a){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+=`%EF%BF%BD`;continue}i+=encodeURIComponent(e[t])}return i}q.defaultChars=`;/?:@&=+$,-_.!~*'()#`,q.componentChars=`-_.!~*'()`;function On(e){let t=``;return t+=e.protocol||``,t+=e.slashes?`//`:``,t+=e.auth?e.auth+`@`:``,e.hostname&&e.hostname.indexOf(`:`)!==-1?t+=`[`+e.hostname+`]`:t+=e.hostname||``,t+=e.port?`:`+e.port:``,t+=e.pathname||``,t+=e.search||``,t+=e.hash||``,t}function kn(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var An=/^([a-z0-9.+-]+:)/i,jn=/:[0-9]*$/,Mn=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Nn=[`%`,`/`,`?`,`;`,`#`,`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,`
6
+ `,` `],Pn=[`/`,`?`,`#`],Fn=255,In=/^[+a-z0-9A-Z_-]{0,63}$/,Ln=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Rn={javascript:!0,"javascript:":!0},zn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Bn(e,t){if(e&&e instanceof kn)return e;let n=new kn;return n.parse(e,t),n}kn.prototype.parse=function(e,t){let n,r,i,a=e;if(a=a.trim(),!t&&e.split(`#`).length===1){let e=Mn.exec(a);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=An.exec(a);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)===`//`,i&&!(o&&Rn[o])&&(a=a.substr(2),this.slashes=!0)),!Rn[o]&&(i||o&&!zn[o])){let e=-1;for(let t=0;t<Pn.length;t++)r=a.indexOf(Pn[t]),r!==-1&&(e===-1||r<e)&&(e=r);let t,n;n=e===-1?a.lastIndexOf(`@`):a.lastIndexOf(`@`,e),n!==-1&&(t=a.slice(0,n),a=a.slice(n+1),this.auth=t),e=-1;for(let t=0;t<Nn.length;t++)r=a.indexOf(Nn[t]),r!==-1&&(e===-1||r<e)&&(e=r);e===-1&&(e=a.length),a[e-1]===`:`&&e--;let i=a.slice(0,e);a=a.slice(e),this.parseHost(i),this.hostname=this.hostname||``;let o=this.hostname[0]===`[`&&this.hostname[this.hostname.length-1]===`]`;if(!o){let e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n&&!n.match(In)){let r=``;for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+=`x`:r+=n[e];if(!r.match(In)){let r=e.slice(0,t),i=e.slice(t+1),o=n.match(Ln);o&&(r.push(o[1]),i.unshift(o[2])),i.length&&(a=i.join(`.`)+a),this.hostname=r.join(`.`);break}}}}this.hostname.length>Fn&&(this.hostname=``),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=a.indexOf(`#`);s!==-1&&(this.hash=a.substr(s),a=a.slice(0,s));let c=a.indexOf(`?`);return c!==-1&&(this.search=a.substr(c),a=a.slice(0,c)),a&&(this.pathname=a),zn[n]&&this.hostname&&!this.pathname&&(this.pathname=``),this},kn.prototype.parseHost=function(e){let t=jn.exec(e);t&&(t=t[0],t!==`:`&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var Vn=Ie({decode:()=>K,encode:()=>q,format:()=>On,parse:()=>Bn}),Hn=Ie({Any:()=>Un,Cc:()=>Wn,Cf:()=>Gn,P:()=>Kn,S:()=>qn,Z:()=>Jn}),Un=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Wn=/[\0-\x1F\x7F-\x9F]/,Gn=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Kn=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDEAD\uDED0\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/,qn=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/,Jn=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Yn=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function Xn(e){return e===0||e>=55296&&e<=57343||e>1114111}function Zn(e){return Xn(e)?65533:e>=128&&e<=159&&Yn[e-128]||e}function Qn(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(Zn(e))}var J=(()=>{let e=new Uint8Array(127),t=0;for(let n=33;n<=126;n++)n!==34&&n!==36&&n!==92&&(e[n]=t++);return e})();function $n(e,t,n,r,i,a){let o=e.length,s=a*90,c=0,l=()=>{let t=J[e.charCodeAt(c++)];return t<a?t:t*91-s+J[e.charCodeAt(c++)]},u=n-r,d=n+i,f=new Int32Array(d);f.fill(-1,r,a),f.fill(-1,a+u,d);let p=new Int32Array(d),m=new Int32Array(d);function h(t,n){let r=0,i=n,a=n+t;for(;i<a;){let t=J[e.charCodeAt(c++)];if(t<89)r+=t,f[i++]=r;else if(t===89){let t=J[e.charCodeAt(c++)]+2;for(;t--;)f[i++]=++r}else{let t=J[e.charCodeAt(c++)];r+=89+(t<90?t*91+J[e.charCodeAt(c++)]:J[e.charCodeAt(c++)]*8281+J[e.charCodeAt(c++)]*91+J[e.charCodeAt(c++)]),f[i++]=r}}}h(r,0),h(u,a);let g=new Int32Array(i*2),_=0,v=0;function y(e,t){for(let n=0;n<e;n++){let e=t+n,r=l(),i=l();g[v*2]=r,g[v*2+1]=i,v+=1,p[e]=_;let a=(f[r]<0?m[r]:1)+(f[i]<0?m[i]:1);m[e]=a,_+=a}}y(i-a+r,a+u),y(a-r,r);let b=new Uint16Array(_),x=0;for(let e=0;e<v;e++)for(let t=0;t<2;t++){let n=g[e*2+t],r=f[n];if(r<0){let e=p[n],t=e+m[n];for(;e<t;)b[x++]=b[e++]}else b[x++]=r}let S=new Uint16Array(t),C=0;for(;c<o;){let t=J[e.charCodeAt(c++)];t>=a&&(t=t*91-s+J[e.charCodeAt(c++)]);let n=f[t];if(n<0){let e=p[t],n=e+m[t];for(;e<n;)S[C++]=b[e++]}else S[C++]=n}return S}var er=$n("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#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u!5ShXM:2<BaY?C2F|P",13494,2713,49,25,61),Y;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.FLAG13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`,e[e.VALUE_MASK=8191]=`VALUE_MASK`})(Y||={});var X;(function(e){e[e.AMP=38]=`AMP`,e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_X=120]=`LOWER_X`})(X||={});var tr=32,nr=21,rr=2097151,ir=2047,ar=0;function or(e){let t=e>>>nr;return t===ir?ar:t}function sr(e){return e-X.ZERO>>>0<=9}function cr(e){return(e|tr)-X.LOWER_A>>>0<=5}function lr(e){return(e|tr)-X.LOWER_A>>>0<=25}function ur(e){return e===X.EQUALS||lr(e)||sr(e)}var dr;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(dr||={});var fr;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(fr||={});function pr(e,t,n,r){let i=(t&Y.BRANCH_LENGTH)>>7,a=t&Y.JUMP_TABLE;if(a){if(i===0)return r===a?n:-1;let t=r-a;if(t>>>0>=i)return-1;let o=e[n+t];return o===0?-1:n+i+o-1&65535}if(i===0)return-1;let o=i+1>>1,s=n+o+i;for(let t=0;t<i;t++){let i=e[n+(t>>1)]>>((t&1)<<3)&255;if(i===r)return s+e[n+o+t]&65535;if(i>r)return-1}return-1}function mr(e,t,n){return n===1?String.fromCharCode(e[t]&Y.VALUE_MASK):n===2?String.fromCharCode(e[t+1]):String.fromCharCode(e[t+1],e[t+2])}function hr(e,t,n){let r=t+1,i=0,a=r;if(r<n&&(e.charCodeAt(r)|tr)===X.LOWER_X)for(r+=1,a=r;r<n;){let t=e.charCodeAt(r);if(sr(t))i=i*16+(t-X.ZERO);else if(cr(t))i=i*16+((t|tr)-X.LOWER_A+10);else break;r+=1}else for(;r<n;){let t=e.charCodeAt(r)-X.ZERO;if(t>>>0>9)break;i=i*10+t,r+=1}if(r===a)return 0;r<n&&e.charCodeAt(r)===X.SEMI&&(r+=1),i>1114111&&(i=1114112);let o=r-t;return o>=ir&&(ar=o,o=ir),o<<nr|i}function gr(e,t,n){let r=er,i=e.indexOf(`&`);if(i<0)return e;let a=e.length,o=0,s=``,c=r[0],l=c&Y.JUMP_TABLE,u=(c&Y.BRANCH_LENGTH)>>7;do{let c=i+1,d=e.charCodeAt(c),f,p;if(d===X.NUM){let n=hr(e,c,a);f=or(n),t&&f>0&&e.charCodeAt(c+f-1)!==X.SEMI&&(f=0),p=f===0?``:Qn(n&rr)}else if(lr(d)){f=0,p=``;let n=d-l,i;if(n>>>0<u){let e=r[1+n];i=e===0?-1:u+e&65535}else i=-1;let o=0,s=0,m=i<0?0:r[i],h=c+1;trie:for(;h<a;){for(;(m&(Y.VALUE_LENGTH|Y.FLAG13))===0&&(m&Y.JUMP_TABLE)!==0;){let t=m&Y.JUMP_TABLE,n=(m&Y.BRANCH_LENGTH)>>7;if(n===0){if(e.charCodeAt(h)!==t)break trie;i+=1}else{let a=e.charCodeAt(h)-t;if(a>>>0>=n)break trie;let o=r[i+1+a];if(o===0)break trie;i=i+n+o&65535}if(m=r[i],h+=1,h>=a)break trie}if((m&(Y.VALUE_LENGTH|Y.FLAG13))===Y.FLAG13){let t=(m&Y.BRANCH_LENGTH)>>7;if(e.charCodeAt(h)!==(m&Y.JUMP_TABLE))break;h+=1;let n=t-1,a=i+1,o=0;for(;o+1<n;o+=2){let t=r[a];if(e.charCodeAt(h)!==(t&255)||(h+=1,e.charCodeAt(h)!==(t>>8&255)))break trie;h+=1,a+=1}if(o<n){if(e.charCodeAt(h)!==(r[a]&255))break;h+=1}i+=1+(t>>1),m=r[i];continue}let n=m>>>14,l=e.charCodeAt(h);if(n!==0){if(l===X.SEMI){f=h-c+1,p=n===1?String.fromCharCode(m&Y.VALUE_MASK):mr(r,i,n);break}if(!t&&(m&Y.FLAG13)===0&&(f=h-c,o=i,s=n),n===1)break}let u=pr(r,m,i+(n||1),l);if(u<0)break;i=u,m=r[i],h+=1}if(p===``){let e=m>>>14;e!==0&&!t&&(m&Y.FLAG13)===0&&(f=h-c,o=i,s=e),f>0&&(p=mr(r,o,s))}}else f=0,p=``;f===0||n&&d!==X.NUM&&e.charCodeAt(c+f-1)!==X.SEMI&&c+f<a&&ur(e.charCodeAt(c+f))?i=c:(o<i&&(s+=e.slice(o,i)),s+=p,i=o=c+f),e.charCodeAt(i)!==X.AMP&&(i=e.indexOf(`&`,i))}while(i>=0);return s+e.slice(o)}function _r(e){return gr(e,!0,!1)}var vr=class{src_Any=Un.source;src_Cc=Wn.source;src_Z=Jn.source;src_P=Kn.source;src_ZPCc=[this.src_Z,this.src_P,this.src_Cc].join(`|`);src_ZCc=[this.src_Z,this.src_Cc].join(`|`);cache={};opts={maxLength:1e4,urlAuth:!1,schema_names:[]};constructor(e={}){this.opts={...this.opts,...e}}set(e={}){return this.opts={...this.opts,...e},this.cache={},this}escapeRE(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,`\\$&`)}nestedPairRE(e,t,n=4){let r=this.escapeRE(e),i=this.escapeRE(t),a=`(?:(?!${this.src_ZCc}|${r}|${i}).)`,o=`${r}${a}{0,1000}${i}`;for(let e=2;e<=n;e++)o=`${r}(?:${a}|${o}){0,1000}${i}`;return o}get_text_separators(){return this.cache.text_separators??=/[><\uff5c]/}get_pseudo_letter(){return this.cache.src_pseudo_letter??=RegExp(`(?:(?!${this.get_text_separators().source}|${this.src_ZPCc})${this.src_Any})`)}get_ipv4_addr(){return this.cache.src_ip4??=RegExp(`(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])[.]){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])`)}get_ipv6_addr(){let e=`[0-9A-Fa-f]{1,4}`,t=`(?:(?:${e}:${e})|${this.get_ipv4_addr().source})`;return this.cache.src_ip6_addr??=RegExp(`(?:(?:${e}:){6}${t}|::(?:${e}:){5}${t}|(?:${e})?::(?:${e}:){4}${t}|(?:(?:${e}:){0,1}${e})?::(?:${e}:){3}${t}|(?:(?:${e}:){0,2}${e})?::(?:${e}:){2}${t}|(?:(?:${e}:){0,3}${e})?::${e}:${t}|(?:(?:${e}:){0,4}${e})?::${t}|(?:(?:${e}:){0,5}${e})?::${e}|(?:(?:${e}:){0,6}${e})?::)`)}get_ipv6_url_host(){return this.cache.src_ip6_host??=RegExp(`\\[${this.get_ipv6_addr().source}\\]`)}get_ipv6_mail_host(){return this.cache.src_ipv6_mail_host??=RegExp(`\\[IPv6:${this.get_ipv6_addr().source}\\]`)}get_auth(){return this.cache.src_auth??=RegExp(`(?:(?:(?!${this.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`)}get_port(){return this.cache.src_port??=RegExp(`(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?`)}get_host_terminator(){return this.cache.src_host_terminator??=RegExp(`(?=$|${this.get_text_separators().source}|${this.src_ZPCc})(?!${this.opts[`---`]?`-(?!--)|`:`-|`}_|:\\d|\\.-|\\.(?!$|${this.src_ZPCc}))`)}get_path_terminator(){return this.cache.src_path_terminator??=RegExp(`${this.src_ZPCc}|${this.get_text_separators().source}`)}get_path(){return this.cache.src_path??=RegExp(`(?:[/?#](?:${this.nestedPairRE(`[`,`]`)}|${this.nestedPairRE(`(`,`)`)}|${this.nestedPairRE(`{`,`}`)}|\\"(?:(?!${this.src_ZCc}|["]).){1,100}\\"|\\'(?:(?!${this.src_ZCc}|[']).){1,100}\\'|\\'(?=${this.get_pseudo_letter().source}|[-])|\\.{2,20}[:]?[a-zA-Z0-9%/&]|\\.(?!${this.src_ZCc}|[.]|$)|`+(this.opts[`---`]?`\\-(?!--(?:[^-]|$))(?:-{0,19})|`:`\\-{1,20}|`)+`,(?!${this.src_ZCc}|$)|;(?!${this.src_ZCc}|$)|\\!{1,20}(?!${this.src_ZCc}|[!]|$)|\\?(?!${this.src_ZCc}|[?]|$)|`+this.get_path_extra().source+`[\\\\/:%@#&=_~*]|(?!${this.get_path_terminator().source}).){1,${this.opts.maxLength}}|\\/)?`)}get_mail_name(){return this.cache.src_mail_name??=RegExp("[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9](?:[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9]|[.](?=[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9])){0,63}")}get_xn(){return this.cache.src_xn??=RegExp(`xn--[a-z0-9\\-]{1,59}`)}get_tld(){if(this.cache.tld)return this.cache.tld;let e=[...new Set(this.opts.tlds||[])].sort().reverse().join(`|`);return this.cache.tld=RegExp(`${e||`$#none#$`}|${this.get_xn().source}`),this.cache.tld}get_domain_root(){return this.cache.src_domain_root??=RegExp(`(?:`+this.get_xn().source+`|${this.get_pseudo_letter().source}{1,63})`)}get_domain(){return this.cache.src_domain??=RegExp(`(?:`+this.get_xn().source+`|(?:${this.get_pseudo_letter().source})|(?:${this.get_pseudo_letter().source}(?:-|${this.get_pseudo_letter().source}){0,61}${this.get_pseudo_letter().source}))`)}get_url_host_port(){return this.cache.url_host_port??=RegExp(`(?:`+this.get_ipv6_url_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,10}${this.get_domain().source}))`+this.get_port().source+this.get_host_terminator().source)}get_fuzzy_url_host_port(){return this.cache.fuzzy_url_host_port??=RegExp(`(?:`+(this.opts.fuzzyIP?this.get_ipv4_addr().source+`|`:``)+`(?:(?:(?:${this.get_domain().source})\\.){1,10}(?:${this.get_tld().source})))`+this.get_host_terminator().source)}get_mail_host(){return this.cache.src_mail_host??=RegExp(`(?:`+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,4}${this.get_domain().source}))`+this.get_host_terminator().source)}get_fuzzy_mail_host(){return this.cache.src_fuzzy_mail_host??=RegExp(`(?:`+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})[.]){1,4}${this.get_domain_root().source}))`+this.get_host_terminator().source)}get_path_extra(){return this.cache.src_path_extra??=RegExp(``)}get_fuzzy_mail_host_search(){return this.cache.mail_fuzzy_host_search??=RegExp(`@${this.get_fuzzy_mail_host().source}`,`ig`)}get_fuzzy_link_search(){return this.cache.link_fuzzy_search??=RegExp(`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\uff5c]|${this.src_ZPCc}))(?:(?![$+<=>^\`|\uff5c])${this.get_fuzzy_url_host_port().source}${this.get_path().source})`,`ig`)}get_http_validator(){return this.cache.http_validator??=RegExp(`\\/\\/`+(this.opts.urlAuth?this.get_auth().source:``)+this.get_url_host_port().source+this.get_path().source,`iy`)}get_relative_proto_validator(){return this.cache.relative_proto_validator??=RegExp((this.opts.urlAuth?this.get_auth().source:``)+`(?:localhost|${this.get_ipv6_url_host().source}|(?:(?:${this.get_domain().source})[.]){1,10}${this.get_domain_root().source})`+this.get_port().source+this.get_host_terminator().source+this.get_path().source,`iy`)}get_mail_name_validator(){return this.cache.mail_name_validator??=RegExp(`(?:^|${this.get_text_separators().source}|"|\\(|${this.src_ZCc})(${this.get_mail_name().source})$`)}get_mailto_validator(){return this.cache.mailto_validator??=RegExp(`${this.get_mail_name().source}@${this.get_mail_host().source}`,`iy`)}get_schema_names(){return this.cache.schema_names??=new RegExp((this.opts.schema_names||[]).map(e=>this.escapeRE(e)).join(`|`))}get_schema_search(){return this.cache.schema_search??=RegExp(`(^|(?!_)(?:[><\uff5c]|${this.src_ZPCc}))(${this.get_schema_names().source})`,`ig`)}get_schema_at_start(){return this.cache.schema_at_start??=RegExp(`^${this.get_schema_search().source}`,`i`)}},yr={validate:(e,t,n)=>{let r=n.re.get_http_validator();r.lastIndex=t;let i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)},br={"http:":yr,"https:":yr,"ftp:":yr,"//":{validate:function(e,t,n){let r=n.re.get_relative_proto_validator();r.lastIndex=t;let i=r.exec(e);return i?t>=3&&e[t-3]===`:`||t>=3&&e[t-3]===`/`?0:i[0].length:0},normalize:(e,t)=>t.normalize(e)},"mailto:":{validate:function(e,t,n){let r=n.re.get_mailto_validator();r.lastIndex=t;let i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)}},xr=`a:cdefgilmnoqrstuwxz|b:abdefghijmnorstvwyz|c:acdfghiklmnoruvwxyz|d:ejkmoz|e:cegrstu|f:ijkmor|g:abdefghilmnpqrstuwy|h:kmnrtu|i:delmnoqrst|j:emop|k:eghimnprwyz|l:abcikrstuvy|m:acdeghklmnopqrstuvwxyz|n:acefgilopruz|o:m|p:aefghklmnrstwy|q:a|r:eosuw|s:abcdeghijklmnortuvxyz|t:cdfghjklmnortvwz|u:agksyz|v:aceginu|w:fs|y:et|z:amw`,Sr=`biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф`;function Cr(){let e=Sr.split(`|`);return xr.split(`|`).forEach(t=>{let n=t.indexOf(`:`),r=t.slice(0,n);for(let i of t.slice(n+1))e.push(r+i)}),e}var wr={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:Cr(),urlAuth:!1,maxLength:1e4},Tr=class{schema;index;lastIndex;raw;text;url;constructor(e,t,n,r){let i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}},Er=class{__opts__;__schemas__;re;constructor(e={}){let{rebuilder:t,...n}=e;this.__opts__={...wr,...n},this.__schemas__={...br},this.re=t||new vr,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)})}add(e,t=null){if(!t)delete this.__schemas__[e];else{let n={normalize:(e,t)=>t.normalize(e),...t};this.__schemas__[e]=n}return this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}set(e={}){return this.__opts__={...this.__opts__,...e},this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}test(e){if(!e.length)return!1;let t,n;for(n=this.re.get_schema_search(),n.lastIndex=0;(t=n.exec(e))!==null;)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0;if(this.__opts__.fuzzyLink&&this.__schemas__[`http:`]&&(n=this.re.get_fuzzy_link_search(),n.lastIndex=0,n.exec(e)!==null))return!0;if(this.__opts__.fuzzyEmail&&this.__schemas__[`mailto:`]&&e.indexOf(`@`)>=0){let n=this.re.get_fuzzy_mail_host_search(),r=this.re.get_mail_name_validator();for(n.lastIndex=0;(t=n.exec(e))!==null;){let n=e.slice(Math.max(0,t.index-65),t.index);if(r.test(n))return!0}}return!1}testSchemaAt(e,t,n){return this.__schemas__[t.toLowerCase()]?this.__schemas__[t.toLowerCase()].validate(e.slice(0,n+this.__opts__.maxLength),n,this):0}match(e){let t=[],n=this.re.get_schema_search(),r,i,a,o,s,c,l=!1,u=!1,d=!1,f=0;if(!e.length)return null;for(n.lastIndex=0,this.__opts__.fuzzyLink&&this.__schemas__[`http:`]&&(r=this.re.get_fuzzy_link_search(),r.lastIndex=0),this.__opts__.fuzzyEmail&&this.__schemas__[`mailto:`]&&(i=this.re.get_fuzzy_mail_host_search(),i.lastIndex=0,a=this.re.get_mail_name_validator());;){let p=Math.max(f-1,0);if(i&&a&&!d&&(!s||s.index<f))for(i.lastIndex<p&&(i.lastIndex=p);;){let t=i.exec(e);if(!t){d=!0,s=void 0;break}let n=a.exec(e.slice(Math.max(0,t.index-65),t.index));if(n){if(s={schema:`mailto:`,index:t.index-n[1].length,lastIndex:t.index+t[0].length},s.index>=f)break;i.lastIndex<p&&(i.lastIndex=p)}}if(r&&!u&&(!o||o.index<f))for(r.lastIndex<p&&(r.lastIndex=p);;){let t=r.exec(e);if(!t){u=!0,o=void 0;break}if(o={schema:``,index:t.index+t[1].length,lastIndex:t.index+t[0].length},o.index>=f)break;r.lastIndex<p&&(r.lastIndex=p)}let m=s;(!m||o&&(o.index<m.index||o.index===m.index&&o.lastIndex>m.lastIndex))&&(m=o);let h;if(!l)for(;;){if(!c){n.lastIndex<p&&(n.lastIndex=p);let t=n.exec(e);if(!t){l=!0;break}c={schema:t[2],index:t.index+t[1].length,lastIndex:t.index+t[0].length}}if(c.index<f){c=void 0;continue}if(m&&c.index>m.index)break;let t=c;c=void 0;let r=this.testSchemaAt(e,t.schema,t.lastIndex);if(r){h={schema:t.schema,index:t.index,lastIndex:t.lastIndex+r};break}}let g=h;if((!g||s&&(s.index<g.index||s.index===g.index&&s.lastIndex>g.lastIndex))&&(g=s),(!g||o&&(o.index<g.index||o.index===g.index&&o.lastIndex>g.lastIndex))&&(g=o),!g)break;g===s?s=void 0:g===o&&(o=void 0);let _=new Tr(e,g.schema,g.index,g.lastIndex);_.schema?this.__schemas__[_.schema].normalize(_,this):this.normalize(_),t.push(_),f=g.lastIndex}return t.length?t:null}matchAtStart(e){if(!e.length)return null;let t=this.re.get_schema_at_start().exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;let r=new Tr(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__schemas__[r.schema].normalize(r,this),r}tlds(e,t=!1){return e=Array.isArray(e)?e:[e],t?this.__opts__.tlds=this.__opts__.tlds.concat(e):this.__opts__.tlds=e,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}normalize(e){e.schema||(e.url=`http://${e.url}`),e.schema===`mailto:`&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:${e.url}`)}},Dr=2147483647,Or=36,kr=1,Ar=26,jr=38,Mr=700,Nr=72,Pr=128,Fr=`-`,Ir=/^xn--/,Lr=/[^\0-\x7F]/,Rr=/[\x2E\u3002\uFF0E\uFF61]/g,zr={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},Br=35,Z=Math.floor,Vr=String.fromCharCode;function Hr(e){throw RangeError(zr[e])}function Ur(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function Wr(e,t){let n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(Rr,`.`);let i=Ur(e.split(`.`),t).join(`.`);return r+i}function Gr(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(r&64512)==56320?t.push(((i&1023)<<10)+(r&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}var Kr=e=>String.fromCodePoint(...e),qr=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Or},Jr=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Yr=function(e,t,n){let r=0;for(e=n?Z(e/Mr):e>>1,e+=Z(e/t);e>455;r+=Or)e=Z(e/Br);return Z(r+36*e/(e+jr))},Xr=function(e){let t=[],n=e.length,r=0,i=Pr,a=Nr,o=e.lastIndexOf(Fr);o<0&&(o=0);for(let n=0;n<o;++n)e.charCodeAt(n)>=128&&Hr(`not-basic`),t.push(e.charCodeAt(n));for(let s=o>0?o+1:0;s<n;){let o=r;for(let t=1,i=Or;;i+=Or){s>=n&&Hr(`invalid-input`);let o=qr(e.charCodeAt(s++));o>=Or&&Hr(`invalid-input`),o>Z((Dr-r)/t)&&Hr(`overflow`),r+=o*t;let c=i<=a?kr:i>=a+Ar?Ar:i-a;if(o<c)break;let l=Or-c;t>Z(Dr/l)&&Hr(`overflow`),t*=l}let c=t.length+1;a=Yr(r-o,c,o==0),Z(r/c)>Dr-i&&Hr(`overflow`),i+=Z(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},Zr=function(e){let t=[];e=Gr(e);let n=e.length,r=Pr,i=0,a=Nr;for(let n of e)n<128&&t.push(Vr(n));let o=t.length,s=o;for(o&&t.push(Fr);s<n;){let n=Dr;for(let t of e)t>=r&&t<n&&(n=t);let c=s+1;n-r>Z((Dr-i)/c)&&Hr(`overflow`),i+=(n-r)*c,r=n;for(let n of e)if(n<r&&++i>Dr&&Hr(`overflow`),n===r){let e=i;for(let n=Or;;n+=Or){let r=n<=a?kr:n>=a+Ar?Ar:n-a;if(e<r)break;let i=e-r,o=Or-r;t.push(Vr(Jr(r+i%o,0))),e=Z(i/o)}t.push(Vr(Jr(e,0))),a=Yr(i,c,s===o),i=0,++s}++i,++r}return t.join(``)},Qr={version:`2.3.1`,ucs2:{decode:Gr,encode:Kr},decode:Xr,encode:Zr,toASCII:function(e){return Wr(e,function(e){return Lr.test(e)?`xn--`+Zr(e):e})},toUnicode:function(e){return Wr(e,function(e){return Ir.test(e)?Xr(e.slice(4).toLowerCase()):e})}},$r=Object.defineProperty,ei=(e,t)=>{let n={};for(var r in e)$r(n,r,{get:e[r],enumerable:!0});return t||$r(n,Symbol.toStringTag,{value:`Module`}),n},ti=ei({arrayReplaceAt:()=>ri,asciiTrim:()=>Ti,callable:()=>ni,escapeHtml:()=>gi,escapeRE:()=>vi,fromCodePoint:()=>ai,isMdAsciiPunct:()=>Si,isPunctChar:()=>bi,isPunctCharCode:()=>xi,isSpace:()=>Q,isValidEntityCode:()=>ii,isWhiteSpace:()=>yi,lib:()=>Ei,normalizeReference:()=>Ci,unescapeAll:()=>di,unescapeMd:()=>ui});function ni(e){let t=function(...n){return Reflect.construct(e,n,new.target&&new.target!==t?new.target:e)};return Object.defineProperty(t,"name",{value:e.name}),Object.setPrototypeOf(t,e),t.prototype=e.prototype,t}function ri(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function ii(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)==65535||(e&65535)==65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function ai(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var oi=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,si=RegExp(`${oi.source}|&([a-z#][a-z0-9]{1,31});`,`gi`),ci=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function li(e,t){if(t.charCodeAt(0)===35&&ci.test(t)){let n=t[1].toLowerCase()===`x`?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return ii(n)?ai(n):e}let n=_r(e);return n===e?e:n}function ui(e){return e.indexOf(`\\`)<0?e:e.replace(oi,`$1`)}function di(e){return e.indexOf(`\\`)<0&&e.indexOf(`&`)<0?e:e.replace(si,function(e,t,n){return t||li(e,n)})}var fi=/[&<>"]/,pi=/[&<>"]/g,mi={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`};function hi(e){return mi[e]}function gi(e){return fi.test(e)?e.replace(pi,hi):e}var _i=/[.?*+^$[\]\\(){}|-]/g;function vi(e){return e.replace(_i,`\\$&`)}function Q(e){switch(e){case 9:case 32:return!0}return!1}function yi(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function bi(e){return Kn.test(e)||qn.test(e)}function xi(e){return bi(ai(e))}function Si(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Ci(e){return e=e.trim().replace(/\s+/g,` `),e.toLowerCase().toUpperCase()}function wi(e){return e===32||e===9||e===10||e===13}function Ti(e){let t=0;for(;t<e.length&&wi(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&wi(e.charCodeAt(n));n--);return e.slice(t,n+1)}var Ei={mdurl:Vn,ucmicro:Hn};function Di(e,t,n){let r,i,a,o,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(a=e.src.charCodeAt(e.pos),a===93&&(r--,r===0)){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),a===91){if(o===e.pos-1)r++;else if(n)return e.pos=c,-1}}let l=-1;return i&&(l=e.pos),e.pos=c,l}function Oi(e,t,n){let r,i=t,a={ok:!1,pos:0,str:``};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return a;if(r===62)return a.pos=i+1,a.str=di(e.slice(t+1,i)),a.ok=!0,a;if(r===92&&i+1<n){i+=2;continue}i++}return a}let o=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32){i++;continue}i+=2;continue}if(r===40&&(o++,o>32))return a;if(r===41){if(o===0)break;o--}i++}return t===i||o!==0?a:(a.str=di(e.slice(t,i)),a.pos=i,a.ok=!0,a)}function ki(e,t,n,r){let i,a=t,o={ok:!1,can_continue:!1,pos:0,str:``,marker:0};if(r)o.str=r.str,o.marker=r.marker;else{if(a>=n)return o;let r=e.charCodeAt(a);if(r!==34&&r!==39&&r!==40)return o;t++,a++,r===40&&(r=41),o.marker=r}for(;a<n;){if(i=e.charCodeAt(a),i===o.marker)return o.pos=a+1,o.str+=di(e.slice(t,a)),o.ok=!0,o;if(i===40&&o.marker===41)return o;i===92&&a+1<n&&a++,a++}return o.can_continue=!0,o.str+=di(e.slice(t,a)),o}var Ai=ei({parseLinkDestination:()=>Oi,parseLinkLabel:()=>Di,parseLinkTitle:()=>ki});function ji(e){"@babel/helpers - typeof";return ji=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ji(e)}function Mi(e,t){if(ji(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(ji(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Ni(e){var t=Mi(e,`string`);return ji(t)==`symbol`?t:t+``}function $(e,t,n){return(t=Ni(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pi=class{constructor(e,t,n){$(this,`map`,null),$(this,`level`,0),$(this,`children`,null),$(this,`content`,``),$(this,`markup`,``),$(this,`info`,``),$(this,`block`,!1),$(this,`hidden`,!1),this.type=e,this.tag=t,this.attrs=null,this.nesting=n,this.meta=null}attrIndex(e){if(!this.attrs)return-1;let t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1}attrPush(e){this.attrs?this.attrs.push(e):this.attrs=[e]}attrSet(e,t){let n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r}attrGet(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n}attrJoin(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=`${this.attrs[n][1]} ${t}`}},Fi=class{constructor(){$(this,`__rules__`,[]),$(this,`__cache__`,null)}__find__(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1}__compile__(){let e=new Set;this.__rules__.forEach(t=>{t.enabled&&t.alt.forEach(t=>{t&&e.add(t)})}),this.__cache__=Object.create(null),this.__cache__[``]=[],this.__rules__.forEach(e=>{e.enabled&&this.__cache__[``].push(e.fn)}),e.forEach(e=>{this.__cache__[e]=[],this.__rules__.forEach(t=>{t.enabled&&t.alt.indexOf(e)>=0&&this.__cache__[e].push(t.fn)})})}at(e,t,n={}){let r=this.__find__(e);if(r===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__[r].fn=t,this.__rules__[r].alt=n.alt||[],this.__cache__=null}before(e,t,n,r={}){let i=this.__find__(e);if(i===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}after(e,t,n,r={}){let i=this.__find__(e);if(i===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}push(e,t,n={}){this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null}enable(e,t=!1){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(e=>{let r=this.__find__(e);if(r<0){if(t)return;throw Error(`Rules manager: invalid rule name ${e}`)}this.__rules__[r].enabled=!0,n.push(e)}),this.__cache__=null,n}enableOnly(e,t=!1){Array.isArray(e)||(e=[e]),this.__rules__.forEach(e=>{e.enabled=!1}),this.enable(e,t)}disable(e,t=!1){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(e=>{let r=this.__find__(e);if(r<0){if(t)return;throw Error(`Rules manager: invalid rule name ${e}`)}this.__rules__[r].enabled=!1,n.push(e)}),this.__cache__=null,n}getRules(e){return this.__cache__||this.__compile__(),this.__cache__[e]||[]}},Ii={};Ii.code_inline=function(e,t,n,r,i){let a=e[t];return`<code${i.renderAttrs(a)}>${gi(a.content)}</code>`},Ii.code_block=function(e,t,n,r,i){let a=e[t];return`<pre${i.renderAttrs(a)}><code>${gi(e[t].content)}</code></pre>\n`},Ii.fence=function(e,t,n,r,i){let a=e[t],o=a.info?di(a.info).trim():``,s=``,c=``;if(o){let e=o.split(/(\s+)/g);s=e[0],c=e.slice(2).join(``)}let l;if(l=n.highlight&&n.highlight(a.content,s,c)||gi(a.content),l.indexOf(`<pre`)===0)return l+`
7
+ `;if(o){let e=a.attrIndex(`class`),t=a.attrs?a.attrs.slice():[];e<0?t.push([`class`,`${n.langPrefix}${s}`]):(t[e]=[t[e][0],t[e][1]],t[e][1]+=` ${n.langPrefix}${s}`);let r={attrs:t};return`<pre><code${i.renderAttrs(r)}>${l}</code></pre>\n`}return`<pre><code${i.renderAttrs(a)}>${l}</code></pre>\n`},Ii.image=function(e,t,n,r,i){let a=e[t];return a.attrs[a.attrIndex(`alt`)][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},Ii.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
8
+ `:`<br>
9
+ `},Ii.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
10
+ `:`<br>
11
+ `:`
12
+ `},Ii.text=function(e,t){return gi(e[t].content)},Ii.html_block=function(e,t){return e[t].content},Ii.html_inline=function(e,t){return e[t].content};var Li=class{constructor(){$(this,`rules`,Object.assign({},Ii))}renderAttrs(e){let t,n,r;if(!e.attrs)return``;for(r=``,t=0,n=e.attrs.length;t<n;t++)r+=` ${gi(e.attrs[t][0])}="${gi(String(e.attrs[t][1]))}"`;return r}renderToken(e,t,n){let r=e[t],i=``;if(r.hidden)return``;let a=t-1;for(;a>=0&&e[a].hidden&&e[a].nesting===0;)a--;r.block&&r.nesting!==-1&&a>=0&&e[a].hidden&&e[a].nesting===-1&&(i+=`
13
+ `),i+=(r.nesting===-1?`</`:`<`)+r.tag,i+=this.renderAttrs(r),r.nesting===0&&n.xhtmlOut&&(i+=` /`);let o=!1;if(r.block&&(o=!0,r.nesting===1)){let n=t+1;for(;n<e.length&&e[n].hidden&&e[n].nesting===0;)n++;if(n<e.length){let t=e[n];(t.type===`inline`||t.hidden||t.nesting===-1&&t.tag===r.tag)&&(o=!1)}}return i+=o?`>
14
+ `:`>`,i}renderInline(e,t,n){let r=``,i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;i[o]===void 0?r+=this.renderToken(e,a,t):r+=i[o](e,a,t,n,this)}return r}renderInlineAsText(e,t,n){let r=``;for(let i=0,a=e.length;i<a;i++)switch(e[i].type){case`text`:case`code_inline`:r+=e[i].content;break;case`image`:r+=this.renderInlineAsText(e[i].children,t,n);break;case`html_inline`:case`html_block`:r+=e[i].content;break;case`softbreak`:case`hardbreak`:r+=`
15
+ `}return r}render(e,t,n){let r=``,i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;o===`inline`?r+=this.renderInline(e[a].children,t,n):i[o]===void 0?r+=this.renderToken(e,a,t):r+=i[o](e,a,t,n,this)}return r}},Ri=class{constructor(e,t,n){$(this,`tokens`,[]),$(this,`inlineMode`,!1),$(this,`Token`,Pi),this.src=e,this.env=n,this.md=t}},zi=/\r\n?/g,Bi=/\0/g;function Vi(e){let t;t=e.src.replace(zi,`
16
+ `),t=t.replace(Bi,`�`),e.src=t}function Hi(e){let t;e.inlineMode?(t=new e.Token(`inline`,``,0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Ui(e){let t=e.tokens,n=0;for(let e=0;e<t.length;e++)t[e].type!==`reference_definition`&&(e!==n&&(t[n]=t[e]),n++);t.length!==n&&(t.length=n)}function Wi(e){let t=e.tokens;for(let n=0,r=t.length;n<r;n++){let r=t[n];r.type===`inline`&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function Gi(e){return/^<a[>\s]/i.test(e)}function Ki(e){return/^<\/a\s*>/i.test(e)}function qi(e){let t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!==`inline`||!e.md.linkify.test(t[n].content))continue;let r=t[n].children,i=[],a=0;for(let t=r.length-1;t>=0;t--){let n=r[t];if(n.type===`link_close`){for(t--;r[t].level!==n.level&&r[t].type!==`link_open`;)t--;continue}if(n.type===`html_inline`&&(Gi(n.content)&&a>0&&a--,Ki(n.content)&&a++),!(a>0)&&n.type===`text`&&e.md.linkify.test(n.content)){let a=n.content,o=e.md.linkify.match(a),s=[],c=n.level,l=0;o.length>0&&o[0].index===0&&t>0&&r[t-1].type===`text_special`&&(o=o.slice(1));for(let t=0;t<o.length;t++){let n=o[t].url,r=e.md.normalizeLink(n);if(!e.md.validateLink(r))continue;let i=o[t].text;i=o[t].schema?o[t].schema===`mailto:`&&!/^mailto:/i.test(i)?e.md.normalizeLinkText(`mailto:${i}`).replace(/^mailto:/,``):e.md.normalizeLinkText(i):e.md.normalizeLinkText(`http://${i}`).replace(/^http:\/\//,``);let u=o[t].index;if(u>l){let t=new e.Token(`text`,``,0);t.content=a.slice(l,u),t.level=c,s.push(t)}let d=new e.Token(`link_open`,`a`,1);d.attrs=[[`href`,r]],d.level=c++,d.markup=`linkify`,d.info=`auto`,s.push(d);let f=new e.Token(`text`,``,0);f.content=i,f.level=c,s.push(f);let p=new e.Token(`link_close`,`a`,-1);p.level=--c,p.markup=`linkify`,p.info=`auto`,s.push(p),l=o[t].lastIndex}if(l<a.length){let t=new e.Token(`text`,``,0);t.content=a.slice(l),t.level=c,s.push(t)}i.push({index:t,nodes:s})}}if(i.length>0){let e=r.length;for(let t of i)e+=t.nodes.length-1;let a=Array(e),o=0,s=0;i.reverse();for(let e=0;e<r.length;e++){let t=i[o];if(t?.index===e){for(let e of t.nodes)a[s++]=e;o++}else a[s++]=r[e]}t[n].children=a}}}var Ji=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Yi=/\((c|tm|r)\)/i,Xi=/\((c|tm|r)\)/gi,Zi={c:`©`,r:`®`,tm:`™`};function Qi(e,t){return Zi[t.toLowerCase()]}function $i(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&(r.content=r.content.replace(Xi,Qi)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function ea(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&Ji.test(r.content)&&(r.content=r.content.replace(/\+-/g,`±`).replace(/\.{2,}/g,`…`).replace(/([?!])…/g,`$1..`).replace(/([?!]){4,}/g,`$1$1$1`).replace(/,{2,}/g,`,`).replace(/(^|[^-])---(?=[^-]|$)/gm,`$1—`).replace(/(^|\s)--(?=\s|$)/gm,`$1–`).replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,`$1–`)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function ta(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&(Yi.test(e.tokens[t].content)&&$i(e.tokens[t].children),Ji.test(e.tokens[t].content)&&ea(e.tokens[t].children))}var na=/['"]/,ra=/['"]/g,ia=`’`,aa=1e3;function oa(e,t,n){for(;e.length>n;){let n=e.pop();n.isSingleQuote?t.single=n.prevSameQuoteIdx:t.double=n.prevSameQuoteIdx}}function sa(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function ca(e,t){let n=``,r=0;t.sort((e,t)=>e.pos-t.pos);for(let i=0;i<t.length;i++){let a=t[i];n+=e.slice(r,a.pos)+a.ch,r=a.pos+1}return n+e.slice(r)}function la(e,t){let n,r=[],i={single:-1,double:-1},a={};for(let o=0;o<e.length;o++){let s=e[o],c=e[o].level;for(n=r.length-1;n>=0&&!(r[n].level<=c);n--);if(oa(r,i,n+1),s.type!==`text`)continue;let l=s.content,u=0,d=l.length;OUTER:for(;u<d;){ra.lastIndex=u;let s=ra.exec(l);if(!s)break;let f=!0,p=!0;u=s.index+1;let m=s[0]===`'`,h=32;if(s.index-1>=0)h=l.charCodeAt(s.index-1);else for(n=o-1;n>=0&&e[n].type!==`softbreak`&&e[n].type!==`hardbreak`;n--)if(e[n].content){h=e[n].content.charCodeAt(e[n].content.length-1);break}let g=32;if(u<d)g=l.charCodeAt(u);else for(n=o+1;n<e.length&&e[n].type!==`softbreak`&&e[n].type!==`hardbreak`;n++)if(e[n].content){g=e[n].content.charCodeAt(0);break}let _=Si(h)||xi(h),v=Si(g)||xi(g),y=yi(h),b=yi(g);if(b?f=!1:v&&(y||_||(f=!1)),y?p=!1:_&&(b||v||(p=!1)),g===34&&s[0]===`"`&&h>=48&&h<=57&&(p=f=!1),f&&p&&(f=_,p=v),!f&&!p){m&&sa(a,o,s.index,ia);continue}if(p&&(n=m?i.single:i.double,n>=0&&r[n].level===c)){let e=r[n],c,l;m?(c=t.md.options.quotes[2],l=t.md.options.quotes[3]):(c=t.md.options.quotes[0],l=t.md.options.quotes[1]),sa(a,o,s.index,l),sa(a,e.tokenIdx,e.contentPos,c),oa(r,i,n);continue OUTER}if(f){if(r.length>=aa)return;r.push({tokenIdx:o,contentPos:s.index,isSingleQuote:m,level:c,prevSameQuoteIdx:m?i.single:i.double}),m?i.single=r.length-1:i.double=r.length-1}else p&&m&&sa(a,o,s.index,ia)}}Object.keys(a).forEach(function(t){let n=Number(t);e[n].content=ca(e[n].content,a[t])})}function ua(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&na.test(e.tokens[t].content)&&la(e.tokens[t].children,e)}function da(e){let t,n,r=e.length;for(t=0;t<r;t++)e[t].type===`text_special`&&(e[t].type=`text`);for(t=n=0;t<r;t++)e[t].type===`text`&&t+1<r&&e[t+1].type===`text`?e[t+1].content=e[t].content+e[t+1].content:(t!==n&&(e[n]=e[t]),n++);t!==n&&(e.length=n)}function fa(e){let t,n,r=e.tokens,i=r.length;for(let e=0;e<i;e++){if(r[e].type!==`inline`)continue;let i=r[e].children,a=i.length;for(t=0;t<a;t++)i[t].type===`text_special`&&(i[t].type=`text`),i[t].children&&da(i[t].children);for(t=n=0;t<a;t++)i[t].type===`text`&&t+1<a&&i[t+1].type===`text`?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}var pa=[[`normalize`,Vi],[`block`,Hi],[`strip_references`,Ui],[`inline`,Wi],[`linkify`,qi],[`replacements`,ta],[`smartquotes`,ua],[`text_join`,fa]],ma=class{constructor(){$(this,`ruler`,new Fi),$(this,`State`,Ri);for(let e=0;e<pa.length;e++)this.ruler.push(pa[e][0],pa[e][1])}process(e){let t=this.ruler.getRules(``);for(let n=0,r=t.length;n<r;n++)t[n](e)}},ha=class{constructor(e,t,n,r){$(this,`bMarks`,[]),$(this,`eMarks`,[]),$(this,`tShift`,[]),$(this,`sCount`,[]),$(this,`bsCount`,[]),$(this,`blkIndent`,0),$(this,`line`,0),$(this,`lineMax`,0),$(this,`tight`,!1),$(this,`listIndent`,-1),$(this,`parentType`,`root`),$(this,`level`,0),$(this,`Token`,Pi),this.src=e,this.md=t,this.env=n,this.tokens=r;let i=this.src;for(let e=0,t=0,n=0,r=0,a=i.length,o=!1;t<a;t++){let s=i.charCodeAt(t);if(!o){if(Q(s)){n++,s===9?r+=4-r%4:r++;continue}o=!0}(s===10||t===a-1)&&(s!==10&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),o=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}push(e,t,n){let r=new Pi(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e}skipSpaces(e){for(let t=this.src.length;e<t&&Q(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;for(;e>t;)if(!Q(this.src.charCodeAt(--e)))return e+1;return e}skipChars(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e}skipCharsBack(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e}getLines(e,t,n,r){if(e>=t)return``;let i=Array(t-e);for(let a=0,o=e;o<t;o++,a++){let e=0,s=this.bMarks[o],c=s,l;for(l=o+1<t||r?this.eMarks[o]+1:this.eMarks[o];c<l&&e<n;){let t=this.src.charCodeAt(c);if(Q(t))t===9?e+=4-(e+this.bsCount[o])%4:e++;else if(c-s<this.tShift[o])e++;else break;c++}e>n?i[a]=Array(e-n+1).join(` `)+this.src.slice(c,l):i[a]=this.src.slice(c,l)}return i.join(``)}},ga=65536;function _a(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function va(e){let t=[],n=e.length,r=0,i=e.charCodeAt(r),a=!1,o=0,s=``;for(;r<n;)i===124&&(a?(s+=e.substring(o,r-1),o=r):(t.push(s+e.substring(o,r)),s=``,o=r+1)),a=i===92,r++,i=e.charCodeAt(r);return t.push(s+e.substring(o)),t}function ya(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let a=e.bMarks[i]+e.tShift[i];if(a>=e.eMarks[i])return!1;let o=e.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58||a>=e.eMarks[i])return!1;let s=e.src.charCodeAt(a++);if(s!==124&&s!==45&&s!==58&&!Q(s)||o===45&&Q(s))return!1;for(;a<e.eMarks[i];){let t=e.src.charCodeAt(a);if(t!==124&&t!==45&&t!==58&&!Q(t))return!1;a++}let c=_a(e,t+1),l=c.split(`|`),u=[];for(let e=0;e<l.length;e++){let t=l[e].trim();if(!t){if(e===0||e===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;t.charCodeAt(t.length-1)===58?u.push(t.charCodeAt(0)===58?`center`:`right`):t.charCodeAt(0)===58?u.push(`left`):u.push(``)}if(c=_a(e,t).trim(),c.indexOf(`|`)===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=va(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop();let d=l.length;if(d===0||d!==u.length)return!1;if(r)return!0;let f=e.parentType;e.parentType=`table`;let p=e.md.block.ruler.getRules(`blockquote`),m=e.push(`table_open`,`table`,1),h=[t,0];m.map=h;let g=e.push(`thead_open`,`thead`,1);g.map=[t,t+1];let _=e.push(`tr_open`,`tr`,1);_.map=[t,t+1];for(let t=0;t<l.length;t++){let n=e.push(`th_open`,`th`,1);u[t]&&(n.attrs=[[`style`,`text-align:${u[t]}`]]);let r=e.push(`inline`,``,0);r.content=l[t].trim(),r.children=[],e.push(`th_close`,`th`,-1)}e.push(`tr_close`,`tr`,-1),e.push(`thead_close`,`thead`,-1);let v,y=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let r=!1;for(let t=0,a=p.length;t<a;t++)if(p[t](e,i,n,!0)){r=!0;break}if(r||(c=_a(e,i).trim(),!c)||e.sCount[i]-e.blkIndent>=4||(l=va(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop(),y+=d-l.length,y>ga))break;if(i===t+2){let n=e.push(`tbody_open`,`tbody`,1);n.map=v=[t+2,0]}let a=e.push(`tr_open`,`tr`,1);a.map=[i,i+1];for(let t=0;t<d;t++){let n=e.push(`td_open`,`td`,1);u[t]&&(n.attrs=[[`style`,`text-align:${u[t]}`]]);let r=e.push(`inline`,``,0);r.content=l[t]?l[t].trim():``,r.children=[],e.push(`td_close`,`td`,-1)}e.push(`tr_close`,`tr`,-1)}return v&&(e.push(`tbody_close`,`tbody`,-1),v[1]=i),e.push(`table_close`,`table`,-1),h[1]=i,e.parentType=f,e.line=i,!0}function ba(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}e.line=i;let a=e.push(`code_block`,`code`,0);return a.content=e.getLines(t,i,4+e.blkIndent,!1)+`
17
+ `,a.map=[t,e.line],!0}function xa(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>a)return!1;let o=e.src.charCodeAt(i);if(o!==126&&o!==96)return!1;let s=i;i=e.skipChars(i,o);let c=i-s;if(c<3)return!1;let l=e.src.slice(s,i),u=e.src.slice(i,a);if(o===96&&u.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;d++,!(d>=n||(i=s=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],i<a&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===o&&!(e.sCount[d]-e.blkIndent>=4)&&(i=e.skipChars(i,o),!(i-s<c)&&(i=e.skipSpaces(i),!(i<a)))){f=!0;break}c=e.sCount[t],e.line=d+ +!!f;let p=e.push(`fence`,`code`,0);return p.info=u,p.content=e.getLines(t+1,d,c,!0),p.markup=l,p.map=[t,e.line],!0}function Sa(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;let s=[],c=[],l=[],u=[],d=e.md.block.ruler.getRules(`blockquote`),f=e.parentType;e.parentType=`blockquote`;let p=!1,m;for(m=t;m<n;m++){let t=e.sCount[m]<e.blkIndent;if(i=e.bMarks[m]+e.tShift[m],a=e.eMarks[m],i>=a)break;if(e.src.charCodeAt(i++)===62&&!t){let t=e.sCount[m]+1,n,r;e.src.charCodeAt(i)===32?(i++,t++,r=!1,n=!0):e.src.charCodeAt(i)===9?(n=!0,(e.bsCount[m]+t)%4==3?(i++,t++,r=!1):r=!0):n=!1;let o=t;for(s.push(e.bMarks[m]),e.bMarks[m]=i;i<a;){let t=e.src.charCodeAt(i);if(Q(t))t===9?o+=4-(o+e.bsCount[m]+ +!!r)%4:o++;else break;i++}p=i>=a,c.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+ +!!n,l.push(e.sCount[m]),e.sCount[m]=o-t,u.push(e.tShift[m]),e.tShift[m]=i-e.bMarks[m];continue}if(p)break;let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,m,n,!0)){r=!0;break}if(r){e.lineMax=m,e.blkIndent!==0&&(s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]-=e.blkIndent);break}s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]=-1}let h=e.blkIndent;e.blkIndent=0;let g=e.push(`blockquote_open`,`blockquote`,1);g.markup=`>`;let _=[t,0];g.map=_,e.md.block.tokenize(e,t,m);let v=e.push(`blockquote_close`,`blockquote`,-1);v.markup=`>`,e.lineMax=o,e.parentType=f,_[1]=e.line;for(let n=0;n<u.length;n++)e.bMarks[n+t]=s[n],e.tShift[n+t]=u[n],e.sCount[n+t]=l[n],e.bsCount[n+t]=c[n];return e.blkIndent=h,!0}function Ca(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(a++);if(o!==42&&o!==45&&o!==95)return!1;let s=1;for(;a<i;){let t=e.src.charCodeAt(a++);if(t!==o&&!Q(t))return!1;t===o&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;let c=e.push(`hr`,`hr`,0);return c.map=[t,e.line],c.markup=Array(s+1).join(String.fromCharCode(o)),!0}function wa(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);return i!==42&&i!==45&&i!==43||r<n&&!Q(e.src.charCodeAt(r))?-1:r}function Ta(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],i=n;if(i+1>=r)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=r)return-1;if(a=e.src.charCodeAt(i++),a>=48&&a<=57){if(i-n>=10)return-1;continue}if(a===41||a===46)break;return-1}return i<r&&(a=e.src.charCodeAt(i),!Q(a))?-1:i}function Ea(e,t){let n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type===`paragraph_open`&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function Da(e,t,n,r){let i,a,o,s,c=t,l=!0;if(e.sCount[c]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]<e.blkIndent)return!1;let u=!1;r&&e.parentType===`paragraph`&&e.sCount[c]>=e.blkIndent&&(u=!0);let d,f,p;if((p=Ta(e,c))>=0){if(d=!0,o=e.bMarks[c]+e.tShift[c],f=Number(e.src.slice(o,p-1)),u&&f!==1)return!1}else if((p=wa(e,c))>=0)d=!1;else return!1;if(u&&e.skipSpaces(p)>=e.eMarks[c])return!1;if(r)return!0;let m=e.src.charCodeAt(p-1),h=e.tokens.length;d?(s=e.push(`ordered_list_open`,`ol`,1),f!==1&&(s.attrs=[[`start`,f]])):s=e.push(`bullet_list_open`,`ul`,1);let g=[c,0];s.map=g,s.markup=String.fromCharCode(m);let _=!1,v=e.md.block.ruler.getRules(`list`),y=e.parentType;for(e.parentType=`list`;c<n;){a=p,i=e.eMarks[c];let t=e.sCount[c]+p-(e.bMarks[c]+e.tShift[c]),r=t;for(;a<i;){let t=e.src.charCodeAt(a);if(t===9)r+=4-(r+e.bsCount[c])%4;else if(t===32)r++;else break;a++}let u=a,f;f=u>=i?1:r-t,f>4&&(f=1);let h=t+f;s=e.push(`list_item_open`,`li`,1),s.markup=String.fromCharCode(m);let g=[c,0];s.map=g,d&&(s.info=e.src.slice(o,p-1));let y=e.tight,b=e.tShift[c],x=e.sCount[c],S=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=h,e.tight=!0,e.tShift[c]=u-e.bMarks[c],e.sCount[c]=r,u>=i&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n),(!e.tight||_)&&(l=!1),_=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[c]=b,e.sCount[c]=x,e.tight=y,s=e.push(`list_item_close`,`li`,-1),s.markup=String.fromCharCode(m),c=e.line,g[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let C=!1;for(let t=0,r=v.length;t<r;t++)if(v[t](e,c,n,!0)){C=!0;break}if(C)break;if(d){if(p=Ta(e,c),p<0)break;o=e.bMarks[c]+e.tShift[c]}else if(p=wa(e,c),p<0)break;if(m!==e.src.charCodeAt(p-1))break}return s=d?e.push(`ordered_list_close`,`ol`,-1):e.push(`bullet_list_close`,`ul`,-1),s.markup=String.fromCharCode(m),g[1]=c,e.line=c,e.parentType=y,l&&Ea(e,h),!0}function Oa(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function s(t){let n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){let r=e.md.block.ruler.getRules(`reference`),i=e.parentType;e.parentType=`reference`;let a=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,t,n,!0)){a=!0;break}if(e.parentType=i,a)return null}let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];return e.src.slice(i,a+1)}let c=e.src.slice(i,a+1);a=c.length;let l=-1;for(i=1;i<a;i++){let e=c.charCodeAt(i);if(e===91)return!1;if(e===93){l=i;break}if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(e===92&&(i++,i<a&&c.charCodeAt(i)===10)){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}}if(l<0||c.charCodeAt(l+1)!==58)return!1;for(i=l+2;i<a;i++){let e=c.charCodeAt(i);if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(!Q(e))break}let u=e.md.helpers.parseLinkDestination(c,i,a);if(!u.ok)return!1;let d=e.md.normalizeLink(u.str);if(!e.md.validateLink(d))return!1;i=u.pos;let f=i,p=o,m=i;for(;i<a;i++){let e=c.charCodeAt(i);if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(!Q(e))break}let h=e.md.helpers.parseLinkTitle(c,i,a);for(;h.can_continue;){let t=s(o);if(t===null)break;c+=t,i=a,a=c.length,o++,h=e.md.helpers.parseLinkTitle(c,i,a,h)}let g;for(i<a&&m!==i&&h.ok?(g=h.str,i=h.pos):(g=``,i=f,o=p);i<a&&Q(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10&&g)for(g=``,i=f,o=p;i<a&&Q(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10)return!1;let _=Ci(c.slice(1,l));if(!_)return!1;if(r)return!0;e.env.references===void 0&&(e.env.references={}),e.env.references[_]===void 0&&(e.env.references[_]={title:g,href:d});let v=e.push(`reference_definition`,``,0);v.map=[t,o],v.hidden=!0;let y=Object.create(null);return y.label=_,v.meta=y,e.line=o,!0}var ka=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),Aa=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,ja=`<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>`,Ma=RegExp(`^(?:${Aa}|${ja}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),Na=RegExp(`^(?:${Aa}|${ja})`),Pa=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp(`^</?(${ka.join(`|`)})(?=(\\s|/?>|$))`,`i`),/^$/,!0],[RegExp(`${Na.source}\\s*$`),/^$/,!1]];function Fa(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let o=e.src.slice(i,a),s=0;for(;s<Pa.length&&!Pa[s][0].test(o);s++);if(s===Pa.length)return!1;if(r)return Pa[s][2];let c=t+1,l=Pa[s][1].test(``);if(!Pa[s][1].test(o)){for(;c<n&&!(e.sCount[c]<e.blkIndent&&(l||!e.isEmpty(c)));c++)if(i=e.bMarks[c]+e.tShift[c],a=e.eMarks[c],o=e.src.slice(i,a),Pa[s][1].test(o)){o.length!==0&&c++;break}}e.line=c;let u=e.push(`html_block`,``,0);return u.map=[t,c],u.content=e.getLines(t,c,e.blkIndent,!0),!0}function Ia(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(i);if(o!==35||i>=a)return!1;let s=1;for(o=e.src.charCodeAt(++i);o===35&&i<a&&s<=6;)s++,o=e.src.charCodeAt(++i);if(s>6||i<a&&!Q(o))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);let c=e.skipCharsBack(a,35,i);c>i&&Q(e.src.charCodeAt(c-1))&&(a=c),e.line=t+1;let l=e.push(`heading_open`,`h${s}`,1);l.markup=`########`.slice(0,s),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=Ti(e.src.slice(i,a)),u.map=[t,e.line],u.children=[];let d=e.push(`heading_close`,`h${s}`,-1);return d.markup=`########`.slice(0,s),!0}function La(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`);if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType=`paragraph`;let a=0,o,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s],n=e.eMarks[s];if(t<n&&(o=e.src.charCodeAt(t),(o===45||o===61)&&(t=e.skipChars(t,o),t=e.skipSpaces(t),t>=n))){a=o===61?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}if(!a)return e.parentType=i,!1;let c=Ti(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;let l=e.push(`heading_open`,`h${a}`,1);l.markup=String.fromCharCode(o),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=c,u.map=[t,e.line-1],u.children=[];let d=e.push(`heading_close`,`h${a}`,-1);return d.markup=String.fromCharCode(o),e.parentType=i,!0}function Ra(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`),i=e.parentType,a=t+1;for(e.parentType=`paragraph`;a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,a,n,!0)){t=!0;break}if(t)break}let o=Ti(e.getLines(t,a,e.blkIndent,!1));e.line=a;let s=e.push(`paragraph_open`,`p`,1);s.map=[t,e.line];let c=e.push(`inline`,``,0);return c.content=o,c.map=[t,e.line],c.children=[],e.push(`paragraph_close`,`p`,-1),e.parentType=i,!0}var za=[[`table`,ya,[`paragraph`,`reference`]],[`code`,ba],[`fence`,xa,[`paragraph`,`reference`,`blockquote`,`list`]],[`blockquote`,Sa,[`paragraph`,`reference`,`blockquote`,`list`]],[`hr`,Ca,[`paragraph`,`reference`,`blockquote`,`list`]],[`list`,Da,[`paragraph`,`reference`,`blockquote`]],[`reference`,Oa],[`html_block`,Fa,[`paragraph`,`reference`,`blockquote`]],[`heading`,Ia,[`paragraph`,`reference`,`blockquote`]],[`lheading`,La],[`paragraph`,Ra]],Ba=class{constructor(){$(this,`ruler`,new Fi),$(this,`State`,ha);for(let e=0;e<za.length;e++)this.ruler.push(za[e][0],za[e][1],{alt:(za[e][2]||[]).slice()})}tokenize(e,t,n){let r=this.ruler.getRules(``),i=r.length,a=e.md.options.maxNesting,o=t,s=!1;for(;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n||e.sCount[o]<e.blkIndent));){if(e.level>=a){e.line=n;break}let t=e.line,c=!1;for(let a=0;a<i;a++)if(c=r[a](e,o,n,!1),c){if(t>=e.line)throw Error(`block rule didn't increment state.line`);break}if(!c)throw Error(`none of the block rules matched`);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o<n&&e.isEmpty(o)&&(s=!0,o++,e.line=o)}}parse(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)}},Va=class{constructor(e,t,n,r){$(this,`pos`,0),$(this,`level`,0),$(this,`pending`,``),$(this,`pendingLevel`,0),$(this,`cache`,{}),$(this,`backticks`,{}),$(this,`backticksScanned`,!1),$(this,`linkLevel`,0),$(this,`delimiters`,[]),$(this,`_prev_delimiters`,[]),$(this,`Token`,Pi),this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.posMax=this.src.length}pushPending(){let e=new Pi(`text`,``,0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending=``,e}push(e,t,n){this.pending&&this.pushPending();let r=new Pi(e,t,n),i;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r}scanDelims(e,t){let n=this.posMax,r=this.src.charCodeAt(e),i;if(e===0)i=32;else if(e===1)i=this.src.charCodeAt(0),(i&63488)==55296&&(i=65533);else if(i=this.src.charCodeAt(e-1),(i&64512)==56320){let t=this.src.charCodeAt(e-2);i=(t&64512)==55296?65536+(t-55296<<10)+(i-56320):65533}else(i&64512)==55296&&(i=65533);let a=e;for(;a<n&&this.src.charCodeAt(a)===r;)a++;let o=a-e,s=a<n?this.src.charCodeAt(a):32;if((s&64512)==55296){let e=this.src.charCodeAt(a+1);s=(e&64512)==56320?65536+(s-55296<<10)+(e-56320):65533}else(s&64512)==56320&&(s=65533);let c=Si(i)||xi(i),l=Si(s)||xi(s),u=yi(i),d=yi(s),f=!d&&(!l||u||c),p=!u&&(!c||d||l);return{can_open:f&&(t||!p||c),can_close:p&&(t||!f||l),length:o}}};function Ha(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function Ua(e,t){let n=e.pos;for(;n<e.posMax&&!Ha(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}function Wa(e){return e>=65&&e<=90||e>=97&&e<=122}function Ga(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function Ka(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;let i=n-Math.min(10,e.pending.length,n),a=n;for(;a>i&&Ga(e.src.charCodeAt(a-1));)a--;if(a===n||!Wa(e.src.charCodeAt(a)))return!1;let o=n-a,s=e.md.linkify.matchAtStart(e.src.slice(a));if(!s)return!1;let c=s.url;if(c.length<=o)return!1;let l=c.length;for(;l>0&&c.charCodeAt(l-1)===42;)l--;l!==c.length&&(c=c.slice(0,l));let u=e.md.normalizeLink(c);if(!e.md.validateLink(u))return!1;if(!t){e.pending=e.pending.slice(0,-o);let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,u]],t.markup=`linkify`,t.info=`auto`;let n=e.push(`text`,``,0);n.content=e.md.normalizeLinkText(c);let r=e.push(`link_close`,`a`,-1);r.markup=`linkify`,r.info=`auto`}return e.pos+=c.length-o,!0}function qa(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;let r=e.pending.length-1,i=e.posMax;if(!t){if(r>=0&&e.pending.charCodeAt(r)===32){if(r>=1&&e.pending.charCodeAt(r-1)===32){let t=r-1;for(;t>=1&&e.pending.charCodeAt(t-1)===32;)t--;e.pending=e.pending.slice(0,t),e.push(`hardbreak`,`br`,0)}else e.pending=e.pending.slice(0,-1),e.push(`softbreak`,`br`,0)}else e.push(`softbreak`,`br`,0)}for(n++;n<i&&Q(e.src.charCodeAt(n));)n++;return e.pos=n,!0}var Ja=[];for(let e=0;e<256;e++)Ja.push(0);`\\!"#$%&'()*+,./:;<=>?@[]^_\`{|}~-`.split(``).forEach(function(e){Ja[e.charCodeAt(0)]=1});function Ya(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push(`hardbreak`,`br`,0),n++;n<r&&(i=e.src.charCodeAt(n),Q(i));)n++;return e.pos=n,!0}if(i===32){if(!t){let t=e.push(`text_special`,``,0);t.content=`\\`,t.markup=`\\`,t.info=`escape`}return e.pos=n,!0}let a=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(a+=e.src[n+1],n++)}let o=`\\`+a;if(!t){let t=e.push(`text_special`,``,0);t.content=i<256&&Ja[i]!==0?a:o,t.markup=o,t.info=`escape`}return e.pos=n+1,!0}function Xa(e){let t={},n=0;for(;(n=e.indexOf("`",n))!==-1;){let r=n;for(;e.charCodeAt(++n)===96;);t[n-r]=r}return t}function Za(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;let r=e.posMax,i=n+1;for(;i<r&&e.src.charCodeAt(i)===96;)i++;let a=e.src.slice(n,i),o=a.length;if(e.backticksScanned||=(e.backticks=Xa(e.src),!0),(e.backticks[o]??-1)>=i){let n=i,s;for(;(s=e.src.indexOf("`",n))!==-1&&s<r;){for(n=s+1;e.src.charCodeAt(n)===96;)n++;if(n>r)break;if(n-s===o){if(!t){let t=e.push(`code_inline`,`code`,0);t.markup=a;let n=e.src.slice(i,s).replace(/\n/g,` `);n.startsWith(` `)&&n.endsWith(` `)&&/[^ ]/.test(n)&&(n=n.slice(1,-1)),t.content=n}return e.pos=n,!0}}}return t||(e.pending+=a),e.pos=i,!0}function Qa(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;let i=e.scanDelims(e.pos,!0),a=i.length,o=String.fromCharCode(r);if(a<2)return!1;let s;a%2&&(s=e.push(`text`,``,0),s.content=o,a--);for(let t=0;t<a;t+=2)s=e.push(`text`,``,0),s.content=o+o,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function $a(e,t){let n,r=[],i=t.length;for(let a=0;a<i;a++){let i=t[a];if(i.marker!==126||i.end===-1)continue;let o=t[i.end];n=e.tokens[i.token],n.type=`s_open`,n.tag=`s`,n.nesting=1,n.markup=`~~`,n.content=``,n=e.tokens[o.token],n.type=`s_close`,n.tag=`s`,n.nesting=-1,n.markup=`~~`,n.content=``,e.tokens[o.token-1].type===`text`&&e.tokens[o.token-1].content===`~`&&r.push(o.token-1)}for(;r.length;){let t=r.pop(),i=t+1;for(;i<e.tokens.length&&e.tokens[i].type===`s_close`;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}function eo(e){let t=e.tokens_meta,n=e.tokens_meta.length;$a(e,e.delimiters);for(let r=0;r<n;r++){let n=t[r]?.delimiters;n&&$a(e,n)}}var to={tokenize:Qa,postProcess:eo};function no(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;let i=e.scanDelims(e.pos,r===42);for(let t=0;t<i.length;t++){let t=e.push(`text`,``,0);t.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function ro(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let n=t[r];if(n.marker!==95&&n.marker!==42||n.end===-1)continue;let i=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,o=String.fromCharCode(n.marker),s=e.tokens[n.token];s.type=a?`strong_open`:`em_open`,s.tag=a?`strong`:`em`,s.nesting=1,s.markup=a?o+o:o,s.content=``;let c=e.tokens[i.token];c.type=a?`strong_close`:`em_close`,c.tag=a?`strong`:`em`,c.nesting=-1,c.markup=a?o+o:o,c.content=``,a&&(e.tokens[t[r-1].token].content=``,e.tokens[t[n.end+1].token].content=``,r--)}}function io(e){let t=e.tokens_meta,n=e.tokens_meta.length;ro(e,e.delimiters);for(let r=0;r<n;r++){let n=t[r]?.delimiters;n&&ro(e,n)}}var ao={tokenize:no,postProcess:io};function oo(e,t){let n,r,i,a,o=``,s=``,c=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;let u=e.pos,d=e.posMax,f=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let m=p+1;if(m<d&&e.src.charCodeAt(m)===40){for(l=!1,m++;m<d&&(n=e.src.charCodeAt(m),Q(n)||n===10);m++);if(m>=d)return!1;if(c=m,i=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),i.ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?m=i.pos:o=``,c=m;m<d&&(n=e.src.charCodeAt(m),Q(n)||n===10);m++);if(i=e.md.helpers.parseLinkTitle(e.src,m,e.posMax),m<d&&c!==m&&i.ok)for(s=i.str,m=i.pos;m<d&&(n=e.src.charCodeAt(m),Q(n)||n===10);m++);}(m>=d||e.src.charCodeAt(m)!==41)&&(l=!0),m++}if(l){if(e.env.references===void 0)return!1;if(m<d&&e.src.charCodeAt(m)===91?(c=m+1,m=e.md.helpers.parseLinkLabel(e,m),m>=0?r=e.src.slice(c,m++):m=p+1):m=p+1,r||=e.src.slice(f,p),r=Ci(r),a=e.env.references[r],!a)return e.pos=u,!1;o=a.href,s=a.title}if(!t){e.pos=f,e.posMax=p;let t=e.push(`link_open`,`a`,1),n=[[`href`,o]];if(t.attrs=n,s&&n.push([`title`,s]),r){let e=Object.create(null);e.label=r,t.meta=e}e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push(`link_close`,`a`,-1)}return e.pos=m,e.posMax=d,!0}function so(e,t){let n,r,i,a,o,s,c,l,u=``,d=e.pos,f=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let p=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(a=m+1,a<f&&e.src.charCodeAt(a)===40){for(a++;a<f&&(n=e.src.charCodeAt(a),Q(n)||n===10);a++);if(a>=f)return!1;for(l=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?a=s.pos:u=``),l=a;a<f&&(n=e.src.charCodeAt(a),Q(n)||n===10);a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<f&&l!==a&&s.ok)for(c=s.str,a=s.pos;a<f&&(n=e.src.charCodeAt(a),Q(n)||n===10);a++);else c=``;if(a>=f||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(e.env.references===void 0)return!1;if(a<f&&e.src.charCodeAt(a)===91?(l=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(l,a++):a=m+1):a=m+1,i||=e.src.slice(p,m),i=Ci(i),o=e.env.references[i],!o)return e.pos=d,!1;u=o.href,c=o.title}if(!t){r=e.src.slice(p,m);let t=[];e.md.inline.parse(r,e.md,e.env,t);let n=e.push(`image`,`img`,0),a=[[`src`,u],[`alt`,``]];if(n.attrs=a,n.children=t,n.content=r,c&&a.push([`title`,c]),i){let e=Object.create(null);e.label=i,n.meta=e}}return e.pos=a,e.posMax=f,!0}var co=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,lo=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function uo(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let t=e.src.charCodeAt(n);if(t===60)return!1;if(t===62)break}let a=e.src.slice(r+1,n);if(lo.test(a)){let n=e.md.normalizeLink(a);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}if(co.test(a)){let n=e.md.normalizeLink(`mailto:${a}`);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}return!1}function fo(e){return/^<a[>\s]/i.test(e)}function po(e){return/^<\/a\s*>/i.test(e)}function mo(e){let t=e|32;return t>=97&&t<=122}function ho(e,t){if(!e.md.options.html)return!1;let n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;let i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!mo(i))return!1;let a=e.src.slice(r).match(Ma);if(!a)return!1;if(!t){let t=e.push(`html_inline`,``,0);t.content=a[0],fo(t.content)&&e.linkLevel++,po(t.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}var go=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,_o=/^&([a-z][a-z0-9]{1,31});/i;function vo(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){let r=e.src.slice(n).match(go);if(r){if(!t){let t=r[1][0].toLowerCase()===`x`?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push(`text_special`,``,0);n.content=ii(t)?ai(t):ai(65533),n.markup=r[0],n.info=`entity`}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(_o);if(r){let n=_r(r[0]);if(n!==r[0]){if(!t){let t=e.push(`text_special`,``,0);t.content=n,t.markup=r[0],t.info=`entity`}return e.pos+=r[0].length,!0}}}return!1}function yo(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,a=[];for(let o=0;o<n;o++){let n=e[o];if(a.push(0),(e[r].marker!==n.marker||i!==n.token-1)&&(r=o),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);let s=t[n.marker][(n.open?3:0)+n.length%3],c=r-a[r]-1,l=c;for(;c>s;c-=a[c]+1){let t=e[c];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3!=0||n.length%3!=0)&&(r=!0),!r){let r=c>0&&!e[c-1].open?a[c-1]+1:0;a[o]=o-c+r,a[c]=r,n.open=!1,t.end=o,t.close=!1,l=-1,i=-2;break}}}l!==-1&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=l)}}function bo(e){let t=e.tokens_meta,n=e.tokens_meta.length;yo(e.delimiters);for(let e=0;e<n;e++){let n=t[e]?.delimiters;n&&yo(n)}}function xo(e){let t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type===`text`&&t+1<a&&i[t+1].type===`text`?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}var So=[[`text`,Ua],[`linkify`,Ka],[`newline`,qa],[`escape`,Ya],[`backticks`,Za],[`strikethrough`,to.tokenize],[`emphasis`,ao.tokenize],[`link`,oo],[`image`,so],[`autolink`,uo],[`html_inline`,ho],[`entity`,vo]],Co=[[`balance_pairs`,bo],[`strikethrough`,to.postProcess],[`emphasis`,ao.postProcess],[`fragments_join`,xo]],wo=class{constructor(){$(this,`ruler`,new Fi),$(this,`ruler2`,new Fi),$(this,`State`,Va);for(let e=0;e<So.length;e++)this.ruler.push(So[e][0],So[e][1]);for(let e=0;e<Co.length;e++)this.ruler2.push(Co[e][0],Co[e][1])}skipToken(e){let t=e.pos,n=this.ruler.getRules(``),r=n.length,i=e.md.options.maxNesting,a=e.cache;if(a[t]!==void 0){e.pos=a[t];return}let o=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,o=n[i](e,!0),e.level--,o){if(t>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}else e.pos=e.posMax;o||e.pos++,a[t]=e.pos}tokenize(e){let t=this.ruler.getRules(``),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let a=e.pos,o=!1;if(e.level<i){for(let r=0;r<n;r++)if(o=t[r](e,!1),o){if(a>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}if(o){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()}parse(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let a=this.ruler2.getRules(``),o=a.length;for(let e=0;e<o;e++)a[e](i)}},To={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`strip_references`,`inline`,`text_join`]},block:{rules:[`paragraph`]},inline:{rules:[`text`],rules2:[`balance_pairs`,`fragments_join`]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`strip_references`,`inline`,`text_join`]},block:{rules:[`blockquote`,`code`,`fence`,`heading`,`hr`,`html_block`,`lheading`,`list`,`reference`,`paragraph`]},inline:{rules:[`autolink`,`backticks`,`emphasis`,`entity`,`escape`,`html_inline`,`image`,`link`,`newline`,`text`],rules2:[`balance_pairs`,`emphasis`,`fragments_join`]}}}},Eo=/^(vbscript|javascript|file|data):/,Do=/^data:image\/(gif|png|jpeg|webp);/,Oo=[`http:`,`https:`,`mailto:`],ko=class{validateLink(e){let t=e.trim().toLowerCase();return!Eo.test(t)||Do.test(t)}normalizeLink(e){let t=Bn(e,!0);if(t.hostname&&(!t.protocol||Oo.indexOf(t.protocol)>=0))try{t.hostname=Qr.toASCII(t.hostname)}catch{}return t.auth&&=q(t.auth),t.hostname&&=q(t.hostname),t.pathname&&=q(t.pathname),t.search&&=q(t.search),t.hash&&=q(t.hash),On(t)}normalizeLinkText(e){let t=Bn(e,!0);if(t.hostname&&(!t.protocol||Oo.indexOf(t.protocol)>=0))try{t.hostname=Qr.toUnicode(t.hostname)}catch{}return K(On(t),K.defaultChars+`%`)}constructor(...e){$(this,`inline`,new wo),$(this,`block`,new Ba),$(this,`core`,new ma),$(this,`renderer`,new Li),$(this,`linkify`,new Er),$(this,`utils`,ti),$(this,`helpers`,Object.assign({},Ai));let[t,n]=e;typeof t==`string`?(this.configure(t),n&&this.set(n)):(this.configure(`default`),this.set(t||{}))}set(e){return Object.assign(this.options,e),this}configure(e){let t;if(typeof e==`string`){let n=e;if(t=To[n],!t)throw Error(`Wrong 'markdown-it' preset "${n}", check name`)}else t=e;if(!t)throw Error("Wrong `markdown-it` preset, can't be empty");t.options&&(this.options={...t.options});let n=t.components;if(n){[`core`,`block`,`inline`].forEach(e=>{let t=n[e]?.rules;t&&this[e].ruler.enableOnly(t)});let e=n.inline?.rules2;e&&this.inline.ruler2.enableOnly(e)}return this}enable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(t=>{n=n.concat(this[t].ruler.enable(e,!0))}),n=n.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(e=>n.indexOf(e)<0);if(r.length&&!t)throw Error(`MarkdownIt. Failed to enable unknown rule(s): ${r}`);return this}disable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(t=>{n=n.concat(this[t].ruler.disable(e,!0))}),n=n.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(e=>n.indexOf(e)<0);if(r.length&&!t)throw Error(`MarkdownIt. Failed to disable unknown rule(s): ${r}`);return this}use(e,...t){return e.apply(e,[this,...t]),this}parse(e,t){if(typeof e!=`string`)throw Error(`Input data should be a String`);let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens}render(e,t={}){return this.renderer.render(this.parse(e,t),this.options,t)}parseInline(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens}renderInline(e,t={}){return this.renderer.render(this.parseInline(e,t),this.options,t)}};$(ko,`Token`,Pi),$(ko,`Ruler`,Fi),$(ko,`Renderer`,Li),$(ko,`ParserCore`,ma),$(ko,`StateCore`,Ri),$(ko,`ParserBlock`,Ba),$(ko,`StateBlock`,ha),$(ko,`ParserInline`,wo),$(ko,`StateInline`,Va);var Ao=new(ni(ko))({html:!1,linkify:!1,breaks:!1});Ao.disable(`image`);var jo=Ao.renderer.rules.link_open??((e,t,n,r,i)=>i.renderToken(e,t,n));Ao.renderer.rules.link_open=(e,t,n,r,i)=>{let a=e[t];return a?.attrSet(`target`,`_blank`),a?.attrSet(`rel`,`noopener noreferrer`),jo(e,t,n,r,i)};var Mo=Ao.renderer.rules.fence;Ao.renderer.rules.fence=(e,t,n,r,i)=>{let a=Mo?Mo(e,t,n,r,i):i.renderToken(e,t,n);if(e[t]?.info.trim().split(/\s+/)[0]===`mermaid`)return a;let o=r?.copyLabel,s=Ao.utils.escapeHtml(typeof o==`string`?o:`Copy`);return`<div class="agent-code"><button type="button" class="agent-code__copy" data-copy title="${s}" aria-label="${s}"><svg class="agent-code__copy-icon" viewBox="0 0 24 24" width="14" height="14" aria-hidden="true"><path fill="currentColor" d="M16 1H4a2 2 0 0 0-2 2v14h2V3h12V1zm3 4H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2zm0 16H8V7h11v14z"/></svg><svg class="agent-code__done-icon" viewBox="0 0 24 24" width="14" height="14" aria-hidden="true"><path fill="currentColor" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg></button>`+a+`</div>`};function No(e,t={}){return Ao.render(e,t)}var Po=[`innerHTML`],Fo=ee(m({__name:`MermaidPreviewDialog`,props:s({svgHtml:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:s([`hide`],[`update:modelValue`]),setup(e,{emit:t}){let n=r(e,`modelValue`),i=t,{t:a}=M();return(t,r)=>(o(),v(un,{modelValue:n.value,"onUpdate:modelValue":r[0]||=e=>n.value=e,title:y(a)(`agent.diagram.title`),onHide:r[1]||=e=>i(`hide`)},{default:x(()=>[d(`div`,{class:`mermaid-preview`,innerHTML:e.svgHtml},null,8,Po)]),_:1},8,[`modelValue`,`title`]))}}),[[`__scopeId`,`data-v-3ad1f8bb`]]),Io=[`innerHTML`],Lo=m({__name:`MarkdownContent`,props:{text:{},mermaidDebounce:{default:0}},setup(e){let t=e,{t:n}=M(),r=w(),i=l(`body`),a=S(()=>No(t.text,{copyLabel:n(`agent.code.copy`)})),{copyCodeBlock:s}=hn(a);Cn(i,a,()=>r.dark.isActive,()=>n(`agent.diagram.failed`),()=>t.mermaidDebounce);let c=g(!1),u=g(``),f=null;function m(e){let t=e.target instanceof Element?e.target.closest(`.agent-mermaid`):null;t&&i.value?.contains(t)&&(t.focus(),f=t,u.value=t.innerHTML,c.value=!0)}function _(){u.value=``,f?.isConnected&&f.focus(),f=null}async function v(e){let t=e.target instanceof Element?e.target.closest(`[data-copy]`):null;if(!t){m(e);return}await s(t,{copy:n(`agent.code.copy`),copied:n(`agent.code.copied`)})||r.notify({type:`negative`,message:n(`agent.code.copyFailed`)})}return(e,t)=>(o(),p(`div`,null,[d(`div`,{ref_key:`body`,ref:i,class:`md-content`,onClick:v,onKeydown:T(m,[`enter`]),innerHTML:a.value},null,40,Io),h(Fo,{modelValue:c.value,"onUpdate:modelValue":t[0]||=e=>c.value=e,"svg-html":u.value,onHide:_},null,8,[`modelValue`,`svg-html`])]))}}),Ro=0,zo=100,Bo=4;function Vo(e){return e.pointerType===`touch`||e.pointerType===`pen`&&e.buttons!==0}var Ho=se({name:`QTooltip`,inheritAttrs:!1,props:{...Ee,...de,...E,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...E.transitionShow,default:`jump-down`},transitionHide:{...E.transitionHide,default:`jump-up`},anchor:{type:String,default:`bottom middle`,validator:Ce},self:{type:String,default:`top middle`,validator:Ce},offset:{type:Array,default:()=>[14,14],validator:Te},cursorPosition:Boolean,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...k],setup(e,{slots:r,emit:i,attrs:a}){let o,s=!1,c=null,l=null,d,f=u(),p=w(),m=g(null),h=b(!1),_=ve();function v(){return a.id||_.value}let y=S(()=>N(e.anchor,p.lang.rtl)),x=S(()=>N(e.self,p.lang.rtl)),ee=S(()=>!e.persistent),{registerTimeout:T,registerTransitionEnd:re}=me(e),{transitionProps:se,transitionStyle:ce}=pe(e),{anchorEl:E,canShow:de,anchorEvents:O}=we({showing:h,configureAnchorEl:Pe}),{show:ge,hide:_e}=fe({showing:h,canShow:de,handleShow:M,handleHide:Se,hideOnRouteChange:ee,processOnMount:!0});Object.assign(O,{delayShow:Te,delayHide:je,onFocusin:Me,onPointerdown:Ae,onCursorMove:De});let{showPortal:ye,hidePortal:be,renderPortal:k}=D(f,m,ze,`tooltip`),{registerTick:xe,removeTick:A}=he(),j=Oe({props:e,$q:p,anchorEl:E,innerRef:m,showing:h,anchorOrigin:y,selfOrigin:x,trackContent:!0});n(()=>(e.modelValue===null||e[`onUpdate:modelValue`])&&h.value===!0&&e.persistent!==!0,e=>{(e===!0?ue:le)(Ne)});function M(t){ie(O,`cursorTemp`),ye(),Ie(),j.handleShow(e.cursorPosition?t:void 0),xe(j.handleTick),re(()=>{ye(!0),i(`show`,t)})}function Se(e){A(),be(),Ce(!0),re(()=>{be(!0),j.releaseAnchor(!1),i(`hide`,e)})}function Ce(e){j.releaseAnchor(e),le(Ne),c=null,ie(O,`tooltipTemp`),ie(O,`cursorTemp`),Le(),Fe(!1)}function Te(t){if(t.pointerType===`touch`&&t.isPrimary===!1)return;let n=Vo(t);if(n&&P(t),e.cursorPosition&&!n){let e=ae(t);if(e.left!==void 0){l=e,oe(O,`cursorTemp`,[[E.value,`pointermove`,`onCursorMove`,`passive`]]),Ee(t);return}}T(()=>{ge(t)},e.delay)}function Ee(t){T(()=>{ge(t)},Math.max(e.delay,zo))}function De(e){let t=ae(e);Math.abs(t.left-l.left)<=Bo&&Math.abs(t.top-l.top)<=Bo||(l=t,Ee(e))}function P(e){c=e.pointerType,o!==void 0&&(clearTimeout(o),o=void 0),ke(),Fe(!0);let t=E.value,n=[`touchmove`,`touchcancel`,`touchend`,`click`].map(e=>[t,e,`delayHide`,`passiveCapture`]);oe(O,`tooltipTemp`,n)}function Ae(e){e.pointerType===`pen`&&c===null&&P(e)}function je(t){if((t.pointerType!==`touch`||t.isPrimary!==!1)&&!(t.type===`focusout`&&E.value!==null&&E.value.contains(t.relatedTarget))){if(ie(O,`cursorTemp`),c!==null){let e=c===`pen`&&(t.type===`click`||t.type===`touchend`);if(c=null,ie(O,`tooltipTemp`),ke(),o=setTimeout(()=>{o=void 0,Fe(!1)},10),e)return}T(()=>{_e(t)},e.hideDelay)}}function Me(e){let t=e.target;t&&t.matches(`:focus-visible`)&&Te(e)}function Ne(e){_e(e)}function Pe(){if(e.noParentEvent||E.value===null)return;let t=[[E.value,`pointerenter`,`delayShow`,`passive`],[E.value,`pointerdown`,`onPointerdown`,`passive`],[E.value,`pointerleave`,`delayHide`,`passive`],[E.value,`focusin`,`onFocusin`,`passive`],[E.value,`focusout`,`delayHide`,`passive`]];oe(O,`anchor`,t)}function Fe(e){s!==e&&(s=e,Ro+=e?1:-1,document.body.classList.toggle(`non-selectable`,Ro>0),!e&&o!==void 0&&(clearTimeout(o),o=void 0))}function Ie(){let e=E.value,t=v();if(e===null||t===void 0)return;let n=(e.getAttribute(`aria-describedby`)||``).split(/\s+/).filter(Boolean);d={el:e,id:t,added:!n.includes(t)},d.added&&(n.push(t),e.setAttribute(`aria-describedby`,n.join(` `)))}function Le(){if(d?.added===!0){let{el:e,id:t}=d,n=(e.getAttribute(`aria-describedby`)||``).split(/\s+/).filter(e=>e!==``&&e!==t);n.length===0?e.removeAttribute(`aria-describedby`):e.setAttribute(`aria-describedby`,n.join(` `))}d=void 0}function Re(){return h.value?C(`div`,{...a,id:v(),ref:m,class:[`q-tooltip q-tooltip--style no-pointer-events`+(j.viaCssAnchor?``:` q-position-engine`),a.class],style:[a.style,ce(),j.positionStyle.value],role:`tooltip`},ne(r.default)):null}function ze(){return C(te,se(),Re)}return t(()=>{Ce(!1)}),Object.assign(f.proxy,{updatePosition:j.updatePosition}),k}});function Uo(){let e=w();return(t,n)=>{e.notify({type:`negative`,message:t,caption:Se(n)})}}var Wo=`M10.5 15.5C10.5 15.87 10.4 16.2 10.22 16.5C9.88 15.91 9.24 15.5 8.5 15.5S7.12 15.91 6.78 16.5C6.61 16.2 6.5 15.87 6.5 15.5C6.5 14.4 7.4 13.5 8.5 13.5S10.5 14.4 10.5 15.5M23 15V18C23 18.55 22.55 19 22 19H21V20C21 21.11 20.11 22 19 22H5C3.9 22 3 21.11 3 20V19H2C1.45 19 1 18.55 1 18V15C1 14.45 1.45 14 2 14H3C3 10.13 6.13 7 10 7H11V5.73C10.4 5.39 10 4.74 10 4C10 2.9 10.9 2 12 2S14 2.9 14 4C14 4.74 13.6 5.39 13 5.73V7H14C17.87 7 21 10.13 21 14H22C22.55 14 23 14.45 23 15M21 16H19V14C19 11.24 16.76 9 14 9H10C7.24 9 5 11.24 5 14V16H3V17H5V20H19V17H21V16M15.5 13.5C14.4 13.5 13.5 14.4 13.5 15.5C13.5 15.87 13.61 16.2 13.78 16.5C14.12 15.91 14.76 15.5 15.5 15.5S16.88 15.91 17.22 16.5C17.4 16.2 17.5 15.87 17.5 15.5C17.5 14.4 16.61 13.5 15.5 13.5Z`,Go=`add_comment`;export{Lo as a,un as c,rn as d,Fe as f,Re as h,Ho as i,on as l,ze as m,Wo as n,pn as o,Ie as p,Uo as r,fn as s,Go as t,an as u};
@@ -0,0 +1 @@
1
+ import{et as e,nt as t,s as n}from"./runtime-core.esm-bundler-CUpq88z7.js";import{t as r}from"./debounce-CDIE7CV6.js";import{n as i}from"./pinia-DmTi2T44.js";import{a,i as o,l as s,o as c,r as l,s as u,t as ee,u as d}from"./single-flight-r8B7stt1.js";import{t as f}from"./safe-storage-ak36tVRO.js";var p=10485760;function m(e){return`tool:${e}`}function h(){return{items:[],permissions:[],status:`starting`,usage:null,config:[],autoApprove:!1,lastEventId:0,lastStopReason:null}}function g(e,t){if(t.id<=e.lastEventId)return;e.lastEventId=t.id;let{event:n}=t,r=`ev:${t.id}`;switch(n.type){case`status`:e.status=n.status;break;case`config`:e.config=n.options;break;case`user`:e.items.push({kind:`user`,id:r,text:n.text,context:n.context});break;case`message`:{let t=e.items.at(-1),i=n.role;t&&t.kind===i?t.text+=n.text:e.items.push({kind:i,id:r,text:n.text});break}case`tool`:{let t=e.items.find(e=>e.kind===`tool`&&e.id===m(n.toolCallId));t?(n.title&&(t.title=n.title),n.kind&&(t.toolKind=n.kind),n.status&&(t.status=n.status),n.locations&&(t.locations=n.locations),n.diffs&&(t.diffs=n.diffs),n.output!==void 0&&(t.output=n.output)):e.items.push({kind:`tool`,id:m(n.toolCallId),title:n.title??``,toolKind:n.kind,status:n.status??`pending`,locations:n.locations??[],diffs:n.diffs??[],output:n.output});break}case`permission`:e.permissions.some(e=>e.requestId===n.requestId)||e.permissions.push({requestId:n.requestId,toolCallId:n.toolCallId,title:n.title,options:n.options,diffs:n.diffs});break;case`permission-resolved`:e.permissions=e.permissions.filter(e=>e.requestId!==n.requestId);break;case`auto-approve`:e.autoApprove=n.enabled;break;case`auto-approved`:e.items.push({kind:`auto-approved`,id:r,title:n.title});break;case`usage`:e.usage={used:n.used,size:n.size,cost:n.cost};break;case`stop`:e.lastStopReason=n.stopReason;break;case`error`:e.items.push({kind:`error`,id:r,text:n.message})}}function _(e,t){e.status=t.status,e.autoApprove=t.autoApprove,e.config=t.config,e.permissions=t.permissions.map(({requestId:e,toolCallId:t,title:n,options:r,diffs:i})=>({requestId:e,toolCallId:t,title:n,options:r,diffs:i}))}function te(e){let t;try{t=JSON.parse(e)}catch{return null}return d(t)&&typeof t.sessionId==`string`&&typeof t.status==`string`&&typeof t.autoApprove==`boolean`&&Array.isArray(t.config)&&Array.isArray(t.permissions)?t:null}function v(e){return JSON.stringify(e)}function y(e,t){let n=new Set,r=[];for(let i of[...e,...t]){let e=v(i);n.has(e)||(n.add(e),r.push(i))}return r}function b(e){return e.some(e=>e.kind===`user`&&e.context.some(e=>e.kind===`review`))}function x(e){let t=S(e);if(!t)return null;let{sessionId:n}=t;return typeof n==`string`&&n!==``?{...t,sessionId:n}:null}function S(e){let t;try{t=JSON.parse(e)}catch{return null}return d(t)&&typeof t.id==`number`&&d(t.event)&&typeof t.event.type==`string`?t:null}var C=`githuman.agent.activeChat`,ne=2e3,w=2e3,T=i(`agent`,()=>{let i=t([]),p=t(!1),m=t({}),S=t([]),T=t(null),E=t(!1),D=t(!1),O=t(null),k=t({open:!1,context:[]}),A=null,j=!1,M=r(()=>{j=!1,X()},ne),N=!1,P=!1,F=0,I=new Set,L=new Map,R=new Map,z=n(()=>S.value.flatMap(e=>{let t=m.value[e];return t?[t]:[]})),B=n(()=>T.value===null?null:m.value[T.value]??null),V=n(()=>S.value.length<5);function H(e){let t=m.value[e.id];if(t)return t.info=e,t;let n=h();n.status=e.status,n.autoApprove=e.autoApprove,m.value[e.id]={info:e,chat:n,pendingContext:[],error:null,reviewStale:!1,closing:!1,seq:++F},S.value.push(e.id);let r=m.value[e.id];if(!r)throw Error(`unreachable: chat was just registered`);let i=R.get(e.id);i&&_(r.chat,i),R.delete(e.id);for(let t of L.get(e.id)??[])g(r.chat,t);return L.delete(e.id),r}function U(e){let t=S.value.indexOf(e);t!==-1&&(S.value.splice(t,1),delete m.value[e],L.delete(e),R.delete(e),T.value===e&&W(S.value[t]??S.value[t-1]??null))}function W(e){T.value=e,e===null?f.remove(C):f.set(C,e)}function G(e){m.value[e]&&(W(e),E.value=!0)}let K=ee(async()=>{let e=F,t;try{t=await u(`/api/agent/sessions`)}catch(e){O.value=o(e);return}let n=new Set(t.map(e=>e.id));for(let e of t)I.has(e.id)||H(e);let r=S.value.filter(t=>!n.has(t)&&(m.value[t]?.seq??0)<=e);for(let e of r)U(e);for(let e of L.keys())n.has(e)||L.delete(e);for(let e of R.keys())n.has(e)||R.delete(e);if(T.value===null||!m.value[T.value]){let e=f.get(C);W((e!==null&&m.value[e]?e:null)??S.value[0]??null)}});function q(e){let t=m.value[e.sessionId];if(t){g(t.chat,e);return}if(I.has(e.sessionId))return;let n=L.get(e.sessionId)??[];n.length<w&&n.push(e),L.set(e.sessionId,n),K()}function J(){N||j||(j=!0,M())}function Y(){N=!0,M.cancel(),j=!1,A?.close(),A=null}function X(){if(N||A)return;M.cancel(),j=!1;let e=new EventSource(`/api/agent/events`);e.addEventListener(`agent`,t=>{if(A!==e||!(t instanceof MessageEvent))return;let n=x(String(t.data));n&&q(n)}),e.addEventListener(`gap`,t=>{if(A===e&&t instanceof MessageEvent)try{let e=JSON.parse(String(t.data)),n=d(e)&&typeof e.sessionId==`string`?e.sessionId:null,r=n===null?void 0:m.value[n];r?Object.assign(r.chat,h()):n!==null&&L.delete(n)}catch{}}),e.addEventListener(`state`,t=>{if(A!==e||!(t instanceof MessageEvent))return;let n=te(String(t.data));if(!n)return;let r=m.value[n.sessionId];r?_(r.chat,n):I.has(n.sessionId)||R.set(n.sessionId,n)}),e.addEventListener(`sessions`,()=>{A===e&&K()}),e.addEventListener(`open`,()=>{A===e&&K()}),e.addEventListener(`error`,()=>{A===e&&e.readyState===EventSource.CLOSED&&(A=null,J())}),A=e}async function re(){try{i.value=await u(`/api/agent/presets`)}catch(e){if(N)return;p.value=!1,e instanceof a&&e.status===404||(O.value=o(e));return}N||(p.value=!0,await K(),!N&&(X(),P||(P=!0,l([`files:changed`],$))))}function Z(e=[]){return V.value?(k.value={open:!0,context:e},!0):!1}function ie(){k.value={open:!1,context:[]}}async function ae(e,t,n=[]){if(D.value)throw Error(`A chat is already being created`);D.value=!0,O.value=null;try{let r=await s(`/api/agent/sessions`,{presetId:e,name:t}),i=H(r);return i.pendingContext=y(i.pendingContext,n),G(r.id),r.id}catch(e){throw O.value=o(e),e}finally{D.value=!1}}async function oe(e){let t=m.value[e];if(t&&!t.closing){t.closing=!0;try{await c(`/api/agent/sessions/${e}`)}catch(e){if(!(e instanceof a&&e.status===404))throw t.closing=!1,t.error=o(e),e}I.add(e),U(e)}}async function se(e,t=[],n=T.value){let r=n===null?void 0:m.value[n],i=e.trim();if(!r||i===``||r.chat.status!==`ready`)return!1;r.error=null;let a=y(r.pendingContext,t),c={text:i,context:a};try{await s(`/api/agent/sessions/${r.info.id}/prompt`,c);let e=new Set(a.map(v));return r.pendingContext=r.pendingContext.filter(t=>!e.has(v(t))),!0}catch(e){throw r.error=o(e),e}}async function ce(e=T.value){let t=e===null?void 0:m.value[e];t&&t.chat.status===`busy`&&await s(`/api/agent/sessions/${t.info.id}/cancel`)}async function Q(e,t,n=T.value){let r=n===null?void 0:m.value[n];if(!r)return;let i=t===void 0?{}:{optionId:t};await s(`/api/agent/sessions/${r.info.id}/permissions/${e}`,i)}async function le(e,t,n=T.value){let r=n===null?void 0:m.value[n];if(!r||r.chat.status!==`ready`)return;r.error=null;let i={configId:e,value:t};try{await s(`/api/agent/sessions/${r.info.id}/config`,i)}catch(e){throw r.error=o(e),e}}async function ue(e,t=T.value){let n=t===null?void 0:m.value[t];if(!n)return;let r={enabled:e};await s(`/api/agent/sessions/${n.info.id}/auto-approve`,r)}function de(e,t){let n=t===void 0?B.value:m.value[t];if(t!==void 0&&!n)return`missing`;if(!n)return Z([e])?`dialog`:`limit`;let r=v(e);return n.pendingContext.some(e=>v(e)===r)||n.pendingContext.push(e),E.value=!0,`added`}function fe(e,t=T.value){(t===null?void 0:m.value[t])?.pendingContext.splice(e,1)}function $(){for(let e of Object.values(m.value))b(e.chat.items)&&(e.reviewStale=!0)}return e(Y),{presets:i,enabled:p,chats:m,order:S,list:z,activeId:T,activeChat:B,canAddChat:V,panelOpen:E,creating:D,error:O,newChatDialog:k,init:re,refreshSessions:K,openNewChatDialog:Z,closeNewChatDialog:ie,createChat:ae,closeChat:oe,selectChat:W,openChat:G,send:se,cancel:ce,answerPermission:Q,setConfig:le,setAutoApprove:ue,addContext:de,removeContext:fe,markWorktreeChanged:$}});export{p as n,T as t};
@@ -1 +1 @@
1
- import{et as e}from"./runtime-core.esm-bundler-Carm8LUR.js";import{n as t}from"./pinia-DbmXdZbT.js";import{i as n,s as r}from"./single-flight-r8B7stt1.js";var i=t(`repository`,()=>{let t=e(null),i=e(!1),a=e(null);async function o(){i.value=!0,a.value=null;try{t.value=await r(`/api/git/info`)}catch(e){t.value=null,a.value=n(e)}finally{i.value=!1}}return{info:t,loading:i,error:a,fetchInfo:o}}),a=t(`appInfo`,()=>{let t=e(null),i=e(!1),a=e(null);async function o(){i.value=!0,a.value=null;try{let e=await r(`/api/app-info`);t.value=e.version}catch(e){t.value=null,a.value=n(e)}finally{i.value=!1}}return{version:t,loading:i,error:a,fetchInfo:o}});export{i as n,a as t};
1
+ import{nt as e}from"./runtime-core.esm-bundler-CUpq88z7.js";import{n as t}from"./pinia-DmTi2T44.js";import{i as n,s as r}from"./single-flight-r8B7stt1.js";var i=t(`repository`,()=>{let t=e(null),i=e(!1),a=e(null);async function o(){i.value=!0,a.value=null;try{t.value=await r(`/api/git/info`)}catch(e){t.value=null,a.value=n(e)}finally{i.value=!1}}return{info:t,loading:i,error:a,fetchInfo:o}}),a=t(`appInfo`,()=>{let t=e(null),i=e(!1),a=e(null);async function o(){i.value=!0,a.value=null;try{let e=await r(`/api/app-info`);t.value=e.version}catch(e){t.value=null,a.value=n(e)}finally{i.value=!1}}return{version:t,loading:i,error:a,fetchInfo:o}});export{i as n,a as t};
@@ -1 +1 @@
1
- import{n as e,t}from"./path-fybaL0A-.js";import{a as n,c as r,d as i,f as a,i as o,l as s,m as c,n as l,o as u,p as d,r as f,u as p}from"./dist-DuFVAX6Y.js";function m(e){return e.innerRadius}function h(e){return e.outerRadius}function g(e){return e.startAngle}function _(e){return e.endAngle}function v(e){return e&&e.padAngle}function y(e,t,n,r,i,a,o,s){var c=n-e,l=r-t,u=o-i,d=s-a,f=d*c-u*l;if(!(f*f<1e-12))return f=(u*(t-a)-d*(e-i))/f,[e+f*c,t+f*l]}function b(e,t,n,r,i,a,o){var c=e-n,l=t-r,u=(o?a:-a)/d(c*c+l*l),f=u*l,p=-u*c,m=e+f,h=t+p,g=n+f,_=r+p,v=(m+g)/2,y=(h+_)/2,b=g-m,x=_-h,S=b*b+x*x,C=i-a,w=m*_-g*h,T=(x<0?-1:1)*d(s(0,C*C*S-w*w)),E=(w*x-b*T)/S,D=(-w*b-x*T)/S,O=(w*x+b*T)/S,k=(-w*b+x*T)/S,A=E-v,j=D-y,M=O-v,N=k-y;return A*A+j*j>M*M+N*N&&(E=O,D=k),{cx:E,cy:D,x01:-f,y01:-p,x11:E*(i/C-1),y11:D*(i/C-1)}}function x(){var s=m,x=h,S=e(0),C=null,w=g,T=_,E=v,D=null,O=t(k);function k(){var e,t,m=+s.apply(this,arguments),h=+x.apply(this,arguments),g=w.apply(this,arguments)-r,_=T.apply(this,arguments)-r,v=l(_-g),k=_>g;if(D||=e=O(),h<m&&(t=h,h=m,m=t),!(h>1e-12))D.moveTo(0,0);else if(v>c-1e-12)D.moveTo(h*u(g),h*a(g)),D.arc(0,0,h,g,_,!k),m>1e-12&&(D.moveTo(m*u(_),m*a(_)),D.arc(0,0,m,_,g,k));else{var A=g,j=_,M=g,N=_,P=v,F=v,I=E.apply(this,arguments)/2,L=I>1e-12&&(C?+C.apply(this,arguments):d(m*m+h*h)),R=p(l(h-m)/2,+S.apply(this,arguments)),z=R,B=R,V,H;if(L>1e-12){var U=o(L/m*a(I)),W=o(L/h*a(I));(P-=U*2)>1e-12?(U*=k?1:-1,M+=U,N-=U):(P=0,M=N=(g+_)/2),(F-=W*2)>1e-12?(W*=k?1:-1,A+=W,j-=W):(F=0,A=j=(g+_)/2)}var G=h*u(A),K=h*a(A),q=m*u(N),J=m*a(N);if(R>1e-12){var Y=h*u(j),X=h*a(j),Z=m*u(M),Q=m*a(M),$;if(v<i){if($=y(G,K,Z,Q,Y,X,q,J)){var ee=G-$[0],te=K-$[1],ne=Y-$[0],re=X-$[1],ie=1/a(f((ee*ne+te*re)/(d(ee*ee+te*te)*d(ne*ne+re*re)))/2),ae=d($[0]*$[0]+$[1]*$[1]);z=p(R,(m-ae)/(ie-1)),B=p(R,(h-ae)/(ie+1))}else z=B=0}}F>1e-12?B>1e-12?(V=b(Z,Q,G,K,h,B,k),H=b(Y,X,q,J,h,B,k),D.moveTo(V.cx+V.x01,V.cy+V.y01),B<R?D.arc(V.cx,V.cy,B,n(V.y01,V.x01),n(H.y01,H.x01),!k):(D.arc(V.cx,V.cy,B,n(V.y01,V.x01),n(V.y11,V.x11),!k),D.arc(0,0,h,n(V.cy+V.y11,V.cx+V.x11),n(H.cy+H.y11,H.cx+H.x11),!k),D.arc(H.cx,H.cy,B,n(H.y11,H.x11),n(H.y01,H.x01),!k))):(D.moveTo(G,K),D.arc(0,0,h,A,j,!k)):D.moveTo(G,K),!(m>1e-12)||!(P>1e-12)?D.lineTo(q,J):z>1e-12?(V=b(q,J,Y,X,m,-z,k),H=b(G,K,Z,Q,m,-z,k),D.lineTo(V.cx+V.x01,V.cy+V.y01),z<R?D.arc(V.cx,V.cy,z,n(V.y01,V.x01),n(H.y01,H.x01),!k):(D.arc(V.cx,V.cy,z,n(V.y01,V.x01),n(V.y11,V.x11),!k),D.arc(0,0,m,n(V.cy+V.y11,V.cx+V.x11),n(H.cy+H.y11,H.cx+H.x11),k),D.arc(H.cx,H.cy,z,n(H.y11,H.x11),n(H.y01,H.x01),!k))):D.arc(0,0,m,N,M,k)}if(D.closePath(),e)return D=null,e+``||null}return k.centroid=function(){var e=(+s.apply(this,arguments)+ +x.apply(this,arguments))/2,t=(+w.apply(this,arguments)+ +T.apply(this,arguments))/2-i/2;return[u(t)*e,a(t)*e]},k.innerRadius=function(t){return arguments.length?(s=typeof t==`function`?t:e(+t),k):s},k.outerRadius=function(t){return arguments.length?(x=typeof t==`function`?t:e(+t),k):x},k.cornerRadius=function(t){return arguments.length?(S=typeof t==`function`?t:e(+t),k):S},k.padRadius=function(t){return arguments.length?(C=t==null?null:typeof t==`function`?t:e(+t),k):C},k.startAngle=function(t){return arguments.length?(w=typeof t==`function`?t:e(+t),k):w},k.endAngle=function(t){return arguments.length?(T=typeof t==`function`?t:e(+t),k):T},k.padAngle=function(t){return arguments.length?(E=typeof t==`function`?t:e(+t),k):E},k.context=function(e){return arguments.length?(D=e??null,k):D},k}export{x as t};
1
+ import{n as e,t}from"./path-fybaL0A-.js";import{a as n,c as r,d as i,f as a,i as o,l as s,m as c,n as l,o as u,p as d,r as f,u as p}from"./dist-BzuUT3GV.js";function m(e){return e.innerRadius}function h(e){return e.outerRadius}function g(e){return e.startAngle}function _(e){return e.endAngle}function v(e){return e&&e.padAngle}function y(e,t,n,r,i,a,o,s){var c=n-e,l=r-t,u=o-i,d=s-a,f=d*c-u*l;if(!(f*f<1e-12))return f=(u*(t-a)-d*(e-i))/f,[e+f*c,t+f*l]}function b(e,t,n,r,i,a,o){var c=e-n,l=t-r,u=(o?a:-a)/d(c*c+l*l),f=u*l,p=-u*c,m=e+f,h=t+p,g=n+f,_=r+p,v=(m+g)/2,y=(h+_)/2,b=g-m,x=_-h,S=b*b+x*x,C=i-a,w=m*_-g*h,T=(x<0?-1:1)*d(s(0,C*C*S-w*w)),E=(w*x-b*T)/S,D=(-w*b-x*T)/S,O=(w*x+b*T)/S,k=(-w*b+x*T)/S,A=E-v,j=D-y,M=O-v,N=k-y;return A*A+j*j>M*M+N*N&&(E=O,D=k),{cx:E,cy:D,x01:-f,y01:-p,x11:E*(i/C-1),y11:D*(i/C-1)}}function x(){var s=m,x=h,S=e(0),C=null,w=g,T=_,E=v,D=null,O=t(k);function k(){var e,t,m=+s.apply(this,arguments),h=+x.apply(this,arguments),g=w.apply(this,arguments)-r,_=T.apply(this,arguments)-r,v=l(_-g),k=_>g;if(D||=e=O(),h<m&&(t=h,h=m,m=t),!(h>1e-12))D.moveTo(0,0);else if(v>c-1e-12)D.moveTo(h*u(g),h*a(g)),D.arc(0,0,h,g,_,!k),m>1e-12&&(D.moveTo(m*u(_),m*a(_)),D.arc(0,0,m,_,g,k));else{var A=g,j=_,M=g,N=_,P=v,F=v,I=E.apply(this,arguments)/2,L=I>1e-12&&(C?+C.apply(this,arguments):d(m*m+h*h)),R=p(l(h-m)/2,+S.apply(this,arguments)),z=R,B=R,V,H;if(L>1e-12){var U=o(L/m*a(I)),W=o(L/h*a(I));(P-=U*2)>1e-12?(U*=k?1:-1,M+=U,N-=U):(P=0,M=N=(g+_)/2),(F-=W*2)>1e-12?(W*=k?1:-1,A+=W,j-=W):(F=0,A=j=(g+_)/2)}var G=h*u(A),K=h*a(A),q=m*u(N),J=m*a(N);if(R>1e-12){var Y=h*u(j),X=h*a(j),Z=m*u(M),Q=m*a(M),$;if(v<i){if($=y(G,K,Z,Q,Y,X,q,J)){var ee=G-$[0],te=K-$[1],ne=Y-$[0],re=X-$[1],ie=1/a(f((ee*ne+te*re)/(d(ee*ee+te*te)*d(ne*ne+re*re)))/2),ae=d($[0]*$[0]+$[1]*$[1]);z=p(R,(m-ae)/(ie-1)),B=p(R,(h-ae)/(ie+1))}else z=B=0}}F>1e-12?B>1e-12?(V=b(Z,Q,G,K,h,B,k),H=b(Y,X,q,J,h,B,k),D.moveTo(V.cx+V.x01,V.cy+V.y01),B<R?D.arc(V.cx,V.cy,B,n(V.y01,V.x01),n(H.y01,H.x01),!k):(D.arc(V.cx,V.cy,B,n(V.y01,V.x01),n(V.y11,V.x11),!k),D.arc(0,0,h,n(V.cy+V.y11,V.cx+V.x11),n(H.cy+H.y11,H.cx+H.x11),!k),D.arc(H.cx,H.cy,B,n(H.y11,H.x11),n(H.y01,H.x01),!k))):(D.moveTo(G,K),D.arc(0,0,h,A,j,!k)):D.moveTo(G,K),!(m>1e-12)||!(P>1e-12)?D.lineTo(q,J):z>1e-12?(V=b(q,J,Y,X,m,-z,k),H=b(G,K,Z,Q,m,-z,k),D.lineTo(V.cx+V.x01,V.cy+V.y01),z<R?D.arc(V.cx,V.cy,z,n(V.y01,V.x01),n(H.y01,H.x01),!k):(D.arc(V.cx,V.cy,z,n(V.y01,V.x01),n(V.y11,V.x11),!k),D.arc(0,0,m,n(V.cy+V.y11,V.cx+V.x11),n(H.cy+H.y11,H.cx+H.x11),k),D.arc(H.cx,H.cy,z,n(H.y11,H.x11),n(H.y01,H.x01),!k))):D.arc(0,0,m,N,M,k)}if(D.closePath(),e)return D=null,e+``||null}return k.centroid=function(){var e=(+s.apply(this,arguments)+ +x.apply(this,arguments))/2,t=(+w.apply(this,arguments)+ +T.apply(this,arguments))/2-i/2;return[u(t)*e,a(t)*e]},k.innerRadius=function(t){return arguments.length?(s=typeof t==`function`?t:e(+t),k):s},k.outerRadius=function(t){return arguments.length?(x=typeof t==`function`?t:e(+t),k):x},k.cornerRadius=function(t){return arguments.length?(S=typeof t==`function`?t:e(+t),k):S},k.padRadius=function(t){return arguments.length?(C=t==null?null:typeof t==`function`?t:e(+t),k):C},k.startAngle=function(t){return arguments.length?(w=typeof t==`function`?t:e(+t),k):w},k.endAngle=function(t){return arguments.length?(T=typeof t==`function`?t:e(+t),k):T},k.padAngle=function(t){return arguments.length?(E=typeof t==`function`?t:e(+t),k):E},k.context=function(e){return arguments.length?(D=e??null,k):D},k}export{x as t};
@@ -0,0 +1 @@
1
+ import"./chunk-FOHPRMQF-CoA4358r.js";import{M as e}from"./mermaid-parser.core-Dj-n65Ou.js";export{e as createArchitectureServices};