@highstate/designer 0.9.16 → 0.9.18

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 (517) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/0A0GXgOL.js +13 -0
  3. package/.output/public/_nuxt/1DNp92w6.js +1 -0
  4. package/.output/public/_nuxt/2EtD6e53.js +1 -0
  5. package/.output/public/_nuxt/2UxHyX5q.js +1 -0
  6. package/.output/public/_nuxt/3e1v2bzS.js +1 -0
  7. package/.output/public/_nuxt/4A_iFExJ.js +1 -0
  8. package/.output/public/_nuxt/5bLW0GMw.js +1 -0
  9. package/.output/public/_nuxt/5i3qLPDT.js +1 -0
  10. package/.output/public/_nuxt/6nHXG8SA.js +1 -0
  11. package/.output/public/_nuxt/84XNjSIe.js +1 -0
  12. package/.output/public/_nuxt/85-TOEBH.js +1 -0
  13. package/.output/public/_nuxt/9ZFiTIhr.js +1 -0
  14. package/.output/public/_nuxt/B-hkwWGT.js +1 -0
  15. package/.output/public/_nuxt/B0m2ddpp.js +1 -0
  16. package/.output/public/_nuxt/B1dDrJ26.js +1 -0
  17. package/.output/public/_nuxt/B1yitclQ.js +1 -0
  18. package/.output/public/_nuxt/B5ZR69Tn.js +1 -0
  19. package/.output/public/_nuxt/B6aJPvgy.js +1 -0
  20. package/.output/public/_nuxt/B7grBCAR.js +1 -0
  21. package/.output/public/_nuxt/B7mTdjB0.js +1 -0
  22. package/.output/public/_nuxt/BBGuKPBd.js +1 -0
  23. package/.output/public/_nuxt/BDzgwa52.js +1 -0
  24. package/.output/public/_nuxt/BE2KfCdU.js +1 -0
  25. package/.output/public/_nuxt/BEDo0Tqx.js +1 -0
  26. package/.output/public/_nuxt/BERRCDM3.js +1 -0
  27. package/.output/public/_nuxt/BETggiCN.js +1 -0
  28. package/.output/public/_nuxt/BEwlwnbL.js +1 -0
  29. package/.output/public/_nuxt/BFfxhgS-.js +1 -0
  30. package/.output/public/_nuxt/BGHREFWD.js +1 -0
  31. package/.output/public/_nuxt/BGJmEYvX.js +1 -0
  32. package/.output/public/_nuxt/BHrmToEH.js +1 -0
  33. package/.output/public/_nuxt/BIAuTxu3.js +1 -0
  34. package/.output/public/_nuxt/BIGW1oBm.js +1 -0
  35. package/.output/public/_nuxt/BIHI7g3E.js +1 -0
  36. package/.output/public/_nuxt/BKmAPqal.js +1 -0
  37. package/.output/public/_nuxt/BLOpwnqT.js +1 -0
  38. package/.output/public/_nuxt/BLtJtn59.js +1 -0
  39. package/.output/public/_nuxt/BLxL40Jp.js +1 -0
  40. package/.output/public/_nuxt/BM1_JUlF.js +1 -0
  41. package/.output/public/_nuxt/BMMyXqK5.js +1 -0
  42. package/.output/public/_nuxt/BMWR74SV.js +1 -0
  43. package/.output/public/_nuxt/BPzJO5Oe.js +1 -0
  44. package/.output/public/_nuxt/BQ8w6xss.js +1 -0
  45. package/.output/public/_nuxt/BQvybpQq.js +1 -0
  46. package/.output/public/_nuxt/BR7mELCv.js +1 -0
  47. package/.output/public/_nuxt/BRHolxvo.js +1 -0
  48. package/.output/public/_nuxt/BRZ36xJF.js +1 -0
  49. package/.output/public/_nuxt/BTEhxafZ.js +1 -0
  50. package/.output/public/_nuxt/BTJTHyun.js +1 -0
  51. package/.output/public/_nuxt/BU7Cl-8B.js +1 -0
  52. package/.output/public/_nuxt/BV7otONQ.js +1 -0
  53. package/.output/public/_nuxt/BWvSN4gD.js +1 -0
  54. package/.output/public/_nuxt/BXY8tDGw.js +1 -0
  55. package/.output/public/_nuxt/BXkSAIEj.js +1 -0
  56. package/.output/public/_nuxt/BYunw83y.js +1 -0
  57. package/.output/public/_nuxt/B_HjzqPZ.js +1 -0
  58. package/.output/public/_nuxt/B_m7g4N7.js +1 -0
  59. package/.output/public/_nuxt/B_wu9Dqv.js +1 -0
  60. package/.output/public/_nuxt/BbcW6ACK.js +1 -0
  61. package/.output/public/_nuxt/BcOcwvcX.js +1 -0
  62. package/.output/public/_nuxt/BdImnpbu.js +1 -0
  63. package/.output/public/_nuxt/BdnUsdx6.js +1 -0
  64. package/.output/public/_nuxt/BebE75YV.js +1 -0
  65. package/.output/public/_nuxt/BepWV7mh.js +1 -0
  66. package/.output/public/_nuxt/BfHTSMKl.js +1 -0
  67. package/.output/public/_nuxt/BfjtVDDH.js +1 -0
  68. package/.output/public/_nuxt/BgDCqdQA.js +1 -0
  69. package/.output/public/_nuxt/BhOHFoWU.js +1 -0
  70. package/.output/public/_nuxt/Bk5OV074.js +1 -0
  71. package/.output/public/_nuxt/BkPM1oy1.js +1 -0
  72. package/.output/public/_nuxt/BkioyH1T.js +1 -0
  73. package/.output/public/_nuxt/Bkuqu6BP.js +1 -0
  74. package/.output/public/_nuxt/Bl2oy6fF.js +1 -0
  75. package/.output/public/_nuxt/BmXAJ9_W.js +1 -0
  76. package/.output/public/_nuxt/Bm_zuxCd.js +1 -0
  77. package/.output/public/_nuxt/BoKiGodi.js +1 -0
  78. package/.output/public/_nuxt/Bp3cYrEr.js +1 -0
  79. package/.output/public/_nuxt/Bp6g37R7.js +1 -0
  80. package/.output/public/_nuxt/BqTXFGrv.js +1 -0
  81. package/.output/public/_nuxt/BqYA7rlc.js +1 -0
  82. package/.output/public/_nuxt/BsS91CYL.js +1 -0
  83. package/.output/public/_nuxt/BspZqrRM.js +1 -0
  84. package/.output/public/_nuxt/BtCnVYZw.js +1 -0
  85. package/.output/public/_nuxt/BtOb2qkB.js +1 -0
  86. package/.output/public/_nuxt/BthQWCQV.js +1 -0
  87. package/.output/public/_nuxt/BtqSS_iP.js +1 -0
  88. package/.output/public/_nuxt/BtsDLbAf.js +1 -0
  89. package/.output/public/_nuxt/Btyk0a-E.js +1 -0
  90. package/.output/public/_nuxt/Buea-lGh.js +1 -0
  91. package/.output/public/_nuxt/BuidTy5i.js +1 -0
  92. package/.output/public/_nuxt/BvAqAH-y.js +1 -0
  93. package/.output/public/_nuxt/BvYfgXkl.js +1 -0
  94. package/.output/public/_nuxt/Bw305WKR.js +1 -0
  95. package/.output/public/_nuxt/BzJJZx-M.js +1 -0
  96. package/.output/public/_nuxt/C-SQnVFl.js +1 -0
  97. package/.output/public/_nuxt/C-_oQ9hf.js +1 -0
  98. package/.output/public/_nuxt/C0HS_06l.js +1 -0
  99. package/.output/public/_nuxt/C0hk2d4L.js +1 -0
  100. package/.output/public/_nuxt/C151Ov-r.js +1 -0
  101. package/.output/public/_nuxt/C2t-YnRu.js +1 -0
  102. package/.output/public/_nuxt/C39BiMTA.js +1 -0
  103. package/.output/public/_nuxt/C3B-1QV4.js +1 -0
  104. package/.output/public/_nuxt/C3khCPGq.js +1 -0
  105. package/.output/public/_nuxt/C3mMm8J8.js +1 -0
  106. package/.output/public/_nuxt/C4IJs8-o.js +1 -0
  107. package/.output/public/_nuxt/C7Pw0Ztw.js +1 -0
  108. package/.output/public/_nuxt/C8-UwF3o.js +1 -0
  109. package/.output/public/_nuxt/C8M2exoo.js +1 -0
  110. package/.output/public/_nuxt/C8j9CRIf.js +1 -0
  111. package/.output/public/_nuxt/C8lEn-DE.js +1 -0
  112. package/.output/public/_nuxt/C98Dy4si.js +1 -0
  113. package/.output/public/_nuxt/C9XAeP06.js +1 -0
  114. package/.output/public/_nuxt/C9tS-k6U.js +1 -0
  115. package/.output/public/_nuxt/CA7CTBwS.js +1 -0
  116. package/.output/public/_nuxt/CDVJQ6XC.js +1 -0
  117. package/.output/public/_nuxt/CDx5xZoG.js +1 -0
  118. package/.output/public/_nuxt/CEL-wOlO.js +1 -0
  119. package/.output/public/_nuxt/CEu0bR-o.js +1 -0
  120. package/.output/public/_nuxt/CF10PKvl.js +1 -0
  121. package/.output/public/_nuxt/CG8Ifv2g.js +1 -0
  122. package/.output/public/_nuxt/CGqH5EJj.js +1 -0
  123. package/.output/public/_nuxt/CHLpvVh8.js +1 -0
  124. package/.output/public/_nuxt/CHM0blh-.js +1 -0
  125. package/.output/public/_nuxt/CHadp7IV.js +1 -0
  126. package/.output/public/_nuxt/CHh-QcGE.js +1 -0
  127. package/.output/public/_nuxt/CJc9bBzg.js +1 -0
  128. package/.output/public/_nuxt/CKIfxQSi.js +1 -0
  129. package/.output/public/_nuxt/CLvts2aQ.js +1 -0
  130. package/.output/public/_nuxt/CLxacb5B.js +1 -0
  131. package/.output/public/_nuxt/CNBtkm4J.js +6 -0
  132. package/.output/public/_nuxt/CO1LY3CK.js +1 -0
  133. package/.output/public/_nuxt/COEtLSDF.js +1 -0
  134. package/.output/public/_nuxt/COI20M4I.js +1 -0
  135. package/.output/public/_nuxt/COWjEZnb.js +1 -0
  136. package/.output/public/_nuxt/COkxafJQ.js +1 -0
  137. package/.output/public/_nuxt/COt5Ahok.js +1 -0
  138. package/.output/public/_nuxt/CPSgaaQ0.js +1 -0
  139. package/.output/public/_nuxt/CPtXGFXV.js +1 -0
  140. package/.output/public/_nuxt/CS3Unz2-.js +1 -0
  141. package/.output/public/_nuxt/CSXwinHm.js +1 -0
  142. package/.output/public/_nuxt/CTIxkRwW.js +1 -0
  143. package/.output/public/_nuxt/CTRr51gU.js +1 -0
  144. package/.output/public/_nuxt/CTUD0bHN.js +1 -0
  145. package/.output/public/_nuxt/CTWiQX6C.js +1 -0
  146. package/.output/public/_nuxt/CU1B2r8a.js +1 -0
  147. package/.output/public/_nuxt/CU27uY9n.js +1 -0
  148. package/.output/public/_nuxt/CVO1_9PV.js +1 -0
  149. package/.output/public/_nuxt/CXtECtnM.js +1 -0
  150. package/.output/public/_nuxt/CYRjgJw9.js +26 -0
  151. package/.output/public/_nuxt/CZlF05X6.js +1 -0
  152. package/.output/public/_nuxt/CafNBF8u.js +1 -0
  153. package/.output/public/_nuxt/Cb0HU5_O.js +1 -0
  154. package/.output/public/_nuxt/CbFg5uaA.js +1 -0
  155. package/.output/public/_nuxt/CbfX1IO0.js +1 -0
  156. package/.output/public/_nuxt/CcyOm34o.js +1 -0
  157. package/.output/public/_nuxt/CdggvHu8.js +1 -0
  158. package/.output/public/_nuxt/CeAyd5Ju.js +1 -0
  159. package/.output/public/_nuxt/CeZK1NFH.js +1 -0
  160. package/.output/public/_nuxt/CfQXZHmo.js +1 -0
  161. package/.output/public/_nuxt/CfeIJUat.js +1 -0
  162. package/.output/public/_nuxt/Cg-RD9OK.js +1 -0
  163. package/.output/public/_nuxt/ChMvpjG-.js +1 -0
  164. package/.output/public/_nuxt/Cj-b45ZR.js +1 -0
  165. package/.output/public/_nuxt/Cj5Yp3dK.js +1 -0
  166. package/.output/public/_nuxt/CkByrt1z.js +1 -0
  167. package/.output/public/_nuxt/CkXjmgJE.js +1 -0
  168. package/.output/public/_nuxt/ClbN2oa7.js +2 -0
  169. package/.output/public/_nuxt/Cmh6b_Ma.js +1 -0
  170. package/.output/public/_nuxt/CnK8MTSM.js +1 -0
  171. package/.output/public/_nuxt/CnnmHF94.js +1 -0
  172. package/.output/public/_nuxt/Co6uUVPk.js +1 -0
  173. package/.output/public/_nuxt/Cp-IABpG.js +1 -0
  174. package/.output/public/_nuxt/Cq5zzVJU.js +1 -0
  175. package/.output/public/_nuxt/CquLrc37.js +1 -0
  176. package/.output/public/_nuxt/CsfeWuGM.js +1 -0
  177. package/.output/public/_nuxt/Csfq5Kiy.js +1 -0
  178. package/.output/public/_nuxt/CtMxL075.js +21 -0
  179. package/.output/public/_nuxt/CtrldY6v.js +1 -0
  180. package/.output/public/_nuxt/Cuk6v7N8.js +1 -0
  181. package/.output/public/_nuxt/Cv9koXgw.js +1 -0
  182. package/.output/public/_nuxt/CxGSJlkm.js +1 -0
  183. package/.output/public/_nuxt/CyktbL80.js +1 -0
  184. package/.output/public/_nuxt/CylS5w8V.js +1 -0
  185. package/.output/public/_nuxt/CzTSHFRz.js +1 -0
  186. package/.output/public/_nuxt/D-2ljcwZ.js +1 -0
  187. package/.output/public/_nuxt/D-pF80u_.js +1 -0
  188. package/.output/public/_nuxt/D08WgyRC.js +1 -0
  189. package/.output/public/_nuxt/D0Gq3ULd.js +1 -0
  190. package/.output/public/_nuxt/D0YGMca9.js +1 -0
  191. package/.output/public/_nuxt/D0r3Knsf.js +1 -0
  192. package/.output/public/_nuxt/D17OF-Vu.js +1 -0
  193. package/.output/public/_nuxt/D1j8_8rp.js +1 -0
  194. package/.output/public/_nuxt/D1uDOp7C.js +1 -0
  195. package/.output/public/_nuxt/D22FLkUw.js +1 -0
  196. package/.output/public/_nuxt/D2CYqzqI.js +1 -0
  197. package/.output/public/_nuxt/D32k8WzR.js +1 -0
  198. package/.output/public/_nuxt/D3lLCCz7.js +1 -0
  199. package/.output/public/_nuxt/D4h5O-jR.js +1 -0
  200. package/.output/public/_nuxt/D5-asLiD.js +1 -0
  201. package/.output/public/_nuxt/D5KoaKCx.js +1 -0
  202. package/.output/public/_nuxt/D7ScPSBf.js +1 -0
  203. package/.output/public/_nuxt/D7o27uSR.js +1 -0
  204. package/.output/public/_nuxt/D7oLnXFd.js +1 -0
  205. package/.output/public/_nuxt/D82EKSYY.js +1 -0
  206. package/.output/public/_nuxt/D93ZcfNL.js +1 -0
  207. package/.output/public/_nuxt/D97Zzqfu.js +1 -0
  208. package/.output/public/_nuxt/DAi9KRSo.js +1 -0
  209. package/.output/public/_nuxt/DCWrMWBD.js +1 -0
  210. package/.output/public/_nuxt/DEsY2yuF.js +1 -0
  211. package/.output/public/_nuxt/DFQXde-d.js +1 -0
  212. package/.output/public/_nuxt/DFXneXwc.js +1 -0
  213. package/.output/public/_nuxt/DGztddWO.js +1 -0
  214. package/.output/public/_nuxt/DH5Ifo-i.js +1 -0
  215. package/.output/public/_nuxt/DHCkPAjA.js +1 -0
  216. package/.output/public/_nuxt/DHJKELXO.js +1 -0
  217. package/.output/public/_nuxt/DKYwYmdq.js +1 -0
  218. package/.output/public/_nuxt/DKzvysjW.js +1 -0
  219. package/.output/public/_nuxt/DM8c43g1.js +1 -0
  220. package/.output/public/_nuxt/DMDPKkZ0.js +1 -0
  221. package/.output/public/_nuxt/DMzUqQB5.js +1 -0
  222. package/.output/public/_nuxt/DNrj_gVY.js +1 -0
  223. package/.output/public/_nuxt/DPcUKYIF.js +1 -0
  224. package/.output/public/_nuxt/DPfMkruS.js +1 -0
  225. package/.output/public/_nuxt/DPvdOr2J.js +1 -0
  226. package/.output/public/_nuxt/DRg8JJMk.js +1 -0
  227. package/.output/public/_nuxt/DRprw4p4.js +1 -0
  228. package/.output/public/_nuxt/DS1LvVMU.js +1 -0
  229. package/.output/public/_nuxt/DU1UobuO.js +1 -0
  230. package/.output/public/_nuxt/DUSGQflk.js +1 -0
  231. package/.output/public/_nuxt/DUszq2jm.js +1 -0
  232. package/.output/public/_nuxt/DVFEvuxE.js +1 -0
  233. package/.output/public/_nuxt/DVMEJ2y_.js +1 -0
  234. package/.output/public/_nuxt/DVxCFoDh.js +1 -0
  235. package/.output/public/_nuxt/DWedfzmr.js +1 -0
  236. package/.output/public/_nuxt/DWrx1Km3.js +1 -0
  237. package/.output/public/_nuxt/DXbdFlpD.js +1 -0
  238. package/.output/public/_nuxt/DXmwc3jG.js +1 -0
  239. package/.output/public/_nuxt/DXvB9xmW.js +1 -0
  240. package/.output/public/_nuxt/DZxFcAj9.js +1 -0
  241. package/.output/public/_nuxt/D_Q5rh1f.js +1 -0
  242. package/.output/public/_nuxt/Da5cRb03.js +1 -0
  243. package/.output/public/_nuxt/DbtIzDGy.js +1 -0
  244. package/.output/public/_nuxt/DcaNXYhu.js +1 -0
  245. package/.output/public/_nuxt/Dd19v3D-.js +1 -0
  246. package/.output/public/_nuxt/DdkO51Og.js +1 -0
  247. package/.output/public/_nuxt/Ddv68eIx.js +1 -0
  248. package/.output/public/_nuxt/DeWFVDHI.js +1 -0
  249. package/.output/public/_nuxt/Des-eS-w.js +1 -0
  250. package/.output/public/_nuxt/Df68jz8_.js +1 -0
  251. package/.output/public/_nuxt/Df6bDoY_.js +1 -0
  252. package/.output/public/_nuxt/DiinP2Uv.js +1 -0
  253. package/.output/public/_nuxt/DkFqJrB1.js +1 -0
  254. package/.output/public/_nuxt/DkhsQLT2.js +1 -0
  255. package/.output/public/_nuxt/DkwncUOv.js +1 -0
  256. package/.output/public/_nuxt/DlfHMoPT.js +1 -0
  257. package/.output/public/_nuxt/DljmTZ5-.js +1 -0
  258. package/.output/public/_nuxt/Dn2_MT6a.js +1 -0
  259. package/.output/public/_nuxt/DnULxvSX.js +1 -0
  260. package/.output/public/_nuxt/Dpen1YoG.js +1 -0
  261. package/.output/public/_nuxt/DqwNpetd.js +1 -0
  262. package/.output/public/_nuxt/Dr8Zlu6v.js +1 -0
  263. package/.output/public/_nuxt/DrZfEa88.js +1 -0
  264. package/.output/public/_nuxt/Drp5UXmf.js +1 -0
  265. package/.output/public/_nuxt/DsOJ9woJ.js +1 -0
  266. package/.output/public/_nuxt/Dtc2v4kS.js +1 -0
  267. package/.output/public/_nuxt/DwheRqRn.js +1 -0
  268. package/.output/public/_nuxt/Dx-B1_4e.js +1 -0
  269. package/.output/public/_nuxt/DyJlTyXw.js +1 -0
  270. package/.output/public/_nuxt/DyxjwDmM.js +1 -0
  271. package/.output/public/_nuxt/E3gJ1_iC.js +1 -0
  272. package/.output/public/_nuxt/ETK3OkTL.js +1 -0
  273. package/.output/public/_nuxt/I3RK9BU8.js +1 -0
  274. package/.output/public/_nuxt/IeuSbFQv.js +1 -0
  275. package/.output/public/_nuxt/IvJ92aGK.js +1 -0
  276. package/.output/public/_nuxt/JhPuU2gP.js +1 -0
  277. package/.output/public/_nuxt/L9t79GZl.js +1 -0
  278. package/.output/public/_nuxt/MzD3tlZU.js +1 -0
  279. package/.output/public/_nuxt/NleAzG8P.js +1 -0
  280. package/.output/public/_nuxt/P80f7IUj.js +1 -0
  281. package/.output/public/_nuxt/Pmp26Uib.js +1 -0
  282. package/.output/public/_nuxt/PoHY5YXO.js +1 -0
  283. package/.output/public/_nuxt/QIJgUcNo.js +1 -0
  284. package/.output/public/_nuxt/SQImb3Xm.js +1513 -0
  285. package/.output/public/_nuxt/SVGiTNnK.js +1 -0
  286. package/.output/public/_nuxt/SettingsDataTable.BLJqwlEK.css +1 -0
  287. package/.output/public/_nuxt/UInuXPgp.js +1 -0
  288. package/.output/public/_nuxt/UQxqNY8s.js +273 -0
  289. package/.output/public/_nuxt/VOosw3JB.js +1 -0
  290. package/.output/public/_nuxt/Xi2tawMN.js +1 -0
  291. package/.output/public/_nuxt/Yzrsuije.js +1 -0
  292. package/.output/public/_nuxt/ZwEiOJEn.js +1 -0
  293. package/.output/public/_nuxt/_ykCGR6B.js +1 -0
  294. package/.output/public/_nuxt/about.fWlW3EhQ.css +1 -0
  295. package/.output/public/_nuxt/bCR0ucgS.js +1 -0
  296. package/.output/public/_nuxt/bN70gL4F.js +1 -0
  297. package/.output/public/_nuxt/brDaU2vB.js +1 -0
  298. package/.output/public/_nuxt/builds/latest.json +1 -0
  299. package/.output/public/_nuxt/builds/meta/b0e10f5e-bdc5-4007-9281-161aa323adf1.json +1 -0
  300. package/.output/public/_nuxt/codicon.DCmgc-ay.ttf +0 -0
  301. package/.output/public/_nuxt/components.CIe9upZ4.css +1 -0
  302. package/.output/public/_nuxt/dglhsJpM.js +1 -0
  303. package/.output/public/_nuxt/dwOrl1Do.js +1 -0
  304. package/.output/public/_nuxt/edge-router-Cceh9XsC.js +4 -0
  305. package/.output/public/_nuxt/editor.worker-7Ic39DJY.js +12 -0
  306. package/.output/public/_nuxt/entry.YsT17dxl.css +1 -0
  307. package/.output/public/_nuxt/error-404.CH3riSrg.css +1 -0
  308. package/.output/public/_nuxt/error-500.C8Qk6cR7.css +1 -0
  309. package/.output/public/_nuxt/f7oK2omx.js +1 -0
  310. package/.output/public/_nuxt/fuZLfV_i.js +1 -0
  311. package/.output/public/_nuxt/fve9TYiY.js +1 -0
  312. package/.output/public/_nuxt/g9-lgVsj.js +1 -0
  313. package/.output/public/_nuxt/gcz8RCvz.js +1 -0
  314. package/.output/public/_nuxt/graph-layout-CFj469YF.js +1 -0
  315. package/.output/public/_nuxt/graph-resolver-ClVztv7P.js +175 -0
  316. package/.output/public/_nuxt/hegEt444.js +1 -0
  317. package/.output/public/_nuxt/hira-1.DuDDiA5P.png +0 -0
  318. package/.output/public/_nuxt/hira-unlock-impossible.B5Pl3pvF.png +0 -0
  319. package/.output/public/_nuxt/index.cU4FhqMM.css +1 -0
  320. package/.output/public/_nuxt/index.smtD6lYF.css +1 -0
  321. package/.output/public/_nuxt/instances.CGwVkdDM.css +1 -0
  322. package/.output/public/_nuxt/irsrSlf-.js +1 -0
  323. package/.output/public/_nuxt/lXgVvXCa.js +1 -0
  324. package/.output/public/_nuxt/materialdesignicons-webfont.B6OSyW2I.woff2 +0 -0
  325. package/.output/public/_nuxt/materialdesignicons-webfont.BpRar1d5.ttf +0 -0
  326. package/.output/public/_nuxt/materialdesignicons-webfont.Bvl3VxMs.woff +0 -0
  327. package/.output/public/_nuxt/materialdesignicons-webfont.TEmAk13K.eot +0 -0
  328. package/.output/public/_nuxt/monaco-editor.D_J4ItrK.css +1 -0
  329. package/.output/public/_nuxt/oVh4WQ21.js +1 -0
  330. package/.output/public/_nuxt/operations.BfCOaoAx.css +1 -0
  331. package/.output/public/_nuxt/operations.DvUkbQbt.css +1 -0
  332. package/.output/public/_nuxt/p5ZwBirz.js +1 -0
  333. package/.output/public/_nuxt/pkIJ47B4.js +1 -0
  334. package/.output/public/_nuxt/q-j0iyEw.js +1 -0
  335. package/.output/public/_nuxt/qliWkHmV.js +1 -0
  336. package/.output/public/_nuxt/secrets._PitGGJK.css +1 -0
  337. package/.output/public/_nuxt/settings.BCRf8MgD.css +1 -0
  338. package/.output/public/_nuxt/terminals.B07MGsh3.css +1 -0
  339. package/.output/public/_nuxt/uMbE6_td.js +1 -0
  340. package/.output/public/_nuxt/vGWfd6FD.js +1 -0
  341. package/.output/public/_nuxt/vuetify.C_sYHwU6.css +5 -0
  342. package/.output/public/_nuxt/xVLoeQ-B.js +1 -0
  343. package/.output/public/_nuxt/yaml.worker-DLQcEOxU.js +410 -0
  344. package/.output/public/_nuxt/yv6CvBhz.js +1 -0
  345. package/.output/public/favicon.ico +0 -0
  346. package/.output/public/libavoid.wasm +0 -0
  347. package/.output/public/robots.txt +1 -0
  348. package/.output/server/index.mjs +18396 -0
  349. package/.output/server/index.mjs.map +1 -0
  350. package/.output/server/node_modules/@babel/parser/lib/index.js +14586 -0
  351. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  352. package/.output/server/node_modules/@trpc/server/dist/adapters/fetch/index.mjs +58 -0
  353. package/.output/server/node_modules/@trpc/server/dist/adapters/ws.mjs +15 -0
  354. package/.output/server/node_modules/@trpc/server/dist/contentTypeParsers-SN4WL9ze.mjs +13 -0
  355. package/.output/server/node_modules/@trpc/server/dist/getErrorShape-Uhlrl4Bk.mjs +263 -0
  356. package/.output/server/node_modules/@trpc/server/dist/http-CWyjOa1l.mjs +0 -0
  357. package/.output/server/node_modules/@trpc/server/dist/index.mjs +6 -0
  358. package/.output/server/node_modules/@trpc/server/dist/initTRPC-IT_6ZYJd.mjs +358 -0
  359. package/.output/server/node_modules/@trpc/server/dist/node-http-ZvZKxPic.mjs +222 -0
  360. package/.output/server/node_modules/@trpc/server/dist/observable-CUiPknO-.mjs +158 -0
  361. package/.output/server/node_modules/@trpc/server/dist/observable-UMO3vUa_.mjs +158 -0
  362. package/.output/server/node_modules/@trpc/server/dist/parseTRPCMessage-ByIHyFRz.mjs +63 -0
  363. package/.output/server/node_modules/@trpc/server/dist/resolveResponse-CzlbRpCI.mjs +2183 -0
  364. package/.output/server/node_modules/@trpc/server/dist/tracked-gU3ttYjg.mjs +371 -0
  365. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import-D89CaGtL.mjs +29 -0
  366. package/.output/server/node_modules/@trpc/server/dist/utils-DdbbrDku.mjs +137 -0
  367. package/.output/server/node_modules/@trpc/server/dist/ws-DsZkVWpZ.mjs +420 -0
  368. package/.output/server/node_modules/@trpc/server/package.json +232 -0
  369. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6705 -0
  370. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  371. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +686 -0
  372. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  373. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1402 -0
  374. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  375. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1806 -0
  376. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  377. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6696 -0
  378. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  379. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1677 -0
  380. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  381. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +857 -0
  382. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  383. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +594 -0
  384. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  385. package/.output/server/node_modules/devalue/index.js +3 -0
  386. package/.output/server/node_modules/devalue/package.json +34 -0
  387. package/.output/server/node_modules/devalue/src/base64.js +110 -0
  388. package/.output/server/node_modules/devalue/src/constants.js +6 -0
  389. package/.output/server/node_modules/devalue/src/parse.js +160 -0
  390. package/.output/server/node_modules/devalue/src/stringify.js +232 -0
  391. package/.output/server/node_modules/devalue/src/uneval.js +351 -0
  392. package/.output/server/node_modules/devalue/src/utils.js +113 -0
  393. package/.output/server/node_modules/entities/lib/decode.js +536 -0
  394. package/.output/server/node_modules/entities/lib/decode_codepoint.js +76 -0
  395. package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  396. package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  397. package/.output/server/node_modules/entities/package.json +90 -0
  398. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  399. package/.output/server/node_modules/estree-walker/package.json +37 -0
  400. package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
  401. package/.output/server/node_modules/hookable/package.json +49 -0
  402. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  403. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  404. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  405. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  406. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  407. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  408. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  409. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  410. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  411. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  412. package/.output/server/node_modules/source-map-js/package.json +71 -0
  413. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  414. package/.output/server/node_modules/ufo/dist/index.mjs +638 -0
  415. package/.output/server/node_modules/ufo/package.json +47 -0
  416. package/.output/server/node_modules/unhead/dist/plugins.mjs +95 -0
  417. package/.output/server/node_modules/unhead/dist/server.mjs +219 -0
  418. package/.output/server/node_modules/unhead/dist/shared/unhead.C13swrCa.mjs +48 -0
  419. package/.output/server/node_modules/unhead/dist/shared/unhead.CAk5S5m6.mjs +180 -0
  420. package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
  421. package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
  422. package/.output/server/node_modules/unhead/dist/shared/unhead.DZbvapt-.mjs +70 -0
  423. package/.output/server/node_modules/unhead/dist/shared/unhead.DeCxexjU.mjs +166 -0
  424. package/.output/server/node_modules/unhead/dist/shared/unhead.Di5OD67x.mjs +190 -0
  425. package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
  426. package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
  427. package/.output/server/node_modules/unhead/package.json +101 -0
  428. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  429. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  430. package/.output/server/node_modules/vue/index.js +7 -0
  431. package/.output/server/node_modules/vue/index.mjs +1 -0
  432. package/.output/server/node_modules/vue/package.json +112 -0
  433. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  434. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +196 -0
  435. package/.output/server/node_modules/vue-bundle-renderer/package.json +50 -0
  436. package/.output/server/node_modules/ws/lib/buffer-util.js +131 -0
  437. package/.output/server/node_modules/ws/lib/constants.js +18 -0
  438. package/.output/server/node_modules/ws/lib/event-target.js +292 -0
  439. package/.output/server/node_modules/ws/lib/extension.js +203 -0
  440. package/.output/server/node_modules/ws/lib/limiter.js +55 -0
  441. package/.output/server/node_modules/ws/lib/permessage-deflate.js +528 -0
  442. package/.output/server/node_modules/ws/lib/receiver.js +706 -0
  443. package/.output/server/node_modules/ws/lib/sender.js +602 -0
  444. package/.output/server/node_modules/ws/lib/stream.js +161 -0
  445. package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
  446. package/.output/server/node_modules/ws/lib/validation.js +152 -0
  447. package/.output/server/node_modules/ws/lib/websocket-server.js +550 -0
  448. package/.output/server/node_modules/ws/lib/websocket.js +1388 -0
  449. package/.output/server/node_modules/ws/package.json +69 -0
  450. package/.output/server/node_modules/ws/wrapper.mjs +8 -0
  451. package/.output/server/node_modules/zod/index.js +4 -0
  452. package/.output/server/node_modules/zod/package.json +131 -0
  453. package/.output/server/node_modules/zod/v4/classic/checks.js +1 -0
  454. package/.output/server/node_modules/zod/v4/classic/coerce.js +17 -0
  455. package/.output/server/node_modules/zod/v4/classic/compat.js +31 -0
  456. package/.output/server/node_modules/zod/v4/classic/errors.js +41 -0
  457. package/.output/server/node_modules/zod/v4/classic/external.js +18 -0
  458. package/.output/server/node_modules/zod/v4/classic/iso.js +30 -0
  459. package/.output/server/node_modules/zod/v4/classic/parse.js +6 -0
  460. package/.output/server/node_modules/zod/v4/classic/schemas.js +1006 -0
  461. package/.output/server/node_modules/zod/v4/core/api.js +906 -0
  462. package/.output/server/node_modules/zod/v4/core/checks.js +565 -0
  463. package/.output/server/node_modules/zod/v4/core/core.js +61 -0
  464. package/.output/server/node_modules/zod/v4/core/doc.js +35 -0
  465. package/.output/server/node_modules/zod/v4/core/errors.js +195 -0
  466. package/.output/server/node_modules/zod/v4/core/function.js +75 -0
  467. package/.output/server/node_modules/zod/v4/core/index.js +15 -0
  468. package/.output/server/node_modules/zod/v4/core/json-schema.js +1 -0
  469. package/.output/server/node_modules/zod/v4/core/parse.js +57 -0
  470. package/.output/server/node_modules/zod/v4/core/regexes.js +95 -0
  471. package/.output/server/node_modules/zod/v4/core/registries.js +51 -0
  472. package/.output/server/node_modules/zod/v4/core/schemas.js +1718 -0
  473. package/.output/server/node_modules/zod/v4/core/to-json-schema.js +849 -0
  474. package/.output/server/node_modules/zod/v4/core/util.js +493 -0
  475. package/.output/server/node_modules/zod/v4/core/versions.js +5 -0
  476. package/.output/server/node_modules/zod/v4/locales/ar.js +116 -0
  477. package/.output/server/node_modules/zod/v4/locales/az.js +115 -0
  478. package/.output/server/node_modules/zod/v4/locales/be.js +164 -0
  479. package/.output/server/node_modules/zod/v4/locales/ca.js +118 -0
  480. package/.output/server/node_modules/zod/v4/locales/cs.js +135 -0
  481. package/.output/server/node_modules/zod/v4/locales/de.js +116 -0
  482. package/.output/server/node_modules/zod/v4/locales/en.js +117 -0
  483. package/.output/server/node_modules/zod/v4/locales/eo.js +116 -0
  484. package/.output/server/node_modules/zod/v4/locales/es.js +117 -0
  485. package/.output/server/node_modules/zod/v4/locales/fa.js +122 -0
  486. package/.output/server/node_modules/zod/v4/locales/fi.js +122 -0
  487. package/.output/server/node_modules/zod/v4/locales/fr-CA.js +117 -0
  488. package/.output/server/node_modules/zod/v4/locales/fr.js +116 -0
  489. package/.output/server/node_modules/zod/v4/locales/he.js +117 -0
  490. package/.output/server/node_modules/zod/v4/locales/hu.js +117 -0
  491. package/.output/server/node_modules/zod/v4/locales/id.js +116 -0
  492. package/.output/server/node_modules/zod/v4/locales/index.js +39 -0
  493. package/.output/server/node_modules/zod/v4/locales/it.js +117 -0
  494. package/.output/server/node_modules/zod/v4/locales/ja.js +115 -0
  495. package/.output/server/node_modules/zod/v4/locales/kh.js +117 -0
  496. package/.output/server/node_modules/zod/v4/locales/ko.js +121 -0
  497. package/.output/server/node_modules/zod/v4/locales/mk.js +118 -0
  498. package/.output/server/node_modules/zod/v4/locales/ms.js +116 -0
  499. package/.output/server/node_modules/zod/v4/locales/nl.js +117 -0
  500. package/.output/server/node_modules/zod/v4/locales/no.js +116 -0
  501. package/.output/server/node_modules/zod/v4/locales/ota.js +117 -0
  502. package/.output/server/node_modules/zod/v4/locales/pl.js +117 -0
  503. package/.output/server/node_modules/zod/v4/locales/ps.js +122 -0
  504. package/.output/server/node_modules/zod/v4/locales/pt.js +116 -0
  505. package/.output/server/node_modules/zod/v4/locales/ru.js +164 -0
  506. package/.output/server/node_modules/zod/v4/locales/sl.js +117 -0
  507. package/.output/server/node_modules/zod/v4/locales/sv.js +118 -0
  508. package/.output/server/node_modules/zod/v4/locales/ta.js +117 -0
  509. package/.output/server/node_modules/zod/v4/locales/th.js +117 -0
  510. package/.output/server/node_modules/zod/v4/locales/tr.js +115 -0
  511. package/.output/server/node_modules/zod/v4/locales/ua.js +117 -0
  512. package/.output/server/node_modules/zod/v4/locales/ur.js +117 -0
  513. package/.output/server/node_modules/zod/v4/locales/vi.js +116 -0
  514. package/.output/server/node_modules/zod/v4/locales/zh-CN.js +116 -0
  515. package/.output/server/node_modules/zod/v4/locales/zh-TW.js +117 -0
  516. package/.output/server/package.json +29 -0
  517. package/package.json +6 -6
@@ -0,0 +1,1677 @@
1
+ /**
2
+ * @vue/runtime-dom v3.5.17
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/
6
+ 'use strict';
7
+
8
+ Object.defineProperty(exports, '__esModule', { value: true });
9
+
10
+ var runtimeCore = require('@vue/runtime-core');
11
+ var shared = require('@vue/shared');
12
+
13
+ let policy = void 0;
14
+ const tt = typeof window !== "undefined" && window.trustedTypes;
15
+ if (tt) {
16
+ try {
17
+ policy = /* @__PURE__ */ tt.createPolicy("vue", {
18
+ createHTML: (val) => val
19
+ });
20
+ } catch (e) {
21
+ }
22
+ }
23
+ const unsafeToTrustedHTML = policy ? (val) => policy.createHTML(val) : (val) => val;
24
+ const svgNS = "http://www.w3.org/2000/svg";
25
+ const mathmlNS = "http://www.w3.org/1998/Math/MathML";
26
+ const doc = typeof document !== "undefined" ? document : null;
27
+ const templateContainer = doc && /* @__PURE__ */ doc.createElement("template");
28
+ const nodeOps = {
29
+ insert: (child, parent, anchor) => {
30
+ parent.insertBefore(child, anchor || null);
31
+ },
32
+ remove: (child) => {
33
+ const parent = child.parentNode;
34
+ if (parent) {
35
+ parent.removeChild(child);
36
+ }
37
+ },
38
+ createElement: (tag, namespace, is, props) => {
39
+ const el = namespace === "svg" ? doc.createElementNS(svgNS, tag) : namespace === "mathml" ? doc.createElementNS(mathmlNS, tag) : is ? doc.createElement(tag, { is }) : doc.createElement(tag);
40
+ if (tag === "select" && props && props.multiple != null) {
41
+ el.setAttribute("multiple", props.multiple);
42
+ }
43
+ return el;
44
+ },
45
+ createText: (text) => doc.createTextNode(text),
46
+ createComment: (text) => doc.createComment(text),
47
+ setText: (node, text) => {
48
+ node.nodeValue = text;
49
+ },
50
+ setElementText: (el, text) => {
51
+ el.textContent = text;
52
+ },
53
+ parentNode: (node) => node.parentNode,
54
+ nextSibling: (node) => node.nextSibling,
55
+ querySelector: (selector) => doc.querySelector(selector),
56
+ setScopeId(el, id) {
57
+ el.setAttribute(id, "");
58
+ },
59
+ // __UNSAFE__
60
+ // Reason: innerHTML.
61
+ // Static content here can only come from compiled templates.
62
+ // As long as the user only uses trusted templates, this is safe.
63
+ insertStaticContent(content, parent, anchor, namespace, start, end) {
64
+ const before = anchor ? anchor.previousSibling : parent.lastChild;
65
+ if (start && (start === end || start.nextSibling)) {
66
+ while (true) {
67
+ parent.insertBefore(start.cloneNode(true), anchor);
68
+ if (start === end || !(start = start.nextSibling)) break;
69
+ }
70
+ } else {
71
+ templateContainer.innerHTML = unsafeToTrustedHTML(
72
+ namespace === "svg" ? `<svg>${content}</svg>` : namespace === "mathml" ? `<math>${content}</math>` : content
73
+ );
74
+ const template = templateContainer.content;
75
+ if (namespace === "svg" || namespace === "mathml") {
76
+ const wrapper = template.firstChild;
77
+ while (wrapper.firstChild) {
78
+ template.appendChild(wrapper.firstChild);
79
+ }
80
+ template.removeChild(wrapper);
81
+ }
82
+ parent.insertBefore(template, anchor);
83
+ }
84
+ return [
85
+ // first
86
+ before ? before.nextSibling : parent.firstChild,
87
+ // last
88
+ anchor ? anchor.previousSibling : parent.lastChild
89
+ ];
90
+ }
91
+ };
92
+
93
+ const TRANSITION = "transition";
94
+ const ANIMATION = "animation";
95
+ const vtcKey = Symbol("_vtc");
96
+ const DOMTransitionPropsValidators = {
97
+ name: String,
98
+ type: String,
99
+ css: {
100
+ type: Boolean,
101
+ default: true
102
+ },
103
+ duration: [String, Number, Object],
104
+ enterFromClass: String,
105
+ enterActiveClass: String,
106
+ enterToClass: String,
107
+ appearFromClass: String,
108
+ appearActiveClass: String,
109
+ appearToClass: String,
110
+ leaveFromClass: String,
111
+ leaveActiveClass: String,
112
+ leaveToClass: String
113
+ };
114
+ const TransitionPropsValidators = /* @__PURE__ */ shared.extend(
115
+ {},
116
+ runtimeCore.BaseTransitionPropsValidators,
117
+ DOMTransitionPropsValidators
118
+ );
119
+ const decorate$1 = (t) => {
120
+ t.displayName = "Transition";
121
+ t.props = TransitionPropsValidators;
122
+ return t;
123
+ };
124
+ const Transition = /* @__PURE__ */ decorate$1(
125
+ (props, { slots }) => runtimeCore.h(runtimeCore.BaseTransition, resolveTransitionProps(props), slots)
126
+ );
127
+ const callHook = (hook, args = []) => {
128
+ if (shared.isArray(hook)) {
129
+ hook.forEach((h2) => h2(...args));
130
+ } else if (hook) {
131
+ hook(...args);
132
+ }
133
+ };
134
+ const hasExplicitCallback = (hook) => {
135
+ return hook ? shared.isArray(hook) ? hook.some((h2) => h2.length > 1) : hook.length > 1 : false;
136
+ };
137
+ function resolveTransitionProps(rawProps) {
138
+ const baseProps = {};
139
+ for (const key in rawProps) {
140
+ if (!(key in DOMTransitionPropsValidators)) {
141
+ baseProps[key] = rawProps[key];
142
+ }
143
+ }
144
+ if (rawProps.css === false) {
145
+ return baseProps;
146
+ }
147
+ const {
148
+ name = "v",
149
+ type,
150
+ duration,
151
+ enterFromClass = `${name}-enter-from`,
152
+ enterActiveClass = `${name}-enter-active`,
153
+ enterToClass = `${name}-enter-to`,
154
+ appearFromClass = enterFromClass,
155
+ appearActiveClass = enterActiveClass,
156
+ appearToClass = enterToClass,
157
+ leaveFromClass = `${name}-leave-from`,
158
+ leaveActiveClass = `${name}-leave-active`,
159
+ leaveToClass = `${name}-leave-to`
160
+ } = rawProps;
161
+ const durations = normalizeDuration(duration);
162
+ const enterDuration = durations && durations[0];
163
+ const leaveDuration = durations && durations[1];
164
+ const {
165
+ onBeforeEnter,
166
+ onEnter,
167
+ onEnterCancelled,
168
+ onLeave,
169
+ onLeaveCancelled,
170
+ onBeforeAppear = onBeforeEnter,
171
+ onAppear = onEnter,
172
+ onAppearCancelled = onEnterCancelled
173
+ } = baseProps;
174
+ const finishEnter = (el, isAppear, done, isCancelled) => {
175
+ el._enterCancelled = isCancelled;
176
+ removeTransitionClass(el, isAppear ? appearToClass : enterToClass);
177
+ removeTransitionClass(el, isAppear ? appearActiveClass : enterActiveClass);
178
+ done && done();
179
+ };
180
+ const finishLeave = (el, done) => {
181
+ el._isLeaving = false;
182
+ removeTransitionClass(el, leaveFromClass);
183
+ removeTransitionClass(el, leaveToClass);
184
+ removeTransitionClass(el, leaveActiveClass);
185
+ done && done();
186
+ };
187
+ const makeEnterHook = (isAppear) => {
188
+ return (el, done) => {
189
+ const hook = isAppear ? onAppear : onEnter;
190
+ const resolve = () => finishEnter(el, isAppear, done);
191
+ callHook(hook, [el, resolve]);
192
+ nextFrame(() => {
193
+ removeTransitionClass(el, isAppear ? appearFromClass : enterFromClass);
194
+ addTransitionClass(el, isAppear ? appearToClass : enterToClass);
195
+ if (!hasExplicitCallback(hook)) {
196
+ whenTransitionEnds(el, type, enterDuration, resolve);
197
+ }
198
+ });
199
+ };
200
+ };
201
+ return shared.extend(baseProps, {
202
+ onBeforeEnter(el) {
203
+ callHook(onBeforeEnter, [el]);
204
+ addTransitionClass(el, enterFromClass);
205
+ addTransitionClass(el, enterActiveClass);
206
+ },
207
+ onBeforeAppear(el) {
208
+ callHook(onBeforeAppear, [el]);
209
+ addTransitionClass(el, appearFromClass);
210
+ addTransitionClass(el, appearActiveClass);
211
+ },
212
+ onEnter: makeEnterHook(false),
213
+ onAppear: makeEnterHook(true),
214
+ onLeave(el, done) {
215
+ el._isLeaving = true;
216
+ const resolve = () => finishLeave(el, done);
217
+ addTransitionClass(el, leaveFromClass);
218
+ if (!el._enterCancelled) {
219
+ forceReflow();
220
+ addTransitionClass(el, leaveActiveClass);
221
+ } else {
222
+ addTransitionClass(el, leaveActiveClass);
223
+ forceReflow();
224
+ }
225
+ nextFrame(() => {
226
+ if (!el._isLeaving) {
227
+ return;
228
+ }
229
+ removeTransitionClass(el, leaveFromClass);
230
+ addTransitionClass(el, leaveToClass);
231
+ if (!hasExplicitCallback(onLeave)) {
232
+ whenTransitionEnds(el, type, leaveDuration, resolve);
233
+ }
234
+ });
235
+ callHook(onLeave, [el, resolve]);
236
+ },
237
+ onEnterCancelled(el) {
238
+ finishEnter(el, false, void 0, true);
239
+ callHook(onEnterCancelled, [el]);
240
+ },
241
+ onAppearCancelled(el) {
242
+ finishEnter(el, true, void 0, true);
243
+ callHook(onAppearCancelled, [el]);
244
+ },
245
+ onLeaveCancelled(el) {
246
+ finishLeave(el);
247
+ callHook(onLeaveCancelled, [el]);
248
+ }
249
+ });
250
+ }
251
+ function normalizeDuration(duration) {
252
+ if (duration == null) {
253
+ return null;
254
+ } else if (shared.isObject(duration)) {
255
+ return [NumberOf(duration.enter), NumberOf(duration.leave)];
256
+ } else {
257
+ const n = NumberOf(duration);
258
+ return [n, n];
259
+ }
260
+ }
261
+ function NumberOf(val) {
262
+ const res = shared.toNumber(val);
263
+ return res;
264
+ }
265
+ function addTransitionClass(el, cls) {
266
+ cls.split(/\s+/).forEach((c) => c && el.classList.add(c));
267
+ (el[vtcKey] || (el[vtcKey] = /* @__PURE__ */ new Set())).add(cls);
268
+ }
269
+ function removeTransitionClass(el, cls) {
270
+ cls.split(/\s+/).forEach((c) => c && el.classList.remove(c));
271
+ const _vtc = el[vtcKey];
272
+ if (_vtc) {
273
+ _vtc.delete(cls);
274
+ if (!_vtc.size) {
275
+ el[vtcKey] = void 0;
276
+ }
277
+ }
278
+ }
279
+ function nextFrame(cb) {
280
+ requestAnimationFrame(() => {
281
+ requestAnimationFrame(cb);
282
+ });
283
+ }
284
+ let endId = 0;
285
+ function whenTransitionEnds(el, expectedType, explicitTimeout, resolve) {
286
+ const id = el._endId = ++endId;
287
+ const resolveIfNotStale = () => {
288
+ if (id === el._endId) {
289
+ resolve();
290
+ }
291
+ };
292
+ if (explicitTimeout != null) {
293
+ return setTimeout(resolveIfNotStale, explicitTimeout);
294
+ }
295
+ const { type, timeout, propCount } = getTransitionInfo(el, expectedType);
296
+ if (!type) {
297
+ return resolve();
298
+ }
299
+ const endEvent = type + "end";
300
+ let ended = 0;
301
+ const end = () => {
302
+ el.removeEventListener(endEvent, onEnd);
303
+ resolveIfNotStale();
304
+ };
305
+ const onEnd = (e) => {
306
+ if (e.target === el && ++ended >= propCount) {
307
+ end();
308
+ }
309
+ };
310
+ setTimeout(() => {
311
+ if (ended < propCount) {
312
+ end();
313
+ }
314
+ }, timeout + 1);
315
+ el.addEventListener(endEvent, onEnd);
316
+ }
317
+ function getTransitionInfo(el, expectedType) {
318
+ const styles = window.getComputedStyle(el);
319
+ const getStyleProperties = (key) => (styles[key] || "").split(", ");
320
+ const transitionDelays = getStyleProperties(`${TRANSITION}Delay`);
321
+ const transitionDurations = getStyleProperties(`${TRANSITION}Duration`);
322
+ const transitionTimeout = getTimeout(transitionDelays, transitionDurations);
323
+ const animationDelays = getStyleProperties(`${ANIMATION}Delay`);
324
+ const animationDurations = getStyleProperties(`${ANIMATION}Duration`);
325
+ const animationTimeout = getTimeout(animationDelays, animationDurations);
326
+ let type = null;
327
+ let timeout = 0;
328
+ let propCount = 0;
329
+ if (expectedType === TRANSITION) {
330
+ if (transitionTimeout > 0) {
331
+ type = TRANSITION;
332
+ timeout = transitionTimeout;
333
+ propCount = transitionDurations.length;
334
+ }
335
+ } else if (expectedType === ANIMATION) {
336
+ if (animationTimeout > 0) {
337
+ type = ANIMATION;
338
+ timeout = animationTimeout;
339
+ propCount = animationDurations.length;
340
+ }
341
+ } else {
342
+ timeout = Math.max(transitionTimeout, animationTimeout);
343
+ type = timeout > 0 ? transitionTimeout > animationTimeout ? TRANSITION : ANIMATION : null;
344
+ propCount = type ? type === TRANSITION ? transitionDurations.length : animationDurations.length : 0;
345
+ }
346
+ const hasTransform = type === TRANSITION && /\b(transform|all)(,|$)/.test(
347
+ getStyleProperties(`${TRANSITION}Property`).toString()
348
+ );
349
+ return {
350
+ type,
351
+ timeout,
352
+ propCount,
353
+ hasTransform
354
+ };
355
+ }
356
+ function getTimeout(delays, durations) {
357
+ while (delays.length < durations.length) {
358
+ delays = delays.concat(delays);
359
+ }
360
+ return Math.max(...durations.map((d, i) => toMs(d) + toMs(delays[i])));
361
+ }
362
+ function toMs(s) {
363
+ if (s === "auto") return 0;
364
+ return Number(s.slice(0, -1).replace(",", ".")) * 1e3;
365
+ }
366
+ function forceReflow() {
367
+ return document.body.offsetHeight;
368
+ }
369
+
370
+ function patchClass(el, value, isSVG) {
371
+ const transitionClasses = el[vtcKey];
372
+ if (transitionClasses) {
373
+ value = (value ? [value, ...transitionClasses] : [...transitionClasses]).join(" ");
374
+ }
375
+ if (value == null) {
376
+ el.removeAttribute("class");
377
+ } else if (isSVG) {
378
+ el.setAttribute("class", value);
379
+ } else {
380
+ el.className = value;
381
+ }
382
+ }
383
+
384
+ const vShowOriginalDisplay = Symbol("_vod");
385
+ const vShowHidden = Symbol("_vsh");
386
+ const vShow = {
387
+ beforeMount(el, { value }, { transition }) {
388
+ el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
389
+ if (transition && value) {
390
+ transition.beforeEnter(el);
391
+ } else {
392
+ setDisplay(el, value);
393
+ }
394
+ },
395
+ mounted(el, { value }, { transition }) {
396
+ if (transition && value) {
397
+ transition.enter(el);
398
+ }
399
+ },
400
+ updated(el, { value, oldValue }, { transition }) {
401
+ if (!value === !oldValue) return;
402
+ if (transition) {
403
+ if (value) {
404
+ transition.beforeEnter(el);
405
+ setDisplay(el, true);
406
+ transition.enter(el);
407
+ } else {
408
+ transition.leave(el, () => {
409
+ setDisplay(el, false);
410
+ });
411
+ }
412
+ } else {
413
+ setDisplay(el, value);
414
+ }
415
+ },
416
+ beforeUnmount(el, { value }) {
417
+ setDisplay(el, value);
418
+ }
419
+ };
420
+ function setDisplay(el, value) {
421
+ el.style.display = value ? el[vShowOriginalDisplay] : "none";
422
+ el[vShowHidden] = !value;
423
+ }
424
+ function initVShowForSSR() {
425
+ vShow.getSSRProps = ({ value }) => {
426
+ if (!value) {
427
+ return { style: { display: "none" } };
428
+ }
429
+ };
430
+ }
431
+
432
+ const CSS_VAR_TEXT = Symbol("");
433
+ function useCssVars(getter) {
434
+ return;
435
+ }
436
+
437
+ const displayRE = /(^|;)\s*display\s*:/;
438
+ function patchStyle(el, prev, next) {
439
+ const style = el.style;
440
+ const isCssString = shared.isString(next);
441
+ let hasControlledDisplay = false;
442
+ if (next && !isCssString) {
443
+ if (prev) {
444
+ if (!shared.isString(prev)) {
445
+ for (const key in prev) {
446
+ if (next[key] == null) {
447
+ setStyle(style, key, "");
448
+ }
449
+ }
450
+ } else {
451
+ for (const prevStyle of prev.split(";")) {
452
+ const key = prevStyle.slice(0, prevStyle.indexOf(":")).trim();
453
+ if (next[key] == null) {
454
+ setStyle(style, key, "");
455
+ }
456
+ }
457
+ }
458
+ }
459
+ for (const key in next) {
460
+ if (key === "display") {
461
+ hasControlledDisplay = true;
462
+ }
463
+ setStyle(style, key, next[key]);
464
+ }
465
+ } else {
466
+ if (isCssString) {
467
+ if (prev !== next) {
468
+ const cssVarText = style[CSS_VAR_TEXT];
469
+ if (cssVarText) {
470
+ next += ";" + cssVarText;
471
+ }
472
+ style.cssText = next;
473
+ hasControlledDisplay = displayRE.test(next);
474
+ }
475
+ } else if (prev) {
476
+ el.removeAttribute("style");
477
+ }
478
+ }
479
+ if (vShowOriginalDisplay in el) {
480
+ el[vShowOriginalDisplay] = hasControlledDisplay ? style.display : "";
481
+ if (el[vShowHidden]) {
482
+ style.display = "none";
483
+ }
484
+ }
485
+ }
486
+ const importantRE = /\s*!important$/;
487
+ function setStyle(style, name, val) {
488
+ if (shared.isArray(val)) {
489
+ val.forEach((v) => setStyle(style, name, v));
490
+ } else {
491
+ if (val == null) val = "";
492
+ if (name.startsWith("--")) {
493
+ style.setProperty(name, val);
494
+ } else {
495
+ const prefixed = autoPrefix(style, name);
496
+ if (importantRE.test(val)) {
497
+ style.setProperty(
498
+ shared.hyphenate(prefixed),
499
+ val.replace(importantRE, ""),
500
+ "important"
501
+ );
502
+ } else {
503
+ style[prefixed] = val;
504
+ }
505
+ }
506
+ }
507
+ }
508
+ const prefixes = ["Webkit", "Moz", "ms"];
509
+ const prefixCache = {};
510
+ function autoPrefix(style, rawName) {
511
+ const cached = prefixCache[rawName];
512
+ if (cached) {
513
+ return cached;
514
+ }
515
+ let name = runtimeCore.camelize(rawName);
516
+ if (name !== "filter" && name in style) {
517
+ return prefixCache[rawName] = name;
518
+ }
519
+ name = shared.capitalize(name);
520
+ for (let i = 0; i < prefixes.length; i++) {
521
+ const prefixed = prefixes[i] + name;
522
+ if (prefixed in style) {
523
+ return prefixCache[rawName] = prefixed;
524
+ }
525
+ }
526
+ return rawName;
527
+ }
528
+
529
+ const xlinkNS = "http://www.w3.org/1999/xlink";
530
+ function patchAttr(el, key, value, isSVG, instance, isBoolean = shared.isSpecialBooleanAttr(key)) {
531
+ if (isSVG && key.startsWith("xlink:")) {
532
+ if (value == null) {
533
+ el.removeAttributeNS(xlinkNS, key.slice(6, key.length));
534
+ } else {
535
+ el.setAttributeNS(xlinkNS, key, value);
536
+ }
537
+ } else {
538
+ if (value == null || isBoolean && !shared.includeBooleanAttr(value)) {
539
+ el.removeAttribute(key);
540
+ } else {
541
+ el.setAttribute(
542
+ key,
543
+ isBoolean ? "" : shared.isSymbol(value) ? String(value) : value
544
+ );
545
+ }
546
+ }
547
+ }
548
+
549
+ function patchDOMProp(el, key, value, parentComponent, attrName) {
550
+ if (key === "innerHTML" || key === "textContent") {
551
+ if (value != null) {
552
+ el[key] = key === "innerHTML" ? unsafeToTrustedHTML(value) : value;
553
+ }
554
+ return;
555
+ }
556
+ const tag = el.tagName;
557
+ if (key === "value" && tag !== "PROGRESS" && // custom elements may use _value internally
558
+ !tag.includes("-")) {
559
+ const oldValue = tag === "OPTION" ? el.getAttribute("value") || "" : el.value;
560
+ const newValue = value == null ? (
561
+ // #11647: value should be set as empty string for null and undefined,
562
+ // but <input type="checkbox"> should be set as 'on'.
563
+ el.type === "checkbox" ? "on" : ""
564
+ ) : String(value);
565
+ if (oldValue !== newValue || !("_value" in el)) {
566
+ el.value = newValue;
567
+ }
568
+ if (value == null) {
569
+ el.removeAttribute(key);
570
+ }
571
+ el._value = value;
572
+ return;
573
+ }
574
+ let needRemove = false;
575
+ if (value === "" || value == null) {
576
+ const type = typeof el[key];
577
+ if (type === "boolean") {
578
+ value = shared.includeBooleanAttr(value);
579
+ } else if (value == null && type === "string") {
580
+ value = "";
581
+ needRemove = true;
582
+ } else if (type === "number") {
583
+ value = 0;
584
+ needRemove = true;
585
+ }
586
+ }
587
+ try {
588
+ el[key] = value;
589
+ } catch (e) {
590
+ }
591
+ needRemove && el.removeAttribute(attrName || key);
592
+ }
593
+
594
+ function addEventListener(el, event, handler, options) {
595
+ el.addEventListener(event, handler, options);
596
+ }
597
+ function removeEventListener(el, event, handler, options) {
598
+ el.removeEventListener(event, handler, options);
599
+ }
600
+ const veiKey = Symbol("_vei");
601
+ function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
602
+ const invokers = el[veiKey] || (el[veiKey] = {});
603
+ const existingInvoker = invokers[rawName];
604
+ if (nextValue && existingInvoker) {
605
+ existingInvoker.value = nextValue;
606
+ } else {
607
+ const [name, options] = parseName(rawName);
608
+ if (nextValue) {
609
+ const invoker = invokers[rawName] = createInvoker(
610
+ nextValue,
611
+ instance
612
+ );
613
+ addEventListener(el, name, invoker, options);
614
+ } else if (existingInvoker) {
615
+ removeEventListener(el, name, existingInvoker, options);
616
+ invokers[rawName] = void 0;
617
+ }
618
+ }
619
+ }
620
+ const optionsModifierRE = /(?:Once|Passive|Capture)$/;
621
+ function parseName(name) {
622
+ let options;
623
+ if (optionsModifierRE.test(name)) {
624
+ options = {};
625
+ let m;
626
+ while (m = name.match(optionsModifierRE)) {
627
+ name = name.slice(0, name.length - m[0].length);
628
+ options[m[0].toLowerCase()] = true;
629
+ }
630
+ }
631
+ const event = name[2] === ":" ? name.slice(3) : shared.hyphenate(name.slice(2));
632
+ return [event, options];
633
+ }
634
+ let cachedNow = 0;
635
+ const p = /* @__PURE__ */ Promise.resolve();
636
+ const getNow = () => cachedNow || (p.then(() => cachedNow = 0), cachedNow = Date.now());
637
+ function createInvoker(initialValue, instance) {
638
+ const invoker = (e) => {
639
+ if (!e._vts) {
640
+ e._vts = Date.now();
641
+ } else if (e._vts <= invoker.attached) {
642
+ return;
643
+ }
644
+ runtimeCore.callWithAsyncErrorHandling(
645
+ patchStopImmediatePropagation(e, invoker.value),
646
+ instance,
647
+ 5,
648
+ [e]
649
+ );
650
+ };
651
+ invoker.value = initialValue;
652
+ invoker.attached = getNow();
653
+ return invoker;
654
+ }
655
+ function patchStopImmediatePropagation(e, value) {
656
+ if (shared.isArray(value)) {
657
+ const originalStop = e.stopImmediatePropagation;
658
+ e.stopImmediatePropagation = () => {
659
+ originalStop.call(e);
660
+ e._stopped = true;
661
+ };
662
+ return value.map(
663
+ (fn) => (e2) => !e2._stopped && fn && fn(e2)
664
+ );
665
+ } else {
666
+ return value;
667
+ }
668
+ }
669
+
670
+ const isNativeOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // lowercase letter
671
+ key.charCodeAt(2) > 96 && key.charCodeAt(2) < 123;
672
+ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) => {
673
+ const isSVG = namespace === "svg";
674
+ if (key === "class") {
675
+ patchClass(el, nextValue, isSVG);
676
+ } else if (key === "style") {
677
+ patchStyle(el, prevValue, nextValue);
678
+ } else if (shared.isOn(key)) {
679
+ if (!shared.isModelListener(key)) {
680
+ patchEvent(el, key, prevValue, nextValue, parentComponent);
681
+ }
682
+ } else if (key[0] === "." ? (key = key.slice(1), true) : key[0] === "^" ? (key = key.slice(1), false) : shouldSetAsProp(el, key, nextValue, isSVG)) {
683
+ patchDOMProp(el, key, nextValue);
684
+ if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
685
+ patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
686
+ }
687
+ } else if (
688
+ // #11081 force set props for possible async custom element
689
+ el._isVueCE && (/[A-Z]/.test(key) || !shared.isString(nextValue))
690
+ ) {
691
+ patchDOMProp(el, shared.camelize(key), nextValue, parentComponent, key);
692
+ } else {
693
+ if (key === "true-value") {
694
+ el._trueValue = nextValue;
695
+ } else if (key === "false-value") {
696
+ el._falseValue = nextValue;
697
+ }
698
+ patchAttr(el, key, nextValue, isSVG);
699
+ }
700
+ };
701
+ function shouldSetAsProp(el, key, value, isSVG) {
702
+ if (isSVG) {
703
+ if (key === "innerHTML" || key === "textContent") {
704
+ return true;
705
+ }
706
+ if (key in el && isNativeOn(key) && shared.isFunction(value)) {
707
+ return true;
708
+ }
709
+ return false;
710
+ }
711
+ if (key === "spellcheck" || key === "draggable" || key === "translate" || key === "autocorrect") {
712
+ return false;
713
+ }
714
+ if (key === "form") {
715
+ return false;
716
+ }
717
+ if (key === "list" && el.tagName === "INPUT") {
718
+ return false;
719
+ }
720
+ if (key === "type" && el.tagName === "TEXTAREA") {
721
+ return false;
722
+ }
723
+ if (key === "width" || key === "height") {
724
+ const tag = el.tagName;
725
+ if (tag === "IMG" || tag === "VIDEO" || tag === "CANVAS" || tag === "SOURCE") {
726
+ return false;
727
+ }
728
+ }
729
+ if (isNativeOn(key) && shared.isString(value)) {
730
+ return false;
731
+ }
732
+ return key in el;
733
+ }
734
+
735
+ const REMOVAL = {};
736
+ /*! #__NO_SIDE_EFFECTS__ */
737
+ // @__NO_SIDE_EFFECTS__
738
+ function defineCustomElement(options, extraOptions, _createApp) {
739
+ const Comp = runtimeCore.defineComponent(options, extraOptions);
740
+ if (shared.isPlainObject(Comp)) shared.extend(Comp, extraOptions);
741
+ class VueCustomElement extends VueElement {
742
+ constructor(initialProps) {
743
+ super(Comp, initialProps, _createApp);
744
+ }
745
+ }
746
+ VueCustomElement.def = Comp;
747
+ return VueCustomElement;
748
+ }
749
+ /*! #__NO_SIDE_EFFECTS__ */
750
+ const defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
751
+ return /* @__PURE__ */ defineCustomElement(options, extraOptions, createSSRApp);
752
+ };
753
+ const BaseClass = typeof HTMLElement !== "undefined" ? HTMLElement : class {
754
+ };
755
+ class VueElement extends BaseClass {
756
+ constructor(_def, _props = {}, _createApp = createApp) {
757
+ super();
758
+ this._def = _def;
759
+ this._props = _props;
760
+ this._createApp = _createApp;
761
+ this._isVueCE = true;
762
+ /**
763
+ * @internal
764
+ */
765
+ this._instance = null;
766
+ /**
767
+ * @internal
768
+ */
769
+ this._app = null;
770
+ /**
771
+ * @internal
772
+ */
773
+ this._nonce = this._def.nonce;
774
+ this._connected = false;
775
+ this._resolved = false;
776
+ this._numberProps = null;
777
+ this._styleChildren = /* @__PURE__ */ new WeakSet();
778
+ this._ob = null;
779
+ if (this.shadowRoot && _createApp !== createApp) {
780
+ this._root = this.shadowRoot;
781
+ } else {
782
+ if (_def.shadowRoot !== false) {
783
+ this.attachShadow({ mode: "open" });
784
+ this._root = this.shadowRoot;
785
+ } else {
786
+ this._root = this;
787
+ }
788
+ }
789
+ }
790
+ connectedCallback() {
791
+ if (!this.isConnected) return;
792
+ if (!this.shadowRoot && !this._resolved) {
793
+ this._parseSlots();
794
+ }
795
+ this._connected = true;
796
+ let parent = this;
797
+ while (parent = parent && (parent.parentNode || parent.host)) {
798
+ if (parent instanceof VueElement) {
799
+ this._parent = parent;
800
+ break;
801
+ }
802
+ }
803
+ if (!this._instance) {
804
+ if (this._resolved) {
805
+ this._mount(this._def);
806
+ } else {
807
+ if (parent && parent._pendingResolve) {
808
+ this._pendingResolve = parent._pendingResolve.then(() => {
809
+ this._pendingResolve = void 0;
810
+ this._resolveDef();
811
+ });
812
+ } else {
813
+ this._resolveDef();
814
+ }
815
+ }
816
+ }
817
+ }
818
+ _setParent(parent = this._parent) {
819
+ if (parent) {
820
+ this._instance.parent = parent._instance;
821
+ this._inheritParentContext(parent);
822
+ }
823
+ }
824
+ _inheritParentContext(parent = this._parent) {
825
+ if (parent && this._app) {
826
+ Object.setPrototypeOf(
827
+ this._app._context.provides,
828
+ parent._instance.provides
829
+ );
830
+ }
831
+ }
832
+ disconnectedCallback() {
833
+ this._connected = false;
834
+ runtimeCore.nextTick(() => {
835
+ if (!this._connected) {
836
+ if (this._ob) {
837
+ this._ob.disconnect();
838
+ this._ob = null;
839
+ }
840
+ this._app && this._app.unmount();
841
+ if (this._instance) this._instance.ce = void 0;
842
+ this._app = this._instance = null;
843
+ }
844
+ });
845
+ }
846
+ /**
847
+ * resolve inner component definition (handle possible async component)
848
+ */
849
+ _resolveDef() {
850
+ if (this._pendingResolve) {
851
+ return;
852
+ }
853
+ for (let i = 0; i < this.attributes.length; i++) {
854
+ this._setAttr(this.attributes[i].name);
855
+ }
856
+ this._ob = new MutationObserver((mutations) => {
857
+ for (const m of mutations) {
858
+ this._setAttr(m.attributeName);
859
+ }
860
+ });
861
+ this._ob.observe(this, { attributes: true });
862
+ const resolve = (def, isAsync = false) => {
863
+ this._resolved = true;
864
+ this._pendingResolve = void 0;
865
+ const { props, styles } = def;
866
+ let numberProps;
867
+ if (props && !shared.isArray(props)) {
868
+ for (const key in props) {
869
+ const opt = props[key];
870
+ if (opt === Number || opt && opt.type === Number) {
871
+ if (key in this._props) {
872
+ this._props[key] = shared.toNumber(this._props[key]);
873
+ }
874
+ (numberProps || (numberProps = /* @__PURE__ */ Object.create(null)))[shared.camelize(key)] = true;
875
+ }
876
+ }
877
+ }
878
+ this._numberProps = numberProps;
879
+ this._resolveProps(def);
880
+ if (this.shadowRoot) {
881
+ this._applyStyles(styles);
882
+ }
883
+ this._mount(def);
884
+ };
885
+ const asyncDef = this._def.__asyncLoader;
886
+ if (asyncDef) {
887
+ this._pendingResolve = asyncDef().then((def) => {
888
+ def.configureApp = this._def.configureApp;
889
+ resolve(this._def = def, true);
890
+ });
891
+ } else {
892
+ resolve(this._def);
893
+ }
894
+ }
895
+ _mount(def) {
896
+ this._app = this._createApp(def);
897
+ this._inheritParentContext();
898
+ if (def.configureApp) {
899
+ def.configureApp(this._app);
900
+ }
901
+ this._app._ceVNode = this._createVNode();
902
+ this._app.mount(this._root);
903
+ const exposed = this._instance && this._instance.exposed;
904
+ if (!exposed) return;
905
+ for (const key in exposed) {
906
+ if (!shared.hasOwn(this, key)) {
907
+ Object.defineProperty(this, key, {
908
+ // unwrap ref to be consistent with public instance behavior
909
+ get: () => runtimeCore.unref(exposed[key])
910
+ });
911
+ }
912
+ }
913
+ }
914
+ _resolveProps(def) {
915
+ const { props } = def;
916
+ const declaredPropKeys = shared.isArray(props) ? props : Object.keys(props || {});
917
+ for (const key of Object.keys(this)) {
918
+ if (key[0] !== "_" && declaredPropKeys.includes(key)) {
919
+ this._setProp(key, this[key]);
920
+ }
921
+ }
922
+ for (const key of declaredPropKeys.map(shared.camelize)) {
923
+ Object.defineProperty(this, key, {
924
+ get() {
925
+ return this._getProp(key);
926
+ },
927
+ set(val) {
928
+ this._setProp(key, val, true, true);
929
+ }
930
+ });
931
+ }
932
+ }
933
+ _setAttr(key) {
934
+ if (key.startsWith("data-v-")) return;
935
+ const has = this.hasAttribute(key);
936
+ let value = has ? this.getAttribute(key) : REMOVAL;
937
+ const camelKey = shared.camelize(key);
938
+ if (has && this._numberProps && this._numberProps[camelKey]) {
939
+ value = shared.toNumber(value);
940
+ }
941
+ this._setProp(camelKey, value, false, true);
942
+ }
943
+ /**
944
+ * @internal
945
+ */
946
+ _getProp(key) {
947
+ return this._props[key];
948
+ }
949
+ /**
950
+ * @internal
951
+ */
952
+ _setProp(key, val, shouldReflect = true, shouldUpdate = false) {
953
+ if (val !== this._props[key]) {
954
+ if (val === REMOVAL) {
955
+ delete this._props[key];
956
+ } else {
957
+ this._props[key] = val;
958
+ if (key === "key" && this._app) {
959
+ this._app._ceVNode.key = val;
960
+ }
961
+ }
962
+ if (shouldUpdate && this._instance) {
963
+ this._update();
964
+ }
965
+ if (shouldReflect) {
966
+ const ob = this._ob;
967
+ ob && ob.disconnect();
968
+ if (val === true) {
969
+ this.setAttribute(shared.hyphenate(key), "");
970
+ } else if (typeof val === "string" || typeof val === "number") {
971
+ this.setAttribute(shared.hyphenate(key), val + "");
972
+ } else if (!val) {
973
+ this.removeAttribute(shared.hyphenate(key));
974
+ }
975
+ ob && ob.observe(this, { attributes: true });
976
+ }
977
+ }
978
+ }
979
+ _update() {
980
+ const vnode = this._createVNode();
981
+ if (this._app) vnode.appContext = this._app._context;
982
+ render(vnode, this._root);
983
+ }
984
+ _createVNode() {
985
+ const baseProps = {};
986
+ if (!this.shadowRoot) {
987
+ baseProps.onVnodeMounted = baseProps.onVnodeUpdated = this._renderSlots.bind(this);
988
+ }
989
+ const vnode = runtimeCore.createVNode(this._def, shared.extend(baseProps, this._props));
990
+ if (!this._instance) {
991
+ vnode.ce = (instance) => {
992
+ this._instance = instance;
993
+ instance.ce = this;
994
+ instance.isCE = true;
995
+ const dispatch = (event, args) => {
996
+ this.dispatchEvent(
997
+ new CustomEvent(
998
+ event,
999
+ shared.isPlainObject(args[0]) ? shared.extend({ detail: args }, args[0]) : { detail: args }
1000
+ )
1001
+ );
1002
+ };
1003
+ instance.emit = (event, ...args) => {
1004
+ dispatch(event, args);
1005
+ if (shared.hyphenate(event) !== event) {
1006
+ dispatch(shared.hyphenate(event), args);
1007
+ }
1008
+ };
1009
+ this._setParent();
1010
+ };
1011
+ }
1012
+ return vnode;
1013
+ }
1014
+ _applyStyles(styles, owner) {
1015
+ if (!styles) return;
1016
+ if (owner) {
1017
+ if (owner === this._def || this._styleChildren.has(owner)) {
1018
+ return;
1019
+ }
1020
+ this._styleChildren.add(owner);
1021
+ }
1022
+ const nonce = this._nonce;
1023
+ for (let i = styles.length - 1; i >= 0; i--) {
1024
+ const s = document.createElement("style");
1025
+ if (nonce) s.setAttribute("nonce", nonce);
1026
+ s.textContent = styles[i];
1027
+ this.shadowRoot.prepend(s);
1028
+ }
1029
+ }
1030
+ /**
1031
+ * Only called when shadowRoot is false
1032
+ */
1033
+ _parseSlots() {
1034
+ const slots = this._slots = {};
1035
+ let n;
1036
+ while (n = this.firstChild) {
1037
+ const slotName = n.nodeType === 1 && n.getAttribute("slot") || "default";
1038
+ (slots[slotName] || (slots[slotName] = [])).push(n);
1039
+ this.removeChild(n);
1040
+ }
1041
+ }
1042
+ /**
1043
+ * Only called when shadowRoot is false
1044
+ */
1045
+ _renderSlots() {
1046
+ const outlets = (this._teleportTarget || this).querySelectorAll("slot");
1047
+ const scopeId = this._instance.type.__scopeId;
1048
+ for (let i = 0; i < outlets.length; i++) {
1049
+ const o = outlets[i];
1050
+ const slotName = o.getAttribute("name") || "default";
1051
+ const content = this._slots[slotName];
1052
+ const parent = o.parentNode;
1053
+ if (content) {
1054
+ for (const n of content) {
1055
+ if (scopeId && n.nodeType === 1) {
1056
+ const id = scopeId + "-s";
1057
+ const walker = document.createTreeWalker(n, 1);
1058
+ n.setAttribute(id, "");
1059
+ let child;
1060
+ while (child = walker.nextNode()) {
1061
+ child.setAttribute(id, "");
1062
+ }
1063
+ }
1064
+ parent.insertBefore(n, o);
1065
+ }
1066
+ } else {
1067
+ while (o.firstChild) parent.insertBefore(o.firstChild, o);
1068
+ }
1069
+ parent.removeChild(o);
1070
+ }
1071
+ }
1072
+ /**
1073
+ * @internal
1074
+ */
1075
+ _injectChildStyle(comp) {
1076
+ this._applyStyles(comp.styles, comp);
1077
+ }
1078
+ /**
1079
+ * @internal
1080
+ */
1081
+ _removeChildStyle(comp) {
1082
+ }
1083
+ }
1084
+ function useHost(caller) {
1085
+ const instance = runtimeCore.getCurrentInstance();
1086
+ const el = instance && instance.ce;
1087
+ if (el) {
1088
+ return el;
1089
+ }
1090
+ return null;
1091
+ }
1092
+ function useShadowRoot() {
1093
+ const el = useHost();
1094
+ return el && el.shadowRoot;
1095
+ }
1096
+
1097
+ function useCssModule(name = "$style") {
1098
+ {
1099
+ const instance = runtimeCore.getCurrentInstance();
1100
+ if (!instance) {
1101
+ return shared.EMPTY_OBJ;
1102
+ }
1103
+ const modules = instance.type.__cssModules;
1104
+ if (!modules) {
1105
+ return shared.EMPTY_OBJ;
1106
+ }
1107
+ const mod = modules[name];
1108
+ if (!mod) {
1109
+ return shared.EMPTY_OBJ;
1110
+ }
1111
+ return mod;
1112
+ }
1113
+ }
1114
+
1115
+ const positionMap = /* @__PURE__ */ new WeakMap();
1116
+ const newPositionMap = /* @__PURE__ */ new WeakMap();
1117
+ const moveCbKey = Symbol("_moveCb");
1118
+ const enterCbKey = Symbol("_enterCb");
1119
+ const decorate = (t) => {
1120
+ delete t.props.mode;
1121
+ return t;
1122
+ };
1123
+ const TransitionGroupImpl = /* @__PURE__ */ decorate({
1124
+ name: "TransitionGroup",
1125
+ props: /* @__PURE__ */ shared.extend({}, TransitionPropsValidators, {
1126
+ tag: String,
1127
+ moveClass: String
1128
+ }),
1129
+ setup(props, { slots }) {
1130
+ const instance = runtimeCore.getCurrentInstance();
1131
+ const state = runtimeCore.useTransitionState();
1132
+ let prevChildren;
1133
+ let children;
1134
+ runtimeCore.onUpdated(() => {
1135
+ if (!prevChildren.length) {
1136
+ return;
1137
+ }
1138
+ const moveClass = props.moveClass || `${props.name || "v"}-move`;
1139
+ if (!hasCSSTransform(
1140
+ prevChildren[0].el,
1141
+ instance.vnode.el,
1142
+ moveClass
1143
+ )) {
1144
+ prevChildren = [];
1145
+ return;
1146
+ }
1147
+ prevChildren.forEach(callPendingCbs);
1148
+ prevChildren.forEach(recordPosition);
1149
+ const movedChildren = prevChildren.filter(applyTranslation);
1150
+ forceReflow();
1151
+ movedChildren.forEach((c) => {
1152
+ const el = c.el;
1153
+ const style = el.style;
1154
+ addTransitionClass(el, moveClass);
1155
+ style.transform = style.webkitTransform = style.transitionDuration = "";
1156
+ const cb = el[moveCbKey] = (e) => {
1157
+ if (e && e.target !== el) {
1158
+ return;
1159
+ }
1160
+ if (!e || /transform$/.test(e.propertyName)) {
1161
+ el.removeEventListener("transitionend", cb);
1162
+ el[moveCbKey] = null;
1163
+ removeTransitionClass(el, moveClass);
1164
+ }
1165
+ };
1166
+ el.addEventListener("transitionend", cb);
1167
+ });
1168
+ prevChildren = [];
1169
+ });
1170
+ return () => {
1171
+ const rawProps = runtimeCore.toRaw(props);
1172
+ const cssTransitionProps = resolveTransitionProps(rawProps);
1173
+ let tag = rawProps.tag || runtimeCore.Fragment;
1174
+ prevChildren = [];
1175
+ if (children) {
1176
+ for (let i = 0; i < children.length; i++) {
1177
+ const child = children[i];
1178
+ if (child.el && child.el instanceof Element) {
1179
+ prevChildren.push(child);
1180
+ runtimeCore.setTransitionHooks(
1181
+ child,
1182
+ runtimeCore.resolveTransitionHooks(
1183
+ child,
1184
+ cssTransitionProps,
1185
+ state,
1186
+ instance
1187
+ )
1188
+ );
1189
+ positionMap.set(
1190
+ child,
1191
+ child.el.getBoundingClientRect()
1192
+ );
1193
+ }
1194
+ }
1195
+ }
1196
+ children = slots.default ? runtimeCore.getTransitionRawChildren(slots.default()) : [];
1197
+ for (let i = 0; i < children.length; i++) {
1198
+ const child = children[i];
1199
+ if (child.key != null) {
1200
+ runtimeCore.setTransitionHooks(
1201
+ child,
1202
+ runtimeCore.resolveTransitionHooks(child, cssTransitionProps, state, instance)
1203
+ );
1204
+ }
1205
+ }
1206
+ return runtimeCore.createVNode(tag, null, children);
1207
+ };
1208
+ }
1209
+ });
1210
+ const TransitionGroup = TransitionGroupImpl;
1211
+ function callPendingCbs(c) {
1212
+ const el = c.el;
1213
+ if (el[moveCbKey]) {
1214
+ el[moveCbKey]();
1215
+ }
1216
+ if (el[enterCbKey]) {
1217
+ el[enterCbKey]();
1218
+ }
1219
+ }
1220
+ function recordPosition(c) {
1221
+ newPositionMap.set(c, c.el.getBoundingClientRect());
1222
+ }
1223
+ function applyTranslation(c) {
1224
+ const oldPos = positionMap.get(c);
1225
+ const newPos = newPositionMap.get(c);
1226
+ const dx = oldPos.left - newPos.left;
1227
+ const dy = oldPos.top - newPos.top;
1228
+ if (dx || dy) {
1229
+ const s = c.el.style;
1230
+ s.transform = s.webkitTransform = `translate(${dx}px,${dy}px)`;
1231
+ s.transitionDuration = "0s";
1232
+ return c;
1233
+ }
1234
+ }
1235
+ function hasCSSTransform(el, root, moveClass) {
1236
+ const clone = el.cloneNode();
1237
+ const _vtc = el[vtcKey];
1238
+ if (_vtc) {
1239
+ _vtc.forEach((cls) => {
1240
+ cls.split(/\s+/).forEach((c) => c && clone.classList.remove(c));
1241
+ });
1242
+ }
1243
+ moveClass.split(/\s+/).forEach((c) => c && clone.classList.add(c));
1244
+ clone.style.display = "none";
1245
+ const container = root.nodeType === 1 ? root : root.parentNode;
1246
+ container.appendChild(clone);
1247
+ const { hasTransform } = getTransitionInfo(clone);
1248
+ container.removeChild(clone);
1249
+ return hasTransform;
1250
+ }
1251
+
1252
+ const getModelAssigner = (vnode) => {
1253
+ const fn = vnode.props["onUpdate:modelValue"] || false;
1254
+ return shared.isArray(fn) ? (value) => shared.invokeArrayFns(fn, value) : fn;
1255
+ };
1256
+ function onCompositionStart(e) {
1257
+ e.target.composing = true;
1258
+ }
1259
+ function onCompositionEnd(e) {
1260
+ const target = e.target;
1261
+ if (target.composing) {
1262
+ target.composing = false;
1263
+ target.dispatchEvent(new Event("input"));
1264
+ }
1265
+ }
1266
+ const assignKey = Symbol("_assign");
1267
+ const vModelText = {
1268
+ created(el, { modifiers: { lazy, trim, number } }, vnode) {
1269
+ el[assignKey] = getModelAssigner(vnode);
1270
+ const castToNumber = number || vnode.props && vnode.props.type === "number";
1271
+ addEventListener(el, lazy ? "change" : "input", (e) => {
1272
+ if (e.target.composing) return;
1273
+ let domValue = el.value;
1274
+ if (trim) {
1275
+ domValue = domValue.trim();
1276
+ }
1277
+ if (castToNumber) {
1278
+ domValue = shared.looseToNumber(domValue);
1279
+ }
1280
+ el[assignKey](domValue);
1281
+ });
1282
+ if (trim) {
1283
+ addEventListener(el, "change", () => {
1284
+ el.value = el.value.trim();
1285
+ });
1286
+ }
1287
+ if (!lazy) {
1288
+ addEventListener(el, "compositionstart", onCompositionStart);
1289
+ addEventListener(el, "compositionend", onCompositionEnd);
1290
+ addEventListener(el, "change", onCompositionEnd);
1291
+ }
1292
+ },
1293
+ // set value on mounted so it's after min/max for type="range"
1294
+ mounted(el, { value }) {
1295
+ el.value = value == null ? "" : value;
1296
+ },
1297
+ beforeUpdate(el, { value, oldValue, modifiers: { lazy, trim, number } }, vnode) {
1298
+ el[assignKey] = getModelAssigner(vnode);
1299
+ if (el.composing) return;
1300
+ const elValue = (number || el.type === "number") && !/^0\d/.test(el.value) ? shared.looseToNumber(el.value) : el.value;
1301
+ const newValue = value == null ? "" : value;
1302
+ if (elValue === newValue) {
1303
+ return;
1304
+ }
1305
+ if (document.activeElement === el && el.type !== "range") {
1306
+ if (lazy && value === oldValue) {
1307
+ return;
1308
+ }
1309
+ if (trim && el.value.trim() === newValue) {
1310
+ return;
1311
+ }
1312
+ }
1313
+ el.value = newValue;
1314
+ }
1315
+ };
1316
+ const vModelCheckbox = {
1317
+ // #4096 array checkboxes need to be deep traversed
1318
+ deep: true,
1319
+ created(el, _, vnode) {
1320
+ el[assignKey] = getModelAssigner(vnode);
1321
+ addEventListener(el, "change", () => {
1322
+ const modelValue = el._modelValue;
1323
+ const elementValue = getValue(el);
1324
+ const checked = el.checked;
1325
+ const assign = el[assignKey];
1326
+ if (shared.isArray(modelValue)) {
1327
+ const index = shared.looseIndexOf(modelValue, elementValue);
1328
+ const found = index !== -1;
1329
+ if (checked && !found) {
1330
+ assign(modelValue.concat(elementValue));
1331
+ } else if (!checked && found) {
1332
+ const filtered = [...modelValue];
1333
+ filtered.splice(index, 1);
1334
+ assign(filtered);
1335
+ }
1336
+ } else if (shared.isSet(modelValue)) {
1337
+ const cloned = new Set(modelValue);
1338
+ if (checked) {
1339
+ cloned.add(elementValue);
1340
+ } else {
1341
+ cloned.delete(elementValue);
1342
+ }
1343
+ assign(cloned);
1344
+ } else {
1345
+ assign(getCheckboxValue(el, checked));
1346
+ }
1347
+ });
1348
+ },
1349
+ // set initial checked on mount to wait for true-value/false-value
1350
+ mounted: setChecked,
1351
+ beforeUpdate(el, binding, vnode) {
1352
+ el[assignKey] = getModelAssigner(vnode);
1353
+ setChecked(el, binding, vnode);
1354
+ }
1355
+ };
1356
+ function setChecked(el, { value, oldValue }, vnode) {
1357
+ el._modelValue = value;
1358
+ let checked;
1359
+ if (shared.isArray(value)) {
1360
+ checked = shared.looseIndexOf(value, vnode.props.value) > -1;
1361
+ } else if (shared.isSet(value)) {
1362
+ checked = value.has(vnode.props.value);
1363
+ } else {
1364
+ if (value === oldValue) return;
1365
+ checked = shared.looseEqual(value, getCheckboxValue(el, true));
1366
+ }
1367
+ if (el.checked !== checked) {
1368
+ el.checked = checked;
1369
+ }
1370
+ }
1371
+ const vModelRadio = {
1372
+ created(el, { value }, vnode) {
1373
+ el.checked = shared.looseEqual(value, vnode.props.value);
1374
+ el[assignKey] = getModelAssigner(vnode);
1375
+ addEventListener(el, "change", () => {
1376
+ el[assignKey](getValue(el));
1377
+ });
1378
+ },
1379
+ beforeUpdate(el, { value, oldValue }, vnode) {
1380
+ el[assignKey] = getModelAssigner(vnode);
1381
+ if (value !== oldValue) {
1382
+ el.checked = shared.looseEqual(value, vnode.props.value);
1383
+ }
1384
+ }
1385
+ };
1386
+ const vModelSelect = {
1387
+ // <select multiple> value need to be deep traversed
1388
+ deep: true,
1389
+ created(el, { value, modifiers: { number } }, vnode) {
1390
+ const isSetModel = shared.isSet(value);
1391
+ addEventListener(el, "change", () => {
1392
+ const selectedVal = Array.prototype.filter.call(el.options, (o) => o.selected).map(
1393
+ (o) => number ? shared.looseToNumber(getValue(o)) : getValue(o)
1394
+ );
1395
+ el[assignKey](
1396
+ el.multiple ? isSetModel ? new Set(selectedVal) : selectedVal : selectedVal[0]
1397
+ );
1398
+ el._assigning = true;
1399
+ runtimeCore.nextTick(() => {
1400
+ el._assigning = false;
1401
+ });
1402
+ });
1403
+ el[assignKey] = getModelAssigner(vnode);
1404
+ },
1405
+ // set value in mounted & updated because <select> relies on its children
1406
+ // <option>s.
1407
+ mounted(el, { value }) {
1408
+ setSelected(el, value);
1409
+ },
1410
+ beforeUpdate(el, _binding, vnode) {
1411
+ el[assignKey] = getModelAssigner(vnode);
1412
+ },
1413
+ updated(el, { value }) {
1414
+ if (!el._assigning) {
1415
+ setSelected(el, value);
1416
+ }
1417
+ }
1418
+ };
1419
+ function setSelected(el, value) {
1420
+ const isMultiple = el.multiple;
1421
+ const isArrayValue = shared.isArray(value);
1422
+ if (isMultiple && !isArrayValue && !shared.isSet(value)) {
1423
+ return;
1424
+ }
1425
+ for (let i = 0, l = el.options.length; i < l; i++) {
1426
+ const option = el.options[i];
1427
+ const optionValue = getValue(option);
1428
+ if (isMultiple) {
1429
+ if (isArrayValue) {
1430
+ const optionType = typeof optionValue;
1431
+ if (optionType === "string" || optionType === "number") {
1432
+ option.selected = value.some((v) => String(v) === String(optionValue));
1433
+ } else {
1434
+ option.selected = shared.looseIndexOf(value, optionValue) > -1;
1435
+ }
1436
+ } else {
1437
+ option.selected = value.has(optionValue);
1438
+ }
1439
+ } else if (shared.looseEqual(getValue(option), value)) {
1440
+ if (el.selectedIndex !== i) el.selectedIndex = i;
1441
+ return;
1442
+ }
1443
+ }
1444
+ if (!isMultiple && el.selectedIndex !== -1) {
1445
+ el.selectedIndex = -1;
1446
+ }
1447
+ }
1448
+ function getValue(el) {
1449
+ return "_value" in el ? el._value : el.value;
1450
+ }
1451
+ function getCheckboxValue(el, checked) {
1452
+ const key = checked ? "_trueValue" : "_falseValue";
1453
+ return key in el ? el[key] : checked;
1454
+ }
1455
+ const vModelDynamic = {
1456
+ created(el, binding, vnode) {
1457
+ callModelHook(el, binding, vnode, null, "created");
1458
+ },
1459
+ mounted(el, binding, vnode) {
1460
+ callModelHook(el, binding, vnode, null, "mounted");
1461
+ },
1462
+ beforeUpdate(el, binding, vnode, prevVNode) {
1463
+ callModelHook(el, binding, vnode, prevVNode, "beforeUpdate");
1464
+ },
1465
+ updated(el, binding, vnode, prevVNode) {
1466
+ callModelHook(el, binding, vnode, prevVNode, "updated");
1467
+ }
1468
+ };
1469
+ function resolveDynamicModel(tagName, type) {
1470
+ switch (tagName) {
1471
+ case "SELECT":
1472
+ return vModelSelect;
1473
+ case "TEXTAREA":
1474
+ return vModelText;
1475
+ default:
1476
+ switch (type) {
1477
+ case "checkbox":
1478
+ return vModelCheckbox;
1479
+ case "radio":
1480
+ return vModelRadio;
1481
+ default:
1482
+ return vModelText;
1483
+ }
1484
+ }
1485
+ }
1486
+ function callModelHook(el, binding, vnode, prevVNode, hook) {
1487
+ const modelToUse = resolveDynamicModel(
1488
+ el.tagName,
1489
+ vnode.props && vnode.props.type
1490
+ );
1491
+ const fn = modelToUse[hook];
1492
+ fn && fn(el, binding, vnode, prevVNode);
1493
+ }
1494
+ function initVModelForSSR() {
1495
+ vModelText.getSSRProps = ({ value }) => ({ value });
1496
+ vModelRadio.getSSRProps = ({ value }, vnode) => {
1497
+ if (vnode.props && shared.looseEqual(vnode.props.value, value)) {
1498
+ return { checked: true };
1499
+ }
1500
+ };
1501
+ vModelCheckbox.getSSRProps = ({ value }, vnode) => {
1502
+ if (shared.isArray(value)) {
1503
+ if (vnode.props && shared.looseIndexOf(value, vnode.props.value) > -1) {
1504
+ return { checked: true };
1505
+ }
1506
+ } else if (shared.isSet(value)) {
1507
+ if (vnode.props && value.has(vnode.props.value)) {
1508
+ return { checked: true };
1509
+ }
1510
+ } else if (value) {
1511
+ return { checked: true };
1512
+ }
1513
+ };
1514
+ vModelDynamic.getSSRProps = (binding, vnode) => {
1515
+ if (typeof vnode.type !== "string") {
1516
+ return;
1517
+ }
1518
+ const modelToUse = resolveDynamicModel(
1519
+ // resolveDynamicModel expects an uppercase tag name, but vnode.type is lowercase
1520
+ vnode.type.toUpperCase(),
1521
+ vnode.props && vnode.props.type
1522
+ );
1523
+ if (modelToUse.getSSRProps) {
1524
+ return modelToUse.getSSRProps(binding, vnode);
1525
+ }
1526
+ };
1527
+ }
1528
+
1529
+ const systemModifiers = ["ctrl", "shift", "alt", "meta"];
1530
+ const modifierGuards = {
1531
+ stop: (e) => e.stopPropagation(),
1532
+ prevent: (e) => e.preventDefault(),
1533
+ self: (e) => e.target !== e.currentTarget,
1534
+ ctrl: (e) => !e.ctrlKey,
1535
+ shift: (e) => !e.shiftKey,
1536
+ alt: (e) => !e.altKey,
1537
+ meta: (e) => !e.metaKey,
1538
+ left: (e) => "button" in e && e.button !== 0,
1539
+ middle: (e) => "button" in e && e.button !== 1,
1540
+ right: (e) => "button" in e && e.button !== 2,
1541
+ exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
1542
+ };
1543
+ const withModifiers = (fn, modifiers) => {
1544
+ const cache = fn._withMods || (fn._withMods = {});
1545
+ const cacheKey = modifiers.join(".");
1546
+ return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
1547
+ for (let i = 0; i < modifiers.length; i++) {
1548
+ const guard = modifierGuards[modifiers[i]];
1549
+ if (guard && guard(event, modifiers)) return;
1550
+ }
1551
+ return fn(event, ...args);
1552
+ });
1553
+ };
1554
+ const keyNames = {
1555
+ esc: "escape",
1556
+ space: " ",
1557
+ up: "arrow-up",
1558
+ left: "arrow-left",
1559
+ right: "arrow-right",
1560
+ down: "arrow-down",
1561
+ delete: "backspace"
1562
+ };
1563
+ const withKeys = (fn, modifiers) => {
1564
+ const cache = fn._withKeys || (fn._withKeys = {});
1565
+ const cacheKey = modifiers.join(".");
1566
+ return cache[cacheKey] || (cache[cacheKey] = (event) => {
1567
+ if (!("key" in event)) {
1568
+ return;
1569
+ }
1570
+ const eventKey = shared.hyphenate(event.key);
1571
+ if (modifiers.some(
1572
+ (k) => k === eventKey || keyNames[k] === eventKey
1573
+ )) {
1574
+ return fn(event);
1575
+ }
1576
+ });
1577
+ };
1578
+
1579
+ const rendererOptions = /* @__PURE__ */ shared.extend({ patchProp }, nodeOps);
1580
+ let renderer;
1581
+ let enabledHydration = false;
1582
+ function ensureRenderer() {
1583
+ return renderer || (renderer = runtimeCore.createRenderer(rendererOptions));
1584
+ }
1585
+ function ensureHydrationRenderer() {
1586
+ renderer = enabledHydration ? renderer : runtimeCore.createHydrationRenderer(rendererOptions);
1587
+ enabledHydration = true;
1588
+ return renderer;
1589
+ }
1590
+ const render = (...args) => {
1591
+ ensureRenderer().render(...args);
1592
+ };
1593
+ const hydrate = (...args) => {
1594
+ ensureHydrationRenderer().hydrate(...args);
1595
+ };
1596
+ const createApp = (...args) => {
1597
+ const app = ensureRenderer().createApp(...args);
1598
+ const { mount } = app;
1599
+ app.mount = (containerOrSelector) => {
1600
+ const container = normalizeContainer(containerOrSelector);
1601
+ if (!container) return;
1602
+ const component = app._component;
1603
+ if (!shared.isFunction(component) && !component.render && !component.template) {
1604
+ component.template = container.innerHTML;
1605
+ }
1606
+ if (container.nodeType === 1) {
1607
+ container.textContent = "";
1608
+ }
1609
+ const proxy = mount(container, false, resolveRootNamespace(container));
1610
+ if (container instanceof Element) {
1611
+ container.removeAttribute("v-cloak");
1612
+ container.setAttribute("data-v-app", "");
1613
+ }
1614
+ return proxy;
1615
+ };
1616
+ return app;
1617
+ };
1618
+ const createSSRApp = (...args) => {
1619
+ const app = ensureHydrationRenderer().createApp(...args);
1620
+ const { mount } = app;
1621
+ app.mount = (containerOrSelector) => {
1622
+ const container = normalizeContainer(containerOrSelector);
1623
+ if (container) {
1624
+ return mount(container, true, resolveRootNamespace(container));
1625
+ }
1626
+ };
1627
+ return app;
1628
+ };
1629
+ function resolveRootNamespace(container) {
1630
+ if (container instanceof SVGElement) {
1631
+ return "svg";
1632
+ }
1633
+ if (typeof MathMLElement === "function" && container instanceof MathMLElement) {
1634
+ return "mathml";
1635
+ }
1636
+ }
1637
+ function normalizeContainer(container) {
1638
+ if (shared.isString(container)) {
1639
+ const res = document.querySelector(container);
1640
+ return res;
1641
+ }
1642
+ return container;
1643
+ }
1644
+ let ssrDirectiveInitialized = false;
1645
+ const initDirectivesForSSR = () => {
1646
+ if (!ssrDirectiveInitialized) {
1647
+ ssrDirectiveInitialized = true;
1648
+ initVModelForSSR();
1649
+ initVShowForSSR();
1650
+ }
1651
+ } ;
1652
+
1653
+ exports.Transition = Transition;
1654
+ exports.TransitionGroup = TransitionGroup;
1655
+ exports.VueElement = VueElement;
1656
+ exports.createApp = createApp;
1657
+ exports.createSSRApp = createSSRApp;
1658
+ exports.defineCustomElement = defineCustomElement;
1659
+ exports.defineSSRCustomElement = defineSSRCustomElement;
1660
+ exports.hydrate = hydrate;
1661
+ exports.initDirectivesForSSR = initDirectivesForSSR;
1662
+ exports.render = render;
1663
+ exports.useCssModule = useCssModule;
1664
+ exports.useCssVars = useCssVars;
1665
+ exports.useHost = useHost;
1666
+ exports.useShadowRoot = useShadowRoot;
1667
+ exports.vModelCheckbox = vModelCheckbox;
1668
+ exports.vModelDynamic = vModelDynamic;
1669
+ exports.vModelRadio = vModelRadio;
1670
+ exports.vModelSelect = vModelSelect;
1671
+ exports.vModelText = vModelText;
1672
+ exports.vShow = vShow;
1673
+ exports.withKeys = withKeys;
1674
+ exports.withModifiers = withModifiers;
1675
+ Object.keys(runtimeCore).forEach(function (k) {
1676
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = runtimeCore[k];
1677
+ });