@popcraft/kit 2.0.1 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2648) hide show
  1. package/dist/chunks/agent-TSLSDIZ7.js +44 -0
  2. package/dist/chunks/builtin-H6YOIATP.js +121 -0
  3. package/dist/chunks/buy-credits-JFWH2FVN.js +80 -0
  4. package/dist/chunks/check-template-VFEXYV4M.js +2413 -0
  5. package/dist/chunks/chunk-22F7EPVX.js +172 -0
  6. package/dist/chunks/chunk-22KJ3JZL.js +270 -0
  7. package/dist/chunks/chunk-235FEKZK.js +135 -0
  8. package/dist/chunks/chunk-23OUPS7W.js +33 -0
  9. package/dist/chunks/chunk-25PISO2F.js +23 -0
  10. package/dist/chunks/chunk-2BKPA6Y4.js +282 -0
  11. package/dist/chunks/chunk-2FGIORXE.js +210 -0
  12. package/dist/chunks/chunk-2G7XPWMP.js +239 -0
  13. package/dist/chunks/chunk-2IX5ZIH6.js +84 -0
  14. package/dist/chunks/chunk-2LBRUUPE.js +198 -0
  15. package/dist/chunks/chunk-2LOXSABB.js +89 -0
  16. package/dist/chunks/chunk-2LQELHXE.js +152 -0
  17. package/dist/chunks/chunk-2MLPQPYI.js +225 -0
  18. package/dist/chunks/chunk-2MYE2LS3.js +104 -0
  19. package/dist/chunks/chunk-2NAHHBYS.js +258 -0
  20. package/dist/chunks/chunk-2OQZUCPX.js +75 -0
  21. package/dist/chunks/chunk-2PKIXGRF.js +23 -0
  22. package/dist/chunks/chunk-2PUOT7D7.js +23 -0
  23. package/dist/chunks/chunk-2Q2RQ6GW.js +140 -0
  24. package/dist/chunks/chunk-2QVNKB4B.js +55 -0
  25. package/dist/chunks/chunk-2RFZTHNF.js +41 -0
  26. package/dist/chunks/chunk-2RGKPXH2.js +338 -0
  27. package/dist/chunks/chunk-2W3JZOAF.js +33 -0
  28. package/dist/chunks/chunk-2YJGU3KV.js +152 -0
  29. package/dist/chunks/chunk-2YSZ7YDC.js +250 -0
  30. package/dist/chunks/chunk-2ZPQT6WR.js +131 -0
  31. package/dist/chunks/chunk-325D2VTB.js +84 -0
  32. package/dist/chunks/chunk-33LZDK5M.js +115 -0
  33. package/dist/chunks/chunk-355O4WLG.js +168 -0
  34. package/dist/chunks/chunk-35BBAOTL.js +165 -0
  35. package/dist/chunks/chunk-36SCCSEM.js +247 -0
  36. package/dist/chunks/chunk-3AKH5JDC.js +54 -0
  37. package/dist/chunks/chunk-3BRSTTBH.js +777 -0
  38. package/dist/chunks/chunk-3BYZEUZ3.js +23 -0
  39. package/dist/chunks/chunk-3C3JKOXN.js +153 -0
  40. package/dist/chunks/chunk-3C623QFF.js +23 -0
  41. package/dist/chunks/chunk-3IF2EY7N.js +23 -0
  42. package/dist/chunks/chunk-3INKHOQC.js +146 -0
  43. package/dist/chunks/chunk-3IVTLWWG.js +218 -0
  44. package/dist/chunks/chunk-3JOTA7EB.js +1419 -0
  45. package/dist/chunks/chunk-3NDSXFU2.js +23 -0
  46. package/dist/chunks/chunk-3NLSCMZW.js +74 -0
  47. package/dist/chunks/chunk-3NPBD6AS.js +121 -0
  48. package/dist/chunks/chunk-3NT5PMWJ.js +23 -0
  49. package/dist/chunks/chunk-3OHYWADH.js +170 -0
  50. package/dist/chunks/chunk-3QJCMOGK.js +106 -0
  51. package/dist/chunks/chunk-3RTFJ6PY.js +47 -0
  52. package/dist/chunks/chunk-3S7LAQFC.js +80 -0
  53. package/dist/chunks/chunk-3SPKZSYF.js +135 -0
  54. package/dist/chunks/chunk-3TACXVZV.js +77 -0
  55. package/dist/chunks/chunk-3TP7DUPG.js +191 -0
  56. package/dist/chunks/chunk-3VM5BRMC.js +95 -0
  57. package/dist/chunks/chunk-3YDD45FM.js +90 -0
  58. package/dist/chunks/chunk-3YICBU43.js +234 -0
  59. package/dist/chunks/chunk-3YONJZXI.js +121 -0
  60. package/dist/chunks/chunk-3YSCPNDM.js +215 -0
  61. package/dist/chunks/chunk-3YXONWIJ.js +91 -0
  62. package/dist/chunks/chunk-444FZ7QE.js +185 -0
  63. package/dist/chunks/chunk-45IX6H4R.js +206 -0
  64. package/dist/chunks/chunk-4ABKTEOV.js +111 -0
  65. package/dist/chunks/chunk-4BCVARIN.js +82 -0
  66. package/dist/chunks/chunk-4ID6VIDT.js +174 -0
  67. package/dist/chunks/chunk-4ISDJG43.js +23 -0
  68. package/dist/chunks/chunk-4J76WO5T.js +163 -0
  69. package/dist/chunks/chunk-4JBKMOSA.js +33 -0
  70. package/dist/chunks/chunk-4KP4OZWA.js +262 -0
  71. package/dist/chunks/chunk-4LFZGFPQ.js +320 -0
  72. package/dist/chunks/chunk-4LKYD4XB.js +197 -0
  73. package/dist/chunks/chunk-4LSVSFRI.js +49 -0
  74. package/dist/chunks/chunk-4NEKRODJ.js +102 -0
  75. package/dist/chunks/chunk-4NFBAFW6.js +189 -0
  76. package/dist/chunks/chunk-4NPNWZMA.js +159 -0
  77. package/dist/chunks/chunk-4ONQ7YOK.js +123 -0
  78. package/dist/chunks/chunk-4QAZMJ5Z.js +88 -0
  79. package/dist/chunks/chunk-4S3KLOPA.js +166 -0
  80. package/dist/chunks/chunk-4SAGDNBJ.js +106 -0
  81. package/dist/chunks/chunk-4SLOWKGS.js +94 -0
  82. package/dist/chunks/chunk-4SX3ZZX7.js +180 -0
  83. package/dist/chunks/chunk-4TGLGW3X.js +153 -0
  84. package/dist/chunks/chunk-4TSMYNCF.js +224 -0
  85. package/dist/chunks/chunk-4TSXXYYE.js +422 -0
  86. package/dist/chunks/chunk-4V4CIANZ.js +97 -0
  87. package/dist/chunks/chunk-4WTOALP4.js +101 -0
  88. package/dist/chunks/chunk-4XBJA2NU.js +36 -0
  89. package/dist/chunks/chunk-4XL6STAO.js +78 -0
  90. package/dist/chunks/chunk-4XTFD5BC.js +77 -0
  91. package/dist/chunks/chunk-4XVR2ZWY.js +33 -0
  92. package/dist/chunks/chunk-4Y3BWUBH.js +23 -0
  93. package/dist/chunks/chunk-4Y4GZHUB.js +92 -0
  94. package/dist/chunks/chunk-4YSL6MDN.js +312 -0
  95. package/dist/chunks/chunk-4ZMSAPTD.js +122 -0
  96. package/dist/chunks/chunk-52H7XQSY.js +378 -0
  97. package/dist/chunks/chunk-52ISSBB2.js +23 -0
  98. package/dist/chunks/chunk-52NCJHSX.js +36 -0
  99. package/dist/chunks/chunk-54YT4UBV.js +197 -0
  100. package/dist/chunks/chunk-56Z5S2H3.js +77 -0
  101. package/dist/chunks/chunk-57HS45KP.js +214 -0
  102. package/dist/chunks/chunk-5AABYA2Q.js +81 -0
  103. package/dist/chunks/chunk-5BSKHZL5.js +290 -0
  104. package/dist/chunks/chunk-5GIP3ZC5.js +23 -0
  105. package/dist/chunks/chunk-5HQKCBJY.js +128 -0
  106. package/dist/chunks/chunk-5I2HWOFO.js +172 -0
  107. package/dist/chunks/chunk-5IMOKCRL.js +55 -0
  108. package/dist/chunks/chunk-5JXKH2PJ.js +197 -0
  109. package/dist/chunks/chunk-5LAGG32N.js +115 -0
  110. package/dist/chunks/chunk-5MAU4MW2.js +237 -0
  111. package/dist/chunks/chunk-5NWEWIKW.js +81 -0
  112. package/dist/chunks/chunk-5QEWPMQN.js +97 -0
  113. package/dist/chunks/chunk-5QW2KWH5.js +80 -0
  114. package/dist/chunks/chunk-5RH44KS3.js +206 -0
  115. package/dist/chunks/chunk-5TGZDBRL.js +55 -0
  116. package/dist/chunks/chunk-5XHC5QXQ.js +183 -0
  117. package/dist/chunks/chunk-63AZPKZY.js +113 -0
  118. package/dist/chunks/chunk-63DMJTBC.js +390 -0
  119. package/dist/chunks/chunk-66EUO47D.js +274 -0
  120. package/dist/chunks/chunk-66FTYOPY.js +889 -0
  121. package/dist/chunks/chunk-67S2TFAZ.js +108 -0
  122. package/dist/chunks/chunk-6A24MSQG.js +33 -0
  123. package/dist/chunks/chunk-6AKTTKMG.js +80 -0
  124. package/dist/chunks/chunk-6BHXTA3Q.js +96 -0
  125. package/dist/chunks/chunk-6D3OV6IZ.js +69 -0
  126. package/dist/chunks/chunk-6EG6J2P6.js +94 -0
  127. package/dist/chunks/chunk-6F467OQG.js +118 -0
  128. package/dist/chunks/chunk-6FYR3LXN.js +106 -0
  129. package/dist/chunks/chunk-6GMHMYZ2.js +23 -0
  130. package/dist/chunks/chunk-6HGWZM2J.js +89 -0
  131. package/dist/chunks/chunk-6JCHPGNL.js +265 -0
  132. package/dist/chunks/chunk-6LX4QTGY.js +33 -0
  133. package/dist/chunks/chunk-6MXPW2VC.js +106 -0
  134. package/dist/chunks/chunk-6R6AFZWK.js +97 -0
  135. package/dist/chunks/chunk-6UVXJ7F4.js +30 -0
  136. package/dist/chunks/chunk-6XT4SR2D.js +155 -0
  137. package/dist/chunks/chunk-6Z3G6CE4.js +71 -0
  138. package/dist/chunks/chunk-6Z5AE6UQ.js +231 -0
  139. package/dist/chunks/chunk-6Z6JN2HB.js +23 -0
  140. package/dist/chunks/chunk-75QDBS6R.js +149 -0
  141. package/dist/chunks/chunk-7AEK44HQ.js +41 -0
  142. package/dist/chunks/chunk-7BNKFBTW.js +161 -0
  143. package/dist/chunks/chunk-7CYLOIOR.js +120 -0
  144. package/dist/chunks/chunk-7D2JIX5U.js +101 -0
  145. package/dist/chunks/chunk-7EJGSZY5.js +462 -0
  146. package/dist/chunks/chunk-7ILLYRJB.js +99 -0
  147. package/dist/chunks/chunk-7J6LG54K.js +277 -0
  148. package/dist/chunks/chunk-7KX55PR3.js +166 -0
  149. package/dist/chunks/chunk-7MXXUPXE.js +361 -0
  150. package/dist/chunks/chunk-7N6GIZ2U.js +45 -0
  151. package/dist/chunks/chunk-7NITLL3X.js +209 -0
  152. package/dist/chunks/chunk-7NU2LVIW.js +181 -0
  153. package/dist/chunks/chunk-7NZQ6ZNS.js +130 -0
  154. package/dist/chunks/chunk-7T5DGKE2.js +23 -0
  155. package/dist/chunks/chunk-7TA6UP6H.js +97 -0
  156. package/dist/chunks/chunk-7TXRRPVP.js +114 -0
  157. package/dist/chunks/chunk-7UR2AVH6.js +231 -0
  158. package/dist/chunks/chunk-7VZNAJDE.js +127 -0
  159. package/dist/chunks/chunk-7Y3N4NZJ.js +108 -0
  160. package/dist/chunks/chunk-A3NYPXQB.js +122 -0
  161. package/dist/chunks/chunk-A7TBWA7W.js +191 -0
  162. package/dist/chunks/chunk-ABINQ255.js +187 -0
  163. package/dist/chunks/chunk-AC6NUJPA.js +87 -0
  164. package/dist/chunks/chunk-ACXNAMGE.js +217 -0
  165. package/dist/chunks/chunk-AE7Z2AWZ.js +346 -0
  166. package/dist/chunks/chunk-AFSFS2OI.js +90 -0
  167. package/dist/chunks/chunk-AHUA6SPE.js +38 -0
  168. package/dist/chunks/chunk-AIN4X4H3.js +41 -0
  169. package/dist/chunks/chunk-AIRXT2AD.js +71 -0
  170. package/dist/chunks/chunk-AJGGGIWQ.js +52 -0
  171. package/dist/chunks/chunk-AK7UJ6CK.js +257 -0
  172. package/dist/chunks/chunk-AKXA2UD3.js +97 -0
  173. package/dist/chunks/chunk-AL75JJYB.js +77 -0
  174. package/dist/chunks/chunk-AM4KEFB2.js +133 -0
  175. package/dist/chunks/chunk-ANC7YPKQ.js +157 -0
  176. package/dist/chunks/chunk-ANHRRLQ5.js +78 -0
  177. package/dist/chunks/chunk-AOQSFWM6.js +10311 -0
  178. package/dist/chunks/chunk-APVMCNFK.js +47 -0
  179. package/dist/chunks/chunk-AQ36XI6S.js +76 -0
  180. package/dist/chunks/chunk-ARAK3JWY.js +157 -0
  181. package/dist/chunks/chunk-ARP35JOS.js +1136 -0
  182. package/dist/chunks/chunk-ASD2QKKQ.js +45 -0
  183. package/dist/chunks/chunk-ASEZAAT2.js +217 -0
  184. package/dist/chunks/chunk-ATNUI5G2.js +342 -0
  185. package/dist/chunks/chunk-ATYZR3TG.js +626 -0
  186. package/dist/chunks/chunk-AVR3I67Z.js +33 -0
  187. package/dist/chunks/chunk-AVYZ66I7.js +303 -0
  188. package/dist/chunks/chunk-AW3NMN6C.js +410 -0
  189. package/dist/chunks/chunk-AWSUAGTZ.js +329 -0
  190. package/dist/chunks/chunk-AX6BRMJK.js +276 -0
  191. package/dist/chunks/chunk-AYLIUYXK.js +95 -0
  192. package/dist/chunks/chunk-B3GYGDSG.js +188 -0
  193. package/dist/chunks/chunk-B3TSSGWD.js +107 -0
  194. package/dist/chunks/chunk-B5WQ66YF.js +235 -0
  195. package/dist/chunks/chunk-B6ECJSQO.js +36 -0
  196. package/dist/chunks/chunk-B6MHGBYB.js +23 -0
  197. package/dist/chunks/chunk-BAMAOKNK.js +91 -0
  198. package/dist/chunks/chunk-BBCSYOHW.js +95 -0
  199. package/dist/chunks/chunk-BBN7V7TM.js +33 -0
  200. package/dist/chunks/chunk-BCCXENQK.js +94 -0
  201. package/dist/chunks/chunk-BDBV7IFG.js +194 -0
  202. package/dist/chunks/chunk-BDGPZDRM.js +140 -0
  203. package/dist/chunks/chunk-BELNTFRN.js +159 -0
  204. package/dist/chunks/chunk-BFDN4WOF.js +232 -0
  205. package/dist/chunks/chunk-BJGEGGQH.js +684 -0
  206. package/dist/chunks/chunk-BKDJXEUD.js +1845 -0
  207. package/dist/chunks/chunk-BL3DKSHQ.js +111 -0
  208. package/dist/chunks/chunk-BMMWBGH6.js +174 -0
  209. package/dist/chunks/chunk-BPHEJQP7.js +87 -0
  210. package/dist/chunks/chunk-BQ7ISNFW.js +172 -0
  211. package/dist/chunks/chunk-BUPCT2ZO.js +244 -0
  212. package/dist/chunks/chunk-BVVWI2W2.js +152 -0
  213. package/dist/chunks/chunk-BWM5I6T7.js +146 -0
  214. package/dist/chunks/chunk-BYEJQ35G.js +163 -0
  215. package/dist/chunks/chunk-C2DMIEQB.js +100 -0
  216. package/dist/chunks/chunk-C2Y4FS3O.js +123 -0
  217. package/dist/chunks/chunk-C4Z6XOH2.js +66 -0
  218. package/dist/chunks/chunk-C6X2LYLT.js +119 -0
  219. package/dist/chunks/chunk-C7CKP2D3.js +112 -0
  220. package/dist/chunks/chunk-C7GBJS24.js +152 -0
  221. package/dist/chunks/chunk-C7SYL5YW.js +168 -0
  222. package/dist/chunks/chunk-C7WYBNAG.js +139 -0
  223. package/dist/chunks/chunk-CBXOZOD6.js +84 -0
  224. package/dist/chunks/chunk-CCFW3NHS.js +190 -0
  225. package/dist/chunks/chunk-CEMTTNYZ.js +150 -0
  226. package/dist/chunks/chunk-CF6WBRWU.js +283 -0
  227. package/dist/chunks/chunk-CFLETTFC.js +112 -0
  228. package/dist/chunks/chunk-CGDZZTXM.js +270 -0
  229. package/dist/chunks/chunk-CLT2CPOR.js +199 -0
  230. package/dist/chunks/chunk-CN4NSN5T.js +71 -0
  231. package/dist/chunks/chunk-CP4OXO2E.js +110 -0
  232. package/dist/chunks/chunk-CP56EIVS.js +23 -0
  233. package/dist/chunks/chunk-CPQ3QQAM.js +260 -0
  234. package/dist/chunks/chunk-CTRJP5UA.js +190 -0
  235. package/dist/chunks/chunk-CV5M7GBY.js +326 -0
  236. package/dist/chunks/chunk-CVNPMUA3.js +115 -0
  237. package/dist/chunks/chunk-CWK2C7VF.js +176 -0
  238. package/dist/chunks/chunk-CXJIKBFI.js +97 -0
  239. package/dist/chunks/chunk-CYBIAZCA.js +151 -0
  240. package/dist/chunks/chunk-CYRYQLHD.js +179 -0
  241. package/dist/chunks/chunk-CZ5UEKR2.js +283 -0
  242. package/dist/chunks/chunk-CZ6P3YBE.js +133 -0
  243. package/dist/chunks/chunk-D2EO535O.js +375 -0
  244. package/dist/chunks/chunk-D4G2FZHO.js +33 -0
  245. package/dist/chunks/chunk-D4NGIS4E.js +194 -0
  246. package/dist/chunks/chunk-D4NTA4HK.js +119 -0
  247. package/dist/chunks/chunk-D6OTVNKE.js +252 -0
  248. package/dist/chunks/chunk-D7C5KL3Z.js +92 -0
  249. package/dist/chunks/chunk-D7YTBTI4.js +231 -0
  250. package/dist/chunks/chunk-DB3G6FPI.js +78 -0
  251. package/dist/chunks/chunk-DC6DJOTF.js +135 -0
  252. package/dist/chunks/chunk-DCFH4M6G.js +133 -0
  253. package/dist/chunks/chunk-DF4YW3RK.js +47 -0
  254. package/dist/chunks/chunk-DFSIFWIO.js +127 -0
  255. package/dist/chunks/chunk-DGRCX4VF.js +112 -0
  256. package/dist/chunks/chunk-DHMAWUZF.js +91 -0
  257. package/dist/chunks/chunk-DHQGPRGS.js +65 -0
  258. package/dist/chunks/chunk-DJI3QSA5.js +287 -0
  259. package/dist/chunks/chunk-DKM5YJWZ.js +251 -0
  260. package/dist/chunks/chunk-DLZPRTL4.js +214 -0
  261. package/dist/chunks/chunk-DMC4TTXA.js +125 -0
  262. package/dist/chunks/chunk-DNMCO7OC.js +154 -0
  263. package/dist/chunks/chunk-DNSOYQMP.js +125 -0
  264. package/dist/chunks/chunk-DOB6UHVL.js +136 -0
  265. package/dist/chunks/chunk-DPGZGAMN.js +277 -0
  266. package/dist/chunks/chunk-DPXIHO3N.js +101 -0
  267. package/dist/chunks/chunk-DQ6DCFJW.js +117 -0
  268. package/dist/chunks/chunk-DQVYRURD.js +172 -0
  269. package/dist/chunks/chunk-DSM7BTW3.js +898 -0
  270. package/dist/chunks/chunk-DTDCIHK7.js +274 -0
  271. package/dist/chunks/chunk-DUQCVGVA.js +98 -0
  272. package/dist/chunks/chunk-DWSQANEY.js +139 -0
  273. package/dist/chunks/chunk-DXGCWLV3.js +112 -0
  274. package/dist/chunks/chunk-DYBXCHQT.js +151 -0
  275. package/dist/chunks/chunk-DZUWPAR6.js +263 -0
  276. package/dist/chunks/chunk-E2AHTGDJ.js +169 -0
  277. package/dist/chunks/chunk-E2CAA2IT.js +170 -0
  278. package/dist/chunks/chunk-E2KDHY2S.js +105 -0
  279. package/dist/chunks/chunk-E325RANG.js +80 -0
  280. package/dist/chunks/chunk-E3FMI2D5.js +358 -0
  281. package/dist/chunks/chunk-E4HJFILK.js +95 -0
  282. package/dist/chunks/chunk-E63JU2IC.js +154 -0
  283. package/dist/chunks/chunk-E6E3D5C6.js +232 -0
  284. package/dist/chunks/chunk-EF4SGQIV.js +130 -0
  285. package/dist/chunks/chunk-EFNM5MEU.js +45 -0
  286. package/dist/chunks/chunk-EFP2BOWS.js +166 -0
  287. package/dist/chunks/chunk-EJA5WPYZ.js +102 -0
  288. package/dist/chunks/chunk-EJY6GUJY.js +180 -0
  289. package/dist/chunks/chunk-EKVZURLF.js +299 -0
  290. package/dist/chunks/chunk-EMA57G3X.js +57 -0
  291. package/dist/chunks/chunk-EMMBFSU3.js +142 -0
  292. package/dist/chunks/chunk-ENCRJFHO.js +70 -0
  293. package/dist/chunks/chunk-EOFXX6RY.js +209 -0
  294. package/dist/chunks/chunk-EPQSVBY2.js +93 -0
  295. package/dist/chunks/chunk-ERMVLMCC.js +305 -0
  296. package/dist/chunks/chunk-ESUGFKTB.js +337 -0
  297. package/dist/chunks/chunk-ET4PP27Q.js +88 -0
  298. package/dist/chunks/chunk-EXGD6GG4.js +110 -0
  299. package/dist/chunks/chunk-EY3FW2CF.js +336 -0
  300. package/dist/chunks/chunk-F2ABG4UU.js +279 -0
  301. package/dist/chunks/chunk-F2EN6I5C.js +100 -0
  302. package/dist/chunks/chunk-F7NNXWRZ.js +150 -0
  303. package/dist/chunks/chunk-FBJ6SAWS.js +106 -0
  304. package/dist/chunks/chunk-FCFAJAYR.js +80 -0
  305. package/dist/chunks/chunk-FCNIZD4O.js +181 -0
  306. package/dist/chunks/chunk-FD3XIFXK.js +181 -0
  307. package/dist/chunks/chunk-FFMINBSO.js +147 -0
  308. package/dist/chunks/chunk-FGBNS4EK.js +209 -0
  309. package/dist/chunks/chunk-FGFLFP6C.js +358 -0
  310. package/dist/chunks/chunk-FHESI2IC.js +28 -0
  311. package/dist/chunks/chunk-FIDUMHOK.js +73 -0
  312. package/dist/chunks/chunk-FJP7PR4K.js +1469 -0
  313. package/dist/chunks/chunk-FKSBCSPM.js +97 -0
  314. package/dist/chunks/chunk-FLVPDRDN.js +156 -0
  315. package/dist/chunks/chunk-FMC6L2XE.js +284 -0
  316. package/dist/chunks/chunk-FMFSNMHK.js +267 -0
  317. package/dist/chunks/chunk-FN3RSPL5.js +83 -0
  318. package/dist/chunks/chunk-FNVY7WKW.js +155 -0
  319. package/dist/chunks/chunk-FO6UJPNG.js +208 -0
  320. package/dist/chunks/chunk-FQ4CWKWA.js +324 -0
  321. package/dist/chunks/chunk-FQIU5P7Y.js +106 -0
  322. package/dist/chunks/chunk-FQVG73TB.js +45 -0
  323. package/dist/chunks/chunk-FRB4LVDS.js +163 -0
  324. package/dist/chunks/chunk-FSQI5WFE.js +187 -0
  325. package/dist/chunks/chunk-FSVUPYFQ.js +33 -0
  326. package/dist/chunks/chunk-FXJKOSCN.js +59 -0
  327. package/dist/chunks/chunk-FY7YNCAL.js +85 -0
  328. package/dist/chunks/chunk-FZDCTQXH.js +84 -0
  329. package/dist/chunks/chunk-G36AY2BY.js +161 -0
  330. package/dist/chunks/chunk-G3BNYGFG.js +45 -0
  331. package/dist/chunks/chunk-G5LEQFTU.js +50 -0
  332. package/dist/chunks/chunk-G5SMD5ER.js +282 -0
  333. package/dist/chunks/chunk-G6IMCITC.js +175 -0
  334. package/dist/chunks/chunk-G7JKZHQ6.js +162 -0
  335. package/dist/chunks/chunk-GBBLW5YI.js +112 -0
  336. package/dist/chunks/chunk-GBK7GE2W.js +172 -0
  337. package/dist/chunks/chunk-GCABWNQZ.js +87 -0
  338. package/dist/chunks/chunk-GCGKGBN6.js +45 -0
  339. package/dist/chunks/chunk-GCKWFU4H.js +106 -0
  340. package/dist/chunks/chunk-GCMMCEL6.js +45 -0
  341. package/dist/chunks/chunk-GEGKV36L.js +95 -0
  342. package/dist/chunks/chunk-GFCU5X4N.js +90 -0
  343. package/dist/chunks/chunk-GIMDWCKQ.js +95 -0
  344. package/dist/chunks/chunk-GJGG2YY5.js +23 -0
  345. package/dist/chunks/chunk-GK3TICCH.js +177 -0
  346. package/dist/chunks/chunk-GKSYZ2IR.js +33 -0
  347. package/dist/chunks/chunk-GLNPCJQ4.js +91 -0
  348. package/dist/chunks/chunk-GMY4HEOJ.js +170 -0
  349. package/dist/chunks/chunk-GPG2LPJS.js +213 -0
  350. package/dist/chunks/chunk-GQBCOZYP.js +255 -0
  351. package/dist/chunks/chunk-GQD7GFT4.js +23 -0
  352. package/dist/chunks/chunk-GULRAEGN.js +115 -0
  353. package/dist/chunks/chunk-GUV4ZZYS.js +141 -0
  354. package/dist/chunks/chunk-GVS3QU5W.js +75 -0
  355. package/dist/chunks/chunk-GWE3FQXV.js +117 -0
  356. package/dist/chunks/chunk-GWSLCMSD.js +23 -0
  357. package/dist/chunks/chunk-GX4AASIE.js +63 -0
  358. package/dist/chunks/chunk-H2CIRYBJ.js +90 -0
  359. package/dist/chunks/chunk-H2HQGUDG.js +147 -0
  360. package/dist/chunks/chunk-H5H3ZPRR.js +149 -0
  361. package/dist/chunks/chunk-H6BZQ6UK.js +134 -0
  362. package/dist/chunks/chunk-HBELYGHD.js +102 -0
  363. package/dist/chunks/chunk-HC2IYOD2.js +92 -0
  364. package/dist/chunks/chunk-HCAORKTJ.js +238 -0
  365. package/dist/chunks/chunk-HDJFM4P2.js +23 -0
  366. package/dist/chunks/chunk-HDRN6QDB.js +315 -0
  367. package/dist/chunks/chunk-HDRZININ.js +149 -0
  368. package/dist/chunks/chunk-HFGFQFUE.js +83 -0
  369. package/dist/chunks/chunk-HG2Z32MP.js +162 -0
  370. package/dist/chunks/chunk-HGP3AZA6.js +85 -0
  371. package/dist/chunks/chunk-HHO5Y6CL.js +163 -0
  372. package/dist/chunks/chunk-HHXFTSND.js +330 -0
  373. package/dist/chunks/chunk-HIW6EAKH.js +99 -0
  374. package/dist/chunks/chunk-HOZ6BTHX.js +104 -0
  375. package/dist/chunks/chunk-HP52JYE2.js +33 -0
  376. package/dist/chunks/chunk-HPHQ4KKN.js +50 -0
  377. package/dist/chunks/chunk-HRXB4S66.js +102 -0
  378. package/dist/chunks/chunk-HS2OB37Z.js +13744 -0
  379. package/dist/chunks/chunk-HS2Z7QL6.js +198 -0
  380. package/dist/chunks/chunk-HSYBJYFV.js +165 -0
  381. package/dist/chunks/chunk-HU73CC64.js +106 -0
  382. package/dist/chunks/chunk-HW35MHMP.js +226 -0
  383. package/dist/chunks/chunk-HWP4LATJ.js +36 -0
  384. package/dist/chunks/chunk-HX6H6W5L.js +33 -0
  385. package/dist/chunks/chunk-HXM37GJZ.js +138 -0
  386. package/dist/chunks/chunk-HYCADEBD.js +261 -0
  387. package/dist/chunks/chunk-HZEN6T63.js +145 -0
  388. package/dist/chunks/chunk-HZVXXISD.js +33 -0
  389. package/dist/chunks/chunk-I46X2JB4.js +396 -0
  390. package/dist/chunks/chunk-I4M2MC7H.js +198 -0
  391. package/dist/chunks/chunk-I5H2XKO4.js +177 -0
  392. package/dist/chunks/chunk-I72LUTZF.js +297 -0
  393. package/dist/chunks/chunk-I742QHYK.js +33 -0
  394. package/dist/chunks/chunk-IB55G6FQ.js +228 -0
  395. package/dist/chunks/chunk-ICBRHKKT.js +320 -0
  396. package/dist/chunks/chunk-ICXXKXWI.js +100 -0
  397. package/dist/chunks/chunk-IEL6NNGC.js +108 -0
  398. package/dist/chunks/chunk-IHN3Y5LH.js +177 -0
  399. package/dist/chunks/chunk-IJ6V47OH.js +78 -0
  400. package/dist/chunks/chunk-IJHSAD5T.js +94 -0
  401. package/dist/chunks/chunk-IKQVH64B.js +53 -0
  402. package/dist/chunks/chunk-IMKXXY52.js +200 -0
  403. package/dist/chunks/chunk-INFXT3Z6.js +10754 -0
  404. package/dist/chunks/chunk-INHXJSXS.js +108 -0
  405. package/dist/chunks/chunk-IODAFC6O.js +94 -0
  406. package/dist/chunks/chunk-IT3RBOMM.js +317 -0
  407. package/dist/chunks/chunk-ITKIK6CV.js +327 -0
  408. package/dist/chunks/chunk-IV7V5VXL.js +33 -0
  409. package/dist/chunks/chunk-IWOVPQ6Y.js +80 -0
  410. package/dist/chunks/chunk-IWQC7G7G.js +129 -0
  411. package/dist/chunks/chunk-IWS7DQSK.js +130 -0
  412. package/dist/chunks/chunk-IZVCXMHQ.js +103 -0
  413. package/dist/chunks/chunk-J3GF4KOK.js +36 -0
  414. package/dist/chunks/chunk-J6HP7J5C.js +147 -0
  415. package/dist/chunks/chunk-JD2DXOW3.js +160 -0
  416. package/dist/chunks/chunk-JD6IPGZL.js +60 -0
  417. package/dist/chunks/chunk-JFFJDXHN.js +48 -0
  418. package/dist/chunks/chunk-JGI2FYR3.js +87 -0
  419. package/dist/chunks/chunk-JMMO725N.js +137 -0
  420. package/dist/chunks/chunk-JMVDHXB6.js +100 -0
  421. package/dist/chunks/chunk-JN2PBVZB.js +54 -0
  422. package/dist/chunks/chunk-JQLYDLQ3.js +301 -0
  423. package/dist/chunks/chunk-JRNBMQZG.js +23 -0
  424. package/dist/chunks/chunk-JSMAHMOV.js +88 -0
  425. package/dist/chunks/chunk-JTGY44YR.js +97 -0
  426. package/dist/chunks/chunk-JTXP2MBW.js +39 -0
  427. package/dist/chunks/chunk-JVCJARRI.js +45 -0
  428. package/dist/chunks/chunk-JWTKVK2V.js +237 -0
  429. package/dist/chunks/chunk-JY43CRRJ.js +33 -0
  430. package/dist/chunks/chunk-JYNTWZXB.js +191 -0
  431. package/dist/chunks/chunk-JZXATUDC.js +169 -0
  432. package/dist/chunks/chunk-K2NNE3B4.js +146 -0
  433. package/dist/chunks/chunk-K2NZOERC.js +84 -0
  434. package/dist/chunks/chunk-K4E7GE7O.js +159 -0
  435. package/dist/chunks/chunk-K7PGQIN6.js +141 -0
  436. package/dist/chunks/chunk-KA2XCC2O.js +107 -0
  437. package/dist/chunks/chunk-KA3C5TIW.js +1307 -0
  438. package/dist/chunks/chunk-KBHADD3D.js +100 -0
  439. package/dist/chunks/chunk-KBLBETHM.js +30 -0
  440. package/dist/chunks/chunk-KD6GLJR6.js +156 -0
  441. package/dist/chunks/chunk-KD7ORVMP.js +226 -0
  442. package/dist/chunks/chunk-KE7N4TN5.js +194 -0
  443. package/dist/chunks/chunk-KEH2XH7J.js +139 -0
  444. package/dist/chunks/chunk-KGBWBPDW.js +185 -0
  445. package/dist/chunks/chunk-KGXZH52R.js +84 -0
  446. package/dist/chunks/chunk-KJD3NTUE.js +81 -0
  447. package/dist/chunks/chunk-KJO2KSQW.js +48 -0
  448. package/dist/chunks/chunk-KLCE4OXR.js +79 -0
  449. package/dist/chunks/chunk-KMTXOPWI.js +304 -0
  450. package/dist/chunks/chunk-KNIEAN7D.js +108 -0
  451. package/dist/chunks/chunk-KOA5PZ6D.js +165 -0
  452. package/dist/chunks/chunk-KPOW74WO.js +728 -0
  453. package/dist/chunks/chunk-KPQWP6TZ.js +131 -0
  454. package/dist/chunks/chunk-KQAZSHOI.js +220 -0
  455. package/dist/chunks/chunk-KQPUYQY2.js +512 -0
  456. package/dist/chunks/chunk-KR3VSRCX.js +157 -0
  457. package/dist/chunks/chunk-KRXQLBLC.js +221 -0
  458. package/dist/chunks/chunk-KSR3DYDM.js +179 -0
  459. package/dist/chunks/chunk-KVS6QF5H.js +39 -0
  460. package/dist/chunks/chunk-KVYLDCSL.js +161 -0
  461. package/dist/chunks/chunk-KZKWTVDV.js +156 -0
  462. package/dist/chunks/chunk-KZPB53I4.js +163 -0
  463. package/dist/chunks/chunk-L2Q676X4.js +240 -0
  464. package/dist/chunks/chunk-L5W7LITT.js +122 -0
  465. package/dist/chunks/chunk-LAFKD4T5.js +81 -0
  466. package/dist/chunks/chunk-LBSPU6F5.js +176 -0
  467. package/dist/chunks/chunk-LEDOJVRA.js +213 -0
  468. package/dist/chunks/chunk-LEGYDN46.js +123 -0
  469. package/dist/chunks/chunk-LELC4V7D.js +81 -0
  470. package/dist/chunks/chunk-LHDNKVL5.js +86 -0
  471. package/dist/chunks/chunk-LHZ6CGZN.js +138 -0
  472. package/dist/chunks/chunk-LIPC3OPX.js +135 -0
  473. package/dist/chunks/chunk-LJ7U2U37.js +161 -0
  474. package/dist/chunks/chunk-LJKONMOY.js +209 -0
  475. package/dist/chunks/chunk-LKBL3QLU.js +230 -0
  476. package/dist/chunks/chunk-LLOQWBAE.js +45 -0
  477. package/dist/chunks/chunk-LMPRJDWH.js +261 -0
  478. package/dist/chunks/chunk-LODA7N22.js +175 -0
  479. package/dist/chunks/chunk-LOXBH74Y.js +79 -0
  480. package/dist/chunks/chunk-LPEYYDHA.js +183 -0
  481. package/dist/chunks/chunk-LQLI3MHM.js +23 -0
  482. package/dist/chunks/chunk-LU2PAB4U.js +111 -0
  483. package/dist/chunks/chunk-LUAXVHMG.js +122 -0
  484. package/dist/chunks/chunk-LURW43PC.js +78 -0
  485. package/dist/chunks/chunk-LVVJRWEC.js +589 -0
  486. package/dist/chunks/chunk-LWALQVKN.js +33 -0
  487. package/dist/chunks/chunk-LYUYF2CZ.js +33 -0
  488. package/dist/chunks/chunk-LYX2MSCP.js +334 -0
  489. package/dist/chunks/chunk-LZVUBD6T.js +358 -0
  490. package/dist/chunks/chunk-M2GXFIDR.js +113 -0
  491. package/dist/chunks/chunk-M4GKQPAD.js +164 -0
  492. package/dist/chunks/chunk-M64I5GG5.js +104 -0
  493. package/dist/chunks/chunk-M6NDVWQF.js +293 -0
  494. package/dist/chunks/chunk-M73W4ZQL.js +218 -0
  495. package/dist/chunks/chunk-MAIKVPLD.js +53 -0
  496. package/dist/chunks/chunk-MAVW7O5D.js +150 -0
  497. package/dist/chunks/chunk-MBXXM3KV.js +97 -0
  498. package/dist/chunks/chunk-MCMCCS4W.js +204 -0
  499. package/dist/chunks/chunk-MCMET72P.js +118 -0
  500. package/dist/chunks/chunk-MDD4PFHF.js +125 -0
  501. package/dist/chunks/chunk-MEBBTUXG.js +107 -0
  502. package/dist/chunks/chunk-MHMNPPPX.js +133 -0
  503. package/dist/chunks/chunk-MHVAWPLB.js +104 -0
  504. package/dist/chunks/chunk-MHWSZAJG.js +198 -0
  505. package/dist/chunks/chunk-MIIRGL4R.js +126 -0
  506. package/dist/chunks/chunk-MMRT5F3K.js +164 -0
  507. package/dist/chunks/chunk-MQ6V2UZ3.js +49 -0
  508. package/dist/chunks/chunk-MS5IBTDF.js +344 -0
  509. package/dist/chunks/chunk-MXZJVYTC.js +242 -0
  510. package/dist/chunks/chunk-MZHAVPZB.js +123 -0
  511. package/dist/chunks/chunk-MZTYDIIR.js +192 -0
  512. package/dist/chunks/chunk-N3LPIVR6.js +272 -0
  513. package/dist/chunks/chunk-N5EPZOB5.js +23 -0
  514. package/dist/chunks/chunk-N6JYJXIC.js +110 -0
  515. package/dist/chunks/chunk-NAYP5Y2B.js +146 -0
  516. package/dist/chunks/chunk-NCR2DSAW.js +118 -0
  517. package/dist/chunks/chunk-NELM4YKZ.js +212 -0
  518. package/dist/chunks/chunk-NHJQEYVA.js +226 -0
  519. package/dist/chunks/chunk-NL5GCMG6.js +23 -0
  520. package/dist/chunks/chunk-NMN4ULNZ.js +251 -0
  521. package/dist/chunks/chunk-NNGYKDTU.js +84 -0
  522. package/dist/chunks/chunk-NOYL3SF5.js +44 -0
  523. package/dist/chunks/chunk-NP4MMXWL.js +53 -0
  524. package/dist/chunks/chunk-NSHSFX3F.js +298 -0
  525. package/dist/chunks/chunk-NSRABPT6.js +41 -0
  526. package/dist/chunks/chunk-NTXT3O4J.js +157 -0
  527. package/dist/chunks/chunk-NUB5BCTZ.js +184 -0
  528. package/dist/chunks/chunk-NV4HHIJK.js +80 -0
  529. package/dist/chunks/chunk-NVKOYOT7.js +77 -0
  530. package/dist/chunks/chunk-NYKRONTO.js +169 -0
  531. package/dist/chunks/chunk-O32OFBRQ.js +247 -0
  532. package/dist/chunks/chunk-O3MOIWLZ.js +109 -0
  533. package/dist/chunks/chunk-O4JXZSCV.js +109 -0
  534. package/dist/chunks/chunk-O5S6RCNR.js +147 -0
  535. package/dist/chunks/chunk-O64QIUGC.js +961 -0
  536. package/dist/chunks/chunk-O6W5C6XY.js +143 -0
  537. package/dist/chunks/chunk-O736UVB7.js +103 -0
  538. package/dist/chunks/chunk-OCTF75G4.js +83 -0
  539. package/dist/chunks/chunk-OF2LIVZK.js +150 -0
  540. package/dist/chunks/chunk-OFMZOJP4.js +178 -0
  541. package/dist/chunks/chunk-OHHZSBBS.js +1574 -0
  542. package/dist/chunks/chunk-OIHM6WQL.js +497 -0
  543. package/dist/chunks/chunk-OINDNCAQ.js +122 -0
  544. package/dist/chunks/chunk-OIXYUUP5.js +969 -0
  545. package/dist/chunks/chunk-OKTJUKRI.js +155 -0
  546. package/dist/chunks/chunk-OLDHIFJY.js +368 -0
  547. package/dist/chunks/chunk-OMBTROFJ.js +100 -0
  548. package/dist/chunks/chunk-OMXHVOOA.js +103 -0
  549. package/dist/chunks/chunk-ONPV6QWK.js +33 -0
  550. package/dist/chunks/chunk-ONXYXSYQ.js +559 -0
  551. package/dist/chunks/chunk-ORFEGQ2J.js +1834 -0
  552. package/dist/chunks/chunk-ORU4ZQRY.js +215 -0
  553. package/dist/chunks/chunk-OTKL67ZX.js +207 -0
  554. package/dist/chunks/chunk-OVMLERIX.js +118 -0
  555. package/dist/chunks/chunk-OY5UOH5Z.js +304 -0
  556. package/dist/chunks/chunk-OYHYTKSI.js +172 -0
  557. package/dist/chunks/chunk-P2CRN534.js +278 -0
  558. package/dist/chunks/chunk-P2DJAKEY.js +106 -0
  559. package/dist/chunks/chunk-P2YZ5T34.js +225 -0
  560. package/dist/chunks/chunk-P3EA6V2K.js +85 -0
  561. package/dist/chunks/chunk-P3OGLKVJ.js +33 -0
  562. package/dist/chunks/chunk-P6B36XB7.js +30 -0
  563. package/dist/chunks/chunk-P7AD3YMN.js +256 -0
  564. package/dist/chunks/chunk-PBLBJDKR.js +156 -0
  565. package/dist/chunks/chunk-PBXLB3PH.js +115 -0
  566. package/dist/chunks/chunk-PDLD6UJH.js +98 -0
  567. package/dist/chunks/chunk-PFQNQVIE.js +92 -0
  568. package/dist/chunks/chunk-PFSRAPDL.js +134 -0
  569. package/dist/chunks/chunk-PGWIJOUE.js +105 -0
  570. package/dist/chunks/chunk-PHKZR7RG.js +196 -0
  571. package/dist/chunks/chunk-PHYCJF33.js +100 -0
  572. package/dist/chunks/chunk-PKRXZ7DA.js +163 -0
  573. package/dist/chunks/chunk-PLDTTKWC.js +196 -0
  574. package/dist/chunks/chunk-PMHWTWRA.js +149 -0
  575. package/dist/chunks/chunk-PMLVPCF3.js +655 -0
  576. package/dist/chunks/chunk-PNLRWU6Z.js +42 -0
  577. package/dist/chunks/chunk-POCNJOJJ.js +169 -0
  578. package/dist/chunks/chunk-PPWXKBL4.js +204 -0
  579. package/dist/chunks/chunk-PQXQISBE.js +204 -0
  580. package/dist/chunks/chunk-PV7452YW.js +99 -0
  581. package/dist/chunks/chunk-PWVPU5HY.js +303 -0
  582. package/dist/chunks/chunk-PY6VBRGD.js +120 -0
  583. package/dist/chunks/chunk-PYMQC264.js +62 -0
  584. package/dist/chunks/chunk-Q2I35XQ2.js +60 -0
  585. package/dist/chunks/chunk-Q3DL7R35.js +160 -0
  586. package/dist/chunks/chunk-Q4YO35AI.js +187 -0
  587. package/dist/chunks/chunk-Q557FTIH.js +23 -0
  588. package/dist/chunks/chunk-Q57R5BMX.js +48 -0
  589. package/dist/chunks/chunk-Q5SVJLKR.js +100 -0
  590. package/dist/chunks/chunk-Q7QFVO3X.js +36 -0
  591. package/dist/chunks/chunk-QDRY7WF4.js +200 -0
  592. package/dist/chunks/chunk-QED52AIX.js +102 -0
  593. package/dist/chunks/chunk-QF6CALRO.js +382 -0
  594. package/dist/chunks/chunk-QIS76ZNJ.js +361 -0
  595. package/dist/chunks/chunk-QLPTEOER.js +105 -0
  596. package/dist/chunks/chunk-QM4VNS7Y.js +130 -0
  597. package/dist/chunks/chunk-QMIRCEK7.js +33 -0
  598. package/dist/chunks/chunk-QNDMWEPA.js +305 -0
  599. package/dist/chunks/chunk-QP5M5VIG.js +147 -0
  600. package/dist/chunks/chunk-QQUOKLFU.js +163 -0
  601. package/dist/chunks/chunk-QRJUGG2U.js +79 -0
  602. package/dist/chunks/chunk-QU47H2UD.js +68 -0
  603. package/dist/chunks/chunk-QUDDGWMU.js +282 -0
  604. package/dist/chunks/chunk-QZENWZT3.js +195 -0
  605. package/dist/chunks/chunk-R2VZ3DHO.js +170 -0
  606. package/dist/chunks/chunk-R3BOETXR.js +197 -0
  607. package/dist/chunks/chunk-R3HLIQCO.js +137 -0
  608. package/dist/chunks/chunk-R4VFVORH.js +307 -0
  609. package/dist/chunks/chunk-R6IJD62C.js +122 -0
  610. package/dist/chunks/chunk-R7IIQNX4.js +1403 -0
  611. package/dist/chunks/chunk-RA4VYYSU.js +93 -0
  612. package/dist/chunks/chunk-RA5BS2IW.js +152 -0
  613. package/dist/chunks/chunk-RAIVDSOS.js +198 -0
  614. package/dist/chunks/chunk-RAPIX2KF.js +23 -0
  615. package/dist/chunks/chunk-RARZOUT4.js +99 -0
  616. package/dist/chunks/chunk-RB36M3HB.js +415 -0
  617. package/dist/chunks/chunk-RBOCSHB3.js +142 -0
  618. package/dist/chunks/chunk-RBXB45RB.js +100 -0
  619. package/dist/chunks/chunk-RCTH22WV.js +23 -0
  620. package/dist/chunks/chunk-RFWMVJ5B.js +118 -0
  621. package/dist/chunks/chunk-RH3CBWVE.js +199 -0
  622. package/dist/chunks/chunk-RHTGAFKD.js +805 -0
  623. package/dist/chunks/chunk-RIBYGK4Z.js +76 -0
  624. package/dist/chunks/chunk-RJAIACQZ.js +70 -0
  625. package/dist/chunks/chunk-RL5CEUPL.js +266 -0
  626. package/dist/chunks/chunk-RL6JNMJ2.js +149 -0
  627. package/dist/chunks/chunk-RLIQBPDF.js +23 -0
  628. package/dist/chunks/chunk-RLKXTA4X.js +83 -0
  629. package/dist/chunks/chunk-RLRI6WAH.js +84 -0
  630. package/dist/chunks/chunk-RMUB2YD7.js +77 -0
  631. package/dist/chunks/chunk-RNAVFS66.js +23 -0
  632. package/dist/chunks/chunk-RNHXXSPU.js +45 -0
  633. package/dist/chunks/chunk-RNXRNDND.js +45 -0
  634. package/dist/chunks/chunk-ROQYAHDT.js +646 -0
  635. package/dist/chunks/chunk-RU42BEZF.js +119 -0
  636. package/dist/chunks/chunk-RUBQBHHO.js +72 -0
  637. package/dist/chunks/chunk-RV7JJ357.js +220 -0
  638. package/dist/chunks/chunk-RVT2MATB.js +1393 -0
  639. package/dist/chunks/chunk-RVZQBLHI.js +33 -0
  640. package/dist/chunks/chunk-RW6W4HYU.js +182 -0
  641. package/dist/chunks/chunk-RYMBZCTD.js +164 -0
  642. package/dist/chunks/chunk-RZC4JLQZ.js +124 -0
  643. package/dist/chunks/chunk-S24TIGBB.js +109 -0
  644. package/dist/chunks/chunk-S4UWIXN6.js +95 -0
  645. package/dist/chunks/chunk-S52LY3UR.js +136 -0
  646. package/dist/chunks/chunk-S5AEYTNP.js +93 -0
  647. package/dist/chunks/chunk-S5S3N5XN.js +23 -0
  648. package/dist/chunks/chunk-S6PPXMO6.js +42 -0
  649. package/dist/chunks/chunk-S73KBRCM.js +184 -0
  650. package/dist/chunks/chunk-SAAE46DR.js +307 -0
  651. package/dist/chunks/chunk-SADIHGAO.js +198 -0
  652. package/dist/chunks/chunk-SB77S2YD.js +182 -0
  653. package/dist/chunks/chunk-SBZJSPF5.js +77 -0
  654. package/dist/chunks/chunk-SDNKO4IV.js +144 -0
  655. package/dist/chunks/chunk-SFEKANHA.js +298 -0
  656. package/dist/chunks/chunk-SFRNPBO6.js +122 -0
  657. package/dist/chunks/chunk-SGDHGVXK.js +152 -0
  658. package/dist/chunks/chunk-SKMB75CJ.js +104 -0
  659. package/dist/chunks/chunk-SMB4E2GQ.js +261 -0
  660. package/dist/chunks/chunk-SMO2MUYJ.js +209 -0
  661. package/dist/chunks/chunk-SPHWPTAV.js +250 -0
  662. package/dist/chunks/chunk-SQB5O7YE.js +171 -0
  663. package/dist/chunks/chunk-SQEK3ST7.js +192 -0
  664. package/dist/chunks/chunk-SR6X6GKD.js +103 -0
  665. package/dist/chunks/chunk-SS4YLL4I.js +78 -0
  666. package/dist/chunks/chunk-STUC6FRK.js +224 -0
  667. package/dist/chunks/chunk-SUVMMN6N.js +86 -0
  668. package/dist/chunks/chunk-SWIYXVEI.js +79 -0
  669. package/dist/chunks/chunk-SWPLD6BP.js +173 -0
  670. package/dist/chunks/chunk-SXR7XU4I.js +96 -0
  671. package/dist/chunks/chunk-T472GBPT.js +174 -0
  672. package/dist/chunks/chunk-T5FDQKSP.js +115 -0
  673. package/dist/chunks/chunk-T7L2KPO4.js +83 -0
  674. package/dist/chunks/chunk-TA3DWSMR.js +73 -0
  675. package/dist/chunks/chunk-TAJW3QID.js +262 -0
  676. package/dist/chunks/chunk-TCPP5RWC.js +161 -0
  677. package/dist/chunks/chunk-TFJRLYPC.js +153 -0
  678. package/dist/chunks/chunk-TGDJVJSI.js +52 -0
  679. package/dist/chunks/chunk-THHWIUUA.js +399 -0
  680. package/dist/chunks/chunk-TJEB6B5P.js +249 -0
  681. package/dist/chunks/chunk-TJXACX4L.js +224 -0
  682. package/dist/chunks/chunk-TMIRLRD5.js +200 -0
  683. package/dist/chunks/chunk-TMVZESYU.js +111 -0
  684. package/dist/chunks/chunk-TMZ726BR.js +167 -0
  685. package/dist/chunks/chunk-TQ7KIYHM.js +149 -0
  686. package/dist/chunks/chunk-TRRSY6W3.js +145 -0
  687. package/dist/chunks/chunk-TTNVHG7J.js +151 -0
  688. package/dist/chunks/chunk-TUBD4ATK.js +86 -0
  689. package/dist/chunks/chunk-TVO6OQO2.js +242 -0
  690. package/dist/chunks/chunk-TWAWCRWC.js +139 -0
  691. package/dist/chunks/chunk-TWXPGGXQ.js +86 -0
  692. package/dist/chunks/chunk-TYCPYQXK.js +104 -0
  693. package/dist/chunks/chunk-U2F7JQG7.js +141 -0
  694. package/dist/chunks/chunk-U33EC5HQ.js +131 -0
  695. package/dist/chunks/chunk-U3PVDOFC.js +165 -0
  696. package/dist/chunks/chunk-U4CMDICS.js +150 -0
  697. package/dist/chunks/chunk-U5YBGRIV.js +74 -0
  698. package/dist/chunks/chunk-U67MBU5A.js +171 -0
  699. package/dist/chunks/chunk-U7LC6ZA6.js +103 -0
  700. package/dist/chunks/chunk-U7VFBOMW.js +188 -0
  701. package/dist/chunks/chunk-UBXL5GZD.js +192 -0
  702. package/dist/chunks/chunk-UBZ2ONVZ.js +145 -0
  703. package/dist/chunks/chunk-UCXTAFZZ.js +123 -0
  704. package/dist/chunks/chunk-UD5R2EL4.js +273 -0
  705. package/dist/chunks/chunk-UDLLUAYU.js +112 -0
  706. package/dist/chunks/chunk-UDODVDRN.js +685 -0
  707. package/dist/chunks/chunk-UFINQ424.js +23 -0
  708. package/dist/chunks/chunk-UFX2GXEN.js +91 -0
  709. package/dist/chunks/chunk-UI5JV3L4.js +70 -0
  710. package/dist/chunks/chunk-UIQ7OCCB.js +94 -0
  711. package/dist/chunks/chunk-UPK4JITG.js +60 -0
  712. package/dist/chunks/chunk-USIUSDOQ.js +141 -0
  713. package/dist/chunks/chunk-UUIYNBZI.js +292 -0
  714. package/dist/chunks/chunk-UVUBIGZD.js +93 -0
  715. package/dist/chunks/chunk-UWHAZ5GX.js +55 -0
  716. package/dist/chunks/chunk-UWJXVK2J.js +153 -0
  717. package/dist/chunks/chunk-V2P2TGQT.js +145 -0
  718. package/dist/chunks/chunk-V2UXRPWO.js +130 -0
  719. package/dist/chunks/chunk-V4UPAMMQ.js +331 -0
  720. package/dist/chunks/chunk-V4ZZ7CS5.js +391 -0
  721. package/dist/chunks/chunk-V6ZVJORK.js +304 -0
  722. package/dist/chunks/chunk-V7KZI5TG.js +44 -0
  723. package/dist/chunks/chunk-VAJC5RBD.js +41 -0
  724. package/dist/chunks/chunk-VAWZT6Y5.js +195 -0
  725. package/dist/chunks/chunk-VEWXW5HQ.js +848 -0
  726. package/dist/chunks/chunk-VGJ7EEHV.js +115 -0
  727. package/dist/chunks/chunk-VI5TZGMO.js +33 -0
  728. package/dist/chunks/chunk-VILHHVVE.js +128 -0
  729. package/dist/chunks/chunk-VIXJRH33.js +261 -0
  730. package/dist/chunks/chunk-VJPXMFBY.js +128 -0
  731. package/dist/chunks/chunk-VM7VI5VA.js +105 -0
  732. package/dist/chunks/chunk-VMD5ODI7.js +311 -0
  733. package/dist/chunks/chunk-VMTJMB5Z.js +97 -0
  734. package/dist/chunks/chunk-VNYATM7I.js +221 -0
  735. package/dist/chunks/chunk-VO565ZH2.js +23 -0
  736. package/dist/chunks/chunk-VOHLU5A7.js +49 -0
  737. package/dist/chunks/chunk-VP7QPGZP.js +260 -0
  738. package/dist/chunks/chunk-VQEX5T4I.js +33 -0
  739. package/dist/chunks/chunk-VQKPFKTW.js +23 -0
  740. package/dist/chunks/chunk-VRBHPWCQ.js +70 -0
  741. package/dist/chunks/chunk-VT5CUNX3.js +150 -0
  742. package/dist/chunks/chunk-VWOTSH7H.js +152 -0
  743. package/dist/chunks/chunk-VWYW2DTK.js +177 -0
  744. package/dist/chunks/chunk-VZPXWDMX.js +33 -0
  745. package/dist/chunks/chunk-W26KGDLO.js +146 -0
  746. package/dist/chunks/chunk-W2BV5BMO.js +360 -0
  747. package/dist/chunks/chunk-W6EIDQ7S.js +120 -0
  748. package/dist/chunks/chunk-W6PNQ4E4.js +45 -0
  749. package/dist/chunks/chunk-W75QCBCV.js +351 -0
  750. package/dist/chunks/chunk-W7HWYLOF.js +23 -0
  751. package/dist/chunks/chunk-W7IAHYST.js +362 -0
  752. package/dist/chunks/chunk-WA7ZDNWY.js +69 -0
  753. package/dist/chunks/chunk-WAEU27TH.js +98 -0
  754. package/dist/chunks/chunk-WAVENQRO.js +23 -0
  755. package/dist/chunks/chunk-WAYWFXXB.js +179 -0
  756. package/dist/chunks/chunk-WBYGOPQL.js +82 -0
  757. package/dist/chunks/chunk-WCF4FV5X.js +146 -0
  758. package/dist/chunks/chunk-WCQ7LVLM.js +108 -0
  759. package/dist/chunks/chunk-WDE45UKB.js +95 -0
  760. package/dist/chunks/chunk-WEKUFG2H.js +23 -0
  761. package/dist/chunks/chunk-WEKUUO4T.js +33 -0
  762. package/dist/chunks/chunk-WF2TS6JG.js +126 -0
  763. package/dist/chunks/chunk-WFIOZCBS.js +167 -0
  764. package/dist/chunks/chunk-WK4L2YAM.js +90 -0
  765. package/dist/chunks/chunk-WKE7ZZDF.js +45 -0
  766. package/dist/chunks/chunk-WLK2ZNFT.js +287 -0
  767. package/dist/chunks/chunk-WM7DKIXE.js +147 -0
  768. package/dist/chunks/chunk-WNXEFXPH.js +110 -0
  769. package/dist/chunks/chunk-WO5PG2HF.js +36 -0
  770. package/dist/chunks/chunk-WOULEKKE.js +122 -0
  771. package/dist/chunks/chunk-WP57R54N.js +166 -0
  772. package/dist/chunks/chunk-WQW4OQ4V.js +93 -0
  773. package/dist/chunks/chunk-WR5EM3YA.js +30 -0
  774. package/dist/chunks/chunk-WR6U2V2U.js +178 -0
  775. package/dist/chunks/chunk-WREOHLQD.js +45 -0
  776. package/dist/chunks/chunk-WTBI33QZ.js +2168 -0
  777. package/dist/chunks/chunk-WVAXCXH2.js +366 -0
  778. package/dist/chunks/chunk-WVH54XSA.js +33 -0
  779. package/dist/chunks/chunk-WXAXA2U2.js +166 -0
  780. package/dist/chunks/chunk-WY7VKGAH.js +176 -0
  781. package/dist/chunks/chunk-WYXAOAKZ.js +95 -0
  782. package/dist/chunks/chunk-WZVFQAPV.js +33 -0
  783. package/dist/chunks/chunk-X525UKAJ.js +158 -0
  784. package/dist/chunks/chunk-X5XQWXW3.js +78 -0
  785. package/dist/chunks/chunk-X6W3OFT6.js +45 -0
  786. package/dist/chunks/chunk-X6WC6UB2.js +173 -0
  787. package/dist/chunks/chunk-X74FX5AY.js +151 -0
  788. package/dist/chunks/chunk-X77ESFUL.js +77 -0
  789. package/dist/chunks/chunk-X7HG63Z6.js +136 -0
  790. package/dist/chunks/chunk-XDBUIXXW.js +36 -0
  791. package/dist/chunks/chunk-XFRCONOK.js +23 -0
  792. package/dist/chunks/chunk-XG5TP5ZZ.js +61 -0
  793. package/dist/chunks/chunk-XL5M4VPW.js +46 -0
  794. package/dist/chunks/chunk-XNIGJLOQ.js +82 -0
  795. package/dist/chunks/chunk-XPVRE3M6.js +66 -0
  796. package/dist/chunks/chunk-XPZZA66T.js +23 -0
  797. package/dist/chunks/chunk-XQNELUDS.js +33 -0
  798. package/dist/chunks/chunk-XQQ722CJ.js +63 -0
  799. package/dist/chunks/chunk-XRHOGZRN.js +120 -0
  800. package/dist/chunks/chunk-XSKXJX6J.js +135 -0
  801. package/dist/chunks/chunk-XTPP7SAM.js +23 -0
  802. package/dist/chunks/chunk-XVMA44YI.js +65 -0
  803. package/dist/chunks/chunk-Y2E4VI2G.js +89 -0
  804. package/dist/chunks/chunk-Y2XCDNZE.js +140 -0
  805. package/dist/chunks/chunk-Y37RQPXI.js +180 -0
  806. package/dist/chunks/chunk-Y3MHUXVL.js +51 -0
  807. package/dist/chunks/chunk-Y4BFZLMI.js +248 -0
  808. package/dist/chunks/chunk-Y4PAQJJB.js +129 -0
  809. package/dist/chunks/chunk-Y5P752JT.js +117 -0
  810. package/dist/chunks/chunk-Y6COPGTK.js +1309 -0
  811. package/dist/chunks/chunk-Y7QLVSSD.js +130 -0
  812. package/dist/chunks/chunk-YA2ZW7CR.js +117 -0
  813. package/dist/chunks/chunk-YAAZDJBL.js +163 -0
  814. package/dist/chunks/chunk-YAGVOQB4.js +50 -0
  815. package/dist/chunks/chunk-YC5BROLP.js +33 -0
  816. package/dist/chunks/chunk-YC673WDD.js +85 -0
  817. package/dist/chunks/chunk-YFLHEBHI.js +181 -0
  818. package/dist/chunks/chunk-YGDJHREC.js +124 -0
  819. package/dist/chunks/chunk-YGMBSJT3.js +260 -0
  820. package/dist/chunks/chunk-YIJVTT6M.js +23 -0
  821. package/dist/chunks/chunk-YIKINIAU.js +160 -0
  822. package/dist/chunks/chunk-YIOQBG7Y.js +102 -0
  823. package/dist/chunks/chunk-YKJ2W33C.js +305 -0
  824. package/dist/chunks/chunk-YL57SFRK.js +222 -0
  825. package/dist/chunks/chunk-YOBNMW2P.js +92 -0
  826. package/dist/chunks/chunk-YPAFREZN.js +366 -0
  827. package/dist/chunks/chunk-YPVCYDTZ.js +105 -0
  828. package/dist/chunks/chunk-YQ2QDNDJ.js +96 -0
  829. package/dist/chunks/chunk-YQV75JLA.js +266 -0
  830. package/dist/chunks/chunk-YSLZPCOH.js +119 -0
  831. package/dist/chunks/chunk-YXNGBYXP.js +140 -0
  832. package/dist/chunks/chunk-YYCD4UKR.js +158 -0
  833. package/dist/chunks/chunk-YYHIVGOM.js +79 -0
  834. package/dist/chunks/chunk-YYLL2WD2.js +94 -0
  835. package/dist/chunks/chunk-YZPEJD6G.js +71 -0
  836. package/dist/chunks/chunk-Z2QKY7J6.js +210 -0
  837. package/dist/chunks/chunk-Z3DBBAID.js +182 -0
  838. package/dist/chunks/chunk-Z4RAW5RQ.js +105 -0
  839. package/dist/chunks/chunk-Z5FF7IQS.js +215 -0
  840. package/dist/chunks/chunk-Z5MXYHEB.js +165 -0
  841. package/dist/chunks/chunk-Z7XHECOH.js +178 -0
  842. package/dist/chunks/chunk-ZAFQXZAR.js +121 -0
  843. package/dist/chunks/chunk-ZBASK5BH.js +138 -0
  844. package/dist/chunks/chunk-ZCDSZPCP.js +155 -0
  845. package/dist/chunks/chunk-ZGYD6KT5.js +255 -0
  846. package/dist/chunks/chunk-ZIPCAQIG.js +23 -0
  847. package/dist/chunks/chunk-ZJ7B7YKU.js +98 -0
  848. package/dist/chunks/chunk-ZJGYMU6A.js +53 -0
  849. package/dist/chunks/chunk-ZL7ERYHT.js +101 -0
  850. package/dist/chunks/chunk-ZLL7FMNB.js +97 -0
  851. package/dist/chunks/chunk-ZLNJCXUE.js +327 -0
  852. package/dist/chunks/chunk-ZMMQNZD6.js +55 -0
  853. package/dist/chunks/chunk-ZOHSJLGA.js +206 -0
  854. package/dist/chunks/chunk-ZOSNGXVU.js +193 -0
  855. package/dist/chunks/chunk-ZQOVQIKH.js +652 -0
  856. package/dist/chunks/chunk-ZT5L3K4V.js +109 -0
  857. package/dist/chunks/chunk-ZTFG6JL3.js +112 -0
  858. package/dist/chunks/chunk-ZULIAVTH.js +114 -0
  859. package/dist/chunks/chunk-ZVBPCTQU.js +202 -0
  860. package/dist/chunks/chunk-ZXR7CVPG.js +201 -0
  861. package/dist/chunks/chunk-ZZNPN4FE.js +74 -0
  862. package/dist/chunks/chunk-ZZWU4UKF.js +93 -0
  863. package/dist/chunks/client-5JG76IRY.js +31 -0
  864. package/dist/chunks/client-J2CEFNNJ.js +168 -0
  865. package/dist/chunks/client-USADLBHL.js +47 -0
  866. package/dist/chunks/client-actions-BDMDUTKV.js +170 -0
  867. package/dist/chunks/components-R2D3UTW2.js +78 -0
  868. package/dist/chunks/dangerous-CSMKGMH5.js +124 -0
  869. package/dist/chunks/delete-current-file-IPFR4LGR.js +163 -0
  870. package/dist/chunks/editor-seams-V6QN3NRV.js +183 -0
  871. package/dist/chunks/editor-store-LFC7Q6FA.js +148 -0
  872. package/dist/chunks/export-ZWF4Q7SZ.js +67 -0
  873. package/dist/chunks/export-watermark-4B3VT33V.js +157 -0
  874. package/dist/chunks/eyedropper-NQV6WLIO.js +355 -0
  875. package/dist/chunks/generate-media-667HC3DS.js +255 -0
  876. package/dist/chunks/host-MI5OA5ON.js +184 -0
  877. package/dist/chunks/host-WFZOO3JZ.js +246 -0
  878. package/dist/chunks/integrations-TKAQTJ4W.js +125 -0
  879. package/dist/chunks/libraries-PVZQHBBL.js +311 -0
  880. package/dist/chunks/live-E3E2EQSX.js +322 -0
  881. package/dist/chunks/lottie-EFY3WPC6.js +91 -0
  882. package/dist/chunks/media-tool-X7NIB5IC.js +237 -0
  883. package/dist/chunks/new-file-MGITD74I.js +140 -0
  884. package/dist/chunks/next-commerce-IFNKONWU.js +74 -0
  885. package/dist/chunks/pdf-HAC4JSHV.js +1218 -0
  886. package/dist/chunks/player-check-H7XGXXWB.js +119 -0
  887. package/dist/chunks/plugin-3YMDASGH.js +131 -0
  888. package/dist/chunks/plugin-import-NJ2ZP5RO.js +692 -0
  889. package/dist/chunks/presence-WTXABWRA.js +137 -0
  890. package/dist/chunks/project-AMUIERR4.js +1601 -0
  891. package/dist/chunks/publish-site-QROHMC5W.js +167 -0
  892. package/dist/chunks/publish-store-XTLNNMHO.js +100 -0
  893. package/dist/chunks/raster-actions-LFNRYKTH.js +233 -0
  894. package/dist/chunks/reference-images-DB2IDEWE.js +62 -0
  895. package/dist/chunks/registry-4M4N3IQT.js +49 -0
  896. package/dist/chunks/resolvers-RPGPN4SR.js +150 -0
  897. package/dist/chunks/runner-DEH434GQ.js +3546 -0
  898. package/dist/chunks/store-VBOC3NDV.js +235 -0
  899. package/dist/chunks/storefront-ROZDVGKJ.js +336 -0
  900. package/dist/chunks/storefront-prepare-4GVMVMLY.js +33 -0
  901. package/dist/chunks/svg-export-CNQLK5RK.js +84 -0
  902. package/dist/chunks/sync-4O2XASRY.js +162 -0
  903. package/dist/chunks/tabs-KO6KUDKI.js +320 -0
  904. package/dist/chunks/team-O2EEUEUW.js +47 -0
  905. package/dist/chunks/team-client-RTB6EDGA.js +158 -0
  906. package/dist/chunks/tools-2HIPIKFT.js +37 -0
  907. package/dist/chunks/tree-Q4SOEAM2.js +83 -0
  908. package/dist/chunks/ui-commands-L2H7GUOZ.js +191 -0
  909. package/dist/chunks/versions-A2OXUUBN.js +320 -0
  910. package/dist/chunks/web-PFNWTIRX.js +186 -0
  911. package/dist/index.js +7 -7
  912. package/dist/lib/templates/capabilities.js +4 -4
  913. package/dist/lib/templates/finish.js +5 -5
  914. package/dist/migrations/index.js +7 -7
  915. package/dist/migrations/timeline-facets.js +7 -7
  916. package/dist/templates/anime/character.js +8 -8
  917. package/dist/templates/anime/duel.js +10 -10
  918. package/dist/templates/anime/morning.js +10 -10
  919. package/dist/templates/anime/rain.js +10 -10
  920. package/dist/templates/anime/shared.js +9 -9
  921. package/dist/templates/anime/starlight.js +10 -10
  922. package/dist/templates/anime/titan.js +10 -10
  923. package/dist/templates/app/festival-presale-electronic-ticket.js +9 -9
  924. package/dist/templates/app/festival-presale-family-ticket.js +9 -9
  925. package/dist/templates/app/festival-presale-folk-ticket.js +9 -9
  926. package/dist/templates/app/festival-presale-food-ticket.js +9 -9
  927. package/dist/templates/app/festival-presale-jazz-ticket.js +9 -9
  928. package/dist/templates/app/festival-presale-street-ticket.js +9 -9
  929. package/dist/templates/app/music-grove.js +7 -7
  930. package/dist/templates/app/music-nightline.js +7 -7
  931. package/dist/templates/app/music-orbit.js +7 -7
  932. package/dist/templates/app/music-undertow.js +7 -7
  933. package/dist/templates/app/onboarding-carousel.js +7 -7
  934. package/dist/templates/app/saas-store-paywall.js +7 -7
  935. package/dist/templates/app/splash.js +7 -7
  936. package/dist/templates/app/success-confetti.js +7 -7
  937. package/dist/templates/app/tour-tickets-june-ticket.js +7 -7
  938. package/dist/templates/app/tour-tickets-tide-ticket.js +7 -7
  939. package/dist/templates/app/tour-tickets-wreck-ticket.js +7 -7
  940. package/dist/templates/build.js +6 -6
  941. package/dist/templates/cards/index.js +9 -9
  942. package/dist/templates/cards/shared.js +7 -7
  943. package/dist/templates/cards/themes.js +8 -8
  944. package/dist/templates/count.js +4 -4
  945. package/dist/templates/data/bars.js +7 -7
  946. package/dist/templates/data/countdown-story.js +7 -7
  947. package/dist/templates/data/counters.js +7 -7
  948. package/dist/templates/data/donut.js +7 -7
  949. package/dist/templates/data/line.js +7 -7
  950. package/dist/templates/data/year-in-review.js +7 -7
  951. package/dist/templates/effects/glass-intro.js +7 -7
  952. package/dist/templates/effects/glass-promo.js +7 -7
  953. package/dist/templates/effects/grain-story.js +7 -7
  954. package/dist/templates/effects/grid-intro.js +7 -7
  955. package/dist/templates/effects/halftone-story.js +7 -7
  956. package/dist/templates/effects/mesh-story.js +7 -7
  957. package/dist/templates/effects/shader-title.js +7 -7
  958. package/dist/templates/email/april-fools-header.js +7 -7
  959. package/dist/templates/email/art-deco-invitation.js +7 -7
  960. package/dist/templates/email/autumn-harvest-header.js +7 -7
  961. package/dist/templates/email/back-to-school-header.js +7 -7
  962. package/dist/templates/email/black-friday-coupons-header.js +7 -7
  963. package/dist/templates/email/black-friday-header.js +7 -7
  964. package/dist/templates/email/black-friday-neon-header.js +7 -7
  965. package/dist/templates/email/black-friday-scratch-header.js +7 -7
  966. package/dist/templates/email/black-friday-ticker-header.js +7 -7
  967. package/dist/templates/email/broadsheet-weekly-edition-header.js +7 -7
  968. package/dist/templates/email/claymation-header.js +7 -7
  969. package/dist/templates/email/countdown-gif.js +7 -7
  970. package/dist/templates/email/cyberpunk-header.js +7 -7
  971. package/dist/templates/email/diwali-header.js +7 -7
  972. package/dist/templates/email/earth-day-header.js +7 -7
  973. package/dist/templates/email/festival-presale-electronic-header.js +9 -9
  974. package/dist/templates/email/festival-presale-family-header.js +9 -9
  975. package/dist/templates/email/festival-presale-folk-header.js +9 -9
  976. package/dist/templates/email/festival-presale-food-header.js +9 -9
  977. package/dist/templates/email/festival-presale-jazz-header.js +9 -9
  978. package/dist/templates/email/festival-presale-street-header.js +9 -9
  979. package/dist/templates/email/gothic-header.js +7 -7
  980. package/dist/templates/email/halloween-header.js +7 -7
  981. package/dist/templates/email/header-launch.js +7 -7
  982. package/dist/templates/email/header-newsletter.js +7 -7
  983. package/dist/templates/email/header-sale.js +7 -7
  984. package/dist/templates/email/lunar-new-year-header.js +7 -7
  985. package/dist/templates/email/manuscript-chronicle-header.js +7 -7
  986. package/dist/templates/email/new-year-header.js +7 -7
  987. package/dist/templates/email/noir-header.js +7 -7
  988. package/dist/templates/email/psychedelic-header.js +7 -7
  989. package/dist/templates/email/riso-zine-changelog-header.js +7 -7
  990. package/dist/templates/email/saas-mail-changelog.js +9 -9
  991. package/dist/templates/email/saas-mail-day-one.js +9 -9
  992. package/dist/templates/email/saas-mail-day-three.js +9 -9
  993. package/dist/templates/email/saas-mail-launch.js +9 -9
  994. package/dist/templates/email/saas-mail-payment-failed.js +9 -9
  995. package/dist/templates/email/saas-mail-sign-in-code.js +9 -9
  996. package/dist/templates/email/saas-mail-trial-ending.js +9 -9
  997. package/dist/templates/email/saas-mail-waitlist.js +9 -9
  998. package/dist/templates/email/singles-day-header.js +7 -7
  999. package/dist/templates/email/solarpunk-header.js +7 -7
  1000. package/dist/templates/email/space-opera-header.js +7 -7
  1001. package/dist/templates/email/spring-bloom-header.js +7 -7
  1002. package/dist/templates/email/style-bento-header.js +7 -7
  1003. package/dist/templates/email/style-brutalist-header.js +7 -7
  1004. package/dist/templates/email/style-dark-header.js +7 -7
  1005. package/dist/templates/email/style-data-header.js +7 -7
  1006. package/dist/templates/email/style-editorial-header.js +7 -7
  1007. package/dist/templates/email/style-glass-header.js +7 -7
  1008. package/dist/templates/email/style-gradient-header.js +7 -7
  1009. package/dist/templates/email/style-maximal-header.js +7 -7
  1010. package/dist/templates/email/style-pastel-header.js +7 -7
  1011. package/dist/templates/email/style-sketch-header.js +7 -7
  1012. package/dist/templates/email/style-swiss-header.js +7 -7
  1013. package/dist/templates/email/style-terminal-header.js +7 -7
  1014. package/dist/templates/email/summer-heatwave-header.js +7 -7
  1015. package/dist/templates/email/tour-tickets-june-header.js +7 -7
  1016. package/dist/templates/email/tour-tickets-tide-header.js +7 -7
  1017. package/dist/templates/email/tour-tickets-wreck-header.js +7 -7
  1018. package/dist/templates/email/transit-map-service-update.js +7 -7
  1019. package/dist/templates/email/ukiyo-e-greeting-header.js +7 -7
  1020. package/dist/templates/email/valentines-header.js +7 -7
  1021. package/dist/templates/email/winter-cosy-header.js +7 -7
  1022. package/dist/templates/email/winter-holidays-header.js +7 -7
  1023. package/dist/templates/game/blossom-bash-puzzle.js +7 -7
  1024. package/dist/templates/game/deckbound-roguelike.js +7 -7
  1025. package/dist/templates/game/emberfall-rpg.js +7 -7
  1026. package/dist/templates/game/hearthmoor-farm.js +7 -7
  1027. package/dist/templates/game/index.js +20 -20
  1028. package/dist/templates/game/iron-lotus-fighter.js +7 -7
  1029. package/dist/templates/game/ironroot-rts.js +7 -7
  1030. package/dist/templates/game/mossy-hollow-platformer.js +9 -9
  1031. package/dist/templates/game/neon-apex-racing.js +7 -7
  1032. package/dist/templates/game/platformer.js +8 -8
  1033. package/dist/templates/game/pulse-riot-rhythm.js +7 -7
  1034. package/dist/templates/game/sprout-quest-pixel-platformer.js +9 -9
  1035. package/dist/templates/game/vanta-fps.js +7 -7
  1036. package/dist/templates/index.js +825 -825
  1037. package/dist/templates/kinetic/letters.js +7 -7
  1038. package/dist/templates/kinetic/lines.js +7 -7
  1039. package/dist/templates/kinetic/typewriter.js +7 -7
  1040. package/dist/templates/kinetic/word-swap.js +7 -7
  1041. package/dist/templates/kinetic/words.js +7 -7
  1042. package/dist/templates/libraries/audio-reactive.js +7 -7
  1043. package/dist/templates/libraries/loaders.js +7 -7
  1044. package/dist/templates/libraries/micro-interactions.js +7 -7
  1045. package/dist/templates/libraries/motion-essentials.js +7 -7
  1046. package/dist/templates/libraries/toasts.js +7 -7
  1047. package/dist/templates/lottie/ai.js +8 -8
  1048. package/dist/templates/lottie/climate.js +8 -8
  1049. package/dist/templates/lottie/commerce.js +8 -8
  1050. package/dist/templates/lottie/education.js +8 -8
  1051. package/dist/templates/lottie/fintech.js +8 -8
  1052. package/dist/templates/lottie/food.js +8 -8
  1053. package/dist/templates/lottie/health.js +8 -8
  1054. package/dist/templates/lottie/index.js +32 -32
  1055. package/dist/templates/lottie/lottie-kit.js +7 -7
  1056. package/dist/templates/lottie/realestate.js +8 -8
  1057. package/dist/templates/lottie/saas-ui-checklist.js +9 -9
  1058. package/dist/templates/lottie/saas-ui-dashboard-hero.js +9 -9
  1059. package/dist/templates/lottie/saas-ui-empty-data.js +9 -9
  1060. package/dist/templates/lottie/saas-ui-empty-search.js +9 -9
  1061. package/dist/templates/lottie/saas-ui-error-retry.js +9 -9
  1062. package/dist/templates/lottie/saas-ui-file-upload.js +9 -9
  1063. package/dist/templates/lottie/saas-ui-streaming-answer.js +9 -9
  1064. package/dist/templates/lottie/saas-ui-sync-connected.js +9 -9
  1065. package/dist/templates/lottie/saas-ui-trial-timeline.js +9 -9
  1066. package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +9 -9
  1067. package/dist/templates/lottie/saas-ui.js +19 -19
  1068. package/dist/templates/lottie/saas.js +8 -8
  1069. package/dist/templates/lottie/security.js +8 -8
  1070. package/dist/templates/lottie/techniques.js +8 -8
  1071. package/dist/templates/lottie/travel.js +8 -8
  1072. package/dist/templates/motion/ai-trailer/index.js +7 -7
  1073. package/dist/templates/motion/ambient-loop.js +7 -7
  1074. package/dist/templates/motion/app-icon-sting.js +7 -7
  1075. package/dist/templates/motion/april-fools-infomercial-reel.js +7 -7
  1076. package/dist/templates/motion/arcade-high-score.js +7 -7
  1077. package/dist/templates/motion/art-deco-grand-opening.js +7 -7
  1078. package/dist/templates/motion/autumn-harvest-year-reel.js +7 -7
  1079. package/dist/templates/motion/back-to-school-timetable-reel.js +7 -7
  1080. package/dist/templates/motion/bauhaus-launch-reel.js +7 -7
  1081. package/dist/templates/motion/black-friday-coupons-deal-reel.js +7 -7
  1082. package/dist/templates/motion/black-friday-coupons-last-day.js +7 -7
  1083. package/dist/templates/motion/black-friday-deal-drop.js +7 -7
  1084. package/dist/templates/motion/black-friday-neon-deal-reel.js +7 -7
  1085. package/dist/templates/motion/black-friday-neon-last-day.js +7 -7
  1086. package/dist/templates/motion/black-friday-scratch-countdown.js +7 -7
  1087. package/dist/templates/motion/black-friday-scratch-deal-reel.js +7 -7
  1088. package/dist/templates/motion/black-friday-scratch-last-day.js +7 -7
  1089. package/dist/templates/motion/black-friday-ticker-deal-drop.js +7 -7
  1090. package/dist/templates/motion/black-friday-ticker-last-call.js +7 -7
  1091. package/dist/templates/motion/blueprint-rev-b-reel.js +7 -7
  1092. package/dist/templates/motion/broadsheet-launch-reel.js +7 -7
  1093. package/dist/templates/motion/broadsheet-milestone-post.js +7 -7
  1094. package/dist/templates/motion/claymation-launch-reel.js +7 -7
  1095. package/dist/templates/motion/comic-book-issue-reel.js +7 -7
  1096. package/dist/templates/motion/countdown.js +7 -7
  1097. package/dist/templates/motion/cyberpunk-lock-on-reel.js +7 -7
  1098. package/dist/templates/motion/departure-board-reel.js +7 -7
  1099. package/dist/templates/motion/diwali-lamps-reel.js +7 -7
  1100. package/dist/templates/motion/earth-day-footprint-reel.js +7 -7
  1101. package/dist/templates/motion/earth-day-pledge-post.js +7 -7
  1102. package/dist/templates/motion/festival-presale-electronic-countdown.js +9 -9
  1103. package/dist/templates/motion/festival-presale-electronic-lineup.js +9 -9
  1104. package/dist/templates/motion/festival-presale-electronic-reel.js +9 -9
  1105. package/dist/templates/motion/festival-presale-electronic-tier.js +9 -9
  1106. package/dist/templates/motion/festival-presale-family-countdown.js +9 -9
  1107. package/dist/templates/motion/festival-presale-family-lineup.js +9 -9
  1108. package/dist/templates/motion/festival-presale-family-reel.js +9 -9
  1109. package/dist/templates/motion/festival-presale-family-tier.js +9 -9
  1110. package/dist/templates/motion/festival-presale-folk-countdown.js +9 -9
  1111. package/dist/templates/motion/festival-presale-folk-lineup.js +9 -9
  1112. package/dist/templates/motion/festival-presale-folk-reel.js +9 -9
  1113. package/dist/templates/motion/festival-presale-folk-tier.js +9 -9
  1114. package/dist/templates/motion/festival-presale-food-countdown.js +9 -9
  1115. package/dist/templates/motion/festival-presale-food-lineup.js +9 -9
  1116. package/dist/templates/motion/festival-presale-food-reel.js +9 -9
  1117. package/dist/templates/motion/festival-presale-food-tier.js +9 -9
  1118. package/dist/templates/motion/festival-presale-jazz-countdown.js +9 -9
  1119. package/dist/templates/motion/festival-presale-jazz-lineup.js +9 -9
  1120. package/dist/templates/motion/festival-presale-jazz-reel.js +9 -9
  1121. package/dist/templates/motion/festival-presale-jazz-tier.js +9 -9
  1122. package/dist/templates/motion/festival-presale-street-countdown.js +9 -9
  1123. package/dist/templates/motion/festival-presale-street-lineup.js +9 -9
  1124. package/dist/templates/motion/festival-presale-street-reel.js +9 -9
  1125. package/dist/templates/motion/festival-presale-street-tier.js +9 -9
  1126. package/dist/templates/motion/gothic-launch-reel.js +7 -7
  1127. package/dist/templates/motion/halloween-graveyard-reel.js +7 -7
  1128. package/dist/templates/motion/instagram-promo.js +7 -7
  1129. package/dist/templates/motion/kinetic-headline.js +7 -7
  1130. package/dist/templates/motion/landing-hero/index.js +9 -9
  1131. package/dist/templates/motion/launch-trailer/document.js +825 -825
  1132. package/dist/templates/motion/launch-trailer/index.js +9 -9
  1133. package/dist/templates/motion/launch-trailer/scenes.js +8 -8
  1134. package/dist/templates/motion/logo-reveal.js +7 -7
  1135. package/dist/templates/motion/lower-third.js +7 -7
  1136. package/dist/templates/motion/lunar-new-year-envelope-reel.js +7 -7
  1137. package/dist/templates/motion/machined-trailer.js +7 -7
  1138. package/dist/templates/motion/manuscript-launch-reel.js +7 -7
  1139. package/dist/templates/motion/new-year-ball-drop-reel.js +7 -7
  1140. package/dist/templates/motion/noir-case-reel.js +7 -7
  1141. package/dist/templates/motion/pitch-title.js +7 -7
  1142. package/dist/templates/motion/psychedelic-gig-reel.js +7 -7
  1143. package/dist/templates/motion/riso-zine-launch-reel.js +7 -7
  1144. package/dist/templates/motion/saas-ai-prompt.js +7 -7
  1145. package/dist/templates/motion/saas-before-after.js +7 -7
  1146. package/dist/templates/motion/saas-changelog-drop.js +7 -7
  1147. package/dist/templates/motion/saas-film-webinar-opener.js +7 -7
  1148. package/dist/templates/motion/saas-hook-features.js +7 -7
  1149. package/dist/templates/motion/saas-mrr-milestone.js +7 -7
  1150. package/dist/templates/motion/saas-screen-demo.js +7 -7
  1151. package/dist/templates/motion/saas-store-install-ad.js +7 -7
  1152. package/dist/templates/motion/saas-testimonial.js +7 -7
  1153. package/dist/templates/motion/saas-vs-comparison.js +7 -7
  1154. package/dist/templates/motion/singles-day-flash-post.js +7 -7
  1155. package/dist/templates/motion/singles-day-live-reel.js +7 -7
  1156. package/dist/templates/motion/smooth-loop.js +7 -7
  1157. package/dist/templates/motion/solarpunk-rooftop-reel.js +7 -7
  1158. package/dist/templates/motion/space-opera-countdown-reel.js +7 -7
  1159. package/dist/templates/motion/spring-bloom-first-hundred-post.js +7 -7
  1160. package/dist/templates/motion/spring-bloom-first-shoots-reel.js +7 -7
  1161. package/dist/templates/motion/stat-pop.js +7 -7
  1162. package/dist/templates/motion/style-bento-feature-demo.js +7 -7
  1163. package/dist/templates/motion/style-bento-launch-reel.js +7 -7
  1164. package/dist/templates/motion/style-brutalist-feature-demo.js +7 -7
  1165. package/dist/templates/motion/style-brutalist-launch-reel.js +7 -7
  1166. package/dist/templates/motion/style-dark-feature-demo.js +7 -7
  1167. package/dist/templates/motion/style-dark-launch-reel.js +7 -7
  1168. package/dist/templates/motion/style-data-feature-demo.js +7 -7
  1169. package/dist/templates/motion/style-data-launch-reel.js +7 -7
  1170. package/dist/templates/motion/style-editorial-feature-demo.js +7 -7
  1171. package/dist/templates/motion/style-editorial-launch-reel.js +7 -7
  1172. package/dist/templates/motion/style-glass-feature-demo.js +7 -7
  1173. package/dist/templates/motion/style-glass-launch-reel.js +7 -7
  1174. package/dist/templates/motion/style-gradient-feature-demo.js +7 -7
  1175. package/dist/templates/motion/style-gradient-launch-reel.js +7 -7
  1176. package/dist/templates/motion/style-maximal-beat-cut.js +7 -7
  1177. package/dist/templates/motion/style-maximal-feature-demo.js +7 -7
  1178. package/dist/templates/motion/style-maximal-launch-reel.js +7 -7
  1179. package/dist/templates/motion/style-pastel-feature-demo.js +7 -7
  1180. package/dist/templates/motion/style-pastel-launch-reel.js +7 -7
  1181. package/dist/templates/motion/style-sketch-feature-demo.js +7 -7
  1182. package/dist/templates/motion/style-sketch-launch-reel.js +7 -7
  1183. package/dist/templates/motion/style-swiss-feature-demo.js +7 -7
  1184. package/dist/templates/motion/style-swiss-launch-reel.js +7 -7
  1185. package/dist/templates/motion/style-terminal-feature-demo.js +7 -7
  1186. package/dist/templates/motion/style-terminal-launch-reel.js +7 -7
  1187. package/dist/templates/motion/summer-heatwave-lido-reel.js +7 -7
  1188. package/dist/templates/motion/template-wall.js +7 -7
  1189. package/dist/templates/motion/title-card-3d.js +7 -7
  1190. package/dist/templates/motion/tour-tickets-june-city.js +7 -7
  1191. package/dist/templates/motion/tour-tickets-june-dates.js +7 -7
  1192. package/dist/templates/motion/tour-tickets-june-final.js +7 -7
  1193. package/dist/templates/motion/tour-tickets-june-reel.js +7 -7
  1194. package/dist/templates/motion/tour-tickets-tide-city.js +7 -7
  1195. package/dist/templates/motion/tour-tickets-tide-dates.js +7 -7
  1196. package/dist/templates/motion/tour-tickets-tide-final.js +7 -7
  1197. package/dist/templates/motion/tour-tickets-tide-reel.js +7 -7
  1198. package/dist/templates/motion/tour-tickets-wreck-city.js +7 -7
  1199. package/dist/templates/motion/tour-tickets-wreck-dates.js +7 -7
  1200. package/dist/templates/motion/tour-tickets-wreck-final.js +7 -7
  1201. package/dist/templates/motion/tour-tickets-wreck-reel.js +7 -7
  1202. package/dist/templates/motion/transit-map-line-opening.js +7 -7
  1203. package/dist/templates/motion/transit-map-milestone-post.js +7 -7
  1204. package/dist/templates/motion/ukiyo-e-launch-reel.js +7 -7
  1205. package/dist/templates/motion/valentines-breakup-reel.js +7 -7
  1206. package/dist/templates/motion/vaporwave-launch-reel.js +7 -7
  1207. package/dist/templates/motion/winter-cosy-heads-down-post.js +7 -7
  1208. package/dist/templates/motion/winter-cosy-hibernation-reel.js +7 -7
  1209. package/dist/templates/motion/winter-holidays-advent-reel.js +7 -7
  1210. package/dist/templates/motion3d/app-store-preview.js +7 -7
  1211. package/dist/templates/motion3d/before-after-swing.js +7 -7
  1212. package/dist/templates/motion3d/burger-reveal.js +7 -7
  1213. package/dist/templates/motion3d/coverflow.js +7 -7
  1214. package/dist/templates/motion3d/exploded-ui.js +7 -7
  1215. package/dist/templates/motion3d/feature-flip.js +7 -7
  1216. package/dist/templates/motion3d/kinetic-reveal.js +7 -7
  1217. package/dist/templates/motion3d/laptop-reveal.js +7 -7
  1218. package/dist/templates/motion3d/logo-extrude.js +7 -7
  1219. package/dist/templates/motion3d/parallax-cascade.js +7 -7
  1220. package/dist/templates/motion3d/phone-orbit.js +7 -7
  1221. package/dist/templates/motion3d/pricing-fan.js +7 -7
  1222. package/dist/templates/motion3d/product-turntable.js +7 -7
  1223. package/dist/templates/motion3d/saas-film-cinematic-trailer.js +7 -7
  1224. package/dist/templates/motion3d/screen-wall.js +7 -7
  1225. package/dist/templates/motion3d/vertical-promo.js +7 -7
  1226. package/dist/templates/music/edm-drop.js +7 -7
  1227. package/dist/templates/music/festival-lineup.js +7 -7
  1228. package/dist/templates/music/hiphop-lyrics.js +7 -7
  1229. package/dist/templates/music/indie-poster.js +7 -7
  1230. package/dist/templates/music/lofi-loop.js +7 -7
  1231. package/dist/templates/music/podcast-audiogram.js +7 -7
  1232. package/dist/templates/music/synthwave-tunnel.js +7 -7
  1233. package/dist/templates/print/comic-hero-cascade.js +7 -7
  1234. package/dist/templates/print/comic-hero-chase.js +7 -7
  1235. package/dist/templates/print/comic-hero-cover-modern.js +7 -7
  1236. package/dist/templates/print/comic-hero-grid-break.js +7 -7
  1237. package/dist/templates/print/comic-hero-interrogation.js +7 -7
  1238. package/dist/templates/print/comic-hero-issue.js +18 -18
  1239. package/dist/templates/print/comic-hero-manga-action.js +7 -7
  1240. package/dist/templates/print/comic-hero-nested.js +7 -7
  1241. package/dist/templates/print/comic-hero-overlap.js +7 -7
  1242. package/dist/templates/print/comic-hero-parallel.js +7 -7
  1243. package/dist/templates/print/comic-hero-pinup.js +7 -7
  1244. package/dist/templates/print/comic-hero-widescreen.js +7 -7
  1245. package/dist/templates/print/comic-modern-action-slant.js +7 -7
  1246. package/dist/templates/print/comic-modern-cover-pulp.js +7 -7
  1247. package/dist/templates/print/comic-modern-flashback.js +7 -7
  1248. package/dist/templates/print/comic-modern-issue.js +16 -16
  1249. package/dist/templates/print/comic-modern-nine-grid.js +7 -7
  1250. package/dist/templates/print/comic-modern-page-classic.js +7 -7
  1251. package/dist/templates/print/comic-modern-polyptych.js +7 -7
  1252. package/dist/templates/print/comic-modern-radial.js +7 -7
  1253. package/dist/templates/print/comic-modern-splash.js +7 -7
  1254. package/dist/templates/print/comic-modern-spread.js +7 -7
  1255. package/dist/templates/print/everyday-save-the-date.js +7 -7
  1256. package/dist/templates/print/everyday-specials-board.js +7 -7
  1257. package/dist/templates/print/holidays-christmas-church-newsletter.js +7 -7
  1258. package/dist/templates/print/holidays-christmas-eve-invitation.js +7 -7
  1259. package/dist/templates/print/holidays-christmas-gift-tags.js +7 -7
  1260. package/dist/templates/print/holidays-diwali-party-invitation.js +7 -7
  1261. package/dist/templates/print/holidays-easter-activity-sheet.js +7 -7
  1262. package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +7 -7
  1263. package/dist/templates/print/holidays-eid-dinner-invitation.js +7 -7
  1264. package/dist/templates/print/holidays-eid-gift-tags.js +7 -7
  1265. package/dist/templates/print/holidays-halloween-party-invitation.js +7 -7
  1266. package/dist/templates/print/holidays-halloween-treat-labels.js +7 -7
  1267. package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +7 -7
  1268. package/dist/templates/print/holidays-hanukkah-activity-sheet.js +7 -7
  1269. package/dist/templates/print/holidays-hanukkah-party-invitation.js +7 -7
  1270. package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +7 -7
  1271. package/dist/templates/print/holidays-new-years-eve-poster.js +7 -7
  1272. package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +7 -7
  1273. package/dist/templates/print/holidays-thanksgiving-place-cards.js +7 -7
  1274. package/dist/templates/print/holidays-valentines-dinner-menu.js +7 -7
  1275. package/dist/templates/print/knit-christmas-tree-sweater.js +7 -7
  1276. package/dist/templates/print/knit-nordic-snowflake-sweater.js +7 -7
  1277. package/dist/templates/print/knit-snowflake-beanie.js +7 -7
  1278. package/dist/templates/print/printshop-booklet-open-day.js +7 -7
  1279. package/dist/templates/print/printshop-brochure-community.js +7 -7
  1280. package/dist/templates/print/printshop-brochure-dental.js +7 -7
  1281. package/dist/templates/print/printshop-brochure-gym.js +7 -7
  1282. package/dist/templates/print/printshop-brochure-landscaping.js +7 -7
  1283. package/dist/templates/print/printshop-brochure-travel.js +7 -7
  1284. package/dist/templates/print/printshop-card-architect.js +7 -7
  1285. package/dist/templates/print/printshop-card-barber.js +7 -7
  1286. package/dist/templates/print/printshop-card-cafe.js +7 -7
  1287. package/dist/templates/print/printshop-card-developer.js +7 -7
  1288. package/dist/templates/print/printshop-card-florist.js +7 -7
  1289. package/dist/templates/print/printshop-card-lawyer.js +7 -7
  1290. package/dist/templates/print/printshop-card-photographer.js +7 -7
  1291. package/dist/templates/print/printshop-card-plumber.js +7 -7
  1292. package/dist/templates/print/printshop-card-realtor.js +7 -7
  1293. package/dist/templates/print/printshop-card-yoga.js +7 -7
  1294. package/dist/templates/print/printshop-flyer-charity-run.js +7 -7
  1295. package/dist/templates/print/printshop-flyer-farmers-market.js +7 -7
  1296. package/dist/templates/print/printshop-flyer-garage-sale.js +7 -7
  1297. package/dist/templates/print/printshop-flyer-grand-opening.js +7 -7
  1298. package/dist/templates/print/printshop-flyer-lost-pet.js +7 -7
  1299. package/dist/templates/print/printshop-flyer-tutoring.js +7 -7
  1300. package/dist/templates/print/printshop-flyer-yard-work.js +7 -7
  1301. package/dist/templates/print/printshop-poster-live-music.js +7 -7
  1302. package/dist/templates/print/studio-class-timetable-poster.js +7 -7
  1303. package/dist/templates/print/studio-portfolio-booklet.js +7 -7
  1304. package/dist/templates/saas/email-decks-shared.js +8 -8
  1305. package/dist/templates/saas/email-decks.js +19 -19
  1306. package/dist/templates/saas/index.js +190 -190
  1307. package/dist/templates/saas/launch-kit.js +16 -16
  1308. package/dist/templates/saas/launch-video.js +13 -13
  1309. package/dist/templates/saas/lottie-shared.js +8 -8
  1310. package/dist/templates/saas/stores.js +16 -16
  1311. package/dist/templates/saas/style-bento.js +16 -16
  1312. package/dist/templates/saas/style-brutalist.js +16 -16
  1313. package/dist/templates/saas/style-dark.js +16 -16
  1314. package/dist/templates/saas/style-data.js +16 -16
  1315. package/dist/templates/saas/style-editorial.js +16 -16
  1316. package/dist/templates/saas/style-glass.js +16 -16
  1317. package/dist/templates/saas/style-gradient.js +16 -16
  1318. package/dist/templates/saas/style-maximal.js +17 -17
  1319. package/dist/templates/saas/style-pastel.js +16 -16
  1320. package/dist/templates/saas/style-sketch.js +16 -16
  1321. package/dist/templates/saas/style-swiss.js +16 -16
  1322. package/dist/templates/saas/style-terminal.js +16 -16
  1323. package/dist/templates/saas/video.js +15 -15
  1324. package/dist/templates/saas/web.js +19 -19
  1325. package/dist/templates/scenes/before-after.js +7 -7
  1326. package/dist/templates/scenes/carousel-video.js +7 -7
  1327. package/dist/templates/scenes/saas-film-app-preview.js +7 -7
  1328. package/dist/templates/scenes/saas-film-bright-trailer.js +7 -7
  1329. package/dist/templates/scenes/saas-film-product-hunt-launch.js +7 -7
  1330. package/dist/templates/scenes/saas-film-youtube-demo-kit.js +7 -7
  1331. package/dist/templates/scenes/story-ad.js +7 -7
  1332. package/dist/templates/scenes/story-bakery.js +7 -7
  1333. package/dist/templates/scenes/story-fitness.js +7 -7
  1334. package/dist/templates/scenes/story-hotel.js +7 -7
  1335. package/dist/templates/scenes/transitions-pack.js +7 -7
  1336. package/dist/templates/scenes/web-scroll.js +7 -7
  1337. package/dist/templates/slides/agenda.js +8 -8
  1338. package/dist/templates/slides/deck.js +7 -7
  1339. package/dist/templates/slides/education.js +8 -8
  1340. package/dist/templates/slides/launch.js +8 -8
  1341. package/dist/templates/slides/layouts.js +8 -8
  1342. package/dist/templates/slides/pitch.js +8 -8
  1343. package/dist/templates/slides/report.js +8 -8
  1344. package/dist/templates/slides/saas-mail-investor-update.js +9 -9
  1345. package/dist/templates/slides/saas-mail-seed-pitch.js +9 -9
  1346. package/dist/templates/slides/sales.js +8 -8
  1347. package/dist/templates/slides/section-divider.js +8 -8
  1348. package/dist/templates/slides/title-card.js +8 -8
  1349. package/dist/templates/slides/training.js +8 -8
  1350. package/dist/templates/slides/webinar.js +8 -8
  1351. package/dist/templates/slideshow/adoption.js +8 -8
  1352. package/dist/templates/slideshow/baby.js +8 -8
  1353. package/dist/templates/slideshow/birthday.js +8 -8
  1354. package/dist/templates/slideshow/graduation.js +8 -8
  1355. package/dist/templates/slideshow/holiday.js +8 -8
  1356. package/dist/templates/slideshow/home.js +8 -8
  1357. package/dist/templates/slideshow/index.js +15 -15
  1358. package/dist/templates/slideshow/lease.js +8 -8
  1359. package/dist/templates/slideshow/memorial.js +8 -8
  1360. package/dist/templates/slideshow/portfolio.js +8 -8
  1361. package/dist/templates/slideshow/product.js +8 -8
  1362. package/dist/templates/slideshow/recipe.js +8 -8
  1363. package/dist/templates/slideshow/shared.js +7 -7
  1364. package/dist/templates/slideshow/team.js +8 -8
  1365. package/dist/templates/slideshow/travel.js +8 -8
  1366. package/dist/templates/slideshow/wedding.js +8 -8
  1367. package/dist/templates/slideshow/year.js +8 -8
  1368. package/dist/templates/social/april-fools-link-preview.js +7 -7
  1369. package/dist/templates/social/april-fools-price-slash-post.js +7 -7
  1370. package/dist/templates/social/arcade-boss-fight.js +7 -7
  1371. package/dist/templates/social/arcade-level-up.js +7 -7
  1372. package/dist/templates/social/art-deco-link-preview.js +7 -7
  1373. package/dist/templates/social/art-deco-premiere-post.js +7 -7
  1374. package/dist/templates/social/autumn-harvest-link-preview.js +7 -7
  1375. package/dist/templates/social/autumn-harvest-thanks-post.js +7 -7
  1376. package/dist/templates/social/back-to-school-link-preview.js +7 -7
  1377. package/dist/templates/social/back-to-school-report-card-post.js +7 -7
  1378. package/dist/templates/social/bauhaus-drift-post.js +7 -7
  1379. package/dist/templates/social/bauhaus-link-preview.js +7 -7
  1380. package/dist/templates/social/bauhaus-pricing-post.js +7 -7
  1381. package/dist/templates/social/black-friday-ads.js +7 -7
  1382. package/dist/templates/social/black-friday-countdown.js +7 -7
  1383. package/dist/templates/social/black-friday-coupons-ads.js +7 -7
  1384. package/dist/templates/social/black-friday-coupons-countdown.js +7 -7
  1385. package/dist/templates/social/black-friday-neon-ads.js +7 -7
  1386. package/dist/templates/social/black-friday-neon-countdown.js +7 -7
  1387. package/dist/templates/social/black-friday-scratch-ads.js +7 -7
  1388. package/dist/templates/social/black-friday-ticker-ads.js +7 -7
  1389. package/dist/templates/social/black-friday-ticker-countdown.js +7 -7
  1390. package/dist/templates/social/blueprint-dimension-post.js +7 -7
  1391. package/dist/templates/social/blueprint-link-preview.js +7 -7
  1392. package/dist/templates/social/blueprint-parts-list-post.js +7 -7
  1393. package/dist/templates/social/broadsheet-hiring-classifieds.js +7 -7
  1394. package/dist/templates/social/broadsheet-link-preview.js +7 -7
  1395. package/dist/templates/social/claymation-link-preview.js +7 -7
  1396. package/dist/templates/social/claymation-streak-post.js +7 -7
  1397. package/dist/templates/social/comic-book-cover-preview.js +7 -7
  1398. package/dist/templates/social/comic-book-strip-post.js +7 -7
  1399. package/dist/templates/social/cyberpunk-implant-post.js +7 -7
  1400. package/dist/templates/social/cyberpunk-link-preview.js +7 -7
  1401. package/dist/templates/social/departure-board-pass-ad.js +7 -7
  1402. package/dist/templates/social/departure-board-store-set.js +7 -7
  1403. package/dist/templates/social/departure-board-thanks-post.js +7 -7
  1404. package/dist/templates/social/diwali-link-preview.js +7 -7
  1405. package/dist/templates/social/diwali-thanks-post.js +7 -7
  1406. package/dist/templates/social/earth-day-link-preview.js +7 -7
  1407. package/dist/templates/social/everyday-save-the-date-post.js +7 -7
  1408. package/dist/templates/social/festival-presale-electronic-ads.js +9 -9
  1409. package/dist/templates/social/festival-presale-family-ads.js +9 -9
  1410. package/dist/templates/social/festival-presale-folk-ads.js +9 -9
  1411. package/dist/templates/social/festival-presale-food-ads.js +9 -9
  1412. package/dist/templates/social/festival-presale-jazz-ads.js +9 -9
  1413. package/dist/templates/social/festival-presale-street-ads.js +9 -9
  1414. package/dist/templates/social/gothic-feature-post.js +7 -7
  1415. package/dist/templates/social/gothic-link-preview.js +7 -7
  1416. package/dist/templates/social/halloween-link-preview.js +7 -7
  1417. package/dist/templates/social/halloween-offer-post.js +7 -7
  1418. package/dist/templates/social/holidays-diwali-sweet-shop-post.js +7 -7
  1419. package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +7 -7
  1420. package/dist/templates/social/holidays-new-years-eve-shop-hours.js +7 -7
  1421. package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +7 -7
  1422. package/dist/templates/social/holidays-valentines-florist-post.js +7 -7
  1423. package/dist/templates/social/lunar-new-year-greeting-post.js +7 -7
  1424. package/dist/templates/social/lunar-new-year-link-preview.js +7 -7
  1425. package/dist/templates/social/machined-link-preview.js +7 -7
  1426. package/dist/templates/social/machined-plate-post.js +7 -7
  1427. package/dist/templates/social/manuscript-chapter-post.js +7 -7
  1428. package/dist/templates/social/manuscript-link-preview.js +7 -7
  1429. package/dist/templates/social/new-year-link-preview.js +7 -7
  1430. package/dist/templates/social/new-year-resolutions-post.js +7 -7
  1431. package/dist/templates/social/noir-case-file.js +7 -7
  1432. package/dist/templates/social/noir-feature-post.js +7 -7
  1433. package/dist/templates/social/post-announcement.js +7 -7
  1434. package/dist/templates/social/post-event.js +7 -7
  1435. package/dist/templates/social/post-podcast.js +7 -7
  1436. package/dist/templates/social/post-quote.js +7 -7
  1437. package/dist/templates/social/post-sale.js +7 -7
  1438. package/dist/templates/social/post-stat.js +7 -7
  1439. package/dist/templates/social/post-testimonial.js +7 -7
  1440. package/dist/templates/social/promo-announcement.js +7 -7
  1441. package/dist/templates/social/promo-beat-drop.js +7 -7
  1442. package/dist/templates/social/promo-event.js +7 -7
  1443. package/dist/templates/social/promo-new-product.js +7 -7
  1444. package/dist/templates/social/promo-quote-reveal.js +7 -7
  1445. package/dist/templates/social/promo-sale-drop.js +7 -7
  1446. package/dist/templates/social/promo-tip-list.js +7 -7
  1447. package/dist/templates/social/psychedelic-lineup-post.js +7 -7
  1448. package/dist/templates/social/psychedelic-link-preview.js +7 -7
  1449. package/dist/templates/social/riso-zine-link-preview.js +7 -7
  1450. package/dist/templates/social/riso-zine-mrr-poster.js +7 -7
  1451. package/dist/templates/social/saas-kit-carousel.js +7 -7
  1452. package/dist/templates/social/saas-kit-countdown-post.js +7 -7
  1453. package/dist/templates/social/saas-kit-feature-drop.js +7 -7
  1454. package/dist/templates/social/saas-kit-link-preview.js +7 -7
  1455. package/dist/templates/social/saas-kit-live-post.js +7 -7
  1456. package/dist/templates/social/saas-kit-mrr-card.js +7 -7
  1457. package/dist/templates/social/saas-kit-ph-gallery.js +7 -7
  1458. package/dist/templates/social/saas-kit-ph-thumb.js +7 -7
  1459. package/dist/templates/social/saas-kit-youtube-thumbs.js +7 -7
  1460. package/dist/templates/social/saas-store-b2b-ads.js +7 -7
  1461. package/dist/templates/social/saas-store-caption-set.js +7 -7
  1462. package/dist/templates/social/saas-store-chrome-kit.js +7 -7
  1463. package/dist/templates/social/saas-store-ipad-set.js +7 -7
  1464. package/dist/templates/social/saas-store-panorama.js +7 -7
  1465. package/dist/templates/social/saas-store-play-kit.js +7 -7
  1466. package/dist/templates/social/saas-store-story.js +7 -7
  1467. package/dist/templates/social/singles-day-link-preview.js +7 -7
  1468. package/dist/templates/social/solarpunk-impact-post.js +7 -7
  1469. package/dist/templates/social/solarpunk-link-preview.js +7 -7
  1470. package/dist/templates/social/space-opera-link-preview.js +7 -7
  1471. package/dist/templates/social/space-opera-mission-patch-post.js +7 -7
  1472. package/dist/templates/social/spring-bloom-link-preview.js +7 -7
  1473. package/dist/templates/social/studio-class-timetable.js +7 -7
  1474. package/dist/templates/social/studio-podcast-cover.js +7 -7
  1475. package/dist/templates/social/style-bento-announcement.js +7 -7
  1476. package/dist/templates/social/style-bento-link-preview.js +7 -7
  1477. package/dist/templates/social/style-bento-milestone.js +7 -7
  1478. package/dist/templates/social/style-bento-testimonial.js +7 -7
  1479. package/dist/templates/social/style-brutalist-announcement.js +7 -7
  1480. package/dist/templates/social/style-brutalist-link-preview.js +7 -7
  1481. package/dist/templates/social/style-brutalist-milestone.js +7 -7
  1482. package/dist/templates/social/style-brutalist-testimonial.js +7 -7
  1483. package/dist/templates/social/style-dark-announcement.js +7 -7
  1484. package/dist/templates/social/style-dark-link-preview.js +7 -7
  1485. package/dist/templates/social/style-dark-milestone.js +7 -7
  1486. package/dist/templates/social/style-dark-testimonial.js +7 -7
  1487. package/dist/templates/social/style-data-announcement.js +7 -7
  1488. package/dist/templates/social/style-data-link-preview.js +7 -7
  1489. package/dist/templates/social/style-data-milestone.js +7 -7
  1490. package/dist/templates/social/style-data-testimonial.js +7 -7
  1491. package/dist/templates/social/style-editorial-announcement.js +7 -7
  1492. package/dist/templates/social/style-editorial-link-preview.js +7 -7
  1493. package/dist/templates/social/style-editorial-milestone.js +7 -7
  1494. package/dist/templates/social/style-editorial-testimonial.js +7 -7
  1495. package/dist/templates/social/style-glass-announcement.js +7 -7
  1496. package/dist/templates/social/style-glass-link-preview.js +7 -7
  1497. package/dist/templates/social/style-glass-milestone.js +7 -7
  1498. package/dist/templates/social/style-glass-testimonial.js +7 -7
  1499. package/dist/templates/social/style-gradient-announcement.js +7 -7
  1500. package/dist/templates/social/style-gradient-link-preview.js +7 -7
  1501. package/dist/templates/social/style-gradient-milestone.js +7 -7
  1502. package/dist/templates/social/style-gradient-testimonial.js +7 -7
  1503. package/dist/templates/social/style-maximal-announcement.js +7 -7
  1504. package/dist/templates/social/style-maximal-link-preview.js +7 -7
  1505. package/dist/templates/social/style-maximal-milestone.js +7 -7
  1506. package/dist/templates/social/style-maximal-testimonial.js +7 -7
  1507. package/dist/templates/social/style-pastel-announcement.js +7 -7
  1508. package/dist/templates/social/style-pastel-link-preview.js +7 -7
  1509. package/dist/templates/social/style-pastel-milestone.js +7 -7
  1510. package/dist/templates/social/style-pastel-testimonial.js +7 -7
  1511. package/dist/templates/social/style-sketch-announcement.js +7 -7
  1512. package/dist/templates/social/style-sketch-link-preview.js +7 -7
  1513. package/dist/templates/social/style-sketch-milestone.js +7 -7
  1514. package/dist/templates/social/style-sketch-testimonial.js +7 -7
  1515. package/dist/templates/social/style-swiss-announcement.js +7 -7
  1516. package/dist/templates/social/style-swiss-link-preview.js +7 -7
  1517. package/dist/templates/social/style-swiss-milestone.js +7 -7
  1518. package/dist/templates/social/style-swiss-testimonial.js +7 -7
  1519. package/dist/templates/social/style-terminal-announcement.js +7 -7
  1520. package/dist/templates/social/style-terminal-link-preview.js +7 -7
  1521. package/dist/templates/social/style-terminal-milestone.js +7 -7
  1522. package/dist/templates/social/style-terminal-testimonial.js +7 -7
  1523. package/dist/templates/social/summer-heatwave-link-preview.js +7 -7
  1524. package/dist/templates/social/summer-heatwave-lolly-post.js +7 -7
  1525. package/dist/templates/social/tour-tickets-june-ads.js +7 -7
  1526. package/dist/templates/social/tour-tickets-tide-ads.js +7 -7
  1527. package/dist/templates/social/tour-tickets-wreck-ads.js +7 -7
  1528. package/dist/templates/social/transit-map-link-preview.js +7 -7
  1529. package/dist/templates/social/ukiyo-e-link-preview.js +7 -7
  1530. package/dist/templates/social/ukiyo-e-spike-post.js +7 -7
  1531. package/dist/templates/social/valentines-link-preview.js +7 -7
  1532. package/dist/templates/social/valentines-poem-post.js +7 -7
  1533. package/dist/templates/social/vaporwave-feature-drop.js +7 -7
  1534. package/dist/templates/social/vaporwave-link-preview.js +7 -7
  1535. package/dist/templates/social/winter-cosy-link-preview.js +7 -7
  1536. package/dist/templates/social/winter-holidays-link-preview.js +7 -7
  1537. package/dist/templates/social/winter-holidays-thanks-post.js +7 -7
  1538. package/dist/templates/stings/line-reveal.js +7 -7
  1539. package/dist/templates/stings/sting-blur.js +7 -7
  1540. package/dist/templates/stings/sting-pop.js +7 -7
  1541. package/dist/templates/stings/sting-rise.js +7 -7
  1542. package/dist/templates/stings/sting-shimmer.js +7 -7
  1543. package/dist/templates/stings/word-swap.js +7 -7
  1544. package/dist/templates/text/stat-counter.js +7 -7
  1545. package/dist/templates/text/word-quote.js +7 -7
  1546. package/dist/templates/themes/april-fools.js +12 -12
  1547. package/dist/templates/themes/arcade.js +11 -11
  1548. package/dist/templates/themes/art-deco.js +12 -12
  1549. package/dist/templates/themes/autumn-harvest.js +12 -12
  1550. package/dist/templates/themes/back-to-school.js +12 -12
  1551. package/dist/templates/themes/bauhaus.js +12 -12
  1552. package/dist/templates/themes/black-friday-coupons.js +13 -13
  1553. package/dist/templates/themes/black-friday-neon.js +13 -13
  1554. package/dist/templates/themes/black-friday-scratch.js +13 -13
  1555. package/dist/templates/themes/black-friday-ticker.js +13 -13
  1556. package/dist/templates/themes/black-friday.js +12 -12
  1557. package/dist/templates/themes/blueprint.js +12 -12
  1558. package/dist/templates/themes/broadsheet.js +13 -13
  1559. package/dist/templates/themes/claymation.js +12 -12
  1560. package/dist/templates/themes/comic-book.js +21 -21
  1561. package/dist/templates/themes/comic-hero.js +19 -19
  1562. package/dist/templates/themes/comic-indie.js +7 -7
  1563. package/dist/templates/themes/cyberpunk.js +12 -12
  1564. package/dist/templates/themes/departure-board.js +12 -12
  1565. package/dist/templates/themes/diwali.js +12 -12
  1566. package/dist/templates/themes/earth-day.js +12 -12
  1567. package/dist/templates/themes/everyday.js +13 -13
  1568. package/dist/templates/themes/festival-presale-electronic-kit.js +8 -8
  1569. package/dist/templates/themes/festival-presale-family-a-shared.js +7 -7
  1570. package/dist/templates/themes/festival-presale-family-a.js +32 -32
  1571. package/dist/templates/themes/festival-presale-family-b-shared.js +7 -7
  1572. package/dist/templates/themes/festival-presale-family-b.js +32 -32
  1573. package/dist/templates/themes/festival-presale-family-kit.js +8 -8
  1574. package/dist/templates/themes/festival-presale-folk-kit.js +8 -8
  1575. package/dist/templates/themes/festival-presale-food-kit.js +8 -8
  1576. package/dist/templates/themes/festival-presale-jazz-kit.js +8 -8
  1577. package/dist/templates/themes/festival-presale-street-kit.js +8 -8
  1578. package/dist/templates/themes/festival-presale.js +13 -13
  1579. package/dist/templates/themes/gothic.js +12 -12
  1580. package/dist/templates/themes/halloween.js +12 -12
  1581. package/dist/templates/themes/holidays.js +33 -33
  1582. package/dist/templates/themes/index.js +425 -425
  1583. package/dist/templates/themes/lunar-new-year.js +12 -12
  1584. package/dist/templates/themes/machined.js +11 -11
  1585. package/dist/templates/themes/manuscript.js +12 -12
  1586. package/dist/templates/themes/memories.js +16 -16
  1587. package/dist/templates/themes/new-year.js +12 -12
  1588. package/dist/templates/themes/noir.js +12 -12
  1589. package/dist/templates/themes/printshop.js +31 -31
  1590. package/dist/templates/themes/psychedelic.js +12 -12
  1591. package/dist/templates/themes/riso-zine.js +12 -12
  1592. package/dist/templates/themes/singles-day.js +12 -12
  1593. package/dist/templates/themes/solarpunk.js +12 -12
  1594. package/dist/templates/themes/space-opera.js +12 -12
  1595. package/dist/templates/themes/spring-bloom.js +12 -12
  1596. package/dist/templates/themes/studio.js +12 -12
  1597. package/dist/templates/themes/summer-heatwave.js +12 -12
  1598. package/dist/templates/themes/tour-tickets.js +31 -31
  1599. package/dist/templates/themes/transit-map.js +12 -12
  1600. package/dist/templates/themes/ukiyo-e.js +12 -12
  1601. package/dist/templates/themes/valentines.js +12 -12
  1602. package/dist/templates/themes/vaporwave.js +11 -11
  1603. package/dist/templates/themes/winter-cosy.js +12 -12
  1604. package/dist/templates/themes/winter-holidays.js +12 -12
  1605. package/dist/templates/video/youtube-chapter.js +7 -7
  1606. package/dist/templates/video/youtube-end-screen.js +7 -7
  1607. package/dist/templates/video/youtube-intro.js +7 -7
  1608. package/dist/templates/video/youtube-subscribe.js +7 -7
  1609. package/dist/templates/web/april-fools-landing.js +7 -7
  1610. package/dist/templates/web/arcade-landing.js +7 -7
  1611. package/dist/templates/web/art-deco-landing.js +7 -7
  1612. package/dist/templates/web/autumn-harvest-landing.js +7 -7
  1613. package/dist/templates/web/back-to-school-landing.js +7 -7
  1614. package/dist/templates/web/bauhaus-landing.js +7 -7
  1615. package/dist/templates/web/black-friday-coupons-landing.js +7 -7
  1616. package/dist/templates/web/black-friday-landing.js +7 -7
  1617. package/dist/templates/web/black-friday-neon-landing.js +7 -7
  1618. package/dist/templates/web/black-friday-scratch-landing.js +7 -7
  1619. package/dist/templates/web/black-friday-ticker-landing.js +7 -7
  1620. package/dist/templates/web/blog-post.js +7 -7
  1621. package/dist/templates/web/blueprint-landing.js +7 -7
  1622. package/dist/templates/web/broadsheet-landing.js +7 -7
  1623. package/dist/templates/web/claymation-landing.js +7 -7
  1624. package/dist/templates/web/comic-book-landing.js +7 -7
  1625. package/dist/templates/web/coming-soon-page.js +7 -7
  1626. package/dist/templates/web/coming-soon.js +7 -7
  1627. package/dist/templates/web/contact.js +7 -7
  1628. package/dist/templates/web/cyberpunk-landing.js +7 -7
  1629. package/dist/templates/web/daybreak-app.js +7 -7
  1630. package/dist/templates/web/departure-board-download.js +7 -7
  1631. package/dist/templates/web/diwali-landing.js +7 -7
  1632. package/dist/templates/web/earth-day-landing.js +7 -7
  1633. package/dist/templates/web/everyday-cafe.js +7 -7
  1634. package/dist/templates/web/everyday-hotel.js +7 -7
  1635. package/dist/templates/web/everyday-wedding.js +7 -7
  1636. package/dist/templates/web/festival-presale-electronic.js +7 -7
  1637. package/dist/templates/web/festival-presale-family.js +7 -7
  1638. package/dist/templates/web/festival-presale-folk.js +7 -7
  1639. package/dist/templates/web/festival-presale-food.js +7 -7
  1640. package/dist/templates/web/festival-presale-jazz.js +7 -7
  1641. package/dist/templates/web/festival-presale-street.js +7 -7
  1642. package/dist/templates/web/gothic-landing.js +7 -7
  1643. package/dist/templates/web/halloween-landing.js +7 -7
  1644. package/dist/templates/web/hero-animated.js +7 -7
  1645. package/dist/templates/web/kindling-app.js +7 -7
  1646. package/dist/templates/web/launch-waitlist.js +7 -7
  1647. package/dist/templates/web/lunar-new-year-landing.js +7 -7
  1648. package/dist/templates/web/machined-hero.js +7 -7
  1649. package/dist/templates/web/manuscript-landing.js +7 -7
  1650. package/dist/templates/web/marginalia-app.js +7 -7
  1651. package/dist/templates/web/new-year-landing.js +7 -7
  1652. package/dist/templates/web/noir-landing.js +7 -7
  1653. package/dist/templates/web/page-404.js +7 -7
  1654. package/dist/templates/web/portfolio-architect.js +7 -7
  1655. package/dist/templates/web/portfolio-card-deck.js +7 -7
  1656. package/dist/templates/web/portfolio-case-folio.js +7 -7
  1657. package/dist/templates/web/portfolio-cube-gallery.js +7 -7
  1658. package/dist/templates/web/portfolio-depth-tunnel.js +7 -7
  1659. package/dist/templates/web/portfolio-editorial.js +7 -7
  1660. package/dist/templates/web/portfolio-flip-wall.js +7 -7
  1661. package/dist/templates/web/portfolio-index-list.js +7 -7
  1662. package/dist/templates/web/portfolio-photographer.js +7 -7
  1663. package/dist/templates/web/portfolio-reel-carousel.js +7 -7
  1664. package/dist/templates/web/portfolio-sketchbook.js +7 -7
  1665. package/dist/templates/web/portfolio-studio-grid.js +7 -7
  1666. package/dist/templates/web/portfolio.js +7 -7
  1667. package/dist/templates/web/portfolios.js +19 -19
  1668. package/dist/templates/web/potluck-app.js +7 -7
  1669. package/dist/templates/web/pricing-toggle.js +7 -7
  1670. package/dist/templates/web/product-page.js +7 -7
  1671. package/dist/templates/web/psychedelic-landing.js +7 -7
  1672. package/dist/templates/web/riso-zine-landing.js +7 -7
  1673. package/dist/templates/web/rsvp-invite.js +7 -7
  1674. package/dist/templates/web/saas-ai-landing.js +7 -7
  1675. package/dist/templates/web/saas-app-download.js +7 -7
  1676. package/dist/templates/web/saas-case-study.js +7 -7
  1677. package/dist/templates/web/saas-changelog.js +7 -7
  1678. package/dist/templates/web/saas-comparison.js +7 -7
  1679. package/dist/templates/web/saas-data-landing.js +7 -7
  1680. package/dist/templates/web/saas-dev-landing.js +7 -7
  1681. package/dist/templates/web/saas-indie-landing.js +7 -7
  1682. package/dist/templates/web/saas-integrations.js +7 -7
  1683. package/dist/templates/web/saas-security.js +7 -7
  1684. package/dist/templates/web/saas-signup.js +7 -7
  1685. package/dist/templates/web/saas-waitlist.js +7 -7
  1686. package/dist/templates/web/saffron-app.js +7 -7
  1687. package/dist/templates/web/shop-bloom.js +7 -7
  1688. package/dist/templates/web/shop-circuit.js +7 -7
  1689. package/dist/templates/web/shop-fieldwork.js +7 -7
  1690. package/dist/templates/web/shop-greenhouse.js +7 -7
  1691. package/dist/templates/web/shop-kiln.js +7 -7
  1692. package/dist/templates/web/shop-marginalia.js +7 -7
  1693. package/dist/templates/web/shop-ode.js +7 -7
  1694. package/dist/templates/web/shop-static.js +7 -7
  1695. package/dist/templates/web/shop-summit.js +7 -7
  1696. package/dist/templates/web/shops.js +16 -16
  1697. package/dist/templates/web/singles-day-landing.js +7 -7
  1698. package/dist/templates/web/solarpunk-landing.js +7 -7
  1699. package/dist/templates/web/space-opera-landing.js +7 -7
  1700. package/dist/templates/web/spring-bloom-landing.js +7 -7
  1701. package/dist/templates/web/studio-careers.js +7 -7
  1702. package/dist/templates/web/style-bento-landing.js +7 -7
  1703. package/dist/templates/web/style-bento-pricing.js +7 -7
  1704. package/dist/templates/web/style-brutalist-landing.js +7 -7
  1705. package/dist/templates/web/style-brutalist-pricing.js +7 -7
  1706. package/dist/templates/web/style-dark-landing.js +7 -7
  1707. package/dist/templates/web/style-dark-pricing.js +7 -7
  1708. package/dist/templates/web/style-data-landing.js +7 -7
  1709. package/dist/templates/web/style-data-pricing.js +7 -7
  1710. package/dist/templates/web/style-editorial-landing.js +7 -7
  1711. package/dist/templates/web/style-editorial-pricing.js +7 -7
  1712. package/dist/templates/web/style-glass-landing.js +7 -7
  1713. package/dist/templates/web/style-glass-pricing.js +7 -7
  1714. package/dist/templates/web/style-gradient-landing.js +7 -7
  1715. package/dist/templates/web/style-gradient-pricing.js +7 -7
  1716. package/dist/templates/web/style-maximal-landing.js +7 -7
  1717. package/dist/templates/web/style-maximal-pricing.js +7 -7
  1718. package/dist/templates/web/style-pastel-landing.js +7 -7
  1719. package/dist/templates/web/style-pastel-pricing.js +7 -7
  1720. package/dist/templates/web/style-sketch-landing.js +7 -7
  1721. package/dist/templates/web/style-sketch-pricing.js +7 -7
  1722. package/dist/templates/web/style-swiss-landing.js +7 -7
  1723. package/dist/templates/web/style-swiss-pricing.js +7 -7
  1724. package/dist/templates/web/style-terminal-landing.js +7 -7
  1725. package/dist/templates/web/style-terminal-pricing.js +7 -7
  1726. package/dist/templates/web/summer-heatwave-landing.js +7 -7
  1727. package/dist/templates/web/tempo-app.js +7 -7
  1728. package/dist/templates/web/tour-tickets-june-landing.js +7 -7
  1729. package/dist/templates/web/tour-tickets-tide-landing.js +7 -7
  1730. package/dist/templates/web/tour-tickets-wreck-landing.js +7 -7
  1731. package/dist/templates/web/transit-map-landing.js +7 -7
  1732. package/dist/templates/web/ukiyo-e-landing.js +7 -7
  1733. package/dist/templates/web/valentines-landing.js +7 -7
  1734. package/dist/templates/web/vaporwave-landing.js +7 -7
  1735. package/dist/templates/web/wayfarer-app.js +7 -7
  1736. package/dist/templates/web/winter-cosy-landing.js +7 -7
  1737. package/dist/templates/web/winter-holidays-landing.js +7 -7
  1738. package/package.json +1 -1
  1739. package/dist/chunks/agent-RS3FUOXH.js +0 -44
  1740. package/dist/chunks/builtin-IVWW5R7O.js +0 -121
  1741. package/dist/chunks/buy-credits-YRM6G2OD.js +0 -80
  1742. package/dist/chunks/check-template-FT3VKHL6.js +0 -2413
  1743. package/dist/chunks/chunk-22BWFKMY.js +0 -109
  1744. package/dist/chunks/chunk-22FGDACV.js +0 -74
  1745. package/dist/chunks/chunk-24OEAFQJ.js +0 -117
  1746. package/dist/chunks/chunk-24PD6B4V.js +0 -728
  1747. package/dist/chunks/chunk-24SN6LOF.js +0 -382
  1748. package/dist/chunks/chunk-2AJZOZ5D.js +0 -23
  1749. package/dist/chunks/chunk-2ASMTZMU.js +0 -204
  1750. package/dist/chunks/chunk-2BOL6THE.js +0 -74
  1751. package/dist/chunks/chunk-2C3JEKPS.js +0 -112
  1752. package/dist/chunks/chunk-2CNW4MQS.js +0 -103
  1753. package/dist/chunks/chunk-2CRDUUM3.js +0 -36
  1754. package/dist/chunks/chunk-2E6TJ7A3.js +0 -142
  1755. package/dist/chunks/chunk-2LKP4EZR.js +0 -235
  1756. package/dist/chunks/chunk-2MAWYJ5S.js +0 -276
  1757. package/dist/chunks/chunk-2O2LN4K2.js +0 -23
  1758. package/dist/chunks/chunk-2OAKI2FI.js +0 -47
  1759. package/dist/chunks/chunk-2OWO4NEH.js +0 -1469
  1760. package/dist/chunks/chunk-2S6OK3TB.js +0 -107
  1761. package/dist/chunks/chunk-2TUXV3RK.js +0 -82
  1762. package/dist/chunks/chunk-2UERBNCY.js +0 -96
  1763. package/dist/chunks/chunk-2WO3MFD6.js +0 -33
  1764. package/dist/chunks/chunk-2XMYX76C.js +0 -176
  1765. package/dist/chunks/chunk-2XQVTF2O.js +0 -91
  1766. package/dist/chunks/chunk-2XUIEQFC.js +0 -49
  1767. package/dist/chunks/chunk-2ZK4BKF3.js +0 -150
  1768. package/dist/chunks/chunk-32KS4X2Z.js +0 -60
  1769. package/dist/chunks/chunk-33RVPW4B.js +0 -82
  1770. package/dist/chunks/chunk-34AB6HR5.js +0 -161
  1771. package/dist/chunks/chunk-34JSDRER.js +0 -361
  1772. package/dist/chunks/chunk-34SD6T2Q.js +0 -23
  1773. package/dist/chunks/chunk-356VY7UL.js +0 -118
  1774. package/dist/chunks/chunk-35A6EGAN.js +0 -266
  1775. package/dist/chunks/chunk-35DPD7LA.js +0 -272
  1776. package/dist/chunks/chunk-36DEAEYS.js +0 -136
  1777. package/dist/chunks/chunk-37LWA7IA.js +0 -154
  1778. package/dist/chunks/chunk-3C5OC2SY.js +0 -282
  1779. package/dist/chunks/chunk-3CDK2SYI.js +0 -149
  1780. package/dist/chunks/chunk-3CNLOXLO.js +0 -140
  1781. package/dist/chunks/chunk-3DN2KWNZ.js +0 -136
  1782. package/dist/chunks/chunk-3HEDPEWF.js +0 -63
  1783. package/dist/chunks/chunk-3HJE2BOM.js +0 -41
  1784. package/dist/chunks/chunk-3HMO67NJ.js +0 -79
  1785. package/dist/chunks/chunk-3KAKAFE4.js +0 -151
  1786. package/dist/chunks/chunk-3KY6CNPK.js +0 -175
  1787. package/dist/chunks/chunk-3LCTLAFL.js +0 -185
  1788. package/dist/chunks/chunk-3LROF4X2.js +0 -331
  1789. package/dist/chunks/chunk-3MPFXCDH.js +0 -251
  1790. package/dist/chunks/chunk-3RAXPWBA.js +0 -85
  1791. package/dist/chunks/chunk-3RF3GGPP.js +0 -90
  1792. package/dist/chunks/chunk-3V4BGAY7.js +0 -119
  1793. package/dist/chunks/chunk-3VN3FYNM.js +0 -110
  1794. package/dist/chunks/chunk-3WDKF6I7.js +0 -226
  1795. package/dist/chunks/chunk-3ZF54K2K.js +0 -98
  1796. package/dist/chunks/chunk-3ZNKHRYZ.js +0 -99
  1797. package/dist/chunks/chunk-42KDQFX7.js +0 -287
  1798. package/dist/chunks/chunk-42Y22JBU.js +0 -157
  1799. package/dist/chunks/chunk-436ISUMQ.js +0 -172
  1800. package/dist/chunks/chunk-43U7OHPI.js +0 -171
  1801. package/dist/chunks/chunk-44TBNYOV.js +0 -258
  1802. package/dist/chunks/chunk-44YCPZLE.js +0 -33
  1803. package/dist/chunks/chunk-45SII4L7.js +0 -23
  1804. package/dist/chunks/chunk-4A6H57DA.js +0 -47
  1805. package/dist/chunks/chunk-4B6ICP7L.js +0 -105
  1806. package/dist/chunks/chunk-4BRFLBFV.js +0 -92
  1807. package/dist/chunks/chunk-4CSOSV4P.js +0 -95
  1808. package/dist/chunks/chunk-4DVCEWMC.js +0 -70
  1809. package/dist/chunks/chunk-4EYL4E5S.js +0 -36
  1810. package/dist/chunks/chunk-4FJU6ZDM.js +0 -103
  1811. package/dist/chunks/chunk-4HXQWLBG.js +0 -279
  1812. package/dist/chunks/chunk-4IWJTV2B.js +0 -23
  1813. package/dist/chunks/chunk-4JSGPHU2.js +0 -152
  1814. package/dist/chunks/chunk-4NQT23CP.js +0 -145
  1815. package/dist/chunks/chunk-4OFYXIFM.js +0 -320
  1816. package/dist/chunks/chunk-4OJ2WBFO.js +0 -70
  1817. package/dist/chunks/chunk-4OKOJ4WN.js +0 -111
  1818. package/dist/chunks/chunk-4OSMFXHS.js +0 -102
  1819. package/dist/chunks/chunk-4PHHUEXE.js +0 -131
  1820. package/dist/chunks/chunk-4RDOD3F6.js +0 -251
  1821. package/dist/chunks/chunk-4RO6EE5C.js +0 -30
  1822. package/dist/chunks/chunk-4TZC4YFW.js +0 -198
  1823. package/dist/chunks/chunk-4V7GLC6B.js +0 -103
  1824. package/dist/chunks/chunk-4VBBAZ5X.js +0 -177
  1825. package/dist/chunks/chunk-4VGRFAZO.js +0 -123
  1826. package/dist/chunks/chunk-4VQPEUUT.js +0 -117
  1827. package/dist/chunks/chunk-4XJERPHI.js +0 -293
  1828. package/dist/chunks/chunk-4XSEGIBR.js +0 -23
  1829. package/dist/chunks/chunk-4ZFGUOSI.js +0 -41
  1830. package/dist/chunks/chunk-54BDAMB4.js +0 -220
  1831. package/dist/chunks/chunk-572H7SO4.js +0 -213
  1832. package/dist/chunks/chunk-57JXRDCB.js +0 -110
  1833. package/dist/chunks/chunk-5B4TBS3J.js +0 -145
  1834. package/dist/chunks/chunk-5EELXM44.js +0 -107
  1835. package/dist/chunks/chunk-5GSFQBXH.js +0 -152
  1836. package/dist/chunks/chunk-5H5XSXBR.js +0 -118
  1837. package/dist/chunks/chunk-5HX3IITE.js +0 -212
  1838. package/dist/chunks/chunk-5JAJXMKF.js +0 -118
  1839. package/dist/chunks/chunk-5NPP4PGG.js +0 -181
  1840. package/dist/chunks/chunk-5OSWJ5IC.js +0 -96
  1841. package/dist/chunks/chunk-5PF2UEP4.js +0 -115
  1842. package/dist/chunks/chunk-5S67HC3J.js +0 -33
  1843. package/dist/chunks/chunk-5SR6IFB6.js +0 -90
  1844. package/dist/chunks/chunk-5TQOUOPK.js +0 -151
  1845. package/dist/chunks/chunk-5WO7TNZS.js +0 -247
  1846. package/dist/chunks/chunk-5WUVN7GM.js +0 -898
  1847. package/dist/chunks/chunk-5YWZWLYL.js +0 -174
  1848. package/dist/chunks/chunk-62452IH2.js +0 -163
  1849. package/dist/chunks/chunk-62SYONAO.js +0 -78
  1850. package/dist/chunks/chunk-62TMYKAA.js +0 -150
  1851. package/dist/chunks/chunk-64MY37WJ.js +0 -48
  1852. package/dist/chunks/chunk-65Z556EW.js +0 -127
  1853. package/dist/chunks/chunk-67CI6Q3R.js +0 -70
  1854. package/dist/chunks/chunk-6BNSODLB.js +0 -97
  1855. package/dist/chunks/chunk-6CNK7JLP.js +0 -155
  1856. package/dist/chunks/chunk-6D3PGN4L.js +0 -198
  1857. package/dist/chunks/chunk-6D5Z63SY.js +0 -69
  1858. package/dist/chunks/chunk-6DIWDU3P.js +0 -156
  1859. package/dist/chunks/chunk-6EU4HURO.js +0 -153
  1860. package/dist/chunks/chunk-6FNBMKZ5.js +0 -133
  1861. package/dist/chunks/chunk-6JW6SXSB.js +0 -265
  1862. package/dist/chunks/chunk-6LXM6NI4.js +0 -117
  1863. package/dist/chunks/chunk-6LYA6YHW.js +0 -80
  1864. package/dist/chunks/chunk-6MGI7TFI.js +0 -115
  1865. package/dist/chunks/chunk-6MHUJ6IO.js +0 -140
  1866. package/dist/chunks/chunk-6OEOJ55R.js +0 -33
  1867. package/dist/chunks/chunk-6PJE2MZU.js +0 -199
  1868. package/dist/chunks/chunk-6PZEHIXD.js +0 -146
  1869. package/dist/chunks/chunk-6RMA5WCZ.js +0 -45
  1870. package/dist/chunks/chunk-6RON35TB.js +0 -222
  1871. package/dist/chunks/chunk-6S3USZAL.js +0 -218
  1872. package/dist/chunks/chunk-6T3TUQ4M.js +0 -70
  1873. package/dist/chunks/chunk-6ULS3X3L.js +0 -23
  1874. package/dist/chunks/chunk-6YC3WGBU.js +0 -399
  1875. package/dist/chunks/chunk-6Z22MN35.js +0 -117
  1876. package/dist/chunks/chunk-6ZKVUAEY.js +0 -23
  1877. package/dist/chunks/chunk-73B5QI3C.js +0 -100
  1878. package/dist/chunks/chunk-75HYVHKR.js +0 -147
  1879. package/dist/chunks/chunk-75KT5KVO.js +0 -33
  1880. package/dist/chunks/chunk-76WPIQKV.js +0 -86
  1881. package/dist/chunks/chunk-77YCS7QL.js +0 -231
  1882. package/dist/chunks/chunk-7CAGPU7B.js +0 -1136
  1883. package/dist/chunks/chunk-7DBJAOZD.js +0 -23
  1884. package/dist/chunks/chunk-7E6XFENB.js +0 -195
  1885. package/dist/chunks/chunk-7EORF6ZG.js +0 -303
  1886. package/dist/chunks/chunk-7FC3HXFN.js +0 -1403
  1887. package/dist/chunks/chunk-7FHTM6PI.js +0 -112
  1888. package/dist/chunks/chunk-7GM6L6KG.js +0 -88
  1889. package/dist/chunks/chunk-7GW4GMES.js +0 -87
  1890. package/dist/chunks/chunk-7HKKWAJS.js +0 -87
  1891. package/dist/chunks/chunk-7HS5CYEH.js +0 -84
  1892. package/dist/chunks/chunk-7I52INC2.js +0 -78
  1893. package/dist/chunks/chunk-7JXY4YZZ.js +0 -182
  1894. package/dist/chunks/chunk-7LR3I7NB.js +0 -163
  1895. package/dist/chunks/chunk-7MUGYRAM.js +0 -304
  1896. package/dist/chunks/chunk-7OQEXDWF.js +0 -237
  1897. package/dist/chunks/chunk-7RUVCWFB.js +0 -100
  1898. package/dist/chunks/chunk-7TNYFX2B.js +0 -161
  1899. package/dist/chunks/chunk-7TXTAF73.js +0 -559
  1900. package/dist/chunks/chunk-7UQ2ZIXX.js +0 -45
  1901. package/dist/chunks/chunk-7VBMMNXJ.js +0 -84
  1902. package/dist/chunks/chunk-7X5YCEJC.js +0 -23
  1903. package/dist/chunks/chunk-7XMSSM5Y.js +0 -147
  1904. package/dist/chunks/chunk-7Y3HLE6K.js +0 -164
  1905. package/dist/chunks/chunk-7ZSXIS7R.js +0 -185
  1906. package/dist/chunks/chunk-7ZUCKFK7.js +0 -53
  1907. package/dist/chunks/chunk-A256CV2X.js +0 -188
  1908. package/dist/chunks/chunk-A3NLNEZO.js +0 -176
  1909. package/dist/chunks/chunk-A4CB47TD.js +0 -284
  1910. package/dist/chunks/chunk-A7FFX52M.js +0 -138
  1911. package/dist/chunks/chunk-A7NJESLP.js +0 -119
  1912. package/dist/chunks/chunk-A7PE2QPN.js +0 -33
  1913. package/dist/chunks/chunk-AAAKGCG4.js +0 -198
  1914. package/dist/chunks/chunk-AATECGFF.js +0 -217
  1915. package/dist/chunks/chunk-ABPNH6SL.js +0 -98
  1916. package/dist/chunks/chunk-ABUZ35BU.js +0 -139
  1917. package/dist/chunks/chunk-AD4ZYMWP.js +0 -209
  1918. package/dist/chunks/chunk-AEE6DIVV.js +0 -33
  1919. package/dist/chunks/chunk-AESWTLV5.js +0 -97
  1920. package/dist/chunks/chunk-AEVRVQWI.js +0 -1574
  1921. package/dist/chunks/chunk-AF5VUFSV.js +0 -172
  1922. package/dist/chunks/chunk-AFIWYYIW.js +0 -150
  1923. package/dist/chunks/chunk-AFLHAPMK.js +0 -97
  1924. package/dist/chunks/chunk-AFV3ZJVT.js +0 -162
  1925. package/dist/chunks/chunk-AHC2I76I.js +0 -124
  1926. package/dist/chunks/chunk-AHYQLTHV.js +0 -84
  1927. package/dist/chunks/chunk-AI5BTY4R.js +0 -52
  1928. package/dist/chunks/chunk-AKUZGOWU.js +0 -242
  1929. package/dist/chunks/chunk-ALK7BGFJ.js +0 -191
  1930. package/dist/chunks/chunk-AM4GQ6UD.js +0 -230
  1931. package/dist/chunks/chunk-ANYSAKHS.js +0 -188
  1932. package/dist/chunks/chunk-ANZYGQGV.js +0 -252
  1933. package/dist/chunks/chunk-AOQJSUZP.js +0 -152
  1934. package/dist/chunks/chunk-AS332QIP.js +0 -266
  1935. package/dist/chunks/chunk-AUPMB6ZM.js +0 -210
  1936. package/dist/chunks/chunk-AWNNQU4L.js +0 -180
  1937. package/dist/chunks/chunk-AXZTAGDM.js +0 -192
  1938. package/dist/chunks/chunk-AYHKZ3YG.js +0 -23
  1939. package/dist/chunks/chunk-B2HXAWRY.js +0 -23
  1940. package/dist/chunks/chunk-B3JS7O54.js +0 -95
  1941. package/dist/chunks/chunk-B3NLN362.js +0 -122
  1942. package/dist/chunks/chunk-B53PVLF5.js +0 -304
  1943. package/dist/chunks/chunk-B7DSPQ6B.js +0 -154
  1944. package/dist/chunks/chunk-B7ZHHTE3.js +0 -122
  1945. package/dist/chunks/chunk-BAEKDKG6.js +0 -225
  1946. package/dist/chunks/chunk-BDD36ZWC.js +0 -119
  1947. package/dist/chunks/chunk-BDMA5C7B.js +0 -28
  1948. package/dist/chunks/chunk-BG6JR5LN.js +0 -208
  1949. package/dist/chunks/chunk-BHFTYES6.js +0 -198
  1950. package/dist/chunks/chunk-BITG2MWN.js +0 -125
  1951. package/dist/chunks/chunk-BJ3YKV7G.js +0 -81
  1952. package/dist/chunks/chunk-BJEMJCZJ.js +0 -1419
  1953. package/dist/chunks/chunk-BKDY2EEP.js +0 -98
  1954. package/dist/chunks/chunk-BLGT7AUD.js +0 -180
  1955. package/dist/chunks/chunk-BNGZXPDQ.js +0 -92
  1956. package/dist/chunks/chunk-BOGDYFBC.js +0 -91
  1957. package/dist/chunks/chunk-BPIGK57H.js +0 -180
  1958. package/dist/chunks/chunk-BPOBG5YN.js +0 -120
  1959. package/dist/chunks/chunk-BQ4BXNF7.js +0 -147
  1960. package/dist/chunks/chunk-BQ6PC34Z.js +0 -100
  1961. package/dist/chunks/chunk-BQD2KWUA.js +0 -108
  1962. package/dist/chunks/chunk-BREXQV4G.js +0 -77
  1963. package/dist/chunks/chunk-BRWJ7CU6.js +0 -198
  1964. package/dist/chunks/chunk-BTESWMFP.js +0 -182
  1965. package/dist/chunks/chunk-BTFVVDM4.js +0 -172
  1966. package/dist/chunks/chunk-BTOEEE4N.js +0 -283
  1967. package/dist/chunks/chunk-BTZOLTUP.js +0 -105
  1968. package/dist/chunks/chunk-BUA2VB4D.js +0 -80
  1969. package/dist/chunks/chunk-BUH7HQMV.js +0 -126
  1970. package/dist/chunks/chunk-BUWEFJWW.js +0 -358
  1971. package/dist/chunks/chunk-BWCHVHDJ.js +0 -87
  1972. package/dist/chunks/chunk-BWGTC4FK.js +0 -90
  1973. package/dist/chunks/chunk-BX3PZC7L.js +0 -100
  1974. package/dist/chunks/chunk-BZ6JZLHW.js +0 -204
  1975. package/dist/chunks/chunk-BZKQQO5F.js +0 -50
  1976. package/dist/chunks/chunk-C2GKMSED.js +0 -93
  1977. package/dist/chunks/chunk-C5W3TT3U.js +0 -53
  1978. package/dist/chunks/chunk-CCPQGD3W.js +0 -23
  1979. package/dist/chunks/chunk-CDEKJ7XN.js +0 -163
  1980. package/dist/chunks/chunk-CDOMVMMP.js +0 -189
  1981. package/dist/chunks/chunk-CHFJUUAV.js +0 -102
  1982. package/dist/chunks/chunk-CJ4N5AD4.js +0 -23
  1983. package/dist/chunks/chunk-CL6VBZSB.js +0 -92
  1984. package/dist/chunks/chunk-CL7AP75Y.js +0 -287
  1985. package/dist/chunks/chunk-CLRN44W3.js +0 -75
  1986. package/dist/chunks/chunk-CO4UTVNZ.js +0 -113
  1987. package/dist/chunks/chunk-COTG4F5F.js +0 -23
  1988. package/dist/chunks/chunk-CR7X2PX5.js +0 -250
  1989. package/dist/chunks/chunk-CUTA7OLD.js +0 -23
  1990. package/dist/chunks/chunk-CV3QR2BP.js +0 -112
  1991. package/dist/chunks/chunk-CW24VQM3.js +0 -23
  1992. package/dist/chunks/chunk-CW3VKWFW.js +0 -60
  1993. package/dist/chunks/chunk-CWWWM3HZ.js +0 -111
  1994. package/dist/chunks/chunk-CXJNSAOF.js +0 -104
  1995. package/dist/chunks/chunk-CZRDPNM2.js +0 -107
  1996. package/dist/chunks/chunk-D2NBF362.js +0 -165
  1997. package/dist/chunks/chunk-D5FBE5PE.js +0 -128
  1998. package/dist/chunks/chunk-D6MBV2UQ.js +0 -100
  1999. package/dist/chunks/chunk-D7IZPPV5.js +0 -114
  2000. package/dist/chunks/chunk-DDHLDNKX.js +0 -277
  2001. package/dist/chunks/chunk-DDNP2A3W.js +0 -155
  2002. package/dist/chunks/chunk-DE3DJHS4.js +0 -140
  2003. package/dist/chunks/chunk-DEPD5ARG.js +0 -226
  2004. package/dist/chunks/chunk-DF5G2P7O.js +0 -95
  2005. package/dist/chunks/chunk-DFQYSOFV.js +0 -94
  2006. package/dist/chunks/chunk-DGPKNOSH.js +0 -23
  2007. package/dist/chunks/chunk-DHWC5GZU.js +0 -153
  2008. package/dist/chunks/chunk-DHXSCSGE.js +0 -41
  2009. package/dist/chunks/chunk-DIJFFNW6.js +0 -153
  2010. package/dist/chunks/chunk-DJVPZTI3.js +0 -270
  2011. package/dist/chunks/chunk-DKAA3PVR.js +0 -45
  2012. package/dist/chunks/chunk-DKYMG7W6.js +0 -80
  2013. package/dist/chunks/chunk-DMFNQELF.js +0 -146
  2014. package/dist/chunks/chunk-DVF7M43L.js +0 -97
  2015. package/dist/chunks/chunk-DW7VRFPR.js +0 -94
  2016. package/dist/chunks/chunk-DWOSB5OG.js +0 -36
  2017. package/dist/chunks/chunk-E3KSQX2C.js +0 -54
  2018. package/dist/chunks/chunk-E3RDUS6J.js +0 -305
  2019. package/dist/chunks/chunk-E547DCJN.js +0 -329
  2020. package/dist/chunks/chunk-E5ERCS7Y.js +0 -125
  2021. package/dist/chunks/chunk-E6BUVGEM.js +0 -173
  2022. package/dist/chunks/chunk-E6WAJNWL.js +0 -135
  2023. package/dist/chunks/chunk-E7WIDHOX.js +0 -83
  2024. package/dist/chunks/chunk-EB6VKLAJ.js +0 -234
  2025. package/dist/chunks/chunk-EBPSOIEX.js +0 -134
  2026. package/dist/chunks/chunk-EC4DPVT5.js +0 -139
  2027. package/dist/chunks/chunk-EDLLCVQF.js +0 -153
  2028. package/dist/chunks/chunk-EEMK2O5N.js +0 -684
  2029. package/dist/chunks/chunk-EEVNQCTV.js +0 -100
  2030. package/dist/chunks/chunk-EFTPHBPV.js +0 -141
  2031. package/dist/chunks/chunk-EFWNIBOC.js +0 -152
  2032. package/dist/chunks/chunk-EG7WNJFZ.js +0 -396
  2033. package/dist/chunks/chunk-EGEGJZ53.js +0 -94
  2034. package/dist/chunks/chunk-EHD3XPWX.js +0 -115
  2035. package/dist/chunks/chunk-EHI3JCQO.js +0 -106
  2036. package/dist/chunks/chunk-EJ4MJX3F.js +0 -95
  2037. package/dist/chunks/chunk-EJITHNSN.js +0 -85
  2038. package/dist/chunks/chunk-EJW3Q7IH.js +0 -209
  2039. package/dist/chunks/chunk-EQZ3DBTP.js +0 -187
  2040. package/dist/chunks/chunk-ERUYVZWN.js +0 -141
  2041. package/dist/chunks/chunk-ERWDZNYG.js +0 -97
  2042. package/dist/chunks/chunk-ERXLK44F.js +0 -57
  2043. package/dist/chunks/chunk-ESIPTDQU.js +0 -221
  2044. package/dist/chunks/chunk-ET3M3L45.js +0 -152
  2045. package/dist/chunks/chunk-EUDE4D7K.js +0 -122
  2046. package/dist/chunks/chunk-EVJF76HM.js +0 -163
  2047. package/dist/chunks/chunk-EYOTZLZU.js +0 -150
  2048. package/dist/chunks/chunk-F2CTKRXI.js +0 -48
  2049. package/dist/chunks/chunk-F2FMQL7K.js +0 -33
  2050. package/dist/chunks/chunk-F4GWLG6D.js +0 -462
  2051. package/dist/chunks/chunk-F5NYLQAB.js +0 -53
  2052. package/dist/chunks/chunk-F6QGWFPB.js +0 -145
  2053. package/dist/chunks/chunk-F6SANZFM.js +0 -55
  2054. package/dist/chunks/chunk-F7X5VOWS.js +0 -889
  2055. package/dist/chunks/chunk-FB5QNWPN.js +0 -33
  2056. package/dist/chunks/chunk-FDWDRAIZ.js +0 -158
  2057. package/dist/chunks/chunk-FETHDXOS.js +0 -45
  2058. package/dist/chunks/chunk-FGT2PR3M.js +0 -100
  2059. package/dist/chunks/chunk-FH6MB4GW.js +0 -55
  2060. package/dist/chunks/chunk-FHHAH4JX.js +0 -124
  2061. package/dist/chunks/chunk-FISVKK6C.js +0 -33
  2062. package/dist/chunks/chunk-FJMFKIN6.js +0 -158
  2063. package/dist/chunks/chunk-FNEIVQDB.js +0 -164
  2064. package/dist/chunks/chunk-FPWANSII.js +0 -95
  2065. package/dist/chunks/chunk-FQ3ODVZY.js +0 -226
  2066. package/dist/chunks/chunk-FQ5YFJMO.js +0 -166
  2067. package/dist/chunks/chunk-FQCAU4XR.js +0 -157
  2068. package/dist/chunks/chunk-FT7OO4HQ.js +0 -215
  2069. package/dist/chunks/chunk-FU36FPDB.js +0 -77
  2070. package/dist/chunks/chunk-FVAHXWIY.js +0 -127
  2071. package/dist/chunks/chunk-G26WBGPJ.js +0 -149
  2072. package/dist/chunks/chunk-G3KOKY6V.js +0 -378
  2073. package/dist/chunks/chunk-G46GUWS5.js +0 -102
  2074. package/dist/chunks/chunk-G47UBPSH.js +0 -155
  2075. package/dist/chunks/chunk-G4DND2YY.js +0 -277
  2076. package/dist/chunks/chunk-G53KOC4Q.js +0 -215
  2077. package/dist/chunks/chunk-G5EPTRRL.js +0 -135
  2078. package/dist/chunks/chunk-GALZ2YLM.js +0 -59
  2079. package/dist/chunks/chunk-GBHX43B5.js +0 -334
  2080. package/dist/chunks/chunk-GCMUSV3X.js +0 -149
  2081. package/dist/chunks/chunk-GDLIUWSE.js +0 -181
  2082. package/dist/chunks/chunk-GDNEYB4A.js +0 -77
  2083. package/dist/chunks/chunk-GHPHZCQG.js +0 -105
  2084. package/dist/chunks/chunk-GICAJHIS.js +0 -169
  2085. package/dist/chunks/chunk-GJPDO7I6.js +0 -93
  2086. package/dist/chunks/chunk-GKQF7EEL.js +0 -78
  2087. package/dist/chunks/chunk-GPKTIBCP.js +0 -1393
  2088. package/dist/chunks/chunk-GPL3HMVB.js +0 -97
  2089. package/dist/chunks/chunk-GRQJ3BOZ.js +0 -96
  2090. package/dist/chunks/chunk-GSIGX663.js +0 -23
  2091. package/dist/chunks/chunk-GSXNGDEE.js +0 -33
  2092. package/dist/chunks/chunk-GTLUBIMV.js +0 -104
  2093. package/dist/chunks/chunk-GUH5OQOI.js +0 -173
  2094. package/dist/chunks/chunk-GWPGCYAL.js +0 -155
  2095. package/dist/chunks/chunk-GYWMZPQ4.js +0 -249
  2096. package/dist/chunks/chunk-H2HYMNZE.js +0 -415
  2097. package/dist/chunks/chunk-H2UZYKHP.js +0 -150
  2098. package/dist/chunks/chunk-H2Z5WIZP.js +0 -225
  2099. package/dist/chunks/chunk-H352XCJB.js +0 -63
  2100. package/dist/chunks/chunk-H4QVCQV6.js +0 -23
  2101. package/dist/chunks/chunk-H4SK5XK2.js +0 -97
  2102. package/dist/chunks/chunk-H5BD6PHR.js +0 -146
  2103. package/dist/chunks/chunk-H6TG42U2.js +0 -263
  2104. package/dist/chunks/chunk-HAEDOXDL.js +0 -105
  2105. package/dist/chunks/chunk-HAHLPZQ7.js +0 -112
  2106. package/dist/chunks/chunk-HBQ7VPU4.js +0 -181
  2107. package/dist/chunks/chunk-HDETFPIN.js +0 -330
  2108. package/dist/chunks/chunk-HG35IBKP.js +0 -200
  2109. package/dist/chunks/chunk-HG3Y5ESR.js +0 -161
  2110. package/dist/chunks/chunk-HH2ZVQRP.js +0 -257
  2111. package/dist/chunks/chunk-HJBDANWK.js +0 -126
  2112. package/dist/chunks/chunk-HJJEKFHW.js +0 -244
  2113. package/dist/chunks/chunk-HJNGDHZV.js +0 -358
  2114. package/dist/chunks/chunk-HLZGX7HB.js +0 -144
  2115. package/dist/chunks/chunk-HMURFIQN.js +0 -108
  2116. package/dist/chunks/chunk-HNRZCIZN.js +0 -80
  2117. package/dist/chunks/chunk-HOGMSTNL.js +0 -61
  2118. package/dist/chunks/chunk-HP2X54EY.js +0 -51
  2119. package/dist/chunks/chunk-HPFYINN3.js +0 -45
  2120. package/dist/chunks/chunk-HQA6OSBL.js +0 -95
  2121. package/dist/chunks/chunk-HQOQPXMB.js +0 -151
  2122. package/dist/chunks/chunk-HSTYJJJN.js +0 -327
  2123. package/dist/chunks/chunk-HSZV7ZER.js +0 -33
  2124. package/dist/chunks/chunk-HUWERBK6.js +0 -196
  2125. package/dist/chunks/chunk-HXAYTOWN.js +0 -45
  2126. package/dist/chunks/chunk-HYJ6EQAR.js +0 -191
  2127. package/dist/chunks/chunk-HYOWCCUC.js +0 -187
  2128. package/dist/chunks/chunk-I3S53MUL.js +0 -23
  2129. package/dist/chunks/chunk-I4K6ISEA.js +0 -123
  2130. package/dist/chunks/chunk-I5AQTS6L.js +0 -33
  2131. package/dist/chunks/chunk-IB65ADPO.js +0 -178
  2132. package/dist/chunks/chunk-IDT2MRKB.js +0 -255
  2133. package/dist/chunks/chunk-IHO37NQ6.js +0 -299
  2134. package/dist/chunks/chunk-IHUMZKMT.js +0 -346
  2135. package/dist/chunks/chunk-II4H4JYF.js +0 -33
  2136. package/dist/chunks/chunk-II52KAJB.js +0 -118
  2137. package/dist/chunks/chunk-IIE24S5U.js +0 -133
  2138. package/dist/chunks/chunk-IJXMVWTS.js +0 -207
  2139. package/dist/chunks/chunk-ILRQOCLP.js +0 -84
  2140. package/dist/chunks/chunk-INIGVJV7.js +0 -104
  2141. package/dist/chunks/chunk-IOGNMJEI.js +0 -145
  2142. package/dist/chunks/chunk-IPJVIWZO.js +0 -92
  2143. package/dist/chunks/chunk-IQE7M6ER.js +0 -320
  2144. package/dist/chunks/chunk-IQY2JUU3.js +0 -55
  2145. package/dist/chunks/chunk-ISQY6SEP.js +0 -146
  2146. package/dist/chunks/chunk-IUNA5S6S.js +0 -23
  2147. package/dist/chunks/chunk-IWJXE4SI.js +0 -192
  2148. package/dist/chunks/chunk-IXGOJYST.js +0 -99
  2149. package/dist/chunks/chunk-J25U5P2Z.js +0 -159
  2150. package/dist/chunks/chunk-J2TTCFAI.js +0 -93
  2151. package/dist/chunks/chunk-J4MREGUV.js +0 -112
  2152. package/dist/chunks/chunk-J57MSR45.js +0 -135
  2153. package/dist/chunks/chunk-J6N4VNCH.js +0 -206
  2154. package/dist/chunks/chunk-J75PNHXX.js +0 -337
  2155. package/dist/chunks/chunk-J7P6VR3W.js +0 -39
  2156. package/dist/chunks/chunk-J7Z6LABN.js +0 -86
  2157. package/dist/chunks/chunk-JCX75KWD.js +0 -165
  2158. package/dist/chunks/chunk-JEBI5VGB.js +0 -33
  2159. package/dist/chunks/chunk-JEIHP4RL.js +0 -81
  2160. package/dist/chunks/chunk-JGH7DVOY.js +0 -159
  2161. package/dist/chunks/chunk-JH55LWXE.js +0 -33
  2162. package/dist/chunks/chunk-JI555FYG.js +0 -391
  2163. package/dist/chunks/chunk-JIFP4ESM.js +0 -95
  2164. package/dist/chunks/chunk-JK5SSLPT.js +0 -351
  2165. package/dist/chunks/chunk-JL7AFOSA.js +0 -261
  2166. package/dist/chunks/chunk-JMLTHAW2.js +0 -110
  2167. package/dist/chunks/chunk-JN7R72GT.js +0 -120
  2168. package/dist/chunks/chunk-JOSZIMMK.js +0 -23
  2169. package/dist/chunks/chunk-JQXLWHNV.js +0 -65
  2170. package/dist/chunks/chunk-JRPCGVKL.js +0 -45
  2171. package/dist/chunks/chunk-JSBHWMPG.js +0 -102
  2172. package/dist/chunks/chunk-JSSK4J34.js +0 -106
  2173. package/dist/chunks/chunk-JVH7ZPJX.js +0 -151
  2174. package/dist/chunks/chunk-JVYKAV2D.js +0 -114
  2175. package/dist/chunks/chunk-JXHR7OEX.js +0 -30
  2176. package/dist/chunks/chunk-JXR3BKFD.js +0 -174
  2177. package/dist/chunks/chunk-K2QQZYQD.js +0 -135
  2178. package/dist/chunks/chunk-K3KF6LLO.js +0 -109
  2179. package/dist/chunks/chunk-K4TYBVPO.js +0 -194
  2180. package/dist/chunks/chunk-K7WB24UF.js +0 -85
  2181. package/dist/chunks/chunk-KB646A4H.js +0 -214
  2182. package/dist/chunks/chunk-KDM3HHI2.js +0 -139
  2183. package/dist/chunks/chunk-KEHUTLNX.js +0 -184
  2184. package/dist/chunks/chunk-KFP3F4UR.js +0 -100
  2185. package/dist/chunks/chunk-KGQIS3LZ.js +0 -152
  2186. package/dist/chunks/chunk-KGR5FYCY.js +0 -80
  2187. package/dist/chunks/chunk-KHHZVJRF.js +0 -89
  2188. package/dist/chunks/chunk-KIPYM566.js +0 -108
  2189. package/dist/chunks/chunk-KIW3SWDM.js +0 -168
  2190. package/dist/chunks/chunk-KKSWHPVU.js +0 -182
  2191. package/dist/chunks/chunk-KLO46IZ2.js +0 -119
  2192. package/dist/chunks/chunk-KN3Y6EZY.js +0 -105
  2193. package/dist/chunks/chunk-KOIBYRH6.js +0 -77
  2194. package/dist/chunks/chunk-KQQ4WQSB.js +0 -133
  2195. package/dist/chunks/chunk-KRJWKISC.js +0 -33
  2196. package/dist/chunks/chunk-KT3SCNRZ.js +0 -84
  2197. package/dist/chunks/chunk-KU5MDYJU.js +0 -72
  2198. package/dist/chunks/chunk-KWH7E6XC.js +0 -125
  2199. package/dist/chunks/chunk-KYDOG7JP.js +0 -93
  2200. package/dist/chunks/chunk-KYUWPD26.js +0 -136
  2201. package/dist/chunks/chunk-L2HZ5QFV.js +0 -122
  2202. package/dist/chunks/chunk-L4LLU4OR.js +0 -77
  2203. package/dist/chunks/chunk-LAD77O5F.js +0 -178
  2204. package/dist/chunks/chunk-LAHAW23S.js +0 -97
  2205. package/dist/chunks/chunk-LC5KOCVW.js +0 -106
  2206. package/dist/chunks/chunk-LCBX65MQ.js +0 -969
  2207. package/dist/chunks/chunk-LD5DK63W.js +0 -23
  2208. package/dist/chunks/chunk-LDPYDVM6.js +0 -140
  2209. package/dist/chunks/chunk-LDQ35LVC.js +0 -33
  2210. package/dist/chunks/chunk-LETCYNV7.js +0 -626
  2211. package/dist/chunks/chunk-LGY7REUL.js +0 -232
  2212. package/dist/chunks/chunk-LHMCKV65.js +0 -66
  2213. package/dist/chunks/chunk-LIIYJFRB.js +0 -204
  2214. package/dist/chunks/chunk-LIQG3BT3.js +0 -130
  2215. package/dist/chunks/chunk-LIQPADZI.js +0 -197
  2216. package/dist/chunks/chunk-LJR5TBRT.js +0 -106
  2217. package/dist/chunks/chunk-LLJD4ZH2.js +0 -170
  2218. package/dist/chunks/chunk-LNBRTXX2.js +0 -512
  2219. package/dist/chunks/chunk-LOGJKLGZ.js +0 -69
  2220. package/dist/chunks/chunk-LOKRB4BK.js +0 -163
  2221. package/dist/chunks/chunk-LOLJ3NQG.js +0 -138
  2222. package/dist/chunks/chunk-LPSWXSC6.js +0 -66
  2223. package/dist/chunks/chunk-LTKGMDDL.js +0 -147
  2224. package/dist/chunks/chunk-LYMQLJQL.js +0 -93
  2225. package/dist/chunks/chunk-LYWO4OVL.js +0 -177
  2226. package/dist/chunks/chunk-M2RHCOEM.js +0 -95
  2227. package/dist/chunks/chunk-M2S4TLGP.js +0 -122
  2228. package/dist/chunks/chunk-M37J5AXF.js +0 -166
  2229. package/dist/chunks/chunk-M3BSKUTQ.js +0 -106
  2230. package/dist/chunks/chunk-M3WSXWQZ.js +0 -23
  2231. package/dist/chunks/chunk-M4KJ3FTU.js +0 -33
  2232. package/dist/chunks/chunk-M7555UMD.js +0 -303
  2233. package/dist/chunks/chunk-MA3ZYAKV.js +0 -103
  2234. package/dist/chunks/chunk-MA56YJ2B.js +0 -422
  2235. package/dist/chunks/chunk-MAC6KUUA.js +0 -23
  2236. package/dist/chunks/chunk-MBLRF6V3.js +0 -142
  2237. package/dist/chunks/chunk-MCM7JM3K.js +0 -68
  2238. package/dist/chunks/chunk-MDGL63M7.js +0 -167
  2239. package/dist/chunks/chunk-MEIELUWQ.js +0 -390
  2240. package/dist/chunks/chunk-MGMQ2KJU.js +0 -292
  2241. package/dist/chunks/chunk-MHYCNNBP.js +0 -317
  2242. package/dist/chunks/chunk-MJO252B2.js +0 -121
  2243. package/dist/chunks/chunk-MJOPADHH.js +0 -45
  2244. package/dist/chunks/chunk-MM3ZOMKJ.js +0 -274
  2245. package/dist/chunks/chunk-MMMTL4S2.js +0 -76
  2246. package/dist/chunks/chunk-MORGT6U3.js +0 -172
  2247. package/dist/chunks/chunk-MQ2CTQPN.js +0 -33
  2248. package/dist/chunks/chunk-MQ6GP7EX.js +0 -120
  2249. package/dist/chunks/chunk-MTGIATR3.js +0 -108
  2250. package/dist/chunks/chunk-MU3HOWKP.js +0 -62
  2251. package/dist/chunks/chunk-MXXAATXX.js +0 -77
  2252. package/dist/chunks/chunk-MYUISXOO.js +0 -260
  2253. package/dist/chunks/chunk-MZIXR6VF.js +0 -161
  2254. package/dist/chunks/chunk-MZL6S2Q6.js +0 -160
  2255. package/dist/chunks/chunk-N3R5EYST.js +0 -170
  2256. package/dist/chunks/chunk-N5E7IOII.js +0 -646
  2257. package/dist/chunks/chunk-N652KEJF.js +0 -33
  2258. package/dist/chunks/chunk-N77LLMN4.js +0 -109
  2259. package/dist/chunks/chunk-N7FGRZH7.js +0 -121
  2260. package/dist/chunks/chunk-N7QELHZD.js +0 -23
  2261. package/dist/chunks/chunk-NADK3ZPZ.js +0 -177
  2262. package/dist/chunks/chunk-NBGUWYGK.js +0 -101
  2263. package/dist/chunks/chunk-NCOD4UFL.js +0 -94
  2264. package/dist/chunks/chunk-NF7MPL4T.js +0 -202
  2265. package/dist/chunks/chunk-NG6VXEEL.js +0 -123
  2266. package/dist/chunks/chunk-NGR3QIJW.js +0 -169
  2267. package/dist/chunks/chunk-NHDOQPUU.js +0 -961
  2268. package/dist/chunks/chunk-NHGVB5WB.js +0 -267
  2269. package/dist/chunks/chunk-NJCJ2GN3.js +0 -84
  2270. package/dist/chunks/chunk-NLBDX563.js +0 -197
  2271. package/dist/chunks/chunk-NLJNFR4D.js +0 -109
  2272. package/dist/chunks/chunk-NLP7LQUA.js +0 -200
  2273. package/dist/chunks/chunk-NLSBRC7R.js +0 -41
  2274. package/dist/chunks/chunk-NOYHKOLE.js +0 -106
  2275. package/dist/chunks/chunk-NP43XRCO.js +0 -33
  2276. package/dist/chunks/chunk-NP7VUGFB.js +0 -89
  2277. package/dist/chunks/chunk-NPZVIDKL.js +0 -53
  2278. package/dist/chunks/chunk-NR3ETE6E.js +0 -133
  2279. package/dist/chunks/chunk-NRBYOTD4.js +0 -38
  2280. package/dist/chunks/chunk-NRNJPO47.js +0 -312
  2281. package/dist/chunks/chunk-NRWQXLBS.js +0 -112
  2282. package/dist/chunks/chunk-NRX7V5RS.js +0 -84
  2283. package/dist/chunks/chunk-NWUOEY3N.js +0 -86
  2284. package/dist/chunks/chunk-NZ6HG3ZK.js +0 -130
  2285. package/dist/chunks/chunk-NZKVA5TS.js +0 -163
  2286. package/dist/chunks/chunk-O2WJE5KA.js +0 -23
  2287. package/dist/chunks/chunk-O2WKZUNJ.js +0 -497
  2288. package/dist/chunks/chunk-O5XBCI4F.js +0 -362
  2289. package/dist/chunks/chunk-O6WIL2TR.js +0 -137
  2290. package/dist/chunks/chunk-OBSU3P4D.js +0 -178
  2291. package/dist/chunks/chunk-OG3HYZLC.js +0 -113
  2292. package/dist/chunks/chunk-OHLHOQJK.js +0 -81
  2293. package/dist/chunks/chunk-OIMOWJFK.js +0 -261
  2294. package/dist/chunks/chunk-OIUVYBZP.js +0 -183
  2295. package/dist/chunks/chunk-OKKXZJBC.js +0 -777
  2296. package/dist/chunks/chunk-OLD3GDSH.js +0 -179
  2297. package/dist/chunks/chunk-OMT3HYIB.js +0 -282
  2298. package/dist/chunks/chunk-ONS4NBZ7.js +0 -48
  2299. package/dist/chunks/chunk-ONWWHEMU.js +0 -181
  2300. package/dist/chunks/chunk-OOT4ZGYE.js +0 -305
  2301. package/dist/chunks/chunk-OPDH6JAE.js +0 -307
  2302. package/dist/chunks/chunk-ORVFMO2O.js +0 -80
  2303. package/dist/chunks/chunk-OSMWZTAJ.js +0 -298
  2304. package/dist/chunks/chunk-OTN6QTDG.js +0 -83
  2305. package/dist/chunks/chunk-OV343S3D.js +0 -179
  2306. package/dist/chunks/chunk-OVGMJABD.js +0 -33
  2307. package/dist/chunks/chunk-OVYJELTT.js +0 -42
  2308. package/dist/chunks/chunk-OXKHXV7J.js +0 -270
  2309. package/dist/chunks/chunk-OYOIIYGW.js +0 -156
  2310. package/dist/chunks/chunk-OYTEIUMU.js +0 -123
  2311. package/dist/chunks/chunk-OZ4NCP2D.js +0 -33
  2312. package/dist/chunks/chunk-P2FUPFA5.js +0 -217
  2313. package/dist/chunks/chunk-P43YJHNK.js +0 -79
  2314. package/dist/chunks/chunk-P4IE7MK5.js +0 -45
  2315. package/dist/chunks/chunk-P567523H.js +0 -191
  2316. package/dist/chunks/chunk-PAO64QZA.js +0 -250
  2317. package/dist/chunks/chunk-PCP4AT2W.js +0 -44
  2318. package/dist/chunks/chunk-PCVYSBS4.js +0 -122
  2319. package/dist/chunks/chunk-PD7POZC3.js +0 -89
  2320. package/dist/chunks/chunk-PDA6U2CD.js +0 -2168
  2321. package/dist/chunks/chunk-PDP4ZKX7.js +0 -255
  2322. package/dist/chunks/chunk-PGU5K5D6.js +0 -194
  2323. package/dist/chunks/chunk-PKOQZHV5.js +0 -23
  2324. package/dist/chunks/chunk-PL5V5SSZ.js +0 -106
  2325. package/dist/chunks/chunk-PMNTFGXM.js +0 -112
  2326. package/dist/chunks/chunk-PN44HK4O.js +0 -170
  2327. package/dist/chunks/chunk-PNCVGLRG.js +0 -168
  2328. package/dist/chunks/chunk-PNGSRART.js +0 -23
  2329. package/dist/chunks/chunk-POXVW3DV.js +0 -74
  2330. package/dist/chunks/chunk-PP2ILW3M.js +0 -156
  2331. package/dist/chunks/chunk-PQALLIVU.js +0 -101
  2332. package/dist/chunks/chunk-PQDTQODZ.js +0 -190
  2333. package/dist/chunks/chunk-PR6GSYWJ.js +0 -327
  2334. package/dist/chunks/chunk-PSFAKL53.js +0 -45
  2335. package/dist/chunks/chunk-PT5NRFFL.js +0 -83
  2336. package/dist/chunks/chunk-PU7TLYYE.js +0 -183
  2337. package/dist/chunks/chunk-PUK6FD7A.js +0 -83
  2338. package/dist/chunks/chunk-PVFGJIK3.js +0 -342
  2339. package/dist/chunks/chunk-PW3WJB2P.js +0 -81
  2340. package/dist/chunks/chunk-PYC7Y6IR.js +0 -108
  2341. package/dist/chunks/chunk-Q2TO6EHO.js +0 -161
  2342. package/dist/chunks/chunk-QCMMEGSQ.js +0 -193
  2343. package/dist/chunks/chunk-QELYSHVC.js +0 -848
  2344. package/dist/chunks/chunk-QFP7YT3C.js +0 -206
  2345. package/dist/chunks/chunk-QGDBR4ME.js +0 -375
  2346. package/dist/chunks/chunk-QIEFKU62.js +0 -326
  2347. package/dist/chunks/chunk-QK2WWDFU.js +0 -54
  2348. package/dist/chunks/chunk-QK5B2HBS.js +0 -307
  2349. package/dist/chunks/chunk-QNGL2YY7.js +0 -147
  2350. package/dist/chunks/chunk-QNH5VED3.js +0 -163
  2351. package/dist/chunks/chunk-QNMAEHPB.js +0 -91
  2352. package/dist/chunks/chunk-QPOFCXUH.js +0 -172
  2353. package/dist/chunks/chunk-QRZV2OBO.js +0 -45
  2354. package/dist/chunks/chunk-QSNKBA5O.js +0 -33
  2355. package/dist/chunks/chunk-QTDG5OH6.js +0 -87
  2356. package/dist/chunks/chunk-QTIJL5SP.js +0 -232
  2357. package/dist/chunks/chunk-QTQNT4A5.js +0 -194
  2358. package/dist/chunks/chunk-QUAV3GFT.js +0 -128
  2359. package/dist/chunks/chunk-QV7GPU45.js +0 -213
  2360. package/dist/chunks/chunk-QVW5TKRW.js +0 -192
  2361. package/dist/chunks/chunk-QXOZSDFP.js +0 -278
  2362. package/dist/chunks/chunk-R6RHMJIV.js +0 -102
  2363. package/dist/chunks/chunk-R7SIFAMQ.js +0 -1834
  2364. package/dist/chunks/chunk-R7UUCQTK.js +0 -187
  2365. package/dist/chunks/chunk-RBHKH3GR.js +0 -199
  2366. package/dist/chunks/chunk-RBODCCN2.js +0 -50
  2367. package/dist/chunks/chunk-RD6OM3UD.js +0 -146
  2368. package/dist/chunks/chunk-RDGZQJ2Q.js +0 -130
  2369. package/dist/chunks/chunk-RDMJAWFN.js +0 -52
  2370. package/dist/chunks/chunk-RG2WRCVL.js +0 -13729
  2371. package/dist/chunks/chunk-RH3QDH23.js +0 -368
  2372. package/dist/chunks/chunk-RH4QOO6B.js +0 -81
  2373. package/dist/chunks/chunk-RHFDKKCY.js +0 -103
  2374. package/dist/chunks/chunk-RHXETOKL.js +0 -238
  2375. package/dist/chunks/chunk-RIUR42EK.js +0 -33
  2376. package/dist/chunks/chunk-RKPX4IXW.js +0 -104
  2377. package/dist/chunks/chunk-RLEVNE4Z.js +0 -65
  2378. package/dist/chunks/chunk-RMAOXSOE.js +0 -174
  2379. package/dist/chunks/chunk-RNHTCMLQ.js +0 -149
  2380. package/dist/chunks/chunk-ROMAKG2E.js +0 -104
  2381. package/dist/chunks/chunk-RUCVOIAV.js +0 -215
  2382. package/dist/chunks/chunk-RVY2BDHJ.js +0 -262
  2383. package/dist/chunks/chunk-S24JVUZ6.js +0 -71
  2384. package/dist/chunks/chunk-S25JSO4I.js +0 -777
  2385. package/dist/chunks/chunk-S2GAPDUX.js +0 -167
  2386. package/dist/chunks/chunk-S32SEM2O.js +0 -94
  2387. package/dist/chunks/chunk-S52F63L3.js +0 -33
  2388. package/dist/chunks/chunk-SAALMHAN.js +0 -78
  2389. package/dist/chunks/chunk-SFGXZQHH.js +0 -122
  2390. package/dist/chunks/chunk-SFRJBBEB.js +0 -184
  2391. package/dist/chunks/chunk-SHMG4674.js +0 -220
  2392. package/dist/chunks/chunk-SIZZ4USN.js +0 -23
  2393. package/dist/chunks/chunk-SKBC5QRP.js +0 -97
  2394. package/dist/chunks/chunk-SL5OW5MG.js +0 -169
  2395. package/dist/chunks/chunk-SLGS6HKX.js +0 -224
  2396. package/dist/chunks/chunk-SMJG2MGE.js +0 -23
  2397. package/dist/chunks/chunk-SNIZSVCC.js +0 -55
  2398. package/dist/chunks/chunk-SPT36YLL.js +0 -36
  2399. package/dist/chunks/chunk-SQAXRHYK.js +0 -123
  2400. package/dist/chunks/chunk-SRASDDYT.js +0 -170
  2401. package/dist/chunks/chunk-STEWM7QO.js +0 -108
  2402. package/dist/chunks/chunk-SV2STDY7.js +0 -131
  2403. package/dist/chunks/chunk-SWM6YBYV.js +0 -361
  2404. package/dist/chunks/chunk-SX7VOT2N.js +0 -152
  2405. package/dist/chunks/chunk-T4B7SBSK.js +0 -85
  2406. package/dist/chunks/chunk-T5CNKOPQ.js +0 -261
  2407. package/dist/chunks/chunk-T5QJJYEC.js +0 -101
  2408. package/dist/chunks/chunk-T6QUY7ML.js +0 -324
  2409. package/dist/chunks/chunk-T7A53G4A.js +0 -248
  2410. package/dist/chunks/chunk-TASTW64R.js +0 -82
  2411. package/dist/chunks/chunk-TAZSGYEF.js +0 -138
  2412. package/dist/chunks/chunk-TCVEFD2V.js +0 -166
  2413. package/dist/chunks/chunk-TDQYYA5V.js +0 -23
  2414. package/dist/chunks/chunk-TF323EOK.js +0 -115
  2415. package/dist/chunks/chunk-TFFUBL3N.js +0 -60
  2416. package/dist/chunks/chunk-THKBYEMN.js +0 -147
  2417. package/dist/chunks/chunk-THZGQSWE.js +0 -23
  2418. package/dist/chunks/chunk-TI7VRB6R.js +0 -33
  2419. package/dist/chunks/chunk-TIKUHYZ3.js +0 -77
  2420. package/dist/chunks/chunk-TIL6LFVN.js +0 -10754
  2421. package/dist/chunks/chunk-TJD2HRUF.js +0 -80
  2422. package/dist/chunks/chunk-TLPYI2NI.js +0 -190
  2423. package/dist/chunks/chunk-TM4MU7TO.js +0 -360
  2424. package/dist/chunks/chunk-TP7IPISR.js +0 -93
  2425. package/dist/chunks/chunk-TQXSOQCP.js +0 -94
  2426. package/dist/chunks/chunk-TRN6LKBZ.js +0 -242
  2427. package/dist/chunks/chunk-TS3ZKPA2.js +0 -131
  2428. package/dist/chunks/chunk-TSZB27DR.js +0 -260
  2429. package/dist/chunks/chunk-TTIKCSEB.js +0 -105
  2430. package/dist/chunks/chunk-TVKRIRV7.js +0 -175
  2431. package/dist/chunks/chunk-TW6NSSXK.js +0 -410
  2432. package/dist/chunks/chunk-TWKL45WS.js +0 -45
  2433. package/dist/chunks/chunk-TWMSBQJM.js +0 -209
  2434. package/dist/chunks/chunk-TWYLXC6K.js +0 -358
  2435. package/dist/chunks/chunk-TX22URYR.js +0 -221
  2436. package/dist/chunks/chunk-TXLM2BMO.js +0 -44
  2437. package/dist/chunks/chunk-TZQA7OE4.js +0 -102
  2438. package/dist/chunks/chunk-U2CUXMI2.js +0 -176
  2439. package/dist/chunks/chunk-U7RB6KDH.js +0 -237
  2440. package/dist/chunks/chunk-UBRDEHN4.js +0 -121
  2441. package/dist/chunks/chunk-UC67CFRN.js +0 -315
  2442. package/dist/chunks/chunk-UCRHXKSH.js +0 -262
  2443. package/dist/chunks/chunk-UF3GUQH5.js +0 -30
  2444. package/dist/chunks/chunk-UFSGE63A.js +0 -273
  2445. package/dist/chunks/chunk-UFZIN5SR.js +0 -36
  2446. package/dist/chunks/chunk-UGSPAT3B.js +0 -197
  2447. package/dist/chunks/chunk-UIPZR5MF.js +0 -344
  2448. package/dist/chunks/chunk-UKPNJFQ3.js +0 -200
  2449. package/dist/chunks/chunk-ULNKEGLN.js +0 -149
  2450. package/dist/chunks/chunk-UNEXZIT4.js +0 -130
  2451. package/dist/chunks/chunk-UNKG3YKJ.js +0 -201
  2452. package/dist/chunks/chunk-UR6GM5BR.js +0 -23
  2453. package/dist/chunks/chunk-UXA6Q2YM.js +0 -135
  2454. package/dist/chunks/chunk-UYZVM67B.js +0 -98
  2455. package/dist/chunks/chunk-V37LUF5O.js +0 -196
  2456. package/dist/chunks/chunk-V4YU4R34.js +0 -228
  2457. package/dist/chunks/chunk-V5SFZSB4.js +0 -239
  2458. package/dist/chunks/chunk-V66Z2LFI.js +0 -224
  2459. package/dist/chunks/chunk-V7KUM3BX.js +0 -171
  2460. package/dist/chunks/chunk-V7WEN5R6.js +0 -79
  2461. package/dist/chunks/chunk-VAC3BEYR.js +0 -77
  2462. package/dist/chunks/chunk-VBSA5JXF.js +0 -290
  2463. package/dist/chunks/chunk-VBXMQVPV.js +0 -94
  2464. package/dist/chunks/chunk-VEC2YS4Y.js +0 -141
  2465. package/dist/chunks/chunk-VFKBU6WS.js +0 -1309
  2466. package/dist/chunks/chunk-VGQFXFFC.js +0 -88
  2467. package/dist/chunks/chunk-VHHVC3E7.js +0 -366
  2468. package/dist/chunks/chunk-VIK5RVZO.js +0 -143
  2469. package/dist/chunks/chunk-VIRE2IJM.js +0 -23
  2470. package/dist/chunks/chunk-VJ4PDTYT.js +0 -139
  2471. package/dist/chunks/chunk-VLFL4ZR7.js +0 -50
  2472. package/dist/chunks/chunk-VLPKE5OM.js +0 -33
  2473. package/dist/chunks/chunk-VMEIJMND.js +0 -304
  2474. package/dist/chunks/chunk-VMXKPZKD.js +0 -23
  2475. package/dist/chunks/chunk-VNVQCXES.js +0 -83
  2476. package/dist/chunks/chunk-VO2G6W4R.js +0 -49
  2477. package/dist/chunks/chunk-VOJ32H27.js +0 -336
  2478. package/dist/chunks/chunk-VQMJYJNV.js +0 -1307
  2479. package/dist/chunks/chunk-VQPABUEC.js +0 -366
  2480. package/dist/chunks/chunk-VQYOV3MN.js +0 -73
  2481. package/dist/chunks/chunk-VRTGUNT2.js +0 -33
  2482. package/dist/chunks/chunk-VVRIX3LG.js +0 -338
  2483. package/dist/chunks/chunk-VYXVXJF4.js +0 -101
  2484. package/dist/chunks/chunk-VZXQIJXG.js +0 -163
  2485. package/dist/chunks/chunk-W23BLXPT.js +0 -78
  2486. package/dist/chunks/chunk-W2R45YDM.js +0 -95
  2487. package/dist/chunks/chunk-W3EIUFJC.js +0 -162
  2488. package/dist/chunks/chunk-W3NYXY5E.js +0 -39
  2489. package/dist/chunks/chunk-W4YVZOAN.js +0 -197
  2490. package/dist/chunks/chunk-W5B6TNG3.js +0 -110
  2491. package/dist/chunks/chunk-W6B4KLZD.js +0 -209
  2492. package/dist/chunks/chunk-W6ZIDU5T.js +0 -99
  2493. package/dist/chunks/chunk-W7WUKI6F.js +0 -75
  2494. package/dist/chunks/chunk-WB7T35FT.js +0 -42
  2495. package/dist/chunks/chunk-WCLTLJZK.js +0 -179
  2496. package/dist/chunks/chunk-WDOTTWO6.js +0 -97
  2497. package/dist/chunks/chunk-WDSVR43E.js +0 -111
  2498. package/dist/chunks/chunk-WE2HKGBH.js +0 -652
  2499. package/dist/chunks/chunk-WEG75LIK.js +0 -90
  2500. package/dist/chunks/chunk-WGH4CVYS.js +0 -685
  2501. package/dist/chunks/chunk-WGQAKKZI.js +0 -46
  2502. package/dist/chunks/chunk-WGVX6PXC.js +0 -71
  2503. package/dist/chunks/chunk-WICLRDQZ.js +0 -166
  2504. package/dist/chunks/chunk-WK62J56K.js +0 -23
  2505. package/dist/chunks/chunk-WKKMXRUV.js +0 -90
  2506. package/dist/chunks/chunk-WLLXSMNK.js +0 -130
  2507. package/dist/chunks/chunk-WMJ4WBPI.js +0 -655
  2508. package/dist/chunks/chunk-WNRSRDWM.js +0 -165
  2509. package/dist/chunks/chunk-WORYGIZT.js +0 -100
  2510. package/dist/chunks/chunk-WPXRIM5R.js +0 -146
  2511. package/dist/chunks/chunk-WQ5B2GAD.js +0 -115
  2512. package/dist/chunks/chunk-WQ74LRJI.js +0 -160
  2513. package/dist/chunks/chunk-WQCDQOTJ.js +0 -156
  2514. package/dist/chunks/chunk-WQOUZC4D.js +0 -210
  2515. package/dist/chunks/chunk-WQQCF6NL.js +0 -172
  2516. package/dist/chunks/chunk-WTKTLHOU.js +0 -301
  2517. package/dist/chunks/chunk-WUTF3422.js +0 -104
  2518. package/dist/chunks/chunk-WVOQOTWX.js +0 -78
  2519. package/dist/chunks/chunk-WXI45JRY.js +0 -165
  2520. package/dist/chunks/chunk-WY5UE33E.js +0 -33
  2521. package/dist/chunks/chunk-X3HFUGD7.js +0 -231
  2522. package/dist/chunks/chunk-X4ULTVQF.js +0 -99
  2523. package/dist/chunks/chunk-X56FL55Q.js +0 -76
  2524. package/dist/chunks/chunk-XBP6DUQY.js +0 -79
  2525. package/dist/chunks/chunk-XBQCEVQW.js +0 -129
  2526. package/dist/chunks/chunk-XCSO7XVS.js +0 -55
  2527. package/dist/chunks/chunk-XDMBBQ44.js +0 -247
  2528. package/dist/chunks/chunk-XDNFB4TS.js +0 -206
  2529. package/dist/chunks/chunk-XF3B74OT.js +0 -130
  2530. package/dist/chunks/chunk-XHG22X5P.js +0 -134
  2531. package/dist/chunks/chunk-XHPPSQT7.js +0 -97
  2532. package/dist/chunks/chunk-XJKYBDAO.js +0 -282
  2533. package/dist/chunks/chunk-XKHIUVJ5.js +0 -159
  2534. package/dist/chunks/chunk-XLCCAI5D.js +0 -23
  2535. package/dist/chunks/chunk-XLHC7NTN.js +0 -92
  2536. package/dist/chunks/chunk-XN325PUR.js +0 -150
  2537. package/dist/chunks/chunk-XNNAHKAM.js +0 -23
  2538. package/dist/chunks/chunk-XODZ6X7X.js +0 -23
  2539. package/dist/chunks/chunk-XP6P2R3O.js +0 -297
  2540. package/dist/chunks/chunk-XPJSZBHK.js +0 -73
  2541. package/dist/chunks/chunk-XPXPSPRM.js +0 -86
  2542. package/dist/chunks/chunk-XQBS2VBJ.js +0 -91
  2543. package/dist/chunks/chunk-XSCH7XGI.js +0 -23
  2544. package/dist/chunks/chunk-XU3DX7AI.js +0 -10311
  2545. package/dist/chunks/chunk-XVGGUBC4.js +0 -589
  2546. package/dist/chunks/chunk-XXK45HVS.js +0 -137
  2547. package/dist/chunks/chunk-XXSOKSUQ.js +0 -231
  2548. package/dist/chunks/chunk-XZEBPBCM.js +0 -198
  2549. package/dist/chunks/chunk-XZOSIBIM.js +0 -1845
  2550. package/dist/chunks/chunk-XZW24X26.js +0 -141
  2551. package/dist/chunks/chunk-Y3PZN3AX.js +0 -36
  2552. package/dist/chunks/chunk-Y6KOUCGO.js +0 -261
  2553. package/dist/chunks/chunk-Y77EGRF6.js +0 -169
  2554. package/dist/chunks/chunk-Y7KZ5OF5.js +0 -177
  2555. package/dist/chunks/chunk-YBKBHLEY.js +0 -106
  2556. package/dist/chunks/chunk-YBUBOH3P.js +0 -149
  2557. package/dist/chunks/chunk-YDLHRF4U.js +0 -260
  2558. package/dist/chunks/chunk-YDXP4WTW.js +0 -106
  2559. package/dist/chunks/chunk-YEO34X3A.js +0 -160
  2560. package/dist/chunks/chunk-YETU2A7I.js +0 -224
  2561. package/dist/chunks/chunk-YFESMKQQ.js +0 -71
  2562. package/dist/chunks/chunk-YGKTGJM2.js +0 -41
  2563. package/dist/chunks/chunk-YH3SSR6G.js +0 -128
  2564. package/dist/chunks/chunk-YIW5VSFK.js +0 -120
  2565. package/dist/chunks/chunk-YJ6LEU2J.js +0 -78
  2566. package/dist/chunks/chunk-YJEHJEX4.js +0 -47
  2567. package/dist/chunks/chunk-YKIKRJ74.js +0 -84
  2568. package/dist/chunks/chunk-YLGRUDW6.js +0 -166
  2569. package/dist/chunks/chunk-YLWIXBTK.js +0 -118
  2570. package/dist/chunks/chunk-YM6PJXNQ.js +0 -298
  2571. package/dist/chunks/chunk-YNB5QZDP.js +0 -49
  2572. package/dist/chunks/chunk-YQX3IV5C.js +0 -214
  2573. package/dist/chunks/chunk-YVWMVSVP.js +0 -283
  2574. package/dist/chunks/chunk-YXUBN6Z7.js +0 -129
  2575. package/dist/chunks/chunk-YXVXP4MG.js +0 -218
  2576. package/dist/chunks/chunk-YZLW4DFE.js +0 -305
  2577. package/dist/chunks/chunk-Z2HJGR3A.js +0 -209
  2578. package/dist/chunks/chunk-Z65YVTIN.js +0 -30
  2579. package/dist/chunks/chunk-ZBNBRVIV.js +0 -45
  2580. package/dist/chunks/chunk-ZDWEIQIE.js +0 -240
  2581. package/dist/chunks/chunk-ZEKCLU2L.js +0 -88
  2582. package/dist/chunks/chunk-ZFDDNQCQ.js +0 -311
  2583. package/dist/chunks/chunk-ZGQMKX4X.js +0 -36
  2584. package/dist/chunks/chunk-ZHW574NT.js +0 -45
  2585. package/dist/chunks/chunk-ZITOQAQM.js +0 -274
  2586. package/dist/chunks/chunk-ZJ5QPIBV.js +0 -115
  2587. package/dist/chunks/chunk-ZJQK6N6E.js +0 -165
  2588. package/dist/chunks/chunk-ZNQEAZWK.js +0 -36
  2589. package/dist/chunks/chunk-ZOZ3V5DX.js +0 -111
  2590. package/dist/chunks/chunk-ZPBD3O7T.js +0 -91
  2591. package/dist/chunks/chunk-ZQFETLUJ.js +0 -122
  2592. package/dist/chunks/chunk-ZQXUZNCB.js +0 -71
  2593. package/dist/chunks/chunk-ZSSYBVOB.js +0 -164
  2594. package/dist/chunks/chunk-ZT6SX43S.js +0 -115
  2595. package/dist/chunks/chunk-ZTAOLM7L.js +0 -79
  2596. package/dist/chunks/chunk-ZU2G72GQ.js +0 -157
  2597. package/dist/chunks/chunk-ZVNMHMKW.js +0 -195
  2598. package/dist/chunks/chunk-ZXWPGQM2.js +0 -45
  2599. package/dist/chunks/chunk-ZYKXKIJQ.js +0 -157
  2600. package/dist/chunks/chunk-ZZOVEG7Y.js +0 -256
  2601. package/dist/chunks/client-CUSZUCKL.js +0 -168
  2602. package/dist/chunks/client-P2N4HJDI.js +0 -31
  2603. package/dist/chunks/client-URK3YYVX.js +0 -47
  2604. package/dist/chunks/client-actions-BVZPKYVU.js +0 -170
  2605. package/dist/chunks/components-D2X2JWWH.js +0 -78
  2606. package/dist/chunks/dangerous-VLYOJ64W.js +0 -124
  2607. package/dist/chunks/delete-current-file-3O3ZC5TD.js +0 -163
  2608. package/dist/chunks/editor-seams-FDXTVQME.js +0 -183
  2609. package/dist/chunks/editor-store-U3IBR5IB.js +0 -148
  2610. package/dist/chunks/export-5OCOY5YP.js +0 -67
  2611. package/dist/chunks/export-watermark-7V6Q2WDH.js +0 -157
  2612. package/dist/chunks/eyedropper-E3CPFXF3.js +0 -355
  2613. package/dist/chunks/generate-media-SINWPAL2.js +0 -255
  2614. package/dist/chunks/host-LX5BAIAO.js +0 -184
  2615. package/dist/chunks/host-ZCLOZGK7.js +0 -246
  2616. package/dist/chunks/integrations-4D5N2HJ4.js +0 -125
  2617. package/dist/chunks/libraries-UCNQ7N5Q.js +0 -311
  2618. package/dist/chunks/live-H7TONE3V.js +0 -322
  2619. package/dist/chunks/lottie-WJENERSB.js +0 -91
  2620. package/dist/chunks/media-tool-ZZEYSUGK.js +0 -237
  2621. package/dist/chunks/new-file-BVZJRZQ6.js +0 -140
  2622. package/dist/chunks/next-commerce-5KRQYQY5.js +0 -74
  2623. package/dist/chunks/pdf-LJ4WTABV.js +0 -1218
  2624. package/dist/chunks/player-check-2PQRKOPH.js +0 -119
  2625. package/dist/chunks/plugin-GLJN2F4L.js +0 -131
  2626. package/dist/chunks/plugin-import-O7GNJMV2.js +0 -692
  2627. package/dist/chunks/presence-UBWVP6PY.js +0 -137
  2628. package/dist/chunks/project-TLJSABZU.js +0 -1601
  2629. package/dist/chunks/publish-site-TW46EWEK.js +0 -167
  2630. package/dist/chunks/publish-store-BDAQYXHD.js +0 -100
  2631. package/dist/chunks/raster-actions-HC5OLH3T.js +0 -233
  2632. package/dist/chunks/reference-images-FWIKE3UF.js +0 -62
  2633. package/dist/chunks/registry-IWH5W2YN.js +0 -45
  2634. package/dist/chunks/resolvers-Z3GFIWPW.js +0 -150
  2635. package/dist/chunks/runner-7IOB2RD3.js +0 -3546
  2636. package/dist/chunks/store-A7CHGORL.js +0 -235
  2637. package/dist/chunks/storefront-L3R5KFQ4.js +0 -336
  2638. package/dist/chunks/storefront-prepare-NS6G6MMT.js +0 -33
  2639. package/dist/chunks/svg-export-SXF3SN5D.js +0 -84
  2640. package/dist/chunks/sync-SYCWFNRY.js +0 -162
  2641. package/dist/chunks/tabs-VSF6YMCN.js +0 -320
  2642. package/dist/chunks/team-6CKYUXXU.js +0 -47
  2643. package/dist/chunks/team-client-6RLJ7MYM.js +0 -158
  2644. package/dist/chunks/tools-QK7JZ2JQ.js +0 -37
  2645. package/dist/chunks/tree-FCCI3I2H.js +0 -83
  2646. package/dist/chunks/ui-commands-IFHCVB6M.js +0 -191
  2647. package/dist/chunks/versions-QKCND6B2.js +0 -320
  2648. package/dist/chunks/web-E3ZJWOGA.js +0 -186
@@ -1,3546 +0,0 @@
1
- import { createRequire as __popcraftRequire } from 'node:module';
2
- import { fileURLToPath as __popcraftPath } from 'node:url';
3
- import { dirname as __popcraftDirname } from 'node:path';
4
- const require = __popcraftRequire(import.meta.url);
5
- const __filename = __popcraftPath(import.meta.url);
6
- const __dirname = __popcraftDirname(__filename);
7
- import {
8
- ALL_TOOLS,
9
- SUBAGENT_FRAMING,
10
- activeMessages,
11
- agentModel,
12
- allProfiles,
13
- allSkills,
14
- appendMessage,
15
- findProfile,
16
- findSkill,
17
- mentionContext,
18
- newId,
19
- persistThreads,
20
- profileIndexLine,
21
- rememberCheckpoint,
22
- setParts,
23
- setTodos,
24
- skillIndexLine,
25
- updateActiveThread,
26
- updateMessage,
27
- useAgentStore
28
- } from "./chunk-PDA6U2CD.js";
29
- import "./chunk-V3I4KSGP.js";
30
- import {
31
- registerBuiltinTools
32
- } from "./chunk-BDMA5C7B.js";
33
- import {
34
- registerDangerousCommands
35
- } from "./chunk-MA56YJ2B.js";
36
- import "./chunk-LCBX65MQ.js";
37
- import {
38
- editBlockReason,
39
- editorToolContext
40
- } from "./chunk-EEMK2O5N.js";
41
- import "./chunk-LNBRTXX2.js";
42
- import "./chunk-EFDY2CAU.js";
43
- import "./chunk-RG2WRCVL.js";
44
- import "./chunk-UD5NRN4U.js";
45
- import "./chunk-NFM6Y2II.js";
46
- import "./chunk-VJWGIX35.js";
47
- import "./chunk-F7X5VOWS.js";
48
- import {
49
- buildDesignContext,
50
- joinWithin
51
- } from "./chunk-SY3YROB5.js";
52
- import "./chunk-HYBRBOHZ.js";
53
- import "./chunk-LGVVLVLF.js";
54
- import "./chunk-WMOX7OES.js";
55
- import "./chunk-YMZ7ZPBV.js";
56
- import "./chunk-6D3PGN4L.js";
57
- import {
58
- HYPERY_PAYMENT_SOURCE_HEADER,
59
- paymentSourceHeaders
60
- } from "./chunk-IQY2JUU3.js";
61
- import {
62
- allTools,
63
- getTool,
64
- runTool,
65
- toolSpecs
66
- } from "./chunk-LIQG3BT3.js";
67
- import {
68
- external_exports
69
- } from "./chunk-Z5OEPBFF.js";
70
- import {
71
- provideAgentCapability
72
- } from "./chunk-6PJE2MZU.js";
73
- import {
74
- defineCommand
75
- } from "./chunk-FLOXTSFB.js";
76
- import "./chunk-XPTCDD7W.js";
77
- import "./chunk-R7SIFAMQ.js";
78
- import "./chunk-NHDOQPUU.js";
79
- import "./chunk-EZEIVLC6.js";
80
- import "./chunk-VRLULK3N.js";
81
- import "./chunk-BTKMDAAV.js";
82
- import "./chunk-XZOSIBIM.js";
83
- import "./chunk-HBBCFHNF.js";
84
- import "./chunk-44UEFX4Z.js";
85
- import "./chunk-ROMAKG2E.js";
86
- import "./chunk-2XMYX76C.js";
87
- import "./chunk-5IXLJCSO.js";
88
- import {
89
- aiAvailability,
90
- effectiveChatModel,
91
- useAiStore
92
- } from "./chunk-I3TLMSA5.js";
93
- import "./chunk-7AGYCJ67.js";
94
- import "./chunk-CJKLC6HP.js";
95
- import "./chunk-OZZ3JLQP.js";
96
- import "./chunk-ZKSRHKPM.js";
97
- import "./chunk-A2NMZSLJ.js";
98
- import "./chunk-XU3DX7AI.js";
99
- import "./chunk-MQTCBQFK.js";
100
- import "./chunk-OOT4ZGYE.js";
101
- import "./chunk-HNGLOJHT.js";
102
- import "./chunk-I4YWQRCU.js";
103
- import {
104
- activeHyperyTeamId
105
- } from "./chunk-WQOUZC4D.js";
106
- import "./chunk-ECQZMDXA.js";
107
- import "./chunk-HBWDTR2D.js";
108
- import "./chunk-E2MJREAG.js";
109
- import "./chunk-4MIBB47F.js";
110
- import "./chunk-XP7RQ2JB.js";
111
- import "./chunk-TM4VR73D.js";
112
- import "./chunk-UKPNJFQ3.js";
113
- import {
114
- useEditorStore
115
- } from "./chunk-TIL6LFVN.js";
116
- import "./chunk-DOUOALWM.js";
117
- import "./chunk-AWBZ7OAC.js";
118
- import "./chunk-O44R3J7R.js";
119
- import "./chunk-AHKEV5K5.js";
120
- import "./chunk-TCKWHC2T.js";
121
- import "./chunk-EEHWGME6.js";
122
- import "./chunk-DJPA67HX.js";
123
- import "./chunk-TZKMYQIF.js";
124
- import "./chunk-K7PP5B6S.js";
125
- import "./chunk-3M62OUTK.js";
126
- import "./chunk-C5T3O7EZ.js";
127
- import "./chunk-C7DPHQPS.js";
128
- import "./chunk-S2DQHYU5.js";
129
- import "./chunk-MXELDDJ6.js";
130
- import "./chunk-W2BUFR5A.js";
131
- import "./chunk-XPPJ32X2.js";
132
- import "./chunk-ERAYSG3J.js";
133
- import "./chunk-FWDXVU53.js";
134
- import "./chunk-O5E55OHY.js";
135
- import {
136
- create
137
- } from "./chunk-TUV2TNCJ.js";
138
- import "./chunk-ZWTDSAPC.js";
139
- import "./chunk-FA5ALFMY.js";
140
- import "./chunk-6IBV7CUB.js";
141
- import "./chunk-236QPZBZ.js";
142
- import "./chunk-VLXQMEMB.js";
143
- import {
144
- HYPERY_GATEWAY_URL,
145
- accessToken
146
- } from "./chunk-ZXMJ5RMP.js";
147
- import {
148
- ToolError,
149
- registerCommand
150
- } from "./chunk-ZNJPRHVZ.js";
151
- import "./chunk-PEXL5UTV.js";
152
- import "./chunk-2R2DQG4N.js";
153
- import "./chunk-VI7BFNHR.js";
154
- import "./chunk-7KVJX66N.js";
155
- import "./chunk-U7V2X5LV.js";
156
- import "./chunk-32EVMNM5.js";
157
- import "./chunk-FZYQFW5T.js";
158
- import "./chunk-CMJYKODG.js";
159
- import "./chunk-BJEUPCOR.js";
160
- import "./chunk-HKD5NDRS.js";
161
- import "./chunk-RKKGBNQO.js";
162
- import "./chunk-GKCGYCD5.js";
163
- import "./chunk-37VLXIVF.js";
164
- import "./chunk-IZEICGWI.js";
165
- import "./chunk-Y5DRBM5F.js";
166
- import "./chunk-EOSBX3FZ.js";
167
- import "./chunk-WYYVX52S.js";
168
- import "./chunk-VJW672NQ.js";
169
- import "./chunk-NQY5XZX5.js";
170
- import "./chunk-ZRLSCCJO.js";
171
- import "./chunk-MJKZDUX4.js";
172
- import "./chunk-D3GI6HKP.js";
173
- import "./chunk-RWHIKQ2L.js";
174
- import "./chunk-L7WGJ7QG.js";
175
- import "./chunk-KAZHOJUN.js";
176
- import "./chunk-MGMQ2KJU.js";
177
- import "./chunk-5AHFTM4R.js";
178
- import "./chunk-XGC2MJQ3.js";
179
- import "./chunk-S25JSO4I.js";
180
- import "./chunk-HLPK64GC.js";
181
- import "./chunk-W4FGFFXJ.js";
182
- import "./chunk-3FIMYIY3.js";
183
- import "./chunk-LGNJXK44.js";
184
- import "./chunk-4MUZ5SYF.js";
185
- import "./chunk-4MR5JYE7.js";
186
- import "./chunk-B5UXEWRA.js";
187
- import "./chunk-URHNWZHU.js";
188
- import "./chunk-RXMFX47E.js";
189
- import "./chunk-UNLBBM3F.js";
190
- import "./chunk-FM6YGPXM.js";
191
- import "./chunk-T6F7SEJP.js";
192
- import "./chunk-D3OJDBJY.js";
193
- import "./chunk-QUOR4SUK.js";
194
- import "./chunk-ILFAANSR.js";
195
- import "./chunk-PNWI5K2Y.js";
196
- import "./chunk-AVWA3JAF.js";
197
- import "./chunk-IOROC34C.js";
198
- import "./chunk-EGIAI3WB.js";
199
- import "./chunk-WBDXYOUD.js";
200
- import "./chunk-GX75ZDZV.js";
201
- import "./chunk-MAY74YBA.js";
202
- import "./chunk-I2HS3G6L.js";
203
- import "./chunk-LJ7MRJ3J.js";
204
- import "./chunk-7YE3VGUX.js";
205
- import "./chunk-2YAPOWSJ.js";
206
- import "./chunk-ULZ3TRKS.js";
207
- import "./chunk-SG2HVQFH.js";
208
- import "./chunk-J65G3EI7.js";
209
- import "./chunk-CK4GXI74.js";
210
- import "./chunk-2M67NB55.js";
211
- import "./chunk-QSMUW5EB.js";
212
- import "./chunk-TUUV4LPG.js";
213
- import "./chunk-PYLLKI27.js";
214
- import "./chunk-RTGD6W7X.js";
215
- import "./chunk-DJNLUKOU.js";
216
- import "./chunk-4S6PGBFE.js";
217
- import "./chunk-XMFUQRVR.js";
218
- import "./chunk-ZM2DPCNT.js";
219
- import "./chunk-XLDMTJQY.js";
220
- import "./chunk-TI7QDIRR.js";
221
- import "./chunk-W267QXPV.js";
222
- import "./chunk-RE7SHU2D.js";
223
- import "./chunk-MPIYDOEF.js";
224
- import "./chunk-AJCJBDGI.js";
225
- import "./chunk-ZDL3FDAT.js";
226
- import "./chunk-X6UBPW5N.js";
227
- import "./chunk-6KJT76UR.js";
228
- import {
229
- AI_LIMITS,
230
- init_limits,
231
- str
232
- } from "./chunk-NZKUQ5FE.js";
233
- import "./chunk-EZXBEAVI.js";
234
- import "./chunk-EDXW4XPI.js";
235
- import "./chunk-2XB63O3T.js";
236
- import "./chunk-E36SCACU.js";
237
- import "./chunk-7BWDTEXO.js";
238
- import "./chunk-VW2FNPYI.js";
239
- import "./chunk-I62FQ5QU.js";
240
- import "./chunk-P4XICREO.js";
241
- import "./chunk-ZPBARJPC.js";
242
- import "./chunk-PFM3YVVM.js";
243
- import "./chunk-FEKRQPV3.js";
244
- import "./chunk-PIQWSU7I.js";
245
- import "./chunk-LPSIJ2QE.js";
246
- import {
247
- init_define_POPCRAFT_COMPONENT_IDS
248
- } from "./chunk-MFWXJURX.js";
249
- import "./chunk-LJSVREWM.js";
250
-
251
- // lib/agent/runner.ts
252
- init_define_POPCRAFT_COMPONENT_IDS();
253
-
254
- // lib/agent/gateway.ts
255
- init_define_POPCRAFT_COMPONENT_IDS();
256
-
257
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/index.js
258
- init_define_POPCRAFT_COMPONENT_IDS();
259
-
260
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/hypery-model.js
261
- init_define_POPCRAFT_COMPONENT_IDS();
262
- var delay = ((ms) => new Promise((settle) => setTimeout(() => settle(null), Math.max(0, Number(ms) || 0))));
263
- var utf8Complete = ((b) => {
264
- if (!Array.isArray(b)) return null;
265
- const n = b.length;
266
- for (let i = n - 1; i >= Math.max(0, n - 3); i--) {
267
- const c = b[i];
268
- if ((c & 192) === 128) continue;
269
- const len = c <= 127 ? 1 : c >= 194 && c <= 223 ? 2 : c >= 224 && c <= 239 ? 3 : c >= 240 && c <= 244 ? 4 : 1;
270
- return n - i < len ? i : n;
271
- }
272
- return n;
273
- });
274
- var utf8Decode = ((b) => typeof b === "string" ? b : Array.isArray(b) ? new TextDecoder().decode(Uint8Array.from(b)) : null);
275
- var MAX_REQUEST_BYTES = 44e5;
276
- var DEFAULT_IDLE_TIMEOUT_MS = 18e4;
277
- var HYPERY_TEAM_HEADER = "x-hypery-active-organization-id";
278
- var HYPERY_PAYMENT_SOURCE_HEADER2 = "x-hypery-payment-source";
279
- function agentModelError(message, code, status) {
280
- {
281
- return { name: "AgentModelError", message, code: code ?? "ai_upstream", status: ((__v) => __v == null ? "null" : typeof __v)(status) === "number" ? status : 502 };
282
- }
283
- }
284
- async function resolve(v) {
285
- {
286
- if (((__v) => __v == null ? "null" : typeof __v)(v) === "function") {
287
- return await (v() ?? null);
288
- }
289
- return v ?? null;
290
- }
291
- }
292
- function errorCodeFor(status, payload) {
293
- {
294
- if (payload != null && ((__v) => __v == null ? "null" : typeof __v)(payload) === "object" && payload.error != null && ((__v) => __v == null ? "null" : typeof __v)(payload.error) === "object" && ((__v) => __v == null ? "null" : typeof __v)(payload.error.code) === "string") {
295
- return payload.error.code;
296
- }
297
- if (status === 401) {
298
- return "ai_reauth";
299
- }
300
- if (status === 402) {
301
- return "ai_credits";
302
- }
303
- if (status === 403) {
304
- return "ai_scope";
305
- }
306
- if (status === 429) {
307
- return "ai_rate_limited";
308
- }
309
- return "ai_upstream";
310
- }
311
- }
312
- function streamErrorMessage(payload, fallback) {
313
- {
314
- let otherwise = fallback ?? "The AI request failed.";
315
- if (payload == null || ((__v) => __v == null ? "null" : typeof __v)(payload) !== "object") {
316
- return otherwise;
317
- }
318
- let err = payload.error ?? null;
319
- if (((__v) => __v == null ? "null" : typeof __v)(err) === "string" && (err.trim() ?? null) !== "") {
320
- return err;
321
- }
322
- let message = err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" ? err.message ?? null : null;
323
- if (message == null) {
324
- message = payload.message ?? null;
325
- }
326
- return ((__v) => __v == null ? "null" : typeof __v)(message) === "string" && (message.trim() ?? null) !== "" ? message : otherwise;
327
- }
328
- }
329
- function createStreamAccumulator() {
330
- {
331
- let buffer = "";
332
- let text = "";
333
- let reasoning = "";
334
- let sawDone = false;
335
- let calls = /* @__PURE__ */ new Map() ?? null;
336
- let order = [];
337
- return { push: (part) => {
338
- {
339
- buffer = buffer + part;
340
- let out = [];
341
- let nl = buffer.indexOf("\n") ?? null;
342
- while (nl >= 0) {
343
- let line = (buffer.slice(0, nl) ?? null).trim() ?? null;
344
- buffer = buffer.slice(nl + 1) ?? null;
345
- nl = buffer.indexOf("\n") ?? null;
346
- if (!(line.startsWith("data:") ?? null)) {
347
- continue;
348
- }
349
- let data = (line.slice(5) ?? null).trim() ?? null;
350
- if (data === "") {
351
- continue;
352
- }
353
- if (data === "[DONE]") {
354
- sawDone = true;
355
- continue;
356
- }
357
- let chunk = null;
358
- try {
359
- {
360
- chunk = JSON.parse(data) ?? null;
361
- }
362
- } catch (e) {
363
- {
364
- continue;
365
- }
366
- }
367
- if (chunk == null || ((__v) => __v == null ? "null" : typeof __v)(chunk) !== "object") {
368
- continue;
369
- }
370
- if (chunk.error) {
371
- let code = ((__v) => __v == null ? "null" : typeof __v)(chunk.error) === "object" && ((__v) => __v == null ? "null" : typeof __v)(chunk.error.code) === "string" ? chunk.error.code : "ai_upstream";
372
- throw agentModelError(streamErrorMessage(chunk, null) ?? null, code, 502) ?? null;
373
- }
374
- let choice = (Array.isArray(chunk.choices) ?? null) && chunk.choices.length > 0 ? chunk.choices[0] ?? null : null;
375
- let delta = choice != null ? choice.delta ?? null : null;
376
- if (delta == null) {
377
- continue;
378
- }
379
- if (((__v) => __v == null ? "null" : typeof __v)(delta.content) === "string" && delta.content !== "") {
380
- text = text + delta.content;
381
- out.push({ textDelta: delta.content }) ?? null;
382
- }
383
- let r = ((__v) => __v == null ? "null" : typeof __v)(delta.reasoning) === "string" ? delta.reasoning : ((__v) => __v == null ? "null" : typeof __v)(delta.reasoning_content) === "string" ? delta.reasoning_content : "";
384
- if (r !== "") {
385
- reasoning = reasoning + r;
386
- out.push({ reasoningDelta: r }) ?? null;
387
- }
388
- for (const tc of Array.isArray(delta.tool_calls) ?? null ? delta.tool_calls : []) {
389
- let i = ((__v) => __v == null ? "null" : typeof __v)(tc.index) === "number" ? tc.index : order.length > 0 ? order[order.length - 1] ?? null : 0;
390
- if (!(calls.has(i) ?? null)) {
391
- calls.set(i, { id: null, name: "", arguments: "" }) ?? null;
392
- order.push(i) ?? null;
393
- }
394
- let call = calls.get(i) ?? null;
395
- if (((__v) => __v == null ? "null" : typeof __v)(tc.id) === "string" && tc.id !== "") {
396
- call.id = tc.id;
397
- }
398
- let f = tc["function"] ?? null ?? null;
399
- if (f != null && ((__v) => __v == null ? "null" : typeof __v)(f.name) === "string") {
400
- call.name = call.name + f.name;
401
- }
402
- if (f != null && ((__v) => __v == null ? "null" : typeof __v)(f.arguments) === "string" && f.arguments !== "") {
403
- call.arguments = call.arguments + f.arguments;
404
- out.push({ toolProgress: { index: i, name: call.name, bytes: call.arguments.length, arguments: call.arguments } }) ?? null;
405
- }
406
- }
407
- }
408
- return out;
409
- }
410
- }, result: () => {
411
- {
412
- let toolCalls = [];
413
- let n = 0;
414
- for (const i of order) {
415
- let c = calls.get(i) ?? null;
416
- if (c.name !== "") {
417
- toolCalls.push({ id: c.id ?? "call_" + (String(n) ?? null), name: c.name, arguments: c.arguments }) ?? null;
418
- }
419
- n = n + 1;
420
- }
421
- return { text, reasoning, sawDone, toolCalls };
422
- }
423
- } };
424
- }
425
- }
426
- function appendBytes(pending, chunk) {
427
- {
428
- let out = pending.slice() ?? null;
429
- let i = 0;
430
- while (i < chunk.length) {
431
- out.push(chunk[i] ?? null) ?? null;
432
- i = i + 1;
433
- }
434
- return out;
435
- }
436
- }
437
- function callHook(hooks, name, value) {
438
- {
439
- if (hooks == null || ((__v) => __v == null ? "null" : typeof __v)(hooks) !== "object") {
440
- return;
441
- }
442
- let h = hooks[name] ?? null;
443
- if (((__v) => __v == null ? "null" : typeof __v)(h) === "function") {
444
- h(value) ?? null;
445
- }
446
- }
447
- }
448
- function createHyperyModel(opts) {
449
- {
450
- let idleMs = ((__v) => __v == null ? "null" : typeof __v)(opts.idleTimeoutMs) === "number" ? opts.idleTimeoutMs : DEFAULT_IDLE_TIMEOUT_MS;
451
- let limit = ((__v) => __v == null ? "null" : typeof __v)(opts.maxRequestBytes) === "number" ? opts.maxRequestBytes : MAX_REQUEST_BYTES;
452
- let base = ((__v) => __v == null ? "null" : typeof __v)(opts.gatewayUrl) === "string" && opts.gatewayUrl !== "" ? opts.gatewayUrl : "https://hypery.ai";
453
- if (base.endsWith("/") ?? null) {
454
- base = base.slice(0, base.length - 1) ?? null;
455
- }
456
- return async (messages, tools, hooks, signal, req = null) => {
457
- {
458
- let token = await (resolve(opts.token) ?? null);
459
- if (((__v) => __v == null ? "null" : typeof __v)(token) !== "string" || token === "") {
460
- throw agentModelError("Sign in to Hypery to use the agent.", "ai_reauth", 401) ?? null;
461
- }
462
- let hasReq = req != null && ((__v) => __v == null ? "null" : typeof __v)(req) === "object";
463
- let model = hasReq && ((__v) => __v == null ? "null" : typeof __v)(req.model) === "string" && req.model !== "" ? req.model : await (resolve(opts.model) ?? null);
464
- let effort = hasReq && ((__v) => __v == null ? "null" : typeof __v)(req.effort) === "string" ? req.effort : await (resolve(opts.effort) ?? null);
465
- let team = await (resolve(opts.team) ?? null);
466
- let paymentSource = await (resolve(opts.paymentSource) ?? null);
467
- let hasTools = (Array.isArray(tools) ?? null) && tools.length > 0;
468
- let request = { model, messages, stream: true, max_tokens: ((__v) => __v == null ? "null" : typeof __v)(opts.maxTokens) === "number" ? opts.maxTokens : hasTools ? 16384 : 4096 };
469
- if (((__v) => __v == null ? "null" : typeof __v)(opts.temperature) === "number") {
470
- request.temperature = opts.temperature;
471
- }
472
- if (((__v) => __v == null ? "null" : typeof __v)(effort) === "string" && effort !== "") {
473
- request.reasoning = { effort };
474
- }
475
- if (hasTools) {
476
- request.tools = tools;
477
- let choice = hasReq ? req.toolChoice ?? null : null;
478
- request.tool_choice = choice != null ? choice : "auto";
479
- }
480
- let body = JSON.stringify(request) ?? null;
481
- if (body.length > limit) {
482
- throw agentModelError("This message is too large to send (" + ((body.length / 1e6).toFixed(1) ?? null) + " MB with its images). Send fewer or smaller images.", "too_large", 413) ?? null;
483
- }
484
- let headers = { Authorization: "Bearer " + token, "Content-Type": "application/json", Accept: "text/event-stream" };
485
- if (((__v) => __v == null ? "null" : typeof __v)(team) === "string" && team !== "") {
486
- headers[HYPERY_TEAM_HEADER] = team;
487
- }
488
- if (((__v) => __v == null ? "null" : typeof __v)(paymentSource) === "string" && paymentSource !== "") {
489
- headers[HYPERY_PAYMENT_SOURCE_HEADER2] = paymentSource;
490
- }
491
- let init = { method: "POST", headers, body };
492
- if (signal != null && ((__v) => __v == null ? "null" : typeof __v)(signal.addEventListener) === "function") {
493
- init.signal = signal;
494
- }
495
- let res = null;
496
- try {
497
- {
498
- res = await (opts.fetch(base + "/api/v1/chat/completions", init) ?? null);
499
- }
500
- } catch (err) {
501
- {
502
- if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && err.name === "AbortError") {
503
- throw err;
504
- }
505
- throw agentModelError("Could not reach Hypery. Check your connection.", "network", 0) ?? null;
506
- }
507
- }
508
- if (res.ok !== true || res.body == null) {
509
- let text = "";
510
- try {
511
- {
512
- text = await (res.text() ?? null);
513
- }
514
- } catch (e) {
515
- {
516
- text = "";
517
- }
518
- }
519
- let payload = text;
520
- try {
521
- {
522
- payload = JSON.parse(text) ?? null;
523
- }
524
- } catch (e) {
525
- {
526
- payload = text;
527
- }
528
- }
529
- throw agentModelError(streamErrorMessage(payload, "The AI request failed (" + (String(res.status) ?? null) + ").") ?? null, errorCodeFor(res.status, payload) ?? null, res.status) ?? null;
530
- }
531
- let acc = createStreamAccumulator() ?? null;
532
- let reader = res.body.getReader() ?? null;
533
- let pending = [];
534
- let stopReading = () => {
535
- {
536
- if (((__v) => __v == null ? "null" : typeof __v)(reader.cancel) === "function") {
537
- try {
538
- {
539
- reader.cancel() ?? null;
540
- }
541
- } catch (e) {
542
- {
543
- }
544
- }
545
- }
546
- }
547
- };
548
- while (true) {
549
- if (signal != null && signal.aborted === true) {
550
- stopReading() ?? null;
551
- throw { name: "AbortError", message: "The request was stopped." };
552
- }
553
- let next = await (Promise.race([reader.read() ?? null, delay(idleMs) ?? null]) ?? null);
554
- if (next == null) {
555
- stopReading() ?? null;
556
- throw agentModelError("The model stopped responding.", "ai_timeout", 504) ?? null;
557
- }
558
- if (next.done === true) {
559
- break;
560
- }
561
- if (next.value == null) {
562
- continue;
563
- }
564
- let bytes = appendBytes(pending, next.value) ?? null;
565
- let whole = utf8Complete(bytes) ?? null;
566
- pending = bytes.slice(whole) ?? null;
567
- let events = [];
568
- try {
569
- {
570
- events = acc.push(utf8Decode(bytes.slice(0, whole) ?? null) ?? null) ?? null;
571
- }
572
- } catch (err) {
573
- {
574
- stopReading() ?? null;
575
- throw err;
576
- }
577
- }
578
- for (const e of events) {
579
- if (((__v) => __v == null ? "null" : typeof __v)(e.textDelta) === "string") {
580
- callHook(hooks, "onTextDelta", e.textDelta) ?? null;
581
- }
582
- if (((__v) => __v == null ? "null" : typeof __v)(e.reasoningDelta) === "string") {
583
- callHook(hooks, "onReasoningDelta", e.reasoningDelta) ?? null;
584
- }
585
- if (e.toolProgress != null) {
586
- callHook(hooks, "onToolProgress", e.toolProgress) ?? null;
587
- }
588
- }
589
- }
590
- if (pending.length > 0) {
591
- acc.push(utf8Decode(pending) ?? null) ?? null;
592
- }
593
- acc.push("\n") ?? null;
594
- let r = acc.result() ?? null;
595
- if (!r.sawDone && r.text === "" && r.toolCalls.length === 0) {
596
- throw agentModelError("The response was cut off before it started. Try again.", "ai_upstream", 502) ?? null;
597
- }
598
- return { text: r.text, reasoning: r.reasoning, toolCalls: r.toolCalls };
599
- }
600
- };
601
- }
602
- }
603
-
604
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/runtime.js
605
- init_define_POPCRAFT_COMPONENT_IDS();
606
-
607
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/loop.js
608
- init_define_POPCRAFT_COMPONENT_IDS();
609
-
610
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/advisor.js
611
- init_define_POPCRAFT_COMPONENT_IDS();
612
-
613
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/roles.js
614
- init_define_POPCRAFT_COMPONENT_IDS();
615
- var MODEL_ROLES = ["lead", "swarm", "advisor", "router"];
616
- function isModelRole(v) {
617
- {
618
- return ((__v) => __v == null ? "null" : typeof __v)(v) === "string" && (MODEL_ROLES.includes(v) ?? null);
619
- }
620
- }
621
- function roleOfProfileModel(model) {
622
- {
623
- if ((model ?? null) == null || model === "" || model === "inherit") {
624
- return "lead";
625
- }
626
- if (model === "fast") {
627
- return "swarm";
628
- }
629
- if (isModelRole(model) ?? null) {
630
- return model;
631
- }
632
- return null;
633
- }
634
- }
635
- function resolveCatalogModel(wanted, fallback, catalog) {
636
- {
637
- if (!(Array.isArray(catalog) ?? null) || catalog.length === 0) {
638
- return wanted;
639
- }
640
- let ids = new Set(catalog.map((m) => {
641
- {
642
- return ((__v) => __v == null ? "null" : typeof __v)(m) === "string" ? m : m != null && ((__v) => __v == null ? "null" : typeof __v)(m) === "object" ? m.id : "";
643
- }
644
- }) ?? null) ?? null;
645
- if (ids.has(wanted) ?? null) {
646
- return wanted;
647
- }
648
- for (const f of fallback ?? []) {
649
- if (ids.has(f) ?? null) {
650
- return f;
651
- }
652
- }
653
- return wanted;
654
- }
655
- }
656
- function resolveRole(role, roles, catalog) {
657
- {
658
- let spec = roles != null && ((__v) => __v == null ? "null" : typeof __v)(roles) === "object" ? roles[role] ?? null ?? null : null;
659
- if (spec == null || ((__v) => __v == null ? "null" : typeof __v)(spec.model) !== "string" || spec.model === "") {
660
- return null;
661
- }
662
- return { model: resolveCatalogModel(spec.model, spec.fallback ?? null, catalog) ?? null, effort: spec.effort ?? null, fallback: spec.fallback ?? null };
663
- }
664
- }
665
- function mergeRoles(roles, overrides) {
666
- {
667
- let base = roles != null && ((__v) => __v == null ? "null" : typeof __v)(roles) === "object" ? roles : {};
668
- if ((overrides ?? null) == null || ((__v) => __v == null ? "null" : typeof __v)(overrides) !== "object") {
669
- return base;
670
- }
671
- let out = { ...base };
672
- for (const r of MODEL_ROLES) {
673
- let o = overrides[r] ?? null ?? null;
674
- if (o == null) {
675
- continue;
676
- }
677
- out[r] = ((__v) => __v == null ? "null" : typeof __v)(o) === "string" ? { ...base[r] ?? null ?? {}, model: o } : { ...base[r] ?? null ?? {}, ...o };
678
- }
679
- return out;
680
- }
681
- }
682
- function roleModel(callModel, spec) {
683
- {
684
- return async (messages, tools, hooks = null, signal = null, req = null) => {
685
- {
686
- let r = (req ?? null) != null && ((__v) => __v == null ? "null" : typeof __v)(req) === "object" ? req : {};
687
- let merged = { ...r, model: r.model ?? spec.model, effort: r.effort ?? spec.effort ?? null };
688
- return await (callModel(messages, tools, hooks, signal, merged) ?? null);
689
- }
690
- };
691
- }
692
- }
693
-
694
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/advisor.js
695
- var REPEATED_ERROR_COUNT = 2;
696
- var ADVISOR_PROMPT = ["You are the advisor to a coding agent (the lead). You read its whole session and give it short, specific advice. You never write code or call tools yourself.", 'Answer with JSON only: {"verdict": "ok" | "revise", "advice": ["..."]}. At most 4 advice items, each one sentence, concrete (files, commands, the likely cause).', 'Use "ok" with no advice when the lead is on track \u2014 do not add advice for its own sake.'].join("\n") ?? null;
697
- var TRIGGER_ASK = { plan: "The lead is about to plan. Point out anything it should know before choosing an approach.", done: "The lead is about to say it is done. Check the work against the request: anything missing, wrong or unverified?", error: "The lead hit the same error again. Diagnose the likely cause and the next thing to try.", ask: "The lead asked for your advice." };
698
- function contentText(c) {
699
- {
700
- if (((__v) => __v == null ? "null" : typeof __v)(c) === "string") {
701
- return c;
702
- }
703
- if (Array.isArray(c) ?? null) {
704
- return (c.map((p) => {
705
- {
706
- return ((__v) => __v == null ? "null" : typeof __v)(p.text) === "string" ? p.text : "[image]";
707
- }
708
- }) ?? null).join(" ") ?? null;
709
- }
710
- return "";
711
- }
712
- }
713
- function renderTranscript(messages, maxChars) {
714
- {
715
- let lines = [];
716
- for (const m of messages) {
717
- let text = contentText(m.content) ?? null;
718
- if (Array.isArray(m.tool_calls) ?? null) {
719
- for (const c of m.tool_calls) {
720
- text = text + "\n\u2192 " + (c["function"] ?? null).name + " " + (c["function"] ?? null).arguments;
721
- }
722
- }
723
- lines.push("[" + m.role + (((__v) => __v == null ? "null" : typeof __v)(m.name) === "string" ? " " + m.name : "") + "] " + text) ?? null;
724
- }
725
- let all = lines.join("\n\n") ?? null;
726
- return all.length > maxChars ? "\u2026" + (all.slice(all.length - maxChars) ?? null) : all;
727
- }
728
- }
729
- function parseAdvice(text) {
730
- {
731
- let t = text.trim() ?? null;
732
- let start = t.indexOf("{") ?? null;
733
- let end = t.lastIndexOf("}") ?? null;
734
- if (start >= 0 && end > start) {
735
- try {
736
- {
737
- let j = JSON.parse(t.slice(start, end + 1) ?? null) ?? null;
738
- let advice = Array.isArray(j.advice) ?? null ? j.advice.filter((a) => {
739
- {
740
- return ((__v) => __v == null ? "null" : typeof __v)(a) === "string" && (a.trim() ?? null) !== "";
741
- }
742
- }) ?? null : [];
743
- return { verdict: j.verdict === "ok" ? "ok" : "revise", advice };
744
- }
745
- } catch (e) {
746
- {
747
- }
748
- }
749
- }
750
- return { verdict: t === "" ? "ok" : "revise", advice: t === "" ? [] : [t] };
751
- }
752
- }
753
- function createAdvisor(opts) {
754
- {
755
- let call = roleModel(opts.callModel, opts.spec) ?? null;
756
- let maxCalls = ((__v) => __v == null ? "null" : typeof __v)(opts.maxCalls) === "number" ? opts.maxCalls : 8;
757
- let maxChars = ((__v) => __v == null ? "null" : typeof __v)(opts.maxChars) === "number" ? opts.maxChars : 6e5;
758
- let triggers = opts.triggers ?? {};
759
- let calls = 0;
760
- let tokensRead = 0;
761
- let emit = (e) => {
762
- {
763
- if (((__v) => __v == null ? "null" : typeof __v)(opts.onEvent) === "function") {
764
- opts.onEvent(e) ?? null;
765
- }
766
- }
767
- };
768
- return { stats: () => {
769
- {
770
- return { calls, tokensRead };
771
- }
772
- }, advise: async (req) => {
773
- {
774
- if ((triggers[req.trigger] ?? null) === false || calls >= maxCalls) {
775
- return null;
776
- }
777
- let transcript = renderTranscript(req.messages, maxChars) ?? null;
778
- calls = calls + 1;
779
- tokensRead = tokensRead + (Math.ceil(transcript.length / 4) ?? null);
780
- emit({ type: "advisor:call", trigger: req.trigger, model: opts.spec.model, calls, tokensRead }) ?? null;
781
- let ask = (TRIGGER_ASK[req.trigger] ?? null) + (((__v) => __v == null ? "null" : typeof __v)(req.detail) === "string" && req.detail !== "" ? "\n\n" + req.detail : "");
782
- let turn = null;
783
- try {
784
- {
785
- turn = await (call([{ role: "system", content: ((__v) => __v == null ? "null" : typeof __v)(opts.guidance) === "string" && (opts.guidance.trim() ?? null) !== "" ? ADVISOR_PROMPT + "\n\nGuidance for this kind of task:\n" + (opts.guidance.trim() ?? null) : ADVISOR_PROMPT }, { role: "user", content: "The session so far:\n\n" + transcript + "\n\n---\n" + ask }], [], {}, null, null) ?? null);
786
- }
787
- } catch (err) {
788
- {
789
- return null;
790
- }
791
- }
792
- let parsed = parseAdvice(turn.text ?? "") ?? null;
793
- emit({ type: "advisor:advice", trigger: req.trigger, model: opts.spec.model, calls, tokensRead, advice: parsed.advice, verdict: parsed.verdict }) ?? null;
794
- if (parsed.verdict === "ok" || parsed.advice.length === 0) {
795
- return null;
796
- }
797
- return "Advisor (" + req.trigger + "):\n" + ((parsed.advice.map((a) => {
798
- {
799
- return "\xBB " + a;
800
- }
801
- }) ?? null).join("\n") ?? null);
802
- }
803
- } };
804
- }
805
- }
806
- function errorSignature(run) {
807
- {
808
- let s = (run.summary ?? "").toLowerCase() ?? null;
809
- let out = "";
810
- for (const ch of s) {
811
- out = out + (ch >= "0" && ch <= "9" ? "#" : ch);
812
- }
813
- return run.name + ":" + (out.slice(0, 200) ?? null);
814
- }
815
- }
816
-
817
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/context.js
818
- init_define_POPCRAFT_COMPONENT_IDS();
819
- var RENDER_TURN_PREFIX = "Result of ";
820
- var KEEP_IMAGE_TURNS = 2;
821
- function sizeOf(messages) {
822
- {
823
- return (JSON.stringify(messages) ?? null).length;
824
- }
825
- }
826
- function isRenderTurn(m) {
827
- {
828
- if (m.role !== "user" || !(Array.isArray(m.content) ?? null) || m.content.length === 0) {
829
- return false;
830
- }
831
- let first = m.content[0] ?? null;
832
- return first.type === "text" && ((__v) => __v == null ? "null" : typeof __v)(first.text) === "string" && (first.text.startsWith(RENDER_TURN_PREFIX) ?? null);
833
- }
834
- }
835
- function countImages(parts) {
836
- {
837
- return (parts.filter((p) => {
838
- {
839
- return p.type === "image_url";
840
- }
841
- }) ?? null).length;
842
- }
843
- }
844
- function textOf(parts) {
845
- {
846
- return ((parts.filter((p) => {
847
- {
848
- return p.type === "text" && ((__v) => __v == null ? "null" : typeof __v)(p.text) === "string" && p.text !== "";
849
- }
850
- }) ?? null).map((p) => {
851
- {
852
- return p.text;
853
- }
854
- }) ?? null).join(" ") ?? null;
855
- }
856
- }
857
- function imagesLabel(n) {
858
- {
859
- return n === 1 ? "image" : (String(n) ?? null) + " images";
860
- }
861
- }
862
- function pruneOldImages(messages, keep) {
863
- {
864
- let limit = ((__v) => __v == null ? "null" : typeof __v)(keep) === "number" ? keep : KEEP_IMAGE_TURNS;
865
- let seen = 0;
866
- let i = messages.length - 1;
867
- while (i >= 0) {
868
- let m = messages[i] ?? null;
869
- if ((isRenderTurn(m) ?? null) && (countImages(m.content) ?? null) > 0) {
870
- seen = seen + 1;
871
- if (seen > limit) {
872
- let note = (textOf(m.content) ?? null) + " [" + (imagesLabel(countImages(m.content) ?? null) ?? null) + " omitted: superseded by a later view.]";
873
- messages[i] = { ...m, content: note.trim() ?? null };
874
- }
875
- }
876
- i = i - 1;
877
- }
878
- }
879
- }
880
- function fitImagesToBudget(messages, budget) {
881
- {
882
- if ((sizeOf(messages) ?? null) <= budget) {
883
- return;
884
- }
885
- let i = 0;
886
- while (i < messages.length && (sizeOf(messages) ?? null) > budget) {
887
- let m = messages[i] ?? null;
888
- if (isRenderTurn(m) ?? null) {
889
- let parts = m.content.slice() ?? null;
890
- let dropped = 0;
891
- let j = parts.length - 1;
892
- while (j >= 0 && (sizeOf(messages) ?? null) > budget) {
893
- if ((parts[j] ?? null).type === "image_url") {
894
- parts.splice(j, 1) ?? null;
895
- dropped = dropped + 1;
896
- messages[i] = { ...m, content: parts.slice() ?? null };
897
- }
898
- j = j - 1;
899
- }
900
- if (dropped > 0) {
901
- let label = dropped === 1 ? "1 image" : (String(dropped) ?? null) + " images";
902
- let note = (textOf(parts) ?? null) + " [" + label + " omitted to keep the request under the size limit.]";
903
- messages[i] = { ...m, content: note.trim() ?? null };
904
- }
905
- }
906
- i = i + 1;
907
- }
908
- }
909
- }
910
- function safeTailStart(messages, want) {
911
- {
912
- let i = Math.max(1, messages.length - want) ?? null;
913
- while (i < messages.length && (messages[i] ?? null).role === "tool") {
914
- i = i + 1;
915
- }
916
- return i;
917
- }
918
- }
919
- async function compactTranscript(messages, opts) {
920
- {
921
- if ((sizeOf(messages) ?? null) <= opts.maxChars) {
922
- return false;
923
- }
924
- let head = messages.length > 0 && (messages[0] ?? null).role === "system" ? 1 : 0;
925
- let firstUser = -1;
926
- let k = head;
927
- while (k < messages.length && firstUser < 0) {
928
- if ((messages[k] ?? null).role === "user") {
929
- firstUser = k;
930
- }
931
- k = k + 1;
932
- }
933
- let keepFrom = firstUser >= 0 ? firstUser + 1 : head;
934
- let tail = safeTailStart(messages, ((__v) => __v == null ? "null" : typeof __v)(opts.keepRecent) === "number" ? opts.keepRecent : 12) ?? null;
935
- if (tail <= keepFrom) {
936
- return false;
937
- }
938
- let dropped = messages.slice(keepFrom, tail) ?? null;
939
- let summary = "";
940
- if (((__v) => __v == null ? "null" : typeof __v)(opts.summarize) === "function") {
941
- try {
942
- {
943
- summary = await (opts.summarize(dropped) ?? null);
944
- }
945
- } catch (e) {
946
- {
947
- summary = "";
948
- }
949
- }
950
- }
951
- let content = summary !== "" ? "Summary of the earlier work in this session (the details were compacted to save space):\n" + summary : "[" + (String(dropped.length) ?? null) + " earlier messages were compacted to save space. Look again at anything you need from them.]";
952
- messages.splice(keepFrom, dropped.length, { role: "user", content }) ?? null;
953
- return true;
954
- }
955
- }
956
-
957
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/loop.js
958
- var DEFAULT_MAX_ROUNDS = 40;
959
- var DEFAULT_MAX_PARALLEL = 4;
960
- var DEFAULT_ACTION_NUDGE = "You have not changed anything yet. Stop reading and do what was asked now, with the tools that make changes. If you truly cannot, say exactly what is blocking you.";
961
- var RENDER_TURN_PREFIX2 = "Result of ";
962
- var RECOVERABLE_WORDS = ["timeout", "timed out", "stalled", "network", "fetch failed", "econnreset", "socket", "stream"];
963
- function batchCalls(calls, isParallel, max) {
964
- {
965
- let batches = [];
966
- for (const call of calls) {
967
- let last = batches.length > 0 ? batches[batches.length - 1] ?? null : null;
968
- let parallel = isParallel(call.name) ?? null;
969
- if (parallel && last != null && last.length < max && (isParallel((last[0] ?? null).name) ?? null)) {
970
- last.push(call) ?? null;
971
- } else {
972
- batches.push([call]) ?? null;
973
- }
974
- }
975
- return batches;
976
- }
977
- }
978
- function truncateResult(text, max) {
979
- {
980
- if (text.length <= max) {
981
- return text;
982
- }
983
- return (text.slice(0, max) ?? null) + "\n\u2026[truncated " + (String(text.length - max) ?? null) + " characters]";
984
- }
985
- }
986
- function defaultIsRecoverable(err) {
987
- {
988
- if (err == null || ((__v) => __v == null ? "null" : typeof __v)(err) !== "object") {
989
- return false;
990
- }
991
- if (((__v) => __v == null ? "null" : typeof __v)(err.status) === "number") {
992
- return err.status >= 500 || err.status === 408 || err.status === 429;
993
- }
994
- let text = ((String(err.name ?? "") ?? null) + " " + (String(err.code ?? "") ?? null) + " " + (String(err.message ?? "") ?? null)).toLowerCase() ?? null;
995
- return RECOVERABLE_WORDS.some((w) => {
996
- {
997
- return text.includes(w) ?? null;
998
- }
999
- }) ?? null;
1000
- }
1001
- }
1002
- function errorMessage(err) {
1003
- {
1004
- if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && ((__v) => __v == null ? "null" : typeof __v)(err.message) === "string") {
1005
- return err.message;
1006
- }
1007
- return String(err) ?? null;
1008
- }
1009
- }
1010
- function repairTranscript(messages) {
1011
- {
1012
- let i = 0;
1013
- while (i < messages.length) {
1014
- let m = messages[i] ?? null;
1015
- if (m.role === "assistant" && (Array.isArray(m.tool_calls) ?? null) && m.tool_calls.length > 0) {
1016
- let j = i + 1;
1017
- let answered = /* @__PURE__ */ new Set() ?? null;
1018
- while (j < messages.length && (messages[j] ?? null).role === "tool") {
1019
- answered.add((messages[j] ?? null).tool_call_id ?? "") ?? null;
1020
- j = j + 1;
1021
- }
1022
- let missing = m.tool_calls.filter((c) => {
1023
- {
1024
- return !(answered.has(c.id) ?? null);
1025
- }
1026
- }) ?? null;
1027
- if (missing.length > 0) {
1028
- let fillers = missing.map((c) => {
1029
- {
1030
- return { role: "tool", tool_call_id: c.id, name: (c["function"] ?? null).name, content: JSON.stringify({ error: "interrupted: this call did not finish (the session was interrupted). Check its effect and run it again if needed." }) ?? null };
1031
- }
1032
- }) ?? null;
1033
- messages.splice(j, 0, ...fillers) ?? null;
1034
- i = j + missing.length - 1;
1035
- }
1036
- }
1037
- i = i + 1;
1038
- }
1039
- return messages;
1040
- }
1041
- }
1042
- function hook(hooks, name) {
1043
- {
1044
- if (hooks == null || ((__v) => __v == null ? "null" : typeof __v)(hooks) !== "object") {
1045
- return null;
1046
- }
1047
- let h = hooks[name] ?? null;
1048
- return ((__v) => __v == null ? "null" : typeof __v)(h) === "function" ? h : null;
1049
- }
1050
- }
1051
- async function runAgentLoop(opts) {
1052
- {
1053
- let maxRounds = ((__v) => __v == null ? "null" : typeof __v)(opts.maxRounds) === "number" ? opts.maxRounds : DEFAULT_MAX_ROUNDS;
1054
- let maxResultChars = ((__v) => __v == null ? "null" : typeof __v)(opts.maxResultChars) === "number" ? opts.maxResultChars : 8e3;
1055
- let maxParallel = ((__v) => __v == null ? "null" : typeof __v)(opts.maxParallel) === "number" ? opts.maxParallel : DEFAULT_MAX_PARALLEL;
1056
- let hooks = opts.hooks ?? null;
1057
- let specs = opts.tools.map((t) => {
1058
- {
1059
- return t.spec;
1060
- }
1061
- }) ?? null;
1062
- let parallelNames = new Set((opts.tools.filter((t) => {
1063
- {
1064
- return t.readOnly === true;
1065
- }
1066
- }) ?? null).map((t) => {
1067
- {
1068
- return (t.spec["function"] ?? null).name;
1069
- }
1070
- }) ?? null) ?? null;
1071
- let actingNames = new Set((opts.tools.filter((t) => {
1072
- {
1073
- return ((__v) => __v == null ? "null" : typeof __v)(t.acts) === "boolean" ? t.acts : t.readOnly !== true;
1074
- }
1075
- }) ?? null).map((t) => {
1076
- {
1077
- return (t.spec["function"] ?? null).name;
1078
- }
1079
- }) ?? null) ?? null;
1080
- let require2 = null;
1081
- if (opts.requireAction === true) {
1082
- require2 = {};
1083
- }
1084
- if (opts.requireAction != null && ((__v) => __v == null ? "null" : typeof __v)(opts.requireAction) === "object") {
1085
- require2 = opts.requireAction;
1086
- }
1087
- let resume = opts.resumeState ?? {};
1088
- let nudgesLeft = ((__v) => __v == null ? "null" : typeof __v)(resume.nudgesLeft) === "number" ? resume.nudgesLeft : require2 != null ? ((__v) => __v == null ? "null" : typeof __v)(require2.nudges) === "number" ? require2.nudges : 2 : 0;
1089
- let signal = opts.signal ?? null;
1090
- let isStopped = () => {
1091
- {
1092
- if (signal != null && signal.aborted === true) {
1093
- return true;
1094
- }
1095
- return ((__v) => __v == null ? "null" : typeof __v)(opts.stopped) === "function" && (opts.stopped() ?? null) === true;
1096
- }
1097
- };
1098
- let messages = repairTranscript(opts.messages.slice() ?? null) ?? null;
1099
- let text = "";
1100
- let acted = resume.acted === true;
1101
- let retries = ((__v) => __v == null ? "null" : typeof __v)(opts.modelRetries) === "number" ? opts.modelRetries : 2;
1102
- let recoverable = ((__v) => __v == null ? "null" : typeof __v)(opts.isRecoverable) === "function" ? opts.isRecoverable : defaultIsRecoverable;
1103
- let ctx = opts.context ?? {};
1104
- let maxRequestChars = ((__v) => __v == null ? "null" : typeof __v)(ctx.maxRequestChars) === "number" ? ctx.maxRequestChars : 43e5;
1105
- let save = async (round2, done) => {
1106
- {
1107
- if (((__v) => __v == null ? "null" : typeof __v)(opts.checkpoint) === "function") {
1108
- await (opts.checkpoint({ messages: messages.slice() ?? null, round: round2, acted, nudgesLeft, done }) ?? null);
1109
- }
1110
- }
1111
- };
1112
- let drain = () => {
1113
- {
1114
- if (((__v) => __v == null ? "null" : typeof __v)(opts.drainNotifications) !== "function") {
1115
- return [];
1116
- }
1117
- let notes = opts.drainNotifications() ?? null;
1118
- return Array.isArray(notes) ?? null ? notes : [];
1119
- }
1120
- };
1121
- let modelHooks = { onTextDelta: hook(hooks, "onTextDelta") ?? null, onReasoningDelta: hook(hooks, "onReasoningDelta") ?? null, onToolProgress: hook(hooks, "onToolProgress") ?? null };
1122
- let choiceFor = (round2) => {
1123
- {
1124
- let c = opts.toolChoice ?? null;
1125
- if (((__v) => __v == null ? "null" : typeof __v)(c) === "function") {
1126
- c = c(round2) ?? null ?? null;
1127
- }
1128
- return c;
1129
- }
1130
- };
1131
- let call = async (msgs, tools, choice) => {
1132
- {
1133
- let attempt = 0;
1134
- while (true) {
1135
- try {
1136
- {
1137
- if (choice == null || tools.length === 0) {
1138
- return await (opts.callModel(msgs, tools, modelHooks, signal) ?? null);
1139
- }
1140
- return await (opts.callModel(msgs, tools, modelHooks, signal, { toolChoice: choice }) ?? null);
1141
- }
1142
- } catch (err) {
1143
- {
1144
- if ((isStopped() ?? null) || attempt >= retries || !(recoverable(err) ?? null)) {
1145
- throw err;
1146
- }
1147
- }
1148
- }
1149
- attempt = attempt + 1;
1150
- }
1151
- }
1152
- };
1153
- let advise = ((__v) => __v == null ? "null" : typeof __v)(opts.advise) === "function" ? opts.advise : null;
1154
- let route = ((__v) => __v == null ? "null" : typeof __v)(opts.route) === "function" ? opts.route : null;
1155
- let errorCounts = /* @__PURE__ */ new Map() ?? null;
1156
- let doneChecked = false;
1157
- let consult = async (trigger, detail) => {
1158
- {
1159
- if (advise == null) {
1160
- return false;
1161
- }
1162
- let note = null;
1163
- try {
1164
- {
1165
- note = await (advise({ trigger, messages: messages.slice() ?? null, detail }) ?? null);
1166
- }
1167
- } catch (e) {
1168
- {
1169
- note = null;
1170
- }
1171
- }
1172
- if (((__v) => __v == null ? "null" : typeof __v)(note) !== "string" || note === "") {
1173
- return false;
1174
- }
1175
- messages.push({ role: "user", content: note }) ?? null;
1176
- return true;
1177
- }
1178
- };
1179
- let round = ((__v) => __v == null ? "null" : typeof __v)(resume.round) === "number" ? resume.round : 0;
1180
- if (round === 0) {
1181
- await (consult("plan", null) ?? null);
1182
- }
1183
- while (maxRounds === 0 || round < maxRounds) {
1184
- if (isStopped() ?? null) {
1185
- await (save(round, true) ?? null);
1186
- return { messages, text, rounds: round, exhausted: false, stopped: true, acted };
1187
- }
1188
- for (const note of drain() ?? null) {
1189
- messages.push({ role: "user", content: note }) ?? null;
1190
- }
1191
- pruneOldImages(messages, ctx.keepImageTurns ?? null) ?? null;
1192
- if (ctx.compact != null && ((__v) => __v == null ? "null" : typeof __v)(ctx.compact) === "object") {
1193
- await (compactTranscript(messages, ctx.compact) ?? null);
1194
- }
1195
- fitImagesToBudget(messages, maxRequestChars - (JSON.stringify(specs) ?? null).length) ?? null;
1196
- let onStart = hook(hooks, "onAssistantStart") ?? null;
1197
- if (onStart != null) {
1198
- onStart(round) ?? null;
1199
- }
1200
- let choice = choiceFor(round) ?? null;
1201
- if (choice == null && route != null && specs.length > 0) {
1202
- try {
1203
- {
1204
- choice = await (route({ round, messages: messages.slice() ?? null, tools: specs }) ?? null);
1205
- }
1206
- } catch (e) {
1207
- {
1208
- choice = null;
1209
- }
1210
- }
1211
- }
1212
- let turn = await (call(messages, specs, choice ?? null) ?? null);
1213
- text = turn.text;
1214
- let toolCalls = Array.isArray(turn.toolCalls) ?? null ? turn.toolCalls : [];
1215
- if (toolCalls.length > 0) {
1216
- messages.push({ role: "assistant", content: turn.text, tool_calls: toolCalls.map((c) => {
1217
- {
1218
- return { id: c.id, type: "function", function: { name: c.name, arguments: c.arguments } };
1219
- }
1220
- }) ?? null }) ?? null;
1221
- } else {
1222
- messages.push({ role: "assistant", content: turn.text }) ?? null;
1223
- }
1224
- if (toolCalls.length === 0) {
1225
- let onEnd = hook(hooks, "onRoundEnd") ?? null;
1226
- if (onEnd != null) {
1227
- onEnd(round) ?? null;
1228
- }
1229
- let late = drain() ?? null;
1230
- if (late.length > 0) {
1231
- for (const note of late) {
1232
- messages.push({ role: "user", content: note }) ?? null;
1233
- }
1234
- round = round + 1;
1235
- continue;
1236
- }
1237
- if (!doneChecked) {
1238
- doneChecked = true;
1239
- if (await (consult("done", null) ?? null)) {
1240
- await (save(round + 1, false) ?? null);
1241
- round = round + 1;
1242
- continue;
1243
- }
1244
- }
1245
- if (require2 != null && !acted && nudgesLeft > 0 && actingNames.size > 0) {
1246
- nudgesLeft = nudgesLeft - 1;
1247
- let nudge = ((__v) => __v == null ? "null" : typeof __v)(require2.message) === "string" ? require2.message : DEFAULT_ACTION_NUDGE;
1248
- let onNudge = hook(hooks, "onNudge") ?? null;
1249
- if (onNudge != null) {
1250
- onNudge(nudge) ?? null;
1251
- }
1252
- messages.push({ role: "user", content: nudge }) ?? null;
1253
- await (save(round + 1, false) ?? null);
1254
- round = round + 1;
1255
- continue;
1256
- }
1257
- await (save(round + 1, true) ?? null);
1258
- return { messages, text, rounds: round + 1, exhausted: false, stopped: false, acted };
1259
- }
1260
- let calls = toolCalls.map((c) => {
1261
- {
1262
- return { id: c.id, name: c.name, argsText: c.arguments };
1263
- }
1264
- }) ?? null;
1265
- let imageTurns = [];
1266
- let repeated = [];
1267
- doneChecked = false;
1268
- for (const batch of batchCalls(calls, (n) => {
1269
- {
1270
- return parallelNames.has(n) ?? null;
1271
- }
1272
- }, maxParallel) ?? null) {
1273
- if (isStopped() ?? null) {
1274
- for (const c of calls) {
1275
- let answered = messages.some((m) => {
1276
- {
1277
- return m.role === "tool" && m.tool_call_id === c.id;
1278
- }
1279
- }) ?? null;
1280
- if (!answered) {
1281
- messages.push({ role: "tool", tool_call_id: c.id, name: c.name, content: JSON.stringify({ error: "stopped" }) ?? null }) ?? null;
1282
- }
1283
- }
1284
- await (save(round + 1, true) ?? null);
1285
- return { messages, text, rounds: round + 1, exhausted: false, stopped: true, acted };
1286
- }
1287
- let onToolStart = hook(hooks, "onToolStart") ?? null;
1288
- if (onToolStart != null) {
1289
- for (const info of batch) {
1290
- onToolStart(info) ?? null;
1291
- }
1292
- }
1293
- let runs2 = await (Promise.all(batch.map(async (info) => {
1294
- {
1295
- try {
1296
- {
1297
- return await (opts.execTool(info) ?? null);
1298
- }
1299
- } catch (err) {
1300
- {
1301
- let message = errorMessage(err) ?? null;
1302
- return { id: info.id, name: info.name, argsText: info.argsText, ok: false, summary: message, content: JSON.stringify({ error: message }) ?? null };
1303
- }
1304
- }
1305
- }
1306
- }) ?? null) ?? null);
1307
- let onToolEnd = hook(hooks, "onToolEnd") ?? null;
1308
- for (const run of runs2) {
1309
- let actedHere = ((__v) => __v == null ? "null" : typeof __v)(run.acted) === "boolean" ? run.acted : actingNames.has(run.name) ?? null;
1310
- if (run.ok === true && actedHere) {
1311
- acted = true;
1312
- }
1313
- if (onToolEnd != null) {
1314
- onToolEnd(run) ?? null;
1315
- }
1316
- if (run.ok !== true && advise != null) {
1317
- let sig = errorSignature(run) ?? null;
1318
- let n = (errorCounts.get(sig) ?? null ?? 0) + 1;
1319
- errorCounts.set(sig, n) ?? null;
1320
- if (n === REPEATED_ERROR_COUNT) {
1321
- repeated.push(run.name + ": " + run.summary) ?? null;
1322
- }
1323
- }
1324
- messages.push({ role: "tool", tool_call_id: run.id, name: run.name, content: truncateResult(run.content, maxResultChars) ?? null }) ?? null;
1325
- if ((Array.isArray(run.images) ?? null) && run.images.length > 0) {
1326
- let label = run.images.length === 1 ? "the rendered view" : (String(run.images.length) ?? null) + " rendered views";
1327
- let parts = [{ type: "text", text: RENDER_TURN_PREFIX2 + run.name + ": " + label + "." }];
1328
- for (const url of run.images) {
1329
- parts.push({ type: "image_url", image_url: { url } }) ?? null;
1330
- }
1331
- imageTurns.push({ role: "user", content: parts }) ?? null;
1332
- }
1333
- }
1334
- }
1335
- for (const m of imageTurns) {
1336
- messages.push(m) ?? null;
1337
- }
1338
- for (const err of repeated) {
1339
- await (consult("error", "The error, seen " + (String(REPEATED_ERROR_COUNT) ?? null) + " times: " + err) ?? null);
1340
- }
1341
- let onRoundEnd = hook(hooks, "onRoundEnd") ?? null;
1342
- if (onRoundEnd != null) {
1343
- onRoundEnd(round) ?? null;
1344
- }
1345
- await (save(round + 1, false) ?? null);
1346
- round = round + 1;
1347
- }
1348
- messages.push({ role: "user", content: "You have reached the tool limit for this turn. Summarise what you changed and what is left, without calling more tools." }) ?? null;
1349
- let final = await (call(messages, [], null) ?? null);
1350
- messages.push({ role: "assistant", content: final.text }) ?? null;
1351
- await (save(maxRounds, true) ?? null);
1352
- return { messages, text: final.text, rounds: maxRounds, exhausted: true, stopped: false, acted };
1353
- }
1354
- }
1355
-
1356
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/runtime.js
1357
- var delay2 = ((ms) => new Promise((settle) => setTimeout(() => settle(null), Math.max(0, Number(ms) || 0))));
1358
- var REPORT_TOOL = "report_to_parent";
1359
- var REPORT_SPEC = { readOnly: true, acts: false, spec: { type: "function", function: { name: REPORT_TOOL, description: "Send the main agent a progress update, or a question (set question) when you need a decision you cannot make yourself. It arrives between its steps and it answers with a message you read at your next step \u2014 keep working on what you can meanwhile. Your final answer still goes back by itself when you finish.", parameters: { type: "object", properties: { message: { type: "string", description: "What to tell the main agent." }, question: { type: "boolean", description: "This needs an answer." } }, required: ["message"] } } } };
1360
- var WAIT_STEP_MS = 25;
1361
- function isBusy(s) {
1362
- {
1363
- return s != null && (s.status === "running" || s.status === "queued");
1364
- }
1365
- }
1366
- function plainStopControl() {
1367
- {
1368
- let flag = { aborted: false };
1369
- return { signal: flag, stop: () => {
1370
- {
1371
- flag.aborted = true;
1372
- }
1373
- } };
1374
- }
1375
- }
1376
- function allSessions(sessions) {
1377
- {
1378
- let out = [];
1379
- for (const s of sessions.values() ?? null) {
1380
- out.push(s) ?? null;
1381
- }
1382
- return out;
1383
- }
1384
- }
1385
- function errorMessage2(err) {
1386
- {
1387
- if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && ((__v) => __v == null ? "null" : typeof __v)(err.message) === "string") {
1388
- return err.message;
1389
- }
1390
- return String(err) ?? null;
1391
- }
1392
- }
1393
- function createAgentRuntime(host) {
1394
- {
1395
- let sessions = /* @__PURE__ */ new Map() ?? null;
1396
- let controls = /* @__PURE__ */ new Map() ?? null;
1397
- let parentQueue = [];
1398
- let loaded = false;
1399
- let loading = null;
1400
- let active = 0;
1401
- let waiting = [];
1402
- let listeners = [];
1403
- let pendingSaves = 0;
1404
- let orch = host.orchestration ?? null;
1405
- let maxConcurrent = () => {
1406
- {
1407
- let h = ((__v) => __v == null ? "null" : typeof __v)(host.maxConcurrent) === "function" ? host.maxConcurrent() ?? null : host.maxConcurrent;
1408
- if (((__v) => __v == null ? "null" : typeof __v)(h) === "number" && h > 0) {
1409
- return h;
1410
- }
1411
- let o = orch != null ? orch.maxConcurrent ?? null : null;
1412
- return ((__v) => __v == null ? "null" : typeof __v)(o) === "number" && o > 0 ? o : 4;
1413
- }
1414
- };
1415
- let now = () => {
1416
- {
1417
- return ((__v) => __v == null ? "null" : typeof __v)(host.now) === "function" ? host.now() ?? null : Date.now() ?? null;
1418
- }
1419
- };
1420
- let changed = () => {
1421
- {
1422
- if (((__v) => __v == null ? "null" : typeof __v)(host.onChange) === "function") {
1423
- host.onChange() ?? null;
1424
- }
1425
- for (const l of listeners.slice() ?? null) {
1426
- l() ?? null;
1427
- }
1428
- }
1429
- };
1430
- let emit = (e) => {
1431
- {
1432
- if (((__v) => __v == null ? "null" : typeof __v)(host.onEvent) === "function") {
1433
- host.onEvent(e) ?? null;
1434
- }
1435
- }
1436
- };
1437
- let sessionEvent = (s) => {
1438
- {
1439
- emit({ type: "session", sessionId: s.id, status: s.status, profile: s.profile, description: s.description }) ?? null;
1440
- }
1441
- };
1442
- let persist = (s) => {
1443
- {
1444
- changed() ?? null;
1445
- if (host.store == null || ((__v) => __v == null ? "null" : typeof __v)(host.store) !== "object") {
1446
- return;
1447
- }
1448
- pendingSaves = pendingSaves + 1;
1449
- let save = async () => {
1450
- {
1451
- try {
1452
- {
1453
- await (host.store.save(s) ?? null);
1454
- }
1455
- } catch (e) {
1456
- {
1457
- }
1458
- }
1459
- pendingSaves = pendingSaves - 1;
1460
- }
1461
- };
1462
- save() ?? null;
1463
- }
1464
- };
1465
- let profileById = (id) => {
1466
- {
1467
- let found = (host.profiles() ?? null).filter((p) => {
1468
- {
1469
- return p.id === id;
1470
- }
1471
- }) ?? null;
1472
- return found.length > 0 ? found[0] ?? null : null;
1473
- }
1474
- };
1475
- let report = (fromId, text, question) => {
1476
- {
1477
- let s = sessions.get(fromId) ?? null ?? null;
1478
- let who = "agent " + fromId + (s != null ? " (" + s.profile + ")" : "");
1479
- let asks = question === true;
1480
- parentQueue.push(asks ? "QUESTION from " + who + " \u2014 it needs your answer (send_message " + fromId + "):\n" + text : "Report from " + who + ":\n" + text) ?? null;
1481
- emit({ type: "report", sessionId: fromId, message: text, question: asks }) ?? null;
1482
- changed() ?? null;
1483
- }
1484
- };
1485
- let run = async (session2, profile, prompt, forceReadOnly, parentSignal, fresh) => {
1486
- {
1487
- let control = ((__v) => __v == null ? "null" : typeof __v)(host.createSignal) === "function" ? host.createSignal() ?? null : plainStopControl() ?? null;
1488
- controls.set(session2.id, control) ?? null;
1489
- if (parentSignal != null) {
1490
- if (parentSignal.aborted === true) {
1491
- control.stop() ?? null;
1492
- } else if (((__v) => __v == null ? "null" : typeof __v)(parentSignal.addEventListener) === "function") {
1493
- parentSignal.addEventListener("abort", () => {
1494
- {
1495
- control.stop() ?? null;
1496
- }
1497
- }) ?? null;
1498
- }
1499
- }
1500
- let ctx = { session: session2, profile, readOnly: forceReadOnly || profile.readOnly === true, signal: control.signal };
1501
- let tools = (host.childTools(ctx) ?? null).concat([REPORT_SPEC]) ?? null;
1502
- let childModel = ((__v) => __v == null ? "null" : typeof __v)(host.childModel) === "function" ? host.childModel(ctx) ?? null : null;
1503
- if (((__v) => __v == null ? "null" : typeof __v)(childModel) !== "function" && orch != null) {
1504
- childModel = orch.childModel(ctx.readOnly && (profile.model ?? null) == null ? "fast" : profile.model ?? null) ?? null;
1505
- }
1506
- let budget = ((__v) => __v == null ? "null" : typeof __v)(profile.maxRounds) === "number" && profile.maxRounds > 0 ? profile.maxRounds : ((__v) => __v == null ? "null" : typeof __v)(host.maxRounds) === "number" && host.maxRounds > 0 ? host.maxRounds : 30;
1507
- let ok = true;
1508
- let summary = "";
1509
- let rounds = 0;
1510
- let wasStopped = () => {
1511
- {
1512
- return control.signal.aborted === true || parentSignal != null && parentSignal.aborted === true;
1513
- }
1514
- };
1515
- try {
1516
- {
1517
- let messages = fresh ? [{ role: "system", content: await (host.childSystemPrompt(ctx) ?? null) }, { role: "user", content: prompt }] : session2.transcript.concat([{ role: "user", content: "Message from the main agent:\n" + prompt }]) ?? null;
1518
- let outcome = await (runAgentLoop({ messages, tools, callModel: ((__v) => __v == null ? "null" : typeof __v)(childModel) === "function" ? childModel : host.callModel, signal: control.signal, stopped: () => {
1519
- {
1520
- return parentSignal != null && parentSignal.aborted === true;
1521
- }
1522
- }, maxRounds: budget, drainNotifications: () => {
1523
- {
1524
- return (session2.inbox.splice(0, session2.inbox.length) ?? null).map((t) => {
1525
- {
1526
- return "Message from the main agent:\n" + t;
1527
- }
1528
- }) ?? null;
1529
- }
1530
- }, execTool: async (call) => {
1531
- {
1532
- if (call.name === REPORT_TOOL) {
1533
- let args = {};
1534
- try {
1535
- {
1536
- args = JSON.parse(call.argsText === "" ? "{}" : call.argsText) ?? null;
1537
- }
1538
- } catch (e) {
1539
- {
1540
- args = {};
1541
- }
1542
- }
1543
- report(session2.id, String(args.message ?? "") ?? null, args.question === true) ?? null;
1544
- return { id: call.id, name: call.name, argsText: call.argsText, ok: true, summary: "reported", content: JSON.stringify({ ok: true }) ?? null };
1545
- }
1546
- return await (host.execChildTool(call, ctx) ?? null);
1547
- }
1548
- }, requireAction: fresh && !ctx.readOnly, hooks: { onToolStart: (c) => {
1549
- {
1550
- emit({ type: "tool-start", sessionId: session2.id, name: c.name }) ?? null;
1551
- }
1552
- }, onToolEnd: (r) => {
1553
- {
1554
- emit({ type: "tool-end", sessionId: session2.id, name: r.name, ok: r.ok, summary: r.summary }) ?? null;
1555
- }
1556
- }, onTextDelta: (d) => {
1557
- {
1558
- emit({ type: "text", sessionId: session2.id, delta: d }) ?? null;
1559
- }
1560
- }, onNudge: (m) => {
1561
- {
1562
- emit({ type: "nudge", sessionId: session2.id, message: m }) ?? null;
1563
- }
1564
- } } }) ?? null);
1565
- session2.transcript = outcome.messages;
1566
- rounds = outcome.rounds;
1567
- let said = outcome.text.trim() ?? null;
1568
- summary = said !== "" ? said : outcome.stopped ? "(stopped)" : "(finished without a summary)";
1569
- ok = !outcome.stopped;
1570
- }
1571
- } catch (err) {
1572
- {
1573
- ok = false;
1574
- summary = wasStopped() ?? null ? "(stopped)" : "(agent error: " + (errorMessage2(err) ?? null) + ")";
1575
- }
1576
- }
1577
- controls.delete(session2.id) ?? null;
1578
- session2.rounds = session2.rounds + rounds;
1579
- if (session2.status === "running") {
1580
- session2.status = ok ? "done" : wasStopped() ?? null ? "stopped" : "error";
1581
- session2.summary = summary;
1582
- session2.endedAt = now() ?? null;
1583
- } else {
1584
- session2.summary = summary;
1585
- }
1586
- if (session2.background && session2.status !== "stopped") {
1587
- parentQueue.push("Agent " + session2.id + " (" + session2.profile + ") " + (ok ? "finished" : "failed") + ":\n" + summary) ?? null;
1588
- }
1589
- sessionEvent(session2) ?? null;
1590
- persist(session2) ?? null;
1591
- return { ok, summary, rounds };
1592
- }
1593
- };
1594
- let takeNext = () => {
1595
- {
1596
- while (waiting.length > 0) {
1597
- let next = waiting.shift() ?? null;
1598
- if (next.session.status === "queued") {
1599
- next.session.status = "running";
1600
- sessionEvent(next.session) ?? null;
1601
- changed() ?? null;
1602
- return next;
1603
- }
1604
- }
1605
- return null;
1606
- }
1607
- };
1608
- let runSlot = (first) => {
1609
- {
1610
- ((f) => Promise.resolve().then(() => f()))(async () => {
1611
- {
1612
- let job = first;
1613
- while (job != null) {
1614
- try {
1615
- {
1616
- if (job.session.status !== "stopped") {
1617
- await (job.go() ?? null);
1618
- }
1619
- }
1620
- } catch (e) {
1621
- {
1622
- }
1623
- }
1624
- job = active <= (maxConcurrent() ?? null) ? takeNext() ?? null : null;
1625
- if (job == null) {
1626
- active = Math.max(0, active - 1) ?? null;
1627
- if (waiting.length > 0 && active < (maxConcurrent() ?? null)) {
1628
- active = active + 1;
1629
- job = takeNext() ?? null;
1630
- if (job == null) {
1631
- active = Math.max(0, active - 1) ?? null;
1632
- }
1633
- }
1634
- }
1635
- }
1636
- }
1637
- }) ?? null;
1638
- }
1639
- };
1640
- let startBackground = (session2, go) => {
1641
- {
1642
- while (waiting.length > 0 && active < (maxConcurrent() ?? null)) {
1643
- let next = takeNext() ?? null;
1644
- if (next == null) {
1645
- break;
1646
- }
1647
- active = active + 1;
1648
- runSlot(next) ?? null;
1649
- }
1650
- if (active < (maxConcurrent() ?? null)) {
1651
- active = active + 1;
1652
- runSlot({ session: session2, go }) ?? null;
1653
- return;
1654
- }
1655
- session2.status = "queued";
1656
- sessionEvent(session2) ?? null;
1657
- changed() ?? null;
1658
- waiting.push({ session: session2, go }) ?? null;
1659
- }
1660
- };
1661
- let stop = (id) => {
1662
- {
1663
- let s = sessions.get(id) ?? null ?? null;
1664
- if (s == null || s.status !== "running" && s.status !== "queued") {
1665
- return false;
1666
- }
1667
- let control = controls.get(id) ?? null ?? null;
1668
- if (control != null) {
1669
- control.stop() ?? null;
1670
- }
1671
- s.status = "stopped";
1672
- s.endedAt = now() ?? null;
1673
- persist(s) ?? null;
1674
- return true;
1675
- }
1676
- };
1677
- let load = async () => {
1678
- {
1679
- if (loaded) {
1680
- return;
1681
- }
1682
- loaded = true;
1683
- if (host.store != null && ((__v) => __v == null ? "null" : typeof __v)(host.store) === "object") {
1684
- let saved = await (host.store.load() ?? null);
1685
- for (const s of Array.isArray(saved) ?? null ? saved : []) {
1686
- if (s.status === "running" || s.status === "queued") {
1687
- s.status = "stopped";
1688
- if (((__v) => __v == null ? "null" : typeof __v)(s.endedAt) !== "number") {
1689
- s.endedAt = now() ?? null;
1690
- }
1691
- }
1692
- sessions.set(s.id, s) ?? null;
1693
- }
1694
- }
1695
- changed() ?? null;
1696
- }
1697
- };
1698
- let get = (id) => {
1699
- {
1700
- return sessions.get(id) ?? null ?? null;
1701
- }
1702
- };
1703
- return { load, flush: async () => {
1704
- {
1705
- while (pendingSaves > 0) {
1706
- await (delay2(WAIT_STEP_MS) ?? null);
1707
- }
1708
- }
1709
- }, subscribe: (l) => {
1710
- {
1711
- listeners.push(l) ?? null;
1712
- return () => {
1713
- {
1714
- let i = listeners.indexOf(l) ?? null;
1715
- if (i >= 0) {
1716
- listeners.splice(i, 1) ?? null;
1717
- }
1718
- }
1719
- };
1720
- }
1721
- }, list: () => {
1722
- {
1723
- return (allSessions(sessions) ?? null).sort((a, b) => {
1724
- {
1725
- return a.startedAt - b.startedAt;
1726
- }
1727
- }) ?? null;
1728
- }
1729
- }, get, wait: async (id, opts) => {
1730
- {
1731
- let o = opts ?? {};
1732
- let deadline = (now() ?? null) + (((__v) => __v == null ? "null" : typeof __v)(o.timeoutMs) === "number" ? o.timeoutMs : 12e4);
1733
- let signal = o.signal ?? null;
1734
- while ((isBusy(get(id) ?? null) ?? null) && (now() ?? null) < deadline && !(signal != null && signal.aborted === true)) {
1735
- await (delay2(Math.min(WAIT_STEP_MS, Math.max(1, deadline - (now() ?? null)) ?? null) ?? null) ?? null);
1736
- }
1737
- return get(id) ?? null;
1738
- }
1739
- }, dismissFinished: (id) => {
1740
- {
1741
- let prefix = "Agent " + id + " (";
1742
- let i = parentQueue.length - 1;
1743
- while (i >= 0) {
1744
- if ((parentQueue[i] ?? null).startsWith(prefix) ?? null) {
1745
- parentQueue.splice(i, 1) ?? null;
1746
- }
1747
- i = i - 1;
1748
- }
1749
- }
1750
- }, drainParentNotifications: () => {
1751
- {
1752
- return parentQueue.splice(0, parentQueue.length) ?? null;
1753
- }
1754
- }, hasPendingNotifications: () => {
1755
- {
1756
- return parentQueue.length > 0;
1757
- }
1758
- }, spawn: async (req) => {
1759
- {
1760
- let profile = profileById(req.profileId) ?? null;
1761
- if (profile == null) {
1762
- let ids = ((host.profiles() ?? null).map((p) => {
1763
- {
1764
- return p.id;
1765
- }
1766
- }) ?? null).join(", ") ?? null;
1767
- return { kind: "refused", reason: 'No agent type "' + req.profileId + '". Available: ' + ids + "." };
1768
- }
1769
- let prompt = ((__v) => __v == null ? "null" : typeof __v)(req.prompt) === "string" ? req.prompt.trim() ?? null : "";
1770
- if (prompt === "") {
1771
- return { kind: "refused", reason: "A task needs a self-contained prompt \u2014 the agent cannot see this conversation." };
1772
- }
1773
- let background = ((__v) => __v == null ? "null" : typeof __v)(req.background) === "boolean" ? req.background : profile.background === true;
1774
- let id = ((__v) => __v == null ? "null" : typeof __v)(host.newId) === "function" ? host.newId() ?? null : "agent-" + ((now() ?? null).toString(36) ?? null) + "-" + (((Math.random() ?? null).toString(36) ?? null).slice(2, 7) ?? null);
1775
- let session2 = { id, profile: profile.id, description: ((__v) => __v == null ? "null" : typeof __v)(req.description) === "string" && req.description !== "" ? req.description : prompt.slice(0, 80) ?? null, status: "running", background, transcript: [], inbox: [], startedAt: now() ?? null, rounds: 0, readOnly: req.readOnly === true || profile.readOnly === true };
1776
- if (((__v) => __v == null ? "null" : typeof __v)(req.parentCallId) === "string" && req.parentCallId !== "") {
1777
- session2.parentCallId = req.parentCallId;
1778
- }
1779
- sessions.set(session2.id, session2) ?? null;
1780
- changed() ?? null;
1781
- sessionEvent(session2) ?? null;
1782
- let forceReadOnly = req.readOnly === true;
1783
- let parentSignal = req.signal ?? null;
1784
- if (background) {
1785
- startBackground(session2, async () => {
1786
- {
1787
- return await (run(session2, profile, prompt, forceReadOnly, parentSignal, true) ?? null);
1788
- }
1789
- }) ?? null;
1790
- return { kind: "started", id: session2.id };
1791
- }
1792
- let out = await (run(session2, profile, prompt, forceReadOnly, parentSignal, true) ?? null);
1793
- return { kind: "done", id: session2.id, ok: out.ok, summary: out.summary, rounds: out.rounds };
1794
- }
1795
- }, message: async (id, text, opts) => {
1796
- {
1797
- await (load() ?? null);
1798
- let o = opts ?? {};
1799
- let session2 = sessions.get(id) ?? null ?? null;
1800
- if (session2 == null) {
1801
- return { kind: "unknown", id };
1802
- }
1803
- if (session2.status === "running" || session2.status === "queued") {
1804
- session2.inbox.push(text) ?? null;
1805
- persist(session2) ?? null;
1806
- return { kind: "queued", id };
1807
- }
1808
- let profile = profileById(session2.profile) ?? null;
1809
- if (profile == null) {
1810
- return { kind: "unknown", id };
1811
- }
1812
- let wait = o.wait === true;
1813
- let parentSignal = o.signal ?? null;
1814
- session2.status = "running";
1815
- session2.endedAt = null;
1816
- session2.background = !wait;
1817
- changed() ?? null;
1818
- if (!wait) {
1819
- startBackground(session2, async () => {
1820
- {
1821
- return await (run(session2, profile, text, false, parentSignal, false) ?? null);
1822
- }
1823
- }) ?? null;
1824
- return { kind: "resumed", id };
1825
- }
1826
- let out = await (run(session2, profile, text, false, parentSignal, false) ?? null);
1827
- return { kind: "done", id, ok: out.ok, summary: out.summary };
1828
- }
1829
- }, stop, stopAll: () => {
1830
- {
1831
- for (const s of allSessions(sessions) ?? null) {
1832
- stop(s.id) ?? null;
1833
- }
1834
- parentQueue.splice(0, parentQueue.length) ?? null;
1835
- }
1836
- }, report };
1837
- }
1838
- }
1839
-
1840
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/types.js
1841
- init_define_POPCRAFT_COMPONENT_IDS();
1842
- function forceTool(name) {
1843
- {
1844
- return { type: "function", function: { name } };
1845
- }
1846
- }
1847
-
1848
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/store.js
1849
- init_define_POPCRAFT_COMPONENT_IDS();
1850
- async function loadAll(kv, prefix) {
1851
- {
1852
- let out = [];
1853
- for (const k of await (kv.keys(prefix) ?? null)) {
1854
- let v = await (kv.get(k) ?? null);
1855
- if (v != null) {
1856
- out.push(v) ?? null;
1857
- }
1858
- }
1859
- return out;
1860
- }
1861
- }
1862
- function sessionStore(kv, scope) {
1863
- {
1864
- let prefix = (scope ?? "default") + ":session:";
1865
- return { load: async () => {
1866
- {
1867
- return await (loadAll(kv, prefix) ?? null);
1868
- }
1869
- }, save: async (s) => {
1870
- {
1871
- await (kv.set(prefix + s.id, s) ?? null);
1872
- }
1873
- }, remove: async (id) => {
1874
- {
1875
- await ((kv["delete"] ?? null)(prefix + id) ?? null);
1876
- }
1877
- } };
1878
- }
1879
- }
1880
- function runStore(kv, scope) {
1881
- {
1882
- let prefix = (scope ?? "default") + ":run:";
1883
- return { get: async (id) => {
1884
- {
1885
- return await (kv.get(prefix + id) ?? null);
1886
- }
1887
- }, save: async (run) => {
1888
- {
1889
- await (kv.set(prefix + run.id, run) ?? null);
1890
- }
1891
- }, list: async () => {
1892
- {
1893
- return await (loadAll(kv, prefix) ?? null);
1894
- }
1895
- }, remove: async (id) => {
1896
- {
1897
- await ((kv["delete"] ?? null)(prefix + id) ?? null);
1898
- }
1899
- } };
1900
- }
1901
- }
1902
-
1903
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/run.js
1904
- init_define_POPCRAFT_COMPONENT_IDS();
1905
- function errorMessage3(err) {
1906
- {
1907
- if (err != null && ((__v) => __v == null ? "null" : typeof __v)(err) === "object" && ((__v) => __v == null ? "null" : typeof __v)(err.message) === "string") {
1908
- return err.message;
1909
- }
1910
- return String(err) ?? null;
1911
- }
1912
- }
1913
- async function runPersistent(opts) {
1914
- {
1915
- let now = ((__v) => __v == null ? "null" : typeof __v)(opts.now) === "function" ? opts.now : () => {
1916
- {
1917
- return Date.now() ?? null;
1918
- }
1919
- };
1920
- let existing = await (opts.runs.get(opts.id) ?? null);
1921
- let createdAt = existing != null ? existing.createdAt : now() ?? null;
1922
- let record = (status, checkpoint) => {
1923
- {
1924
- let todos = opts.todos != null && ((__v) => __v == null ? "null" : typeof __v)(opts.todos) === "object" ? opts.todos.get() ?? null : existing != null ? existing.todos ?? null : null;
1925
- let meta = opts.meta ?? (existing != null ? existing.meta ?? null : null);
1926
- return { id: opts.id, createdAt, updatedAt: now() ?? null, meta, todos, status, checkpoint };
1927
- }
1928
- };
1929
- let first = existing != null ? existing.checkpoint : { messages: opts.messages, round: 0, acted: false, nudgesLeft: 0, done: false };
1930
- await (opts.runs.save(record("running", first) ?? null) ?? null);
1931
- let mark = async (status, error) => {
1932
- {
1933
- let saved = await (opts.runs.get(opts.id) ?? null);
1934
- if (saved != null) {
1935
- let next = { ...saved, status, updatedAt: now() ?? null };
1936
- if (((__v) => __v == null ? "null" : typeof __v)(error) === "string") {
1937
- next.error = error;
1938
- }
1939
- await (opts.runs.save(next) ?? null);
1940
- }
1941
- }
1942
- };
1943
- let outcome = null;
1944
- try {
1945
- {
1946
- outcome = await (runAgentLoop({ ...opts, checkpoint: async (state) => {
1947
- {
1948
- await (opts.runs.save(record(state.done ? "done" : "running", state) ?? null) ?? null);
1949
- if (((__v) => __v == null ? "null" : typeof __v)(opts.checkpoint) === "function") {
1950
- await (opts.checkpoint(state) ?? null);
1951
- }
1952
- }
1953
- } }) ?? null);
1954
- }
1955
- } catch (err) {
1956
- {
1957
- await (mark("error", errorMessage3(err) ?? null) ?? null);
1958
- throw err;
1959
- }
1960
- }
1961
- if (outcome.stopped) {
1962
- await (mark("stopped", null) ?? null);
1963
- }
1964
- return outcome;
1965
- }
1966
- }
1967
- async function interruptedRuns(runs2, activeIds) {
1968
- {
1969
- let active = new Set(activeIds ?? []) ?? null;
1970
- return (await (runs2.list() ?? null)).filter((r) => {
1971
- {
1972
- return r.status === "running" && !(active.has(r.id) ?? null);
1973
- }
1974
- }) ?? null;
1975
- }
1976
- }
1977
- async function resumeRun(id, runs2, options) {
1978
- {
1979
- let saved = await (runs2.get(id) ?? null);
1980
- if (saved == null) {
1981
- throw { message: 'No saved run "' + id + '".', code: "not_found" };
1982
- }
1983
- let cp = saved.checkpoint;
1984
- return await (runPersistent({ ...options, id, runs: runs2, messages: cp.messages.concat([{ role: "user", content: "The session was interrupted and has resumed. Check the state of your work, then carry on where you left off." }]) ?? null, resumeState: { round: cp.round, acted: cp.acted, nudgesLeft: cp.nudgesLeft }, meta: options.meta ?? saved.meta ?? null }) ?? null);
1985
- }
1986
- }
1987
-
1988
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/router.js
1989
- init_define_POPCRAFT_COMPONENT_IDS();
1990
- var ROUTER_PROMPT = 'You pick the next tool for a coding agent. Answer with JSON only: {"tool": "<one of the tool names, or none>", "p": <your confidence 0..1>}. Pick "none" when the agent should answer in words or the choice is unclear.';
1991
- function createRouter(opts) {
1992
- {
1993
- let call = roleModel(opts.callModel, opts.spec) ?? null;
1994
- let threshold = ((__v) => __v == null ? "null" : typeof __v)(opts.threshold) === "number" ? opts.threshold : 0.8;
1995
- let maxChars = ((__v) => __v == null ? "null" : typeof __v)(opts.maxChars) === "number" ? opts.maxChars : 12e3;
1996
- return async (req) => {
1997
- {
1998
- if (!(Array.isArray(req.tools) ?? null) || req.tools.length === 0) {
1999
- return null;
2000
- }
2001
- let names = req.tools.map((t2) => {
2002
- {
2003
- return (t2["function"] ?? null).name;
2004
- }
2005
- }) ?? null;
2006
- let turn = null;
2007
- try {
2008
- {
2009
- turn = await (call([{ role: "system", content: ROUTER_PROMPT }, { role: "user", content: "Tools: " + (names.join(", ") ?? null) + "\n\nRecent session:\n" + (renderTranscript(req.messages, maxChars) ?? null) }], [], {}, null, null) ?? null);
2010
- }
2011
- } catch (err) {
2012
- {
2013
- return null;
2014
- }
2015
- }
2016
- let tool = null;
2017
- let p = 0;
2018
- let t = (turn.text ?? "").trim() ?? null;
2019
- let start = t.indexOf("{") ?? null;
2020
- let end = t.lastIndexOf("}") ?? null;
2021
- if (start >= 0 && end > start) {
2022
- try {
2023
- {
2024
- let j = JSON.parse(t.slice(start, end + 1) ?? null) ?? null;
2025
- if (((__v) => __v == null ? "null" : typeof __v)(j.tool) === "string" && (names.includes(j.tool) ?? null)) {
2026
- tool = j.tool;
2027
- }
2028
- if (((__v) => __v == null ? "null" : typeof __v)(j.p) === "number") {
2029
- p = j.p;
2030
- }
2031
- }
2032
- } catch (e) {
2033
- {
2034
- }
2035
- }
2036
- }
2037
- let sharp = tool != null && p >= threshold;
2038
- if (((__v) => __v == null ? "null" : typeof __v)(opts.onEvent) === "function") {
2039
- opts.onEvent({ type: "router:pick", round: req.round, model: opts.spec.model, tool, p, sharp }) ?? null;
2040
- }
2041
- return sharp ? forceTool(tool) ?? null : null;
2042
- }
2043
- };
2044
- }
2045
- }
2046
-
2047
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/auto.js
2048
- init_define_POPCRAFT_COMPONENT_IDS();
2049
- function normalizeMode(mode) {
2050
- {
2051
- if (mode === "off" || mode === false) {
2052
- return "off";
2053
- }
2054
- if (mode === "ultra") {
2055
- return "ultra";
2056
- }
2057
- return "auto";
2058
- }
2059
- }
2060
- function createOrchestration(callModel, opts) {
2061
- {
2062
- let o = opts ?? {};
2063
- let mode = normalizeMode(o.mode ?? "auto") ?? null;
2064
- let skill = o.skill != null && ((__v) => __v == null ? "null" : typeof __v)(o.skill) === "object" ? o.skill : null;
2065
- let catalog = o.catalog ?? null;
2066
- let emit = (e) => {
2067
- {
2068
- if (((__v) => __v == null ? "null" : typeof __v)(o.onEvent) === "function") {
2069
- o.onEvent(e) ?? null;
2070
- }
2071
- }
2072
- };
2073
- let hostLimit = ((__v) => __v == null ? "null" : typeof __v)(o.maxConcurrent) === "number" ? o.maxConcurrent : null;
2074
- if (mode === "off" || skill == null) {
2075
- return { mode, skill: null, roles: {}, maxConcurrent: hostLimit, guidance: "", callModel, childModel: (m) => {
2076
- {
2077
- return null;
2078
- }
2079
- }, advise: null, route: null };
2080
- }
2081
- emit({ type: "skill", skill: skill.name }) ?? null;
2082
- let roles = mergeRoles(skill.roles, o.roles ?? null) ?? null;
2083
- if (((__v) => __v == null ? "null" : typeof __v)(o.effort) === "string" && (roles.lead ?? null) != null) {
2084
- roles = mergeRoles(roles, { lead: { effort: o.effort } }) ?? null;
2085
- }
2086
- let specs = {};
2087
- let calls = {};
2088
- let callFor = (role) => {
2089
- {
2090
- if ((calls[role] ?? null ?? null) == null) {
2091
- let spec = resolveRole(role, roles, catalog) ?? null;
2092
- if (spec == null) {
2093
- return null;
2094
- }
2095
- specs[role] = spec;
2096
- calls[role] = roleModel(callModel, spec) ?? null;
2097
- emit({ type: "role:model", role, model: spec.model }) ?? null;
2098
- }
2099
- return calls[role] ?? null;
2100
- }
2101
- };
2102
- let lead = callFor("lead") ?? null ?? callModel;
2103
- let advise = null;
2104
- let route = null;
2105
- if ((callFor("advisor") ?? null) != null) {
2106
- let triggers = null;
2107
- if (Array.isArray(skill.advisorTriggers) ?? null) {
2108
- triggers = { plan: skill.advisorTriggers.includes("plan") ?? null, done: skill.advisorTriggers.includes("done") ?? null, error: skill.advisorTriggers.includes("error") ?? null, ask: skill.advisorTriggers.includes("ask") ?? null };
2109
- }
2110
- advise = (createAdvisor({ callModel, spec: specs.advisor, triggers, maxCalls: skill.advisorMaxCalls ?? null, maxChars: null, guidance: skill.guidance, onEvent: (e) => {
2111
- {
2112
- emit(e) ?? null;
2113
- }
2114
- } }) ?? null).advise;
2115
- }
2116
- if (((__v) => __v == null ? "null" : typeof __v)(skill.routerThreshold) === "number" && (callFor("router") ?? null) != null) {
2117
- route = createRouter({ callModel, spec: specs.router, threshold: skill.routerThreshold, onEvent: (e) => {
2118
- {
2119
- emit(e) ?? null;
2120
- }
2121
- } }) ?? null;
2122
- }
2123
- return { mode, skill, roles, maxConcurrent: hostLimit ?? skill.maxConcurrent ?? null, guidance: skill.guidance, callModel: lead, childModel: (profileModel) => {
2124
- {
2125
- let role = roleOfProfileModel(profileModel) ?? null;
2126
- if (role == null) {
2127
- return roleModel(callModel, { model: profileModel, effort: (specs.lead ?? {}).effort ?? null, fallback: null }) ?? null;
2128
- }
2129
- return callFor(role) ?? null ?? lead;
2130
- }
2131
- }, advise, route };
2132
- }
2133
- }
2134
-
2135
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/core/orchestration-skill.js
2136
- init_define_POPCRAFT_COMPONENT_IDS();
2137
- function splitList(v) {
2138
- {
2139
- if ((v ?? null) == null) {
2140
- return [];
2141
- }
2142
- return ((v.split(",") ?? null).map((s) => {
2143
- {
2144
- return s.trim() ?? null;
2145
- }
2146
- }) ?? null).filter((s) => {
2147
- {
2148
- return s !== "";
2149
- }
2150
- }) ?? null;
2151
- }
2152
- }
2153
- function unquote(v) {
2154
- {
2155
- let t = v.trim() ?? null;
2156
- if (t.length >= 2 && ((t.startsWith('"') ?? null) && (t.endsWith('"') ?? null) || (t.startsWith("'") ?? null) && (t.endsWith("'") ?? null))) {
2157
- return t.slice(1, t.length - 1) ?? null;
2158
- }
2159
- return t;
2160
- }
2161
- }
2162
- function num(v) {
2163
- {
2164
- if ((v ?? null) == null || v === "") {
2165
- return null;
2166
- }
2167
- let n = Number(v) ?? null;
2168
- return Number.isFinite(n) ?? null ? n : null;
2169
- }
2170
- }
2171
- function parseOrchestrationSkill(text) {
2172
- {
2173
- let src = ((__v) => __v == null ? "null" : typeof __v)(text) === "string" ? (text.split("\r\n") ?? null).join("\n") ?? null : "";
2174
- if (!(src.startsWith("---\n") ?? null)) {
2175
- return null;
2176
- }
2177
- let end = src.indexOf("\n---", 4) ?? null;
2178
- if (end < 0) {
2179
- return null;
2180
- }
2181
- let head = src.slice(4, end) ?? null;
2182
- let body = src.slice(end + 4) ?? null;
2183
- if (body.startsWith("\n") ?? null) {
2184
- body = body.slice(1) ?? null;
2185
- }
2186
- let f = {};
2187
- for (const line of head.split("\n") ?? null) {
2188
- let i = line.indexOf(":") ?? null;
2189
- if (i <= 0 || ((line.trim() ?? null).startsWith("#") ?? null)) {
2190
- continue;
2191
- }
2192
- f[((line.slice(0, i) ?? null).trim() ?? null).toLowerCase() ?? null] = unquote(line.slice(i + 1) ?? null) ?? null;
2193
- }
2194
- if ((f["kind"] ?? null ?? "") !== "orchestration") {
2195
- return null;
2196
- }
2197
- let roles = {};
2198
- for (const r of MODEL_ROLES) {
2199
- let model = f[r] ?? null ?? "";
2200
- if (model === "") {
2201
- continue;
2202
- }
2203
- let spec = { model, effort: (f[r + "_effort"] ?? null ?? "") !== "" ? f[r + "_effort"] ?? null : null, fallback: splitList(f[r + "_fallback"] ?? null ?? null) ?? null };
2204
- roles[r] = spec;
2205
- }
2206
- let triggers = splitList(f["advisor_triggers"] ?? null ?? null) ?? null;
2207
- return { name: (f["name"] ?? null ?? "") !== "" ? f["name"] ?? null : "orchestration", description: f["description"] ?? null ?? "", modes: (splitList(f["modes"] ?? null ?? null) ?? null).map((m) => {
2208
- {
2209
- return m.toLowerCase() ?? null;
2210
- }
2211
- }) ?? null, roles, advisorTriggers: triggers.length > 0 ? triggers : null, advisorMaxCalls: num(f["advisor_max_calls"] ?? null ?? null) ?? null, routerThreshold: num(f["router_threshold"] ?? null ?? null) ?? null, maxConcurrent: num(f["max_concurrent"] ?? null ?? null) ?? null, guidance: body.trim() ?? null };
2212
- }
2213
- }
2214
- function skillsForMode(skills, mode) {
2215
- {
2216
- if (mode === "off" || !(Array.isArray(skills) ?? null)) {
2217
- return [];
2218
- }
2219
- return skills.filter((s) => {
2220
- {
2221
- return s != null && ((__v) => __v == null ? "null" : typeof __v)(s) === "object" && (s.modes.length === 0 || (s.modes.includes(mode) ?? null));
2222
- }
2223
- }) ?? null;
2224
- }
2225
- }
2226
- async function chooseOrchestrationSkill(callModel, skills, task, mode) {
2227
- {
2228
- let candidates = skillsForMode(skills, mode) ?? null;
2229
- if (candidates.length === 0) {
2230
- return null;
2231
- }
2232
- if (candidates.length === 1) {
2233
- return candidates[0] ?? null;
2234
- }
2235
- let list = (candidates.map((s) => {
2236
- {
2237
- return "- " + s.name + ": " + s.description;
2238
- }
2239
- }) ?? null).join("\n") ?? null;
2240
- let messages = [{ role: "system", content: "Pick the orchestration skill that fits the task. Reply with its name only, or `none`." }, { role: "user", content: "Skills:\n" + list + "\n\nTask:\n" + task }];
2241
- let turn = null;
2242
- try {
2243
- {
2244
- turn = await (callModel(messages, [], {}, null, null) ?? null);
2245
- }
2246
- } catch (err) {
2247
- {
2248
- return null;
2249
- }
2250
- }
2251
- let said = ((String(turn.text ?? "") ?? null).trim() ?? null).toLowerCase() ?? null;
2252
- for (const ch of ["`", "'", '"', "*", "."]) {
2253
- said = (said.split(ch) ?? null).join("") ?? null;
2254
- }
2255
- for (const s of candidates) {
2256
- if (said === (s.name.toLowerCase() ?? null) || (said.includes(s.name.toLowerCase() ?? null) ?? null)) {
2257
- return s;
2258
- }
2259
- }
2260
- return null;
2261
- }
2262
- }
2263
-
2264
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/indexeddb.js
2265
- init_define_POPCRAFT_COMPONENT_IDS();
2266
- function indexedDbStore(name = "hypery-agents") {
2267
- let db = null;
2268
- const open = () => db ?? (db = new Promise((res, rej) => {
2269
- const req = indexedDB.open(name, 1);
2270
- req.onupgradeneeded = () => {
2271
- req.result.createObjectStore("kv");
2272
- };
2273
- req.onsuccess = () => res(req.result);
2274
- req.onerror = () => rej(req.error);
2275
- }));
2276
- const tx = async (mode, fn) => {
2277
- const store = (await open()).transaction("kv", mode).objectStore("kv");
2278
- return new Promise((res, rej) => {
2279
- const r = fn(store);
2280
- r.onsuccess = () => res(r.result);
2281
- r.onerror = () => rej(r.error);
2282
- });
2283
- };
2284
- return {
2285
- // A missing key reads as null, as the core's stores do.
2286
- get: async (k) => await tx("readonly", (s) => s.get(k)) ?? null,
2287
- set: async (k, v) => {
2288
- await tx("readwrite", (s) => s.put(structuredClone(v), k));
2289
- },
2290
- delete: async (k) => {
2291
- await tx("readwrite", (s) => s.delete(k));
2292
- },
2293
- keys: async (prefix) => (await tx("readonly", (s) => s.getAllKeys())).map(String).filter((k) => k.startsWith(prefix))
2294
- };
2295
- }
2296
-
2297
- // node_modules/.pnpm/@hyperyai+sdk@3.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_re_0fc2620bf214502a0a137dd7e0276f4d/node_modules/@hyperyai/sdk/dist/agents/index.js
2298
- function createHyperyModel2(opts) {
2299
- return createHyperyModel({ ...opts, fetch: opts.fetch ?? ((url, init) => fetch(url, init)) });
2300
- }
2301
- function createAgentRuntime2(host) {
2302
- return createAgentRuntime({
2303
- ...host,
2304
- createSignal: host.createSignal ?? (() => {
2305
- const controller = new AbortController();
2306
- return { signal: controller.signal, stop: () => controller.abort() };
2307
- })
2308
- // The core types a child's signal as anything with `aborted`; here every one comes from `createSignal`, whose
2309
- // signals are AbortSignals — so the host's callbacks may rely on that.
2310
- });
2311
- }
2312
-
2313
- // lib/agent/stream-parse.ts
2314
- init_define_POPCRAFT_COMPONENT_IDS();
2315
-
2316
- // lib/agent/gateway.ts
2317
- var session = {
2318
- token: () => accessToken(),
2319
- team: () => activeHyperyTeamId(),
2320
- paymentSource: async () => (await paymentSourceHeaders())[HYPERY_PAYMENT_SOURCE_HEADER] === "credits" ? "credits" : null,
2321
- gatewayUrl: HYPERY_GATEWAY_URL
2322
- };
2323
- var agentModel2 = (model) => createHyperyModel2({
2324
- ...session,
2325
- model: () => {
2326
- const id = model();
2327
- if (!id) throw agentModelError("Pick a chat model for the agent first.", "no_model", 400);
2328
- return id;
2329
- }
2330
- });
2331
-
2332
- // lib/agent/turn-recovery.ts
2333
- init_define_POPCRAFT_COMPONENT_IDS();
2334
- var ACTION_NUDGES = 2;
2335
- var MAX_READ_ROUNDS = 4;
2336
- var READ_BUDGET_NOTE = "You have read enough to start. Make the change now with a tool that edits the document; read more only if a write fails.";
2337
- var ACTION_NUDGE = "Nothing has changed in the document yet. Make the change that was asked for now, with a tool that edits the document. If you truly cannot, say exactly what is blocking you.";
2338
- var QUESTION_START = /^(what|why|how|which|who|where|when|is|are|does|do|did|can you (explain|tell)|could you (explain|tell)|explain|describe|tell me|list|show me what)\b/i;
2339
- function wantsChange(text) {
2340
- const body = text.trim();
2341
- if (!body) return false;
2342
- return !(body.endsWith("?") && QUESTION_START.test(body));
2343
- }
2344
- function createActionGuard(opts) {
2345
- const maxReads = opts.maxReadRounds ?? MAX_READ_ROUNDS;
2346
- const maxNudges = opts.nudges ?? ACTION_NUDGES;
2347
- let readRounds = opts.initial?.readRounds ?? 0;
2348
- let nudges = opts.initial?.nudges ?? 0;
2349
- let acted = false;
2350
- let actedThisRound = false;
2351
- let ranThisRound = false;
2352
- let notes = [];
2353
- let choice = null;
2354
- let budgetSpent = readRounds >= maxReads;
2355
- return {
2356
- onRun(run, changed) {
2357
- ranThisRound = true;
2358
- if (run.ok && changed) {
2359
- acted = true;
2360
- actedThisRound = true;
2361
- }
2362
- },
2363
- onRoundEnd() {
2364
- if (!opts.enabled || acted || !ranThisRound) {
2365
- ranThisRound = false;
2366
- actedThisRound = false;
2367
- return;
2368
- }
2369
- if (!actedThisRound) readRounds++;
2370
- ranThisRound = false;
2371
- actedThisRound = false;
2372
- if (!budgetSpent && readRounds >= maxReads) {
2373
- budgetSpent = true;
2374
- notes.push(READ_BUDGET_NOTE);
2375
- choice = "required";
2376
- }
2377
- },
2378
- onNudge() {
2379
- nudges++;
2380
- if (opts.enabled && nudges >= maxNudges && opts.writeTool) choice = forceTool(opts.writeTool);
2381
- else if (opts.enabled) choice = "required";
2382
- return nudges;
2383
- },
2384
- drain() {
2385
- const out = notes;
2386
- notes = [];
2387
- return out;
2388
- },
2389
- toolChoice() {
2390
- if (acted) return null;
2391
- const c = choice;
2392
- choice = null;
2393
- return c;
2394
- },
2395
- get acted() {
2396
- return acted;
2397
- },
2398
- state: () => ({ readRounds, nudges, forced: budgetSpent })
2399
- };
2400
- }
2401
- function createToolLedger(initial = null) {
2402
- let done = { ...initial ?? {} };
2403
- return {
2404
- get: (id) => done[id],
2405
- record: (run) => {
2406
- done = { ...done, [run.id]: { id: run.id, name: run.name, argsText: run.argsText, ok: run.ok, summary: run.summary, content: run.content } };
2407
- },
2408
- entries: () => done,
2409
- clear: () => {
2410
- done = {};
2411
- }
2412
- };
2413
- }
2414
- async function runOnce(ledger, call, run) {
2415
- const seen = ledger.get(call.id);
2416
- if (seen) return { ...seen, acted: false, replayed: true };
2417
- const result = await run();
2418
- ledger.record(result);
2419
- return result;
2420
- }
2421
- function resumeTranscript(checkpoint, pending, ledger) {
2422
- if (!pending?.calls.length) return checkpoint;
2423
- const answered = new Set(checkpoint.filter((m) => m.role === "tool").map((m) => m.tool_call_id));
2424
- if (pending.calls.every((c) => answered.has(c.id))) return checkpoint;
2425
- const assistant = {
2426
- role: "assistant",
2427
- content: pending.text,
2428
- tool_calls: pending.calls.map((c) => ({ id: c.id, type: "function", function: { name: c.name, arguments: c.argsText } }))
2429
- };
2430
- const answers = pending.calls.map((c) => ledger?.[c.id]).filter((e) => !!e).map((e) => ({ role: "tool", tool_call_id: e.id, name: e.name, content: e.content }));
2431
- return [...checkpoint, assistant, ...answers];
2432
- }
2433
- var browserSignals = () => {
2434
- if (typeof document === "undefined" || typeof window === "undefined") return null;
2435
- return {
2436
- hidden: () => document.visibilityState === "hidden",
2437
- online: () => typeof navigator === "undefined" || navigator.onLine !== false,
2438
- subscribe: (fn) => {
2439
- document.addEventListener("visibilitychange", fn);
2440
- window.addEventListener("online", fn);
2441
- window.addEventListener("pageshow", fn);
2442
- return () => {
2443
- document.removeEventListener("visibilitychange", fn);
2444
- window.removeEventListener("online", fn);
2445
- window.removeEventListener("pageshow", fn);
2446
- };
2447
- }
2448
- };
2449
- };
2450
- function whenResumable(signals = browserSignals(), signal, offlineWaitMs = 0) {
2451
- if (!signals || signal?.aborted) return Promise.resolve();
2452
- const visible = () => !signals.hidden() ? Promise.resolve() : new Promise((resolve2) => {
2453
- const done = () => {
2454
- off();
2455
- signal?.removeEventListener("abort", done);
2456
- resolve2();
2457
- };
2458
- const off = signals.subscribe(() => {
2459
- if (!signals.hidden()) done();
2460
- });
2461
- signal?.addEventListener("abort", done);
2462
- });
2463
- return visible().then(() => {
2464
- if (!offlineWaitMs || signals.online() || signal?.aborted) return;
2465
- return new Promise((resolve2) => {
2466
- const done = () => {
2467
- clearTimeout(timer);
2468
- off();
2469
- signal?.removeEventListener("abort", done);
2470
- resolve2();
2471
- };
2472
- const timer = setTimeout(done, offlineWaitMs);
2473
- const off = signals.subscribe(() => {
2474
- if (signals.online()) done();
2475
- });
2476
- signal?.addEventListener("abort", done);
2477
- });
2478
- });
2479
- }
2480
- function isInterruption(err, hidden = false) {
2481
- if (hidden) return true;
2482
- const e = err ?? {};
2483
- if (e.code === "ai_timeout") return true;
2484
- if (typeof e.status === "number") return e.status >= 500 || e.status === 408;
2485
- const text = `${String(e.name ?? "")} ${String(e.code ?? "")} ${String(e.message ?? "")}`.toLowerCase();
2486
- return ["load failed", "failed to fetch", "network", "fetch failed", "econnreset", "socket", "stream", "stalled", "timed out", "timeout"].some((w) => text.includes(w));
2487
- }
2488
- function serialRuns(inner) {
2489
- const latest = /* @__PURE__ */ new Map();
2490
- let queue = Promise.resolve();
2491
- return {
2492
- peek: (id) => latest.get(id),
2493
- get: async (id) => latest.get(id) ?? inner.get(id),
2494
- save: (rec) => {
2495
- latest.set(rec.id, rec);
2496
- const write = queue.then(() => inner.save(rec));
2497
- queue = write.catch(() => {
2498
- });
2499
- return write;
2500
- },
2501
- list: async () => {
2502
- await queue;
2503
- return inner.list();
2504
- },
2505
- remove: (id) => {
2506
- latest.delete(id);
2507
- const write = queue.then(() => inner.remove(id));
2508
- queue = write.catch(() => {
2509
- });
2510
- return write;
2511
- }
2512
- };
2513
- }
2514
-
2515
- // lib/agent/tools/subagent-tools.ts
2516
- init_define_POPCRAFT_COMPONENT_IDS();
2517
-
2518
- // lib/agent/subagent.ts
2519
- init_define_POPCRAFT_COMPONENT_IDS();
2520
-
2521
- // lib/agent/orchestration.ts
2522
- init_define_POPCRAFT_COMPONENT_IDS();
2523
- var MODE_KEY = "popcraft-agent-orchestration";
2524
- function loadMode() {
2525
- try {
2526
- return normalizeMode(typeof localStorage === "undefined" ? null : localStorage.getItem(MODE_KEY));
2527
- } catch {
2528
- return "auto";
2529
- }
2530
- }
2531
- var useOrchestrationStore = create(() => ({ mode: loadMode() }));
2532
- var orchestrationMode = () => useOrchestrationStore.getState().mode;
2533
- var orchestrationSkillOf = (skill) => parseOrchestrationSkill(skill.instructions);
2534
- var orchestrationSkills = (skills = allSkills()) => skills.map(orchestrationSkillOf).filter((s) => s !== null);
2535
- var current = null;
2536
- var currentOrchestration = () => current;
2537
- async function orchestrateTurn(opts) {
2538
- const mode = opts.mode ?? orchestrationMode();
2539
- let skill = null;
2540
- if (mode !== "off") {
2541
- skill = await chooseOrchestrationSkill(opts.callModel, opts.skills ?? orchestrationSkills(), opts.task, mode).catch(() => null);
2542
- }
2543
- if (skill && opts.explicitModel && skill.roles?.lead) {
2544
- const { lead: _lead, ...roles } = skill.roles;
2545
- skill = { ...skill, roles };
2546
- }
2547
- current = createOrchestration(opts.callModel, { mode, skill, onEvent: opts.onEvent });
2548
- return current;
2549
- }
2550
- function endOrchestration(orch) {
2551
- if (current === orch) current = null;
2552
- }
2553
-
2554
- // lib/agent/prompt.ts
2555
- init_define_POPCRAFT_COMPONENT_IDS();
2556
- init_limits();
2557
- var PROMPT_LIMITS = {
2558
- maxPromptChars: 14400,
2559
- maxSkillIndexChars: 5800,
2560
- maxProfileIndexChars: 1600,
2561
- maxContextChars: AI_LIMITS.maxContextChars,
2562
- maxSelectionItems: 12
2563
- };
2564
- var IDENTITY = `You are the PopCraft design agent. PopCraft is a browser design tool (frames, vectors, text, components, styles, variables, auto layout), and you work inside the user's open document through tools that edit it live.`;
2565
- var HOW_TO_WORK = `How you work:
2566
- - Inspect before you edit. Read the selection and the layers you are about to change; never guess at node ids, colors or sizes.
2567
- - Make designs as code. Anything bigger than a small tweak \u2014 a poster, a post, a reel, a page, an ad set \u2014 is ONE script built with write_design (read the design-code skill and read_design_reference first), not dozens of create_node and update_nodes calls: it builds in one step, shows on the canvas as you write it, returns a render to look at, and is changed by editing the script and building again. Before calling a design done, review it with the design-review skill: every size, moments in time, a light and a dark brand kit.
2568
- - Prefer batched tools. One call that renames thirty layers or sets ten strings beats thirty calls: every write is one undo step for the user, and a wall of undo steps is a bad edit.
2569
- - Stay inside the scope the user pointed at. The selection is the default scope; do not touch the rest of the page unless asked.
2570
- - Explain briefly. A line or two about what you did and why, with counts rather than lists. No preamble, no restating the request.
2571
- - Use skills. Before a multi-step job, read the matching skill with read_skill and follow it; skills carry the rules that make the result look designed rather than generated.
2572
- - Pixel art (sprites, characters, items, tiles, 8-/16-bit) always goes in Pixel canvases made with k.pixels, never rects or vectors \u2014 even when the file already holds vector sprites. Read the pixel-sprites skill first. When the request does not say whether the sprite is still or animated (or pixel versus vector), ask with ask_user before building: that choice is consequential, so it is an exception to asking rarely.
2573
- - Plan visibly for anything longer than a couple of steps: manage_todos puts the plan in front of the user and keeps you honest.
2574
- - When a tool fails, read the error and fix the call \u2014 do not retry the same arguments, and do not pretend a failed edit happened.
2575
- - Ask only when you genuinely cannot proceed (a structural ambiguity), and ask once. ask_user puts the question in front of them with options to click \u2014 use it when a choice is both ambiguous AND consequential, and never when you can reasonably infer the answer from the document or the request, or when you could just try it and let them undo. If they skip the question, pick sensibly and say which way you went.
2576
- - Delegate the heavy parts. Surveying a big page, writing all the copy, restyling dozens of layers \u2014 hand those to a subagent with task(); it burns its own context and hands you back a short summary, which is what keeps you able to finish the turn. Several task() calls in one message run at the same time.`;
2577
- var describeNodes = (doc, ids) => {
2578
- const shown = ids.slice(0, PROMPT_LIMITS.maxSelectionItems);
2579
- const parts = shown.map((id) => {
2580
- const n = doc.nodes[id];
2581
- return n ? `${id} (${n.type}${n.name ? ` "${str(n.name, 40)}"` : ""})` : `${id} (missing)`;
2582
- });
2583
- const rest = ids.length - shown.length;
2584
- return parts.join(", ") + (rest > 0 ? `, +${rest} more` : "");
2585
- };
2586
- function buildContextBlock(ctx, maxChars = PROMPT_LIMITS.maxContextChars) {
2587
- const { doc, pageId, selection } = ctx;
2588
- const page = doc.nodes[pageId];
2589
- const lines = [
2590
- `Document: "${str(doc.name, AI_LIMITS.maxNameChars)}" (${doc.pages.length} page${doc.pages.length === 1 ? "" : "s"}, ${Object.keys(doc.nodes).length} nodes)`,
2591
- `Current page: ${page ? `"${str(page.name, AI_LIMITS.maxNameChars)}"` : "unknown"} (id ${pageId}, ${page?.childIds?.length ?? 0} top-level layers)`,
2592
- selection.length ? `Selection (${selection.length}): ${describeNodes(doc, selection)}` : "Selection: nothing selected \u2014 ask what to work on, or use find_nodes / get_document_outline to locate it."
2593
- ];
2594
- const mentions = mentionContext(ctx.mentions, doc);
2595
- if (mentions) lines.push(mentions);
2596
- if (ctx.camera) {
2597
- const z = Math.round(ctx.camera.zoom * 100);
2598
- const size = ctx.viewport ? `, ${Math.round(ctx.viewport.width / ctx.camera.zoom)}x${Math.round(ctx.viewport.height / ctx.camera.zoom)} canvas units visible` : "";
2599
- lines.push(`Viewport: ${z}% zoom at (${Math.round(ctx.camera.x)}, ${Math.round(ctx.camera.y)})${size}`);
2600
- }
2601
- const design = buildDesignContext(doc, Math.max(200, Math.floor(maxChars / 2)));
2602
- if (design) lines.push(design);
2603
- if (ctx.readOnly) lines.push("This document is currently read-only (a version-history preview, or you are in this file as a viewer or commenter) \u2014 editing tools will refuse; explain that instead of retrying.");
2604
- return joinWithin(lines, maxChars);
2605
- }
2606
- function buildSkillIndex(skills, maxChars = PROMPT_LIMITS.maxSkillIndexChars) {
2607
- return joinWithin(skills.filter((s) => parseOrchestrationSkill(s.instructions) === null).map(skillIndexLine), maxChars);
2608
- }
2609
- function buildProfileIndex(profiles, maxChars = PROMPT_LIMITS.maxProfileIndexChars) {
2610
- return joinWithin(profiles.map(profileIndexLine), maxChars);
2611
- }
2612
- function buildSubagentPrompt(instructions, ctx) {
2613
- const prompt = [instructions, SUBAGENT_FRAMING, `Current context:
2614
- ${buildContextBlock(ctx)}`].join("\n\n");
2615
- return prompt.length <= PROMPT_LIMITS.maxPromptChars ? prompt : `${prompt.slice(0, PROMPT_LIMITS.maxPromptChars)}
2616
- \u2026`;
2617
- }
2618
- function buildSystemPrompt(ctx) {
2619
- const skills = ctx.skills ?? allSkills();
2620
- const profiles = ctx.profiles ?? allProfiles();
2621
- const active = ctx.activeSkillId ? findSkill(ctx.activeSkillId) : void 0;
2622
- const sections = [
2623
- IDENTITY,
2624
- HOW_TO_WORK,
2625
- `Skills (read the full instructions with read_skill before you follow one \u2014 only the summaries are here):
2626
- ${buildSkillIndex(skills)}`,
2627
- `Subagent profiles (spawn one with task({ subagent_type, prompt }); it starts fresh, sees this document but not this conversation, and returns only a summary):
2628
- ${buildProfileIndex(profiles)}`,
2629
- active ? `The user selected the "${active.name}" skill (${active.id}) for this turn. Call read_skill("${active.id}") first and follow it.` : "",
2630
- // Last on purpose: selection, camera and viewport change every turn, and providers cache prompts by
2631
- // prefix — everything above is identical from turn to turn, so it stays cacheable.
2632
- `Current context:
2633
- ${buildContextBlock(ctx)}`
2634
- ].filter(Boolean);
2635
- const prompt = sections.join("\n\n");
2636
- return prompt.length <= PROMPT_LIMITS.maxPromptChars ? prompt : `${prompt.slice(0, PROMPT_LIMITS.maxPromptChars)}
2637
- \u2026`;
2638
- }
2639
-
2640
- // lib/agent/subagent.ts
2641
- var PARENT_ONLY_TOOLS = ["task", "await_job", "send_message", "stop_agent", "list_agents"];
2642
- var AGENT_SESSIONS_DB = "popcraft-agent-sessions";
2643
- var FAST_HINTS = ["flash", "mini", "haiku", "lite", "nano", "small"];
2644
- var isFastModelId = (id) => {
2645
- const lower = id.toLowerCase();
2646
- return FAST_HINTS.some((h) => lower.includes(h));
2647
- };
2648
- function canRunTools(model) {
2649
- if (model.capabilities && !model.capabilities.includes("tools")) return false;
2650
- const modalities = model.outputModalities;
2651
- if (modalities?.length && !modalities.includes("text")) return false;
2652
- return !/(^|[-/_])image([-/_]|$)/.test(model.id.toLowerCase());
2653
- }
2654
- function pickChildModel(profile, parentModel, catalog) {
2655
- const explicit = profile.model?.trim();
2656
- if (explicit && explicit !== "inherit") return explicit;
2657
- if (!profile.readOnly) return parentModel;
2658
- const fast = catalog.find((m) => isFastModelId(m.id) && canRunTools(m));
2659
- return fast?.id ?? parentModel;
2660
- }
2661
- function childToolNames(profile, registered, forceReadOnly) {
2662
- const wanted = profile.tools.includes(ALL_TOOLS) ? null : new Set(profile.tools);
2663
- const parentOnly = new Set(PARENT_ONLY_TOOLS);
2664
- return registered.filter((t) => !parentOnly.has(t.name)).filter((t) => t.confirm === void 0).filter((t) => t.interactive !== true).filter((t) => !wanted || wanted.has(t.name)).filter((t) => !forceReadOnly || t.readOnly === true).map((t) => t.name);
2665
- }
2666
- function editorPromptContext() {
2667
- const st = useEditorStore.getState();
2668
- return {
2669
- doc: st.document,
2670
- pageId: st.currentPageId,
2671
- selection: st.selection,
2672
- camera: st.camera,
2673
- viewport: typeof window === "undefined" ? void 0 : { width: window.innerWidth, height: window.innerHeight },
2674
- readOnly: !!editBlockReason()
2675
- };
2676
- }
2677
- var childToolListener = null;
2678
- function onChildTool(fn) {
2679
- childToolListener = fn;
2680
- return () => {
2681
- if (childToolListener === fn) childToolListener = null;
2682
- };
2683
- }
2684
- function subagentHost(deps = {}) {
2685
- const profiles = deps.profiles ?? allProfiles;
2686
- const registered = deps.registeredTools ?? (() => allTools().map((t) => ({ name: t.name, readOnly: t.readOnly, confirm: t.confirm, interactive: t.interactive })));
2687
- const promptContext = deps.promptContext ?? editorPromptContext;
2688
- const parentModel = deps.parentModel ?? (() => effectiveChatModel());
2689
- const catalog = deps.catalog ?? (() => useAiStore.getState().catalog?.chat ?? []);
2690
- const modelCall = deps.modelCall ?? agentModel2;
2691
- const toolContext = deps.toolContext ?? editorToolContext;
2692
- const profileOf = (ctx) => profiles().find((p) => p.id === ctx.profile.id) ?? ctx.profile;
2693
- const readOnly = (ctx) => ctx.readOnly || promptContext().readOnly === true;
2694
- return {
2695
- profiles,
2696
- callModel: modelCall(parentModel),
2697
- childModel: (ctx) => {
2698
- const orch = currentOrchestration();
2699
- if (orch?.skill) {
2700
- const call = orch.childModel(readOnly(ctx) ? "swarm" : profileOf(ctx).model ?? null);
2701
- if (call) return call;
2702
- }
2703
- const model = pickChildModel(profileOf(ctx), parentModel(), catalog());
2704
- return modelCall(() => model);
2705
- },
2706
- // The turn's skill sets how many background children run at once (null: the SDK's default).
2707
- maxConcurrent: () => currentOrchestration()?.maxConcurrent ?? null,
2708
- childSystemPrompt: (ctx) => buildSubagentPrompt(ctx.profile.instructions, promptContext()),
2709
- childTools: (ctx) => {
2710
- const all = registered();
2711
- const names = childToolNames(profileOf(ctx), all, readOnly(ctx));
2712
- return (names.length ? toolSpecs(names) : []).map((spec) => ({
2713
- spec,
2714
- readOnly: all.find((t) => t.name === spec.function.name)?.readOnly === true
2715
- }));
2716
- },
2717
- execChildTool: async (call, ctx) => {
2718
- if (!childToolNames(profileOf(ctx), registered(), readOnly(ctx)).includes(call.name)) {
2719
- const message = `${call.name} is not one of your tools. Do this work with the tools you have, or say in your summary what is missing.`;
2720
- return { ...call, ok: false, summary: message, content: JSON.stringify({ error: message }) };
2721
- }
2722
- const base = toolContext(ctx.signal);
2723
- const toolCtx = { ...base, actor: { ...base.actor ?? {}, kind: "agent", nested: true, id: ctx.session.id } };
2724
- try {
2725
- const result = await runTool(call.name, call.argsText, toolCtx);
2726
- return { ...call, ok: true, summary: result.summary, content: JSON.stringify(result.data ?? { ok: true, summary: result.summary }), images: result.images };
2727
- } catch (err) {
2728
- const message = err.message ?? String(err);
2729
- return { ...call, ok: false, summary: message, content: JSON.stringify({ error: message }) };
2730
- }
2731
- },
2732
- store: deps.store === null ? void 0 : deps.store ?? (typeof indexedDB === "undefined" ? void 0 : sessionStore(indexedDbStore(AGENT_SESSIONS_DB), "editor")),
2733
- onEvent: (event) => reportChildTool(runtimeRef, event)
2734
- };
2735
- }
2736
- var runtimeRef = null;
2737
- var MAX_STEPS = 50;
2738
- var activity = /* @__PURE__ */ new Map();
2739
- var activityListeners = /* @__PURE__ */ new Set();
2740
- function recordStep(event) {
2741
- if (event.type !== "tool-start" && event.type !== "tool-end") return;
2742
- const name = event.name ?? "";
2743
- const steps = [...activity.get(event.sessionId) ?? []];
2744
- if (event.type === "tool-start") steps.push({ name, status: "running" });
2745
- else {
2746
- const i = steps.findLastIndex((s) => s.name === name && s.status === "running");
2747
- const step = { name, status: event.ok ? "done" : "error", summary: event.summary ?? void 0 };
2748
- if (i >= 0) steps[i] = step;
2749
- else steps.push(step);
2750
- }
2751
- activity.set(event.sessionId, steps.slice(-MAX_STEPS));
2752
- for (const l of activityListeners) l();
2753
- }
2754
- function reportChildTool(runtime, event) {
2755
- recordStep(event);
2756
- if (!childToolListener || event.type !== "tool-start" && event.type !== "tool-end") return;
2757
- const session2 = runtime?.get(event.sessionId);
2758
- if (!session2) return;
2759
- const jobId = session2.background ? session2.id : void 0;
2760
- childToolListener({
2761
- profile: session2.profile,
2762
- toolCallId: session2.parentCallId ?? void 0,
2763
- jobId,
2764
- job: jobId,
2765
- name: event.name ?? "",
2766
- status: event.type === "tool-start" ? "running" : event.ok ? "done" : "error",
2767
- summary: event.type === "tool-end" ? event.summary ?? void 0 : void 0
2768
- });
2769
- }
2770
- function agentRuntime() {
2771
- if (!runtimeRef) {
2772
- runtimeRef = createAgentRuntime2(subagentHost());
2773
- void runtimeRef.load();
2774
- }
2775
- return runtimeRef;
2776
- }
2777
-
2778
- // lib/agent/tools/subagent-tools.ts
2779
- var MAX_WAIT_MS = 6e5;
2780
- var DEFAULT_WAIT_MS = 12e4;
2781
- function subagentDelegate(deps = {}) {
2782
- const runtime = deps.runtime ?? agentRuntime;
2783
- return async (raw) => {
2784
- const request = raw;
2785
- const rt = runtime();
2786
- await rt.load();
2787
- switch (request.op) {
2788
- case "spawn": {
2789
- const r = await rt.spawn({
2790
- profileId: request.profileId,
2791
- prompt: request.prompt,
2792
- description: request.description,
2793
- readOnly: deps.readOnly === true || request.readOnly === true,
2794
- background: request.background,
2795
- signal: deps.signal,
2796
- parentCallId: request.callId
2797
- });
2798
- if (r.kind === "refused") return { kind: "refused", reason: r.reason };
2799
- if (r.kind === "started") return { kind: "job", jobId: r.id };
2800
- return { kind: "result", jobId: r.id, ok: r.ok, rounds: r.rounds, summary: r.summary };
2801
- }
2802
- case "await": {
2803
- const ms = Math.min(Math.max(request.timeoutMs ?? DEFAULT_WAIT_MS, 1e3), MAX_WAIT_MS);
2804
- const s = await rt.wait(request.jobId, { timeoutMs: ms, signal: deps.signal });
2805
- if (!s) return { kind: "unknown-job", jobId: request.jobId };
2806
- if (s.status !== "running" && s.status !== "queued") rt.dismissFinished(s.id);
2807
- return { kind: "status", jobId: s.id, status: s.status, summary: s.summary ?? "" };
2808
- }
2809
- case "message": {
2810
- const r = await rt.message(request.jobId, request.text, { wait: request.wait === true, signal: deps.signal });
2811
- if (r.kind === "unknown") return { kind: "unknown-job", jobId: request.jobId };
2812
- if (r.kind === "queued") return { kind: "delivered", jobId: r.id, resumed: false };
2813
- if (r.kind === "resumed") return { kind: "delivered", jobId: r.id, resumed: true };
2814
- return { kind: "result", jobId: r.id, ok: r.ok, rounds: 0, summary: r.summary };
2815
- }
2816
- case "stop":
2817
- return { kind: "stopped", jobId: request.jobId, stopped: rt.stop(request.jobId) };
2818
- case "list":
2819
- return {
2820
- kind: "list",
2821
- agents: rt.list().map((s) => ({ id: s.id, profile: s.profile, description: s.description, status: s.status, summary: s.summary ?? void 0 }))
2822
- };
2823
- }
2824
- };
2825
- }
2826
-
2827
- // lib/commands/delegate.ts
2828
- init_define_POPCRAFT_COMPONENT_IDS();
2829
- var TASK_DESCRIPTION = [
2830
- "Delegate a self-contained piece of work to a subagent, which runs with its own fresh context and hands back only a summary. Use it to keep your own context small: surveys of large pages, writing all the copy, restyling dozens of layers.",
2831
- "The child CANNOT see this conversation \u2014 put everything it needs in the prompt: the scope (node ids), the goal, the constraints, and what you want back. It cannot spawn subagents of its own; it may send you a progress report or a question while it works, which you answer with send_message.",
2832
- "Several task calls in one message run at the same time. Set run_in_background when you want to carry on working while it runs: you get its id immediately and its summary arrives as a notification. Every child has an id: send_message steers a running one or continues a finished one with its whole context, await_job waits for one, stop_agent stops one, list_agents lists them."
2833
- ].join("\n\n");
2834
- var delegateTask = defineCommand({
2835
- id: "delegate.task",
2836
- title: "Delegate to a subagent",
2837
- domain: "delegate",
2838
- // NOT harmless: a background task or a full-tool child obviously edits the document. The loop's
2839
- // `readOnly` flag means "independent of the other calls in this batch", which a subagent spawn is, so
2840
- // the agent exposure keeps saying true while the honest effect says document.
2841
- effect: "document",
2842
- permission: null,
2843
- needs: ["delegate"],
2844
- params: external_exports.object({
2845
- subagent_type: external_exports.string().describe("Profile id \u2014 one of the profiles listed in your system prompt (list_profiles for the full set)."),
2846
- prompt: external_exports.string().describe("The self-contained task. The child does not see this conversation."),
2847
- description: external_exports.string().optional().describe('Short label for the panel row, e.g. "Survey the pricing page".'),
2848
- readonly: external_exports.boolean().optional().describe("Force read-only tools for this child, whatever the profile allows."),
2849
- run_in_background: external_exports.boolean().optional().describe("Return a job id immediately and notify you when the child finishes.")
2850
- }),
2851
- expose: {
2852
- agent: { name: "task", description: TASK_DESCRIPTION, readOnly: true }
2853
- },
2854
- run: async (args, ctx) => {
2855
- const reply = await ctx.use("delegate")({
2856
- op: "spawn",
2857
- profileId: args.subagent_type,
2858
- prompt: args.prompt,
2859
- description: args.description,
2860
- readOnly: args.readonly === true,
2861
- background: args.run_in_background,
2862
- // omitted → the profile's `background` default (the SDK applies it)
2863
- callId: ctx.callId
2864
- });
2865
- if (reply.kind === "refused") return { summary: "task refused (nested)", data: { error: reply.reason } };
2866
- if (reply.kind === "job") {
2867
- return {
2868
- summary: `${args.subagent_type} started (${reply.jobId})`,
2869
- data: {
2870
- job_id: reply.jobId,
2871
- status: "running",
2872
- subagent_type: args.subagent_type,
2873
- note: "Keep working. Its summary arrives as a notification when it finishes; await_job waits for it if you need it before you can go on."
2874
- }
2875
- };
2876
- }
2877
- const result = reply;
2878
- return {
2879
- summary: `${args.subagent_type}: ${result.ok ? "done" : "failed"} in ${result.rounds} round${result.rounds === 1 ? "" : "s"}`,
2880
- data: { job_id: result.jobId, subagent_type: args.subagent_type, ok: result.ok, rounds: result.rounds, summary: result.summary }
2881
- };
2882
- }
2883
- });
2884
- var delegateAwait = defineCommand({
2885
- id: "delegate.await",
2886
- title: "Wait for a subagent",
2887
- domain: "delegate",
2888
- effect: "document",
2889
- permission: null,
2890
- needs: ["delegate"],
2891
- params: external_exports.object({
2892
- job_id: external_exports.string().describe("The id a task call returned."),
2893
- timeout_ms: external_exports.number().optional().describe("How long to wait at most, in ms (default 120000, at most 600000).")
2894
- }),
2895
- expose: {
2896
- agent: {
2897
- name: "await_job",
2898
- description: "Wait for a subagent by id to finish and get its summary (or its status when the wait times out). Use it when you need the answer before you can go on; otherwise keep working and let it notify you.",
2899
- readOnly: true
2900
- }
2901
- },
2902
- run: async (args, ctx) => {
2903
- const reply = await ctx.use("delegate")({ op: "await", jobId: args.job_id, timeoutMs: args.timeout_ms });
2904
- if (reply.kind === "unknown-job") {
2905
- return { summary: `No job ${args.job_id}`, data: { error: `No background task with id "${args.job_id}".` } };
2906
- }
2907
- const status = reply;
2908
- if (status.status === "running" || status.status === "queued") {
2909
- return {
2910
- summary: `${args.job_id}: ${status.status}`,
2911
- data: {
2912
- job_id: args.job_id,
2913
- status: status.status,
2914
- note: "Still going after the wait. Carry on with other work; its summary is delivered to you automatically when it lands."
2915
- }
2916
- };
2917
- }
2918
- return { summary: `${args.job_id}: ${status.status}`, data: { job_id: args.job_id, status: status.status, summary: status.summary ?? "" } };
2919
- }
2920
- });
2921
- var delegateMessage = defineCommand({
2922
- id: "delegate.message",
2923
- title: "Message a subagent",
2924
- domain: "delegate",
2925
- // A message can resume a builder, which edits the document.
2926
- effect: "document",
2927
- permission: null,
2928
- needs: ["delegate"],
2929
- params: external_exports.object({
2930
- job_id: external_exports.string().describe("The id a task call returned."),
2931
- message: external_exports.string().describe("What to tell it: a correction, an answer to its question, or the next piece of work."),
2932
- wait: external_exports.boolean().optional().describe("For a finished subagent: resume it and wait for its answer now.")
2933
- }),
2934
- expose: {
2935
- agent: {
2936
- name: "send_message",
2937
- description: "Message a subagent by id. A running one reads it at its next step (steer it, answer its question). A finished one is resumed with its whole context and this message; set wait to get its answer now, otherwise it arrives as a notification.",
2938
- readOnly: true
2939
- }
2940
- },
2941
- run: async (args, ctx) => {
2942
- const reply = await ctx.use("delegate")({ op: "message", jobId: args.job_id, text: args.message, wait: args.wait === true });
2943
- if (reply.kind === "unknown-job") return { summary: `No subagent ${args.job_id}`, data: { error: `No subagent with id "${args.job_id}".` } };
2944
- if (reply.kind === "delivered") {
2945
- return reply.resumed ? { summary: `${args.job_id}: resumed`, data: { job_id: args.job_id, status: "running", note: "Resumed with your message. Its answer arrives as a notification." } } : { summary: `${args.job_id}: message delivered`, data: { job_id: args.job_id, status: "running", note: "It reads this at its next step." } };
2946
- }
2947
- const result = reply;
2948
- return { summary: `${args.job_id}: ${result.ok ? "answered" : "failed"}`, data: { job_id: args.job_id, ok: result.ok, summary: result.summary } };
2949
- }
2950
- });
2951
- var delegateStop = defineCommand({
2952
- id: "delegate.stop",
2953
- title: "Stop a subagent",
2954
- domain: "delegate",
2955
- effect: "none",
2956
- permission: null,
2957
- needs: ["delegate"],
2958
- params: external_exports.object({ job_id: external_exports.string().describe("The id a task call returned.") }),
2959
- expose: { agent: { name: "stop_agent", description: "Stop one running subagent by id. Edits it already made stay.", readOnly: true } },
2960
- run: async (args, ctx) => {
2961
- const reply = await ctx.use("delegate")({ op: "stop", jobId: args.job_id });
2962
- const stopped = reply.kind === "stopped" && reply.stopped;
2963
- return { summary: stopped ? `${args.job_id}: stopped` : `${args.job_id}: not running`, data: { job_id: args.job_id, stopped } };
2964
- }
2965
- });
2966
- var delegateList = defineCommand({
2967
- id: "delegate.list",
2968
- title: "List subagents",
2969
- domain: "delegate",
2970
- effect: "none",
2971
- permission: null,
2972
- needs: ["delegate"],
2973
- params: external_exports.object({}),
2974
- expose: { agent: { name: "list_agents", description: "List your subagents: id, profile, what each was asked, its status and its last summary.", readOnly: true } },
2975
- run: async (_args, ctx) => {
2976
- const reply = await ctx.use("delegate")({ op: "list" });
2977
- const agents = reply.kind === "list" ? reply.agents : [];
2978
- return {
2979
- summary: `${agents.length} subagent${agents.length === 1 ? "" : "s"}`,
2980
- data: { agents: agents.map((a) => ({ job_id: a.id, subagent_type: a.profile, description: a.description, status: a.status, summary: a.summary })) }
2981
- };
2982
- }
2983
- });
2984
- var profileList = defineCommand({
2985
- id: "delegate.listProfiles",
2986
- title: "List subagent profiles",
2987
- domain: "delegate",
2988
- effect: "none",
2989
- permission: null,
2990
- params: external_exports.object({}),
2991
- expose: {
2992
- agent: {
2993
- name: "list_profiles",
2994
- description: "List the subagent profiles you can delegate to with task (id, what each is for, when to use it)."
2995
- }
2996
- },
2997
- run: () => {
2998
- const profiles = allProfiles();
2999
- return {
3000
- summary: `${profiles.length} profile${profiles.length === 1 ? "" : "s"}`,
3001
- data: {
3002
- profiles: profiles.map((p) => ({
3003
- id: p.id,
3004
- name: p.name,
3005
- description: p.description,
3006
- whenToUse: p.whenToUse,
3007
- readOnly: p.readOnly,
3008
- tools: p.tools,
3009
- maxRounds: p.maxRounds
3010
- }))
3011
- }
3012
- };
3013
- }
3014
- });
3015
- var profileRead = defineCommand({
3016
- id: "delegate.readProfile",
3017
- title: "Read a subagent profile",
3018
- domain: "delegate",
3019
- effect: "none",
3020
- permission: null,
3021
- params: external_exports.object({ id: external_exports.string().describe('The profile id, e.g. "inspector".') }),
3022
- expose: {
3023
- agent: {
3024
- name: "read_profile",
3025
- description: "Read a subagent profile in full \u2014 its instructions, tool allowlist and round budget \u2014 before you delegate to it."
3026
- }
3027
- },
3028
- run: ({ id }) => {
3029
- const profile = findProfile(id);
3030
- if (!profile) {
3031
- return { summary: `No profile "${id}"`, data: { error: `No subagent profile with id "${id}".`, available: allProfiles().map(profileIndexLine) } };
3032
- }
3033
- return {
3034
- summary: `Read profile: ${profile.name}`,
3035
- data: { id: profile.id, name: profile.name, readOnly: profile.readOnly, tools: profile.tools, maxRounds: profile.maxRounds, instructions: profile.instructions }
3036
- };
3037
- }
3038
- });
3039
- var delegateCommands = [delegateTask, delegateAwait, delegateMessage, delegateStop, delegateList, profileList, profileRead];
3040
- function registerDelegateCommands() {
3041
- registerCommand(...delegateCommands);
3042
- }
3043
-
3044
- // lib/commands/skill.ts
3045
- init_define_POPCRAFT_COMPONENT_IDS();
3046
- var skillList = defineCommand({
3047
- id: "skill.list",
3048
- title: "List skills",
3049
- domain: "skill",
3050
- effect: "none",
3051
- // The skill sheets are the agent's own instructions, not the user's document.
3052
- permission: null,
3053
- params: external_exports.object({}),
3054
- expose: {
3055
- agent: {
3056
- name: "list_skills",
3057
- description: "List the available skills (name, what they are for, and when to use them). The full instructions come from read_skill."
3058
- }
3059
- },
3060
- run: () => {
3061
- const skills = allSkills();
3062
- return {
3063
- summary: `${skills.length} skill${skills.length === 1 ? "" : "s"}`,
3064
- data: { skills: skills.map((s) => ({ id: s.id, name: s.name, description: s.description, whenToUse: s.whenToUse, tools: s.tools })) }
3065
- };
3066
- }
3067
- });
3068
- var skillRead = defineCommand({
3069
- id: "skill.read",
3070
- title: "Read a skill",
3071
- domain: "skill",
3072
- effect: "none",
3073
- permission: null,
3074
- params: external_exports.object({ id: external_exports.string().describe('The skill id, e.g. "fill-content".') }),
3075
- expose: {
3076
- agent: {
3077
- name: "read_skill",
3078
- description: "Read a skill\u2019s full instructions by id. Do this before following a skill; the system prompt only carries the summaries."
3079
- }
3080
- },
3081
- run: ({ id }) => {
3082
- const skill = findSkill(id);
3083
- if (!skill) {
3084
- return {
3085
- summary: `No skill "${id}"`,
3086
- data: { error: `No skill with id "${id}".`, available: allSkills().map(skillIndexLine) }
3087
- };
3088
- }
3089
- return {
3090
- summary: `Read skill: ${skill.name}`,
3091
- data: { id: skill.id, name: skill.name, tools: skill.tools, instructions: skill.instructions }
3092
- };
3093
- }
3094
- });
3095
- var skillCommands = [skillList, skillRead];
3096
- function registerSkillCommands() {
3097
- registerCommand(...skillCommands);
3098
- }
3099
-
3100
- // lib/agent/parts.ts
3101
- init_define_POPCRAFT_COMPONENT_IDS();
3102
- function todoItemsFrom(rows) {
3103
- if (!Array.isArray(rows)) return null;
3104
- return rows.map((row) => {
3105
- const t = row ?? {};
3106
- return {
3107
- text: String(t.title ?? t.text ?? ""),
3108
- done: typeof t.done === "boolean" ? t.done : t.status === "done"
3109
- };
3110
- });
3111
- }
3112
- var textOf2 = (m) => m.parts.filter((p) => p.type === "text").map((p) => p.text).join("");
3113
- function pushTextDelta(parts, delta) {
3114
- const last = parts[parts.length - 1];
3115
- if (last?.type === "text") {
3116
- parts[parts.length - 1] = { type: "text", text: last.text + delta };
3117
- return parts;
3118
- }
3119
- return [...parts, { type: "text", text: delta }];
3120
- }
3121
- function pushReasoningDelta(parts, delta) {
3122
- const last = parts[parts.length - 1];
3123
- if (last?.type === "reasoning") {
3124
- parts[parts.length - 1] = { type: "reasoning", text: last.text + delta };
3125
- return parts;
3126
- }
3127
- return [...parts, { type: "reasoning", text: delta }];
3128
- }
3129
- function upsertToolPart(parts, part) {
3130
- const i = parts.findIndex((p) => p.type === "tool" && p.id === part.id);
3131
- if (i < 0) return [...parts, part];
3132
- const next = [...parts];
3133
- next[i] = { ...next[i], ...part };
3134
- return next;
3135
- }
3136
-
3137
- // lib/agent/runner.ts
3138
- var ALWAYS_ALLOWED = ["list_skills", "read_skill", "manage_todos", "notify", "get_selection", "task", "await_job", "send_message", "stop_agent", "list_agents", "list_profiles", "read_profile", "ask_user"];
3139
- var MAX_HISTORY_MESSAGES = 24;
3140
- var MAX_PARALLEL_TOOLS = 4;
3141
- var MAX_TOOL_RESULT_CHARS = 48e3;
3142
- var TURN_MAX_ROUNDS = 500;
3143
- function needsEditableSession(name) {
3144
- const tool = getTool(name);
3145
- if (tool?.readOnly) return false;
3146
- if (tool?.interactive) return false;
3147
- return true;
3148
- }
3149
- function guardEdit(name) {
3150
- if (!needsEditableSession(name)) return;
3151
- const reason = editBlockReason();
3152
- if (reason) throw new ToolError(`${name} cannot run: ${reason}`);
3153
- }
3154
- function historyMessages() {
3155
- return activeMessages().slice(-MAX_HISTORY_MESSAGES).map((m) => ({ role: m.role, content: textOf2(m).trim() })).filter((m) => !!m.content);
3156
- }
3157
- function systemMessage(skillId, mentions = []) {
3158
- const st = useEditorStore.getState();
3159
- return {
3160
- role: "system",
3161
- content: buildSystemPrompt({
3162
- doc: st.document,
3163
- pageId: st.currentPageId,
3164
- selection: st.selection,
3165
- camera: st.camera,
3166
- viewport: typeof window === "undefined" ? void 0 : { width: window.innerWidth, height: window.innerHeight },
3167
- activeSkillId: skillId,
3168
- readOnly: !!editBlockReason(),
3169
- mentions
3170
- })
3171
- };
3172
- }
3173
- var registerTurnTools = (deps) => {
3174
- registerBuiltinTools();
3175
- registerSkillCommands();
3176
- registerDelegateCommands();
3177
- registerDangerousCommands();
3178
- provideAgentCapability("delegate", subagentDelegate(deps));
3179
- };
3180
- var specsFor = (skillId) => {
3181
- const skill = skillId ? findSkill(skillId) : void 0;
3182
- return skill?.tools.length ? toolSpecs([.../* @__PURE__ */ new Set([...skill.tools, ...ALWAYS_ALLOWED])]) : toolSpecs();
3183
- };
3184
- var loopTools = (skillId) => specsFor(skillId).map((spec) => ({ spec, readOnly: getTool(spec.function.name)?.readOnly === true }));
3185
- function syncTodos(run) {
3186
- if (run.name !== "manage_todos" || !run.ok) return;
3187
- try {
3188
- const data = JSON.parse(run.content);
3189
- const items = todoItemsFrom(data.todos);
3190
- if (items) setTodos(items);
3191
- } catch {
3192
- }
3193
- }
3194
- var runs;
3195
- var agentRuns = () => runs ??= serialRuns(runStore(indexedDbStore(AGENT_SESSIONS_DB), "editor"));
3196
- var setAgentRuns = (store) => {
3197
- runs = store && serialRuns(store);
3198
- };
3199
- var RESUME_WINDOW_MS = 30 * 6e4;
3200
- var MAX_INTERRUPTIONS = 6;
3201
- var SUSPEND_RESTART_MS = 5e3;
3202
- var STOPPED_MESSAGE = "Stopped. Any edits already applied are still there.";
3203
- async function runTurn(text, mentions = []) {
3204
- const availability = aiAvailability();
3205
- if (!availability.ok) {
3206
- useAgentStore.setState({ error: { message: availability.message, code: availability.reason } });
3207
- return;
3208
- }
3209
- if (!agentModel()) {
3210
- useAgentStore.setState({ error: { message: "Pick a chat model for the agent first.", code: "no_model" } });
3211
- return;
3212
- }
3213
- const skillId = mentions.find((m) => m.kind === "skill")?.id ?? useAgentStore.getState().skillId;
3214
- const checkpoint = rememberCheckpoint(useEditorStore.getState().document);
3215
- const user = { id: newId(), role: "user", parts: [{ type: "text", text }], createdAt: Date.now() };
3216
- appendMessage(user);
3217
- const assistantId = newId();
3218
- appendMessage({ id: assistantId, role: "assistant", parts: [], createdAt: Date.now(), checkpoint });
3219
- const s = useAgentStore.getState();
3220
- const meta = {
3221
- documentId: s.documentId ?? useEditorStore.getState().document.id,
3222
- threadId: s.activeThreadId ?? "",
3223
- assistantId,
3224
- skillId,
3225
- mentions,
3226
- wantsChange: wantsChange(text)
3227
- };
3228
- await drive(meta, { messages: [systemMessage(skillId, mentions), ...historyMessages()], checkpoint });
3229
- }
3230
- async function resumeInterrupted(documentId) {
3231
- if (useAgentStore.getState().running) return false;
3232
- const store = agentRuns();
3233
- let list;
3234
- try {
3235
- list = await interruptedRuns(store);
3236
- } catch {
3237
- return false;
3238
- }
3239
- const mine = list.filter((r) => r.meta?.documentId === documentId).sort((a, b) => b.updatedAt - a.updatedAt);
3240
- const [latest, ...rest] = mine;
3241
- for (const r of rest) await store.save({ ...r, status: "stopped", updatedAt: Date.now() });
3242
- if (!latest) return false;
3243
- if (Date.now() - latest.updatedAt > RESUME_WINDOW_MS || !findMessage(latest.meta)) {
3244
- await store.save({ ...latest, status: "stopped", updatedAt: Date.now() });
3245
- return false;
3246
- }
3247
- if (useAgentStore.getState().running) return false;
3248
- await drive(latest.meta, { resume: latest });
3249
- return true;
3250
- }
3251
- async function continueTurn() {
3252
- const s = useAgentStore.getState();
3253
- if (s.running) return false;
3254
- const messages = activeMessages();
3255
- const last = [...messages].reverse().find((m) => m.role === "assistant");
3256
- if (!last) return false;
3257
- const record = await agentRuns().get(last.id).catch(() => null);
3258
- if (record?.meta && record.meta.threadId === s.activeThreadId) {
3259
- await drive(record.meta, { resume: { ...record, status: "running" } });
3260
- return true;
3261
- }
3262
- const ask = [...messages].reverse().find((m) => m.role === "user");
3263
- if (!ask) return false;
3264
- await runTurn(textOf2(ask));
3265
- return true;
3266
- }
3267
- function findMessage(meta) {
3268
- if (!meta) return void 0;
3269
- return useAgentStore.getState().threads.find((t) => t.id === meta.threadId)?.messages.find((m) => m.id === meta.assistantId);
3270
- }
3271
- function installPageHandlers() {
3272
- if (typeof window === "undefined") return () => {
3273
- };
3274
- const save = () => persistThreads();
3275
- const onVisibility = () => {
3276
- if (document.visibilityState === "hidden") save();
3277
- };
3278
- window.addEventListener("pagehide", save);
3279
- document.addEventListener("visibilitychange", onVisibility);
3280
- return () => {
3281
- window.removeEventListener("pagehide", save);
3282
- document.removeEventListener("visibilitychange", onVisibility);
3283
- };
3284
- }
3285
- function resilientModel(model, turn, parts) {
3286
- return async (messages, specs, hooks, _signal, request) => {
3287
- await whenResumable(void 0, turn);
3288
- const call = new AbortController();
3289
- const onTurnAbort = () => call.abort();
3290
- turn.addEventListener("abort", onTurnAbort);
3291
- let hiddenAt = 0;
3292
- const onVisibility = () => {
3293
- if (document.visibilityState === "hidden") hiddenAt = Date.now();
3294
- else if (hiddenAt && Date.now() - hiddenAt > SUSPEND_RESTART_MS) call.abort();
3295
- };
3296
- if (typeof document !== "undefined") document.addEventListener("visibilitychange", onVisibility);
3297
- const base = parts.get();
3298
- try {
3299
- const cut = new Promise((_, reject) => call.signal.addEventListener("abort", () => reject(new Error("aborted")), { once: true }));
3300
- cut.catch(() => {
3301
- });
3302
- return await Promise.race([model(messages, specs, hooks, call.signal, request), cut]);
3303
- } catch (err) {
3304
- parts.set(base);
3305
- if (call.signal.aborted && !turn.aborted) throw { message: "The stream was interrupted.", code: "interrupted" };
3306
- throw err;
3307
- } finally {
3308
- turn.removeEventListener("abort", onTurnAbort);
3309
- if (typeof document !== "undefined") document.removeEventListener("visibilitychange", onVisibility);
3310
- }
3311
- };
3312
- }
3313
- function lastUserText(messages) {
3314
- const m = [...messages].reverse().find((x) => x.role === "user");
3315
- return typeof m?.content === "string" ? m.content : m ? JSON.stringify(m.content) : "";
3316
- }
3317
- function withGuidance(messages, guidance) {
3318
- const i = messages.findIndex((m) => m.role === "system");
3319
- if (i < 0) return [{ role: "system", content: guidance }, ...messages];
3320
- const sys = messages[i];
3321
- return messages.map((m, j) => j === i ? { ...sys, content: `${typeof sys.content === "string" ? sys.content : ""}
3322
-
3323
- ${guidance}` } : m);
3324
- }
3325
- async function drive(meta, initial) {
3326
- let start = initial;
3327
- const model = agentModel();
3328
- if (!model) {
3329
- useAgentStore.setState({ error: { message: "Pick a chat model for the agent first.", code: "no_model" } });
3330
- return;
3331
- }
3332
- const store = agentRuns();
3333
- const id = meta.assistantId;
3334
- const before = useEditorStore.getState().document;
3335
- if (useAgentStore.getState().activeThreadId !== meta.threadId) useAgentStore.setState({ activeThreadId: meta.threadId });
3336
- let checkpoint = "checkpoint" in start ? start.checkpoint : findMessage(meta)?.checkpoint;
3337
- if (!checkpoint) {
3338
- checkpoint = rememberCheckpoint(before);
3339
- updateMessage(id, (m) => ({ ...m, checkpoint }), { save: false });
3340
- }
3341
- const ledger = createToolLedger(meta.ledger);
3342
- let parts = [...findMessage(meta)?.parts ?? []].filter((p) => !(p.type === "error" && p.message === STOPPED_MESSAGE));
3343
- const flush = (save = false) => setParts(id, parts, { save });
3344
- if ("resume" in start) {
3345
- parts = parts.map((p) => {
3346
- if (p.type !== "tool" || p.status !== "running") return p;
3347
- const done = ledger.get(p.id);
3348
- return done ? { ...p, status: done.ok ? "done" : "error", summary: done.summary, result: done.content } : { ...p, status: "error", summary: "interrupted", error: "interrupted" };
3349
- });
3350
- parts = [...parts, { type: "notice", kind: "resumed" }];
3351
- flush(true);
3352
- }
3353
- const abort = new AbortController();
3354
- useAgentStore.setState({ running: true, resuming: false, abort, error: null });
3355
- const ctx = editorToolContext(abort.signal);
3356
- const { createDesignPreview, DESIGN_TOOL } = await import("./live-H7TONE3V.js");
3357
- const preview = createDesignPreview();
3358
- const readOnly = !!editBlockReason();
3359
- registerTurnTools({ readOnly, signal: abort.signal });
3360
- const runtime = agentRuntime();
3361
- const fresh = "messages" in start ? start : null;
3362
- const resumed = !fresh;
3363
- const pool = orchestrationSkills();
3364
- const orch = await orchestrateTurn({
3365
- callModel: agentModel2(() => model),
3366
- task: fresh ? lastUserText(fresh.messages) : "",
3367
- mode: resumed && !meta.orchestrationSkill ? "off" : void 0,
3368
- skills: resumed ? pool.filter((s) => s.name === meta.orchestrationSkill) : pool
3369
- }).catch(() => null);
3370
- meta.orchestrationSkill = orch?.skill?.name ?? null;
3371
- if (fresh && orch?.guidance) start = { ...fresh, messages: withGuidance(fresh.messages, orch.guidance) };
3372
- const tools = loopTools(meta.skillId);
3373
- const canWrite = !readOnly && meta.wantsChange;
3374
- const writeTool = tools.some((t) => t.spec.function.name === DESIGN_TOOL) ? DESIGN_TOOL : null;
3375
- const guard = createActionGuard({ enabled: canWrite, writeTool, initial: meta.guard });
3376
- let pending = null;
3377
- let saving = Promise.resolve();
3378
- const saveMeta = () => {
3379
- meta.guard = guard.state();
3380
- meta.ledger = ledger.entries();
3381
- meta.pending = pending;
3382
- const rec = store.peek(id);
3383
- if (rec) saving = store.save({ ...rec, meta: { ...meta }, updatedAt: Date.now() }).catch(() => {
3384
- });
3385
- return saving;
3386
- };
3387
- const offPage = installPageHandlers();
3388
- let interruptions = 0;
3389
- let resumeFrom = "resume" in start ? start.resume : null;
3390
- try {
3391
- while (true) {
3392
- const options = {
3393
- tools,
3394
- meta,
3395
- stopped: () => abort.signal.aborted,
3396
- drainNotifications: () => {
3397
- const notes = guard.drain();
3398
- if (notes.length) {
3399
- parts = [...parts, { type: "notice", kind: "read-budget" }];
3400
- flush();
3401
- }
3402
- return [...notes, ...runtime.drainParentNotifications()];
3403
- },
3404
- maxParallel: MAX_PARALLEL_TOOLS,
3405
- // The loop's default cut every result at 8000 characters AFTER the tool had honoured its own limit, so
3406
- // export_svg with maxChars 40000 still came back without its last paths and the model could not
3407
- // rebuild the artwork. Tools bound their own output; this is only the backstop.
3408
- maxResultChars: MAX_TOOL_RESULT_CHARS,
3409
- maxRounds: TURN_MAX_ROUNDS,
3410
- modelRetries: 3,
3411
- isRecoverable: (err) => !abort.signal.aborted && isInterruption(err),
3412
- requireAction: canWrite ? { nudges: ACTION_NUDGES, message: ACTION_NUDGE } : false,
3413
- toolChoice: () => guard.toolChoice(),
3414
- advise: orch?.advise ?? void 0,
3415
- route: orch?.route ?? void 0,
3416
- callModel: resilientModel(orch?.skill ? orch.callModel : agentModel2(() => model), abort.signal, { get: () => parts, set: (p) => {
3417
- parts = p;
3418
- flush();
3419
- } }),
3420
- checkpoint: async () => {
3421
- pending = null;
3422
- ledger.clear();
3423
- await saveMeta();
3424
- },
3425
- execTool: (call) => runOnce(ledger, call, async () => {
3426
- const row = { type: "tool", id: call.id, name: call.name, argsText: call.argsText, status: "running" };
3427
- parts = upsertToolPart(parts, row);
3428
- flush();
3429
- const docBefore = useEditorStore.getState().document;
3430
- try {
3431
- if (call.name === DESIGN_TOOL) preview.end();
3432
- guardEdit(call.name);
3433
- const result = await runTool(call.name, call.argsText, { ...ctx, toolCallId: call.id });
3434
- const content = JSON.stringify(result.data ?? { ok: true, summary: result.summary });
3435
- parts = upsertToolPart(parts, { ...row, status: "done", summary: result.summary, result: content });
3436
- for (const url of result.images ?? []) parts = [...parts, { type: "image", url, caption: call.name }];
3437
- const acted = useEditorStore.getState().document !== docBefore;
3438
- return { id: call.id, name: call.name, argsText: call.argsText, ok: true, summary: result.summary, content, images: result.images, acted };
3439
- } catch (err) {
3440
- const message = err.message ?? String(err);
3441
- parts = upsertToolPart(parts, { ...row, status: "error", summary: message, error: message });
3442
- return { id: call.id, name: call.name, argsText: call.argsText, ok: false, summary: message, content: JSON.stringify({ error: message }), acted: false };
3443
- } finally {
3444
- flush(true);
3445
- }
3446
- }).then((run) => {
3447
- void saveMeta();
3448
- return run;
3449
- }),
3450
- hooks: {
3451
- onAssistantStart: () => {
3452
- pending = { text: "", calls: [] };
3453
- },
3454
- onTextDelta: (d) => {
3455
- parts = pushTextDelta([...parts], d);
3456
- if (pending) pending.text += d;
3457
- flush();
3458
- },
3459
- onReasoningDelta: (d) => {
3460
- parts = pushReasoningDelta([...parts], d);
3461
- flush();
3462
- },
3463
- onToolProgress: (p) => preview.update(p.name, p.arguments),
3464
- onToolStart: (call) => {
3465
- pending?.calls.push({ id: call.id, name: call.name, argsText: call.argsText });
3466
- void saveMeta();
3467
- },
3468
- onToolEnd: (run) => {
3469
- guard.onRun(run, run.acted === true);
3470
- syncTodos(run);
3471
- },
3472
- onRoundEnd: () => guard.onRoundEnd(),
3473
- onNudge: () => {
3474
- const count = guard.onNudge();
3475
- parts = [...parts, { type: "notice", kind: "nudge", count, max: ACTION_NUDGES }];
3476
- flush(true);
3477
- }
3478
- }
3479
- };
3480
- try {
3481
- let outcome;
3482
- if (resumeFrom) {
3483
- const cp = resumeFrom.checkpoint;
3484
- const nudgesLeft = canWrite ? Math.max(0, ACTION_NUDGES - guard.state().nudges) : 0;
3485
- const patched = { ...resumeFrom, status: "running", checkpoint: { ...cp, nudgesLeft, messages: resumeTranscript(cp.messages, meta.pending, meta.ledger) } };
3486
- await store.save(patched);
3487
- pending = null;
3488
- outcome = await resumeRun(id, store, options);
3489
- } else {
3490
- if (!("messages" in start)) throw new Error("nothing to run");
3491
- outcome = await runPersistent({ ...options, id, runs: store, messages: start.messages });
3492
- }
3493
- if (canWrite && !outcome.stopped && !outcome.acted && !guard.acted) parts = [...parts, { type: "notice", kind: "no-change" }];
3494
- break;
3495
- } catch (err) {
3496
- if (abort.signal.aborted) break;
3497
- const hidden = typeof document !== "undefined" && document.visibilityState === "hidden";
3498
- if (isInterruption(err, hidden) && interruptions < MAX_INTERRUPTIONS) {
3499
- interruptions++;
3500
- await saving;
3501
- const rec = await store.get(id);
3502
- if (!rec) throw err;
3503
- await store.save({ ...rec, status: "running", error: void 0, updatedAt: Date.now() });
3504
- useAgentStore.setState({ resuming: true });
3505
- persistThreads();
3506
- await whenResumable(void 0, abort.signal, Math.min(3e4, 1e3 * 2 ** interruptions));
3507
- if (abort.signal.aborted) break;
3508
- useAgentStore.setState({ resuming: false });
3509
- resumeFrom = await store.get(id);
3510
- parts = [...parts, { type: "notice", kind: "resumed" }];
3511
- flush(true);
3512
- continue;
3513
- }
3514
- throw err;
3515
- }
3516
- }
3517
- } catch (err) {
3518
- if (!abort.signal.aborted) {
3519
- const message = err?.message ?? String(err);
3520
- const code = err?.code;
3521
- parts = [...parts, { type: "error", message, code }];
3522
- }
3523
- } finally {
3524
- endOrchestration(orch);
3525
- offPage();
3526
- preview.end();
3527
- if (abort.signal.aborted) {
3528
- runtime.stopAll();
3529
- parts = [...parts, { type: "error", message: STOPPED_MESSAGE }];
3530
- }
3531
- if (useEditorStore.getState().document === before) updateMessage(id, (m) => ({ ...m, checkpoint: void 0 }), { save: false });
3532
- flush(true);
3533
- updateActiveThread((t) => ({ ...t, checkpoint: { id: checkpoint, label: "Undo these changes" } }));
3534
- useAgentStore.setState({ running: false, resuming: false, abort: null });
3535
- }
3536
- }
3537
- export {
3538
- agentRuns,
3539
- continueTurn,
3540
- editorToolContext,
3541
- needsEditableSession,
3542
- onChildTool,
3543
- resumeInterrupted,
3544
- runTurn,
3545
- setAgentRuns
3546
- };