comp-hub 0.42.9 → 0.43.9

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 (260) hide show
  1. package/README.md +13 -2
  2. package/README.zh-CN.md +144 -0
  3. package/README.zh-Hant.md +144 -0
  4. package/dist/cli.js +44 -0
  5. package/dist/index.js +11 -30
  6. package/dist/master.js +19 -19
  7. package/package.json +15 -10
  8. package/bin/cli.js +0 -59
  9. package/bin/lib/commands.js +0 -173
  10. package/bin/lib/constants.js +0 -22
  11. package/bin/lib/http.js +0 -130
  12. package/bin/lib/startup.js +0 -254
  13. package/bin/lib/utils.js +0 -112
  14. package/dist/website/container/assets/index-6TGp-7st.css +0 -1
  15. package/dist/website/container/assets/index-BKC7DzZV.js +0 -33
  16. package/dist/website/container/favicon.ico +0 -0
  17. package/dist/website/container/index.html +0 -39
  18. package/dist/website/container/js/less-compiler.js +0 -41
  19. package/dist/website/container/js/react-jsx-loader.js +0 -233
  20. package/dist/website/container/js/sass-compiler.js +0 -418
  21. package/dist/website/container/js/vue2-sfc-loader.js +0 -261
  22. package/dist/website/container/js/vue3-sfc-loader.js +0 -290
  23. package/dist/website/item/assets/index-Pkb33-i2.css +0 -1
  24. package/dist/website/item/assets/index-kBvGmplc.js +0 -62
  25. package/dist/website/item/favicon.ico +0 -0
  26. package/dist/website/item/index.html +0 -34
  27. package/dist/website/main/assets/AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-CH79cQAu.js +0 -1
  28. package/dist/website/main/assets/BaseBadge-D53B9edx.js +0 -1
  29. package/dist/website/main/assets/BaseBadge-ledSuDnX.css +0 -1
  30. package/dist/website/main/assets/BaseDialog.vue_vue_type_script_setup_true_lang-Bcc7UYpp.js +0 -1
  31. package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-RYuIoPF7.js +0 -1
  32. package/dist/website/main/assets/CanvasAnimation.vue_vue_type_script_setup_true_lang-BNlJ1yyx.js +0 -1
  33. package/dist/website/main/assets/CodeMirrorEditor-Cqow8ROO-AryRubtp.js +0 -12
  34. package/dist/website/main/assets/EmptyStatusContainer.vue_vue_type_script_setup_true_lang-kK4W-ekr.js +0 -1
  35. package/dist/website/main/assets/GithubCallback-BjmPqH_L.js +0 -1
  36. package/dist/website/main/assets/LoadingWrapper.vue_vue_type_script_setup_true_lang-BPfuSpto.js +0 -1
  37. package/dist/website/main/assets/ReplyForm.vue_vue_type_script_setup_true_lang-BiETILOo.js +0 -1
  38. package/dist/website/main/assets/SiteLogo-DEIcFHUB.js +0 -1
  39. package/dist/website/main/assets/SiteLogo-DbJD21Ac.css +0 -1
  40. package/dist/website/main/assets/apl-B4CMkyY2.js +0 -1
  41. package/dist/website/main/assets/asciiarmor-Df11BRmG.js +0 -1
  42. package/dist/website/main/assets/asn1-EdZsLKOL.js +0 -1
  43. package/dist/website/main/assets/asterisk-B-8jnY81.js +0 -1
  44. package/dist/website/main/assets/brainfuck-C4LP7Hcl.js +0 -1
  45. package/dist/website/main/assets/clike-B9uivgTg.js +0 -1
  46. package/dist/website/main/assets/clojure-BMjYHr_A.js +0 -1
  47. package/dist/website/main/assets/cloud-upload-DVf0ki5J.js +0 -1
  48. package/dist/website/main/assets/cloud-upload-j3Y0taC9.css +0 -1
  49. package/dist/website/main/assets/cmake-BQqOBYOt.js +0 -1
  50. package/dist/website/main/assets/cobol-CWcv1MsR.js +0 -1
  51. package/dist/website/main/assets/coffeescript-S37ZYGWr.js +0 -1
  52. package/dist/website/main/assets/commonlisp-DBKNyK5s.js +0 -1
  53. package/dist/website/main/assets/crystal-SjHAIU92.js +0 -1
  54. package/dist/website/main/assets/css-BnMrqG3P.js +0 -1
  55. package/dist/website/main/assets/cypher-C_CwsFkJ.js +0 -1
  56. package/dist/website/main/assets/d-pRatUO7H.js +0 -1
  57. package/dist/website/main/assets/diff-DbItnlRl.js +0 -1
  58. package/dist/website/main/assets/dockerfile-BKs6k2Af.js +0 -1
  59. package/dist/website/main/assets/dtd-DF_7sFjM.js +0 -1
  60. package/dist/website/main/assets/dylan-DwRh75JA.js +0 -1
  61. package/dist/website/main/assets/ebnf-CDyGwa7X.js +0 -1
  62. package/dist/website/main/assets/ecl-Cabwm37j.js +0 -1
  63. package/dist/website/main/assets/eiffel-CnydiIhH.js +0 -1
  64. package/dist/website/main/assets/el-card-BAyktVMS.css +0 -1
  65. package/dist/website/main/assets/el-dropdown-item-BeIfAqTO.css +0 -1
  66. package/dist/website/main/assets/el-empty-S7fQQ3B8.css +0 -1
  67. package/dist/website/main/assets/el-link-CPQZ-olG.css +0 -1
  68. package/dist/website/main/assets/el-table-column-B3ZEEuPD.css +0 -1
  69. package/dist/website/main/assets/el-table-column-BqpEDPpl.js +0 -1
  70. package/dist/website/main/assets/elm-vLlmbW-K.js +0 -1
  71. package/dist/website/main/assets/en-DJCBTPEu.js +0 -1
  72. package/dist/website/main/assets/erlang-BNw1qcRV.js +0 -1
  73. package/dist/website/main/assets/factor-kuTfRLto.js +0 -1
  74. package/dist/website/main/assets/fcl-Kvtd6kyn.js +0 -1
  75. package/dist/website/main/assets/forth-Ffai-XNe.js +0 -1
  76. package/dist/website/main/assets/fortran-DYz_wnZ1.js +0 -1
  77. package/dist/website/main/assets/gas-Bneqetm1.js +0 -1
  78. package/dist/website/main/assets/gherkin-heZmZLOM.js +0 -1
  79. package/dist/website/main/assets/groovy-D9Dt4D0W.js +0 -1
  80. package/dist/website/main/assets/haskell-Cw1EW3IL.js +0 -1
  81. package/dist/website/main/assets/haxe-H-WmDvRZ.js +0 -1
  82. package/dist/website/main/assets/home-rounded-B4KVwSYb.css +0 -1
  83. package/dist/website/main/assets/home-rounded-DcB333c-.js +0 -1
  84. package/dist/website/main/assets/http-DBlCnlav.js +0 -1
  85. package/dist/website/main/assets/idl-BEugSyMb.js +0 -1
  86. package/dist/website/main/assets/index-0jhSi0Id.js +0 -2
  87. package/dist/website/main/assets/index-6e_pcD2g.js +0 -1
  88. package/dist/website/main/assets/index-72rReQ2I-Dls_4Kw0.js +0 -6
  89. package/dist/website/main/assets/index-8dCw6Y2Z.css +0 -1
  90. package/dist/website/main/assets/index-B-o-geOz.js +0 -1
  91. package/dist/website/main/assets/index-B6DlcvMU.js +0 -1
  92. package/dist/website/main/assets/index-BNYhon33.js +0 -1
  93. package/dist/website/main/assets/index-BOUkLBc8.js +0 -1
  94. package/dist/website/main/assets/index-BPiRmvZl.js +0 -1
  95. package/dist/website/main/assets/index-BWSpWNwa.js +0 -4
  96. package/dist/website/main/assets/index-BhaaT_GF.js +0 -1
  97. package/dist/website/main/assets/index-Bn5vi5XZ.css +0 -1
  98. package/dist/website/main/assets/index-BqUqA7W4.js +0 -1
  99. package/dist/website/main/assets/index-Bqhbsn_n.js +0 -1
  100. package/dist/website/main/assets/index-BrpXOHl6.js +0 -1
  101. package/dist/website/main/assets/index-BvmEG8Qn.css +0 -1
  102. package/dist/website/main/assets/index-BxmgEr3S.js +0 -1
  103. package/dist/website/main/assets/index-C0WquRMM.css +0 -1
  104. package/dist/website/main/assets/index-C1Hw6vXQ.js +0 -1
  105. package/dist/website/main/assets/index-C42i82mF.js +0 -2
  106. package/dist/website/main/assets/index-C81i40Gx.js +0 -1
  107. package/dist/website/main/assets/index-C9BP4kWZ.js +0 -6
  108. package/dist/website/main/assets/index-CFTT7hu0.css +0 -1
  109. package/dist/website/main/assets/index-CIVzXolG.js +0 -1
  110. package/dist/website/main/assets/index-CPc1AP3H.js +0 -1
  111. package/dist/website/main/assets/index-CWMIyyC3.js +0 -1
  112. package/dist/website/main/assets/index-CdWXO9ks.css +0 -1
  113. package/dist/website/main/assets/index-CglP2y1M.js +0 -1
  114. package/dist/website/main/assets/index-ChFpxx4T.css +0 -1
  115. package/dist/website/main/assets/index-CiPfzZM4.js +0 -1
  116. package/dist/website/main/assets/index-CioMG7I6.css +0 -1
  117. package/dist/website/main/assets/index-Cs-jTkU_.js +0 -1
  118. package/dist/website/main/assets/index-CuvsliuR.js +0 -1
  119. package/dist/website/main/assets/index-Cv6z_Edq.js +0 -1
  120. package/dist/website/main/assets/index-CxHPM7Fg.js +0 -1
  121. package/dist/website/main/assets/index-CytdBEyB.js +0 -1
  122. package/dist/website/main/assets/index-D-zBzPPy.css +0 -1
  123. package/dist/website/main/assets/index-D1_g-khQ.js +0 -7
  124. package/dist/website/main/assets/index-D2eSTfJw.js +0 -1
  125. package/dist/website/main/assets/index-D3HuxiUJ.js +0 -84
  126. package/dist/website/main/assets/index-D76eWsZ1-Z0x-dydi.js +0 -1
  127. package/dist/website/main/assets/index-DFsl7Pen.css +0 -1
  128. package/dist/website/main/assets/index-DH0rbH_2.js +0 -1
  129. package/dist/website/main/assets/index-DOlF0Z_P.css +0 -1
  130. package/dist/website/main/assets/index-DPBASOD1.js +0 -1
  131. package/dist/website/main/assets/index-DQfTUb4g.js +0 -1
  132. package/dist/website/main/assets/index-DS0KGu0h.js +0 -1
  133. package/dist/website/main/assets/index-DVxz8FkV.js +0 -2
  134. package/dist/website/main/assets/index-DgXgHraR.js +0 -50
  135. package/dist/website/main/assets/index-DjWcnHPR.js +0 -1
  136. package/dist/website/main/assets/index-Dms7ZQ2h-B_6qoSW-.js +0 -1
  137. package/dist/website/main/assets/index-Dnz1UQnr.js +0 -1
  138. package/dist/website/main/assets/index-DpYJK6hB.js +0 -1
  139. package/dist/website/main/assets/index-DqiFCfGx-uaEe5kQB.js +0 -1
  140. package/dist/website/main/assets/index-Dr-xg5xd.js +0 -1
  141. package/dist/website/main/assets/index-DtBE21vT.js +0 -1
  142. package/dist/website/main/assets/index-DxdtqQU6.js +0 -1
  143. package/dist/website/main/assets/index-DxypSQ0K-zR2L90gm.js +0 -1
  144. package/dist/website/main/assets/index-DzxzRGrk.js +0 -3
  145. package/dist/website/main/assets/index-Ji2WmMDE.css +0 -1
  146. package/dist/website/main/assets/index-Mnu1wKgu.css +0 -1
  147. package/dist/website/main/assets/index-NYRLx08d.js +0 -1
  148. package/dist/website/main/assets/index-PMqboCW5.js +0 -1
  149. package/dist/website/main/assets/index-R79ZeMZV.js +0 -1
  150. package/dist/website/main/assets/index-T76vWLBU-B_wdWDQF.js +0 -13
  151. package/dist/website/main/assets/index-XhJP7gYm.js +0 -1
  152. package/dist/website/main/assets/index-fZBcgzqR-CZSkQJVN.js +0 -1
  153. package/dist/website/main/assets/index-kE41pQo6.js +0 -1
  154. package/dist/website/main/assets/index-mqeGrL6B-Dup8h8xb.js +0 -1
  155. package/dist/website/main/assets/index-rRr1TSL-.css +0 -1
  156. package/dist/website/main/assets/index-tMz4-DEB.js +0 -1
  157. package/dist/website/main/assets/index-ywM9Y30i.js +0 -1
  158. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-B8gjIiIt.js +0 -2
  159. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-BdH7Nx9p.js +0 -1
  160. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Bphion84.js +0 -1
  161. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-C8D789jG.js +0 -1
  162. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CfvoANZj.js +0 -1
  163. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-uwxiML83.js +0 -1
  164. package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-DDVUKgQ8.js +0 -1
  165. package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-DiN6WUUw.js +0 -6
  166. package/dist/website/main/assets/index3-BB6QcGH6.js +0 -1
  167. package/dist/website/main/assets/javascript-iXu5QeM3.js +0 -1
  168. package/dist/website/main/assets/julia-DuME0IfC.js +0 -1
  169. package/dist/website/main/assets/kid-star-0b7jegzF.js +0 -1
  170. package/dist/website/main/assets/kid-star-D1M-aC1C.css +0 -1
  171. package/dist/website/main/assets/livescript-BwQOo05w.js +0 -1
  172. package/dist/website/main/assets/lua-VAEuO923.js +0 -1
  173. package/dist/website/main/assets/mathematica-DTrFuWx2.js +0 -1
  174. package/dist/website/main/assets/mbox-CNhZ1qSd.js +0 -1
  175. package/dist/website/main/assets/md5-BqUl3L9Y.js +0 -1
  176. package/dist/website/main/assets/mirc-CjQqDB4T.js +0 -1
  177. package/dist/website/main/assets/mllike-CXdrOF99.js +0 -1
  178. package/dist/website/main/assets/modelica-Dc1JOy9r.js +0 -1
  179. package/dist/website/main/assets/moment-B-YVwB4U.js +0 -4
  180. package/dist/website/main/assets/mscgen-BA5vi2Kp.js +0 -1
  181. package/dist/website/main/assets/mumps-BT43cFF4.js +0 -1
  182. package/dist/website/main/assets/nginx-DdIZxoE0.js +0 -1
  183. package/dist/website/main/assets/nsis-LdVXkNf5.js +0 -1
  184. package/dist/website/main/assets/ntriples-BfvgReVJ.js +0 -1
  185. package/dist/website/main/assets/octave-Ck1zUtKM.js +0 -1
  186. package/dist/website/main/assets/oz-BzwKVEFT.js +0 -1
  187. package/dist/website/main/assets/papaparse.min-Brc8PWCw-BsyFjD51.js +0 -10
  188. package/dist/website/main/assets/pascal--L3eBynH.js +0 -1
  189. package/dist/website/main/assets/perl-CdXCOZ3F.js +0 -1
  190. package/dist/website/main/assets/pig-CevX1Tat.js +0 -1
  191. package/dist/website/main/assets/powershell-CFHJl5sT.js +0 -1
  192. package/dist/website/main/assets/properties-C78fOPTZ.js +0 -1
  193. package/dist/website/main/assets/protobuf-ChK-085T.js +0 -1
  194. package/dist/website/main/assets/pug-DeIclll2.js +0 -1
  195. package/dist/website/main/assets/puppet-DMA9R1ak.js +0 -1
  196. package/dist/website/main/assets/python-BuPzkPfP.js +0 -1
  197. package/dist/website/main/assets/q-pXgVlZs6.js +0 -1
  198. package/dist/website/main/assets/r-B6wPVr8A.js +0 -1
  199. package/dist/website/main/assets/rpm-CTu-6PCP.js +0 -1
  200. package/dist/website/main/assets/ruby-B2Rjki9n.js +0 -1
  201. package/dist/website/main/assets/sas-B4kiWyti.js +0 -1
  202. package/dist/website/main/assets/scheme-C41bIUwD.js +0 -1
  203. package/dist/website/main/assets/settings-BhagQj3w.css +0 -1
  204. package/dist/website/main/assets/settings-DpNeh4hy.js +0 -1
  205. package/dist/website/main/assets/shell-CjFT_Tl9.js +0 -1
  206. package/dist/website/main/assets/sieve-C3Gn_uJK.js +0 -1
  207. package/dist/website/main/assets/simple-mode-GW_nhZxv.js +0 -1
  208. package/dist/website/main/assets/smalltalk-CnHTOXQT.js +0 -1
  209. package/dist/website/main/assets/solr-DehyRSwq.js +0 -1
  210. package/dist/website/main/assets/sparql-DkYu6x3z.js +0 -1
  211. package/dist/website/main/assets/spreadsheet-BCZA_wO0.js +0 -1
  212. package/dist/website/main/assets/sql-D0XecflT.js +0 -1
  213. package/dist/website/main/assets/stex-C3f8Ysf7.js +0 -1
  214. package/dist/website/main/assets/stylus-B533Al4x.js +0 -1
  215. package/dist/website/main/assets/supervised-user-circle-B5yCz5Oo.js +0 -1
  216. package/dist/website/main/assets/supervised-user-circle-CZYpyCV4.css +0 -1
  217. package/dist/website/main/assets/swift-BzpIVaGY.js +0 -1
  218. package/dist/website/main/assets/sync-saved-locally-rounded-BX8GcRCO.js +0 -1
  219. package/dist/website/main/assets/sync-saved-locally-rounded-wbwASI26.css +0 -1
  220. package/dist/website/main/assets/tcl-DVfN8rqt.js +0 -1
  221. package/dist/website/main/assets/terminal-DFt3N_TH.css +0 -1
  222. package/dist/website/main/assets/terminal-DXqN9Hoj.js +0 -1
  223. package/dist/website/main/assets/textile-CnDTJFAw.js +0 -1
  224. package/dist/website/main/assets/tiddlywiki-DO-Gjzrf.js +0 -1
  225. package/dist/website/main/assets/tiki-DGYXhP31.js +0 -1
  226. package/dist/website/main/assets/toml-Bm5Em-hy.js +0 -1
  227. package/dist/website/main/assets/troff-wAsdV37c.js +0 -1
  228. package/dist/website/main/assets/ttcn-CfJYG6tj.js +0 -1
  229. package/dist/website/main/assets/ttcn-cfg-B9xdYoR4.js +0 -1
  230. package/dist/website/main/assets/turtle-B1tBg_DP.js +0 -1
  231. package/dist/website/main/assets/useCacheOssStore-DRfQruRw.js +0 -1
  232. package/dist/website/main/assets/useCompEditStore-C2cDxPfw.css +0 -1
  233. package/dist/website/main/assets/useCompEditStore-DpFLk9bE.js +0 -70
  234. package/dist/website/main/assets/useCompMetaLocalStore-Dko7Z-qO.js +0 -1
  235. package/dist/website/main/assets/useKeyword-Dh8n_REW.js +0 -1
  236. package/dist/website/main/assets/useMessage-DeFP0yQy.js +0 -1
  237. package/dist/website/main/assets/useTeamHeaders-BSofrH8c.css +0 -1
  238. package/dist/website/main/assets/useTeamHeaders-Bl2nRtJe.js +0 -380
  239. package/dist/website/main/assets/useUnreadStore-C1fMXHK-.js +0 -1
  240. package/dist/website/main/assets/useVscodeOpen-CcI7l8e8.js +0 -1
  241. package/dist/website/main/assets/v4-EwEgHOG0.js +0 -1
  242. package/dist/website/main/assets/vb-CmGdzxic.js +0 -1
  243. package/dist/website/main/assets/vbscript-BuJXcnF6.js +0 -1
  244. package/dist/website/main/assets/velocity-D8B20fx6.js +0 -1
  245. package/dist/website/main/assets/vendor-core-CfnvwQzw.js +0 -3
  246. package/dist/website/main/assets/vendor-ui-g5RNTRAc.js +0 -50
  247. package/dist/website/main/assets/vendor-xterm-mNFjEaKn.js +0 -9
  248. package/dist/website/main/assets/verilog-C6RDOZhf.js +0 -1
  249. package/dist/website/main/assets/vhdl-lSbBsy5d.js +0 -1
  250. package/dist/website/main/assets/webidl-ZXfAyPTL.js +0 -1
  251. package/dist/website/main/assets/xquery-DzFWVndE.js +0 -1
  252. package/dist/website/main/assets/yacas-BJ4BC0dw.js +0 -1
  253. package/dist/website/main/assets/z80-Hz9HOZM7.js +0 -1
  254. package/dist/website/main/assets/zhCN-VSAW5gZn.js +0 -1
  255. package/dist/website/main/favicon.ico +0 -0
  256. package/dist/website/main/index.html +0 -111
  257. package/dist/website/main/md/COMP_REPEAT.en.md +0 -20
  258. package/dist/website/main/md/COMP_REPEAT.zh.md +0 -20
  259. package/dist/website/main/md/PUT_TREATY.en.md +0 -68
  260. package/dist/website/main/md/PUT_TREATY.zh.md +0 -68
@@ -1,62 +0,0 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function wh(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const bt={},bs=[],to=()=>{},Kw=()=>!1,lu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),cu=e=>e.startsWith("onUpdate:"),tn=Object.assign,Eh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},yI=Object.prototype.hasOwnProperty,dt=(e,t)=>yI.call(e,t),Le=Array.isArray,_s=e=>Ms(e)==="[object Map]",qw=e=>Ms(e)==="[object Set]",ib=e=>Ms(e)==="[object Date]",bI=e=>Ms(e)==="[object RegExp]",Ne=e=>typeof e=="function",At=e=>typeof e=="string",ir=e=>typeof e=="symbol",ht=e=>e!==null&&typeof e=="object",Yw=e=>(ht(e)||Ne(e))&&Ne(e.then)&&Ne(e.catch),Xw=Object.prototype.toString,Ms=e=>Xw.call(e),_I=e=>Ms(e).slice(8,-1),Jw=e=>Ms(e)==="[object Object]",uu=e=>At(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_a=wh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fu=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},vI=/-\w/g,Ln=fu(e=>e.replace(vI,t=>t.slice(1).toUpperCase())),wI=/\B([A-Z])/g,Ni=fu(e=>e.replace(wI,"-$1").toLowerCase()),du=fu(e=>e.charAt(0).toUpperCase()+e.slice(1)),bc=fu(e=>e?`on${du(e)}`:""),Qr=(e,t)=>!Object.is(e,t),va=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Qw=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},EI=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let sb;const pu=()=>sb||(sb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Bn(e){if(Le(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=At(r)?TI(r):Bn(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(At(e)||ht(e))return e}const SI=/;(?![^(]*\))/g,CI=/:([^]+)/,kI=/\/\*[^]*?\*\//g;function TI(e){const t={};return e.replace(kI,"").split(SI).forEach(n=>{if(n){const r=n.split(CI);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Tt(e){let t="";if(At(e))t=e;else if(Le(e))for(let n=0;n<e.length;n++){const r=Tt(e[n]);r&&(t+=r+" ")}else if(ht(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ri(e){if(!e)return null;let{class:t,style:n}=e;return t&&!At(t)&&(e.class=Tt(t)),n&&(e.style=Bn(n)),e}const xI="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",OI=wh(xI);function Zw(e){return!!e||e===""}function AI(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Sh(e[r],t[r]);return n}function Sh(e,t){if(e===t)return!0;let n=ib(e),r=ib(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ir(e),r=ir(t),n||r)return e===t;if(n=Le(e),r=Le(t),n||r)return n&&r?AI(e,t):!1;if(n=ht(e),r=ht(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const a in e){const c=e.hasOwnProperty(a),u=t.hasOwnProperty(a);if(c&&!u||!c&&u||!Sh(e[a],t[a]))return!1}}return String(e)===String(t)}const eE=e=>!!(e&&e.__v_isRef===!0),Oo=e=>At(e)?e:e==null?"":Le(e)||ht(e)&&(e.toString===Xw||!Ne(e.toString))?eE(e)?Oo(e.value):JSON.stringify(e,tE,2):String(e),tE=(e,t)=>eE(t)?tE(e,t.value):_s(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[ud(r,s)+" =>"]=o,n),{})}:qw(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ud(n))}:ir(t)?ud(t):ht(t)&&!Le(t)&&!Jw(t)?String(t):t,ud=(e,t="")=>{var n;return ir(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Xt;class nE{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Xt&&(Xt.active?(this.parent=Xt,this.index=(Xt.scopes||(Xt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const o=this.scopes.slice();for(t=0,n=o.length;t<n;t++)o[t].resume()}const r=this.effects.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}}run(t){if(this._active){const n=Xt;try{return Xt=this,t()}finally{Xt=n}}}on(){++this._on===1&&(this.prevScope=Xt,Xt=this)}off(){if(this._on>0&&--this._on===0){if(Xt===this)Xt=this.prevScope;else{let t=Xt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const o=this.scopes.slice();for(n=0,r=o.length;n<r;n++)o[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Ch(e){return new nE(e)}function Ha(){return Xt}function kh(e,t=!1){Xt&&Xt.cleanups.push(e)}let Ct;const fd=new WeakSet;class rE{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Xt&&(Xt.active?Xt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,fd.has(this)&&(fd.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||iE(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ab(this),sE(this);const t=Ct,n=Ir;Ct=this,Ir=!0;try{return this.fn()}finally{aE(this),Ct=t,Ir=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Oh(t);this.deps=this.depsTail=void 0,ab(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?fd.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){yp(this)&&this.run()}get dirty(){return yp(this)}}let oE=0,wa,Ea;function iE(e,t=!1){if(e.flags|=8,t){e.next=Ea,Ea=e;return}e.next=wa,wa=e}function Th(){oE++}function xh(){if(--oE>0)return;if(Ea){let t=Ea;for(Ea=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;wa;){let t=wa;for(wa=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function sE(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function aE(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Oh(r),RI(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function yp(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(lE(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function lE(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ra)||(e.globalVersion=Ra,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!yp(e))))return;e.flags|=2;const t=e.dep,n=Ct,r=Ir;Ct=e,Ir=!0;try{sE(e);const o=e.fn(e._value);(t.version===0||Qr(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ct=n,Ir=r,aE(e),e.flags&=-3}}function Oh(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Oh(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function RI(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ir=!0;const cE=[];function Ao(){cE.push(Ir),Ir=!1}function Ro(){const e=cE.pop();Ir=e===void 0?!0:e}function ab(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ct;Ct=void 0;try{t()}finally{Ct=n}}}let Ra=0;class PI{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class hu{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ct||!Ir||Ct===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ct)n=this.activeLink=new PI(Ct,this),Ct.deps?(n.prevDep=Ct.depsTail,Ct.depsTail.nextDep=n,Ct.depsTail=n):Ct.deps=Ct.depsTail=n,uE(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ct.depsTail,n.nextDep=void 0,Ct.depsTail.nextDep=n,Ct.depsTail=n,Ct.deps===n&&(Ct.deps=r)}return n}trigger(t){this.version++,Ra++,this.notify(t)}notify(t){Th();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{xh()}}}function uE(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)uE(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ic=new WeakMap,ki=Symbol(""),bp=Symbol(""),Pa=Symbol("");function _n(e,t,n){if(Ir&&Ct){let r=Ic.get(e);r||Ic.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new hu),o.map=r,o.key=n),o.track()}}function Eo(e,t,n,r,o,s){const a=Ic.get(e);if(!a){Ra++;return}const c=u=>{u&&u.trigger()};if(Th(),t==="clear")a.forEach(c);else{const u=Le(e),f=u&&uu(n);if(u&&n==="length"){const p=Number(r);a.forEach((h,g)=>{(g==="length"||g===Pa||!ir(g)&&g>=p)&&c(h)})}else switch((n!==void 0||a.has(void 0))&&c(a.get(n)),f&&c(a.get(Pa)),t){case"add":u?f&&c(a.get("length")):(c(a.get(ki)),_s(e)&&c(a.get(bp)));break;case"delete":u||(c(a.get(ki)),_s(e)&&c(a.get(bp)));break;case"set":_s(e)&&c(a.get(ki));break}}xh()}function LI(e,t){const n=Ic.get(e);return n&&n.get(t)}function es(e){const t=nt(e);return t===e?t:(_n(t,"iterate",Pa),or(e)?t:t.map(Fr))}function mu(e){return _n(e=nt(e),"iterate",Pa),e}function Xr(e,t){return Po(e)?Cs(To(e)?Fr(t):t):Fr(t)}const II={__proto__:null,[Symbol.iterator](){return dd(this,Symbol.iterator,e=>Xr(this,e))},concat(...e){return es(this).concat(...e.map(t=>Le(t)?es(t):t))},entries(){return dd(this,"entries",e=>(e[1]=Xr(this,e[1]),e))},every(e,t){return mo(this,"every",e,t,void 0,arguments)},filter(e,t){return mo(this,"filter",e,t,n=>n.map(r=>Xr(this,r)),arguments)},find(e,t){return mo(this,"find",e,t,n=>Xr(this,n),arguments)},findIndex(e,t){return mo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return mo(this,"findLast",e,t,n=>Xr(this,n),arguments)},findLastIndex(e,t){return mo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return mo(this,"forEach",e,t,void 0,arguments)},includes(...e){return pd(this,"includes",e)},indexOf(...e){return pd(this,"indexOf",e)},join(e){return es(this).join(e)},lastIndexOf(...e){return pd(this,"lastIndexOf",e)},map(e,t){return mo(this,"map",e,t,void 0,arguments)},pop(){return na(this,"pop")},push(...e){return na(this,"push",e)},reduce(e,...t){return lb(this,"reduce",e,t)},reduceRight(e,...t){return lb(this,"reduceRight",e,t)},shift(){return na(this,"shift")},some(e,t){return mo(this,"some",e,t,void 0,arguments)},splice(...e){return na(this,"splice",e)},toReversed(){return es(this).toReversed()},toSorted(e){return es(this).toSorted(e)},toSpliced(...e){return es(this).toSpliced(...e)},unshift(...e){return na(this,"unshift",e)},values(){return dd(this,"values",e=>Xr(this,e))}};function dd(e,t,n){const r=mu(e),o=r[t]();return r!==e&&!or(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const MI=Array.prototype;function mo(e,t,n,r,o,s){const a=mu(e),c=a!==e&&!or(e),u=a[t];if(u!==MI[t]){const h=u.apply(e,s);return c?Fr(h):h}let f=n;a!==e&&(c?f=function(h,g){return n.call(this,Xr(e,h),g,e)}:n.length>2&&(f=function(h,g){return n.call(this,h,g,e)}));const p=u.call(a,f,r);return c&&o?o(p):p}function lb(e,t,n,r){const o=mu(e),s=o!==e&&!or(e);let a=n,c=!1;o!==e&&(s?(c=r.length===0,a=function(f,p,h){return c&&(c=!1,f=Xr(e,f)),n.call(this,f,Xr(e,p),h,e)}):n.length>3&&(a=function(f,p,h){return n.call(this,f,p,h,e)}));const u=o[t](a,...r);return c?Xr(e,u):u}function pd(e,t,n){const r=nt(e);_n(r,"iterate",Pa);const o=r[t](...n);return(o===-1||o===!1)&&bu(n[0])?(n[0]=nt(n[0]),r[t](...n)):o}function na(e,t,n=[]){Ao(),Th();const r=nt(e)[t].apply(e,n);return xh(),Ro(),r}const NI=wh("__proto__,__v_isRef,__isVue"),fE=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ir));function DI(e){ir(e)||(e=String(e));const t=nt(this);return _n(t,"has",e),t.hasOwnProperty(e)}class dE{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?bE:yE:s?gE:mE).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Le(t);if(!o){let u;if(a&&(u=II[n]))return u;if(n==="hasOwnProperty")return DI}const c=Reflect.get(t,n,Rt(t)?t:r);if((ir(n)?fE.has(n):NI(n))||(o||_n(t,"get",n),s))return c;if(Rt(c)){const u=a&&uu(n)?c:c.value;return o&&ht(u)?Ss(u):u}return ht(c)?o?Ss(c):Ga(c):c}}class pE extends dE{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const a=Le(t)&&uu(n);if(!this._isShallow){const f=Po(s);if(!or(r)&&!Po(r)&&(s=nt(s),r=nt(r)),!a&&Rt(s)&&!Rt(r))return f||(s.value=r),!0}const c=a?Number(n)<t.length:dt(t,n),u=Reflect.set(t,n,r,Rt(t)?t:o);return t===nt(o)&&u&&(c?Qr(r,s)&&Eo(t,"set",n,r):Eo(t,"add",n,r)),u}deleteProperty(t,n){const r=dt(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Eo(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!ir(n)||!fE.has(n))&&_n(t,"has",n),r}ownKeys(t){return _n(t,"iterate",Le(t)?"length":ki),Reflect.ownKeys(t)}}class hE extends dE{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const FI=new pE,$I=new hE,jI=new pE(!0),UI=new hE(!0),_p=e=>e,Hl=e=>Reflect.getPrototypeOf(e);function zI(e,t,n){return function(...r){const o=this.__v_raw,s=nt(o),a=_s(s),c=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,f=o[e](...r),p=n?_p:t?Cs:Fr;return!t&&_n(s,"iterate",u?bp:ki),tn(Object.create(f),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:c?[p(h[0]),p(h[1])]:p(h),done:g}}})}}function Gl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function BI(e,t){const n={get(o){const s=this.__v_raw,a=nt(s),c=nt(o);e||(Qr(o,c)&&_n(a,"get",o),_n(a,"get",c));const{has:u}=Hl(a),f=t?_p:e?Cs:Fr;if(u.call(a,o))return f(s.get(o));if(u.call(a,c))return f(s.get(c));s!==a&&s.get(o)},get size(){const o=this.__v_raw;return!e&&_n(nt(o),"iterate",ki),o.size},has(o){const s=this.__v_raw,a=nt(s),c=nt(o);return e||(Qr(o,c)&&_n(a,"has",o),_n(a,"has",c)),o===c?s.has(o):s.has(o)||s.has(c)},forEach(o,s){const a=this,c=a.__v_raw,u=nt(c),f=t?_p:e?Cs:Fr;return!e&&_n(u,"iterate",ki),c.forEach((p,h)=>o.call(s,f(p),f(h),a))}};return tn(n,e?{add:Gl("add"),set:Gl("set"),delete:Gl("delete"),clear:Gl("clear")}:{add(o){const s=nt(this),a=Hl(s),c=nt(o),u=!t&&!or(o)&&!Po(o)?c:o;return a.has.call(s,u)||Qr(o,u)&&a.has.call(s,o)||Qr(c,u)&&a.has.call(s,c)||(s.add(u),Eo(s,"add",u,u)),this},set(o,s){!t&&!or(s)&&!Po(s)&&(s=nt(s));const a=nt(this),{has:c,get:u}=Hl(a);let f=c.call(a,o);f||(o=nt(o),f=c.call(a,o));const p=u.call(a,o);return a.set(o,s),f?Qr(s,p)&&Eo(a,"set",o,s):Eo(a,"add",o,s),this},delete(o){const s=nt(this),{has:a,get:c}=Hl(s);let u=a.call(s,o);u||(o=nt(o),u=a.call(s,o)),c&&c.call(s,o);const f=s.delete(o);return u&&Eo(s,"delete",o,void 0),f},clear(){const o=nt(this),s=o.size!==0,a=o.clear();return s&&Eo(o,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=zI(o,e,t)}),n}function gu(e,t){const n=BI(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(dt(n,o)&&o in r?n:r,o,s)}const WI={get:gu(!1,!1)},VI={get:gu(!1,!0)},HI={get:gu(!0,!1)},GI={get:gu(!0,!0)},mE=new WeakMap,gE=new WeakMap,yE=new WeakMap,bE=new WeakMap;function KI(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ga(e){return Po(e)?e:yu(e,!1,FI,WI,mE)}function _E(e){return yu(e,!1,jI,VI,gE)}function Ss(e){return yu(e,!0,$I,HI,yE)}function qI(e){return yu(e,!0,UI,GI,bE)}function yu(e,t,n,r,o){if(!ht(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=o.get(e);if(s)return s;const a=KI(_I(e));if(a===0)return e;const c=new Proxy(e,a===2?r:n);return o.set(e,c),c}function To(e){return Po(e)?To(e.__v_raw):!!(e&&e.__v_isReactive)}function Po(e){return!!(e&&e.__v_isReadonly)}function or(e){return!!(e&&e.__v_isShallow)}function bu(e){return e?!!e.__v_raw:!1}function nt(e){const t=e&&e.__v_raw;return t?nt(t):e}function Ah(e){return!dt(e,"__v_skip")&&Object.isExtensible(e)&&Qw(e,"__v_skip",!0),e}const Fr=e=>ht(e)?Ga(e):e,Cs=e=>ht(e)?Ss(e):e;function Rt(e){return e?e.__v_isRef===!0:!1}function Re(e){return vE(e,!1)}function In(e){return vE(e,!0)}function vE(e,t){return Rt(e)?e:new YI(e,t)}class YI{constructor(t,n){this.dep=new hu,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:nt(t),this._value=n?t:Fr(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||or(t)||Po(t);t=r?t:nt(t),Qr(t,n)&&(this._rawValue=t,this._value=r?t:Fr(t),this.dep.trigger())}}function je(e){return Rt(e)?e.value:e}function en(e){return Ne(e)?e():je(e)}const XI={get:(e,t,n)=>t==="__v_raw"?e:je(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Rt(o)&&!Rt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function wE(e){return To(e)?e:new Proxy(e,XI)}class JI{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new hu,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function EE(e){return new JI(e)}function QI(e){const t=Le(e)?new Array(e.length):{};for(const n in e)t[n]=CE(e,n);return t}class ZI{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=ir(n)?n:String(n),this._raw=nt(t);let o=!0,s=t;if(!Le(t)||ir(this._key)||!uu(this._key))do o=!bu(s)||or(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=je(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Rt(this._raw[this._key])){const n=this._object[this._key];if(Rt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return LI(this._raw,this._key)}}class eM{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function SE(e,t,n){return Rt(e)?e:Ne(e)?new eM(e):ht(e)&&arguments.length>1?CE(e,t,n):Re(e)}function CE(e,t,n){return new ZI(e,t,n)}class tM{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new hu(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ra-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ct!==this)return iE(this,!0),!0}get value(){const t=this.dep.track();return lE(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function nM(e,t,n=!1){let r,o;return Ne(e)?r=e:(r=e.get,o=e.set),new tM(r,o,n)}const Kl={},Mc=new WeakMap;let vi;function rM(e,t=!1,n=vi){if(n){let r=Mc.get(n);r||Mc.set(n,r=[]),r.push(e)}}function oM(e,t,n=bt){const{immediate:r,deep:o,once:s,scheduler:a,augmentJob:c,call:u}=n,f=E=>o?E:or(E)||o===!1||o===0?So(E,1):So(E);let p,h,g,y,w=!1,_=!1;if(Rt(e)?(h=()=>e.value,w=or(e)):To(e)?(h=()=>f(e),w=!0):Le(e)?(_=!0,w=e.some(E=>To(E)||or(E)),h=()=>e.map(E=>{if(Rt(E))return E.value;if(To(E))return f(E);if(Ne(E))return u?u(E,2):E()})):Ne(e)?t?h=u?()=>u(e,2):e:h=()=>{if(g){Ao();try{g()}finally{Ro()}}const E=vi;vi=p;try{return u?u(e,3,[y]):e(y)}finally{vi=E}}:h=to,t&&o){const E=h,R=o===!0?1/0:o;h=()=>So(E(),R)}const A=Ha(),S=()=>{p.stop(),A&&A.active&&Eh(A.effects,p)};if(s&&t){const E=t;t=(...R)=>{const O=E(...R);return S(),O}}let v=_?new Array(e.length).fill(Kl):Kl;const x=E=>{if(!(!(p.flags&1)||!p.dirty&&!E))if(t){const R=p.run();if(E||o||w||(_?R.some((O,P)=>Qr(O,v[P])):Qr(R,v))){g&&g();const O=vi;vi=p;try{const P=[R,v===Kl?void 0:_&&v[0]===Kl?[]:v,y];v=R,u?u(t,3,P):t(...P)}finally{vi=O}}}else p.run()};return c&&c(x),p=new rE(h),p.scheduler=a?()=>a(x,!1):x,y=E=>rM(E,!1,p),g=p.onStop=()=>{const E=Mc.get(p);if(E){if(u)u(E,4);else for(const R of E)R();Mc.delete(p)}},t?r?x(!0):v=p.run():a?a(x.bind(null,!0),!0):p.run(),S.pause=p.pause.bind(p),S.resume=p.resume.bind(p),S.stop=S,S}function So(e,t=1/0,n){if(t<=0||!ht(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Rt(e))So(e.value,t,n);else if(Le(e))for(let r=0;r<e.length;r++)So(e[r],t,n);else if(qw(e)||_s(e))e.forEach(r=>{So(r,t,n)});else if(Jw(e)){for(const r in e)So(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&So(e[r],t,n)}return e}function Ka(e,t,n,r){try{return r?e(...r):e()}catch(o){_u(o,t,n)}}function $r(e,t,n,r){if(Ne(e)){const o=Ka(e,t,n,r);return o&&Yw(o)&&o.catch(s=>{_u(s,t,n)}),o}if(Le(e)){const o=[];for(let s=0;s<e.length;s++)o.push($r(e[s],t,n,r));return o}}function _u(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||bt;if(t){let c=t.parent;const u=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const p=c.ec;if(p){for(let h=0;h<p.length;h++)if(p[h](e,u,f)===!1)return}c=c.parent}if(s){Ao(),Ka(s,null,10,[e,u,f]),Ro();return}}iM(e,n,o,r,a)}function iM(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Pn=[];let qr=-1;const vs=[];let Xo=null,us=0;const kE=Promise.resolve();let Nc=null;function Ur(e){const t=Nc||kE;return e?t.then(this?e.bind(this):e):t}function sM(e){let t=qr+1,n=Pn.length;for(;t<n;){const r=t+n>>>1,o=Pn[r],s=La(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Rh(e){if(!(e.flags&1)){const t=La(e),n=Pn[Pn.length-1];!n||!(e.flags&2)&&t>=La(n)?Pn.push(e):Pn.splice(sM(t),0,e),e.flags|=1,TE()}}function TE(){Nc||(Nc=kE.then(OE))}function aM(e){Le(e)?vs.push(...e):Xo&&e.id===-1?Xo.splice(us+1,0,e):e.flags&1||(vs.push(e),e.flags|=1),TE()}function cb(e,t,n=qr+1){for(;n<Pn.length;n++){const r=Pn[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Pn.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function xE(e){if(vs.length){const t=[...new Set(vs)].sort((n,r)=>La(n)-La(r));if(vs.length=0,Xo){Xo.push(...t);return}for(Xo=t,us=0;us<Xo.length;us++){const n=Xo[us];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Xo=null,us=0}}const La=e=>e.id==null?e.flags&2?-1:1/0:e.id;function OE(e){try{for(qr=0;qr<Pn.length;qr++){const t=Pn[qr];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ka(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;qr<Pn.length;qr++){const t=Pn[qr];t&&(t.flags&=-2)}qr=-1,Pn.length=0,xE(),Nc=null,(Pn.length||vs.length)&&OE()}}let cn=null,AE=null;function Dc(e){const t=cn;return cn=e,AE=e&&e.type.__scopeId||null,t}function Pi(e,t=cn,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&zc(-1);const s=Dc(t),a=xo.length;let c;try{c=e(...o)}finally{for(let u=xo.length;u>a;u--)Fh();Dc(s),r._d&&zc(1)}return c};return r._n=!0,r._c=!0,r._d=!0,r}function vp(e,t){if(cn===null)return e;const n=ku(cn),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,a,c,u=bt]=t[o];s&&(Ne(s)&&(s={mounted:s,updated:s}),s.deep&&So(a),r.push({dir:s,instance:n,value:a,oldValue:void 0,arg:c,modifiers:u}))}return e}function yi(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let a=0;a<o.length;a++){const c=o[a];s&&(c.oldValue=s[a].value);let u=c.dir[r];u&&(Ao(),$r(u,n,8,[e.el,c,e,t]),Ro())}}function Ti(e,t){if(vn){let n=vn.provides;const r=vn.parent&&vn.parent.provides;r===n&&(n=vn.provides=Object.create(r)),n[e]=t}}function En(e,t,n=!1){const r=ar();if(r||xi){let o=xi?xi._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Ne(t)?t.call(r&&r.proxy):t}}function qa(){return!!(ar()||xi)}const lM=Symbol.for("v-scx"),cM=()=>En(lM);function RE(e,t){return Ph(e,null,t)}function gt(e,t,n){return Ph(e,t,n)}function Ph(e,t,n=bt){const{immediate:r,deep:o,flush:s,once:a}=n,c=tn({},n),u=t&&r||!t&&s!=="post";let f;if(Ma){if(s==="sync"){const y=cM();f=y.__watcherHandles||(y.__watcherHandles=[])}else if(!u){const y=()=>{};return y.stop=to,y.resume=to,y.pause=to,y}}const p=vn;c.call=(y,w,_)=>$r(y,p,w,_);let h=!1;s==="post"?c.scheduler=y=>{Qt(y,p&&p.suspense)}:s!=="sync"&&(h=!0,c.scheduler=(y,w)=>{w?y():Rh(y)}),c.augmentJob=y=>{t&&(y.flags|=4),h&&(y.flags|=2,p&&(y.id=p.uid,y.i=p))};const g=oM(e,t,c);return Ma&&(f?f.push(g):u&&g()),g}function uM(e,t,n){const r=this.proxy,o=At(e)?e.includes(".")?PE(r,e):()=>r[e]:e.bind(r,r);let s;Ne(t)?s=t:(s=t.handler,n=t);const a=Xa(this),c=Ph(o,s.bind(r),n);return a(),c}function PE(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const fM=Symbol("_vte"),dM=e=>e.__isTeleport,hd=Symbol("_leaveCb");function vu(e,t){e.shapeFlag&6&&e.component?(e.transition=t,vu(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function It(e,t){return Ne(e)?tn({name:e.name},t,{setup:e}):e}function LE(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ns(e){const t=ar(),n=In(null);if(t){const o=t.refs===bt?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function ub(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Fc=new WeakMap;function Sa(e,t,n,r,o=!1){if(Le(e)){e.forEach((_,A)=>Sa(_,t&&(Le(t)?t[A]:t),n,r,o));return}if(ei(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Sa(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?ku(r.component):r.el,a=o?null:s,{i:c,r:u}=e,f=t&&t.r,p=c.refs===bt?c.refs={}:c.refs,h=c.setupState,g=nt(h),y=h===bt?Kw:_=>ub(p,_)?!1:dt(g,_),w=(_,A)=>!(A&&ub(p,A));if(f!=null&&f!==u){if(fb(t),At(f))p[f]=null,y(f)&&(h[f]=null);else if(Rt(f)){const _=t;w(f,_.k)&&(f.value=null),_.k&&(p[_.k]=null)}}if(Ne(u))Ka(u,c,12,[a,p]);else{const _=At(u),A=Rt(u);if(_||A){const S=()=>{if(e.f){const v=_?y(u)?h[u]:p[u]:w()||!e.k?u.value:p[e.k];if(o)Le(v)&&Eh(v,s);else if(Le(v))v.includes(s)||v.push(s);else if(_)p[u]=[s],y(u)&&(h[u]=p[u]);else{const x=[s];w(u,e.k)&&(u.value=x),e.k&&(p[e.k]=x)}}else _?(p[u]=a,y(u)&&(h[u]=a)):A&&(w(u,e.k)&&(u.value=a),e.k&&(p[e.k]=a))};if(a){const v=()=>{S(),Fc.delete(e)};v.id=-1,Fc.set(e,v),Qt(v,n)}else fb(e),S()}}}function fb(e){const t=Fc.get(e);t&&(t.flags|=8,Fc.delete(e))}pu().requestIdleCallback;pu().cancelIdleCallback;const ei=e=>!!e.type.__asyncLoader,IE=e=>e.type.__isKeepAlive,pM={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ar(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const o=new Map,s=new Set;let a=null;const c=n.suspense,{renderer:{p:u,m:f,um:p,o:{createElement:h}}}=r,g=h("div");r.activate=(v,x,E,R,O)=>{const P=v.component;f(v,x,E,0,c),u(P.vnode,v,x,E,P,c,R,v.slotScopeIds,O),Qt(()=>{P.isDeactivated=!1,P.a&&va(P.a);const T=v.props&&v.props.onVnodeMounted;T&&yr(T,P.parent,v)},c)},r.deactivate=v=>{const x=v.component;jc(x.m),jc(x.a),f(v,g,null,1,c),Qt(()=>{x.da&&va(x.da);const E=v.props&&v.props.onVnodeUnmounted;E&&yr(E,x.parent,v),x.isDeactivated=!0},c)};function y(v){md(v),p(v,n,c,!0)}function w(v){o.forEach((x,E)=>{const R=Tp(ei(x)?x.type.__asyncResolved||{}:x.type);R&&!v(R)&&_(E)})}function _(v){const x=o.get(v);x&&(!a||!fs(x,a))?y(x):a&&md(a),o.delete(v),s.delete(v)}gt(()=>[e.include,e.exclude],([v,x])=>{v&&w(E=>ua(v,E)),x&&w(E=>!ua(x,E))},{flush:"post",deep:!0});let A=null;const S=()=>{A!=null&&(Uc(n.subTree.type)?Qt(()=>{o.set(A,ql(n.subTree))},n.subTree.suspense):o.set(A,ql(n.subTree)))};return Er(S),NE(S),Eu(()=>{o.forEach(v=>{const{subTree:x,suspense:E}=n,R=ql(x);if(v.type===R.type&&v.key===R.key){md(R);const O=R.component.da;O&&Qt(O,E);return}y(v)})}),()=>{if(A=null,!t.default)return a=null;const v=t.default(),x=v[0];if(v.length>1)return a=null,v;if(!ks(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return a=null,x;let E=ql(x);if(E.type===ro)return a=null,E;const R=E.type,O=Tp(ei(E)?E.type.__asyncResolved||{}:R),{include:P,exclude:T,max:N}=e;if(P&&(!O||!ua(P,O))||T&&O&&ua(T,O))return E.shapeFlag&=-257,a=E,x;const K=E.key==null?R:E.key,G=o.get(K);return E.el&&(E=Li(E),x.shapeFlag&128&&(x.ssContent=E)),A=K,G?(E.el=G.el,E.component=G.component,E.transition&&vu(E,E.transition),E.shapeFlag|=512,s.delete(K),s.add(K)):(s.add(K),N&&s.size>parseInt(N,10)&&_(s.values().next().value)),E.shapeFlag|=256,a=E,Uc(x.type)?x:E}}},hM=pM;function ua(e,t){return Le(e)?e.some(n=>ua(n,t)):At(e)?e.split(",").includes(t):bI(e)?(e.lastIndex=0,e.test(t)):!1}function mM(e,t){ME(e,"a",t)}function gM(e,t){ME(e,"da",t)}function ME(e,t,n=vn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(wu(t,r,n),n){let o=n.parent;for(;o&&o.parent;)IE(o.parent.vnode)&&yM(r,t,n,o),o=o.parent}}function yM(e,t,n,r){const o=wu(t,e,r,!0);Ds(()=>{Eh(r[t],o)},n)}function md(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ql(e){return e.shapeFlag&128?e.ssContent:e}function wu(e,t,n=vn,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{Ao();const c=Xa(n),u=$r(t,n,e,a);return c(),Ro(),u});return r?o.unshift(s):o.push(s),s}}const Io=e=>(t,n=vn)=>{(!Ma||e==="sp")&&wu(e,(...r)=>t(...r),n)},bM=Io("bm"),Er=Io("m"),_M=Io("bu"),NE=Io("u"),Eu=Io("bum"),Ds=Io("um"),vM=Io("sp"),wM=Io("rtg"),EM=Io("rtc");function SM(e,t=vn){wu("ec",e,t)}const Lh="components",CM="directives";function Ih(e,t){return Mh(Lh,e,!0,t)||e}const DE=Symbol.for("v-ndc");function kM(e){return At(e)?Mh(Lh,e,!1)||e:e||DE}function TM(e){return Mh(CM,e)}function Mh(e,t,n=!0,r=!1){const o=cn||vn;if(o){const s=o.type;if(e===Lh){const c=Tp(s,!1);if(c&&(c===t||c===Ln(t)||c===du(Ln(t))))return s}const a=db(o[e]||s[e],t)||db(o.appContext[e],t);return!a&&r?s:a}}function db(e,t){return e&&(e[t]||e[Ln(t)]||e[du(Ln(t))])}function Fs(e,t,n,r){let o;const s=n&&n[r],a=Le(e);if(a||At(e)){const c=a&&To(e);let u=!1,f=!1;c&&(u=!or(e),f=Po(e),e=mu(e)),o=new Array(e.length);for(let p=0,h=e.length;p<h;p++)o[p]=t(u?f?Cs(Fr(e[p])):Fr(e[p]):e[p],p,void 0,s&&s[p])}else if(typeof e=="number"){o=new Array(e);for(let c=0;c<e;c++)o[c]=t(c+1,c,void 0,s&&s[c])}else if(ht(e))if(e[Symbol.iterator])o=Array.from(e,(c,u)=>t(c,u,void 0,s&&s[u]));else{const c=Object.keys(e);o=new Array(c.length);for(let u=0,f=c.length;u<f;u++){const p=c[u];o[u]=t(e[p],p,u,s&&s[u])}}else o=[];return n&&(n[r]=o),o}function ti(e,t,n={},r,o,s){if(cn.ce||cn.parent&&ei(cn.parent)&&cn.parent.ce){const f=s!=null&&n.key==null?tn({},n,{key:s}):n,p=Object.keys(f).length>0;return t!=="default"&&(f.name=t),Ce(),_t(Vt,null,[Ht("slot",f,r&&r())],p?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const c=xo.length;Ce();let u;try{const f=a&&FE(a(n)),p=n.key||s||f&&f.key;u=_t(Vt,{key:(p&&!ir(p)?p:`_${t}`)+(!f&&r?"_fb":"")},f||(r?r():[]),f&&e._===1?64:-2)}catch(f){for(let p=xo.length;p>c;p--)Fh();throw f}finally{a&&a._c&&(a._d=!0)}return!o&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),u}function FE(e){return e.some(t=>ks(t)?!(t.type===ro||t.type===Vt&&!FE(t.children)):!0)?e:null}const wp=e=>e?n0(e)?ku(e):wp(e.parent):null,Ca=tn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>wp(e.parent),$root:e=>wp(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>jE(e),$forceUpdate:e=>e.f||(e.f=()=>{Rh(e.update)}),$nextTick:e=>e.n||(e.n=Ur.bind(e.proxy)),$watch:e=>uM.bind(e)}),gd=(e,t)=>e!==bt&&!e.__isScriptSetup&&dt(e,t),xM={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:a,type:c,appContext:u}=e;if(t[0]!=="$"){const g=a[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(gd(r,t))return a[t]=1,r[t];if(o!==bt&&dt(o,t))return a[t]=2,o[t];if(dt(s,t))return a[t]=3,s[t];if(n!==bt&&dt(n,t))return a[t]=4,n[t];Ep&&(a[t]=0)}}const f=Ca[t];let p,h;if(f)return t==="$attrs"&&_n(e.attrs,"get",""),f(e);if((p=c.__cssModules)&&(p=p[t]))return p;if(n!==bt&&dt(n,t))return a[t]=4,n[t];if(h=u.config.globalProperties,dt(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return gd(o,t)?(o[t]=n,!0):r!==bt&&dt(r,t)?(r[t]=n,!0):dt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:a}},c){let u;return!!(n[c]||e!==bt&&c[0]!=="$"&&dt(e,c)||gd(t,c)||dt(s,c)||dt(r,c)||dt(Ca,c)||dt(o.config.globalProperties,c)||(u=a.__cssModules)&&u[c])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:dt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function OM(){return AM().attrs}function AM(e){const t=ar();return t.setupContext||(t.setupContext=o0(t))}function pb(e){return Le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ep=!0;function RM(e){const t=jE(e),n=e.proxy,r=e.ctx;Ep=!1,t.beforeCreate&&hb(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:a,watch:c,provide:u,inject:f,created:p,beforeMount:h,mounted:g,beforeUpdate:y,updated:w,activated:_,deactivated:A,beforeDestroy:S,beforeUnmount:v,destroyed:x,unmounted:E,render:R,renderTracked:O,renderTriggered:P,errorCaptured:T,serverPrefetch:N,expose:K,inheritAttrs:G,components:ne,directives:de,filters:z}=t;if(f&&PM(f,r,null),a)for(const ue in a){const Ee=a[ue];Ne(Ee)&&(r[ue]=Ee.bind(n))}if(o){const ue=o.call(n,n);ht(ue)&&(e.data=Ga(ue))}if(Ep=!0,s)for(const ue in s){const Ee=s[ue],We=Ne(Ee)?Ee.bind(n,n):Ne(Ee.get)?Ee.get.bind(n,n):to,rn=!Ne(Ee)&&Ne(Ee.set)?Ee.set.bind(n):to,tt=ce({get:We,set:rn});Object.defineProperty(r,ue,{enumerable:!0,configurable:!0,get:()=>tt.value,set:Ge=>tt.value=Ge})}if(c)for(const ue in c)$E(c[ue],r,n,ue);if(u){const ue=Ne(u)?u.call(n):u;Reflect.ownKeys(ue).forEach(Ee=>{Ti(Ee,ue[Ee])})}p&&hb(p,e,"c");function ae(ue,Ee){Le(Ee)?Ee.forEach(We=>ue(We.bind(n))):Ee&&ue(Ee.bind(n))}if(ae(bM,h),ae(Er,g),ae(_M,y),ae(NE,w),ae(mM,_),ae(gM,A),ae(SM,T),ae(EM,O),ae(wM,P),ae(Eu,v),ae(Ds,E),ae(vM,N),Le(K))if(K.length){const ue=e.exposed||(e.exposed={});K.forEach(Ee=>{Object.defineProperty(ue,Ee,{get:()=>n[Ee],set:We=>n[Ee]=We,enumerable:!0})})}else e.exposed||(e.exposed={});R&&e.render===to&&(e.render=R),G!=null&&(e.inheritAttrs=G),ne&&(e.components=ne),de&&(e.directives=de),N&&LE(e)}function PM(e,t,n=to){Le(e)&&(e=Sp(e));for(const r in e){const o=e[r];let s;ht(o)?"default"in o?s=En(o.from||r,o.default,!0):s=En(o.from||r):s=En(o),Rt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[r]=s}}function hb(e,t,n){$r(Le(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function $E(e,t,n,r){let o=r.includes(".")?PE(n,r):()=>n[r];if(At(e)){const s=t[e];Ne(s)&&gt(o,s)}else if(Ne(e))gt(o,e.bind(n));else if(ht(e))if(Le(e))e.forEach(s=>$E(s,t,n,r));else{const s=Ne(e.handler)?e.handler.bind(n):t[e.handler];Ne(s)&&gt(o,s,e)}}function jE(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,c=s.get(t);let u;return c?u=c:!o.length&&!n&&!r?u=t:(u={},o.length&&o.forEach(f=>$c(u,f,a,!0)),$c(u,t,a)),ht(t)&&s.set(t,u),u}function $c(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&$c(e,s,n,!0),o&&o.forEach(a=>$c(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const c=LM[a]||n&&n[a];e[a]=c?c(e[a],t[a]):t[a]}return e}const LM={data:mb,props:gb,emits:gb,methods:fa,computed:fa,beforeCreate:Rn,created:Rn,beforeMount:Rn,mounted:Rn,beforeUpdate:Rn,updated:Rn,beforeDestroy:Rn,beforeUnmount:Rn,destroyed:Rn,unmounted:Rn,activated:Rn,deactivated:Rn,errorCaptured:Rn,serverPrefetch:Rn,components:fa,directives:fa,watch:MM,provide:mb,inject:IM};function mb(e,t){return t?e?function(){return tn(Ne(e)?e.call(this,this):e,Ne(t)?t.call(this,this):t)}:t:e}function IM(e,t){return fa(Sp(e),Sp(t))}function Sp(e){if(Le(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Rn(e,t){return e?[...new Set([].concat(e,t))]:t}function fa(e,t){return e?tn(Object.create(null),e,t):t}function gb(e,t){return e?Le(e)&&Le(t)?[...new Set([...e,...t])]:tn(Object.create(null),pb(e),pb(t??{})):t}function MM(e,t){if(!e)return t;if(!t)return e;const n=tn(Object.create(null),e);for(const r in t)n[r]=Rn(e[r],t[r]);return n}function UE(){return{app:null,config:{isNativeTag:Kw,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let NM=0;function DM(e,t){return function(r,o=null){Ne(r)||(r=tn({},r)),o!=null&&!ht(o)&&(o=null);const s=UE(),a=new WeakSet,c=[];let u=!1;const f=s.app={_uid:NM++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:cN,get config(){return s.config},set config(p){},use(p,...h){return a.has(p)||(p&&Ne(p.install)?(a.add(p),p.install(f,...h)):Ne(p)&&(a.add(p),p(f,...h))),f},mixin(p){return s.mixins.includes(p)||s.mixins.push(p),f},component(p,h){return h?(s.components[p]=h,f):s.components[p]},directive(p,h){return h?(s.directives[p]=h,f):s.directives[p]},mount(p,h,g){if(!u){const y=f._ceVNode||Ht(r,o);return y.appContext=s,g===!0?g="svg":g===!1&&(g=void 0),e(y,p,g),u=!0,f._container=p,p.__vue_app__=f,ku(y.component)}},onUnmount(p){c.push(p)},unmount(){u&&($r(c,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(p,h){return s.provides[p]=h,f},runWithContext(p){const h=xi;xi=f;try{return p()}finally{xi=h}}};return f}}let xi=null;const FM=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ln(t)}Modifiers`]||e[`${Ni(t)}Modifiers`];function $M(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||bt;let o=n;const s=t.startsWith("update:"),a=s&&FM(r,t.slice(7));a&&(a.trim&&(o=n.map(p=>At(p)?p.trim():p)),a.number&&(o=n.map(EI)));let c,u=r[c=bc(t)]||r[c=bc(Ln(t))];!u&&s&&(u=r[c=bc(Ni(t))]),u&&$r(u,e,6,o);const f=r[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,$r(f,e,6,o)}}const jM=new WeakMap;function zE(e,t,n=!1){const r=n?jM:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let a={},c=!1;if(!Ne(e)){const u=f=>{const p=zE(f,t,!0);p&&(c=!0,tn(a,p))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!c?(ht(e)&&r.set(e,null),null):(Le(s)?s.forEach(u=>a[u]=null):tn(a,s),ht(e)&&r.set(e,a),a)}function Su(e,t){return!e||!lu(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),dt(e,t[0].toLowerCase()+t.slice(1))||dt(e,Ni(t))||dt(e,t))}function yb(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:a,attrs:c,emit:u,render:f,renderCache:p,props:h,data:g,setupState:y,ctx:w,inheritAttrs:_}=e,A=Dc(e);let S,v;try{if(n.shapeFlag&4){const E=o||r,R=E;S=Jr(f.call(R,E,p,h,y,g,w)),v=c}else{const E=t;S=Jr(E.length>1?E(h,{attrs:c,slots:a,emit:u}):E(h,null)),v=t.props?c:UM(c)}}catch(E){xo.length=0,_u(E,e,1),S=Ht(ro)}let x=S;if(v&&_!==!1){const E=Object.keys(v),{shapeFlag:R}=x;E.length&&R&7&&(s&&E.some(cu)&&(v=zM(v,s)),x=Li(x,v,!1,!0))}return n.dirs&&(x=Li(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&vu(x,n.transition),S=x,Dc(A),S}const UM=e=>{let t;for(const n in e)(n==="class"||n==="style"||lu(n))&&((t||(t={}))[n]=e[n]);return t},zM=(e,t)=>{const n={};for(const r in e)(!cu(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function BM(e,t,n){const{props:r,children:o,component:s}=e,{props:a,children:c,patchFlag:u}=t,f=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?bb(r,a,f):!!a;if(u&8){const p=t.dynamicProps;for(let h=0;h<p.length;h++){const g=p[h];if(BE(a,r,g)&&!Su(f,g))return!0}}}else return(o||c)&&(!c||!c.$stable)?!0:r===a?!1:r?a?bb(r,a,f):!0:!!a;return!1}function bb(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(BE(t,e,s)&&!Su(n,s))return!0}return!1}function BE(e,t,n){const r=e[n],o=t[n];return n==="style"&&ht(r)&&ht(o)?!Sh(r,o):r!==o}function WM({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const WE={},VE=()=>Object.create(WE),HE=e=>Object.getPrototypeOf(e)===WE;function VM(e,t,n,r=!1){const o={},s=VE();e.propsDefaults=Object.create(null),GE(e,t,o,s);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:_E(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function HM(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:a}}=e,c=nt(o),[u]=e.propsOptions;let f=!1;if((r||a>0)&&!(a&16)){if(a&8){const p=e.vnode.dynamicProps;for(let h=0;h<p.length;h++){let g=p[h];if(Su(e.emitsOptions,g))continue;const y=t[g];if(u)if(dt(s,g))y!==s[g]&&(s[g]=y,f=!0);else{const w=Ln(g);o[w]=Cp(u,c,w,y,e,!1)}else y!==s[g]&&(s[g]=y,f=!0)}}}else{GE(e,t,o,s)&&(f=!0);let p;for(const h in c)(!t||!dt(t,h)&&((p=Ni(h))===h||!dt(t,p)))&&(u?n&&(n[h]!==void 0||n[p]!==void 0)&&(o[h]=Cp(u,c,h,void 0,e,!0)):delete o[h]);if(s!==c)for(const h in s)(!t||!dt(t,h))&&(delete s[h],f=!0)}f&&Eo(e.attrs,"set","")}function GE(e,t,n,r){const[o,s]=e.propsOptions;let a=!1,c;if(t)for(let u in t){if(_a(u))continue;const f=t[u];let p;o&&dt(o,p=Ln(u))?!s||!s.includes(p)?n[p]=f:(c||(c={}))[p]=f:Su(e.emitsOptions,u)||(!(u in r)||f!==r[u])&&(r[u]=f,a=!0)}if(s){const u=nt(n),f=c||bt;for(let p=0;p<s.length;p++){const h=s[p];n[h]=Cp(o,u,h,f[h],e,!dt(f,h))}}return a}function Cp(e,t,n,r,o,s){const a=e[n];if(a!=null){const c=dt(a,"default");if(c&&r===void 0){const u=a.default;if(a.type!==Function&&!a.skipFactory&&Ne(u)){const{propsDefaults:f}=o;if(n in f)r=f[n];else{const p=Xa(o);r=f[n]=u.call(null,t),p()}}else r=u;o.ce&&o.ce._setProp(n,r)}a[0]&&(s&&!c?r=!1:a[1]&&(r===""||r===Ni(n))&&(r=!0))}return r}const GM=new WeakMap;function KE(e,t,n=!1){const r=n?GM:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,a={},c=[];let u=!1;if(!Ne(e)){const p=h=>{u=!0;const[g,y]=KE(h,t,!0);tn(a,g),y&&c.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!s&&!u)return ht(e)&&r.set(e,bs),bs;if(Le(s))for(let p=0;p<s.length;p++){const h=Ln(s[p]);_b(h)&&(a[h]=bt)}else if(s)for(const p in s){const h=Ln(p);if(_b(h)){const g=s[p],y=a[h]=Le(g)||Ne(g)?{type:g}:tn({},g),w=y.type;let _=!1,A=!0;if(Le(w))for(let S=0;S<w.length;++S){const v=w[S],x=Ne(v)&&v.name;if(x==="Boolean"){_=!0;break}else x==="String"&&(A=!1)}else _=Ne(w)&&w.name==="Boolean";y[0]=_,y[1]=A,(_||dt(y,"default"))&&c.push(h)}}const f=[a,c];return ht(e)&&r.set(e,f),f}function _b(e){return e[0]!=="$"&&!_a(e)}const Nh=e=>e==="_"||e==="_ctx"||e==="$stable",Dh=e=>Le(e)?e.map(Jr):[Jr(e)],KM=(e,t,n)=>{if(t._n)return t;const r=Pi((...o)=>Dh(t(...o)),n);return r._c=!1,r},qE=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Nh(o))continue;const s=e[o];if(Ne(s))t[o]=KM(o,s,r);else if(s!=null){const a=Dh(s);t[o]=()=>a}}},YE=(e,t)=>{const n=Dh(t);e.slots.default=()=>n},XE=(e,t,n)=>{for(const r in t)(n||!Nh(r))&&(e[r]=t[r])},qM=(e,t,n)=>{const r=e.slots=VE();if(e.vnode.shapeFlag&32){const o=t._;o?(XE(r,t,n),n&&Qw(r,"_",o,!0)):qE(t,r)}else t&&YE(e,t)},YM=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,a=bt;if(r.shapeFlag&32){const c=t._;c?n&&c===1?s=!1:XE(o,t,n):(s=!t.$stable,qE(t,o)),a=t}else t&&(YE(e,t),a={default:1});if(s)for(const c in o)!Nh(c)&&a[c]==null&&delete o[c]},Qt=eN;function XM(e){return JM(e)}function JM(e,t){const n=pu();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:a,createText:c,createComment:u,setText:f,setElementText:p,parentNode:h,nextSibling:g,setScopeId:y=to,insertStaticContent:w}=e,_=(M,F,H,J=null,te=null,Q=null,L=void 0,I=null,j=!!F.dynamicChildren)=>{if(M===F)return;M&&!fs(M,F)&&(J=ee(M),Ge(M,te,Q,!0),M=null),F.patchFlag===-2&&(j=!1,F.dynamicChildren=null);const{type:W,ref:fe,shapeFlag:ie}=F;switch(W){case Ya:A(M,F,H,J);break;case ro:S(M,F,H,J);break;case bd:M==null&&v(F,H,J,L);break;case Vt:ne(M,F,H,J,te,Q,L,I,j);break;default:ie&1?R(M,F,H,J,te,Q,L,I,j):ie&6?de(M,F,H,J,te,Q,L,I,j):(ie&64||ie&128)&&W.process(M,F,H,J,te,Q,L,I,j,ve)}fe!=null&&te?Sa(fe,M&&M.ref,Q,F||M,!F):fe==null&&M&&M.ref!=null&&Sa(M.ref,null,Q,M,!0)},A=(M,F,H,J)=>{if(M==null)r(F.el=c(F.children),H,J);else{const te=F.el=M.el;F.children!==M.children&&f(te,F.children)}},S=(M,F,H,J)=>{M==null?r(F.el=u(F.children||""),H,J):F.el=M.el},v=(M,F,H,J)=>{[M.el,M.anchor]=w(M.children,F,H,J,M.el,M.anchor)},x=({el:M,anchor:F},H,J)=>{let te;for(;M&&M!==F;)te=g(M),r(M,H,J),M=te;r(F,H,J)},E=({el:M,anchor:F})=>{let H;for(;M&&M!==F;)H=g(M),o(M),M=H;o(F)},R=(M,F,H,J,te,Q,L,I,j)=>{if(F.type==="svg"?L="svg":F.type==="math"&&(L="mathml"),M==null)O(F,H,J,te,Q,L,I,j);else{const W=M.el&&M.el._isVueCE?M.el:null;try{W&&W._beginPatch(),N(M,F,te,Q,L,I,j)}finally{W&&W._endPatch()}}},O=(M,F,H,J,te,Q,L,I)=>{let j,W;const{props:fe,shapeFlag:ie,transition:U,dirs:X}=M;if(j=M.el=a(M.type,Q,fe&&fe.is,fe),ie&8?p(j,M.children):ie&16&&T(M.children,j,null,J,te,yd(M,Q),L,I),X&&yi(M,null,J,"created"),P(j,M,M.scopeId,L,J),fe){for(const ke in fe)ke!=="value"&&!_a(ke)&&s(j,ke,null,fe[ke],Q,J);"value"in fe&&s(j,"value",null,fe.value,Q),(W=fe.onVnodeBeforeMount)&&yr(W,J,M)}X&&yi(M,null,J,"beforeMount");const be=QM(te,U);be&&U.beforeEnter(j),r(j,F,H),((W=fe&&fe.onVnodeMounted)||be||X)&&Qt(()=>{W&&yr(W,J,M),be&&U.enter(j),X&&yi(M,null,J,"mounted")},te)},P=(M,F,H,J,te)=>{if(H&&y(M,H),J)for(let Q=0;Q<J.length;Q++)y(M,J[Q]);if(te){let Q=te.subTree;if(F===Q||Uc(Q.type)&&(Q.ssContent===F||Q.ssFallback===F)){const L=te.vnode;P(M,L,L.scopeId,L.slotScopeIds,te.parent)}}},T=(M,F,H,J,te,Q,L,I,j=0)=>{for(let W=j;W<M.length;W++){const fe=M[W]=I?wo(M[W]):Jr(M[W]);_(null,fe,F,H,J,te,Q,L,I)}},N=(M,F,H,J,te,Q,L)=>{const I=F.el=M.el;let{patchFlag:j,dynamicChildren:W,dirs:fe}=F;j|=M.patchFlag&16;const ie=M.props||bt,U=F.props||bt;let X;if(H&&bi(H,!1),(X=U.onVnodeBeforeUpdate)&&yr(X,H,F,M),fe&&yi(F,M,H,"beforeUpdate"),H&&bi(H,!0),W&&(!M.dynamicChildren||M.dynamicChildren.length!==W.length)&&(j=0,L=!1,W=null),(ie.innerHTML&&U.innerHTML==null||ie.textContent&&U.textContent==null)&&p(I,""),W?K(M.dynamicChildren,W,I,H,J,yd(F,te),Q):L||Ee(M,F,I,null,H,J,yd(F,te),Q,!1),j>0){if(j&16)G(I,ie,U,H,te);else if(j&2&&ie.class!==U.class&&s(I,"class",null,U.class,te),j&4&&s(I,"style",ie.style,U.style,te),j&8){const be=F.dynamicProps;for(let ke=0;ke<be.length;ke++){const $e=be[ke],Xe=ie[$e],Ze=U[$e];(Ze!==Xe||$e==="value")&&s(I,$e,Xe,Ze,te,H)}}j&1&&M.children!==F.children&&p(I,F.children)}else!L&&W==null&&G(I,ie,U,H,te);((X=U.onVnodeUpdated)||fe)&&Qt(()=>{X&&yr(X,H,F,M),fe&&yi(F,M,H,"updated")},J)},K=(M,F,H,J,te,Q,L)=>{for(let I=0;I<F.length;I++){const j=M[I],W=F[I],fe=j.el&&(j.type===Vt||!fs(j,W)||j.shapeFlag&198)?h(j.el):H;_(j,W,fe,null,J,te,Q,L,!0)}},G=(M,F,H,J,te)=>{if(F!==H){if(F!==bt)for(const Q in F)!_a(Q)&&!(Q in H)&&s(M,Q,F[Q],null,te,J);for(const Q in H){if(_a(Q))continue;const L=H[Q],I=F[Q];L!==I&&Q!=="value"&&s(M,Q,I,L,te,J)}"value"in H&&s(M,"value",F.value,H.value,te)}},ne=(M,F,H,J,te,Q,L,I,j)=>{const W=F.el=M?M.el:c(""),fe=F.anchor=M?M.anchor:c("");let{patchFlag:ie,dynamicChildren:U,slotScopeIds:X}=F;X&&(I=I?I.concat(X):X),M==null?(r(W,H,J),r(fe,H,J),T(F.children||[],H,fe,te,Q,L,I,j)):ie>0&&ie&64&&U&&M.dynamicChildren&&M.dynamicChildren.length===U.length?(K(M.dynamicChildren,U,H,te,Q,L,I),(F.key!=null||te&&F===te.subTree)&&JE(M,F,!0)):Ee(M,F,H,fe,te,Q,L,I,j)},de=(M,F,H,J,te,Q,L,I,j)=>{F.slotScopeIds=I,M==null?F.shapeFlag&512?te.ctx.activate(F,H,J,L,j):z(F,H,J,te,Q,L,j):re(M,F,j)},z=(M,F,H,J,te,Q,L)=>{const I=M.component=oN(M,J,te);if(IE(M)&&(I.ctx.renderer=ve),iN(I,!1,L),I.asyncDep){if(te&&te.registerDep(I,ae,L),!M.el){const j=I.subTree=Ht(ro);S(null,j,F,H),M.placeholder=j.el}}else ae(I,M,F,H,te,Q,L)},re=(M,F,H)=>{const J=F.component=M.component;if(BM(M,F,H))if(J.asyncDep&&!J.asyncResolved){ue(J,F,H);return}else J.next=F,J.update();else F.el=M.el,J.vnode=F},ae=(M,F,H,J,te,Q,L)=>{const I=()=>{if(M.isMounted){let{next:ie,bu:U,u:X,parent:be,vnode:ke}=M;{const Tn=QE(M);if(Tn){ie&&(ie.el=ke.el,ue(M,ie,L)),Tn.asyncDep.then(()=>{Qt(()=>{M.isUnmounted||W()},te)});return}}let $e=ie,Xe;bi(M,!1),ie?(ie.el=ke.el,ue(M,ie,L)):ie=ke,U&&va(U),(Xe=ie.props&&ie.props.onVnodeBeforeUpdate)&&yr(Xe,be,ie,ke),bi(M,!0);const Ze=yb(M),pn=M.subTree;M.subTree=Ze,_(pn,Ze,h(pn.el),ee(pn),M,te,Q),ie.el=Ze.el,$e===null&&WM(M,Ze.el),X&&Qt(X,te),(Xe=ie.props&&ie.props.onVnodeUpdated)&&Qt(()=>yr(Xe,be,ie,ke),te)}else{let ie;const{el:U,props:X}=F,{bm:be,m:ke,parent:$e,root:Xe,type:Ze}=M,pn=ei(F);bi(M,!1),be&&va(be),!pn&&(ie=X&&X.onVnodeBeforeMount)&&yr(ie,$e,F),bi(M,!0);{Xe.ce&&Xe.ce._hasShadowRoot()&&Xe.ce._injectChildStyle(Ze,M.parent?M.parent.type:void 0);const Tn=M.subTree=yb(M);_(null,Tn,H,J,M,te,Q),F.el=Tn.el}if(ke&&Qt(ke,te),!pn&&(ie=X&&X.onVnodeMounted)){const Tn=F;Qt(()=>yr(ie,$e,Tn),te)}(F.shapeFlag&256||$e&&ei($e.vnode)&&$e.vnode.shapeFlag&256)&&M.a&&Qt(M.a,te),M.isMounted=!0,F=H=J=null}};M.scope.on();const j=M.effect=new rE(I);M.scope.off();const W=M.update=j.run.bind(j),fe=M.job=j.runIfDirty.bind(j);fe.i=M,fe.id=M.uid,j.scheduler=()=>Rh(fe),bi(M,!0),W()},ue=(M,F,H)=>{F.component=M;const J=M.vnode.props;M.vnode=F,M.next=null,HM(M,F.props,J,H),YM(M,F.children,H),Ao(),cb(M),Ro()},Ee=(M,F,H,J,te,Q,L,I,j=!1)=>{const W=M&&M.children,fe=M?M.shapeFlag:0,ie=F.children,{patchFlag:U,shapeFlag:X}=F;if(U>0){if(U&128){rn(W,ie,H,J,te,Q,L,I,j);return}else if(U&256){We(W,ie,H,J,te,Q,L,I,j);return}}X&8?(fe&16&&Mt(W,te,Q),ie!==W&&p(H,ie)):fe&16?X&16?rn(W,ie,H,J,te,Q,L,I,j):Mt(W,te,Q,!0):(fe&8&&p(H,""),X&16&&T(ie,H,J,te,Q,L,I,j))},We=(M,F,H,J,te,Q,L,I,j)=>{M=M||bs,F=F||bs;const W=M.length,fe=F.length,ie=Math.min(W,fe);let U;for(U=0;U<ie;U++){const X=F[U]=j?wo(F[U]):Jr(F[U]);_(M[U],X,H,null,te,Q,L,I,j)}W>fe?Mt(M,te,Q,!0,!1,ie):T(F,H,J,te,Q,L,I,j,ie)},rn=(M,F,H,J,te,Q,L,I,j)=>{let W=0;const fe=F.length;let ie=M.length-1,U=fe-1;for(;W<=ie&&W<=U;){const X=M[W],be=F[W]=j?wo(F[W]):Jr(F[W]);if(fs(X,be))_(X,be,H,null,te,Q,L,I,j);else break;W++}for(;W<=ie&&W<=U;){const X=M[ie],be=F[U]=j?wo(F[U]):Jr(F[U]);if(fs(X,be))_(X,be,H,null,te,Q,L,I,j);else break;ie--,U--}if(W>ie){if(W<=U){const X=U+1,be=X<fe?F[X].el:J;for(;W<=U;)_(null,F[W]=j?wo(F[W]):Jr(F[W]),H,be,te,Q,L,I,j),W++}}else if(W>U)for(;W<=ie;)Ge(M[W],te,Q,!0),W++;else{const X=W,be=W,ke=new Map;for(W=be;W<=U;W++){const sn=F[W]=j?wo(F[W]):Jr(F[W]);sn.key!=null&&ke.set(sn.key,W)}let $e,Xe=0;const Ze=U-be+1;let pn=!1,Tn=0;const io=new Array(Ze);for(W=0;W<Ze;W++)io[W]=0;for(W=X;W<=ie;W++){const sn=M[W];if(Xe>=Ze){Ge(sn,te,Q,!0);continue}let Nn;if(sn.key!=null)Nn=ke.get(sn.key);else for($e=be;$e<=U;$e++)if(io[$e-be]===0&&fs(sn,F[$e])){Nn=$e;break}Nn===void 0?Ge(sn,te,Q,!0):(io[Nn-be]=W+1,Nn>=Tn?Tn=Nn:pn=!0,_(sn,F[Nn],H,null,te,Q,L,I,j),Xe++)}const Fi=pn?ZM(io):bs;for($e=Fi.length-1,W=Ze-1;W>=0;W--){const sn=be+W,Nn=F[sn],$i=F[sn+1],ji=sn+1<fe?$i.el||ZE($i):J;io[W]===0?_(null,Nn,H,ji,te,Q,L,I,j):pn&&($e<0||W!==Fi[$e]?tt(Nn,H,ji,2):$e--)}}},tt=(M,F,H,J,te=null)=>{const{el:Q,type:L,transition:I,children:j,shapeFlag:W}=M;if(W&6){tt(M.component.subTree,F,H,J);return}if(W&128){M.suspense.move(F,H,J);return}if(W&64){L.move(M,F,H,ve);return}if(L===Vt){r(Q,F,H);for(let ie=0;ie<j.length;ie++)tt(j[ie],F,H,J);r(M.anchor,F,H);return}if(L===bd){x(M,F,H);return}if(J!==2&&W&1&&I)if(J===0)I.persisted&&!Q[hd]?r(Q,F,H):(I.beforeEnter(Q),r(Q,F,H),Qt(()=>I.enter(Q),te));else{const{leave:ie,delayLeave:U,afterLeave:X}=I,be=()=>{M.ctx.isUnmounted?o(Q):r(Q,F,H)},ke=()=>{const $e=Q._isLeaving||!!Q[hd];Q._isLeaving&&Q[hd](!0),I.persisted&&!$e?be():ie(Q,()=>{be(),X&&X()})};U?U(Q,be,ke):ke()}else r(Q,F,H)},Ge=(M,F,H,J=!1,te=!1)=>{const{type:Q,props:L,ref:I,children:j,dynamicChildren:W,shapeFlag:fe,patchFlag:ie,dirs:U,cacheIndex:X,memo:be}=M;if(ie===-2&&(te=!1),I!=null&&(Ao(),Sa(I,null,H,M,!0),Ro()),X!=null&&(F.renderCache[X]=void 0),fe&256){F.ctx.deactivate(M);return}const ke=fe&1&&U,$e=!ei(M);let Xe;if($e&&(Xe=L&&L.onVnodeBeforeUnmount)&&yr(Xe,F,M),fe&6)kn(M.component,H,J);else{if(fe&128){M.suspense.unmount(H,J);return}ke&&yi(M,null,F,"beforeUnmount"),fe&64?M.type.remove(M,F,H,ve,J):W&&!W.hasOnce&&(Q!==Vt||ie>0&&ie&64)?Mt(W,F,H,!1,!0):(Q===Vt&&ie&384||!te&&fe&16)&&Mt(j,F,H),J&&dn(M)}const Ze=be!=null&&X==null;($e&&(Xe=L&&L.onVnodeUnmounted)||ke||Ze)&&Qt(()=>{Xe&&yr(Xe,F,M),ke&&yi(M,null,F,"unmounted"),Ze&&(M.el=null)},H)},dn=M=>{const{type:F,el:H,anchor:J,transition:te}=M;if(F===Vt){on(H,J);return}if(F===bd){E(M);return}const Q=()=>{o(H),te&&!te.persisted&&te.afterLeave&&te.afterLeave()};if(M.shapeFlag&1&&te&&!te.persisted){const{leave:L,delayLeave:I}=te,j=()=>L(H,Q);I?I(M.el,Q,j):j()}else Q()},on=(M,F)=>{let H;for(;M!==F;)H=g(M),o(M),M=H;o(F)},kn=(M,F,H)=>{const{bum:J,scope:te,job:Q,subTree:L,um:I,m:j,a:W}=M;jc(j),jc(W),J&&va(J),te.stop(),Q&&(Q.flags|=8,Ge(L,M,F,H)),I&&Qt(I,F),Qt(()=>{M.isUnmounted=!0},F)},Mt=(M,F,H,J=!1,te=!1,Q=0)=>{for(let L=Q;L<M.length;L++)Ge(M[L],F,H,J,te)},ee=M=>{if(M.shapeFlag&6)return ee(M.component.subTree);if(M.shapeFlag&128)return M.suspense.next();const F=g(M.anchor||M.el),H=F&&F[fM];return H?g(H):F};let ge=!1;const he=(M,F,H)=>{let J;M==null?F._vnode&&(Ge(F._vnode,null,null,!0),J=F._vnode.component):_(F._vnode||null,M,F,null,null,null,H),F._vnode=M,ge||(ge=!0,cb(J),xE(),ge=!1)},ve={p:_,um:Ge,m:tt,r:dn,mt:z,mc:T,pc:Ee,pbc:K,n:ee,o:e};return{render:he,hydrate:void 0,createApp:DM(he)}}function yd({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function bi({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function QM(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function JE(e,t,n=!1){const r=e.children,o=t.children;if(Le(r)&&Le(o))for(let s=0;s<r.length;s++){const a=r[s];let c=o[s];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=o[s]=wo(o[s]),c.el=a.el),!n&&c.patchFlag!==-2&&JE(a,c)),c.type===Ya&&(c.patchFlag===-1&&(c=o[s]=wo(c)),c.el=a.el),c.type===ro&&!c.el&&(c.el=a.el)}}function ZM(e){const t=e.slice(),n=[0];let r,o,s,a,c;const u=e.length;for(r=0;r<u;r++){const f=e[r];if(f!==0){if(o=n[n.length-1],e[o]<f){t[r]=o,n.push(r);continue}for(s=0,a=n.length-1;s<a;)c=s+a>>1,e[n[c]]<f?s=c+1:a=c;f<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}function QE(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:QE(t)}function jc(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ZE(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?ZE(t.subTree):null}const Uc=e=>e.__isSuspense;function eN(e,t){t&&t.pendingBranch?Le(e)?t.effects.push(...e):t.effects.push(e):aM(e)}const Vt=Symbol.for("v-fgt"),Ya=Symbol.for("v-txt"),ro=Symbol.for("v-cmt"),bd=Symbol.for("v-stc"),xo=[];let rr=null;function Ce(e=!1){xo.push(rr=e?null:[])}function Fh(){xo.pop(),rr=xo[xo.length-1]||null}let Ia=1;function zc(e,t=!1){Ia+=e,e<0&&rr&&t&&(rr.hasOnce=!0)}function e0(e){return e.dynamicChildren=Ia>0?rr||bs:null,Fh(),Ia>0&&rr&&rr.push(e),e}function pt(e,t,n,r,o,s){return e0(mt(e,t,n,r,o,s,!0))}function _t(e,t,n,r,o){return e0(Ht(e,t,n,r,o,!0))}function ks(e){return e?e.__v_isVNode===!0:!1}function fs(e,t){return e.type===t.type&&e.key===t.key}const t0=({key:e})=>e??null,_c=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?At(e)||Rt(e)||Ne(e)?{i:cn,r:e,k:t,f:!!n}:e:null);function mt(e,t=null,n=null,r=0,o=null,s=e===Vt?0:1,a=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&t0(t),ref:t&&_c(t),scopeId:AE,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:cn};return c?(Wc(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=At(n)?8:16),Ia>0&&!a&&rr&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&rr.push(u),u}const Ht=tN;function tN(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===DE)&&(e=ro),ks(e)){const c=Li(e,t,!0);return n&&Wc(c,n),Ia>0&&!s&&rr&&(c.shapeFlag&6?rr[rr.indexOf(e)]=c:rr.push(c)),c.patchFlag=-2,c}if(lN(e)&&(e=e.__vccOpts),t){t=Cu(t);let{class:c,style:u}=t;c&&!At(c)&&(t.class=Tt(c)),ht(u)&&(bu(u)&&!Le(u)&&(u=tn({},u)),t.style=Bn(u))}const a=At(e)?1:Uc(e)?128:dM(e)?64:ht(e)?4:Ne(e)?2:0;return mt(e,t,n,r,o,a,s,!0)}function Cu(e){return e?bu(e)||HE(e)?tn({},e):e:null}function Li(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:a,children:c,transition:u}=e,f=t?Nr(o||{},t):o,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&t0(f),ref:t&&t.ref?n&&s?Le(s)?s.concat(_c(t)):[s,_c(t)]:_c(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Vt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Li(e.ssContent),ssFallback:e.ssFallback&&Li(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&vu(p,u.clone(p)),p}function Bc(e=" ",t=0){return Ht(Ya,null,e,t)}function Mr(e="",t=!1){return t?(Ce(),_t(ro,null,e)):Ht(ro,null,e)}function Jr(e){return e==null||typeof e=="boolean"?Ht(ro):Le(e)?Ht(Vt,null,e.slice()):ks(e)?wo(e):Ht(Ya,null,String(e))}function wo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Li(e)}function Wc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Le(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Wc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!HE(t)?t._ctx=cn:o===3&&cn&&(cn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Ne(t)){if(r&65){Wc(e,{default:t});return}t={default:t,_ctx:cn},n=32}else t=String(t),r&64?(n=16,t=[Bc(t)]):n=8;e.children=t,e.shapeFlag|=n}function Nr(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Tt([t.class,r.class]));else if(o==="style")t.style=Bn([t.style,r.style]);else if(lu(o)){const s=t[o],a=r[o];a&&s!==a&&!(Le(s)&&s.includes(a))?t[o]=s?[].concat(s,a):a:a==null&&s==null&&!cu(o)&&(t[o]=a)}else o!==""&&(t[o]=r[o])}return t}function yr(e,t,n,r=null){$r(e,t,7,[n,r])}const nN=UE();let rN=0;function oN(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||nN,s={uid:rN++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new nE(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:KE(r,o),emitsOptions:zE(r,o),emit:null,emitted:null,propsDefaults:bt,inheritAttrs:r.inheritAttrs,ctx:bt,data:bt,props:bt,attrs:bt,slots:bt,refs:bt,setupState:bt,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=$M.bind(null,s),e.ce&&e.ce(s),s}let vn=null;const ar=()=>vn||cn;let Vc,kp;{const e=pu(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(a=>a(s)):o[0](s)}};Vc=t("__VUE_INSTANCE_SETTERS__",n=>vn=n),kp=t("__VUE_SSR_SETTERS__",n=>Ma=n)}const Xa=e=>{const t=vn;return Vc(e),e.scope.on(),()=>{e.scope.off(),Vc(t)}},vb=()=>{vn&&vn.scope.off(),Vc(null)};function n0(e){return e.vnode.shapeFlag&4}let Ma=!1;function iN(e,t=!1,n=!1){t&&kp(t);const{props:r,children:o}=e.vnode,s=n0(e);VM(e,r,s,t),qM(e,o,n||t);const a=s?sN(e,t):void 0;return t&&kp(!1),a}function sN(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,xM);const{setup:r}=n;if(r){Ao();const o=e.setupContext=r.length>1?o0(e):null,s=Xa(e),a=Ka(r,e,0,[e.props,o]),c=Yw(a);if(Ro(),s(),(c||e.sp)&&!ei(e)&&LE(e),c){if(a.then(vb,vb),t)return a.then(u=>{wb(e,u)}).catch(u=>{_u(u,e,0)});e.asyncDep=a}else wb(e,a)}else r0(e)}function wb(e,t,n){Ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ht(t)&&(e.setupState=wE(t)),r0(e)}function r0(e,t,n){const r=e.type;e.render||(e.render=r.render||to);{const o=Xa(e);Ao();try{RM(e)}finally{Ro(),o()}}}const aN={get(e,t){return _n(e,"get",""),e[t]}};function o0(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,aN),slots:e.slots,emit:e.emit,expose:t}}function ku(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(wE(Ah(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ca)return Ca[n](e)},has(t,n){return n in t||n in Ca}})):e.proxy}function Tp(e,t=!0){return Ne(e)?e.displayName||e.name:e.name||t&&e.__name}function lN(e){return Ne(e)&&"__vccOpts"in e}const ce=(e,t)=>nM(e,t,Ma);function ri(e,t,n){try{zc(-1);const r=arguments.length;return r===2?ht(t)&&!Le(t)?ks(t)?Ht(e,null,[t]):Ht(e,t):Ht(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ks(n)&&(n=[n]),Ht(e,t,n))}finally{zc(1)}}const cN="3.5.40";let xp;const Eb=typeof window<"u"&&window.trustedTypes;if(Eb)try{xp=Eb.createPolicy("vue",{createHTML:e=>e})}catch{}const i0=xp?e=>xp.createHTML(e):e=>e,uN="http://www.w3.org/2000/svg",fN="http://www.w3.org/1998/Math/MathML",vo=typeof document<"u"?document:null,Sb=vo&&vo.createElement("template"),dN={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?vo.createElementNS(uN,e):t==="mathml"?vo.createElementNS(fN,e):n?vo.createElement(e,{is:n}):vo.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>vo.createTextNode(e),createComment:e=>vo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const a=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Sb.innerHTML=i0(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const c=Sb.content;if(r==="svg"||r==="mathml"){const u=c.firstChild;for(;u.firstChild;)c.appendChild(u.firstChild);c.removeChild(u)}t.insertBefore(c,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},pN=Symbol("_vtc");function hN(e,t,n){const r=e[pN];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hc=Symbol("_vod"),s0=Symbol("_vsh"),a0={name:"show",beforeMount(e,{value:t},{transition:n}){e[Hc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ra(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ra(e,!0),r.enter(e)):r.leave(e,()=>{ra(e,!1)}):ra(e,t))},beforeUnmount(e,{value:t}){ra(e,t)}};function ra(e,t){e.style.display=t?e[Hc]:"none",e[s0]=!t}const mN=Symbol(""),gN=/(?:^|;)\s*display\s*:/;function yN(e,t,n){const r=e.style,o=At(n);let s=!1;if(n&&!o){if(t)if(At(t))for(const a of t.split(";")){const c=a.slice(0,a.indexOf(":")).trim();n[c]==null&&da(r,c,"")}else for(const a in t)n[a]==null&&da(r,a,"");for(const a in n){a==="display"&&(s=!0);const c=n[a];c!=null?_N(e,a,!At(t)&&t?t[a]:void 0,c)||da(r,a,c):da(r,a,"")}}else if(o){if(t!==n){const a=r[mN];a&&(n+=";"+a),r.cssText=n,s=gN.test(n)}}else t&&e.removeAttribute("style");Hc in e&&(e[Hc]=s?r.display:"",e[s0]&&(r.display="none"))}const Cb=/\s*!important$/;function da(e,t,n){if(Le(n))n.forEach(r=>da(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=bN(e,t);Cb.test(n)?e.setProperty(Ni(r),n.replace(Cb,""),"important"):e[r]=n}}const kb=["Webkit","Moz","ms"],_d={};function bN(e,t){const n=_d[t];if(n)return n;let r=Ln(t);if(r!=="filter"&&r in e)return _d[t]=r;r=du(r);for(let o=0;o<kb.length;o++){const s=kb[o]+r;if(s in e)return _d[t]=s}return t}function _N(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&At(r)&&n===r}const Tb="http://www.w3.org/1999/xlink";function xb(e,t,n,r,o,s=OI(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Tb,t.slice(6,t.length)):e.setAttributeNS(Tb,t,n):n==null||s&&!Zw(n)?e.removeAttribute(t):e.setAttribute(t,s?"":ir(n)?String(n):n)}function Ob(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?i0(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const c=s==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Zw(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(o||t)}function vN(e,t,n,r){e.addEventListener(t,n,r)}function wN(e,t,n,r){e.removeEventListener(t,n,r)}const Ab=Symbol("_vei");function EN(e,t,n,r,o=null){const s=e[Ab]||(e[Ab]={}),a=s[t];if(r&&a)a.value=r;else{const[c,u]=kN(t);if(r){const f=s[t]=ON(r,o);vN(e,c,f,u)}else a&&(wN(e,c,a,u),s[t]=void 0)}}const SN=/(Once|Passive|Capture)$/,CN=/^on:?(?:Once|Passive|Capture)$/;function kN(e){let t,n;for(;(n=e.match(SN))&&!CN.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Ni(e.slice(2)),t]}let vd=0;const TN=Promise.resolve(),xN=()=>vd||(TN.then(()=>vd=0),vd=Date.now());function ON(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const o=n.value;if(Le(o)){const s=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{s.call(r),r._stopped=!0};const a=o.slice(),c=[r];for(let u=0;u<a.length&&!r._stopped;u++){const f=a[u];f&&$r(f,t,5,c)}}else $r(o,t,5,[r])};return n.value=e,n.attached=xN(),n}const Rb=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,AN=(e,t,n,r,o,s)=>{const a=o==="svg";t==="class"?hN(e,r,a):t==="style"?yN(e,n,r):lu(t)?cu(t)||EN(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):RN(e,t,r,a))?(Ob(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xb(e,t,r,a,s,t!=="value")):e._isVueCE&&(PN(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!At(r)))?Ob(e,Ln(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),xb(e,t,r,a))};function RN(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Rb(t)&&Ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Rb(t)&&At(n)?!1:t in e}function PN(e,t){const n=e._def.props;if(!n)return!1;const r=Ln(t);return Array.isArray(n)?n.some(o=>Ln(o)===r):Object.keys(n).some(o=>Ln(o)===r)}const LN=["ctrl","shift","alt","meta"],IN={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>LN.some(n=>e[`${n}Key`]&&!t.includes(n))},Pb=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let a=0;a<t.length;a++){const c=IN[t[a]];if(c&&c(o,t))return}return e(o,...s)}))},MN=tn({patchProp:AN},dN);let Lb;function NN(){return Lb||(Lb=XM(MN))}const DN=((...e)=>{const t=NN().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=$N(r);if(!o)return;const s=t._component;!Ne(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=n(o,!1,FN(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t});function FN(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $N(e){return At(e)?document.querySelector(e):e}const wd=new WeakMap,jN=(...e)=>{var t;const n=e[0],r=(t=ar())===null||t===void 0?void 0:t.proxy,o=r??Ha();if(o==null&&!qa())throw new Error("injectLocal must be called in setup");return o&&wd.has(o)&&n in wd.get(o)?wd.get(o)[n]:En(...e)},UN=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const zN=Object.prototype.toString,BN=e=>zN.call(e)==="[object Object]",WN=()=>{};function l0(...e){if(e.length!==1)return SE(...e);const t=e[0];return typeof t=="function"?Ss(EE(()=>({get:t,set:WN}))):Re(t)}function VN(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const c0=e=>e();function HN(e=c0,t={}){const{initialState:n="active"}=t,r=l0(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:qI(r),pause:o,resume:s,eventFilter:(...c)=>{r.value&&e(...c)}}}function Ib(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Ed(e){return Array.isArray(e)?e:[e]}function GN(e){return ar()}function KN(e,t,n={}){const{eventFilter:r=c0,...o}=n;return gt(e,VN(r,t),o)}function qN(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:a,pause:c,resume:u,isActive:f}=HN(r,{initialState:o});return{stop:KN(e,t,{...s,eventFilter:a}),pause:c,resume:u,isActive:f}}function u0(e,t=!0,n){GN()?Er(e,n):t?e():Ur(e)}function YN(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Rt(e),s=In(e);function a(c){if(arguments.length)return s.value=c,s.value;{const u=en(n);return s.value=s.value===u?en(r):u,s.value}}return o?a:[s,a]}function XN(e,t,n){return gt(e,t,{...n,immediate:!0})}const Ei=UN?window:void 0;function f0(e){var t;const n=en(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Op(...e){const t=(r,o,s,a)=>(r.addEventListener(o,s,a),()=>r.removeEventListener(o,s,a)),n=ce(()=>{const r=Ed(en(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return XN(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>f0(s)))!==null&&r!==void 0?r:[Ei].filter(s=>s!=null),Ed(en(n.value?e[1]:e[0])),Ed(je(n.value?e[2]:e[1])),en(n.value?e[3]:e[2])]},([r,o,s,a],c,u)=>{if(!r?.length||!o?.length||!s?.length)return;const f=BN(a)?{...a}:a,p=r.flatMap(h=>o.flatMap(g=>s.map(y=>t(h,g,y,f))));u(()=>{p.forEach(h=>h())})},{flush:"post"})}function JN(){const e=In(!1),t=ar();return t&&Er(()=>{e.value=!0},t),e}function QN(e){const t=JN();return ce(()=>(t.value,!!e()))}const ZN=Symbol("vueuse-ssr-width");function eD(){const e=qa()?jN(ZN,null):null;return typeof e=="number"?e:void 0}function tD(e,t={}){const{window:n=Ei,ssrWidth:r=eD()}=t,o=QN(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=In(typeof r=="number"),a=In(),c=In(!1),u=f=>{c.value=f.matches};return RE(()=>{if(s.value){s.value=!o.value,c.value=en(e).split(",").some(f=>{const p=f.includes("not all"),h=f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),g=f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let y=!!(h||g);return h&&y&&(y=r>=Ib(h[1])),g&&y&&(y=r<=Ib(g[1])),p?!y:y});return}o.value&&(a.value=n.matchMedia(en(e)),c.value=a.value.matches)}),Op(a,"change",u,{passive:!0}),ce(()=>c.value)}const Yl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Xl="__vueuse_ssr_handlers__",nD=rD();function rD(){return Xl in Yl||(Yl[Xl]=Yl[Xl]||{}),Yl[Xl]}function d0(e,t){return nD[e]||t}function oD(e){return tD("(prefers-color-scheme: dark)",e)}function iD(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const sD={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Mb="vueuse-storage";function aD(e,t,n,r={}){var o;const{flush:s="pre",deep:a=!0,listenToStorageChanges:c=!0,writeDefaults:u=!0,mergeDefaults:f=!1,shallow:p,window:h=Ei,eventFilter:g,onError:y=z=>{console.error(z)},initOnMounted:w}=r,_=(p?In:Re)(typeof t=="function"?t():t),A=ce(()=>en(e));if(!n)try{n=d0("getDefaultStorage",()=>Ei?.localStorage)()}catch(z){y(z)}if(!n)return _;const S=en(t),v=iD(S),x=(o=r.serializer)!==null&&o!==void 0?o:sD[v],{pause:E,resume:R}=qN(_,z=>K(z),{flush:s,deep:a,eventFilter:g});gt(A,()=>ne(),{flush:s});let O=!1;const P=z=>{w&&!O||ne(z)},T=z=>{w&&!O||de(z)};h&&c&&(n instanceof Storage?Op(h,"storage",P,{passive:!0}):Op(h,Mb,T)),w?u0(()=>{O=!0,ne()}):ne();function N(z,re){if(h){const ae={key:A.value,oldValue:z,newValue:re,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",ae):new CustomEvent(Mb,{detail:ae}))}}function K(z){try{const re=n.getItem(A.value);if(z==null)N(re,null),n.removeItem(A.value);else{const ae=x.write(z);re!==ae&&(n.setItem(A.value,ae),N(re,ae))}}catch(re){y(re)}}function G(z){const re=z?z.newValue:n.getItem(A.value);if(re==null)return u&&S!=null&&n.setItem(A.value,x.write(S)),S;if(!z&&f){const ae=x.read(re);return typeof f=="function"?f(ae,S):v==="object"&&!Array.isArray(ae)?{...S,...ae}:ae}else return typeof re!="string"?re:x.read(re)}function ne(z){if(!(z&&z.storageArea!==n)){if(z&&z.key==null){_.value=S;return}if(!(z&&z.key!==A.value)){E();try{const re=x.write(_.value);(z===void 0||z?.newValue!==re)&&(_.value=G(z))}catch(re){y(re)}finally{z?Ur(R):R()}}}}function de(z){ne(z.detail)}return _}const lD="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function cD(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=Ei,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:u,emitAuto:f,disableTransition:p=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=oD({window:o}),y=ce(()=>g.value?"dark":"light"),w=u||(a==null?l0(r):aD(a,r,s,{window:o,listenToStorageChanges:c})),_=ce(()=>w.value==="auto"?y.value:w.value),A=d0("updateHTMLAttrs",(E,R,O)=>{const P=typeof E=="string"?o?.document.querySelector(E):f0(E);if(!P)return;const T=new Set,N=new Set;let K=null;if(R==="class"){const ne=O.split(/\s/g);Object.values(h).flatMap(de=>(de||"").split(/\s/g)).filter(Boolean).forEach(de=>{ne.includes(de)?T.add(de):N.add(de)})}else K={key:R,value:O};if(T.size===0&&N.size===0&&K===null)return;let G;p&&(G=o.document.createElement("style"),G.appendChild(document.createTextNode(lD)),o.document.head.appendChild(G));for(const ne of T)P.classList.add(ne);for(const ne of N)P.classList.remove(ne);K&&P.setAttribute(K.key,K.value),p&&(o.getComputedStyle(G).opacity,document.head.removeChild(G))});function S(E){var R;A(t,n,(R=h[E])!==null&&R!==void 0?R:E)}function v(E){e.onChanged?e.onChanged(E,S):S(E)}gt(_,v,{flush:"post",immediate:!0}),u0(()=>v(_.value));const x=ce({get(){return f?w.value:_.value},set(E){w.value=E}});return Object.assign(x,{store:w,system:y,state:_})}function uD(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=cD({...e,onChanged:(s,a)=>{var c;e.onChanged?(c=e.onChanged)===null||c===void 0||c.call(e,s==="dark",a,s):a(s)},modes:{dark:t,light:n}}),o=ce(()=>r.system.value);return ce({get(){return r.value==="dark"},set(s){const a=s?"dark":"light";o.value===a?r.value="auto":r.value=a}})}const fD="Comp Hub",dD="main",pD="container",hD="item",mD="/__global_config__",gD="local://",yD="comphubConfig",bD="__remote__",_D="__local__",vD="__admin__",wD="https://api.comphub.cn",ED="http://localhost:7002",SD="http://127.0.0.1:5000",CD="http://localhost:5001",kD="http://localhost:3580",TD="https://apiadmin.comphub.cn",xD="https://admin.comphub.cn",OD="/_module_load_prefix_",AD="/_node_modules_load_prefix_",RD="/_comp_preview_prefix_local_",PD="/__proxy__",LD="/__master__",ID="authorization",MD="x-refresh-token",ND="accept-language",DD="comp-hub-db",FD="file-compiled",$D="https://oss.comphub.cn",jD="oss:sts:token",UD="oss:sts:expire",zD="https://prebuild.comphub.cn",BD="/dev",WD="/prod",VD="/node_modules/.prebuild_module",HD="_metadata.json",GD="vue/dist/vue.esm-bundler.js",KD="react-jsx-loader",qD="vue3-sfc-loader",YD="vue2-sfc-loader",XD="sass-compiler",JD="less-compiler",p0="react",QD={COMP_FRAMEWORK_VUE:"vue",COMP_FRAMEWORK_REACT:p0},ZD="comp.json",eF="README.md",tF="main.js",nF="index.vue",rF=["index.jsx","index.js","index.tsx"],oF="/.comp_hub_temp",iF="screenshot_mini.png",sF=1024*1024*10,aF=1024*1024*3,lF=30,h0="list_local",m0="list_remote",cF={COMP_LIST_TYPE_LOCAL:h0,COMP_LIST_TYPE_REMOTE:m0},g0="config",y0="error",b0="dir",_0="preview",v0="extra",w0="deps",E0="readme",S0="upgradeLog",uF={TAB_TYPE_CONFIG:g0,TAB_TYPE_ERROR:y0,TAB_TYPE_DIR:b0,TAB_TYPE_PREVIEW:_0,TAB_TYPE_EXTRA:v0,TAB_TYPE_DEPS:w0,TAB_TYPE_README:E0,TAB_TYPE_UPGRADE_LOG:S0},C0="mini",k0="full",fF={COMP_EDIT_TAB_TYPE_MINI:C0,COMP_EDIT_TAB_TYPE_FULL:k0},T0="EDIT",x0="ADD",dF={DIALOG_TYPE_EDIT:T0,DIALOG_TYPE_ADD:x0},O0="ONLY_INSTALL",A0="AUTO",R0="MAJOR_VERSION",P0="MINOR_VERSION",L0="EXACT_VERSION",pF={COMP_MATCH_TYPE_ONLY_INSTALL:O0,COMP_MATCH_TYPE_AUTO:A0,COMP_MATCH_TYPE_MAJOR_VERSION:R0,COMP_MATCH_TYPE_MINOR_VERSION:P0,COMP_MATCH_TYPE_EXACT_VERSION:L0},I0="online",M0="offline",hF={COMP_UPDATE_TYPE_ONLINE:I0,COMP_UPDATE_TYPE_OFFLINE:M0},N0="NOT_EXIST",D0="EXIST",mF={COMP_CHECK_STATUS_NOT_EXIST:N0,COMP_CHECK_STATUS_EXIST:D0},F0="__id__",gF=0,yF=1,bF=-1,$0="checkPreviewListForm",j0="checkExtraInfoForm",U0="checkCompConfig",z0="checkUpgradeLogForm",B0="getCompError",W0="afterCompDel",V0="afterCompCancelCollect",H0="afterCompRenderRetry",G0="openCompTerminal",_F={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:$0,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:j0,COMP_METHOD_KEY_CHECK_COMP_CONFIG:U0,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:z0,COMP_METHOD_KEY_GET_COMP_ERROR:B0,COMP_METHOD_KEY_AFTER_COMP_DEL:W0,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:V0,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:H0,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:G0},vF="compListStore",wF="compEditStore",EF="callbacks",SF={CONTAINER:{SHARE:"share",COLLECT:"collect",LOCAL:"local",MINE:"mine",SIMILAR:"similar",TEAM_ALL:"teamAll",TEAM_MINE:"teamMine",TEAM_GROUP:"teamGroup",TEAM_ADD:"teamAdd"},ITEM:{PREVIEW_REMOTE:"previewRemote",PREVIEW_LOCAL:"previewLocal",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},CF="http://127.0.0.1",kF="http://localhost:8095",TF="http://localhost:8096",xF="http://localhost:5198",OF="http://localhost:3056",AF="https://www.comphub.cn",RF="http://localhost:8101",PF="https://render.comphub.cn",LF="/item",IF="/container",MF="CREATE",NF="JOIN",DF="EXIT",FF="teamAddMyComp",$F="teamCompList",jF="teamCompGroupList",UF="teamMyCompList",zF="teamMyCompUpdate",BF="__v__",WF="local",VF="prod",HF="local",GF="prod",KF="http://localhost:5173",qF="https://docs.comphub.cn",YF=20,XF=20,JF="SUPER_ADMIN",QF="ADMIN",we=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:ND,ADMIN_SERVICE_PREFIX:vD,ADMIN_SERVICE_URL_DEV:kD,ADMIN_SERVICE_URL_PROD:TD,ADMIN_WEB_URL_PROD:xD,AUTHORIZATION_HEADER_NAME:ID,CACHE_KEY_STS_EXPIRE_TIME:UD,CACHE_KEY_STS_TOKEN:jD,COMPHUB_CONFIG_KEY:yD,COMP_ACTION_ICON_HEIGHT:XF,COMP_ACTION_ICON_WIDTH:YF,COMP_CHECK_STATUSES:mF,COMP_CHECK_STATUS_EXIST:D0,COMP_CHECK_STATUS_NOT_EXIST:N0,COMP_CONFIG_FILENAME:ZD,COMP_EDIT_TAB_TYPES:fF,COMP_EDIT_TAB_TYPE_FULL:k0,COMP_EDIT_TAB_TYPE_MINI:C0,COMP_ENTRY_FILE:tF,COMP_FIELD_COMP_ID:F0,COMP_FRAMEWORK_REACT:p0,COMP_FRAMEWORK_TYPES:QD,COMP_FRAMEWORK_VUE:"vue",COMP_HUB_DEV_DOCS_URL:KF,COMP_HUB_PROD_DOCS_URL:qF,COMP_LIST_TYPES:cF,COMP_LIST_TYPE_LOCAL:h0,COMP_LIST_TYPE_REMOTE:m0,COMP_MATCH_TYPES:pF,COMP_MATCH_TYPE_AUTO:A0,COMP_MATCH_TYPE_EXACT_VERSION:L0,COMP_MATCH_TYPE_MAJOR_VERSION:R0,COMP_MATCH_TYPE_MINOR_VERSION:P0,COMP_MATCH_TYPE_ONLY_INSTALL:O0,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:V0,COMP_METHOD_KEY_AFTER_COMP_DEL:W0,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:H0,COMP_METHOD_KEY_CHECK_COMP_CONFIG:U0,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:j0,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:$0,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:z0,COMP_METHOD_KEY_GET_COMP_ERROR:B0,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:G0,COMP_PREVIEW_PREFIX_LOCAL:RD,COMP_README_FILENAME:eF,COMP_SCREENSHOT_MINI_FILENAME:iF,COMP_SUBMIT_MAX_FILE_COUNT:lF,COMP_SUBMIT_MAX_SINGLE_FILE_SIZE:aF,COMP_SUBMIT_MAX_TOTAL_SIZE:sF,COMP_TEMP_DIR:oF,COMP_UPDATE_TYPES:hF,COMP_UPDATE_TYPE_OFFLINE:M0,COMP_UPDATE_TYPE_ONLINE:I0,COMP_USE_ENTRY_FILE:nF,COMP_USE_ENTRY_FILE_REACT:rF,DIALOG_TYPES:dF,DIALOG_TYPE_ADD:x0,DIALOG_TYPE_EDIT:T0,FILE_MANAGER_DIRNAME:gD,GLOBAL_CONFIG_PATH:mD,IFRAME_CONTAINER_WEBSITE_PATH:IF,IFRAME_HOST:CF,IFRAME_ITEM_WEBSITE_PATH:LF,IFRAME_ROUTES:SF,INDEX_DB_NAME:DD,INDEX_DB_TABLE_NAME:FD,LESS_COMPILER_KEY:JD,LOCAL_CHILD_IFRAME_URL:kF,LOCAL_ITEM_EXTRANET_URL:RF,LOCAL_LEAF_IFRAME_URL:TF,LOCAL_MAIN_EXTRANET_URL:OF,LOCAL_MIDWAY_ENV_LOCAL:WF,LOCAL_MIDWAY_ENV_PROD:VF,LOCAL_SERVICE_PREFIX:_D,LOCAL_SERVICE_URL_DEV:SD,LOCAL_SERVICE_URL_DEV_SUB:CD,LOCAL_TOP_IFRAME_URL:xF,MASTER_API_PREFIX:LD,META_FILE_NAME:HD,MODULE_LOAD_PREFIX:OD,NODE_MODULES_LOAD_PREFIX:AD,OSS_CUSTOM_DOMAIN:$D,PREBUILD_HOST:zD,PREBUILD_MAX_SINGLE_FILE_SIZE:52428800,PREBUILD_MODULE_DIR:VD,PREBUILD_MODULE_DIR_DEV:BD,PREBUILD_MODULE_DIR_PROD:WD,PROVIDE_KEYS:_F,PROVIDE_KEY_CALLBACKS:EF,PROVIDE_KEY_COMP_EDIT_STORE:wF,PROVIDE_KEY_COMP_LIST_STORE:vF,PROXY_PATH_PREFIX:PD,REACT_JSX_LOADER_KEY:KD,REFRESH_TOKEN_HEADER_NAME:MD,REMOTE_ITEM_EXTRANET_URL:PF,REMOTE_MAIN_EXTRANET_URL:AF,REMOTE_MIDWAY_ENV_LOCAL:HF,REMOTE_MIDWAY_ENV_PROD:GF,REMOTE_SERVICE_PREFIX:bD,REMOTE_SERVICE_URL_DEV:ED,REMOTE_SERVICE_URL_PROD:wD,ROLE_CODE_ADMIN:QF,ROLE_CODE_SUPER_ADMIN:JF,ROUTE_STATE_KEY_VERSION:BF,SASS_COMPILER_KEY:XD,SCOPE_ID_TEAM_ADD_MY_COMP:FF,SCOPE_ID_TEAM_COMP_GROUP_LIST:jF,SCOPE_ID_TEAM_COMP_LIST:$F,SCOPE_ID_TEAM_MY_COMP_LIST:UF,SCOPE_ID_TEAM_MY_COMP_UPDATE:zF,SITE_TITLE:fD,TAB_TYPES:uF,TAB_TYPE_CONFIG:g0,TAB_TYPE_DEPS:w0,TAB_TYPE_DIR:b0,TAB_TYPE_ERROR:y0,TAB_TYPE_EXTRA:v0,TAB_TYPE_PREVIEW:_0,TAB_TYPE_README:E0,TAB_TYPE_UPGRADE_LOG:S0,TEAM_OPERATE_TYPE_CREATE:MF,TEAM_OPERATE_TYPE_EXIT:DF,TEAM_OPERATE_TYPE_JOIN:NF,VERSION_COMPARE_GREATER:yF,VERSION_COMPARE_LESS:bF,VERSION_COMPARE_SAME:gF,VUE2_SFC_LOADER_KEY:YD,VUE3_SFC_LOADER_KEY:qD,VUE_ESM_BUNDLER:GD,WEBSITE_PATH_CONTAINER:pD,WEBSITE_PATH_ITEM:hD,WEBSITE_PATH_MAIN:dD},Symbol.toStringTag,{value:"Module"})),ZF=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],e$=[".css"],t$=[{name:F0,label:"comp.fieldId",required:!0,default:""},{name:"name",label:"comp.fieldName",required:!0,default:""},{name:"version",label:"comp.fieldVersion",required:!0,default:"1.0.0"}],n$=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:t$,DEFAULT_TAG_GROUP:ZF,PREBUILD_MODULE_SKIP_EXT:e$},Symbol.toStringTag,{value:"Module"})),r$="comp-hub-locale",o$=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:r$},Symbol.toStringTag,{value:"Module"}));function i$(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sd={exports:{}},Nb;function s$(){return Nb||(Nb=1,(function(e){var t=(function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function a(u,f){if(!s[u]){s[u]={};for(var p=0;p<u.length;p++)s[u][u.charAt(p)]=p}return s[u][f]}var c={compressToBase64:function(u){if(u==null)return"";var f=c._compress(u,6,function(p){return r.charAt(p)});switch(f.length%4){default:case 0:return f;case 1:return f+"===";case 2:return f+"==";case 3:return f+"="}},decompressFromBase64:function(u){return u==null?"":u==""?null:c._decompress(u.length,32,function(f){return a(r,u.charAt(f))})},compressToUTF16:function(u){return u==null?"":c._compress(u,15,function(f){return n(f+32)})+" "},decompressFromUTF16:function(u){return u==null?"":u==""?null:c._decompress(u.length,16384,function(f){return u.charCodeAt(f)-32})},compressToUint8Array:function(u){for(var f=c.compress(u),p=new Uint8Array(f.length*2),h=0,g=f.length;h<g;h++){var y=f.charCodeAt(h);p[h*2]=y>>>8,p[h*2+1]=y%256}return p},decompressFromUint8Array:function(u){if(u==null)return c.decompress(u);for(var f=new Array(u.length/2),p=0,h=f.length;p<h;p++)f[p]=u[p*2]*256+u[p*2+1];var g=[];return f.forEach(function(y){g.push(n(y))}),c.decompress(g.join(""))},compressToEncodedURIComponent:function(u){return u==null?"":c._compress(u,6,function(f){return o.charAt(f)})},decompressFromEncodedURIComponent:function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),c._decompress(u.length,32,function(f){return a(o,u.charAt(f))}))},compress:function(u){return c._compress(u,16,function(f){return n(f)})},_compress:function(u,f,p){if(u==null)return"";var h,g,y={},w={},_="",A="",S="",v=2,x=3,E=2,R=[],O=0,P=0,T;for(T=0;T<u.length;T+=1)if(_=u.charAt(T),Object.prototype.hasOwnProperty.call(y,_)||(y[_]=x++,w[_]=!0),A=S+_,Object.prototype.hasOwnProperty.call(y,A))S=A;else{if(Object.prototype.hasOwnProperty.call(w,S)){if(S.charCodeAt(0)<256){for(h=0;h<E;h++)O=O<<1,P==f-1?(P=0,R.push(p(O)),O=0):P++;for(g=S.charCodeAt(0),h=0;h<8;h++)O=O<<1|g&1,P==f-1?(P=0,R.push(p(O)),O=0):P++,g=g>>1}else{for(g=1,h=0;h<E;h++)O=O<<1|g,P==f-1?(P=0,R.push(p(O)),O=0):P++,g=0;for(g=S.charCodeAt(0),h=0;h<16;h++)O=O<<1|g&1,P==f-1?(P=0,R.push(p(O)),O=0):P++,g=g>>1}v--,v==0&&(v=Math.pow(2,E),E++),delete w[S]}else for(g=y[S],h=0;h<E;h++)O=O<<1|g&1,P==f-1?(P=0,R.push(p(O)),O=0):P++,g=g>>1;v--,v==0&&(v=Math.pow(2,E),E++),y[A]=x++,S=String(_)}if(S!==""){if(Object.prototype.hasOwnProperty.call(w,S)){if(S.charCodeAt(0)<256){for(h=0;h<E;h++)O=O<<1,P==f-1?(P=0,R.push(p(O)),O=0):P++;for(g=S.charCodeAt(0),h=0;h<8;h++)O=O<<1|g&1,P==f-1?(P=0,R.push(p(O)),O=0):P++,g=g>>1}else{for(g=1,h=0;h<E;h++)O=O<<1|g,P==f-1?(P=0,R.push(p(O)),O=0):P++,g=0;for(g=S.charCodeAt(0),h=0;h<16;h++)O=O<<1|g&1,P==f-1?(P=0,R.push(p(O)),O=0):P++,g=g>>1}v--,v==0&&(v=Math.pow(2,E),E++),delete w[S]}else for(g=y[S],h=0;h<E;h++)O=O<<1|g&1,P==f-1?(P=0,R.push(p(O)),O=0):P++,g=g>>1;v--,v==0&&(v=Math.pow(2,E),E++)}for(g=2,h=0;h<E;h++)O=O<<1|g&1,P==f-1?(P=0,R.push(p(O)),O=0):P++,g=g>>1;for(;;)if(O=O<<1,P==f-1){R.push(p(O));break}else P++;return R.join("")},decompress:function(u){return u==null?"":u==""?null:c._decompress(u.length,32768,function(f){return u.charCodeAt(f)})},_decompress:function(u,f,p){var h=[],g=4,y=4,w=3,_="",A=[],S,v,x,E,R,O,P,T={val:p(0),position:f,index:1};for(S=0;S<3;S+=1)h[S]=S;for(x=0,R=Math.pow(2,2),O=1;O!=R;)E=T.val&T.position,T.position>>=1,T.position==0&&(T.position=f,T.val=p(T.index++)),x|=(E>0?1:0)*O,O<<=1;switch(x){case 0:for(x=0,R=Math.pow(2,8),O=1;O!=R;)E=T.val&T.position,T.position>>=1,T.position==0&&(T.position=f,T.val=p(T.index++)),x|=(E>0?1:0)*O,O<<=1;P=n(x);break;case 1:for(x=0,R=Math.pow(2,16),O=1;O!=R;)E=T.val&T.position,T.position>>=1,T.position==0&&(T.position=f,T.val=p(T.index++)),x|=(E>0?1:0)*O,O<<=1;P=n(x);break;case 2:return""}for(h[3]=P,v=P,A.push(P);;){if(T.index>u)return"";for(x=0,R=Math.pow(2,w),O=1;O!=R;)E=T.val&T.position,T.position>>=1,T.position==0&&(T.position=f,T.val=p(T.index++)),x|=(E>0?1:0)*O,O<<=1;switch(P=x){case 0:for(x=0,R=Math.pow(2,8),O=1;O!=R;)E=T.val&T.position,T.position>>=1,T.position==0&&(T.position=f,T.val=p(T.index++)),x|=(E>0?1:0)*O,O<<=1;h[y++]=n(x),P=y-1,g--;break;case 1:for(x=0,R=Math.pow(2,16),O=1;O!=R;)E=T.val&T.position,T.position>>=1,T.position==0&&(T.position=f,T.val=p(T.index++)),x|=(E>0?1:0)*O,O<<=1;h[y++]=n(x),P=y-1,g--;break;case 2:return A.join("")}if(g==0&&(g=Math.pow(2,w),w++),h[P])_=h[P];else if(P===y)_=v+v.charAt(0);else return null;A.push(_),h[y++]=v+_.charAt(0),g--,v=_,g==0&&(g=Math.pow(2,w),w++)}}};return c})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Sd)),Sd.exports}var a$=s$();const Db=i$(a$),Fb=["topOrigin","compType","userId","instanceUid","compId","isSfc"],Mo=()=>{const e=r();function t(a){if(Object.keys(a).filter(u=>!Fb.includes(u)).length)throw new Error(`iframe参数键名只能包含${Fb.join(", ")}`);return Db.compressToEncodedURIComponent(JSON.stringify(a))}function n(a){const c=Db.decompressFromEncodedURIComponent(a);return JSON.parse(c)}function r(){const c=new URLSearchParams(window.location.search).get("params")??"";return n(c)}function o(a){const c={...e,...a};return t(c)}function s(){return new URLSearchParams(window.location.search).get("isDark")}return{params:e,createIframeParams:t,uniteParams:o,getTheme:s}},$s=e=>{const{params:{topOrigin:t}}=Mo();return t},Qe={ITEM_INIT_SET:"item_init_set",ITEM_INIT_GET:"item_init_get",ITEM_INIT_SET_LOCAL:"item_init_set_local",ITEM_INIT_GET_LOCAL:"item_init_get_local",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",BG_COLOR_SET:"bg_color_set",BG_COLOR_GET:"bg_color_get",COMP_PREVIEW_LIST_SET:"comp_preview_list_set",COMP_PREVIEW_LIST_GET:"comp_preview_list_get",COMP_RENDER_INFO_SET:"comp_render_info_set",COMP_RENDER_INFO_GET:"comp_render_info_get",CAROUSEL_INDEX_SET:"carousel_index_set",CAROUSEL_INDEX_GET:"carousel_index_get",SHOW_REFRESH_BTN_SET:"show_refresh_btn_set",SHOW_REFRESH_BTN_GET:"show_refresh_btn_get",ACTION_REFRESH:"action_refresh",IS_ONLINE_UPDATE_SET:"is_online_update_set",IS_ONLINE_UPDATE_GET:"is_online_update_get",IS_ADD_SET:"is_add_set",IS_ADD_GET:"is_add_get",COMP_EDIT_TAB_TYPE_SET:"comp_edit_tab_type_set",SETTING_DATA_SET:"setting_data_set",SETTING_DATA_GET:"setting_data_get",SETTING_DATA_LEAF_SET:"setting_data_leaf_set",SETTING_DATA_LEAF_GET:"setting_data_leaf_get",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get",COMP_RENDER_ERROR_SET:"comp_render_error_set",COMP_SCREENSHOT_AUTO:"comp_screenshot_auto",COMP_SCREENSHOT_MANUAL_SET:"comp_screenshot_manual_set",SELECTED_FOLDER_SET:"selected_folder_set",SELECTED_FOLDER_GET:"selected_folder_get"};function js(){const e=ar(),t=(a,c,u,f)=>{a.postMessage({type:c,payload:JSON.stringify(u)},f)};return{sendMessageToParent:(a,c,u)=>{window.parent.postMessage({type:a,payload:JSON.stringify(c)},u)},sendMessageToTop:(a,c,u,f)=>{if(!u)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:a,payload:JSON.stringify(c),instanceUid:f},u)},sendMessageToTargetIframe:t,messageListener:()=>{const a=new Map,c=u=>{const{type:f,payload:p,instanceUid:h}=u.data??{},g=u.source===window.parent||u.source===window.top,y=h?.split(",").some(_=>_===e?.uid.toString()),w=a.get(f);(y||g)&&w?.(JSON.parse(p))};return window.addEventListener("message",c),Ds(()=>{window.removeEventListener("message",c),a.clear()}),{addListener:(u,f)=>{a.set(u,p=>{f(p)})},removeListener:u=>{u?a.delete(u):(a.clear(),window.removeEventListener("message",c))}}},requestResponse:async({targetWindow:a,requestType:c,responseType:u,data:f,targetOrigin:p,timeout:h=1e4})=>a?new Promise(g=>{let y=!1;const w=setTimeout(()=>{y||(y=!0,window.removeEventListener("message",_),g(null))},h),_=A=>{if(!y)try{const{type:S,payload:v}=A.data;S===u&&(y=!0,clearTimeout(w),window.removeEventListener("message",_),g(JSON.parse(v)))}catch{}};window.addEventListener("message",_),t(a,c,f,p)}):null,instanceUid:ce(()=>e?.uid?.toString()??"")}}function l$(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Gc=typeof window<"u",ii=(e,t=!1)=>t?Symbol.for(e):Symbol(e),c$=(e,t,n)=>u$({l:e,k:t,s:n}),u$=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Gt=e=>typeof e=="number"&&isFinite(e),K0=e=>jh(e)==="[object Date]",Ts=e=>jh(e)==="[object RegExp]",Tu=e=>et(e)&&Object.keys(e).length===0,Kt=Object.assign,f$=Object.create,vt=(e=null)=>f$(e);let $b;const Si=()=>$b||($b=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:vt());function jb(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function d$(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}const p$=/^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i,h$=/^(?:href|src|action|formaction)$/i;function $h(e){return p$.test(e)}function m$(e){const t=/url\s*\(/gi;let n="",r=0,o;for(;(o=t.exec(e))!==null;){const s=o.index,a=t.lastIndex-1;let c=a+1,u=1,f=null;for(;c<e.length;c++){const g=e[c];if(f){g===f&&(f=null);continue}if(g==='"'||g==="'")f=g;else if(g==="(")u++;else if(g===")"&&(u--,u===0))break}if(u!==0)break;const p=e.slice(a+1,c).trim(),h=p.startsWith('"')&&p.endsWith('"')||p.startsWith("'")&&p.endsWith("'")?p.slice(1,-1).trim():p;n+=e.slice(r,s),n+=$h(h)?"url(about:blank)":e.slice(s,c+1),r=c+1}return n+e.slice(r)}function Ub(e,t){if(h$.test(e)&&$h(t))return"about:blank";const n=e.toLowerCase()==="style"?m$(t):t;return d$(n)}function g$(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(n,r,o)=>`${r}="${Ub(r,o)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(n,r,o)=>`${r}='${Ub(r,o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),e=e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi,(n,r,o)=>$h(o)?`${r}about:blank`:n),e}const y$=Object.prototype.hasOwnProperty;function vr(e,t){return y$.call(e,t)}const jt=Array.isArray,Lt=e=>typeof e=="function",ye=e=>typeof e=="string",rt=e=>typeof e=="boolean",ot=e=>e!==null&&typeof e=="object",b$=e=>ot(e)&&Lt(e.then)&&Lt(e.catch),q0=Object.prototype.toString,jh=e=>q0.call(e),et=e=>jh(e)==="[object Object]",_$=e=>e==null?"":jt(e)||et(e)&&e.toString===q0?JSON.stringify(e,null,2):String(e);function Uh(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Jl=e=>!ot(e)||jt(e);function vc(e,t){if(Jl(e)||Jl(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(ot(r[s])&&!ot(o[s])&&(o[s]=Array.isArray(r[s])?[]:vt()),Jl(o[s])||Jl(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function v$(e,t,n){return{line:e,column:t,offset:n}}function Ap(e,t,n){return{start:e,end:t}}const ft={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},w$=17;function xu(e,t,n={}){const{domain:r,messages:o,args:s}=n,a=e,c=new SyntaxError(String(a));return c.code=e,t&&(c.location=t),c.domain=r,c}function E$(e){throw e}const Gr=" ",S$="\r",gn=`
2
- `,C$="\u2028",k$="\u2029";function T$(e){const t=e;let n=0,r=1,o=1,s=0;const a=P=>t[P]===S$&&t[P+1]===gn,c=P=>t[P]===gn,u=P=>t[P]===k$,f=P=>t[P]===C$,p=P=>a(P)||c(P)||u(P)||f(P),h=()=>n,g=()=>r,y=()=>o,w=()=>s,_=P=>a(P)||u(P)||f(P)?gn:t[P],A=()=>_(n),S=()=>_(n+s);function v(){return s=0,p(n)&&(r++,o=0),a(n)&&n++,n++,o++,t[n]}function x(){return a(n+s)&&s++,s++,t[n+s]}function E(){n=0,r=1,o=1,s=0}function R(P=0){s=P}function O(){const P=n+s;for(;P!==n;)v();s=0}return{index:h,line:g,column:y,peekOffset:w,charAt:_,currentChar:A,currentPeek:S,next:v,peek:x,reset:E,resetPeek:R,skipToPeek:O}}const go=void 0,x$=".",zb="'",O$="tokenizer";function A$(e,t={}){const n=t.location!==!1,r=T$(e),o=()=>r.index(),s=()=>v$(r.line(),r.column(),r.index()),a=s(),c=o(),u={currentType:13,offset:c,startLoc:a,endLoc:a,lastType:13,lastOffset:c,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},f=()=>u,{onError:p}=t;function h(L,I,j,...W){const fe=f();if(I.column+=j,I.offset+=j,p){const ie=n?Ap(fe.startLoc,I):null,U=xu(L,ie,{domain:O$,args:W});p(U)}}function g(L,I,j){L.endLoc=s(),L.currentType=I;const W={type:I};return n&&(W.loc=Ap(L.startLoc,L.endLoc)),j!=null&&(W.value=j),W}const y=L=>g(L,13);function w(L,I){return L.currentChar()===I?(L.next(),I):(h(ft.EXPECTED_TOKEN,s(),0,I),"")}function _(L){let I="";for(;L.currentPeek()===Gr||L.currentPeek()===gn;)I+=L.currentPeek(),L.peek();return I}function A(L){const I=_(L);return L.skipToPeek(),I}function S(L){if(L===go)return!1;const I=L.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I===95}function v(L){if(L===go)return!1;const I=L.charCodeAt(0);return I>=48&&I<=57}function x(L,I){const{currentType:j}=I;if(j!==2)return!1;_(L);const W=S(L.currentPeek());return L.resetPeek(),W}function E(L,I){const{currentType:j}=I;if(j!==2)return!1;_(L);const W=L.currentPeek()==="-"?L.peek():L.currentPeek(),fe=v(W);return L.resetPeek(),fe}function R(L,I){const{currentType:j}=I;if(j!==2)return!1;_(L);const W=L.currentPeek()===zb;return L.resetPeek(),W}function O(L,I){const{currentType:j}=I;if(j!==7)return!1;_(L);const W=L.currentPeek()===".";return L.resetPeek(),W}function P(L,I){const{currentType:j}=I;if(j!==8)return!1;_(L);const W=S(L.currentPeek());return L.resetPeek(),W}function T(L,I){const{currentType:j}=I;if(!(j===7||j===11))return!1;_(L);const W=L.currentPeek()===":";return L.resetPeek(),W}function N(L,I){const{currentType:j}=I;if(j!==9)return!1;const W=()=>{const ie=L.currentPeek();return ie==="{"?S(L.peek()):ie==="@"||ie==="|"||ie===":"||ie==="."||ie===Gr||!ie?!1:ie===gn?(L.peek(),W()):G(L,!1)},fe=W();return L.resetPeek(),fe}function K(L){_(L);const I=L.currentPeek()==="|";return L.resetPeek(),I}function G(L,I=!0){const j=(fe=!1,ie="")=>{const U=L.currentPeek();return U==="{"||U==="@"||!U?fe:U==="|"?!(ie===Gr||ie===gn):U===Gr?(L.peek(),j(!0,Gr)):U===gn?(L.peek(),j(!0,gn)):!0},W=j();return I&&L.resetPeek(),W}function ne(L,I){const j=L.currentChar();return j===go?go:I(j)?(L.next(),j):null}function de(L){const I=L.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36}function z(L){return ne(L,de)}function re(L){const I=L.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36||I===45}function ae(L){return ne(L,re)}function ue(L){const I=L.charCodeAt(0);return I>=48&&I<=57}function Ee(L){return ne(L,ue)}function We(L){const I=L.charCodeAt(0);return I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102}function rn(L){return ne(L,We)}function tt(L){let I="",j="";for(;I=Ee(L);)j+=I;return j}function Ge(L){let I="";for(;;){const j=L.currentChar();if(j==="\\"){const W=L.peek();W==="{"||W==="}"||W==="@"||W==="|"||W==="\\"?(I+=j+W,L.next(),L.next()):(L.resetPeek(),I+=j,L.next())}else{if(j==="{"||j==="}"||j==="@"||j==="|"||!j)break;if(j===Gr||j===gn)if(G(L))I+=j,L.next();else{if(K(L))break;I+=j,L.next()}else I+=j,L.next()}}return I}function dn(L){A(L);let I="",j="";for(;I=ae(L);)j+=I;const W=L.currentChar();if(W&&W!=="}"&&W!==go&&W!==Gr&&W!==gn&&W!==" "){const fe=ve(L);return h(ft.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,j+fe),j+fe}return L.currentChar()===go&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),j}function on(L){A(L);let I="";return L.currentChar()==="-"?(L.next(),I+=`-${tt(L)}`):I+=tt(L),L.currentChar()===go&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),I}function kn(L){return L!==zb&&L!==gn}function Mt(L){A(L),w(L,"'");let I="",j="";for(;I=ne(L,kn);)I==="\\"?j+=ee(L):j+=I;const W=L.currentChar();return W===gn||W===go?(h(ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),W===gn&&(L.next(),w(L,"'")),j):(w(L,"'"),j)}function ee(L){const I=L.currentChar();switch(I){case"\\":case"'":return L.next(),`\\${I}`;case"u":return ge(L,I,4);case"U":return ge(L,I,6);default:return h(ft.UNKNOWN_ESCAPE_SEQUENCE,s(),0,I),""}}function ge(L,I,j){w(L,I);let W="";for(let fe=0;fe<j;fe++){const ie=rn(L);if(!ie){h(ft.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${I}${W}${L.currentChar()}`);break}W+=ie}return`\\${I}${W}`}function he(L){return L!=="{"&&L!=="}"&&L!==Gr&&L!==gn}function ve(L){A(L);let I="",j="";for(;I=ne(L,he);)j+=I;return j}function ze(L){let I="",j="";for(;I=z(L);)j+=I;return j}function M(L){const I=j=>{const W=L.currentChar();return W==="{"||W==="@"||W==="|"||W==="("||W===")"||!W||W===Gr?j:(j+=W,L.next(),I(j))};return I("")}function F(L){A(L);const I=w(L,"|");return A(L),I}function H(L,I){let j=null;switch(L.currentChar()){case"{":return I.braceNest>=1&&h(ft.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),L.next(),j=g(I,2,"{"),A(L),I.braceNest++,j;case"}":return I.braceNest>0&&I.currentType===2&&h(ft.EMPTY_PLACEHOLDER,s(),0),L.next(),j=g(I,3,"}"),I.braceNest--,I.braceNest>0&&A(L),I.inLinked&&I.braceNest===0&&(I.inLinked=!1),j;case"@":return I.braceNest>0&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),j=J(L,I)||y(I),I.braceNest=0,j;default:{let fe=!0,ie=!0,U=!0;if(K(L))return I.braceNest>0&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),j=g(I,1,F(L)),I.braceNest=0,I.inLinked=!1,j;if(I.braceNest>0&&(I.currentType===4||I.currentType===5||I.currentType===6))return h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),I.braceNest=0,te(L,I);if(fe=x(L,I))return j=g(I,4,dn(L)),A(L),j;if(ie=E(L,I))return j=g(I,5,on(L)),A(L),j;if(U=R(L,I))return j=g(I,6,Mt(L)),A(L),j;if(!fe&&!ie&&!U)return j=g(I,12,ve(L)),h(ft.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,j.value),A(L),j;break}}return j}function J(L,I){const{currentType:j}=I;let W=null;const fe=L.currentChar();switch((j===7||j===8||j===11||j===9)&&(fe===gn||fe===Gr)&&h(ft.INVALID_LINKED_FORMAT,s(),0),fe){case"@":return L.next(),W=g(I,7,"@"),I.inLinked=!0,W;case".":return A(L),L.next(),g(I,8,".");case":":return A(L),L.next(),g(I,9,":");default:return K(L)?(W=g(I,1,F(L)),I.braceNest=0,I.inLinked=!1,W):O(L,I)||T(L,I)?(A(L),J(L,I)):P(L,I)?(A(L),g(I,11,ze(L))):N(L,I)?(A(L),fe==="{"?H(L,I)||W:g(I,10,M(L))):(j===7&&h(ft.INVALID_LINKED_FORMAT,s(),0),I.braceNest=0,I.inLinked=!1,te(L,I))}}function te(L,I){let j={type:13};if(I.braceNest>0)return H(L,I)||y(I);if(I.inLinked)return J(L,I)||y(I);switch(L.currentChar()){case"{":return H(L,I)||y(I);case"}":return h(ft.UNBALANCED_CLOSING_BRACE,s(),0),L.next(),g(I,3,"}");case"@":return J(L,I)||y(I);default:{if(K(L))return j=g(I,1,F(L)),I.braceNest=0,I.inLinked=!1,j;if(G(L))return g(I,0,Ge(L));break}}return j}function Q(){const{currentType:L,offset:I,startLoc:j,endLoc:W}=u;return u.lastType=L,u.lastOffset=I,u.lastStartLoc=j,u.lastEndLoc=W,u.offset=o(),u.startLoc=s(),r.currentChar()===go?g(u,13):te(r,u)}return{nextToken:Q,currentOffset:o,currentPosition:s,context:f}}const R$="parser",P$=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,L$=/\\([\\@{}|])/g;function I$(e,t){return t}function M$(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function N$(e={}){const t=e.location!==!1,{onError:n}=e;function r(S,v,x,E,...R){const O=S.currentPosition();if(O.offset+=E,O.column+=E,n){const P=t?Ap(x,O):null,T=xu(v,P,{domain:R$,args:R});n(T)}}function o(S,v,x){const E={type:S};return t&&(E.start=v,E.end=v,E.loc={start:x,end:x}),E}function s(S,v,x,E){t&&(S.end=v,S.loc&&(S.loc.end=x))}function a(S,v){const x=S.context(),E=o(3,x.offset,x.startLoc);return E.value=v.replace(L$,I$),s(E,S.currentOffset(),S.currentPosition()),E}function c(S,v){const x=S.context(),{lastOffset:E,lastStartLoc:R}=x,O=o(5,E,R);return O.index=parseInt(v,10),S.nextToken(),s(O,S.currentOffset(),S.currentPosition()),O}function u(S,v){const x=S.context(),{lastOffset:E,lastStartLoc:R}=x,O=o(4,E,R);return O.key=v,S.nextToken(),s(O,S.currentOffset(),S.currentPosition()),O}function f(S,v){const x=S.context(),{lastOffset:E,lastStartLoc:R}=x,O=o(9,E,R);return O.value=v.replace(P$,M$),S.nextToken(),s(O,S.currentOffset(),S.currentPosition()),O}function p(S){const v=S.nextToken(),x=S.context(),{lastOffset:E,lastStartLoc:R}=x,O=o(8,E,R);return v.type!==11?(r(S,ft.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),O.value="",s(O,E,R),{nextConsumeToken:v,node:O}):(v.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Kr(v)),O.value=v.value||"",s(O,S.currentOffset(),S.currentPosition()),{node:O})}function h(S,v){const x=S.context(),E=o(7,x.offset,x.startLoc);return E.value=v,s(E,S.currentOffset(),S.currentPosition()),E}function g(S){const v=S.context(),x=o(6,v.offset,v.startLoc);let E=S.nextToken();if(E.type===8){const R=p(S);x.modifier=R.node,E=R.nextConsumeToken||S.nextToken()}switch(E.type!==9&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(E)),E=S.nextToken(),E.type===2&&(E=S.nextToken()),E.type){case 10:E.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(E)),x.key=h(S,E.value||"");break;case 4:E.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(E)),x.key=u(S,E.value||"");break;case 5:E.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(E)),x.key=c(S,E.value||"");break;case 6:E.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(E)),x.key=f(S,E.value||"");break;default:{r(S,ft.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const R=S.context(),O=o(7,R.offset,R.startLoc);return O.value="",s(O,R.offset,R.startLoc),x.key=O,s(x,R.offset,R.startLoc),{nextConsumeToken:E,node:x}}}return s(x,S.currentOffset(),S.currentPosition()),{node:x}}function y(S){const v=S.context(),x=v.currentType===1?S.currentOffset():v.offset,E=v.currentType===1?v.endLoc:v.startLoc,R=o(2,x,E);R.items=[];let O=null;do{const N=O||S.nextToken();switch(O=null,N.type){case 0:N.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(N)),R.items.push(a(S,N.value||""));break;case 5:N.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(N)),R.items.push(c(S,N.value||""));break;case 4:N.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(N)),R.items.push(u(S,N.value||""));break;case 6:N.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(N)),R.items.push(f(S,N.value||""));break;case 7:{const K=g(S);R.items.push(K.node),O=K.nextConsumeToken||null;break}}}while(v.currentType!==13&&v.currentType!==1);const P=v.currentType===1?v.lastOffset:S.currentOffset(),T=v.currentType===1?v.lastEndLoc:S.currentPosition();return s(R,P,T),R}function w(S,v,x,E){const R=S.context();let O=E.items.length===0;const P=o(1,v,x);P.cases=[],P.cases.push(E);do{const T=y(S);O||(O=T.items.length===0),P.cases.push(T)}while(R.currentType!==13);return O&&r(S,ft.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),s(P,S.currentOffset(),S.currentPosition()),P}function _(S){const v=S.context(),{offset:x,startLoc:E}=v,R=y(S);return v.currentType===13?R:w(S,x,E,R)}function A(S){const v=A$(S,Kt({},e)),x=v.context(),E=o(0,x.offset,x.startLoc);return t&&E.loc&&(E.loc.source=S),E.body=_(v),e.onCacheKey&&(E.cacheKey=e.onCacheKey(S)),x.currentType!==13&&r(v,ft.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,S[x.offset]||""),s(E,v.currentOffset(),v.currentPosition()),E}return{parse:A}}function Kr(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function D$(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Bb(e,t){for(let n=0;n<e.length;n++)zh(e[n],t)}function zh(e,t){switch(e.type){case 1:Bb(e.cases,t),t.helper("plural");break;case 2:Bb(e.items,t);break;case 6:{zh(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function F$(e,t={}){const n=D$(e);n.helper("normalize"),e.body&&zh(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function $$(e){const t=e.body;return t.type===2?Wb(t):t.cases.forEach(n=>Wb(n)),e}function Wb(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Uh(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function ds(e){switch(e.t=e.type,e.type){case 0:{const t=e;ds(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)ds(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)ds(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;ds(t.key),t.k=t.key,delete t.key,t.modifier&&(ds(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function j$(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,s=t.location!==!1,a={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};s&&e.loc&&(a.source=e.loc.source);const c=()=>a;function u(_,A){a.code+=_}function f(_,A=!0){const S=A?r:"";u(o?S+" ".repeat(_):S)}function p(_=!0){const A=++a.indentLevel;_&&f(A)}function h(_=!0){const A=--a.indentLevel;_&&f(A)}function g(){f(a.indentLevel)}return{context:c,push:u,indent:p,deindent:h,newline:g,helper:_=>`_${_}`,needIndent:()=>a.needIndent}}function U$(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),xs(e,t.key),t.modifier?(e.push(", "),xs(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function z$(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(xs(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function B$(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(xs(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function W$(e,t){t.body?xs(e,t.body):e.push("null")}function xs(e,t){const{helper:n}=e;switch(t.type){case 0:W$(e,t);break;case 1:B$(e,t);break;case 2:z$(e,t);break;case 6:U$(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const V$=(e,t={})=>{const n=ye(t.mode)?t.mode:"normal",r=ye(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
3
- `,s=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],c=j$(e,{filename:r,breakLineCode:o,needIndent:s});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(s),a.length>0&&(c.push(`const { ${Uh(a.map(p=>`${p}: _${p}`),", ")} } = ctx`),c.newline()),c.push("return "),xs(c,e),c.deindent(s),c.push("}"),delete e.helpers;const{code:u,map:f}=c.context();return{ast:e,code:u,map:f?f.toJSON():void 0}};function H$(e,t={}){const n=Kt({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,c=N$(n).parse(e);return r?(s&&$$(c),o&&ds(c),{ast:c,code:""}):(F$(c,n),V$(c,n))}function G$(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Si().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Si().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function no(e){return ot(e)&&Bh(e)===0&&(vr(e,"b")||vr(e,"body"))}const Y0=["b","body"];function K$(e){return si(e,Y0)}const X0=["c","cases"];function q$(e){return si(e,X0,[])}const J0=["s","static"];function Y$(e){return si(e,J0)}const Q0=["i","items"];function X$(e){return si(e,Q0,[])}const Z0=["t","type"];function Bh(e){return si(e,Z0)}const eS=["v","value"];function Ql(e,t){const n=si(e,eS);if(n!=null)return n;throw Na(t)}const tS=["m","modifier"];function J$(e){return si(e,tS)}const nS=["k","key"];function Q$(e){const t=si(e,nS);if(t)return t;throw Na(6)}function si(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(vr(e,o)&&e[o]!=null)return e[o]}return n}const rS=[...Y0,...X0,...J0,...Q0,...nS,...tS,...eS,...Z0];function Na(e){return new Error(`unhandled node type: ${e}`)}function Cd(e){return n=>Z$(n,e)}function Z$(e,t){const n=K$(t);if(n==null)throw Na(0);if(Bh(n)===1){const s=q$(n);return e.plural(s.reduce((a,c)=>[...a,Vb(e,c)],[]))}else return Vb(e,n)}function Vb(e,t){const n=Y$(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=X$(t).reduce((o,s)=>[...o,Rp(e,s)],[]);return e.normalize(r)}}function Rp(e,t){const n=Bh(t);switch(n){case 3:return Ql(t,n);case 9:return Ql(t,n);case 4:{const r=t;if(vr(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(vr(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Na(n)}case 5:{const r=t;if(vr(r,"i")&&Gt(r.i))return e.interpolate(e.list(r.i));if(vr(r,"index")&&Gt(r.index))return e.interpolate(e.list(r.index));throw Na(n)}case 6:{const r=t,o=J$(r),s=Q$(r);return e.linked(Rp(e,s),o?Rp(e,o):void 0,e.type)}case 7:return Ql(t,n);case 8:return Ql(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const ej=e=>e;let Zl=vt();function tj(e,t={}){let n=!1;const r=t.onError||E$;return t.onError=o=>{n=!0,r(o)},{...H$(e,t),detectError:n}}function nj(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ye(e)){rt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||ej)(e),o=Zl[r];if(o)return o;const{ast:s,detectError:a}=tj(e,{...t,location:!1,jit:!0}),c=Cd(s);return a?c:Zl[r]=c}else{const n=e.cacheKey;if(n){const r=Zl[n];return r||(Zl[n]=Cd(e))}else return Cd(e)}}let Da=null;function rj(e){Da=e}function oj(e,t,n){Da&&Da.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ij=sj("function:translate");function sj(e){return t=>Da&&Da.emit(e,t)}const Co={INVALID_ARGUMENT:w$,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},aj=24;function ko(e){return xu(e,null,void 0)}function Wh(e,t){return t.locale!=null?Hb(t.locale):Hb(e.locale)}let kd;function Hb(e){if(ye(e))return e;if(Lt(e)){if(e.resolvedOnce&&kd!=null)return kd;if(e.constructor.name==="Function"){const t=e();if(b$(t))throw ko(Co.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return kd=t}else throw ko(Co.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ko(Co.NOT_SUPPORT_LOCALE_TYPE)}function lj(e,t,n){return[...new Set([n,...jt(t)?t:ot(t)?Object.keys(t):ye(t)?[t]:[n]])]}function Pp(e,t,n){const r=ye(n)?n:Fa,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let a=[n];for(;jt(a);)a=Gb(s,a,t);const c=jt(t)||!et(t)?t:t.default?t.default:null;a=ye(c)?[c]:c,jt(a)&&Gb(s,a,!1),o.__localeChainCache.set(r,s)}return s}function Gb(e,t,n){let r=!0;for(let o=0;o<t.length&&rt(r);o++){const s=t[o];ye(s)&&(r=cj(e,t[o],n))}return r}function cj(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=uj(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function uj(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(jt(n)||et(n))&&n[o]&&(r=n[o])}return r}const ai=[];ai[0]={w:[0],i:[3,0],"[":[4],o:[7]};ai[1]={w:[1],".":[2],"[":[4],o:[7]};ai[2]={w:[2],i:[3,0],0:[3,0]};ai[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ai[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ai[5]={"'":[4,0],o:8,l:[5,0]};ai[6]={'"':[4,0],o:8,l:[6,0]};const fj=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function dj(e){return fj.test(e)}function pj(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function hj(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function mj(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:dj(t)?pj(t):"*"+t}function gj(e){const t=[];let n=-1,r=0,o=0,s,a,c,u,f,p,h;const g=[];g[0]=()=>{a===void 0?a=c:a+=c},g[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},g[2]=()=>{g[0](),o++},g[3]=()=>{if(o>0)o--,r=4,g[0]();else{if(o=0,a===void 0||(a=mj(a),a===!1))return!1;g[1]()}};function y(){const w=e[n+1];if(r===5&&w==="'"||r===6&&w==='"')return n++,c="\\"+w,g[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&y())){if(u=hj(s),h=ai[r],f=h[u]||h.l||8,f===8||(r=f[0],f[1]!==void 0&&(p=g[f[1]],p&&(c=s,p()===!1))))return;if(r===7)return t}}const Kb=new Map;function yj(e,t){return ot(e)?e[t]:null}function bj(e,t){if(!ot(e))return null;let n=Kb.get(t);if(n||(n=gj(t),n&&Kb.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const a=n[s];if(rS.includes(a)&&no(o)||!ot(o)||!vr(o,a))return null;const c=o[a];if(c===void 0||Lt(o))return null;o=c,s++}return o}const _j="11.4.7",Ou=-1,Fa="en-US",Kc="",qb=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function vj(){return{upper:(e,t)=>t==="text"&&ye(e)?e.toUpperCase():t==="vnode"&&ot(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ye(e)?e.toLowerCase():t==="vnode"&&ot(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ye(e)?qb(e):t==="vnode"&&ot(e)&&"__v_isVNode"in e?qb(e.children):e}}let oS;function wj(e){oS=e}let iS;function Ej(e){iS=e}let sS;function Sj(e){sS=e}let aS=null;const Cj=e=>{aS=e},kj=()=>aS;let lS=null;const Yb=e=>{lS=e},Tj=()=>lS;let Xb=0;function xj(e={}){const t=Lt(e.onWarn)?e.onWarn:l$,n=ye(e.version)?e.version:_j,r=ye(e.locale)||Lt(e.locale)?e.locale:Fa,o=Lt(r)?Fa:r,s=jt(e.fallbackLocale)||et(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=et(e.messages)?e.messages:Td(o),c=et(e.datetimeFormats)?e.datetimeFormats:Td(o),u=et(e.numberFormats)?e.numberFormats:Td(o),f=Kt(vt(),e.modifiers,vj()),p=e.pluralRules||vt(),h=Lt(e.missing)?e.missing:null,g=rt(e.missingWarn)||Ts(e.missingWarn)?e.missingWarn:!0,y=rt(e.fallbackWarn)||Ts(e.fallbackWarn)?e.fallbackWarn:!0,w=!!e.fallbackFormat,_=!!e.unresolving,A=Lt(e.postTranslation)?e.postTranslation:null,S=et(e.processor)?e.processor:null,v=rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter,E=Lt(e.messageCompiler)?e.messageCompiler:oS,R=Lt(e.messageResolver)?e.messageResolver:iS||yj,O=Lt(e.localeFallbacker)?e.localeFallbacker:sS||lj,P=ot(e.fallbackContext)?e.fallbackContext:void 0,T=e,N=ot(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,K=ot(T.__numberFormatters)?T.__numberFormatters:new Map,G=ot(T.__meta)?T.__meta:{};Xb++;const ne={version:n,cid:Xb,locale:r,fallbackLocale:s,messages:a,modifiers:f,pluralRules:p,missing:h,missingWarn:g,fallbackWarn:y,fallbackFormat:w,unresolving:_,postTranslation:A,processor:S,warnHtmlMessage:v,escapeParameter:x,messageCompiler:E,messageResolver:R,localeFallbacker:O,fallbackContext:P,onWarn:t,__meta:G};return ne.datetimeFormats=c,ne.numberFormats=u,ne.__datetimeFormatters=N,ne.__numberFormatters=K,__INTLIFY_PROD_DEVTOOLS__&&oj(ne,n,G),ne}const Td=e=>({[e]:vt()});function Vh(e,t,n,r,o){const{missing:s,onWarn:a}=e;if(s!==null){const c=s(e,n,t,o);return ye(c)?c:t}else return t}function oa(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Oj(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Aj(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Oj(e,t[r]))return!0;return!1}function Jb(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__datetimeFormatters:c}=e;if(!ye(t[0])&&!K0(t[0])&&!Gt(t[0]))return Kc;const[u,f,p,h]=Lp(...t),g=rt(p.missingWarn)?p.missingWarn:e.missingWarn;rt(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const y=!!p.part,w=Wh(e,p),_=a(e,o,w);if(!ye(u)||u===""){const O=new Intl.DateTimeFormat(w.replace(/!/g,""),h);return y?O.formatToParts(f):O.format(f)}let A={},S,v=null;const x="datetime format";for(let O=0;O<_.length&&(S=_[O],A=n[S]||{},v=A[u],!et(v));O++)Vh(e,u,S,g,x);if(!et(v)||!ye(S))return r?Ou:u;let E=`${S}__${u}`;Tu(h)||(E=`${E}__${JSON.stringify(h)}`);let R=c.get(E);return R||(R=new Intl.DateTimeFormat(S,Kt({},v,h)),c.set(E,R)),y?R.formatToParts(f):R.format(f)}const cS=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Lp(...e){const[t,n,r,o]=e,s=vt();let a=vt(),c;if(ye(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw ko(Co.INVALID_ISO_DATE_ARGUMENT);const f=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();c=new Date(f);try{c.toISOString()}catch{throw ko(Co.INVALID_ISO_DATE_ARGUMENT)}}else if(K0(t)){if(isNaN(t.getTime()))throw ko(Co.INVALID_DATE_ARGUMENT);c=t}else if(Gt(t))c=t;else throw ko(Co.INVALID_ARGUMENT);return ye(n)?s.key=n:et(n)&&Object.keys(n).forEach(u=>{cS.includes(u)?a[u]=n[u]:s[u]=n[u]}),ye(r)?s.locale=r:et(r)&&(a=r),et(o)&&(a=o),[s.key||"",c,s,a]}function Qb(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Zb(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__numberFormatters:c}=e;if(!Gt(t[0]))return Kc;const[u,f,p,h]=Ip(...t),g=rt(p.missingWarn)?p.missingWarn:e.missingWarn;rt(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const y=!!p.part,w=Wh(e,p),_=a(e,o,w);if(!ye(u)||u===""){const O=new Intl.NumberFormat(w.replace(/!/g,""),h);return y?O.formatToParts(f):O.format(f)}let A={},S,v=null;const x="number format";for(let O=0;O<_.length&&(S=_[O],A=n[S]||{},v=A[u],!et(v));O++)Vh(e,u,S,g,x);if(!et(v)||!ye(S))return r?Ou:u;let E=`${S}__${u}`;Tu(h)||(E=`${E}__${JSON.stringify(h)}`);let R=c.get(E);return R||(R=new Intl.NumberFormat(S,Kt({},v,h)),c.set(E,R)),y?R.formatToParts(f):R.format(f)}const uS=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ip(...e){const[t,n,r,o]=e,s=vt();let a=vt();if(!Gt(t))throw ko(Co.INVALID_ARGUMENT);const c=t;return ye(n)?s.key=n:et(n)&&Object.keys(n).forEach(u=>{uS.includes(u)?a[u]=n[u]:s[u]=n[u]}),ye(r)?s.locale=r:et(r)&&(a=r),et(o)&&(a=o),[s.key||"",c,s,a]}function e_(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const Rj=e=>e,Pj=e=>"",Lj="text",Ij=e=>e.length===0?"":Uh(e),Mj=_$;function xd(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function Nj(e){const t=Gt(e.pluralIndex)?e.pluralIndex:-1;return Gt(e.named?.count)?e.named.count:Gt(e.named?.n)?e.named.n:t}function Dj(e={}){const t=e.locale,n=Nj(e),r=ye(t)&&Lt(e.pluralRules?.[t])?e.pluralRules[t]:xd,o=r===xd?void 0:xd,s=S=>S[r(n,S.length,o)],a=e.list||[],c=S=>a[S],u=e.named||vt();Gt(e.pluralIndex)&&(u.count||=e.pluralIndex,u.n||=e.pluralIndex);const f=S=>u[S];function p(S,v){const x=Lt(e.messages)?e.messages(S,!!v):ot(e.messages)?e.messages[S]:!1;return x||(e.parent?e.parent.message(S):Pj)}const h=S=>e.modifiers?e.modifiers[S]:Rj,g=Lt(e.processor?.normalize)?e.processor.normalize:Ij,y=Lt(e.processor?.interpolate)?e.processor.interpolate:Mj,w=ye(e.processor?.type)?e.processor.type:Lj,A={list:c,named:f,plural:s,linked:(S,...v)=>{const[x,E]=v;let R="text",O="";v.length===1?ot(x)?(O=x.modifier||O,R=x.type||R):ye(x)&&(O=x||O):v.length===2&&(ye(x)&&(O=x||O),ye(E)&&(R=E||R));const P=p(S,!0)(A),T=P===""||P===void 0?S:P,N=R==="vnode"&&jt(T)&&O?T[0]:T;return O?h(O)(N,R):N},message:p,type:w,interpolate:y,normalize:g,values:Kt(vt(),a,u)};return A}const t_=()=>"",_r=e=>Lt(e);function n_(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:a,messages:c}=e,[u,f]=Mp(...t),p=rt(f.missingWarn)?f.missingWarn:e.missingWarn,h=rt(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,g=rt(f.escapeParameter)?f.escapeParameter:e.escapeParameter,y=!!f.resolvedMessage,w=ye(f.default)||rt(f.default)?rt(f.default)?s?u:()=>u:f.default:n?s?u:()=>u:null,_=n||w!=null&&(ye(w)||Lt(w)),A=Wh(e,f);g&&Fj(f);let[S,v,x]=y?[u,A,c[A]||vt()]:fS(e,u,A,a,h,p),E=S,R=u;if(!y&&!(ye(E)||no(E)||_r(E))&&_&&(E=w,R=E),!y&&(!(ye(E)||no(E)||_r(E))||!ye(v)))return o?Ou:u;let O=!1;const P=()=>{O=!0},T=_r(E)?E:dS(e,u,v,E,R,P);if(O)return E;const N=Uj(e,v,x,f),K=Dj(N),G=$j(e,T,K);let ne=r?r(G,u):G;if(g&&ye(ne)&&(ne=g$(ne)),__INTLIFY_PROD_DEVTOOLS__){const de={timestamp:Date.now(),key:ye(u)?u:_r(E)?E.key:"",locale:v||(_r(E)?E.locale:""),format:ye(E)?E:_r(E)?E.source:"",message:ne};de.meta=Kt({},e.__meta,kj()||{}),ij(de)}return ne}function Fj(e){jt(e.list)?e.list=e.list.map(t=>ye(t)?jb(t):t):ot(e.named)&&Object.keys(e.named).forEach(t=>{ye(e.named[t])&&(e.named[t]=jb(e.named[t]))})}function fS(e,t,n,r,o,s){const{messages:a,onWarn:c,messageResolver:u,localeFallbacker:f}=e,p=f(e,r,n);let h=vt(),g,y=null;const w="translate";for(let _=0;_<p.length&&(g=p[_],h=a[g]||vt(),(y=u(h,t))===null&&(y=h[t]),!(ye(y)||no(y)||_r(y)));_++)if(!Aj(g,p)){const A=Vh(e,t,g,s,w);A!==t&&(y=A)}return[y,g,h]}function dS(e,t,n,r,o,s){const{messageCompiler:a,warnHtmlMessage:c}=e;if(_r(r)){const f=r;return f.locale=f.locale||n,f.key=f.key||t,f}if(a==null){const f=(()=>r);return f.locale=n,f.key=t,f}const u=a(r,jj(e,n,o,r,c,s));return u.locale=n,u.key=t,u.source=r,u}function $j(e,t,n){return t(n)}function Mp(...e){const[t,n,r]=e,o=vt();if(!ye(t)&&!Gt(t)&&!_r(t)&&!no(t))throw ko(Co.INVALID_ARGUMENT);const s=Gt(t)?String(t):(_r(t),t);return Gt(n)?o.plural=n:ye(n)?o.default=n:et(n)&&!Tu(n)?o.named=n:jt(n)&&(o.list=n),Gt(r)?o.plural=r:ye(r)?o.default=r:et(r)&&Kt(o,r),[s,o]}function jj(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:a=>{throw s&&s(a),a},onCacheKey:a=>c$(t,n,a)}}function Uj(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:a,fallbackLocale:c,fallbackWarn:u,missingWarn:f,fallbackContext:p}=e,g={locale:t,modifiers:o,pluralRules:s,messages:(y,w)=>{let _=a(n,y);if(_==null&&(p||w)){const[A,,S]=fS(p||e,y,t,c,u,f);_=A??a(S,y)}if(ye(_)||no(_)){let A=!1;const v=dS(e,y,t,_,y,()=>{A=!0});return A?t_:v}else return _r(_)?_:t_}};return e.processor&&(g.processor=e.processor),r.list&&(g.list=r.list),r.named&&(g.named=r.named),Gt(r.plural)&&(g.pluralIndex=r.plural),g}G$();const zj="11.4.7";function Bj(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Si().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Si().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Si().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Si().__INTLIFY_PROD_DEVTOOLS__=!1)}const Mn={UNEXPECTED_RETURN_TYPE:aj,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Wn(e,...t){return xu(e,null,void 0)}const Np=ii("__translateVNode"),Dp=ii("__datetimeParts"),Fp=ii("__numberParts"),pS=ii("__setPluralRules"),hS=ii("__injectWithOption"),ms=ii("__dispose");function $a(e){if(!ot(e)||no(e))return e;for(const t in e)if(vr(e,t))if(!t.includes("."))ot(e[t])&&$a(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let a=0;a<r;a++){if(n[a]==="__proto__")throw new Error(`unsafe key: ${n[a]}`);if(n[a]in o||(o[n[a]]=vt()),!ot(o[n[a]])){s=!0;break}o=o[n[a]]}if(s||(no(o)?rS.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!no(o)){const a=o[n[r]];ot(a)&&$a(a)}}return e}function Hh(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,a=et(n)?n:jt(r)?vt():{[e]:vt()};if(jt(r)&&r.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:u,resource:f}=c;u?(a[u]=a[u]||vt(),vc(f,a[u])):vc(f,a)}else ye(c)&&vc(JSON.parse(c),a)}),o==null&&s)for(const c in a)vr(a,c)&&$a(a[c]);return a}function mS(e){return e.type}function gS(e,t,n){let r=ot(t.messages)?t.messages:vt();"__i18nGlobal"in n&&(r=Hh(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(ot(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(ot(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function r_(e){return Ht(Ya,null,e,0)}function ja(){return ar()}const o_="__INTLIFY_META__",i_=()=>[],Wj=()=>!1;let s_=0;function a_(e){return((t,n,r,o)=>e(n,r,ja()||void 0,o))}const Vj=()=>{const e=ja();let t=null;return e&&(t=mS(e)[o_])?{[o_]:t}:null};function qc(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Gc?Re:In;let a=rt(e.inheritLocale)?e.inheritLocale:!0;const c=s(t&&a?t.locale.value:ye(e.locale)?e.locale:Fa),u=s(t&&a?t.fallbackLocale.value:ye(e.fallbackLocale)||jt(e.fallbackLocale)||et(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=s(Hh(c.value,e)),p=s(et(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),h=s(et(e.numberFormats)?e.numberFormats:{[c.value]:{}});let g=t?t.missingWarn:rt(e.missingWarn)||Ts(e.missingWarn)?e.missingWarn:!0,y=t?t.fallbackWarn:rt(e.fallbackWarn)||Ts(e.fallbackWarn)?e.fallbackWarn:!0,w=t?t.fallbackRoot:rt(e.fallbackRoot)?e.fallbackRoot:!0,_=!!e.fallbackFormat,A=Lt(e.missing)?e.missing:null,S=Lt(e.missing)?a_(e.missing):null,v=Lt(e.postTranslation)?e.postTranslation:null,x=t?t.warnHtmlMessage:rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const R=t?t.modifiers:et(e.modifiers)?e.modifiers:{};let O=e.pluralRules||t&&t.pluralRules,P;P=(()=>{r&&Yb(null);const U={version:zj,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:R,pluralRules:O,missing:S===null?void 0:S,missingWarn:g,fallbackWarn:y,fallbackFormat:_,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:x,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=p.value,U.numberFormats=h.value,U.__datetimeFormatters=et(P)?P.__datetimeFormatters:void 0,U.__numberFormatters=et(P)?P.__numberFormatters:void 0;const X=xj(U);return r&&Yb(X),X})(),oa(P,c.value,u.value);function N(){return[c.value,u.value,f.value,p.value,h.value]}const K=ce({get:()=>c.value,set:U=>{P.locale=U,c.value=U}}),G=ce({get:()=>u.value,set:U=>{P.fallbackLocale=U,u.value=U,oa(P,c.value,U)}}),ne=ce(()=>f.value),de=ce(()=>p.value),z=ce(()=>h.value);function re(){return Lt(v)?v:null}function ae(U){v=U,P.postTranslation=U}function ue(){return A}function Ee(U){U!==null&&(S=a_(U)),A=U,P.missing=S}const We=(U,X,be,ke,$e,Xe)=>{N();let Ze;try{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=t?Tj():void 0),Ze=U(P)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=void 0)}if(be!=="translate exists"&&Gt(Ze)&&Ze===Ou||be==="translate exists"&&!Ze){const[pn,Tn]=X();return t&&w?ke(t):$e(pn)}else{if(Xe(Ze))return Ze;throw Wn(Mn.UNEXPECTED_RETURN_TYPE)}};function rn(...U){return We(X=>Reflect.apply(n_,null,[X,...U]),()=>Mp(...U),"translate",X=>Reflect.apply(X.t,X,[...U]),X=>X,X=>ye(X))}function tt(...U){const[X,be,ke]=U;if(ke&&!ot(ke))throw Wn(Mn.INVALID_ARGUMENT);return rn(X,be,Kt({resolvedMessage:!0},ke||{}))}function Ge(...U){return We(X=>Reflect.apply(Jb,null,[X,...U]),()=>Lp(...U),"datetime format",X=>Reflect.apply(X.d,X,[...U]),()=>Kc,X=>ye(X)||jt(X))}function dn(...U){return We(X=>Reflect.apply(Zb,null,[X,...U]),()=>Ip(...U),"number format",X=>Reflect.apply(X.n,X,[...U]),()=>Kc,X=>ye(X)||jt(X))}function on(U){return U.map(X=>ye(X)||Gt(X)||rt(X)?r_(String(X)):X)}const Mt={normalize:on,interpolate:U=>U,type:"vnode"};function ee(...U){return We(X=>{let be;const ke=X;try{ke.processor=Mt,be=Reflect.apply(n_,null,[ke,...U])}finally{ke.processor=null}return be},()=>Mp(...U),"translate",X=>X[Np](...U),X=>[r_(X)],X=>jt(X))}function ge(...U){return We(X=>Reflect.apply(Zb,null,[X,...U]),()=>Ip(...U),"number format",X=>X[Fp](...U),i_,X=>ye(X)||jt(X))}function he(...U){return We(X=>Reflect.apply(Jb,null,[X,...U]),()=>Lp(...U),"datetime format",X=>X[Dp](...U),i_,X=>ye(X)||jt(X))}function ve(U){O=U,P.pluralRules=O}function ze(U,X){return We(()=>{if(!U)return!1;const be=ye(X)?X:c.value,ke=ye(X)?[be]:Pp(P,u.value,be);for(let $e=0;$e<ke.length;$e++){const Xe=H(ke[$e]);let Ze=P.messageResolver(Xe,U);if(Ze===null&&(Ze=Xe[U]),no(Ze)||_r(Ze)||ye(Ze))return!0}return!1},()=>[U],"translate exists",be=>Reflect.apply(be.te,be,[U,X]),Wj,be=>rt(be))}function M(U){let X=null;const be=Pp(P,u.value,c.value);for(let ke=0;ke<be.length;ke++){const $e=f.value[be[ke]]||{},Xe=P.messageResolver($e,U);if(Xe!=null){X=Xe;break}}return X}function F(U){const X=M(U);return X??(t?t.tm(U)||{}:{})}function H(U){return f.value[U]||{}}function J(U,X){if(o){const be={[U]:X};for(const ke in be)vr(be,ke)&&$a(be[ke]);X=be[U]}f.value[U]=X,P.messages=f.value}function te(U,X){f.value[U]=f.value[U]||{};const be={[U]:X};if(o)for(const ke in be)vr(be,ke)&&$a(be[ke]);X=be[U],vc(X,f.value[U]),P.messages=f.value}function Q(U){return p.value[U]||{}}function L(U,X){p.value[U]=X,P.datetimeFormats=p.value,Qb(P,U,X)}function I(U,X){p.value[U]=Kt(p.value[U]||{},X),P.datetimeFormats=p.value,Qb(P,U,X)}function j(U){return h.value[U]||{}}function W(U,X){h.value[U]=X,P.numberFormats=h.value,e_(P,U,X)}function fe(U,X){h.value[U]=Kt(h.value[U]||{},X),P.numberFormats=h.value,e_(P,U,X)}s_++,t&&Gc&&(gt(t.locale,U=>{a&&(c.value=U,P.locale=U,oa(P,c.value,u.value))}),gt(t.fallbackLocale,U=>{a&&(u.value=U,P.fallbackLocale=U,oa(P,c.value,u.value))}));const ie={id:s_,locale:K,fallbackLocale:G,get inheritLocale(){return a},set inheritLocale(U){a=U,U&&t&&(c.value=t.locale.value,u.value=t.fallbackLocale.value,oa(P,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:ne,get modifiers(){return R},get pluralRules(){return O||{}},get isGlobal(){return r},get missingWarn(){return g},set missingWarn(U){g=U,P.missingWarn=g},get fallbackWarn(){return y},set fallbackWarn(U){y=U,P.fallbackWarn=y},get fallbackRoot(){return w},set fallbackRoot(U){w=U},get fallbackFormat(){return _},set fallbackFormat(U){_=U,P.fallbackFormat=_},get warnHtmlMessage(){return x},set warnHtmlMessage(U){x=U,P.warnHtmlMessage=U},get escapeParameter(){return E},set escapeParameter(U){E=U,P.escapeParameter=U},t:rn,getLocaleMessage:H,setLocaleMessage:J,mergeLocaleMessage:te,getPostTranslationHandler:re,setPostTranslationHandler:ae,getMissingHandler:ue,setMissingHandler:Ee,[pS]:ve};return ie.datetimeFormats=de,ie.numberFormats=z,ie.rt=tt,ie.te=ze,ie.tm=F,ie.d=Ge,ie.n=dn,ie.getDateTimeFormat=Q,ie.setDateTimeFormat=L,ie.mergeDateTimeFormat=I,ie.getNumberFormat=j,ie.setNumberFormat=W,ie.mergeNumberFormat=fe,ie[hS]=n,ie[Np]=ee,ie[Dp]=he,ie[Fp]=ge,ie}function Hj(e){const t=ye(e.locale)?e.locale:Fa,n=ye(e.fallbackLocale)||jt(e.fallbackLocale)||et(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Lt(e.missing)?e.missing:void 0,o=rt(e.silentTranslationWarn)||Ts(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=rt(e.silentFallbackWarn)||Ts(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=rt(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,u=et(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,p=Lt(e.postTranslation)?e.postTranslation:void 0,h=ye(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,y=rt(e.sync)?e.sync:!0;let w=e.messages;if(et(e.sharedMessages)){const R=e.sharedMessages;w=Object.keys(R).reduce((P,T)=>{const N=P[T]||(P[T]={});return Kt(N,R[T]),P},w||{})}const{__i18n:_,__root:A,__injectWithOption:S}=e,v=e.datetimeFormats,x=e.numberFormats,E=e.flatJson;return{locale:t,fallbackLocale:n,messages:w,flatJson:E,datetimeFormats:v,numberFormats:x,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:a,fallbackFormat:c,modifiers:u,pluralRules:f,postTranslation:p,warnHtmlMessage:h,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:y,__i18n:_,__root:A,__injectWithOption:S}}function $p(e={}){const t=qc(Hj(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return rt(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=rt(o)?!o:o},get silentFallbackWarn(){return rt(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=rt(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,s){return t.te(o,s)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,s){t.setLocaleMessage(o,s)},mergeLocaleMessage(o,s){t.mergeLocaleMessage(o,s)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,s){t.setDateTimeFormat(o,s)},mergeDateTimeFormat(o,s){t.mergeDateTimeFormat(o,s)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,s){t.setNumberFormat(o,s)},mergeNumberFormat(o,s){t.mergeNumberFormat(o,s)}};return r.__extender=n,r}function Gj(e,t,n){return{beforeCreate(){const r=ja();if(!r)throw Wn(Mn.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=t,this===this.$root)this.$i18n=l_(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=$p(s);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=l_(e,o);else{this.$i18n=$p({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&gS(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,a)=>this.$i18n.te(s,a),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=ja();if(!r)throw Wn(Mn.UNEXPECTED_ERROR);const o=this.$i18n;o&&(delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o?.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n)}}}function l_(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[pS](t.pluralizationRules||e.pluralizationRules);const n=Hh(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const Gh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Kj({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Vt?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},vt())}function yS(){return Vt}const qj=It({name:"i18n-t",props:Kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Gt(e)||!isNaN(e)}},Gh),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Di({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const u=Object.keys(n).filter(h=>h[0]!=="_"),f=vt();e.locale&&(f.locale=e.locale),e.plural!==void 0&&(f.plural=ye(e.plural)?+e.plural:e.plural);const p=Kj(t,u);return o[Np](e.keypath,p,f)},a=Kt(vt(),r),c=ye(e.tag)||ot(e.tag)?e.tag:yS();return ot(c)?ri(c,a,{default:s}):ri(c,a,s())}}}),c_=qj;function Yj(e){return jt(e)&&!ye(e[0])}function bS(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const a=()=>{const f={part:!0};let p=vt();e.locale&&(f.locale=e.locale),ye(e.format)?f.key=e.format:ot(e.format)&&(ye(e.format.key)&&(f.key=e.format.key),p=Object.keys(e.format).reduce((y,w)=>n.includes(w)?Kt(vt(),y,{[w]:e.format[w]}):y,vt()));const h=r(e.value,f,p);let g=[f.key];return jt(h)?g=h.map((y,w)=>{const _=o[y.type],A=_?_({[y.type]:y.value,index:w,parts:h}):[y.value];return Yj(A)&&(A[0].key=`${y.type}-${w}`),A}):ye(h)&&(g=[h]),g},c=Kt(vt(),s),u=ye(e.tag)||ot(e.tag)?e.tag:yS();return ot(u)?ri(u,c,{default:a}):ri(u,c,a())}}const Xj=It({name:"i18n-n",props:Kt({value:{type:Number,required:!0},format:{type:[String,Object]}},Gh),setup(e,t){const n=e.i18n||Di({useScope:e.scope,__useComponent:!0});return bS(e,t,uS,(...r)=>n[Fp](...r))}}),u_=Xj;function Jj(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Qj(e){const t=a=>{const{instance:c,value:u}=a;if(!c||!c.$)throw Wn(Mn.UNEXPECTED_ERROR);const f=Jj(e,c.$),p=f_(u);return[Reflect.apply(f.t,f,[...d_(p)]),f]};return{created:(a,c)=>{const[u,f]=t(c);Gc&&(a.__i18nWatcher=gt(f.locale,()=>{c.instance&&c.instance.$forceUpdate()})),a.__composer=f,a.textContent=u},unmounted:a=>{Gc&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:c})=>{if(a.__composer){const u=a.__composer,f=f_(c);a.textContent=Reflect.apply(u.t,u,[...d_(f)])}},getSSRProps:a=>{const[c]=t(a);return{textContent:c}}}}function f_(e){if(ye(e))return{path:e};if(et(e)){if(!("path"in e))throw Wn(Mn.REQUIRED_VALUE,"path");return e}else throw Wn(Mn.INVALID_VALUE)}function d_(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,a={},c=r||{};return ye(n)&&(a.locale=n),Gt(o)&&(a.plural=o),Gt(s)&&(a.plural=s),[t,c,a]}function Zj(e,t,...n){const r=et(n[0])?n[0]:{};(!rt(r.globalInstall)||r.globalInstall)&&([c_.name,"I18nT"].forEach(s=>e.component(s,c_)),[u_.name,"I18nN"].forEach(s=>e.component(s,u_)),[m_.name,"I18nD"].forEach(s=>e.component(s,m_))),e.directive("t",Qj(t))}const eU=ii("global-vue-i18n");function tU(e={}){const t=__VUE_I18N_LEGACY_API__&&rt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=rt(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=nU(e,t),a=ii("");function c(h){return r.get(h)||null}function u(h,g){r.set(h,g)}function f(h){r.delete(h)}const p={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(h,...g){if(h.__VUE_I18N_SYMBOL__=a,h.provide(h.__VUE_I18N_SYMBOL__,p),et(g[0])){const _=g[0];p.__composerExtend=_.__composerExtend,p.__vueI18nExtend=_.__vueI18nExtend}let y=null;!t&&n&&(y=cU(h,p.global)),__VUE_I18N_FULL_INSTALL__&&Zj(h,p,...g),__VUE_I18N_LEGACY_API__&&t&&h.mixin(Gj(s,s.__composer,p));const w=h.unmount;h.unmount=()=>{y&&y(),p.dispose(),w()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:f};return p}function Di(e={}){const t=ja();if(t==null)throw Wn(Mn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Wn(Mn.NOT_INSTALLED);const n=rU(t),r=iU(n),o=mS(t),s=oU(e,o);if(s==="global")return gS(r,e,o),r;if(s==="parent"){let u=p_(n,t,e.__useComponent);return u==null&&(u=r),u}if(s==="isolated"){if(n.mode!=="composition")throw Wn(Mn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=n,f=Kt({},e),p=p_(n,t);f.__root=p||r;const h=qc(f);return u.__composerExtend&&(h[ms]=u.__composerExtend(h)),Ha()&&kh(()=>{const y=h[ms];y&&(y(),delete h[ms])}),h}const a=n;let c=a.__getInstance(t);if(c==null){const u=Kt({},e);"__i18n"in o&&(u.__i18n=o.__i18n),r&&(u.__root=r),c=qc(u),a.__composerExtend&&(c[ms]=a.__composerExtend(c)),aU(a,t,c),a.__setInstance(t,c)}return c}function nU(e,t){const n=Ch(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>$p(e)):n.run(()=>qc(e));if(r==null)throw Wn(Mn.UNEXPECTED_ERROR);return[n,r]}function rU(e){const t=En(e.isCE?eU:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Wn(e.isCE?Mn.NOT_INSTALLED_WITH_PROVIDE:Mn.UNEXPECTED_ERROR);return t}function oU(e,t){return Tu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function iU(e){return e.mode==="composition"?e.global:e.global.__composer}function p_(e,t,n=!1){let r=null;const o=t.root;let s=sU(t,n);for(;s!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const c=a.__getInstance(s);c!=null&&(r=c.__composer,n&&r&&!r[hS]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function sU(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function aU(e,t,n){Er(()=>{},t),Ds(()=>{const r=n;e.__deleteInstance(t);const o=r[ms];o&&(o(),delete r[ms])},t)}const lU=["locale","fallbackLocale","availableLocales"],h_=["t","rt","d","n","tm","te"];function cU(e,t){const n=Object.create(null);return lU.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Wn(Mn.UNEXPECTED_ERROR);const a=Rt(s.value)?{get(){return s.value.value},set(c){s.value.value=c}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,a)}),e.config.globalProperties.$i18n=n,h_.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Wn(Mn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,h_.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const uU=It({name:"i18n-d",props:Kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Gh),setup(e,t){const n=e.i18n||Di({useScope:e.scope,__useComponent:!0});return bS(e,t,cS,(...r)=>n[Dp](...r))}}),m_=uU;Bj();wj(nj);Ej(bj);Sj(Pp);if(__INTLIFY_PROD_DEVTOOLS__){const e=Si();e.__INTLIFY__=!0,rj(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const fU=(e,t=!1)=>{const{params:{compId:n="",instanceUid:r}}=Mo(),o=$s(),{messageListener:s,sendMessageToTop:a}=js(),{addListener:c}=s(),u=Re([]),f=t?Qe.SETTING_DATA_LEAF_SET:Qe.SETTING_DATA_SET,p=t?Qe.SETTING_DATA_LEAF_GET:Qe.SETTING_DATA_GET;return c(f,h=>{u.value=h}),a(p,n,o,r),{depsSetting:u}},_S=Symbol("depsSetting"),dU={class:"app-container"},pU=It({__name:"App",setup(e){const{locale:t}=Di(),n=uD(),r=YN(n),{params:{compId:o="",instanceUid:s}}=Mo(),{messageListener:a,sendMessageToTop:c}=js(),{addListener:u}=a(),f=$s(),{depsSetting:p}=fU(!1,!0),h=ce(()=>p.value.length>0);return Ti(_S,p),u(Qe.THEME_CHANGE_SET,g=>{r(g.isDark??!1)}),u(Qe.LOCALE_SET,g=>{t.value=g}),c(Qe.LOCALE_GET,o,f,s),c(Qe.THEME_CHANGE_GET,o,f,s),Er(()=>{const g=document.getElementById("loadingContainer");g&&g.remove()}),(g,y)=>{const w=Ih("router-view");return Ce(),pt("div",dU,[h.value?(Ce(),_t(w,{key:0})):Mr("",!0)])}}}),Sr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},hU=Sr(pU,[["__scopeId","data-v-6efeee9c"]]),ec=window.parent,g_=["postMessage",we.VUE2_SFC_LOADER_KEY,we.VUE3_SFC_LOADER_KEY,we.REACT_JSX_LOADER_KEY];let tc=null;function mU(){return tc||(tc=new Proxy(ec,{get(e,t){if(g_.includes(String(t)))return t==="postMessage"?ec.postMessage.bind(ec):Reflect.get(ec,t);throw new DOMException(`Blocked access to window.parent.${String(t)} by Comp-Hub security policy`,"SecurityError")},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return g_.includes(String(t))},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}}),tc)}Object.defineProperty(window,"parent",{get(){return mU()},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});function vS(e,t){return function(){return e.apply(t,arguments)}}const{toString:gU}=Object.prototype,{getPrototypeOf:Au}=Object,{iterator:Ru,toStringTag:wS}=Symbol,Pu=(e=>t=>{const n=gU.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),zr=e=>(e=e.toLowerCase(),t=>Pu(t)===e),Lu=e=>t=>typeof t===e,{isArray:Us}=Array,Os=Lu("undefined");function Ja(e){return e!==null&&!Os(e)&&e.constructor!==null&&!Os(e.constructor)&&Vn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ES=zr("ArrayBuffer");function yU(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ES(e.buffer),t}const bU=Lu("string"),Vn=Lu("function"),SS=Lu("number"),Qa=e=>e!==null&&typeof e=="object",_U=e=>e===!0||e===!1,wc=e=>{if(Pu(e)!=="object")return!1;const t=Au(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(wS in e)&&!(Ru in e)},vU=e=>{if(!Qa(e)||Ja(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},wU=zr("Date"),EU=zr("File"),SU=e=>!!(e&&typeof e.uri<"u"),CU=e=>e&&typeof e.getParts<"u",kU=zr("Blob"),TU=zr("FileList"),xU=e=>Qa(e)&&Vn(e.pipe);function OU(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const y_=OU(),b_=typeof y_.FormData<"u"?y_.FormData:void 0,AU=e=>{if(!e)return!1;if(b_&&e instanceof b_)return!0;const t=Au(e);if(!t||t===Object.prototype||!Vn(e.append))return!1;const n=Pu(e);return n==="formdata"||n==="object"&&Vn(e.toString)&&e.toString()==="[object FormData]"},RU=zr("URLSearchParams"),[PU,LU,IU,MU]=["ReadableStream","Request","Response","Headers"].map(zr),NU=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Za(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Us(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Ja(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let c;for(r=0;r<a;r++)c=s[r],t.call(null,e[c],c,e)}}function CS(e,t){if(Ja(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Ci=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,kS=e=>!Os(e)&&e!==Ci;function jp(){const{caseless:e,skipUndefined:t}=kS(this)&&this||{},n={},r=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const a=e&&CS(n,s)||s;wc(n[a])&&wc(o)?n[a]=jp(n[a],o):wc(o)?n[a]=jp({},o):Us(o)?n[a]=o.slice():(!t||!Os(o))&&(n[a]=o)};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&Za(arguments[o],r);return n}const DU=(e,t,n,{allOwnKeys:r}={})=>(Za(t,(o,s)=>{n&&Vn(o)?Object.defineProperty(e,s,{value:vS(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),FU=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$U=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},jU=(e,t,n,r)=>{let o,s,a;const c={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)a=o[s],(!r||r(a,e,t))&&!c[a]&&(t[a]=e[a],c[a]=!0);e=n!==!1&&Au(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},UU=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},zU=e=>{if(!e)return null;if(Us(e))return e;let t=e.length;if(!SS(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},BU=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Au(Uint8Array)),WU=(e,t)=>{const n=(e&&e[Ru]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},VU=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},HU=zr("HTMLFormElement"),GU=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),__=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),KU=zr("RegExp"),TS=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Za(n,(o,s)=>{let a;(a=t(o,s,e))!==!1&&(r[s]=a||o)}),Object.defineProperties(e,r)},qU=e=>{TS(e,(t,n)=>{if(Vn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Vn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},YU=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return Us(e)?r(e):r(String(e).split(t)),n},XU=()=>{},JU=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function QU(e){return!!(e&&Vn(e.append)&&e[wS]==="FormData"&&e[Ru])}const ZU=e=>{const t=new Array(10),n=(r,o)=>{if(Qa(r)){if(t.indexOf(r)>=0)return;if(Ja(r))return r;if(!("toJSON"in r)){t[o]=r;const s=Us(r)?[]:{};return Za(r,(a,c)=>{const u=n(a,o+1);!Os(u)&&(s[c]=u)}),t[o]=void 0,s}}return r};return n(e,0)},e2=zr("AsyncFunction"),t2=e=>e&&(Qa(e)||Vn(e))&&Vn(e.then)&&Vn(e.catch),xS=((e,t)=>e?setImmediate:t?((n,r)=>(Ci.addEventListener("message",({source:o,data:s})=>{o===Ci&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Ci.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Vn(Ci.postMessage)),n2=typeof queueMicrotask<"u"?queueMicrotask.bind(Ci):typeof process<"u"&&process.nextTick||xS,r2=e=>e!=null&&Vn(e[Ru]),q={isArray:Us,isArrayBuffer:ES,isBuffer:Ja,isFormData:AU,isArrayBufferView:yU,isString:bU,isNumber:SS,isBoolean:_U,isObject:Qa,isPlainObject:wc,isEmptyObject:vU,isReadableStream:PU,isRequest:LU,isResponse:IU,isHeaders:MU,isUndefined:Os,isDate:wU,isFile:EU,isReactNativeBlob:SU,isReactNative:CU,isBlob:kU,isRegExp:KU,isFunction:Vn,isStream:xU,isURLSearchParams:RU,isTypedArray:BU,isFileList:TU,forEach:Za,merge:jp,extend:DU,trim:NU,stripBOM:FU,inherits:$U,toFlatObject:jU,kindOf:Pu,kindOfTest:zr,endsWith:UU,toArray:zU,forEachEntry:WU,matchAll:VU,isHTMLForm:HU,hasOwnProperty:__,hasOwnProp:__,reduceDescriptors:TS,freezeMethods:qU,toObjectSet:YU,toCamelCase:GU,noop:XU,toFiniteNumber:JU,findKey:CS,global:Ci,isContextDefined:kS,isSpecCompliantForm:QU,toJSONObject:ZU,isAsyncFn:e2,isThenable:t2,setImmediate:xS,asap:n2,isIterable:r2};let Oe=class OS extends Error{static from(t,n,r,o,s,a){const c=new OS(t.message,n||t.code,r,o,s);return c.cause=t,c.name=t.name,t.status!=null&&c.status==null&&(c.status=t.status),a&&Object.assign(c,a),c}constructor(t,n,r,o,s){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){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:q.toJSONObject(this.config),code:this.code,status:this.status}}};Oe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Oe.ERR_BAD_OPTION="ERR_BAD_OPTION";Oe.ECONNABORTED="ECONNABORTED";Oe.ETIMEDOUT="ETIMEDOUT";Oe.ERR_NETWORK="ERR_NETWORK";Oe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Oe.ERR_DEPRECATED="ERR_DEPRECATED";Oe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Oe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Oe.ERR_CANCELED="ERR_CANCELED";Oe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Oe.ERR_INVALID_URL="ERR_INVALID_URL";Oe.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const o2=null;function Up(e){return q.isPlainObject(e)||q.isArray(e)}function AS(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function Od(e,t,n){return e?e.concat(t).map(function(r,o){return r=AS(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function i2(e){return q.isArray(e)&&!e.some(Up)}const s2=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function Iu(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,A){return!q.isUndefined(A[_])});const r=n.metaTokens,o=n.visitor||h,s=n.dots,a=n.indexes,c=n.Blob||typeof Blob<"u"&&Blob,u=n.maxDepth===void 0?100:n.maxDepth,f=c&&q.isSpecCompliantForm(t);if(!q.isFunction(o))throw new TypeError("visitor must be a function");function p(_){if(_===null)return"";if(q.isDate(_))return _.toISOString();if(q.isBoolean(_))return _.toString();if(!f&&q.isBlob(_))throw new Oe("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(_)||q.isTypedArray(_)?f&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function h(_,A,S){let v=_;if(q.isReactNative(t)&&q.isReactNativeBlob(_))return t.append(Od(S,A,s),p(_)),!1;if(_&&!S&&typeof _=="object"){if(q.endsWith(A,"{}"))A=r?A:A.slice(0,-2),_=JSON.stringify(_);else if(q.isArray(_)&&i2(_)||(q.isFileList(_)||q.endsWith(A,"[]"))&&(v=q.toArray(_)))return A=AS(A),v.forEach(function(x,E){!(q.isUndefined(x)||x===null)&&t.append(a===!0?Od([A],E,s):a===null?A:A+"[]",p(x))}),!1}return Up(_)?!0:(t.append(Od(S,A,s),p(_)),!1)}const g=[],y=Object.assign(s2,{defaultVisitor:h,convertValue:p,isVisitable:Up});function w(_,A,S=0){if(!q.isUndefined(_)){if(S>u)throw new Oe("Object is too deeply nested ("+S+" levels). Max depth: "+u,Oe.ERR_FORM_DATA_DEPTH_EXCEEDED);if(g.indexOf(_)!==-1)throw Error("Circular reference detected in "+A.join("."));g.push(_),q.forEach(_,function(v,x){(!(q.isUndefined(v)||v===null)&&o.call(t,v,q.isString(x)?x.trim():x,A,y))===!0&&w(v,A?A.concat(x):[x],S+1)}),g.pop()}}if(!q.isObject(e))throw new TypeError("data must be an object");return w(e),t}function v_(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function Kh(e,t){this._pairs=[],e&&Iu(e,this,t)}const RS=Kh.prototype;RS.append=function(e,t){this._pairs.push([e,t])};RS.toString=function(e){const t=e?function(n){return e.call(this,n,v_)}:v_;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function a2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function PS(e,t,n){if(!t)return e;const r=n&&n.encode||a2,o=q.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let a;if(s?a=s(t,o):a=q.isURLSearchParams(t)?t.toString():new Kh(t,o).toString(r),a){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class w_{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){q.forEach(this.handlers,function(n){n!==null&&t(n)})}}const qh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},l2=typeof URLSearchParams<"u"?URLSearchParams:Kh,c2=typeof FormData<"u"?FormData:null,u2=typeof Blob<"u"?Blob:null,f2={isBrowser:!0,classes:{URLSearchParams:l2,FormData:c2,Blob:u2},protocols:["http","https","file","blob","url","data"]},Yh=typeof window<"u"&&typeof document<"u",zp=typeof navigator=="object"&&navigator||void 0,d2=Yh&&(!zp||["ReactNative","NativeScript","NS"].indexOf(zp.product)<0),p2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",h2=Yh&&window.location.href||"http://localhost",m2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yh,hasStandardBrowserEnv:d2,hasStandardBrowserWebWorkerEnv:p2,navigator:zp,origin:h2},Symbol.toStringTag,{value:"Module"})),wn={...m2,...f2};function g2(e,t){return Iu(e,new wn.classes.URLSearchParams,{visitor:function(n,r,o,s){return wn.isNode&&q.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function y2(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function b2(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function LS(e){function t(n,r,o,s){let a=n[s++];if(a==="__proto__")return!0;const c=Number.isFinite(+a),u=s>=n.length;return a=!a&&q.isArray(o)?o.length:a,u?(q.hasOwnProp(o,a)?o[a]=q.isArray(o[a])?o[a].concat(r):[o[a],r]:o[a]=r,!c):((!o[a]||!q.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],s)&&q.isArray(o[a])&&(o[a]=b2(o[a])),!c)}if(q.isFormData(e)&&q.isFunction(e.entries)){const n={};return q.forEachEntry(e,(r,o)=>{t(y2(r),o,n,0)}),n}return null}const ts=(e,t)=>e!=null&&q.hasOwnProp(e,t)?e[t]:void 0;function _2(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const el={transitional:qh,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=q.isObject(e);if(o&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return r?JSON.stringify(LS(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){const a=ts(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return g2(e,a).toString();if((s=q.isFileList(e))||n.indexOf("multipart/form-data")>-1){const c=ts(this,"env"),u=c&&c.FormData;return Iu(s?{"files[]":e}:e,u&&new u,a)}}return o||r?(t.setContentType("application/json",!1),_2(e)):e}],transformResponse:[function(e){const t=ts(this,"transitional")||el.transitional,n=t&&t.forcedJSONParsing,r=ts(this,"responseType"),o=r==="json";if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(n&&!r||o)){const s=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,ts(this,"parseReviver"))}catch(a){if(s)throw a.name==="SyntaxError"?Oe.from(a,Oe.ERR_BAD_RESPONSE,this,null,ts(this,"response")):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wn.classes.FormData,Blob:wn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{el.headers[e]={}});const v2=q.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"]),w2=e=>{const t={};let n,r,o;return e&&e.split(`
4
- `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&v2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},E_=Symbol("internals"),E2=/[^\x09\x20-\x7E\x80-\xFF]/g;function S2(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}function ia(e){return e&&String(e).trim().toLowerCase()}function C2(e){return S2(e.replace(E2,""))}function Ec(e){return e===!1||e==null?e:q.isArray(e)?e.map(Ec):C2(String(e))}function k2(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}const T2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ad(e,t,n,r,o){if(q.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!q.isString(t)){if(q.isString(r))return t.indexOf(r)!==-1;if(q.isRegExp(r))return r.test(t)}}function x2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function O2(e,t){const n=q.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,a){return this[r].call(this,t,o,s,a)},configurable:!0})})}let Hn=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(c,u,f){const p=ia(u);if(!p)throw new Error("header name must be a non-empty string");const h=q.findKey(o,p);(!h||o[h]===void 0||f===!0||f===void 0&&o[h]!==!1)&&(o[h||u]=Ec(c))}const a=(c,u)=>q.forEach(c,(f,p)=>s(f,p,u));if(q.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(q.isString(t)&&(t=t.trim())&&!T2(t))a(w2(t),n);else if(q.isObject(t)&&q.isIterable(t)){let c={},u,f;for(const p of t){if(!q.isArray(p))throw TypeError("Object iterator must return a key-value pair");c[f=p[0]]=(u=c[f])?q.isArray(u)?[...u,p[1]]:[u,p[1]]:p[1]}a(c,n)}else t!=null&&s(n,t,r);return this}get(t,n){if(t=ia(t),t){const r=q.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return k2(o);if(q.isFunction(n))return n.call(this,o,r);if(q.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ia(t),t){const r=q.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ad(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(a){if(a=ia(a),a){const c=q.findKey(r,a);c&&(!n||Ad(r,r[c],c,n))&&(delete r[c],o=!0)}}return q.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||Ad(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return q.forEach(this,(o,s)=>{const a=q.findKey(r,s);if(a){n[a]=Ec(o),delete n[s];return}const c=t?x2(s):String(s).trim();c!==s&&delete n[s],n[c]=Ec(o),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return q.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&q.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
5
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const n=(this[E_]=this[E_]={accessors:{}}).accessors,r=this.prototype;function o(s){const a=ia(s);n[a]||(O2(r,s),n[a]=!0)}return q.isArray(t)?t.forEach(o):o(t),this}};Hn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.reduceDescriptors(Hn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});q.freezeMethods(Hn);function Rd(e,t){const n=this||el,r=t||n,o=Hn.from(r.headers);let s=r.data;return q.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function IS(e){return!!(e&&e.__CANCEL__)}let tl=class extends Oe{constructor(t,n,r){super(t??"canceled",Oe.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function MS(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Oe("Request failed with status code "+n.status,[Oe.ERR_BAD_REQUEST,Oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function A2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function R2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,a;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),f=r[s];a||(a=u),n[o]=c,r[o]=u;let p=s,h=0;for(;p!==o;)h+=n[p++],p=p%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-a<t)return;const g=f&&u-f;return g?Math.round(h*1e3/g):void 0}}function P2(e,t){let n=0,r=1e3/t,o,s;const a=(c,u=Date.now())=>{n=u,o=null,s&&(clearTimeout(s),s=null),e(...c)};return[(...c)=>{const u=Date.now(),f=u-n;f>=r?a(c,u):(o=c,s||(s=setTimeout(()=>{s=null,a(o)},r-f)))},()=>o&&a(o)]}const Yc=(e,t,n=3)=>{let r=0;const o=R2(50,250);return P2(s=>{const a=s.loaded,c=s.lengthComputable?s.total:void 0,u=c!=null?Math.min(a,c):a,f=Math.max(0,u-r),p=o(f);r=Math.max(r,u);const h={loaded:u,total:c,progress:c?u/c:void 0,bytes:f,rate:p||void 0,estimated:p&&c?(c-u)/p:void 0,event:s,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(h)},n)},S_=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},C_=e=>(...t)=>q.asap(()=>e(...t)),L2=wn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,wn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(wn.origin),wn.navigator&&/(msie|trident)/i.test(wn.navigator.userAgent)):()=>!0,I2=wn.hasStandardBrowserEnv?{write(e,t,n,r,o,s,a){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(t)}`];q.isNumber(n)&&c.push(`expires=${new Date(n).toUTCString()}`),q.isString(r)&&c.push(`path=${r}`),q.isString(o)&&c.push(`domain=${o}`),s===!0&&c.push("secure"),q.isString(a)&&c.push(`SameSite=${a}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function M2(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function N2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function NS(e,t,n){let r=!M2(t);return e&&(r||n===!1)?N2(e,t):t}const k_=e=>e instanceof Hn?{...e}:e;function Ii(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(f,p,h,g){return q.isPlainObject(f)&&q.isPlainObject(p)?q.merge.call({caseless:g},f,p):q.isPlainObject(p)?q.merge({},p):q.isArray(p)?p.slice():p}function o(f,p,h,g){if(q.isUndefined(p)){if(!q.isUndefined(f))return r(void 0,f,h,g)}else return r(f,p,h,g)}function s(f,p){if(!q.isUndefined(p))return r(void 0,p)}function a(f,p){if(q.isUndefined(p)){if(!q.isUndefined(f))return r(void 0,f)}else return r(void 0,p)}function c(f,p,h){if(q.hasOwnProp(t,h))return r(f,p);if(q.hasOwnProp(e,h))return r(void 0,f)}const u={url:s,method:s,data:s,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,allowedSocketPaths:a,responseEncoding:a,validateStatus:c,headers:(f,p,h)=>o(k_(f),k_(p),h,!0)};return q.forEach(Object.keys({...e,...t}),function(f){if(f==="__proto__"||f==="constructor"||f==="prototype")return;const p=q.hasOwnProp(u,f)?u[f]:o,h=q.hasOwnProp(e,f)?e[f]:void 0,g=q.hasOwnProp(t,f)?t[f]:void 0,y=p(h,g,f);q.isUndefined(y)&&p!==c||(n[f]=y)}),n}const DS=e=>{const t=Ii({},e),n=g=>q.hasOwnProp(t,g)?t[g]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),a=n("xsrfCookieName");let c=n("headers");const u=n("auth"),f=n("baseURL"),p=n("allowAbsoluteUrls"),h=n("url");if(t.headers=c=Hn.from(c),t.url=PS(NS(f,h,p),e.params,e.paramsSerializer),u&&c.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),q.isFormData(r)){if(wn.hasStandardBrowserEnv||wn.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(q.isFunction(r.getHeaders)){const g=r.getHeaders(),y=["content-type","content-length"];Object.entries(g).forEach(([w,_])=>{y.includes(w.toLowerCase())&&c.set(w,_)})}}if(wn.hasStandardBrowserEnv&&(q.isFunction(o)&&(o=o(t)),o===!0||o==null&&L2(t.url))){const g=s&&a&&I2.read(a);g&&c.set(s,g)}return t},D2=typeof XMLHttpRequest<"u",F2=D2&&function(e){return new Promise(function(t,n){const r=DS(e);let o=r.data;const s=Hn.from(r.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:u}=r,f,p,h,g,y;function w(){g&&g(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(f),r.signal&&r.signal.removeEventListener("abort",f)}let _=new XMLHttpRequest;_.open(r.method.toUpperCase(),r.url,!0),_.timeout=r.timeout;function A(){if(!_)return;const v=Hn.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),x={data:!a||a==="text"||a==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:v,config:e,request:_};MS(function(E){t(E),w()},function(E){n(E),w()},x),_=null}"onloadend"in _?_.onloadend=A:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(A)},_.onabort=function(){_&&(n(new Oe("Request aborted",Oe.ECONNABORTED,e,_)),_=null)},_.onerror=function(v){const x=v&&v.message?v.message:"Network Error",E=new Oe(x,Oe.ERR_NETWORK,e,_);E.event=v||null,n(E),_=null},_.ontimeout=function(){let v=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const x=r.transitional||qh;r.timeoutErrorMessage&&(v=r.timeoutErrorMessage),n(new Oe(v,x.clarifyTimeoutError?Oe.ETIMEDOUT:Oe.ECONNABORTED,e,_)),_=null},o===void 0&&s.setContentType(null),"setRequestHeader"in _&&q.forEach(s.toJSON(),function(v,x){_.setRequestHeader(x,v)}),q.isUndefined(r.withCredentials)||(_.withCredentials=!!r.withCredentials),a&&a!=="json"&&(_.responseType=r.responseType),u&&([h,y]=Yc(u,!0),_.addEventListener("progress",h)),c&&_.upload&&([p,g]=Yc(c),_.upload.addEventListener("progress",p),_.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(f=v=>{_&&(n(!v||v.type?new tl(null,e,_):v),_.abort(),_=null)},r.cancelToken&&r.cancelToken.subscribe(f),r.signal&&(r.signal.aborted?f():r.signal.addEventListener("abort",f)));const S=A2(r.url);if(S&&wn.protocols.indexOf(S)===-1){n(new Oe("Unsupported protocol "+S+":",Oe.ERR_BAD_REQUEST,e));return}_.send(o||null)})},$2=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(f){if(!o){o=!0,c();const p=f instanceof Error?f:this.reason;r.abort(p instanceof Oe?p:new tl(p instanceof Error?p.message:p))}};let a=t&&setTimeout(()=>{a=null,s(new Oe(`timeout of ${t}ms exceeded`,Oe.ETIMEDOUT))},t);const c=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(s):f.removeEventListener("abort",s)}),e=null)};e.forEach(f=>f.addEventListener("abort",s));const{signal:u}=r;return u.unsubscribe=()=>q.asap(c),u}},j2=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},U2=async function*(e,t){for await(const n of z2(e))yield*j2(n,t)},z2=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},T_=(e,t,n,r)=>{const o=U2(e,t);let s=0,a,c=u=>{a||(a=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:f,value:p}=await o.next();if(f){c(),u.close();return}let h=p.byteLength;if(n){let g=s+=h;n(g)}u.enqueue(new Uint8Array(p))}catch(f){throw c(f),f}},cancel(u){return c(u),o.return()}},{highWaterMark:2})},x_=64*1024,{isFunction:nc}=q,B2=(({Request:e,Response:t})=>({Request:e,Response:t}))(q.global),{ReadableStream:O_,TextEncoder:A_}=q.global,R_=(e,...t)=>{try{return!!e(...t)}catch{return!1}},W2=e=>{e=q.merge.call({skipUndefined:!0},B2,e);const{fetch:t,Request:n,Response:r}=e,o=t?nc(t):typeof fetch=="function",s=nc(n),a=nc(r);if(!o)return!1;const c=o&&nc(O_),u=o&&(typeof A_=="function"?(w=>_=>w.encode(_))(new A_):async w=>new Uint8Array(await new n(w).arrayBuffer())),f=s&&c&&R_(()=>{let w=!1;const _=new n(wn.origin,{body:new O_,method:"POST",get duplex(){return w=!0,"half"}}),A=_.headers.has("Content-Type");return _.body!=null&&_.body.cancel(),w&&!A}),p=a&&c&&R_(()=>q.isReadableStream(new r("").body)),h={stream:p&&(w=>w.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(w=>{!h[w]&&(h[w]=(_,A)=>{let S=_&&_[w];if(S)return S.call(_);throw new Oe(`Response type '${w}' is not supported`,Oe.ERR_NOT_SUPPORT,A)})});const g=async w=>{if(w==null)return 0;if(q.isBlob(w))return w.size;if(q.isSpecCompliantForm(w))return(await new n(wn.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(q.isArrayBufferView(w)||q.isArrayBuffer(w))return w.byteLength;if(q.isURLSearchParams(w)&&(w=w+""),q.isString(w))return(await u(w)).byteLength},y=async(w,_)=>q.toFiniteNumber(w.getContentLength())??g(_);return async w=>{let{url:_,method:A,data:S,signal:v,cancelToken:x,timeout:E,onDownloadProgress:R,onUploadProgress:O,responseType:P,headers:T,withCredentials:N="same-origin",fetchOptions:K}=DS(w),G=t||fetch;P=P?(P+"").toLowerCase():"text";let ne=$2([v,x&&x.toAbortSignal()],E),de=null;const z=ne&&ne.unsubscribe&&(()=>{ne.unsubscribe()});let re;try{if(O&&f&&A!=="get"&&A!=="head"&&(re=await y(T,S))!==0){let tt=new n(_,{method:"POST",body:S,duplex:"half"}),Ge;if(q.isFormData(S)&&(Ge=tt.headers.get("content-type"))&&T.setContentType(Ge),tt.body){const[dn,on]=S_(re,Yc(C_(O)));S=T_(tt.body,x_,dn,on)}}q.isString(N)||(N=N?"include":"omit");const ae=s&&"credentials"in n.prototype;if(q.isFormData(S)){const tt=T.getContentType();tt&&/^multipart\/form-data/i.test(tt)&&!/boundary=/i.test(tt)&&T.delete("content-type")}const ue={...K,signal:ne,method:A.toUpperCase(),headers:T.normalize().toJSON(),body:S,duplex:"half",credentials:ae?N:void 0};de=s&&new n(_,ue);let Ee=await(s?G(de,K):G(_,ue));const We=p&&(P==="stream"||P==="response");if(p&&(R||We&&z)){const tt={};["status","statusText","headers"].forEach(kn=>{tt[kn]=Ee[kn]});const Ge=q.toFiniteNumber(Ee.headers.get("content-length")),[dn,on]=R&&S_(Ge,Yc(C_(R),!0))||[];Ee=new r(T_(Ee.body,x_,dn,()=>{on&&on(),z&&z()}),tt)}P=P||"text";let rn=await h[q.findKey(h,P)||"text"](Ee,w);return!We&&z&&z(),await new Promise((tt,Ge)=>{MS(tt,Ge,{data:rn,headers:Hn.from(Ee.headers),status:Ee.status,statusText:Ee.statusText,config:w,request:de})})}catch(ae){throw z&&z(),ae&&ae.name==="TypeError"&&/Load failed|fetch/i.test(ae.message)?Object.assign(new Oe("Network Error",Oe.ERR_NETWORK,w,de,ae&&ae.response),{cause:ae.cause||ae}):Oe.from(ae,ae&&ae.code,w,de,ae&&ae.response)}}},V2=new Map,FS=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let a=s.length,c=a,u,f,p=V2;for(;c--;)u=s[c],f=p.get(u),f===void 0&&p.set(u,f=c?new Map:W2(t)),p=f;return f};FS();const Xh={http:o2,xhr:F2,fetch:{get:FS}};q.forEach(Xh,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const P_=e=>`- ${e}`,H2=e=>q.isFunction(e)||e===null||e===!1;function G2(e,t){e=q.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let a=0;a<n;a++){r=e[a];let c;if(o=r,!H2(r)&&(o=Xh[(c=String(r)).toLowerCase()],o===void 0))throw new Oe(`Unknown adapter '${c}'`);if(o&&(q.isFunction(o)||(o=o.get(t))))break;s[c||"#"+a]=o}if(!o){const a=Object.entries(s).map(([u,f])=>`adapter ${u} `+(f===!1?"is not supported by the environment":"is not available in the build"));let c=n?a.length>1?`since :
6
- `+a.map(P_).join(`
7
- `):" "+P_(a[0]):"as no adapter specified";throw new Oe("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return o}const $S={getAdapter:G2,adapters:Xh};function Pd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tl(null,e)}function L_(e){return Pd(e),e.headers=Hn.from(e.headers),e.data=Rd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),$S.getAdapter(e.adapter||el.adapter,e)(e).then(function(t){return Pd(e),t.data=Rd.call(e,e.transformResponse,t),t.headers=Hn.from(t.headers),t},function(t){return IS(t)||(Pd(e),t&&t.response&&(t.response.data=Rd.call(e,e.transformResponse,t.response),t.response.headers=Hn.from(t.response.headers))),Promise.reject(t)})}const jS="1.15.2",Mu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Mu[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const I_={};Mu.transitional=function(e,t,n){function r(o,s){return"[Axios v"+jS+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(e===!1)throw new Oe(r(s," has been removed"+(t?" in "+t:"")),Oe.ERR_DEPRECATED);return t&&!I_[s]&&(I_[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(o,s,a):!0}};Mu.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function K2(e,t,n){if(typeof e!="object")throw new Oe("options must be an object",Oe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],a=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(a){const c=e[s],u=c===void 0||a(c,s,e);if(u!==!0)throw new Oe("option "+s+" must be "+u,Oe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Oe("Unknown option "+s,Oe.ERR_BAD_OPTION)}}const Sc={assertOptions:K2,validators:Mu},gr=Sc.validators;let Oi=class{constructor(t){this.defaults=t||{},this.interceptors={request:new w_,response:new w_}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=(()=>{if(!o.stack)return"";const a=o.stack.indexOf(`
8
- `);return a===-1?"":o.stack.slice(a+1)})();try{if(!r.stack)r.stack=s;else if(s){const a=s.indexOf(`
9
- `),c=a===-1?-1:s.indexOf(`
10
- `,a+1),u=c===-1?"":s.slice(c+1);String(r.stack).endsWith(u)||(r.stack+=`
11
- `+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ii(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Sc.assertOptions(r,{silentJSONParsing:gr.transitional(gr.boolean),forcedJSONParsing:gr.transitional(gr.boolean),clarifyTimeoutError:gr.transitional(gr.boolean),legacyInterceptorReqResOrdering:gr.transitional(gr.boolean)},!1),o!=null&&(q.isFunction(o)?n.paramsSerializer={serialize:o}:Sc.assertOptions(o,{encode:gr.function,serialize:gr.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Sc.assertOptions(n,{baseUrl:gr.spelling("baseURL"),withXsrfToken:gr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&q.merge(s.common,s[n.method]);s&&q.forEach(["delete","get","head","post","put","patch","common"],w=>{delete s[w]}),n.headers=Hn.concat(a,s);const c=[];let u=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(n)===!1)return;u=u&&w.synchronous;const _=n.transitional||qh;_&&_.legacyInterceptorReqResOrdering?c.unshift(w.fulfilled,w.rejected):c.push(w.fulfilled,w.rejected)});const f=[];this.interceptors.response.forEach(function(w){f.push(w.fulfilled,w.rejected)});let p,h=0,g;if(!u){const w=[L_.bind(this),void 0];for(w.unshift(...c),w.push(...f),g=w.length,p=Promise.resolve(n);h<g;)p=p.then(w[h++],w[h++]);return p}g=c.length;let y=n;for(;h<g;){const w=c[h++],_=c[h++];try{y=w(y)}catch(A){_.call(this,A);break}}try{p=L_.call(this,y)}catch(w){return Promise.reject(w)}for(h=0,g=f.length;h<g;)p=p.then(f[h++],f[h++]);return p}getUri(t){t=Ii(this.defaults,t);const n=NS(t.baseURL,t.url,t.allowAbsoluteUrls);return PS(n,t.params,t.paramsSerializer)}};q.forEach(["delete","get","head","options"],function(e){Oi.prototype[e]=function(t,n){return this.request(Ii(n||{},{method:e,url:t,data:(n||{}).data}))}});q.forEach(["post","put","patch"],function(e){function t(n){return function(r,o,s){return this.request(Ii(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}Oi.prototype[e]=t(),Oi.prototype[e+"Form"]=t(!0)});let q2=class US{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const a=new Promise(c=>{r.subscribe(c),s=c}).then(o);return a.cancel=function(){r.unsubscribe(s)},a},t(function(o,s,a){r.reason||(r.reason=new tl(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new US(function(n){t=n}),cancel:t}}};function Y2(e){return function(t){return e.apply(null,t)}}function X2(e){return q.isObject(e)&&e.isAxiosError===!0}const Bp={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Bp).forEach(([e,t])=>{Bp[t]=e});function zS(e){const t=new Oi(e),n=vS(Oi.prototype.request,t);return q.extend(n,Oi.prototype,t,{allOwnKeys:!0}),q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return zS(Ii(e,r))},n}const Bt=zS(el);Bt.Axios=Oi;Bt.CanceledError=tl;Bt.CancelToken=q2;Bt.isCancel=IS;Bt.VERSION=jS;Bt.toFormData=Iu;Bt.AxiosError=Oe;Bt.Cancel=Bt.CanceledError;Bt.all=function(e){return Promise.all(e)};Bt.spread=Y2;Bt.isAxiosError=X2;Bt.mergeConfig=Ii;Bt.AxiosHeaders=Hn;Bt.formToJSON=e=>LS(q.isHTMLForm(e)?new FormData(e):e);Bt.getAdapter=$S.getAdapter;Bt.HttpStatusCode=Bp;Bt.default=Bt;const{Axios:GX,AxiosError:KX,CanceledError:qX,isCancel:YX,CancelToken:XX,VERSION:JX,all:QX,Cancel:ZX,isAxiosError:e9,spread:t9,toFormData:n9,AxiosHeaders:r9,HttpStatusCode:o9,formToJSON:i9,getAdapter:s9,mergeConfig:a9}=Bt,BS=new Map,J2={baseURL:"",timeout:1e4};function Q2(e,t,n){const r=Bt.create({...J2,...t});return BS.set(e,{instance:r,urlResolver:n}),r}async function xt(e,t){const n=e.split("/")[0];if(!n)throw new Error("Instance name could not be extracted from url.");const r=BS.get(n);if(!r)throw new Error(`Instance "${n}" not initialized. Call initInstance() first.`);if(!r.urlResolver)throw new Error(`Instance "${n}" has no urlResolver. Pass one to initInstance().`);return e=r.urlResolver(e),r.instance.request({url:e,...t})}const Z2=Q2(we.LOCAL_SERVICE_PREFIX,{baseURL:`/${we.LOCAL_SERVICE_PREFIX}`},e=>e.replace(we.LOCAL_SERVICE_PREFIX,""));Z2.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const ez={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loadingText:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",ratingReview:"评分评论",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",adminSlogan:"组件管理平台 · 后台管理系统",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量",or:"或"},tz={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",pleaseInputTags:"请选择或输入标签",tags:"组件标签",tagsMaxCount:"标签数量不能超过5个",tagsEmpty:"标签不能为空",tagsTooLong:"标签「{tag}」长度不能超过20个字符",tagsInvalidChars:"标签「{tag}」包含非法字符,仅允许中文、英文、数字、连字符和下划线",tagsHelp:"输入文字后按回车键创建新标签,最多5个",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",previewImage:"预览图",previewImageRequired:"请上传或生成预览图",previewImageHint:"在小窗预览面板展示的截图,用于组件市场封面。如自动截图失败,请手动上传 PNG 图片",uploadPreviewImage:"上传预览图",generateScreenshot:"生成截图",previewImageFallbackHint:"预览图仅在组件无法渲染时生效",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarFound:"检测到相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在编辑器中打开",openingInEditor:"在编辑器中打开...",openInExplorer:"在文件管理器中打开",openingInExplorer:"正在打开文件管理器...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",downloadCoverTitle:"组件覆盖确认",coverConfirm:"确认覆盖",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"},uploadConfirmTitle:"上传确认",renameFolderTitle:"文件夹名称不一致",renameFolderTip:"组件名称「{editedName}」与文件夹名称「{folderName}」不一致。",renameFolderQuestion:"是否在上传成功后同步修改文件夹名称?",renameSyncYes:"同步修改文件夹名称",renameSyncNo:"仅上传,不修改文件夹名称"},nz={title:"团队",name:"团队名称",code:"团队码",desc:"团队描述",create:"创建团队",join:"加入团队",exit:"退出团队",exitConfirm:"退出确认",manage:"团队管理",setting:"团队设置",member:"团队成员",memberCount:"成员数",maxMember:"最大成员数",compCount:"组件数量",maxCompCount:"最大组件数量",creator:"创建者",downloadCount:"下载量",collectCount:"收藏量",createTime:"创建时间",myTeam:"我的团队",joinedTeam:"已加入团队",space:"团队空间",noJoined:"暂无加入的团队",noCreated:"暂无创建的团队",createCountLimit:"最大允许创建的团队数量",joinCountLimit:"允许最多加入的团队数量",compList:"团队组件列表",myCompList:"我的组件",compGroup:"团队组件分组",compGroupList:"团队组件分组列表",addMyComp:"团队添加我的组件",compUpdate:"团队我的组件更新",addFromMine:"去我的组件添加",applyList:"申请列表",nickname:"团队昵称",noTeamInfo:"暂无团队信息",compLib:"组件库",groupConfig:"分组配置",compManage:"组件管理",unsavedDataLeave:"分组配置数据未保存,确定要离开吗?",leave:"离开",disbandTeam:"解散团队",applyAudit:"申请审核",teamName:"团队名称",fillTeamCode:"填写团队码",pleaseInputTeamCode:"请输入团队码",teamIdNotExist:"团队ID不存在",joinSuccess:"加入团队成功",applyJoinTeam:"申请加入团队",showRepeatComp:"展示重复组件",allowAuthorDelete:"作者删除组件权限",teamIntro:"团队介绍",fillTeamName:"填写团队名称",pleaseInputTeamName:"请输入团队名称",pleaseInputTeamDesc:"请输入团队介绍",createSuccess:"创建团队成功",charLength:"长度在 {min} 到 {max} 个字符",disbandConfirm:"确定解散团队吗,解散后所有成员和组件将被移除,并且无法恢复?",deleteConfirm:"删除确认",inputAuthCode:"请输入验证码",disbandSuccess:"解散团队成功",reject:"拒绝",agree:"同意",approved:"已同意",rejected:"已拒绝",kickOut:"踢出",teamUserNickname:"团队内昵称",pleaseInputTeamNickname:"请输入你在团队的昵称",normalUser:"普通用户",kickOutConfirm:"确定踢出用户【{name}】吗?",kickOutSuccess:"踢出成功",selectCanUpdateUser:"选择可更新用户",authorAutoAuth:"作者自带授权",updateAuth:"更新授权",updateTime:"更新时间",expandAll:"展开全部",createGroup:"创建分组",unsaved:"未保存",pleaseInputGroupName:"请输入分组名称",addComp:"添加组件",added:"已添加",notAdded:"未添加",defaultGroup:"默认分组",deleteGroupConfirm:"确认删除该分组吗?删除后该分组下的所有组件将被移除分组",addSuccess:"添加成功",isGrouped:"是否分组",grouped:"已分组",ungrouped:"未分组",group:"分组",prevVersion:"升级前版本",newVersion:"升级后版本",upgradeDesc:"升级描述",similarCompInTeam:"团队内相似组件",similarComp:"相似组件",deleteCompConfirm:"是否删除团队组件【{name}】,删除组件后团队成员将无法使用该组件,是否继续?",descTitle:"为业务团队打造专属组件空间",descItem1:"创建私密团队,组件仅对成员可见,保护核心资产",descItem2:"每个账号最多可创建 {count} 个团队",descItem3:"每个账号最多可加入 {count} 个团队",descItem4:"基础版团队支持最多 {count} 名成员",descItem5:"基础版团队可管理最多 {count} 个组件",descItem6:"支持创建分组菜单,灵活组织团队组件"},rz={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",bindEmail:"绑定邮箱",emailBound:"邮箱绑定成功",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",pleaseBindEmailFirst:"请先绑定邮箱",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",skip:"跳过",loginSuccess:"登录成功",loggingIn:"登录中…",pleaseInputAccountAndPassword:"请输入您的账号和密码",invalidAccountOrPassword:"账号或密码错误",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录",loginWithGithub:"使用 GitHub 登录",githubLoggingIn:"GitHub 登录中…",githubLoginFailed:"GitHub 登录失败",missingToken:"未获取到授权令牌",returnToLogin:"返回登录"},oz={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},iz={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功",renameFolder:"文件夹名称修改成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API",renameFolder:"文件夹重命名失败,但组件已上传成功"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},sz={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",myComments:"我的评论",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",githubCallback:"GitHub 登录回调",unknownTag:"未知标签"},az={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},lz={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},cz={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"自动",onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"},matchDesc:{auto:"不限制版本,使用当前环境直接渲染",onlyInstall:"不限制版本,仅需模块已安装",majorVersion:"主版本号一致即可(如 2.x)",minorVersion:"主版本和次版本一致(如 2.7.x)",exactVersion:"版本号完全匹配(如 2.7.14)"}},uz={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},fz={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},dz={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},pz={submit:"提交"},hz={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},mz={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},gz={myCommentsTitle:"我的评论",tabReceived:"收到的评论",tabMyDiscussions:"我的讨论",noMyCompsComments:"暂无评论",noReceivedComments:"暂无收到的评论",noMyDiscussions:"暂无参与讨论",new:"新",rating:"评分",ratingSuccess:"评分成功",ratingCancelSuccess:"已取消评分",ratingError:"评分失败,请重试",ratingDialogDesc:"正确的评分有助组件曝光,帮助更多人发现优秀组件",ratingThanks:"感谢你的打分,有什么意见请在评论区留言",writePlaceholder:"写下你的评论...",loginPlaceholder:"请先登录后再评论",post:"发表评论",allComments:"全部评论",empty:"暂无评论,来说两句吧",loadError:"加载评论失败",postSuccess:"评论发表成功",postError:"评论失败,请重试",anonymous:"匿名",self:"自己",cancelReply:"取消回复",reply:"回复",replyTo:"回复 {'@'}{name}...",replySuccess:"回复成功",replyError:"回复失败,请重试",expandReplies:"展开 {count} 条回复",collapseReplies:"收起回复",deleteConfirm:"确定删除这条评论吗?删除后不可恢复。",deleteTitle:"确认删除",deleteSuccess:"删除成功",deleteError:"删除失败,请重试",viewAllReplies:"查看全部 {count} 条回复",time:{justNow:"刚刚",minutesAgo:"{n}分钟前",hoursAgo:"{n}小时前",daysAgo:"{n}天前"}},yz={common:ez,comp:tz,team:nz,user:rz,file:oz,message:iz,route:sz,markdown:az,terminal:lz,deps:cz,setting:uz,upgrade:fz,tag:dz,formCreate:pz,validateHash:hz,project:mz,comment:gz},bz={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loadingText:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",ratingReview:"Ratings & Reviews",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",adminSlogan:"Component Management Platform · Admin System",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count",or:"or"},_z={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",pleaseInputTags:"Select or enter tags",tags:"Tags",tagsMaxCount:"No more than 5 tags allowed",tagsEmpty:"Tag cannot be empty",tagsTooLong:'Tag "{tag}" cannot exceed 20 characters',tagsInvalidChars:'Tag "{tag}" contains invalid characters, only Chinese, English, numbers, hyphens and underscores are allowed',tagsHelp:"Type and press Enter to create a new tag, max 5",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",previewImage:"Preview Image",previewImageRequired:"Please upload or generate a preview image",previewImageHint:"Screenshot displayed in the mini preview panel, used as the component market cover. If auto-screenshot fails, please manually upload a PNG image",uploadPreviewImage:"Upload Preview Image",generateScreenshot:"Generate Screenshot",previewImageFallbackHint:"Preview image only takes effect when the component fails to render",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarFound:"Similar Components Detected",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in editor",openingInEditor:"Opening in editor...",openInExplorer:"Open in File Explorer",openingInExplorer:"Opening file explorer...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",downloadCoverTitle:"Overwrite Confirmation",coverConfirm:"Confirm Overwrite",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",compileWarn:"Component compilation warning",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"},uploadConfirmTitle:"Upload Confirmation",renameFolderTitle:"Folder Name Mismatch",renameFolderTip:'Component name "{editedName}" does not match folder name "{folderName}".',renameFolderQuestion:"Do you want to sync the folder name after upload?",renameSyncYes:"Sync folder name",renameSyncNo:"Upload only, do not modify folder name"},vz={title:"Team",name:"Team Name",code:"Team Code",desc:"Team Description",create:"Create Team",join:"Join Team",exit:"Exit Team",exitConfirm:"Exit Confirmation",manage:"Team Management",setting:"Team Settings",member:"Team Members",memberCount:"Member Count",maxMember:"Max Members",compCount:"Component Count",maxCompCount:"Max Components",creator:"Creator",downloadCount:"Downloads",collectCount:"Collections",createTime:"Create Time",myTeam:"My Teams",joinedTeam:"Joined Teams",space:"Team Space",noJoined:"No joined teams",noCreated:"No created teams",createCountLimit:"Max teams allowed to create",joinCountLimit:"Max teams allowed to join",compList:"Team Component List",myCompList:"My Component List",compGroup:"Team Component Group",compGroupList:"Team Component Group List",addMyComp:"Team Add My Component",compUpdate:"Team My Component Update",addFromMine:"Add from My Components",applyList:"Apply List",nickname:"Team Nickname",noTeamInfo:"No team information",compLib:"Component Library",groupConfig:"Group Config",compManage:"Component Management",unsavedDataLeave:"Group configuration data is not saved, are you sure you want to leave?",leave:"Leave",disbandTeam:"Disband Team",applyAudit:"Apply Audit",teamName:"Team Name",fillTeamCode:"Fill in Team Code",pleaseInputTeamCode:"Please enter team code",teamIdNotExist:"Team ID does not exist",joinSuccess:"Joined team successfully",applyJoinTeam:"Apply to Join Team",showRepeatComp:"Show Duplicate Components",allowAuthorDelete:"Allow Author Delete",teamIntro:"Team Introduction",fillTeamName:"Fill in Team Name",pleaseInputTeamName:"Please enter team name",pleaseInputTeamDesc:"Please enter team description",createSuccess:"Team created successfully",charLength:"Length must be between {min} and {max} characters",disbandConfirm:"Are you sure you want to disband the team? All members and components will be removed and cannot be recovered.",deleteConfirm:"Delete Confirmation",inputAuthCode:"Please enter verification code",disbandSuccess:"Team disbanded successfully",reject:"Reject",agree:"Agree",approved:"Approved",rejected:"Rejected",kickOut:"Kick Out",teamUserNickname:"Team Nickname",pleaseInputTeamNickname:"Please enter your team nickname",normalUser:"Normal User",kickOutConfirm:"Are you sure you want to kick out user [{name}]?",kickOutSuccess:"Kicked out successfully",selectCanUpdateUser:"Select users who can update",authorAutoAuth:"Author has default authorization",updateAuth:"Update Authorization",updateTime:"Update Time",expandAll:"Expand All",createGroup:"Create Group",unsaved:"Unsaved",pleaseInputGroupName:"Please enter group name",addComp:"Add Component",added:"Added",notAdded:"Not Added",defaultGroup:"Default Group",deleteGroupConfirm:"Are you sure you want to delete this group? All components in this group will be removed from the group.",addSuccess:"Added successfully",isGrouped:"Is Grouped",grouped:"Grouped",ungrouped:"Ungrouped",group:"Group",prevVersion:"Previous Version",newVersion:"New Version",upgradeDesc:"Upgrade Description",similarCompInTeam:"Similar Components in Team",similarComp:"Similar Components",deleteCompConfirm:"Are you sure you want to delete team component [{name}]? Team members will no longer be able to use this component.",descTitle:"Create an Exclusive Component Space for Your Team",descItem1:"Create a private team where components are only visible to members, protecting core assets",descItem2:"Each account can create up to {count} teams",descItem3:"Each account can join up to {count} teams",descItem4:"Basic team supports up to {count} members",descItem5:"Basic team can manage up to {count} components",descItem6:"Support creating group menus to organize team components flexibly"},wz={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",bindEmail:"Bind Email",emailBound:"Email bound successfully",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",pleaseBindEmailFirst:"Please bind an email first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",skip:"Skip",loginSuccess:"Login successful",loggingIn:"Logging in...",pleaseInputAccountAndPassword:"Please enter your account and password",invalidAccountOrPassword:"Invalid account or password",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login",loginWithGithub:"Login with GitHub",githubLoggingIn:"Logging in with GitHub...",githubLoginFailed:"GitHub Login Failed",missingToken:"Authorization token not received",returnToLogin:"Return to Login"},Ez={title:"File",name:"Filename",path:"File Path",size:"File Size",type:"File Type",dir:"Directory",selectDir:"Select Directory",upload:"File Upload",download:"File Download",select:"Select",multiSelect:"Multiple selection not supported",onlyDir:"Only directories can be selected",rootDir:"Root Directory",projectPath:"Project Path",currentDir:"Current Directory",parentDir:"Parent Directory",refreshDir:"Refresh Directory List"},Sz={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful",renameFolder:"Folder name updated successfully"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API",renameFolder:"Folder rename failed, but component was uploaded successfully"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},Cz={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",myComments:"My Comments",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",githubCallback:"GitHub Login Callback",unknownTag:"Unknown Tag"},kz={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},Tz={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},xz={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"Auto",onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"},matchDesc:{auto:"No version restriction, render with current environment",onlyInstall:"No version restriction, only requires installation",majorVersion:"Major version match (e.g. 2.x)",minorVersion:"Major and minor version match (e.g. 2.7.x)",exactVersion:"Exact version match (e.g. 2.7.14)"}},Oz={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},Az={title:"Version Update",current:"Current Version",latest:"Latest Version",check:"Check for Updates",upgrading:"Updating",upgraded:"Updated",publish:"Publish Update",record:"Update Record",log:"Changelog",hasUpdate:"Update Available",betaVersion:"Beta",noUpdate:"No updates available",updateMethod:"Update Method",openTerminalAndRun:"Open terminal and run:",cannotIgnoreUpdate:"This update cannot be ignored"},Rz={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},Pz={submit:"Submit"},Lz={empty:"Cannot be empty",notString:"Must be a string type, current type: {type}",contentEmpty:"Content cannot be empty",startsWithNumber:'Content cannot start with a number, currently starts with "{char}"',invalidCharBacktick:"Content contains backtick (Markdown syntax marker), only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharNewline:"Content contains newline character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharCarriageReturn:"Content contains carriage return, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharTab:"Content contains tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharFormFeed:"Content contains form feed character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharVerticalTab:"Content contains vertical tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHash:"Content contains # character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHtmlSpecial:'Content contains HTML special character "{char}", only hyphen(-), underscore(_), parentheses(), and spaces are allowed',invalidCharUnknown:'Content contains invalid character "{char}" (Unicode: U+{code}), only hyphen(-), underscore(_), parentheses(), and spaces are allowed'},Iz={openInEditor:"Open in Editor",current:"Current",noRegistered:"No registered projects",deregisterTitle:"Deregister Project",deregisterConfirm:"Are you sure you want to deregister project {hash} ({cwd})?",deregisterSuccess:"Deregistered project {hash}",deregisterFailed:"Deregister failed"},Mz={myCommentsTitle:"My Comments",tabReceived:"Received",tabMyDiscussions:"My Discussions",noMyCompsComments:"No comments yet",noReceivedComments:"No comments received",noMyDiscussions:"No discussions yet",new:"New",rating:"Rating",ratingSuccess:"Rating submitted",ratingCancelSuccess:"Rating removed",ratingError:"Failed to rate, please try again",ratingDialogDesc:"Accurate ratings help components get more exposure",ratingThanks:"Thank you for your rating! Feel free to leave a comment below.",writePlaceholder:"Write a comment...",loginPlaceholder:"Please login to comment",post:"Post Comment",allComments:"All Comments",empty:"No comments yet. Be the first to comment!",loadError:"Failed to load comments",postSuccess:"Comment posted successfully",postError:"Failed to post comment, please try again",anonymous:"Anonymous",self:"Me",cancelReply:"Cancel Reply",reply:"Reply",replyTo:"Reply to {'@'}{name}...",replySuccess:"Reply posted successfully",replyError:"Failed to reply, please try again",expandReplies:"Expand {count} replies",collapseReplies:"Collapse replies",deleteConfirm:"Are you sure you want to delete this comment? This action cannot be undone.",deleteTitle:"Confirm Delete",deleteSuccess:"Deleted successfully",deleteError:"Failed to delete, please try again",viewAllReplies:"View all {count} replies",time:{justNow:"just now",minutesAgo:"{n} minutes ago",hoursAgo:"{n} hours ago",daysAgo:"{n} days ago"}},Nz={common:bz,comp:_z,team:vz,user:wz,file:Ez,message:Sz,route:Cz,markdown:kz,terminal:Tz,deps:xz,setting:Oz,upgrade:Az,tag:Rz,formCreate:Pz,validateHash:Lz,project:Iz,comment:Mz},Dz={zh:yz,en:Nz},Fz=localStorage.getItem(o$.LOCALE_KEY)||"zh",$z=tU({locale:Fz,messages:Dz,legacy:!1});function jz(e){e.use($z)}let WS;const Nu=e=>WS=e,VS=Symbol();function Wp(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ka;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ka||(ka={}));function Uz(){const e=Ch(!0),t=e.run(()=>Re({}));let n=[],r=[];const o=Ah({install(s){Nu(o),o._a=s,s.provide(VS,o),s.config.globalProperties.$pinia=o,r.forEach(a=>n.push(a)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const HS=()=>{};function M_(e,t,n,r=HS){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&Ha()&&kh(o),o}function ns(e,...t){e.forEach(n=>{n(...t)})}const zz=e=>e(),N_=Symbol(),Ld=Symbol();function Vp(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Wp(o)&&Wp(r)&&e.hasOwnProperty(n)&&!Rt(r)&&!To(r)?e[n]=Vp(o,r):e[n]=r}return e}const Bz=Symbol();function Wz(e){return!Wp(e)||!Object.prototype.hasOwnProperty.call(e,Bz)}const{assign:qo}=Object;function Vz(e){return!!(Rt(e)&&e.effect)}function Hz(e,t,n,r){const{state:o,actions:s,getters:a}=t,c=n.state.value[e];let u;function f(){c||(n.state.value[e]=o?o():{});const p=QI(n.state.value[e]);return qo(p,s,Object.keys(a||{}).reduce((h,g)=>(h[g]=Ah(ce(()=>{Nu(n);const y=n._s.get(e);return a[g].call(y,y)})),h),{}))}return u=GS(e,f,t,n,r,!0),u}function GS(e,t,n={},r,o,s){let a;const c=qo({actions:{}},n),u={deep:!0};let f,p,h=new Set,g=new Set,y;const w=r.state.value[e];!s&&!w&&(r.state.value[e]={});let _;function A(T){let N;f=p=!1,typeof T=="function"?(T(r.state.value[e]),N={type:ka.patchFunction,storeId:e,events:y}):(Vp(r.state.value[e],T),N={type:ka.patchObject,payload:T,storeId:e,events:y});const K=_=Symbol();Ur().then(()=>{_===K&&(f=!0)}),p=!0,ns(h,N,r.state.value[e])}const S=s?function(){const{state:N}=n,K=N?N():{};this.$patch(G=>{qo(G,K)})}:HS;function v(){a.stop(),h.clear(),g.clear(),r._s.delete(e)}const x=(T,N="")=>{if(N_ in T)return T[Ld]=N,T;const K=function(){Nu(r);const G=Array.from(arguments),ne=new Set,de=new Set;function z(ue){ne.add(ue)}function re(ue){de.add(ue)}ns(g,{args:G,name:K[Ld],store:R,after:z,onError:re});let ae;try{ae=T.apply(this&&this.$id===e?this:R,G)}catch(ue){throw ns(de,ue),ue}return ae instanceof Promise?ae.then(ue=>(ns(ne,ue),ue)).catch(ue=>(ns(de,ue),Promise.reject(ue))):(ns(ne,ae),ae)};return K[N_]=!0,K[Ld]=N,K},E={_p:r,$id:e,$onAction:M_.bind(null,g),$patch:A,$reset:S,$subscribe(T,N={}){const K=M_(h,T,N.detached,()=>G()),G=a.run(()=>gt(()=>r.state.value[e],ne=>{(N.flush==="sync"?p:f)&&T({storeId:e,type:ka.direct,events:y},ne)},qo({},u,N)));return K},$dispose:v},R=Ga(E);r._s.set(e,R);const P=(r._a&&r._a.runWithContext||zz)(()=>r._e.run(()=>(a=Ch()).run(()=>t({action:x}))));for(const T in P){const N=P[T];if(Rt(N)&&!Vz(N)||To(N))s||(w&&Wz(N)&&(Rt(N)?N.value=w[T]:Vp(N,w[T])),r.state.value[e][T]=N);else if(typeof N=="function"){const K=x(N,T);P[T]=K,c.actions[T]=N}}return qo(R,P),qo(nt(R),P),Object.defineProperty(R,"$state",{get:()=>r.state.value[e],set:T=>{A(N=>{qo(N,T)})}}),r._p.forEach(T=>{qo(R,a.run(()=>T({store:R,app:r._a,pinia:r,options:c})))}),w&&s&&n.hydrate&&n.hydrate(R.$state,w),f=!0,p=!0,R}function KS(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(a,c){const u=qa();return a=a||(u?En(VS,null):null),a&&Nu(a),a=WS,a._s.has(e)||(o?GS(e,t,r,a):Hz(e,r,a)),a._s.get(e)}return s.$id=e,s}function Gz({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const D_=Uz();function Kz(e){D_.use(Gz),e.use(D_)}const qS=/^[a-z0-9]+(-[a-z0-9]+)*$/,Du=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const c=o.pop(),u=o.pop(),f={provider:o.length>0?o[0]:r,prefix:u,name:c};return t&&!Cc(f)?null:f}const s=o[0],a=s.split("-");if(a.length>1){const c={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!Cc(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:s};return t&&!Cc(c,n)?null:c}return null},Cc=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function qz(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(a){if(n[a])return o[a]=[];if(!(a in o)){o[a]=null;const c=r[a]&&r[a].parent,u=c&&s(c);u&&(o[a]=[c].concat(u))}return o[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}const YS=Object.freeze({left:0,top:0,width:16,height:16}),Xc=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Fu=Object.freeze({...YS,...Xc}),Hp=Object.freeze({...Fu,body:"",hidden:!1});function Yz(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function F_(e,t){const n=Yz(e,t);for(const r in Hp)r in Xc?r in e&&!(r in n)&&(n[r]=Xc[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Xz(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function a(c){s=F_(r[c]||o[c],s)}return a(t),n.forEach(a),F_(e,s)}function XS(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=qz(e);for(const o in r){const s=r[o];s&&(t(o,Xz(e,o,s)),n.push(o))}return n}const Jz={provider:"",aliases:{},not_found:{},...YS};function Id(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function JS(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Id(e,Jz))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!Id(s,Hp))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],a=s.parent;if(!o||typeof a!="string"||!n[a]&&!r[a]||!Id(s,Hp))return null}return t}const $_=Object.create(null);function Qz(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function As(e,t){const n=$_[e]||($_[e]=Object.create(null));return n[t]||(n[t]=Qz(e,t))}function QS(e,t){return JS(t)?XS(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Zz(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ua=!1;function ZS(e){return typeof e=="boolean"&&(Ua=e),Ua}function eB(e){const t=typeof e=="string"?Du(e,!0,Ua):e;if(t){const n=As(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function tB(e,t){const n=Du(e,!0,Ua);if(!n)return!1;const r=As(n.provider,n.prefix);return t?Zz(r,n.name,t):(r.missing.add(n.name),!0)}function nB(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ua&&!t&&!e.prefix){let r=!1;return JS(e)&&(e.prefix="",XS(e,(o,s)=>{tB(o,s)&&(r=!0)})),r}const n=e.prefix;return Cc({prefix:n,name:"a"})?!!QS(As(t,n),e):!1}const eC=Object.freeze({width:null,height:null}),tC=Object.freeze({...eC,...Xc}),rB=/(-?[0-9.]*[0-9]+[0-9.]*)/g,oB=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function j_(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(rB);if(r===null||!r.length)return e;const o=[];let s=r.shift(),a=oB.test(s);for(;;){if(a){const c=parseFloat(s);isNaN(c)?o.push(s):o.push(Math.ceil(c*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");a=!a}}function iB(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),s=e.indexOf("</"+t);if(o===-1||s===-1)break;const a=e.indexOf(">",s);if(a===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(a+1)}return{defs:n,content:e}}function sB(e,t){return e?"<defs>"+e+"</defs>"+t:t}function aB(e,t,n){const r=iB(e);return sB(r.defs,t+r.content+n)}const lB=e=>e==="unset"||e==="undefined"||e==="none";function cB(e,t){const n={...Fu,...e},r={...tC,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(_=>{const A=[],S=_.hFlip,v=_.vFlip;let x=_.rotate;S?v?x+=2:(A.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),A.push("scale(-1 1)"),o.top=o.left=0):v&&(A.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),A.push("scale(1 -1)"),o.top=o.left=0);let E;switch(x<0&&(x-=Math.floor(x/4)*4),x=x%4,x){case 1:E=o.height/2+o.top,A.unshift("rotate(90 "+E.toString()+" "+E.toString()+")");break;case 2:A.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:E=o.width/2+o.left,A.unshift("rotate(-90 "+E.toString()+" "+E.toString()+")");break}x%2===1&&(o.left!==o.top&&(E=o.left,o.left=o.top,o.top=E),o.width!==o.height&&(E=o.width,o.width=o.height,o.height=E)),A.length&&(s=aB(s,'<g transform="'+A.join(" ")+'">',"</g>"))});const a=r.width,c=r.height,u=o.width,f=o.height;let p,h;a===null?(h=c===null?"1em":c==="auto"?f:c,p=j_(h,u/f)):(p=a==="auto"?u:a,h=c===null?j_(p,f/u):c==="auto"?f:c);const g={},y=(_,A)=>{lB(A)||(g[_]=A.toString())};y("width",p),y("height",h);const w=[o.left,o.top,u,f];return g.viewBox=w.join(" "),{attributes:g,viewBox:w,body:s}}const uB=/\sid="(\S+)"/g,U_=new Map;function fB(e){e=e.replace(/[0-9]+$/,"")||"a";const t=U_.get(e)||0;return U_.set(e,t+1),t?`${e}${t}`:e}function dB(e){const t=[];let n;for(;n=uB.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const s=fB(o),a=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const Gp=Object.create(null);function pB(e,t){Gp[e]=t}function Kp(e){return Gp[e]||Gp[""]}function Jh(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Qh=Object.create(null),sa=["https://api.simplesvg.com","https://api.unisvg.com"],kc=[];for(;sa.length>0;)sa.length===1||Math.random()>.5?kc.push(sa.shift()):kc.push(sa.pop());Qh[""]=Jh({resources:["https://api.iconify.design"].concat(kc)});function hB(e,t){const n=Jh(t);return n===null?!1:(Qh[e]=n,!0)}function Zh(e){return Qh[e]}const mB=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let z_=mB();function gB(e,t){const n=Zh(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(a=>{o=Math.max(o,a.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function yB(e){return e===404}const bB=(e,t,n)=>{const r=[],o=gB(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((u,f)=>{c+=u.length+1,c>=o&&f>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},c=u.length),a.icons.push(u)}),r.push(a),r};function _B(e){if(typeof e=="string"){const t=Zh(e);if(t)return t.path}return"/"}const vB=(e,t,n)=>{if(!z_){n("abort",424);return}let r=_B(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;z_(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(yB(a)?"abort":"next",a)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},wB={prepare:bB,send:vB};function nC(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function EB(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const a=s.icons,c=a.pending.length;a.pending=a.pending.filter(u=>{if(u.prefix!==o)return!0;const f=u.name;if(e.icons[f])a.loaded.push({provider:r,prefix:o,name:f});else if(e.missing.has(f))a.missing.push({provider:r,prefix:o,name:f});else return n=!0,!0;return!1}),a.pending.length!==c&&(n||nC([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let SB=0;function CB(e,t,n){const r=SB++,o=nC.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),o}function kB(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,a=o.prefix,c=o.name,u=n[s]||(n[s]=Object.create(null)),f=u[a]||(u[a]=As(s,a));let p;c in f.icons?p=t.loaded:a===""||f.missing.has(c)?p=t.missing:p=t.pending;const h={provider:s,prefix:a,name:c};p.push(h)}),t}function TB(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?Du(o,t,n):o;s&&r.push(s)}),r}const xB={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function OB(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let a;if(e.random){let O=e.resources.slice(0);for(a=[];O.length>1;){const P=Math.floor(Math.random()*O.length);a.push(O[P]),O=O.slice(0,P).concat(O.slice(P+1))}a=a.concat(O)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let u="pending",f=0,p,h=null,g=[],y=[];typeof r=="function"&&y.push(r);function w(){h&&(clearTimeout(h),h=null)}function _(){u==="pending"&&(u="aborted"),w(),g.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),g=[]}function A(O,P){P&&(y=[]),typeof O=="function"&&y.push(O)}function S(){return{startTime:c,payload:t,status:u,queriesSent:f,queriesPending:g.length,subscribe:A,abort:_}}function v(){u="failed",y.forEach(O=>{O(void 0,p)})}function x(){g.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),g=[]}function E(O,P,T){const N=P!=="success";switch(g=g.filter(K=>K!==O),u){case"pending":break;case"failed":if(N||!e.dataAfterTimeout)return;break;default:return}if(P==="abort"){p=T,v();return}if(N){p=T,g.length||(a.length?R():v());return}if(w(),x(),!e.random){const K=e.resources.indexOf(O.resource);K!==-1&&K!==e.index&&(e.index=K)}u="completed",y.forEach(K=>{K(T)})}function R(){if(u!=="pending")return;w();const O=a.shift();if(O===void 0){if(g.length){h=setTimeout(()=>{w(),u==="pending"&&(x(),v())},e.timeout);return}v();return}const P={status:"pending",resource:O,callback:(T,N)=>{E(P,T,N)}};g.push(P),f++,h=setTimeout(R,e.rotate),n(O,t,P.callback)}return setTimeout(R),S}function rC(e){const t={...xB,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,u){const f=OB(t,a,c,(p,h)=>{r(),u&&u(p,h)});return n.push(f),f}function s(a){return n.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function B_(){}const Md=Object.create(null);function AB(e){if(!Md[e]){const t=Zh(e);if(!t)return;Md[e]={config:t,redundancy:rC(t)}}return Md[e]}function RB(e,t,n){let r,o;if(typeof e=="string"){const s=Kp(e);if(!s)return n(void 0,424),B_;o=s.send;const a=AB(e);a&&(r=a.redundancy)}else{const s=Jh(e);if(s){r=rC(s);const a=Kp(e.resources?e.resources[0]:"");a&&(o=a.send)}}return!r||!o?(n(void 0,424),B_):r.query(t,o,n)().abort}function W_(){}function PB(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,EB(e)}))}function LB(e){const t=[],n=[];return e.forEach(r=>{(r.match(qS)?t:n).push(r)}),{valid:t,invalid:n}}function aa(e,t,n){function r(){const o=e.pendingIcons;t.forEach(s=>{o&&o.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!QS(e,n).length){r();return}}catch(o){console.error(o)}r(),PB(e)}function V_(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function IB(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const s=e.loadIcon;if(e.loadIcons&&(o.length>1||!s)){V_(e.loadIcons(o,r,n),f=>{aa(e,o,f)});return}if(s){o.forEach(f=>{V_(s(f,r,n),p=>{aa(e,[f],p?{prefix:r,icons:{[f]:p}}:null)})});return}const{valid:a,invalid:c}=LB(o);if(c.length&&aa(e,c,null),!a.length)return;const u=r.match(qS)?Kp(n):null;if(!u){aa(e,a,null);return}u.prepare(n,r,a).forEach(f=>{RB(n,f,p=>{aa(e,f.icons,p)})})}))}const MB=(e,t)=>{const n=kB(TB(e,!0,ZS()));if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,W_)}),()=>{c=!1}}const r=Object.create(null),o=[];let s,a;return n.pending.forEach(c=>{const{provider:u,prefix:f}=c;if(f===a&&u===s)return;s=u,a=f,o.push(As(u,f));const p=r[u]||(r[u]=Object.create(null));p[f]||(p[f]=[])}),n.pending.forEach(c=>{const{provider:u,prefix:f,name:p}=c,h=As(u,f),g=h.pendingIcons||(h.pendingIcons=new Set);g.has(p)||(g.add(p),r[u][f].push(p))}),o.forEach(c=>{const u=r[c.provider][c.prefix];u.length&&IB(c,u)}),t?CB(t,n,o):W_};function NB(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in eC?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const DB=/[\s,]+/;function FB(e,t){t.split(DB).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function $B(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}function jB(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function UB(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function zB(e){return"data:image/svg+xml,"+UB(e)}function BB(e){return'url("'+zB(e)+'")'}const H_={...tC,inline:!1},WB={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},VB={display:"inline-block"},qp={backgroundColor:"currentColor"},oC={backgroundColor:"transparent"},G_={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},K_={webkitMask:qp,mask:qp,background:oC};for(const e in K_){const t=K_[e];for(const n in G_)t[e+n]=G_[n]}const Tc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Tc[e+"-flip"]=t,Tc[e.slice(0,1)+"-flip"]=t,Tc[e+"Flip"]=t});function q_(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Y_=(e,t)=>{const n=NB(H_,t),r={...WB},o=t.mode||"svg",s={},a=t.style,c=typeof a=="object"&&!(a instanceof Array)?a:{};for(let _ in t){const A=t[_];if(A!==void 0)switch(_){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[_]=A===!0||A==="true"||A===1;break;case"flip":typeof A=="string"&&FB(n,A);break;case"color":s.color=A;break;case"rotate":typeof A=="string"?n[_]=$B(A):typeof A=="number"&&(n[_]=A);break;case"ariaHidden":case"aria-hidden":A!==!0&&A!=="true"&&delete r["aria-hidden"];break;default:{const S=Tc[_];S?(A===!0||A==="true"||A===1)&&(n[S]=!0):H_[_]===void 0&&(r[_]=A)}}}const u=cB(e,n),f=u.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...c},Object.assign(r,f),r.innerHTML=dB(u.body),ri("svg",r);const{body:p,width:h,height:g}=e,y=o==="mask"||(o==="bg"?!1:p.indexOf("currentColor")!==-1),w=jB(p,{...f,width:h+"",height:g+""});return r.style={...s,"--svg":BB(w),width:q_(f.width),height:q_(f.height),...VB,...y?qp:oC,...c},ri("span",r)};ZS(!0);pB("",wB);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!nB(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;hB(n,o)||console.error(r)}catch{console.error(r)}}}}const HB={...Fu,body:""},GB=It((e,{emit:t})=>{const n=Re(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=Re(!!e.ssr),s=Re(""),a=In(null);function c(){const f=e.icon;if(typeof f=="object"&&f!==null&&typeof f.body=="string")return s.value="",{data:f};let p;if(typeof f!="string"||(p=Du(f,!1,!0))===null)return null;let h=eB(p);if(!h){const w=n.value;return(!w||w.name!==f)&&(h===null?n.value={name:f}:n.value={name:f,abort:MB([p],u)}),null}r(),s.value!==f&&(s.value=f,Ur(()=>{t("load",f)}));const g=e.customise;if(g){h=Object.assign({},h);const w=g(h.body,p.name,p.prefix,p.provider);typeof w=="string"&&(h.body=w)}const y=["iconify"];return p.prefix!==""&&y.push("iconify--"+p.prefix),p.provider!==""&&y.push("iconify--"+p.provider),{data:h,classes:y}}function u(){const f=c();f?f.data!==a.value?.data&&(a.value=f):a.value=null}return o.value?u():Er(()=>{o.value=!0,u()}),gt(()=>e.icon,u),Ds(r),()=>{const f=a.value;if(!f)return Y_(HB,e);let p=e;return f.classes&&(p={...e,class:f.classes.join(" ")}),Y_({...Fu,...f.data},p)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function KB(e){e.component("Icon",GB)}const $u="v-loading-mask",iC="v-loading-spinner",sC="v-loading-parent";function qB(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function YB(){const e=document.createElement("div");e.className=$u,e.innerHTML=`<div class="${iC}"></div>`;const t=e.style;return t.position="absolute",t.top="0",t.left="0",t.width="100%",t.height="100%",t.display="flex",t.alignItems="center",t.justifyContent="center",t.backgroundColor=qB(),t.zIndex="999",t.borderRadius="inherit",e}function XB(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
12
- .${iC} {
13
- width: 40px;
14
- height: 40px;
15
- border: 3px solid #e0e0e0;
16
- border-top-color: #409eff;
17
- border-radius: 50%;
18
- animation: v-loading-rotate 0.8s linear infinite;
19
- }
20
-
21
- @keyframes v-loading-rotate {
22
- 0% { transform: rotate(0deg); }
23
- 100% { transform: rotate(360deg); }
24
- }
25
- `,document.head.appendChild(e)}const JB=200,rc=new WeakMap;function QB(e){if(e.querySelector(`.${$u}`))return;e.classList.add(sC),getComputedStyle(e).position==="static"&&(e.style.position="relative"),XB(),e.appendChild(YB())}function ZB(e){const t=e.querySelector(`.${$u}`);t&&t.remove(),e.classList.remove(sC)}function X_(e,t){const n=rc.get(e);if(t.value){if(n)return;if(!e.querySelector(`.${$u}`)){const o=setTimeout(()=>{rc.delete(e),QB(e)},JB);rc.set(e,o)}}else n&&(clearTimeout(n),rc.delete(e)),ZB(e)}const eW={mounted(e,t){X_(e,t)},updated(e,t){t.value!==t.oldValue&&X_(e,t)}};function tW(e){Kz(e),jz(e),KB(e),e.directive("loading",eW)}function aC(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function nW(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&aC(e.default)}const ut=Object.assign;function Nd(e,t){const n={};for(const r in t){const o=t[r];n[r]=jr(o)?o.map(e):e(o)}return n}const Ta=()=>{},jr=Array.isArray;function J_(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const lC=Symbol("");function Rs(e,t){return ut(new Error,{type:e,[lC]:!0},t)}function yo(e,t){return e instanceof Error&&lC in e&&(t==null||!!(e.type&t))}const rW=Symbol(""),Q_=Symbol(""),em=Symbol(""),cC=Symbol(""),Yp=Symbol("");const ps=typeof document<"u",uC=/#/g,oW=/&/g,iW=/\//g,sW=/=/g,aW=/\?/g,fC=/\+/g,lW=/%5B/g,cW=/%5D/g,dC=/%5E/g,uW=/%60/g,pC=/%7B/g,fW=/%7C/g,hC=/%7D/g,dW=/%20/g;function tm(e){return e==null?"":encodeURI(""+e).replace(fW,"|").replace(lW,"[").replace(cW,"]")}function pW(e){return tm(e).replace(pC,"{").replace(hC,"}").replace(dC,"^")}function Xp(e){return tm(e).replace(fC,"%2B").replace(dW,"+").replace(uC,"%23").replace(oW,"%26").replace(uW,"`").replace(pC,"{").replace(hC,"}").replace(dC,"^")}function hW(e){return Xp(e).replace(sW,"%3D")}function mW(e){return tm(e).replace(uC,"%23").replace(aW,"%3F")}function gW(e){return mW(e).replace(iW,"%2F")}function Jc(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const yW=/\/$/,bW=e=>e.replace(yW,"");function Dd(e,t,n="/"){let r,o={},s="",a="";const c=t.indexOf("#");let u=t.indexOf("?");return u=c>=0&&u>c?-1:u,u>=0&&(r=t.slice(0,u),s=t.slice(u,c>0?c:t.length),o=e(s.slice(1))),c>=0&&(r=r||t.slice(0,c),a=t.slice(c,t.length)),r=EW(r??t,n),{fullPath:r+s+a,path:r,query:o,hash:Jc(a)}}function _W(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Z_(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function vW(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Ps(t.matched[r],n.matched[o])&&mC(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ps(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mC(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!wW(e[n],t[n]))return!1;return!0}function wW(e,t){return jr(e)?ev(e,t):jr(t)?ev(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function ev(e,t){return jr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function EW(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,a,c;for(a=0;a<r.length;a++)if(c=r[a],c!==".")if(c==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(a).join("/")}const Vo={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};function SW(e){if(!e)if(ps){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),bW(e)}const CW=/^[^#]+#/;function kW(e,t){return e.replace(CW,"#")+t}function TW(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ju=()=>({left:window.scrollX,top:window.scrollY});function xW(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=TW(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function tv(e,t){return(history.state?history.state.position-t:-1)+e}const Jp=new Map;function OW(e,t){Jp.set(e,t)}function AW(e){const t=Jp.get(e);return Jp.delete(e),t}function RW(e){return typeof e=="string"||e&&typeof e=="object"}function gC(e){return typeof e=="string"||typeof e=="symbol"}function PW(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(fC," "),s=o.indexOf("="),a=Jc(s<0?o:o.slice(0,s)),c=s<0?null:Jc(o.slice(s+1));if(a in t){let u=t[a];jr(u)||(u=t[a]=[u]),u.push(c)}else t[a]=c}return t}function nv(e){let t="";for(let n in e){const r=e[n];if(n=hW(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(jr(r)?r.map(o=>o&&Xp(o)):[r&&Xp(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function LW(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=jr(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function la(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Jo(e,t,n,r,o,s=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((c,u)=>{const f=g=>{g===!1?u(Rs(4,{from:n,to:t})):g instanceof Error?u(g):RW(g)?u(Rs(2,{from:t,to:g})):(a&&r.enterCallbacks[o]===a&&typeof g=="function"&&a.push(g),c())},p=s(()=>e.call(r&&r.instances[o],t,n,f));let h=Promise.resolve(p);e.length<3&&(h=h.then(f)),h.catch(g=>u(g))})}function Fd(e,t,n,r,o=s=>s()){const s=[];for(const a of e)for(const c in a.components){let u=a.components[c];if(!(t!=="beforeRouteEnter"&&!a.instances[c]))if(aC(u)){const f=(u.__vccOpts||u)[t];f&&s.push(Jo(f,n,r,a,c,o))}else{let f=u();s.push(()=>f.then(p=>{if(!p)throw new Error(`Couldn't resolve component "${c}" at "${a.path}"`);const h=nW(p)?p.default:p;a.mods[c]=p,a.components[c]=h;const g=(h.__vccOpts||h)[t];return g&&Jo(g,n,r,a,c,o)()}))}}return s}function IW(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;a<s;a++){const c=t.matched[a];c&&(e.matched.find(f=>Ps(f,c))?r.push(c):n.push(c));const u=e.matched[a];u&&(t.matched.find(f=>Ps(f,u))||o.push(u))}return[n,r,o]}let MW=()=>location.protocol+"//"+location.host;function yC(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),Z_(c,"")}return Z_(n,e)+r+o}function NW(e,t,n,r){let o=[],s=[],a=null;const c=({state:g})=>{const y=yC(e,location),w=n.value,_=t.value;let A=0;if(g){if(n.value=y,t.value=g,a&&a===w){a=null;return}A=_?g.position-_.position:0}else r(y);o.forEach(S=>{S(n.value,w,{delta:A,type:"pop",direction:A?A>0?"forward":"back":""})})};function u(){a=n.value}function f(g){o.push(g);const y=()=>{const w=o.indexOf(g);w>-1&&o.splice(w,1)};return s.push(y),y}function p(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState(ut({},g.state,{scroll:ju()}),"")}}function h(){for(const g of s)g();s=[],window.removeEventListener("popstate",c),window.removeEventListener("pagehide",p),document.removeEventListener("visibilitychange",p)}return window.addEventListener("popstate",c),window.addEventListener("pagehide",p),document.addEventListener("visibilitychange",p),{pauseListeners:u,listen:f,destroy:h}}function rv(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ju():null}}function DW(e){const{history:t,location:n}=window,r={value:yC(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(u,f,p){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+u:MW()+e+u;try{t[p?"replaceState":"pushState"](f,"",g),o.value=f}catch(y){console.error(y),n[p?"replace":"assign"](g)}}function a(u,f){s(u,ut({},t.state,rv(o.value.back,u,o.value.forward,!0),f,{position:o.value.position}),!0),r.value=u}function c(u,f){const p=ut({},o.value,t.state,{forward:u,scroll:ju()});s(p.current,p,!0),s(u,ut({},rv(r.value,u,null),{position:p.position+1},f),!1),r.value=u}return{location:r,state:o,push:c,replace:a}}function FW(e){e=SW(e);const t=DW(e),n=NW(e,t.state,t.location,t.replace);function r(s,a=!0){a||n.pauseListeners(),history.go(s)}const o=ut({location:"",base:e,go:r,createHref:kW.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}const $W={type:0,value:""},jW=/[a-zA-Z0-9_]/;function UW(e){if(!e)return[[]];if(e==="/")return[[$W]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${f}": ${y}`)}let n=0,r=n;const o=[];let s;function a(){s&&o.push(s),s=[]}let c=0,u,f="",p="";function h(){f&&(n===0?s.push({type:0,value:f}):n===1||n===2||n===3?(s.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:f,regexp:p,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),f="")}function g(){f+=u}for(;c<e.length;)switch(u=e[c++],n){case 0:u==="\\"?(r=n,n=4):u==="/"?(f&&h(),a()):u===":"?(h(),n=1):g();break;case 4:g(),n=r;break;case 1:u==="("?n=2:jW.test(u)?g():(h(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&c--);break;case 2:u===")"?p[p.length-1]=="\\"?p=p.slice(0,-1)+u:n=3:p+=u;break;case 3:h(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&c--,p="";break;default:t("Unknown state");break}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),a(),o}const ov="[^/]+?",zW={sensitive:!1,strict:!1,start:!0,end:!0},BW=/[.+*?^${}()[\]/\\]/g;function WW(e,t){const n=ut({},zW,t),r=[];let o=n.start?"^":"";const s=[];for(const f of e){const p=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;h<f.length;h++){const g=f[h];let y=40+(n.sensitive?.25:0);if(g.type===0)h||(o+="/"),o+=g.value.replace(BW,"\\$&"),y+=40;else if(g.type===1){const{value:w,repeatable:_,optional:A,regexp:S}=g;s.push({name:w,repeatable:_,optional:A});const v=S||ov;if(v!==ov){y+=10;try{new RegExp(`(${v})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${w}" (${v}): `+E.message)}}let x=_?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;h||(x=A&&f.length<2?`(?:/${x})`:"/"+x),A&&(x+="?"),o+=x,y+=20,A&&(y+=-8),_&&(y+=-20),v===".*"&&(y+=-50)}p.push(y)}r.push(p)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function c(f){const p=f.match(a),h={};if(!p)return null;for(let g=1;g<p.length;g++){const y=p[g]||"",w=s[g-1];h[w.name]=y&&w.repeatable?y.split("/"):y}return h}function u(f){let p="",h=!1;for(const g of e){(!h||!p.endsWith("/"))&&(p+="/"),h=!1;for(const y of g)if(y.type===0)p+=y.value;else if(y.type===1){const{value:w,repeatable:_,optional:A}=y,S=w in f?f[w]:"";if(jr(S)&&!_)throw new Error(`Provided param "${w}" is an array but it is not repeatable (* or + modifiers)`);const v=jr(S)?S.join("/"):S;if(!v)if(A)g.length<2&&(p.endsWith("/")?p=p.slice(0,-1):h=!0);else throw new Error(`Missing required param "${w}"`);p+=v}}return p||"/"}return{re:a,score:r,keys:s,parse:c,stringify:u}}function VW(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function bC(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=VW(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(iv(r))return 1;if(iv(o))return-1}return o.length-r.length}function iv(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const HW={strict:!1,end:!0,sensitive:!1};function GW(e,t,n){const r=WW(UW(e.path),n),o=ut(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function KW(e,t){const n=[],r=new Map;t=J_(HW,t);function o(h){return r.get(h)}function s(h,g,y){const w=!y,_=av(h);_.aliasOf=y&&y.record;const A=J_(t,h),S=[_];if("alias"in h){const E=typeof h.alias=="string"?[h.alias]:h.alias;for(const R of E)S.push(av(ut({},_,{components:y?y.record.components:_.components,path:R,aliasOf:y?y.record:_})))}let v,x;for(const E of S){const{path:R}=E;if(g&&R[0]!=="/"){const O=g.record.path,P=O[O.length-1]==="/"?"":"/";E.path=g.record.path+(R&&P+R)}if(v=GW(E,g,A),y?y.alias.push(v):(x=x||v,x!==v&&x.alias.push(v),w&&h.name&&!lv(v)&&a(h.name)),_C(v)&&u(v),_.children){const O=_.children;for(let P=0;P<O.length;P++)s(O[P],v,y&&y.children[P])}y=y||v}return x?()=>{a(x)}:Ta}function a(h){if(gC(h)){const g=r.get(h);g&&(r.delete(h),n.splice(n.indexOf(g),1),g.children.forEach(a),g.alias.forEach(a))}else{const g=n.indexOf(h);g>-1&&(n.splice(g,1),h.record.name&&r.delete(h.record.name),h.children.forEach(a),h.alias.forEach(a))}}function c(){return n}function u(h){const g=XW(h,n);n.splice(g,0,h),h.record.name&&!lv(h)&&r.set(h.record.name,h)}function f(h,g){let y,w={},_,A;if("name"in h&&h.name){if(y=r.get(h.name),!y)throw Rs(1,{location:h});A=y.record.name,w=ut(sv(g.params,y.keys.filter(x=>!x.optional).concat(y.parent?y.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),h.params&&sv(h.params,y.keys.map(x=>x.name))),_=y.stringify(w)}else if(h.path!=null)_=h.path,y=n.find(x=>x.re.test(_)),y&&(w=y.parse(_),A=y.record.name,y.keys.forEach(x=>{x.optional&&!w[x.name]&&delete w[x.name]}));else{if(y=g.name?r.get(g.name):n.find(x=>x.re.test(g.path)),!y)throw Rs(1,{location:h,currentLocation:g});A=y.record.name,w=ut({},g.params,h.params),_=y.stringify(w)}const S=[];let v=y;for(;v;)S.unshift(v.record),v=v.parent;return{name:A,path:_,params:w,matched:S,meta:YW(S)}}e.forEach(h=>s(h));function p(){n.length=0,r.clear()}return{addRoute:s,resolve:f,removeRoute:a,clearRoutes:p,getRoutes:c,getRecordMatcher:o}}function sv(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function av(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:qW(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function qW(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function lv(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function YW(e){return e.reduce((t,n)=>ut(t,n.meta),{})}function XW(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;bC(e,t[s])<0?r=s:n=s+1}const o=JW(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function JW(e){let t=e;for(;t=t.parent;)if(_C(t)&&bC(e,t)===0)return t}function _C({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function cv(e){const t=En(em),n=En(cC),r=ce(()=>{const u=je(e.to);return t.resolve(u)}),o=ce(()=>{const{matched:u}=r.value,{length:f}=u,p=u[f-1],h=n.matched;if(!p||!h.length)return-1;const g=h.findIndex(Ps.bind(null,p));if(g>-1)return g;const y=uv(u[f-2]);return f>1&&uv(p)===y&&h[h.length-1].path!==y?h.findIndex(Ps.bind(null,u[f-2])):g}),s=ce(()=>o.value>-1&&tV(n.params,r.value.params)),a=ce(()=>o.value>-1&&o.value===n.matched.length-1&&mC(n.params,r.value.params));function c(u={}){if(eV(u)){const f=t[je(e.replace)?"replace":"push"](je(e.to)).catch(Ta);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:ce(()=>r.value.href),isActive:s,isExactActive:a,navigate:c}}function QW(e){return e.length===1?e[0]:e}const ZW=It({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:cv,setup(e,{slots:t}){const n=Ga(cv(e)),{options:r}=En(em),o=ce(()=>({[fv(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[fv(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&QW(t.default(n));return e.custom?s:ri("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}});function eV(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function tV(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!jr(o)||o.length!==r.length||r.some((s,a)=>s.valueOf()!==o[a].valueOf()))return!1}return!0}function uv(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fv=(e,t,n)=>e??t??n,nV=It({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=En(Yp),o=ce(()=>e.route||r.value),s=En(Q_,0),a=ce(()=>{let f=je(s);const{matched:p}=o.value;let h;for(;(h=p[f])&&!h.components;)f++;return f}),c=ce(()=>o.value.matched[a.value]);Ti(Q_,ce(()=>a.value+1)),Ti(rW,c),Ti(Yp,o);const u=Re();return gt(()=>[u.value,c.value,e.name],([f,p,h],[g,y,w])=>{p&&(p.instances[h]=f,y&&y!==p&&f&&f===g&&(p.leaveGuards.size||(p.leaveGuards=y.leaveGuards),p.updateGuards.size||(p.updateGuards=y.updateGuards))),f&&p&&(!y||!Ps(p,y)||!g)&&(p.enterCallbacks[h]||[]).forEach(_=>_(f))},{flush:"post"}),()=>{const f=o.value,p=e.name,h=c.value,g=h&&h.components[p];if(!g)return dv(n.default,{Component:g,route:f});const y=h.props[p],w=y?y===!0?f.params:typeof y=="function"?y(f):y:null,A=ri(g,ut({},w,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(h.instances[p]=null)},ref:u}));return dv(n.default,{Component:A,route:f})||A}}});function dv(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const rV=nV;function oV(e){const t=KW(e.routes,e),n=e.parseQuery||PW,r=e.stringifyQuery||nv,o=e.history,s=la(),a=la(),c=la(),u=In(Vo);let f=Vo;ps&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const p=Nd.bind(null,ee=>""+ee),h=Nd.bind(null,gW),g=Nd.bind(null,Jc);function y(ee,ge){let he,ve;return gC(ee)?(he=t.getRecordMatcher(ee),ve=ge):ve=ee,t.addRoute(ve,he)}function w(ee){const ge=t.getRecordMatcher(ee);ge&&t.removeRoute(ge)}function _(){return t.getRoutes().map(ee=>ee.record)}function A(ee){return!!t.getRecordMatcher(ee)}function S(ee,ge){if(ge=ut({},ge||u.value),typeof ee=="string"){const H=Dd(n,ee,ge.path),J=t.resolve({path:H.path},ge),te=o.createHref(H.fullPath);return ut(H,J,{params:g(J.params),redirectedFrom:void 0,href:te})}let he;if(ee.path!=null)he=ut({},ee,{path:Dd(n,ee.path,ge.path).path});else{const H=ut({},ee.params);for(const J in H)H[J]==null&&delete H[J];he=ut({},ee,{params:h(H)}),ge.params=h(ge.params)}const ve=t.resolve(he,ge),ze=ee.hash||"";ve.params=p(g(ve.params));const M=_W(r,ut({},ee,{hash:pW(ze),path:ve.path})),F=o.createHref(M);return ut({fullPath:M,hash:ze,query:r===nv?LW(ee.query):ee.query||{}},ve,{redirectedFrom:void 0,href:F})}function v(ee){return typeof ee=="string"?Dd(n,ee,u.value.path):ut({},ee)}function x(ee,ge){if(f!==ee)return Rs(8,{from:ge,to:ee})}function E(ee){return P(ee)}function R(ee){return E(ut(v(ee),{replace:!0}))}function O(ee,ge){const he=ee.matched[ee.matched.length-1];if(he&&he.redirect){const{redirect:ve}=he;let ze=typeof ve=="function"?ve(ee,ge):ve;return typeof ze=="string"&&(ze=ze.includes("?")||ze.includes("#")?ze=v(ze):{path:ze},ze.params={}),ut({query:ee.query,hash:ee.hash,params:ze.path!=null?{}:ee.params},ze)}}function P(ee,ge){const he=f=S(ee),ve=u.value,ze=ee.state,M=ee.force,F=ee.replace===!0,H=O(he,ve);if(H)return P(ut(v(H),{state:typeof H=="object"?ut({},ze,H.state):ze,force:M,replace:F}),ge||he);const J=he;J.redirectedFrom=ge;let te;return!M&&vW(r,ve,he)&&(te=Rs(16,{to:J,from:ve}),tt(ve,ve,!0,!1)),(te?Promise.resolve(te):K(J,ve)).catch(Q=>yo(Q)?yo(Q,2)?Q:rn(Q):Ee(Q,J,ve)).then(Q=>{if(Q){if(yo(Q,2))return P(ut({replace:F},v(Q.to),{state:typeof Q.to=="object"?ut({},ze,Q.to.state):ze,force:M}),ge||J)}else Q=ne(J,ve,!0,F,ze);return G(J,ve,Q),Q})}function T(ee,ge){const he=x(ee,ge);return he?Promise.reject(he):Promise.resolve()}function N(ee){const ge=on.values().next().value;return ge&&typeof ge.runWithContext=="function"?ge.runWithContext(ee):ee()}function K(ee,ge){let he;const[ve,ze,M]=IW(ee,ge);he=Fd(ve.reverse(),"beforeRouteLeave",ee,ge);for(const H of ve)H.leaveGuards.forEach(J=>{he.push(Jo(J,ee,ge))});const F=T.bind(null,ee,ge);return he.push(F),Mt(he).then(()=>{he=[];for(const H of s.list())he.push(Jo(H,ee,ge));return he.push(F),Mt(he)}).then(()=>{he=Fd(ze,"beforeRouteUpdate",ee,ge);for(const H of ze)H.updateGuards.forEach(J=>{he.push(Jo(J,ee,ge))});return he.push(F),Mt(he)}).then(()=>{he=[];for(const H of M)if(H.beforeEnter)if(jr(H.beforeEnter))for(const J of H.beforeEnter)he.push(Jo(J,ee,ge));else he.push(Jo(H.beforeEnter,ee,ge));return he.push(F),Mt(he)}).then(()=>(ee.matched.forEach(H=>H.enterCallbacks={}),he=Fd(M,"beforeRouteEnter",ee,ge,N),he.push(F),Mt(he))).then(()=>{he=[];for(const H of a.list())he.push(Jo(H,ee,ge));return he.push(F),Mt(he)}).catch(H=>yo(H,8)?H:Promise.reject(H))}function G(ee,ge,he){c.list().forEach(ve=>N(()=>ve(ee,ge,he)))}function ne(ee,ge,he,ve,ze){const M=x(ee,ge);if(M)return M;const F=ge===Vo,H=ps?history.state:{};he&&(ve||F?o.replace(ee.fullPath,ut({scroll:F&&H&&H.scroll},ze)):o.push(ee.fullPath,ze)),u.value=ee,tt(ee,ge,he,F),rn()}let de;function z(){de||(de=o.listen((ee,ge,he)=>{if(!kn.listening)return;const ve=S(ee),ze=O(ve,kn.currentRoute.value);if(ze){P(ut(ze,{replace:!0,force:!0}),ve).catch(Ta);return}f=ve;const M=u.value;ps&&OW(tv(M.fullPath,he.delta),ju()),K(ve,M).catch(F=>yo(F,12)?F:yo(F,2)?(P(ut(v(F.to),{force:!0}),ve).then(H=>{yo(H,20)&&!he.delta&&he.type==="pop"&&o.go(-1,!1)}).catch(Ta),Promise.reject()):(he.delta&&o.go(-he.delta,!1),Ee(F,ve,M))).then(F=>{F=F||ne(ve,M,!1),F&&(he.delta&&!yo(F,8)?o.go(-he.delta,!1):he.type==="pop"&&yo(F,20)&&o.go(-1,!1)),G(ve,M,F)}).catch(Ta)}))}let re=la(),ae=la(),ue;function Ee(ee,ge,he){rn(ee);const ve=ae.list();return ve.length?ve.forEach(ze=>ze(ee,ge,he)):console.error(ee),Promise.reject(ee)}function We(){return ue&&u.value!==Vo?Promise.resolve():new Promise((ee,ge)=>{re.add([ee,ge])})}function rn(ee){return ue||(ue=!ee,z(),re.list().forEach(([ge,he])=>ee?he(ee):ge()),re.reset()),ee}function tt(ee,ge,he,ve){const{scrollBehavior:ze}=e;if(!ps||!ze)return Promise.resolve();const M=!he&&AW(tv(ee.fullPath,0))||(ve||!he)&&history.state&&history.state.scroll||null;return Ur().then(()=>ze(ee,ge,M)).then(F=>ee===u.value&&F&&xW(F)).catch(F=>ee===u.value&&Ee(F,ee,ge))}const Ge=ee=>o.go(ee);let dn;const on=new Set,kn={currentRoute:u,listening:!0,addRoute:y,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:A,getRoutes:_,resolve:S,options:e,push:E,replace:R,go:Ge,back:()=>Ge(-1),forward:()=>Ge(1),beforeEach:s.add,beforeResolve:a.add,afterEach:c.add,onError:ae.add,isReady:We,install(ee){ee.component("RouterLink",ZW),ee.component("RouterView",rV),ee.config.globalProperties.$router=kn,Object.defineProperty(ee.config.globalProperties,"$route",{enumerable:!0,get:()=>je(u)}),ps&&!dn&&u.value===Vo&&(dn=!0,E(o.location).catch(ve=>{}));const ge={};for(const ve in Vo)Object.defineProperty(ge,ve,{get:()=>u.value[ve],enumerable:!0});ee.provide(em,kn),ee.provide(cC,_E(ge)),ee.provide(Yp,u);const he=ee.unmount;on.add(ee),ee.unmount=function(){on.delete(ee),on.size<1&&(f=Vo,de&&de(),de=null,u.value=Vo,dn=!1,ue=!1),he()}}};function Mt(ee){return ee.reduce((ge,he)=>ge.then(()=>N(he)),Promise.resolve())}return kn}function iV(e){return Ha()?(kh(e),!0):!1}const $d=new WeakMap,sV=(...e)=>{var t;const n=e[0],r=(t=ar())==null?void 0:t.proxy;if(r==null&&!qa())throw new Error("injectLocal must be called in setup");return r&&$d.has(r)&&n in $d.get(r)?$d.get(r)[n]:En(...e)},aV=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const lV=Object.prototype.toString,cV=e=>lV.call(e)==="[object Object]",uV=()=>{};function vC(...e){if(e.length!==1)return SE(...e);const t=e[0];return typeof t=="function"?Ss(EE(()=>({get:t,set:uV}))):Re(t)}function fV(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const wC=e=>e();function dV(e=wC,t={}){const{initialState:n="active"}=t,r=vC(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:Ss(r),pause:o,resume:s,eventFilter:(...c)=>{r.value&&e(...c)}}}function pv(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function jd(e){return Array.isArray(e)?e:[e]}function pV(e){return ar()}function hV(e,t,n={}){const{eventFilter:r=wC,...o}=n;return gt(e,fV(r,t),o)}function mV(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:a,pause:c,resume:u,isActive:f}=dV(r,{initialState:o});return{stop:hV(e,t,{...s,eventFilter:a}),pause:c,resume:u,isActive:f}}function EC(e,t=!0,n){pV()?Er(e,n):t?e():Ur(e)}function gV(e,t,n){return gt(e,t,{...n,immediate:!0})}const za=aV?window:void 0;function SC(e){var t;const n=en(e);return(t=n?.$el)!=null?t:n}function Qp(...e){const t=[],n=()=>{t.forEach(c=>c()),t.length=0},r=(c,u,f,p)=>(c.addEventListener(u,f,p),()=>c.removeEventListener(u,f,p)),o=ce(()=>{const c=jd(en(e[0])).filter(u=>u!=null);return c.every(u=>typeof u!="string")?c:void 0}),s=gV(()=>{var c,u;return[(u=(c=o.value)==null?void 0:c.map(f=>SC(f)))!=null?u:[za].filter(f=>f!=null),jd(en(o.value?e[1]:e[0])),jd(je(o.value?e[2]:e[1])),en(o.value?e[3]:e[2])]},([c,u,f,p])=>{if(n(),!c?.length||!u?.length||!f?.length)return;const h=cV(p)?{...p}:p;t.push(...c.flatMap(g=>u.flatMap(y=>f.map(w=>r(g,y,w,h)))))},{flush:"post"}),a=()=>{s(),n()};return iV(n),a}function yV(){const e=In(!1),t=ar();return t&&Er(()=>{e.value=!0},t),e}function bV(e){const t=yV();return ce(()=>(t.value,!!e()))}const _V=Symbol("vueuse-ssr-width");function vV(){const e=qa()?sV(_V,null):null;return typeof e=="number"?e:void 0}function wV(e,t={}){const{window:n=za,ssrWidth:r=vV()}=t,o=bV(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=In(typeof r=="number"),a=In(),c=In(!1),u=f=>{c.value=f.matches};return RE(()=>{if(s.value){s.value=!o.value;const f=en(e).split(",");c.value=f.some(p=>{const h=p.includes("not all"),g=p.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=p.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let w=!!(g||y);return g&&w&&(w=r>=pv(g[1])),y&&w&&(w=r<=pv(y[1])),h?!w:w});return}o.value&&(a.value=n.matchMedia(en(e)),c.value=a.value.matches)}),Qp(a,"change",u,{passive:!0}),ce(()=>c.value)}const oc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ic="__vueuse_ssr_handlers__",EV=SV();function SV(){return ic in oc||(oc[ic]=oc[ic]||{}),oc[ic]}function CC(e,t){return EV[e]||t}function CV(e){return wV("(prefers-color-scheme: dark)",e)}function kV(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const TV={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},hv="vueuse-storage";function xV(e,t,n,r={}){var o;const{flush:s="pre",deep:a=!0,listenToStorageChanges:c=!0,writeDefaults:u=!0,mergeDefaults:f=!1,shallow:p,window:h=za,eventFilter:g,onError:y=z=>{console.error(z)},initOnMounted:w}=r,_=(p?In:Re)(typeof t=="function"?t():t),A=ce(()=>en(e));if(!n)try{n=CC("getDefaultStorage",()=>{var z;return(z=za)==null?void 0:z.localStorage})()}catch(z){y(z)}if(!n)return _;const S=en(t),v=kV(S),x=(o=r.serializer)!=null?o:TV[v],{pause:E,resume:R}=mV(_,z=>K(z),{flush:s,deep:a,eventFilter:g});gt(A,()=>ne(),{flush:s});let O=!1;const P=z=>{w&&!O||ne(z)},T=z=>{w&&!O||de(z)};h&&c&&(n instanceof Storage?Qp(h,"storage",P,{passive:!0}):Qp(h,hv,T)),w?EC(()=>{O=!0,ne()}):ne();function N(z,re){if(h){const ae={key:A.value,oldValue:z,newValue:re,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",ae):new CustomEvent(hv,{detail:ae}))}}function K(z){try{const re=n.getItem(A.value);if(z==null)N(re,null),n.removeItem(A.value);else{const ae=x.write(z);re!==ae&&(n.setItem(A.value,ae),N(re,ae))}}catch(re){y(re)}}function G(z){const re=z?z.newValue:n.getItem(A.value);if(re==null)return u&&S!=null&&n.setItem(A.value,x.write(S)),S;if(!z&&f){const ae=x.read(re);return typeof f=="function"?f(ae,S):v==="object"&&!Array.isArray(ae)?{...S,...ae}:ae}else return typeof re!="string"?re:x.read(re)}function ne(z){if(!(z&&z.storageArea!==n)){if(z&&z.key==null){_.value=S;return}if(!(z&&z.key!==A.value)){E();try{const re=x.write(_.value);(z===void 0||z?.newValue!==re)&&(_.value=G(z))}catch(re){y(re)}finally{z?Ur(R):R()}}}}function de(z){ne(z.detail)}return _}const OV="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function AV(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=za,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:u,emitAuto:f,disableTransition:p=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=CV({window:o}),y=ce(()=>g.value?"dark":"light"),w=u||(a==null?vC(r):xV(a,r,s,{window:o,listenToStorageChanges:c})),_=ce(()=>w.value==="auto"?y.value:w.value),A=CC("updateHTMLAttrs",(E,R,O)=>{const P=typeof E=="string"?o?.document.querySelector(E):SC(E);if(!P)return;const T=new Set,N=new Set;let K=null;if(R==="class"){const ne=O.split(/\s/g);Object.values(h).flatMap(de=>(de||"").split(/\s/g)).filter(Boolean).forEach(de=>{ne.includes(de)?T.add(de):N.add(de)})}else K={key:R,value:O};if(T.size===0&&N.size===0&&K===null)return;let G;p&&(G=o.document.createElement("style"),G.appendChild(document.createTextNode(OV)),o.document.head.appendChild(G));for(const ne of T)P.classList.add(ne);for(const ne of N)P.classList.remove(ne);K&&P.setAttribute(K.key,K.value),p&&(o.getComputedStyle(G).opacity,document.head.removeChild(G))});function S(E){var R;A(t,n,(R=h[E])!=null?R:E)}function v(E){e.onChanged?e.onChanged(E,S):S(E)}gt(_,v,{flush:"post",immediate:!0}),EC(()=>v(_.value));const x=ce({get(){return f?w.value:_.value},set(E){w.value=E}});return Object.assign(x,{store:w,system:y,state:_})}function kC(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=AV({...e,onChanged:(a,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,a==="dark",c,a):c(a)},modes:{dark:t,light:n}}),o=ce(()=>r.system.value);return ce({get(){return r.value==="dark"},set(a){const c=a?"dark":"light";o.value===c?r.value="auto":r.value=c}})}var sc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xc={exports:{}},RV=xc.exports,mv;function PV(){return mv||(mv=1,(function(e,t){(function(){var n,r="4.18.1",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",u="Invalid `imports` option passed into `_.template`",f="__lodash_hash_undefined__",p=500,h="__lodash_placeholder__",g=1,y=2,w=4,_=1,A=2,S=1,v=2,x=4,E=8,R=16,O=32,P=64,T=128,N=256,K=512,G=30,ne="...",de=800,z=16,re=1,ae=2,ue=3,Ee=1/0,We=9007199254740991,rn=17976931348623157e292,tt=NaN,Ge=4294967295,dn=Ge-1,on=Ge>>>1,kn=[["ary",T],["bind",S],["bindKey",v],["curry",E],["curryRight",R],["flip",K],["partial",O],["partialRight",P],["rearg",N]],Mt="[object Arguments]",ee="[object Array]",ge="[object AsyncFunction]",he="[object Boolean]",ve="[object Date]",ze="[object DOMException]",M="[object Error]",F="[object Function]",H="[object GeneratorFunction]",J="[object Map]",te="[object Number]",Q="[object Null]",L="[object Object]",I="[object Promise]",j="[object Proxy]",W="[object RegExp]",fe="[object Set]",ie="[object String]",U="[object Symbol]",X="[object Undefined]",be="[object WeakMap]",ke="[object WeakSet]",$e="[object ArrayBuffer]",Xe="[object DataView]",Ze="[object Float32Array]",pn="[object Float64Array]",Tn="[object Int8Array]",io="[object Int16Array]",Fi="[object Int32Array]",sn="[object Uint8Array]",Nn="[object Uint8ClampedArray]",$i="[object Uint16Array]",ji="[object Uint32Array]",UT=/\b__p \+= '';/g,zT=/\b(__p \+=) '' \+/g,BT=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Om=/&(?:amp|lt|gt|quot|#39);/g,Am=/[&<>"']/g,WT=RegExp(Om.source),VT=RegExp(Am.source),HT=/<%-([\s\S]+?)%>/g,GT=/<%([\s\S]+?)%>/g,Rm=/<%=([\s\S]+?)%>/g,KT=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,qT=/^\w*$/,YT=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Xu=/[\\^$.*+?()[\]{}|]/g,XT=RegExp(Xu.source),Ju=/^\s+/,JT=/\s/,QT=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ZT=/\{\n\/\* \[wrapped with (.+)\] \*/,ex=/,? & /,tx=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Pm=/[()=,{}\[\]\/\s]/,nx=/\\(\\)?/g,rx=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Lm=/\w*$/,ox=/^[-+]0x[0-9a-f]+$/i,ix=/^0b[01]+$/i,sx=/^\[object .+?Constructor\]$/,ax=/^0o[0-7]+$/i,lx=/^(?:0|[1-9]\d*)$/,cx=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ol=/($^)/,ux=/['\n\r\u2028\u2029\\]/g,il="\\ud800-\\udfff",fx="\\u0300-\\u036f",dx="\\ufe20-\\ufe2f",px="\\u20d0-\\u20ff",Im=fx+dx+px,Mm="\\u2700-\\u27bf",Nm="a-z\\xdf-\\xf6\\xf8-\\xff",hx="\\xac\\xb1\\xd7\\xf7",mx="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",gx="\\u2000-\\u206f",yx=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Dm="A-Z\\xc0-\\xd6\\xd8-\\xde",Fm="\\ufe0e\\ufe0f",$m=hx+mx+gx+yx,Qu="['’]",bx="["+il+"]",jm="["+$m+"]",sl="["+Im+"]",Um="\\d+",_x="["+Mm+"]",zm="["+Nm+"]",Bm="[^"+il+$m+Um+Mm+Nm+Dm+"]",Zu="\\ud83c[\\udffb-\\udfff]",vx="(?:"+sl+"|"+Zu+")",Wm="[^"+il+"]",ef="(?:\\ud83c[\\udde6-\\uddff]){2}",tf="[\\ud800-\\udbff][\\udc00-\\udfff]",Ui="["+Dm+"]",Vm="\\u200d",Hm="(?:"+zm+"|"+Bm+")",wx="(?:"+Ui+"|"+Bm+")",Gm="(?:"+Qu+"(?:d|ll|m|re|s|t|ve))?",Km="(?:"+Qu+"(?:D|LL|M|RE|S|T|VE))?",qm=vx+"?",Ym="["+Fm+"]?",Ex="(?:"+Vm+"(?:"+[Wm,ef,tf].join("|")+")"+Ym+qm+")*",Sx="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cx="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Xm=Ym+qm+Ex,kx="(?:"+[_x,ef,tf].join("|")+")"+Xm,Tx="(?:"+[Wm+sl+"?",sl,ef,tf,bx].join("|")+")",xx=RegExp(Qu,"g"),Ox=RegExp(sl,"g"),nf=RegExp(Zu+"(?="+Zu+")|"+Tx+Xm,"g"),Ax=RegExp([Ui+"?"+zm+"+"+Gm+"(?="+[jm,Ui,"$"].join("|")+")",wx+"+"+Km+"(?="+[jm,Ui+Hm,"$"].join("|")+")",Ui+"?"+Hm+"+"+Gm,Ui+"+"+Km,Cx,Sx,Um,kx].join("|"),"g"),Rx=RegExp("["+Vm+il+Im+Fm+"]"),Px=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Lx=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ix=-1,Ot={};Ot[Ze]=Ot[pn]=Ot[Tn]=Ot[io]=Ot[Fi]=Ot[sn]=Ot[Nn]=Ot[$i]=Ot[ji]=!0,Ot[Mt]=Ot[ee]=Ot[$e]=Ot[he]=Ot[Xe]=Ot[ve]=Ot[M]=Ot[F]=Ot[J]=Ot[te]=Ot[L]=Ot[W]=Ot[fe]=Ot[ie]=Ot[be]=!1;var Et={};Et[Mt]=Et[ee]=Et[$e]=Et[Xe]=Et[he]=Et[ve]=Et[Ze]=Et[pn]=Et[Tn]=Et[io]=Et[Fi]=Et[J]=Et[te]=Et[L]=Et[W]=Et[fe]=Et[ie]=Et[U]=Et[sn]=Et[Nn]=Et[$i]=Et[ji]=!0,Et[M]=Et[F]=Et[be]=!1;var Mx={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Nx={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Dx={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Fx={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$x=parseFloat,jx=parseInt,Jm=typeof sc=="object"&&sc&&sc.Object===Object&&sc,Ux=typeof self=="object"&&self&&self.Object===Object&&self,an=Jm||Ux||Function("return this")(),rf=t&&!t.nodeType&&t,li=rf&&!0&&e&&!e.nodeType&&e,Qm=li&&li.exports===rf,of=Qm&&Jm.process,cr=(function(){try{var B=li&&li.require&&li.require("util").types;return B||of&&of.binding&&of.binding("util")}catch{}})(),Zm=cr&&cr.isArrayBuffer,eg=cr&&cr.isDate,tg=cr&&cr.isMap,ng=cr&&cr.isRegExp,rg=cr&&cr.isSet,og=cr&&cr.isTypedArray;function qn(B,Z,Y){switch(Y.length){case 0:return B.call(Z);case 1:return B.call(Z,Y[0]);case 2:return B.call(Z,Y[0],Y[1]);case 3:return B.call(Z,Y[0],Y[1],Y[2])}return B.apply(Z,Y)}function zx(B,Z,Y,_e){for(var Me=-1,st=B==null?0:B.length;++Me<st;){var qt=B[Me];Z(_e,qt,Y(qt),B)}return _e}function Yn(B,Z){for(var Y=-1,_e=B==null?0:B.length;++Y<_e&&Z(B[Y],Y,B)!==!1;);return B}function Bx(B,Z){for(var Y=B==null?0:B.length;Y--&&Z(B[Y],Y,B)!==!1;);return B}function ig(B,Z){for(var Y=-1,_e=B==null?0:B.length;++Y<_e;)if(!Z(B[Y],Y,B))return!1;return!0}function No(B,Z){for(var Y=-1,_e=B==null?0:B.length,Me=0,st=[];++Y<_e;){var qt=B[Y];Z(qt,Y,B)&&(st[Me++]=qt)}return st}function al(B,Z){var Y=B==null?0:B.length;return!!Y&&zi(B,Z,0)>-1}function sf(B,Z,Y){for(var _e=-1,Me=B==null?0:B.length;++_e<Me;)if(Y(Z,B[_e]))return!0;return!1}function Pt(B,Z){for(var Y=-1,_e=B==null?0:B.length,Me=Array(_e);++Y<_e;)Me[Y]=Z(B[Y],Y,B);return Me}function Do(B,Z){for(var Y=-1,_e=Z.length,Me=B.length;++Y<_e;)B[Me+Y]=Z[Y];return B}function af(B,Z,Y,_e){var Me=-1,st=B==null?0:B.length;for(_e&&st&&(Y=B[++Me]);++Me<st;)Y=Z(Y,B[Me],Me,B);return Y}function Wx(B,Z,Y,_e){var Me=B==null?0:B.length;for(_e&&Me&&(Y=B[--Me]);Me--;)Y=Z(Y,B[Me],Me,B);return Y}function lf(B,Z){for(var Y=-1,_e=B==null?0:B.length;++Y<_e;)if(Z(B[Y],Y,B))return!0;return!1}var Vx=cf("length");function Hx(B){return B.split("")}function Gx(B){return B.match(tx)||[]}function sg(B,Z,Y){var _e;return Y(B,function(Me,st,qt){if(Z(Me,st,qt))return _e=st,!1}),_e}function ll(B,Z,Y,_e){for(var Me=B.length,st=Y+(_e?1:-1);_e?st--:++st<Me;)if(Z(B[st],st,B))return st;return-1}function zi(B,Z,Y){return Z===Z?o1(B,Z,Y):ll(B,ag,Y)}function Kx(B,Z,Y,_e){for(var Me=Y-1,st=B.length;++Me<st;)if(_e(B[Me],Z))return Me;return-1}function ag(B){return B!==B}function lg(B,Z){var Y=B==null?0:B.length;return Y?ff(B,Z)/Y:tt}function cf(B){return function(Z){return Z==null?n:Z[B]}}function uf(B){return function(Z){return B==null?n:B[Z]}}function cg(B,Z,Y,_e,Me){return Me(B,function(st,qt,wt){Y=_e?(_e=!1,st):Z(Y,st,qt,wt)}),Y}function qx(B,Z){var Y=B.length;for(B.sort(Z);Y--;)B[Y]=B[Y].value;return B}function ff(B,Z){for(var Y,_e=-1,Me=B.length;++_e<Me;){var st=Z(B[_e]);st!==n&&(Y=Y===n?st:Y+st)}return Y}function df(B,Z){for(var Y=-1,_e=Array(B);++Y<B;)_e[Y]=Z(Y);return _e}function Yx(B,Z){return Pt(Z,function(Y){return[Y,B[Y]]})}function ug(B){return B&&B.slice(0,hg(B)+1).replace(Ju,"")}function Xn(B){return function(Z){return B(Z)}}function pf(B,Z){return Pt(Z,function(Y){return B[Y]})}function zs(B,Z){return B.has(Z)}function fg(B,Z){for(var Y=-1,_e=B.length;++Y<_e&&zi(Z,B[Y],0)>-1;);return Y}function dg(B,Z){for(var Y=B.length;Y--&&zi(Z,B[Y],0)>-1;);return Y}function Xx(B,Z){for(var Y=B.length,_e=0;Y--;)B[Y]===Z&&++_e;return _e}var Jx=uf(Mx),Qx=uf(Nx);function Zx(B){return"\\"+Fx[B]}function e1(B,Z){return B==null?n:B[Z]}function Bi(B){return Rx.test(B)}function t1(B){return Px.test(B)}function n1(B){for(var Z,Y=[];!(Z=B.next()).done;)Y.push(Z.value);return Y}function hf(B){var Z=-1,Y=Array(B.size);return B.forEach(function(_e,Me){Y[++Z]=[Me,_e]}),Y}function pg(B,Z){return function(Y){return B(Z(Y))}}function Fo(B,Z){for(var Y=-1,_e=B.length,Me=0,st=[];++Y<_e;){var qt=B[Y];(qt===Z||qt===h)&&(B[Y]=h,st[Me++]=Y)}return st}function cl(B){var Z=-1,Y=Array(B.size);return B.forEach(function(_e){Y[++Z]=_e}),Y}function r1(B){var Z=-1,Y=Array(B.size);return B.forEach(function(_e){Y[++Z]=[_e,_e]}),Y}function o1(B,Z,Y){for(var _e=Y-1,Me=B.length;++_e<Me;)if(B[_e]===Z)return _e;return-1}function i1(B,Z,Y){for(var _e=Y+1;_e--;)if(B[_e]===Z)return _e;return _e}function Wi(B){return Bi(B)?a1(B):Vx(B)}function Cr(B){return Bi(B)?l1(B):Hx(B)}function hg(B){for(var Z=B.length;Z--&&JT.test(B.charAt(Z)););return Z}var s1=uf(Dx);function a1(B){for(var Z=nf.lastIndex=0;nf.test(B);)++Z;return Z}function l1(B){return B.match(nf)||[]}function c1(B){return B.match(Ax)||[]}var u1=(function B(Z){Z=Z==null?an:Vi.defaults(an.Object(),Z,Vi.pick(an,Lx));var Y=Z.Array,_e=Z.Date,Me=Z.Error,st=Z.Function,qt=Z.Math,wt=Z.Object,mf=Z.RegExp,f1=Z.String,ur=Z.TypeError,ul=Y.prototype,d1=st.prototype,Hi=wt.prototype,fl=Z["__core-js_shared__"],dl=d1.toString,lt=Hi.hasOwnProperty,p1=0,mg=(function(){var i=/[^.]+$/.exec(fl&&fl.keys&&fl.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})(),pl=Hi.toString,h1=dl.call(wt),m1=an._,g1=mf("^"+dl.call(lt).replace(Xu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hl=Qm?Z.Buffer:n,$o=Z.Symbol,ml=Z.Uint8Array,gg=hl?hl.allocUnsafe:n,gl=pg(wt.getPrototypeOf,wt),yg=wt.create,bg=Hi.propertyIsEnumerable,yl=ul.splice,_g=$o?$o.isConcatSpreadable:n,Bs=$o?$o.iterator:n,ci=$o?$o.toStringTag:n,bl=(function(){try{var i=hi(wt,"defineProperty");return i({},"",{}),i}catch{}})(),y1=Z.clearTimeout!==an.clearTimeout&&Z.clearTimeout,b1=_e&&_e.now!==an.Date.now&&_e.now,_1=Z.setTimeout!==an.setTimeout&&Z.setTimeout,_l=qt.ceil,vl=qt.floor,gf=wt.getOwnPropertySymbols,v1=hl?hl.isBuffer:n,vg=Z.isFinite,w1=ul.join,E1=pg(wt.keys,wt),Yt=qt.max,hn=qt.min,S1=_e.now,C1=Z.parseInt,wg=qt.random,k1=ul.reverse,yf=hi(Z,"DataView"),Ws=hi(Z,"Map"),bf=hi(Z,"Promise"),Gi=hi(Z,"Set"),Vs=hi(Z,"WeakMap"),Hs=hi(wt,"create"),wl=Vs&&new Vs,Ki={},T1=mi(yf),x1=mi(Ws),O1=mi(bf),A1=mi(Gi),R1=mi(Vs),El=$o?$o.prototype:n,Gs=El?El.valueOf:n,Eg=El?El.toString:n;function C(i){if($t(i)&&!De(i)&&!(i instanceof Ke)){if(i instanceof fr)return i;if(lt.call(i,"__wrapped__"))return Sy(i)}return new fr(i)}var qi=(function(){function i(){}return function(l){if(!Nt(l))return{};if(yg)return yg(l);i.prototype=l;var d=new i;return i.prototype=n,d}})();function Sl(){}function fr(i,l){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=n}C.templateSettings={escape:HT,evaluate:GT,interpolate:Rm,variable:"",imports:{_:C}},C.prototype=Sl.prototype,C.prototype.constructor=C,fr.prototype=qi(Sl.prototype),fr.prototype.constructor=fr;function Ke(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ge,this.__views__=[]}function P1(){var i=new Ke(this.__wrapped__);return i.__actions__=Dn(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=Dn(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=Dn(this.__views__),i}function L1(){if(this.__filtered__){var i=new Ke(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function I1(){var i=this.__wrapped__.value(),l=this.__dir__,d=De(i),m=l<0,b=d?i.length:0,k=HO(0,b,this.__views__),D=k.start,$=k.end,V=$-D,oe=m?$:D-1,se=this.__iteratees__,le=se.length,me=0,Se=hn(V,this.__takeCount__);if(!d||!m&&b==V&&Se==V)return Gg(i,this.__actions__);var Ae=[];e:for(;V--&&me<Se;){oe+=l;for(var Be=-1,Te=i[oe];++Be<le;){var He=se[Be],Je=He.iteratee,Zn=He.type,An=Je(Te);if(Zn==ae)Te=An;else if(!An){if(Zn==re)continue e;break e}}Ae[me++]=Te}return Ae}Ke.prototype=qi(Sl.prototype),Ke.prototype.constructor=Ke;function ui(i){var l=-1,d=i==null?0:i.length;for(this.clear();++l<d;){var m=i[l];this.set(m[0],m[1])}}function M1(){this.__data__=Hs?Hs(null):{},this.size=0}function N1(i){var l=this.has(i)&&delete this.__data__[i];return this.size-=l?1:0,l}function D1(i){var l=this.__data__;if(Hs){var d=l[i];return d===f?n:d}return lt.call(l,i)?l[i]:n}function F1(i){var l=this.__data__;return Hs?l[i]!==n:lt.call(l,i)}function $1(i,l){var d=this.__data__;return this.size+=this.has(i)?0:1,d[i]=Hs&&l===n?f:l,this}ui.prototype.clear=M1,ui.prototype.delete=N1,ui.prototype.get=D1,ui.prototype.has=F1,ui.prototype.set=$1;function so(i){var l=-1,d=i==null?0:i.length;for(this.clear();++l<d;){var m=i[l];this.set(m[0],m[1])}}function j1(){this.__data__=[],this.size=0}function U1(i){var l=this.__data__,d=Cl(l,i);if(d<0)return!1;var m=l.length-1;return d==m?l.pop():yl.call(l,d,1),--this.size,!0}function z1(i){var l=this.__data__,d=Cl(l,i);return d<0?n:l[d][1]}function B1(i){return Cl(this.__data__,i)>-1}function W1(i,l){var d=this.__data__,m=Cl(d,i);return m<0?(++this.size,d.push([i,l])):d[m][1]=l,this}so.prototype.clear=j1,so.prototype.delete=U1,so.prototype.get=z1,so.prototype.has=B1,so.prototype.set=W1;function ao(i){var l=-1,d=i==null?0:i.length;for(this.clear();++l<d;){var m=i[l];this.set(m[0],m[1])}}function V1(){this.size=0,this.__data__={hash:new ui,map:new(Ws||so),string:new ui}}function H1(i){var l=Dl(this,i).delete(i);return this.size-=l?1:0,l}function G1(i){return Dl(this,i).get(i)}function K1(i){return Dl(this,i).has(i)}function q1(i,l){var d=Dl(this,i),m=d.size;return d.set(i,l),this.size+=d.size==m?0:1,this}ao.prototype.clear=V1,ao.prototype.delete=H1,ao.prototype.get=G1,ao.prototype.has=K1,ao.prototype.set=q1;function fi(i){var l=-1,d=i==null?0:i.length;for(this.__data__=new ao;++l<d;)this.add(i[l])}function Y1(i){return this.__data__.set(i,f),this}function X1(i){return this.__data__.has(i)}fi.prototype.add=fi.prototype.push=Y1,fi.prototype.has=X1;function kr(i){var l=this.__data__=new so(i);this.size=l.size}function J1(){this.__data__=new so,this.size=0}function Q1(i){var l=this.__data__,d=l.delete(i);return this.size=l.size,d}function Z1(i){return this.__data__.get(i)}function eO(i){return this.__data__.has(i)}function tO(i,l){var d=this.__data__;if(d instanceof so){var m=d.__data__;if(!Ws||m.length<o-1)return m.push([i,l]),this.size=++d.size,this;d=this.__data__=new ao(m)}return d.set(i,l),this.size=d.size,this}kr.prototype.clear=J1,kr.prototype.delete=Q1,kr.prototype.get=Z1,kr.prototype.has=eO,kr.prototype.set=tO;function Sg(i,l){var d=De(i),m=!d&&gi(i),b=!d&&!m&&Wo(i),k=!d&&!m&&!b&&Qi(i),D=d||m||b||k,$=D?df(i.length,f1):[],V=$.length;for(var oe in i)(l||lt.call(i,oe))&&!(D&&(oe=="length"||b&&(oe=="offset"||oe=="parent")||k&&(oe=="buffer"||oe=="byteLength"||oe=="byteOffset")||uo(oe,V)))&&$.push(oe);return $}function Cg(i){var l=i.length;return l?i[Af(0,l-1)]:n}function nO(i,l){return Fl(Dn(i),di(l,0,i.length))}function rO(i){return Fl(Dn(i))}function _f(i,l,d){(d!==n&&!xr(i[l],d)||d===n&&!(l in i))&&Wr(i,l,d)}function Ks(i,l,d){var m=i[l];(!(lt.call(i,l)&&xr(m,d))||d===n&&!(l in i))&&Wr(i,l,d)}function Cl(i,l){for(var d=i.length;d--;)if(xr(i[d][0],l))return d;return-1}function oO(i,l,d,m){return jo(i,function(b,k,D){l(m,b,d(b),D)}),m}function kg(i,l){return i&&Hr(l,Jt(l),i)}function iO(i,l){return i&&Hr(l,$n(l),i)}function Wr(i,l,d){l=="__proto__"&&bl?bl(i,l,{configurable:!0,enumerable:!0,value:d,writable:!0}):i[l]=d}function vf(i,l){for(var d=-1,m=l.length,b=Y(m),k=i==null;++d<m;)b[d]=k?n:td(i,l[d]);return b}function di(i,l,d){return i===i&&(d!==n&&(i=i<=d?i:d),l!==n&&(i=i>=l?i:l)),i}function dr(i,l,d,m,b,k){var D,$=l&g,V=l&y,oe=l&w;if(d&&(D=b?d(i,m,b,k):d(i)),D!==n)return D;if(!Nt(i))return i;var se=De(i);if(se){if(D=KO(i),!$)return Dn(i,D)}else{var le=mn(i),me=le==F||le==H;if(Wo(i))return Yg(i,$);if(le==L||le==Mt||me&&!b){if(D=V||me?{}:hy(i),!$)return V?DO(i,iO(D,i)):NO(i,kg(D,i))}else{if(!Et[le])return b?i:{};D=qO(i,le,$)}}k||(k=new kr);var Se=k.get(i);if(Se)return Se;k.set(i,D),Wy(i)?i.forEach(function(Te){D.add(dr(Te,l,d,Te,i,k))}):zy(i)&&i.forEach(function(Te,He){D.set(He,dr(Te,l,d,He,i,k))});var Ae=oe?V?Uf:jf:V?$n:Jt,Be=se?n:Ae(i);return Yn(Be||i,function(Te,He){Be&&(He=Te,Te=i[He]),Ks(D,He,dr(Te,l,d,He,i,k))}),D}function sO(i){var l=Jt(i);return function(d){return Tg(d,i,l)}}function Tg(i,l,d){var m=d.length;if(i==null)return!m;for(i=wt(i);m--;){var b=d[m],k=l[b],D=i[b];if(D===n&&!(b in i)||!k(D))return!1}return!0}function xg(i,l,d){if(typeof i!="function")throw new ur(a);return ea(function(){i.apply(n,d)},l)}function qs(i,l,d,m){var b=-1,k=al,D=!0,$=i.length,V=[],oe=l.length;if(!$)return V;d&&(l=Pt(l,Xn(d))),m?(k=sf,D=!1):l.length>=o&&(k=zs,D=!1,l=new fi(l));e:for(;++b<$;){var se=i[b],le=d==null?se:d(se);if(se=m||se!==0?se:0,D&&le===le){for(var me=oe;me--;)if(l[me]===le)continue e;V.push(se)}else k(l,le,m)||V.push(se)}return V}var jo=ey(Vr),Og=ey(Ef,!0);function aO(i,l){var d=!0;return jo(i,function(m,b,k){return d=!!l(m,b,k),d}),d}function kl(i,l,d){for(var m=-1,b=i.length;++m<b;){var k=i[m],D=l(k);if(D!=null&&($===n?D===D&&!Qn(D):d(D,$)))var $=D,V=k}return V}function lO(i,l,d,m){var b=i.length;for(d=Ue(d),d<0&&(d=-d>b?0:b+d),m=m===n||m>b?b:Ue(m),m<0&&(m+=b),m=d>m?0:Hy(m);d<m;)i[d++]=l;return i}function Ag(i,l){var d=[];return jo(i,function(m,b,k){l(m,b,k)&&d.push(m)}),d}function ln(i,l,d,m,b){var k=-1,D=i.length;for(d||(d=XO),b||(b=[]);++k<D;){var $=i[k];l>0&&d($)?l>1?ln($,l-1,d,m,b):Do(b,$):m||(b[b.length]=$)}return b}var wf=ty(),Rg=ty(!0);function Vr(i,l){return i&&wf(i,l,Jt)}function Ef(i,l){return i&&Rg(i,l,Jt)}function Tl(i,l){return No(l,function(d){return fo(i[d])})}function pi(i,l){l=zo(l,i);for(var d=0,m=l.length;i!=null&&d<m;)i=i[Tr(l[d++])];return d&&d==m?i:n}function Pg(i,l,d){var m=l(i);return De(i)?m:Do(m,d(i))}function xn(i){return i==null?i===n?X:Q:ci&&ci in wt(i)?VO(i):rA(i)}function Sf(i,l){return i>l}function cO(i,l){return i!=null&&lt.call(i,l)}function uO(i,l){return i!=null&&l in wt(i)}function fO(i,l,d){return i>=hn(l,d)&&i<Yt(l,d)}function Cf(i,l,d){for(var m=d?sf:al,b=i[0].length,k=i.length,D=k,$=Y(k),V=1/0,oe=[];D--;){var se=i[D];D&&l&&(se=Pt(se,Xn(l))),V=hn(se.length,V),$[D]=!d&&(l||b>=120&&se.length>=120)?new fi(D&&se):n}se=i[0];var le=-1,me=$[0];e:for(;++le<b&&oe.length<V;){var Se=se[le],Ae=l?l(Se):Se;if(Se=d||Se!==0?Se:0,!(me?zs(me,Ae):m(oe,Ae,d))){for(D=k;--D;){var Be=$[D];if(!(Be?zs(Be,Ae):m(i[D],Ae,d)))continue e}me&&me.push(Ae),oe.push(Se)}}return oe}function dO(i,l,d,m){return Vr(i,function(b,k,D){l(m,d(b),k,D)}),m}function Ys(i,l,d){l=zo(l,i),i=by(i,l);var m=i==null?i:i[Tr(hr(l))];return m==null?n:qn(m,i,d)}function Lg(i){return $t(i)&&xn(i)==Mt}function pO(i){return $t(i)&&xn(i)==$e}function hO(i){return $t(i)&&xn(i)==ve}function Xs(i,l,d,m,b){return i===l?!0:i==null||l==null||!$t(i)&&!$t(l)?i!==i&&l!==l:mO(i,l,d,m,Xs,b)}function mO(i,l,d,m,b,k){var D=De(i),$=De(l),V=D?ee:mn(i),oe=$?ee:mn(l);V=V==Mt?L:V,oe=oe==Mt?L:oe;var se=V==L,le=oe==L,me=V==oe;if(me&&Wo(i)){if(!Wo(l))return!1;D=!0,se=!1}if(me&&!se)return k||(k=new kr),D||Qi(i)?fy(i,l,d,m,b,k):BO(i,l,V,d,m,b,k);if(!(d&_)){var Se=se&&lt.call(i,"__wrapped__"),Ae=le&&lt.call(l,"__wrapped__");if(Se||Ae){var Be=Se?i.value():i,Te=Ae?l.value():l;return k||(k=new kr),b(Be,Te,d,m,k)}}return me?(k||(k=new kr),WO(i,l,d,m,b,k)):!1}function gO(i){return $t(i)&&mn(i)==J}function kf(i,l,d,m){var b=d.length,k=b,D=!m;if(i==null)return!k;for(i=wt(i);b--;){var $=d[b];if(D&&$[2]?$[1]!==i[$[0]]:!($[0]in i))return!1}for(;++b<k;){$=d[b];var V=$[0],oe=i[V],se=$[1];if(D&&$[2]){if(oe===n&&!(V in i))return!1}else{var le=new kr;if(m)var me=m(oe,se,V,i,l,le);if(!(me===n?Xs(se,oe,_|A,m,le):me))return!1}}return!0}function Ig(i){if(!Nt(i)||QO(i))return!1;var l=fo(i)?g1:sx;return l.test(mi(i))}function yO(i){return $t(i)&&xn(i)==W}function bO(i){return $t(i)&&mn(i)==fe}function _O(i){return $t(i)&&Wl(i.length)&&!!Ot[xn(i)]}function Mg(i){return typeof i=="function"?i:i==null?jn:typeof i=="object"?De(i)?Fg(i[0],i[1]):Dg(i):rb(i)}function Tf(i){if(!Zs(i))return E1(i);var l=[];for(var d in wt(i))lt.call(i,d)&&d!="constructor"&&l.push(d);return l}function vO(i){if(!Nt(i))return nA(i);var l=Zs(i),d=[];for(var m in i)m=="constructor"&&(l||!lt.call(i,m))||d.push(m);return d}function xf(i,l){return i<l}function Ng(i,l){var d=-1,m=Fn(i)?Y(i.length):[];return jo(i,function(b,k,D){m[++d]=l(b,k,D)}),m}function Dg(i){var l=Bf(i);return l.length==1&&l[0][2]?gy(l[0][0],l[0][1]):function(d){return d===i||kf(d,i,l)}}function Fg(i,l){return Vf(i)&&my(l)?gy(Tr(i),l):function(d){var m=td(d,i);return m===n&&m===l?nd(d,i):Xs(l,m,_|A)}}function xl(i,l,d,m,b){i!==l&&wf(l,function(k,D){if(b||(b=new kr),Nt(k))wO(i,l,D,d,xl,m,b);else{var $=m?m(Gf(i,D),k,D+"",i,l,b):n;$===n&&($=k),_f(i,D,$)}},$n)}function wO(i,l,d,m,b,k,D){var $=Gf(i,d),V=Gf(l,d),oe=D.get(V);if(oe){_f(i,d,oe);return}var se=k?k($,V,d+"",i,l,D):n,le=se===n;if(le){var me=De(V),Se=!me&&Wo(V),Ae=!me&&!Se&&Qi(V);se=V,me||Se||Ae?De($)?se=$:Ut($)?se=Dn($):Se?(le=!1,se=Yg(V,!0)):Ae?(le=!1,se=Xg(V,!0)):se=[]:ta(V)||gi(V)?(se=$,gi($)?se=Gy($):(!Nt($)||fo($))&&(se=hy(V))):le=!1}le&&(D.set(V,se),b(se,V,m,k,D),D.delete(V)),_f(i,d,se)}function $g(i,l){var d=i.length;if(d)return l+=l<0?d:0,uo(l,d)?i[l]:n}function jg(i,l,d){l.length?l=Pt(l,function(k){return De(k)?function(D){return pi(D,k.length===1?k[0]:k)}:k}):l=[jn];var m=-1;l=Pt(l,Xn(xe()));var b=Ng(i,function(k,D,$){var V=Pt(l,function(oe){return oe(k)});return{criteria:V,index:++m,value:k}});return qx(b,function(k,D){return MO(k,D,d)})}function EO(i,l){return Ug(i,l,function(d,m){return nd(i,m)})}function Ug(i,l,d){for(var m=-1,b=l.length,k={};++m<b;){var D=l[m],$=pi(i,D);d($,D)&&Js(k,zo(D,i),$)}return k}function SO(i){return function(l){return pi(l,i)}}function Of(i,l,d,m){var b=m?Kx:zi,k=-1,D=l.length,$=i;for(i===l&&(l=Dn(l)),d&&($=Pt(i,Xn(d)));++k<D;)for(var V=0,oe=l[k],se=d?d(oe):oe;(V=b($,se,V,m))>-1;)$!==i&&yl.call($,V,1),yl.call(i,V,1);return i}function zg(i,l){for(var d=i?l.length:0,m=d-1;d--;){var b=l[d];if(d==m||b!==k){var k=b;uo(b)?yl.call(i,b,1):Lf(i,b)}}return i}function Af(i,l){return i+vl(wg()*(l-i+1))}function CO(i,l,d,m){for(var b=-1,k=Yt(_l((l-i)/(d||1)),0),D=Y(k);k--;)D[m?k:++b]=i,i+=d;return D}function Rf(i,l){var d="";if(!i||l<1||l>We)return d;do l%2&&(d+=i),l=vl(l/2),l&&(i+=i);while(l);return d}function Ve(i,l){return Kf(yy(i,l,jn),i+"")}function kO(i){return Cg(Zi(i))}function TO(i,l){var d=Zi(i);return Fl(d,di(l,0,d.length))}function Js(i,l,d,m){if(!Nt(i))return i;l=zo(l,i);for(var b=-1,k=l.length,D=k-1,$=i;$!=null&&++b<k;){var V=Tr(l[b]),oe=d;if(V==="__proto__"||V==="constructor"||V==="prototype")return i;if(b!=D){var se=$[V];oe=m?m(se,V,$):n,oe===n&&(oe=Nt(se)?se:uo(l[b+1])?[]:{})}Ks($,V,oe),$=$[V]}return i}var Bg=wl?function(i,l){return wl.set(i,l),i}:jn,xO=bl?function(i,l){return bl(i,"toString",{configurable:!0,enumerable:!1,value:od(l),writable:!0})}:jn;function OO(i){return Fl(Zi(i))}function pr(i,l,d){var m=-1,b=i.length;l<0&&(l=-l>b?0:b+l),d=d>b?b:d,d<0&&(d+=b),b=l>d?0:d-l>>>0,l>>>=0;for(var k=Y(b);++m<b;)k[m]=i[m+l];return k}function AO(i,l){var d;return jo(i,function(m,b,k){return d=l(m,b,k),!d}),!!d}function Ol(i,l,d){var m=0,b=i==null?m:i.length;if(typeof l=="number"&&l===l&&b<=on){for(;m<b;){var k=m+b>>>1,D=i[k];D!==null&&!Qn(D)&&(d?D<=l:D<l)?m=k+1:b=k}return b}return Pf(i,l,jn,d)}function Pf(i,l,d,m){var b=0,k=i==null?0:i.length;if(k===0)return 0;l=d(l);for(var D=l!==l,$=l===null,V=Qn(l),oe=l===n;b<k;){var se=vl((b+k)/2),le=d(i[se]),me=le!==n,Se=le===null,Ae=le===le,Be=Qn(le);if(D)var Te=m||Ae;else oe?Te=Ae&&(m||me):$?Te=Ae&&me&&(m||!Se):V?Te=Ae&&me&&!Se&&(m||!Be):Se||Be?Te=!1:Te=m?le<=l:le<l;Te?b=se+1:k=se}return hn(k,dn)}function Wg(i,l){for(var d=-1,m=i.length,b=0,k=[];++d<m;){var D=i[d],$=l?l(D):D;if(!d||!xr($,V)){var V=$;k[b++]=D===0?0:D}}return k}function Vg(i){return typeof i=="number"?i:Qn(i)?tt:+i}function Jn(i){if(typeof i=="string")return i;if(De(i))return Pt(i,Jn)+"";if(Qn(i))return Eg?Eg.call(i):"";var l=i+"";return l=="0"&&1/i==-Ee?"-0":l}function Uo(i,l,d){var m=-1,b=al,k=i.length,D=!0,$=[],V=$;if(d)D=!1,b=sf;else if(k>=o){var oe=l?null:UO(i);if(oe)return cl(oe);D=!1,b=zs,V=new fi}else V=l?[]:$;e:for(;++m<k;){var se=i[m],le=l?l(se):se;if(se=d||se!==0?se:0,D&&le===le){for(var me=V.length;me--;)if(V[me]===le)continue e;l&&V.push(le),$.push(se)}else b(V,le,d)||(V!==$&&V.push(le),$.push(se))}return $}function Lf(i,l){l=zo(l,i);var d=-1,m=l.length;if(!m)return!0;for(;++d<m;){var b=Tr(l[d]);if(b==="__proto__"&&!lt.call(i,"__proto__")||(b==="constructor"||b==="prototype")&&d<m-1)return!1}var k=by(i,l);return k==null||delete k[Tr(hr(l))]}function Hg(i,l,d,m){return Js(i,l,d(pi(i,l)),m)}function Al(i,l,d,m){for(var b=i.length,k=m?b:-1;(m?k--:++k<b)&&l(i[k],k,i););return d?pr(i,m?0:k,m?k+1:b):pr(i,m?k+1:0,m?b:k)}function Gg(i,l){var d=i;return d instanceof Ke&&(d=d.value()),af(l,function(m,b){return b.func.apply(b.thisArg,Do([m],b.args))},d)}function If(i,l,d){var m=i.length;if(m<2)return m?Uo(i[0]):[];for(var b=-1,k=Y(m);++b<m;)for(var D=i[b],$=-1;++$<m;)$!=b&&(k[b]=qs(k[b]||D,i[$],l,d));return Uo(ln(k,1),l,d)}function Kg(i,l,d){for(var m=-1,b=i.length,k=l.length,D={};++m<b;){var $=m<k?l[m]:n;d(D,i[m],$)}return D}function Mf(i){return Ut(i)?i:[]}function Nf(i){return typeof i=="function"?i:jn}function zo(i,l){return De(i)?i:Vf(i,l)?[i]:Ey(ct(i))}var RO=Ve;function Bo(i,l,d){var m=i.length;return d=d===n?m:d,!l&&d>=m?i:pr(i,l,d)}var qg=y1||function(i){return an.clearTimeout(i)};function Yg(i,l){if(l)return i.slice();var d=i.length,m=gg?gg(d):new i.constructor(d);return i.copy(m),m}function Df(i){var l=new i.constructor(i.byteLength);return new ml(l).set(new ml(i)),l}function PO(i,l){var d=l?Df(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.byteLength)}function LO(i){var l=new i.constructor(i.source,Lm.exec(i));return l.lastIndex=i.lastIndex,l}function IO(i){return Gs?wt(Gs.call(i)):{}}function Xg(i,l){var d=l?Df(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.length)}function Jg(i,l){if(i!==l){var d=i!==n,m=i===null,b=i===i,k=Qn(i),D=l!==n,$=l===null,V=l===l,oe=Qn(l);if(!$&&!oe&&!k&&i>l||k&&D&&V&&!$&&!oe||m&&D&&V||!d&&V||!b)return 1;if(!m&&!k&&!oe&&i<l||oe&&d&&b&&!m&&!k||$&&d&&b||!D&&b||!V)return-1}return 0}function MO(i,l,d){for(var m=-1,b=i.criteria,k=l.criteria,D=b.length,$=d.length;++m<D;){var V=Jg(b[m],k[m]);if(V){if(m>=$)return V;var oe=d[m];return V*(oe=="desc"?-1:1)}}return i.index-l.index}function Qg(i,l,d,m){for(var b=-1,k=i.length,D=d.length,$=-1,V=l.length,oe=Yt(k-D,0),se=Y(V+oe),le=!m;++$<V;)se[$]=l[$];for(;++b<D;)(le||b<k)&&(se[d[b]]=i[b]);for(;oe--;)se[$++]=i[b++];return se}function Zg(i,l,d,m){for(var b=-1,k=i.length,D=-1,$=d.length,V=-1,oe=l.length,se=Yt(k-$,0),le=Y(se+oe),me=!m;++b<se;)le[b]=i[b];for(var Se=b;++V<oe;)le[Se+V]=l[V];for(;++D<$;)(me||b<k)&&(le[Se+d[D]]=i[b++]);return le}function Dn(i,l){var d=-1,m=i.length;for(l||(l=Y(m));++d<m;)l[d]=i[d];return l}function Hr(i,l,d,m){var b=!d;d||(d={});for(var k=-1,D=l.length;++k<D;){var $=l[k],V=m?m(d[$],i[$],$,d,i):n;V===n&&(V=i[$]),b?Wr(d,$,V):Ks(d,$,V)}return d}function NO(i,l){return Hr(i,Wf(i),l)}function DO(i,l){return Hr(i,dy(i),l)}function Rl(i,l){return function(d,m){var b=De(d)?zx:oO,k=l?l():{};return b(d,i,xe(m,2),k)}}function Yi(i){return Ve(function(l,d){var m=-1,b=d.length,k=b>1?d[b-1]:n,D=b>2?d[2]:n;for(k=i.length>3&&typeof k=="function"?(b--,k):n,D&&On(d[0],d[1],D)&&(k=b<3?n:k,b=1),l=wt(l);++m<b;){var $=d[m];$&&i(l,$,m,k)}return l})}function ey(i,l){return function(d,m){if(d==null)return d;if(!Fn(d))return i(d,m);for(var b=d.length,k=l?b:-1,D=wt(d);(l?k--:++k<b)&&m(D[k],k,D)!==!1;);return d}}function ty(i){return function(l,d,m){for(var b=-1,k=wt(l),D=m(l),$=D.length;$--;){var V=D[i?$:++b];if(d(k[V],V,k)===!1)break}return l}}function FO(i,l,d){var m=l&S,b=Qs(i);function k(){var D=this&&this!==an&&this instanceof k?b:i;return D.apply(m?d:this,arguments)}return k}function ny(i){return function(l){l=ct(l);var d=Bi(l)?Cr(l):n,m=d?d[0]:l.charAt(0),b=d?Bo(d,1).join(""):l.slice(1);return m[i]()+b}}function Xi(i){return function(l){return af(tb(eb(l).replace(xx,"")),i,"")}}function Qs(i){return function(){var l=arguments;switch(l.length){case 0:return new i;case 1:return new i(l[0]);case 2:return new i(l[0],l[1]);case 3:return new i(l[0],l[1],l[2]);case 4:return new i(l[0],l[1],l[2],l[3]);case 5:return new i(l[0],l[1],l[2],l[3],l[4]);case 6:return new i(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new i(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var d=qi(i.prototype),m=i.apply(d,l);return Nt(m)?m:d}}function $O(i,l,d){var m=Qs(i);function b(){for(var k=arguments.length,D=Y(k),$=k,V=Ji(b);$--;)D[$]=arguments[$];var oe=k<3&&D[0]!==V&&D[k-1]!==V?[]:Fo(D,V);if(k-=oe.length,k<d)return ay(i,l,Pl,b.placeholder,n,D,oe,n,n,d-k);var se=this&&this!==an&&this instanceof b?m:i;return qn(se,this,D)}return b}function ry(i){return function(l,d,m){var b=wt(l);if(!Fn(l)){var k=xe(d,3);l=Jt(l),d=function($){return k(b[$],$,b)}}var D=i(l,d,m);return D>-1?b[k?l[D]:D]:n}}function oy(i){return co(function(l){var d=l.length,m=d,b=fr.prototype.thru;for(i&&l.reverse();m--;){var k=l[m];if(typeof k!="function")throw new ur(a);if(b&&!D&&Nl(k)=="wrapper")var D=new fr([],!0)}for(m=D?m:d;++m<d;){k=l[m];var $=Nl(k),V=$=="wrapper"?zf(k):n;V&&Hf(V[0])&&V[1]==(T|E|O|N)&&!V[4].length&&V[9]==1?D=D[Nl(V[0])].apply(D,V[3]):D=k.length==1&&Hf(k)?D[$]():D.thru(k)}return function(){var oe=arguments,se=oe[0];if(D&&oe.length==1&&De(se))return D.plant(se).value();for(var le=0,me=d?l[le].apply(this,oe):se;++le<d;)me=l[le].call(this,me);return me}})}function Pl(i,l,d,m,b,k,D,$,V,oe){var se=l&T,le=l&S,me=l&v,Se=l&(E|R),Ae=l&K,Be=me?n:Qs(i);function Te(){for(var He=arguments.length,Je=Y(He),Zn=He;Zn--;)Je[Zn]=arguments[Zn];if(Se)var An=Ji(Te),er=Xx(Je,An);if(m&&(Je=Qg(Je,m,b,Se)),k&&(Je=Zg(Je,k,D,Se)),He-=er,Se&&He<oe){var zt=Fo(Je,An);return ay(i,l,Pl,Te.placeholder,d,Je,zt,$,V,oe-He)}var Or=le?d:this,ho=me?Or[i]:i;return He=Je.length,$?Je=oA(Je,$):Ae&&He>1&&Je.reverse(),se&&V<He&&(Je.length=V),this&&this!==an&&this instanceof Te&&(ho=Be||Qs(ho)),ho.apply(Or,Je)}return Te}function iy(i,l){return function(d,m){return dO(d,i,l(m),{})}}function Ll(i,l){return function(d,m){var b;if(d===n&&m===n)return l;if(d!==n&&(b=d),m!==n){if(b===n)return m;typeof d=="string"||typeof m=="string"?(d=Jn(d),m=Jn(m)):(d=Vg(d),m=Vg(m)),b=i(d,m)}return b}}function Ff(i){return co(function(l){return l=Pt(l,Xn(xe())),Ve(function(d){var m=this;return i(l,function(b){return qn(b,m,d)})})})}function Il(i,l){l=l===n?" ":Jn(l);var d=l.length;if(d<2)return d?Rf(l,i):l;var m=Rf(l,_l(i/Wi(l)));return Bi(l)?Bo(Cr(m),0,i).join(""):m.slice(0,i)}function jO(i,l,d,m){var b=l&S,k=Qs(i);function D(){for(var $=-1,V=arguments.length,oe=-1,se=m.length,le=Y(se+V),me=this&&this!==an&&this instanceof D?k:i;++oe<se;)le[oe]=m[oe];for(;V--;)le[oe++]=arguments[++$];return qn(me,b?d:this,le)}return D}function sy(i){return function(l,d,m){return m&&typeof m!="number"&&On(l,d,m)&&(d=m=n),l=po(l),d===n?(d=l,l=0):d=po(d),m=m===n?l<d?1:-1:po(m),CO(l,d,m,i)}}function Ml(i){return function(l,d){return typeof l=="string"&&typeof d=="string"||(l=mr(l),d=mr(d)),i(l,d)}}function ay(i,l,d,m,b,k,D,$,V,oe){var se=l&E,le=se?D:n,me=se?n:D,Se=se?k:n,Ae=se?n:k;l|=se?O:P,l&=~(se?P:O),l&x||(l&=-4);var Be=[i,l,b,Se,le,Ae,me,$,V,oe],Te=d.apply(n,Be);return Hf(i)&&_y(Te,Be),Te.placeholder=m,vy(Te,i,l)}function $f(i){var l=qt[i];return function(d,m){if(d=mr(d),m=m==null?0:hn(Ue(m),292),m&&vg(d)){var b=(ct(d)+"e").split("e"),k=l(b[0]+"e"+(+b[1]+m));return b=(ct(k)+"e").split("e"),+(b[0]+"e"+(+b[1]-m))}return l(d)}}var UO=Gi&&1/cl(new Gi([,-0]))[1]==Ee?function(i){return new Gi(i)}:ad;function ly(i){return function(l){var d=mn(l);return d==J?hf(l):d==fe?r1(l):Yx(l,i(l))}}function lo(i,l,d,m,b,k,D,$){var V=l&v;if(!V&&typeof i!="function")throw new ur(a);var oe=m?m.length:0;if(oe||(l&=-97,m=b=n),D=D===n?D:Yt(Ue(D),0),$=$===n?$:Ue($),oe-=b?b.length:0,l&P){var se=m,le=b;m=b=n}var me=V?n:zf(i),Se=[i,l,d,m,b,se,le,k,D,$];if(me&&tA(Se,me),i=Se[0],l=Se[1],d=Se[2],m=Se[3],b=Se[4],$=Se[9]=Se[9]===n?V?0:i.length:Yt(Se[9]-oe,0),!$&&l&(E|R)&&(l&=-25),!l||l==S)var Ae=FO(i,l,d);else l==E||l==R?Ae=$O(i,l,$):(l==O||l==(S|O))&&!b.length?Ae=jO(i,l,d,m):Ae=Pl.apply(n,Se);var Be=me?Bg:_y;return vy(Be(Ae,Se),i,l)}function cy(i,l,d,m){return i===n||xr(i,Hi[d])&&!lt.call(m,d)?l:i}function uy(i,l,d,m,b,k){return Nt(i)&&Nt(l)&&(k.set(l,i),xl(i,l,n,uy,k),k.delete(l)),i}function zO(i){return ta(i)?n:i}function fy(i,l,d,m,b,k){var D=d&_,$=i.length,V=l.length;if($!=V&&!(D&&V>$))return!1;var oe=k.get(i),se=k.get(l);if(oe&&se)return oe==l&&se==i;var le=-1,me=!0,Se=d&A?new fi:n;for(k.set(i,l),k.set(l,i);++le<$;){var Ae=i[le],Be=l[le];if(m)var Te=D?m(Be,Ae,le,l,i,k):m(Ae,Be,le,i,l,k);if(Te!==n){if(Te)continue;me=!1;break}if(Se){if(!lf(l,function(He,Je){if(!zs(Se,Je)&&(Ae===He||b(Ae,He,d,m,k)))return Se.push(Je)})){me=!1;break}}else if(!(Ae===Be||b(Ae,Be,d,m,k))){me=!1;break}}return k.delete(i),k.delete(l),me}function BO(i,l,d,m,b,k,D){switch(d){case Xe:if(i.byteLength!=l.byteLength||i.byteOffset!=l.byteOffset)return!1;i=i.buffer,l=l.buffer;case $e:return!(i.byteLength!=l.byteLength||!k(new ml(i),new ml(l)));case he:case ve:case te:return xr(+i,+l);case M:return i.name==l.name&&i.message==l.message;case W:case ie:return i==l+"";case J:var $=hf;case fe:var V=m&_;if($||($=cl),i.size!=l.size&&!V)return!1;var oe=D.get(i);if(oe)return oe==l;m|=A,D.set(i,l);var se=fy($(i),$(l),m,b,k,D);return D.delete(i),se;case U:if(Gs)return Gs.call(i)==Gs.call(l)}return!1}function WO(i,l,d,m,b,k){var D=d&_,$=jf(i),V=$.length,oe=jf(l),se=oe.length;if(V!=se&&!D)return!1;for(var le=V;le--;){var me=$[le];if(!(D?me in l:lt.call(l,me)))return!1}var Se=k.get(i),Ae=k.get(l);if(Se&&Ae)return Se==l&&Ae==i;var Be=!0;k.set(i,l),k.set(l,i);for(var Te=D;++le<V;){me=$[le];var He=i[me],Je=l[me];if(m)var Zn=D?m(Je,He,me,l,i,k):m(He,Je,me,i,l,k);if(!(Zn===n?He===Je||b(He,Je,d,m,k):Zn)){Be=!1;break}Te||(Te=me=="constructor")}if(Be&&!Te){var An=i.constructor,er=l.constructor;An!=er&&"constructor"in i&&"constructor"in l&&!(typeof An=="function"&&An instanceof An&&typeof er=="function"&&er instanceof er)&&(Be=!1)}return k.delete(i),k.delete(l),Be}function co(i){return Kf(yy(i,n,Ty),i+"")}function jf(i){return Pg(i,Jt,Wf)}function Uf(i){return Pg(i,$n,dy)}var zf=wl?function(i){return wl.get(i)}:ad;function Nl(i){for(var l=i.name+"",d=Ki[l],m=lt.call(Ki,l)?d.length:0;m--;){var b=d[m],k=b.func;if(k==null||k==i)return b.name}return l}function Ji(i){var l=lt.call(C,"placeholder")?C:i;return l.placeholder}function xe(){var i=C.iteratee||id;return i=i===id?Mg:i,arguments.length?i(arguments[0],arguments[1]):i}function Dl(i,l){var d=i.__data__;return JO(l)?d[typeof l=="string"?"string":"hash"]:d.map}function Bf(i){for(var l=Jt(i),d=l.length;d--;){var m=l[d],b=i[m];l[d]=[m,b,my(b)]}return l}function hi(i,l){var d=e1(i,l);return Ig(d)?d:n}function VO(i){var l=lt.call(i,ci),d=i[ci];try{i[ci]=n;var m=!0}catch{}var b=pl.call(i);return m&&(l?i[ci]=d:delete i[ci]),b}var Wf=gf?function(i){return i==null?[]:(i=wt(i),No(gf(i),function(l){return bg.call(i,l)}))}:ld,dy=gf?function(i){for(var l=[];i;)Do(l,Wf(i)),i=gl(i);return l}:ld,mn=xn;(yf&&mn(new yf(new ArrayBuffer(1)))!=Xe||Ws&&mn(new Ws)!=J||bf&&mn(bf.resolve())!=I||Gi&&mn(new Gi)!=fe||Vs&&mn(new Vs)!=be)&&(mn=function(i){var l=xn(i),d=l==L?i.constructor:n,m=d?mi(d):"";if(m)switch(m){case T1:return Xe;case x1:return J;case O1:return I;case A1:return fe;case R1:return be}return l});function HO(i,l,d){for(var m=-1,b=d.length;++m<b;){var k=d[m],D=k.size;switch(k.type){case"drop":i+=D;break;case"dropRight":l-=D;break;case"take":l=hn(l,i+D);break;case"takeRight":i=Yt(i,l-D);break}}return{start:i,end:l}}function GO(i){var l=i.match(ZT);return l?l[1].split(ex):[]}function py(i,l,d){l=zo(l,i);for(var m=-1,b=l.length,k=!1;++m<b;){var D=Tr(l[m]);if(!(k=i!=null&&d(i,D)))break;i=i[D]}return k||++m!=b?k:(b=i==null?0:i.length,!!b&&Wl(b)&&uo(D,b)&&(De(i)||gi(i)))}function KO(i){var l=i.length,d=new i.constructor(l);return l&&typeof i[0]=="string"&&lt.call(i,"index")&&(d.index=i.index,d.input=i.input),d}function hy(i){return typeof i.constructor=="function"&&!Zs(i)?qi(gl(i)):{}}function qO(i,l,d){var m=i.constructor;switch(l){case $e:return Df(i);case he:case ve:return new m(+i);case Xe:return PO(i,d);case Ze:case pn:case Tn:case io:case Fi:case sn:case Nn:case $i:case ji:return Xg(i,d);case J:return new m;case te:case ie:return new m(i);case W:return LO(i);case fe:return new m;case U:return IO(i)}}function YO(i,l){var d=l.length;if(!d)return i;var m=d-1;return l[m]=(d>1?"& ":"")+l[m],l=l.join(d>2?", ":" "),i.replace(QT,`{
26
- /* [wrapped with `+l+`] */
27
- `)}function XO(i){return De(i)||gi(i)||!!(_g&&i&&i[_g])}function uo(i,l){var d=typeof i;return l=l??We,!!l&&(d=="number"||d!="symbol"&&lx.test(i))&&i>-1&&i%1==0&&i<l}function On(i,l,d){if(!Nt(d))return!1;var m=typeof l;return(m=="number"?Fn(d)&&uo(l,d.length):m=="string"&&l in d)?xr(d[l],i):!1}function Vf(i,l){if(De(i))return!1;var d=typeof i;return d=="number"||d=="symbol"||d=="boolean"||i==null||Qn(i)?!0:qT.test(i)||!KT.test(i)||l!=null&&i in wt(l)}function JO(i){var l=typeof i;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?i!=="__proto__":i===null}function Hf(i){var l=Nl(i),d=C[l];if(typeof d!="function"||!(l in Ke.prototype))return!1;if(i===d)return!0;var m=zf(d);return!!m&&i===m[0]}function QO(i){return!!mg&&mg in i}var ZO=fl?fo:cd;function Zs(i){var l=i&&i.constructor,d=typeof l=="function"&&l.prototype||Hi;return i===d}function my(i){return i===i&&!Nt(i)}function gy(i,l){return function(d){return d==null?!1:d[i]===l&&(l!==n||i in wt(d))}}function eA(i){var l=zl(i,function(m){return d.size===p&&d.clear(),m}),d=l.cache;return l}function tA(i,l){var d=i[1],m=l[1],b=d|m,k=b<(S|v|T),D=m==T&&d==E||m==T&&d==N&&i[7].length<=l[8]||m==(T|N)&&l[7].length<=l[8]&&d==E;if(!(k||D))return i;m&S&&(i[2]=l[2],b|=d&S?0:x);var $=l[3];if($){var V=i[3];i[3]=V?Qg(V,$,l[4]):$,i[4]=V?Fo(i[3],h):l[4]}return $=l[5],$&&(V=i[5],i[5]=V?Zg(V,$,l[6]):$,i[6]=V?Fo(i[5],h):l[6]),$=l[7],$&&(i[7]=$),m&T&&(i[8]=i[8]==null?l[8]:hn(i[8],l[8])),i[9]==null&&(i[9]=l[9]),i[0]=l[0],i[1]=b,i}function nA(i){var l=[];if(i!=null)for(var d in wt(i))l.push(d);return l}function rA(i){return pl.call(i)}function yy(i,l,d){return l=Yt(l===n?i.length-1:l,0),function(){for(var m=arguments,b=-1,k=Yt(m.length-l,0),D=Y(k);++b<k;)D[b]=m[l+b];b=-1;for(var $=Y(l+1);++b<l;)$[b]=m[b];return $[l]=d(D),qn(i,this,$)}}function by(i,l){return l.length<2?i:pi(i,pr(l,0,-1))}function oA(i,l){for(var d=i.length,m=hn(l.length,d),b=Dn(i);m--;){var k=l[m];i[m]=uo(k,d)?b[k]:n}return i}function Gf(i,l){if(!(l==="constructor"&&typeof i[l]=="function")&&l!="__proto__")return i[l]}var _y=wy(Bg),ea=_1||function(i,l){return an.setTimeout(i,l)},Kf=wy(xO);function vy(i,l,d){var m=l+"";return Kf(i,YO(m,iA(GO(m),d)))}function wy(i){var l=0,d=0;return function(){var m=S1(),b=z-(m-d);if(d=m,b>0){if(++l>=de)return arguments[0]}else l=0;return i.apply(n,arguments)}}function Fl(i,l){var d=-1,m=i.length,b=m-1;for(l=l===n?m:l;++d<l;){var k=Af(d,b),D=i[k];i[k]=i[d],i[d]=D}return i.length=l,i}var Ey=eA(function(i){var l=[];return i.charCodeAt(0)===46&&l.push(""),i.replace(YT,function(d,m,b,k){l.push(b?k.replace(nx,"$1"):m||d)}),l});function Tr(i){if(typeof i=="string"||Qn(i))return i;var l=i+"";return l=="0"&&1/i==-Ee?"-0":l}function mi(i){if(i!=null){try{return dl.call(i)}catch{}try{return i+""}catch{}}return""}function iA(i,l){return Yn(kn,function(d){var m="_."+d[0];l&d[1]&&!al(i,m)&&i.push(m)}),i.sort()}function Sy(i){if(i instanceof Ke)return i.clone();var l=new fr(i.__wrapped__,i.__chain__);return l.__actions__=Dn(i.__actions__),l.__index__=i.__index__,l.__values__=i.__values__,l}function sA(i,l,d){(d?On(i,l,d):l===n)?l=1:l=Yt(Ue(l),0);var m=i==null?0:i.length;if(!m||l<1)return[];for(var b=0,k=0,D=Y(_l(m/l));b<m;)D[k++]=pr(i,b,b+=l);return D}function aA(i){for(var l=-1,d=i==null?0:i.length,m=0,b=[];++l<d;){var k=i[l];k&&(b[m++]=k)}return b}function lA(){var i=arguments.length;if(!i)return[];for(var l=Y(i-1),d=arguments[0],m=i;m--;)l[m-1]=arguments[m];return Do(De(d)?Dn(d):[d],ln(l,1))}var cA=Ve(function(i,l){return Ut(i)?qs(i,ln(l,1,Ut,!0)):[]}),uA=Ve(function(i,l){var d=hr(l);return Ut(d)&&(d=n),Ut(i)?qs(i,ln(l,1,Ut,!0),xe(d,2)):[]}),fA=Ve(function(i,l){var d=hr(l);return Ut(d)&&(d=n),Ut(i)?qs(i,ln(l,1,Ut,!0),n,d):[]});function dA(i,l,d){var m=i==null?0:i.length;return m?(l=d||l===n?1:Ue(l),pr(i,l<0?0:l,m)):[]}function pA(i,l,d){var m=i==null?0:i.length;return m?(l=d||l===n?1:Ue(l),l=m-l,pr(i,0,l<0?0:l)):[]}function hA(i,l){return i&&i.length?Al(i,xe(l,3),!0,!0):[]}function mA(i,l){return i&&i.length?Al(i,xe(l,3),!0):[]}function gA(i,l,d,m){var b=i==null?0:i.length;return b?(d&&typeof d!="number"&&On(i,l,d)&&(d=0,m=b),lO(i,l,d,m)):[]}function Cy(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var b=d==null?0:Ue(d);return b<0&&(b=Yt(m+b,0)),ll(i,xe(l,3),b)}function ky(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var b=m-1;return d!==n&&(b=Ue(d),b=d<0?Yt(m+b,0):hn(b,m-1)),ll(i,xe(l,3),b,!0)}function Ty(i){var l=i==null?0:i.length;return l?ln(i,1):[]}function yA(i){var l=i==null?0:i.length;return l?ln(i,Ee):[]}function bA(i,l){var d=i==null?0:i.length;return d?(l=l===n?1:Ue(l),ln(i,l)):[]}function _A(i){for(var l=-1,d=i==null?0:i.length,m={};++l<d;){var b=i[l];Wr(m,b[0],b[1])}return m}function xy(i){return i&&i.length?i[0]:n}function vA(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var b=d==null?0:Ue(d);return b<0&&(b=Yt(m+b,0)),zi(i,l,b)}function wA(i){var l=i==null?0:i.length;return l?pr(i,0,-1):[]}var EA=Ve(function(i){var l=Pt(i,Mf);return l.length&&l[0]===i[0]?Cf(l):[]}),SA=Ve(function(i){var l=hr(i),d=Pt(i,Mf);return l===hr(d)?l=n:d.pop(),d.length&&d[0]===i[0]?Cf(d,xe(l,2)):[]}),CA=Ve(function(i){var l=hr(i),d=Pt(i,Mf);return l=typeof l=="function"?l:n,l&&d.pop(),d.length&&d[0]===i[0]?Cf(d,n,l):[]});function kA(i,l){return i==null?"":w1.call(i,l)}function hr(i){var l=i==null?0:i.length;return l?i[l-1]:n}function TA(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var b=m;return d!==n&&(b=Ue(d),b=b<0?Yt(m+b,0):hn(b,m-1)),l===l?i1(i,l,b):ll(i,ag,b,!0)}function xA(i,l){return i&&i.length?$g(i,Ue(l)):n}var OA=Ve(Oy);function Oy(i,l){return i&&i.length&&l&&l.length?Of(i,l):i}function AA(i,l,d){return i&&i.length&&l&&l.length?Of(i,l,xe(d,2)):i}function RA(i,l,d){return i&&i.length&&l&&l.length?Of(i,l,n,d):i}var PA=co(function(i,l){var d=i==null?0:i.length,m=vf(i,l);return zg(i,Pt(l,function(b){return uo(b,d)?+b:b}).sort(Jg)),m});function LA(i,l){var d=[];if(!(i&&i.length))return d;var m=-1,b=[],k=i.length;for(l=xe(l,3);++m<k;){var D=i[m];l(D,m,i)&&(d.push(D),b.push(m))}return zg(i,b),d}function qf(i){return i==null?i:k1.call(i)}function IA(i,l,d){var m=i==null?0:i.length;return m?(d&&typeof d!="number"&&On(i,l,d)?(l=0,d=m):(l=l==null?0:Ue(l),d=d===n?m:Ue(d)),pr(i,l,d)):[]}function MA(i,l){return Ol(i,l)}function NA(i,l,d){return Pf(i,l,xe(d,2))}function DA(i,l){var d=i==null?0:i.length;if(d){var m=Ol(i,l);if(m<d&&xr(i[m],l))return m}return-1}function FA(i,l){return Ol(i,l,!0)}function $A(i,l,d){return Pf(i,l,xe(d,2),!0)}function jA(i,l){var d=i==null?0:i.length;if(d){var m=Ol(i,l,!0)-1;if(xr(i[m],l))return m}return-1}function UA(i){return i&&i.length?Wg(i):[]}function zA(i,l){return i&&i.length?Wg(i,xe(l,2)):[]}function BA(i){var l=i==null?0:i.length;return l?pr(i,1,l):[]}function WA(i,l,d){return i&&i.length?(l=d||l===n?1:Ue(l),pr(i,0,l<0?0:l)):[]}function VA(i,l,d){var m=i==null?0:i.length;return m?(l=d||l===n?1:Ue(l),l=m-l,pr(i,l<0?0:l,m)):[]}function HA(i,l){return i&&i.length?Al(i,xe(l,3),!1,!0):[]}function GA(i,l){return i&&i.length?Al(i,xe(l,3)):[]}var KA=Ve(function(i){return Uo(ln(i,1,Ut,!0))}),qA=Ve(function(i){var l=hr(i);return Ut(l)&&(l=n),Uo(ln(i,1,Ut,!0),xe(l,2))}),YA=Ve(function(i){var l=hr(i);return l=typeof l=="function"?l:n,Uo(ln(i,1,Ut,!0),n,l)});function XA(i){return i&&i.length?Uo(i):[]}function JA(i,l){return i&&i.length?Uo(i,xe(l,2)):[]}function QA(i,l){return l=typeof l=="function"?l:n,i&&i.length?Uo(i,n,l):[]}function Yf(i){if(!(i&&i.length))return[];var l=0;return i=No(i,function(d){if(Ut(d))return l=Yt(d.length,l),!0}),df(l,function(d){return Pt(i,cf(d))})}function Ay(i,l){if(!(i&&i.length))return[];var d=Yf(i);return l==null?d:Pt(d,function(m){return qn(l,n,m)})}var ZA=Ve(function(i,l){return Ut(i)?qs(i,l):[]}),eR=Ve(function(i){return If(No(i,Ut))}),tR=Ve(function(i){var l=hr(i);return Ut(l)&&(l=n),If(No(i,Ut),xe(l,2))}),nR=Ve(function(i){var l=hr(i);return l=typeof l=="function"?l:n,If(No(i,Ut),n,l)}),rR=Ve(Yf);function oR(i,l){return Kg(i||[],l||[],Ks)}function iR(i,l){return Kg(i||[],l||[],Js)}var sR=Ve(function(i){var l=i.length,d=l>1?i[l-1]:n;return d=typeof d=="function"?(i.pop(),d):n,Ay(i,d)});function Ry(i){var l=C(i);return l.__chain__=!0,l}function aR(i,l){return l(i),i}function $l(i,l){return l(i)}var lR=co(function(i){var l=i.length,d=l?i[0]:0,m=this.__wrapped__,b=function(k){return vf(k,i)};return l>1||this.__actions__.length||!(m instanceof Ke)||!uo(d)?this.thru(b):(m=m.slice(d,+d+(l?1:0)),m.__actions__.push({func:$l,args:[b],thisArg:n}),new fr(m,this.__chain__).thru(function(k){return l&&!k.length&&k.push(n),k}))});function cR(){return Ry(this)}function uR(){return new fr(this.value(),this.__chain__)}function fR(){this.__values__===n&&(this.__values__=Vy(this.value()));var i=this.__index__>=this.__values__.length,l=i?n:this.__values__[this.__index__++];return{done:i,value:l}}function dR(){return this}function pR(i){for(var l,d=this;d instanceof Sl;){var m=Sy(d);m.__index__=0,m.__values__=n,l?b.__wrapped__=m:l=m;var b=m;d=d.__wrapped__}return b.__wrapped__=i,l}function hR(){var i=this.__wrapped__;if(i instanceof Ke){var l=i;return this.__actions__.length&&(l=new Ke(this)),l=l.reverse(),l.__actions__.push({func:$l,args:[qf],thisArg:n}),new fr(l,this.__chain__)}return this.thru(qf)}function mR(){return Gg(this.__wrapped__,this.__actions__)}var gR=Rl(function(i,l,d){lt.call(i,d)?++i[d]:Wr(i,d,1)});function yR(i,l,d){var m=De(i)?ig:aO;return d&&On(i,l,d)&&(l=n),m(i,xe(l,3))}function bR(i,l){var d=De(i)?No:Ag;return d(i,xe(l,3))}var _R=ry(Cy),vR=ry(ky);function wR(i,l){return ln(jl(i,l),1)}function ER(i,l){return ln(jl(i,l),Ee)}function SR(i,l,d){return d=d===n?1:Ue(d),ln(jl(i,l),d)}function Py(i,l){var d=De(i)?Yn:jo;return d(i,xe(l,3))}function Ly(i,l){var d=De(i)?Bx:Og;return d(i,xe(l,3))}var CR=Rl(function(i,l,d){lt.call(i,d)?i[d].push(l):Wr(i,d,[l])});function kR(i,l,d,m){i=Fn(i)?i:Zi(i),d=d&&!m?Ue(d):0;var b=i.length;return d<0&&(d=Yt(b+d,0)),Vl(i)?d<=b&&i.indexOf(l,d)>-1:!!b&&zi(i,l,d)>-1}var TR=Ve(function(i,l,d){var m=-1,b=typeof l=="function",k=Fn(i)?Y(i.length):[];return jo(i,function(D){k[++m]=b?qn(l,D,d):Ys(D,l,d)}),k}),xR=Rl(function(i,l,d){Wr(i,d,l)});function jl(i,l){var d=De(i)?Pt:Ng;return d(i,xe(l,3))}function OR(i,l,d,m){return i==null?[]:(De(l)||(l=l==null?[]:[l]),d=m?n:d,De(d)||(d=d==null?[]:[d]),jg(i,l,d))}var AR=Rl(function(i,l,d){i[d?0:1].push(l)},function(){return[[],[]]});function RR(i,l,d){var m=De(i)?af:cg,b=arguments.length<3;return m(i,xe(l,4),d,b,jo)}function PR(i,l,d){var m=De(i)?Wx:cg,b=arguments.length<3;return m(i,xe(l,4),d,b,Og)}function LR(i,l){var d=De(i)?No:Ag;return d(i,Bl(xe(l,3)))}function IR(i){var l=De(i)?Cg:kO;return l(i)}function MR(i,l,d){(d?On(i,l,d):l===n)?l=1:l=Ue(l);var m=De(i)?nO:TO;return m(i,l)}function NR(i){var l=De(i)?rO:OO;return l(i)}function DR(i){if(i==null)return 0;if(Fn(i))return Vl(i)?Wi(i):i.length;var l=mn(i);return l==J||l==fe?i.size:Tf(i).length}function FR(i,l,d){var m=De(i)?lf:AO;return d&&On(i,l,d)&&(l=n),m(i,xe(l,3))}var $R=Ve(function(i,l){if(i==null)return[];var d=l.length;return d>1&&On(i,l[0],l[1])?l=[]:d>2&&On(l[0],l[1],l[2])&&(l=[l[0]]),jg(i,ln(l,1),[])}),Ul=b1||function(){return an.Date.now()};function jR(i,l){if(typeof l!="function")throw new ur(a);return i=Ue(i),function(){if(--i<1)return l.apply(this,arguments)}}function Iy(i,l,d){return l=d?n:l,l=i&&l==null?i.length:l,lo(i,T,n,n,n,n,l)}function My(i,l){var d;if(typeof l!="function")throw new ur(a);return i=Ue(i),function(){return--i>0&&(d=l.apply(this,arguments)),i<=1&&(l=n),d}}var Xf=Ve(function(i,l,d){var m=S;if(d.length){var b=Fo(d,Ji(Xf));m|=O}return lo(i,m,l,d,b)}),Ny=Ve(function(i,l,d){var m=S|v;if(d.length){var b=Fo(d,Ji(Ny));m|=O}return lo(l,m,i,d,b)});function Dy(i,l,d){l=d?n:l;var m=lo(i,E,n,n,n,n,n,l);return m.placeholder=Dy.placeholder,m}function Fy(i,l,d){l=d?n:l;var m=lo(i,R,n,n,n,n,n,l);return m.placeholder=Fy.placeholder,m}function $y(i,l,d){var m,b,k,D,$,V,oe=0,se=!1,le=!1,me=!0;if(typeof i!="function")throw new ur(a);l=mr(l)||0,Nt(d)&&(se=!!d.leading,le="maxWait"in d,k=le?Yt(mr(d.maxWait)||0,l):k,me="trailing"in d?!!d.trailing:me);function Se(zt){var Or=m,ho=b;return m=b=n,oe=zt,D=i.apply(ho,Or),D}function Ae(zt){return oe=zt,$=ea(He,l),se?Se(zt):D}function Be(zt){var Or=zt-V,ho=zt-oe,ob=l-Or;return le?hn(ob,k-ho):ob}function Te(zt){var Or=zt-V,ho=zt-oe;return V===n||Or>=l||Or<0||le&&ho>=k}function He(){var zt=Ul();if(Te(zt))return Je(zt);$=ea(He,Be(zt))}function Je(zt){return $=n,me&&m?Se(zt):(m=b=n,D)}function Zn(){$!==n&&qg($),oe=0,m=V=b=$=n}function An(){return $===n?D:Je(Ul())}function er(){var zt=Ul(),Or=Te(zt);if(m=arguments,b=this,V=zt,Or){if($===n)return Ae(V);if(le)return qg($),$=ea(He,l),Se(V)}return $===n&&($=ea(He,l)),D}return er.cancel=Zn,er.flush=An,er}var UR=Ve(function(i,l){return xg(i,1,l)}),zR=Ve(function(i,l,d){return xg(i,mr(l)||0,d)});function BR(i){return lo(i,K)}function zl(i,l){if(typeof i!="function"||l!=null&&typeof l!="function")throw new ur(a);var d=function(){var m=arguments,b=l?l.apply(this,m):m[0],k=d.cache;if(k.has(b))return k.get(b);var D=i.apply(this,m);return d.cache=k.set(b,D)||k,D};return d.cache=new(zl.Cache||ao),d}zl.Cache=ao;function Bl(i){if(typeof i!="function")throw new ur(a);return function(){var l=arguments;switch(l.length){case 0:return!i.call(this);case 1:return!i.call(this,l[0]);case 2:return!i.call(this,l[0],l[1]);case 3:return!i.call(this,l[0],l[1],l[2])}return!i.apply(this,l)}}function WR(i){return My(2,i)}var VR=RO(function(i,l){l=l.length==1&&De(l[0])?Pt(l[0],Xn(xe())):Pt(ln(l,1),Xn(xe()));var d=l.length;return Ve(function(m){for(var b=-1,k=hn(m.length,d);++b<k;)m[b]=l[b].call(this,m[b]);return qn(i,this,m)})}),Jf=Ve(function(i,l){var d=Fo(l,Ji(Jf));return lo(i,O,n,l,d)}),jy=Ve(function(i,l){var d=Fo(l,Ji(jy));return lo(i,P,n,l,d)}),HR=co(function(i,l){return lo(i,N,n,n,n,l)});function GR(i,l){if(typeof i!="function")throw new ur(a);return l=l===n?l:Ue(l),Ve(i,l)}function KR(i,l){if(typeof i!="function")throw new ur(a);return l=l==null?0:Yt(Ue(l),0),Ve(function(d){var m=d[l],b=Bo(d,0,l);return m&&Do(b,m),qn(i,this,b)})}function qR(i,l,d){var m=!0,b=!0;if(typeof i!="function")throw new ur(a);return Nt(d)&&(m="leading"in d?!!d.leading:m,b="trailing"in d?!!d.trailing:b),$y(i,l,{leading:m,maxWait:l,trailing:b})}function YR(i){return Iy(i,1)}function XR(i,l){return Jf(Nf(l),i)}function JR(){if(!arguments.length)return[];var i=arguments[0];return De(i)?i:[i]}function QR(i){return dr(i,w)}function ZR(i,l){return l=typeof l=="function"?l:n,dr(i,w,l)}function eP(i){return dr(i,g|w)}function tP(i,l){return l=typeof l=="function"?l:n,dr(i,g|w,l)}function nP(i,l){return l==null||Tg(i,l,Jt(l))}function xr(i,l){return i===l||i!==i&&l!==l}var rP=Ml(Sf),oP=Ml(function(i,l){return i>=l}),gi=Lg((function(){return arguments})())?Lg:function(i){return $t(i)&&lt.call(i,"callee")&&!bg.call(i,"callee")},De=Y.isArray,iP=Zm?Xn(Zm):pO;function Fn(i){return i!=null&&Wl(i.length)&&!fo(i)}function Ut(i){return $t(i)&&Fn(i)}function sP(i){return i===!0||i===!1||$t(i)&&xn(i)==he}var Wo=v1||cd,aP=eg?Xn(eg):hO;function lP(i){return $t(i)&&i.nodeType===1&&!ta(i)}function cP(i){if(i==null)return!0;if(Fn(i)&&(De(i)||typeof i=="string"||typeof i.splice=="function"||Wo(i)||Qi(i)||gi(i)))return!i.length;var l=mn(i);if(l==J||l==fe)return!i.size;if(Zs(i))return!Tf(i).length;for(var d in i)if(lt.call(i,d))return!1;return!0}function uP(i,l){return Xs(i,l)}function fP(i,l,d){d=typeof d=="function"?d:n;var m=d?d(i,l):n;return m===n?Xs(i,l,n,d):!!m}function Qf(i){if(!$t(i))return!1;var l=xn(i);return l==M||l==ze||typeof i.message=="string"&&typeof i.name=="string"&&!ta(i)}function dP(i){return typeof i=="number"&&vg(i)}function fo(i){if(!Nt(i))return!1;var l=xn(i);return l==F||l==H||l==ge||l==j}function Uy(i){return typeof i=="number"&&i==Ue(i)}function Wl(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=We}function Nt(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")}function $t(i){return i!=null&&typeof i=="object"}var zy=tg?Xn(tg):gO;function pP(i,l){return i===l||kf(i,l,Bf(l))}function hP(i,l,d){return d=typeof d=="function"?d:n,kf(i,l,Bf(l),d)}function mP(i){return By(i)&&i!=+i}function gP(i){if(ZO(i))throw new Me(s);return Ig(i)}function yP(i){return i===null}function bP(i){return i==null}function By(i){return typeof i=="number"||$t(i)&&xn(i)==te}function ta(i){if(!$t(i)||xn(i)!=L)return!1;var l=gl(i);if(l===null)return!0;var d=lt.call(l,"constructor")&&l.constructor;return typeof d=="function"&&d instanceof d&&dl.call(d)==h1}var Zf=ng?Xn(ng):yO;function _P(i){return Uy(i)&&i>=-We&&i<=We}var Wy=rg?Xn(rg):bO;function Vl(i){return typeof i=="string"||!De(i)&&$t(i)&&xn(i)==ie}function Qn(i){return typeof i=="symbol"||$t(i)&&xn(i)==U}var Qi=og?Xn(og):_O;function vP(i){return i===n}function wP(i){return $t(i)&&mn(i)==be}function EP(i){return $t(i)&&xn(i)==ke}var SP=Ml(xf),CP=Ml(function(i,l){return i<=l});function Vy(i){if(!i)return[];if(Fn(i))return Vl(i)?Cr(i):Dn(i);if(Bs&&i[Bs])return n1(i[Bs]());var l=mn(i),d=l==J?hf:l==fe?cl:Zi;return d(i)}function po(i){if(!i)return i===0?i:0;if(i=mr(i),i===Ee||i===-Ee){var l=i<0?-1:1;return l*rn}return i===i?i:0}function Ue(i){var l=po(i),d=l%1;return l===l?d?l-d:l:0}function Hy(i){return i?di(Ue(i),0,Ge):0}function mr(i){if(typeof i=="number")return i;if(Qn(i))return tt;if(Nt(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=Nt(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=ug(i);var d=ix.test(i);return d||ax.test(i)?jx(i.slice(2),d?2:8):ox.test(i)?tt:+i}function Gy(i){return Hr(i,$n(i))}function kP(i){return i?di(Ue(i),-We,We):i===0?i:0}function ct(i){return i==null?"":Jn(i)}var TP=Yi(function(i,l){if(Zs(l)||Fn(l)){Hr(l,Jt(l),i);return}for(var d in l)lt.call(l,d)&&Ks(i,d,l[d])}),Ky=Yi(function(i,l){Hr(l,$n(l),i)}),qy=Yi(function(i,l,d,m){Hr(l,$n(l),i,m)}),ed=Yi(function(i,l,d,m){Hr(l,Jt(l),i,m)}),xP=co(vf);function OP(i,l){var d=qi(i);return l==null?d:kg(d,l)}var AP=Ve(function(i,l){i=wt(i);var d=-1,m=l.length,b=m>2?l[2]:n;for(b&&On(l[0],l[1],b)&&(m=1);++d<m;)for(var k=l[d],D=$n(k),$=-1,V=D.length;++$<V;){var oe=D[$],se=i[oe];(se===n||xr(se,Hi[oe])&&!lt.call(i,oe))&&(i[oe]=k[oe])}return i}),RP=Ve(function(i){return i.push(n,uy),qn(Yy,n,i)});function PP(i,l){return sg(i,xe(l,3),Vr)}function LP(i,l){return sg(i,xe(l,3),Ef)}function IP(i,l){return i==null?i:wf(i,xe(l,3),$n)}function MP(i,l){return i==null?i:Rg(i,xe(l,3),$n)}function NP(i,l){return i&&Vr(i,xe(l,3))}function DP(i,l){return i&&Ef(i,xe(l,3))}function FP(i){return i==null?[]:Tl(i,Jt(i))}function $P(i){return i==null?[]:Tl(i,$n(i))}function td(i,l,d){var m=i==null?n:pi(i,l);return m===n?d:m}function jP(i,l){return i!=null&&py(i,l,cO)}function nd(i,l){return i!=null&&py(i,l,uO)}var UP=iy(function(i,l,d){l!=null&&typeof l.toString!="function"&&(l=pl.call(l)),i[l]=d},od(jn)),zP=iy(function(i,l,d){l!=null&&typeof l.toString!="function"&&(l=pl.call(l)),lt.call(i,l)?i[l].push(d):i[l]=[d]},xe),BP=Ve(Ys);function Jt(i){return Fn(i)?Sg(i):Tf(i)}function $n(i){return Fn(i)?Sg(i,!0):vO(i)}function WP(i,l){var d={};return l=xe(l,3),Vr(i,function(m,b,k){Wr(d,l(m,b,k),m)}),d}function VP(i,l){var d={};return l=xe(l,3),Vr(i,function(m,b,k){Wr(d,b,l(m,b,k))}),d}var HP=Yi(function(i,l,d){xl(i,l,d)}),Yy=Yi(function(i,l,d,m){xl(i,l,d,m)}),GP=co(function(i,l){var d={};if(i==null)return d;var m=!1;l=Pt(l,function(k){return k=zo(k,i),m||(m=k.length>1),k}),Hr(i,Uf(i),d),m&&(d=dr(d,g|y|w,zO));for(var b=l.length;b--;)Lf(d,l[b]);return d});function KP(i,l){return Xy(i,Bl(xe(l)))}var qP=co(function(i,l){return i==null?{}:EO(i,l)});function Xy(i,l){if(i==null)return{};var d=Pt(Uf(i),function(m){return[m]});return l=xe(l),Ug(i,d,function(m,b){return l(m,b[0])})}function YP(i,l,d){l=zo(l,i);var m=-1,b=l.length;for(b||(b=1,i=n);++m<b;){var k=i==null?n:i[Tr(l[m])];k===n&&(m=b,k=d),i=fo(k)?k.call(i):k}return i}function XP(i,l,d){return i==null?i:Js(i,l,d)}function JP(i,l,d,m){return m=typeof m=="function"?m:n,i==null?i:Js(i,l,d,m)}var Jy=ly(Jt),Qy=ly($n);function QP(i,l,d){var m=De(i),b=m||Wo(i)||Qi(i);if(l=xe(l,4),d==null){var k=i&&i.constructor;b?d=m?new k:[]:Nt(i)?d=fo(k)?qi(gl(i)):{}:d={}}return(b?Yn:Vr)(i,function(D,$,V){return l(d,D,$,V)}),d}function ZP(i,l){return i==null?!0:Lf(i,l)}function eL(i,l,d){return i==null?i:Hg(i,l,Nf(d))}function tL(i,l,d,m){return m=typeof m=="function"?m:n,i==null?i:Hg(i,l,Nf(d),m)}function Zi(i){return i==null?[]:pf(i,Jt(i))}function nL(i){return i==null?[]:pf(i,$n(i))}function rL(i,l,d){return d===n&&(d=l,l=n),d!==n&&(d=mr(d),d=d===d?d:0),l!==n&&(l=mr(l),l=l===l?l:0),di(mr(i),l,d)}function oL(i,l,d){return l=po(l),d===n?(d=l,l=0):d=po(d),i=mr(i),fO(i,l,d)}function iL(i,l,d){if(d&&typeof d!="boolean"&&On(i,l,d)&&(l=d=n),d===n&&(typeof l=="boolean"?(d=l,l=n):typeof i=="boolean"&&(d=i,i=n)),i===n&&l===n?(i=0,l=1):(i=po(i),l===n?(l=i,i=0):l=po(l)),i>l){var m=i;i=l,l=m}if(d||i%1||l%1){var b=wg();return hn(i+b*(l-i+$x("1e-"+((b+"").length-1))),l)}return Af(i,l)}var sL=Xi(function(i,l,d){return l=l.toLowerCase(),i+(d?Zy(l):l)});function Zy(i){return rd(ct(i).toLowerCase())}function eb(i){return i=ct(i),i&&i.replace(cx,Jx).replace(Ox,"")}function aL(i,l,d){i=ct(i),l=Jn(l);var m=i.length;d=d===n?m:di(Ue(d),0,m);var b=d;return d-=l.length,d>=0&&i.slice(d,b)==l}function lL(i){return i=ct(i),i&&VT.test(i)?i.replace(Am,Qx):i}function cL(i){return i=ct(i),i&&XT.test(i)?i.replace(Xu,"\\$&"):i}var uL=Xi(function(i,l,d){return i+(d?"-":"")+l.toLowerCase()}),fL=Xi(function(i,l,d){return i+(d?" ":"")+l.toLowerCase()}),dL=ny("toLowerCase");function pL(i,l,d){i=ct(i),l=Ue(l);var m=l?Wi(i):0;if(!l||m>=l)return i;var b=(l-m)/2;return Il(vl(b),d)+i+Il(_l(b),d)}function hL(i,l,d){i=ct(i),l=Ue(l);var m=l?Wi(i):0;return l&&m<l?i+Il(l-m,d):i}function mL(i,l,d){i=ct(i),l=Ue(l);var m=l?Wi(i):0;return l&&m<l?Il(l-m,d)+i:i}function gL(i,l,d){return d||l==null?l=0:l&&(l=+l),C1(ct(i).replace(Ju,""),l||0)}function yL(i,l,d){return(d?On(i,l,d):l===n)?l=1:l=Ue(l),Rf(ct(i),l)}function bL(){var i=arguments,l=ct(i[0]);return i.length<3?l:l.replace(i[1],i[2])}var _L=Xi(function(i,l,d){return i+(d?"_":"")+l.toLowerCase()});function vL(i,l,d){return d&&typeof d!="number"&&On(i,l,d)&&(l=d=n),d=d===n?Ge:d>>>0,d?(i=ct(i),i&&(typeof l=="string"||l!=null&&!Zf(l))&&(l=Jn(l),!l&&Bi(i))?Bo(Cr(i),0,d):i.split(l,d)):[]}var wL=Xi(function(i,l,d){return i+(d?" ":"")+rd(l)});function EL(i,l,d){return i=ct(i),d=d==null?0:di(Ue(d),0,i.length),l=Jn(l),i.slice(d,d+l.length)==l}function SL(i,l,d){var m=C.templateSettings;d&&On(i,l,d)&&(l=n),i=ct(i),l=ed({},l,m,cy);var b=ed({},l.imports,m.imports,cy),k=Jt(b),D=pf(b,k);Yn(k,function(Te){if(Pm.test(Te))throw new Me(u)});var $,V,oe=0,se=l.interpolate||ol,le="__p += '",me=mf((l.escape||ol).source+"|"+se.source+"|"+(se===Rm?rx:ol).source+"|"+(l.evaluate||ol).source+"|$","g"),Se="//# sourceURL="+(lt.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ix+"]")+`
28
- `;i.replace(me,function(Te,He,Je,Zn,An,er){return Je||(Je=Zn),le+=i.slice(oe,er).replace(ux,Zx),He&&($=!0,le+=`' +
29
- __e(`+He+`) +
30
- '`),An&&(V=!0,le+=`';
31
- `+An+`;
32
- __p += '`),Je&&(le+=`' +
33
- ((__t = (`+Je+`)) == null ? '' : __t) +
34
- '`),oe=er+Te.length,Te}),le+=`';
35
- `;var Ae=lt.call(l,"variable")&&l.variable;if(!Ae)le=`with (obj) {
36
- `+le+`
37
- }
38
- `;else if(Pm.test(Ae))throw new Me(c);le=(V?le.replace(UT,""):le).replace(zT,"$1").replace(BT,"$1;"),le="function("+(Ae||"obj")+`) {
39
- `+(Ae?"":`obj || (obj = {});
40
- `)+"var __t, __p = ''"+($?", __e = _.escape":"")+(V?`, __j = Array.prototype.join;
41
- function print() { __p += __j.call(arguments, '') }
42
- `:`;
43
- `)+le+`return __p
44
- }`;var Be=nb(function(){return st(k,Se+"return "+le).apply(n,D)});if(Be.source=le,Qf(Be))throw Be;return Be}function CL(i){return ct(i).toLowerCase()}function kL(i){return ct(i).toUpperCase()}function TL(i,l,d){if(i=ct(i),i&&(d||l===n))return ug(i);if(!i||!(l=Jn(l)))return i;var m=Cr(i),b=Cr(l),k=fg(m,b),D=dg(m,b)+1;return Bo(m,k,D).join("")}function xL(i,l,d){if(i=ct(i),i&&(d||l===n))return i.slice(0,hg(i)+1);if(!i||!(l=Jn(l)))return i;var m=Cr(i),b=dg(m,Cr(l))+1;return Bo(m,0,b).join("")}function OL(i,l,d){if(i=ct(i),i&&(d||l===n))return i.replace(Ju,"");if(!i||!(l=Jn(l)))return i;var m=Cr(i),b=fg(m,Cr(l));return Bo(m,b).join("")}function AL(i,l){var d=G,m=ne;if(Nt(l)){var b="separator"in l?l.separator:b;d="length"in l?Ue(l.length):d,m="omission"in l?Jn(l.omission):m}i=ct(i);var k=i.length;if(Bi(i)){var D=Cr(i);k=D.length}if(d>=k)return i;var $=d-Wi(m);if($<1)return m;var V=D?Bo(D,0,$).join(""):i.slice(0,$);if(b===n)return V+m;if(D&&($+=V.length-$),Zf(b)){if(i.slice($).search(b)){var oe,se=V;for(b.global||(b=mf(b.source,ct(Lm.exec(b))+"g")),b.lastIndex=0;oe=b.exec(se);)var le=oe.index;V=V.slice(0,le===n?$:le)}}else if(i.indexOf(Jn(b),$)!=$){var me=V.lastIndexOf(b);me>-1&&(V=V.slice(0,me))}return V+m}function RL(i){return i=ct(i),i&&WT.test(i)?i.replace(Om,s1):i}var PL=Xi(function(i,l,d){return i+(d?" ":"")+l.toUpperCase()}),rd=ny("toUpperCase");function tb(i,l,d){return i=ct(i),l=d?n:l,l===n?t1(i)?c1(i):Gx(i):i.match(l)||[]}var nb=Ve(function(i,l){try{return qn(i,n,l)}catch(d){return Qf(d)?d:new Me(d)}}),LL=co(function(i,l){return Yn(l,function(d){d=Tr(d),Wr(i,d,Xf(i[d],i))}),i});function IL(i){var l=i==null?0:i.length,d=xe();return i=l?Pt(i,function(m){if(typeof m[1]!="function")throw new ur(a);return[d(m[0]),m[1]]}):[],Ve(function(m){for(var b=-1;++b<l;){var k=i[b];if(qn(k[0],this,m))return qn(k[1],this,m)}})}function ML(i){return sO(dr(i,g))}function od(i){return function(){return i}}function NL(i,l){return i==null||i!==i?l:i}var DL=oy(),FL=oy(!0);function jn(i){return i}function id(i){return Mg(typeof i=="function"?i:dr(i,g))}function $L(i){return Dg(dr(i,g))}function jL(i,l){return Fg(i,dr(l,g))}var UL=Ve(function(i,l){return function(d){return Ys(d,i,l)}}),zL=Ve(function(i,l){return function(d){return Ys(i,d,l)}});function sd(i,l,d){var m=Jt(l),b=Tl(l,m);d==null&&!(Nt(l)&&(b.length||!m.length))&&(d=l,l=i,i=this,b=Tl(l,Jt(l)));var k=!(Nt(d)&&"chain"in d)||!!d.chain,D=fo(i);return Yn(b,function($){var V=l[$];i[$]=V,D&&(i.prototype[$]=function(){var oe=this.__chain__;if(k||oe){var se=i(this.__wrapped__),le=se.__actions__=Dn(this.__actions__);return le.push({func:V,args:arguments,thisArg:i}),se.__chain__=oe,se}return V.apply(i,Do([this.value()],arguments))})}),i}function BL(){return an._===this&&(an._=m1),this}function ad(){}function WL(i){return i=Ue(i),Ve(function(l){return $g(l,i)})}var VL=Ff(Pt),HL=Ff(ig),GL=Ff(lf);function rb(i){return Vf(i)?cf(Tr(i)):SO(i)}function KL(i){return function(l){return i==null?n:pi(i,l)}}var qL=sy(),YL=sy(!0);function ld(){return[]}function cd(){return!1}function XL(){return{}}function JL(){return""}function QL(){return!0}function ZL(i,l){if(i=Ue(i),i<1||i>We)return[];var d=Ge,m=hn(i,Ge);l=xe(l),i-=Ge;for(var b=df(m,l);++d<i;)l(d);return b}function eI(i){return De(i)?Pt(i,Tr):Qn(i)?[i]:Dn(Ey(ct(i)))}function tI(i){var l=++p1;return ct(i)+l}var nI=Ll(function(i,l){return i+l},0),rI=$f("ceil"),oI=Ll(function(i,l){return i/l},1),iI=$f("floor");function sI(i){return i&&i.length?kl(i,jn,Sf):n}function aI(i,l){return i&&i.length?kl(i,xe(l,2),Sf):n}function lI(i){return lg(i,jn)}function cI(i,l){return lg(i,xe(l,2))}function uI(i){return i&&i.length?kl(i,jn,xf):n}function fI(i,l){return i&&i.length?kl(i,xe(l,2),xf):n}var dI=Ll(function(i,l){return i*l},1),pI=$f("round"),hI=Ll(function(i,l){return i-l},0);function mI(i){return i&&i.length?ff(i,jn):0}function gI(i,l){return i&&i.length?ff(i,xe(l,2)):0}return C.after=jR,C.ary=Iy,C.assign=TP,C.assignIn=Ky,C.assignInWith=qy,C.assignWith=ed,C.at=xP,C.before=My,C.bind=Xf,C.bindAll=LL,C.bindKey=Ny,C.castArray=JR,C.chain=Ry,C.chunk=sA,C.compact=aA,C.concat=lA,C.cond=IL,C.conforms=ML,C.constant=od,C.countBy=gR,C.create=OP,C.curry=Dy,C.curryRight=Fy,C.debounce=$y,C.defaults=AP,C.defaultsDeep=RP,C.defer=UR,C.delay=zR,C.difference=cA,C.differenceBy=uA,C.differenceWith=fA,C.drop=dA,C.dropRight=pA,C.dropRightWhile=hA,C.dropWhile=mA,C.fill=gA,C.filter=bR,C.flatMap=wR,C.flatMapDeep=ER,C.flatMapDepth=SR,C.flatten=Ty,C.flattenDeep=yA,C.flattenDepth=bA,C.flip=BR,C.flow=DL,C.flowRight=FL,C.fromPairs=_A,C.functions=FP,C.functionsIn=$P,C.groupBy=CR,C.initial=wA,C.intersection=EA,C.intersectionBy=SA,C.intersectionWith=CA,C.invert=UP,C.invertBy=zP,C.invokeMap=TR,C.iteratee=id,C.keyBy=xR,C.keys=Jt,C.keysIn=$n,C.map=jl,C.mapKeys=WP,C.mapValues=VP,C.matches=$L,C.matchesProperty=jL,C.memoize=zl,C.merge=HP,C.mergeWith=Yy,C.method=UL,C.methodOf=zL,C.mixin=sd,C.negate=Bl,C.nthArg=WL,C.omit=GP,C.omitBy=KP,C.once=WR,C.orderBy=OR,C.over=VL,C.overArgs=VR,C.overEvery=HL,C.overSome=GL,C.partial=Jf,C.partialRight=jy,C.partition=AR,C.pick=qP,C.pickBy=Xy,C.property=rb,C.propertyOf=KL,C.pull=OA,C.pullAll=Oy,C.pullAllBy=AA,C.pullAllWith=RA,C.pullAt=PA,C.range=qL,C.rangeRight=YL,C.rearg=HR,C.reject=LR,C.remove=LA,C.rest=GR,C.reverse=qf,C.sampleSize=MR,C.set=XP,C.setWith=JP,C.shuffle=NR,C.slice=IA,C.sortBy=$R,C.sortedUniq=UA,C.sortedUniqBy=zA,C.split=vL,C.spread=KR,C.tail=BA,C.take=WA,C.takeRight=VA,C.takeRightWhile=HA,C.takeWhile=GA,C.tap=aR,C.throttle=qR,C.thru=$l,C.toArray=Vy,C.toPairs=Jy,C.toPairsIn=Qy,C.toPath=eI,C.toPlainObject=Gy,C.transform=QP,C.unary=YR,C.union=KA,C.unionBy=qA,C.unionWith=YA,C.uniq=XA,C.uniqBy=JA,C.uniqWith=QA,C.unset=ZP,C.unzip=Yf,C.unzipWith=Ay,C.update=eL,C.updateWith=tL,C.values=Zi,C.valuesIn=nL,C.without=ZA,C.words=tb,C.wrap=XR,C.xor=eR,C.xorBy=tR,C.xorWith=nR,C.zip=rR,C.zipObject=oR,C.zipObjectDeep=iR,C.zipWith=sR,C.entries=Jy,C.entriesIn=Qy,C.extend=Ky,C.extendWith=qy,sd(C,C),C.add=nI,C.attempt=nb,C.camelCase=sL,C.capitalize=Zy,C.ceil=rI,C.clamp=rL,C.clone=QR,C.cloneDeep=eP,C.cloneDeepWith=tP,C.cloneWith=ZR,C.conformsTo=nP,C.deburr=eb,C.defaultTo=NL,C.divide=oI,C.endsWith=aL,C.eq=xr,C.escape=lL,C.escapeRegExp=cL,C.every=yR,C.find=_R,C.findIndex=Cy,C.findKey=PP,C.findLast=vR,C.findLastIndex=ky,C.findLastKey=LP,C.floor=iI,C.forEach=Py,C.forEachRight=Ly,C.forIn=IP,C.forInRight=MP,C.forOwn=NP,C.forOwnRight=DP,C.get=td,C.gt=rP,C.gte=oP,C.has=jP,C.hasIn=nd,C.head=xy,C.identity=jn,C.includes=kR,C.indexOf=vA,C.inRange=oL,C.invoke=BP,C.isArguments=gi,C.isArray=De,C.isArrayBuffer=iP,C.isArrayLike=Fn,C.isArrayLikeObject=Ut,C.isBoolean=sP,C.isBuffer=Wo,C.isDate=aP,C.isElement=lP,C.isEmpty=cP,C.isEqual=uP,C.isEqualWith=fP,C.isError=Qf,C.isFinite=dP,C.isFunction=fo,C.isInteger=Uy,C.isLength=Wl,C.isMap=zy,C.isMatch=pP,C.isMatchWith=hP,C.isNaN=mP,C.isNative=gP,C.isNil=bP,C.isNull=yP,C.isNumber=By,C.isObject=Nt,C.isObjectLike=$t,C.isPlainObject=ta,C.isRegExp=Zf,C.isSafeInteger=_P,C.isSet=Wy,C.isString=Vl,C.isSymbol=Qn,C.isTypedArray=Qi,C.isUndefined=vP,C.isWeakMap=wP,C.isWeakSet=EP,C.join=kA,C.kebabCase=uL,C.last=hr,C.lastIndexOf=TA,C.lowerCase=fL,C.lowerFirst=dL,C.lt=SP,C.lte=CP,C.max=sI,C.maxBy=aI,C.mean=lI,C.meanBy=cI,C.min=uI,C.minBy=fI,C.stubArray=ld,C.stubFalse=cd,C.stubObject=XL,C.stubString=JL,C.stubTrue=QL,C.multiply=dI,C.nth=xA,C.noConflict=BL,C.noop=ad,C.now=Ul,C.pad=pL,C.padEnd=hL,C.padStart=mL,C.parseInt=gL,C.random=iL,C.reduce=RR,C.reduceRight=PR,C.repeat=yL,C.replace=bL,C.result=YP,C.round=pI,C.runInContext=B,C.sample=IR,C.size=DR,C.snakeCase=_L,C.some=FR,C.sortedIndex=MA,C.sortedIndexBy=NA,C.sortedIndexOf=DA,C.sortedLastIndex=FA,C.sortedLastIndexBy=$A,C.sortedLastIndexOf=jA,C.startCase=wL,C.startsWith=EL,C.subtract=hI,C.sum=mI,C.sumBy=gI,C.template=SL,C.times=ZL,C.toFinite=po,C.toInteger=Ue,C.toLength=Hy,C.toLower=CL,C.toNumber=mr,C.toSafeInteger=kP,C.toString=ct,C.toUpper=kL,C.trim=TL,C.trimEnd=xL,C.trimStart=OL,C.truncate=AL,C.unescape=RL,C.uniqueId=tI,C.upperCase=PL,C.upperFirst=rd,C.each=Py,C.eachRight=Ly,C.first=xy,sd(C,(function(){var i={};return Vr(C,function(l,d){lt.call(C.prototype,d)||(i[d]=l)}),i})(),{chain:!1}),C.VERSION=r,Yn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){C[i].placeholder=C}),Yn(["drop","take"],function(i,l){Ke.prototype[i]=function(d){d=d===n?1:Yt(Ue(d),0);var m=this.__filtered__&&!l?new Ke(this):this.clone();return m.__filtered__?m.__takeCount__=hn(d,m.__takeCount__):m.__views__.push({size:hn(d,Ge),type:i+(m.__dir__<0?"Right":"")}),m},Ke.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}}),Yn(["filter","map","takeWhile"],function(i,l){var d=l+1,m=d==re||d==ue;Ke.prototype[i]=function(b){var k=this.clone();return k.__iteratees__.push({iteratee:xe(b,3),type:d}),k.__filtered__=k.__filtered__||m,k}}),Yn(["head","last"],function(i,l){var d="take"+(l?"Right":"");Ke.prototype[i]=function(){return this[d](1).value()[0]}}),Yn(["initial","tail"],function(i,l){var d="drop"+(l?"":"Right");Ke.prototype[i]=function(){return this.__filtered__?new Ke(this):this[d](1)}}),Ke.prototype.compact=function(){return this.filter(jn)},Ke.prototype.find=function(i){return this.filter(i).head()},Ke.prototype.findLast=function(i){return this.reverse().find(i)},Ke.prototype.invokeMap=Ve(function(i,l){return typeof i=="function"?new Ke(this):this.map(function(d){return Ys(d,i,l)})}),Ke.prototype.reject=function(i){return this.filter(Bl(xe(i)))},Ke.prototype.slice=function(i,l){i=Ue(i);var d=this;return d.__filtered__&&(i>0||l<0)?new Ke(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),l!==n&&(l=Ue(l),d=l<0?d.dropRight(-l):d.take(l-i)),d)},Ke.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Ke.prototype.toArray=function(){return this.take(Ge)},Vr(Ke.prototype,function(i,l){var d=/^(?:filter|find|map|reject)|While$/.test(l),m=/^(?:head|last)$/.test(l),b=C[m?"take"+(l=="last"?"Right":""):l],k=m||/^find/.test(l);b&&(C.prototype[l]=function(){var D=this.__wrapped__,$=m?[1]:arguments,V=D instanceof Ke,oe=$[0],se=V||De(D),le=function(He){var Je=b.apply(C,Do([He],$));return m&&me?Je[0]:Je};se&&d&&typeof oe=="function"&&oe.length!=1&&(V=se=!1);var me=this.__chain__,Se=!!this.__actions__.length,Ae=k&&!me,Be=V&&!Se;if(!k&&se){D=Be?D:new Ke(this);var Te=i.apply(D,$);return Te.__actions__.push({func:$l,args:[le],thisArg:n}),new fr(Te,me)}return Ae&&Be?i.apply(this,$):(Te=this.thru(le),Ae?m?Te.value()[0]:Te.value():Te)})}),Yn(["pop","push","shift","sort","splice","unshift"],function(i){var l=ul[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",m=/^(?:pop|shift)$/.test(i);C.prototype[i]=function(){var b=arguments;if(m&&!this.__chain__){var k=this.value();return l.apply(De(k)?k:[],b)}return this[d](function(D){return l.apply(De(D)?D:[],b)})}}),Vr(Ke.prototype,function(i,l){var d=C[l];if(d){var m=d.name+"";lt.call(Ki,m)||(Ki[m]=[]),Ki[m].push({name:l,func:d})}}),Ki[Pl(n,v).name]=[{name:"wrapper",func:n}],Ke.prototype.clone=P1,Ke.prototype.reverse=L1,Ke.prototype.value=I1,C.prototype.at=lR,C.prototype.chain=cR,C.prototype.commit=uR,C.prototype.next=fR,C.prototype.plant=pR,C.prototype.reverse=hR,C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=mR,C.prototype.first=C.prototype.head,Bs&&(C.prototype[Bs]=dR),C}),Vi=u1();li?((li.exports=Vi)._=Vi,rf._=Vi):an._=Vi}).call(RV)})(xc,xc.exports)),xc.exports}var LV=PV();function nm(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function IV(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${nm(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function MV(e,t,n="hl"){if(!t?.trim())return e;const r=nm(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function NV(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const TC=e=>e.replace(/[/\\]/g,"/"),DV=(e,t="/")=>e.replace(/[\\/]+/g,t);function FV(){return"#"+LV.random(0,16777215).toString(16).padStart(6,"0")}const $V=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),xC=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),Zp=e=>{if(Array.isArray(e))return e.map(n=>Zp(n));if(e===null||typeof e!="object")return e;const t={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const r=xC(n);t[r]=Zp(e[n])}return t};function jV(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function UV(e){if(e<=0)throw new Error("长度必须大于0");let t="";for(;t.length<e;){const n=Math.floor(Math.random()*10);t.length===0&&n===0||(t+=n)}return t}function OC(e){if(e==null)return{valid:!1,reason:"validateHash.empty"};if(typeof e!="string")return{valid:!1,reason:"validateHash.notString",reasonParams:{type:typeof e}};const t=e.startsWith("#")?e.slice(1):e;if(t.length===0)return{valid:!1,reason:"validateHash.contentEmpty"};if(/^\d/.test(t))return{valid:!1,reason:"validateHash.startsWithNumber",reasonParams:{char:t[0]}};const n=t.match(/[^\p{L}\p{N}_\-() ]/u);if(n){const r=n[0],o=r.charCodeAt(0);return r==="`"?{valid:!1,reason:"validateHash.invalidCharBacktick"}:r===`
45
- `?{valid:!1,reason:"validateHash.invalidCharNewline"}:r==="\r"?{valid:!1,reason:"validateHash.invalidCharCarriageReturn"}:r===" "?{valid:!1,reason:"validateHash.invalidCharTab"}:r==="\f"?{valid:!1,reason:"validateHash.invalidCharFormFeed"}:r==="\v"?{valid:!1,reason:"validateHash.invalidCharVerticalTab"}:r==="#"?{valid:!1,reason:"validateHash.invalidCharHash"}:/[<>\\"'&]/.test(r)?{valid:!1,reason:"validateHash.invalidCharHtmlSpecial",reasonParams:{char:r}}:{valid:!1,reason:"validateHash.invalidCharUnknown",reasonParams:{char:r,code:o.toString(16).toUpperCase().padStart(4,"0")}}}return{valid:!0,normalized:t}}function zV(e){return OC(e).valid}function BV(e){return!e||!Array.isArray(e)?[]:[...new Set(e.map(t=>(t||"").trim().toLowerCase()).filter(Boolean))]}function WV(e){if(!e||e.length===0)return{valid:!0};if(e.length>5)return{valid:!1,error:"tagsMaxCount"};for(const t of e){if(!t)return{valid:!1,error:"tagsEmpty"};if(t.length>20)return{valid:!1,error:"tagsTooLong",tag:t};if(!/^[一-龥a-zA-Z0-9\-_]+$/.test(t))return{valid:!1,error:"tagsInvalidChars",tag:t}}return{valid:!0}}const VV=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Zp,escapeRegExp:nm,findKeywordLineIndex:NV,generateNumberString:UV,highlightText:MV,isEmail:$V,isValidHash:zV,normalizeTags:BV,randomColor:FV,replaceBackslashWithSlash:TC,replaceSlashWithSpecifiedSeparator:DV,splitTextByKeyword:IV,toCamelCase:xC,validateCompName:jV,validateHash:OC,validateTags:WV},Symbol.toStringTag,{value:"Module"}));function HV(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=TC(n);return`${e.replace(we.FILE_MANAGER_DIRNAME,"")}${r}`}function GV(e){const t={};return e.forEach(n=>{n?.parent?t[n?.parent?.name]=n?.parent?.version:t[n.name]=n.version}),Object.entries(t).map(([n,r])=>({name:n,version:r}))}const KV=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:HV,handleDepData:GV},Symbol.toStringTag,{value:"Module"})),gv=/^[\^~>=<]+/,AC=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function qV(e){return AC.test(e)}function oo(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(gv),n=t?t[0]:"",r=e.replace(gv,"").match(AC);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",s="0",a="0",c]=r,u=parseInt(o,10),f=parseInt(s,10),p=parseInt(a,10);return{raw:e,prefix:n,major:u,minor:f,patch:p,prerelease:c||null,majorVersion:o,version:`${u}.${f}.${p}`}}function YV(e,t){const n=oo(e),r=oo(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function XV(e){return oo(e).majorVersion}function JV(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=oo(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function hs(e,t){const n=oo(e),r=oo(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:a}=we;return n.major!==r.major?n.major>r.major?a:s:n.minor!==r.minor?n.minor>r.minor?a:s:n.patch!==r.patch?n.patch>r.patch?a:s:o}function QV(e,t){const n=oo(e),r=oo(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return hs(e,t.replace(">=",""))>=0;case">":return hs(e,t.replace(">",""))>0;case"<=":return hs(e,t.replace("<=",""))<=0;case"<":return hs(e,t.replace("<",""))<0;case"=":case"":return hs(e,t.replace("=",""))===0;default:return!1}}function ZV(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=oo(e),n=(c,u)=>{if(c<0||c>999)throw new Error(`版本号${u}位必须在 0-999 之间,当前值:${c}(原始输入:${e})`);return c},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),s=n(t.patch,"补丁版本"),a=r*1e6+o*1e3+s;if(!Number.isSafeInteger(a))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${a}(原始输入:${e})`);return a}const yv=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:hs,getMajorVersion:XV,isVersionEqual:YV,parseDependencies:JV,parseVersion:oo,satisfiesRange:QV,validateVersion:qV,versionToNumber:ZV},Symbol.toStringTag,{value:"Module"})),pa={WIDTH_FIRST:"widthFirst",HEIGHT_FIRST:"heightFirst",CONTAIN:"contain",COVER:"cover"},eH=({panelWidth:e,panelHeight:t,width:n,height:r,mode:o})=>{let s=1;switch(o){case pa.WIDTH_FIRST:s=e/n;break;case pa.HEIGHT_FIRST:s=t/r;break;case pa.CONTAIN:s=Math.min(e/n,t/r);break;case pa.COVER:s=Math.max(e/n,t/r);break;default:console.warn(`[panelScale] unknown mode: "${o}", fallback to scale=1`),s=1;break}const a=n*s,c=r*s,u=(e-a)/2,f=(t-c)/2;return{transform:`translate(${u}px, ${f}px) scale(${s})`,transformOrigin:"left top"}},bv=(e,t=pa.CONTAIN,n,r)=>!e||!n||!r?{transform:"translate(0px, 0px) scale(1)",transformOrigin:"left top"}:eH({panelWidth:e.clientWidth,panelHeight:e.clientHeight,width:n,height:r,mode:t}),Qo=0,pe=1,Fe=2,Wt=3,kt=4,Br=5,Uu=6,bn=7,Un=8,Ye=9,Ie=10,Dt=11,qe=12,Ft=13,nl=14,zn=15,Sn=16,Cn=17,Kn=18,lr=19,wr=20,it=21,Pe=22,nn=23,sr=24,fn=25,tH=0;function un(e){return e>=48&&e<=57}function oi(e){return un(e)||e>=65&&e<=70||e>=97&&e<=102}function rm(e){return e>=65&&e<=90}function nH(e){return e>=97&&e<=122}function rH(e){return rm(e)||nH(e)}function oH(e){return e>=128}function Qc(e){return rH(e)||oH(e)||e===95}function RC(e){return Qc(e)||un(e)||e===45}function iH(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Zc(e){return e===10||e===13||e===12}function Mi(e){return Zc(e)||e===32||e===9}function eo(e,t){return!(e!==92||Zc(t)||t===tH)}function Oc(e,t,n){return e===45?Qc(t)||t===45||eo(t,n):Qc(e)?!0:e===92?eo(e,t):!1}function Ud(e,t,n){return e===43||e===45?un(t)?2:t===46&&un(n)?3:0:e===46?un(t)?2:0:un(e)?1:0}function PC(e){return e===65279||e===65534?1:0}const eh=new Array(128),sH=128,Ac=130,LC=131,om=132,IC=133;for(let e=0;e<eh.length;e++)eh[e]=Mi(e)&&Ac||un(e)&&LC||Qc(e)&&om||iH(e)&&IC||e||sH;function zd(e){return e<128?eh[e]:om}function ws(e,t){return t<e.length?e.charCodeAt(t):0}function th(e,t,n){return n===13&&ws(e,t+1)===10?2:1}function Es(e,t,n){let r=e.charCodeAt(t);return rm(r)&&(r=r|32),r===n}function Ba(e,t,n,r){if(n-t!==r.length||t<0||n>e.length)return!1;for(let o=t;o<n;o++){const s=r.charCodeAt(o-t);let a=e.charCodeAt(o);if(rm(a)&&(a=a|32),a!==s)return!1}return!0}function aH(e,t){for(;t>=0&&Mi(e.charCodeAt(t));t--);return t+1}function ac(e,t){for(;t<e.length&&Mi(e.charCodeAt(t));t++);return t}function Bd(e,t){for(;t<e.length&&un(e.charCodeAt(t));t++);return t}function Ls(e,t){if(t+=2,oi(ws(e,t-1))){for(const r=Math.min(e.length,t+5);t<r&&oi(ws(e,t));t++);const n=ws(e,t);Mi(n)&&(t+=th(e,t,n))}return t}function lc(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!RC(n)){if(eo(n,ws(e,t+1))){t=Ls(e,t)-1;continue}break}}return t}function zu(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),un(n)&&(t=Bd(e,t+1),n=e.charCodeAt(t)),n===46&&un(e.charCodeAt(t+1))&&(t+=2,t=Bd(e,t)),Es(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),un(n)&&(t=Bd(e,t+1+r+1))}return t}function Wd(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(n===41){t++;break}eo(n,ws(e,t+1))&&(t=Ls(e,t))}return t}function MC(e){if(e.length===1&&!oi(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}const nh=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"],lH=16*1024;function eu(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,lH)):e}const _v=10,cH=12,vv=13;function wv(e){const t=e.source,n=t.length,r=t.length>0?PC(t.charCodeAt(0)):0,o=eu(e.lines,n),s=eu(e.columns,n);let a=e.startLine,c=e.startColumn;for(let u=r;u<n;u++){const f=t.charCodeAt(u);o[u]=a,s[u]=c++,(f===_v||f===vv||f===cH)&&(f===vv&&u+1<n&&t.charCodeAt(u+1)===_v&&(u++,o[u]=a,s[u]=c),a++,c=1)}o[n]=a,s[n]=c,e.lines=o,e.columns=s,e.computed=!0}class uH{constructor(t,n,r,o){this.setSource(t,n,r,o),this.lines=null,this.columns=null}setSource(t="",n=0,r=1,o=1){this.source=t,this.startOffset=n,this.startLine=r,this.startColumn=o,this.computed=!1}getLocation(t,n){return this.computed||wv(this),{source:n,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,n,r){return this.computed||wv(this),{source:r,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]}}}}const Ar=16777215,Rr=24,rl=1,Bu=2,Zo=new Uint8Array(32);Zo[Fe]=Pe;Zo[it]=Pe;Zo[lr]=wr;Zo[nn]=sr;const Lr=new Uint8Array(32);Lr[Fe]=rl;Lr[it]=rl;Lr[lr]=rl;Lr[nn]=rl;Lr[Pe]=Bu;Lr[wr]=Bu;Lr[sr]=Bu;function Ev(e,t,n){return e<t?t:e>n?n:e}class fH{constructor(t,n){this.setSource(t,n)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(t="",n=()=>{}){t=String(t||"");const r=t.length,o=eu(this.offsetAndType,t.length+1),s=eu(this.balance,t.length+1);let a=0,c=-1,u=0,f=t.length;this.offsetAndType=null,this.balance=null,s.fill(0),n(t,(p,h,g)=>{const y=a++;if(o[y]=p<<Rr|g,c===-1&&(c=h),s[y]=f,p===u){const w=s[f];s[f]=y,f=w,u=Zo[o[w]>>Rr]}else this.isBlockOpenerTokenType(p)&&(f=y,u=Zo[p])}),o[a]=Qo<<Rr|r,s[a]=a;for(let p=0;p<a;p++){const h=s[p];if(h<=p){const g=s[h];g!==p&&(s[p]=g)}else h>a&&(s[p]=a)}this.source=t,this.firstCharOffset=c===-1?0:c,this.tokenCount=a,this.offsetAndType=o,this.balance=s,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t]>>Rr:Qo}lookupTypeNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>Rr;if(r!==Ft&&r!==fn&&t--===0)return r}return Qo}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&Ar:this.source.length}lookupOffsetNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>Rr;if(r!==Ft&&r!==fn&&t--===0)return n-this.tokenIndex}return Qo}lookupValue(t,n){return t+=this.tokenIndex,t<this.tokenCount?Ba(this.source,this.offsetAndType[t-1]&Ar,this.offsetAndType[t]&Ar,n):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&Ar:this.offsetAndType[this.tokenCount]&Ar:this.firstCharOffset}getTokenEnd(t){return t===this.tokenIndex?this.tokenEnd:this.offsetAndType[Ev(t,0,this.tokenCount)]&Ar}getTokenType(t){return t===this.tokenIndex?this.tokenType:this.offsetAndType[Ev(t,0,this.tokenCount)]>>Rr}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBlockOpenerTokenType(t){return Lr[t]===rl}isBlockCloserTokenType(t){return Lr[t]===Bu}getBlockTokenPairIndex(t){const n=this.getTokenType(t);if(Lr[n]===1){const r=this.balance[t],o=this.getTokenType(r);return Zo[n]===o?r:-1}else if(Lr[n]===2){const r=this.balance[t],o=this.getTokenType(r);return Zo[o]===n?r:-1}return-1}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,n){return n?this.lookupType(n)===Ye&&this.source.charCodeAt(this.lookupOffset(n))===t:this.tokenType===Ye&&this.source.charCodeAt(this.tokenStart)===t}skip(t){let n=this.tokenIndex+t;n<this.tokenCount?(this.tokenIndex=n,this.tokenStart=this.offsetAndType[n-1]&Ar,n=this.offsetAndType[n],this.tokenType=n>>Rr,this.tokenEnd=n&Ar):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.tokenEnd,t=this.offsetAndType[t],this.tokenType=t>>Rr,this.tokenEnd=t&Ar):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=Qo,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===Ft||this.tokenType===fn;)this.next()}skipUntilBalanced(t,n){let r=t,o=0,s=0;e:for(;r<this.tokenCount;r++){if(o=this.balance[r],o<t)break e;switch(s=r>0?this.offsetAndType[r-1]&Ar:this.firstCharOffset,n(this.source.charCodeAt(s))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>Rr)&&(r=o)}}this.skip(r-this.tokenIndex)}forEachToken(t){for(let n=0,r=this.firstCharOffset;n<this.tokenCount;n++){const o=r,s=this.offsetAndType[n],a=s&Ar,c=s>>Rr;r=a,t(c,o,a,n)}}dump(){const t=new Array(this.tokenCount);return this.forEachToken((n,r,o,s)=>{t[s]={idx:s,type:nh[n],chunk:this.source.substring(r,o),balance:this.balance[s]}}),t}}function Wu(e,t){function n(h){return h<c?e.charCodeAt(h):0}function r(){if(f=zu(e,f),Oc(n(f),n(f+1),n(f+2))){p=qe,f=lc(e,f);return}if(n(f)===37){p=Dt,f++;return}p=Ie}function o(){const h=f;if(f=lc(e,f),Ba(e,h,f,"url")&&n(f)===40){if(f=ac(e,f+1),n(f)===34||n(f)===39){p=Fe,f=h+4;return}a();return}if(n(f)===40){p=Fe,f++;return}p=pe}function s(h){for(h||(h=n(f++)),p=Br;f<e.length;f++){const g=e.charCodeAt(f);switch(zd(g)){case h:f++;return;case Ac:if(Zc(g)){f+=th(e,f,g),p=Uu;return}break;case 92:if(f===e.length-1)break;const y=n(f+1);Zc(y)?f+=th(e,f+1,y):eo(g,y)&&(f=Ls(e,f)-1);break}}}function a(){for(p=bn,f=ac(e,f);f<e.length;f++){const h=e.charCodeAt(f);switch(zd(h)){case 41:f++;return;case Ac:if(f=ac(e,f),n(f)===41||f>=e.length){f<e.length&&f++;return}f=Wd(e,f),p=Un;return;case 34:case 39:case 40:case IC:f=Wd(e,f),p=Un;return;case 92:if(eo(h,n(f+1))){f=Ls(e,f)-1;break}f=Wd(e,f),p=Un;return}}}e=String(e||"");const c=e.length;let u=PC(n(0)),f=u,p;for(;f<c;){const h=e.charCodeAt(f);switch(zd(h)){case Ac:p=Ft,f=ac(e,f+1);break;case 34:s();break;case 35:RC(n(f+1))||eo(n(f+1),n(f+2))?(p=kt,f=lc(e,f+1)):(p=Ye,f++);break;case 39:s();break;case 40:p=it,f++;break;case 41:p=Pe,f++;break;case 43:Ud(h,n(f+1),n(f+2))?r():(p=Ye,f++);break;case 44:p=Kn,f++;break;case 45:Ud(h,n(f+1),n(f+2))?r():n(f+1)===45&&n(f+2)===62?(p=zn,f=f+3):Oc(h,n(f+1),n(f+2))?o():(p=Ye,f++);break;case 46:Ud(h,n(f+1),n(f+2))?r():(p=Ye,f++);break;case 47:n(f+1)===42?(p=fn,f=e.indexOf("*/",f+2),f=f===-1?e.length:f+2):(p=Ye,f++);break;case 58:p=Sn,f++;break;case 59:p=Cn,f++;break;case 60:n(f+1)===33&&n(f+2)===45&&n(f+3)===45?(p=nl,f=f+4):(p=Ye,f++);break;case 64:Oc(n(f+1),n(f+2),n(f+3))?(p=Wt,f=lc(e,f+1)):(p=Ye,f++);break;case 91:p=lr,f++;break;case 92:eo(h,n(f+1))?o():(p=Ye,f++);break;case 93:p=wr,f++;break;case 123:p=nn,f++;break;case 125:p=sr,f++;break;case LC:r();break;case om:o();break;default:p=Ye,f++}t(p,u,u=f)}}let rs=null;class Zt{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return Zt.createItem(t)}allocateCursor(t,n){let r;return rs!==null?(r=rs,rs=rs.cursor,r.prev=t,r.next=n,r.cursor=this.cursor):r={prev:t,next:n,cursor:this.cursor},this.cursor=r,r}releaseCursor(){const{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=rs,rs=t}updateCursors(t,n,r,o){let{cursor:s}=this;for(;s!==null;)s.prev===t&&(s.prev=n),s.next===r&&(s.next=o),s=s.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let n=this.head;n!==null;n=n.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let n=null;this.head=null;for(let r of t){const o=Zt.createItem(r);n!==null?n.next=o:this.head=o,o.prev=n,n=o}return this.tail=n,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,n=this){const r=this.allocateCursor(null,this.head);for(;r.next!==null;){const o=r.next;r.next=o.next,t.call(n,o.data,o,this)}this.releaseCursor()}forEachRight(t,n=this){const r=this.allocateCursor(this.tail,null);for(;r.prev!==null;){const o=r.prev;r.prev=o.prev,t.call(n,o.data,o,this)}this.releaseCursor()}reduce(t,n,r=this){let o=this.allocateCursor(null,this.head),s=n,a;for(;o.next!==null;)a=o.next,o.next=a.next,s=t.call(r,s,a.data,a,this);return this.releaseCursor(),s}reduceRight(t,n,r=this){let o=this.allocateCursor(this.tail,null),s=n,a;for(;o.prev!==null;)a=o.prev,o.prev=a.prev,s=t.call(r,s,a.data,a,this);return this.releaseCursor(),s}some(t,n=this){for(let r=this.head;r!==null;r=r.next)if(t.call(n,r.data,r,this))return!0;return!1}map(t,n=this){const r=new Zt;for(let o=this.head;o!==null;o=o.next)r.appendData(t.call(n,o.data,o,this));return r}filter(t,n=this){const r=new Zt;for(let o=this.head;o!==null;o=o.next)t.call(n,o.data,o,this)&&r.appendData(o.data);return r}nextUntil(t,n,r=this){if(t===null)return;const o=this.allocateCursor(null,t);for(;o.next!==null;){const s=o.next;if(o.next=s.next,n.call(r,s.data,s,this))break}this.releaseCursor()}prevUntil(t,n,r=this){if(t===null)return;const o=this.allocateCursor(t,null);for(;o.prev!==null;){const s=o.prev;if(o.prev=s.prev,n.call(r,s.data,s,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const t=new Zt;for(let n of this)t.appendData(n);return t}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}prependData(t){return this.prepend(Zt.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(Zt.createItem(t))}insert(t,n=null){if(n!==null)if(this.updateCursors(n.prev,t,n,t),n.prev===null){if(this.head!==n)throw new Error("before doesn't belong to list");this.head=t,n.prev=t,t.next=n,this.updateCursors(null,t)}else n.prev.next=t,t.prev=n.prev,n.prev=t,t.next=n;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}insertData(t,n){return this.insert(Zt.createItem(t),n)}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(Zt.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(Zt.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}prependList(t){return this.insertList(t,this.head)}appendList(t){return this.insertList(t)}insertList(t,n){return t.head===null?this:(n!=null?(this.updateCursors(n.prev,t.tail,n,t.head),n.prev!==null?(n.prev.next=t.head,t.head.prev=n.prev):this.head=t.head,n.prev=t.tail,t.tail.next=n):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,n){"head"in n?this.insertList(n,t):this.insert(n,t),this.remove(t)}}function Vu(e,t){const n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
46
- `)}})}const Vd=100,Sv=60,Cv=" ";function kv({source:e,line:t,column:n,baseLine:r,baseColumn:o},s){function a(w,_){return f.slice(w,_).map((A,S)=>String(w+S+1).padStart(g)+" |"+A).join(`
47
- `)}const c=`
48
- `.repeat(Math.max(r-1,0)),u=" ".repeat(Math.max(o-1,0)),f=(c+u+e).split(/\r\n?|\n|\f/),p=Math.max(1,t-s)-1,h=Math.min(t+s,f.length+1),g=Math.max(4,String(h).length)+1;let y=0;n+=(Cv.length-1)*(f[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>Vd&&(y=n-Sv+3,n=Sv-2);for(let w=p;w<=h;w++)w>=0&&w<f.length&&(f[w]=f[w].replace(/\t/g,Cv),f[w]=(y>0&&f[w].length>y?"…":"")+f[w].substr(y,Vd-2)+(f[w].length>y+Vd-1?"…":""));return[a(p,t),new Array(n+g+2).join("-")+"^",a(t,h)].filter(Boolean).join(`
49
- `).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function Tv(e,t,n,r,o,s=1,a=1){return Object.assign(Vu("SyntaxError",e),{source:t,offset:n,line:r,column:o,sourceFragment(u){return kv({source:t,line:r,column:o,baseLine:s,baseColumn:a},isNaN(u)?0:u)},get formattedMessage(){return`Parse error: ${e}
50
- `+kv({source:t,line:r,column:o,baseLine:s,baseColumn:a},2)}})}function dH(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case fn:this.next();continue;case Ft:n=!0,this.next();continue}let o=e.getNode.call(this,r);if(o===void 0)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,o,t,r),n=!1),t.push(o)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}const os=()=>{},pH=33,hH=35,Hd=59,xv=123,Ov=0,mH={createList(){return[]},createSingleNodeList(e){return[e]},getFirstListNode(e){return e&&e[0]||null},getLastListNode(e){return e&&e.length>0?e[e.length-1]:null}},gH={createList(){return new Zt},createSingleNodeList(e){return new Zt().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}};function yH(e){return function(){return this[e]()}}function Gd(e){const t=Object.create(null);for(const n of Object.keys(e)){const r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}function bH(e){const t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Gd(e.atrule),pseudo:Gd(e.pseudo),node:Gd(e.node)};for(const[n,r]of Object.entries(e.parseContext))switch(typeof r){case"function":t.context[n]=r;break;case"string":t.context[n]=yH(r);break}return{config:t,...t,...t.node}}function _H(e){let t="",n="<unknown>",r=!1,o=os,s=!1;const a=new uH,c=Object.assign(new fH,bH(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:dH,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(p){return p===xv?1:0},consumeUntilLeftCurlyBracketOrSemicolon(p){return p===xv||p===Hd?1:0},consumeUntilExclamationMarkOrSemicolon(p){return p===pH||p===Hd?1:0},consumeUntilSemicolonIncluded(p){return p===Hd?2:0},createList:os,createSingleNodeList:os,getFirstListNode:os,getLastListNode:os,parseWithFallback(p,h){const g=this.tokenIndex;try{return p.call(this)}catch(y){if(s)throw y;this.skip(g-this.tokenIndex);const w=h.call(this);return s=!0,o(y,w),s=!1,w}},lookupNonWSType(p){let h;do if(h=this.lookupType(p++),h!==Ft&&h!==fn)return h;while(h!==Ov);return Ov},charCodeAt(p){return p>=0&&p<t.length?t.charCodeAt(p):0},substring(p,h){return t.substring(p,h)},substrToCursor(p){return this.source.substring(p,this.tokenStart)},cmpChar(p,h){return Es(t,p,h)},cmpStr(p,h,g){return Ba(t,p,h,g)},consume(p){const h=this.tokenStart;return this.eat(p),this.substrToCursor(h)},consumeFunctionName(){const p=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(Fe),p},consumeNumber(p){const h=t.substring(this.tokenStart,zu(t,this.tokenStart));return this.eat(p),h},eat(p){if(this.tokenType!==p){const h=nh[p].slice(0,-6).replace(/-/g," ").replace(/^./,w=>w.toUpperCase());let g=`${/[[\](){}]/.test(h)?`"${h}"`:h} is expected`,y=this.tokenStart;switch(p){case pe:this.tokenType===Fe||this.tokenType===bn?(y=this.tokenEnd-1,g="Identifier is expected but function found"):g="Identifier is expected";break;case kt:this.isDelim(hH)&&(this.next(),y++,g="Name is expected");break;case Dt:this.tokenType===Ie&&(y=this.tokenEnd,g="Percent sign is expected");break}this.error(g,y)}this.next()},eatIdent(p){(this.tokenType!==pe||this.lookupValue(0,p)===!1)&&this.error(`Identifier "${p}" is expected`),this.next()},eatDelim(p){this.isDelim(p)||this.error(`Delim "${String.fromCharCode(p)}" is expected`),this.next()},getLocation(p,h){return r?a.getLocationRange(p,h,n):null},getLocationFromList(p){if(r){const h=this.getFirstListNode(p),g=this.getLastListNode(p);return a.getLocationRange(h!==null?h.loc.start.offset-a.startOffset:this.tokenStart,g!==null?g.loc.end.offset-a.startOffset:this.tokenStart,n)}return null},error(p,h){const g=typeof h<"u"&&h<t.length?a.getLocation(h):this.eof?a.getLocation(aH(t,t.length-1)):a.getLocation(this.tokenStart);throw new Tv(p||"Unexpected input",t,g.offset,g.line,g.column,a.startLine,a.startColumn)}}),u=()=>({filename:n,source:t,tokenCount:c.tokenCount,getTokenType:p=>c.getTokenType(p),getTokenTypeName:p=>nh[c.getTokenType(p)],getTokenStart:p=>c.getTokenStart(p),getTokenEnd:p=>c.getTokenEnd(p),getTokenValue:p=>c.source.substring(c.getTokenStart(p),c.getTokenEnd(p)),substring:(p,h)=>c.source.substring(p,h),balance:c.balance.subarray(0,c.tokenCount+1),isBlockOpenerTokenType:c.isBlockOpenerTokenType,isBlockCloserTokenType:c.isBlockCloserTokenType,getBlockTokenPairIndex:p=>c.getBlockTokenPairIndex(p),getLocation:p=>a.getLocation(p,n),getRangeLocation:(p,h)=>a.getLocationRange(p,h,n)});return Object.assign(function(p,h){t=p,h=h||{},c.setSource(t,Wu),a.setSource(t,h.offset,h.line,h.column),n=h.filename||"<unknown>",r=!!h.positions,o=typeof h.onParseError=="function"?h.onParseError:os,s=!1,c.parseAtrulePrelude="parseAtrulePrelude"in h?!!h.parseAtrulePrelude:!0,c.parseRulePrelude="parseRulePrelude"in h?!!h.parseRulePrelude:!0,c.parseValue="parseValue"in h?!!h.parseValue:!0,c.parseCustomProperty="parseCustomProperty"in h?!!h.parseCustomProperty:!1;const{context:g="default",list:y=!0,onComment:w,onToken:_}=h;if(!(g in c.context))throw new Error("Unknown context `"+g+"`");Object.assign(c,y?gH:mH),Array.isArray(_)?c.forEachToken((S,v,x)=>{_.push({type:S,start:v,end:x})}):typeof _=="function"&&c.forEachToken(_.bind(u())),typeof w=="function"&&c.forEachToken((S,v,x)=>{if(S===fn){const E=c.getLocation(v,x),R=Ba(t,x-2,x,"*/")?t.slice(v+2,x-2):t.slice(v+2,x);w(R,E)}});const A=c.context[g].call(c,h);return c.eof||c.error(),A},{SyntaxError:Tv,config:c.config})}var Kd={},cc={},uc={},Av;function vH(){if(Av)return uc;Av=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return uc.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},uc.decode=function(t){var n=65,r=90,o=97,s=122,a=48,c=57,u=43,f=47,p=26,h=52;return n<=t&&t<=r?t-n:o<=t&&t<=s?t-o+p:a<=t&&t<=c?t-a+h:t==u?62:t==f?63:-1},uc}var Rv;function wH(){if(Rv)return cc;Rv=1;var e=vH(),t=5,n=1<<t,r=n-1,o=n;function s(c){return c<0?(-c<<1)+1:(c<<1)+0}function a(c){var u=(c&1)===1,f=c>>1;return u?-f:f}return cc.encode=function(u){var f="",p,h=s(u);do p=h&r,h>>>=t,h>0&&(p|=o),f+=e.encode(p);while(h>0);return f},cc.decode=function(u,f,p){var h=u.length,g=0,y=0,w,_;do{if(f>=h)throw new Error("Expected more digits in base 64 VLQ value.");if(_=e.decode(u.charCodeAt(f++)),_===-1)throw new Error("Invalid base64 digit: "+u.charAt(f-1));w=!!(_&o),_&=r,g=g+(_<<y),y+=t}while(w);p.value=a(g),p.rest=f},cc}var qd={},Pv;function im(){return Pv||(Pv=1,(function(e){function t(T,N,K){if(N in T)return T[N];if(arguments.length===3)return K;throw new Error('"'+N+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(T){var N=T.match(n);return N?{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}:null}e.urlParse=o;function s(T){var N="";return T.scheme&&(N+=T.scheme+":"),N+="//",T.auth&&(N+=T.auth+"@"),T.host&&(N+=T.host),T.port&&(N+=":"+T.port),T.path&&(N+=T.path),N}e.urlGenerate=s;var a=32;function c(T){var N=[];return function(K){for(var G=0;G<N.length;G++)if(N[G].input===K){var ne=N[0];return N[0]=N[G],N[G]=ne,N[0].result}var de=T(K);return N.unshift({input:K,result:de}),N.length>a&&N.pop(),de}}var u=c(function(N){var K=N,G=o(N);if(G){if(!G.path)return N;K=G.path}for(var ne=e.isAbsolute(K),de=[],z=0,re=0;;)if(z=re,re=K.indexOf("/",z),re===-1){de.push(K.slice(z));break}else for(de.push(K.slice(z,re));re<K.length&&K[re]==="/";)re++;for(var ae,ue=0,re=de.length-1;re>=0;re--)ae=de[re],ae==="."?de.splice(re,1):ae===".."?ue++:ue>0&&(ae===""?(de.splice(re+1,ue),ue=0):(de.splice(re,2),ue--));return K=de.join("/"),K===""&&(K=ne?"/":"."),G?(G.path=K,s(G)):K});e.normalize=u;function f(T,N){T===""&&(T="."),N===""&&(N=".");var K=o(N),G=o(T);if(G&&(T=G.path||"/"),K&&!K.scheme)return G&&(K.scheme=G.scheme),s(K);if(K||N.match(r))return N;if(G&&!G.host&&!G.path)return G.host=N,s(G);var ne=N.charAt(0)==="/"?N:u(T.replace(/\/+$/,"")+"/"+N);return G?(G.path=ne,s(G)):ne}e.join=f,e.isAbsolute=function(T){return T.charAt(0)==="/"||n.test(T)};function p(T,N){T===""&&(T="."),T=T.replace(/\/$/,"");for(var K=0;N.indexOf(T+"/")!==0;){var G=T.lastIndexOf("/");if(G<0||(T=T.slice(0,G),T.match(/^([^\/]+:\/)?\/*$/)))return N;++K}return Array(K+1).join("../")+N.substr(T.length+1)}e.relative=p;var h=(function(){var T=Object.create(null);return!("__proto__"in T)})();function g(T){return T}function y(T){return _(T)?"$"+T:T}e.toSetString=h?g:y;function w(T){return _(T)?T.slice(1):T}e.fromSetString=h?g:w;function _(T){if(!T)return!1;var N=T.length;if(N<9||T.charCodeAt(N-1)!==95||T.charCodeAt(N-2)!==95||T.charCodeAt(N-3)!==111||T.charCodeAt(N-4)!==116||T.charCodeAt(N-5)!==111||T.charCodeAt(N-6)!==114||T.charCodeAt(N-7)!==112||T.charCodeAt(N-8)!==95||T.charCodeAt(N-9)!==95)return!1;for(var K=N-10;K>=0;K--)if(T.charCodeAt(K)!==36)return!1;return!0}function A(T,N,K){var G=E(T.source,N.source);return G!==0||(G=T.originalLine-N.originalLine,G!==0)||(G=T.originalColumn-N.originalColumn,G!==0||K)||(G=T.generatedColumn-N.generatedColumn,G!==0)||(G=T.generatedLine-N.generatedLine,G!==0)?G:E(T.name,N.name)}e.compareByOriginalPositions=A;function S(T,N,K){var G;return G=T.originalLine-N.originalLine,G!==0||(G=T.originalColumn-N.originalColumn,G!==0||K)||(G=T.generatedColumn-N.generatedColumn,G!==0)||(G=T.generatedLine-N.generatedLine,G!==0)?G:E(T.name,N.name)}e.compareByOriginalPositionsNoSource=S;function v(T,N,K){var G=T.generatedLine-N.generatedLine;return G!==0||(G=T.generatedColumn-N.generatedColumn,G!==0||K)||(G=E(T.source,N.source),G!==0)||(G=T.originalLine-N.originalLine,G!==0)||(G=T.originalColumn-N.originalColumn,G!==0)?G:E(T.name,N.name)}e.compareByGeneratedPositionsDeflated=v;function x(T,N,K){var G=T.generatedColumn-N.generatedColumn;return G!==0||K||(G=E(T.source,N.source),G!==0)||(G=T.originalLine-N.originalLine,G!==0)||(G=T.originalColumn-N.originalColumn,G!==0)?G:E(T.name,N.name)}e.compareByGeneratedPositionsDeflatedNoLine=x;function E(T,N){return T===N?0:T===null?1:N===null?-1:T>N?1:-1}function R(T,N){var K=T.generatedLine-N.generatedLine;return K!==0||(K=T.generatedColumn-N.generatedColumn,K!==0)||(K=E(T.source,N.source),K!==0)||(K=T.originalLine-N.originalLine,K!==0)||(K=T.originalColumn-N.originalColumn,K!==0)?K:E(T.name,N.name)}e.compareByGeneratedPositionsInflated=R;function O(T){return JSON.parse(T.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=O;function P(T,N,K){if(N=N||"",T&&(T[T.length-1]!=="/"&&N[0]!=="/"&&(T+="/"),N=T+N),K){var G=o(K);if(!G)throw new Error("sourceMapURL could not be parsed");if(G.path){var ne=G.path.lastIndexOf("/");ne>=0&&(G.path=G.path.substring(0,ne+1))}N=f(s(G),N)}return u(N)}e.computeSourceURL=P})(qd)),qd}var Yd={},Lv;function EH(){if(Lv)return Yd;Lv=1;var e=im(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(s,a){for(var c=new r,u=0,f=s.length;u<f;u++)c.add(s[u],a);return c},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(s,a){var c=n?s:e.toSetString(s),u=n?this.has(s):t.call(this._set,c),f=this._array.length;(!u||a)&&this._array.push(s),u||(n?this._set.set(s,f):this._set[c]=f)},r.prototype.has=function(s){if(n)return this._set.has(s);var a=e.toSetString(s);return t.call(this._set,a)},r.prototype.indexOf=function(s){if(n){var a=this._set.get(s);if(a>=0)return a}else{var c=e.toSetString(s);if(t.call(this._set,c))return this._set[c]}throw new Error('"'+s+'" is not in the set.')},r.prototype.at=function(s){if(s>=0&&s<this._array.length)return this._array[s];throw new Error("No element indexed by "+s)},r.prototype.toArray=function(){return this._array.slice()},Yd.ArraySet=r,Yd}var Xd={},Iv;function SH(){if(Iv)return Xd;Iv=1;var e=im();function t(r,o){var s=r.generatedLine,a=o.generatedLine,c=r.generatedColumn,u=o.generatedColumn;return a>s||a==s&&u>=c||e.compareByGeneratedPositionsInflated(r,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(o,s){this._array.forEach(o,s)},n.prototype.add=function(o){t(this._last,o)?(this._last=o,this._array.push(o)):(this._sorted=!1,this._array.push(o))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Xd.MappingList=n,Xd}var Mv;function CH(){if(Mv)return Kd;Mv=1;var e=wH(),t=im(),n=EH().ArraySet,r=SH().MappingList;function o(s){s||(s={}),this._file=t.getArg(s,"file",null),this._sourceRoot=t.getArg(s,"sourceRoot",null),this._skipValidation=t.getArg(s,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(s,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(a,c){var u=a.sourceRoot,f=new o(Object.assign(c||{},{file:a.file,sourceRoot:u}));return a.eachMapping(function(p){var h={generated:{line:p.generatedLine,column:p.generatedColumn}};p.source!=null&&(h.source=p.source,u!=null&&(h.source=t.relative(u,h.source)),h.original={line:p.originalLine,column:p.originalColumn},p.name!=null&&(h.name=p.name)),f.addMapping(h)}),a.sources.forEach(function(p){var h=p;u!==null&&(h=t.relative(u,p)),f._sources.has(h)||f._sources.add(h);var g=a.sourceContentFor(p);g!=null&&f.setSourceContent(p,g)}),f},o.prototype.addMapping=function(a){var c=t.getArg(a,"generated"),u=t.getArg(a,"original",null),f=t.getArg(a,"source",null),p=t.getArg(a,"name",null);!this._skipValidation&&this._validateMapping(c,u,f,p)===!1||(f!=null&&(f=String(f),this._sources.has(f)||this._sources.add(f)),p!=null&&(p=String(p),this._names.has(p)||this._names.add(p)),this._mappings.add({generatedLine:c.line,generatedColumn:c.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:f,name:p}))},o.prototype.setSourceContent=function(a,c){var u=a;this._sourceRoot!=null&&(u=t.relative(this._sourceRoot,u)),c!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(u)]=c):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(a,c,u){var f=c;if(c==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);f=a.file}var p=this._sourceRoot;p!=null&&(f=t.relative(p,f));var h=new n,g=new n;this._mappings.unsortedForEach(function(y){if(y.source===f&&y.originalLine!=null){var w=a.originalPositionFor({line:y.originalLine,column:y.originalColumn});w.source!=null&&(y.source=w.source,u!=null&&(y.source=t.join(u,y.source)),p!=null&&(y.source=t.relative(p,y.source)),y.originalLine=w.line,y.originalColumn=w.column,w.name!=null&&(y.name=w.name))}var _=y.source;_!=null&&!h.has(_)&&h.add(_);var A=y.name;A!=null&&!g.has(A)&&g.add(A)},this),this._sources=h,this._names=g,a.sources.forEach(function(y){var w=a.sourceContentFor(y);w!=null&&(u!=null&&(y=t.join(u,y)),p!=null&&(y=t.relative(p,y)),this.setSourceContent(y,w))},this)},o.prototype._validateMapping=function(a,c,u,f){if(c&&typeof c.line!="number"&&typeof c.column!="number"){var p="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(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(p),!1;throw new Error(p)}if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!c&&!u&&!f)){if(a&&"line"in a&&"column"in a&&c&&"line"in c&&"column"in c&&a.line>0&&a.column>=0&&c.line>0&&c.column>=0&&u)return;var p="Invalid mapping: "+JSON.stringify({generated:a,source:u,original:c,name:f});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(p),!1;throw new Error(p)}},o.prototype._serializeMappings=function(){for(var a=0,c=1,u=0,f=0,p=0,h=0,g="",y,w,_,A,S=this._mappings.toArray(),v=0,x=S.length;v<x;v++){if(w=S[v],y="",w.generatedLine!==c)for(a=0;w.generatedLine!==c;)y+=";",c++;else if(v>0){if(!t.compareByGeneratedPositionsInflated(w,S[v-1]))continue;y+=","}y+=e.encode(w.generatedColumn-a),a=w.generatedColumn,w.source!=null&&(A=this._sources.indexOf(w.source),y+=e.encode(A-h),h=A,y+=e.encode(w.originalLine-1-f),f=w.originalLine-1,y+=e.encode(w.originalColumn-u),u=w.originalColumn,w.name!=null&&(_=this._names.indexOf(w.name),y+=e.encode(_-p),p=_)),g+=y}return g},o.prototype._generateSourcesContent=function(a,c){return a.map(function(u){if(!this._sourcesContents)return null;c!=null&&(u=t.relative(c,u));var f=t.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,f)?this._sourcesContents[f]:null},this)},o.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},Kd.SourceMapGenerator=o,Kd}var kH=CH();const Nv=new Set(["Atrule","Selector","Declaration"]);function TH(e){const t=new kH.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},o={line:1,column:0},s={generated:o};let a=1,c=0,u=!1;const f=e.node;e.node=function(g){if(g.loc&&g.loc.start&&Nv.has(g.type)){const y=g.loc.start.line,w=g.loc.start.column-1;(r.line!==y||r.column!==w)&&(r.line=y,r.column=w,n.line=a,n.column=c,u&&(u=!1,(n.line!==o.line||n.column!==o.column)&&t.addMapping(s)),u=!0,t.addMapping({source:g.loc.source,original:r,generated:n}))}f.call(this,g),u&&Nv.has(g.type)&&(o.line=a,o.column=c)};const p=e.emit;e.emit=function(g,y,w){for(let _=0;_<g.length;_++)g.charCodeAt(_)===10?(a++,c=0):c++;p(g,y,w)};const h=e.result;return e.result=function(){return u&&t.addMapping(s),{css:h(),map:t}},e}const xH=43,OH=45,Jd=(e,t)=>(e===Ye&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),NC=[[pe,pe],[pe,Fe],[pe,bn],[pe,Un],[pe,"-"],[pe,Ie],[pe,Dt],[pe,qe],[pe,zn],[pe,it],[Wt,pe],[Wt,Fe],[Wt,bn],[Wt,Un],[Wt,"-"],[Wt,Ie],[Wt,Dt],[Wt,qe],[Wt,zn],[kt,pe],[kt,Fe],[kt,bn],[kt,Un],[kt,"-"],[kt,Ie],[kt,Dt],[kt,qe],[kt,zn],[qe,pe],[qe,Fe],[qe,bn],[qe,Un],[qe,"-"],[qe,Ie],[qe,Dt],[qe,qe],[qe,zn],["#",pe],["#",Fe],["#",bn],["#",Un],["#","-"],["#",Ie],["#",Dt],["#",qe],["#",zn],["-",pe],["-",Fe],["-",bn],["-",Un],["-","-"],["-",Ie],["-",Dt],["-",qe],["-",zn],[Ie,pe],[Ie,Fe],[Ie,bn],[Ie,Un],[Ie,Ie],[Ie,Dt],[Ie,qe],[Ie,"%"],[Ie,zn],["@",pe],["@",Fe],["@",bn],["@",Un],["@","-"],["@",zn],[".",Ie],[".",Dt],[".",qe],["+",Ie],["+",Dt],["+",qe],["/","*"]],AH=NC.concat([[pe,kt],[qe,kt],[kt,kt],[Wt,it],[Wt,Br],[Wt,Sn],[Dt,Dt],[Dt,qe],[Dt,Fe],[Dt,"-"],[Pe,pe],[Pe,Fe],[Pe,Dt],[Pe,qe],[Pe,kt],[Pe,"-"]]);function DC(e){const t=new Set(e.map(([n,r])=>Jd(n)<<16|Jd(r)));return function(n,r,o){const s=Jd(r,o),a=o.charCodeAt(0),c=a===OH&&r!==pe&&r!==Fe&&r!==zn||a===xH?t.has((n&65534)<<16|a<<7):t.has((n&65534)<<16|s);return s|c}}const RH=DC(NC),FC=DC(AH),Dv=Object.freeze(Object.defineProperty({__proto__:null,safe:FC,spec:RH},Symbol.toStringTag,{value:"Module"})),PH=92;function LH(e,t){if(typeof t=="function"){let n=null;e.children.forEach(r=>{n!==null&&t.call(this,n),this.node(r),n=r});return}e.children.forEach(this.node,this)}function IH(e){const t=new Map;for(let[n,r]of Object.entries(e.node))typeof(r.generate||r)=="function"&&t.set(n,r.generate||r);return function(n,r){let o="",s=0,a={node(u){if(t.has(u.type))t.get(u.type).call(c,u);else throw new Error("Unknown node type: "+u.type)},tokenBefore:FC,token(u,f,p){s=this.tokenBefore(s,u,f),!p&&s&1&&this.emit(" ",Ft,!0),this.emit(f,u,!1),u===Ye&&f.charCodeAt(0)===PH&&this.emit(`
51
- `,Ft,!0)},emit(u){o+=u},result(){return o}};r&&(typeof r.decorator=="function"&&(a=r.decorator(a)),r.sourceMap&&(a=TH(a)),r.mode in Dv&&(a.tokenBefore=Dv[r.mode]));const c={node:u=>a.node(u),children:LH,token:(u,f)=>a.token(u,f),tokenize:u=>Wu(u,(f,p,h)=>{a.token(f,u.slice(p,h),p!==0)})};return a.node(n),a.result()}}function MH(e){return{fromPlainObject(t){return e(t,{enter(n){n.children&&!(n.children instanceof Zt)&&(n.children=new Zt().fromArray(n.children))}}),t},toPlainObject(t){return e(t,{leave(n){n.children&&n.children instanceof Zt&&(n.children=n.children.toArray())}}),t}}}const{hasOwnProperty:sm}=Object.prototype,ha=function(){};function Fv(e){return typeof e=="function"?e:ha}function $v(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function NH(e,t){const n=t.structure,r=[];for(const o in n){if(sm.call(n,o)===!1)continue;let s=n[o];const a={name:o,type:!1,nullable:!1};Array.isArray(s)||(s=[s]);for(const c of s)c===null?a.nullable=!0:typeof c=="string"?a.type="node":Array.isArray(c)&&(a.type="list");a.type&&r.push(a)}return r.length?{context:t.walkContext,fields:r}:null}function DH(e){const t={};for(const n in e.node)if(sm.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=NH(n,r)}return t}function jv(e,t){const n=e.fields.slice(),r=e.context,o=typeof r=="string";return t&&n.reverse(),function(s,a,c,u){let f;o&&(f=a[r],a[r]=s);for(const p of n){const h=s[p.name];if(!p.nullable||h){if(p.type==="list"){if(t?h.reduceRight(u,!1):h.reduce(u,!1))return!0}else if(c(h))return!0}}o&&(a[r]=f)}}function Uv({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}}}function FH(e){const t=DH(e),n={},r={},o=Symbol("break-walk"),s=Symbol("skip-node");for(const f in t)sm.call(t,f)&&t[f]!==null&&(n[f]=jv(t[f],!1),r[f]=jv(t[f],!0));const a=Uv(n),c=Uv(r),u=function(f,p){function h(S,v,x){const E=g.call(A,S,v,x);return E===o?!0:E===s?!1:!!(w.hasOwnProperty(S.type)&&w[S.type](S,A,h,_)||y.call(A,S,v,x)===o)}let g=ha,y=ha,w=n,_=(S,v,x,E)=>S||h(v,x,E);const A={break:o,skip:s,root:f,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof p=="function")g=p;else if(p&&(g=Fv(p.enter),y=Fv(p.leave),p.reverse&&(w=r),p.visit)){if(a.hasOwnProperty(p.visit))w=p.reverse?c[p.visit]:a[p.visit];else if(!t.hasOwnProperty(p.visit))throw new Error("Bad value `"+p.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");g=$v(g,p.visit),y=$v(y,p.visit)}if(g===ha&&y===ha)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");h(f)};return u.break=o,u.skip=s,u.find=function(f,p){let h=null;return u(f,function(g,y,w){if(p.call(this,g,y,w))return h=g,o}),h},u.findLast=function(f,p){let h=null;return u(f,{reverse:!0,enter(g,y,w){if(p.call(this,g,y,w))return h=g,o}}),h},u.findAll=function(f,p){const h=[];return u(f,function(g,y,w){p.call(this,g,y,w)&&h.push(g)}),h},u}function $H(e){return e}function jH(e){const{min:t,max:n,comma:r}=e;return t===0&&n===0?r?"#?":"*":t===0&&n===1?"?":t===1&&n===0?r?"#":"+":t===1&&n===1?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(n!==0?n:"")+"}")}function UH(e){if(e.type==="Range")return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}function zH(e,t,n,r){const o=e.combinator===" "||r?e.combinator:" "+e.combinator+" ",s=e.terms.map(a=>tu(a,t,n,r)).join(o);return e.explicit||n?(r||s[0]===","?"[":"[ ")+s+(r?"]":" ]"):s}function tu(e,t,n,r){let o;switch(e.type){case"Group":o=zH(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return tu(e.term,t,n,r)+t(jH(e),e);case"Boolean":o="<boolean-expr["+tu(e.term,t,n,r)+"]>";break;case"Type":o="<"+e.name+(e.opts?t(UH(e.opts),e.opts):"")+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(o,e)}function am(e,t){let n=$H,r=!1,o=!1;return typeof t=="function"?n=t:t&&(r=!!t.forceBraces,o=!!t.compact,typeof t.decorate=="function"&&(n=t.decorate)),tu(e,n,r,o)}const zv={offset:0,line:1,column:1};function BH(e,t){const n=e.tokens,r=e.longestMatch,o=r<n.length&&n[r].node||null,s=o!==t?o:null;let a=0,c=0,u=0,f="",p,h;for(let g=0;g<n.length;g++){const y=n[g].value;g===r&&(c=y.length,a=f.length),s!==null&&n[g].node===s&&(g<=r?u++:u=0),f+=y}return r===n.length||u>1?(p=fc(s||t,"end")||ma(zv,f),h=ma(p)):(p=fc(s,"start")||ma(fc(t,"start")||zv,f.slice(0,a)),h=fc(s,"end")||ma(p,f.substr(a,c))),{css:f,mismatchOffset:a,mismatchLength:c,start:p,end:h}}function fc(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?ma(n):n:null}function ma({offset:e,line:t,column:n},r){const o={offset:e,line:t,column:n};if(r){const s=r.split(/\n|\r\n?|\f/);o.offset+=r.length,o.line+=s.length-1,o.column=s.length===1?o.column+r.length:s.pop().length+1}return o}const ca=function(e,t){const n=Vu("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},WH=function(e,t,n,r){const o=Vu("SyntaxMatchError",e),{css:s,mismatchOffset:a,mismatchLength:c,start:u,end:f}=BH(r,n);return o.rawMessage=e,o.syntax=t?am(t):"<generic>",o.css=s,o.mismatchOffset=a,o.mismatchLength=c,o.message=e+`
52
- syntax: `+o.syntax+`
53
- value: `+(s||"<empty string>")+`
54
- --------`+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,u),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:u,end:f},o},dc=new Map,is=new Map,nu=45,Qd=VH,Bv=HH;function lm(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===nu&&e.charCodeAt(t+1)===nu}function $C(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===nu&&e.charCodeAt(t+1)!==nu){const n=e.indexOf("-",t+2);if(n!==-1)return e.substring(t,n+1)}return""}function VH(e){if(dc.has(e))return dc.get(e);const t=e.toLowerCase();let n=dc.get(t);if(n===void 0){const r=lm(t,0),o=r?"":$C(t,0);n=Object.freeze({basename:t.substr(o.length),name:t,prefix:o,vendor:o,custom:r})}return dc.set(e,n),n}function HH(e){if(is.has(e))return is.get(e);let t=e,n=e[0];n==="/"?n=e[1]==="/"?"//":"/":n!=="_"&&n!=="*"&&n!=="$"&&n!=="#"&&n!=="+"&&n!=="&"&&(n="");const r=lm(t,n.length);if(!r&&(t=t.toLowerCase(),is.has(t))){const c=is.get(t);return is.set(e,c),c}const o=r?"":$C(t,n.length),s=t.substr(0,n.length+o.length),a=Object.freeze({basename:t.substr(s.length),name:t.substr(n.length),hack:n,vendor:o,prefix:s,custom:r});return is.set(e,a),a}const cm=["initial","inherit","unset","revert","revert-layer"],Wa=43,Yr=45,Zd=110,ss=!0,GH=!1;function rh(e,t){return e!==null&&e.type===Ye&&e.value.charCodeAt(0)===t}function xa(e,t,n){for(;e!==null&&(e.type===Ft||e.type===fn);)e=n(++t);return t}function Yo(e,t,n,r){if(!e)return 0;const o=e.value.charCodeAt(t);if(o===Wa||o===Yr){if(n)return 0;t++}for(;t<e.value.length;t++)if(!un(e.value.charCodeAt(t)))return 0;return r+1}function ep(e,t,n){let r=!1,o=xa(e,t,n);if(e=n(o),e===null)return t;if(e.type!==Ie)if(rh(e,Wa)||rh(e,Yr)){if(r=!0,o=xa(n(++o),o,n),e=n(o),e===null||e.type!==Ie)return 0}else return t;if(!r){const s=e.value.charCodeAt(0);if(s!==Wa&&s!==Yr)return 0}return Yo(e,r?0:1,r,o)}function KH(e,t){let n=0;if(!e)return 0;if(e.type===Ie)return Yo(e,0,GH,n);if(e.type===pe&&e.value.charCodeAt(0)===Yr){if(!Es(e.value,1,Zd))return 0;switch(e.value.length){case 2:return ep(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==Yr?0:(n=xa(t(++n),n,t),e=t(n),Yo(e,0,ss,n));default:return e.value.charCodeAt(2)!==Yr?0:Yo(e,3,ss,n)}}else if(e.type===pe||rh(e,Wa)&&t(n+1).type===pe){if(e.type!==pe&&(e=t(++n)),e===null||!Es(e.value,0,Zd))return 0;switch(e.value.length){case 1:return ep(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==Yr?0:(n=xa(t(++n),n,t),e=t(n),Yo(e,0,ss,n));default:return e.value.charCodeAt(1)!==Yr?0:Yo(e,2,ss,n)}}else if(e.type===qe){let r=e.value.charCodeAt(0),o=r===Wa||r===Yr?1:0,s=o;for(;s<e.value.length&&un(e.value.charCodeAt(s));s++);return s===o||!Es(e.value,s,Zd)?0:s+1===e.value.length?ep(t(++n),n,t):e.value.charCodeAt(s+1)!==Yr?0:s+2===e.value.length?(n=xa(t(++n),n,t),e=t(n),Yo(e,0,ss,n)):Yo(e,s+2,ss,n)}return 0}const qH=43,jC=45,UC=63,YH=117;function oh(e,t){return e!==null&&e.type===Ye&&e.value.charCodeAt(0)===t}function XH(e,t){return e.value.charCodeAt(0)===t}function ga(e,t,n){let r=0;for(let o=t;o<e.value.length;o++){const s=e.value.charCodeAt(o);if(s===jC&&n&&r!==0)return ga(e,t+r+1,!1),6;if(!oi(s)||++r>6)return 0}return r}function pc(e,t,n){if(!e)return 0;for(;oh(n(t),UC);){if(++e>6)return 0;t++}return t}function JH(e,t){let n=0;if(e===null||e.type!==pe||!Es(e.value,0,YH)||(e=t(++n),e===null))return 0;if(oh(e,qH))return e=t(++n),e===null?0:e.type===pe?pc(ga(e,0,!0),++n,t):oh(e,UC)?pc(1,++n,t):0;if(e.type===Ie){const r=ga(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===qe||e.type===Ie?!XH(e,jC)||!ga(e,1,!1)?0:n+1:pc(r,n,t))}return e.type===qe?pc(ga(e,1,!0),++n,t):0}const um=["calc(","-moz-calc(","-webkit-calc("],fm=["min(","max(","clamp("],dm=["round(","mod(","rem("],QH=["sin(","cos(","tan("],ZH=["asin(","acos(","atan(","atan2("],e3=["pow(","sqrt(","log(","exp(","sign("],pm=["hypot("],hm=["abs("],Wv=[...um,...fm,...dm,...QH,...e3,...pm,...hm],t3=[...um,...fm,...dm,...pm,...hm],bo=[...um,...fm,...dm,...ZH,...pm,...hm],mm=new Map([[Fe,Pe],[it,Pe],[lr,wr],[nn,sr]]);function Dr(e,t){return t<e.length?e.charCodeAt(t):0}function zC(e,t){return Ba(e,0,e.length,t)}function BC(e,t){for(let n=0;n<t.length;n++)if(zC(e,t[n]))return!0;return!1}function WC(e,t){return t!==e.length-2?!1:Dr(e,t)===92&&un(Dr(e,t+1))}function Hu(e,t,n){if(e&&e.type==="Range"){const r=Number(n!==void 0&&n!==t.length?t.substr(0,n):t);if(isNaN(r)||e.min!==null&&r<e.min&&typeof e.min!="string"||e.max!==null&&r>e.max&&typeof e.max!="string")return!0}return!1}function n3(e,t){let n=0,r=[],o=0;e:do{switch(e.type){case sr:case Pe:case wr:if(e.type!==n)break e;if(n=r.pop(),r.length===0){o++;break e}break;case Fe:case it:case lr:case nn:r.push(n),n=mm.get(e.type);break}o++}while(e=t(o));return o}function br(e,t){return function(n,r,o){return n===null?0:n.type===Fe&&BC(n.value,t)?n3(n,r):e(n,r,o)}}function St(e){return function(t){return t===null||t.type!==e?0:1}}function r3(e){if(e===null||e.type!==pe)return 0;const t=e.value.toLowerCase();return BC(t,cm)||zC(t,"default")?0:1}function VC(e){return e===null||e.type!==pe||Dr(e.value,0)!==45||Dr(e.value,1)!==45?0:1}function o3(e){return!VC(e)||e.value==="--"?0:1}function i3(e){if(e===null||e.type!==kt)return 0;const t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let n=1;n<t;n++)if(!oi(Dr(e.value,n)))return 0;return 1}function s3(e){return e===null||e.type!==kt||!Oc(Dr(e.value,1),Dr(e.value,2),Dr(e.value,3))?0:1}function a3(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case Uu:case Un:break e;case sr:case Pe:case wr:if(e.type!==n)break e;n=r.pop();break;case Cn:if(n===0)break e;break;case Ye:if(n===0&&e.value==="!")break e;break;case Fe:case it:case lr:case nn:r.push(n),n=mm.get(e.type);break}o++}while(e=t(o));return o}function l3(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case Uu:case Un:break e;case sr:case Pe:case wr:if(e.type!==n)break e;n=r.pop();break;case Fe:case it:case lr:case nn:r.push(n),n=mm.get(e.type);break}o++}while(e=t(o));return o}function _o(e){return e&&(e=new Set(e)),function(t,n,r){if(t===null||t.type!==qe)return 0;const o=zu(t.value,0);if(e!==null){const s=t.value.indexOf("\\",o),a=s===-1||!WC(t.value,s)?t.value.substr(o):t.value.substring(o,s);if(e.has(a.toLowerCase())===!1)return 0}return Hu(r,t.value,o)?0:1}}function c3(e,t,n){return e===null||e.type!==Dt||Hu(n,e.value,e.value.length-1)?0:1}function HC(e){return typeof e!="function"&&(e=function(){return 0}),function(t,n,r){return t!==null&&t.type===Ie&&Number(t.value)===0?1:e(t,n,r)}}function u3(e,t,n){if(e===null)return 0;const r=zu(e.value,0);return!(r===e.value.length)&&!WC(e.value,r)||Hu(n,e.value,r)?0:1}function f3(e,t,n){if(e===null||e.type!==Ie)return 0;let r=Dr(e.value,0)===43||Dr(e.value,0)===45?1:0;for(;r<e.value.length;r++)if(!un(Dr(e.value,r)))return 0;return Hu(n,e.value,r)?0:1}const d3={"ident-token":St(pe),"function-token":St(Fe),"at-keyword-token":St(Wt),"hash-token":St(kt),"string-token":St(Br),"bad-string-token":St(Uu),"url-token":St(bn),"bad-url-token":St(Un),"delim-token":St(Ye),"number-token":St(Ie),"percentage-token":St(Dt),"dimension-token":St(qe),"whitespace-token":St(Ft),"CDO-token":St(nl),"CDC-token":St(zn),"colon-token":St(Sn),"semicolon-token":St(Cn),"comma-token":St(Kn),"[-token":St(lr),"]-token":St(wr),"(-token":St(it),")-token":St(Pe),"{-token":St(nn),"}-token":St(sr)},p3={string:St(Br),ident:St(pe),percentage:br(c3,t3),zero:HC(),number:br(u3,Wv),integer:br(f3,Wv),"custom-ident":r3,"dashed-ident":VC,"custom-property-name":o3,"hex-color":i3,"id-selector":s3,"an-plus-b":KH,urange:JH,"declaration-value":a3,"any-value":l3},h3=["length","angle","time","frequency","resolution","flex","decibel","semitones"];function m3(e){const{angle:t,decibel:n,frequency:r,flex:o,length:s,resolution:a,semitones:c,time:u}=e||{};return{dimension:br(_o(null),bo),angle:br(_o(t),bo),decibel:br(_o(n),bo),frequency:br(_o(r),bo),flex:br(_o(o),bo),length:br(HC(_o(s)),bo),resolution:br(_o(a),bo),semitones:br(_o(c),bo),time:br(_o(u),bo)}}function g3(e){const t=new Set;for(const n of h3)if(Array.isArray(e[n]))for(const r of e[n])t.add(r.toLowerCase());return function(r){return r===null?0:r.type===Ye&&r.value==="%"||r.type===pe&&t.has(r.value.toLowerCase())?1:0}}function y3(e){return{...d3,...p3,...m3(e),"attr-unit":g3(e)}}const b3=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],_3=["deg","grad","rad","turn"],v3=["s","ms"],w3=["hz","khz"],E3=["dpi","dpcm","dppx","x"],S3=["fr"],C3=["db"],k3=["st"],Vv=Object.freeze(Object.defineProperty({__proto__:null,angle:_3,decibel:C3,flex:S3,frequency:w3,length:b3,resolution:E3,semitones:k3,time:v3},Symbol.toStringTag,{value:"Module"}));function T3(e,t,n){return Object.assign(Vu("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+`
55
- `+t+`
56
- --`+new Array((n||t.length)+1).join("-")+"^"})}const x3=9,O3=10,A3=12,R3=13,P3=32,Hv=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class L3{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(t=this.charCode()){return t<128&&Hv[t]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(t){for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n!==R3&&n!==O3&&n!==A3&&n!==P3&&n!==x3)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new T3(t,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n>=128||Hv[n]===0)break}return this.pos===t&&this.error("Expect a keyword"),this.substringToPos(t)}scanNumber(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n<48||n>57)break}return this.pos===t&&this.error("Expect a number"),this.substringToPos(t)}scanString(){const t=this.str.indexOf("'",this.pos+1);return t===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(t+1)}}const I3=9,M3=10,N3=12,D3=13,F3=32,GC=33,gm=35,Gv=38,ru=39,KC=40,qC=41,YC=42,ym=43,bm=44,Kv=45,_m=60,ih=62,ou=63,$3=64,Va=91,Is=93,iu=123,qv=124,sh=125,Yv=8734,Xv={" ":1,"&&":2,"||":3,"|":4};function Jv(e){let t=null,n=null;return e.eat(iu),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===bm?(e.pos++,e.skipWs(),e.charCode()!==sh&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(sh),{min:Number(t),max:n?Number(n):0}}function j3(e){let t=null,n=!1;switch(e.charCode()){case YC:e.pos++,t={min:0,max:0};break;case ym:e.pos++,t={min:1,max:0};break;case ou:e.pos++,t={min:0,max:1};break;case gm:e.pos++,n=!0,e.charCode()===iu?t=Jv(e):e.charCode()===ou?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case iu:t=Jv(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function Lo(e,t){const n=j3(e);return n!==null?(n.term=t,e.charCode()===gm&&e.charCodeAt(e.pos-1)===ym||e.charCode()===ou&&e.charCodeAt(e.pos-1)===sh?Lo(e,n):n):t}function tp(e){const t=e.peek();return t===""?null:Lo(e,{type:"Token",value:t})}function U3(e){let t;return e.eat(_m),e.eat(ru),t=e.scanWord(),e.eat(ru),e.eat(ih),Lo(e,{type:"Property",name:t})}function z3(e){let t=null,n=null,r=1;return e.eat(Va),e.charCode()===Kv&&(e.peek(),r=-1),r==-1&&e.charCode()===Yv?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(bm),e.skipWs(),e.charCode()===Yv?e.peek():(r=1,e.charCode()===Kv&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(Is),{type:"Range",min:t,max:n}}function B3(e){let t,n=null;if(e.eat(_m),t=e.scanWord(),t==="boolean-expr"){e.eat(Va);const r=Gu(e,Is);return e.eat(Is),e.eat(ih),Lo(e,{type:"Boolean",term:r.terms.length===1?r.terms[0]:r})}return e.charCode()===KC&&e.nextCharCode()===qC&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Va&&(e.skipWs(),n=z3(e)),e.eat(ih),Lo(e,{type:"Type",name:t,opts:n})}function W3(e){const t=e.scanWord();return e.charCode()===KC?(e.pos++,{type:"Function",name:t}):Lo(e,{type:"Keyword",name:t})}function V3(e,t){function n(o,s){return{type:"Group",terms:o,combinator:s,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((o,s)=>Xv[o]-Xv[s]);t.length>0;){r=t.shift();let o=0,s=0;for(;o<e.length;o++){const a=e[o];a.type==="Combinator"&&(a.value===r?(s===-1&&(s=o-1),e.splice(o,1),o--):(s!==-1&&o-s>1&&(e.splice(s,o-s,n(e.slice(s,o),r)),o=s+1),s=-1))}s!==-1&&t.length&&e.splice(s,o-s,n(e.slice(s,o),r))}return r}function Gu(e,t=-1){const n=Object.create(null),r=[];let o=null,s=e.pos,a=!1;for(;e.charCode()!==t;){let c=a?Gu(e,qC):G3(e);if(!c)break;if(c.type!=="Spaces"){if(a){if(c.terms.length===0){a=!1;continue}if(c.combinator===" "){for(;c.terms.length>1;)n[" "]=!0,r.push({type:"Combinator",value:" "},c.terms.shift());c=c.terms[0]}}c.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=s,e.error("Unexpected combinator")),n[c.value]=!0):o!==null&&o.type!=="Combinator"&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(c),o=c,s=e.pos,a=c.type==="Function"}}return o!==null&&o.type==="Combinator"&&(e.pos-=s,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:V3(r,n)||" ",disallowEmpty:!1,explicit:!1}}function H3(e){let t;return e.eat(Va),t=Gu(e,Is),e.eat(Is),t.explicit=!0,e.charCode()===GC&&(e.pos++,t.disallowEmpty=!0),t}function G3(e){let t=e.charCode();switch(t){case Is:break;case Va:return Lo(e,H3(e));case _m:return e.nextCharCode()===ru?U3(e):B3(e);case qv:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===qv?2:1))};case Gv:return e.pos++,e.eat(Gv),{type:"Combinator",value:"&&"};case bm:return e.pos++,{type:"Comma"};case ru:return Lo(e,{type:"String",value:e.scanString()});case F3:case I3:case M3:case D3:case N3:return{type:"Spaces",value:e.scanSpaces()};case $3:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):tp(e);case YC:case ym:case ou:case gm:case GC:break;case iu:if(t=e.nextCharCode(),t<48||t>57)return tp(e);break;default:return e.isNameCharCode(t)?W3(e):tp(e)}}function XC(e){const t=new L3(e),n=Gu(t);return t.pos!==e.length&&t.error("Unexpected input"),n.terms.length===1&&n.terms[0].type==="Group"?n.terms[0]:n}const ya=function(){};function Qv(e){return typeof e=="function"?e:ya}function K3(e,t,n){function r(a){switch(o.call(n,a),a.type){case"Group":a.terms.forEach(r);break;case"Multiplier":case"Boolean":r(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}s.call(n,a)}let o=ya,s=ya;if(typeof t=="function"?o=t:t&&(o=Qv(t.enter),s=Qv(t.leave)),o===ya&&s===ya)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}const q3={decorator(e){const t=[];let n=null;return{...e,node(r){const o=n;n=r,e.node.call(this,r),n=o},emit(r,o,s){t.push({type:o,value:r,node:s?null:n})},result(){return t}}}};function Y3(e){const t=[];return Wu(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}function X3(e,t){return typeof e=="string"?Y3(e):t.generate(e,q3)}const at={type:"Match"},yt={type:"Mismatch"},vm={type:"DisallowEmpty"},J3=40,Q3=41;function yn(e,t,n){return t===at&&n===yt||e===at&&t===at&&n===at?e:(e.type==="If"&&e.else===yt&&t===at&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function JC(e){return e.length>2&&e.charCodeAt(e.length-2)===J3&&e.charCodeAt(e.length-1)===Q3}function Zv(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&JC(e.name)}function Ho(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function Oa(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=Oa(e.match,t,n),e.then=Oa(e.then,t,n),e.else=Oa(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function ah(e,t,n){switch(e){case" ":{let r=at;for(let o=t.length-1;o>=0;o--){const s=t[o];r=yn(s,r,yt)}return r}case"|":{let r=yt,o=null;for(let s=t.length-1;s>=0;s--){let a=t[s];if(Zv(a)&&(o===null&&s>0&&Zv(t[s-1])&&(o=Object.create(null),r=yn({type:"Enum",map:o},at,r)),o!==null)){const c=(JC(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(c in o)){o[c]=a;continue}}o=null,r=yn(a,at,r)}return r}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let r=yt;for(let o=t.length-1;o>=0;o--){const s=t[o];let a;t.length>1?a=ah(e,t.filter(function(c){return c!==s}),!1):a=at,r=yn(s,a,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?at:yt;for(let o=t.length-1;o>=0;o--){const s=t[o];let a;t.length>1?a=ah(e,t.filter(function(c){return c!==s}),!0):a=at,r=yn(s,a,r)}return r}}}function Z3(e){let t=at,n=gs(e.term);if(e.max===0)n=yn(n,vm,yt),t=yn(n,null,yt),t.then=yn(at,at,t),e.comma&&(t.then.else=yn({type:"Comma",syntax:e},t,yt));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==at&&(t=yn({type:"Comma",syntax:e},t,yt)),t=yn(n,yn(at,at,t),yt);if(e.min===0)t=yn(at,at,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==at&&(t=yn({type:"Comma",syntax:e},t,yt)),t=yn(n,t,yt);return t}function gs(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=ah(e.combinator,e.terms.map(gs),!1);return e.disallowEmpty&&(t=yn(t,vm,yt)),t}case"Multiplier":return Z3(e);case"Boolean":{const t=gs(e.term),n=gs(Ho([Ho([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Ho([{type:"Type",name:"!boolean-group"},Ho([{type:"Multiplier",comma:!1,min:0,max:0,term:Ho([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Ho([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=gs(Ho([{type:"Type",name:"!term"},Ho([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Oa(r,{"!term":t,"!self":n}),Oa(n,{"!boolean-group":r}),n}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function hc(e,t){return typeof e=="string"&&(e=XC(e)),{type:"MatchGraph",match:gs(e),syntax:t||null,source:e}}const{hasOwnProperty:ew}=Object.prototype,eG=0,tG=1,lh=2,QC=3,tw="Match",nG="Mismatch",rG="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",nw=15e3;function oG(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function np(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=t.charCodeAt(n);let o=e.charCodeAt(n);if(o>=65&&o<=90&&(o=o|32),o!==r)return!1}return!0}function iG(e){return e.type!==Ye?!1:e.value!=="?"}function rw(e){return e===null?!0:e.type===Kn||e.type===Fe||e.type===it||e.type===lr||e.type===nn||iG(e)}function ow(e){return e===null?!0:e.type===Pe||e.type===wr||e.type===sr||e.type===Ye&&e.value==="/"}function sG(e,t,n){function r(){do v++,S=v<e.length?e[v]:null;while(S!==null&&(S.type===Ft||S.type===fn))}function o(R){const O=v+R;return O<e.length?e[O]:null}function s(R,O){return{nextState:R,matchStack:E,syntaxStack:h,thenStack:g,tokenIndex:v,prev:O}}function a(R){g={nextState:R,matchStack:E,syntaxStack:h,prev:g}}function c(R){y=s(R,y)}function u(){E={type:tG,syntax:t.syntax,token:S,prev:E},r(),w=null,v>x&&(x=v)}function f(){h={syntax:t.syntax,opts:t.syntax.opts||h!==null&&h.opts||null,prev:h},E={type:lh,syntax:t.syntax,token:E.token,prev:E}}function p(){E.type===lh?E=E.prev:E={type:QC,syntax:h.syntax,token:E.token,prev:E},h=h.prev}let h=null,g=null,y=null,w=null,_=0,A=null,S=null,v=-1,x=0,E={type:eG,syntax:null,token:null,prev:null};for(r();A===null&&++_<nw;)switch(t.type){case"Match":if(g===null){if(S!==null&&(v!==e.length-1||S.value!=="\\0"&&S.value!=="\\9")){t=yt;break}A=tw;break}if(t=g.nextState,t===vm)if(g.matchStack===E){t=yt;break}else t=at;for(;g.syntaxStack!==h;)p();g=g.prev;break;case"Mismatch":if(w!==null&&w!==!1)(y===null||v>y.tokenIndex)&&(y=w,w=!1);else if(y===null){A=nG;break}t=y.nextState,g=y.thenStack,h=y.syntaxStack,E=y.matchStack,v=y.tokenIndex,S=v<e.length?e[v]:null,y=y.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==yt&&c(t.else),t.then!==at&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{const P=t.syntax.terms;if(t.index===P.length){if(t.mask===0||t.syntax.all){t=yt;break}t=at;break}if(t.mask===(1<<P.length)-1){t=at;break}for(;t.index<P.length;t.index++){const T=1<<t.index;if((t.mask&T)===0){c(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|T}),t=P[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(S!==null){let P=S.value.toLowerCase();if(P.indexOf("\\")!==-1&&(P=P.replace(/\\[09].*$/,"")),ew.call(t.map,P)){t=t.map[P];break}}t=yt;break;case"Generic":{const P=h!==null?h.opts:null,T=v+Math.floor(t.fn(S,o,P));if(!isNaN(T)&&T>v){for(;v<T;)u();t=at}else t=yt;break}case"Type":case"Property":{const P=t.type==="Type"?"types":"properties",T=ew.call(n,P)?n[P][t.name]:null;if(!T||!T.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(w!==!1&&S!==null&&t.type==="Type"&&(t.name==="custom-ident"&&S.type===pe||t.name==="length"&&S.value==="0")){w===null&&(w=s(t,y)),t=yt;break}f(),t=T.matchRef||T.match;break}case"Keyword":{const P=t.name;if(S!==null){let T=S.value;if(T.indexOf("\\")!==-1&&(T=T.replace(/\\[09].*$/,"")),np(T,P)){u(),t=at;break}}t=yt;break}case"AtKeyword":case"Function":if(S!==null&&np(S.value,t.name)){u(),t=at;break}t=yt;break;case"Token":if(S!==null&&S.value===t.value){u(),t=at;break}t=yt;break;case"Comma":S!==null&&S.type===Kn?rw(E.token)?t=yt:(u(),t=ow(S)?yt:at):t=rw(E.token)||ow(S)?at:yt;break;case"String":let R="",O=v;for(;O<e.length&&R.length<t.value.length;O++)R+=e[O].value;if(np(R,t.value)){for(;v<O;)u();t=at}else t=yt;break;default:throw new Error("Unknown node type: "+t.type)}switch(A){case null:console.warn("[csstree-match] BREAK after "+nw+" iterations"),A=rG,E=null;break;case tw:for(;h!==null;)p();break;default:E=null}return{tokens:e,reason:A,iterations:_,match:E,longestMatch:x}}function iw(e,t,n){const r=sG(e,t,n||{});if(r.match===null)return r;let o=r.match,s=r.match={syntax:t.syntax||null,match:[]};const a=[s];for(o=oG(o).prev;o!==null;){switch(o.type){case lh:s.match.push(s={syntax:o.syntax,match:[]}),a.push(s);break;case QC:a.pop(),s=a[a.length-1];break;default:s.match.push({syntax:o.syntax||null,token:o.token.value,node:o.token.node})}o=o.prev}return r}function ZC(e){function t(o){return o===null?!1:o.type==="Type"||o.type==="Property"||o.type==="Keyword"}function n(o){if(Array.isArray(o.match)){for(let s=0;s<o.match.length;s++)if(n(o.match[s]))return t(o.syntax)&&r.unshift(o.syntax),!0}else if(o.node===e)return r=t(o.syntax)?[o.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function aG(e,t){return wm(this,e,n=>n.type==="Type"&&n.name===t)}function lG(e,t){return wm(this,e,n=>n.type==="Property"&&n.name===t)}function cG(e){return wm(this,e,t=>t.type==="Keyword")}function wm(e,t,n){const r=ZC.call(e,t);return r===null?!1:r.some(n)}const uG=Object.freeze(Object.defineProperty({__proto__:null,getTrace:ZC,isKeyword:cG,isProperty:lG,isType:aG},Symbol.toStringTag,{value:"Module"}));function ek(e){return"node"in e?e.node:ek(e.match[0])}function tk(e){return"node"in e?e.node:tk(e.match[e.match.length-1])}function sw(e,t,n,r,o){function s(c){if(c.syntax!==null&&c.syntax.type===r&&c.syntax.name===o){const u=ek(c),f=tk(c);e.syntax.walk(t,function(p,h,g){if(p===u){const y=new Zt;do{if(y.appendData(h.data),h.data===f)break;h=h.next}while(h!==null);a.push({parent:g,nodes:y})}})}Array.isArray(c.match)&&c.match.forEach(s)}const a=[];return n.matched!==null&&s(n.matched),a}const{hasOwnProperty:Aa}=Object.prototype;function rp(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function aw(e){return!!e&&rp(e.offset)&&rp(e.line)&&rp(e.column)}function fG(e,t){return function(r,o){if(!r||r.constructor!==Object)return o(r,"Type of node should be an Object");for(let s in r){let a=!0;if(Aa.call(r,s)!==!1){if(s==="type")r.type!==e&&o(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(s==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")s+=".source";else if(!aw(r.loc.start))s+=".start";else if(!aw(r.loc.end))s+=".end";else continue;a=!1}else if(t.hasOwnProperty(s)){a=!1;for(let c=0;!a&&c<t[s].length;c++){const u=t[s][c];switch(u){case String:a=typeof r[s]=="string";break;case Boolean:a=typeof r[s]=="boolean";break;case null:a=r[s]===null;break;default:typeof u=="string"?a=r[s]&&r[s].type===u:Array.isArray(u)&&(a=r[s]instanceof Zt)}}}else o(r,"Unknown field `"+s+"` for "+e+" node type");a||o(r,"Bad value for `"+e+"."+s+"`")}}for(const s in t)Aa.call(t,s)&&Aa.call(r,s)===!1&&o(r,"Field `"+e+"."+s+"` is missed")}}function nk(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(o===String||o===Boolean)n.push(o.name.toLowerCase());else if(o===null)n.push("null");else if(typeof o=="string")n.push(o);else if(Array.isArray(o))n.push("List<"+(nk(o,t)||"any")+">");else throw new Error("Wrong value `"+o+"` in `"+t+"` structure definition")}return n.join(" | ")}function dG(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const s in n){if(Aa.call(n,s)===!1)continue;const a=r[s]=Array.isArray(n[s])?n[s].slice():[n[s]];o[s]=nk(a,e+"."+s)}return{docs:o,check:fG(e,r)}}function pG(e){const t={};if(e.node){for(const n in e.node)if(Aa.call(e.node,n)){const r=e.node[n];if(r.structure)t[n]=dG(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function ch(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:am(e[o].syntax,{compact:t}));return r}function hG(e,t,n){const r={};for(const[o,s]of Object.entries(e))r[o]={prelude:s.prelude&&(n?s.prelude.syntax:am(s.prelude.syntax,{compact:t})),descriptors:s.descriptors&&ch(s.descriptors,t,n)};return r}function mG(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function gG(e){const t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Pr(e,t,n){return{matched:e,iterations:n,error:t,...uG}}function as(e,t,n,r){const o=X3(n,e.syntax);let s;return mG(o)?Pr(null,new Error("Matching for a tree with var() is not supported")):(r&&(s=iw(o,e.cssWideKeywordsSyntax,e)),(!r||!s.match)&&(s=iw(o,t.match,e),!s.match)?Pr(null,new WH(s.reason,t.syntax,n,s),s.iterations):Pr(s.match,null,s.iterations))}class lw{constructor(t,n,r){if(this.cssWideKeywords=cm,this.syntax=n,this.generic=!1,this.units={...Vv},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||pG(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(const o of Object.keys(Vv))Array.isArray(t.units[o])&&(this.units[o]=t.units[o]);if(t.types)for(const[o,s]of Object.entries(t.types))this.addType_(o,s);if(t.generic){this.generic=!0;for(const[o,s]of Object.entries(y3(this.units)))this.addType_(o,s)}if(t.atrules)for(const[o,s]of Object.entries(t.atrules))this.addAtrule_(o,s);if(t.properties)for(const[o,s]of Object.entries(t.properties))this.addProperty_(o,s)}this.cssWideKeywordsSyntax=hc(this.cssWideKeywords.join(" | "))}checkStructure(t){function n(s,a){o.push({node:s,message:a})}const r=this.structure,o=[];return this.syntax.walk(t,function(s){r.hasOwnProperty(s.type)?r[s.type].check(s,n):n(s,"Unknown node type `"+s.type+"`")}),o.length?o:!1}createDescriptor(t,n,r,o=null){const s={type:n,name:r},a={type:n,name:r,parent:o,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null,matchRef:null};return typeof t=="function"?a.match=hc(t,s):(typeof t=="string"?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:XC(t)}),a.syntax}}):a.syntax=t,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:hc(a.syntax,s)}),a.match}}),n==="Property"&&Object.defineProperty(a,"matchRef",{get(){const c=a.syntax,u=gG(c)?hc({...c,terms:[c.terms[0].term]},s):null;return Object.defineProperty(a,"matchRef",{value:u}),u}})),a}addAtrule_(t,n){n&&(this.atrules[t]={type:"Atrule",name:t,prelude:n.prelude?this.createDescriptor(n.prelude,"AtrulePrelude",t):null,descriptors:n.descriptors?Object.keys(n.descriptors).reduce((r,o)=>(r[o]=this.createDescriptor(n.descriptors[o],"AtruleDescriptor",o,t),r),Object.create(null)):null})}addProperty_(t,n){n&&(this.properties[t]=this.createDescriptor(n,"Property",t))}addType_(t,n){n&&(this.types[t]=this.createDescriptor(n,"Type",t))}checkAtruleName(t){if(!this.getAtrule(t))return new ca("Unknown at-rule","@"+t)}checkAtrulePrelude(t,n){const r=this.checkAtruleName(t);if(r)return r;const o=this.getAtrule(t);if(!o.prelude&&n)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(o.prelude&&!n&&!as(this,o.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,n){const r=this.checkAtruleName(t);if(r)return r;const o=this.getAtrule(t),s=Qd(n);if(!o.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!o.descriptors[s.name]&&!o.descriptors[s.basename])return new ca("Unknown at-rule descriptor",n)}checkPropertyName(t){if(!this.getProperty(t))return new ca("Unknown property",t)}matchAtrulePrelude(t,n){const r=this.checkAtrulePrelude(t,n);if(r)return Pr(null,r);const o=this.getAtrule(t);return o.prelude?as(this,o.prelude,n||"",!1):Pr(null,null)}matchAtruleDescriptor(t,n,r){const o=this.checkAtruleDescriptorName(t,n);if(o)return Pr(null,o);const s=this.getAtrule(t),a=Qd(n);return as(this,s.descriptors[a.name]||s.descriptors[a.basename],r,!1)}matchDeclaration(t){return t.type!=="Declaration"?Pr(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,n){if(Bv(t).custom)return Pr(null,new Error("Lexer matching doesn't applicable for custom properties"));const r=this.checkPropertyName(t);return r?Pr(null,r):as(this,this.getProperty(t),n,!0)}matchType(t,n){const r=this.getType(t);return r?as(this,r,n,!1):Pr(null,new ca("Unknown type",t))}match(t,n){return typeof t!="string"&&(!t||!t.type)?Pr(null,new ca("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),as(this,t,n,!1))}findValueFragments(t,n,r,o){return sw(this,n,this.matchProperty(t,n),r,o)}findDeclarationValueFragments(t,n,r){return sw(this,t.value,this.matchDeclaration(t),n,r)}findAllFragments(t,n,r){const o=[];return this.syntax.walk(t,{visit:"Declaration",enter:s=>{o.push.apply(o,this.findDeclarationValueFragments(s,n,r))}}),o}getAtrule(t,n=!0){const r=Qd(t);return(r.vendor&&n?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getAtrulePrelude(t,n=!0){const r=this.getAtrule(t,n);return r&&r.prelude||null}getAtruleDescriptor(t,n){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[n]||null}getProperty(t,n=!0){const r=Bv(t);return(r.vendor&&n?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(u,f){return f?`<${u}>`:`<'${u}'>`}function n(u,f,p,h){if(p.has(f))return p.get(f);p.set(f,!1),h.syntax!==null&&K3(h.syntax,function(g){if(g.type!=="Type"&&g.type!=="Property")return;const y=g.type==="Type"?u.types:u.properties,w=g.type==="Type"?o:s;hasOwnProperty.call(y,g.name)?n(u,g.name,w,y[g.name])&&(r.push(`${t(f,p===o)} used broken syntax definition ${t(g.name,g.type==="Type")}`),p.set(f,!0)):(r.push(`${t(f,p===o)} used missed syntax definition ${t(g.name,g.type==="Type")}`),p.set(f,!0))},this)}const r=[];let o=new Map,s=new Map;for(const u in this.types)n(this,u,o,this.types[u]);for(const u in this.properties)n(this,u,s,this.properties[u]);const a=[...o.keys()].filter(u=>o.get(u)),c=[...s.keys()].filter(u=>s.get(u));return a.length||c.length?{errors:r,types:a,properties:c}:null}dump(t,n){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:ch(this.types,!n,t),properties:ch(this.properties,!n,t),atrules:hG(this.atrules,!n,t)}}toString(){return JSON.stringify(this.dump())}}function op(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function yG(e,t){const n=Object.create(null);for(const r of Object.keys(e))t.includes(r)&&(n[r]=e[r]);return n}function ip(e,t,n){const r={...e};for(const[o,s]of Object.entries(t))r[o]={...r[o],...n?yG(s,n):s};return r}function uh(e,t){const n={...e};for(const[r,o]of Object.entries(t))switch(r){case"generic":n[r]=!!o;break;case"cssWideKeywords":n[r]=e[r]?[...e[r],...o]:o||[];break;case"units":n[r]={...e[r]};for(const[s,a]of Object.entries(o))n[r][s]=Array.isArray(a)?a:[];break;case"atrules":n[r]={...e[r]};for(const[s,a]of Object.entries(o)){const c=n[r][s]||{},u=n[r][s]={prelude:c.prelude||null,descriptors:{...c.descriptors}};if(a){u.prelude=a.prelude?op(u.prelude,a.prelude):u.prelude||null;for(const[f,p]of Object.entries(a.descriptors||{}))u.descriptors[f]=p?op(u.descriptors[f],p):null;Object.keys(u.descriptors).length||(u.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[s,a]of Object.entries(o))n[r][s]=op(n[r][s],a);break;case"parseContext":n[r]={...e[r],...o};break;case"scope":case"features":n[r]=ip(e[r],o);break;case"atrule":case"pseudo":n[r]=ip(e[r],o,["parse"]);break;case"node":n[r]=ip(e[r],o,["name","structure","parse","generate","walkContext"]);break}return n}function rk(e){const t=_H(e),n=FH(e),r=IH(e),{fromPlainObject:o,toPlainObject:s}=MH(n),a={lexer:null,createLexer:c=>new lw(c,a,a.lexer.structure),tokenize:Wu,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:s,fork(c){const u=uh({},e);return rk(typeof c=="function"?c(u):uh(u,c))}};return a.lexer=new lw({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const bG=e=>rk(uh({},e)),_G={generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","an+b":"odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","angular-color-stop":"<color> <color-stop-angle>?","angular-color-stop-list":"<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?","animateable-feature":"scroll-position|contents|<custom-ident>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage [0,∞]>|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","cursor-predefined":"auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing","custom-color-space":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( <radial-size>? [at <position>]? )","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,∞]> )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( [<number>|<percentage>]? )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsl( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( [<number>|<percentage>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list>","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]","offset-path":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,∞]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","polygon()":"polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [<radial-gradient-syntax>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( [<number>|<percentage>]? )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","sepia()":"sepia( [<number>|<percentage>]? )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-composition":"replace|add|accumulate","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-content-zooming":"none|zoom","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","-webkit-user-select":"auto|none|text|all","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,∞]>]#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-list>","backface-visibility":"visible|hidden",background:"<bg-layer>#? , <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<visual-box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-right-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,∞]>|<number [0,∞]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage [0,∞]>{1,4} [/ <length-percentage [0,∞]>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,∞]>{1,2}","border-top-right-radius":"<length-percentage [0,∞]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,∞]>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"auto|<length [0,∞]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-style>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,∞]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,∞]>","padding-right":"<length-percentage [0,∞]>","padding-top":"<length-percentage [0,∞]>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-inset":"<length>{1,2}|auto","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,∞]>||<percentage [0,∞]>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<visual-box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong","position-try-options":"<'position-try-fallbacks'>",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",speak:"auto|never|always","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,∞]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,∞]>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"auto|block|swap|fallback|optional","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <color>]#"}},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,∞]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}}},Zr=43,nr=45,Rc=110,wi=!0,vG=!1;function Pc(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for((r===Zr||r===nr)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)un(this.charCodeAt(n))||this.error("Integer is expected",n)}function ys(e){return Pc.call(this,0,e)}function Go(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case Rc:n="N is expected";break;case nr:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+e)}}function sp(){let e=0,t=0,n=this.tokenType;for(;n===Ft||n===fn;)n=this.lookupType(++e);if(n!==Ie)if(this.isDelim(Zr,e)||this.isDelim(nr,e)){t=this.isDelim(Zr,e)?Zr:nr;do n=this.lookupType(++e);while(n===Ft||n===fn);n!==Ie&&(this.skip(e),ys.call(this,wi))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==Zr&&n!==nr&&this.error("Number sign is expected")),ys.call(this,t!==0),t===nr?"-"+this.consume(Ie):this.consume(Ie)}const wG="AnPlusB",EG={a:[String,null],b:[String,null]};function ok(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===Ie)ys.call(this,vG),n=this.consume(Ie);else if(this.tokenType===pe&&this.cmpChar(this.tokenStart,nr))switch(t="-1",Go.call(this,1,Rc),this.tokenEnd-this.tokenStart){case 2:this.next(),n=sp.call(this);break;case 3:Go.call(this,2,nr),this.next(),this.skipSC(),ys.call(this,wi),n="-"+this.consume(Ie);break;default:Go.call(this,2,nr),Pc.call(this,3,wi),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===pe||this.isDelim(Zr)&&this.lookupType(1)===pe){let r=0;switch(t="1",this.isDelim(Zr)&&(r=1,this.next()),Go.call(this,0,Rc),this.tokenEnd-this.tokenStart){case 1:this.next(),n=sp.call(this);break;case 2:Go.call(this,1,nr),this.next(),this.skipSC(),ys.call(this,wi),n="-"+this.consume(Ie);break;default:Go.call(this,1,nr),Pc.call(this,2,wi),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===qe){const r=this.charCodeAt(this.tokenStart),o=r===Zr||r===nr;let s=this.tokenStart+o;for(;s<this.tokenEnd&&un(this.charCodeAt(s));s++);s===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),Go.call(this,s-this.tokenStart,Rc),t=this.substring(e,s),s+1===this.tokenEnd?(this.next(),n=sp.call(this)):(Go.call(this,s-this.tokenStart+1,nr),s+2===this.tokenEnd?(this.next(),this.skipSC(),ys.call(this,wi),n="-"+this.consume(Ie)):(Pc.call(this,s-this.tokenStart+2,wi),this.next(),n=this.substrToCursor(s+1)))}else this.error();return t!==null&&t.charCodeAt(0)===Zr&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===Zr&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function SG(e){if(e.a){const t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){const n=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}const CG=Object.freeze(Object.defineProperty({__proto__:null,generate:SG,name:wG,parse:ok,structure:EG},Symbol.toStringTag,{value:"Module"}));function cw(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function kG(){for(let e=1,t;t=this.lookupType(e);e++){if(t===sr)return!0;if(t===nn||t===Wt)return!1}return!1}const TG="Atrule",xG="atrule",OG={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function ik(e=!1){const t=this.tokenStart;let n,r,o=null,s=null;switch(this.eat(Wt),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==nn&&this.tokenType!==Cn&&(this.parseAtrulePrelude?o=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),cw):o=cw.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case Cn:this.next();break;case nn:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?s=this.atrule[r].block.call(this,e):s=this.Block(kG.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:s}}function AG(e){this.token(Wt,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(Cn,";")}const RG=Object.freeze(Object.defineProperty({__proto__:null,generate:AG,name:TG,parse:ik,structure:OG,walkContext:xG},Symbol.toStringTag,{value:"Module"})),PG="AtrulePrelude",LG="atrulePrelude",IG={children:[[]]};function sk(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==nn&&this.tokenType!==Cn&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function MG(e){this.children(e)}const NG=Object.freeze(Object.defineProperty({__proto__:null,generate:MG,name:PG,parse:sk,structure:IG,walkContext:LG},Symbol.toStringTag,{value:"Module"})),DG=36,ak=42,Lc=61,FG=94,fh=124,$G=126;function jG(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(ak)?(t=!0,this.next()):this.isDelim(fh)||this.eat(pe),this.isDelim(fh)?this.charCodeAt(this.tokenStart+1)!==Lc?(this.next(),this.eat(pe)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function UG(){const e=this.tokenStart,t=this.charCodeAt(e);return t!==Lc&&t!==$G&&t!==FG&&t!==DG&&t!==ak&&t!==fh&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Lc&&(this.isDelim(Lc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const zG="AttributeSelector",BG={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function lk(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(lr),this.skipSC(),t=jG.call(this),this.skipSC(),this.tokenType!==wr&&(this.tokenType!==pe&&(n=UG.call(this),this.skipSC(),r=this.tokenType===Br?this.String():this.Identifier(),this.skipSC()),this.tokenType===pe&&(o=this.consume(pe),this.skipSC())),this.eat(wr),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}function WG(e){this.token(Ye,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(pe,e.flags),this.token(Ye,"]")}const VG=Object.freeze(Object.defineProperty({__proto__:null,generate:WG,name:zG,parse:lk,structure:BG},Symbol.toStringTag,{value:"Module"})),HG=38;function ck(){return this.Raw(null,!0)}function uw(){return this.parseWithFallback(this.Rule,ck)}function fw(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function GG(){if(this.tokenType===Cn)return fw.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,fw);return this.tokenType===Cn&&this.next(),e}const KG="Block",qG="block",YG={children:[["Atrule","Rule","Declaration"]]};function uk(e){const t=e?GG:uw,n=this.tokenStart;let r=this.createList();this.eat(nn);e:for(;!this.eof;)switch(this.tokenType){case sr:break e;case Ft:case fn:this.next();break;case Wt:r.push(this.parseWithFallback(this.Atrule.bind(this,e),ck));break;default:e&&this.isDelim(HG)?r.push(uw.call(this)):r.push(t.call(this))}return this.eof||this.eat(sr),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function XG(e){this.token(nn,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(Cn,";")}),this.token(sr,"}")}const JG=Object.freeze(Object.defineProperty({__proto__:null,generate:XG,name:KG,parse:uk,structure:YG,walkContext:qG},Symbol.toStringTag,{value:"Module"})),QG="Brackets",ZG={children:[[]]};function fk(e,t){const n=this.tokenStart;let r=null;return this.eat(lr),r=e.call(this,t),this.eof||this.eat(wr),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function e4(e){this.token(Ye,"["),this.children(e),this.token(Ye,"]")}const t4=Object.freeze(Object.defineProperty({__proto__:null,generate:e4,name:QG,parse:fk,structure:ZG},Symbol.toStringTag,{value:"Module"})),n4="CDC",r4=[];function dk(){const e=this.tokenStart;return this.eat(zn),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function o4(){this.token(zn,"-->")}const i4=Object.freeze(Object.defineProperty({__proto__:null,generate:o4,name:n4,parse:dk,structure:r4},Symbol.toStringTag,{value:"Module"})),s4="CDO",a4=[];function pk(){const e=this.tokenStart;return this.eat(nl),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function l4(){this.token(nl,"<!--")}const c4=Object.freeze(Object.defineProperty({__proto__:null,generate:l4,name:s4,parse:pk,structure:a4},Symbol.toStringTag,{value:"Module"})),u4=46,f4="ClassSelector",d4={name:String};function hk(){return this.eatDelim(u4),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(pe)}}function p4(e){this.token(Ye,"."),this.token(pe,e.name)}const h4=Object.freeze(Object.defineProperty({__proto__:null,generate:p4,name:f4,parse:hk,structure:d4},Symbol.toStringTag,{value:"Module"})),m4=43,dw=47,g4=62,y4=126,b4="Combinator",_4={name:String};function mk(){const e=this.tokenStart;let t;switch(this.tokenType){case Ft:t=" ";break;case Ye:switch(this.charCodeAt(this.tokenStart)){case g4:case m4:case y4:this.next();break;case dw:this.next(),this.eatIdent("deep"),this.eatDelim(dw);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function v4(e){this.tokenize(e.name)}const w4=Object.freeze(Object.defineProperty({__proto__:null,generate:v4,name:b4,parse:mk,structure:_4},Symbol.toStringTag,{value:"Module"})),E4=42,S4=47,C4="Comment",k4={value:String};function gk(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(fn),t-e+2>=2&&this.charCodeAt(t-2)===E4&&this.charCodeAt(t-1)===S4&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function T4(e){this.token(fn,"/*"+e.value+"*/")}const x4=Object.freeze(Object.defineProperty({__proto__:null,generate:T4,name:C4,parse:gk,structure:k4},Symbol.toStringTag,{value:"Module"})),O4=new Set([Sn,Pe,Qo]),A4="Condition",R4={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function pw(e){return this.lookupTypeNonSC(1)===pe&&O4.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const P4={media:pw,container:pw,supports(){return this.SupportsDeclaration()}};function yk(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case fn:case Ft:this.next();continue;case pe:t.push(this.Identifier());break;case it:{let n=this.parseWithFallback(()=>P4[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(it);const r=this.Condition(e);return this.eat(Pe),r},()=>this.GeneralEnclosed(e))),t.push(n);break}case Fe:{let n=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);n||(n=this.GeneralEnclosed(e)),t.push(n);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function L4(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(it,"("),this.node(t),this.token(Pe,")")):this.node(t)})}const I4=Object.freeze(Object.defineProperty({__proto__:null,generate:L4,name:A4,parse:yk,structure:R4},Symbol.toStringTag,{value:"Module"})),bk=33,M4=35,N4=36,D4=38,F4=42,$4=43,hw=47;function j4(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function U4(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function z4(){const e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==Cn&&this.isDelim(bk)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}const B4="Declaration",W4="declaration",V4={important:[Boolean,String],property:String,value:["Value","Raw"]};function _k(){const e=this.tokenStart,t=this.tokenIndex,n=G4.call(this),r=lm(n),o=r?this.parseCustomProperty:this.parseValue,s=r?U4:j4;let a=!1,c;this.skipSC(),this.eat(Sn);const u=this.tokenIndex;if(r||this.skipSC(),o?c=this.parseWithFallback(z4,s):c=s.call(this,this.tokenIndex),r&&c.type==="Value"&&c.children.isEmpty){for(let f=u-this.tokenIndex;f<=0;f++)if(this.lookupType(f)===Ft){c.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(bk)&&(a=K4.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==Cn&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:n,value:c}}function H4(e){this.token(pe,e.property),this.token(Sn,":"),this.node(e.value),e.important&&(this.token(Ye,"!"),this.token(pe,e.important===!0?"important":e.important))}function G4(){const e=this.tokenStart;if(this.tokenType===Ye)switch(this.charCodeAt(this.tokenStart)){case F4:case N4:case $4:case M4:case D4:this.next();break;case hw:this.next(),this.isDelim(hw)&&this.next();break}return this.tokenType===kt?this.eat(kt):this.eat(pe),this.substrToCursor(e)}function K4(){this.eat(Ye),this.skipSC();const e=this.consume(pe);return e==="important"?!0:e}const q4=Object.freeze(Object.defineProperty({__proto__:null,generate:H4,name:B4,parse:_k,structure:V4,walkContext:W4},Symbol.toStringTag,{value:"Module"})),Y4=38;function ap(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const X4="DeclarationList",J4={children:[["Declaration","Atrule","Rule"]]};function vk(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case Ft:case fn:case Cn:this.next();break;case Wt:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),ap));break;default:this.isDelim(Y4)?e.push(this.parseWithFallback(this.Rule,ap)):e.push(this.parseWithFallback(this.Declaration,ap))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Q4(e){this.children(e,t=>{t.type==="Declaration"&&this.token(Cn,";")})}const Z4=Object.freeze(Object.defineProperty({__proto__:null,generate:Q4,name:X4,parse:vk,structure:J4},Symbol.toStringTag,{value:"Module"})),eK="Dimension",tK={value:String,unit:String};function wk(){const e=this.tokenStart,t=this.consumeNumber(qe);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function nK(e){this.token(qe,e.value+e.unit)}const rK=Object.freeze(Object.defineProperty({__proto__:null,generate:nK,name:eK,parse:wk,structure:tK},Symbol.toStringTag,{value:"Module"})),oK=47,iK="Feature",sK={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function Ek(e){const t=this.tokenStart;let n,r=null;if(this.eat(it),this.skipSC(),n=this.consume(pe),this.skipSC(),this.tokenType!==Pe){switch(this.eat(Sn),this.skipSC(),this.tokenType){case Ie:this.lookupNonWSType(1)===Ye?r=this.Ratio():r=this.Number();break;case qe:r=this.Dimension();break;case pe:r=this.Identifier();break;case Fe:r=this.parseWithFallback(()=>{const o=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(oK)&&this.error(),o},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(Pe),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function aK(e){this.token(it,"("),this.token(pe,e.name),e.value!==null&&(this.token(Sn,":"),this.node(e.value)),this.token(Pe,")")}const lK=Object.freeze(Object.defineProperty({__proto__:null,generate:aK,name:iK,parse:Ek,structure:sK},Symbol.toStringTag,{value:"Module"})),cK="FeatureFunction",uK={kind:String,feature:String,value:["Declaration","Selector"]};function fK(e,t){const r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function Sk(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=fK.call(this,e,n.toLowerCase());this.skipSC();const o=this.parseWithFallback(()=>{const s=this.tokenIndex,a=r.call(this);return this.eof===!1&&this.isBalanceEdge(s)===!1&&this.error(),a},()=>this.Raw(null,!1));return this.eof||this.eat(Pe),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}function dK(e){this.token(Fe,e.feature+"("),this.node(e.value),this.token(Pe,")")}const pK=Object.freeze(Object.defineProperty({__proto__:null,generate:dK,name:cK,parse:Sk,structure:uK},Symbol.toStringTag,{value:"Module"})),mw=47,hK=60,gw=61,mK=62,gK="FeatureRange",yK={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]};function lp(){switch(this.skipSC(),this.tokenType){case Ie:return this.isDelim(mw,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case qe:return this.Dimension();case pe:return this.Identifier();case Fe:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(mw)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function yw(e){if(this.skipSC(),this.isDelim(hK)||this.isDelim(mK)){const t=this.source[this.tokenStart];return this.next(),this.isDelim(gw)?(this.next(),t+"="):t}if(this.isDelim(gw))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Ck(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(it);const n=lp.call(this),r=yw.call(this,n.type==="Identifier"),o=lp.call(this);let s=null,a=null;return this.lookupNonWSType(0)!==Pe&&(s=yw.call(this),a=lp.call(this)),this.skipSC(),this.eat(Pe),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:s,right:a}}function bK(e){this.token(it,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(Pe,")")}const _K=Object.freeze(Object.defineProperty({__proto__:null,generate:bK,name:gK,parse:Ck,structure:yK},Symbol.toStringTag,{value:"Module"})),vK="Function",wK="function",EK={name:String,children:[[]]};function kk(e,t){const n=this.tokenStart,r=this.consumeFunctionName(),o=r.toLowerCase();let s;return s=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(Pe),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:s}}function SK(e){this.token(Fe,e.name+"("),this.children(e),this.token(Pe,")")}const CK=Object.freeze(Object.defineProperty({__proto__:null,generate:SK,name:vK,parse:kk,structure:EK,walkContext:wK},Symbol.toStringTag,{value:"Module"})),kK="GeneralEnclosed",TK={kind:String,function:[String,null],children:[[]]};function Tk(e){const t=this.tokenStart;let n=null;this.tokenType===Fe?n=this.consumeFunctionName():this.eat(it);const r=this.parseWithFallback(()=>{const o=this.tokenIndex,s=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),s},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(Pe),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function xK(e){e.function?this.token(Fe,e.function+"("):this.token(it,"("),this.children(e),this.token(Pe,")")}const OK=Object.freeze(Object.defineProperty({__proto__:null,generate:xK,name:kK,parse:Tk,structure:TK},Symbol.toStringTag,{value:"Module"})),AK="XXX",RK="Hash",PK={value:String};function xk(){const e=this.tokenStart;return this.eat(kt),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function LK(e){this.token(kt,"#"+e.value)}const IK=Object.freeze(Object.defineProperty({__proto__:null,generate:LK,name:RK,parse:xk,structure:PK,xxx:AK},Symbol.toStringTag,{value:"Module"})),MK="Identifier",NK={name:String};function Ok(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(pe)}}function DK(e){this.token(pe,e.name)}const FK=Object.freeze(Object.defineProperty({__proto__:null,generate:DK,name:MK,parse:Ok,structure:NK},Symbol.toStringTag,{value:"Module"})),$K="IdSelector",jK={name:String};function Ak(){const e=this.tokenStart;return this.eat(kt),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function UK(e){this.token(Ye,"#"+e.name)}const zK=Object.freeze(Object.defineProperty({__proto__:null,generate:UK,name:$K,parse:Ak,structure:jK},Symbol.toStringTag,{value:"Module"})),BK=46,WK="Layer",VK={name:String};function Rk(){let e=this.tokenStart,t=this.consume(pe);for(;this.isDelim(BK);)this.eat(Ye),t+="."+this.consume(pe);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function HK(e){this.tokenize(e.name)}const GK=Object.freeze(Object.defineProperty({__proto__:null,generate:HK,name:WK,parse:Rk,structure:VK},Symbol.toStringTag,{value:"Module"})),KK="LayerList",qK={children:[["Layer"]]};function Pk(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===Kn);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function YK(e){this.children(e,()=>this.token(Kn,","))}const XK=Object.freeze(Object.defineProperty({__proto__:null,generate:YK,name:KK,parse:Pk,structure:qK},Symbol.toStringTag,{value:"Module"})),JK="MediaQuery",QK={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function Lk(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),this.tokenType===pe&&this.lookupTypeNonSC(1)!==it){const o=this.consume(pe),s=o.toLowerCase();switch(s==="not"||s==="only"?(this.skipSC(),t=s,n=this.consume(pe)):n=o,this.lookupTypeNonSC(0)){case pe:{this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break}case nn:case Cn:case Kn:case Qo:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case pe:case it:case Fe:{r=this.Condition("media");break}case nn:case Cn:case Qo:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:n,condition:r}}function ZK(e){e.mediaType?(e.modifier&&this.token(pe,e.modifier),this.token(pe,e.mediaType),e.condition&&(this.token(pe,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}const eq=Object.freeze(Object.defineProperty({__proto__:null,generate:ZK,name:JK,parse:Lk,structure:QK},Symbol.toStringTag,{value:"Module"})),tq="MediaQueryList",nq={children:[["MediaQuery"]]};function Ik(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Kn);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function rq(e){this.children(e,()=>this.token(Kn,","))}const oq=Object.freeze(Object.defineProperty({__proto__:null,generate:rq,name:tq,parse:Ik,structure:nq},Symbol.toStringTag,{value:"Module"})),iq=38,sq="NestingSelector",aq={};function Mk(){const e=this.tokenStart;return this.eatDelim(iq),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function lq(){this.token(Ye,"&")}const cq=Object.freeze(Object.defineProperty({__proto__:null,generate:lq,name:sq,parse:Mk,structure:aq},Symbol.toStringTag,{value:"Module"})),uq="Nth",fq={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function Nk(){this.skipSC();const e=this.tokenStart;let t=e,n=null,r;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?r=this.Identifier():r=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),n=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:r,selector:n}}function dq(e){this.node(e.nth),e.selector!==null&&(this.token(pe,"of"),this.node(e.selector))}const pq=Object.freeze(Object.defineProperty({__proto__:null,generate:dq,name:uq,parse:Nk,structure:fq},Symbol.toStringTag,{value:"Module"})),hq="Number",mq={value:String};function Dk(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(Ie)}}function gq(e){this.token(Ie,e.value)}const yq=Object.freeze(Object.defineProperty({__proto__:null,generate:gq,name:hq,parse:Dk,structure:mq},Symbol.toStringTag,{value:"Module"})),bq="Operator",_q={value:String};function Fk(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function vq(e){this.tokenize(e.value)}const wq=Object.freeze(Object.defineProperty({__proto__:null,generate:vq,name:bq,parse:Fk,structure:_q},Symbol.toStringTag,{value:"Module"})),Eq="Parentheses",Sq={children:[[]]};function $k(e,t){const n=this.tokenStart;let r=null;return this.eat(it),r=e.call(this,t),this.eof||this.eat(Pe),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function Cq(e){this.token(it,"("),this.children(e),this.token(Pe,")")}const kq=Object.freeze(Object.defineProperty({__proto__:null,generate:Cq,name:Eq,parse:$k,structure:Sq},Symbol.toStringTag,{value:"Module"})),Tq="Percentage",xq={value:String};function jk(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(Dt)}}function Oq(e){this.token(Dt,e.value+"%")}const Aq=Object.freeze(Object.defineProperty({__proto__:null,generate:Oq,name:Tq,parse:jk,structure:xq},Symbol.toStringTag,{value:"Module"})),Rq="PseudoClassSelector",Pq="function",Lq={name:String,children:[["Raw"],null]};function Uk(){const e=this.tokenStart;let t=null,n,r;return this.eat(Sn),this.tokenType===Fe?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==Pe?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(Pe)):n=this.consume(pe),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function Iq(e){this.token(Sn,":"),e.children===null?this.token(pe,e.name):(this.token(Fe,e.name+"("),this.children(e),this.token(Pe,")"))}const Mq=Object.freeze(Object.defineProperty({__proto__:null,generate:Iq,name:Rq,parse:Uk,structure:Lq,walkContext:Pq},Symbol.toStringTag,{value:"Module"})),Nq="PseudoElementSelector",Dq="function",Fq={name:String,children:[["Raw"],null]};function zk(){const e=this.tokenStart;let t=null,n,r;return this.eat(Sn),this.eat(Sn),this.tokenType===Fe?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==Pe?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(Pe)):n=this.consume(pe),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function $q(e){this.token(Sn,":"),this.token(Sn,":"),e.children===null?this.token(pe,e.name):(this.token(Fe,e.name+"("),this.children(e),this.token(Pe,")"))}const jq=Object.freeze(Object.defineProperty({__proto__:null,generate:$q,name:Nq,parse:zk,structure:Fq,walkContext:Dq},Symbol.toStringTag,{value:"Module"})),bw=47;function _w(){switch(this.skipSC(),this.tokenType){case Ie:return this.Number();case Fe:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}const Uq="Ratio",zq={left:["Number","Function"],right:["Number","Function",null]};function Bk(){const e=this.tokenStart,t=_w.call(this);let n=null;return this.skipSC(),this.isDelim(bw)&&(this.eatDelim(bw),n=_w.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function Bq(e){this.node(e.left),this.token(Ye,"/"),e.right?this.node(e.right):this.node(Ie,1)}const Wq=Object.freeze(Object.defineProperty({__proto__:null,generate:Bq,name:Uq,parse:Bk,structure:zq},Symbol.toStringTag,{value:"Module"}));function Vq(){return this.tokenIndex>0&&this.lookupType(-1)===Ft?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const Hq="Raw",Gq={value:String};function Wk(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>n?r=Vq.call(this):r=this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function Kq(e){this.tokenize(e.value)}const qq=Object.freeze(Object.defineProperty({__proto__:null,generate:Kq,name:Hq,parse:Wk,structure:Gq},Symbol.toStringTag,{value:"Module"}));function vw(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function Yq(){const e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==nn&&this.error(),e}const Xq="Rule",Jq="rule",Qq={prelude:["SelectorList","Raw"],block:["Block"]};function Vk(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return this.parseRulePrelude?n=this.parseWithFallback(Yq,vw):n=vw.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function Zq(e){this.node(e.prelude),this.node(e.block)}const e8=Object.freeze(Object.defineProperty({__proto__:null,generate:Zq,name:Xq,parse:Vk,structure:Qq,walkContext:Jq},Symbol.toStringTag,{value:"Module"})),t8="Scope",n8={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function Hk(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===it&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(Pe)),this.lookupNonWSType(0)===pe&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(it),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(Pe)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function r8(e){e.root&&(this.token(it,"("),this.node(e.root),this.token(Pe,")")),e.limit&&(this.token(pe,"to"),this.token(it,"("),this.node(e.limit),this.token(Pe,")"))}const o8=Object.freeze(Object.defineProperty({__proto__:null,generate:r8,name:t8,parse:Hk,structure:n8},Symbol.toStringTag,{value:"Module"})),i8="Selector",s8={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function Gk(){const e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function a8(e){this.children(e)}const l8=Object.freeze(Object.defineProperty({__proto__:null,generate:a8,name:i8,parse:Gk,structure:s8},Symbol.toStringTag,{value:"Module"})),c8="SelectorList",u8="selector",f8={children:[["Selector","Raw"]]};function Kk(){const e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===Kn){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function d8(e){this.children(e,()=>this.token(Kn,","))}const p8=Object.freeze(Object.defineProperty({__proto__:null,generate:d8,name:c8,parse:Kk,structure:f8,walkContext:u8},Symbol.toStringTag,{value:"Module"})),dh=92,qk=34,h8=39;function Yk(e){const t=e.length,n=e.charCodeAt(0),r=n===qk||n===h8?1:0,o=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let s="";for(let a=r;a<=o;a++){let c=e.charCodeAt(a);if(c===dh){if(a===o){a!==t-1&&(s=e.substr(a+1));break}if(c=e.charCodeAt(++a),eo(dh,c)){const u=a-1,f=Ls(e,u);a=f-1,s+=MC(e.substring(u+1,f))}else c===13&&e.charCodeAt(a+1)===10&&a++}else s+=e[a]}return s}function m8(e,t){const r=qk;let o="",s=!1;for(let a=0;a<e.length;a++){const c=e.charCodeAt(a);if(c===0){o+="�";continue}if(c<=31||c===127){o+="\\"+c.toString(16),s=!0;continue}c===r||c===dh?(o+="\\"+e.charAt(a),s=!1):(s&&(oi(c)||Mi(c))&&(o+=" "),o+=e.charAt(a),s=!1)}return'"'+o+'"'}const g8="String",y8={value:String};function Xk(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Yk(this.consume(Br))}}function b8(e){this.token(Br,m8(e.value))}const _8=Object.freeze(Object.defineProperty({__proto__:null,generate:b8,name:g8,parse:Xk,structure:y8},Symbol.toStringTag,{value:"Module"})),v8=33;function ww(){return this.Raw(null,!1)}const w8="StyleSheet",E8="stylesheet",S8={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function Jk(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case Ft:this.next();continue;case fn:if(this.charCodeAt(this.tokenStart+2)!==v8){this.next();continue}n=this.Comment();break;case nl:n=this.CDO();break;case zn:n=this.CDC();break;case Wt:n=this.parseWithFallback(this.Atrule,ww);break;default:n=this.parseWithFallback(this.Rule,ww)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function C8(e){this.children(e)}const k8=Object.freeze(Object.defineProperty({__proto__:null,generate:C8,name:w8,parse:Jk,structure:S8,walkContext:E8},Symbol.toStringTag,{value:"Module"})),T8="SupportsDeclaration",x8={declaration:"Declaration"};function Qk(){const e=this.tokenStart;this.eat(it),this.skipSC();const t=this.Declaration();return this.eof||this.eat(Pe),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function O8(e){this.token(it,"("),this.node(e.declaration),this.token(Pe,")")}const A8=Object.freeze(Object.defineProperty({__proto__:null,generate:O8,name:T8,parse:Qk,structure:x8},Symbol.toStringTag,{value:"Module"})),R8=42,Ew=124;function cp(){this.tokenType!==pe&&this.isDelim(R8)===!1&&this.error("Identifier or asterisk is expected"),this.next()}const P8="TypeSelector",L8={name:String};function Zk(){const e=this.tokenStart;return this.isDelim(Ew)?(this.next(),cp.call(this)):(cp.call(this),this.isDelim(Ew)&&(this.next(),cp.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function I8(e){this.tokenize(e.name)}const M8=Object.freeze(Object.defineProperty({__proto__:null,generate:I8,name:P8,parse:Zk,structure:L8},Symbol.toStringTag,{value:"Module"})),eT=43,tT=45,ph=63;function ba(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const o=this.charCodeAt(r);if(o===tT&&t&&n!==0)return ba.call(this,e+n+1,!1),-1;oi(o)||this.error(t&&n!==0?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function mc(e){let t=0;for(;this.isDelim(ph);)++t>e&&this.error("Too many question marks"),this.next()}function N8(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===eT?"Plus sign":"Hyphen minus")+" is expected")}function D8(){let e=0;switch(this.tokenType){case Ie:if(e=ba.call(this,1,!0),this.isDelim(ph)){mc.call(this,6-e);break}if(this.tokenType===qe||this.tokenType===Ie){N8.call(this,tT),ba.call(this,1,!1);break}break;case qe:e=ba.call(this,1,!0),e>0&&mc.call(this,6-e);break;default:if(this.eatDelim(eT),this.tokenType===pe){e=ba.call(this,0,!0),e>0&&mc.call(this,6-e);break}if(this.isDelim(ph)){this.next(),mc.call(this,5);break}this.error("Hex digit or question mark is expected")}}const F8="UnicodeRange",$8={value:String};function nT(){const e=this.tokenStart;return this.eatIdent("u"),D8.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function j8(e){this.tokenize(e.value)}const U8=Object.freeze(Object.defineProperty({__proto__:null,generate:j8,name:F8,parse:nT,structure:$8},Symbol.toStringTag,{value:"Module"})),z8=32,hh=92,B8=34,W8=39,V8=40,rT=41;function H8(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===rT?t-2:t-1,o="";for(;n<r&&Mi(e.charCodeAt(n));)n++;for(;n<r&&Mi(e.charCodeAt(r));)r--;for(let s=n;s<=r;s++){let a=e.charCodeAt(s);if(a===hh){if(s===r){s!==t-1&&(o=e.substr(s+1));break}if(a=e.charCodeAt(++s),eo(hh,a)){const c=s-1,u=Ls(e,c);s=u-1,o+=MC(e.substring(c+1,u))}else a===13&&e.charCodeAt(s+1)===10&&s++}else o+=e[s]}return o}function G8(e){let t="",n=!1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(o===0){t+="�";continue}if(o<=31||o===127){t+="\\"+o.toString(16),n=!0;continue}o===z8||o===hh||o===B8||o===W8||o===V8||o===rT?(t+="\\"+e.charAt(r),n=!1):(n&&oi(o)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}const K8="Url",q8={value:String};function oT(){const e=this.tokenStart;let t;switch(this.tokenType){case bn:t=H8(this.consume(bn));break;case Fe:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(Fe),this.skipSC(),t=Yk(this.consume(Br)),this.skipSC(),this.eof||this.eat(Pe);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function Y8(e){this.token(bn,G8(e.value))}const X8=Object.freeze(Object.defineProperty({__proto__:null,generate:Y8,name:K8,parse:oT,structure:q8},Symbol.toStringTag,{value:"Module"})),J8="Value",Q8={children:[[]]};function iT(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function Z8(e){this.children(e)}const eY=Object.freeze(Object.defineProperty({__proto__:null,generate:Z8,name:J8,parse:iT,structure:Q8},Symbol.toStringTag,{value:"Module"})),tY=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),nY="WhiteSpace",rY={value:String};function sT(){return this.eat(Ft),tY}function oY(e){this.token(Ft,e.value)}const iY=Object.freeze(Object.defineProperty({__proto__:null,generate:oY,name:nY,parse:sT,structure:rY},Symbol.toStringTag,{value:"Module"})),aT=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:CG,Atrule:RG,AtrulePrelude:NG,AttributeSelector:VG,Block:JG,Brackets:t4,CDC:i4,CDO:c4,ClassSelector:h4,Combinator:w4,Comment:x4,Condition:I4,Declaration:q4,DeclarationList:Z4,Dimension:rK,Feature:lK,FeatureFunction:pK,FeatureRange:_K,Function:CK,GeneralEnclosed:OK,Hash:IK,IdSelector:zK,Identifier:FK,Layer:GK,LayerList:XK,MediaQuery:eq,MediaQueryList:oq,NestingSelector:cq,Nth:pq,Number:yq,Operator:wq,Parentheses:kq,Percentage:Aq,PseudoClassSelector:Mq,PseudoElementSelector:jq,Ratio:Wq,Raw:qq,Rule:e8,Scope:o8,Selector:l8,SelectorList:p8,String:_8,StyleSheet:k8,SupportsDeclaration:A8,TypeSelector:M8,UnicodeRange:U8,Url:X8,Value:eY,WhiteSpace:iY},Symbol.toStringTag,{value:"Module"})),sY={generic:!0,cssWideKeywords:cm,..._G,node:aT},aY=35,lY=42,Sw=43,cY=45,uY=47,fY=117;function lT(e){switch(this.tokenType){case kt:return this.Hash();case Kn:return this.Operator();case it:return this.Parentheses(this.readSequence,e.recognizer);case lr:return this.Brackets(this.readSequence,e.recognizer);case Br:return this.String();case qe:return this.Dimension();case Dt:return this.Percentage();case Ie:return this.Number();case Fe:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case bn:return this.Url();case pe:return this.cmpChar(this.tokenStart,fY)&&this.cmpChar(this.tokenStart+1,Sw)?this.UnicodeRange():this.Identifier();case Ye:{const t=this.charCodeAt(this.tokenStart);if(t===uY||t===lY||t===Sw||t===cY)return this.Operator();t===aY&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const dY={getNode:lT},pY=35,hY=38,mY=42,gY=43,yY=47,Cw=46,bY=62,_Y=124,vY=126;function wY(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function EY(){switch(this.tokenType){case lr:return this.AttributeSelector();case kt:return this.IdSelector();case Sn:return this.lookupType(1)===Sn?this.PseudoElementSelector():this.PseudoClassSelector();case pe:return this.TypeSelector();case Ie:case Dt:return this.Percentage();case qe:this.charCodeAt(this.tokenStart)===Cw&&this.error("Identifier is expected",this.tokenStart+1);break;case Ye:{switch(this.charCodeAt(this.tokenStart)){case gY:case bY:case vY:case yY:return this.Combinator();case Cw:return this.ClassSelector();case mY:case _Y:return this.TypeSelector();case pY:return this.IdSelector();case hY:return this.NestingSelector()}break}}}const SY={onWhiteSpace:wY,getNode:EY};function CY(){return this.createSingleNodeList(this.Raw(null,!1))}function kY(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===Kn){e.push(this.Operator());const t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type==="Value"&&n.children.isEmpty){for(let r=t-this.tokenIndex;r<=0;r++)if(this.lookupType(r)===Ft){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function kw(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}const TY={getNode:lT,onWhiteSpace(e,t){kw(e)&&(e.value=" "+e.value),kw(t.last)&&(t.last.value+=" ")},expression:CY,var:kY},xY=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:dY,Selector:SY,Value:TY},Symbol.toStringTag,{value:"Module"})),OY=new Set(["none","and","not","or"]),AY={parse:{prelude(){const e=this.createList();if(this.tokenType===pe){const t=this.substring(this.tokenStart,this.tokenEnd);OY.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},RY={parse:{prelude:null,block(){return this.Block(!0)}}};function up(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==Pe&&this.error()}},t||(()=>this.Raw(null,!0)))}const Tw={layer(){this.skipSC();const e=this.createList(),t=up.call(this,this.Layer);return(t.type!=="Raw"||t.value!=="")&&e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=up.call(this,this.Declaration,()=>up.call(this,()=>this.Condition("supports")));return(t.type!=="Raw"||t.value!=="")&&e.push(t),e}},PY={parse:{prelude(){const e=this.createList();switch(this.tokenType){case Br:e.push(this.String());break;case bn:case Fe:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===pe&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===Fe&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,Tw)),this.skipSC(),this.tokenType===Fe&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,Tw)),(this.lookupNonWSType(0)===pe||this.lookupNonWSType(0)===it)&&e.push(this.MediaQueryList()),e},block:null}},LY={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},IY={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},MY={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},NY={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},DY={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},FY={parse:{prelude:null,block(e=!1){return this.Block(e)}}},$Y={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}},jY={container:AY,"font-face":RY,import:PY,layer:LY,media:IY,nest:MY,page:NY,scope:DY,"starting-style":FY,supports:$Y};function UY(){const e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case pe:e.push(this.Identifier());break;case Br:e.push(this.String());break;case Kn:e.push(this.Operator());break;case Pe:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}const _i={parse(){return this.createSingleNodeList(this.SelectorList())}},fp={parse(){return this.createSingleNodeList(this.Selector())}},zY={parse(){return this.createSingleNodeList(this.Identifier())}},BY={parse:UY},gc={parse(){return this.createSingleNodeList(this.Nth())}},WY={dir:zY,has:_i,lang:BY,matches:_i,is:_i,"-moz-any":_i,"-webkit-any":_i,where:_i,not:_i,"nth-child":gc,"nth-last-child":gc,"nth-last-of-type":gc,"nth-of-type":gc,slotted:fp,host:fp,"host-context":fp},VY=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:ok,Atrule:ik,AtrulePrelude:sk,AttributeSelector:lk,Block:uk,Brackets:fk,CDC:dk,CDO:pk,ClassSelector:hk,Combinator:mk,Comment:gk,Condition:yk,Declaration:_k,DeclarationList:vk,Dimension:wk,Feature:Ek,FeatureFunction:Sk,FeatureRange:Ck,Function:kk,GeneralEnclosed:Tk,Hash:xk,IdSelector:Ak,Identifier:Ok,Layer:Rk,LayerList:Pk,MediaQuery:Lk,MediaQueryList:Ik,NestingSelector:Mk,Nth:Nk,Number:Dk,Operator:Fk,Parentheses:$k,Percentage:jk,PseudoClassSelector:Uk,PseudoElementSelector:zk,Ratio:Bk,Raw:Wk,Rule:Vk,Scope:Hk,Selector:Gk,SelectorList:Kk,String:Xk,StyleSheet:Jk,SupportsDeclaration:Qk,TypeSelector:Zk,UnicodeRange:nT,Url:oT,Value:iT,WhiteSpace:sT},Symbol.toStringTag,{value:"Module"})),HY={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:xY,atrule:jY,pseudo:WY,node:VY},GY={node:aT},KY=bG({...sY,...HY,...GY}),{tokenize:l9,parse:qY,generate:YY,lexer:c9,createLexer:u9,walk:XY,find:f9,findLast:d9,findAll:p9,toPlainObject:h9,fromPlainObject:m9,fork:g9}=KY;function JY(e,t,n){if(!e.includes("url("))return e;const r=qY(e,{positions:!1});return XY(r,o=>{if(o.type==="Url"&&o.value){const s=typeof o.value=="string"?o.value.replace(/["']/g,""):o.value;if(!s.startsWith("/")&&!s.startsWith("http://")&&!s.startsWith("https://")&&!s.startsWith("data:")){const c=new URL(s,t),u=n?.find(f=>c.href.endsWith(f.path));u?o.value=u.signedUrl:o.value=c.href}}}),YY(r)}function QY(e){const n=new URL(e).pathname;return n.slice(n.lastIndexOf("."))}async function ZY(e){try{return(await fetch(e)).ok}catch(t){return console.log(`Error fetching ${e}:`,t.message),!1}}function xw(e){return fetch(e).then(t=>t.blob()).then(t=>new Promise((n,r)=>{const o=new FileReader;o.onloadend=()=>n(o.result),o.onerror=r,o.readAsDataURL(t)}))}async function e6(e){const t=[],n=Array.from(e.querySelectorAll("*")),r=[];for(const o of n){const s=o,a=s.style?.backgroundImage||"",c=a.match(/url\(["']?(blob:[^"')]*)["']?\)/);if(c){const u=c[1];r.push(xw(u).then(f=>{s.style.backgroundImage=a.replace(u,f),t.push(()=>{s.style.backgroundImage=a})}).catch(()=>{}))}if(s instanceof HTMLImageElement&&s.src.startsWith("blob:")){const u=s.src;r.push(xw(u).then(f=>{s.src=f,t.push(()=>{s.src=u})}).catch(()=>{}))}}return await Promise.all(r),()=>t.forEach(o=>o())}function t6(e,t,n){const r=[];let o="";for(const s of t){const a=o+s;e.measureText(a).width>n&&o.length>0?(r.push(o),o=s):o=a}return o&&r.push(o),r.length?r:[t]}function n6(e,t="跨域内容无法截图"){const n=e.querySelectorAll("canvas"),r=[];return n.forEach(o=>{const s=o.parentNode;if(!s)return;const a=o.offsetWidth||300,c=o.offsetHeight||200,u=document.createElement("canvas");u.width=a,u.height=c,u.style.width=o.style.width||`${a}px`,u.style.height=o.style.height||`${c}px`,u.style.display=o.style.display||"block";const f=u.getContext("2d");if(f){f.fillStyle="#f5f5f5",f.fillRect(0,0,a,c),f.setLineDash([6,4]),f.strokeStyle="#ccc",f.lineWidth=1.5,f.strokeRect(4,4,a-8,c-8),f.setLineDash([]);const p=Math.max(12,Math.min(16,Math.floor(a/30)));f.fillStyle="#999",f.font=`${p}px sans-serif`,f.textAlign="center",f.textBaseline="middle";const h=t6(f,t,a-40),g=p*1.6,y=h.length*g,w=c/2-y/2+g/2;h.forEach((_,A)=>{f.fillText(_,a/2,w+A*g)})}s.replaceChild(u,o),r.push({parent:s,placeholder:u,original:o})}),r}function r6(e){e.forEach(({parent:t,placeholder:n,original:r})=>{t.replaceChild(r,n)})}const mh=(e,t)=>t.some(n=>e instanceof n);let Ow,Aw;function o6(){return Ow||(Ow=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function i6(){return Aw||(Aw=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const gh=new WeakMap,dp=new WeakMap,Ku=new WeakMap;function s6(e){const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("success",s),e.removeEventListener("error",a)},s=()=>{n(Ai(e.result)),o()},a=()=>{r(e.error),o()};e.addEventListener("success",s),e.addEventListener("error",a)});return Ku.set(t,e),t}function a6(e){if(gh.has(e))return;const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",a),e.removeEventListener("abort",a)},s=()=>{n(),o()},a=()=>{r(e.error||new DOMException("AbortError","AbortError")),o()};e.addEventListener("complete",s),e.addEventListener("error",a),e.addEventListener("abort",a)});gh.set(e,t)}let yh={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return gh.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Ai(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function cT(e){yh=e(yh)}function l6(e){return i6().includes(e)?function(...t){return e.apply(bh(this),t),Ai(this.request)}:function(...t){return Ai(e.apply(bh(this),t))}}function c6(e){return typeof e=="function"?l6(e):(e instanceof IDBTransaction&&a6(e),mh(e,o6())?new Proxy(e,yh):e)}function Ai(e){if(e instanceof IDBRequest)return s6(e);if(dp.has(e))return dp.get(e);const t=c6(e);return t!==e&&(dp.set(e,t),Ku.set(t,e)),t}const bh=e=>Ku.get(e);function u6(e,t,{blocked:n,upgrade:r,blocking:o,terminated:s}={}){const a=indexedDB.open(e,t),c=Ai(a);return r&&a.addEventListener("upgradeneeded",u=>{r(Ai(a.result),u.oldVersion,u.newVersion,Ai(a.transaction),u)}),n&&a.addEventListener("blocked",u=>n(u.oldVersion,u.newVersion,u)),c.then(u=>{s&&u.addEventListener("close",()=>s()),o&&u.addEventListener("versionchange",f=>o(f.oldVersion,f.newVersion,f))}).catch(()=>{}),c}const f6=["get","getKey","getAll","getAllKeys","count"],d6=["put","add","delete","clear"],pp=new Map;function Rw(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(pp.get(t))return pp.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,o=d6.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(o||f6.includes(n)))return;const s=async function(a,...c){const u=this.transaction(a,o?"readwrite":"readonly");let f=u.store;return r&&(f=f.index(c.shift())),(await Promise.all([f[n](...c),o&&u.done]))[0]};return pp.set(t,s),s}cT(e=>({...e,get:(t,n,r)=>Rw(t,n)||e.get(t,n,r),has:(t,n)=>!!Rw(t,n)||e.has(t,n)}));const p6=["continue","continuePrimaryKey","advance"],Pw={},_h=new WeakMap,uT=new WeakMap,h6={get(e,t){if(!p6.includes(t))return e[t];let n=Pw[t];return n||(n=Pw[t]=function(...r){_h.set(this,uT.get(this)[t](...r))}),n}};async function*m6(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;t=t;const n=new Proxy(t,h6);for(uT.set(n,t),Ku.set(n,bh(t));t;)yield n,t=await(_h.get(n)||t.continue()),_h.delete(n)}function Lw(e,t){return t===Symbol.asyncIterator&&mh(e,[IDBIndex,IDBObjectStore,IDBCursor])||t==="iterate"&&mh(e,[IDBIndex,IDBObjectStore])}cT(e=>({...e,get(t,n,r){return Lw(t,n)?m6:e.get(t,n,r)},has(t,n){return Lw(t,n)||e.has(t,n)}}));let Ko=null;const Iw=KS("indexedDB",{actions:{async open(e=1){return Ko||(Ko=await u6(we.INDEX_DB_NAME,e,{upgrade(t){t.objectStoreNames.contains(we.INDEX_DB_TABLE_NAME)||t.createObjectStore(we.INDEX_DB_TABLE_NAME,{keyPath:"hash",autoIncrement:!1}).createIndex("by-hash","hash")},blocked(){console.warn("IndexedDB 被其它标签页占用")}}),Ko)},async get(e,t){return(await this.open()).get(e,t)},async put(e,t){return(await this.open()).put(e,t)},async remove(e,t){return(await this.open()).delete(e,t)},close(){Ko?.close(),Ko=null},async deleteDatabase(){if(Ko){const e=Ko.name;this.close(),indexedDB.deleteDatabase(e)}}}});async function yc(e){let t;try{t=await fetch(e)}catch(s){throw new Error(`[loadScript] 网络请求失败: ${e}
57
- ${s?.message||s}`)}if(!t.ok)throw new Error(`[loadScript] HTTP ${t.status} ${t.statusText}: ${e}`);const n=await t.text(),r=new Blob([n],{type:"application/javascript"}),o=URL.createObjectURL(r);return new Promise((s,a)=>{const c=document.createElement("script");c.src=o,c.onload=()=>{URL.revokeObjectURL(o),s()},c.onerror=()=>{URL.revokeObjectURL(o),a(new Error(`[loadScript] 脚本执行失败: ${e}`))},document.head.appendChild(c)})}function Mw(e,t,n=5e3){const r=Reflect.get(e,t);return r?Promise.resolve(r):new Promise(o=>{const s=Date.now(),a=setInterval(()=>{const c=Reflect.get(e,t);c?(clearInterval(a),o(c)):Date.now()-s>=n&&(clearInterval(a),o(null))},50)})}const fT=KS("sfcLoader",{state:()=>({vue3SfcLoader:null,vue2SfcLoader:null,reactLoader:null}),actions:{setVue3SfcLoader(e){this.$patch(t=>{t.vue3SfcLoader=e})},setVue2SfcLoader(e){this.$patch(t=>{t.vue2SfcLoader=e})},setReactLoader(e){this.$patch(t=>{t.reactLoader=e})},async loadSfcLoader(e,t){const{isDev:n=!1,isSfc:r=!1,scriptPath:o}=t,s=e==="vue3"?this.vue3SfcLoader:this.vue2SfcLoader;if(s)return s;const a=e==="vue3"?we.VUE3_SFC_LOADER_KEY:we.VUE2_SFC_LOADER_KEY,c=r||n,u=c?window:window.parent;let f=Reflect.get(u,a);if(f||(c?(await yc(o),f=Reflect.get(window,a)):(f=await Mw(u,a,5e3),f||(await yc(o),f=Reflect.get(window,a)))),!f)throw new Error(`[loadSfcLoader] 脚本已加载但全局变量 "${a}" 未找到`);return e==="vue3"?this.setVue3SfcLoader(f):this.setVue2SfcLoader(f),f},async loadReactLoader(e){const{isDev:t=!1,isSfc:n=!1,scriptPath:r}=e;if(this.reactLoader)return this.reactLoader;const o=we.REACT_JSX_LOADER_KEY,s=n||t,a=s?window:window.parent;let c=Reflect.get(a,o);if(c||(s?(await yc(r),c=Reflect.get(window,o)):(c=await Mw(a,o,5e3),c||(await yc(r),c=Reflect.get(window,o)))),!c)throw new Error(`[loadSfcLoader] 脚本已加载但全局变量 "${o}" 未找到`);return this.setReactLoader(c),c}}}),dT=[".png",".jpg",".jpeg",".gif",".webp",".avif",".apng",".svg",".tif",".tiff",".bmp",".raw",".cr2",".nef",".psd",".ai",".cdr",".heic",".heif",".ico",".pcx",".tga",".jp2",".j2k",".djvu"],pT=[".mp3",".wav",".ogg",".oga",".flac",".aac",".m4a",".wma",".mp4",".webm",".ogv",".avi",".mov",".flv",".mkv"],g6=e=>dT.includes(e)||pT.includes(e),hT=(e={})=>{const{errorCallBack:t,label:n="loader"}=e;return{async set(r,o){try{await Iw().put(we.INDEX_DB_TABLE_NAME,{hash:r,code:o})}catch(s){console.error(`[${n}] IndexedDB 写入失败:`,s)}},async get(r){try{return(await Iw().get(we.INDEX_DB_TABLE_NAME,r))?.code??void 0}catch(o){console.error(`[${n}] IndexedDB 读取失败:`,o),t?.(o);return}}}},mT=(e,t)=>(n,...r)=>{n==="error"?e?.(new Error(r.join(`
58
- `))):n==="warn"&&t?.(r.join(`
59
- `))},gT=(e,t,n)=>{const{moduleCache:r,pathResolve:o,getResource:s}=n,a=function(p){const{id:h}=s({refPath:e,relPath:p},n);if(h in r)return r[h];throw new Error(`require(${JSON.stringify(h)}) failed. module not found in moduleCache`)},c=async function(p){const{id:h}=s({refPath:e,relPath:p},n);if(h in r)return r[h];throw new Error(`Dynamic import(${JSON.stringify(h)}) failed. module not found in moduleCache`)},u={exports:{}};return Function("exports","require","module","__filename","__dirname","__vsfcl_import__",t).call(u.exports,u.exports,a,u,e,o({refPath:e,relPath:"."},n),c),u},yT=async e=>{const t=e.toString(),n=new URL(e).pathname;if(dT.some(o=>n.endsWith(o))||pT.some(o=>n.endsWith(o))){const o=await fetch(t);if(!o.ok)throw Object.assign(new Error(`${o.statusText} ${e}`),{res:o});const s=await o.blob();return URL.createObjectURL(s)}const r=await fetch(t);if(!r.ok)throw Object.assign(new Error(`${r.statusText} ${e}`),{res:r});return{type:QY(r.url),getContentData:o=>o?r.arrayBuffer():r.text()}},bT=(e={})=>{const{signedUrls:t}=e;return async function(r,o,s){let a=r;s&&r&&(a=JY(r,s,t||[])),o&&document.head.querySelector(`style#${o}`)?.remove();const c=Object.assign(document.createElement("style"),{textContent:a,...o?{id:o}:{}});document.head.appendChild(c)}},_T=({depToFile:e,signedUrls:t,sourceExtensions:n,resolveDepUrl:r})=>function({refPath:s,relPath:a},c){if(a===".")return s;if(c.moduleCache[a])return a;const u=e[a];if(u){const f=r(u);if(f)return f}if(t?.length&&s){const{origin:f,pathname:p}=new URL(s),h=`${f}${p}`,g=new URL(a,h);for(const w of n){const _=t.find(A=>A.signedUrl.startsWith(g.href+w));if(_)return _.signedUrl}const y=t.find(w=>w.signedUrl.startsWith(g.href));if(y)return y.signedUrl}return String(new URL(a,s??window.location.href))},y6={".scss":"scss",".sass":"sass",".less":"less"},vT=(e,t)=>async function(r,o,s){if(g6(r))return await o(!1);switch(r){case".css":{const a=await o(!1);return typeof a=="string"&&await e(a,void 0,s),null}case".less":case".scss":case".sass":{const a=await o(!1),c=y6[r];if(typeof a=="string"){const u=a.trim();if(u){const f=t?await t(u,c):u;await e(f,void 0,s)}}return null}}},hp={},b6=e=>`/${we.WEBSITE_PATH_CONTAINER}/js/${e}.js`;async function _6(e){let t;try{t=await fetch(e)}catch(s){throw new Error(`[loadScript] 网络请求失败: ${e}
60
- ${s?.message||s}`)}if(!t.ok)throw new Error(`[loadScript] HTTP ${t.status} ${t.statusText}: ${e}`);const n=await t.text(),r=new Blob([n],{type:"application/javascript"}),o=URL.createObjectURL(r);return new Promise((s,a)=>{const c=document.createElement("script");c.src=o,c.onload=()=>{URL.revokeObjectURL(o),s()},c.onerror=()=>{URL.revokeObjectURL(o),a(new Error(`[loadScript] 脚本执行失败: ${e}`))},document.head.appendChild(c)})}function v6(e){return e==="less"?we.LESS_COMPILER_KEY:we.SASS_COMPILER_KEY}async function Nw(e,t=b6){const n=v6(e);if(hp[n])return hp[n];let r=window[n];if(!r)try{const o=window.parent;o&&o!==window&&(r=o[n])}catch{r=null}if(!r){const o=t(n);await _6(o),r=window[n]}if(!r)throw new Error(`[getCssCompiler] CSS 预编译器 ${e} 加载失败`);return hp[n]=r,r}async function w6(e,t,n){return t==="less"?(await(await Nw("less",n)).render(e)).css:(await Nw(t,n)).compileString(e).css}const wT=e=>{const{warnCallBack:t,scriptPathResolver:n}=e;return async(r,o)=>{if(r.trim()&&o)try{return await w6(r,o,n)}catch(a){throw t?.(`[processStyles] 浏览器端 CSS 预编译失败: ${a?.message||a}`),a}return r}},E6=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o,templateCompiler:s,cssCompilerScriptPathResolver:a,resolveDepUrl:c})=>{const u=wT({warnCallBack:o,scriptPathResolver:a}),f=bT({signedUrls:n}),p=vT(f,u),g=_T({depToFile:t,signedUrls:n,sourceExtensions:[".vue",".js",".ts"],resolveDepUrl:c??(w=>new URL(`${we.MODULE_LOAD_PREFIX}/${w}`,window.location.origin).href)});return{moduleCache:e,...s?{templateCompiler:s}:{},pathResolve:g,getFile:yT,addStyle:f,processStyles:u,handleModule:p,compiledCache:hT({errorCallBack:r,label:"vue3-sfc-loader"}),log:mT(r,o),createCJSModule:gT}},S6=e=>e instanceof Error?e.message:typeof e=="string"?e:"未知错误",C6=e=>{const{loadSfcLoader:t,entryUrl:n,loadMainJs:r,useAsyncComponent:o=!1,installExtensions:s,callbacks:a={}}=e,{setLoading:c,onRenderError:u,onLoaderError:f,onCompCodeError:p,onCompCodeWarn:h,getErrorMessage:g=S6}=a,y=()=>(typeof n=="function"?n():n)||"",w=v=>{v.config.errorHandler=x=>{const E=g(x);console.error(`[vue3] errorHandler: ${E}`),p?.(E),c?.(!1)},v.config.warnHandler=x=>{console.warn(`[vue3] warnHandler: ${x}`),h?.(x),c?.(!1)}},_=v=>{v.config.errorHandler=function(x){const E=g(x);console.error(`[vue2] errorHandler: ${E}`),p?.(E),c?.(!1)},v.config.warnHandler=function(x){console.warn(`[vue2] warnHandler: ${x}`),h?.(x),c?.(!1)}};return{loadVue3Comp:async v=>{let x;try{x=await t("vue3")}catch(E){const R=g(E);return console.error("[loadVue3Comp] sfcLoader 加载失败:",R),u?.(R),null}try{if(!x){const P="sfcLoader 加载成功但实例为空";return console.error(`[loadVue3Comp] ${P}`),u?.(P),null}const{loadModule:E}=x,R=v?.moduleCache?.vue??await E("vue",v);if(!R?.createApp)return u?.("Vue 3 runtime not found in deps"),null;let O;if(o){const{defineAsyncComponent:P}=R;if(!P)return u?.("defineAsyncComponent is not defined"),null;const T=P({loader:async()=>await E(y(),v),delay:100,timeout:2e4,onError:(N,K,G)=>{if(console.error(`onError:${N.message}`),u?.(N.message),N)return G()}});O=R.createApp({template:"<AsyncComp />"}),O.component("AsyncComp",T)}else{const P=await E(y(),v);O=R.createApp(P)}return R.app=O,s?.vue3?.(O.config.globalProperties),w(O),await r(async P=>await E(P,v)),O}catch(E){const R=g(E);return console.error(`[loadVue3Comp] error: ${R}`),f?.(R),null}},loadVue2Comp:async v=>{let x;try{x=await t("vue2")}catch(E){const R=g(E);return console.error("[loadVue2Comp] sfcLoader 加载失败:",R),u?.(R),null}try{if(!x){const P="sfcLoader 加载成功但实例为空";return console.error(`[loadVue2Comp] ${P}`),u?.(P),null}const{loadModule:E}=x,R=await E("vue",v);if(!R?.default)return u?.("Vue 2 runtime not found in deps"),null;s?.vue2?.(R.default.prototype),_(R.default),await r(async P=>await E(P,v));const O=await E(y(),v);return new R.default(O)}catch(E){const R=g(E);return console.error(`[loadVue2Comp] error: ${R}`),f?.(R),null}}}},k6=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o,cssCompilerScriptPathResolver:s,resolveDepUrl:a})=>{const c=bT({signedUrls:n}),u=wT({warnCallBack:o,scriptPathResolver:s}),f=vT(c,u),h=_T({depToFile:t,signedUrls:n,sourceExtensions:[".jsx",".js",".tsx",".ts"],resolveDepUrl:a??(y=>new URL(`${we.MODULE_LOAD_PREFIX}/${y}`,window.location.origin).href)});return{moduleCache:e,pathResolve:h,getFile:yT,addStyle:c,handleModule:f,compiledCache:hT({errorCallBack:r,label:"react-jsx-loader"}),log:mT(r,o),createCJSModule:gT}},Em=e=>e.some(t=>t.name==="react"),T6=e=>e instanceof Error?e.message:typeof e=="string"?e:"未知错误",x6=e=>{const{loadReactLoader:t,entryUrl:n,depToFile:r,signedUrls:o,cssCompilerScriptPathResolver:s,resolveDepUrl:a,enableWarnPatch:c=!1,extraProps:u,runtimeNotFoundMsg:f="React runtime not found",reactDomNotFoundMsg:p="ReactDOM runtime not found",callbacks:h={}}=e,{onLoaderError:g,onCompileError:y,onCompileWarn:w,onCompCodeError:_,onConsoleWarn:A,onCompRenderError:S,getErrorMessage:v=T6}=h,x=()=>(typeof n=="function"?n():n)||"";return{loadReactComp:async O=>{try{const P=await t(),{loadModule:T}=P,N=k6({moduleCache:O,depToFile:r,signedUrls:o,errorCallBack:ne=>y?.(ne.message),warnCallBack:ne=>w?.(ne),...s?{cssCompilerScriptPathResolver:s}:{},...a?{resolveDepUrl:a}:{}}),K=await T("react",N);if(!K)return g?.(f),null;const G=await T(x(),N);return G?.default?{React:K,Component:G.default,loadModule:T,options:N}:(S?.("Component has no default export"),null)}catch(P){const T=v(P);return console.error(`loadReactComp error: ${T}`),g?.(T),null}},mountReactApp:async({React:O,Component:P,loadModule:T,options:N},K)=>{let G;try{G=await T("react-dom/client",N)}catch{try{G=await T("react-dom",N)}catch{return g?.(p),null}}if(!G)return g?.(p),null;const ne=typeof G?.default?.createRoot=="function",de=class extends O.Component{state={hasError:!1,errorMessage:""};static getDerivedStateFromError(ue){return{hasError:!0,errorMessage:ue.message}}componentDidCatch(ue){console.error(`React render error: ${ue?.message||ue}`),_?.(ue?.message||String(ue))}render(){return this.state.hasError?O.createElement("div",{style:{color:"red",padding:"16px"}},`Component render error: ${this.state.errorMessage}`):this.props.children}};let z=null;if(c){z=console.error;const ue=/^Warning:/;console.error=(...Ee)=>{const We=Ee.join(" ");ue.test(We)&&A?.(We),z.apply(console,Ee)}}const re=()=>{z&&(console.error=z)},ae=()=>{const ue=u?.()??{};return O.createElement(de,null,O.createElement(P,ue))};if(ne){const ue=G.default.createRoot(K);return ue.render(O.createElement(ae)),{root:ue,unmount:()=>{console.log("React组件卸载"),re(),ue.unmount(),K.remove()}}}else return G.default.render(O.createElement(ae),K),{root:null,unmount:()=>{console.log("React组件卸载"),re(),G.default.unmountComponentAtNode(K),K.remove()}}}}};async function ET(e,t,n,r){const o=[...e];return o.sort((a,c)=>{for(const u of n){if(a.name===u)return-1;if(c.name===u)return 1}return 0}),await o.reduce(async(a,c)=>{const{name:u}=c,f=await a,p=t[u];if(!p||n$.PREBUILD_MODULE_SKIP_EXT.find(g=>p.endsWith(g)))return f;try{const y=await import(r?r(u,p):`${we.MODULE_LOAD_PREFIX}/${p}`);f[u]={...y.default,...y,__esModule:!0}}catch(g){const y=g instanceof Error?g.message:String(g);console.warn(`[cacheModule] dep "${u}" preload failed, will be handled by loader:`,y)}return f},Promise.resolve({}))}const O6=["id","aria-label","aria-disabled"],A6=["onClick"],R6=["name","value","checked","disabled","onChange"],P6={class:"segmented__label"},L6=It({__name:"Segmented",props:{modelValue:{type:[String,Number,Boolean],default:void 0},options:{default:()=>[]},segProps:{default:void 0},size:{default:void 0},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},name:{default:void 0},id:{default:void 0},ariaLabel:{default:void 0},direction:{default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,r=t,o=Re(),s=Re({opacity:"0"}),a=ce(()=>n.segProps?.value||"value"),c=ce(()=>n.segProps?.label||"label"),u=ce(()=>n.segProps?.disabled||"disabled");function f(A){return typeof A=="object"&&A!==null?A[a.value]:A}function p(A){return typeof A=="object"&&A!==null?A[c.value]:A}function h(A){return n.disabled?!0:typeof A=="object"&&A!==null?!!A[u.value]:!1}const g=ce(()=>n.options.map(A=>typeof A=="object"&&A!==null?{...A,[a.value]:A[a.value],[c.value]:A[c.value],[u.value]:A[u.value]}:A));function y(A){return f(A)===n.modelValue}function w(A){if(h(A))return;const S=f(A);S!==n.modelValue&&(r("update:modelValue",S),r("change",S))}function _(){Ur(()=>{const A=o.value?.parentElement;if(!A)return;const S=A.querySelectorAll(".segmented__item");let v=null;for(let R=0;R<S.length;R++){const O=S.item(R);if(O&&O.classList.contains("is-selected")){v=O;break}}if(!v){s.value={opacity:"0"};return}const x=A.getBoundingClientRect(),E=v.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${E.width}px`,height:`${E.height}px`,transform:`translateY(${E.top-x.top}px)`}:s.value={opacity:"1",width:`${E.width}px`,height:`${E.height}px`,transform:`translateX(${E.left-x.left}px)`}})}return gt(()=>n.modelValue,_),gt(()=>n.options,_),gt(()=>n.direction,_),Er(_),(A,S)=>(Ce(),pt("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:Tt(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[mt("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Bn(s.value)},null,4),(Ce(!0),pt(Vt,null,Fs(g.value,(v,x)=>(Ce(),pt("label",{key:f(v),class:Tt(["segmented__item",{"is-selected":y(v),"is-disabled":h(v)}]),onClick:E=>w(v)},[mt("input",{type:"radio",class:"segmented__input",name:e.name,value:f(v),checked:y(v),disabled:h(v),onChange:E=>w(v)},null,40,R6),mt("span",P6,[ti(A.$slots,"default",{item:v,index:x},()=>[Bc(Oo(p(v)),1)],!0)])],10,A6))),128))],10,O6))}}),I6=Sr(L6,[["__scopeId","data-v-1ee57095"]]),M6={class:"ec-list"},N6={class:"ec-actions"},D6=It({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Di(),n=kC();return(r,o)=>(Ce(),pt("div",{class:Tt(["ec-outer",je(n)?"ec-outer--dark":"ec-outer--light"])},[mt("div",{class:Tt(["ec-inner",je(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=mt("div",{class:"ec-icon"},"🔧",-1)),mt("h4",{class:Tt(["ec-title",je(n)?"ec-title--dark":"ec-title--light"])},Oo(je(t)("comp.compileError")),3),mt("div",M6,[(Ce(!0),pt(Vt,null,Fs(e.error,(s,a)=>(Ce(),pt("div",{key:a,class:Tt(["ec-item",je(n)?"ec-item--dark":"ec-item--light"])},Oo(s),3))),128))]),mt("div",N6,[ti(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),Dw=Sr(D6,[["__scopeId","data-v-5cf301e4"]]),F6={class:"wc-list"},$6={class:"wc-actions"},j6=It({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Di(),n=kC();return(r,o)=>(Ce(),pt("div",{class:Tt(["wc-outer",je(n)?"wc-outer--dark":"wc-outer--light"])},[mt("div",{class:Tt(["wc-inner",je(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=mt("div",{class:"wc-icon"},"⚠️",-1)),mt("h4",{class:Tt(["wc-title",je(n)?"wc-title--dark":"wc-title--light"])},Oo(je(t)("comp.compileWarn")),3),mt("div",F6,[(Ce(!0),pt(Vt,null,Fs(e.warn,(s,a)=>(Ce(),pt("div",{key:a,class:Tt(["wc-item",je(n)?"wc-item--dark":"wc-item--light"])},Oo(s),3))),128))]),mt("div",$6,[ti(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),U6=Sr(j6,[["__scopeId","data-v-cce09743"]]),z6=It({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e,{expose:t}){const n=Ns("bodyRef");return t({bodyRef:n}),(r,o)=>(Ce(),pt("div",{class:Tt(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[r.$slots.header||e.header?(Ce(),pt("div",{key:0,class:Tt(["card__header",e.headerClass])},[ti(r.$slots,"header",{},()=>[Bc(Oo(e.header),1)],!0)],2)):Mr("",!0),mt("div",{ref_key:"bodyRef",ref:n,class:Tt(["card__body",e.bodyClass]),style:Bn(e.bodyStyle)},[ti(r.$slots,"default",{},void 0,!0)],6),r.$slots.footer||e.footer?(Ce(),pt("div",{key:1,class:Tt(["card__footer",e.footerClass])},[ti(r.$slots,"footer",{},()=>[Bc(Oo(e.footer),1)],!0)],2)):Mr("",!0)],2))}}),ST=Sr(z6,[["__scopeId","data-v-36db9d87"]]),B6=It({__name:"Carousel",props:{height:{default:""},initialIndex:{default:0},trigger:{default:"hover"},autoplay:{type:Boolean,default:!0},interval:{default:3e3},arrow:{default:"hover"},type:{default:""},cardScale:{default:.83},loop:{type:Boolean,default:!0},direction:{default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=Re(r.initialIndex),a=Re(!1),c=Re(!1),u=Re(),f=Re([]);function p(z){f.value.push(z)}function h(z){const re=f.value.findIndex(ae=>ae.uid===z);re!==-1&&(f.value.splice(re,1),s.value>=f.value.length&&(s.value=Math.max(0,f.value.length-1)))}const g=ce(()=>r.direction==="vertical"),y=ce(()=>r.type==="card"),w=ce(()=>r.cardScale);Ti("carousel",{items:f,addItem:p,removeItem:h,activeIndex:s,isVertical:g,isCard:y,cardScale:w,translating:ce(()=>a.value),animating:ce(()=>a.value),slideTo:R});const _=ce(()=>{const z={};return r.height&&r.height!=="auto"&&(z.height=r.height),z}),A=ce(()=>{if(y.value)return{};if(f.value.length===0)return{};const re=-s.value*100;return g.value?{transform:`translateY(${re}%)`}:{transform:`translateX(${re}%)`}}),S=ce(()=>r.trigger==="click"?"click":"mouseenter"),v=ce(()=>g.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),x=ce(()=>g.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function E(z){const re=f.value.length;return re===0?0:r.loop?(z%re+re)%re:Math.max(0,Math.min(z,re-1))}function R(z){if(f.value.length===0)return;const ae=E(z);if(ae===s.value)return;const ue=s.value;s.value=ae,a.value=!0,o("change",ae,ue),setTimeout(()=>{a.value=!1},400)}function O(){R(s.value+1)}function P(){R(s.value-1)}function T(z){if(typeof z=="number"){R(z);return}const re=f.value.findIndex(ae=>ae.name===z);re!==-1&&R(re)}let N=null;function K(){G(),!(!r.autoplay||f.value.length<=1)&&(N=setInterval(()=>{c.value&&r.pauseOnHover||O()},r.interval))}function G(){N!==null&&(clearInterval(N),N=null)}function ne(){c.value=!0}function de(){c.value=!1}return gt(()=>f.value.length,()=>{s.value>=f.value.length&&(s.value=Math.max(0,f.value.length-1)),r.autoplay&&K()}),gt(()=>r.autoplay,z=>{z?K():G()}),gt(()=>r.interval,()=>{r.autoplay&&K()}),Er(()=>{r.autoplay&&K()}),Eu(()=>{G()}),t({activeIndex:s,setActiveItem:T,prev:P,next:O}),(z,re)=>(Ce(),pt("div",{ref_key:"carouselRef",ref:u,class:Tt(["carousel",[`carousel--${e.direction}`]]),style:Bn(_.value),onMouseenter:ne,onMouseleave:de},[mt("div",{class:Tt(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[mt("div",{class:Tt(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":a.value,"carousel__track--motion-blur":e.motionBlur&&a.value}]),style:Bn(A.value)},[ti(z.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&f.value.length>1?(Ce(),pt("button",{key:0,class:Tt(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Bn(v.value),onClick:Pb(P,["stop"])},[...re[0]||(re[0]=[mt("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):Mr("",!0),e.arrow!=="never"&&f.value.length>1?(Ce(),pt("button",{key:1,class:Tt(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Bn(x.value),onClick:Pb(O,["stop"])},[...re[1]||(re[1]=[mt("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):Mr("",!0),f.value.length>1?(Ce(),pt("ul",{key:2,class:Tt(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(Ce(!0),pt(Vt,null,Fs(f.value,(ae,ue)=>(Ce(),pt("li",Nr({key:ae.uid,class:["carousel__indicator",{"carousel__indicator--active":ue===s.value}]},{[bc(S.value)]:Ee=>T(ue)}),[mt("span",null,Oo(ae.label||""),1)],16))),128))],2)):Mr("",!0)],38))}}),CT=Sr(B6,[["__scopeId","data-v-44ca82d0"]]),W6=It({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=Re(!1),r=En("carousel"),o=Re(0);Er(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),Eu(()=>{r?.removeItem(o.value)});const s=ce(()=>r?.items.value??[]),a=ce(()=>r?.activeIndex.value??0),c=ce(()=>r?.isCard.value??!1),u=ce(()=>r?.cardScale.value??.83),f=ce(()=>s.value.findIndex(_=>_.uid===o.value)),p=ce(()=>f.value===a.value),h=ce(()=>{if(!c.value)return!1;const _=s.value.length;return _<=1?!1:f.value===(a.value-1+_)%_}),g=ce(()=>{if(!c.value)return!1;const _=s.value.length;return _<=1?!1:f.value===(a.value+1)%_}),y=ce(()=>{if(c.value&&s.value.length>1){const _=u.value;return p.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:h.value?{transform:`translateX(-30%) scale(${_})`,zIndex:2,opacity:.6}:g.value?{transform:`translateX(30%) scale(${_})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${_})`,zIndex:1,opacity:0}}return{}});function w(){c.value&&(p.value||(h.value||g.value)&&r?.slideTo(f.value))}return(_,A)=>vp((Ce(),pt("div",{class:Tt(["carousel-item",{"carousel-item--card":c.value,"carousel-item--active":p.value,"carousel-item--prev":h.value,"carousel-item--next":g.value}]),style:Bn(y.value),onClick:w},[ti(_.$slots,"default",{},void 0,!0)],6)),[[a0,n.value]])}}),kT=Sr(W6,[["__scopeId","data-v-27534ba2"]]),V6={class:"async-comp-wrapper"},H6={key:0,class:"async-comp-error screenshot-fallback"},G6={class:"toggle-btn active error"},K6=["src"],q6={key:1,class:"async-comp-error"},Y6={key:2,class:"async-comp-error"},X6={class:"toggle-btn active warn"},J6=It({__name:"index",props:{loading:{type:Boolean},classObj:{},currentRenderError:{},currentRenderWarn:{},screenshotUrl:{}},setup(e,{expose:t}){const n=e,r=Ns("compContainer"),o=Re(!0),s=Re(!1),a=ce(()=>n.currentRenderError.length>0?!1:n.currentRenderWarn.length>0?!s.value:!0);return t({compContainer:r}),(c,u)=>{const f=Ih("Icon"),p=TM("loading");return vp((Ce(),pt("div",V6,[vp(mt("div",{ref_key:"compContainer",ref:r,class:Tt(["async-comp-container",e.classObj])},null,2),[[a0,a.value]]),e.currentRenderError.length&&e.screenshotUrl?(Ce(),pt("div",H6,[mt("div",{class:"screenshot-toggle",onClick:u[0]||(u[0]=h=>o.value=!o.value)},[mt("div",G6,[o.value?(Ce(),_t(f,{key:0,icon:"material-symbols:error-outline-rounded"})):(Ce(),_t(f,{key:1,icon:"material-symbols:broken-image-outline-rounded"}))])]),o.value?(Ce(),pt("img",{key:0,src:e.screenshotUrl,class:"screenshot-img",alt:"组件预览截图"},null,8,K6)):(Ce(),_t(je(Dw),{key:1,error:e.currentRenderError},null,8,["error"]))])):e.currentRenderError.length?(Ce(),pt("div",q6,[Ht(je(Dw),{error:e.currentRenderError},null,8,["error"])])):e.currentRenderWarn.length?(Ce(),pt("div",Y6,[mt("div",{class:"screenshot-toggle",onClick:u[1]||(u[1]=h=>s.value=!s.value)},[mt("div",X6,[s.value?(Ce(),_t(f,{key:1,icon:"material-symbols:visibility-outline-rounded"})):(Ce(),_t(f,{key:0,icon:"material-symbols:warning-outline-rounded"}))])]),s.value?(Ce(),_t(je(U6),{key:0,warn:e.currentRenderWarn},null,8,["warn"])):Mr("",!0)])):Mr("",!0)])),[[p,e.loading]])}}}),TT=Sr(J6,[["__scopeId","data-v-9f945523"]]),xT=Symbol("compRenderEvent");function Q6(){const e=Re(0);return Ti(xT,()=>{e.value++}),{renderEvent:e}}function Z6(){const e=En(xT,null);return{notifyRendered:()=>e?.()}}function OT(e,t){const{loaderError:n,loaderWarn:r}=t,{sendMessageToTop:o}=js(),s=$s(),{params:{instanceUid:a}}=Mo(),{notifyRendered:c}=Z6(),u=Re(!1),f=Re(""),p=Re(""),h=Re(""),g=Re(""),y=Re([]),w=ce(()=>({"async-comp-overflow-auto":e.panelType===we.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":e.panelType===we.COMP_EDIT_TAB_TYPE_MINI})),_=ce(()=>{const ne=[...y.value,f.value,p.value,n.value,g.value].filter(Boolean);return[...new Set(ne)]}),A=ce(()=>{const ne=[h.value,...r.value].filter(Boolean);return[...new Set(ne)]}),S=ce(()=>e.signedUrls?.length&&e.signedUrls.find(de=>de.path===`/${we.COMP_SCREENSHOT_MINI_FILENAME}`)?.signedUrl||null),v=ne=>ne instanceof Error?ne.message:typeof ne=="string"?ne:"未知错误",x=()=>{f.value="",p.value="",h.value="",n.value="",r.value=[],g.value="",y.value=[]},E=new Set;let R=null;const O=ne=>{E.forEach(({params:de,callback:z})=>{z(bv(ne,de.mode,de.width,de.height))})},P=ne=>{if(e.panelType!==we.COMP_EDIT_TAB_TYPE_MINI||R)return;const de=ne();de&&(R=new ResizeObserver(()=>{const z=ne();z&&O(z)}),R.observe(de))},T=(ne,de,z)=>{const re={params:ne,callback:de};return E.add(re),z&&de(bv(z,ne.mode,ne.width,ne.height)),()=>{E.delete(re)}},N=()=>{R?.disconnect(),R=null,E.clear()},K=()=>{const z=(e.dep||[]).filter(ae=>!e.depToFile[ae.name]).map(ae=>`${ae.parent?.name||ae.name}${ae.version||""} uninstalled`),re=[...new Set(z)];re.length&&(g.value=re.join(", "))};function G(ne){gt(()=>e.finalEntryUrl,async de=>{ne.unmount(),de&&(await Ur(),await ne.handleCompRender())},{immediate:!0}),gt(()=>[_.value,A.value],([de,z])=>{!de.length&&!z.length||de.length>0&&ne.unmount()}),gt(()=>({hasError:_.value.length>0,hasWarn:A.value.length>0}),({hasError:de,hasWarn:z})=>{o(Qe.COMP_RENDER_ERROR_SET,{hasError:de,hasWarn:z},s,a)},{immediate:!0}),Ds(()=>{ne.unmount(),N()})}return{sendMessageToTop:o,topOrigin:s,instanceUid:a,notifyRendered:c,loading:u,compRenderError:f,compCodeError:p,compCodeWarn:h,moduleNotInstalledError:g,modulesLoadError:y,loaderError:n,loaderWarn:r,classObj:w,currentRenderError:_,currentRenderWarn:A,screenshotUrl:S,getErrorMessage:v,resetAllError:x,notifyScaleListeners:O,setupScaleObserver:P,addScaleListener:T,checkDepModuleExist:K,setupLifecycle:G}}var mp,Fw;function e5(){if(Fw)return mp;Fw=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var a="",c=0,u=-1,f=0,p,h=0;h<=o.length;++h){if(h<o.length)p=o.charCodeAt(h);else{if(p===47)break;p=47}if(p===47){if(!(u===h-1||f===1))if(u!==h-1&&f===2){if(a.length<2||c!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",c=0):(a=a.slice(0,g),c=a.length-1-a.lastIndexOf("/")),u=h,f=0;continue}}else if(a.length===2||a.length===1){a="",c=0,u=h,f=0;continue}}s&&(a.length>0?a+="/..":a="..",c=2)}else a.length>0?a+="/"+o.slice(u+1,h):a=o.slice(u+1,h),c=h-u-1;u=h,f=0}else p===46&&f!==-1?++f:f=-1}return a}function n(o,s){var a=s.dir||s.root,c=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+c:a+o+c:c}var r={resolve:function(){for(var s="",a=!1,c,u=arguments.length-1;u>=-1&&!a;u--){var f;u>=0?f=arguments[u]:(c===void 0&&(c=process.cwd()),f=c),e(f),f.length!==0&&(s=f+"/"+s,a=f.charCodeAt(0)===47)}return s=t(s,!a),a?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var a=s.charCodeAt(0)===47,c=s.charCodeAt(s.length-1)===47;return s=t(s,!a),s.length===0&&!a&&(s="."),s.length>0&&c&&(s+="/"),a?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,a=0;a<arguments.length;++a){var c=arguments[a];e(c),c.length>0&&(s===void 0?s=c:s+="/"+c)}return s===void 0?".":r.normalize(s)},relative:function(s,a){if(e(s),e(a),s===a||(s=r.resolve(s),a=r.resolve(a),s===a))return"";for(var c=1;c<s.length&&s.charCodeAt(c)===47;++c);for(var u=s.length,f=u-c,p=1;p<a.length&&a.charCodeAt(p)===47;++p);for(var h=a.length,g=h-p,y=f<g?f:g,w=-1,_=0;_<=y;++_){if(_===y){if(g>y){if(a.charCodeAt(p+_)===47)return a.slice(p+_+1);if(_===0)return a.slice(p+_)}else f>y&&(s.charCodeAt(c+_)===47?w=_:_===0&&(w=0));break}var A=s.charCodeAt(c+_),S=a.charCodeAt(p+_);if(A!==S)break;A===47&&(w=_)}var v="";for(_=c+w+1;_<=u;++_)(_===u||s.charCodeAt(_)===47)&&(v.length===0?v+="..":v+="/..");return v.length>0?v+a.slice(p+w):(p+=w,a.charCodeAt(p)===47&&++p,a.slice(p))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var a=s.charCodeAt(0),c=a===47,u=-1,f=!0,p=s.length-1;p>=1;--p)if(a=s.charCodeAt(p),a===47){if(!f){u=p;break}}else f=!1;return u===-1?c?"/":".":c&&u===1?"//":s.slice(0,u)},basename:function(s,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(s);var c=0,u=-1,f=!0,p;if(a!==void 0&&a.length>0&&a.length<=s.length){if(a.length===s.length&&a===s)return"";var h=a.length-1,g=-1;for(p=s.length-1;p>=0;--p){var y=s.charCodeAt(p);if(y===47){if(!f){c=p+1;break}}else g===-1&&(f=!1,g=p+1),h>=0&&(y===a.charCodeAt(h)?--h===-1&&(u=p):(h=-1,u=g))}return c===u?u=g:u===-1&&(u=s.length),s.slice(c,u)}else{for(p=s.length-1;p>=0;--p)if(s.charCodeAt(p)===47){if(!f){c=p+1;break}}else u===-1&&(f=!1,u=p+1);return u===-1?"":s.slice(c,u)}},extname:function(s){e(s);for(var a=-1,c=0,u=-1,f=!0,p=0,h=s.length-1;h>=0;--h){var g=s.charCodeAt(h);if(g===47){if(!f){c=h+1;break}continue}u===-1&&(f=!1,u=h+1),g===46?a===-1?a=h:p!==1&&(p=1):a!==-1&&(p=-1)}return a===-1||u===-1||p===0||p===1&&a===u-1&&a===c+1?"":s.slice(a,u)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var a={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return a;var c=s.charCodeAt(0),u=c===47,f;u?(a.root="/",f=1):f=0;for(var p=-1,h=0,g=-1,y=!0,w=s.length-1,_=0;w>=f;--w){if(c=s.charCodeAt(w),c===47){if(!y){h=w+1;break}continue}g===-1&&(y=!1,g=w+1),c===46?p===-1?p=w:_!==1&&(_=1):p!==-1&&(_=-1)}return p===-1||g===-1||_===0||_===1&&p===g-1&&p===h+1?g!==-1&&(h===0&&u?a.base=a.name=s.slice(1,g):a.base=a.name=s.slice(h,g)):(h===0&&u?(a.name=s.slice(1,p),a.base=s.slice(1,g)):(a.name=s.slice(h,p),a.base=s.slice(h,g)),a.ext=s.slice(p,g)),h>0?a.dir=s.slice(0,h-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,mp=r,mp}var $w=e5();async function t5(e,t){return xt("__local__/api/comp/check",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function n5(e,t){return xt("__local__/api/comp/checkCompRepeat",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function r5(e,t){return xt("__local__/api/comp/compFileHash",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function o5(e,t){return xt("__local__/api/comp/compFilesOssSignedUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function i5(e,t){return xt("__local__/api/comp/dep",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function s5(e,t){return xt("__local__/api/comp/dir",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function a5(e,t){return xt("__local__/api/comp/download",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function l5(e,t){return xt("__local__/api/comp/file",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function c5(e,t){return xt("__local__/api/comp/generateCompJson",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function u5(e,t){return xt("__local__/api/comp/localCompDetailByPathHash",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function f5(e,t){return xt("__local__/api/comp/localComps",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function d5(e,t){return xt("__local__/api/comp/localCompsByIds",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function p5(e,t){return xt("__local__/api/comp/openCompPathInExplorer",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function h5(e,t){return xt("__local__/api/comp/openCompPathInVscode",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function m5(e){return xt("__local__/api/comp/packageJson",{method:"POST",...e||{}})}async function g5(e,t){return xt("__local__/api/comp/renameDir",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function y5(e,t){return xt("__local__/api/comp/submit",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function b5(e,t){return xt("__local__/api/comp/update",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function _5(e,t){return xt("__local__/api/comp/updateVersion",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function v5(e,t){return xt("__local__/api/comp/writeFile",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const w5=Object.freeze(Object.defineProperty({__proto__:null,compcontrollerCheck:t5,compcontrollerCheckcomprepeat:n5,compcontrollerCompfilehash:r5,compcontrollerCompfilesosssignedurl:o5,compcontrollerDep:i5,compcontrollerDir:s5,compcontrollerDownload:a5,compcontrollerFile:l5,compcontrollerGeneratecompjson:c5,compcontrollerLocalcompdetailbypathhash:u5,compcontrollerLocalcomps:f5,compcontrollerLocalcompsbyids:d5,compcontrollerOpencomppathinexplorer:p5,compcontrollerOpencomppathinvscode:h5,compcontrollerPackagejson:m5,compcontrollerRenamedir:g5,compcontrollerSubmit:y5,compcontrollerUpdate:b5,compcontrollerUpdateversion:_5,compcontrollerWritefile:v5},Symbol.toStringTag,{value:"Module"}));async function E5(e,t){return xt("__local__/api/module/buildTemplateCompiler",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function S5(e){return xt("__local__/api/module/clearPreBuild",{method:"POST",...e||{}})}async function C5(e,t){return xt("__local__/api/module/preBuild",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function k5(e){return xt("__local__/api/module/preBuildSize",{method:"POST",...e||{}})}const T5=Object.freeze(Object.defineProperty({__proto__:null,modulecontrollerBuildtemplatecompiler:E5,modulecontrollerClearprebuild:S5,modulecontrollerPrebuild:C5,modulecontrollerPrebuildsize:k5},Symbol.toStringTag,{value:"Module"}));async function x5(e,t){return xt("__local__/api/oss/fileSignUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const O5=Object.freeze(Object.defineProperty({__proto__:null,osscontrollerFilesignurl:x5},Symbol.toStringTag,{value:"Module"}));async function A5(e,t){return xt("__local__/api/vuefinder/list",{method:"GET",params:{...e},...t||{}})}const R5=Object.freeze(Object.defineProperty({__proto__:null,vuefindercontrollerList:A5},Symbol.toStringTag,{value:"Module"})),P5={comp:w5,module:T5,oss:O5,vuefinder:R5},Sm=It({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,n=En(_S),s=OT(t,{loaderError:Re(""),loaderWarn:Re([])}),a=Ns("layoutRef"),c=ce(()=>a.value?.compContainer??null),u=fT();let f=()=>{},p=0;const h=ce(()=>n?.value?.find(R=>R.name==="vue")?.version||""),g=R=>{t.panelType===we.COMP_EDIT_TAB_TYPE_MINI&&(R.$onScaleChange=(O,P)=>s.addScaleListener(O,P,c.value))},y=async R=>{if(t.localCompRootPath){const O=$w.join(t.localCompRootPath,we.COMP_ENTRY_FILE);await ZY(O)&&await R(O)}else if(t.signedUrls?.length){const O=t.signedUrls.find(P=>P.path===`/${we.COMP_ENTRY_FILE}`);O&&await R(O.signedUrl)}},{loadVue3Comp:w,loadVue2Comp:_}=C6({loadSfcLoader:async R=>{const{params:{isSfc:O}}=Mo(),P=!1,T=R==="vue3"?we.VUE3_SFC_LOADER_KEY:we.VUE2_SFC_LOADER_KEY,N=$w.join(`/${we.WEBSITE_PATH_CONTAINER}/js/`,`${T}.js`);return u.loadSfcLoader(R,{isDev:P,isSfc:O,scriptPath:N})},entryUrl:()=>t.finalEntryUrl,loadMainJs:y,useAsyncComponent:!0,installExtensions:{vue3:R=>g(R),vue2:R=>g(R)},callbacks:{setLoading:R=>s.loading.value=R,onRenderError:R=>s.compRenderError.value=R,onLoaderError:R=>s.loaderError.value=R,onCompCodeError:R=>s.compCodeError.value=R,onCompCodeWarn:R=>s.compCodeWarn.value=R,getErrorMessage:s.getErrorMessage}}),A=(R,O)=>R.mount?(R.mount(O),P=>{console.log("vue3组件卸载"),R?.unmount(),O.remove(),P?.()}):(R.$mount(O),P=>{console.log("vue2组件卸载"),R?.$destroy(),O.remove(),P?.()}),S=async R=>{if(yv.getMajorVersion(R)!=="2")return null;const P="__vue2TemplateCompiler__",T=window;if(T[P])return T[P];try{const N=await P5.module.modulecontrollerBuildtemplatecompiler({vueVersion:R}),{fileName:K}=N.data;console.log(`[loadTemplateCompiler] 服务端构建完成: ${K}`);const G=new URL(`${we.MODULE_LOAD_PREFIX}/${K}`,window.location.origin).href;await new Promise((de,z)=>{const re=document.createElement("script");re.src=G,re.onload=()=>de(),re.onerror=()=>z(new Error(`加载 ${G} 失败`)),document.head.appendChild(re)});const ne=T.VueTemplateCompiler;return ne?(T[P]=ne,console.log(`[loadTemplateCompiler] 已加载 compiler (version: ${ne.version})`),ne):(console.warn("[loadTemplateCompiler] window.VueTemplateCompiler 未找到,回退到默认 compiler"),null)}catch(N){return console.warn(`[loadTemplateCompiler] ${s.getErrorMessage(N)},回退到默认 compiler`),null}},v=async()=>{s.loading.value=!0,s.resetAllError();try{if(s.checkDepModuleExist(),s.moduleNotInstalledError.value)return null;const R=yv.getMajorVersion(h.value),O=await ET(t.dep,t.depToFile,["vue"]),P=await S(h.value),T=E6({moduleCache:O,depToFile:t.depToFile,signedUrls:t.signedUrls,templateCompiler:P,errorCallBack:N=>{console.error(N);const K=s.getErrorMessage(N);console.error(`sfcLoaderError:${K}`),s.loaderError.value=K},warnCallBack:N=>{console.warn(N),s.loaderWarn.value=[...s.loaderWarn.value,N]}});return R==="3"?await w(T):R==="2"?await _(T):null}catch(R){console.error(R);const O=s.getErrorMessage(R);return console.error(`loadAsyncComp error:${O}`),s.loaderError.value=O,null}finally{s.loading.value=!1}};async function x(){const R=c.value;if(!R){console.error("组件挂载点不存在");return}p++;const O=p,P=document.createElement("div");P.style.height="100%",P.style.width="100%",R.appendChild(P);const T=()=>{P.parentNode&&P.remove()};try{const N=await v();if(O!==p){N?A(N,P)(()=>{}):T();return}if(!N){console.error("组件实例创建失败"),T();return}f=A(N,P),s.setupScaleObserver(()=>c.value),setTimeout(()=>{s.notifyRendered()},200)}catch(N){console.error(N),console.error(`handleCompRender error:${s.getErrorMessage(N)}`),T()}}const E=()=>{f(()=>{c.value&&(c.value.innerHTML="")})};return s.setupLifecycle({unmount:E,handleCompRender:x}),(R,O)=>(Ce(),_t(TT,{ref_key:"layoutRef",ref:a,loading:je(s).loading.value,"class-obj":je(s).classObj.value,"current-render-error":je(s).currentRenderError.value,"current-render-warn":je(s).currentRenderWarn.value,"screenshot-url":je(s).screenshotUrl.value},null,8,["loading","class-obj","current-render-error","current-render-warn","screenshot-url"]))}}),Cm=It({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,o=OT(t,{loaderError:Re(""),loaderWarn:Re([])}),s=Ns("layoutRef"),a=ce(()=>s.value?.compContainer??null),c=fT(),u=`/${we.WEBSITE_PATH_CONTAINER}/js/${we.REACT_JSX_LOADER_KEY}.js`;let f=null,p=null,h=0,g=null;const{loadReactComp:y,mountReactApp:w}=x6({loadReactLoader:async()=>{const{params:{isSfc:v}}=Mo();return c.loadReactLoader({isDev:!1,isSfc:v,scriptPath:u})},entryUrl:()=>t.finalEntryUrl,depToFile:t.depToFile,signedUrls:t.signedUrls,enableWarnPatch:!0,extraProps:()=>{const v={};return g&&(v.onScaleChange=g.onScaleChange),v},callbacks:{onLoaderError:v=>o.loaderError.value=v,onCompileError:v=>o.loaderError.value=v,onCompileWarn:v=>o.loaderWarn.value=[...o.loaderWarn.value,v],onCompCodeError:v=>o.compCodeError.value=v,onConsoleWarn:v=>o.compCodeWarn.value=v,onCompRenderError:v=>o.compRenderError.value=v,getErrorMessage:o.getErrorMessage}}),_=async()=>{o.loading.value=!0,o.resetAllError();try{if(o.checkDepModuleExist(),o.moduleNotInstalledError.value)return null;const v=await ET(t.dep,t.depToFile,["react","react-dom"]);return await y(v)}catch(v){console.error(v);const x=o.getErrorMessage(v);return console.error(`loadAsyncComp error:${x}`),o.loaderError.value=x,null}finally{o.loading.value=!1}},A=async()=>{const v=a.value;if(!v){console.error("组件挂载点不存在");return}h++;const x=h;t.panelType===we.COMP_EDIT_TAB_TYPE_MINI&&(g={onScaleChange:(R,O)=>o.addScaleListener(R,O,a.value)}),p=document.createElement("div"),p.style.height="100%",p.style.width="100%",v.appendChild(p);const E=()=>{p?.parentNode&&p.remove(),p=null};try{const R=await _();if(x!==h){E();return}if(!R){console.error("React组件加载失败"),E();return}const O=await w(R,p);if(!O){E();return}const{root:P,unmount:T}=O;f=P,p.__unmount=T,o.setupScaleObserver(()=>a.value),setTimeout(()=>{o.notifyRendered()},200)}catch(R){console.error(R),console.error(`handleCompRender error:${o.getErrorMessage(R)}`),E()}},S=()=>{p&&p.__unmount&&(p.__unmount(),p=null,f=null),a.value&&(a.value.innerHTML="")};return o.setupLifecycle({unmount:S,handleCompRender:A}),(v,x)=>(Ce(),_t(TT,{ref_key:"layoutRef",ref:s,loading:je(o).loading.value,"class-obj":je(o).classObj.value,"current-render-error":je(o).currentRenderError.value,"current-render-warn":je(o).currentRenderWarn.value,"screenshot-url":je(o).screenshotUrl.value},null,8,["loading","class-obj","current-render-error","current-render-warn","screenshot-url"]))}}),L5=It({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:we.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""},framework:{default:void 0}},setup(e){const t=OM(),n=e,r=ce(()=>{const{previews:s,...a}=n;return a}),o=ce(()=>n.framework===we.COMP_FRAMEWORK_REACT||Em(n.dep));return(s,a)=>(Ce(),_t(je(CT),Nr({class:"comp-mini-carousel",trigger:"click",arrow:"never"},je(t)),{default:Pi(()=>[(Ce(!0),pt(Vt,null,Fs(e.previews,(c,u)=>(Ce(),_t(je(kT),{key:u,class:"comp-mini-carousel-item"},{default:Pi(()=>[mt("div",{class:"comp-mini-carousel-slide",style:Bn({backgroundColor:n.bgColor})},[c.finalEntryUrl&&!o.value?(Ce(),_t(Sm,Nr({key:0,finalEntryUrl:c.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):c.finalEntryUrl&&o.value?(Ce(),_t(Cm,Nr({key:1,finalEntryUrl:c.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):Mr("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),qu=Sr(L5,[["__scopeId","data-v-8b59dfdc"]]);function AT(e=3,t=we.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Mo(),{messageListener:o,sendMessageToTop:s}=js(),a=$s(),{addListener:c}=o(),u=Re(),f=ce(()=>u.value?.item),p=ce(()=>u.value?.dep??[]),h=ce(()=>u.value?.depToFile??{}),g=ce(()=>{if(!f.value)return[];const w=t===we.COMP_EDIT_TAB_TYPE_MINI;return f.value?.previewConfigs.filter(_=>w?_.miniPath?.length:_.fullPath?.length||_.miniPath?.length).slice(0,e).map(_=>{const A=w?_.miniPath:_.fullPath?.length?_.fullPath:_.miniPath,S=KV.getPreviewUrl(f.value.path,A);return{finalEntryUrl:`${we.COMP_PREVIEW_PREFIX_LOCAL}/${S}`}})}),y=ce(()=>({previews:g.value,dep:p.value,depToFile:h.value,localCompRootPath:f.value?.path.replace(we.FILE_MANAGER_DIRNAME,we.COMP_PREVIEW_PREFIX_LOCAL+"/"),framework:u.value?.framework}));return c(Qe.ITEM_INIT_SET_LOCAL,w=>{u.value=w}),s(Qe.ITEM_INIT_GET_LOCAL,n,a,r),{compAttrs:f,carouselBind:y,localDep:p,depToFile:h}}const I5=It({__name:"index",setup(e){const{carouselBind:t}=AT(3,we.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(Ce(),_t(qu,Ri(Cu(je(t))),null,16))}});function RT(e=3,t=we.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Mo(),{messageListener:o,sendMessageToTop:s}=js(),a=$s(),{addListener:c}=o(),u=Re(),f=Re(),p=ce(()=>u.value?.item),h=ce(()=>u.value?.depEntryNameToFile),g=ce(()=>u.value?.versionToFileAccessPath),y=ce(()=>u.value?.item?.version??""),w=ce(()=>{if(!Object.keys(p.value??{}).length)return[];const v=g.value??[],x=new Map(v.map(({path:R,signedUrl:O})=>[R,O])),E=t===we.COMP_EDIT_TAB_TYPE_MINI;return p.value?.previewConfigs.filter(R=>E?R.miniPath?.length:R.fullPath?.length||R.miniPath?.length).slice(0,e).map(R=>{const O=E?R.miniPath:R.fullPath?.length?R.fullPath:R.miniPath,P=VV.replaceBackslashWithSlash(O?.at(-1)??"");return{finalEntryUrl:x.get(P)??""}})}),_=ce(()=>({previews:w.value??[],dep:p.value?.dep??[],signedUrls:g.value??[],depToFile:h.value??{},bgColor:f.value??p.value?.bgColor??"",framework:u.value?.framework}));let A=()=>{};function S(v){A=v}return c(Qe.ITEM_INIT_SET,v=>{u.value=v}),c(Qe.BG_COLOR_SET,v=>{f.value=v}),s(Qe.ITEM_INIT_GET,n,a,r),s(Qe.BG_COLOR_GET,"",a,r),gt(()=>y.value,v=>{v&&A(v)},{once:!0}),{compAttrs:p,carouselBind:_,setInitVersion:S}}const M5=It({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=RT(3),r=Re(""),o=ce(()=>({...t.value,panelType:we.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,a)=>(Ce(),_t(qu,Ri(Cu(o.value)),null,16))}});function N5(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}const D5=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function ni(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}let ls=null;function PT(e={}){return ls||(e.includeStyleProperties?(ls=e.includeStyleProperties,ls):(ls=ni(window.getComputedStyle(document.documentElement)),ls))}function su(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function F5(e){const t=su(e,"border-left-width"),n=su(e,"border-right-width");return e.clientWidth+t+n}function $5(e){const t=su(e,"border-top-width"),n=su(e,"border-bottom-width");return e.clientHeight+t+n}function LT(e,t={}){const n=t.width||F5(e),r=t.height||$5(e);return{width:n,height:r}}function j5(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const tr=16384;function U5(e){(e.width>tr||e.height>tr)&&(e.width>tr&&e.height>tr?e.width>e.height?(e.height*=tr/e.width,e.width=tr):(e.width*=tr/e.height,e.height=tr):e.width>tr?(e.height*=tr/e.width,e.width=tr):(e.width*=tr/e.height,e.height=tr))}function au(e){return new Promise((t,n)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function z5(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function B5(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),o.appendChild(s),s.appendChild(e),z5(o)}const Gn=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||Gn(n,t)};function W5(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function V5(e,t){return PT(t).map(n=>{const r=e.getPropertyValue(n),o=e.getPropertyPriority(n);return`${n}: ${r}${o?" !important":""};`}).join(" ")}function H5(e,t,n,r){const o=`.${e}:${t}`,s=n.cssText?W5(n):V5(n,r);return document.createTextNode(`${o}{${s}}`)}function jw(e,t,n,r){const o=window.getComputedStyle(e,n),s=o.getPropertyValue("content");if(s===""||s==="none")return;const a=D5();try{t.className=`${t.className} ${a}`}catch{return}const c=document.createElement("style");c.appendChild(H5(a,n,o,r)),t.appendChild(c)}function G5(e,t,n){jw(e,t,":before",n),jw(e,t,":after",n)}const Uw="application/font-woff",zw="image/jpeg",K5={woff:Uw,woff2:Uw,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:zw,jpeg:zw,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function q5(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function km(e){const t=q5(e).toLowerCase();return K5[t]||""}function Y5(e){return e.split(/,/)[1]}function vh(e){return e.search(/^(data:)/)!==-1}function X5(e,t){return`data:${t};base64,${e}`}async function IT(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise((s,a)=>{const c=new FileReader;c.onerror=a,c.onloadend=()=>{try{s(n({res:r,result:c.result}))}catch(u){a(u)}},c.readAsDataURL(o)})}const gp={};function J5(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function Tm(e,t,n){const r=J5(e,t,n.includeQueryParams);if(gp[r]!=null)return gp[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let o;try{const s=await IT(e,n.fetchRequestInit,({res:a,result:c})=>(t||(t=a.headers.get("Content-Type")||""),Y5(c)));o=X5(s,t)}catch(s){o=n.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return gp[r]=o,o}async function Q5(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):au(t)}async function Z5(e,t){if(e.currentSrc){const s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);const c=s.toDataURL();return au(c)}const n=e.poster,r=km(n),o=await Tm(n,r,t);return au(o)}async function eX(e,t){var n;try{if(!((n=e?.contentDocument)===null||n===void 0)&&n.body)return await Yu(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function tX(e,t){return Gn(e,HTMLCanvasElement)?Q5(e):Gn(e,HTMLVideoElement)?Z5(e,t):Gn(e,HTMLIFrameElement)?eX(e,t):e.cloneNode(MT(e))}const nX=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",MT=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function rX(e,t,n){var r,o;if(MT(t))return t;let s=[];return nX(e)&&e.assignedNodes?s=ni(e.assignedNodes()):Gn(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?s=ni(e.contentDocument.body.childNodes):s=ni(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes),s.length===0||Gn(e,HTMLVideoElement)||await s.reduce((a,c)=>a.then(()=>Yu(c,n)).then(u=>{u&&t.appendChild(u)}),Promise.resolve()),t}function oX(e,t,n){const r=t.style;if(!r)return;const o=window.getComputedStyle(e);o.cssText?(r.cssText=o.cssText,r.transformOrigin=o.transformOrigin):PT(n).forEach(s=>{let a=o.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),Gn(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),r.setProperty(s,a,o.getPropertyPriority(s))})}function iX(e,t){Gn(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),Gn(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function sX(e,t){if(Gn(e,HTMLSelectElement)){const r=Array.from(t.children).find(o=>e.value===o.getAttribute("value"));r&&r.setAttribute("selected","")}}function aX(e,t,n){return Gn(t,Element)&&(oX(e,t,n),G5(e,t,n),iX(e,t),sX(e,t)),t}async function lX(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let s=0;s<n.length;s++){const c=n[s].getAttribute("xlink:href");if(c){const u=e.querySelector(c),f=document.querySelector(c);!u&&f&&!r[c]&&(r[c]=await Yu(f,t,!0))}}const o=Object.values(r);if(o.length){const s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const c=document.createElementNS(s,"defs");a.appendChild(c);for(let u=0;u<o.length;u++)c.appendChild(o[u]);e.appendChild(a)}return e}async function Yu(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>tX(r,t)).then(r=>rX(e,r,t)).then(r=>aX(e,r,t)).then(r=>lX(r,t))}const NT=/url\((['"]?)([^'"]+?)\1\)/g,cX=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,uX=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function fX(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function dX(e){const t=[];return e.replace(NT,(n,r,o)=>(t.push(o),n)),t.filter(n=>!vh(n))}async function pX(e,t,n,r,o){try{const s=n?N5(t,n):t,a=km(t);let c;return o||(c=await Tm(s,a,r)),e.replace(fX(t),`$1${c}$3`)}catch{}return e}function hX(e,{preferredFontFormat:t}){return t?e.replace(uX,n=>{for(;;){const[r,,o]=cX.exec(n)||[];if(!o)return"";if(o===t)return`src: ${r};`}}):e}function DT(e){return e.search(NT)!==-1}async function FT(e,t,n){if(!DT(e))return e;const r=hX(e,n);return dX(r).reduce((s,a)=>s.then(c=>pX(c,a,t,n)),Promise.resolve(r))}async function cs(e,t,n){var r;const o=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(o){const s=await FT(o,null,n);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function mX(e,t){await cs("background",e,t)||await cs("background-image",e,t),await cs("mask",e,t)||await cs("-webkit-mask",e,t)||await cs("mask-image",e,t)||await cs("-webkit-mask-image",e,t)}async function gX(e,t){const n=Gn(e,HTMLImageElement);if(!(n&&!vh(e.src))&&!(Gn(e,SVGImageElement)&&!vh(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await Tm(r,km(r),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...u)=>{try{s(t.onImageErrorHandler(...u))}catch(f){a(f)}}:a;const c=e;c.decode&&(c.decode=s),c.loading==="lazy"&&(c.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}async function yX(e,t){const r=ni(e.childNodes).map(o=>$T(o,t));await Promise.all(r).then(()=>e)}async function $T(e,t){Gn(e,Element)&&(await mX(e,t),await gX(e,t),await yX(e,t))}function bX(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(o=>{n[o]=r[o]}),e}const Bw={};async function Ww(e){let t=Bw[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},Bw[e]=t,t}async function Vw(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(n.match(/url\([^)]+\)/g)||[]).map(async a=>{let c=a.replace(r,"$1");return c.startsWith("https://")||(c=new URL(c,e.url).href),IT(c,t.fetchRequestInit,({result:u})=>(n=n.replace(a,`url(${u})`),[a,u]))});return Promise.all(s).then(()=>n)}function Hw(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const u=o.exec(r);if(u===null)break;t.push(u[0])}r=r.replace(o,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",c=new RegExp(a,"gi");for(;;){let u=s.exec(r);if(u===null){if(u=c.exec(r),u===null)break;s.lastIndex=c.lastIndex}else c.lastIndex=s.lastIndex;t.push(u[0])}return t}async function _X(e,t){const n=[],r=[];return e.forEach(o=>{if("cssRules"in o)try{ni(o.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let c=a+1;const u=s.href,f=Ww(u).then(p=>Vw(p,t)).then(p=>Hw(p).forEach(h=>{try{o.insertRule(h,h.startsWith("@import")?c+=1:o.cssRules.length)}catch(g){console.error("Error inserting rule from remote css",{rule:h,error:g})}})).catch(p=>{console.error("Error loading remote css",p.toString())});r.push(f)}})}catch(s){const a=e.find(c=>c.href==null)||document.styleSheets[0];o.href!=null&&r.push(Ww(o.href).then(c=>Vw(c,t)).then(c=>Hw(c).forEach(u=>{a.insertRule(u,a.cssRules.length)})).catch(c=>{console.error("Error loading remote stylesheet",c)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(e.forEach(o=>{if("cssRules"in o)try{ni(o.cssRules||[]).forEach(s=>{n.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${o.href}`,s)}}),n))}function vX(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>DT(t.style.getPropertyValue("src")))}async function wX(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=ni(e.ownerDocument.styleSheets),r=await _X(n,t);return vX(r)}function jT(e){return e.trim().replace(/["']/g,"")}function EX(e){const t=new Set;function n(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add(jT(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&n(s)})}return n(e),t}async function SX(e,t){const n=await wX(e,t),r=EX(e);return(await Promise.all(n.filter(s=>r.has(jT(s.style.fontFamily))).map(s=>{const a=s.parentStyleSheet?s.parentStyleSheet.href:null;return FT(s.cssText,a,t)}))).join(`
61
- `)}async function CX(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await SX(e,t);if(n){const r=document.createElement("style"),o=document.createTextNode(n);r.appendChild(o),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function kX(e,t={}){const{width:n,height:r}=LT(e,t),o=await Yu(e,t,!0);return await CX(o,t),await $T(o,t),bX(o,t),await B5(o,n,r)}async function TX(e,t={}){const{width:n,height:r}=LT(e,t),o=await kX(e,t),s=await au(o),a=document.createElement("canvas"),c=a.getContext("2d"),u=t.pixelRatio||j5(),f=t.canvasWidth||n,p=t.canvasHeight||r;return a.width=f*u,a.height=p*u,t.skipAutoScale||U5(a),a.style.width=`${f}`,a.style.height=`${p}`,t.backgroundColor&&(c.fillStyle=t.backgroundColor,c.fillRect(0,0,a.width,a.height)),c.drawImage(s,0,0,a.width,a.height),a}async function Gw(e,t={}){return(await TX(e,t)).toDataURL()}const xX={class:"panel-mini-wrapper"},OX=It({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{},framework:{}},setup(e,{expose:t}){const n=Ns("cardRef");t({getBodyEl:()=>n.value?.bodyRef});const r=e,o=ce(()=>r.framework===we.COMP_FRAMEWORK_REACT||Em(r.dep)),s=ce(()=>({finalEntryUrl:r.miniEntryUrl,dep:r.dep,depToFile:r.depToFile,signedUrls:r.signedUrls,panelType:we.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:r.localCompRootPath}));return(a,c)=>(Ce(),pt("div",xX,[Ht(je(ST),{ref_key:"cardRef",ref:n,"body-class":"panel-mini-card-body",class:"panel-mini-card",style:Bn({backgroundColor:e.bg})},{default:Pi(()=>[o.value?(Ce(),_t(Cm,Ri(Nr({key:1},s.value)),null,16)):(Ce(),_t(Sm,Ri(Nr({key:0},s.value)),null,16))]),_:1},8,["style"])]))}}),AX=Sr(OX,[["__scopeId","data-v-be9162a6"]]),RX=It({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{},framework:{}},setup(e){const t=e,n=ce(()=>t.framework===we.COMP_FRAMEWORK_REACT||Em(t.dep)),r=ce(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:we.COMP_EDIT_TAB_TYPE_FULL}));return(o,s)=>(Ce(),_t(je(ST),{"body-class":"panel-full-card-body",class:"panel-full-card",style:Bn({backgroundColor:e.bg})},{default:Pi(()=>[n.value?(Ce(),_t(Cm,Ri(Nr({key:1},r.value)),null,16)):(Ce(),_t(Sm,Ri(Nr({key:0},r.value)),null,16))]),_:1},8,["style"]))}}),PX=Sr(RX,[["__scopeId","data-v-df175804"]]),LX={key:0,class:"edit-panel"},IX={class:"edit-panel__content"},MX={class:"edit-panel__tools"},NX=["onClick"],DX=It({__name:"index",setup(e){const{t}=Di(),{messageListener:n,sendMessageToTop:r}=js(),{addListener:o}=n(),s=$s(),{params:{instanceUid:a}}=Mo(),{renderEvent:c}=Q6(),u=Ns("carousel"),f=Re([]),p=Re({entryNameToFile:{},compDep:[]}),h=Re(),g=Re(!1),y=Re(!1),w=Re(!1),_=Re(""),A=Re({});function S(z,re){z&&(A.value[re]=z)}const v=Re(!1),x=Re(!1),E=ce(()=>[{label:t("comp.miniPanel"),value:we.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:we.COMP_EDIT_TAB_TYPE_FULL}]),R=ce(()=>p.value.compDep.length>0);async function O(z){if(!f.value[z]?.miniEntryUrl)return;const ae=A.value[z]?.getBodyEl?.();if(!ae)return;let ue="";const Ee=await e6(ae);try{ue=await de(ae)}finally{Ee()}ue&&r(Qe.COMP_SCREENSHOT_AUTO,{screenshot:ue},s,a)}gt(c,async()=>{if(!(!f.value[0]?.miniEntryUrl||v.value)){v.value=!0,console.log("自动截图");try{await O(0)}catch(z){console.error("自动截图失败:",z)}}});const P=ce(()=>Object.keys(h.value??{}).length>0?h.value?.path.replace(we.FILE_MANAGER_DIRNAME,we.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),T=ce(()=>({dep:p.value.compDep,depToFile:p.value.entryNameToFile,signedUrls:p.value.signedUrls,localCompRootPath:P.value,bg:_.value,framework:p.value.framework}));function N(z){return z===we.COMP_EDIT_TAB_TYPE_MINI?AX:PX}function K(z,re){G(z,re)}function G(z,re){if(!z._id)return;const ae={...z,activeTab:re};r(Qe.COMP_EDIT_TAB_TYPE_SET,ae,s,a)}function ne(z){r(Qe.ACTION_REFRESH,z,s,a)}async function de(z){try{return await Gw(z,{cacheBust:!0})}catch(re){if(re instanceof DOMException&&re.name==="SecurityError"){const ae=`截图中部分内容被浏览器安全策略限制
62
- ${re.message}`,ue=n6(z,ae);try{return await Gw(z,{cacheBust:!0})}finally{r6(ue)}}throw re}}return o(Qe.COMP_PREVIEW_LIST_SET,z=>{f.value=z,v.value=!1}),o(Qe.COMP_RENDER_INFO_SET,z=>{p.value=z}),o(Qe.SELECTED_FOLDER_SET,z=>{h.value=z}),o(Qe.SHOW_REFRESH_BTN_SET,z=>{g.value=z}),o(Qe.IS_ONLINE_UPDATE_SET,z=>{y.value=z}),o(Qe.IS_ADD_SET,z=>{w.value=z}),o(Qe.CAROUSEL_INDEX_SET,z=>{u.value?.setActiveItem(z)}),o(Qe.COMP_SCREENSHOT_MANUAL_SET,async()=>{if(!x.value){x.value=!0;try{u.value?.setActiveItem(0),f.value[0]&&f.value[0].activeTab!==we.COMP_EDIT_TAB_TYPE_MINI&&(f.value[0].activeTab=we.COMP_EDIT_TAB_TYPE_MINI,await Ur()),await new Promise(z=>setTimeout(z,500)),await O(0)}catch(z){console.error("手动截图失败:",z)}finally{x.value=!1}}}),o(Qe.BG_COLOR_SET,z=>{_.value=z}),r(Qe.COMP_PREVIEW_LIST_GET,"",s,a),r(Qe.COMP_RENDER_INFO_GET,"",s,a),r(Qe.SELECTED_FOLDER_GET,"",s,a),r(Qe.SHOW_REFRESH_BTN_GET,"",s,a),r(Qe.IS_ONLINE_UPDATE_GET,"",s,a),r(Qe.IS_ADD_GET,"",s,a),r(Qe.CAROUSEL_INDEX_GET,"",s,a),r(Qe.BG_COLOR_GET,"",s,a),(z,re)=>{const ae=Ih("Icon");return R.value?(Ce(),pt("div",LX,[Ht(je(CT),{ref:"carousel",class:"edit-panel__carousel",loop:!1,autoplay:!1,arrow:"always"},{default:Pi(()=>[(Ce(!0),pt(Vt,null,Fs(f.value,(ue,Ee)=>(Ce(),_t(je(kT),{key:Ee},{default:Pi(()=>[mt("div",IX,[mt("div",MX,[Ht(je(I6),{options:E.value,"model-value":ue.activeTab,onChange:We=>K(ue,We)},null,8,["options","model-value","onChange"]),g.value?(Ce(),pt("span",{key:0,class:"edit-panel__refresh-btn",onClick:We=>ne(ue)},[Ht(ae,{icon:"material-symbols:refresh-rounded"})],8,NX)):Mr("",!0)]),(Ce(),_t(hM,null,[(Ce(),_t(kM(N(ue.activeTab)),Nr({ref_for:!0,ref:We=>S(We,Ee)},{ref_for:!0},{miniEntryUrl:ue.miniEntryUrl,fullEntryUrl:ue.fullEntryUrl,...T.value}),null,16))],1024))])]),_:2},1024))),128))]),_:1},512)])):Mr("",!0)}}}),FX=Sr(DX,[["__scopeId","data-v-34f0abeb"]]),$X=It({__name:"index",setup(e){const{carouselBind:t}=AT(5,we.COMP_EDIT_TAB_TYPE_FULL),n=ce(()=>({...t.value,panelType:we.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(Ce(),_t(qu,Ri(Cu(n.value)),null,16))}}),jX=It({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=RT(5,we.COMP_EDIT_TAB_TYPE_FULL),r=Re(""),o=ce(()=>({...t.value,panelType:we.COMP_EDIT_TAB_TYPE_FULL}));return n(s=>{r.value=s}),(s,a)=>(Ce(),_t(qu,Nr(o.value,{"show-indicator":!0}),null,16))}}),UX={carouselLocal:I5,carouselRemote:M5,editPanel:FX,previewLocal:$X,previewRemote:jX};function zX(){const e=[],t=we.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=UX[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const BX=oV({history:FW(`/${we.WEBSITE_PATH_ITEM}/`),routes:zX()}),xm=DN(hU);tW(xm);xm.use(BX);xm.mount("#app");