@openlist-frontend/openlist-frontend 4.1.3 → 4.1.4

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 (389) hide show
  1. package/dist/VERSION +1 -1
  2. package/dist/assets/{2fa-CT-NYgA3.js → 2fa-MPgWo9W_.js} +1 -1
  3. package/dist/{lite/assets/2fa-legacy-D-GD6Sq7.js → assets/2fa-legacy-CDrXBcgT.js} +1 -1
  4. package/dist/{lite/assets/About-DC8lOADj.js → assets/About-gmZhmLDK.js} +1 -1
  5. package/dist/{lite/assets/About-legacy-BBURv-NS.js → assets/About-legacy-DegyyFdr.js} +1 -1
  6. package/dist/assets/{AddOrEdit-DotYixB5.js → AddOrEdit-BobWy7Hl.js} +1 -1
  7. package/dist/assets/{AddOrEdit-DXB5q5QW.js → AddOrEdit-ClDZs9Gh.js} +1 -1
  8. package/dist/assets/{AddOrEdit-D5IdC9IZ.js → AddOrEdit-YlZx1qqY.js} +1 -1
  9. package/dist/{lite/assets/AddOrEdit-legacy-BHPkdTBL.js → assets/AddOrEdit-legacy-5LdMVFrL.js} +1 -1
  10. package/dist/assets/{AddOrEdit-legacy-hKzQmG6z.js → AddOrEdit-legacy-D9IfjQvf.js} +1 -1
  11. package/dist/assets/{AddOrEdit-legacy-Dz3jSAvS.js → AddOrEdit-legacy-Qy2JZe59.js} +1 -1
  12. package/dist/assets/{AddOrEdit-legacy-Bqz9cUu6.js → AddOrEdit-legacy-THtLJwjH.js} +1 -1
  13. package/dist/assets/{AddOrEdit-CWzJ9FmZ.js → AddOrEdit-wA7fnPTI.js} +1 -1
  14. package/dist/assets/{Common-DyTR23zx.js → Common-BuBvMCMi.js} +1 -1
  15. package/dist/assets/{Common-legacy-Bu4A0EQs.js → Common-legacy-bSL3GW_M.js} +1 -1
  16. package/dist/assets/{Copy-TNx1OuVO.js → Copy-ClQyMgrb.js} +1 -1
  17. package/dist/assets/{Copy-legacy-OI3BodRq.js → Copy-legacy-BOzeXg7c.js} +1 -1
  18. package/dist/assets/Decompress-B1i0J0Wj.js +1 -0
  19. package/dist/assets/{Decompress-legacy-bxXixx4s.js → Decompress-legacy-AEk_srr0.js} +1 -1
  20. package/dist/assets/{DeletePopover-BuNX49KG.js → DeletePopover-4ysUXh3B.js} +1 -1
  21. package/dist/assets/{DeletePopover-legacy-VN9zzbeh.js → DeletePopover-legacy-Csf-6V7h.js} +1 -1
  22. package/dist/assets/{File-HMt4p1bt.js → File-Calaq_Yl.js} +2 -2
  23. package/dist/assets/{File-legacy-BI0ttA9l.js → File-legacy-DcL_XfRy.js} +1 -1
  24. package/dist/assets/{Folder-Cbrh1YqP.js → Folder-BAk1Wm3F.js} +3 -3
  25. package/dist/assets/{Folder-legacy-BjJaEYhG.js → Folder-legacy-BBz8q6vH.js} +2 -2
  26. package/dist/assets/{FolderTree-CINIB__M.js → FolderTree-C7ixGeNd.js} +1 -1
  27. package/dist/assets/{FolderTree-legacy-DuvgfbAr.js → FolderTree-legacy-BtP457mV.js} +1 -1
  28. package/dist/assets/Grid-B9N1lK77.js +1 -0
  29. package/dist/assets/Grid-legacy-DdgU3rUD.js +1 -0
  30. package/dist/assets/{GridItem-BajQFf7o.js → GridItem-C-z3N-xp.js} +1 -1
  31. package/dist/assets/{GridItem-legacy-Bhf2pnJl.js → GridItem-legacy-BKwZyzaf.js} +1 -1
  32. package/dist/assets/{ImageWithError-BPBjZ-uy.js → ImageWithError-CLp4z8jl.js} +1 -1
  33. package/dist/assets/{ImageWithError-legacy-RTfSLkrQ.js → ImageWithError-legacy-ByIifoJ_.js} +1 -1
  34. package/dist/{lite/assets/Images-CnEV0E-X.js → assets/Images-CGtIvgHa.js} +1 -1
  35. package/dist/{lite/assets/Images-legacy-By18EwBs.js → assets/Images-legacy-CnbH91Sb.js} +1 -1
  36. package/dist/assets/Layout-DU30Mvuh.js +6 -0
  37. package/dist/assets/Layout-legacy-CxoncQdH.js +6 -0
  38. package/dist/assets/List-CYeqfOmD.js +1 -0
  39. package/dist/assets/List-legacy-BmcDzyTn.js +1 -0
  40. package/dist/assets/{Messenger-BQkbQG7l.js → Messenger-BwvjCwX-.js} +1 -1
  41. package/dist/assets/{Messenger-legacy-BCyOwLup.js → Messenger-legacy-CO-yoy6j.js} +1 -1
  42. package/dist/assets/{Metas-BaHPe9Ju.js → Metas-DwM24bP-.js} +1 -1
  43. package/dist/assets/Metas-legacy-CkkOEw2q.js +1 -0
  44. package/dist/assets/{Move-UJoZX5yh.js → Move-BngKCQuI.js} +1 -1
  45. package/dist/assets/{Move-legacy-m_IT2nLW.js → Move-legacy-BRxoOior.js} +1 -1
  46. package/dist/assets/{Other-DJeb2jK0.js → Other-DPfLdvXh.js} +1 -1
  47. package/dist/{lite/assets/Other-legacy-CSY7ynnm.js → assets/Other-legacy-D0jsNqIV.js} +1 -1
  48. package/dist/assets/{PackageDownload-DfaaNeIO.js → PackageDownload--uaHVzQo.js} +1 -1
  49. package/dist/{lite/assets/PackageDownload-legacy-BpFYsmOC.js → assets/PackageDownload-legacy-CpeaoO1g.js} +1 -1
  50. package/dist/assets/{Paginator-DlbMSJt2.js → Paginator-C54JhlYe.js} +1 -1
  51. package/dist/assets/{Paginator-legacy-DxGKPO7E.js → Paginator-legacy-D_4wDqx5.js} +1 -1
  52. package/dist/assets/{Password-CBvtVSWQ.js → Password-CWvJeOiV.js} +1 -1
  53. package/dist/assets/{Password-legacy-BkgQ4-9q.js → Password-legacy-CdFdyh7o.js} +1 -1
  54. package/dist/assets/{Profile-ns9_ZyF2.js → Profile-8HEofLfP.js} +1 -1
  55. package/dist/assets/{Profile-legacy-CHgF31ln.js → Profile-legacy-D0UFy5xg.js} +1 -1
  56. package/dist/assets/PublicKeys-Bie7Qp6M.js +1 -0
  57. package/dist/assets/{PublicKeys-legacy-aGSqyMDc.js → PublicKeys-legacy-BY3rcj-K.js} +1 -1
  58. package/dist/assets/{ResponsiveGrid-C0UulUty.js → ResponsiveGrid-BykSwb_j.js} +1 -1
  59. package/dist/assets/{ResponsiveGrid-legacy-qfZ_0KLP.js → ResponsiveGrid-legacy-EuQbkIIN.js} +1 -1
  60. package/dist/assets/{S3-Y_DV35HZ.js → S3-C7yQFSX0.js} +1 -1
  61. package/dist/{lite/assets/S3-legacy-Clh47jH4.js → assets/S3-legacy-BY24Gd6Z.js} +1 -1
  62. package/dist/assets/{SettingItem-C6CU6cRH.js → SettingItem-ZfXk9TXC.js} +1 -1
  63. package/dist/assets/{SettingItem-legacy-Aohf_J_D.js → SettingItem-legacy-SQTK5BL5.js} +1 -1
  64. package/dist/assets/Shares-CE3gOYSL.js +1 -0
  65. package/dist/assets/Shares-legacy-D2f6zOVL.js +1 -0
  66. package/dist/{lite/assets/Storages-DN5G_Myk.js → assets/Storages-PM5QQYwI.js} +1 -1
  67. package/dist/{lite/assets/Storages-legacy-OnslPQ3L.js → assets/Storages-legacy-ChDkNwbd.js} +1 -1
  68. package/dist/{lite/assets/Upload-BEShq3aL.js → assets/Upload-DBhdWkNn.js} +1 -1
  69. package/dist/assets/{Upload-BDnRTRao.js → Upload-DPicEiWj.js} +1 -1
  70. package/dist/assets/{Upload-legacy-CFpY0UA2.js → Upload-legacy-BdzG-Rqk.js} +1 -1
  71. package/dist/{lite/assets/Upload-legacy-BTZQZHvI.js → assets/Upload-legacy-VhaBhBM-.js} +1 -1
  72. package/dist/assets/Users-C8FlUcPm.js +1 -0
  73. package/dist/assets/{Users-legacy-Con5HL4g.js → Users-legacy-BvpUDdwv.js} +1 -1
  74. package/dist/assets/{Wether-BrBCeLPY.js → Wether-DQJKqKO1.js} +1 -1
  75. package/dist/assets/{Wether-legacy-BY6L8rYv.js → Wether-legacy-D3X-nyzl.js} +1 -1
  76. package/dist/assets/aliyun_video-legacy-CfcxNo2d.js +1 -0
  77. package/dist/assets/aliyun_video-nMhjQCP8.js +1 -0
  78. package/dist/{lite/assets/archive-jWus6q-p.js → assets/archive-bQX99ULF.js} +1 -1
  79. package/dist/{lite/assets/archive-legacy-Q6ptvr-p.js → assets/archive-legacy-CjVZ4qfk.js} +1 -1
  80. package/dist/assets/artplayer-BR-yr-oe.js +6 -0
  81. package/dist/assets/artplayer-hJ0Nm-8k.css +1 -0
  82. package/dist/assets/artplayer-legacy-zvFU_rxQ.js +1 -0
  83. package/dist/assets/{asciinema-BofNEn4g.js → asciinema-0A1-_qGr.js} +1 -1
  84. package/dist/{lite/assets/asciinema-legacy-BQ7RS1U8.js → assets/asciinema-legacy-BYAUa-kP.js} +1 -1
  85. package/dist/assets/{audio-legacy-DXaLGnl4.js → audio-legacy-CJzwlnQD.js} +1 -1
  86. package/dist/assets/{audio-CE7OCTzy.js → audio-tA9tGFJU.js} +1 -1
  87. package/dist/assets/{backup-restore-Ba3_yqXQ.js → backup-restore-Btk42qDj.js} +1 -1
  88. package/dist/assets/{backup-restore-legacy-bf9g4tv4.js → backup-restore-legacy-HRodQMvJ.js} +1 -1
  89. package/dist/assets/entry-CQHbbmfz.js +1 -0
  90. package/dist/assets/entry-DNrH647C.js +1 -0
  91. package/dist/assets/entry-legacy-B-kSvqSM.js +1 -0
  92. package/dist/assets/entry-legacy-CvjIonQ4.js +1 -0
  93. package/dist/assets/{flash-CGj5o-qp.js → flash-DZyx3C-0.js} +1 -1
  94. package/dist/assets/{flash-legacy-eQcFQFG-.js → flash-legacy-BIlG-8wc.js} +1 -1
  95. package/dist/assets/{heic-CW4cDVSF.js → heic-Bf1JHcrk.js} +1 -1
  96. package/dist/assets/{heic-legacy-CxJkUUcv.js → heic-legacy-BPw9au8B.js} +1 -1
  97. package/dist/{lite/assets/helper-Dl9Ufp3q.js → assets/helper-B6U9pCyh.js} +1 -1
  98. package/dist/assets/helper-b8qm2EJc.js +1 -0
  99. package/dist/assets/helper-legacy-CMhIu_HL.js +1 -0
  100. package/dist/{lite/assets/helper-legacy-BfBKKLyx.js → assets/helper-legacy-WpYYwNUo.js} +1 -1
  101. package/dist/assets/{html-DBsD0Vf8.js → html-COhBaQw3.js} +1 -1
  102. package/dist/assets/{html-legacy-oUqPI3JI.js → html-legacy-BJVmQUG0.js} +1 -1
  103. package/dist/assets/icon-DrO_4BG6.js +1 -0
  104. package/dist/assets/icon-legacy-BR_-ACI1.js +1 -0
  105. package/dist/assets/{image-mSxdrD8s.js → image-D1f596SZ.js} +1 -1
  106. package/dist/assets/{image-legacy-HvFVd3Fc.js → image-legacy-BsyDel7x.js} +1 -1
  107. package/dist/assets/{index-Bpj9HV4J.js → index-B0tNcUjJ.js} +5 -5
  108. package/dist/{lite/assets/index-D8VrAP1D.js → assets/index-B5iypTJp.js} +1 -1
  109. package/dist/assets/{index-gxiOhmHK.js → index-BvYgQ7iF.js} +2 -2
  110. package/dist/{lite/assets/index-DxYB-nt2.js → assets/index-By4HMKfG.js} +1 -1
  111. package/dist/{lite/assets/index-YrLVu2US.js → assets/index-ClfQ1K7A.js} +1 -1
  112. package/dist/assets/{index-CinOmCOR.js → index-DJ5441tf.js} +1 -1
  113. package/dist/assets/index-DK9UI-hM.js +1 -0
  114. package/dist/{lite/assets/index-DwM6hnGr.js → assets/index-DKOsdH_t.js} +2 -2
  115. package/dist/{lite/assets/index-BtZVxFW3.js → assets/index-DVKLP7fN.js} +1 -1
  116. package/dist/assets/{index-DFgk5DLi.js → index-ZTntABz9.js} +1 -1
  117. package/dist/assets/index-legacy-1ocYP5Qo.js +1 -0
  118. package/dist/{lite/assets/index-legacy-TlIcIvVH.js → assets/index-legacy-BPYQBBdN.js} +1 -1
  119. package/dist/assets/{index-legacy-BjkvhKBt.js → index-legacy-BUop_2pr.js} +1 -1
  120. package/dist/assets/{index-legacy-B9XrTrN5.js → index-legacy-BWInRj-5.js} +1 -1
  121. package/dist/assets/index-legacy-CS9X6zvl.js +18 -0
  122. package/dist/assets/{index-legacy-CdAmiIpI.js → index-legacy-CoOpRRMD.js} +3 -3
  123. package/dist/assets/{index-legacy-BoULPS20.js → index-legacy-D8V8zGXo.js} +1 -1
  124. package/dist/{lite/assets/index-legacy-Be_E5yrL.js → assets/index-legacy-DFvfSXPA.js} +1 -1
  125. package/dist/assets/{index-legacy-Xi622lIw.js → index-legacy-DoPUsE8Q.js} +1 -1
  126. package/dist/{lite/assets/index-legacy-BfcfgGKx.js → assets/index-legacy-SIkVkvCk.js} +1 -1
  127. package/dist/{lite/assets/indexes-B3J0F8jv.js → assets/indexes-D7m_s7dj.js} +1 -1
  128. package/dist/{lite/assets/indexes-legacy-k3Llr6LB.js → assets/indexes-legacy-C5lh6zLy.js} +1 -1
  129. package/dist/assets/{ipa-BdrF57Uf.js → ipa-iZfc5ny_.js} +1 -1
  130. package/dist/assets/ipa-legacy-v-g-4SPo.js +1 -0
  131. package/dist/assets/{markdown-jAsJc4fK.js → markdown-BOrQcm-y.js} +1 -1
  132. package/dist/assets/{markdown-legacy-BFkS1Ot_.js → markdown-legacy-3p8qxq4z.js} +1 -1
  133. package/dist/assets/{markdown_with_word_wrap-wGBIpwmm.js → markdown_with_word_wrap-CahOHjvd.js} +1 -1
  134. package/dist/assets/{markdown_with_word_wrap-legacy-BY6HsH_h.js → markdown_with_word_wrap-legacy-BmLd9pEP.js} +1 -1
  135. package/dist/assets/{offline_download-legacy-vH-tm0Di.js → offline_download-legacy-Bf3euZLf.js} +1 -1
  136. package/dist/assets/offline_download-oMg4a0C3.js +1 -0
  137. package/dist/assets/{pdf-legacy-Cn2v_ady.js → pdf-legacy-MMwEmj0t.js} +1 -1
  138. package/dist/assets/{pdf-B1PprfC2.js → pdf-unezGBT4.js} +1 -1
  139. package/dist/assets/{plist-legacy-Dx42TsRY.js → plist-legacy-sli62gSc.js} +1 -1
  140. package/dist/assets/plist-ts9bst_R.js +1 -0
  141. package/dist/assets/{share-agdFoXKt.js → share-Wfl1CA3s.js} +1 -1
  142. package/dist/assets/{share-legacy-hUybwYO6.js → share-legacy-Cx-fbxkH.js} +1 -1
  143. package/dist/assets/{storage-Ln5bQ9Jj.js → storage-D_MY-bv8.js} +1 -1
  144. package/dist/assets/{storage-legacy-D0-cTYAq.js → storage-legacy-Dj_KTUH1.js} +1 -1
  145. package/dist/{lite/assets/style-rlSvx9zK.js → assets/style-CLimno2e.js} +1 -1
  146. package/dist/assets/{style-legacy-dOJIKPIk.js → style-legacy-Qw_NuL2z.js} +1 -1
  147. package/dist/assets/{text-editor-SbktMI1I.js → text-editor-835YdI16.js} +1 -1
  148. package/dist/{lite/assets/text-editor-legacy-lLgU1caD.js → assets/text-editor-legacy-MXGybM1L.js} +1 -1
  149. package/dist/assets/{url-D6cS6jtV.js → url-BMjGkiT9.js} +1 -1
  150. package/dist/assets/{url-legacy-Bt4XFE_Y.js → url-legacy-CBsQYltk.js} +1 -1
  151. package/dist/assets/{useTitle-legacy-CN0HWZOF.js → useTitle-legacy-CCBAA_c8.js} +1 -1
  152. package/dist/assets/{useTitle-DB_Uj-GZ.js → useTitle-v8G69LwI.js} +1 -1
  153. package/dist/assets/video-BCb4MKbs.js +7 -0
  154. package/dist/assets/video-legacy-CUKpJmwn.js +9 -0
  155. package/dist/{lite/assets/video360-C7O7n4u6.js → assets/video360-ClQMqCaO.js} +1 -1
  156. package/dist/assets/{video360-legacy-K8_p-sBq.js → video360-legacy-B9h5Ttkj.js} +1 -1
  157. package/dist/assets/video_box-B0CZUIHx.js +6 -0
  158. package/dist/assets/video_box-legacy-BhztJ1q2.js +1 -0
  159. package/dist/i18n.tar.gz +0 -0
  160. package/dist/index.html +2 -2
  161. package/dist/lite/VERSION +1 -1
  162. package/dist/lite/assets/{2fa-D4svCGak.js → 2fa-BmBEiSRR.js} +1 -1
  163. package/dist/{assets/2fa-legacy-CyEV0yMi.js → lite/assets/2fa-legacy-wGVQ6LRQ.js} +1 -1
  164. package/dist/{assets/About-DRXSKBfh.js → lite/assets/About-CyvwxCH0.js} +1 -1
  165. package/dist/{assets/About-legacy-HnDcUSTc.js → lite/assets/About-legacy-DuBrDxzH.js} +1 -1
  166. package/dist/lite/assets/{AddOrEdit-kxwtaa4m.js → AddOrEdit-C3i-Vuj3.js} +1 -1
  167. package/dist/lite/assets/{AddOrEdit-CdXVTJ9c.js → AddOrEdit-C4XMiND9.js} +1 -1
  168. package/dist/lite/assets/{AddOrEdit-DeUG7ANk.js → AddOrEdit-CVhCuKJB.js} +1 -1
  169. package/dist/lite/assets/{AddOrEdit-legacy-DlLjr4Yf.js → AddOrEdit-legacy-D00_z8Ga.js} +1 -1
  170. package/dist/lite/assets/{AddOrEdit-legacy-Rqv219Y6.js → AddOrEdit-legacy-DGA6bK1N.js} +1 -1
  171. package/dist/lite/assets/{AddOrEdit-legacy-DNvzTdWh.js → AddOrEdit-legacy-HkyA089d.js} +1 -1
  172. package/dist/{assets/AddOrEdit-legacy-pqhGDkjt.js → lite/assets/AddOrEdit-legacy-ISUkxfZ-.js} +1 -1
  173. package/dist/lite/assets/{AddOrEdit-dMaKietS.js → AddOrEdit-vqRen1Bw.js} +1 -1
  174. package/dist/lite/assets/{Common-pfO8swNL.js → Common-DGmkJwav.js} +1 -1
  175. package/dist/lite/assets/{Common-legacy-5VxLmGN5.js → Common-legacy-CkQHmt1l.js} +1 -1
  176. package/dist/lite/assets/{Copy-BnLZydCJ.js → Copy-BbJLPx_6.js} +1 -1
  177. package/dist/lite/assets/{Copy-legacy-CccB5S71.js → Copy-legacy-B1E9Y375.js} +1 -1
  178. package/dist/lite/assets/Decompress-DrprJy9c.js +1 -0
  179. package/dist/lite/assets/{Decompress-legacy-WrdK96xb.js → Decompress-legacy-BoQFH_LG.js} +1 -1
  180. package/dist/lite/assets/{DeletePopover-CIhnzIg1.js → DeletePopover-D42apEN8.js} +1 -1
  181. package/dist/lite/assets/{DeletePopover-legacy-B3JQBuli.js → DeletePopover-legacy-3-H7HjF3.js} +1 -1
  182. package/dist/lite/assets/{File-RwdxpokM.js → File-Kold2EZA.js} +2 -2
  183. package/dist/lite/assets/{File-legacy-B1SaBxxh.js → File-legacy-BDBS8JJW.js} +1 -1
  184. package/dist/lite/assets/{Folder-CSDsLaTD.js → Folder-C1ZBm1No.js} +3 -3
  185. package/dist/lite/assets/{Folder-legacy-CdnSa-xd.js → Folder-legacy-Dr6X1E-q.js} +2 -2
  186. package/dist/lite/assets/{FolderTree-D63old4t.js → FolderTree-CTh3_qOS.js} +1 -1
  187. package/dist/lite/assets/{FolderTree-legacy-CBxiI_hU.js → FolderTree-legacy-DAN7i0-E.js} +1 -1
  188. package/dist/lite/assets/Grid-BdDsv98y.js +1 -0
  189. package/dist/lite/assets/Grid-legacy-DsbOUNzM.js +1 -0
  190. package/dist/lite/assets/{GridItem-CbZobLSv.js → GridItem-CFKmo0Sw.js} +1 -1
  191. package/dist/lite/assets/{GridItem-legacy-7puWlG97.js → GridItem-legacy-DHlY1Xxd.js} +1 -1
  192. package/dist/lite/assets/{ImageWithError-a3ABP7Da.js → ImageWithError-BqB24ruv.js} +1 -1
  193. package/dist/lite/assets/{ImageWithError-legacy-S3VHJvoR.js → ImageWithError-legacy-y8dqCaBH.js} +1 -1
  194. package/dist/{assets/Images-CtsWnQPO.js → lite/assets/Images-CnHcHWFe.js} +1 -1
  195. package/dist/{assets/Images-legacy-x-UK3uNL.js → lite/assets/Images-legacy-CttGgF3X.js} +1 -1
  196. package/dist/lite/assets/Layout-CjSD56n-.js +6 -0
  197. package/dist/lite/assets/Layout-legacy-BpAjKXAb.js +6 -0
  198. package/dist/lite/assets/List-BAvJG6dz.js +1 -0
  199. package/dist/lite/assets/List-legacy-B4FmRG-Z.js +1 -0
  200. package/dist/lite/assets/{Messenger-EqvlvEKQ.js → Messenger-DBhjR6T3.js} +1 -1
  201. package/dist/lite/assets/{Messenger-legacy-CxQz7sq_.js → Messenger-legacy-BnpqMYOq.js} +1 -1
  202. package/dist/lite/assets/{Metas-KhspbyAu.js → Metas-CBJ_ShAD.js} +1 -1
  203. package/dist/lite/assets/Metas-legacy-BeqdCcC8.js +1 -0
  204. package/dist/lite/assets/{Move-C5DrzjZK.js → Move-iYI042CY.js} +1 -1
  205. package/dist/lite/assets/{Move-legacy-D7B59QHE.js → Move-legacy-CXLW2h8E.js} +1 -1
  206. package/dist/lite/assets/{Other-aObNVBF9.js → Other-BTo5lP3X.js} +1 -1
  207. package/dist/{assets/Other-legacy-y8AH6kL4.js → lite/assets/Other-legacy-DJpgWEZu.js} +1 -1
  208. package/dist/lite/assets/{PackageDownload-D9a1i7HG.js → PackageDownload-BLCc2kgF.js} +1 -1
  209. package/dist/{assets/PackageDownload-legacy-CFioC5Qr.js → lite/assets/PackageDownload-legacy-B_Qfnhq0.js} +1 -1
  210. package/dist/lite/assets/{Paginator-CXOC5uLq.js → Paginator-B-OvlJcl.js} +1 -1
  211. package/dist/lite/assets/{Paginator-legacy-Bi9-Cav5.js → Paginator-legacy-Brr0o-1E.js} +1 -1
  212. package/dist/lite/assets/{Password-BZrRUCVO.js → Password-e5jgnibX.js} +1 -1
  213. package/dist/lite/assets/{Password-legacy-fYQaSh45.js → Password-legacy-BrmrYkpQ.js} +1 -1
  214. package/dist/lite/assets/{Profile-Bxu3nsRH.js → Profile-Dxw9HCop.js} +1 -1
  215. package/dist/lite/assets/{Profile-legacy-CmELDc8I.js → Profile-legacy-DQrqdbeO.js} +1 -1
  216. package/dist/lite/assets/PublicKeys-T_ouY8oQ.js +1 -0
  217. package/dist/lite/assets/{PublicKeys-legacy-BDVRnCVU.js → PublicKeys-legacy-Bs1vMOWk.js} +1 -1
  218. package/dist/lite/assets/{ResponsiveGrid-DvSjRnFS.js → ResponsiveGrid-VTNos9Q3.js} +1 -1
  219. package/dist/lite/assets/{ResponsiveGrid-legacy-D1975Fgk.js → ResponsiveGrid-legacy-B3XB4KcT.js} +1 -1
  220. package/dist/lite/assets/{S3-zdVrcvMQ.js → S3-Ecoo2800.js} +1 -1
  221. package/dist/{assets/S3-legacy-IbfEiIs1.js → lite/assets/S3-legacy-Bp1LTHZR.js} +1 -1
  222. package/dist/lite/assets/{SettingItem-CEsLk31e.js → SettingItem-EdBZszST.js} +1 -1
  223. package/dist/lite/assets/{SettingItem-legacy-CKSh0dJo.js → SettingItem-legacy-DcuCPY8O.js} +1 -1
  224. package/dist/lite/assets/Shares-DJ4dwZHD.js +1 -0
  225. package/dist/lite/assets/Shares-legacy-BNeuFsql.js +1 -0
  226. package/dist/{assets/Storages-QPQm-MWw.js → lite/assets/Storages-Xwt1x9AT.js} +1 -1
  227. package/dist/{assets/Storages-legacy-DxDw7XAb.js → lite/assets/Storages-legacy-DmZm8uvm.js} +1 -1
  228. package/dist/{assets/Upload-CseQ8phI.js → lite/assets/Upload-B-2NJ_9D.js} +1 -1
  229. package/dist/lite/assets/{Upload-CWTuegkI.js → Upload-Cl6_9Ugt.js} +1 -1
  230. package/dist/{assets/Upload-legacy-BnwNk2QJ.js → lite/assets/Upload-legacy-BeitKlNL.js} +1 -1
  231. package/dist/lite/assets/{Upload-legacy-BMDLPvqf.js → Upload-legacy-CEzjNxY-.js} +1 -1
  232. package/dist/lite/assets/Users-D5veWkwg.js +1 -0
  233. package/dist/lite/assets/{Users-legacy-BZmUfLl-.js → Users-legacy-BiefIOlS.js} +1 -1
  234. package/dist/lite/assets/{Wether-BjSG14wG.js → Wether-DITzMbFL.js} +1 -1
  235. package/dist/lite/assets/{Wether-legacy-8SD_eYpL.js → Wether-legacy-CbG7auAA.js} +1 -1
  236. package/dist/lite/assets/aliyun_video-CYyWa90F.js +1 -0
  237. package/dist/lite/assets/aliyun_video-legacy-78vtSluh.js +1 -0
  238. package/dist/{assets/archive-CM-zGADV.js → lite/assets/archive-GghKG2_F.js} +1 -1
  239. package/dist/{assets/archive-legacy-BCzx1MZN.js → lite/assets/archive-legacy-Q8Q7XROJ.js} +1 -1
  240. package/dist/lite/assets/artplayer-Dg3pv1G8.js +6 -0
  241. package/dist/lite/assets/artplayer-hJ0Nm-8k.css +1 -0
  242. package/dist/lite/assets/artplayer-legacy-JU1lbWOE.js +1 -0
  243. package/dist/{assets/asciinema-legacy-DCRR9N7J.js → lite/assets/asciinema-legacy-45DKdJmu.js} +1 -1
  244. package/dist/lite/assets/{asciinema-CA_qtko5.js → asciinema-yWwGBqqp.js} +1 -1
  245. package/dist/lite/assets/{audio-BnIZi2lE.js → audio-CoHN33Nq.js} +1 -1
  246. package/dist/lite/assets/{audio-legacy-DcDbftcj.js → audio-legacy-D8kZVa0z.js} +1 -1
  247. package/dist/lite/assets/{backup-restore-BsJBSefl.js → backup-restore-cXYIE1MJ.js} +1 -1
  248. package/dist/lite/assets/{backup-restore-legacy-CmNwS_QY.js → backup-restore-legacy-E4EGb8wt.js} +1 -1
  249. package/dist/lite/assets/entry-62x9OPjI.js +1 -0
  250. package/dist/lite/assets/entry-YpX1scD8.js +1 -0
  251. package/dist/lite/assets/entry-legacy-BfC-MLD9.js +1 -0
  252. package/dist/lite/assets/entry-legacy-C1NyxG4d.js +1 -0
  253. package/dist/lite/assets/{flash-Y36ji-YR.js → flash-Bl79kQiw.js} +1 -1
  254. package/dist/lite/assets/{flash-legacy-ByoTYr7C.js → flash-legacy-CqTb95L0.js} +1 -1
  255. package/dist/lite/assets/{heic-CAYMmZ5H.js → heic-C7qtoKzI.js} +1 -1
  256. package/dist/lite/assets/{heic-legacy-jzdsuYPe.js → heic-legacy-DLchEF2N.js} +1 -1
  257. package/dist/{assets/helper-CvwzuJRv.js → lite/assets/helper-Dlk8y7oL.js} +1 -1
  258. package/dist/lite/assets/helper-QAlD0cXo.js +1 -0
  259. package/dist/lite/assets/helper-legacy-BpXPy3aZ.js +1 -0
  260. package/dist/{assets/helper-legacy-BdBHsZDj.js → lite/assets/helper-legacy-Dnduz_aE.js} +1 -1
  261. package/dist/lite/assets/{html-Ces8gMsz.js → html-CkWxU417.js} +1 -1
  262. package/dist/lite/assets/{html-legacy-0IEekoCE.js → html-legacy-CaXjiIuM.js} +1 -1
  263. package/dist/lite/assets/icon-BZFY9fuK.js +1 -0
  264. package/dist/lite/assets/icon-legacy-fy54up3n.js +1 -0
  265. package/dist/lite/assets/{image-Dewa76sq.js → image-Dp0-7yIW.js} +1 -1
  266. package/dist/lite/assets/{image-legacy-B4M5pk24.js → image-legacy-BTDI9QnK.js} +1 -1
  267. package/dist/{assets/index-rRcWdKjE.js → lite/assets/index-3N2OqIV6.js} +2 -2
  268. package/dist/lite/assets/index-B-NmelxC.js +1 -0
  269. package/dist/{assets/index-D9i2fsQo.js → lite/assets/index-BAfmrY7N.js} +1 -1
  270. package/dist/{assets/index-D2lxPcyS.js → lite/assets/index-BCWlQ1xm.js} +1 -1
  271. package/dist/lite/assets/{index-Dd2j_kdw.js → index-C2RHIHtc.js} +1 -1
  272. package/dist/lite/assets/{index-DgFxiGS1.js → index-CNZMR1GT.js} +5 -5
  273. package/dist/{assets/index-yRqGUhvz.js → lite/assets/index-DUl6hczb.js} +1 -1
  274. package/dist/{assets/index-DSZyhv1D.js → lite/assets/index-DsSWFirV.js} +1 -1
  275. package/dist/lite/assets/{index-DyCGLVyV.js → index-DvQYEsdd.js} +2 -2
  276. package/dist/lite/assets/{index-legacy-ZKup1Jkn.js → index-legacy-BGUFxny_.js} +3 -3
  277. package/dist/{assets/index-legacy-KltvJBM4.js → lite/assets/index-legacy-BVQ2Muq9.js} +1 -1
  278. package/dist/lite/assets/{index-legacy-BqUCtjfV.js → index-legacy-BbfMcMsh.js} +1 -1
  279. package/dist/lite/assets/index-legacy-CH9QEyQP.js +1 -0
  280. package/dist/{assets/index-legacy-DDkguF-O.js → lite/assets/index-legacy-CXYN-DZC.js} +1 -1
  281. package/dist/lite/assets/{index-legacy-BSp_jupB.js → index-legacy-CwkvHJvM.js} +1 -1
  282. package/dist/{assets/index-legacy-DS1TXPDt.js → lite/assets/index-legacy-DVBgQjo3.js} +1 -1
  283. package/dist/lite/assets/index-legacy-DgbbakiJ.js +18 -0
  284. package/dist/lite/assets/{index-legacy-B-N9ZseE.js → index-legacy-DpAMCNat.js} +1 -1
  285. package/dist/lite/assets/{index-legacy-Bu7DMRmv.js → index-legacy-qD49SIrt.js} +1 -1
  286. package/dist/lite/assets/{index-Cuci44XH.js → index-xphpXrTh.js} +1 -1
  287. package/dist/{assets/indexes-w1aTyf-q.js → lite/assets/indexes-C2QGQEmM.js} +1 -1
  288. package/dist/{assets/indexes-legacy-BTfGF496.js → lite/assets/indexes-legacy-B2z54ovo.js} +1 -1
  289. package/dist/lite/assets/{ipa-DP-KYhse.js → ipa-CnPKZFr6.js} +1 -1
  290. package/dist/lite/assets/ipa-legacy-BlDuCd2E.js +1 -0
  291. package/dist/lite/assets/{markdown-dEC3QCQ2.js → markdown-DxDjLtUN.js} +1 -1
  292. package/dist/lite/assets/{markdown-legacy-Boenmgl3.js → markdown-legacy-CYi971Lb.js} +1 -1
  293. package/dist/lite/assets/{markdown_with_word_wrap-DH8eHI3P.js → markdown_with_word_wrap-CB62OhjT.js} +1 -1
  294. package/dist/lite/assets/{markdown_with_word_wrap-legacy-BvejNkI3.js → markdown_with_word_wrap-legacy-C0_4CoEM.js} +1 -1
  295. package/dist/lite/assets/offline_download-C_linla8.js +1 -0
  296. package/dist/lite/assets/{offline_download-legacy-p_DCiSw1.js → offline_download-legacy-DSbsfaZb.js} +1 -1
  297. package/dist/lite/assets/{pdf-Drdn5-wv.js → pdf-D6QoLlhP.js} +1 -1
  298. package/dist/lite/assets/{pdf-legacy-C4XkxLN7.js → pdf-legacy-CjwHF0EY.js} +1 -1
  299. package/dist/lite/assets/plist-CRAxeKkR.js +1 -0
  300. package/dist/lite/assets/{plist-legacy-DwWyqdzY.js → plist-legacy-CNhq75xq.js} +1 -1
  301. package/dist/lite/assets/{share-WVCIuMZr.js → share-BRMiJJnc.js} +1 -1
  302. package/dist/lite/assets/{share-legacy-BVad6nZ0.js → share-legacy-CrDD6m--.js} +1 -1
  303. package/dist/lite/assets/{storage-Ln5bQ9Jj.js → storage-D_MY-bv8.js} +1 -1
  304. package/dist/lite/assets/{storage-legacy-D0-cTYAq.js → storage-legacy-Dj_KTUH1.js} +1 -1
  305. package/dist/{assets/style-DjjbeCex.js → lite/assets/style-Cn-hRd7R.js} +1 -1
  306. package/dist/lite/assets/{style-legacy-BfMuJm2_.js → style-legacy-Dq2e2uFG.js} +1 -1
  307. package/dist/lite/assets/{text-editor-D7UFabmu.js → text-editor-CR6F0GfX.js} +1 -1
  308. package/dist/{assets/text-editor-legacy-xsXJ3Ia3.js → lite/assets/text-editor-legacy-BBFHTJOG.js} +1 -1
  309. package/dist/lite/assets/{url-DUHdU0yR.js → url-B3NbGwyf.js} +1 -1
  310. package/dist/lite/assets/{url-legacy-DHeGylTK.js → url-legacy-DUCG7ifk.js} +1 -1
  311. package/dist/lite/assets/{useTitle-Dh-Pxw36.js → useTitle-BClow7LS.js} +1 -1
  312. package/dist/lite/assets/{useTitle-legacy-C1HWSdYr.js → useTitle-legacy-Ck1as0cr.js} +1 -1
  313. package/dist/lite/assets/video-iFR4ftvJ.js +7 -0
  314. package/dist/lite/assets/video-legacy-BM-JOgVh.js +9 -0
  315. package/dist/{assets/video360-CV5b8UFP.js → lite/assets/video360-i_8Dd5B7.js} +1 -1
  316. package/dist/lite/assets/{video360-legacy-qc4Lesqq.js → video360-legacy-Cee-gJAm.js} +1 -1
  317. package/dist/lite/assets/video_box-3TB8GlFk.js +6 -0
  318. package/dist/lite/assets/video_box-legacy-PmY7yzTM.js +1 -0
  319. package/dist/lite/i18n.tar.gz +0 -0
  320. package/dist/lite/index.html +2 -2
  321. package/package.json +1 -1
  322. package/dist/assets/Decompress-D6J5mZmX.js +0 -1
  323. package/dist/assets/Grid-D4kpsoUh.js +0 -1
  324. package/dist/assets/Grid-legacy-DyUKe7bQ.js +0 -1
  325. package/dist/assets/Layout-DJMWDycc.js +0 -6
  326. package/dist/assets/Layout-legacy-CjghOd32.js +0 -6
  327. package/dist/assets/List-CTOk2d4m.js +0 -1
  328. package/dist/assets/List-legacy-IzZZFROW.js +0 -1
  329. package/dist/assets/Metas-legacy-BMQ38nt3.js +0 -1
  330. package/dist/assets/PublicKeys-Bmh37XmH.js +0 -1
  331. package/dist/assets/Shares-WdL8c7Sh.js +0 -1
  332. package/dist/assets/Shares-legacy-DT0u0YdD.js +0 -1
  333. package/dist/assets/Users-BJ6Mg5jK.js +0 -1
  334. package/dist/assets/aliyun_video-BAez-Nd0.js +0 -1
  335. package/dist/assets/aliyun_video-legacy-RehDwg_I.js +0 -1
  336. package/dist/assets/entry-Bmz-OIH1.js +0 -1
  337. package/dist/assets/entry-C3niDQ6e.js +0 -1
  338. package/dist/assets/entry-legacy-C9EzaIT_.js +0 -1
  339. package/dist/assets/entry-legacy-Dy6hZkgE.js +0 -1
  340. package/dist/assets/helper-aw8_TacA.js +0 -1
  341. package/dist/assets/helper-legacy-CK8yvLIc.js +0 -1
  342. package/dist/assets/hls-BieG3Go3.js +0 -6
  343. package/dist/assets/hls-legacy-D8-R03Q8.js +0 -8
  344. package/dist/assets/icon-BHLI6ipM.js +0 -1
  345. package/dist/assets/icon-legacy-CgGKXaZ7.js +0 -1
  346. package/dist/assets/index-jlq2Eprg.js +0 -1
  347. package/dist/assets/index-legacy-COsLKAT0.js +0 -18
  348. package/dist/assets/index-legacy-DSLZNPxK.js +0 -1
  349. package/dist/assets/ipa-legacy-CX-KZW9S.js +0 -1
  350. package/dist/assets/offline_download-9S_MVKlk.js +0 -1
  351. package/dist/assets/plist-BfuLrOaV.js +0 -1
  352. package/dist/assets/video-Bm4wQYfw.js +0 -7
  353. package/dist/assets/video-legacy-nheuTH-v.js +0 -9
  354. package/dist/assets/video_box-ClNgqs0q.js +0 -6
  355. package/dist/assets/video_box-legacy-Dmg8R6zj.js +0 -8
  356. package/dist/lite/assets/Decompress-XJrFmeXJ.js +0 -1
  357. package/dist/lite/assets/Grid-10iut_Dk.js +0 -1
  358. package/dist/lite/assets/Grid-legacy-BGn9FMmp.js +0 -1
  359. package/dist/lite/assets/Layout-DX_q_tAO.js +0 -6
  360. package/dist/lite/assets/Layout-legacy-BC1cObb-.js +0 -6
  361. package/dist/lite/assets/List-Cv17z0Po.js +0 -1
  362. package/dist/lite/assets/List-legacy-D_AlmgGo.js +0 -1
  363. package/dist/lite/assets/Metas-legacy-CusFfxbn.js +0 -1
  364. package/dist/lite/assets/PublicKeys-BwFJGnGK.js +0 -1
  365. package/dist/lite/assets/Shares-ChIImU5T.js +0 -1
  366. package/dist/lite/assets/Shares-legacy-CgozQl5Q.js +0 -1
  367. package/dist/lite/assets/Users-zGBlk4q_.js +0 -1
  368. package/dist/lite/assets/aliyun_video-CV1o5aGc.js +0 -1
  369. package/dist/lite/assets/aliyun_video-legacy-C5O8pgpw.js +0 -1
  370. package/dist/lite/assets/entry-CzDPoMEK.js +0 -1
  371. package/dist/lite/assets/entry-EPg9s4dA.js +0 -1
  372. package/dist/lite/assets/entry-legacy-B221uB01.js +0 -1
  373. package/dist/lite/assets/entry-legacy-DyDgH5jW.js +0 -1
  374. package/dist/lite/assets/helper-legacy-CQI2LgPF.js +0 -1
  375. package/dist/lite/assets/helper-rYV8G9tK.js +0 -1
  376. package/dist/lite/assets/hls-BxpkA6ke.js +0 -6
  377. package/dist/lite/assets/hls-legacy-CRV7qw99.js +0 -8
  378. package/dist/lite/assets/icon-C_-dl6ym.js +0 -1
  379. package/dist/lite/assets/icon-legacy-B1zSbPkT.js +0 -1
  380. package/dist/lite/assets/index-CPeT-wnS.js +0 -1
  381. package/dist/lite/assets/index-legacy-Coo__kNa.js +0 -1
  382. package/dist/lite/assets/index-legacy-DfmxoxQC.js +0 -18
  383. package/dist/lite/assets/ipa-legacy-BhzoyUFI.js +0 -1
  384. package/dist/lite/assets/offline_download-D2uEZvl1.js +0 -1
  385. package/dist/lite/assets/plist-Dj7rEOZ6.js +0 -1
  386. package/dist/lite/assets/video-DzAfazMX.js +0 -7
  387. package/dist/lite/assets/video-legacy-Cg3m1FD_.js +0 -9
  388. package/dist/lite/assets/video_box-CZdpB5uX.js +0 -6
  389. package/dist/lite/assets/video_box-legacy-D4DvGejv.js +0 -8
@@ -1,4 +1,4 @@
1
- System.register([],function(e,t){"use strict";return{execute:function(){var n=document.createElement("style");n.textContent='.markdown-body{width:100%}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body .anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px}.markdown-body .anchor:focus{outline:none}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1b1f23;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' version=\'1.1\' width=\'16\' height=\'16\' aria-hidden=\'true\'%3E%3Cpath fill-rule=\'evenodd\' d=\'M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\'%3E%3C/path%3E%3C/svg%3E")}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#24292e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body details{display:block}.markdown-body summary{display:list-item}.markdown-body a{background-color:initial}.markdown-body a:active,.markdown-body a:hover{outline-width:0}.markdown-body strong{font-weight:inherit;font-weight:bolder}.markdown-body h1{font-size:2em;margin:.67em 0}.markdown-body img{border-style:none;max-width:100%;box-sizing:initial;display:initial}.markdown-body code,.markdown-body kbd,.markdown-body pre{font-family:monospace,monospace;font-size:1em}.markdown-body hr{box-sizing:initial;height:0;overflow:visible}.markdown-body input{font:inherit;margin:0}.markdown-body input{overflow:visible}.markdown-body [type=checkbox]{box-sizing:border-box;padding:0}.markdown-body *{box-sizing:border-box}.markdown-body input{font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body a{color:#0366d6;text-decoration:none}.markdown-body a:hover{text-decoration:underline}.markdown-body strong{font-weight:600}.markdown-body hr{height:0;margin:15px 0;overflow:hidden;background:transparent;border:0;border-bottom:1px solid #dfe2e5}.markdown-body hr:after,.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{clear:both}.markdown-body table{border-spacing:0;border-collapse:collapse}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:0;margin-bottom:0}.markdown-body h1{font-size:32px}.markdown-body h1,.markdown-body h2{font-weight:600}.markdown-body h2{font-size:24px}.markdown-body h3{font-size:20px}.markdown-body h3,.markdown-body h4{font-weight:600}.markdown-body h4{font-size:16px}.markdown-body h5{font-size:14px}.markdown-body h5,.markdown-body h6{font-weight:600}.markdown-body h6{font-size:12px}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0}.markdown-body ol,.markdown-body ul{padding-left:0;margin-top:0;margin-bottom:0}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code,.markdown-body pre{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:16px}.markdown-body pre{margin-top:0;margin-bottom:0}.markdown-body input::-webkit-inner-spin-button,.markdown-body input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.markdown-body :checked+.radio-label{position:relative;z-index:1;border-color:#0366d6}.markdown-body .border{border:1px solid #e1e4e8!important}.markdown-body .border-0{border:0!important}.markdown-body .border-bottom{border-bottom:1px solid #e1e4e8!important}.markdown-body .rounded-1{border-radius:3px!important}.markdown-body .bg-white{background-color:#fff!important}.markdown-body .bg-gray-light{background-color:#fafbfc!important}.markdown-body .text-gray-light{color:#6a737d!important}.markdown-body .my-2{margin-top:8px!important;margin-bottom:8px!important}.markdown-body .pl-3,.markdown-body .px-3{padding-left:16px!important}.markdown-body .px-3{padding-right:16px!important}.markdown-body .f6{font-size:12px!important}.markdown-body .lh-condensed{line-height:1.25!important}.markdown-body .text-bold{font-weight:600!important}.markdown-body .pl-c{color:#6a737d}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#005cc5}.markdown-body .pl-e,.markdown-body .pl-en{color:#6f42c1}.markdown-body .pl-s .pl-s1,.markdown-body .pl-smi{color:#24292e}.markdown-body .pl-ent{color:#22863a}.markdown-body .pl-k{color:#d73a49}.markdown-body .pl-pds,.markdown-body .pl-s,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre{color:#032f62}.markdown-body .pl-smw,.markdown-body .pl-v{color:#e36209}.markdown-body .pl-bu{color:#b31d28}.markdown-body .pl-ii{color:#fafbfc;background-color:#b31d28}.markdown-body .pl-c2{color:#fafbfc;background-color:#d73a49}.markdown-body .pl-c2:before{content:"^M"}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#22863a}.markdown-body .pl-ml{color:#735c0f}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#005cc5}.markdown-body .pl-mi{font-style:italic;color:#24292e}.markdown-body .pl-mb{font-weight:700;color:#24292e}.markdown-body .pl-md{color:#b31d28;background-color:#ffeef0}.markdown-body .pl-mi1{color:#22863a;background-color:#f0fff4}.markdown-body .pl-mc{color:#e36209;background-color:#ffebda}.markdown-body .pl-mi2{color:#f6f8fa;background-color:#005cc5}.markdown-body .pl-mdr{font-weight:700;color:#6f42c1}.markdown-body .pl-ba{color:#586069}.markdown-body .pl-sg{color:#959da5}.markdown-body .pl-corl{text-decoration:underline;color:#032f62}.markdown-body .mb-0{margin-bottom:0!important}.markdown-body .my-2{margin-bottom:8px!important}.markdown-body .my-2{margin-top:8px!important}.markdown-body .pl-0{padding-left:0!important}.markdown-body .py-0{padding-top:0!important;padding-bottom:0!important}.markdown-body .pl-1{padding-left:4px!important}.markdown-body .pl-2{padding-left:8px!important}.markdown-body .py-2{padding-top:8px!important;padding-bottom:8px!important}.markdown-body .pl-3{padding-left:16px!important}.markdown-body .pl-4{padding-left:24px!important}.markdown-body .pl-5{padding-left:32px!important}.markdown-body .pl-6{padding-left:40px!important}.markdown-body .pl-7{padding-left:48px!important}.markdown-body .pl-8{padding-left:64px!important}.markdown-body .pl-9{padding-left:80px!important}.markdown-body .pl-10{padding-left:96px!important}.markdown-body .pl-11{padding-left:112px!important}.markdown-body .pl-12{padding-left:128px!important}.markdown-body hr{border-bottom-color:#eee}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fafbfc;border:1px solid #d1d5da;border-radius:3px;box-shadow:inset 0 -1px #d1d5da}.markdown-body:after,.markdown-body:before{display:table;content:""}.markdown-body:after{clear:both}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body blockquote,.markdown-body details,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body hr{height:.25em;padding:0;margin:24px 0;background-color:#e1e4e8;border:0}.markdown-body blockquote{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h1{font-size:2em}.markdown-body h1,.markdown-body h2{padding-bottom:.3em;border-bottom:1px solid #eaecef}.markdown-body h2{font-size:1.5em}.markdown-body h3{font-size:1.25em}.markdown-body h4{font-size:1em}.markdown-body h5{font-size:.875em}.markdown-body h6{font-size:.85em;color:#6a737d}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li{word-wrap:break-all}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table{display:block;width:100%;overflow:auto}.markdown-body table th{font-weight:600}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #dfe2e5}.markdown-body table tr{background-color:#fff;border-top:1px solid #c6cbd1}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body code{padding:.2em .4em;margin:0;font-size:85%;background-color:rgba(27,31,35,.05);border-radius:3px}.markdown-body pre{word-wrap:normal}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:90%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}.markdown-body pre code{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:initial;border:0}.markdown-body .commit-tease-sha{display:inline-block;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:90%;color:#444d56}.markdown-body .full-commit .btn-outline:not(:disabled):hover{color:#005cc5;border-color:#005cc5}.markdown-body .blob-wrapper{overflow-x:auto;overflow-y:hidden}.markdown-body .blob-wrapper-embedded{max-height:240px;overflow-y:auto}.markdown-body .blob-num{width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,.3);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markdown-body .blob-num:hover{color:rgba(27,31,35,.6)}.markdown-body .blob-num:before{content:attr(data-line-number)}.markdown-body .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.markdown-body .blob-code-inner{overflow:visible;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;color:#24292e;word-wrap:normal;white-space:pre}.markdown-body .pl-token.active,.markdown-body .pl-token:hover{cursor:pointer;background:#ffea7f}.markdown-body .tab-size[data-tab-size="1"]{-moz-tab-size:1;tab-size:1}.markdown-body .tab-size[data-tab-size="2"]{-moz-tab-size:2;tab-size:2}.markdown-body .tab-size[data-tab-size="3"]{-moz-tab-size:3;tab-size:3}.markdown-body .tab-size[data-tab-size="4"]{-moz-tab-size:4;tab-size:4}.markdown-body .tab-size[data-tab-size="5"]{-moz-tab-size:5;tab-size:5}.markdown-body .tab-size[data-tab-size="6"]{-moz-tab-size:6;tab-size:6}.markdown-body .tab-size[data-tab-size="7"]{-moz-tab-size:7;tab-size:7}.markdown-body .tab-size[data-tab-size="8"]{-moz-tab-size:8;tab-size:8}.markdown-body .tab-size[data-tab-size="9"]{-moz-tab-size:9;tab-size:9}.markdown-body .tab-size[data-tab-size="10"]{-moz-tab-size:10;tab-size:10}.markdown-body .tab-size[data-tab-size="11"]{-moz-tab-size:11;tab-size:11}.markdown-body .tab-size[data-tab-size="12"]{-moz-tab-size:12;tab-size:12}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{margin:0 .2em .25em -1.6em;vertical-align:middle}.hope-ui-dark .markdown-body{color:#f3f4f6}.hope-ui-dark .markdown-body a{color:#0284c7}.hope-ui-dark .markdown-body hr{border-bottom:1px solid #21262d;border-bottom-color:#21262d;background-color:#30363d}.hope-ui-dark .markdown-body kbd{color:#b1bac4;background-color:#0d1117;border:1px solid #6e7681;box-shadow:inset 0 -1px #6e7681}.hope-ui-dark .markdown-body :checked+.radio-label{border-color:rgba(56,139,253,.4)}.hope-ui-dark .markdown-body .border{border:1px solid #30363d!important}.hope-ui-dark .markdown-body .border-bottom{border-bottom:1px solid #30363d!important}.hope-ui-dark .markdown-body .bg-white,.hope-ui-dark .markdown-body .bg-gray-light{background-color:#0d1117!important}.hope-ui-dark .markdown-body .text-gray-light{color:#8b949e!important}.hope-ui-dark .markdown-body .pl-c{color:#8b949e}.hope-ui-dark .markdown-body .pl-c1,.hope-ui-dark .markdown-body .pl-s .pl-v{color:#79c0ff}.hope-ui-dark .markdown-body .pl-e,.hope-ui-dark .markdown-body .pl-en{color:#d2a8ff}.hope-ui-dark .markdown-body .pl-s .pl-s1,.hope-ui-dark .markdown-body .pl-smi{color:#c9d1d9}.hope-ui-dark .markdown-body .pl-ent{color:#7ee787}.hope-ui-dark .markdown-body .pl-k{color:#ff7b72}.hope-ui-dark .markdown-body .pl-pds,.hope-ui-dark .markdown-body .pl-s,.hope-ui-dark .markdown-body .pl-s .pl-pse .pl-s1,.hope-ui-dark .markdown-body .pl-sr,.hope-ui-dark .markdown-body .pl-sr .pl-cce,.hope-ui-dark .markdown-body .pl-sr .pl-sra,.hope-ui-dark .markdown-body .pl-sr .pl-sre{color:#a5d6ff}.hope-ui-dark .markdown-body .pl-smw,.hope-ui-dark .markdown-body .pl-v{color:#ffa657}.hope-ui-dark .markdown-body .pl-bu{color:#f85149}.hope-ui-dark .markdown-body .pl-ii{color:#f0f6fc;background-color:#8e1519}.hope-ui-dark .markdown-body .pl-c2{color:#f0f6fc;background-color:#b62324}.hope-ui-dark .markdown-body .pl-sr .pl-cce{color:#7ee787}.hope-ui-dark .markdown-body .pl-ml{color:#f2cc60}.hope-ui-dark .markdown-body .pl-mh,.hope-ui-dark .markdown-body .pl-mh .pl-en,.hope-ui-dark .markdown-body .pl-ms{color:#1f6feb}.hope-ui-dark .markdown-body .pl-mi,.hope-ui-dark .markdown-body .pl-mb{color:#c9d1d9}.hope-ui-dark .markdown-body .pl-md{color:#ffdcd7;background-color:#67060c}.hope-ui-dark .markdown-body .pl-mi1{color:#aff5b4;background-color:#033a16}.hope-ui-dark .markdown-body .pl-mc{color:#ffdfb6;background-color:#5a1e02}.hope-ui-dark .markdown-body .pl-mi2{color:#c9d1d9;background-color:#1158c7}.hope-ui-dark .markdown-body .pl-mdr{color:#d2a8ff}.hope-ui-dark .markdown-body .pl-ba{color:#8b949e}.hope-ui-dark .markdown-body .pl-sg{color:#484f58}.hope-ui-dark .markdown-body .pl-corl{color:#a5d6ff}.hope-ui-dark .markdown-body blockquote{color:#8b949e;border-left:.25em solid #3b434b}.hope-ui-dark .markdown-body h1,.hope-ui-dark .markdown-body h2{border-bottom:1px solid #21262d}.hope-ui-dark .markdown-body h6{color:#8b949e}.hope-ui-dark .markdown-body table td,.hope-ui-dark .markdown-body table th{border:1px solid #3b434b}.hope-ui-dark .markdown-body table tr{background-color:#0d1117;border-top:1px solid #272c32}.hope-ui-dark .markdown-body table tr:nth-child(2n){background-color:#161b22}.hope-ui-dark .markdown-body .highlight pre,.hope-ui-dark .markdown-body pre{background-color:#1f1f22}.hope-ui-dark .markdown-body .commit-tease-sha{color:#b1bac4}.hope-ui-dark .markdown-body .blob-num{color:rgba(240,246,252,.3)}.hope-ui-dark .markdown-body .blob-num:hover{color:rgba(240,246,252,.6)}.hope-ui-dark .markdown-body .blob-code-inner{color:#c9d1d9}.hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#f8f8f8}.hope-ui-dark .hljs{color:rgba(255,255,255,.92)}.hljs-comment,.hljs-quote{color:#998;font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-subst{color:#333;font-weight:700}.hope-ui-dark .hljs-keyword,.hope-ui-dark .hljs-selector-tag,.hope-ui-dark .hljs-subst{color:rgba(255,255,255,.92)}.hljs-literal,.hljs-number,.hljs-tag .hljs-attr,.hljs-template-variable,.hljs-variable{color:teal}.hljs-doctag,.hljs-string{color:#d14}.hope-ui-dark .hljs-doctag,.hope-ui-dark .hljs-string{color:#fc8181}.hljs-section,.hljs-selector-id,.hljs-title{color:#900;font-weight:700}.hope-ui-dark .hljs-section,.hope-ui-dark .hljs-selector-id,.hope-ui-dark .hljs-title{color:#f56565}.hljs-subst{font-weight:400}.hljs-class .hljs-title,.hljs-type{color:#458;font-weight:700}.hope-ui-dark .hljs-class .hljs-title,.hope-ui-dark .hljs-type{color:#9f7aea}.hljs-attribute,.hljs-name,.hljs-tag{color:navy;font-weight:400}.hope-ui-dark .hljs-attribute,.hope-ui-dark .hljs-name,.hope-ui-dark .hljs-tag{color:#63b3ed}.hljs-link,.hljs-regexp{color:#009926}.hljs-bullet,.hljs-symbol{color:#990073}.hljs-built_in,.hljs-builtin-name{color:#0086b3}.hope-ui-dark .hljs-built_in,.hope-ui-dark .hljs-builtin-name{color:#00c5ff}.hljs-meta{color:#999;font-weight:700}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.markdown-body.word-wrap code{white-space:break-spaces;word-break:break-all}.katex-display .frac-line{border-bottom-width:.04em}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}::-webkit-scrollbar-thumb{border-radius:2px;background-color:rgba(0,0,0,.3)}::-webkit-scrollbar-button:vertical{display:none}::-webkit-scrollbar-thumb:vertical:hover{background-color:rgba(0,0,0,.35)}::-webkit-scrollbar-thumb:vertical:active{background-color:rgba(0,0,0,.38)}.hope-ui-dark ::-webkit-scrollbar-corner,.hope-ui-dark ::-webkit-scrollbar-track{background-color:#0f0f0f}.hope-ui-dark ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.hope-ui-dark ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.hope-ui-dark ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.hope-select__option{flex-shrink:0}\n/*$vite$:1*/',document.head.appendChild(n),e({B:k,C:A,D:pe,E:fu,F:lu,G:nu,H:wu,I:Wu,J:au,K:Bl,L:Zc,M:mu,N:D,O:C,Q:be,R:ke,S:Te,T:uf,W:nc,X:oc,Z:function(e){e=be({inactiveClass:"inactive",activeClass:"active"},e);const[,t]=ve(e,["href","state","class","activeClass","inactiveClass","end"]),n=Ct(()=>e.href),r=xt(n),o=It(),i=C(()=>{const t=n();if(void 0===t)return!1;const r=ft(t.split(/[?#]/,1)[0]).toLowerCase(),i=ft(o.pathname).toLowerCase();return e.end?r===i:i.startsWith(r)});return Ve(a=Bt(),be(t,{get href(){return r()||e.href},get state(){return JSON.stringify(e.state)},get classList(){return{...e.class&&{[e.class]:!0},[e.inactiveClass]:!i(),[e.activeClass]:i(),...t.classList}},get"aria-current"(){return i()?"page":void 0}}),!1,!1),a;var a},a0:ac,a1:Jl,a2:ys,a7:Ie,a8:we,a9:Ae,aA:Hu,aC:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5v-3zm8 0A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5v-3zm-8 8A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5v-3zm8 0A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5v-3z"/>'},e)},aD:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/><path d="M1.5 2A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13zm13 1a.5.5 0 0 1 .5.5v6l-3.775-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062L1.002 12v.54A.505.505 0 0 1 1 12.5v-9a.5.5 0 0 1 .5-.5h13z"/>'},e)},aF:cd,aG:bd,aI:ct,aJ:od,aK:Uu,aM:Fs,aN:QR,aP:Yu,aR:cc,aS:k_,aT:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z"/><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"/>'},e)},aU:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path fill="currentColor" fill-opacity="0.09" d="M292.7 840h438.6l24.2-512h-487z"/><path d="M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z"/>'},e)},aV:hf,aY:ff,aZ:Ke,ae:ye,ag:af,ah:Ud,aj:N,am:x,ap:function(e){const[n,r]=k("utf-8"),[o,i]=k(!0),{isString:a,text:s}=CE(e.children),{pathname:l}=Wy(),c=C(()=>{let t=(t=>e.ext&&"md"!==e.ext.toLocaleLowerCase()?"```"+e.ext+"\n"+t+"\n```":t)(s(n()));return t=t.replace(/!\[.*?\]\((.*?)\)/g,t=>{const n=t.match(/!\[(.*?)\]\(.*?\)/)[1];let r=t.match(/!\[.*?\]\((.*?)\)/)[1];if(r.startsWith("data:image/"))return t;if(r.startsWith("http://")||r.startsWith("https://")||r.startsWith("//"))return t;r=r.startsWith("/")?`${wf}/d${r}`:`${wf}/d${Lf(p_().base_path,Nf(e.readme?l():Rf(l()),r))}`;const o=`![${n}](${r})`;return console.log(o),o}),t}),[u,d]=k([$C]),[p,h]=k([ML]);A(N(c,async()=>{if(i(!1),/\$\$[\s\S]+?\$\$|\$[^$\n]+?\$/.test(c())){const{default:e}=await qy(async()=>{const{default:e}=await t.import("./index-legacy-Be_E5yrL.js");return{default:e}},void 0),{default:n}=await qy(async()=>{const{default:e}=await t.import("./index-legacy-B-N9ZseE.js");return{default:e}},void 0);bR(),d([...u(),e]),h([...p(),n])}vR(),setTimeout(()=>{i(!0),L_.highlightAll(),window.mermaid&&window.mermaid.run({querySelector:".language-mermaid"}),window.onMDRender&&window.onMDRender()})}));const[f,g]=k();return pe(As,{ref:e=>g(e),class:"markdown",pos:"relative",w:"$full",get children(){return[pe(Te,{get when(){return o()},get children(){return pe(Rw,{get class(){return function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=PL(e))&&(r&&(r+=" "),r+=t);return r}("markdown-body",e.class)},get remarkPlugins(){return u()},get rehypePlugins(){return p()},get children(){return c()}})}}),pe(Te,{when:!a,get children(){return pe(XR,{get encoding(){return n()},setEncoding:r,get referenceText(){return e.children}})}}),pe(fR,{get disabled(){return!e.toc},get markdownRef(){return f()}})]}})},as:Yc,au:L,aw:zd,ax:He,ay:hl,az:_d,b:kO,b$:ku,b2:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="M518.3 459a8 8 0 0 0-12.6 0l-112 141.7a7.98 7.98 0 0 0 6.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"/><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"/>'},e)},b4:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M421.83 293.82A144 144 0 0 0 218.18 90.17"/><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M353.94 225.94a48 48 0 0 0-67.88-67.88"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M192 464 192 416"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M90.18 421.82 124.12 387.88"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M48 320 96 320"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M286.06 158.06 172.92 271.19a32 32 0 0 1-45.25 0L105 248.57a32 32 0 0 1 0-45.26L218.18 90.17M421.83 293.82 308.69 407a32 32 0 0 1-45.26 0l-22.62-22.63a32 32 0 0 1 0-45.26l113.13-113.17"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M139.6 169.98 207.48 237.87"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M275.36 305.75 343.25 373.63"/>'},e)},b8:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="m924.8 625.7-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 0 0 9.3-35.2l-.9-2.6a443.74 443.74 0 0 0-79.7-137.9l-1.8-2.1a32.12 32.12 0 0 0-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 0 0-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 0 0-25.8 25.7l-15.8 85.4a351.86 351.86 0 0 0-99 57.4l-81.9-29.1a32 32 0 0 0-35.1 9.5l-1.8 2.1a446.02 446.02 0 0 0-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 0 0-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0 0 35.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0 0 25.8 25.7l2.7.5a449.4 449.4 0 0 0 159 0l2.7-.5a32.05 32.05 0 0 0 25.8-25.7l15.7-85a350 350 0 0 0 99.7-57.6l81.3 28.9a32 32 0 0 0 35.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 0 1-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 0 1-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 0 1 512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 0 1 400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 0 1 624 502c0 29.9-11.7 58-32.8 79.2z"/>'},e)},bD:function(e){const t=bs().Drawer,[,n]=ve(e,["opened","onClose","placement","size","fullHeight","disableMotion"]),[r]=nn({get placement(){var n,r,o,i;return null!=(i=null!=(o=e.placement)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.placement)?i:"right"},get size(){var n,r,o,i;return null!=(i=null!=(o=e.size)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.size)?i:"xs"},get fullHeight(){var n,r,o,i;return null!=(i=null!=(o=e.fullHeight)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.fullHeight)&&i},get disableMotion(){var n,r,o,i;return null!=(i=null!=(o=e.disableMotion)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.disableMotion)&&i}});return pe(cu.Provider,{value:r,get children(){return pe(Zc,be({scrollBehavior:"inside",get blockScrollOnMount(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.blockScrollOnMount},get closeOnEsc(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.closeOnEsc},get closeOnOverlayClick(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.closeOnOverlayClick},get preserveScrollBarGap(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.preserveScrollBarGap},get trapFocus(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.trapFocus},get opened(){return e.opened},get onClose(){return e.onClose}},n))}})},bE:xu,bF:Rp,bH:ch,bI:th,bJ:ph,bK:Up,bL:$p,bM:Gp,bN:Vp,bO:Jp,bP:Qp,bQ:Ih,bR:wc,bT:O,bV:nn,bZ:lt,bc:Bc,bk:function(e){const[t,n,r]=ve(e,["children","placeholder"],["variant","size","offset","id","multiple","value","defaultValue","required","disabled","invalid","readOnly","onChange","onFocus","onBlur"]);return pe(Rp,be(n,{get children(){return[pe(ch,be(r,{get children(){return[pe(Te,{get when(){return t.placeholder},get children(){return pe(th,{get children(){return t.placeholder}})}}),pe(ph,{}),pe(Up,{})]}})),pe($p,{get children(){return pe(Gp,{get children(){return t.children}})}})]}}))},bl:function(e){const[t,n]=ve(e,["children","value"]);return pe(Vp,be({get value(){return t.value}},n,{get children(){return[pe(Jp,{get children(){return t.children}}),pe(Qp,{})]}}))},bo:_p,bp:xp,bs:SR,bu:ou,bv:_u,bw:yu,bx:function(e){var t,n,r,o,i,a,s,l;const c=bs().Drawer,u={"aria-label":null!=(r=null==(n=null==(t=null==c?void 0:c.defaultProps)?void 0:t.closeButton)?void 0:n["aria-label"])?r:"Close drawer",size:null!=(a=null==(i=null==(o=null==c?void 0:c.defaultProps)?void 0:o.closeButton)?void 0:i.size)?a:"md",icon:null==(l=null==(s=null==c?void 0:c.defaultProps)?void 0:s.closeButton)?void 0:l.icon},d=be(u,e);return pe(ou,be({get __baseStyle(){var e;return null==(e=null==c?void 0:c.baseStyle)?void 0:e.closeButton}},d))},by:function(e){const t=bs().Drawer;return pe(lu,be({get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.header}},e))},bz:function(e){const t=bs().Drawer;return pe(nu,be({get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.body}},e))},c$:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.188 10H7V6.5h1.188a1.75 1.75 0 1 1 0 3.5z"/><path d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zM7 5.5a1 1 0 0 0-1 1V13a.5.5 0 0 0 1 0v-2h1.188a2.75 2.75 0 0 0 0-5.5H7z"/>'},e)},c0:Fu,c1:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.06 6.5a.5.5 0 0 1 .5.5v.776a11.5 11.5 0 0 1-.552 3.519l-1.331 4.14a.5.5 0 0 1-.952-.305l1.33-4.141a10.5 10.5 0 0 0 .504-3.213V7a.5.5 0 0 1 .5-.5Z"/><path d="M6.06 7a2 2 0 1 1 4 0 .5.5 0 1 1-1 0 1 1 0 1 0-2 0v.332c0 .409-.022.816-.066 1.221A.5.5 0 0 1 6 8.447c.04-.37.06-.742.06-1.115V7Zm3.509 1a.5.5 0 0 1 .487.513 11.5 11.5 0 0 1-.587 3.339l-1.266 3.8a.5.5 0 0 1-.949-.317l1.267-3.8a10.5 10.5 0 0 0 .535-3.048A.5.5 0 0 1 9.569 8Zm-3.356 2.115a.5.5 0 0 1 .33.626L5.24 14.939a.5.5 0 1 1-.955-.296l1.303-4.199a.5.5 0 0 1 .625-.329Z"/><path d="M4.759 5.833A3.501 3.501 0 0 1 11.559 7a.5.5 0 0 1-1 0 2.5 2.5 0 0 0-4.857-.833.5.5 0 1 1-.943-.334Zm.3 1.67a.5.5 0 0 1 .449.546 10.72 10.72 0 0 1-.4 2.031l-1.222 4.072a.5.5 0 1 1-.958-.287L4.15 9.793a9.72 9.72 0 0 0 .363-1.842.5.5 0 0 1 .546-.449Zm6 .647a.5.5 0 0 1 .5.5c0 1.28-.213 2.552-.632 3.762l-1.09 3.145a.5.5 0 0 1-.944-.327l1.089-3.145c.382-1.105.578-2.266.578-3.435a.5.5 0 0 1 .5-.5Z"/><path d="M3.902 4.222a4.996 4.996 0 0 1 5.202-2.113.5.5 0 0 1-.208.979 3.996 3.996 0 0 0-4.163 1.69.5.5 0 0 1-.831-.556Zm6.72-.955a.5.5 0 0 1 .705-.052A4.99 4.99 0 0 1 13.059 7v1.5a.5.5 0 1 1-1 0V7a3.99 3.99 0 0 0-1.386-3.028.5.5 0 0 1-.051-.705ZM3.68 5.842a.5.5 0 0 1 .422.568c-.029.192-.044.39-.044.59 0 .71-.1 1.417-.298 2.1l-1.14 3.923a.5.5 0 1 1-.96-.279L2.8 8.821A6.531 6.531 0 0 0 3.058 7c0-.25.019-.496.054-.736a.5.5 0 0 1 .568-.422Zm8.882 3.66a.5.5 0 0 1 .456.54c-.084 1-.298 1.986-.64 2.934l-.744 2.068a.5.5 0 0 1-.941-.338l.745-2.07a10.51 10.51 0 0 0 .584-2.678.5.5 0 0 1 .54-.456Z"/><path d="M4.81 1.37A6.5 6.5 0 0 1 14.56 7a.5.5 0 1 1-1 0 5.5 5.5 0 0 0-8.25-4.765.5.5 0 0 1-.5-.865Zm-.89 1.257a.5.5 0 0 1 .04.706A5.478 5.478 0 0 0 2.56 7a.5.5 0 0 1-1 0c0-1.664.626-3.184 1.655-4.333a.5.5 0 0 1 .706-.04ZM1.915 8.02a.5.5 0 0 1 .346.616l-.779 2.767a.5.5 0 1 1-.962-.27l.778-2.767a.5.5 0 0 1 .617-.346Zm12.15.481a.5.5 0 0 1 .49.51c-.03 1.499-.161 3.025-.727 4.533l-.07.187a.5.5 0 0 1-.936-.351l.07-.187c.506-1.35.634-2.74.663-4.202a.5.5 0 0 1 .51-.49Z"/>'},e)},c2:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2.5 4a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm1 .5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/><path d="M2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2zm13 2v2H1V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zM2 14a1 1 0 0 1-1-1V6h14v7a1 1 0 0 1-1 1H2z"/>'},e)},c3:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M12.433 10.07C14.133 10.585 16 11.15 16 8a8 8 0 1 0-8 8c1.996 0 1.826-1.504 1.649-3.08-.124-1.101-.252-2.237.351-2.92.465-.527 1.42-.237 2.433.07zM8 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm4.5 3a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM5 6.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm.5 6.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>'},e)},c4:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M10.5 8.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z"/><path d="M2 4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.172a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 9.172 2H6.828a2 2 0 0 0-1.414.586l-.828.828A2 2 0 0 1 3.172 4H2zm.5 2a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm9 2.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0z"/>'},e)},c5:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M10 2a2 2 0 0 1-1.5 1.937v5.087c.863.083 1.5.377 1.5.726 0 .414-.895.75-2 .75s-2-.336-2-.75c0-.35.637-.643 1.5-.726V3.937A2 2 0 1 1 10 2z"/><path d="M0 9.665v1.717a1 1 0 0 0 .553.894l6.553 3.277a2 2 0 0 0 1.788 0l6.553-3.277a1 1 0 0 0 .553-.894V9.665c0-.1-.06-.19-.152-.23L9.5 6.715v.993l5.227 2.178a.125.125 0 0 1 .001.23l-5.94 2.546a2 2 0 0 1-1.576 0l-5.94-2.546a.125.125 0 0 1 .001-.23L6.5 7.708l-.013-.988L.152 9.435a.25.25 0 0 0-.152.23z"/>'},e)},c6:function(e){return k_({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/><path d="M10 17 15 12 10 7"/><path d="M15 12 3 12"/>'},e)},c7:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2.522 5H2a.5.5 0 0 0-.494.574l1.372 9.149A1.5 1.5 0 0 0 4.36 16h7.278a1.5 1.5 0 0 0 1.483-1.277l1.373-9.149A.5.5 0 0 0 14 5h-.522A5.5 5.5 0 0 0 2.522 5zm1.005 0a4.5 4.5 0 0 1 8.945 0H3.527zm9.892 1-1.286 8.574a.5.5 0 0 1-.494.426H4.36a.5.5 0 0 1-.494-.426L2.58 6h10.838z"/>'},e)},c8:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M4.5 5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zM3 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/><path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H8.5v3a1.5 1.5 0 0 1 1.5 1.5h5.5a.5.5 0 0 1 0 1H10A1.5 1.5 0 0 1 8.5 14h-1A1.5 1.5 0 0 1 6 12.5H.5a.5.5 0 0 1 0-1H6A1.5 1.5 0 0 1 7.5 10V7H2a2 2 0 0 1-2-2V4zm1 0v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1zm6 7.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5z"/>'},e)},c9:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M1 11.5a.5.5 0 0 0 .5.5h11.793l-3.147 3.146a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 11H1.5a.5.5 0 0 0-.5.5zm14-7a.5.5 0 0 1-.5.5H2.707l3.147 3.146a.5.5 0 1 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 1 1 .708.708L2.707 4H14.5a.5.5 0 0 1 .5.5z"/>'},e)},cA:function(e){if(!e)return"-";const t=1024;return e<t?e+"B":e<Math.pow(t,2)?(e/t).toFixed(2)+"K":e<Math.pow(t,3)?(e/Math.pow(t,2)).toFixed(2)+"M":e<Math.pow(t,4)?(e/Math.pow(t,3)).toFixed(2)+"G":(e/Math.pow(t,4)).toFixed(2)+"T"},cB:dp,cC:fp,cD:vs,cG:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.79 5.093A.5.5 0 0 0 6 5.5v5a.5.5 0 0 0 .79.407l3.5-2.5a.5.5 0 0 0 0-.814l-3.5-2.5z"/>'},e)},cJ:rr,cM:function(e){const t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate(),i=t.getHours(),a=t.getMinutes(),s=t.getSeconds();return n+"-"+dy(r)+"-"+dy(o)+" "+dy(i)+":"+dy(a)+":"+dy(s)},cO:function(e){const t=`hope-popover-${_e()}`,n=bs().Popover,[r,o]=nn({_opened:!!e.defaultOpened,isHovering:!1,headerMounted:!1,bodyMounted:!1,finalPlacement:"bottom",get isControlled(){return void 0!==e.opened},get opened(){return this.isControlled?!!e.opened:this._opened},get contentId(){var n;return null!=(n=e.id)?n:t},get triggerId(){return`${this.contentId}--trigger`},get headerId(){return`${this.contentId}--header`},get bodyId(){return`${this.contentId}--body`},get triggerMode(){var t;return null!=(t=e.triggerMode)?t:"click"},get triggerOnClick(){return"click"===this.triggerMode},get triggerOnHover(){return"hover"===this.triggerMode},get initialFocus(){return e.initialFocus},get inline(){var t;return null!=(t=e.inline)&&t},get initialPlacement(){var t,r,o,i;return null!=(i=null!=(o=e.placement)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.placement)?i:"bottom"},get offset(){var t,r,o,i;return null!=(i=null!=(o=e.offset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.offset)?i:8},get arrowPadding(){var t,r,o,i;return null!=(i=null!=(o=e.arrowPadding)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.arrowPadding)?i:8},get openDelay(){var t,r,o,i;return null!=(i=null!=(o=e.openDelay)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.openDelay)?i:0},get closeDelay(){var t,r,o,i;return null!=(i=null!=(o=e.closeDelay)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeDelay)?i:100},get motionPreset(){var t,r,o,i;return null!=(i=null!=(o=e.motionPreset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?i:"scale"},get closeOnBlur(){var t,r,o,i;return null==(i=null!=(o=e.closeOnBlur)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnBlur)||i},get closeOnEsc(){var t,r,o,i;return null==(i=null!=(o=e.closeOnEsc)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnEsc)||i},get trapFocus(){var t,r,o,i;return null!=(i=null!=(o=e.trapFocus)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.trapFocus)&&i}});let i,a,s,l,c,u,d,p;async function h(){var t,n,c;const u=null!=i?i:a;if(!u||!s)return;const d=[wo(r.offset)];r.inline&&d.push(xo()),d.push(_o()),d.push(Ao({padding:e.shiftPadding})),l&&d.push(fo({element:l,padding:r.arrowPadding})),d.push(To());const{x:p,y:h,placement:f,middlewareData:g}=await oi(u,s,{placement:r.initialPlacement,middleware:d});if(f!==r.finalPlacement&&o("finalPlacement",f),!s)return;const m=null==(t=g.hide)?void 0:t.referenceHidden;if(Object.assign(s.style,{left:`${Math.round(p)}px`,top:`${Math.round(h)}px`,visibility:m?"hidden":"visible"}),!l)return;const b=null==(n=g.arrow)?void 0:n.x,v=null==(c=g.arrow)?void 0:c.y,y={top:"bottom",right:"left",bottom:"top",left:"right"}[f.split("-")[0]],E=-1*(Math.round(l.clientWidth/2)+1)+"px";Object.assign(l.style,{left:null!=b?`${Math.round(b)}px`:"",top:null!=v?`${Math.round(v)}px`:"",right:"",bottom:"",[y]:E})}const f=()=>{var t;r.isControlled||o("_opened",!0),null==(t=e.onOpen)||t.call(e),h()},g=()=>{var t;r.isControlled||o("_opened",!1),null==(t=e.onClose)||t.call(e)},m=()=>{!r.isHovering&&g()},b=()=>{u&&window.clearTimeout(u),d=window.setTimeout(g,r.closeDelay)},v=()=>{if(!r.initialFocus)return void(null==s||s.focus());const e=document.querySelector(r.initialFocus);e&&function(e){if(!function(e){var t;if(!Cs(e))return!1;const n=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof n.HTMLElement}(e)||Vd(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in n?n[t]():!!function(e){const t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||qd(e)}(e)&&(null==e||e.focus())},y=()=>{_(!1),u&&window.clearTimeout(u),d=window.setTimeout(m,r.closeDelay)},E=y,_=e=>o("isHovering",e),S=()=>r.opened;D(()=>{window.clearTimeout(u),window.clearTimeout(d)});const k={state:r,assignAnchorRef:e=>{i=e},assignTriggerRef:e=>{a=e},assignPopoverRef:e=>{s=e},assignArrowRef:e=>{l=e},openWithDelay:()=>{u=window.setTimeout(f,r.openDelay)},closeWithDelay:b,onTriggerBlur:e=>{const t=Ns(e),n=!Is(s,t);r.opened&&r.closeOnBlur&&n&&b()},onTriggerMouseLeave:y,onPopoverFocusOut:e=>{const t=Ns(e),n=Is(s,t),o=Is(a,t),i=!n&&!o;r.opened&&r.closeOnBlur&&i&&b()},onPopoverMouseLeave:E,updatePopoverPosition:h,afterPopoverOpen:()=>{(()=>{const e=null!=i?i:a;e&&s&&(p=ri(e,s,h))})(),r.trapFocus&&s?(c=Jr(s,{initialFocus:r.initialFocus,fallbackFocus:`[id='${r.contentId}']`,allowOutsideClick:!1}),c.activate()):v()},afterPopoverClose:()=>{null==c||c.deactivate(),null==p||p()},setIsHovering:_,setHeaderMounted:e=>o("headerMounted",e),setBodyMounted:e=>o("bodyMounted",e)};return pe(Yd.Provider,{value:k,get children(){return pe(Te,{get when(){return Rs(e)},get fallback(){return e.children},get children(){var t;return null==(t=e.children)?void 0:t.call(e,{opened:S,onClose:b})}})}})},cP:function(e){const t=Kd(),[n,r]=ve(e,["ref","onClick","onKeyDown","onFocus","onBlur","onMouseEnter","onMouseLeave"]),o=e=>{vi(n.onClick,e),t.state.opened?t.closeWithDelay():t.openWithDelay()},i=e=>{vi(n.onKeyDown,e),"Escape"===e.key&&t.closeWithDelay()},a=e=>{vi(n.onFocus,e),t.openWithDelay()},s=e=>{yi(n.onBlur,t.onTriggerBlur)(e)},l=e=>{vi(n.onMouseEnter,e),t.setIsHovering(!0),t.openWithDelay()},c=e=>{vi(n.onMouseLeave,e),t.onTriggerMouseLeave()};return pe(ws.button,be({ref:e=>{t.assignTriggerRef(e),mi(n.ref)?n.ref(e):n.ref=e},get id(){return t.state.triggerId},type:"button","aria-haspopup":"dialog",get"aria-controls"(){return t.state.contentId},get"aria-expanded"(){return t.state.opened},get onClick(){return t.state.triggerOnClick?o:void 0},get onKeyDown(){return t.state.triggerOnHover?i:void 0},get onFocus(){return t.state.triggerOnHover?a:void 0},get onBlur(){return t.state.triggerOnHover?s:void 0},get onMouseEnter(){return t.state.triggerOnHover?l:void 0},get onMouseLeave(){return t.state.triggerOnHover?c:void 0}},r))},cQ:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2 2h2v2H2V2Z"/><path d="M6 0v6H0V0h6ZM5 1H1v4h4V1ZM4 12H2v2h2v-2Z"/><path d="M6 10v6H0v-6h6Zm-5 1v4h4v-4H1Zm11-9h2v2h-2V2Z"/><path d="M10 0v6h6V0h-6Zm5 1v4h-4V1h4ZM8 1V0h1v2H8v2H7V1h1Zm0 5V4h1v2H8ZM6 8V7h1V6h1v2h1V7h5v1h-4v1H7V8H6Zm0 0v1H2V8H1v1H0V7h3v1h3Zm10 1h-1V7h1v2Zm-1 0h-1v2h2v-1h-1V9Zm-4 0h2v1h-1v1h-1V9Zm2 3v-1h-1v1h-1v1H9v1h3v-2h1Zm0 0h3v1h-2v1h-1v-2Zm-4-1v1h1v-2H7v1h2Z"/><path d="M7 12h1v3h4v1H7v-4Zm9 2v2h-3v-1h2v-1h1Z"/>'},e)},cR:tp,cS:Qd,cT:Jd,cX:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path d="M496 152a56 56 0 0 0-56-56H220.11a23.89 23.89 0 0 1-13.31-4L179 73.41A55.77 55.77 0 0 0 147.89 64H72a56 56 0 0 0-56 56v48a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8ZM16 392a56 56 0 0 0 56 56h368a56 56 0 0 0 56-56V216a8 8 0 0 0-8-8H24a8 8 0 0 0-8 8Z"/>'},e)},cY:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"/>'},e)},cZ:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.785 9.896A3.001 3.001 0 0 0 8 4a3 3 0 0 0-.891 5.865c.667-.44 1.396-.91 1.955-1.268.224-.144.483.115.34.34l-.62.96ZM9 7a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/><path d="M4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4Zm9 1.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm0 13a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm-9.5.5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1ZM4 1.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2.882 11.177a1.102 1.102 0 0 1-1.56-1.559c.1-.098.396-.314.795-.588a4 4 0 1 1 1.946.47c-.537.813-1.02 1.515-1.181 1.677Z"/>'},e)},c_:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M5.523 12.424c.14-.082.293-.162.459-.238a7.878 7.878 0 0 1-.45.606c-.28.337-.498.516-.635.572a.266.266 0 0 1-.035.012.282.282 0 0 1-.026-.044c-.056-.11-.054-.216.04-.36.106-.165.319-.354.647-.548zm2.455-1.647c-.119.025-.237.05-.356.078a21.148 21.148 0 0 0 .5-1.05 12.045 12.045 0 0 0 .51.858c-.217.032-.436.07-.654.114zm2.525.939a3.881 3.881 0 0 1-.435-.41c.228.005.434.022.612.054.317.057.466.147.518.209a.095.095 0 0 1 .026.064.436.436 0 0 1-.06.2.307.307 0 0 1-.094.124.107.107 0 0 1-.069.015c-.09-.003-.258-.066-.498-.256zM8.278 6.97c-.04.244-.108.524-.2.829a4.86 4.86 0 0 1-.089-.346c-.076-.353-.087-.63-.046-.822.038-.177.11-.248.196-.283a.517.517 0 0 1 .145-.04c.013.03.028.092.032.198.005.122-.007.277-.038.465z"/><path fill-rule="evenodd" d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zM4.165 13.668c.09.18.23.343.438.419.207.075.412.04.58-.03.318-.13.635-.436.926-.786.333-.401.683-.927 1.021-1.51a11.651 11.651 0 0 1 1.997-.406c.3.383.61.713.91.95.28.22.603.403.934.417a.856.856 0 0 0 .51-.138c.155-.101.27-.247.354-.416.09-.181.145-.37.138-.563a.844.844 0 0 0-.2-.518c-.226-.27-.596-.4-.96-.465a5.76 5.76 0 0 0-1.335-.05 10.954 10.954 0 0 1-.98-1.686c.25-.66.437-1.284.52-1.794.036-.218.055-.426.048-.614a1.238 1.238 0 0 0-.127-.538.7.7 0 0 0-.477-.365c-.202-.043-.41 0-.601.077-.377.15-.576.47-.651.823-.073.34-.04.736.046 1.136.088.406.238.848.43 1.295a19.697 19.697 0 0 1-1.062 2.227 7.662 7.662 0 0 0-1.482.645c-.37.22-.699.48-.897.787-.21.326-.275.714-.08 1.103z"/>'},e)},ca:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.025 8c0 2.485-2.02 4.5-4.513 4.5A4.506 4.506 0 0 1 0 8c0-2.486 2.02-4.5 4.512-4.5A4.506 4.506 0 0 1 9.025 8zm4.95 0c0 2.34-1.01 4.236-2.256 4.236-1.246 0-2.256-1.897-2.256-4.236 0-2.34 1.01-4.236 2.256-4.236 1.246 0 2.256 1.897 2.256 4.236zM16 8c0 2.096-.355 3.795-.794 3.795-.438 0-.793-1.7-.793-3.795 0-2.096.355-3.795.794-3.795.438 0 .793 1.699.793 3.795z"/>'},e)},cb:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z"/>'},e)},cc:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M8 0a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 4.095 0 5.555 0 7.318 0 9.366 1.708 11 3.781 11H7.5V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V11h4.188C14.502 11 16 9.57 16 7.773c0-1.636-1.242-2.969-2.834-3.194C12.923 1.999 10.69 0 8 0zm-.5 14.5V11h1v3.5a.5.5 0 0 1-1 0z"/>'},e)},cd:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path d="M408 480H184a72 72 0 0 1-72-72V184a72 72 0 0 1 72-72h224a72 72 0 0 1 72 72v224a72 72 0 0 1-72 72Z"/><path d="M160 80h235.88A72.12 72.12 0 0 0 328 32H104a72 72 0 0 0-72 72v224a72.12 72.12 0 0 0 48 67.88V160a80 80 0 0 1 80-80Z"/>'},e)},ce:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M176 112 256 32 336 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M255.98 32 256 480"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M176 400 256 480 336 400"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M400 176 480 256 400 336"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M112 176 32 256 112 336"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M32 256 480 256"/>'},e)},cf:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/><path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"/>'},e)},cg:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M0 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2H2a2 2 0 0 1-2-2V2zm5 10v2a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2v5a2 2 0 0 1-2 2H5z"/>'},e)},ch:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path d="M261.56 101.28a8 8 0 0 0-11.06 0L66.4 277.15a8 8 0 0 0-2.47 5.79L63.9 448a32 32 0 0 0 32 32H192a16 16 0 0 0 16-16V328a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8v136a16 16 0 0 0 16 16h96.06a32 32 0 0 0 32-32V282.94a8 8 0 0 0-2.47-5.79Z"/><path d="m490.91 244.15-74.8-71.56V64a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v32l-57.92-55.38C272.77 35.14 264.71 32 256 32c-8.68 0-16.72 3.14-22.14 8.63l-212.7 203.5c-6.22 6-7 15.87-1.34 22.37A16 16 0 0 0 43 267.56L250.5 69.28a8 8 0 0 1 11.06 0l207.52 198.28a16 16 0 0 0 22.59-.44c6.14-6.36 5.63-16.86-.76-22.97Z"/>'},e)},ci:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path d="M336 376V272H191a16 16 0 0 1 0-32h145V136a56.06 56.06 0 0 0-56-56H88a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h192a56.06 56.06 0 0 0 56-56ZM425.37 272l-52.68 52.69a16 16 0 0 0 22.62 22.62l80-80a16 16 0 0 0 0-22.62l-80-80a16 16 0 0 0-22.62 22.62L425.37 240H336v32Z"/>'},e)},co:w,cp:Ue,cr:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"/>'},e)},cs:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z"/>'},e)},ct:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"/>'},e)},cu:function(e){return k_({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/>'},e)},cv:yf,cw:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path d="M63.28 202a15.29 15.29 0 0 1-7.7-2 14.84 14.84 0 0 1-5.52-20.46C69.34 147.36 128 72.25 256 72.25c55.47 0 104.12 14.57 144.53 43.29 33.26 23.57 51.9 50.25 60.78 63.1a14.79 14.79 0 0 1-4 20.79 15.52 15.52 0 0 1-21.24-4C420 172.32 371 102 256 102c-112.25 0-163 64.71-179.53 92.46A15 15 0 0 1 63.28 202Z"/><path d="M320.49 496a15.31 15.31 0 0 1-3.79-.43c-92.85-23-127.52-115.82-128.93-119.68l-.22-.85c-.76-2.68-19.39-66.33 9.21-103.61 13.11-17 33.05-25.72 59.38-25.72 24.48 0 42.14 7.61 54.28 23.36 10 12.86 14 28.72 17.87 44 8.13 31.82 14 48.53 47.79 50.25 14.84.75 24.59-7.93 30.12-15.32 14.95-20.15 17.55-53 6.28-82C398 228.57 346.61 158 256 158c-38.68 0-74.22 12.43-102.72 35.79-23.59 19.35-42.28 46.67-51.28 74.75-16.69 52.28 5.2 134.46 5.41 135.21A14.83 14.83 0 0 1 96.54 422a15.39 15.39 0 0 1-18.74-10.6c-1-3.75-24.38-91.4-5.1-151.82 21-65.47 85.81-131.47 183.33-131.47 45.07 0 87.65 15.32 123.19 44.25 27.52 22.5 50 52.72 61.76 82.93 14.95 38.57 10.94 81.86-10.19 110.14-14.08 18.86-34.13 28.72-56.34 27.65-57.86-2.9-68.26-43.29-75.84-72.75-7.8-30.22-12.79-44.79-42.58-44.79-16.36 0-27.85 4.5-35 13.82-9.75 12.75-10.51 32.68-9.43 47.14a152.44 152.44 0 0 0 5.1 29.79c2.38 6 33.37 82 107.59 100.39a14.88 14.88 0 0 1 11 18.11 15.36 15.36 0 0 1-14.8 11.21Z"/><path d="M201.31 489.14a15.5 15.5 0 0 1-11.16-4.71c-37.16-39-58.18-82.61-66.09-137.14V347c-4.44-36.1 2.06-87.21 33.91-122.35 23.51-25.93 56.56-39.11 98.06-39.11 49.08 0 87.65 22.82 111.7 65.89 17.45 31.29 20.91 62.47 21 63.75a15.07 15.07 0 0 1-13.65 16.4 15.26 15.26 0 0 1-16.79-13.29A154 154 0 0 0 340.43 265c-18.64-32.89-47-49.61-84.51-49.61-32.4 0-57.75 9.75-75.19 29-25.14 27.75-30 70.5-26.55 98.78 6.93 48.22 25.46 86.58 58.18 120.86a14.7 14.7 0 0 1-.76 21.11 15.44 15.44 0 0 1-10.29 4Z"/><path d="M372.5 446.18c-32.5 0-60.13-9-82.24-26.89-44.42-35.79-49.4-94.08-49.62-96.54a15.27 15.27 0 0 1 30.45-2.36c.11.86 4.55 48.54 38.79 76 20.26 16.18 47.34 22.6 80.71 18.85a15.2 15.2 0 0 1 16.91 13.18 14.92 14.92 0 0 1-13.44 16.5 187 187 0 0 1-21.56 1.26ZM398.18 48.79C385.5 40.54 340.54 16 256 16c-88.74 0-133.81 27.11-143.78 34a11.59 11.59 0 0 0-1.84 1.4.36.36 0 0 1-.22.1 14.87 14.87 0 0 0-5.09 11.15 15.06 15.06 0 0 0 15.31 14.85 15.56 15.56 0 0 0 8.88-2.79c.43-.32 39.22-28.82 126.77-28.82S382.58 74.29 383 74.5a15.25 15.25 0 0 0 9.21 3 15.06 15.06 0 0 0 15.29-14.89 14.9 14.9 0 0 0-9.32-13.82Z"/>'},e)},cy:Hd,cz:Gl,d:Ix,d$:function(e){const{proxyLink:t}=vE();return x("",async()=>{let n=t(LE.obj,!0);if(e){const e=n.includes("?")?"&":"?";n=`${n}${e}raw=true`}return Sy(n)})},d0:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.884 6.68 8 9.219l2.116-2.54a.5.5 0 1 1 .768.641L8.651 10l2.233 2.68a.5.5 0 0 1-.768.64L8 10.781l-2.116 2.54a.5.5 0 0 1-.768-.641L7.349 10 5.116 7.32a.5.5 0 1 1 .768-.64z"/>'},e)},d1:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.485 6.879l1.036 4.144.997-3.655a.5.5 0 0 1 .964 0l.997 3.655 1.036-4.144a.5.5 0 0 1 .97.242l-1.5 6a.5.5 0 0 1-.967.01L8 9.402l-1.018 3.73a.5.5 0 0 1-.967-.01l-1.5-6a.5.5 0 1 1 .97-.242z"/>'},e)},d2:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM6 6.883a.5.5 0 0 1 .757-.429l3.528 2.117a.5.5 0 0 1 0 .858l-3.528 2.117a.5.5 0 0 1-.757-.43V6.884z"/>'},e)},d3:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm11.5 1a.5.5 0 0 0-.5.5v3.793L9.854 8.146a.5.5 0 1 0-.708.708l2 2a.5.5 0 0 0 .708 0l2-2a.5.5 0 0 0-.708-.708L12 9.293V5.5a.5.5 0 0 0-.5-.5zM3.56 7.01h.056l1.428 3.239h.774l1.42-3.24h.056V11h1.073V5.001h-1.2l-1.71 3.894h-.039l-1.71-3.894H2.5V11h1.06V7.01z"/>'},e)},d4:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M6.555 1.375 0 2.237v5.45h6.555V1.375zM0 13.795l6.555.933V8.313H0v5.482zm7.278-5.4.026 6.378L16 16V8.395H7.278zM16 0 7.33 1.244v6.414H16V0z"/>'},e)},d5:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43Zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282Z"/><path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43Zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282Z"/>'},e)},d6:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M5.5 9.438V8.5h1v.938a1 1 0 0 0 .03.243l.4 1.598-.93.62-.93-.62.4-1.598a1 1 0 0 0 .03-.243z"/><path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zm-4-.5V2h-1V1H6v1h1v1H6v1h1v1H6v1h1v1H5.5V6h-1V5h1V4h-1V3h1zm0 4.5h1a1 1 0 0 1 1 1v.938l.4 1.599a1 1 0 0 1-.416 1.074l-.93.62a1 1 0 0 1-1.109 0l-.93-.62a1 1 0 0 1-.415-1.074l.4-1.599V8.5a1 1 0 0 1 1-1z"/>'},e)},d7:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM6 8.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1z"/>'},e)},d8:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707v5.586l-2.73-2.73a1 1 0 0 0-1.52.127l-1.889 2.644-1.769-1.062a1 1 0 0 0-1.222.15L2 12.292V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zm-1.498 4a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0z"/><path d="M10.564 8.27 14 11.708V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-.293l3.578-3.577 2.56 1.536 2.426-3.395z"/>'},e)},d9:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.057 6h5.886L11 8h-.5c-.18-1.096-.356-1.192-1.694-1.235l-.298-.01v5.09c0 .47.1.582.903.655v.5H6.59v-.5c.799-.073.898-.184.898-.654V6.755l-.293.01C5.856 6.808 5.68 6.905 5.5 8H5l.057-2z"/>'},e)},dA:rp,dB:Ve,dE:function(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n},dG:ln,dH:z,dI:U,dJ:function(e){const t=e.split("/").filter(Boolean),n=t.length;return e=>{const r=e.split("/").filter(Boolean);if(r.length-n<0)return null;let o=n?"":"/";for(let i=0;i<n;i++){const e=t[i],n=r[i];if(0!==e.localeCompare(n,void 0,{sensitivity:"base"}))return null;o+=`/${n}`}return o}},dK:yh,dM:ve,dN:je,dO:j,dP:T,dQ:I,dS:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>'},e)},da:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM11 6.64v1.75l-2 .5v3.61c0 .495-.301.883-.662 1.123C7.974 13.866 7.499 14 7 14c-.5 0-.974-.134-1.338-.377-.36-.24-.662-.628-.662-1.123s.301-.883.662-1.123C6.026 11.134 6.501 11 7 11c.356 0 .7.068 1 .196V6.89a1 1 0 0 1 .757-.97l1-.25A1 1 0 0 1 11 6.64z"/>'},e)},dc:Mu,dd:Vs,de:ll,df:ul,dg:Xs,di:function(e){const t="fallback"in e&&{fallback:()=>e.fallback};return C(function(e,t,n={}){let r,o=[],i=[],a=[],s=[],c=0;return D(()=>de(a)),()=>{const u=e()||[],d=u.length;return u[l],I(()=>{if(0===d)return 0!==c&&(de(a),a=[],o=[],i=[],c=0,s=[]),n.fallback&&(o=[ue],i[0]=S(e=>(a[0]=e,n.fallback())),c=1),i;for(o[0]===ue&&(a[0](),a=[],o=[],i=[],c=0),r=0;r<d;r++)r<o.length&&o[r]!==u[r]?s[r](()=>u[r]):r>=o.length&&(i[r]=S(p));for(;r<o.length;r++)a[r]();return c=s.length=a.length=d,o=u.slice(0),i=i.slice(0,c)});function p(e){a[r]=e;const[n,o]=k(u[r]);return s[r]=o,t(n,r)}}}(()=>e.each,e.children,t||void 0))},dl:gh,dm:Iu,dn:Du,dp:Qc,dq:qe,dr:ze,dt:$h,du:Vh,dv:Kh,dw:Wh,dx:zh,dy:jh,dz:mp,e:xx,e0:CE,e1:XR,e7:M,e8:S,ed:Ye,ee:function(e){return null!==e&&("object"==typeof e||"function"==typeof e)},ef:function(e,...t){return"function"==typeof e?e(...t):e},eg:R,ei:We,ej:function(e,t={}){const{merge:n,key:r="id"}=t,o=Yt(e);return e=>{if(!Vt(e)||!Vt(o))return o;const t=on(o,{[rn]:e},rn,n,r);return void 0===t?e:t}},ek:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="m13.498.795.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001z"/>'},e)},el:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="m13.498.795.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001zm-.644.766a.5.5 0 0 0-.707 0L1.95 11.756l-.764 3.057 3.057-.764L14.44 3.854a.5.5 0 0 0 0-.708l-1.585-1.585z"/>'},e)},em:xl,en:pd,eo:yd,ep:Ge,f:dA,m:zw,n:Kx,p:rC,s:aC,t:cC});const r=e("eh",{context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return o(this.context.count)},getNextContextId(){return o(this.context.count++)}});function o(e){const t=String(e),n=t.length-1;return r.context.id+(n?String.fromCharCode(96+n):"")+t}function i(e){r.context=e}const a=Symbol("solid-proxy"),s="function"==typeof Proxy,l=Symbol("solid-track"),c={equals:(e,t)=>e===t};let u=null,d=J;const p=1,h=2,f={owned:null,cleanups:null,context:null,owner:null},g={};var m=null;let b=null,v=null,y=null,E=null,_=0;function S(e,t){const n=v,r=m,o=0===e.length,i=void 0===t?r:t,a=o?f:{owned:null,cleanups:null,context:i?i.context:null,owner:i},s=o?e:()=>e(()=>I(()=>re(a)));m=a,v=null;try{return Z(s,!0)}finally{v=n,m=r}}function k(e,t){const n={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},c,t):c).equals||void 0};return[q.bind(n),e=>("function"==typeof e&&(e=b&&b.running&&b.sources.has(n)?e(n.tValue):e(n.value)),V(n,e))]}function T(e,t,n){Y(X(e,t,!0,p))}function w(e,t,n){Y(X(e,t,!1,p))}function A(e,t,n){d=ee;const r=X(e,t,!1,p),o=G&&U(G);o&&(r.suspense=o),n&&n.render||(r.user=!0),E?E.push(r):Y(r)}function C(e,t,n){n=n?Object.assign({},c,n):c;const r=X(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,Y(r),q.bind(r)}function x(e,t,n){let o,i,a;"function"==typeof t?(o=e,i=t,a={}):(o=!0,i=e,a=t||{});let s=null,l=g,c=null,u=!1,d=!1,p="initialValue"in a,h="function"==typeof o&&C(o);const f=new Set,[y,E]=(a.storage||k)(a.initialValue),[_,S]=k(void 0),[w,A]=k(void 0,{equals:!1}),[x,O]=k(p?"ready":"unresolved");function N(e,t,n,r){return s===e&&(s=null,void 0!==r&&(p=!0),e!==l&&t!==l||!a.onHydrated||queueMicrotask(()=>a.onHydrated(r,{value:t})),l=g,b&&e&&u?(b.promises.delete(e),u=!1,Z(()=>{b.running=!0,L(t,n)},!1)):L(t,n)),t}function L(e,t){Z(()=>{void 0===t&&E(()=>e),O(void 0!==t?"errored":p?"ready":"unresolved"),S(t);for(const e of f.keys())e.decrement();f.clear()},!1)}function D(){const e=G&&U(G),t=y(),n=_();if(void 0!==n&&!s)throw n;return v&&!v.user&&e&&T(()=>{w(),s&&(e.resolved&&b&&u?b.promises.add(s):f.has(e)||(e.increment(),f.add(e)))}),t}function R(e=!0){if(!1!==e&&d)return;d=!1;const t=h?h():o;if(u=b&&b.running,null==t||!1===t)return void N(s,I(y));let n;b&&s&&b.promises.delete(s);const r=l!==g?l:I(()=>{try{return i(t,{value:y(),refetching:e})}catch(r){n=r}});if(void 0===n)return function(e){return e&&"object"==typeof e&&"then"in e}(r)?(s=r,"v"in r?(1===r.s?N(s,r.v,void 0,t):N(s,void 0,ie(r.v),t),r):(d=!0,queueMicrotask(()=>d=!1),Z(()=>{O(p?"refreshing":"pending"),A()},!1),r.then(e=>N(r,e,void 0,t),e=>N(r,void 0,ie(e),t)))):(N(s,r,void 0,t),r);N(s,void 0,ie(n),t)}r.context&&(c=r.getNextContextId(),"initial"===a.ssrLoadFrom?l=a.initialValue:r.load&&r.has(c)&&(l=r.load(c))),Object.defineProperties(D,{state:{get:()=>x()},error:{get:()=>_()},loading:{get(){const e=x();return"pending"===e||"refreshing"===e}},latest:{get(){if(!p)return D();const e=_();if(e&&!s)throw e;return y()}}});let M=m;return h?T(()=>(M=m,R(!1))):R(!1),[D,{refetch:e=>P(M,()=>R(e)),mutate:E}]}function O(e){return Z(e,!1)}function I(e){if(null===v)return e();const t=v;v=null;try{return e()}finally{v=t}}function N(e,t,n){const r=Array.isArray(e);let o,i=n&&n.defer;return n=>{let a;if(r){a=Array(e.length);for(let t=0;t<e.length;t++)a[t]=e[t]()}else a=e();if(i)return i=!1,n;const s=I(()=>t(a,o,n));return o=a,s}}function L(e){A(()=>I(e))}function D(e){return null===m||(null===m.cleanups?m.cleanups=[e]:m.cleanups.push(e)),e}function R(){return v}function M(){return m}function P(e,t){const n=m,r=v;m=e,v=null;try{return Z(t,!0)}catch(o){se(o)}finally{m=n,v=r}}function B(e){if(b&&b.running)return e(),b.done;const t=v,n=m;return Promise.resolve().then(()=>{let r;return v=t,m=n,G&&(r=b||(b={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),r.done||(r.done=new Promise(e=>r.resolve=e)),r.running=!0),Z(e,!1),v=m=null,r?r.done:void 0})}const[$,F]=k(!1);function H(){return[$,B]}function z(e,t){const n=Symbol("context");return{id:n,Provider:ce(n),defaultValue:e}}function U(e){let t;return m&&m.context&&void 0!==(t=m.context[e.id])?t:e.defaultValue}function j(e){const t=C(e),n=C(()=>le(t()));return n.toArray=()=>{const e=n();return Array.isArray(e)?e:null!=e?[e]:[]},n}let G;function W(){return G||(G=z())}function q(){const e=b&&b.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===p)Y(this);else{const e=y;y=null,Z(()=>te(this),!1),y=e}if(v){const e=this.observers?this.observers.length:0;v.sources?(v.sources.push(this),v.sourceSlots.push(e)):(v.sources=[this],v.sourceSlots=[e]),this.observers?(this.observers.push(v),this.observerSlots.push(v.sources.length-1)):(this.observers=[v],this.observerSlots=[v.sources.length-1])}return e&&b.sources.has(this)?this.tValue:this.value}function V(e,t,n){let r=b&&b.running&&b.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(b){const r=b.running;(r||!n&&b.sources.has(e))&&(b.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&Z(()=>{for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t],r=b&&b.running;r&&b.disposed.has(n)||((r?n.tState:n.state)||(n.pure?y.push(n):E.push(n),n.observers&&ne(n)),r?n.tState=p:n.state=p)}if(y.length>1e6)throw y=[],new Error},!1)}return t}function Y(e){if(!e.fn)return;re(e);const t=_;K(e,b&&b.running&&b.sources.has(e)?e.tValue:e.value,t),b&&!b.running&&b.sources.has(e)&&queueMicrotask(()=>{Z(()=>{b&&(b.running=!0),v=m=e,K(e,e.tValue,t),v=m=null},!1)})}function K(e,t,n){let r;const o=m,i=v;v=m=e;try{r=e.fn(t)}catch(a){return e.pure&&(b&&b.running?(e.tState=p,e.tOwned&&e.tOwned.forEach(re),e.tOwned=void 0):(e.state=p,e.owned&&e.owned.forEach(re),e.owned=null)),e.updatedAt=n+1,se(a)}finally{v=i,m=o}(!e.updatedAt||e.updatedAt<=n)&&(null!=e.updatedAt&&"observers"in e?V(e,r,!0):b&&b.running&&e.pure?(b.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function X(e,t,n,r=p,o){const i={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:m,context:m?m.context:null,pure:n};return b&&b.running&&(i.state=0,i.tState=r),null===m||m!==f&&(b&&b.running&&m.pure?m.tOwned?m.tOwned.push(i):m.tOwned=[i]:m.owned?m.owned.push(i):m.owned=[i]),i}function Q(e){const t=b&&b.running;if(0===(t?e.tState:e.state))return;if((t?e.tState:e.state)===h)return te(e);if(e.suspense&&I(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<_);){if(t&&b.disposed.has(e))return;(t?e.tState:e.state)&&n.push(e)}for(let r=n.length-1;r>=0;r--){if(e=n[r],t){let t=e,o=n[r+1];for(;(t=t.owner)&&t!==o;)if(b.disposed.has(t))return}if((t?e.tState:e.state)===p)Y(e);else if((t?e.tState:e.state)===h){const t=y;y=null,Z(()=>te(e,n[0]),!1),y=t}}}function Z(e,t){if(y)return e();let n=!1;t||(y=[]),E?n=!0:E=[],_++;try{const t=e();return function(e){if(y&&(J(y),y=null),e)return;let t;if(b)if(b.promises.size||b.queue.size){if(b.running)return b.running=!1,b.effects.push.apply(b.effects,E),E=null,void F(!0)}else{const e=b.sources,n=b.disposed;E.push.apply(E,b.effects),t=b.resolve;for(const t of E)"tState"in t&&(t.state=t.tState),delete t.tState;b=null,Z(()=>{for(const e of n)re(e);for(const t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;e<n;e++)re(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}F(!1)},!1)}const n=E;E=null,n.length&&Z(()=>d(n),!1),t&&t()}(n),t}catch(r){n||(E=null),y=null,se(r)}}function J(e){for(let t=0;t<e.length;t++)Q(e[t])}function ee(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:Q(r)}if(r.context){if(r.count)return r.effects||(r.effects=[]),void r.effects.push(...e.slice(0,n));i()}for(!r.effects||!r.done&&r.count||(e=[...r.effects,...e],n+=r.effects.length,delete r.effects),t=0;t<n;t++)Q(e[t])}function te(e,t){const n=b&&b.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){const o=e.sources[r];if(o.sources){const e=n?o.tState:o.state;e===p?o!==t&&(!o.updatedAt||o.updatedAt<_)&&Q(o):e===h&&te(o,t)}}}function ne(e){const t=b&&b.running;for(let n=0;n<e.observers.length;n+=1){const r=e.observers[n];(t?r.tState:r.state)||(t?r.tState=h:r.state=h,r.pure?y.push(r):E.push(r),r.observers&&ne(r))}}function re(e){let t;if(e.sources)for(;e.sources.length;){const t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){const e=r.pop(),o=t.observerSlots.pop();n<r.length&&(e.sourceSlots[o]=n,r[n]=e,t.observerSlots[n]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)re(e.tOwned[t]);delete e.tOwned}if(b&&b.running&&e.pure)oe(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)re(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}b&&b.running?e.tState=0:e.state=0}function oe(e,t){if(t||(e.tState=0,b.disposed.add(e)),e.owned)for(let n=0;n<e.owned.length;n++)oe(e.owned[n])}function ie(e){return e instanceof Error?e:new Error("string"==typeof e?e:"Unknown error",{cause:e})}function ae(e,t,n){try{for(const n of t)n(e)}catch(ro){se(ro,n&&n.owner||null)}}function se(e,t=m){const n=u&&t&&t.context&&t.context[u],r=ie(e);if(!n)throw r;E?E.push({fn(){ae(r,n,t)},state:p}):ae(r,n,t)}function le(e){if("function"==typeof e&&!e.length)return le(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=le(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function ce(e,t){return function(t){let n;return w(()=>n=I(()=>(m.context={...m.context,[e]:t.value},j(()=>t.children))),void 0),n}}const ue=Symbol("fallback");function de(e){for(let t=0;t<e.length;t++)e[t]()}function pe(e,t){return I(()=>e(t||{}))}function he(){return!0}const fe={get:(e,t,n)=>t===a?n:e.get(t),has:(e,t)=>t===a||e.has(t),set:he,deleteProperty:he,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:he,deleteProperty:he}),ownKeys:e=>e.keys()};function ge(e){return(e="function"==typeof e?e():e)?e:{}}function me(){for(let e=0,t=this.length;e<t;++e){const t=this[e]();if(void 0!==t)return t}}function be(...e){let t=!1;for(let s=0;s<e.length;s++){const n=e[s];t=t||!!n&&a in n,e[s]="function"==typeof n?(t=!0,C(n)):n}if(s&&t)return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){const r=ge(e[n])[t];if(void 0!==r)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in ge(e[n]))return!0;return!1},keys(){const t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(ge(e[n])));return[...new Set(t)]}},fe);const n={},r=Object.create(null);for(let a=e.length-1;a>=0;a--){const t=e[a];if(!t)continue;const o=Object.getOwnPropertyNames(t);for(let e=o.length-1;e>=0;e--){const i=o[e];if("__proto__"===i||"constructor"===i)continue;const a=Object.getOwnPropertyDescriptor(t,i);if(r[i]){const e=n[i];e&&(a.get?e.push(a.get.bind(t)):void 0!==a.value&&e.push(()=>a.value))}else r[i]=a.get?{enumerable:!0,configurable:!0,get:me.bind(n[i]=[a.get.bind(t)])}:void 0!==a.value?a:void 0}}const o={},i=Object.keys(r);for(let a=i.length-1;a>=0;a--){const e=i[a],t=r[e];t&&t.get?Object.defineProperty(o,e,t):o[e]=t?t.value:void 0}return o}function ve(e,...t){if(s&&a in e){const n=new Set(t.length>1?t.flat():t[0]),r=t.map(t=>new Proxy({get:n=>t.includes(n)?e[n]:void 0,has:n=>t.includes(n)&&n in e,keys:()=>t.filter(t=>t in e)},fe));return r.push(new Proxy({get:t=>n.has(t)?void 0:e[t],has:t=>!n.has(t)&&t in e,keys:()=>Object.keys(e).filter(e=>!n.has(e))},fe)),r}const n={},r=t.map(()=>({}));for(const o of Object.getOwnPropertyNames(e)){const i=Object.getOwnPropertyDescriptor(e,o),a=!i.get&&!i.set&&i.enumerable&&i.writable&&i.configurable;let s=!1,l=0;for(const e of t)e.includes(o)&&(s=!0,a?r[l][o]=i.value:Object.defineProperty(r[l],o,i)),++l;s||(a?n[o]=i.value:Object.defineProperty(n,o,i))}return[...r,n]}function ye(e){let t,n;const o=o=>{const a=r.context;if(a){const[o,s]=k();r.count||(r.count=0),r.count++,(n||(n=e())).then(e=>{!r.done&&i(a),r.count--,s(()=>e.default),i()}),t=o}else if(!t){const[r]=x(()=>(n||(n=e())).then(e=>e.default));t=r}let s;return C(()=>(s=t())?I(()=>{if(!a||r.done)return s(o);const e=r.context;i(a);const t=s(o);return i(e),t}):"")};return o.preload=()=>n||((n=e()).then(e=>t=()=>e.default),n),o}let Ee=0;function _e(){return r.context?r.getNextContextId():"cl-"+Ee++}const Se=e=>`Stale read from <${e}>.`;function ke(e){const t="fallback"in e&&{fallback:()=>e.fallback};return C(function(e,t,n={}){let r=[],o=[],i=[],a=0,s=t.length>1?[]:null;return D(()=>de(i)),()=>{let c,u,d=e()||[],p=d.length;return d[l],I(()=>{let e,t,l,f,g,m,b,v,y;if(0===p)0!==a&&(de(i),i=[],r=[],o=[],a=0,s&&(s=[])),n.fallback&&(r=[ue],o[0]=S(e=>(i[0]=e,n.fallback())),a=1);else if(0===a){for(o=new Array(p),u=0;u<p;u++)r[u]=d[u],o[u]=S(h);a=p}else{for(l=new Array(p),f=new Array(p),s&&(g=new Array(p)),m=0,b=Math.min(a,p);m<b&&r[m]===d[m];m++);for(b=a-1,v=p-1;b>=m&&v>=m&&r[b]===d[v];b--,v--)l[v]=o[b],f[v]=i[b],s&&(g[v]=s[b]);for(e=new Map,t=new Array(v+1),u=v;u>=m;u--)y=d[u],c=e.get(y),t[u]=void 0===c?-1:c,e.set(y,u);for(c=m;c<=b;c++)y=r[c],u=e.get(y),void 0!==u&&-1!==u?(l[u]=o[c],f[u]=i[c],s&&(g[u]=s[c]),u=t[u],e.set(y,u)):i[c]();for(u=m;u<p;u++)u in l?(o[u]=l[u],i[u]=f[u],s&&(s[u]=g[u],s[u](u))):o[u]=S(h);o=o.slice(0,a=p),r=d.slice(0)}return o});function h(e){if(i[u]=e,s){const[e,n]=k(u);return s[u]=n,t(d[u],e)}return t(d[u])}}}(()=>e.each,e.children,t||void 0))}function Te(e){const t=e.keyed,n=C(()=>e.when,void 0,void 0),r=t?n:C(n,void 0,{equals:(e,t)=>!e==!t});return C(()=>{const o=r();if(o){const i=e.children;return"function"==typeof i&&i.length>0?I(()=>i(t?o:()=>{if(!I(r))throw Se("Show");return n()})):i}return e.fallback},void 0,void 0)}function we(e){const t=j(()=>e.children),n=C(()=>{const e=t(),n=Array.isArray(e)?e:[e];let r=()=>{};for(let t=0;t<n.length;t++){const e=t,o=n[t],i=r,a=C(()=>i()?void 0:o.when,void 0,void 0),s=o.keyed?a:C(a,void 0,{equals:(e,t)=>!e==!t});r=()=>i()||(s()?[e,a,o]:void 0)}return r});return C(()=>{const t=n()();if(!t)return e.fallback;const[r,o,i]=t,a=i.children;return"function"==typeof a&&a.length>0?I(()=>a(i.keyed?o():()=>{if(I(n)()?.[0]!==r)throw Se("Match");return o()})):a},void 0,void 0)}function Ae(e){return e}let Ce;function xe(e){let t;r.context&&r.load&&(t=r.load(r.getContextId()));const[n,o]=k(t,void 0);return Ce||(Ce=new Set),Ce.add(o),D(()=>Ce.delete(o)),C(()=>{let r;if(r=n()){const t=e.fallback;return"function"==typeof t&&t.length?I(()=>t(r,()=>o())):t}return function(e,n){u||(u=Symbol("error")),(m=X(void 0,void 0,!0)).context={...m.context,[u]:[n]},b&&b.running&&b.sources.add(m);try{return e()}catch(t){se(t)}finally{m=m.owner}}(()=>e.children,o)},void 0,void 0)}const Oe=z();function Ie(e){let t,n,o,a,s,l=0;const[c,u]=k(!1),d=W(),p={increment:()=>{1===++l&&u(!0)},decrement:()=>{0===--l&&u(!1)},inFallback:c,effects:[],resolved:!1},h=M();if(r.context&&r.load){const e=r.getContextId();let t=r.load(e);if(t&&("object"!=typeof t||1!==t.s?o=t:r.gather(e)),o&&"$$f"!==o){const[t,l]=k(void 0,{equals:!1});a=t,o.then(()=>{if(r.done)return l();r.gather(e),i(n),l(),i()},e=>{s=e,l()})}}const f=U(Oe);let g;return f&&(t=f.register(p.inFallback)),D(()=>g&&g()),pe(d.Provider,{value:p,get children(){return C(()=>{if(s)throw s;if(n=r.context,a)return a(),a=void 0;n&&"$$f"===o&&i();const l=C(()=>e.children);return C(r=>{const a=p.inFallback(),{showContent:s=!0,showFallback:c=!0}=t?t():{};return(!a||o&&"$$f"!==o)&&s?(p.resolved=!0,g&&g(),g=n=o=void 0,function(e){E.push.apply(E,e),e.length=0}(p.effects),l()):c?g?r:S(t=>(g=t,n&&(i({id:n.id+"F",count:0}),n=void 0),e.fallback),h):void 0})})}})}const Ne=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"]),Le=new Set(["innerHTML","textContent","innerText","children"]),De=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),Re=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}}),Me=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Pe=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","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","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Be={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},$e=e("ab",e=>C(()=>e())),Fe="_$DX_DELEGATE";function He(e,t,n,r){let o;const i=()=>{const t=document.createElement("template");return t.innerHTML=e,n?t.content.firstChild.firstChild:t.content.firstChild},a=t?()=>I(()=>document.importNode(o||(o=i()),!0)):()=>(o||(o=i())).cloneNode(!0);return a.cloneNode=a,a}function ze(e,t=window.document){const n=t[Fe]||(t[Fe]=new Set);for(let r=0,o=e.length;r<o;r++){const o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,et))}}function Ue(e,t,n){Qe(e)||(null==n?e.removeAttribute(t):e.setAttribute(t,n))}function je(e,t){Qe(e)||(null==t?e.removeAttribute("class"):e.className=t)}function Ge(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n,"function"!=typeof n&&n)}function We(e,t,n={}){const r=Object.keys(t||{}),o=Object.keys(n);let i,a;for(i=0,a=o.length;i<a;i++){const r=o[i];r&&"undefined"!==r&&!t[r]&&(Ze(e,r,!1),delete n[r])}for(i=0,a=r.length;i<a;i++){const o=r[i],a=!!t[o];o&&"undefined"!==o&&n[o]!==a&&a&&(Ze(e,o,!0),n[o]=a)}return n}function qe(e,t,n){if(!t)return n?Ue(e,"style"):t;const r=e.style;if("string"==typeof t)return r.cssText=t;let o,i;for(i in"string"==typeof n&&(r.cssText=n=void 0),n||(n={}),t||(t={}),n)null==t[i]&&r.removeProperty(i),delete n[i];for(i in t)o=t[i],o!==n[i]&&(r.setProperty(i,o),n[i]=o);return n}function Ve(e,t={},n,r){const o={};return r||w(()=>o.children=tt(e,t.children,o.children)),w(()=>"function"==typeof t.ref&&Ye(t.ref,e)),w(()=>function(e,t,n,r,o={},i=!1){t||(t={});for(const a in o)if(!(a in t)){if("children"===a)continue;o[a]=Je(e,a,null,o[a],n,i,t)}for(const a in t){if("children"===a)continue;const r=t[a];o[a]=Je(e,a,r,o[a],n,i,t)}}(e,t,n,0,o,!0)),o}function Ye(e,t,n){return I(()=>e(t,n))}function Ke(e,t,n,r){if(void 0===n||r||(r=[]),"function"!=typeof t)return tt(e,t,r,n);w(r=>tt(e,t(),r,n),r)}function Xe(e){let t,n;return Qe()&&(t=r.registry.get(n=r.getNextContextId()))?(r.completed&&r.completed.add(t),r.registry.delete(n),t):e()}function Qe(e){return!!r.context&&!r.done&&(!e||e.isConnected)}function Ze(e,t,n){const r=t.trim().split(/\s+/);for(let o=0,i=r.length;o<i;o++)e.classList.toggle(r[o],n)}function Je(e,t,n,r,o,i,a){let s,l,c,u,d;if("style"===t)return qe(e,n,r);if("classList"===t)return We(e,n,r);if(n===r)return r;if("ref"===t)i||n(e);else if("on:"===t.slice(0,3)){const o=t.slice(3);r&&e.removeEventListener(o,r,"function"!=typeof r&&r),n&&e.addEventListener(o,n,"function"!=typeof n&&n)}else if("oncapture:"===t.slice(0,10)){const o=t.slice(10);r&&e.removeEventListener(o,r,!0),n&&e.addEventListener(o,n,!0)}else if("on"===t.slice(0,2)){const o=t.slice(2).toLowerCase(),i=Me.has(o);if(!i&&r){const t=Array.isArray(r)?r[0]:r;e.removeEventListener(o,t)}(i||n)&&(Ge(e,o,n,i),i&&ze([o]))}else if("attr:"===t.slice(0,5))Ue(e,t.slice(5),n);else if("bool:"===t.slice(0,5))!function(e,t,n){Qe(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}(e,t.slice(5),n);else if((d="prop:"===t.slice(0,5))||(c=Le.has(t))||!o&&((u=function(e,t){const n=Re[e];return"object"==typeof n?n[t]?n.$:void 0:n}(t,e.tagName))||(l=Ne.has(t)))||(s=e.nodeName.includes("-")||"is"in a)){if(d)t=t.slice(5),l=!0;else if(Qe(e))return n;"class"===t||"className"===t?je(e,n):!s||l||c?e[u||t]=n:e[function(e){return e.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}(t)]=n}else{const r=o&&t.indexOf(":")>-1&&Be[t.split(":")[0]];r?function(e,t,n,r){Qe(e)||(null==r?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}(e,r,t,n):Ue(e,De[t]||t,n)}return n}function et(e){if(r.registry&&r.events&&r.events.find(([t,n])=>n===e))return;let t=e.target;const n=`$$${e.type}`,o=e.target,i=e.currentTarget,a=t=>Object.defineProperty(e,"target",{configurable:!0,value:t}),s=()=>{const r=t[n];if(r&&!t.disabled){const o=t[`${n}Data`];if(void 0!==o?r.call(t,o,e):r.call(t,e),e.cancelBubble)return}return t.host&&"string"!=typeof t.host&&!t.host._$host&&t.contains(e.target)&&a(t.host),!0},l=()=>{for(;s()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>t||document}),r.registry&&!r.done&&(r.done=_$HY.done=!0),e.composedPath){const n=e.composedPath();a(n[0]);for(let e=0;e<n.length-2&&(t=n[e],s());e++){if(t._$host){t=t._$host,l();break}if(t.parentNode===i)break}}else l();a(o)}function tt(e,t,n,r,o){const i=Qe(e);if(i){!n&&(n=[...e.childNodes]);let t=[];for(let e=0;e<n.length;e++){const r=n[e];8===r.nodeType&&"!$"===r.data.slice(0,2)?r.remove():t.push(r)}n=t}for(;"function"==typeof n;)n=n();if(t===n)return n;const a=typeof t,s=void 0!==r;if(e=s&&n[0]&&n[0].parentNode||e,"string"===a||"number"===a){if(i)return n;if("number"===a&&(t=t.toString())===n)return n;if(s){let o=n[0];o&&3===o.nodeType?o.data!==t&&(o.data=t):o=document.createTextNode(t),n=ot(e,n,r,o)}else n=""!==n&&"string"==typeof n?e.firstChild.data=t:e.textContent=t}else if(null==t||"boolean"===a){if(i)return n;n=ot(e,n,r)}else{if("function"===a)return w(()=>{let o=t();for(;"function"==typeof o;)o=o();n=tt(e,o,n,r)}),()=>n;if(Array.isArray(t)){const a=[],l=n&&Array.isArray(n);if(nt(a,t,n,o))return w(()=>n=tt(e,a,n,r,!0)),()=>n;if(i){if(!a.length)return n;if(void 0===r)return n=[...e.childNodes];let t=a[0];if(t.parentNode!==e)return n;const o=[t];for(;(t=t.nextSibling)!==r;)o.push(t);return n=o}if(0===a.length){if(n=ot(e,n,r),s)return n}else l?0===n.length?rt(e,a,r):function(e,t,n){let r=n.length,o=t.length,i=r,a=0,s=0,l=t[o-1].nextSibling,c=null;for(;a<o||s<i;)if(t[a]!==n[s]){for(;t[o-1]===n[i-1];)o--,i--;if(o===a){const t=i<r?s?n[s-1].nextSibling:n[i-s]:l;for(;s<i;)e.insertBefore(n[s++],t)}else if(i===s)for(;a<o;)c&&c.has(t[a])||t[a].remove(),a++;else if(t[a]===n[i-1]&&n[s]===t[o-1]){const r=t[--o].nextSibling;e.insertBefore(n[s++],t[a++].nextSibling),e.insertBefore(n[--i],r),t[o]=n[i]}else{if(!c){c=new Map;let e=s;for(;e<i;)c.set(n[e],e++)}const r=c.get(t[a]);if(null!=r)if(s<r&&r<i){let l,u=a,d=1;for(;++u<o&&u<i&&null!=(l=c.get(t[u]))&&l===r+d;)d++;if(d>r-s){const o=t[a];for(;s<r;)e.insertBefore(n[s++],o)}else e.replaceChild(n[s++],t[a++])}else a++;else t[a++].remove()}}else a++,s++}(e,n,a):(n&&ot(e),rt(e,a));n=a}else if(t.nodeType){if(i&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=ot(e,n,r,t);ot(e,n,null,t)}else null!=n&&""!==n&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t);n=t}}return n}function nt(e,t,n,r){let o=!1;for(let i=0,a=t.length;i<a;i++){let a,s=t[i],l=n&&n[e.length];if(null==s||!0===s||!1===s);else if("object"==(a=typeof s)&&s.nodeType)e.push(s);else if(Array.isArray(s))o=nt(e,s,l)||o;else if("function"===a)if(r){for(;"function"==typeof s;)s=s();o=nt(e,Array.isArray(s)?s:[s],Array.isArray(l)?l:[l])||o}else e.push(s),o=!0;else{const t=String(s);l&&3===l.nodeType&&l.data===t?e.push(l):e.push(document.createTextNode(t))}}return o}function rt(e,t,n=null){for(let r=0,o=t.length;r<o;r++)e.insertBefore(t[r],n)}function ot(e,t,n,r){if(void 0===n)return e.textContent="";const o=r||document.createTextNode("");if(t.length){let r=!1;for(let i=t.length-1;i>=0;i--){const a=t[i];if(o!==a){const t=a.parentNode===e;r||i?t&&a.remove():t?e.replaceChild(o,a):e.insertBefore(o,n)}else r=!0}}else e.insertBefore(o,n);return[o]}const it=!1,at="http://www.w3.org/2000/svg";function st(e,t=!1){return t?document.createElementNS(at,e):document.createElement(e)}function lt(e){const{useShadow:t}=e,n=document.createTextNode(""),o=M();let i,a=!!r.context;return A(()=>{a&&(M().user=a=!1),i||(i=P(o,()=>C(()=>e.children)));const r=e.mount||document.body;if(r instanceof HTMLHeadElement){const[e,t]=k(!1),n=()=>t(!0);S(t=>Ke(r,()=>e()?t():i(),null)),D(n)}else{const o=st(e.isSVG?"g":"div",e.isSVG),a=t&&o.attachShadow?o.attachShadow({mode:"open"}):o;Object.defineProperty(o,"_$host",{get:()=>n.parentNode,configurable:!0}),Ke(a,i),r.appendChild(o),e.ref&&e.ref(o),D(()=>r.removeChild(o))}},void 0,{render:!a}),n}function ct(e){const[,t]=ve(e,["component"]);return function(e,t){const n=C(e);return C(()=>{const e=n();switch(typeof e){case"function":return I(()=>e(t));case"string":const n=Pe.has(e),o=r.context?Xe():st(e,n);return Ve(o,t,n),o}})}(()=>e.component,t)}function ut(e,t){const n=function(e){if("#"===e)return null;try{return document.querySelector(e)}catch(ro){return null}}(`#${e}`);n?n.scrollIntoView():t&&window.scrollTo(0,0)}function dt(){return function(e,t,n,r){let o=!1;const i=e=>"string"==typeof e?{value:e}:e,a=function([e,t],n,r){return[e,r?e=>t(r(e)):t]}(k(i(e()),{equals:(e,t)=>e.value===t.value}),0,e=>(!o&&t(e),e));return n&&D(n((t=e())=>{o=!0,a[1](i(t)),o=!1})),{signal:a,utils:r}}(()=>({value:window.location.pathname+window.location.search+window.location.hash,state:history.state}),({value:e,replace:t,scroll:n,state:r})=>{t?window.history.replaceState(r,"",e):window.history.pushState(r,"",e),ut(window.location.hash.slice(1),n)},e=>{return t=window,n="popstate",r=()=>e(),t.addEventListener(n,r),()=>t.removeEventListener(n,r);var t,n,r},{go:e=>window.history.go(e)})}const pt=/^(?:[a-z0-9]+:)?\/\//i,ht=/^\/+|(\/)\/+$/g;function ft(e,t=!1){const n=e.replace(ht,"$1");return n?t||/^[?#]/.test(n)?n:"/"+n:""}function gt(e,t,n){if(pt.test(t))return;const r=ft(e),o=n&&ft(n);let i="";return i=!o||t.startsWith("/")?r:0!==o.toLowerCase().indexOf(r.toLowerCase())?r+o:o,(i||"/")+ft(t,!i)}function mt(e,t){return ft(e).replace(/\/*(\*.*)?$/g,"")+ft(t)}function bt(e,t,n){const[r,o]=e.split("/*",2),i=r.split("/").filter(Boolean),a=i.length;return e=>{const r=e.split("/").filter(Boolean),s=r.length-a;if(s<0||s>0&&void 0===o&&!t)return null;const l={path:a?"":"/",params:{}},c=e=>void 0===n?void 0:n[e];for(let t=0;t<a;t++){const e=i[t],n=r[t],o=":"===e[0],a=o?e.slice(1):e;if(o&&vt(n,c(a)))l.params[a]=n;else if(o||!vt(n,e))return null;l.path+=`/${n}`}if(o){const e=s?r.slice(-s).join("/"):"";if(!vt(e,c(o)))return null;l.params[o]=e}return l}}function vt(e,t){const n=t=>0===t.localeCompare(e,void 0,{sensitivity:"base"});return void 0===t||("string"==typeof t?n(t):"function"==typeof t?t(e):Array.isArray(t)?t.some(n):t instanceof RegExp&&t.test(e))}function yt(e){const[t,n]=e.pattern.split("/*",2),r=t.split("/").filter(Boolean);return r.reduce((e,t)=>e+(t.startsWith(":")?2:3),r.length-(void 0===n?0:1))}function Et(e){const t=new Map,n=M();return new Proxy({},{get:(r,o)=>(t.has(o)||P(n,()=>t.set(o,C(()=>e()[o]))),t.get(o)()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),ownKeys:()=>Reflect.ownKeys(e())})}function _t(e){let t=/(\/?\:[^\/]+)\?/.exec(e);if(!t)return[e];let n=e.slice(0,t.index),r=e.slice(t.index+t[0].length);const o=[n,n+=t[1]];for(;t=/^(\/\:[^\/]+)\?/.exec(r);)o.push(n+=t[1]),r=r.slice(t[0].length);return _t(r).reduce((e,t)=>[...e,...o.map(e=>e+t)],[])}const St=z(),kt=z(),Tt=()=>function(e,t){if(null==e)throw new Error(t);return e}(U(St),"Make sure your app is wrapped in a <Router />");let wt;const At=()=>wt||U(kt)||Tt().base,Ct=e=>{const t=At();return C(()=>t.resolvePath(e()))},xt=e=>{const t=Tt();return C(()=>{const n=e();return void 0!==n?t.renderPath(n):n})},Ot=e("e2",()=>Tt().navigatorFactory()),It=e("at",()=>Tt().location);function Nt(e,t="",n){const{component:r,data:o,children:i}=e,a=!i||Array.isArray(i)&&!i.length,s={key:e,element:r?()=>pe(r,{}):()=>{const{element:t}=e;return void 0===t&&n?pe(n,{}):t},preload:e.component?r.preload:e.preload,data:o};return Dt(e.path).reduce((n,r)=>{for(const o of _t(r)){const r=mt(t,o),i=a?r:r.split("/*",1)[0];n.push({...s,originalPath:o,pattern:i,matcher:bt(i,!a,e.matchFilters)})}return n},[])}function Lt(e,t=0){return{routes:e,score:1e4*yt(e[e.length-1])-t,matcher(t){const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r],i=o.matcher(t);if(!i)return null;n.unshift({...i,route:o})}return n}}}function Dt(e){return Array.isArray(e)?e:[e]}function Rt(e,t="",n,r=[],o=[]){const i=Dt(e);for(let a=0,s=i.length;a<s;a++){const e=i[a];if(e&&"object"==typeof e&&e.hasOwnProperty("path")){const i=Nt(e,t,n);for(const t of i){r.push(t);const i=Array.isArray(e.children)&&0===e.children.length;if(e.children&&!i)Rt(e.children,t.pattern,n,r,o);else{const e=Lt([...r],o.length);o.push(e)}r.pop()}}}return r.length?o:o.sort((e,t)=>t.score-e.score)}function Mt(e,t="",n,r){const{signal:[o,i],utils:a={}}=function(e){return e?Array.isArray(e)?{signal:e}:e:{signal:k({value:""})}}(e),s=a.parsePath||(e=>e),l=a.renderPath||(e=>e),c=a.beforeLeave||function(){let e=new Set,t=!1;return{subscribe:function(t){return e.add(t),()=>e.delete(t)},confirm:function(n,r){if(t)return!(t=!1);const o={to:n,options:r,defaultPrevented:!1,preventDefault:()=>o.defaultPrevented=!0};for(const i of e)i.listener({...o,from:i.location,retry:e=>{e&&(t=!0),i.navigate(n,r)}});return!o.defaultPrevented}}}(),u=gt("",t);if(void 0===u)throw new Error(`${u} is not a valid base path`);u&&!o().value&&i({value:u,replace:!0,scroll:!1});const[d,p]=k(!1),h=async e=>{p(!0);try{await B(e)}finally{p(!1)}},[f,g]=k(o().value),[m,b]=k(o().state),v=function(e,t){const n=new URL("http://sar"),r=C(t=>{const r=e();try{return new URL(r,n)}catch(o){return console.error(`Invalid path ${r}`),t}},n,{equals:(e,t)=>e.href===t.href}),o=C(()=>r().pathname),i=C(()=>r().search,!0),a=C(()=>r().hash),s=C(()=>"");return{get pathname(){return o()},get search(){return i()},get hash(){return a()},get state(){return t()},get key(){return s()},query:Et(N(i,()=>function(e){const t={};return e.searchParams.forEach((e,n)=>{t[n]=e}),t}(r())))}}(f,m),y=[],E={pattern:u,params:{},path:()=>u,outlet:()=>null,resolvePath:e=>gt(u,e)};if(n)try{wt=E,E.data=n({data:void 0,params:{},location:v,navigate:S(E)})}finally{wt=void 0}function _(e,t,n){I(()=>{if("number"==typeof t)return void(t&&(a.go?c.confirm(t,n)&&a.go(t):console.warn("Router integration does not support relative routing")));const{replace:r,resolve:o,scroll:s,state:l}={replace:!1,resolve:!0,scroll:!0,...n},u=o?e.resolvePath(t):gt("",t);if(void 0===u)throw new Error(`Path '${t}' is not a routable path`);if(y.length>=100)throw new Error("Too many redirects");const d=f();if(u!==d||l!==m())if(it);else if(c.confirm(u,n)){const e=y.push({value:d,replace:r,scroll:s,state:m()});h(()=>{g(u),b(l),Ce&&[...Ce].forEach(e=>e())}).then(()=>{y.length===e&&function(e){const t=y[0];t&&(e.value===t.value&&e.state===t.state||i({...e,replace:t.replace,scroll:t.scroll}),y.length=0)}({value:u,state:l})})}})}function S(e){return e=e||U(kt)||E,(t,n)=>_(e,t,n)}w(()=>{const{value:e,state:t}=o();I(()=>{e!==f()&&h(()=>{g(e),b(t)})})});{function T(e){if(e.defaultPrevented||0!==e.button||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;const t=e.composedPath().find(e=>e instanceof Node&&"A"===e.nodeName.toUpperCase());if(!t||!t.hasAttribute("link"))return;const n=t.href;if(t.target||!n&&!t.hasAttribute("state"))return;const r=(t.getAttribute("rel")||"").split(/\s+/);if(t.hasAttribute("download")||r&&r.includes("external"))return;const o=new URL(n);if(o.origin!==window.location.origin||u&&o.pathname&&!o.pathname.toLowerCase().startsWith(u.toLowerCase()))return;const i=s(o.pathname+o.search+o.hash),a=t.getAttribute("state");e.preventDefault(),_(E,i,{resolve:!1,replace:t.hasAttribute("replace"),scroll:!t.hasAttribute("noscroll"),state:a&&JSON.parse(a)})}ze(["click"]),document.addEventListener("click",T),D(()=>document.removeEventListener("click",T))}return{base:E,out:void 0,location:v,isRouting:d,renderPath:l,parsePath:s,navigatorFactory:S,beforeLeave:c}}function Pt(e,t,n,r,o){const{base:i,location:a,navigatorFactory:s}=e,{pattern:l,element:c,preload:u,data:d}=r().route,p=C(()=>r().path);u&&u();const h={parent:t,pattern:l,get child(){return n()},path:p,params:o,data:t.data,outlet:c,resolvePath:e=>gt(i.path(),e,p())};if(d)try{wt=h,h.data=d({data:t.data,params:o,location:a,navigate:s(h)})}finally{wt=void 0}return h}var Bt=He("<a link>");const $t=e=>{const{source:t,url:n,base:r,data:o,out:i}=e,a=Mt(t||dt(),r,o);return pe(St.Provider,{value:a,get children(){return e.children}})},Ft=e("cl",e=>{const t=Tt(),n=At(),r=j(()=>e.children),o=C(()=>Rt(r(),mt(n.pattern,e.base||""),zt)),i=C(()=>function(e,t){for(let n=0,r=e.length;n<r;n++){const r=e[n].matcher(t);if(r)return r}return[]}(o(),t.location.pathname)),a=Et(()=>{const e=i(),t={};for(let n=0;n<e.length;n++)Object.assign(t,e[n].params);return t});t.out&&t.out.matches.push(i().map(({route:e,path:t,params:n})=>({originalPath:e.originalPath,pattern:e.pattern,path:t,params:n})));const s=[];let l;const c=C(N(i,(e,r,o)=>{let u=r&&e.length===r.length;const d=[];for(let l=0,p=e.length;l<p;l++){const p=r&&r[l],h=e[l];o&&p&&h.route.key===p.route.key?d[l]=o[l]:(u=!1,s[l]&&s[l](),S(e=>{s[l]=e,d[l]=Pt(t,d[l-1]||n,()=>c()[l+1],()=>i()[l],a)}))}return s.splice(e.length).forEach(e=>e()),o&&u?o:(l=d[0],d)}));return pe(Te,{get when(){return c()&&l},keyed:!0,children:e=>pe(kt.Provider,{value:e,get children(){return e.outlet()}})})}),Ht=e("cm",e=>{const t=j(()=>e.children);return be(e,{get children(){return t()}})}),zt=()=>{const e=At();return pe(Te,{get when(){return e.child},keyed:!0,children:e=>pe(kt.Provider,{value:e,get children(){return e.outlet()}})})},Ut=Symbol("store-raw"),jt=Symbol("store-node"),Gt=Symbol("store-has"),Wt=Symbol("store-self");function qt(e){let t=e[a];if(!t&&(Object.defineProperty(e,a,{value:t=new Proxy(e,Zt)}),!Array.isArray(e))){const n=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let o=0,i=n.length;o<i;o++){const i=n[o];r[i].get&&Object.defineProperty(e,i,{enumerable:r[i].enumerable,get:r[i].get.bind(t)})}}return t}function Vt(e){let t;return null!=e&&"object"==typeof e&&(e[a]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function Yt(e,t=new Set){let n,r,o,i;if(n=null!=e&&e[Ut])return n;if(!Vt(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let n=0,i=e.length;n<i;n++)o=e[n],(r=Yt(o,t))!==o&&(e[n]=r)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const n=Object.keys(e),a=Object.getOwnPropertyDescriptors(e);for(let s=0,l=n.length;s<l;s++)i=n[s],a[i].get||(o=e[i],(r=Yt(o,t))!==o&&(e[i]=r))}return e}function Kt(e,t){let n=e[t];return n||Object.defineProperty(e,t,{value:n=Object.create(null)}),n}function Xt(e,t,n){if(e[t])return e[t];const[r,o]=k(n,{equals:!1,internal:!0});return r.$=o,e[t]=r}function Qt(e){R()&&Xt(Kt(e,jt),Wt)()}const Zt={get(e,t,n){if(t===Ut)return e;if(t===a)return n;if(t===l)return Qt(e),n;const r=Kt(e,jt),o=r[t];let i=o?o():e[t];if(t===jt||t===Gt||"__proto__"===t)return i;if(!o){const n=Object.getOwnPropertyDescriptor(e,t);!R()||"function"==typeof i&&!e.hasOwnProperty(t)||n&&n.get||(i=Xt(r,t,i)())}return Vt(i)?qt(i):i},has:(e,t)=>t===Ut||t===a||t===l||t===jt||t===Gt||"__proto__"===t||(R()&&Xt(Kt(e,Gt),t)(),t in e),set:()=>!0,deleteProperty:()=>!0,ownKeys:function(e){return Qt(e),Reflect.ownKeys(e)},getOwnPropertyDescriptor:function(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return n&&!n.get&&n.configurable&&t!==a&&t!==jt?(delete n.value,delete n.writable,n.get=()=>e[a][t],n):n}};function Jt(e,t,n,r=!1){if(!r&&e[t]===n)return;const o=e[t],i=e.length;void 0===n?(delete e[t],e[Gt]&&e[Gt][t]&&void 0!==o&&e[Gt][t].$()):(e[t]=n,e[Gt]&&e[Gt][t]&&void 0===o&&e[Gt][t].$());let a,s=Kt(e,jt);if((a=Xt(s,t,o))&&a.$(()=>n),Array.isArray(e)&&e.length!==i){for(let t=e.length;t<i;t++)(a=s[t])&&a.$();(a=Xt(s,"length",i))&&a.$(e.length)}(a=s[Wt])&&a.$()}function en(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r+=1){const o=n[r];Jt(e,o,t[o])}}function tn(e,t,n=[]){let r,o=e;if(t.length>1){r=t.shift();const i=typeof r,a=Array.isArray(e);if(Array.isArray(r)){for(let o=0;o<r.length;o++)tn(e,[r[o]].concat(t),n);return}if(a&&"function"===i){for(let o=0;o<e.length;o++)r(e[o],o)&&tn(e,[o].concat(t),n);return}if(a&&"object"===i){const{from:o=0,to:i=e.length-1,by:a=1}=r;for(let r=o;r<=i;r+=a)tn(e,[r].concat(t),n);return}if(t.length>1)return void tn(e[r],t,[r].concat(n));o=e[r],n=[r].concat(n)}let i=t[0];"function"==typeof i&&(i=i(o,n),i===o)||void 0===r&&null==i||(i=Yt(i),void 0===r||Vt(o)&&Vt(i)&&!Array.isArray(i)?en(o,i):Jt(e,r,i))}function nn(...[e,t]){const n=Yt(e||{}),r=Array.isArray(n);return[qt(n),function(...e){O(()=>{r&&1===e.length?function(e,t){if("function"==typeof t&&(t=t(e)),t=Yt(t),Array.isArray(t)){if(e===t)return;let n=0,r=t.length;for(;n<r;n++){const r=t[n];e[n]!==r&&Jt(e,n,r)}Jt(e,"length",r)}else en(e,t)}(n,e[0]):tn(n,e)})}]}const rn=Symbol("store-root");function on(e,t,n,r,o){const i=t[n];if(e===i)return;const a=Array.isArray(e);if(n!==rn&&(!Vt(e)||!Vt(i)||a!==Array.isArray(i)||o&&e[o]!==i[o]))return void Jt(t,n,e);if(a){if(e.length&&i.length&&(!r||o&&e[0]&&null!=e[0][o])){let t,n,a,s,l,c,u,d;for(a=0,s=Math.min(i.length,e.length);a<s&&(i[a]===e[a]||o&&i[a]&&e[a]&&i[a][o]===e[a][o]);a++)on(e[a],i,a,r,o);const p=new Array(e.length),h=new Map;for(s=i.length-1,l=e.length-1;s>=a&&l>=a&&(i[s]===e[l]||o&&i[s]&&e[l]&&i[s][o]===e[l][o]);s--,l--)p[l]=i[s];if(a>l||a>s){for(n=a;n<=l;n++)Jt(i,n,e[n]);for(;n<e.length;n++)Jt(i,n,p[n]),on(e[n],i,n,r,o);return void(i.length>e.length&&Jt(i,"length",e.length))}for(u=new Array(l+1),n=l;n>=a;n--)c=e[n],d=o&&c?c[o]:c,t=h.get(d),u[n]=void 0===t?-1:t,h.set(d,n);for(t=a;t<=s;t++)c=i[t],d=o&&c?c[o]:c,n=h.get(d),void 0!==n&&-1!==n&&(p[n]=i[t],n=u[n],h.set(d,n));for(n=a;n<e.length;n++)n in p?(Jt(i,n,p[n]),on(e[n],i,n,r,o)):Jt(i,n,e[n])}else for(let t=0,n=e.length;t<n;t++)on(e[t],i,t,r,o);return void(i.length>e.length&&Jt(i,"length",e.length))}const s=Object.keys(e);for(let c=0,u=s.length;c<u;c++)on(e[s[c]],i,s[c],r,o);const l=Object.keys(i);for(let c=0,u=l.length;c<u;c++)void 0===e[l[c]]&&Jt(i,l[c],void 0)}const an=new WeakMap,sn={get(e,t){if(t===Ut)return e;const n=e[t];let r;return Vt(n)?an.get(n)||(an.set(n,r=new Proxy(n,sn)),r):n},set:(e,t,n)=>(Jt(e,t,Yt(n)),!0),deleteProperty:(e,t)=>(Jt(e,t,void 0,!0),!0)};function ln(e){return t=>{if(Vt(t)){let n;(n=an.get(t))||an.set(t,n=new Proxy(t,sn)),e(n)}return t}}var cn="colors",un="sizes",dn="space",pn={gap:dn,gridGap:dn,columnGap:dn,gridColumnGap:dn,rowGap:dn,gridRowGap:dn,inset:dn,insetBlock:dn,insetBlockEnd:dn,insetBlockStart:dn,insetInline:dn,insetInlineEnd:dn,insetInlineStart:dn,margin:dn,marginTop:dn,marginRight:dn,marginBottom:dn,marginLeft:dn,marginBlock:dn,marginBlockEnd:dn,marginBlockStart:dn,marginInline:dn,marginInlineEnd:dn,marginInlineStart:dn,padding:dn,paddingTop:dn,paddingRight:dn,paddingBottom:dn,paddingLeft:dn,paddingBlock:dn,paddingBlockEnd:dn,paddingBlockStart:dn,paddingInline:dn,paddingInlineEnd:dn,paddingInlineStart:dn,top:dn,right:dn,bottom:dn,left:dn,scrollMargin:dn,scrollMarginTop:dn,scrollMarginRight:dn,scrollMarginBottom:dn,scrollMarginLeft:dn,scrollMarginX:dn,scrollMarginY:dn,scrollMarginBlock:dn,scrollMarginBlockEnd:dn,scrollMarginBlockStart:dn,scrollMarginInline:dn,scrollMarginInlineEnd:dn,scrollMarginInlineStart:dn,scrollPadding:dn,scrollPaddingTop:dn,scrollPaddingRight:dn,scrollPaddingBottom:dn,scrollPaddingLeft:dn,scrollPaddingX:dn,scrollPaddingY:dn,scrollPaddingBlock:dn,scrollPaddingBlockEnd:dn,scrollPaddingBlockStart:dn,scrollPaddingInline:dn,scrollPaddingInlineEnd:dn,scrollPaddingInlineStart:dn,fontSize:"fontSizes",background:cn,backgroundColor:cn,backgroundImage:cn,borderImage:cn,border:cn,borderBlock:cn,borderBlockEnd:cn,borderBlockStart:cn,borderBottom:cn,borderBottomColor:cn,borderColor:cn,borderInline:cn,borderInlineEnd:cn,borderInlineStart:cn,borderLeft:cn,borderLeftColor:cn,borderRight:cn,borderRightColor:cn,borderTop:cn,borderTopColor:cn,caretColor:cn,color:cn,columnRuleColor:cn,fill:cn,outline:cn,outlineColor:cn,stroke:cn,textDecorationColor:cn,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:un,minBlockSize:un,maxBlockSize:un,inlineSize:un,minInlineSize:un,maxInlineSize:un,width:un,minWidth:un,maxWidth:un,height:un,minHeight:un,maxHeight:un,flexBasis:un,gridTemplateColumns:un,gridTemplateRows:un,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},hn=(e,t)=>"function"==typeof t?{"()":Function.prototype.toString.call(t)}:t,fn=()=>{const e=Object.create(null);return(t,n,...r)=>{const o=(e=>JSON.stringify(e,hn))(t);return o in e?e[o]:e[o]=n(t,...r)}},gn=Symbol.for("sxs.internal"),mn=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),bn=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:vn}=Object.prototype,yn=e=>e.includes("-")?e:e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),En=/\s+(?![^()]*\))/,_n=e=>t=>e(..."string"==typeof t?String(t).split(En):[t]),Sn={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:_n((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:_n((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:_n((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:_n((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:_n((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:_n((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},kn=/([\d.]+)([^]*)/,Tn=(e,t)=>e.length?e.reduce((e,n)=>(e.push(...t.map(e=>e.includes("&")?e.replace(/&/g,/[ +>|~]/.test(n)&&/&.*&/.test(e)?`:is(${n})`:n):n+" "+e)),e),[]):t,wn=(e,t)=>e in An&&"string"==typeof t?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(t,n,r,o)=>n+("stretch"===r?`-moz-available${o};${yn(e)}:${n}-webkit-fill-available`:`-moz-fit-content${o};${yn(e)}:${n}fit-content`)+o):String(t),An={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},Cn=e=>e?e+"-":"",xn=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(e,r,o,i,a)=>"$"==i==!!o?e:(r||"--"==i?"calc(":"")+"var(--"+("$"===i?Cn(t)+(a.includes("$")?"":Cn(n))+a.replace(/\$/g,"-"):a)+")"+(r||"--"==i?"*"+(r||"")+(o||"1")+")":"")),On=/\s*,\s*(?![^()]*\))/,In=Object.prototype.toString,Nn=(e,t,n,r,o)=>{let i,a,s;const l=(e,t,n)=>{let c,u;const d=e=>{for(c in e){const f=64===c.charCodeAt(0),g=f&&Array.isArray(e[c])?e[c]:[e[c]];for(u of g){const e=/[A-Z]/.test(h=c)?h:h.replace(/-[^]/g,e=>e[1].toUpperCase()),g="object"==typeof u&&u&&u.toString===In&&(!r.utils[e]||!t.length);if(e in r.utils&&!g){const t=r.utils[e];if(t!==a){a=t,d(t(u)),a=null;continue}}else if(e in Sn){const t=Sn[e];if(t!==s){s=t,d(t(u)),s=null;continue}}if(f&&(p=c.slice(1)in r.media?"@media "+r.media[c.slice(1)]:c,c=p.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(e,t,n,r,o,i)=>{const a=kn.test(t),s=.0625*(a?-1:1),[l,c]=a?[r,t]:[t,r];return"("+("="===n[0]?"":">"===n[0]===a?"max-":"min-")+l+":"+("="!==n[0]&&1===n.length?c.replace(kn,(e,t,r)=>Number(t)+s*(">"===n?1:-1)+r):c)+(o?") and ("+(">"===o[0]?"min-":"max-")+l+":"+(1===o.length?i.replace(kn,(e,t,n)=>Number(t)+s*(">"===o?-1:1)+n):i):"")+")"})),g){const e=f?n.concat(c):[...n],r=f?[...t]:Tn(t,c.split(On));void 0!==i&&o(Ln(...i)),i=void 0,l(u,r,e)}else void 0===i&&(i=[[],t,n]),c=f||36!==c.charCodeAt(0)?c:`--${Cn(r.prefix)}${c.slice(1).replace(/\$/g,"-")}`,u=g?u:"number"==typeof u?u&&e in Dn?String(u)+"px":String(u):xn(wn(e,null==u?"":u),r.prefix,r.themeMap[e]),i[0].push(`${f?`${c} `:`${yn(c)}:`}${u}`)}}var p,h};d(e),void 0!==i&&o(Ln(...i)),i=void 0};l(e,t,n)},Ln=(e,t,n)=>`${n.map(e=>`${e}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,Dn={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},Rn=e=>String.fromCharCode(e+(e>25?39:97)),Mn=e=>(e=>{let t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Rn(t%52)+n;return Rn(t%52)+n})(((e,t)=>{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e})(5381,JSON.stringify(e))>>>0),Pn=["themed","global","styled","onevar","resonevar","allvar","inline"],Bn=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch(e){return!1}},$n=e=>{let t;const n=()=>{const{cssRules:e}=t.sheet;return[].map.call(e,(n,r)=>{const{cssText:o}=n;let i="";if(o.startsWith("--sxs"))return"";if(e[r-1]&&(i=e[r-1].cssText).startsWith("--sxs")){if(!n.cssRules.length)return"";for(const e in t.rules)if(t.rules[e].group===n)return`--sxs{--sxs:${[...t.rules[e].cache].join(" ")}}${o}`;return n.cssRules.length?`${i}${o}`:""}return o}).join("")},r=()=>{if(t){const{rules:e,sheet:n}=t;if(!n.deleteRule){for(;3===Object(Object(n.cssRules)[0]).type;)n.cssRules.splice(0,1);n.cssRules=[]}for(const t in e)delete e[t]}const o=Object(e).styleSheets||[];for(const e of o)if(Bn(e)){for(let o=0,i=e.cssRules;i[o];++o){const a=Object(i[o]);if(1!==a.type)continue;const s=Object(i[o+1]);if(4!==s.type)continue;++o;const{cssText:l}=a;if(!l.startsWith("--sxs"))continue;const c=l.slice(14,-3).trim().split(/\s+/),u=Pn[c[0]];u&&(t||(t={sheet:e,reset:r,rules:{},toString:n}),t.rules[u]={group:s,index:o,cache:new Set(c)})}if(t)break}if(!t){const o=(e,t)=>({type:t,cssRules:[],insertRule(e,t){this.cssRules.splice(t,0,o(e,{import:3,undefined:1}[(e.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return"@media{}"===e?`@media{${[].map.call(this.cssRules,e=>e.cssText).join("")}}`:e}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:o("","text/css"),rules:{},reset:r,toString:n}}const{sheet:i,rules:a}=t;for(let e=Pn.length-1;e>=0;--e){const t=Pn[e];if(!a[t]){const n=Pn[e+1],r=a[n]?a[n].index:i.cssRules.length;i.insertRule("@media{}",r),i.insertRule(`--sxs{--sxs:${e}}`,r),a[t]={group:i.cssRules[r+1],index:r,cache:new Set([e])}}Fn(a[t])}};return r(),t},Fn=e=>{const t=e.group;let n=t.cssRules.length;e.apply=e=>{try{t.insertRule(e,n),++n}catch(e){}}},Hn=Symbol(),zn=fn(),Un=(e,t)=>zn(e,()=>(...n)=>{let r={type:null,composers:new Set};for(const t of n)if(null!=t)if(t[gn]){null==r.type&&(r.type=t[gn].type);for(const e of t[gn].composers)r.composers.add(e)}else t.constructor!==Object||t.$$typeof?null==r.type&&(r.type=t):r.composers.add(jn(t,e));return null==r.type&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),Gn(e,r,t)}),jn=({variants:e,compoundVariants:t,defaultVariants:n,...r},o)=>{const i=`${Cn(o.prefix)}c-${Mn(r)}`,a=[],s=[],l=Object.create(null),c=[];for(const p in n)l[p]=String(n[p]);if("object"==typeof e&&e)for(const p in e){u=l,d=p,vn.call(u,d)||(l[p]="undefined");const t=e[p];for(const e in t){const n={[p]:String(e)};"undefined"===String(e)&&c.push(p);const r=t[e],o=[n,r,!bn(r)];a.push(o)}}var u,d;if("object"==typeof t&&t)for(const p of t){let{css:e,...t}=p;e="object"==typeof e&&e||{};for(const r in t)t[r]=String(t[r]);const n=[t,e,!bn(e)];s.push(n)}return[i,r,a,s,l,c]},Gn=(e,t,n)=>{const[r,o,i,a]=Wn(t.composers),s="function"==typeof t.type||t.type.$$typeof?(e=>{function t(){for(let n=0;n<t[Hn].length;n++){const[r,o]=t[Hn][n];e.rules[r].apply(o)}return t[Hn]=[],null}return t[Hn]=[],t.rules={},Pn.forEach(e=>t.rules[e]={apply:n=>t[Hn].push([e,n])}),t})(n):null,l=(s||n).rules,c=`.${r}${o.length>1?`:where(.${o.slice(1).join(".")})`:""}`,u=u=>{u="object"==typeof u&&u||Vn;const{css:d,...p}=u,h={};for(const e in i)if(delete p[e],e in u){let t=u[e];"object"==typeof t&&t?h[e]={"@initial":i[e],...t}:(t=String(t),h[e]="undefined"!==t||a.has(e)?t:i[e])}else h[e]=i[e];const f=new Set([...o]);for(const[r,o,i,a]of t.composers){n.rules.styled.cache.has(r)||(n.rules.styled.cache.add(r),Nn(o,[`.${r}`],[],e,e=>{l.styled.apply(e)}));const t=qn(i,h,e.media),s=qn(a,h,e.media,!0);for(const o of t)if(void 0!==o)for(const[t,i,a]of o){const o=`${r}-${Mn(i)}-${t}`;f.add(o);const s=(a?n.rules.resonevar:n.rules.onevar).cache,c=a?l.resonevar:l.onevar;s.has(o)||(s.add(o),Nn(i,[`.${o}`],[],e,e=>{c.apply(e)}))}for(const o of s)if(void 0!==o)for(const[t,i]of o){const o=`${r}-${Mn(i)}-${t}`;f.add(o),n.rules.allvar.cache.has(o)||(n.rules.allvar.cache.add(o),Nn(i,[`.${o}`],[],e,e=>{l.allvar.apply(e)}))}}if("object"==typeof d&&d){const t=`${r}-i${Mn(d)}-css`;f.add(t),n.rules.inline.cache.has(t)||(n.rules.inline.cache.add(t),Nn(d,[`.${t}`],[],e,e=>{l.inline.apply(e)}))}for(const e of String(u.className||"").trim().split(/\s+/))e&&f.add(e);const g=p.className=[...f].join(" ");return{type:t.type,className:g,selector:c,props:p,toString:()=>g,deferredInjector:s}};return mn(u,{className:r,selector:c,[gn]:t,toString:()=>(n.rules.styled.cache.has(r)||u(),r)})},Wn=e=>{let t="";const n=[],r={},o=[];for(const[i,,,,a,s]of e){""===t&&(t=i),n.push(i),o.push(...s);for(const e in a){const t=a[e];(void 0===r[e]||"undefined"!==t||s.includes(t))&&(r[e]=t)}}return[t,n,r,new Set(o)]},qn=(e,t,n,r)=>{const o=[];e:for(let[i,a,s]of e){if(s)continue;let e,l=0,c=!1;for(e in i){const r=i[e];let o=t[e];if(o!==r){if("object"!=typeof o||!o)continue e;{let e,t,i=0;for(const a in o){if(r===String(o[a])){if("@initial"!==a){const e=a.slice(1);(t=t||[]).push(e in n?n[e]:a.replace(/^@media ?/,"")),c=!0}l+=i,e=!0}++i}if(t&&t.length&&(a={["@media "+t.join(", ")]:a}),!e)continue e}}}(o[l]=o[l]||[]).push([r?"cv":`${e}-${i[e]}`,a,c])}return o},Vn={},Yn=fn(),Kn=(e,t)=>Yn(e,()=>(...n)=>{const r=()=>{for(let r of n){r="object"==typeof r&&r||{};let n=Mn(r);if(!t.rules.global.cache.has(n)){if(t.rules.global.cache.add(n),"@import"in r){let e=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let n of[].concat(r["@import"]))n=n.includes('"')||n.includes("'")?n:`"${n}"`,t.sheet.insertRule(`@import ${n};`,e++);delete r["@import"]}Nn(r,[],[],e,e=>{t.rules.global.apply(e)})}}return""};return mn(r,{toString:r})}),Xn=fn(),Qn=(e,t)=>Xn(e,()=>n=>{const r=`${Cn(e.prefix)}k-${Mn(n)}`,o=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const o=[];Nn(n,[],[],e,e=>o.push(e));const i=`@keyframes ${r}{${o.join("")}}`;t.rules.global.apply(i)}return r};return mn(o,{get name(){return o()},toString:o})}),Zn=class{constructor(e,t,n,r){this.token=null==e?"":String(e),this.value=null==t?"":String(t),this.scale=null==n?"":String(n),this.prefix=null==r?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+Cn(this.prefix)+Cn(this.scale)+this.token}toString(){return this.computedValue}},Jn=fn(),er=(e,t)=>Jn(e,()=>(n,r)=>{r="object"==typeof n&&n||Object(r);const o=`.${n=(n="string"==typeof n?n:"")||`${Cn(e.prefix)}t-${Mn(r)}`}`,i={},a=[];for(const t in r){i[t]={};for(const n in r[t]){const o=`--${Cn(e.prefix)}${t}-${n}`,s=xn(String(r[t][n]),e.prefix,t);i[t][n]=new Zn(n,s,t,e.prefix),a.push(`${o}:${s}`)}}const s=()=>{if(a.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const o=`${r===e.theme?":root,":""}.${n}{${a.join(";")}}`;t.rules.themed.apply(o)}return n};return{...i,get className(){return s()},selector:o,toString:s}}),tr=fn(),nr=e("dF","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function rr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var or,ir={exports:{}},ar=(or||(or=1,function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Function]",a="[object Object]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[o]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[i]=c["[object Map]"]=c["[object Number]"]=c[a]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var u,d="object"==typeof nr&&nr&&nr.Object===Object&&nr,p="object"==typeof self&&self&&self.Object===Object&&self,h=d||p||Function("return this")(),f=t&&!t.nodeType&&t,g=f&&e&&!e.nodeType&&e,m=g&&g.exports===f,b=m&&d.process,v=function(){try{var e=g&&g.require&&g.require("util").types;return e||b&&b.binding&&b.binding("util")}catch(ro){}}(),y=v&&v.isTypedArray,E=Array.prototype,_=Function.prototype,S=Object.prototype,k=h["__core-js_shared__"],T=_.toString,w=S.hasOwnProperty,A=(u=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",C=S.toString,x=T.call(Object),O=RegExp("^"+T.call(w).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),I=m?h.Buffer:void 0,N=h.Symbol,L=h.Uint8Array;I&&I.allocUnsafe;var D,R,M=(D=Object.getPrototypeOf,R=Object,function(e){return D(R(e))}),P=Object.create,B=S.propertyIsEnumerable,$=E.splice,F=N?N.toStringTag:void 0,H=function(){try{var e=de(Object,"defineProperty");return e({},"",{}),e}catch(ro){}}(),z=I?I.isBuffer:void 0,U=Math.max,j=Date.now,G=de(h,"Map"),W=de(Object,"create"),q=function(){function e(){}return function(t){if(!ke(t))return{};if(P)return P(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function V(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function X(e){var t=this.__data__=new Y(e);this.size=t.size}function Q(e,t){var n=ve(e),r=!n&&be(e),o=!n&&!r&&Ee(e),i=!n&&!r&&!o&&we(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||pe(c,l))||s.push(c);return s}function Z(e,t,n){(void 0!==n&&!me(e[t],n)||void 0===n&&!(t in e))&&te(e,t,n)}function J(e,t,n){var r=e[t];w.call(e,t)&&me(r,n)&&(void 0!==n||t in e)||te(e,t,n)}function ee(e,t){for(var n=e.length;n--;)if(me(e[n][0],t))return n;return-1}function te(e,t,n){"__proto__"==t&&H?H(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}V.prototype.clear=function(){this.__data__=W?W(null):{},this.size=0},V.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},V.prototype.get=function(e){var t=this.__data__;if(W){var r=t[e];return r===n?void 0:r}return w.call(t,e)?t[e]:void 0},V.prototype.has=function(e){var t=this.__data__;return W?void 0!==t[e]:w.call(t,e)},V.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=W&&void 0===t?n:t,this},Y.prototype.clear=function(){this.__data__=[],this.size=0},Y.prototype.delete=function(e){var t=this.__data__,n=ee(t,e);return!(n<0||(n==t.length-1?t.pop():$.call(t,n,1),--this.size,0))},Y.prototype.get=function(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]},Y.prototype.has=function(e){return ee(this.__data__,e)>-1},Y.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},K.prototype.clear=function(){this.size=0,this.__data__={hash:new V,map:new(G||Y),string:new V}},K.prototype.delete=function(e){var t=ue(this,e).delete(e);return this.size-=t?1:0,t},K.prototype.get=function(e){return ue(this,e).get(e)},K.prototype.has=function(e){return ue(this,e).has(e)},K.prototype.set=function(e,t){var n=ue(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},X.prototype.clear=function(){this.__data__=new Y,this.size=0},X.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},X.prototype.get=function(e){return this.__data__.get(e)},X.prototype.has=function(e){return this.__data__.has(e)},X.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Y){var r=n.__data__;if(!G||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new K(r)}return n.set(e,t),this.size=n.size,this};var ne=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[++r];if(!1===t(o[s],s,o))break}return e};function re(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":F&&F in Object(e)?function(e){var t=w.call(e,F),n=e[F];try{e[F]=void 0;var r=!0}catch(ro){}var o=C.call(e);return r&&(t?e[F]=n:delete e[F]),o}(e):function(e){return C.call(e)}(e)}function oe(e){return Te(e)&&re(e)==o}function ie(e){return!(!ke(e)||function(e){return!!A&&A in e}(e))&&(_e(e)?O:s).test(function(e){if(null!=e){try{return T.call(e)}catch(ro){}try{return e+""}catch(ro){}}return""}(e))}function ae(e){if(!ke(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=he(e),n=[];for(var r in e)("constructor"!=r||!t&&w.call(e,r))&&n.push(r);return n}function se(e,t,n,r,o){e!==t&&ne(t,function(i,s){if(o||(o=new X),ke(i))!function(e,t,n,r,o,i,s){var l=fe(e,n),c=fe(t,n),u=s.get(c);if(u)Z(e,n,u);else{var d,p=i?i(l,c,n+"",e,t,s):void 0,h=void 0===p;if(h){var f=ve(c),g=!f&&Ee(c),m=!f&&!g&&we(c);p=c,f||g||m?ve(l)?p=l:Te(d=l)&&ye(d)?p=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(l):g?(h=!1,p=function(e){return e.slice()}(c)):m?(h=!1,p=function(e){var t,n,r=(t=e.buffer,n=new t.constructor(t.byteLength),new L(n).set(new L(t)),n);return new e.constructor(r,e.byteOffset,e.length)}(c)):p=[]:function(e){if(!Te(e)||re(e)!=a)return!1;var t=M(e);if(null===t)return!0;var n=w.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&T.call(n)==x}(c)||be(c)?(p=l,be(l)?p=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=void 0;void 0===s&&(s=e[a]),r?te(n,a,s):J(n,a,s)}return n}(e,Ae(e))}(l):ke(l)&&!_e(l)||(p=function(e){return"function"!=typeof e.constructor||he(e)?{}:q(M(e))}(c))):h=!1}h&&(s.set(c,p),o(p,c,r,i,s),s.delete(c)),Z(e,n,p)}}(e,t,s,n,se,r,o);else{var l=r?r(fe(e,s),i,s+"",e,t,o):void 0;void 0===l&&(l=i),Z(e,s,l)}},Ae)}function le(e,t){return ge(function(e,t,n){return t=U(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=U(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Oe),e+"")}var ce=H?function(e,t){return H(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Oe;function ue(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function de(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ie(n)?n:void 0}function pe(e,t){var n=typeof e;return!!(t=null==t?r:t)&&("number"==n||"symbol"!=n&&l.test(e))&&e>-1&&e%1==0&&e<t}function he(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||S)}function fe(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ge=function(e){var t=0,n=0;return function(){var r=j(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ce);function me(e,t){return e===t||e!=e&&t!=t}var be=oe(function(){return arguments}())?oe:function(e){return Te(e)&&w.call(e,"callee")&&!B.call(e,"callee")},ve=Array.isArray;function ye(e){return null!=e&&Se(e.length)&&!_e(e)}var Ee=z||function(){return!1};function _e(e){if(!ke(e))return!1;var t=re(e);return t==i||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Se(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function ke(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Te(e){return null!=e&&"object"==typeof e}var we=y?function(e){return function(t){return e(t)}}(y):function(e){return Te(e)&&Se(e.length)&&!!c[re(e)]};function Ae(e){return ye(e)?Q(e):ae(e)}var Ce,xe=(Ce=function(e,t,n){se(e,t,n)},le(function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Ce.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!ke(n))return!1;var r=typeof t;return!!("number"==r?ye(n)&&pe(t,n.length):"string"==r&&t in n)&&me(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Ce(e,a,n,o)}return e}));function Oe(e){return e}e.exports=xe}(ir,ir.exports)),ir.exports);const sr=rr(ar),lr=()=>{},cr=(e,t)=>t();function ur(e,t){const n=I(e),r=n?[n]:[],{onEnter:o=cr,onExit:i=cr}=t,[a,s]=k(t.appear?[]:r),[l]=H();let c,u=!1;function d(e,t){if(!e)return t&&t();u=!0,i(e,()=>{O(()=>{u=!1,s(t=>t.filter(t=>t!==e)),t&&t()})})}function p(e){const t=c;if(!t)return e&&e();c=void 0,s(e=>[t,...e]),o(t,e??lr)}const h="out-in"===t.mode?e=>u||d(e,p):"in-out"===t.mode?e=>p(()=>d(e)):e=>{d(e),p()};return T(t=>{const n=e();return I(l)?(l(),t):(n!==t&&(c=n,O(()=>I(()=>h(t)))),n)},t.appear?void 0:n),a}const dr=function(e,t,n){if(r.context){const[r,o]=k(e,n);return L(()=>o(()=>t())),[r,o]}return k(t(),n)},pr=e=>e instanceof Element;function hr(e,t){if(t(e))return e;if("function"==typeof e&&!e.length)return hr(e(),t);if(Array.isArray(e)){const n=[];for(const r of e){const e=hr(r,t);e&&(Array.isArray(e)?n.push.apply(n,e):n.push(e))}return n.length?n:null}return null}function fr(e,t=pr,n=pr){const r=C(e),o=C(()=>hr(r(),t));return o.toArray=()=>{const e=o();return Array.isArray(e)?e:e?[e]:[]},o}function gr(e,t){if(t(e))return e;if("function"==typeof e&&!e.length)return gr(e(),t);if(Array.isArray(e))for(const n of e){const e=gr(n,t);if(e)return e}return null}function mr(e,t=pr,n=pr){const r=C(e);return C(()=>gr(r(),t))}function br(e){return C(()=>{const t=e.name||"s";return{enterActive:(e.enterActiveClass||t+"-enter-active").split(" "),enter:(e.enterClass||t+"-enter").split(" "),enterTo:(e.enterToClass||t+"-enter-to").split(" "),exitActive:(e.exitActiveClass||t+"-exit-active").split(" "),exit:(e.exitClass||t+"-exit").split(" "),exitTo:(e.exitToClass||t+"-exit-to").split(" "),move:(e.moveClass||t+"-move").split(" ")}})}function vr(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function yr(e,t,n,r){const{onBeforeEnter:o,onEnter:i,onAfterEnter:a}=t;function s(t){t&&t.target!==n||(r?.(),n.removeEventListener("transitionend",s),n.removeEventListener("animationend",s),n.classList.remove(...e.enterActive),n.classList.remove(...e.enterTo),a?.(n))}o?.(n),n.classList.add(...e.enter),n.classList.add(...e.enterActive),queueMicrotask(()=>{if(!n.parentNode)return r?.();i?.(n,()=>s())}),vr(()=>{n.classList.remove(...e.enter),n.classList.add(...e.enterTo),(!i||i.length<2)&&(n.addEventListener("transitionend",s),n.addEventListener("animationend",s))})}function Er(e,t,n,r){const{onBeforeExit:o,onExit:i,onAfterExit:a}=t;if(!n.parentNode)return r?.();function s(t){t&&t.target!==n||(r?.(),n.removeEventListener("transitionend",s),n.removeEventListener("animationend",s),n.classList.remove(...e.exitActive),n.classList.remove(...e.exitTo),a?.(n))}o?.(n),n.classList.add(...e.exit),n.classList.add(...e.exitActive),i?.(n,()=>s()),vr(()=>{n.classList.remove(...e.exit),n.classList.add(...e.exitTo),(!i||i.length<2)&&(n.addEventListener("transitionend",s),n.addEventListener("animationend",s))})}const _r={inout:"in-out",outin:"out-in"},Sr=e=>{const t=br(e);return ur(mr(()=>e.children),{mode:_r[e.mode],appear:e.appear,onEnter(n,r){yr(t(),e,n,r)},onExit(n,r){Er(t(),e,n,r)}})},kr=e=>{const t=br(e);return function(e,t){const n=I(e),{onChange:r}=t;let o=new Set(t.appear?void 0:n);const i=new WeakSet,[a,s]=k([],{equals:!1}),[c]=H(),u=e=>{s(t=>(t.push.apply(t,e),t));for(const t of e)i.delete(t)},d=(e,t,n)=>e.splice(n,0,t);return C(t=>{const n=a(),s=e();if(s[l],I(c))return c(),t;if(n.length){const e=t.filter(e=>!n.includes(e));return n.length=0,r({list:e,added:[],removed:[],unchanged:e,finishRemoved:u}),e}return I(()=>{const e=new Set(s),n=s.slice(),a=[],l=[],c=[];for(const t of s)(o.has(t)?c:a).push(t);let p=!a.length;for(let r=0;r<t.length;r++){const o=t[r];e.has(o)||(i.has(o)||(l.push(o),i.add(o)),d(n,o,r)),p&&o!==n[r]&&(p=!1)}return!l.length&&p?t:(r({list:n,added:a,removed:l,unchanged:c,finishRemoved:u}),o=e,n)})},t.appear?[]:n.slice())}(fr(()=>e.children).toArray,{appear:e.appear,onChange({added:n,removed:r,finishRemoved:o,list:i}){const a=t();for(const t of n)yr(a,e,t);const s=[];for(const e of i)e.isConnected&&(e instanceof HTMLElement||e instanceof SVGElement)&&s.push({el:e,rect:e.getBoundingClientRect()});queueMicrotask(()=>{const e=[];for(const{el:t,rect:n}of s)if(t.isConnected){const r=t.getBoundingClientRect(),o=n.left-r.left,i=n.top-r.top;(o||i)&&(t.style.transform=`translate(${o}px, ${i}px)`,t.style.transitionDuration="0s",e.push(t))}document.body.offsetHeight;for(const l of e){function c(e){(e.target===l||/transform$/.test(e.propertyName))&&(l.removeEventListener("transitionend",c),l.classList.remove(...a.move))}l.classList.add(...a.move),l.style.transform=l.style.transitionDuration="",l.addEventListener("transitionend",c)}});for(const t of r)Er(a,e,t,()=>o([t]))}})};
1
+ System.register([],function(e,t){"use strict";return{execute:function(){var n=document.createElement("style");n.textContent='.markdown-body{width:100%}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body .anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px}.markdown-body .anchor:focus{outline:none}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1b1f23;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\' version=\'1.1\' width=\'16\' height=\'16\' aria-hidden=\'true\'%3E%3Cpath fill-rule=\'evenodd\' d=\'M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\'%3E%3C/path%3E%3C/svg%3E")}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#24292e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body details{display:block}.markdown-body summary{display:list-item}.markdown-body a{background-color:initial}.markdown-body a:active,.markdown-body a:hover{outline-width:0}.markdown-body strong{font-weight:inherit;font-weight:bolder}.markdown-body h1{font-size:2em;margin:.67em 0}.markdown-body img{border-style:none;max-width:100%;box-sizing:initial;display:initial}.markdown-body code,.markdown-body kbd,.markdown-body pre{font-family:monospace,monospace;font-size:1em}.markdown-body hr{box-sizing:initial;height:0;overflow:visible}.markdown-body input{font:inherit;margin:0}.markdown-body input{overflow:visible}.markdown-body [type=checkbox]{box-sizing:border-box;padding:0}.markdown-body *{box-sizing:border-box}.markdown-body input{font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body a{color:#0366d6;text-decoration:none}.markdown-body a:hover{text-decoration:underline}.markdown-body strong{font-weight:600}.markdown-body hr{height:0;margin:15px 0;overflow:hidden;background:transparent;border:0;border-bottom:1px solid #dfe2e5}.markdown-body hr:after,.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{clear:both}.markdown-body table{border-spacing:0;border-collapse:collapse}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:0;margin-bottom:0}.markdown-body h1{font-size:32px}.markdown-body h1,.markdown-body h2{font-weight:600}.markdown-body h2{font-size:24px}.markdown-body h3{font-size:20px}.markdown-body h3,.markdown-body h4{font-weight:600}.markdown-body h4{font-size:16px}.markdown-body h5{font-size:14px}.markdown-body h5,.markdown-body h6{font-weight:600}.markdown-body h6{font-size:12px}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0}.markdown-body ol,.markdown-body ul{padding-left:0;margin-top:0;margin-bottom:0}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code,.markdown-body pre{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:16px}.markdown-body pre{margin-top:0;margin-bottom:0}.markdown-body input::-webkit-inner-spin-button,.markdown-body input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.markdown-body :checked+.radio-label{position:relative;z-index:1;border-color:#0366d6}.markdown-body .border{border:1px solid #e1e4e8!important}.markdown-body .border-0{border:0!important}.markdown-body .border-bottom{border-bottom:1px solid #e1e4e8!important}.markdown-body .rounded-1{border-radius:3px!important}.markdown-body .bg-white{background-color:#fff!important}.markdown-body .bg-gray-light{background-color:#fafbfc!important}.markdown-body .text-gray-light{color:#6a737d!important}.markdown-body .my-2{margin-top:8px!important;margin-bottom:8px!important}.markdown-body .pl-3,.markdown-body .px-3{padding-left:16px!important}.markdown-body .px-3{padding-right:16px!important}.markdown-body .f6{font-size:12px!important}.markdown-body .lh-condensed{line-height:1.25!important}.markdown-body .text-bold{font-weight:600!important}.markdown-body .pl-c{color:#6a737d}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#005cc5}.markdown-body .pl-e,.markdown-body .pl-en{color:#6f42c1}.markdown-body .pl-s .pl-s1,.markdown-body .pl-smi{color:#24292e}.markdown-body .pl-ent{color:#22863a}.markdown-body .pl-k{color:#d73a49}.markdown-body .pl-pds,.markdown-body .pl-s,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre{color:#032f62}.markdown-body .pl-smw,.markdown-body .pl-v{color:#e36209}.markdown-body .pl-bu{color:#b31d28}.markdown-body .pl-ii{color:#fafbfc;background-color:#b31d28}.markdown-body .pl-c2{color:#fafbfc;background-color:#d73a49}.markdown-body .pl-c2:before{content:"^M"}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#22863a}.markdown-body .pl-ml{color:#735c0f}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#005cc5}.markdown-body .pl-mi{font-style:italic;color:#24292e}.markdown-body .pl-mb{font-weight:700;color:#24292e}.markdown-body .pl-md{color:#b31d28;background-color:#ffeef0}.markdown-body .pl-mi1{color:#22863a;background-color:#f0fff4}.markdown-body .pl-mc{color:#e36209;background-color:#ffebda}.markdown-body .pl-mi2{color:#f6f8fa;background-color:#005cc5}.markdown-body .pl-mdr{font-weight:700;color:#6f42c1}.markdown-body .pl-ba{color:#586069}.markdown-body .pl-sg{color:#959da5}.markdown-body .pl-corl{text-decoration:underline;color:#032f62}.markdown-body .mb-0{margin-bottom:0!important}.markdown-body .my-2{margin-bottom:8px!important}.markdown-body .my-2{margin-top:8px!important}.markdown-body .pl-0{padding-left:0!important}.markdown-body .py-0{padding-top:0!important;padding-bottom:0!important}.markdown-body .pl-1{padding-left:4px!important}.markdown-body .pl-2{padding-left:8px!important}.markdown-body .py-2{padding-top:8px!important;padding-bottom:8px!important}.markdown-body .pl-3{padding-left:16px!important}.markdown-body .pl-4{padding-left:24px!important}.markdown-body .pl-5{padding-left:32px!important}.markdown-body .pl-6{padding-left:40px!important}.markdown-body .pl-7{padding-left:48px!important}.markdown-body .pl-8{padding-left:64px!important}.markdown-body .pl-9{padding-left:80px!important}.markdown-body .pl-10{padding-left:96px!important}.markdown-body .pl-11{padding-left:112px!important}.markdown-body .pl-12{padding-left:128px!important}.markdown-body hr{border-bottom-color:#eee}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fafbfc;border:1px solid #d1d5da;border-radius:3px;box-shadow:inset 0 -1px #d1d5da}.markdown-body:after,.markdown-body:before{display:table;content:""}.markdown-body:after{clear:both}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body blockquote,.markdown-body details,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body hr{height:.25em;padding:0;margin:24px 0;background-color:#e1e4e8;border:0}.markdown-body blockquote{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h1{font-size:2em}.markdown-body h1,.markdown-body h2{padding-bottom:.3em;border-bottom:1px solid #eaecef}.markdown-body h2{font-size:1.5em}.markdown-body h3{font-size:1.25em}.markdown-body h4{font-size:1em}.markdown-body h5{font-size:.875em}.markdown-body h6{font-size:.85em;color:#6a737d}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li{word-wrap:break-all}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table{display:block;width:100%;overflow:auto}.markdown-body table th{font-weight:600}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #dfe2e5}.markdown-body table tr{background-color:#fff;border-top:1px solid #c6cbd1}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body code{padding:.2em .4em;margin:0;font-size:85%;background-color:rgba(27,31,35,.05);border-radius:3px}.markdown-body pre{word-wrap:normal}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:90%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}.markdown-body pre code{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:initial;border:0}.markdown-body .commit-tease-sha{display:inline-block;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:90%;color:#444d56}.markdown-body .full-commit .btn-outline:not(:disabled):hover{color:#005cc5;border-color:#005cc5}.markdown-body .blob-wrapper{overflow-x:auto;overflow-y:hidden}.markdown-body .blob-wrapper-embedded{max-height:240px;overflow-y:auto}.markdown-body .blob-num{width:1%;min-width:50px;padding-right:10px;padding-left:10px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,.3);text-align:right;white-space:nowrap;vertical-align:top;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markdown-body .blob-num:hover{color:rgba(27,31,35,.6)}.markdown-body .blob-num:before{content:attr(data-line-number)}.markdown-body .blob-code{position:relative;padding-right:10px;padding-left:10px;line-height:20px;vertical-align:top}.markdown-body .blob-code-inner{overflow:visible;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;color:#24292e;word-wrap:normal;white-space:pre}.markdown-body .pl-token.active,.markdown-body .pl-token:hover{cursor:pointer;background:#ffea7f}.markdown-body .tab-size[data-tab-size="1"]{-moz-tab-size:1;tab-size:1}.markdown-body .tab-size[data-tab-size="2"]{-moz-tab-size:2;tab-size:2}.markdown-body .tab-size[data-tab-size="3"]{-moz-tab-size:3;tab-size:3}.markdown-body .tab-size[data-tab-size="4"]{-moz-tab-size:4;tab-size:4}.markdown-body .tab-size[data-tab-size="5"]{-moz-tab-size:5;tab-size:5}.markdown-body .tab-size[data-tab-size="6"]{-moz-tab-size:6;tab-size:6}.markdown-body .tab-size[data-tab-size="7"]{-moz-tab-size:7;tab-size:7}.markdown-body .tab-size[data-tab-size="8"]{-moz-tab-size:8;tab-size:8}.markdown-body .tab-size[data-tab-size="9"]{-moz-tab-size:9;tab-size:9}.markdown-body .tab-size[data-tab-size="10"]{-moz-tab-size:10;tab-size:10}.markdown-body .tab-size[data-tab-size="11"]{-moz-tab-size:11;tab-size:11}.markdown-body .tab-size[data-tab-size="12"]{-moz-tab-size:12;tab-size:12}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{margin:0 .2em .25em -1.6em;vertical-align:middle}.hope-ui-dark .markdown-body{color:#f3f4f6}.hope-ui-dark .markdown-body a{color:#0284c7}.hope-ui-dark .markdown-body hr{border-bottom:1px solid #21262d;border-bottom-color:#21262d;background-color:#30363d}.hope-ui-dark .markdown-body kbd{color:#b1bac4;background-color:#0d1117;border:1px solid #6e7681;box-shadow:inset 0 -1px #6e7681}.hope-ui-dark .markdown-body :checked+.radio-label{border-color:rgba(56,139,253,.4)}.hope-ui-dark .markdown-body .border{border:1px solid #30363d!important}.hope-ui-dark .markdown-body .border-bottom{border-bottom:1px solid #30363d!important}.hope-ui-dark .markdown-body .bg-white,.hope-ui-dark .markdown-body .bg-gray-light{background-color:#0d1117!important}.hope-ui-dark .markdown-body .text-gray-light{color:#8b949e!important}.hope-ui-dark .markdown-body .pl-c{color:#8b949e}.hope-ui-dark .markdown-body .pl-c1,.hope-ui-dark .markdown-body .pl-s .pl-v{color:#79c0ff}.hope-ui-dark .markdown-body .pl-e,.hope-ui-dark .markdown-body .pl-en{color:#d2a8ff}.hope-ui-dark .markdown-body .pl-s .pl-s1,.hope-ui-dark .markdown-body .pl-smi{color:#c9d1d9}.hope-ui-dark .markdown-body .pl-ent{color:#7ee787}.hope-ui-dark .markdown-body .pl-k{color:#ff7b72}.hope-ui-dark .markdown-body .pl-pds,.hope-ui-dark .markdown-body .pl-s,.hope-ui-dark .markdown-body .pl-s .pl-pse .pl-s1,.hope-ui-dark .markdown-body .pl-sr,.hope-ui-dark .markdown-body .pl-sr .pl-cce,.hope-ui-dark .markdown-body .pl-sr .pl-sra,.hope-ui-dark .markdown-body .pl-sr .pl-sre{color:#a5d6ff}.hope-ui-dark .markdown-body .pl-smw,.hope-ui-dark .markdown-body .pl-v{color:#ffa657}.hope-ui-dark .markdown-body .pl-bu{color:#f85149}.hope-ui-dark .markdown-body .pl-ii{color:#f0f6fc;background-color:#8e1519}.hope-ui-dark .markdown-body .pl-c2{color:#f0f6fc;background-color:#b62324}.hope-ui-dark .markdown-body .pl-sr .pl-cce{color:#7ee787}.hope-ui-dark .markdown-body .pl-ml{color:#f2cc60}.hope-ui-dark .markdown-body .pl-mh,.hope-ui-dark .markdown-body .pl-mh .pl-en,.hope-ui-dark .markdown-body .pl-ms{color:#1f6feb}.hope-ui-dark .markdown-body .pl-mi,.hope-ui-dark .markdown-body .pl-mb{color:#c9d1d9}.hope-ui-dark .markdown-body .pl-md{color:#ffdcd7;background-color:#67060c}.hope-ui-dark .markdown-body .pl-mi1{color:#aff5b4;background-color:#033a16}.hope-ui-dark .markdown-body .pl-mc{color:#ffdfb6;background-color:#5a1e02}.hope-ui-dark .markdown-body .pl-mi2{color:#c9d1d9;background-color:#1158c7}.hope-ui-dark .markdown-body .pl-mdr{color:#d2a8ff}.hope-ui-dark .markdown-body .pl-ba{color:#8b949e}.hope-ui-dark .markdown-body .pl-sg{color:#484f58}.hope-ui-dark .markdown-body .pl-corl{color:#a5d6ff}.hope-ui-dark .markdown-body blockquote{color:#8b949e;border-left:.25em solid #3b434b}.hope-ui-dark .markdown-body h1,.hope-ui-dark .markdown-body h2{border-bottom:1px solid #21262d}.hope-ui-dark .markdown-body h6{color:#8b949e}.hope-ui-dark .markdown-body table td,.hope-ui-dark .markdown-body table th{border:1px solid #3b434b}.hope-ui-dark .markdown-body table tr{background-color:#0d1117;border-top:1px solid #272c32}.hope-ui-dark .markdown-body table tr:nth-child(2n){background-color:#161b22}.hope-ui-dark .markdown-body .highlight pre,.hope-ui-dark .markdown-body pre{background-color:#1f1f22}.hope-ui-dark .markdown-body .commit-tease-sha{color:#b1bac4}.hope-ui-dark .markdown-body .blob-num{color:rgba(240,246,252,.3)}.hope-ui-dark .markdown-body .blob-num:hover{color:rgba(240,246,252,.6)}.hope-ui-dark .markdown-body .blob-code-inner{color:#c9d1d9}.hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#f8f8f8}.hope-ui-dark .hljs{color:rgba(255,255,255,.92)}.hljs-comment,.hljs-quote{color:#998;font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-subst{color:#333;font-weight:700}.hope-ui-dark .hljs-keyword,.hope-ui-dark .hljs-selector-tag,.hope-ui-dark .hljs-subst{color:rgba(255,255,255,.92)}.hljs-literal,.hljs-number,.hljs-tag .hljs-attr,.hljs-template-variable,.hljs-variable{color:teal}.hljs-doctag,.hljs-string{color:#d14}.hope-ui-dark .hljs-doctag,.hope-ui-dark .hljs-string{color:#fc8181}.hljs-section,.hljs-selector-id,.hljs-title{color:#900;font-weight:700}.hope-ui-dark .hljs-section,.hope-ui-dark .hljs-selector-id,.hope-ui-dark .hljs-title{color:#f56565}.hljs-subst{font-weight:400}.hljs-class .hljs-title,.hljs-type{color:#458;font-weight:700}.hope-ui-dark .hljs-class .hljs-title,.hope-ui-dark .hljs-type{color:#9f7aea}.hljs-attribute,.hljs-name,.hljs-tag{color:navy;font-weight:400}.hope-ui-dark .hljs-attribute,.hope-ui-dark .hljs-name,.hope-ui-dark .hljs-tag{color:#63b3ed}.hljs-link,.hljs-regexp{color:#009926}.hljs-bullet,.hljs-symbol{color:#990073}.hljs-built_in,.hljs-builtin-name{color:#0086b3}.hope-ui-dark .hljs-built_in,.hope-ui-dark .hljs-builtin-name{color:#00c5ff}.hljs-meta{color:#999;font-weight:700}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.markdown-body.word-wrap code{white-space:break-spaces;word-break:break-all}.katex-display .frac-line{border-bottom-width:.04em}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background-color:#e2e2e2;border-radius:2px}::-webkit-scrollbar-thumb{border-radius:2px;background-color:rgba(0,0,0,.3)}::-webkit-scrollbar-button:vertical{display:none}::-webkit-scrollbar-thumb:vertical:hover{background-color:rgba(0,0,0,.35)}::-webkit-scrollbar-thumb:vertical:active{background-color:rgba(0,0,0,.38)}.hope-ui-dark ::-webkit-scrollbar-corner,.hope-ui-dark ::-webkit-scrollbar-track{background-color:#0f0f0f}.hope-ui-dark ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.hope-ui-dark ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.hope-ui-dark ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.hope-select__option{flex-shrink:0}\n/*$vite$:1*/',document.head.appendChild(n),e({B:k,C:A,D:pe,E:fu,F:lu,G:nu,H:wu,I:Wu,J:au,K:Bl,L:Zc,M:mu,N:D,O:C,Q:be,R:ke,S:Te,T:uf,W:nc,X:oc,Z:function(e){e=be({inactiveClass:"inactive",activeClass:"active"},e);const[,t]=ve(e,["href","state","class","activeClass","inactiveClass","end"]),n=Ct(()=>e.href),r=xt(n),o=It(),i=C(()=>{const t=n();if(void 0===t)return!1;const r=ft(t.split(/[?#]/,1)[0]).toLowerCase(),i=ft(o.pathname).toLowerCase();return e.end?r===i:i.startsWith(r)});return Ve(a=Bt(),be(t,{get href(){return r()||e.href},get state(){return JSON.stringify(e.state)},get classList(){return{...e.class&&{[e.class]:!0},[e.inactiveClass]:!i(),[e.activeClass]:i(),...t.classList}},get"aria-current"(){return i()?"page":void 0}}),!1,!1),a;var a},a0:ac,a1:Jl,a2:ys,a7:Ie,a8:we,a9:Ae,aA:Hu,aC:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5v-3zm8 0A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5v-3zm-8 8A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5v-3zm8 0A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5v-3z"/>'},e)},aD:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/><path d="M1.5 2A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13zm13 1a.5.5 0 0 1 .5.5v6l-3.775-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062L1.002 12v.54A.505.505 0 0 1 1 12.5v-9a.5.5 0 0 1 .5-.5h13z"/>'},e)},aF:cd,aG:bd,aI:ct,aJ:od,aK:Uu,aM:Fs,aN:QR,aP:Yu,aR:cc,aS:k_,aT:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z"/><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"/>'},e)},aU:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path fill="currentColor" fill-opacity="0.09" d="M292.7 840h438.6l24.2-512h-487z"/><path d="M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z"/>'},e)},aV:hf,aY:ff,aZ:Ke,ae:ye,ag:af,ah:Ud,aj:N,am:x,ap:function(e){const[n,r]=k("utf-8"),[o,i]=k(!0),{isString:a,text:s}=CE(e.children),{pathname:l}=Wy(),c=C(()=>{let t=(t=>e.ext&&"md"!==e.ext.toLocaleLowerCase()?"```"+e.ext+"\n"+t+"\n```":t)(s(n()));return t=t.replace(/!\[.*?\]\((.*?)\)/g,t=>{const n=t.match(/!\[(.*?)\]\(.*?\)/)[1];let r=t.match(/!\[.*?\]\((.*?)\)/)[1];if(r.startsWith("data:image/"))return t;if(r.startsWith("http://")||r.startsWith("https://")||r.startsWith("//"))return t;r=r.startsWith("/")?`${wf}/d${r}`:`${wf}/d${Lf(p_().base_path,Nf(e.readme?l():Rf(l()),r))}`;const o=`![${n}](${r})`;return console.log(o),o}),t}),[u,d]=k([$C]),[p,h]=k([ML]);A(N(c,async()=>{if(i(!1),/\$\$[\s\S]+?\$\$|\$[^$\n]+?\$/.test(c())){const{default:e}=await qy(async()=>{const{default:e}=await t.import("./index-legacy-BVQ2Muq9.js");return{default:e}},void 0),{default:n}=await qy(async()=>{const{default:e}=await t.import("./index-legacy-DpAMCNat.js");return{default:e}},void 0);bR(),d([...u(),e]),h([...p(),n])}vR(),setTimeout(()=>{i(!0),L_.highlightAll(),window.mermaid&&window.mermaid.run({querySelector:".language-mermaid"}),window.onMDRender&&window.onMDRender()})}));const[f,g]=k();return pe(As,{ref:e=>g(e),class:"markdown",pos:"relative",w:"$full",get children(){return[pe(Te,{get when(){return o()},get children(){return pe(Rw,{get class(){return function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=PL(e))&&(r&&(r+=" "),r+=t);return r}("markdown-body",e.class)},get remarkPlugins(){return u()},get rehypePlugins(){return p()},get children(){return c()}})}}),pe(Te,{when:!a,get children(){return pe(XR,{get encoding(){return n()},setEncoding:r,get referenceText(){return e.children}})}}),pe(fR,{get disabled(){return!e.toc},get markdownRef(){return f()}})]}})},as:Yc,au:L,aw:zd,ax:He,ay:hl,az:_d,b:kO,b$:ku,b2:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="M518.3 459a8 8 0 0 0-12.6 0l-112 141.7a7.98 7.98 0 0 0 6.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"/><path d="M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0 1 52.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 0 1-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"/>'},e)},b4:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M421.83 293.82A144 144 0 0 0 218.18 90.17"/><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M353.94 225.94a48 48 0 0 0-67.88-67.88"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M192 464 192 416"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M90.18 421.82 124.12 387.88"/><path stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M48 320 96 320"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M286.06 158.06 172.92 271.19a32 32 0 0 1-45.25 0L105 248.57a32 32 0 0 1 0-45.26L218.18 90.17M421.83 293.82 308.69 407a32 32 0 0 1-45.26 0l-22.62-22.63a32 32 0 0 1 0-45.26l113.13-113.17"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M139.6 169.98 207.48 237.87"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M275.36 305.75 343.25 373.63"/>'},e)},b8:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="m924.8 625.7-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 0 0 9.3-35.2l-.9-2.6a443.74 443.74 0 0 0-79.7-137.9l-1.8-2.1a32.12 32.12 0 0 0-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 0 0-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 0 0-25.8 25.7l-15.8 85.4a351.86 351.86 0 0 0-99 57.4l-81.9-29.1a32 32 0 0 0-35.1 9.5l-1.8 2.1a446.02 446.02 0 0 0-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 0 0-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0 0 35.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0 0 25.8 25.7l2.7.5a449.4 449.4 0 0 0 159 0l2.7-.5a32.05 32.05 0 0 0 25.8-25.7l15.7-85a350 350 0 0 0 99.7-57.6l81.3 28.9a32 32 0 0 0 35.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 0 1-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 0 1-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 0 1 512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 0 1 400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 0 1 624 502c0 29.9-11.7 58-32.8 79.2z"/>'},e)},bD:function(e){const t=bs().Drawer,[,n]=ve(e,["opened","onClose","placement","size","fullHeight","disableMotion"]),[r]=nn({get placement(){var n,r,o,i;return null!=(i=null!=(o=e.placement)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.placement)?i:"right"},get size(){var n,r,o,i;return null!=(i=null!=(o=e.size)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.size)?i:"xs"},get fullHeight(){var n,r,o,i;return null!=(i=null!=(o=e.fullHeight)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.fullHeight)&&i},get disableMotion(){var n,r,o,i;return null!=(i=null!=(o=e.disableMotion)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.disableMotion)&&i}});return pe(cu.Provider,{value:r,get children(){return pe(Zc,be({scrollBehavior:"inside",get blockScrollOnMount(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.blockScrollOnMount},get closeOnEsc(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.closeOnEsc},get closeOnOverlayClick(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.closeOnOverlayClick},get preserveScrollBarGap(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.preserveScrollBarGap},get trapFocus(){var e,n;return null==(n=null==(e=null==t?void 0:t.defaultProps)?void 0:e.root)?void 0:n.trapFocus},get opened(){return e.opened},get onClose(){return e.onClose}},n))}})},bE:xu,bF:Rp,bH:ch,bI:th,bJ:ph,bK:Up,bL:$p,bM:Gp,bN:Vp,bO:Jp,bP:Qp,bQ:Ih,bR:wc,bT:O,bV:nn,bZ:lt,bc:Bc,bk:function(e){const[t,n,r]=ve(e,["children","placeholder"],["variant","size","offset","id","multiple","value","defaultValue","required","disabled","invalid","readOnly","onChange","onFocus","onBlur"]);return pe(Rp,be(n,{get children(){return[pe(ch,be(r,{get children(){return[pe(Te,{get when(){return t.placeholder},get children(){return pe(th,{get children(){return t.placeholder}})}}),pe(ph,{}),pe(Up,{})]}})),pe($p,{get children(){return pe(Gp,{get children(){return t.children}})}})]}}))},bl:function(e){const[t,n]=ve(e,["children","value"]);return pe(Vp,be({get value(){return t.value}},n,{get children(){return[pe(Jp,{get children(){return t.children}}),pe(Qp,{})]}}))},bo:_p,bp:xp,bs:SR,bu:ou,bv:_u,bw:yu,bx:function(e){var t,n,r,o,i,a,s,l;const c=bs().Drawer,u={"aria-label":null!=(r=null==(n=null==(t=null==c?void 0:c.defaultProps)?void 0:t.closeButton)?void 0:n["aria-label"])?r:"Close drawer",size:null!=(a=null==(i=null==(o=null==c?void 0:c.defaultProps)?void 0:o.closeButton)?void 0:i.size)?a:"md",icon:null==(l=null==(s=null==c?void 0:c.defaultProps)?void 0:s.closeButton)?void 0:l.icon},d=be(u,e);return pe(ou,be({get __baseStyle(){var e;return null==(e=null==c?void 0:c.baseStyle)?void 0:e.closeButton}},d))},by:function(e){const t=bs().Drawer;return pe(lu,be({get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.header}},e))},bz:function(e){const t=bs().Drawer;return pe(nu,be({get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.body}},e))},c$:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM6 6.883a.5.5 0 0 1 .757-.429l3.528 2.117a.5.5 0 0 1 0 .858l-3.528 2.117a.5.5 0 0 1-.757-.43V6.884z"/>'},e)},c0:Fu,c1:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.06 6.5a.5.5 0 0 1 .5.5v.776a11.5 11.5 0 0 1-.552 3.519l-1.331 4.14a.5.5 0 0 1-.952-.305l1.33-4.141a10.5 10.5 0 0 0 .504-3.213V7a.5.5 0 0 1 .5-.5Z"/><path d="M6.06 7a2 2 0 1 1 4 0 .5.5 0 1 1-1 0 1 1 0 1 0-2 0v.332c0 .409-.022.816-.066 1.221A.5.5 0 0 1 6 8.447c.04-.37.06-.742.06-1.115V7Zm3.509 1a.5.5 0 0 1 .487.513 11.5 11.5 0 0 1-.587 3.339l-1.266 3.8a.5.5 0 0 1-.949-.317l1.267-3.8a10.5 10.5 0 0 0 .535-3.048A.5.5 0 0 1 9.569 8Zm-3.356 2.115a.5.5 0 0 1 .33.626L5.24 14.939a.5.5 0 1 1-.955-.296l1.303-4.199a.5.5 0 0 1 .625-.329Z"/><path d="M4.759 5.833A3.501 3.501 0 0 1 11.559 7a.5.5 0 0 1-1 0 2.5 2.5 0 0 0-4.857-.833.5.5 0 1 1-.943-.334Zm.3 1.67a.5.5 0 0 1 .449.546 10.72 10.72 0 0 1-.4 2.031l-1.222 4.072a.5.5 0 1 1-.958-.287L4.15 9.793a9.72 9.72 0 0 0 .363-1.842.5.5 0 0 1 .546-.449Zm6 .647a.5.5 0 0 1 .5.5c0 1.28-.213 2.552-.632 3.762l-1.09 3.145a.5.5 0 0 1-.944-.327l1.089-3.145c.382-1.105.578-2.266.578-3.435a.5.5 0 0 1 .5-.5Z"/><path d="M3.902 4.222a4.996 4.996 0 0 1 5.202-2.113.5.5 0 0 1-.208.979 3.996 3.996 0 0 0-4.163 1.69.5.5 0 0 1-.831-.556Zm6.72-.955a.5.5 0 0 1 .705-.052A4.99 4.99 0 0 1 13.059 7v1.5a.5.5 0 1 1-1 0V7a3.99 3.99 0 0 0-1.386-3.028.5.5 0 0 1-.051-.705ZM3.68 5.842a.5.5 0 0 1 .422.568c-.029.192-.044.39-.044.59 0 .71-.1 1.417-.298 2.1l-1.14 3.923a.5.5 0 1 1-.96-.279L2.8 8.821A6.531 6.531 0 0 0 3.058 7c0-.25.019-.496.054-.736a.5.5 0 0 1 .568-.422Zm8.882 3.66a.5.5 0 0 1 .456.54c-.084 1-.298 1.986-.64 2.934l-.744 2.068a.5.5 0 0 1-.941-.338l.745-2.07a10.51 10.51 0 0 0 .584-2.678.5.5 0 0 1 .54-.456Z"/><path d="M4.81 1.37A6.5 6.5 0 0 1 14.56 7a.5.5 0 1 1-1 0 5.5 5.5 0 0 0-8.25-4.765.5.5 0 0 1-.5-.865Zm-.89 1.257a.5.5 0 0 1 .04.706A5.478 5.478 0 0 0 2.56 7a.5.5 0 0 1-1 0c0-1.664.626-3.184 1.655-4.333a.5.5 0 0 1 .706-.04ZM1.915 8.02a.5.5 0 0 1 .346.616l-.779 2.767a.5.5 0 1 1-.962-.27l.778-2.767a.5.5 0 0 1 .617-.346Zm12.15.481a.5.5 0 0 1 .49.51c-.03 1.499-.161 3.025-.727 4.533l-.07.187a.5.5 0 0 1-.936-.351l.07-.187c.506-1.35.634-2.74.663-4.202a.5.5 0 0 1 .51-.49Z"/>'},e)},c2:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2.5 4a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm1 .5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/><path d="M2 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H2zm13 2v2H1V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zM2 14a1 1 0 0 1-1-1V6h14v7a1 1 0 0 1-1 1H2z"/>'},e)},c3:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M12.433 10.07C14.133 10.585 16 11.15 16 8a8 8 0 1 0-8 8c1.996 0 1.826-1.504 1.649-3.08-.124-1.101-.252-2.237.351-2.92.465-.527 1.42-.237 2.433.07zM8 5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm4.5 3a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM5 6.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm.5 6.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>'},e)},c4:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M10.5 8.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z"/><path d="M2 4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.172a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 9.172 2H6.828a2 2 0 0 0-1.414.586l-.828.828A2 2 0 0 1 3.172 4H2zm.5 2a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm9 2.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0z"/>'},e)},c5:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M10 2a2 2 0 0 1-1.5 1.937v5.087c.863.083 1.5.377 1.5.726 0 .414-.895.75-2 .75s-2-.336-2-.75c0-.35.637-.643 1.5-.726V3.937A2 2 0 1 1 10 2z"/><path d="M0 9.665v1.717a1 1 0 0 0 .553.894l6.553 3.277a2 2 0 0 0 1.788 0l6.553-3.277a1 1 0 0 0 .553-.894V9.665c0-.1-.06-.19-.152-.23L9.5 6.715v.993l5.227 2.178a.125.125 0 0 1 .001.23l-5.94 2.546a2 2 0 0 1-1.576 0l-5.94-2.546a.125.125 0 0 1 .001-.23L6.5 7.708l-.013-.988L.152 9.435a.25.25 0 0 0-.152.23z"/>'},e)},c6:function(e){return k_({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/><path d="M10 17 15 12 10 7"/><path d="M15 12 3 12"/>'},e)},c7:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2.522 5H2a.5.5 0 0 0-.494.574l1.372 9.149A1.5 1.5 0 0 0 4.36 16h7.278a1.5 1.5 0 0 0 1.483-1.277l1.373-9.149A.5.5 0 0 0 14 5h-.522A5.5 5.5 0 0 0 2.522 5zm1.005 0a4.5 4.5 0 0 1 8.945 0H3.527zm9.892 1-1.286 8.574a.5.5 0 0 1-.494.426H4.36a.5.5 0 0 1-.494-.426L2.58 6h10.838z"/>'},e)},c8:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M4.5 5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zM3 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"/><path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H8.5v3a1.5 1.5 0 0 1 1.5 1.5h5.5a.5.5 0 0 1 0 1H10A1.5 1.5 0 0 1 8.5 14h-1A1.5 1.5 0 0 1 6 12.5H.5a.5.5 0 0 1 0-1H6A1.5 1.5 0 0 1 7.5 10V7H2a2 2 0 0 1-2-2V4zm1 0v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1zm6 7.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5z"/>'},e)},c9:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M1 11.5a.5.5 0 0 0 .5.5h11.793l-3.147 3.146a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 11H1.5a.5.5 0 0 0-.5.5zm14-7a.5.5 0 0 1-.5.5H2.707l3.147 3.146a.5.5 0 1 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 1 1 .708.708L2.707 4H14.5a.5.5 0 0 1 .5.5z"/>'},e)},cA:function(e){if(!e)return"-";const t=1024;return e<t?e+"B":e<Math.pow(t,2)?(e/t).toFixed(2)+"K":e<Math.pow(t,3)?(e/Math.pow(t,2)).toFixed(2)+"M":e<Math.pow(t,4)?(e/Math.pow(t,3)).toFixed(2)+"G":(e/Math.pow(t,4)).toFixed(2)+"T"},cB:dp,cC:fp,cD:vs,cG:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.79 5.093A.5.5 0 0 0 6 5.5v5a.5.5 0 0 0 .79.407l3.5-2.5a.5.5 0 0 0 0-.814l-3.5-2.5z"/>'},e)},cJ:rr,cM:function(e){const t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate(),i=t.getHours(),a=t.getMinutes(),s=t.getSeconds();return n+"-"+dy(r)+"-"+dy(o)+" "+dy(i)+":"+dy(a)+":"+dy(s)},cO:function(e){const t=`hope-popover-${_e()}`,n=bs().Popover,[r,o]=nn({_opened:!!e.defaultOpened,isHovering:!1,headerMounted:!1,bodyMounted:!1,finalPlacement:"bottom",get isControlled(){return void 0!==e.opened},get opened(){return this.isControlled?!!e.opened:this._opened},get contentId(){var n;return null!=(n=e.id)?n:t},get triggerId(){return`${this.contentId}--trigger`},get headerId(){return`${this.contentId}--header`},get bodyId(){return`${this.contentId}--body`},get triggerMode(){var t;return null!=(t=e.triggerMode)?t:"click"},get triggerOnClick(){return"click"===this.triggerMode},get triggerOnHover(){return"hover"===this.triggerMode},get initialFocus(){return e.initialFocus},get inline(){var t;return null!=(t=e.inline)&&t},get initialPlacement(){var t,r,o,i;return null!=(i=null!=(o=e.placement)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.placement)?i:"bottom"},get offset(){var t,r,o,i;return null!=(i=null!=(o=e.offset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.offset)?i:8},get arrowPadding(){var t,r,o,i;return null!=(i=null!=(o=e.arrowPadding)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.arrowPadding)?i:8},get openDelay(){var t,r,o,i;return null!=(i=null!=(o=e.openDelay)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.openDelay)?i:0},get closeDelay(){var t,r,o,i;return null!=(i=null!=(o=e.closeDelay)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeDelay)?i:100},get motionPreset(){var t,r,o,i;return null!=(i=null!=(o=e.motionPreset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?i:"scale"},get closeOnBlur(){var t,r,o,i;return null==(i=null!=(o=e.closeOnBlur)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnBlur)||i},get closeOnEsc(){var t,r,o,i;return null==(i=null!=(o=e.closeOnEsc)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnEsc)||i},get trapFocus(){var t,r,o,i;return null!=(i=null!=(o=e.trapFocus)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.trapFocus)&&i}});let i,a,s,l,c,u,d,p;async function h(){var t,n,c;const u=null!=i?i:a;if(!u||!s)return;const d=[wo(r.offset)];r.inline&&d.push(xo()),d.push(_o()),d.push(Ao({padding:e.shiftPadding})),l&&d.push(fo({element:l,padding:r.arrowPadding})),d.push(To());const{x:p,y:h,placement:f,middlewareData:g}=await oi(u,s,{placement:r.initialPlacement,middleware:d});if(f!==r.finalPlacement&&o("finalPlacement",f),!s)return;const m=null==(t=g.hide)?void 0:t.referenceHidden;if(Object.assign(s.style,{left:`${Math.round(p)}px`,top:`${Math.round(h)}px`,visibility:m?"hidden":"visible"}),!l)return;const b=null==(n=g.arrow)?void 0:n.x,v=null==(c=g.arrow)?void 0:c.y,y={top:"bottom",right:"left",bottom:"top",left:"right"}[f.split("-")[0]],E=-1*(Math.round(l.clientWidth/2)+1)+"px";Object.assign(l.style,{left:null!=b?`${Math.round(b)}px`:"",top:null!=v?`${Math.round(v)}px`:"",right:"",bottom:"",[y]:E})}const f=()=>{var t;r.isControlled||o("_opened",!0),null==(t=e.onOpen)||t.call(e),h()},g=()=>{var t;r.isControlled||o("_opened",!1),null==(t=e.onClose)||t.call(e)},m=()=>{!r.isHovering&&g()},b=()=>{u&&window.clearTimeout(u),d=window.setTimeout(g,r.closeDelay)},v=()=>{if(!r.initialFocus)return void(null==s||s.focus());const e=document.querySelector(r.initialFocus);e&&function(e){if(!function(e){var t;if(!Cs(e))return!1;const n=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof n.HTMLElement}(e)||Vd(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in n?n[t]():!!function(e){const t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||qd(e)}(e)&&(null==e||e.focus())},y=()=>{_(!1),u&&window.clearTimeout(u),d=window.setTimeout(m,r.closeDelay)},E=y,_=e=>o("isHovering",e),S=()=>r.opened;D(()=>{window.clearTimeout(u),window.clearTimeout(d)});const k={state:r,assignAnchorRef:e=>{i=e},assignTriggerRef:e=>{a=e},assignPopoverRef:e=>{s=e},assignArrowRef:e=>{l=e},openWithDelay:()=>{u=window.setTimeout(f,r.openDelay)},closeWithDelay:b,onTriggerBlur:e=>{const t=Ns(e),n=!Is(s,t);r.opened&&r.closeOnBlur&&n&&b()},onTriggerMouseLeave:y,onPopoverFocusOut:e=>{const t=Ns(e),n=Is(s,t),o=Is(a,t),i=!n&&!o;r.opened&&r.closeOnBlur&&i&&b()},onPopoverMouseLeave:E,updatePopoverPosition:h,afterPopoverOpen:()=>{(()=>{const e=null!=i?i:a;e&&s&&(p=ri(e,s,h))})(),r.trapFocus&&s?(c=Jr(s,{initialFocus:r.initialFocus,fallbackFocus:`[id='${r.contentId}']`,allowOutsideClick:!1}),c.activate()):v()},afterPopoverClose:()=>{null==c||c.deactivate(),null==p||p()},setIsHovering:_,setHeaderMounted:e=>o("headerMounted",e),setBodyMounted:e=>o("bodyMounted",e)};return pe(Yd.Provider,{value:k,get children(){return pe(Te,{get when(){return Rs(e)},get fallback(){return e.children},get children(){var t;return null==(t=e.children)?void 0:t.call(e,{opened:S,onClose:b})}})}})},cP:function(e){const t=Kd(),[n,r]=ve(e,["ref","onClick","onKeyDown","onFocus","onBlur","onMouseEnter","onMouseLeave"]),o=e=>{vi(n.onClick,e),t.state.opened?t.closeWithDelay():t.openWithDelay()},i=e=>{vi(n.onKeyDown,e),"Escape"===e.key&&t.closeWithDelay()},a=e=>{vi(n.onFocus,e),t.openWithDelay()},s=e=>{yi(n.onBlur,t.onTriggerBlur)(e)},l=e=>{vi(n.onMouseEnter,e),t.setIsHovering(!0),t.openWithDelay()},c=e=>{vi(n.onMouseLeave,e),t.onTriggerMouseLeave()};return pe(ws.button,be({ref:e=>{t.assignTriggerRef(e),mi(n.ref)?n.ref(e):n.ref=e},get id(){return t.state.triggerId},type:"button","aria-haspopup":"dialog",get"aria-controls"(){return t.state.contentId},get"aria-expanded"(){return t.state.opened},get onClick(){return t.state.triggerOnClick?o:void 0},get onKeyDown(){return t.state.triggerOnHover?i:void 0},get onFocus(){return t.state.triggerOnHover?a:void 0},get onBlur(){return t.state.triggerOnHover?s:void 0},get onMouseEnter(){return t.state.triggerOnHover?l:void 0},get onMouseLeave(){return t.state.triggerOnHover?c:void 0}},r))},cQ:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M2 2h2v2H2V2Z"/><path d="M6 0v6H0V0h6ZM5 1H1v4h4V1ZM4 12H2v2h2v-2Z"/><path d="M6 10v6H0v-6h6Zm-5 1v4h4v-4H1Zm11-9h2v2h-2V2Z"/><path d="M10 0v6h6V0h-6Zm5 1v4h-4V1h4ZM8 1V0h1v2H8v2H7V1h1Zm0 5V4h1v2H8ZM6 8V7h1V6h1v2h1V7h5v1h-4v1H7V8H6Zm0 0v1H2V8H1v1H0V7h3v1h3Zm10 1h-1V7h1v2Zm-1 0h-1v2h2v-1h-1V9Zm-4 0h2v1h-1v1h-1V9Zm2 3v-1h-1v1h-1v1H9v1h3v-2h1Zm0 0h3v1h-2v1h-1v-2Zm-4-1v1h1v-2H7v1h2Z"/><path d="M7 12h1v3h4v1H7v-4Zm9 2v2h-3v-1h2v-1h1Z"/>'},e)},cR:tp,cS:Qd,cT:Jd,cX:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M5.523 12.424c.14-.082.293-.162.459-.238a7.878 7.878 0 0 1-.45.606c-.28.337-.498.516-.635.572a.266.266 0 0 1-.035.012.282.282 0 0 1-.026-.044c-.056-.11-.054-.216.04-.36.106-.165.319-.354.647-.548zm2.455-1.647c-.119.025-.237.05-.356.078a21.148 21.148 0 0 0 .5-1.05 12.045 12.045 0 0 0 .51.858c-.217.032-.436.07-.654.114zm2.525.939a3.881 3.881 0 0 1-.435-.41c.228.005.434.022.612.054.317.057.466.147.518.209a.095.095 0 0 1 .026.064.436.436 0 0 1-.06.2.307.307 0 0 1-.094.124.107.107 0 0 1-.069.015c-.09-.003-.258-.066-.498-.256zM8.278 6.97c-.04.244-.108.524-.2.829a4.86 4.86 0 0 1-.089-.346c-.076-.353-.087-.63-.046-.822.038-.177.11-.248.196-.283a.517.517 0 0 1 .145-.04c.013.03.028.092.032.198.005.122-.007.277-.038.465z"/><path fill-rule="evenodd" d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zM4.165 13.668c.09.18.23.343.438.419.207.075.412.04.58-.03.318-.13.635-.436.926-.786.333-.401.683-.927 1.021-1.51a11.651 11.651 0 0 1 1.997-.406c.3.383.61.713.91.95.28.22.603.403.934.417a.856.856 0 0 0 .51-.138c.155-.101.27-.247.354-.416.09-.181.145-.37.138-.563a.844.844 0 0 0-.2-.518c-.226-.27-.596-.4-.96-.465a5.76 5.76 0 0 0-1.335-.05 10.954 10.954 0 0 1-.98-1.686c.25-.66.437-1.284.52-1.794.036-.218.055-.426.048-.614a1.238 1.238 0 0 0-.127-.538.7.7 0 0 0-.477-.365c-.202-.043-.41 0-.601.077-.377.15-.576.47-.651.823-.073.34-.04.736.046 1.136.088.406.238.848.43 1.295a19.697 19.697 0 0 1-1.062 2.227 7.662 7.662 0 0 0-1.482.645c-.37.22-.699.48-.897.787-.21.326-.275.714-.08 1.103z"/>'},e)},cY:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M8.188 10H7V6.5h1.188a1.75 1.75 0 1 1 0 3.5z"/><path d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zM7 5.5a1 1 0 0 0-1 1V13a.5.5 0 0 0 1 0v-2h1.188a2.75 2.75 0 0 0 0-5.5H7z"/>'},e)},cZ:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.884 6.68 8 9.219l2.116-2.54a.5.5 0 1 1 .768.641L8.651 10l2.233 2.68a.5.5 0 0 1-.768.64L8 10.781l-2.116 2.54a.5.5 0 0 1-.768-.641L7.349 10 5.116 7.32a.5.5 0 1 1 .768-.64z"/>'},e)},c_:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.485 6.879l1.036 4.144.997-3.655a.5.5 0 0 1 .964 0l.997 3.655 1.036-4.144a.5.5 0 0 1 .97.242l-1.5 6a.5.5 0 0 1-.967.01L8 9.402l-1.018 3.73a.5.5 0 0 1-.967-.01l-1.5-6a.5.5 0 1 1 .97-.242z"/>'},e)},ca:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.025 8c0 2.485-2.02 4.5-4.513 4.5A4.506 4.506 0 0 1 0 8c0-2.486 2.02-4.5 4.512-4.5A4.506 4.506 0 0 1 9.025 8zm4.95 0c0 2.34-1.01 4.236-2.256 4.236-1.246 0-2.256-1.897-2.256-4.236 0-2.34 1.01-4.236 2.256-4.236 1.246 0 2.256 1.897 2.256 4.236zM16 8c0 2.096-.355 3.795-.794 3.795-.438 0-.793-1.7-.793-3.795 0-2.096.355-3.795.794-3.795.438 0 .793 1.699.793 3.795z"/>'},e)},cb:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z"/>'},e)},cc:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M8 0a5.53 5.53 0 0 0-3.594 1.342c-.766.66-1.321 1.52-1.464 2.383C1.266 4.095 0 5.555 0 7.318 0 9.366 1.708 11 3.781 11H7.5V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V11h4.188C14.502 11 16 9.57 16 7.773c0-1.636-1.242-2.969-2.834-3.194C12.923 1.999 10.69 0 8 0zm-.5 14.5V11h1v3.5a.5.5 0 0 1-1 0z"/>'},e)},cd:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path d="M408 480H184a72 72 0 0 1-72-72V184a72 72 0 0 1 72-72h224a72 72 0 0 1 72 72v224a72 72 0 0 1-72 72Z"/><path d="M160 80h235.88A72.12 72.12 0 0 0 328 32H104a72 72 0 0 0-72 72v224a72.12 72.12 0 0 0 48 67.88V160a80 80 0 0 1 80-80Z"/>'},e)},ce:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M176 112 256 32 336 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M255.98 32 256 480"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M176 400 256 480 336 400"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M400 176 480 256 400 336"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M112 176 32 256 112 336"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M32 256 480 256"/>'},e)},cf:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/><path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"/>'},e)},cg:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M0 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2H2a2 2 0 0 1-2-2V2zm5 10v2a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2v5a2 2 0 0 1-2 2H5z"/>'},e)},ch:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path d="M261.56 101.28a8 8 0 0 0-11.06 0L66.4 277.15a8 8 0 0 0-2.47 5.79L63.9 448a32 32 0 0 0 32 32H192a16 16 0 0 0 16-16V328a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8v136a16 16 0 0 0 16 16h96.06a32 32 0 0 0 32-32V282.94a8 8 0 0 0-2.47-5.79Z"/><path d="m490.91 244.15-74.8-71.56V64a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v32l-57.92-55.38C272.77 35.14 264.71 32 256 32c-8.68 0-16.72 3.14-22.14 8.63l-212.7 203.5c-6.22 6-7 15.87-1.34 22.37A16 16 0 0 0 43 267.56L250.5 69.28a8 8 0 0 1 11.06 0l207.52 198.28a16 16 0 0 0 22.59-.44c6.14-6.36 5.63-16.86-.76-22.97Z"/>'},e)},ci:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path d="M336 376V272H191a16 16 0 0 1 0-32h145V136a56.06 56.06 0 0 0-56-56H88a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h192a56.06 56.06 0 0 0 56-56ZM425.37 272l-52.68 52.69a16 16 0 0 0 22.62 22.62l80-80a16 16 0 0 0 0-22.62l-80-80a16 16 0 0 0-22.62 22.62L425.37 240H336v32Z"/>'},e)},co:w,cp:Ue,cr:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"/>'},e)},cs:function(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z"/>'},e)},ct:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"/>'},e)},cu:function(e){return k_({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/>'},e)},cv:yf,cw:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path d="M63.28 202a15.29 15.29 0 0 1-7.7-2 14.84 14.84 0 0 1-5.52-20.46C69.34 147.36 128 72.25 256 72.25c55.47 0 104.12 14.57 144.53 43.29 33.26 23.57 51.9 50.25 60.78 63.1a14.79 14.79 0 0 1-4 20.79 15.52 15.52 0 0 1-21.24-4C420 172.32 371 102 256 102c-112.25 0-163 64.71-179.53 92.46A15 15 0 0 1 63.28 202Z"/><path d="M320.49 496a15.31 15.31 0 0 1-3.79-.43c-92.85-23-127.52-115.82-128.93-119.68l-.22-.85c-.76-2.68-19.39-66.33 9.21-103.61 13.11-17 33.05-25.72 59.38-25.72 24.48 0 42.14 7.61 54.28 23.36 10 12.86 14 28.72 17.87 44 8.13 31.82 14 48.53 47.79 50.25 14.84.75 24.59-7.93 30.12-15.32 14.95-20.15 17.55-53 6.28-82C398 228.57 346.61 158 256 158c-38.68 0-74.22 12.43-102.72 35.79-23.59 19.35-42.28 46.67-51.28 74.75-16.69 52.28 5.2 134.46 5.41 135.21A14.83 14.83 0 0 1 96.54 422a15.39 15.39 0 0 1-18.74-10.6c-1-3.75-24.38-91.4-5.1-151.82 21-65.47 85.81-131.47 183.33-131.47 45.07 0 87.65 15.32 123.19 44.25 27.52 22.5 50 52.72 61.76 82.93 14.95 38.57 10.94 81.86-10.19 110.14-14.08 18.86-34.13 28.72-56.34 27.65-57.86-2.9-68.26-43.29-75.84-72.75-7.8-30.22-12.79-44.79-42.58-44.79-16.36 0-27.85 4.5-35 13.82-9.75 12.75-10.51 32.68-9.43 47.14a152.44 152.44 0 0 0 5.1 29.79c2.38 6 33.37 82 107.59 100.39a14.88 14.88 0 0 1 11 18.11 15.36 15.36 0 0 1-14.8 11.21Z"/><path d="M201.31 489.14a15.5 15.5 0 0 1-11.16-4.71c-37.16-39-58.18-82.61-66.09-137.14V347c-4.44-36.1 2.06-87.21 33.91-122.35 23.51-25.93 56.56-39.11 98.06-39.11 49.08 0 87.65 22.82 111.7 65.89 17.45 31.29 20.91 62.47 21 63.75a15.07 15.07 0 0 1-13.65 16.4 15.26 15.26 0 0 1-16.79-13.29A154 154 0 0 0 340.43 265c-18.64-32.89-47-49.61-84.51-49.61-32.4 0-57.75 9.75-75.19 29-25.14 27.75-30 70.5-26.55 98.78 6.93 48.22 25.46 86.58 58.18 120.86a14.7 14.7 0 0 1-.76 21.11 15.44 15.44 0 0 1-10.29 4Z"/><path d="M372.5 446.18c-32.5 0-60.13-9-82.24-26.89-44.42-35.79-49.4-94.08-49.62-96.54a15.27 15.27 0 0 1 30.45-2.36c.11.86 4.55 48.54 38.79 76 20.26 16.18 47.34 22.6 80.71 18.85a15.2 15.2 0 0 1 16.91 13.18 14.92 14.92 0 0 1-13.44 16.5 187 187 0 0 1-21.56 1.26ZM398.18 48.79C385.5 40.54 340.54 16 256 16c-88.74 0-133.81 27.11-143.78 34a11.59 11.59 0 0 0-1.84 1.4.36.36 0 0 1-.22.1 14.87 14.87 0 0 0-5.09 11.15 15.06 15.06 0 0 0 15.31 14.85 15.56 15.56 0 0 0 8.88-2.79c.43-.32 39.22-28.82 126.77-28.82S382.58 74.29 383 74.5a15.25 15.25 0 0 0 9.21 3 15.06 15.06 0 0 0 15.29-14.89 14.9 14.9 0 0 0-9.32-13.82Z"/>'},e)},cy:Hd,cz:Gl,d:Ix,d$:XR,d0:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm11.5 1a.5.5 0 0 0-.5.5v3.793L9.854 8.146a.5.5 0 1 0-.708.708l2 2a.5.5 0 0 0 .708 0l2-2a.5.5 0 0 0-.708-.708L12 9.293V5.5a.5.5 0 0 0-.5-.5zM3.56 7.01h.056l1.428 3.239h.774l1.42-3.24h.056V11h1.073V5.001h-1.2l-1.71 3.894h-.039l-1.71-3.894H2.5V11h1.06V7.01z"/>'},e)},d1:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M6.555 1.375 0 2.237v5.45h6.555V1.375zM0 13.795l6.555.933V8.313H0v5.482zm7.278-5.4.026 6.378L16 16V8.395H7.278zM16 0 7.33 1.244v6.414H16V0z"/>'},e)},d2:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43Zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282Z"/><path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43Zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282Z"/>'},e)},d3:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M5.5 9.438V8.5h1v.938a1 1 0 0 0 .03.243l.4 1.598-.93.62-.93-.62.4-1.598a1 1 0 0 0 .03-.243z"/><path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zm-4-.5V2h-1V1H6v1h1v1H6v1h1v1H6v1h1v1H5.5V6h-1V5h1V4h-1V3h1zm0 4.5h1a1 1 0 0 1 1 1v.938l.4 1.599a1 1 0 0 1-.416 1.074l-.93.62a1 1 0 0 1-1.109 0l-.93-.62a1 1 0 0 1-.415-1.074l.4-1.599V8.5a1 1 0 0 1 1-1z"/>'},e)},d4:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM6 8.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1z"/>'},e)},d5:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707v5.586l-2.73-2.73a1 1 0 0 0-1.52.127l-1.889 2.644-1.769-1.062a1 1 0 0 0-1.222.15L2 12.292V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3zm-1.498 4a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0z"/><path d="M10.564 8.27 14 11.708V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-.293l3.578-3.577 2.56 1.536 2.426-3.395z"/>'},e)},d6:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.057 6h5.886L11 8h-.5c-.18-1.096-.356-1.192-1.694-1.235l-.298-.01v5.09c0 .47.1.582.903.655v.5H6.59v-.5c.799-.073.898-.184.898-.654V6.755l-.293.01C5.856 6.808 5.68 6.905 5.5 8H5l.057-2z"/>'},e)},d7:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM11 6.64v1.75l-2 .5v3.61c0 .495-.301.883-.662 1.123C7.974 13.866 7.499 14 7 14c-.5 0-.974-.134-1.338-.377-.36-.24-.662-.628-.662-1.123s.301-.883.662-1.123C6.026 11.134 6.501 11 7 11c.356 0 .7.068 1 .196V6.89a1 1 0 0 1 .757-.97l1-.25A1 1 0 0 1 11 6.64z"/>'},e)},d8:function(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path d="M496 152a56 56 0 0 0-56-56H220.11a23.89 23.89 0 0 1-13.31-4L179 73.41A55.77 55.77 0 0 0 147.89 64H72a56 56 0 0 0-56 56v48a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8ZM16 392a56 56 0 0 0 56 56h368a56 56 0 0 0 56-56V216a8 8 0 0 0-8-8H24a8 8 0 0 0-8 8Z"/>'},e)},dC:function(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n},dE:ln,dF:z,dG:U,dH:function(e){const t=e.split("/").filter(Boolean),n=t.length;return e=>{const r=e.split("/").filter(Boolean);if(r.length-n<0)return null;let o=n?"":"/";for(let i=0;i<n;i++){const e=t[i],n=r[i];if(0!==e.localeCompare(n,void 0,{sensitivity:"base"}))return null;o+=`/${n}`}return o}},dI:yh,dK:ve,dL:je,dM:j,dN:T,dO:I,dQ:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>'},e)},dZ:function(e){const{proxyLink:t}=vE();return x("",async()=>{let n=t(LE.obj,!0);if(e){const e=n.includes("?")?"&":"?";n=`${n}${e}raw=true`}return Sy(n)})},d_:CE,da:Mu,db:Vs,dc:ll,dd:ul,de:Xs,dg:function(e){const t="fallback"in e&&{fallback:()=>e.fallback};return C(function(e,t,n={}){let r,o=[],i=[],a=[],s=[],c=0;return D(()=>de(a)),()=>{const u=e()||[],d=u.length;return u[l],I(()=>{if(0===d)return 0!==c&&(de(a),a=[],o=[],i=[],c=0,s=[]),n.fallback&&(o=[ue],i[0]=S(e=>(a[0]=e,n.fallback())),c=1),i;for(o[0]===ue&&(a[0](),a=[],o=[],i=[],c=0),r=0;r<d;r++)r<o.length&&o[r]!==u[r]?s[r](()=>u[r]):r>=o.length&&(i[r]=S(p));for(;r<o.length;r++)a[r]();return c=s.length=a.length=d,o=u.slice(0),i=i.slice(0,c)});function p(e){a[r]=e;const[n,o]=k(u[r]);return s[r]=o,t(n,r)}}}(()=>e.each,e.children,t||void 0))},dj:gh,dk:Iu,dl:Du,dm:Qc,dn:qe,dp:ze,dr:$h,ds:Vh,dt:Kh,du:Wh,dv:zh,dw:jh,dx:mp,dy:rp,dz:Ve,e:xx,e5:M,e6:S,eb:Ye,ec:function(e){return null!==e&&("object"==typeof e||"function"==typeof e)},ed:function(e,...t){return"function"==typeof e?e(...t):e},ee:R,eg:We,eh:function(e,t={}){const{merge:n,key:r="id"}=t,o=Yt(e);return e=>{if(!Vt(e)||!Vt(o))return o;const t=on(o,{[rn]:e},rn,n,r);return void 0===t?e:t}},ei:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="m13.498.795.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001z"/>'},e)},ej:function(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="m13.498.795.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001zm-.644.766a.5.5 0 0 0-.707 0L1.95 11.756l-.764 3.057 3.057-.764L14.44 3.854a.5.5 0 0 0 0-.708l-1.585-1.585z"/>'},e)},ek:xl,el:pd,em:yd,en:Ge,f:dA,m:zw,n:Kx,p:rC,s:aC,t:cC});const r=e("ef",{context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return o(this.context.count)},getNextContextId(){return o(this.context.count++)}});function o(e){const t=String(e),n=t.length-1;return r.context.id+(n?String.fromCharCode(96+n):"")+t}function i(e){r.context=e}const a=Symbol("solid-proxy"),s="function"==typeof Proxy,l=Symbol("solid-track"),c={equals:(e,t)=>e===t};let u=null,d=J;const p=1,h=2,f={owned:null,cleanups:null,context:null,owner:null},g={};var m=null;let b=null,v=null,y=null,E=null,_=0;function S(e,t){const n=v,r=m,o=0===e.length,i=void 0===t?r:t,a=o?f:{owned:null,cleanups:null,context:i?i.context:null,owner:i},s=o?e:()=>e(()=>I(()=>re(a)));m=a,v=null;try{return Z(s,!0)}finally{v=n,m=r}}function k(e,t){const n={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},c,t):c).equals||void 0};return[q.bind(n),e=>("function"==typeof e&&(e=b&&b.running&&b.sources.has(n)?e(n.tValue):e(n.value)),V(n,e))]}function T(e,t,n){Y(X(e,t,!0,p))}function w(e,t,n){Y(X(e,t,!1,p))}function A(e,t,n){d=ee;const r=X(e,t,!1,p),o=G&&U(G);o&&(r.suspense=o),n&&n.render||(r.user=!0),E?E.push(r):Y(r)}function C(e,t,n){n=n?Object.assign({},c,n):c;const r=X(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,Y(r),q.bind(r)}function x(e,t,n){let o,i,a;"function"==typeof t?(o=e,i=t,a={}):(o=!0,i=e,a=t||{});let s=null,l=g,c=null,u=!1,d=!1,p="initialValue"in a,h="function"==typeof o&&C(o);const f=new Set,[y,E]=(a.storage||k)(a.initialValue),[_,S]=k(void 0),[w,A]=k(void 0,{equals:!1}),[x,O]=k(p?"ready":"unresolved");function N(e,t,n,r){return s===e&&(s=null,void 0!==r&&(p=!0),e!==l&&t!==l||!a.onHydrated||queueMicrotask(()=>a.onHydrated(r,{value:t})),l=g,b&&e&&u?(b.promises.delete(e),u=!1,Z(()=>{b.running=!0,L(t,n)},!1)):L(t,n)),t}function L(e,t){Z(()=>{void 0===t&&E(()=>e),O(void 0!==t?"errored":p?"ready":"unresolved"),S(t);for(const e of f.keys())e.decrement();f.clear()},!1)}function D(){const e=G&&U(G),t=y(),n=_();if(void 0!==n&&!s)throw n;return v&&!v.user&&e&&T(()=>{w(),s&&(e.resolved&&b&&u?b.promises.add(s):f.has(e)||(e.increment(),f.add(e)))}),t}function R(e=!0){if(!1!==e&&d)return;d=!1;const t=h?h():o;if(u=b&&b.running,null==t||!1===t)return void N(s,I(y));let n;b&&s&&b.promises.delete(s);const r=l!==g?l:I(()=>{try{return i(t,{value:y(),refetching:e})}catch(r){n=r}});if(void 0===n)return function(e){return e&&"object"==typeof e&&"then"in e}(r)?(s=r,"v"in r?(1===r.s?N(s,r.v,void 0,t):N(s,void 0,ie(r.v),t),r):(d=!0,queueMicrotask(()=>d=!1),Z(()=>{O(p?"refreshing":"pending"),A()},!1),r.then(e=>N(r,e,void 0,t),e=>N(r,void 0,ie(e),t)))):(N(s,r,void 0,t),r);N(s,void 0,ie(n),t)}r.context&&(c=r.getNextContextId(),"initial"===a.ssrLoadFrom?l=a.initialValue:r.load&&r.has(c)&&(l=r.load(c))),Object.defineProperties(D,{state:{get:()=>x()},error:{get:()=>_()},loading:{get(){const e=x();return"pending"===e||"refreshing"===e}},latest:{get(){if(!p)return D();const e=_();if(e&&!s)throw e;return y()}}});let M=m;return h?T(()=>(M=m,R(!1))):R(!1),[D,{refetch:e=>P(M,()=>R(e)),mutate:E}]}function O(e){return Z(e,!1)}function I(e){if(null===v)return e();const t=v;v=null;try{return e()}finally{v=t}}function N(e,t,n){const r=Array.isArray(e);let o,i=n&&n.defer;return n=>{let a;if(r){a=Array(e.length);for(let t=0;t<e.length;t++)a[t]=e[t]()}else a=e();if(i)return i=!1,n;const s=I(()=>t(a,o,n));return o=a,s}}function L(e){A(()=>I(e))}function D(e){return null===m||(null===m.cleanups?m.cleanups=[e]:m.cleanups.push(e)),e}function R(){return v}function M(){return m}function P(e,t){const n=m,r=v;m=e,v=null;try{return Z(t,!0)}catch(o){se(o)}finally{m=n,v=r}}function B(e){if(b&&b.running)return e(),b.done;const t=v,n=m;return Promise.resolve().then(()=>{let r;return v=t,m=n,G&&(r=b||(b={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),r.done||(r.done=new Promise(e=>r.resolve=e)),r.running=!0),Z(e,!1),v=m=null,r?r.done:void 0})}const[$,F]=k(!1);function H(){return[$,B]}function z(e,t){const n=Symbol("context");return{id:n,Provider:ce(n),defaultValue:e}}function U(e){let t;return m&&m.context&&void 0!==(t=m.context[e.id])?t:e.defaultValue}function j(e){const t=C(e),n=C(()=>le(t()));return n.toArray=()=>{const e=n();return Array.isArray(e)?e:null!=e?[e]:[]},n}let G;function W(){return G||(G=z())}function q(){const e=b&&b.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===p)Y(this);else{const e=y;y=null,Z(()=>te(this),!1),y=e}if(v){const e=this.observers?this.observers.length:0;v.sources?(v.sources.push(this),v.sourceSlots.push(e)):(v.sources=[this],v.sourceSlots=[e]),this.observers?(this.observers.push(v),this.observerSlots.push(v.sources.length-1)):(this.observers=[v],this.observerSlots=[v.sources.length-1])}return e&&b.sources.has(this)?this.tValue:this.value}function V(e,t,n){let r=b&&b.running&&b.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(b){const r=b.running;(r||!n&&b.sources.has(e))&&(b.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&Z(()=>{for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t],r=b&&b.running;r&&b.disposed.has(n)||((r?n.tState:n.state)||(n.pure?y.push(n):E.push(n),n.observers&&ne(n)),r?n.tState=p:n.state=p)}if(y.length>1e6)throw y=[],new Error},!1)}return t}function Y(e){if(!e.fn)return;re(e);const t=_;K(e,b&&b.running&&b.sources.has(e)?e.tValue:e.value,t),b&&!b.running&&b.sources.has(e)&&queueMicrotask(()=>{Z(()=>{b&&(b.running=!0),v=m=e,K(e,e.tValue,t),v=m=null},!1)})}function K(e,t,n){let r;const o=m,i=v;v=m=e;try{r=e.fn(t)}catch(a){return e.pure&&(b&&b.running?(e.tState=p,e.tOwned&&e.tOwned.forEach(re),e.tOwned=void 0):(e.state=p,e.owned&&e.owned.forEach(re),e.owned=null)),e.updatedAt=n+1,se(a)}finally{v=i,m=o}(!e.updatedAt||e.updatedAt<=n)&&(null!=e.updatedAt&&"observers"in e?V(e,r,!0):b&&b.running&&e.pure?(b.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function X(e,t,n,r=p,o){const i={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:m,context:m?m.context:null,pure:n};return b&&b.running&&(i.state=0,i.tState=r),null===m||m!==f&&(b&&b.running&&m.pure?m.tOwned?m.tOwned.push(i):m.tOwned=[i]:m.owned?m.owned.push(i):m.owned=[i]),i}function Q(e){const t=b&&b.running;if(0===(t?e.tState:e.state))return;if((t?e.tState:e.state)===h)return te(e);if(e.suspense&&I(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<_);){if(t&&b.disposed.has(e))return;(t?e.tState:e.state)&&n.push(e)}for(let r=n.length-1;r>=0;r--){if(e=n[r],t){let t=e,o=n[r+1];for(;(t=t.owner)&&t!==o;)if(b.disposed.has(t))return}if((t?e.tState:e.state)===p)Y(e);else if((t?e.tState:e.state)===h){const t=y;y=null,Z(()=>te(e,n[0]),!1),y=t}}}function Z(e,t){if(y)return e();let n=!1;t||(y=[]),E?n=!0:E=[],_++;try{const t=e();return function(e){if(y&&(J(y),y=null),e)return;let t;if(b)if(b.promises.size||b.queue.size){if(b.running)return b.running=!1,b.effects.push.apply(b.effects,E),E=null,void F(!0)}else{const e=b.sources,n=b.disposed;E.push.apply(E,b.effects),t=b.resolve;for(const t of E)"tState"in t&&(t.state=t.tState),delete t.tState;b=null,Z(()=>{for(const e of n)re(e);for(const t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;e<n;e++)re(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}F(!1)},!1)}const n=E;E=null,n.length&&Z(()=>d(n),!1),t&&t()}(n),t}catch(r){n||(E=null),y=null,se(r)}}function J(e){for(let t=0;t<e.length;t++)Q(e[t])}function ee(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:Q(r)}if(r.context){if(r.count)return r.effects||(r.effects=[]),void r.effects.push(...e.slice(0,n));i()}for(!r.effects||!r.done&&r.count||(e=[...r.effects,...e],n+=r.effects.length,delete r.effects),t=0;t<n;t++)Q(e[t])}function te(e,t){const n=b&&b.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){const o=e.sources[r];if(o.sources){const e=n?o.tState:o.state;e===p?o!==t&&(!o.updatedAt||o.updatedAt<_)&&Q(o):e===h&&te(o,t)}}}function ne(e){const t=b&&b.running;for(let n=0;n<e.observers.length;n+=1){const r=e.observers[n];(t?r.tState:r.state)||(t?r.tState=h:r.state=h,r.pure?y.push(r):E.push(r),r.observers&&ne(r))}}function re(e){let t;if(e.sources)for(;e.sources.length;){const t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){const e=r.pop(),o=t.observerSlots.pop();n<r.length&&(e.sourceSlots[o]=n,r[n]=e,t.observerSlots[n]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)re(e.tOwned[t]);delete e.tOwned}if(b&&b.running&&e.pure)oe(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)re(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}b&&b.running?e.tState=0:e.state=0}function oe(e,t){if(t||(e.tState=0,b.disposed.add(e)),e.owned)for(let n=0;n<e.owned.length;n++)oe(e.owned[n])}function ie(e){return e instanceof Error?e:new Error("string"==typeof e?e:"Unknown error",{cause:e})}function ae(e,t,n){try{for(const n of t)n(e)}catch(ro){se(ro,n&&n.owner||null)}}function se(e,t=m){const n=u&&t&&t.context&&t.context[u],r=ie(e);if(!n)throw r;E?E.push({fn(){ae(r,n,t)},state:p}):ae(r,n,t)}function le(e){if("function"==typeof e&&!e.length)return le(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=le(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function ce(e,t){return function(t){let n;return w(()=>n=I(()=>(m.context={...m.context,[e]:t.value},j(()=>t.children))),void 0),n}}const ue=Symbol("fallback");function de(e){for(let t=0;t<e.length;t++)e[t]()}function pe(e,t){return I(()=>e(t||{}))}function he(){return!0}const fe={get:(e,t,n)=>t===a?n:e.get(t),has:(e,t)=>t===a||e.has(t),set:he,deleteProperty:he,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:he,deleteProperty:he}),ownKeys:e=>e.keys()};function ge(e){return(e="function"==typeof e?e():e)?e:{}}function me(){for(let e=0,t=this.length;e<t;++e){const t=this[e]();if(void 0!==t)return t}}function be(...e){let t=!1;for(let s=0;s<e.length;s++){const n=e[s];t=t||!!n&&a in n,e[s]="function"==typeof n?(t=!0,C(n)):n}if(s&&t)return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){const r=ge(e[n])[t];if(void 0!==r)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in ge(e[n]))return!0;return!1},keys(){const t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(ge(e[n])));return[...new Set(t)]}},fe);const n={},r=Object.create(null);for(let a=e.length-1;a>=0;a--){const t=e[a];if(!t)continue;const o=Object.getOwnPropertyNames(t);for(let e=o.length-1;e>=0;e--){const i=o[e];if("__proto__"===i||"constructor"===i)continue;const a=Object.getOwnPropertyDescriptor(t,i);if(r[i]){const e=n[i];e&&(a.get?e.push(a.get.bind(t)):void 0!==a.value&&e.push(()=>a.value))}else r[i]=a.get?{enumerable:!0,configurable:!0,get:me.bind(n[i]=[a.get.bind(t)])}:void 0!==a.value?a:void 0}}const o={},i=Object.keys(r);for(let a=i.length-1;a>=0;a--){const e=i[a],t=r[e];t&&t.get?Object.defineProperty(o,e,t):o[e]=t?t.value:void 0}return o}function ve(e,...t){if(s&&a in e){const n=new Set(t.length>1?t.flat():t[0]),r=t.map(t=>new Proxy({get:n=>t.includes(n)?e[n]:void 0,has:n=>t.includes(n)&&n in e,keys:()=>t.filter(t=>t in e)},fe));return r.push(new Proxy({get:t=>n.has(t)?void 0:e[t],has:t=>!n.has(t)&&t in e,keys:()=>Object.keys(e).filter(e=>!n.has(e))},fe)),r}const n={},r=t.map(()=>({}));for(const o of Object.getOwnPropertyNames(e)){const i=Object.getOwnPropertyDescriptor(e,o),a=!i.get&&!i.set&&i.enumerable&&i.writable&&i.configurable;let s=!1,l=0;for(const e of t)e.includes(o)&&(s=!0,a?r[l][o]=i.value:Object.defineProperty(r[l],o,i)),++l;s||(a?n[o]=i.value:Object.defineProperty(n,o,i))}return[...r,n]}function ye(e){let t,n;const o=o=>{const a=r.context;if(a){const[o,s]=k();r.count||(r.count=0),r.count++,(n||(n=e())).then(e=>{!r.done&&i(a),r.count--,s(()=>e.default),i()}),t=o}else if(!t){const[r]=x(()=>(n||(n=e())).then(e=>e.default));t=r}let s;return C(()=>(s=t())?I(()=>{if(!a||r.done)return s(o);const e=r.context;i(a);const t=s(o);return i(e),t}):"")};return o.preload=()=>n||((n=e()).then(e=>t=()=>e.default),n),o}let Ee=0;function _e(){return r.context?r.getNextContextId():"cl-"+Ee++}const Se=e=>`Stale read from <${e}>.`;function ke(e){const t="fallback"in e&&{fallback:()=>e.fallback};return C(function(e,t,n={}){let r=[],o=[],i=[],a=0,s=t.length>1?[]:null;return D(()=>de(i)),()=>{let c,u,d=e()||[],p=d.length;return d[l],I(()=>{let e,t,l,f,g,m,b,v,y;if(0===p)0!==a&&(de(i),i=[],r=[],o=[],a=0,s&&(s=[])),n.fallback&&(r=[ue],o[0]=S(e=>(i[0]=e,n.fallback())),a=1);else if(0===a){for(o=new Array(p),u=0;u<p;u++)r[u]=d[u],o[u]=S(h);a=p}else{for(l=new Array(p),f=new Array(p),s&&(g=new Array(p)),m=0,b=Math.min(a,p);m<b&&r[m]===d[m];m++);for(b=a-1,v=p-1;b>=m&&v>=m&&r[b]===d[v];b--,v--)l[v]=o[b],f[v]=i[b],s&&(g[v]=s[b]);for(e=new Map,t=new Array(v+1),u=v;u>=m;u--)y=d[u],c=e.get(y),t[u]=void 0===c?-1:c,e.set(y,u);for(c=m;c<=b;c++)y=r[c],u=e.get(y),void 0!==u&&-1!==u?(l[u]=o[c],f[u]=i[c],s&&(g[u]=s[c]),u=t[u],e.set(y,u)):i[c]();for(u=m;u<p;u++)u in l?(o[u]=l[u],i[u]=f[u],s&&(s[u]=g[u],s[u](u))):o[u]=S(h);o=o.slice(0,a=p),r=d.slice(0)}return o});function h(e){if(i[u]=e,s){const[e,n]=k(u);return s[u]=n,t(d[u],e)}return t(d[u])}}}(()=>e.each,e.children,t||void 0))}function Te(e){const t=e.keyed,n=C(()=>e.when,void 0,void 0),r=t?n:C(n,void 0,{equals:(e,t)=>!e==!t});return C(()=>{const o=r();if(o){const i=e.children;return"function"==typeof i&&i.length>0?I(()=>i(t?o:()=>{if(!I(r))throw Se("Show");return n()})):i}return e.fallback},void 0,void 0)}function we(e){const t=j(()=>e.children),n=C(()=>{const e=t(),n=Array.isArray(e)?e:[e];let r=()=>{};for(let t=0;t<n.length;t++){const e=t,o=n[t],i=r,a=C(()=>i()?void 0:o.when,void 0,void 0),s=o.keyed?a:C(a,void 0,{equals:(e,t)=>!e==!t});r=()=>i()||(s()?[e,a,o]:void 0)}return r});return C(()=>{const t=n()();if(!t)return e.fallback;const[r,o,i]=t,a=i.children;return"function"==typeof a&&a.length>0?I(()=>a(i.keyed?o():()=>{if(I(n)()?.[0]!==r)throw Se("Match");return o()})):a},void 0,void 0)}function Ae(e){return e}let Ce;function xe(e){let t;r.context&&r.load&&(t=r.load(r.getContextId()));const[n,o]=k(t,void 0);return Ce||(Ce=new Set),Ce.add(o),D(()=>Ce.delete(o)),C(()=>{let r;if(r=n()){const t=e.fallback;return"function"==typeof t&&t.length?I(()=>t(r,()=>o())):t}return function(e,n){u||(u=Symbol("error")),(m=X(void 0,void 0,!0)).context={...m.context,[u]:[n]},b&&b.running&&b.sources.add(m);try{return e()}catch(t){se(t)}finally{m=m.owner}}(()=>e.children,o)},void 0,void 0)}const Oe=z();function Ie(e){let t,n,o,a,s,l=0;const[c,u]=k(!1),d=W(),p={increment:()=>{1===++l&&u(!0)},decrement:()=>{0===--l&&u(!1)},inFallback:c,effects:[],resolved:!1},h=M();if(r.context&&r.load){const e=r.getContextId();let t=r.load(e);if(t&&("object"!=typeof t||1!==t.s?o=t:r.gather(e)),o&&"$$f"!==o){const[t,l]=k(void 0,{equals:!1});a=t,o.then(()=>{if(r.done)return l();r.gather(e),i(n),l(),i()},e=>{s=e,l()})}}const f=U(Oe);let g;return f&&(t=f.register(p.inFallback)),D(()=>g&&g()),pe(d.Provider,{value:p,get children(){return C(()=>{if(s)throw s;if(n=r.context,a)return a(),a=void 0;n&&"$$f"===o&&i();const l=C(()=>e.children);return C(r=>{const a=p.inFallback(),{showContent:s=!0,showFallback:c=!0}=t?t():{};return(!a||o&&"$$f"!==o)&&s?(p.resolved=!0,g&&g(),g=n=o=void 0,function(e){E.push.apply(E,e),e.length=0}(p.effects),l()):c?g?r:S(t=>(g=t,n&&(i({id:n.id+"F",count:0}),n=void 0),e.fallback),h):void 0})})}})}const Ne=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"]),Le=new Set(["innerHTML","textContent","innerText","children"]),De=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),Re=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}}),Me=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Pe=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","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","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Be={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},$e=e("ab",e=>C(()=>e())),Fe="_$DX_DELEGATE";function He(e,t,n,r){let o;const i=()=>{const t=document.createElement("template");return t.innerHTML=e,n?t.content.firstChild.firstChild:t.content.firstChild},a=t?()=>I(()=>document.importNode(o||(o=i()),!0)):()=>(o||(o=i())).cloneNode(!0);return a.cloneNode=a,a}function ze(e,t=window.document){const n=t[Fe]||(t[Fe]=new Set);for(let r=0,o=e.length;r<o;r++){const o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,et))}}function Ue(e,t,n){Qe(e)||(null==n?e.removeAttribute(t):e.setAttribute(t,n))}function je(e,t){Qe(e)||(null==t?e.removeAttribute("class"):e.className=t)}function Ge(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n,"function"!=typeof n&&n)}function We(e,t,n={}){const r=Object.keys(t||{}),o=Object.keys(n);let i,a;for(i=0,a=o.length;i<a;i++){const r=o[i];r&&"undefined"!==r&&!t[r]&&(Ze(e,r,!1),delete n[r])}for(i=0,a=r.length;i<a;i++){const o=r[i],a=!!t[o];o&&"undefined"!==o&&n[o]!==a&&a&&(Ze(e,o,!0),n[o]=a)}return n}function qe(e,t,n){if(!t)return n?Ue(e,"style"):t;const r=e.style;if("string"==typeof t)return r.cssText=t;let o,i;for(i in"string"==typeof n&&(r.cssText=n=void 0),n||(n={}),t||(t={}),n)null==t[i]&&r.removeProperty(i),delete n[i];for(i in t)o=t[i],o!==n[i]&&(r.setProperty(i,o),n[i]=o);return n}function Ve(e,t={},n,r){const o={};return r||w(()=>o.children=tt(e,t.children,o.children)),w(()=>"function"==typeof t.ref&&Ye(t.ref,e)),w(()=>function(e,t,n,r,o={},i=!1){t||(t={});for(const a in o)if(!(a in t)){if("children"===a)continue;o[a]=Je(e,a,null,o[a],n,i,t)}for(const a in t){if("children"===a)continue;const r=t[a];o[a]=Je(e,a,r,o[a],n,i,t)}}(e,t,n,0,o,!0)),o}function Ye(e,t,n){return I(()=>e(t,n))}function Ke(e,t,n,r){if(void 0===n||r||(r=[]),"function"!=typeof t)return tt(e,t,r,n);w(r=>tt(e,t(),r,n),r)}function Xe(e){let t,n;return Qe()&&(t=r.registry.get(n=r.getNextContextId()))?(r.completed&&r.completed.add(t),r.registry.delete(n),t):e()}function Qe(e){return!!r.context&&!r.done&&(!e||e.isConnected)}function Ze(e,t,n){const r=t.trim().split(/\s+/);for(let o=0,i=r.length;o<i;o++)e.classList.toggle(r[o],n)}function Je(e,t,n,r,o,i,a){let s,l,c,u,d;if("style"===t)return qe(e,n,r);if("classList"===t)return We(e,n,r);if(n===r)return r;if("ref"===t)i||n(e);else if("on:"===t.slice(0,3)){const o=t.slice(3);r&&e.removeEventListener(o,r,"function"!=typeof r&&r),n&&e.addEventListener(o,n,"function"!=typeof n&&n)}else if("oncapture:"===t.slice(0,10)){const o=t.slice(10);r&&e.removeEventListener(o,r,!0),n&&e.addEventListener(o,n,!0)}else if("on"===t.slice(0,2)){const o=t.slice(2).toLowerCase(),i=Me.has(o);if(!i&&r){const t=Array.isArray(r)?r[0]:r;e.removeEventListener(o,t)}(i||n)&&(Ge(e,o,n,i),i&&ze([o]))}else if("attr:"===t.slice(0,5))Ue(e,t.slice(5),n);else if("bool:"===t.slice(0,5))!function(e,t,n){Qe(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}(e,t.slice(5),n);else if((d="prop:"===t.slice(0,5))||(c=Le.has(t))||!o&&((u=function(e,t){const n=Re[e];return"object"==typeof n?n[t]?n.$:void 0:n}(t,e.tagName))||(l=Ne.has(t)))||(s=e.nodeName.includes("-")||"is"in a)){if(d)t=t.slice(5),l=!0;else if(Qe(e))return n;"class"===t||"className"===t?je(e,n):!s||l||c?e[u||t]=n:e[function(e){return e.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}(t)]=n}else{const r=o&&t.indexOf(":")>-1&&Be[t.split(":")[0]];r?function(e,t,n,r){Qe(e)||(null==r?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}(e,r,t,n):Ue(e,De[t]||t,n)}return n}function et(e){if(r.registry&&r.events&&r.events.find(([t,n])=>n===e))return;let t=e.target;const n=`$$${e.type}`,o=e.target,i=e.currentTarget,a=t=>Object.defineProperty(e,"target",{configurable:!0,value:t}),s=()=>{const r=t[n];if(r&&!t.disabled){const o=t[`${n}Data`];if(void 0!==o?r.call(t,o,e):r.call(t,e),e.cancelBubble)return}return t.host&&"string"!=typeof t.host&&!t.host._$host&&t.contains(e.target)&&a(t.host),!0},l=()=>{for(;s()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>t||document}),r.registry&&!r.done&&(r.done=_$HY.done=!0),e.composedPath){const n=e.composedPath();a(n[0]);for(let e=0;e<n.length-2&&(t=n[e],s());e++){if(t._$host){t=t._$host,l();break}if(t.parentNode===i)break}}else l();a(o)}function tt(e,t,n,r,o){const i=Qe(e);if(i){!n&&(n=[...e.childNodes]);let t=[];for(let e=0;e<n.length;e++){const r=n[e];8===r.nodeType&&"!$"===r.data.slice(0,2)?r.remove():t.push(r)}n=t}for(;"function"==typeof n;)n=n();if(t===n)return n;const a=typeof t,s=void 0!==r;if(e=s&&n[0]&&n[0].parentNode||e,"string"===a||"number"===a){if(i)return n;if("number"===a&&(t=t.toString())===n)return n;if(s){let o=n[0];o&&3===o.nodeType?o.data!==t&&(o.data=t):o=document.createTextNode(t),n=ot(e,n,r,o)}else n=""!==n&&"string"==typeof n?e.firstChild.data=t:e.textContent=t}else if(null==t||"boolean"===a){if(i)return n;n=ot(e,n,r)}else{if("function"===a)return w(()=>{let o=t();for(;"function"==typeof o;)o=o();n=tt(e,o,n,r)}),()=>n;if(Array.isArray(t)){const a=[],l=n&&Array.isArray(n);if(nt(a,t,n,o))return w(()=>n=tt(e,a,n,r,!0)),()=>n;if(i){if(!a.length)return n;if(void 0===r)return n=[...e.childNodes];let t=a[0];if(t.parentNode!==e)return n;const o=[t];for(;(t=t.nextSibling)!==r;)o.push(t);return n=o}if(0===a.length){if(n=ot(e,n,r),s)return n}else l?0===n.length?rt(e,a,r):function(e,t,n){let r=n.length,o=t.length,i=r,a=0,s=0,l=t[o-1].nextSibling,c=null;for(;a<o||s<i;)if(t[a]!==n[s]){for(;t[o-1]===n[i-1];)o--,i--;if(o===a){const t=i<r?s?n[s-1].nextSibling:n[i-s]:l;for(;s<i;)e.insertBefore(n[s++],t)}else if(i===s)for(;a<o;)c&&c.has(t[a])||t[a].remove(),a++;else if(t[a]===n[i-1]&&n[s]===t[o-1]){const r=t[--o].nextSibling;e.insertBefore(n[s++],t[a++].nextSibling),e.insertBefore(n[--i],r),t[o]=n[i]}else{if(!c){c=new Map;let e=s;for(;e<i;)c.set(n[e],e++)}const r=c.get(t[a]);if(null!=r)if(s<r&&r<i){let l,u=a,d=1;for(;++u<o&&u<i&&null!=(l=c.get(t[u]))&&l===r+d;)d++;if(d>r-s){const o=t[a];for(;s<r;)e.insertBefore(n[s++],o)}else e.replaceChild(n[s++],t[a++])}else a++;else t[a++].remove()}}else a++,s++}(e,n,a):(n&&ot(e),rt(e,a));n=a}else if(t.nodeType){if(i&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=ot(e,n,r,t);ot(e,n,null,t)}else null!=n&&""!==n&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t);n=t}}return n}function nt(e,t,n,r){let o=!1;for(let i=0,a=t.length;i<a;i++){let a,s=t[i],l=n&&n[e.length];if(null==s||!0===s||!1===s);else if("object"==(a=typeof s)&&s.nodeType)e.push(s);else if(Array.isArray(s))o=nt(e,s,l)||o;else if("function"===a)if(r){for(;"function"==typeof s;)s=s();o=nt(e,Array.isArray(s)?s:[s],Array.isArray(l)?l:[l])||o}else e.push(s),o=!0;else{const t=String(s);l&&3===l.nodeType&&l.data===t?e.push(l):e.push(document.createTextNode(t))}}return o}function rt(e,t,n=null){for(let r=0,o=t.length;r<o;r++)e.insertBefore(t[r],n)}function ot(e,t,n,r){if(void 0===n)return e.textContent="";const o=r||document.createTextNode("");if(t.length){let r=!1;for(let i=t.length-1;i>=0;i--){const a=t[i];if(o!==a){const t=a.parentNode===e;r||i?t&&a.remove():t?e.replaceChild(o,a):e.insertBefore(o,n)}else r=!0}}else e.insertBefore(o,n);return[o]}const it=!1,at="http://www.w3.org/2000/svg";function st(e,t=!1){return t?document.createElementNS(at,e):document.createElement(e)}function lt(e){const{useShadow:t}=e,n=document.createTextNode(""),o=M();let i,a=!!r.context;return A(()=>{a&&(M().user=a=!1),i||(i=P(o,()=>C(()=>e.children)));const r=e.mount||document.body;if(r instanceof HTMLHeadElement){const[e,t]=k(!1),n=()=>t(!0);S(t=>Ke(r,()=>e()?t():i(),null)),D(n)}else{const o=st(e.isSVG?"g":"div",e.isSVG),a=t&&o.attachShadow?o.attachShadow({mode:"open"}):o;Object.defineProperty(o,"_$host",{get:()=>n.parentNode,configurable:!0}),Ke(a,i),r.appendChild(o),e.ref&&e.ref(o),D(()=>r.removeChild(o))}},void 0,{render:!a}),n}function ct(e){const[,t]=ve(e,["component"]);return function(e,t){const n=C(e);return C(()=>{const e=n();switch(typeof e){case"function":return I(()=>e(t));case"string":const n=Pe.has(e),o=r.context?Xe():st(e,n);return Ve(o,t,n),o}})}(()=>e.component,t)}function ut(e,t){const n=function(e){if("#"===e)return null;try{return document.querySelector(e)}catch(ro){return null}}(`#${e}`);n?n.scrollIntoView():t&&window.scrollTo(0,0)}function dt(){return function(e,t,n,r){let o=!1;const i=e=>"string"==typeof e?{value:e}:e,a=function([e,t],n,r){return[e,r?e=>t(r(e)):t]}(k(i(e()),{equals:(e,t)=>e.value===t.value}),0,e=>(!o&&t(e),e));return n&&D(n((t=e())=>{o=!0,a[1](i(t)),o=!1})),{signal:a,utils:r}}(()=>({value:window.location.pathname+window.location.search+window.location.hash,state:history.state}),({value:e,replace:t,scroll:n,state:r})=>{t?window.history.replaceState(r,"",e):window.history.pushState(r,"",e),ut(window.location.hash.slice(1),n)},e=>{return t=window,n="popstate",r=()=>e(),t.addEventListener(n,r),()=>t.removeEventListener(n,r);var t,n,r},{go:e=>window.history.go(e)})}const pt=/^(?:[a-z0-9]+:)?\/\//i,ht=/^\/+|(\/)\/+$/g;function ft(e,t=!1){const n=e.replace(ht,"$1");return n?t||/^[?#]/.test(n)?n:"/"+n:""}function gt(e,t,n){if(pt.test(t))return;const r=ft(e),o=n&&ft(n);let i="";return i=!o||t.startsWith("/")?r:0!==o.toLowerCase().indexOf(r.toLowerCase())?r+o:o,(i||"/")+ft(t,!i)}function mt(e,t){return ft(e).replace(/\/*(\*.*)?$/g,"")+ft(t)}function bt(e,t,n){const[r,o]=e.split("/*",2),i=r.split("/").filter(Boolean),a=i.length;return e=>{const r=e.split("/").filter(Boolean),s=r.length-a;if(s<0||s>0&&void 0===o&&!t)return null;const l={path:a?"":"/",params:{}},c=e=>void 0===n?void 0:n[e];for(let t=0;t<a;t++){const e=i[t],n=r[t],o=":"===e[0],a=o?e.slice(1):e;if(o&&vt(n,c(a)))l.params[a]=n;else if(o||!vt(n,e))return null;l.path+=`/${n}`}if(o){const e=s?r.slice(-s).join("/"):"";if(!vt(e,c(o)))return null;l.params[o]=e}return l}}function vt(e,t){const n=t=>0===t.localeCompare(e,void 0,{sensitivity:"base"});return void 0===t||("string"==typeof t?n(t):"function"==typeof t?t(e):Array.isArray(t)?t.some(n):t instanceof RegExp&&t.test(e))}function yt(e){const[t,n]=e.pattern.split("/*",2),r=t.split("/").filter(Boolean);return r.reduce((e,t)=>e+(t.startsWith(":")?2:3),r.length-(void 0===n?0:1))}function Et(e){const t=new Map,n=M();return new Proxy({},{get:(r,o)=>(t.has(o)||P(n,()=>t.set(o,C(()=>e()[o]))),t.get(o)()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),ownKeys:()=>Reflect.ownKeys(e())})}function _t(e){let t=/(\/?\:[^\/]+)\?/.exec(e);if(!t)return[e];let n=e.slice(0,t.index),r=e.slice(t.index+t[0].length);const o=[n,n+=t[1]];for(;t=/^(\/\:[^\/]+)\?/.exec(r);)o.push(n+=t[1]),r=r.slice(t[0].length);return _t(r).reduce((e,t)=>[...e,...o.map(e=>e+t)],[])}const St=z(),kt=z(),Tt=()=>function(e,t){if(null==e)throw new Error(t);return e}(U(St),"Make sure your app is wrapped in a <Router />");let wt;const At=()=>wt||U(kt)||Tt().base,Ct=e=>{const t=At();return C(()=>t.resolvePath(e()))},xt=e=>{const t=Tt();return C(()=>{const n=e();return void 0!==n?t.renderPath(n):n})},Ot=e("e0",()=>Tt().navigatorFactory()),It=e("at",()=>Tt().location);function Nt(e,t="",n){const{component:r,data:o,children:i}=e,a=!i||Array.isArray(i)&&!i.length,s={key:e,element:r?()=>pe(r,{}):()=>{const{element:t}=e;return void 0===t&&n?pe(n,{}):t},preload:e.component?r.preload:e.preload,data:o};return Dt(e.path).reduce((n,r)=>{for(const o of _t(r)){const r=mt(t,o),i=a?r:r.split("/*",1)[0];n.push({...s,originalPath:o,pattern:i,matcher:bt(i,!a,e.matchFilters)})}return n},[])}function Lt(e,t=0){return{routes:e,score:1e4*yt(e[e.length-1])-t,matcher(t){const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r],i=o.matcher(t);if(!i)return null;n.unshift({...i,route:o})}return n}}}function Dt(e){return Array.isArray(e)?e:[e]}function Rt(e,t="",n,r=[],o=[]){const i=Dt(e);for(let a=0,s=i.length;a<s;a++){const e=i[a];if(e&&"object"==typeof e&&e.hasOwnProperty("path")){const i=Nt(e,t,n);for(const t of i){r.push(t);const i=Array.isArray(e.children)&&0===e.children.length;if(e.children&&!i)Rt(e.children,t.pattern,n,r,o);else{const e=Lt([...r],o.length);o.push(e)}r.pop()}}}return r.length?o:o.sort((e,t)=>t.score-e.score)}function Mt(e,t="",n,r){const{signal:[o,i],utils:a={}}=function(e){return e?Array.isArray(e)?{signal:e}:e:{signal:k({value:""})}}(e),s=a.parsePath||(e=>e),l=a.renderPath||(e=>e),c=a.beforeLeave||function(){let e=new Set,t=!1;return{subscribe:function(t){return e.add(t),()=>e.delete(t)},confirm:function(n,r){if(t)return!(t=!1);const o={to:n,options:r,defaultPrevented:!1,preventDefault:()=>o.defaultPrevented=!0};for(const i of e)i.listener({...o,from:i.location,retry:e=>{e&&(t=!0),i.navigate(n,r)}});return!o.defaultPrevented}}}(),u=gt("",t);if(void 0===u)throw new Error(`${u} is not a valid base path`);u&&!o().value&&i({value:u,replace:!0,scroll:!1});const[d,p]=k(!1),h=async e=>{p(!0);try{await B(e)}finally{p(!1)}},[f,g]=k(o().value),[m,b]=k(o().state),v=function(e,t){const n=new URL("http://sar"),r=C(t=>{const r=e();try{return new URL(r,n)}catch(o){return console.error(`Invalid path ${r}`),t}},n,{equals:(e,t)=>e.href===t.href}),o=C(()=>r().pathname),i=C(()=>r().search,!0),a=C(()=>r().hash),s=C(()=>"");return{get pathname(){return o()},get search(){return i()},get hash(){return a()},get state(){return t()},get key(){return s()},query:Et(N(i,()=>function(e){const t={};return e.searchParams.forEach((e,n)=>{t[n]=e}),t}(r())))}}(f,m),y=[],E={pattern:u,params:{},path:()=>u,outlet:()=>null,resolvePath:e=>gt(u,e)};if(n)try{wt=E,E.data=n({data:void 0,params:{},location:v,navigate:S(E)})}finally{wt=void 0}function _(e,t,n){I(()=>{if("number"==typeof t)return void(t&&(a.go?c.confirm(t,n)&&a.go(t):console.warn("Router integration does not support relative routing")));const{replace:r,resolve:o,scroll:s,state:l}={replace:!1,resolve:!0,scroll:!0,...n},u=o?e.resolvePath(t):gt("",t);if(void 0===u)throw new Error(`Path '${t}' is not a routable path`);if(y.length>=100)throw new Error("Too many redirects");const d=f();if(u!==d||l!==m())if(it);else if(c.confirm(u,n)){const e=y.push({value:d,replace:r,scroll:s,state:m()});h(()=>{g(u),b(l),Ce&&[...Ce].forEach(e=>e())}).then(()=>{y.length===e&&function(e){const t=y[0];t&&(e.value===t.value&&e.state===t.state||i({...e,replace:t.replace,scroll:t.scroll}),y.length=0)}({value:u,state:l})})}})}function S(e){return e=e||U(kt)||E,(t,n)=>_(e,t,n)}w(()=>{const{value:e,state:t}=o();I(()=>{e!==f()&&h(()=>{g(e),b(t)})})});{function T(e){if(e.defaultPrevented||0!==e.button||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;const t=e.composedPath().find(e=>e instanceof Node&&"A"===e.nodeName.toUpperCase());if(!t||!t.hasAttribute("link"))return;const n=t.href;if(t.target||!n&&!t.hasAttribute("state"))return;const r=(t.getAttribute("rel")||"").split(/\s+/);if(t.hasAttribute("download")||r&&r.includes("external"))return;const o=new URL(n);if(o.origin!==window.location.origin||u&&o.pathname&&!o.pathname.toLowerCase().startsWith(u.toLowerCase()))return;const i=s(o.pathname+o.search+o.hash),a=t.getAttribute("state");e.preventDefault(),_(E,i,{resolve:!1,replace:t.hasAttribute("replace"),scroll:!t.hasAttribute("noscroll"),state:a&&JSON.parse(a)})}ze(["click"]),document.addEventListener("click",T),D(()=>document.removeEventListener("click",T))}return{base:E,out:void 0,location:v,isRouting:d,renderPath:l,parsePath:s,navigatorFactory:S,beforeLeave:c}}function Pt(e,t,n,r,o){const{base:i,location:a,navigatorFactory:s}=e,{pattern:l,element:c,preload:u,data:d}=r().route,p=C(()=>r().path);u&&u();const h={parent:t,pattern:l,get child(){return n()},path:p,params:o,data:t.data,outlet:c,resolvePath:e=>gt(i.path(),e,p())};if(d)try{wt=h,h.data=d({data:t.data,params:o,location:a,navigate:s(h)})}finally{wt=void 0}return h}var Bt=He("<a link>");const $t=e=>{const{source:t,url:n,base:r,data:o,out:i}=e,a=Mt(t||dt(),r,o);return pe(St.Provider,{value:a,get children(){return e.children}})},Ft=e("cl",e=>{const t=Tt(),n=At(),r=j(()=>e.children),o=C(()=>Rt(r(),mt(n.pattern,e.base||""),zt)),i=C(()=>function(e,t){for(let n=0,r=e.length;n<r;n++){const r=e[n].matcher(t);if(r)return r}return[]}(o(),t.location.pathname)),a=Et(()=>{const e=i(),t={};for(let n=0;n<e.length;n++)Object.assign(t,e[n].params);return t});t.out&&t.out.matches.push(i().map(({route:e,path:t,params:n})=>({originalPath:e.originalPath,pattern:e.pattern,path:t,params:n})));const s=[];let l;const c=C(N(i,(e,r,o)=>{let u=r&&e.length===r.length;const d=[];for(let l=0,p=e.length;l<p;l++){const p=r&&r[l],h=e[l];o&&p&&h.route.key===p.route.key?d[l]=o[l]:(u=!1,s[l]&&s[l](),S(e=>{s[l]=e,d[l]=Pt(t,d[l-1]||n,()=>c()[l+1],()=>i()[l],a)}))}return s.splice(e.length).forEach(e=>e()),o&&u?o:(l=d[0],d)}));return pe(Te,{get when(){return c()&&l},keyed:!0,children:e=>pe(kt.Provider,{value:e,get children(){return e.outlet()}})})}),Ht=e("cm",e=>{const t=j(()=>e.children);return be(e,{get children(){return t()}})}),zt=()=>{const e=At();return pe(Te,{get when(){return e.child},keyed:!0,children:e=>pe(kt.Provider,{value:e,get children(){return e.outlet()}})})},Ut=Symbol("store-raw"),jt=Symbol("store-node"),Gt=Symbol("store-has"),Wt=Symbol("store-self");function qt(e){let t=e[a];if(!t&&(Object.defineProperty(e,a,{value:t=new Proxy(e,Zt)}),!Array.isArray(e))){const n=Object.keys(e),r=Object.getOwnPropertyDescriptors(e);for(let o=0,i=n.length;o<i;o++){const i=n[o];r[i].get&&Object.defineProperty(e,i,{enumerable:r[i].enumerable,get:r[i].get.bind(t)})}}return t}function Vt(e){let t;return null!=e&&"object"==typeof e&&(e[a]||!(t=Object.getPrototypeOf(e))||t===Object.prototype||Array.isArray(e))}function Yt(e,t=new Set){let n,r,o,i;if(n=null!=e&&e[Ut])return n;if(!Vt(e)||t.has(e))return e;if(Array.isArray(e)){Object.isFrozen(e)?e=e.slice(0):t.add(e);for(let n=0,i=e.length;n<i;n++)o=e[n],(r=Yt(o,t))!==o&&(e[n]=r)}else{Object.isFrozen(e)?e=Object.assign({},e):t.add(e);const n=Object.keys(e),a=Object.getOwnPropertyDescriptors(e);for(let s=0,l=n.length;s<l;s++)i=n[s],a[i].get||(o=e[i],(r=Yt(o,t))!==o&&(e[i]=r))}return e}function Kt(e,t){let n=e[t];return n||Object.defineProperty(e,t,{value:n=Object.create(null)}),n}function Xt(e,t,n){if(e[t])return e[t];const[r,o]=k(n,{equals:!1,internal:!0});return r.$=o,e[t]=r}function Qt(e){R()&&Xt(Kt(e,jt),Wt)()}const Zt={get(e,t,n){if(t===Ut)return e;if(t===a)return n;if(t===l)return Qt(e),n;const r=Kt(e,jt),o=r[t];let i=o?o():e[t];if(t===jt||t===Gt||"__proto__"===t)return i;if(!o){const n=Object.getOwnPropertyDescriptor(e,t);!R()||"function"==typeof i&&!e.hasOwnProperty(t)||n&&n.get||(i=Xt(r,t,i)())}return Vt(i)?qt(i):i},has:(e,t)=>t===Ut||t===a||t===l||t===jt||t===Gt||"__proto__"===t||(R()&&Xt(Kt(e,Gt),t)(),t in e),set:()=>!0,deleteProperty:()=>!0,ownKeys:function(e){return Qt(e),Reflect.ownKeys(e)},getOwnPropertyDescriptor:function(e,t){const n=Reflect.getOwnPropertyDescriptor(e,t);return n&&!n.get&&n.configurable&&t!==a&&t!==jt?(delete n.value,delete n.writable,n.get=()=>e[a][t],n):n}};function Jt(e,t,n,r=!1){if(!r&&e[t]===n)return;const o=e[t],i=e.length;void 0===n?(delete e[t],e[Gt]&&e[Gt][t]&&void 0!==o&&e[Gt][t].$()):(e[t]=n,e[Gt]&&e[Gt][t]&&void 0===o&&e[Gt][t].$());let a,s=Kt(e,jt);if((a=Xt(s,t,o))&&a.$(()=>n),Array.isArray(e)&&e.length!==i){for(let t=e.length;t<i;t++)(a=s[t])&&a.$();(a=Xt(s,"length",i))&&a.$(e.length)}(a=s[Wt])&&a.$()}function en(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r+=1){const o=n[r];Jt(e,o,t[o])}}function tn(e,t,n=[]){let r,o=e;if(t.length>1){r=t.shift();const i=typeof r,a=Array.isArray(e);if(Array.isArray(r)){for(let o=0;o<r.length;o++)tn(e,[r[o]].concat(t),n);return}if(a&&"function"===i){for(let o=0;o<e.length;o++)r(e[o],o)&&tn(e,[o].concat(t),n);return}if(a&&"object"===i){const{from:o=0,to:i=e.length-1,by:a=1}=r;for(let r=o;r<=i;r+=a)tn(e,[r].concat(t),n);return}if(t.length>1)return void tn(e[r],t,[r].concat(n));o=e[r],n=[r].concat(n)}let i=t[0];"function"==typeof i&&(i=i(o,n),i===o)||void 0===r&&null==i||(i=Yt(i),void 0===r||Vt(o)&&Vt(i)&&!Array.isArray(i)?en(o,i):Jt(e,r,i))}function nn(...[e,t]){const n=Yt(e||{}),r=Array.isArray(n);return[qt(n),function(...e){O(()=>{r&&1===e.length?function(e,t){if("function"==typeof t&&(t=t(e)),t=Yt(t),Array.isArray(t)){if(e===t)return;let n=0,r=t.length;for(;n<r;n++){const r=t[n];e[n]!==r&&Jt(e,n,r)}Jt(e,"length",r)}else en(e,t)}(n,e[0]):tn(n,e)})}]}const rn=Symbol("store-root");function on(e,t,n,r,o){const i=t[n];if(e===i)return;const a=Array.isArray(e);if(n!==rn&&(!Vt(e)||!Vt(i)||a!==Array.isArray(i)||o&&e[o]!==i[o]))return void Jt(t,n,e);if(a){if(e.length&&i.length&&(!r||o&&e[0]&&null!=e[0][o])){let t,n,a,s,l,c,u,d;for(a=0,s=Math.min(i.length,e.length);a<s&&(i[a]===e[a]||o&&i[a]&&e[a]&&i[a][o]===e[a][o]);a++)on(e[a],i,a,r,o);const p=new Array(e.length),h=new Map;for(s=i.length-1,l=e.length-1;s>=a&&l>=a&&(i[s]===e[l]||o&&i[s]&&e[l]&&i[s][o]===e[l][o]);s--,l--)p[l]=i[s];if(a>l||a>s){for(n=a;n<=l;n++)Jt(i,n,e[n]);for(;n<e.length;n++)Jt(i,n,p[n]),on(e[n],i,n,r,o);return void(i.length>e.length&&Jt(i,"length",e.length))}for(u=new Array(l+1),n=l;n>=a;n--)c=e[n],d=o&&c?c[o]:c,t=h.get(d),u[n]=void 0===t?-1:t,h.set(d,n);for(t=a;t<=s;t++)c=i[t],d=o&&c?c[o]:c,n=h.get(d),void 0!==n&&-1!==n&&(p[n]=i[t],n=u[n],h.set(d,n));for(n=a;n<e.length;n++)n in p?(Jt(i,n,p[n]),on(e[n],i,n,r,o)):Jt(i,n,e[n])}else for(let t=0,n=e.length;t<n;t++)on(e[t],i,t,r,o);return void(i.length>e.length&&Jt(i,"length",e.length))}const s=Object.keys(e);for(let c=0,u=s.length;c<u;c++)on(e[s[c]],i,s[c],r,o);const l=Object.keys(i);for(let c=0,u=l.length;c<u;c++)void 0===e[l[c]]&&Jt(i,l[c],void 0)}const an=new WeakMap,sn={get(e,t){if(t===Ut)return e;const n=e[t];let r;return Vt(n)?an.get(n)||(an.set(n,r=new Proxy(n,sn)),r):n},set:(e,t,n)=>(Jt(e,t,Yt(n)),!0),deleteProperty:(e,t)=>(Jt(e,t,void 0,!0),!0)};function ln(e){return t=>{if(Vt(t)){let n;(n=an.get(t))||an.set(t,n=new Proxy(t,sn)),e(n)}return t}}var cn="colors",un="sizes",dn="space",pn={gap:dn,gridGap:dn,columnGap:dn,gridColumnGap:dn,rowGap:dn,gridRowGap:dn,inset:dn,insetBlock:dn,insetBlockEnd:dn,insetBlockStart:dn,insetInline:dn,insetInlineEnd:dn,insetInlineStart:dn,margin:dn,marginTop:dn,marginRight:dn,marginBottom:dn,marginLeft:dn,marginBlock:dn,marginBlockEnd:dn,marginBlockStart:dn,marginInline:dn,marginInlineEnd:dn,marginInlineStart:dn,padding:dn,paddingTop:dn,paddingRight:dn,paddingBottom:dn,paddingLeft:dn,paddingBlock:dn,paddingBlockEnd:dn,paddingBlockStart:dn,paddingInline:dn,paddingInlineEnd:dn,paddingInlineStart:dn,top:dn,right:dn,bottom:dn,left:dn,scrollMargin:dn,scrollMarginTop:dn,scrollMarginRight:dn,scrollMarginBottom:dn,scrollMarginLeft:dn,scrollMarginX:dn,scrollMarginY:dn,scrollMarginBlock:dn,scrollMarginBlockEnd:dn,scrollMarginBlockStart:dn,scrollMarginInline:dn,scrollMarginInlineEnd:dn,scrollMarginInlineStart:dn,scrollPadding:dn,scrollPaddingTop:dn,scrollPaddingRight:dn,scrollPaddingBottom:dn,scrollPaddingLeft:dn,scrollPaddingX:dn,scrollPaddingY:dn,scrollPaddingBlock:dn,scrollPaddingBlockEnd:dn,scrollPaddingBlockStart:dn,scrollPaddingInline:dn,scrollPaddingInlineEnd:dn,scrollPaddingInlineStart:dn,fontSize:"fontSizes",background:cn,backgroundColor:cn,backgroundImage:cn,borderImage:cn,border:cn,borderBlock:cn,borderBlockEnd:cn,borderBlockStart:cn,borderBottom:cn,borderBottomColor:cn,borderColor:cn,borderInline:cn,borderInlineEnd:cn,borderInlineStart:cn,borderLeft:cn,borderLeftColor:cn,borderRight:cn,borderRightColor:cn,borderTop:cn,borderTopColor:cn,caretColor:cn,color:cn,columnRuleColor:cn,fill:cn,outline:cn,outlineColor:cn,stroke:cn,textDecorationColor:cn,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:un,minBlockSize:un,maxBlockSize:un,inlineSize:un,minInlineSize:un,maxInlineSize:un,width:un,minWidth:un,maxWidth:un,height:un,minHeight:un,maxHeight:un,flexBasis:un,gridTemplateColumns:un,gridTemplateRows:un,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},hn=(e,t)=>"function"==typeof t?{"()":Function.prototype.toString.call(t)}:t,fn=()=>{const e=Object.create(null);return(t,n,...r)=>{const o=(e=>JSON.stringify(e,hn))(t);return o in e?e[o]:e[o]=n(t,...r)}},gn=Symbol.for("sxs.internal"),mn=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),bn=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:vn}=Object.prototype,yn=e=>e.includes("-")?e:e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),En=/\s+(?![^()]*\))/,_n=e=>t=>e(..."string"==typeof t?String(t).split(En):[t]),Sn={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:_n((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:_n((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:_n((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:_n((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:_n((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:_n((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},kn=/([\d.]+)([^]*)/,Tn=(e,t)=>e.length?e.reduce((e,n)=>(e.push(...t.map(e=>e.includes("&")?e.replace(/&/g,/[ +>|~]/.test(n)&&/&.*&/.test(e)?`:is(${n})`:n):n+" "+e)),e),[]):t,wn=(e,t)=>e in An&&"string"==typeof t?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(t,n,r,o)=>n+("stretch"===r?`-moz-available${o};${yn(e)}:${n}-webkit-fill-available`:`-moz-fit-content${o};${yn(e)}:${n}fit-content`)+o):String(t),An={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},Cn=e=>e?e+"-":"",xn=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(e,r,o,i,a)=>"$"==i==!!o?e:(r||"--"==i?"calc(":"")+"var(--"+("$"===i?Cn(t)+(a.includes("$")?"":Cn(n))+a.replace(/\$/g,"-"):a)+")"+(r||"--"==i?"*"+(r||"")+(o||"1")+")":"")),On=/\s*,\s*(?![^()]*\))/,In=Object.prototype.toString,Nn=(e,t,n,r,o)=>{let i,a,s;const l=(e,t,n)=>{let c,u;const d=e=>{for(c in e){const f=64===c.charCodeAt(0),g=f&&Array.isArray(e[c])?e[c]:[e[c]];for(u of g){const e=/[A-Z]/.test(h=c)?h:h.replace(/-[^]/g,e=>e[1].toUpperCase()),g="object"==typeof u&&u&&u.toString===In&&(!r.utils[e]||!t.length);if(e in r.utils&&!g){const t=r.utils[e];if(t!==a){a=t,d(t(u)),a=null;continue}}else if(e in Sn){const t=Sn[e];if(t!==s){s=t,d(t(u)),s=null;continue}}if(f&&(p=c.slice(1)in r.media?"@media "+r.media[c.slice(1)]:c,c=p.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(e,t,n,r,o,i)=>{const a=kn.test(t),s=.0625*(a?-1:1),[l,c]=a?[r,t]:[t,r];return"("+("="===n[0]?"":">"===n[0]===a?"max-":"min-")+l+":"+("="!==n[0]&&1===n.length?c.replace(kn,(e,t,r)=>Number(t)+s*(">"===n?1:-1)+r):c)+(o?") and ("+(">"===o[0]?"min-":"max-")+l+":"+(1===o.length?i.replace(kn,(e,t,n)=>Number(t)+s*(">"===o?-1:1)+n):i):"")+")"})),g){const e=f?n.concat(c):[...n],r=f?[...t]:Tn(t,c.split(On));void 0!==i&&o(Ln(...i)),i=void 0,l(u,r,e)}else void 0===i&&(i=[[],t,n]),c=f||36!==c.charCodeAt(0)?c:`--${Cn(r.prefix)}${c.slice(1).replace(/\$/g,"-")}`,u=g?u:"number"==typeof u?u&&e in Dn?String(u)+"px":String(u):xn(wn(e,null==u?"":u),r.prefix,r.themeMap[e]),i[0].push(`${f?`${c} `:`${yn(c)}:`}${u}`)}}var p,h};d(e),void 0!==i&&o(Ln(...i)),i=void 0};l(e,t,n)},Ln=(e,t,n)=>`${n.map(e=>`${e}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,Dn={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},Rn=e=>String.fromCharCode(e+(e>25?39:97)),Mn=e=>(e=>{let t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Rn(t%52)+n;return Rn(t%52)+n})(((e,t)=>{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e})(5381,JSON.stringify(e))>>>0),Pn=["themed","global","styled","onevar","resonevar","allvar","inline"],Bn=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch(e){return!1}},$n=e=>{let t;const n=()=>{const{cssRules:e}=t.sheet;return[].map.call(e,(n,r)=>{const{cssText:o}=n;let i="";if(o.startsWith("--sxs"))return"";if(e[r-1]&&(i=e[r-1].cssText).startsWith("--sxs")){if(!n.cssRules.length)return"";for(const e in t.rules)if(t.rules[e].group===n)return`--sxs{--sxs:${[...t.rules[e].cache].join(" ")}}${o}`;return n.cssRules.length?`${i}${o}`:""}return o}).join("")},r=()=>{if(t){const{rules:e,sheet:n}=t;if(!n.deleteRule){for(;3===Object(Object(n.cssRules)[0]).type;)n.cssRules.splice(0,1);n.cssRules=[]}for(const t in e)delete e[t]}const o=Object(e).styleSheets||[];for(const e of o)if(Bn(e)){for(let o=0,i=e.cssRules;i[o];++o){const a=Object(i[o]);if(1!==a.type)continue;const s=Object(i[o+1]);if(4!==s.type)continue;++o;const{cssText:l}=a;if(!l.startsWith("--sxs"))continue;const c=l.slice(14,-3).trim().split(/\s+/),u=Pn[c[0]];u&&(t||(t={sheet:e,reset:r,rules:{},toString:n}),t.rules[u]={group:s,index:o,cache:new Set(c)})}if(t)break}if(!t){const o=(e,t)=>({type:t,cssRules:[],insertRule(e,t){this.cssRules.splice(t,0,o(e,{import:3,undefined:1}[(e.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return"@media{}"===e?`@media{${[].map.call(this.cssRules,e=>e.cssText).join("")}}`:e}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:o("","text/css"),rules:{},reset:r,toString:n}}const{sheet:i,rules:a}=t;for(let e=Pn.length-1;e>=0;--e){const t=Pn[e];if(!a[t]){const n=Pn[e+1],r=a[n]?a[n].index:i.cssRules.length;i.insertRule("@media{}",r),i.insertRule(`--sxs{--sxs:${e}}`,r),a[t]={group:i.cssRules[r+1],index:r,cache:new Set([e])}}Fn(a[t])}};return r(),t},Fn=e=>{const t=e.group;let n=t.cssRules.length;e.apply=e=>{try{t.insertRule(e,n),++n}catch(e){}}},Hn=Symbol(),zn=fn(),Un=(e,t)=>zn(e,()=>(...n)=>{let r={type:null,composers:new Set};for(const t of n)if(null!=t)if(t[gn]){null==r.type&&(r.type=t[gn].type);for(const e of t[gn].composers)r.composers.add(e)}else t.constructor!==Object||t.$$typeof?null==r.type&&(r.type=t):r.composers.add(jn(t,e));return null==r.type&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),Gn(e,r,t)}),jn=({variants:e,compoundVariants:t,defaultVariants:n,...r},o)=>{const i=`${Cn(o.prefix)}c-${Mn(r)}`,a=[],s=[],l=Object.create(null),c=[];for(const p in n)l[p]=String(n[p]);if("object"==typeof e&&e)for(const p in e){u=l,d=p,vn.call(u,d)||(l[p]="undefined");const t=e[p];for(const e in t){const n={[p]:String(e)};"undefined"===String(e)&&c.push(p);const r=t[e],o=[n,r,!bn(r)];a.push(o)}}var u,d;if("object"==typeof t&&t)for(const p of t){let{css:e,...t}=p;e="object"==typeof e&&e||{};for(const r in t)t[r]=String(t[r]);const n=[t,e,!bn(e)];s.push(n)}return[i,r,a,s,l,c]},Gn=(e,t,n)=>{const[r,o,i,a]=Wn(t.composers),s="function"==typeof t.type||t.type.$$typeof?(e=>{function t(){for(let n=0;n<t[Hn].length;n++){const[r,o]=t[Hn][n];e.rules[r].apply(o)}return t[Hn]=[],null}return t[Hn]=[],t.rules={},Pn.forEach(e=>t.rules[e]={apply:n=>t[Hn].push([e,n])}),t})(n):null,l=(s||n).rules,c=`.${r}${o.length>1?`:where(.${o.slice(1).join(".")})`:""}`,u=u=>{u="object"==typeof u&&u||Vn;const{css:d,...p}=u,h={};for(const e in i)if(delete p[e],e in u){let t=u[e];"object"==typeof t&&t?h[e]={"@initial":i[e],...t}:(t=String(t),h[e]="undefined"!==t||a.has(e)?t:i[e])}else h[e]=i[e];const f=new Set([...o]);for(const[r,o,i,a]of t.composers){n.rules.styled.cache.has(r)||(n.rules.styled.cache.add(r),Nn(o,[`.${r}`],[],e,e=>{l.styled.apply(e)}));const t=qn(i,h,e.media),s=qn(a,h,e.media,!0);for(const o of t)if(void 0!==o)for(const[t,i,a]of o){const o=`${r}-${Mn(i)}-${t}`;f.add(o);const s=(a?n.rules.resonevar:n.rules.onevar).cache,c=a?l.resonevar:l.onevar;s.has(o)||(s.add(o),Nn(i,[`.${o}`],[],e,e=>{c.apply(e)}))}for(const o of s)if(void 0!==o)for(const[t,i]of o){const o=`${r}-${Mn(i)}-${t}`;f.add(o),n.rules.allvar.cache.has(o)||(n.rules.allvar.cache.add(o),Nn(i,[`.${o}`],[],e,e=>{l.allvar.apply(e)}))}}if("object"==typeof d&&d){const t=`${r}-i${Mn(d)}-css`;f.add(t),n.rules.inline.cache.has(t)||(n.rules.inline.cache.add(t),Nn(d,[`.${t}`],[],e,e=>{l.inline.apply(e)}))}for(const e of String(u.className||"").trim().split(/\s+/))e&&f.add(e);const g=p.className=[...f].join(" ");return{type:t.type,className:g,selector:c,props:p,toString:()=>g,deferredInjector:s}};return mn(u,{className:r,selector:c,[gn]:t,toString:()=>(n.rules.styled.cache.has(r)||u(),r)})},Wn=e=>{let t="";const n=[],r={},o=[];for(const[i,,,,a,s]of e){""===t&&(t=i),n.push(i),o.push(...s);for(const e in a){const t=a[e];(void 0===r[e]||"undefined"!==t||s.includes(t))&&(r[e]=t)}}return[t,n,r,new Set(o)]},qn=(e,t,n,r)=>{const o=[];e:for(let[i,a,s]of e){if(s)continue;let e,l=0,c=!1;for(e in i){const r=i[e];let o=t[e];if(o!==r){if("object"!=typeof o||!o)continue e;{let e,t,i=0;for(const a in o){if(r===String(o[a])){if("@initial"!==a){const e=a.slice(1);(t=t||[]).push(e in n?n[e]:a.replace(/^@media ?/,"")),c=!0}l+=i,e=!0}++i}if(t&&t.length&&(a={["@media "+t.join(", ")]:a}),!e)continue e}}}(o[l]=o[l]||[]).push([r?"cv":`${e}-${i[e]}`,a,c])}return o},Vn={},Yn=fn(),Kn=(e,t)=>Yn(e,()=>(...n)=>{const r=()=>{for(let r of n){r="object"==typeof r&&r||{};let n=Mn(r);if(!t.rules.global.cache.has(n)){if(t.rules.global.cache.add(n),"@import"in r){let e=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let n of[].concat(r["@import"]))n=n.includes('"')||n.includes("'")?n:`"${n}"`,t.sheet.insertRule(`@import ${n};`,e++);delete r["@import"]}Nn(r,[],[],e,e=>{t.rules.global.apply(e)})}}return""};return mn(r,{toString:r})}),Xn=fn(),Qn=(e,t)=>Xn(e,()=>n=>{const r=`${Cn(e.prefix)}k-${Mn(n)}`,o=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const o=[];Nn(n,[],[],e,e=>o.push(e));const i=`@keyframes ${r}{${o.join("")}}`;t.rules.global.apply(i)}return r};return mn(o,{get name(){return o()},toString:o})}),Zn=class{constructor(e,t,n,r){this.token=null==e?"":String(e),this.value=null==t?"":String(t),this.scale=null==n?"":String(n),this.prefix=null==r?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+Cn(this.prefix)+Cn(this.scale)+this.token}toString(){return this.computedValue}},Jn=fn(),er=(e,t)=>Jn(e,()=>(n,r)=>{r="object"==typeof n&&n||Object(r);const o=`.${n=(n="string"==typeof n?n:"")||`${Cn(e.prefix)}t-${Mn(r)}`}`,i={},a=[];for(const t in r){i[t]={};for(const n in r[t]){const o=`--${Cn(e.prefix)}${t}-${n}`,s=xn(String(r[t][n]),e.prefix,t);i[t][n]=new Zn(n,s,t,e.prefix),a.push(`${o}:${s}`)}}const s=()=>{if(a.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const o=`${r===e.theme?":root,":""}.${n}{${a.join(";")}}`;t.rules.themed.apply(o)}return n};return{...i,get className(){return s()},selector:o,toString:s}}),tr=fn(),nr=e("dD","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function rr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var or,ir={exports:{}},ar=(or||(or=1,function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Function]",a="[object Object]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[o]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[i]=c["[object Map]"]=c["[object Number]"]=c[a]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var u,d="object"==typeof nr&&nr&&nr.Object===Object&&nr,p="object"==typeof self&&self&&self.Object===Object&&self,h=d||p||Function("return this")(),f=t&&!t.nodeType&&t,g=f&&e&&!e.nodeType&&e,m=g&&g.exports===f,b=m&&d.process,v=function(){try{var e=g&&g.require&&g.require("util").types;return e||b&&b.binding&&b.binding("util")}catch(ro){}}(),y=v&&v.isTypedArray,E=Array.prototype,_=Function.prototype,S=Object.prototype,k=h["__core-js_shared__"],T=_.toString,w=S.hasOwnProperty,A=(u=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",C=S.toString,x=T.call(Object),O=RegExp("^"+T.call(w).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),I=m?h.Buffer:void 0,N=h.Symbol,L=h.Uint8Array;I&&I.allocUnsafe;var D,R,M=(D=Object.getPrototypeOf,R=Object,function(e){return D(R(e))}),P=Object.create,B=S.propertyIsEnumerable,$=E.splice,F=N?N.toStringTag:void 0,H=function(){try{var e=de(Object,"defineProperty");return e({},"",{}),e}catch(ro){}}(),z=I?I.isBuffer:void 0,U=Math.max,j=Date.now,G=de(h,"Map"),W=de(Object,"create"),q=function(){function e(){}return function(t){if(!ke(t))return{};if(P)return P(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function V(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function X(e){var t=this.__data__=new Y(e);this.size=t.size}function Q(e,t){var n=ve(e),r=!n&&be(e),o=!n&&!r&&Ee(e),i=!n&&!r&&!o&&we(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||pe(c,l))||s.push(c);return s}function Z(e,t,n){(void 0!==n&&!me(e[t],n)||void 0===n&&!(t in e))&&te(e,t,n)}function J(e,t,n){var r=e[t];w.call(e,t)&&me(r,n)&&(void 0!==n||t in e)||te(e,t,n)}function ee(e,t){for(var n=e.length;n--;)if(me(e[n][0],t))return n;return-1}function te(e,t,n){"__proto__"==t&&H?H(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}V.prototype.clear=function(){this.__data__=W?W(null):{},this.size=0},V.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},V.prototype.get=function(e){var t=this.__data__;if(W){var r=t[e];return r===n?void 0:r}return w.call(t,e)?t[e]:void 0},V.prototype.has=function(e){var t=this.__data__;return W?void 0!==t[e]:w.call(t,e)},V.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=W&&void 0===t?n:t,this},Y.prototype.clear=function(){this.__data__=[],this.size=0},Y.prototype.delete=function(e){var t=this.__data__,n=ee(t,e);return!(n<0||(n==t.length-1?t.pop():$.call(t,n,1),--this.size,0))},Y.prototype.get=function(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]},Y.prototype.has=function(e){return ee(this.__data__,e)>-1},Y.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},K.prototype.clear=function(){this.size=0,this.__data__={hash:new V,map:new(G||Y),string:new V}},K.prototype.delete=function(e){var t=ue(this,e).delete(e);return this.size-=t?1:0,t},K.prototype.get=function(e){return ue(this,e).get(e)},K.prototype.has=function(e){return ue(this,e).has(e)},K.prototype.set=function(e,t){var n=ue(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},X.prototype.clear=function(){this.__data__=new Y,this.size=0},X.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},X.prototype.get=function(e){return this.__data__.get(e)},X.prototype.has=function(e){return this.__data__.has(e)},X.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Y){var r=n.__data__;if(!G||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new K(r)}return n.set(e,t),this.size=n.size,this};var ne=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[++r];if(!1===t(o[s],s,o))break}return e};function re(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":F&&F in Object(e)?function(e){var t=w.call(e,F),n=e[F];try{e[F]=void 0;var r=!0}catch(ro){}var o=C.call(e);return r&&(t?e[F]=n:delete e[F]),o}(e):function(e){return C.call(e)}(e)}function oe(e){return Te(e)&&re(e)==o}function ie(e){return!(!ke(e)||function(e){return!!A&&A in e}(e))&&(_e(e)?O:s).test(function(e){if(null!=e){try{return T.call(e)}catch(ro){}try{return e+""}catch(ro){}}return""}(e))}function ae(e){if(!ke(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=he(e),n=[];for(var r in e)("constructor"!=r||!t&&w.call(e,r))&&n.push(r);return n}function se(e,t,n,r,o){e!==t&&ne(t,function(i,s){if(o||(o=new X),ke(i))!function(e,t,n,r,o,i,s){var l=fe(e,n),c=fe(t,n),u=s.get(c);if(u)Z(e,n,u);else{var d,p=i?i(l,c,n+"",e,t,s):void 0,h=void 0===p;if(h){var f=ve(c),g=!f&&Ee(c),m=!f&&!g&&we(c);p=c,f||g||m?ve(l)?p=l:Te(d=l)&&ye(d)?p=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(l):g?(h=!1,p=function(e){return e.slice()}(c)):m?(h=!1,p=function(e){var t,n,r=(t=e.buffer,n=new t.constructor(t.byteLength),new L(n).set(new L(t)),n);return new e.constructor(r,e.byteOffset,e.length)}(c)):p=[]:function(e){if(!Te(e)||re(e)!=a)return!1;var t=M(e);if(null===t)return!0;var n=w.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&T.call(n)==x}(c)||be(c)?(p=l,be(l)?p=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=void 0;void 0===s&&(s=e[a]),r?te(n,a,s):J(n,a,s)}return n}(e,Ae(e))}(l):ke(l)&&!_e(l)||(p=function(e){return"function"!=typeof e.constructor||he(e)?{}:q(M(e))}(c))):h=!1}h&&(s.set(c,p),o(p,c,r,i,s),s.delete(c)),Z(e,n,p)}}(e,t,s,n,se,r,o);else{var l=r?r(fe(e,s),i,s+"",e,t,o):void 0;void 0===l&&(l=i),Z(e,s,l)}},Ae)}function le(e,t){return ge(function(e,t,n){return t=U(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=U(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Oe),e+"")}var ce=H?function(e,t){return H(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Oe;function ue(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function de(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ie(n)?n:void 0}function pe(e,t){var n=typeof e;return!!(t=null==t?r:t)&&("number"==n||"symbol"!=n&&l.test(e))&&e>-1&&e%1==0&&e<t}function he(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||S)}function fe(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ge=function(e){var t=0,n=0;return function(){var r=j(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ce);function me(e,t){return e===t||e!=e&&t!=t}var be=oe(function(){return arguments}())?oe:function(e){return Te(e)&&w.call(e,"callee")&&!B.call(e,"callee")},ve=Array.isArray;function ye(e){return null!=e&&Se(e.length)&&!_e(e)}var Ee=z||function(){return!1};function _e(e){if(!ke(e))return!1;var t=re(e);return t==i||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Se(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function ke(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Te(e){return null!=e&&"object"==typeof e}var we=y?function(e){return function(t){return e(t)}}(y):function(e){return Te(e)&&Se(e.length)&&!!c[re(e)]};function Ae(e){return ye(e)?Q(e):ae(e)}var Ce,xe=(Ce=function(e,t,n){se(e,t,n)},le(function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Ce.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!ke(n))return!1;var r=typeof t;return!!("number"==r?ye(n)&&pe(t,n.length):"string"==r&&t in n)&&me(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Ce(e,a,n,o)}return e}));function Oe(e){return e}e.exports=xe}(ir,ir.exports)),ir.exports);const sr=rr(ar),lr=()=>{},cr=(e,t)=>t();function ur(e,t){const n=I(e),r=n?[n]:[],{onEnter:o=cr,onExit:i=cr}=t,[a,s]=k(t.appear?[]:r),[l]=H();let c,u=!1;function d(e,t){if(!e)return t&&t();u=!0,i(e,()=>{O(()=>{u=!1,s(t=>t.filter(t=>t!==e)),t&&t()})})}function p(e){const t=c;if(!t)return e&&e();c=void 0,s(e=>[t,...e]),o(t,e??lr)}const h="out-in"===t.mode?e=>u||d(e,p):"in-out"===t.mode?e=>p(()=>d(e)):e=>{d(e),p()};return T(t=>{const n=e();return I(l)?(l(),t):(n!==t&&(c=n,O(()=>I(()=>h(t)))),n)},t.appear?void 0:n),a}const dr=function(e,t,n){if(r.context){const[r,o]=k(e,n);return L(()=>o(()=>t())),[r,o]}return k(t(),n)},pr=e=>e instanceof Element;function hr(e,t){if(t(e))return e;if("function"==typeof e&&!e.length)return hr(e(),t);if(Array.isArray(e)){const n=[];for(const r of e){const e=hr(r,t);e&&(Array.isArray(e)?n.push.apply(n,e):n.push(e))}return n.length?n:null}return null}function fr(e,t=pr,n=pr){const r=C(e),o=C(()=>hr(r(),t));return o.toArray=()=>{const e=o();return Array.isArray(e)?e:e?[e]:[]},o}function gr(e,t){if(t(e))return e;if("function"==typeof e&&!e.length)return gr(e(),t);if(Array.isArray(e))for(const n of e){const e=gr(n,t);if(e)return e}return null}function mr(e,t=pr,n=pr){const r=C(e);return C(()=>gr(r(),t))}function br(e){return C(()=>{const t=e.name||"s";return{enterActive:(e.enterActiveClass||t+"-enter-active").split(" "),enter:(e.enterClass||t+"-enter").split(" "),enterTo:(e.enterToClass||t+"-enter-to").split(" "),exitActive:(e.exitActiveClass||t+"-exit-active").split(" "),exit:(e.exitClass||t+"-exit").split(" "),exitTo:(e.exitToClass||t+"-exit-to").split(" "),move:(e.moveClass||t+"-move").split(" ")}})}function vr(e){requestAnimationFrame(()=>requestAnimationFrame(e))}function yr(e,t,n,r){const{onBeforeEnter:o,onEnter:i,onAfterEnter:a}=t;function s(t){t&&t.target!==n||(r?.(),n.removeEventListener("transitionend",s),n.removeEventListener("animationend",s),n.classList.remove(...e.enterActive),n.classList.remove(...e.enterTo),a?.(n))}o?.(n),n.classList.add(...e.enter),n.classList.add(...e.enterActive),queueMicrotask(()=>{if(!n.parentNode)return r?.();i?.(n,()=>s())}),vr(()=>{n.classList.remove(...e.enter),n.classList.add(...e.enterTo),(!i||i.length<2)&&(n.addEventListener("transitionend",s),n.addEventListener("animationend",s))})}function Er(e,t,n,r){const{onBeforeExit:o,onExit:i,onAfterExit:a}=t;if(!n.parentNode)return r?.();function s(t){t&&t.target!==n||(r?.(),n.removeEventListener("transitionend",s),n.removeEventListener("animationend",s),n.classList.remove(...e.exitActive),n.classList.remove(...e.exitTo),a?.(n))}o?.(n),n.classList.add(...e.exit),n.classList.add(...e.exitActive),i?.(n,()=>s()),vr(()=>{n.classList.remove(...e.exit),n.classList.add(...e.exitTo),(!i||i.length<2)&&(n.addEventListener("transitionend",s),n.addEventListener("animationend",s))})}const _r={inout:"in-out",outin:"out-in"},Sr=e=>{const t=br(e);return ur(mr(()=>e.children),{mode:_r[e.mode],appear:e.appear,onEnter(n,r){yr(t(),e,n,r)},onExit(n,r){Er(t(),e,n,r)}})},kr=e=>{const t=br(e);return function(e,t){const n=I(e),{onChange:r}=t;let o=new Set(t.appear?void 0:n);const i=new WeakSet,[a,s]=k([],{equals:!1}),[c]=H(),u=e=>{s(t=>(t.push.apply(t,e),t));for(const t of e)i.delete(t)},d=(e,t,n)=>e.splice(n,0,t);return C(t=>{const n=a(),s=e();if(s[l],I(c))return c(),t;if(n.length){const e=t.filter(e=>!n.includes(e));return n.length=0,r({list:e,added:[],removed:[],unchanged:e,finishRemoved:u}),e}return I(()=>{const e=new Set(s),n=s.slice(),a=[],l=[],c=[];for(const t of s)(o.has(t)?c:a).push(t);let p=!a.length;for(let r=0;r<t.length;r++){const o=t[r];e.has(o)||(i.has(o)||(l.push(o),i.add(o)),d(n,o,r)),p&&o!==n[r]&&(p=!1)}return!l.length&&p?t:(r({list:n,added:a,removed:l,unchanged:c,finishRemoved:u}),o=e,n)})},t.appear?[]:n.slice())}(fr(()=>e.children).toArray,{appear:e.appear,onChange({added:n,removed:r,finishRemoved:o,list:i}){const a=t();for(const t of n)yr(a,e,t);const s=[];for(const e of i)e.isConnected&&(e instanceof HTMLElement||e instanceof SVGElement)&&s.push({el:e,rect:e.getBoundingClientRect()});queueMicrotask(()=>{const e=[];for(const{el:t,rect:n}of s)if(t.isConnected){const r=t.getBoundingClientRect(),o=n.left-r.left,i=n.top-r.top;(o||i)&&(t.style.transform=`translate(${o}px, ${i}px)`,t.style.transitionDuration="0s",e.push(t))}document.body.offsetHeight;for(const l of e){function c(e){(e.target===l||/transform$/.test(e.propertyName))&&(l.removeEventListener("transitionend",c),l.classList.remove(...a.move))}l.classList.add(...a.move),l.style.transform=l.style.transitionDuration="",l.addEventListener("transitionend",c)}});for(const t of r)Er(a,e,t,()=>o([t]))}})};
2
2
  /*!
3
3
  * tabbable 5.3.3
4
4
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
@@ -8,7 +8,7 @@ var Tr=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","a
8
8
  * focus-trap 6.7.3
9
9
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
10
10
  */
11
- function Gr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Wr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qr,Vr,Yr=(qr=[],{activateTrap:function(e){if(qr.length>0){var t=qr[qr.length-1];t!==e&&t.pause()}var n=qr.indexOf(e);-1===n||qr.splice(n,1),qr.push(e)},deactivateTrap:function(e){var t=qr.indexOf(e);-1!==t&&qr.splice(t,1),qr.length>0&&qr[qr.length-1].unpause()}}),Kr=function(e){return setTimeout(e,0)},Xr=function(e,t){var n=-1;return e.every(function(e,r){return!t(e)||(n=r,!1)}),n},Qr=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},Zr=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Jr=function(e,t){var n,r=(null==t?void 0:t.document)||document,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gr(Object(n),!0).forEach(function(t){Wr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),i={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},s=function(e){return!(!e||!i.containers.some(function(t){return t.contains(e)}))},l=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];t=t.apply(void 0,i)}if(!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=t;if("string"==typeof t&&!(s=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},c=function(){var e=l("initialFocus");if(!1===e)return!1;if(void 0===e)if(s(r.activeElement))e=r.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(i.tabbableGroups=i.containers.map(function(e){var t,n,r=Hr(e),o=(t=e,(n=n||{}).getShadowRoot?Ir([t],n.includeContainer,{filter:Pr.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):Or(t,n.includeContainer,Pr.bind(null,n)));if(r.length>0)return{container:e,firstTabbableNode:r[0],lastTabbableNode:r[r.length-1],nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=o.findIndex(function(t){return t===e});return t?o.slice(n+1).find(function(e){return zr(e)}):o.slice(0,n).reverse().find(function(e){return zr(e)})}}}).filter(function(e){return!!e}),i.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},d=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(c()))},p=function(e){var t=l("setReturnFocus",e);return t||!1!==t&&e},h=function(e){var t=Zr(e);s(t)||(Qr(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate&&!jr(t)}):Qr(o.allowOutsideClick,e)||e.preventDefault())},f=function(e){var t=Zr(e),n=s(t);n||t instanceof Document?n&&(i.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),d(i.mostRecentlyFocusedNode||c()))},g=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==Qr(o.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=Zr(e);u();var n=null;if(i.tabbableGroups.length>0){var r=Xr(i.tabbableGroups,function(e){return e.container.contains(t)}),o=r>=0?i.tabbableGroups[r]:void 0;if(r<0)n=e.shiftKey?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var a=Xr(i.tabbableGroups,function(e){var n=e.firstTabbableNode;return t===n});if(a<0&&(o.container===t||jr(t)&&!zr(t)&&!o.nextTabbableNode(t,!1))&&(a=r),a>=0){var s=0===a?i.tabbableGroups.length-1:a-1;n=i.tabbableGroups[s].lastTabbableNode}}else{var c=Xr(i.tabbableGroups,function(e){var n=e.lastTabbableNode;return t===n});if(c<0&&(o.container===t||jr(t)&&!zr(t)&&!o.nextTabbableNode(t))&&(c=r),c>=0){var p=c===i.tabbableGroups.length-1?0:c+1;n=i.tabbableGroups[p].firstTabbableNode}}}else n=l("fallbackFocus");n&&(e.preventDefault(),d(n))}(e)},m=function(e){if(!Qr(o.clickOutsideDeactivates,e)){var t=Zr(e);s(t)||Qr(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())}},b=function(){if(i.active)return Yr.activateTrap(n),i.delayInitialFocusTimer=o.delayInitialFocus?Kr(function(){d(c())}):d(c()),r.addEventListener("focusin",f,!0),r.addEventListener("mousedown",h,{capture:!0,passive:!1}),r.addEventListener("touchstart",h,{capture:!0,passive:!1}),r.addEventListener("click",m,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),n},v=function(){if(i.active)return r.removeEventListener("focusin",f,!0),r.removeEventListener("mousedown",h,!0),r.removeEventListener("touchstart",h,!0),r.removeEventListener("click",m,!0),r.removeEventListener("keydown",g,!0),n};return n={activate:function(e){if(i.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),o=a(e,"checkCanFocusTrap");o||u(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,t&&t();var s=function(){o&&u(),b(),n&&n()};return o?(o(i.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!i.active)return this;clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,v(),i.active=!1,i.paused=!1,Yr.deactivateTrap(n);var t=a(e,"onDeactivate"),r=a(e,"onPostDeactivate"),o=a(e,"checkCanReturnFocus");t&&t();var s=a(e,"returnFocus","returnFocusOnDeactivate"),l=function(){Kr(function(){s&&d(p(i.nodeFocusedBeforeActivation)),r&&r()})};return s&&o?(o(p(i.nodeFocusedBeforeActivation)).then(l,l),this):(l(),this)},pause:function(){return i.paused||!i.active||(i.paused=!0,v()),this},unpause:function(){return i.paused&&i.active?(i.paused=!1,u(),b(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return i.containers=t.map(function(e){return"string"==typeof e?r.querySelector(e):e}),i.active&&u(),this}},n.updateContainerElements(e),n},eo={exports:{}},to=(Vr||(Vr=1,function(e){!function(t,n){e.exports=n()}(0,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){n.r(t);var r=function(e){return Array.isArray(e)?e:[e]},o=function(e){return e instanceof Node},i=function(e,t){if(e&&t){e=function(e){return e instanceof NodeList}(e)?e:[e];for(var n=0;n<e.length&&!0!==t(e[n],n,e.length);n++);}},a=function(e){return console.error("[scroll-lock] ".concat(e))},s=function(e){if(Array.isArray(e))return e.join(", ")},l=function(e){var t=[];return i(e,function(e){return t.push(e)}),t},c=function(e,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document;if((!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&-1!==l(n.querySelectorAll(t)).indexOf(e))return e;for(;(e=e.parentElement)&&-1===l(n.querySelectorAll(t)).indexOf(e););return e},u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document;return-1!==l(n.querySelectorAll(t)).indexOf(e)},d=function(e){if(e)return"hidden"===getComputedStyle(e).overflow},p=function(e){if(e)return!!d(e)||e.scrollTop<=0},h=function(e){if(e){if(d(e))return!0;var t=e.scrollTop,n=e.scrollHeight;return t+e.offsetHeight>=n}},f=function(e){if(e)return!!d(e)||e.scrollLeft<=0},g=function(e){if(e){if(d(e))return!0;var t=e.scrollLeft,n=e.scrollWidth;return t+e.offsetWidth>=n}};function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"disablePageScroll",function(){return y}),n.d(t,"enablePageScroll",function(){return E}),n.d(t,"getScrollState",function(){return _}),n.d(t,"clearQueueScrollLocks",function(){return S}),n.d(t,"getTargetScrollBarWidth",function(){return k}),n.d(t,"getCurrentTargetScrollBarWidth",function(){return T}),n.d(t,"getPageScrollBarWidth",function(){return w}),n.d(t,"getCurrentPageScrollBarWidth",function(){return A}),n.d(t,"addScrollableTarget",function(){return C}),n.d(t,"removeScrollableTarget",function(){return x}),n.d(t,"addScrollableSelector",function(){return O}),n.d(t,"removeScrollableSelector",function(){return I}),n.d(t,"addLockableTarget",function(){return N}),n.d(t,"addLockableSelector",function(){return L}),n.d(t,"setFillGapMethod",function(){return D}),n.d(t,"addFillGapTarget",function(){return R}),n.d(t,"removeFillGapTarget",function(){return M}),n.d(t,"addFillGapSelector",function(){return P}),n.d(t,"removeFillGapSelector",function(){return B}),n.d(t,"refillGaps",function(){return $});var b=["padding","margin","width","max-width","none"],v={scroll:!0,queue:0,scrollableSelectors:["[data-scroll-lock-scrollable]"],lockableSelectors:["body","[data-scroll-lock-lockable]"],fillGapSelectors:["body","[data-scroll-lock-fill-gap]","[data-scroll-lock-lockable]"],fillGapMethod:b[0],startTouchY:0,startTouchX:0},y=function(e){v.queue<=0&&(v.scroll=!1,F(),W()),C(e),v.queue++},E=function(e){v.queue>0&&v.queue--,v.queue<=0&&(v.scroll=!0,H(),q()),x(e)},_=function(){return v.scroll},S=function(){v.queue=0},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o(e)){var n=e.style.overflowY;t?_()||(e.style.overflowY=e.getAttribute("data-scroll-lock-saved-overflow-y-property")):e.style.overflowY="scroll";var r=T(e);return e.style.overflowY=n,r}return 0},T=function(e){if(o(e)){if(e===document.body){var t=document.documentElement.clientWidth;return window.innerWidth-t}var n=e.style.borderLeftWidth,r=e.style.borderRightWidth;e.style.borderLeftWidth="0px",e.style.borderRightWidth="0px";var i=e.offsetWidth-e.clientWidth;return e.style.borderLeftWidth=n,e.style.borderRightWidth=r,i}return 0},w=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return k(document.body,e)},A=function(){return T(document.body)},C=function(e){e&&r(e).map(function(e){i(e,function(e){o(e)?e.setAttribute("data-scroll-lock-scrollable",""):a('"'.concat(e,'" is not a Element.'))})})},x=function(e){e&&r(e).map(function(e){i(e,function(e){o(e)?e.removeAttribute("data-scroll-lock-scrollable"):a('"'.concat(e,'" is not a Element.'))})})},O=function(e){e&&r(e).map(function(e){v.scrollableSelectors.push(e)})},I=function(e){e&&r(e).map(function(e){v.scrollableSelectors=v.scrollableSelectors.filter(function(t){return t!==e})})},N=function(e){e&&(r(e).map(function(e){i(e,function(e){o(e)?e.setAttribute("data-scroll-lock-lockable",""):a('"'.concat(e,'" is not a Element.'))})}),_()||F())},L=function(e){e&&(r(e).map(function(e){v.lockableSelectors.push(e)}),_()||F(),P(e))},D=function(e){if(e)if(-1!==b.indexOf(e))v.fillGapMethod=e,$();else{var t=b.join(", ");a('"'.concat(e,'" method is not available!\nAvailable fill gap methods: ').concat(t,"."))}},R=function(e){e&&r(e).map(function(e){i(e,function(e){o(e)?(e.setAttribute("data-scroll-lock-fill-gap",""),v.scroll||Y(e)):a('"'.concat(e,'" is not a Element.'))})})},M=function(e){e&&r(e).map(function(e){i(e,function(e){o(e)?(e.removeAttribute("data-scroll-lock-fill-gap"),v.scroll||X(e)):a('"'.concat(e,'" is not a Element.'))})})},P=function(e){e&&r(e).map(function(e){-1===v.fillGapSelectors.indexOf(e)&&(v.fillGapSelectors.push(e),v.scroll||V(e))})},B=function(e){e&&r(e).map(function(e){v.fillGapSelectors=v.fillGapSelectors.filter(function(t){return t!==e}),v.scroll||K(e)})},$=function(){v.scroll||W()},F=function(){var e=s(v.lockableSelectors);z(e)},H=function(){var e=s(v.lockableSelectors);U(e)},z=function(e){var t=document.querySelectorAll(e);i(t,function(e){j(e)})},U=function(e){var t=document.querySelectorAll(e);i(t,function(e){G(e)})},j=function(e){if(o(e)&&"true"!==e.getAttribute("data-scroll-lock-locked")){var t=window.getComputedStyle(e);e.setAttribute("data-scroll-lock-saved-overflow-y-property",t.overflowY),e.setAttribute("data-scroll-lock-saved-inline-overflow-property",e.style.overflow),e.setAttribute("data-scroll-lock-saved-inline-overflow-y-property",e.style.overflowY),e.style.overflow="hidden",e.setAttribute("data-scroll-lock-locked","true")}},G=function(e){o(e)&&"true"===e.getAttribute("data-scroll-lock-locked")&&(e.style.overflow=e.getAttribute("data-scroll-lock-saved-inline-overflow-property"),e.style.overflowY=e.getAttribute("data-scroll-lock-saved-inline-overflow-y-property"),e.removeAttribute("data-scroll-lock-saved-overflow-property"),e.removeAttribute("data-scroll-lock-saved-inline-overflow-property"),e.removeAttribute("data-scroll-lock-saved-inline-overflow-y-property"),e.removeAttribute("data-scroll-lock-locked"))},W=function(){v.fillGapSelectors.map(function(e){V(e)})},q=function(){v.fillGapSelectors.map(function(e){K(e)})},V=function(e){var t=document.querySelectorAll(e),n=-1!==v.lockableSelectors.indexOf(e);i(t,function(e){Y(e,n)})},Y=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o(e)){var n;if(""===e.getAttribute("data-scroll-lock-lockable")||t)n=k(e,!0);else{var r=c(e,s(v.lockableSelectors));n=k(r,!0)}"true"===e.getAttribute("data-scroll-lock-filled-gap")&&X(e);var i=window.getComputedStyle(e);if(e.setAttribute("data-scroll-lock-filled-gap","true"),e.setAttribute("data-scroll-lock-current-fill-gap-method",v.fillGapMethod),"margin"===v.fillGapMethod){var a=parseFloat(i.marginRight);e.style.marginRight="".concat(a+n,"px")}else if("width"===v.fillGapMethod)e.style.width="calc(100% - ".concat(n,"px)");else if("max-width"===v.fillGapMethod)e.style.maxWidth="calc(100% - ".concat(n,"px)");else if("padding"===v.fillGapMethod){var l=parseFloat(i.paddingRight);e.style.paddingRight="".concat(l+n,"px")}}},K=function(e){var t=document.querySelectorAll(e);i(t,function(e){X(e)})},X=function(e){if(o(e)&&"true"===e.getAttribute("data-scroll-lock-filled-gap")){var t=e.getAttribute("data-scroll-lock-current-fill-gap-method");e.removeAttribute("data-scroll-lock-filled-gap"),e.removeAttribute("data-scroll-lock-current-fill-gap-method"),"margin"===t?e.style.marginRight="":"width"===t?e.style.width="":"max-width"===t?e.style.maxWidth="":"padding"===t&&(e.style.paddingRight="")}};"undefined"!=typeof window&&window.addEventListener("resize",function(e){$()}),"undefined"!=typeof document&&(document.addEventListener("touchstart",function(e){v.scroll||(v.startTouchY=e.touches[0].clientY,v.startTouchX=e.touches[0].clientX)}),document.addEventListener("touchmove",function(e){if(!v.scroll){var t=v.startTouchY,n=v.startTouchX,r=e.touches[0].clientY,o=e.touches[0].clientX;if(e.touches.length<2){var i=s(v.scrollableSelectors),a={up:t<r,down:t>r,left:n<o,right:n>o},l={up:t+3<r,down:t-3>r,left:n+3<o,right:n-3>o};!function t(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n){var o=c(n,i,!1);if(function(e){return u(e,'input[type="range"]')}(n))return!1;if(r||function(e){return u(e,'textarea, [contenteditable="true"]')}(n)&&c(n,i)||u(n,i)){var s=!1;f(n)&&g(n)?(a.up&&p(n)||a.down&&h(n))&&(s=!0):p(n)&&h(n)?(a.left&&f(n)||a.right&&g(n))&&(s=!0):(l.up&&p(n)||l.down&&h(n)||l.left&&f(n)||l.right&&g(n))&&(s=!0),s&&(o?t(o,!0):e.cancelable&&e.preventDefault())}else t(o)}else e.cancelable&&e.preventDefault()}(e.target)}}},{passive:!1}),document.addEventListener("touchend",function(e){v.scroll||(v.startTouchY=0,v.startTouchX=0)}));var Q={hide:function(e){a('"hide" is deprecated! Use "disablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget'),y(e)},show:function(e){a('"show" is deprecated! Use "enablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#enablepagescrollscrollabletarget'),E(e)},toggle:function(e){a('"toggle" is deprecated! Do not use it.'),_()?y():E(e)},getState:function(){return a('"getState" is deprecated! Use "getScrollState" instead. \n https://github.com/FL3NKEY/scroll-lock#getscrollstate'),_()},getWidth:function(){return a('"getWidth" is deprecated! Use "getPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getpagescrollbarwidth'),w()},getCurrentWidth:function(){return a('"getCurrentWidth" is deprecated! Use "getCurrentPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getcurrentpagescrollbarwidth'),A()},setScrollableTargets:function(e){a('"setScrollableTargets" is deprecated! Use "addScrollableTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addscrollabletargetscrollabletarget'),C(e)},setFillGapSelectors:function(e){a('"setFillGapSelectors" is deprecated! Use "addFillGapSelector" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgapselectorfillgapselector'),P(e)},setFillGapTargets:function(e){a('"setFillGapTargets" is deprecated! Use "addFillGapTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgaptargetfillgaptarget'),R(e)},clearQueue:function(){a('"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead. \n https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks'),S()}},Z=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){m(e,t,n[t])})}return e}({disablePageScroll:y,enablePageScroll:E,getScrollState:_,clearQueueScrollLocks:S,getTargetScrollBarWidth:k,getCurrentTargetScrollBarWidth:T,getPageScrollBarWidth:w,getCurrentPageScrollBarWidth:A,addScrollableSelector:O,removeScrollableSelector:I,addScrollableTarget:C,removeScrollableTarget:x,addLockableSelector:L,addLockableTarget:N,addFillGapSelector:P,removeFillGapSelector:B,addFillGapTarget:R,removeFillGapTarget:M,setFillGapMethod:D,refillGaps:$,_state:v},Q);t.default=Z}]).default})}(eo)),eo.exports);function no(e){return e.split("-")[0]}function ro(e){return e.split("-")[1]}function oo(e){return["top","bottom"].includes(no(e))?"x":"y"}function io(e){return"y"===e?"height":"width"}function ao(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=oo(t),l=io(s),c=r[l]/2-o[l]/2,u="x"===s;let d;switch(no(t)){case"top":d={x:i,y:r.y-o.height};break;case"bottom":d={x:i,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:a};break;case"left":d={x:r.x-o.width,y:a};break;default:d={x:r.x,y:r.y}}switch(ro(t)){case"start":d[s]-=c*(n&&u?-1:1);break;case"end":d[s]+=c*(n&&u?-1:1)}return d}function so(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function lo(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function co(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=t,f=so(h),g=s[p?"floating"===d?"reference":"floating":d],m=lo(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),b=lo(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===d?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[d]);return{top:m.top-b.top+f.top,bottom:b.bottom-m.bottom+f.bottom,left:m.left-b.left+f.left,right:b.right-m.right+f.right}}const uo=Math.min,po=Math.max;function ho(e,t,n){return po(e,uo(t,n))}const fo=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=null!=e?e:{},{x:o,y:i,placement:a,rects:s,platform:l}=t;if(null==n)return{};const c=so(r),u={x:o,y:i},d=oo(a),p=io(d),h=await l.getDimensions(n),f="y"===d?"top":"left",g="y"===d?"bottom":"right",m=s.reference[p]+s.reference[d]-u[d]-s.floating[p],b=u[d]-s.reference[d],v=await(null==l.getOffsetParent?void 0:l.getOffsetParent(n)),y=v?"y"===d?v.clientHeight||0:v.clientWidth||0:0,E=m/2-b/2,_=c[f],S=y-h[p]-c[g],k=y/2-h[p]/2+E,T=ho(_,k,S);return{data:{[d]:T,centerOffset:k-T}}}}),go={left:"right",right:"left",bottom:"top",top:"bottom"};function mo(e){return e.replace(/left|right|bottom|top/g,e=>go[e])}function bo(e,t,n){void 0===n&&(n=!1);const r=ro(e),o=oo(e),i=io(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=mo(a)),{main:a,cross:mo(a)}}const vo={start:"end",end:"start"};function yo(e){return e.replace(/start|end/g,e=>vo[e])}const Eo=["top","right","bottom","left"];Eo.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const _o=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...f}=e,g=no(r),m=d||(g!==a&&h?function(e){const t=mo(e);return[yo(e),t,yo(t)]}(a):[mo(a)]),b=[a,...m],v=await co(t,f),y=[];let E=(null==(n=o.flip)?void 0:n.overflows)||[];if(c&&y.push(v[g]),u){const{main:e,cross:t}=bo(r,i,await(null==s.isRTL?void 0:s.isRTL(l.floating)));y.push(v[e],v[t])}if(E=[...E,{placement:r,overflows:y}],!y.every(e=>e<=0)){var _,S;const e=(null!=(_=null==(S=o.flip)?void 0:S.index)?_:0)+1,t=b[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let n="bottom";switch(p){case"bestFit":{var k;const e=null==(k=E.map(e=>[e,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:k[0].placement;e&&(n=e);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}};function So(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ko(e){return Eo.some(t=>e[t]>=0)}const To=function(e){let{strategy:t="referenceHidden",...n}={};return{name:"hide",async fn(e){const{rects:r}=e;switch(t){case"referenceHidden":{const t=So(await co(e,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:ko(t)}}}case"escaped":{const t=So(await co(e,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:ko(t)}}}default:return{}}}}},wo=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s}=t,l=function(e,t,n,r){void 0===r&&(r=!1);const o=no(e),i=ro(e),a="x"===oo(e),s=["left","top"].includes(o)?-1:1,l=r&&a?-1:1,c="function"==typeof n?n({...t,placement:e}):n;let{mainAxis:u,crossAxis:d,alignmentAxis:p}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return i&&"number"==typeof p&&(d="end"===i?-1*p:p),a?{x:d*l,y:u*s}:{x:u*s,y:d*l}}(o,i,e,await(null==a.isRTL?void 0:a.isRTL(s.floating)));return{x:n+l.x,y:r+l.y,data:l}}}},Ao=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=e,c={x:n,y:r},u=await co(t,l),d=oo(no(o)),p=function(e){return"x"===e?"y":"x"}(d);let h=c[d],f=c[p];if(i){const e="y"===d?"bottom":"right";h=ho(h+u["y"===d?"top":"left"],h,h-u[e])}if(a){const e="y"===p?"bottom":"right";f=ho(f+u["y"===p?"top":"left"],f,f-u[e])}const g=s.fn({...t,[d]:h,[p]:f});return{...g,data:{x:g.x-n,y:g.y-r}}}}},Co=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a,...s}=e,l=await co(t,s),c=no(n),u=ro(n);let d,p;"top"===c||"bottom"===c?(d=c,p=u===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(p=c,d="end"===u?"top":"bottom");const h=po(l.left,0),f=po(l.right,0),g=po(l.top,0),m=po(l.bottom,0),b={height:r.floating.height-(["left","right"].includes(n)?2*(0!==g||0!==m?g+m:po(l.top,l.bottom)):l[d]),width:r.floating.width-(["top","bottom"].includes(n)?2*(0!==h||0!==f?h+f:po(l.left,l.right)):l[p])},v=await o.getDimensions(i.floating);null==a||a({...b,...r});const y=await o.getDimensions(i.floating);return v.width!==y.width||v.height!==y.height?{reset:{rects:!0}}:{}}}},xo=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){var n;const{placement:r,elements:o,rects:i,platform:a,strategy:s}=t,{padding:l=2,x:c,y:u}=e,d=lo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:i.reference,offsetParent:await(null==a.getOffsetParent?void 0:a.getOffsetParent(o.floating)),strategy:s}):i.reference),p=null!=(n=await(null==a.getClientRects?void 0:a.getClientRects(o.reference)))?n:[],h=so(l),f=await a.getElementRects({reference:{getBoundingClientRect:function(){var e;if(2===p.length&&p[0].left>p[1].right&&null!=c&&null!=u)return null!=(e=p.find(e=>c>e.left-h.left&&c<e.right+h.right&&u>e.top-h.top&&u<e.bottom+h.bottom))?e:d;if(p.length>=2){if("x"===oo(r)){const e=p[0],t=p[p.length-1],n="top"===no(r),o=e.top,i=t.bottom,a=n?e.left:t.left,s=n?e.right:t.right;return{top:o,bottom:i,left:a,right:s,width:s-a,height:i-o,x:a,y:o}}const e="left"===no(r),t=po(...p.map(e=>e.right)),n=uo(...p.map(e=>e.left)),o=p.filter(r=>e?r.left===n:r.right===t),i=o[0].top,a=o[o.length-1].bottom;return{top:i,bottom:a,left:n,right:t,width:t-n,height:a-i,x:n,y:i}}return d}},floating:o.floating,strategy:s});return i.reference.x!==f.reference.x||i.reference.y!==f.reference.y||i.reference.width!==f.reference.width||i.reference.height!==f.reference.height?{reset:{rects:f}}:{}}}};function Oo(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Io(e){if(null==e)return window;if(!Oo(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function No(e){return Io(e).getComputedStyle(e)}function Lo(e){return Oo(e)?"":e?(e.nodeName||"").toLowerCase():""}function Do(e){return e instanceof Io(e).HTMLElement}function Ro(e){return e instanceof Io(e).Element}function Mo(e){return e instanceof Io(e).ShadowRoot||e instanceof ShadowRoot}function Po(e){const{overflow:t,overflowX:n,overflowY:r}=No(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function Bo(e){return["table","td","th"].includes(Lo(e))}function $o(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=No(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function Fo(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}const Ho=Math.min,zo=Math.max,Uo=Math.round;function jo(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect();let l=1,c=1;t&&Do(e)&&(l=e.offsetWidth>0&&Uo(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&Uo(s.height)/e.offsetHeight||1);const u=Ro(e)?Io(e):window,d=!Fo()&&n,p=(s.left+(d&&null!=(r=null==(o=u.visualViewport)?void 0:o.offsetLeft)?r:0))/l,h=(s.top+(d&&null!=(i=null==(a=u.visualViewport)?void 0:a.offsetTop)?i:0))/c,f=s.width/l,g=s.height/c;return{width:f,height:g,top:h,right:p+f,bottom:h+g,left:p,x:p,y:h}}function Go(e){return(t=e,(t instanceof Io(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function Wo(e){return Ro(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function qo(e){return jo(Go(e)).left+Wo(e).scrollLeft}function Vo(e,t,n){const r=Do(t),o=Go(t),i=jo(e,r&&function(e){const t=jo(e);return Uo(t.width)!==e.offsetWidth||Uo(t.height)!==e.offsetHeight}(t),"fixed"===n);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==Lo(t)||Po(o))&&(a=Wo(t)),Do(t)){const e=jo(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=qo(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function Yo(e){return"html"===Lo(e)?e:e.assignedSlot||e.parentNode||(Mo(e)?e.host:null)||Go(e)}function Ko(e){return Do(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function Xo(e){const t=Io(e);let n=Ko(e);for(;n&&Bo(n)&&"static"===getComputedStyle(n).position;)n=Ko(n);return n&&("html"===Lo(n)||"body"===Lo(n)&&"static"===getComputedStyle(n).position&&!$o(n))?t:n||function(e){let t=Yo(e);for(Mo(t)&&(t=t.host);Do(t)&&!["html","body"].includes(Lo(t));){if($o(t))return t;t=t.parentNode}return null}(e)||t}function Qo(e){if(Do(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=jo(e);return{width:t.width,height:t.height}}function Zo(e){const t=Yo(e);return["html","body","#document"].includes(Lo(t))?e.ownerDocument.body:Do(t)&&Po(t)?t:Zo(t)}function Jo(e,t){var n;void 0===t&&(t=[]);const r=Zo(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Io(r),a=o?[i].concat(i.visualViewport||[],Po(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Jo(a))}function ei(e,t,n){return"viewport"===t?lo(function(e,t){const n=Io(e),r=Go(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Fo();(e||!e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n)):Ro(t)?function(e,t){const n=jo(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):lo(function(e){var t;const n=Go(e),r=Wo(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=zo(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=zo(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+qo(e);const l=-r.scrollTop;return"rtl"===No(o||n).direction&&(s+=zo(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(Go(e)))}function ti(e){const t=Jo(e),n=["absolute","fixed"].includes(No(e).position)&&Do(e)?Xo(e):e;return Ro(n)?t.filter(e=>Ro(e)&&function(e,t){const n=null==t||null==t.getRootNode?void 0:t.getRootNode();if(null!=e&&e.contains(t))return!0;if(n&&Mo(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==Lo(e)):[]}const ni={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?ti(t):[].concat(n),r],a=i[0],s=i.reduce((e,n)=>{const r=ei(t,n,o);return e.top=zo(r.top,e.top),e.right=Ho(r.right,e.right),e.bottom=Ho(r.bottom,e.bottom),e.left=zo(r.left,e.left),e},ei(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Do(n),i=Go(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==Lo(n)||Po(i))&&(a=Wo(n)),Do(n))){const e=jo(n,!0);s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Ro,getDimensions:Qo,getOffsetParent:Xo,getDocumentElement:Go,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:Vo(t,Xo(n),r),floating:{...Qo(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===No(e).direction};function ri(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r;let l=!1;const c=o&&!s,u=i&&!s,d=a&&!s,p=c||u?[...Ro(e)?Jo(e):[],...Jo(t)]:[];p.forEach(e=>{c&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let h,f=null;d&&(f=new ResizeObserver(n),Ro(e)&&f.observe(e),f.observe(t));let g=s?jo(e):null;return s&&function t(){if(l)return;const r=jo(e);!g||r.x===g.x&&r.y===g.y&&r.width===g.width&&r.height===g.height||n(),g=r,h=requestAnimationFrame(t)}(),()=>{var e;l=!0,p.forEach(e=>{c&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==(e=f)||e.disconnect(),f=null,s&&cancelAnimationFrame(h)}}const oi=(e,t,n)=>(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:u}=ao(l,r,s),d=r,p={};for(let h=0;h<i.length;h++){const{name:n,fn:f}=i[h],{x:g,y:m,data:b,reset:v}=await f({x:c,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,u=null!=m?m:u,p={...p,[n]:{...p[n],...b}},v&&("object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:c,y:u}=ao(l,d,s))),h=-1)}return{x:c,y:u,placement:d,strategy:o,middlewareData:p}})(e,t,{platform:ni,...n});var ii=Object.defineProperty,ai=Object.defineProperties,si=Object.getOwnPropertyDescriptors,li=Object.getOwnPropertySymbols,ci=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,di=(e,t,n)=>t in e?ii(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pi=(e,t)=>{for(var n in t||(t={}))ci.call(t,n)&&di(e,n,t[n]);if(li)for(var n of li(t))ui.call(t,n)&&di(e,n,t[n]);return e},hi=(e,t)=>ai(e,si(t));function fi(e){return Array.isArray(e)}function gi(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!fi(e)}function mi(e){return"function"==typeof e}function bi(e){return null==e}function vi(e,t){return e&&(mi(e)?e(t):e[0](e[1],t)),null==t?void 0:t.defaultPrevented}function yi(...e){return function(t){e.some(e=>vi(e,t))}}const Ei=()=>"undefined"!=typeof Storage,_i="hope-ui-color-mode",Si="hope-ui-light",ki="hope-ui-dark";function Ti(e){const t=function(){if(!Ei())return null;try{return localStorage.getItem(_i)}catch(e){return null}}();return t||("system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e)}function wi(e){const t=document.body;t.classList.add(function(e){return e?ki:Si}(e)),t.classList.remove(e?Si:ki)}const Ai={px:"1px","0_5":"0.125rem",1:"0.25rem","1_5":"0.375rem",2:"0.5rem","2_5":"0.625rem",3:"0.75rem","3_5":"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Ci=hi(pi({},Ai),{prose:"65ch",max:"max-content",min:"min-content",full:"100%",screenW:"100vw",screenH:"100vh",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",containerSm:"640px",containerMd:"768px",containerLg:"1024px",containerXl:"1280px",container2xl:"1536px"}),xi={sm:`(min-width: ${Ci.containerSm})`,md:`(min-width: ${Ci.containerMd})`,lg:`(min-width: ${Ci.containerLg})`,xl:`(min-width: ${Ci.containerXl})`,"2xl":`(min-width: ${Ci.container2xl})`,"reduce-motion":"(prefers-reduced-motion: reduce)",light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function Oi(...e){return e.map(e=>`[role=group]${e} &, [data-group]${e} &, .group${e} &`).join(", ")}function Ii(...e){return e.map(e=>`[data-peer]${e} ~ &, .peer${e} ~ &`).join(", ")}const Ni={_hover:e=>({"&:hover, &[data-hover]":e}),_active:e=>({"&:active, &[data-active]":e}),_focus:e=>({"&:focus, &[data-focus]":e}),_highlighted:e=>({"&[data-highlighted]":e}),_focusWithin:e=>({"&:focus-within":e}),_focusVisible:e=>({"&:focus-visible":e}),_disabled:e=>({"&[disabled], &[aria-disabled=true], &[data-disabled]":e}),_readOnly:e=>({"&[aria-readonly=true], &[readonly], &[data-readonly]":e}),_before:e=>({"&::before":e}),_after:e=>({"&::after":e}),_empty:e=>({"&:empty":e}),_expanded:e=>({"&[aria-expanded=true], &[data-expanded]":e}),_checked:e=>({"&[aria-checked=true], &[data-checked]":e}),_grabbed:e=>({"&[aria-grabbed=true], &[data-grabbed]":e}),_pressed:e=>({"&[aria-pressed=true], &[data-pressed]":e}),_invalid:e=>({"&[aria-invalid=true], &[data-invalid]":e}),_valid:e=>({"&[data-valid], &[data-state=valid]":e}),_loading:e=>({"&[data-loading], &[aria-busy=true]":e}),_selected:e=>({"&[aria-selected=true], &[data-selected]":e}),_hidden:e=>({"&[hidden], &[data-hidden]":e}),_even:e=>({"&:nth-of-type(even)":e}),_odd:e=>({"&:nth-of-type(odd)":e}),_first:e=>({"&:first-of-type":e}),_last:e=>({"&:last-of-type":e}),_notFirst:e=>({"&:not(:first-of-type)":e}),_notLast:e=>({"&:not(:last-of-type)":e}),_visited:e=>({"&:visited":e}),_activeLink:e=>({"&[aria-current=page]":e}),_activeStep:e=>({"&[aria-current=step]":e}),_indeterminate:e=>({"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]":e}),_groupHover:e=>({[Oi(":hover","[data-hover]")]:e}),_peerHover:e=>({[Ii(":hover","[data-hover]")]:e}),_groupFocus:e=>({[Oi(":focus","[data-focus]")]:e}),_peerFocus:e=>({[Ii(":focus","[data-focus]")]:e}),_groupFocusVisible:e=>({[Oi(":focus-visible")]:e}),_peerFocusVisible:e=>({[Ii(":focus-visible")]:e}),_groupActive:e=>({[Oi(":active","[data-active]")]:e}),_peerActive:e=>({[Ii(":active","[data-active]")]:e}),_groupSelected:e=>({[Oi("[aria-selected=true]","[data-selected]")]:e}),_peerSelected:e=>({[Ii("[aria-selected=true]","[data-selected]")]:e}),_groupDisabled:e=>({[Oi(":disabled","[data-disabled]")]:e}),_peerDisabled:e=>({[Ii(":disabled","[data-disabled]")]:e}),_groupInvalid:e=>({[Oi(":invalid","[data-invalid]")]:e}),_peerInvalid:e=>({[Ii(":invalid","[data-invalid]")]:e}),_groupChecked:e=>({[Oi(":checked","[data-checked]")]:e}),_peerChecked:e=>({[Ii(":checked","[data-checked]")]:e}),_groupFocusWithin:e=>({[Oi(":focus-within")]:e}),_peerFocusWithin:e=>({[Ii(":focus-within")]:e}),_peerPlaceholderShown:e=>({[Ii(":placeholder-shown")]:e}),_placeholder:e=>({"&::placeholder":e}),_placeholderShown:e=>({"&:placeholder-shown":e}),_fullScreen:e=>({"&:fullscreen":e}),_selection:e=>({"&::selection":e}),_mediaDark:e=>({"@media (prefers-color-scheme: dark)":e}),_mediaReduceMotion:e=>({"@media (prefers-reduced-motion: reduce)":e}),_dark:e=>({".hope-ui-dark &":e}),_light:e=>({".hope-ui-light &":e})},Li=pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi({},{bg:e=>({background:e}),bgColor:e=>({backgroundColor:e})}),{borderX:e=>({borderLeft:e,borderRight:e}),borderY:e=>({borderTop:e,borderBottom:e})}),{d:e=>({display:e})}),{pos:e=>({position:e})}),Ni),{borderTopRadius:e=>({borderTopLeftRadius:e,borderTopRightRadius:e}),borderRightRadius:e=>({borderTopRightRadius:e,borderBottomRightRadius:e}),borderStartRadius:e=>({borderStartStartRadius:e,borderEndStartRadius:e}),borderBottomRadius:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e}),borderLeftRadius:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e}),borderEndRadius:e=>({borderStartEndRadius:e,borderEndEndRadius:e}),rounded:e=>({borderRadius:e}),roundedTop:e=>({borderTopLeftRadius:e,borderTopRightRadius:e}),roundedRight:e=>({borderTopRightRadius:e,borderBottomRightRadius:e}),roundedStart:e=>({borderStartStartRadius:e,borderEndStartRadius:e}),roundedBottom:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e}),roundedLeft:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e}),roundedEnd:e=>({borderStartEndRadius:e,borderEndEndRadius:e})}),{m:e=>({margin:e}),mt:e=>({marginTop:e}),mr:e=>({marginRight:e}),marginStart:e=>({marginInlineStart:e}),ms:e=>({marginInlineStart:e}),mb:e=>({marginBottom:e}),ml:e=>({marginLeft:e}),marginEnd:e=>({marginInlineEnd:e}),me:e=>({marginInlineEnd:e}),mx:e=>({marginInlineStart:e,marginInlineEnd:e}),my:e=>({marginTop:e,marginBottom:e}),spaceX:e=>({"& > * + *":{marginLeft:e}}),spaceY:e=>({"& > * + *":{marginTop:e}})}),{p:e=>({padding:e}),pt:e=>({paddingTop:e}),pr:e=>({paddingRight:e}),paddingStart:e=>({paddingInlineStart:e}),ps:e=>({paddingInlineStart:e}),pb:e=>({paddingBottom:e}),pl:e=>({paddingLeft:e}),pe:e=>({paddingInlineEnd:e}),paddingEnd:e=>({paddingInlineEnd:e}),px:e=>({paddingInlineStart:e,paddingInlineEnd:e}),py:e=>({paddingTop:e,paddingBottom:e})}),{shadow:e=>({boxShadow:e})}),{w:e=>({width:e}),minW:e=>({minWidth:e}),maxW:e=>({maxWidth:e}),h:e=>({height:e}),minH:e=>({minHeight:e}),maxH:e=>({maxHeight:e}),boxSize:e=>({width:e,height:e})}),{noOfLines:e=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e})}),Di=pi(pi({},{blackAlpha1:"#00000003",blackAlpha2:"#00000007",blackAlpha3:"#0000000c",blackAlpha4:"#00000012",blackAlpha5:"#00000017",blackAlpha6:"#0000001d",blackAlpha7:"#00000024",blackAlpha8:"#00000038",blackAlpha9:"#00000070",blackAlpha10:"#0000007a",blackAlpha11:"#00000090",blackAlpha12:"#000000e8"}),{whiteAlpha1:"#ffffff00",whiteAlpha2:"#ffffff03",whiteAlpha3:"#ffffff09",whiteAlpha4:"#ffffff0e",whiteAlpha5:"#ffffff16",whiteAlpha6:"#ffffff20",whiteAlpha7:"#ffffff2d",whiteAlpha8:"#ffffff3f",whiteAlpha9:"#ffffff62",whiteAlpha10:"#ffffff72",whiteAlpha11:"#ffffff97",whiteAlpha12:"#ffffffeb"}),Ri=pi(pi(pi(pi(pi(pi(pi(pi({},{primary1:"#fafdfe",primary2:"#f2fcfd",primary3:"#e7f9fb",primary4:"#d8f3f6",primary5:"#c4eaef",primary6:"#aadee6",primary7:"#84cdda",primary8:"#3db9cf",primary9:"#05a2c2",primary10:"#0894b3",primary11:"#0c7792",primary12:"#04313c"}),{accent1:"#fdfcfe",accent2:"#fbfaff",accent3:"#f5f2ff",accent4:"#ede9fe",accent5:"#e4defc",accent6:"#d7cff9",accent7:"#c4b8f3",accent8:"#aa99ec",accent9:"#6e56cf",accent10:"#644fc1",accent11:"#5746af",accent12:"#20134b"}),{neutral1:"#fbfcfd",neutral2:"#f8f9fa",neutral3:"#f1f3f5",neutral4:"#eceef0",neutral5:"#e6e8eb",neutral6:"#dfe3e6",neutral7:"#d7dbdf",neutral8:"#c1c8cd",neutral9:"#889096",neutral10:"#7e868c",neutral11:"#687076",neutral12:"#11181c"}),{success1:"#fbfefc",success2:"#f2fcf5",success3:"#e9f9ee",success4:"#ddf3e4",success5:"#ccebd7",success6:"#b4dfc4",success7:"#92ceac",success8:"#5bb98c",success9:"#30a46c",success10:"#299764",success11:"#18794e",success12:"#153226"}),{info1:"#fbfdff",info2:"#f5faff",info3:"#edf6ff",info4:"#e1f0ff",info5:"#cee7fe",info6:"#b7d9f8",info7:"#96c7f2",info8:"#5eb0ef",info9:"#0091ff",info10:"#0081f1",info11:"#006adc",info12:"#00254d"}),{warning1:"#fefdfb",warning2:"#fff9ed",warning3:"#fff4d5",warning4:"#ffecbc",warning5:"#ffe3a2",warning6:"#ffd386",warning7:"#f3ba63",warning8:"#ee9d2b",warning9:"#ffb224",warning10:"#ffa01c",warning11:"#ad5700",warning12:"#4e2009"}),{danger1:"#fffcfc",danger2:"#fff8f8",danger3:"#ffefef",danger4:"#ffe5e5",danger5:"#fdd8d8",danger6:"#f9c6c6",danger7:"#f3aeaf",danger8:"#eb9091",danger9:"#e5484d",danger10:"#dc3d43",danger11:"#cd2b31",danger12:"#381316"}),{loContrast:"white",background:"$loContrast",focusRing:"#96c7f2",closeButtonHoverBackground:"$blackAlpha4",closeButtonActiveBackground:"$blackAlpha5",progressStripe:"$whiteAlpha6"}),Mi=pi(pi(pi(pi(pi(pi(pi(pi({},{primary1:"#07191d",primary2:"#061e24",primary3:"#072830",primary4:"#07303b",primary5:"#073844",primary6:"#064150",primary7:"#045063",primary8:"#00647d",primary9:"#05a2c2",primary10:"#00b1cc",primary11:"#00c2d7",primary12:"#e1f8fa"}),{accent1:"#17151f",accent2:"#1c172b",accent3:"#251e40",accent4:"#2c2250",accent5:"#32275f",accent6:"#392c72",accent7:"#443592",accent8:"#5842c3",accent9:"#6e56cf",accent10:"#7c66dc",accent11:"#9e8cfc",accent12:"#f1eefe"}),{neutral1:"#151718",neutral2:"#1a1d1e",neutral3:"#202425",neutral4:"#26292b",neutral5:"#2b2f31",neutral6:"#313538",neutral7:"#3a3f42",neutral8:"#4c5155",neutral9:"#697177",neutral10:"#787f85",neutral11:"#9ba1a6",neutral12:"#ecedee"}),{success1:"#0d1912",success2:"#0c1f17",success3:"#0f291e",success4:"#113123",success5:"#133929",success6:"#164430",success7:"#1b543a",success8:"#236e4a",success9:"#30a46c",success10:"#3cb179",success11:"#4cc38a",success12:"#e5fbeb"}),{info1:"#0f1720",info2:"#0f1b2d",info3:"#10243e",info4:"#102a4c",info5:"#0f3058",info6:"#0d3868",info7:"#0a4481",info8:"#0954a5",info9:"#0091ff",info10:"#369eff",info11:"#52a9ff",info12:"#eaf6ff"}),{warning1:"#1f1300",warning2:"#271700",warning3:"#341c00",warning4:"#3f2200",warning5:"#4a2900",warning6:"#573300",warning7:"#693f05",warning8:"#824e00",warning9:"#ffb224",warning10:"#ffcb47",warning11:"#f1a10d",warning12:"#fef3dd"}),{danger1:"#1f1315",danger2:"#291415",danger3:"#3c181a",danger4:"#481a1d",danger5:"#541b1f",danger6:"#671e22",danger7:"#822025",danger8:"#aa2429",danger9:"#e5484d",danger10:"#f2555a",danger11:"#ff6369",danger12:"#feecee"}),{loContrast:"$neutral1",background:"$loContrast",focusRing:"#0a4481",closeButtonHoverBackground:"$whiteAlpha4",closeButtonActiveBackground:"$whiteAlpha5",progressStripe:"$blackAlpha6"}),Pi={colors:pi(pi({},Di),Ri),space:Ai,sizes:Ci,fonts:{sans:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol","Noto Color Emoji"',serif:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},fontSizes:{"2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:2,3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},radii:{none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},shadows:{none:"0 0 #0000",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:"0 1px 3px 0 rgb(0 0 0 / 0.09), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.09), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.09), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.09), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.24)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.06)",outline:"0 0 0 3px $colors$focusRing"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,sticky:1e3,banner:1100,overlay:1200,modal:1300,dropdown:1400,popover:1500,tooltip:1600,skipLink:1700,notification:1800}},Bi={colors:Mi,shadows:{lg:"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"}},{theme:$i,css:Fi,globalCss:Hi,config:zi,createTheme:Ui,getCssText:ji,keyframes:Gi}=(e=>{let t=!1;const n=tr(e,e=>{t=!0;const n="prefix"in(e="object"==typeof e&&e||{})?String(e.prefix):"",r="object"==typeof e.media&&e.media||{},o="object"==typeof e.root?e.root||null:globalThis.document||null,i="object"==typeof e.theme&&e.theme||{},a={prefix:n,media:r,theme:i,themeMap:"object"==typeof e.themeMap&&e.themeMap||{...pn},utils:"object"==typeof e.utils&&e.utils||{}},s=$n(o),l={css:Un(a,s),globalCss:Kn(a,s),keyframes:Qn(a,s),createTheme:er(a,s),reset(){s.reset(),l.theme.toString()},theme:{},sheet:s,config:a,prefix:n,getCssText:s.toString,toString:s.toString};return String(l.theme=l.createTheme(i)),l});return t||n.reset(),n})({prefix:"hope",themeMap:hi(pi({},pn),{borderWidth:"sizes",borderTopWidth:"sizes",borderRightWidth:"sizes",borderBottomWidth:"sizes",borderLeftWidth:"sizes",strokeWidth:"sizes"}),theme:Pi,media:xi,utils:Li}),Wi={fade:"hope-modal-fade-transition",fadeInBottom:"hope-modal-fade-in-bottom-transition",scale:"hope-modal-scale-transition"},qi=Hi({[`.${Wi.fade}-enter, .${Wi.fade}-exit-to`]:{opacity:0},[`.${Wi.fade}-enter-to, .${Wi.fade}-exit`]:{opacity:1},[`.${Wi.fade}-enter-active`]:{transition:"opacity 300ms ease-out"},[`.${Wi.fade}-exit-active`]:{transition:"opacity 200ms ease-in"},[`.${Wi.fadeInBottom}-enter, .${Wi.fadeInBottom}-exit-to`]:{opacity:0,transform:"translateY(16px)"},[`.${Wi.fadeInBottom}-enter-to, .${Wi.fadeInBottom}-exit`]:{opacity:1,transform:"translateY(0)"},[`.${Wi.fadeInBottom}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[`.${Wi.fadeInBottom}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"},[`.${Wi.scale}-enter, .${Wi.scale}-exit-to`]:{opacity:0,transform:"scale(0.95)"},[`.${Wi.scale}-enter-to, .${Wi.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${Wi.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[`.${Wi.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"}}),Vi=Fi({zIndex:"$overlay",position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"hsl(0 0% 0% / 65%)"}),Yi=Fi({zIndex:"$modal",position:"fixed",top:0,left:0,display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},outline:"none","&:focus":{outline:"none"}}),Ki=Fi(Yi,{justifyContent:"center",variants:{centered:{true:{alignItems:"center"},false:{alignItems:"flex-start"}},scrollBehavior:{inside:{overflow:"hidden"},outside:{overflow:"auto"}}}}),Xi=Fi({zIndex:"$modal",position:"relative",display:"flex",flexDirection:"column",width:"100%",outline:"none",boxShadow:"$lg",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),Qi=Fi(Xi,{justifyContent:"center",my:"3.75rem",borderRadius:"$sm",variants:{size:{xs:{maxWidth:"$xs"},sm:{maxWidth:"$sm"},md:{maxWidth:"$md"},lg:{maxWidth:"$lg"},xl:{maxWidth:"$xl"},"2xl":{maxWidth:"$2xl"},"3xl":{maxWidth:"$3xl"},"4xl":{maxWidth:"$4xl"},"5xl":{maxWidth:"$5xl"},"6xl":{maxWidth:"$6xl"},"7xl":{maxWidth:"$7xl"},"8xl":{maxWidth:"$8xl"},full:{maxWidth:"100vw",minHeight:"100vh","@supports(min-height: -webkit-fill-available)":{minHeight:"-webkit-fill-available"},my:0,borderRadius:"$none"}},scrollBehavior:{inside:{maxHeight:"calc(100% - 7.5rem)"},outside:{maxHeight:"none"}}}}),Zi=Fi({flex:0,pt:"$5",px:"$5",pb:"$3",fontSize:"$lg",fontWeight:"$medium"}),Ji=Fi({flex:1,px:"$5",py:"$2",variants:{scrollBehavior:{inside:{overflow:"auto"},outside:{overflow:void 0}}}}),ea=Fi({display:"flex",alignItems:"center",justifyContent:"flex-end",pt:"$3",px:"$5",pb:"$5"}),ta=Fi({position:"absolute",top:"$4",insetInlineEnd:"$4"}),na={fade:"hope-drawer-fade-transition",slideInTop:"hope-drawer-slide-in-top-transition",slideInRight:"hope-drawer-slide-in-right-transition",slideInBottom:"hope-drawer-slide-in-bottom-transition",slideInLeft:"hope-drawer-slide-in-left-transition"},ra=Hi({[`.${na.fade}-enter, .${na.fade}-exit-to`]:{opacity:0},[`.${na.fade}-enter-to, .${na.fade}-exit`]:{opacity:1},[`.${na.fade}-enter-active, .${na.fade}-exit-active`]:{transition:"opacity 500ms ease-in-out"},[`.${na.slideInTop}-enter-active, .${na.slideInTop}-exit-active,\n .${na.slideInRight}-enter-active, .${na.slideInRight}-exit-active,\n .${na.slideInBottom}-enter-active, .${na.slideInBottom}-exit-active,\n .${na.slideInLeft}-enter-active, .${na.slideInLeft}-exit-active`]:{transition:"transform 500ms ease-in-out"},[`.${na.slideInTop}-enter, .${na.slideInTop}-exit-to`]:{transform:"translateY(-100%)"},[`.${na.slideInTop}-enter-to, .${na.slideInTop}-exit`]:{transform:"translateY(0)"},[`.${na.slideInRight}-enter, .${na.slideInRight}-exit-to`]:{transform:"translateX(100%)"},[`.${na.slideInRight}-enter-to, .${na.slideInRight}-exit`]:{transform:"translateX(0)"},[`.${na.slideInBottom}-enter, .${na.slideInBottom}-exit-to`]:{transform:"translateY(100%)"},[`.${na.slideInBottom}-enter-to, .${na.slideInBottom}-exit`]:{transform:"translateY(0)"},[`.${na.slideInLeft}-enter, .${na.slideInLeft}-exit-to`]:{transform:"translateX(-100%)"},[`.${na.slideInLeft}-enter-to, .${na.slideInLeft}-exit`]:{transform:"translateX(0)"}}),oa=Fi(Yi,{overflow:"hidden",variants:{placement:{top:{alignItems:"flex-start",justifyContent:"stretch"},right:{alignItems:"stretch",justifyContent:"flex-end"},bottom:{alignItems:"flex-end",justifyContent:"stretch"},left:{alignItems:"stretch",justifyContent:"flex-start"}}}}),ia=Fi(Xi,{maxHeight:"100vh",variants:{size:{xs:{maxWidth:"$xs"},sm:{maxWidth:"$md"},md:{maxWidth:"$lg"},lg:{maxWidth:"$2xl"},xl:{maxWidth:"$4xl"},full:{maxWidth:"100vw",height:"100vh"}},placement:{top:{},right:{},bottom:{},left:{}},fullHeight:{true:{height:"100vh"},false:{}}},compoundVariants:[{placement:"top",size:"xs",css:{maxWidth:"100vw"}},{placement:"top",size:"sm",css:{maxWidth:"100vw"}},{placement:"top",size:"md",css:{maxWidth:"100vw"}},{placement:"top",size:"lg",css:{maxWidth:"100vw"}},{placement:"top",size:"xl",css:{maxWidth:"100vw"}},{placement:"bottom",size:"xs",css:{maxWidth:"100vw"}},{placement:"bottom",size:"sm",css:{maxWidth:"100vw"}},{placement:"bottom",size:"md",css:{maxWidth:"100vw"}},{placement:"bottom",size:"lg",css:{maxWidth:"100vw"}},{placement:"bottom",size:"xl",css:{maxWidth:"100vw"}}]}),aa={scaleTopLeft:"hope-menu-scale-top-left-transition",scaleTopRight:"hope-menu-scale-top-right-transition",scaleBottomLeft:"hope-menu-scale-bottom-left-transition",scaleBottomRight:"hope-menu-scale-bottom-right-transition"};function sa(e,t){return{[`.${e}-enter, .${e}-exit-to`]:{opacity:0,transform:"scale(0.8)"},[`.${e}-enter-to, .${e}-exit`]:{opacity:1,transform:"scale(1)"},[`.${e}-enter-active`]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[`.${e}-exit-active`]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}}}const la=Hi(pi(pi(pi(pi({},sa(aa.scaleTopLeft,"top left")),sa(aa.scaleTopRight,"top right")),sa(aa.scaleBottomLeft,"bottom left")),sa(aa.scaleBottomRight,"bottom right"))),ca=Fi({appearance:"none",display:"inline-flex",alignItems:"center",outline:"none"}),ua=Fi({zIndex:"$dropdown",position:"absolute",left:0,top:"100%",display:"flex",flexDirection:"column",minWidth:"$56",overflowY:"auto",outline:"none",margin:0,boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",px:0,py:"$1","&:focus":{outline:"none"}}),da=Fi({}),pa=Fi({display:"flex",alignItems:"center",mx:"$1",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",fontWeight:"$medium",lineHeight:"$4"});function ha(e){return{color:e.color,"&[data-active]":{backgroundColor:e.bgColorActive}}}const fa=Fi({position:"relative",display:"flex",alignItems:"center",mx:"$1",borderRadius:"$sm",py:"$2",px:"$3",fontSize:"$base",fontWeight:"$normal",lineHeight:"$6",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms","&[data-disabled]":{color:"$neutral8",cursor:"not-allowed"},variants:{colorScheme:{primary:ha({color:"$primary11",bgColorActive:"$primary3"}),accent:ha({color:"$accent11",bgColorActive:"$accent3"}),neutral:ha({color:"$neutral12",bgColorActive:"$neutral4"}),success:ha({color:"$success11",bgColorActive:"$success3"}),info:ha({color:"$info11",bgColorActive:"$info3"}),warning:ha({color:"$warning11",bgColorActive:"$warning3"}),danger:ha({color:"$danger11",bgColorActive:"$danger3"})}},defaultVariants:{colorScheme:"neutral"}}),ga=Fi({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),ma=Fi({flexGrow:1}),ba=Fi({flexShrink:0,color:"$neutral11",fontSize:"$sm",lineHeight:"$none"}),va=Gi({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}});Gi({from:{opacity:0},to:{opacity:1}});const ya="hope-notification-slide-in-top-transition",Ea="hope-notification-slide-in-right-transition",_a="hope-notification-slide-in-bottom-transition",Sa="hope-notification-slide-in-left-transition";function ka(e){return{[`.${e.name}-enter, .${e.name}-exit-to`]:{opacity:0,transform:e.enterTransform},[`.${e.name}-enter-to, .${e.name}-exit`]:{opacity:1,transform:e.leaveTransform},[`.${e.name}-enter-active`]:{transitionProperty:"opacity, transform",transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21)",transitionDuration:"300ms"},[`.${e.name}-exit-active`]:{transitionProperty:"opacity, transform",transitionTimingFunction:"ease-in",transitionDuration:"200ms"}}}const Ta=Hi(pi(pi(pi(pi({},ka({name:ya,enterTransform:"translateY(-100%)",leaveTransform:"translateY(0)"})),ka({name:Ea,enterTransform:"translateX(100%)",leaveTransform:"translateX(0)"})),ka({name:_a,enterTransform:"translateY(100%)",leaveTransform:"translateY(0)"})),ka({name:Sa,enterTransform:"translateX(-100%)",leaveTransform:"translateX(0)"}))),wa=Fi({position:"fixed",zIndex:"$notification",display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"$4",width:"calc(100% - 32px)",maxWidth:"$md",variants:{placement:{"top-start":{top:"$4",left:"$4"},top:{top:"$4",left:"50%",transform:"translateX(-50%)"},"top-end":{top:"$4",right:"$4"},"bottom-start":{bottom:"$4",left:"$4"},bottom:{bottom:"$4",left:"50%",transform:"translateX(-50%)"},"bottom-end":{bottom:"$4",right:"$4"}}},defaultVariants:{placement:"top-end"}}),Aa=Fi({position:"relative",display:"flex",alignItems:"center",width:"100%",maxWidth:"$md",borderRadius:"$sm",border:"1px solid $colors$neutral5",boxShadow:"$lg",backgroundColor:"$loContrast",padding:"$3",fontSize:"$sm",lineHeight:"$5",variants:{status:{success:{},info:{},warning:{},danger:{}}}}),Ca=Fi({animation:`1s linear infinite ${va}`}),xa=Fi({flexShrink:0,variants:{status:{success:{color:"$success9"},info:{color:"$info9"},warning:{color:"$warning9"},danger:{color:"$danger9"}}}}),Oa=Fi({fontWeight:"$medium"}),Ia=Fi({display:"inline-block",color:"$neutral11"}),Na={scale:"hope-popover-scale-transition"},La=Hi({[`.${Na.scale}-enter, .${Na.scale}-exit-to`]:{opacity:0,transform:"scale(0.95)"},[`.${Na.scale}-enter-to, .${Na.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${Na.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease"},[`.${Na.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in-out"}}),Da=Fi({zIndex:"$popover",position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",maxWidth:"$xs",outline:"none",boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),Ra=Fi({display:"flex",alignItems:"center",flex:0,borderColor:"inherit",borderBottomWidth:"1px",px:"$3",py:"$2",fontSize:"$base",fontWeight:"$medium"}),Ma=Fi({flex:1,px:"$3",py:"$2"});Fi({display:"flex",alignItems:"center",borderColor:"inherit",borderTopWidth:"1px",px:"$3",py:"$2"}),Fi({position:"absolute",top:"$2",insetInlineEnd:"$2"});const Pa=Fi({zIndex:"$popover",position:"absolute",boxSize:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:"inherit",backgroundColor:"inherit",transform:"rotate(45deg)",variants:{popoverPlacement:{left:{borderLeft:0,borderBottom:0},top:{borderLeft:0,borderTop:0},right:{borderTop:0,borderRight:0},bottom:{borderRight:0,borderBottom:0}}}});function Ba(e){return{minHeight:e.minHeight,fontSize:e.fontSize,lineHeight:e.lineHeight}}const $a={xs:Ba({fontSize:"$xs",lineHeight:"$4",minHeight:"$6"}),sm:Ba({fontSize:"$sm",lineHeight:"$5",minHeight:"$8"}),md:Ba({fontSize:"$base",lineHeight:"$6",minHeight:"$10"}),lg:Ba({fontSize:"$lg",lineHeight:"$7",minHeight:"$12"})},Fa={"&:disabled":{opacity:.4,cursor:"not-allowed"},"&:focus":{boxShadow:"0 0 0 3px $colors$primary5",borderColor:"$primary8"},"&[aria-invalid=true]":{borderColor:"$danger8"},"&[aria-invalid=true]:focus":{boxShadow:"0 0 0 3px $colors$danger5"}},Ha=Fi({appearance:"none",position:"relative",width:"100%",minWidth:0,outline:"none",borderRadius:"$sm",backgroundColor:"transparent",padding:0,color:"$neutral12",fontSize:"$base",lineHeight:"$base",transition:"color 250ms, border-color 250ms, background-color 250ms, box-shadow 250ms","&[readonly]":{boxShadow:"none !important",userSelect:"all",cursor:"default"},"&::placeholder":{color:"$neutral9",opacity:1},variants:{variant:{outline:pi({border:"1px solid $neutral7",backgroundColor:"transparent","&:hover":{borderColor:"$neutral8"}},Fa),filled:pi({border:"1px solid transparent",backgroundColor:"$neutral3","&:hover, &:focus":{backgroundColor:"$neutral4"}},Fa),unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:pi({},$a)}});function za(e){return[{variant:e.variant,size:e.size,css:{px:e.paddingX}},{withLeftElement:!0,variant:e.variant,size:e.size,css:{paddingInlineStart:e.paddingWithElement}},{withRightElement:!0,variant:e.variant,size:e.size,css:{paddingInlineEnd:e.paddingWithElement}}]}const Ua=Fi(Ha,{variants:{withLeftElement:{true:{}},withRightElement:{true:{}},withLeftAddon:{true:{borderLeftRadius:0}},withRightAddon:{true:{borderRightRadius:0}}},compoundVariants:[...za({variant:"outline",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...za({variant:"outline",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...za({variant:"outline",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...za({variant:"outline",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...za({variant:"filled",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...za({variant:"filled",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...za({variant:"filled",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...za({variant:"filled",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...za({variant:"unstyled",size:"xs",paddingX:0,paddingWithElement:"$6"}),...za({variant:"unstyled",size:"sm",paddingX:0,paddingWithElement:"$8"}),...za({variant:"unstyled",size:"md",paddingX:0,paddingWithElement:"$10"}),...za({variant:"unstyled",size:"lg",paddingX:0,paddingWithElement:"$12"})]});function ja(e){return{variant:e.variant,size:e.size,css:{px:e.paddingX}}}Fi({position:"relative",display:"flex",width:"100%"}),Fi({position:"absolute",top:"0",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center",variants:{placement:{left:{insetInlineStart:"0"},right:{insetInlineEnd:"0"}},size:{xs:hi(pi({},$a.xs),{width:$a.xs.minHeight}),sm:hi(pi({},$a.sm),{width:$a.sm.minHeight}),md:hi(pi({},$a.md),{width:$a.md.minHeight}),lg:hi(pi({},$a.lg),{width:$a.lg.minHeight})}}}),Fi({display:"flex",alignItems:"center",flex:"0 0 auto",width:"auto",whiteSpace:"nowrap",variants:{placement:{left:{marginEnd:"-1px"},right:{marginStart:"-1px"}},variant:{outline:{borderRadius:"$sm",border:"1px solid $neutral7",backgroundColor:"$neutral3",color:"$neutral12"},filled:{borderRadius:"$sm",border:"1px solid transparent",backgroundColor:"$neutral3",color:"$neutral12"},unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:pi({},$a)},compoundVariants:[{variant:"outline",placement:"left",css:{borderRightRadius:0,borderInlineEndColor:"transparent"}},{variant:"outline",placement:"right",css:{borderLeftRadius:0,borderInlineStartColor:"transparent"}},{variant:"filled",placement:"left",css:{borderStartEndRadius:0,borderEndEndRadius:0,borderInlineEndColor:"transparent"}},{variant:"filled",placement:"right",css:{borderStartStartRadius:0,borderEndStartRadius:0,borderInlineStartColor:"transparent"}},ja({variant:"outline",size:"xs",paddingX:"$2"}),ja({variant:"outline",size:"sm",paddingX:"$2_5"}),ja({variant:"outline",size:"md",paddingX:"$3"}),ja({variant:"outline",size:"lg",paddingX:"$4"}),ja({variant:"filled",size:"xs",paddingX:"$2"}),ja({variant:"filled",size:"sm",paddingX:"$2_5"}),ja({variant:"filled",size:"md",paddingX:"$3"}),ja({variant:"filled",size:"lg",paddingX:"$4"}),ja({variant:"unstyled",size:"xs",paddingX:0}),ja({variant:"unstyled",size:"sm",paddingX:0}),ja({variant:"unstyled",size:"md",paddingX:0}),ja({variant:"unstyled",size:"lg",paddingX:0})]});const Ga={fadeInTop:"hope-select-fade-in-top-transition"},Wa=Hi({[`.${Ga.fadeInTop}-enter, .${Ga.fadeInTop}-exit-to`]:{opacity:0,transform:"translateY(-16px)"},[`.${Ga.fadeInTop}-enter-to, .${Ga.fadeInTop}-exit`]:{opacity:1,transform:"translateY(0)"},[`.${Ga.fadeInTop}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[`.${Ga.fadeInTop}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}});function qa(e,t,n){return Object.entries({xs:{start:null!=t?t:"$2",end:null!=n?n:"$1"},sm:{start:null!=t?t:"$2_5",end:null!=n?n:"$1_5"},md:{start:null!=t?t:"$3",end:null!=n?n:"$2"},lg:{start:null!=t?t:"$4",end:null!=n?n:"$3"}}).map(([t,n])=>({variant:e,size:t,css:{paddingInlineStart:n.start,paddingInlineEnd:n.end}}))}const Va=Fi(Ha,{appearance:"none",display:"inline-flex",alignItems:"center",outline:"none",cursor:"pointer","&:focus":{outline:"none"},compoundVariants:[...qa("outline"),...qa("filled"),...qa("unstyled",0,0)]}),Ya=Fi({flexGrow:1,flexShrink:1,textAlign:"start",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ka=Fi({display:"inline-flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap",flexGrow:1,flexShrink:1,variants:{size:{xs:{gap:"$0_5",py:"$0_5"},sm:{gap:"$1",py:"$1"},md:{gap:"$1_5",py:"$1_5"},lg:{gap:"$2",py:"$2"}}}}),Xa=Fi({display:"inline-flex",justifyContent:"center",alignItems:"center",gap:"$0_5",borderRadius:"$sm",py:0,pl:"$2",lineHeight:"$none",variants:{variant:{subtle:{backgroundColor:"$neutral4",color:"$neutral12"},outline:{border:"1px solid $colors$neutral7",backgroundColor:"$loContrast",color:"$neutral12"}},size:{xs:{height:"$4",fontSize:"$2xs"},sm:{height:"$5",fontSize:"$xs"},md:{height:"$6",fontSize:"$sm"},lg:{height:"$7",fontSize:"$base"}}}}),Qa=Fi({appearance:"none",display:"inline-flex",justifyContent:"center",alignItems:"center",height:"100%",outline:"none",borderRightRadius:"$sm",backgroundColor:"transparent",px:"$1",color:"inherit",lineHeight:"$none",textDecoration:"none",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms, box-shadow 250ms","&:hover":{backgroundColor:"$neutral7"},"&:focus":{outline:"none",boxShadow:"$outline"}}),Za=Fi(Ya,{color:"$neutral9",opacity:1}),Ja=Fi({flexGrow:0,flexShrink:0,marginInlineStart:"auto",color:"$neutral11",fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{opened:{true:{transform:"rotate(-180deg)"}}}}),es=Fi({zIndex:"$dropdown",position:"absolute",left:0,top:"100%",display:"flex",flexDirection:"column",width:"100%",overflow:"hidden",margin:0,boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",padding:0}),ts=Fi({position:"relative",display:"flex",flexDirection:"column",maxHeight:"$60",width:"100%",overflowY:"auto",margin:0,padding:"$1",listStyle:"none"});Fi({}),Fi({display:"flex",alignItems:"center",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",lineHeight:"$4"});const ns=Fi({position:"relative",display:"flex",alignItems:"center",borderRadius:"$sm",color:"$neutral12",fontSize:"$base",fontWeight:"$normal",lineHeight:"$6",cursor:"pointer",userSelect:"none","&[data-disabled]":{color:"$neutral8",cursor:"not-allowed"},"&[data-active]":{backgroundColor:"$neutral4"}}),rs=Fi({display:"inline-flex",alignItems:"center",py:"$2",paddingInlineStart:"$3",paddingInlineEnd:"$6"}),os=Fi({position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",paddingInlineEnd:"$3",color:"$primary10",pointerEvents:"none"}),is={scale:"hope-tooltip-scale-transition"},as=Hi({[`.${is.scale}-enter, .${is.scale}-exit-to`]:{opacity:0,transform:"scale(0.90)"},[`.${is.scale}-enter-to, .${is.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${is.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease"},[`.${is.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"150ms",transitionTimingFunction:"ease-in-out"}}),ss=Fi({zIndex:"$tooltip",position:"absolute",maxWidth:"$96",boxShadow:"$md",borderRadius:"$sm",backgroundColor:"$neutral12",px:"$2",py:"$1",color:"$neutral1",fontSize:"$sm",fontWeight:"$normal",lineHeight:"$4"}),ls=Fi({zIndex:"$tooltip",position:"absolute",boxSize:"8px",backgroundColor:"inherit",transform:"rotate(45deg)"}),cs=Hi({"*, ::before, ::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid"},"*":{margin:0},"html, body":{height:"100%"},html:{fontFamily:"$sans",lineHeight:"$base",fontSize:"16px"},body:{backgroundColor:"$background",color:"$neutral12",fontFamily:"inherit",lineHeight:"inherit","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},"h1, h2, h3, h4, h5, h6":{fontSize:"inherit",fontWeight:"inherit"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"img, picture, video, canvas, svg":{display:"block",maxWidth:"100%"},"button, input, textarea, select, optgroup":{fontFamily:"inherit",fontSize:"100%"},"button:focus":{outline:"5px auto -webkit-focus-ring-color"},fieldset:{margin:0,padding:0},"ol, ul":{margin:0,padding:0},a:{backgroundColor:"transparent",color:"inherit",textDecoration:"inherit"}});function us(e,t,n){Object.entries(e).forEach(([e,r])=>{if(gi(r))if(e in n){const t=e;n[t]=pi(pi({},n[t]),r)}else t[e]=pi(pi({},t[e]),r);else t[e]=r})}function ds(e,t){const n={},r={"@sm":{},"@md":{},"@lg":{},"@xl":{},"@2xl":{},"@reduce-motion":{},"@light":{},"@dark":{}};return null==t||t.forEach(e=>e&&us(e,n,r)),Object.entries(e).forEach(([e,t])=>{null!=t&&"css"!==e&&(e.startsWith("_")?n[e]=t:gi(t)?Object.keys(t).forEach(o=>{if("@initial"===o)n[e]=t[o];else if(o in r){const n=o;r[n]=hi(pi({},r[n]),{[e]:t[n]})}}):n[e]=t)}),e.css&&us(e.css,n,r),pi(pi({},n),r)}function ps(e,t){const n="dark"===e,r=n?ki:Si,o=n?sr({},Bi,t):t,i=Ui(r,o);return sr({},$i,i)}function hs(e,t){return gi(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):null!=e?t(e):null}const fs=Fi({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}),gs=z();function ms(e){var t,n,r,o,i,a,s,l;const c=ps("light",null!=(n=null==(t=(e=be({enableCssReset:!0},e)).config)?void 0:t.lightTheme)?n:{}),u=ps("dark",null!=(o=null==(r=e.config)?void 0:r.darkTheme)?o:{}),d=Ti(null!=(a=null==(i=e.config)?void 0:i.initialColorMode)?a:"light"),p="dark"===d?u:c,[h,f]=k(d),[g,m]=k(p),b=()=>"dark"===h(),v=e=>{f(e),function(e){if(Ei())try{localStorage.setItem(_i,e)}catch(t){}}(e)},y={components:null!=(l=null==(s=e.config)?void 0:s.components)?l:{},theme:g,colorMode:h,setColorMode:v,toggleColorMode:()=>{v(b()?"light":"dark")}};return A(()=>{m(b()?u:c),wi(b())}),e.enableCssReset&&cs(),ra(),la(),qi(),Ta(),La(),Wa(),as(),pe(gs.Provider,{value:y,get children(){return e.children}})}function bs(){const e=U(gs);if(!e)throw new Error("[Hope UI]: useStyleConfig must be used within a HopeProvider");return e.components}function vs(){const e=U(gs);if(!e)throw new Error("[Hope UI]: useColorMode must be used within a HopeProvider");return{colorMode:e.colorMode,setColorMode:e.setColorMode,toggleColorMode:e.toggleColorMode}}function ys(e,t){const{colorMode:n}=vs();return()=>"dark"===n()?t:e}function Es(e){return`.${e}`}function _s(...e){return e.filter(Boolean).join(" ")}const Ss=pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi({},{border:!0,borderWidth:!0,borderStyle:!0,borderColor:!0,borderTop:!0,borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0,borderRight:!0,borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0,borderBottom:!0,borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0,borderLeft:!0,borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0,borderX:!0,borderY:!0}),{color:!0,background:!0,bg:!0,backgroundColor:!0,bgColor:!0,opacity:!0}),{alignItems:!0,alignContent:!0,alignSelf:!0,justifyItems:!0,justifyContent:!0,justifySelf:!0,flexDirection:!0,flexWrap:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,order:!0}),{gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0,gridRow:!0,gridRowStart:!0,gridRowEnd:!0,gridColumn:!0,gridColumnStart:!0,gridColumnEnd:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:!0,rowGap:!0,columnGap:!0}),{appearance:!0,userSelect:!0,pointerEvents:!0,resize:!0,cursor:!0,outline:!0,outlineOffset:!0,outlineColor:!0}),{display:!0,d:!0,verticalAlign:!0,overflow:!0,overflowX:!0,overflowY:!0,objectFit:!0,objectPosition:!0}),{margin:!0,m:!0,marginTop:!0,mt:!0,marginRight:!0,mr:!0,marginStart:!0,ms:!0,marginBottom:!0,mb:!0,marginLeft:!0,ml:!0,marginEnd:!0,me:!0,mx:!0,my:!0}),{padding:!0,p:!0,paddingTop:!0,pt:!0,paddingRight:!0,pr:!0,paddingStart:!0,ps:!0,paddingBottom:!0,pb:!0,paddingLeft:!0,pl:!0,paddingEnd:!0,pe:!0,px:!0,py:!0}),{position:!0,pos:!0,zIndex:!0,top:!0,right:!0,bottom:!0,left:!0}),{borderRadius:!0,borderTopRightRadius:!0,borderTopLeftRadius:!0,borderBottomRightRadius:!0,borderBottomLeftRadius:!0,borderTopRadius:!0,borderRightRadius:!0,borderStartRadius:!0,borderBottomRadius:!0,borderLeftRadius:!0,borderEndRadius:!0,rounded:!0,roundedTop:!0,roundedRight:!0,roundedStart:!0,roundedBottom:!0,roundedLeft:!0,roundedEnd:!0}),{textShadow:!0,boxShadow:!0,shadow:!0}),{width:!0,w:!0,minWidth:!0,minW:!0,maxWidth:!0,maxW:!0,height:!0,h:!0,minHeight:!0,minH:!0,maxHeight:!0,maxH:!0,boxSize:!0}),{transform:!0,transformOrigin:!0,clipPath:!0}),{transition:!0,transitionProperty:!0,transitionTimingFunction:!0,transitionDuration:!0,transitionDelay:!0,animation:!0,willChange:!0}),{fontFamily:!0,fontSize:!0,fontWeight:!0,lineHeight:!0,letterSpacing:!0,textAlign:!0,fontStyle:!0,textTransform:!0,textDecoration:!0,noOfLines:!0}),{_hover:!0,_active:!0,_focus:!0,_highlighted:!0,_focusWithin:!0,_focusVisible:!0,_disabled:!0,_readOnly:!0,_before:!0,_after:!0,_empty:!0,_expanded:!0,_checked:!0,_grabbed:!0,_pressed:!0,_invalid:!0,_valid:!0,_loading:!0,_selected:!0,_hidden:!0,_even:!0,_odd:!0,_first:!0,_last:!0,_notFirst:!0,_notLast:!0,_visited:!0,_activeLink:!0,_activeStep:!0,_indeterminate:!0,_groupHover:!0,_peerHover:!0,_groupFocus:!0,_peerFocus:!0,_groupFocusVisible:!0,_peerFocusVisible:!0,_groupActive:!0,_peerActive:!0,_groupSelected:!0,_peerSelected:!0,_groupDisabled:!0,_peerDisabled:!0,_groupInvalid:!0,_peerInvalid:!0,_groupChecked:!0,_peerChecked:!0,_groupFocusWithin:!0,_peerFocusWithin:!0,_peerPlaceholderShown:!0,_placeholder:!0,_placeholderShown:!0,_fullScreen:!0,_selection:!0,_mediaDark:!0,_mediaReduceMotion:!0,_dark:!0,_light:!0}),{css:!0}),ks=Fi({}),Ts=(e,t)=>{const n=n=>{const r=function(e){return Object.keys(e).filter(e=>e in Ss)}(n),o=be({as:e},n),[i,a,s]=ve(o,["as","class","className","__baseStyle"],r),l=C(()=>[mi(null==t?void 0:t.baseStyle)?null==t?void 0:t.baseStyle(n):null==t?void 0:t.baseStyle,i.__baseStyle]),c=()=>_s(null==t?void 0:t.baseClass,i.class,i.className,function(e,t){return ks({css:ds(e,t)})}(a,l()));return pe(ct,be({get component(){var e;return null!=(e=i.as)?e:"div"},get class(){return c()}},s))};return n.toString=()=>(null==t?void 0:t.baseClass)?Es(t.baseClass):"",n},ws=e("cL",function(){const e=new Map;return new Proxy(Ts,{apply:(e,t,n)=>Ts(...n),get:(t,n)=>(e.has(n)||e.set(n,Ts(n)),e.get(n))})}()),As=e("an",ws.div);function Cs(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function xs(e){var t;return Cs(e)&&null!=(t=e.ownerDocument)?t:document}function Os(e,t){const n=e.target;return!(e.button>0)&&(!(n&&!xs(n).body.contains(n))&&!(null==t?void 0:t.contains(n)))}function Is(e,t){return!!e&&(e===t||e.contains(t))}function Ns(e){var t,n;const r=function(e){const t=xs(e);return null==t?void 0:t.activeElement}(null!=(t=e.target)?t:e.currentTarget);return null!=(n=e.relatedTarget)?n:r}function Ls(e){return e&&e.clientHeight<e.scrollHeight}function Ds(e,t){const{offsetHeight:n,offsetTop:r}=e,{offsetHeight:o,scrollTop:i}=t,a=r+n>i+o;r<i?t.scrollTo(0,r):a&&t.scrollTo(0,r-o+n)}function Rs(e){const t=Object.getOwnPropertyDescriptor(e,"children");return null!=t&&mi(t.value)}Fi({borderTopWidth:"1px",borderColor:"$neutral7",overflowAnchor:"none","&:last-of-type":{borderBottomWidth:"1px"}}),Fi({appearance:"none",display:"flex",alignItems:"center",width:"100%",outline:"none",backgroundColor:"transparent",px:"$4",py:"$2",color:"inherit",fontSize:"$base",lineHeight:"$6",cursor:"pointer",transition:"background-color 250ms","&:disabled":{opacity:.4,cursor:"not-allowed"},"&:hover":{backgroundColor:"$neutral4"},"&:focus":{outline:"none",boxShadow:"$outline"}}),Fi({flexGrow:0,flexShrink:0,fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{expanded:{true:{transform:"rotate(-180deg)"}},disabled:{true:{opacity:.4}}}}),Fi({pt:"$2",px:"$4",pb:"$4"});const Ms=Fi({display:"inline-block",flexShrink:0,boxSize:"1em",color:"currentColor",lineHeight:"1em",verticalAlign:"middle"}),Ps=He('<svg><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>',4,!0),Bs={viewBox:"0 0 24 24",path:()=>Ps.cloneNode(!0)},$s="hope-icon";function Fs(e){const t=be({viewBox:Bs.viewBox},e),[n,r]=ve(t,["as","class","children","viewBox"]),o=()=>_s(n.class,$s,Ms()),i=()=>{return n.as&&(e=n.as,!("[object String]"===Object.prototype.toString.call(e)));var e};return pe(Te,{get when(){return i()},get fallback(){return pe(ws.svg,be({get class(){return o()},get viewBox(){return n.viewBox}},r,{get children(){return pe(Te,{get when(){return n.children},get fallback(){return Bs.path},get children(){return n.children}})}}))},get children(){return pe(As,be({get as(){return n.as},get class(){return o()}},r))}})}function Hs(e){const{viewBox:t="0 0 24 24",defaultProps:n={}}=e,r=r=>pe(Fs,be({viewBox:t},n,r,{get children(){return e.path}}));return r.toString=()=>Es($s),r}Fs.toString=()=>Es($s);const zs=He('<svg><path d="M4.18179 6.18181C4.35753 6.00608 4.64245 6.00608 4.81819 6.18181L7.49999 8.86362L10.1818 6.18181C10.3575 6.00608 10.6424 6.00608 10.8182 6.18181C10.9939 6.35755 10.9939 6.64247 10.8182 6.81821L7.81819 9.81821C7.73379 9.9026 7.61934 9.95001 7.49999 9.95001C7.38064 9.95001 7.26618 9.9026 7.18179 9.81821L4.18179 6.81821C4.00605 6.64247 4.00605 6.35755 4.18179 6.18181Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0);Hs({viewBox:"0 0 15 15",path:()=>zs.cloneNode(!0)}),Fi({overflow:"hidden"});const Us=Fi({flexShrink:0}),js=Fi({fontWeight:"$semibold"}),Gs=Fi({display:"inline-block"}),Ws=Fi({position:"relative",display:"flex",alignItems:"center",borderRadius:"$sm",px:"$4",py:"$3",fontSize:"$base",lineHeight:"$6",variants:{variant:{solid:{},subtle:{},"left-accent":{borderLeftStyle:"solid",borderLeftWidth:"$sizes$1"},"top-accent":{borderTopStyle:"solid",borderTopWidth:"$sizes$1"}},status:{success:{},info:{},warning:{},danger:{}}},compoundVariants:[{variant:"solid",status:"success",css:{backgroundColor:"$success9",color:"white"}},{variant:"solid",status:"info",css:{backgroundColor:"$info9",color:"white"}},{variant:"solid",status:"warning",css:{backgroundColor:"$warning9",color:"$blackAlpha12"}},{variant:"solid",status:"danger",css:{backgroundColor:"$danger9",color:"white"}},{variant:"subtle",status:"success",css:{backgroundColor:"$success3",color:"$success11",[`& .${Us}`]:{color:"$success9"}}},{variant:"subtle",status:"info",css:{backgroundColor:"$info3",color:"$info11",[`& .${Us}`]:{color:"$info9"}}},{variant:"subtle",status:"warning",css:{backgroundColor:"$warning3",color:"$warning11",[`& .${Us}`]:{color:"$warning9"}}},{variant:"subtle",status:"danger",css:{backgroundColor:"$danger3",color:"$danger11",[`& .${Us}`]:{color:"$danger9"}}},{variant:"left-accent",status:"success",css:{borderLeftColor:"$success9",backgroundColor:"$success3",color:"$success11",[`& .${Us}`]:{color:"$success9"}}},{variant:"left-accent",status:"info",css:{borderLeftColor:"$info9",backgroundColor:"$info3",color:"$info11",[`& .${Us}`]:{color:"$info9"}}},{variant:"left-accent",status:"warning",css:{borderLeftColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",[`& .${Us}`]:{color:"$warning9"}}},{variant:"left-accent",status:"danger",css:{borderLeftColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",[`& .${Us}`]:{color:"$danger9"}}},{variant:"top-accent",status:"success",css:{borderTopColor:"$success9",backgroundColor:"$success3",color:"$success11",[`& .${Us}`]:{color:"$success9"}}},{variant:"top-accent",status:"info",css:{borderTopColor:"$info9",backgroundColor:"$info3",color:"$info11",[`& .${Us}`]:{color:"$info9"}}},{variant:"top-accent",status:"warning",css:{borderTopColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",[`& .${Us}`]:{color:"$warning9"}}},{variant:"top-accent",status:"danger",css:{borderTopColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",[`& .${Us}`]:{color:"$danger9"}}}]}),qs="hope-alert";function Vs(e){var t,n,r,o,i,a;const s=bs().Alert,l=be({variant:null!=(r=null==(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t.root)?void 0:n.variant)?r:"subtle",status:null!=(a=null==(i=null==(o=null==s?void 0:s.defaultProps)?void 0:o.root)?void 0:i.status)?a:"info"},e),[c,u]=ve(l,["class","variant","status"]),d={status:()=>c.status};return pe(Ys.Provider,{value:d,get children(){return pe(As,be({role:"alert",get class(){return _s(c.class,qs,Ws({variant:c.variant,status:c.status}))},get __baseStyle(){var e;return null==(e=null==s?void 0:s.baseStyle)?void 0:e.root}},u))}})}Vs.toString=()=>Es(qs);const Ys=z(),Ks="hope-alert__description";function Xs(e){const t=bs().Alert,[n,r]=ve(e,["class"]);return pe(As,be({get class(){return _s(n.class,Ks,Gs())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.description}},r))}Xs.toString=()=>Es(Ks);const Qs=He('<svg><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm-2 19.59l-5-5L10.59 15L14 18.41L21.41 11l1.596 1.586Z"></path></svg>',4,!0),Zs=He('<svg><path fill="none" d="m14 21.591l-5-5L10.591 15L14 18.409L21.41 11l1.595 1.585L14 21.591z"></path></svg>',4,!0),Js=Hs({viewBox:"0 0 32 32",path:()=>[Qs.cloneNode(!0),Zs.cloneNode(!0)]}),el=He('<svg><path fill="currentColor" d="M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14s14-6.3 14-14S23.7 2 16 2zm-1.1 6h2.2v11h-2.2V8zM16 25c-.8 0-1.5-.7-1.5-1.5S15.2 22 16 22s1.5.7 1.5 1.5S16.8 25 16 25z"></path></svg>',4,!0),tl=Hs({viewBox:"0 0 32 32",path:()=>el.cloneNode(!0)}),nl=He('<svg><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M29.4898 29.8706C29.3402 29.9548 29.1713 29.9991 28.9996 29.9993H2.99961C2.82787 29.9991 2.65905 29.9548 2.5094 29.8706C2.35976 29.7864 2.23433 29.665 2.14521 29.5182C2.05608 29.3713 2.00626 29.2041 2.00055 29.0325C1.99485 28.8608 2.03344 28.6907 2.1126 28.5382L15.1126 3.53821C15.1971 3.37598 15.3245 3.23999 15.4808 3.14514C15.6372 3.05017 15.8167 3 15.9996 3C16.1825 3 16.362 3.05017 16.5184 3.14514C16.6748 3.23999 16.8021 3.37598 16.8866 3.53821L29.8866 28.5382C29.9658 28.6907 30.0044 28.8608 29.9986 29.0325C29.9929 29.2041 29.9431 29.3713 29.854 29.5182C29.7649 29.665 29.6395 29.7864 29.4898 29.8706ZM16.0016 6.16919V6.17029H15.9976V6.16919H16.0016ZM15.9996 25.9993C15.7029 25.9993 15.4129 25.9113 15.1662 25.7465C14.9196 25.5817 14.7273 25.3474 14.6138 25.0734C14.5996 25.0391 14.5867 25.0044 14.5752 24.9694C14.4942 24.724 14.4778 24.4613 14.5284 24.2067C14.5863 23.9156 14.7292 23.6484 14.9389 23.4386C14.9652 23.4124 14.9923 23.3872 15.0202 23.3632C15.2159 23.1945 15.4524 23.0787 15.707 23.0281C15.7433 23.0209 15.7799 23.015 15.8165 23.0105C16.0723 22.979 16.3326 23.014 16.572 23.1129L16.5736 23.1135C16.8477 23.2271 17.082 23.4193 17.2468 23.6659C17.2674 23.6968 17.2868 23.7283 17.305 23.7604C17.4322 23.9852 17.4996 24.2397 17.4996 24.4993C17.4996 24.8971 17.3416 25.2787 17.0603 25.5599C16.7789 25.8413 16.3974 25.9993 15.9996 25.9993ZM17.1246 20.9993H14.8746V11.9993H17.1246V20.9993Z"></path></svg>',4,!0),rl=Hs({viewBox:"0 0 32 32",path:()=>nl.cloneNode(!0)}),ol=He('<svg><path fill="none" d="M16 8a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8Zm4 13.875h-2.875v-8H13v2.25h1.875v5.75H12v2.25h8Z"></path></svg>',4,!0),il=He('<svg><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 6a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8Zm4 16.125h-8v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"></path></svg>',4,!0),al=Hs({viewBox:"0 0 32 32",path:()=>[ol.cloneNode(!0),il.cloneNode(!0)]}),sl="hope-alert__icon";function ll(e){const t=bs().Alert,{status:n}=function(){const e=U(Ys);if(!e)throw new Error("[Hope UI]: useAlertContext must be used within an `<Alert />` component");return e}(),r=be({boxSize:"$6"},e),[o,i]=ve(r,["as","class"]);return pe(Fs,be({get as(){return(()=>{if(o.as)return o.as;switch(n()){case"success":return Js;case"info":return al;case"warning":return rl;case"danger":return tl}})()},get class(){return _s(o.class,sl,Us())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.icon}},i))}ll.toString=()=>Es(sl);const cl="hope-alert__title";function ul(e){const t=bs().Alert,[n,r]=ve(e,["class"]);return pe(As,be({get class(){return _s(n.class,cl,js())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.title}},r))}ul.toString=()=>Es(cl);const dl=Fi({position:"relative",outline:"none",backgroundColor:"transparent",textDecoration:"none",cursor:"pointer",transition:"text-decoration 250ms","&:hover":{textDecoration:"underline"},"&:focus":{boxShadow:"$outline"}}),pl="hope-anchor";function hl(e){const t=bs().Anchor,[n,r]=ve(e,["class","external"]);return pe(ws.a,be({get class(){return _s(n.class,pl,dl())},get __baseStyle(){return null==t?void 0:t.baseStyle},get target(){return n.external?"_blank":void 0},get rel(){return n.external?"noopener noreferrer":void 0}},r))}hl.toString=()=>Es(pl),Fi({position:"relative","&::before":{height:0,content:"''",display:"block"},"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}});const fl="hope-icon-button",gl=Fi({display:"inline-flex",alignSelf:"center",flexShrink:0}),ml=Fi({position:"absolute",display:"flex",alignItems:"center",flexShrink:0,fontSize:"1em",lineHeight:"$normal",variants:{withLoadingText:{true:{position:"relative"}}}}),bl=Fi({fontSize:"1.3em",animation:`1s linear infinite ${va}`});function vl(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,[`&.${fl}`]:{width:e.height,padding:"0"}}}function yl(e){return{height:e.height,py:0,px:e.paddingX,[`&.${fl}`]:{width:e.height,padding:"0"}}}function El(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover}}}function _l(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function Sl(e){return{borderColor:e.borderColor,color:e.color,"&:hover":{borderColor:e.borderColorHover,backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function kl(e){return{color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}const Tl=Fi({appearance:"none",position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",outline:"none",borderRadius:"$sm",padding:"0",fontWeight:"$medium",lineHeight:"$none",textDecoration:"none",cursor:"pointer",userSelect:"none",whiteSpace:"nowrap",verticalAlign:"middle",transition:"color 250ms, background-color 250ms, box-shadow 250ms","&:focus":{outline:"none",boxShadow:"$outline"},"&:disabled, &:hover:disabled":{color:"$neutral7",cursor:"not-allowed"},variants:{variant:{solid:{border:"1px solid transparent","&:disabled, &:hover:disabled":{backgroundColor:"$neutral3"}},subtle:{border:"1px solid transparent","&:disabled, &:hover:disabled":{backgroundColor:"$neutral3"}},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent","&:disabled, &:hover:disabled":{borderColor:"$neutral3"}},dashed:{borderStyle:"dashed",borderWidth:"1px",backgroundColor:"transparent","&:disabled, &:hover:disabled":{borderColor:"$neutral3"}},ghost:{border:"1px solid transparent",backgroundColor:"transparent"}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{xs:vl({height:"$6",paddingX:"$2",fontSize:"$xs"}),sm:vl({height:"$8",paddingX:"$3",fontSize:"$sm"}),md:vl({height:"$10",paddingX:"$4",fontSize:"$base"}),lg:vl({height:"$12",paddingX:"$6",fontSize:"$lg"}),xl:vl({height:"$16",paddingX:"$10",fontSize:"$xl"})},compact:{true:{},false:{}},fullWidth:{true:{display:"flex",width:"100%"},false:{display:"inline-flex",width:"auto"}},loading:{true:{opacity:"0.75",cursor:"default",pointerEvents:"none"},false:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:El({color:"white",bgColor:"$primary9",bgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:El({color:"white",bgColor:"$accent9",bgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:El({color:"white",bgColor:"$neutral9",bgColorHover:"$neutral10"})},{variant:"solid",colorScheme:"success",css:El({color:"white",bgColor:"$success9",bgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:El({color:"white",bgColor:"$info9",bgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:El({color:"$blackAlpha12",bgColor:"$warning9",bgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:El({color:"white",bgColor:"$danger9",bgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:_l({color:"$primary11",bgColor:"$primary4",bgColorHover:"$primary5",bgColorActive:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:_l({color:"$accent11",bgColor:"$accent4",bgColorHover:"$accent5",bgColorActive:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:_l({color:"$neutral12",bgColor:"$neutral4",bgColorHover:"$neutral5",bgColorActive:"$neutral6"})},{variant:"subtle",colorScheme:"success",css:_l({color:"$success11",bgColor:"$success4",bgColorHover:"$success5",bgColorActive:"$success6"})},{variant:"subtle",colorScheme:"info",css:_l({color:"$info11",bgColor:"$info4",bgColorHover:"$info5",bgColorActive:"$info6"})},{variant:"subtle",colorScheme:"warning",css:_l({color:"$warning11",bgColor:"$warning4",bgColorHover:"$warning5",bgColorActive:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:_l({color:"$danger11",bgColor:"$danger4",bgColorHover:"$danger5",bgColorActive:"$danger6"})},{variant:"outline",colorScheme:"primary",css:Sl({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"outline",colorScheme:"accent",css:Sl({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"outline",colorScheme:"neutral",css:Sl({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"outline",colorScheme:"success",css:Sl({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"outline",colorScheme:"info",css:Sl({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"outline",colorScheme:"warning",css:Sl({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"outline",colorScheme:"danger",css:Sl({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"dashed",colorScheme:"primary",css:Sl({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"dashed",colorScheme:"accent",css:Sl({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"dashed",colorScheme:"neutral",css:Sl({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"dashed",colorScheme:"success",css:Sl({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"dashed",colorScheme:"info",css:Sl({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"dashed",colorScheme:"warning",css:Sl({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"dashed",colorScheme:"danger",css:Sl({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"ghost",colorScheme:"primary",css:kl({color:"$primary11",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"ghost",colorScheme:"accent",css:kl({color:"$accent11",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"ghost",colorScheme:"neutral",css:kl({color:"$neutral12",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"ghost",colorScheme:"success",css:kl({color:"$success11",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"ghost",colorScheme:"info",css:kl({color:"$info11",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"ghost",colorScheme:"warning",css:kl({color:"$warning11",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"ghost",colorScheme:"danger",css:kl({color:"$danger11",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{size:"xs",compact:"true",css:yl({height:"$5",paddingX:"$1"})},{size:"sm",compact:"true",css:yl({height:"$6",paddingX:"$1_5"})},{size:"md",compact:"true",css:yl({height:"$7",paddingX:"$2"})},{size:"lg",compact:"true",css:yl({height:"$8",paddingX:"$2_5"})},{size:"xl",compact:"true",css:yl({height:"$10",paddingX:"$3_5"})}]}),wl=Fi({display:"inline-flex",[`& .${Tl}:focus`]:{zIndex:1}}),Al="hope-button__group",Cl=z();function xl(e){var t,n,r,o,i,a;const s=bs().Button,[l]=nn({get variant(){var t,n,r;return null!=(r=e.variant)?r:null==(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t.group)?void 0:n.variant},get colorScheme(){var t,n,r;return null!=(r=e.colorScheme)?r:null==(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t.group)?void 0:n.colorScheme},get size(){var t,n,r;return null!=(r=e.size)?r:null==(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t.group)?void 0:n.size},get disabled(){return e.disabled}}),c=be({attached:null!=(r=null==(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t.group)?void 0:n.attached)&&r,spacing:null!=(a=null==(i=null==(o=null==s?void 0:s.defaultProps)?void 0:o.group)?void 0:i.spacing)?a:"0.5rem"},e),[u,d,p]=ve(c,["class","attached","spacing"],["variant","colorScheme","size","disabled"]),h={state:l};return pe(Cl.Provider,{value:h,get children(){return pe(As,be({role:"group",get class(){return _s(u.class,Al,wl({css:u.attached?{"> *:first-of-type:not(:last-of-type)":{borderRightRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderLeftRadius:0}}:{"& > *:not(style) ~ *:not(style)":{marginStart:u.spacing}}}))},get __baseStyle(){var e;return null==(e=null==s?void 0:s.baseStyle)?void 0:e.group}},p))}})}function Ol(){return U(Cl)}xl.toString=()=>Es(Al);const Il="hope-button__icon";function Nl(e){const[t,n]=ve(e,["class","children"]);return pe(ws.span,be({get class(){return _s(t.class,Il,gl())}},n,{get children(){return t.children}}))}Nl.toString=()=>Es(Il);const Ll=He('<svg><g fill="none"><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M12 19a7 7 0 1 0 0-14a7 7 0 0 0 0 14zm0 3c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10z" fill="currentColor"></path><path d="M2 12C2 6.477 6.477 2 12 2v3a7 7 0 0 0-7 7H2z" fill="currentColor"></path></g></svg>',8,!0),Dl=Hs({path:()=>Ll.cloneNode(!0)}),Rl="hope-button__loader";function Ml(e){const t=be({spacing:"0.5rem",children:pe(Dl,{get class(){return bl()}})},e),[n,r]=ve(t,["class","children","withLoadingText","placement","spacing"]),o=()=>"start"===n.placement?"marginEnd":"marginStart";return pe(ws.div,be({get class(){return _s(n.class,Rl,ml({withLoadingText:n.withLoadingText}))}},()=>({[o()]:n.withLoadingText?n.spacing:0}),r,{get children(){return n.children}}))}Ml.toString=()=>Es(Rl);const Pl="hope-button";function Bl(e){var t,n,r;const o=bs().Button,i=Ol(),a=be({loaderPlacement:null!=(r=null==(n=null==(t=null==o?void 0:o.defaultProps)?void 0:t.root)?void 0:n.loaderPlacement)?r:"start",iconSpacing:"0.5rem",type:"button",role:"button"},e),[s,l,c]=ve(a,["class","disabled","loadingText","loader","loaderPlacement","variant","colorScheme","size","loading","compact","fullWidth"],["children","iconSpacing","leftIcon","rightIcon"]);return pe(ws.button,be({get class(){return _s(s.class,Pl,Tl({variant:null!=(a=null!=(r=null!=(e=s.variant)?e:null==i?void 0:i.state.variant)?r:null==(n=null==(t=null==o?void 0:o.defaultProps)?void 0:t.root)?void 0:n.variant)?a:"solid",colorScheme:null!=(p=null!=(d=null!=(l=s.colorScheme)?l:null==i?void 0:i.state.colorScheme)?d:null==(u=null==(c=null==o?void 0:o.defaultProps)?void 0:c.root)?void 0:u.colorScheme)?p:"primary",size:null!=(b=null!=(m=null!=(h=s.size)?h:null==i?void 0:i.state.size)?m:null==(g=null==(f=null==o?void 0:o.defaultProps)?void 0:f.root)?void 0:g.size)?b:"md",loading:s.loading,compact:s.compact,fullWidth:s.fullWidth}));var e,t,n,r,a,l,c,u,d,p,h,f,g,m,b},get disabled(){return null!=(e=s.disabled)?e:null==i?void 0:i.state.disabled;var e},get __baseStyle(){var e;return null==(e=null==o?void 0:o.baseStyle)?void 0:e.root}},c,{get children(){return[pe(Te,{get when(){return s.loading&&"start"===s.loaderPlacement},get children(){return pe(Ml,{class:"hope-button__loader--start",get withLoadingText(){return!!s.loadingText},placement:"start",get spacing(){return l.iconSpacing},get children(){return s.loader}})}}),pe(Te,{get when(){return s.loading},get fallback(){return pe($l,l)},get children(){return pe(Te,{get when(){return s.loadingText},get fallback(){return pe(ws.span,{opacity:0,get children(){return pe($l,l)}})},get children(){return s.loadingText}})}}),pe(Te,{get when(){return s.loading&&"end"===s.loaderPlacement},get children(){return pe(Ml,{class:"hope-button__loader--end",get withLoadingText(){return!!s.loadingText},placement:"end",get spacing(){return l.iconSpacing},get children(){return s.loader}})}})]}}))}function $l(e){return[pe(Te,{get when(){return e.leftIcon},get children(){return pe(Nl,{get marginEnd(){return e.iconSpacing},get children(){return e.leftIcon}})}}),$e(()=>e.children),pe(Te,{get when(){return e.rightIcon},get children(){return pe(Nl,{get marginStart(){return e.iconSpacing},get children(){return e.rightIcon}})}})]}function Fl(e){return{boxSize:e,fontSize:`calc(${e} / 2.5)`,lineHeight:e}}Bl.toString=()=>Es(Pl);const Hl=Fi({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,borderRadius:"$full",borderColor:"$loContrast",backgroundColor:"$neutral8",color:"$neutral12",fontWeight:"$medium",textAlign:"center",textTransform:"uppercase",verticalAlign:"top",variants:{size:{"2xs":Fl("$sizes$4"),xs:Fl("$sizes$6"),sm:Fl("$sizes$8"),md:Fl("$sizes$12"),lg:Fl("$sizes$16"),xl:Fl("$sizes$24"),"2xl":Fl("$sizes$32"),full:{boxSize:"$full",fontSize:"calc($sizes$full / 2.5)"}},withBorder:{true:{}}},compoundVariants:[{withBorder:!0,size:"2xs",css:{borderWidth:"1px"}},{withBorder:!0,size:"xs",css:{borderWidth:"1px"}},{withBorder:!0,size:"sm",css:{borderWidth:"2px"}},{withBorder:!0,size:"md",css:{borderWidth:"2px"}},{withBorder:!0,size:"lg",css:{borderWidth:"3px"}},{withBorder:!0,size:"xl",css:{borderWidth:"4px"}},{withBorder:!0,size:"2xl",css:{borderWidth:"5px"}},{withBorder:!0,size:"full",css:{borderWidth:"2px"}}]});function zl(e){const[t,n]=k("pending");let r=null;const o=()=>{r&&(r.onload=null,r.onerror=null,r=null)};return A(()=>{n(e.src?"loading":"pending")}),w(()=>{e.ignoreFallback||("loading"===t()&&(()=>{if(!e.src)return;o();const t=new Image;t.src=e.src,e.crossOrigin&&(t.crossOrigin=e.crossOrigin),e.srcSet&&(t.srcset=e.srcSet),e.sizes&&(t.sizes=e.sizes),e.loading&&(t.loading=e.loading),t.onload=t=>{o(),n("loaded"),vi(e.onLoad,t)},t.onerror=t=>{o(),n("failed"),vi(e.onError,t)},r=t})(),D(()=>{o()}))}),()=>e.ignoreFallback?"loaded":t()}Fi(Hl),Fi({boxSize:"$full",borderRadius:"$full",objectFit:"cover"}),Fi({position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"$full",borderWidth:"0.2em",borderStyle:"solid",borderColor:"$loContrast",variants:{placement:{"top-start":{insetInlineStart:"0",top:"0",transform:"translate(-25%, -25%)"},"top-end":{insetInlineEnd:"0",top:"0",transform:"translate(25%, -25%)"},"bottom-start":{insetInlineStart:"0",bottom:"0",transform:"translate(-25%, 25%)"},"bottom-end":{insetInlineEnd:"0",bottom:"0",transform:"translate(25%, 25%)"}}}}),Fi({display:"flex",alignItems:"center",justifyContent:"flex-start",flexDirection:"row",[`& .${Hl}:first-child`]:{marginStart:"0"}});const Ul=Fi({display:"inline-block",borderRadius:"$sm",py:"$0_5",px:"$1",fontSize:"$xs",fontWeight:"$bold",lineHeight:"$none",letterSpacing:"$wide",textTransform:"uppercase",whiteSpace:"nowrap",verticalAlign:"middle",variants:{variant:{solid:{border:"1px solid transparent",color:"white"},subtle:{border:"1px solid transparent"},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent"}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:{color:"white",bgColor:"$primary9"}},{variant:"solid",colorScheme:"accent",css:{color:"white",bgColor:"$accent9"}},{variant:"solid",colorScheme:"neutral",css:{color:"white",bgColor:"$neutral9"}},{variant:"solid",colorScheme:"success",css:{color:"white",bgColor:"$success9"}},{variant:"solid",colorScheme:"info",css:{color:"white",bgColor:"$info9"}},{variant:"solid",colorScheme:"warning",css:{color:"$blackAlpha12",bgColor:"$warning9"}},{variant:"solid",colorScheme:"danger",css:{color:"white",bgColor:"$danger9"}},{variant:"subtle",colorScheme:"primary",css:{color:"$primary11",bgColor:"$primary4"}},{variant:"subtle",colorScheme:"accent",css:{color:"$accent11",bgColor:"$accent4"}},{variant:"subtle",colorScheme:"neutral",css:{color:"$neutral12",bgColor:"$neutral4"}},{variant:"subtle",colorScheme:"success",css:{color:"$success11",bgColor:"$success4"}},{variant:"subtle",colorScheme:"info",css:{color:"$info11",bgColor:"$info4"}},{variant:"subtle",colorScheme:"warning",css:{color:"$warning11",bgColor:"$warning4"}},{variant:"subtle",colorScheme:"danger",css:{color:"$danger11",bgColor:"$danger4"}},{variant:"outline",colorScheme:"primary",css:{color:"$primary11",borderColor:"$primary7"}},{variant:"outline",colorScheme:"accent",css:{color:"$accent11",borderColor:"$accent7"}},{variant:"outline",colorScheme:"neutral",css:{color:"$neutral12",borderColor:"$neutral7"}},{variant:"outline",colorScheme:"success",css:{color:"$success11",borderColor:"$success7"}},{variant:"outline",colorScheme:"info",css:{color:"$info11",borderColor:"$info7"}},{variant:"outline",colorScheme:"warning",css:{color:"$warning11",borderColor:"$warning7"}},{variant:"outline",colorScheme:"danger",css:{color:"$danger11",borderColor:"$danger7"}}]}),jl="hope-badge";function Gl(e){var t,n,r,o;const i=bs().Badge,a=be({variant:null!=(n=null==(t=null==i?void 0:i.defaultProps)?void 0:t.variant)?n:"subtle",colorScheme:null!=(o=null==(r=null==i?void 0:i.defaultProps)?void 0:r.colorScheme)?o:"neutral"},e),[s,l,c]=ve(a,["class"],["variant","colorScheme"]);return pe(ws.span,be({get class(){return _s(s.class,jl,Ul(l))},get __baseStyle(){return null==i?void 0:i.baseStyle}},c))}Gl.toString=()=>Es(jl);const Wl=Fi({display:"block",fontSize:"$base",lineHeight:"$6"}),ql=Fi({display:"flex",alignItems:"center",margin:0,padding:0,listStyle:"none"}),Vl=Fi({display:"inline-flex",alignItems:"center"}),Yl=Fi({display:"inline-flex",alignItems:"center",justifyContent:"center"}),Kl=Fi({position:"relative",display:"inline-flex",alignItems:"center",outline:"none",backgroundColor:"transparent",color:"$neutral11",textDecoration:"none",cursor:"pointer",transition:"color 250ms, text-decoration 250ms","&:focus":{boxShadow:"$outline"},variants:{currentPage:{true:{color:"$neutral12",cursor:"default"},false:{"&:hover":{color:"$primary11"}}}}}),Xl=z(),Ql="hope-breadcrumb",Zl="hope-breadcrumb__list";function Jl(e){const t=bs().Breadcrumb,[n]=nn({get spacing(){var n,r,o,i;return null!=(i=null!=(o=e.spacing)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.spacing)?i:"0.5rem"},get separator(){var n,r,o,i;return null!=(i=null!=(o=e.separator)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.separator)?i:"/"}}),[r,o]=ve(e,["class","children","separator","spacing"]),i={state:n};return pe(Xl.Provider,{value:i,get children(){return pe(ws.nav,be({"aria-label":"breadcrumb",get class(){return _s(r.class,Ql,Wl())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.root}},o,{get children(){return pe(ws.ol,{get class(){return _s(Zl,ql())},get gap(){return n.spacing},get children(){return r.children}})}}))}})}function ec(){const e=U(Xl);if(!e)throw new Error("[Hope UI]: useBreadcrumbContext must be used within a `<Breadcrumb />` component");return e}Jl.toString=()=>Es(Ql);const tc="hope-breadcrumb__item";function nc(e){const t=bs().Breadcrumb,n=ec(),[r,o]=ve(e,["class"]);return pe(ws.li,be({get class(){return _s(r.class,tc,Vl())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.item},get gap(){return n.state.spacing}},o))}nc.toString=()=>Es(tc);const rc="hope-breadcrumb__link";function oc(e){const t=bs().Breadcrumb,[n,r]=ve(e,["class","currentPage","href"]),o=()=>_s(n.class,rc,Kl({currentPage:!0===n.currentPage}));return pe(Te,{get when(){return n.currentPage},get fallback(){return pe(ws.a,be({get href(){return n.href},get class(){return o()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.link}},r))},get children(){return pe(ws.span,be({"aria-current":"page",get class(){return o()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.link}},r))}})}oc.toString=()=>Es(rc);const ic="hope-breadcrumb__separator";function ac(e){const t=bs().Breadcrumb,n=ec(),[r,o]=ve(e,["class","children"]);return pe(ws.span,be({role:"presentation",get class(){return _s(r.class,ic,Yl())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.separator}},o,{get children(){return pe(Te,{get when(){return r.children},get fallback(){return n.state.separator},get children(){return r.children}})}}))}ac.toString=()=>Es(ic);const sc=Fi({display:"flex",justifyContent:"center",alignItems:"center"}),lc="hope-center";function cc(e){const[t,n]=ve(e,["class"]);return pe(As,be({get class(){return _s(t.class,lc,sc())}},n))}function uc(e){return{color:e.color,"&[data-disabled]":{color:"$neutral10"},"&[data-focus]":{boxShadow:`0 0 0 3px $colors${e.boxShadowColorFocus}`,borderColor:e.borderColorFocus}}}cc.toString=()=>Es(lc);const dc=Fi({position:"relative",display:"inline-flex",alignItems:"center",gap:"$2",cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"},variants:{size:{sm:{fontSize:"$sm",lineHeight:"$5"},md:{fontSize:"$base",lineHeight:"$6"},lg:{fontSize:"$lg",lineHeight:"$7"}}}}),pc=Fi({cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"}}),hc=Fi({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,height:"100%",outline:"none",padding:0,verticalAlign:"middle",cursor:"pointer",userSelect:"none",transition:"border-color 250ms, box-shadow 250ms","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"},"&[data-invalid]":{borderColor:"$danger8",color:"$danger9"},"&[data-focus][data-invalid]":{boxShadow:"0 0 0 3px $colors$danger5",borderColor:"$danger8"},"&[data-checked], &[data-focus][data-checked]":{borderColor:"transparent",backgroundColor:"currentColor"},variants:{variant:{outline:{border:"1px solid $colors$neutral8",backgroundColor:"transparent"},filled:{border:"1px solid transparent",backgroundColor:"$neutral7"}},colorScheme:{primary:uc({color:"$primary9",boxShadowColorFocus:"$primary5",borderColorFocus:"$primary8"}),accent:uc({color:"$accent9",boxShadowColorFocus:"$accent5",borderColorFocus:"$accent8"}),neutral:uc({color:"$neutral9",boxShadowColorFocus:"$neutral5",borderColorFocus:"$neutral8"}),success:uc({color:"$success9",boxShadowColorFocus:"$success5",borderColorFocus:"$success8"}),info:uc({color:"$info9",boxShadowColorFocus:"$info5",borderColorFocus:"$info8"}),warning:uc({color:"$warning9",boxShadowColorFocus:"$warning5",borderColorFocus:"$warning8"}),danger:uc({color:"$danger9",boxShadowColorFocus:"$danger5",borderColorFocus:"$danger8"})},size:{sm:{boxSize:"$3"},md:{boxSize:"$4"},lg:{boxSize:"$5"}}}}),fc=Fi(dc,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),gc=Fi(pc),mc=Fi(hc,{borderRadius:"$sm","& svg":{color:"$loContrast"},"&[data-indeterminate], &[data-focus][data-indeterminate]":{borderColor:"transparent",backgroundColor:"currentColor"}}),bc=z();function vc(){return U(bc)}const yc=Fi({position:"relative",width:"$full"}),Ec=Fi({display:"inline-block",marginBottom:"$1",color:"$neutral12",fontWeight:"$medium",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}}),_c=Fi({marginInlineStart:"$1",color:"$danger9",fontSize:"$base"}),Sc=Fi({display:"inline-block",marginTop:"$1",color:"$neutral11",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});Fi({display:"inline-block",marginTop:"$1",color:"$danger9",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});const kc=z(),Tc="hope-form-control";function wc(e){const t=`hope-field-${_e()}`,n=bs().FormControl,[r,o]=nn({get id(){var n;return null!=(n=e.id)?n:t},get labelId(){return`${this.id}-label`},get helperTextId(){return`${this.id}-helper-text`},get errorMessageId(){return`${this.id}-error-message`},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get"data-focus"(){return this.isFocused?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0},hasHelperText:!1,hasErrorMessage:!1,isFocused:!1}),[i,a]=ve(e,["id","required","disabled","invalid","readOnly","class"]),s=e=>o("hasHelperText",e),l=e=>o("hasErrorMessage",e),c=()=>o("isFocused",!0),u=()=>o("isFocused",!1);return pe(kc.Provider,{get value(){return{state:r,setHasHelperText:s,setHasErrorMessage:l,onFocus:c,onBlur:u}},get children(){return pe(As,be({role:"group",get class(){return _s(i.class,Tc,yc())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.root}},a))}})}function Ac(){return U(kc)}function Cc(e){const t=Ac(),n=C(()=>yi(null==t?void 0:t.onFocus,e.onFocus)),r=C(()=>yi(null==t?void 0:t.onBlur,e.onBlur)),[o]=nn({get id(){var n;return null!=(n=e.id)?n:null==t?void 0:t.state.id},get required(){var n;return null!=(n=e.required)?n:null==t?void 0:t.state.required},get disabled(){var n;return null!=(n=e.disabled)?n:null==t?void 0:t.state.disabled},get invalid(){var n;return null!=(n=e.invalid)?n:null==t?void 0:t.state.invalid},get readOnly(){var n;return null!=(n=e.readOnly)?n:null==t?void 0:t.state.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||void 0},get"aria-describedby"(){const n=e["aria-describedby"]?[e["aria-describedby"]]:[];return(null==t?void 0:t.state.hasErrorMessage)&&(null==t?void 0:t.state.invalid)&&n.push(t.state.errorMessageId),(null==t?void 0:t.state.hasHelperText)&&n.push(t.state.helperTextId),n.join(" ")||void 0},get onFocus(){return n},get onBlur(){return r}});return o}wc.toString=()=>Es(Tc);const xc=He('<input type="checkbox">',1);function Oc(e){const t=`hope-checkbox-${_e()}`,n=Ac(),r=vc(),o=Cc(e),[i,a]=nn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return void 0!==e.checked},get checked(){if(r){const t=r.state.value;return null!=t&&t.some(t=>String(e.value)===String(t))}return this.isControlled?!!e.checked:this._checked},get id(){var i;return n&&!r?o.id:null!=(i=e.id)?i:t},get name(){var t;return null!=(t=e.name)?t:null==r?void 0:r.state.name},get value(){return e.value},get indeterminate(){return e.indeterminate},get required(){var e;return null!=(e=o.required)?e:null==r?void 0:r.state.required},get disabled(){var e;return null!=(e=o.disabled)?e:null==r?void 0:r.state.disabled},get invalid(){var e;return null!=(e=o.invalid)?e:null==r?void 0:r.state.invalid},get readOnly(){var e;return null!=(e=o.readOnly)?e:null==r?void 0:r.state.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||void 0},get"aria-label"(){return e["aria-label"]},get"aria-labelledby"(){return e["aria-labelledby"]},get"aria-describedby"(){return e["aria-describedby"]},get"data-indeterminate"(){return this.indeterminate?"":void 0},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[s,l,c]=ve(e,["inputClass","children","ref","tabIndex","onChange"],["id","name","value","indeterminate","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),u=e=>{if(i.readOnly||i.disabled)e.preventDefault();else{if(!i.isControlled){const t=e.target;a("_checked",t.checked)}yi(null==r?void 0:r.onChange,s.onChange)(e)}},d=e=>{a("isFocused",!0),vi(o.onFocus,e)},p=e=>{a("isFocused",!1),vi(o.onBlur,e)},h=()=>i,f={state:i};return pe(Ic.Provider,{value:f,get children(){return pe(ws.label,be({get for(){return i.id},"data-group":!0,get"data-indeterminate"(){return i["data-indeterminate"]},get"data-focus"(){return i["data-focus"]},get"data-checked"(){return i["data-checked"]},get"data-required"(){return i["data-required"]},get"data-disabled"(){return i["data-disabled"]},get"data-invalid"(){return i["data-invalid"]},get"data-readonly"(){return i["data-readonly"]}},c,{get children(){return[(()=>{const e=xc.cloneNode(!0);e.addEventListener("blur",p),e.addEventListener("focus",d),e.addEventListener("change",u);const t=s.ref;return"function"==typeof t?t(e):s.ref=e,w(t=>{const n=_s(s.inputClass,fs()),r=s.tabIndex,o=i.value,a=i.id,l=i.name,c=i.checked,u=i.required,d=i.disabled,p=i.readOnly,h=i["aria-required"],f=i["aria-disabled"],g=i["aria-invalid"],m=i["aria-readonly"],b=i["aria-label"],v=i["aria-labelledby"],y=i["aria-describedby"];return n!==t._v$&&(e.className=t._v$=n),r!==t._v$2&&Ue(e,"tabindex",t._v$2=r),o!==t._v$3&&(e.value=t._v$3=o),a!==t._v$4&&Ue(e,"id",t._v$4=a),l!==t._v$5&&Ue(e,"name",t._v$5=l),c!==t._v$6&&(e.checked=t._v$6=c),u!==t._v$7&&(e.required=t._v$7=u),d!==t._v$8&&(e.disabled=t._v$8=d),p!==t._v$9&&(e.readOnly=t._v$9=p),h!==t._v$10&&Ue(e,"aria-required",t._v$10=h),f!==t._v$11&&Ue(e,"aria-disabled",t._v$11=f),g!==t._v$12&&Ue(e,"aria-invalid",t._v$12=g),m!==t._v$13&&Ue(e,"aria-readonly",t._v$13=m),b!==t._v$14&&Ue(e,"aria-label",t._v$14=b),v!==t._v$15&&Ue(e,"aria-labelledby",t._v$15=v),y!==t._v$16&&Ue(e,"aria-describedby",t._v$16=y),t},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),e})(),pe(Te,{get when(){return mi(s.children)},get fallback(){return s.children},get children(){var e;return null==(e=s.children)?void 0:e.call(s,{state:h})}})]}}))}})}const Ic=z(),Nc=He('<svg><path d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" fill="currentColor" stroke="currentColor" stroke-width="1" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),Lc=He('<svg><path d="M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z" fill="currentColor" stroke="currentColor" stroke-width="1" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),Dc="hope-checkbox",Rc="hope-checkbox__input",Mc="hope-checkbox__control",Pc="hope-checkbox__label";function Bc(e){var t,n,r,o,i,a,s,l,c,u,d,p,h,f,g,m,b,v,y,E;const _=bs().Checkbox,S=vc(),k=be({variant:null!=(i=null!=(o=null==(t=null==S?void 0:S.state)?void 0:t.variant)?o:null==(r=null==(n=null==_?void 0:_.defaultProps)?void 0:n.root)?void 0:r.variant)?i:"outline",colorScheme:null!=(u=null!=(c=null==(a=null==S?void 0:S.state)?void 0:a.colorScheme)?c:null==(l=null==(s=null==_?void 0:_.defaultProps)?void 0:s.root)?void 0:l.colorScheme)?u:"primary",size:null!=(g=null!=(f=null==(d=null==S?void 0:S.state)?void 0:d.size)?f:null==(h=null==(p=null==_?void 0:_.defaultProps)?void 0:p.root)?void 0:h.size)?g:"md",labelPlacement:null!=(E=null!=(y=null==(m=null==S?void 0:S.state)?void 0:m.labelPlacement)?y:null==(v=null==(b=null==_?void 0:_.defaultProps)?void 0:b.root)?void 0:v.labelPlacement)?E:"end"},e),[T,w]=ve(k,["children","class","variant","colorScheme","size","labelPlacement","iconChecked","iconIndeterminate"]);return pe(Oc,be({get class(){return _s(T.class,Dc,fc({size:T.size,labelPlacement:T.labelPlacement}))},inputClass:Rc,get __baseStyle(){var e;return null==(e=null==_?void 0:_.baseStyle)?void 0:e.root}},w,{children:({state:e})=>[pe(ws.span,{"aria-hidden":!0,get class(){return _s(Mc,mc({variant:T.variant,colorScheme:T.colorScheme,size:T.size}))},get __baseStyle(){var e;return null==(e=null==_?void 0:_.baseStyle)?void 0:e.control},get"data-indeterminate"(){return e()["data-indeterminate"]},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]},get children(){return pe(we,{get children(){return[pe(Ae,{get when(){return e().indeterminate},get children(){return pe(Te,{get when(){return T.iconIndeterminate},get fallback(){return pe(Fc,{})},get children(){return T.iconIndeterminate}})}}),pe(Ae,{get when(){return $e(()=>!!e().checked)()&&!e().indeterminate},get children(){return pe(Te,{get when(){return T.iconChecked},get fallback(){return pe($c,{})},get children(){return T.iconChecked}})}})]}})}}),pe(ws.span,{get class(){return _s(Pc,gc())},get __baseStyle(){var e;return null==(e=null==_?void 0:_.baseStyle)?void 0:e.label},get"data-indeterminate"(){return e()["data-indeterminate"]},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]},get children(){return T.children}})]}))}Bc.toString=()=>Es(Dc);const $c=Hs({viewBox:"0 0 15 15",path:()=>Nc.cloneNode(!0)}),Fc=Hs({viewBox:"0 0 15 15",path:()=>Lc.cloneNode(!0)}),Hc=Gi({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}});Fi({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"}),Fi({fill:"transparent",stroke:"currentColor"}),Fi({position:"absolute",top:0,left:0,variants:{spin:{true:{animation:`${va} 2s linear infinite`}}}}),Fi({fill:"transparent",stroke:"currentColor",opacity:1,variants:{hidden:{true:{opacity:0}},withRoundCaps:{true:{strokeLinecap:"round"}},indeterminate:{true:{animation:`${Hc} 2s linear infinite`},false:{strokeDashoffset:66,transitionProperty:"stroke-dasharray, stroke, opacity",transitionDuration:"600ms",transitionTimingFunction:"ease"}}}}),Fi({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",fontSize:"$xs",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"});const zc=He('<svg><path fill="currentColor" d="M2.64 1.27L7.5 6.13l4.84-4.84A.92.92 0 0 1 13 1a1 1 0 0 1 1 1a.9.9 0 0 1-.27.66L8.84 7.5l4.89 4.89A.9.9 0 0 1 14 13a1 1 0 0 1-1 1a.92.92 0 0 1-.69-.27L7.5 8.87l-4.85 4.85A.92.92 0 0 1 2 14a1 1 0 0 1-1-1a.9.9 0 0 1 .27-.66L6.16 7.5L1.27 2.61A.9.9 0 0 1 1 2a1 1 0 0 1 1-1c.24.003.47.1.64.27z"></path></svg>',4,!0),Uc=Hs({viewBox:"0 0 15 15",path:()=>zc.cloneNode(!0)}),jc=Fi({appearance:"none",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,outline:"none",borderWidth:0,borderRadius:"$sm",backgroundColor:"transparent",padding:0,color:"currentColor",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms","&:disbaled":{opacity:"0.5",cursor:"not-allowed",boxShadow:"none"},"&:hover":{backgroundColor:"$closeButtonHoverBackground"},"&:active":{backgroundColor:"$closeButtonActiveBackground"},"&:focus":{outline:"none",boxShadow:"$outline"},variants:{size:{sm:{boxSize:"24px",fontSize:"10px"},md:{boxSize:"32px",fontSize:"12px"},lg:{boxSize:"40px",fontSize:"16px"}}}}),Gc="hope-close-button";function Wc(e){var t,n,r,o,i,a;const s=bs().CloseButton,l=be({"aria-label":null!=(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t["aria-label"])?n:"Close",icon:null!=(o=null==(r=null==s?void 0:s.defaultProps)?void 0:r.icon)?o:pe(Uc,{}),size:null!=(a=null==(i=null==s?void 0:s.defaultProps)?void 0:i.size)?a:"md"},e),[c,u]=ve(l,["class","children","size","icon"]);return pe(ws.button,be({type:"button",get class(){return _s(c.class,Gc,jc({size:c.size}))},get __baseStyle(){return null==s?void 0:s.baseStyle}},u,{get children(){return pe(Te,{get when(){return c.children},get fallback(){return c.icon},get children(){return c.children}})}}))}Wc.toString=()=>Es(Gc);const qc=Fi({width:"100%","@sm":{maxWidth:"$containerSm"},"@md":{maxWidth:"$containerMd"},"@lg":{maxWidth:"$containerLg"},"@xl":{maxWidth:"$containerXl"},"@2xl":{maxWidth:"$container2xl"},variants:{centered:{true:{mx:"auto"}},centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}}}}),Vc="hope-container";function Yc(e){const t=be({centered:!0,centerContent:!1},e),[n,r,o]=ve(t,["class"],["centered","centerContent"]);return pe(As,be({get class(){return _s(n.class,Vc,qc(r))}},o))}Yc.toString=()=>Es(Vc);const Kc=Fi({border:0,borderColor:"currentColor",variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{height:"100%"},horizontal:{width:"100%"}}}}),Xc="hope-divider";function Qc(e){const t=be({as:"div",variant:"solid",orientation:"horizontal",color:"$neutral6",thickness:"1px"},e),[n,r]=ve(t,["class","variant","orientation","thickness"]);return pe(As,be({get class(){return _s(n.class,Xc,Kc({variant:n.variant,orientation:n.orientation,css:{borderLeftWidth:"vertical"===n.orientation?n.thickness:0,borderBottomWidth:"horizontal"===n.orientation?n.thickness:0}}))}},r))}function Zc(e){const t=`hope-modal-${_e()}`,n=bs().Modal,[r,o]=nn({headerMounted:!1,bodyMounted:!1,get opened(){return e.opened},get dialogId(){var n;return null!=(n=e.id)?n:t},get headerId(){return`${this.dialogId}--header`},get bodyId(){return`${this.dialogId}--body`},get initialFocus(){return e.initialFocus},get motionPreset(){var t,r,o,i;return null!=(i=null!=(o=e.motionPreset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?i:"scale"},get size(){var t,r,o,i;return null!=(i=null!=(o=e.size)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.size)?i:"md"},get centered(){var t,r,o,i;return null!=(i=null!=(o=e.centered)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.centered)&&i},get scrollBehavior(){var t,r,o,i;return null!=(i=null!=(o=e.scrollBehavior)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.scrollBehavior)?i:"outside"},get closeOnOverlayClick(){var t,r,o,i;return null==(i=null!=(o=e.closeOnOverlayClick)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnOverlayClick)||i},get closeOnEsc(){var t,r,o,i;return null==(i=null!=(o=e.closeOnEsc)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnEsc)||i},get trapFocus(){var t,r,o,i;return null==(i=null!=(o=e.trapFocus)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.trapFocus)||i},get blockScrollOnMount(){var t,r,o,i;return null==(i=null!=(o=e.blockScrollOnMount)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.blockScrollOnMount)||i},get preserveScrollBarGap(){var t,r,o,i;return null!=(i=null!=(o=e.preserveScrollBarGap)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.preserveScrollBarGap)&&i}}),[i,a]=k(!1);A(()=>{r.opened?a(!0):"none"===r.motionPreset&&a(!1)});const s=()=>e.onClose();let l=null;const c={state:r,unmountPortal:()=>a(!1),onClose:s,onMouseDown:e=>{l=e.target},onKeyDown:t=>{var n;"Escape"===t.key&&(t.stopPropagation(),r.closeOnEsc&&s(),null==(n=e.onEsc)||n.call(e))},onOverlayClick:t=>{var n;t.stopPropagation(),l===t.target&&(r.closeOnOverlayClick&&s(),null==(n=e.onOverlayClick)||n.call(e))},setHeaderMounted:e=>o("headerMounted",e),setBodyMounted:e=>o("bodyMounted",e)};return pe(Te,{get when(){return i()},get children(){return pe(Jc.Provider,{value:c,get children(){return pe(lt,{get children(){return e.children}})}})}})}Qc.toString=()=>Es(Xc);const Jc=z();function eu(){const e=U(Jc);if(!e)throw new Error("[Hope UI]: useModalContext must be used within a `<Modal />` component");return e}const tu="hope-modal__body";function nu(e){const t=bs().Modal,n=eu(),[r,o]=ve(e,["class"]);return L(()=>n.setBodyMounted(!0)),D(()=>n.setBodyMounted(!1)),pe(As,be({get class(){return _s(r.class,tu,Ji({scrollBehavior:n.state.scrollBehavior}))},get id(){return n.state.bodyId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.body}},o))}nu.toString=()=>Es(tu);const ru="hope-modal__close-button";function ou(e){var t,n,r,o,i,a,s,l;const c=bs().Modal,u=eu(),d=be({"aria-label":null!=(r=null==(n=null==(t=null==c?void 0:c.defaultProps)?void 0:t.closeButton)?void 0:n["aria-label"])?r:"Close modal",size:null!=(a=null==(i=null==(o=null==c?void 0:c.defaultProps)?void 0:o.closeButton)?void 0:i.size)?a:"md",icon:null==(l=null==(s=null==c?void 0:c.defaultProps)?void 0:s.closeButton)?void 0:l.icon},e),[p,h]=ve(d,["class","onClick"]);return pe(Wc,be({get class(){return _s(p.class,ru,ta())},get __baseStyle(){var e;return null==(e=null==c?void 0:c.baseStyle)?void 0:e.closeButton},onClick:e=>{yi(p.onClick,e=>{e.stopPropagation(),u.onClose()})(e)}},h))}ou.toString=()=>Es(ru);const iu="hope-modal__footer";function au(e){const t=bs().Modal,[n,r]=ve(e,["class"]);return pe(As,be({get class(){return _s(n.class,iu,ea())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.footer}},r))}au.toString=()=>Es(iu);const su="hope-modal__header";function lu(e){const t=bs().Modal,n=eu(),[r,o]=ve(e,["class"]);return L(()=>n.setHeaderMounted(!0)),D(()=>n.setHeaderMounted(!1)),pe(As,be({get class(){return _s(r.class,su,Zi())},get id(){return n.state.headerId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.header}},o))}lu.toString=()=>Es(su);const cu=z();function uu(){const e=U(cu);if(!e)throw new Error("[Hope UI]: useDrawerContext must be used within a `<Drawer />` component");return e}function du(e){const t=eu();let n,r;const o=()=>`[id='${t.state.dialogId}']`,i=()=>`${o()} *`;return L(()=>{n&&(t.state.trapFocus&&(r=Jr(n,{initialFocus:t.state.initialFocus,fallbackFocus:o(),allowOutsideClick:!0}),r.activate()),t.state.blockScrollOnMount&&(to.addScrollableSelector(i()),to.disablePageScroll(n)))}),D(()=>{null==r||r.deactivate(),to.removeScrollableSelector(i()),to.clearQueueScrollLocks(),to.enablePageScroll()}),{assignContainerRef:e=>{n=e},ariaLabelledBy:()=>t.state.headerMounted?t.state.headerId:void 0,ariaDescribedBy:()=>t.state.bodyMounted?t.state.bodyId:void 0,onDialogClick:t=>{yi(e.onClick,e=>e.stopPropagation())(t)}}}const pu="hope-modal__content-container",hu="hope-modal__content";function fu(e){const t=bs().Modal,n=eu(),[r,o]=ve(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:i,ariaLabelledBy:a,ariaDescribedBy:s,onDialogClick:l}=du(r);return pe(Sr,{get name(){return(()=>{switch(n.state.motionPreset){case"fade-in-bottom":return Wi.fadeInBottom;case"scale":return Wi.scale;case"none":return"hope-none"}})()},appear:!0,get onAfterExit(){return n.unmountPortal},get children(){return pe(Te,{get when(){return n.state.opened},get children(){return pe(As,{ref:i,get class(){return(()=>{const e=Ki({centered:n.state.centered,scrollBehavior:n.state.scrollBehavior});return _s(pu,e)})()},tabIndex:-1,get onMouseDown(){return n.onMouseDown},get onKeyDown(){return n.onKeyDown},get onClick(){return n.onOverlayClick},get children(){return pe(ws.section,be({get class(){return(()=>{const e=Qi({size:n.state.size,scrollBehavior:n.state.scrollBehavior});return _s(r.class,hu,e)})()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},get id(){return n.state.dialogId},get role(){var e;return null!=(e=r.role)?e:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return a()},get"aria-describedby"(){return s()},onClick:l},o))}})}})}})}fu.toString=()=>Es(hu);const gu="hope-modal__overlay";function mu(e){const t=bs().Modal,n=eu(),[r,o]=ve(e,["class"]);return pe(Sr,{get name(){return"none"===n.state.motionPreset?"hope-none":Wi.fade},appear:!0,get children(){return pe(Te,{get when(){return n.state.opened},get children(){return pe(As,be({get class(){return _s(r.class,gu,Vi())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.overlay}},o))}})}})}mu.toString=()=>Es(gu);const bu="hope-drawer__content-container",vu="hope-drawer__content";function yu(e){const t=bs().Drawer,n=uu(),r=eu(),[o,i]=ve(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:a,ariaLabelledBy:s,ariaDescribedBy:l,onDialogClick:c}=du(o);return pe(Sr,{get name(){return(()=>{if(n.disableMotion)return"hope-none";switch(n.placement){case"top":return na.slideInTop;case"right":return na.slideInRight;case"bottom":return na.slideInBottom;case"left":return na.slideInLeft}})()},appear:!0,get onAfterExit(){return r.unmountPortal},get children(){return pe(Te,{get when(){return r.state.opened},get children(){return pe(As,{ref:a,get class(){return _s(bu,oa({placement:n.placement}))},tabIndex:-1,get onMouseDown(){return r.onMouseDown},get onKeyDown(){return r.onKeyDown},get onClick(){return r.onOverlayClick},get children(){return pe(ws.section,be({get class(){return(()=>{const e=ia({size:n.size,placement:n.placement,fullHeight:n.fullHeight});return _s(o.class,vu,e)})()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},get id(){return r.state.dialogId},get role(){var e;return null!=(e=o.role)?e:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return s()},get"aria-describedby"(){return l()},onClick:c},i))}})}})}})}yu.toString=()=>Es(vu);const Eu="hope-drawer__overlay";function _u(e){const t=bs().Drawer,n=uu(),r=eu(),[o,i]=ve(e,["class"]);return pe(Sr,{get name(){return n.disableMotion?"hope-none":na.fade},appear:!0,get children(){return pe(Te,{get when(){return r.state.opened},get children(){return pe(As,be({get class(){return _s(o.class,Eu,Vi())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.overlay}},i))}})}})}_u.toString=()=>Es(Eu);const Su="hope-flex";function ku(e){const[t,n]=ve(e,["class","direction","wrap"]);return pe(As,be({get class(){return _s(t.class,Su)},display:"flex",get flexDirection(){return t.direction},get flexWrap(){return t.wrap}},n))}ku.toString=()=>Es(Su);const Tu="hope-form-helper-text";function wu(e){const t=bs().FormControl,n=Ac(),[r,o]=ve(e,["ref","id","class"]);return L(()=>null==n?void 0:n.setHasHelperText(!0)),D(()=>null==n?void 0:n.setHasHelperText(!1)),pe(As,be({get id(){return null!=(e=r.id)?e:null==n?void 0:n.state.helperTextId;var e},get class(){return _s(r.class,Tu,Sc())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.helperText},get"data-disabled"(){return null==n?void 0:n.state["data-disabled"]},get"data-readonly"(){return null==n?void 0:n.state["data-readonly"]}},o))}wu.toString=()=>Es(Tu);const Au=He('<span role="presentation" aria-hidden="true">*</span>',2),Cu="hope-form-label";function xu(e){var t,n,r;const o=bs().FormControl,i=Ac(),a=be({withRequiredIndicator:null==(r=null==(n=null==(t=null==o?void 0:o.defaultProps)?void 0:t.label)?void 0:n.withRequiredIndicator)||r},e),[s,l]=ve(a,["id","for","class","children","withRequiredIndicator"]);return pe(ws.label,be({get id(){return null!=(e=s.id)?e:null==i?void 0:i.state.labelId;var e},get for(){return null!=(e=s.for)?e:null==i?void 0:i.state.id;var e},get class(){return _s(s.class,Cu,Ec())},get __baseStyle(){var e;return null==(e=null==o?void 0:o.baseStyle)?void 0:e.label},get"data-focus"(){return null==i?void 0:i.state["data-focus"]},get"data-disabled"(){return null==i?void 0:i.state["data-disabled"]},get"data-invalid"(){return null==i?void 0:i.state["data-invalid"]},get"data-readonly"(){return null==i?void 0:i.state["data-readonly"]}},l,{get children(){return[$e(()=>s.children),pe(Te,{get when(){return(null==i?void 0:i.state.required)&&s.withRequiredIndicator},get children(){const e=Au.cloneNode(!0);return w(()=>e.className=_c()),e}})]}}))}xu.toString=()=>Es(Cu);const Ou="hope-grid";function Iu(e){const[t,n]=ve(e,["class","autoFlow","autoColumns","autoRows","templateAreas","templateColumns","templateRows"]);return pe(As,be({get class(){return _s(t.class,Ou)},display:"grid",get gridAutoFlow(){return t.autoFlow},get gridAutoColumns(){return t.autoColumns},get gridAutoRows(){return t.autoRows},get gridTemplateAreas(){return t.templateAreas},get gridTemplateColumns(){return t.templateColumns},get gridTemplateRows(){return t.templateRows}},n))}function Nu(e){var t,n;if(null!=e)return n=e=>{switch(e){case"auto":return"auto";case"full":return"1 / -1";default:return`span ${e} / span ${e}`}},gi(t=e)?Object.keys(t).reduce((e,r)=>(e[r]=n(t[r]),e),{}):null!=t?n(t):null}Iu.toString=()=>Es(Ou);const Lu="hope-grid-item";function Du(e){const[t,n]=ve(e,["class","area","colSpan","colStart","colEnd","rowSpan","rowStart","rowEnd"]);return pe(As,be({get class(){return _s(t.class,Lu)},get gridArea(){return t.area},get gridColumn(){return Nu(t.colSpan)},get gridRow(){return Nu(t.rowSpan)},get gridColumnStart(){return t.colStart},get gridColumnEnd(){return t.colEnd},get gridRowStart(){return t.rowStart},get gridRowEnd(){return t.rowEnd}},n))}Du.toString=()=>Es(Lu);const Ru="hope-simple-grid";function Mu(e){const[t,n]=ve(e,["class","minChildWidth","columns"]),r=()=>t.minChildWidth?hs(t.minChildWidth,e=>bi(e)?null:`repeat(auto-fit, minmax(${function(e){return"number"==typeof e?`${e}px`:e}(e)}, 1fr))`):hs(t.columns,e=>bi(e)?null:`repeat(${e}, minmax(0, 1fr))`);return pe(Iu,be({get class(){return _s(t.class,Ru)},get templateColumns(){return r()}},n))}Mu.toString=()=>Es(Ru);const Pu=Fi({variants:{size:{xs:{fontSize:"$xs",lineHeight:"$4"},sm:{fontSize:"$sm",lineHeight:"$5"},base:{fontSize:"$base",lineHeight:"$6"},lg:{fontSize:"$lg",lineHeight:"$7"},xl:{fontSize:"$xl",lineHeight:"$7"},"2xl":{fontSize:"$2xl",lineHeight:"$8"},"3xl":{fontSize:"$3xl",lineHeight:"$9"},"4xl":{fontSize:"$4xl",lineHeight:"$10"},"5xl":{fontSize:"$5xl",lineHeight:"$none"},"6xl":{fontSize:"$6xl",lineHeight:"$none"},"7xl":{fontSize:"$7xl",lineHeight:"$none"},"8xl":{fontSize:"$8xl",lineHeight:"$none"},"9xl":{fontSize:"$9xl",lineHeight:"$none"}}}}),Bu=Fi(Pu,{fontWeight:"$semibold"}),$u="hope-heading";function Fu(e){var t,n;const r=bs().Heading,o=be({as:"h2",level:null==(t=null==r?void 0:r.defaultProps)?void 0:t.level,size:null==(n=null==r?void 0:r.defaultProps)?void 0:n.size},e),[i,a]=ve(o,["class","as","level","size"]);return pe(As,be({get as(){return i.level?`h${i.level}`:i.as},get class(){return _s(i.class,$u,Bu({size:i.size}))},get __baseStyle(){return null==r?void 0:r.baseStyle}},a))}function Hu(e){const t=bs().IconButton,n=Ol(),[r,o]=ve(e,["class","children","icon","variant","colorScheme","size","disabled"]);return pe(Bl,be({get class(){return _s(r.class,fl)},get __baseStyle(){return null==t?void 0:t.baseStyle},get variant(){return null!=(a=null!=(i=null!=(e=r.variant)?e:null==n?void 0:n.state.variant)?i:null==(o=null==t?void 0:t.defaultProps)?void 0:o.variant)?a:"solid";var e,o,i,a},get colorScheme(){return null!=(a=null!=(i=null!=(e=r.colorScheme)?e:null==n?void 0:n.state.colorScheme)?i:null==(o=null==t?void 0:t.defaultProps)?void 0:o.colorScheme)?a:"primary";var e,o,i,a},get size(){return null!=(a=null!=(i=null!=(e=r.size)?e:null==n?void 0:n.state.size)?i:null==(o=null==t?void 0:t.defaultProps)?void 0:o.size)?a:"md";var e,o,i,a},get disabled(){return null!=(e=r.disabled)?e:null==n?void 0:n.state.disabled;var e}},o,{get children(){return pe(Te,{get when(){return r.icon},get fallback(){return r.children},get children(){return r.icon}})}}))}Fu.toString=()=>Es($u),Hu.toString=()=>Es(fl);const zu="hope-image";function Uu(e){const[t,n,r]=ve(e,["class","htmlWidth","htmlHeight","fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],["onError","onLoad"]),o=()=>null!=t.loading||t.ignoreFallback||void 0===t.fallbackSrc&&void 0===t.fallback,i=C(()=>zl(hi(pi({},e),{ignoreFallback:o()}))),a=()=>pi(pi({objectFit:t.fit,objectPosition:t.align,width:t.htmlWidth,height:t.htmlHeight},o()?n:{}),r);return pe(Te,{get when(){return"loaded"===i()()},get fallback(){return pe(Te,{get when(){return t.fallback},get fallback(){return pe(As,be({as:"img",get src(){return t.fallbackSrc},class:"hope-image__placeholder"},a))},get children(){return t.fallback}})},get children(){return pe(As,be({as:"img",get src(){return t.src},get srcSet(){return t.srcSet},get crossOrigin(){return t.crossOrigin},get loading(){return t.loading},get class(){return _s(t.class,zu)}},a))}})}Uu.toString=()=>Es(zu);const ju=z(),Gu="hope-input";function Wu(e){const t=bs().Input,n=U(ju),r=Cc(e),[o,i]=ve(e,["class","htmlSize","variant","size"]);return pe(ws.input,be({type:"text",get class(){return _s(o.class,Gu,Ua({variant:null!=(s=null!=(a=null!=(e=o.variant)?e:null==n?void 0:n.state.variant)?a:null==(i=null==(r=null==t?void 0:t.defaultProps)?void 0:r.input)?void 0:i.variant)?s:"outline",size:null!=(p=null!=(d=null!=(l=o.size)?l:null==n?void 0:n.state.size)?d:null==(u=null==(c=null==t?void 0:t.defaultProps)?void 0:c.input)?void 0:u.size)?p:"md",withLeftElement:null!=(h=null==n?void 0:n.state.hasLeftElement)&&h,withRightElement:null!=(f=null==n?void 0:n.state.hasRightElement)&&f,withLeftAddon:null!=(g=null==n?void 0:n.state.hasLeftAddon)&&g,withRightAddon:null!=(m=null==n?void 0:n.state.hasRightAddon)&&m}));var e,r,i,a,s,l,c,u,d,p,h,f,g,m},get size(){return o.htmlSize},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.input}},r,i))}Wu.toString=()=>Es(Gu);const qu=Fi({borderRadius:"$md",borderColor:"$neutral7",borderWidth:"1px",borderBottomWidth:"3px",backgroundColor:"$neutral2",px:"0.4em",fontFamily:"$mono",fontSize:"0.8em",fontWeight:"$bold",lineHeight:"$normal",whiteSpace:"nowrap"}),Vu="hope-kbd";function Yu(e){const t=bs().Kbd,[n,r]=ve(e,["class"]);return pe(ws.kbd,be({get class(){return _s(n.class,Vu,qu())},get __baseStyle(){return null==t?void 0:t.baseStyle}},r))}Yu.toString=()=>Es(Vu);const Ku=Fi({listStyleType:"none"});Fi({marginEnd:"0.5rem"});const Xu="hope-list",Qu="& > *:not(style) ~ *:not(style)";function Zu(e){const[t,n]=ve(e,["class","styleType","stylePosition","spacing"]);return pe(ws.ul,be({role:"list",get class(){return _s(t.class,Xu,Ku({css:pi({listStyleType:t.styleType,listStylePosition:t.stylePosition},t.spacing?{[Qu]:{mt:t.spacing}}:{})}))}},n))}Zu.toString=()=>Es(Xu);const Ju="hope-list__item";function ed(e){const[t,n]=ve(e,["class"]);return pe(ws.li,be({get class(){return _s(t.class,Ju)}},n))}ed.toString=()=>Es(Ju);var td=(e=>(e[e.Close=0]="Close",e[e.SelectAndClose=1]="SelectAndClose",e[e.First=2]="First",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Open=5]="Open",e[e.OpenAndFocusLast=6]="OpenAndFocusLast",e[e.Previous=7]="Previous",e[e.Select=8]="Select",e[e.Type=9]="Type",e))(td||{});function nd(e=[],t,n=[]){return e.filter(e=>!e.disabled&&(0===e.textValue.toLowerCase().indexOf(t.toLowerCase())&&n.indexOf(e.textValue)<0))}function rd(e,t,n){switch(n){case 2:return 0;case 3:return t;case 7:return e-1<0?t:e-1;case 4:return e+1>t?0:e+1;default:return e}}function od(e){const t=`hope-menu-${_e()}`,n=bs().Menu,[r,o]=k([]),[i,a]=nn({get triggerId(){var n;return null!=(n=e.id)?n:`${t}-trigger`},get menuContentId(){return`${t}-content`},get labelIdPrefix(){return`${t}-label`},get itemIdPrefix(){return`${t}-item`},get activeDescendantId(){return this.opened?`${this.itemIdPrefix}-${this.activeIndex}`:void 0},get closeOnSelect(){var t,r,o,i;return null==(i=null!=(o=e.closeOnSelect)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnSelect)||i},get motionPreset(){var t,r,o,i,a;return e.motionPreset?e.motionPreset:(null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?null==(i=null==(o=null==n?void 0:n.defaultProps)?void 0:o.root)?void 0:i.motionPreset:(null==(a=e.placement)?void 0:a.startsWith("top"))?"scale-bottom-left":"scale-top-left"},get items(){return r()},opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let s,l,c;const u=async()=>{var t,r,o,i,a,c,u,d;if(!s||!l)return;const{x:p,y:h}=await oi(s,l,{placement:null!=(i=null!=(o=e.placement)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.placement)?i:"bottom-start",middleware:[wo(null!=(d=null!=(u=e.offset)?u:null==(c=null==(a=null==n?void 0:n.defaultProps)?void 0:a.root)?void 0:c.offset)?d:5),_o(),Ao()]});l&&Object.assign(l.style,{left:`${Math.round(p)}px`,top:`${Math.round(h)}px`})},d=e=>{a("activeIndex",e)},p=e=>i.items[e].disabled,h=e=>{var t;d(e);const n=i.items[e];null==(t=n.onSelect)||t.call(n),n.closeOnSelect?m(!1):f()},f=()=>{null==s||s.focus()},g=e=>{m(!0);const t=(e=>{i.searchTimeoutId&&window.clearTimeout(i.searchTimeoutId);const t=window.setTimeout(()=>{a("searchString","")},500);return a("searchTimeoutId",t),a("searchString",t=>t+e),i.searchString})(e),n=function(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],o=nd(r,t)[0];if(o)return e.indexOf(o);if((i=t.split("")).every(e=>e===i[0])){const n=nd(r,t[0]);return e.indexOf(n[0])}return-1;var i}(i.items,t,i.activeIndex+1);n>=0?d(n):(window.clearTimeout(i.searchTimeoutId),a("searchString",""))},m=(e,t=!0,n=!1)=>{i.opened!==e&&(a("opened",e),a("activeIndex",n?i.items.length-1:0),i.opened?(u(),s&&l&&(c=ri(s,l,u))):null==c||c(),t&&f())},b=()=>i.opened,v={state:i,isItemActiveDescendant:e=>e===i.activeIndex,assignTriggerRef:e=>{s=e},assignContentRef:e=>{l=e},registerItem:e=>{const t=i.items.findIndex(t=>t.key===e.key);return-1!=t?t:o(t=>[...t,e]).length-1},scrollToItem:e=>{l&&Ls(l)&&Ds(e,l)},onTriggerBlur:e=>{Is(s,Ns(e))||(i.ignoreBlur?a("ignoreBlur",!1):i.opened&&m(!1,!1))},onTriggerClick:()=>{m(!i.opened,!1)},onTriggerKeyDown:e=>{const{key:t}=e,n=i.items.length-1,r=function(e,t){const{key:n,altKey:r,ctrlKey:o,metaKey:i}=e;if(!t&&["ArrowDown","Enter"," "].includes(n))return 5;if(!t&&"ArrowUp"===n)return 6;if("Home"===n)return 2;if("End"===n)return 3;if("Backspace"===n||"Clear"===n||1===n.length&&" "!==n&&!r&&!o&&!i)return 9;if(t){if("ArrowDown"===n)return 4;if("ArrowUp"===n)return 7;if("Escape"===n)return 0;if("Enter"===n||" "===n)return 1}}(e,i.opened);switch(r){case td.Last:case td.First:case td.Next:case td.Previous:return e.preventDefault(),d(function(e){const{currentIndex:t,maxIndex:n,initialAction:r,isItemDisabled:o}=e;let i=rd(t,n,r);for(;o(i);){let e=r;const o=i===n;if(2===r&&(e=4),3===r&&(e=7),7===r&&0===i){i=t;break}if(4===r&&o){i=t;break}i=rd(i,n,e)}return i}({currentIndex:i.activeIndex,maxIndex:n,initialAction:r,isItemDisabled:p}));case td.SelectAndClose:return e.preventDefault(),void h(i.activeIndex);case td.Close:return e.preventDefault(),m(!1);case td.Type:return g(t);case td.Open:return e.preventDefault(),m(!0);case td.OpenAndFocusLast:return e.preventDefault(),m(!0,!0,!0)}},onContentMouseLeave:()=>{d(-1)},onContentClickOutside:e=>{Is(s,e)||m(!1,!1)},onItemClick:e=>{i.items[e].disabled?f():h(e)},onItemMouseMove:e=>{i.activeIndex!==e&&d(e)},onItemMouseDown:()=>{a("ignoreBlur",!0)}};return pe(id.Provider,{value:v,get children(){return pe(Te,{get when(){return Rs(e)},get fallback(){return e.children},get children(){var t;return null==(t=e.children)?void 0:t.call(e,{opened:b})}})}})}const id=z();function ad(){const e=U(id);if(!e)throw new Error("[Hope UI]: useMenuContext must be used within a `<Menu />` component");return e}function sd(e){const t=j(()=>e.children);return function(e){const[t,n]=nn({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),r=t=>{Os(t,e.element())&&n("isPointerDown",!0)},o=r=>{t.ignoreEmulatedMouseEvents?n("ignoreEmulatedMouseEvents",!1):t.isPointerDown&&e.handler&&Os(r,e.element())&&(n("isPointerDown",!1),e.handler(r))},i=r=>{n("ignoreEmulatedMouseEvents",!0),e.handler&&t.isPointerDown&&Os(r,e.element())&&(n("isPointerDown",!1),e.handler(r))};L(()=>{const t=xs(e.element());t.addEventListener("mousedown",r,!0),t.addEventListener("mouseup",o,!0),t.addEventListener("touchstart",r,!0),t.addEventListener("touchend",i,!0)}),D(()=>{const t=xs(e.element());t.removeEventListener("mousedown",r,!0),t.removeEventListener("mouseup",o,!0),t.removeEventListener("touchstart",r,!0),t.removeEventListener("touchend",i,!0)})}({element:()=>t(),handler:t=>e.onClickOutside(t)}),t}const ld="hope-menu__content";function cd(e){const t=bs().Menu,n=ad(),[r,o]=ve(e,["ref","class","children"]),[i,a]=k(!1);A(N(()=>n.state.opened,()=>{n.state.opened?a(!0):"none"===n.state.motionPreset&&a(!1)}));const s=()=>a(!1),l=j(()=>r.children),c=e=>{n.assignContentRef(e),mi(r.ref)?r.ref(e):r.ref=e},u=e=>{n.onContentClickOutside(e.target)};return pe(Te,{get when(){return i()},get children(){return pe(lt,{get children(){return pe(Sr,{get name(){return(()=>{switch(n.state.motionPreset){case"scale-top-left":return aa.scaleTopLeft;case"scale-top-right":return aa.scaleTopRight;case"scale-bottom-left":return aa.scaleBottomLeft;case"scale-bottom-right":return aa.scaleBottomRight;case"none":return"hope-none"}})()},appear:!0,onAfterExit:s,get children(){return pe(Te,{get when(){return n.state.opened},get children(){return pe(sd,{onClickOutside:u,get children(){return pe(As,be({role:"menu",tabindex:"-1",ref:c,get id(){return n.state.menuContentId},get"aria-activedescendant"(){return n.state.activeDescendantId},get"aria-labelledby"(){return n.state.triggerId},"aria-orientation":"vertical",get class(){return _s(r.class,ld,ua())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},get onMouseLeave(){return n.onContentMouseLeave}},o,{get children(){return l()}}))}})}})}})}})}})}cd.toString=()=>Es(ld);const ud=z(),dd="hope-menu__group";function pd(e){const t=bs().Menu,[n,r]=k(),[o,i]=ve(e,["class","children"]),a={setAriaLabelledBy:r};return pe(ud.Provider,{value:a,get children(){return pe(As,be({role:"group",get"aria-labelledby"(){return n()},get class(){return _s(o.class,dd,da())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.group}},i,{get children(){return o.children}}))}})}pd.toString=()=>Es(dd);const hd="hope-menu__item",fd="hope-menu__item__icon-wrapper",gd="hope-menu__item__text",md="hope-menu__item__command";function bd(e){const t=_e(),n=bs().Menu,r=ad(),[o,i]=k(-1);let a;const[s,l]=ve(e,["ref","class","children","colorScheme","icon","iconSpacing","command","commandSpacing","textValue","disabled","closeOnSelect","onSelect","onClick"]),c=()=>r.isItemActiveDescendant(o());return L(()=>{var e,n;i(r.registerItem({key:t,textValue:null!=(n=null!=(e=s.textValue)?e:null==a?void 0:a.textContent)?n:"",disabled:!!s.disabled,closeOnSelect:null!=s.closeOnSelect?!!s.closeOnSelect:r.state.closeOnSelect,onSelect:s.onSelect}))}),A(()=>{c()&&a&&r.scrollToItem(a)}),pe(As,be({ref:e=>{a=e,mi(s.ref)?s.ref(e):s.ref=e},role:"menuitem",get id(){return`${r.state.itemIdPrefix}-${o()}`},get"data-active"(){return c()?"":void 0},get"data-disabled"(){return s.disabled?"":void 0},"data-group":!0,get class(){return _s(s.class,hd,fa({colorScheme:s.colorScheme}))},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.item},onClick:e=>{e.stopPropagation(),r.onItemClick(o())},onMouseMove:e=>{if(s.disabled&&r.onItemMouseMove(-1),c()||s.disabled)return e.preventDefault(),void e.stopPropagation();r.onItemMouseMove(o())},get onMouseDown(){return r.onItemMouseDown}},l,{get children(){return[pe(Te,{get when(){return s.icon},get children(){return pe(ws.span,{"aria-hidden":"true",get class(){return _s(fd,ga())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.itemIconWrapper},get mr(){var e;return null!=(e=s.iconSpacing)?e:"0.5rem"},get children(){return s.icon}})}}),pe(Te,{get when(){return s.children},get children(){return pe(ws.span,{get class(){return _s(gd,ma())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.itemText},get children(){return s.children}})}}),pe(Te,{get when(){return s.command},get children(){return pe(ws.span,{get class(){return _s(md,ba())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.itemCommand},get ml(){var e;return null!=(e=s.commandSpacing)?e:"0.5rem"},get children(){return s.command}})}})]}}))}bd.toString=()=>Es(hd);const vd="hope-menu__label";function yd(e){const t=_e(),n=bs().Menu,r=ad(),o=U(ud),[i,a]=ve(e,["class","id"]),s=()=>{var e;return null!=(e=i.id)?e:`${r.state.labelIdPrefix}-${t}`};return L(()=>{null==o||o.setAriaLabelledBy(s())}),pe(As,be({get id(){return s()},get class(){return _s(i.class,vd,pa())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.label}},a))}yd.toString=()=>Es(vd);const Ed="hope-menu__trigger";function _d(e){const t=bs().Menu,n=ad(),[r,o]=ve(e,["ref","class","onClick","onKeyDown","onBlur"]);return pe(ws.button,be({ref:e=>{n.assignTriggerRef(e),mi(r.ref)?r.ref(e):r.ref=e},get id(){return n.state.triggerId},type:"button","aria-haspopup":"menu",get"aria-controls"(){return n.state.menuContentId},get"aria-expanded"(){return n.state.opened},get class(){return _s(r.class,Ed,ca())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.trigger},onClick:e=>{yi(n.onTriggerClick,r.onClick)(e)},onKeyDown:e=>{yi(n.onTriggerKeyDown,r.onKeyDown)(e)},onBlur:e=>{yi(n.onTriggerBlur,r.onBlur)(e)}},o))}_d.toString=()=>Es(Ed);const Sd="hope-notification";function kd(e){const t=bs().Notification,n=be({},e),[r,o]=ve(n,["class","status"]),i={status:()=>r.status};return pe(Td.Provider,{value:i,get children(){return pe(As,be({role:"alert",get class(){return _s(r.class,Sd,Aa({status:r.status}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.root}},o))}})}kd.toString=()=>Es(Sd);const Td=z(),wd="hope-ui:show-notification",Ad="hope-ui:update-notification",Cd="hope-ui:hide-notification",xd="hope-ui:clear-notifications",Od="hope-ui:clear-notifications-queue";function Id(e,t){return new CustomEvent(e,{detail:t})}const Nd={show:function(e){window.dispatchEvent(Id(wd,e))},update:function(e){window.dispatchEvent(Id(Ad,e))},hide:function(e){window.dispatchEvent(Id(Cd,e))},clear:function(){window.dispatchEvent(Id(xd))},clearQueue:function(){window.dispatchEvent(Id(Od))}},Ld="hope-notification__description";function Dd(e){const t=bs().Notification,[n,r]=ve(e,["class"]);return pe(As,be({get class(){return _s(n.class,Ld,Ia())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.description}},r))}Dd.toString=()=>Es(Ld);const Rd="hope-notification__icon";function Md(e){const t=bs().Notification,{status:n}=function(){const e=U(Td);if(!e)throw new Error("[Hope UI]: useNotificationContext must be used within an `<Notification />` component");return e}(),r=be({boxSize:"$7"},e),[o,i]=ve(r,["as","class"]);return pe(Fs,be({get as(){return(()=>{if(o.as)return o.as;switch(n()){case"success":return Js;case"info":return al;case"warning":return rl;case"danger":return tl}})()},get class(){return _s(o.class,Rd,xa({status:n()}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.icon}},i))}Md.toString=()=>Es(Rd);const Pd="hope-notification__title";function Bd(e){const t=bs().Notification,[n,r]=ve(e,["class"]);return pe(As,be({get class(){return _s(n.class,Pd,Oa())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.title}},r))}Bd.toString=()=>Es(Pd);const $d=Fi({display:"flex"}),Fd="hope-stack";function Hd(e){const[t,n]=ve(e,["class","direction","wrap","spacing"]);return pe(As,be({get class(){return _s(t.class,Fd,$d())},get flexDirection(){return t.direction},get flexWrap(){return t.wrap},get gap(){return t.spacing}},n))}function zd(e){const[t,n]=ve(e,["spacing"]);return pe(Hd,be({direction:"row",alignItems:"center",get columnGap(){return t.spacing}},n))}function Ud(e){const[t,n]=ve(e,["spacing"]);return pe(Hd,be({direction:"column",alignItems:"center",get rowGap(){return t.spacing}},n))}Hd.toString=()=>Es(Fd),zd.toString=()=>Es(Fd),Ud.toString=()=>Es(Fd);const jd=z();function Gd(e){const t=function(){const e=U(jd);if(!e)throw new Error("[Hope UI]: useNotificationsProviderContext must be used within a `<NotificationsProvider />` component");return e}(),[n]=ve(e,["render","id","status","title","description","duration","persistent","closable","loading","onMouseEnter","onMouseLeave"]);let r;const o=()=>{r&&window.clearTimeout(r)},i=()=>{o(),t.hideNotification(n.id)},a=()=>{n.persistent||null==n.duration||(r=window.setTimeout(i,n.duration))};return L(()=>{a()}),D(()=>{o()}),pe(Te,{get when(){return n.render},get fallback(){return pe(kd,{get status(){return n.status},get pr(){return n.closable?"$9":"$3"},onMouseEnter:o,onMouseLeave:a,get children(){return[pe(Te,{get when(){return n.status&&!n.loading},get children(){return pe(Md,{mr:"$2_5"})}}),pe(Te,{get when(){return n.loading},get children(){return pe(Dl,{color:"$primary10",boxSize:"$8",mr:"$2_5",get class(){return Ca()}})}}),pe(we,{get children(){return[pe(Ae,{get when(){return n.title&&n.description},get children(){return pe(Ud,{alignItems:"flex-start",spacing:"$1",get children(){return[pe(Bd,{get children(){return n.title}}),pe(Dd,{get children(){return n.description}})]}})}}),pe(Ae,{get when(){return n.title},get children(){return pe(Bd,{get children(){return n.title}})}}),pe(Ae,{get when(){return n.description},get children(){return pe(Dd,{get children(){return n.description}})}})]}}),pe(Te,{get when(){return n.closable},get children(){return pe(Wc,{size:"sm",position:"absolute",top:"$1_5",right:"$1_5",onClick:i})}})]}})},get children(){return pe(ku,{w:"$full",justifyContent:"flex-end",onMouseEnter:o,onMouseLeave:a,get children(){var e;return null==(e=n.render)?void 0:e.call(n,{id:n.id,close:i})}})}})}function Wd(e){const[t]=ve(e,["children","placement","duration","persistent","closable","limit","zIndex"]),n=C(()=>{var e;return function(e){var t,n,r,o;const[i,a]=k(null!=(n=null==(t=e.initialValues)?void 0:t.slice(0,e.limit))?n:[]),[s,l]=k(null!=(o=null==(r=e.initialValues)?void 0:r.slice(e.limit))?o:[]),c=()=>e.limit;return{state:{current:i,queue:s,limit:c},add:(...e)=>{const t=[...i(),...s(),...e];a(t.slice(0,c())),l(t.slice(c()))},update:e=>{const t=e([...i(),...s()]);a(t.slice(0,c())),l(t.slice(c()))},clearQueue:()=>{l([])}}}({initialValues:[],limit:null!=(e=t.limit)?e:10})}),r=()=>{var e;return null!=(e=t.placement)?e:"top-end"},o=e=>{var r,o,i,a,s,l,c;const u=null!=(r=e.id)?r:`hope-notification-${_e()}`,d=null!=(i=null!=(o=e.persistent)?o:t.persistent)&&i,p=null!=(s=null!=(a=e.duration)?a:t.duration)?s:5e3,h=null==(c=null!=(l=e.closable)?l:t.closable)||c;return n().update(t=>{if(e.id&&t.some(t=>t.id===e.id))return t;const n=hi(pi({},e),{id:u,persistent:d,duration:p,closable:h});return[...t,n]}),u},i=(e,t)=>{n().update(n=>{const r=n.findIndex(t=>t.id===e);if(-1===r)return n;const o=[...n];return o[r]=t,o})},a=e=>{n().update(t=>t.filter(t=>{var n;return t.id!==e||(null==(n=t.onClose)||n.call(t,t.id),!1)}))},s=()=>n().update(()=>[]),l=()=>n().clearQueue(),c={notifications:()=>n().state.current(),queue:()=>n().state.queue(),showNotification:o,updateNotification:i,hideNotification:a,clear:s,clearQueue:l},u=e=>o(e.detail),d=e=>i(e.detail.id,e.detail),p=e=>a(e.detail);return L(()=>{window.addEventListener(wd,u),window.addEventListener(Ad,d),window.addEventListener(Cd,p),window.addEventListener(xd,s),window.addEventListener(Od,l)}),D(()=>{window.removeEventListener(wd,u),window.removeEventListener(Ad,d),window.removeEventListener(Cd,p),window.removeEventListener(xd,s),window.removeEventListener(Od,l)}),pe(jd.Provider,{value:c,get children(){return[pe(lt,{get children(){return pe(As,{get class(){return _s("hope-notification__list",wa({placement:r()}))},get zIndex(){return t.zIndex},get children(){return pe(kr,{get name(){return(()=>{switch(r()){case"top-start":case"bottom-start":return Sa;case"top":return ya;case"top-end":case"bottom-end":default:return Ea;case"bottom":return _a}})()},get children(){return pe(ke,{get each(){return c.notifications()},children:e=>pe(Gd,e)})}})}})}}),$e(()=>t.children)]}})}const qd=e=>e.hasAttribute("tabindex");function Vd(e){return!(!e.parentElement||!Vd(e.parentElement))||e.hidden}const Yd=z();function Kd(){const e=U(Yd);if(!e)throw new Error("[Hope UI]: usePopoverContext must be used within a `<Popover />` component");return e}const Xd="hope-popover__arrow";function Qd(e){const t=bs().Popover,n=Kd(),[r,o]=ve(e,["class"]),i=C(()=>n.state.finalPlacement.split("-")[0]);return pe(As,be({ref(e){const t=n.assignArrowRef;"function"==typeof t?t(e):n.assignArrowRef=e},get class(){return _s(r.class,Xd,Pa({popoverPlacement:i()}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.arrow}},o))}Qd.toString=()=>Es(Xd);const Zd="hope-popover__body";function Jd(e){const t=bs().Popover,n=Kd(),[r,o]=ve(e,["class"]);return L(()=>n.setBodyMounted(!0)),D(()=>n.setBodyMounted(!1)),pe(As,be({get class(){return _s(r.class,Zd,Ma())},get id(){return n.state.bodyId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.body}},o))}Jd.toString=()=>Es(Zd);const ep="hope-popover__content";function tp(e){const t=bs().Popover,n=Kd(),[r,o]=k(!1),[i,a]=ve(e,["ref","class","onKeyDown","onFocusOut","onMouseEnter","onMouseLeave"]),s=e=>{n.assignPopoverRef(e),mi(i.ref)?i.ref(e):i.ref=e},l=e=>{n.state.closeOnEsc&&"Escape"===e.key&&n.closeWithDelay()},c=e=>{yi(i.onKeyDown,l)(e)},u=e=>{yi(i.onFocusOut,n.onPopoverFocusOut)(e)},d=e=>{vi(i.onMouseEnter,e),n.setIsHovering(!0)},p=e=>{vi(i.onMouseLeave,e),n.onPopoverMouseLeave()},h=()=>{document.addEventListener("keydown",l),n.afterPopoverOpen()},f=()=>{document.removeEventListener("keydown",l),n.afterPopoverClose(),o(!1)};return A(()=>{n.state.opened?o(!0):"none"===n.state.motionPreset&&o(!1)}),pe(Te,{get when(){return r()},get children(){return pe(lt,{get children(){return pe(Sr,{get name(){return(()=>{switch(n.state.motionPreset){case"scale":return Na.scale;case"none":return"hope-none"}})()},appear:!0,get onBeforeEnter(){return n.updatePopoverPosition},onAfterEnter:h,onAfterExit:f,get children(){return pe(Te,{get when(){return n.state.opened},get children(){return pe(ws.section,be({ref:s,tabIndex:-1,get id(){return n.state.contentId},get role(){return n.state.triggerOnHover?"tooltip":"dialog"},get"aria-labelledby"(){return n.state.headerMounted?n.state.headerId:void 0},get"aria-describedby"(){return n.state.bodyMounted?n.state.bodyId:void 0},get class(){return _s(i.class,ep,Da())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},onKeyDown:c,onFocusOut:u,get onMouseEnter(){return n.state.triggerOnHover?d:void 0},get onMouseLeave(){return n.state.triggerOnHover?p:void 0}},a))}})}})}})}})}tp.toString=()=>Es(ep);const np="hope-popover__header";function rp(e){const t=bs().Popover,n=Kd(),[r,o]=ve(e,["class"]);return L(()=>n.setHeaderMounted(!0)),D(()=>n.setHeaderMounted(!1)),pe(As,be({get class(){return _s(r.class,np,Ra())},get id(){return n.state.headerId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.header}},o))}rp.toString=()=>Es(np);const op=Gi({"0%":{left:"-40%"},"100%":{left:"100%"}}),ip=Gi({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}}),ap=Fi({position:"relative",overflow:"hidden",variants:{size:{xs:{height:"$1",fontSize:"4px"},sm:{height:"$2",fontSize:"6px"},md:{height:"$3",fontSize:"8px"},lg:{height:"$4",fontSize:"10px"}}}}),sp=Fi({position:"relative",height:"100%",transition:"width 600ms ease",variants:{striped:{true:{}},animated:{true:{}},indeterminate:{true:{position:"absolute",willChange:"left",minWidth:"50%",animation:`${op} 1200ms ease infinite normal none running`}}},compoundVariants:[{indeterminate:!1,striped:!0,css:{backgroundImage:"linear-gradient(45deg, $colors$progressStripe 25%, transparent 25%, transparent 50%, $colors$progressStripe 50%, $colors$progressStripe 75%, transparent 75%, transparent)",backgroundSize:"1rem 1rem"}},{indeterminate:!1,striped:!0,animated:!0,css:{animation:`${ip} 750ms linear infinite`}}]}),lp=Fi({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"}),cp=z(),up="hope-progress";function dp(e){var t,n,r,o,i,a;const s=bs().Progress,[l]=nn({get min(){var t;return null!=(t=e.min)?t:0},get max(){var t;return null!=(t=e.max)?t:100},get value(){var t;return null!=(t=e.value)?t:0},get percent(){return e=this.value,t=this.min,n=this.max,100*(e-t)/(n-t);var e,t,n},get indeterminate(){var t;return null!=(t=e.indeterminate)&&t},get ariaValueText(){var t;if(!this.indeterminate)return mi(this.getValueText)?this.getValueText(this.value,this.percent):null!=(t=e.valueText)?t:`${this.percent}%`},get getValueText(){return e.getValueText}}),c=be({size:null!=(r=null==(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t.root)?void 0:n.size)?r:"md",trackColor:null!=(a=null==(i=null==(o=null==s?void 0:s.defaultProps)?void 0:o.root)?void 0:i.trackColor)?a:"$neutral4"},e),[u,d,p]=ve(c,["class","size","trackColor"],["min","max","value","indeterminate","valueText","getValueText"]),h={state:l};return pe(cp.Provider,{value:h,get children(){return pe(As,be({role:"progressbar",get"data-indeterminate"(){return l.indeterminate?"":void 0},get"aria-valuemin"(){return l.min},get"aria-valuemax"(){return l.max},get"aria-valuenow"(){return l.indeterminate?void 0:l.value},get"aria-valuetext"(){return l.ariaValueText},get class(){return _s(u.class,up,ap({size:u.size}))},get __baseStyle(){var e;return null==(e=null==s?void 0:s.baseStyle)?void 0:e.root},get backgroundColor(){return u.trackColor}},p))}})}function pp(){const e=U(cp);if(!e)throw new Error("[Hope UI]: useProgressContext must be used within a `<Progress />` component");return e}dp.toString=()=>Es(up);const hp="hope-progress__indicator";function fp(e){const t=bs().Progress,n=pp(),r=be({color:"$primary9"},e),[o,i]=ve(r,["class","color","striped","animated"]);return pe(As,be({get class(){return _s(o.class,hp,sp({striped:o.striped,animated:o.animated,indeterminate:!0===n.state.indeterminate,css:hi(pi({},n.state.indeterminate?{backgroundImage:`linear-gradient(to right, transparent 0%, ${o.color} 50%, transparent 100%)`}:{backgroundColor:o.color}),{width:`${n.state.percent}%`})}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.indicator}},i))}fp.toString=()=>Es(hp);const gp="hope-progress__label";function mp(e){const t=bs().Progress,n=pp(),[r,o]=ve(e,["class","children"]);return pe(As,be({get class(){return _s(r.class,gp,lp())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.label}},o,{get children(){return pe(Te,{get when(){return r.children},get fallback(){return n.state.ariaValueText},get children(){return r.children}})}}))}mp.toString=()=>Es(gp);const bp=Fi(dc,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),vp=Fi(pc),yp=Fi(hc,{borderRadius:"$full","&[data-checked]::before":{content:"",display:"inline-block",position:"relative",boxSize:"calc(50% + 1px)",borderRadius:"$full",backgroundColor:"$loContrast"}}),Ep="hope-radio-group";function _p(e){const t=`hope-radio-group-${_e()}--radio`,n=bs().Radio,[r,o]=nn({_value:e.defaultValue,get isControlled(){return void 0!==e.value},get value(){return this.isControlled?e.value:this._value},get name(){var n;return null!=(n=e.name)?n:t},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get variant(){var t,r,o;return null!=(o=e.variant)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.group)?void 0:r.variant},get colorScheme(){var t,r,o;return null!=(o=e.colorScheme)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.group)?void 0:r.colorScheme},get size(){var t,r,o;return null!=(o=e.size)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.group)?void 0:r.size}}),[i,a,s]=ve(e,["class","onChange"],["value","defaultValue","name","required","disabled","readOnly","invalid"]),l={state:r,onChange:e=>{var t;const n=e.target.value;o("_value",n),null==(t=i.onChange)||t.call(i,String(n))}};return pe(Sp.Provider,{value:l,get children(){return pe(As,be({role:"radiogroup",get class(){return _s(i.class,Ep)},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.group}},s))}})}_p.toString=()=>Es(Ep);const Sp=z(),kp=He('<input type="radio">',1),Tp="hope-radio",wp="hope-radio__input",Ap="hope-radio__control",Cp="hope-radio__label";function xp(e){const t=`hope-radio-${_e()}`,n=bs().Radio,r=Ac(),o=U(Sp),i=Cc(e),[a,s]=nn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return void 0!==e.checked},get checked(){if(o){const t=o.state.value;return null!=t&&String(e.value)===String(t)}return this.isControlled?!!e.checked:this._checked},get variant(){var t,r,i,a,s,l;return null!=(l=null!=(s=null!=(r=e.variant)?r:null==(t=null==o?void 0:o.state)?void 0:t.variant)?s:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.variant)?l:"outline"},get colorScheme(){var t,r,i,a,s,l;return null!=(l=null!=(s=null!=(r=e.colorScheme)?r:null==(t=null==o?void 0:o.state)?void 0:t.colorScheme)?s:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.colorScheme)?l:"primary"},get size(){var t,r,i,a,s,l;return null!=(l=null!=(s=null!=(r=e.size)?r:null==(t=null==o?void 0:o.state)?void 0:t.size)?s:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.size)?l:"md"},get labelPlacement(){var t,r,i,a,s,l;return null!=(l=null!=(s=null!=(r=e.labelPlacement)?r:null==(t=null==o?void 0:o.state)?void 0:t.labelPlacement)?s:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.labelPlacement)?l:"end"},get id(){var n;return r&&!o?i.id:null!=(n=e.id)?n:t},get name(){var t;return null!=(t=e.name)?t:null==o?void 0:o.state.name},get value(){return e.value},get required(){var e;return null!=(e=i.required)?e:null==o?void 0:o.state.required},get disabled(){var e;return null!=(e=i.disabled)?e:null==o?void 0:o.state.disabled},get invalid(){var e;return null!=(e=i.invalid)?e:null==o?void 0:o.state.invalid},get readOnly(){var e;return null!=(e=i.readOnly)?e:null==o?void 0:o.state.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||void 0},get"aria-label"(){return e["aria-label"]},get"aria-labelledby"(){return e["aria-labelledby"]},get"aria-describedby"(){return e["aria-describedby"]},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[l,c,u]=ve(e,["class","children","ref","tabIndex","onChange"],["variant","colorScheme","size","labelPlacement","id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),d=e=>{if(a.readOnly||a.disabled)e.preventDefault();else{if(!a.isControlled){const t=e.target;s("_checked",t.checked)}yi(null==o?void 0:o.onChange,l.onChange)(e)}},p=e=>{s("isFocused",!0),vi(i.onFocus,e)},h=e=>{s("isFocused",!1),vi(i.onBlur,e)},f={state:a,onChange:d,onFocus:p,onBlur:h};return pe(Op.Provider,{value:f,get children(){return pe(ws.label,be({get class(){return _s(l.class,Tp,bp({size:a.size,labelPlacement:a.labelPlacement}))},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.root},get for(){return a.id},"data-group":!0,get"data-focus"(){return a["data-focus"]},get"data-checked"(){return a["data-checked"]},get"data-required"(){return a["data-required"]},get"data-disabled"(){return a["data-disabled"]},get"data-invalid"(){return a["data-invalid"]},get"data-readonly"(){return a["data-readonly"]}},u,{get children(){return[(()=>{const e=kp.cloneNode(!0);e.addEventListener("blur",h),e.addEventListener("focus",p),e.addEventListener("change",d);const t=l.ref;return"function"==typeof t?t(e):l.ref=e,w(t=>{const n=_s(wp,fs()),r=l.tabIndex,o=a.value,i=a.id,s=a.name,c=a.checked,u=a.required,d=a.disabled,p=a.readOnly,h=a["aria-required"],f=a["aria-disabled"],g=a["aria-invalid"],m=a["aria-readonly"],b=a["aria-label"],v=a["aria-labelledby"],y=a["aria-describedby"];return n!==t._v$&&(e.className=t._v$=n),r!==t._v$2&&Ue(e,"tabindex",t._v$2=r),o!==t._v$3&&(e.value=t._v$3=o),i!==t._v$4&&Ue(e,"id",t._v$4=i),s!==t._v$5&&Ue(e,"name",t._v$5=s),c!==t._v$6&&(e.checked=t._v$6=c),u!==t._v$7&&(e.required=t._v$7=u),d!==t._v$8&&(e.disabled=t._v$8=d),p!==t._v$9&&(e.readOnly=t._v$9=p),h!==t._v$10&&Ue(e,"aria-required",t._v$10=h),f!==t._v$11&&Ue(e,"aria-disabled",t._v$11=f),g!==t._v$12&&Ue(e,"aria-invalid",t._v$12=g),m!==t._v$13&&Ue(e,"aria-readonly",t._v$13=m),b!==t._v$14&&Ue(e,"aria-label",t._v$14=b),v!==t._v$15&&Ue(e,"aria-labelledby",t._v$15=v),y!==t._v$16&&Ue(e,"aria-describedby",t._v$16=y),t},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),e})(),pe(ws.span,be({"aria-hidden":!0,get class(){return _s(Ap,yp({variant:a.variant,colorScheme:a.colorScheme,size:a.size}))},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.control},get"data-focus"(){return a["data-focus"]},get"data-checked"(){return a["data-checked"]},get"data-required"(){return a["data-required"]},get"data-disabled"(){return a["data-disabled"]},get"data-invalid"(){return a["data-invalid"]},get"data-readonly"(){return a["data-readonly"]}},u)),pe(ws.span,{get class(){return _s(Cp,vp())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.label},get"data-focus"(){return a["data-focus"]},get"data-checked"(){return a["data-checked"]},get"data-required"(){return a["data-required"]},get"data-disabled"(){return a["data-disabled"]},get"data-invalid"(){return a["data-invalid"]},get"data-readonly"(){return a["data-readonly"]},get children(){return pe(Te,{get when(){return Rs(l)},get fallback(){return l.children},get children(){var e;return null==(e=l.children)?void 0:e.call(l,{checked:a.checked})}})}})]}}))}})}xp.toString=()=>Es(Tp);const Op=z();var Ip=(e=>(e[e.Close=0]="Close",e[e.SelectAndClose=1]="SelectAndClose",e[e.First=2]="First",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Open=5]="Open",e[e.Previous=6]="Previous",e[e.Select=7]="Select",e[e.Type=8]="Type",e))(Ip||{});function Np(e=[],t,n=[]){return e.filter(e=>!e.disabled&&(0===e.textValue.toLowerCase().indexOf(t.toLowerCase())&&n.indexOf(e.textValue)<0))}function Lp(e,t,n){switch(n){case 2:return 0;case 3:return t;case 6:return Math.max(0,e-1);case 4:return Math.min(t,e+1);default:return e}}function Dp(e,t){return String(e.value)===String(t.value)}function Rp(e){const t=`hope-select-${_e()}`,n=bs().Select,r=Cc(e),[o,i]=k(!1),[a,s]=k([]),[l,c]=nn({get isControlled(){return void 0!==e.value},get value(){var t;return this.isControlled?e.value:this.multiple?this.selectedOptions.map(e=>e.value):null!=(t=this.selectedOptions[0].value)?t:void 0},get multiple(){return e.multiple},get baseId(){var n,o;return null!=(o=null!=(n=e.id)?n:r.id)?o:t},get triggerId(){return`${this.baseId}-trigger`},get listboxId(){return`${this.baseId}-listbox`},get labelIdPrefix(){return`${this.baseId}-label`},get optionIdPrefix(){return`${this.baseId}-option`},get disabled(){var t;return null!=(t=e.disabled)?t:r.disabled},get invalid(){var t;return null!=(t=e.invalid)?t:r.invalid},get variant(){var t,r,o,i;return null!=(i=null!=(o=e.variant)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.variant)?i:"outline"},get size(){var t,r,o,i;return null!=(i=null!=(o=e.size)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.size)?i:"md"},get motionPreset(){var t,r,o,i;return null!=(i=null!=(o=e.motionPreset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?i:"fade-in-top"},get activeDescendantId(){return this.opened?`${this.optionIdPrefix}-${this.activeIndex}`:void 0},get hasSelectedOptions(){return this.selectedOptions.length>0},get options(){return a()},selectedOptions:[],opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let u,d,p,h;const f=async()=>{var t,r,o,i;if(!u||!d)return;const{x:a,y:s}=await oi(u,d,{placement:"bottom",middleware:[wo(null!=(i=null!=(o=e.offset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.offset)?i:5),_o(),Ao(),Co({apply({reference:e}){d&&Object.assign(d.style,{width:`${e.width}px`})}})]});d&&Object.assign(d.style,{left:`${Math.round(a)}px`,top:`${Math.round(s)}px`})},g=()=>{null==u||u.focus()},m=()=>{if(o())return;const t=(l.isControlled?null==e.value?[]:fi(e.value)?e.value:[e.value]:null==e.defaultValue?[]:fi(e.defaultValue)?e.defaultValue:[e.defaultValue]).map(e=>l.options.find(t=>t.value===e)).filter(Boolean);c("selectedOptions",e=>[...e,...t]),i(!0)},b=e=>{c("activeIndex",e)},v=e=>!(l.selectedOptions.length<=0)&&(l.multiple?!!l.selectedOptions.find(t=>Dp(e,t)):Dp(e,l.selectedOptions[0])),y=e=>{c("selectedOptions",t=>t.filter(t=>!Dp(e,t)))},E=()=>{var e;return l.multiple?l.selectedOptions.map(e=>e.value):null!=(e=l.selectedOptions[0].value)?e:void 0},_=t=>{var n;b(t),(e=>{const t=l.options[e];l.multiple?v(t)?y(t):c("selectedOptions",e=>[...e,t]):c("selectedOptions",[t])})(t),null==(n=e.onChange)||n.call(e,E())},S=t=>{var n;y(t),null==(n=e.onChange)||n.call(e,E()),g()},T=e=>l.options[e].disabled,w=e=>{if(r.readOnly)return;C(!0);const t=(e=>{l.searchTimeoutId&&window.clearTimeout(l.searchTimeoutId);const t=window.setTimeout(()=>{c("searchString","")},500);return c("searchTimeoutId",t),c("searchString",t=>t+e),l.searchString})(e),n=function(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],o=Np(r,t)[0];if(o)return e.indexOf(o);if((i=t.split("")).every(e=>e===i[0])){const n=Np(r,t[0]);return e.indexOf(n[0])}return-1;var i}(l.options,t,l.activeIndex+1);n>=0?b(n):(window.clearTimeout(l.searchTimeoutId),c("searchString",""))},C=(e,t=!0)=>{l.opened!==e&&(c("opened",e),l.selectedOptions.length>0?c("activeIndex",l.options.findIndex(e=>v(e))):c("activeIndex",0),l.opened?(f(),u&&d&&(h=ri(u,d,f))):null==h||h(),t&&g())},x=e=>{p&&Ls(p)&&Ds(e,p)};A(N(()=>l.options,()=>m(),{defer:!0})),A(N(()=>e.value,()=>{if(!l.isControlled)return;const t=(fi(e.value)?e.value:[e.value]).map(e=>l.options.find(t=>t.value===e)).filter(Boolean);c("selectedOptions",t)},{defer:!0})),A(N(()=>l.opened,e=>{e&&setTimeout(()=>{const e=null==p?void 0:p.querySelector("[role='option'][aria-selected='true']");e&&x(e)},0)}));const O={state:l,isOptionSelected:v,unselectOption:S,isOptionActiveDescendant:e=>e===l.activeIndex,formControlProps:r,assignTriggerRef:e=>{u=e},assignContentRef:e=>{d=e},assignListboxRef:e=>{p=e},registerOption:e=>{const t=l.options.findIndex(t=>Dp(t,e));return-1!=t?t:s(t=>[...t,e]).length-1},scrollToOption:x,onContentClickOutside:e=>{Is(u,e)||C(!1,!1)},onTriggerBlur:e=>{Is(u,Ns(e))||(l.ignoreBlur?c("ignoreBlur",!1):l.opened&&C(!1,!1))},onTriggerClick:()=>{r.readOnly||C(!l.opened,!1)},onTriggerKeyDown:e=>{if(r.readOnly)return;const{key:t}=e;if(l.hasSelectedOptions&&l.multiple&&"Backspace"===t)return void S(l.selectedOptions[l.selectedOptions.length-1]);const n=l.options.length-1,o=function(e,t){const{key:n,altKey:r,ctrlKey:o,metaKey:i}=e;if(!t&&["ArrowDown","ArrowUp","Enter"," "].includes(n))return 5;if("Home"===n||"PageUp"===n)return 2;if("End"===n||"PageDown"===n)return 3;if("Backspace"===n||"Clear"===n||1===n.length&&" "!==n&&!r&&!o&&!i)return 8;if(t){if("ArrowUp"===n&&r)return 1;if("ArrowDown"===n&&!r)return 4;if("ArrowUp"===n)return 6;if("Escape"===n)return 0;if("Enter"===n||" "===n)return 1}}(e,l.opened);switch(o){case Ip.Last:case Ip.First:C(!0);case Ip.Next:case Ip.Previous:return e.preventDefault(),b(function(e){const{currentIndex:t,maxIndex:n,initialAction:r,isOptionDisabled:o}=e;let i=Lp(t,n,r);for(;o(i);){let e=r;const o=i===n;if(2===r&&(e=4),3===r&&(e=6),6===r&&0===i){i=t;break}if(4===r&&o){i=t;break}i=Lp(i,n,e)}return i}({currentIndex:l.activeIndex,maxIndex:n,initialAction:o,isOptionDisabled:T}));case Ip.SelectAndClose:return e.preventDefault(),_(l.activeIndex),l.multiple?void 0:C(!1);case Ip.Close:return e.preventDefault(),C(!1);case Ip.Type:return w(t);case Ip.Open:return e.preventDefault(),C(!0)}},onOptionClick:e=>{l.options[e].disabled?g():(_(e),l.multiple?g():C(!1))},onOptionMouseMove:e=>{l.activeIndex!==e&&b(e)},onOptionMouseDown:()=>{c("ignoreBlur",!0)},onListboxMouseLeave:()=>{b(-1)}};return pe(Mp.Provider,{value:O,get children(){return e.children}})}const Mp=z();function Pp(){const e=U(Mp);if(!e)throw new Error("[Hope UI]: useSelectContext must be used within a `<Select />` component");return e}const Bp="hope-select__content";function $p(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["ref","class","children"]),[i,a]=k(!1);A(N(()=>n.state.opened,()=>{n.state.opened?a(!0):"none"===n.state.motionPreset&&a(!1)}));const s=()=>a(!1),l=j(()=>r.children),c=e=>{n.assignContentRef(e),mi(r.ref)?r.ref(e):r.ref=e},u=e=>{n.onContentClickOutside(e.target)};return pe(Te,{get when(){return i()},get children(){return pe(lt,{get children(){return pe(Sr,{get name(){return(()=>{switch(n.state.motionPreset){case"fade-in-top":return Ga.fadeInTop;case"none":return"hope-none"}})()},appear:!0,onAfterExit:s,get children(){return pe(Te,{get when(){return n.state.opened},get children(){return pe(sd,{onClickOutside:u,get children(){return pe(As,be({ref:c,get class(){return _s(r.class,Bp,es())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content}},o,{get children(){return l()}}))}})}})}})}})}})}$p.toString=()=>Es(Bp);const Fp=He('<svg><path d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),Hp=Hs({viewBox:"0 0 15 15",path:()=>Fp.cloneNode(!0)}),zp="hope-select__icon";function Up(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["class","rotateOnOpen"]);return pe(Hp,be({"aria-hidden":!0,get class(){return _s(r.class,zp,Ja(r.rotateOnOpen?{opened:n.state.opened}:void 0))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.icon}},o))}Up.toString=()=>Es(zp);const jp="hope-select__listbox";function Gp(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["ref","class"]);return pe(As,be({ref:e=>{n.assignListboxRef(e),mi(r.ref)?r.ref(e):r.ref=e},role:"listbox",tabindex:"-1",get id(){return n.state.listboxId},get class(){return _s(r.class,jp,ts())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.listbox},get onMouseLeave(){return n.onListboxMouseLeave},onMouseDown:e=>{e.preventDefault()}},o))}Gp.toString=()=>Es(jp);const Wp=z(),qp="hope-select__option";function Vp(e){const t=bs().Select,n=Pp(),[r,o]=k(-1);let i;const[a,s]=ve(e,["ref","class","value","textValue","disabled"]),l=()=>{var e,t;return{value:a.value,textValue:null!=(t=null!=(e=a.textValue)?e:null==i?void 0:i.textContent)?t:String(a.value),disabled:!!a.disabled}},c=()=>n.isOptionSelected(l()),u=()=>n.isOptionActiveDescendant(r()),d=e=>{i=e,mi(a.ref)?a.ref(e):a.ref=e},p=e=>{e.stopPropagation(),n.onOptionClick(r())},h=e=>{if(a.disabled&&n.onOptionMouseMove(-1),u()||a.disabled)return e.preventDefault(),void e.stopPropagation();n.onOptionMouseMove(r())},f={selected:c};return L(()=>{o(n.registerOption(l()))}),A(()=>{u()&&i&&n.scrollToOption(i)}),pe(Wp.Provider,{value:f,get children(){return pe(As,be({ref:d,role:"option",get id(){return`${n.state.optionIdPrefix}-${r()}`},get"aria-selected"(){return c()},get"data-active"(){return u()?"":void 0},get"data-disabled"(){return a.disabled?"":void 0},"data-group":!0,get class(){return _s(a.class,qp,ns())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.option},onClick:p,onMouseMove:h,get onMouseDown(){return n.onOptionMouseDown}},s))}})}Vp.toString=()=>Es(qp);const Yp=He('<svg><g fill="none"><path d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></g></svg>',6,!0),Kp=Hs({viewBox:"0 0 15 15",path:()=>Yp.cloneNode(!0)}),Xp="hope-select__option-indicator";function Qp(e){const t=bs().Select,n=function(){const e=U(Wp);if(!e)throw new Error("[Hope UI]: useSelectOptionContext must be used within a `<Select.Option />` component");return e}(),[r,o]=ve(e,["class","children"]);return pe(Te,{get when(){return n.selected()},get children(){return pe(ws.span,be({get class(){return _s(r.class,Xp,os())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.optionIndicator}},o,{get children(){return pe(Te,{get when(){return r.children},get fallback(){return pe(Kp,{"aria-hidden":"true",boxSize:"$5"})},get children(){return r.children}})}}))}})}Qp.toString=()=>Es(Xp);const Zp="hope-select__option-text";function Jp(e){const t=bs().Select,[n,r]=ve(e,["class"]);return pe(ws.span,be({get class(){return _s(n.class,Zp,rs())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.optionText}},r))}Jp.toString=()=>Es(Zp);const eh="hope-select__placeholder";function th(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["class"]);return pe(Te,{get when(){return!n.state.hasSelectedOptions},get children(){return pe(ws.span,be({get class(){return _s(r.class,eh,Za())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.placeholder}},o))}})}th.toString=()=>Es(eh);const nh="hope-select__tag";function rh(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["class","size","variant"]);return pe(ws.span,be({get class(){return _s(r.class,nh,Xa({size:null!=(t=null!=(e=r.size)?e:n.state.size)?t:"md",variant:(null!=(o=r.variant)?o:"filled"===n.state.variant)?"outline":"subtle"}));var e,t,o},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tag}},o))}rh.toString=()=>Es(nh);const oh=He('<svg><g fill="none"><path d="M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></g></svg>',6,!0),ih=Hs({viewBox:"0 0 15 15",path:()=>oh.cloneNode(!0)}),ah="hope-select__tag-close-button";function sh(e){const t=bs().Select,[n,r]=ve(e,["class","children"]);return pe(ws.button,be({role:"button",type:"button","aria-label":"Delete",tabIndex:"-1",get class(){return _s(n.class,ah,Qa())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tagCloseButton}},r,{get children(){return pe(Te,{get when(){return n.children},get fallback(){return pe(ih,{})},get children(){return n.children}})}}))}sh.toString=()=>Es(ah);const lh="hope-select__trigger";function ch(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["ref","class","onClick","onKeyDown","onFocus","onBlur"]);return pe(ws.button,be({ref:e=>{n.assignTriggerRef(e),mi(r.ref)?r.ref(e):r.ref=e},get id(){return n.state.triggerId},get disabled(){return n.state.disabled},role:"combobox",type:"button",tabindex:"0","aria-haspopup":"listbox",get"aria-activedescendant"(){return n.state.activeDescendantId},get"aria-controls"(){return n.state.listboxId},get"aria-expanded"(){return n.state.opened},get"aria-required"(){return n.formControlProps["aria-required"]},get"aria-invalid"(){return n.formControlProps["aria-invalid"]},get"aria-readonly"(){return n.formControlProps["aria-readonly"]},get"aria-describedby"(){return n.formControlProps["aria-describedby"]},get class(){return _s(r.class,lh,Va({variant:n.state.variant,size:n.state.size}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.trigger},onClick:e=>{yi(n.onTriggerClick,r.onClick)(e)},onKeyDown:e=>{yi(n.onTriggerKeyDown,r.onKeyDown)(e)},onFocus:e=>{yi(n.formControlProps.onFocus,r.onFocus)(e)},onBlur:e=>{yi(n.onTriggerBlur,n.formControlProps.onBlur,r.onBlur)(e)}},o))}ch.toString=()=>Es(lh);const uh=He("<span></span>",2),dh="hope-select__value";function ph(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["class","children"]),i=j(()=>{var e;return Rs(r)?null==(e=r.children)?void 0:e.call(r,{selectedOptions:n.state.selectedOptions}):r.children});return pe(Te,{get when(){return n.state.hasSelectedOptions},get children(){return pe(Te,{get when(){return!i()},get fallback(){return i()},get children(){return pe(Te,{get when(){return n.state.multiple},get fallback(){return pe(As,be({get class(){return _s(r.class,dh,Ya())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.singleValue}},o,{get children(){return n.state.selectedOptions[0].textValue}}))},get children(){return pe(As,be({get class(){return _s(r.class,dh,Ka({size:n.state.size}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.multiValue}},o,{get children(){return pe(ke,{get each(){return n.state.selectedOptions},children:e=>pe(rh,{get children(){return[(()=>{const t=uh.cloneNode(!0);return Ke(t,()=>e.textValue),t})(),pe(sh,{onClick:t=>((e,t)=>{e.preventDefault(),e.stopPropagation(),n.unselectOption(t)})(t,e)})]}})})}}))}})}})}})}ph.toString=()=>Es(dh),Fi({$$startColor:"$colors$neutral2",$$endColor:"$colors$neutral8",opacity:"0.7",borderRadius:"2px",borderColor:"$$startColor",boxShadow:"$none",background:"$$endColor",backgroundClip:"padding-box",color:"transparent",cursor:"default",pointerEvents:"none",userSelect:"none",animationTimingFunction:"linear",animationIterationCount:"infinite",animationDirection:"alternate",animationName:`${Gi({from:{borderColor:"$$startColor",background:"$$startColor"},to:{borderColor:"$$endColor",background:"$$endColor"}})()}`,"&::before, &::after, *":{visibility:"hidden"}});const hh=Fi({flex:1,justifySelf:"stretch",alignSelf:"stretch"}),fh="hope-spacer";function gh(e){const[t,n]=ve(e,["class"]);return pe(As,be({get class(){return _s(t.class,fh,hh())}},n))}gh.toString=()=>Es(fh);const mh=Fi({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"$full",borderWidth:"2px",borderBottomColor:"transparent",borderLeftColor:"transparent",animationName:`${va}`,animationDuration:"0.45s",animationTimingFunction:"linear",animationIterationCount:"infinite",variants:{size:{xs:{boxSize:"0.75rem"},sm:{boxSize:"1rem"},md:{boxSize:"1.5rem"},lg:{boxSize:"2rem"},xl:{boxSize:"3rem"}}}}),bh=He("<span></span>",2),vh="hope-spinner";function yh(e){var t,n,r,o,i,a,s,l;const c=bs().Spinner,u=be({label:null!=(n=null==(t=null==c?void 0:c.defaultProps)?void 0:t.label)?n:"Loading...",size:null!=(o=null==(r=null==c?void 0:c.defaultProps)?void 0:r.size)?o:"md",emptyColor:null==(i=null==c?void 0:c.defaultProps)?void 0:i.emptyColor,color:null==(a=null==c?void 0:c.defaultProps)?void 0:a.color,thickness:null==(s=null==c?void 0:c.defaultProps)?void 0:s.thickness,speed:null==(l=null==c?void 0:c.defaultProps)?void 0:l.speed},e),[d,p]=ve(u,["class","children","label","size","emptyColor","color","thickness","speed"]);return pe(As,be({get class(){return _s(d.class,vh,mh({size:d.size,css:{color:d.color,borderWidth:d.thickness,borderBottomColor:d.emptyColor,borderLeftColor:d.emptyColor,animationDuration:d.speed}}))}},p,{get children(){return pe(Te,{get when(){return d.label},get children(){const e=bh.cloneNode(!0);return Ke(e,()=>d.label),w(()=>e.className=fs()),e}})}}))}yh.toString=()=>Es(vh);const Eh=Fi(dc,{variants:{labelPlacement:{start:{flexDirection:"row"},end:{flexDirection:"row-reverse"}}}}),_h=Fi(pc),Sh=Fi(hc,{borderRadius:"$full",transition:"background-color 250ms, border-color 250ms, box-shadow 250ms","&::before":{content:"''",position:"absolute",top:"2px",left:"2px",zIndex:"1",borderRadius:"$full",boxShadow:"$sm",transition:"250ms"},variants:{variant:{outline:{"&::before":{backgroundColor:"$neutral7"},"&[data-checked]::before":{backgroundColor:"$loContrast"}},filled:{"&::before":{backgroundColor:"$loContrast"}}},size:{sm:{height:"16px",width:"26px","&::before":{boxSize:"10px"},"&[data-checked]::before":{transform:"translateX(10px)"}},md:{columnGap:"2px",height:"20px",width:"34px","&::before":{boxSize:"14px"},"&[data-checked]::before":{transform:"translateX(14px)"}},lg:{columnGap:"4px",height:"28px",width:"50px","&::before":{boxSize:"22px"},"&[data-checked]::before":{transform:"translateX(22px)"}}}}}),kh=He('<input type="checkbox" role="switch">',1);function Th(e){const t=`hope-switch-${_e()}`,n=Cc(e),[r,o]=nn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return void 0!==e.checked},get checked(){return this.isControlled?!!e.checked:this._checked},get id(){var e;return null!=(e=n.id)?e:t},get name(){return e.name},get value(){return e.value},get required(){return n.required},get disabled(){return n.disabled},get invalid(){return n.invalid},get readOnly(){return n.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||void 0},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[i,a,s]=ve(e,["inputClass","children","ref","tabIndex","aria-label","aria-labelledby","aria-describedby","onChange"],["id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),l=e=>{if(r.readOnly||r.disabled)e.preventDefault();else{if(!r.isControlled){const t=e.target;o("_checked",t.checked)}vi(i.onChange,e)}},c=e=>{o("isFocused",!0),vi(n.onFocus,e)},u=e=>{o("isFocused",!1),vi(n.onBlur,e)},d=()=>r,p={state:r};return pe(wh.Provider,{value:p,get children(){return pe(ws.label,be({get for(){return r.id},"data-group":!0,get"data-focus"(){return r["data-focus"]},get"data-checked"(){return r["data-checked"]},get"data-required"(){return r["data-required"]},get"data-disabled"(){return r["data-disabled"]},get"data-invalid"(){return r["data-invalid"]},get"data-readonly"(){return r["data-readonly"]}},s,{get children(){return[(()=>{const e=kh.cloneNode(!0);e.addEventListener("blur",u),e.addEventListener("focus",c),e.addEventListener("change",l);const t=i.ref;return"function"==typeof t?t(e):i.ref=e,w(t=>{const n=_s(i.inputClass,fs()),o=i.tabIndex,a=r.value,s=r.id,l=r.name,c=r.checked,u=r.required,d=r.disabled,p=r.readOnly,h=r["aria-required"],f=r["aria-disabled"],g=r["aria-invalid"],m=r["aria-readonly"],b=i["aria-label"],v=i["aria-labelledby"],y=i["aria-describedby"];return n!==t._v$&&(e.className=t._v$=n),o!==t._v$2&&Ue(e,"tabindex",t._v$2=o),a!==t._v$3&&(e.value=t._v$3=a),s!==t._v$4&&Ue(e,"id",t._v$4=s),l!==t._v$5&&Ue(e,"name",t._v$5=l),c!==t._v$6&&(e.checked=t._v$6=c),u!==t._v$7&&(e.required=t._v$7=u),d!==t._v$8&&(e.disabled=t._v$8=d),p!==t._v$9&&(e.readOnly=t._v$9=p),h!==t._v$10&&Ue(e,"aria-required",t._v$10=h),f!==t._v$11&&Ue(e,"aria-disabled",t._v$11=f),g!==t._v$12&&Ue(e,"aria-invalid",t._v$12=g),m!==t._v$13&&Ue(e,"aria-readonly",t._v$13=m),b!==t._v$14&&Ue(e,"aria-label",t._v$14=b),v!==t._v$15&&Ue(e,"aria-labelledby",t._v$15=v),y!==t._v$16&&Ue(e,"aria-describedby",t._v$16=y),t},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),e})(),pe(Te,{get when(){return mi(i.children)},get fallback(){return i.children},get children(){var e;return null==(e=i.children)?void 0:e.call(i,{state:d})}})]}}))}})}const wh=z(),Ah="hope-switch",Ch="hope-checkbox__input",xh="hope-switch__control",Oh="hope-switch__label";function Ih(e){var t,n,r,o,i,a,s,l,c,u,d,p;const h=bs().Switch,f=be({variant:null!=(r=null==(n=null==(t=null==h?void 0:h.defaultProps)?void 0:t.root)?void 0:n.variant)?r:"filled",colorScheme:null!=(a=null==(i=null==(o=null==h?void 0:h.defaultProps)?void 0:o.root)?void 0:i.colorScheme)?a:"primary",size:null!=(c=null==(l=null==(s=null==h?void 0:h.defaultProps)?void 0:s.root)?void 0:l.size)?c:"md",labelPlacement:null!=(p=null==(d=null==(u=null==h?void 0:h.defaultProps)?void 0:u.root)?void 0:d.labelPlacement)?p:"start"},e),[g,m]=ve(f,["children","class","variant","colorScheme","size","labelPlacement"]);return pe(Th,be({get class(){return _s(g.class,Ah,Eh({size:g.size,labelPlacement:g.labelPlacement}))},inputClass:Ch,get __baseStyle(){var e;return null==(e=null==h?void 0:h.baseStyle)?void 0:e.root}},m,{children:({state:e})=>[pe(ws.span,{get class(){return _s(Oh,_h())},get __baseStyle(){var e;return null==(e=null==h?void 0:h.baseStyle)?void 0:e.label},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]},get children(){return g.children}}),pe(ws.span,{"aria-hidden":!0,get class(){return _s(xh,Sh({variant:g.variant,colorScheme:g.colorScheme,size:g.size}))},get __baseStyle(){var e;return null==(e=null==h?void 0:h.baseStyle)?void 0:e.control},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]}})]}))}Ih.toString=()=>Es(Ah);const Nh=Fi({width:"100%",borderCollapse:"collapse",fontVariantNumeric:"lining-nums tabular-nums"});function Lh(e){return{"& td":{borderBottomWidth:0},"& tr:last-of-type td":{borderBottomWidth:"1px"},[`& tr:nth-of-type(${e}) td`]:{backgroundColor:"$neutral3"}}}Fi({px:"$6",py:"$4",color:"$neutral11",fontSize:"$sm",fontWeight:"$medium",lineHeight:"$5",textAlign:"center",variants:{dense:{true:{px:"$4",py:"$3",fontSize:"$xs",lineHeight:"$4"}},placement:{top:{captionSide:"top"},bottom:{captionSide:"bottom"}}}});const Dh=Fi({variants:{striped:{odd:Lh("odd"),even:Lh("even")},highlightOnHover:{true:{"& tr:hover td":{backgroundColor:"$neutral4"}}}},compoundVariants:[{striped:"odd",highlightOnHover:!0,css:{"& tr:nth-of-type(odd):hover td":{backgroundColor:"$neutral4"}}},{striped:"even",highlightOnHover:!0,css:{"& tr:nth-of-type(even):hover td":{backgroundColor:"$neutral4"}}}]});Fi({"& tr:last-of-type th":{borderBottomWidth:0}});const Rh=Fi({borderBottom:"1px solid $colors$neutral6",px:"$6",py:"$3",fontSize:"$xs",fontWeight:"$semibold",lineHeight:"$4",letterSpacing:"$wider",textAlign:"start",textTransform:"uppercase",variants:{dense:{true:{px:"$4",py:"$1_5"}},numeric:{true:{textAlign:"end"}}}}),Mh=Fi({borderBottom:"1px solid $colors$neutral6",px:"$6",py:"$4",fontSize:"$base",lineHeight:"$6",textAlign:"start",transition:"background-color 250ms",variants:{dense:{true:{px:"$4",py:"$2",fontSize:"$sm",lineHeight:"$5"}},numeric:{true:{textAlign:"end"}}}}),Ph=z(),Bh="hope-table";function $h(e){const t=bs().Table,[n]=nn({get striped(){var n,r,o;return null!=(o=e.striped)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.striped},get dense(){var n,r,o,i;return null!=(i=null!=(o=e.dense)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.dense)&&i},get highlightOnHover(){var n,r,o,i;return null!=(i=null!=(o=e.highlightOnHover)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.highlightOnHover)&&i}}),[r,o]=ve(e,["class","striped","dense","highlightOnHover"]);return pe(Ph.Provider,{value:n,get children(){return pe(As,be({as:"table",role:"table",get class(){return _s(r.class,Bh,Nh(n))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.root}},o))}})}function Fh(){const e=U(Ph);if(!e)throw new Error("[Hope UI]: useTableContext must be used within a `<Table/>` component");return e}$h.toString=()=>Es(Bh);const Hh="hope-tbody";function zh(e){const t=bs().Table,n=Fh(),[r,o]=ve(e,["class"]);return pe(As,be({as:"tbody",role:"rowgroup",get class(){return _s(r.class,Hh,Dh({striped:n.striped,highlightOnHover:n.highlightOnHover}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tbody}},o))}zh.toString=()=>Es(Hh);const Uh="hope-td";function jh(e){const t=bs().Table,n=Fh(),[r,o]=ve(e,["class","numeric"]);return pe(As,be({as:"td",role:"cell",get class(){return _s(r.class,Uh,Mh({dense:n.dense,numeric:r.numeric}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.td}},o))}jh.toString=()=>Es(Uh);const Gh="hope-th";function Wh(e){const t=bs().Table,n=Fh(),[r,o]=ve(e,["class","numeric"]);return pe(As,be({as:"th",role:"columnheader",get class(){return _s(r.class,Gh,Rh({dense:n.dense,numeric:r.numeric}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.th}},o))}Wh.toString=()=>Es(Gh);const qh="hope-thead";function Vh(e){const t=bs().Table,[n,r]=ve(e,["class"]);return pe(As,be({as:"thead",role:"rowgroup",get class(){return _s(n.class,qh)},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.thead}},r))}Vh.toString=()=>Es(qh);const Yh="hope-tr";function Kh(e){const t=bs().Table,[n,r]=ve(e,["class"]);return pe(As,be({as:"tr",role:"row",get class(){return _s(n.class,Yh)},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tr}},r))}function Xh(e){return{"&[aria-selected='true']":{color:e}}}function Qh(e){return{"&[aria-selected='true']":{color:e.color,backgroundColor:e.bgColor},"&[aria-selected='true']:hover":{backgroundColor:e.bgColorHover}}}Kh.toString=()=>Es(Yh),Fi({variants:{orientation:{horizontal:{display:"block"},vertical:{display:"flex"}}}}),Fi({display:"flex",color:"$neutral11",fontWeight:"$normal",variants:{variant:{underline:{borderWidth:0,borderStyle:"solid",borderColor:"$neutral7"},outline:{borderStyle:"solid",borderColor:"$neutral7"},cards:{borderStyle:"solid",borderColor:"$neutral7"},pills:{gap:"$1_5"}},alignment:{start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},center:{justifyContent:"center"},apart:{justifyContent:"space-between"}},orientation:{horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}}},compoundVariants:[{variant:"underline",orientation:"horizontal",css:{borderBottomWidth:"1px"}},{variant:"underline",orientation:"vertical",css:{borderInlineEndWidth:"1px"}},{variant:"outline",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px"}},{variant:"outline",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px"}},{variant:"cards",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px"}},{variant:"cards",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px"}}]}),Fi({appearance:"none",display:"flex",alignItems:"center",justifyContent:"center",outline:"none",border:"$none",backgroundColor:"transparent",px:"$4",color:"inherit",fontWeight:"inherit",cursor:"pointer",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",transitionDuration:"250ms","&:focus":{zIndex:1,outline:"none",boxShadow:"$outline"},"&:disabled":{opacity:.4,cursor:"not-allowed"},variants:{variant:{underline:{borderWidth:0,borderStyle:"solid",borderColor:"transparent","&[aria-selected='true']":{borderColor:"currentColor"},"&:active":{backgroundColor:"$neutral4"}},outline:{borderWidth:"1px",borderStyle:"solid",borderColor:"transparent","&[aria-selected='true']":{borderColor:"inherit"}},cards:{borderWidth:"1px",borderStyle:"solid",borderColor:"inherit",backgroundColor:"$neutral3","&[aria-selected='true']":{borderColor:"inherit",backgroundColor:"$loContrast"}},pills:{borderRadius:"$sm","&:hover":{backgroundColor:"$neutral3"},"&:hover:disabled":{backgroundColor:"transparent"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:{py:"$1",fontSize:"$sm"},md:{py:"$2",fontSize:"$base"},lg:{py:"$3",fontSize:"$lg"}},orientation:{horizontal:{},vertical:{}},fitted:{true:{flex:1}}},compoundVariants:[{variant:"underline",colorScheme:"primary",css:Xh("$primary11")},{variant:"underline",colorScheme:"accent",css:Xh("$accent11")},{variant:"underline",colorScheme:"neutral",css:Xh("$neutral12")},{variant:"underline",colorScheme:"success",css:Xh("$success11")},{variant:"underline",colorScheme:"info",css:Xh("$info11")},{variant:"underline",colorScheme:"warning",css:Xh("$warning11")},{variant:"underline",colorScheme:"danger",css:Xh("$danger11")},{variant:"outline",colorScheme:"primary",css:Xh("$primary11")},{variant:"outline",colorScheme:"accent",css:Xh("$accent11")},{variant:"outline",colorScheme:"neutral",css:Xh("$neutral12")},{variant:"outline",colorScheme:"success",css:Xh("$success11")},{variant:"outline",colorScheme:"info",css:Xh("$info11")},{variant:"outline",colorScheme:"warning",css:Xh("$warning11")},{variant:"outline",colorScheme:"danger",css:Xh("$danger11")},{variant:"cards",colorScheme:"primary",css:Xh("$primary11")},{variant:"cards",colorScheme:"accent",css:Xh("$accent11")},{variant:"cards",colorScheme:"neutral",css:Xh("$neutral12")},{variant:"cards",colorScheme:"success",css:Xh("$success11")},{variant:"cards",colorScheme:"info",css:Xh("$info11")},{variant:"cards",colorScheme:"warning",css:Xh("$warning11")},{variant:"cards",colorScheme:"danger",css:Xh("$danger11")},{variant:"pills",colorScheme:"primary",css:Qh({color:"$primary11",bgColor:"$primary3",bgColorHover:"$primary4"})},{variant:"pills",colorScheme:"accent",css:Qh({color:"$accent11",bgColor:"$accent3",bgColorHover:"$accent4"})},{variant:"pills",colorScheme:"neutral",css:Qh({color:"$neutral12",bgColor:"$neutral3",bgColorHover:"$neutral4"})},{variant:"pills",colorScheme:"success",css:Qh({color:"$success11",bgColor:"$success3",bgColorHover:"$success4"})},{variant:"pills",colorScheme:"info",css:Qh({color:"$info11",bgColor:"$info3",bgColorHover:"$info4"})},{variant:"pills",colorScheme:"warning",css:Qh({color:"$warning11",bgColor:"$warning3",bgColorHover:"$warning4"})},{variant:"pills",colorScheme:"danger",css:Qh({color:"$danger11",bgColor:"$danger3",bgColorHover:"$danger4"})},{variant:"underline",orientation:"horizontal",css:{borderBottomWidth:"2px",marginBottom:"-1px"}},{variant:"underline",orientation:"vertical",css:{borderInlineEndWidth:"2px",marginInlineEnd:"-1px"}},{variant:"outline",orientation:"horizontal",css:{mb:"-1px",borderTopRadius:"$sm","&[aria-selected='true']":{borderBottomColor:"$loContrast"}}},{variant:"outline",orientation:"vertical",css:{marginInlineEnd:"-1px",borderStartRadius:"$radii$sm","&[aria-selected='true']":{borderInlineEndColor:"$colors$loContrast"}}},{variant:"cards",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px","&:not(:last-of-type)":{marginInlineEnd:"-1px"},"&[aria-selected='true']":{borderTopColor:"currentColor",borderBottomColor:"transparent"}}},{variant:"cards",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px","&:not(:last-of-type)":{mb:"-1px"},"&[aria-selected='true']":{borderInlineStartColor:"currentColor",borderInlineEndColor:"transparent"}}}]}),Fi({outline:"none",padding:"$4"}),Fi({marginInlineStart:"$2"}),Fi({marginInlineEnd:"$2"}),Fi({noOfLines:1});const Zh=Fi({appearance:"none",position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",outline:"none",border:"1px solid transparent",borderRadius:"$full",backgroundColor:"transparent",padding:"0",lineHeight:"$none",textDecoration:"none",color:"inherit",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms, opacity 250ms, box-shadow 250ms","&:focus":{outline:"none",boxShadow:"$outline"},"&:disabled":{border:"1px solid transparent",backgroundColor:"transparent",color:"$neutral3",cursor:"not-allowed"},variants:{size:{sm:{marginInlineStart:"0.35rem",marginInlineEnd:"-3px"},md:{marginInlineStart:"$1_5",marginInlineEnd:"calc(0.15rem * -1)"},lg:{marginInlineStart:"$1_5",marginInlineEnd:"calc($1 * -1)"}}}});function Jh(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,lineHeight:e.lineHeight,[`& .${Zh}`]:{boxSize:e.closeButtonSize}}}function ef(e){return{backgroundColor:e.bgColor,color:e.color,[`& .${Zh}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function tf(e){return{backgroundColor:e.bgColor,color:e.color,[`& .${Zh}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function nf(e){return{borderColor:e.borderColor,color:e.color,[`& .${Zh}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function rf(e){return{"&::before, &::after":{boxSize:e},"&::before":{marginRight:e},"&::after":{marginLeft:e}}}Fi({display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"$full",fontWeight:"$medium",lineHeight:"$none",variants:{variant:{solid:{border:"1px solid transparent",color:"white"},subtle:{border:"1px solid transparent"},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent"},dot:{border:"1px solid $neutral7",backgroundColor:"transparent",color:"$neutral12","&::before, &::after":{content:"''",borderRadius:"$full"},"&::before":{display:"block"},"&::after":{display:"none"},[`& .${Zh}:not(:disabled):hover`]:{backgroundColor:"$neutral4"},[`& .${Zh}:not(:disabled):active`]:{backgroundColor:"$neutral5"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:Jh({height:"$5",paddingX:"$2",fontSize:"$xs",lineHeight:"$4",closeButtonSize:"$4"}),md:Jh({height:"$6",paddingX:"$2",fontSize:"$sm",lineHeight:"$5",closeButtonSize:"$5"}),lg:Jh({height:"$8",paddingX:"$3",fontSize:"$base",lineHeight:"$6",closeButtonSize:"$6"})},dotPlacement:{start:{},end:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:ef({color:"white",bgColor:"$primary9",closeButtonBgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:ef({color:"white",bgColor:"$accent9",closeButtonBgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:ef({color:"white",bgColor:"$neutral9",closeButtonBgColorHover:"$neutral11"})},{variant:"solid",colorScheme:"success",css:ef({color:"white",bgColor:"$success9",closeButtonBgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:ef({color:"white",bgColor:"$info9",closeButtonBgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:ef({color:"$blackAlpha12",bgColor:"$warning9",closeButtonBgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:ef({color:"white",bgColor:"$danger9",closeButtonBgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:tf({color:"$primary11",bgColor:"$primary4",closeButtonBgColorHover:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:tf({color:"$accent11",bgColor:"$accent4",closeButtonBgColorHover:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:tf({color:"$neutral12",bgColor:"$neutral4",closeButtonBgColorHover:"$neutral7"})},{variant:"subtle",colorScheme:"success",css:tf({color:"$success11",bgColor:"$success4",closeButtonBgColorHover:"$success6"})},{variant:"subtle",colorScheme:"info",css:tf({color:"$info11",bgColor:"$info4",closeButtonBgColorHover:"$info6"})},{variant:"subtle",colorScheme:"warning",css:tf({color:"$warning11",bgColor:"$warning4",closeButtonBgColorHover:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:tf({color:"$danger11",bgColor:"$danger4",closeButtonBgColorHover:"$danger6"})},{variant:"outline",colorScheme:"primary",css:nf({color:"$primary11",borderColor:"$primary7",closeButtonBgColorHover:"$primary4"})},{variant:"outline",colorScheme:"accent",css:nf({color:"$accent11",borderColor:"$accent7",closeButtonBgColorHover:"$accent4"})},{variant:"outline",colorScheme:"neutral",css:nf({color:"$neutral12",borderColor:"$neutral7",closeButtonBgColorHover:"$neutral4"})},{variant:"outline",colorScheme:"success",css:nf({color:"$success11",borderColor:"$success7",closeButtonBgColorHover:"$success4"})},{variant:"outline",colorScheme:"info",css:nf({color:"$info11",borderColor:"$info7",closeButtonBgColorHover:"$info4"})},{variant:"outline",colorScheme:"warning",css:nf({color:"$warning11",borderColor:"$warning7",closeButtonBgColorHover:"$warning4"})},{variant:"outline",colorScheme:"danger",css:nf({color:"$danger11",borderColor:"$danger7",closeButtonBgColorHover:"$danger4"})},{variant:"dot",colorScheme:"primary",css:{"&::before, &::after":{backgroundColor:"$primary9"}}},{variant:"dot",colorScheme:"accent",css:{"&::before, &::after":{backgroundColor:"$accent9"}}},{variant:"dot",colorScheme:"neutral",css:{"&::before, &::after":{backgroundColor:"$neutral9"}}},{variant:"dot",colorScheme:"success",css:{"&::before, &::after":{backgroundColor:"$success9"}}},{variant:"dot",colorScheme:"info",css:{"&::before, &::after":{backgroundColor:"$info9"}}},{variant:"dot",colorScheme:"warning",css:{"&::before, &::after":{backgroundColor:"$warning9"}}},{variant:"dot",colorScheme:"danger",css:{"&::before, &::after":{backgroundColor:"$danger9"}}},{variant:"dot",size:"sm",css:rf("$1_5")},{variant:"dot",size:"md",css:rf("$2")},{variant:"dot",size:"lg",css:rf("$2_5")},{variant:"dot",dotPlacement:"start",css:{"&::before":{display:"block"},"&::after":{display:"none"}}},{variant:"dot",dotPlacement:"end",css:{"&::before":{display:"none"},"&::after":{display:"block"}}}]});const of="hope-text";function af(e){var t;const n=bs().Text,r=be({size:null==(t=null==n?void 0:n.defaultProps)?void 0:t.size},e),[o,i]=ve(r,["class","size"]);return pe(ws.p,be({get class(){return _s(o.class,of,Pu({size:o.size}))},get __baseStyle(){return null==n?void 0:n.baseStyle}},i))}function sf(e,t){return Object.entries({xs:null!=t?t:"$2",sm:null!=t?t:"$2_5",md:null!=t?t:"$3",lg:null!=t?t:"$4"}).map(([t,n])=>({variant:e,size:t,css:{px:n}}))}af.toString=()=>Es(of);const lf=Fi(Ha,{minHeight:"80px",py:"$2",compoundVariants:[...sf("outline"),...sf("filled"),...sf("unstyled",0)]}),cf="hope-textarea";function uf(e){var t,n,r,o;const i=bs().Textarea,a=be({variant:null!=(n=null==(t=null==i?void 0:i.defaultProps)?void 0:t.variant)?n:"outline",size:null!=(o=null==(r=null==i?void 0:i.defaultProps)?void 0:r.size)?o:"md"},e),[s,l]=ve(a,["class","variant","size"]),c=Cc(e);return pe(As,be({as:"textarea",get class(){return _s(s.class,cf,lf({variant:s.variant,size:s.size}))},get __baseStyle(){return null==i?void 0:i.baseStyle}},c,l))}uf.toString=()=>Es(cf);const df="hope-tooltip",pf="hope-tooltip__arrow";function hf(e){var t,n,r,o,i,a,s,l,c,u,d,p,h,f,g,m,b,v;const y=`hope-tooltip-${_e()}`,E=bs().Tooltip,_=be({id:y,placement:null!=(n=null==(t=null==E?void 0:E.defaultProps)?void 0:t.placement)?n:"bottom",offset:null!=(o=null==(r=null==E?void 0:E.defaultProps)?void 0:r.offset)?o:8,withArrow:null!=(a=null==(i=null==E?void 0:E.defaultProps)?void 0:i.withArrow)&&a,arrowSize:null!=(l=null==(s=null==E?void 0:E.defaultProps)?void 0:s.arrowSize)?l:8,arrowPadding:null!=(u=null==(c=null==E?void 0:E.defaultProps)?void 0:c.arrowPadding)?u:8,openDelay:null!=(p=null==(d=null==E?void 0:E.defaultProps)?void 0:d.openDelay)?p:0,closeDelay:null!=(f=null==(h=null==E?void 0:E.defaultProps)?void 0:h.closeDelay)?f:0,closeOnClick:null==(m=null==(g=null==E?void 0:E.defaultProps)?void 0:g.closeOnClick)||m,closeOnMouseDown:null!=(v=null==(b=null==E?void 0:E.defaultProps)?void 0:b.closeOnMouseDown)&&v},e),[S,T]=ve(_,["class","children","id","label","opened","defaultOpened","inline","disabled","placement","offset","withArrow","arrowSize","arrowPadding","openDelay","closeDelay","closeOnClick","closeOnMouseDown","onOpen","onClose"]),[w,x]=k(!!S.defaultOpened),[O,I]=k(!1);let N,R,M,P;const B=()=>void 0!==S.opened,$=()=>B()?!!S.opened:w();let F;const H=j(()=>S.children),z=C(()=>{let e=H();for(;mi(e);)e=e();return e});async function U(){var e,t,n;const r=z();if(!r||!N)return;const o=[wo(S.offset)];S.inline&&o.push(xo()),o.push(_o()),o.push(Ao()),S.withArrow&&R&&o.push(fo({element:R,padding:S.arrowPadding})),o.push(To());const{x:i,y:a,placement:s,middlewareData:l}=await oi(r,N,{placement:S.placement,middleware:o});if(!N)return;const c=null==(e=l.hide)?void 0:e.referenceHidden;if(Object.assign(N.style,{left:`${Math.round(i)}px`,top:`${Math.round(a)}px`,visibility:c?"hidden":"visible"}),!R)return;const u=null==(t=l.arrow)?void 0:t.x,d=null==(n=l.arrow)?void 0:n.y,p={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]],h=(S.arrowSize?-1*Math.round(S.arrowSize/2):-4)+"px";Object.assign(R.style,{left:null!=u?`${Math.round(u)}px`:"",top:null!=d?`${Math.round(d)}px`:"",right:"",bottom:"",[p]:h})}const G=()=>{var e;B()||x(!0),null==(e=S.onOpen)||e.call(S),U()},W=()=>{var e;B()||x(!1),null==(e=S.onClose)||e.call(S)},q=()=>{S.disabled||(M=window.setTimeout(G,S.openDelay))},V=()=>{M&&window.clearTimeout(M),P=window.setTimeout(W,S.closeDelay)},Y=()=>{S.closeOnClick&&V()},K=()=>{S.closeOnMouseDown&&V()},X=e=>{$()&&"Escape"===e.key&&V()},Q=()=>{N&&(document.addEventListener("keydown",X),F=ri(z(),N,U))},Z=()=>{document.removeEventListener("keydown",X),null==F||F(),I(!1)};return L(()=>{(()=>{const e=z();e.addEventListener("mouseenter",q),e.addEventListener("focus",q),e.addEventListener("click",Y),e.addEventListener("mousedown",K),e.addEventListener("mouseleave",V),e.addEventListener("blur",V)})()}),D(()=>{(()=>{const e=z();e.removeEventListener("mouseenter",q),e.removeEventListener("focus",q),e.removeEventListener("click",Y),e.removeEventListener("mousedown",K),e.removeEventListener("mouseleave",V),e.removeEventListener("blur",V)})(),window.clearTimeout(M),window.clearTimeout(P)}),A(()=>{$()?(I(!0),S.id&&z().setAttribute("aria-describedby",S.id)):z().removeAttribute("aria-describedby")}),[z,pe(Te,{get when(){return O()},get children(){return pe(lt,{get children(){return pe(Sr,{get name(){return is.scale},appear:!0,onBeforeEnter:U,onAfterEnter:Q,onAfterExit:Z,get children(){return pe(Te,{get when(){return $()},get children(){return pe(As,be({ref(e){"function"==typeof N?N(e):N=e},role:"tooltip",get id(){return S.id},get class(){return _s(S.class,df,ss())},get __baseStyle(){return null==E?void 0:E.baseStyle}},T,{get children(){return[$e(()=>S.label),pe(Te,{get when(){return S.withArrow},get children(){return pe(As,{ref(e){"function"==typeof R?R(e):R=e},get class(){return _s(pf,ls())},get boxSize(){return S.arrowSize}})}})]}}))}})}})}})}})]}function ff(e={}){const t=`disclosure-${_e()}`,[n,r]=k(e.defaultIsOpen||!1),o=()=>void 0!==e.isOpen,i=()=>o()?!!e.isOpen:n(),a=()=>{var t;o()||r(!1),null==(t=e.onClose)||t.call(e)},s=()=>{var t;o()||r(!0),null==(t=e.onOpen)||t.call(e)};return{isControlled:o,isOpen:i,onOpen:s,onClose:a,onToggle:()=>{i()?a():s()},triggerProps:()=>({"aria-expanded":i(),"aria-controls":t}),disclosureProps:()=>({id:t,hidden:!i()})}}var gf,mf;hf.toString=()=>Es(df);var bf=(mf||(mf=1,gf=function e(t,n){var r,o,i=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,s=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,l=/^0x[0-9a-f]+$/i,c=/^0/,u=function(t){return e.insensitive&&(""+t).toLowerCase()||""+t},d=u(t).replace(a,"")||"",p=u(n).replace(a,"")||"",h=d.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),f=p.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),g=parseInt(d.match(l),16)||1!==h.length&&d.match(s)&&Date.parse(d),m=parseInt(p.match(l),16)||g&&p.match(s)&&Date.parse(p)||null;if(m){if(g<m)return-1;if(g>m)return 1}for(var b=0,v=Math.max(h.length,f.length);b<v;b++){if(r=!(h[b]||"").match(c)&&parseFloat(h[b])||h[b]||0,o=!(f[b]||"").match(c)&&parseFloat(f[b])||f[b]||0,isNaN(r)!==isNaN(o))return isNaN(r)?1:-1;if(typeof r!=typeof o&&(r+="",o+=""),r<o)return-1;if(r>o)return 1}return 0}),gf);const vf=e("es",rr(bf));function yf(e,t,n){const[r,o]=k(),i=n?.api?Array.isArray(n.api)?n.api:[n.api]:[globalThis.localStorage].filter(Boolean),a=n?.prefix?`${n.prefix}.`:"",s=()=>i.reduce((t,r)=>{if(null!==t||!r)return t;let i=null;try{i=r.getItem(`${a}${e}`)}catch(s){if(o(s instanceof Error?s:new Error(`Error reading ${a}${e} from ${r.name}`)),n?.throw)throw s}return null!==i&&n?.deserializer?n.deserializer(i+"",e,n.options):i},null),[l,c]=dr(t,()=>s()??t,n);A(()=>{const t=l(),r=n?.serializer?n.serializer(t,e,n.options):t+"",s=`${a}${e}`;try{null===t?i.forEach(e=>null!==e.getItem(s)&&e.removeItem(s)):i.forEach(e=>e.getItem(s)!==r&&e.setItem(s,r,n?.options))}catch(c){if(o(c instanceof Error?c:new Error(`Error ${null===t?"removing":"writing"} value`)),n?.throw)throw c}});const u=()=>{const e=s();c(e)};return!1!==n?.sync&&L(()=>{const e=e=>{let t=!1;try{i.forEach(n=>{n!==e.storageArea&&e.key&&e.newValue!==n.getItem(e.key)&&(e.newValue?n.setItem(e.key,e.newValue):n.removeItem(e.key),t=!0)})}catch(r){if(o(r instanceof Error?r:new Error("Error synching api after event")),n?.throw)throw r}t&&u()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",e),D(()=>globalThis.removeEventListener("storage",e))):(i.forEach(t=>t.addEventListener?.("storage",e)),D(()=>i.forEach(t=>t.removeEventListener?.("storage",e))))}),[Object.assign(l,{error:r}),c,u]}var Ef,_f=function(e){const[t,n]=k(),r=e?.throw?(e,t)=>{throw n(e instanceof Error?e:new Error(t)),e}:(e,t)=>{n(e instanceof Error?e:new Error(t))},o=e?.api?Array.isArray(e.api)?e.api:[e.api]:[globalThis.localStorage].filter(Boolean),i=e?.prefix?`${e.prefix}.`:"",a=new Map,s=new Proxy({},{get(t,n){let s=a.get(n);s||(s=k(void 0,{equals:!1}),a.set(n,s)),s[0]();const l=o.reduce((e,t)=>{if(null!==e||!t)return e;try{return t.getItem(`${i}${n}`)}catch(o){return r(o,`Error reading ${i}${n} from ${t.name}`),null}},null);return null!==l&&e?.deserializer?e.deserializer(l,n,e.options):l}});return!1!==e?.sync&&L(()=>{const e=e=>{let t=!1;o.forEach(n=>{try{n!==e.storageArea&&e.key&&e.newValue!==n.getItem(e.key)&&(e.newValue?n.setItem(e.key,e.newValue):n.removeItem(e.key),t=!0)}catch(o){r(o,`Error synching api ${n.name} from storage event (${e.key}=${e.newValue})`)}}),t&&e.key&&a.get(e.key)?.[1]()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",e),D(()=>globalThis.removeEventListener("storage",e))):(o.forEach(t=>t.addEventListener?.("storage",e)),D(()=>o.forEach(t=>t.removeEventListener?.("storage",e))))}),[s,(t,n,s)=>{const l=e?.serializer?e.serializer(n,t,s??e.options):n,c=`${i}${t}`;o.forEach(e=>{try{e.getItem(c)!==l&&e.setItem(c,l)}catch(n){r(n,`Error setting ${i}${t} to ${l} in ${e.name}`)}});const u=a.get(t);u&&u[1]()},{clear:()=>o.forEach(e=>{try{e.clear()}catch(t){r(t,`Error clearing ${e.name}`)}}),error:t,remove:e=>o.forEach(t=>{try{t.removeItem(`${i}${e}`)}catch(n){r(n,`Error removing ${i}${e} from ${t.name}`)}}),toJSON:()=>{const t={},n=(n,r)=>{if(!t.hasOwnProperty(n)){const o=r&&e?.deserializer?e.deserializer(r,n,e.options):r;o&&(t[n]=o)}};return o.forEach(e=>{if("function"==typeof e.getAll){let t;try{t=e.getAll()}catch(o){r(o,`Error getting all values from in ${e.name}`)}for(const e of t)n(e,t[e])}else{let i,a=0;try{for(;i=e.key(a++);)t.hasOwnProperty(i)||n(i,e.getItem(i))}catch(o){r(o,`Error getting all values from ${e.name}`)}}}),t}}]},Sf=e=>{if(!e)return"";let t="";for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];t+=r instanceof Date?`; ${n}=${r.toUTCString()}`:"boolean"==typeof r?`; ${n}`:`; ${n}=${r}`}return t},kf=(Ef={_cookies:[globalThis.document,"cookie"],getItem:e=>kf._cookies[0][kf._cookies[1]].match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)")?.pop()??null,setItem:(e,t,n)=>{const r=kf.getItem(e);kf._cookies[0][kf._cookies[1]]=`${e}=${t}${Sf(n)}`;const o=Object.assign(new Event("storage"),{key:e,oldValue:r,newValue:t,url:globalThis.document.URL,storageArea:kf});window.dispatchEvent(o)},removeItem:e=>{kf._cookies[0][kf._cookies[1]]=`${e}=deleted${Sf({expires:new Date(0)})}`},key:e=>{let t=null,n=0;return kf._cookies[0][kf._cookies[1]].replace(/(?:^|;)\s*(.+?)\s*=\s*[^;]+/g,(r,o)=>(!t&&o&&n++===e&&(t=o),"")),t},get length(){let e=0;return kf._cookies[0][kf._cookies[1]].replace(/(?:^|;)\s*.+?\s*=\s*[^;]+/g,t=>(e+=t?1:0,"")),e}},"function"==typeof Ef.clear||(Ef.clear=()=>{let e;for(;e=Ef.key(0);)Ef.removeItem(e)}),Ef);let Tf=e("cq","");window.OPENLIST_CONFIG.base_path&&(t=>{e("cq",Tf=t),Tf.startsWith("/")||e("cq",Tf="/"+Tf),Tf.endsWith("/")&&e("cq",Tf=Tf.slice(0,-1))})(window.OPENLIST_CONFIG.base_path);let wf=e("eb","/");window.OPENLIST_CONFIG.api&&e("eb",wf=window.OPENLIST_CONFIG.api),"/"===wf&&e("eb",wf=location.origin+Tf),wf.endsWith("/")&&e("eb",wf=wf.slice(0,-1));const Af=e("aQ",function(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get("*"))&&r.slice().map(function(e){e(t,n)})}}}());var Cf=He("<div><div>"),xf=He("<div>");const Of=e("r",{render:e=>{Nd.show({render:t=>pe(As,{get css(){return{display:"flex",backdropFilter:"blur(8px)",backgroundColor:yy(),boxShadow:"$md",borderRadius:"$lg",padding:"$3"}},get children(){return[(r=Cf(),o=r.firstChild,r.style.setProperty("flex-grow","1"),r.style.setProperty("display","flex"),r.style.setProperty("align-items","center"),o.style.setProperty("margin","auto"),Ke(o,e),r),(n=xf(),n.style.setProperty("display","inline-block"),n.style.setProperty("padding","5px"),Ke(n,pe(Wc,{style:{float:"right"},right:"$2",top:"$2",get onClick(){return t.close}})),n)];var n,r,o}})})},success:e=>{Nd.show({status:"success",title:uy(e)})},error:e=>{Nd.show({status:"danger",title:uy(e)})},info:e=>{Nd.show({status:"info",title:uy(e)})},warning:e=>{Nd.show({status:"warning",title:uy(e)})}}),If=(e,t)=>(e.endsWith("/")&&(e=e.slice(0,-1)),e.startsWith("/")||(e="/"+e),"/"===e?"":e),Nf=(...e)=>new URL(Lf(...e),location.origin).pathname,Lf=e("z",(...e)=>e.join("/").replace(/\/{2,}/g,"/")),Df=e("Y",(...e)=>Lf(Tf,...e)),Rf=(e("l",e=>e.split("/").pop()),e("e4",e=>e.split("/").slice(0,-1).join("/"))),Mf=e("U",(e,t)=>e.split("/").map(e=>t?encodeURIComponent(e):e.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23").replace(/ /g,"%20")).join("/")),Pf=e("cW",e=>e.split(".").pop()??"");e("ea",e=>e.split(".").slice(0,-1).join(".")),e("dh",e=>JSON.parse(JSON.stringify(e)));const Bf=e=>{const t=[];for(const n in e)t.push({key:n,value:e[n]});return t},$f=e("e6",e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLowerCase(),null!==t&&"object"==typeof t?$f(t):t])));function Ff(e,t){return function(){return e.apply(t,arguments)}}const{toString:Hf}=Object.prototype,{getPrototypeOf:zf}=Object,{iterator:Uf,toStringTag:jf}=Symbol,Gf=(Wf=Object.create(null),e=>{const t=Hf.call(e);return Wf[t]||(Wf[t]=t.slice(8,-1).toLowerCase())});var Wf;const qf=e=>(e=e.toLowerCase(),t=>Gf(t)===e),Vf=e=>t=>typeof t===e,{isArray:Yf}=Array,Kf=Vf("undefined");function Xf(e){return null!==e&&!Kf(e)&&null!==e.constructor&&!Kf(e.constructor)&&Jf(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Qf=qf("ArrayBuffer"),Zf=Vf("string"),Jf=Vf("function"),eg=Vf("number"),tg=e=>null!==e&&"object"==typeof e,ng=e=>{if("object"!==Gf(e))return!1;const t=zf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||jf in e||Uf in e)},rg=qf("Date"),og=qf("File"),ig=qf("Blob"),ag=qf("FileList"),sg=qf("URLSearchParams"),[lg,cg,ug,dg]=["ReadableStream","Request","Response","Headers"].map(qf);function pg(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),Yf(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Xf(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function hg(e,t){if(Xf(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const fg="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,gg=e=>!Kf(e)&&e!==fg,mg=(bg="undefined"!=typeof Uint8Array&&zf(Uint8Array),e=>bg&&e instanceof bg);var bg;const vg=qf("HTMLFormElement"),yg=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Eg=qf("RegExp"),_g=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};pg(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)},Sg=qf("AsyncFunction"),kg=(Tg="function"==typeof setImmediate,wg=Jf(fg.postMessage),Tg?setImmediate:wg?(Ag=`axios@${Math.random()}`,Cg=[],fg.addEventListener("message",({source:e,data:t})=>{e===fg&&t===Ag&&Cg.length&&Cg.shift()()},!1),e=>{Cg.push(e),fg.postMessage(Ag,"*")}):e=>setTimeout(e));var Tg,wg,Ag,Cg;const xg="undefined"!=typeof queueMicrotask?queueMicrotask.bind(fg):"undefined"!=typeof process&&process.nextTick||kg,Og={isArray:Yf,isArrayBuffer:Qf,isBuffer:Xf,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Jf(e.append)&&("formdata"===(t=Gf(e))||"object"===t&&Jf(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Qf(e.buffer),t},isString:Zf,isNumber:eg,isBoolean:e=>!0===e||!1===e,isObject:tg,isPlainObject:ng,isEmptyObject:e=>{if(!tg(e)||Xf(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(ro){return!1}},isReadableStream:lg,isRequest:cg,isResponse:ug,isHeaders:dg,isUndefined:Kf,isDate:rg,isFile:og,isBlob:ig,isRegExp:Eg,isFunction:Jf,isStream:e=>tg(e)&&Jf(e.pipe),isURLSearchParams:sg,isTypedArray:mg,isFileList:ag,forEach:pg,merge:function e(){const{caseless:t,skipUndefined:n}=gg(this)&&this||{},r={},o=(o,i)=>{const a=t&&hg(r,i)||i;ng(r[a])&&ng(o)?r[a]=e(r[a],o):ng(o)?r[a]=e({},o):Yf(o)?r[a]=o.slice():n&&Kf(o)||(r[a]=o)};for(let i=0,a=arguments.length;i<a;i++)arguments[i]&&pg(arguments[i],o);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(pg(t,(t,r)=>{n&&Jf(t)?e[r]=Ff(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&zf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Gf,kindOfTest:qf,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(Yf(e))return e;let t=e.length;if(!eg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Uf]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:vg,hasOwnProperty:yg,hasOwnProp:yg,reduceDescriptors:_g,freezeMethods:e=>{_g(e,(t,n)=>{if(Jf(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Jf(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return Yf(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:hg,global:fg,isContextDefined:gg,isSpecCompliantForm:function(e){return!!(e&&Jf(e.append)&&"FormData"===e[jf]&&e[Uf])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(tg(e)){if(t.indexOf(e)>=0)return;if(Xf(e))return e;if(!("toJSON"in e)){t[r]=e;const o=Yf(e)?[]:{};return pg(e,(e,t)=>{const i=n(e,r+1);!Kf(i)&&(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:Sg,isThenable:e=>e&&(tg(e)||Jf(e))&&Jf(e.then)&&Jf(e.catch),setImmediate:kg,asap:xg,isIterable:e=>null!=e&&Jf(e[Uf])};function Ig(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Og.inherits(Ig,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Og.toJSONObject(this.config),code:this.code,status:this.status}}});const Ng=Ig.prototype,Lg={};function Dg(e){return Og.isPlainObject(e)||Og.isArray(e)}function Rg(e){return Og.endsWith(e,"[]")?e.slice(0,-2):e}function Mg(e,t,n){return e?e.concat(t).map(function(e,t){return e=Rg(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Lg[e]={value:e}}),Object.defineProperties(Ig,Lg),Object.defineProperty(Ng,"isAxiosError",{value:!0}),Ig.from=(e,t,n,r,o,i)=>{const a=Object.create(Ng);Og.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);const s=e&&e.message?e.message:"Error",l=null==t&&e?e.code:t;return Ig.call(a,s,l,n,r,o),e&&null==a.cause&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",i&&Object.assign(a,i),a};const Pg=Og.toFlatObject(Og,{},null,function(e){return/^is[A-Z]/.test(e)});function Bg(e,t,n){if(!Og.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Og.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Og.isUndefined(t[e])})).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Og.isSpecCompliantForm(t);if(!Og.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Og.isDate(e))return e.toISOString();if(Og.isBoolean(e))return e.toString();if(!s&&Og.isBlob(e))throw new Ig("Blob is not supported. Use a Buffer instead.");return Og.isArrayBuffer(e)||Og.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(Og.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Og.isArray(e)&&function(e){return Og.isArray(e)&&!e.some(Dg)}(e)||(Og.isFileList(e)||Og.endsWith(n,"[]"))&&(s=Og.toArray(e)))return n=Rg(n),s.forEach(function(e,r){!Og.isUndefined(e)&&null!==e&&t.append(!0===a?Mg([n],r,i):null===a?n:n+"[]",l(e))}),!1;return!!Dg(e)||(t.append(Mg(o,n,i),l(e)),!1)}const u=[],d=Object.assign(Pg,{defaultVisitor:c,convertValue:l,isVisitable:Dg});if(!Og.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Og.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Og.forEach(n,function(n,i){!0===(!(Og.isUndefined(n)||null===n)&&o.call(t,n,Og.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])}),u.pop()}}(e),t}function $g(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Fg(e,t){this._pairs=[],e&&Bg(e,this,t)}const Hg=Fg.prototype;function zg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ug(e,t,n){if(!t)return e;const r=n&&n.encode||zg;Og.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):Og.isURLSearchParams(t)?t.toString():new Fg(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Hg.append=function(e,t){this._pairs.push([e,t])},Hg.toString=function(e){const t=e?function(t){return e.call(this,t,$g)}:$g;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class jg{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Og.forEach(this.handlers,function(t){null!==t&&e(t)})}}const Gg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Wg={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Fg,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},qg="undefined"!=typeof window&&"undefined"!=typeof document,Vg="object"==typeof navigator&&navigator||void 0,Yg=qg&&(!Vg||["ReactNative","NativeScript","NS"].indexOf(Vg.product)<0),Kg="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Xg=qg&&window.location.href||"http://localhost",Qg={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qg,hasStandardBrowserEnv:Yg,hasStandardBrowserWebWorkerEnv:Kg,navigator:Vg,origin:Xg},Symbol.toStringTag,{value:"Module"})),...Wg};function Zg(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;return i=!i&&Og.isArray(r)?r.length:i,s?(Og.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&Og.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&Og.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a)}if(Og.isFormData(e)&&Og.isFunction(e.entries)){const n={};return Og.forEachEntry(e,(e,r)=>{t(function(e){return Og.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null}const Jg={transitional:Gg,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Og.isObject(e);if(o&&Og.isHTMLForm(e)&&(e=new FormData(e)),Og.isFormData(e))return r?JSON.stringify(Zg(e)):e;if(Og.isArrayBuffer(e)||Og.isBuffer(e)||Og.isStream(e)||Og.isFile(e)||Og.isBlob(e)||Og.isReadableStream(e))return e;if(Og.isArrayBufferView(e))return e.buffer;if(Og.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Bg(e,new Qg.classes.URLSearchParams,{visitor:function(e,t,n,r){return Qg.isNode&&Og.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=Og.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Bg(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Og.isString(e))try{return(t||JSON.parse)(e),Og.trim(e)}catch(ro){if("SyntaxError"!==ro.name)throw ro}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Jg.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Og.isResponse(e)||Og.isReadableStream(e))return e;if(e&&Og.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(ro){if(n){if("SyntaxError"===ro.name)throw Ig.from(ro,Ig.ERR_BAD_RESPONSE,this,null,this.response);throw ro}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qg.classes.FormData,Blob:Qg.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Og.forEach(["delete","get","head","post","put","patch"],e=>{Jg.headers[e]={}});const em=Og.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),tm=Symbol("internals");function nm(e){return e&&String(e).trim().toLowerCase()}function rm(e){return!1===e||null==e?e:Og.isArray(e)?e.map(rm):String(e)}function om(e,t,n,r,o){return Og.isFunction(r)?r.call(this,t,n):(o&&(t=n),Og.isString(t)?Og.isString(r)?-1!==t.indexOf(r):Og.isRegExp(r)?r.test(t):void 0:void 0)}let im=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=nm(t);if(!o)throw new Error("header name must be a non-empty string");const i=Og.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=rm(e))}const i=(e,t)=>Og.forEach(e,(e,n)=>o(e,n,t));if(Og.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Og.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&em[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(Og.isObject(e)&&Og.isIterable(e)){let n,r,o={};for(const t of e){if(!Og.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?Og.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=nm(e)){const n=Og.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Og.isFunction(t))return t.call(this,e,n);if(Og.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=nm(e)){const n=Og.findKey(this,e);return!(!n||void 0===this[n]||t&&!om(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=nm(e)){const o=Og.findKey(n,e);!o||t&&!om(0,n[o],o,t)||(delete n[o],r=!0)}}return Og.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!om(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Og.forEach(this,(r,o)=>{const i=Og.findKey(n,o);if(i)return t[i]=rm(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();a!==o&&delete t[o],t[a]=rm(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Og.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Og.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[tm]=this[tm]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=nm(e);t[r]||(function(e,t){const n=Og.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return Og.isArray(e)?e.forEach(r):r(e),this}};function am(e,t){const n=this||Jg,r=t||n,o=im.from(r.headers);let i=r.data;return Og.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function sm(e){return!(!e||!e.__CANCEL__)}function lm(e,t,n){Ig.call(this,null==e?"canceled":e,Ig.ERR_CANCELED,t,n),this.name="CanceledError"}function cm(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Ig("Request failed with status code "+n.status,[Ig.ERR_BAD_REQUEST,Ig.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}im.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Og.reduceDescriptors(im.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Og.freezeMethods(im),Og.inherits(lm,Ig,{__CANCEL__:!0});const um=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const p=c&&l-c;return p?Math.round(1e3*d/p):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=i?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},i-s)))},()=>n&&a(n)]}(n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i,e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},dm=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},pm=e=>(...t)=>Og.asap(()=>e(...t)),hm=Qg.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Qg.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Qg.origin),Qg.navigator&&/(msie|trident)/i.test(Qg.navigator.userAgent)):()=>!0,fm=Qg.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];Og.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Og.isString(r)&&a.push("path="+r),Og.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function gm(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const mm=e=>e instanceof im?{...e}:e;function bm(e,t){t=t||{};const n={};function r(e,t,n,r){return Og.isPlainObject(e)&&Og.isPlainObject(t)?Og.merge.call({caseless:r},e,t):Og.isPlainObject(t)?Og.merge({},t):Og.isArray(t)?t.slice():t}function o(e,t,n,o){return Og.isUndefined(t)?Og.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!Og.isUndefined(t))return r(void 0,t)}function a(e,t){return Og.isUndefined(t)?Og.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(mm(e),mm(t),0,!0)};return Og.forEach(Object.keys({...e,...t}),function(r){const i=l[r]||o,a=i(e[r],t[r],r);Og.isUndefined(a)&&i!==s||(n[r]=a)}),n}const vm=e=>{const t=bm({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;if(t.headers=a=im.from(a),t.url=Ug(gm(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Og.isFormData(n))if(Qg.hasStandardBrowserEnv||Qg.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(Og.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&a.set(e,n)})}if(Qg.hasStandardBrowserEnv&&(r&&Og.isFunction(r)&&(r=r(t)),r||!1!==r&&hm(t.url))){const e=o&&i&&fm.read(i);e&&a.set(o,e)}return t},ym="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=vm(e);let o=r.data;const i=im.from(r.headers).normalize();let a,s,l,c,u,{responseType:d,onUploadProgress:p,onDownloadProgress:h}=r;function f(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=im.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());cm(function(e){t(e),f()},function(e){n(e),f()},{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new Ig("Request aborted",Ig.ECONNABORTED,e,g)),g=null)},g.onerror=function(t){const r=new Ig(t&&t.message?t.message:"Network Error",Ig.ERR_NETWORK,e,g);r.event=t||null,n(r),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Gg;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Ig(t,o.clarifyTimeoutError?Ig.ETIMEDOUT:Ig.ECONNABORTED,e,g)),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&Og.forEach(i.toJSON(),function(e,t){g.setRequestHeader(t,e)}),Og.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),d&&"json"!==d&&(g.responseType=r.responseType),h&&([l,u]=um(h,!0),g.addEventListener("progress",l)),p&&g.upload&&([s,c]=um(p),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{g&&(n(!t||t.type?new lm(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const b=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);b&&-1===Qg.protocols.indexOf(b)?n(new Ig("Unsupported protocol "+b+":",Ig.ERR_BAD_REQUEST,e)):g.send(o||null)})},Em=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Ig?t:new lm(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new Ig(`timeout ${t} of ms exceeded`,Ig.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=r;return s.unsubscribe=()=>Og.asap(a),s}},_m=function*(e,t){let n=e.byteLength;if(n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Sm=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},km=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Sm(e))yield*_m(n,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:Tm}=Og,wm=(({fetch:e,Request:t,Response:n})=>({fetch:e,Request:t,Response:n}))(Og.global),{ReadableStream:Am,TextEncoder:Cm}=Og.global,xm=(e,...t)=>{try{return!!e(...t)}catch(ro){return!1}},Om=e=>{const{fetch:t,Request:n,Response:r}=Object.assign({},wm,e),o=Tm(t),i=Tm(n),a=Tm(r);if(!o)return!1;const s=o&&Tm(Am),l=o&&("function"==typeof Cm?(c=new Cm,e=>c.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var c;const u=i&&s&&xm(()=>{let e=!1;const t=new n(Qg.origin,{body:new Am,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d=a&&s&&xm(()=>Og.isReadableStream(new r("").body)),p={stream:d&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!p[e]&&(p[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new Ig(`Response type '${e}' is not supported`,Ig.ERR_NOT_SUPPORT,n)})});const h=async(e,t)=>{const r=Og.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(Og.isBlob(e))return e.size;if(Og.isSpecCompliantForm(e)){const t=new n(Qg.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Og.isArrayBufferView(e)||Og.isArrayBuffer(e)?e.byteLength:(Og.isURLSearchParams(e)&&(e+=""),Og.isString(e)?(await l(e)).byteLength:void 0)})(t):r};return async e=>{let{url:o,method:a,data:s,signal:l,cancelToken:c,timeout:f,onDownloadProgress:g,onUploadProgress:m,responseType:b,headers:v,withCredentials:y="same-origin",fetchOptions:E}=vm(e);b=b?(b+"").toLowerCase():"text";let _=Em([l,c&&c.toAbortSignal()],f),S=null;const k=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let T;try{if(m&&u&&"get"!==a&&"head"!==a&&0!==(T=await h(v,s))){let e,t=new n(o,{method:"POST",body:s,duplex:"half"});if(Og.isFormData(s)&&(e=t.headers.get("content-type"))&&v.setContentType(e),t.body){const[e,n]=dm(T,um(pm(m)));s=km(t.body,65536,e,n)}}Og.isString(y)||(y=y?"include":"omit");const l=i&&"credentials"in n.prototype,c={...E,signal:_,method:a.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:"half",credentials:l?y:void 0};S=i&&new n(o,c);let f=await(i?t(S,E):t(o,c));const w=d&&("stream"===b||"response"===b);if(d&&(g||w&&k)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=f[t]});const t=Og.toFiniteNumber(f.headers.get("content-length")),[n,o]=g&&dm(t,um(pm(g),!0))||[];f=new r(km(f.body,65536,n,()=>{o&&o(),k&&k()}),e)}b=b||"text";let A=await p[Og.findKey(p,b)||"text"](f,e);return!w&&k&&k(),await new Promise((t,n)=>{cm(t,n,{data:A,headers:im.from(f.headers),status:f.status,statusText:f.statusText,config:e,request:S})})}catch(w){if(k&&k(),w&&"TypeError"===w.name&&/Load failed|fetch/i.test(w.message))throw Object.assign(new Ig("Network Error",Ig.ERR_NETWORK,e,S),{cause:w.cause||w});throw Ig.from(w,w&&w.code,e,S)}}},Im=new Map,Nm=e=>{let t=Og.merge.call({skipUndefined:!0},wm,e?e.env:null);const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let a,s,l=i.length,c=Im;for(;l--;)a=i[l],s=c.get(a),void 0===s&&c.set(a,s=l?new Map:Om(t)),c=s;return s};Nm();const Lm={http:null,xhr:ym,fetch:{get:Nm}};Og.forEach(Lm,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(ro){}Object.defineProperty(e,"adapterName",{value:t})}});const Dm=e=>`- ${e}`,Rm=e=>Og.isFunction(e)||null===e||!1===e,Mm=(e,t)=>{e=Og.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let a=0;a<n;a++){let n;if(r=e[a],o=r,!Rm(r)&&(o=Lm[(n=String(r)).toLowerCase()],void 0===o))throw new Ig(`Unknown adapter '${n}'`);if(o&&(Og.isFunction(o)||(o=o.get(t))))break;i[n||"#"+a]=o}if(!o){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new Ig("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(Dm).join("\n"):" "+Dm(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o};function Pm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lm(null,e)}function Bm(e){return Pm(e),e.headers=im.from(e.headers),e.data=am.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Mm(e.adapter||Jg.adapter,e)(e).then(function(t){return Pm(e),t.data=am.call(e,e.transformResponse,t),t.headers=im.from(t.headers),t},function(t){return sm(t)||(Pm(e),t&&t.response&&(t.response.data=am.call(e,e.transformResponse,t.response),t.response.headers=im.from(t.response.headers))),Promise.reject(t)})}const $m="1.12.0",Fm={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fm[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Hm={};Fm.transitional=function(e,t,n){function r(e,t){return"[Axios v"+$m+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Ig(r(o," has been removed"+(t?" in "+t:"")),Ig.ERR_DEPRECATED);return t&&!Hm[o]&&(Hm[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},Fm.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const zm={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Ig("options must be an object",Ig.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Ig("option "+i+" must be "+n,Ig.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new Ig("Unknown option "+i,Ig.ERR_BAD_OPTION)}},validators:Fm},Um=zm.validators;let jm=class{constructor(e){this.defaults=e||{},this.interceptors={request:new jg,response:new jg}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(ro){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=bm(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&zm.assertOptions(n,{silentJSONParsing:Um.transitional(Um.boolean),forcedJSONParsing:Um.transitional(Um.boolean),clarifyTimeoutError:Um.transitional(Um.boolean)},!1),null!=r&&(Og.isFunction(r)?t.paramsSerializer={serialize:r}:zm.assertOptions(r,{encode:Um.function,serialize:Um.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),zm.assertOptions(t,{baseUrl:Um.spelling("baseURL"),withXsrfToken:Um.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Og.merge(o.common,o[t.method]);o&&Og.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=im.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let u,d=0;if(!s){const e=[Bm.bind(this),void 0];for(e.unshift(...a),e.push(...l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let p=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{p=e(p)}catch(h){t.call(this,h);break}}try{c=Bm.call(this,p)}catch(h){return Promise.reject(h)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return Ug(gm((e=bm(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};Og.forEach(["delete","get","head","options"],function(e){jm.prototype[e]=function(t,n){return this.request(bm(n||{},{method:e,url:t,data:(n||{}).data}))}}),Og.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,o){return this.request(bm(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}jm.prototype[e]=t(),jm.prototype[e+"Form"]=t(!0)});const Gm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Gm).forEach(([e,t])=>{Gm[t]=e});const Wm=e("x",function e(t){const n=new jm(t),r=Ff(jm.prototype.request,n);return Og.extend(r,jm.prototype,n,{allOwnKeys:!0}),Og.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(bm(t,n))},r}(Jg));Wm.Axios=jm,Wm.CanceledError=lm,Wm.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new lm(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;const n=new e(function(e){t=e});return{token:n,cancel:t}}},Wm.isCancel=sm,Wm.VERSION=$m,Wm.toFormData=Bg,Wm.AxiosError=Ig,Wm.Cancel=Wm.CanceledError,Wm.all=function(e){return Promise.all(e)},Wm.spread=function(e){return function(t){return e.apply(null,t)}},Wm.isAxiosError=function(e){return Og.isObject(e)&&!0===e.isAxiosError},Wm.mergeConfig=bm,Wm.AxiosHeaders=im,Wm.formToJSON=e=>Zg(Og.isHTMLForm(e)?new FormData(e):e),Wm.getAdapter=Mm,Wm.HttpStatusCode=Gm,Wm.default=Wm;const{Axios:qm,AxiosError:Vm,CanceledError:Ym,isCancel:Km,CancelToken:Xm,VERSION:Qm,all:Zm,Cancel:Jm,isAxiosError:eb,spread:tb,toFormData:nb,AxiosHeaders:rb,HttpStatusCode:ob,formToJSON:ib,getAdapter:ab,mergeConfig:sb}=Wm,lb=e("bq",Wm.create({baseURL:wf+"/api",headers:{"Content-Type":"application/json;charset=utf-8"},withCredentials:!1}));lb.interceptors.request.use(e=>e,e=>(console.log("Error: "+e.message),Promise.reject(e))),lb.interceptors.response.use(e=>e.data,e=>(console.error(e),{code:Wm.isCancel(e)?-1:e.response?.status,message:e.message})),lb.defaults.headers.common.Authorization=localStorage.getItem("token")||"",e("cj",e=>{lb.defaults.headers.common.Authorization=e??"",localStorage.setItem("token",e??"")});var cb,ub={exports:{}},db={exports:{}},pb={},hb={};function fb(){if(cb)return hb;cb=1,hb.__esModule=!0,hb.extend=o,hb.indexOf=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},hb.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return n.test(e)?e.replace(t,r):e},hb.isEmpty=function(e){return!e&&0!==e||!(!s(e)||0!==e.length)},hb.createFrame=function(e){var t=o({},e);return t._parent=e,t},hb.blockParams=function(e,t){return e.path=t,e},hb.appendContextPath=function(e,t){return(e?e+".":"")+t};var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},t=/[&<>"'`=]/g,n=/[&<>"'`=]/;function r(t){return e[t]}function o(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var i=Object.prototype.toString;hb.toString=i;var a=function(e){return"function"==typeof e};a(/x/)&&(hb.isFunction=a=function(e){return"function"==typeof e&&"[object Function]"===i.call(e)}),hb.isFunction=a;var s=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===i.call(e)};return hb.isArray=s,hb}var gb,mb={exports:{}};function bb(){return gb||(gb=1,function(e,t){t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function r(e,t){var o=t&&t.loc,i=void 0,a=void 0,s=void 0,l=void 0;o&&(i=o.start.line,a=o.end.line,s=o.start.column,l=o.end.column,e+=" - "+i+":"+s);for(var c=Error.prototype.constructor.call(this,e),u=0;u<n.length;u++)this[n[u]]=c[n[u]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{o&&(this.lineNumber=i,this.endLineNumber=a,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:l,enumerable:!0})):(this.column=s,this.endColumn=l))}catch(d){}}r.prototype=new Error,t.default=r,e.exports=t.default}(mb,mb.exports)),mb.exports}var vb,yb,Eb,_b,Sb,kb,Tb,wb,Ab={},Cb={exports:{}},xb={exports:{}},Ob={exports:{}},Ib={exports:{}},Nb={exports:{}},Lb={exports:{}},Db={exports:{}};function Rb(){if(wb)return Ab;function e(e){return e&&e.__esModule?e:{default:e}}wb=1,Ab.__esModule=!0,Ab.registerDefaultHelpers=function(e){n.default(e),o.default(e),a.default(e),l.default(e),u.default(e),p.default(e),f.default(e)},Ab.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var t=(vb||(vb=1,function(e,t){t.__esModule=!0;var n=fb();t.default=function(e){e.registerHelper("blockHelperMissing",function(t,r){var o=r.inverse,i=r.fn;if(!0===t)return i(this);if(!1===t||null==t)return o(this);if(n.isArray(t))return t.length>0?(r.ids&&(r.ids=[r.name]),e.helpers.each(t,r)):o(this);if(r.data&&r.ids){var a=n.createFrame(r.data);a.contextPath=n.appendContextPath(r.data.contextPath,r.name),r={data:a}}return i(t,r)})},e.exports=t.default}(Cb,Cb.exports)),Cb.exports),n=e(t),r=(yb||(yb=1,function(e,t){t.__esModule=!0;var n,r=fb(),o=(n=bb())&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("each",function(e,t){if(!t)throw new o.default("Must pass iterator to #each");var n,i=t.fn,a=t.inverse,s=0,l="",c=void 0,u=void 0;function d(t,n,o){c&&(c.key=t,c.index=n,c.first=0===n,c.last=!!o,u&&(c.contextPath=u+t)),l+=i(e[t],{data:c,blockParams:r.blockParams([e[t],t],[u+t,null])})}if(t.data&&t.ids&&(u=r.appendContextPath(t.data.contextPath,t.ids[0])+"."),r.isFunction(e)&&(e=e.call(this)),t.data&&(c=r.createFrame(t.data)),e&&"object"==typeof e)if(r.isArray(e))for(var p=e.length;s<p;s++)s in e&&d(s,s,s===e.length-1);else if("function"==typeof Symbol&&e[Symbol.iterator]){for(var h=[],f=e[Symbol.iterator](),g=f.next();!g.done;g=f.next())h.push(g.value);for(p=(e=h).length;s<p;s++)d(s,s,s===e.length-1)}else n=void 0,Object.keys(e).forEach(function(e){void 0!==n&&d(n,s-1),n=e,s++}),void 0!==n&&d(n,s-1,!0);return 0===s&&(l=a(this)),l})},e.exports=t.default}(xb,xb.exports)),xb.exports),o=e(r),i=(Eb||(Eb=1,function(e,t){t.__esModule=!0;var n,r=(n=bb())&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new r.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default}(Ob,Ob.exports)),Ob.exports),a=e(i),s=(_b||(_b=1,function(e,t){t.__esModule=!0;var n,r=fb(),o=(n=bb())&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("if",function(e,t){if(2!=arguments.length)throw new o.default("#if requires exactly one argument");return r.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||r.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){if(2!=arguments.length)throw new o.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},e.exports=t.default}(Ib,Ib.exports)),Ib.exports),l=e(s),c=(Sb||(Sb=1,function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("log",function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),t[0]=o,e.log.apply(e,t)})},e.exports=t.default}(Nb,Nb.exports)),Nb.exports),u=e(c),d=(kb||(kb=1,function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",function(e,t,n){return e?n.lookupProperty(e,t):e})},e.exports=t.default}(Lb,Lb.exports)),Lb.exports),p=e(d),h=(Tb||(Tb=1,function(e,t){t.__esModule=!0;var n,r=fb(),o=(n=bb())&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("with",function(e,t){if(2!=arguments.length)throw new o.default("#with requires exactly one argument");r.isFunction(e)&&(e=e.call(this));var n=t.fn;if(r.isEmpty(e))return t.inverse(this);var i=t.data;return t.data&&t.ids&&((i=r.createFrame(t.data)).contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:i,blockParams:r.blockParams([e],[i&&i.contextPath])})})},e.exports=t.default}(Db,Db.exports)),Db.exports),f=e(h);return Ab}var Mb,Pb,Bb={},$b={exports:{}};function Fb(){if(Pb)return Bb;Pb=1,Bb.__esModule=!0,Bb.registerDefaultDecorators=function(e){n.default(e)};var e,t=(Mb||(Mb=1,function(e,t){t.__esModule=!0;var n=fb();t.default=function(e){e.registerDecorator("inline",function(e,t,r,o){var i=e;return t.partials||(t.partials={},i=function(o,i){var a=r.partials;r.partials=n.extend({},a,t.partials);var s=e(o,i);return r.partials=a,s}),t.partials[o.args[0]]=o.fn,i})},e.exports=t.default}($b,$b.exports)),$b.exports),n=(e=t)&&e.__esModule?e:{default:e};return Bb}var Hb,zb={exports:{}};function Ub(){return Hb||(Hb=1,function(e,t){t.__esModule=!0;var n=fb(),r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=n.indexOf(r.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=r.lookupLevel(e),"undefined"!=typeof console&&r.lookupLevel(r.level)<=e){var t=r.methodMap[e];console[t]||(t="log");for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];console[t].apply(console,o)}}};t.default=r,e.exports=t.default}(zb,zb.exports)),zb.exports}var jb,Gb,Wb,qb={},Vb={};function Yb(){if(Gb)return qb;Gb=1,qb.__esModule=!0,qb.createProtoAccessControl=function(e){var n=Object.create(null);n.constructor=!1,n.__defineGetter__=!1,n.__defineSetter__=!1,n.__lookupGetter__=!1;var r=Object.create(null);return r.__proto__=!1,{properties:{whitelist:t.createNewLookupObject(r,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:t.createNewLookupObject(n,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},qb.resultIsAllowed=function(e,t,n){return i("function"==typeof e?t.methods:t.properties,n)},qb.resetLoggedProperties=function(){Object.keys(o).forEach(function(e){delete o[e]})};var e,t=function(){if(jb)return Vb;jb=1,Vb.__esModule=!0,Vb.createNewLookupObject=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.extend.apply(void 0,[Object.create(null)].concat(n))};var e=fb();return Vb}(),n=Ub(),r=(e=n)&&e.__esModule?e:{default:e},o=Object.create(null);function i(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==o[e]&&(o[e]=!0,r.default.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}return qb}function Kb(){if(Wb)return pb;function e(e){return e&&e.__esModule?e:{default:e}}Wb=1,pb.__esModule=!0,pb.HandlebarsEnvironment=l;var t=fb(),n=e(bb()),r=Rb(),o=Fb(),i=e(Ub()),a=Yb();pb.VERSION="4.7.8",pb.COMPILER_REVISION=8,pb.LAST_COMPATIBLE_COMPILER_REVISION=7,pb.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var s="[object Object]";function l(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},r.registerDefaultHelpers(this),o.registerDefaultDecorators(this)}l.prototype={constructor:l,logger:i.default,log:i.default.log,registerHelper:function(e,r){if(t.toString.call(e)===s){if(r)throw new n.default("Arg not supported with multiple helpers");t.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,r){if(t.toString.call(e)===s)t.extend(this.partials,e);else{if(void 0===r)throw new n.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,r){if(t.toString.call(e)===s){if(r)throw new n.default("Arg not supported with multiple decorators");t.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){a.resetLoggedProperties()}};var c=i.default.log;return pb.log=c,pb.createFrame=t.createFrame,pb.logger=i.default,pb}var Xb,Qb,Zb,Jb={exports:{}},ev={},tv={};function nv(){if(Zb)return ev;Zb=1,ev.__esModule=!0,ev.checkRevision=function(e){var t=e&&e[0]||1,n=o.COMPILER_REVISION;if(!(t>=o.LAST_COMPATIBLE_COMPILER_REVISION&&t<=o.COMPILER_REVISION)){if(t<o.LAST_COMPATIBLE_COMPILER_REVISION){var i=o.REVISION_CHANGES[n],a=o.REVISION_CHANGES[t];throw new r.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+i+") or downgrade your runtime to an older version ("+a+").")}throw new r.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}},ev.template=function(e,n){if(!n)throw new r.default("No environment passed to template");if(!e||!e.main)throw new r.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,n.VM.checkRevision(e.compiler);var c=e.compiler&&7===e.compiler[0],d={strict:function(e,t,n){if(!e||!(t in e))throw new r.default('"'+t+'" not defined in '+e,{loc:n});return d.lookupProperty(e,t)},lookupProperty:function(e,t){var n=e[t];return null==n||Object.prototype.hasOwnProperty.call(e,t)||s.resultIsAllowed(n,d.protoAccessControl,t)?n:void 0},lookup:function(e,t){for(var n=e.length,r=0;r<n;r++)if(null!=(e[r]&&d.lookupProperty(e[r],t)))return e[r][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:t.escapeExpression,invokePartial:function(o,i,a){a.hash&&(i=t.extend({},i,a.hash),a.ids&&(a.ids[0]=!0)),o=n.VM.resolvePartial.call(this,o,i,a);var s=t.extend({},a,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),l=n.VM.invokePartial.call(this,o,i,s);if(null==l&&n.compile&&(a.partials[a.name]=n.compile(o,e.compilerOptions,n),l=a.partials[a.name](i,s)),null!=l){if(a.indent){for(var c=l.split("\n"),u=0,d=c.length;u<d&&(c[u]||u+1!==d);u++)c[u]=a.indent+c[u];l=c.join("\n")}return l}throw new r.default("The partial "+a.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,r,o){var i=this.programs[e],a=this.fn(e);return t||o||r||n?i=l(this,e,a,t,n,r,o):i||(i=this.programs[e]=l(this,e,a)),i},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,n){var r=e||n;return e&&n&&e!==n&&(r=t.extend({},n,e)),r},nullContext:Object.seal({}),noop:n.VM.noop,compilerInfo:e.compiler};function p(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=n.data;p._setup(n),!n.partial&&e.useData&&(r=function(e,t){return t&&"root"in t||((t=t?o.createFrame(t):{}).root=e),t}(t,r));var i=void 0,a=e.useBlockParams?[]:void 0;function s(t){return""+e.main(d,t,d.helpers,d.partials,r,a,i)}return e.useDepths&&(i=n.depths?t!=n.depths[0]?[t].concat(n.depths):n.depths:[t]),(s=u(e.main,s,d,n.depths||[],r,a))(t,n)}return p.isTop=!0,p._setup=function(r){if(r.partial)d.protoAccessControl=r.protoAccessControl,d.helpers=r.helpers,d.partials=r.partials,d.decorators=r.decorators,d.hooks=r.hooks;else{var o=t.extend({},n.helpers,r.helpers);!function(e,n){Object.keys(e).forEach(function(r){var o=e[r];e[r]=function(e,n){var r=n.lookupProperty;return a.wrapHelper(e,function(e){return t.extend({lookupProperty:r},e)})}(o,n)})}(o,d),d.helpers=o,e.usePartial&&(d.partials=d.mergeIfNeeded(r.partials,n.partials)),(e.usePartial||e.useDecorators)&&(d.decorators=t.extend({},n.decorators,r.decorators)),d.hooks={},d.protoAccessControl=s.createProtoAccessControl(r);var l=r.allowCallsToHelperMissing||c;i.moveHelperToHooks(d,"helperMissing",l),i.moveHelperToHooks(d,"blockHelperMissing",l)}},p._child=function(t,n,o,i){if(e.useBlockParams&&!o)throw new r.default("must pass block params");if(e.useDepths&&!i)throw new r.default("must pass parent depths");return l(d,t,e[t],n,0,o,i)},p},ev.wrapProgram=l,ev.resolvePartial=function(e,t,n){return e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],e},ev.invokePartial=function(e,n,i){var a=i.data&&i.data["partial-block"];i.partial=!0,i.ids&&(i.data.contextPath=i.ids[0]||i.data.contextPath);var s=void 0;if(i.fn&&i.fn!==c&&function(){i.data=o.createFrame(i.data);var e=i.fn;s=i.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=o.createFrame(n.data),n.data["partial-block"]=a,e(t,n)},e.partials&&(i.partials=t.extend({},i.partials,e.partials))}(),void 0===e&&s&&(e=s),void 0===e)throw new r.default("The partial "+i.name+" could not be found");if(e instanceof Function)return e(n,i)},ev.noop=c;var e,t=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(fb()),n=bb(),r=(e=n)&&e.__esModule?e:{default:e},o=Kb(),i=Rb(),a=(Qb||(Qb=1,tv.__esModule=!0,tv.wrapHelper=function(e,t){return"function"!=typeof e?e:function(){return arguments[arguments.length-1]=t(arguments[arguments.length-1]),e.apply(this,arguments)}}),tv),s=Yb();function l(e,t,n,r,o,i,a){function s(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return!a||t==a[0]||t===e.nullContext&&null===a[0]||(s=[t].concat(a)),n(e,t,e.helpers,e.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return(s=u(n,s,e,a,r,i)).program=t,s.depth=a?a.length:0,s.blockParams=o||0,s}function c(){return""}function u(e,n,r,o,i,a){if(e.decorator){var s={};n=e.decorator(n,s,r,o&&o[0],i,a,o),t.extend(n,s)}return n}return ev}var rv,ov,iv={exports:{}};function av(){return rv||(rv=1,function(e,t){t.__esModule=!0,t.default=function(e){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var t=globalThis.Handlebars;e.noConflict=function(){return globalThis.Handlebars===e&&(globalThis.Handlebars=t),e}},e.exports=t.default}(iv,iv.exports)),iv.exports}function sv(){return ov||(ov=1,function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var o=r(Kb()),i=(Xb||(Xb=1,function(e,t){function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default}(Jb,Jb.exports)),Jb.exports),a=n(i),s=n(bb()),l=r(fb()),c=r(nv()),u=n(av());function d(){var e=new o.HandlebarsEnvironment;return l.extend(e,o),e.SafeString=a.default,e.Exception=s.default,e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var p=d();p.create=d,u.default(p),p.default=p,t.default=p,e.exports=t.default}(db,db.exports)),db.exports}var lv,cv={exports:{}};function uv(){return lv||(lv=1,function(e,t){t.__esModule=!0;var n={helpers:{helperExpression:function(e){return"SubExpression"===e.type||("MustacheStatement"===e.type||"BlockStatement"===e.type)&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return 1===e.parts.length&&!n.helpers.scopedId(e)&&!e.depth}}};t.default=n,e.exports=t.default}(cv,cv.exports)),cv.exports}var dv,pv,hv,fv={},gv={exports:{}},mv={exports:{}},bv={exports:{}};function vv(){return pv||(pv=1,function(e,t){t.__esModule=!0;var n,r=bb(),o=(n=r)&&n.__esModule?n:{default:n};function i(){this.parents=[]}function a(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")}function s(e){a.call(this,e),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")}function l(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")}i.prototype={constructor:i,mutating:!1,acceptKey:function(e,t){var n=this.accept(e[t]);if(this.mutating){if(n&&!i.prototype[n.type])throw new o.default('Unexpected node type "'+n.type+'" found when accepting '+t+" on "+e.type);e[t]=n}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new o.default(e.type+" requires "+t)},acceptArray:function(e){for(var t=0,n=e.length;t<n;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,n--)},accept:function(e){if(e){if(!this[e.type])throw new o.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);return this.current=this.parents.shift(),!this.mutating||t?t:!1!==t?e:void 0}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:a,Decorator:a,BlockStatement:s,DecoratorBlock:s,PartialStatement:l,PartialBlockStatement:function(e){l.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:a,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}},t.default=i,e.exports=t.default}(bv,bv.exports)),bv.exports}var yv,Ev,_v={};function Sv(){if(Ev)return fv;function e(e){return e&&e.__esModule?e:{default:e}}Ev=1,fv.__esModule=!0,fv.parseWithoutProcessing=c,fv.parse=function(e,t){var n=c(e,t);return new o.default(t).accept(n)};var t=(dv||(dv=1,function(e,t){t.__esModule=!0;var n=function(){var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(e,t,n,r,o,i,a){var s=i.length-1;switch(o){case 1:return i[s-1];case 2:this.$=r.prepareProgram(i[s]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:case 40:case 41:this.$=i[s];break;case 9:this.$={type:"CommentStatement",value:r.stripComment(i[s]),strip:r.stripFlags(i[s],i[s]),loc:r.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:i[s],value:i[s],loc:r.locInfo(this._$)};break;case 11:this.$=r.prepareRawBlock(i[s-2],i[s-1],i[s],this._$);break;case 12:this.$={path:i[s-3],params:i[s-2],hash:i[s-1]};break;case 13:this.$=r.prepareBlock(i[s-3],i[s-2],i[s-1],i[s],!1,this._$);break;case 14:this.$=r.prepareBlock(i[s-3],i[s-2],i[s-1],i[s],!0,this._$);break;case 15:this.$={open:i[s-5],path:i[s-4],params:i[s-3],hash:i[s-2],blockParams:i[s-1],strip:r.stripFlags(i[s-5],i[s])};break;case 16:case 17:this.$={path:i[s-4],params:i[s-3],hash:i[s-2],blockParams:i[s-1],strip:r.stripFlags(i[s-5],i[s])};break;case 18:this.$={strip:r.stripFlags(i[s-1],i[s-1]),program:i[s]};break;case 19:var l=r.prepareBlock(i[s-2],i[s-1],i[s],i[s],!1,this._$),c=r.prepareProgram([l],i[s-1].loc);c.chained=!0,this.$={strip:i[s-2].strip,program:c,chain:!0};break;case 21:this.$={path:i[s-1],strip:r.stripFlags(i[s-2],i[s])};break;case 22:case 23:this.$=r.prepareMustache(i[s-3],i[s-2],i[s-1],i[s-4],r.stripFlags(i[s-4],i[s]),this._$);break;case 24:this.$={type:"PartialStatement",name:i[s-3],params:i[s-2],hash:i[s-1],indent:"",strip:r.stripFlags(i[s-4],i[s]),loc:r.locInfo(this._$)};break;case 25:this.$=r.preparePartialBlock(i[s-2],i[s-1],i[s],this._$);break;case 26:this.$={path:i[s-3],params:i[s-2],hash:i[s-1],strip:r.stripFlags(i[s-4],i[s])};break;case 29:this.$={type:"SubExpression",path:i[s-3],params:i[s-2],hash:i[s-1],loc:r.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:i[s],loc:r.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:r.id(i[s-2]),value:i[s],loc:r.locInfo(this._$)};break;case 32:this.$=r.id(i[s-1]);break;case 35:this.$={type:"StringLiteral",value:i[s],original:i[s],loc:r.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(i[s]),original:Number(i[s]),loc:r.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===i[s],original:"true"===i[s],loc:r.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:r.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:r.locInfo(this._$)};break;case 42:this.$=r.preparePath(!0,i[s],this._$);break;case 43:this.$=r.preparePath(!1,i[s],this._$);break;case 44:i[s-2].push({part:r.id(i[s]),original:i[s],separator:i[s-1]}),this.$=i[s-2];break;case 45:this.$=[{part:r.id(i[s]),original:i[s]}];break;case 46:case 48:case 50:case 58:case 64:case 70:case 78:case 82:case 86:case 90:case 94:this.$=[];break;case 47:case 49:case 51:case 59:case 65:case 71:case 79:case 83:case 87:case 91:case 95:case 99:case 101:i[s-1].push(i[s]);break;case 98:case 100:this.$=[i[s]]}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],o=[],i=this.table,a="",s=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var c=this.lexer.yylloc;o.push(c);var u=this.lexer.options&&this.lexer.options.ranges;function d(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var p,h,f,g,m,b,v,y,E={};;){if(h=n[n.length-1],this.defaultActions[h]?f=this.defaultActions[h]:(null==p&&(p=d()),f=i[h]&&i[h][p]),void 0===f||!f.length||!f[0]){var _="";for(m in y=[],i[h])this.terminals_[m]&&m>2&&y.push("'"+this.terminals_[m]+"'");_=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+y.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(_,{text:this.lexer.match,token:this.terminals_[p]||p,line:this.lexer.yylineno,loc:c,expected:y})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+h+", token: "+p);switch(f[0]){case 1:n.push(p),r.push(this.lexer.yytext),o.push(this.lexer.yylloc),n.push(f[1]),p=null,l=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,c=this.lexer.yylloc;break;case 2:if(b=this.productions_[f[1]][1],E.$=r[r.length-b],E._$={first_line:o[o.length-(b||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(b||1)].first_column,last_column:o[o.length-1].last_column},u&&(E._$.range=[o[o.length-(b||1)].range[0],o[o.length-1].range[1]]),void 0!==(g=this.performAction.call(E,a,l,s,this.yy,f[1],r,o)))return g;b&&(n=n.slice(0,-1*b*2),r=r.slice(0,-1*b),o=o.slice(0,-1*b)),n.push(this.productions_[f[1]][0]),r.push(E.$),o.push(E._$),v=i[n[n.length-2]][n[n.length-1]],n.push(v);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t,n,r,o;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length&&(!(n=this._input.match(this.rules[i[a]]))||t&&!(n[0].length>t[0].length)||(t=n,r=a,this.options.flex));a++);return t?((o=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},options:{},performAction:function(e,t,n,r){function o(e,n){return t.yytext=t.yytext.substring(e,t.yyleng-n+e)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(o(5,9),"END_RAW_BLOCK");case 6:case 22:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:case 23:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 24:return 73;case 25:case 26:case 41:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return e}();function n(){this.yy={}}return e.lexer=t,n.prototype=e,e.Parser=n,new n}();t.default=n,e.exports=t.default}(gv,gv.exports)),gv.exports),n=e(t),r=(hv||(hv=1,function(e,t){t.__esModule=!0;var n,r=(n=vv())&&n.__esModule?n:{default:n};function o(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=e}function i(e,t,n){void 0===t&&(t=e.length);var r=e[t-1],o=e[t-2];return r?"ContentStatement"===r.type?(o||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:n}function a(e,t,n){void 0===t&&(t=-1);var r=e[t+1],o=e[t+2];return r?"ContentStatement"===r.type?(o||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:n}function s(e,t,n){var r=e[null==t?0:t+1];if(r&&"ContentStatement"===r.type&&(n||!r.rightStripped)){var o=r.value;r.value=r.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==o}}function l(e,t,n){var r=e[null==t?e.length-1:t-1];if(r&&"ContentStatement"===r.type&&(n||!r.leftStripped)){var o=r.value;return r.value=r.value.replace(n?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==o,r.leftStripped}}o.prototype=new r.default,o.prototype.Program=function(e){var t=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var r=e.body,o=0,c=r.length;o<c;o++){var u=r[o],d=this.accept(u);if(d){var p=i(r,o,n),h=a(r,o,n),f=d.openStandalone&&p,g=d.closeStandalone&&h,m=d.inlineStandalone&&p&&h;d.close&&s(r,o,!0),d.open&&l(r,o,!0),t&&m&&(s(r,o),l(r,o)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(r[o-1].original)[1])),t&&f&&(s((u.program||u.inverse).body),l(r,o)),t&&g&&(s(r,o),l((u.inverse||u.program).body))}}return e},o.prototype.BlockStatement=o.prototype.DecoratorBlock=o.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,n=e.program&&e.inverse,r=n,o=n;if(n&&n.chained)for(r=n.body[0].program;o.chained;)o=o.body[o.body.length-1].program;var c={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:a(t.body),closeStandalone:i((r||t).body)};if(e.openStrip.close&&s(t.body,null,!0),n){var u=e.inverseStrip;u.open&&l(t.body,null,!0),u.close&&s(r.body,null,!0),e.closeStrip.open&&l(o.body,null,!0),!this.options.ignoreStandalone&&i(t.body)&&a(r.body)&&(l(t.body),s(r.body))}else e.closeStrip.open&&l(t.body,null,!0);return c},o.prototype.Decorator=o.prototype.MustacheStatement=function(e){return e.strip},o.prototype.PartialStatement=o.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t.default=o,e.exports=t.default}(mv,mv.exports)),mv.exports),o=e(r),i=function(){if(yv)return _v;yv=1,_v.__esModule=!0,_v.SourceLocation=function(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}},_v.id=function(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e},_v.stripFlags=function(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}},_v.stripComment=function(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},_v.preparePath=function(e,t,r){r=this.locInfo(r);for(var o=e?"@":"",i=[],a=0,s=0,l=t.length;s<l;s++){var c=t[s].part,u=t[s].original!==c;if(o+=(t[s].separator||"")+c,u||".."!==c&&"."!==c&&"this"!==c)i.push(c);else{if(i.length>0)throw new n.default("Invalid path: "+o,{loc:r});".."===c&&a++}}return{type:"PathExpression",data:e,depth:a,parts:i,original:o,loc:r}},_v.prepareMustache=function(e,t,n,r,o,i){var a=r.charAt(3)||r.charAt(2),s="{"!==a&&"&"!==a;return{type:/\*/.test(r)?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:s,strip:o,loc:this.locInfo(i)}},_v.prepareRawBlock=function(e,t,n,o){r(e,n);var i={type:"Program",body:t,strip:{},loc:o=this.locInfo(o)};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:o}},_v.prepareBlock=function(e,t,o,i,a,s){i&&i.path&&r(e,i);var l=/\*/.test(e.open);t.blockParams=e.blockParams;var c=void 0,u=void 0;if(o){if(l)throw new n.default("Unexpected inverse block on decorator",o);o.chain&&(o.program.body[0].closeStrip=i.strip),u=o.strip,c=o.program}return a&&(a=c,c=t,t=a),{type:l?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:c,openStrip:e.strip,inverseStrip:u,closeStrip:i&&i.strip,loc:this.locInfo(s)}},_v.prepareProgram=function(e,t){if(!t&&e.length){var n=e[0].loc,r=e[e.length-1].loc;n&&r&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:r.end.line,column:r.end.column}})}return{type:"Program",body:e,strip:{},loc:t}},_v.preparePartialBlock=function(e,t,n,o){return r(e,n),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(o)}};var e,t=bb(),n=(e=t)&&e.__esModule?e:{default:e};function r(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var r={loc:e.path.loc};throw new n.default(e.path.original+" doesn't match "+t,r)}}return _v}(),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),s=fb();fv.parser=n.default;var l={};function c(e,t){return"Program"===e.type?e:(n.default.yy=l,l.locInfo=function(e){return new l.SourceLocation(t&&t.srcName,e)},n.default.parse(e))}return s.extend(l,a),fv}var kv,Tv,wv,Av={},Cv={exports:{}},xv={exports:{}},Ov={},Iv={},Nv={},Lv={};function Dv(){if(Tv)return Lv;Tv=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Lv.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},Lv.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1},Lv}function Rv(){if(wv)return Nv;wv=1;var e=Dv();return Nv.encode=function(t){var n,r="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(t);do{n=31&o,(o>>>=5)>0&&(n|=32),r+=e.encode(n)}while(o>0);return r},Nv.decode=function(t,n,r){var o,i,a,s,l=t.length,c=0,u=0;do{if(n>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=e.decode(t.charCodeAt(n++))))throw new Error("Invalid base64 digit: "+t.charAt(n-1));o=!!(32&i),c+=(i&=31)<<u,u+=5}while(o);r.value=(s=(a=c)>>1,1&~a?s:-s),r.rest=n},Nv}var Mv,Pv={};function Bv(){return Mv||(Mv=1,function(e){e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function r(e){var n=e.match(t);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(t){var n=t,i=r(t);if(i){if(!i.path)return t;n=i.path}for(var a,s=e.isAbsolute(n),l=n.split(/\/+/),c=0,u=l.length-1;u>=0;u--)"."===(a=l[u])?l.splice(u,1):".."===a?c++:c>0&&(""===a?(l.splice(u+1,c),c=0):(l.splice(u,2),c--));return""===(n=l.join("/"))&&(n=s?"/":"."),i?(i.path=n,o(i)):n}function a(e,t){""===e&&(e="."),""===t&&(t=".");var a=r(t),s=r(e);if(s&&(e=s.path||"/"),a&&!a.scheme)return s&&(a.scheme=s.scheme),o(a);if(a||t.match(n))return t;if(s&&!s.host&&!s.path)return s.host=t,o(s);var l="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=l,o(s)):l}e.urlParse=r,e.urlGenerate=o,e.normalize=i,e.join=a,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var s=!("__proto__"in Object.create(null));function l(e){return e}function c(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function u(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=s?l:function(e){return c(e)?"$"+e:e},e.fromSetString=s?l:function(e){return c(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){var r=u(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:u(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=u(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:u(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=u(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:u(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var s=r(n);if(!s)throw new Error("sourceMapURL could not be parsed");if(s.path){var l=s.path.lastIndexOf("/");l>=0&&(s.path=s.path.substring(0,l+1))}t=a(o(s),t)}return i(t)}}(Pv)),Pv}var $v,Fv={};function Hv(){if($v)return Fv;$v=1;var e=Bv(),t=Object.prototype.hasOwnProperty,n="undefined"!=typeof Map;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;o<i;o++)n.add(e[o],t);return n},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,o){var i=n?r:e.toSetString(r),a=n?this.has(r):t.call(this._set,i),s=this._array.length;a&&!o||this._array.push(r),a||(n?this._set.set(r,s):this._set[i]=s)},r.prototype.has=function(r){if(n)return this._set.has(r);var o=e.toSetString(r);return t.call(this._set,o)},r.prototype.indexOf=function(r){if(n){var o=this._set.get(r);if(o>=0)return o}else{var i=e.toSetString(r);if(t.call(this._set,i))return this._set[i]}throw new Error('"'+r+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},Fv.ArraySet=r,Fv}var zv,Uv,jv={};function Gv(){if(zv)return jv;zv=1;var e=Bv();function t(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return t.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},t.prototype.add=function(t){var n,r,o,i,a,s;n=this._last,r=t,o=n.generatedLine,i=r.generatedLine,a=n.generatedColumn,s=r.generatedColumn,i>o||i==o&&s>=a||e.compareByGeneratedPositionsInflated(n,r)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},t.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},jv.MappingList=t,jv}function Wv(){if(Uv)return Iv;Uv=1;var e=Rv(),t=Bv(),n=Hv().ArraySet,r=Gv().MappingList;function o(e){e||(e={}),this._file=t.getArg(e,"file",null),this._sourceRoot=t.getArg(e,"sourceRoot",null),this._skipValidation=t.getArg(e,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(e){var n=e.sourceRoot,r=new o({file:e.file,sourceRoot:n});return e.eachMapping(function(e){var o={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(o.source=e.source,null!=n&&(o.source=t.relative(n,o.source)),o.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(o.name=e.name)),r.addMapping(o)}),e.sources.forEach(function(o){var i=o;null!==n&&(i=t.relative(n,o)),r._sources.has(i)||r._sources.add(i);var a=e.sourceContentFor(o);null!=a&&r.setSourceContent(o,a)}),r},o.prototype.addMapping=function(e){var n=t.getArg(e,"generated"),r=t.getArg(e,"original",null),o=t.getArg(e,"source",null),i=t.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,r,o,i),null!=o&&(o=String(o),this._sources.has(o)||this._sources.add(o)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:o,name:i})},o.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=t.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(e,r,o){var i=r;if(null==r){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');i=e.file}var a=this._sourceRoot;null!=a&&(i=t.relative(a,i));var s=new n,l=new n;this._mappings.unsortedForEach(function(n){if(n.source===i&&null!=n.originalLine){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=r.source&&(n.source=r.source,null!=o&&(n.source=t.join(o,n.source)),null!=a&&(n.source=t.relative(a,n.source)),n.originalLine=r.line,n.originalColumn=r.column,null!=r.name&&(n.name=r.name))}var c=n.source;null==c||s.has(c)||s.add(c);var u=n.name;null==u||l.has(u)||l.add(u)},this),this._sources=s,this._names=l,e.sources.forEach(function(n){var r=e.sourceContentFor(n);null!=r&&(null!=o&&(n=t.join(o,n)),null!=a&&(n=t.relative(a,n)),this.setSourceContent(n,r))},this)},o.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},o.prototype._serializeMappings=function(){for(var n,r,o,i,a=0,s=1,l=0,c=0,u=0,d=0,p="",h=this._mappings.toArray(),f=0,g=h.length;f<g;f++){if(n="",(r=h[f]).generatedLine!==s)for(a=0;r.generatedLine!==s;)n+=";",s++;else if(f>0){if(!t.compareByGeneratedPositionsInflated(r,h[f-1]))continue;n+=","}n+=e.encode(r.generatedColumn-a),a=r.generatedColumn,null!=r.source&&(i=this._sources.indexOf(r.source),n+=e.encode(i-d),d=i,n+=e.encode(r.originalLine-1-c),c=r.originalLine-1,n+=e.encode(r.originalColumn-l),l=r.originalColumn,null!=r.name&&(o=this._names.indexOf(r.name),n+=e.encode(o-u),u=o)),p+=n}return p},o.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},o.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},Iv.SourceMapGenerator=o,Iv}var qv,Vv={},Yv={};function Kv(){return qv||(qv=1,function(e){function t(n,r,o,i,a,s){var l=Math.floor((r-n)/2)+n,c=a(o,i[l],!0);return 0===c?l:c>0?r-l>1?t(l,r,o,i,a,s):s==e.LEAST_UPPER_BOUND?r<i.length?r:-1:l:l-n>1?t(n,l,o,i,a,s):s==e.LEAST_UPPER_BOUND?l:n<0?-1:n}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(n,r,o,i){if(0===r.length)return-1;var a=t(-1,r.length,n,r,o,i||e.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===o(r[a],r[a-1],!0);)--a;return a}}(Yv)),Yv}var Xv,Qv,Zv={};function Jv(){if(Xv)return Zv;function e(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function t(n,r,o,i){if(o<i){var a=o-1;e(n,(u=o,d=i,Math.round(u+Math.random()*(d-u))),i);for(var s=n[i],l=o;l<i;l++)r(n[l],s)<=0&&e(n,a+=1,l);e(n,a+1,l);var c=a+1;t(n,r,o,c-1),t(n,r,c+1,i)}var u,d}return Xv=1,Zv.quickSort=function(e,n){t(e,n,0,e.length-1)},Zv}var ey,ty,ny,ry,oy,iy={};function ay(){return ty||(ty=1,Ov.SourceMapGenerator=Wv().SourceMapGenerator,Ov.SourceMapConsumer=function(){if(Qv)return Vv;Qv=1;var e=Bv(),t=Kv(),n=Hv().ArraySet,r=Rv(),o=Jv().quickSort;function i(t,n){var r=t;return"string"==typeof t&&(r=e.parseSourceMapInput(t)),null!=r.sections?new l(r,n):new a(r,n)}function a(t,r){var o=t;"string"==typeof t&&(o=e.parseSourceMapInput(t));var i=e.getArg(o,"version"),a=e.getArg(o,"sources"),s=e.getArg(o,"names",[]),l=e.getArg(o,"sourceRoot",null),c=e.getArg(o,"sourcesContent",null),u=e.getArg(o,"mappings"),d=e.getArg(o,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);l&&(l=e.normalize(l)),a=a.map(String).map(e.normalize).map(function(t){return l&&e.isAbsolute(l)&&e.isAbsolute(t)?e.relative(l,t):t}),this._names=n.fromArray(s.map(String),!0),this._sources=n.fromArray(a,!0),this._absoluteSources=this._sources.toArray().map(function(t){return e.computeSourceURL(l,t,r)}),this.sourceRoot=l,this.sourcesContent=c,this._mappings=u,this._sourceMapURL=r,this.file=d}function s(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function l(t,r){var o=t;"string"==typeof t&&(o=e.parseSourceMapInput(t));var a=e.getArg(o,"version"),s=e.getArg(o,"sections");if(a!=this._version)throw new Error("Unsupported version: "+a);this._sources=new n,this._names=new n;var l={line:-1,column:0};this._sections=s.map(function(t){if(t.url)throw new Error("Support for url field in sections not implemented.");var n=e.getArg(t,"offset"),o=e.getArg(n,"line"),a=e.getArg(n,"column");if(o<l.line||o===l.line&&a<l.column)throw new Error("Section offsets must be ordered and non-overlapping.");return l=n,{generatedOffset:{generatedLine:o+1,generatedColumn:a+1},consumer:new i(e.getArg(t,"map"),r)}})}return i.fromSourceMap=function(e,t){return a.fromSourceMap(e,t)},i.prototype._version=3,i.prototype.__generatedMappings=null,Object.defineProperty(i.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),i.prototype.__originalMappings=null,Object.defineProperty(i.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),i.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},i.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},i.GENERATED_ORDER=1,i.ORIGINAL_ORDER=2,i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2,i.prototype.eachMapping=function(t,n,r){var o,a=n||null;switch(r||i.GENERATED_ORDER){case i.GENERATED_ORDER:o=this._generatedMappings;break;case i.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;o.map(function(t){var n=null===t.source?null:this._sources.at(t.source);return{source:n=e.computeSourceURL(s,n,this._sourceMapURL),generatedLine:t.generatedLine,generatedColumn:t.generatedColumn,originalLine:t.originalLine,originalColumn:t.originalColumn,name:null===t.name?null:this._names.at(t.name)}},this).forEach(t,a)},i.prototype.allGeneratedPositionsFor=function(n){var r=e.getArg(n,"line"),o={source:e.getArg(n,"source"),originalLine:r,originalColumn:e.getArg(n,"column",0)};if(o.source=this._findSourceIndex(o.source),o.source<0)return[];var i=[],a=this._findMapping(o,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(void 0===n.column)for(var l=s.originalLine;s&&s.originalLine===l;)i.push({line:e.getArg(s,"generatedLine",null),column:e.getArg(s,"generatedColumn",null),lastColumn:e.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var c=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==c;)i.push({line:e.getArg(s,"generatedLine",null),column:e.getArg(s,"generatedColumn",null),lastColumn:e.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return i},Vv.SourceMapConsumer=i,a.prototype=Object.create(i.prototype),a.prototype.consumer=i,a.prototype._findSourceIndex=function(t){var n,r=t;if(null!=this.sourceRoot&&(r=e.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(n=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==t)return n;return-1},a.fromSourceMap=function(t,r){var i=Object.create(a.prototype),l=i._names=n.fromArray(t._names.toArray(),!0),c=i._sources=n.fromArray(t._sources.toArray(),!0);i.sourceRoot=t._sourceRoot,i.sourcesContent=t._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=t._file,i._sourceMapURL=r,i._absoluteSources=i._sources.toArray().map(function(t){return e.computeSourceURL(i.sourceRoot,t,r)});for(var u=t._mappings.toArray().slice(),d=i.__generatedMappings=[],p=i.__originalMappings=[],h=0,f=u.length;h<f;h++){var g=u[h],m=new s;m.generatedLine=g.generatedLine,m.generatedColumn=g.generatedColumn,g.source&&(m.source=c.indexOf(g.source),m.originalLine=g.originalLine,m.originalColumn=g.originalColumn,g.name&&(m.name=l.indexOf(g.name)),p.push(m)),d.push(m)}return o(i.__originalMappings,e.compareByOriginalPositions),i},a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),a.prototype._parseMappings=function(t,n){for(var i,a,l,c,u,d=1,p=0,h=0,f=0,g=0,m=0,b=t.length,v=0,y={},E={},_=[],S=[];v<b;)if(";"===t.charAt(v))d++,v++,p=0;else if(","===t.charAt(v))v++;else{for((i=new s).generatedLine=d,c=v;c<b&&!this._charIsMappingSeparator(t,c);c++);if(l=y[a=t.slice(v,c)])v+=a.length;else{for(l=[];v<c;)r.decode(t,v,E),u=E.value,v=E.rest,l.push(u);if(2===l.length)throw new Error("Found a source, but no line and column");if(3===l.length)throw new Error("Found a source and line, but no column");y[a]=l}i.generatedColumn=p+l[0],p=i.generatedColumn,l.length>1&&(i.source=g+l[1],g+=l[1],i.originalLine=h+l[2],h=i.originalLine,i.originalLine+=1,i.originalColumn=f+l[3],f=i.originalColumn,l.length>4&&(i.name=m+l[4],m+=l[4])),S.push(i),"number"==typeof i.originalLine&&_.push(i)}o(S,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=S,o(_,e.compareByOriginalPositions),this.__originalMappings=_},a.prototype._findMapping=function(e,n,r,o,i,a){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[o]);return t.search(e,n,i,a)},a.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},a.prototype.originalPositionFor=function(t){var n={generatedLine:e.getArg(t,"line"),generatedColumn:e.getArg(t,"column")},r=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(t,"bias",i.GREATEST_LOWER_BOUND));if(r>=0){var o=this._generatedMappings[r];if(o.generatedLine===n.generatedLine){var a=e.getArg(o,"source",null);null!==a&&(a=this._sources.at(a),a=e.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var s=e.getArg(o,"name",null);return null!==s&&(s=this._names.at(s)),{source:a,line:e.getArg(o,"originalLine",null),column:e.getArg(o,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e})},a.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var o,i=t;if(null!=this.sourceRoot&&(i=e.relative(this.sourceRoot,i)),null!=this.sourceRoot&&(o=e.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if("file"==o.scheme&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!o.path||"/"==o.path)&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(n)return null;throw new Error('"'+i+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(t){var n=e.getArg(t,"source");if((n=this._findSourceIndex(n))<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:e.getArg(t,"line"),originalColumn:e.getArg(t,"column")},o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(t,"bias",i.GREATEST_LOWER_BOUND));if(o>=0){var a=this._originalMappings[o];if(a.source===r.source)return{line:e.getArg(a,"generatedLine",null),column:e.getArg(a,"generatedColumn",null),lastColumn:e.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Vv.BasicSourceMapConsumer=a,l.prototype=Object.create(i.prototype),l.prototype.constructor=i,l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),l.prototype.originalPositionFor=function(n){var r={generatedLine:e.getArg(n,"line"),generatedColumn:e.getArg(n,"column")},o=t.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),i=this._sections[o];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:n.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(-1!==r.consumer._findSourceIndex(e.getArg(t,"source"))){var o=r.consumer.generatedPositionFor(t);if(o)return{line:o.line+(r.generatedOffset.generatedLine-1),column:o.column+(r.generatedOffset.generatedLine===o.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},l.prototype._parseMappings=function(t,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],a=i.consumer._generatedMappings,s=0;s<a.length;s++){var l=a[s],c=i.consumer._sources.at(l.source);c=e.computeSourceURL(i.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var u=null;l.name&&(u=i.consumer._names.at(l.name),this._names.add(u),u=this._names.indexOf(u));var d={source:c,generatedLine:l.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(i.generatedOffset.generatedLine===l.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,name:u};this.__generatedMappings.push(d),"number"==typeof d.originalLine&&this.__originalMappings.push(d)}o(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),o(this.__originalMappings,e.compareByOriginalPositions)},Vv.IndexedSourceMapConsumer=l,Vv}().SourceMapConsumer,Ov.SourceNode=function(){if(ey)return iy;ey=1;var e=Wv().SourceMapGenerator,t=Bv(),n=/(\r?\n)/,r="$$$isSourceNode$$$";function o(e,t,n,o,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==i?null:i,this[r]=!0,null!=o&&this.add(o)}return o.fromStringWithSourceMap=function(e,r,i){var a=new o,s=e.split(n),l=0,c=function(){return e()+(e()||"");function e(){return l<s.length?s[l++]:void 0}},u=1,d=0,p=null;return r.eachMapping(function(e){if(null!==p){if(!(u<e.generatedLine)){var t=(n=s[l]||"").substr(0,e.generatedColumn-d);return s[l]=n.substr(e.generatedColumn-d),d=e.generatedColumn,h(p,t),void(p=e)}h(p,c()),u++,d=0}for(;u<e.generatedLine;)a.add(c()),u++;if(d<e.generatedColumn){var n=s[l]||"";a.add(n.substr(0,e.generatedColumn)),s[l]=n.substr(e.generatedColumn),d=e.generatedColumn}p=e},this),l<s.length&&(p&&h(p,c()),a.add(s.splice(l).join(""))),r.sources.forEach(function(e){var n=r.sourceContentFor(e);null!=n&&(null!=i&&(e=t.join(i,e)),a.setSourceContent(e,n))}),a;function h(e,n){if(null===e||void 0===e.source)a.add(n);else{var r=i?t.join(i,e.source):e.source;a.add(new o(e.originalLine,e.originalColumn,r,n,e.name))}}},o.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[r]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},o.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[r]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},o.prototype.walk=function(e){for(var t,n=0,o=this.children.length;n<o;n++)(t=this.children[n])[r]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},o.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},o.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[r]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},o.prototype.setSourceContent=function(e,n){this.sourceContents[t.toSetString(e)]=n},o.prototype.walkSourceContents=function(e){for(var n=0,o=this.children.length;n<o;n++)this.children[n][r]&&this.children[n].walkSourceContents(e);var i=Object.keys(this.sourceContents);for(n=0,o=i.length;n<o;n++)e(t.fromSetString(i[n]),this.sourceContents[i[n]])},o.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},o.prototype.toStringWithSourceMap=function(t){var n={code:"",line:1,column:0},r=new e(t),o=!1,i=null,a=null,s=null,l=null;return this.walk(function(e,t){n.code+=e,null!==t.source&&null!==t.line&&null!==t.column?(i===t.source&&a===t.line&&s===t.column&&l===t.name||r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name}),i=t.source,a=t.line,s=t.column,l=t.name,o=!0):o&&(r.addMapping({generated:{line:n.line,column:n.column}}),i=null,o=!1);for(var c=0,u=e.length;c<u;c++)10===e.charCodeAt(c)?(n.line++,n.column=0,c+1===u?(i=null,o=!1):o&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name})):n.column++}),this.walkSourceContents(function(e,t){r.setSourceContent(e,t)}),{code:n.code,map:r}},iy.SourceNode=o,iy}().SourceNode),Ov}function sy(){return ry||(ry=1,function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=Kb(),o=n(bb()),i=fb(),a=(ny||(ny=1,function(e,t){t.__esModule=!0;var n=fb(),r=void 0;try{var o=ay();r=o.SourceNode}catch(s){}function i(e,t,r){if(n.isArray(e)){for(var o=[],i=0,a=e.length;i<a;i++)o.push(t.wrap(e[i],r));return o}return"boolean"==typeof e||"number"==typeof e?e+"":e}function a(e){this.srcFile=e,this.source=[]}r||((r=function(e,t,n,r){this.src="",r&&this.add(r)}).prototype={add:function(e){n.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){n.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),a.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,t){this.source.unshift(this.wrap(e,t))},push:function(e,t){this.source.push(this.wrap(e,t))},merge:function(){var e=this.empty();return this.each(function(t){e.add([" ",t,"\n"])}),e},each:function(e){for(var t=0,n=this.source.length;t<n;t++)e(this.source[t])},empty:function(){var e=this.currentLocation||{start:{}};return new r(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var t=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return e instanceof r?e:(e=i(e,this,t),new r(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,n){return n=this.generateList(n),this.wrap([e,t?"."+t+"(":"(",n,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var t=this,n=[];Object.keys(e).forEach(function(r){var o=i(e[r],t);"undefined"!==o&&n.push([t.quotedString(r),":",o])});var r=this.generateList(n);return r.prepend("{"),r.add("}"),r},generateList:function(e){for(var t=this.empty(),n=0,r=e.length;n<r;n++)n&&t.add(","),t.add(i(e[n],this));return t},generateArray:function(e){var t=this.generateList(e);return t.prepend("["),t.add("]"),t}},t.default=a,e.exports=t.default}(xv,xv.exports)),xv.exports),s=n(a);function l(e){this.value=e}function c(){}c.prototype={nameLookup:function(e,t){return this.internalNameLookup(e,t)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=r.COMPILER_REVISION;return[e,r.REVISION_CHANGES[e]]},appendToBuffer:function(e,t,n){return i.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,t){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(t),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(e,t,n,r){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!r,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,t),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,s=void 0,l=void 0,c=void 0;for(l=0,c=i.length;l<c;l++)a=i[l],this.source.currentLocation=a.loc,s=s||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=s,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new o.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),r?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(r);if(this.isChild)return u;var d={compiler:this.compilerInfo(),main:u};this.decorators&&(d.main_d=this.decorators,d.useDecorators=!0);var p=this.context,h=p.programs,f=p.decorators;for(l=0,c=h.length;l<c;l++)h[l]&&(d[l]=h[l],f[l]&&(d[l+"_d"]=f[l],d.useDecorators=!0));return this.environment.usePartial&&(d.usePartial=!0),this.options.data&&(d.useData=!0),this.useDepths&&(d.useDepths=!0),this.useBlockParams&&(d.useBlockParams=!0),this.options.compat&&(d.compat=!0),r?d.compilerOptions=this.options:(d.compiler=JSON.stringify(d.compiler),this.source.currentLocation={start:{line:1,column:0}},d=this.objectLiteral(d),t.srcName?(d=d.toStringWithSourceMap({file:t.destName})).map=d.map&&d.map.toString():d=d.toString()),d},preamble:function(){this.lastContext=0,this.source=new s.default(this.options.srcName),this.decorators=new s.default(this.options.srcName)},createFunctionContext:function(e){var t=this,n="",r=this.stackVars.concat(this.registers.list);r.length>0&&(n+=", "+r.join(", "));var o=0;Object.keys(this.aliases).forEach(function(e){var r=t.aliases[e];r.children&&r.referenceCount>1&&(n+=", alias"+ ++o+"="+e,r.children[0]="alias"+o)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var i=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&i.push("blockParams"),this.useDepths&&i.push("depths");var a=this.mergeSource(n);return e?(i.push(a),Function.apply(this,i)):this.source.wrap(["function(",i.join(","),") {\n ",a,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,r=void 0,o=void 0,i=void 0,a=void 0;return this.source.each(function(e){e.appendToBuffer?(i?e.prepend(" + "):i=e,a=e):(i&&(o?i.prepend("buffer += "):r=!0,a.add(";"),i=a=void 0),o=!0,t||(n=!1))}),n?i?(i.prepend("return "),a.add(";")):o||this.source.push('return "";'):(e+=", buffer = "+(r?"":this.initializeBuffer()),i?(i.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(r?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(e){var t=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(e){return[" != null ? ",e,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,n,r){var o=0;r||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[o++])),this.resolvePath("context",e,o,t,n)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,n)},resolvePath:function(e,t,n,r,o){var i=this;if(this.options.strict||this.options.assumeObjects)this.push(function(e,t,n,r,o){var i=t.popStack(),a=n.length;for(e&&a--;r<a;r++)i=t.nameLookup(i,n[r],o);return e?[t.aliasable("container.strict"),"(",i,", ",t.quotedString(n[r]),", ",JSON.stringify(t.source.currentLocation)," )"]:i}(this.options.strict&&o,this,t,n,e));else for(var a=t.length;n<a;n++)this.replaceStack(function(o){var a=i.nameLookup(o,t[n],e);return r?[" && ",a]:[" != null ? ",a," : ",o]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),"SubExpression"!==t&&("string"==typeof e?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){null!=e?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,t){var n=this.nameLookup("decorators",t,"decorator"),r=this.setupHelperArgs(t,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",r])," || fn;"])},invokeHelper:function(e,t,n){var r=this.popStack(),o=this.setupHelper(e,t),i=[];n&&i.push(o.name),i.push(r),this.options.strict||i.push(this.aliasable("container.hooks.helperMissing"));var a=["(",this.itemsSeparatedBy(i,"||"),")"],s=this.source.functionCall(a,"call",o.callParams);this.push(s)},itemsSeparatedBy:function(e,t){var n=[];n.push(e[0]);for(var r=1;r<e.length;r++)n.push(t,e[r]);return n},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var n=this.popStack();this.emptyHash();var r=this.setupHelper(0,e,t),o=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",e,"helper")," || ",n,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,r.paramsInit?["),(",r.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",r.callParams)," : helper))"])},invokePartial:function(e,t,n){var r=[],o=this.setupParams(t,1,r);e&&(t=this.popStack(),delete o.name),n&&(o.indent=JSON.stringify(n)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",e?r.unshift(t):r.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),r.push(o),this.push(this.source.functionCall("container.invokePartial","",r))},assignToHash:function(e){var t=this.popStack(),n=void 0,r=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(r=this.popStack(),n=this.popStack());var i=this.hash;n&&(i.contexts[e]=n),r&&(i.types[e]=r),o&&(i.ids[e]=o),i.values[e]=t},pushId:function(e,t,n){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:c,compileChildren:function(e,t){for(var n=e.children,r=void 0,o=void 0,i=0,a=n.length;i<a;i++){r=n[i],o=new this.compiler;var s=this.matchExistingProgram(r);if(null==s){this.context.programs.push("");var l=this.context.programs.length;r.index=l,r.name="program"+l,this.context.programs[l]=o.compile(r,t,this.context,!this.precompile),this.context.decorators[l]=o.decorators,this.context.environments[l]=r,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,r.useDepths=this.useDepths,r.useBlockParams=this.useBlockParams}else r.index=s.index,r.name="program"+s.index,this.useDepths=this.useDepths||s.useDepths,this.useBlockParams=this.useBlockParams||s.useBlockParams}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;t<n;t++){var r=this.context.environments[t];if(r&&r.equals(e))return r}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof l||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new l(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var t=["("],n=void 0,r=void 0,i=void 0;if(!this.isInline())throw new o.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof l)t=["(",n=[a.value]],i=!0;else{r=!0;var s=this.incrStack();t=["((",this.push(s)," = ",a,")"],n=this.topStack()}var c=e.call(this,n);i||this.popStack(),r&&this.stackSlot--,this.push(t.concat(c,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r instanceof l)this.compileStack.push(r);else{var o=this.incrStack();this.pushSource([o," = ",r,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof l)return n.value;if(!t){if(!this.stackSlot)throw new o.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof l?t.value:t},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?(t.referenceCount++,t):((t=this.aliases[e]=this.source.wrap(e)).aliasable=!0,t.referenceCount=1,t)},setupHelper:function(e,t,n){var r=[];return{params:r,paramsInit:this.setupHelperArgs(t,e,r,n),name:this.nameLookup("helpers",t,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(r)}},setupParams:function(e,t,n){var r={},o=[],i=[],a=[],s=!n,l=void 0;s&&(n=[]),r.name=this.quotedString(e),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack());var c=this.popStack(),u=this.popStack();(u||c)&&(r.fn=u||"container.noop",r.inverse=c||"container.noop");for(var d=t;d--;)l=this.popStack(),n[d]=l,this.trackIds&&(a[d]=this.popStack()),this.stringParams&&(i[d]=this.popStack(),o[d]=this.popStack());return s&&(r.args=this.source.generateArray(n)),this.trackIds&&(r.ids=this.source.generateArray(a)),this.stringParams&&(r.types=this.source.generateArray(i),r.contexts=this.source.generateArray(o)),this.options.data&&(r.data="data"),this.useBlockParams&&(r.blockParams="blockParams"),r},setupHelperArgs:function(e,t,n,r){var o=this.setupParams(e,t,n);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),r?(this.useRegister("options"),n.push("options"),["options=",o]):n?(n.push(o),""):o}},function(){for(var e="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),t=c.RESERVED_WORDS={},n=0,r=e.length;n<r;n++)t[e[n]]=!0}(),c.isValidJavaScriptVariableName=function(e){return!c.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t.default=c,e.exports=t.default}(Cv,Cv.exports)),Cv.exports}var ly=(oy||(oy=1,function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(sv()),o=n(uv()),i=Sv(),a=function(){if(kv)return Av;function e(e){return e&&e.__esModule?e:{default:e}}kv=1,Av.__esModule=!0,Av.Compiler=i,Av.precompile=function(e,n,r){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new t.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);"data"in(n=n||{})||(n.data=!0),n.compat&&(n.useDepths=!0);var o=r.parse(e,n),i=(new r.Compiler).compile(o,n);return(new r.JavaScriptCompiler).compile(i,n)},Av.compile=function(e,r,o){if(void 0===r&&(r={}),null==e||"string"!=typeof e&&"Program"!==e.type)throw new t.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in(r=n.extend({},r))||(r.data=!0),r.compat&&(r.useDepths=!0);var i=void 0;function a(){var t=o.parse(e,r),n=(new o.Compiler).compile(t,r),i=(new o.JavaScriptCompiler).compile(n,r,void 0,!0);return o.template(i)}function s(e,t){return i||(i=a()),i.call(this,e,t)}return s._setup=function(e){return i||(i=a()),i._setup(e)},s._child=function(e,t,n,r){return i||(i=a()),i._child(e,t,n,r)},s};var t=e(bb()),n=fb(),r=e(uv()),o=[].slice;function i(){}function a(e,t){if(e===t)return!0;if(n.isArray(e)&&n.isArray(t)&&e.length===t.length){for(var r=0;r<e.length;r++)if(!a(e[r],t[r]))return!1;return!0}}function s(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}return i.prototype={compiler:i,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var n=0;n<t;n++){var r=this.opcodes[n],o=e.opcodes[n];if(r.opcode!==o.opcode||!a(r.args,o.args))return!1}for(t=this.children.length,n=0;n<t;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,t){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=t,this.stringParams=t.stringParams,this.trackIds=t.trackIds,t.blockParams=t.blockParams||[],t.knownHelpers=n.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},t.knownHelpers),this.accept(e)},compileProgram:function(e){var t=(new this.compiler).compile(e,this.options),n=this.guid++;return this.usePartial=this.usePartial||t.usePartial,this.children[n]=t,this.useDepths=this.useDepths||t.useDepths,n},accept:function(e){if(!this[e.type])throw new t.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var n=this[e.type](e);return this.sourceNode.shift(),n},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var t=e.body,n=t.length,r=0;r<n;r++)this.accept(t[r]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){s(e);var t=e.program,n=e.inverse;t=t&&this.compileProgram(t),n=n&&this.compileProgram(n);var r=this.classifySexpr(e);"helper"===r?this.helperSexpr(e,t,n):"simple"===r?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,n),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var t=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,t,void 0),r=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,r.original)},PartialStatement:function(e){this.usePartial=!0;var n=e.program;n&&(n=this.compileProgram(e.program));var r=e.params;if(r.length>1)throw new t.default("Unsupported number of partial arguments: "+r.length,e);r.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):r.push({type:"PathExpression",parts:[],depth:0}));var o=e.name.original,i="SubExpression"===e.name.type;i&&this.accept(e.name),this.setupFullMustacheParams(e,n,void 0,!0);var a=e.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",i,o,a),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){s(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var r=e.path,o=r.parts[0],i=null!=t||null!=n;this.opcode("getContext",r.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),r.strict=!0,this.accept(r),this.opcode("invokeAmbiguous",o,i)},simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,n,o){var i=this.setupFullMustacheParams(e,n,o),a=e.path,s=a.parts[0];if(this.options.knownHelpers[s])this.opcode("invokeKnownHelper",i.length,s);else{if(this.options.knownHelpersOnly)throw new t.default("You specified knownHelpersOnly, but used the unknown helper "+s,e);a.strict=!0,a.falsy=!0,this.accept(a),this.opcode("invokeHelper",i.length,a.original,r.default.helpers.simpleId(a))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=r.default.helpers.scopedId(e),o=!e.depth&&!n&&this.blockParamIndex(t);o?this.opcode("lookupBlockParam",o,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,n=0,r=t.length;for(this.opcode("pushHash");n<r;n++)this.pushParam(t[n].value);for(;n--;)this.opcode("assignToHash",t[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:o.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=r.default.helpers.simpleId(e.path),n=t&&!!this.blockParamIndex(e.path.parts[0]),o=!n&&r.default.helpers.helperExpression(e),i=!n&&(o||t);if(i&&!o){var a=e.path.parts[0],s=this.options;s.knownHelpers[a]?o=!0:s.knownHelpersOnly&&(i=!1)}return o?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var t=0,n=e.length;t<n;t++)this.pushParam(e[t])},pushParam:function(e){var t=null!=e.value?e.value:e.original||"";if(this.stringParams)t.replace&&(t=t.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",t,e.type),"SubExpression"===e.type&&this.accept(e);else{if(this.trackIds){var n=void 0;if(!e.parts||r.default.helpers.scopedId(e)||e.depth||(n=this.blockParamIndex(e.parts[0])),n){var o=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,o)}else(t=e.original||t).replace&&(t=t.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,t)}this.accept(e)}},setupFullMustacheParams:function(e,t,n,r){var o=e.params;return this.pushParams(o),this.opcode("pushProgram",t),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",r),o},blockParamIndex:function(e){for(var t=0,r=this.options.blockParams.length;t<r;t++){var o=this.options.blockParams[t],i=o&&n.indexOf(o,e);if(o&&i>=0)return[t,i]}}},Av}(),s=n(sy()),l=n(vv()),c=n(av()),u=r.default.create;function d(){var e=u();return e.compile=function(t,n){return a.compile(t,n,e)},e.precompile=function(t,n){return a.precompile(t,n,e)},e.AST=o.default,e.Compiler=a.Compiler,e.JavaScriptCompiler=s.default,e.Parser=i.parser,e.parse=i.parse,e.parseWithoutProcessing=i.parseWithoutProcessing,e}var p=d();p.create=d,c.default(p),p.Visitor=l.default,p.default=p,t.default=p,e.exports=t.default}(ub,ub.exports)),ub.exports);const cy=rr(ly),uy=e=>e&&0!==e.length?e.charAt(0).toUpperCase()+e.slice(1):"";e("ck",(e,t)=>e.startsWith(t)?e.slice(t.length):e);const dy=e=>e<10?"0"+e:e;e("cF",(e,t)=>{let n=e;if(n=n.replace("$name",t.name),t.ts){const e=new URL(t.d_url),n=Date.now();e.searchParams.set("openlist_ts",n.toString()),t.d_url=e.toString()}return n=n.replace(/\$[eb_]*url/,e=>{const n=e.match(/[eb]/g);let r=t.raw_url;if(n)for(const t of n.reverse())"e"===t?r=encodeURIComponent(r):"b"===t&&(r=window.btoa(r));return r}),n=n.replace(/\$[eb_]*durl/,e=>{const n=e.match(/[eb]/g);let r=t.d_url;if(n)for(const t of n.reverse())"e"===t?r=encodeURIComponent(r):"b"===t&&(r=window.btoa(r));return r}),n});const py=e=>{let t=(e=e.trim()).replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)},hy={"+":"-","/":"_","=":"."},fy=(e("ec",e=>(e=>e.replace(/[+/=]/g,e=>hy[e]))(window.btoa(e))),(e,t)=>new TextDecoder(t).decode(e));cy.registerHelper("dateLocaleString",e=>new Date(e).toLocaleString()),cy.registerHelper("add",(e,t)=>e+t),cy.registerHelper("eq",(e,t)=>e===t),cy.registerHelper("less",(e,t)=>e<t),cy.registerHelper("and",(e,t)=>e&&t),cy.registerHelper("or",(e,t)=>e||t),cy.registerHelper("not",e=>!e),cy.registerHelper("filename",e=>-1===e.indexOf("/")?e:e.slice(e.lastIndexOf("/")+1)),e("bX",(e,t)=>cy.compile(e)(t));const gy=e("bt",(e,t,n,r=!0,o=!0,i)=>{if(200===e.code)i&&Of.success(e.message),t?.(e.data);else{if(o&&Of.error(e.message),r&&401===e.code)return void("/@manage"===location.pathname?Af.emit("to","/"):Af.emit("to",`/@login?redirect=${encodeURIComponent(location.pathname)}`));n?.(e.message,e.code)}}),my=e("cx",(e,t,n,r=!0)=>gy(e,t,n,r,!1)),by=e("dj",(e,t,n)=>gy(e,t,n,!1,!1)),vy=(e("bb",(e,t,n,r=!0,o=!0)=>gy(e,t,n,r,o,!0)),e("$",()=>"rgba(132,133,141,0.18)")),yy=()=>ys("$whiteAlpha10","$blackAlpha11")(),Ey=e("e9",(e="/",t="",n)=>lb.post("/fs/get",{path:e,password:t},{cancelToken:n})),_y=e("A",(e="/",t="",n=1,r=0,o=!1,i)=>lb.post("/fs/list",{path:e,password:t,page:n,per_page:r,refresh:o},{cancelToken:i})),Sy=(e("dL",(e="/",t="",n=!1)=>lb.post("/fs/dirs",{path:e,password:t,force_root:n})),e("bi",e=>lb.post("/fs/mkdir",{path:e})),e("bf",(e,t,n)=>lb.post("/fs/rename",{path:e,name:t,overwrite:n})),e("bn",(e,t)=>lb.post("/fs/batch_rename",{src_dir:e,rename_objects:t})),e("bd",(e,t,n,r)=>lb.post("/fs/move",{src_dir:e,dst_dir:t,names:n,overwrite:r})),e("bj",(e,t,n)=>lb.post("/fs/recursive_move",{src_dir:e,dst_dir:t,conflict_policy:n})),e("ba",(e,t,n,r)=>lb.post("/fs/copy",{src_dir:e,dst_dir:t,names:n,overwrite:r})),e("be",(e,t)=>lb.post("/fs/remove",{dir:e,names:t})),e("bm",e=>lb.post("/fs/remove_empty_directory",{src_dir:e})),e("bh",(e,t,n)=>lb.put("/fs/put",void 0,{headers:{"File-Path":encodeURIComponent(e),Password:t,Overwrite:n.toString()}})),e("eq",(e="/",t="",n="",r=!1,o)=>lb.post("/fs/archive/meta",{path:e,password:t,archive_pass:n,refresh:r},{cancelToken:o})),e("er",(e="/",t="",n="",r="/",o=1,i=0,a=!1,s)=>lb.post("/fs/archive/list",{path:e,password:t,archive_pass:n,inner_path:r,page:o,per_page:i,refresh:a},{cancelToken:s})),e("bS",(e,t,n,r="",o="/",i=!0,a=!1)=>lb.post("/fs/archive/decompress",{src_dir:e,dst_dir:t,name:n,archive_pass:r,inner_path:o,cache_full:i,put_into_new_dir:a})),e("br",(e,t,n,r)=>lb.post("/fs/add_offline_download",{path:e,urls:t,tool:n,delete_policy:r})),e("ar",async(e,t=!0)=>{try{const n=await Wm.get(e,{responseType:"blob",params:t?{openlist_ts:(new Date).getTime()}:void 0}),r=await n.data.arrayBuffer();return{content:r,contentType:n.headers["content-type"]}}catch(ro){return t?await Sy(e,!1):{content:`Failed to fetch ${e}: ${ro}`,contentType:""}}}));e("cK",async(e,t,n="",r=0,o=1,i=100)=>lb.post("/fs/search",{parent:e,keywords:t,scope:r,page:o,per_page:i,password:n})),e("dC",async(e=["/"],t=-1)=>lb.post("/admin/index/build",{paths:e,max_depth:t})),e("dD",async(e=[],t=-1)=>lb.post("/admin/index/update",{paths:e,max_depth:t}));var ky,Ty={exports:{}},wy={exports:{}},Ay=wy.exports;function Cy(){return ky||(ky=1,function(e){!function(t){var n={bytesToHex:function(e){return function(e){return e.map(function(e){return t=e.toString(16),n=2,t.length>n?t:Array(n-t.length+1).join("0")+t;var t,n}).join("")}(e)},hexToBytes:function(e){if(e.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===e.indexOf("0x")&&(e=e.slice(2)),e.match(/../g).map(function(e){return parseInt(e,16)})}};e.exports?e.exports=n:t.convertHex=n}(Ay)}(wy)),wy.exports}var xy,Oy,Iy={exports:{}},Ny=Iy.exports,Ly=Ty.exports,Dy=(Oy||(Oy=1,function(e){!function(t){var n={};e.exports?(n.bytesToHex=Cy().bytesToHex,n.convertString=(xy||(xy=1,function(e){!function(t){var n={bytesToString:function(e){return e.map(function(e){return String.fromCharCode(e)}).join("")},stringToBytes:function(e){return e.split("").map(function(e){return e.charCodeAt(0)})}};n.UTF8={bytesToString:function(e){return decodeURIComponent(escape(n.bytesToString(e)))},stringToBytes:function(e){return n.stringToBytes(unescape(encodeURIComponent(e)))}},e.exports?e.exports=n:t.convertString=n}(Ny)}(Iy)),Iy.exports),e.exports=l):(n.bytesToHex=t.convertHex.bytesToHex,n.convertString=t.convertString,t.sha256=l);var r=[];!function(){function e(e){for(var t=Math.sqrt(e),n=2;n<=t;n++)if(!(e%n))return!1;return!0}function t(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)e(n)&&(r[o]=t(Math.pow(n,1/3)),o++),n++}();var o=function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},i=function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},a=[],s=function(e,t,n){for(var o=e[0],i=e[1],s=e[2],l=e[3],c=e[4],u=e[5],d=e[6],p=e[7],h=0;h<64;h++){if(h<16)a[h]=0|t[n+h];else{var f=a[h-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,m=a[h-2],b=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;a[h]=g+a[h-7]+b+a[h-16]}var v=o&i^o&s^i&s,y=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),E=p+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&u^~c&d)+r[h]+a[h];p=d,d=u,u=c,c=l+E|0,l=s,s=i,i=o,o=E+(y+v)|0}e[0]=e[0]+o|0,e[1]=e[1]+i|0,e[2]=e[2]+s|0,e[3]=e[3]+l|0,e[4]=e[4]+c|0,e[5]=e[5]+u|0,e[6]=e[6]+d|0,e[7]=e[7]+p|0};function l(e,t){e.constructor===String&&(e=n.convertString.UTF8.stringToBytes(e));var r=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],a=o(e),l=8*e.length;a[l>>5]|=128<<24-l%32,a[15+(l+64>>9<<4)]=l;for(var c=0;c<a.length;c+=16)s(r,a,c);var u=i(r);return t&&t.asBytes?u:t&&t.asString?n.convertString.bytesToString(u):n.bytesToHex(u)}l.x2=function(e,t){return l(l(e,{asBytes:!0}),t)}}(Ly)}(Ty)),Ty.exports);e("cn",rr(Dy));const Ry="undefined"!=typeof window?window.navigator.userAgent:"",My=e("dZ",/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(Ry)),Py=(e("aO",(window?.navigator?.platform??"")?.includes("Mac")),e("dR",()=>{const e=Ry,t=window?.navigator?.platform??"";return/android/i.test(e)?"Android":/iPad|iPhone|iPod/.test(e)||t.includes("Mac")&&navigator.maxTouchPoints>1?"iOS":/windows/i.test(e)?"Windows":/macintosh|mac os x/i.test(e)?"MacOS":/linux/i.test(e)?"Linux":"Unknown"}),{});document.addEventListener("keydown",e=>{Py[e.key]=!0}),document.addEventListener("keyup",e=>{delete Py[e.key]});const[By,$y,{remove:Fy,clear:Hy,toJSON:zy}]=_f();e({q:By,bG:$y});const Uy=e("bA",[{key:"aria2_rpc_url",default:"http://localhost:6800/jsonrpc"},{key:"aria2_rpc_secret",default:""},{key:"global_default_layout",default:"list",type:"select",options:["list","grid","image"]},{key:"show_folder_in_image_view",default:"top",type:"select",options:["top","bottom","none"]},{key:"show_sidebar",default:"none",type:"select",options:["none","visible"]},{key:"show_count_msg",default:"none",type:"select",options:["none","visible"]},{key:"position_of_header_navbar",default:"static",type:"select",options:["static","sticky","only_navbar_sticky"]},{key:"grid_item_size",default:"90",type:"number"},{key:"list_item_filename_overflow",default:"ellipsis",type:"select",options:["ellipsis","scrollable","multi_line"]},{key:"open_item_on_checkbox",default:"direct",type:"select",options:["direct","dblclick","disable_while_checked"],hidden:!1},{key:"editor_font_size",default:"14",type:"number"}]);for(const e of Uy)By[e.key]||$y(e.key,e.default);const jy=(e,t,n)=>{const[r,o]=k(n);return[r,async(...n)=>{o(!0);const r=await e(...n);return t&&401===r.code||o(!1),r}]},Gy=e("b9",(e,t)=>jy(e,!0,t)),Wy=(e("ds",(e,t)=>((e,t,n)=>{const[r,o]=k(n);return[r,async(t,...n)=>{o(()=>t);const r=await e(t,...n);return 401!==r.code&&o(void 0),r}]})(e,0,t)),e("j",()=>{const e=Ot(),t=It(),n=At().params,r=C(()=>(e=>{const t=e.replace(Tf,"");return t.startsWith("/")?t:"/"+t})(decodeURIComponent(t.pathname))),o=C(()=>r().startsWith("/@s"));return{to:(t,n,r)=>{!n&&t.startsWith("/")&&(t=Df(t)),y_(decodeURIComponent(t)),e(t,r)},replace:t=>{const n=Mf(Lf(Rf(r()),t),!0);y_(decodeURIComponent(n)),e(n)},pushHref:e=>Mf(Lf(r(),e)),back:()=>{e(-1)},forward:()=>{e(1)},pathname:r,isShare:o,search:t.search,searchParams:t.query,setSearchParams:(n,o)=>{const i=I(()=>function(e,t){const n=new URLSearchParams(e);Object.entries(t).forEach(([e,t])=>{null==t||""===t?n.delete(e):n.set(e,String(t))});const r=n.toString();return r?`?${r}`:""}(t.search,n));e(Df(r()+i),{scroll:!1,...o,resolve:!0})},params:n}})),qy=e("ai",function(e,t,n){let r=Promise.resolve();function o(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(const e of t||[])"rejected"===e.status&&o(e.reason);return e().catch(o)})}),Vy="English",Yy=(e("i",{lang:Vy}),"简体中文"),Ky=(e("a",{lang:Yy}),e=>null!=e&&((e=Object.getPrototypeOf(e))===Array.prototype||e===Object.prototype));function Xy(e,t,n){for(const[r,o]of Object.entries(t)){const t=`${n}.${r}`;e[t]=o,Ky(o)&&Xy(e,o,t)}}const Qy=e=>e,Zy=Object.assign({"/src/lang/en/index.json":Vy,"/src/lang/zh-CN/index.json":Yy}),Jy=Object.keys(Zy).map(e=>({code:e.split("/")[3],lang:Zy[e]})),eE=navigator.language.toLowerCase(),tE=Jy.find(e=>e.code.toLowerCase()===eE)?.code||Jy.find(e=>e.code.toLowerCase().split("-")[0]===eE.split("-")[0])?.code||"en";let nE=localStorage.getItem("lang")??tE;Jy.some(e=>e.code===nE)||(nE=tE);const[rE,oE]=k(nE);e("e3",rE);const[iE]=x(rE,async e=>{try{const n=(await((e,t,n)=>{const r=e[t];return r?"function"==typeof r?r():Promise.resolve(r):new Promise((e,r)=>{("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})})(Object.assign({"../lang/en/entry.ts":()=>qy(()=>t.import("./entry-legacy-DyDgH5jW.js"),void 0),"../lang/zh-CN/entry.ts":()=>qy(()=>t.import("./entry-legacy-B221uB01.js"),void 0)}),`../lang/${e}/entry.ts`,4)).dict;return function(e){const t={...e};for(const[n,r]of Object.entries(e))Ky(r)&&Xy(t,r,n);return t}(n)}catch(n){throw console.error(`Error loading dictionary for locale: ${e}`,n),new Error(`Failed to load dictionary for ${e}`)}}),aE=function(e,t=Qy){return(n,...r)=>{"."===n[0]&&(n=n.slice(1));const o=e()?.[n];switch(typeof o){case"function":return o(...r);case"string":return t(o,r[0]);default:return o}}}(iE),sE=(e,t)=>{const n=aE(e);if("string"==typeof n)return t&&((e,t)=>{if(t)for(const[n,r]of Object.entries(t))e=e.replace(new RegExp(`{{\\s*${n}\\s*}}`,"g"),r);return e})(n,t)||n},lE=e("o",()=>(e,t,n)=>{const r=sE(e,t);return r||n||cE(e)}),cE=e=>{let t=e.lastIndexOf(".");t===e.length-1&&(t=e.lastIndexOf(".",t-1));const n=e.slice(t+1);return uy(n).split("_").join(" ")};let uE,dE,pE=!0;const hE={};let fE=1;const gE=e("cI",()=>fE),mE=e=>{fE=e},bE=(e("P",()=>{const{pathname:e,to:t,searchParams:n}=Wy(),[,r]=Gy(e=>Ey(e,YE(),new Wm.CancelToken(e=>{uE=e}))),o=a_();"pagination"===o.type&&mE(parseInt(n.page)||1);const[,i]=Gy(e=>{const t={index:e?.index,size:e?.size};return _y(e?.path,YE(),t.index,t.size,e?.force,new Wm.CancelToken(e=>{dE=e}))}),a=(t,n=!0,r=!1)=>{r&&(t=Lf(e(),t)),n?hE[t]=!0:delete hE[t]};let s=!1;const l=(e,t,n,r)=>(uE?.(),dE?.(),s=n??!1,RE.setErr(""),v_(e,t)?(m_(e,t),b_(e,t)):hE[e]?(m_(e,t),u(e,t,void 0,void 0,r)):(m_(e,t),c(e,t))),c=async(e,t)=>{RE.setState(NE.FetchingObj);const n=await r(e);my(n,n=>{RE.setObj(n),RE.setProvider(n.provider),n.is_dir?(a(e),u(e,t)):(RE.setReadme(n.readme),RE.setHeader(n.header),RE.setRelated(n.related??[]),RE.setRawUrl(n.raw_url),RE.setState(NE.File))},d)},u=async(e,t,n,r=!1,a)=>{n||(n=o.size),void 0!==n&&"all"===o.type&&(n=void 0),RE.setState(r?NE.FetchingMore:NE.FetchingObjs);const s=await i({path:e,index:t,size:n,force:a});my(s,e=>{mE(t??1),r?ME(e.content):(RE.setObjs(e.content??[]),RE.setTotal(e.total)),RE.setReadme(e.readme),RE.setHeader(e.header),RE.setWrite(e.write),RE.setProvider(e.provider),RE.setState(NE.Folder)},d)},d=(n,r)=>{if(403===r)RE.setState(NE.NeedPassword),s&&Of.error(n);else{const o=p_().base_path;if(pE&&"/"!=o&&e().includes(o)&&n.endsWith("object not found"))return pE=!1,void t(e().replace(o,""));(void 0===r||r>=0)&&RE.setErr(n)}},p=()=>u(e(),fE+1,void 0,!0);return{handlePathChange:l,setPathAs:a,refresh:async(t,n)=>{const r=e(),i=window.scrollY;if(y_(r,fE),"load_more"===o.type||"auto_load_more"===o.type){const e=fE;for(mE(1),await l(r,fE,t,n);fE<e;)await p()}else await l(r,fE,t,n);window.scroll({top:i,behavior:"smooth"})},loadMore:p,allLoaded:()=>fE>=Math.ceil(LE.total/o.size)}}),e("y",(e,t,n="direct",r,o)=>{let i;r?(i=If(t.path),"preview"===n&&(i=`/@s${i}`)):("preview"!==n&&(e=Lf(p_().base_path,e)),i=`${e=If(e)}/${t.name}`),i=Mf(i,o);let a=wf,s=r?"/sd":"direct"===n?"/d":"/p";"preview"===n&&(s="",wf.startsWith(location.origin+Tf)||(a=location.origin+Tf));let l=`${a}${s}${i}`;if("preview"!==n&&!r&&t.sign&&(l+=`?sign=${t.sign}`),"preview"!==n&&r){const e=kf.getItem("browser-password")||"";e&&(l+=`?pwd=${e}`)}return l})),vE=e("al",()=>{const{pathname:e,isShare:t}=Wy(),n=(n,r,o)=>{const i=LE.state!==NE.File?e():Rf(e());return bE(i,n,r,t(),o)},r=(e,t)=>n(e,"direct",t);return{getLinkByObj:n,rawLink:r,proxyLink:(e,t)=>n(e,"proxy",t),previewPage:(e,t)=>n(e,"preview",t),currentObjLink:e=>r(LE.obj,e)}}),yE=e("u",()=>{const{previewPage:e,rawLink:t}=vE(),n=e=>$E().filter(e=>!e.is_dir).map(n=>t(n,e));return{rawLinks:n,previewPagesText:()=>$E().map(t=>e(t,!0)).join("\n"),rawLinksText:e=>n(e).join("\n")}});var EE,_E,SE,kE;e("aX",()=>{const{copy:e}=AE(),{previewPagesText:t,rawLinksText:n}=yE(),{currentObjLink:r}=vE();return{copySelectedPreviewPage:()=>{e(t())},copySelectedRawLink:t=>{e(n(t))},copyCurrentRawLink:t=>{e(r(t))}}});var TE=function(){if(kE)return SE;kE=1;var e=(_E||(_E=1,EE=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}),EE),t={"text/plain":"Text","text/html":"Url",default:"Text"};return SE=function(n,r){var o,i,a,s,l,c,u=!1;r||(r={}),o=r.debug||!1;try{if(a=e(),s=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=n,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(e){if(e.stopPropagation(),r.format)if(e.preventDefault(),void 0===e.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=t[r.format]||t.default;window.clipboardData.setData(i,n)}else e.clipboardData.clearData(),e.clipboardData.setData(r.format,n);r.onCopy&&(e.preventDefault(),r.onCopy(e.clipboardData))}),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){o&&console.error("unable to copy using execCommand: ",d),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(r.format||"text",n),r.onCopy&&r.onCopy(window.clipboardData),u=!0}catch(d){o&&console.error("unable to copy using clipboardData: ",d),o&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in r?r.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,n)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u},SE}();const wE=rr(TE),AE=e("bU",()=>{const e=lE(),{pathname:t}=Wy();return{copy:t=>{wE(t),Of.success(e("global.copied"))},isHide:e=>{const n=l_();for(const r of n)if(r.test(Lf(t(),e.name)))return!0;return!1},isHidePath:e=>{const t=l_();for(const n of t)if(n.test(e))return!0;return!1}}});function CE(e){const t="string"==typeof e;return{isString:t,text:(n="utf-8")=>e?t?e:fy(e,n):""}}const xE="@openlist-frontend/openlist-frontend",OE="4.1.3",IE=e("e5",()=>{Df("static");const e=(e,t,n)=>`https://registry.npmmirror.com/${e}/${t}/files/${n}`;return{npm:e,monacoPath:()=>e("monaco-editor","0.52.2","min/vs"),katexCSSPath:()=>e("katex","0.16.11","dist/katex.min.css"),mermaidJSPath:()=>e("mermaid","11.1.0","dist/mermaid.min.js"),ruffleJSPath:()=>e(xE,OE,"dist/static/ruffle/ruffle.js"),libHeifPath:()=>e(xE,OE,"dist/static/libheif"),libAssPath:()=>e(xE,OE,"dist/static/libass-wasm"),fontsPath:()=>e(xE,OE,"dist/static/fonts")}});var NE=e("ad",(e=>(e[e.Initial=0]="Initial",e[e.FetchingObj=1]="FetchingObj",e[e.FetchingObjs=2]="FetchingObjs",e[e.FetchingMore=3]="FetchingMore",e[e.Folder=4]="Folder",e[e.File=5]="File",e[e.NeedPassword=6]="NeedPassword",e))(NE||{}));const[LE,DE]=nn({obj:{},raw_url:"",related:[],objs:[],total:0,readme:"",header:"",provider:"",state:0,err:""});e("a4",LE);const RE={set:e=>{DE(e)},setObj:e=>{DE("obj",e)},setRawUrl:e=>{DE("raw_url",e)},setProvider:e=>{DE("provider",e)},setObjs:e=>{PE.start=-1,PE.end=-1,DE("objs",e),DE("obj","is_dir",!0)},setTotal:e=>{DE("total",e)},setReadme:e=>DE("readme",e),setHeader:e=>DE("header",e),setRelated:e=>DE("related",e),setWrite:e=>DE("write",e),setState:e=>DE("state",e),setErr:e=>DE("err",e)},ME=(e("dX",(e,t)=>{DE("objs",ln(n=>n.sort((n,r)=>(t?-1:1)*vf(n[e],r[e]))))}),e=>{DE("objs",ln(t=>t.push(...e)))}),PE={start:-1,end:-1},BE=(e("dT",(e,t,n)=>{if(n&&BE(!1),Py.Shift){if(PE.start<0)for(let i=0;i<Math.max(e+1,LE.objs.length-e);++i){if(LE.objs[e-i]?.selected){PE.start=e-i,PE.end=e-i;break}if(LE.objs[e+i]?.selected){PE.start=e+i,PE.end=e+i;break}}const t=Math.abs(PE.end-PE.start),n=Math.sign(PE.end-PE.start);for(let e=1;e<=t;++e)DE("objs",PE.start+n*e,{selected:!1});const r=Math.abs(e-PE.start),o=Math.sign(e-PE.start);for(let e=0;e<=r;++e)DE("objs",PE.start+o*e,{selected:!0});PE.end=e}else DE("objs",e,{selected:t}),t?(PE.start=e,PE.end=e):(PE.end=-1,PE.start=-1)}),e("b0",e=>{DE("objs",{},t=>({selected:e}))})),$E=e("k",()=>LE.objs.filter(e=>e.selected)),FE=(e("dV",()=>LE.objs.length===FE()),e("bg",()=>1===FE()),e("a$",()=>FE()>0),e("dU",()=>FE()>0&&FE()<LE.objs.length),C(()=>$E().length)),[HE,zE]=k(location.pathname),UE=(()=>{try{return JSON.parse(localStorage.getItem("layoutRecord")||"{}")}catch(ro){return{}}})();Af.on("pathname",e=>zE(e));const[jE,GE]=k(UE[HE()]||By.global_default_layout),[WE,qE]=(e("aB",()=>{const e=UE[HE()];return GE(e||By.global_default_layout),jE()}),e("aH",e=>{UE[HE()]=e,localStorage.setItem("layoutRecord",JSON.stringify(UE)),GE(e)}),yf("checkbox-open","false")),VE=e("a_",()=>"true"===WE()),[YE,KE]=(e("b7",()=>{qE(VE()?"false":"true")}),k(kf.getItem("browser-password")||""));e("_",YE),e("af",e=>{KE(e),kf.setItem("browser-password",e)});const XE=(e,t,n)=>{const r=lE();if(n&&(e=e.filter(e=>e.is_dir||e.type===n)),0===e.length)return"";const o=e.filter(e=>e.is_dir).length,i=e.length-o,a={folders:o.toString(),files:i.toString()},s=o&&i?`${t}`:o?`${t}_folders`:i?`${t}_files`:"";return s?r(`home.obj.count.${s}`,a):""},QE=e("dY",e=>XE(LE.objs,"count",e)),ZE=(e("dW",e=>{const t=$E();return t.length>0?XE(t,"selected",e):""}),e("d_",e=>{const t=$E();return t.length>0?XE(t,"selected",e):QE(e)}),{}),JE=e("dk",e=>{Object.keys(e).forEach(t=>{ZE[t]=e[t]});const t=ZE.version||"Unknown";console.log(`%c OpenList %c ${t} %c https://github.com/OpenListTeam/OpenList`,"color: #fff; background: #5f5f5f","color: #fff; background: #70c6be","")}),e_=e("V",e=>ZE[e]??""),t_=(e("aq",e=>{const t=e_(e);return"true"===t||"1"===t}),(e,t)=>{const n=e_(e);return n?Number(n):t}),n_=e("aE",()=>window.OPENLIST_CONFIG.main_color?window.OPENLIST_CONFIG.main_color:e_("main_color")||"#1890ff");let r_={};const o_=e=>{if(!r_[e])try{r_[e]=JSON.parse(e_(e))}catch(ro){console.error(`failed parse ${e}, use default`,ro),r_[e]={}}return r_[e]},i_=(e,t)=>{const n=Pf(e).toLowerCase(),r=[];for(const o in o_(t))o.startsWith("/")?py(o).test(n)&&r.push(...Bf(o_(t)[o])):o.split(",").includes(n)&&r.push(...Bf(o_(t)[o]));return r},a_=(e("cN",e=>i_(e,"external_previews")),e("cV",e=>i_(e,"iframe_previews")),e("a3",()=>({type:e_("pagination_type")||"all",size:t_("default_page_size",30)})));let s_;const l_=()=>(s_||(s_=e_("hide_files").split(/\n/g).filter(e=>!!e.trim()).map(e=>{let t=(e=e.trim()).replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)})),s_);var c_=e("b_",(e=>(e[e.GENERAL=0]="GENERAL",e[e.GUEST=1]="GUEST",e[e.ADMIN=2]="ADMIN",e))(c_||{}));const u_=e("aW",["see_hides","access_without_password","offline_download","write","rename","move","copy","delete","webdav_read","webdav_manage","ftp_read","ftp_manage","read_archives","decompress","share"]),d_=e("a5",{is_guest:e=>1===e.role,is_admin:e=>2===e.role,is_general:e=>0===e.role,can:(e,t)=>1==(e.permission>>t&1)}),[p_,h_]=k({});e({a6:p_,db:h_}),e("b3",e=>{const t=p_();return d_.can(t,u_.indexOf(e))});const f_=new Map,g_=()=>new Promise(e=>setTimeout(e)),m_=(e,t)=>{const n=e.split("?")[0];return t&&t>1?`${n}?page=${t}`:n},b_=(e("ak",(e,t)=>{const n=JSON.parse(JSON.stringify(LE));if(![NE.FetchingMore,NE.Folder,NE.File].includes(LE.state))return;LE.state===NE.FetchingMore&&(n.state=NE.Folder);const r=m_(e,t),o={obj:n,page:t??gE(),scroll:window.scrollY};f_.set(r,o),console.log(`record history: [${r}]`)}),async(e,t)=>{const n=m_(e,t);if(!f_.has(n))return;const r=f_.get(n);mE(r.page),RE.setState(NE.Initial),await g_(),RE.set(JSON.parse(JSON.stringify(r.obj))),await g_(),window.scroll({top:r.scroll})}),v_=(e,t)=>{const n=m_(e,t);return f_.has(n)},y_=e("cH",(e,t)=>{const n=m_(e,t);v_(e,t)&&(f_.delete(n),console.log(`clear history: [${n}]`))});document.addEventListener("click",e=>{let t=e.target.closest("a"),n=t?.getAttribute("href");n&&y_(decodeURIComponent(n))},!0);const E_=()=>pe(cc,{h:"100vh",get children(){return pe(yh,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",get color(){return n_()},size:"xl"})}}),__=e("ac",e=>{const t=be({py:"$8",size:"xl",thickness:4},e);return pe(cc,{ref(t){var n=e.ref;"function"==typeof n?n(t):e.ref=t},h:"$full",w:"$full",get py(){return t.py},get children(){return pe(yh,{get thickness(){return`${t.thickness}px`},speed:"0.65s",emptyColor:"$neutral4",get color(){return n_()},get size(){return t.size}})}})});e("ao",e=>pe(Te,{get when(){return!e.loading},get fallback(){return pe(__,{})},get children(){return e.children}})),e("aL",e=>pe(cc,{w:"$full",h:"$full",get children(){return pe(yh,be({get color(){return n_()}},e))}}));var S_=He("<svg stroke-width=0>");function k_(e,t){const n=be(e.a,t),[r,o]=ve(n,["src"]),[i,a]=k(""),s=C(()=>t.title?`${e.c}<title>${t.title}</title>`:e.c);return A(()=>a(s())),D(()=>{a("")}),Ve(l=S_(),be({get stroke(){return e.a?.stroke},get color(){return t.color||"currentColor"},get fill(){return t.color||"currentColor"},get style(){return{...t.style,overflow:"visible"}}},o,{get height(){return t.size||"1em"},get width(){return t.size||"1em"},xmlns:"http://www.w3.org/2000/svg",get innerHTML(){return i()}}),!0,!0),Ke(l,()=>it),l;var l}function T_(e){return k_({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M12 19 12 5"/><path d="M5 12 12 5 19 12"/>'},e)}function w_(e){return k_({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/>'},e)}function A_(e){return k_({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M12 7A5 5 0 1 0 12 17 5 5 0 1 0 12 7z"/><path d="M12 1 12 3"/><path d="M12 21 12 23"/><path d="M4.22 4.22 5.64 5.64"/><path d="M18.36 18.36 19.78 19.78"/><path d="M1 12 3 12"/><path d="M21 12 23 12"/><path d="M4.22 19.78 5.64 18.36"/><path d="M18.36 5.64 19.78 4.22"/>'},e)}const C_=e("bC",()=>{const{toggleColorMode:e}=vs(),t=ys({size:"$8",component:w_,p:"$0_5"},{size:"$8",component:A_,p:"$0_5"});return pe(Fs,{cursor:"pointer",get boxSize(){return t().size},get as(){return t().component},onClick:e,get p(){return t().p}})});function x_(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M48 112 336 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M192 64 192 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M272 448 368 224 464 448"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M301.5 384 434.5 384"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M281.3 112S257 206 199 277 80 384 80 384"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 336s-35-27-72-75-56-85-56-85"/>'},e)}const[O_,I_]=k(!1),N_=e=>{const t=async e=>{oE(e),localStorage.setItem("lang",e)};return localStorage.getItem("lang")||t(Jy.find(e=>e.code===navigator.language)?navigator.language:"en"),[pe(od,{get children(){return[pe(_d,be({cursor:"pointer"},e)),pe(cd,{get children(){return pe(ke,{each:Jy,children:(e,n)=>pe(bd,{onSelect:()=>{t(e.code)},get children(){return e.lang}})})}})]}}),pe(Te,{get when(){return O_()},get children(){return pe(lt,{get children(){return pe(cc,{h:"$full",w:"$full",pos:"fixed",top:0,get bg(){return ys("$blackAlpha4","$whiteAlpha4")()},zIndex:"9000",get children(){return pe(yh,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",color:"$info10",size:"xl"})}})}})}})]};e("bB",()=>pe(N_,{as:x_,boxSize:"$8"}));
11
+ function Gr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Wr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qr,Vr,Yr=(qr=[],{activateTrap:function(e){if(qr.length>0){var t=qr[qr.length-1];t!==e&&t.pause()}var n=qr.indexOf(e);-1===n||qr.splice(n,1),qr.push(e)},deactivateTrap:function(e){var t=qr.indexOf(e);-1!==t&&qr.splice(t,1),qr.length>0&&qr[qr.length-1].unpause()}}),Kr=function(e){return setTimeout(e,0)},Xr=function(e,t){var n=-1;return e.every(function(e,r){return!t(e)||(n=r,!1)}),n},Qr=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},Zr=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Jr=function(e,t){var n,r=(null==t?void 0:t.document)||document,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gr(Object(n),!0).forEach(function(t){Wr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),i={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},s=function(e){return!(!e||!i.containers.some(function(t){return t.contains(e)}))},l=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];t=t.apply(void 0,i)}if(!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=t;if("string"==typeof t&&!(s=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},c=function(){var e=l("initialFocus");if(!1===e)return!1;if(void 0===e)if(s(r.activeElement))e=r.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(i.tabbableGroups=i.containers.map(function(e){var t,n,r=Hr(e),o=(t=e,(n=n||{}).getShadowRoot?Ir([t],n.includeContainer,{filter:Pr.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):Or(t,n.includeContainer,Pr.bind(null,n)));if(r.length>0)return{container:e,firstTabbableNode:r[0],lastTabbableNode:r[r.length-1],nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=o.findIndex(function(t){return t===e});return t?o.slice(n+1).find(function(e){return zr(e)}):o.slice(0,n).reverse().find(function(e){return zr(e)})}}}).filter(function(e){return!!e}),i.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},d=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(c()))},p=function(e){var t=l("setReturnFocus",e);return t||!1!==t&&e},h=function(e){var t=Zr(e);s(t)||(Qr(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate&&!jr(t)}):Qr(o.allowOutsideClick,e)||e.preventDefault())},f=function(e){var t=Zr(e),n=s(t);n||t instanceof Document?n&&(i.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),d(i.mostRecentlyFocusedNode||c()))},g=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==Qr(o.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=Zr(e);u();var n=null;if(i.tabbableGroups.length>0){var r=Xr(i.tabbableGroups,function(e){return e.container.contains(t)}),o=r>=0?i.tabbableGroups[r]:void 0;if(r<0)n=e.shiftKey?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var a=Xr(i.tabbableGroups,function(e){var n=e.firstTabbableNode;return t===n});if(a<0&&(o.container===t||jr(t)&&!zr(t)&&!o.nextTabbableNode(t,!1))&&(a=r),a>=0){var s=0===a?i.tabbableGroups.length-1:a-1;n=i.tabbableGroups[s].lastTabbableNode}}else{var c=Xr(i.tabbableGroups,function(e){var n=e.lastTabbableNode;return t===n});if(c<0&&(o.container===t||jr(t)&&!zr(t)&&!o.nextTabbableNode(t))&&(c=r),c>=0){var p=c===i.tabbableGroups.length-1?0:c+1;n=i.tabbableGroups[p].firstTabbableNode}}}else n=l("fallbackFocus");n&&(e.preventDefault(),d(n))}(e)},m=function(e){if(!Qr(o.clickOutsideDeactivates,e)){var t=Zr(e);s(t)||Qr(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())}},b=function(){if(i.active)return Yr.activateTrap(n),i.delayInitialFocusTimer=o.delayInitialFocus?Kr(function(){d(c())}):d(c()),r.addEventListener("focusin",f,!0),r.addEventListener("mousedown",h,{capture:!0,passive:!1}),r.addEventListener("touchstart",h,{capture:!0,passive:!1}),r.addEventListener("click",m,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),n},v=function(){if(i.active)return r.removeEventListener("focusin",f,!0),r.removeEventListener("mousedown",h,!0),r.removeEventListener("touchstart",h,!0),r.removeEventListener("click",m,!0),r.removeEventListener("keydown",g,!0),n};return n={activate:function(e){if(i.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),o=a(e,"checkCanFocusTrap");o||u(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,t&&t();var s=function(){o&&u(),b(),n&&n()};return o?(o(i.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!i.active)return this;clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,v(),i.active=!1,i.paused=!1,Yr.deactivateTrap(n);var t=a(e,"onDeactivate"),r=a(e,"onPostDeactivate"),o=a(e,"checkCanReturnFocus");t&&t();var s=a(e,"returnFocus","returnFocusOnDeactivate"),l=function(){Kr(function(){s&&d(p(i.nodeFocusedBeforeActivation)),r&&r()})};return s&&o?(o(p(i.nodeFocusedBeforeActivation)).then(l,l),this):(l(),this)},pause:function(){return i.paused||!i.active||(i.paused=!0,v()),this},unpause:function(){return i.paused&&i.active?(i.paused=!1,u(),b(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return i.containers=t.map(function(e){return"string"==typeof e?r.querySelector(e):e}),i.active&&u(),this}},n.updateContainerElements(e),n},eo={exports:{}},to=(Vr||(Vr=1,function(e){!function(t,n){e.exports=n()}(0,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){n.r(t);var r=function(e){return Array.isArray(e)?e:[e]},o=function(e){return e instanceof Node},i=function(e,t){if(e&&t){e=function(e){return e instanceof NodeList}(e)?e:[e];for(var n=0;n<e.length&&!0!==t(e[n],n,e.length);n++);}},a=function(e){return console.error("[scroll-lock] ".concat(e))},s=function(e){if(Array.isArray(e))return e.join(", ")},l=function(e){var t=[];return i(e,function(e){return t.push(e)}),t},c=function(e,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document;if((!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&-1!==l(n.querySelectorAll(t)).indexOf(e))return e;for(;(e=e.parentElement)&&-1===l(n.querySelectorAll(t)).indexOf(e););return e},u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document;return-1!==l(n.querySelectorAll(t)).indexOf(e)},d=function(e){if(e)return"hidden"===getComputedStyle(e).overflow},p=function(e){if(e)return!!d(e)||e.scrollTop<=0},h=function(e){if(e){if(d(e))return!0;var t=e.scrollTop,n=e.scrollHeight;return t+e.offsetHeight>=n}},f=function(e){if(e)return!!d(e)||e.scrollLeft<=0},g=function(e){if(e){if(d(e))return!0;var t=e.scrollLeft,n=e.scrollWidth;return t+e.offsetWidth>=n}};function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"disablePageScroll",function(){return y}),n.d(t,"enablePageScroll",function(){return E}),n.d(t,"getScrollState",function(){return _}),n.d(t,"clearQueueScrollLocks",function(){return S}),n.d(t,"getTargetScrollBarWidth",function(){return k}),n.d(t,"getCurrentTargetScrollBarWidth",function(){return T}),n.d(t,"getPageScrollBarWidth",function(){return w}),n.d(t,"getCurrentPageScrollBarWidth",function(){return A}),n.d(t,"addScrollableTarget",function(){return C}),n.d(t,"removeScrollableTarget",function(){return x}),n.d(t,"addScrollableSelector",function(){return O}),n.d(t,"removeScrollableSelector",function(){return I}),n.d(t,"addLockableTarget",function(){return N}),n.d(t,"addLockableSelector",function(){return L}),n.d(t,"setFillGapMethod",function(){return D}),n.d(t,"addFillGapTarget",function(){return R}),n.d(t,"removeFillGapTarget",function(){return M}),n.d(t,"addFillGapSelector",function(){return P}),n.d(t,"removeFillGapSelector",function(){return B}),n.d(t,"refillGaps",function(){return $});var b=["padding","margin","width","max-width","none"],v={scroll:!0,queue:0,scrollableSelectors:["[data-scroll-lock-scrollable]"],lockableSelectors:["body","[data-scroll-lock-lockable]"],fillGapSelectors:["body","[data-scroll-lock-fill-gap]","[data-scroll-lock-lockable]"],fillGapMethod:b[0],startTouchY:0,startTouchX:0},y=function(e){v.queue<=0&&(v.scroll=!1,F(),W()),C(e),v.queue++},E=function(e){v.queue>0&&v.queue--,v.queue<=0&&(v.scroll=!0,H(),q()),x(e)},_=function(){return v.scroll},S=function(){v.queue=0},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o(e)){var n=e.style.overflowY;t?_()||(e.style.overflowY=e.getAttribute("data-scroll-lock-saved-overflow-y-property")):e.style.overflowY="scroll";var r=T(e);return e.style.overflowY=n,r}return 0},T=function(e){if(o(e)){if(e===document.body){var t=document.documentElement.clientWidth;return window.innerWidth-t}var n=e.style.borderLeftWidth,r=e.style.borderRightWidth;e.style.borderLeftWidth="0px",e.style.borderRightWidth="0px";var i=e.offsetWidth-e.clientWidth;return e.style.borderLeftWidth=n,e.style.borderRightWidth=r,i}return 0},w=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return k(document.body,e)},A=function(){return T(document.body)},C=function(e){e&&r(e).map(function(e){i(e,function(e){o(e)?e.setAttribute("data-scroll-lock-scrollable",""):a('"'.concat(e,'" is not a Element.'))})})},x=function(e){e&&r(e).map(function(e){i(e,function(e){o(e)?e.removeAttribute("data-scroll-lock-scrollable"):a('"'.concat(e,'" is not a Element.'))})})},O=function(e){e&&r(e).map(function(e){v.scrollableSelectors.push(e)})},I=function(e){e&&r(e).map(function(e){v.scrollableSelectors=v.scrollableSelectors.filter(function(t){return t!==e})})},N=function(e){e&&(r(e).map(function(e){i(e,function(e){o(e)?e.setAttribute("data-scroll-lock-lockable",""):a('"'.concat(e,'" is not a Element.'))})}),_()||F())},L=function(e){e&&(r(e).map(function(e){v.lockableSelectors.push(e)}),_()||F(),P(e))},D=function(e){if(e)if(-1!==b.indexOf(e))v.fillGapMethod=e,$();else{var t=b.join(", ");a('"'.concat(e,'" method is not available!\nAvailable fill gap methods: ').concat(t,"."))}},R=function(e){e&&r(e).map(function(e){i(e,function(e){o(e)?(e.setAttribute("data-scroll-lock-fill-gap",""),v.scroll||Y(e)):a('"'.concat(e,'" is not a Element.'))})})},M=function(e){e&&r(e).map(function(e){i(e,function(e){o(e)?(e.removeAttribute("data-scroll-lock-fill-gap"),v.scroll||X(e)):a('"'.concat(e,'" is not a Element.'))})})},P=function(e){e&&r(e).map(function(e){-1===v.fillGapSelectors.indexOf(e)&&(v.fillGapSelectors.push(e),v.scroll||V(e))})},B=function(e){e&&r(e).map(function(e){v.fillGapSelectors=v.fillGapSelectors.filter(function(t){return t!==e}),v.scroll||K(e)})},$=function(){v.scroll||W()},F=function(){var e=s(v.lockableSelectors);z(e)},H=function(){var e=s(v.lockableSelectors);U(e)},z=function(e){var t=document.querySelectorAll(e);i(t,function(e){j(e)})},U=function(e){var t=document.querySelectorAll(e);i(t,function(e){G(e)})},j=function(e){if(o(e)&&"true"!==e.getAttribute("data-scroll-lock-locked")){var t=window.getComputedStyle(e);e.setAttribute("data-scroll-lock-saved-overflow-y-property",t.overflowY),e.setAttribute("data-scroll-lock-saved-inline-overflow-property",e.style.overflow),e.setAttribute("data-scroll-lock-saved-inline-overflow-y-property",e.style.overflowY),e.style.overflow="hidden",e.setAttribute("data-scroll-lock-locked","true")}},G=function(e){o(e)&&"true"===e.getAttribute("data-scroll-lock-locked")&&(e.style.overflow=e.getAttribute("data-scroll-lock-saved-inline-overflow-property"),e.style.overflowY=e.getAttribute("data-scroll-lock-saved-inline-overflow-y-property"),e.removeAttribute("data-scroll-lock-saved-overflow-property"),e.removeAttribute("data-scroll-lock-saved-inline-overflow-property"),e.removeAttribute("data-scroll-lock-saved-inline-overflow-y-property"),e.removeAttribute("data-scroll-lock-locked"))},W=function(){v.fillGapSelectors.map(function(e){V(e)})},q=function(){v.fillGapSelectors.map(function(e){K(e)})},V=function(e){var t=document.querySelectorAll(e),n=-1!==v.lockableSelectors.indexOf(e);i(t,function(e){Y(e,n)})},Y=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o(e)){var n;if(""===e.getAttribute("data-scroll-lock-lockable")||t)n=k(e,!0);else{var r=c(e,s(v.lockableSelectors));n=k(r,!0)}"true"===e.getAttribute("data-scroll-lock-filled-gap")&&X(e);var i=window.getComputedStyle(e);if(e.setAttribute("data-scroll-lock-filled-gap","true"),e.setAttribute("data-scroll-lock-current-fill-gap-method",v.fillGapMethod),"margin"===v.fillGapMethod){var a=parseFloat(i.marginRight);e.style.marginRight="".concat(a+n,"px")}else if("width"===v.fillGapMethod)e.style.width="calc(100% - ".concat(n,"px)");else if("max-width"===v.fillGapMethod)e.style.maxWidth="calc(100% - ".concat(n,"px)");else if("padding"===v.fillGapMethod){var l=parseFloat(i.paddingRight);e.style.paddingRight="".concat(l+n,"px")}}},K=function(e){var t=document.querySelectorAll(e);i(t,function(e){X(e)})},X=function(e){if(o(e)&&"true"===e.getAttribute("data-scroll-lock-filled-gap")){var t=e.getAttribute("data-scroll-lock-current-fill-gap-method");e.removeAttribute("data-scroll-lock-filled-gap"),e.removeAttribute("data-scroll-lock-current-fill-gap-method"),"margin"===t?e.style.marginRight="":"width"===t?e.style.width="":"max-width"===t?e.style.maxWidth="":"padding"===t&&(e.style.paddingRight="")}};"undefined"!=typeof window&&window.addEventListener("resize",function(e){$()}),"undefined"!=typeof document&&(document.addEventListener("touchstart",function(e){v.scroll||(v.startTouchY=e.touches[0].clientY,v.startTouchX=e.touches[0].clientX)}),document.addEventListener("touchmove",function(e){if(!v.scroll){var t=v.startTouchY,n=v.startTouchX,r=e.touches[0].clientY,o=e.touches[0].clientX;if(e.touches.length<2){var i=s(v.scrollableSelectors),a={up:t<r,down:t>r,left:n<o,right:n>o},l={up:t+3<r,down:t-3>r,left:n+3<o,right:n-3>o};!function t(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n){var o=c(n,i,!1);if(function(e){return u(e,'input[type="range"]')}(n))return!1;if(r||function(e){return u(e,'textarea, [contenteditable="true"]')}(n)&&c(n,i)||u(n,i)){var s=!1;f(n)&&g(n)?(a.up&&p(n)||a.down&&h(n))&&(s=!0):p(n)&&h(n)?(a.left&&f(n)||a.right&&g(n))&&(s=!0):(l.up&&p(n)||l.down&&h(n)||l.left&&f(n)||l.right&&g(n))&&(s=!0),s&&(o?t(o,!0):e.cancelable&&e.preventDefault())}else t(o)}else e.cancelable&&e.preventDefault()}(e.target)}}},{passive:!1}),document.addEventListener("touchend",function(e){v.scroll||(v.startTouchY=0,v.startTouchX=0)}));var Q={hide:function(e){a('"hide" is deprecated! Use "disablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#disablepagescrollscrollabletarget'),y(e)},show:function(e){a('"show" is deprecated! Use "enablePageScroll" instead. \n https://github.com/FL3NKEY/scroll-lock#enablepagescrollscrollabletarget'),E(e)},toggle:function(e){a('"toggle" is deprecated! Do not use it.'),_()?y():E(e)},getState:function(){return a('"getState" is deprecated! Use "getScrollState" instead. \n https://github.com/FL3NKEY/scroll-lock#getscrollstate'),_()},getWidth:function(){return a('"getWidth" is deprecated! Use "getPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getpagescrollbarwidth'),w()},getCurrentWidth:function(){return a('"getCurrentWidth" is deprecated! Use "getCurrentPageScrollBarWidth" instead. \n https://github.com/FL3NKEY/scroll-lock#getcurrentpagescrollbarwidth'),A()},setScrollableTargets:function(e){a('"setScrollableTargets" is deprecated! Use "addScrollableTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addscrollabletargetscrollabletarget'),C(e)},setFillGapSelectors:function(e){a('"setFillGapSelectors" is deprecated! Use "addFillGapSelector" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgapselectorfillgapselector'),P(e)},setFillGapTargets:function(e){a('"setFillGapTargets" is deprecated! Use "addFillGapTarget" instead. \n https://github.com/FL3NKEY/scroll-lock#addfillgaptargetfillgaptarget'),R(e)},clearQueue:function(){a('"clearQueue" is deprecated! Use "clearQueueScrollLocks" instead. \n https://github.com/FL3NKEY/scroll-lock#clearqueuescrolllocks'),S()}},Z=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){m(e,t,n[t])})}return e}({disablePageScroll:y,enablePageScroll:E,getScrollState:_,clearQueueScrollLocks:S,getTargetScrollBarWidth:k,getCurrentTargetScrollBarWidth:T,getPageScrollBarWidth:w,getCurrentPageScrollBarWidth:A,addScrollableSelector:O,removeScrollableSelector:I,addScrollableTarget:C,removeScrollableTarget:x,addLockableSelector:L,addLockableTarget:N,addFillGapSelector:P,removeFillGapSelector:B,addFillGapTarget:R,removeFillGapTarget:M,setFillGapMethod:D,refillGaps:$,_state:v},Q);t.default=Z}]).default})}(eo)),eo.exports);function no(e){return e.split("-")[0]}function ro(e){return e.split("-")[1]}function oo(e){return["top","bottom"].includes(no(e))?"x":"y"}function io(e){return"y"===e?"height":"width"}function ao(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=oo(t),l=io(s),c=r[l]/2-o[l]/2,u="x"===s;let d;switch(no(t)){case"top":d={x:i,y:r.y-o.height};break;case"bottom":d={x:i,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:a};break;case"left":d={x:r.x-o.width,y:a};break;default:d={x:r.x,y:r.y}}switch(ro(t)){case"start":d[s]-=c*(n&&u?-1:1);break;case"end":d[s]+=c*(n&&u?-1:1)}return d}function so(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function lo(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function co(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=t,f=so(h),g=s[p?"floating"===d?"reference":"floating":d],m=lo(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),b=lo(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===d?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[d]);return{top:m.top-b.top+f.top,bottom:b.bottom-m.bottom+f.bottom,left:m.left-b.left+f.left,right:b.right-m.right+f.right}}const uo=Math.min,po=Math.max;function ho(e,t,n){return po(e,uo(t,n))}const fo=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=null!=e?e:{},{x:o,y:i,placement:a,rects:s,platform:l}=t;if(null==n)return{};const c=so(r),u={x:o,y:i},d=oo(a),p=io(d),h=await l.getDimensions(n),f="y"===d?"top":"left",g="y"===d?"bottom":"right",m=s.reference[p]+s.reference[d]-u[d]-s.floating[p],b=u[d]-s.reference[d],v=await(null==l.getOffsetParent?void 0:l.getOffsetParent(n)),y=v?"y"===d?v.clientHeight||0:v.clientWidth||0:0,E=m/2-b/2,_=c[f],S=y-h[p]-c[g],k=y/2-h[p]/2+E,T=ho(_,k,S);return{data:{[d]:T,centerOffset:k-T}}}}),go={left:"right",right:"left",bottom:"top",top:"bottom"};function mo(e){return e.replace(/left|right|bottom|top/g,e=>go[e])}function bo(e,t,n){void 0===n&&(n=!1);const r=ro(e),o=oo(e),i=io(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=mo(a)),{main:a,cross:mo(a)}}const vo={start:"end",end:"start"};function yo(e){return e.replace(/start|end/g,e=>vo[e])}const Eo=["top","right","bottom","left"];Eo.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const _o=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...f}=e,g=no(r),m=d||(g!==a&&h?function(e){const t=mo(e);return[yo(e),t,yo(t)]}(a):[mo(a)]),b=[a,...m],v=await co(t,f),y=[];let E=(null==(n=o.flip)?void 0:n.overflows)||[];if(c&&y.push(v[g]),u){const{main:e,cross:t}=bo(r,i,await(null==s.isRTL?void 0:s.isRTL(l.floating)));y.push(v[e],v[t])}if(E=[...E,{placement:r,overflows:y}],!y.every(e=>e<=0)){var _,S;const e=(null!=(_=null==(S=o.flip)?void 0:S.index)?_:0)+1,t=b[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let n="bottom";switch(p){case"bestFit":{var k;const e=null==(k=E.map(e=>[e,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:k[0].placement;e&&(n=e);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}};function So(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ko(e){return Eo.some(t=>e[t]>=0)}const To=function(e){let{strategy:t="referenceHidden",...n}={};return{name:"hide",async fn(e){const{rects:r}=e;switch(t){case"referenceHidden":{const t=So(await co(e,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:ko(t)}}}case"escaped":{const t=So(await co(e,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:ko(t)}}}default:return{}}}}},wo=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s}=t,l=function(e,t,n,r){void 0===r&&(r=!1);const o=no(e),i=ro(e),a="x"===oo(e),s=["left","top"].includes(o)?-1:1,l=r&&a?-1:1,c="function"==typeof n?n({...t,placement:e}):n;let{mainAxis:u,crossAxis:d,alignmentAxis:p}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return i&&"number"==typeof p&&(d="end"===i?-1*p:p),a?{x:d*l,y:u*s}:{x:u*s,y:d*l}}(o,i,e,await(null==a.isRTL?void 0:a.isRTL(s.floating)));return{x:n+l.x,y:r+l.y,data:l}}}},Ao=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=e,c={x:n,y:r},u=await co(t,l),d=oo(no(o)),p=function(e){return"x"===e?"y":"x"}(d);let h=c[d],f=c[p];if(i){const e="y"===d?"bottom":"right";h=ho(h+u["y"===d?"top":"left"],h,h-u[e])}if(a){const e="y"===p?"bottom":"right";f=ho(f+u["y"===p?"top":"left"],f,f-u[e])}const g=s.fn({...t,[d]:h,[p]:f});return{...g,data:{x:g.x-n,y:g.y-r}}}}},Co=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a,...s}=e,l=await co(t,s),c=no(n),u=ro(n);let d,p;"top"===c||"bottom"===c?(d=c,p=u===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(p=c,d="end"===u?"top":"bottom");const h=po(l.left,0),f=po(l.right,0),g=po(l.top,0),m=po(l.bottom,0),b={height:r.floating.height-(["left","right"].includes(n)?2*(0!==g||0!==m?g+m:po(l.top,l.bottom)):l[d]),width:r.floating.width-(["top","bottom"].includes(n)?2*(0!==h||0!==f?h+f:po(l.left,l.right)):l[p])},v=await o.getDimensions(i.floating);null==a||a({...b,...r});const y=await o.getDimensions(i.floating);return v.width!==y.width||v.height!==y.height?{reset:{rects:!0}}:{}}}},xo=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){var n;const{placement:r,elements:o,rects:i,platform:a,strategy:s}=t,{padding:l=2,x:c,y:u}=e,d=lo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:i.reference,offsetParent:await(null==a.getOffsetParent?void 0:a.getOffsetParent(o.floating)),strategy:s}):i.reference),p=null!=(n=await(null==a.getClientRects?void 0:a.getClientRects(o.reference)))?n:[],h=so(l),f=await a.getElementRects({reference:{getBoundingClientRect:function(){var e;if(2===p.length&&p[0].left>p[1].right&&null!=c&&null!=u)return null!=(e=p.find(e=>c>e.left-h.left&&c<e.right+h.right&&u>e.top-h.top&&u<e.bottom+h.bottom))?e:d;if(p.length>=2){if("x"===oo(r)){const e=p[0],t=p[p.length-1],n="top"===no(r),o=e.top,i=t.bottom,a=n?e.left:t.left,s=n?e.right:t.right;return{top:o,bottom:i,left:a,right:s,width:s-a,height:i-o,x:a,y:o}}const e="left"===no(r),t=po(...p.map(e=>e.right)),n=uo(...p.map(e=>e.left)),o=p.filter(r=>e?r.left===n:r.right===t),i=o[0].top,a=o[o.length-1].bottom;return{top:i,bottom:a,left:n,right:t,width:t-n,height:a-i,x:n,y:i}}return d}},floating:o.floating,strategy:s});return i.reference.x!==f.reference.x||i.reference.y!==f.reference.y||i.reference.width!==f.reference.width||i.reference.height!==f.reference.height?{reset:{rects:f}}:{}}}};function Oo(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Io(e){if(null==e)return window;if(!Oo(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function No(e){return Io(e).getComputedStyle(e)}function Lo(e){return Oo(e)?"":e?(e.nodeName||"").toLowerCase():""}function Do(e){return e instanceof Io(e).HTMLElement}function Ro(e){return e instanceof Io(e).Element}function Mo(e){return e instanceof Io(e).ShadowRoot||e instanceof ShadowRoot}function Po(e){const{overflow:t,overflowX:n,overflowY:r}=No(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function Bo(e){return["table","td","th"].includes(Lo(e))}function $o(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=No(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function Fo(){return!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}const Ho=Math.min,zo=Math.max,Uo=Math.round;function jo(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect();let l=1,c=1;t&&Do(e)&&(l=e.offsetWidth>0&&Uo(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&Uo(s.height)/e.offsetHeight||1);const u=Ro(e)?Io(e):window,d=!Fo()&&n,p=(s.left+(d&&null!=(r=null==(o=u.visualViewport)?void 0:o.offsetLeft)?r:0))/l,h=(s.top+(d&&null!=(i=null==(a=u.visualViewport)?void 0:a.offsetTop)?i:0))/c,f=s.width/l,g=s.height/c;return{width:f,height:g,top:h,right:p+f,bottom:h+g,left:p,x:p,y:h}}function Go(e){return(t=e,(t instanceof Io(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function Wo(e){return Ro(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function qo(e){return jo(Go(e)).left+Wo(e).scrollLeft}function Vo(e,t,n){const r=Do(t),o=Go(t),i=jo(e,r&&function(e){const t=jo(e);return Uo(t.width)!==e.offsetWidth||Uo(t.height)!==e.offsetHeight}(t),"fixed"===n);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==Lo(t)||Po(o))&&(a=Wo(t)),Do(t)){const e=jo(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=qo(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function Yo(e){return"html"===Lo(e)?e:e.assignedSlot||e.parentNode||(Mo(e)?e.host:null)||Go(e)}function Ko(e){return Do(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function Xo(e){const t=Io(e);let n=Ko(e);for(;n&&Bo(n)&&"static"===getComputedStyle(n).position;)n=Ko(n);return n&&("html"===Lo(n)||"body"===Lo(n)&&"static"===getComputedStyle(n).position&&!$o(n))?t:n||function(e){let t=Yo(e);for(Mo(t)&&(t=t.host);Do(t)&&!["html","body"].includes(Lo(t));){if($o(t))return t;t=t.parentNode}return null}(e)||t}function Qo(e){if(Do(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=jo(e);return{width:t.width,height:t.height}}function Zo(e){const t=Yo(e);return["html","body","#document"].includes(Lo(t))?e.ownerDocument.body:Do(t)&&Po(t)?t:Zo(t)}function Jo(e,t){var n;void 0===t&&(t=[]);const r=Zo(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Io(r),a=o?[i].concat(i.visualViewport||[],Po(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Jo(a))}function ei(e,t,n){return"viewport"===t?lo(function(e,t){const n=Io(e),r=Go(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Fo();(e||!e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n)):Ro(t)?function(e,t){const n=jo(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):lo(function(e){var t;const n=Go(e),r=Wo(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=zo(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=zo(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+qo(e);const l=-r.scrollTop;return"rtl"===No(o||n).direction&&(s+=zo(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(Go(e)))}function ti(e){const t=Jo(e),n=["absolute","fixed"].includes(No(e).position)&&Do(e)?Xo(e):e;return Ro(n)?t.filter(e=>Ro(e)&&function(e,t){const n=null==t||null==t.getRootNode?void 0:t.getRootNode();if(null!=e&&e.contains(t))return!0;if(n&&Mo(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==Lo(e)):[]}const ni={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?ti(t):[].concat(n),r],a=i[0],s=i.reduce((e,n)=>{const r=ei(t,n,o);return e.top=zo(r.top,e.top),e.right=Ho(r.right,e.right),e.bottom=Ho(r.bottom,e.bottom),e.left=zo(r.left,e.left),e},ei(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Do(n),i=Go(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==Lo(n)||Po(i))&&(a=Wo(n)),Do(n))){const e=jo(n,!0);s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:Ro,getDimensions:Qo,getOffsetParent:Xo,getDocumentElement:Go,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:Vo(t,Xo(n),r),floating:{...Qo(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===No(e).direction};function ri(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r;let l=!1;const c=o&&!s,u=i&&!s,d=a&&!s,p=c||u?[...Ro(e)?Jo(e):[],...Jo(t)]:[];p.forEach(e=>{c&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let h,f=null;d&&(f=new ResizeObserver(n),Ro(e)&&f.observe(e),f.observe(t));let g=s?jo(e):null;return s&&function t(){if(l)return;const r=jo(e);!g||r.x===g.x&&r.y===g.y&&r.width===g.width&&r.height===g.height||n(),g=r,h=requestAnimationFrame(t)}(),()=>{var e;l=!0,p.forEach(e=>{c&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==(e=f)||e.disconnect(),f=null,s&&cancelAnimationFrame(h)}}const oi=(e,t,n)=>(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:u}=ao(l,r,s),d=r,p={};for(let h=0;h<i.length;h++){const{name:n,fn:f}=i[h],{x:g,y:m,data:b,reset:v}=await f({x:c,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,u=null!=m?m:u,p={...p,[n]:{...p[n],...b}},v&&("object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:c,y:u}=ao(l,d,s))),h=-1)}return{x:c,y:u,placement:d,strategy:o,middlewareData:p}})(e,t,{platform:ni,...n});var ii=Object.defineProperty,ai=Object.defineProperties,si=Object.getOwnPropertyDescriptors,li=Object.getOwnPropertySymbols,ci=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,di=(e,t,n)=>t in e?ii(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pi=(e,t)=>{for(var n in t||(t={}))ci.call(t,n)&&di(e,n,t[n]);if(li)for(var n of li(t))ui.call(t,n)&&di(e,n,t[n]);return e},hi=(e,t)=>ai(e,si(t));function fi(e){return Array.isArray(e)}function gi(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!fi(e)}function mi(e){return"function"==typeof e}function bi(e){return null==e}function vi(e,t){return e&&(mi(e)?e(t):e[0](e[1],t)),null==t?void 0:t.defaultPrevented}function yi(...e){return function(t){e.some(e=>vi(e,t))}}const Ei=()=>"undefined"!=typeof Storage,_i="hope-ui-color-mode",Si="hope-ui-light",ki="hope-ui-dark";function Ti(e){const t=function(){if(!Ei())return null;try{return localStorage.getItem(_i)}catch(e){return null}}();return t||("system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e)}function wi(e){const t=document.body;t.classList.add(function(e){return e?ki:Si}(e)),t.classList.remove(e?Si:ki)}const Ai={px:"1px","0_5":"0.125rem",1:"0.25rem","1_5":"0.375rem",2:"0.5rem","2_5":"0.625rem",3:"0.75rem","3_5":"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Ci=hi(pi({},Ai),{prose:"65ch",max:"max-content",min:"min-content",full:"100%",screenW:"100vw",screenH:"100vh",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",containerSm:"640px",containerMd:"768px",containerLg:"1024px",containerXl:"1280px",container2xl:"1536px"}),xi={sm:`(min-width: ${Ci.containerSm})`,md:`(min-width: ${Ci.containerMd})`,lg:`(min-width: ${Ci.containerLg})`,xl:`(min-width: ${Ci.containerXl})`,"2xl":`(min-width: ${Ci.container2xl})`,"reduce-motion":"(prefers-reduced-motion: reduce)",light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function Oi(...e){return e.map(e=>`[role=group]${e} &, [data-group]${e} &, .group${e} &`).join(", ")}function Ii(...e){return e.map(e=>`[data-peer]${e} ~ &, .peer${e} ~ &`).join(", ")}const Ni={_hover:e=>({"&:hover, &[data-hover]":e}),_active:e=>({"&:active, &[data-active]":e}),_focus:e=>({"&:focus, &[data-focus]":e}),_highlighted:e=>({"&[data-highlighted]":e}),_focusWithin:e=>({"&:focus-within":e}),_focusVisible:e=>({"&:focus-visible":e}),_disabled:e=>({"&[disabled], &[aria-disabled=true], &[data-disabled]":e}),_readOnly:e=>({"&[aria-readonly=true], &[readonly], &[data-readonly]":e}),_before:e=>({"&::before":e}),_after:e=>({"&::after":e}),_empty:e=>({"&:empty":e}),_expanded:e=>({"&[aria-expanded=true], &[data-expanded]":e}),_checked:e=>({"&[aria-checked=true], &[data-checked]":e}),_grabbed:e=>({"&[aria-grabbed=true], &[data-grabbed]":e}),_pressed:e=>({"&[aria-pressed=true], &[data-pressed]":e}),_invalid:e=>({"&[aria-invalid=true], &[data-invalid]":e}),_valid:e=>({"&[data-valid], &[data-state=valid]":e}),_loading:e=>({"&[data-loading], &[aria-busy=true]":e}),_selected:e=>({"&[aria-selected=true], &[data-selected]":e}),_hidden:e=>({"&[hidden], &[data-hidden]":e}),_even:e=>({"&:nth-of-type(even)":e}),_odd:e=>({"&:nth-of-type(odd)":e}),_first:e=>({"&:first-of-type":e}),_last:e=>({"&:last-of-type":e}),_notFirst:e=>({"&:not(:first-of-type)":e}),_notLast:e=>({"&:not(:last-of-type)":e}),_visited:e=>({"&:visited":e}),_activeLink:e=>({"&[aria-current=page]":e}),_activeStep:e=>({"&[aria-current=step]":e}),_indeterminate:e=>({"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]":e}),_groupHover:e=>({[Oi(":hover","[data-hover]")]:e}),_peerHover:e=>({[Ii(":hover","[data-hover]")]:e}),_groupFocus:e=>({[Oi(":focus","[data-focus]")]:e}),_peerFocus:e=>({[Ii(":focus","[data-focus]")]:e}),_groupFocusVisible:e=>({[Oi(":focus-visible")]:e}),_peerFocusVisible:e=>({[Ii(":focus-visible")]:e}),_groupActive:e=>({[Oi(":active","[data-active]")]:e}),_peerActive:e=>({[Ii(":active","[data-active]")]:e}),_groupSelected:e=>({[Oi("[aria-selected=true]","[data-selected]")]:e}),_peerSelected:e=>({[Ii("[aria-selected=true]","[data-selected]")]:e}),_groupDisabled:e=>({[Oi(":disabled","[data-disabled]")]:e}),_peerDisabled:e=>({[Ii(":disabled","[data-disabled]")]:e}),_groupInvalid:e=>({[Oi(":invalid","[data-invalid]")]:e}),_peerInvalid:e=>({[Ii(":invalid","[data-invalid]")]:e}),_groupChecked:e=>({[Oi(":checked","[data-checked]")]:e}),_peerChecked:e=>({[Ii(":checked","[data-checked]")]:e}),_groupFocusWithin:e=>({[Oi(":focus-within")]:e}),_peerFocusWithin:e=>({[Ii(":focus-within")]:e}),_peerPlaceholderShown:e=>({[Ii(":placeholder-shown")]:e}),_placeholder:e=>({"&::placeholder":e}),_placeholderShown:e=>({"&:placeholder-shown":e}),_fullScreen:e=>({"&:fullscreen":e}),_selection:e=>({"&::selection":e}),_mediaDark:e=>({"@media (prefers-color-scheme: dark)":e}),_mediaReduceMotion:e=>({"@media (prefers-reduced-motion: reduce)":e}),_dark:e=>({".hope-ui-dark &":e}),_light:e=>({".hope-ui-light &":e})},Li=pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi({},{bg:e=>({background:e}),bgColor:e=>({backgroundColor:e})}),{borderX:e=>({borderLeft:e,borderRight:e}),borderY:e=>({borderTop:e,borderBottom:e})}),{d:e=>({display:e})}),{pos:e=>({position:e})}),Ni),{borderTopRadius:e=>({borderTopLeftRadius:e,borderTopRightRadius:e}),borderRightRadius:e=>({borderTopRightRadius:e,borderBottomRightRadius:e}),borderStartRadius:e=>({borderStartStartRadius:e,borderEndStartRadius:e}),borderBottomRadius:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e}),borderLeftRadius:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e}),borderEndRadius:e=>({borderStartEndRadius:e,borderEndEndRadius:e}),rounded:e=>({borderRadius:e}),roundedTop:e=>({borderTopLeftRadius:e,borderTopRightRadius:e}),roundedRight:e=>({borderTopRightRadius:e,borderBottomRightRadius:e}),roundedStart:e=>({borderStartStartRadius:e,borderEndStartRadius:e}),roundedBottom:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e}),roundedLeft:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e}),roundedEnd:e=>({borderStartEndRadius:e,borderEndEndRadius:e})}),{m:e=>({margin:e}),mt:e=>({marginTop:e}),mr:e=>({marginRight:e}),marginStart:e=>({marginInlineStart:e}),ms:e=>({marginInlineStart:e}),mb:e=>({marginBottom:e}),ml:e=>({marginLeft:e}),marginEnd:e=>({marginInlineEnd:e}),me:e=>({marginInlineEnd:e}),mx:e=>({marginInlineStart:e,marginInlineEnd:e}),my:e=>({marginTop:e,marginBottom:e}),spaceX:e=>({"& > * + *":{marginLeft:e}}),spaceY:e=>({"& > * + *":{marginTop:e}})}),{p:e=>({padding:e}),pt:e=>({paddingTop:e}),pr:e=>({paddingRight:e}),paddingStart:e=>({paddingInlineStart:e}),ps:e=>({paddingInlineStart:e}),pb:e=>({paddingBottom:e}),pl:e=>({paddingLeft:e}),pe:e=>({paddingInlineEnd:e}),paddingEnd:e=>({paddingInlineEnd:e}),px:e=>({paddingInlineStart:e,paddingInlineEnd:e}),py:e=>({paddingTop:e,paddingBottom:e})}),{shadow:e=>({boxShadow:e})}),{w:e=>({width:e}),minW:e=>({minWidth:e}),maxW:e=>({maxWidth:e}),h:e=>({height:e}),minH:e=>({minHeight:e}),maxH:e=>({maxHeight:e}),boxSize:e=>({width:e,height:e})}),{noOfLines:e=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e})}),Di=pi(pi({},{blackAlpha1:"#00000003",blackAlpha2:"#00000007",blackAlpha3:"#0000000c",blackAlpha4:"#00000012",blackAlpha5:"#00000017",blackAlpha6:"#0000001d",blackAlpha7:"#00000024",blackAlpha8:"#00000038",blackAlpha9:"#00000070",blackAlpha10:"#0000007a",blackAlpha11:"#00000090",blackAlpha12:"#000000e8"}),{whiteAlpha1:"#ffffff00",whiteAlpha2:"#ffffff03",whiteAlpha3:"#ffffff09",whiteAlpha4:"#ffffff0e",whiteAlpha5:"#ffffff16",whiteAlpha6:"#ffffff20",whiteAlpha7:"#ffffff2d",whiteAlpha8:"#ffffff3f",whiteAlpha9:"#ffffff62",whiteAlpha10:"#ffffff72",whiteAlpha11:"#ffffff97",whiteAlpha12:"#ffffffeb"}),Ri=pi(pi(pi(pi(pi(pi(pi(pi({},{primary1:"#fafdfe",primary2:"#f2fcfd",primary3:"#e7f9fb",primary4:"#d8f3f6",primary5:"#c4eaef",primary6:"#aadee6",primary7:"#84cdda",primary8:"#3db9cf",primary9:"#05a2c2",primary10:"#0894b3",primary11:"#0c7792",primary12:"#04313c"}),{accent1:"#fdfcfe",accent2:"#fbfaff",accent3:"#f5f2ff",accent4:"#ede9fe",accent5:"#e4defc",accent6:"#d7cff9",accent7:"#c4b8f3",accent8:"#aa99ec",accent9:"#6e56cf",accent10:"#644fc1",accent11:"#5746af",accent12:"#20134b"}),{neutral1:"#fbfcfd",neutral2:"#f8f9fa",neutral3:"#f1f3f5",neutral4:"#eceef0",neutral5:"#e6e8eb",neutral6:"#dfe3e6",neutral7:"#d7dbdf",neutral8:"#c1c8cd",neutral9:"#889096",neutral10:"#7e868c",neutral11:"#687076",neutral12:"#11181c"}),{success1:"#fbfefc",success2:"#f2fcf5",success3:"#e9f9ee",success4:"#ddf3e4",success5:"#ccebd7",success6:"#b4dfc4",success7:"#92ceac",success8:"#5bb98c",success9:"#30a46c",success10:"#299764",success11:"#18794e",success12:"#153226"}),{info1:"#fbfdff",info2:"#f5faff",info3:"#edf6ff",info4:"#e1f0ff",info5:"#cee7fe",info6:"#b7d9f8",info7:"#96c7f2",info8:"#5eb0ef",info9:"#0091ff",info10:"#0081f1",info11:"#006adc",info12:"#00254d"}),{warning1:"#fefdfb",warning2:"#fff9ed",warning3:"#fff4d5",warning4:"#ffecbc",warning5:"#ffe3a2",warning6:"#ffd386",warning7:"#f3ba63",warning8:"#ee9d2b",warning9:"#ffb224",warning10:"#ffa01c",warning11:"#ad5700",warning12:"#4e2009"}),{danger1:"#fffcfc",danger2:"#fff8f8",danger3:"#ffefef",danger4:"#ffe5e5",danger5:"#fdd8d8",danger6:"#f9c6c6",danger7:"#f3aeaf",danger8:"#eb9091",danger9:"#e5484d",danger10:"#dc3d43",danger11:"#cd2b31",danger12:"#381316"}),{loContrast:"white",background:"$loContrast",focusRing:"#96c7f2",closeButtonHoverBackground:"$blackAlpha4",closeButtonActiveBackground:"$blackAlpha5",progressStripe:"$whiteAlpha6"}),Mi=pi(pi(pi(pi(pi(pi(pi(pi({},{primary1:"#07191d",primary2:"#061e24",primary3:"#072830",primary4:"#07303b",primary5:"#073844",primary6:"#064150",primary7:"#045063",primary8:"#00647d",primary9:"#05a2c2",primary10:"#00b1cc",primary11:"#00c2d7",primary12:"#e1f8fa"}),{accent1:"#17151f",accent2:"#1c172b",accent3:"#251e40",accent4:"#2c2250",accent5:"#32275f",accent6:"#392c72",accent7:"#443592",accent8:"#5842c3",accent9:"#6e56cf",accent10:"#7c66dc",accent11:"#9e8cfc",accent12:"#f1eefe"}),{neutral1:"#151718",neutral2:"#1a1d1e",neutral3:"#202425",neutral4:"#26292b",neutral5:"#2b2f31",neutral6:"#313538",neutral7:"#3a3f42",neutral8:"#4c5155",neutral9:"#697177",neutral10:"#787f85",neutral11:"#9ba1a6",neutral12:"#ecedee"}),{success1:"#0d1912",success2:"#0c1f17",success3:"#0f291e",success4:"#113123",success5:"#133929",success6:"#164430",success7:"#1b543a",success8:"#236e4a",success9:"#30a46c",success10:"#3cb179",success11:"#4cc38a",success12:"#e5fbeb"}),{info1:"#0f1720",info2:"#0f1b2d",info3:"#10243e",info4:"#102a4c",info5:"#0f3058",info6:"#0d3868",info7:"#0a4481",info8:"#0954a5",info9:"#0091ff",info10:"#369eff",info11:"#52a9ff",info12:"#eaf6ff"}),{warning1:"#1f1300",warning2:"#271700",warning3:"#341c00",warning4:"#3f2200",warning5:"#4a2900",warning6:"#573300",warning7:"#693f05",warning8:"#824e00",warning9:"#ffb224",warning10:"#ffcb47",warning11:"#f1a10d",warning12:"#fef3dd"}),{danger1:"#1f1315",danger2:"#291415",danger3:"#3c181a",danger4:"#481a1d",danger5:"#541b1f",danger6:"#671e22",danger7:"#822025",danger8:"#aa2429",danger9:"#e5484d",danger10:"#f2555a",danger11:"#ff6369",danger12:"#feecee"}),{loContrast:"$neutral1",background:"$loContrast",focusRing:"#0a4481",closeButtonHoverBackground:"$whiteAlpha4",closeButtonActiveBackground:"$whiteAlpha5",progressStripe:"$blackAlpha6"}),Pi={colors:pi(pi({},Di),Ri),space:Ai,sizes:Ci,fonts:{sans:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol","Noto Color Emoji"',serif:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},fontSizes:{"2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:2,3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},radii:{none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},shadows:{none:"0 0 #0000",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:"0 1px 3px 0 rgb(0 0 0 / 0.09), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.09), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.09), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.09), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.24)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.06)",outline:"0 0 0 3px $colors$focusRing"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,sticky:1e3,banner:1100,overlay:1200,modal:1300,dropdown:1400,popover:1500,tooltip:1600,skipLink:1700,notification:1800}},Bi={colors:Mi,shadows:{lg:"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"}},{theme:$i,css:Fi,globalCss:Hi,config:zi,createTheme:Ui,getCssText:ji,keyframes:Gi}=(e=>{let t=!1;const n=tr(e,e=>{t=!0;const n="prefix"in(e="object"==typeof e&&e||{})?String(e.prefix):"",r="object"==typeof e.media&&e.media||{},o="object"==typeof e.root?e.root||null:globalThis.document||null,i="object"==typeof e.theme&&e.theme||{},a={prefix:n,media:r,theme:i,themeMap:"object"==typeof e.themeMap&&e.themeMap||{...pn},utils:"object"==typeof e.utils&&e.utils||{}},s=$n(o),l={css:Un(a,s),globalCss:Kn(a,s),keyframes:Qn(a,s),createTheme:er(a,s),reset(){s.reset(),l.theme.toString()},theme:{},sheet:s,config:a,prefix:n,getCssText:s.toString,toString:s.toString};return String(l.theme=l.createTheme(i)),l});return t||n.reset(),n})({prefix:"hope",themeMap:hi(pi({},pn),{borderWidth:"sizes",borderTopWidth:"sizes",borderRightWidth:"sizes",borderBottomWidth:"sizes",borderLeftWidth:"sizes",strokeWidth:"sizes"}),theme:Pi,media:xi,utils:Li}),Wi={fade:"hope-modal-fade-transition",fadeInBottom:"hope-modal-fade-in-bottom-transition",scale:"hope-modal-scale-transition"},qi=Hi({[`.${Wi.fade}-enter, .${Wi.fade}-exit-to`]:{opacity:0},[`.${Wi.fade}-enter-to, .${Wi.fade}-exit`]:{opacity:1},[`.${Wi.fade}-enter-active`]:{transition:"opacity 300ms ease-out"},[`.${Wi.fade}-exit-active`]:{transition:"opacity 200ms ease-in"},[`.${Wi.fadeInBottom}-enter, .${Wi.fadeInBottom}-exit-to`]:{opacity:0,transform:"translateY(16px)"},[`.${Wi.fadeInBottom}-enter-to, .${Wi.fadeInBottom}-exit`]:{opacity:1,transform:"translateY(0)"},[`.${Wi.fadeInBottom}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[`.${Wi.fadeInBottom}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"},[`.${Wi.scale}-enter, .${Wi.scale}-exit-to`]:{opacity:0,transform:"scale(0.95)"},[`.${Wi.scale}-enter-to, .${Wi.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${Wi.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease-out"},[`.${Wi.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in"}}),Vi=Fi({zIndex:"$overlay",position:"fixed",top:0,left:0,width:"100vw",height:"100vh",backgroundColor:"hsl(0 0% 0% / 65%)"}),Yi=Fi({zIndex:"$modal",position:"fixed",top:0,left:0,display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},outline:"none","&:focus":{outline:"none"}}),Ki=Fi(Yi,{justifyContent:"center",variants:{centered:{true:{alignItems:"center"},false:{alignItems:"flex-start"}},scrollBehavior:{inside:{overflow:"hidden"},outside:{overflow:"auto"}}}}),Xi=Fi({zIndex:"$modal",position:"relative",display:"flex",flexDirection:"column",width:"100%",outline:"none",boxShadow:"$lg",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),Qi=Fi(Xi,{justifyContent:"center",my:"3.75rem",borderRadius:"$sm",variants:{size:{xs:{maxWidth:"$xs"},sm:{maxWidth:"$sm"},md:{maxWidth:"$md"},lg:{maxWidth:"$lg"},xl:{maxWidth:"$xl"},"2xl":{maxWidth:"$2xl"},"3xl":{maxWidth:"$3xl"},"4xl":{maxWidth:"$4xl"},"5xl":{maxWidth:"$5xl"},"6xl":{maxWidth:"$6xl"},"7xl":{maxWidth:"$7xl"},"8xl":{maxWidth:"$8xl"},full:{maxWidth:"100vw",minHeight:"100vh","@supports(min-height: -webkit-fill-available)":{minHeight:"-webkit-fill-available"},my:0,borderRadius:"$none"}},scrollBehavior:{inside:{maxHeight:"calc(100% - 7.5rem)"},outside:{maxHeight:"none"}}}}),Zi=Fi({flex:0,pt:"$5",px:"$5",pb:"$3",fontSize:"$lg",fontWeight:"$medium"}),Ji=Fi({flex:1,px:"$5",py:"$2",variants:{scrollBehavior:{inside:{overflow:"auto"},outside:{overflow:void 0}}}}),ea=Fi({display:"flex",alignItems:"center",justifyContent:"flex-end",pt:"$3",px:"$5",pb:"$5"}),ta=Fi({position:"absolute",top:"$4",insetInlineEnd:"$4"}),na={fade:"hope-drawer-fade-transition",slideInTop:"hope-drawer-slide-in-top-transition",slideInRight:"hope-drawer-slide-in-right-transition",slideInBottom:"hope-drawer-slide-in-bottom-transition",slideInLeft:"hope-drawer-slide-in-left-transition"},ra=Hi({[`.${na.fade}-enter, .${na.fade}-exit-to`]:{opacity:0},[`.${na.fade}-enter-to, .${na.fade}-exit`]:{opacity:1},[`.${na.fade}-enter-active, .${na.fade}-exit-active`]:{transition:"opacity 500ms ease-in-out"},[`.${na.slideInTop}-enter-active, .${na.slideInTop}-exit-active,\n .${na.slideInRight}-enter-active, .${na.slideInRight}-exit-active,\n .${na.slideInBottom}-enter-active, .${na.slideInBottom}-exit-active,\n .${na.slideInLeft}-enter-active, .${na.slideInLeft}-exit-active`]:{transition:"transform 500ms ease-in-out"},[`.${na.slideInTop}-enter, .${na.slideInTop}-exit-to`]:{transform:"translateY(-100%)"},[`.${na.slideInTop}-enter-to, .${na.slideInTop}-exit`]:{transform:"translateY(0)"},[`.${na.slideInRight}-enter, .${na.slideInRight}-exit-to`]:{transform:"translateX(100%)"},[`.${na.slideInRight}-enter-to, .${na.slideInRight}-exit`]:{transform:"translateX(0)"},[`.${na.slideInBottom}-enter, .${na.slideInBottom}-exit-to`]:{transform:"translateY(100%)"},[`.${na.slideInBottom}-enter-to, .${na.slideInBottom}-exit`]:{transform:"translateY(0)"},[`.${na.slideInLeft}-enter, .${na.slideInLeft}-exit-to`]:{transform:"translateX(-100%)"},[`.${na.slideInLeft}-enter-to, .${na.slideInLeft}-exit`]:{transform:"translateX(0)"}}),oa=Fi(Yi,{overflow:"hidden",variants:{placement:{top:{alignItems:"flex-start",justifyContent:"stretch"},right:{alignItems:"stretch",justifyContent:"flex-end"},bottom:{alignItems:"flex-end",justifyContent:"stretch"},left:{alignItems:"stretch",justifyContent:"flex-start"}}}}),ia=Fi(Xi,{maxHeight:"100vh",variants:{size:{xs:{maxWidth:"$xs"},sm:{maxWidth:"$md"},md:{maxWidth:"$lg"},lg:{maxWidth:"$2xl"},xl:{maxWidth:"$4xl"},full:{maxWidth:"100vw",height:"100vh"}},placement:{top:{},right:{},bottom:{},left:{}},fullHeight:{true:{height:"100vh"},false:{}}},compoundVariants:[{placement:"top",size:"xs",css:{maxWidth:"100vw"}},{placement:"top",size:"sm",css:{maxWidth:"100vw"}},{placement:"top",size:"md",css:{maxWidth:"100vw"}},{placement:"top",size:"lg",css:{maxWidth:"100vw"}},{placement:"top",size:"xl",css:{maxWidth:"100vw"}},{placement:"bottom",size:"xs",css:{maxWidth:"100vw"}},{placement:"bottom",size:"sm",css:{maxWidth:"100vw"}},{placement:"bottom",size:"md",css:{maxWidth:"100vw"}},{placement:"bottom",size:"lg",css:{maxWidth:"100vw"}},{placement:"bottom",size:"xl",css:{maxWidth:"100vw"}}]}),aa={scaleTopLeft:"hope-menu-scale-top-left-transition",scaleTopRight:"hope-menu-scale-top-right-transition",scaleBottomLeft:"hope-menu-scale-bottom-left-transition",scaleBottomRight:"hope-menu-scale-bottom-right-transition"};function sa(e,t){return{[`.${e}-enter, .${e}-exit-to`]:{opacity:0,transform:"scale(0.8)"},[`.${e}-enter-to, .${e}-exit`]:{opacity:1,transform:"scale(1)"},[`.${e}-enter-active`]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[`.${e}-exit-active`]:{transformOrigin:t,transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}}}const la=Hi(pi(pi(pi(pi({},sa(aa.scaleTopLeft,"top left")),sa(aa.scaleTopRight,"top right")),sa(aa.scaleBottomLeft,"bottom left")),sa(aa.scaleBottomRight,"bottom right"))),ca=Fi({appearance:"none",display:"inline-flex",alignItems:"center",outline:"none"}),ua=Fi({zIndex:"$dropdown",position:"absolute",left:0,top:"100%",display:"flex",flexDirection:"column",minWidth:"$56",overflowY:"auto",outline:"none",margin:0,boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",px:0,py:"$1","&:focus":{outline:"none"}}),da=Fi({}),pa=Fi({display:"flex",alignItems:"center",mx:"$1",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",fontWeight:"$medium",lineHeight:"$4"});function ha(e){return{color:e.color,"&[data-active]":{backgroundColor:e.bgColorActive}}}const fa=Fi({position:"relative",display:"flex",alignItems:"center",mx:"$1",borderRadius:"$sm",py:"$2",px:"$3",fontSize:"$base",fontWeight:"$normal",lineHeight:"$6",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms","&[data-disabled]":{color:"$neutral8",cursor:"not-allowed"},variants:{colorScheme:{primary:ha({color:"$primary11",bgColorActive:"$primary3"}),accent:ha({color:"$accent11",bgColorActive:"$accent3"}),neutral:ha({color:"$neutral12",bgColorActive:"$neutral4"}),success:ha({color:"$success11",bgColorActive:"$success3"}),info:ha({color:"$info11",bgColorActive:"$info3"}),warning:ha({color:"$warning11",bgColorActive:"$warning3"}),danger:ha({color:"$danger11",bgColorActive:"$danger3"})}},defaultVariants:{colorScheme:"neutral"}}),ga=Fi({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),ma=Fi({flexGrow:1}),ba=Fi({flexShrink:0,color:"$neutral11",fontSize:"$sm",lineHeight:"$none"}),va=Gi({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}});Gi({from:{opacity:0},to:{opacity:1}});const ya="hope-notification-slide-in-top-transition",Ea="hope-notification-slide-in-right-transition",_a="hope-notification-slide-in-bottom-transition",Sa="hope-notification-slide-in-left-transition";function ka(e){return{[`.${e.name}-enter, .${e.name}-exit-to`]:{opacity:0,transform:e.enterTransform},[`.${e.name}-enter-to, .${e.name}-exit`]:{opacity:1,transform:e.leaveTransform},[`.${e.name}-enter-active`]:{transitionProperty:"opacity, transform",transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21)",transitionDuration:"300ms"},[`.${e.name}-exit-active`]:{transitionProperty:"opacity, transform",transitionTimingFunction:"ease-in",transitionDuration:"200ms"}}}const Ta=Hi(pi(pi(pi(pi({},ka({name:ya,enterTransform:"translateY(-100%)",leaveTransform:"translateY(0)"})),ka({name:Ea,enterTransform:"translateX(100%)",leaveTransform:"translateX(0)"})),ka({name:_a,enterTransform:"translateY(100%)",leaveTransform:"translateY(0)"})),ka({name:Sa,enterTransform:"translateX(-100%)",leaveTransform:"translateX(0)"}))),wa=Fi({position:"fixed",zIndex:"$notification",display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"$4",width:"calc(100% - 32px)",maxWidth:"$md",variants:{placement:{"top-start":{top:"$4",left:"$4"},top:{top:"$4",left:"50%",transform:"translateX(-50%)"},"top-end":{top:"$4",right:"$4"},"bottom-start":{bottom:"$4",left:"$4"},bottom:{bottom:"$4",left:"50%",transform:"translateX(-50%)"},"bottom-end":{bottom:"$4",right:"$4"}}},defaultVariants:{placement:"top-end"}}),Aa=Fi({position:"relative",display:"flex",alignItems:"center",width:"100%",maxWidth:"$md",borderRadius:"$sm",border:"1px solid $colors$neutral5",boxShadow:"$lg",backgroundColor:"$loContrast",padding:"$3",fontSize:"$sm",lineHeight:"$5",variants:{status:{success:{},info:{},warning:{},danger:{}}}}),Ca=Fi({animation:`1s linear infinite ${va}`}),xa=Fi({flexShrink:0,variants:{status:{success:{color:"$success9"},info:{color:"$info9"},warning:{color:"$warning9"},danger:{color:"$danger9"}}}}),Oa=Fi({fontWeight:"$medium"}),Ia=Fi({display:"inline-block",color:"$neutral11"}),Na={scale:"hope-popover-scale-transition"},La=Hi({[`.${Na.scale}-enter, .${Na.scale}-exit-to`]:{opacity:0,transform:"scale(0.95)"},[`.${Na.scale}-enter-to, .${Na.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${Na.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"300ms",transitionTimingFunction:"ease"},[`.${Na.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-in-out"}}),Da=Fi({zIndex:"$popover",position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",maxWidth:"$xs",outline:"none",boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",color:"inherit","&:focus":{outline:"none"}}),Ra=Fi({display:"flex",alignItems:"center",flex:0,borderColor:"inherit",borderBottomWidth:"1px",px:"$3",py:"$2",fontSize:"$base",fontWeight:"$medium"}),Ma=Fi({flex:1,px:"$3",py:"$2"});Fi({display:"flex",alignItems:"center",borderColor:"inherit",borderTopWidth:"1px",px:"$3",py:"$2"}),Fi({position:"absolute",top:"$2",insetInlineEnd:"$2"});const Pa=Fi({zIndex:"$popover",position:"absolute",boxSize:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:"inherit",backgroundColor:"inherit",transform:"rotate(45deg)",variants:{popoverPlacement:{left:{borderLeft:0,borderBottom:0},top:{borderLeft:0,borderTop:0},right:{borderTop:0,borderRight:0},bottom:{borderRight:0,borderBottom:0}}}});function Ba(e){return{minHeight:e.minHeight,fontSize:e.fontSize,lineHeight:e.lineHeight}}const $a={xs:Ba({fontSize:"$xs",lineHeight:"$4",minHeight:"$6"}),sm:Ba({fontSize:"$sm",lineHeight:"$5",minHeight:"$8"}),md:Ba({fontSize:"$base",lineHeight:"$6",minHeight:"$10"}),lg:Ba({fontSize:"$lg",lineHeight:"$7",minHeight:"$12"})},Fa={"&:disabled":{opacity:.4,cursor:"not-allowed"},"&:focus":{boxShadow:"0 0 0 3px $colors$primary5",borderColor:"$primary8"},"&[aria-invalid=true]":{borderColor:"$danger8"},"&[aria-invalid=true]:focus":{boxShadow:"0 0 0 3px $colors$danger5"}},Ha=Fi({appearance:"none",position:"relative",width:"100%",minWidth:0,outline:"none",borderRadius:"$sm",backgroundColor:"transparent",padding:0,color:"$neutral12",fontSize:"$base",lineHeight:"$base",transition:"color 250ms, border-color 250ms, background-color 250ms, box-shadow 250ms","&[readonly]":{boxShadow:"none !important",userSelect:"all",cursor:"default"},"&::placeholder":{color:"$neutral9",opacity:1},variants:{variant:{outline:pi({border:"1px solid $neutral7",backgroundColor:"transparent","&:hover":{borderColor:"$neutral8"}},Fa),filled:pi({border:"1px solid transparent",backgroundColor:"$neutral3","&:hover, &:focus":{backgroundColor:"$neutral4"}},Fa),unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:pi({},$a)}});function za(e){return[{variant:e.variant,size:e.size,css:{px:e.paddingX}},{withLeftElement:!0,variant:e.variant,size:e.size,css:{paddingInlineStart:e.paddingWithElement}},{withRightElement:!0,variant:e.variant,size:e.size,css:{paddingInlineEnd:e.paddingWithElement}}]}const Ua=Fi(Ha,{variants:{withLeftElement:{true:{}},withRightElement:{true:{}},withLeftAddon:{true:{borderLeftRadius:0}},withRightAddon:{true:{borderRightRadius:0}}},compoundVariants:[...za({variant:"outline",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...za({variant:"outline",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...za({variant:"outline",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...za({variant:"outline",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...za({variant:"filled",size:"xs",paddingX:"$2",paddingWithElement:"$6"}),...za({variant:"filled",size:"sm",paddingX:"$2_5",paddingWithElement:"$8"}),...za({variant:"filled",size:"md",paddingX:"$3",paddingWithElement:"$10"}),...za({variant:"filled",size:"lg",paddingX:"$4",paddingWithElement:"$12"}),...za({variant:"unstyled",size:"xs",paddingX:0,paddingWithElement:"$6"}),...za({variant:"unstyled",size:"sm",paddingX:0,paddingWithElement:"$8"}),...za({variant:"unstyled",size:"md",paddingX:0,paddingWithElement:"$10"}),...za({variant:"unstyled",size:"lg",paddingX:0,paddingWithElement:"$12"})]});function ja(e){return{variant:e.variant,size:e.size,css:{px:e.paddingX}}}Fi({position:"relative",display:"flex",width:"100%"}),Fi({position:"absolute",top:"0",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center",variants:{placement:{left:{insetInlineStart:"0"},right:{insetInlineEnd:"0"}},size:{xs:hi(pi({},$a.xs),{width:$a.xs.minHeight}),sm:hi(pi({},$a.sm),{width:$a.sm.minHeight}),md:hi(pi({},$a.md),{width:$a.md.minHeight}),lg:hi(pi({},$a.lg),{width:$a.lg.minHeight})}}}),Fi({display:"flex",alignItems:"center",flex:"0 0 auto",width:"auto",whiteSpace:"nowrap",variants:{placement:{left:{marginEnd:"-1px"},right:{marginStart:"-1px"}},variant:{outline:{borderRadius:"$sm",border:"1px solid $neutral7",backgroundColor:"$neutral3",color:"$neutral12"},filled:{borderRadius:"$sm",border:"1px solid transparent",backgroundColor:"$neutral3",color:"$neutral12"},unstyled:{border:"1px solid transparent",backgroundColor:"transparent"}},size:pi({},$a)},compoundVariants:[{variant:"outline",placement:"left",css:{borderRightRadius:0,borderInlineEndColor:"transparent"}},{variant:"outline",placement:"right",css:{borderLeftRadius:0,borderInlineStartColor:"transparent"}},{variant:"filled",placement:"left",css:{borderStartEndRadius:0,borderEndEndRadius:0,borderInlineEndColor:"transparent"}},{variant:"filled",placement:"right",css:{borderStartStartRadius:0,borderEndStartRadius:0,borderInlineStartColor:"transparent"}},ja({variant:"outline",size:"xs",paddingX:"$2"}),ja({variant:"outline",size:"sm",paddingX:"$2_5"}),ja({variant:"outline",size:"md",paddingX:"$3"}),ja({variant:"outline",size:"lg",paddingX:"$4"}),ja({variant:"filled",size:"xs",paddingX:"$2"}),ja({variant:"filled",size:"sm",paddingX:"$2_5"}),ja({variant:"filled",size:"md",paddingX:"$3"}),ja({variant:"filled",size:"lg",paddingX:"$4"}),ja({variant:"unstyled",size:"xs",paddingX:0}),ja({variant:"unstyled",size:"sm",paddingX:0}),ja({variant:"unstyled",size:"md",paddingX:0}),ja({variant:"unstyled",size:"lg",paddingX:0})]});const Ga={fadeInTop:"hope-select-fade-in-top-transition"},Wa=Hi({[`.${Ga.fadeInTop}-enter, .${Ga.fadeInTop}-exit-to`]:{opacity:0,transform:"translateY(-16px)"},[`.${Ga.fadeInTop}-enter-to, .${Ga.fadeInTop}-exit`]:{opacity:1,transform:"translateY(0)"},[`.${Ga.fadeInTop}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},[`.${Ga.fadeInTop}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"100ms",transitionTimingFunction:"ease-in"}});function qa(e,t,n){return Object.entries({xs:{start:null!=t?t:"$2",end:null!=n?n:"$1"},sm:{start:null!=t?t:"$2_5",end:null!=n?n:"$1_5"},md:{start:null!=t?t:"$3",end:null!=n?n:"$2"},lg:{start:null!=t?t:"$4",end:null!=n?n:"$3"}}).map(([t,n])=>({variant:e,size:t,css:{paddingInlineStart:n.start,paddingInlineEnd:n.end}}))}const Va=Fi(Ha,{appearance:"none",display:"inline-flex",alignItems:"center",outline:"none",cursor:"pointer","&:focus":{outline:"none"},compoundVariants:[...qa("outline"),...qa("filled"),...qa("unstyled",0,0)]}),Ya=Fi({flexGrow:1,flexShrink:1,textAlign:"start",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ka=Fi({display:"inline-flex",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap",flexGrow:1,flexShrink:1,variants:{size:{xs:{gap:"$0_5",py:"$0_5"},sm:{gap:"$1",py:"$1"},md:{gap:"$1_5",py:"$1_5"},lg:{gap:"$2",py:"$2"}}}}),Xa=Fi({display:"inline-flex",justifyContent:"center",alignItems:"center",gap:"$0_5",borderRadius:"$sm",py:0,pl:"$2",lineHeight:"$none",variants:{variant:{subtle:{backgroundColor:"$neutral4",color:"$neutral12"},outline:{border:"1px solid $colors$neutral7",backgroundColor:"$loContrast",color:"$neutral12"}},size:{xs:{height:"$4",fontSize:"$2xs"},sm:{height:"$5",fontSize:"$xs"},md:{height:"$6",fontSize:"$sm"},lg:{height:"$7",fontSize:"$base"}}}}),Qa=Fi({appearance:"none",display:"inline-flex",justifyContent:"center",alignItems:"center",height:"100%",outline:"none",borderRightRadius:"$sm",backgroundColor:"transparent",px:"$1",color:"inherit",lineHeight:"$none",textDecoration:"none",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms, box-shadow 250ms","&:hover":{backgroundColor:"$neutral7"},"&:focus":{outline:"none",boxShadow:"$outline"}}),Za=Fi(Ya,{color:"$neutral9",opacity:1}),Ja=Fi({flexGrow:0,flexShrink:0,marginInlineStart:"auto",color:"$neutral11",fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{opened:{true:{transform:"rotate(-180deg)"}}}}),es=Fi({zIndex:"$dropdown",position:"absolute",left:0,top:"100%",display:"flex",flexDirection:"column",width:"100%",overflow:"hidden",margin:0,boxShadow:"$md",border:"1px solid $colors$neutral7",borderRadius:"$sm",backgroundColor:"$loContrast",padding:0}),ts=Fi({position:"relative",display:"flex",flexDirection:"column",maxHeight:"$60",width:"100%",overflowY:"auto",margin:0,padding:"$1",listStyle:"none"});Fi({}),Fi({display:"flex",alignItems:"center",py:"$2",px:"$3",color:"$neutral11",fontSize:"$xs",lineHeight:"$4"});const ns=Fi({position:"relative",display:"flex",alignItems:"center",borderRadius:"$sm",color:"$neutral12",fontSize:"$base",fontWeight:"$normal",lineHeight:"$6",cursor:"pointer",userSelect:"none","&[data-disabled]":{color:"$neutral8",cursor:"not-allowed"},"&[data-active]":{backgroundColor:"$neutral4"}}),rs=Fi({display:"inline-flex",alignItems:"center",py:"$2",paddingInlineStart:"$3",paddingInlineEnd:"$6"}),os=Fi({position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",paddingInlineEnd:"$3",color:"$primary10",pointerEvents:"none"}),is={scale:"hope-tooltip-scale-transition"},as=Hi({[`.${is.scale}-enter, .${is.scale}-exit-to`]:{opacity:0,transform:"scale(0.90)"},[`.${is.scale}-enter-to, .${is.scale}-exit`]:{opacity:1,transform:"scale(1)"},[`.${is.scale}-enter-active`]:{transitionProperty:"opacity, transform",transitionDuration:"200ms",transitionTimingFunction:"ease"},[`.${is.scale}-exit-active`]:{transitionProperty:"opacity, transform",transitionDuration:"150ms",transitionTimingFunction:"ease-in-out"}}),ss=Fi({zIndex:"$tooltip",position:"absolute",maxWidth:"$96",boxShadow:"$md",borderRadius:"$sm",backgroundColor:"$neutral12",px:"$2",py:"$1",color:"$neutral1",fontSize:"$sm",fontWeight:"$normal",lineHeight:"$4"}),ls=Fi({zIndex:"$tooltip",position:"absolute",boxSize:"8px",backgroundColor:"inherit",transform:"rotate(45deg)"}),cs=Hi({"*, ::before, ::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid"},"*":{margin:0},"html, body":{height:"100%"},html:{fontFamily:"$sans",lineHeight:"$base",fontSize:"16px"},body:{backgroundColor:"$background",color:"$neutral12",fontFamily:"inherit",lineHeight:"inherit","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},"h1, h2, h3, h4, h5, h6":{fontSize:"inherit",fontWeight:"inherit"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"img, picture, video, canvas, svg":{display:"block",maxWidth:"100%"},"button, input, textarea, select, optgroup":{fontFamily:"inherit",fontSize:"100%"},"button:focus":{outline:"5px auto -webkit-focus-ring-color"},fieldset:{margin:0,padding:0},"ol, ul":{margin:0,padding:0},a:{backgroundColor:"transparent",color:"inherit",textDecoration:"inherit"}});function us(e,t,n){Object.entries(e).forEach(([e,r])=>{if(gi(r))if(e in n){const t=e;n[t]=pi(pi({},n[t]),r)}else t[e]=pi(pi({},t[e]),r);else t[e]=r})}function ds(e,t){const n={},r={"@sm":{},"@md":{},"@lg":{},"@xl":{},"@2xl":{},"@reduce-motion":{},"@light":{},"@dark":{}};return null==t||t.forEach(e=>e&&us(e,n,r)),Object.entries(e).forEach(([e,t])=>{null!=t&&"css"!==e&&(e.startsWith("_")?n[e]=t:gi(t)?Object.keys(t).forEach(o=>{if("@initial"===o)n[e]=t[o];else if(o in r){const n=o;r[n]=hi(pi({},r[n]),{[e]:t[n]})}}):n[e]=t)}),e.css&&us(e.css,n,r),pi(pi({},n),r)}function ps(e,t){const n="dark"===e,r=n?ki:Si,o=n?sr({},Bi,t):t,i=Ui(r,o);return sr({},$i,i)}function hs(e,t){return gi(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):null!=e?t(e):null}const fs=Fi({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}),gs=z();function ms(e){var t,n,r,o,i,a,s,l;const c=ps("light",null!=(n=null==(t=(e=be({enableCssReset:!0},e)).config)?void 0:t.lightTheme)?n:{}),u=ps("dark",null!=(o=null==(r=e.config)?void 0:r.darkTheme)?o:{}),d=Ti(null!=(a=null==(i=e.config)?void 0:i.initialColorMode)?a:"light"),p="dark"===d?u:c,[h,f]=k(d),[g,m]=k(p),b=()=>"dark"===h(),v=e=>{f(e),function(e){if(Ei())try{localStorage.setItem(_i,e)}catch(t){}}(e)},y={components:null!=(l=null==(s=e.config)?void 0:s.components)?l:{},theme:g,colorMode:h,setColorMode:v,toggleColorMode:()=>{v(b()?"light":"dark")}};return A(()=>{m(b()?u:c),wi(b())}),e.enableCssReset&&cs(),ra(),la(),qi(),Ta(),La(),Wa(),as(),pe(gs.Provider,{value:y,get children(){return e.children}})}function bs(){const e=U(gs);if(!e)throw new Error("[Hope UI]: useStyleConfig must be used within a HopeProvider");return e.components}function vs(){const e=U(gs);if(!e)throw new Error("[Hope UI]: useColorMode must be used within a HopeProvider");return{colorMode:e.colorMode,setColorMode:e.setColorMode,toggleColorMode:e.toggleColorMode}}function ys(e,t){const{colorMode:n}=vs();return()=>"dark"===n()?t:e}function Es(e){return`.${e}`}function _s(...e){return e.filter(Boolean).join(" ")}const Ss=pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi(pi({},{border:!0,borderWidth:!0,borderStyle:!0,borderColor:!0,borderTop:!0,borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0,borderRight:!0,borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0,borderBottom:!0,borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0,borderLeft:!0,borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0,borderX:!0,borderY:!0}),{color:!0,background:!0,bg:!0,backgroundColor:!0,bgColor:!0,opacity:!0}),{alignItems:!0,alignContent:!0,alignSelf:!0,justifyItems:!0,justifyContent:!0,justifySelf:!0,flexDirection:!0,flexWrap:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,order:!0}),{gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0,gridRow:!0,gridRowStart:!0,gridRowEnd:!0,gridColumn:!0,gridColumnStart:!0,gridColumnEnd:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:!0,rowGap:!0,columnGap:!0}),{appearance:!0,userSelect:!0,pointerEvents:!0,resize:!0,cursor:!0,outline:!0,outlineOffset:!0,outlineColor:!0}),{display:!0,d:!0,verticalAlign:!0,overflow:!0,overflowX:!0,overflowY:!0,objectFit:!0,objectPosition:!0}),{margin:!0,m:!0,marginTop:!0,mt:!0,marginRight:!0,mr:!0,marginStart:!0,ms:!0,marginBottom:!0,mb:!0,marginLeft:!0,ml:!0,marginEnd:!0,me:!0,mx:!0,my:!0}),{padding:!0,p:!0,paddingTop:!0,pt:!0,paddingRight:!0,pr:!0,paddingStart:!0,ps:!0,paddingBottom:!0,pb:!0,paddingLeft:!0,pl:!0,paddingEnd:!0,pe:!0,px:!0,py:!0}),{position:!0,pos:!0,zIndex:!0,top:!0,right:!0,bottom:!0,left:!0}),{borderRadius:!0,borderTopRightRadius:!0,borderTopLeftRadius:!0,borderBottomRightRadius:!0,borderBottomLeftRadius:!0,borderTopRadius:!0,borderRightRadius:!0,borderStartRadius:!0,borderBottomRadius:!0,borderLeftRadius:!0,borderEndRadius:!0,rounded:!0,roundedTop:!0,roundedRight:!0,roundedStart:!0,roundedBottom:!0,roundedLeft:!0,roundedEnd:!0}),{textShadow:!0,boxShadow:!0,shadow:!0}),{width:!0,w:!0,minWidth:!0,minW:!0,maxWidth:!0,maxW:!0,height:!0,h:!0,minHeight:!0,minH:!0,maxHeight:!0,maxH:!0,boxSize:!0}),{transform:!0,transformOrigin:!0,clipPath:!0}),{transition:!0,transitionProperty:!0,transitionTimingFunction:!0,transitionDuration:!0,transitionDelay:!0,animation:!0,willChange:!0}),{fontFamily:!0,fontSize:!0,fontWeight:!0,lineHeight:!0,letterSpacing:!0,textAlign:!0,fontStyle:!0,textTransform:!0,textDecoration:!0,noOfLines:!0}),{_hover:!0,_active:!0,_focus:!0,_highlighted:!0,_focusWithin:!0,_focusVisible:!0,_disabled:!0,_readOnly:!0,_before:!0,_after:!0,_empty:!0,_expanded:!0,_checked:!0,_grabbed:!0,_pressed:!0,_invalid:!0,_valid:!0,_loading:!0,_selected:!0,_hidden:!0,_even:!0,_odd:!0,_first:!0,_last:!0,_notFirst:!0,_notLast:!0,_visited:!0,_activeLink:!0,_activeStep:!0,_indeterminate:!0,_groupHover:!0,_peerHover:!0,_groupFocus:!0,_peerFocus:!0,_groupFocusVisible:!0,_peerFocusVisible:!0,_groupActive:!0,_peerActive:!0,_groupSelected:!0,_peerSelected:!0,_groupDisabled:!0,_peerDisabled:!0,_groupInvalid:!0,_peerInvalid:!0,_groupChecked:!0,_peerChecked:!0,_groupFocusWithin:!0,_peerFocusWithin:!0,_peerPlaceholderShown:!0,_placeholder:!0,_placeholderShown:!0,_fullScreen:!0,_selection:!0,_mediaDark:!0,_mediaReduceMotion:!0,_dark:!0,_light:!0}),{css:!0}),ks=Fi({}),Ts=(e,t)=>{const n=n=>{const r=function(e){return Object.keys(e).filter(e=>e in Ss)}(n),o=be({as:e},n),[i,a,s]=ve(o,["as","class","className","__baseStyle"],r),l=C(()=>[mi(null==t?void 0:t.baseStyle)?null==t?void 0:t.baseStyle(n):null==t?void 0:t.baseStyle,i.__baseStyle]),c=()=>_s(null==t?void 0:t.baseClass,i.class,i.className,function(e,t){return ks({css:ds(e,t)})}(a,l()));return pe(ct,be({get component(){var e;return null!=(e=i.as)?e:"div"},get class(){return c()}},s))};return n.toString=()=>(null==t?void 0:t.baseClass)?Es(t.baseClass):"",n},ws=e("cL",function(){const e=new Map;return new Proxy(Ts,{apply:(e,t,n)=>Ts(...n),get:(t,n)=>(e.has(n)||e.set(n,Ts(n)),e.get(n))})}()),As=e("an",ws.div);function Cs(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function xs(e){var t;return Cs(e)&&null!=(t=e.ownerDocument)?t:document}function Os(e,t){const n=e.target;return!(e.button>0)&&(!(n&&!xs(n).body.contains(n))&&!(null==t?void 0:t.contains(n)))}function Is(e,t){return!!e&&(e===t||e.contains(t))}function Ns(e){var t,n;const r=function(e){const t=xs(e);return null==t?void 0:t.activeElement}(null!=(t=e.target)?t:e.currentTarget);return null!=(n=e.relatedTarget)?n:r}function Ls(e){return e&&e.clientHeight<e.scrollHeight}function Ds(e,t){const{offsetHeight:n,offsetTop:r}=e,{offsetHeight:o,scrollTop:i}=t,a=r+n>i+o;r<i?t.scrollTo(0,r):a&&t.scrollTo(0,r-o+n)}function Rs(e){const t=Object.getOwnPropertyDescriptor(e,"children");return null!=t&&mi(t.value)}Fi({borderTopWidth:"1px",borderColor:"$neutral7",overflowAnchor:"none","&:last-of-type":{borderBottomWidth:"1px"}}),Fi({appearance:"none",display:"flex",alignItems:"center",width:"100%",outline:"none",backgroundColor:"transparent",px:"$4",py:"$2",color:"inherit",fontSize:"$base",lineHeight:"$6",cursor:"pointer",transition:"background-color 250ms","&:disabled":{opacity:.4,cursor:"not-allowed"},"&:hover":{backgroundColor:"$neutral4"},"&:focus":{outline:"none",boxShadow:"$outline"}}),Fi({flexGrow:0,flexShrink:0,fontSize:"1.25em",pointerEvents:"none",transition:"transform 250ms",transformOrigin:"center",variants:{expanded:{true:{transform:"rotate(-180deg)"}},disabled:{true:{opacity:.4}}}}),Fi({pt:"$2",px:"$4",pb:"$4"});const Ms=Fi({display:"inline-block",flexShrink:0,boxSize:"1em",color:"currentColor",lineHeight:"1em",verticalAlign:"middle"}),Ps=He('<svg><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>',4,!0),Bs={viewBox:"0 0 24 24",path:()=>Ps.cloneNode(!0)},$s="hope-icon";function Fs(e){const t=be({viewBox:Bs.viewBox},e),[n,r]=ve(t,["as","class","children","viewBox"]),o=()=>_s(n.class,$s,Ms()),i=()=>{return n.as&&(e=n.as,!("[object String]"===Object.prototype.toString.call(e)));var e};return pe(Te,{get when(){return i()},get fallback(){return pe(ws.svg,be({get class(){return o()},get viewBox(){return n.viewBox}},r,{get children(){return pe(Te,{get when(){return n.children},get fallback(){return Bs.path},get children(){return n.children}})}}))},get children(){return pe(As,be({get as(){return n.as},get class(){return o()}},r))}})}function Hs(e){const{viewBox:t="0 0 24 24",defaultProps:n={}}=e,r=r=>pe(Fs,be({viewBox:t},n,r,{get children(){return e.path}}));return r.toString=()=>Es($s),r}Fs.toString=()=>Es($s);const zs=He('<svg><path d="M4.18179 6.18181C4.35753 6.00608 4.64245 6.00608 4.81819 6.18181L7.49999 8.86362L10.1818 6.18181C10.3575 6.00608 10.6424 6.00608 10.8182 6.18181C10.9939 6.35755 10.9939 6.64247 10.8182 6.81821L7.81819 9.81821C7.73379 9.9026 7.61934 9.95001 7.49999 9.95001C7.38064 9.95001 7.26618 9.9026 7.18179 9.81821L4.18179 6.81821C4.00605 6.64247 4.00605 6.35755 4.18179 6.18181Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0);Hs({viewBox:"0 0 15 15",path:()=>zs.cloneNode(!0)}),Fi({overflow:"hidden"});const Us=Fi({flexShrink:0}),js=Fi({fontWeight:"$semibold"}),Gs=Fi({display:"inline-block"}),Ws=Fi({position:"relative",display:"flex",alignItems:"center",borderRadius:"$sm",px:"$4",py:"$3",fontSize:"$base",lineHeight:"$6",variants:{variant:{solid:{},subtle:{},"left-accent":{borderLeftStyle:"solid",borderLeftWidth:"$sizes$1"},"top-accent":{borderTopStyle:"solid",borderTopWidth:"$sizes$1"}},status:{success:{},info:{},warning:{},danger:{}}},compoundVariants:[{variant:"solid",status:"success",css:{backgroundColor:"$success9",color:"white"}},{variant:"solid",status:"info",css:{backgroundColor:"$info9",color:"white"}},{variant:"solid",status:"warning",css:{backgroundColor:"$warning9",color:"$blackAlpha12"}},{variant:"solid",status:"danger",css:{backgroundColor:"$danger9",color:"white"}},{variant:"subtle",status:"success",css:{backgroundColor:"$success3",color:"$success11",[`& .${Us}`]:{color:"$success9"}}},{variant:"subtle",status:"info",css:{backgroundColor:"$info3",color:"$info11",[`& .${Us}`]:{color:"$info9"}}},{variant:"subtle",status:"warning",css:{backgroundColor:"$warning3",color:"$warning11",[`& .${Us}`]:{color:"$warning9"}}},{variant:"subtle",status:"danger",css:{backgroundColor:"$danger3",color:"$danger11",[`& .${Us}`]:{color:"$danger9"}}},{variant:"left-accent",status:"success",css:{borderLeftColor:"$success9",backgroundColor:"$success3",color:"$success11",[`& .${Us}`]:{color:"$success9"}}},{variant:"left-accent",status:"info",css:{borderLeftColor:"$info9",backgroundColor:"$info3",color:"$info11",[`& .${Us}`]:{color:"$info9"}}},{variant:"left-accent",status:"warning",css:{borderLeftColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",[`& .${Us}`]:{color:"$warning9"}}},{variant:"left-accent",status:"danger",css:{borderLeftColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",[`& .${Us}`]:{color:"$danger9"}}},{variant:"top-accent",status:"success",css:{borderTopColor:"$success9",backgroundColor:"$success3",color:"$success11",[`& .${Us}`]:{color:"$success9"}}},{variant:"top-accent",status:"info",css:{borderTopColor:"$info9",backgroundColor:"$info3",color:"$info11",[`& .${Us}`]:{color:"$info9"}}},{variant:"top-accent",status:"warning",css:{borderTopColor:"$warning9",backgroundColor:"$warning3",color:"$warning11",[`& .${Us}`]:{color:"$warning9"}}},{variant:"top-accent",status:"danger",css:{borderTopColor:"$danger9",backgroundColor:"$danger3",color:"$danger11",[`& .${Us}`]:{color:"$danger9"}}}]}),qs="hope-alert";function Vs(e){var t,n,r,o,i,a;const s=bs().Alert,l=be({variant:null!=(r=null==(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t.root)?void 0:n.variant)?r:"subtle",status:null!=(a=null==(i=null==(o=null==s?void 0:s.defaultProps)?void 0:o.root)?void 0:i.status)?a:"info"},e),[c,u]=ve(l,["class","variant","status"]),d={status:()=>c.status};return pe(Ys.Provider,{value:d,get children(){return pe(As,be({role:"alert",get class(){return _s(c.class,qs,Ws({variant:c.variant,status:c.status}))},get __baseStyle(){var e;return null==(e=null==s?void 0:s.baseStyle)?void 0:e.root}},u))}})}Vs.toString=()=>Es(qs);const Ys=z(),Ks="hope-alert__description";function Xs(e){const t=bs().Alert,[n,r]=ve(e,["class"]);return pe(As,be({get class(){return _s(n.class,Ks,Gs())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.description}},r))}Xs.toString=()=>Es(Ks);const Qs=He('<svg><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm-2 19.59l-5-5L10.59 15L14 18.41L21.41 11l1.596 1.586Z"></path></svg>',4,!0),Zs=He('<svg><path fill="none" d="m14 21.591l-5-5L10.591 15L14 18.409L21.41 11l1.595 1.585L14 21.591z"></path></svg>',4,!0),Js=Hs({viewBox:"0 0 32 32",path:()=>[Qs.cloneNode(!0),Zs.cloneNode(!0)]}),el=He('<svg><path fill="currentColor" d="M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14s14-6.3 14-14S23.7 2 16 2zm-1.1 6h2.2v11h-2.2V8zM16 25c-.8 0-1.5-.7-1.5-1.5S15.2 22 16 22s1.5.7 1.5 1.5S16.8 25 16 25z"></path></svg>',4,!0),tl=Hs({viewBox:"0 0 32 32",path:()=>el.cloneNode(!0)}),nl=He('<svg><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M29.4898 29.8706C29.3402 29.9548 29.1713 29.9991 28.9996 29.9993H2.99961C2.82787 29.9991 2.65905 29.9548 2.5094 29.8706C2.35976 29.7864 2.23433 29.665 2.14521 29.5182C2.05608 29.3713 2.00626 29.2041 2.00055 29.0325C1.99485 28.8608 2.03344 28.6907 2.1126 28.5382L15.1126 3.53821C15.1971 3.37598 15.3245 3.23999 15.4808 3.14514C15.6372 3.05017 15.8167 3 15.9996 3C16.1825 3 16.362 3.05017 16.5184 3.14514C16.6748 3.23999 16.8021 3.37598 16.8866 3.53821L29.8866 28.5382C29.9658 28.6907 30.0044 28.8608 29.9986 29.0325C29.9929 29.2041 29.9431 29.3713 29.854 29.5182C29.7649 29.665 29.6395 29.7864 29.4898 29.8706ZM16.0016 6.16919V6.17029H15.9976V6.16919H16.0016ZM15.9996 25.9993C15.7029 25.9993 15.4129 25.9113 15.1662 25.7465C14.9196 25.5817 14.7273 25.3474 14.6138 25.0734C14.5996 25.0391 14.5867 25.0044 14.5752 24.9694C14.4942 24.724 14.4778 24.4613 14.5284 24.2067C14.5863 23.9156 14.7292 23.6484 14.9389 23.4386C14.9652 23.4124 14.9923 23.3872 15.0202 23.3632C15.2159 23.1945 15.4524 23.0787 15.707 23.0281C15.7433 23.0209 15.7799 23.015 15.8165 23.0105C16.0723 22.979 16.3326 23.014 16.572 23.1129L16.5736 23.1135C16.8477 23.2271 17.082 23.4193 17.2468 23.6659C17.2674 23.6968 17.2868 23.7283 17.305 23.7604C17.4322 23.9852 17.4996 24.2397 17.4996 24.4993C17.4996 24.8971 17.3416 25.2787 17.0603 25.5599C16.7789 25.8413 16.3974 25.9993 15.9996 25.9993ZM17.1246 20.9993H14.8746V11.9993H17.1246V20.9993Z"></path></svg>',4,!0),rl=Hs({viewBox:"0 0 32 32",path:()=>nl.cloneNode(!0)}),ol=He('<svg><path fill="none" d="M16 8a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8Zm4 13.875h-2.875v-8H13v2.25h1.875v5.75H12v2.25h8Z"></path></svg>',4,!0),il=He('<svg><path fill="currentColor" d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 6a1.5 1.5 0 1 1-1.5 1.5A1.5 1.5 0 0 1 16 8Zm4 16.125h-8v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"></path></svg>',4,!0),al=Hs({viewBox:"0 0 32 32",path:()=>[ol.cloneNode(!0),il.cloneNode(!0)]}),sl="hope-alert__icon";function ll(e){const t=bs().Alert,{status:n}=function(){const e=U(Ys);if(!e)throw new Error("[Hope UI]: useAlertContext must be used within an `<Alert />` component");return e}(),r=be({boxSize:"$6"},e),[o,i]=ve(r,["as","class"]);return pe(Fs,be({get as(){return(()=>{if(o.as)return o.as;switch(n()){case"success":return Js;case"info":return al;case"warning":return rl;case"danger":return tl}})()},get class(){return _s(o.class,sl,Us())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.icon}},i))}ll.toString=()=>Es(sl);const cl="hope-alert__title";function ul(e){const t=bs().Alert,[n,r]=ve(e,["class"]);return pe(As,be({get class(){return _s(n.class,cl,js())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.title}},r))}ul.toString=()=>Es(cl);const dl=Fi({position:"relative",outline:"none",backgroundColor:"transparent",textDecoration:"none",cursor:"pointer",transition:"text-decoration 250ms","&:hover":{textDecoration:"underline"},"&:focus":{boxShadow:"$outline"}}),pl="hope-anchor";function hl(e){const t=bs().Anchor,[n,r]=ve(e,["class","external"]);return pe(ws.a,be({get class(){return _s(n.class,pl,dl())},get __baseStyle(){return null==t?void 0:t.baseStyle},get target(){return n.external?"_blank":void 0},get rel(){return n.external?"noopener noreferrer":void 0}},r))}hl.toString=()=>Es(pl),Fi({position:"relative","&::before":{height:0,content:"''",display:"block"},"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}});const fl="hope-icon-button",gl=Fi({display:"inline-flex",alignSelf:"center",flexShrink:0}),ml=Fi({position:"absolute",display:"flex",alignItems:"center",flexShrink:0,fontSize:"1em",lineHeight:"$normal",variants:{withLoadingText:{true:{position:"relative"}}}}),bl=Fi({fontSize:"1.3em",animation:`1s linear infinite ${va}`});function vl(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,[`&.${fl}`]:{width:e.height,padding:"0"}}}function yl(e){return{height:e.height,py:0,px:e.paddingX,[`&.${fl}`]:{width:e.height,padding:"0"}}}function El(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover}}}function _l(e){return{backgroundColor:e.bgColor,color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function Sl(e){return{borderColor:e.borderColor,color:e.color,"&:hover":{borderColor:e.borderColorHover,backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}function kl(e){return{color:e.color,"&:hover":{backgroundColor:e.bgColorHover},"&:active":{backgroundColor:e.bgColorActive}}}const Tl=Fi({appearance:"none",position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",outline:"none",borderRadius:"$sm",padding:"0",fontWeight:"$medium",lineHeight:"$none",textDecoration:"none",cursor:"pointer",userSelect:"none",whiteSpace:"nowrap",verticalAlign:"middle",transition:"color 250ms, background-color 250ms, box-shadow 250ms","&:focus":{outline:"none",boxShadow:"$outline"},"&:disabled, &:hover:disabled":{color:"$neutral7",cursor:"not-allowed"},variants:{variant:{solid:{border:"1px solid transparent","&:disabled, &:hover:disabled":{backgroundColor:"$neutral3"}},subtle:{border:"1px solid transparent","&:disabled, &:hover:disabled":{backgroundColor:"$neutral3"}},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent","&:disabled, &:hover:disabled":{borderColor:"$neutral3"}},dashed:{borderStyle:"dashed",borderWidth:"1px",backgroundColor:"transparent","&:disabled, &:hover:disabled":{borderColor:"$neutral3"}},ghost:{border:"1px solid transparent",backgroundColor:"transparent"}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{xs:vl({height:"$6",paddingX:"$2",fontSize:"$xs"}),sm:vl({height:"$8",paddingX:"$3",fontSize:"$sm"}),md:vl({height:"$10",paddingX:"$4",fontSize:"$base"}),lg:vl({height:"$12",paddingX:"$6",fontSize:"$lg"}),xl:vl({height:"$16",paddingX:"$10",fontSize:"$xl"})},compact:{true:{},false:{}},fullWidth:{true:{display:"flex",width:"100%"},false:{display:"inline-flex",width:"auto"}},loading:{true:{opacity:"0.75",cursor:"default",pointerEvents:"none"},false:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:El({color:"white",bgColor:"$primary9",bgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:El({color:"white",bgColor:"$accent9",bgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:El({color:"white",bgColor:"$neutral9",bgColorHover:"$neutral10"})},{variant:"solid",colorScheme:"success",css:El({color:"white",bgColor:"$success9",bgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:El({color:"white",bgColor:"$info9",bgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:El({color:"$blackAlpha12",bgColor:"$warning9",bgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:El({color:"white",bgColor:"$danger9",bgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:_l({color:"$primary11",bgColor:"$primary4",bgColorHover:"$primary5",bgColorActive:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:_l({color:"$accent11",bgColor:"$accent4",bgColorHover:"$accent5",bgColorActive:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:_l({color:"$neutral12",bgColor:"$neutral4",bgColorHover:"$neutral5",bgColorActive:"$neutral6"})},{variant:"subtle",colorScheme:"success",css:_l({color:"$success11",bgColor:"$success4",bgColorHover:"$success5",bgColorActive:"$success6"})},{variant:"subtle",colorScheme:"info",css:_l({color:"$info11",bgColor:"$info4",bgColorHover:"$info5",bgColorActive:"$info6"})},{variant:"subtle",colorScheme:"warning",css:_l({color:"$warning11",bgColor:"$warning4",bgColorHover:"$warning5",bgColorActive:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:_l({color:"$danger11",bgColor:"$danger4",bgColorHover:"$danger5",bgColorActive:"$danger6"})},{variant:"outline",colorScheme:"primary",css:Sl({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"outline",colorScheme:"accent",css:Sl({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"outline",colorScheme:"neutral",css:Sl({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"outline",colorScheme:"success",css:Sl({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"outline",colorScheme:"info",css:Sl({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"outline",colorScheme:"warning",css:Sl({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"outline",colorScheme:"danger",css:Sl({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"dashed",colorScheme:"primary",css:Sl({color:"$primary11",borderColor:"$primary7",borderColorHover:"$primary8",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"dashed",colorScheme:"accent",css:Sl({color:"$accent11",borderColor:"$accent7",borderColorHover:"$accent8",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"dashed",colorScheme:"neutral",css:Sl({color:"$neutral12",borderColor:"$neutral7",borderColorHover:"$neutral8",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"dashed",colorScheme:"success",css:Sl({color:"$success11",borderColor:"$success7",borderColorHover:"$success8",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"dashed",colorScheme:"info",css:Sl({color:"$info11",borderColor:"$info7",borderColorHover:"$info8",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"dashed",colorScheme:"warning",css:Sl({color:"$warning11",borderColor:"$warning7",borderColorHover:"$warning8",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"dashed",colorScheme:"danger",css:Sl({color:"$danger11",borderColor:"$danger7",borderColorHover:"$danger8",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{variant:"ghost",colorScheme:"primary",css:kl({color:"$primary11",bgColorHover:"$primary4",bgColorActive:"$primary5"})},{variant:"ghost",colorScheme:"accent",css:kl({color:"$accent11",bgColorHover:"$accent4",bgColorActive:"$accent5"})},{variant:"ghost",colorScheme:"neutral",css:kl({color:"$neutral12",bgColorHover:"$neutral4",bgColorActive:"$neutral5"})},{variant:"ghost",colorScheme:"success",css:kl({color:"$success11",bgColorHover:"$success4",bgColorActive:"$success5"})},{variant:"ghost",colorScheme:"info",css:kl({color:"$info11",bgColorHover:"$info4",bgColorActive:"$info5"})},{variant:"ghost",colorScheme:"warning",css:kl({color:"$warning11",bgColorHover:"$warning4",bgColorActive:"$warning5"})},{variant:"ghost",colorScheme:"danger",css:kl({color:"$danger11",bgColorHover:"$danger4",bgColorActive:"$danger5"})},{size:"xs",compact:"true",css:yl({height:"$5",paddingX:"$1"})},{size:"sm",compact:"true",css:yl({height:"$6",paddingX:"$1_5"})},{size:"md",compact:"true",css:yl({height:"$7",paddingX:"$2"})},{size:"lg",compact:"true",css:yl({height:"$8",paddingX:"$2_5"})},{size:"xl",compact:"true",css:yl({height:"$10",paddingX:"$3_5"})}]}),wl=Fi({display:"inline-flex",[`& .${Tl}:focus`]:{zIndex:1}}),Al="hope-button__group",Cl=z();function xl(e){var t,n,r,o,i,a;const s=bs().Button,[l]=nn({get variant(){var t,n,r;return null!=(r=e.variant)?r:null==(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t.group)?void 0:n.variant},get colorScheme(){var t,n,r;return null!=(r=e.colorScheme)?r:null==(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t.group)?void 0:n.colorScheme},get size(){var t,n,r;return null!=(r=e.size)?r:null==(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t.group)?void 0:n.size},get disabled(){return e.disabled}}),c=be({attached:null!=(r=null==(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t.group)?void 0:n.attached)&&r,spacing:null!=(a=null==(i=null==(o=null==s?void 0:s.defaultProps)?void 0:o.group)?void 0:i.spacing)?a:"0.5rem"},e),[u,d,p]=ve(c,["class","attached","spacing"],["variant","colorScheme","size","disabled"]),h={state:l};return pe(Cl.Provider,{value:h,get children(){return pe(As,be({role:"group",get class(){return _s(u.class,Al,wl({css:u.attached?{"> *:first-of-type:not(:last-of-type)":{borderRightRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderLeftRadius:0}}:{"& > *:not(style) ~ *:not(style)":{marginStart:u.spacing}}}))},get __baseStyle(){var e;return null==(e=null==s?void 0:s.baseStyle)?void 0:e.group}},p))}})}function Ol(){return U(Cl)}xl.toString=()=>Es(Al);const Il="hope-button__icon";function Nl(e){const[t,n]=ve(e,["class","children"]);return pe(ws.span,be({get class(){return _s(t.class,Il,gl())}},n,{get children(){return t.children}}))}Nl.toString=()=>Es(Il);const Ll=He('<svg><g fill="none"><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M12 19a7 7 0 1 0 0-14a7 7 0 0 0 0 14zm0 3c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10z" fill="currentColor"></path><path d="M2 12C2 6.477 6.477 2 12 2v3a7 7 0 0 0-7 7H2z" fill="currentColor"></path></g></svg>',8,!0),Dl=Hs({path:()=>Ll.cloneNode(!0)}),Rl="hope-button__loader";function Ml(e){const t=be({spacing:"0.5rem",children:pe(Dl,{get class(){return bl()}})},e),[n,r]=ve(t,["class","children","withLoadingText","placement","spacing"]),o=()=>"start"===n.placement?"marginEnd":"marginStart";return pe(ws.div,be({get class(){return _s(n.class,Rl,ml({withLoadingText:n.withLoadingText}))}},()=>({[o()]:n.withLoadingText?n.spacing:0}),r,{get children(){return n.children}}))}Ml.toString=()=>Es(Rl);const Pl="hope-button";function Bl(e){var t,n,r;const o=bs().Button,i=Ol(),a=be({loaderPlacement:null!=(r=null==(n=null==(t=null==o?void 0:o.defaultProps)?void 0:t.root)?void 0:n.loaderPlacement)?r:"start",iconSpacing:"0.5rem",type:"button",role:"button"},e),[s,l,c]=ve(a,["class","disabled","loadingText","loader","loaderPlacement","variant","colorScheme","size","loading","compact","fullWidth"],["children","iconSpacing","leftIcon","rightIcon"]);return pe(ws.button,be({get class(){return _s(s.class,Pl,Tl({variant:null!=(a=null!=(r=null!=(e=s.variant)?e:null==i?void 0:i.state.variant)?r:null==(n=null==(t=null==o?void 0:o.defaultProps)?void 0:t.root)?void 0:n.variant)?a:"solid",colorScheme:null!=(p=null!=(d=null!=(l=s.colorScheme)?l:null==i?void 0:i.state.colorScheme)?d:null==(u=null==(c=null==o?void 0:o.defaultProps)?void 0:c.root)?void 0:u.colorScheme)?p:"primary",size:null!=(b=null!=(m=null!=(h=s.size)?h:null==i?void 0:i.state.size)?m:null==(g=null==(f=null==o?void 0:o.defaultProps)?void 0:f.root)?void 0:g.size)?b:"md",loading:s.loading,compact:s.compact,fullWidth:s.fullWidth}));var e,t,n,r,a,l,c,u,d,p,h,f,g,m,b},get disabled(){return null!=(e=s.disabled)?e:null==i?void 0:i.state.disabled;var e},get __baseStyle(){var e;return null==(e=null==o?void 0:o.baseStyle)?void 0:e.root}},c,{get children(){return[pe(Te,{get when(){return s.loading&&"start"===s.loaderPlacement},get children(){return pe(Ml,{class:"hope-button__loader--start",get withLoadingText(){return!!s.loadingText},placement:"start",get spacing(){return l.iconSpacing},get children(){return s.loader}})}}),pe(Te,{get when(){return s.loading},get fallback(){return pe($l,l)},get children(){return pe(Te,{get when(){return s.loadingText},get fallback(){return pe(ws.span,{opacity:0,get children(){return pe($l,l)}})},get children(){return s.loadingText}})}}),pe(Te,{get when(){return s.loading&&"end"===s.loaderPlacement},get children(){return pe(Ml,{class:"hope-button__loader--end",get withLoadingText(){return!!s.loadingText},placement:"end",get spacing(){return l.iconSpacing},get children(){return s.loader}})}})]}}))}function $l(e){return[pe(Te,{get when(){return e.leftIcon},get children(){return pe(Nl,{get marginEnd(){return e.iconSpacing},get children(){return e.leftIcon}})}}),$e(()=>e.children),pe(Te,{get when(){return e.rightIcon},get children(){return pe(Nl,{get marginStart(){return e.iconSpacing},get children(){return e.rightIcon}})}})]}function Fl(e){return{boxSize:e,fontSize:`calc(${e} / 2.5)`,lineHeight:e}}Bl.toString=()=>Es(Pl);const Hl=Fi({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,borderRadius:"$full",borderColor:"$loContrast",backgroundColor:"$neutral8",color:"$neutral12",fontWeight:"$medium",textAlign:"center",textTransform:"uppercase",verticalAlign:"top",variants:{size:{"2xs":Fl("$sizes$4"),xs:Fl("$sizes$6"),sm:Fl("$sizes$8"),md:Fl("$sizes$12"),lg:Fl("$sizes$16"),xl:Fl("$sizes$24"),"2xl":Fl("$sizes$32"),full:{boxSize:"$full",fontSize:"calc($sizes$full / 2.5)"}},withBorder:{true:{}}},compoundVariants:[{withBorder:!0,size:"2xs",css:{borderWidth:"1px"}},{withBorder:!0,size:"xs",css:{borderWidth:"1px"}},{withBorder:!0,size:"sm",css:{borderWidth:"2px"}},{withBorder:!0,size:"md",css:{borderWidth:"2px"}},{withBorder:!0,size:"lg",css:{borderWidth:"3px"}},{withBorder:!0,size:"xl",css:{borderWidth:"4px"}},{withBorder:!0,size:"2xl",css:{borderWidth:"5px"}},{withBorder:!0,size:"full",css:{borderWidth:"2px"}}]});function zl(e){const[t,n]=k("pending");let r=null;const o=()=>{r&&(r.onload=null,r.onerror=null,r=null)};return A(()=>{n(e.src?"loading":"pending")}),w(()=>{e.ignoreFallback||("loading"===t()&&(()=>{if(!e.src)return;o();const t=new Image;t.src=e.src,e.crossOrigin&&(t.crossOrigin=e.crossOrigin),e.srcSet&&(t.srcset=e.srcSet),e.sizes&&(t.sizes=e.sizes),e.loading&&(t.loading=e.loading),t.onload=t=>{o(),n("loaded"),vi(e.onLoad,t)},t.onerror=t=>{o(),n("failed"),vi(e.onError,t)},r=t})(),D(()=>{o()}))}),()=>e.ignoreFallback?"loaded":t()}Fi(Hl),Fi({boxSize:"$full",borderRadius:"$full",objectFit:"cover"}),Fi({position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"$full",borderWidth:"0.2em",borderStyle:"solid",borderColor:"$loContrast",variants:{placement:{"top-start":{insetInlineStart:"0",top:"0",transform:"translate(-25%, -25%)"},"top-end":{insetInlineEnd:"0",top:"0",transform:"translate(25%, -25%)"},"bottom-start":{insetInlineStart:"0",bottom:"0",transform:"translate(-25%, 25%)"},"bottom-end":{insetInlineEnd:"0",bottom:"0",transform:"translate(25%, 25%)"}}}}),Fi({display:"flex",alignItems:"center",justifyContent:"flex-start",flexDirection:"row",[`& .${Hl}:first-child`]:{marginStart:"0"}});const Ul=Fi({display:"inline-block",borderRadius:"$sm",py:"$0_5",px:"$1",fontSize:"$xs",fontWeight:"$bold",lineHeight:"$none",letterSpacing:"$wide",textTransform:"uppercase",whiteSpace:"nowrap",verticalAlign:"middle",variants:{variant:{solid:{border:"1px solid transparent",color:"white"},subtle:{border:"1px solid transparent"},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent"}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:{color:"white",bgColor:"$primary9"}},{variant:"solid",colorScheme:"accent",css:{color:"white",bgColor:"$accent9"}},{variant:"solid",colorScheme:"neutral",css:{color:"white",bgColor:"$neutral9"}},{variant:"solid",colorScheme:"success",css:{color:"white",bgColor:"$success9"}},{variant:"solid",colorScheme:"info",css:{color:"white",bgColor:"$info9"}},{variant:"solid",colorScheme:"warning",css:{color:"$blackAlpha12",bgColor:"$warning9"}},{variant:"solid",colorScheme:"danger",css:{color:"white",bgColor:"$danger9"}},{variant:"subtle",colorScheme:"primary",css:{color:"$primary11",bgColor:"$primary4"}},{variant:"subtle",colorScheme:"accent",css:{color:"$accent11",bgColor:"$accent4"}},{variant:"subtle",colorScheme:"neutral",css:{color:"$neutral12",bgColor:"$neutral4"}},{variant:"subtle",colorScheme:"success",css:{color:"$success11",bgColor:"$success4"}},{variant:"subtle",colorScheme:"info",css:{color:"$info11",bgColor:"$info4"}},{variant:"subtle",colorScheme:"warning",css:{color:"$warning11",bgColor:"$warning4"}},{variant:"subtle",colorScheme:"danger",css:{color:"$danger11",bgColor:"$danger4"}},{variant:"outline",colorScheme:"primary",css:{color:"$primary11",borderColor:"$primary7"}},{variant:"outline",colorScheme:"accent",css:{color:"$accent11",borderColor:"$accent7"}},{variant:"outline",colorScheme:"neutral",css:{color:"$neutral12",borderColor:"$neutral7"}},{variant:"outline",colorScheme:"success",css:{color:"$success11",borderColor:"$success7"}},{variant:"outline",colorScheme:"info",css:{color:"$info11",borderColor:"$info7"}},{variant:"outline",colorScheme:"warning",css:{color:"$warning11",borderColor:"$warning7"}},{variant:"outline",colorScheme:"danger",css:{color:"$danger11",borderColor:"$danger7"}}]}),jl="hope-badge";function Gl(e){var t,n,r,o;const i=bs().Badge,a=be({variant:null!=(n=null==(t=null==i?void 0:i.defaultProps)?void 0:t.variant)?n:"subtle",colorScheme:null!=(o=null==(r=null==i?void 0:i.defaultProps)?void 0:r.colorScheme)?o:"neutral"},e),[s,l,c]=ve(a,["class"],["variant","colorScheme"]);return pe(ws.span,be({get class(){return _s(s.class,jl,Ul(l))},get __baseStyle(){return null==i?void 0:i.baseStyle}},c))}Gl.toString=()=>Es(jl);const Wl=Fi({display:"block",fontSize:"$base",lineHeight:"$6"}),ql=Fi({display:"flex",alignItems:"center",margin:0,padding:0,listStyle:"none"}),Vl=Fi({display:"inline-flex",alignItems:"center"}),Yl=Fi({display:"inline-flex",alignItems:"center",justifyContent:"center"}),Kl=Fi({position:"relative",display:"inline-flex",alignItems:"center",outline:"none",backgroundColor:"transparent",color:"$neutral11",textDecoration:"none",cursor:"pointer",transition:"color 250ms, text-decoration 250ms","&:focus":{boxShadow:"$outline"},variants:{currentPage:{true:{color:"$neutral12",cursor:"default"},false:{"&:hover":{color:"$primary11"}}}}}),Xl=z(),Ql="hope-breadcrumb",Zl="hope-breadcrumb__list";function Jl(e){const t=bs().Breadcrumb,[n]=nn({get spacing(){var n,r,o,i;return null!=(i=null!=(o=e.spacing)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.spacing)?i:"0.5rem"},get separator(){var n,r,o,i;return null!=(i=null!=(o=e.separator)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.separator)?i:"/"}}),[r,o]=ve(e,["class","children","separator","spacing"]),i={state:n};return pe(Xl.Provider,{value:i,get children(){return pe(ws.nav,be({"aria-label":"breadcrumb",get class(){return _s(r.class,Ql,Wl())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.root}},o,{get children(){return pe(ws.ol,{get class(){return _s(Zl,ql())},get gap(){return n.spacing},get children(){return r.children}})}}))}})}function ec(){const e=U(Xl);if(!e)throw new Error("[Hope UI]: useBreadcrumbContext must be used within a `<Breadcrumb />` component");return e}Jl.toString=()=>Es(Ql);const tc="hope-breadcrumb__item";function nc(e){const t=bs().Breadcrumb,n=ec(),[r,o]=ve(e,["class"]);return pe(ws.li,be({get class(){return _s(r.class,tc,Vl())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.item},get gap(){return n.state.spacing}},o))}nc.toString=()=>Es(tc);const rc="hope-breadcrumb__link";function oc(e){const t=bs().Breadcrumb,[n,r]=ve(e,["class","currentPage","href"]),o=()=>_s(n.class,rc,Kl({currentPage:!0===n.currentPage}));return pe(Te,{get when(){return n.currentPage},get fallback(){return pe(ws.a,be({get href(){return n.href},get class(){return o()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.link}},r))},get children(){return pe(ws.span,be({"aria-current":"page",get class(){return o()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.link}},r))}})}oc.toString=()=>Es(rc);const ic="hope-breadcrumb__separator";function ac(e){const t=bs().Breadcrumb,n=ec(),[r,o]=ve(e,["class","children"]);return pe(ws.span,be({role:"presentation",get class(){return _s(r.class,ic,Yl())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.separator}},o,{get children(){return pe(Te,{get when(){return r.children},get fallback(){return n.state.separator},get children(){return r.children}})}}))}ac.toString=()=>Es(ic);const sc=Fi({display:"flex",justifyContent:"center",alignItems:"center"}),lc="hope-center";function cc(e){const[t,n]=ve(e,["class"]);return pe(As,be({get class(){return _s(t.class,lc,sc())}},n))}function uc(e){return{color:e.color,"&[data-disabled]":{color:"$neutral10"},"&[data-focus]":{boxShadow:`0 0 0 3px $colors${e.boxShadowColorFocus}`,borderColor:e.borderColorFocus}}}cc.toString=()=>Es(lc);const dc=Fi({position:"relative",display:"inline-flex",alignItems:"center",gap:"$2",cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"},variants:{size:{sm:{fontSize:"$sm",lineHeight:"$5"},md:{fontSize:"$base",lineHeight:"$6"},lg:{fontSize:"$lg",lineHeight:"$7"}}}}),pc=Fi({cursor:"pointer",userSelect:"none","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"}}),hc=Fi({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,height:"100%",outline:"none",padding:0,verticalAlign:"middle",cursor:"pointer",userSelect:"none",transition:"border-color 250ms, box-shadow 250ms","&[data-disabled]":{opacity:"0.5",cursor:"not-allowed"},"&[data-invalid]":{borderColor:"$danger8",color:"$danger9"},"&[data-focus][data-invalid]":{boxShadow:"0 0 0 3px $colors$danger5",borderColor:"$danger8"},"&[data-checked], &[data-focus][data-checked]":{borderColor:"transparent",backgroundColor:"currentColor"},variants:{variant:{outline:{border:"1px solid $colors$neutral8",backgroundColor:"transparent"},filled:{border:"1px solid transparent",backgroundColor:"$neutral7"}},colorScheme:{primary:uc({color:"$primary9",boxShadowColorFocus:"$primary5",borderColorFocus:"$primary8"}),accent:uc({color:"$accent9",boxShadowColorFocus:"$accent5",borderColorFocus:"$accent8"}),neutral:uc({color:"$neutral9",boxShadowColorFocus:"$neutral5",borderColorFocus:"$neutral8"}),success:uc({color:"$success9",boxShadowColorFocus:"$success5",borderColorFocus:"$success8"}),info:uc({color:"$info9",boxShadowColorFocus:"$info5",borderColorFocus:"$info8"}),warning:uc({color:"$warning9",boxShadowColorFocus:"$warning5",borderColorFocus:"$warning8"}),danger:uc({color:"$danger9",boxShadowColorFocus:"$danger5",borderColorFocus:"$danger8"})},size:{sm:{boxSize:"$3"},md:{boxSize:"$4"},lg:{boxSize:"$5"}}}}),fc=Fi(dc,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),gc=Fi(pc),mc=Fi(hc,{borderRadius:"$sm","& svg":{color:"$loContrast"},"&[data-indeterminate], &[data-focus][data-indeterminate]":{borderColor:"transparent",backgroundColor:"currentColor"}}),bc=z();function vc(){return U(bc)}const yc=Fi({position:"relative",width:"$full"}),Ec=Fi({display:"inline-block",marginBottom:"$1",color:"$neutral12",fontWeight:"$medium",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}}),_c=Fi({marginInlineStart:"$1",color:"$danger9",fontSize:"$base"}),Sc=Fi({display:"inline-block",marginTop:"$1",color:"$neutral11",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});Fi({display:"inline-block",marginTop:"$1",color:"$danger9",fontWeight:"$normal",fontSize:"$sm",lineHeight:"$5",textAlign:"start",opacity:1,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"}});const kc=z(),Tc="hope-form-control";function wc(e){const t=`hope-field-${_e()}`,n=bs().FormControl,[r,o]=nn({get id(){var n;return null!=(n=e.id)?n:t},get labelId(){return`${this.id}-label`},get helperTextId(){return`${this.id}-helper-text`},get errorMessageId(){return`${this.id}-error-message`},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get"data-focus"(){return this.isFocused?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0},hasHelperText:!1,hasErrorMessage:!1,isFocused:!1}),[i,a]=ve(e,["id","required","disabled","invalid","readOnly","class"]),s=e=>o("hasHelperText",e),l=e=>o("hasErrorMessage",e),c=()=>o("isFocused",!0),u=()=>o("isFocused",!1);return pe(kc.Provider,{get value(){return{state:r,setHasHelperText:s,setHasErrorMessage:l,onFocus:c,onBlur:u}},get children(){return pe(As,be({role:"group",get class(){return _s(i.class,Tc,yc())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.root}},a))}})}function Ac(){return U(kc)}function Cc(e){const t=Ac(),n=C(()=>yi(null==t?void 0:t.onFocus,e.onFocus)),r=C(()=>yi(null==t?void 0:t.onBlur,e.onBlur)),[o]=nn({get id(){var n;return null!=(n=e.id)?n:null==t?void 0:t.state.id},get required(){var n;return null!=(n=e.required)?n:null==t?void 0:t.state.required},get disabled(){var n;return null!=(n=e.disabled)?n:null==t?void 0:t.state.disabled},get invalid(){var n;return null!=(n=e.invalid)?n:null==t?void 0:t.state.invalid},get readOnly(){var n;return null!=(n=e.readOnly)?n:null==t?void 0:t.state.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||void 0},get"aria-describedby"(){const n=e["aria-describedby"]?[e["aria-describedby"]]:[];return(null==t?void 0:t.state.hasErrorMessage)&&(null==t?void 0:t.state.invalid)&&n.push(t.state.errorMessageId),(null==t?void 0:t.state.hasHelperText)&&n.push(t.state.helperTextId),n.join(" ")||void 0},get onFocus(){return n},get onBlur(){return r}});return o}wc.toString=()=>Es(Tc);const xc=He('<input type="checkbox">',1);function Oc(e){const t=`hope-checkbox-${_e()}`,n=Ac(),r=vc(),o=Cc(e),[i,a]=nn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return void 0!==e.checked},get checked(){if(r){const t=r.state.value;return null!=t&&t.some(t=>String(e.value)===String(t))}return this.isControlled?!!e.checked:this._checked},get id(){var i;return n&&!r?o.id:null!=(i=e.id)?i:t},get name(){var t;return null!=(t=e.name)?t:null==r?void 0:r.state.name},get value(){return e.value},get indeterminate(){return e.indeterminate},get required(){var e;return null!=(e=o.required)?e:null==r?void 0:r.state.required},get disabled(){var e;return null!=(e=o.disabled)?e:null==r?void 0:r.state.disabled},get invalid(){var e;return null!=(e=o.invalid)?e:null==r?void 0:r.state.invalid},get readOnly(){var e;return null!=(e=o.readOnly)?e:null==r?void 0:r.state.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||void 0},get"aria-label"(){return e["aria-label"]},get"aria-labelledby"(){return e["aria-labelledby"]},get"aria-describedby"(){return e["aria-describedby"]},get"data-indeterminate"(){return this.indeterminate?"":void 0},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[s,l,c]=ve(e,["inputClass","children","ref","tabIndex","onChange"],["id","name","value","indeterminate","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),u=e=>{if(i.readOnly||i.disabled)e.preventDefault();else{if(!i.isControlled){const t=e.target;a("_checked",t.checked)}yi(null==r?void 0:r.onChange,s.onChange)(e)}},d=e=>{a("isFocused",!0),vi(o.onFocus,e)},p=e=>{a("isFocused",!1),vi(o.onBlur,e)},h=()=>i,f={state:i};return pe(Ic.Provider,{value:f,get children(){return pe(ws.label,be({get for(){return i.id},"data-group":!0,get"data-indeterminate"(){return i["data-indeterminate"]},get"data-focus"(){return i["data-focus"]},get"data-checked"(){return i["data-checked"]},get"data-required"(){return i["data-required"]},get"data-disabled"(){return i["data-disabled"]},get"data-invalid"(){return i["data-invalid"]},get"data-readonly"(){return i["data-readonly"]}},c,{get children(){return[(()=>{const e=xc.cloneNode(!0);e.addEventListener("blur",p),e.addEventListener("focus",d),e.addEventListener("change",u);const t=s.ref;return"function"==typeof t?t(e):s.ref=e,w(t=>{const n=_s(s.inputClass,fs()),r=s.tabIndex,o=i.value,a=i.id,l=i.name,c=i.checked,u=i.required,d=i.disabled,p=i.readOnly,h=i["aria-required"],f=i["aria-disabled"],g=i["aria-invalid"],m=i["aria-readonly"],b=i["aria-label"],v=i["aria-labelledby"],y=i["aria-describedby"];return n!==t._v$&&(e.className=t._v$=n),r!==t._v$2&&Ue(e,"tabindex",t._v$2=r),o!==t._v$3&&(e.value=t._v$3=o),a!==t._v$4&&Ue(e,"id",t._v$4=a),l!==t._v$5&&Ue(e,"name",t._v$5=l),c!==t._v$6&&(e.checked=t._v$6=c),u!==t._v$7&&(e.required=t._v$7=u),d!==t._v$8&&(e.disabled=t._v$8=d),p!==t._v$9&&(e.readOnly=t._v$9=p),h!==t._v$10&&Ue(e,"aria-required",t._v$10=h),f!==t._v$11&&Ue(e,"aria-disabled",t._v$11=f),g!==t._v$12&&Ue(e,"aria-invalid",t._v$12=g),m!==t._v$13&&Ue(e,"aria-readonly",t._v$13=m),b!==t._v$14&&Ue(e,"aria-label",t._v$14=b),v!==t._v$15&&Ue(e,"aria-labelledby",t._v$15=v),y!==t._v$16&&Ue(e,"aria-describedby",t._v$16=y),t},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),e})(),pe(Te,{get when(){return mi(s.children)},get fallback(){return s.children},get children(){var e;return null==(e=s.children)?void 0:e.call(s,{state:h})}})]}}))}})}const Ic=z(),Nc=He('<svg><path d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" fill="currentColor" stroke="currentColor" stroke-width="1" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),Lc=He('<svg><path d="M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z" fill="currentColor" stroke="currentColor" stroke-width="1" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),Dc="hope-checkbox",Rc="hope-checkbox__input",Mc="hope-checkbox__control",Pc="hope-checkbox__label";function Bc(e){var t,n,r,o,i,a,s,l,c,u,d,p,h,f,g,m,b,v,y,E;const _=bs().Checkbox,S=vc(),k=be({variant:null!=(i=null!=(o=null==(t=null==S?void 0:S.state)?void 0:t.variant)?o:null==(r=null==(n=null==_?void 0:_.defaultProps)?void 0:n.root)?void 0:r.variant)?i:"outline",colorScheme:null!=(u=null!=(c=null==(a=null==S?void 0:S.state)?void 0:a.colorScheme)?c:null==(l=null==(s=null==_?void 0:_.defaultProps)?void 0:s.root)?void 0:l.colorScheme)?u:"primary",size:null!=(g=null!=(f=null==(d=null==S?void 0:S.state)?void 0:d.size)?f:null==(h=null==(p=null==_?void 0:_.defaultProps)?void 0:p.root)?void 0:h.size)?g:"md",labelPlacement:null!=(E=null!=(y=null==(m=null==S?void 0:S.state)?void 0:m.labelPlacement)?y:null==(v=null==(b=null==_?void 0:_.defaultProps)?void 0:b.root)?void 0:v.labelPlacement)?E:"end"},e),[T,w]=ve(k,["children","class","variant","colorScheme","size","labelPlacement","iconChecked","iconIndeterminate"]);return pe(Oc,be({get class(){return _s(T.class,Dc,fc({size:T.size,labelPlacement:T.labelPlacement}))},inputClass:Rc,get __baseStyle(){var e;return null==(e=null==_?void 0:_.baseStyle)?void 0:e.root}},w,{children:({state:e})=>[pe(ws.span,{"aria-hidden":!0,get class(){return _s(Mc,mc({variant:T.variant,colorScheme:T.colorScheme,size:T.size}))},get __baseStyle(){var e;return null==(e=null==_?void 0:_.baseStyle)?void 0:e.control},get"data-indeterminate"(){return e()["data-indeterminate"]},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]},get children(){return pe(we,{get children(){return[pe(Ae,{get when(){return e().indeterminate},get children(){return pe(Te,{get when(){return T.iconIndeterminate},get fallback(){return pe(Fc,{})},get children(){return T.iconIndeterminate}})}}),pe(Ae,{get when(){return $e(()=>!!e().checked)()&&!e().indeterminate},get children(){return pe(Te,{get when(){return T.iconChecked},get fallback(){return pe($c,{})},get children(){return T.iconChecked}})}})]}})}}),pe(ws.span,{get class(){return _s(Pc,gc())},get __baseStyle(){var e;return null==(e=null==_?void 0:_.baseStyle)?void 0:e.label},get"data-indeterminate"(){return e()["data-indeterminate"]},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]},get children(){return T.children}})]}))}Bc.toString=()=>Es(Dc);const $c=Hs({viewBox:"0 0 15 15",path:()=>Nc.cloneNode(!0)}),Fc=Hs({viewBox:"0 0 15 15",path:()=>Lc.cloneNode(!0)}),Hc=Gi({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}});Fi({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"}),Fi({fill:"transparent",stroke:"currentColor"}),Fi({position:"absolute",top:0,left:0,variants:{spin:{true:{animation:`${va} 2s linear infinite`}}}}),Fi({fill:"transparent",stroke:"currentColor",opacity:1,variants:{hidden:{true:{opacity:0}},withRoundCaps:{true:{strokeLinecap:"round"}},indeterminate:{true:{animation:`${Hc} 2s linear infinite`},false:{strokeDashoffset:66,transitionProperty:"stroke-dasharray, stroke, opacity",transitionDuration:"600ms",transitionTimingFunction:"ease"}}}}),Fi({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",fontSize:"$xs",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"});const zc=He('<svg><path fill="currentColor" d="M2.64 1.27L7.5 6.13l4.84-4.84A.92.92 0 0 1 13 1a1 1 0 0 1 1 1a.9.9 0 0 1-.27.66L8.84 7.5l4.89 4.89A.9.9 0 0 1 14 13a1 1 0 0 1-1 1a.92.92 0 0 1-.69-.27L7.5 8.87l-4.85 4.85A.92.92 0 0 1 2 14a1 1 0 0 1-1-1a.9.9 0 0 1 .27-.66L6.16 7.5L1.27 2.61A.9.9 0 0 1 1 2a1 1 0 0 1 1-1c.24.003.47.1.64.27z"></path></svg>',4,!0),Uc=Hs({viewBox:"0 0 15 15",path:()=>zc.cloneNode(!0)}),jc=Fi({appearance:"none",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,outline:"none",borderWidth:0,borderRadius:"$sm",backgroundColor:"transparent",padding:0,color:"currentColor",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms","&:disbaled":{opacity:"0.5",cursor:"not-allowed",boxShadow:"none"},"&:hover":{backgroundColor:"$closeButtonHoverBackground"},"&:active":{backgroundColor:"$closeButtonActiveBackground"},"&:focus":{outline:"none",boxShadow:"$outline"},variants:{size:{sm:{boxSize:"24px",fontSize:"10px"},md:{boxSize:"32px",fontSize:"12px"},lg:{boxSize:"40px",fontSize:"16px"}}}}),Gc="hope-close-button";function Wc(e){var t,n,r,o,i,a;const s=bs().CloseButton,l=be({"aria-label":null!=(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t["aria-label"])?n:"Close",icon:null!=(o=null==(r=null==s?void 0:s.defaultProps)?void 0:r.icon)?o:pe(Uc,{}),size:null!=(a=null==(i=null==s?void 0:s.defaultProps)?void 0:i.size)?a:"md"},e),[c,u]=ve(l,["class","children","size","icon"]);return pe(ws.button,be({type:"button",get class(){return _s(c.class,Gc,jc({size:c.size}))},get __baseStyle(){return null==s?void 0:s.baseStyle}},u,{get children(){return pe(Te,{get when(){return c.children},get fallback(){return c.icon},get children(){return c.children}})}}))}Wc.toString=()=>Es(Gc);const qc=Fi({width:"100%","@sm":{maxWidth:"$containerSm"},"@md":{maxWidth:"$containerMd"},"@lg":{maxWidth:"$containerLg"},"@xl":{maxWidth:"$containerXl"},"@2xl":{maxWidth:"$container2xl"},variants:{centered:{true:{mx:"auto"}},centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}}}}),Vc="hope-container";function Yc(e){const t=be({centered:!0,centerContent:!1},e),[n,r,o]=ve(t,["class"],["centered","centerContent"]);return pe(As,be({get class(){return _s(n.class,Vc,qc(r))}},o))}Yc.toString=()=>Es(Vc);const Kc=Fi({border:0,borderColor:"currentColor",variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{height:"100%"},horizontal:{width:"100%"}}}}),Xc="hope-divider";function Qc(e){const t=be({as:"div",variant:"solid",orientation:"horizontal",color:"$neutral6",thickness:"1px"},e),[n,r]=ve(t,["class","variant","orientation","thickness"]);return pe(As,be({get class(){return _s(n.class,Xc,Kc({variant:n.variant,orientation:n.orientation,css:{borderLeftWidth:"vertical"===n.orientation?n.thickness:0,borderBottomWidth:"horizontal"===n.orientation?n.thickness:0}}))}},r))}function Zc(e){const t=`hope-modal-${_e()}`,n=bs().Modal,[r,o]=nn({headerMounted:!1,bodyMounted:!1,get opened(){return e.opened},get dialogId(){var n;return null!=(n=e.id)?n:t},get headerId(){return`${this.dialogId}--header`},get bodyId(){return`${this.dialogId}--body`},get initialFocus(){return e.initialFocus},get motionPreset(){var t,r,o,i;return null!=(i=null!=(o=e.motionPreset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?i:"scale"},get size(){var t,r,o,i;return null!=(i=null!=(o=e.size)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.size)?i:"md"},get centered(){var t,r,o,i;return null!=(i=null!=(o=e.centered)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.centered)&&i},get scrollBehavior(){var t,r,o,i;return null!=(i=null!=(o=e.scrollBehavior)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.scrollBehavior)?i:"outside"},get closeOnOverlayClick(){var t,r,o,i;return null==(i=null!=(o=e.closeOnOverlayClick)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnOverlayClick)||i},get closeOnEsc(){var t,r,o,i;return null==(i=null!=(o=e.closeOnEsc)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnEsc)||i},get trapFocus(){var t,r,o,i;return null==(i=null!=(o=e.trapFocus)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.trapFocus)||i},get blockScrollOnMount(){var t,r,o,i;return null==(i=null!=(o=e.blockScrollOnMount)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.blockScrollOnMount)||i},get preserveScrollBarGap(){var t,r,o,i;return null!=(i=null!=(o=e.preserveScrollBarGap)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.preserveScrollBarGap)&&i}}),[i,a]=k(!1);A(()=>{r.opened?a(!0):"none"===r.motionPreset&&a(!1)});const s=()=>e.onClose();let l=null;const c={state:r,unmountPortal:()=>a(!1),onClose:s,onMouseDown:e=>{l=e.target},onKeyDown:t=>{var n;"Escape"===t.key&&(t.stopPropagation(),r.closeOnEsc&&s(),null==(n=e.onEsc)||n.call(e))},onOverlayClick:t=>{var n;t.stopPropagation(),l===t.target&&(r.closeOnOverlayClick&&s(),null==(n=e.onOverlayClick)||n.call(e))},setHeaderMounted:e=>o("headerMounted",e),setBodyMounted:e=>o("bodyMounted",e)};return pe(Te,{get when(){return i()},get children(){return pe(Jc.Provider,{value:c,get children(){return pe(lt,{get children(){return e.children}})}})}})}Qc.toString=()=>Es(Xc);const Jc=z();function eu(){const e=U(Jc);if(!e)throw new Error("[Hope UI]: useModalContext must be used within a `<Modal />` component");return e}const tu="hope-modal__body";function nu(e){const t=bs().Modal,n=eu(),[r,o]=ve(e,["class"]);return L(()=>n.setBodyMounted(!0)),D(()=>n.setBodyMounted(!1)),pe(As,be({get class(){return _s(r.class,tu,Ji({scrollBehavior:n.state.scrollBehavior}))},get id(){return n.state.bodyId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.body}},o))}nu.toString=()=>Es(tu);const ru="hope-modal__close-button";function ou(e){var t,n,r,o,i,a,s,l;const c=bs().Modal,u=eu(),d=be({"aria-label":null!=(r=null==(n=null==(t=null==c?void 0:c.defaultProps)?void 0:t.closeButton)?void 0:n["aria-label"])?r:"Close modal",size:null!=(a=null==(i=null==(o=null==c?void 0:c.defaultProps)?void 0:o.closeButton)?void 0:i.size)?a:"md",icon:null==(l=null==(s=null==c?void 0:c.defaultProps)?void 0:s.closeButton)?void 0:l.icon},e),[p,h]=ve(d,["class","onClick"]);return pe(Wc,be({get class(){return _s(p.class,ru,ta())},get __baseStyle(){var e;return null==(e=null==c?void 0:c.baseStyle)?void 0:e.closeButton},onClick:e=>{yi(p.onClick,e=>{e.stopPropagation(),u.onClose()})(e)}},h))}ou.toString=()=>Es(ru);const iu="hope-modal__footer";function au(e){const t=bs().Modal,[n,r]=ve(e,["class"]);return pe(As,be({get class(){return _s(n.class,iu,ea())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.footer}},r))}au.toString=()=>Es(iu);const su="hope-modal__header";function lu(e){const t=bs().Modal,n=eu(),[r,o]=ve(e,["class"]);return L(()=>n.setHeaderMounted(!0)),D(()=>n.setHeaderMounted(!1)),pe(As,be({get class(){return _s(r.class,su,Zi())},get id(){return n.state.headerId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.header}},o))}lu.toString=()=>Es(su);const cu=z();function uu(){const e=U(cu);if(!e)throw new Error("[Hope UI]: useDrawerContext must be used within a `<Drawer />` component");return e}function du(e){const t=eu();let n,r;const o=()=>`[id='${t.state.dialogId}']`,i=()=>`${o()} *`;return L(()=>{n&&(t.state.trapFocus&&(r=Jr(n,{initialFocus:t.state.initialFocus,fallbackFocus:o(),allowOutsideClick:!0}),r.activate()),t.state.blockScrollOnMount&&(to.addScrollableSelector(i()),to.disablePageScroll(n)))}),D(()=>{null==r||r.deactivate(),to.removeScrollableSelector(i()),to.clearQueueScrollLocks(),to.enablePageScroll()}),{assignContainerRef:e=>{n=e},ariaLabelledBy:()=>t.state.headerMounted?t.state.headerId:void 0,ariaDescribedBy:()=>t.state.bodyMounted?t.state.bodyId:void 0,onDialogClick:t=>{yi(e.onClick,e=>e.stopPropagation())(t)}}}const pu="hope-modal__content-container",hu="hope-modal__content";function fu(e){const t=bs().Modal,n=eu(),[r,o]=ve(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:i,ariaLabelledBy:a,ariaDescribedBy:s,onDialogClick:l}=du(r);return pe(Sr,{get name(){return(()=>{switch(n.state.motionPreset){case"fade-in-bottom":return Wi.fadeInBottom;case"scale":return Wi.scale;case"none":return"hope-none"}})()},appear:!0,get onAfterExit(){return n.unmountPortal},get children(){return pe(Te,{get when(){return n.state.opened},get children(){return pe(As,{ref:i,get class(){return(()=>{const e=Ki({centered:n.state.centered,scrollBehavior:n.state.scrollBehavior});return _s(pu,e)})()},tabIndex:-1,get onMouseDown(){return n.onMouseDown},get onKeyDown(){return n.onKeyDown},get onClick(){return n.onOverlayClick},get children(){return pe(ws.section,be({get class(){return(()=>{const e=Qi({size:n.state.size,scrollBehavior:n.state.scrollBehavior});return _s(r.class,hu,e)})()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},get id(){return n.state.dialogId},get role(){var e;return null!=(e=r.role)?e:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return a()},get"aria-describedby"(){return s()},onClick:l},o))}})}})}})}fu.toString=()=>Es(hu);const gu="hope-modal__overlay";function mu(e){const t=bs().Modal,n=eu(),[r,o]=ve(e,["class"]);return pe(Sr,{get name(){return"none"===n.state.motionPreset?"hope-none":Wi.fade},appear:!0,get children(){return pe(Te,{get when(){return n.state.opened},get children(){return pe(As,be({get class(){return _s(r.class,gu,Vi())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.overlay}},o))}})}})}mu.toString=()=>Es(gu);const bu="hope-drawer__content-container",vu="hope-drawer__content";function yu(e){const t=bs().Drawer,n=uu(),r=eu(),[o,i]=ve(e,["ref","class","role","aria-labelledby","aria-describedby","onClick"]),{assignContainerRef:a,ariaLabelledBy:s,ariaDescribedBy:l,onDialogClick:c}=du(o);return pe(Sr,{get name(){return(()=>{if(n.disableMotion)return"hope-none";switch(n.placement){case"top":return na.slideInTop;case"right":return na.slideInRight;case"bottom":return na.slideInBottom;case"left":return na.slideInLeft}})()},appear:!0,get onAfterExit(){return r.unmountPortal},get children(){return pe(Te,{get when(){return r.state.opened},get children(){return pe(As,{ref:a,get class(){return _s(bu,oa({placement:n.placement}))},tabIndex:-1,get onMouseDown(){return r.onMouseDown},get onKeyDown(){return r.onKeyDown},get onClick(){return r.onOverlayClick},get children(){return pe(ws.section,be({get class(){return(()=>{const e=ia({size:n.size,placement:n.placement,fullHeight:n.fullHeight});return _s(o.class,vu,e)})()},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},get id(){return r.state.dialogId},get role(){var e;return null!=(e=o.role)?e:"dialog"},tabIndex:-1,"aria-modal":!0,get"aria-labelledby"(){return s()},get"aria-describedby"(){return l()},onClick:c},i))}})}})}})}yu.toString=()=>Es(vu);const Eu="hope-drawer__overlay";function _u(e){const t=bs().Drawer,n=uu(),r=eu(),[o,i]=ve(e,["class"]);return pe(Sr,{get name(){return n.disableMotion?"hope-none":na.fade},appear:!0,get children(){return pe(Te,{get when(){return r.state.opened},get children(){return pe(As,be({get class(){return _s(o.class,Eu,Vi())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.overlay}},i))}})}})}_u.toString=()=>Es(Eu);const Su="hope-flex";function ku(e){const[t,n]=ve(e,["class","direction","wrap"]);return pe(As,be({get class(){return _s(t.class,Su)},display:"flex",get flexDirection(){return t.direction},get flexWrap(){return t.wrap}},n))}ku.toString=()=>Es(Su);const Tu="hope-form-helper-text";function wu(e){const t=bs().FormControl,n=Ac(),[r,o]=ve(e,["ref","id","class"]);return L(()=>null==n?void 0:n.setHasHelperText(!0)),D(()=>null==n?void 0:n.setHasHelperText(!1)),pe(As,be({get id(){return null!=(e=r.id)?e:null==n?void 0:n.state.helperTextId;var e},get class(){return _s(r.class,Tu,Sc())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.helperText},get"data-disabled"(){return null==n?void 0:n.state["data-disabled"]},get"data-readonly"(){return null==n?void 0:n.state["data-readonly"]}},o))}wu.toString=()=>Es(Tu);const Au=He('<span role="presentation" aria-hidden="true">*</span>',2),Cu="hope-form-label";function xu(e){var t,n,r;const o=bs().FormControl,i=Ac(),a=be({withRequiredIndicator:null==(r=null==(n=null==(t=null==o?void 0:o.defaultProps)?void 0:t.label)?void 0:n.withRequiredIndicator)||r},e),[s,l]=ve(a,["id","for","class","children","withRequiredIndicator"]);return pe(ws.label,be({get id(){return null!=(e=s.id)?e:null==i?void 0:i.state.labelId;var e},get for(){return null!=(e=s.for)?e:null==i?void 0:i.state.id;var e},get class(){return _s(s.class,Cu,Ec())},get __baseStyle(){var e;return null==(e=null==o?void 0:o.baseStyle)?void 0:e.label},get"data-focus"(){return null==i?void 0:i.state["data-focus"]},get"data-disabled"(){return null==i?void 0:i.state["data-disabled"]},get"data-invalid"(){return null==i?void 0:i.state["data-invalid"]},get"data-readonly"(){return null==i?void 0:i.state["data-readonly"]}},l,{get children(){return[$e(()=>s.children),pe(Te,{get when(){return(null==i?void 0:i.state.required)&&s.withRequiredIndicator},get children(){const e=Au.cloneNode(!0);return w(()=>e.className=_c()),e}})]}}))}xu.toString=()=>Es(Cu);const Ou="hope-grid";function Iu(e){const[t,n]=ve(e,["class","autoFlow","autoColumns","autoRows","templateAreas","templateColumns","templateRows"]);return pe(As,be({get class(){return _s(t.class,Ou)},display:"grid",get gridAutoFlow(){return t.autoFlow},get gridAutoColumns(){return t.autoColumns},get gridAutoRows(){return t.autoRows},get gridTemplateAreas(){return t.templateAreas},get gridTemplateColumns(){return t.templateColumns},get gridTemplateRows(){return t.templateRows}},n))}function Nu(e){var t,n;if(null!=e)return n=e=>{switch(e){case"auto":return"auto";case"full":return"1 / -1";default:return`span ${e} / span ${e}`}},gi(t=e)?Object.keys(t).reduce((e,r)=>(e[r]=n(t[r]),e),{}):null!=t?n(t):null}Iu.toString=()=>Es(Ou);const Lu="hope-grid-item";function Du(e){const[t,n]=ve(e,["class","area","colSpan","colStart","colEnd","rowSpan","rowStart","rowEnd"]);return pe(As,be({get class(){return _s(t.class,Lu)},get gridArea(){return t.area},get gridColumn(){return Nu(t.colSpan)},get gridRow(){return Nu(t.rowSpan)},get gridColumnStart(){return t.colStart},get gridColumnEnd(){return t.colEnd},get gridRowStart(){return t.rowStart},get gridRowEnd(){return t.rowEnd}},n))}Du.toString=()=>Es(Lu);const Ru="hope-simple-grid";function Mu(e){const[t,n]=ve(e,["class","minChildWidth","columns"]),r=()=>t.minChildWidth?hs(t.minChildWidth,e=>bi(e)?null:`repeat(auto-fit, minmax(${function(e){return"number"==typeof e?`${e}px`:e}(e)}, 1fr))`):hs(t.columns,e=>bi(e)?null:`repeat(${e}, minmax(0, 1fr))`);return pe(Iu,be({get class(){return _s(t.class,Ru)},get templateColumns(){return r()}},n))}Mu.toString=()=>Es(Ru);const Pu=Fi({variants:{size:{xs:{fontSize:"$xs",lineHeight:"$4"},sm:{fontSize:"$sm",lineHeight:"$5"},base:{fontSize:"$base",lineHeight:"$6"},lg:{fontSize:"$lg",lineHeight:"$7"},xl:{fontSize:"$xl",lineHeight:"$7"},"2xl":{fontSize:"$2xl",lineHeight:"$8"},"3xl":{fontSize:"$3xl",lineHeight:"$9"},"4xl":{fontSize:"$4xl",lineHeight:"$10"},"5xl":{fontSize:"$5xl",lineHeight:"$none"},"6xl":{fontSize:"$6xl",lineHeight:"$none"},"7xl":{fontSize:"$7xl",lineHeight:"$none"},"8xl":{fontSize:"$8xl",lineHeight:"$none"},"9xl":{fontSize:"$9xl",lineHeight:"$none"}}}}),Bu=Fi(Pu,{fontWeight:"$semibold"}),$u="hope-heading";function Fu(e){var t,n;const r=bs().Heading,o=be({as:"h2",level:null==(t=null==r?void 0:r.defaultProps)?void 0:t.level,size:null==(n=null==r?void 0:r.defaultProps)?void 0:n.size},e),[i,a]=ve(o,["class","as","level","size"]);return pe(As,be({get as(){return i.level?`h${i.level}`:i.as},get class(){return _s(i.class,$u,Bu({size:i.size}))},get __baseStyle(){return null==r?void 0:r.baseStyle}},a))}function Hu(e){const t=bs().IconButton,n=Ol(),[r,o]=ve(e,["class","children","icon","variant","colorScheme","size","disabled"]);return pe(Bl,be({get class(){return _s(r.class,fl)},get __baseStyle(){return null==t?void 0:t.baseStyle},get variant(){return null!=(a=null!=(i=null!=(e=r.variant)?e:null==n?void 0:n.state.variant)?i:null==(o=null==t?void 0:t.defaultProps)?void 0:o.variant)?a:"solid";var e,o,i,a},get colorScheme(){return null!=(a=null!=(i=null!=(e=r.colorScheme)?e:null==n?void 0:n.state.colorScheme)?i:null==(o=null==t?void 0:t.defaultProps)?void 0:o.colorScheme)?a:"primary";var e,o,i,a},get size(){return null!=(a=null!=(i=null!=(e=r.size)?e:null==n?void 0:n.state.size)?i:null==(o=null==t?void 0:t.defaultProps)?void 0:o.size)?a:"md";var e,o,i,a},get disabled(){return null!=(e=r.disabled)?e:null==n?void 0:n.state.disabled;var e}},o,{get children(){return pe(Te,{get when(){return r.icon},get fallback(){return r.children},get children(){return r.icon}})}}))}Fu.toString=()=>Es($u),Hu.toString=()=>Es(fl);const zu="hope-image";function Uu(e){const[t,n,r]=ve(e,["class","htmlWidth","htmlHeight","fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],["onError","onLoad"]),o=()=>null!=t.loading||t.ignoreFallback||void 0===t.fallbackSrc&&void 0===t.fallback,i=C(()=>zl(hi(pi({},e),{ignoreFallback:o()}))),a=()=>pi(pi({objectFit:t.fit,objectPosition:t.align,width:t.htmlWidth,height:t.htmlHeight},o()?n:{}),r);return pe(Te,{get when(){return"loaded"===i()()},get fallback(){return pe(Te,{get when(){return t.fallback},get fallback(){return pe(As,be({as:"img",get src(){return t.fallbackSrc},class:"hope-image__placeholder"},a))},get children(){return t.fallback}})},get children(){return pe(As,be({as:"img",get src(){return t.src},get srcSet(){return t.srcSet},get crossOrigin(){return t.crossOrigin},get loading(){return t.loading},get class(){return _s(t.class,zu)}},a))}})}Uu.toString=()=>Es(zu);const ju=z(),Gu="hope-input";function Wu(e){const t=bs().Input,n=U(ju),r=Cc(e),[o,i]=ve(e,["class","htmlSize","variant","size"]);return pe(ws.input,be({type:"text",get class(){return _s(o.class,Gu,Ua({variant:null!=(s=null!=(a=null!=(e=o.variant)?e:null==n?void 0:n.state.variant)?a:null==(i=null==(r=null==t?void 0:t.defaultProps)?void 0:r.input)?void 0:i.variant)?s:"outline",size:null!=(p=null!=(d=null!=(l=o.size)?l:null==n?void 0:n.state.size)?d:null==(u=null==(c=null==t?void 0:t.defaultProps)?void 0:c.input)?void 0:u.size)?p:"md",withLeftElement:null!=(h=null==n?void 0:n.state.hasLeftElement)&&h,withRightElement:null!=(f=null==n?void 0:n.state.hasRightElement)&&f,withLeftAddon:null!=(g=null==n?void 0:n.state.hasLeftAddon)&&g,withRightAddon:null!=(m=null==n?void 0:n.state.hasRightAddon)&&m}));var e,r,i,a,s,l,c,u,d,p,h,f,g,m},get size(){return o.htmlSize},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.input}},r,i))}Wu.toString=()=>Es(Gu);const qu=Fi({borderRadius:"$md",borderColor:"$neutral7",borderWidth:"1px",borderBottomWidth:"3px",backgroundColor:"$neutral2",px:"0.4em",fontFamily:"$mono",fontSize:"0.8em",fontWeight:"$bold",lineHeight:"$normal",whiteSpace:"nowrap"}),Vu="hope-kbd";function Yu(e){const t=bs().Kbd,[n,r]=ve(e,["class"]);return pe(ws.kbd,be({get class(){return _s(n.class,Vu,qu())},get __baseStyle(){return null==t?void 0:t.baseStyle}},r))}Yu.toString=()=>Es(Vu);const Ku=Fi({listStyleType:"none"});Fi({marginEnd:"0.5rem"});const Xu="hope-list",Qu="& > *:not(style) ~ *:not(style)";function Zu(e){const[t,n]=ve(e,["class","styleType","stylePosition","spacing"]);return pe(ws.ul,be({role:"list",get class(){return _s(t.class,Xu,Ku({css:pi({listStyleType:t.styleType,listStylePosition:t.stylePosition},t.spacing?{[Qu]:{mt:t.spacing}}:{})}))}},n))}Zu.toString=()=>Es(Xu);const Ju="hope-list__item";function ed(e){const[t,n]=ve(e,["class"]);return pe(ws.li,be({get class(){return _s(t.class,Ju)}},n))}ed.toString=()=>Es(Ju);var td=(e=>(e[e.Close=0]="Close",e[e.SelectAndClose=1]="SelectAndClose",e[e.First=2]="First",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Open=5]="Open",e[e.OpenAndFocusLast=6]="OpenAndFocusLast",e[e.Previous=7]="Previous",e[e.Select=8]="Select",e[e.Type=9]="Type",e))(td||{});function nd(e=[],t,n=[]){return e.filter(e=>!e.disabled&&(0===e.textValue.toLowerCase().indexOf(t.toLowerCase())&&n.indexOf(e.textValue)<0))}function rd(e,t,n){switch(n){case 2:return 0;case 3:return t;case 7:return e-1<0?t:e-1;case 4:return e+1>t?0:e+1;default:return e}}function od(e){const t=`hope-menu-${_e()}`,n=bs().Menu,[r,o]=k([]),[i,a]=nn({get triggerId(){var n;return null!=(n=e.id)?n:`${t}-trigger`},get menuContentId(){return`${t}-content`},get labelIdPrefix(){return`${t}-label`},get itemIdPrefix(){return`${t}-item`},get activeDescendantId(){return this.opened?`${this.itemIdPrefix}-${this.activeIndex}`:void 0},get closeOnSelect(){var t,r,o,i;return null==(i=null!=(o=e.closeOnSelect)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.closeOnSelect)||i},get motionPreset(){var t,r,o,i,a;return e.motionPreset?e.motionPreset:(null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?null==(i=null==(o=null==n?void 0:n.defaultProps)?void 0:o.root)?void 0:i.motionPreset:(null==(a=e.placement)?void 0:a.startsWith("top"))?"scale-bottom-left":"scale-top-left"},get items(){return r()},opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let s,l,c;const u=async()=>{var t,r,o,i,a,c,u,d;if(!s||!l)return;const{x:p,y:h}=await oi(s,l,{placement:null!=(i=null!=(o=e.placement)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.placement)?i:"bottom-start",middleware:[wo(null!=(d=null!=(u=e.offset)?u:null==(c=null==(a=null==n?void 0:n.defaultProps)?void 0:a.root)?void 0:c.offset)?d:5),_o(),Ao()]});l&&Object.assign(l.style,{left:`${Math.round(p)}px`,top:`${Math.round(h)}px`})},d=e=>{a("activeIndex",e)},p=e=>i.items[e].disabled,h=e=>{var t;d(e);const n=i.items[e];null==(t=n.onSelect)||t.call(n),n.closeOnSelect?m(!1):f()},f=()=>{null==s||s.focus()},g=e=>{m(!0);const t=(e=>{i.searchTimeoutId&&window.clearTimeout(i.searchTimeoutId);const t=window.setTimeout(()=>{a("searchString","")},500);return a("searchTimeoutId",t),a("searchString",t=>t+e),i.searchString})(e),n=function(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],o=nd(r,t)[0];if(o)return e.indexOf(o);if((i=t.split("")).every(e=>e===i[0])){const n=nd(r,t[0]);return e.indexOf(n[0])}return-1;var i}(i.items,t,i.activeIndex+1);n>=0?d(n):(window.clearTimeout(i.searchTimeoutId),a("searchString",""))},m=(e,t=!0,n=!1)=>{i.opened!==e&&(a("opened",e),a("activeIndex",n?i.items.length-1:0),i.opened?(u(),s&&l&&(c=ri(s,l,u))):null==c||c(),t&&f())},b=()=>i.opened,v={state:i,isItemActiveDescendant:e=>e===i.activeIndex,assignTriggerRef:e=>{s=e},assignContentRef:e=>{l=e},registerItem:e=>{const t=i.items.findIndex(t=>t.key===e.key);return-1!=t?t:o(t=>[...t,e]).length-1},scrollToItem:e=>{l&&Ls(l)&&Ds(e,l)},onTriggerBlur:e=>{Is(s,Ns(e))||(i.ignoreBlur?a("ignoreBlur",!1):i.opened&&m(!1,!1))},onTriggerClick:()=>{m(!i.opened,!1)},onTriggerKeyDown:e=>{const{key:t}=e,n=i.items.length-1,r=function(e,t){const{key:n,altKey:r,ctrlKey:o,metaKey:i}=e;if(!t&&["ArrowDown","Enter"," "].includes(n))return 5;if(!t&&"ArrowUp"===n)return 6;if("Home"===n)return 2;if("End"===n)return 3;if("Backspace"===n||"Clear"===n||1===n.length&&" "!==n&&!r&&!o&&!i)return 9;if(t){if("ArrowDown"===n)return 4;if("ArrowUp"===n)return 7;if("Escape"===n)return 0;if("Enter"===n||" "===n)return 1}}(e,i.opened);switch(r){case td.Last:case td.First:case td.Next:case td.Previous:return e.preventDefault(),d(function(e){const{currentIndex:t,maxIndex:n,initialAction:r,isItemDisabled:o}=e;let i=rd(t,n,r);for(;o(i);){let e=r;const o=i===n;if(2===r&&(e=4),3===r&&(e=7),7===r&&0===i){i=t;break}if(4===r&&o){i=t;break}i=rd(i,n,e)}return i}({currentIndex:i.activeIndex,maxIndex:n,initialAction:r,isItemDisabled:p}));case td.SelectAndClose:return e.preventDefault(),void h(i.activeIndex);case td.Close:return e.preventDefault(),m(!1);case td.Type:return g(t);case td.Open:return e.preventDefault(),m(!0);case td.OpenAndFocusLast:return e.preventDefault(),m(!0,!0,!0)}},onContentMouseLeave:()=>{d(-1)},onContentClickOutside:e=>{Is(s,e)||m(!1,!1)},onItemClick:e=>{i.items[e].disabled?f():h(e)},onItemMouseMove:e=>{i.activeIndex!==e&&d(e)},onItemMouseDown:()=>{a("ignoreBlur",!0)}};return pe(id.Provider,{value:v,get children(){return pe(Te,{get when(){return Rs(e)},get fallback(){return e.children},get children(){var t;return null==(t=e.children)?void 0:t.call(e,{opened:b})}})}})}const id=z();function ad(){const e=U(id);if(!e)throw new Error("[Hope UI]: useMenuContext must be used within a `<Menu />` component");return e}function sd(e){const t=j(()=>e.children);return function(e){const[t,n]=nn({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),r=t=>{Os(t,e.element())&&n("isPointerDown",!0)},o=r=>{t.ignoreEmulatedMouseEvents?n("ignoreEmulatedMouseEvents",!1):t.isPointerDown&&e.handler&&Os(r,e.element())&&(n("isPointerDown",!1),e.handler(r))},i=r=>{n("ignoreEmulatedMouseEvents",!0),e.handler&&t.isPointerDown&&Os(r,e.element())&&(n("isPointerDown",!1),e.handler(r))};L(()=>{const t=xs(e.element());t.addEventListener("mousedown",r,!0),t.addEventListener("mouseup",o,!0),t.addEventListener("touchstart",r,!0),t.addEventListener("touchend",i,!0)}),D(()=>{const t=xs(e.element());t.removeEventListener("mousedown",r,!0),t.removeEventListener("mouseup",o,!0),t.removeEventListener("touchstart",r,!0),t.removeEventListener("touchend",i,!0)})}({element:()=>t(),handler:t=>e.onClickOutside(t)}),t}const ld="hope-menu__content";function cd(e){const t=bs().Menu,n=ad(),[r,o]=ve(e,["ref","class","children"]),[i,a]=k(!1);A(N(()=>n.state.opened,()=>{n.state.opened?a(!0):"none"===n.state.motionPreset&&a(!1)}));const s=()=>a(!1),l=j(()=>r.children),c=e=>{n.assignContentRef(e),mi(r.ref)?r.ref(e):r.ref=e},u=e=>{n.onContentClickOutside(e.target)};return pe(Te,{get when(){return i()},get children(){return pe(lt,{get children(){return pe(Sr,{get name(){return(()=>{switch(n.state.motionPreset){case"scale-top-left":return aa.scaleTopLeft;case"scale-top-right":return aa.scaleTopRight;case"scale-bottom-left":return aa.scaleBottomLeft;case"scale-bottom-right":return aa.scaleBottomRight;case"none":return"hope-none"}})()},appear:!0,onAfterExit:s,get children(){return pe(Te,{get when(){return n.state.opened},get children(){return pe(sd,{onClickOutside:u,get children(){return pe(As,be({role:"menu",tabindex:"-1",ref:c,get id(){return n.state.menuContentId},get"aria-activedescendant"(){return n.state.activeDescendantId},get"aria-labelledby"(){return n.state.triggerId},"aria-orientation":"vertical",get class(){return _s(r.class,ld,ua())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},get onMouseLeave(){return n.onContentMouseLeave}},o,{get children(){return l()}}))}})}})}})}})}})}cd.toString=()=>Es(ld);const ud=z(),dd="hope-menu__group";function pd(e){const t=bs().Menu,[n,r]=k(),[o,i]=ve(e,["class","children"]),a={setAriaLabelledBy:r};return pe(ud.Provider,{value:a,get children(){return pe(As,be({role:"group",get"aria-labelledby"(){return n()},get class(){return _s(o.class,dd,da())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.group}},i,{get children(){return o.children}}))}})}pd.toString=()=>Es(dd);const hd="hope-menu__item",fd="hope-menu__item__icon-wrapper",gd="hope-menu__item__text",md="hope-menu__item__command";function bd(e){const t=_e(),n=bs().Menu,r=ad(),[o,i]=k(-1);let a;const[s,l]=ve(e,["ref","class","children","colorScheme","icon","iconSpacing","command","commandSpacing","textValue","disabled","closeOnSelect","onSelect","onClick"]),c=()=>r.isItemActiveDescendant(o());return L(()=>{var e,n;i(r.registerItem({key:t,textValue:null!=(n=null!=(e=s.textValue)?e:null==a?void 0:a.textContent)?n:"",disabled:!!s.disabled,closeOnSelect:null!=s.closeOnSelect?!!s.closeOnSelect:r.state.closeOnSelect,onSelect:s.onSelect}))}),A(()=>{c()&&a&&r.scrollToItem(a)}),pe(As,be({ref:e=>{a=e,mi(s.ref)?s.ref(e):s.ref=e},role:"menuitem",get id(){return`${r.state.itemIdPrefix}-${o()}`},get"data-active"(){return c()?"":void 0},get"data-disabled"(){return s.disabled?"":void 0},"data-group":!0,get class(){return _s(s.class,hd,fa({colorScheme:s.colorScheme}))},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.item},onClick:e=>{e.stopPropagation(),r.onItemClick(o())},onMouseMove:e=>{if(s.disabled&&r.onItemMouseMove(-1),c()||s.disabled)return e.preventDefault(),void e.stopPropagation();r.onItemMouseMove(o())},get onMouseDown(){return r.onItemMouseDown}},l,{get children(){return[pe(Te,{get when(){return s.icon},get children(){return pe(ws.span,{"aria-hidden":"true",get class(){return _s(fd,ga())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.itemIconWrapper},get mr(){var e;return null!=(e=s.iconSpacing)?e:"0.5rem"},get children(){return s.icon}})}}),pe(Te,{get when(){return s.children},get children(){return pe(ws.span,{get class(){return _s(gd,ma())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.itemText},get children(){return s.children}})}}),pe(Te,{get when(){return s.command},get children(){return pe(ws.span,{get class(){return _s(md,ba())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.itemCommand},get ml(){var e;return null!=(e=s.commandSpacing)?e:"0.5rem"},get children(){return s.command}})}})]}}))}bd.toString=()=>Es(hd);const vd="hope-menu__label";function yd(e){const t=_e(),n=bs().Menu,r=ad(),o=U(ud),[i,a]=ve(e,["class","id"]),s=()=>{var e;return null!=(e=i.id)?e:`${r.state.labelIdPrefix}-${t}`};return L(()=>{null==o||o.setAriaLabelledBy(s())}),pe(As,be({get id(){return s()},get class(){return _s(i.class,vd,pa())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.label}},a))}yd.toString=()=>Es(vd);const Ed="hope-menu__trigger";function _d(e){const t=bs().Menu,n=ad(),[r,o]=ve(e,["ref","class","onClick","onKeyDown","onBlur"]);return pe(ws.button,be({ref:e=>{n.assignTriggerRef(e),mi(r.ref)?r.ref(e):r.ref=e},get id(){return n.state.triggerId},type:"button","aria-haspopup":"menu",get"aria-controls"(){return n.state.menuContentId},get"aria-expanded"(){return n.state.opened},get class(){return _s(r.class,Ed,ca())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.trigger},onClick:e=>{yi(n.onTriggerClick,r.onClick)(e)},onKeyDown:e=>{yi(n.onTriggerKeyDown,r.onKeyDown)(e)},onBlur:e=>{yi(n.onTriggerBlur,r.onBlur)(e)}},o))}_d.toString=()=>Es(Ed);const Sd="hope-notification";function kd(e){const t=bs().Notification,n=be({},e),[r,o]=ve(n,["class","status"]),i={status:()=>r.status};return pe(Td.Provider,{value:i,get children(){return pe(As,be({role:"alert",get class(){return _s(r.class,Sd,Aa({status:r.status}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.root}},o))}})}kd.toString=()=>Es(Sd);const Td=z(),wd="hope-ui:show-notification",Ad="hope-ui:update-notification",Cd="hope-ui:hide-notification",xd="hope-ui:clear-notifications",Od="hope-ui:clear-notifications-queue";function Id(e,t){return new CustomEvent(e,{detail:t})}const Nd={show:function(e){window.dispatchEvent(Id(wd,e))},update:function(e){window.dispatchEvent(Id(Ad,e))},hide:function(e){window.dispatchEvent(Id(Cd,e))},clear:function(){window.dispatchEvent(Id(xd))},clearQueue:function(){window.dispatchEvent(Id(Od))}},Ld="hope-notification__description";function Dd(e){const t=bs().Notification,[n,r]=ve(e,["class"]);return pe(As,be({get class(){return _s(n.class,Ld,Ia())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.description}},r))}Dd.toString=()=>Es(Ld);const Rd="hope-notification__icon";function Md(e){const t=bs().Notification,{status:n}=function(){const e=U(Td);if(!e)throw new Error("[Hope UI]: useNotificationContext must be used within an `<Notification />` component");return e}(),r=be({boxSize:"$7"},e),[o,i]=ve(r,["as","class"]);return pe(Fs,be({get as(){return(()=>{if(o.as)return o.as;switch(n()){case"success":return Js;case"info":return al;case"warning":return rl;case"danger":return tl}})()},get class(){return _s(o.class,Rd,xa({status:n()}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.icon}},i))}Md.toString=()=>Es(Rd);const Pd="hope-notification__title";function Bd(e){const t=bs().Notification,[n,r]=ve(e,["class"]);return pe(As,be({get class(){return _s(n.class,Pd,Oa())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.title}},r))}Bd.toString=()=>Es(Pd);const $d=Fi({display:"flex"}),Fd="hope-stack";function Hd(e){const[t,n]=ve(e,["class","direction","wrap","spacing"]);return pe(As,be({get class(){return _s(t.class,Fd,$d())},get flexDirection(){return t.direction},get flexWrap(){return t.wrap},get gap(){return t.spacing}},n))}function zd(e){const[t,n]=ve(e,["spacing"]);return pe(Hd,be({direction:"row",alignItems:"center",get columnGap(){return t.spacing}},n))}function Ud(e){const[t,n]=ve(e,["spacing"]);return pe(Hd,be({direction:"column",alignItems:"center",get rowGap(){return t.spacing}},n))}Hd.toString=()=>Es(Fd),zd.toString=()=>Es(Fd),Ud.toString=()=>Es(Fd);const jd=z();function Gd(e){const t=function(){const e=U(jd);if(!e)throw new Error("[Hope UI]: useNotificationsProviderContext must be used within a `<NotificationsProvider />` component");return e}(),[n]=ve(e,["render","id","status","title","description","duration","persistent","closable","loading","onMouseEnter","onMouseLeave"]);let r;const o=()=>{r&&window.clearTimeout(r)},i=()=>{o(),t.hideNotification(n.id)},a=()=>{n.persistent||null==n.duration||(r=window.setTimeout(i,n.duration))};return L(()=>{a()}),D(()=>{o()}),pe(Te,{get when(){return n.render},get fallback(){return pe(kd,{get status(){return n.status},get pr(){return n.closable?"$9":"$3"},onMouseEnter:o,onMouseLeave:a,get children(){return[pe(Te,{get when(){return n.status&&!n.loading},get children(){return pe(Md,{mr:"$2_5"})}}),pe(Te,{get when(){return n.loading},get children(){return pe(Dl,{color:"$primary10",boxSize:"$8",mr:"$2_5",get class(){return Ca()}})}}),pe(we,{get children(){return[pe(Ae,{get when(){return n.title&&n.description},get children(){return pe(Ud,{alignItems:"flex-start",spacing:"$1",get children(){return[pe(Bd,{get children(){return n.title}}),pe(Dd,{get children(){return n.description}})]}})}}),pe(Ae,{get when(){return n.title},get children(){return pe(Bd,{get children(){return n.title}})}}),pe(Ae,{get when(){return n.description},get children(){return pe(Dd,{get children(){return n.description}})}})]}}),pe(Te,{get when(){return n.closable},get children(){return pe(Wc,{size:"sm",position:"absolute",top:"$1_5",right:"$1_5",onClick:i})}})]}})},get children(){return pe(ku,{w:"$full",justifyContent:"flex-end",onMouseEnter:o,onMouseLeave:a,get children(){var e;return null==(e=n.render)?void 0:e.call(n,{id:n.id,close:i})}})}})}function Wd(e){const[t]=ve(e,["children","placement","duration","persistent","closable","limit","zIndex"]),n=C(()=>{var e;return function(e){var t,n,r,o;const[i,a]=k(null!=(n=null==(t=e.initialValues)?void 0:t.slice(0,e.limit))?n:[]),[s,l]=k(null!=(o=null==(r=e.initialValues)?void 0:r.slice(e.limit))?o:[]),c=()=>e.limit;return{state:{current:i,queue:s,limit:c},add:(...e)=>{const t=[...i(),...s(),...e];a(t.slice(0,c())),l(t.slice(c()))},update:e=>{const t=e([...i(),...s()]);a(t.slice(0,c())),l(t.slice(c()))},clearQueue:()=>{l([])}}}({initialValues:[],limit:null!=(e=t.limit)?e:10})}),r=()=>{var e;return null!=(e=t.placement)?e:"top-end"},o=e=>{var r,o,i,a,s,l,c;const u=null!=(r=e.id)?r:`hope-notification-${_e()}`,d=null!=(i=null!=(o=e.persistent)?o:t.persistent)&&i,p=null!=(s=null!=(a=e.duration)?a:t.duration)?s:5e3,h=null==(c=null!=(l=e.closable)?l:t.closable)||c;return n().update(t=>{if(e.id&&t.some(t=>t.id===e.id))return t;const n=hi(pi({},e),{id:u,persistent:d,duration:p,closable:h});return[...t,n]}),u},i=(e,t)=>{n().update(n=>{const r=n.findIndex(t=>t.id===e);if(-1===r)return n;const o=[...n];return o[r]=t,o})},a=e=>{n().update(t=>t.filter(t=>{var n;return t.id!==e||(null==(n=t.onClose)||n.call(t,t.id),!1)}))},s=()=>n().update(()=>[]),l=()=>n().clearQueue(),c={notifications:()=>n().state.current(),queue:()=>n().state.queue(),showNotification:o,updateNotification:i,hideNotification:a,clear:s,clearQueue:l},u=e=>o(e.detail),d=e=>i(e.detail.id,e.detail),p=e=>a(e.detail);return L(()=>{window.addEventListener(wd,u),window.addEventListener(Ad,d),window.addEventListener(Cd,p),window.addEventListener(xd,s),window.addEventListener(Od,l)}),D(()=>{window.removeEventListener(wd,u),window.removeEventListener(Ad,d),window.removeEventListener(Cd,p),window.removeEventListener(xd,s),window.removeEventListener(Od,l)}),pe(jd.Provider,{value:c,get children(){return[pe(lt,{get children(){return pe(As,{get class(){return _s("hope-notification__list",wa({placement:r()}))},get zIndex(){return t.zIndex},get children(){return pe(kr,{get name(){return(()=>{switch(r()){case"top-start":case"bottom-start":return Sa;case"top":return ya;case"top-end":case"bottom-end":default:return Ea;case"bottom":return _a}})()},get children(){return pe(ke,{get each(){return c.notifications()},children:e=>pe(Gd,e)})}})}})}}),$e(()=>t.children)]}})}const qd=e=>e.hasAttribute("tabindex");function Vd(e){return!(!e.parentElement||!Vd(e.parentElement))||e.hidden}const Yd=z();function Kd(){const e=U(Yd);if(!e)throw new Error("[Hope UI]: usePopoverContext must be used within a `<Popover />` component");return e}const Xd="hope-popover__arrow";function Qd(e){const t=bs().Popover,n=Kd(),[r,o]=ve(e,["class"]),i=C(()=>n.state.finalPlacement.split("-")[0]);return pe(As,be({ref(e){const t=n.assignArrowRef;"function"==typeof t?t(e):n.assignArrowRef=e},get class(){return _s(r.class,Xd,Pa({popoverPlacement:i()}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.arrow}},o))}Qd.toString=()=>Es(Xd);const Zd="hope-popover__body";function Jd(e){const t=bs().Popover,n=Kd(),[r,o]=ve(e,["class"]);return L(()=>n.setBodyMounted(!0)),D(()=>n.setBodyMounted(!1)),pe(As,be({get class(){return _s(r.class,Zd,Ma())},get id(){return n.state.bodyId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.body}},o))}Jd.toString=()=>Es(Zd);const ep="hope-popover__content";function tp(e){const t=bs().Popover,n=Kd(),[r,o]=k(!1),[i,a]=ve(e,["ref","class","onKeyDown","onFocusOut","onMouseEnter","onMouseLeave"]),s=e=>{n.assignPopoverRef(e),mi(i.ref)?i.ref(e):i.ref=e},l=e=>{n.state.closeOnEsc&&"Escape"===e.key&&n.closeWithDelay()},c=e=>{yi(i.onKeyDown,l)(e)},u=e=>{yi(i.onFocusOut,n.onPopoverFocusOut)(e)},d=e=>{vi(i.onMouseEnter,e),n.setIsHovering(!0)},p=e=>{vi(i.onMouseLeave,e),n.onPopoverMouseLeave()},h=()=>{document.addEventListener("keydown",l),n.afterPopoverOpen()},f=()=>{document.removeEventListener("keydown",l),n.afterPopoverClose(),o(!1)};return A(()=>{n.state.opened?o(!0):"none"===n.state.motionPreset&&o(!1)}),pe(Te,{get when(){return r()},get children(){return pe(lt,{get children(){return pe(Sr,{get name(){return(()=>{switch(n.state.motionPreset){case"scale":return Na.scale;case"none":return"hope-none"}})()},appear:!0,get onBeforeEnter(){return n.updatePopoverPosition},onAfterEnter:h,onAfterExit:f,get children(){return pe(Te,{get when(){return n.state.opened},get children(){return pe(ws.section,be({ref:s,tabIndex:-1,get id(){return n.state.contentId},get role(){return n.state.triggerOnHover?"tooltip":"dialog"},get"aria-labelledby"(){return n.state.headerMounted?n.state.headerId:void 0},get"aria-describedby"(){return n.state.bodyMounted?n.state.bodyId:void 0},get class(){return _s(i.class,ep,Da())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content},onKeyDown:c,onFocusOut:u,get onMouseEnter(){return n.state.triggerOnHover?d:void 0},get onMouseLeave(){return n.state.triggerOnHover?p:void 0}},a))}})}})}})}})}tp.toString=()=>Es(ep);const np="hope-popover__header";function rp(e){const t=bs().Popover,n=Kd(),[r,o]=ve(e,["class"]);return L(()=>n.setHeaderMounted(!0)),D(()=>n.setHeaderMounted(!1)),pe(As,be({get class(){return _s(r.class,np,Ra())},get id(){return n.state.headerId},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.header}},o))}rp.toString=()=>Es(np);const op=Gi({"0%":{left:"-40%"},"100%":{left:"100%"}}),ip=Gi({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}}),ap=Fi({position:"relative",overflow:"hidden",variants:{size:{xs:{height:"$1",fontSize:"4px"},sm:{height:"$2",fontSize:"6px"},md:{height:"$3",fontSize:"8px"},lg:{height:"$4",fontSize:"10px"}}}}),sp=Fi({position:"relative",height:"100%",transition:"width 600ms ease",variants:{striped:{true:{}},animated:{true:{}},indeterminate:{true:{position:"absolute",willChange:"left",minWidth:"50%",animation:`${op} 1200ms ease infinite normal none running`}}},compoundVariants:[{indeterminate:!1,striped:!0,css:{backgroundImage:"linear-gradient(45deg, $colors$progressStripe 25%, transparent 25%, transparent 50%, $colors$progressStripe 50%, $colors$progressStripe 75%, transparent 75%, transparent)",backgroundSize:"1rem 1rem"}},{indeterminate:!1,striped:!0,animated:!0,css:{animation:`${ip} 750ms linear infinite`}}]}),lp=Fi({position:"absolute",top:"50%",left:"50%",width:"100%",color:"$neutral12",lineHeight:"$none",fontWeight:"$bold",textAlign:"center",transform:"translate(-50%, -50%)"}),cp=z(),up="hope-progress";function dp(e){var t,n,r,o,i,a;const s=bs().Progress,[l]=nn({get min(){var t;return null!=(t=e.min)?t:0},get max(){var t;return null!=(t=e.max)?t:100},get value(){var t;return null!=(t=e.value)?t:0},get percent(){return e=this.value,t=this.min,n=this.max,100*(e-t)/(n-t);var e,t,n},get indeterminate(){var t;return null!=(t=e.indeterminate)&&t},get ariaValueText(){var t;if(!this.indeterminate)return mi(this.getValueText)?this.getValueText(this.value,this.percent):null!=(t=e.valueText)?t:`${this.percent}%`},get getValueText(){return e.getValueText}}),c=be({size:null!=(r=null==(n=null==(t=null==s?void 0:s.defaultProps)?void 0:t.root)?void 0:n.size)?r:"md",trackColor:null!=(a=null==(i=null==(o=null==s?void 0:s.defaultProps)?void 0:o.root)?void 0:i.trackColor)?a:"$neutral4"},e),[u,d,p]=ve(c,["class","size","trackColor"],["min","max","value","indeterminate","valueText","getValueText"]),h={state:l};return pe(cp.Provider,{value:h,get children(){return pe(As,be({role:"progressbar",get"data-indeterminate"(){return l.indeterminate?"":void 0},get"aria-valuemin"(){return l.min},get"aria-valuemax"(){return l.max},get"aria-valuenow"(){return l.indeterminate?void 0:l.value},get"aria-valuetext"(){return l.ariaValueText},get class(){return _s(u.class,up,ap({size:u.size}))},get __baseStyle(){var e;return null==(e=null==s?void 0:s.baseStyle)?void 0:e.root},get backgroundColor(){return u.trackColor}},p))}})}function pp(){const e=U(cp);if(!e)throw new Error("[Hope UI]: useProgressContext must be used within a `<Progress />` component");return e}dp.toString=()=>Es(up);const hp="hope-progress__indicator";function fp(e){const t=bs().Progress,n=pp(),r=be({color:"$primary9"},e),[o,i]=ve(r,["class","color","striped","animated"]);return pe(As,be({get class(){return _s(o.class,hp,sp({striped:o.striped,animated:o.animated,indeterminate:!0===n.state.indeterminate,css:hi(pi({},n.state.indeterminate?{backgroundImage:`linear-gradient(to right, transparent 0%, ${o.color} 50%, transparent 100%)`}:{backgroundColor:o.color}),{width:`${n.state.percent}%`})}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.indicator}},i))}fp.toString=()=>Es(hp);const gp="hope-progress__label";function mp(e){const t=bs().Progress,n=pp(),[r,o]=ve(e,["class","children"]);return pe(As,be({get class(){return _s(r.class,gp,lp())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.label}},o,{get children(){return pe(Te,{get when(){return r.children},get fallback(){return n.state.ariaValueText},get children(){return r.children}})}}))}mp.toString=()=>Es(gp);const bp=Fi(dc,{variants:{labelPlacement:{start:{flexDirection:"row-reverse"},end:{flexDirection:"row"}}}}),vp=Fi(pc),yp=Fi(hc,{borderRadius:"$full","&[data-checked]::before":{content:"",display:"inline-block",position:"relative",boxSize:"calc(50% + 1px)",borderRadius:"$full",backgroundColor:"$loContrast"}}),Ep="hope-radio-group";function _p(e){const t=`hope-radio-group-${_e()}--radio`,n=bs().Radio,[r,o]=nn({_value:e.defaultValue,get isControlled(){return void 0!==e.value},get value(){return this.isControlled?e.value:this._value},get name(){var n;return null!=(n=e.name)?n:t},get required(){return e.required},get disabled(){return e.disabled},get invalid(){return e.invalid},get readOnly(){return e.readOnly},get variant(){var t,r,o;return null!=(o=e.variant)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.group)?void 0:r.variant},get colorScheme(){var t,r,o;return null!=(o=e.colorScheme)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.group)?void 0:r.colorScheme},get size(){var t,r,o;return null!=(o=e.size)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.group)?void 0:r.size}}),[i,a,s]=ve(e,["class","onChange"],["value","defaultValue","name","required","disabled","readOnly","invalid"]),l={state:r,onChange:e=>{var t;const n=e.target.value;o("_value",n),null==(t=i.onChange)||t.call(i,String(n))}};return pe(Sp.Provider,{value:l,get children(){return pe(As,be({role:"radiogroup",get class(){return _s(i.class,Ep)},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.group}},s))}})}_p.toString=()=>Es(Ep);const Sp=z(),kp=He('<input type="radio">',1),Tp="hope-radio",wp="hope-radio__input",Ap="hope-radio__control",Cp="hope-radio__label";function xp(e){const t=`hope-radio-${_e()}`,n=bs().Radio,r=Ac(),o=U(Sp),i=Cc(e),[a,s]=nn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return void 0!==e.checked},get checked(){if(o){const t=o.state.value;return null!=t&&String(e.value)===String(t)}return this.isControlled?!!e.checked:this._checked},get variant(){var t,r,i,a,s,l;return null!=(l=null!=(s=null!=(r=e.variant)?r:null==(t=null==o?void 0:o.state)?void 0:t.variant)?s:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.variant)?l:"outline"},get colorScheme(){var t,r,i,a,s,l;return null!=(l=null!=(s=null!=(r=e.colorScheme)?r:null==(t=null==o?void 0:o.state)?void 0:t.colorScheme)?s:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.colorScheme)?l:"primary"},get size(){var t,r,i,a,s,l;return null!=(l=null!=(s=null!=(r=e.size)?r:null==(t=null==o?void 0:o.state)?void 0:t.size)?s:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.size)?l:"md"},get labelPlacement(){var t,r,i,a,s,l;return null!=(l=null!=(s=null!=(r=e.labelPlacement)?r:null==(t=null==o?void 0:o.state)?void 0:t.labelPlacement)?s:null==(a=null==(i=null==n?void 0:n.defaultProps)?void 0:i.root)?void 0:a.labelPlacement)?l:"end"},get id(){var n;return r&&!o?i.id:null!=(n=e.id)?n:t},get name(){var t;return null!=(t=e.name)?t:null==o?void 0:o.state.name},get value(){return e.value},get required(){var e;return null!=(e=i.required)?e:null==o?void 0:o.state.required},get disabled(){var e;return null!=(e=i.disabled)?e:null==o?void 0:o.state.disabled},get invalid(){var e;return null!=(e=i.invalid)?e:null==o?void 0:o.state.invalid},get readOnly(){var e;return null!=(e=i.readOnly)?e:null==o?void 0:o.state.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||void 0},get"aria-label"(){return e["aria-label"]},get"aria-labelledby"(){return e["aria-labelledby"]},get"aria-describedby"(){return e["aria-describedby"]},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[l,c,u]=ve(e,["class","children","ref","tabIndex","onChange"],["variant","colorScheme","size","labelPlacement","id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),d=e=>{if(a.readOnly||a.disabled)e.preventDefault();else{if(!a.isControlled){const t=e.target;s("_checked",t.checked)}yi(null==o?void 0:o.onChange,l.onChange)(e)}},p=e=>{s("isFocused",!0),vi(i.onFocus,e)},h=e=>{s("isFocused",!1),vi(i.onBlur,e)},f={state:a,onChange:d,onFocus:p,onBlur:h};return pe(Op.Provider,{value:f,get children(){return pe(ws.label,be({get class(){return _s(l.class,Tp,bp({size:a.size,labelPlacement:a.labelPlacement}))},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.root},get for(){return a.id},"data-group":!0,get"data-focus"(){return a["data-focus"]},get"data-checked"(){return a["data-checked"]},get"data-required"(){return a["data-required"]},get"data-disabled"(){return a["data-disabled"]},get"data-invalid"(){return a["data-invalid"]},get"data-readonly"(){return a["data-readonly"]}},u,{get children(){return[(()=>{const e=kp.cloneNode(!0);e.addEventListener("blur",h),e.addEventListener("focus",p),e.addEventListener("change",d);const t=l.ref;return"function"==typeof t?t(e):l.ref=e,w(t=>{const n=_s(wp,fs()),r=l.tabIndex,o=a.value,i=a.id,s=a.name,c=a.checked,u=a.required,d=a.disabled,p=a.readOnly,h=a["aria-required"],f=a["aria-disabled"],g=a["aria-invalid"],m=a["aria-readonly"],b=a["aria-label"],v=a["aria-labelledby"],y=a["aria-describedby"];return n!==t._v$&&(e.className=t._v$=n),r!==t._v$2&&Ue(e,"tabindex",t._v$2=r),o!==t._v$3&&(e.value=t._v$3=o),i!==t._v$4&&Ue(e,"id",t._v$4=i),s!==t._v$5&&Ue(e,"name",t._v$5=s),c!==t._v$6&&(e.checked=t._v$6=c),u!==t._v$7&&(e.required=t._v$7=u),d!==t._v$8&&(e.disabled=t._v$8=d),p!==t._v$9&&(e.readOnly=t._v$9=p),h!==t._v$10&&Ue(e,"aria-required",t._v$10=h),f!==t._v$11&&Ue(e,"aria-disabled",t._v$11=f),g!==t._v$12&&Ue(e,"aria-invalid",t._v$12=g),m!==t._v$13&&Ue(e,"aria-readonly",t._v$13=m),b!==t._v$14&&Ue(e,"aria-label",t._v$14=b),v!==t._v$15&&Ue(e,"aria-labelledby",t._v$15=v),y!==t._v$16&&Ue(e,"aria-describedby",t._v$16=y),t},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),e})(),pe(ws.span,be({"aria-hidden":!0,get class(){return _s(Ap,yp({variant:a.variant,colorScheme:a.colorScheme,size:a.size}))},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.control},get"data-focus"(){return a["data-focus"]},get"data-checked"(){return a["data-checked"]},get"data-required"(){return a["data-required"]},get"data-disabled"(){return a["data-disabled"]},get"data-invalid"(){return a["data-invalid"]},get"data-readonly"(){return a["data-readonly"]}},u)),pe(ws.span,{get class(){return _s(Cp,vp())},get __baseStyle(){var e;return null==(e=null==n?void 0:n.baseStyle)?void 0:e.label},get"data-focus"(){return a["data-focus"]},get"data-checked"(){return a["data-checked"]},get"data-required"(){return a["data-required"]},get"data-disabled"(){return a["data-disabled"]},get"data-invalid"(){return a["data-invalid"]},get"data-readonly"(){return a["data-readonly"]},get children(){return pe(Te,{get when(){return Rs(l)},get fallback(){return l.children},get children(){var e;return null==(e=l.children)?void 0:e.call(l,{checked:a.checked})}})}})]}}))}})}xp.toString=()=>Es(Tp);const Op=z();var Ip=(e=>(e[e.Close=0]="Close",e[e.SelectAndClose=1]="SelectAndClose",e[e.First=2]="First",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Open=5]="Open",e[e.Previous=6]="Previous",e[e.Select=7]="Select",e[e.Type=8]="Type",e))(Ip||{});function Np(e=[],t,n=[]){return e.filter(e=>!e.disabled&&(0===e.textValue.toLowerCase().indexOf(t.toLowerCase())&&n.indexOf(e.textValue)<0))}function Lp(e,t,n){switch(n){case 2:return 0;case 3:return t;case 6:return Math.max(0,e-1);case 4:return Math.min(t,e+1);default:return e}}function Dp(e,t){return String(e.value)===String(t.value)}function Rp(e){const t=`hope-select-${_e()}`,n=bs().Select,r=Cc(e),[o,i]=k(!1),[a,s]=k([]),[l,c]=nn({get isControlled(){return void 0!==e.value},get value(){var t;return this.isControlled?e.value:this.multiple?this.selectedOptions.map(e=>e.value):null!=(t=this.selectedOptions[0].value)?t:void 0},get multiple(){return e.multiple},get baseId(){var n,o;return null!=(o=null!=(n=e.id)?n:r.id)?o:t},get triggerId(){return`${this.baseId}-trigger`},get listboxId(){return`${this.baseId}-listbox`},get labelIdPrefix(){return`${this.baseId}-label`},get optionIdPrefix(){return`${this.baseId}-option`},get disabled(){var t;return null!=(t=e.disabled)?t:r.disabled},get invalid(){var t;return null!=(t=e.invalid)?t:r.invalid},get variant(){var t,r,o,i;return null!=(i=null!=(o=e.variant)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.variant)?i:"outline"},get size(){var t,r,o,i;return null!=(i=null!=(o=e.size)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.size)?i:"md"},get motionPreset(){var t,r,o,i;return null!=(i=null!=(o=e.motionPreset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.motionPreset)?i:"fade-in-top"},get activeDescendantId(){return this.opened?`${this.optionIdPrefix}-${this.activeIndex}`:void 0},get hasSelectedOptions(){return this.selectedOptions.length>0},get options(){return a()},selectedOptions:[],opened:!1,activeIndex:0,ignoreBlur:!1,searchString:"",searchTimeoutId:void 0});let u,d,p,h;const f=async()=>{var t,r,o,i;if(!u||!d)return;const{x:a,y:s}=await oi(u,d,{placement:"bottom",middleware:[wo(null!=(i=null!=(o=e.offset)?o:null==(r=null==(t=null==n?void 0:n.defaultProps)?void 0:t.root)?void 0:r.offset)?i:5),_o(),Ao(),Co({apply({reference:e}){d&&Object.assign(d.style,{width:`${e.width}px`})}})]});d&&Object.assign(d.style,{left:`${Math.round(a)}px`,top:`${Math.round(s)}px`})},g=()=>{null==u||u.focus()},m=()=>{if(o())return;const t=(l.isControlled?null==e.value?[]:fi(e.value)?e.value:[e.value]:null==e.defaultValue?[]:fi(e.defaultValue)?e.defaultValue:[e.defaultValue]).map(e=>l.options.find(t=>t.value===e)).filter(Boolean);c("selectedOptions",e=>[...e,...t]),i(!0)},b=e=>{c("activeIndex",e)},v=e=>!(l.selectedOptions.length<=0)&&(l.multiple?!!l.selectedOptions.find(t=>Dp(e,t)):Dp(e,l.selectedOptions[0])),y=e=>{c("selectedOptions",t=>t.filter(t=>!Dp(e,t)))},E=()=>{var e;return l.multiple?l.selectedOptions.map(e=>e.value):null!=(e=l.selectedOptions[0].value)?e:void 0},_=t=>{var n;b(t),(e=>{const t=l.options[e];l.multiple?v(t)?y(t):c("selectedOptions",e=>[...e,t]):c("selectedOptions",[t])})(t),null==(n=e.onChange)||n.call(e,E())},S=t=>{var n;y(t),null==(n=e.onChange)||n.call(e,E()),g()},T=e=>l.options[e].disabled,w=e=>{if(r.readOnly)return;C(!0);const t=(e=>{l.searchTimeoutId&&window.clearTimeout(l.searchTimeoutId);const t=window.setTimeout(()=>{c("searchString","")},500);return c("searchTimeoutId",t),c("searchString",t=>t+e),l.searchString})(e),n=function(e,t,n=0){const r=[...e.slice(n),...e.slice(0,n)],o=Np(r,t)[0];if(o)return e.indexOf(o);if((i=t.split("")).every(e=>e===i[0])){const n=Np(r,t[0]);return e.indexOf(n[0])}return-1;var i}(l.options,t,l.activeIndex+1);n>=0?b(n):(window.clearTimeout(l.searchTimeoutId),c("searchString",""))},C=(e,t=!0)=>{l.opened!==e&&(c("opened",e),l.selectedOptions.length>0?c("activeIndex",l.options.findIndex(e=>v(e))):c("activeIndex",0),l.opened?(f(),u&&d&&(h=ri(u,d,f))):null==h||h(),t&&g())},x=e=>{p&&Ls(p)&&Ds(e,p)};A(N(()=>l.options,()=>m(),{defer:!0})),A(N(()=>e.value,()=>{if(!l.isControlled)return;const t=(fi(e.value)?e.value:[e.value]).map(e=>l.options.find(t=>t.value===e)).filter(Boolean);c("selectedOptions",t)},{defer:!0})),A(N(()=>l.opened,e=>{e&&setTimeout(()=>{const e=null==p?void 0:p.querySelector("[role='option'][aria-selected='true']");e&&x(e)},0)}));const O={state:l,isOptionSelected:v,unselectOption:S,isOptionActiveDescendant:e=>e===l.activeIndex,formControlProps:r,assignTriggerRef:e=>{u=e},assignContentRef:e=>{d=e},assignListboxRef:e=>{p=e},registerOption:e=>{const t=l.options.findIndex(t=>Dp(t,e));return-1!=t?t:s(t=>[...t,e]).length-1},scrollToOption:x,onContentClickOutside:e=>{Is(u,e)||C(!1,!1)},onTriggerBlur:e=>{Is(u,Ns(e))||(l.ignoreBlur?c("ignoreBlur",!1):l.opened&&C(!1,!1))},onTriggerClick:()=>{r.readOnly||C(!l.opened,!1)},onTriggerKeyDown:e=>{if(r.readOnly)return;const{key:t}=e;if(l.hasSelectedOptions&&l.multiple&&"Backspace"===t)return void S(l.selectedOptions[l.selectedOptions.length-1]);const n=l.options.length-1,o=function(e,t){const{key:n,altKey:r,ctrlKey:o,metaKey:i}=e;if(!t&&["ArrowDown","ArrowUp","Enter"," "].includes(n))return 5;if("Home"===n||"PageUp"===n)return 2;if("End"===n||"PageDown"===n)return 3;if("Backspace"===n||"Clear"===n||1===n.length&&" "!==n&&!r&&!o&&!i)return 8;if(t){if("ArrowUp"===n&&r)return 1;if("ArrowDown"===n&&!r)return 4;if("ArrowUp"===n)return 6;if("Escape"===n)return 0;if("Enter"===n||" "===n)return 1}}(e,l.opened);switch(o){case Ip.Last:case Ip.First:C(!0);case Ip.Next:case Ip.Previous:return e.preventDefault(),b(function(e){const{currentIndex:t,maxIndex:n,initialAction:r,isOptionDisabled:o}=e;let i=Lp(t,n,r);for(;o(i);){let e=r;const o=i===n;if(2===r&&(e=4),3===r&&(e=6),6===r&&0===i){i=t;break}if(4===r&&o){i=t;break}i=Lp(i,n,e)}return i}({currentIndex:l.activeIndex,maxIndex:n,initialAction:o,isOptionDisabled:T}));case Ip.SelectAndClose:return e.preventDefault(),_(l.activeIndex),l.multiple?void 0:C(!1);case Ip.Close:return e.preventDefault(),C(!1);case Ip.Type:return w(t);case Ip.Open:return e.preventDefault(),C(!0)}},onOptionClick:e=>{l.options[e].disabled?g():(_(e),l.multiple?g():C(!1))},onOptionMouseMove:e=>{l.activeIndex!==e&&b(e)},onOptionMouseDown:()=>{c("ignoreBlur",!0)},onListboxMouseLeave:()=>{b(-1)}};return pe(Mp.Provider,{value:O,get children(){return e.children}})}const Mp=z();function Pp(){const e=U(Mp);if(!e)throw new Error("[Hope UI]: useSelectContext must be used within a `<Select />` component");return e}const Bp="hope-select__content";function $p(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["ref","class","children"]),[i,a]=k(!1);A(N(()=>n.state.opened,()=>{n.state.opened?a(!0):"none"===n.state.motionPreset&&a(!1)}));const s=()=>a(!1),l=j(()=>r.children),c=e=>{n.assignContentRef(e),mi(r.ref)?r.ref(e):r.ref=e},u=e=>{n.onContentClickOutside(e.target)};return pe(Te,{get when(){return i()},get children(){return pe(lt,{get children(){return pe(Sr,{get name(){return(()=>{switch(n.state.motionPreset){case"fade-in-top":return Ga.fadeInTop;case"none":return"hope-none"}})()},appear:!0,onAfterExit:s,get children(){return pe(Te,{get when(){return n.state.opened},get children(){return pe(sd,{onClickOutside:u,get children(){return pe(As,be({ref:c,get class(){return _s(r.class,Bp,es())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.content}},o,{get children(){return l()}}))}})}})}})}})}})}$p.toString=()=>Es(Bp);const Fp=He('<svg><path d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>',4,!0),Hp=Hs({viewBox:"0 0 15 15",path:()=>Fp.cloneNode(!0)}),zp="hope-select__icon";function Up(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["class","rotateOnOpen"]);return pe(Hp,be({"aria-hidden":!0,get class(){return _s(r.class,zp,Ja(r.rotateOnOpen?{opened:n.state.opened}:void 0))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.icon}},o))}Up.toString=()=>Es(zp);const jp="hope-select__listbox";function Gp(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["ref","class"]);return pe(As,be({ref:e=>{n.assignListboxRef(e),mi(r.ref)?r.ref(e):r.ref=e},role:"listbox",tabindex:"-1",get id(){return n.state.listboxId},get class(){return _s(r.class,jp,ts())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.listbox},get onMouseLeave(){return n.onListboxMouseLeave},onMouseDown:e=>{e.preventDefault()}},o))}Gp.toString=()=>Es(jp);const Wp=z(),qp="hope-select__option";function Vp(e){const t=bs().Select,n=Pp(),[r,o]=k(-1);let i;const[a,s]=ve(e,["ref","class","value","textValue","disabled"]),l=()=>{var e,t;return{value:a.value,textValue:null!=(t=null!=(e=a.textValue)?e:null==i?void 0:i.textContent)?t:String(a.value),disabled:!!a.disabled}},c=()=>n.isOptionSelected(l()),u=()=>n.isOptionActiveDescendant(r()),d=e=>{i=e,mi(a.ref)?a.ref(e):a.ref=e},p=e=>{e.stopPropagation(),n.onOptionClick(r())},h=e=>{if(a.disabled&&n.onOptionMouseMove(-1),u()||a.disabled)return e.preventDefault(),void e.stopPropagation();n.onOptionMouseMove(r())},f={selected:c};return L(()=>{o(n.registerOption(l()))}),A(()=>{u()&&i&&n.scrollToOption(i)}),pe(Wp.Provider,{value:f,get children(){return pe(As,be({ref:d,role:"option",get id(){return`${n.state.optionIdPrefix}-${r()}`},get"aria-selected"(){return c()},get"data-active"(){return u()?"":void 0},get"data-disabled"(){return a.disabled?"":void 0},"data-group":!0,get class(){return _s(a.class,qp,ns())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.option},onClick:p,onMouseMove:h,get onMouseDown(){return n.onOptionMouseDown}},s))}})}Vp.toString=()=>Es(qp);const Yp=He('<svg><g fill="none"><path d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></g></svg>',6,!0),Kp=Hs({viewBox:"0 0 15 15",path:()=>Yp.cloneNode(!0)}),Xp="hope-select__option-indicator";function Qp(e){const t=bs().Select,n=function(){const e=U(Wp);if(!e)throw new Error("[Hope UI]: useSelectOptionContext must be used within a `<Select.Option />` component");return e}(),[r,o]=ve(e,["class","children"]);return pe(Te,{get when(){return n.selected()},get children(){return pe(ws.span,be({get class(){return _s(r.class,Xp,os())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.optionIndicator}},o,{get children(){return pe(Te,{get when(){return r.children},get fallback(){return pe(Kp,{"aria-hidden":"true",boxSize:"$5"})},get children(){return r.children}})}}))}})}Qp.toString=()=>Es(Xp);const Zp="hope-select__option-text";function Jp(e){const t=bs().Select,[n,r]=ve(e,["class"]);return pe(ws.span,be({get class(){return _s(n.class,Zp,rs())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.optionText}},r))}Jp.toString=()=>Es(Zp);const eh="hope-select__placeholder";function th(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["class"]);return pe(Te,{get when(){return!n.state.hasSelectedOptions},get children(){return pe(ws.span,be({get class(){return _s(r.class,eh,Za())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.placeholder}},o))}})}th.toString=()=>Es(eh);const nh="hope-select__tag";function rh(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["class","size","variant"]);return pe(ws.span,be({get class(){return _s(r.class,nh,Xa({size:null!=(t=null!=(e=r.size)?e:n.state.size)?t:"md",variant:(null!=(o=r.variant)?o:"filled"===n.state.variant)?"outline":"subtle"}));var e,t,o},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tag}},o))}rh.toString=()=>Es(nh);const oh=He('<svg><g fill="none"><path d="M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></g></svg>',6,!0),ih=Hs({viewBox:"0 0 15 15",path:()=>oh.cloneNode(!0)}),ah="hope-select__tag-close-button";function sh(e){const t=bs().Select,[n,r]=ve(e,["class","children"]);return pe(ws.button,be({role:"button",type:"button","aria-label":"Delete",tabIndex:"-1",get class(){return _s(n.class,ah,Qa())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tagCloseButton}},r,{get children(){return pe(Te,{get when(){return n.children},get fallback(){return pe(ih,{})},get children(){return n.children}})}}))}sh.toString=()=>Es(ah);const lh="hope-select__trigger";function ch(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["ref","class","onClick","onKeyDown","onFocus","onBlur"]);return pe(ws.button,be({ref:e=>{n.assignTriggerRef(e),mi(r.ref)?r.ref(e):r.ref=e},get id(){return n.state.triggerId},get disabled(){return n.state.disabled},role:"combobox",type:"button",tabindex:"0","aria-haspopup":"listbox",get"aria-activedescendant"(){return n.state.activeDescendantId},get"aria-controls"(){return n.state.listboxId},get"aria-expanded"(){return n.state.opened},get"aria-required"(){return n.formControlProps["aria-required"]},get"aria-invalid"(){return n.formControlProps["aria-invalid"]},get"aria-readonly"(){return n.formControlProps["aria-readonly"]},get"aria-describedby"(){return n.formControlProps["aria-describedby"]},get class(){return _s(r.class,lh,Va({variant:n.state.variant,size:n.state.size}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.trigger},onClick:e=>{yi(n.onTriggerClick,r.onClick)(e)},onKeyDown:e=>{yi(n.onTriggerKeyDown,r.onKeyDown)(e)},onFocus:e=>{yi(n.formControlProps.onFocus,r.onFocus)(e)},onBlur:e=>{yi(n.onTriggerBlur,n.formControlProps.onBlur,r.onBlur)(e)}},o))}ch.toString=()=>Es(lh);const uh=He("<span></span>",2),dh="hope-select__value";function ph(e){const t=bs().Select,n=Pp(),[r,o]=ve(e,["class","children"]),i=j(()=>{var e;return Rs(r)?null==(e=r.children)?void 0:e.call(r,{selectedOptions:n.state.selectedOptions}):r.children});return pe(Te,{get when(){return n.state.hasSelectedOptions},get children(){return pe(Te,{get when(){return!i()},get fallback(){return i()},get children(){return pe(Te,{get when(){return n.state.multiple},get fallback(){return pe(As,be({get class(){return _s(r.class,dh,Ya())},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.singleValue}},o,{get children(){return n.state.selectedOptions[0].textValue}}))},get children(){return pe(As,be({get class(){return _s(r.class,dh,Ka({size:n.state.size}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.multiValue}},o,{get children(){return pe(ke,{get each(){return n.state.selectedOptions},children:e=>pe(rh,{get children(){return[(()=>{const t=uh.cloneNode(!0);return Ke(t,()=>e.textValue),t})(),pe(sh,{onClick:t=>((e,t)=>{e.preventDefault(),e.stopPropagation(),n.unselectOption(t)})(t,e)})]}})})}}))}})}})}})}ph.toString=()=>Es(dh),Fi({$$startColor:"$colors$neutral2",$$endColor:"$colors$neutral8",opacity:"0.7",borderRadius:"2px",borderColor:"$$startColor",boxShadow:"$none",background:"$$endColor",backgroundClip:"padding-box",color:"transparent",cursor:"default",pointerEvents:"none",userSelect:"none",animationTimingFunction:"linear",animationIterationCount:"infinite",animationDirection:"alternate",animationName:`${Gi({from:{borderColor:"$$startColor",background:"$$startColor"},to:{borderColor:"$$endColor",background:"$$endColor"}})()}`,"&::before, &::after, *":{visibility:"hidden"}});const hh=Fi({flex:1,justifySelf:"stretch",alignSelf:"stretch"}),fh="hope-spacer";function gh(e){const[t,n]=ve(e,["class"]);return pe(As,be({get class(){return _s(t.class,fh,hh())}},n))}gh.toString=()=>Es(fh);const mh=Fi({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"$full",borderWidth:"2px",borderBottomColor:"transparent",borderLeftColor:"transparent",animationName:`${va}`,animationDuration:"0.45s",animationTimingFunction:"linear",animationIterationCount:"infinite",variants:{size:{xs:{boxSize:"0.75rem"},sm:{boxSize:"1rem"},md:{boxSize:"1.5rem"},lg:{boxSize:"2rem"},xl:{boxSize:"3rem"}}}}),bh=He("<span></span>",2),vh="hope-spinner";function yh(e){var t,n,r,o,i,a,s,l;const c=bs().Spinner,u=be({label:null!=(n=null==(t=null==c?void 0:c.defaultProps)?void 0:t.label)?n:"Loading...",size:null!=(o=null==(r=null==c?void 0:c.defaultProps)?void 0:r.size)?o:"md",emptyColor:null==(i=null==c?void 0:c.defaultProps)?void 0:i.emptyColor,color:null==(a=null==c?void 0:c.defaultProps)?void 0:a.color,thickness:null==(s=null==c?void 0:c.defaultProps)?void 0:s.thickness,speed:null==(l=null==c?void 0:c.defaultProps)?void 0:l.speed},e),[d,p]=ve(u,["class","children","label","size","emptyColor","color","thickness","speed"]);return pe(As,be({get class(){return _s(d.class,vh,mh({size:d.size,css:{color:d.color,borderWidth:d.thickness,borderBottomColor:d.emptyColor,borderLeftColor:d.emptyColor,animationDuration:d.speed}}))}},p,{get children(){return pe(Te,{get when(){return d.label},get children(){const e=bh.cloneNode(!0);return Ke(e,()=>d.label),w(()=>e.className=fs()),e}})}}))}yh.toString=()=>Es(vh);const Eh=Fi(dc,{variants:{labelPlacement:{start:{flexDirection:"row"},end:{flexDirection:"row-reverse"}}}}),_h=Fi(pc),Sh=Fi(hc,{borderRadius:"$full",transition:"background-color 250ms, border-color 250ms, box-shadow 250ms","&::before":{content:"''",position:"absolute",top:"2px",left:"2px",zIndex:"1",borderRadius:"$full",boxShadow:"$sm",transition:"250ms"},variants:{variant:{outline:{"&::before":{backgroundColor:"$neutral7"},"&[data-checked]::before":{backgroundColor:"$loContrast"}},filled:{"&::before":{backgroundColor:"$loContrast"}}},size:{sm:{height:"16px",width:"26px","&::before":{boxSize:"10px"},"&[data-checked]::before":{transform:"translateX(10px)"}},md:{columnGap:"2px",height:"20px",width:"34px","&::before":{boxSize:"14px"},"&[data-checked]::before":{transform:"translateX(14px)"}},lg:{columnGap:"4px",height:"28px",width:"50px","&::before":{boxSize:"22px"},"&[data-checked]::before":{transform:"translateX(22px)"}}}}}),kh=He('<input type="checkbox" role="switch">',1);function Th(e){const t=`hope-switch-${_e()}`,n=Cc(e),[r,o]=nn({_checked:!!e.defaultChecked,isFocused:!1,get isControlled(){return void 0!==e.checked},get checked(){return this.isControlled?!!e.checked:this._checked},get id(){var e;return null!=(e=n.id)?e:t},get name(){return e.name},get value(){return e.value},get required(){return n.required},get disabled(){return n.disabled},get invalid(){return n.invalid},get readOnly(){return n.readOnly},get"aria-required"(){return!!this.required||void 0},get"aria-disabled"(){return!!this.disabled||void 0},get"aria-invalid"(){return!!this.invalid||void 0},get"aria-readonly"(){return!!this.readOnly||void 0},get"data-focus"(){return this.isFocused?"":void 0},get"data-checked"(){return this.checked?"":void 0},get"data-required"(){return this.required?"":void 0},get"data-disabled"(){return this.disabled?"":void 0},get"data-invalid"(){return this.invalid?"":void 0},get"data-readonly"(){return this.readOnly?"":void 0}}),[i,a,s]=ve(e,["inputClass","children","ref","tabIndex","aria-label","aria-labelledby","aria-describedby","onChange"],["id","name","value","checked","defaultChecked","required","disabled","invalid","readOnly","onFocus","onBlur"]),l=e=>{if(r.readOnly||r.disabled)e.preventDefault();else{if(!r.isControlled){const t=e.target;o("_checked",t.checked)}vi(i.onChange,e)}},c=e=>{o("isFocused",!0),vi(n.onFocus,e)},u=e=>{o("isFocused",!1),vi(n.onBlur,e)},d=()=>r,p={state:r};return pe(wh.Provider,{value:p,get children(){return pe(ws.label,be({get for(){return r.id},"data-group":!0,get"data-focus"(){return r["data-focus"]},get"data-checked"(){return r["data-checked"]},get"data-required"(){return r["data-required"]},get"data-disabled"(){return r["data-disabled"]},get"data-invalid"(){return r["data-invalid"]},get"data-readonly"(){return r["data-readonly"]}},s,{get children(){return[(()=>{const e=kh.cloneNode(!0);e.addEventListener("blur",u),e.addEventListener("focus",c),e.addEventListener("change",l);const t=i.ref;return"function"==typeof t?t(e):i.ref=e,w(t=>{const n=_s(i.inputClass,fs()),o=i.tabIndex,a=r.value,s=r.id,l=r.name,c=r.checked,u=r.required,d=r.disabled,p=r.readOnly,h=r["aria-required"],f=r["aria-disabled"],g=r["aria-invalid"],m=r["aria-readonly"],b=i["aria-label"],v=i["aria-labelledby"],y=i["aria-describedby"];return n!==t._v$&&(e.className=t._v$=n),o!==t._v$2&&Ue(e,"tabindex",t._v$2=o),a!==t._v$3&&(e.value=t._v$3=a),s!==t._v$4&&Ue(e,"id",t._v$4=s),l!==t._v$5&&Ue(e,"name",t._v$5=l),c!==t._v$6&&(e.checked=t._v$6=c),u!==t._v$7&&(e.required=t._v$7=u),d!==t._v$8&&(e.disabled=t._v$8=d),p!==t._v$9&&(e.readOnly=t._v$9=p),h!==t._v$10&&Ue(e,"aria-required",t._v$10=h),f!==t._v$11&&Ue(e,"aria-disabled",t._v$11=f),g!==t._v$12&&Ue(e,"aria-invalid",t._v$12=g),m!==t._v$13&&Ue(e,"aria-readonly",t._v$13=m),b!==t._v$14&&Ue(e,"aria-label",t._v$14=b),v!==t._v$15&&Ue(e,"aria-labelledby",t._v$15=v),y!==t._v$16&&Ue(e,"aria-describedby",t._v$16=y),t},{_v$:void 0,_v$2:void 0,_v$3:void 0,_v$4:void 0,_v$5:void 0,_v$6:void 0,_v$7:void 0,_v$8:void 0,_v$9:void 0,_v$10:void 0,_v$11:void 0,_v$12:void 0,_v$13:void 0,_v$14:void 0,_v$15:void 0,_v$16:void 0}),e})(),pe(Te,{get when(){return mi(i.children)},get fallback(){return i.children},get children(){var e;return null==(e=i.children)?void 0:e.call(i,{state:d})}})]}}))}})}const wh=z(),Ah="hope-switch",Ch="hope-checkbox__input",xh="hope-switch__control",Oh="hope-switch__label";function Ih(e){var t,n,r,o,i,a,s,l,c,u,d,p;const h=bs().Switch,f=be({variant:null!=(r=null==(n=null==(t=null==h?void 0:h.defaultProps)?void 0:t.root)?void 0:n.variant)?r:"filled",colorScheme:null!=(a=null==(i=null==(o=null==h?void 0:h.defaultProps)?void 0:o.root)?void 0:i.colorScheme)?a:"primary",size:null!=(c=null==(l=null==(s=null==h?void 0:h.defaultProps)?void 0:s.root)?void 0:l.size)?c:"md",labelPlacement:null!=(p=null==(d=null==(u=null==h?void 0:h.defaultProps)?void 0:u.root)?void 0:d.labelPlacement)?p:"start"},e),[g,m]=ve(f,["children","class","variant","colorScheme","size","labelPlacement"]);return pe(Th,be({get class(){return _s(g.class,Ah,Eh({size:g.size,labelPlacement:g.labelPlacement}))},inputClass:Ch,get __baseStyle(){var e;return null==(e=null==h?void 0:h.baseStyle)?void 0:e.root}},m,{children:({state:e})=>[pe(ws.span,{get class(){return _s(Oh,_h())},get __baseStyle(){var e;return null==(e=null==h?void 0:h.baseStyle)?void 0:e.label},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]},get children(){return g.children}}),pe(ws.span,{"aria-hidden":!0,get class(){return _s(xh,Sh({variant:g.variant,colorScheme:g.colorScheme,size:g.size}))},get __baseStyle(){var e;return null==(e=null==h?void 0:h.baseStyle)?void 0:e.control},get"data-focus"(){return e()["data-focus"]},get"data-checked"(){return e()["data-checked"]},get"data-required"(){return e()["data-required"]},get"data-disabled"(){return e()["data-disabled"]},get"data-invalid"(){return e()["data-invalid"]},get"data-readonly"(){return e()["data-readonly"]}})]}))}Ih.toString=()=>Es(Ah);const Nh=Fi({width:"100%",borderCollapse:"collapse",fontVariantNumeric:"lining-nums tabular-nums"});function Lh(e){return{"& td":{borderBottomWidth:0},"& tr:last-of-type td":{borderBottomWidth:"1px"},[`& tr:nth-of-type(${e}) td`]:{backgroundColor:"$neutral3"}}}Fi({px:"$6",py:"$4",color:"$neutral11",fontSize:"$sm",fontWeight:"$medium",lineHeight:"$5",textAlign:"center",variants:{dense:{true:{px:"$4",py:"$3",fontSize:"$xs",lineHeight:"$4"}},placement:{top:{captionSide:"top"},bottom:{captionSide:"bottom"}}}});const Dh=Fi({variants:{striped:{odd:Lh("odd"),even:Lh("even")},highlightOnHover:{true:{"& tr:hover td":{backgroundColor:"$neutral4"}}}},compoundVariants:[{striped:"odd",highlightOnHover:!0,css:{"& tr:nth-of-type(odd):hover td":{backgroundColor:"$neutral4"}}},{striped:"even",highlightOnHover:!0,css:{"& tr:nth-of-type(even):hover td":{backgroundColor:"$neutral4"}}}]});Fi({"& tr:last-of-type th":{borderBottomWidth:0}});const Rh=Fi({borderBottom:"1px solid $colors$neutral6",px:"$6",py:"$3",fontSize:"$xs",fontWeight:"$semibold",lineHeight:"$4",letterSpacing:"$wider",textAlign:"start",textTransform:"uppercase",variants:{dense:{true:{px:"$4",py:"$1_5"}},numeric:{true:{textAlign:"end"}}}}),Mh=Fi({borderBottom:"1px solid $colors$neutral6",px:"$6",py:"$4",fontSize:"$base",lineHeight:"$6",textAlign:"start",transition:"background-color 250ms",variants:{dense:{true:{px:"$4",py:"$2",fontSize:"$sm",lineHeight:"$5"}},numeric:{true:{textAlign:"end"}}}}),Ph=z(),Bh="hope-table";function $h(e){const t=bs().Table,[n]=nn({get striped(){var n,r,o;return null!=(o=e.striped)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.striped},get dense(){var n,r,o,i;return null!=(i=null!=(o=e.dense)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.dense)&&i},get highlightOnHover(){var n,r,o,i;return null!=(i=null!=(o=e.highlightOnHover)?o:null==(r=null==(n=null==t?void 0:t.defaultProps)?void 0:n.root)?void 0:r.highlightOnHover)&&i}}),[r,o]=ve(e,["class","striped","dense","highlightOnHover"]);return pe(Ph.Provider,{value:n,get children(){return pe(As,be({as:"table",role:"table",get class(){return _s(r.class,Bh,Nh(n))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.root}},o))}})}function Fh(){const e=U(Ph);if(!e)throw new Error("[Hope UI]: useTableContext must be used within a `<Table/>` component");return e}$h.toString=()=>Es(Bh);const Hh="hope-tbody";function zh(e){const t=bs().Table,n=Fh(),[r,o]=ve(e,["class"]);return pe(As,be({as:"tbody",role:"rowgroup",get class(){return _s(r.class,Hh,Dh({striped:n.striped,highlightOnHover:n.highlightOnHover}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tbody}},o))}zh.toString=()=>Es(Hh);const Uh="hope-td";function jh(e){const t=bs().Table,n=Fh(),[r,o]=ve(e,["class","numeric"]);return pe(As,be({as:"td",role:"cell",get class(){return _s(r.class,Uh,Mh({dense:n.dense,numeric:r.numeric}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.td}},o))}jh.toString=()=>Es(Uh);const Gh="hope-th";function Wh(e){const t=bs().Table,n=Fh(),[r,o]=ve(e,["class","numeric"]);return pe(As,be({as:"th",role:"columnheader",get class(){return _s(r.class,Gh,Rh({dense:n.dense,numeric:r.numeric}))},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.th}},o))}Wh.toString=()=>Es(Gh);const qh="hope-thead";function Vh(e){const t=bs().Table,[n,r]=ve(e,["class"]);return pe(As,be({as:"thead",role:"rowgroup",get class(){return _s(n.class,qh)},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.thead}},r))}Vh.toString=()=>Es(qh);const Yh="hope-tr";function Kh(e){const t=bs().Table,[n,r]=ve(e,["class"]);return pe(As,be({as:"tr",role:"row",get class(){return _s(n.class,Yh)},get __baseStyle(){var e;return null==(e=null==t?void 0:t.baseStyle)?void 0:e.tr}},r))}function Xh(e){return{"&[aria-selected='true']":{color:e}}}function Qh(e){return{"&[aria-selected='true']":{color:e.color,backgroundColor:e.bgColor},"&[aria-selected='true']:hover":{backgroundColor:e.bgColorHover}}}Kh.toString=()=>Es(Yh),Fi({variants:{orientation:{horizontal:{display:"block"},vertical:{display:"flex"}}}}),Fi({display:"flex",color:"$neutral11",fontWeight:"$normal",variants:{variant:{underline:{borderWidth:0,borderStyle:"solid",borderColor:"$neutral7"},outline:{borderStyle:"solid",borderColor:"$neutral7"},cards:{borderStyle:"solid",borderColor:"$neutral7"},pills:{gap:"$1_5"}},alignment:{start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},center:{justifyContent:"center"},apart:{justifyContent:"space-between"}},orientation:{horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}}},compoundVariants:[{variant:"underline",orientation:"horizontal",css:{borderBottomWidth:"1px"}},{variant:"underline",orientation:"vertical",css:{borderInlineEndWidth:"1px"}},{variant:"outline",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px"}},{variant:"outline",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px"}},{variant:"cards",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px"}},{variant:"cards",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px"}}]}),Fi({appearance:"none",display:"flex",alignItems:"center",justifyContent:"center",outline:"none",border:"$none",backgroundColor:"transparent",px:"$4",color:"inherit",fontWeight:"inherit",cursor:"pointer",transitionProperty:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",transitionDuration:"250ms","&:focus":{zIndex:1,outline:"none",boxShadow:"$outline"},"&:disabled":{opacity:.4,cursor:"not-allowed"},variants:{variant:{underline:{borderWidth:0,borderStyle:"solid",borderColor:"transparent","&[aria-selected='true']":{borderColor:"currentColor"},"&:active":{backgroundColor:"$neutral4"}},outline:{borderWidth:"1px",borderStyle:"solid",borderColor:"transparent","&[aria-selected='true']":{borderColor:"inherit"}},cards:{borderWidth:"1px",borderStyle:"solid",borderColor:"inherit",backgroundColor:"$neutral3","&[aria-selected='true']":{borderColor:"inherit",backgroundColor:"$loContrast"}},pills:{borderRadius:"$sm","&:hover":{backgroundColor:"$neutral3"},"&:hover:disabled":{backgroundColor:"transparent"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:{py:"$1",fontSize:"$sm"},md:{py:"$2",fontSize:"$base"},lg:{py:"$3",fontSize:"$lg"}},orientation:{horizontal:{},vertical:{}},fitted:{true:{flex:1}}},compoundVariants:[{variant:"underline",colorScheme:"primary",css:Xh("$primary11")},{variant:"underline",colorScheme:"accent",css:Xh("$accent11")},{variant:"underline",colorScheme:"neutral",css:Xh("$neutral12")},{variant:"underline",colorScheme:"success",css:Xh("$success11")},{variant:"underline",colorScheme:"info",css:Xh("$info11")},{variant:"underline",colorScheme:"warning",css:Xh("$warning11")},{variant:"underline",colorScheme:"danger",css:Xh("$danger11")},{variant:"outline",colorScheme:"primary",css:Xh("$primary11")},{variant:"outline",colorScheme:"accent",css:Xh("$accent11")},{variant:"outline",colorScheme:"neutral",css:Xh("$neutral12")},{variant:"outline",colorScheme:"success",css:Xh("$success11")},{variant:"outline",colorScheme:"info",css:Xh("$info11")},{variant:"outline",colorScheme:"warning",css:Xh("$warning11")},{variant:"outline",colorScheme:"danger",css:Xh("$danger11")},{variant:"cards",colorScheme:"primary",css:Xh("$primary11")},{variant:"cards",colorScheme:"accent",css:Xh("$accent11")},{variant:"cards",colorScheme:"neutral",css:Xh("$neutral12")},{variant:"cards",colorScheme:"success",css:Xh("$success11")},{variant:"cards",colorScheme:"info",css:Xh("$info11")},{variant:"cards",colorScheme:"warning",css:Xh("$warning11")},{variant:"cards",colorScheme:"danger",css:Xh("$danger11")},{variant:"pills",colorScheme:"primary",css:Qh({color:"$primary11",bgColor:"$primary3",bgColorHover:"$primary4"})},{variant:"pills",colorScheme:"accent",css:Qh({color:"$accent11",bgColor:"$accent3",bgColorHover:"$accent4"})},{variant:"pills",colorScheme:"neutral",css:Qh({color:"$neutral12",bgColor:"$neutral3",bgColorHover:"$neutral4"})},{variant:"pills",colorScheme:"success",css:Qh({color:"$success11",bgColor:"$success3",bgColorHover:"$success4"})},{variant:"pills",colorScheme:"info",css:Qh({color:"$info11",bgColor:"$info3",bgColorHover:"$info4"})},{variant:"pills",colorScheme:"warning",css:Qh({color:"$warning11",bgColor:"$warning3",bgColorHover:"$warning4"})},{variant:"pills",colorScheme:"danger",css:Qh({color:"$danger11",bgColor:"$danger3",bgColorHover:"$danger4"})},{variant:"underline",orientation:"horizontal",css:{borderBottomWidth:"2px",marginBottom:"-1px"}},{variant:"underline",orientation:"vertical",css:{borderInlineEndWidth:"2px",marginInlineEnd:"-1px"}},{variant:"outline",orientation:"horizontal",css:{mb:"-1px",borderTopRadius:"$sm","&[aria-selected='true']":{borderBottomColor:"$loContrast"}}},{variant:"outline",orientation:"vertical",css:{marginInlineEnd:"-1px",borderStartRadius:"$radii$sm","&[aria-selected='true']":{borderInlineEndColor:"$colors$loContrast"}}},{variant:"cards",orientation:"horizontal",css:{mb:"-1px",borderBottomWidth:"1px","&:not(:last-of-type)":{marginInlineEnd:"-1px"},"&[aria-selected='true']":{borderTopColor:"currentColor",borderBottomColor:"transparent"}}},{variant:"cards",orientation:"vertical",css:{marginInlineEnd:"-1px",borderInlineEndWidth:"1px","&:not(:last-of-type)":{mb:"-1px"},"&[aria-selected='true']":{borderInlineStartColor:"currentColor",borderInlineEndColor:"transparent"}}}]}),Fi({outline:"none",padding:"$4"}),Fi({marginInlineStart:"$2"}),Fi({marginInlineEnd:"$2"}),Fi({noOfLines:1});const Zh=Fi({appearance:"none",position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",outline:"none",border:"1px solid transparent",borderRadius:"$full",backgroundColor:"transparent",padding:"0",lineHeight:"$none",textDecoration:"none",color:"inherit",cursor:"pointer",userSelect:"none",transition:"color 250ms, background-color 250ms, opacity 250ms, box-shadow 250ms","&:focus":{outline:"none",boxShadow:"$outline"},"&:disabled":{border:"1px solid transparent",backgroundColor:"transparent",color:"$neutral3",cursor:"not-allowed"},variants:{size:{sm:{marginInlineStart:"0.35rem",marginInlineEnd:"-3px"},md:{marginInlineStart:"$1_5",marginInlineEnd:"calc(0.15rem * -1)"},lg:{marginInlineStart:"$1_5",marginInlineEnd:"calc($1 * -1)"}}}});function Jh(e){return{height:e.height,py:0,px:e.paddingX,fontSize:e.fontSize,lineHeight:e.lineHeight,[`& .${Zh}`]:{boxSize:e.closeButtonSize}}}function ef(e){return{backgroundColor:e.bgColor,color:e.color,[`& .${Zh}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function tf(e){return{backgroundColor:e.bgColor,color:e.color,[`& .${Zh}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function nf(e){return{borderColor:e.borderColor,color:e.color,[`& .${Zh}:not(:disabled):hover`]:{backgroundColor:e.closeButtonBgColorHover}}}function rf(e){return{"&::before, &::after":{boxSize:e},"&::before":{marginRight:e},"&::after":{marginLeft:e}}}Fi({display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"$full",fontWeight:"$medium",lineHeight:"$none",variants:{variant:{solid:{border:"1px solid transparent",color:"white"},subtle:{border:"1px solid transparent"},outline:{borderStyle:"solid",borderWidth:"1px",backgroundColor:"transparent"},dot:{border:"1px solid $neutral7",backgroundColor:"transparent",color:"$neutral12","&::before, &::after":{content:"''",borderRadius:"$full"},"&::before":{display:"block"},"&::after":{display:"none"},[`& .${Zh}:not(:disabled):hover`]:{backgroundColor:"$neutral4"},[`& .${Zh}:not(:disabled):active`]:{backgroundColor:"$neutral5"}}},colorScheme:{primary:{},accent:{},neutral:{},success:{},info:{},warning:{},danger:{}},size:{sm:Jh({height:"$5",paddingX:"$2",fontSize:"$xs",lineHeight:"$4",closeButtonSize:"$4"}),md:Jh({height:"$6",paddingX:"$2",fontSize:"$sm",lineHeight:"$5",closeButtonSize:"$5"}),lg:Jh({height:"$8",paddingX:"$3",fontSize:"$base",lineHeight:"$6",closeButtonSize:"$6"})},dotPlacement:{start:{},end:{}}},compoundVariants:[{variant:"solid",colorScheme:"primary",css:ef({color:"white",bgColor:"$primary9",closeButtonBgColorHover:"$primary10"})},{variant:"solid",colorScheme:"accent",css:ef({color:"white",bgColor:"$accent9",closeButtonBgColorHover:"$accent10"})},{variant:"solid",colorScheme:"neutral",css:ef({color:"white",bgColor:"$neutral9",closeButtonBgColorHover:"$neutral11"})},{variant:"solid",colorScheme:"success",css:ef({color:"white",bgColor:"$success9",closeButtonBgColorHover:"$success10"})},{variant:"solid",colorScheme:"info",css:ef({color:"white",bgColor:"$info9",closeButtonBgColorHover:"$info10"})},{variant:"solid",colorScheme:"warning",css:ef({color:"$blackAlpha12",bgColor:"$warning9",closeButtonBgColorHover:"$warning10"})},{variant:"solid",colorScheme:"danger",css:ef({color:"white",bgColor:"$danger9",closeButtonBgColorHover:"$danger10"})},{variant:"subtle",colorScheme:"primary",css:tf({color:"$primary11",bgColor:"$primary4",closeButtonBgColorHover:"$primary6"})},{variant:"subtle",colorScheme:"accent",css:tf({color:"$accent11",bgColor:"$accent4",closeButtonBgColorHover:"$accent6"})},{variant:"subtle",colorScheme:"neutral",css:tf({color:"$neutral12",bgColor:"$neutral4",closeButtonBgColorHover:"$neutral7"})},{variant:"subtle",colorScheme:"success",css:tf({color:"$success11",bgColor:"$success4",closeButtonBgColorHover:"$success6"})},{variant:"subtle",colorScheme:"info",css:tf({color:"$info11",bgColor:"$info4",closeButtonBgColorHover:"$info6"})},{variant:"subtle",colorScheme:"warning",css:tf({color:"$warning11",bgColor:"$warning4",closeButtonBgColorHover:"$warning6"})},{variant:"subtle",colorScheme:"danger",css:tf({color:"$danger11",bgColor:"$danger4",closeButtonBgColorHover:"$danger6"})},{variant:"outline",colorScheme:"primary",css:nf({color:"$primary11",borderColor:"$primary7",closeButtonBgColorHover:"$primary4"})},{variant:"outline",colorScheme:"accent",css:nf({color:"$accent11",borderColor:"$accent7",closeButtonBgColorHover:"$accent4"})},{variant:"outline",colorScheme:"neutral",css:nf({color:"$neutral12",borderColor:"$neutral7",closeButtonBgColorHover:"$neutral4"})},{variant:"outline",colorScheme:"success",css:nf({color:"$success11",borderColor:"$success7",closeButtonBgColorHover:"$success4"})},{variant:"outline",colorScheme:"info",css:nf({color:"$info11",borderColor:"$info7",closeButtonBgColorHover:"$info4"})},{variant:"outline",colorScheme:"warning",css:nf({color:"$warning11",borderColor:"$warning7",closeButtonBgColorHover:"$warning4"})},{variant:"outline",colorScheme:"danger",css:nf({color:"$danger11",borderColor:"$danger7",closeButtonBgColorHover:"$danger4"})},{variant:"dot",colorScheme:"primary",css:{"&::before, &::after":{backgroundColor:"$primary9"}}},{variant:"dot",colorScheme:"accent",css:{"&::before, &::after":{backgroundColor:"$accent9"}}},{variant:"dot",colorScheme:"neutral",css:{"&::before, &::after":{backgroundColor:"$neutral9"}}},{variant:"dot",colorScheme:"success",css:{"&::before, &::after":{backgroundColor:"$success9"}}},{variant:"dot",colorScheme:"info",css:{"&::before, &::after":{backgroundColor:"$info9"}}},{variant:"dot",colorScheme:"warning",css:{"&::before, &::after":{backgroundColor:"$warning9"}}},{variant:"dot",colorScheme:"danger",css:{"&::before, &::after":{backgroundColor:"$danger9"}}},{variant:"dot",size:"sm",css:rf("$1_5")},{variant:"dot",size:"md",css:rf("$2")},{variant:"dot",size:"lg",css:rf("$2_5")},{variant:"dot",dotPlacement:"start",css:{"&::before":{display:"block"},"&::after":{display:"none"}}},{variant:"dot",dotPlacement:"end",css:{"&::before":{display:"none"},"&::after":{display:"block"}}}]});const of="hope-text";function af(e){var t;const n=bs().Text,r=be({size:null==(t=null==n?void 0:n.defaultProps)?void 0:t.size},e),[o,i]=ve(r,["class","size"]);return pe(ws.p,be({get class(){return _s(o.class,of,Pu({size:o.size}))},get __baseStyle(){return null==n?void 0:n.baseStyle}},i))}function sf(e,t){return Object.entries({xs:null!=t?t:"$2",sm:null!=t?t:"$2_5",md:null!=t?t:"$3",lg:null!=t?t:"$4"}).map(([t,n])=>({variant:e,size:t,css:{px:n}}))}af.toString=()=>Es(of);const lf=Fi(Ha,{minHeight:"80px",py:"$2",compoundVariants:[...sf("outline"),...sf("filled"),...sf("unstyled",0)]}),cf="hope-textarea";function uf(e){var t,n,r,o;const i=bs().Textarea,a=be({variant:null!=(n=null==(t=null==i?void 0:i.defaultProps)?void 0:t.variant)?n:"outline",size:null!=(o=null==(r=null==i?void 0:i.defaultProps)?void 0:r.size)?o:"md"},e),[s,l]=ve(a,["class","variant","size"]),c=Cc(e);return pe(As,be({as:"textarea",get class(){return _s(s.class,cf,lf({variant:s.variant,size:s.size}))},get __baseStyle(){return null==i?void 0:i.baseStyle}},c,l))}uf.toString=()=>Es(cf);const df="hope-tooltip",pf="hope-tooltip__arrow";function hf(e){var t,n,r,o,i,a,s,l,c,u,d,p,h,f,g,m,b,v;const y=`hope-tooltip-${_e()}`,E=bs().Tooltip,_=be({id:y,placement:null!=(n=null==(t=null==E?void 0:E.defaultProps)?void 0:t.placement)?n:"bottom",offset:null!=(o=null==(r=null==E?void 0:E.defaultProps)?void 0:r.offset)?o:8,withArrow:null!=(a=null==(i=null==E?void 0:E.defaultProps)?void 0:i.withArrow)&&a,arrowSize:null!=(l=null==(s=null==E?void 0:E.defaultProps)?void 0:s.arrowSize)?l:8,arrowPadding:null!=(u=null==(c=null==E?void 0:E.defaultProps)?void 0:c.arrowPadding)?u:8,openDelay:null!=(p=null==(d=null==E?void 0:E.defaultProps)?void 0:d.openDelay)?p:0,closeDelay:null!=(f=null==(h=null==E?void 0:E.defaultProps)?void 0:h.closeDelay)?f:0,closeOnClick:null==(m=null==(g=null==E?void 0:E.defaultProps)?void 0:g.closeOnClick)||m,closeOnMouseDown:null!=(v=null==(b=null==E?void 0:E.defaultProps)?void 0:b.closeOnMouseDown)&&v},e),[S,T]=ve(_,["class","children","id","label","opened","defaultOpened","inline","disabled","placement","offset","withArrow","arrowSize","arrowPadding","openDelay","closeDelay","closeOnClick","closeOnMouseDown","onOpen","onClose"]),[w,x]=k(!!S.defaultOpened),[O,I]=k(!1);let N,R,M,P;const B=()=>void 0!==S.opened,$=()=>B()?!!S.opened:w();let F;const H=j(()=>S.children),z=C(()=>{let e=H();for(;mi(e);)e=e();return e});async function U(){var e,t,n;const r=z();if(!r||!N)return;const o=[wo(S.offset)];S.inline&&o.push(xo()),o.push(_o()),o.push(Ao()),S.withArrow&&R&&o.push(fo({element:R,padding:S.arrowPadding})),o.push(To());const{x:i,y:a,placement:s,middlewareData:l}=await oi(r,N,{placement:S.placement,middleware:o});if(!N)return;const c=null==(e=l.hide)?void 0:e.referenceHidden;if(Object.assign(N.style,{left:`${Math.round(i)}px`,top:`${Math.round(a)}px`,visibility:c?"hidden":"visible"}),!R)return;const u=null==(t=l.arrow)?void 0:t.x,d=null==(n=l.arrow)?void 0:n.y,p={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]],h=(S.arrowSize?-1*Math.round(S.arrowSize/2):-4)+"px";Object.assign(R.style,{left:null!=u?`${Math.round(u)}px`:"",top:null!=d?`${Math.round(d)}px`:"",right:"",bottom:"",[p]:h})}const G=()=>{var e;B()||x(!0),null==(e=S.onOpen)||e.call(S),U()},W=()=>{var e;B()||x(!1),null==(e=S.onClose)||e.call(S)},q=()=>{S.disabled||(M=window.setTimeout(G,S.openDelay))},V=()=>{M&&window.clearTimeout(M),P=window.setTimeout(W,S.closeDelay)},Y=()=>{S.closeOnClick&&V()},K=()=>{S.closeOnMouseDown&&V()},X=e=>{$()&&"Escape"===e.key&&V()},Q=()=>{N&&(document.addEventListener("keydown",X),F=ri(z(),N,U))},Z=()=>{document.removeEventListener("keydown",X),null==F||F(),I(!1)};return L(()=>{(()=>{const e=z();e.addEventListener("mouseenter",q),e.addEventListener("focus",q),e.addEventListener("click",Y),e.addEventListener("mousedown",K),e.addEventListener("mouseleave",V),e.addEventListener("blur",V)})()}),D(()=>{(()=>{const e=z();e.removeEventListener("mouseenter",q),e.removeEventListener("focus",q),e.removeEventListener("click",Y),e.removeEventListener("mousedown",K),e.removeEventListener("mouseleave",V),e.removeEventListener("blur",V)})(),window.clearTimeout(M),window.clearTimeout(P)}),A(()=>{$()?(I(!0),S.id&&z().setAttribute("aria-describedby",S.id)):z().removeAttribute("aria-describedby")}),[z,pe(Te,{get when(){return O()},get children(){return pe(lt,{get children(){return pe(Sr,{get name(){return is.scale},appear:!0,onBeforeEnter:U,onAfterEnter:Q,onAfterExit:Z,get children(){return pe(Te,{get when(){return $()},get children(){return pe(As,be({ref(e){"function"==typeof N?N(e):N=e},role:"tooltip",get id(){return S.id},get class(){return _s(S.class,df,ss())},get __baseStyle(){return null==E?void 0:E.baseStyle}},T,{get children(){return[$e(()=>S.label),pe(Te,{get when(){return S.withArrow},get children(){return pe(As,{ref(e){"function"==typeof R?R(e):R=e},get class(){return _s(pf,ls())},get boxSize(){return S.arrowSize}})}})]}}))}})}})}})}})]}function ff(e={}){const t=`disclosure-${_e()}`,[n,r]=k(e.defaultIsOpen||!1),o=()=>void 0!==e.isOpen,i=()=>o()?!!e.isOpen:n(),a=()=>{var t;o()||r(!1),null==(t=e.onClose)||t.call(e)},s=()=>{var t;o()||r(!0),null==(t=e.onOpen)||t.call(e)};return{isControlled:o,isOpen:i,onOpen:s,onClose:a,onToggle:()=>{i()?a():s()},triggerProps:()=>({"aria-expanded":i(),"aria-controls":t}),disclosureProps:()=>({id:t,hidden:!i()})}}var gf,mf;hf.toString=()=>Es(df);var bf=(mf||(mf=1,gf=function e(t,n){var r,o,i=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,s=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,l=/^0x[0-9a-f]+$/i,c=/^0/,u=function(t){return e.insensitive&&(""+t).toLowerCase()||""+t},d=u(t).replace(a,"")||"",p=u(n).replace(a,"")||"",h=d.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),f=p.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),g=parseInt(d.match(l),16)||1!==h.length&&d.match(s)&&Date.parse(d),m=parseInt(p.match(l),16)||g&&p.match(s)&&Date.parse(p)||null;if(m){if(g<m)return-1;if(g>m)return 1}for(var b=0,v=Math.max(h.length,f.length);b<v;b++){if(r=!(h[b]||"").match(c)&&parseFloat(h[b])||h[b]||0,o=!(f[b]||"").match(c)&&parseFloat(f[b])||f[b]||0,isNaN(r)!==isNaN(o))return isNaN(r)?1:-1;if(typeof r!=typeof o&&(r+="",o+=""),r<o)return-1;if(r>o)return 1}return 0}),gf);const vf=e("eq",rr(bf));function yf(e,t,n){const[r,o]=k(),i=n?.api?Array.isArray(n.api)?n.api:[n.api]:[globalThis.localStorage].filter(Boolean),a=n?.prefix?`${n.prefix}.`:"",s=()=>i.reduce((t,r)=>{if(null!==t||!r)return t;let i=null;try{i=r.getItem(`${a}${e}`)}catch(s){if(o(s instanceof Error?s:new Error(`Error reading ${a}${e} from ${r.name}`)),n?.throw)throw s}return null!==i&&n?.deserializer?n.deserializer(i+"",e,n.options):i},null),[l,c]=dr(t,()=>s()??t,n);A(()=>{const t=l(),r=n?.serializer?n.serializer(t,e,n.options):t+"",s=`${a}${e}`;try{null===t?i.forEach(e=>null!==e.getItem(s)&&e.removeItem(s)):i.forEach(e=>e.getItem(s)!==r&&e.setItem(s,r,n?.options))}catch(c){if(o(c instanceof Error?c:new Error(`Error ${null===t?"removing":"writing"} value`)),n?.throw)throw c}});const u=()=>{const e=s();c(e)};return!1!==n?.sync&&L(()=>{const e=e=>{let t=!1;try{i.forEach(n=>{n!==e.storageArea&&e.key&&e.newValue!==n.getItem(e.key)&&(e.newValue?n.setItem(e.key,e.newValue):n.removeItem(e.key),t=!0)})}catch(r){if(o(r instanceof Error?r:new Error("Error synching api after event")),n?.throw)throw r}t&&u()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",e),D(()=>globalThis.removeEventListener("storage",e))):(i.forEach(t=>t.addEventListener?.("storage",e)),D(()=>i.forEach(t=>t.removeEventListener?.("storage",e))))}),[Object.assign(l,{error:r}),c,u]}var Ef,_f=function(e){const[t,n]=k(),r=e?.throw?(e,t)=>{throw n(e instanceof Error?e:new Error(t)),e}:(e,t)=>{n(e instanceof Error?e:new Error(t))},o=e?.api?Array.isArray(e.api)?e.api:[e.api]:[globalThis.localStorage].filter(Boolean),i=e?.prefix?`${e.prefix}.`:"",a=new Map,s=new Proxy({},{get(t,n){let s=a.get(n);s||(s=k(void 0,{equals:!1}),a.set(n,s)),s[0]();const l=o.reduce((e,t)=>{if(null!==e||!t)return e;try{return t.getItem(`${i}${n}`)}catch(o){return r(o,`Error reading ${i}${n} from ${t.name}`),null}},null);return null!==l&&e?.deserializer?e.deserializer(l,n,e.options):l}});return!1!==e?.sync&&L(()=>{const e=e=>{let t=!1;o.forEach(n=>{try{n!==e.storageArea&&e.key&&e.newValue!==n.getItem(e.key)&&(e.newValue?n.setItem(e.key,e.newValue):n.removeItem(e.key),t=!0)}catch(o){r(o,`Error synching api ${n.name} from storage event (${e.key}=${e.newValue})`)}}),t&&e.key&&a.get(e.key)?.[1]()};"addEventListener"in globalThis?(globalThis.addEventListener("storage",e),D(()=>globalThis.removeEventListener("storage",e))):(o.forEach(t=>t.addEventListener?.("storage",e)),D(()=>o.forEach(t=>t.removeEventListener?.("storage",e))))}),[s,(t,n,s)=>{const l=e?.serializer?e.serializer(n,t,s??e.options):n,c=`${i}${t}`;o.forEach(e=>{try{e.getItem(c)!==l&&e.setItem(c,l)}catch(n){r(n,`Error setting ${i}${t} to ${l} in ${e.name}`)}});const u=a.get(t);u&&u[1]()},{clear:()=>o.forEach(e=>{try{e.clear()}catch(t){r(t,`Error clearing ${e.name}`)}}),error:t,remove:e=>o.forEach(t=>{try{t.removeItem(`${i}${e}`)}catch(n){r(n,`Error removing ${i}${e} from ${t.name}`)}}),toJSON:()=>{const t={},n=(n,r)=>{if(!t.hasOwnProperty(n)){const o=r&&e?.deserializer?e.deserializer(r,n,e.options):r;o&&(t[n]=o)}};return o.forEach(e=>{if("function"==typeof e.getAll){let t;try{t=e.getAll()}catch(o){r(o,`Error getting all values from in ${e.name}`)}for(const e of t)n(e,t[e])}else{let i,a=0;try{for(;i=e.key(a++);)t.hasOwnProperty(i)||n(i,e.getItem(i))}catch(o){r(o,`Error getting all values from ${e.name}`)}}}),t}}]},Sf=e=>{if(!e)return"";let t="";for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];t+=r instanceof Date?`; ${n}=${r.toUTCString()}`:"boolean"==typeof r?`; ${n}`:`; ${n}=${r}`}return t},kf=(Ef={_cookies:[globalThis.document,"cookie"],getItem:e=>kf._cookies[0][kf._cookies[1]].match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)")?.pop()??null,setItem:(e,t,n)=>{const r=kf.getItem(e);kf._cookies[0][kf._cookies[1]]=`${e}=${t}${Sf(n)}`;const o=Object.assign(new Event("storage"),{key:e,oldValue:r,newValue:t,url:globalThis.document.URL,storageArea:kf});window.dispatchEvent(o)},removeItem:e=>{kf._cookies[0][kf._cookies[1]]=`${e}=deleted${Sf({expires:new Date(0)})}`},key:e=>{let t=null,n=0;return kf._cookies[0][kf._cookies[1]].replace(/(?:^|;)\s*(.+?)\s*=\s*[^;]+/g,(r,o)=>(!t&&o&&n++===e&&(t=o),"")),t},get length(){let e=0;return kf._cookies[0][kf._cookies[1]].replace(/(?:^|;)\s*.+?\s*=\s*[^;]+/g,t=>(e+=t?1:0,"")),e}},"function"==typeof Ef.clear||(Ef.clear=()=>{let e;for(;e=Ef.key(0);)Ef.removeItem(e)}),Ef);let Tf=e("cq","");window.OPENLIST_CONFIG.base_path&&(t=>{e("cq",Tf=t),Tf.startsWith("/")||e("cq",Tf="/"+Tf),Tf.endsWith("/")&&e("cq",Tf=Tf.slice(0,-1))})(window.OPENLIST_CONFIG.base_path);let wf=e("e9","/");window.OPENLIST_CONFIG.api&&e("e9",wf=window.OPENLIST_CONFIG.api),"/"===wf&&e("e9",wf=location.origin+Tf),wf.endsWith("/")&&e("e9",wf=wf.slice(0,-1));const Af=e("aQ",function(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get("*"))&&r.slice().map(function(e){e(t,n)})}}}());var Cf=He("<div><div>"),xf=He("<div>");const Of=e("r",{render:e=>{Nd.show({render:t=>pe(As,{get css(){return{display:"flex",backdropFilter:"blur(8px)",backgroundColor:yy(),boxShadow:"$md",borderRadius:"$lg",padding:"$3"}},get children(){return[(r=Cf(),o=r.firstChild,r.style.setProperty("flex-grow","1"),r.style.setProperty("display","flex"),r.style.setProperty("align-items","center"),o.style.setProperty("margin","auto"),Ke(o,e),r),(n=xf(),n.style.setProperty("display","inline-block"),n.style.setProperty("padding","5px"),Ke(n,pe(Wc,{style:{float:"right"},right:"$2",top:"$2",get onClick(){return t.close}})),n)];var n,r,o}})})},success:e=>{Nd.show({status:"success",title:uy(e)})},error:e=>{Nd.show({status:"danger",title:uy(e)})},info:e=>{Nd.show({status:"info",title:uy(e)})},warning:e=>{Nd.show({status:"warning",title:uy(e)})}}),If=(e,t)=>(e.endsWith("/")&&(e=e.slice(0,-1)),e.startsWith("/")||(e="/"+e),"/"===e?"":e),Nf=(...e)=>new URL(Lf(...e),location.origin).pathname,Lf=e("z",(...e)=>e.join("/").replace(/\/{2,}/g,"/")),Df=e("Y",(...e)=>Lf(Tf,...e)),Rf=(e("l",e=>e.split("/").pop()),e("e2",e=>e.split("/").slice(0,-1).join("/"))),Mf=e("U",(e,t)=>e.split("/").map(e=>t?encodeURIComponent(e):e.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23").replace(/ /g,"%20")).join("/")),Pf=e("cW",e=>e.split(".").pop()??"");e("e8",e=>e.split(".").slice(0,-1).join(".")),e("df",e=>JSON.parse(JSON.stringify(e)));const Bf=e=>{const t=[];for(const n in e)t.push({key:n,value:e[n]});return t},$f=e("e4",e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLowerCase(),null!==t&&"object"==typeof t?$f(t):t])));function Ff(e,t){return function(){return e.apply(t,arguments)}}const{toString:Hf}=Object.prototype,{getPrototypeOf:zf}=Object,{iterator:Uf,toStringTag:jf}=Symbol,Gf=(Wf=Object.create(null),e=>{const t=Hf.call(e);return Wf[t]||(Wf[t]=t.slice(8,-1).toLowerCase())});var Wf;const qf=e=>(e=e.toLowerCase(),t=>Gf(t)===e),Vf=e=>t=>typeof t===e,{isArray:Yf}=Array,Kf=Vf("undefined");function Xf(e){return null!==e&&!Kf(e)&&null!==e.constructor&&!Kf(e.constructor)&&Jf(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Qf=qf("ArrayBuffer"),Zf=Vf("string"),Jf=Vf("function"),eg=Vf("number"),tg=e=>null!==e&&"object"==typeof e,ng=e=>{if("object"!==Gf(e))return!1;const t=zf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||jf in e||Uf in e)},rg=qf("Date"),og=qf("File"),ig=qf("Blob"),ag=qf("FileList"),sg=qf("URLSearchParams"),[lg,cg,ug,dg]=["ReadableStream","Request","Response","Headers"].map(qf);function pg(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),Yf(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Xf(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function hg(e,t){if(Xf(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const fg="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,gg=e=>!Kf(e)&&e!==fg,mg=(bg="undefined"!=typeof Uint8Array&&zf(Uint8Array),e=>bg&&e instanceof bg);var bg;const vg=qf("HTMLFormElement"),yg=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Eg=qf("RegExp"),_g=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};pg(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)},Sg=qf("AsyncFunction"),kg=(Tg="function"==typeof setImmediate,wg=Jf(fg.postMessage),Tg?setImmediate:wg?(Ag=`axios@${Math.random()}`,Cg=[],fg.addEventListener("message",({source:e,data:t})=>{e===fg&&t===Ag&&Cg.length&&Cg.shift()()},!1),e=>{Cg.push(e),fg.postMessage(Ag,"*")}):e=>setTimeout(e));var Tg,wg,Ag,Cg;const xg="undefined"!=typeof queueMicrotask?queueMicrotask.bind(fg):"undefined"!=typeof process&&process.nextTick||kg,Og={isArray:Yf,isArrayBuffer:Qf,isBuffer:Xf,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Jf(e.append)&&("formdata"===(t=Gf(e))||"object"===t&&Jf(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Qf(e.buffer),t},isString:Zf,isNumber:eg,isBoolean:e=>!0===e||!1===e,isObject:tg,isPlainObject:ng,isEmptyObject:e=>{if(!tg(e)||Xf(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(ro){return!1}},isReadableStream:lg,isRequest:cg,isResponse:ug,isHeaders:dg,isUndefined:Kf,isDate:rg,isFile:og,isBlob:ig,isRegExp:Eg,isFunction:Jf,isStream:e=>tg(e)&&Jf(e.pipe),isURLSearchParams:sg,isTypedArray:mg,isFileList:ag,forEach:pg,merge:function e(){const{caseless:t,skipUndefined:n}=gg(this)&&this||{},r={},o=(o,i)=>{const a=t&&hg(r,i)||i;ng(r[a])&&ng(o)?r[a]=e(r[a],o):ng(o)?r[a]=e({},o):Yf(o)?r[a]=o.slice():n&&Kf(o)||(r[a]=o)};for(let i=0,a=arguments.length;i<a;i++)arguments[i]&&pg(arguments[i],o);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(pg(t,(t,r)=>{n&&Jf(t)?e[r]=Ff(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&zf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Gf,kindOfTest:qf,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(Yf(e))return e;let t=e.length;if(!eg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Uf]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:vg,hasOwnProperty:yg,hasOwnProp:yg,reduceDescriptors:_g,freezeMethods:e=>{_g(e,(t,n)=>{if(Jf(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Jf(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return Yf(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:hg,global:fg,isContextDefined:gg,isSpecCompliantForm:function(e){return!!(e&&Jf(e.append)&&"FormData"===e[jf]&&e[Uf])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(tg(e)){if(t.indexOf(e)>=0)return;if(Xf(e))return e;if(!("toJSON"in e)){t[r]=e;const o=Yf(e)?[]:{};return pg(e,(e,t)=>{const i=n(e,r+1);!Kf(i)&&(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:Sg,isThenable:e=>e&&(tg(e)||Jf(e))&&Jf(e.then)&&Jf(e.catch),setImmediate:kg,asap:xg,isIterable:e=>null!=e&&Jf(e[Uf])};function Ig(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Og.inherits(Ig,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Og.toJSONObject(this.config),code:this.code,status:this.status}}});const Ng=Ig.prototype,Lg={};function Dg(e){return Og.isPlainObject(e)||Og.isArray(e)}function Rg(e){return Og.endsWith(e,"[]")?e.slice(0,-2):e}function Mg(e,t,n){return e?e.concat(t).map(function(e,t){return e=Rg(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Lg[e]={value:e}}),Object.defineProperties(Ig,Lg),Object.defineProperty(Ng,"isAxiosError",{value:!0}),Ig.from=(e,t,n,r,o,i)=>{const a=Object.create(Ng);Og.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);const s=e&&e.message?e.message:"Error",l=null==t&&e?e.code:t;return Ig.call(a,s,l,n,r,o),e&&null==a.cause&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",i&&Object.assign(a,i),a};const Pg=Og.toFlatObject(Og,{},null,function(e){return/^is[A-Z]/.test(e)});function Bg(e,t,n){if(!Og.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Og.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Og.isUndefined(t[e])})).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Og.isSpecCompliantForm(t);if(!Og.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Og.isDate(e))return e.toISOString();if(Og.isBoolean(e))return e.toString();if(!s&&Og.isBlob(e))throw new Ig("Blob is not supported. Use a Buffer instead.");return Og.isArrayBuffer(e)||Og.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(Og.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Og.isArray(e)&&function(e){return Og.isArray(e)&&!e.some(Dg)}(e)||(Og.isFileList(e)||Og.endsWith(n,"[]"))&&(s=Og.toArray(e)))return n=Rg(n),s.forEach(function(e,r){!Og.isUndefined(e)&&null!==e&&t.append(!0===a?Mg([n],r,i):null===a?n:n+"[]",l(e))}),!1;return!!Dg(e)||(t.append(Mg(o,n,i),l(e)),!1)}const u=[],d=Object.assign(Pg,{defaultVisitor:c,convertValue:l,isVisitable:Dg});if(!Og.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Og.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Og.forEach(n,function(n,i){!0===(!(Og.isUndefined(n)||null===n)&&o.call(t,n,Og.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])}),u.pop()}}(e),t}function $g(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Fg(e,t){this._pairs=[],e&&Bg(e,this,t)}const Hg=Fg.prototype;function zg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ug(e,t,n){if(!t)return e;const r=n&&n.encode||zg;Og.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):Og.isURLSearchParams(t)?t.toString():new Fg(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Hg.append=function(e,t){this._pairs.push([e,t])},Hg.toString=function(e){const t=e?function(t){return e.call(this,t,$g)}:$g;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class jg{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Og.forEach(this.handlers,function(t){null!==t&&e(t)})}}const Gg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Wg={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Fg,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},qg="undefined"!=typeof window&&"undefined"!=typeof document,Vg="object"==typeof navigator&&navigator||void 0,Yg=qg&&(!Vg||["ReactNative","NativeScript","NS"].indexOf(Vg.product)<0),Kg="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Xg=qg&&window.location.href||"http://localhost",Qg={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qg,hasStandardBrowserEnv:Yg,hasStandardBrowserWebWorkerEnv:Kg,navigator:Vg,origin:Xg},Symbol.toStringTag,{value:"Module"})),...Wg};function Zg(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;return i=!i&&Og.isArray(r)?r.length:i,s?(Og.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&Og.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&Og.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a)}if(Og.isFormData(e)&&Og.isFunction(e.entries)){const n={};return Og.forEachEntry(e,(e,r)=>{t(function(e){return Og.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null}const Jg={transitional:Gg,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Og.isObject(e);if(o&&Og.isHTMLForm(e)&&(e=new FormData(e)),Og.isFormData(e))return r?JSON.stringify(Zg(e)):e;if(Og.isArrayBuffer(e)||Og.isBuffer(e)||Og.isStream(e)||Og.isFile(e)||Og.isBlob(e)||Og.isReadableStream(e))return e;if(Og.isArrayBufferView(e))return e.buffer;if(Og.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Bg(e,new Qg.classes.URLSearchParams,{visitor:function(e,t,n,r){return Qg.isNode&&Og.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=Og.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Bg(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Og.isString(e))try{return(t||JSON.parse)(e),Og.trim(e)}catch(ro){if("SyntaxError"!==ro.name)throw ro}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Jg.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Og.isResponse(e)||Og.isReadableStream(e))return e;if(e&&Og.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(ro){if(n){if("SyntaxError"===ro.name)throw Ig.from(ro,Ig.ERR_BAD_RESPONSE,this,null,this.response);throw ro}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qg.classes.FormData,Blob:Qg.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Og.forEach(["delete","get","head","post","put","patch"],e=>{Jg.headers[e]={}});const em=Og.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),tm=Symbol("internals");function nm(e){return e&&String(e).trim().toLowerCase()}function rm(e){return!1===e||null==e?e:Og.isArray(e)?e.map(rm):String(e)}function om(e,t,n,r,o){return Og.isFunction(r)?r.call(this,t,n):(o&&(t=n),Og.isString(t)?Og.isString(r)?-1!==t.indexOf(r):Og.isRegExp(r)?r.test(t):void 0:void 0)}let im=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=nm(t);if(!o)throw new Error("header name must be a non-empty string");const i=Og.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=rm(e))}const i=(e,t)=>Og.forEach(e,(e,n)=>o(e,n,t));if(Og.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Og.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&em[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(Og.isObject(e)&&Og.isIterable(e)){let n,r,o={};for(const t of e){if(!Og.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?Og.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=nm(e)){const n=Og.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Og.isFunction(t))return t.call(this,e,n);if(Og.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=nm(e)){const n=Og.findKey(this,e);return!(!n||void 0===this[n]||t&&!om(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=nm(e)){const o=Og.findKey(n,e);!o||t&&!om(0,n[o],o,t)||(delete n[o],r=!0)}}return Og.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!om(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Og.forEach(this,(r,o)=>{const i=Og.findKey(n,o);if(i)return t[i]=rm(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();a!==o&&delete t[o],t[a]=rm(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Og.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Og.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[tm]=this[tm]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=nm(e);t[r]||(function(e,t){const n=Og.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return Og.isArray(e)?e.forEach(r):r(e),this}};function am(e,t){const n=this||Jg,r=t||n,o=im.from(r.headers);let i=r.data;return Og.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function sm(e){return!(!e||!e.__CANCEL__)}function lm(e,t,n){Ig.call(this,null==e?"canceled":e,Ig.ERR_CANCELED,t,n),this.name="CanceledError"}function cm(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Ig("Request failed with status code "+n.status,[Ig.ERR_BAD_REQUEST,Ig.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}im.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Og.reduceDescriptors(im.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Og.freezeMethods(im),Og.inherits(lm,Ig,{__CANCEL__:!0});const um=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const p=c&&l-c;return p?Math.round(1e3*d/p):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=i?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},i-s)))},()=>n&&a(n)]}(n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i,e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},dm=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},pm=e=>(...t)=>Og.asap(()=>e(...t)),hm=Qg.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Qg.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Qg.origin),Qg.navigator&&/(msie|trident)/i.test(Qg.navigator.userAgent)):()=>!0,fm=Qg.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];Og.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Og.isString(r)&&a.push("path="+r),Og.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function gm(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const mm=e=>e instanceof im?{...e}:e;function bm(e,t){t=t||{};const n={};function r(e,t,n,r){return Og.isPlainObject(e)&&Og.isPlainObject(t)?Og.merge.call({caseless:r},e,t):Og.isPlainObject(t)?Og.merge({},t):Og.isArray(t)?t.slice():t}function o(e,t,n,o){return Og.isUndefined(t)?Og.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!Og.isUndefined(t))return r(void 0,t)}function a(e,t){return Og.isUndefined(t)?Og.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(mm(e),mm(t),0,!0)};return Og.forEach(Object.keys({...e,...t}),function(r){const i=l[r]||o,a=i(e[r],t[r],r);Og.isUndefined(a)&&i!==s||(n[r]=a)}),n}const vm=e=>{const t=bm({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;if(t.headers=a=im.from(a),t.url=Ug(gm(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Og.isFormData(n))if(Qg.hasStandardBrowserEnv||Qg.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(Og.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&a.set(e,n)})}if(Qg.hasStandardBrowserEnv&&(r&&Og.isFunction(r)&&(r=r(t)),r||!1!==r&&hm(t.url))){const e=o&&i&&fm.read(i);e&&a.set(o,e)}return t},ym="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=vm(e);let o=r.data;const i=im.from(r.headers).normalize();let a,s,l,c,u,{responseType:d,onUploadProgress:p,onDownloadProgress:h}=r;function f(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=im.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());cm(function(e){t(e),f()},function(e){n(e),f()},{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new Ig("Request aborted",Ig.ECONNABORTED,e,g)),g=null)},g.onerror=function(t){const r=new Ig(t&&t.message?t.message:"Network Error",Ig.ERR_NETWORK,e,g);r.event=t||null,n(r),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Gg;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Ig(t,o.clarifyTimeoutError?Ig.ETIMEDOUT:Ig.ECONNABORTED,e,g)),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&Og.forEach(i.toJSON(),function(e,t){g.setRequestHeader(t,e)}),Og.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),d&&"json"!==d&&(g.responseType=r.responseType),h&&([l,u]=um(h,!0),g.addEventListener("progress",l)),p&&g.upload&&([s,c]=um(p),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{g&&(n(!t||t.type?new lm(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const b=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);b&&-1===Qg.protocols.indexOf(b)?n(new Ig("Unsupported protocol "+b+":",Ig.ERR_BAD_REQUEST,e)):g.send(o||null)})},Em=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Ig?t:new lm(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new Ig(`timeout ${t} of ms exceeded`,Ig.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=r;return s.unsubscribe=()=>Og.asap(a),s}},_m=function*(e,t){let n=e.byteLength;if(n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Sm=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},km=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Sm(e))yield*_m(n,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:Tm}=Og,wm=(({fetch:e,Request:t,Response:n})=>({fetch:e,Request:t,Response:n}))(Og.global),{ReadableStream:Am,TextEncoder:Cm}=Og.global,xm=(e,...t)=>{try{return!!e(...t)}catch(ro){return!1}},Om=e=>{const{fetch:t,Request:n,Response:r}=Object.assign({},wm,e),o=Tm(t),i=Tm(n),a=Tm(r);if(!o)return!1;const s=o&&Tm(Am),l=o&&("function"==typeof Cm?(c=new Cm,e=>c.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var c;const u=i&&s&&xm(()=>{let e=!1;const t=new n(Qg.origin,{body:new Am,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d=a&&s&&xm(()=>Og.isReadableStream(new r("").body)),p={stream:d&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!p[e]&&(p[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new Ig(`Response type '${e}' is not supported`,Ig.ERR_NOT_SUPPORT,n)})});const h=async(e,t)=>{const r=Og.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(Og.isBlob(e))return e.size;if(Og.isSpecCompliantForm(e)){const t=new n(Qg.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Og.isArrayBufferView(e)||Og.isArrayBuffer(e)?e.byteLength:(Og.isURLSearchParams(e)&&(e+=""),Og.isString(e)?(await l(e)).byteLength:void 0)})(t):r};return async e=>{let{url:o,method:a,data:s,signal:l,cancelToken:c,timeout:f,onDownloadProgress:g,onUploadProgress:m,responseType:b,headers:v,withCredentials:y="same-origin",fetchOptions:E}=vm(e);b=b?(b+"").toLowerCase():"text";let _=Em([l,c&&c.toAbortSignal()],f),S=null;const k=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let T;try{if(m&&u&&"get"!==a&&"head"!==a&&0!==(T=await h(v,s))){let e,t=new n(o,{method:"POST",body:s,duplex:"half"});if(Og.isFormData(s)&&(e=t.headers.get("content-type"))&&v.setContentType(e),t.body){const[e,n]=dm(T,um(pm(m)));s=km(t.body,65536,e,n)}}Og.isString(y)||(y=y?"include":"omit");const l=i&&"credentials"in n.prototype,c={...E,signal:_,method:a.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:"half",credentials:l?y:void 0};S=i&&new n(o,c);let f=await(i?t(S,E):t(o,c));const w=d&&("stream"===b||"response"===b);if(d&&(g||w&&k)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=f[t]});const t=Og.toFiniteNumber(f.headers.get("content-length")),[n,o]=g&&dm(t,um(pm(g),!0))||[];f=new r(km(f.body,65536,n,()=>{o&&o(),k&&k()}),e)}b=b||"text";let A=await p[Og.findKey(p,b)||"text"](f,e);return!w&&k&&k(),await new Promise((t,n)=>{cm(t,n,{data:A,headers:im.from(f.headers),status:f.status,statusText:f.statusText,config:e,request:S})})}catch(w){if(k&&k(),w&&"TypeError"===w.name&&/Load failed|fetch/i.test(w.message))throw Object.assign(new Ig("Network Error",Ig.ERR_NETWORK,e,S),{cause:w.cause||w});throw Ig.from(w,w&&w.code,e,S)}}},Im=new Map,Nm=e=>{let t=Og.merge.call({skipUndefined:!0},wm,e?e.env:null);const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let a,s,l=i.length,c=Im;for(;l--;)a=i[l],s=c.get(a),void 0===s&&c.set(a,s=l?new Map:Om(t)),c=s;return s};Nm();const Lm={http:null,xhr:ym,fetch:{get:Nm}};Og.forEach(Lm,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(ro){}Object.defineProperty(e,"adapterName",{value:t})}});const Dm=e=>`- ${e}`,Rm=e=>Og.isFunction(e)||null===e||!1===e,Mm=(e,t)=>{e=Og.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let a=0;a<n;a++){let n;if(r=e[a],o=r,!Rm(r)&&(o=Lm[(n=String(r)).toLowerCase()],void 0===o))throw new Ig(`Unknown adapter '${n}'`);if(o&&(Og.isFunction(o)||(o=o.get(t))))break;i[n||"#"+a]=o}if(!o){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new Ig("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(Dm).join("\n"):" "+Dm(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o};function Pm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lm(null,e)}function Bm(e){return Pm(e),e.headers=im.from(e.headers),e.data=am.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Mm(e.adapter||Jg.adapter,e)(e).then(function(t){return Pm(e),t.data=am.call(e,e.transformResponse,t),t.headers=im.from(t.headers),t},function(t){return sm(t)||(Pm(e),t&&t.response&&(t.response.data=am.call(e,e.transformResponse,t.response),t.response.headers=im.from(t.response.headers))),Promise.reject(t)})}const $m="1.12.0",Fm={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fm[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Hm={};Fm.transitional=function(e,t,n){function r(e,t){return"[Axios v"+$m+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Ig(r(o," has been removed"+(t?" in "+t:"")),Ig.ERR_DEPRECATED);return t&&!Hm[o]&&(Hm[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},Fm.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const zm={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Ig("options must be an object",Ig.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Ig("option "+i+" must be "+n,Ig.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new Ig("Unknown option "+i,Ig.ERR_BAD_OPTION)}},validators:Fm},Um=zm.validators;let jm=class{constructor(e){this.defaults=e||{},this.interceptors={request:new jg,response:new jg}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(ro){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=bm(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&zm.assertOptions(n,{silentJSONParsing:Um.transitional(Um.boolean),forcedJSONParsing:Um.transitional(Um.boolean),clarifyTimeoutError:Um.transitional(Um.boolean)},!1),null!=r&&(Og.isFunction(r)?t.paramsSerializer={serialize:r}:zm.assertOptions(r,{encode:Um.function,serialize:Um.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),zm.assertOptions(t,{baseUrl:Um.spelling("baseURL"),withXsrfToken:Um.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Og.merge(o.common,o[t.method]);o&&Og.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=im.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let u,d=0;if(!s){const e=[Bm.bind(this),void 0];for(e.unshift(...a),e.push(...l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let p=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{p=e(p)}catch(h){t.call(this,h);break}}try{c=Bm.call(this,p)}catch(h){return Promise.reject(h)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return Ug(gm((e=bm(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};Og.forEach(["delete","get","head","options"],function(e){jm.prototype[e]=function(t,n){return this.request(bm(n||{},{method:e,url:t,data:(n||{}).data}))}}),Og.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,o){return this.request(bm(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}jm.prototype[e]=t(),jm.prototype[e+"Form"]=t(!0)});const Gm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Gm).forEach(([e,t])=>{Gm[t]=e});const Wm=e("x",function e(t){const n=new jm(t),r=Ff(jm.prototype.request,n);return Og.extend(r,jm.prototype,n,{allOwnKeys:!0}),Og.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(bm(t,n))},r}(Jg));Wm.Axios=jm,Wm.CanceledError=lm,Wm.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new lm(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;const n=new e(function(e){t=e});return{token:n,cancel:t}}},Wm.isCancel=sm,Wm.VERSION=$m,Wm.toFormData=Bg,Wm.AxiosError=Ig,Wm.Cancel=Wm.CanceledError,Wm.all=function(e){return Promise.all(e)},Wm.spread=function(e){return function(t){return e.apply(null,t)}},Wm.isAxiosError=function(e){return Og.isObject(e)&&!0===e.isAxiosError},Wm.mergeConfig=bm,Wm.AxiosHeaders=im,Wm.formToJSON=e=>Zg(Og.isHTMLForm(e)?new FormData(e):e),Wm.getAdapter=Mm,Wm.HttpStatusCode=Gm,Wm.default=Wm;const{Axios:qm,AxiosError:Vm,CanceledError:Ym,isCancel:Km,CancelToken:Xm,VERSION:Qm,all:Zm,Cancel:Jm,isAxiosError:eb,spread:tb,toFormData:nb,AxiosHeaders:rb,HttpStatusCode:ob,formToJSON:ib,getAdapter:ab,mergeConfig:sb}=Wm,lb=e("bq",Wm.create({baseURL:wf+"/api",headers:{"Content-Type":"application/json;charset=utf-8"},withCredentials:!1}));lb.interceptors.request.use(e=>e,e=>(console.log("Error: "+e.message),Promise.reject(e))),lb.interceptors.response.use(e=>e.data,e=>(console.error(e),{code:Wm.isCancel(e)?-1:e.response?.status,message:e.message})),lb.defaults.headers.common.Authorization=localStorage.getItem("token")||"",e("cj",e=>{lb.defaults.headers.common.Authorization=e??"",localStorage.setItem("token",e??"")});var cb,ub={exports:{}},db={exports:{}},pb={},hb={};function fb(){if(cb)return hb;cb=1,hb.__esModule=!0,hb.extend=o,hb.indexOf=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},hb.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return n.test(e)?e.replace(t,r):e},hb.isEmpty=function(e){return!e&&0!==e||!(!s(e)||0!==e.length)},hb.createFrame=function(e){var t=o({},e);return t._parent=e,t},hb.blockParams=function(e,t){return e.path=t,e},hb.appendContextPath=function(e,t){return(e?e+".":"")+t};var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},t=/[&<>"'`=]/g,n=/[&<>"'`=]/;function r(t){return e[t]}function o(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var i=Object.prototype.toString;hb.toString=i;var a=function(e){return"function"==typeof e};a(/x/)&&(hb.isFunction=a=function(e){return"function"==typeof e&&"[object Function]"===i.call(e)}),hb.isFunction=a;var s=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===i.call(e)};return hb.isArray=s,hb}var gb,mb={exports:{}};function bb(){return gb||(gb=1,function(e,t){t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function r(e,t){var o=t&&t.loc,i=void 0,a=void 0,s=void 0,l=void 0;o&&(i=o.start.line,a=o.end.line,s=o.start.column,l=o.end.column,e+=" - "+i+":"+s);for(var c=Error.prototype.constructor.call(this,e),u=0;u<n.length;u++)this[n[u]]=c[n[u]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{o&&(this.lineNumber=i,this.endLineNumber=a,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:l,enumerable:!0})):(this.column=s,this.endColumn=l))}catch(d){}}r.prototype=new Error,t.default=r,e.exports=t.default}(mb,mb.exports)),mb.exports}var vb,yb,Eb,_b,Sb,kb,Tb,wb,Ab={},Cb={exports:{}},xb={exports:{}},Ob={exports:{}},Ib={exports:{}},Nb={exports:{}},Lb={exports:{}},Db={exports:{}};function Rb(){if(wb)return Ab;function e(e){return e&&e.__esModule?e:{default:e}}wb=1,Ab.__esModule=!0,Ab.registerDefaultHelpers=function(e){n.default(e),o.default(e),a.default(e),l.default(e),u.default(e),p.default(e),f.default(e)},Ab.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var t=(vb||(vb=1,function(e,t){t.__esModule=!0;var n=fb();t.default=function(e){e.registerHelper("blockHelperMissing",function(t,r){var o=r.inverse,i=r.fn;if(!0===t)return i(this);if(!1===t||null==t)return o(this);if(n.isArray(t))return t.length>0?(r.ids&&(r.ids=[r.name]),e.helpers.each(t,r)):o(this);if(r.data&&r.ids){var a=n.createFrame(r.data);a.contextPath=n.appendContextPath(r.data.contextPath,r.name),r={data:a}}return i(t,r)})},e.exports=t.default}(Cb,Cb.exports)),Cb.exports),n=e(t),r=(yb||(yb=1,function(e,t){t.__esModule=!0;var n,r=fb(),o=(n=bb())&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("each",function(e,t){if(!t)throw new o.default("Must pass iterator to #each");var n,i=t.fn,a=t.inverse,s=0,l="",c=void 0,u=void 0;function d(t,n,o){c&&(c.key=t,c.index=n,c.first=0===n,c.last=!!o,u&&(c.contextPath=u+t)),l+=i(e[t],{data:c,blockParams:r.blockParams([e[t],t],[u+t,null])})}if(t.data&&t.ids&&(u=r.appendContextPath(t.data.contextPath,t.ids[0])+"."),r.isFunction(e)&&(e=e.call(this)),t.data&&(c=r.createFrame(t.data)),e&&"object"==typeof e)if(r.isArray(e))for(var p=e.length;s<p;s++)s in e&&d(s,s,s===e.length-1);else if("function"==typeof Symbol&&e[Symbol.iterator]){for(var h=[],f=e[Symbol.iterator](),g=f.next();!g.done;g=f.next())h.push(g.value);for(p=(e=h).length;s<p;s++)d(s,s,s===e.length-1)}else n=void 0,Object.keys(e).forEach(function(e){void 0!==n&&d(n,s-1),n=e,s++}),void 0!==n&&d(n,s-1,!0);return 0===s&&(l=a(this)),l})},e.exports=t.default}(xb,xb.exports)),xb.exports),o=e(r),i=(Eb||(Eb=1,function(e,t){t.__esModule=!0;var n,r=(n=bb())&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new r.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default}(Ob,Ob.exports)),Ob.exports),a=e(i),s=(_b||(_b=1,function(e,t){t.__esModule=!0;var n,r=fb(),o=(n=bb())&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("if",function(e,t){if(2!=arguments.length)throw new o.default("#if requires exactly one argument");return r.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||r.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){if(2!=arguments.length)throw new o.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},e.exports=t.default}(Ib,Ib.exports)),Ib.exports),l=e(s),c=(Sb||(Sb=1,function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("log",function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),t[0]=o,e.log.apply(e,t)})},e.exports=t.default}(Nb,Nb.exports)),Nb.exports),u=e(c),d=(kb||(kb=1,function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",function(e,t,n){return e?n.lookupProperty(e,t):e})},e.exports=t.default}(Lb,Lb.exports)),Lb.exports),p=e(d),h=(Tb||(Tb=1,function(e,t){t.__esModule=!0;var n,r=fb(),o=(n=bb())&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("with",function(e,t){if(2!=arguments.length)throw new o.default("#with requires exactly one argument");r.isFunction(e)&&(e=e.call(this));var n=t.fn;if(r.isEmpty(e))return t.inverse(this);var i=t.data;return t.data&&t.ids&&((i=r.createFrame(t.data)).contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:i,blockParams:r.blockParams([e],[i&&i.contextPath])})})},e.exports=t.default}(Db,Db.exports)),Db.exports),f=e(h);return Ab}var Mb,Pb,Bb={},$b={exports:{}};function Fb(){if(Pb)return Bb;Pb=1,Bb.__esModule=!0,Bb.registerDefaultDecorators=function(e){n.default(e)};var e,t=(Mb||(Mb=1,function(e,t){t.__esModule=!0;var n=fb();t.default=function(e){e.registerDecorator("inline",function(e,t,r,o){var i=e;return t.partials||(t.partials={},i=function(o,i){var a=r.partials;r.partials=n.extend({},a,t.partials);var s=e(o,i);return r.partials=a,s}),t.partials[o.args[0]]=o.fn,i})},e.exports=t.default}($b,$b.exports)),$b.exports),n=(e=t)&&e.__esModule?e:{default:e};return Bb}var Hb,zb={exports:{}};function Ub(){return Hb||(Hb=1,function(e,t){t.__esModule=!0;var n=fb(),r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=n.indexOf(r.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=r.lookupLevel(e),"undefined"!=typeof console&&r.lookupLevel(r.level)<=e){var t=r.methodMap[e];console[t]||(t="log");for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];console[t].apply(console,o)}}};t.default=r,e.exports=t.default}(zb,zb.exports)),zb.exports}var jb,Gb,Wb,qb={},Vb={};function Yb(){if(Gb)return qb;Gb=1,qb.__esModule=!0,qb.createProtoAccessControl=function(e){var n=Object.create(null);n.constructor=!1,n.__defineGetter__=!1,n.__defineSetter__=!1,n.__lookupGetter__=!1;var r=Object.create(null);return r.__proto__=!1,{properties:{whitelist:t.createNewLookupObject(r,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:t.createNewLookupObject(n,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},qb.resultIsAllowed=function(e,t,n){return i("function"==typeof e?t.methods:t.properties,n)},qb.resetLoggedProperties=function(){Object.keys(o).forEach(function(e){delete o[e]})};var e,t=function(){if(jb)return Vb;jb=1,Vb.__esModule=!0,Vb.createNewLookupObject=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.extend.apply(void 0,[Object.create(null)].concat(n))};var e=fb();return Vb}(),n=Ub(),r=(e=n)&&e.__esModule?e:{default:e},o=Object.create(null);function i(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==o[e]&&(o[e]=!0,r.default.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}return qb}function Kb(){if(Wb)return pb;function e(e){return e&&e.__esModule?e:{default:e}}Wb=1,pb.__esModule=!0,pb.HandlebarsEnvironment=l;var t=fb(),n=e(bb()),r=Rb(),o=Fb(),i=e(Ub()),a=Yb();pb.VERSION="4.7.8",pb.COMPILER_REVISION=8,pb.LAST_COMPATIBLE_COMPILER_REVISION=7,pb.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var s="[object Object]";function l(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},r.registerDefaultHelpers(this),o.registerDefaultDecorators(this)}l.prototype={constructor:l,logger:i.default,log:i.default.log,registerHelper:function(e,r){if(t.toString.call(e)===s){if(r)throw new n.default("Arg not supported with multiple helpers");t.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,r){if(t.toString.call(e)===s)t.extend(this.partials,e);else{if(void 0===r)throw new n.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,r){if(t.toString.call(e)===s){if(r)throw new n.default("Arg not supported with multiple decorators");t.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){a.resetLoggedProperties()}};var c=i.default.log;return pb.log=c,pb.createFrame=t.createFrame,pb.logger=i.default,pb}var Xb,Qb,Zb,Jb={exports:{}},ev={},tv={};function nv(){if(Zb)return ev;Zb=1,ev.__esModule=!0,ev.checkRevision=function(e){var t=e&&e[0]||1,n=o.COMPILER_REVISION;if(!(t>=o.LAST_COMPATIBLE_COMPILER_REVISION&&t<=o.COMPILER_REVISION)){if(t<o.LAST_COMPATIBLE_COMPILER_REVISION){var i=o.REVISION_CHANGES[n],a=o.REVISION_CHANGES[t];throw new r.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+i+") or downgrade your runtime to an older version ("+a+").")}throw new r.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}},ev.template=function(e,n){if(!n)throw new r.default("No environment passed to template");if(!e||!e.main)throw new r.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,n.VM.checkRevision(e.compiler);var c=e.compiler&&7===e.compiler[0],d={strict:function(e,t,n){if(!e||!(t in e))throw new r.default('"'+t+'" not defined in '+e,{loc:n});return d.lookupProperty(e,t)},lookupProperty:function(e,t){var n=e[t];return null==n||Object.prototype.hasOwnProperty.call(e,t)||s.resultIsAllowed(n,d.protoAccessControl,t)?n:void 0},lookup:function(e,t){for(var n=e.length,r=0;r<n;r++)if(null!=(e[r]&&d.lookupProperty(e[r],t)))return e[r][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:t.escapeExpression,invokePartial:function(o,i,a){a.hash&&(i=t.extend({},i,a.hash),a.ids&&(a.ids[0]=!0)),o=n.VM.resolvePartial.call(this,o,i,a);var s=t.extend({},a,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),l=n.VM.invokePartial.call(this,o,i,s);if(null==l&&n.compile&&(a.partials[a.name]=n.compile(o,e.compilerOptions,n),l=a.partials[a.name](i,s)),null!=l){if(a.indent){for(var c=l.split("\n"),u=0,d=c.length;u<d&&(c[u]||u+1!==d);u++)c[u]=a.indent+c[u];l=c.join("\n")}return l}throw new r.default("The partial "+a.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,r,o){var i=this.programs[e],a=this.fn(e);return t||o||r||n?i=l(this,e,a,t,n,r,o):i||(i=this.programs[e]=l(this,e,a)),i},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,n){var r=e||n;return e&&n&&e!==n&&(r=t.extend({},n,e)),r},nullContext:Object.seal({}),noop:n.VM.noop,compilerInfo:e.compiler};function p(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=n.data;p._setup(n),!n.partial&&e.useData&&(r=function(e,t){return t&&"root"in t||((t=t?o.createFrame(t):{}).root=e),t}(t,r));var i=void 0,a=e.useBlockParams?[]:void 0;function s(t){return""+e.main(d,t,d.helpers,d.partials,r,a,i)}return e.useDepths&&(i=n.depths?t!=n.depths[0]?[t].concat(n.depths):n.depths:[t]),(s=u(e.main,s,d,n.depths||[],r,a))(t,n)}return p.isTop=!0,p._setup=function(r){if(r.partial)d.protoAccessControl=r.protoAccessControl,d.helpers=r.helpers,d.partials=r.partials,d.decorators=r.decorators,d.hooks=r.hooks;else{var o=t.extend({},n.helpers,r.helpers);!function(e,n){Object.keys(e).forEach(function(r){var o=e[r];e[r]=function(e,n){var r=n.lookupProperty;return a.wrapHelper(e,function(e){return t.extend({lookupProperty:r},e)})}(o,n)})}(o,d),d.helpers=o,e.usePartial&&(d.partials=d.mergeIfNeeded(r.partials,n.partials)),(e.usePartial||e.useDecorators)&&(d.decorators=t.extend({},n.decorators,r.decorators)),d.hooks={},d.protoAccessControl=s.createProtoAccessControl(r);var l=r.allowCallsToHelperMissing||c;i.moveHelperToHooks(d,"helperMissing",l),i.moveHelperToHooks(d,"blockHelperMissing",l)}},p._child=function(t,n,o,i){if(e.useBlockParams&&!o)throw new r.default("must pass block params");if(e.useDepths&&!i)throw new r.default("must pass parent depths");return l(d,t,e[t],n,0,o,i)},p},ev.wrapProgram=l,ev.resolvePartial=function(e,t,n){return e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],e},ev.invokePartial=function(e,n,i){var a=i.data&&i.data["partial-block"];i.partial=!0,i.ids&&(i.data.contextPath=i.ids[0]||i.data.contextPath);var s=void 0;if(i.fn&&i.fn!==c&&function(){i.data=o.createFrame(i.data);var e=i.fn;s=i.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=o.createFrame(n.data),n.data["partial-block"]=a,e(t,n)},e.partials&&(i.partials=t.extend({},i.partials,e.partials))}(),void 0===e&&s&&(e=s),void 0===e)throw new r.default("The partial "+i.name+" could not be found");if(e instanceof Function)return e(n,i)},ev.noop=c;var e,t=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(fb()),n=bb(),r=(e=n)&&e.__esModule?e:{default:e},o=Kb(),i=Rb(),a=(Qb||(Qb=1,tv.__esModule=!0,tv.wrapHelper=function(e,t){return"function"!=typeof e?e:function(){return arguments[arguments.length-1]=t(arguments[arguments.length-1]),e.apply(this,arguments)}}),tv),s=Yb();function l(e,t,n,r,o,i,a){function s(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return!a||t==a[0]||t===e.nullContext&&null===a[0]||(s=[t].concat(a)),n(e,t,e.helpers,e.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return(s=u(n,s,e,a,r,i)).program=t,s.depth=a?a.length:0,s.blockParams=o||0,s}function c(){return""}function u(e,n,r,o,i,a){if(e.decorator){var s={};n=e.decorator(n,s,r,o&&o[0],i,a,o),t.extend(n,s)}return n}return ev}var rv,ov,iv={exports:{}};function av(){return rv||(rv=1,function(e,t){t.__esModule=!0,t.default=function(e){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var t=globalThis.Handlebars;e.noConflict=function(){return globalThis.Handlebars===e&&(globalThis.Handlebars=t),e}},e.exports=t.default}(iv,iv.exports)),iv.exports}function sv(){return ov||(ov=1,function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var o=r(Kb()),i=(Xb||(Xb=1,function(e,t){function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default}(Jb,Jb.exports)),Jb.exports),a=n(i),s=n(bb()),l=r(fb()),c=r(nv()),u=n(av());function d(){var e=new o.HandlebarsEnvironment;return l.extend(e,o),e.SafeString=a.default,e.Exception=s.default,e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var p=d();p.create=d,u.default(p),p.default=p,t.default=p,e.exports=t.default}(db,db.exports)),db.exports}var lv,cv={exports:{}};function uv(){return lv||(lv=1,function(e,t){t.__esModule=!0;var n={helpers:{helperExpression:function(e){return"SubExpression"===e.type||("MustacheStatement"===e.type||"BlockStatement"===e.type)&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return 1===e.parts.length&&!n.helpers.scopedId(e)&&!e.depth}}};t.default=n,e.exports=t.default}(cv,cv.exports)),cv.exports}var dv,pv,hv,fv={},gv={exports:{}},mv={exports:{}},bv={exports:{}};function vv(){return pv||(pv=1,function(e,t){t.__esModule=!0;var n,r=bb(),o=(n=r)&&n.__esModule?n:{default:n};function i(){this.parents=[]}function a(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")}function s(e){a.call(this,e),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")}function l(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")}i.prototype={constructor:i,mutating:!1,acceptKey:function(e,t){var n=this.accept(e[t]);if(this.mutating){if(n&&!i.prototype[n.type])throw new o.default('Unexpected node type "'+n.type+'" found when accepting '+t+" on "+e.type);e[t]=n}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new o.default(e.type+" requires "+t)},acceptArray:function(e){for(var t=0,n=e.length;t<n;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,n--)},accept:function(e){if(e){if(!this[e.type])throw new o.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);return this.current=this.parents.shift(),!this.mutating||t?t:!1!==t?e:void 0}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:a,Decorator:a,BlockStatement:s,DecoratorBlock:s,PartialStatement:l,PartialBlockStatement:function(e){l.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:a,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}},t.default=i,e.exports=t.default}(bv,bv.exports)),bv.exports}var yv,Ev,_v={};function Sv(){if(Ev)return fv;function e(e){return e&&e.__esModule?e:{default:e}}Ev=1,fv.__esModule=!0,fv.parseWithoutProcessing=c,fv.parse=function(e,t){var n=c(e,t);return new o.default(t).accept(n)};var t=(dv||(dv=1,function(e,t){t.__esModule=!0;var n=function(){var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(e,t,n,r,o,i,a){var s=i.length-1;switch(o){case 1:return i[s-1];case 2:this.$=r.prepareProgram(i[s]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:case 40:case 41:this.$=i[s];break;case 9:this.$={type:"CommentStatement",value:r.stripComment(i[s]),strip:r.stripFlags(i[s],i[s]),loc:r.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:i[s],value:i[s],loc:r.locInfo(this._$)};break;case 11:this.$=r.prepareRawBlock(i[s-2],i[s-1],i[s],this._$);break;case 12:this.$={path:i[s-3],params:i[s-2],hash:i[s-1]};break;case 13:this.$=r.prepareBlock(i[s-3],i[s-2],i[s-1],i[s],!1,this._$);break;case 14:this.$=r.prepareBlock(i[s-3],i[s-2],i[s-1],i[s],!0,this._$);break;case 15:this.$={open:i[s-5],path:i[s-4],params:i[s-3],hash:i[s-2],blockParams:i[s-1],strip:r.stripFlags(i[s-5],i[s])};break;case 16:case 17:this.$={path:i[s-4],params:i[s-3],hash:i[s-2],blockParams:i[s-1],strip:r.stripFlags(i[s-5],i[s])};break;case 18:this.$={strip:r.stripFlags(i[s-1],i[s-1]),program:i[s]};break;case 19:var l=r.prepareBlock(i[s-2],i[s-1],i[s],i[s],!1,this._$),c=r.prepareProgram([l],i[s-1].loc);c.chained=!0,this.$={strip:i[s-2].strip,program:c,chain:!0};break;case 21:this.$={path:i[s-1],strip:r.stripFlags(i[s-2],i[s])};break;case 22:case 23:this.$=r.prepareMustache(i[s-3],i[s-2],i[s-1],i[s-4],r.stripFlags(i[s-4],i[s]),this._$);break;case 24:this.$={type:"PartialStatement",name:i[s-3],params:i[s-2],hash:i[s-1],indent:"",strip:r.stripFlags(i[s-4],i[s]),loc:r.locInfo(this._$)};break;case 25:this.$=r.preparePartialBlock(i[s-2],i[s-1],i[s],this._$);break;case 26:this.$={path:i[s-3],params:i[s-2],hash:i[s-1],strip:r.stripFlags(i[s-4],i[s])};break;case 29:this.$={type:"SubExpression",path:i[s-3],params:i[s-2],hash:i[s-1],loc:r.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:i[s],loc:r.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:r.id(i[s-2]),value:i[s],loc:r.locInfo(this._$)};break;case 32:this.$=r.id(i[s-1]);break;case 35:this.$={type:"StringLiteral",value:i[s],original:i[s],loc:r.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(i[s]),original:Number(i[s]),loc:r.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===i[s],original:"true"===i[s],loc:r.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:r.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:r.locInfo(this._$)};break;case 42:this.$=r.preparePath(!0,i[s],this._$);break;case 43:this.$=r.preparePath(!1,i[s],this._$);break;case 44:i[s-2].push({part:r.id(i[s]),original:i[s],separator:i[s-1]}),this.$=i[s-2];break;case 45:this.$=[{part:r.id(i[s]),original:i[s]}];break;case 46:case 48:case 50:case 58:case 64:case 70:case 78:case 82:case 86:case 90:case 94:this.$=[];break;case 47:case 49:case 51:case 59:case 65:case 71:case 79:case 83:case 87:case 91:case 95:case 99:case 101:i[s-1].push(i[s]);break;case 98:case 100:this.$=[i[s]]}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],o=[],i=this.table,a="",s=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var c=this.lexer.yylloc;o.push(c);var u=this.lexer.options&&this.lexer.options.ranges;function d(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var p,h,f,g,m,b,v,y,E={};;){if(h=n[n.length-1],this.defaultActions[h]?f=this.defaultActions[h]:(null==p&&(p=d()),f=i[h]&&i[h][p]),void 0===f||!f.length||!f[0]){var _="";for(m in y=[],i[h])this.terminals_[m]&&m>2&&y.push("'"+this.terminals_[m]+"'");_=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+y.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(_,{text:this.lexer.match,token:this.terminals_[p]||p,line:this.lexer.yylineno,loc:c,expected:y})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+h+", token: "+p);switch(f[0]){case 1:n.push(p),r.push(this.lexer.yytext),o.push(this.lexer.yylloc),n.push(f[1]),p=null,l=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,c=this.lexer.yylloc;break;case 2:if(b=this.productions_[f[1]][1],E.$=r[r.length-b],E._$={first_line:o[o.length-(b||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(b||1)].first_column,last_column:o[o.length-1].last_column},u&&(E._$.range=[o[o.length-(b||1)].range[0],o[o.length-1].range[1]]),void 0!==(g=this.performAction.call(E,a,l,s,this.yy,f[1],r,o)))return g;b&&(n=n.slice(0,-1*b*2),r=r.slice(0,-1*b),o=o.slice(0,-1*b)),n.push(this.productions_[f[1]][0]),r.push(E.$),o.push(E._$),v=i[n[n.length-2]][n[n.length-1]],n.push(v);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t,n,r,o;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length&&(!(n=this._input.match(this.rules[i[a]]))||t&&!(n[0].length>t[0].length)||(t=n,r=a,this.options.flex));a++);return t?((o=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},options:{},performAction:function(e,t,n,r){function o(e,n){return t.yytext=t.yytext.substring(e,t.yyleng-n+e)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(o(5,9),"END_RAW_BLOCK");case 6:case 22:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:case 23:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 24:return 73;case 25:case 26:case 41:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return e}();function n(){this.yy={}}return e.lexer=t,n.prototype=e,e.Parser=n,new n}();t.default=n,e.exports=t.default}(gv,gv.exports)),gv.exports),n=e(t),r=(hv||(hv=1,function(e,t){t.__esModule=!0;var n,r=(n=vv())&&n.__esModule?n:{default:n};function o(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=e}function i(e,t,n){void 0===t&&(t=e.length);var r=e[t-1],o=e[t-2];return r?"ContentStatement"===r.type?(o||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:n}function a(e,t,n){void 0===t&&(t=-1);var r=e[t+1],o=e[t+2];return r?"ContentStatement"===r.type?(o||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:n}function s(e,t,n){var r=e[null==t?0:t+1];if(r&&"ContentStatement"===r.type&&(n||!r.rightStripped)){var o=r.value;r.value=r.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==o}}function l(e,t,n){var r=e[null==t?e.length-1:t-1];if(r&&"ContentStatement"===r.type&&(n||!r.leftStripped)){var o=r.value;return r.value=r.value.replace(n?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==o,r.leftStripped}}o.prototype=new r.default,o.prototype.Program=function(e){var t=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var r=e.body,o=0,c=r.length;o<c;o++){var u=r[o],d=this.accept(u);if(d){var p=i(r,o,n),h=a(r,o,n),f=d.openStandalone&&p,g=d.closeStandalone&&h,m=d.inlineStandalone&&p&&h;d.close&&s(r,o,!0),d.open&&l(r,o,!0),t&&m&&(s(r,o),l(r,o)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(r[o-1].original)[1])),t&&f&&(s((u.program||u.inverse).body),l(r,o)),t&&g&&(s(r,o),l((u.inverse||u.program).body))}}return e},o.prototype.BlockStatement=o.prototype.DecoratorBlock=o.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,n=e.program&&e.inverse,r=n,o=n;if(n&&n.chained)for(r=n.body[0].program;o.chained;)o=o.body[o.body.length-1].program;var c={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:a(t.body),closeStandalone:i((r||t).body)};if(e.openStrip.close&&s(t.body,null,!0),n){var u=e.inverseStrip;u.open&&l(t.body,null,!0),u.close&&s(r.body,null,!0),e.closeStrip.open&&l(o.body,null,!0),!this.options.ignoreStandalone&&i(t.body)&&a(r.body)&&(l(t.body),s(r.body))}else e.closeStrip.open&&l(t.body,null,!0);return c},o.prototype.Decorator=o.prototype.MustacheStatement=function(e){return e.strip},o.prototype.PartialStatement=o.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t.default=o,e.exports=t.default}(mv,mv.exports)),mv.exports),o=e(r),i=function(){if(yv)return _v;yv=1,_v.__esModule=!0,_v.SourceLocation=function(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}},_v.id=function(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e},_v.stripFlags=function(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}},_v.stripComment=function(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},_v.preparePath=function(e,t,r){r=this.locInfo(r);for(var o=e?"@":"",i=[],a=0,s=0,l=t.length;s<l;s++){var c=t[s].part,u=t[s].original!==c;if(o+=(t[s].separator||"")+c,u||".."!==c&&"."!==c&&"this"!==c)i.push(c);else{if(i.length>0)throw new n.default("Invalid path: "+o,{loc:r});".."===c&&a++}}return{type:"PathExpression",data:e,depth:a,parts:i,original:o,loc:r}},_v.prepareMustache=function(e,t,n,r,o,i){var a=r.charAt(3)||r.charAt(2),s="{"!==a&&"&"!==a;return{type:/\*/.test(r)?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:s,strip:o,loc:this.locInfo(i)}},_v.prepareRawBlock=function(e,t,n,o){r(e,n);var i={type:"Program",body:t,strip:{},loc:o=this.locInfo(o)};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:o}},_v.prepareBlock=function(e,t,o,i,a,s){i&&i.path&&r(e,i);var l=/\*/.test(e.open);t.blockParams=e.blockParams;var c=void 0,u=void 0;if(o){if(l)throw new n.default("Unexpected inverse block on decorator",o);o.chain&&(o.program.body[0].closeStrip=i.strip),u=o.strip,c=o.program}return a&&(a=c,c=t,t=a),{type:l?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:c,openStrip:e.strip,inverseStrip:u,closeStrip:i&&i.strip,loc:this.locInfo(s)}},_v.prepareProgram=function(e,t){if(!t&&e.length){var n=e[0].loc,r=e[e.length-1].loc;n&&r&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:r.end.line,column:r.end.column}})}return{type:"Program",body:e,strip:{},loc:t}},_v.preparePartialBlock=function(e,t,n,o){return r(e,n),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(o)}};var e,t=bb(),n=(e=t)&&e.__esModule?e:{default:e};function r(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var r={loc:e.path.loc};throw new n.default(e.path.original+" doesn't match "+t,r)}}return _v}(),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),s=fb();fv.parser=n.default;var l={};function c(e,t){return"Program"===e.type?e:(n.default.yy=l,l.locInfo=function(e){return new l.SourceLocation(t&&t.srcName,e)},n.default.parse(e))}return s.extend(l,a),fv}var kv,Tv,wv,Av={},Cv={exports:{}},xv={exports:{}},Ov={},Iv={},Nv={},Lv={};function Dv(){if(Tv)return Lv;Tv=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Lv.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},Lv.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1},Lv}function Rv(){if(wv)return Nv;wv=1;var e=Dv();return Nv.encode=function(t){var n,r="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(t);do{n=31&o,(o>>>=5)>0&&(n|=32),r+=e.encode(n)}while(o>0);return r},Nv.decode=function(t,n,r){var o,i,a,s,l=t.length,c=0,u=0;do{if(n>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=e.decode(t.charCodeAt(n++))))throw new Error("Invalid base64 digit: "+t.charAt(n-1));o=!!(32&i),c+=(i&=31)<<u,u+=5}while(o);r.value=(s=(a=c)>>1,1&~a?s:-s),r.rest=n},Nv}var Mv,Pv={};function Bv(){return Mv||(Mv=1,function(e){e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function r(e){var n=e.match(t);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(t){var n=t,i=r(t);if(i){if(!i.path)return t;n=i.path}for(var a,s=e.isAbsolute(n),l=n.split(/\/+/),c=0,u=l.length-1;u>=0;u--)"."===(a=l[u])?l.splice(u,1):".."===a?c++:c>0&&(""===a?(l.splice(u+1,c),c=0):(l.splice(u,2),c--));return""===(n=l.join("/"))&&(n=s?"/":"."),i?(i.path=n,o(i)):n}function a(e,t){""===e&&(e="."),""===t&&(t=".");var a=r(t),s=r(e);if(s&&(e=s.path||"/"),a&&!a.scheme)return s&&(a.scheme=s.scheme),o(a);if(a||t.match(n))return t;if(s&&!s.host&&!s.path)return s.host=t,o(s);var l="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=l,o(s)):l}e.urlParse=r,e.urlGenerate=o,e.normalize=i,e.join=a,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var s=!("__proto__"in Object.create(null));function l(e){return e}function c(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function u(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=s?l:function(e){return c(e)?"$"+e:e},e.fromSetString=s?l:function(e){return c(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){var r=u(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:u(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=u(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:u(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=u(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:u(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var s=r(n);if(!s)throw new Error("sourceMapURL could not be parsed");if(s.path){var l=s.path.lastIndexOf("/");l>=0&&(s.path=s.path.substring(0,l+1))}t=a(o(s),t)}return i(t)}}(Pv)),Pv}var $v,Fv={};function Hv(){if($v)return Fv;$v=1;var e=Bv(),t=Object.prototype.hasOwnProperty,n="undefined"!=typeof Map;function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;o<i;o++)n.add(e[o],t);return n},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,o){var i=n?r:e.toSetString(r),a=n?this.has(r):t.call(this._set,i),s=this._array.length;a&&!o||this._array.push(r),a||(n?this._set.set(r,s):this._set[i]=s)},r.prototype.has=function(r){if(n)return this._set.has(r);var o=e.toSetString(r);return t.call(this._set,o)},r.prototype.indexOf=function(r){if(n){var o=this._set.get(r);if(o>=0)return o}else{var i=e.toSetString(r);if(t.call(this._set,i))return this._set[i]}throw new Error('"'+r+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},Fv.ArraySet=r,Fv}var zv,Uv,jv={};function Gv(){if(zv)return jv;zv=1;var e=Bv();function t(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return t.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},t.prototype.add=function(t){var n,r,o,i,a,s;n=this._last,r=t,o=n.generatedLine,i=r.generatedLine,a=n.generatedColumn,s=r.generatedColumn,i>o||i==o&&s>=a||e.compareByGeneratedPositionsInflated(n,r)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},t.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},jv.MappingList=t,jv}function Wv(){if(Uv)return Iv;Uv=1;var e=Rv(),t=Bv(),n=Hv().ArraySet,r=Gv().MappingList;function o(e){e||(e={}),this._file=t.getArg(e,"file",null),this._sourceRoot=t.getArg(e,"sourceRoot",null),this._skipValidation=t.getArg(e,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(e){var n=e.sourceRoot,r=new o({file:e.file,sourceRoot:n});return e.eachMapping(function(e){var o={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(o.source=e.source,null!=n&&(o.source=t.relative(n,o.source)),o.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(o.name=e.name)),r.addMapping(o)}),e.sources.forEach(function(o){var i=o;null!==n&&(i=t.relative(n,o)),r._sources.has(i)||r._sources.add(i);var a=e.sourceContentFor(o);null!=a&&r.setSourceContent(o,a)}),r},o.prototype.addMapping=function(e){var n=t.getArg(e,"generated"),r=t.getArg(e,"original",null),o=t.getArg(e,"source",null),i=t.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,r,o,i),null!=o&&(o=String(o),this._sources.has(o)||this._sources.add(o)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:o,name:i})},o.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=t.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(e,r,o){var i=r;if(null==r){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');i=e.file}var a=this._sourceRoot;null!=a&&(i=t.relative(a,i));var s=new n,l=new n;this._mappings.unsortedForEach(function(n){if(n.source===i&&null!=n.originalLine){var r=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=r.source&&(n.source=r.source,null!=o&&(n.source=t.join(o,n.source)),null!=a&&(n.source=t.relative(a,n.source)),n.originalLine=r.line,n.originalColumn=r.column,null!=r.name&&(n.name=r.name))}var c=n.source;null==c||s.has(c)||s.add(c);var u=n.name;null==u||l.has(u)||l.add(u)},this),this._sources=s,this._names=l,e.sources.forEach(function(n){var r=e.sourceContentFor(n);null!=r&&(null!=o&&(n=t.join(o,n)),null!=a&&(n=t.relative(a,n)),this.setSourceContent(n,r))},this)},o.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},o.prototype._serializeMappings=function(){for(var n,r,o,i,a=0,s=1,l=0,c=0,u=0,d=0,p="",h=this._mappings.toArray(),f=0,g=h.length;f<g;f++){if(n="",(r=h[f]).generatedLine!==s)for(a=0;r.generatedLine!==s;)n+=";",s++;else if(f>0){if(!t.compareByGeneratedPositionsInflated(r,h[f-1]))continue;n+=","}n+=e.encode(r.generatedColumn-a),a=r.generatedColumn,null!=r.source&&(i=this._sources.indexOf(r.source),n+=e.encode(i-d),d=i,n+=e.encode(r.originalLine-1-c),c=r.originalLine-1,n+=e.encode(r.originalColumn-l),l=r.originalColumn,null!=r.name&&(o=this._names.indexOf(r.name),n+=e.encode(o-u),u=o)),p+=n}return p},o.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=t.relative(n,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},o.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},Iv.SourceMapGenerator=o,Iv}var qv,Vv={},Yv={};function Kv(){return qv||(qv=1,function(e){function t(n,r,o,i,a,s){var l=Math.floor((r-n)/2)+n,c=a(o,i[l],!0);return 0===c?l:c>0?r-l>1?t(l,r,o,i,a,s):s==e.LEAST_UPPER_BOUND?r<i.length?r:-1:l:l-n>1?t(n,l,o,i,a,s):s==e.LEAST_UPPER_BOUND?l:n<0?-1:n}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(n,r,o,i){if(0===r.length)return-1;var a=t(-1,r.length,n,r,o,i||e.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===o(r[a],r[a-1],!0);)--a;return a}}(Yv)),Yv}var Xv,Qv,Zv={};function Jv(){if(Xv)return Zv;function e(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function t(n,r,o,i){if(o<i){var a=o-1;e(n,(u=o,d=i,Math.round(u+Math.random()*(d-u))),i);for(var s=n[i],l=o;l<i;l++)r(n[l],s)<=0&&e(n,a+=1,l);e(n,a+1,l);var c=a+1;t(n,r,o,c-1),t(n,r,c+1,i)}var u,d}return Xv=1,Zv.quickSort=function(e,n){t(e,n,0,e.length-1)},Zv}var ey,ty,ny,ry,oy,iy={};function ay(){return ty||(ty=1,Ov.SourceMapGenerator=Wv().SourceMapGenerator,Ov.SourceMapConsumer=function(){if(Qv)return Vv;Qv=1;var e=Bv(),t=Kv(),n=Hv().ArraySet,r=Rv(),o=Jv().quickSort;function i(t,n){var r=t;return"string"==typeof t&&(r=e.parseSourceMapInput(t)),null!=r.sections?new l(r,n):new a(r,n)}function a(t,r){var o=t;"string"==typeof t&&(o=e.parseSourceMapInput(t));var i=e.getArg(o,"version"),a=e.getArg(o,"sources"),s=e.getArg(o,"names",[]),l=e.getArg(o,"sourceRoot",null),c=e.getArg(o,"sourcesContent",null),u=e.getArg(o,"mappings"),d=e.getArg(o,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);l&&(l=e.normalize(l)),a=a.map(String).map(e.normalize).map(function(t){return l&&e.isAbsolute(l)&&e.isAbsolute(t)?e.relative(l,t):t}),this._names=n.fromArray(s.map(String),!0),this._sources=n.fromArray(a,!0),this._absoluteSources=this._sources.toArray().map(function(t){return e.computeSourceURL(l,t,r)}),this.sourceRoot=l,this.sourcesContent=c,this._mappings=u,this._sourceMapURL=r,this.file=d}function s(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function l(t,r){var o=t;"string"==typeof t&&(o=e.parseSourceMapInput(t));var a=e.getArg(o,"version"),s=e.getArg(o,"sections");if(a!=this._version)throw new Error("Unsupported version: "+a);this._sources=new n,this._names=new n;var l={line:-1,column:0};this._sections=s.map(function(t){if(t.url)throw new Error("Support for url field in sections not implemented.");var n=e.getArg(t,"offset"),o=e.getArg(n,"line"),a=e.getArg(n,"column");if(o<l.line||o===l.line&&a<l.column)throw new Error("Section offsets must be ordered and non-overlapping.");return l=n,{generatedOffset:{generatedLine:o+1,generatedColumn:a+1},consumer:new i(e.getArg(t,"map"),r)}})}return i.fromSourceMap=function(e,t){return a.fromSourceMap(e,t)},i.prototype._version=3,i.prototype.__generatedMappings=null,Object.defineProperty(i.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),i.prototype.__originalMappings=null,Object.defineProperty(i.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),i.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},i.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},i.GENERATED_ORDER=1,i.ORIGINAL_ORDER=2,i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2,i.prototype.eachMapping=function(t,n,r){var o,a=n||null;switch(r||i.GENERATED_ORDER){case i.GENERATED_ORDER:o=this._generatedMappings;break;case i.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;o.map(function(t){var n=null===t.source?null:this._sources.at(t.source);return{source:n=e.computeSourceURL(s,n,this._sourceMapURL),generatedLine:t.generatedLine,generatedColumn:t.generatedColumn,originalLine:t.originalLine,originalColumn:t.originalColumn,name:null===t.name?null:this._names.at(t.name)}},this).forEach(t,a)},i.prototype.allGeneratedPositionsFor=function(n){var r=e.getArg(n,"line"),o={source:e.getArg(n,"source"),originalLine:r,originalColumn:e.getArg(n,"column",0)};if(o.source=this._findSourceIndex(o.source),o.source<0)return[];var i=[],a=this._findMapping(o,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(void 0===n.column)for(var l=s.originalLine;s&&s.originalLine===l;)i.push({line:e.getArg(s,"generatedLine",null),column:e.getArg(s,"generatedColumn",null),lastColumn:e.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var c=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==c;)i.push({line:e.getArg(s,"generatedLine",null),column:e.getArg(s,"generatedColumn",null),lastColumn:e.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return i},Vv.SourceMapConsumer=i,a.prototype=Object.create(i.prototype),a.prototype.consumer=i,a.prototype._findSourceIndex=function(t){var n,r=t;if(null!=this.sourceRoot&&(r=e.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(n=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==t)return n;return-1},a.fromSourceMap=function(t,r){var i=Object.create(a.prototype),l=i._names=n.fromArray(t._names.toArray(),!0),c=i._sources=n.fromArray(t._sources.toArray(),!0);i.sourceRoot=t._sourceRoot,i.sourcesContent=t._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=t._file,i._sourceMapURL=r,i._absoluteSources=i._sources.toArray().map(function(t){return e.computeSourceURL(i.sourceRoot,t,r)});for(var u=t._mappings.toArray().slice(),d=i.__generatedMappings=[],p=i.__originalMappings=[],h=0,f=u.length;h<f;h++){var g=u[h],m=new s;m.generatedLine=g.generatedLine,m.generatedColumn=g.generatedColumn,g.source&&(m.source=c.indexOf(g.source),m.originalLine=g.originalLine,m.originalColumn=g.originalColumn,g.name&&(m.name=l.indexOf(g.name)),p.push(m)),d.push(m)}return o(i.__originalMappings,e.compareByOriginalPositions),i},a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),a.prototype._parseMappings=function(t,n){for(var i,a,l,c,u,d=1,p=0,h=0,f=0,g=0,m=0,b=t.length,v=0,y={},E={},_=[],S=[];v<b;)if(";"===t.charAt(v))d++,v++,p=0;else if(","===t.charAt(v))v++;else{for((i=new s).generatedLine=d,c=v;c<b&&!this._charIsMappingSeparator(t,c);c++);if(l=y[a=t.slice(v,c)])v+=a.length;else{for(l=[];v<c;)r.decode(t,v,E),u=E.value,v=E.rest,l.push(u);if(2===l.length)throw new Error("Found a source, but no line and column");if(3===l.length)throw new Error("Found a source and line, but no column");y[a]=l}i.generatedColumn=p+l[0],p=i.generatedColumn,l.length>1&&(i.source=g+l[1],g+=l[1],i.originalLine=h+l[2],h=i.originalLine,i.originalLine+=1,i.originalColumn=f+l[3],f=i.originalColumn,l.length>4&&(i.name=m+l[4],m+=l[4])),S.push(i),"number"==typeof i.originalLine&&_.push(i)}o(S,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=S,o(_,e.compareByOriginalPositions),this.__originalMappings=_},a.prototype._findMapping=function(e,n,r,o,i,a){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[o]);return t.search(e,n,i,a)},a.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},a.prototype.originalPositionFor=function(t){var n={generatedLine:e.getArg(t,"line"),generatedColumn:e.getArg(t,"column")},r=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(t,"bias",i.GREATEST_LOWER_BOUND));if(r>=0){var o=this._generatedMappings[r];if(o.generatedLine===n.generatedLine){var a=e.getArg(o,"source",null);null!==a&&(a=this._sources.at(a),a=e.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var s=e.getArg(o,"name",null);return null!==s&&(s=this._names.at(s)),{source:a,line:e.getArg(o,"originalLine",null),column:e.getArg(o,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e})},a.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var o,i=t;if(null!=this.sourceRoot&&(i=e.relative(this.sourceRoot,i)),null!=this.sourceRoot&&(o=e.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if("file"==o.scheme&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!o.path||"/"==o.path)&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(n)return null;throw new Error('"'+i+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(t){var n=e.getArg(t,"source");if((n=this._findSourceIndex(n))<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:e.getArg(t,"line"),originalColumn:e.getArg(t,"column")},o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(t,"bias",i.GREATEST_LOWER_BOUND));if(o>=0){var a=this._originalMappings[o];if(a.source===r.source)return{line:e.getArg(a,"generatedLine",null),column:e.getArg(a,"generatedColumn",null),lastColumn:e.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Vv.BasicSourceMapConsumer=a,l.prototype=Object.create(i.prototype),l.prototype.constructor=i,l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),l.prototype.originalPositionFor=function(n){var r={generatedLine:e.getArg(n,"line"),generatedColumn:e.getArg(n,"column")},o=t.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),i=this._sections[o];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:n.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(-1!==r.consumer._findSourceIndex(e.getArg(t,"source"))){var o=r.consumer.generatedPositionFor(t);if(o)return{line:o.line+(r.generatedOffset.generatedLine-1),column:o.column+(r.generatedOffset.generatedLine===o.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},l.prototype._parseMappings=function(t,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],a=i.consumer._generatedMappings,s=0;s<a.length;s++){var l=a[s],c=i.consumer._sources.at(l.source);c=e.computeSourceURL(i.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var u=null;l.name&&(u=i.consumer._names.at(l.name),this._names.add(u),u=this._names.indexOf(u));var d={source:c,generatedLine:l.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(i.generatedOffset.generatedLine===l.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,name:u};this.__generatedMappings.push(d),"number"==typeof d.originalLine&&this.__originalMappings.push(d)}o(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),o(this.__originalMappings,e.compareByOriginalPositions)},Vv.IndexedSourceMapConsumer=l,Vv}().SourceMapConsumer,Ov.SourceNode=function(){if(ey)return iy;ey=1;var e=Wv().SourceMapGenerator,t=Bv(),n=/(\r?\n)/,r="$$$isSourceNode$$$";function o(e,t,n,o,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==i?null:i,this[r]=!0,null!=o&&this.add(o)}return o.fromStringWithSourceMap=function(e,r,i){var a=new o,s=e.split(n),l=0,c=function(){return e()+(e()||"");function e(){return l<s.length?s[l++]:void 0}},u=1,d=0,p=null;return r.eachMapping(function(e){if(null!==p){if(!(u<e.generatedLine)){var t=(n=s[l]||"").substr(0,e.generatedColumn-d);return s[l]=n.substr(e.generatedColumn-d),d=e.generatedColumn,h(p,t),void(p=e)}h(p,c()),u++,d=0}for(;u<e.generatedLine;)a.add(c()),u++;if(d<e.generatedColumn){var n=s[l]||"";a.add(n.substr(0,e.generatedColumn)),s[l]=n.substr(e.generatedColumn),d=e.generatedColumn}p=e},this),l<s.length&&(p&&h(p,c()),a.add(s.splice(l).join(""))),r.sources.forEach(function(e){var n=r.sourceContentFor(e);null!=n&&(null!=i&&(e=t.join(i,e)),a.setSourceContent(e,n))}),a;function h(e,n){if(null===e||void 0===e.source)a.add(n);else{var r=i?t.join(i,e.source):e.source;a.add(new o(e.originalLine,e.originalColumn,r,n,e.name))}}},o.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[r]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},o.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[r]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},o.prototype.walk=function(e){for(var t,n=0,o=this.children.length;n<o;n++)(t=this.children[n])[r]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},o.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},o.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[r]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},o.prototype.setSourceContent=function(e,n){this.sourceContents[t.toSetString(e)]=n},o.prototype.walkSourceContents=function(e){for(var n=0,o=this.children.length;n<o;n++)this.children[n][r]&&this.children[n].walkSourceContents(e);var i=Object.keys(this.sourceContents);for(n=0,o=i.length;n<o;n++)e(t.fromSetString(i[n]),this.sourceContents[i[n]])},o.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},o.prototype.toStringWithSourceMap=function(t){var n={code:"",line:1,column:0},r=new e(t),o=!1,i=null,a=null,s=null,l=null;return this.walk(function(e,t){n.code+=e,null!==t.source&&null!==t.line&&null!==t.column?(i===t.source&&a===t.line&&s===t.column&&l===t.name||r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name}),i=t.source,a=t.line,s=t.column,l=t.name,o=!0):o&&(r.addMapping({generated:{line:n.line,column:n.column}}),i=null,o=!1);for(var c=0,u=e.length;c<u;c++)10===e.charCodeAt(c)?(n.line++,n.column=0,c+1===u?(i=null,o=!1):o&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name})):n.column++}),this.walkSourceContents(function(e,t){r.setSourceContent(e,t)}),{code:n.code,map:r}},iy.SourceNode=o,iy}().SourceNode),Ov}function sy(){return ry||(ry=1,function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=Kb(),o=n(bb()),i=fb(),a=(ny||(ny=1,function(e,t){t.__esModule=!0;var n=fb(),r=void 0;try{var o=ay();r=o.SourceNode}catch(s){}function i(e,t,r){if(n.isArray(e)){for(var o=[],i=0,a=e.length;i<a;i++)o.push(t.wrap(e[i],r));return o}return"boolean"==typeof e||"number"==typeof e?e+"":e}function a(e){this.srcFile=e,this.source=[]}r||((r=function(e,t,n,r){this.src="",r&&this.add(r)}).prototype={add:function(e){n.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){n.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),a.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,t){this.source.unshift(this.wrap(e,t))},push:function(e,t){this.source.push(this.wrap(e,t))},merge:function(){var e=this.empty();return this.each(function(t){e.add([" ",t,"\n"])}),e},each:function(e){for(var t=0,n=this.source.length;t<n;t++)e(this.source[t])},empty:function(){var e=this.currentLocation||{start:{}};return new r(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var t=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return e instanceof r?e:(e=i(e,this,t),new r(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,n){return n=this.generateList(n),this.wrap([e,t?"."+t+"(":"(",n,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var t=this,n=[];Object.keys(e).forEach(function(r){var o=i(e[r],t);"undefined"!==o&&n.push([t.quotedString(r),":",o])});var r=this.generateList(n);return r.prepend("{"),r.add("}"),r},generateList:function(e){for(var t=this.empty(),n=0,r=e.length;n<r;n++)n&&t.add(","),t.add(i(e[n],this));return t},generateArray:function(e){var t=this.generateList(e);return t.prepend("["),t.add("]"),t}},t.default=a,e.exports=t.default}(xv,xv.exports)),xv.exports),s=n(a);function l(e){this.value=e}function c(){}c.prototype={nameLookup:function(e,t){return this.internalNameLookup(e,t)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=r.COMPILER_REVISION;return[e,r.REVISION_CHANGES[e]]},appendToBuffer:function(e,t,n){return i.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,t){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(t),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(e,t,n,r){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!r,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,t),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,s=void 0,l=void 0,c=void 0;for(l=0,c=i.length;l<c;l++)a=i[l],this.source.currentLocation=a.loc,s=s||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=s,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new o.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),r?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(r);if(this.isChild)return u;var d={compiler:this.compilerInfo(),main:u};this.decorators&&(d.main_d=this.decorators,d.useDecorators=!0);var p=this.context,h=p.programs,f=p.decorators;for(l=0,c=h.length;l<c;l++)h[l]&&(d[l]=h[l],f[l]&&(d[l+"_d"]=f[l],d.useDecorators=!0));return this.environment.usePartial&&(d.usePartial=!0),this.options.data&&(d.useData=!0),this.useDepths&&(d.useDepths=!0),this.useBlockParams&&(d.useBlockParams=!0),this.options.compat&&(d.compat=!0),r?d.compilerOptions=this.options:(d.compiler=JSON.stringify(d.compiler),this.source.currentLocation={start:{line:1,column:0}},d=this.objectLiteral(d),t.srcName?(d=d.toStringWithSourceMap({file:t.destName})).map=d.map&&d.map.toString():d=d.toString()),d},preamble:function(){this.lastContext=0,this.source=new s.default(this.options.srcName),this.decorators=new s.default(this.options.srcName)},createFunctionContext:function(e){var t=this,n="",r=this.stackVars.concat(this.registers.list);r.length>0&&(n+=", "+r.join(", "));var o=0;Object.keys(this.aliases).forEach(function(e){var r=t.aliases[e];r.children&&r.referenceCount>1&&(n+=", alias"+ ++o+"="+e,r.children[0]="alias"+o)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var i=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&i.push("blockParams"),this.useDepths&&i.push("depths");var a=this.mergeSource(n);return e?(i.push(a),Function.apply(this,i)):this.source.wrap(["function(",i.join(","),") {\n ",a,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,r=void 0,o=void 0,i=void 0,a=void 0;return this.source.each(function(e){e.appendToBuffer?(i?e.prepend(" + "):i=e,a=e):(i&&(o?i.prepend("buffer += "):r=!0,a.add(";"),i=a=void 0),o=!0,t||(n=!1))}),n?i?(i.prepend("return "),a.add(";")):o||this.source.push('return "";'):(e+=", buffer = "+(r?"":this.initializeBuffer()),i?(i.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(r?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(e){var t=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(e){return[" != null ? ",e,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,n,r){var o=0;r||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[o++])),this.resolvePath("context",e,o,t,n)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,n)},resolvePath:function(e,t,n,r,o){var i=this;if(this.options.strict||this.options.assumeObjects)this.push(function(e,t,n,r,o){var i=t.popStack(),a=n.length;for(e&&a--;r<a;r++)i=t.nameLookup(i,n[r],o);return e?[t.aliasable("container.strict"),"(",i,", ",t.quotedString(n[r]),", ",JSON.stringify(t.source.currentLocation)," )"]:i}(this.options.strict&&o,this,t,n,e));else for(var a=t.length;n<a;n++)this.replaceStack(function(o){var a=i.nameLookup(o,t[n],e);return r?[" && ",a]:[" != null ? ",a," : ",o]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),"SubExpression"!==t&&("string"==typeof e?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){null!=e?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,t){var n=this.nameLookup("decorators",t,"decorator"),r=this.setupHelperArgs(t,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",r])," || fn;"])},invokeHelper:function(e,t,n){var r=this.popStack(),o=this.setupHelper(e,t),i=[];n&&i.push(o.name),i.push(r),this.options.strict||i.push(this.aliasable("container.hooks.helperMissing"));var a=["(",this.itemsSeparatedBy(i,"||"),")"],s=this.source.functionCall(a,"call",o.callParams);this.push(s)},itemsSeparatedBy:function(e,t){var n=[];n.push(e[0]);for(var r=1;r<e.length;r++)n.push(t,e[r]);return n},invokeKnownHelper:function(e,t){var n=this.setupHelper(e,t);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var n=this.popStack();this.emptyHash();var r=this.setupHelper(0,e,t),o=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",e,"helper")," || ",n,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,r.paramsInit?["),(",r.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",r.callParams)," : helper))"])},invokePartial:function(e,t,n){var r=[],o=this.setupParams(t,1,r);e&&(t=this.popStack(),delete o.name),n&&(o.indent=JSON.stringify(n)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",e?r.unshift(t):r.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),r.push(o),this.push(this.source.functionCall("container.invokePartial","",r))},assignToHash:function(e){var t=this.popStack(),n=void 0,r=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(r=this.popStack(),n=this.popStack());var i=this.hash;n&&(i.contexts[e]=n),r&&(i.types[e]=r),o&&(i.ids[e]=o),i.values[e]=t},pushId:function(e,t,n){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):"PathExpression"===e?this.pushString(t):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:c,compileChildren:function(e,t){for(var n=e.children,r=void 0,o=void 0,i=0,a=n.length;i<a;i++){r=n[i],o=new this.compiler;var s=this.matchExistingProgram(r);if(null==s){this.context.programs.push("");var l=this.context.programs.length;r.index=l,r.name="program"+l,this.context.programs[l]=o.compile(r,t,this.context,!this.precompile),this.context.decorators[l]=o.decorators,this.context.environments[l]=r,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,r.useDepths=this.useDepths,r.useBlockParams=this.useBlockParams}else r.index=s.index,r.name="program"+s.index,this.useDepths=this.useDepths||s.useDepths,this.useBlockParams=this.useBlockParams||s.useBlockParams}},matchExistingProgram:function(e){for(var t=0,n=this.context.environments.length;t<n;t++){var r=this.context.environments[t];if(r&&r.equals(e))return r}},programExpression:function(e){var t=this.environment.children[e],n=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof l||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new l(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var t=["("],n=void 0,r=void 0,i=void 0;if(!this.isInline())throw new o.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof l)t=["(",n=[a.value]],i=!0;else{r=!0;var s=this.incrStack();t=["((",this.push(s)," = ",a,")"],n=this.topStack()}var c=e.call(this,n);i||this.popStack(),r&&this.stackSlot--,this.push(t.concat(c,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r instanceof l)this.compileStack.push(r);else{var o=this.incrStack();this.pushSource([o," = ",r,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),n=(t?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof l)return n.value;if(!t){if(!this.stackSlot)throw new o.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof l?t.value:t},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?(t.referenceCount++,t):((t=this.aliases[e]=this.source.wrap(e)).aliasable=!0,t.referenceCount=1,t)},setupHelper:function(e,t,n){var r=[];return{params:r,paramsInit:this.setupHelperArgs(t,e,r,n),name:this.nameLookup("helpers",t,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(r)}},setupParams:function(e,t,n){var r={},o=[],i=[],a=[],s=!n,l=void 0;s&&(n=[]),r.name=this.quotedString(e),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack());var c=this.popStack(),u=this.popStack();(u||c)&&(r.fn=u||"container.noop",r.inverse=c||"container.noop");for(var d=t;d--;)l=this.popStack(),n[d]=l,this.trackIds&&(a[d]=this.popStack()),this.stringParams&&(i[d]=this.popStack(),o[d]=this.popStack());return s&&(r.args=this.source.generateArray(n)),this.trackIds&&(r.ids=this.source.generateArray(a)),this.stringParams&&(r.types=this.source.generateArray(i),r.contexts=this.source.generateArray(o)),this.options.data&&(r.data="data"),this.useBlockParams&&(r.blockParams="blockParams"),r},setupHelperArgs:function(e,t,n,r){var o=this.setupParams(e,t,n);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),r?(this.useRegister("options"),n.push("options"),["options=",o]):n?(n.push(o),""):o}},function(){for(var e="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),t=c.RESERVED_WORDS={},n=0,r=e.length;n<r;n++)t[e[n]]=!0}(),c.isValidJavaScriptVariableName=function(e){return!c.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t.default=c,e.exports=t.default}(Cv,Cv.exports)),Cv.exports}var ly=(oy||(oy=1,function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(sv()),o=n(uv()),i=Sv(),a=function(){if(kv)return Av;function e(e){return e&&e.__esModule?e:{default:e}}kv=1,Av.__esModule=!0,Av.Compiler=i,Av.precompile=function(e,n,r){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new t.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);"data"in(n=n||{})||(n.data=!0),n.compat&&(n.useDepths=!0);var o=r.parse(e,n),i=(new r.Compiler).compile(o,n);return(new r.JavaScriptCompiler).compile(i,n)},Av.compile=function(e,r,o){if(void 0===r&&(r={}),null==e||"string"!=typeof e&&"Program"!==e.type)throw new t.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in(r=n.extend({},r))||(r.data=!0),r.compat&&(r.useDepths=!0);var i=void 0;function a(){var t=o.parse(e,r),n=(new o.Compiler).compile(t,r),i=(new o.JavaScriptCompiler).compile(n,r,void 0,!0);return o.template(i)}function s(e,t){return i||(i=a()),i.call(this,e,t)}return s._setup=function(e){return i||(i=a()),i._setup(e)},s._child=function(e,t,n,r){return i||(i=a()),i._child(e,t,n,r)},s};var t=e(bb()),n=fb(),r=e(uv()),o=[].slice;function i(){}function a(e,t){if(e===t)return!0;if(n.isArray(e)&&n.isArray(t)&&e.length===t.length){for(var r=0;r<e.length;r++)if(!a(e[r],t[r]))return!1;return!0}}function s(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}return i.prototype={compiler:i,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var n=0;n<t;n++){var r=this.opcodes[n],o=e.opcodes[n];if(r.opcode!==o.opcode||!a(r.args,o.args))return!1}for(t=this.children.length,n=0;n<t;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,t){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=t,this.stringParams=t.stringParams,this.trackIds=t.trackIds,t.blockParams=t.blockParams||[],t.knownHelpers=n.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},t.knownHelpers),this.accept(e)},compileProgram:function(e){var t=(new this.compiler).compile(e,this.options),n=this.guid++;return this.usePartial=this.usePartial||t.usePartial,this.children[n]=t,this.useDepths=this.useDepths||t.useDepths,n},accept:function(e){if(!this[e.type])throw new t.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var n=this[e.type](e);return this.sourceNode.shift(),n},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var t=e.body,n=t.length,r=0;r<n;r++)this.accept(t[r]);return this.options.blockParams.shift(),this.isSimple=1===n,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){s(e);var t=e.program,n=e.inverse;t=t&&this.compileProgram(t),n=n&&this.compileProgram(n);var r=this.classifySexpr(e);"helper"===r?this.helperSexpr(e,t,n):"simple"===r?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,n),this.opcode("pushProgram",t),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var t=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,t,void 0),r=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,r.original)},PartialStatement:function(e){this.usePartial=!0;var n=e.program;n&&(n=this.compileProgram(e.program));var r=e.params;if(r.length>1)throw new t.default("Unsupported number of partial arguments: "+r.length,e);r.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):r.push({type:"PathExpression",parts:[],depth:0}));var o=e.name.original,i="SubExpression"===e.name.type;i&&this.accept(e.name),this.setupFullMustacheParams(e,n,void 0,!0);var a=e.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",i,o,a),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){s(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var r=e.path,o=r.parts[0],i=null!=t||null!=n;this.opcode("getContext",r.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),r.strict=!0,this.accept(r),this.opcode("invokeAmbiguous",o,i)},simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,n,o){var i=this.setupFullMustacheParams(e,n,o),a=e.path,s=a.parts[0];if(this.options.knownHelpers[s])this.opcode("invokeKnownHelper",i.length,s);else{if(this.options.knownHelpersOnly)throw new t.default("You specified knownHelpersOnly, but used the unknown helper "+s,e);a.strict=!0,a.falsy=!0,this.accept(a),this.opcode("invokeHelper",i.length,a.original,r.default.helpers.simpleId(a))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=r.default.helpers.scopedId(e),o=!e.depth&&!n&&this.blockParamIndex(t);o?this.opcode("lookupBlockParam",o,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,n=0,r=t.length;for(this.opcode("pushHash");n<r;n++)this.pushParam(t[n].value);for(;n--;)this.opcode("assignToHash",t[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:o.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=r.default.helpers.simpleId(e.path),n=t&&!!this.blockParamIndex(e.path.parts[0]),o=!n&&r.default.helpers.helperExpression(e),i=!n&&(o||t);if(i&&!o){var a=e.path.parts[0],s=this.options;s.knownHelpers[a]?o=!0:s.knownHelpersOnly&&(i=!1)}return o?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var t=0,n=e.length;t<n;t++)this.pushParam(e[t])},pushParam:function(e){var t=null!=e.value?e.value:e.original||"";if(this.stringParams)t.replace&&(t=t.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",t,e.type),"SubExpression"===e.type&&this.accept(e);else{if(this.trackIds){var n=void 0;if(!e.parts||r.default.helpers.scopedId(e)||e.depth||(n=this.blockParamIndex(e.parts[0])),n){var o=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,o)}else(t=e.original||t).replace&&(t=t.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,t)}this.accept(e)}},setupFullMustacheParams:function(e,t,n,r){var o=e.params;return this.pushParams(o),this.opcode("pushProgram",t),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",r),o},blockParamIndex:function(e){for(var t=0,r=this.options.blockParams.length;t<r;t++){var o=this.options.blockParams[t],i=o&&n.indexOf(o,e);if(o&&i>=0)return[t,i]}}},Av}(),s=n(sy()),l=n(vv()),c=n(av()),u=r.default.create;function d(){var e=u();return e.compile=function(t,n){return a.compile(t,n,e)},e.precompile=function(t,n){return a.precompile(t,n,e)},e.AST=o.default,e.Compiler=a.Compiler,e.JavaScriptCompiler=s.default,e.Parser=i.parser,e.parse=i.parse,e.parseWithoutProcessing=i.parseWithoutProcessing,e}var p=d();p.create=d,c.default(p),p.Visitor=l.default,p.default=p,t.default=p,e.exports=t.default}(ub,ub.exports)),ub.exports);const cy=rr(ly),uy=e=>e&&0!==e.length?e.charAt(0).toUpperCase()+e.slice(1):"";e("ck",(e,t)=>e.startsWith(t)?e.slice(t.length):e);const dy=e=>e<10?"0"+e:e;e("cF",(e,t)=>{let n=e;if(n=n.replace("$name",t.name),t.ts){const e=new URL(t.d_url),n=Date.now();e.searchParams.set("openlist_ts",n.toString()),t.d_url=e.toString()}return n=n.replace(/\$[eb_]*url/,e=>{const n=e.match(/[eb]/g);let r=t.raw_url;if(n)for(const t of n.reverse())"e"===t?r=encodeURIComponent(r):"b"===t&&(r=window.btoa(r));return r}),n=n.replace(/\$[eb_]*durl/,e=>{const n=e.match(/[eb]/g);let r=t.d_url;if(n)for(const t of n.reverse())"e"===t?r=encodeURIComponent(r):"b"===t&&(r=window.btoa(r));return r}),n});const py=e=>{let t=(e=e.trim()).replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)},hy={"+":"-","/":"_","=":"."},fy=(e("ea",e=>(e=>e.replace(/[+/=]/g,e=>hy[e]))(window.btoa(e))),(e,t)=>new TextDecoder(t).decode(e));cy.registerHelper("dateLocaleString",e=>new Date(e).toLocaleString()),cy.registerHelper("add",(e,t)=>e+t),cy.registerHelper("eq",(e,t)=>e===t),cy.registerHelper("less",(e,t)=>e<t),cy.registerHelper("and",(e,t)=>e&&t),cy.registerHelper("or",(e,t)=>e||t),cy.registerHelper("not",e=>!e),cy.registerHelper("filename",e=>-1===e.indexOf("/")?e:e.slice(e.lastIndexOf("/")+1)),e("bX",(e,t)=>cy.compile(e)(t));const gy=e("bt",(e,t,n,r=!0,o=!0,i)=>{if(200===e.code)i&&Of.success(e.message),t?.(e.data);else{if(o&&Of.error(e.message),r&&401===e.code)return void("/@manage"===location.pathname?Af.emit("to","/"):Af.emit("to",`/@login?redirect=${encodeURIComponent(location.pathname)}`));n?.(e.message,e.code)}}),my=e("cx",(e,t,n,r=!0)=>gy(e,t,n,r,!1)),by=e("dh",(e,t,n)=>gy(e,t,n,!1,!1)),vy=(e("bb",(e,t,n,r=!0,o=!0)=>gy(e,t,n,r,o,!0)),e("$",()=>"rgba(132,133,141,0.18)")),yy=()=>ys("$whiteAlpha10","$blackAlpha11")(),Ey=e("e7",(e="/",t="",n)=>lb.post("/fs/get",{path:e,password:t},{cancelToken:n})),_y=e("A",(e="/",t="",n=1,r=0,o=!1,i)=>lb.post("/fs/list",{path:e,password:t,page:n,per_page:r,refresh:o},{cancelToken:i})),Sy=(e("dJ",(e="/",t="",n=!1)=>lb.post("/fs/dirs",{path:e,password:t,force_root:n})),e("bi",e=>lb.post("/fs/mkdir",{path:e})),e("bf",(e,t,n)=>lb.post("/fs/rename",{path:e,name:t,overwrite:n})),e("bn",(e,t)=>lb.post("/fs/batch_rename",{src_dir:e,rename_objects:t})),e("bd",(e,t,n,r)=>lb.post("/fs/move",{src_dir:e,dst_dir:t,names:n,overwrite:r})),e("bj",(e,t,n)=>lb.post("/fs/recursive_move",{src_dir:e,dst_dir:t,conflict_policy:n})),e("ba",(e,t,n,r)=>lb.post("/fs/copy",{src_dir:e,dst_dir:t,names:n,overwrite:r})),e("be",(e,t)=>lb.post("/fs/remove",{dir:e,names:t})),e("bm",e=>lb.post("/fs/remove_empty_directory",{src_dir:e})),e("bh",(e,t,n)=>lb.put("/fs/put",void 0,{headers:{"File-Path":encodeURIComponent(e),Password:t,Overwrite:n.toString()}})),e("eo",(e="/",t="",n="",r=!1,o)=>lb.post("/fs/archive/meta",{path:e,password:t,archive_pass:n,refresh:r},{cancelToken:o})),e("ep",(e="/",t="",n="",r="/",o=1,i=0,a=!1,s)=>lb.post("/fs/archive/list",{path:e,password:t,archive_pass:n,inner_path:r,page:o,per_page:i,refresh:a},{cancelToken:s})),e("bS",(e,t,n,r="",o="/",i=!0,a=!1)=>lb.post("/fs/archive/decompress",{src_dir:e,dst_dir:t,name:n,archive_pass:r,inner_path:o,cache_full:i,put_into_new_dir:a})),e("br",(e,t,n,r)=>lb.post("/fs/add_offline_download",{path:e,urls:t,tool:n,delete_policy:r})),e("ar",async(e,t=!0)=>{try{const n=await Wm.get(e,{responseType:"blob",params:t?{openlist_ts:(new Date).getTime()}:void 0}),r=await n.data.arrayBuffer();return{content:r,contentType:n.headers["content-type"]}}catch(ro){return t?await Sy(e,!1):{content:`Failed to fetch ${e}: ${ro}`,contentType:""}}}));e("cK",async(e,t,n="",r=0,o=1,i=100)=>lb.post("/fs/search",{parent:e,keywords:t,scope:r,page:o,per_page:i,password:n})),e("dA",async(e=["/"],t=-1)=>lb.post("/admin/index/build",{paths:e,max_depth:t})),e("dB",async(e=[],t=-1)=>lb.post("/admin/index/update",{paths:e,max_depth:t}));var ky,Ty={exports:{}},wy={exports:{}},Ay=wy.exports;function Cy(){return ky||(ky=1,function(e){!function(t){var n={bytesToHex:function(e){return function(e){return e.map(function(e){return t=e.toString(16),n=2,t.length>n?t:Array(n-t.length+1).join("0")+t;var t,n}).join("")}(e)},hexToBytes:function(e){if(e.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===e.indexOf("0x")&&(e=e.slice(2)),e.match(/../g).map(function(e){return parseInt(e,16)})}};e.exports?e.exports=n:t.convertHex=n}(Ay)}(wy)),wy.exports}var xy,Oy,Iy={exports:{}},Ny=Iy.exports,Ly=Ty.exports,Dy=(Oy||(Oy=1,function(e){!function(t){var n={};e.exports?(n.bytesToHex=Cy().bytesToHex,n.convertString=(xy||(xy=1,function(e){!function(t){var n={bytesToString:function(e){return e.map(function(e){return String.fromCharCode(e)}).join("")},stringToBytes:function(e){return e.split("").map(function(e){return e.charCodeAt(0)})}};n.UTF8={bytesToString:function(e){return decodeURIComponent(escape(n.bytesToString(e)))},stringToBytes:function(e){return n.stringToBytes(unescape(encodeURIComponent(e)))}},e.exports?e.exports=n:t.convertString=n}(Ny)}(Iy)),Iy.exports),e.exports=l):(n.bytesToHex=t.convertHex.bytesToHex,n.convertString=t.convertString,t.sha256=l);var r=[];!function(){function e(e){for(var t=Math.sqrt(e),n=2;n<=t;n++)if(!(e%n))return!1;return!0}function t(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)e(n)&&(r[o]=t(Math.pow(n,1/3)),o++),n++}();var o=function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},i=function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},a=[],s=function(e,t,n){for(var o=e[0],i=e[1],s=e[2],l=e[3],c=e[4],u=e[5],d=e[6],p=e[7],h=0;h<64;h++){if(h<16)a[h]=0|t[n+h];else{var f=a[h-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,m=a[h-2],b=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;a[h]=g+a[h-7]+b+a[h-16]}var v=o&i^o&s^i&s,y=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),E=p+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&u^~c&d)+r[h]+a[h];p=d,d=u,u=c,c=l+E|0,l=s,s=i,i=o,o=E+(y+v)|0}e[0]=e[0]+o|0,e[1]=e[1]+i|0,e[2]=e[2]+s|0,e[3]=e[3]+l|0,e[4]=e[4]+c|0,e[5]=e[5]+u|0,e[6]=e[6]+d|0,e[7]=e[7]+p|0};function l(e,t){e.constructor===String&&(e=n.convertString.UTF8.stringToBytes(e));var r=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],a=o(e),l=8*e.length;a[l>>5]|=128<<24-l%32,a[15+(l+64>>9<<4)]=l;for(var c=0;c<a.length;c+=16)s(r,a,c);var u=i(r);return t&&t.asBytes?u:t&&t.asString?n.convertString.bytesToString(u):n.bytesToHex(u)}l.x2=function(e,t){return l(l(e,{asBytes:!0}),t)}}(Ly)}(Ty)),Ty.exports);e("cn",rr(Dy));const Ry="undefined"!=typeof window?window.navigator.userAgent:"",My=e("dX",/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(Ry)),Py=(e("aO",(window?.navigator?.platform??"")?.includes("Mac")),e("dP",()=>{const e=Ry,t=window?.navigator?.platform??"";return/android/i.test(e)?"Android":/iPad|iPhone|iPod/.test(e)||t.includes("Mac")&&navigator.maxTouchPoints>1?"iOS":/windows/i.test(e)?"Windows":/macintosh|mac os x/i.test(e)?"MacOS":/linux/i.test(e)?"Linux":"Unknown"}),{});document.addEventListener("keydown",e=>{Py[e.key]=!0}),document.addEventListener("keyup",e=>{delete Py[e.key]});const[By,$y,{remove:Fy,clear:Hy,toJSON:zy}]=_f();e({q:By,bG:$y});const Uy=e("bA",[{key:"aria2_rpc_url",default:"http://localhost:6800/jsonrpc"},{key:"aria2_rpc_secret",default:""},{key:"global_default_layout",default:"list",type:"select",options:["list","grid","image"]},{key:"show_folder_in_image_view",default:"top",type:"select",options:["top","bottom","none"]},{key:"show_sidebar",default:"none",type:"select",options:["none","visible"]},{key:"show_count_msg",default:"none",type:"select",options:["none","visible"]},{key:"position_of_header_navbar",default:"static",type:"select",options:["static","sticky","only_navbar_sticky"]},{key:"grid_item_size",default:"90",type:"number"},{key:"list_item_filename_overflow",default:"ellipsis",type:"select",options:["ellipsis","scrollable","multi_line"]},{key:"open_item_on_checkbox",default:"direct",type:"select",options:["direct","dblclick","disable_while_checked"],hidden:!1},{key:"editor_font_size",default:"14",type:"number"}]);for(const e of Uy)By[e.key]||$y(e.key,e.default);const jy=(e,t,n)=>{const[r,o]=k(n);return[r,async(...n)=>{o(!0);const r=await e(...n);return t&&401===r.code||o(!1),r}]},Gy=e("b9",(e,t)=>jy(e,!0,t)),Wy=(e("dq",(e,t)=>((e,t,n)=>{const[r,o]=k(n);return[r,async(t,...n)=>{o(()=>t);const r=await e(t,...n);return 401!==r.code&&o(void 0),r}]})(e,0,t)),e("j",()=>{const e=Ot(),t=It(),n=At().params,r=C(()=>(e=>{const t=e.replace(Tf,"");return t.startsWith("/")?t:"/"+t})(decodeURIComponent(t.pathname))),o=C(()=>r().startsWith("/@s"));return{to:(t,n,r)=>{!n&&t.startsWith("/")&&(t=Df(t)),y_(decodeURIComponent(t)),e(t,r)},replace:t=>{const n=Mf(Lf(Rf(r()),t),!0);y_(decodeURIComponent(n)),e(n)},pushHref:e=>Mf(Lf(r(),e)),back:()=>{e(-1)},forward:()=>{e(1)},pathname:r,isShare:o,search:t.search,searchParams:t.query,setSearchParams:(n,o)=>{const i=I(()=>function(e,t){const n=new URLSearchParams(e);Object.entries(t).forEach(([e,t])=>{null==t||""===t?n.delete(e):n.set(e,String(t))});const r=n.toString();return r?`?${r}`:""}(t.search,n));e(Df(r()+i),{scroll:!1,...o,resolve:!0})},params:n}})),qy=e("ai",function(e,t,n){let r=Promise.resolve();function o(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(const e of t||[])"rejected"===e.status&&o(e.reason);return e().catch(o)})}),Vy="English",Yy=(e("i",{lang:Vy}),"简体中文"),Ky=(e("a",{lang:Yy}),e=>null!=e&&((e=Object.getPrototypeOf(e))===Array.prototype||e===Object.prototype));function Xy(e,t,n){for(const[r,o]of Object.entries(t)){const t=`${n}.${r}`;e[t]=o,Ky(o)&&Xy(e,o,t)}}const Qy=e=>e,Zy=Object.assign({"/src/lang/en/index.json":Vy,"/src/lang/zh-CN/index.json":Yy}),Jy=Object.keys(Zy).map(e=>({code:e.split("/")[3],lang:Zy[e]})),eE=navigator.language.toLowerCase(),tE=Jy.find(e=>e.code.toLowerCase()===eE)?.code||Jy.find(e=>e.code.toLowerCase().split("-")[0]===eE.split("-")[0])?.code||"en";let nE=localStorage.getItem("lang")??tE;Jy.some(e=>e.code===nE)||(nE=tE);const[rE,oE]=k(nE);e("e1",rE);const[iE]=x(rE,async e=>{try{const n=(await((e,t,n)=>{const r=e[t];return r?"function"==typeof r?r():Promise.resolve(r):new Promise((e,r)=>{("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})})(Object.assign({"../lang/en/entry.ts":()=>qy(()=>t.import("./entry-legacy-C1NyxG4d.js"),void 0),"../lang/zh-CN/entry.ts":()=>qy(()=>t.import("./entry-legacy-BfC-MLD9.js"),void 0)}),`../lang/${e}/entry.ts`,4)).dict;return function(e){const t={...e};for(const[n,r]of Object.entries(e))Ky(r)&&Xy(t,r,n);return t}(n)}catch(n){throw console.error(`Error loading dictionary for locale: ${e}`,n),new Error(`Failed to load dictionary for ${e}`)}}),aE=function(e,t=Qy){return(n,...r)=>{"."===n[0]&&(n=n.slice(1));const o=e()?.[n];switch(typeof o){case"function":return o(...r);case"string":return t(o,r[0]);default:return o}}}(iE),sE=(e,t)=>{const n=aE(e);if("string"==typeof n)return t&&((e,t)=>{if(t)for(const[n,r]of Object.entries(t))e=e.replace(new RegExp(`{{\\s*${n}\\s*}}`,"g"),r);return e})(n,t)||n},lE=e("o",()=>(e,t,n)=>{const r=sE(e,t);return r||n||cE(e)}),cE=e=>{let t=e.lastIndexOf(".");t===e.length-1&&(t=e.lastIndexOf(".",t-1));const n=e.slice(t+1);return uy(n).split("_").join(" ")};let uE,dE,pE=!0;const hE={};let fE=1;const gE=e("cI",()=>fE),mE=e=>{fE=e},bE=(e("P",()=>{const{pathname:e,to:t,searchParams:n}=Wy(),[,r]=Gy(e=>Ey(e,YE(),new Wm.CancelToken(e=>{uE=e}))),o=a_();"pagination"===o.type&&mE(parseInt(n.page)||1);const[,i]=Gy(e=>{const t={index:e?.index,size:e?.size};return _y(e?.path,YE(),t.index,t.size,e?.force,new Wm.CancelToken(e=>{dE=e}))}),a=(t,n=!0,r=!1)=>{r&&(t=Lf(e(),t)),n?hE[t]=!0:delete hE[t]};let s=!1;const l=(e,t,n,r)=>(uE?.(),dE?.(),s=n??!1,RE.setErr(""),v_(e,t)?(m_(e,t),b_(e,t)):hE[e]?(m_(e,t),u(e,t,void 0,void 0,r)):(m_(e,t),c(e,t))),c=async(e,t)=>{RE.setState(NE.FetchingObj);const n=await r(e);my(n,n=>{RE.setObj(n),RE.setProvider(n.provider),n.is_dir?(a(e),u(e,t)):(RE.setReadme(n.readme),RE.setHeader(n.header),RE.setRelated(n.related??[]),RE.setRawUrl(n.raw_url),RE.setState(NE.File))},d)},u=async(e,t,n,r=!1,a)=>{n||(n=o.size),void 0!==n&&"all"===o.type&&(n=void 0),RE.setState(r?NE.FetchingMore:NE.FetchingObjs);const s=await i({path:e,index:t,size:n,force:a});my(s,e=>{mE(t??1),r?ME(e.content):(RE.setObjs(e.content??[]),RE.setTotal(e.total)),RE.setReadme(e.readme),RE.setHeader(e.header),RE.setWrite(e.write),RE.setProvider(e.provider),RE.setState(NE.Folder)},d)},d=(n,r)=>{if(403===r)RE.setState(NE.NeedPassword),s&&Of.error(n);else{const o=p_().base_path;if(pE&&"/"!=o&&e().includes(o)&&n.endsWith("object not found"))return pE=!1,void t(e().replace(o,""));(void 0===r||r>=0)&&RE.setErr(n)}},p=()=>u(e(),fE+1,void 0,!0);return{handlePathChange:l,setPathAs:a,refresh:async(t,n)=>{const r=e(),i=window.scrollY;if(y_(r,fE),"load_more"===o.type||"auto_load_more"===o.type){const e=fE;for(mE(1),await l(r,fE,t,n);fE<e;)await p()}else await l(r,fE,t,n);window.scroll({top:i,behavior:"smooth"})},loadMore:p,allLoaded:()=>fE>=Math.ceil(LE.total/o.size)}}),e("y",(e,t,n="direct",r,o)=>{let i;r?(i=If(t.path),"preview"===n&&(i=`/@s${i}`)):("preview"!==n&&(e=Lf(p_().base_path,e)),i=`${e=If(e)}/${t.name}`),i=Mf(i,o);let a=wf,s=r?"/sd":"direct"===n?"/d":"/p";"preview"===n&&(s="",wf.startsWith(location.origin+Tf)||(a=location.origin+Tf));let l=`${a}${s}${i}`;if("preview"!==n&&!r&&t.sign&&(l+=`?sign=${t.sign}`),"preview"!==n&&r){const e=kf.getItem("browser-password")||"";e&&(l+=`?pwd=${e}`)}return l})),vE=e("al",()=>{const{pathname:e,isShare:t}=Wy(),n=(n,r,o)=>{const i=LE.state!==NE.File?e():Rf(e());return bE(i,n,r,t(),o)},r=(e,t)=>n(e,"direct",t);return{getLinkByObj:n,rawLink:r,proxyLink:(e,t)=>n(e,"proxy",t),previewPage:(e,t)=>n(e,"preview",t),currentObjLink:e=>r(LE.obj,e)}}),yE=e("u",()=>{const{previewPage:e,rawLink:t}=vE(),n=e=>$E().filter(e=>!e.is_dir).map(n=>t(n,e));return{rawLinks:n,previewPagesText:()=>$E().map(t=>e(t,!0)).join("\n"),rawLinksText:e=>n(e).join("\n")}});var EE,_E,SE,kE;e("aX",()=>{const{copy:e}=AE(),{previewPagesText:t,rawLinksText:n}=yE(),{currentObjLink:r}=vE();return{copySelectedPreviewPage:()=>{e(t())},copySelectedRawLink:t=>{e(n(t))},copyCurrentRawLink:t=>{e(r(t))}}});var TE=function(){if(kE)return SE;kE=1;var e=(_E||(_E=1,EE=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}),EE),t={"text/plain":"Text","text/html":"Url",default:"Text"};return SE=function(n,r){var o,i,a,s,l,c,u=!1;r||(r={}),o=r.debug||!1;try{if(a=e(),s=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=n,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(e){if(e.stopPropagation(),r.format)if(e.preventDefault(),void 0===e.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=t[r.format]||t.default;window.clipboardData.setData(i,n)}else e.clipboardData.clearData(),e.clipboardData.setData(r.format,n);r.onCopy&&(e.preventDefault(),r.onCopy(e.clipboardData))}),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){o&&console.error("unable to copy using execCommand: ",d),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(r.format||"text",n),r.onCopy&&r.onCopy(window.clipboardData),u=!0}catch(d){o&&console.error("unable to copy using clipboardData: ",d),o&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in r?r.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,n)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u},SE}();const wE=rr(TE),AE=e("bU",()=>{const e=lE(),{pathname:t}=Wy();return{copy:t=>{wE(t),Of.success(e("global.copied"))},isHide:e=>{const n=l_();for(const r of n)if(r.test(Lf(t(),e.name)))return!0;return!1},isHidePath:e=>{const t=l_();for(const n of t)if(n.test(e))return!0;return!1}}});function CE(e){const t="string"==typeof e;return{isString:t,text:(n="utf-8")=>e?t?e:fy(e,n):""}}const xE="@openlist-frontend/openlist-frontend",OE="4.1.4",IE=e("e3",()=>{Df("static");const e=(e,t,n)=>`https://registry.npmmirror.com/${e}/${t}/files/${n}`;return{npm:e,monacoPath:()=>e("monaco-editor","0.52.2","min/vs"),katexCSSPath:()=>e("katex","0.16.11","dist/katex.min.css"),mermaidJSPath:()=>e("mermaid","11.1.0","dist/mermaid.min.js"),ruffleJSPath:()=>e(xE,OE,"dist/static/ruffle/ruffle.js"),libHeifPath:()=>e(xE,OE,"dist/static/libheif"),libAssPath:()=>e(xE,OE,"dist/static/libass-wasm"),fontsPath:()=>e(xE,OE,"dist/static/fonts")}});var NE=e("ad",(e=>(e[e.Initial=0]="Initial",e[e.FetchingObj=1]="FetchingObj",e[e.FetchingObjs=2]="FetchingObjs",e[e.FetchingMore=3]="FetchingMore",e[e.Folder=4]="Folder",e[e.File=5]="File",e[e.NeedPassword=6]="NeedPassword",e))(NE||{}));const[LE,DE]=nn({obj:{},raw_url:"",related:[],objs:[],total:0,readme:"",header:"",provider:"",state:0,err:""});e("a4",LE);const RE={set:e=>{DE(e)},setObj:e=>{DE("obj",e)},setRawUrl:e=>{DE("raw_url",e)},setProvider:e=>{DE("provider",e)},setObjs:e=>{PE.start=-1,PE.end=-1,DE("objs",e),DE("obj","is_dir",!0)},setTotal:e=>{DE("total",e)},setReadme:e=>DE("readme",e),setHeader:e=>DE("header",e),setRelated:e=>DE("related",e),setWrite:e=>DE("write",e),setState:e=>DE("state",e),setErr:e=>DE("err",e)},ME=(e("dV",(e,t)=>{DE("objs",ln(n=>n.sort((n,r)=>(t?-1:1)*vf(n[e],r[e]))))}),e=>{DE("objs",ln(t=>t.push(...e)))}),PE={start:-1,end:-1},BE=(e("dR",(e,t,n)=>{if(n&&BE(!1),Py.Shift){if(PE.start<0)for(let i=0;i<Math.max(e+1,LE.objs.length-e);++i){if(LE.objs[e-i]?.selected){PE.start=e-i,PE.end=e-i;break}if(LE.objs[e+i]?.selected){PE.start=e+i,PE.end=e+i;break}}const t=Math.abs(PE.end-PE.start),n=Math.sign(PE.end-PE.start);for(let e=1;e<=t;++e)DE("objs",PE.start+n*e,{selected:!1});const r=Math.abs(e-PE.start),o=Math.sign(e-PE.start);for(let e=0;e<=r;++e)DE("objs",PE.start+o*e,{selected:!0});PE.end=e}else DE("objs",e,{selected:t}),t?(PE.start=e,PE.end=e):(PE.end=-1,PE.start=-1)}),e("b0",e=>{DE("objs",{},t=>({selected:e}))})),$E=e("k",()=>LE.objs.filter(e=>e.selected)),FE=(e("dT",()=>LE.objs.length===FE()),e("bg",()=>1===FE()),e("a$",()=>FE()>0),e("dS",()=>FE()>0&&FE()<LE.objs.length),C(()=>$E().length)),[HE,zE]=k(location.pathname),UE=(()=>{try{return JSON.parse(localStorage.getItem("layoutRecord")||"{}")}catch(ro){return{}}})();Af.on("pathname",e=>zE(e));const[jE,GE]=k(UE[HE()]||By.global_default_layout),[WE,qE]=(e("aB",()=>{const e=UE[HE()];return GE(e||By.global_default_layout),jE()}),e("aH",e=>{UE[HE()]=e,localStorage.setItem("layoutRecord",JSON.stringify(UE)),GE(e)}),yf("checkbox-open","false")),VE=e("a_",()=>"true"===WE()),[YE,KE]=(e("b7",()=>{qE(VE()?"false":"true")}),k(kf.getItem("browser-password")||""));e("_",YE),e("af",e=>{KE(e),kf.setItem("browser-password",e)});const XE=(e,t,n)=>{const r=lE();if(n&&(e=e.filter(e=>e.is_dir||e.type===n)),0===e.length)return"";const o=e.filter(e=>e.is_dir).length,i=e.length-o,a={folders:o.toString(),files:i.toString()},s=o&&i?`${t}`:o?`${t}_folders`:i?`${t}_files`:"";return s?r(`home.obj.count.${s}`,a):""},QE=e("dW",e=>XE(LE.objs,"count",e)),ZE=(e("dU",e=>{const t=$E();return t.length>0?XE(t,"selected",e):""}),e("dY",e=>{const t=$E();return t.length>0?XE(t,"selected",e):QE(e)}),{}),JE=e("di",e=>{Object.keys(e).forEach(t=>{ZE[t]=e[t]});const t=ZE.version||"Unknown";console.log(`%c OpenList %c ${t} %c https://github.com/OpenListTeam/OpenList`,"color: #fff; background: #5f5f5f","color: #fff; background: #70c6be","")}),e_=e("V",e=>ZE[e]??""),t_=(e("aq",e=>{const t=e_(e);return"true"===t||"1"===t}),(e,t)=>{const n=e_(e);return n?Number(n):t}),n_=e("aE",()=>window.OPENLIST_CONFIG.main_color?window.OPENLIST_CONFIG.main_color:e_("main_color")||"#1890ff");let r_={};const o_=e=>{if(!r_[e])try{r_[e]=JSON.parse(e_(e))}catch(ro){console.error(`failed parse ${e}, use default`,ro),r_[e]={}}return r_[e]},i_=(e,t)=>{const n=Pf(e).toLowerCase(),r=[];for(const o in o_(t))o.startsWith("/")?py(o).test(n)&&r.push(...Bf(o_(t)[o])):o.split(",").includes(n)&&r.push(...Bf(o_(t)[o]));return r},a_=(e("cN",e=>i_(e,"external_previews")),e("cV",e=>i_(e,"iframe_previews")),e("a3",()=>({type:e_("pagination_type")||"all",size:t_("default_page_size",30)})));let s_;const l_=()=>(s_||(s_=e_("hide_files").split(/\n/g).filter(e=>!!e.trim()).map(e=>{let t=(e=e.trim()).replace(/^\/(.*)\/([a-z]*)$/,"$1"),n=e.replace(/^\/(.*)\/([a-z]*)$/,"$2");return new RegExp(t,n)})),s_);var c_=e("b_",(e=>(e[e.GENERAL=0]="GENERAL",e[e.GUEST=1]="GUEST",e[e.ADMIN=2]="ADMIN",e))(c_||{}));const u_=e("aW",["see_hides","access_without_password","offline_download","write","rename","move","copy","delete","webdav_read","webdav_manage","ftp_read","ftp_manage","read_archives","decompress","share"]),d_=e("a5",{is_guest:e=>1===e.role,is_admin:e=>2===e.role,is_general:e=>0===e.role,can:(e,t)=>1==(e.permission>>t&1)}),[p_,h_]=k({});e({a6:p_,d9:h_}),e("b3",e=>{const t=p_();return d_.can(t,u_.indexOf(e))});const f_=new Map,g_=()=>new Promise(e=>setTimeout(e)),m_=(e,t)=>{const n=e.split("?")[0];return t&&t>1?`${n}?page=${t}`:n},b_=(e("ak",(e,t)=>{const n=JSON.parse(JSON.stringify(LE));if(![NE.FetchingMore,NE.Folder,NE.File].includes(LE.state))return;LE.state===NE.FetchingMore&&(n.state=NE.Folder);const r=m_(e,t),o={obj:n,page:t??gE(),scroll:window.scrollY};f_.set(r,o),console.log(`record history: [${r}]`)}),async(e,t)=>{const n=m_(e,t);if(!f_.has(n))return;const r=f_.get(n);mE(r.page),RE.setState(NE.Initial),await g_(),RE.set(JSON.parse(JSON.stringify(r.obj))),await g_(),window.scroll({top:r.scroll})}),v_=(e,t)=>{const n=m_(e,t);return f_.has(n)},y_=e("cH",(e,t)=>{const n=m_(e,t);v_(e,t)&&(f_.delete(n),console.log(`clear history: [${n}]`))});document.addEventListener("click",e=>{let t=e.target.closest("a"),n=t?.getAttribute("href");n&&y_(decodeURIComponent(n))},!0);const E_=()=>pe(cc,{h:"100vh",get children(){return pe(yh,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",get color(){return n_()},size:"xl"})}}),__=e("ac",e=>{const t=be({py:"$8",size:"xl",thickness:4},e);return pe(cc,{ref(t){var n=e.ref;"function"==typeof n?n(t):e.ref=t},h:"$full",w:"$full",get py(){return t.py},get children(){return pe(yh,{get thickness(){return`${t.thickness}px`},speed:"0.65s",emptyColor:"$neutral4",get color(){return n_()},get size(){return t.size}})}})});e("ao",e=>pe(Te,{get when(){return!e.loading},get fallback(){return pe(__,{})},get children(){return e.children}})),e("aL",e=>pe(cc,{w:"$full",h:"$full",get children(){return pe(yh,be({get color(){return n_()}},e))}}));var S_=He("<svg stroke-width=0>");function k_(e,t){const n=be(e.a,t),[r,o]=ve(n,["src"]),[i,a]=k(""),s=C(()=>t.title?`${e.c}<title>${t.title}</title>`:e.c);return A(()=>a(s())),D(()=>{a("")}),Ve(l=S_(),be({get stroke(){return e.a?.stroke},get color(){return t.color||"currentColor"},get fill(){return t.color||"currentColor"},get style(){return{...t.style,overflow:"visible"}}},o,{get height(){return t.size||"1em"},get width(){return t.size||"1em"},xmlns:"http://www.w3.org/2000/svg",get innerHTML(){return i()}}),!0,!0),Ke(l,()=>it),l;var l}function T_(e){return k_({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M12 19 12 5"/><path d="M5 12 12 5 19 12"/>'},e)}function w_(e){return k_({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/>'},e)}function A_(e){return k_({a:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},c:'<path d="M12 7A5 5 0 1 0 12 17 5 5 0 1 0 12 7z"/><path d="M12 1 12 3"/><path d="M12 21 12 23"/><path d="M4.22 4.22 5.64 5.64"/><path d="M18.36 18.36 19.78 19.78"/><path d="M1 12 3 12"/><path d="M21 12 23 12"/><path d="M4.22 19.78 5.64 18.36"/><path d="M18.36 5.64 19.78 4.22"/>'},e)}const C_=e("bC",()=>{const{toggleColorMode:e}=vs(),t=ys({size:"$8",component:w_,p:"$0_5"},{size:"$8",component:A_,p:"$0_5"});return pe(Fs,{cursor:"pointer",get boxSize(){return t().size},get as(){return t().component},onClick:e,get p(){return t().p}})});function x_(e){return k_({a:{viewBox:"0 0 512 512"},c:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M48 112 336 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M192 64 192 112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M272 448 368 224 464 448"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M301.5 384 434.5 384"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M281.3 112S257 206 199 277 80 384 80 384"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 336s-35-27-72-75-56-85-56-85"/>'},e)}const[O_,I_]=k(!1),N_=e=>{const t=async e=>{oE(e),localStorage.setItem("lang",e)};return localStorage.getItem("lang")||t(Jy.find(e=>e.code===navigator.language)?navigator.language:"en"),[pe(od,{get children(){return[pe(_d,be({cursor:"pointer"},e)),pe(cd,{get children(){return pe(ke,{each:Jy,children:(e,n)=>pe(bd,{onSelect:()=>{t(e.code)},get children(){return e.lang}})})}})]}}),pe(Te,{get when(){return O_()},get children(){return pe(lt,{get children(){return pe(cc,{h:"$full",w:"$full",pos:"fixed",top:0,get bg(){return ys("$blackAlpha4","$whiteAlpha4")()},zIndex:"9000",get children(){return pe(yh,{thickness:"4px",speed:"0.65s",emptyColor:"$neutral4",color:"$info10",size:"xl"})}})}})}})]};e("bB",()=>pe(N_,{as:x_,boxSize:"$8"}));
12
12
  /*!
13
13
  Highlight.js v11.4.0 (git: 2d0e7c1094)
14
14
  (c) 2006-2022 Ivan Sagalaev and other contributors
@@ -25,4 +25,4 @@ var L_=function(){var e={exports:{}};function t(e){return e instanceof Map?e.cle
25
25
  * @license MIT
26
26
  *)
27
27
  */
28
- function Mw(e,t,n,r){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}const Pw={}.hasOwnProperty;function Bw(e,t){let n;for(n in t){const r=(Pw.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){Pw.call(r,i)||(r[i]=[]);const e=o[i];$w(r[i],Array.isArray(e)?e:e?[e]:[])}}}function $w(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Mw(e,0,0,r)}const Fw=qw(/[A-Za-z]/),Hw=qw(/[\dA-Za-z]/);function zw(e){return null!==e&&e<-2}function Uw(e){return null!==e&&(e<0||32===e)}function jw(e){return-2===e||-1===e||32===e}const Gw=qw(/[!-\/:-@\[-`\{-~\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\u1B5A-\u1B60\u1B7D\u1B7E\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]/),Ww=qw(/\s/);function qw(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}const Vw={tokenize:function(e,t,n){let r=0;return function t(i){return(87===i||119===i)&&r<3?(r++,e.consume(i),t):46===i&&3===r?(e.consume(i),o):n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},Yw={tokenize:function(e,t,n){let r,o,i;return a;function a(t){return 46===t||95===t?e.check(Xw,l,s)(t):null===t||Uw(t)||Ww(t)||45!==t&&Gw(t)?l(t):(i=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}function l(e){return o||r||!i?n(e):t(e)}},partial:!0},Kw={tokenize:function(e,t){let n=0,r=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(Xw,t,i)(a):null===a||Uw(a)||Ww(a)?t(a):(e.consume(a),o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},Xw={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),i):93===a?(e.consume(a),o):60===a||null===a||Uw(a)||Ww(a)?t(a):n(a)}function o(e){return null===e||40===e||91===e||Uw(e)||Ww(e)?t(e):r(e)}function i(e){return Fw(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):Fw(t)?(e.consume(t),a):n(t)}},partial:!0},Qw={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Hw(e)?n(e):t(e)}},partial:!0},Zw={tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!oA.call(r,r.previous)||lA(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Vw,e.attempt(Yw,e.attempt(Kw,o),n),n)(t))};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:oA},Jw={tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){return 72!==t&&104!==t||!iA.call(r,r.previous)||lA(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a)};function a(t){if(Fw(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),i?l:(i=!0,s)):n(t)}function l(t){return null===t||function(e){return null!==e&&(e<32||127===e)}(t)||Uw(t)||Ww(t)||Gw(t)?n(t):e.attempt(Yw,e.attempt(Kw,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:iA},eA={tokenize:function(e,t,n){const r=this;let o,i;return function(t){return sA(t)&&aA.call(r,r.previous)&&!lA(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)):n(t)};function a(t){return sA(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(Qw,c,l)(t):45===t||95===t||Hw(t)?(i=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),o=!0,s}function c(a){return i&&o&&Fw(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:aA},tA={},nA={text:tA};let rA=48;for(;rA<123;)tA[rA]=eA,rA++,58===rA?rA=65:91===rA&&(rA=97);function oA(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||Uw(e)}function iA(e){return!Fw(e)}function aA(e){return!(47===e||sA(e))}function sA(e){return 43===e||45===e||46===e||95===e||Hw(e)}function lA(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function cA(e){return null===e||Uw(e)||Ww(e)?1:Gw(e)?2:void 0}function uA(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function dA(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){return jw(r)?(e.enter(n),a(r)):t(r)};function a(r){return jw(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}tA[43]=eA,tA[45]=eA,tA[46]=eA,tA[95]=eA,tA[72]=[eA,Jw],tA[104]=[eA,Jw],tA[87]=[eA,Zw],tA[119]=[eA,Zw];const pA={tokenize:function(e,t,n){return function(t){return jw(t)?dA(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||zw(e)?t(e):n(e)}},partial:!0},hA=document.createElement("i");function fA(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const gA={tokenize:function(e,t,n){const r=this;return dA(e,function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function mA(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const s=fA(r.sliceSerialize({start:a.end,end:r.now()}));return 94===s.codePointAt(0)&&i.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function bA(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function vA(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!i||null===s||91===s||Uw(s))return n(s);if(93===s){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(fA(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return Uw(s)||(i=!0),a++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function yA(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!a||null===t||91===t||Uw(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=fA(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Uw(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),dA(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function EA(e,t,n){return e.check(pA,t,e.attempt(gA,t,n))}function _A(e){e.exit("gfmFootnoteDefinition")}function SA(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){return 126===o&&"characterEscape"!==i[i.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),s(t))};function s(i){const l=cA(o);if(126===i)return a>1?r(i):(e.consume(i),a++,s);if(a<2&&!t)return r(i);const c=e.exit("strikethroughSequenceTemporary"),u=cA(i);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],s=t.parser.constructs.insideSpan.null;s&&Mw(a,a.length,0,uA(s,e.slice(r+1,n),t)),Mw(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),Mw(e,r-1,n-r+3,a),n=r+a.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class kA{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0!==n||0!==r.length){for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort((e,t)=>e[0]-t[0]),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function TA(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}const wA={flow:{null:{tokenize:function(e,t,n){const r=this;let o,i=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?E:s;return i===E&&r.parser.lazy[r.now().line]?n(e):i(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(o=!0,a+=1),l(e)}(t)}function l(t){return null===t?n(t):zw(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):jw(t)?dA(e,l,"whitespace")(t):(a+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||Uw(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,jw(t)?dA(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?f(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):y(t)}function h(t){return jw(t)?dA(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(a+=1,g(t)):null===t||zw(t)?v(t):y(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),m(t)):y(t)}function m(t){return 45===t?(e.consume(t),m):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(t))}function b(t){return jw(t)?dA(e,v,"whitespace")(t):v(t)}function v(n){return 124===n?p(n):(null===n||zw(n))&&o&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function E(t){return e.enter("tableRow"),_(t)}function _(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),_):null===n||zw(n)?(e.exit("tableRow"),t(n)):jw(n)?dA(e,_,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||Uw(t)?(e.exit("data"),_(t)):(e.consume(t),92===t?k:S)}function k(t){return 92===t||124===t?(e.consume(t),S):S(t)}},resolveAll:function(e,t){let n,r,o,i=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new kA;for(;++i<e.length;){const h=e[i],f=h[1];"enter"===h[0]?"tableHead"===f.type?(u=!1,0!==d&&(CA(p,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(i,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(a=!0,o=void 0,l=[0,0,0,0],c=[0,i+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(i,0,[["enter",r,t]])),s="tableDelimiterRow"===f.type?2:r?3:1):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(a?a=!1:(0!==l[1]&&(c[0]=c[1],o=AA(p,t,l,s,void 0,o)),l=c,c=[l[1],i,0,0])):(a=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],o=AA(p,t,l,s,void 0,o),l=[0,0,0,0]),c[2]=i)):"tableHead"===f.type?(u=!0,d=i):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=i,0!==l[1]?(c[0]=c[1],o=AA(p,t,l,s,i,o)):0!==c[1]&&(o=AA(p,t,c,s,i,o)),s=0):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(c[3]=i)}for(0!==d&&CA(p,t,d,n,r),p.consume(t.events),i=-1;++i<t.events.length;){const e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=TA(t.events,i))}return e}}}};function AA(e,t,n,r,o,i){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(i.end=Object.assign({},xA(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const s=xA(t.events,n[1]);if(i={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){const o=xA(t.events,n[2]),i=xA(t.events,n[3]),a={type:"tableContent",start:Object.assign({},o),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==o&&(i.end=Object.assign({},xA(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function CA(e,t,n,r,o){const i=[],a=xA(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function xA(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const OA={tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return Uw(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return zw(r)?t(r):jw(r)?e.check({tokenize:NA},t,n)(r):n(r)}}},IA={text:{91:OA}};function NA(e,t,n){return dA(e,function(e){return null===e?n(e):t(e)},"whitespace")}function LA(e){return function(e){const t={};let n=-1;for(;++n<e.length;)Bw(t,e[n]);return t}([nA,{document:{91:{tokenize:yA,continuation:{tokenize:EA},exit:_A}},text:{91:{tokenize:vA},93:{add:"after",tokenize:mA,resolveTo:bA}}},SA(e),wA,IA])}function DA(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}const RA=e("c",function(e){if(null==e)return PA;if("string"==typeof e)return function(e){return MA(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=RA(e[n]);return MA(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}}(e):function(e){return MA(t);function t(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"==typeof e)return MA(e);throw new Error("Expected function, string, or object as test")});function MA(e){return function(t,...n){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...n)))}}function PA(){return!0}const BA=!0,$A=!1,FA=e("v",function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);const o=RA(t),i=r?-1:1;!function e(a,s,l){const c=a&&"object"==typeof a?a:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,p=[];if((!t||o(a,s,l[l.length-1]||null))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[BA,e]:[e]}(n(a,l)),p[0]===$A))return p;if(a.children&&"skip"!==p[0])for(u=(r?a.children.length:-1)+i,d=l.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,d)(),c[0]===$A)return c;u="number"==typeof c[1]?c[1]:u+i}return p}}(e,void 0,[])()}),HA={}.hasOwnProperty,zA=function(e,t,n,r){let o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,n]],o=r):(i=t,o=n),o||(o={});const a=RA(o.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([UA(e[n][0]),jA(e[n][1])])}else{let n;for(n in e)HA.call(e,n)&&t.push([UA(n),jA(e[n])])}return t}(i);let l=-1;for(;++l<s.length;)FA(e,"text",c);return e;function c(e,t){let n,r=-1;for(;++r<t.length;){const e=t[r];if(a(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=s[l][0],o=s[l][1];let i=0;const a=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,a={index:d.index,input:d.input,stack:[...t,e]};let s=o(...d,a);if("string"==typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1!==s&&(i!==n&&u.push({type:"text",value:e.value.slice(i,n)}),Array.isArray(s)?u.push(...s):s&&u.push(s),i=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(i<e.value.length&&u.push({type:"text",value:e.value.slice(i)}),n.children.splice(a,1,...u)):u=[e],a+u.length}(e,t)}};function UA(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function jA(e){return"function"==typeof e?e:()=>e}const GA="phrasing",WA=["autolink","link","image","label"],qA={transforms:[function(e){zA(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,KA],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,XA]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:YA,literalAutolinkHttp:YA,literalAutolinkWww:YA},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}}},VA={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:GA,notInConstruct:WA},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:GA,notInConstruct:WA},{character:":",before:"[ps]",after:"\\/",inConstruct:GA,notInConstruct:WA}]};function YA(e){this.config.enter.autolinkProtocol.call(this,e)}function KA(e,t,n,r,o){let i="";if(!QA(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=DA(e,"(");let i=DA(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function XA(e,t,n,r){return!(!QA(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function QA(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Ww(n)||Gw(n))&&(!t||47!==n)}const ZA=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function JA(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return function(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}(n.slice(t?2:1),t?16:10)}return function(e){const t="&"+e+";";hA.innerHTML=t;const n=hA.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}(n)||e}function eC(e){return e.label||!e.identifier?e.label||"":e.identifier.replace(ZA,JA)}function tC(e,t,n,r){let o=r.join.length;for(;o--;){const i=r.join[o](e,t,n,r);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const nC=/\r?\n|\r/g;function rC(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function oC(e,t){return iC(e,t.inConstruct,!0)&&!iC(e,t.notInConstruct,!1)}function iC(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function aC(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),o=[],i=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!oC(e.stack,t))continue;const n=rC(t);let i;for(;i=n.exec(r);){const e="before"in t||Boolean(t.atBreak),n="after"in t,r=i.index+(e?i[1].length:0);o.includes(r)?(a[r].before&&!e&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(o.push(r),a[r]={before:e,after:n})}}o.sort(sC);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(s=-1;++s<o.length;){const e=o[s];e<l||e>=c||e+1<c&&o[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(l!==e&&i.push(lC(r.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(i.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),l++):i.push("\\"))}return i.push(lC(r.slice(l,c),n.after)),i.join("")}function sC(e,t){return e-t}function lC(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],o=[],i=e+t;let a,s=-1,l=0;for(;a=n.exec(i);)r.push(a.index);for(;++s<r.length;)l!==r[s]&&o.push(e.slice(l,r[s])),o.push("\\"),l=r[s];return o.push(e.slice(l)),o.join("")}function cC(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,o=n.line||1,i=n.column||1;return{move:function(e){const t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return o+=n.length-1,i=1===n.length?i+a.length:1+a.length+r,t},current:function(){return{now:{line:o,column:i},lineShift:r}},shift:function(e){r+=e}}}function uC(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function dC(){this.buffer()}function pC(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=fA(this.sliceSerialize(e)).toLowerCase()}function hC(e){this.exit(e)}function fC(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function gC(){this.buffer()}function mC(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=fA(this.sliceSerialize(e)).toLowerCase()}function bC(e){this.exit(e)}function vC(e,t,n,r){const o=cC(r);let i=o.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return i+=o.move(aC(n,eC(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}function yC(e,t,n,r){const o=cC(r);let i=o.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return i+=o.move(aC(n,eC(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const n=[];let r,o=0,i=0;for(;r=nC.exec(e);)a(e.slice(o,r.index)),n.push(r[0]),o=r.index+r[0].length,i++;return a(e.slice(o)),n.join("");function a(e){n.push(t(e,i,!e))}}(function(e,t,n){const r=t.indexStack,o=e.children||[],i=t.createTracker(n),a=[];let s=-1;for(r.push(-1);++s<o.length;){const n=o[s];r[r.length-1]=s,a.push(i.move(t.handle(n,e,t,{before:"\n",after:"\n",...i.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<o.length-1&&a.push(i.move(tC(n,o[s+1],e,t)))}return r.pop(),a.join("")}(e,n,o.current()),EC)),a(),i}function EC(e,t,n){return 0===t?e:(n?"":" ")+e}function _C(e,t,n){const r=t.indexStack,o=e.children||[],i=[];let a=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++a<o.length;){const c=o[a];let u;if(r[r.length-1]=a,a+1<o.length){let n=t.handle.handlers[o[a+1].type];n&&n.peek&&(n=n.peek),u=n?n(o[a+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else u=n.after;i.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(i.join(""))),i.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=i[i.length-1].slice(-1)}return r.pop(),i.join("")}vC.peek=function(){return"["},TC.peek=function(){return"~"};const SC={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},kC={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:TC}};function TC(e,t,n,r){const o=cC(r),i=n.enter("strikethrough");let a=o.move("~~");return a+=_C(e,n,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function wC(e,t,n){let r=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const e=n.unsafe[i],t=rC(e);let o;if(e.atBreak)for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function AC(e){return e.length}function CC(e){return null==e?"":String(e)}function xC(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}wC.peek=function(){return"`"};const OC={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map(e=>"none"===e?null:e),children:[]},e),this.setData("inTable",!0)},tableData:NC,tableHeader:NC,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,LC));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:IC,tableHeader:IC,tableRow:IC}};function IC(e){this.exit(e)}function NC(e){this.enter({type:"tableCell",children:[]},e)}function LC(e,t){return"|"===t?t:e}function DC(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=l(r[o],t,n);return a(),i}(e,n,r),e.align)},tableRow:function(e,t,n,r){const o=l(e,n,r),i=s([o]);return i.slice(0,i.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){let r=wC(e,0,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r}}};function a(e,t,n,r){const o=n.enter("tableCell"),a=n.enter("phrasing"),s=_C(e,n,{...r,before:i,after:i});return a(),o(),s}function s(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||AC,i=[],a=[],s=[],l=[];let c=0,u=-1;for(;++u<e.length;){const t=[],r=[];let i=-1;for(e[u].length>c&&(c=e[u].length);++i<e[u].length;){const a=CC(e[u][i]);if(!1!==n.alignDelimiters){const e=o(a);r[i]=e,(void 0===l[i]||e>l[i])&&(l[i]=e)}t.push(a)}a[u]=t,s[u]=r}let d=-1;if("object"==typeof r&&"length"in r)for(;++d<c;)i[d]=xC(r[d]);else{const e=xC(r);for(;++d<c;)i[d]=e}d=-1;const p=[],h=[];for(;++d<c;){const e=i[d];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let o=!1===n.alignDelimiters?1:Math.max(1,l[d]-t.length-r.length);const a=t+"-".repeat(o)+r;!1!==n.alignDelimiters&&(o=t.length+o+r.length,o>l[d]&&(l[d]=o),h[d]=o),p[d]=a}a.splice(1,0,p),s.splice(1,0,h),u=-1;const f=[];for(;++u<a.length;){const e=a[u],t=s[u];d=-1;const r=[];for(;++d<c;){const o=e[d]||"";let a="",s="";if(!1!==n.alignDelimiters){const e=l[d]-(t[d]||0),n=i[d];114===n?a=" ".repeat(e):99===n?e%2?(a=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),s=a):s=" ".repeat(e)}!1===n.delimiterStart||d||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===o||!1===n.delimiterStart&&!d||r.push(" "),!1!==n.alignDelimiters&&r.push(a),r.push(o),!1!==n.alignDelimiters&&r.push(s),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&d===c-1||r.push("|")}f.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return f.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function l(e,t,n){const r=e.children;let o=-1;const i=[],s=t.enter("tableRow");for(;++o<r.length;)i[o]=a(r[o],0,t,n);return s(),i}}function RC(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let i=n.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=n.createTracker(r);s.move(i+" ".repeat(a-i.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(a))+e:(n?i:i+" ".repeat(a-i.length))+e});return l(),c}const MC={exit:{taskListCheckValueChecked:BC,taskListCheckValueUnchecked:BC,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){const e=r[i];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}}},PC={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=cC(r);i&&s.move(a);let l=RC(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+a})),l}}};function BC(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function $C(e={}){const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",LA(e)),n("fromMarkdownExtensions",[qA,{enter:{gfmFootnoteDefinition:uC,gfmFootnoteDefinitionLabelString:dC,gfmFootnoteCall:fC,gfmFootnoteCallString:gC},exit:{gfmFootnoteDefinition:hC,gfmFootnoteDefinitionLabelString:pC,gfmFootnoteCall:bC,gfmFootnoteCallString:mC}},SC,OC,MC]),n("toMarkdownExtensions",function(e){return{extensions:[VA,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:yC,footnoteReference:vC}},kC,DC(e),PC]}}(e))}const FC="object"==typeof self?self:globalThis,HC=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,a]=t[o];switch(i){case 0:case-1:return n(a,o);case 1:{const e=n([],o);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),o);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n(new FC[e](t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}}return n(new FC[i](a),o)};return r})(new Map,e)(0),zC="",{toString:UC}={},{keys:jC}=Object,GC=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=UC.call(e).slice(8,-1);switch(n){case"Array":return[1,zC];case"Object":return[2,zC];case"Date":return[3,zC];case"RegExp":return[4,zC];case"Map":return[5,zC];case"Set":return[6,zC];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},WC=([e,t])=>0===e&&("function"===t||"symbol"===t),qC=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[a,s]=GC(r);switch(a){case 0:{let t=r;switch(s){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return o([-1],r)}return o([a,t],r)}case 1:{if(s){let e=r;return"DataView"===s?e=new Uint8Array(r.buffer):"ArrayBuffer"===s&&(e=new Uint8Array(r)),o([s,[...e]],r)}const e=[],t=o([a,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(s)switch(s){case"BigInt":return o([s,r.toString()],r);case"Boolean":case"Number":case"String":return o([s,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],l=o([a,n],r);for(const t of jC(r))!e&&WC(GC(r[t]))||n.push([i(t),i(r[t])]);return l}case 3:return o([a,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([a,{source:e,flags:t}],r)}case 5:{const t=[],n=o([a,t],r);for(const[o,a]of r)(e||!WC(GC(o))&&!WC(GC(a)))&&t.push([i(o),i(a)]);return n}case 6:{const t=[],n=o([a,t],r);for(const o of r)!e&&WC(GC(o))||t.push(i(o));return n}}const{message:l}=r;return o([a,{name:s,message:l}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},VC="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?HC(qC(e,t)):structuredClone(e):(e,t)=>HC(qC(e,t));let YC=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};function KC(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new YC(n,r,t)}function XC(e){return e.toLowerCase()}YC.prototype.normal={},YC.prototype.property={},YC.prototype.space=void 0;let QC=class{constructor(e,t){this.attribute=t,this.property=e}};QC.prototype.attribute="",QC.prototype.booleanish=!1,QC.prototype.boolean=!1,QC.prototype.commaOrSpaceSeparated=!1,QC.prototype.commaSeparated=!1,QC.prototype.defined=!1,QC.prototype.mustUseProperty=!1,QC.prototype.number=!1,QC.prototype.overloadedBoolean=!1,QC.prototype.property="",QC.prototype.spaceSeparated=!1,QC.prototype.space=void 0;let ZC=0;const JC=ax(),ex=ax(),tx=ax(),nx=ax(),rx=ax(),ox=ax(),ix=ax();function ax(){return 2**++ZC}const sx=Object.freeze(Object.defineProperty({__proto__:null,boolean:JC,booleanish:ex,commaOrSpaceSeparated:ix,commaSeparated:ox,number:nx,overloadedBoolean:tx,spaceSeparated:rx},Symbol.toStringTag,{value:"Module"})),lx=Object.keys(sx);let cx=class extends QC{constructor(e,t,n,r){let o=-1;if(super(e,t),ux(this,"space",r),"number"==typeof n)for(;++o<lx.length;){const e=lx[o];ux(this,lx[o],(n&sx[e])===sx[e])}}};function ux(e,t,n){n&&(e[t]=n)}function dx(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const i=new cx(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[XC(r)]=r,n[XC(i.attribute)]=r}return new YC(t,n,e.space)}cx.prototype.defined=!0;const px=dx({properties:{ariaActiveDescendant:null,ariaAtomic:ex,ariaAutoComplete:null,ariaBusy:ex,ariaChecked:ex,ariaColCount:nx,ariaColIndex:nx,ariaColSpan:nx,ariaControls:rx,ariaCurrent:null,ariaDescribedBy:rx,ariaDetails:null,ariaDisabled:ex,ariaDropEffect:rx,ariaErrorMessage:null,ariaExpanded:ex,ariaFlowTo:rx,ariaGrabbed:ex,ariaHasPopup:null,ariaHidden:ex,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:rx,ariaLevel:nx,ariaLive:null,ariaModal:ex,ariaMultiLine:ex,ariaMultiSelectable:ex,ariaOrientation:null,ariaOwns:rx,ariaPlaceholder:null,ariaPosInSet:nx,ariaPressed:ex,ariaReadOnly:ex,ariaRelevant:null,ariaRequired:ex,ariaRoleDescription:rx,ariaRowCount:nx,ariaRowIndex:nx,ariaRowSpan:nx,ariaSelected:ex,ariaSetSize:nx,ariaSort:null,ariaValueMax:nx,ariaValueMin:nx,ariaValueNow:nx,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function hx(e,t){return t in e?e[t]:t}function fx(e,t){return hx(e,t.toLowerCase())}const gx=dx({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ox,acceptCharset:rx,accessKey:rx,action:null,allow:null,allowFullScreen:JC,allowPaymentRequest:JC,allowUserMedia:JC,alt:null,as:null,async:JC,autoCapitalize:null,autoComplete:rx,autoFocus:JC,autoPlay:JC,blocking:rx,capture:null,charSet:null,checked:JC,cite:null,className:rx,cols:nx,colSpan:null,content:null,contentEditable:ex,controls:JC,controlsList:rx,coords:nx|ox,crossOrigin:null,data:null,dateTime:null,decoding:null,default:JC,defer:JC,dir:null,dirName:null,disabled:JC,download:tx,draggable:ex,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:JC,formTarget:null,headers:rx,height:nx,hidden:tx,high:nx,href:null,hrefLang:null,htmlFor:rx,httpEquiv:rx,id:null,imageSizes:null,imageSrcSet:null,inert:JC,inputMode:null,integrity:null,is:null,isMap:JC,itemId:null,itemProp:rx,itemRef:rx,itemScope:JC,itemType:rx,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:JC,low:nx,manifest:null,max:null,maxLength:nx,media:null,method:null,min:null,minLength:nx,multiple:JC,muted:JC,name:null,nonce:null,noModule:JC,noValidate:JC,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:JC,optimum:nx,pattern:null,ping:rx,placeholder:null,playsInline:JC,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:JC,referrerPolicy:null,rel:rx,required:JC,reversed:JC,rows:nx,rowSpan:nx,sandbox:rx,scope:null,scoped:JC,seamless:JC,selected:JC,shadowRootClonable:JC,shadowRootDelegatesFocus:JC,shadowRootMode:null,shape:null,size:nx,sizes:null,slot:null,span:nx,spellCheck:ex,src:null,srcDoc:null,srcLang:null,srcSet:null,start:nx,step:null,style:null,tabIndex:nx,target:null,title:null,translate:null,type:null,typeMustMatch:JC,useMap:null,value:ex,width:nx,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:rx,axis:null,background:null,bgColor:null,border:nx,borderColor:null,bottomMargin:nx,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:JC,declare:JC,event:null,face:null,frame:null,frameBorder:null,hSpace:nx,leftMargin:nx,link:null,longDesc:null,lowSrc:null,marginHeight:nx,marginWidth:nx,noResize:JC,noHref:JC,noShade:JC,noWrap:JC,object:null,profile:null,prompt:null,rev:null,rightMargin:nx,rules:null,scheme:null,scrolling:ex,standby:null,summary:null,text:null,topMargin:nx,valueType:null,version:null,vAlign:null,vLink:null,vSpace:nx,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:JC,disableRemotePlayback:JC,prefix:null,property:null,results:nx,security:null,unselectable:null},space:"html",transform:fx}),mx=dx({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ix,accentHeight:nx,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:nx,amplitude:nx,arabicForm:null,ascent:nx,attributeName:null,attributeType:null,azimuth:nx,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:nx,by:null,calcMode:null,capHeight:nx,className:rx,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:nx,diffuseConstant:nx,direction:null,display:null,dur:null,divisor:nx,dominantBaseline:null,download:JC,dx:null,dy:null,edgeMode:null,editable:null,elevation:nx,enableBackground:null,end:null,event:null,exponent:nx,externalResourcesRequired:null,fill:null,fillOpacity:nx,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ox,g2:ox,glyphName:ox,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:nx,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:nx,horizOriginX:nx,horizOriginY:nx,id:null,ideographic:nx,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:nx,k:nx,k1:nx,k2:nx,k3:nx,k4:nx,kernelMatrix:ix,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:nx,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:nx,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:nx,overlineThickness:nx,paintOrder:null,panose1:null,path:null,pathLength:nx,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:rx,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:nx,pointsAtY:nx,pointsAtZ:nx,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ix,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ix,rev:ix,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ix,requiredFeatures:ix,requiredFonts:ix,requiredFormats:ix,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:nx,specularExponent:nx,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:nx,strikethroughThickness:nx,string:null,stroke:null,strokeDashArray:ix,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:nx,strokeOpacity:nx,strokeWidth:null,style:null,surfaceScale:nx,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ix,tabIndex:nx,tableValues:null,target:null,targetX:nx,targetY:nx,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ix,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:nx,underlineThickness:nx,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:nx,values:null,vAlphabetic:nx,vMathematical:nx,vectorEffect:null,vHanging:nx,vIdeographic:nx,version:null,vertAdvY:nx,vertOriginX:nx,vertOriginY:nx,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:nx,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:hx}),bx=dx({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),vx=dx({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:fx}),yx=dx({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),Ex=/[A-Z]/g,_x=/-[a-z]/g,Sx=/^data[-\w.:]+$/i;function kx(e,t){const n=XC(t);let r=t,o=QC;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Sx.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(_x,wx);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!_x.test(e)){let n=e.replace(Ex,Tx);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=cx}return new o(r,t)}function Tx(e){return"-"+e.toLowerCase()}function wx(e){return e.charAt(1).toUpperCase()}const Ax=KC([px,gx,bx,vx,yx],"html"),Cx=KC([px,mx,bx,vx,yx],"svg");function xx(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);const e=n.slice(o,r).trim();!e&&i||t.push(e),o=r+1,r=n.indexOf(",",o)}return t}const Ox=/[#.]/g;function Ix(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Nx(e,t,n){const r=n?function(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,o,...i){let a;if(null==n){a={type:"root",children:[]};const e=o;i.unshift(e)}else{a=function(e,t){const n=e||"",r={};let o,i,a=0;for(;a<n.length;){Ox.lastIndex=a;const e=Ox.exec(n),t=n.slice(a,e?e.index:n.length);t&&(o?"#"===o?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:i=t,a+=t.length),e&&(o=e[0],a++)}return{type:"element",tagName:i||t||"div",properties:r,children:[]}}(n,t);const s=a.tagName.toLowerCase(),l=r?r.get(s):void 0;if(a.tagName=l||s,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;const t=e,n=Object.keys(e);for(const r of n){const e=t[r];if(e&&"object"==typeof e){if(!Array.isArray(e))return!0;const t=e;for(const e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!(!("children"in e)||!Array.isArray(e.children))}(o))i.unshift(o);else for(const[t,n]of Object.entries(o))Lx(e,a.properties,t,n)}for(const e of i)Dx(a.children,e);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function Lx(e,t,n,r){const o=kx(e,n);let i;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r}else i="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?Ix(r):o.commaSeparated?xx(r):o.commaOrSpaceSeparated?Ix(xx(r).join(" ")):Rx(o,o.property,r):Array.isArray(r)?[...r]:"style"===o.property?function(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(i)){const e=[];for(const t of i)e.push(Rx(o,o.property,t));i=e}"className"===o.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[o.property]=i}}function Dx(e,t){if(null==t);else if("number"==typeof t||"string"==typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)Dx(e,n);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?Dx(e,t.children):e.push(t)}}function Rx(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||XC(n)===XC(t)))return!0}return n}const Mx=Nx(Ax,"div"),Px=Nx(Cx,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","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","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);function Bx(e,t){const n=e.indexOf("\r",t),r=e.indexOf("\n",t);return-1===r?n:-1===n||n+1===r?r:n<r?n:r}const $x=e("w",{html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}),Fx={}.hasOwnProperty,Hx=Object.prototype;function zx(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},jx(e,r,n),n}case"#document":case"#document-fragment":{const r=t,o="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:Ux(e,t.childNodes),data:{quirksMode:o}},e.file&&e.location){const t=String(e.file),r=function(e){const t=String(e),n=[];return{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){const e=n[n.length-1],r=Bx(t,e),o=-1===r?t.length+1:r+1;if(e===o)break;n.push(o)}const r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let r=0;for(;;){let o=n[r];if(void 0===o){const e=Bx(t,n[r-1]);o=-1===e?t.length+1:e+1,n[r]=o}if(o>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),o=r.toPoint(0),i=r.toPoint(t.length);n.position={start:o,end:i}}return n}case"#documentType":return n={type:"doctype"},jx(e,t,n),n;case"#text":{const r=t;return n={type:"text",value:r.value},jx(e,r,n),n}default:return n=function(e,t){const n=e.schema;e.schema=t.namespaceURI===$x.svg?Cx:Ax;let r=-1;const o={};for(;++r<t.attrs.length;){const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;Fx.call(Hx,n)||(o[n]=e.value)}const i="svg"===e.schema.space?Px:Mx,a=i(t.tagName,o,Ux(e,t.childNodes));if(jx(e,t,a),"template"===a.tagName){const n=t,r=n.sourceCodeLocation,o=r&&r.startTag&&Wx(r.startTag),i=r&&r.endTag&&Wx(r.endTag),s=zx(e,n.content);o&&i&&e.file&&(s.position={start:o.end,end:i.start}),a.content=s}return e.schema=n,a}(e,t),n}}function Ux(e,t){let n=-1;const r=[];for(;++n<t.length;){const o=zx(e,t[n]);r.push(o)}return r}function jx(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=Gx(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Gx(e,t,n){const r=Wx(n);if("element"===t.type){const o=t.children[t.children.length-1];if(r&&!n.endTag&&o&&o.position&&o.position.end&&(r.end=Object.assign({},o.position.end)),e.verbose){const r={};let o;if(n.attrs)for(o in n.attrs)Fx.call(n.attrs,o)&&(r[kx(e.schema,o).property]=Wx(n.attrs[o]));n.startTag;const i=Wx(n.startTag),a=n.endTag?Wx(n.endTag):void 0,s={opening:i};a&&(s.closing=a),s.properties=r,t.data={position:s}}}return r}function Wx(e){const t=qx({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=qx({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function qx(e){return e.line&&e.column?e:void 0}class Vx{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function Yx(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new Vx(n,r,t)}function Kx(e){return e.toLowerCase()}Vx.prototype.property={},Vx.prototype.normal={},Vx.prototype.space=null;class Xx{constructor(e,t){this.property=e,this.attribute=t}}Xx.prototype.space=null,Xx.prototype.boolean=!1,Xx.prototype.booleanish=!1,Xx.prototype.overloadedBoolean=!1,Xx.prototype.number=!1,Xx.prototype.commaSeparated=!1,Xx.prototype.spaceSeparated=!1,Xx.prototype.commaOrSpaceSeparated=!1,Xx.prototype.mustUseProperty=!1,Xx.prototype.defined=!1;let Qx=0;const Zx=iO(),Jx=iO(),eO=iO(),tO=iO(),nO=iO(),rO=iO(),oO=iO();function iO(){return 2**++Qx}const aO=Object.freeze(Object.defineProperty({__proto__:null,boolean:Zx,booleanish:Jx,commaOrSpaceSeparated:oO,commaSeparated:rO,number:tO,overloadedBoolean:eO,spaceSeparated:nO},Symbol.toStringTag,{value:"Module"})),sO=Object.keys(aO);class lO extends Xx{constructor(e,t,n,r){let o=-1;if(super(e,t),cO(this,"space",r),"number"==typeof n)for(;++o<sO.length;){const e=sO[o];cO(this,sO[o],(n&aO[e])===aO[e])}}}function cO(e,t,n){n&&(e[t]=n)}lO.prototype.defined=!0;const uO={}.hasOwnProperty;function dO(e){const t={},n={};let r;for(r in e.properties)if(uO.call(e.properties,r)){const o=e.properties[r],i=new lO(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Kx(r)]=r,n[Kx(i.attribute)]=r}return new Vx(t,n,e.space)}const pO=dO({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),hO=dO({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function fO(e,t){return t in e?e[t]:t}function gO(e,t){return fO(e,t.toLowerCase())}const mO=dO({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:gO,properties:{xmlns:null,xmlnsXLink:null}}),bO=dO({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Jx,ariaAutoComplete:null,ariaBusy:Jx,ariaChecked:Jx,ariaColCount:tO,ariaColIndex:tO,ariaColSpan:tO,ariaControls:nO,ariaCurrent:null,ariaDescribedBy:nO,ariaDetails:null,ariaDisabled:Jx,ariaDropEffect:nO,ariaErrorMessage:null,ariaExpanded:Jx,ariaFlowTo:nO,ariaGrabbed:Jx,ariaHasPopup:null,ariaHidden:Jx,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:nO,ariaLevel:tO,ariaLive:null,ariaModal:Jx,ariaMultiLine:Jx,ariaMultiSelectable:Jx,ariaOrientation:null,ariaOwns:nO,ariaPlaceholder:null,ariaPosInSet:tO,ariaPressed:Jx,ariaReadOnly:Jx,ariaRelevant:null,ariaRequired:Jx,ariaRoleDescription:nO,ariaRowCount:tO,ariaRowIndex:tO,ariaRowSpan:tO,ariaSelected:Jx,ariaSetSize:tO,ariaSort:null,ariaValueMax:tO,ariaValueMin:tO,ariaValueNow:tO,ariaValueText:null,role:null}}),vO=dO({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:gO,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:rO,acceptCharset:nO,accessKey:nO,action:null,allow:null,allowFullScreen:Zx,allowPaymentRequest:Zx,allowUserMedia:Zx,alt:null,as:null,async:Zx,autoCapitalize:null,autoComplete:nO,autoFocus:Zx,autoPlay:Zx,blocking:nO,capture:null,charSet:null,checked:Zx,cite:null,className:nO,cols:tO,colSpan:null,content:null,contentEditable:Jx,controls:Zx,controlsList:nO,coords:tO|rO,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Zx,defer:Zx,dir:null,dirName:null,disabled:Zx,download:eO,draggable:Jx,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Zx,formTarget:null,headers:nO,height:tO,hidden:Zx,high:tO,href:null,hrefLang:null,htmlFor:nO,httpEquiv:nO,id:null,imageSizes:null,imageSrcSet:null,inert:Zx,inputMode:null,integrity:null,is:null,isMap:Zx,itemId:null,itemProp:nO,itemRef:nO,itemScope:Zx,itemType:nO,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Zx,low:tO,manifest:null,max:null,maxLength:tO,media:null,method:null,min:null,minLength:tO,multiple:Zx,muted:Zx,name:null,nonce:null,noModule:Zx,noValidate:Zx,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Zx,optimum:tO,pattern:null,ping:nO,placeholder:null,playsInline:Zx,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Zx,referrerPolicy:null,rel:nO,required:Zx,reversed:Zx,rows:tO,rowSpan:tO,sandbox:nO,scope:null,scoped:Zx,seamless:Zx,selected:Zx,shadowRootClonable:Zx,shadowRootDelegatesFocus:Zx,shadowRootMode:null,shape:null,size:tO,sizes:null,slot:null,span:tO,spellCheck:Jx,src:null,srcDoc:null,srcLang:null,srcSet:null,start:tO,step:null,style:null,tabIndex:tO,target:null,title:null,translate:null,type:null,typeMustMatch:Zx,useMap:null,value:Jx,width:tO,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:nO,axis:null,background:null,bgColor:null,border:tO,borderColor:null,bottomMargin:tO,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Zx,declare:Zx,event:null,face:null,frame:null,frameBorder:null,hSpace:tO,leftMargin:tO,link:null,longDesc:null,lowSrc:null,marginHeight:tO,marginWidth:tO,noResize:Zx,noHref:Zx,noShade:Zx,noWrap:Zx,object:null,profile:null,prompt:null,rev:null,rightMargin:tO,rules:null,scheme:null,scrolling:Jx,standby:null,summary:null,text:null,topMargin:tO,valueType:null,version:null,vAlign:null,vLink:null,vSpace:tO,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Zx,disableRemotePlayback:Zx,prefix:null,property:null,results:tO,security:null,unselectable:null}}),yO=dO({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:fO,properties:{about:oO,accentHeight:tO,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:tO,amplitude:tO,arabicForm:null,ascent:tO,attributeName:null,attributeType:null,azimuth:tO,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:tO,by:null,calcMode:null,capHeight:tO,className:nO,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:tO,diffuseConstant:tO,direction:null,display:null,dur:null,divisor:tO,dominantBaseline:null,download:Zx,dx:null,dy:null,edgeMode:null,editable:null,elevation:tO,enableBackground:null,end:null,event:null,exponent:tO,externalResourcesRequired:null,fill:null,fillOpacity:tO,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:rO,g2:rO,glyphName:rO,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:tO,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:tO,horizOriginX:tO,horizOriginY:tO,id:null,ideographic:tO,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:tO,k:tO,k1:tO,k2:tO,k3:tO,k4:tO,kernelMatrix:oO,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:tO,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:tO,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:tO,overlineThickness:tO,paintOrder:null,panose1:null,path:null,pathLength:tO,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:nO,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:tO,pointsAtY:tO,pointsAtZ:tO,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:oO,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:oO,rev:oO,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:oO,requiredFeatures:oO,requiredFonts:oO,requiredFormats:oO,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:tO,specularExponent:tO,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:tO,strikethroughThickness:tO,string:null,stroke:null,strokeDashArray:oO,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:tO,strokeOpacity:tO,strokeWidth:null,style:null,surfaceScale:tO,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:oO,tabIndex:tO,tableValues:null,target:null,targetX:tO,targetY:tO,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:oO,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:tO,underlineThickness:tO,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:tO,values:null,vAlphabetic:tO,vMathematical:tO,vectorEffect:null,vHanging:tO,vIdeographic:tO,version:null,vertAdvY:tO,vertOriginX:tO,vertOriginY:tO,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:tO,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),EO=/^data[-\w.:]+$/i,_O=/-[a-z]/g,SO=/[A-Z]/g;function kO(e,t){const n=Kx(t);let r=t,o=Xx;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&EO.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(_O,wO);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!_O.test(e)){let n=e.replace(SO,TO);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=lO}return new o(r,t)}function TO(e){return"-"+e.toLowerCase()}function wO(e){return e.charAt(1).toUpperCase()}const AO=e("h",Yx([hO,pO,mO,bO,vO],"html")),CO=e("g",Yx([hO,pO,mO,bO,yO],"svg")),xO={}.hasOwnProperty;function OO(e,t){const n=t||{};function r(t,...n){let o=r.invalid;const i=r.handlers;if(t&&xO.call(t,e)){const n=String(t[e]);o=xO.call(i,n)?i[n]:r.unknown}if(o)return o.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const IO={},NO={}.hasOwnProperty,LO=OO("type",{handlers:{root:function(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=RO(e.children,n,t),MO(e,n),n},element:function(e,t){const n=t;let r=n;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=CO);const o=[];let i;if(e.properties)for(i in e.properties)if("children"!==i&&NO.call(e.properties,i)){const t=DO(r,i,e.properties[i]);t&&o.push(t)}const a=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:$x[a],childNodes:[],parentNode:null};return s.childNodes=RO(e.children,s,r),MO(e,s),"template"===e.tagName&&e.content&&(s.content=function(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=RO(e.children,n,t),MO(e,n),n}(e.content,r)),s},text:function(e){const t={nodeName:"#text",value:e.value,parentNode:null};return MO(e,t),t},comment:function(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return MO(e,t),t},doctype:function(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return MO(e,t),t}}});function DO(e,t,n){const r=kO(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?function(e){const t={};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(n):n.join(" ").trim());const o={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){const e=o.name.indexOf(":");e<0?o.prefix="":(o.name=o.name.slice(e+1),o.prefix=r.attribute.slice(0,e)),o.namespace=$x[r.space]}return o}function RO(e,t,n){let r=-1;const o=[];if(e)for(;++r<e.length;){const i=LO(e[r],n);i.parentNode=t,o.push(i)}return o}function MO(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const PO=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],BO=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),$O="�";var FO;!function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"}(FO||(FO={}));const HO="--",zO="[CDATA[",UO="doctype",jO="script",GO="public",WO="system";function qO(e){return e>=55296&&e<=57343}function VO(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function YO(e){return e>=64976&&e<=65007||BO.has(e)}var KO,XO;!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(KO||(KO={}));class QO{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){const{line:n,col:r,offset:o}=this,i=r+t,a=o+t;return{code:e,startLine:n,endLine:n,startCol:i,endCol:i,startOffset:a,endOffset:a}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,FO.EOF;return this._err(KO.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let n=0;n<e.length;n++)if((32|this.html.charCodeAt(this.pos+n))!==e.charCodeAt(n))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,FO.EOF;const n=this.html.charCodeAt(t);return n===FO.CARRIAGE_RETURN?FO.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,FO.EOF;let e=this.html.charCodeAt(this.pos);return e===FO.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,FO.LINE_FEED):e===FO.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,qO(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===FO.LINE_FEED||e===FO.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){VO(e)?this._err(KO.controlCharacterInInputStream):YO(e)&&this._err(KO.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function ZO(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(XO||(XO={}));const JO=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),eI=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var tI,nI,rI,oI,iI,aI,sI,lI,cI;function uI(e){return e>=tI.ZERO&&e<=tI.NINE}function dI(e){return e>=tI.UPPER_A&&e<=tI.UPPER_F||e>=tI.LOWER_A&&e<=tI.LOWER_F}function pI(e){return e===tI.EQUALS||function(e){return e>=tI.UPPER_A&&e<=tI.UPPER_Z||e>=tI.LOWER_A&&e<=tI.LOWER_Z||uI(e)}(e)}!function(e){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_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(tI||(tI={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(nI||(nI={})),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"}(rI||(rI={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(oI||(oI={}));class hI{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=rI.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=oI.Strict}startEntity(e){this.decodeMode=e,this.state=rI.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case rI.EntityStart:return e.charCodeAt(t)===tI.NUM?(this.state=rI.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=rI.NamedEntity,this.stateNamedEntity(e,t));case rI.NumericStart:return this.stateNumericStart(e,t);case rI.NumericDecimal:return this.stateNumericDecimal(e,t);case rI.NumericHex:return this.stateNumericHex(e,t);case rI.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===tI.LOWER_X?(this.state=rI.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=rI.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const o=n-t;this.result=this.result*Math.pow(r,o)+Number.parseInt(e.substr(t,o),r),this.consumed+=o}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!uI(r)&&!dI(r))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!uI(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===tI.SEMI)this.consumed+=1;else if(this.decodeMode===oI.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=eI.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==tI.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],o=(r&nI.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const i=e.charCodeAt(t);if(this.treeIndex=fI(n,r,this.treeIndex+Math.max(1,o),i),this.treeIndex<0)return 0===this.result||this.decodeMode===oI.Attribute&&(0===o||pI(i))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],o=(r&nI.VALUE_LENGTH)>>14,0!==o){if(i===tI.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==oI.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&nI.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~nI.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case rI.NamedEntity:return 0===this.result||this.decodeMode===oI.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case rI.NumericDecimal:return this.emitNumericEntity(0,2);case rI.NumericHex:return this.emitNumericEntity(0,3);case rI.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case rI.EntityStart:return 0}}}function fI(e,t,n,r){const o=(t&nI.BRANCH_LENGTH)>>7,i=t&nI.JUMP_TABLE;if(0===o)return 0!==i&&r===i?n:-1;if(i){const t=r-i;return t<0||t>=o?-1:e[n+t]-1}let a=n,s=a+o-1;for(;a<=s;){const t=a+s>>>1,n=e[t];if(n<r)a=t+1;else{if(!(n>r))return e[t+o];s=t-1}}return-1}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(iI||(iI={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(aI||(aI={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(sI||(sI={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(lI||(lI={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"}(cI||(cI={}));const gI=new Map([[lI.A,cI.A],[lI.ADDRESS,cI.ADDRESS],[lI.ANNOTATION_XML,cI.ANNOTATION_XML],[lI.APPLET,cI.APPLET],[lI.AREA,cI.AREA],[lI.ARTICLE,cI.ARTICLE],[lI.ASIDE,cI.ASIDE],[lI.B,cI.B],[lI.BASE,cI.BASE],[lI.BASEFONT,cI.BASEFONT],[lI.BGSOUND,cI.BGSOUND],[lI.BIG,cI.BIG],[lI.BLOCKQUOTE,cI.BLOCKQUOTE],[lI.BODY,cI.BODY],[lI.BR,cI.BR],[lI.BUTTON,cI.BUTTON],[lI.CAPTION,cI.CAPTION],[lI.CENTER,cI.CENTER],[lI.CODE,cI.CODE],[lI.COL,cI.COL],[lI.COLGROUP,cI.COLGROUP],[lI.DD,cI.DD],[lI.DESC,cI.DESC],[lI.DETAILS,cI.DETAILS],[lI.DIALOG,cI.DIALOG],[lI.DIR,cI.DIR],[lI.DIV,cI.DIV],[lI.DL,cI.DL],[lI.DT,cI.DT],[lI.EM,cI.EM],[lI.EMBED,cI.EMBED],[lI.FIELDSET,cI.FIELDSET],[lI.FIGCAPTION,cI.FIGCAPTION],[lI.FIGURE,cI.FIGURE],[lI.FONT,cI.FONT],[lI.FOOTER,cI.FOOTER],[lI.FOREIGN_OBJECT,cI.FOREIGN_OBJECT],[lI.FORM,cI.FORM],[lI.FRAME,cI.FRAME],[lI.FRAMESET,cI.FRAMESET],[lI.H1,cI.H1],[lI.H2,cI.H2],[lI.H3,cI.H3],[lI.H4,cI.H4],[lI.H5,cI.H5],[lI.H6,cI.H6],[lI.HEAD,cI.HEAD],[lI.HEADER,cI.HEADER],[lI.HGROUP,cI.HGROUP],[lI.HR,cI.HR],[lI.HTML,cI.HTML],[lI.I,cI.I],[lI.IMG,cI.IMG],[lI.IMAGE,cI.IMAGE],[lI.INPUT,cI.INPUT],[lI.IFRAME,cI.IFRAME],[lI.KEYGEN,cI.KEYGEN],[lI.LABEL,cI.LABEL],[lI.LI,cI.LI],[lI.LINK,cI.LINK],[lI.LISTING,cI.LISTING],[lI.MAIN,cI.MAIN],[lI.MALIGNMARK,cI.MALIGNMARK],[lI.MARQUEE,cI.MARQUEE],[lI.MATH,cI.MATH],[lI.MENU,cI.MENU],[lI.META,cI.META],[lI.MGLYPH,cI.MGLYPH],[lI.MI,cI.MI],[lI.MO,cI.MO],[lI.MN,cI.MN],[lI.MS,cI.MS],[lI.MTEXT,cI.MTEXT],[lI.NAV,cI.NAV],[lI.NOBR,cI.NOBR],[lI.NOFRAMES,cI.NOFRAMES],[lI.NOEMBED,cI.NOEMBED],[lI.NOSCRIPT,cI.NOSCRIPT],[lI.OBJECT,cI.OBJECT],[lI.OL,cI.OL],[lI.OPTGROUP,cI.OPTGROUP],[lI.OPTION,cI.OPTION],[lI.P,cI.P],[lI.PARAM,cI.PARAM],[lI.PLAINTEXT,cI.PLAINTEXT],[lI.PRE,cI.PRE],[lI.RB,cI.RB],[lI.RP,cI.RP],[lI.RT,cI.RT],[lI.RTC,cI.RTC],[lI.RUBY,cI.RUBY],[lI.S,cI.S],[lI.SCRIPT,cI.SCRIPT],[lI.SEARCH,cI.SEARCH],[lI.SECTION,cI.SECTION],[lI.SELECT,cI.SELECT],[lI.SOURCE,cI.SOURCE],[lI.SMALL,cI.SMALL],[lI.SPAN,cI.SPAN],[lI.STRIKE,cI.STRIKE],[lI.STRONG,cI.STRONG],[lI.STYLE,cI.STYLE],[lI.SUB,cI.SUB],[lI.SUMMARY,cI.SUMMARY],[lI.SUP,cI.SUP],[lI.TABLE,cI.TABLE],[lI.TBODY,cI.TBODY],[lI.TEMPLATE,cI.TEMPLATE],[lI.TEXTAREA,cI.TEXTAREA],[lI.TFOOT,cI.TFOOT],[lI.TD,cI.TD],[lI.TH,cI.TH],[lI.THEAD,cI.THEAD],[lI.TITLE,cI.TITLE],[lI.TR,cI.TR],[lI.TRACK,cI.TRACK],[lI.TT,cI.TT],[lI.U,cI.U],[lI.UL,cI.UL],[lI.SVG,cI.SVG],[lI.VAR,cI.VAR],[lI.WBR,cI.WBR],[lI.XMP,cI.XMP]]);function mI(e){var t;return null!==(t=gI.get(e))&&void 0!==t?t:cI.UNKNOWN}const bI=cI,vI={[iI.HTML]:new Set([bI.ADDRESS,bI.APPLET,bI.AREA,bI.ARTICLE,bI.ASIDE,bI.BASE,bI.BASEFONT,bI.BGSOUND,bI.BLOCKQUOTE,bI.BODY,bI.BR,bI.BUTTON,bI.CAPTION,bI.CENTER,bI.COL,bI.COLGROUP,bI.DD,bI.DETAILS,bI.DIR,bI.DIV,bI.DL,bI.DT,bI.EMBED,bI.FIELDSET,bI.FIGCAPTION,bI.FIGURE,bI.FOOTER,bI.FORM,bI.FRAME,bI.FRAMESET,bI.H1,bI.H2,bI.H3,bI.H4,bI.H5,bI.H6,bI.HEAD,bI.HEADER,bI.HGROUP,bI.HR,bI.HTML,bI.IFRAME,bI.IMG,bI.INPUT,bI.LI,bI.LINK,bI.LISTING,bI.MAIN,bI.MARQUEE,bI.MENU,bI.META,bI.NAV,bI.NOEMBED,bI.NOFRAMES,bI.NOSCRIPT,bI.OBJECT,bI.OL,bI.P,bI.PARAM,bI.PLAINTEXT,bI.PRE,bI.SCRIPT,bI.SECTION,bI.SELECT,bI.SOURCE,bI.STYLE,bI.SUMMARY,bI.TABLE,bI.TBODY,bI.TD,bI.TEMPLATE,bI.TEXTAREA,bI.TFOOT,bI.TH,bI.THEAD,bI.TITLE,bI.TR,bI.TRACK,bI.UL,bI.WBR,bI.XMP]),[iI.MATHML]:new Set([bI.MI,bI.MO,bI.MN,bI.MS,bI.MTEXT,bI.ANNOTATION_XML]),[iI.SVG]:new Set([bI.TITLE,bI.FOREIGN_OBJECT,bI.DESC]),[iI.XLINK]:new Set,[iI.XML]:new Set,[iI.XMLNS]:new Set},yI=new Set([bI.H1,bI.H2,bI.H3,bI.H4,bI.H5,bI.H6]);var EI;new Set([lI.STYLE,lI.SCRIPT,lI.XMP,lI.IFRAME,lI.NOEMBED,lI.NOFRAMES,lI.PLAINTEXT]),function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"}(EI||(EI={}));const _I={DATA:EI.DATA,RCDATA:EI.RCDATA,RAWTEXT:EI.RAWTEXT,SCRIPT_DATA:EI.SCRIPT_DATA,PLAINTEXT:EI.PLAINTEXT,CDATA_SECTION:EI.CDATA_SECTION};function SI(e){return e>=FO.LATIN_CAPITAL_A&&e<=FO.LATIN_CAPITAL_Z}function kI(e){return function(e){return e>=FO.LATIN_SMALL_A&&e<=FO.LATIN_SMALL_Z}(e)||SI(e)}function TI(e){return kI(e)||function(e){return e>=FO.DIGIT_0&&e<=FO.DIGIT_9}(e)}function wI(e){return e+32}function AI(e){return e===FO.SPACE||e===FO.LINE_FEED||e===FO.TABULATION||e===FO.FORM_FEED}function CI(e){return AI(e)||e===FO.SOLIDUS||e===FO.GREATER_THAN_SIGN}class xI{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=EI.DATA,this.returnState=EI.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new QO(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new hI(JO,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(KO.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(KO.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{const t=function(e){return e===FO.NULL?KO.nullCharacterReference:e>1114111?KO.characterReferenceOutsideUnicodeRange:qO(e)?KO.surrogateCharacterReference:YO(e)?KO.noncharacterCharacterReference:VO(e)||e===FO.CARRIAGE_RETURN?KO.controlCharacterReference:null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;null===(r=(n=this.handler).onParseError)||void 0===r||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:XO.START_TAG,tagName:"",tagID:cI.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:XO.END_TAG,tagName:"",tagID:cI.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:XO.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:XO.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const n=this.currentToken;null===ZO(n,this.currentAttr.name)?(n.attrs.push(this.currentAttr),n.location&&this.currentLocation&&((null!==(e=(t=n.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(KO.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=mI(e.tagName),e.type===XO.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(KO.endTagWithAttributes),e.selfClosing&&this._err(KO.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case XO.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case XO.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case XO.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:XO.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=AI(e)?XO.WHITESPACE_CHARACTER:e===FO.NULL?XO.NULL_CHARACTER:XO.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(XO.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=EI.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?oI.Attribute:oI.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===EI.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===EI.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===EI.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case EI.DATA:this._stateData(e);break;case EI.RCDATA:this._stateRcdata(e);break;case EI.RAWTEXT:this._stateRawtext(e);break;case EI.SCRIPT_DATA:this._stateScriptData(e);break;case EI.PLAINTEXT:this._statePlaintext(e);break;case EI.TAG_OPEN:this._stateTagOpen(e);break;case EI.END_TAG_OPEN:this._stateEndTagOpen(e);break;case EI.TAG_NAME:this._stateTagName(e);break;case EI.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case EI.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case EI.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case EI.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case EI.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case EI.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case EI.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case EI.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case EI.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case EI.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case EI.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case EI.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case EI.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case EI.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case EI.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case EI.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case EI.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case EI.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case EI.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case EI.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case EI.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case EI.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case EI.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case EI.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case EI.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case EI.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case EI.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case EI.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case EI.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case EI.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case EI.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case EI.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case EI.BOGUS_COMMENT:this._stateBogusComment(e);break;case EI.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case EI.COMMENT_START:this._stateCommentStart(e);break;case EI.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case EI.COMMENT:this._stateComment(e);break;case EI.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case EI.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case EI.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case EI.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case EI.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case EI.COMMENT_END:this._stateCommentEnd(e);break;case EI.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case EI.DOCTYPE:this._stateDoctype(e);break;case EI.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case EI.DOCTYPE_NAME:this._stateDoctypeName(e);break;case EI.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case EI.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case EI.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case EI.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case EI.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case EI.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case EI.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case EI.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case EI.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case EI.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case EI.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case EI.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case EI.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case EI.CDATA_SECTION:this._stateCdataSection(e);break;case EI.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case EI.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case EI.CHARACTER_REFERENCE:this._stateCharacterReference();break;case EI.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case FO.LESS_THAN_SIGN:this.state=EI.TAG_OPEN;break;case FO.AMPERSAND:this._startCharacterReference();break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitCodePoint(e);break;case FO.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case FO.AMPERSAND:this._startCharacterReference();break;case FO.LESS_THAN_SIGN:this.state=EI.RCDATA_LESS_THAN_SIGN;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitChars($O);break;case FO.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case FO.LESS_THAN_SIGN:this.state=EI.RAWTEXT_LESS_THAN_SIGN;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitChars($O);break;case FO.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_LESS_THAN_SIGN;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitChars($O);break;case FO.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitChars($O);break;case FO.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(kI(e))this._createStartTagToken(),this.state=EI.TAG_NAME,this._stateTagName(e);else switch(e){case FO.EXCLAMATION_MARK:this.state=EI.MARKUP_DECLARATION_OPEN;break;case FO.SOLIDUS:this.state=EI.END_TAG_OPEN;break;case FO.QUESTION_MARK:this._err(KO.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=EI.BOGUS_COMMENT,this._stateBogusComment(e);break;case FO.EOF:this._err(KO.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(KO.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=EI.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(kI(e))this._createEndTagToken(),this.state=EI.TAG_NAME,this._stateTagName(e);else switch(e){case FO.GREATER_THAN_SIGN:this._err(KO.missingEndTagName),this.state=EI.DATA;break;case FO.EOF:this._err(KO.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(KO.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=EI.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this.state=EI.BEFORE_ATTRIBUTE_NAME;break;case FO.SOLIDUS:this.state=EI.SELF_CLOSING_START_TAG;break;case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentTagToken();break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.tagName+=$O;break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(SI(e)?wI(e):e)}}_stateRcdataLessThanSign(e){e===FO.SOLIDUS?this.state=EI.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=EI.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){kI(e)?(this.state=EI.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=EI.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=EI.BEFORE_ATTRIBUTE_NAME,!1;case FO.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=EI.SELF_CLOSING_START_TAG,!1;case FO.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=EI.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=EI.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===FO.SOLIDUS?this.state=EI.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=EI.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){kI(e)?(this.state=EI.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=EI.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=EI.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case FO.SOLIDUS:this.state=EI.SCRIPT_DATA_END_TAG_OPEN;break;case FO.EXCLAMATION_MARK:this.state=EI.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=EI.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){kI(e)?(this.state=EI.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=EI.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=EI.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===FO.HYPHEN_MINUS?(this.state=EI.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=EI.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===FO.HYPHEN_MINUS?(this.state=EI.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=EI.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case FO.HYPHEN_MINUS:this.state=EI.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitChars($O);break;case FO.EOF:this._err(KO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case FO.HYPHEN_MINUS:this.state=EI.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.state=EI.SCRIPT_DATA_ESCAPED,this._emitChars($O);break;case FO.EOF:this._err(KO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=EI.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case FO.HYPHEN_MINUS:this._emitChars("-");break;case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case FO.GREATER_THAN_SIGN:this.state=EI.SCRIPT_DATA,this._emitChars(">");break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.state=EI.SCRIPT_DATA_ESCAPED,this._emitChars($O);break;case FO.EOF:this._err(KO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=EI.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===FO.SOLIDUS?this.state=EI.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:kI(e)?(this._emitChars("<"),this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=EI.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){kI(e)?(this.state=EI.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=EI.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=EI.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(jO,!1)&&CI(this.preprocessor.peek(jO.length))){this._emitCodePoint(e);for(let e=0;e<jO.length;e++)this._emitCodePoint(this._consume());this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=EI.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case FO.HYPHEN_MINUS:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitChars($O);break;case FO.EOF:this._err(KO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case FO.HYPHEN_MINUS:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars($O);break;case FO.EOF:this._err(KO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case FO.HYPHEN_MINUS:this._emitChars("-");break;case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case FO.GREATER_THAN_SIGN:this.state=EI.SCRIPT_DATA,this._emitChars(">");break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars($O);break;case FO.EOF:this._err(KO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===FO.SOLIDUS?(this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(jO,!1)&&CI(this.preprocessor.peek(jO.length))){this._emitCodePoint(e);for(let e=0;e<jO.length;e++)this._emitCodePoint(this._consume());this.state=EI.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.SOLIDUS:case FO.GREATER_THAN_SIGN:case FO.EOF:this.state=EI.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case FO.EQUALS_SIGN:this._err(KO.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=EI.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=EI.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:case FO.SOLIDUS:case FO.GREATER_THAN_SIGN:case FO.EOF:this._leaveAttrName(),this.state=EI.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case FO.EQUALS_SIGN:this._leaveAttrName(),this.state=EI.BEFORE_ATTRIBUTE_VALUE;break;case FO.QUOTATION_MARK:case FO.APOSTROPHE:case FO.LESS_THAN_SIGN:this._err(KO.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.currentAttr.name+=$O;break;default:this.currentAttr.name+=String.fromCodePoint(SI(e)?wI(e):e)}}_stateAfterAttributeName(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.SOLIDUS:this.state=EI.SELF_CLOSING_START_TAG;break;case FO.EQUALS_SIGN:this.state=EI.BEFORE_ATTRIBUTE_VALUE;break;case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentTagToken();break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=EI.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.QUOTATION_MARK:this.state=EI.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case FO.APOSTROPHE:this.state=EI.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case FO.GREATER_THAN_SIGN:this._err(KO.missingAttributeValue),this.state=EI.DATA,this.emitCurrentTagToken();break;default:this.state=EI.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case FO.QUOTATION_MARK:this.state=EI.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case FO.AMPERSAND:this._startCharacterReference();break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.currentAttr.value+=$O;break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case FO.APOSTROPHE:this.state=EI.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case FO.AMPERSAND:this._startCharacterReference();break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.currentAttr.value+=$O;break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this._leaveAttrValue(),this.state=EI.BEFORE_ATTRIBUTE_NAME;break;case FO.AMPERSAND:this._startCharacterReference();break;case FO.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=EI.DATA,this.emitCurrentTagToken();break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.currentAttr.value+=$O;break;case FO.QUOTATION_MARK:case FO.APOSTROPHE:case FO.LESS_THAN_SIGN:case FO.EQUALS_SIGN:case FO.GRAVE_ACCENT:this._err(KO.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this._leaveAttrValue(),this.state=EI.BEFORE_ATTRIBUTE_NAME;break;case FO.SOLIDUS:this._leaveAttrValue(),this.state=EI.SELF_CLOSING_START_TAG;break;case FO.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=EI.DATA,this.emitCurrentTagToken();break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:this._err(KO.missingWhitespaceBetweenAttributes),this.state=EI.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case FO.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=EI.DATA,this.emitCurrentTagToken();break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:this._err(KO.unexpectedSolidusInTag),this.state=EI.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentComment(t);break;case FO.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.data+=$O;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(HO,!0)?(this._createCommentToken(HO.length+1),this.state=EI.COMMENT_START):this._consumeSequenceIfMatch(UO,!1)?(this.currentLocation=this.getCurrentLocation(UO.length+1),this.state=EI.DOCTYPE):this._consumeSequenceIfMatch(zO,!0)?this.inForeignNode?this.state=EI.CDATA_SECTION:(this._err(KO.cdataInHtmlContent),this._createCommentToken(zO.length+1),this.currentToken.data="[CDATA[",this.state=EI.BOGUS_COMMENT):this._ensureHibernation()||(this._err(KO.incorrectlyOpenedComment),this._createCommentToken(2),this.state=EI.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case FO.HYPHEN_MINUS:this.state=EI.COMMENT_START_DASH;break;case FO.GREATER_THAN_SIGN:{this._err(KO.abruptClosingOfEmptyComment),this.state=EI.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=EI.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case FO.HYPHEN_MINUS:this.state=EI.COMMENT_END;break;case FO.GREATER_THAN_SIGN:this._err(KO.abruptClosingOfEmptyComment),this.state=EI.DATA,this.emitCurrentComment(t);break;case FO.EOF:this._err(KO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=EI.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case FO.HYPHEN_MINUS:this.state=EI.COMMENT_END_DASH;break;case FO.LESS_THAN_SIGN:t.data+="<",this.state=EI.COMMENT_LESS_THAN_SIGN;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.data+=$O;break;case FO.EOF:this._err(KO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case FO.EXCLAMATION_MARK:t.data+="!",this.state=EI.COMMENT_LESS_THAN_SIGN_BANG;break;case FO.LESS_THAN_SIGN:t.data+="<";break;default:this.state=EI.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===FO.HYPHEN_MINUS?this.state=EI.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=EI.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===FO.HYPHEN_MINUS?this.state=EI.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=EI.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==FO.GREATER_THAN_SIGN&&e!==FO.EOF&&this._err(KO.nestedComment),this.state=EI.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case FO.HYPHEN_MINUS:this.state=EI.COMMENT_END;break;case FO.EOF:this._err(KO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=EI.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentComment(t);break;case FO.EXCLAMATION_MARK:this.state=EI.COMMENT_END_BANG;break;case FO.HYPHEN_MINUS:t.data+="-";break;case FO.EOF:this._err(KO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=EI.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case FO.HYPHEN_MINUS:t.data+="--!",this.state=EI.COMMENT_END_DASH;break;case FO.GREATER_THAN_SIGN:this._err(KO.incorrectlyClosedComment),this.state=EI.DATA,this.emitCurrentComment(t);break;case FO.EOF:this._err(KO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=EI.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this.state=EI.BEFORE_DOCTYPE_NAME;break;case FO.GREATER_THAN_SIGN:this.state=EI.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case FO.EOF:{this._err(KO.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(KO.missingWhitespaceBeforeDoctypeName),this.state=EI.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(SI(e))this._createDoctypeToken(String.fromCharCode(wI(e))),this.state=EI.DOCTYPE_NAME;else switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._createDoctypeToken($O),this.state=EI.DOCTYPE_NAME;break;case FO.GREATER_THAN_SIGN:{this._err(KO.missingDoctypeName),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=EI.DATA;break}case FO.EOF:{this._err(KO.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=EI.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this.state=EI.AFTER_DOCTYPE_NAME;break;case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.name+=$O;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(SI(e)?wI(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(GO,!1)?this.state=EI.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(WO,!1)?this.state=EI.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(KO.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this.state=EI.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case FO.QUOTATION_MARK:this._err(KO.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=EI.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case FO.APOSTROPHE:this._err(KO.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=EI.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case FO.GREATER_THAN_SIGN:this._err(KO.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.QUOTATION_MARK:t.publicId="",this.state=EI.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case FO.APOSTROPHE:t.publicId="",this.state=EI.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case FO.GREATER_THAN_SIGN:this._err(KO.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case FO.QUOTATION_MARK:this.state=EI.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.publicId+=$O;break;case FO.GREATER_THAN_SIGN:this._err(KO.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case FO.APOSTROPHE:this.state=EI.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.publicId+=$O;break;case FO.GREATER_THAN_SIGN:this._err(KO.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this.state=EI.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.QUOTATION_MARK:this._err(KO.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case FO.APOSTROPHE:this._err(KO.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.QUOTATION_MARK:t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case FO.APOSTROPHE:t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this.state=EI.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case FO.QUOTATION_MARK:this._err(KO.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case FO.APOSTROPHE:this._err(KO.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case FO.GREATER_THAN_SIGN:this._err(KO.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.QUOTATION_MARK:t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case FO.APOSTROPHE:t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case FO.GREATER_THAN_SIGN:this._err(KO.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case FO.QUOTATION_MARK:this.state=EI.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.systemId+=$O;break;case FO.GREATER_THAN_SIGN:this._err(KO.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case FO.APOSTROPHE:this.state=EI.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.systemId+=$O;break;case FO.GREATER_THAN_SIGN:this._err(KO.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case FO.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.NULL:this._err(KO.unexpectedNullCharacter);break;case FO.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case FO.RIGHT_SQUARE_BRACKET:this.state=EI.CDATA_SECTION_BRACKET;break;case FO.EOF:this._err(KO.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===FO.RIGHT_SQUARE_BRACKET?this.state=EI.CDATA_SECTION_END:(this._emitChars("]"),this.state=EI.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case FO.GREATER_THAN_SIGN:this.state=EI.DATA;break;case FO.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=EI.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0){if(!this.preprocessor.lastChunkWritten)return this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,void(this.preprocessor.endOfChunkHit=!0);e=this.entityDecoder.end()}0===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(FO.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&TI(this.preprocessor.peek(1))?EI.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){TI(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===FO.SEMICOLON&&this._err(KO.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}const OI=new Set([cI.DD,cI.DT,cI.LI,cI.OPTGROUP,cI.OPTION,cI.P,cI.RB,cI.RP,cI.RT,cI.RTC]),II=new Set([...OI,cI.CAPTION,cI.COLGROUP,cI.TBODY,cI.TD,cI.TFOOT,cI.TH,cI.THEAD,cI.TR]),NI=new Set([cI.APPLET,cI.CAPTION,cI.HTML,cI.MARQUEE,cI.OBJECT,cI.TABLE,cI.TD,cI.TEMPLATE,cI.TH]),LI=new Set([...NI,cI.OL,cI.UL]),DI=new Set([...NI,cI.BUTTON]),RI=new Set([cI.ANNOTATION_XML,cI.MI,cI.MN,cI.MO,cI.MS,cI.MTEXT]),MI=new Set([cI.DESC,cI.FOREIGN_OBJECT,cI.TITLE]),PI=new Set([cI.TR,cI.TEMPLATE,cI.HTML]),BI=new Set([cI.TBODY,cI.TFOOT,cI.THEAD,cI.TEMPLATE,cI.HTML]),$I=new Set([cI.TABLE,cI.TEMPLATE,cI.HTML]),FI=new Set([cI.TD,cI.TH]);class HI{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=cI.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===cI.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===iI.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==iI.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(yI,iI.HTML)}popUntilTableCellPopped(){this.popUntilPopped(FI,iI.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo($I,iI.HTML)}clearBackToTableBodyContext(){this.clearBackTo(BI,iI.HTML)}clearBackToTableRowContext(){this.clearBackTo(PI,iI.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===cI.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===cI.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case iI.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case iI.SVG:if(MI.has(r))return!1;break;case iI.MATHML:if(RI.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,NI)}hasInListItemScope(e){return this.hasInDynamicScope(e,LI)}hasInButtonScope(e){return this.hasInDynamicScope(e,DI)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case iI.HTML:if(yI.has(t))return!0;if(NI.has(t))return!1;break;case iI.SVG:if(MI.has(t))return!1;break;case iI.MATHML:if(RI.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===iI.HTML)switch(this.tagIDs[t]){case e:return!0;case cI.TABLE:case cI.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===iI.HTML)switch(this.tagIDs[e]){case cI.TBODY:case cI.THEAD:case cI.TFOOT:return!0;case cI.TABLE:case cI.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===iI.HTML)switch(this.tagIDs[t]){case e:return!0;case cI.OPTION:case cI.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&OI.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&II.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&II.has(this.currentTagId);)this.pop()}}var zI;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(zI||(zI={}));const UI={type:zI.Marker};class jI{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,o=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let a=0;a<this.entries.length;a++){const e=this.entries[a];if(e.type===zI.Marker)break;const{element:t}=e;if(this.treeAdapter.getTagName(t)===o&&this.treeAdapter.getNamespaceURI(t)===i){const e=this.treeAdapter.getAttrList(t);e.length===r&&n.push({idx:a,attrs:e})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;const t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;const r=new Map(t.map(e=>[e.name,e.value]));let o=0;for(let i=0;i<n.length;i++){const e=n[i];e.attrs.every(e=>r.get(e.name)===e.value)&&(o+=1,o>=3&&this.entries.splice(e.idx,1))}}insertMarker(){this.entries.unshift(UI)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:zI.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:zI.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(UI);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){const t=this.entries.find(t=>t.type===zI.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===zI.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===zI.Element&&t.element===e)}}const GI={createDocument:()=>({nodeName:"#document",mode:sI.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){const o=e.childNodes.find(e=>"#documentType"===e.nodeName);if(o)o.name=t,o.publicId=n,o.systemId=r;else{const o={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};GI.appendChild(e,o)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(GI.isTextNode(n))return void(n.value+=t)}GI.appendChild(e,GI.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&GI.isTextNode(r)?r.value+=t:GI.insertBefore(e,GI.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},WI="html",qI=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],VI=[...qI,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],YI=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),KI=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],XI=[...KI,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function QI(e,t){return t.some(t=>e.startsWith(t))}const ZI="text/html",JI="application/xhtml+xml",eN=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),tN=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:iI.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:iI.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:iI.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:iI.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:iI.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:iI.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:iI.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:iI.XML}],["xml:space",{prefix:"xml",name:"space",namespace:iI.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:iI.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:iI.XMLNS}]]),nN=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),rN=new Set([cI.B,cI.BIG,cI.BLOCKQUOTE,cI.BODY,cI.BR,cI.CENTER,cI.CODE,cI.DD,cI.DIV,cI.DL,cI.DT,cI.EM,cI.EMBED,cI.H1,cI.H2,cI.H3,cI.H4,cI.H5,cI.H6,cI.HEAD,cI.HR,cI.I,cI.IMG,cI.LI,cI.LISTING,cI.MENU,cI.META,cI.NOBR,cI.OL,cI.P,cI.PRE,cI.RUBY,cI.S,cI.SMALL,cI.SPAN,cI.STRONG,cI.STRIKE,cI.SUB,cI.SUP,cI.TABLE,cI.TT,cI.U,cI.UL,cI.VAR]);function oN(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function iN(e){for(let t=0;t<e.attrs.length;t++){const n=eN.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function aN(e){for(let t=0;t<e.attrs.length;t++){const n=tN.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function sN(e,t,n,r){return(!r||r===iI.HTML)&&function(e,t,n){if(t===iI.MATHML&&e===cI.ANNOTATION_XML)for(let r=0;r<n.length;r++)if(n[r].name===aI.ENCODING){const e=n[r].value.toLowerCase();return e===ZI||e===JI}return t===iI.SVG&&(e===cI.FOREIGN_OBJECT||e===cI.DESC||e===cI.TITLE)}(e,t,n)||(!r||r===iI.MATHML)&&function(e,t){return t===iI.MATHML&&(e===cI.MI||e===cI.MO||e===cI.MN||e===cI.MS||e===cI.MTEXT)}(e,t)}var lN;!function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(lN||(lN={}));const cN={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},uN=new Set([cI.TABLE,cI.TBODY,cI.TFOOT,cI.THEAD,cI.TR]),dN={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:GI,onParseError:null};class pN{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=lN.INITIAL,this.originalInsertionMode=lN.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...dN,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new xI(this.options,this),this.activeFormattingElements=new jI(this.treeAdapter),this.fragmentContextID=n?mI(this.treeAdapter.getTagName(n)):cI.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new HI(this.document,this.treeAdapter,this)}static parse(e,t){const n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){const n={...dN,...t};null!=e||(e=n.treeAdapter.createElement(lI.TEMPLATE,iI.HTML,[]));const r=n.treeAdapter.createElement("documentmock",iI.HTML,[]),o=new this(n,r,e);return o.fragmentContextID===cI.TEMPLATE&&o.tmplInsertionModeStack.unshift(lN.IN_TEMPLATE),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),o}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return;const o=null!==(r=e.location)&&void 0!==r?r:cN,i={code:t,startLine:o.startLine,startCol:o.startCol,startOffset:o.startOffset,endLine:n?o.startLine:o.endLine,endCol:n?o.startCol:o.endCol,endOffset:n?o.startOffset:o.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,o;null===(o=(r=this.treeAdapter).onItemPush)||void 0===o||o.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===iI.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,iI.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=lN.TEXT}switchToPlaintextParsing(){this.insertionMode=lN.TEXT,this.originalInsertionMode=lN.IN_BODY,this.tokenizer.state=_I.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===lI.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===iI.HTML)switch(this.fragmentContextID){case cI.TITLE:case cI.TEXTAREA:this.tokenizer.state=_I.RCDATA;break;case cI.STYLE:case cI.XMP:case cI.IFRAME:case cI.NOEMBED:case cI.NOFRAMES:case cI.NOSCRIPT:this.tokenizer.state=_I.RAWTEXT;break;case cI.SCRIPT:this.tokenizer.state=_I.SCRIPT_DATA;break;case cI.PLAINTEXT:this.tokenizer.state=_I.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){const t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,iI.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,iI.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(lI.HTML,iI.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,cI.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const r=this.treeAdapter.getChildNodes(t),o=n?r.lastIndexOf(n):r.length,i=r[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),o=t.type===XO.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==cI.SVG||this.treeAdapter.getTagName(t)!==lI.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==iI.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===cI.MGLYPH||e.tagID===cI.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,iI.HTML))}_processToken(e){switch(e.type){case XO.CHARACTER:this.onCharacter(e);break;case XO.NULL_CHARACTER:this.onNullCharacter(e);break;case XO.COMMENT:this.onComment(e);break;case XO.DOCTYPE:this.onDoctype(e);break;case XO.START_TAG:this._processStartTag(e);break;case XO.END_TAG:this.onEndTag(e);break;case XO.EOF:this.onEof(e);break;case XO.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return sN(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex(e=>e.type===zI.Marker||this.openElements.contains(e.element));for(let n=-1===t?e-1:t-1;n>=0;n--){const e=this.activeFormattingElements.entries[n];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=lN.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(cI.P),this.openElements.popUntilTagNamePopped(cI.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case cI.TR:return void(this.insertionMode=lN.IN_ROW);case cI.TBODY:case cI.THEAD:case cI.TFOOT:return void(this.insertionMode=lN.IN_TABLE_BODY);case cI.CAPTION:return void(this.insertionMode=lN.IN_CAPTION);case cI.COLGROUP:return void(this.insertionMode=lN.IN_COLUMN_GROUP);case cI.TABLE:return void(this.insertionMode=lN.IN_TABLE);case cI.BODY:return void(this.insertionMode=lN.IN_BODY);case cI.FRAMESET:return void(this.insertionMode=lN.IN_FRAMESET);case cI.SELECT:return void this._resetInsertionModeForSelect(e);case cI.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case cI.HTML:return void(this.insertionMode=this.headElement?lN.AFTER_HEAD:lN.BEFORE_HEAD);case cI.TD:case cI.TH:if(e>0)return void(this.insertionMode=lN.IN_CELL);break;case cI.HEAD:if(e>0)return void(this.insertionMode=lN.IN_HEAD)}this.insertionMode=lN.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===cI.TEMPLATE)break;if(e===cI.TABLE)return void(this.insertionMode=lN.IN_SELECT_IN_TABLE)}this.insertionMode=lN.IN_SELECT}_isElementCausesFosterParenting(e){return uN.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case cI.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===iI.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case cI.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return vI[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case lN.INITIAL:SN(this,e);break;case lN.BEFORE_HTML:kN(this,e);break;case lN.BEFORE_HEAD:TN(this,e);break;case lN.IN_HEAD:CN(this,e);break;case lN.IN_HEAD_NO_SCRIPT:xN(this,e);break;case lN.AFTER_HEAD:ON(this,e);break;case lN.IN_BODY:case lN.IN_CAPTION:case lN.IN_CELL:case lN.IN_TEMPLATE:LN(this,e);break;case lN.TEXT:case lN.IN_SELECT:case lN.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case lN.IN_TABLE:case lN.IN_TABLE_BODY:case lN.IN_ROW:zN(this,e);break;case lN.IN_TABLE_TEXT:qN(this,e);break;case lN.IN_COLUMN_GROUP:XN(this,e);break;case lN.AFTER_BODY:iL(this,e);break;case lN.AFTER_AFTER_BODY:aL(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=$O,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case lN.INITIAL:SN(this,e);break;case lN.BEFORE_HTML:kN(this,e);break;case lN.BEFORE_HEAD:TN(this,e);break;case lN.IN_HEAD:CN(this,e);break;case lN.IN_HEAD_NO_SCRIPT:xN(this,e);break;case lN.AFTER_HEAD:ON(this,e);break;case lN.TEXT:this._insertCharacters(e);break;case lN.IN_TABLE:case lN.IN_TABLE_BODY:case lN.IN_ROW:zN(this,e);break;case lN.IN_COLUMN_GROUP:XN(this,e);break;case lN.AFTER_BODY:iL(this,e);break;case lN.AFTER_AFTER_BODY:aL(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)EN(this,e);else switch(this.insertionMode){case lN.INITIAL:case lN.BEFORE_HTML:case lN.BEFORE_HEAD:case lN.IN_HEAD:case lN.IN_HEAD_NO_SCRIPT:case lN.AFTER_HEAD:case lN.IN_BODY:case lN.IN_TABLE:case lN.IN_CAPTION:case lN.IN_COLUMN_GROUP:case lN.IN_TABLE_BODY:case lN.IN_ROW:case lN.IN_CELL:case lN.IN_SELECT:case lN.IN_SELECT_IN_TABLE:case lN.IN_TEMPLATE:case lN.IN_FRAMESET:case lN.AFTER_FRAMESET:EN(this,e);break;case lN.IN_TABLE_TEXT:VN(this,e);break;case lN.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case lN.AFTER_AFTER_BODY:case lN.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case lN.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?sI.QUIRKS:function(e){if(e.name!==WI)return sI.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return sI.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),YI.has(n))return sI.QUIRKS;let e=null===t?VI:qI;if(QI(n,e))return sI.QUIRKS;if(e=null===t?KI:XI,QI(n,e))return sI.LIMITED_QUIRKS}return sI.NO_QUIRKS}(t);(function(e){return e.name===WI&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)})(t)||e._err(t,KO.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=lN.BEFORE_HTML}(this,e);break;case lN.BEFORE_HEAD:case lN.IN_HEAD:case lN.IN_HEAD_NO_SCRIPT:case lN.AFTER_HEAD:this._err(e,KO.misplacedDoctype);break;case lN.IN_TABLE_TEXT:VN(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,KO.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID,n=t===cI.FONT&&e.attrs.some(({name:e})=>e===aI.COLOR||e===aI.SIZE||e===aI.FACE);return n||rN.has(t)}(t))sL(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===iI.MATHML?oN(t):r===iI.SVG&&(function(e){const t=nN.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=mI(e.tagName))}(t),iN(t)),aN(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case lN.INITIAL:SN(this,e);break;case lN.BEFORE_HTML:!function(e,t){t.tagID===cI.HTML?(e._insertElement(t,iI.HTML),e.insertionMode=lN.BEFORE_HEAD):kN(e,t)}(this,e);break;case lN.BEFORE_HEAD:!function(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.HEAD:e._insertElement(t,iI.HTML),e.headElement=e.openElements.current,e.insertionMode=lN.IN_HEAD;break;default:TN(e,t)}}(this,e);break;case lN.IN_HEAD:wN(this,e);break;case lN.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.BASEFONT:case cI.BGSOUND:case cI.HEAD:case cI.LINK:case cI.META:case cI.NOFRAMES:case cI.STYLE:wN(e,t);break;case cI.NOSCRIPT:e._err(t,KO.nestedNoscriptInHead);break;default:xN(e,t)}}(this,e);break;case lN.AFTER_HEAD:!function(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.BODY:e._insertElement(t,iI.HTML),e.framesetOk=!1,e.insertionMode=lN.IN_BODY;break;case cI.FRAMESET:e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_FRAMESET;break;case cI.BASE:case cI.BASEFONT:case cI.BGSOUND:case cI.LINK:case cI.META:case cI.NOFRAMES:case cI.SCRIPT:case cI.STYLE:case cI.TEMPLATE:case cI.TITLE:e._err(t,KO.abandonedHeadElementChild),e.openElements.push(e.headElement,cI.HEAD),wN(e,t),e.openElements.remove(e.headElement);break;case cI.HEAD:e._err(t,KO.misplacedStartTagForHeadElement);break;default:ON(e,t)}}(this,e);break;case lN.IN_BODY:BN(this,e);break;case lN.IN_TABLE:UN(this,e);break;case lN.IN_TABLE_TEXT:VN(this,e);break;case lN.IN_CAPTION:!function(e,t){const n=t.tagID;YN.has(n)?e.openElements.hasInTableScope(cI.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(cI.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=lN.IN_TABLE,UN(e,t)):BN(e,t)}(this,e);break;case lN.IN_COLUMN_GROUP:KN(this,e);break;case lN.IN_TABLE_BODY:QN(this,e);break;case lN.IN_ROW:JN(this,e);break;case lN.IN_CELL:!function(e,t){const n=t.tagID;YN.has(n)?(e.openElements.hasInTableScope(cI.TD)||e.openElements.hasInTableScope(cI.TH))&&(e._closeTableCell(),JN(e,t)):BN(e,t)}(this,e);break;case lN.IN_SELECT:tL(this,e);break;case lN.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===cI.CAPTION||n===cI.TABLE||n===cI.TBODY||n===cI.TFOOT||n===cI.THEAD||n===cI.TR||n===cI.TD||n===cI.TH?(e.openElements.popUntilTagNamePopped(cI.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tL(e,t)}(this,e);break;case lN.IN_TEMPLATE:!function(e,t){switch(t.tagID){case cI.BASE:case cI.BASEFONT:case cI.BGSOUND:case cI.LINK:case cI.META:case cI.NOFRAMES:case cI.SCRIPT:case cI.STYLE:case cI.TEMPLATE:case cI.TITLE:wN(e,t);break;case cI.CAPTION:case cI.COLGROUP:case cI.TBODY:case cI.TFOOT:case cI.THEAD:e.tmplInsertionModeStack[0]=lN.IN_TABLE,e.insertionMode=lN.IN_TABLE,UN(e,t);break;case cI.COL:e.tmplInsertionModeStack[0]=lN.IN_COLUMN_GROUP,e.insertionMode=lN.IN_COLUMN_GROUP,KN(e,t);break;case cI.TR:e.tmplInsertionModeStack[0]=lN.IN_TABLE_BODY,e.insertionMode=lN.IN_TABLE_BODY,QN(e,t);break;case cI.TD:case cI.TH:e.tmplInsertionModeStack[0]=lN.IN_ROW,e.insertionMode=lN.IN_ROW,JN(e,t);break;default:e.tmplInsertionModeStack[0]=lN.IN_BODY,e.insertionMode=lN.IN_BODY,BN(e,t)}}(this,e);break;case lN.AFTER_BODY:!function(e,t){t.tagID===cI.HTML?BN(e,t):iL(e,t)}(this,e);break;case lN.IN_FRAMESET:!function(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.FRAMESET:e._insertElement(t,iI.HTML);break;case cI.FRAME:e._appendElement(t,iI.HTML),t.ackSelfClosing=!0;break;case cI.NOFRAMES:wN(e,t)}}(this,e);break;case lN.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.NOFRAMES:wN(e,t)}}(this,e);break;case lN.AFTER_AFTER_BODY:!function(e,t){t.tagID===cI.HTML?BN(e,t):aL(e,t)}(this,e);break;case lN.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.NOFRAMES:wN(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===cI.P||t.tagID===cI.BR)return sL(e),void e._endTagOutsideForeignContent(t);for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===iI.HTML){e._endTagOutsideForeignContent(t);break}const o=e.treeAdapter.getTagName(r);if(o.toLowerCase()===t.tagName){t.tagName=o,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case lN.INITIAL:SN(this,e);break;case lN.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==cI.HTML&&n!==cI.HEAD&&n!==cI.BODY&&n!==cI.BR||kN(e,t)}(this,e);break;case lN.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===cI.HEAD||n===cI.BODY||n===cI.HTML||n===cI.BR?TN(e,t):e._err(t,KO.endTagWithoutMatchingOpenElement)}(this,e);break;case lN.IN_HEAD:!function(e,t){switch(t.tagID){case cI.HEAD:e.openElements.pop(),e.insertionMode=lN.AFTER_HEAD;break;case cI.BODY:case cI.BR:case cI.HTML:CN(e,t);break;case cI.TEMPLATE:AN(e,t);break;default:e._err(t,KO.endTagWithoutMatchingOpenElement)}}(this,e);break;case lN.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case cI.NOSCRIPT:e.openElements.pop(),e.insertionMode=lN.IN_HEAD;break;case cI.BR:xN(e,t);break;default:e._err(t,KO.endTagWithoutMatchingOpenElement)}}(this,e);break;case lN.AFTER_HEAD:!function(e,t){switch(t.tagID){case cI.BODY:case cI.HTML:case cI.BR:ON(e,t);break;case cI.TEMPLATE:AN(e,t);break;default:e._err(t,KO.endTagWithoutMatchingOpenElement)}}(this,e);break;case lN.IN_BODY:FN(this,e);break;case lN.TEXT:!function(e,t){var n;t.tagID===cI.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case lN.IN_TABLE:jN(this,e);break;case lN.IN_TABLE_TEXT:VN(this,e);break;case lN.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case cI.CAPTION:case cI.TABLE:e.openElements.hasInTableScope(cI.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(cI.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=lN.IN_TABLE,n===cI.TABLE&&jN(e,t));break;case cI.BODY:case cI.COL:case cI.COLGROUP:case cI.HTML:case cI.TBODY:case cI.TD:case cI.TFOOT:case cI.TH:case cI.THEAD:case cI.TR:break;default:FN(e,t)}}(this,e);break;case lN.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case cI.COLGROUP:e.openElements.currentTagId===cI.COLGROUP&&(e.openElements.pop(),e.insertionMode=lN.IN_TABLE);break;case cI.TEMPLATE:AN(e,t);break;case cI.COL:break;default:XN(e,t)}}(this,e);break;case lN.IN_TABLE_BODY:ZN(this,e);break;case lN.IN_ROW:eL(this,e);break;case lN.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case cI.TD:case cI.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=lN.IN_ROW);break;case cI.TABLE:case cI.TBODY:case cI.TFOOT:case cI.THEAD:case cI.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),eL(e,t));break;case cI.BODY:case cI.CAPTION:case cI.COL:case cI.COLGROUP:case cI.HTML:break;default:FN(e,t)}}(this,e);break;case lN.IN_SELECT:nL(this,e);break;case lN.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===cI.CAPTION||n===cI.TABLE||n===cI.TBODY||n===cI.TFOOT||n===cI.THEAD||n===cI.TR||n===cI.TD||n===cI.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(cI.SELECT),e._resetInsertionMode(),e.onEndTag(t)):nL(e,t)}(this,e);break;case lN.IN_TEMPLATE:!function(e,t){t.tagID===cI.TEMPLATE&&AN(e,t)}(this,e);break;case lN.AFTER_BODY:oL(this,e);break;case lN.IN_FRAMESET:!function(e,t){t.tagID!==cI.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===cI.FRAMESET||(e.insertionMode=lN.AFTER_FRAMESET))}(this,e);break;case lN.AFTER_FRAMESET:!function(e,t){t.tagID===cI.HTML&&(e.insertionMode=lN.AFTER_AFTER_FRAMESET)}(this,e);break;case lN.AFTER_AFTER_BODY:aL(this,e)}}onEof(e){switch(this.insertionMode){case lN.INITIAL:SN(this,e);break;case lN.BEFORE_HTML:kN(this,e);break;case lN.BEFORE_HEAD:TN(this,e);break;case lN.IN_HEAD:CN(this,e);break;case lN.IN_HEAD_NO_SCRIPT:xN(this,e);break;case lN.AFTER_HEAD:ON(this,e);break;case lN.IN_BODY:case lN.IN_TABLE:case lN.IN_CAPTION:case lN.IN_COLUMN_GROUP:case lN.IN_TABLE_BODY:case lN.IN_ROW:case lN.IN_CELL:case lN.IN_SELECT:case lN.IN_SELECT_IN_TABLE:HN(this,e);break;case lN.TEXT:!function(e,t){e._err(t,KO.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case lN.IN_TABLE_TEXT:VN(this,e);break;case lN.IN_TEMPLATE:rL(this,e);break;case lN.AFTER_BODY:case lN.IN_FRAMESET:case lN.AFTER_FRAMESET:case lN.AFTER_AFTER_BODY:case lN.AFTER_AFTER_FRAMESET:_N(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===FO.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case lN.IN_HEAD:case lN.IN_HEAD_NO_SCRIPT:case lN.AFTER_HEAD:case lN.TEXT:case lN.IN_COLUMN_GROUP:case lN.IN_SELECT:case lN.IN_SELECT_IN_TABLE:case lN.IN_FRAMESET:case lN.AFTER_FRAMESET:this._insertCharacters(e);break;case lN.IN_BODY:case lN.IN_CAPTION:case lN.IN_CELL:case lN.IN_TEMPLATE:case lN.AFTER_BODY:case lN.AFTER_AFTER_BODY:case lN.AFTER_AFTER_FRAMESET:NN(this,e);break;case lN.IN_TABLE:case lN.IN_TABLE_BODY:case lN.IN_ROW:zN(this,e);break;case lN.IN_TABLE_TEXT:WN(this,e)}}}function hN(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):$N(e,t),n}function fN(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break;e._isSpecialElement(o,e.openElements.tagIDs[r])&&(n=o)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function gN(e,t,n){let r=t,o=e.openElements.getCommonAncestor(t);for(let i=0,a=o;a!==n;i++,a=o){o=e.openElements.getCommonAncestor(a);const n=e.activeFormattingElements.getElementEntry(a),s=n&&i>=3;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=mN(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function mN(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function bN(e,t,n){const r=mI(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const o=e.treeAdapter.getNamespaceURI(t);r===cI.TEMPLATE&&o===iI.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function vN(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:o}=n,i=e.treeAdapter.createElement(o.tagName,r,o.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,o),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,o.tagID)}function yN(e,t){for(let n=0;n<8;n++){const n=hN(e,t);if(!n)break;const r=fN(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;const o=gN(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(o),i&&bN(e,i,o),vN(e,r,n)}}function EN(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function _N(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function SN(e,t){e._err(t,KO.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,sI.QUIRKS),e.insertionMode=lN.BEFORE_HTML,e._processToken(t)}function kN(e,t){e._insertFakeRootElement(),e.insertionMode=lN.BEFORE_HEAD,e._processToken(t)}function TN(e,t){e._insertFakeElement(lI.HEAD,cI.HEAD),e.headElement=e.openElements.current,e.insertionMode=lN.IN_HEAD,e._processToken(t)}function wN(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.BASE:case cI.BASEFONT:case cI.BGSOUND:case cI.LINK:case cI.META:e._appendElement(t,iI.HTML),t.ackSelfClosing=!0;break;case cI.TITLE:e._switchToTextParsing(t,_I.RCDATA);break;case cI.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,_I.RAWTEXT):(e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_HEAD_NO_SCRIPT);break;case cI.NOFRAMES:case cI.STYLE:e._switchToTextParsing(t,_I.RAWTEXT);break;case cI.SCRIPT:e._switchToTextParsing(t,_I.SCRIPT_DATA);break;case cI.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=lN.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(lN.IN_TEMPLATE);break;case cI.HEAD:e._err(t,KO.misplacedStartTagForHeadElement);break;default:CN(e,t)}}function AN(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==cI.TEMPLATE&&e._err(t,KO.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(cI.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,KO.endTagWithoutMatchingOpenElement)}function CN(e,t){e.openElements.pop(),e.insertionMode=lN.AFTER_HEAD,e._processToken(t)}function xN(e,t){const n=t.type===XO.EOF?KO.openElementsLeftAfterEof:KO.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=lN.IN_HEAD,e._processToken(t)}function ON(e,t){e._insertFakeElement(lI.BODY,cI.BODY),e.insertionMode=lN.IN_BODY,IN(e,t)}function IN(e,t){switch(t.type){case XO.CHARACTER:LN(e,t);break;case XO.WHITESPACE_CHARACTER:NN(e,t);break;case XO.COMMENT:EN(e,t);break;case XO.START_TAG:BN(e,t);break;case XO.END_TAG:FN(e,t);break;case XO.EOF:HN(e,t)}}function NN(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function LN(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function DN(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,iI.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function RN(e){const t=ZO(e,aI.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function MN(e,t){e._switchToTextParsing(t,_I.RAWTEXT)}function PN(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML)}function BN(e,t){switch(t.tagID){case cI.I:case cI.S:case cI.B:case cI.U:case cI.EM:case cI.TT:case cI.BIG:case cI.CODE:case cI.FONT:case cI.SMALL:case cI.STRIKE:case cI.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case cI.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(lI.A);n&&(yN(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case cI.H1:case cI.H2:case cI.H3:case cI.H4:case cI.H5:case cI.H6:!function(e,t){e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&yI.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,iI.HTML)}(e,t);break;case cI.P:case cI.DL:case cI.OL:case cI.UL:case cI.DIV:case cI.DIR:case cI.NAV:case cI.MAIN:case cI.MENU:case cI.ASIDE:case cI.CENTER:case cI.FIGURE:case cI.FOOTER:case cI.HEADER:case cI.HGROUP:case cI.DIALOG:case cI.DETAILS:case cI.ADDRESS:case cI.ARTICLE:case cI.SEARCH:case cI.SECTION:case cI.SUMMARY:case cI.FIELDSET:case cI.BLOCKQUOTE:case cI.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._insertElement(t,iI.HTML)}(e,t);break;case cI.LI:case cI.DD:case cI.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const t=e.openElements.tagIDs[r];if(n===cI.LI&&t===cI.LI||(n===cI.DD||n===cI.DT)&&(t===cI.DD||t===cI.DT)){e.openElements.generateImpliedEndTagsWithExclusion(t),e.openElements.popUntilTagNamePopped(t);break}if(t!==cI.ADDRESS&&t!==cI.DIV&&t!==cI.P&&e._isSpecialElement(e.openElements.items[r],t))break}e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._insertElement(t,iI.HTML)}(e,t);break;case cI.BR:case cI.IMG:case cI.WBR:case cI.AREA:case cI.EMBED:case cI.KEYGEN:DN(e,t);break;case cI.HR:!function(e,t){e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._appendElement(t,iI.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case cI.RB:case cI.RTC:!function(e,t){e.openElements.hasInScope(cI.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,iI.HTML)}(e,t);break;case cI.RT:case cI.RP:!function(e,t){e.openElements.hasInScope(cI.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(cI.RTC),e._insertElement(t,iI.HTML)}(e,t);break;case cI.PRE:case cI.LISTING:!function(e,t){e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._insertElement(t,iI.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case cI.XMP:!function(e,t){e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,_I.RAWTEXT)}(e,t);break;case cI.SVG:!function(e,t){e._reconstructActiveFormattingElements(),iN(t),aN(t),t.selfClosing?e._appendElement(t,iI.SVG):e._insertElement(t,iI.SVG),t.ackSelfClosing=!0}(e,t);break;case cI.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case cI.BASE:case cI.LINK:case cI.META:case cI.STYLE:case cI.TITLE:case cI.SCRIPT:case cI.BGSOUND:case cI.BASEFONT:case cI.TEMPLATE:wN(e,t);break;case cI.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case cI.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._insertElement(t,iI.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case cI.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(cI.NOBR)&&(yN(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,iI.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case cI.MATH:!function(e,t){e._reconstructActiveFormattingElements(),oN(t),aN(t),t.selfClosing?e._appendElement(t,iI.MATHML):e._insertElement(t,iI.MATHML),t.ackSelfClosing=!0}(e,t);break;case cI.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==sI.QUIRKS&&e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._insertElement(t,iI.HTML),e.framesetOk=!1,e.insertionMode=lN.IN_TABLE}(e,t);break;case cI.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,iI.HTML),RN(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case cI.PARAM:case cI.TRACK:case cI.SOURCE:!function(e,t){e._appendElement(t,iI.HTML),t.ackSelfClosing=!0}(e,t);break;case cI.IMAGE:!function(e,t){t.tagName=lI.IMG,t.tagID=cI.IMG,DN(e,t)}(e,t);break;case cI.BUTTON:!function(e,t){e.openElements.hasInScope(cI.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(cI.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML),e.framesetOk=!1}(e,t);break;case cI.APPLET:case cI.OBJECT:case cI.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case cI.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,_I.RAWTEXT)}(e,t);break;case cI.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===lN.IN_TABLE||e.insertionMode===lN.IN_CAPTION||e.insertionMode===lN.IN_TABLE_BODY||e.insertionMode===lN.IN_ROW||e.insertionMode===lN.IN_CELL?lN.IN_SELECT_IN_TABLE:lN.IN_SELECT}(e,t);break;case cI.OPTION:case cI.OPTGROUP:!function(e,t){e.openElements.currentTagId===cI.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML)}(e,t);break;case cI.NOEMBED:case cI.NOFRAMES:MN(e,t);break;case cI.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_FRAMESET)}(e,t);break;case cI.TEXTAREA:!function(e,t){e._insertElement(t,iI.HTML),e.skipNextNewLine=!0,e.tokenizer.state=_I.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=lN.TEXT}(e,t);break;case cI.NOSCRIPT:e.options.scriptingEnabled?MN(e,t):PN(e,t);break;case cI.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._insertElement(t,iI.HTML),e.tokenizer.state=_I.PLAINTEXT}(e,t);break;case cI.COL:case cI.TH:case cI.TD:case cI.TR:case cI.HEAD:case cI.FRAME:case cI.TBODY:case cI.TFOOT:case cI.THEAD:case cI.CAPTION:case cI.COLGROUP:break;default:PN(e,t)}}function $N(e,t){const n=t.tagName,r=t.tagID;for(let o=e.openElements.stackTop;o>0;o--){const t=e.openElements.items[o],i=e.openElements.tagIDs[o];if(r===i&&(r!==cI.UNKNOWN||e.treeAdapter.getTagName(t)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=o&&e.openElements.shortenToLength(o);break}if(e._isSpecialElement(t,i))break}}function FN(e,t){switch(t.tagID){case cI.A:case cI.B:case cI.I:case cI.S:case cI.U:case cI.EM:case cI.TT:case cI.BIG:case cI.CODE:case cI.FONT:case cI.NOBR:case cI.SMALL:case cI.STRIKE:case cI.STRONG:yN(e,t);break;case cI.P:!function(e){e.openElements.hasInButtonScope(cI.P)||e._insertFakeElement(lI.P,cI.P),e._closePElement()}(e);break;case cI.DL:case cI.UL:case cI.OL:case cI.DIR:case cI.DIV:case cI.NAV:case cI.PRE:case cI.MAIN:case cI.MENU:case cI.ASIDE:case cI.BUTTON:case cI.CENTER:case cI.FIGURE:case cI.FOOTER:case cI.HEADER:case cI.HGROUP:case cI.DIALOG:case cI.ADDRESS:case cI.ARTICLE:case cI.DETAILS:case cI.SEARCH:case cI.SECTION:case cI.SUMMARY:case cI.LISTING:case cI.FIELDSET:case cI.BLOCKQUOTE:case cI.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case cI.LI:!function(e){e.openElements.hasInListItemScope(cI.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(cI.LI),e.openElements.popUntilTagNamePopped(cI.LI))}(e);break;case cI.DD:case cI.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case cI.H1:case cI.H2:case cI.H3:case cI.H4:case cI.H5:case cI.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case cI.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(lI.BR,cI.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case cI.BODY:!function(e,t){if(e.openElements.hasInScope(cI.BODY)&&(e.insertionMode=lN.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case cI.HTML:!function(e,t){e.openElements.hasInScope(cI.BODY)&&(e.insertionMode=lN.AFTER_BODY,oL(e,t))}(e,t);break;case cI.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(cI.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(cI.FORM):n&&e.openElements.remove(n))}(e);break;case cI.APPLET:case cI.OBJECT:case cI.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case cI.TEMPLATE:AN(e,t);break;default:$N(e,t)}}function HN(e,t){e.tmplInsertionModeStack.length>0?rL(e,t):_N(e,t)}function zN(e,t){if(void 0!==e.openElements.currentTagId&&uN.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=lN.IN_TABLE_TEXT,t.type){case XO.CHARACTER:qN(e,t);break;case XO.WHITESPACE_CHARACTER:WN(e,t)}else GN(e,t)}function UN(e,t){switch(t.tagID){case cI.TD:case cI.TH:case cI.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(lI.TBODY,cI.TBODY),e.insertionMode=lN.IN_TABLE_BODY,QN(e,t)}(e,t);break;case cI.STYLE:case cI.SCRIPT:case cI.TEMPLATE:wN(e,t);break;case cI.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(lI.COLGROUP,cI.COLGROUP),e.insertionMode=lN.IN_COLUMN_GROUP,KN(e,t)}(e,t);break;case cI.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,iI.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case cI.TABLE:!function(e,t){e.openElements.hasInTableScope(cI.TABLE)&&(e.openElements.popUntilTagNamePopped(cI.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case cI.TBODY:case cI.TFOOT:case cI.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_TABLE_BODY}(e,t);break;case cI.INPUT:!function(e,t){RN(t)?e._appendElement(t,iI.HTML):GN(e,t),t.ackSelfClosing=!0}(e,t);break;case cI.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_CAPTION}(e,t);break;case cI.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_COLUMN_GROUP}(e,t);break;default:GN(e,t)}}function jN(e,t){switch(t.tagID){case cI.TABLE:e.openElements.hasInTableScope(cI.TABLE)&&(e.openElements.popUntilTagNamePopped(cI.TABLE),e._resetInsertionMode());break;case cI.TEMPLATE:AN(e,t);break;case cI.BODY:case cI.CAPTION:case cI.COL:case cI.COLGROUP:case cI.HTML:case cI.TBODY:case cI.TD:case cI.TFOOT:case cI.TH:case cI.THEAD:case cI.TR:break;default:GN(e,t)}}function GN(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,IN(e,t),e.fosterParentingEnabled=n}function WN(e,t){e.pendingCharacterTokens.push(t)}function qN(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function VN(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)GN(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const YN=new Set([cI.CAPTION,cI.COL,cI.COLGROUP,cI.TBODY,cI.TD,cI.TFOOT,cI.TH,cI.THEAD,cI.TR]);function KN(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.COL:e._appendElement(t,iI.HTML),t.ackSelfClosing=!0;break;case cI.TEMPLATE:wN(e,t);break;default:XN(e,t)}}function XN(e,t){e.openElements.currentTagId===cI.COLGROUP&&(e.openElements.pop(),e.insertionMode=lN.IN_TABLE,e._processToken(t))}function QN(e,t){switch(t.tagID){case cI.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_ROW;break;case cI.TH:case cI.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(lI.TR,cI.TR),e.insertionMode=lN.IN_ROW,JN(e,t);break;case cI.CAPTION:case cI.COL:case cI.COLGROUP:case cI.TBODY:case cI.TFOOT:case cI.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE,UN(e,t));break;default:UN(e,t)}}function ZN(e,t){const n=t.tagID;switch(t.tagID){case cI.TBODY:case cI.TFOOT:case cI.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE);break;case cI.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE,jN(e,t));break;case cI.BODY:case cI.CAPTION:case cI.COL:case cI.COLGROUP:case cI.HTML:case cI.TD:case cI.TH:case cI.TR:break;default:jN(e,t)}}function JN(e,t){switch(t.tagID){case cI.TH:case cI.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_CELL,e.activeFormattingElements.insertMarker();break;case cI.CAPTION:case cI.COL:case cI.COLGROUP:case cI.TBODY:case cI.TFOOT:case cI.THEAD:case cI.TR:e.openElements.hasInTableScope(cI.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE_BODY,QN(e,t));break;default:UN(e,t)}}function eL(e,t){switch(t.tagID){case cI.TR:e.openElements.hasInTableScope(cI.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE_BODY);break;case cI.TABLE:e.openElements.hasInTableScope(cI.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE_BODY,ZN(e,t));break;case cI.TBODY:case cI.TFOOT:case cI.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(cI.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE_BODY,ZN(e,t));break;case cI.BODY:case cI.CAPTION:case cI.COL:case cI.COLGROUP:case cI.HTML:case cI.TD:case cI.TH:break;default:jN(e,t)}}function tL(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.OPTION:e.openElements.currentTagId===cI.OPTION&&e.openElements.pop(),e._insertElement(t,iI.HTML);break;case cI.OPTGROUP:e.openElements.currentTagId===cI.OPTION&&e.openElements.pop(),e.openElements.currentTagId===cI.OPTGROUP&&e.openElements.pop(),e._insertElement(t,iI.HTML);break;case cI.HR:e.openElements.currentTagId===cI.OPTION&&e.openElements.pop(),e.openElements.currentTagId===cI.OPTGROUP&&e.openElements.pop(),e._appendElement(t,iI.HTML),t.ackSelfClosing=!0;break;case cI.INPUT:case cI.KEYGEN:case cI.TEXTAREA:case cI.SELECT:e.openElements.hasInSelectScope(cI.SELECT)&&(e.openElements.popUntilTagNamePopped(cI.SELECT),e._resetInsertionMode(),t.tagID!==cI.SELECT&&e._processStartTag(t));break;case cI.SCRIPT:case cI.TEMPLATE:wN(e,t)}}function nL(e,t){switch(t.tagID){case cI.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===cI.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===cI.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===cI.OPTGROUP&&e.openElements.pop();break;case cI.OPTION:e.openElements.currentTagId===cI.OPTION&&e.openElements.pop();break;case cI.SELECT:e.openElements.hasInSelectScope(cI.SELECT)&&(e.openElements.popUntilTagNamePopped(cI.SELECT),e._resetInsertionMode());break;case cI.TEMPLATE:AN(e,t)}}function rL(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(cI.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):_N(e,t)}function oL(e,t){var n;if(t.tagID===cI.HTML){if(e.fragmentContext||(e.insertionMode=lN.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===cI.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else iL(e,t)}function iL(e,t){e.insertionMode=lN.IN_BODY,IN(e,t)}function aL(e,t){e.insertionMode=lN.IN_BODY,IN(e,t)}function sL(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==iI.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}new Set([lI.AREA,lI.BASE,lI.BASEFONT,lI.BGSOUND,lI.BR,lI.COL,lI.EMBED,lI.FRAME,lI.HR,lI.IMG,lI.INPUT,lI.KEYGEN,lI.LINK,lI.META,lI.PARAM,lI.SOURCE,lI.TRACK,lI.WBR]);const lL=uL("end"),cL=uL("start");function uL(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}const dL=function(e){if(null==e)return hL;if("function"==typeof e)return pL(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=dL(e[n]);return pL(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){const t=e;return pL(n);function n(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e);if("string"==typeof e)return function(e){return pL(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function pL(e){return function(t,n,r){return Boolean(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function hL(){return!0}const fL=[],gL=!0,mL=!1,bL="skip";function vL(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=dL(o),a=r?-1:1;!function e(o,s,l){const c=o&&"object"==typeof o?o:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,p=fL;if((!t||i(o,s,l[l.length-1]||void 0))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[gL,e]:null==e?fL:[e]}(n(o,l)),p[0]===mL))return p;if("children"in o&&o.children){const t=o;if(t.children&&p[0]!==bL)for(u=(r?t.children.length:-1)+a,d=l.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(c=e(n,u,d)(),c[0]===mL)return c;u="number"==typeof c[1]?c[1]:u+a}}return p}}(e,void 0,[])()}const yL=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,EL=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),_L={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function SL(e,t){const n=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=OO("type",{handlers:{root:TL,element:wL,text:AL,comment:OL,doctype:CL,raw:IL},unknown:NL}),o={parser:n?new pN(_L):pN.getFragmentParser(void 0,_L),handle(e){r(e,o)},stitches:!1,options:t||{}};r(e,o),LL(o,cL());const i=function(e,t){const n=t||{};return zx({file:n.file||void 0,location:!1,schema:"svg"===n.space?Cx:Ax,verbose:n.verbose||!1},e)}(n?o.parser.document:o.parser.getFragment(),{file:o.options.file});return o.stitches&&function(e,t,n,r){let o,i,a;i=t,a=n,o=r,vL(e,i,function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)},o)}(i,"comment",function(e,t,n){const r=e;if(r.value.stitch&&n&&void 0!==t)return n.children[t]=r.value.stitch,t}),"root"===i.type&&1===i.children.length&&i.children[0].type===e.type?i.children[0]:i}function kL(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function TL(e,t){kL(e.children,t)}function wL(e,t){!function(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===_I.PLAINTEXT)return;LL(t,cL(e));const r=t.parser.openElements.current;let o="namespaceURI"in r?r.namespaceURI:$x.html;o===$x.html&&"svg"===n&&(o=$x.svg);const i=function(e,t){const n=(t||IO).space;return LO(e,"svg"===n?CO:AO)}({...e,children:[]},{space:o===$x.svg?"svg":"html"}),a={type:XO.START_TAG,tagName:n,tagID:mI(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:RL(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}(e,t),kL(e.children,t),function(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&PO.includes(n))return;if(t.parser.tokenizer.state===_I.PLAINTEXT)return;LL(t,lL(e));const r={type:XO.END_TAG,tagName:n,tagID:mI(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:RL(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n!==t.parser.tokenizer.lastStartTagName||t.parser.tokenizer.state!==_I.RCDATA&&t.parser.tokenizer.state!==_I.RAWTEXT&&t.parser.tokenizer.state!==_I.SCRIPT_DATA||(t.parser.tokenizer.state=_I.DATA)}(e,t)}function AL(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:XO.CHARACTER,chars:e.value,location:RL(e)};LL(t,cL(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function CL(e,t){const n={type:XO.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:RL(e)};LL(t,cL(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function xL(e,t){t.stitches=!0;const n=function(e){return VC("children"in e?{...e,children:[]}:e)}(e);if("children"in e&&"children"in n){const r=SL({type:"root",children:e.children},t.options);n.children=r.children}OL({type:"comment",value:{stitch:n}},t)}function OL(e,t){const n=e.value,r={type:XO.COMMENT,data:n,location:RL(e)};LL(t,cL(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function IL(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,DL(t,cL(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(yL,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function NL(e,t){const n=e;if(!t.options.passThrough||!t.options.passThrough.includes(n.type)){let e="";throw EL.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+e)}xL(n,t)}function LL(e,t){DL(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=_I.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function DL(e,t){if(t&&void 0!==t.offset){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=1-t.column,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function RL(e){const t=cL(e)||{line:void 0,column:void 0,offset:void 0},n=lL(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function ML(e){return function(t,n){return SL(t,{...e,file:n})}}function PL(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=PL(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}var BL=function(e){var t,n;if("function"!=typeof e)throw new Error("expected a function but got "+e);return function(){return t||(t=!0,n=e.apply(this,arguments),e=void 0),n}};const $L=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;function FL(e){const t={};let n;for(;n=$L.exec(e);)t[n[1]]=n[2];return t}function HL(e,t){-1===e.indexOf(t)&&e.push(t)}const zL=(e,t,n)=>Math.min(Math.max(n,e),t),UL={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},jL=e=>"number"==typeof e,GL=e=>Array.isArray(e)&&!jL(e[0]),WL=(e,t,n)=>-n*e+n*t+e,qL=()=>{},VL=e=>e,YL=(e,t,n)=>t-e===0?1:(n-e)/(t-e);function KL(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=YL(0,t,r);e.push(WL(n,1,o))}}function XL(e,t=function(e){const t=[0];return KL(t,e-1),t}(e.length),n=VL){const r=e.length,o=r-t.length;return o>0&&KL(t,o),o=>{let i=0;for(;i<r-2&&!(o<t[i+1]);i++);let a=zL(0,1,YL(t[i],t[i+1],o));const s=function(e,t){return GL(e)?e[((e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e})(0,e.length,t)]:e}(n,i);return a=s(a),WL(e[i],e[i+1],a)}}const QL=e=>Array.isArray(e)&&jL(e[0]),ZL=e=>"object"==typeof e&&Boolean(e.createAnimation),JL=e=>"function"==typeof e,eD=e=>1e3*e,tD=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function nD(e,t,n,r){if(e===t&&n===r)return VL;const o=t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=tD(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:tD(o(e),t,r)}const rD={ease:nD(.25,.1,.25,1),"ease-in":nD(.42,0,1,1),"ease-in-out":nD(.42,0,.58,1),"ease-out":nD(0,0,.58,1)},oD=/\((.*?)\)/;function iD(e){if(JL(e))return e;if(QL(e))return nD(...e);const t=rD[e];if(t)return t;if(e.startsWith("steps")){const t=oD.exec(e);if(t){const e=t[1].split(",");return((e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,o="end"===t?Math.floor(r):Math.ceil(r);return zL(0,1,o/e)})(parseFloat(e[0]),e[1].trim())}}return VL}class aD{constructor(e,t=[0,1],{easing:n,duration:r=UL.duration,delay:o=UL.delay,endDelay:i=UL.endDelay,repeat:a=UL.repeat,offset:s,direction:l="normal",autoplay:c=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=VL,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((e,t)=>{this.resolve=e,this.reject=t}),n=n||UL.easing,ZL(n)){const e=n.createAnimation(t);n=e.easing,t=e.keyframes||t,r=e.duration||r}this.repeat=a,this.easing=GL(n)?VL:iD(n),this.updateDuration(r);const u=XL(t,s,GL(n)?n.map(iD):VL);this.tick=t=>{var n;let r=0;r=void 0!==this.pauseTime?this.pauseTime:(t-this.startTime)*this.rate,this.t=r,r/=1e3,r=Math.max(r-o,0),"finished"===this.playState&&void 0===this.pauseTime&&(r=this.totalDuration);const a=r/this.duration;let s=Math.floor(a),c=a%1;!c&&a>=1&&(c=1),1===c&&s--;const d=s%2;("reverse"===l||"alternate"===l&&d||"alternate-reverse"===l&&!d)&&(c=1-c);const p=r>=this.totalDuration?1:Math.min(c,1),h=u(this.easing(p));e(h),void 0===this.pauseTime&&("finished"===this.playState||r>=this.totalDuration+i)?(this.playState="finished",null===(n=this.resolve)||void 0===n||n.call(this,h)):"idle"!==this.playState&&(this.frameRequestId=requestAnimationFrame(this.tick))},c&&this.play()}play(){const e=performance.now();this.playState="running",void 0!==this.pauseTime?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",void 0!==this.frameRequestId&&cancelAnimationFrame(this.frameRequestId),null===(e=this.reject)||void 0===e||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){void 0!==this.pauseTime||0===this.rate?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}class sD{setAnimation(e){this.animation=e,null==e||e.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}const lD=new WeakMap;function cD(e){return lD.has(e)||lD.set(e,{transforms:[],values:new Map}),lD.get(e)}const uD=["","X","Y","Z"],dD={x:"translateX",y:"translateY",z:"translateZ"},pD={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},hD={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:pD,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:VL},skew:pD},fD=new Map,gD=e=>`--motion-${e}`,mD=["x","y","z"];["translate","scale","rotate","skew"].forEach(e=>{uD.forEach(t=>{mD.push(e+t),fD.set(gD(e+t),hD[e])})});const bD=(e,t)=>mD.indexOf(e)-mD.indexOf(t),vD=new Set(mD),yD=e=>vD.has(e),ED=e=>e.sort(bD).reduce(_D,"").trim(),_D=(e,t)=>`${e} ${t}(var(${gD(t)}))`,SD=e=>e.startsWith("--"),kD=new Set,TD=(e,t)=>document.createElement("div").animate(e,t),wD={cssRegisterProperty:()=>"undefined"!=typeof CSS&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{TD({opacity:[1]})}catch(ro){return!1}return!0},finished:()=>Boolean(TD({opacity:[0,1]},{duration:.001}).finished),linearEasing:()=>{try{TD({opacity:0},{easing:"linear(0, 1)"})}catch(ro){return!1}return!0}},AD={},CD={};for(const e in wD)CD[e]=()=>(void 0===AD[e]&&(AD[e]=wD[e]()),AD[e]);const xD=(e,t)=>JL(e)?CD.linearEasing()?`linear(${((e,t)=>{let n="";const r=Math.round(t/.015);for(let o=0;o<r;o++)n+=e(YL(0,r-1,o))+", ";return n.substring(0,n.length-2)})(e,t)})`:UL.easing:QL(e)?OD(e):e,OD=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`;function ID(e){return dD[e]&&(e=dD[e]),yD(e)?gD(e):e}const ND=(e,t)=>{t=ID(t);let n=SD(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&0!==n){const e=fD.get(t);e&&(n=e.initialValue)}return n},LD=(e,t,n)=>{t=ID(t),SD(t)?e.style.setProperty(t,n):e.style[t]=n};function DD(e,t,n,r={},o){const i=window.__MOTION_DEV_TOOLS_RECORD,a=!1!==r.record&&i;let s,{duration:l=UL.duration,delay:c=UL.delay,endDelay:u=UL.endDelay,repeat:d=UL.repeat,easing:p=UL.easing,persist:h=!1,direction:f,offset:g,allowWebkitAcceleration:m=!1,autoplay:b=!0}=r;const v=cD(e),y=yD(t);let E=CD.waapi();y&&((e,t)=>{dD[t]&&(t=dD[t]);const{transforms:n}=cD(e);HL(n,t),e.style.transform=ED(n)})(e,t);const _=ID(t),S=function(e,t){return e.has(t)||e.set(t,new sD),e.get(t)}(v.values,_),k=fD.get(_);return function(e,t=!0){if(e&&"finished"!==e.playState)try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch(ro){}}(S.animation,!(ZL(p)&&S.generator)&&!1!==r.record),()=>{const v=()=>{var t,n;return null!==(n=null!==(t=ND(e,_))&&void 0!==t?t:null==k?void 0:k.initialValue)&&void 0!==n?n:0};let T=function(e,t){for(let n=0;n<e.length;n++)null===e[n]&&(e[n]=n?e[n-1]:t());return e}((e=>Array.isArray(e)?e:[e])(n),v);const w=function(e,t){var n;let r=(null==t?void 0:t.toDefaultUnit)||VL;const o=e[e.length-1];if("string"==typeof o){const e=(null===(n=o.match(/(-?[\d.]+)([a-z%]*)/))||void 0===n?void 0:n[2])||"";e&&(r=t=>t+e)}return r}(T,k);if(ZL(p)){const e=p.createAnimation(T,"opacity"!==t,v,_,S);p=e.easing,T=e.keyframes||T,l=e.duration||l}if(SD(_)&&(CD.cssRegisterProperty()?function(e){if(!kD.has(e)){kD.add(e);try{const{syntax:t,initialValue:n}=fD.has(e)?fD.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:n})}catch(ro){}}}(_):E=!1),y&&!CD.linearEasing()&&(JL(p)||GL(p)&&p.some(JL))&&(E=!1),E){k&&(T=T.map(e=>jL(e)?k.toDefaultUnit(e):e)),1!==T.length||CD.partialKeyframes()&&!a||T.unshift(v());const t={delay:eD(c),duration:eD(l),endDelay:eD(u),easing:GL(p)?void 0:xD(p,l),direction:f,iterations:d+1,fill:"both"};s=e.animate({[_]:T,offset:g,easing:GL(p)?p.map(e=>xD(e,l)):void 0},t),s.finished||(s.finished=new Promise((e,t)=>{s.onfinish=e,s.oncancel=t}));const n=T[T.length-1];s.finished.then(()=>{h||(LD(e,_,n),s.cancel())}).catch(qL),m||(s.playbackRate=1.000001)}else if(o&&y)T=T.map(e=>"string"==typeof e?parseFloat(e):e),1===T.length&&T.unshift(parseFloat(v())),s=new o(t=>{LD(e,_,w?w(t):t)},T,Object.assign(Object.assign({},r),{duration:l,easing:p}));else{const t=T[T.length-1];LD(e,_,k&&jL(t)?k.toDefaultUnit(t):t)}return a&&i(e,t,T,{duration:l,delay:c,easing:p,repeat:d,offset:g},"motion-one"),S.setAnimation(s),s&&!b&&s.pause(),s}}const RD=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function MD(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;const PD={any:0,all:1};function BD(e,t,{root:n,margin:r,amount:o="any"}={}){if("undefined"==typeof IntersectionObserver)return()=>{};const i=function(e){return"string"==typeof e?e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}(e),a=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{const n=a.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e);JL(n)?a.set(e.target,n):s.unobserve(e.target)}else n&&(n(e),a.delete(e.target))})},{root:n,rootMargin:r,threshold:"number"==typeof o?o:PD[o]});return i.forEach(e=>s.observe(e)),()=>s.disconnect()}function $D(e,t){return function(e){return"object"==typeof e}(e)?e:e&&t?t[e]:void 0}let FD;function HD(){if(!FD)return;const e=FD.sort(UD).map(jD);e.forEach(GD),e.forEach(GD),FD=void 0}function zD(e){FD?HL(FD,e):(FD=[e],requestAnimationFrame(HD))}const UD=(e,t)=>e.getDepth()-t.getDepth(),jD=e=>e.animateUpdates(),GD=e=>e.next(),WD=(e,t)=>new CustomEvent(e,{detail:{target:t}});function qD(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:n}}))}function VD(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:n}}))}const YD={isActive:e=>Boolean(e.inView),subscribe:(e,{enable:t,disable:n},{inViewOptions:r={}})=>{const{once:o}=r,i=MD(r,["once"]);return BD(e,r=>{if(t(),VD(e,"viewenter",r),!o)return t=>{n(),VD(e,"viewleave",t)}},i)}},KD=(e,t,n)=>r=>{r.pointerType&&"mouse"!==r.pointerType||(n(),qD(e,t,r))},XD={isActive:e=>Boolean(e.hover),subscribe:(e,{enable:t,disable:n})=>{const r=KD(e,"hoverstart",t),o=KD(e,"hoverend",n);return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",o),()=>{e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",o)}}},QD={isActive:e=>Boolean(e.press),subscribe:(e,{enable:t,disable:n})=>{const r=t=>{n(),qD(e,"pressend",t),window.removeEventListener("pointerup",r)},o=n=>{t(),qD(e,"pressstart",n),window.addEventListener("pointerup",r)};return e.addEventListener("pointerdown",o),()=>{e.removeEventListener("pointerdown",o),window.removeEventListener("pointerup",r)}}},ZD={inView:YD,hover:XD,press:QD},JD=["initial","animate",...Object.keys(ZD),"exit"],eR=new WeakMap;function tR(e={},t){let n,r=t?t.getDepth()+1:0;const o={initial:!0,animate:!0},i={},a={};for(const h of JD)a[h]="string"==typeof e[h]?e[h]:null==t?void 0:t.getContext()[h];const s=!1===e.initial?"animate":"initial";let l=MD($D(e[s]||a[s],e.variants)||{},["transition"]);const c=Object.assign({},l),u=(e,t)=>()=>{o[e]=t,zD(p)},d=()=>{for(const t in ZD){const r=ZD[t].isActive(e),o=i[t];r&&!o?i[t]=ZD[t].subscribe(n,{enable:u(t,!0),disable:u(t,!1)},e):!r&&o&&(o(),delete i[t])}},p={update:t=>{n&&(e=t,d(),zD(p))},setActive:(e,t)=>{n&&(o[e]=t,zD(p))},animateUpdates:function*(){var t,r;const i=l;l={};const a={};for(const n of JD){if(!o[n])continue;const i=$D(e[n]);if(i)for(const n in i)"transition"!==n&&(l[n]=i[n],a[n]=RD(null!==(r=null!==(t=i.transition)&&void 0!==t?t:e.transition)&&void 0!==r?r:{},n))}const s=new Set([...Object.keys(l),...Object.keys(i)]),u=[];s.forEach(e=>{var t;void 0===l[e]&&(l[e]=c[e]),function(e,t){return typeof e!=typeof t||(Array.isArray(e)&&Array.isArray(t)?!function(e,t){const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}(e,t):e!==t)}(i[e],l[e])&&(null!==(t=c[e])&&void 0!==t||(c[e]=ND(n,e)),u.push(DD(n,e,l[e],a[e],aD)))}),yield;const d=u.map(e=>e()).filter(Boolean);if(!d.length)return;const p=l;n.dispatchEvent(WD("motionstart",p)),Promise.all(d.map(e=>e.finished)).then(()=>{n.dispatchEvent(WD("motioncomplete",p))}).catch(qL)},getDepth:()=>r,getTarget:()=>l,getOptions:()=>e,getContext:()=>a,mount:e=>(n=e,eR.set(n,p),d(),()=>{eR.delete(n),function(e){FD&&function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(FD,e)}(p);for(const e in i)i[e]()}),isMounted:()=>Boolean(n)};return p}function nR(e){const t={},n=[];for(let r in e){const o=e[r];yD(r)&&(dD[r]&&(r=dD[r]),n.push(r),r=gD(r));let i=Array.isArray(o)?o[0]:o;const a=fD.get(r);a&&(i=jL(o)?a.toDefaultUnit(o):o),t[r]=i}return n.length&&(t.transform=ED(n)),t}var rR=z();e("b1",e=>{const[t,n]=k(!0),r={initial:e.initial??!0,mount:t},o=pe(rR.Provider,{value:r,get children(){return ur(mr(()=>e.children),{appear:r.initial,mode:e.exitBeforeEnter?"out-in":"parallel",onExit(e,t){O(()=>{n(!1),eR.get(e)?.getOptions()?.exit?e.addEventListener("motioncomplete",t):t()})},onEnter(e,t){O(()=>{n(!0),t()})}})}});return r.initial=!0,o});var oR=["initial","animate","inView","inViewOptions","hover","press","variants","transition","exit"],iR=["tag"],aR=z(),sR=e=>{const[t,,n]=ve(e,oR,iR),[r,o]=function(e,t,n,r){const o=tR(!1===n?.initial?{...t(),initial:!1}:t(),r);return A(()=>{if(n&&!n.mount())return;const r=e(),i=o.mount(r);A(()=>o.update(t())),D(()=>{n&&t().exit?(o.setActive("exit",!0),r.addEventListener("motioncomplete",i)):i()})}),[o,nR(o.getTarget())]}(()=>i,()=>({...t}),U(rR),U(aR));let i;return pe(aR.Provider,{value:r,get children(){return pe(ct,be(n,{ref:t=>{i=t,e.ref?.(t)},get component(){return e.tag||"div"},get style(){return function(e,t){if("string"==typeof e){if("string"==typeof t)return`${e};${t}`;e=FL(e)}else"string"==typeof t&&(t=FL(t));return{...e,...t}}(e.style,o)}}))}})},lR=e("av",new Proxy(sR,{get:(e,t)=>e=>pe(sR,be(e,{tag:t}))}));const cR=(e,t)=>{t?.immediate&&e(),window.addEventListener("scroll",e,{passive:!0}),D(()=>window.removeEventListener("scroll",e))},[uR,dR]=(e("bY",()=>{if(My)return null;const[e,t]=k(!1);return cR(()=>t(window.scrollY>100)),pe(Te,{get when(){return e()},get children(){return pe(As,{get as(){return lR.div},initial:{y:-999},animate:{y:0},zIndex:"$overlay",pos:"fixed",right:"$5",top:"0",borderBottomRadius:"50%",bgColor:"$whiteAlpha12",get color(){return n_()},overflow:"hidden",shadow:"$lg",get _dark(){return{bgColor:n_(),color:"white"}},get _hover(){return{bgColor:n_(),color:"white"}},get children(){return pe(Fs,{_focus:{outline:"none"},cursor:"pointer",boxSize:"$7",p:"$1",rounded:"$lg",as:T_,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}})}})}})}),k(!1));e("b6",uR);const[pR,hR]=yf("isMarkdownTocDisabled",!0,{serializer:e=>JSON.stringify(e),deserializer:e=>JSON.parse(e)});function fR(e){if(e.disabled)return null;if(My)return null;const[t,n]=k([]);cR(()=>dR(window.scrollY>100&&t().length>1),{immediate:!0}),A(()=>{const t=e.markdownRef.querySelector(".markdown-body");if(!t)return;const r=document.createNodeIterator(t,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>/h1|h2|h3/i.test(e.nodeName)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),o=[];let i=r.nextNode(),a=6;for(;i;){const e=Number(i.nodeName.match(/h(\d)/i)[1]);e<a&&(a=e),o.push({indent:e,text:i.textContent,tagName:i.nodeName.toLowerCase(),key:i.getAttribute("key")}),i=r.nextNode()}n(o.map(e=>({...e,indent:e.indent-a})))});const r="calc(100% - 20px)",[o,i]=k(r);return pe(Te,{get when(){return $e(()=>!pR())()&&uR()},get children(){return pe(As,{get as(){return lR.div},initial:{x:999},get animate(){return{x:o()}},onMouseEnter:()=>i(0),onMouseLeave:()=>i(r),zIndex:"$overlay",pos:"fixed",right:"$6",top:"$6",get children(){return pe(As,{mt:"$5",p:"$2",shadow:"$outline",rounded:"$lg",bgColor:"white",_dark:{bgColor:"$neutral3"},get children(){return pe(Zu,{maxH:"60vh",overflowY:"auto",get children(){return pe(ke,{get each(){return t()},children:t=>pe(ed,{get pl(){return 15*t.indent},m:4,get children(){return pe(hl,{get color(){return n_()},onClick:()=>(t=>{const n=e.markdownRef.querySelector(`${t.tagName}[key=${t.key}]`);if(!n)return;const r=document.querySelector(".nav");let o=r?.getBoundingClientRect().bottom??0;o<0&&(o=0);const i=n.getBoundingClientRect().y;window.scrollBy({behavior:"smooth",top:i-o})})(t),get children(){return t.text}})}})})}})}})}})}})}e("b5",hR);const{katexCSSPath:gR,mermaidJSPath:mR}=IE(),bR=BL(()=>{const e=document.createElement("link");e.rel="stylesheet",e.href=gR(),document.head.appendChild(e)}),vR=BL(()=>{const e=document.createElement("script");e.src=mR(),document.body.appendChild(e)});function yR(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"/>'},e)}function ER(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="m290 236.4 43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"/>'},e)}const _R=e("aa",e=>{const t=be({h:"$full"},e);return pe(cc,{get h(){return t.h},p:"$2",flexDirection:"column",get children(){return pe(As,{rounded:"$lg",px:"$4",py:"$6",get bgColor(){return ys("white","$neutral3")()},get children(){return[pe(Fu,{css:{wordBreak:"break-all"},get children(){return e.msg}}),pe(Te,{get when(){return e.actions},get children(){return pe(ku,{mt:"$4",justifyContent:"center",get children(){return e.actions}})}}),pe(Te,{get when(){return!e.disableColor},get children(){return pe(ku,{mt:"$2",justifyContent:"end",get children(){return pe(C_,{})}})}})]}})}})});function SR(e){return pe(Rp,{get size(){return e.size},get value(){return e.value},get onChange(){return e.onChange},get children(){return[pe(ch,{get borderColor(){return e.alwaysShowBorder?"$info5":void 0},get w(){return e.w},get children(){return[pe(ph,{}),pe(Up,{})]}}),pe($p,{get children(){return pe(Gp,{get children(){return pe(ke,{get each(){return e.options},children:e=>pe(Vp,{get value(){return e.value},get children(){return[pe(Jp,{get children(){return e.label??e.value}}),pe(Qp,{})]}})})}})}})]}})}e("cU",e=>{const{isOpen:t,onToggle:n}=ff();return pe(As,{get pos(){return t()?"fixed":"relative"},get w(){return t()?"100vw":e.w},get h(){return t()?"100vh":e.h},top:0,left:0,zIndex:1,transition:"all 0.2s ease-in-out",get css(){return{backdropFilter:t()?"blur(5px)":void 0}},get children(){return[$e(()=>e.children),pe(Fs,{pos:"absolute",right:"$2",bottom:"$2","aria-label":"toggle fullscreen",get as(){return t()?yR:ER},onClick:n,cursor:"pointer",rounded:"$md",get bgColor(){return vy()},p:"$1",boxSize:"$7"})]}})});var kR,TR,wR,AR={},CR={},xR={},OR={};function IR(){return TR||(TR=1,Object.defineProperty(OR,"__esModule",{value:!0}),OR.default=(e,t,n)=>({confidence:n,name:t.name(e),lang:t.language?t.language():void 0})),OR}var NR,LR,DR={},RR={};function MR(){if(LR)return RR;LR=1;var e=RR&&RR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(RR,"__esModule",{value:!0}),RR.UTF_32LE=RR.UTF_32BE=RR.UTF_16LE=RR.UTF_16BE=void 0;const t=e(IR());RR.UTF_16BE=class{name(){return"UTF-16BE"}match(e){const n=e.rawInput;return n.length>=2&&254==(255&n[0])&&!(255&~n[1])?(0,t.default)(e,this,100):null}},RR.UTF_16LE=class{name(){return"UTF-16LE"}match(e){const n=e.rawInput;return n.length>=2&&!(255&~n[0])&&254==(255&n[1])?n.length>=4&&0==n[2]&&0==n[3]?null:(0,t.default)(e,this,100):null}};class n{name(){return"UTF-32"}getChar(e,t){return-1}match(e){let n=0,r=0,o=!1,i=0;const a=e.rawLen/4*4,s=e.rawInput;if(0==a)return null;65279==this.getChar(s,0)&&(o=!0);for(let t=0;t<a;t+=4){const e=this.getChar(s,t);e<0||e>=1114111||e>=55296&&e<=57343?r+=1:n+=1}return o&&0==r?i=100:o&&n>10*r?i=80:n>3&&0==r?i=100:n>0&&0==r?i=80:n>10*r&&(i=25),0==i?null:(0,t.default)(e,this,i)}}return RR.UTF_32BE=class extends n{name(){return"UTF-32BE"}getChar(e,t){return(255&e[t+0])<<24|(255&e[t+1])<<16|(255&e[t+2])<<8|255&e[t+3]}},RR.UTF_32LE=class extends n{name(){return"UTF-32LE"}getChar(e,t){return(255&e[t+3])<<24|(255&e[t+2])<<16|(255&e[t+1])<<8|255&e[t+0]}},RR}var PR,BR={};function $R(){if(PR)return BR;PR=1;var e=BR&&BR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(BR,"__esModule",{value:!0}),BR.gb_18030=BR.euc_kr=BR.euc_jp=BR.big5=BR.sjis=void 0;const t=e(IR());function n(e,t){const n=(e,t,r,o)=>{if(o<r)return-1;const i=Math.floor(r+o>>>1);return t>e[i]?n(e,t,i+1,o):t<e[i]?n(e,t,r,i-1):i};return n(e,t,0,e.length-1)}class r{constructor(){this.charValue=0,this.index=0,this.nextIndex=0,this.error=!1,this.done=!1}reset(){this.charValue=0,this.index=-1,this.nextIndex=0,this.error=!1,this.done=!1}nextByte(e){return this.nextIndex>=e.rawLen?(this.done=!0,-1):255&e.rawInput[this.nextIndex++]}}let o=class{constructor(){this.commonChars=[]}name(){return"mbcs"}match(e){let o=0,i=0,a=0,s=0,l=0;const c=new r;e:{for(c.reset();this.nextChar(c,e);){if(s++,c.error)a++;else{const e=4294967295&c.charValue;e>255&&(o++,null!=this.commonChars&&n(this.commonChars,e)>=0&&i++)}if(a>=2&&5*a>=o)break e}if(o<=10&&0==a)l=0==o&&s<10?0:10;else if(o<20*a)l=0;else if(null==this.commonChars)l=30+o-20*a,l>100&&(l=100);else{const e=90/Math.log(o/4);l=Math.floor(Math.log(i+1)*e+10),l=Math.min(l,100)}}return 0==l?null:(0,t.default)(e,this,l)}nextChar(e,t){return!0}};function i(e,t){e.index=e.nextIndex,e.error=!1;let n=0,r=0,o=0;return n=e.charValue=e.nextByte(t),n<0?e.done=!0:n<=141||(r=e.nextByte(t),e.charValue=e.charValue<<8|r,n>=161&&n<=254?r<161&&(e.error=!0):142!=n?143==n&&(o=e.nextByte(t),e.charValue=e.charValue<<8|o,o<161&&(e.error=!0)):r<161&&(e.error=!0)),0==e.done}return BR.sjis=class extends o{constructor(){super(...arguments),this.commonChars=[33088,33089,33090,33093,33115,33129,33130,33141,33142,33440,33442,33444,33449,33450,33451,33453,33455,33457,33459,33461,33463,33469,33470,33473,33476,33477,33478,33480,33481,33484,33485,33500,33504,33511,33512,33513,33514,33520,33521,33601,33603,33614,33615,33624,33630,33634,33639,33653,33654,33673,33674,33675,33677,33683,36502,37882,38314]}name(){return"Shift_JIS"}language(){return"ja"}nextChar(e,t){e.index=e.nextIndex,e.error=!1;const n=e.charValue=e.nextByte(t);if(n<0)return!1;if(n<=127||n>160&&n<=223)return!0;const r=e.nextByte(t);return!(r<0||(e.charValue=n<<8|r,r>=64&&r<=127||r>=128&&r<=255||(e.error=!0),0))}},BR.big5=class extends o{constructor(){super(...arguments),this.commonChars=[41280,41281,41282,41283,41287,41289,41333,41334,42048,42054,42055,42056,42065,42068,42071,42084,42090,42092,42103,42147,42148,42151,42177,42190,42193,42207,42216,42237,42304,42312,42328,42345,42445,42471,42583,42593,42594,42600,42608,42664,42675,42681,42707,42715,42726,42738,42816,42833,42841,42970,43171,43173,43181,43217,43219,43236,43260,43456,43474,43507,43627,43706,43710,43724,43772,44103,44111,44208,44242,44377,44745,45024,45290,45423,45747,45764,45935,46156,46158,46412,46501,46525,46544,46552,46705,47085,47207,47428,47832,47940,48033,48593,49860,50105,50240,50271]}name(){return"Big5"}language(){return"zh"}nextChar(e,t){e.index=e.nextIndex,e.error=!1;const n=e.charValue=e.nextByte(t);if(n<0)return!1;if(n<=127||255==n)return!0;const r=e.nextByte(t);return!(r<0||(e.charValue=e.charValue<<8|r,(r<64||127==r||255==r)&&(e.error=!0),0))}},BR.euc_jp=class extends o{constructor(){super(...arguments),this.commonChars=[41377,41378,41379,41382,41404,41418,41419,41430,41431,42146,42148,42150,42152,42154,42155,42156,42157,42159,42161,42163,42165,42167,42169,42171,42173,42175,42176,42177,42179,42180,42182,42183,42184,42185,42186,42187,42190,42191,42192,42206,42207,42209,42210,42212,42216,42217,42218,42219,42220,42223,42226,42227,42402,42403,42404,42406,42407,42410,42413,42415,42416,42419,42421,42423,42424,42425,42431,42435,42438,42439,42440,42441,42443,42448,42453,42454,42455,42462,42464,42465,42469,42473,42474,42475,42476,42477,42483,47273,47572,47854,48072,48880,49079,50410,50940,51133,51896,51955,52188,52689],this.nextChar=i}name(){return"EUC-JP"}language(){return"ja"}},BR.euc_kr=class extends o{constructor(){super(...arguments),this.commonChars=[45217,45235,45253,45261,45268,45286,45293,45304,45306,45308,45496,45497,45511,45527,45538,45994,46011,46274,46287,46297,46315,46501,46517,46527,46535,46569,46835,47023,47042,47054,47270,47278,47286,47288,47291,47337,47531,47534,47564,47566,47613,47800,47822,47824,47857,48103,48115,48125,48301,48314,48338,48374,48570,48576,48579,48581,48838,48840,48863,48878,48888,48890,49057,49065,49088,49124,49131,49132,49144,49319,49327,49336,49338,49339,49341,49351,49356,49358,49359,49366,49370,49381,49403,49404,49572,49574,49590,49622,49631,49654,49656,50337,50637,50862,51151,51153,51154,51160,51173,51373],this.nextChar=i}name(){return"EUC-KR"}language(){return"ko"}},BR.gb_18030=class extends o{constructor(){super(...arguments),this.commonChars=[41377,41378,41379,41380,41392,41393,41457,41459,41889,41900,41914,45480,45496,45502,45755,46025,46070,46323,46525,46532,46563,46767,46804,46816,47010,47016,47037,47062,47069,47284,47327,47350,47531,47561,47576,47610,47613,47821,48039,48086,48097,48122,48316,48347,48382,48588,48845,48861,49076,49094,49097,49332,49389,49611,49883,50119,50396,50410,50636,50935,51192,51371,51403,51413,51431,51663,51706,51889,51893,51911,51920,51926,51957,51965,52460,52728,52906,52932,52946,52965,53173,53186,53206,53442,53445,53456,53460,53671,53930,53938,53941,53947,53972,54211,54224,54269,54466,54490,54754,54992]}name(){return"GB18030"}language(){return"zh"}nextChar(e,t){e.index=e.nextIndex,e.error=!1;let n=0,r=0,o=0,i=0;e:if(n=e.charValue=e.nextByte(t),n<0)e.done=!0;else if(!(n<=128)&&(r=e.nextByte(t),e.charValue=e.charValue<<8|r,n>=129&&n<=254)){if(r>=64&&r<=126||r>=80&&r<=254)break e;if(r>=48&&r<=57&&(o=e.nextByte(t),o>=129&&o<=254&&(i=e.nextByte(t),i>=48&&i<=57))){e.charValue=e.charValue<<16|o<<8|i;break e}e.error=!0}return 0==e.done}},BR}var FR,HR={};function zR(){if(FR)return HR;FR=1;var e=HR&&HR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(HR,"__esModule",{value:!0}),HR.KOI8_R=HR.windows_1256=HR.windows_1251=HR.ISO_8859_9=HR.ISO_8859_8=HR.ISO_8859_7=HR.ISO_8859_6=HR.ISO_8859_5=HR.ISO_8859_2=HR.ISO_8859_1=void 0;const t=e(IR());class n{constructor(e,t){this.byteIndex=0,this.ngram=0,this.ngramCount=0,this.hitCount=0,this.spaceChar=32,this.ngramList=e,this.byteMap=t}search(e,t){let n=0;return e[n+32]<=t&&(n+=32),e[n+16]<=t&&(n+=16),e[n+8]<=t&&(n+=8),e[n+4]<=t&&(n+=4),e[n+2]<=t&&(n+=2),e[n+1]<=t&&(n+=1),e[n]>t&&(n-=1),n<0||e[n]!=t?-1:n}lookup(e){this.ngramCount+=1,this.search(this.ngramList,e)>=0&&(this.hitCount+=1)}addByte(e){this.ngram=(this.ngram<<8)+(255&e)&16777215,this.lookup(this.ngram)}nextByte(e){return this.byteIndex>=e.inputLen?-1:255&e.inputBytes[this.byteIndex++]}parse(e,t){let n,r=!1;for(this.spaceChar=t;(n=this.nextByte(e))>=0;){const e=this.byteMap[n];0!=e&&(e==this.spaceChar&&r||this.addByte(e),r=e==this.spaceChar)}this.addByte(this.spaceChar);const o=this.hitCount/this.ngramCount;return o>.33?98:Math.floor(300*o)}}class r{constructor(e,t){this.fLang=e,this.fNGrams=t}}let o=class{constructor(){this.spaceChar=32,this.nGramLang=void 0}ngrams(){return[]}byteMap(){return[]}name(e){return"sbcs"}language(){return this.nGramLang}match(e){this.nGramLang=void 0;const r=this.ngrams();if(o=r,Array.isArray(o)&&isFinite(o[0])){const o=new n(r,this.byteMap()).parse(e,this.spaceChar);return o<=0?null:(0,t.default)(e,this,o)}var o;let i=-1;for(let t=r.length-1;t>=0;t--){const o=r[t],a=new n(o.fNGrams,this.byteMap()).parse(e,this.spaceChar);a>i&&(i=a,this.nGramLang=o.fLang)}return i<=0?null:(0,t.default)(e,this,i)}};return HR.ISO_8859_1=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,186,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,255]}ngrams(){return[new r("da",[2122086,2122100,2122853,2123118,2123122,2123375,2123873,2124064,2125157,2125671,2126053,2126697,2126708,2126953,2127465,6383136,6385184,6385252,6386208,6386720,6579488,6579566,6579570,6579572,6627443,6644768,6644837,6647328,6647396,6648352,6648421,6648608,6648864,6713202,6776096,6776174,6776178,6907749,6908960,6909543,7038240,7039845,7103858,7104871,7105637,7169380,7234661,7234848,7235360,7235429,7300896,7302432,7303712,7398688,7479396,7479397,7479411,7496992,7566437,7610483,7628064,7628146,7629164,7759218]),new r("de",[2122094,2122101,2122341,2122849,2122853,2122857,2123113,2123621,2123873,2124142,2125161,2126691,2126693,2127214,2127461,2127471,2127717,2128501,6448498,6514720,6514789,6514804,6578547,6579566,6579570,6580581,6627428,6627443,6646126,6646132,6647328,6648352,6648608,6776174,6841710,6845472,6906728,6907168,6909472,6909541,6911008,7104867,7105637,7217249,7217252,7217267,7234592,7234661,7234848,7235360,7235429,7238757,7479396,7496805,7497065,7562088,7566437,7610468,7628064,7628142,7628146,7695972,7695975,7759218]),new r("en",[2122016,2122094,2122341,2122607,2123375,2123873,2123877,2124142,2125153,2125670,2125938,2126437,2126689,2126708,2126952,2126959,2127720,6383972,6384672,6385184,6385252,6386464,6386720,6386789,6386793,6561889,6561908,6627425,6627443,6627444,6644768,6647412,6648352,6648608,6713202,6840692,6841632,6841714,6906912,6909472,6909543,6909806,6910752,7217249,7217268,7234592,7235360,7238688,7300640,7302688,7303712,7496992,7500576,7544929,7544948,7561577,7566368,7610484,7628146,7628897,7628901,7629167,7630624,7631648]),new r("es",[2122016,2122593,2122607,2122853,2123116,2123118,2123123,2124142,2124897,2124911,2125921,2125935,2125938,2126197,2126437,2126693,2127214,2128160,6365283,6365284,6365285,6365292,6365296,6382441,6382703,6384672,6386208,6386464,6515187,6516590,6579488,6579564,6582048,6627428,6627429,6627436,6646816,6647328,6647412,6648608,6648692,6907246,6943598,7102752,7106419,7217253,7238757,7282788,7282789,7302688,7303712,7303968,7364978,7435621,7495968,7497075,7544932,7544933,7544944,7562528,7628064,7630624,7693600,15953440]),new r("fr",[2122101,2122607,2122849,2122853,2122869,2123118,2123124,2124897,2124901,2125921,2125935,2125938,2126197,2126693,2126703,2127214,2154528,6385268,6386793,6513952,6516590,6579488,6579571,6583584,6627425,6627427,6627428,6627429,6627436,6627440,6627443,6647328,6647412,6648352,6648608,6648864,6649202,6909806,6910752,6911008,7102752,7103776,7103859,7169390,7217252,7234848,7238432,7238688,7302688,7302772,7304562,7435621,7479404,7496992,7544929,7544932,7544933,7544940,7544944,7610468,7628064,7629167,7693600,7696928]),new r("it",[2122092,2122600,2122607,2122853,2122857,2123040,2124140,2124142,2124897,2125925,2125938,2127214,6365283,6365284,6365296,6365299,6386799,6514789,6516590,6579564,6580512,6627425,6627427,6627428,6627433,6627436,6627440,6627443,6646816,6646892,6647412,6648352,6841632,6889569,6889571,6889572,6889587,6906144,6908960,6909472,6909806,7102752,7103776,7104800,7105633,7234848,7235872,7237408,7238757,7282785,7282788,7282793,7282803,7302688,7302757,7366002,7495968,7496992,7563552,7627040,7628064,7629088,7630624,8022383]),new r("nl",[2122092,2122341,2122849,2122853,2122857,2123109,2123118,2123621,2123877,2124142,2125153,2125157,2125680,2126949,2127457,2127461,2127471,2127717,2128489,6381934,6381938,6385184,6385252,6386208,6386720,6514804,6579488,6579566,6579570,6627426,6627446,6645102,6645106,6647328,6648352,6648435,6648864,6776174,6841716,6907168,6909472,6909543,6910752,7217250,7217252,7217253,7217256,7217263,7217270,7234661,7235360,7302756,7303026,7303200,7303712,7562088,7566437,7610468,7628064,7628142,7628146,7758190,7759218,7761775]),new r("no",[2122100,2122102,2122853,2123118,2123122,2123375,2123873,2124064,2125157,2125671,2126053,2126693,2126699,2126703,2126708,2126953,2127465,2155808,6385252,6386208,6386720,6579488,6579566,6579572,6627443,6644768,6647328,6647397,6648352,6648421,6648864,6648948,6713202,6776174,6908779,6908960,6909543,7038240,7039845,7103776,7105637,7169380,7169390,7217267,7234848,7235360,7235429,7237221,7300896,7302432,7303712,7398688,7479411,7496992,7565165,7566437,7610483,7628064,7628142,7628146,7629164,7631904,7631973,7759218]),new r("pt",[2122016,2122607,2122849,2122853,2122863,2123040,2123123,2125153,2125423,2125600,2125921,2125935,2125938,2126197,2126437,2126693,2127213,6365281,6365283,6365284,6365296,6382693,6382703,6384672,6386208,6386273,6386464,6516589,6516590,6578464,6579488,6582048,6582131,6627425,6627428,6647072,6647412,6648608,6648692,6906144,6906721,7169390,7238757,7238767,7282785,7282787,7282788,7282789,7282800,7303968,7364978,7435621,7495968,7497075,7544929,7544932,7544933,7544944,7566433,7628064,7630624,7693600,14905120,15197039]),new r("sv",[2122100,2122102,2122853,2123118,2123510,2123873,2124064,2124142,2124655,2125157,2125667,2126053,2126699,2126703,2126708,2126953,2127457,2127465,2155634,6382693,6385184,6385252,6386208,6386804,6514720,6579488,6579566,6579570,6579572,6644768,6647328,6648352,6648864,6747762,6776174,6909036,6909543,7037216,7105568,7169380,7217267,7233824,7234661,7235360,7235429,7235950,7299944,7302432,7302688,7398688,7479393,7479411,7495968,7564129,7565165,7610483,7627040,7628064,7628146,7629164,7631904,7758194,14971424,16151072])]}name(e){return e&&e.c1Bytes?"windows-1252":"ISO-8859-1"}},HR.ISO_8859_2=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,177,32,179,32,181,182,32,32,185,186,187,188,32,190,191,32,177,32,179,32,181,182,183,32,185,186,187,188,32,190,191,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,32]}ngrams(){return[new r("cs",[2122016,2122361,2122863,2124389,2125409,2125413,2125600,2125668,2125935,2125938,2126072,2126447,2126693,2126703,2126708,2126959,2127392,2127481,2128481,6365296,6513952,6514720,6627440,6627443,6627446,6647072,6647533,6844192,6844260,6910836,6972704,7042149,7103776,7104800,7233824,7268640,7269408,7269664,7282800,7300206,7301737,7304052,7304480,7304801,7368548,7368554,7369327,7403621,7562528,7565173,7566433,7566441,7566446,7628146,7630573,7630624,7676016,12477728,14773997,15296623,15540336,15540339,15559968,16278884]),new r("hu",[2122016,2122106,2122341,2123111,2123116,2123365,2123873,2123887,2124147,2124645,2124649,2124790,2124901,2125153,2125157,2125161,2125413,2126714,2126949,2156915,6365281,6365291,6365293,6365299,6384416,6385184,6388256,6447470,6448494,6645625,6646560,6646816,6646885,6647072,6647328,6648421,6648864,6648933,6648948,6781216,6844263,6909556,6910752,7020641,7075450,7169383,7170414,7217249,7233899,7234923,7234925,7238688,7300985,7544929,7567973,7567988,7568097,7596391,7610465,7631904,7659891,8021362,14773792,15299360]),new r("pl",[2122618,2122863,2124064,2124389,2124655,2125153,2125161,2125409,2125417,2125668,2125935,2125938,2126697,2127648,2127721,2127737,2128416,2128481,6365296,6365303,6385257,6514720,6519397,6519417,6582048,6584937,6627440,6627443,6627447,6627450,6645615,6646304,6647072,6647401,6778656,6906144,6907168,6907242,7037216,7039264,7039333,7170405,7233824,7235937,7235941,7282800,7305057,7305065,7368556,7369313,7369327,7369338,7502437,7502457,7563754,7564137,7566433,7825765,7955304,7957792,8021280,8022373,8026400,15955744]),new r("ro",[2122016,2122083,2122593,2122597,2122607,2122613,2122853,2122857,2124897,2125153,2125925,2125938,2126693,2126819,2127214,2144873,2158190,6365283,6365284,6386277,6386720,6386789,6386976,6513010,6516590,6518048,6546208,6579488,6627425,6627427,6627428,6627440,6627443,6644e3,6646048,6646885,6647412,6648692,6889569,6889571,6889572,6889584,6907168,6908192,6909472,7102752,7103776,7106418,7107945,7234848,7238770,7303712,7365998,7496992,7497057,7501088,7594784,7628064,7631477,7660320,7694624,7695392,12216608,15625760])]}name(e){return e&&e.c1Bytes?"windows-1250":"ISO-8859-2"}},HR.ISO_8859_5=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,241,242,243,244,245,246,247,248,249,250,251,252,32,254,255,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,32,241,242,243,244,245,246,247,248,249,250,251,252,32,254,255]}ngrams(){return[2150944,2151134,2151646,2152400,2152480,2153168,2153182,2153936,2153941,2154193,2154462,2154464,2154704,2154974,2154978,2155230,2156514,2158050,13688280,13689580,13884960,14015468,14015960,14016994,14017056,14164191,14210336,14211104,14216992,14407133,14407712,14413021,14536736,14538016,14538965,14538991,14540320,14540498,14557394,14557407,14557409,14602784,14602960,14603230,14604576,14605292,14605344,14606818,14671579,14672085,14672088,14672094,14733522,14734804,14803664,14803666,14803672,14806816,14865883,14868e3,14868192,14871584,15196894,15459616]}name(){return"ISO-8859-5"}language(){return"ru"}},HR.ISO_8859_6=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]}ngrams(){return[2148324,2148326,2148551,2152932,2154986,2155748,2156006,2156743,13050055,13091104,13093408,13095200,13100064,13100227,13100231,13100232,13100234,13100236,13100237,13100239,13100243,13100249,13100258,13100261,13100264,13100266,13100320,13100576,13100746,13115591,13181127,13181153,13181156,13181157,13181160,13246663,13574343,13617440,13705415,13748512,13836487,14229703,14279913,14805536,14950599,14993696,15001888,15002144,15016135,15058720,15059232,15066656,15081671,15147207,15189792,15255524,15263264,15278279,15343815,15343845,15343848,15386912,15388960,15394336]}name(){return"ISO-8859-6"}language(){return"ar"}},HR.ISO_8859_7=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,161,162,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,220,32,221,222,223,32,252,32,253,254,192,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,32,243,244,245,246,247,248,249,250,251,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,32]}ngrams(){return[2154989,2154992,2155497,2155753,2156016,2156320,2157281,2157797,2158049,2158368,2158817,2158831,2158833,2159604,2159605,2159847,2159855,14672160,14754017,14754036,14805280,14806304,14807292,14807584,14936545,15067424,15069728,15147252,15199520,15200800,15278324,15327520,15330014,15331872,15393257,15393268,15525152,15540449,15540453,15540464,15589664,15725088,15725856,15790069,15790575,15793184,15868129,15868133,15868138,15868144,15868148,15983904,15984416,15987951,16048416,16048617,16050157,16050162,16050666,16052e3,16052213,16054765,16379168,16706848]}name(e){return e&&e.c1Bytes?"windows-1253":"ISO-8859-7"}language(){return"el"}},HR.ISO_8859_8=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,32,32,32,32,32]}ngrams(){return[new r("he",[2154725,2154727,2154729,2154746,2154985,2154990,2155744,2155749,2155753,2155758,2155762,2155769,2155770,2157792,2157796,2158304,2159340,2161132,14744096,14950624,14950625,14950628,14950636,14950638,14950649,15001056,15065120,15068448,15068960,15071264,15071776,15278308,15328288,15328762,15329773,15330592,15331104,15333408,15333920,15474912,15474916,15523872,15524896,15540448,15540449,15540452,15540460,15540462,15540473,15655968,15671524,15787040,15788320,15788525,15920160,16261348,16312813,16378912,16392416,16392417,16392420,16392428,16392430,16392441]),new r("he",[2154725,2154732,2155753,2155756,2155758,2155760,2157040,2157810,2157817,2158053,2158057,2158565,2158569,2160869,2160873,2161376,2161381,2161385,14688484,14688492,14688493,14688506,14738464,14738916,14740512,14741024,14754020,14754029,14754042,14950628,14950633,14950636,14950637,14950639,14950648,14950650,15002656,15065120,15066144,15196192,15327264,15327520,15328288,15474916,15474925,15474938,15528480,15530272,15591913,15591920,15591928,15605988,15605997,15606010,15655200,15655968,15918112,16326884,16326893,16326906,16376864,16441376,16442400,16442857])]}name(e){return e&&e.c1Bytes?"windows-1255":"ISO-8859-8"}language(){return"he"}},HR.ISO_8859_9=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,186,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,105,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,255]}ngrams(){return[2122337,2122345,2122357,2122849,2122853,2123621,2123873,2124140,2124641,2124655,2125153,2125676,2126689,2126945,2127461,2128225,6365282,6384416,6384737,6384993,6385184,6385405,6386208,6386273,6386429,6386685,6388065,6449522,6578464,6579488,6580512,6627426,6627435,6644841,6647328,6648352,6648425,6648681,6909029,6909472,6909545,6910496,7102830,7102834,7103776,7103858,7217249,7217250,7217259,7234657,7234661,7234848,7235872,7235950,7273760,7498094,7535982,7759136,7954720,7958386,16608800,16608868,16609021,16642301]}name(e){return e&&e.c1Bytes?"windows-1254":"ISO-8859-9"}language(){return"tr"}},HR.windows_1251=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,144,131,32,131,32,32,32,32,32,32,154,32,156,157,158,159,144,32,32,32,32,32,32,32,32,32,154,32,156,157,158,159,32,162,162,188,32,180,32,32,184,32,186,32,32,32,32,191,32,32,179,179,180,181,32,32,184,32,186,32,188,190,190,191,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255]}ngrams(){return[2155040,2155246,2155758,2156512,2156576,2157280,2157294,2158048,2158053,2158305,2158574,2158576,2158816,2159086,2159090,2159342,2160626,2162162,14740968,14742268,14937632,15068156,15068648,15069682,15069728,15212783,15263008,15263776,15269664,15459821,15460384,15465709,15589408,15590688,15591653,15591679,15592992,15593186,15605986,15605999,15606001,15655456,15655648,15655918,15657248,15657980,15658016,15659506,15724267,15724773,15724776,15724782,15786210,15787492,15856352,15856354,15856360,15859488,15918571,15920672,15920880,15924256,16249582,16512288]}name(){return"windows-1251"}language(){return"ru"}},HR.windows_1256=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,129,32,131,32,32,32,32,136,32,138,32,156,141,142,143,144,32,32,32,32,32,32,32,152,32,154,32,156,32,32,159,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,32,32,32,32,32,32,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,32,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,32,32,32,32,244,32,32,32,32,249,32,251,252,32,32,255]}ngrams(){return[2148321,2148324,2148551,2153185,2153965,2154977,2155492,2156231,13050055,13091104,13093408,13095200,13099296,13099459,13099463,13099464,13099466,13099468,13099469,13099471,13099475,13099482,13099486,13099491,13099494,13099501,13099808,13100064,13100234,13115591,13181127,13181149,13181153,13181155,13181158,13246663,13574343,13617440,13705415,13748512,13836487,14295239,14344684,14544160,14753991,14797088,14806048,14806304,14885063,14927648,14928160,14935072,14950599,15016135,15058720,15124449,15131680,15474887,15540423,15540451,15540454,15583520,15585568,15590432]}name(){return"windows-1256"}language(){return"ar"}},HR.KOI8_R=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,163,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,163,32,32,32,32,32,32,32,32,32,32,32,32,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223]}ngrams(){return[2147535,2148640,2149313,2149327,2150081,2150085,2150338,2150607,2150610,2151105,2151375,2151380,2151631,2152224,2152399,2153153,2153684,2154196,12701385,12702936,12963032,12963529,12964820,12964896,13094688,13181136,13223200,13224224,13226272,13419982,13420832,13424846,13549856,13550880,13552069,13552081,13553440,13553623,13574352,13574355,13574359,13617103,13617696,13618392,13618464,13620180,13621024,13621185,13684684,13685445,13685449,13685455,13812183,13813188,13881632,13882561,13882569,13882583,13944268,13946656,13946834,13948960,14272544,14603471]}name(){return"KOI8-R"}language(){return"ru"}},HR}var UR,jR={};function GR(){if(UR)return jR;UR=1;var e=jR&&jR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(jR,"__esModule",{value:!0}),jR.ISO_2022_CN=jR.ISO_2022_KR=jR.ISO_2022_JP=void 0;const t=e(IR());class n{constructor(){this.escapeSequences=[]}name(){return"ISO_2022"}match(e){let n,r,o,i,a=0,s=0,l=0;const c=e.inputBytes,u=e.inputLen;e:for(n=0;n<u;n++){if(27==c[n]){t:for(o=0;o<this.escapeSequences.length;o++){const e=this.escapeSequences[o];if(!(u-n<e.length)){for(r=1;r<e.length;r++)if(e[r]!=c[n+r])continue t;a++,n+=e.length-1;continue e}}s++}14!=c[n]&&15!=c[n]||l++}return 0==a?null:(i=(100*a-100*s)/(a+s),a+l<5&&(i-=10*(5-(a+l))),i<=0?null:(0,t.default)(e,this,i))}}return jR.ISO_2022_JP=class extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,40,67],[27,36,40,68],[27,36,64],[27,36,65],[27,36,66],[27,38,64],[27,40,66],[27,40,72],[27,40,73],[27,40,74],[27,46,65],[27,46,70]]}name(){return"ISO-2022-JP"}language(){return"ja"}},jR.ISO_2022_KR=class extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,67]]}name(){return"ISO-2022-KR"}language(){return"kr"}},jR.ISO_2022_CN=class extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,65],[27,36,41,71],[27,36,42,72],[27,36,41,69],[27,36,43,73],[27,36,43,74],[27,36,43,75],[27,36,43,76],[27,36,43,77],[27,78],[27,79]]}name(){return"ISO-2022-CN"}language(){return"zh"}},jR}var WR,qR,VR={},YR=(qR||(qR=1,function(e){var t=AR&&AR.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=AR&&AR.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=AR&&AR.__importStar||function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(r){if(r&&r.__esModule)return r;var o={};if(null!=r)for(var i=e(r),a=0;a<i.length;a++)"default"!==i[a]&&t(o,r,i[a]);return n(o,r),o}}(),o=AR&&AR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.detectFileSync=e.detectFile=e.analyse=e.detect=void 0;const i=o((kR||(kR=1,Object.defineProperty(CR,"__esModule",{value:!0}),CR.default=()=>{throw new Error("File system is not available")}),CR)),a=o(function(){if(wR)return xR;wR=1;var e=xR&&xR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(xR,"__esModule",{value:!0});const t=e(IR());return xR.default=class{name(){return"ASCII"}match(e){const n=e.rawInput;for(let r=0;r<e.rawLen;r++){const o=n[r];if(o<32||o>126)return(0,t.default)(e,this,0)}return(0,t.default)(e,this,100)}},xR}()),s=o(function(){if(NR)return DR;NR=1;var e=DR&&DR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(DR,"__esModule",{value:!0});const t=e(IR());return DR.default=class{name(){return"UTF-8"}match(e){let n,r=!1,o=0,i=0,a=0;const s=e.rawInput;e.rawLen>=3&&239==(255&s[0])&&187==(255&s[1])&&191==(255&s[2])&&(r=!0);for(let t=0;t<e.rawLen;t++){const n=s[t];if(128&n){if(192==(224&n))a=1;else if(224==(240&n))a=2;else if(240==(248&n))a=3;else{if(i++,i>5)break;a=0}for(;t++,!(t>=e.rawLen);){if(128!=(192&s[t])){i++;break}if(0==--a){o++;break}}}}if(n=0,r&&0==i)n=100;else if(r&&o>10*i)n=80;else if(o>3&&0==i)n=100;else if(o>0&&0==i)n=80;else if(0==o&&0==i)n=10;else{if(!(o>10*i))return null;n=25}return(0,t.default)(e,this,n)}},DR}()),l=r(MR()),c=r($R()),u=r(zR()),d=r(GR()),p=(WR||(WR=1,Object.defineProperty(VR,"__esModule",{value:!0}),VR.isByteArray=void 0,VR.isByteArray=e=>null!=e&&"object"==typeof e&&isFinite(e.length)&&e.length>=0),VR),h=[new s.default,new l.UTF_16BE,new l.UTF_16LE,new l.UTF_32BE,new l.UTF_32LE,new c.sjis,new c.big5,new c.euc_jp,new c.euc_kr,new c.gb_18030,new d.ISO_2022_JP,new d.ISO_2022_KR,new d.ISO_2022_CN,new u.ISO_8859_1,new u.ISO_8859_2,new u.ISO_8859_5,new u.ISO_8859_6,new u.ISO_8859_7,new u.ISO_8859_8,new u.ISO_8859_9,new u.windows_1251,new u.windows_1256,new u.KOI8_R,new a.default];e.detect=t=>{const n=(0,e.analyse)(t);return n.length>0?n[0].name:null},e.analyse=e=>{if(!(0,p.isByteArray)(e))throw new Error("Input must be a byte array, e.g. Buffer or Uint8Array");const t=[];for(let i=0;i<256;i++)t[i]=0;for(let i=e.length-1;i>=0;i--)t[255&e[i]]++;let n=!1;for(let i=128;i<=159;i+=1)if(0!==t[i]){n=!0;break}const r={byteStats:t,c1Bytes:n,rawInput:e,rawLen:e.length,inputBytes:e,inputLen:e.length},o=h.map(e=>e.match(r)).filter(e=>!!e).sort((e,t)=>t.confidence-e.confidence);return o},e.detectFile=(t,n={})=>new Promise((r,o)=>{let a;const s=(0,i.default)(),l=(t,n)=>{a&&s.closeSync(a),t?o(t):r((0,e.detect)(n))};if(n&&n.sampleSize){a=s.openSync(t,"r");const e=Buffer.allocUnsafe(n.sampleSize);return void s.read(a,e,0,n.sampleSize,n.offset,t=>{l(t,e)})}s.readFile(t,l)}),e.detectFileSync=(t,n={})=>{const r=(0,i.default)();if(n&&n.sampleSize){const o=r.openSync(t,"r"),i=Buffer.allocUnsafe(n.sampleSize);return r.readSync(o,i,0,n.sampleSize,n.offset),r.closeSync(o),(0,e.detect)(i)}return(0,e.detect)(r.readFileSync(t))},e.default={analyse:e.analyse,detect:e.detect,detectFileSync:e.detectFileSync,detectFile:e.detectFile}}(AR)),AR);const KR=rr(YR);function XR(e){const t=["utf-8","gbk","gb18030","ibm866","iso-8859-2","iso-8859-3","iso-8859-4","iso-8859-5","iso-8859-6","iso-8859-7","iso-8859-8","iso-8859-8i","iso-8859-10","iso-8859-13","iso-8859-14","iso-8859-15","iso-8859-16","koi8-r","koi8-u","macintosh","windows-874","windows-1250","windows-1251","windows-1252","windows-1253","windows-1254","windows-1255","windows-1256","windows-1257","windows-1258","x-mac-cyrillic","big5","euc-jp","iso-2022-jp","shift_jis","euc-kr","iso-2022-kr","utf-16be","utf-16le","x-user-defined","iso-2022-cn"];return A(()=>{if(e.referenceText){let n;n="string"==typeof e.referenceText?(new TextEncoder).encode(e.referenceText):new Uint8Array(e.referenceText);for(let r of KR.analyse(n)){const n=r.name.toLowerCase();if(t.includes(n))return void e.setEncoding(n)}}}),pe(As,{pos:"absolute",right:0,top:0,w:"$36",opacity:.15,_hover:{opacity:1},zIndex:1,get children(){return pe(SR,{get options(){return t.map(e=>({label:e.toLocaleUpperCase(),value:e}))},get value(){return e.encoding},onChange:t=>e.setEncoding(t)})}})}function QR(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>'},e)}const ZR=ws(QR,{baseStyle:{color:"$neutral11"}});e("bW",e=>{const t=lE(),n=Pp(),[r,o]=k(!1),[i,a]=k("");let s;const l=()=>n.state.selectedOptions.map(e=>e.textValue).join(",");return A(N(l,a)),[pe(ch,{get as(){return e.searchable?"div":void 0},get children(){return pe(Te,{get fallback(){return[pe(th,{get children(){return t("global.choose")}}),pe(ph,{}),pe(Up,{})]},get when(){return!e.readonly&&e.searchable},get children(){return[pe(Wu,{border:"none",variant:"unstyled",get placeholder(){return $e(()=>!!r())()&&l()||t("global.choose")},get value(){return $e(()=>!!r())()?i():l()},onKeyDown:e=>e.stopPropagation(),onClick:e=>{n.state.opened&&e.stopPropagation()},onInput:e=>{clearTimeout(s),a(e.currentTarget.value)},onBlur:()=>{o(!1),s=setTimeout(()=>a(""),300)},onFocus:()=>{clearTimeout(s),a(""),o(!0)}}),pe(Te,{get when(){return r()},get fallback(){return pe(Up,{})},get children(){return pe(ZR,{})}})]}})}}),pe($p,{get children(){return pe(Gp,{get children(){return pe(ke,{get each(){return e.searchable?e.options.filter(e=>new RegExp(i(),"i").test(e.label)):e.options},children:e=>pe(Vp,{get value(){return e.key},get children(){return[pe(Jp,{get children(){return e.label}}),pe(Qp,{})]}})})}})}})]});let JR=[];const eM=e=>{JR=e},tM=(e("cE",e=>(e=e.toLowerCase(),JR.some(t=>e.endsWith(t)))),e=>{const t=lE(),[n,r]=Gy(()=>lb.get("/me")),[o,i]=k();return(async()=>{gy(await r(),h_,i)})(),pe(we,{get fallback(){return e.children},get children(){return[pe(Ae,{get when(){return n()},get children(){return pe(E_,{})}}),pe(Ae,{get when(){return void 0!==o()},get children(){return pe(_R,{get msg(){return t("home.get_current_user_failed")+o()}})}})]}})}),nM=e=>{const[t,n]=Gy(()=>lb.get("/me")),[r,o]=k(!1);return L(async()=>{by(await n(),h_,(e,t)=>{h_({id:2,username:"guest",password:"",base_path:"/",role:1,disabled:!1,permission:0,sso_id:"",otp:!1}),o(!0)})}),pe(we,{get fallback(){return e.children},get children(){return pe(Ae,{get when(){return $e(()=>!r())()&&t()},get children(){return pe(E_,{})}})}})},rM={initialColorMode:"system",lightTheme:{colors:{background:"#f7f8fa"}},components:{Button:{baseStyle:{root:{rounded:"$lg",_active:{transform:"scale(.95)",transition:"0.2s"},_focus:{boxShadow:"unset"}}},defaultProps:{root:{colorScheme:"info",variant:"subtle"}}},IconButton:{defaultProps:{colorScheme:"info",variant:"subtle"}},Input:{baseStyle:{input:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"}}},defaultProps:{input:{variant:"filled"}}},Textarea:{baseStyle:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"},resize:"vertical",wordBreak:"break-all"},defaultProps:{variant:"filled"}},Select:{baseStyle:{trigger:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"}},content:{border:"none",rounded:"$lg"},optionIndicator:{color:"$info10"}},defaultProps:{root:{variant:"filled"}}},Checkbox:{defaultProps:{root:{colorScheme:"info",variant:"filled"}}},Switch:{defaultProps:{root:{colorScheme:"info"}}},Menu:{baseStyle:{content:{rounded:"$md",minW:"unset",border:"unset"},item:{rounded:"$md",py:"$1"}}},Notification:{baseStyle:{root:{rounded:"$lg",border:"unset"}}},Alert:{baseStyle:{root:{rounded:"$lg"}}},Anchor:{baseStyle:{rounded:"$lg",px:"$1_5",py:"$1",_hover:{bgColor:vy(),textDecoration:"none"},_focus:{boxShadow:"unset"},_active:{transform:"scale(.95)",transition:"0.1s"}}},Modal:{baseStyle:{content:{rounded:"$lg"}}}}},oM=Hi({"*":{margin:0,padding:0},html:{fontFamily:'-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important'},"#root":{display:"flex",flexDirection:"column",alignItems:"center"},".hope-breadcrumb__list":{flexWrap:"wrap",rowGap:"0 !important"},".lightgallery-container":{"& .lg-backdrop":{zIndex:"$popover"},"& .lg-outer":{zIndex:"calc($popover + 10)"}},".viselect-selection-area":{background:"rgba(46, 115, 252, 0.11)",border:"2px solid rgba(98, 155, 255, 0.81)",borderRadius:"0.1em"},".viselect-container":{userSelect:"none","& .viselect-item":{"-webkit-user-drag":"none","& img":{"-webkit-user-drag":"none"}}}}),iM=ye(()=>qy(()=>t.import("./Layout-legacy-BC1cObb-.js").then(e=>e.L),void 0)),aM=ye(()=>qy(()=>t.import("./index-legacy-BqUCtjfV.js").then(e=>e.i),void 0)),sM=ye(()=>qy(()=>t.import("./index-legacy-TlIcIvVH.js"),void 0)),lM=ye(()=>qy(()=>t.import("./index-legacy-Bu7DMRmv.js"),void 0)),cM=()=>{const e=lE();oM();const t=Tt().isRouting,{to:n,pathname:r}=Wy(),o=e=>{n(e)};Af.on("to",o),D(()=>{Af.off("to",o)}),A(()=>{Af.emit("pathname",r())});const[i,a]=k([]),[s,l]=jy(()=>Promise.all([(async()=>{by(await lb.get("/public/settings"),JE,e=>a(i().concat(e)))})(),(async()=>{by(await lb.get("/public/archive_extensions"),eM,e=>a(i().concat(e)))})()]));return l(),[pe(lt,{get children(){return pe(dp,{indeterminate:!0,size:"xs",position:"fixed",top:"0",left:"0",right:"0",zIndex:"$banner",get d(){return t()?"block":"none"},get children(){return pe(fp,{})}})}}),pe(we,{get fallback(){return pe(Ft,{base:Tf,get children(){return[pe(Ht,{path:"/@test",component:lM}),pe(Ht,{path:"/@login",component:sM}),pe(Ht,{path:"/@manage/*",get element(){return pe(tM,{get children(){return pe(aM,{})}})}}),pe(Ht,{path:["/@s/*","/%40s/*"],get element(){return pe(nM,{get children(){return pe(iM,{})}})}}),pe(Ht,{path:"*",get element(){return pe(tM,{get children(){return pe(iM,{})}})}})]}})},get children(){return[pe(Ae,{get when(){return i().length>0},get children(){return pe(_R,{h:"100vh",get msg(){return e("home.fetching_settings_failed")+i().map(t=>e("home."+t)).join(", ")}})}}),pe(Ae,{get when(){return s()},get children(){return pe(E_,{})}})]}})]},uM=()=>(oM(),pe(ms,{config:rM,get children(){return pe(xe,{fallback:e=>(console.error("error",e),pe(_R,{msg:`System error: ${e}`,h:"100vh"})),get children(){return pe(Wd,{duration:3e3,get children(){return pe(Ie,{get fallback(){return pe(E_,{})},get children(){return pe(cM,{})}})}})}})}}));!function(e,t,n,r={}){let o;S(r=>{o=r,t===document?e():Ke(t,e(),t.firstChild?null:void 0,n)},r.owner)}(()=>pe($t,{get children(){return pe(uM,{})}}),document.getElementById("root"))}}});
28
+ function Mw(e,t,n,r){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}const Pw={}.hasOwnProperty;function Bw(e,t){let n;for(n in t){const r=(Pw.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){Pw.call(r,i)||(r[i]=[]);const e=o[i];$w(r[i],Array.isArray(e)?e:e?[e]:[])}}}function $w(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Mw(e,0,0,r)}const Fw=qw(/[A-Za-z]/),Hw=qw(/[\dA-Za-z]/);function zw(e){return null!==e&&e<-2}function Uw(e){return null!==e&&(e<0||32===e)}function jw(e){return-2===e||-1===e||32===e}const Gw=qw(/[!-\/:-@\[-`\{-~\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\u1B5A-\u1B60\u1B7D\u1B7E\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]/),Ww=qw(/\s/);function qw(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}const Vw={tokenize:function(e,t,n){let r=0;return function t(i){return(87===i||119===i)&&r<3?(r++,e.consume(i),t):46===i&&3===r?(e.consume(i),o):n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},Yw={tokenize:function(e,t,n){let r,o,i;return a;function a(t){return 46===t||95===t?e.check(Xw,l,s)(t):null===t||Uw(t)||Ww(t)||45!==t&&Gw(t)?l(t):(i=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}function l(e){return o||r||!i?n(e):t(e)}},partial:!0},Kw={tokenize:function(e,t){let n=0,r=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(Xw,t,i)(a):null===a||Uw(a)||Ww(a)?t(a):(e.consume(a),o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},Xw={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),i):93===a?(e.consume(a),o):60===a||null===a||Uw(a)||Ww(a)?t(a):n(a)}function o(e){return null===e||40===e||91===e||Uw(e)||Ww(e)?t(e):r(e)}function i(e){return Fw(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):Fw(t)?(e.consume(t),a):n(t)}},partial:!0},Qw={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Hw(e)?n(e):t(e)}},partial:!0},Zw={tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!oA.call(r,r.previous)||lA(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Vw,e.attempt(Yw,e.attempt(Kw,o),n),n)(t))};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:oA},Jw={tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){return 72!==t&&104!==t||!iA.call(r,r.previous)||lA(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a)};function a(t){if(Fw(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),i?l:(i=!0,s)):n(t)}function l(t){return null===t||function(e){return null!==e&&(e<32||127===e)}(t)||Uw(t)||Ww(t)||Gw(t)?n(t):e.attempt(Yw,e.attempt(Kw,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:iA},eA={tokenize:function(e,t,n){const r=this;let o,i;return function(t){return sA(t)&&aA.call(r,r.previous)&&!lA(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)):n(t)};function a(t){return sA(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(Qw,c,l)(t):45===t||95===t||Hw(t)?(i=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),o=!0,s}function c(a){return i&&o&&Fw(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:aA},tA={},nA={text:tA};let rA=48;for(;rA<123;)tA[rA]=eA,rA++,58===rA?rA=65:91===rA&&(rA=97);function oA(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||Uw(e)}function iA(e){return!Fw(e)}function aA(e){return!(47===e||sA(e))}function sA(e){return 43===e||45===e||46===e||95===e||Hw(e)}function lA(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function cA(e){return null===e||Uw(e)||Ww(e)?1:Gw(e)?2:void 0}function uA(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function dA(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){return jw(r)?(e.enter(n),a(r)):t(r)};function a(r){return jw(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}tA[43]=eA,tA[45]=eA,tA[46]=eA,tA[95]=eA,tA[72]=[eA,Jw],tA[104]=[eA,Jw],tA[87]=[eA,Zw],tA[119]=[eA,Zw];const pA={tokenize:function(e,t,n){return function(t){return jw(t)?dA(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||zw(e)?t(e):n(e)}},partial:!0},hA=document.createElement("i");function fA(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const gA={tokenize:function(e,t,n){const r=this;return dA(e,function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function mA(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const s=fA(r.sliceSerialize({start:a.end,end:r.now()}));return 94===s.codePointAt(0)&&i.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function bA(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function vA(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!i||null===s||91===s||Uw(s))return n(s);if(93===s){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(fA(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return Uw(s)||(i=!0),a++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function yA(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!a||null===t||91===t||Uw(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=fA(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Uw(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),dA(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function EA(e,t,n){return e.check(pA,t,e.attempt(gA,t,n))}function _A(e){e.exit("gfmFootnoteDefinition")}function SA(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){return 126===o&&"characterEscape"!==i[i.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),s(t))};function s(i){const l=cA(o);if(126===i)return a>1?r(i):(e.consume(i),a++,s);if(a<2&&!t)return r(i);const c=e.exit("strikethroughSequenceTemporary"),u=cA(i);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],s=t.parser.constructs.insideSpan.null;s&&Mw(a,a.length,0,uA(s,e.slice(r+1,n),t)),Mw(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),Mw(e,r-1,n-r+3,a),n=r+a.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class kA{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0!==n||0!==r.length){for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort((e,t)=>e[0]-t[0]),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function TA(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}const wA={flow:{null:{tokenize:function(e,t,n){const r=this;let o,i=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?E:s;return i===E&&r.parser.lazy[r.now().line]?n(e):i(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(o=!0,a+=1),l(e)}(t)}function l(t){return null===t?n(t):zw(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):jw(t)?dA(e,l,"whitespace")(t):(a+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||Uw(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,jw(t)?dA(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?f(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):y(t)}function h(t){return jw(t)?dA(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(a+=1,g(t)):null===t||zw(t)?v(t):y(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),m(t)):y(t)}function m(t){return 45===t?(e.consume(t),m):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(t))}function b(t){return jw(t)?dA(e,v,"whitespace")(t):v(t)}function v(n){return 124===n?p(n):(null===n||zw(n))&&o&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function E(t){return e.enter("tableRow"),_(t)}function _(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),_):null===n||zw(n)?(e.exit("tableRow"),t(n)):jw(n)?dA(e,_,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||Uw(t)?(e.exit("data"),_(t)):(e.consume(t),92===t?k:S)}function k(t){return 92===t||124===t?(e.consume(t),S):S(t)}},resolveAll:function(e,t){let n,r,o,i=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new kA;for(;++i<e.length;){const h=e[i],f=h[1];"enter"===h[0]?"tableHead"===f.type?(u=!1,0!==d&&(CA(p,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(i,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(a=!0,o=void 0,l=[0,0,0,0],c=[0,i+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(i,0,[["enter",r,t]])),s="tableDelimiterRow"===f.type?2:r?3:1):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type?"tableCellDivider"===f.type&&(a?a=!1:(0!==l[1]&&(c[0]=c[1],o=AA(p,t,l,s,void 0,o)),l=c,c=[l[1],i,0,0])):(a=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],o=AA(p,t,l,s,void 0,o),l=[0,0,0,0]),c[2]=i)):"tableHead"===f.type?(u=!0,d=i):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=i,0!==l[1]?(c[0]=c[1],o=AA(p,t,l,s,i,o)):0!==c[1]&&(o=AA(p,t,c,s,i,o)),s=0):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(c[3]=i)}for(0!==d&&CA(p,t,d,n,r),p.consume(t.events),i=-1;++i<t.events.length;){const e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=TA(t.events,i))}return e}}}};function AA(e,t,n,r,o,i){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(i.end=Object.assign({},xA(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const s=xA(t.events,n[1]);if(i={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){const o=xA(t.events,n[2]),i=xA(t.events,n[3]),a={type:"tableContent",start:Object.assign({},o),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==o&&(i.end=Object.assign({},xA(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function CA(e,t,n,r,o){const i=[],a=xA(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function xA(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const OA={tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return Uw(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return zw(r)?t(r):jw(r)?e.check({tokenize:NA},t,n)(r):n(r)}}},IA={text:{91:OA}};function NA(e,t,n){return dA(e,function(e){return null===e?n(e):t(e)},"whitespace")}function LA(e){return function(e){const t={};let n=-1;for(;++n<e.length;)Bw(t,e[n]);return t}([nA,{document:{91:{tokenize:yA,continuation:{tokenize:EA},exit:_A}},text:{91:{tokenize:vA},93:{add:"after",tokenize:mA,resolveTo:bA}}},SA(e),wA,IA])}function DA(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}const RA=e("c",function(e){if(null==e)return PA;if("string"==typeof e)return function(e){return MA(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=RA(e[n]);return MA(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}}(e):function(e){return MA(t);function t(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"==typeof e)return MA(e);throw new Error("Expected function, string, or object as test")});function MA(e){return function(t,...n){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...n)))}}function PA(){return!0}const BA=!0,$A=!1,FA=e("v",function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);const o=RA(t),i=r?-1:1;!function e(a,s,l){const c=a&&"object"==typeof a?a:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,p=[];if((!t||o(a,s,l[l.length-1]||null))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[BA,e]:[e]}(n(a,l)),p[0]===$A))return p;if(a.children&&"skip"!==p[0])for(u=(r?a.children.length:-1)+i,d=l.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,d)(),c[0]===$A)return c;u="number"==typeof c[1]?c[1]:u+i}return p}}(e,void 0,[])()}),HA={}.hasOwnProperty,zA=function(e,t,n,r){let o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,n]],o=r):(i=t,o=n),o||(o={});const a=RA(o.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([UA(e[n][0]),jA(e[n][1])])}else{let n;for(n in e)HA.call(e,n)&&t.push([UA(n),jA(e[n])])}return t}(i);let l=-1;for(;++l<s.length;)FA(e,"text",c);return e;function c(e,t){let n,r=-1;for(;++r<t.length;){const e=t[r];if(a(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=s[l][0],o=s[l][1];let i=0;const a=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,a={index:d.index,input:d.input,stack:[...t,e]};let s=o(...d,a);if("string"==typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1!==s&&(i!==n&&u.push({type:"text",value:e.value.slice(i,n)}),Array.isArray(s)?u.push(...s):s&&u.push(s),i=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(i<e.value.length&&u.push({type:"text",value:e.value.slice(i)}),n.children.splice(a,1,...u)):u=[e],a+u.length}(e,t)}};function UA(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function jA(e){return"function"==typeof e?e:()=>e}const GA="phrasing",WA=["autolink","link","image","label"],qA={transforms:[function(e){zA(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,KA],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,XA]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:YA,literalAutolinkHttp:YA,literalAutolinkWww:YA},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}}},VA={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:GA,notInConstruct:WA},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:GA,notInConstruct:WA},{character:":",before:"[ps]",after:"\\/",inConstruct:GA,notInConstruct:WA}]};function YA(e){this.config.enter.autolinkProtocol.call(this,e)}function KA(e,t,n,r,o){let i="";if(!QA(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=DA(e,"(");let i=DA(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function XA(e,t,n,r){return!(!QA(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function QA(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Ww(n)||Gw(n))&&(!t||47!==n)}const ZA=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function JA(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return function(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}(n.slice(t?2:1),t?16:10)}return function(e){const t="&"+e+";";hA.innerHTML=t;const n=hA.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}(n)||e}function eC(e){return e.label||!e.identifier?e.label||"":e.identifier.replace(ZA,JA)}function tC(e,t,n,r){let o=r.join.length;for(;o--;){const i=r.join[o](e,t,n,r);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const nC=/\r?\n|\r/g;function rC(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function oC(e,t){return iC(e,t.inConstruct,!0)&&!iC(e,t.notInConstruct,!1)}function iC(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function aC(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),o=[],i=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!oC(e.stack,t))continue;const n=rC(t);let i;for(;i=n.exec(r);){const e="before"in t||Boolean(t.atBreak),n="after"in t,r=i.index+(e?i[1].length:0);o.includes(r)?(a[r].before&&!e&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(o.push(r),a[r]={before:e,after:n})}}o.sort(sC);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(s=-1;++s<o.length;){const e=o[s];e<l||e>=c||e+1<c&&o[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(l!==e&&i.push(lC(r.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(i.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),l++):i.push("\\"))}return i.push(lC(r.slice(l,c),n.after)),i.join("")}function sC(e,t){return e-t}function lC(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],o=[],i=e+t;let a,s=-1,l=0;for(;a=n.exec(i);)r.push(a.index);for(;++s<r.length;)l!==r[s]&&o.push(e.slice(l,r[s])),o.push("\\"),l=r[s];return o.push(e.slice(l)),o.join("")}function cC(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,o=n.line||1,i=n.column||1;return{move:function(e){const t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return o+=n.length-1,i=1===n.length?i+a.length:1+a.length+r,t},current:function(){return{now:{line:o,column:i},lineShift:r}},shift:function(e){r+=e}}}function uC(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function dC(){this.buffer()}function pC(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=fA(this.sliceSerialize(e)).toLowerCase()}function hC(e){this.exit(e)}function fC(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function gC(){this.buffer()}function mC(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=fA(this.sliceSerialize(e)).toLowerCase()}function bC(e){this.exit(e)}function vC(e,t,n,r){const o=cC(r);let i=o.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return i+=o.move(aC(n,eC(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}function yC(e,t,n,r){const o=cC(r);let i=o.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return i+=o.move(aC(n,eC(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const n=[];let r,o=0,i=0;for(;r=nC.exec(e);)a(e.slice(o,r.index)),n.push(r[0]),o=r.index+r[0].length,i++;return a(e.slice(o)),n.join("");function a(e){n.push(t(e,i,!e))}}(function(e,t,n){const r=t.indexStack,o=e.children||[],i=t.createTracker(n),a=[];let s=-1;for(r.push(-1);++s<o.length;){const n=o[s];r[r.length-1]=s,a.push(i.move(t.handle(n,e,t,{before:"\n",after:"\n",...i.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<o.length-1&&a.push(i.move(tC(n,o[s+1],e,t)))}return r.pop(),a.join("")}(e,n,o.current()),EC)),a(),i}function EC(e,t,n){return 0===t?e:(n?"":" ")+e}function _C(e,t,n){const r=t.indexStack,o=e.children||[],i=[];let a=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++a<o.length;){const c=o[a];let u;if(r[r.length-1]=a,a+1<o.length){let n=t.handle.handlers[o[a+1].type];n&&n.peek&&(n=n.peek),u=n?n(o[a+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else u=n.after;i.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(i.join(""))),i.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=i[i.length-1].slice(-1)}return r.pop(),i.join("")}vC.peek=function(){return"["},TC.peek=function(){return"~"};const SC={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},kC={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:TC}};function TC(e,t,n,r){const o=cC(r),i=n.enter("strikethrough");let a=o.move("~~");return a+=_C(e,n,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function wC(e,t,n){let r=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const e=n.unsafe[i],t=rC(e);let o;if(e.atBreak)for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function AC(e){return e.length}function CC(e){return null==e?"":String(e)}function xC(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}wC.peek=function(){return"`"};const OC={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map(e=>"none"===e?null:e),children:[]},e),this.setData("inTable",!0)},tableData:NC,tableHeader:NC,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,LC));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:IC,tableHeader:IC,tableRow:IC}};function IC(e){this.exit(e)}function NC(e){this.enter({type:"tableCell",children:[]},e)}function LC(e,t){return"|"===t?t:e}function DC(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=l(r[o],t,n);return a(),i}(e,n,r),e.align)},tableRow:function(e,t,n,r){const o=l(e,n,r),i=s([o]);return i.slice(0,i.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){let r=wC(e,0,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r}}};function a(e,t,n,r){const o=n.enter("tableCell"),a=n.enter("phrasing"),s=_C(e,n,{...r,before:i,after:i});return a(),o(),s}function s(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||AC,i=[],a=[],s=[],l=[];let c=0,u=-1;for(;++u<e.length;){const t=[],r=[];let i=-1;for(e[u].length>c&&(c=e[u].length);++i<e[u].length;){const a=CC(e[u][i]);if(!1!==n.alignDelimiters){const e=o(a);r[i]=e,(void 0===l[i]||e>l[i])&&(l[i]=e)}t.push(a)}a[u]=t,s[u]=r}let d=-1;if("object"==typeof r&&"length"in r)for(;++d<c;)i[d]=xC(r[d]);else{const e=xC(r);for(;++d<c;)i[d]=e}d=-1;const p=[],h=[];for(;++d<c;){const e=i[d];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let o=!1===n.alignDelimiters?1:Math.max(1,l[d]-t.length-r.length);const a=t+"-".repeat(o)+r;!1!==n.alignDelimiters&&(o=t.length+o+r.length,o>l[d]&&(l[d]=o),h[d]=o),p[d]=a}a.splice(1,0,p),s.splice(1,0,h),u=-1;const f=[];for(;++u<a.length;){const e=a[u],t=s[u];d=-1;const r=[];for(;++d<c;){const o=e[d]||"";let a="",s="";if(!1!==n.alignDelimiters){const e=l[d]-(t[d]||0),n=i[d];114===n?a=" ".repeat(e):99===n?e%2?(a=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),s=a):s=" ".repeat(e)}!1===n.delimiterStart||d||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===o||!1===n.delimiterStart&&!d||r.push(" "),!1!==n.alignDelimiters&&r.push(a),r.push(o),!1!==n.alignDelimiters&&r.push(s),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&d===c-1||r.push("|")}f.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return f.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function l(e,t,n){const r=e.children;let o=-1;const i=[],s=t.enter("tableRow");for(;++o<r.length;)i[o]=a(r[o],0,t,n);return s(),i}}function RC(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let i=n.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=n.createTracker(r);s.move(i+" ".repeat(a-i.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(a))+e:(n?i:i+" ".repeat(a-i.length))+e});return l(),c}const MC={exit:{taskListCheckValueChecked:BC,taskListCheckValueUnchecked:BC,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){const e=r[i];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}}},PC={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=cC(r);i&&s.move(a);let l=RC(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+a})),l}}};function BC(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function $C(e={}){const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",LA(e)),n("fromMarkdownExtensions",[qA,{enter:{gfmFootnoteDefinition:uC,gfmFootnoteDefinitionLabelString:dC,gfmFootnoteCall:fC,gfmFootnoteCallString:gC},exit:{gfmFootnoteDefinition:hC,gfmFootnoteDefinitionLabelString:pC,gfmFootnoteCall:bC,gfmFootnoteCallString:mC}},SC,OC,MC]),n("toMarkdownExtensions",function(e){return{extensions:[VA,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:yC,footnoteReference:vC}},kC,DC(e),PC]}}(e))}const FC="object"==typeof self?self:globalThis,HC=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,a]=t[o];switch(i){case 0:case-1:return n(a,o);case 1:{const e=n([],o);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),o);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n(new FC[e](t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}}return n(new FC[i](a),o)};return r})(new Map,e)(0),zC="",{toString:UC}={},{keys:jC}=Object,GC=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=UC.call(e).slice(8,-1);switch(n){case"Array":return[1,zC];case"Object":return[2,zC];case"Date":return[3,zC];case"RegExp":return[4,zC];case"Map":return[5,zC];case"Set":return[6,zC];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},WC=([e,t])=>0===e&&("function"===t||"symbol"===t),qC=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[a,s]=GC(r);switch(a){case 0:{let t=r;switch(s){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return o([-1],r)}return o([a,t],r)}case 1:{if(s){let e=r;return"DataView"===s?e=new Uint8Array(r.buffer):"ArrayBuffer"===s&&(e=new Uint8Array(r)),o([s,[...e]],r)}const e=[],t=o([a,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(s)switch(s){case"BigInt":return o([s,r.toString()],r);case"Boolean":case"Number":case"String":return o([s,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],l=o([a,n],r);for(const t of jC(r))!e&&WC(GC(r[t]))||n.push([i(t),i(r[t])]);return l}case 3:return o([a,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([a,{source:e,flags:t}],r)}case 5:{const t=[],n=o([a,t],r);for(const[o,a]of r)(e||!WC(GC(o))&&!WC(GC(a)))&&t.push([i(o),i(a)]);return n}case 6:{const t=[],n=o([a,t],r);for(const o of r)!e&&WC(GC(o))||t.push(i(o));return n}}const{message:l}=r;return o([a,{name:s,message:l}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},VC="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?HC(qC(e,t)):structuredClone(e):(e,t)=>HC(qC(e,t));let YC=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};function KC(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new YC(n,r,t)}function XC(e){return e.toLowerCase()}YC.prototype.normal={},YC.prototype.property={},YC.prototype.space=void 0;let QC=class{constructor(e,t){this.attribute=t,this.property=e}};QC.prototype.attribute="",QC.prototype.booleanish=!1,QC.prototype.boolean=!1,QC.prototype.commaOrSpaceSeparated=!1,QC.prototype.commaSeparated=!1,QC.prototype.defined=!1,QC.prototype.mustUseProperty=!1,QC.prototype.number=!1,QC.prototype.overloadedBoolean=!1,QC.prototype.property="",QC.prototype.spaceSeparated=!1,QC.prototype.space=void 0;let ZC=0;const JC=ax(),ex=ax(),tx=ax(),nx=ax(),rx=ax(),ox=ax(),ix=ax();function ax(){return 2**++ZC}const sx=Object.freeze(Object.defineProperty({__proto__:null,boolean:JC,booleanish:ex,commaOrSpaceSeparated:ix,commaSeparated:ox,number:nx,overloadedBoolean:tx,spaceSeparated:rx},Symbol.toStringTag,{value:"Module"})),lx=Object.keys(sx);let cx=class extends QC{constructor(e,t,n,r){let o=-1;if(super(e,t),ux(this,"space",r),"number"==typeof n)for(;++o<lx.length;){const e=lx[o];ux(this,lx[o],(n&sx[e])===sx[e])}}};function ux(e,t,n){n&&(e[t]=n)}function dx(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const i=new cx(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[XC(r)]=r,n[XC(i.attribute)]=r}return new YC(t,n,e.space)}cx.prototype.defined=!0;const px=dx({properties:{ariaActiveDescendant:null,ariaAtomic:ex,ariaAutoComplete:null,ariaBusy:ex,ariaChecked:ex,ariaColCount:nx,ariaColIndex:nx,ariaColSpan:nx,ariaControls:rx,ariaCurrent:null,ariaDescribedBy:rx,ariaDetails:null,ariaDisabled:ex,ariaDropEffect:rx,ariaErrorMessage:null,ariaExpanded:ex,ariaFlowTo:rx,ariaGrabbed:ex,ariaHasPopup:null,ariaHidden:ex,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:rx,ariaLevel:nx,ariaLive:null,ariaModal:ex,ariaMultiLine:ex,ariaMultiSelectable:ex,ariaOrientation:null,ariaOwns:rx,ariaPlaceholder:null,ariaPosInSet:nx,ariaPressed:ex,ariaReadOnly:ex,ariaRelevant:null,ariaRequired:ex,ariaRoleDescription:rx,ariaRowCount:nx,ariaRowIndex:nx,ariaRowSpan:nx,ariaSelected:ex,ariaSetSize:nx,ariaSort:null,ariaValueMax:nx,ariaValueMin:nx,ariaValueNow:nx,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function hx(e,t){return t in e?e[t]:t}function fx(e,t){return hx(e,t.toLowerCase())}const gx=dx({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ox,acceptCharset:rx,accessKey:rx,action:null,allow:null,allowFullScreen:JC,allowPaymentRequest:JC,allowUserMedia:JC,alt:null,as:null,async:JC,autoCapitalize:null,autoComplete:rx,autoFocus:JC,autoPlay:JC,blocking:rx,capture:null,charSet:null,checked:JC,cite:null,className:rx,cols:nx,colSpan:null,content:null,contentEditable:ex,controls:JC,controlsList:rx,coords:nx|ox,crossOrigin:null,data:null,dateTime:null,decoding:null,default:JC,defer:JC,dir:null,dirName:null,disabled:JC,download:tx,draggable:ex,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:JC,formTarget:null,headers:rx,height:nx,hidden:tx,high:nx,href:null,hrefLang:null,htmlFor:rx,httpEquiv:rx,id:null,imageSizes:null,imageSrcSet:null,inert:JC,inputMode:null,integrity:null,is:null,isMap:JC,itemId:null,itemProp:rx,itemRef:rx,itemScope:JC,itemType:rx,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:JC,low:nx,manifest:null,max:null,maxLength:nx,media:null,method:null,min:null,minLength:nx,multiple:JC,muted:JC,name:null,nonce:null,noModule:JC,noValidate:JC,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:JC,optimum:nx,pattern:null,ping:rx,placeholder:null,playsInline:JC,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:JC,referrerPolicy:null,rel:rx,required:JC,reversed:JC,rows:nx,rowSpan:nx,sandbox:rx,scope:null,scoped:JC,seamless:JC,selected:JC,shadowRootClonable:JC,shadowRootDelegatesFocus:JC,shadowRootMode:null,shape:null,size:nx,sizes:null,slot:null,span:nx,spellCheck:ex,src:null,srcDoc:null,srcLang:null,srcSet:null,start:nx,step:null,style:null,tabIndex:nx,target:null,title:null,translate:null,type:null,typeMustMatch:JC,useMap:null,value:ex,width:nx,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:rx,axis:null,background:null,bgColor:null,border:nx,borderColor:null,bottomMargin:nx,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:JC,declare:JC,event:null,face:null,frame:null,frameBorder:null,hSpace:nx,leftMargin:nx,link:null,longDesc:null,lowSrc:null,marginHeight:nx,marginWidth:nx,noResize:JC,noHref:JC,noShade:JC,noWrap:JC,object:null,profile:null,prompt:null,rev:null,rightMargin:nx,rules:null,scheme:null,scrolling:ex,standby:null,summary:null,text:null,topMargin:nx,valueType:null,version:null,vAlign:null,vLink:null,vSpace:nx,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:JC,disableRemotePlayback:JC,prefix:null,property:null,results:nx,security:null,unselectable:null},space:"html",transform:fx}),mx=dx({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ix,accentHeight:nx,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:nx,amplitude:nx,arabicForm:null,ascent:nx,attributeName:null,attributeType:null,azimuth:nx,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:nx,by:null,calcMode:null,capHeight:nx,className:rx,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:nx,diffuseConstant:nx,direction:null,display:null,dur:null,divisor:nx,dominantBaseline:null,download:JC,dx:null,dy:null,edgeMode:null,editable:null,elevation:nx,enableBackground:null,end:null,event:null,exponent:nx,externalResourcesRequired:null,fill:null,fillOpacity:nx,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ox,g2:ox,glyphName:ox,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:nx,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:nx,horizOriginX:nx,horizOriginY:nx,id:null,ideographic:nx,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:nx,k:nx,k1:nx,k2:nx,k3:nx,k4:nx,kernelMatrix:ix,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:nx,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:nx,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:nx,overlineThickness:nx,paintOrder:null,panose1:null,path:null,pathLength:nx,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:rx,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:nx,pointsAtY:nx,pointsAtZ:nx,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ix,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ix,rev:ix,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ix,requiredFeatures:ix,requiredFonts:ix,requiredFormats:ix,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:nx,specularExponent:nx,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:nx,strikethroughThickness:nx,string:null,stroke:null,strokeDashArray:ix,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:nx,strokeOpacity:nx,strokeWidth:null,style:null,surfaceScale:nx,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ix,tabIndex:nx,tableValues:null,target:null,targetX:nx,targetY:nx,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ix,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:nx,underlineThickness:nx,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:nx,values:null,vAlphabetic:nx,vMathematical:nx,vectorEffect:null,vHanging:nx,vIdeographic:nx,version:null,vertAdvY:nx,vertOriginX:nx,vertOriginY:nx,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:nx,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:hx}),bx=dx({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),vx=dx({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:fx}),yx=dx({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),Ex=/[A-Z]/g,_x=/-[a-z]/g,Sx=/^data[-\w.:]+$/i;function kx(e,t){const n=XC(t);let r=t,o=QC;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Sx.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(_x,wx);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!_x.test(e)){let n=e.replace(Ex,Tx);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=cx}return new o(r,t)}function Tx(e){return"-"+e.toLowerCase()}function wx(e){return e.charAt(1).toUpperCase()}const Ax=KC([px,gx,bx,vx,yx],"html"),Cx=KC([px,mx,bx,vx,yx],"svg");function xx(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);const e=n.slice(o,r).trim();!e&&i||t.push(e),o=r+1,r=n.indexOf(",",o)}return t}const Ox=/[#.]/g;function Ix(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Nx(e,t,n){const r=n?function(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,o,...i){let a;if(null==n){a={type:"root",children:[]};const e=o;i.unshift(e)}else{a=function(e,t){const n=e||"",r={};let o,i,a=0;for(;a<n.length;){Ox.lastIndex=a;const e=Ox.exec(n),t=n.slice(a,e?e.index:n.length);t&&(o?"#"===o?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:i=t,a+=t.length),e&&(o=e[0],a++)}return{type:"element",tagName:i||t||"div",properties:r,children:[]}}(n,t);const s=a.tagName.toLowerCase(),l=r?r.get(s):void 0;if(a.tagName=l||s,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;const t=e,n=Object.keys(e);for(const r of n){const e=t[r];if(e&&"object"==typeof e){if(!Array.isArray(e))return!0;const t=e;for(const e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!(!("children"in e)||!Array.isArray(e.children))}(o))i.unshift(o);else for(const[t,n]of Object.entries(o))Lx(e,a.properties,t,n)}for(const e of i)Dx(a.children,e);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function Lx(e,t,n,r){const o=kx(e,n);let i;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r}else i="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?Ix(r):o.commaSeparated?xx(r):o.commaOrSpaceSeparated?Ix(xx(r).join(" ")):Rx(o,o.property,r):Array.isArray(r)?[...r]:"style"===o.property?function(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(i)){const e=[];for(const t of i)e.push(Rx(o,o.property,t));i=e}"className"===o.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[o.property]=i}}function Dx(e,t){if(null==t);else if("number"==typeof t||"string"==typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)Dx(e,n);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?Dx(e,t.children):e.push(t)}}function Rx(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||XC(n)===XC(t)))return!0}return n}const Mx=Nx(Ax,"div"),Px=Nx(Cx,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","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","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);function Bx(e,t){const n=e.indexOf("\r",t),r=e.indexOf("\n",t);return-1===r?n:-1===n||n+1===r?r:n<r?n:r}const $x=e("w",{html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}),Fx={}.hasOwnProperty,Hx=Object.prototype;function zx(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},jx(e,r,n),n}case"#document":case"#document-fragment":{const r=t,o="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:Ux(e,t.childNodes),data:{quirksMode:o}},e.file&&e.location){const t=String(e.file),r=function(e){const t=String(e),n=[];return{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){const e=n[n.length-1],r=Bx(t,e),o=-1===r?t.length+1:r+1;if(e===o)break;n.push(o)}const r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let r=0;for(;;){let o=n[r];if(void 0===o){const e=Bx(t,n[r-1]);o=-1===e?t.length+1:e+1,n[r]=o}if(o>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),o=r.toPoint(0),i=r.toPoint(t.length);n.position={start:o,end:i}}return n}case"#documentType":return n={type:"doctype"},jx(e,t,n),n;case"#text":{const r=t;return n={type:"text",value:r.value},jx(e,r,n),n}default:return n=function(e,t){const n=e.schema;e.schema=t.namespaceURI===$x.svg?Cx:Ax;let r=-1;const o={};for(;++r<t.attrs.length;){const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;Fx.call(Hx,n)||(o[n]=e.value)}const i="svg"===e.schema.space?Px:Mx,a=i(t.tagName,o,Ux(e,t.childNodes));if(jx(e,t,a),"template"===a.tagName){const n=t,r=n.sourceCodeLocation,o=r&&r.startTag&&Wx(r.startTag),i=r&&r.endTag&&Wx(r.endTag),s=zx(e,n.content);o&&i&&e.file&&(s.position={start:o.end,end:i.start}),a.content=s}return e.schema=n,a}(e,t),n}}function Ux(e,t){let n=-1;const r=[];for(;++n<t.length;){const o=zx(e,t[n]);r.push(o)}return r}function jx(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=Gx(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Gx(e,t,n){const r=Wx(n);if("element"===t.type){const o=t.children[t.children.length-1];if(r&&!n.endTag&&o&&o.position&&o.position.end&&(r.end=Object.assign({},o.position.end)),e.verbose){const r={};let o;if(n.attrs)for(o in n.attrs)Fx.call(n.attrs,o)&&(r[kx(e.schema,o).property]=Wx(n.attrs[o]));n.startTag;const i=Wx(n.startTag),a=n.endTag?Wx(n.endTag):void 0,s={opening:i};a&&(s.closing=a),s.properties=r,t.data={position:s}}}return r}function Wx(e){const t=qx({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=qx({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function qx(e){return e.line&&e.column?e:void 0}class Vx{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function Yx(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new Vx(n,r,t)}function Kx(e){return e.toLowerCase()}Vx.prototype.property={},Vx.prototype.normal={},Vx.prototype.space=null;class Xx{constructor(e,t){this.property=e,this.attribute=t}}Xx.prototype.space=null,Xx.prototype.boolean=!1,Xx.prototype.booleanish=!1,Xx.prototype.overloadedBoolean=!1,Xx.prototype.number=!1,Xx.prototype.commaSeparated=!1,Xx.prototype.spaceSeparated=!1,Xx.prototype.commaOrSpaceSeparated=!1,Xx.prototype.mustUseProperty=!1,Xx.prototype.defined=!1;let Qx=0;const Zx=iO(),Jx=iO(),eO=iO(),tO=iO(),nO=iO(),rO=iO(),oO=iO();function iO(){return 2**++Qx}const aO=Object.freeze(Object.defineProperty({__proto__:null,boolean:Zx,booleanish:Jx,commaOrSpaceSeparated:oO,commaSeparated:rO,number:tO,overloadedBoolean:eO,spaceSeparated:nO},Symbol.toStringTag,{value:"Module"})),sO=Object.keys(aO);class lO extends Xx{constructor(e,t,n,r){let o=-1;if(super(e,t),cO(this,"space",r),"number"==typeof n)for(;++o<sO.length;){const e=sO[o];cO(this,sO[o],(n&aO[e])===aO[e])}}}function cO(e,t,n){n&&(e[t]=n)}lO.prototype.defined=!0;const uO={}.hasOwnProperty;function dO(e){const t={},n={};let r;for(r in e.properties)if(uO.call(e.properties,r)){const o=e.properties[r],i=new lO(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Kx(r)]=r,n[Kx(i.attribute)]=r}return new Vx(t,n,e.space)}const pO=dO({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),hO=dO({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function fO(e,t){return t in e?e[t]:t}function gO(e,t){return fO(e,t.toLowerCase())}const mO=dO({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:gO,properties:{xmlns:null,xmlnsXLink:null}}),bO=dO({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Jx,ariaAutoComplete:null,ariaBusy:Jx,ariaChecked:Jx,ariaColCount:tO,ariaColIndex:tO,ariaColSpan:tO,ariaControls:nO,ariaCurrent:null,ariaDescribedBy:nO,ariaDetails:null,ariaDisabled:Jx,ariaDropEffect:nO,ariaErrorMessage:null,ariaExpanded:Jx,ariaFlowTo:nO,ariaGrabbed:Jx,ariaHasPopup:null,ariaHidden:Jx,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:nO,ariaLevel:tO,ariaLive:null,ariaModal:Jx,ariaMultiLine:Jx,ariaMultiSelectable:Jx,ariaOrientation:null,ariaOwns:nO,ariaPlaceholder:null,ariaPosInSet:tO,ariaPressed:Jx,ariaReadOnly:Jx,ariaRelevant:null,ariaRequired:Jx,ariaRoleDescription:nO,ariaRowCount:tO,ariaRowIndex:tO,ariaRowSpan:tO,ariaSelected:Jx,ariaSetSize:tO,ariaSort:null,ariaValueMax:tO,ariaValueMin:tO,ariaValueNow:tO,ariaValueText:null,role:null}}),vO=dO({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:gO,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:rO,acceptCharset:nO,accessKey:nO,action:null,allow:null,allowFullScreen:Zx,allowPaymentRequest:Zx,allowUserMedia:Zx,alt:null,as:null,async:Zx,autoCapitalize:null,autoComplete:nO,autoFocus:Zx,autoPlay:Zx,blocking:nO,capture:null,charSet:null,checked:Zx,cite:null,className:nO,cols:tO,colSpan:null,content:null,contentEditable:Jx,controls:Zx,controlsList:nO,coords:tO|rO,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Zx,defer:Zx,dir:null,dirName:null,disabled:Zx,download:eO,draggable:Jx,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Zx,formTarget:null,headers:nO,height:tO,hidden:Zx,high:tO,href:null,hrefLang:null,htmlFor:nO,httpEquiv:nO,id:null,imageSizes:null,imageSrcSet:null,inert:Zx,inputMode:null,integrity:null,is:null,isMap:Zx,itemId:null,itemProp:nO,itemRef:nO,itemScope:Zx,itemType:nO,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Zx,low:tO,manifest:null,max:null,maxLength:tO,media:null,method:null,min:null,minLength:tO,multiple:Zx,muted:Zx,name:null,nonce:null,noModule:Zx,noValidate:Zx,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Zx,optimum:tO,pattern:null,ping:nO,placeholder:null,playsInline:Zx,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Zx,referrerPolicy:null,rel:nO,required:Zx,reversed:Zx,rows:tO,rowSpan:tO,sandbox:nO,scope:null,scoped:Zx,seamless:Zx,selected:Zx,shadowRootClonable:Zx,shadowRootDelegatesFocus:Zx,shadowRootMode:null,shape:null,size:tO,sizes:null,slot:null,span:tO,spellCheck:Jx,src:null,srcDoc:null,srcLang:null,srcSet:null,start:tO,step:null,style:null,tabIndex:tO,target:null,title:null,translate:null,type:null,typeMustMatch:Zx,useMap:null,value:Jx,width:tO,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:nO,axis:null,background:null,bgColor:null,border:tO,borderColor:null,bottomMargin:tO,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Zx,declare:Zx,event:null,face:null,frame:null,frameBorder:null,hSpace:tO,leftMargin:tO,link:null,longDesc:null,lowSrc:null,marginHeight:tO,marginWidth:tO,noResize:Zx,noHref:Zx,noShade:Zx,noWrap:Zx,object:null,profile:null,prompt:null,rev:null,rightMargin:tO,rules:null,scheme:null,scrolling:Jx,standby:null,summary:null,text:null,topMargin:tO,valueType:null,version:null,vAlign:null,vLink:null,vSpace:tO,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Zx,disableRemotePlayback:Zx,prefix:null,property:null,results:tO,security:null,unselectable:null}}),yO=dO({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:fO,properties:{about:oO,accentHeight:tO,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:tO,amplitude:tO,arabicForm:null,ascent:tO,attributeName:null,attributeType:null,azimuth:tO,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:tO,by:null,calcMode:null,capHeight:tO,className:nO,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:tO,diffuseConstant:tO,direction:null,display:null,dur:null,divisor:tO,dominantBaseline:null,download:Zx,dx:null,dy:null,edgeMode:null,editable:null,elevation:tO,enableBackground:null,end:null,event:null,exponent:tO,externalResourcesRequired:null,fill:null,fillOpacity:tO,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:rO,g2:rO,glyphName:rO,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:tO,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:tO,horizOriginX:tO,horizOriginY:tO,id:null,ideographic:tO,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:tO,k:tO,k1:tO,k2:tO,k3:tO,k4:tO,kernelMatrix:oO,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:tO,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:tO,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:tO,overlineThickness:tO,paintOrder:null,panose1:null,path:null,pathLength:tO,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:nO,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:tO,pointsAtY:tO,pointsAtZ:tO,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:oO,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:oO,rev:oO,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:oO,requiredFeatures:oO,requiredFonts:oO,requiredFormats:oO,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:tO,specularExponent:tO,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:tO,strikethroughThickness:tO,string:null,stroke:null,strokeDashArray:oO,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:tO,strokeOpacity:tO,strokeWidth:null,style:null,surfaceScale:tO,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:oO,tabIndex:tO,tableValues:null,target:null,targetX:tO,targetY:tO,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:oO,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:tO,underlineThickness:tO,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:tO,values:null,vAlphabetic:tO,vMathematical:tO,vectorEffect:null,vHanging:tO,vIdeographic:tO,version:null,vertAdvY:tO,vertOriginX:tO,vertOriginY:tO,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:tO,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),EO=/^data[-\w.:]+$/i,_O=/-[a-z]/g,SO=/[A-Z]/g;function kO(e,t){const n=Kx(t);let r=t,o=Xx;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&EO.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(_O,wO);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!_O.test(e)){let n=e.replace(SO,TO);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=lO}return new o(r,t)}function TO(e){return"-"+e.toLowerCase()}function wO(e){return e.charAt(1).toUpperCase()}const AO=e("h",Yx([hO,pO,mO,bO,vO],"html")),CO=e("g",Yx([hO,pO,mO,bO,yO],"svg")),xO={}.hasOwnProperty;function OO(e,t){const n=t||{};function r(t,...n){let o=r.invalid;const i=r.handlers;if(t&&xO.call(t,e)){const n=String(t[e]);o=xO.call(i,n)?i[n]:r.unknown}if(o)return o.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const IO={},NO={}.hasOwnProperty,LO=OO("type",{handlers:{root:function(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=RO(e.children,n,t),MO(e,n),n},element:function(e,t){const n=t;let r=n;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=CO);const o=[];let i;if(e.properties)for(i in e.properties)if("children"!==i&&NO.call(e.properties,i)){const t=DO(r,i,e.properties[i]);t&&o.push(t)}const a=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:$x[a],childNodes:[],parentNode:null};return s.childNodes=RO(e.children,s,r),MO(e,s),"template"===e.tagName&&e.content&&(s.content=function(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=RO(e.children,n,t),MO(e,n),n}(e.content,r)),s},text:function(e){const t={nodeName:"#text",value:e.value,parentNode:null};return MO(e,t),t},comment:function(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return MO(e,t),t},doctype:function(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return MO(e,t),t}}});function DO(e,t,n){const r=kO(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?function(e){const t={};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(n):n.join(" ").trim());const o={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){const e=o.name.indexOf(":");e<0?o.prefix="":(o.name=o.name.slice(e+1),o.prefix=r.attribute.slice(0,e)),o.namespace=$x[r.space]}return o}function RO(e,t,n){let r=-1;const o=[];if(e)for(;++r<e.length;){const i=LO(e[r],n);i.parentNode=t,o.push(i)}return o}function MO(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const PO=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],BO=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),$O="�";var FO;!function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"}(FO||(FO={}));const HO="--",zO="[CDATA[",UO="doctype",jO="script",GO="public",WO="system";function qO(e){return e>=55296&&e<=57343}function VO(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function YO(e){return e>=64976&&e<=65007||BO.has(e)}var KO,XO;!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(KO||(KO={}));class QO{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){const{line:n,col:r,offset:o}=this,i=r+t,a=o+t;return{code:e,startLine:n,endLine:n,startCol:i,endCol:i,startOffset:a,endOffset:a}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,FO.EOF;return this._err(KO.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let n=0;n<e.length;n++)if((32|this.html.charCodeAt(this.pos+n))!==e.charCodeAt(n))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,FO.EOF;const n=this.html.charCodeAt(t);return n===FO.CARRIAGE_RETURN?FO.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,FO.EOF;let e=this.html.charCodeAt(this.pos);return e===FO.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,FO.LINE_FEED):e===FO.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,qO(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===FO.LINE_FEED||e===FO.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){VO(e)?this._err(KO.controlCharacterInInputStream):YO(e)&&this._err(KO.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function ZO(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(XO||(XO={}));const JO=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),eI=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var tI,nI,rI,oI,iI,aI,sI,lI,cI;function uI(e){return e>=tI.ZERO&&e<=tI.NINE}function dI(e){return e>=tI.UPPER_A&&e<=tI.UPPER_F||e>=tI.LOWER_A&&e<=tI.LOWER_F}function pI(e){return e===tI.EQUALS||function(e){return e>=tI.UPPER_A&&e<=tI.UPPER_Z||e>=tI.LOWER_A&&e<=tI.LOWER_Z||uI(e)}(e)}!function(e){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_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(tI||(tI={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(nI||(nI={})),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"}(rI||(rI={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(oI||(oI={}));class hI{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=rI.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=oI.Strict}startEntity(e){this.decodeMode=e,this.state=rI.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case rI.EntityStart:return e.charCodeAt(t)===tI.NUM?(this.state=rI.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=rI.NamedEntity,this.stateNamedEntity(e,t));case rI.NumericStart:return this.stateNumericStart(e,t);case rI.NumericDecimal:return this.stateNumericDecimal(e,t);case rI.NumericHex:return this.stateNumericHex(e,t);case rI.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===tI.LOWER_X?(this.state=rI.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=rI.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const o=n-t;this.result=this.result*Math.pow(r,o)+Number.parseInt(e.substr(t,o),r),this.consumed+=o}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!uI(r)&&!dI(r))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!uI(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===tI.SEMI)this.consumed+=1;else if(this.decodeMode===oI.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=eI.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==tI.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],o=(r&nI.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const i=e.charCodeAt(t);if(this.treeIndex=fI(n,r,this.treeIndex+Math.max(1,o),i),this.treeIndex<0)return 0===this.result||this.decodeMode===oI.Attribute&&(0===o||pI(i))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],o=(r&nI.VALUE_LENGTH)>>14,0!==o){if(i===tI.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==oI.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&nI.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~nI.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case rI.NamedEntity:return 0===this.result||this.decodeMode===oI.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case rI.NumericDecimal:return this.emitNumericEntity(0,2);case rI.NumericHex:return this.emitNumericEntity(0,3);case rI.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case rI.EntityStart:return 0}}}function fI(e,t,n,r){const o=(t&nI.BRANCH_LENGTH)>>7,i=t&nI.JUMP_TABLE;if(0===o)return 0!==i&&r===i?n:-1;if(i){const t=r-i;return t<0||t>=o?-1:e[n+t]-1}let a=n,s=a+o-1;for(;a<=s;){const t=a+s>>>1,n=e[t];if(n<r)a=t+1;else{if(!(n>r))return e[t+o];s=t-1}}return-1}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(iI||(iI={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(aI||(aI={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(sI||(sI={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(lI||(lI={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"}(cI||(cI={}));const gI=new Map([[lI.A,cI.A],[lI.ADDRESS,cI.ADDRESS],[lI.ANNOTATION_XML,cI.ANNOTATION_XML],[lI.APPLET,cI.APPLET],[lI.AREA,cI.AREA],[lI.ARTICLE,cI.ARTICLE],[lI.ASIDE,cI.ASIDE],[lI.B,cI.B],[lI.BASE,cI.BASE],[lI.BASEFONT,cI.BASEFONT],[lI.BGSOUND,cI.BGSOUND],[lI.BIG,cI.BIG],[lI.BLOCKQUOTE,cI.BLOCKQUOTE],[lI.BODY,cI.BODY],[lI.BR,cI.BR],[lI.BUTTON,cI.BUTTON],[lI.CAPTION,cI.CAPTION],[lI.CENTER,cI.CENTER],[lI.CODE,cI.CODE],[lI.COL,cI.COL],[lI.COLGROUP,cI.COLGROUP],[lI.DD,cI.DD],[lI.DESC,cI.DESC],[lI.DETAILS,cI.DETAILS],[lI.DIALOG,cI.DIALOG],[lI.DIR,cI.DIR],[lI.DIV,cI.DIV],[lI.DL,cI.DL],[lI.DT,cI.DT],[lI.EM,cI.EM],[lI.EMBED,cI.EMBED],[lI.FIELDSET,cI.FIELDSET],[lI.FIGCAPTION,cI.FIGCAPTION],[lI.FIGURE,cI.FIGURE],[lI.FONT,cI.FONT],[lI.FOOTER,cI.FOOTER],[lI.FOREIGN_OBJECT,cI.FOREIGN_OBJECT],[lI.FORM,cI.FORM],[lI.FRAME,cI.FRAME],[lI.FRAMESET,cI.FRAMESET],[lI.H1,cI.H1],[lI.H2,cI.H2],[lI.H3,cI.H3],[lI.H4,cI.H4],[lI.H5,cI.H5],[lI.H6,cI.H6],[lI.HEAD,cI.HEAD],[lI.HEADER,cI.HEADER],[lI.HGROUP,cI.HGROUP],[lI.HR,cI.HR],[lI.HTML,cI.HTML],[lI.I,cI.I],[lI.IMG,cI.IMG],[lI.IMAGE,cI.IMAGE],[lI.INPUT,cI.INPUT],[lI.IFRAME,cI.IFRAME],[lI.KEYGEN,cI.KEYGEN],[lI.LABEL,cI.LABEL],[lI.LI,cI.LI],[lI.LINK,cI.LINK],[lI.LISTING,cI.LISTING],[lI.MAIN,cI.MAIN],[lI.MALIGNMARK,cI.MALIGNMARK],[lI.MARQUEE,cI.MARQUEE],[lI.MATH,cI.MATH],[lI.MENU,cI.MENU],[lI.META,cI.META],[lI.MGLYPH,cI.MGLYPH],[lI.MI,cI.MI],[lI.MO,cI.MO],[lI.MN,cI.MN],[lI.MS,cI.MS],[lI.MTEXT,cI.MTEXT],[lI.NAV,cI.NAV],[lI.NOBR,cI.NOBR],[lI.NOFRAMES,cI.NOFRAMES],[lI.NOEMBED,cI.NOEMBED],[lI.NOSCRIPT,cI.NOSCRIPT],[lI.OBJECT,cI.OBJECT],[lI.OL,cI.OL],[lI.OPTGROUP,cI.OPTGROUP],[lI.OPTION,cI.OPTION],[lI.P,cI.P],[lI.PARAM,cI.PARAM],[lI.PLAINTEXT,cI.PLAINTEXT],[lI.PRE,cI.PRE],[lI.RB,cI.RB],[lI.RP,cI.RP],[lI.RT,cI.RT],[lI.RTC,cI.RTC],[lI.RUBY,cI.RUBY],[lI.S,cI.S],[lI.SCRIPT,cI.SCRIPT],[lI.SEARCH,cI.SEARCH],[lI.SECTION,cI.SECTION],[lI.SELECT,cI.SELECT],[lI.SOURCE,cI.SOURCE],[lI.SMALL,cI.SMALL],[lI.SPAN,cI.SPAN],[lI.STRIKE,cI.STRIKE],[lI.STRONG,cI.STRONG],[lI.STYLE,cI.STYLE],[lI.SUB,cI.SUB],[lI.SUMMARY,cI.SUMMARY],[lI.SUP,cI.SUP],[lI.TABLE,cI.TABLE],[lI.TBODY,cI.TBODY],[lI.TEMPLATE,cI.TEMPLATE],[lI.TEXTAREA,cI.TEXTAREA],[lI.TFOOT,cI.TFOOT],[lI.TD,cI.TD],[lI.TH,cI.TH],[lI.THEAD,cI.THEAD],[lI.TITLE,cI.TITLE],[lI.TR,cI.TR],[lI.TRACK,cI.TRACK],[lI.TT,cI.TT],[lI.U,cI.U],[lI.UL,cI.UL],[lI.SVG,cI.SVG],[lI.VAR,cI.VAR],[lI.WBR,cI.WBR],[lI.XMP,cI.XMP]]);function mI(e){var t;return null!==(t=gI.get(e))&&void 0!==t?t:cI.UNKNOWN}const bI=cI,vI={[iI.HTML]:new Set([bI.ADDRESS,bI.APPLET,bI.AREA,bI.ARTICLE,bI.ASIDE,bI.BASE,bI.BASEFONT,bI.BGSOUND,bI.BLOCKQUOTE,bI.BODY,bI.BR,bI.BUTTON,bI.CAPTION,bI.CENTER,bI.COL,bI.COLGROUP,bI.DD,bI.DETAILS,bI.DIR,bI.DIV,bI.DL,bI.DT,bI.EMBED,bI.FIELDSET,bI.FIGCAPTION,bI.FIGURE,bI.FOOTER,bI.FORM,bI.FRAME,bI.FRAMESET,bI.H1,bI.H2,bI.H3,bI.H4,bI.H5,bI.H6,bI.HEAD,bI.HEADER,bI.HGROUP,bI.HR,bI.HTML,bI.IFRAME,bI.IMG,bI.INPUT,bI.LI,bI.LINK,bI.LISTING,bI.MAIN,bI.MARQUEE,bI.MENU,bI.META,bI.NAV,bI.NOEMBED,bI.NOFRAMES,bI.NOSCRIPT,bI.OBJECT,bI.OL,bI.P,bI.PARAM,bI.PLAINTEXT,bI.PRE,bI.SCRIPT,bI.SECTION,bI.SELECT,bI.SOURCE,bI.STYLE,bI.SUMMARY,bI.TABLE,bI.TBODY,bI.TD,bI.TEMPLATE,bI.TEXTAREA,bI.TFOOT,bI.TH,bI.THEAD,bI.TITLE,bI.TR,bI.TRACK,bI.UL,bI.WBR,bI.XMP]),[iI.MATHML]:new Set([bI.MI,bI.MO,bI.MN,bI.MS,bI.MTEXT,bI.ANNOTATION_XML]),[iI.SVG]:new Set([bI.TITLE,bI.FOREIGN_OBJECT,bI.DESC]),[iI.XLINK]:new Set,[iI.XML]:new Set,[iI.XMLNS]:new Set},yI=new Set([bI.H1,bI.H2,bI.H3,bI.H4,bI.H5,bI.H6]);var EI;new Set([lI.STYLE,lI.SCRIPT,lI.XMP,lI.IFRAME,lI.NOEMBED,lI.NOFRAMES,lI.PLAINTEXT]),function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"}(EI||(EI={}));const _I={DATA:EI.DATA,RCDATA:EI.RCDATA,RAWTEXT:EI.RAWTEXT,SCRIPT_DATA:EI.SCRIPT_DATA,PLAINTEXT:EI.PLAINTEXT,CDATA_SECTION:EI.CDATA_SECTION};function SI(e){return e>=FO.LATIN_CAPITAL_A&&e<=FO.LATIN_CAPITAL_Z}function kI(e){return function(e){return e>=FO.LATIN_SMALL_A&&e<=FO.LATIN_SMALL_Z}(e)||SI(e)}function TI(e){return kI(e)||function(e){return e>=FO.DIGIT_0&&e<=FO.DIGIT_9}(e)}function wI(e){return e+32}function AI(e){return e===FO.SPACE||e===FO.LINE_FEED||e===FO.TABULATION||e===FO.FORM_FEED}function CI(e){return AI(e)||e===FO.SOLIDUS||e===FO.GREATER_THAN_SIGN}class xI{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=EI.DATA,this.returnState=EI.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new QO(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new hI(JO,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(KO.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(KO.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{const t=function(e){return e===FO.NULL?KO.nullCharacterReference:e>1114111?KO.characterReferenceOutsideUnicodeRange:qO(e)?KO.surrogateCharacterReference:YO(e)?KO.noncharacterCharacterReference:VO(e)||e===FO.CARRIAGE_RETURN?KO.controlCharacterReference:null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;null===(r=(n=this.handler).onParseError)||void 0===r||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:XO.START_TAG,tagName:"",tagID:cI.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:XO.END_TAG,tagName:"",tagID:cI.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:XO.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:XO.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const n=this.currentToken;null===ZO(n,this.currentAttr.name)?(n.attrs.push(this.currentAttr),n.location&&this.currentLocation&&((null!==(e=(t=n.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(KO.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=mI(e.tagName),e.type===XO.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(KO.endTagWithAttributes),e.selfClosing&&this._err(KO.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case XO.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case XO.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case XO.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:XO.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=AI(e)?XO.WHITESPACE_CHARACTER:e===FO.NULL?XO.NULL_CHARACTER:XO.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(XO.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=EI.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?oI.Attribute:oI.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===EI.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===EI.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===EI.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case EI.DATA:this._stateData(e);break;case EI.RCDATA:this._stateRcdata(e);break;case EI.RAWTEXT:this._stateRawtext(e);break;case EI.SCRIPT_DATA:this._stateScriptData(e);break;case EI.PLAINTEXT:this._statePlaintext(e);break;case EI.TAG_OPEN:this._stateTagOpen(e);break;case EI.END_TAG_OPEN:this._stateEndTagOpen(e);break;case EI.TAG_NAME:this._stateTagName(e);break;case EI.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case EI.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case EI.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case EI.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case EI.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case EI.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case EI.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case EI.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case EI.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case EI.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case EI.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case EI.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case EI.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case EI.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case EI.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case EI.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case EI.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case EI.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case EI.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case EI.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case EI.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case EI.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case EI.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case EI.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case EI.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case EI.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case EI.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case EI.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case EI.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case EI.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case EI.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case EI.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case EI.BOGUS_COMMENT:this._stateBogusComment(e);break;case EI.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case EI.COMMENT_START:this._stateCommentStart(e);break;case EI.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case EI.COMMENT:this._stateComment(e);break;case EI.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case EI.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case EI.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case EI.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case EI.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case EI.COMMENT_END:this._stateCommentEnd(e);break;case EI.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case EI.DOCTYPE:this._stateDoctype(e);break;case EI.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case EI.DOCTYPE_NAME:this._stateDoctypeName(e);break;case EI.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case EI.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case EI.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case EI.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case EI.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case EI.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case EI.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case EI.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case EI.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case EI.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case EI.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case EI.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case EI.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case EI.CDATA_SECTION:this._stateCdataSection(e);break;case EI.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case EI.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case EI.CHARACTER_REFERENCE:this._stateCharacterReference();break;case EI.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case FO.LESS_THAN_SIGN:this.state=EI.TAG_OPEN;break;case FO.AMPERSAND:this._startCharacterReference();break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitCodePoint(e);break;case FO.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case FO.AMPERSAND:this._startCharacterReference();break;case FO.LESS_THAN_SIGN:this.state=EI.RCDATA_LESS_THAN_SIGN;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitChars($O);break;case FO.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case FO.LESS_THAN_SIGN:this.state=EI.RAWTEXT_LESS_THAN_SIGN;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitChars($O);break;case FO.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_LESS_THAN_SIGN;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitChars($O);break;case FO.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitChars($O);break;case FO.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(kI(e))this._createStartTagToken(),this.state=EI.TAG_NAME,this._stateTagName(e);else switch(e){case FO.EXCLAMATION_MARK:this.state=EI.MARKUP_DECLARATION_OPEN;break;case FO.SOLIDUS:this.state=EI.END_TAG_OPEN;break;case FO.QUESTION_MARK:this._err(KO.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=EI.BOGUS_COMMENT,this._stateBogusComment(e);break;case FO.EOF:this._err(KO.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(KO.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=EI.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(kI(e))this._createEndTagToken(),this.state=EI.TAG_NAME,this._stateTagName(e);else switch(e){case FO.GREATER_THAN_SIGN:this._err(KO.missingEndTagName),this.state=EI.DATA;break;case FO.EOF:this._err(KO.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(KO.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=EI.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this.state=EI.BEFORE_ATTRIBUTE_NAME;break;case FO.SOLIDUS:this.state=EI.SELF_CLOSING_START_TAG;break;case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentTagToken();break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.tagName+=$O;break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(SI(e)?wI(e):e)}}_stateRcdataLessThanSign(e){e===FO.SOLIDUS?this.state=EI.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=EI.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){kI(e)?(this.state=EI.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=EI.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=EI.BEFORE_ATTRIBUTE_NAME,!1;case FO.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=EI.SELF_CLOSING_START_TAG,!1;case FO.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=EI.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=EI.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===FO.SOLIDUS?this.state=EI.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=EI.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){kI(e)?(this.state=EI.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=EI.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=EI.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case FO.SOLIDUS:this.state=EI.SCRIPT_DATA_END_TAG_OPEN;break;case FO.EXCLAMATION_MARK:this.state=EI.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=EI.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){kI(e)?(this.state=EI.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=EI.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=EI.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===FO.HYPHEN_MINUS?(this.state=EI.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=EI.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===FO.HYPHEN_MINUS?(this.state=EI.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=EI.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case FO.HYPHEN_MINUS:this.state=EI.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitChars($O);break;case FO.EOF:this._err(KO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case FO.HYPHEN_MINUS:this.state=EI.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.state=EI.SCRIPT_DATA_ESCAPED,this._emitChars($O);break;case FO.EOF:this._err(KO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=EI.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case FO.HYPHEN_MINUS:this._emitChars("-");break;case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case FO.GREATER_THAN_SIGN:this.state=EI.SCRIPT_DATA,this._emitChars(">");break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.state=EI.SCRIPT_DATA_ESCAPED,this._emitChars($O);break;case FO.EOF:this._err(KO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=EI.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===FO.SOLIDUS?this.state=EI.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:kI(e)?(this._emitChars("<"),this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=EI.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){kI(e)?(this.state=EI.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=EI.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=EI.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(jO,!1)&&CI(this.preprocessor.peek(jO.length))){this._emitCodePoint(e);for(let e=0;e<jO.length;e++)this._emitCodePoint(this._consume());this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=EI.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case FO.HYPHEN_MINUS:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._emitChars($O);break;case FO.EOF:this._err(KO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case FO.HYPHEN_MINUS:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars($O);break;case FO.EOF:this._err(KO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case FO.HYPHEN_MINUS:this._emitChars("-");break;case FO.LESS_THAN_SIGN:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case FO.GREATER_THAN_SIGN:this.state=EI.SCRIPT_DATA,this._emitChars(">");break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars($O);break;case FO.EOF:this._err(KO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===FO.SOLIDUS?(this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(jO,!1)&&CI(this.preprocessor.peek(jO.length))){this._emitCodePoint(e);for(let e=0;e<jO.length;e++)this._emitCodePoint(this._consume());this.state=EI.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=EI.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.SOLIDUS:case FO.GREATER_THAN_SIGN:case FO.EOF:this.state=EI.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case FO.EQUALS_SIGN:this._err(KO.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=EI.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=EI.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:case FO.SOLIDUS:case FO.GREATER_THAN_SIGN:case FO.EOF:this._leaveAttrName(),this.state=EI.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case FO.EQUALS_SIGN:this._leaveAttrName(),this.state=EI.BEFORE_ATTRIBUTE_VALUE;break;case FO.QUOTATION_MARK:case FO.APOSTROPHE:case FO.LESS_THAN_SIGN:this._err(KO.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.currentAttr.name+=$O;break;default:this.currentAttr.name+=String.fromCodePoint(SI(e)?wI(e):e)}}_stateAfterAttributeName(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.SOLIDUS:this.state=EI.SELF_CLOSING_START_TAG;break;case FO.EQUALS_SIGN:this.state=EI.BEFORE_ATTRIBUTE_VALUE;break;case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentTagToken();break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=EI.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.QUOTATION_MARK:this.state=EI.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case FO.APOSTROPHE:this.state=EI.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case FO.GREATER_THAN_SIGN:this._err(KO.missingAttributeValue),this.state=EI.DATA,this.emitCurrentTagToken();break;default:this.state=EI.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case FO.QUOTATION_MARK:this.state=EI.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case FO.AMPERSAND:this._startCharacterReference();break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.currentAttr.value+=$O;break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case FO.APOSTROPHE:this.state=EI.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case FO.AMPERSAND:this._startCharacterReference();break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.currentAttr.value+=$O;break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this._leaveAttrValue(),this.state=EI.BEFORE_ATTRIBUTE_NAME;break;case FO.AMPERSAND:this._startCharacterReference();break;case FO.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=EI.DATA,this.emitCurrentTagToken();break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this.currentAttr.value+=$O;break;case FO.QUOTATION_MARK:case FO.APOSTROPHE:case FO.LESS_THAN_SIGN:case FO.EQUALS_SIGN:case FO.GRAVE_ACCENT:this._err(KO.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this._leaveAttrValue(),this.state=EI.BEFORE_ATTRIBUTE_NAME;break;case FO.SOLIDUS:this._leaveAttrValue(),this.state=EI.SELF_CLOSING_START_TAG;break;case FO.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=EI.DATA,this.emitCurrentTagToken();break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:this._err(KO.missingWhitespaceBetweenAttributes),this.state=EI.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case FO.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=EI.DATA,this.emitCurrentTagToken();break;case FO.EOF:this._err(KO.eofInTag),this._emitEOFToken();break;default:this._err(KO.unexpectedSolidusInTag),this.state=EI.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentComment(t);break;case FO.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.data+=$O;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(HO,!0)?(this._createCommentToken(HO.length+1),this.state=EI.COMMENT_START):this._consumeSequenceIfMatch(UO,!1)?(this.currentLocation=this.getCurrentLocation(UO.length+1),this.state=EI.DOCTYPE):this._consumeSequenceIfMatch(zO,!0)?this.inForeignNode?this.state=EI.CDATA_SECTION:(this._err(KO.cdataInHtmlContent),this._createCommentToken(zO.length+1),this.currentToken.data="[CDATA[",this.state=EI.BOGUS_COMMENT):this._ensureHibernation()||(this._err(KO.incorrectlyOpenedComment),this._createCommentToken(2),this.state=EI.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case FO.HYPHEN_MINUS:this.state=EI.COMMENT_START_DASH;break;case FO.GREATER_THAN_SIGN:{this._err(KO.abruptClosingOfEmptyComment),this.state=EI.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=EI.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case FO.HYPHEN_MINUS:this.state=EI.COMMENT_END;break;case FO.GREATER_THAN_SIGN:this._err(KO.abruptClosingOfEmptyComment),this.state=EI.DATA,this.emitCurrentComment(t);break;case FO.EOF:this._err(KO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=EI.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case FO.HYPHEN_MINUS:this.state=EI.COMMENT_END_DASH;break;case FO.LESS_THAN_SIGN:t.data+="<",this.state=EI.COMMENT_LESS_THAN_SIGN;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.data+=$O;break;case FO.EOF:this._err(KO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case FO.EXCLAMATION_MARK:t.data+="!",this.state=EI.COMMENT_LESS_THAN_SIGN_BANG;break;case FO.LESS_THAN_SIGN:t.data+="<";break;default:this.state=EI.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===FO.HYPHEN_MINUS?this.state=EI.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=EI.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===FO.HYPHEN_MINUS?this.state=EI.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=EI.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==FO.GREATER_THAN_SIGN&&e!==FO.EOF&&this._err(KO.nestedComment),this.state=EI.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case FO.HYPHEN_MINUS:this.state=EI.COMMENT_END;break;case FO.EOF:this._err(KO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=EI.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentComment(t);break;case FO.EXCLAMATION_MARK:this.state=EI.COMMENT_END_BANG;break;case FO.HYPHEN_MINUS:t.data+="-";break;case FO.EOF:this._err(KO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=EI.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case FO.HYPHEN_MINUS:t.data+="--!",this.state=EI.COMMENT_END_DASH;break;case FO.GREATER_THAN_SIGN:this._err(KO.incorrectlyClosedComment),this.state=EI.DATA,this.emitCurrentComment(t);break;case FO.EOF:this._err(KO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=EI.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this.state=EI.BEFORE_DOCTYPE_NAME;break;case FO.GREATER_THAN_SIGN:this.state=EI.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case FO.EOF:{this._err(KO.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(KO.missingWhitespaceBeforeDoctypeName),this.state=EI.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(SI(e))this._createDoctypeToken(String.fromCharCode(wI(e))),this.state=EI.DOCTYPE_NAME;else switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.NULL:this._err(KO.unexpectedNullCharacter),this._createDoctypeToken($O),this.state=EI.DOCTYPE_NAME;break;case FO.GREATER_THAN_SIGN:{this._err(KO.missingDoctypeName),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=EI.DATA;break}case FO.EOF:{this._err(KO.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=EI.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this.state=EI.AFTER_DOCTYPE_NAME;break;case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.name+=$O;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(SI(e)?wI(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(GO,!1)?this.state=EI.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(WO,!1)?this.state=EI.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(KO.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this.state=EI.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case FO.QUOTATION_MARK:this._err(KO.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=EI.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case FO.APOSTROPHE:this._err(KO.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=EI.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case FO.GREATER_THAN_SIGN:this._err(KO.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.QUOTATION_MARK:t.publicId="",this.state=EI.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case FO.APOSTROPHE:t.publicId="",this.state=EI.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case FO.GREATER_THAN_SIGN:this._err(KO.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case FO.QUOTATION_MARK:this.state=EI.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.publicId+=$O;break;case FO.GREATER_THAN_SIGN:this._err(KO.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case FO.APOSTROPHE:this.state=EI.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.publicId+=$O;break;case FO.GREATER_THAN_SIGN:this._err(KO.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this.state=EI.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case FO.GREATER_THAN_SIGN:this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.QUOTATION_MARK:this._err(KO.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case FO.APOSTROPHE:this._err(KO.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.QUOTATION_MARK:t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case FO.APOSTROPHE:t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:this.state=EI.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case FO.QUOTATION_MARK:this._err(KO.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case FO.APOSTROPHE:this._err(KO.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case FO.GREATER_THAN_SIGN:this._err(KO.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.QUOTATION_MARK:t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case FO.APOSTROPHE:t.systemId="",this.state=EI.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case FO.GREATER_THAN_SIGN:this._err(KO.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=EI.DATA,this.emitCurrentDoctype(t);break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case FO.QUOTATION_MARK:this.state=EI.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.systemId+=$O;break;case FO.GREATER_THAN_SIGN:this._err(KO.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case FO.APOSTROPHE:this.state=EI.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case FO.NULL:this._err(KO.unexpectedNullCharacter),t.systemId+=$O;break;case FO.GREATER_THAN_SIGN:this._err(KO.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case FO.SPACE:case FO.LINE_FEED:case FO.TABULATION:case FO.FORM_FEED:break;case FO.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.EOF:this._err(KO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KO.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=EI.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case FO.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=EI.DATA;break;case FO.NULL:this._err(KO.unexpectedNullCharacter);break;case FO.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case FO.RIGHT_SQUARE_BRACKET:this.state=EI.CDATA_SECTION_BRACKET;break;case FO.EOF:this._err(KO.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===FO.RIGHT_SQUARE_BRACKET?this.state=EI.CDATA_SECTION_END:(this._emitChars("]"),this.state=EI.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case FO.GREATER_THAN_SIGN:this.state=EI.DATA;break;case FO.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=EI.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0){if(!this.preprocessor.lastChunkWritten)return this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,void(this.preprocessor.endOfChunkHit=!0);e=this.entityDecoder.end()}0===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(FO.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&TI(this.preprocessor.peek(1))?EI.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){TI(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===FO.SEMICOLON&&this._err(KO.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}const OI=new Set([cI.DD,cI.DT,cI.LI,cI.OPTGROUP,cI.OPTION,cI.P,cI.RB,cI.RP,cI.RT,cI.RTC]),II=new Set([...OI,cI.CAPTION,cI.COLGROUP,cI.TBODY,cI.TD,cI.TFOOT,cI.TH,cI.THEAD,cI.TR]),NI=new Set([cI.APPLET,cI.CAPTION,cI.HTML,cI.MARQUEE,cI.OBJECT,cI.TABLE,cI.TD,cI.TEMPLATE,cI.TH]),LI=new Set([...NI,cI.OL,cI.UL]),DI=new Set([...NI,cI.BUTTON]),RI=new Set([cI.ANNOTATION_XML,cI.MI,cI.MN,cI.MO,cI.MS,cI.MTEXT]),MI=new Set([cI.DESC,cI.FOREIGN_OBJECT,cI.TITLE]),PI=new Set([cI.TR,cI.TEMPLATE,cI.HTML]),BI=new Set([cI.TBODY,cI.TFOOT,cI.THEAD,cI.TEMPLATE,cI.HTML]),$I=new Set([cI.TABLE,cI.TEMPLATE,cI.HTML]),FI=new Set([cI.TD,cI.TH]);class HI{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=cI.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===cI.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===iI.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==iI.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(yI,iI.HTML)}popUntilTableCellPopped(){this.popUntilPopped(FI,iI.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo($I,iI.HTML)}clearBackToTableBodyContext(){this.clearBackTo(BI,iI.HTML)}clearBackToTableRowContext(){this.clearBackTo(PI,iI.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===cI.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===cI.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case iI.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case iI.SVG:if(MI.has(r))return!1;break;case iI.MATHML:if(RI.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,NI)}hasInListItemScope(e){return this.hasInDynamicScope(e,LI)}hasInButtonScope(e){return this.hasInDynamicScope(e,DI)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case iI.HTML:if(yI.has(t))return!0;if(NI.has(t))return!1;break;case iI.SVG:if(MI.has(t))return!1;break;case iI.MATHML:if(RI.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===iI.HTML)switch(this.tagIDs[t]){case e:return!0;case cI.TABLE:case cI.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===iI.HTML)switch(this.tagIDs[e]){case cI.TBODY:case cI.THEAD:case cI.TFOOT:return!0;case cI.TABLE:case cI.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===iI.HTML)switch(this.tagIDs[t]){case e:return!0;case cI.OPTION:case cI.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&OI.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&II.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&II.has(this.currentTagId);)this.pop()}}var zI;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(zI||(zI={}));const UI={type:zI.Marker};class jI{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,o=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let a=0;a<this.entries.length;a++){const e=this.entries[a];if(e.type===zI.Marker)break;const{element:t}=e;if(this.treeAdapter.getTagName(t)===o&&this.treeAdapter.getNamespaceURI(t)===i){const e=this.treeAdapter.getAttrList(t);e.length===r&&n.push({idx:a,attrs:e})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;const t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;const r=new Map(t.map(e=>[e.name,e.value]));let o=0;for(let i=0;i<n.length;i++){const e=n[i];e.attrs.every(e=>r.get(e.name)===e.value)&&(o+=1,o>=3&&this.entries.splice(e.idx,1))}}insertMarker(){this.entries.unshift(UI)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:zI.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:zI.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(UI);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){const t=this.entries.find(t=>t.type===zI.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===zI.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===zI.Element&&t.element===e)}}const GI={createDocument:()=>({nodeName:"#document",mode:sI.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){const o=e.childNodes.find(e=>"#documentType"===e.nodeName);if(o)o.name=t,o.publicId=n,o.systemId=r;else{const o={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};GI.appendChild(e,o)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(GI.isTextNode(n))return void(n.value+=t)}GI.appendChild(e,GI.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&GI.isTextNode(r)?r.value+=t:GI.insertBefore(e,GI.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},WI="html",qI=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],VI=[...qI,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],YI=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),KI=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],XI=[...KI,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function QI(e,t){return t.some(t=>e.startsWith(t))}const ZI="text/html",JI="application/xhtml+xml",eN=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),tN=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:iI.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:iI.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:iI.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:iI.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:iI.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:iI.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:iI.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:iI.XML}],["xml:space",{prefix:"xml",name:"space",namespace:iI.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:iI.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:iI.XMLNS}]]),nN=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),rN=new Set([cI.B,cI.BIG,cI.BLOCKQUOTE,cI.BODY,cI.BR,cI.CENTER,cI.CODE,cI.DD,cI.DIV,cI.DL,cI.DT,cI.EM,cI.EMBED,cI.H1,cI.H2,cI.H3,cI.H4,cI.H5,cI.H6,cI.HEAD,cI.HR,cI.I,cI.IMG,cI.LI,cI.LISTING,cI.MENU,cI.META,cI.NOBR,cI.OL,cI.P,cI.PRE,cI.RUBY,cI.S,cI.SMALL,cI.SPAN,cI.STRONG,cI.STRIKE,cI.SUB,cI.SUP,cI.TABLE,cI.TT,cI.U,cI.UL,cI.VAR]);function oN(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function iN(e){for(let t=0;t<e.attrs.length;t++){const n=eN.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function aN(e){for(let t=0;t<e.attrs.length;t++){const n=tN.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function sN(e,t,n,r){return(!r||r===iI.HTML)&&function(e,t,n){if(t===iI.MATHML&&e===cI.ANNOTATION_XML)for(let r=0;r<n.length;r++)if(n[r].name===aI.ENCODING){const e=n[r].value.toLowerCase();return e===ZI||e===JI}return t===iI.SVG&&(e===cI.FOREIGN_OBJECT||e===cI.DESC||e===cI.TITLE)}(e,t,n)||(!r||r===iI.MATHML)&&function(e,t){return t===iI.MATHML&&(e===cI.MI||e===cI.MO||e===cI.MN||e===cI.MS||e===cI.MTEXT)}(e,t)}var lN;!function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(lN||(lN={}));const cN={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},uN=new Set([cI.TABLE,cI.TBODY,cI.TFOOT,cI.THEAD,cI.TR]),dN={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:GI,onParseError:null};class pN{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=lN.INITIAL,this.originalInsertionMode=lN.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...dN,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new xI(this.options,this),this.activeFormattingElements=new jI(this.treeAdapter),this.fragmentContextID=n?mI(this.treeAdapter.getTagName(n)):cI.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new HI(this.document,this.treeAdapter,this)}static parse(e,t){const n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){const n={...dN,...t};null!=e||(e=n.treeAdapter.createElement(lI.TEMPLATE,iI.HTML,[]));const r=n.treeAdapter.createElement("documentmock",iI.HTML,[]),o=new this(n,r,e);return o.fragmentContextID===cI.TEMPLATE&&o.tmplInsertionModeStack.unshift(lN.IN_TEMPLATE),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),o}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return;const o=null!==(r=e.location)&&void 0!==r?r:cN,i={code:t,startLine:o.startLine,startCol:o.startCol,startOffset:o.startOffset,endLine:n?o.startLine:o.endLine,endCol:n?o.startCol:o.endCol,endOffset:n?o.startOffset:o.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,o;null===(o=(r=this.treeAdapter).onItemPush)||void 0===o||o.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===iI.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,iI.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=lN.TEXT}switchToPlaintextParsing(){this.insertionMode=lN.TEXT,this.originalInsertionMode=lN.IN_BODY,this.tokenizer.state=_I.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===lI.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===iI.HTML)switch(this.fragmentContextID){case cI.TITLE:case cI.TEXTAREA:this.tokenizer.state=_I.RCDATA;break;case cI.STYLE:case cI.XMP:case cI.IFRAME:case cI.NOEMBED:case cI.NOFRAMES:case cI.NOSCRIPT:this.tokenizer.state=_I.RAWTEXT;break;case cI.SCRIPT:this.tokenizer.state=_I.SCRIPT_DATA;break;case cI.PLAINTEXT:this.tokenizer.state=_I.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){const t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,iI.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,iI.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(lI.HTML,iI.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,cI.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const r=this.treeAdapter.getChildNodes(t),o=n?r.lastIndexOf(n):r.length,i=r[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),o=t.type===XO.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==cI.SVG||this.treeAdapter.getTagName(t)!==lI.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==iI.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===cI.MGLYPH||e.tagID===cI.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,iI.HTML))}_processToken(e){switch(e.type){case XO.CHARACTER:this.onCharacter(e);break;case XO.NULL_CHARACTER:this.onNullCharacter(e);break;case XO.COMMENT:this.onComment(e);break;case XO.DOCTYPE:this.onDoctype(e);break;case XO.START_TAG:this._processStartTag(e);break;case XO.END_TAG:this.onEndTag(e);break;case XO.EOF:this.onEof(e);break;case XO.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return sN(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex(e=>e.type===zI.Marker||this.openElements.contains(e.element));for(let n=-1===t?e-1:t-1;n>=0;n--){const e=this.activeFormattingElements.entries[n];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=lN.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(cI.P),this.openElements.popUntilTagNamePopped(cI.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case cI.TR:return void(this.insertionMode=lN.IN_ROW);case cI.TBODY:case cI.THEAD:case cI.TFOOT:return void(this.insertionMode=lN.IN_TABLE_BODY);case cI.CAPTION:return void(this.insertionMode=lN.IN_CAPTION);case cI.COLGROUP:return void(this.insertionMode=lN.IN_COLUMN_GROUP);case cI.TABLE:return void(this.insertionMode=lN.IN_TABLE);case cI.BODY:return void(this.insertionMode=lN.IN_BODY);case cI.FRAMESET:return void(this.insertionMode=lN.IN_FRAMESET);case cI.SELECT:return void this._resetInsertionModeForSelect(e);case cI.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case cI.HTML:return void(this.insertionMode=this.headElement?lN.AFTER_HEAD:lN.BEFORE_HEAD);case cI.TD:case cI.TH:if(e>0)return void(this.insertionMode=lN.IN_CELL);break;case cI.HEAD:if(e>0)return void(this.insertionMode=lN.IN_HEAD)}this.insertionMode=lN.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===cI.TEMPLATE)break;if(e===cI.TABLE)return void(this.insertionMode=lN.IN_SELECT_IN_TABLE)}this.insertionMode=lN.IN_SELECT}_isElementCausesFosterParenting(e){return uN.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case cI.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===iI.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case cI.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return vI[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case lN.INITIAL:SN(this,e);break;case lN.BEFORE_HTML:kN(this,e);break;case lN.BEFORE_HEAD:TN(this,e);break;case lN.IN_HEAD:CN(this,e);break;case lN.IN_HEAD_NO_SCRIPT:xN(this,e);break;case lN.AFTER_HEAD:ON(this,e);break;case lN.IN_BODY:case lN.IN_CAPTION:case lN.IN_CELL:case lN.IN_TEMPLATE:LN(this,e);break;case lN.TEXT:case lN.IN_SELECT:case lN.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case lN.IN_TABLE:case lN.IN_TABLE_BODY:case lN.IN_ROW:zN(this,e);break;case lN.IN_TABLE_TEXT:qN(this,e);break;case lN.IN_COLUMN_GROUP:XN(this,e);break;case lN.AFTER_BODY:iL(this,e);break;case lN.AFTER_AFTER_BODY:aL(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=$O,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case lN.INITIAL:SN(this,e);break;case lN.BEFORE_HTML:kN(this,e);break;case lN.BEFORE_HEAD:TN(this,e);break;case lN.IN_HEAD:CN(this,e);break;case lN.IN_HEAD_NO_SCRIPT:xN(this,e);break;case lN.AFTER_HEAD:ON(this,e);break;case lN.TEXT:this._insertCharacters(e);break;case lN.IN_TABLE:case lN.IN_TABLE_BODY:case lN.IN_ROW:zN(this,e);break;case lN.IN_COLUMN_GROUP:XN(this,e);break;case lN.AFTER_BODY:iL(this,e);break;case lN.AFTER_AFTER_BODY:aL(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)EN(this,e);else switch(this.insertionMode){case lN.INITIAL:case lN.BEFORE_HTML:case lN.BEFORE_HEAD:case lN.IN_HEAD:case lN.IN_HEAD_NO_SCRIPT:case lN.AFTER_HEAD:case lN.IN_BODY:case lN.IN_TABLE:case lN.IN_CAPTION:case lN.IN_COLUMN_GROUP:case lN.IN_TABLE_BODY:case lN.IN_ROW:case lN.IN_CELL:case lN.IN_SELECT:case lN.IN_SELECT_IN_TABLE:case lN.IN_TEMPLATE:case lN.IN_FRAMESET:case lN.AFTER_FRAMESET:EN(this,e);break;case lN.IN_TABLE_TEXT:VN(this,e);break;case lN.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case lN.AFTER_AFTER_BODY:case lN.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case lN.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?sI.QUIRKS:function(e){if(e.name!==WI)return sI.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return sI.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),YI.has(n))return sI.QUIRKS;let e=null===t?VI:qI;if(QI(n,e))return sI.QUIRKS;if(e=null===t?KI:XI,QI(n,e))return sI.LIMITED_QUIRKS}return sI.NO_QUIRKS}(t);(function(e){return e.name===WI&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)})(t)||e._err(t,KO.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=lN.BEFORE_HTML}(this,e);break;case lN.BEFORE_HEAD:case lN.IN_HEAD:case lN.IN_HEAD_NO_SCRIPT:case lN.AFTER_HEAD:this._err(e,KO.misplacedDoctype);break;case lN.IN_TABLE_TEXT:VN(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,KO.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID,n=t===cI.FONT&&e.attrs.some(({name:e})=>e===aI.COLOR||e===aI.SIZE||e===aI.FACE);return n||rN.has(t)}(t))sL(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===iI.MATHML?oN(t):r===iI.SVG&&(function(e){const t=nN.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=mI(e.tagName))}(t),iN(t)),aN(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case lN.INITIAL:SN(this,e);break;case lN.BEFORE_HTML:!function(e,t){t.tagID===cI.HTML?(e._insertElement(t,iI.HTML),e.insertionMode=lN.BEFORE_HEAD):kN(e,t)}(this,e);break;case lN.BEFORE_HEAD:!function(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.HEAD:e._insertElement(t,iI.HTML),e.headElement=e.openElements.current,e.insertionMode=lN.IN_HEAD;break;default:TN(e,t)}}(this,e);break;case lN.IN_HEAD:wN(this,e);break;case lN.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.BASEFONT:case cI.BGSOUND:case cI.HEAD:case cI.LINK:case cI.META:case cI.NOFRAMES:case cI.STYLE:wN(e,t);break;case cI.NOSCRIPT:e._err(t,KO.nestedNoscriptInHead);break;default:xN(e,t)}}(this,e);break;case lN.AFTER_HEAD:!function(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.BODY:e._insertElement(t,iI.HTML),e.framesetOk=!1,e.insertionMode=lN.IN_BODY;break;case cI.FRAMESET:e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_FRAMESET;break;case cI.BASE:case cI.BASEFONT:case cI.BGSOUND:case cI.LINK:case cI.META:case cI.NOFRAMES:case cI.SCRIPT:case cI.STYLE:case cI.TEMPLATE:case cI.TITLE:e._err(t,KO.abandonedHeadElementChild),e.openElements.push(e.headElement,cI.HEAD),wN(e,t),e.openElements.remove(e.headElement);break;case cI.HEAD:e._err(t,KO.misplacedStartTagForHeadElement);break;default:ON(e,t)}}(this,e);break;case lN.IN_BODY:BN(this,e);break;case lN.IN_TABLE:UN(this,e);break;case lN.IN_TABLE_TEXT:VN(this,e);break;case lN.IN_CAPTION:!function(e,t){const n=t.tagID;YN.has(n)?e.openElements.hasInTableScope(cI.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(cI.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=lN.IN_TABLE,UN(e,t)):BN(e,t)}(this,e);break;case lN.IN_COLUMN_GROUP:KN(this,e);break;case lN.IN_TABLE_BODY:QN(this,e);break;case lN.IN_ROW:JN(this,e);break;case lN.IN_CELL:!function(e,t){const n=t.tagID;YN.has(n)?(e.openElements.hasInTableScope(cI.TD)||e.openElements.hasInTableScope(cI.TH))&&(e._closeTableCell(),JN(e,t)):BN(e,t)}(this,e);break;case lN.IN_SELECT:tL(this,e);break;case lN.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===cI.CAPTION||n===cI.TABLE||n===cI.TBODY||n===cI.TFOOT||n===cI.THEAD||n===cI.TR||n===cI.TD||n===cI.TH?(e.openElements.popUntilTagNamePopped(cI.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tL(e,t)}(this,e);break;case lN.IN_TEMPLATE:!function(e,t){switch(t.tagID){case cI.BASE:case cI.BASEFONT:case cI.BGSOUND:case cI.LINK:case cI.META:case cI.NOFRAMES:case cI.SCRIPT:case cI.STYLE:case cI.TEMPLATE:case cI.TITLE:wN(e,t);break;case cI.CAPTION:case cI.COLGROUP:case cI.TBODY:case cI.TFOOT:case cI.THEAD:e.tmplInsertionModeStack[0]=lN.IN_TABLE,e.insertionMode=lN.IN_TABLE,UN(e,t);break;case cI.COL:e.tmplInsertionModeStack[0]=lN.IN_COLUMN_GROUP,e.insertionMode=lN.IN_COLUMN_GROUP,KN(e,t);break;case cI.TR:e.tmplInsertionModeStack[0]=lN.IN_TABLE_BODY,e.insertionMode=lN.IN_TABLE_BODY,QN(e,t);break;case cI.TD:case cI.TH:e.tmplInsertionModeStack[0]=lN.IN_ROW,e.insertionMode=lN.IN_ROW,JN(e,t);break;default:e.tmplInsertionModeStack[0]=lN.IN_BODY,e.insertionMode=lN.IN_BODY,BN(e,t)}}(this,e);break;case lN.AFTER_BODY:!function(e,t){t.tagID===cI.HTML?BN(e,t):iL(e,t)}(this,e);break;case lN.IN_FRAMESET:!function(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.FRAMESET:e._insertElement(t,iI.HTML);break;case cI.FRAME:e._appendElement(t,iI.HTML),t.ackSelfClosing=!0;break;case cI.NOFRAMES:wN(e,t)}}(this,e);break;case lN.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.NOFRAMES:wN(e,t)}}(this,e);break;case lN.AFTER_AFTER_BODY:!function(e,t){t.tagID===cI.HTML?BN(e,t):aL(e,t)}(this,e);break;case lN.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.NOFRAMES:wN(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===cI.P||t.tagID===cI.BR)return sL(e),void e._endTagOutsideForeignContent(t);for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===iI.HTML){e._endTagOutsideForeignContent(t);break}const o=e.treeAdapter.getTagName(r);if(o.toLowerCase()===t.tagName){t.tagName=o,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case lN.INITIAL:SN(this,e);break;case lN.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==cI.HTML&&n!==cI.HEAD&&n!==cI.BODY&&n!==cI.BR||kN(e,t)}(this,e);break;case lN.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===cI.HEAD||n===cI.BODY||n===cI.HTML||n===cI.BR?TN(e,t):e._err(t,KO.endTagWithoutMatchingOpenElement)}(this,e);break;case lN.IN_HEAD:!function(e,t){switch(t.tagID){case cI.HEAD:e.openElements.pop(),e.insertionMode=lN.AFTER_HEAD;break;case cI.BODY:case cI.BR:case cI.HTML:CN(e,t);break;case cI.TEMPLATE:AN(e,t);break;default:e._err(t,KO.endTagWithoutMatchingOpenElement)}}(this,e);break;case lN.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case cI.NOSCRIPT:e.openElements.pop(),e.insertionMode=lN.IN_HEAD;break;case cI.BR:xN(e,t);break;default:e._err(t,KO.endTagWithoutMatchingOpenElement)}}(this,e);break;case lN.AFTER_HEAD:!function(e,t){switch(t.tagID){case cI.BODY:case cI.HTML:case cI.BR:ON(e,t);break;case cI.TEMPLATE:AN(e,t);break;default:e._err(t,KO.endTagWithoutMatchingOpenElement)}}(this,e);break;case lN.IN_BODY:FN(this,e);break;case lN.TEXT:!function(e,t){var n;t.tagID===cI.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case lN.IN_TABLE:jN(this,e);break;case lN.IN_TABLE_TEXT:VN(this,e);break;case lN.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case cI.CAPTION:case cI.TABLE:e.openElements.hasInTableScope(cI.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(cI.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=lN.IN_TABLE,n===cI.TABLE&&jN(e,t));break;case cI.BODY:case cI.COL:case cI.COLGROUP:case cI.HTML:case cI.TBODY:case cI.TD:case cI.TFOOT:case cI.TH:case cI.THEAD:case cI.TR:break;default:FN(e,t)}}(this,e);break;case lN.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case cI.COLGROUP:e.openElements.currentTagId===cI.COLGROUP&&(e.openElements.pop(),e.insertionMode=lN.IN_TABLE);break;case cI.TEMPLATE:AN(e,t);break;case cI.COL:break;default:XN(e,t)}}(this,e);break;case lN.IN_TABLE_BODY:ZN(this,e);break;case lN.IN_ROW:eL(this,e);break;case lN.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case cI.TD:case cI.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=lN.IN_ROW);break;case cI.TABLE:case cI.TBODY:case cI.TFOOT:case cI.THEAD:case cI.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),eL(e,t));break;case cI.BODY:case cI.CAPTION:case cI.COL:case cI.COLGROUP:case cI.HTML:break;default:FN(e,t)}}(this,e);break;case lN.IN_SELECT:nL(this,e);break;case lN.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===cI.CAPTION||n===cI.TABLE||n===cI.TBODY||n===cI.TFOOT||n===cI.THEAD||n===cI.TR||n===cI.TD||n===cI.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(cI.SELECT),e._resetInsertionMode(),e.onEndTag(t)):nL(e,t)}(this,e);break;case lN.IN_TEMPLATE:!function(e,t){t.tagID===cI.TEMPLATE&&AN(e,t)}(this,e);break;case lN.AFTER_BODY:oL(this,e);break;case lN.IN_FRAMESET:!function(e,t){t.tagID!==cI.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===cI.FRAMESET||(e.insertionMode=lN.AFTER_FRAMESET))}(this,e);break;case lN.AFTER_FRAMESET:!function(e,t){t.tagID===cI.HTML&&(e.insertionMode=lN.AFTER_AFTER_FRAMESET)}(this,e);break;case lN.AFTER_AFTER_BODY:aL(this,e)}}onEof(e){switch(this.insertionMode){case lN.INITIAL:SN(this,e);break;case lN.BEFORE_HTML:kN(this,e);break;case lN.BEFORE_HEAD:TN(this,e);break;case lN.IN_HEAD:CN(this,e);break;case lN.IN_HEAD_NO_SCRIPT:xN(this,e);break;case lN.AFTER_HEAD:ON(this,e);break;case lN.IN_BODY:case lN.IN_TABLE:case lN.IN_CAPTION:case lN.IN_COLUMN_GROUP:case lN.IN_TABLE_BODY:case lN.IN_ROW:case lN.IN_CELL:case lN.IN_SELECT:case lN.IN_SELECT_IN_TABLE:HN(this,e);break;case lN.TEXT:!function(e,t){e._err(t,KO.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case lN.IN_TABLE_TEXT:VN(this,e);break;case lN.IN_TEMPLATE:rL(this,e);break;case lN.AFTER_BODY:case lN.IN_FRAMESET:case lN.AFTER_FRAMESET:case lN.AFTER_AFTER_BODY:case lN.AFTER_AFTER_FRAMESET:_N(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===FO.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case lN.IN_HEAD:case lN.IN_HEAD_NO_SCRIPT:case lN.AFTER_HEAD:case lN.TEXT:case lN.IN_COLUMN_GROUP:case lN.IN_SELECT:case lN.IN_SELECT_IN_TABLE:case lN.IN_FRAMESET:case lN.AFTER_FRAMESET:this._insertCharacters(e);break;case lN.IN_BODY:case lN.IN_CAPTION:case lN.IN_CELL:case lN.IN_TEMPLATE:case lN.AFTER_BODY:case lN.AFTER_AFTER_BODY:case lN.AFTER_AFTER_FRAMESET:NN(this,e);break;case lN.IN_TABLE:case lN.IN_TABLE_BODY:case lN.IN_ROW:zN(this,e);break;case lN.IN_TABLE_TEXT:WN(this,e)}}}function hN(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):$N(e,t),n}function fN(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break;e._isSpecialElement(o,e.openElements.tagIDs[r])&&(n=o)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function gN(e,t,n){let r=t,o=e.openElements.getCommonAncestor(t);for(let i=0,a=o;a!==n;i++,a=o){o=e.openElements.getCommonAncestor(a);const n=e.activeFormattingElements.getElementEntry(a),s=n&&i>=3;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=mN(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function mN(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function bN(e,t,n){const r=mI(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const o=e.treeAdapter.getNamespaceURI(t);r===cI.TEMPLATE&&o===iI.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function vN(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:o}=n,i=e.treeAdapter.createElement(o.tagName,r,o.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,o),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,o.tagID)}function yN(e,t){for(let n=0;n<8;n++){const n=hN(e,t);if(!n)break;const r=fN(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;const o=gN(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(o),i&&bN(e,i,o),vN(e,r,n)}}function EN(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function _N(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function SN(e,t){e._err(t,KO.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,sI.QUIRKS),e.insertionMode=lN.BEFORE_HTML,e._processToken(t)}function kN(e,t){e._insertFakeRootElement(),e.insertionMode=lN.BEFORE_HEAD,e._processToken(t)}function TN(e,t){e._insertFakeElement(lI.HEAD,cI.HEAD),e.headElement=e.openElements.current,e.insertionMode=lN.IN_HEAD,e._processToken(t)}function wN(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.BASE:case cI.BASEFONT:case cI.BGSOUND:case cI.LINK:case cI.META:e._appendElement(t,iI.HTML),t.ackSelfClosing=!0;break;case cI.TITLE:e._switchToTextParsing(t,_I.RCDATA);break;case cI.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,_I.RAWTEXT):(e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_HEAD_NO_SCRIPT);break;case cI.NOFRAMES:case cI.STYLE:e._switchToTextParsing(t,_I.RAWTEXT);break;case cI.SCRIPT:e._switchToTextParsing(t,_I.SCRIPT_DATA);break;case cI.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=lN.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(lN.IN_TEMPLATE);break;case cI.HEAD:e._err(t,KO.misplacedStartTagForHeadElement);break;default:CN(e,t)}}function AN(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==cI.TEMPLATE&&e._err(t,KO.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(cI.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,KO.endTagWithoutMatchingOpenElement)}function CN(e,t){e.openElements.pop(),e.insertionMode=lN.AFTER_HEAD,e._processToken(t)}function xN(e,t){const n=t.type===XO.EOF?KO.openElementsLeftAfterEof:KO.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=lN.IN_HEAD,e._processToken(t)}function ON(e,t){e._insertFakeElement(lI.BODY,cI.BODY),e.insertionMode=lN.IN_BODY,IN(e,t)}function IN(e,t){switch(t.type){case XO.CHARACTER:LN(e,t);break;case XO.WHITESPACE_CHARACTER:NN(e,t);break;case XO.COMMENT:EN(e,t);break;case XO.START_TAG:BN(e,t);break;case XO.END_TAG:FN(e,t);break;case XO.EOF:HN(e,t)}}function NN(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function LN(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function DN(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,iI.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function RN(e){const t=ZO(e,aI.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function MN(e,t){e._switchToTextParsing(t,_I.RAWTEXT)}function PN(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML)}function BN(e,t){switch(t.tagID){case cI.I:case cI.S:case cI.B:case cI.U:case cI.EM:case cI.TT:case cI.BIG:case cI.CODE:case cI.FONT:case cI.SMALL:case cI.STRIKE:case cI.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case cI.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(lI.A);n&&(yN(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case cI.H1:case cI.H2:case cI.H3:case cI.H4:case cI.H5:case cI.H6:!function(e,t){e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&yI.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,iI.HTML)}(e,t);break;case cI.P:case cI.DL:case cI.OL:case cI.UL:case cI.DIV:case cI.DIR:case cI.NAV:case cI.MAIN:case cI.MENU:case cI.ASIDE:case cI.CENTER:case cI.FIGURE:case cI.FOOTER:case cI.HEADER:case cI.HGROUP:case cI.DIALOG:case cI.DETAILS:case cI.ADDRESS:case cI.ARTICLE:case cI.SEARCH:case cI.SECTION:case cI.SUMMARY:case cI.FIELDSET:case cI.BLOCKQUOTE:case cI.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._insertElement(t,iI.HTML)}(e,t);break;case cI.LI:case cI.DD:case cI.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const t=e.openElements.tagIDs[r];if(n===cI.LI&&t===cI.LI||(n===cI.DD||n===cI.DT)&&(t===cI.DD||t===cI.DT)){e.openElements.generateImpliedEndTagsWithExclusion(t),e.openElements.popUntilTagNamePopped(t);break}if(t!==cI.ADDRESS&&t!==cI.DIV&&t!==cI.P&&e._isSpecialElement(e.openElements.items[r],t))break}e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._insertElement(t,iI.HTML)}(e,t);break;case cI.BR:case cI.IMG:case cI.WBR:case cI.AREA:case cI.EMBED:case cI.KEYGEN:DN(e,t);break;case cI.HR:!function(e,t){e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._appendElement(t,iI.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case cI.RB:case cI.RTC:!function(e,t){e.openElements.hasInScope(cI.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,iI.HTML)}(e,t);break;case cI.RT:case cI.RP:!function(e,t){e.openElements.hasInScope(cI.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(cI.RTC),e._insertElement(t,iI.HTML)}(e,t);break;case cI.PRE:case cI.LISTING:!function(e,t){e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._insertElement(t,iI.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case cI.XMP:!function(e,t){e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,_I.RAWTEXT)}(e,t);break;case cI.SVG:!function(e,t){e._reconstructActiveFormattingElements(),iN(t),aN(t),t.selfClosing?e._appendElement(t,iI.SVG):e._insertElement(t,iI.SVG),t.ackSelfClosing=!0}(e,t);break;case cI.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case cI.BASE:case cI.LINK:case cI.META:case cI.STYLE:case cI.TITLE:case cI.SCRIPT:case cI.BGSOUND:case cI.BASEFONT:case cI.TEMPLATE:wN(e,t);break;case cI.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case cI.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._insertElement(t,iI.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case cI.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(cI.NOBR)&&(yN(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,iI.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case cI.MATH:!function(e,t){e._reconstructActiveFormattingElements(),oN(t),aN(t),t.selfClosing?e._appendElement(t,iI.MATHML):e._insertElement(t,iI.MATHML),t.ackSelfClosing=!0}(e,t);break;case cI.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==sI.QUIRKS&&e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._insertElement(t,iI.HTML),e.framesetOk=!1,e.insertionMode=lN.IN_TABLE}(e,t);break;case cI.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,iI.HTML),RN(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case cI.PARAM:case cI.TRACK:case cI.SOURCE:!function(e,t){e._appendElement(t,iI.HTML),t.ackSelfClosing=!0}(e,t);break;case cI.IMAGE:!function(e,t){t.tagName=lI.IMG,t.tagID=cI.IMG,DN(e,t)}(e,t);break;case cI.BUTTON:!function(e,t){e.openElements.hasInScope(cI.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(cI.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML),e.framesetOk=!1}(e,t);break;case cI.APPLET:case cI.OBJECT:case cI.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case cI.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,_I.RAWTEXT)}(e,t);break;case cI.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===lN.IN_TABLE||e.insertionMode===lN.IN_CAPTION||e.insertionMode===lN.IN_TABLE_BODY||e.insertionMode===lN.IN_ROW||e.insertionMode===lN.IN_CELL?lN.IN_SELECT_IN_TABLE:lN.IN_SELECT}(e,t);break;case cI.OPTION:case cI.OPTGROUP:!function(e,t){e.openElements.currentTagId===cI.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,iI.HTML)}(e,t);break;case cI.NOEMBED:case cI.NOFRAMES:MN(e,t);break;case cI.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_FRAMESET)}(e,t);break;case cI.TEXTAREA:!function(e,t){e._insertElement(t,iI.HTML),e.skipNextNewLine=!0,e.tokenizer.state=_I.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=lN.TEXT}(e,t);break;case cI.NOSCRIPT:e.options.scriptingEnabled?MN(e,t):PN(e,t);break;case cI.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(cI.P)&&e._closePElement(),e._insertElement(t,iI.HTML),e.tokenizer.state=_I.PLAINTEXT}(e,t);break;case cI.COL:case cI.TH:case cI.TD:case cI.TR:case cI.HEAD:case cI.FRAME:case cI.TBODY:case cI.TFOOT:case cI.THEAD:case cI.CAPTION:case cI.COLGROUP:break;default:PN(e,t)}}function $N(e,t){const n=t.tagName,r=t.tagID;for(let o=e.openElements.stackTop;o>0;o--){const t=e.openElements.items[o],i=e.openElements.tagIDs[o];if(r===i&&(r!==cI.UNKNOWN||e.treeAdapter.getTagName(t)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=o&&e.openElements.shortenToLength(o);break}if(e._isSpecialElement(t,i))break}}function FN(e,t){switch(t.tagID){case cI.A:case cI.B:case cI.I:case cI.S:case cI.U:case cI.EM:case cI.TT:case cI.BIG:case cI.CODE:case cI.FONT:case cI.NOBR:case cI.SMALL:case cI.STRIKE:case cI.STRONG:yN(e,t);break;case cI.P:!function(e){e.openElements.hasInButtonScope(cI.P)||e._insertFakeElement(lI.P,cI.P),e._closePElement()}(e);break;case cI.DL:case cI.UL:case cI.OL:case cI.DIR:case cI.DIV:case cI.NAV:case cI.PRE:case cI.MAIN:case cI.MENU:case cI.ASIDE:case cI.BUTTON:case cI.CENTER:case cI.FIGURE:case cI.FOOTER:case cI.HEADER:case cI.HGROUP:case cI.DIALOG:case cI.ADDRESS:case cI.ARTICLE:case cI.DETAILS:case cI.SEARCH:case cI.SECTION:case cI.SUMMARY:case cI.LISTING:case cI.FIELDSET:case cI.BLOCKQUOTE:case cI.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case cI.LI:!function(e){e.openElements.hasInListItemScope(cI.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(cI.LI),e.openElements.popUntilTagNamePopped(cI.LI))}(e);break;case cI.DD:case cI.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case cI.H1:case cI.H2:case cI.H3:case cI.H4:case cI.H5:case cI.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case cI.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(lI.BR,cI.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case cI.BODY:!function(e,t){if(e.openElements.hasInScope(cI.BODY)&&(e.insertionMode=lN.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case cI.HTML:!function(e,t){e.openElements.hasInScope(cI.BODY)&&(e.insertionMode=lN.AFTER_BODY,oL(e,t))}(e,t);break;case cI.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(cI.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(cI.FORM):n&&e.openElements.remove(n))}(e);break;case cI.APPLET:case cI.OBJECT:case cI.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case cI.TEMPLATE:AN(e,t);break;default:$N(e,t)}}function HN(e,t){e.tmplInsertionModeStack.length>0?rL(e,t):_N(e,t)}function zN(e,t){if(void 0!==e.openElements.currentTagId&&uN.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=lN.IN_TABLE_TEXT,t.type){case XO.CHARACTER:qN(e,t);break;case XO.WHITESPACE_CHARACTER:WN(e,t)}else GN(e,t)}function UN(e,t){switch(t.tagID){case cI.TD:case cI.TH:case cI.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(lI.TBODY,cI.TBODY),e.insertionMode=lN.IN_TABLE_BODY,QN(e,t)}(e,t);break;case cI.STYLE:case cI.SCRIPT:case cI.TEMPLATE:wN(e,t);break;case cI.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(lI.COLGROUP,cI.COLGROUP),e.insertionMode=lN.IN_COLUMN_GROUP,KN(e,t)}(e,t);break;case cI.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,iI.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case cI.TABLE:!function(e,t){e.openElements.hasInTableScope(cI.TABLE)&&(e.openElements.popUntilTagNamePopped(cI.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case cI.TBODY:case cI.TFOOT:case cI.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_TABLE_BODY}(e,t);break;case cI.INPUT:!function(e,t){RN(t)?e._appendElement(t,iI.HTML):GN(e,t),t.ackSelfClosing=!0}(e,t);break;case cI.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_CAPTION}(e,t);break;case cI.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_COLUMN_GROUP}(e,t);break;default:GN(e,t)}}function jN(e,t){switch(t.tagID){case cI.TABLE:e.openElements.hasInTableScope(cI.TABLE)&&(e.openElements.popUntilTagNamePopped(cI.TABLE),e._resetInsertionMode());break;case cI.TEMPLATE:AN(e,t);break;case cI.BODY:case cI.CAPTION:case cI.COL:case cI.COLGROUP:case cI.HTML:case cI.TBODY:case cI.TD:case cI.TFOOT:case cI.TH:case cI.THEAD:case cI.TR:break;default:GN(e,t)}}function GN(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,IN(e,t),e.fosterParentingEnabled=n}function WN(e,t){e.pendingCharacterTokens.push(t)}function qN(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function VN(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)GN(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const YN=new Set([cI.CAPTION,cI.COL,cI.COLGROUP,cI.TBODY,cI.TD,cI.TFOOT,cI.TH,cI.THEAD,cI.TR]);function KN(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.COL:e._appendElement(t,iI.HTML),t.ackSelfClosing=!0;break;case cI.TEMPLATE:wN(e,t);break;default:XN(e,t)}}function XN(e,t){e.openElements.currentTagId===cI.COLGROUP&&(e.openElements.pop(),e.insertionMode=lN.IN_TABLE,e._processToken(t))}function QN(e,t){switch(t.tagID){case cI.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_ROW;break;case cI.TH:case cI.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(lI.TR,cI.TR),e.insertionMode=lN.IN_ROW,JN(e,t);break;case cI.CAPTION:case cI.COL:case cI.COLGROUP:case cI.TBODY:case cI.TFOOT:case cI.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE,UN(e,t));break;default:UN(e,t)}}function ZN(e,t){const n=t.tagID;switch(t.tagID){case cI.TBODY:case cI.TFOOT:case cI.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE);break;case cI.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE,jN(e,t));break;case cI.BODY:case cI.CAPTION:case cI.COL:case cI.COLGROUP:case cI.HTML:case cI.TD:case cI.TH:case cI.TR:break;default:jN(e,t)}}function JN(e,t){switch(t.tagID){case cI.TH:case cI.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,iI.HTML),e.insertionMode=lN.IN_CELL,e.activeFormattingElements.insertMarker();break;case cI.CAPTION:case cI.COL:case cI.COLGROUP:case cI.TBODY:case cI.TFOOT:case cI.THEAD:case cI.TR:e.openElements.hasInTableScope(cI.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE_BODY,QN(e,t));break;default:UN(e,t)}}function eL(e,t){switch(t.tagID){case cI.TR:e.openElements.hasInTableScope(cI.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE_BODY);break;case cI.TABLE:e.openElements.hasInTableScope(cI.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE_BODY,ZN(e,t));break;case cI.TBODY:case cI.TFOOT:case cI.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(cI.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=lN.IN_TABLE_BODY,ZN(e,t));break;case cI.BODY:case cI.CAPTION:case cI.COL:case cI.COLGROUP:case cI.HTML:case cI.TD:case cI.TH:break;default:jN(e,t)}}function tL(e,t){switch(t.tagID){case cI.HTML:BN(e,t);break;case cI.OPTION:e.openElements.currentTagId===cI.OPTION&&e.openElements.pop(),e._insertElement(t,iI.HTML);break;case cI.OPTGROUP:e.openElements.currentTagId===cI.OPTION&&e.openElements.pop(),e.openElements.currentTagId===cI.OPTGROUP&&e.openElements.pop(),e._insertElement(t,iI.HTML);break;case cI.HR:e.openElements.currentTagId===cI.OPTION&&e.openElements.pop(),e.openElements.currentTagId===cI.OPTGROUP&&e.openElements.pop(),e._appendElement(t,iI.HTML),t.ackSelfClosing=!0;break;case cI.INPUT:case cI.KEYGEN:case cI.TEXTAREA:case cI.SELECT:e.openElements.hasInSelectScope(cI.SELECT)&&(e.openElements.popUntilTagNamePopped(cI.SELECT),e._resetInsertionMode(),t.tagID!==cI.SELECT&&e._processStartTag(t));break;case cI.SCRIPT:case cI.TEMPLATE:wN(e,t)}}function nL(e,t){switch(t.tagID){case cI.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===cI.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===cI.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===cI.OPTGROUP&&e.openElements.pop();break;case cI.OPTION:e.openElements.currentTagId===cI.OPTION&&e.openElements.pop();break;case cI.SELECT:e.openElements.hasInSelectScope(cI.SELECT)&&(e.openElements.popUntilTagNamePopped(cI.SELECT),e._resetInsertionMode());break;case cI.TEMPLATE:AN(e,t)}}function rL(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(cI.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):_N(e,t)}function oL(e,t){var n;if(t.tagID===cI.HTML){if(e.fragmentContext||(e.insertionMode=lN.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===cI.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else iL(e,t)}function iL(e,t){e.insertionMode=lN.IN_BODY,IN(e,t)}function aL(e,t){e.insertionMode=lN.IN_BODY,IN(e,t)}function sL(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==iI.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}new Set([lI.AREA,lI.BASE,lI.BASEFONT,lI.BGSOUND,lI.BR,lI.COL,lI.EMBED,lI.FRAME,lI.HR,lI.IMG,lI.INPUT,lI.KEYGEN,lI.LINK,lI.META,lI.PARAM,lI.SOURCE,lI.TRACK,lI.WBR]);const lL=uL("end"),cL=uL("start");function uL(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}const dL=function(e){if(null==e)return hL;if("function"==typeof e)return pL(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=dL(e[n]);return pL(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){const t=e;return pL(n);function n(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e);if("string"==typeof e)return function(e){return pL(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function pL(e){return function(t,n,r){return Boolean(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function hL(){return!0}const fL=[],gL=!0,mL=!1,bL="skip";function vL(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=dL(o),a=r?-1:1;!function e(o,s,l){const c=o&&"object"==typeof o?o:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,p=fL;if((!t||i(o,s,l[l.length-1]||void 0))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[gL,e]:null==e?fL:[e]}(n(o,l)),p[0]===mL))return p;if("children"in o&&o.children){const t=o;if(t.children&&p[0]!==bL)for(u=(r?t.children.length:-1)+a,d=l.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(c=e(n,u,d)(),c[0]===mL)return c;u="number"==typeof c[1]?c[1]:u+a}}return p}}(e,void 0,[])()}const yL=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,EL=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),_L={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function SL(e,t){const n=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=OO("type",{handlers:{root:TL,element:wL,text:AL,comment:OL,doctype:CL,raw:IL},unknown:NL}),o={parser:n?new pN(_L):pN.getFragmentParser(void 0,_L),handle(e){r(e,o)},stitches:!1,options:t||{}};r(e,o),LL(o,cL());const i=function(e,t){const n=t||{};return zx({file:n.file||void 0,location:!1,schema:"svg"===n.space?Cx:Ax,verbose:n.verbose||!1},e)}(n?o.parser.document:o.parser.getFragment(),{file:o.options.file});return o.stitches&&function(e,t,n,r){let o,i,a;i=t,a=n,o=r,vL(e,i,function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)},o)}(i,"comment",function(e,t,n){const r=e;if(r.value.stitch&&n&&void 0!==t)return n.children[t]=r.value.stitch,t}),"root"===i.type&&1===i.children.length&&i.children[0].type===e.type?i.children[0]:i}function kL(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function TL(e,t){kL(e.children,t)}function wL(e,t){!function(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===_I.PLAINTEXT)return;LL(t,cL(e));const r=t.parser.openElements.current;let o="namespaceURI"in r?r.namespaceURI:$x.html;o===$x.html&&"svg"===n&&(o=$x.svg);const i=function(e,t){const n=(t||IO).space;return LO(e,"svg"===n?CO:AO)}({...e,children:[]},{space:o===$x.svg?"svg":"html"}),a={type:XO.START_TAG,tagName:n,tagID:mI(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:RL(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}(e,t),kL(e.children,t),function(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&PO.includes(n))return;if(t.parser.tokenizer.state===_I.PLAINTEXT)return;LL(t,lL(e));const r={type:XO.END_TAG,tagName:n,tagID:mI(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:RL(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n!==t.parser.tokenizer.lastStartTagName||t.parser.tokenizer.state!==_I.RCDATA&&t.parser.tokenizer.state!==_I.RAWTEXT&&t.parser.tokenizer.state!==_I.SCRIPT_DATA||(t.parser.tokenizer.state=_I.DATA)}(e,t)}function AL(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:XO.CHARACTER,chars:e.value,location:RL(e)};LL(t,cL(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function CL(e,t){const n={type:XO.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:RL(e)};LL(t,cL(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function xL(e,t){t.stitches=!0;const n=function(e){return VC("children"in e?{...e,children:[]}:e)}(e);if("children"in e&&"children"in n){const r=SL({type:"root",children:e.children},t.options);n.children=r.children}OL({type:"comment",value:{stitch:n}},t)}function OL(e,t){const n=e.value,r={type:XO.COMMENT,data:n,location:RL(e)};LL(t,cL(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function IL(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,DL(t,cL(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(yL,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function NL(e,t){const n=e;if(!t.options.passThrough||!t.options.passThrough.includes(n.type)){let e="";throw EL.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+e)}xL(n,t)}function LL(e,t){DL(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=_I.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function DL(e,t){if(t&&void 0!==t.offset){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=1-t.column,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function RL(e){const t=cL(e)||{line:void 0,column:void 0,offset:void 0},n=lL(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function ML(e){return function(t,n){return SL(t,{...e,file:n})}}function PL(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=PL(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}var BL=function(e){var t,n;if("function"!=typeof e)throw new Error("expected a function but got "+e);return function(){return t||(t=!0,n=e.apply(this,arguments),e=void 0),n}};const $L=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;function FL(e){const t={};let n;for(;n=$L.exec(e);)t[n[1]]=n[2];return t}function HL(e,t){-1===e.indexOf(t)&&e.push(t)}const zL=(e,t,n)=>Math.min(Math.max(n,e),t),UL={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},jL=e=>"number"==typeof e,GL=e=>Array.isArray(e)&&!jL(e[0]),WL=(e,t,n)=>-n*e+n*t+e,qL=()=>{},VL=e=>e,YL=(e,t,n)=>t-e===0?1:(n-e)/(t-e);function KL(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=YL(0,t,r);e.push(WL(n,1,o))}}function XL(e,t=function(e){const t=[0];return KL(t,e-1),t}(e.length),n=VL){const r=e.length,o=r-t.length;return o>0&&KL(t,o),o=>{let i=0;for(;i<r-2&&!(o<t[i+1]);i++);let a=zL(0,1,YL(t[i],t[i+1],o));const s=function(e,t){return GL(e)?e[((e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e})(0,e.length,t)]:e}(n,i);return a=s(a),WL(e[i],e[i+1],a)}}const QL=e=>Array.isArray(e)&&jL(e[0]),ZL=e=>"object"==typeof e&&Boolean(e.createAnimation),JL=e=>"function"==typeof e,eD=e=>1e3*e,tD=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function nD(e,t,n,r){if(e===t&&n===r)return VL;const o=t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=tD(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:tD(o(e),t,r)}const rD={ease:nD(.25,.1,.25,1),"ease-in":nD(.42,0,1,1),"ease-in-out":nD(.42,0,.58,1),"ease-out":nD(0,0,.58,1)},oD=/\((.*?)\)/;function iD(e){if(JL(e))return e;if(QL(e))return nD(...e);const t=rD[e];if(t)return t;if(e.startsWith("steps")){const t=oD.exec(e);if(t){const e=t[1].split(",");return((e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,o="end"===t?Math.floor(r):Math.ceil(r);return zL(0,1,o/e)})(parseFloat(e[0]),e[1].trim())}}return VL}class aD{constructor(e,t=[0,1],{easing:n,duration:r=UL.duration,delay:o=UL.delay,endDelay:i=UL.endDelay,repeat:a=UL.repeat,offset:s,direction:l="normal",autoplay:c=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=VL,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((e,t)=>{this.resolve=e,this.reject=t}),n=n||UL.easing,ZL(n)){const e=n.createAnimation(t);n=e.easing,t=e.keyframes||t,r=e.duration||r}this.repeat=a,this.easing=GL(n)?VL:iD(n),this.updateDuration(r);const u=XL(t,s,GL(n)?n.map(iD):VL);this.tick=t=>{var n;let r=0;r=void 0!==this.pauseTime?this.pauseTime:(t-this.startTime)*this.rate,this.t=r,r/=1e3,r=Math.max(r-o,0),"finished"===this.playState&&void 0===this.pauseTime&&(r=this.totalDuration);const a=r/this.duration;let s=Math.floor(a),c=a%1;!c&&a>=1&&(c=1),1===c&&s--;const d=s%2;("reverse"===l||"alternate"===l&&d||"alternate-reverse"===l&&!d)&&(c=1-c);const p=r>=this.totalDuration?1:Math.min(c,1),h=u(this.easing(p));e(h),void 0===this.pauseTime&&("finished"===this.playState||r>=this.totalDuration+i)?(this.playState="finished",null===(n=this.resolve)||void 0===n||n.call(this,h)):"idle"!==this.playState&&(this.frameRequestId=requestAnimationFrame(this.tick))},c&&this.play()}play(){const e=performance.now();this.playState="running",void 0!==this.pauseTime?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",void 0!==this.frameRequestId&&cancelAnimationFrame(this.frameRequestId),null===(e=this.reject)||void 0===e||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){void 0!==this.pauseTime||0===this.rate?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}class sD{setAnimation(e){this.animation=e,null==e||e.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}const lD=new WeakMap;function cD(e){return lD.has(e)||lD.set(e,{transforms:[],values:new Map}),lD.get(e)}const uD=["","X","Y","Z"],dD={x:"translateX",y:"translateY",z:"translateZ"},pD={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},hD={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:pD,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:VL},skew:pD},fD=new Map,gD=e=>`--motion-${e}`,mD=["x","y","z"];["translate","scale","rotate","skew"].forEach(e=>{uD.forEach(t=>{mD.push(e+t),fD.set(gD(e+t),hD[e])})});const bD=(e,t)=>mD.indexOf(e)-mD.indexOf(t),vD=new Set(mD),yD=e=>vD.has(e),ED=e=>e.sort(bD).reduce(_D,"").trim(),_D=(e,t)=>`${e} ${t}(var(${gD(t)}))`,SD=e=>e.startsWith("--"),kD=new Set,TD=(e,t)=>document.createElement("div").animate(e,t),wD={cssRegisterProperty:()=>"undefined"!=typeof CSS&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{TD({opacity:[1]})}catch(ro){return!1}return!0},finished:()=>Boolean(TD({opacity:[0,1]},{duration:.001}).finished),linearEasing:()=>{try{TD({opacity:0},{easing:"linear(0, 1)"})}catch(ro){return!1}return!0}},AD={},CD={};for(const e in wD)CD[e]=()=>(void 0===AD[e]&&(AD[e]=wD[e]()),AD[e]);const xD=(e,t)=>JL(e)?CD.linearEasing()?`linear(${((e,t)=>{let n="";const r=Math.round(t/.015);for(let o=0;o<r;o++)n+=e(YL(0,r-1,o))+", ";return n.substring(0,n.length-2)})(e,t)})`:UL.easing:QL(e)?OD(e):e,OD=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`;function ID(e){return dD[e]&&(e=dD[e]),yD(e)?gD(e):e}const ND=(e,t)=>{t=ID(t);let n=SD(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&0!==n){const e=fD.get(t);e&&(n=e.initialValue)}return n},LD=(e,t,n)=>{t=ID(t),SD(t)?e.style.setProperty(t,n):e.style[t]=n};function DD(e,t,n,r={},o){const i=window.__MOTION_DEV_TOOLS_RECORD,a=!1!==r.record&&i;let s,{duration:l=UL.duration,delay:c=UL.delay,endDelay:u=UL.endDelay,repeat:d=UL.repeat,easing:p=UL.easing,persist:h=!1,direction:f,offset:g,allowWebkitAcceleration:m=!1,autoplay:b=!0}=r;const v=cD(e),y=yD(t);let E=CD.waapi();y&&((e,t)=>{dD[t]&&(t=dD[t]);const{transforms:n}=cD(e);HL(n,t),e.style.transform=ED(n)})(e,t);const _=ID(t),S=function(e,t){return e.has(t)||e.set(t,new sD),e.get(t)}(v.values,_),k=fD.get(_);return function(e,t=!0){if(e&&"finished"!==e.playState)try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch(ro){}}(S.animation,!(ZL(p)&&S.generator)&&!1!==r.record),()=>{const v=()=>{var t,n;return null!==(n=null!==(t=ND(e,_))&&void 0!==t?t:null==k?void 0:k.initialValue)&&void 0!==n?n:0};let T=function(e,t){for(let n=0;n<e.length;n++)null===e[n]&&(e[n]=n?e[n-1]:t());return e}((e=>Array.isArray(e)?e:[e])(n),v);const w=function(e,t){var n;let r=(null==t?void 0:t.toDefaultUnit)||VL;const o=e[e.length-1];if("string"==typeof o){const e=(null===(n=o.match(/(-?[\d.]+)([a-z%]*)/))||void 0===n?void 0:n[2])||"";e&&(r=t=>t+e)}return r}(T,k);if(ZL(p)){const e=p.createAnimation(T,"opacity"!==t,v,_,S);p=e.easing,T=e.keyframes||T,l=e.duration||l}if(SD(_)&&(CD.cssRegisterProperty()?function(e){if(!kD.has(e)){kD.add(e);try{const{syntax:t,initialValue:n}=fD.has(e)?fD.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:n})}catch(ro){}}}(_):E=!1),y&&!CD.linearEasing()&&(JL(p)||GL(p)&&p.some(JL))&&(E=!1),E){k&&(T=T.map(e=>jL(e)?k.toDefaultUnit(e):e)),1!==T.length||CD.partialKeyframes()&&!a||T.unshift(v());const t={delay:eD(c),duration:eD(l),endDelay:eD(u),easing:GL(p)?void 0:xD(p,l),direction:f,iterations:d+1,fill:"both"};s=e.animate({[_]:T,offset:g,easing:GL(p)?p.map(e=>xD(e,l)):void 0},t),s.finished||(s.finished=new Promise((e,t)=>{s.onfinish=e,s.oncancel=t}));const n=T[T.length-1];s.finished.then(()=>{h||(LD(e,_,n),s.cancel())}).catch(qL),m||(s.playbackRate=1.000001)}else if(o&&y)T=T.map(e=>"string"==typeof e?parseFloat(e):e),1===T.length&&T.unshift(parseFloat(v())),s=new o(t=>{LD(e,_,w?w(t):t)},T,Object.assign(Object.assign({},r),{duration:l,easing:p}));else{const t=T[T.length-1];LD(e,_,k&&jL(t)?k.toDefaultUnit(t):t)}return a&&i(e,t,T,{duration:l,delay:c,easing:p,repeat:d,offset:g},"motion-one"),S.setAnimation(s),s&&!b&&s.pause(),s}}const RD=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function MD(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;const PD={any:0,all:1};function BD(e,t,{root:n,margin:r,amount:o="any"}={}){if("undefined"==typeof IntersectionObserver)return()=>{};const i=function(e){return"string"==typeof e?e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}(e),a=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{const n=a.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e);JL(n)?a.set(e.target,n):s.unobserve(e.target)}else n&&(n(e),a.delete(e.target))})},{root:n,rootMargin:r,threshold:"number"==typeof o?o:PD[o]});return i.forEach(e=>s.observe(e)),()=>s.disconnect()}function $D(e,t){return function(e){return"object"==typeof e}(e)?e:e&&t?t[e]:void 0}let FD;function HD(){if(!FD)return;const e=FD.sort(UD).map(jD);e.forEach(GD),e.forEach(GD),FD=void 0}function zD(e){FD?HL(FD,e):(FD=[e],requestAnimationFrame(HD))}const UD=(e,t)=>e.getDepth()-t.getDepth(),jD=e=>e.animateUpdates(),GD=e=>e.next(),WD=(e,t)=>new CustomEvent(e,{detail:{target:t}});function qD(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:n}}))}function VD(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:n}}))}const YD={isActive:e=>Boolean(e.inView),subscribe:(e,{enable:t,disable:n},{inViewOptions:r={}})=>{const{once:o}=r,i=MD(r,["once"]);return BD(e,r=>{if(t(),VD(e,"viewenter",r),!o)return t=>{n(),VD(e,"viewleave",t)}},i)}},KD=(e,t,n)=>r=>{r.pointerType&&"mouse"!==r.pointerType||(n(),qD(e,t,r))},XD={isActive:e=>Boolean(e.hover),subscribe:(e,{enable:t,disable:n})=>{const r=KD(e,"hoverstart",t),o=KD(e,"hoverend",n);return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",o),()=>{e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",o)}}},QD={isActive:e=>Boolean(e.press),subscribe:(e,{enable:t,disable:n})=>{const r=t=>{n(),qD(e,"pressend",t),window.removeEventListener("pointerup",r)},o=n=>{t(),qD(e,"pressstart",n),window.addEventListener("pointerup",r)};return e.addEventListener("pointerdown",o),()=>{e.removeEventListener("pointerdown",o),window.removeEventListener("pointerup",r)}}},ZD={inView:YD,hover:XD,press:QD},JD=["initial","animate",...Object.keys(ZD),"exit"],eR=new WeakMap;function tR(e={},t){let n,r=t?t.getDepth()+1:0;const o={initial:!0,animate:!0},i={},a={};for(const h of JD)a[h]="string"==typeof e[h]?e[h]:null==t?void 0:t.getContext()[h];const s=!1===e.initial?"animate":"initial";let l=MD($D(e[s]||a[s],e.variants)||{},["transition"]);const c=Object.assign({},l),u=(e,t)=>()=>{o[e]=t,zD(p)},d=()=>{for(const t in ZD){const r=ZD[t].isActive(e),o=i[t];r&&!o?i[t]=ZD[t].subscribe(n,{enable:u(t,!0),disable:u(t,!1)},e):!r&&o&&(o(),delete i[t])}},p={update:t=>{n&&(e=t,d(),zD(p))},setActive:(e,t)=>{n&&(o[e]=t,zD(p))},animateUpdates:function*(){var t,r;const i=l;l={};const a={};for(const n of JD){if(!o[n])continue;const i=$D(e[n]);if(i)for(const n in i)"transition"!==n&&(l[n]=i[n],a[n]=RD(null!==(r=null!==(t=i.transition)&&void 0!==t?t:e.transition)&&void 0!==r?r:{},n))}const s=new Set([...Object.keys(l),...Object.keys(i)]),u=[];s.forEach(e=>{var t;void 0===l[e]&&(l[e]=c[e]),function(e,t){return typeof e!=typeof t||(Array.isArray(e)&&Array.isArray(t)?!function(e,t){const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}(e,t):e!==t)}(i[e],l[e])&&(null!==(t=c[e])&&void 0!==t||(c[e]=ND(n,e)),u.push(DD(n,e,l[e],a[e],aD)))}),yield;const d=u.map(e=>e()).filter(Boolean);if(!d.length)return;const p=l;n.dispatchEvent(WD("motionstart",p)),Promise.all(d.map(e=>e.finished)).then(()=>{n.dispatchEvent(WD("motioncomplete",p))}).catch(qL)},getDepth:()=>r,getTarget:()=>l,getOptions:()=>e,getContext:()=>a,mount:e=>(n=e,eR.set(n,p),d(),()=>{eR.delete(n),function(e){FD&&function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(FD,e)}(p);for(const e in i)i[e]()}),isMounted:()=>Boolean(n)};return p}function nR(e){const t={},n=[];for(let r in e){const o=e[r];yD(r)&&(dD[r]&&(r=dD[r]),n.push(r),r=gD(r));let i=Array.isArray(o)?o[0]:o;const a=fD.get(r);a&&(i=jL(o)?a.toDefaultUnit(o):o),t[r]=i}return n.length&&(t.transform=ED(n)),t}var rR=z();e("b1",e=>{const[t,n]=k(!0),r={initial:e.initial??!0,mount:t},o=pe(rR.Provider,{value:r,get children(){return ur(mr(()=>e.children),{appear:r.initial,mode:e.exitBeforeEnter?"out-in":"parallel",onExit(e,t){O(()=>{n(!1),eR.get(e)?.getOptions()?.exit?e.addEventListener("motioncomplete",t):t()})},onEnter(e,t){O(()=>{n(!0),t()})}})}});return r.initial=!0,o});var oR=["initial","animate","inView","inViewOptions","hover","press","variants","transition","exit"],iR=["tag"],aR=z(),sR=e=>{const[t,,n]=ve(e,oR,iR),[r,o]=function(e,t,n,r){const o=tR(!1===n?.initial?{...t(),initial:!1}:t(),r);return A(()=>{if(n&&!n.mount())return;const r=e(),i=o.mount(r);A(()=>o.update(t())),D(()=>{n&&t().exit?(o.setActive("exit",!0),r.addEventListener("motioncomplete",i)):i()})}),[o,nR(o.getTarget())]}(()=>i,()=>({...t}),U(rR),U(aR));let i;return pe(aR.Provider,{value:r,get children(){return pe(ct,be(n,{ref:t=>{i=t,e.ref?.(t)},get component(){return e.tag||"div"},get style(){return function(e,t){if("string"==typeof e){if("string"==typeof t)return`${e};${t}`;e=FL(e)}else"string"==typeof t&&(t=FL(t));return{...e,...t}}(e.style,o)}}))}})},lR=e("av",new Proxy(sR,{get:(e,t)=>e=>pe(sR,be(e,{tag:t}))}));const cR=(e,t)=>{t?.immediate&&e(),window.addEventListener("scroll",e,{passive:!0}),D(()=>window.removeEventListener("scroll",e))},[uR,dR]=(e("bY",()=>{if(My)return null;const[e,t]=k(!1);return cR(()=>t(window.scrollY>100)),pe(Te,{get when(){return e()},get children(){return pe(As,{get as(){return lR.div},initial:{y:-999},animate:{y:0},zIndex:"$overlay",pos:"fixed",right:"$5",top:"0",borderBottomRadius:"50%",bgColor:"$whiteAlpha12",get color(){return n_()},overflow:"hidden",shadow:"$lg",get _dark(){return{bgColor:n_(),color:"white"}},get _hover(){return{bgColor:n_(),color:"white"}},get children(){return pe(Fs,{_focus:{outline:"none"},cursor:"pointer",boxSize:"$7",p:"$1",rounded:"$lg",as:T_,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}})}})}})}),k(!1));e("b6",uR);const[pR,hR]=yf("isMarkdownTocDisabled",!0,{serializer:e=>JSON.stringify(e),deserializer:e=>JSON.parse(e)});function fR(e){if(e.disabled)return null;if(My)return null;const[t,n]=k([]);cR(()=>dR(window.scrollY>100&&t().length>1),{immediate:!0}),A(()=>{const t=e.markdownRef.querySelector(".markdown-body");if(!t)return;const r=document.createNodeIterator(t,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>/h1|h2|h3/i.test(e.nodeName)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),o=[];let i=r.nextNode(),a=6;for(;i;){const e=Number(i.nodeName.match(/h(\d)/i)[1]);e<a&&(a=e),o.push({indent:e,text:i.textContent,tagName:i.nodeName.toLowerCase(),key:i.getAttribute("key")}),i=r.nextNode()}n(o.map(e=>({...e,indent:e.indent-a})))});const r="calc(100% - 20px)",[o,i]=k(r);return pe(Te,{get when(){return $e(()=>!pR())()&&uR()},get children(){return pe(As,{get as(){return lR.div},initial:{x:999},get animate(){return{x:o()}},onMouseEnter:()=>i(0),onMouseLeave:()=>i(r),zIndex:"$overlay",pos:"fixed",right:"$6",top:"$6",get children(){return pe(As,{mt:"$5",p:"$2",shadow:"$outline",rounded:"$lg",bgColor:"white",_dark:{bgColor:"$neutral3"},get children(){return pe(Zu,{maxH:"60vh",overflowY:"auto",get children(){return pe(ke,{get each(){return t()},children:t=>pe(ed,{get pl(){return 15*t.indent},m:4,get children(){return pe(hl,{get color(){return n_()},onClick:()=>(t=>{const n=e.markdownRef.querySelector(`${t.tagName}[key=${t.key}]`);if(!n)return;const r=document.querySelector(".nav");let o=r?.getBoundingClientRect().bottom??0;o<0&&(o=0);const i=n.getBoundingClientRect().y;window.scrollBy({behavior:"smooth",top:i-o})})(t),get children(){return t.text}})}})})}})}})}})}})}e("b5",hR);const{katexCSSPath:gR,mermaidJSPath:mR}=IE(),bR=BL(()=>{const e=document.createElement("link");e.rel="stylesheet",e.href=gR(),document.head.appendChild(e)}),vR=BL(()=>{const e=document.createElement("script");e.src=mR(),document.body.appendChild(e)});function yR(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"/>'},e)}function ER(e){return k_({a:{viewBox:"0 0 1024 1024"},c:'<path d="m290 236.4 43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"/>'},e)}const _R=e("aa",e=>{const t=be({h:"$full"},e);return pe(cc,{get h(){return t.h},p:"$2",flexDirection:"column",get children(){return pe(As,{rounded:"$lg",px:"$4",py:"$6",get bgColor(){return ys("white","$neutral3")()},get children(){return[pe(Fu,{css:{wordBreak:"break-all"},get children(){return e.msg}}),pe(Te,{get when(){return e.actions},get children(){return pe(ku,{mt:"$4",justifyContent:"center",get children(){return e.actions}})}}),pe(Te,{get when(){return!e.disableColor},get children(){return pe(ku,{mt:"$2",justifyContent:"end",get children(){return pe(C_,{})}})}})]}})}})});function SR(e){return pe(Rp,{get size(){return e.size},get value(){return e.value},get onChange(){return e.onChange},get children(){return[pe(ch,{get borderColor(){return e.alwaysShowBorder?"$info5":void 0},get w(){return e.w},get children(){return[pe(ph,{}),pe(Up,{})]}}),pe($p,{get children(){return pe(Gp,{get children(){return pe(ke,{get each(){return e.options},children:e=>pe(Vp,{get value(){return e.value},get children(){return[pe(Jp,{get children(){return e.label??e.value}}),pe(Qp,{})]}})})}})}})]}})}e("cU",e=>{const{isOpen:t,onToggle:n}=ff();return pe(As,{get pos(){return t()?"fixed":"relative"},get w(){return t()?"100vw":e.w},get h(){return t()?"100vh":e.h},top:0,left:0,zIndex:1,transition:"all 0.2s ease-in-out",get css(){return{backdropFilter:t()?"blur(5px)":void 0}},get children(){return[$e(()=>e.children),pe(Fs,{pos:"absolute",right:"$2",bottom:"$2","aria-label":"toggle fullscreen",get as(){return t()?yR:ER},onClick:n,cursor:"pointer",rounded:"$md",get bgColor(){return vy()},p:"$1",boxSize:"$7"})]}})});var kR,TR,wR,AR={},CR={},xR={},OR={};function IR(){return TR||(TR=1,Object.defineProperty(OR,"__esModule",{value:!0}),OR.default=(e,t,n)=>({confidence:n,name:t.name(e),lang:t.language?t.language():void 0})),OR}var NR,LR,DR={},RR={};function MR(){if(LR)return RR;LR=1;var e=RR&&RR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(RR,"__esModule",{value:!0}),RR.UTF_32LE=RR.UTF_32BE=RR.UTF_16LE=RR.UTF_16BE=void 0;const t=e(IR());RR.UTF_16BE=class{name(){return"UTF-16BE"}match(e){const n=e.rawInput;return n.length>=2&&254==(255&n[0])&&!(255&~n[1])?(0,t.default)(e,this,100):null}},RR.UTF_16LE=class{name(){return"UTF-16LE"}match(e){const n=e.rawInput;return n.length>=2&&!(255&~n[0])&&254==(255&n[1])?n.length>=4&&0==n[2]&&0==n[3]?null:(0,t.default)(e,this,100):null}};class n{name(){return"UTF-32"}getChar(e,t){return-1}match(e){let n=0,r=0,o=!1,i=0;const a=e.rawLen/4*4,s=e.rawInput;if(0==a)return null;65279==this.getChar(s,0)&&(o=!0);for(let t=0;t<a;t+=4){const e=this.getChar(s,t);e<0||e>=1114111||e>=55296&&e<=57343?r+=1:n+=1}return o&&0==r?i=100:o&&n>10*r?i=80:n>3&&0==r?i=100:n>0&&0==r?i=80:n>10*r&&(i=25),0==i?null:(0,t.default)(e,this,i)}}return RR.UTF_32BE=class extends n{name(){return"UTF-32BE"}getChar(e,t){return(255&e[t+0])<<24|(255&e[t+1])<<16|(255&e[t+2])<<8|255&e[t+3]}},RR.UTF_32LE=class extends n{name(){return"UTF-32LE"}getChar(e,t){return(255&e[t+3])<<24|(255&e[t+2])<<16|(255&e[t+1])<<8|255&e[t+0]}},RR}var PR,BR={};function $R(){if(PR)return BR;PR=1;var e=BR&&BR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(BR,"__esModule",{value:!0}),BR.gb_18030=BR.euc_kr=BR.euc_jp=BR.big5=BR.sjis=void 0;const t=e(IR());function n(e,t){const n=(e,t,r,o)=>{if(o<r)return-1;const i=Math.floor(r+o>>>1);return t>e[i]?n(e,t,i+1,o):t<e[i]?n(e,t,r,i-1):i};return n(e,t,0,e.length-1)}class r{constructor(){this.charValue=0,this.index=0,this.nextIndex=0,this.error=!1,this.done=!1}reset(){this.charValue=0,this.index=-1,this.nextIndex=0,this.error=!1,this.done=!1}nextByte(e){return this.nextIndex>=e.rawLen?(this.done=!0,-1):255&e.rawInput[this.nextIndex++]}}let o=class{constructor(){this.commonChars=[]}name(){return"mbcs"}match(e){let o=0,i=0,a=0,s=0,l=0;const c=new r;e:{for(c.reset();this.nextChar(c,e);){if(s++,c.error)a++;else{const e=4294967295&c.charValue;e>255&&(o++,null!=this.commonChars&&n(this.commonChars,e)>=0&&i++)}if(a>=2&&5*a>=o)break e}if(o<=10&&0==a)l=0==o&&s<10?0:10;else if(o<20*a)l=0;else if(null==this.commonChars)l=30+o-20*a,l>100&&(l=100);else{const e=90/Math.log(o/4);l=Math.floor(Math.log(i+1)*e+10),l=Math.min(l,100)}}return 0==l?null:(0,t.default)(e,this,l)}nextChar(e,t){return!0}};function i(e,t){e.index=e.nextIndex,e.error=!1;let n=0,r=0,o=0;return n=e.charValue=e.nextByte(t),n<0?e.done=!0:n<=141||(r=e.nextByte(t),e.charValue=e.charValue<<8|r,n>=161&&n<=254?r<161&&(e.error=!0):142!=n?143==n&&(o=e.nextByte(t),e.charValue=e.charValue<<8|o,o<161&&(e.error=!0)):r<161&&(e.error=!0)),0==e.done}return BR.sjis=class extends o{constructor(){super(...arguments),this.commonChars=[33088,33089,33090,33093,33115,33129,33130,33141,33142,33440,33442,33444,33449,33450,33451,33453,33455,33457,33459,33461,33463,33469,33470,33473,33476,33477,33478,33480,33481,33484,33485,33500,33504,33511,33512,33513,33514,33520,33521,33601,33603,33614,33615,33624,33630,33634,33639,33653,33654,33673,33674,33675,33677,33683,36502,37882,38314]}name(){return"Shift_JIS"}language(){return"ja"}nextChar(e,t){e.index=e.nextIndex,e.error=!1;const n=e.charValue=e.nextByte(t);if(n<0)return!1;if(n<=127||n>160&&n<=223)return!0;const r=e.nextByte(t);return!(r<0||(e.charValue=n<<8|r,r>=64&&r<=127||r>=128&&r<=255||(e.error=!0),0))}},BR.big5=class extends o{constructor(){super(...arguments),this.commonChars=[41280,41281,41282,41283,41287,41289,41333,41334,42048,42054,42055,42056,42065,42068,42071,42084,42090,42092,42103,42147,42148,42151,42177,42190,42193,42207,42216,42237,42304,42312,42328,42345,42445,42471,42583,42593,42594,42600,42608,42664,42675,42681,42707,42715,42726,42738,42816,42833,42841,42970,43171,43173,43181,43217,43219,43236,43260,43456,43474,43507,43627,43706,43710,43724,43772,44103,44111,44208,44242,44377,44745,45024,45290,45423,45747,45764,45935,46156,46158,46412,46501,46525,46544,46552,46705,47085,47207,47428,47832,47940,48033,48593,49860,50105,50240,50271]}name(){return"Big5"}language(){return"zh"}nextChar(e,t){e.index=e.nextIndex,e.error=!1;const n=e.charValue=e.nextByte(t);if(n<0)return!1;if(n<=127||255==n)return!0;const r=e.nextByte(t);return!(r<0||(e.charValue=e.charValue<<8|r,(r<64||127==r||255==r)&&(e.error=!0),0))}},BR.euc_jp=class extends o{constructor(){super(...arguments),this.commonChars=[41377,41378,41379,41382,41404,41418,41419,41430,41431,42146,42148,42150,42152,42154,42155,42156,42157,42159,42161,42163,42165,42167,42169,42171,42173,42175,42176,42177,42179,42180,42182,42183,42184,42185,42186,42187,42190,42191,42192,42206,42207,42209,42210,42212,42216,42217,42218,42219,42220,42223,42226,42227,42402,42403,42404,42406,42407,42410,42413,42415,42416,42419,42421,42423,42424,42425,42431,42435,42438,42439,42440,42441,42443,42448,42453,42454,42455,42462,42464,42465,42469,42473,42474,42475,42476,42477,42483,47273,47572,47854,48072,48880,49079,50410,50940,51133,51896,51955,52188,52689],this.nextChar=i}name(){return"EUC-JP"}language(){return"ja"}},BR.euc_kr=class extends o{constructor(){super(...arguments),this.commonChars=[45217,45235,45253,45261,45268,45286,45293,45304,45306,45308,45496,45497,45511,45527,45538,45994,46011,46274,46287,46297,46315,46501,46517,46527,46535,46569,46835,47023,47042,47054,47270,47278,47286,47288,47291,47337,47531,47534,47564,47566,47613,47800,47822,47824,47857,48103,48115,48125,48301,48314,48338,48374,48570,48576,48579,48581,48838,48840,48863,48878,48888,48890,49057,49065,49088,49124,49131,49132,49144,49319,49327,49336,49338,49339,49341,49351,49356,49358,49359,49366,49370,49381,49403,49404,49572,49574,49590,49622,49631,49654,49656,50337,50637,50862,51151,51153,51154,51160,51173,51373],this.nextChar=i}name(){return"EUC-KR"}language(){return"ko"}},BR.gb_18030=class extends o{constructor(){super(...arguments),this.commonChars=[41377,41378,41379,41380,41392,41393,41457,41459,41889,41900,41914,45480,45496,45502,45755,46025,46070,46323,46525,46532,46563,46767,46804,46816,47010,47016,47037,47062,47069,47284,47327,47350,47531,47561,47576,47610,47613,47821,48039,48086,48097,48122,48316,48347,48382,48588,48845,48861,49076,49094,49097,49332,49389,49611,49883,50119,50396,50410,50636,50935,51192,51371,51403,51413,51431,51663,51706,51889,51893,51911,51920,51926,51957,51965,52460,52728,52906,52932,52946,52965,53173,53186,53206,53442,53445,53456,53460,53671,53930,53938,53941,53947,53972,54211,54224,54269,54466,54490,54754,54992]}name(){return"GB18030"}language(){return"zh"}nextChar(e,t){e.index=e.nextIndex,e.error=!1;let n=0,r=0,o=0,i=0;e:if(n=e.charValue=e.nextByte(t),n<0)e.done=!0;else if(!(n<=128)&&(r=e.nextByte(t),e.charValue=e.charValue<<8|r,n>=129&&n<=254)){if(r>=64&&r<=126||r>=80&&r<=254)break e;if(r>=48&&r<=57&&(o=e.nextByte(t),o>=129&&o<=254&&(i=e.nextByte(t),i>=48&&i<=57))){e.charValue=e.charValue<<16|o<<8|i;break e}e.error=!0}return 0==e.done}},BR}var FR,HR={};function zR(){if(FR)return HR;FR=1;var e=HR&&HR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(HR,"__esModule",{value:!0}),HR.KOI8_R=HR.windows_1256=HR.windows_1251=HR.ISO_8859_9=HR.ISO_8859_8=HR.ISO_8859_7=HR.ISO_8859_6=HR.ISO_8859_5=HR.ISO_8859_2=HR.ISO_8859_1=void 0;const t=e(IR());class n{constructor(e,t){this.byteIndex=0,this.ngram=0,this.ngramCount=0,this.hitCount=0,this.spaceChar=32,this.ngramList=e,this.byteMap=t}search(e,t){let n=0;return e[n+32]<=t&&(n+=32),e[n+16]<=t&&(n+=16),e[n+8]<=t&&(n+=8),e[n+4]<=t&&(n+=4),e[n+2]<=t&&(n+=2),e[n+1]<=t&&(n+=1),e[n]>t&&(n-=1),n<0||e[n]!=t?-1:n}lookup(e){this.ngramCount+=1,this.search(this.ngramList,e)>=0&&(this.hitCount+=1)}addByte(e){this.ngram=(this.ngram<<8)+(255&e)&16777215,this.lookup(this.ngram)}nextByte(e){return this.byteIndex>=e.inputLen?-1:255&e.inputBytes[this.byteIndex++]}parse(e,t){let n,r=!1;for(this.spaceChar=t;(n=this.nextByte(e))>=0;){const e=this.byteMap[n];0!=e&&(e==this.spaceChar&&r||this.addByte(e),r=e==this.spaceChar)}this.addByte(this.spaceChar);const o=this.hitCount/this.ngramCount;return o>.33?98:Math.floor(300*o)}}class r{constructor(e,t){this.fLang=e,this.fNGrams=t}}let o=class{constructor(){this.spaceChar=32,this.nGramLang=void 0}ngrams(){return[]}byteMap(){return[]}name(e){return"sbcs"}language(){return this.nGramLang}match(e){this.nGramLang=void 0;const r=this.ngrams();if(o=r,Array.isArray(o)&&isFinite(o[0])){const o=new n(r,this.byteMap()).parse(e,this.spaceChar);return o<=0?null:(0,t.default)(e,this,o)}var o;let i=-1;for(let t=r.length-1;t>=0;t--){const o=r[t],a=new n(o.fNGrams,this.byteMap()).parse(e,this.spaceChar);a>i&&(i=a,this.nGramLang=o.fLang)}return i<=0?null:(0,t.default)(e,this,i)}};return HR.ISO_8859_1=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,186,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,255]}ngrams(){return[new r("da",[2122086,2122100,2122853,2123118,2123122,2123375,2123873,2124064,2125157,2125671,2126053,2126697,2126708,2126953,2127465,6383136,6385184,6385252,6386208,6386720,6579488,6579566,6579570,6579572,6627443,6644768,6644837,6647328,6647396,6648352,6648421,6648608,6648864,6713202,6776096,6776174,6776178,6907749,6908960,6909543,7038240,7039845,7103858,7104871,7105637,7169380,7234661,7234848,7235360,7235429,7300896,7302432,7303712,7398688,7479396,7479397,7479411,7496992,7566437,7610483,7628064,7628146,7629164,7759218]),new r("de",[2122094,2122101,2122341,2122849,2122853,2122857,2123113,2123621,2123873,2124142,2125161,2126691,2126693,2127214,2127461,2127471,2127717,2128501,6448498,6514720,6514789,6514804,6578547,6579566,6579570,6580581,6627428,6627443,6646126,6646132,6647328,6648352,6648608,6776174,6841710,6845472,6906728,6907168,6909472,6909541,6911008,7104867,7105637,7217249,7217252,7217267,7234592,7234661,7234848,7235360,7235429,7238757,7479396,7496805,7497065,7562088,7566437,7610468,7628064,7628142,7628146,7695972,7695975,7759218]),new r("en",[2122016,2122094,2122341,2122607,2123375,2123873,2123877,2124142,2125153,2125670,2125938,2126437,2126689,2126708,2126952,2126959,2127720,6383972,6384672,6385184,6385252,6386464,6386720,6386789,6386793,6561889,6561908,6627425,6627443,6627444,6644768,6647412,6648352,6648608,6713202,6840692,6841632,6841714,6906912,6909472,6909543,6909806,6910752,7217249,7217268,7234592,7235360,7238688,7300640,7302688,7303712,7496992,7500576,7544929,7544948,7561577,7566368,7610484,7628146,7628897,7628901,7629167,7630624,7631648]),new r("es",[2122016,2122593,2122607,2122853,2123116,2123118,2123123,2124142,2124897,2124911,2125921,2125935,2125938,2126197,2126437,2126693,2127214,2128160,6365283,6365284,6365285,6365292,6365296,6382441,6382703,6384672,6386208,6386464,6515187,6516590,6579488,6579564,6582048,6627428,6627429,6627436,6646816,6647328,6647412,6648608,6648692,6907246,6943598,7102752,7106419,7217253,7238757,7282788,7282789,7302688,7303712,7303968,7364978,7435621,7495968,7497075,7544932,7544933,7544944,7562528,7628064,7630624,7693600,15953440]),new r("fr",[2122101,2122607,2122849,2122853,2122869,2123118,2123124,2124897,2124901,2125921,2125935,2125938,2126197,2126693,2126703,2127214,2154528,6385268,6386793,6513952,6516590,6579488,6579571,6583584,6627425,6627427,6627428,6627429,6627436,6627440,6627443,6647328,6647412,6648352,6648608,6648864,6649202,6909806,6910752,6911008,7102752,7103776,7103859,7169390,7217252,7234848,7238432,7238688,7302688,7302772,7304562,7435621,7479404,7496992,7544929,7544932,7544933,7544940,7544944,7610468,7628064,7629167,7693600,7696928]),new r("it",[2122092,2122600,2122607,2122853,2122857,2123040,2124140,2124142,2124897,2125925,2125938,2127214,6365283,6365284,6365296,6365299,6386799,6514789,6516590,6579564,6580512,6627425,6627427,6627428,6627433,6627436,6627440,6627443,6646816,6646892,6647412,6648352,6841632,6889569,6889571,6889572,6889587,6906144,6908960,6909472,6909806,7102752,7103776,7104800,7105633,7234848,7235872,7237408,7238757,7282785,7282788,7282793,7282803,7302688,7302757,7366002,7495968,7496992,7563552,7627040,7628064,7629088,7630624,8022383]),new r("nl",[2122092,2122341,2122849,2122853,2122857,2123109,2123118,2123621,2123877,2124142,2125153,2125157,2125680,2126949,2127457,2127461,2127471,2127717,2128489,6381934,6381938,6385184,6385252,6386208,6386720,6514804,6579488,6579566,6579570,6627426,6627446,6645102,6645106,6647328,6648352,6648435,6648864,6776174,6841716,6907168,6909472,6909543,6910752,7217250,7217252,7217253,7217256,7217263,7217270,7234661,7235360,7302756,7303026,7303200,7303712,7562088,7566437,7610468,7628064,7628142,7628146,7758190,7759218,7761775]),new r("no",[2122100,2122102,2122853,2123118,2123122,2123375,2123873,2124064,2125157,2125671,2126053,2126693,2126699,2126703,2126708,2126953,2127465,2155808,6385252,6386208,6386720,6579488,6579566,6579572,6627443,6644768,6647328,6647397,6648352,6648421,6648864,6648948,6713202,6776174,6908779,6908960,6909543,7038240,7039845,7103776,7105637,7169380,7169390,7217267,7234848,7235360,7235429,7237221,7300896,7302432,7303712,7398688,7479411,7496992,7565165,7566437,7610483,7628064,7628142,7628146,7629164,7631904,7631973,7759218]),new r("pt",[2122016,2122607,2122849,2122853,2122863,2123040,2123123,2125153,2125423,2125600,2125921,2125935,2125938,2126197,2126437,2126693,2127213,6365281,6365283,6365284,6365296,6382693,6382703,6384672,6386208,6386273,6386464,6516589,6516590,6578464,6579488,6582048,6582131,6627425,6627428,6647072,6647412,6648608,6648692,6906144,6906721,7169390,7238757,7238767,7282785,7282787,7282788,7282789,7282800,7303968,7364978,7435621,7495968,7497075,7544929,7544932,7544933,7544944,7566433,7628064,7630624,7693600,14905120,15197039]),new r("sv",[2122100,2122102,2122853,2123118,2123510,2123873,2124064,2124142,2124655,2125157,2125667,2126053,2126699,2126703,2126708,2126953,2127457,2127465,2155634,6382693,6385184,6385252,6386208,6386804,6514720,6579488,6579566,6579570,6579572,6644768,6647328,6648352,6648864,6747762,6776174,6909036,6909543,7037216,7105568,7169380,7217267,7233824,7234661,7235360,7235429,7235950,7299944,7302432,7302688,7398688,7479393,7479411,7495968,7564129,7565165,7610483,7627040,7628064,7628146,7629164,7631904,7758194,14971424,16151072])]}name(e){return e&&e.c1Bytes?"windows-1252":"ISO-8859-1"}},HR.ISO_8859_2=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,177,32,179,32,181,182,32,32,185,186,187,188,32,190,191,32,177,32,179,32,181,182,183,32,185,186,187,188,32,190,191,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,32]}ngrams(){return[new r("cs",[2122016,2122361,2122863,2124389,2125409,2125413,2125600,2125668,2125935,2125938,2126072,2126447,2126693,2126703,2126708,2126959,2127392,2127481,2128481,6365296,6513952,6514720,6627440,6627443,6627446,6647072,6647533,6844192,6844260,6910836,6972704,7042149,7103776,7104800,7233824,7268640,7269408,7269664,7282800,7300206,7301737,7304052,7304480,7304801,7368548,7368554,7369327,7403621,7562528,7565173,7566433,7566441,7566446,7628146,7630573,7630624,7676016,12477728,14773997,15296623,15540336,15540339,15559968,16278884]),new r("hu",[2122016,2122106,2122341,2123111,2123116,2123365,2123873,2123887,2124147,2124645,2124649,2124790,2124901,2125153,2125157,2125161,2125413,2126714,2126949,2156915,6365281,6365291,6365293,6365299,6384416,6385184,6388256,6447470,6448494,6645625,6646560,6646816,6646885,6647072,6647328,6648421,6648864,6648933,6648948,6781216,6844263,6909556,6910752,7020641,7075450,7169383,7170414,7217249,7233899,7234923,7234925,7238688,7300985,7544929,7567973,7567988,7568097,7596391,7610465,7631904,7659891,8021362,14773792,15299360]),new r("pl",[2122618,2122863,2124064,2124389,2124655,2125153,2125161,2125409,2125417,2125668,2125935,2125938,2126697,2127648,2127721,2127737,2128416,2128481,6365296,6365303,6385257,6514720,6519397,6519417,6582048,6584937,6627440,6627443,6627447,6627450,6645615,6646304,6647072,6647401,6778656,6906144,6907168,6907242,7037216,7039264,7039333,7170405,7233824,7235937,7235941,7282800,7305057,7305065,7368556,7369313,7369327,7369338,7502437,7502457,7563754,7564137,7566433,7825765,7955304,7957792,8021280,8022373,8026400,15955744]),new r("ro",[2122016,2122083,2122593,2122597,2122607,2122613,2122853,2122857,2124897,2125153,2125925,2125938,2126693,2126819,2127214,2144873,2158190,6365283,6365284,6386277,6386720,6386789,6386976,6513010,6516590,6518048,6546208,6579488,6627425,6627427,6627428,6627440,6627443,6644e3,6646048,6646885,6647412,6648692,6889569,6889571,6889572,6889584,6907168,6908192,6909472,7102752,7103776,7106418,7107945,7234848,7238770,7303712,7365998,7496992,7497057,7501088,7594784,7628064,7631477,7660320,7694624,7695392,12216608,15625760])]}name(e){return e&&e.c1Bytes?"windows-1250":"ISO-8859-2"}},HR.ISO_8859_5=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,241,242,243,244,245,246,247,248,249,250,251,252,32,254,255,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,32,241,242,243,244,245,246,247,248,249,250,251,252,32,254,255]}ngrams(){return[2150944,2151134,2151646,2152400,2152480,2153168,2153182,2153936,2153941,2154193,2154462,2154464,2154704,2154974,2154978,2155230,2156514,2158050,13688280,13689580,13884960,14015468,14015960,14016994,14017056,14164191,14210336,14211104,14216992,14407133,14407712,14413021,14536736,14538016,14538965,14538991,14540320,14540498,14557394,14557407,14557409,14602784,14602960,14603230,14604576,14605292,14605344,14606818,14671579,14672085,14672088,14672094,14733522,14734804,14803664,14803666,14803672,14806816,14865883,14868e3,14868192,14871584,15196894,15459616]}name(){return"ISO-8859-5"}language(){return"ru"}},HR.ISO_8859_6=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]}ngrams(){return[2148324,2148326,2148551,2152932,2154986,2155748,2156006,2156743,13050055,13091104,13093408,13095200,13100064,13100227,13100231,13100232,13100234,13100236,13100237,13100239,13100243,13100249,13100258,13100261,13100264,13100266,13100320,13100576,13100746,13115591,13181127,13181153,13181156,13181157,13181160,13246663,13574343,13617440,13705415,13748512,13836487,14229703,14279913,14805536,14950599,14993696,15001888,15002144,15016135,15058720,15059232,15066656,15081671,15147207,15189792,15255524,15263264,15278279,15343815,15343845,15343848,15386912,15388960,15394336]}name(){return"ISO-8859-6"}language(){return"ar"}},HR.ISO_8859_7=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,161,162,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,220,32,221,222,223,32,252,32,253,254,192,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,32,243,244,245,246,247,248,249,250,251,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,32]}ngrams(){return[2154989,2154992,2155497,2155753,2156016,2156320,2157281,2157797,2158049,2158368,2158817,2158831,2158833,2159604,2159605,2159847,2159855,14672160,14754017,14754036,14805280,14806304,14807292,14807584,14936545,15067424,15069728,15147252,15199520,15200800,15278324,15327520,15330014,15331872,15393257,15393268,15525152,15540449,15540453,15540464,15589664,15725088,15725856,15790069,15790575,15793184,15868129,15868133,15868138,15868144,15868148,15983904,15984416,15987951,16048416,16048617,16050157,16050162,16050666,16052e3,16052213,16054765,16379168,16706848]}name(e){return e&&e.c1Bytes?"windows-1253":"ISO-8859-7"}language(){return"el"}},HR.ISO_8859_8=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,32,32,32,32,32]}ngrams(){return[new r("he",[2154725,2154727,2154729,2154746,2154985,2154990,2155744,2155749,2155753,2155758,2155762,2155769,2155770,2157792,2157796,2158304,2159340,2161132,14744096,14950624,14950625,14950628,14950636,14950638,14950649,15001056,15065120,15068448,15068960,15071264,15071776,15278308,15328288,15328762,15329773,15330592,15331104,15333408,15333920,15474912,15474916,15523872,15524896,15540448,15540449,15540452,15540460,15540462,15540473,15655968,15671524,15787040,15788320,15788525,15920160,16261348,16312813,16378912,16392416,16392417,16392420,16392428,16392430,16392441]),new r("he",[2154725,2154732,2155753,2155756,2155758,2155760,2157040,2157810,2157817,2158053,2158057,2158565,2158569,2160869,2160873,2161376,2161381,2161385,14688484,14688492,14688493,14688506,14738464,14738916,14740512,14741024,14754020,14754029,14754042,14950628,14950633,14950636,14950637,14950639,14950648,14950650,15002656,15065120,15066144,15196192,15327264,15327520,15328288,15474916,15474925,15474938,15528480,15530272,15591913,15591920,15591928,15605988,15605997,15606010,15655200,15655968,15918112,16326884,16326893,16326906,16376864,16441376,16442400,16442857])]}name(e){return e&&e.c1Bytes?"windows-1255":"ISO-8859-8"}language(){return"he"}},HR.ISO_8859_9=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,186,32,32,32,32,32,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,105,254,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,32,248,249,250,251,252,253,254,255]}ngrams(){return[2122337,2122345,2122357,2122849,2122853,2123621,2123873,2124140,2124641,2124655,2125153,2125676,2126689,2126945,2127461,2128225,6365282,6384416,6384737,6384993,6385184,6385405,6386208,6386273,6386429,6386685,6388065,6449522,6578464,6579488,6580512,6627426,6627435,6644841,6647328,6648352,6648425,6648681,6909029,6909472,6909545,6910496,7102830,7102834,7103776,7103858,7217249,7217250,7217259,7234657,7234661,7234848,7235872,7235950,7273760,7498094,7535982,7759136,7954720,7958386,16608800,16608868,16609021,16642301]}name(e){return e&&e.c1Bytes?"windows-1254":"ISO-8859-9"}language(){return"tr"}},HR.windows_1251=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,144,131,32,131,32,32,32,32,32,32,154,32,156,157,158,159,144,32,32,32,32,32,32,32,32,32,154,32,156,157,158,159,32,162,162,188,32,180,32,32,184,32,186,32,32,32,32,191,32,32,179,179,180,181,32,32,184,32,186,32,188,190,190,191,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255]}ngrams(){return[2155040,2155246,2155758,2156512,2156576,2157280,2157294,2158048,2158053,2158305,2158574,2158576,2158816,2159086,2159090,2159342,2160626,2162162,14740968,14742268,14937632,15068156,15068648,15069682,15069728,15212783,15263008,15263776,15269664,15459821,15460384,15465709,15589408,15590688,15591653,15591679,15592992,15593186,15605986,15605999,15606001,15655456,15655648,15655918,15657248,15657980,15658016,15659506,15724267,15724773,15724776,15724782,15786210,15787492,15856352,15856354,15856360,15859488,15918571,15920672,15920880,15924256,16249582,16512288]}name(){return"windows-1251"}language(){return"ru"}},HR.windows_1256=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,129,32,131,32,32,32,32,136,32,138,32,156,141,142,143,144,32,32,32,32,32,32,32,152,32,154,32,156,32,32,159,32,32,32,32,32,32,32,32,32,32,170,32,32,32,32,32,32,32,32,32,32,181,32,32,32,32,32,32,32,32,32,32,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,32,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,32,32,32,32,244,32,32,32,32,249,32,251,252,32,32,255]}ngrams(){return[2148321,2148324,2148551,2153185,2153965,2154977,2155492,2156231,13050055,13091104,13093408,13095200,13099296,13099459,13099463,13099464,13099466,13099468,13099469,13099471,13099475,13099482,13099486,13099491,13099494,13099501,13099808,13100064,13100234,13115591,13181127,13181149,13181153,13181155,13181158,13246663,13574343,13617440,13705415,13748512,13836487,14295239,14344684,14544160,14753991,14797088,14806048,14806304,14885063,14927648,14928160,14935072,14950599,15016135,15058720,15124449,15131680,15474887,15540423,15540451,15540454,15583520,15585568,15590432]}name(){return"windows-1256"}language(){return"ar"}},HR.KOI8_R=class extends o{byteMap(){return[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,163,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,163,32,32,32,32,32,32,32,32,32,32,32,32,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223]}ngrams(){return[2147535,2148640,2149313,2149327,2150081,2150085,2150338,2150607,2150610,2151105,2151375,2151380,2151631,2152224,2152399,2153153,2153684,2154196,12701385,12702936,12963032,12963529,12964820,12964896,13094688,13181136,13223200,13224224,13226272,13419982,13420832,13424846,13549856,13550880,13552069,13552081,13553440,13553623,13574352,13574355,13574359,13617103,13617696,13618392,13618464,13620180,13621024,13621185,13684684,13685445,13685449,13685455,13812183,13813188,13881632,13882561,13882569,13882583,13944268,13946656,13946834,13948960,14272544,14603471]}name(){return"KOI8-R"}language(){return"ru"}},HR}var UR,jR={};function GR(){if(UR)return jR;UR=1;var e=jR&&jR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(jR,"__esModule",{value:!0}),jR.ISO_2022_CN=jR.ISO_2022_KR=jR.ISO_2022_JP=void 0;const t=e(IR());class n{constructor(){this.escapeSequences=[]}name(){return"ISO_2022"}match(e){let n,r,o,i,a=0,s=0,l=0;const c=e.inputBytes,u=e.inputLen;e:for(n=0;n<u;n++){if(27==c[n]){t:for(o=0;o<this.escapeSequences.length;o++){const e=this.escapeSequences[o];if(!(u-n<e.length)){for(r=1;r<e.length;r++)if(e[r]!=c[n+r])continue t;a++,n+=e.length-1;continue e}}s++}14!=c[n]&&15!=c[n]||l++}return 0==a?null:(i=(100*a-100*s)/(a+s),a+l<5&&(i-=10*(5-(a+l))),i<=0?null:(0,t.default)(e,this,i))}}return jR.ISO_2022_JP=class extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,40,67],[27,36,40,68],[27,36,64],[27,36,65],[27,36,66],[27,38,64],[27,40,66],[27,40,72],[27,40,73],[27,40,74],[27,46,65],[27,46,70]]}name(){return"ISO-2022-JP"}language(){return"ja"}},jR.ISO_2022_KR=class extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,67]]}name(){return"ISO-2022-KR"}language(){return"kr"}},jR.ISO_2022_CN=class extends n{constructor(){super(...arguments),this.escapeSequences=[[27,36,41,65],[27,36,41,71],[27,36,42,72],[27,36,41,69],[27,36,43,73],[27,36,43,74],[27,36,43,75],[27,36,43,76],[27,36,43,77],[27,78],[27,79]]}name(){return"ISO-2022-CN"}language(){return"zh"}},jR}var WR,qR,VR={},YR=(qR||(qR=1,function(e){var t=AR&&AR.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=AR&&AR.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=AR&&AR.__importStar||function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(r){if(r&&r.__esModule)return r;var o={};if(null!=r)for(var i=e(r),a=0;a<i.length;a++)"default"!==i[a]&&t(o,r,i[a]);return n(o,r),o}}(),o=AR&&AR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.detectFileSync=e.detectFile=e.analyse=e.detect=void 0;const i=o((kR||(kR=1,Object.defineProperty(CR,"__esModule",{value:!0}),CR.default=()=>{throw new Error("File system is not available")}),CR)),a=o(function(){if(wR)return xR;wR=1;var e=xR&&xR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(xR,"__esModule",{value:!0});const t=e(IR());return xR.default=class{name(){return"ASCII"}match(e){const n=e.rawInput;for(let r=0;r<e.rawLen;r++){const o=n[r];if(o<32||o>126)return(0,t.default)(e,this,0)}return(0,t.default)(e,this,100)}},xR}()),s=o(function(){if(NR)return DR;NR=1;var e=DR&&DR.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(DR,"__esModule",{value:!0});const t=e(IR());return DR.default=class{name(){return"UTF-8"}match(e){let n,r=!1,o=0,i=0,a=0;const s=e.rawInput;e.rawLen>=3&&239==(255&s[0])&&187==(255&s[1])&&191==(255&s[2])&&(r=!0);for(let t=0;t<e.rawLen;t++){const n=s[t];if(128&n){if(192==(224&n))a=1;else if(224==(240&n))a=2;else if(240==(248&n))a=3;else{if(i++,i>5)break;a=0}for(;t++,!(t>=e.rawLen);){if(128!=(192&s[t])){i++;break}if(0==--a){o++;break}}}}if(n=0,r&&0==i)n=100;else if(r&&o>10*i)n=80;else if(o>3&&0==i)n=100;else if(o>0&&0==i)n=80;else if(0==o&&0==i)n=10;else{if(!(o>10*i))return null;n=25}return(0,t.default)(e,this,n)}},DR}()),l=r(MR()),c=r($R()),u=r(zR()),d=r(GR()),p=(WR||(WR=1,Object.defineProperty(VR,"__esModule",{value:!0}),VR.isByteArray=void 0,VR.isByteArray=e=>null!=e&&"object"==typeof e&&isFinite(e.length)&&e.length>=0),VR),h=[new s.default,new l.UTF_16BE,new l.UTF_16LE,new l.UTF_32BE,new l.UTF_32LE,new c.sjis,new c.big5,new c.euc_jp,new c.euc_kr,new c.gb_18030,new d.ISO_2022_JP,new d.ISO_2022_KR,new d.ISO_2022_CN,new u.ISO_8859_1,new u.ISO_8859_2,new u.ISO_8859_5,new u.ISO_8859_6,new u.ISO_8859_7,new u.ISO_8859_8,new u.ISO_8859_9,new u.windows_1251,new u.windows_1256,new u.KOI8_R,new a.default];e.detect=t=>{const n=(0,e.analyse)(t);return n.length>0?n[0].name:null},e.analyse=e=>{if(!(0,p.isByteArray)(e))throw new Error("Input must be a byte array, e.g. Buffer or Uint8Array");const t=[];for(let i=0;i<256;i++)t[i]=0;for(let i=e.length-1;i>=0;i--)t[255&e[i]]++;let n=!1;for(let i=128;i<=159;i+=1)if(0!==t[i]){n=!0;break}const r={byteStats:t,c1Bytes:n,rawInput:e,rawLen:e.length,inputBytes:e,inputLen:e.length},o=h.map(e=>e.match(r)).filter(e=>!!e).sort((e,t)=>t.confidence-e.confidence);return o},e.detectFile=(t,n={})=>new Promise((r,o)=>{let a;const s=(0,i.default)(),l=(t,n)=>{a&&s.closeSync(a),t?o(t):r((0,e.detect)(n))};if(n&&n.sampleSize){a=s.openSync(t,"r");const e=Buffer.allocUnsafe(n.sampleSize);return void s.read(a,e,0,n.sampleSize,n.offset,t=>{l(t,e)})}s.readFile(t,l)}),e.detectFileSync=(t,n={})=>{const r=(0,i.default)();if(n&&n.sampleSize){const o=r.openSync(t,"r"),i=Buffer.allocUnsafe(n.sampleSize);return r.readSync(o,i,0,n.sampleSize,n.offset),r.closeSync(o),(0,e.detect)(i)}return(0,e.detect)(r.readFileSync(t))},e.default={analyse:e.analyse,detect:e.detect,detectFileSync:e.detectFileSync,detectFile:e.detectFile}}(AR)),AR);const KR=rr(YR);function XR(e){const t=["utf-8","gbk","gb18030","ibm866","iso-8859-2","iso-8859-3","iso-8859-4","iso-8859-5","iso-8859-6","iso-8859-7","iso-8859-8","iso-8859-8i","iso-8859-10","iso-8859-13","iso-8859-14","iso-8859-15","iso-8859-16","koi8-r","koi8-u","macintosh","windows-874","windows-1250","windows-1251","windows-1252","windows-1253","windows-1254","windows-1255","windows-1256","windows-1257","windows-1258","x-mac-cyrillic","big5","euc-jp","iso-2022-jp","shift_jis","euc-kr","iso-2022-kr","utf-16be","utf-16le","x-user-defined","iso-2022-cn"];return A(()=>{if(e.referenceText){let n;n="string"==typeof e.referenceText?(new TextEncoder).encode(e.referenceText):new Uint8Array(e.referenceText);for(let r of KR.analyse(n)){const n=r.name.toLowerCase();if(t.includes(n))return void e.setEncoding(n)}}}),pe(As,{pos:"absolute",right:0,top:0,w:"$36",opacity:.15,_hover:{opacity:1},zIndex:1,get children(){return pe(SR,{get options(){return t.map(e=>({label:e.toLocaleUpperCase(),value:e}))},get value(){return e.encoding},onChange:t=>e.setEncoding(t)})}})}function QR(e){return k_({a:{fill:"currentColor",viewBox:"0 0 16 16"},c:'<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>'},e)}const ZR=ws(QR,{baseStyle:{color:"$neutral11"}});e("bW",e=>{const t=lE(),n=Pp(),[r,o]=k(!1),[i,a]=k("");let s;const l=()=>n.state.selectedOptions.map(e=>e.textValue).join(",");return A(N(l,a)),[pe(ch,{get as(){return e.searchable?"div":void 0},get children(){return pe(Te,{get fallback(){return[pe(th,{get children(){return t("global.choose")}}),pe(ph,{}),pe(Up,{})]},get when(){return!e.readonly&&e.searchable},get children(){return[pe(Wu,{border:"none",variant:"unstyled",get placeholder(){return $e(()=>!!r())()&&l()||t("global.choose")},get value(){return $e(()=>!!r())()?i():l()},onKeyDown:e=>e.stopPropagation(),onClick:e=>{n.state.opened&&e.stopPropagation()},onInput:e=>{clearTimeout(s),a(e.currentTarget.value)},onBlur:()=>{o(!1),s=setTimeout(()=>a(""),300)},onFocus:()=>{clearTimeout(s),a(""),o(!0)}}),pe(Te,{get when(){return r()},get fallback(){return pe(Up,{})},get children(){return pe(ZR,{})}})]}})}}),pe($p,{get children(){return pe(Gp,{get children(){return pe(ke,{get each(){return e.searchable?e.options.filter(e=>new RegExp(i(),"i").test(e.label)):e.options},children:e=>pe(Vp,{get value(){return e.key},get children(){return[pe(Jp,{get children(){return e.label}}),pe(Qp,{})]}})})}})}})]});let JR=[];const eM=e=>{JR=e},tM=(e("cE",e=>(e=e.toLowerCase(),JR.some(t=>e.endsWith(t)))),e=>{const t=lE(),[n,r]=Gy(()=>lb.get("/me")),[o,i]=k();return(async()=>{gy(await r(),h_,i)})(),pe(we,{get fallback(){return e.children},get children(){return[pe(Ae,{get when(){return n()},get children(){return pe(E_,{})}}),pe(Ae,{get when(){return void 0!==o()},get children(){return pe(_R,{get msg(){return t("home.get_current_user_failed")+o()}})}})]}})}),nM=e=>{const[t,n]=Gy(()=>lb.get("/me")),[r,o]=k(!1);return L(async()=>{by(await n(),h_,(e,t)=>{h_({id:2,username:"guest",password:"",base_path:"/",role:1,disabled:!1,permission:0,sso_id:"",otp:!1}),o(!0)})}),pe(we,{get fallback(){return e.children},get children(){return pe(Ae,{get when(){return $e(()=>!r())()&&t()},get children(){return pe(E_,{})}})}})},rM={initialColorMode:"system",lightTheme:{colors:{background:"#f7f8fa"}},components:{Button:{baseStyle:{root:{rounded:"$lg",_active:{transform:"scale(.95)",transition:"0.2s"},_focus:{boxShadow:"unset"}}},defaultProps:{root:{colorScheme:"info",variant:"subtle"}}},IconButton:{defaultProps:{colorScheme:"info",variant:"subtle"}},Input:{baseStyle:{input:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"}}},defaultProps:{input:{variant:"filled"}}},Textarea:{baseStyle:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"},resize:"vertical",wordBreak:"break-all"},defaultProps:{variant:"filled"}},Select:{baseStyle:{trigger:{rounded:"$lg",_focus:{boxShadow:"unset",borderColor:"$info8"}},content:{border:"none",rounded:"$lg"},optionIndicator:{color:"$info10"}},defaultProps:{root:{variant:"filled"}}},Checkbox:{defaultProps:{root:{colorScheme:"info",variant:"filled"}}},Switch:{defaultProps:{root:{colorScheme:"info"}}},Menu:{baseStyle:{content:{rounded:"$md",minW:"unset",border:"unset"},item:{rounded:"$md",py:"$1"}}},Notification:{baseStyle:{root:{rounded:"$lg",border:"unset"}}},Alert:{baseStyle:{root:{rounded:"$lg"}}},Anchor:{baseStyle:{rounded:"$lg",px:"$1_5",py:"$1",_hover:{bgColor:vy(),textDecoration:"none"},_focus:{boxShadow:"unset"},_active:{transform:"scale(.95)",transition:"0.1s"}}},Modal:{baseStyle:{content:{rounded:"$lg"}}}}},oM=Hi({"*":{margin:0,padding:0},html:{fontFamily:'-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important'},"#root":{display:"flex",flexDirection:"column",alignItems:"center"},".hope-breadcrumb__list":{flexWrap:"wrap",rowGap:"0 !important"},".lightgallery-container":{"& .lg-backdrop":{zIndex:"$popover"},"& .lg-outer":{zIndex:"calc($popover + 10)"}},".viselect-selection-area":{background:"rgba(46, 115, 252, 0.11)",border:"2px solid rgba(98, 155, 255, 0.81)",borderRadius:"0.1em"},".viselect-container":{userSelect:"none","& .viselect-item":{"-webkit-user-drag":"none","& img":{"-webkit-user-drag":"none"}}}}),iM=ye(()=>qy(()=>t.import("./Layout-legacy-BpAjKXAb.js").then(e=>e.L),void 0)),aM=ye(()=>qy(()=>t.import("./index-legacy-BbfMcMsh.js").then(e=>e.i),void 0)),sM=ye(()=>qy(()=>t.import("./index-legacy-CXYN-DZC.js"),void 0)),lM=ye(()=>qy(()=>t.import("./index-legacy-qD49SIrt.js"),void 0)),cM=()=>{const e=lE();oM();const t=Tt().isRouting,{to:n,pathname:r}=Wy(),o=e=>{n(e)};Af.on("to",o),D(()=>{Af.off("to",o)}),A(()=>{Af.emit("pathname",r())});const[i,a]=k([]),[s,l]=jy(()=>Promise.all([(async()=>{by(await lb.get("/public/settings"),JE,e=>a(i().concat(e)))})(),(async()=>{by(await lb.get("/public/archive_extensions"),eM,e=>a(i().concat(e)))})()]));return l(),[pe(lt,{get children(){return pe(dp,{indeterminate:!0,size:"xs",position:"fixed",top:"0",left:"0",right:"0",zIndex:"$banner",get d(){return t()?"block":"none"},get children(){return pe(fp,{})}})}}),pe(we,{get fallback(){return pe(Ft,{base:Tf,get children(){return[pe(Ht,{path:"/@test",component:lM}),pe(Ht,{path:"/@login",component:sM}),pe(Ht,{path:"/@manage/*",get element(){return pe(tM,{get children(){return pe(aM,{})}})}}),pe(Ht,{path:["/@s/*","/%40s/*"],get element(){return pe(nM,{get children(){return pe(iM,{})}})}}),pe(Ht,{path:"*",get element(){return pe(tM,{get children(){return pe(iM,{})}})}})]}})},get children(){return[pe(Ae,{get when(){return i().length>0},get children(){return pe(_R,{h:"100vh",get msg(){return e("home.fetching_settings_failed")+i().map(t=>e("home."+t)).join(", ")}})}}),pe(Ae,{get when(){return s()},get children(){return pe(E_,{})}})]}})]},uM=()=>(oM(),pe(ms,{config:rM,get children(){return pe(xe,{fallback:e=>(console.error("error",e),pe(_R,{msg:`System error: ${e}`,h:"100vh"})),get children(){return pe(Wd,{duration:3e3,get children(){return pe(Ie,{get fallback(){return pe(E_,{})},get children(){return pe(cM,{})}})}})}})}}));!function(e,t,n,r={}){let o;S(r=>{o=r,t===document?e():Ke(t,e(),t.firstChild?null:void 0,n)},r.owner)}(()=>pe($t,{get children(){return pe(uM,{})}}),document.getElementById("root"))}}});